@shumai-one/shumai 0.4.6 → 0.4.7

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 (143) hide show
  1. package/bin/{chunk-1bgsphyz.js → chunk-05tnmf8h.js} +2 -2
  2. package/bin/chunk-0xsgx9ep.js +1 -0
  3. package/bin/{chunk-3d5rm1d1.js → chunk-0ygtayqf.js} +1 -1
  4. package/bin/{chunk-crja7whq.js → chunk-11c93g1m.js} +2 -2
  5. package/bin/chunk-1ajgdv26.js +1 -0
  6. package/bin/{chunk-ba33nf0q.js → chunk-1ntn42d2.js} +3 -3
  7. package/bin/chunk-2kxhdnma.js +3 -0
  8. package/bin/chunk-30dsxm8s.js +1 -0
  9. package/bin/chunk-3b6h719s.js +3 -0
  10. package/bin/{chunk-pdh9bnyj.js → chunk-3g5pyw2e.js} +2 -2
  11. package/bin/{chunk-p75f5pgq.js → chunk-3h9c5ak3.js} +2 -2
  12. package/bin/{chunk-2qjfpmcf.js → chunk-3m5kwcj7.js} +1 -1
  13. package/bin/{chunk-w1wxzqqb.js → chunk-3p1bb08a.js} +2 -2
  14. package/bin/{chunk-6vxzkrsj.js → chunk-3r5yc5wm.js} +4 -4
  15. package/bin/{chunk-sab7tjxw.js → chunk-3tyk9xgf.js} +3 -3
  16. package/bin/{chunk-h9mka9br.js → chunk-4a88wwg2.js} +1 -1
  17. package/bin/{chunk-z08bqvkc.js → chunk-4f5pnnah.js} +14 -14
  18. package/bin/{chunk-dpc11hpd.js → chunk-4jgq9m51.js} +7 -7
  19. package/bin/{chunk-d7fwggt6.js → chunk-4m8gk79m.js} +1 -1
  20. package/bin/{chunk-b9hyc0a1.js → chunk-53vtc74g.js} +2 -2
  21. package/bin/{chunk-1kt5dzjv.js → chunk-58e1a3re.js} +2 -2
  22. package/bin/{chunk-dmvvt8va.js → chunk-5qkwpy8c.js} +2 -2
  23. package/bin/{chunk-07jszkhj.js → chunk-5rk7dyx9.js} +58 -58
  24. package/bin/{chunk-ga3pahzf.js → chunk-5v4s2kp4.js} +1 -1
  25. package/bin/{chunk-v8v8vdf7.js → chunk-5wp37g6w.js} +4 -4
  26. package/bin/{chunk-hs2r9qaw.js → chunk-628k58ek.js} +2 -2
  27. package/bin/{chunk-rp4pc6kz.js → chunk-6kdf411z.js} +1 -1
  28. package/bin/chunk-6ksrrayx.css +1 -0
  29. package/bin/chunk-6rjkbwz6.js +14 -0
  30. package/bin/{chunk-md5pcq46.js → chunk-781990k7.js} +4 -4
  31. package/bin/{chunk-ey3h4sct.js → chunk-887pj9xd.js} +2 -2
  32. package/bin/{chunk-1jybg56e.js → chunk-8b1w6bj9.js} +1 -1
  33. package/bin/{chunk-0wvhahzh.js → chunk-8gna37dd.js} +1 -1
  34. package/bin/{chunk-rmzcarv9.js → chunk-8sf106rq.js} +1 -1
  35. package/bin/{chunk-2jrjwaqr.js → chunk-8ystwvdt.js} +1 -1
  36. package/bin/{chunk-3j5njrpr.js → chunk-9v6eqa3n.js} +2 -2
  37. package/bin/{chunk-rsd164d9.js → chunk-9va1mzeq.js} +1 -1
  38. package/bin/{chunk-kmbjp5kp.js → chunk-an6nsq1t.js} +1 -1
  39. package/bin/{chunk-vzj2j11x.js → chunk-ayq8dskd.js} +1 -1
  40. package/bin/{chunk-y20sbaz5.js → chunk-b0rjvx5g.js} +1 -1
  41. package/bin/chunk-bgm76rzj.js +1 -0
  42. package/bin/chunk-btmxr226.js +1 -0
  43. package/bin/chunk-camzbwqh.js +2 -0
  44. package/bin/{chunk-t350k3s1.js → chunk-ccvjwhqq.js} +1 -1
  45. package/bin/{chunk-pgj2kjnn.js → chunk-dkzyv61a.js} +2 -2
  46. package/bin/{chunk-y56yvezn.js → chunk-dyq6h9ha.js} +1 -1
  47. package/bin/{chunk-teqprbd8.js → chunk-e17daz1x.js} +1 -1
  48. package/bin/{chunk-dbw8c1jj.js → chunk-ebf1r872.js} +4 -4
  49. package/bin/{chunk-2vzzd0q6.js → chunk-ebx3bd4c.js} +1 -1
  50. package/bin/{chunk-161rxeq2.js → chunk-ee3mrvqp.js} +1 -1
  51. package/bin/chunk-fg6zf2gb.js +2 -0
  52. package/bin/{chunk-6y4xkcte.js → chunk-fhazy8f9.js} +1 -1
  53. package/bin/{chunk-gqr5hxhj.js → chunk-fk712d68.js} +1 -1
  54. package/bin/{chunk-afnzb9ne.js → chunk-fvgb6rps.js} +2 -2
  55. package/bin/chunk-g9gmht89.js +2 -0
  56. package/bin/{chunk-1t51fp6n.js → chunk-gf4n4ahk.js} +1 -1
  57. package/bin/{chunk-gcjsw9yp.js → chunk-h3wr8nnk.js} +1 -1
  58. package/bin/chunk-htpjtarr.js +2 -0
  59. package/bin/{chunk-kg8eg9z3.js → chunk-hye75kp0.js} +2 -2
  60. package/bin/{chunk-3tg39jx7.js → chunk-j41mya13.js} +2 -2
  61. package/bin/chunk-j547gtag.js +2 -0
  62. package/bin/{chunk-a4056d0r.js → chunk-jde9r5mj.js} +1 -1
  63. package/bin/chunk-jf4kcad0.js +1 -0
  64. package/bin/{chunk-tgr86ac4.js → chunk-jt04mf5s.js} +1 -1
  65. package/bin/{chunk-hnhdq2wd.js → chunk-k3qypq3x.js} +1 -1
  66. package/bin/chunk-k5hnrtrt.js +1 -0
  67. package/bin/{chunk-mtb9fpj2.js → chunk-k810fstm.js} +1 -1
  68. package/bin/{chunk-3n4224c0.js → chunk-kg2c445x.js} +1 -1
  69. package/bin/{chunk-edqd8evk.js → chunk-kq2qbwx1.js} +1 -1
  70. package/bin/{chunk-7nvk7waw.js → chunk-m2h7a172.js} +1 -1
  71. package/bin/{chunk-brwbhbmc.js → chunk-m638fg4n.js} +5 -5
  72. package/bin/{chunk-3dgahs95.js → chunk-mm1a0zja.js} +1 -1
  73. package/bin/{chunk-hxyg5q2a.js → chunk-njabdtvb.js} +2 -2
  74. package/bin/{chunk-b6q287d1.js → chunk-njqf50vw.js} +1 -1
  75. package/bin/{chunk-47tn3vtg.js → chunk-nn5hyf6f.js} +1 -1
  76. package/bin/{chunk-t7bvde99.js → chunk-nnq8g9yy.js} +3 -3
  77. package/bin/{chunk-8cn7fx40.js → chunk-ny7qjn6s.js} +1 -1
  78. package/bin/{chunk-3d9tfxp4.js → chunk-p5fwjk5c.js} +1 -1
  79. package/bin/{chunk-s05cdax2.js → chunk-pa1fmskf.js} +1 -1
  80. package/bin/{chunk-a796sgcw.js → chunk-pcspeqwq.js} +2 -2
  81. package/bin/{chunk-yfr0hzb7.js → chunk-q1d7x1cc.js} +1 -1
  82. package/bin/{chunk-y1b3ck7m.js → chunk-q45n02fs.js} +1 -1
  83. package/bin/chunk-q6jsw0rr.js +211 -0
  84. package/bin/chunk-qjzyze00.js +1 -0
  85. package/bin/{chunk-2yr5k567.js → chunk-r55htzxr.js} +1 -1
  86. package/bin/{chunk-46wfxyd7.js → chunk-r7e2fmmx.js} +2 -2
  87. package/bin/{chunk-5kvc1gp2.js → chunk-rbagbd0e.js} +1 -1
  88. package/bin/{chunk-dz076sh7.js → chunk-rdscv38p.js} +1 -1
  89. package/bin/chunk-rfhmk32e.js +1 -0
  90. package/bin/{chunk-qs7855cz.js → chunk-rkafv27g.js} +2 -2
  91. package/bin/{chunk-hd6dnnyg.js → chunk-rkqpnyzx.js} +1 -1
  92. package/bin/{chunk-z6jpt0h6.js → chunk-s30fjvzs.js} +3 -3
  93. package/bin/{chunk-dj5a6kkh.js → chunk-s41mgkse.js} +1 -1
  94. package/bin/{chunk-988casfy.js → chunk-s63vj79f.js} +1 -1
  95. package/bin/{chunk-9d0thqcy.js → chunk-t3t7dcfq.js} +1 -1
  96. package/bin/{chunk-gsfcpcye.js → chunk-twyxs4z2.js} +1 -1
  97. package/bin/{chunk-1dqsf5qj.js → chunk-typ46eqd.js} +5 -5
  98. package/bin/chunk-v1sgrg0r.js +1 -0
  99. package/bin/{chunk-j9ks8bd7.js → chunk-vdnmq163.js} +1 -1
  100. package/bin/{chunk-jg2v25d2.js → chunk-vx66rms0.js} +2 -2
  101. package/bin/{chunk-9nvymwqj.js → chunk-wvq717b5.js} +2 -2
  102. package/bin/chunk-xbge27m4.js +1 -0
  103. package/bin/{chunk-ysv80zyb.js → chunk-xca338dw.js} +3 -3
  104. package/bin/chunk-xcsz1wp7.js +1 -0
  105. package/bin/{chunk-ehpfg3km.js → chunk-xznabrt2.js} +1 -1
  106. package/bin/{chunk-pvg3msgw.js → chunk-xzyfnfck.js} +3 -3
  107. package/bin/{chunk-9trnkbtr.js → chunk-ycw3rwhx.js} +3 -3
  108. package/bin/{chunk-qbqym9m6.js → chunk-yqvhgtez.js} +2 -2
  109. package/bin/{chunk-4syt6rn0.js → chunk-yr03tf5r.js} +2 -2
  110. package/bin/{chunk-n3xjwszr.js → chunk-z9jpgxf1.js} +1 -1
  111. package/bin/chunk-zb0az2tq.js +2 -0
  112. package/bin/{chunk-pwkby9h7.js → chunk-zbt4h7n0.js} +1 -1
  113. package/bin/{chunk-kk42xhgz.js → chunk-zcdqsp1e.js} +1 -1
  114. package/bin/chunk-zej27b5c.js +2 -0
  115. package/bin/{chunk-axmd242s.js → chunk-zmjtv19e.js} +1 -1
  116. package/bin/{chunk-7e5z637e.js → chunk-zr11zfwc.js} +1 -1
  117. package/bin/{chunk-k6avge95.js → chunk-zz0522zr.js} +4 -4
  118. package/bin/shumai-app.html +1 -1
  119. package/bin/shumai-app.js +294 -293
  120. package/package.json +7 -7
  121. package/bin/chunk-0c67210c.js +0 -1
  122. package/bin/chunk-2z1pnt7h.js +0 -2
  123. package/bin/chunk-3vmapyk9.js +0 -1
  124. package/bin/chunk-886pnknh.js +0 -3
  125. package/bin/chunk-908pypkr.js +0 -1
  126. package/bin/chunk-952qwf17.js +0 -2
  127. package/bin/chunk-9a2tf0mh.js +0 -2
  128. package/bin/chunk-apfrw0wd.js +0 -3
  129. package/bin/chunk-batadmvr.js +0 -2
  130. package/bin/chunk-bvdvp192.js +0 -1
  131. package/bin/chunk-db1msmdh.js +0 -2
  132. package/bin/chunk-dkx3pmdz.js +0 -1
  133. package/bin/chunk-hacyjx1s.js +0 -1
  134. package/bin/chunk-he5nvmqw.js +0 -1
  135. package/bin/chunk-hyr1vtfp.js +0 -1
  136. package/bin/chunk-jh8q3885.js +0 -211
  137. package/bin/chunk-jzbrt2vk.js +0 -1
  138. package/bin/chunk-nqym3zbs.js +0 -1
  139. package/bin/chunk-sebbjvgv.css +0 -1
  140. package/bin/chunk-t8gv2ekj.js +0 -14
  141. package/bin/chunk-vm5tn0zm.js +0 -2
  142. package/bin/chunk-wmjp8dcm.js +0 -1
  143. package/bin/chunk-wy8dkyxj.js +0 -1
@@ -1,211 +0,0 @@
1
- import{z,w,Oe,mm,gm}from"./chunk-qbqym9m6.js";var V={};gm(V,{Activity:()=>uG,Children:()=>tc,Component:()=>ks,Fragment:()=>Cn,Profiler:()=>dG,PureComponent:()=>ZG,StrictMode:()=>qF,Suspense:()=>aa,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:()=>Ga,__COMPILER_RUNTIME:()=>pG,cache:()=>mG,cacheSignal:()=>hG,cloneElement:()=>Eu,createContext:()=>at,createElement:()=>q,createRef:()=>gG,forwardRef:()=>O,isValidElement:()=>os,lazy:()=>MG,memo:()=>Bn,startTransition:()=>NL,unstable_useCacheRefresh:()=>vG,use:()=>xi,useActionState:()=>xG,useCallback:()=>P,useContext:()=>dt,useDebugValue:()=>ia,useDeferredValue:()=>yG,useEffect:()=>h,useEffectEvent:()=>bG,useId:()=>Fu,useImperativeHandle:()=>dn,useInsertionEffect:()=>kD,useLayoutEffect:()=>He,useMemo:()=>D,useOptimistic:()=>_G,useReducer:()=>en,useRef:()=>b,useState:()=>u,useSyncExternalStore:()=>Yn,useTransition:()=>wG,version:()=>Rs},{Activity:(a1t)=>uG=a1t,Children:(a1t)=>tc=a1t,Component:(a1t)=>ks=a1t,Fragment:(a1t)=>Cn=a1t,Profiler:(a1t)=>dG=a1t,PureComponent:(a1t)=>ZG=a1t,StrictMode:(a1t)=>qF=a1t,Suspense:(a1t)=>aa=a1t,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:(a1t)=>Ga=a1t,__COMPILER_RUNTIME:(a1t)=>pG=a1t,cache:(a1t)=>mG=a1t,cacheSignal:(a1t)=>hG=a1t,cloneElement:(a1t)=>Eu=a1t,createContext:(a1t)=>at=a1t,createElement:(a1t)=>q=a1t,createRef:(a1t)=>gG=a1t,forwardRef:(a1t)=>O=a1t,isValidElement:(a1t)=>os=a1t,lazy:(a1t)=>MG=a1t,memo:(a1t)=>Bn=a1t,startTransition:(a1t)=>NL=a1t,unstable_useCacheRefresh:(a1t)=>vG=a1t,use:(a1t)=>xi=a1t,useActionState:(a1t)=>xG=a1t,useCallback:(a1t)=>P=a1t,useContext:(a1t)=>dt=a1t,useDebugValue:(a1t)=>ia=a1t,useDeferredValue:(a1t)=>yG=a1t,useEffect:(a1t)=>h=a1t,useEffectEvent:(a1t)=>bG=a1t,useId:(a1t)=>Fu=a1t,useImperativeHandle:(a1t)=>dn=a1t,useInsertionEffect:(a1t)=>kD=a1t,useLayoutEffect:(a1t)=>He=a1t,useMemo:(a1t)=>D=a1t,useOptimistic:(a1t)=>_G=a1t,useReducer:(a1t)=>en=a1t,useRef:(a1t)=>b=a1t,useState:(a1t)=>u=a1t,useSyncExternalStore:(a1t)=>Yn=a1t,useTransition:(a1t)=>wG=a1t,version:(a1t)=>Rs=a1t});function Oxe(e){if(e===null||typeof e!=="object")return null;return e=tG&&e[tG]||e["@@iterator"],typeof e==="function"?e:null}function jL(e,r,a){this.props=e,this.context=r,this.refs=sG,this.updater=a||iG}function lG(){}function FF(e,r,a){this.props=e,this.context=r,this.refs=sG,this.updater=a||iG}function jF(){}function YF(e,r,a){var i=a.ref;return{$$typeof:NF,type:e,key:r,ref:i!==void 0?i:null,props:a}}function jxe(e,r){return YF(e.type,r,e.props)}function UF(e){return typeof e==="object"&&e!==null&&e.$$typeof===NF}function Nxe(e){var r={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return r[a]})}function OF(e,r){return typeof e==="object"&&e!==null&&e.key!=null?Nxe(""+e.key):r.toString(36)}function Fxe(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status==="string"?e.then(jF,jF):(e.status="pending",e.then(function(r){e.status==="pending"&&(e.status="fulfilled",e.value=r)},function(r){e.status==="pending"&&(e.status="rejected",e.reason=r)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function OL(e,r,a,i,f){var s=typeof e;if(s==="undefined"||s==="boolean")e=null;var l=!1;if(e===null)l=!0;else switch(s){case"bigint":case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case NF:case Lxe:l=!0;break;case nG:return l=e._init,OL(l(e._payload),r,a,i,f)}}if(l)return f=f(e),l=i===""?"."+OF(e,0):i,rG(f)?(a="",l!=null&&(a=l.replace(oG,"$&/")+"/"),OL(f,r,a,"",function(g){return g})):f!=null&&(UF(f)&&(f=jxe(f,a+(f.key==null||e&&e.key===f.key?"":(""+f.key).replace(oG,"$&/")+"/")+l)),r.push(f)),1;l=0;var c=i===""?".":i+":";if(rG(e))for(var m=0;m<e.length;m++)i=e[m],s=c+OF(i,m),l+=OL(i,r,a,s,f);else if(m=Oxe(e),typeof m==="function")for(e=m.call(e),m=0;!(i=e.next()).done;)i=i.value,s=c+OF(i,m++),l+=OL(i,r,a,s,f);else if(s==="object"){if(typeof e.then==="function")return OL(Fxe(e),r,a,i,f);throw r=String(e),Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return l}function LD(e,r,a){if(e==null)return e;var i=[],f=0;return OL(e,i,"","",function(s){return r.call(a,s,f++)}),i}function Bxe(e){if(e._status===-1){var r=e._result;r=r(),r.then(function(a){if(e._status===0||e._status===-1)e._status=1,e._result=a},function(a){if(e._status===0||e._status===-1)e._status=2,e._result=a}),e._status===-1&&(e._status=0,e._result=r)}if(e._status===1)return e._result.default;throw e._result}var NF,Lxe,kxe,Cxe,Ixe,Rxe,Pxe,Txe,Axe,Exe,nG,Dxe,tG,iG,fG,sG,BF,rG,Da,cG,oG,aG,Yxe,uG,tc,ks,Cn,dG,ZG,qF,aa,Ga,pG,mG=function(e){return function(){return e.apply(null,arguments)}},hG=function(){return null},Eu=function(e,r,a){if(e===null||e===void 0)throw Error("The argument must be a React element, but you passed "+e+".");var i=fG({},e.props),f=e.key;if(r!=null)for(s in r.key!==void 0&&(f=""+r.key),r)!cG.call(r,s)||s==="key"||s==="__self"||s==="__source"||s==="ref"&&r.ref===void 0||(i[s]=r[s]);var s=arguments.length-2;if(s===1)i.children=a;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];i.children=l}return YF(e.type,f,i)},at=function(e){return e={$$typeof:Pxe,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:Rxe,_context:e},e},q=function(e,r,a){var i,f={},s=null;if(r!=null)for(i in r.key!==void 0&&(s=""+r.key),r)cG.call(r,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(f[i]=r[i]);var l=arguments.length-2;if(l===1)f.children=a;else if(1<l){for(var c=Array(l),m=0;m<l;m++)c[m]=arguments[m+2];f.children=c}if(e&&e.defaultProps)for(i in l=e.defaultProps,l)f[i]===void 0&&(f[i]=l[i]);return YF(e,s,f)},gG=function(){return{current:null}},O=function(e){return{$$typeof:Txe,render:e}},os,MG=function(e){return{$$typeof:nG,_payload:{_status:-1,_result:e},_init:Bxe}},Bn=function(e,r){return{$$typeof:Exe,type:e,compare:r===void 0?null:r}},NL=function(e){var r=Da.T,a={};Da.T=a;try{var i=e(),f=Da.S;f!==null&&f(a,i),typeof i==="object"&&i!==null&&typeof i.then==="function"&&i.then(jF,aG)}catch(s){aG(s)}finally{r!==null&&a.types!==null&&(r.types=a.types),Da.T=r}},vG=function(){return Da.H.useCacheRefresh()},xi=function(e){return Da.H.use(e)},xG=function(e,r,a){return Da.H.useActionState(e,r,a)},P=function(e,r){return Da.H.useCallback(e,r)},dt=function(e){return Da.H.useContext(e)},ia=function(){},yG=function(e,r){return Da.H.useDeferredValue(e,r)},h=function(e,r){return Da.H.useEffect(e,r)},bG=function(e){return Da.H.useEffectEvent(e)},Fu=function(){return Da.H.useId()},dn=function(e,r,a){return Da.H.useImperativeHandle(e,r,a)},kD=function(e,r){return Da.H.useInsertionEffect(e,r)},He=function(e,r){return Da.H.useLayoutEffect(e,r)},D=function(e,r){return Da.H.useMemo(e,r)},_G=function(e,r){return Da.H.useOptimistic(e,r)},en=function(e,r,a){return Da.H.useReducer(e,r,a)},b=function(e){return Da.H.useRef(e)},u=function(e){return Da.H.useState(e)},Yn=function(e,r,a){return Da.H.useSyncExternalStore(e,r,a)},wG=function(){return Da.H.useTransition()},Rs="19.2.8";var S=mm(()=>{NF=Symbol.for("react.transitional.element"),Lxe=Symbol.for("react.portal"),kxe=Symbol.for("react.fragment"),Cxe=Symbol.for("react.strict_mode"),Ixe=Symbol.for("react.profiler"),Rxe=Symbol.for("react.consumer"),Pxe=Symbol.for("react.context"),Txe=Symbol.for("react.forward_ref"),Axe=Symbol.for("react.suspense"),Exe=Symbol.for("react.memo"),nG=Symbol.for("react.lazy"),Dxe=Symbol.for("react.activity"),tG=Symbol.iterator;iG={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},fG=Object.assign,sG={};jL.prototype.isReactComponent={};jL.prototype.setState=function(e,r){if(typeof e!=="object"&&typeof e!=="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,r,"setState")};jL.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};lG.prototype=jL.prototype;BF=FF.prototype=new lG;BF.constructor=FF;fG(BF,jL.prototype);BF.isPureReactComponent=!0;rG=Array.isArray;Da={H:null,A:null,T:null,S:null},cG=Object.prototype.hasOwnProperty;oG=/\/+/g;aG=typeof reportError==="function"?reportError:function(e){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e==="object"&&e!==null&&typeof e.message==="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(r))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",e);return}console.error(e)},Yxe={map:LD,forEach:function(e,r,a){LD(e,function(){r.apply(this,arguments)},a)},count:function(e){var r=0;return LD(e,function(){r++}),r},toArray:function(e){return LD(e,function(r){return r})||[]},only:function(e){if(!UF(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};uG=Dxe,tc=Yxe,ks=jL,Cn=kxe,dG=Ixe,ZG=FF,qF=Cxe,aa=Axe,Ga=Da,pG={__proto__:null,c:function(e){return Da.H.useMemoCache(e)}},os=UF});var UK=w(function(Yye){S();function Tye(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Aye=typeof Object.is==="function"?Object.is:Tye,Eye=u,Dye=h,Oye=He,jye=ia;function Nye(e,r){var a=r(),i=Eye({inst:{value:a,getSnapshot:r}}),f=i[0].inst,s=i[1];return Oye(function(){f.value=a,f.getSnapshot=r,I3(f)&&s({inst:f})},[e,a,r]),Dye(function(){return I3(f)&&s({inst:f}),e(function(){I3(f)&&s({inst:f})})},[e]),jye(a),a}function I3(e){var r=e.getSnapshot;e=e.value;try{var a=r();return!Aye(e,a)}catch(i){return!0}}function Fye(e,r){return r()}var Bye=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Fye:Nye;Yye.useSyncExternalStore=Yn!==void 0?Yn:Bye});var rz={};gm(rz,{unstable_now:()=>Jn,unstable_IdlePriority:()=>Ka,unstable_ImmediatePriority:()=>il,unstable_LowPriority:()=>dO,unstable_NormalPriority:()=>Ns,unstable_Profiling:()=>_X,unstable_UserBlockingPriority:()=>ll,unstable_cancelCallback:()=>cl,unstable_forceFrameRate:()=>wX,unstable_getCurrentPriorityLevel:()=>ZO,unstable_next:()=>zX,unstable_requestPaint:()=>ul,unstable_runWithPriority:()=>Hu,unstable_scheduleCallback:()=>Ds,unstable_shouldYield:()=>dl,unstable_wrapCallback:()=>SX},{unstable_now:(gDt)=>Jn=gDt,unstable_IdlePriority:(gDt)=>Ka=gDt,unstable_ImmediatePriority:(gDt)=>il=gDt,unstable_LowPriority:(gDt)=>dO=gDt,unstable_NormalPriority:(gDt)=>Ns=gDt,unstable_Profiling:(gDt)=>_X=gDt,unstable_UserBlockingPriority:(gDt)=>ll=gDt,unstable_cancelCallback:(gDt)=>cl=gDt,unstable_forceFrameRate:(gDt)=>wX=gDt,unstable_getCurrentPriorityLevel:(gDt)=>ZO=gDt,unstable_next:(gDt)=>zX=gDt,unstable_requestPaint:(gDt)=>ul=gDt,unstable_runWithPriority:(gDt)=>Hu=gDt,unstable_scheduleCallback:(gDt)=>Ds=gDt,unstable_shouldYield:(gDt)=>dl=gDt,unstable_wrapCallback:(gDt)=>SX=gDt});function F3(e,r){var a=e.length;e.push(r);e:for(;0<a;){var i=a-1>>>1,f=e[i];if(0<fO(f,r))e[i]=r,e[a]=f,a=i;else break e}}function Wd(e){return e.length===0?null:e[0]}function uO(e){if(e.length===0)return null;var r=e[0],a=e.pop();if(a!==r){e[0]=a;e:for(var i=0,f=e.length,s=f>>>1;i<s;){var l=2*(i+1)-1,c=e[l],m=l+1,g=e[m];if(0>fO(c,a))m<f&&0>fO(g,c)?(e[i]=g,e[m]=a,i=m):(e[i]=c,e[l]=a,i=l);else if(m<f&&0>fO(g,a))e[i]=g,e[m]=a,i=m;else break e}}return r}function fO(e,r){var a=e.sortIndex-r.sortIndex;return a!==0?a:e.id-r.id}function lO(e){for(var r=Wd(IM);r!==null;){if(r.callback===null)uO(IM);else if(r.startTime<=e)uO(IM),r.sortIndex=r.expirationTime,F3(kZ,r);else break;r=Wd(IM)}}function H3(e){if(QR=!1,lO(e),!XR)if(Wd(kZ)!==null)XR=!0,ok||(ok=!0,rk());else{var r=Wd(IM);r!==null&&W3(H3,r.startTime-e)}}function bX(){return V3?!0:rz.unstable_now()-yX<xX?!1:!0}function N3(){if(V3=!1,ok){var e=rz.unstable_now();yX=e;var r=!0;try{e:{XR=!1,QR&&(QR=!1,vX(JR),JR=-1),U3=!0;var a=lf;try{t:{lO(e);for(oc=Wd(kZ);oc!==null&&!(oc.expirationTime>e&&bX());){var i=oc.callback;if(typeof i==="function"){oc.callback=null,lf=oc.priorityLevel;var f=i(oc.expirationTime<=e);if(e=rz.unstable_now(),typeof f==="function"){oc.callback=f,lO(e),r=!0;break t}oc===Wd(kZ)&&uO(kZ),lO(e)}else uO(kZ);oc=Wd(kZ)}if(oc!==null)r=!0;else{var s=Wd(IM);s!==null&&W3(H3,s.startTime-e),r=!1}}break e}finally{oc=null,lf=a,U3=!1}r=void 0}}finally{r?rk():ok=!1}}}function W3(e,r){JR=MX(function(){e(rz.unstable_now())},r)}var Jn=void 0,B3,sO,Y3,kZ,IM,lbe=1,oc=null,lf=3,U3=!1,XR=!1,QR=!1,V3=!1,MX,vX,gX,ok=!1,JR=-1,xX=5,yX=-1,rk,cO,q3,Ka=5,il=1,dO=4,Ns=3,_X=null,ll=2,cl=function(e){e.callback=null},wX=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):xX=0<e?Math.floor(1000/e):5},ZO=function(){return lf},zX=function(e){switch(lf){case 1:case 2:case 3:var r=3;break;default:r=lf}var a=lf;lf=r;try{return e()}finally{lf=a}},ul=function(){V3=!0},Hu=function(e,r){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=lf;lf=e;try{return r()}finally{lf=a}},Ds=function(e,r,a){var i=rz.unstable_now();switch(typeof a==="object"&&a!==null?(a=a.delay,a=typeof a==="number"&&0<a?i+a:i):a=i,e){case 1:var f=-1;break;case 2:f=250;break;case 5:f=1073741823;break;case 4:f=1e4;break;default:f=5000}return f=a+f,e={id:lbe++,callback:r,priorityLevel:e,startTime:a,expirationTime:f,sortIndex:-1},a>i?(e.sortIndex=a,F3(IM,e),Wd(kZ)===null&&e===Wd(IM)&&(QR?(vX(JR),JR=-1):QR=!0,W3(H3,a-i))):(e.sortIndex=f,F3(kZ,e),XR||U3||(XR=!0,ok||(ok=!0,rk()))),e},dl,SX=function(e){var r=lf;return function(){var a=lf;lf=r;try{return e.apply(this,arguments)}finally{lf=a}}};var $u=mm(()=>{if(typeof performance==="object"&&typeof performance.now==="function")B3=performance,Jn=function(){return B3.now()};else sO=Date,Y3=sO.now(),Jn=function(){return sO.now()-Y3};kZ=[],IM=[],MX=typeof setTimeout==="function"?setTimeout:null,vX=typeof clearTimeout==="function"?clearTimeout:null,gX=typeof setImmediate<"u"?setImmediate:null;if(typeof gX==="function")rk=function(){gX(N3)};else if(typeof MessageChannel<"u")cO=new MessageChannel,q3=cO.port2,cO.port1.onmessage=N3,rk=function(){q3.postMessage(null)};else rk=function(){MX(N3,0)};dl=bX});var fMe=w(function(kRn,iMe){var rMe=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Fwt=/\n/g,Bwt=/^\s*/,Ywt=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Uwt=/^:\s*/,qwt=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Vwt=/^[;\s]*/,Hwt=/^\s+|\s+$/g,Wwt=`
2
- `,oMe="/",aMe="*",kL="",Gwt="comment",Kwt="declaration";function Xwt(e,r){if(typeof e!=="string")throw TypeError("First argument must be a string");if(!e)return[];r=r||{};var a=1,i=1;function f(_){var j=_.match(Fwt);if(j)a+=j.length;var U=_.lastIndexOf(Wwt);i=~U?_.length-U:i+_.length}function s(){var _={line:a,column:i};return function(j){return j.position=new l(_),g(),j}}function l(_){this.start=_,this.end={line:a,column:i},this.source=r.source}l.prototype.content=e;function c(_){var j=Error(r.source+":"+a+":"+i+": "+_);if(j.reason=_,j.filename=r.source,j.line=a,j.column=i,j.source=e,r.silent);else throw j}function m(_){var j=_.exec(e);if(!j)return;var U=j[0];return f(U),e=e.slice(U.length),j}function g(){m(Bwt)}function M(_){var j;_=_||[];while(j=v())if(j!==!1)_.push(j);return _}function v(){var _=s();if(oMe!=e.charAt(0)||aMe!=e.charAt(1))return;var j=2;while(kL!=e.charAt(j)&&(aMe!=e.charAt(j)||oMe!=e.charAt(j+1)))++j;if(j+=2,kL===e.charAt(j-1))return c("End of comment missing");var U=e.slice(2,j-2);return i+=2,f(U),e=e.slice(j),i+=2,_({type:Gwt,comment:U})}function y(){var _=s(),j=m(Ywt);if(!j)return;if(v(),!m(Uwt))return c("property missing ':'");var U=m(qwt),T=_({type:Kwt,property:nMe(j[0].replace(rMe,kL)),value:U?nMe(U[0].replace(rMe,kL)):kL});return m(Vwt),T}function x(){var _=[];M(_);var j;while(j=y())if(j!==!1)_.push(j),M(_);return _}return g(),x()}function nMe(e){return e?e.replace(Hwt,kL):kL}iMe.exports=Xwt});var sMe=w(function(oD){var Qwt=oD&&oD.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(oD,"__esModule",{value:!0});oD.default=$wt;var Jwt=Qwt(fMe());function $wt(e,r){let a=null;if(!e||typeof e!=="string")return a;let i=(0,Jwt.default)(e),f=typeof r==="function";return i.forEach((s)=>{if(s.type!=="declaration")return;let{property:l,value:c}=s;if(f)r(l,c,s);else if(c)a=a||{},a[l]=c}),a}});var dMe=w(function(cMe){Object.defineProperty(cMe,"__esModule",{value:!0});cMe.camelCase=void 0;var e0t=/^--[a-zA-Z0-9_-]+$/,t0t=/-([a-z])/g,r0t=/^[^-]+$/,o0t=/^-(webkit|moz|ms|o|khtml)-/,a0t=/^-(ms)-/,n0t=function(e){return!e||r0t.test(e)||e0t.test(e)},i0t=function(e,r){return r.toUpperCase()},lMe=function(e,r){return"".concat(r,"-")},f0t=function(e,r){if(r===void 0)r={};if(n0t(e))return e;if(e=e.toLowerCase(),r.reactCompat)e=e.replace(a0t,lMe);else e=e.replace(o0t,lMe);return e.replace(t0t,i0t)};cMe.camelCase=f0t});var pMe=w(function(NH,ZMe){var s0t=NH&&NH.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},l0t=s0t(sMe()),c0t=dMe();function jH(e,r){var a={};if(!e||typeof e!=="string")return a;return(0,l0t.default)(e,function(i,f){if(i&&f)a[(0,c0t.camelCase)(i,r)]=f}),a}jH.default=jH;ZMe.exports=jH});var Nve=w(function(MDn,jve){var fF=Object.prototype.hasOwnProperty,Ove=Object.prototype.toString,{defineProperty:Rve,getOwnPropertyDescriptor:Pve}=Object,Tve=function(r){if(typeof Array.isArray==="function")return Array.isArray(r);return Ove.call(r)==="[object Array]"},Ave=function(r){if(!r||Ove.call(r)!=="[object Object]")return!1;var a=fF.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&fF.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!a&&!i)return!1;var f;for(f in r);return typeof f>"u"||fF.call(r,f)},Eve=function(r,a){if(Rve&&a.name==="__proto__")Rve(r,a.name,{enumerable:!0,configurable:!0,value:a.newValue,writable:!0});else r[a.name]=a.newValue},Dve=function(r,a){if(a==="__proto__"){if(!fF.call(r,a))return;else if(Pve)return Pve(r,a).value}return r[a]};jve.exports=function e(){var r,a,i,f,s,l,c=arguments[0],m=1,g=arguments.length,M=!1;if(typeof c==="boolean")M=c,c=arguments[1]||{},m=2;if(c==null||typeof c!=="object"&&typeof c!=="function")c={};for(;m<g;++m)if(r=arguments[m],r!=null){for(a in r)if(i=Dve(c,a),f=Dve(r,a),c!==f){if(M&&f&&(Ave(f)||(s=Tve(f)))){if(s)s=!1,l=i&&Tve(i)?i:[];else l=i&&Ave(i)?i:{};Eve(c,{name:a,newValue:e(M,l,f)})}else if(typeof f<"u")Eve(c,{name:a,newValue:f})}}return c}});S();var Uxe=Symbol.for("react.transitional.element"),qxe=Symbol.for("react.fragment");function zG(e,r,a){var i=null;if(a!==void 0&&(i=""+a),r.key!==void 0&&(i=""+r.key),"key"in r){a={};for(var f in r)f!=="key"&&(a[f]=r[f])}else a=r;return r=a.ref,{$$typeof:Uxe,type:e,key:i,ref:r!==void 0?r:null,props:a}}var Z=qxe,t=zG,o=zG;var VF=at(void 0),K=(e)=>{let r=dt(VF);if(e)return e;if(!r)throw Error("No QueryClient set, use QueryClientProvider to set one");return r},HF=({client:e,children:r})=>(h(()=>(e.mount(),()=>{e.unmount()}),[e]),t(VF.Provider,{value:e,children:r}));S();var SG=at(!1),Lu=()=>dt(SG),s1t=SG.Provider;S();function Vxe(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var Hxe=at(Vxe()),Zu=()=>dt(Hxe);S();var Wxe={setTimeout:(e,r)=>setTimeout(e,r),clearTimeout:(e)=>clearTimeout(e),setInterval:(e,r)=>setInterval(e,r),clearInterval:(e)=>clearInterval(e)},Gxe=class{#e=Wxe;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,r){return this.#e.setTimeout(e,r)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,r){return this.#e.setInterval(e,r)}clearInterval(e){this.#e.clearInterval(e)}},Du=new Gxe;function LG(e){setTimeout(e,0)}var GF=typeof window>"u"||"Deno"in globalThis;function Ar(){}function IG(e,r){return typeof e==="function"?e(r):e}function CD(e){return typeof e==="number"&&e>=0&&e!==1/0}function ID(e,r){return Math.max(e+(r||0)-Date.now(),0)}function Oa(e,r){return typeof e==="function"?e(r):e}function RD(e,r){let{type:a="all",exact:i,fetchStatus:f,predicate:s,queryKey:l,stale:c}=e;if(l){if(i){if(r.queryHash!==DR(l,r.options))return!1}else if(!mM(r.queryKey,l))return!1}if(a!=="all"){let m=r.isActive();if(a==="active"&&!m)return!1;if(a==="inactive"&&m)return!1}if(typeof c==="boolean"&&r.isStale()!==c)return!1;if(f&&f!==r.state.fetchStatus)return!1;if(s&&!s(r))return!1;return!0}function PD(e,r){let{exact:a,status:i,predicate:f,mutationKey:s}=e;if(s){if(!r.options.mutationKey)return!1;if(a){if(Ou(r.options.mutationKey)!==Ou(s))return!1}else if(!mM(r.options.mutationKey,s))return!1}if(i&&r.state.status!==i)return!1;if(f&&!f(r))return!1;return!0}function DR(e,r){return(r?.queryKeyHashFn||Ou)(e)}function Ou(e){return JSON.stringify(e,(r,a)=>WF(a)?Object.keys(a).sort().reduce((i,f)=>(i[f]=a[f],i),{}):a)}function mM(e,r){if(e===r)return!0;if(typeof e!==typeof r)return!1;if(e&&r&&typeof e==="object"&&typeof r==="object"){if(Array.isArray(e)&&Array.isArray(r)){for(let i=0;i<r.length;i++)if(!mM(e[i],r[i]))return!1;return!0}let a=Object.keys(r);for(let i of a)if(!mM(e[i],r[i]))return!1;return!0}return!1}var Kxe=Object.prototype.hasOwnProperty;function Ec(e,r,a=0){if(e===r)return e;if(a>500)return r;let i=kG(e)&&kG(r);if(!i&&!(WF(e)&&WF(r)))return r;let f=(i?e:Object.keys(e)).length,s=i?r:Object.keys(r),l=s.length,c=i?Array(l):{},m=0;for(let g=0;g<l;g++){let M=i?g:s[g],v=e[M],y=r[M];if(v===y){if(c[M]=v,i?g<f:Kxe.call(e,M))m++;continue}if(v===null||y===null||typeof v!=="object"||typeof y!=="object"){c[M]=y;continue}let x=Ec(v,y,a+1);if(c[M]=x,x===v)m++}return f===l&&m===f?e:c}function Va(e,r){if(!r||Object.keys(e).length!==Object.keys(r).length)return!1;for(let a in e)if(e[a]!==r[a])return!1;return!0}function kG(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function WF(e){if(!CG(e))return!1;let r=e.constructor;if(r===void 0)return!0;let a=r.prototype;if(!CG(a))return!1;if(!a.hasOwnProperty("isPrototypeOf"))return!1;if(Object.getPrototypeOf(e)!==Object.prototype)return!1;return!0}function CG(e){return Object.prototype.toString.call(e)==="[object Object]"}function RG(e){return new Promise((r)=>{Du.setTimeout(r,e)})}function OR(e,r,a){if(typeof a.structuralSharing==="function")return a.structuralSharing(e,r);else if(a.structuralSharing!==!1)return Ec(e,r);return r}function Si(e){return e}function PG(e,r,a=0){let i=[...e,r];return a&&i.length>a?i.slice(1):i}function TG(e,r,a=0){let i=[r,...e];return a&&i.length>a?i.slice(0,-1):i}var FL=Symbol();function TD(e,r){if(!e.queryFn&&r?.initialPromise)return()=>r.initialPromise;if(!e.queryFn||e.queryFn===FL)return()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`));return e.queryFn}function BL(e,r){if(typeof e==="function")return e(...r);return!!e}function AG(e,r,a){let i=!1,f;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(f??=r(),i)return f;if(i=!0,f.aborted)a();else f.addEventListener("abort",a,{once:!0});return f}}),e}var Xxe=()=>GF,YL=()=>Xxe();var bo=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};var Qxe=class extends bo{#e;#t;#r;constructor(){super();this.#r=(e)=>{if(typeof window<"u"&&window.addEventListener){let r=()=>e();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}}}onSubscribe(){if(!this.#t)this.setEventListener(this.#r)}onUnsubscribe(){if(!this.hasListeners())this.#t?.(),this.#t=void 0}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e((r)=>{if(typeof r==="boolean")this.setFocused(r);else this.onFocus()})}setFocused(e){if(this.#e!==e)this.#e=e,this.onFocus()}onFocus(){let e=this.isFocused();this.listeners.forEach((r)=>{r(e)})}isFocused(){if(typeof this.#e==="boolean")return this.#e;return globalThis.document?.visibilityState!=="hidden"}},UL=new Qxe;var EG=LG;function Jxe(){let e=[],r=0,a=(c)=>{c()},i=(c)=>{c()},f=EG,s=(c)=>{if(r)e.push(c);else f(()=>{a(c)})},l=()=>{let c=e;if(e=[],c.length)f(()=>{i(()=>{c.forEach((m)=>{a(m)})})})};return{batch:(c)=>{let m;r++;try{m=c()}finally{if(r--,!r)l()}return m},batchCalls:(c)=>(...m)=>{s(()=>{c(...m)})},schedule:s,setNotifyFunction:(c)=>{a=c},setBatchNotifyFunction:(c)=>{i=c},setScheduler:(c)=>{f=c}}}var Ht=Jxe();var $xe=class extends bo{#e=!0;#t;#r;constructor(){super();this.#r=(e)=>{if(typeof window<"u"&&window.addEventListener){let r=()=>e(!0),a=()=>e(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",a)}}}}onSubscribe(){if(!this.#t)this.setEventListener(this.#r)}onUnsubscribe(){if(!this.hasListeners())this.#t?.(),this.#t=void 0}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){if(this.#e!==e)this.#e=e,this.listeners.forEach((r)=>{r(e)})}isOnline(){return this.#e}},qL=new $xe;function eye(e){return Math.min(1000*2**e,30000)}function KF(e){return(e??"online")==="online"?qL.isOnline():!0}var AD=class extends Error{constructor(e){super("CancelledError");this.revert=e?.revert,this.silent=e?.silent}};function ED(e){let r=!1,a=0,i,f="pending",s,l,c=new Promise((N,G)=>{s=N,l=G});c.catch(Ar);let m=()=>f!=="pending",g=(N)=>{if(!m()){let G=new AD(N);j(G),e.onCancel?.(G)}},M=()=>{r=!0},v=()=>{r=!1},y=()=>UL.isFocused()&&(e.networkMode==="always"||qL.isOnline())&&e.canRun(),x=()=>KF(e.networkMode)&&e.canRun(),_=(N)=>{if(!m())i?.(),f="resolved",s(N)},j=(N)=>{if(!m())i?.(),f="rejected",l(N)},U=()=>new Promise((N)=>{i=(G)=>{if(m()||y())N(G)},e.onPause?.()}).then(()=>{if(i=void 0,!m())e.onContinue?.()}),T=()=>{if(m())return;let N,G=a===0?e.initialPromise:void 0;try{N=G??e.fn()}catch(X){N=Promise.reject(X)}Promise.resolve(N).then(_).catch((X)=>{if(m())return;let J=e.retry??(YL()?0:3),ee=e.retryDelay??eye,re=typeof ee==="function"?ee(a,X):ee,oe=J===!0||typeof J==="number"&&a<J||typeof J==="function"&&J(a,X);if(r||!oe){j(X);return}a++,e.onFail?.(a,X),RG(re).then(()=>y()?void 0:U()).then(()=>{if(r)j(X);else T()})})};return{promise:c,status:()=>f,cancel:g,continue:()=>(i?.(),c),cancelRetry:M,continueRetry:v,canStart:x,start:()=>{if(x())T();else U().then(T);return c}}}var DD=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){if(this.clearGcTimeout(),CD(this.gcTime))this.#e=Du.setTimeout(()=>{this.optionalRemove()},this.gcTime)}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(YL()?1/0:300000))}clearGcTimeout(){if(this.#e!==void 0)Du.clearTimeout(this.#e),this.#e=void 0}};function DG(e){return{onFetch:(r,a)=>{let i=r.options,f=r.fetchOptions?.meta?.fetchMore?.direction,s=r.state.data?.pages||[],l=r.state.data?.pageParams||[],c={pages:[],pageParams:[]},m=0,g=async()=>{let M=!1,v=(_)=>{AG(_,()=>r.signal,()=>M=!0)},y=TD(r.options,r.fetchOptions),x=async(_,j,U)=>{if(M)return Promise.reject(r.signal.reason);if(j==null&&_.pages.length)return Promise.resolve(_);let N=(()=>{let ee={client:r.client,queryKey:r.queryKey,pageParam:j,direction:U?"backward":"forward",meta:r.options.meta};return v(ee),ee})(),G=await y(N),{maxPages:X}=r.options,J=U?TG:PG;return{pages:J(_.pages,G,X),pageParams:J(_.pageParams,j,X)}};if(f&&s.length){let _=f==="backward",j=_?OG:XF,U={pages:s,pageParams:l};c=await x(U,j(i,U),_)}else{let _=e??s.length;do{let j=m===0?l[0]??i.initialPageParam:XF(i,c);if(m>0&&j==null)break;c=await x(c,j),m++}while(m<_)}return c};if(r.options.persister)r.fetchFn=()=>r.options.persister?.(g,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},a);else r.fetchFn=g}}}function XF(e,{pages:r,pageParams:a}){let i=r.length-1;return r.length>0?e.getNextPageParam(r[i],r,a[i],a):void 0}function OG(e,{pages:r,pageParams:a}){return r.length>0?e.getPreviousPageParam?.(r[0],r,a[0],a):void 0}function jG(e,r){if(!r)return!1;return XF(e,r)!=null}function NG(e,r){if(!r||!e.getPreviousPageParam)return!1;return OG(e,r)!=null}var YG=class extends DD{#e;#t;#r;#o;#n;#a;#i;#s;constructor(e){super();this.#s=!1,this.#i=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#n=e.client,this.#o=this.#n.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=BG(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#i,...e},e?._type)this.#e=e._type;if(this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let r=BG(this.options);if(r.data!==void 0)this.setState(FG(r.data,r.dataUpdatedAt)),this.#t=r}}optionalRemove(){if(!this.observers.length&&this.state.fetchStatus==="idle")this.#o.remove(this)}setData(e,r){let a=OR(this.state.data,e,this.options);return this.#f({data:a,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),a}setState(e){this.#f({type:"setState",state:e})}cancel(e){let r=this.#a?.promise;return this.#a?.cancel(e),r?r.then(Ar).catch(Ar):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some((e)=>Oa(e.options.enabled,this)!==!1)}isDisabled(){if(this.getObserversCount()>0)return!this.isActive();return this.options.queryFn===FL||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){if(this.getObserversCount()>0)return this.observers.some((e)=>Oa(e.options.staleTime,this)==="static");return!1}isStale(){if(this.getObserversCount()>0)return this.observers.some((e)=>e.getCurrentResult().isStale);return this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){if(this.state.data===void 0)return!0;if(e==="static")return!1;if(this.state.isInvalidated)return!0;return!ID(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find((e)=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find((e)=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){if(!this.observers.includes(e))this.observers.push(e),this.clearGcTimeout(),this.#o.notify({type:"observerAdded",query:this,observer:e})}removeObserver(e){let r=this.observers.indexOf(e);if(r!==-1){if(this.observers.splice(r,1),!this.observers.length){if(this.#a)if(this.#s||this.state.fetchStatus==="paused"&&this.state.status==="pending")this.#a.cancel({revert:!0});else this.#a.cancelRetry();this.scheduleGc()}this.#o.notify({type:"observerRemoved",query:this,observer:e})}}getObserversCount(){return this.observers.length}invalidate(){if(!this.state.isInvalidated)this.#f({type:"invalidate"})}async fetch(e,r){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&r?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e)this.setOptions(e);if(!this.options.queryFn){let m=this.observers.find((g)=>g.options.queryFn);if(m)this.setOptions(m.options)}let a=new AbortController,i=(m)=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(this.#s=!0,a.signal)})},f=()=>{let m=TD(this.options,r),M=(()=>{let v={client:this.#n,queryKey:this.queryKey,meta:this.meta};return i(v),v})();if(this.#s=!1,this.options.persister)return this.options.persister(m,M,this);return m(M)},l=(()=>{let m={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#n,state:this.state,fetchFn:f};return i(m),m})();if((this.#e==="infinite"?DG(this.options.pages):this.options.behavior)?.onFetch(l,this),this.#r=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)this.#f({type:"fetch",meta:l.fetchOptions?.meta});let c=this.#a=ED({initialPromise:r?.initialPromise,fn:l.fetchFn,onCancel:(m)=>{if(m instanceof AD&&m.revert)this.setState({...this.#r,fetchStatus:"idle"});a.abort()},onFail:(m,g)=>{this.#f({type:"failed",failureCount:m,error:g})},onPause:()=>{this.#f({type:"pause"})},onContinue:()=>{this.#f({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{let m=await c.start();if(m===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(m),this.#o.config.onSuccess?.(m,this),this.#o.config.onSettled?.(m,this.state.error,this),m}catch(m){if(m instanceof AD){if(m.silent)return this.#a.promise;else if(m.revert){if(this.state.data===void 0)throw m;return this.state.data}}throw this.#f({type:"error",error:m}),this.#o.config.onError?.(m,this),this.#o.config.onSettled?.(this.state.data,m,this),m}finally{if(this.#a===c)this.#a=void 0;this.scheduleGc()}}#f(e){let r=(a)=>{switch(e.type){case"failed":return{...a,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...QF(a.data,this.options),fetchMeta:e.meta??null};case"success":let i={...a,...FG(e.data,e.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#r=e.manual?i:void 0,i;case"error":let f=e.error;return{...a,error:f,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:f,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...e.state}}};this.state=r(this.state),Ht.batch(()=>{this.observers.slice().forEach((a)=>{a.onQueryUpdate()}),this.#o.notify({query:this,type:"updated",action:e})})}};function QF(e,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:KF(r.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function FG(e,r){return{data:e,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function BG(e){let r=typeof e.initialData==="function"?e.initialData():e.initialData,a=r!==void 0,i=a?typeof e.initialDataUpdatedAt==="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:a?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"pending",fetchStatus:"idle"}}var Qo=class extends bo{#e;#t=void 0;#r=void 0;#o=void 0;#n;#a;#i;#s;#f;#Z;#c;#u;#l;#p=new Set;constructor(e,r){super();this.options=r,this.#e=e,this.#i=null,this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){if(this.listeners.size===1){if(this.#t.addObserver(this),UG(this.#t,this.options))this.#d();else this.updateResult();this.#v()}}onUnsubscribe(){if(!this.hasListeners())this.destroy()}shouldFetchOnReconnect(){return JF(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return JF(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#x(),this.#y(),this.#t.removeObserver(this)}setOptions(e){let r=this.options,a=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=="boolean"&&typeof this.options.enabled!=="function"&&typeof Oa(this.options.enabled,this.#t)!=="boolean")throw Error("Expected enabled to be a boolean or a callback that returns a boolean");if(this.#b(),this.#t.setOptions(this.options),r._defaulted&&!Va(this.options,r))this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});let i=this.hasListeners();if(i&&qG(this.#t,a,this.options,r))this.#d();if(this.updateResult(),i&&(this.#t!==a||Oa(this.options.enabled,this.#t)!==Oa(r.enabled,this.#t)||Oa(this.options.staleTime,this.#t)!==Oa(r.staleTime,this.#t)))this.#h();let f=this.#g();if(i&&(this.#t!==a||Oa(this.options.enabled,this.#t)!==Oa(r.enabled,this.#t)||f!==this.#l))this.#M(f)}getOptimisticResult(e){let r=this.#e.getQueryCache().build(this.#e,e),a=this.createResult(r,e);if(!Va(this.getCurrentResult(),a))this.#o=a,this.#a=this.options,this.#n=this.#t.state;return a}getCurrentResult(){return this.#o}trackResult(e,r){return new Proxy(e,{get:(a,i)=>(this.trackProp(i),r?.(i),Reflect.get(a,i))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let r=this.#e.defaultQueryOptions(e),a=this.#e.getQueryCache().build(this.#e,r),i=()=>{},f,s=new Promise((l)=>{f=l,i=this.#e.getQueryCache().subscribe((c)=>{if(c.type==="updated"&&c.query.queryHash===a.queryHash&&a.state.data!==void 0)i(),l(this.createResult(a,r))})});return Promise.race([a.fetch().then(()=>{let l=this.createResult(a,r);return f?.(l),l}).finally(()=>{i()}),s])}fetch(e){return this.#d({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#o))}#d(e){this.#b();let r=this.#t.fetch(this.options,e);if(!e?.throwOnError)r=r.catch(Ar);return r}#m(e){return!YL()&&Oa(this.options.enabled,this.#t)!==!1&&CD(e)}#h(){this.#x();let e=Oa(this.options.staleTime,this.#t);if(this.#o.isStale||!this.#m(e))return;let r=ID(this.#o.dataUpdatedAt,e)+1;this.#c=Du.setTimeout(()=>{if(!this.#o.isStale)this.updateResult()},r)}#g(){return(typeof this.options.refetchInterval==="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#M(e){if(this.#y(),this.#l=e,this.#l===0||!this.#m(this.#l))return;this.#u=Du.setInterval(()=>{if(this.options.refetchIntervalInBackground||UL.isFocused())this.#d()},this.#l)}#v(){this.#h(),this.#M(this.#g())}#x(){if(this.#c!==void 0)Du.clearTimeout(this.#c),this.#c=void 0}#y(){if(this.#u!==void 0)Du.clearInterval(this.#u),this.#u=void 0}createResult(e,r){let a=this.#t,i=this.options,f=this.#o,s=this.#n,l=this.#a,c=e!==a?e.state:this.#r,{state:m}=e,g={...m},M=!1,v;if(r._optimisticResults){let J=this.hasListeners(),ee=!J&&UG(e,r),re=J&&qG(e,a,r,i);if(ee||re)g={...g,...QF(m.data,e.options)};if(r._optimisticResults==="isRestoring")g.fetchStatus="idle"}let{error:y,errorUpdatedAt:x,status:_}=g;v=g.data;let j=!1;if(r.placeholderData!==void 0&&v===void 0&&_==="pending"){let J;if(f?.isPlaceholderData&&r.placeholderData===l?.placeholderData)J=f.data,j=!0;else J=typeof r.placeholderData==="function"?r.placeholderData(this.#Z?.state.data,this.#Z):r.placeholderData;if(J!==void 0)_="success",v=OR(f?.data,J,r),M=!0}if(r.select&&v!==void 0&&!j)if(f&&v===s?.data&&r.select===this.#s)v=this.#f;else try{this.#s=r.select,v=r.select(v),v=OR(f?.data,v,r),this.#f=v,this.#i=null}catch(J){this.#i=J}else if(v===void 0)this.#i=null;if(this.#i)y=this.#i,v=this.#f,x=Date.now(),_="error",M=!1;let U=g.fetchStatus==="fetching",T=_==="pending",N=_==="error",G=T&&U,X=v!==void 0;return{status:_,fetchStatus:g.fetchStatus,isPending:T,isSuccess:_==="success",isError:N,isInitialLoading:G,isLoading:G,data:v,dataUpdatedAt:g.dataUpdatedAt,error:y,errorUpdatedAt:x,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:g.dataUpdateCount>c.dataUpdateCount||g.errorUpdateCount>c.errorUpdateCount,isFetching:U,isRefetching:U&&!T,isLoadingError:N&&!X,isPaused:g.fetchStatus==="paused",isPlaceholderData:M,isRefetchError:N&&X,isStale:$F(e,r),refetch:this.refetch,isEnabled:Oa(r.enabled,e)!==!1}}updateResult(){let e=this.#o,r=this.createResult(this.#t,this.options);if(this.#n=this.#t.state,this.#a=this.options,this.#n.data!==void 0)this.#Z=this.#t;if(Va(r,e))return;this.#o=r;let i=(()=>{if(!e)return!0;let{notifyOnChangeProps:f}=this.options,s=typeof f==="function"?f():f;if(s==="all"||!s&&!this.#p.size)return!0;let l=new Set(s??this.#p);if(this.options.throwOnError)l.add("error");return Object.keys(this.#o).some((c)=>{let m=c;return this.#o[m]!==e[m]&&l.has(m)})})();Ht.batch(()=>{if(i)this.listeners.forEach((f)=>{f(this.#o)});this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}#b(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let r=this.#t;if(this.#t=e,this.#r=e.state,this.hasListeners())r?.removeObserver(this),e.addObserver(this)}onQueryUpdate(){if(this.updateResult(),this.hasListeners())this.#v()}};function tye(e,r){return Oa(r.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&Oa(r.retryOnMount,e)===!1)}function UG(e,r){return tye(e,r)||e.state.data!==void 0&&JF(e,r,r.refetchOnMount)}function JF(e,r,a){if(Oa(r.enabled,e)!==!1&&Oa(r.staleTime,e)!=="static"){let i=typeof a==="function"?a(e):a;return i==="always"||i!==!1&&$F(e,r)}return!1}function qG(e,r,a,i){return(e!==r||Oa(i.enabled,e)===!1)&&(!a.suspense||e.state.status!=="error")&&$F(e,a)}function $F(e,r){return Oa(r.enabled,e)!==!1&&e.isStaleByTime(Oa(r.staleTime,e))}var e3=class extends Qo{constructor(e,r){super(e,r)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,r){let{state:a}=e,i=super.createResult(e,r),{isFetching:f,isRefetching:s,isError:l,isRefetchError:c}=i,m=a.fetchMeta?.fetchMore?.direction,g=l&&m==="forward",M=f&&m==="forward",v=l&&m==="backward",y=f&&m==="backward";return{...i,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:jG(r,a.data),hasPreviousPage:NG(r,a.data),isFetchNextPageError:g,isFetchingNextPage:M,isFetchPreviousPageError:v,isFetchingPreviousPage:y,isRefetchError:c&&!g&&!v,isRefetching:s&&!M&&!y}}};var VG=class extends DD{#e;#t;#r;#o;constructor(e){super();this.#e=e.client,this.mutationId=e.mutationId,this.#r=e.mutationCache,this.#t=[],this.state=e.state||t3(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){if(!this.#t.includes(e))this.#t.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",mutation:this,observer:e})}removeObserver(e){this.#t=this.#t.filter((r)=>r!==e),this.scheduleGc(),this.#r.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){if(!this.#t.length)if(this.state.status==="pending")this.scheduleGc();else this.#r.remove(this)}continue(){return this.#o?.continue()??(this.state.status==="pending"?this.execute(this.state.variables):Promise.resolve())}async execute(e){let r=()=>{this.#n({type:"continue"})},a={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey},i=this.#o=ED({fn:()=>{if(!this.options.mutationFn)return Promise.reject(Error("No mutationFn found"));return this.options.mutationFn(e,a)},onFail:(l,c)=>{this.#n({type:"failed",failureCount:l,error:c})},onPause:()=>{this.#n({type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#r.canRun(this)}),f=this.state.status==="pending",s=!i.canStart();try{if(f)r();else{if(this.#n({type:"pending",variables:e,isPaused:s}),this.#r.config.onMutate)await this.#r.config.onMutate(e,this,a);let c=await this.options.onMutate?.(e,a);if(c!==this.state.context)this.#n({type:"pending",context:c,variables:e,isPaused:s})}let l=await i.start();return await this.#r.config.onSuccess?.(l,e,this.state.context,this,a),await this.options.onSuccess?.(l,e,this.state.context,a),await this.#r.config.onSettled?.(l,null,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(l,null,e,this.state.context,a),this.#n({type:"success",data:l}),l}catch(l){try{await this.#r.config.onError?.(l,e,this.state.context,this,a)}catch(c){Promise.reject(c)}try{await this.options.onError?.(l,e,this.state.context,a)}catch(c){Promise.reject(c)}try{await this.#r.config.onSettled?.(void 0,l,this.state.variables,this.state.context,this,a)}catch(c){Promise.reject(c)}try{await this.options.onSettled?.(void 0,l,e,this.state.context,a)}catch(c){Promise.reject(c)}throw this.#n({type:"error",error:l}),l}finally{if(this.#o===i)this.#o=void 0;this.#r.runNext(this)}}#n(e){let r=(a)=>{switch(e.type){case"failed":return{...a,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...a,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:e.error,failureCount:a.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=r(this.state),Ht.batch(()=>{this.#t.forEach((a)=>{a.onMutationUpdate(e)}),this.#r.notify({mutation:this,type:"updated",action:e})})}};function t3(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var HG=class extends bo{#e;#t;#r;constructor(e={}){super();this.config=e,this.#e=new Set,this.#t=new Map,this.#r=0}build(e,r,a){let i=new VG({client:e,mutationCache:this,mutationId:++this.#r,options:e.defaultMutationOptions(r),state:a});return this.add(i),i}add(e){this.#e.add(e);let r=OD(e);if(typeof r==="string"){let a=this.#t.get(r);if(a)a.push(e);else this.#t.set(r,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){let r=OD(e);if(typeof r==="string"){let a=this.#t.get(r);if(a){if(a.length>1){let i=a.indexOf(e);if(i!==-1)a.splice(i,1)}else if(a[0]===e)this.#t.delete(r)}}}this.notify({type:"removed",mutation:e})}canRun(e){let r=OD(e);if(typeof r==="string"){let a=this.#t.get(r)?.find((i)=>i.state.status==="pending");return!a||a===e}else return!0}runNext(e){let r=OD(e);if(typeof r==="string")return this.#t.get(r)?.find((a)=>a!==e&&a.state.isPaused)?.continue()??Promise.resolve();else return Promise.resolve()}clear(){Ht.batch(()=>{this.#e.forEach((e)=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let r={exact:!0,...e};return this.getAll().find((a)=>PD(r,a))}findAll(e={}){return this.getAll().filter((r)=>PD(e,r))}notify(e){Ht.batch(()=>{this.listeners.forEach((r)=>{r(e)})})}resumePausedMutations(){let e=this.getAll().filter((r)=>r.state.isPaused);return Ht.batch(()=>Promise.all(e.map((r)=>r.continue().catch(Ar))))}};function OD(e){return e.options.scope?.id}var r3=class extends bo{#e;#t=void 0;#r;#o;constructor(e,r){super();this.#e=e,this.setOptions(r),this.bindMethods(),this.#n()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let r=this.options;if(this.options=this.#e.defaultMutationOptions(e),!Va(this.options,r))this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#r,observer:this});if(r?.mutationKey&&this.options.mutationKey&&Ou(r.mutationKey)!==Ou(this.options.mutationKey))this.reset();else if(this.#r?.state.status==="pending")this.#r.setOptions(this.options)}onSubscribe(){if(this.listeners.size===1&&this.#r)this.#r.addObserver(this),this.#n()}onUnsubscribe(){if(!this.hasListeners())this.#r?.removeObserver(this)}onMutationUpdate(e){this.#n(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#r?.removeObserver(this),this.#r=void 0,this.#n(),this.#a()}mutate(e,r){return this.#o=r,this.#r?.removeObserver(this),this.#r=this.#e.getMutationCache().build(this.#e,this.options),this.#r.addObserver(this),this.#r.execute(e)}#n(){let e=this.#r?.state??t3();this.#t={...e,isPending:e.status==="pending",isSuccess:e.status==="success",isError:e.status==="error",isIdle:e.status==="idle",mutate:this.mutate,reset:this.reset}}#a(e){Ht.batch(()=>{if(this.#o&&this.hasListeners()){let r=this.#t.variables,a=this.#t.context,i={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type==="success"){try{this.#o.onSuccess?.(e.data,r,a,i)}catch(f){Promise.reject(f)}try{this.#o.onSettled?.(e.data,null,r,a,i)}catch(f){Promise.reject(f)}}else if(e?.type==="error"){try{this.#o.onError?.(e.error,r,a,i)}catch(f){Promise.reject(f)}try{this.#o.onSettled?.(void 0,e.error,r,a,i)}catch(f){Promise.reject(f)}}}this.listeners.forEach((r)=>{r(this.#t)})})}};var WG=class extends bo{#e;constructor(e={}){super();this.config=e,this.#e=new Map}build(e,r,a){let i=r.queryKey,f=r.queryHash??DR(i,r),s=this.get(f);if(!s)s=new YG({client:e,queryKey:i,queryHash:f,options:e.defaultQueryOptions(r),state:a,defaultOptions:e.getQueryDefaults(i)}),this.add(s);return s}add(e){if(!this.#e.has(e.queryHash))this.#e.set(e.queryHash,e),this.notify({type:"added",query:e})}remove(e){let r=this.#e.get(e.queryHash);if(r){if(e.destroy(),r===e)this.#e.delete(e.queryHash);this.notify({type:"removed",query:e})}}clear(){Ht.batch(()=>{this.getAll().forEach((e)=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let r={exact:!0,...e};return this.getAll().find((a)=>RD(r,a))}findAll(e={}){let r=this.getAll();return Object.keys(e).length>0?r.filter((a)=>RD(e,a)):r}notify(e){Ht.batch(()=>{this.listeners.forEach((r)=>{r(e)})})}onFocus(){Ht.batch(()=>{this.getAll().forEach((e)=>{e.onFocus()})})}onOnline(){Ht.batch(()=>{this.getAll().forEach((e)=>{e.onOnline()})})}};var o3=class{#e;#t;#r;#o;#n;#a;#i;#s;constructor(e={}){this.#e=e.queryCache||new WG,this.#t=e.mutationCache||new HG,this.#r=e.defaultOptions||{},this.#o=new Map,this.#n=new Map,this.#a=0}mount(){if(this.#a++,this.#a!==1)return;this.#i=UL.subscribe(async(e)=>{if(e)await this.resumePausedMutations(),this.#e.onFocus()}),this.#s=qL.subscribe(async(e)=>{if(e)await this.resumePausedMutations(),this.#e.onOnline()})}unmount(){if(this.#a--,this.#a!==0)return;this.#i?.(),this.#i=void 0,this.#s?.(),this.#s=void 0}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){let r=this.defaultQueryOptions({queryKey:e});return this.#e.get(r.queryHash)?.state.data}ensureQueryData(e){let r=this.defaultQueryOptions(e),a=this.#e.build(this,r),i=a.state.data;if(i===void 0)return this.fetchQuery(e);if(e.revalidateIfStale&&a.isStaleByTime(Oa(r.staleTime,a)))this.prefetchQuery(r);return Promise.resolve(i)}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:r,state:a})=>[r,a.data])}setQueryData(e,r,a){let i=this.defaultQueryOptions({queryKey:e}),f=this.#e.get(i.queryHash)?.state.data,s=IG(r,f);if(s===void 0)return;return this.#e.build(this,i).setData(s,{...a,manual:!0})}setQueriesData(e,r,a){return Ht.batch(()=>this.#e.findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,r,a)]))}getQueryState(e){let r=this.defaultQueryOptions({queryKey:e});return this.#e.get(r.queryHash)?.state}removeQueries(e){let r=this.#e;Ht.batch(()=>{r.findAll(e).forEach((a)=>{r.remove(a)})})}resetQueries(e,r){let a=this.#e;return Ht.batch(()=>{let i=a.findAll(e),f=new Set(i);return i.forEach((s)=>{s.reset()}),this.refetchQueries({type:"active",predicate:(s)=>f.has(s)},r)})}cancelQueries(e,r={}){let a={revert:!0,...r},i=Ht.batch(()=>this.#e.findAll(e).map((f)=>f.cancel(a)));return Promise.all(i).then(Ar).catch(Ar)}invalidateQueries(e,r={}){return Ht.batch(()=>{if(this.#e.findAll(e).forEach((a)=>{a.invalidate()}),e?.refetchType==="none")return Promise.resolve();return this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},r)})}refetchQueries(e,r={}){let a={...r,cancelRefetch:r.cancelRefetch??!0},i=Ht.batch(()=>this.#e.findAll(e).filter((f)=>!f.isDisabled()&&!f.isStatic()).map((f)=>{let s=f.fetch(void 0,a);if(!a.throwOnError)s=s.catch(Ar);return f.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(i).then(Ar)}async query(e){let r=this.defaultQueryOptions(e);if(r.retry===void 0)r.retry=!1;let a=this.#e.build(this,r),i=a.isStaleByTime(Oa(r.staleTime,a))?await a.fetch(r):a.state.data,f=r.select;if(f)return f(i);return i}fetchQuery(e){let r=this.defaultQueryOptions(e);if(r.retry===void 0)r.retry=!1;let a=this.#e.build(this,r);return a.isStaleByTime(Oa(r.staleTime,a))?a.fetch(r):Promise.resolve(a.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Ar).catch(Ar)}infiniteQuery(e){return e._type="infinite",this.query(e)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Ar).catch(Ar)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){if(qL.isOnline())return this.#t.resumePausedMutations();return Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#r}setDefaultOptions(e){this.#r=e}setQueryDefaults(e,r){this.#o.set(Ou(e),{queryKey:e,defaultOptions:r})}getQueryDefaults(e){let r=[...this.#o.values()],a={};return r.forEach((i)=>{if(mM(e,i.queryKey))Object.assign(a,i.defaultOptions)}),a}setMutationDefaults(e,r){this.#n.set(Ou(e),{mutationKey:e,defaultOptions:r})}getMutationDefaults(e){let r=[...this.#n.values()],a={};return r.forEach((i)=>{if(mM(e,i.mutationKey))Object.assign(a,i.defaultOptions)}),a}defaultQueryOptions(e){if(e._defaulted)return e;let r={...this.#r.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};if(!r.queryHash)r.queryHash=DR(r.queryKey,r);if(r.refetchOnReconnect===void 0)r.refetchOnReconnect=r.networkMode!=="always";if(r.throwOnError===void 0)r.throwOnError=!!r.suspense;if(!r.networkMode&&r.persister)r.networkMode="offlineFirst";if(r.queryFn===FL)r.enabled=!1;return r}defaultMutationOptions(e){if(e?._defaulted)return e;return{...this.#r.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}};var Bu=(e,r,a)=>{let i=a?.state.error&&typeof e.throwOnError==="function"?BL(e.throwOnError,[a.state.error,a]):e.throwOnError;if(e.suspense||i){if(!r.isReset())e.retryOnMount=!1}},Uu=(e)=>{h(()=>{e.clearReset()},[e])},zu=({result:e,errorResetBoundary:r,throwOnError:a,query:i,suspense:f})=>e.isError&&!r.isReset()&&!e.isFetching&&i&&(f&&e.data===void 0||BL(a,[e.error,i]));var Am=(e,r)=>r.state.data===void 0,ju=(e)=>{if(e.suspense){let a=(f)=>f==="static"?f:Math.max(f??1000,1000),i=e.staleTime;if(e.staleTime=typeof i==="function"?(...f)=>a(i(...f)):a(i),typeof e.gcTime==="number")e.gcTime=Math.max(e.gcTime,1000)}},Cc=(e,r)=>e?.suspense&&r.isPending,qu=(e,r,a)=>r.fetchOptimistic(e).catch(()=>{a.clearReset()});S();function al(e,r,a){let i=Lu(),f=Zu(),s=K(a),l=s.defaultQueryOptions(e),c=s.getQueryCache().get(l.queryHash),m=e.subscribed!==!1;l._optimisticResults=i?"isRestoring":m?"optimistic":void 0,ju(l),Bu(l,f,c),Uu(f);let[g]=u(()=>new r(s,l)),M=g.getOptimisticResult(l),v=!i&&m;if(Yn(P((y)=>{let x=v?g.subscribe(Ht.batchCalls(y)):Ar;return g.updateResult(),x},[g,v]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),h(()=>{g.setOptions(l)},[l,g]),Cc(l,M))throw qu(l,g,f);if(zu({result:M,errorResetBoundary:f,throwOnError:l.throwOnError,query:c,suspense:l.suspense}))throw M.error;return!l.notifyOnChangeProps?g.trackResult(M):M}function L(e,r){return al(e,Qo,r)}S();function B(e,r){let a=K(r),[i]=u(()=>new r3(a,e));h(()=>{i.setOptions(e)},[i,e]);let f=Yn(P((l)=>i.subscribe(Ht.batchCalls(l)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),s=P((...l)=>{i.mutate(l[0],l[1]).catch(Ar)},[i]);if(f.error&&BL(i.options.throwOnError,[f.error]))throw f.error;return{...f,mutate:s,mutateAsync:f.mutate}}function ft(e,r){return al(e,e3,r)}S();var K8=at(void 0),GG=at(void 0);S();var jD=at(null);S();function Ra(e){return dt(jD)}var Hr=!1;function hM(e){return e[e.length-1]}function rye(e){return typeof e==="function"}function as(e,r){if(rye(e))return e(r);return e}var $G=Object.prototype.hasOwnProperty,KG=Object.prototype.propertyIsEnumerable;function gM(e){for(let r in e)if($G.call(e,r))return!0;return!1}var oye=()=>Object.create(null),MM=(e,r)=>Es(e,r,oye);function Es(e,r,a=()=>({}),i=0){if(Hr)return r;if(e===r)return e;if(i>500)return r;let f=r,s=ND(e)&&ND(f);if(!s&&!(VL(e)&&VL(f)))return f;let l=s?e:XG(e);if(!l)return f;let c=s?f:XG(f);if(!c)return f;let m=l.length,g=c.length,M=s?Array(g):a(),v=0;for(let y=0;y<g;y++){let x=s?y:c[y],_=e[x],j=f[x];if(_===j){if(M[x]=_,s?y<m:$G.call(e,x))v++;continue}if(_===null||j===null||typeof _!=="object"||typeof j!=="object"){M[x]=j;continue}let U=Es(_,j,a,i+1);if(M[x]=U,U===_)v++}return m===g&&v===m?e:M}function XG(e){let r=Object.getOwnPropertyNames(e);for(let f of r)if(!KG.call(e,f))return!1;let a=Object.getOwnPropertySymbols(e);if(a.length===0)return r;let i=r;for(let f of a){if(!KG.call(e,f))return!1;i.push(f)}return i}function VL(e){if(!QG(e))return!1;let r=e.constructor;if(typeof r>"u")return!0;let a=r.prototype;if(!QG(a))return!1;if(!a.hasOwnProperty("isPrototypeOf"))return!1;return!0}function QG(e){return Object.prototype.toString.call(e)==="[object Object]"}function ND(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function rc(e,r,a){if(e===r)return!0;if(typeof e!==typeof r)return!1;if(Array.isArray(e)&&Array.isArray(r)){if(e.length!==r.length)return!1;for(let i=0,f=e.length;i<f;i++)if(!rc(e[i],r[i],a))return!1;return!0}if(VL(e)&&VL(r)){let i=a?.ignoreUndefined??!0;if(a?.partial){for(let l in r)if(!i||r[l]!==void 0){if(!rc(e[l],r[l],a))return!1}return!0}let f=0;if(!i)f=Object.keys(e).length;else for(let l in e)if(e[l]!==void 0)f++;let s=0;for(let l in r)if(!i||r[l]!==void 0){if(s++,s>f||!rc(e[l],r[l],a))return!1}return f===s}return!1}function ru(e){let r,a,i=new Promise((f,s)=>{r=f,a=s});return i.status="pending",i.resolve=(f)=>{i.status="resolved",i.value=f,r(f),e?.(f)},i.reject=(f)=>{i.status="rejected",a(f)},i}function vM(e){return Boolean(e&&typeof e==="object"&&typeof e.then==="function")}function aye(e){return e.replace(/[\x00-\x1f\x7f]/g,"")}function JG(e){let r;try{r=decodeURI(e)}catch{r=e.replaceAll(/%[0-9A-F]{2}/gi,(a)=>{try{return decodeURI(a)}catch{return a}})}return aye(r)}var FD=["http:","https:","mailto:","tel:"];function Nu(e,r){if(!e)return!1;try{let a=new URL(e);return!r.has(a.protocol)}catch{return!1}}function HL(e){if(!e)return{path:e,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(e)&&!e.startsWith("//"))return{path:e,handledProtocolRelativeURL:!1};let r=/%25|%5C/gi,a=0,i="",f;while((f=r.exec(e))!==null)i+=JG(e.slice(a,f.index))+f[0],a=r.lastIndex;i=i+JG(a?e.slice(a):e);let s=!1;if(i.startsWith("//"))s=!0,i="/"+i.replace(/^\/+/,"");return{path:i,handledProtocolRelativeURL:s}}function eK(e){if(!/\s|[^\u0000-\u007F]/.test(e))return e;return e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent)}function tK(e,r){if(e===r)return!0;if(e.length!==r.length)return!1;for(let a=0;a<e.length;a++)if(e[a]!==r[a])return!1;return!0}function ai(){throw Error("Invariant failed")}function xM(e){let r=new Map,a,i,f=(s)=>{if(!s.next)return;if(!s.prev){if(s.next.prev=void 0,a=s.next,s.next=void 0,i)s.prev=i,i.next=s}else if(s.prev.next=s.next,s.next.prev=s.prev,s.next=void 0,i)i.next=s,s.prev=i;i=s};return{get(s){let l=r.get(s);if(!l)return;return f(l),l.value},set(s,l){if(r.size>=e&&a){let m=a;if(r.delete(m.key),m.next)a=m.next,m.next.prev=void 0;if(m===i)i=void 0}let c=r.get(s);if(c)c.value=l,f(c);else{let m={key:s,value:l,prev:i};if(i)i.next=m;if(i=m,!a)a=m;r.set(s,m)}},clear(){r.clear(),a=void 0,i=void 0}}}var bM=4,oK=5;function nye(e){let r=e.indexOf("{");if(r===-1)return null;let a=e.indexOf("}",r);if(a===-1)return null;if(r+1>=e.length)return null;return[r,a]}function i3(e,r,a=new Uint16Array(6)){let i=e.indexOf("/",r),f=i===-1?e.length:i,s=e.substring(r,f);if(!s||!s.includes("$"))return a[0]=0,a[1]=r,a[2]=r,a[3]=f,a[4]=f,a[5]=f,a;if(s==="$"){let c=e.length;return a[0]=2,a[1]=r,a[2]=r,a[3]=c,a[4]=c,a[5]=c,a}if(s.charCodeAt(0)===36)return a[0]=1,a[1]=r,a[2]=r+1,a[3]=f,a[4]=f,a[5]=f,a;let l=nye(s);if(l){let[c,m]=l,g=s.charCodeAt(c+1);if(g===45){if(c+2<s.length&&s.charCodeAt(c+2)===36){let M=c+3,v=m;if(M<v)return a[0]=3,a[1]=r+c,a[2]=r+M,a[3]=r+v,a[4]=r+m+1,a[5]=f,a}}else if(g===36){let M=c+1,v=c+2;if(v===m)return a[0]=2,a[1]=r+c,a[2]=r+M,a[3]=r+v,a[4]=r+m+1,a[5]=e.length,a;return a[0]=1,a[1]=r+c,a[2]=r+v,a[3]=r+m,a[4]=r+m+1,a[5]=f,a}}return a[0]=0,a[1]=r,a[2]=r,a[3]=f,a[4]=f,a[5]=f,a}function UD(e,r,a,i,f,s,l){l?.(a);let c=i;{let m=a.fullPath??a.from,g=m.length,M=a.options?.caseSensitive??e,v=a.options?.params?.parse??a.options?.parseParams;while(c<g){let x=i3(m,c,r),_,j=c,U=x[5];switch(c=U+1,s++,x[0]){case 0:{let T=m.substring(x[2],x[3]);if(M){let N=f.static?.get(T);if(N)_=N;else{f.static??=new Map;let G=X8(a.fullPath??a.from);G.parent=f,G.depth=s,_=G,f.static.set(T,G)}}else{let N=T.toLowerCase(),G=f.staticInsensitive?.get(N);if(G)_=G;else{f.staticInsensitive??=new Map;let X=X8(a.fullPath??a.from);X.parent=f,X.depth=s,_=X,f.staticInsensitive.set(N,X)}}break}case 1:{let T=m.substring(j,x[1]),N=m.substring(x[4],U),G=M&&!!(T||N),X=!T?void 0:G?T:T.toLowerCase(),J=!N?void 0:G?N:N.toLowerCase(),ee=!v&&f.dynamic?.find((re)=>!re.parse&&re.caseSensitive===G&&re.prefix===X&&re.suffix===J);if(ee)_=ee;else{let re=n3(1,a.fullPath??a.from,G,X,J);_=re,re.depth=s,re.parent=f,f.dynamic??=[],f.dynamic.push(re)}break}case 3:{let T=m.substring(j,x[1]),N=m.substring(x[4],U),G=M&&!!(T||N),X=!T?void 0:G?T:T.toLowerCase(),J=!N?void 0:G?N:N.toLowerCase(),ee=!v&&f.optional?.find((re)=>!re.parse&&re.caseSensitive===G&&re.prefix===X&&re.suffix===J);if(ee)_=ee;else{let re=n3(3,a.fullPath??a.from,G,X,J);_=re,re.parent=f,re.depth=s,f.optional??=[],f.optional.push(re)}break}case 2:{let T=m.substring(j,x[1]),N=m.substring(x[4],U),G=M&&!!(T||N),X=!T?void 0:G?T:T.toLowerCase(),J=!N?void 0:G?N:N.toLowerCase(),ee=n3(2,a.fullPath??a.from,G,X,J);_=ee,ee.parent=f,ee.depth=s,f.wildcard??=[],f.wildcard.push(ee)}}f=_}if(v&&a.children&&!a.isRoot&&a.id&&a.id.charCodeAt(a.id.lastIndexOf("/")+1)===95){let x=X8(a.fullPath??a.from);x.kind=oK,x.parent=f,s++,x.depth=s,f.pathless??=[],f.pathless.push(x),f=x}let y=(a.path||!a.children)&&!a.isRoot;if(y&&m.endsWith("/")){let x=X8(a.fullPath??a.from);x.kind=bM,x.parent=f,s++,x.depth=s,f.index=x,f=x}if(f.parse=v??null,f.priority=a.options?.params?.priority??0,y&&!f.route)f.route=a,f.fullPath=a.fullPath??a.from}if(a.children)for(let m of a.children)UD(e,r,m,c,f,s,l)}function a3(e,r){if(e.parse&&!r.parse)return-1;if(!e.parse&&r.parse)return 1;if(e.parse&&r.parse&&(e.priority||r.priority))return r.priority-e.priority;if(e.prefix&&r.prefix&&e.prefix!==r.prefix){if(e.prefix.startsWith(r.prefix))return-1;if(r.prefix.startsWith(e.prefix))return 1}if(e.suffix&&r.suffix&&e.suffix!==r.suffix){if(e.suffix.endsWith(r.suffix))return-1;if(r.suffix.endsWith(e.suffix))return 1}if(e.prefix&&!r.prefix)return-1;if(!e.prefix&&r.prefix)return 1;if(e.suffix&&!r.suffix)return-1;if(!e.suffix&&r.suffix)return 1;if(e.caseSensitive&&!r.caseSensitive)return-1;if(!e.caseSensitive&&r.caseSensitive)return 1;return 0}function yM(e){if(e.pathless)for(let r of e.pathless)yM(r);if(e.static)for(let r of e.static.values())yM(r);if(e.staticInsensitive)for(let r of e.staticInsensitive.values())yM(r);if(e.dynamic?.length){e.dynamic.sort(a3);for(let r of e.dynamic)yM(r)}if(e.optional?.length){e.optional.sort(a3);for(let r of e.optional)yM(r)}if(e.wildcard?.length){e.wildcard.sort(a3);for(let r of e.wildcard)yM(r)}}function X8(e){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,priority:0}}function n3(e,r,a,i,f){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:r,parent:null,parse:null,priority:0,caseSensitive:a,prefix:i,suffix:f}}function aK(e,r){let a=X8("/"),i=new Uint16Array(6);for(let f of e)UD(!1,i,f,1,a,0);yM(a),r.masksTree=a,r.flatCache=xM(1000)}function nK(e,r){e||="/";let a=r.flatCache.get(e);if(a)return a;let i=f3(e,r.masksTree);return r.flatCache.set(e,i),i}function iK(e,r,a,i,f){e||="/",i||="/";let s=r?`case\x00${e}`:e,l=f.singleCache.get(s);if(!l)l=X8("/"),UD(r,new Uint16Array(6),{from:e},1,l,0),f.singleCache.set(s,l);return f3(i,l,a)}function fK(e,r,a=!1){let i=a?e:`nofuzz\x00${e}`,f=r.matchCache.get(i);if(f!==void 0)return f;e||="/";let s;try{s=f3(e,r.segmentTree,a)}catch(l){if(l instanceof URIError)s=null;else throw l}if(s)s.branch=s3(s.route);return r.matchCache.set(i,s),s}function iye(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function sK(e,r=!1,a){let i=X8(e.fullPath),f=new Uint16Array(6),s={},l={},c=0;return UD(r,f,e,1,i,0,(m)=>{if(a?.(m,c),m.id in s)ai();if(s[m.id]=m,c!==0&&m.path){let g=iye(m.fullPath);if(!l[g]||m.fullPath.endsWith("/"))l[g]=m}c++}),yM(i),{processedTree:{segmentTree:i,singleCache:xM(1000),matchCache:xM(1000),flatCache:null,masksTree:null},routesById:s,routesByPath:l}}function f3(e,r,a=!1){let i=e.split("/"),f=sye(e,i,r,a);if(!f)return null;let[s]=lK(e,i,f);return{route:f.node.route,rawParams:s}}function lK(e,r,a){let i=fye(a.node),f=null,s=Object.create(null),l=a.extract?.part??0,c=a.extract?.node??0,m=a.extract?.path??0,g=a.extract?.segment??0;for(;c<i.length;l++,c++,m++,g++){let M=i[c];if(M.kind===bM)break;if(M.kind===oK){g--,l--,m--;continue}let v=r[l],y=m;if(v)m+=v.length;if(M.kind===1){f??=a.node.fullPath.split("/");let x=f[g],_=M.prefix?.length??0;if(x.charCodeAt(_)===123){let j=M.suffix?.length??0,U=x.substring(_+2,x.length-j-1),T=v.substring(_,v.length-j);s[U]=decodeURIComponent(T)}else{let j=x.substring(1);s[j]=decodeURIComponent(v)}}else if(M.kind===3){if(a.skipped&1<<c){l--,m=y-1;continue}f??=a.node.fullPath.split("/");let x=f[g],_=M.prefix?.length??0,j=M.suffix?.length??0,U=x.substring(_+3,x.length-j-1),T=M.suffix||M.prefix?v.substring(_,v.length-j):v;if(T)s[U]=decodeURIComponent(T)}else if(M.kind===2){let x=M,_=e.substring(y+(x.prefix?.length??0),e.length-(x.suffix?.length??0)),j=decodeURIComponent(_);s["*"]=j,s._splat=j;break}}if(a.rawParams)Object.assign(s,a.rawParams);return[s,{part:l,node:c,path:m,segment:g}]}function s3(e){let r=[e];while(e.parentRoute)e=e.parentRoute,r.push(e);return r.reverse(),r}function fye(e){let r=Array(e.depth+1);do r[e.depth]=e,e=e.parent;while(e);return r}function sye(e,r,a,i){if(e==="/"&&a.index)return{node:a.index,skipped:0};let f=!hM(r),s=f&&e!=="/",l=r.length-(f?1:0),c=[{node:a,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}],m=null,g=null;while(c.length){let M=c.pop(),{node:v,index:y,skipped:x,depth:_,statics:j,dynamics:U,optionals:T}=M,{extract:N,rawParams:G}=M;if(v.kind===2&&v.route&&!YD(g,M))continue;if(v.parse){if(!rK(e,r,M))continue;G=M.rawParams,N=M.extract}if(i&&v.route&&v.kind!==bM&&YD(m,M))m=M;let X=y===l;if(X){if(v.route&&(!s||v.kind===bM||v.kind===2)&&YD(g,M))g=M;if(!v.optional&&!v.wildcard&&!v.index&&!v.pathless)continue}let J=X?void 0:r[y],ee;if(X&&v.index){let re={node:v.index,index:y,skipped:x,depth:_+1,statics:j,dynamics:U,optionals:T,extract:N,rawParams:G},oe=!0;if(v.index.parse){if(!rK(e,r,re))oe=!1}if(oe){if(!U&&!T&&!x&&lye(j,l))return re;if(YD(g,re))g=re}}if(v.wildcard)for(let re=v.wildcard.length-1;re>=0;re--){let oe=v.wildcard[re],{prefix:ae,suffix:ye}=oe;if(ae){if(X)continue;if(!(oe.caseSensitive?J:ee??=J.toLowerCase()).startsWith(ae))continue}if(ye){if(X)continue;let We=r.slice(y).join("/").slice(-ye.length);if((oe.caseSensitive?We:We.toLowerCase())!==ye)continue}c.push({node:oe,index:l,skipped:x,depth:_+1,statics:j,dynamics:U,optionals:T,extract:N,rawParams:G})}if(v.optional){let re=x|1<<_,oe=_+1;for(let ae=v.optional.length-1;ae>=0;ae--){let ye=v.optional[ae];c.push({node:ye,index:y,skipped:re,depth:oe,statics:j,dynamics:U,optionals:T,extract:N,rawParams:G})}if(!X)for(let ae=v.optional.length-1;ae>=0;ae--){let ye=v.optional[ae],{prefix:We,suffix:Ye}=ye;if(We||Ye){let ze=ye.caseSensitive?J:ee??=J.toLowerCase();if(We&&!ze.startsWith(We))continue;if(Ye&&!ze.endsWith(Ye))continue}c.push({node:ye,index:y+1,skipped:x,depth:oe,statics:j,dynamics:U,optionals:T+BD(l,y),extract:N,rawParams:G})}}if(!X&&v.dynamic&&J)for(let re=v.dynamic.length-1;re>=0;re--){let oe=v.dynamic[re],{prefix:ae,suffix:ye}=oe;if(ae||ye){let We=oe.caseSensitive?J:ee??=J.toLowerCase();if(ae&&!We.startsWith(ae))continue;if(ye&&!We.endsWith(ye))continue}c.push({node:oe,index:y+1,skipped:x,depth:_+1,statics:j,dynamics:U+BD(l,y),optionals:T,extract:N,rawParams:G})}if(!X&&v.staticInsensitive){let re=v.staticInsensitive.get(ee??=J.toLowerCase());if(re)c.push({node:re,index:y+1,skipped:x,depth:_+1,statics:j+BD(l,y),dynamics:U,optionals:T,extract:N,rawParams:G})}if(!X&&v.static){let re=v.static.get(J);if(re)c.push({node:re,index:y+1,skipped:x,depth:_+1,statics:j+BD(l,y),dynamics:U,optionals:T,extract:N,rawParams:G})}if(v.pathless){let re=_+1;for(let oe=v.pathless.length-1;oe>=0;oe--){let ae=v.pathless[oe];c.push({node:ae,index:y,skipped:x,depth:re,statics:j,dynamics:U,optionals:T,extract:N,rawParams:G})}}}if(g)return g;if(i&&m){let M=m.index;for(let y=0;y<m.index;y++)M+=r[y].length;let v=M===e.length?"/":e.slice(M);return m.rawParams??=Object.create(null),m.rawParams["**"]=decodeURIComponent(v),m}return null}function BD(e,r){return 2**(e-r-1)}function lye(e,r){return e===2**(r-1)-1}function rK(e,r,a){let i,f;try{[i,f]=lK(e,r,a)}catch{return null}if(a.rawParams=i,a.extract=f,!a.node.parse)return!0;try{if(a.node.parse(i)===!1)return null}catch{}return!0}function YD(e,r){if(!e)return!0;return r.statics>e.statics||r.statics===e.statics&&(r.dynamics>e.dynamics||r.dynamics===e.dynamics&&(r.optionals>e.optionals||r.optionals===e.optionals&&((r.node.kind===bM)>(e.node.kind===bM)||r.node.kind===bM===(e.node.kind===bM)&&r.depth>e.depth)))}function wM(e){return WL(e.filter((r)=>r!==void 0).join("/"))}function WL(e){return e.replace(/\/{2,}/g,"/")}function NR(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function js(e){let r=e.length;return r>1&&e[r-1]==="/"?e.replace(/\/{1,}$/,""):e}function GL(e){return js(NR(e))}function _M(e,r){if(e?.endsWith("/")&&e!=="/"&&e!==`${r}/`)return e.slice(0,-1);return e}function qD(e,r,a){return _M(e,a)===_M(r,a)}function VD({base:e,to:r,trailingSlash:a="never",cache:i}){let f=r.startsWith("/"),s=!f&&r===".",l;if(i){l=f?r:s?e:e+"\x00"+r;let g=i.get(l);if(g)return g}let c;if(s)c=e.split("/");else if(f)c=r.split("/");else{c=e.split("/");while(c.length>1&&hM(c)==="")c.pop();let g=r.split("/");for(let M=0,v=g.length;M<v;M++){let y=g[M];if(y===""){if(!M)c=[y];else if(M===v-1)c.push(y)}else if(y==="..")c.pop();else if(y===".");else c.push(y)}}if(c.length>1){if(hM(c)===""){if(a==="never")c.pop()}else if(a==="always")c.push("")}let m=WL(c.join("/"))||"/";if(l&&i)i.set(l,m);return m}function uK(e){let r=new Map(e.map((f)=>[encodeURIComponent(f),f])),a=Array.from(r.keys()).map((f)=>f.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),i=new RegExp(a,"g");return(f)=>f.replace(i,(s)=>r.get(s)??s)}function jR(e,r,a){let i=r[e];if(typeof i!=="string")return i;if(e==="_splat"){if(/^[a-zA-Z0-9\-._~!/]*$/.test(i))return i;return i.split("/").map((f)=>cK(f,a)).join("/")}else return cK(i,a)}function FR({path:e,params:r,decoder:a,...i}){let f=!1,s=Object.create(null);if(!e||e==="/")return{interpolatedPath:"/",usedParams:s,isMissingParams:f};if(!e.includes("$"))return{interpolatedPath:e,usedParams:s,isMissingParams:f};if(Hr??i.server){if(e.indexOf("{")===-1){let M=e.length,v=0,y="";while(v<M){while(v<M&&e.charCodeAt(v)===47)v++;if(v>=M)break;let x=v,_=e.indexOf("/",v);if(_===-1)_=M;v=_;let j=e.substring(x,_);if(!j)continue;if(j.charCodeAt(0)===36)if(j.length===1){let U=r._splat;if(s._splat=U,s["*"]=U,!U){f=!0;continue}let T=jR("_splat",r,a);y+="/"+T}else{let U=j.substring(1);if(!f&&!(U in r))f=!0;s[U]=r[U];let T=jR(U,r,a)??"undefined";y+="/"+T}else y+="/"+j}if(e.endsWith("/"))y+="/";return{usedParams:s,interpolatedPath:y||"/",isMissingParams:f}}}let l=e.length,c=0,m,g="";while(c<l){let M=c;m=i3(e,M,m);let v=m[5];if(c=v+1,M===v)continue;let y=m[0];if(y===0){g+="/"+e.substring(M,v);continue}if(y===2){let x=r._splat;s._splat=x,s["*"]=x;let _=e.substring(M,m[1]),j=e.substring(m[4],v);if(!x){if(f=!0,_||j)g+="/"+_+j;continue}let U=jR("_splat",r,a);g+="/"+_+U+j;continue}if(y===1){let x=e.substring(m[2],m[3]);if(!f&&!(x in r))f=!0;s[x]=r[x];let _=e.substring(M,m[1]),j=e.substring(m[4],v),U=jR(x,r,a)??"undefined";g+="/"+_+U+j;continue}if(y===3){let x=e.substring(m[2],m[3]),_=r[x];if(_==null)continue;s[x]=_;let j=e.substring(M,m[1]),U=e.substring(m[4],v),T=jR(x,r,a)??"";g+="/"+j+T+U;continue}}if(e.endsWith("/"))g+="/";return{usedParams:s,interpolatedPath:g||"/",isMissingParams:f}}function cK(e,r){let a=encodeURIComponent(e);return r?.(a)??a}function ja(e){return e?.isNotFound===!0}function dK(e,r=String){let a=new URLSearchParams;for(let i in e){let f=e[i];if(f!==void 0)a.set(i,r(f))}return a.toString()}function l3(e){if(!e)return"";if(e==="false")return!1;if(e==="true")return!0;return+e*0===0&&+e+""===e?+e:e}function ZK(e){let r=new URLSearchParams(e),a=Object.create(null);for(let[i,f]of r.entries()){let s=a[i];if(s==null)a[i]=l3(f);else if(Array.isArray(s))s.push(l3(f));else a[i]=[s,l3(f)]}return a}var c3=pK(JSON.parse),u3=mK(JSON.stringify,JSON.parse);function pK(e){return(r)=>{if(r[0]==="?")r=r.substring(1);let a=ZK(r);for(let i in a){let f=a[i];if(typeof f==="string")try{a[i]=e(f)}catch(s){}}return a}}function mK(e,r){let a=typeof r==="function";function i(f){if(typeof f==="object"&&f!==null)try{return e(f)}catch(s){}else if(a&&typeof f==="string")try{return r(f),e(f)}catch(s){}return f}return(f)=>{let s=dK(f,i);return s?`?${s}`:""}}var ns="__root__";function Zl(e){if(e.statusCode=e.statusCode||e.code||307,!e._builtLocation&&!e.reloadDocument&&typeof e.href==="string")try{new URL(e.href),e.reloadDocument=!0}catch{}let r=new Headers(e.headers);if(e.href&&r.get("Location")===null)r.set("Location",e.href);let a=new Response(null,{status:e.statusCode,headers:r});if(a.options=e,e.throw)throw a;return a}function ii(e){return e instanceof Response&&!!e.options}function d3(e){return{input:({url:r})=>{for(let a of e)r=HD(a,r);return r},output:({url:r})=>{for(let a=e.length-1;a>=0;a--)r=Z3(e[a],r);return r}}}function hK(e){let r=GL(e.basepath),a=`/${r}`,i=e.caseSensitive?a:a.toLowerCase(),f=`${i}/`;return{input:({url:s})=>{let l=e.caseSensitive?s.pathname:s.pathname.toLowerCase();if(l===i)s.pathname="/";else if(l.startsWith(f))s.pathname=s.pathname.slice(a.length);return s},output:({url:s})=>(s.pathname=wM(["/",r,s.pathname]),s)}}function HD(e,r){let a=e?.input?.({url:r});if(a){if(typeof a==="string")return new URL(a);else if(a instanceof URL)return a}return r}function Z3(e,r){let a=e?.output?.({url:r});if(a){if(typeof a==="string")return new URL(a);else if(a instanceof URL)return a}return r}function h3(e){let r=e;return{get(){return r},set(a){r=as(a,r)}}}function g3(e){return{get(){return e()}}}function gK(e,r){let{createMutableStore:a,createReadonlyStore:i,batch:f,init:s}=r,l=new Map,c=new Map,m=new Map,g=a(e.status),M=a(e.loadedAt),v=a(e.isLoading),y=a(e.isTransitioning),x=a(e.location),_=a(e.resolvedLocation),j=a(e.statusCode),U=a(e.redirect),T=a([]),N=a([]),G=a([]),X=i(()=>p3(l,T.get())),J=i(()=>p3(c,N.get())),ee=i(()=>p3(m,G.get())),re=i(()=>T.get()[0]),oe=i(()=>T.get().some((xt)=>l.get(xt)?.get().status==="pending")),ae=i(()=>({locationHref:x.get().href,resolvedLocationHref:_.get()?.href,status:g.get()})),ye=i(()=>({status:g.get(),loadedAt:M.get(),isLoading:v.get(),isTransitioning:y.get(),matches:X.get(),location:x.get(),resolvedLocation:_.get(),statusCode:j.get(),redirect:U.get()})),We=xM(64);function Ye(xt){let Dt=We.get(xt);if(!Dt)Dt=i(()=>{let Yt=T.get();for(let fe of Yt){let yt=l.get(fe);if(yt&&yt.routeId===xt)return yt.get()}}),We.set(xt,Dt);return Dt}let ze={status:g,loadedAt:M,isLoading:v,isTransitioning:y,location:x,resolvedLocation:_,statusCode:j,redirect:U,matchesId:T,pendingIds:N,cachedIds:G,matches:X,pendingMatches:J,cachedMatches:ee,firstId:re,hasPending:oe,matchRouteDeps:ae,matchStores:l,pendingMatchStores:c,cachedMatchStores:m,__store:ye,getRouteMatchStore:Ye,setMatches:qe,setPending:ut,setCached:$e};qe(e.matches),s?.(ze);function qe(xt){m3(xt,l,T,a,f)}function ut(xt){m3(xt,c,N,a,f)}function $e(xt){m3(xt,m,G,a,f)}return ze}function p3(e,r){let a=[];for(let i of r){let f=e.get(i);if(f)a.push(f.get())}return a}function m3(e,r,a,i,f){let s=e.map((c)=>c.id),l=new Set(s);f(()=>{for(let c of r.keys())if(!l.has(c))r.delete(c);for(let c of e){let m=r.get(c.id);if(!m){let g=i(c);g.routeId=c.routeId,r.set(c.id,g);continue}if(m.routeId=c.routeId,m.get()!==c)m.set(c)}if(!tK(a.get(),s))a.set(s)})}function cye(){try{return sessionStorage}catch{return}}var uye="tsr-scroll-restoration-v1_3",xK=cye();function dye(){try{return JSON.parse(xK?.getItem("tsr-scroll-restoration-v1_3")||"{}")}catch{return{}}}function Zye(){try{xK?.setItem(uye,JSON.stringify(KL))}catch{}}var KL=dye(),MK="data-scroll-restoration-id",pye=(e)=>e.state.__TSR_key||e.href;function mye(e){let r=e.getAttribute(MK);if(r)return`[${MK}="${r}"]`;let a="",i=e,f;while(f=i.parentNode){let s=1,l=i;while(l=l.previousElementSibling)s++;let c=`${i.localName}:nth-child(${s})`;a=a?`${c} > ${a}`:c,i=f}return a}var WD=!1,XL="window";function M3(e){try{return typeof e==="function"?e():document.querySelector(e)}catch{}}function vK(e){let r=[];for(let a of e){if(a===XL)continue;let i=M3(a);if(i)r.push(i)}return r}function yK(e,r){if(r??e.options.scrollRestoration)e.isScrollRestoring=!0;if((Hr??e.isServer)||e.isScrollRestorationSetup)return;e.isScrollRestorationSetup=!0,WD=!1;let a=e.options.getScrollRestorationKey||pye,i=new Map,f=(c,m,g)=>{let M=i.get(c)||{};M.scrollX=m,M.scrollY=g,i.set(c,M)};history.scrollRestoration="manual";let s=(c)=>{if(WD||!e.isScrollRestoring)return;if(c.target===document)f(XL,scrollX,scrollY);else{let m=c.target;f(m,m.scrollLeft,m.scrollTop)}},l=(c)=>{if(!e.isScrollRestoring)return;let m=KL[c]||={};for(let[g,M]of i)if(g===XL)m[XL]=M;else if(g.isConnected)m[mye(g)]=M};document.addEventListener("scroll",s,!0),e.subscribe("onBeforeLoad",(c)=>{if(c.fromLocation)l(a(c.fromLocation));i.clear()}),addEventListener("pagehide",()=>{l(a(e.stores.resolvedLocation.get()??e.stores.location.get())),Zye()}),e.subscribe("onRendered",(c)=>{let m=e.options.scrollRestorationBehavior,g=e.options.scrollToTopSelectors,M=e.resetNextScroll,v;if(i.clear(),!M)e.resetNextScroll=!0;if(typeof e.options.scrollRestoration==="function"&&!e.options.scrollRestoration({location:e.latestLocation}))return;let y=a(c.toLocation),x=c.fromLocation&&a(c.fromLocation);if(e.isScrollRestoring&&x&&x!==y){let _=KL[x];if(_){let j=KL[y];for(let U in _){if(U===XL){if(M)continue}else{let T=M3(U);if(!T)continue;if(M&&g){if(v??=vK(g),v.includes(T))continue}}if(!j)j=KL[y]={};j[U]??=_[U]}}}WD=!0;try{let _=c.toLocation.hash,j=c.toLocation.state.__hashScrollIntoViewOptions??!0,U=!1;if(M){let T=GD.get(c.toLocation),N=_&&j&&(T==="PUSH"||T==="REPLACE"),G=e.isScrollRestoring?KL[y]:void 0;if(G)for(let X in G){let{scrollX:J,scrollY:ee}=G[X];if(X===XL){if(N)continue;scrollTo({top:ee,left:J,behavior:m}),U=!0}else{let re=M3(X);if(re)re.scrollLeft=J,re.scrollTop=ee}}if(!U&&!_){let X={top:0,left:0,behavior:m};if(scrollTo(X),g){v??=vK(g);for(let J of v)J.scrollTo(X)}}}if(!U&&_&&j)document.getElementById(_)?.scrollIntoView(j)}finally{WD=!1}})}var v3=(e)=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},hye=(e)=>e.stores.matchesId.get().some((r)=>e.stores.matchStores.get(r)?.get()._forcePending),QD=(e,r)=>!!(e.preload&&!e.router.stores.matchStores.has(r)),Q8=(e,r,a=!0)=>{let i={...e.router.options.context??{}},f=a?r:r-1;for(let s=0;s<=f;s++){let l=e.matches[s];if(!l)continue;let c=e.router.getMatch(l.id);if(!c)continue;Object.assign(i,c.__routeContext,c.__beforeLoadContext)}return i},bK=(e,r)=>{if(!e.matches.length)return;let a=r.routeId,i=e.matches.findIndex((l)=>l.routeId===e.router.routeTree.id),f=i>=0?i:0,s=a?e.matches.findIndex((l)=>l.routeId===a):e.firstBadMatchIndex??e.matches.length-1;if(s<0)s=f;for(let l=s;l>=0;l--){let c=e.matches[l];if(e.router.looseRoutesById[c.routeId].options.notFoundComponent)return l}return a?s:f},zM=(e,r,a)=>{if(!ii(a)&&!ja(a))return;if(ii(a)&&a.redirectHandled&&!a.options.reloadDocument)throw a;if(r){if(r._nonReactive.beforeLoadPromise?.resolve(),r._nonReactive.loaderPromise?.resolve(),r._nonReactive.beforeLoadPromise=void 0,r._nonReactive.loaderPromise=void 0,r._nonReactive.error=a,e.updateMatch(r.id,(i)=>({...i,status:ii(a)?"redirected":ja(a)?"notFound":i.status==="pending"?"success":i.status,context:Q8(e,r.index),isFetching:!1,error:a})),ja(a)&&!a.routeId)a.routeId=r.routeId;r._nonReactive.loadPromise?.resolve()}if(ii(a))e.rendered=!0,a.options._fromLocation=e.location,a.redirectHandled=!0,a=e.router.resolveRedirect(a);throw a},SK=(e,r)=>{let a=e.router.getMatch(r);if(!a)return!0;if(!(Hr??e.router.isServer)&&a._nonReactive.dehydrated)return!0;if((Hr??e.router.isServer)&&a.ssr===!1)return!0;return!1},_K=(e,r,a)=>{let i=Q8(e,a);e.updateMatch(r,(f)=>({...f,context:i}))},BR=(e,r,a)=>{let{id:i,routeId:f}=e.matches[r],s=e.router.looseRoutesById[f];if(a instanceof Promise)throw a;e.firstBadMatchIndex??=r,zM(e,e.router.getMatch(i),a);try{s.options.onError?.(a)}catch(l){a=l,zM(e,e.router.getMatch(i),a)}if(e.updateMatch(i,(l)=>(l._nonReactive.beforeLoadPromise?.resolve(),l._nonReactive.beforeLoadPromise=void 0,l._nonReactive.loadPromise?.resolve(),{...l,error:a,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!ii(a)&&!ja(a))e.serialError??=a},gye=(e,r,a,i)=>{let f=e.router.getMatch(r),s=e.matches[a-1]?.id,l=s?e.router.getMatch(s):void 0;if(e.router.isShell()){f.ssr=i.id===ns;return}if(l?.ssr===!1){f.ssr=!1;return}let c=(x)=>{if(x===!0&&l?.ssr==="data-only")return"data-only";return x},m=e.router.options.defaultSsr??!0;if(i.options.ssr===void 0){f.ssr=c(m);return}if(typeof i.options.ssr!=="function"){f.ssr=c(i.options.ssr);return}let{search:g,params:M}=f,v={search:KD(g,f.searchError),params:KD(M,f.paramsError),location:e.location,matches:e.matches.map((x)=>({index:x.index,pathname:x.pathname,fullPath:x.fullPath,staticData:x.staticData,id:x.id,routeId:x.routeId,search:KD(x.search,x.searchError),params:KD(x.params,x.paramsError),ssr:x.ssr}))},y=i.options.ssr(v);if(vM(y))return y.then((x)=>{f.ssr=c(x??m)});f.ssr=c(y??m)},LK=(e,r,a,i)=>{if(i._nonReactive.pendingTimeout!==void 0)return;let f=a.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!(Hr??e.router.isServer)&&!QD(e,r)&&(a.options.loader||a.options.beforeLoad||y3(a))&&typeof f==="number"&&f!==1/0&&(a.options.pendingComponent??e.router.options?.defaultPendingComponent)){let s=setTimeout(()=>{v3(e)},f);i._nonReactive.pendingTimeout=s}},Mye=(e,r,a)=>{let i=e.router.getMatch(r);if(!i._nonReactive.beforeLoadPromise&&!i._nonReactive.loaderPromise)return;LK(e,r,a,i);let f=()=>{let s=e.router.getMatch(r);if(s.preload&&(s.status==="redirected"||s.status==="notFound"))zM(e,s,s.error)};return i._nonReactive.beforeLoadPromise?i._nonReactive.beforeLoadPromise.then(f):f()},vye=(e,r,a,i)=>{let f=e.router.getMatch(r),s=f._nonReactive.loadPromise;f._nonReactive.loadPromise=ru(()=>{s?.resolve(),s=void 0});let{paramsError:l,searchError:c}=f;if(l)BR(e,a,l);if(c)BR(e,a,c);LK(e,r,i,f);let m=new AbortController,g=!1,M=()=>{if(g)return;g=!0,e.updateMatch(r,(X)=>({...X,isFetching:"beforeLoad",fetchCount:X.fetchCount+1,abortController:m}))},v=()=>{f._nonReactive.beforeLoadPromise?.resolve(),f._nonReactive.beforeLoadPromise=void 0,e.updateMatch(r,(X)=>({...X,isFetching:!1}))};if(!i.options.beforeLoad){e.router.batch(()=>{M(),v()});return}f._nonReactive.beforeLoadPromise=ru();let y={...Q8(e,a,!1),...f.__routeContext},{search:x,params:_,cause:j}=f,U=QD(e,r),T={search:x,abortController:m,params:_,preload:U,context:y,location:e.location,navigate:(X)=>e.router.navigate({...X,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:U?"preload":j,matches:e.matches,routeId:i.id,...e.router.options.additionalContext},N=(X)=>{if(X===void 0){e.router.batch(()=>{M(),v()});return}if(ii(X)||ja(X))M(),BR(e,a,X);e.router.batch(()=>{M(),e.updateMatch(r,(J)=>({...J,__beforeLoadContext:X})),v()})},G;try{if(G=i.options.beforeLoad(T),vM(G))return M(),G.catch((X)=>{BR(e,a,X)}).then(N)}catch(X){M(),BR(e,a,X)}N(G)},xye=(e,r)=>{let{id:a,routeId:i}=e.matches[r],f=e.router.looseRoutesById[i],s=()=>{if(Hr??e.router.isServer){let m=gye(e,a,r,f);if(vM(m))return m.then(c)}return c()},l=()=>vye(e,a,r,f),c=()=>{if(SK(e,a))return;let m=Mye(e,a,f);return vM(m)?m.then(l):l()};return s()},yye=(e,r,a)=>{let i=e.router.getMatch(r);if(!i)return;if(!a.options.head&&!a.options.scripts&&!a.options.headers)return;let f={ssr:e.router.options.ssr,matches:e.matches,match:i,params:i.params,loaderData:i.loaderData};return Promise.all([a.options.head?.(f),a.options.scripts?.(f),a.options.headers?.(f)]).then(([s,l,c])=>({meta:s?.meta,links:s?.links,headScripts:s?.scripts,headers:c,scripts:l,styles:s?.styles}))},kK=(e,r,a,i,f)=>{let s=r[i-1],{params:l,loaderDeps:c,abortController:m,cause:g}=e.router.getMatch(a),M=Q8(e,i),v=QD(e,a);return{params:l,deps:c,preload:!!v,parentMatchPromise:s,abortController:m,context:M,location:e.location,navigate:(y)=>e.router.navigate({...y,_fromLocation:e.location}),cause:v?"preload":g,route:f,...e.router.options.additionalContext}},wK=async(e,r,a,i,f)=>{try{let s=e.router.getMatch(a);try{if(!(Hr??e.router.isServer)||s.ssr===!0)QL(f);let l=f.options.loader,c=typeof l==="function"?l:l?.handler,m=c?.(kK(e,r,a,i,f)),g=!!c&&vM(m);if(g||f._lazyPromise||f._componentsPromise||f.options.head||f.options.scripts||f.options.headers||s._nonReactive.minPendingPromise)e.updateMatch(a,(v)=>({...v,isFetching:"loader"}));if(c){let v=g?await m:m;if(zM(e,e.router.getMatch(a),v),v!==void 0)e.updateMatch(a,(y)=>({...y,loaderData:v}))}if(f._lazyPromise)await f._lazyPromise;let M=s._nonReactive.minPendingPromise;if(M)await M;if(f._componentsPromise)await f._componentsPromise;e.updateMatch(a,(v)=>({...v,error:void 0,context:Q8(e,i),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(l){let c=l;if(c?.name==="AbortError"){if(s.abortController.signal.aborted){s._nonReactive.loaderPromise?.resolve(),s._nonReactive.loaderPromise=void 0;return}e.updateMatch(a,(g)=>({...g,status:g.status==="pending"?"success":g.status,isFetching:!1,context:Q8(e,i)}));return}let m=s._nonReactive.minPendingPromise;if(m)await m;if(ja(l))await f.options.notFoundComponent?.preload?.();zM(e,e.router.getMatch(a),l);try{f.options.onError?.(l)}catch(g){c=g,zM(e,e.router.getMatch(a),g)}if(!ii(c)&&!ja(c))await QL(f,["errorComponent"]);e.updateMatch(a,(g)=>({...g,error:c,context:Q8(e,i),status:"error",isFetching:!1}))}}catch(s){let l=e.router.getMatch(a);if(l)l._nonReactive.loaderPromise=void 0;zM(e,l,s)}},bye=async(e,r,a)=>{async function i(x,_,j,U,T){let N=Date.now()-_.updatedAt,G=x?T.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??30000:T.options.staleTime??e.router.options.defaultStaleTime??0,X=T.options.shouldReload,J=typeof X==="function"?X(kK(e,r,f,a,T)):X,{status:ee,invalid:re}=U,oe=N>=G&&(!!e.forceStaleReload||U.cause==="enter"||j!==void 0&&j!==U.id);if(l=ee==="success"&&(re||(J??oe)),x&&T.options.preload===!1);else if(l&&!e.sync&&M)c=!0,(async()=>{try{await wK(e,r,f,a,T);let ae=e.router.getMatch(f);ae._nonReactive.loaderPromise?.resolve(),ae._nonReactive.loadPromise?.resolve(),ae._nonReactive.loaderPromise=void 0,ae._nonReactive.loadPromise=void 0}catch(ae){if(ii(ae))await e.router.navigate(ae.options)}})();else if(ee!=="success"||l)await wK(e,r,f,a,T);else _K(e,f,a)}let{id:f,routeId:s}=e.matches[a],l=!1,c=!1,m=e.router.looseRoutesById[s],g=m.options.loader,M=((typeof g==="function"?void 0:g?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!=="blocking";if(SK(e,f)){if(!e.router.getMatch(f))return e.matches[a];if(_K(e,f,a),Hr??e.router.isServer)return e.router.getMatch(f)}else{let x=e.router.getMatch(f),_=e.router.stores.matchesId.get()[a],j=(_&&e.router.stores.matchStores.get(_)||null)?.routeId===s?_:e.router.stores.matches.get().find((T)=>T.routeId===s)?.id,U=QD(e,f);if(x._nonReactive.loaderPromise){if(x.status==="success"&&!e.sync&&!x.preload&&M)return x;await x._nonReactive.loaderPromise;let T=e.router.getMatch(f),N=T._nonReactive.error||T.error;if(N)zM(e,T,N);if(T.status==="pending")await i(U,x,j,T,m)}else{let T=U&&!e.router.stores.matchStores.has(f),N=e.router.getMatch(f);if(N._nonReactive.loaderPromise=ru(),T!==N.preload)e.updateMatch(f,(G)=>({...G,preload:T}));await i(U,x,j,N,m)}}let v=e.router.getMatch(f);if(!c)v._nonReactive.loaderPromise?.resolve(),v._nonReactive.loadPromise?.resolve(),v._nonReactive.loadPromise=void 0;if(clearTimeout(v._nonReactive.pendingTimeout),v._nonReactive.pendingTimeout=void 0,!c)v._nonReactive.loaderPromise=void 0;v._nonReactive.dehydrated=void 0;let y=c?v.isFetching:!1;if(y!==v.isFetching||v.invalid!==!1)return e.updateMatch(f,(x)=>({...x,isFetching:y,invalid:!1})),e.router.getMatch(f);else return v};async function x3(e){let r=e,a=[];if(!(Hr??r.router.isServer)&&hye(r.router))v3(r);let i;for(let y=0;y<r.matches.length;y++){try{let x=xye(r,y);if(vM(x))await x}catch(x){if(ii(x))throw x;if(ja(x))i=x;else if(!r.preload)throw x;break}if(r.serialError||r.firstBadMatchIndex!=null)break}let f=r.firstBadMatchIndex??r.matches.length,s=i&&!r.preload?bK(r,i):void 0,l=i&&r.preload?0:s!==void 0?Math.min(s+1,f):f,c,m;for(let y=0;y<l;y++)a.push(bye(r,a,y));try{await Promise.all(a)}catch{let y=await Promise.allSettled(a);for(let x of y){if(x.status!=="rejected")continue;let _=x.reason;if(ii(_))throw _;if(ja(_))c??=_;else m??=_}if(m!==void 0)throw m}let g=c??(i&&!r.preload?i:void 0),M=r.firstBadMatchIndex!==void 0?r.firstBadMatchIndex:r.matches.length-1;if(!g&&i&&r.preload)return r.matches;if(g){let y=bK(r,g);if(y===void 0)ai();let x=r.matches[y],_=r.router.looseRoutesById[x.routeId],j=r.router.options?.defaultNotFoundComponent;if(!_.options.notFoundComponent&&j)_.options.notFoundComponent=j;g.routeId=x.routeId;let U=x.routeId===r.router.routeTree.id;r.updateMatch(x.id,(T)=>({...T,...U?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:g},isFetching:!1})),M=y,await QL(_,["notFoundComponent"])}else if(!r.preload){let y=r.matches[0];if(!y.globalNotFound){if(r.router.getMatch(y.id)?.globalNotFound)r.updateMatch(y.id,(x)=>({...x,globalNotFound:!1,error:void 0}))}}if(r.serialError&&r.firstBadMatchIndex!==void 0){let y=r.router.looseRoutesById[r.matches[r.firstBadMatchIndex].routeId];await QL(y,["errorComponent"])}for(let y=0;y<=M;y++){let{id:x,routeId:_}=r.matches[y],j=r.router.looseRoutesById[_];try{let U=yye(r,x,j);if(U){let T=await U;r.updateMatch(x,(N)=>({...N,...T}))}}catch(U){console.error(`Error executing head for route ${_}:`,U)}}let v=v3(r);if(vM(v))await v;if(g)throw g;if(r.serialError&&!r.preload&&!r.onReady)throw r.serialError;return r.matches}function zK(e,r){let a=r.map((i)=>e.options[i]?.preload?.()).filter(Boolean);if(a.length===0)return;return Promise.all(a)}function QL(e,r=XD){if(!e._lazyLoaded&&e._lazyPromise===void 0)if(e.lazyFn)e._lazyPromise=e.lazyFn().then((i)=>{let{id:f,...s}=i.options;Object.assign(e.options,s),e._lazyLoaded=!0,e._lazyPromise=void 0});else e._lazyLoaded=!0;let a=()=>e._componentsLoaded?void 0:r===XD?(()=>{if(e._componentsPromise===void 0){let i=zK(e,XD);if(i)e._componentsPromise=i.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0});else e._componentsLoaded=!0}return e._componentsPromise})():zK(e,r);return e._lazyPromise?e._lazyPromise.then(a):a()}function KD(e,r){if(r)return{status:"error",error:r};return{status:"success",value:e}}function y3(e){for(let r of XD)if(e.options[r]?.preload)return!0;return!1}var XD=["component","errorComponent","pendingComponent","notFoundComponent"];var SM="__TSR_index",CK="popstate",IK="beforeunload";function _ye(e){let r=e.getLocation(),a=new Set,i=(l)=>{r=e.getLocation(),a.forEach((c)=>c({location:r,action:l}))},f=(l)=>{if(e.notifyOnIndexChange??!0)i(l);else r=e.getLocation()},s=async({task:l,navigateOpts:c,...m})=>{if(c?.ignoreBlocker??!1){l();return}let g=e.getBlockers?.()??[],M=m.type==="PUSH"||m.type==="REPLACE";if(typeof document<"u"&&g.length&&M)for(let v of g){let y=YR(m.path,m.state);if(await v.blockerFn({currentLocation:r,nextLocation:y,action:m.type})){e.onBlocked?.();return}}l()};return{get location(){return r},get length(){return e.getLength()},subscribers:a,subscribe:(l)=>(a.add(l),()=>{a.delete(l)}),push:(l,c,m)=>{let g=r.state[SM];c=RK(g+1,c),s({task:()=>{e.pushState(l,c),i({type:"PUSH"})},navigateOpts:m,type:"PUSH",path:l,state:c})},replace:(l,c,m)=>{let g=r.state[SM];c=RK(g,c),s({task:()=>{e.replaceState(l,c),i({type:"REPLACE"})},navigateOpts:m,type:"REPLACE",path:l,state:c})},go:(l,c)=>{s({task:()=>{e.go(l),f({type:"GO",index:l})},navigateOpts:c,type:"GO"})},back:(l)=>{s({task:()=>{e.back(l?.ignoreBlocker??!1),f({type:"BACK"})},navigateOpts:l,type:"BACK"})},forward:(l)=>{s({task:()=>{e.forward(l?.ignoreBlocker??!1),f({type:"FORWARD"})},navigateOpts:l,type:"FORWARD"})},canGoBack:()=>r.state[SM]!==0,createHref:(l)=>e.createHref(l),block:(l)=>{if(!e.setBlockers)return()=>{};let c=e.getBlockers?.()??[];return e.setBlockers([...c,l]),()=>{let m=e.getBlockers?.()??[];e.setBlockers?.(m.filter((g)=>g!==l))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:i}}function RK(e,r){if(!r)r={};let a=b3();return{...r,key:a,__TSR_key:a,[SM]:e}}function PK(e){let r=e?.window??(typeof document<"u"?window:void 0),a=r.history.pushState,i=r.history.replaceState,f=[],s=()=>f,l=(oe)=>f=oe,c=e?.createHref??((oe)=>oe),m=e?.parseLocation??(()=>YR(`${r.location.pathname}${r.location.search}${r.location.hash}`,r.history.state));if(!r.history.state?.__TSR_key&&!r.history.state?.key){let oe=b3();r.history.replaceState({[SM]:0,key:oe,__TSR_key:oe},"")}let g=m(),M,v=!1,y=!1,x=!1,_=!1,j=()=>g,U,T,N=()=>{if(!U)return;re._ignoreSubscribers=!0,(U.isPush?r.history.pushState:r.history.replaceState)(U.state,"",U.href),re._ignoreSubscribers=!1,U=void 0,T=void 0,M=void 0},G=(oe,ae,ye)=>{let We=c(ae);if(!T)M=g;if(g=YR(ae,ye),U={href:We,state:ye,isPush:U?.isPush||oe==="push"},!T)T=Promise.resolve().then(()=>N())},X=(oe)=>{g=m(),re.notify({type:oe})},J=async()=>{if(y){y=!1;return}let oe=m(),ae=oe.state[SM]-g.state[SM],ye=ae===1,We=ae===-1,Ye=!ye&&!We||v;v=!1;let ze=Ye?"GO":We?"BACK":"FORWARD",qe=Ye?{type:"GO",index:ae}:{type:We?"BACK":"FORWARD"};if(x)x=!1;else{let ut=s();if(typeof document<"u"&&ut.length){for(let $e of ut)if(await $e.blockerFn({currentLocation:g,nextLocation:oe,action:ze})){y=!0,r.history.go(1),re.notify(qe);return}}}g=m(),re.notify(qe)},ee=(oe)=>{if(_){_=!1;return}let ae=!1,ye=s();if(typeof document<"u"&&ye.length)for(let We of ye){let Ye=We.enableBeforeUnload??!0;if(Ye===!0){ae=!0;break}if(typeof Ye==="function"&&Ye()===!0){ae=!0;break}}if(ae)return oe.preventDefault(),oe.returnValue=""},re=_ye({getLocation:j,getLength:()=>r.history.length,pushState:(oe,ae)=>G("push",oe,ae),replaceState:(oe,ae)=>G("replace",oe,ae),back:(oe)=>{if(oe)x=!0;return _=!0,r.history.back()},forward:(oe)=>{if(oe)x=!0;_=!0,r.history.forward()},go:(oe)=>{v=!0,r.history.go(oe)},createHref:(oe)=>c(oe),flush:N,destroy:()=>{r.history.pushState=a,r.history.replaceState=i,r.removeEventListener(IK,ee,{capture:!0}),r.removeEventListener(CK,J)},onBlocked:()=>{if(M&&g!==M)g=M},getBlockers:s,setBlockers:l,notifyOnIndexChange:!1});return r.addEventListener(IK,ee,{capture:!0}),r.addEventListener(CK,J),r.history.pushState=function(...oe){let ae=a.apply(r.history,oe);if(!re._ignoreSubscribers)X("PUSH");return ae},r.history.replaceState=function(...oe){let ae=i.apply(r.history,oe);if(!re._ignoreSubscribers)X("REPLACE");return ae},re}function wye(e){let r=e.replace(/[\x00-\x1f\x7f]/g,"");if(r.startsWith("//"))r="/"+r.replace(/^\/+/,"");return r}function YR(e,r){let a=wye(e),i=a.indexOf("#"),f=a.indexOf("?"),s=b3();return{href:a,pathname:a.substring(0,i>0?f>0?Math.min(i,f):i:f>0?f:a.length),hash:i>-1?a.substring(i):"",search:f>-1?a.slice(f,i===-1?void 0:i):"",state:r||{[SM]:0,key:s,__TSR_key:s}}}function b3(){return(Math.random()+1).toString(36).substring(7)}function LZ(e,r){let a=r,i=e;return{fromLocation:a,toLocation:i,pathChanged:a?.pathname!==i.pathname,hrefChanged:a?.href!==i.href,hashChanged:a?.hash!==i.hash}}var GD=new WeakMap,_3=class{constructor(e,r){if(this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.routeBranchCache=new WeakMap,this.startTransition=(a)=>a(),this.update=(a)=>{let i=this.options,f=this.basepath??i?.basepath??"/",s=this.basepath===void 0,l=i?.rewrite;if(this.options={...i,...a},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters)this.pathParamsDecoder=uK(this.options.pathParamsAllowedCharacters);if(!this.history||this.options.history&&this.options.history!==this.history)if(!this.options.history){if(!(Hr??this.isServer))this.history=PK()}else this.history=this.options.history;if(this.origin=this.options.origin,!this.origin)if(!(Hr??this.isServer)&&window?.origin&&window.origin!=="null")this.origin=window.origin;else this.origin="http://localhost";if(this.history)this.updateLatestLocation();if(this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let M;if((Hr??this.isServer)&&!0&&globalThis.__TSR_CACHE__&&globalThis.__TSR_CACHE__.routeTree===this.routeTree){let v=globalThis.__TSR_CACHE__;this.resolvePathCache=v.resolvePathCache,M=v.processRouteTreeResult}else if(this.resolvePathCache=xM(1000),M=this.buildRouteTree(),(Hr??this.isServer)&&!0&&globalThis.__TSR_CACHE__===void 0)globalThis.__TSR_CACHE__={routeTree:this.routeTree,processRouteTreeResult:M,resolvePathCache:this.resolvePathCache};this.setRoutes(M)}if(!this.stores&&this.latestLocation){let M=this.getStoreConfig(this);if(this.batch=M.batch,this.stores=gK(EK(this.latestLocation),M),!(Hr??this.isServer))yK(this)}let c=!1,m=this.options.basepath??"/",g=this.options.rewrite;if(s||f!==m||l!==g){this.basepath=m;let M=[],v=GL(m);if(v&&v!=="/")M.push(hK({basepath:m}));if(g)M.push(g);if(this.rewrite=M.length===0?void 0:M.length===1?M[0]:d3(M),this.history)this.updateLatestLocation();c=!0}if(c&&this.stores)this.stores.location.set(this.latestLocation);if(typeof window<"u"&&"CSS"in window&&typeof window.CSS?.supports==="function")this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a))")},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{let a=sK(this.routeTree,this.options.caseSensitive,(i,f)=>{i.init({originalIndex:f})});if(this.options.routeMasks)aK(this.options.routeMasks,a.processedTree);return a},this.subscribe=(a,i)=>{let f={eventType:a,fn:i};return this.subscribers.add(f),()=>{this.subscribers.delete(f)}},this.emit=(a)=>{this.subscribers.forEach((i)=>{if(i.eventType===a.type)i.fn(a)})},this.parseLocation=(a,i)=>{let f=({pathname:m,search:g,hash:M,href:v,state:y})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(m)){let T=this.options.parseSearch(g),N=this.options.stringifySearch(T);return{href:m+N+M,publicHref:m+N+M,pathname:HL(m).path,external:!1,searchStr:N,search:MM(i?.search,T),hash:HL(M.slice(1)).path,state:Es(i?.state,y)}}let x=new URL(v,this.origin),_=HD(this.rewrite,x),j=this.options.parseSearch(_.search),U=this.options.stringifySearch(j);return _.search=U,{href:_.href.replace(_.origin,""),publicHref:v,pathname:HL(_.pathname).path,external:!!this.rewrite&&_.origin!==this.origin,searchStr:U,search:MM(i?.search,j),hash:HL(_.hash.slice(1)).path,state:Es(i?.state,y)}},s=f(a),{__tempLocation:l,__tempKey:c}=s.state;if(l&&(!c||c===this.tempLocationKey)){let m=f(l);return m.state.key=s.state.key,m.state.__TSR_key=s.state.__TSR_key,delete m.state.__tempLocation,{...m,maskedLocation:s}}return s},this.resolvePathWithBase=(a,i)=>VD({base:a,to:i.includes("//")?WL(i):i,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(a,i,f)=>{if(typeof a==="string")return this.matchRoutesInternal({pathname:a,search:i},f);return this.matchRoutesInternal(a,i)},this.getMatchedRoutes=(a)=>DK({pathname:a,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=(a)=>{let i=this.getMatch(a);if(!i)return;i.abortController.abort(),clearTimeout(i._nonReactive.pendingTimeout),i._nonReactive.pendingTimeout=void 0},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach((a)=>{this.cancelMatch(a)}),this.stores.matchesId.get().forEach((a)=>{if(this.stores.pendingMatchStores.has(a))return;let i=this.stores.matchStores.get(a)?.get();if(!i)return;if(i.status==="pending"||i.isFetching==="loader")this.cancelMatch(a)})},this.buildLocation=(a)=>{let i=(s={})=>{let l=s._fromLocation||this.pendingBuiltLocation||this.latestLocation,c=this.matchRoutesLightweight(l);s.from;let m=s.unsafeRelative==="path"?l.pathname:s.from??c.fullPath,g=s.to?`${s.to}`:void 0,M=c.search,v=Object.assign(Object.create(null),c.params),y=g?.charCodeAt(0)===47?"/":this.resolvePathWithBase(m,"."),x=g?this.resolvePathWithBase(y,g):y,_=s.params===!1||s.params===null?Object.create(null):(s.params??!0)===!0?v:Object.assign(v,as(s.params,v)),j=this.routesByPath[js(x)],U;if(j)U=this.getRouteBranch(j);else if(x.includes("$"))U=[];else{let We=this.getMatchedRoutes(x);if(U=We.matchedRoutes,this.options.notFoundRoute&&(!We.foundRoute||We.foundRoute.path!=="/"&&We.routeParams["**"]))U=[...U,this.options.notFoundRoute]}if(U.length&&gM(_))for(let We of U){let Ye=We.options.params?.stringify??We.options.stringifyParams;if(Ye)try{Object.assign(_,Ye(_))}catch{}}let T=a.leaveParams?x:HL(FR({path:x,params:_,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path,N=M;if(a._includeValidateSearch&&this.options.search?.strict){let We={};U.forEach((Ye)=>{if(Ye.options.validateSearch)try{Object.assign(We,JD(Ye.options.validateSearch,{...We,...N}))}catch{}}),N=We}N=zye({search:N,dest:s,destRoutes:U,_includeValidateSearch:a._includeValidateSearch}),N=MM(M,N);let G=this.options.stringifySearch(N),X=s.hash===!0?l.hash:s.hash?as(s.hash,l.hash):void 0,J=X?`#${X}`:"",ee=s.state===!0?l.state:s.state?as(s.state,l.state):{};ee=Es(l.state,ee);let re=`${T}${G}${J}`,oe,ae,ye=!1;if(this.rewrite){let We=new URL(re,this.origin),Ye=Z3(this.rewrite,We);if(oe=We.href.replace(We.origin,""),Ye.origin!==this.origin)ae=Ye.href,ye=!0;else ae=Ye.pathname+Ye.search+Ye.hash}else oe=eK(re),ae=oe;return{publicHref:ae,href:oe,pathname:T,search:N,searchStr:G,state:ee,hash:X??"",external:ye,unmaskOnReload:s.unmaskOnReload}},f=(s={},l)=>{let c=i(s),m=l?i(l):void 0;if(!m){let g=Object.create(null);if(this.options.routeMasks){let M=nK(c.pathname,this.processedTree);if(M){Object.assign(g,M.rawParams);let{from:v,params:y,...x}=M.route,_=y===!1||y===null?Object.create(null):(y??!0)===!0?g:Object.assign(g,as(y,g));l={from:a.from,...x,params:_},m=i(l)}}}if(m)c.maskedLocation=m;return c};if(a.mask)return f(a,{from:a.from,...a.mask});return f(a)},this.commitLocation=async({viewTransition:a,ignoreBlocker:i,...f})=>{let s,l=()=>{let g=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];g.forEach((v)=>{f.state[v]=this.latestLocation.state[v]});let M=rc(f.state,this.latestLocation.state);return g.forEach((v)=>{delete f.state[v]}),M},c=js(this.latestLocation.href)===js(f.href),m=this.commitLocationPromise;if(this.commitLocationPromise=ru(()=>{m?.resolve(),m=void 0}),c&&l())this.load();else{let{maskedLocation:g,hashScrollIntoView:M,...v}=f;if(g){if(v={...g,state:{...g.state,__tempKey:void 0,__tempLocation:{...v,search:v.searchStr,state:{...v.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},v.unmaskOnReload??this.options.unmaskOnReload??!1)v.state.__tempKey=this.tempLocationKey}v.state.__hashScrollIntoViewOptions=M??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=a,s=f.replace?"REPLACE":"PUSH",this.history[s==="REPLACE"?"replace":"push"](v.publicHref,v.state,{ignoreBlocker:i})}if(this.resetNextScroll=f.resetScroll??!0,!this.history.subscribers.size)this.load(s?{action:{type:s}}:void 0);return this.commitLocationPromise},this.buildAndCommitLocation=({replace:a,resetScroll:i,hashScrollIntoView:f,viewTransition:s,ignoreBlocker:l,href:c,...m}={})=>{if(c){let v=this.history.location.state.__TSR_index,y=YR(c,{__TSR_index:a?v:v+1}),x=new URL(y.pathname,this.origin);m.to=HD(this.rewrite,x).pathname,m.search=this.options.parseSearch(y.search),m.hash=y.hash.slice(1)}let g=this.buildLocation({...m,_includeValidateSearch:!0});this.pendingBuiltLocation=g;let M=this.commitLocation({...g,viewTransition:s,replace:a,resetScroll:i,hashScrollIntoView:f,ignoreBlocker:l});return Promise.resolve().then(()=>{if(this.pendingBuiltLocation===g)this.pendingBuiltLocation=void 0}),M},this.navigate=async({to:a,reloadDocument:i,href:f,publicHref:s,...l})=>{let c=!1;if(f)try{new URL(`${f}`),c=!0}catch{}if(c&&!i)i=!0;if(i){if(a!==void 0||!f){let g=this.buildLocation({to:a,...l});f=f??g.publicHref,s=s??g.publicHref}let m=!c&&s?s:f;if(Nu(m,this.protocolAllowlist))return Promise.resolve();if(!l.ignoreBlocker){let g=this.history.getBlockers?.()??[];for(let M of g)if(M?.blockerFn){if(await M.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return Promise.resolve()}}if(l.replace)window.location.replace(m);else window.location.href=m;return Promise.resolve()}return this.buildAndCommitLocation({...l,href:f,to:a,_isNavigate:!0})},this.beforeLoad=()=>{if(this.cancelMatches(),this.updateLatestLocation(),Hr??this.isServer){let f=this.buildLocation({to:this.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(this.latestLocation.publicHref!==f.publicHref){let s=this.getParsedLocationHref(f);if(f.external)throw Zl({href:s});else throw Zl({href:s,_builtLocation:f})}}let a=this.matchRoutes(this.latestLocation),i=this.stores.cachedMatches.get().filter((f)=>!a.some((s)=>s.id===f.id));this.batch(()=>{this.stores.status.set("pending"),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(a),this.stores.setCached(i)})},this.load=async(a)=>{let i=a?.action?.type,f,s,l,c=this.stores.resolvedLocation.get()??this.stores.location.get();l=new Promise((g)=>{this.startTransition(async()=>{try{if(this.beforeLoad(),i)GD.set(this.latestLocation,i);else GD.delete(this.latestLocation);let M=this.latestLocation,v=LZ(M,this.stores.resolvedLocation.get());if(!this.stores.redirect.get())this.emit({type:"onBeforeNavigate",...v});this.emit({type:"onBeforeLoad",...v}),await x3({router:this,sync:a?.sync,forceStaleReload:c.href===M.href,matches:this.stores.pendingMatches.get(),location:M,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let y=null,x=null,_=null,j=null;this.batch(()=>{let U=this.stores.pendingMatches.get(),T=U.length,N=this.stores.matches.get();y=T?N.filter((J)=>!this.stores.pendingMatchStores.has(J.id)):null;let G=new Set;for(let J of this.stores.pendingMatchStores.values())if(J.routeId)G.add(J.routeId);let X=new Set;for(let J of this.stores.matchStores.values())if(J.routeId)X.add(J.routeId);if(x=T?N.filter((J)=>!G.has(J.routeId)):null,_=T?U.filter((J)=>!X.has(J.routeId)):null,j=T?U.filter((J)=>X.has(J.routeId)):N,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),T)this.stores.setMatches(U),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...y.filter((J)=>J.status!=="error"&&J.status!=="notFound"&&J.status!=="redirected")]),this.clearExpiredCache()});for(let[U,T]of[[x,"onLeave"],[_,"onEnter"],[j,"onStay"]]){if(!U)continue;for(let N of U)this.looseRoutesById[N.routeId].options[T]?.(N)}})})}})}catch(M){if(ii(M)){if(f=M,!(Hr??this.isServer))this.navigate({...f.options,replace:!0,ignoreBlocker:!0})}else if(ja(M))s=M;let v=f?f.status:s?404:this.stores.matches.get().some((y)=>y.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(v),this.stores.redirect.set(f)})}if(this.latestLoadPromise===l)this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0;g()})}),this.latestLoadPromise=l,await l;while(this.latestLoadPromise&&l!==this.latestLoadPromise)await this.latestLoadPromise;let m=void 0;if(this.hasNotFoundMatch())m=404;else if(this.stores.matches.get().some((g)=>g.status==="error"))m=500;if(m!==void 0)this.stores.statusCode.set(m)},this.startViewTransition=(a)=>{let i=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,i&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition==="function"){let f;if(typeof i==="object"&&this.isViewTransitionTypesSupported){let s=this.latestLocation,l=this.stores.resolvedLocation.get(),c=typeof i.types==="function"?i.types(LZ(s,l)):i.types;if(c===!1){a();return}f={update:a,types:c}}else f=a;document.startViewTransition(f)}else a()},this.updateMatch=(a,i)=>{this.startTransition(()=>{let f=this.stores.pendingMatchStores.get(a);if(f){f.set(i);return}let s=this.stores.matchStores.get(a);if(s){s.set(i);return}let l=this.stores.cachedMatchStores.get(a);if(l){let c=i(l.get());if(c.status==="redirected"){if(this.stores.cachedMatchStores.delete(a))this.stores.cachedIds.set((m)=>m.filter((g)=>g!==a))}else l.set(c)}})},this.getMatch=(a)=>this.stores.cachedMatchStores.get(a)?.get()??this.stores.pendingMatchStores.get(a)?.get()??this.stores.matchStores.get(a)?.get(),this.invalidate=(a)=>{let i=(f)=>{if(a?.filter?.(f)??!0)return{...f,invalid:!0,...a?.forcePending||f.status==="error"||f.status==="notFound"?{status:"pending",error:void 0}:void 0};return f};return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(i)),this.stores.setCached(this.stores.cachedMatches.get().map(i)),this.stores.setPending(this.stores.pendingMatches.get().map(i))}),this.shouldViewTransition=!1,this.load({sync:a?.sync})},this.getParsedLocationHref=(a)=>a.publicHref||"/",this.resolveRedirect=(a)=>{let i=a.headers.get("Location");if(!a.options.href||a.options._builtLocation){let f=a.options._builtLocation??this.buildLocation(a.options),s=this.getParsedLocationHref(f);a.options.href=s,a.headers.set("Location",s)}else if(i)try{let f=new URL(i);if(this.origin&&f.origin===this.origin){let s=f.pathname+f.search+f.hash;a.options.href=s,a.headers.set("Location",s)}}catch{}if(a.options.href&&!a.options._builtLocation&&Nu(a.options.href,this.protocolAllowlist))throw Error("Redirect blocked: unsafe protocol");if(!a.headers.get("Location"))a.headers.set("Location",a.options.href);return a},this.clearCache=(a)=>{let i=a?.filter;if(i!==void 0)this.stores.setCached(this.stores.cachedMatches.get().filter((f)=>!i(f)));else this.stores.setCached([])},this.clearExpiredCache=()=>{let a=Date.now(),i=(f)=>{let s=this.looseRoutesById[f.routeId];if(!s.options.loader)return!0;let l=(f.preload?s.options.preloadGcTime??this.options.defaultPreloadGcTime:s.options.gcTime??this.options.defaultGcTime)??300000;if(f.status==="error")return!0;return a-f.updatedAt>=l};this.clearCache({filter:i})},this.loadRouteChunk=QL,this.preloadRoute=async(a)=>{let i=a._builtLocation??this.buildLocation(a),f=this.matchRoutes(i,{throwOnError:!0,preload:!0,dest:a}),s=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),l=new Set([...s,...this.stores.cachedIds.get()]),c=f.filter((m)=>!l.has(m.id));if(c.length){let m=this.stores.cachedMatches.get();this.stores.setCached([...m,...c])}try{return f=await x3({router:this,matches:f,location:i,preload:!0,updateMatch:(m,g)=>{if(s.has(m))f=f.map((M)=>M.id===m?g(M):M);else this.updateMatch(m,g)}}),f}catch(m){if(ii(m)){if(m.options.reloadDocument)return;return await this.preloadRoute({...m.options,_fromLocation:i})}if(!ja(m))console.error(m);return}},this.matchRoute=(a,i)=>{let f={...a,to:a.to?this.resolvePathWithBase(a.from||"",a.to):void 0,params:a.params||{},leaveParams:!0},s=this.buildLocation(f);if(i?.pending&&this.stores.status.get()!=="pending")return!1;let l=(i?.pending===void 0?!this.stores.isLoading.get():i.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),c=iK(s.pathname,i?.caseSensitive??!1,i?.fuzzy??!1,l.pathname,this.processedTree);if(!c)return!1;if(a.params){if(!rc(c.rawParams,a.params,{partial:!0}))return!1}if(i?.includeSearch??!0)return rc(l.search,s.search,{partial:!0})?c.rawParams:!1;return c.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some((a)=>a.status==="notFound"||a.globalNotFound),this.getStoreConfig=r,this.update({defaultPreloadDelay:50,defaultPendingMs:1000,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??"fuzzy",stringifySearch:e.stringifySearch??u3,parseSearch:e.parseSearch??c3,protocolAllowlist:e.protocolAllowlist??FD}),typeof document<"u")self.__TSR_ROUTER__=this}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:e,routesByPath:r,processedTree:a}){this.routesById=e,this.routesByPath=r,this.processedTree=a;let i=this.options.notFoundRoute;if(i)i.init({originalIndex:99999999999}),this.routesById[i.id]=i}getRouteBranch(e){let r=this.routeBranchCache.get(e);if(!r)r=s3(e),this.routeBranchCache.set(e,r);return r}get looseRoutesById(){return this.routesById}getParentContext(e){return!e?.id?this.options.context??void 0:e.context??this.options.context??void 0}matchRoutesInternal(e,r){let a=this.getMatchedRoutes(e.pathname),{foundRoute:i,routeParams:f}=a,{matchedRoutes:s}=a,l=!1;if(i?i.path!=="/"&&f["**"]:js(e.pathname))if(this.options.notFoundRoute)s=[...s,this.options.notFoundRoute];else l=!0;let c=l?Lye(this.options.notFoundMode,s):void 0,m=Array(s.length),g=new Map;for(let M of this.stores.matchStores.values())if(M.routeId)g.set(M.routeId,M.get());for(let M=0;M<s.length;M++){let v=s[M],y=m[M-1],x,_,j;{let Ye=y?.search??e.search,ze=y?._strictSearch??void 0;try{let qe=JD(v.options.validateSearch,{...Ye})??void 0;x={...Ye,...qe},_={...ze,...qe},j=void 0}catch(qe){let ut=qe;if(!(qe instanceof JL))ut=new JL(qe.message,{cause:qe});if(r?.throwOnError)throw ut;x=Ye,_={},j=ut}}let U=v.options.loaderDeps?.({search:x})??"",T=U?JSON.stringify(U):"",{interpolatedPath:N,usedParams:G}=FR({path:v.fullPath,params:f,decoder:this.pathParamsDecoder,server:this.isServer}),X=v.id+N+T,J=this.getMatch(X),ee=g.get(v.id),re=J?._strictParams??G,oe=void 0;if(!J)try{TK(v,re)}catch(Ye){if(ja(Ye)||ii(Ye))oe=Ye;else oe=new AK(Ye.message,{cause:Ye});if(r?.throwOnError)throw oe}Object.assign(f,re);let ae=ee?"stay":"enter",ye;if(J)ye={...J,cause:ae,params:ee?.params??f,_strictParams:re,search:ee?MM(ee.search,x):MM(J.search,x),_strictSearch:_};else{let Ye=v.options.loader||v.options.beforeLoad||v.lazyFn||y3(v)?"pending":"success";ye={id:X,ssr:Hr??this.isServer?void 0:v.options.ssr,index:M,routeId:v.id,params:ee?.params??f,_strictParams:re,pathname:N,updatedAt:Date.now(),search:ee?MM(ee.search,x):x,_strictSearch:_,searchError:void 0,status:Ye,isFetching:!1,error:void 0,paramsError:oe,__routeContext:void 0,_nonReactive:{loadPromise:ru()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:ae,loaderDeps:ee?Es(ee.loaderDeps,U):U,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:v.options.staticData||{},fullPath:v.fullPath}}if(!r?.preload)ye.globalNotFound=c===v.id;ye.searchError=j;let We=this.getParentContext(y);ye.context={...We,...ye.__routeContext,...ye.__beforeLoadContext},m[M]=ye}for(let M=0;M<m.length;M++){let v=m[M],y=this.looseRoutesById[v.routeId],x=this.getMatch(v.id),_=g.get(v.routeId);if(v.params=_?MM(_.params,f):f,!x){let j=m[M-1],U=this.getParentContext(j);if(y.options.context){let T={deps:v.loaderDeps,params:v.params,context:U??{},location:e,navigate:(N)=>this.navigate({...N,_fromLocation:e}),buildLocation:this.buildLocation,cause:v.cause,abortController:v.abortController,preload:!!v.preload,matches:m,routeId:y.id};v.__routeContext=y.options.context(T)??void 0}v.context={...U,...v.__routeContext,...v.__beforeLoadContext}}}return m}matchRoutesLightweight(e){let{matchedRoutes:r,routeParams:a}=this.getMatchedRoutes(e.pathname),i=hM(r),f={...e.search};for(let g of r)try{Object.assign(f,JD(g.options.validateSearch,f))}catch{}let s=hM(this.stores.matchesId.get()),l=s&&this.stores.matchStores.get(s)?.get(),c=l&&l.routeId===i.id&&l.pathname===e.pathname,m;if(c)m=l.params;else{let g=Object.assign(Object.create(null),a);for(let M of r)try{TK(M,g)}catch{}m=g}return{matchedRoutes:r,fullPath:i.fullPath,search:f,params:m}}},JL=class extends Error{},AK=class extends Error{};function EK(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function JD(e,r){if(e==null)return{};if("~standard"in e){let a=e["~standard"].validate(r);if(a instanceof Promise)throw new JL("Async validation not supported");if(a.issues)throw new JL(JSON.stringify(a.issues,void 0,2),{cause:a});return a.value}if("parse"in e)return e.parse(r);if(typeof e==="function")return e(r);return{}}function DK({pathname:e,routesById:r,processedTree:a}){let i=Object.create(null),f=js(e),s=void 0,l=fK(f,a,!0);if(l)s=l.route,Object.assign(i,l.rawParams);return{matchedRoutes:l?.branch||[r.__root__],routeParams:i,foundRoute:s}}function zye({search:e,dest:r,destRoutes:a,_includeValidateSearch:i}){return Sye(a)(e,r,i??!1)}function Sye(e){let r={dest:null,_includeValidateSearch:!1,middlewares:[]};for(let f of e){if("search"in f.options){if(f.options.search?.middlewares)r.middlewares.push(...f.options.search.middlewares)}else if(f.options.preSearchFilters||f.options.postSearchFilters){let s=({search:l,next:c})=>{let m=l;if("preSearchFilters"in f.options&&f.options.preSearchFilters)m=f.options.preSearchFilters.reduce((M,v)=>v(M),l);let g=c(m);if("postSearchFilters"in f.options&&f.options.postSearchFilters)return f.options.postSearchFilters.reduce((M,v)=>v(M),g);return g};r.middlewares.push(s)}if(f.options.validateSearch){let s=({search:l,next:c})=>{let m=c(l);if(!r._includeValidateSearch)return m;try{return{...m,...JD(f.options.validateSearch,m)??void 0}}catch{return m}};r.middlewares.push(s)}}let a=({search:f})=>{let s=r.dest;if(!s.search)return{};if(s.search===!0)return f;return as(s.search,f)};r.middlewares.push(a);let i=(f,s,l)=>{if(f>=l.length)return s;let c=l[f];return c({search:s,next:(g)=>i(f+1,g,l)})};return function(s,l,c){return r.dest=l,r._includeValidateSearch=c,i(0,s,r.middlewares)}}function Lye(e,r){if(e!=="root")for(let a=r.length-1;a>=0;a--){let i=r[a];if(i.children)return i.id}return ns}function TK(e,r){let a=e.options.params?.parse??e.options.parseParams;if(a){let i=a(r);if(i===!1)throw Error("Route params.parse returned false for a matched route");Object.assign(r,i)}}var w3="Error preloading route! ☝️";var $D=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=(r)=>{this.originalIndex=r.originalIndex;let a=this.options,i=!a?.path&&!a?.id;if(this.parentRoute=this.options.getParentRoute?.(),i)this._path=ns;else if(!this.parentRoute)ai();let f=i?ns:a?.path;if(f&&f!=="/")f=NR(f);let s=a?.id||f,l=i?ns:wM([this.parentRoute.id==="__root__"?"":this.parentRoute.id,s]);if(f==="__root__")f="/";if(l!=="__root__")l=wM(["/",l]);let c=l==="__root__"?"/":wM([this.parentRoute.fullPath,f]);this._path=f,this._id=l,this._fullPath=c,this._to=js(c)},this.addChildren=(r)=>this._addFileChildren(r),this._addFileChildren=(r)=>{if(Array.isArray(r))this.children=r;if(typeof r==="object"&&r!==null)this.children=Object.values(r);return this},this._addFileTypes=()=>this,this.updateLoader=(r)=>(Object.assign(this.options,r),this),this.update=(r)=>(Object.assign(this.options,r),this),this.lazy=(r)=>(this.lazyFn=r,this),this.redirect=(r)=>Zl({from:this.fullPath,...r}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw Error("Route cannot have both an 'id' and a 'path' option.")}};var z3=class extends $D{constructor(e){super(e)}};S();var Na=((e)=>(e[e.None=0]="None",e[e.Mutable=1]="Mutable",e[e.Watching=2]="Watching",e[e.RecursedCheck=4]="RecursedCheck",e[e.Recursed=8]="Recursed",e[e.Dirty=16]="Dirty",e[e.Pending=32]="Pending",e))(Na||{});function jK({update:e,notify:r,unwatched:a}){return{link:i,unlink:f,propagate:s,checkDirty:l,shallowPropagate:c};function i(g,M,v){let y=M.depsTail;if(y!==void 0&&y.dep===g)return;let x=y!==void 0?y.nextDep:M.deps;if(x!==void 0&&x.dep===g){x.version=v,M.depsTail=x;return}let _=g.subsTail;if(_!==void 0&&_.version===v&&_.sub===M)return;let j=M.depsTail=g.subsTail={version:v,dep:g,sub:M,prevDep:y,nextDep:x,prevSub:_,nextSub:void 0};if(x!==void 0)x.prevDep=j;if(y!==void 0)y.nextDep=j;else M.deps=j;if(_!==void 0)_.nextSub=j;else g.subs=j}function f(g,M=g.sub){let{dep:v,prevDep:y,nextDep:x,nextSub:_,prevSub:j}=g;if(x!==void 0)x.prevDep=y;else M.depsTail=y;if(y!==void 0)y.nextDep=x;else M.deps=x;if(_!==void 0)_.prevSub=j;else v.subsTail=j;if(j!==void 0)j.nextSub=_;else if((v.subs=_)===void 0)a(v);return x}function s(g){let M=g.nextSub,v;e:do{let y=g.sub,x=y.flags;if(!(x&60))y.flags=x|32;else if(!(x&12))x=0;else if(!(x&4))y.flags=x&-9|32;else if(!(x&48)&&m(g,y))y.flags=x|40,x&=1;else x=0;if(x&2)r(y);if(x&1){let _=y.subs;if(_!==void 0){let j=(g=_).nextSub;if(j!==void 0)v={value:M,prev:v},M=j;continue}}if((g=M)!==void 0){M=g.nextSub;continue}while(v!==void 0)if(g=v.value,v=v.prev,g!==void 0){M=g.nextSub;continue e}break}while(!0)}function l(g,M){let v,y=0,x=!1;e:do{let _=g.dep,j=_.flags;if(M.flags&16)x=!0;else if((j&17)===17){if(e(_)){let U=_.subs;if(U.nextSub!==void 0)c(U);x=!0}}else if((j&33)===33){if(g.nextSub!==void 0||g.prevSub!==void 0)v={value:g,prev:v};g=_.deps,M=_,++y;continue}if(!x){let U=g.nextDep;if(U!==void 0){g=U;continue}}while(y--){let U=M.subs,T=U.nextSub!==void 0;if(T)g=v.value,v=v.prev;else g=U;if(x){if(e(M)){if(T)c(U);M=g.sub;continue}x=!1}else M.flags&=-33;M=g.sub;let N=g.nextDep;if(N!==void 0){g=N;continue e}}return x}while(!0)}function c(g){do{let M=g.sub,v=M.flags;if((v&48)===32){if(M.flags=v|16,(v&6)===2)r(M)}}while((g=g.nextSub)!==void 0)}function m(g,M){let v=M.depsTail;while(v!==void 0){if(v===g)return!0;v=v.prevDep}return!1}}function BK(e,r,a){let i=typeof e==="object",f=i?e:void 0;return{next:(i?e.next:e)?.bind(f),error:(i?e.error:r)?.bind(f),complete:(i?e.complete:a)?.bind(f)}}var S3=[],tO=0,{link:NK,unlink:Iye,propagate:Rye,checkDirty:YK,shallowPropagate:FK}=jK({update(e){return e._update()},notify(e){S3[L3++]=e,e.flags&=~Na.Watching},unwatched(e){if(e.depsTail!==void 0)e.depsTail=void 0,e.flags=Na.Mutable|Na.Dirty,rO(e)}}),eO=0,L3=0,Yd,k3=0;function UR(e){try{++k3,e()}finally{if(!--k3)C3()}}function rO(e){let r=e.depsTail,a=r!==void 0?r.nextDep:e.deps;while(a!==void 0)a=Iye(a,e)}function C3(){if(k3>0)return;while(eO<L3){let e=S3[eO];S3[eO++]=void 0,e.notify()}eO=0,L3=0}function oO(e,r){let a=typeof e==="function",i=e,f={_snapshot:a?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:a?Na.None:Na.Mutable,get(){if(Yd!==void 0)NK(f,Yd,tO);return f._snapshot},subscribe(s){let l=BK(s),c={current:!1},m=Pye(()=>{if(f.get(),!c.current)c.current=!0;else l.next?.(f._snapshot)});return{unsubscribe:()=>{m.stop()}}},_update(s){let l=Yd,c=r?.compare??Object.is;if(a)Yd=f,++tO,f.depsTail=void 0;else if(s===void 0)return!1;if(a)f.flags=Na.Mutable|Na.RecursedCheck;try{let m=f._snapshot,g=typeof s==="function"?s(m):s===void 0&&a?i(m):s;if(m===void 0||!c(m,g))return f._snapshot=g,!0;return!1}finally{if(Yd=l,a)f.flags&=~Na.RecursedCheck;rO(f)}}};if(a)f.flags=Na.Mutable|Na.Dirty,f.get=function(){let s=f.flags;if(s&Na.Dirty||s&Na.Pending&&YK(f.deps,f)){if(f._update()){let l=f.subs;if(l!==void 0)FK(l)}}else if(s&Na.Pending)f.flags=s&~Na.Pending;if(Yd!==void 0)NK(f,Yd,tO);return f._snapshot};else f.set=function(s){if(f._update(s)){let l=f.subs;if(l!==void 0)Rye(l),FK(l),C3()}};return f}function Pye(e){let r=()=>{let i=Yd;Yd=a,++tO,a.depsTail=void 0,a.flags=Na.Watching|Na.RecursedCheck;try{return e()}finally{Yd=i,a.flags&=~Na.RecursedCheck,rO(a)}},a={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:Na.Watching|Na.RecursedCheck,notify(){let i=this.flags;if(i&Na.Dirty||i&Na.Pending&&YK(this.deps,this))r();else this.flags=Na.Watching},stop(){this.flags=Na.None,this.depsTail=void 0,rO(this)}};return r(),a}S();S();var qye=UK();function Vye(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Hye=typeof Object.is==="function"?Object.is:Vye,Wye=qye.useSyncExternalStore,Gye=b,Kye=h,Xye=D,Qye=ia;var Ic=function(e,r,a,i,f){var s=Gye(null);if(s.current===null){var l={hasValue:!1,value:null};s.current=l}else l=s.current;s=Xye(function(){function m(x){if(!g){if(g=!0,M=x,x=i(x),f!==void 0&&l.hasValue){var _=l.value;if(f(_,x))return v=_}return v=x}if(_=v,Hye(M,x))return _;var j=i(x);if(f!==void 0&&f(_,j))return M=x,_;return M=x,v=j}var g=!1,M,v,y=a===void 0?null:a;return[function(){return m(r())},y===null?void 0:function(){return m(y())}]},[r,a,i,f]);var c=Wye(e,s[0],s[1]);return Kye(function(){l.hasValue=!0,l.value=c},[c]),Qye(c),c};function Jye(e,r){return e===r}function Zn(e,r,a=Jye){let i=P((l)=>{if(!e)return()=>{};let{unsubscribe:c}=e.subscribe(l);return c},[e]),f=P(()=>e?.get(),[e]);return Ic(i,f,f,r,a)}var $ye={get:()=>{return},subscribe:()=>({unsubscribe:()=>{}})};function Zi(e){let r=Ra(),a=dt(e.from?GG:K8),i=e.from??a,f=i?e.from?r.stores.getRouteMatchStore(i):r.stores.matchStores.get(i):void 0;if(Hr??r.isServer){let l=f?.get();if((e.shouldThrow??!0)&&!l)ai();if(l===void 0)return;return e.select?e.select(l):l}let s=b(void 0);return Zn(f??$ye,(l)=>{if((e.shouldThrow??!0)&&!l)ai();if(l===void 0)return;let c=e.select?e.select(l):l;if(e.structuralSharing??r.options.defaultStructuralSharing){let m=Es(s.current,c);return s.current=m,m}return c})}function zl(e){return Zi({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:(r)=>{let a=e.strict===!1?r.params:r._strictParams;return e.select?e.select(a):a}})}S();var J8=typeof window<"u"?He:h;function aO(e){let r=b({value:e,prev:null}),a=r.current.value;if(e!==a)r.current={value:e,prev:a};return r.current.prev}function qK(e,r,a={},i={}){h(()=>{if(!e.current||i.disabled||typeof IntersectionObserver!=="function")return;let f=new IntersectionObserver(([s])=>{r(s)},a);return f.observe(e.current),()=>{f.disconnect()}},[r,a,i.disabled,e])}function VK(e){let r=b(null);return dn(e,()=>r.current,[]),r}S();function Me(e){let r=Ra();return P((a)=>r.navigate({...a,from:a.from??e?.from}),[e?.from,r])}S();function HK({children:e,fallback:r=null}){return R3()?t(Cn,{children:e}):t(Cn,{children:r})}function R3(){return Yn(ebe,()=>!0,()=>!1)}function ebe(){return()=>{}}S();function GK(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(GK)}catch(e){console.error(e)}}S();function WK(e){var r="https://react.dev/errors/"+e;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)r+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function LM(){}var qR={d:{f:LM,r:function(){throw Error(WK(522))},D:LM,C:LM,L:LM,m:LM,X:LM,S:LM,M:LM},p:0,findDOMNode:null},tbe=Symbol.for("react.portal");function rbe(e,r,a){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:tbe,key:i==null?null:""+i,children:e,containerInfo:r,implementation:a}}var P3=Ga;var T3=qR,Qa=function(e,r){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)throw Error(WK(299));return rbe(e,r,null,a)},tn=function(e){var r=P3.T,a=qR.p;try{if(P3.T=null,qR.p=2,e)return e()}finally{P3.T=r,qR.p=a,qR.d.f()}};GK();function eX(e,r){let a=Ra(),i=VK(r),f=Hr??a.isServer,{activeProps:s,inactiveProps:l,activeOptions:c,to:m,preload:g,preloadDelay:M,preloadIntentProximity:v,hashScrollIntoView:y,replace:x,startTransition:_,resetScroll:j,viewTransition:U,children:T,target:N,disabled:G,style:X,className:J,onClick:ee,onBlur:re,onFocus:oe,onMouseEnter:ae,onMouseLeave:ye,onTouchStart:We,ignoreBlocker:Ye,params:ze,search:qe,hash:ut,state:$e,mask:xt,reloadDocument:Dt,unsafeRelative:Yt,from:fe,_fromLocation:yt,...Wt}=e;if(f){let Ke=$K(m);if(typeof m==="string"&&!Ke&&m.indexOf(":")>-1)try{if(new URL(m),Nu(m,a.protocolAllowlist))return{...Wt,ref:i,href:void 0,...T&&{children:T},...N&&{target:N},...G&&{disabled:G},...X&&{style:X},...J&&{className:J}};return{...Wt,ref:i,href:m,...T&&{children:T},...N&&{target:N},...G&&{disabled:G},...X&&{style:X},...J&&{className:J}}}catch{}let Ct=a.buildLocation({...e,from:e.from}),gr=JK(Ct.maskedLocation?Ct.maskedLocation.publicHref:Ct.publicHref,Ct.maskedLocation?Ct.maskedLocation.external:Ct.external,a.history,G),Fr=(()=>{if(gr?.external){if(Nu(gr.href,a.protocolAllowlist))return;return gr.href}if(Ke)return;if(typeof m==="string"&&m.indexOf(":")>-1)try{if(new URL(m),Nu(m,a.protocolAllowlist))return;return m}catch{}})(),ao=(()=>{if(Fr)return!1;let De=a.stores.location.get(),Zt=c?.exact??!1;if(Zt){if(!qD(De.pathname,Ct.pathname,a.basepath))return!1}else{let zt=_M(De.pathname,a.basepath),Ot=_M(Ct.pathname,a.basepath);if(!(zt.startsWith(Ot)&&(zt.length===Ot.length||zt[Ot.length]==="/")))return!1}if(c?.includeSearch??!0){if(De.search!==Ct.search){let zt=!De.search||typeof De.search==="object"&&!gM(De.search),Ot=!Ct.search||typeof Ct.search==="object"&&!gM(Ct.search);if(!(zt&&Ot)){if(!rc(De.search,Ct.search,{partial:!Zt,ignoreUndefined:!c?.explicitUndefined}))return!1}}}if(c?.includeHash)return!1;return!0})();if(Fr)return{...Wt,ref:i,href:Fr,...T&&{children:T},...N&&{target:N},...G&&{disabled:G},...X&&{style:X},...J&&{className:J}};let Ho=ao?as(s,{})??KK:ek,Ia=ao?ek:as(l,{})??ek,Se=(()=>{let De=X,Zt=Ho.style,zt=Ia.style;if(!De&&!Zt&&!zt)return;if(De&&!Zt&&!zt)return De;if(!De&&Zt&&!zt)return Zt;if(!De&&!Zt&&zt)return zt;return{...De,...Zt,...zt}})(),Pe=(()=>{let De=J,Zt=Ho.className,zt=Ia.className;if(!De&&!Zt&&!zt)return"";let Ot="";if(De)Ot=De;if(Zt)Ot=Ot?`${Ot} ${Zt}`:Zt;if(zt)Ot=Ot?`${Ot} ${zt}`:zt;return Ot})();return{...Wt,...Ho,...Ia,href:gr?.href,ref:i,disabled:!!G,target:N,...Se&&{style:Se},...Pe&&{className:Pe},...G&&XK,...ao&&QK}}let Ee=R3(),lr=D(()=>e,[a,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),sr=Zn(a.stores.location,(Ke)=>Ke,(Ke,Ct)=>Ke.href===Ct.href),Jt=D(()=>{let Ke={_fromLocation:sr,...lr};return a.buildLocation(Ke)},[a,sr,lr]),Or=Jt.maskedLocation?Jt.maskedLocation.publicHref:Jt.publicHref,Gt=Jt.maskedLocation?Jt.maskedLocation.external:Jt.external,Kt=D(()=>JK(Or,Gt,a.history,G),[G,Gt,Or,a.history]),ur=D(()=>{if(Kt?.external){if(Nu(Kt.href,a.protocolAllowlist))return;return Kt.href}if($K(m))return;if(typeof m!=="string"||m.indexOf(":")===-1)return;try{if(new URL(m),Nu(m,a.protocolAllowlist))return;return m}catch{}},[m,Kt,a.protocolAllowlist]),Ir=D(()=>{if(ur)return!1;if(c?.exact){if(!qD(sr.pathname,Jt.pathname,a.basepath))return!1}else{let Ke=_M(sr.pathname,a.basepath),Ct=_M(Jt.pathname,a.basepath);if(!(Ke.startsWith(Ct)&&(Ke.length===Ct.length||Ke[Ct.length]==="/")))return!1}if(c?.includeSearch??!0){if(!rc(sr.search,Jt.search,{partial:!c?.exact,ignoreUndefined:!c?.explicitUndefined}))return!1}if(c?.includeHash)return Ee&&sr.hash===Jt.hash;return!0},[c?.exact,c?.explicitUndefined,c?.includeHash,c?.includeSearch,sr,ur,Ee,Jt.hash,Jt.pathname,Jt.search,a.basepath]),Er=Ir?as(s,{})??KK:ek,dr=Ir?ek:as(l,{})??ek,mo=[J,Er.className,dr.className].filter(Boolean).join(" "),or=(X||Er.style||dr.style)&&{...X,...Er.style,...dr.style},[Yr,uo]=u(!1),jo=b(!1),ho=e.reloadDocument||ur?!1:g??a.options.defaultPreload,Kn=M??a.options.defaultPreloadDelay??0,un=P(()=>{a.preloadRoute({...lr,_builtLocation:Jt}).catch((Ke)=>{console.warn(Ke),console.warn(w3)})},[a,lr,Jt]);qK(i,P((Ke)=>{if(Ke?.isIntersecting)un()},[un]),abe,{disabled:!!G||ho!=="viewport"}),h(()=>{if(jo.current)return;if(!G&&ho==="render")un(),jo.current=!0},[G,un,ho]);let Vo=(Ke)=>{let Ct=Ke.currentTarget.getAttribute("target"),gr=N!==void 0?N:Ct;if(!G&&!nbe(Ke)&&!Ke.defaultPrevented&&(!gr||gr==="_self")&&Ke.button===0){Ke.preventDefault(),tn(()=>{uo(!0)});let Fr=a.subscribe("onResolved",()=>{Fr(),uo(!1)});a.navigate({...lr,replace:x,resetScroll:j,hashScrollIntoView:y,startTransition:_,viewTransition:U,ignoreBlocker:Ye})}};if(ur)return{...Wt,ref:i,href:ur,...T&&{children:T},...N&&{target:N},...G&&{disabled:G},...X&&{style:X},...J&&{className:J},...ee&&{onClick:ee},...re&&{onBlur:re},...oe&&{onFocus:oe},...ae&&{onMouseEnter:ae},...ye&&{onMouseLeave:ye},...We&&{onTouchStart:We}};let Pn=(Ke)=>{if(G||ho!=="intent")return;if(!Kn){un();return}let Ct=Ke.currentTarget;if(VR.has(Ct))return;let gr=setTimeout(()=>{VR.delete(Ct),un()},Kn);VR.set(Ct,gr)},$a=(Ke)=>{if(G||ho!=="intent")return;un()},Hi=(Ke)=>{if(G||!ho||!Kn)return;let Ct=Ke.currentTarget,gr=VR.get(Ct);if(gr)clearTimeout(gr),VR.delete(Ct)};return{...Wt,...Er,...dr,href:Kt?.href,ref:i,onClick:tk([ee,Vo]),onBlur:tk([re,Hi]),onFocus:tk([oe,Pn]),onMouseEnter:tk([ae,Pn]),onMouseLeave:tk([ye,Hi]),onTouchStart:tk([We,$a]),disabled:!!G,target:N,...or&&{style:or},...mo&&{className:mo},...G&&XK,...Ir&&QK,...Ee&&Yr&&obe}}var ek={},KK={className:"active"},XK={role:"link","aria-disabled":!0},QK={"data-status":"active","aria-current":"page"},obe={"data-transitioning":"transitioning"},VR=new WeakMap,abe={rootMargin:"100px"},tk=(e)=>(r)=>{for(let a of e){if(!a)continue;if(r.defaultPrevented)return;a(r)}};function JK(e,r,a,i){if(i)return;if(r)return{href:e,external:!0};return{href:a.createHref(e)||"/",external:!1}}function $K(e){if(typeof e!=="string")return!1;let r=e.charCodeAt(0);if(r===47)return e.charCodeAt(1)!==47;return r===46}var Un=O((e,r)=>{let{_asChild:a,...i}=e,{type:f,...s}=eX(i,r),l=typeof i.children==="function"?i.children({isActive:s["data-status"]==="active"}):i.children;if(!a){let{disabled:c,...m}=s;return q("a",m,l)}return q(a,s,l)});function nbe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function HR(e){return Zi({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:(r)=>e.select?e.select(r.loaderData):r.loaderData})}function WR(e){let{select:r,...a}=e;return Zi({...a,select:(i)=>r?r(i.loaderDeps):i.loaderDeps})}function GR(e){return Zi({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:(r)=>e.select?e.select(r.search):r.search})}function KR(e){return Zi({...e,select:(r)=>e.select?e.select(r.context):r.context})}S();var tX=class extends $D{constructor(e){super(e);this.useMatch=(r)=>Zi({select:r?.select,from:this.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>KR({...r,from:this.id}),this.useSearch=(r)=>GR({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useParams=(r)=>zl({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useLoaderDeps=(r)=>WR({...r,from:this.id}),this.useLoaderData=(r)=>HR({...r,from:this.id}),this.useNavigate=()=>Me({from:this.fullPath}),this.Link=O((r,a)=>t(Un,{ref:a,from:this.fullPath,...r}))}};function A3(e){return new tX(e)}function E3(){return(e)=>oX(e)}var rX=class extends z3{constructor(e){super(e);this.useMatch=(r)=>Zi({select:r?.select,from:this.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>KR({...r,from:this.id}),this.useSearch=(r)=>GR({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useParams=(r)=>zl({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useLoaderDeps=(r)=>WR({...r,from:this.id}),this.useLoaderData=(r)=>HR({...r,from:this.id}),this.useNavigate=()=>Me({from:this.fullPath}),this.Link=O((r,a)=>t(Un,{ref:a,from:this.fullPath,...r}))}};function oX(e){return new rX(e)}function Wr(e){return new aX(e,{silent:!0}).createRoute}var aX=class{constructor(e,r){this.path=e,this.createRoute=(a)=>{let i=A3(a);return i.isRoot=!1,i},this.silent=r?.silent}};var D3=class{constructor(e){this.useMatch=(r)=>Zi({select:r?.select,from:this.options.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>KR({...r,from:this.options.id}),this.useSearch=(r)=>GR({select:r?.select,structuralSharing:r?.structuralSharing,from:this.options.id}),this.useParams=(r)=>zl({select:r?.select,structuralSharing:r?.structuralSharing,from:this.options.id}),this.useLoaderDeps=(r)=>WR({...r,from:this.options.id}),this.useLoaderData=(r)=>HR({...r,from:this.options.id}),this.useNavigate=()=>Me({from:Ra().routesById[this.options.id].fullPath}),this.options=e}};function Ue(e){if(typeof e==="object")return new D3(e);return(r)=>new D3({id:e,...r})}S();function $8(e){let r=e.errorComponent??ez;return t(ibe,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:a,reset:i})=>{if(a)return q(r,{error:a,reset:i});return e.children}})}var ibe=class extends ks{constructor(...e){super(...e);this.state={error:null}}static getDerivedStateFromProps(e,r){let a=e.getResetKey();if(r.error&&r.resetKey!==a)return{resetKey:a,error:null};return{resetKey:a}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,r){if(this.props.onCatch)this.props.onCatch(e,r)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function ez({error:e}){let[r,a]=u(!1);return o("div",{style:{padding:".5rem",maxWidth:"100%"},children:[o("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[t("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),t("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>a((i)=>!i),children:r?"Hide Error":"Show Error"})]}),t("div",{style:{height:".25rem"}}),r?t("div",{children:t("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e.message?t("code",{children:e.message}):null})}):null]})}S();function nX(e){let r=Ra();if(Hr??r.isServer){let i=`not-found-${r.stores.location.get().pathname}-${r.stores.status.get()}`;return t($8,{getResetKey:()=>i,onCatch:(f,s)=>{if(ja(f))e.onCatch?.(f,s);else throw f},errorComponent:({error:f})=>{if(ja(f))return e.fallback?.(f);else throw f},children:e.children})}let a=`not-found-${Zn(r.stores.location,(i)=>i.pathname)}-${Zn(r.stores.status,(i)=>i)}`;return t($8,{getResetKey:()=>a,onCatch:(i,f)=>{if(ja(i))e.onCatch?.(i,f);else throw i},errorComponent:({error:i})=>{if(ja(i))return e.fallback?.(i);else throw i},children:e.children})}function iX(){return t("p",{children:"Not Found"})}S();function kM(e){return t(Z,{children:e.children})}S();function nO(e,r,a){if(!r.options.notFoundComponent){if(e.options.defaultNotFoundComponent)return t(e.options.defaultNotFoundComponent,{...a});return t(iX,{})}return t(r.options.notFoundComponent,{...a})}function fX({children:e}){let r=Ra();if(!(Hr??r.isServer))return null;return t("script",{nonce:r.options.ssr?.nonce,dangerouslySetInnerHTML:{__html:e+";document.currentScript.remove()"}})}function sX(e){return null}function lX(){let e=sX(Ra());if(!e)return null;return t(fX,{children:e})}S();var iO=Bn(function({matchId:r}){let a=Ra();if(Hr??a.isServer){let l=a.stores.matchStores.get(r)?.get();if(!l)ai();let c=l.routeId,m=a.routesById[c].parentRoute?.id;return t(cX,{router:a,matchId:r,resetKey:a.stores.loadedAt.get(),matchState:{routeId:c,ssr:l.ssr,_displayPending:l._displayPending,parentRouteId:m}})}let i=a.stores.matchStores.get(r);if(!i)ai();let f=Zn(a.stores.loadedAt,(l)=>l),s=Zn(i,(l)=>l);return t(cX,{router:a,matchId:r,resetKey:f,matchState:D(()=>{let l=s.routeId,c=a.routesById[l].parentRoute?.id;return{routeId:l,ssr:s.ssr,_displayPending:s._displayPending,parentRouteId:c}},[s._displayPending,s.routeId,s.ssr,a.routesById])})});function cX({router:e,matchId:r,resetKey:a,matchState:i}){let f=e.routesById[i.routeId],s=f.options.pendingComponent??e.options.defaultPendingComponent,l=s?t(s,{}):null,c=f.options.errorComponent??e.options.defaultErrorComponent,m=f.options.onCatch??e.options.defaultOnCatch,g=f.isRoot?f.options.notFoundComponent??e.options.notFoundRoute?.options.component:f.options.notFoundComponent,M=i.ssr===!1||i.ssr==="data-only",v=(!f.isRoot||f.options.wrapInSuspense||M)&&(f.options.wrapInSuspense??s??(f.options.errorComponent?.preload||M))?aa:kM,y=c?$8:kM,x=g?nX:kM;return o(f.isRoot?f.options.shellComponent??kM:kM,{children:[t(K8.Provider,{value:r,children:t(v,{fallback:l,children:t(y,{getResetKey:()=>a,errorComponent:c||ez,onCatch:(_,j)=>{if(ja(_))throw _.routeId??=i.routeId,_;m?.(_,j)},children:t(x,{fallback:(_)=>{if(_.routeId??=i.routeId,!g||_.routeId&&_.routeId!==i.routeId||!_.routeId&&!f.isRoot)throw _;return q(g,_)},children:M||i._displayPending?t(HK,{fallback:l,children:t(uX,{matchId:r})}):t(uX,{matchId:r})})})})}),i.parentRouteId===ns?o(Z,{children:[t(fbe,{resetKey:a}),e.options.scrollRestoration&&(Hr??e.isServer)?t(lX,{}):null]}):null]})}function fbe({resetKey:e}){let r=Ra();if(Hr??r.isServer)return null;let a=b(void 0);return J8(()=>{let i=r.latestLocation.href;if(a.current===void 0||a.current!==i)r.emit({type:"onRendered",...LZ(r.stores.location.get(),r.stores.resolvedLocation.get())}),a.current=i},[r.latestLocation.state.__TSR_key,e,r]),null}var uX=Bn(function({matchId:r}){let a=Ra(),i=(M,v)=>a.getMatch(M.id)?._nonReactive[v]??M._nonReactive[v];if(Hr??a.isServer){let M=a.stores.matchStores.get(r)?.get();if(!M)ai();let v=M.routeId,y=a.routesById[v],x=(a.routesById[v].options.remountDeps??a.options.defaultRemountDeps)?.({routeId:v,loaderDeps:M.loaderDeps,params:M._strictParams,search:M._strictSearch}),_=x?JSON.stringify(x):void 0,j=y.options.component??a.options.defaultComponent,U=j?t(j,{},_):t(CM,{});if(M._displayPending)throw i(M,"displayPendingPromise");if(M._forcePending)throw i(M,"minPendingPromise");if(M.status==="pending")throw i(M,"loadPromise");if(M.status==="notFound"){if(!ja(M.error))ai();return nO(a,y,M.error)}if(M.status==="redirected"){if(!ii(M.error))ai();throw i(M,"loadPromise")}if(M.status==="error")return t((y.options.errorComponent??a.options.defaultErrorComponent)||ez,{error:M.error,reset:void 0,info:{componentStack:""}});return U}let f=a.stores.matchStores.get(r);if(!f)ai();let s=Zn(f,(M)=>M),l=s.routeId,c=a.routesById[l],m=D(()=>{let M=(a.routesById[l].options.remountDeps??a.options.defaultRemountDeps)?.({routeId:l,loaderDeps:s.loaderDeps,params:s._strictParams,search:s._strictSearch});return M?JSON.stringify(M):void 0},[l,s.loaderDeps,s._strictParams,s._strictSearch,a.options.defaultRemountDeps,a.routesById]),g=D(()=>{let M=c.options.component??a.options.defaultComponent;if(M)return t(M,{},m);return t(CM,{})},[m,c.options.component,a.options.defaultComponent]);if(s._displayPending)throw i(s,"displayPendingPromise");if(s._forcePending)throw i(s,"minPendingPromise");if(s.status==="pending"){let M=c.options.pendingMinMs??a.options.defaultPendingMinMs;if(M){let v=a.getMatch(s.id);if(v&&!v._nonReactive.minPendingPromise){if(!(Hr??a.isServer)){let y=ru();v._nonReactive.minPendingPromise=y,setTimeout(()=>{y.resolve(),v._nonReactive.minPendingPromise=void 0},M)}}}throw i(s,"loadPromise")}if(s.status==="notFound"){if(!ja(s.error))ai();return nO(a,c,s.error)}if(s.status==="redirected"){if(!ii(s.error))ai();throw i(s,"loadPromise")}if(s.status==="error"){if(Hr??a.isServer)return t((c.options.errorComponent??a.options.defaultErrorComponent)||ez,{error:s.error,reset:void 0,info:{componentStack:""}});throw s.error}return g}),CM=Bn(function(){let r=Ra(),a=dt(K8),i,f=!1,s;if(Hr??r.isServer){let g=r.stores.matches.get(),M=a?g.findIndex((y)=>y.id===a):-1,v=M>=0?g[M]:void 0;i=v?.routeId,f=v?.globalNotFound??!1,s=M>=0?g[M+1]?.id:void 0}else{let g=a?r.stores.matchStores.get(a):void 0;[i,f]=Zn(g,(M)=>[M?.routeId,M?.globalNotFound??!1]),s=Zn(r.stores.matchesId,(M)=>M[M.findIndex((v)=>v===a)+1])}let l=i?r.routesById[i]:void 0,c=r.options.defaultPendingComponent?t(r.options.defaultPendingComponent,{}):null;if(f){if(!l)ai();return nO(r,l,void 0)}if(!s)return null;let m=t(iO,{matchId:s});if(i===ns)return t(aa,{fallback:c,children:m});return m});var dX=(e)=>{if(Hr??e.isServer)return{createMutableStore:h3,createReadonlyStore:g3,batch:(r)=>r()};return{createMutableStore:oO,createReadonlyStore:oO,batch:UR}};var O3=(e)=>new ZX(e),ZX=class extends _3{constructor(e){super(e,dX)}};S();function pX(){let e=Ra(),r=b({router:e,mounted:!1}),[a,i]=u(!1),f=Zn(e.stores.isLoading,(v)=>v),s=Zn(e.stores.hasPending,(v)=>v),l=aO(f),c=f||a||s,m=aO(c),g=f||s,M=aO(g);return e.startTransition=(v)=>{i(!0),NL(()=>{v(),i(!1)})},h(()=>{let v=e.history.subscribe(e.load),y=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(js(e.latestLocation.publicHref)!==js(y.publicHref))e.commitLocation({...y,replace:!0});return()=>{v()}},[e,e.history]),J8(()=>{if(typeof window<"u"&&e.ssr||r.current.router===e&&r.current.mounted)return;r.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(y){console.error(y)}})()},[e]),J8(()=>{if(l&&!f)e.emit({type:"onLoad",...LZ(e.stores.location.get(),e.stores.resolvedLocation.get())})},[l,e,f]),J8(()=>{if(M&&!g)e.emit({type:"onBeforeRouteMount",...LZ(e.stores.location.get(),e.stores.resolvedLocation.get())})},[g,M,e]),J8(()=>{if(m&&!c){let v=LZ(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:"onResolved",...v}),UR(()=>{e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())})}},[c,m,e]),null}S();function mX(){let e=Ra(),r=e.routesById[ns].options.pendingComponent??e.options.defaultPendingComponent,a=r?t(r,{}):null,i=o((Hr??e.isServer)||typeof document<"u"&&e.ssr?kM:aa,{fallback:a,children:[!(Hr??e.isServer)&&t(pX,{}),t(sbe,{})]});return e.options.InnerWrap?t(e.options.InnerWrap,{children:i}):i}function sbe(){let e=Ra(),r=Hr??e.isServer,a=r?e.stores.firstId.get():Zn(e.stores.firstId,(s)=>s),i=r?e.stores.loadedAt.get():Zn(e.stores.loadedAt,(s)=>s),f=a?t(iO,{matchId:a}):null;return t(K8.Provider,{value:a,children:e.options.disableGlobalCatchBoundary?f:t($8,{getResetKey:()=>i,errorComponent:ez,onCatch:void 0,children:f})})}S();function hX({router:e,children:r,...a}){if(gM(a))e.update({...e.options,...a,context:{...e.options.context,...a.context}});let i=t(jD.Provider,{value:e,children:r});if(e.options.Wrap)return t(e.options.Wrap,{children:i});return i}function j3({router:e,...r}){return t(hX,{router:e,...r,children:t(mX,{})})}S();function tz(e){let r=Ra({warn:e?.router===void 0}),a=e?.router||r;if(Hr??a.isServer){let f=a.stores.__store.get();return e?.select?e.select(f):f}let i=b(void 0);return Zn(a.stores.__store,(f)=>{if(e?.select){if(e.structuralSharing??a.options.defaultStructuralSharing){let s=Es(i.current,e.select(f));return i.current=s,s}return e.select(f)}return f})}S();function Ree(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ree)}catch(e){console.error(e)}}$u();S();function jt(e){var r="https://react.dev/errors/"+e;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)r+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function cbe(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function BP(e){var r=e,a=e;if(e.alternate)for(;r.return;)r=r.return;else{e=r;do r=e,(r.flags&4098)!==0&&(a=r.return),e=r.return;while(e)}return r.tag===3?a:null}function XQ(e){if(e.tag===13){var r=e.memoizedState;if(r===null&&(e=e.alternate,e!==null&&(r=e.memoizedState)),r!==null)return r.dehydrated}return null}function QQ(e){if(e.tag===31){var r=e.memoizedState;if(r===null&&(e=e.alternate,e!==null&&(r=e.memoizedState)),r!==null)return r.dehydrated}return null}function LX(e){if(BP(e)!==e)throw Error(jt(188))}function ube(e){var r=e.alternate;if(!r){if(r=BP(e),r===null)throw Error(jt(188));return r!==e?null:e}for(var a=e,i=r;;){var f=a.return;if(f===null)break;var s=f.alternate;if(s===null){if(i=f.return,i!==null){a=i;continue}break}if(f.child===s.child){for(s=f.child;s;){if(s===a)return LX(f),e;if(s===i)return LX(f),r;s=s.sibling}throw Error(jt(188))}if(a.return!==i.return)a=f,i=s;else{for(var l=!1,c=f.child;c;){if(c===a){l=!0,a=f,i=s;break}if(c===i){l=!0,i=f,a=s;break}c=c.sibling}if(!l){for(c=s.child;c;){if(c===a){l=!0,a=s,i=f;break}if(c===i){l=!0,i=s,a=f;break}c=c.sibling}if(!l)throw Error(jt(189))}}if(a.alternate!==i)throw Error(jt(190))}if(a.tag!==3)throw Error(jt(188));return a.stateNode.current===a?e:r}function JQ(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e;for(e=e.child;e!==null;){if(r=JQ(e),r!==null)return r;e=e.sibling}return null}var Ua=Object.assign,dbe=Symbol.for("react.element"),pO=Symbol.for("react.transitional.element"),nP=Symbol.for("react.portal"),lk=Symbol.for("react.fragment"),$Q=Symbol.for("react.strict_mode"),S6=Symbol.for("react.profiler"),eJ=Symbol.for("react.consumer"),DZ=Symbol.for("react.context"),_B=Symbol.for("react.forward_ref"),L6=Symbol.for("react.suspense"),k6=Symbol.for("react.suspense_list"),wB=Symbol.for("react.memo"),RM=Symbol.for("react.lazy"),C6=Symbol.for("react.activity"),Zbe=Symbol.for("react.memo_cache_sentinel"),kX=Symbol.iterator;function $R(e){if(e===null||typeof e!=="object")return null;return e=kX&&e[kX]||e["@@iterator"],typeof e==="function"?e:null}var pbe=Symbol.for("react.client.reference");function I6(e){if(e==null)return null;if(typeof e==="function")return e.$$typeof===pbe?null:e.displayName||e.name||null;if(typeof e==="string")return e;switch(e){case lk:return"Fragment";case S6:return"Profiler";case $Q:return"StrictMode";case L6:return"Suspense";case k6:return"SuspenseList";case C6:return"Activity"}if(typeof e==="object")switch(e.$$typeof){case nP:return"Portal";case DZ:return e.displayName||"Context";case eJ:return(e._context.displayName||"Context")+".Consumer";case _B:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case wB:return r=e.displayName||null,r!==null?r:I6(e.type)||"Memo";case RM:r=e._payload,e=e._init;try{return I6(e(r))}catch(a){}}return null}var iP=Array.isArray,qr=Ga,Bo=T3,lz={pending:!1,data:null,method:null,action:null},R6=[],ck=-1;function rZ(e){return{current:e}}function wi(e){0>ck||(e.current=R6[ck],R6[ck]=null,ck--)}function Pa(e,r){ck++,R6[ck]=e.current,e.current=r}var tZ=rZ(null),LP=rZ(null),YM=rZ(null),qO=rZ(null);function VO(e,r){switch(Pa(YM,r),Pa(LP,e),Pa(tZ,null),r.nodeType){case 9:case 11:e=(e=r.documentElement)?(e=e.namespaceURI)?TQ(e):0:0;break;default:if(e=r.tagName,r=r.namespaceURI)r=TQ(r),e=vee(r,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}wi(tZ),Pa(tZ,e)}function kk(){wi(tZ),wi(LP),wi(YM)}function P6(e){e.memoizedState!==null&&Pa(qO,e);var r=tZ.current,a=vee(r,e.type);r!==a&&(Pa(LP,e),Pa(tZ,a))}function HO(e){LP.current===e&&(wi(tZ),wi(LP)),qO.current===e&&(wi(qO),jP._currentValue=lz)}var G3,CX;function az(e){if(G3===void 0)try{throw Error()}catch(a){var r=a.stack.trim().match(/\n( *(at )?)/);G3=r&&r[1]||"",CX=-1<a.stack.indexOf(`
3
- at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
4
- `+G3+e+CX}var K3=!1;function X3(e,r){if(!e||K3)return"";K3=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(r){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(x){var y=x}Reflect.construct(e,[],v)}else{try{v.call()}catch(x){y=x}e.call(v.prototype)}}else{try{throw Error()}catch(x){y=x}(v=e())&&typeof v.catch==="function"&&v.catch(function(){})}}catch(x){if(x&&y&&typeof x.stack==="string")return[x.stack,y.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=i.DetermineComponentFrameRoot(),l=s[0],c=s[1];if(l&&c){var m=l.split(`
5
- `),g=c.split(`
6
- `);for(f=i=0;i<m.length&&!m[i].includes("DetermineComponentFrameRoot");)i++;for(;f<g.length&&!g[f].includes("DetermineComponentFrameRoot");)f++;if(i===m.length||f===g.length)for(i=m.length-1,f=g.length-1;1<=i&&0<=f&&m[i]!==g[f];)f--;for(;1<=i&&0<=f;i--,f--)if(m[i]!==g[f]){if(i!==1||f!==1)do if(i--,f--,0>f||m[i]!==g[f]){var M=`
7
- `+m[i].replace(" at new "," at ");return e.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",e.displayName)),M}while(1<=i&&0<=f);break}}}finally{K3=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?az(a):""}function mbe(e,r){switch(e.tag){case 26:case 27:case 5:return az(e.type);case 16:return az("Lazy");case 13:return e.child!==r&&r!==null?az("Suspense Fallback"):az("Suspense");case 19:return az("SuspenseList");case 0:case 15:return X3(e.type,!1);case 11:return X3(e.type.render,!1);case 1:return X3(e.type,!0);case 31:return az("Activity");default:return""}}function IX(e){try{var r="",a=null;do r+=mbe(e,a),a=e,e=e.return;while(e);return r}catch(i){return`
8
- Error generating stack: `+i.message+`
9
- `+i.stack}}var T6=Object.prototype.hasOwnProperty,zB=Ds,Q3=cl,hbe=dl,gbe=ul,Fl=Jn,Mbe=ZO,tJ=il,rJ=ll,WO=Ns,vbe=dO,oJ=Ka,xbe=void 0,ybe=void 0,YP=null,Bl=null;function OM(e){if(typeof xbe==="function"&&ybe(e),Bl&&typeof Bl.setStrictMode==="function")try{Bl.setStrictMode(YP,e)}catch(r){}}var Yl=Math.clz32?Math.clz32:wbe,{log:bbe,LN2:_be}=Math;function wbe(e){return e>>>=0,e===0?32:31-(bbe(e)/_be|0)|0}var mO=256,hO=262144,gO=4194304;function nz(e){var r=e&42;if(r!==0)return r;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function vj(e,r,a){var i=e.pendingLanes;if(i===0)return 0;var f=0,s=e.suspendedLanes,l=e.pingedLanes;e=e.warmLanes;var c=i&134217727;return c!==0?(i=c&~s,i!==0?f=nz(i):(l&=c,l!==0?f=nz(l):a||(a=c&~e,a!==0&&(f=nz(a))))):(c=i&~s,c!==0?f=nz(c):l!==0?f=nz(l):a||(a=i&~e,a!==0&&(f=nz(a)))),f===0?0:r!==0&&r!==f&&(r&s)===0&&(s=f&-f,a=r&-r,s>=a||s===32&&(a&4194048)!==0)?r:f}function UP(e,r){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&r)===0}function zbe(e,r){switch(e){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+5000;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 aJ(){var e=gO;return gO<<=1,(gO&62914560)===0&&(gO=4194304),e}function J3(e){for(var r=[],a=0;31>a;a++)r.push(e);return r}function xj(e,r){e.pendingLanes|=r,r!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Sbe(e,r,a,i,f,s){var l=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var{entanglements:c,expirationTimes:m,hiddenUpdates:g}=e;for(a=l&~a;0<a;){var M=31-Yl(a),v=1<<M;c[M]=0,m[M]=-1;var y=g[M];if(y!==null)for(g[M]=null,M=0;M<y.length;M++){var x=y[M];x!==null&&(x.lane&=-536870913)}a&=~v}i!==0&&nJ(e,i,0),s!==0&&f===0&&e.tag!==0&&(e.suspendedLanes|=s&~(l&~r))}function nJ(e,r,a){e.pendingLanes|=r,e.suspendedLanes&=~r;var i=31-Yl(r);e.entangledLanes|=r,e.entanglements[i]=e.entanglements[i]|1073741824|a&261930}function iJ(e,r){var a=e.entangledLanes|=r;for(e=e.entanglements;a;){var i=31-Yl(a),f=1<<i;f&r|e[i]&r&&(e[i]|=r),a&=~f}}function fJ(e,r){var a=r&-r;return a=(a&42)!==0?1:sJ(a),(a&(e.suspendedLanes|r))!==0?0:a}function sJ(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function SB(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function lJ(){var e=Bo.p;if(e!==0)return e;return e=window.event,e===void 0?32:kee(e.type)}function RX(e,r){var a=Bo.p;try{return Bo.p=e,r()}finally{Bo.p=a}}var $M=Math.random().toString(36).slice(2),Gi="__reactFiber$"+$M,Gs="__reactProps$"+$M,qP="__reactContainer$"+$M,A6="__reactEvents$"+$M,Lbe="__reactListeners$"+$M,kbe="__reactHandles$"+$M,PX="__reactResources$"+$M,VP="__reactMarker$"+$M;function LB(e){delete e[Gi],delete e[Gs],delete e[A6],delete e[Lbe],delete e[kbe]}function uk(e){var r=e[Gi];if(r)return r;for(var a=e.parentNode;a;){if(r=a[qP]||a[Gi]){if(a=r.alternate,r.child!==null||a!==null&&a.child!==null)for(e=jQ(e);e!==null;){if(a=e[Gi])return a;e=jQ(e)}return r}e=a,a=e.parentNode}return null}function Nk(e){if(e=e[Gi]||e[qP]){var r=e.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return e}return null}function fP(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e.stateNode;throw Error(jt(33))}function yk(e){var r=e[PX];return r||(r=e[PX]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function _i(e){e[VP]=!0}var cJ=new Set,uJ={};function yz(e,r){Ck(e,r),Ck(e+"Capture",r)}function Ck(e,r){uJ[e]=r;for(e=0;e<r.length;e++)cJ.add(r[e])}var Cbe=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]*$"),TX={},AX={};function Ibe(e){if(T6.call(AX,e))return!0;if(T6.call(TX,e))return!1;if(Cbe.test(e))return AX[e]=!0;return TX[e]=!0,!1}function kO(e,r,a){if(Ibe(r))if(a===null)e.removeAttribute(r);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(r);return;case"boolean":var i=r.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(r);return}}e.setAttribute(r,""+a)}}function MO(e,r,a){if(a===null)e.removeAttribute(r);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttribute(r,""+a)}}function CZ(e,r,a,i){if(i===null)e.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(r,a,""+i)}}function nc(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function dJ(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Rbe(e,r,a){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,r);if(!e.hasOwnProperty(r)&&typeof i<"u"&&typeof i.get==="function"&&typeof i.set==="function"){var{get:f,set:s}=i;return Object.defineProperty(e,r,{configurable:!0,get:function(){return f.call(this)},set:function(l){a=""+l,s.call(this,l)}}),Object.defineProperty(e,r,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(l){a=""+l},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function E6(e){if(!e._valueTracker){var r=dJ(e)?"checked":"value";e._valueTracker=Rbe(e,r,""+e[r])}}function ZJ(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var a=r.getValue(),i="";return e&&(i=dJ(e)?e.checked?"true":"false":e.value),e=i,e!==a?(r.setValue(e),!0):!1}function GO(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch(r){return e.body}}var Pbe=/[\n"\\]/g;function sc(e){return e.replace(Pbe,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function D6(e,r,a,i,f,s,l,c){if(e.name="",l!=null&&typeof l!=="function"&&typeof l!=="symbol"&&typeof l!=="boolean"?e.type=l:e.removeAttribute("type"),r!=null)if(l==="number"){if(r===0&&e.value===""||e.value!=r)e.value=""+nc(r)}else e.value!==""+nc(r)&&(e.value=""+nc(r));else l!=="submit"&&l!=="reset"||e.removeAttribute("value");r!=null?O6(e,l,nc(r)):a!=null?O6(e,l,nc(a)):i!=null&&e.removeAttribute("value"),f==null&&s!=null&&(e.defaultChecked=!!s),f!=null&&(e.checked=f&&typeof f!=="function"&&typeof f!=="symbol"),c!=null&&typeof c!=="function"&&typeof c!=="symbol"&&typeof c!=="boolean"?e.name=""+nc(c):e.removeAttribute("name")}function pJ(e,r,a,i,f,s,l,c){if(s!=null&&typeof s!=="function"&&typeof s!=="symbol"&&typeof s!=="boolean"&&(e.type=s),r!=null||a!=null){if(!(s!=="submit"&&s!=="reset"||r!==void 0&&r!==null)){E6(e);return}a=a!=null?""+nc(a):"",r=r!=null?""+nc(r):a,c||r===e.value||(e.value=r),e.defaultValue=r}i=i!=null?i:f,i=typeof i!=="function"&&typeof i!=="symbol"&&!!i,e.checked=c?e.checked:!!i,e.defaultChecked=!!i,l!=null&&typeof l!=="function"&&typeof l!=="symbol"&&typeof l!=="boolean"&&(e.name=l),E6(e)}function O6(e,r,a){r==="number"&&GO(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function bk(e,r,a,i){if(e=e.options,r){r={};for(var f=0;f<a.length;f++)r["$"+a[f]]=!0;for(a=0;a<e.length;a++)f=r.hasOwnProperty("$"+e[a].value),e[a].selected!==f&&(e[a].selected=f),f&&i&&(e[a].defaultSelected=!0)}else{a=""+nc(a),r=null;for(f=0;f<e.length;f++){if(e[f].value===a){e[f].selected=!0,i&&(e[f].defaultSelected=!0);return}r!==null||e[f].disabled||(r=e[f])}r!==null&&(r.selected=!0)}}function mJ(e,r,a){if(r!=null&&(r=""+nc(r),r!==e.value&&(e.value=r),a==null)){e.defaultValue!==r&&(e.defaultValue=r);return}e.defaultValue=a!=null?""+nc(a):""}function hJ(e,r,a,i){if(r==null){if(i!=null){if(a!=null)throw Error(jt(92));if(iP(i)){if(1<i.length)throw Error(jt(93));i=i[0]}a=i}a==null&&(a=""),r=a}a=nc(r),e.defaultValue=a,i=e.textContent,i===a&&i!==""&&i!==null&&(e.value=i),E6(e)}function Ik(e,r){if(r){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=r;return}}e.textContent=r}var Tbe=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 EX(e,r,a){var i=r.indexOf("--")===0;a==null||typeof a==="boolean"||a===""?i?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="":i?e.setProperty(r,a):typeof a!=="number"||a===0||Tbe.has(r)?r==="float"?e.cssFloat=a:e[r]=(""+a).trim():e[r]=a+"px"}function gJ(e,r,a){if(r!=null&&typeof r!=="object")throw Error(jt(62));if(e=e.style,a!=null){for(var i in a)!a.hasOwnProperty(i)||r!=null&&r.hasOwnProperty(i)||(i.indexOf("--")===0?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="");for(var f in r)i=r[f],r.hasOwnProperty(f)&&a[f]!==i&&EX(e,f,i)}else for(var s in r)r.hasOwnProperty(s)&&EX(e,s,r[s])}function kB(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Abe=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"]]),Ebe=/^[\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 CO(e){return Ebe.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function OZ(){}var j6=null;function CB(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var dk=null,_k=null;function DX(e){var r=Nk(e);if(r&&(e=r.stateNode)){var a=e[Gs]||null;e:switch(e=r.stateNode,r.type){case"input":if(D6(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),r=a.name,a.type==="radio"&&r!=null){for(a=e;a.parentNode;)a=a.parentNode;a=a.querySelectorAll('input[name="'+sc(""+r)+'"][type="radio"]');for(r=0;r<a.length;r++){var i=a[r];if(i!==e&&i.form===e.form){var f=i[Gs]||null;if(!f)throw Error(jt(90));D6(i,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(r=0;r<a.length;r++)i=a[r],i.form===e.form&&ZJ(i)}break e;case"textarea":mJ(e,a.value,a.defaultValue);break e;case"select":r=a.value,r!=null&&bk(e,!!a.multiple,r,!1)}}}var $3=!1;function MJ(e,r,a){if($3)return e(r,a);$3=!0;try{var i=e(r);return i}finally{if($3=!1,dk!==null||_k!==null){if(Pj(),dk&&(r=dk,e=_k,_k=dk=null,DX(r),e))for(r=0;r<e.length;r++)DX(e[r])}}}function kP(e,r){var a=e.stateNode;if(a===null)return null;var i=a[Gs]||null;if(i===null)return null;a=i[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":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(a&&typeof a!=="function")throw Error(jt(231,r,typeof a));return a}var YZ=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),N6=!1;if(YZ)try{iz={},Object.defineProperty(iz,"passive",{get:function(){N6=!0}}),window.addEventListener("test",iz,iz),window.removeEventListener("test",iz,iz)}catch(e){N6=!1}var iz,jM=null,IB=null,IO=null;function vJ(){if(IO)return IO;var e,r=IB,a=r.length,i,f="value"in jM?jM.value:jM.textContent,s=f.length;for(e=0;e<a&&r[e]===f[e];e++);var l=a-e;for(i=1;i<=l&&r[a-i]===f[s-i];i++);return IO=f.slice(e,1<i?1-i:void 0)}function RO(e){var r=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&r===13&&(e=13)):e=r,e===10&&(e=13),32<=e||e===13?e:0}function vO(){return!0}function OX(){return!1}function Ks(e){function r(a,i,f,s,l){this._reactName=a,this._targetInst=f,this.type=i,this.nativeEvent=s,this.target=l,this.currentTarget=null;for(var c in e)e.hasOwnProperty(c)&&(a=e[c],this[c]=a?a(s):s[c]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?vO:OX,this.isPropagationStopped=OX,this}return Ua(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!=="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=vO)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!=="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=vO)},persist:function(){},isPersistent:vO}),r}var bz={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yj=Ks(bz),HP=Ua({},bz,{view:0,detail:0}),Dbe=Ks(HP),e6,t6,eP,bj=Ua({},HP,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:RB,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){if("movementX"in e)return e.movementX;return e!==eP&&(eP&&e.type==="mousemove"?(e6=e.screenX-eP.screenX,t6=e.screenY-eP.screenY):t6=e6=0,eP=e),e6},movementY:function(e){return"movementY"in e?e.movementY:t6}}),jX=Ks(bj),Obe=Ua({},bj,{dataTransfer:0}),jbe=Ks(Obe),Nbe=Ua({},HP,{relatedTarget:0}),r6=Ks(Nbe),Fbe=Ua({},bz,{animationName:0,elapsedTime:0,pseudoElement:0}),Bbe=Ks(Fbe),Ybe=Ua({},bz,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Ube=Ks(Ybe),qbe=Ua({},bz,{data:0}),NX=Ks(qbe),Vbe={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Hbe={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"},Wbe={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Gbe(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=Wbe[e])?!!r[e]:!1}function RB(){return Gbe}var Kbe=Ua({},HP,{key:function(e){if(e.key){var r=Vbe[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=RO(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Hbe[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:RB,charCode:function(e){return e.type==="keypress"?RO(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?RO(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Xbe=Ks(Kbe),Qbe=Ua({},bj,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),FX=Ks(Qbe),Jbe=Ua({},HP,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:RB}),$be=Ks(Jbe),e_e=Ua({},bz,{propertyName:0,elapsedTime:0,pseudoElement:0}),t_e=Ks(e_e),r_e=Ua({},bj,{deltaX:function(e){return"deltaX"in e?e.deltaX:("wheelDeltaX"in e)?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:("wheelDeltaY"in e)?-e.wheelDeltaY:("wheelDelta"in e)?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),o_e=Ks(r_e),a_e=Ua({},bz,{newState:0,oldState:0}),n_e=Ks(a_e),i_e=[9,13,27,32],PB=YZ&&"CompositionEvent"in window,pP=null;YZ&&"documentMode"in document&&(pP=document.documentMode);var f_e=YZ&&"TextEvent"in window&&!pP,xJ=YZ&&(!PB||pP&&8<pP&&11>=pP),BX=String.fromCharCode(32),YX=!1;function yJ(e,r){switch(e){case"keyup":return i_e.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bJ(e){return e=e.detail,typeof e==="object"&&"data"in e?e.data:null}var Zk=!1;function s_e(e,r){switch(e){case"compositionend":return bJ(r);case"keypress":if(r.which!==32)return null;return YX=!0,BX;case"textInput":return e=r.data,e===BX&&YX?null:e;default:return null}}function l_e(e,r){if(Zk)return e==="compositionend"||!PB&&yJ(e,r)?(e=vJ(),IO=IB=jM=null,Zk=!1,e):null;switch(e){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 xJ&&r.locale!=="ko"?null:r.data;default:return null}}var c_e={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 UX(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!c_e[e.type]:r==="textarea"?!0:!1}function _J(e,r,a,i){dk?_k?_k.push(i):_k=[i]:dk=i,r=dj(r,"onChange"),0<r.length&&(a=new yj("onChange","change",null,a,i),e.push({event:a,listeners:r}))}var mP=null,CP=null;function u_e(e){mee(e,0)}function _j(e){var r=fP(e);if(ZJ(r))return e}function qX(e,r){if(e==="change")return r}var wJ=!1;if(YZ){if(YZ){if(lP="oninput"in document,!lP)PO=document.createElement("div"),PO.setAttribute("oninput","return;"),lP=typeof PO.oninput==="function";sP=lP}else sP=!1;wJ=sP&&(!document.documentMode||9<document.documentMode)}var sP,lP,PO;function VX(){mP&&(mP.detachEvent("onpropertychange",zJ),CP=mP=null)}function zJ(e){if(e.propertyName==="value"&&_j(CP)){var r=[];_J(r,CP,e,CB(e)),MJ(u_e,r)}}function d_e(e,r,a){e==="focusin"?(VX(),mP=r,CP=a,mP.attachEvent("onpropertychange",zJ)):e==="focusout"&&VX()}function Z_e(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return _j(CP)}function p_e(e,r){if(e==="click")return _j(r)}function m_e(e,r){if(e==="input"||e==="change")return _j(r)}function h_e(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Ul=typeof Object.is==="function"?Object.is:h_e;function IP(e,r){if(Ul(e,r))return!0;if(typeof e!=="object"||e===null||typeof r!=="object"||r===null)return!1;var a=Object.keys(e),i=Object.keys(r);if(a.length!==i.length)return!1;for(i=0;i<a.length;i++){var f=a[i];if(!T6.call(r,f)||!Ul(e[f],r[f]))return!1}return!0}function HX(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function WX(e,r){var a=HX(e);e=0;for(var i;a;){if(a.nodeType===3){if(i=e+a.textContent.length,e<=r&&i>=r)return{node:a,offset:r-e};e=i}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=HX(a)}}function SJ(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?SJ(e,r.parentNode):("contains"in e)?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function LJ(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var r=GO(e.document);r instanceof e.HTMLIFrameElement;){try{var a=typeof r.contentWindow.location.href==="string"}catch(i){a=!1}if(a)e=r.contentWindow;else break;r=GO(e.document)}return r}function TB(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r&&(r==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||r==="textarea"||e.contentEditable==="true")}var g_e=YZ&&"documentMode"in document&&11>=document.documentMode,pk=null,F6=null,hP=null,B6=!1;function GX(e,r,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;B6||pk==null||pk!==GO(i)||(i=pk,("selectionStart"in i)&&TB(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),hP&&IP(hP,i)||(hP=i,i=dj(F6,"onSelect"),0<i.length&&(r=new yj("onSelect","select",null,r,a),e.push({event:r,listeners:i}),r.target=pk)))}function oz(e,r){var a={};return a[e.toLowerCase()]=r.toLowerCase(),a["Webkit"+e]="webkit"+r,a["Moz"+e]="moz"+r,a}var mk={animationend:oz("Animation","AnimationEnd"),animationiteration:oz("Animation","AnimationIteration"),animationstart:oz("Animation","AnimationStart"),transitionrun:oz("Transition","TransitionRun"),transitionstart:oz("Transition","TransitionStart"),transitioncancel:oz("Transition","TransitionCancel"),transitionend:oz("Transition","TransitionEnd")},o6={},kJ={};YZ&&(kJ=document.createElement("div").style,("AnimationEvent"in window)||(delete mk.animationend.animation,delete mk.animationiteration.animation,delete mk.animationstart.animation),("TransitionEvent"in window)||delete mk.transitionend.transition);function _z(e){if(o6[e])return o6[e];if(!mk[e])return e;var r=mk[e],a;for(a in r)if(r.hasOwnProperty(a)&&a in kJ)return o6[e]=r[a];return e}var CJ=_z("animationend"),IJ=_z("animationiteration"),RJ=_z("animationstart"),M_e=_z("transitionrun"),v_e=_z("transitionstart"),x_e=_z("transitioncancel"),PJ=_z("transitionend"),TJ=new Map,Y6="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(" ");Y6.push("scrollEnd");function nu(e,r){TJ.set(e,r),yz(r,[e])}var KO=typeof reportError==="function"?reportError:function(e){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e==="object"&&e!==null&&typeof e.message==="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(r))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",e);return}console.error(e)},ac=[],hk=0,AB=0;function wj(){for(var e=hk,r=AB=hk=0;r<e;){var a=ac[r];ac[r++]=null;var i=ac[r];ac[r++]=null;var f=ac[r];ac[r++]=null;var s=ac[r];if(ac[r++]=null,i!==null&&f!==null){var l=i.pending;l===null?f.next=f:(f.next=l.next,l.next=f),i.pending=f}s!==0&&AJ(a,f,s)}}function zj(e,r,a,i){ac[hk++]=e,ac[hk++]=r,ac[hk++]=a,ac[hk++]=i,AB|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function EB(e,r,a,i){return zj(e,r,a,i),XO(e)}function wz(e,r){return zj(e,null,null,r),XO(e)}function AJ(e,r,a){e.lanes|=a;var i=e.alternate;i!==null&&(i.lanes|=a);for(var f=!1,s=e.return;s!==null;)s.childLanes|=a,i=s.alternate,i!==null&&(i.childLanes|=a),s.tag===22&&(e=s.stateNode,e===null||e._visibility&1||(f=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,f&&r!==null&&(f=31-Yl(a),e=s.hiddenUpdates,i=e[f],i===null?e[f]=[r]:i.push(r),r.lane=a|536870912),s):null}function XO(e){if(50<zP)throw zP=0,lB=null,Error(jt(185));for(var r=e.return;r!==null;)e=r,r=e.return;return e.tag===3?e.stateNode:null}var gk={};function y_e(e,r,a,i){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ol(e,r,a,i){return new y_e(e,r,a,i)}function DB(e){return e=e.prototype,!(!e||!e.isReactComponent)}function NZ(e,r){var a=e.alternate;return a===null?(a=Ol(e.tag,r,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=r,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,r=e.dependencies,a.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function EJ(e,r){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=r,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,r=a.dependencies,e.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),e}function TO(e,r,a,i,f,s){var l=0;if(i=e,typeof e==="function")DB(e)&&(l=1);else if(typeof e==="string")l=Lwe(e,a,tZ.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case C6:return e=Ol(31,a,r,f),e.elementType=C6,e.lanes=s,e;case lk:return cz(a.children,f,s,r);case $Q:l=8,f|=24;break;case S6:return e=Ol(12,a,r,f|2),e.elementType=S6,e.lanes=s,e;case L6:return e=Ol(13,a,r,f),e.elementType=L6,e.lanes=s,e;case k6:return e=Ol(19,a,r,f),e.elementType=k6,e.lanes=s,e;default:if(typeof e==="object"&&e!==null)switch(e.$$typeof){case DZ:l=10;break e;case eJ:l=9;break e;case _B:l=11;break e;case wB:l=14;break e;case RM:l=16,i=null;break e}l=29,a=Error(jt(130,e===null?"null":typeof e,"")),i=null}return r=Ol(l,a,r,f),r.elementType=e,r.type=i,r.lanes=s,r}function cz(e,r,a,i){return e=Ol(7,e,i,r),e.lanes=a,e}function a6(e,r,a){return e=Ol(6,e,null,r),e.lanes=a,e}function DJ(e){var r=Ol(18,null,null,0);return r.stateNode=e,r}function n6(e,r,a){return r=Ol(4,e.children!==null?e.children:[],e.key,r),r.lanes=a,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}var KX=new WeakMap;function lc(e,r){if(typeof e==="object"&&e!==null){var a=KX.get(e);if(a!==void 0)return a;return r={value:e,source:r,stack:IX(r)},KX.set(e,r),r}return{value:e,source:r,stack:IX(r)}}var Mk=[],vk=0,QO=null,RP=0,ic=[],fc=0,KM=null,Xd=1,Jd="";function AZ(e,r){Mk[vk++]=RP,Mk[vk++]=QO,QO=e,RP=r}function OJ(e,r,a){ic[fc++]=Xd,ic[fc++]=Jd,ic[fc++]=KM,KM=e;var i=Xd;e=Jd;var f=32-Yl(i)-1;i&=~(1<<f),a+=1;var s=32-Yl(r)+f;if(30<s){var l=f-f%5;s=(i&(1<<l)-1).toString(32),i>>=l,f-=l,Xd=1<<32-Yl(r)+f|a<<f|i,Jd=s+e}else Xd=1<<s|a<<f|i,Jd=e}function OB(e){e.return!==null&&(AZ(e,1),OJ(e,1,0))}function jB(e){for(;e===QO;)QO=Mk[--vk],Mk[vk]=null,RP=Mk[--vk],Mk[vk]=null;for(;e===KM;)KM=ic[--fc],ic[fc]=null,Jd=ic[--fc],ic[fc]=null,Xd=ic[--fc],ic[fc]=null}function jJ(e,r){ic[fc++]=Xd,ic[fc++]=Jd,ic[fc++]=KM,Xd=r.id,Jd=r.overflow,KM=e}var Ki=null,Ba=null,zo=!1,UM=null,cc=!1,U6=Error(jt(519));function XM(e){var r=Error(jt(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw PP(lc(r,e)),U6}function XX(e){var{stateNode:r,type:a,memoizedProps:i}=e;switch(r[Gi]=e,r[Gs]=i,a){case"dialog":go("cancel",r),go("close",r);break;case"iframe":case"object":case"embed":go("load",r);break;case"video":case"audio":for(a=0;a<DP.length;a++)go(DP[a],r);break;case"source":go("error",r);break;case"img":case"image":case"link":go("error",r),go("load",r);break;case"details":go("toggle",r);break;case"input":go("invalid",r),pJ(r,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":go("invalid",r);break;case"textarea":go("invalid",r),hJ(r,i.value,i.defaultValue,i.children)}a=i.children,typeof a!=="string"&&typeof a!=="number"&&typeof a!=="bigint"||r.textContent===""+a||i.suppressHydrationWarning===!0||Mee(r.textContent,a)?(i.popover!=null&&(go("beforetoggle",r),go("toggle",r)),i.onScroll!=null&&go("scroll",r),i.onScrollEnd!=null&&go("scrollend",r),i.onClick!=null&&(r.onclick=OZ),r=!0):r=!1,r||XM(e,!0)}function QX(e){for(Ki=e.return;Ki;)switch(Ki.tag){case 5:case 31:case 13:cc=!1;return;case 27:case 3:cc=!0;return;default:Ki=Ki.return}}function ak(e){if(e!==Ki)return!1;if(!zo)return QX(e),zo=!0,!1;var r=e.tag,a;if(a=r!==3&&r!==27){if(a=r===5)a=e.type,a=!(a!=="form"&&a!=="button")||hB(e.type,e.memoizedProps);a=!a}if(a&&Ba&&XM(e),QX(e),r===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(jt(317));Ba=OQ(e)}else if(r===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(jt(317));Ba=OQ(e)}else r===27?(r=Ba,e8(e.type)?(e=xB,xB=null,Ba=e):Ba=r):Ba=Ki?pc(e.stateNode.nextSibling):null;return!0}function hz(){Ba=Ki=null,zo=!1}function i6(){var e=UM;return e!==null&&(Hs===null?Hs=e:Hs.push.apply(Hs,e),UM=null),e}function PP(e){UM===null?UM=[e]:UM.push(e)}var q6=rZ(null),zz=null,jZ=null;function TM(e,r,a){Pa(q6,r._currentValue),r._currentValue=a}function FZ(e){e._currentValue=q6.current,wi(q6)}function V6(e,r,a){for(;e!==null;){var i=e.alternate;if((e.childLanes&r)!==r?(e.childLanes|=r,i!==null&&(i.childLanes|=r)):i!==null&&(i.childLanes&r)!==r&&(i.childLanes|=r),e===a)break;e=e.return}}function H6(e,r,a,i){var f=e.child;f!==null&&(f.return=e);for(;f!==null;){var s=f.dependencies;if(s!==null){var l=f.child;s=s.firstContext;e:for(;s!==null;){var c=s;s=f;for(var m=0;m<r.length;m++)if(c.context===r[m]){s.lanes|=a,c=s.alternate,c!==null&&(c.lanes|=a),V6(s.return,a,e),i||(l=null);break e}s=c.next}}else if(f.tag===18){if(l=f.return,l===null)throw Error(jt(341));l.lanes|=a,s=l.alternate,s!==null&&(s.lanes|=a),V6(l,a,e),l=null}else l=f.child;if(l!==null)l.return=f;else for(l=f;l!==null;){if(l===e){l=null;break}if(f=l.sibling,f!==null){f.return=l.return,l=f;break}l=l.return}f=l}}function Fk(e,r,a,i){e=null;for(var f=r,s=!1;f!==null;){if(!s){if((f.flags&524288)!==0)s=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var l=f.alternate;if(l===null)throw Error(jt(387));if(l=l.memoizedProps,l!==null){var c=f.type;Ul(f.pendingProps.value,l.value)||(e!==null?e.push(c):e=[c])}}else if(f===qO.current){if(l=f.alternate,l===null)throw Error(jt(387));l.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(e!==null?e.push(jP):e=[jP])}f=f.return}e!==null&&H6(r,e,a,i),r.flags|=262144}function JO(e){for(e=e.firstContext;e!==null;){if(!Ul(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function gz(e){zz=e,jZ=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Xi(e){return NJ(zz,e)}function xO(e,r){return zz===null&&gz(e),NJ(e,r)}function NJ(e,r){var a=r._currentValue;if(r={context:r,memoizedValue:a,next:null},jZ===null){if(e===null)throw Error(jt(308));jZ=r,e.dependencies={lanes:0,firstContext:r},e.flags|=524288}else jZ=jZ.next=r;return a}var b_e=typeof AbortController<"u"?AbortController:function(){var e=[],r=this.signal={aborted:!1,addEventListener:function(a,i){e.push(i)}};this.abort=function(){r.aborted=!0,e.forEach(function(a){return a()})}},__e=Ds,w_e=Ns,li={$$typeof:DZ,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function NB(){return{controller:new b_e,data:new Map,refCount:0}}function WP(e){e.refCount--,e.refCount===0&&__e(w_e,function(){e.controller.abort()})}var gP=null,W6=0,Rk=0,wk=null;function z_e(e,r){if(gP===null){var a=gP=[];W6=0,Rk=cY(),wk={status:"pending",value:void 0,then:function(i){a.push(i)}}}return W6++,r.then(JX,JX),r}function JX(){if(--W6===0&&gP!==null){wk!==null&&(wk.status="fulfilled");var e=gP;gP=null,Rk=0,wk=null;for(var r=0;r<e.length;r++)(0,e[r])()}}function S_e(e,r){var a=[],i={status:"pending",value:null,reason:null,then:function(f){a.push(f)}};return e.then(function(){i.status="fulfilled",i.value=r;for(var f=0;f<a.length;f++)(0,a[f])(r)},function(f){i.status="rejected",i.reason=f;for(f=0;f<a.length;f++)(0,a[f])(void 0)}),i}var $X=qr.S;qr.S=function(e,r){X$=Fl(),typeof r==="object"&&r!==null&&typeof r.then==="function"&&z_e(e,r),$X!==null&&$X(e,r)};var uz=rZ(null);function FB(){var e=uz.current;return e!==null?e:ka.pooledCache}function AO(e,r){r===null?Pa(uz,uz.current):Pa(uz,r.pool)}function FJ(){var e=FB();return e===null?null:{parent:li._currentValue,pool:e}}var Bk=Error(jt(460)),BB=Error(jt(474)),Sj=Error(jt(542)),$O={then:function(){}};function eQ(e){return e=e.status,e==="fulfilled"||e==="rejected"}function BJ(e,r,a){switch(a=e[a],a===void 0?e.push(r):a!==r&&(r.then(OZ,OZ),r=a),r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,rQ(e),e;default:if(typeof r.status==="string")r.then(OZ,OZ);else{if(e=ka,e!==null&&100<e.shellSuspendCounter)throw Error(jt(482));e=r,e.status="pending",e.then(function(i){if(r.status==="pending"){var f=r;f.status="fulfilled",f.value=i}},function(i){if(r.status==="pending"){var f=r;f.status="rejected",f.reason=i}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,rQ(e),e}throw dz=r,Bk}}function fz(e){try{var r=e._init;return r(e._payload)}catch(a){if(a!==null&&typeof a==="object"&&typeof a.then==="function")throw dz=a,Bk;throw a}}var dz=null;function tQ(){if(dz===null)throw Error(jt(459));var e=dz;return dz=null,e}function rQ(e){if(e===Bk||e===Sj)throw Error(jt(483))}var zk=null,TP=0;function yO(e){var r=TP;return TP+=1,zk===null&&(zk=[]),BJ(zk,e,r)}function tP(e,r){r=r.props.ref,e.ref=r!==void 0?r:null}function bO(e,r){if(r.$$typeof===dbe)throw Error(jt(525));throw e=Object.prototype.toString.call(r),Error(jt(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}function YJ(e){function r(T,N){if(e){var G=T.deletions;G===null?(T.deletions=[N],T.flags|=16):G.push(N)}}function a(T,N){if(!e)return null;for(;N!==null;)r(T,N),N=N.sibling;return null}function i(T){for(var N=new Map;T!==null;)T.key!==null?N.set(T.key,T):N.set(T.index,T),T=T.sibling;return N}function f(T,N){return T=NZ(T,N),T.index=0,T.sibling=null,T}function s(T,N,G){if(T.index=G,!e)return T.flags|=1048576,N;if(G=T.alternate,G!==null)return G=G.index,G<N?(T.flags|=67108866,N):G;return T.flags|=67108866,N}function l(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function c(T,N,G,X){if(N===null||N.tag!==6)return N=a6(G,T.mode,X),N.return=T,N;return N=f(N,G),N.return=T,N}function m(T,N,G,X){var J=G.type;if(J===lk)return M(T,N,G.props.children,X,G.key);if(N!==null&&(N.elementType===J||typeof J==="object"&&J!==null&&J.$$typeof===RM&&fz(J)===N.type))return N=f(N,G.props),tP(N,G),N.return=T,N;return N=TO(G.type,G.key,G.props,null,T.mode,X),tP(N,G),N.return=T,N}function g(T,N,G,X){if(N===null||N.tag!==4||N.stateNode.containerInfo!==G.containerInfo||N.stateNode.implementation!==G.implementation)return N=n6(G,T.mode,X),N.return=T,N;return N=f(N,G.children||[]),N.return=T,N}function M(T,N,G,X,J){if(N===null||N.tag!==7)return N=cz(G,T.mode,X,J),N.return=T,N;return N=f(N,G),N.return=T,N}function v(T,N,G){if(typeof N==="string"&&N!==""||typeof N==="number"||typeof N==="bigint")return N=a6(""+N,T.mode,G),N.return=T,N;if(typeof N==="object"&&N!==null){switch(N.$$typeof){case pO:return G=TO(N.type,N.key,N.props,null,T.mode,G),tP(G,N),G.return=T,G;case nP:return N=n6(N,T.mode,G),N.return=T,N;case RM:return N=fz(N),v(T,N,G)}if(iP(N)||$R(N))return N=cz(N,T.mode,G,null),N.return=T,N;if(typeof N.then==="function")return v(T,yO(N),G);if(N.$$typeof===DZ)return v(T,xO(T,N),G);bO(T,N)}return null}function y(T,N,G,X){var J=N!==null?N.key:null;if(typeof G==="string"&&G!==""||typeof G==="number"||typeof G==="bigint")return J!==null?null:c(T,N,""+G,X);if(typeof G==="object"&&G!==null){switch(G.$$typeof){case pO:return G.key===J?m(T,N,G,X):null;case nP:return G.key===J?g(T,N,G,X):null;case RM:return G=fz(G),y(T,N,G,X)}if(iP(G)||$R(G))return J!==null?null:M(T,N,G,X,null);if(typeof G.then==="function")return y(T,N,yO(G),X);if(G.$$typeof===DZ)return y(T,N,xO(T,G),X);bO(T,G)}return null}function x(T,N,G,X,J){if(typeof X==="string"&&X!==""||typeof X==="number"||typeof X==="bigint")return T=T.get(G)||null,c(N,T,""+X,J);if(typeof X==="object"&&X!==null){switch(X.$$typeof){case pO:return T=T.get(X.key===null?G:X.key)||null,m(N,T,X,J);case nP:return T=T.get(X.key===null?G:X.key)||null,g(N,T,X,J);case RM:return X=fz(X),x(T,N,G,X,J)}if(iP(X)||$R(X))return T=T.get(G)||null,M(N,T,X,J,null);if(typeof X.then==="function")return x(T,N,G,yO(X),J);if(X.$$typeof===DZ)return x(T,N,G,xO(N,X),J);bO(N,X)}return null}function _(T,N,G,X){for(var J=null,ee=null,re=N,oe=N=0,ae=null;re!==null&&oe<G.length;oe++){re.index>oe?(ae=re,re=null):ae=re.sibling;var ye=y(T,re,G[oe],X);if(ye===null){re===null&&(re=ae);break}e&&re&&ye.alternate===null&&r(T,re),N=s(ye,N,oe),ee===null?J=ye:ee.sibling=ye,ee=ye,re=ae}if(oe===G.length)return a(T,re),zo&&AZ(T,oe),J;if(re===null){for(;oe<G.length;oe++)re=v(T,G[oe],X),re!==null&&(N=s(re,N,oe),ee===null?J=re:ee.sibling=re,ee=re);return zo&&AZ(T,oe),J}for(re=i(re);oe<G.length;oe++)ae=x(re,T,oe,G[oe],X),ae!==null&&(e&&ae.alternate!==null&&re.delete(ae.key===null?oe:ae.key),N=s(ae,N,oe),ee===null?J=ae:ee.sibling=ae,ee=ae);return e&&re.forEach(function(We){return r(T,We)}),zo&&AZ(T,oe),J}function j(T,N,G,X){if(G==null)throw Error(jt(151));for(var J=null,ee=null,re=N,oe=N=0,ae=null,ye=G.next();re!==null&&!ye.done;oe++,ye=G.next()){re.index>oe?(ae=re,re=null):ae=re.sibling;var We=y(T,re,ye.value,X);if(We===null){re===null&&(re=ae);break}e&&re&&We.alternate===null&&r(T,re),N=s(We,N,oe),ee===null?J=We:ee.sibling=We,ee=We,re=ae}if(ye.done)return a(T,re),zo&&AZ(T,oe),J;if(re===null){for(;!ye.done;oe++,ye=G.next())ye=v(T,ye.value,X),ye!==null&&(N=s(ye,N,oe),ee===null?J=ye:ee.sibling=ye,ee=ye);return zo&&AZ(T,oe),J}for(re=i(re);!ye.done;oe++,ye=G.next())ye=x(re,T,oe,ye.value,X),ye!==null&&(e&&ye.alternate!==null&&re.delete(ye.key===null?oe:ye.key),N=s(ye,N,oe),ee===null?J=ye:ee.sibling=ye,ee=ye);return e&&re.forEach(function(Ye){return r(T,Ye)}),zo&&AZ(T,oe),J}function U(T,N,G,X){if(typeof G==="object"&&G!==null&&G.type===lk&&G.key===null&&(G=G.props.children),typeof G==="object"&&G!==null){switch(G.$$typeof){case pO:e:{for(var J=G.key;N!==null;){if(N.key===J){if(J=G.type,J===lk){if(N.tag===7){a(T,N.sibling),X=f(N,G.props.children),X.return=T,T=X;break e}}else if(N.elementType===J||typeof J==="object"&&J!==null&&J.$$typeof===RM&&fz(J)===N.type){a(T,N.sibling),X=f(N,G.props),tP(X,G),X.return=T,T=X;break e}a(T,N);break}else r(T,N);N=N.sibling}G.type===lk?(X=cz(G.props.children,T.mode,X,G.key),X.return=T,T=X):(X=TO(G.type,G.key,G.props,null,T.mode,X),tP(X,G),X.return=T,T=X)}return l(T);case nP:e:{for(J=G.key;N!==null;){if(N.key===J)if(N.tag===4&&N.stateNode.containerInfo===G.containerInfo&&N.stateNode.implementation===G.implementation){a(T,N.sibling),X=f(N,G.children||[]),X.return=T,T=X;break e}else{a(T,N);break}else r(T,N);N=N.sibling}X=n6(G,T.mode,X),X.return=T,T=X}return l(T);case RM:return G=fz(G),U(T,N,G,X)}if(iP(G))return _(T,N,G,X);if($R(G)){if(J=$R(G),typeof J!=="function")throw Error(jt(150));return G=J.call(G),j(T,N,G,X)}if(typeof G.then==="function")return U(T,N,yO(G),X);if(G.$$typeof===DZ)return U(T,N,xO(T,G),X);bO(T,G)}return typeof G==="string"&&G!==""||typeof G==="number"||typeof G==="bigint"?(G=""+G,N!==null&&N.tag===6?(a(T,N.sibling),X=f(N,G),X.return=T,T=X):(a(T,N),X=a6(G,T.mode,X),X.return=T,T=X),l(T)):a(T,N)}return function(T,N,G,X){try{TP=0;var J=U(T,N,G,X);return zk=null,J}catch(re){if(re===Bk||re===Sj)throw re;var ee=Ol(29,re,null,T.mode);return ee.lanes=X,ee.return=T,ee}finally{}}}var Mz=YJ(!0),UJ=YJ(!1),PM=!1;function YB(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function G6(e,r){e=e.updateQueue,r.updateQueue===e&&(r.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Zz(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function pz(e,r,a){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(No&2)!==0){var f=i.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),i.pending=r,r=XO(e),AJ(e,null,a),r}return zj(e,i,r,a),XO(e)}function MP(e,r,a){if(r=r.updateQueue,r!==null&&(r=r.shared,(a&4194048)!==0)){var i=r.lanes;i&=e.pendingLanes,a|=i,r.lanes=a,iJ(e,a)}}function f6(e,r){var a=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,a===i)){var f=null,s=null;if(a=a.firstBaseUpdate,a!==null){do{var l={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};s===null?f=s=l:s=s.next=l,a=a.next}while(a!==null);s===null?f=s=r:s=s.next=r}else f=s=r;a={baseState:i.baseState,firstBaseUpdate:f,lastBaseUpdate:s,shared:i.shared,callbacks:i.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=r:e.next=r,a.lastBaseUpdate=r}var K6=!1;function vP(){if(K6){var e=wk;if(e!==null)throw e}}function xP(e,r,a,i){K6=!1;var f=e.updateQueue;PM=!1;var{firstBaseUpdate:s,lastBaseUpdate:l}=f,c=f.shared.pending;if(c!==null){f.shared.pending=null;var m=c,g=m.next;m.next=null,l===null?s=g:l.next=g,l=m;var M=e.alternate;M!==null&&(M=M.updateQueue,c=M.lastBaseUpdate,c!==l&&(c===null?M.firstBaseUpdate=g:c.next=g,M.lastBaseUpdate=m))}if(s!==null){var v=f.baseState;l=0,M=g=m=null,c=s;do{var y=c.lane&-536870913,x=y!==c.lane;if(x?(_o&y)===y:(i&y)===y){y!==0&&y===Rk&&(K6=!0),M!==null&&(M=M.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});e:{var _=e,j=c;y=r;var U=a;switch(j.tag){case 1:if(_=j.payload,typeof _==="function"){v=_.call(U,v,y);break e}v=_;break e;case 3:_.flags=_.flags&-65537|128;case 0:if(_=j.payload,y=typeof _==="function"?_.call(U,v,y):_,y===null||y===void 0)break e;v=Ua({},v,y);break e;case 2:PM=!0}}y=c.callback,y!==null&&(e.flags|=64,x&&(e.flags|=8192),x=f.callbacks,x===null?f.callbacks=[y]:x.push(y))}else x={lane:y,tag:c.tag,payload:c.payload,callback:c.callback,next:null},M===null?(g=M=x,m=v):M=M.next=x,l|=y;if(c=c.next,c===null)if(c=f.shared.pending,c===null)break;else x=c,c=x.next,x.next=null,f.lastBaseUpdate=x,f.shared.pending=null}while(1);M===null&&(m=v),f.baseState=m,f.firstBaseUpdate=g,f.lastBaseUpdate=M,s===null&&(f.shared.lanes=0),JM|=l,e.lanes=l,e.memoizedState=v}}function qJ(e,r){if(typeof e!=="function")throw Error(jt(191,e));e.call(r)}function VJ(e,r){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)qJ(a[e],r)}var Pk=rZ(null),ej=rZ(0);function oQ(e,r){e=HZ,Pa(ej,e),Pa(Pk,r),HZ=e|r.baseLanes}function X6(){Pa(ej,HZ),Pa(Pk,Pk.current)}function UB(){HZ=ej.current,wi(Pk),wi(ej)}var ql=rZ(null),uc=null;function AM(e){var r=e.alternate;Pa(En,En.current&1),Pa(ql,e),uc===null&&(r===null||Pk.current!==null?uc=e:r.memoizedState!==null&&(uc=e))}function Q6(e){Pa(En,En.current),Pa(ql,e),uc===null&&(uc=e)}function HJ(e){e.tag===22?(Pa(En,En.current),Pa(ql,e),uc===null&&(uc=e)):EM(e)}function EM(){Pa(En,En.current),Pa(ql,ql.current)}function Pl(e){wi(ql),uc===e&&(uc=null),wi(En)}var En=rZ(0);function tj(e){for(var r=e;r!==null;){if(r.tag===13){var a=r.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||MB(a)||vB(a)))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===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var UZ=0,fo=null,va=null,fi=null,rj=!1,Sk=!1,vz=!1,oj=0,AP=0,Lk=null,L_e=0;function vn(){throw Error(jt(321))}function qB(e,r){if(r===null)return!1;for(var a=0;a<r.length&&a<e.length;a++)if(!Ul(e[a],r[a]))return!1;return!0}function VB(e,r,a,i,f,s){return UZ=s,fo=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,qr.H=e===null||e.memoizedState===null?_$:rY,vz=!1,s=a(i,f),vz=!1,Sk&&(s=GJ(r,a,i,f)),WJ(e),s}function WJ(e){qr.H=EP;var r=va!==null&&va.next!==null;if(UZ=0,fi=va=fo=null,rj=!1,AP=0,Lk=null,r)throw Error(jt(300));e===null||ci||(e=e.dependencies,e!==null&&JO(e)&&(ci=!0))}function GJ(e,r,a,i){fo=e;var f=0;do{if(Sk&&(Lk=null),AP=0,Sk=!1,25<=f)throw Error(jt(301));if(f+=1,fi=va=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}qr.H=w$,s=r(a,i)}while(Sk);return s}function k_e(){var e=qr.H,r=e.useState()[0];return r=typeof r.then==="function"?GP(r):r,e=e.useState()[0],(va!==null?va.memoizedState:null)!==e&&(fo.flags|=1024),r}function HB(){var e=oj!==0;return oj=0,e}function WB(e,r,a){r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~a}function GB(e){if(rj){for(e=e.memoizedState;e!==null;){var r=e.queue;r!==null&&(r.pending=null),e=e.next}rj=!1}UZ=0,fi=va=fo=null,Sk=!1,AP=oj=0,Lk=null}function is(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return fi===null?fo.memoizedState=fi=e:fi=fi.next=e,fi}function Dn(){if(va===null){var e=fo.alternate;e=e!==null?e.memoizedState:null}else e=va.next;var r=fi===null?fo.memoizedState:fi.next;if(r!==null)fi=r,va=e;else{if(e===null){if(fo.alternate===null)throw Error(jt(467));throw Error(jt(310))}va=e,e={memoizedState:va.memoizedState,baseState:va.baseState,baseQueue:va.baseQueue,queue:va.queue,next:null},fi===null?fo.memoizedState=fi=e:fi=fi.next=e}return fi}function Lj(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function GP(e){var r=AP;return AP+=1,Lk===null&&(Lk=[]),e=BJ(Lk,e,r),r=fo,(fi===null?r.memoizedState:fi.next)===null&&(r=r.alternate,qr.H=r===null||r.memoizedState===null?_$:rY),e}function kj(e){if(e!==null&&typeof e==="object"){if(typeof e.then==="function")return GP(e);if(e.$$typeof===DZ)return Xi(e)}throw Error(jt(438,String(e)))}function KB(e){var r=null,a=fo.updateQueue;if(a!==null&&(r=a.memoCache),r==null){var i=fo.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(r={data:i.data.map(function(f){return f.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),a===null&&(a=Lj(),fo.updateQueue=a),a.memoCache=r,a=r.data[r.index],a===void 0)for(a=r.data[r.index]=Array(e),i=0;i<e;i++)a[i]=Zbe;return r.index++,a}function qZ(e,r){return typeof r==="function"?r(e):r}function EO(e){var r=Dn();return XB(r,va,e)}function XB(e,r,a){var i=e.queue;if(i===null)throw Error(jt(311));i.lastRenderedReducer=a;var f=e.baseQueue,s=i.pending;if(s!==null){if(f!==null){var l=f.next;f.next=s.next,s.next=l}r.baseQueue=f=s,i.pending=null}if(s=e.baseState,f===null)e.memoizedState=s;else{r=f.next;var c=l=null,m=null,g=r,M=!1;do{var v=g.lane&-536870913;if(v!==g.lane?(_o&v)===v:(UZ&v)===v){var y=g.revertLane;if(y===0)m!==null&&(m=m.next={lane:0,revertLane:0,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null}),v===Rk&&(M=!0);else if((UZ&y)===y){g=g.next,y===Rk&&(M=!0);continue}else v={lane:0,revertLane:g.revertLane,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},m===null?(c=m=v,l=s):m=m.next=v,fo.lanes|=y,JM|=y;v=g.action,vz&&a(s,v),s=g.hasEagerState?g.eagerState:a(s,v)}else y={lane:v,revertLane:g.revertLane,gesture:g.gesture,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},m===null?(c=m=y,l=s):m=m.next=y,fo.lanes|=v,JM|=v;g=g.next}while(g!==null&&g!==r);if(m===null?l=s:m.next=c,!Ul(s,e.memoizedState)&&(ci=!0,M&&(a=wk,a!==null)))throw a;e.memoizedState=s,e.baseState=l,e.baseQueue=m,i.lastRenderedState=s}return f===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function s6(e){var r=Dn(),a=r.queue;if(a===null)throw Error(jt(311));a.lastRenderedReducer=e;var{dispatch:i,pending:f}=a,s=r.memoizedState;if(f!==null){a.pending=null;var l=f=f.next;do s=e(s,l.action),l=l.next;while(l!==f);Ul(s,r.memoizedState)||(ci=!0),r.memoizedState=s,r.baseQueue===null&&(r.baseState=s),a.lastRenderedState=s}return[s,i]}function KJ(e,r,a){var i=fo,f=Dn(),s=zo;if(s){if(a===void 0)throw Error(jt(407));a=a()}else a=r();var l=!Ul((va||f).memoizedState,a);if(l&&(f.memoizedState=a,ci=!0),f=f.queue,QB(JJ.bind(null,i,f,e),[e]),f.getSnapshot!==r||l||fi!==null&&fi.memoizedState.tag&1){if(i.flags|=2048,Tk(9,{destroy:void 0},QJ.bind(null,i,f,a,r),null),ka===null)throw Error(jt(349));s||(UZ&127)!==0||XJ(i,r,a)}return a}function XJ(e,r,a){e.flags|=16384,e={getSnapshot:r,value:a},r=fo.updateQueue,r===null?(r=Lj(),fo.updateQueue=r,r.stores=[e]):(a=r.stores,a===null?r.stores=[e]:a.push(e))}function QJ(e,r,a,i){r.value=a,r.getSnapshot=i,$J(r)&&e$(e)}function JJ(e,r,a){return a(function(){$J(r)&&e$(e)})}function $J(e){var r=e.getSnapshot;e=e.value;try{var a=r();return!Ul(e,a)}catch(i){return!0}}function e$(e){var r=wz(e,2);r!==null&&Ws(r,e,2)}function J6(e){var r=is();if(typeof e==="function"){var a=e;if(e=a(),vz){OM(!0);try{a()}finally{OM(!1)}}}return r.memoizedState=r.baseState=e,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:qZ,lastRenderedState:e},r}function t$(e,r,a,i){return e.baseState=a,XB(e,va,typeof i==="function"?i:qZ)}function C_e(e,r,a,i,f){if(Ij(e))throw Error(jt(485));if(e=r.action,e!==null){var s={payload:f,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(l){s.listeners.push(l)}};qr.T!==null?a(!0):s.isTransition=!1,i(s),a=r.pending,a===null?(s.next=r.pending=s,r$(r,s)):(s.next=a.next,r.pending=a.next=s)}}function r$(e,r){var{action:a,payload:i}=r,f=e.state;if(r.isTransition){var s=qr.T,l={};qr.T=l;try{var c=a(f,i),m=qr.S;m!==null&&m(l,c),aQ(e,r,c)}catch(g){$6(e,r,g)}finally{s!==null&&l.types!==null&&(s.types=l.types),qr.T=s}}else try{s=a(f,i),aQ(e,r,s)}catch(g){$6(e,r,g)}}function aQ(e,r,a){a!==null&&typeof a==="object"&&typeof a.then==="function"?a.then(function(i){nQ(e,r,i)},function(i){return $6(e,r,i)}):nQ(e,r,a)}function nQ(e,r,a){r.status="fulfilled",r.value=a,o$(r),e.state=a,r=e.pending,r!==null&&(a=r.next,a===r?e.pending=null:(a=a.next,r.next=a,r$(e,a)))}function $6(e,r,a){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do r.status="rejected",r.reason=a,o$(r),r=r.next;while(r!==i)}e.action=null}function o$(e){e=e.listeners;for(var r=0;r<e.length;r++)(0,e[r])()}function a$(e,r){return r}function iQ(e,r){if(zo){var a=ka.formState;if(a!==null){e:{var i=fo;if(zo){if(Ba){t:{var f=Ba;for(var s=cc;f.nodeType!==8;){if(!s){f=null;break t}if(f=pc(f.nextSibling),f===null){f=null;break t}}s=f.data,f=s==="F!"||s==="F"?f:null}if(f){Ba=pc(f.nextSibling),i=f.data==="F!";break e}}XM(i)}i=!1}i&&(r=a[0])}}return a=is(),a.memoizedState=a.baseState=r,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a$,lastRenderedState:r},a.queue=i,a=x$.bind(null,fo,i),i.dispatch=a,i=J6(!1),s=tY.bind(null,fo,!1,i.queue),i=is(),f={state:r,dispatch:null,action:e,pending:null},i.queue=f,a=C_e.bind(null,fo,f,s,a),f.dispatch=a,i.memoizedState=e,[r,a,!1]}function fQ(e){var r=Dn();return n$(r,va,e)}function n$(e,r,a){if(r=XB(e,r,a$)[0],e=EO(qZ)[0],typeof r==="object"&&r!==null&&typeof r.then==="function")try{var i=GP(r)}catch(l){if(l===Bk)throw Sj;throw l}else i=r;r=Dn();var f=r.queue,s=f.dispatch;return a!==r.memoizedState&&(fo.flags|=2048,Tk(9,{destroy:void 0},I_e.bind(null,f,a),null)),[i,s,e]}function I_e(e,r){e.action=r}function sQ(e){var r=Dn(),a=va;if(a!==null)return n$(r,a,e);Dn(),r=r.memoizedState,a=Dn();var i=a.queue.dispatch;return a.memoizedState=e,[r,i,!1]}function Tk(e,r,a,i){return e={tag:e,create:a,deps:i,inst:r,next:null},r=fo.updateQueue,r===null&&(r=Lj(),fo.updateQueue=r),a=r.lastEffect,a===null?r.lastEffect=e.next=e:(i=a.next,a.next=e,e.next=i,r.lastEffect=e),e}function i$(){return Dn().memoizedState}function DO(e,r,a,i){var f=is();fo.flags|=e,f.memoizedState=Tk(1|r,{destroy:void 0},a,i===void 0?null:i)}function Cj(e,r,a,i){var f=Dn();i=i===void 0?null:i;var s=f.memoizedState.inst;va!==null&&i!==null&&qB(i,va.memoizedState.deps)?f.memoizedState=Tk(r,s,a,i):(fo.flags|=e,f.memoizedState=Tk(1|r,s,a,i))}function lQ(e,r){DO(8390656,8,e,r)}function QB(e,r){Cj(2048,8,e,r)}function R_e(e){fo.flags|=4;var r=fo.updateQueue;if(r===null)r=Lj(),fo.updateQueue=r,r.events=[e];else{var a=r.events;a===null?r.events=[e]:a.push(e)}}function f$(e){var r=Dn().memoizedState;return R_e({ref:r,nextImpl:e}),function(){if((No&2)!==0)throw Error(jt(440));return r.impl.apply(void 0,arguments)}}function s$(e,r){return Cj(4,2,e,r)}function l$(e,r){return Cj(4,4,e,r)}function c$(e,r){if(typeof r==="function"){e=e();var a=r(e);return function(){typeof a==="function"?a():r(null)}}if(r!==null&&r!==void 0)return e=e(),r.current=e,function(){r.current=null}}function u$(e,r,a){a=a!==null&&a!==void 0?a.concat([e]):null,Cj(4,4,c$.bind(null,r,e),a)}function JB(){}function d$(e,r){var a=Dn();r=r===void 0?null:r;var i=a.memoizedState;if(r!==null&&qB(r,i[1]))return i[0];return a.memoizedState=[e,r],e}function Z$(e,r){var a=Dn();r=r===void 0?null:r;var i=a.memoizedState;if(r!==null&&qB(r,i[1]))return i[0];if(i=e(),vz){OM(!0);try{e()}finally{OM(!1)}}return a.memoizedState=[i,r],i}function $B(e,r,a){if(a===void 0||(UZ&1073741824)!==0&&(_o&261930)===0)return e.memoizedState=r;return e.memoizedState=a,e=J$(),fo.lanes|=e,JM|=e,a}function p$(e,r,a,i){if(Ul(a,r))return a;if(Pk.current!==null)return e=$B(e,a,i),Ul(e,r)||(ci=!0),e;if((UZ&42)===0||(UZ&1073741824)!==0&&(_o&261930)===0)return ci=!0,e.memoizedState=a;return e=J$(),fo.lanes|=e,JM|=e,r}function m$(e,r,a,i,f){var s=Bo.p;Bo.p=s!==0&&8>s?s:8;var l=qr.T,c={};qr.T=c,tY(e,!1,r,a);try{var m=f(),g=qr.S;if(g!==null&&g(c,m),m!==null&&typeof m==="object"&&typeof m.then==="function"){var M=S_e(m,i);yP(e,r,M,dc(e))}else yP(e,r,i,dc(e))}catch(v){yP(e,r,{then:function(){},status:"rejected",reason:v},dc())}finally{Bo.p=s,l!==null&&c.types!==null&&(l.types=c.types),qr.T=l}}function P_e(){}function eB(e,r,a,i){if(e.tag!==5)throw Error(jt(476));var f=h$(e).queue;m$(e,f,r,lz,a===null?P_e:function(){return g$(e),a(i)})}function h$(e){var r=e.memoizedState;if(r!==null)return r;r={memoizedState:lz,baseState:lz,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:qZ,lastRenderedState:lz},next:null};var a={};return r.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:qZ,lastRenderedState:a},next:null},e.memoizedState=r,e=e.alternate,e!==null&&(e.memoizedState=r),r}function g$(e){var r=h$(e);r.next===null&&(r=e.alternate.memoizedState),yP(e,r.next.queue,{},dc())}function eY(){return Xi(jP)}function M$(){return Dn().memoizedState}function v$(){return Dn().memoizedState}function T_e(e){for(var r=e.return;r!==null;){switch(r.tag){case 24:case 3:var a=dc();e=Zz(a);var i=pz(r,e,a);i!==null&&(Ws(i,r,a),MP(i,r,a)),r={cache:NB()},e.payload=r;return}r=r.return}}function A_e(e,r,a){var i=dc();a={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Ij(e)?y$(r,a):(a=EB(e,r,a,i),a!==null&&(Ws(a,e,i),b$(a,r,i)))}function x$(e,r,a){var i=dc();yP(e,r,a,i)}function yP(e,r,a,i){var f={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ij(e))y$(r,f);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=r.lastRenderedReducer,s!==null))try{var l=r.lastRenderedState,c=s(l,a);if(f.hasEagerState=!0,f.eagerState=c,Ul(c,l))return zj(e,r,f,0),ka===null&&wj(),!1}catch(m){}finally{}if(a=EB(e,r,f,i),a!==null)return Ws(a,e,i),b$(a,r,i),!0}return!1}function tY(e,r,a,i){if(i={lane:2,revertLane:cY(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Ij(e)){if(r)throw Error(jt(479))}else r=EB(e,a,i,2),r!==null&&Ws(r,e,2)}function Ij(e){var r=e.alternate;return e===fo||r!==null&&r===fo}function y$(e,r){Sk=rj=!0;var a=e.pending;a===null?r.next=r:(r.next=a.next,a.next=r),e.pending=r}function b$(e,r,a){if((a&4194048)!==0){var i=r.lanes;i&=e.pendingLanes,a|=i,r.lanes=a,iJ(e,a)}}var EP={readContext:Xi,use:kj,useCallback:vn,useContext:vn,useEffect:vn,useImperativeHandle:vn,useLayoutEffect:vn,useInsertionEffect:vn,useMemo:vn,useReducer:vn,useRef:vn,useState:vn,useDebugValue:vn,useDeferredValue:vn,useTransition:vn,useSyncExternalStore:vn,useId:vn,useHostTransitionStatus:vn,useFormState:vn,useActionState:vn,useOptimistic:vn,useMemoCache:vn,useCacheRefresh:vn};EP.useEffectEvent=vn;var _$={readContext:Xi,use:kj,useCallback:function(e,r){return is().memoizedState=[e,r===void 0?null:r],e},useContext:Xi,useEffect:lQ,useImperativeHandle:function(e,r,a){a=a!==null&&a!==void 0?a.concat([e]):null,DO(4194308,4,c$.bind(null,r,e),a)},useLayoutEffect:function(e,r){return DO(4194308,4,e,r)},useInsertionEffect:function(e,r){DO(4,2,e,r)},useMemo:function(e,r){var a=is();r=r===void 0?null:r;var i=e();if(vz){OM(!0);try{e()}finally{OM(!1)}}return a.memoizedState=[i,r],i},useReducer:function(e,r,a){var i=is();if(a!==void 0){var f=a(r);if(vz){OM(!0);try{a(r)}finally{OM(!1)}}}else f=r;return i.memoizedState=i.baseState=f,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:f},i.queue=e,e=e.dispatch=A_e.bind(null,fo,e),[i.memoizedState,e]},useRef:function(e){var r=is();return e={current:e},r.memoizedState=e},useState:function(e){e=J6(e);var r=e.queue,a=x$.bind(null,fo,r);return r.dispatch=a,[e.memoizedState,a]},useDebugValue:JB,useDeferredValue:function(e,r){var a=is();return $B(a,e,r)},useTransition:function(){var e=J6(!1);return e=m$.bind(null,fo,e.queue,!0,!1),is().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,r,a){var i=fo,f=is();if(zo){if(a===void 0)throw Error(jt(407));a=a()}else{if(a=r(),ka===null)throw Error(jt(349));(_o&127)!==0||XJ(i,r,a)}f.memoizedState=a;var s={value:a,getSnapshot:r};return f.queue=s,lQ(JJ.bind(null,i,s,e),[e]),i.flags|=2048,Tk(9,{destroy:void 0},QJ.bind(null,i,s,a,r),null),a},useId:function(){var e=is(),r=ka.identifierPrefix;if(zo){var a=Jd,i=Xd;a=(i&~(1<<32-Yl(i)-1)).toString(32)+a,r="_"+r+"R_"+a,a=oj++,0<a&&(r+="H"+a.toString(32)),r+="_"}else a=L_e++,r="_"+r+"r_"+a.toString(32)+"_";return e.memoizedState=r},useHostTransitionStatus:eY,useFormState:iQ,useActionState:iQ,useOptimistic:function(e){var r=is();r.memoizedState=r.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=a,r=tY.bind(null,fo,!0,a),a.dispatch=r,[e,r]},useMemoCache:KB,useCacheRefresh:function(){return is().memoizedState=T_e.bind(null,fo)},useEffectEvent:function(e){var r=is(),a={impl:e};return r.memoizedState=a,function(){if((No&2)!==0)throw Error(jt(440));return a.impl.apply(void 0,arguments)}}},rY={readContext:Xi,use:kj,useCallback:d$,useContext:Xi,useEffect:QB,useImperativeHandle:u$,useInsertionEffect:s$,useLayoutEffect:l$,useMemo:Z$,useReducer:EO,useRef:i$,useState:function(){return EO(qZ)},useDebugValue:JB,useDeferredValue:function(e,r){var a=Dn();return p$(a,va.memoizedState,e,r)},useTransition:function(){var e=EO(qZ)[0],r=Dn().memoizedState;return[typeof e==="boolean"?e:GP(e),r]},useSyncExternalStore:KJ,useId:M$,useHostTransitionStatus:eY,useFormState:fQ,useActionState:fQ,useOptimistic:function(e,r){var a=Dn();return t$(a,va,e,r)},useMemoCache:KB,useCacheRefresh:v$};rY.useEffectEvent=f$;var w$={readContext:Xi,use:kj,useCallback:d$,useContext:Xi,useEffect:QB,useImperativeHandle:u$,useInsertionEffect:s$,useLayoutEffect:l$,useMemo:Z$,useReducer:s6,useRef:i$,useState:function(){return s6(qZ)},useDebugValue:JB,useDeferredValue:function(e,r){var a=Dn();return va===null?$B(a,e,r):p$(a,va.memoizedState,e,r)},useTransition:function(){var e=s6(qZ)[0],r=Dn().memoizedState;return[typeof e==="boolean"?e:GP(e),r]},useSyncExternalStore:KJ,useId:M$,useHostTransitionStatus:eY,useFormState:sQ,useActionState:sQ,useOptimistic:function(e,r){var a=Dn();if(va!==null)return t$(a,va,e,r);return a.baseState=e,[e,a.queue.dispatch]},useMemoCache:KB,useCacheRefresh:v$};w$.useEffectEvent=f$;function l6(e,r,a,i){r=e.memoizedState,a=a(i,r),a=a===null||a===void 0?r:Ua({},r,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var tB={enqueueSetState:function(e,r,a){e=e._reactInternals;var i=dc(),f=Zz(i);f.payload=r,a!==void 0&&a!==null&&(f.callback=a),r=pz(e,f,i),r!==null&&(Ws(r,e,i),MP(r,e,i))},enqueueReplaceState:function(e,r,a){e=e._reactInternals;var i=dc(),f=Zz(i);f.tag=1,f.payload=r,a!==void 0&&a!==null&&(f.callback=a),r=pz(e,f,i),r!==null&&(Ws(r,e,i),MP(r,e,i))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var a=dc(),i=Zz(a);i.tag=2,r!==void 0&&r!==null&&(i.callback=r),r=pz(e,i,a),r!==null&&(Ws(r,e,a),MP(r,e,a))}};function cQ(e,r,a,i,f,s,l){return e=e.stateNode,typeof e.shouldComponentUpdate==="function"?e.shouldComponentUpdate(i,s,l):r.prototype&&r.prototype.isPureReactComponent?!IP(a,i)||!IP(f,s):!0}function uQ(e,r,a,i){e=r.state,typeof r.componentWillReceiveProps==="function"&&r.componentWillReceiveProps(a,i),typeof r.UNSAFE_componentWillReceiveProps==="function"&&r.UNSAFE_componentWillReceiveProps(a,i),r.state!==e&&tB.enqueueReplaceState(r,r.state,null)}function xz(e,r){var a=r;if("ref"in r){a={};for(var i in r)i!=="ref"&&(a[i]=r[i])}if(e=e.defaultProps){a===r&&(a=Ua({},a));for(var f in e)a[f]===void 0&&(a[f]=e[f])}return a}function E_e(e){KO(e)}function D_e(e){console.error(e)}function O_e(e){KO(e)}function aj(e,r){try{var a=e.onUncaughtError;a(r.value,{componentStack:r.stack})}catch(i){setTimeout(function(){throw i})}}function dQ(e,r,a){try{var i=e.onCaughtError;i(a.value,{componentStack:a.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function rB(e,r,a){return a=Zz(a),a.tag=3,a.payload={element:null},a.callback=function(){aj(e,r)},a}function z$(e){return e=Zz(e),e.tag=3,e}function S$(e,r,a,i){var f=a.type.getDerivedStateFromError;if(typeof f==="function"){var s=i.value;e.payload=function(){return f(s)},e.callback=function(){dQ(r,a,i)}}var l=a.stateNode;l!==null&&typeof l.componentDidCatch==="function"&&(e.callback=function(){dQ(r,a,i),typeof f!=="function"&&(qM===null?qM=new Set([this]):qM.add(this));var c=i.stack;this.componentDidCatch(i.value,{componentStack:c!==null?c:""})})}function j_e(e,r,a,i,f){if(a.flags|=32768,i!==null&&typeof i==="object"&&typeof i.then==="function"){if(r=a.alternate,r!==null&&Fk(r,a,f,!0),a=ql.current,a!==null){switch(a.tag){case 31:case 13:return uc===null?lj():a.alternate===null&&xn===0&&(xn=3),a.flags&=-257,a.flags|=65536,a.lanes=f,i===$O?a.flags|=16384:(r=a.updateQueue,r===null?a.updateQueue=new Set([i]):r.add(i),x6(e,i,f)),!1;case 22:return a.flags|=65536,i===$O?a.flags|=16384:(r=a.updateQueue,r===null?(r={transitions:null,markerInstances:null,retryQueue:new Set([i])},a.updateQueue=r):(a=r.retryQueue,a===null?r.retryQueue=new Set([i]):a.add(i)),x6(e,i,f)),!1}throw Error(jt(435,a.tag))}return x6(e,i,f),lj(),!1}if(zo)return r=ql.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=f,i!==U6&&(e=Error(jt(422),{cause:i}),PP(lc(e,a)))):(i!==U6&&(r=Error(jt(423),{cause:i}),PP(lc(r,a))),e=e.current.alternate,e.flags|=65536,f&=-f,e.lanes|=f,i=lc(i,a),f=rB(e.stateNode,i,f),f6(e,f),xn!==4&&(xn=2)),!1;var s=Error(jt(520),{cause:i});if(s=lc(s,a),wP===null?wP=[s]:wP.push(s),xn!==4&&(xn=2),r===null)return!0;i=lc(i,a),a=r;do{switch(a.tag){case 3:return a.flags|=65536,e=f&-f,a.lanes|=e,e=rB(a.stateNode,i,e),f6(a,e),!1;case 1:if(r=a.type,s=a.stateNode,(a.flags&128)===0&&(typeof r.getDerivedStateFromError==="function"||s!==null&&typeof s.componentDidCatch==="function"&&(qM===null||!qM.has(s))))return a.flags|=65536,f&=-f,a.lanes|=f,f=z$(f),S$(f,e,a,i),f6(a,f),!1}a=a.return}while(a!==null);return!1}var oY=Error(jt(461)),ci=!1;function Wi(e,r,a,i){r.child=e===null?UJ(r,null,a,i):Mz(r,e.child,a,i)}function ZQ(e,r,a,i,f){a=a.render;var s=r.ref;if("ref"in i){var l={};for(var c in i)c!=="ref"&&(l[c]=i[c])}else l=i;if(gz(r),i=VB(e,r,a,l,s,f),c=HB(),e!==null&&!ci)return WB(e,r,f),VZ(e,r,f);return zo&&c&&OB(r),r.flags|=1,Wi(e,r,i,f),r.child}function pQ(e,r,a,i,f){if(e===null){var s=a.type;if(typeof s==="function"&&!DB(s)&&s.defaultProps===void 0&&a.compare===null)return r.tag=15,r.type=s,L$(e,r,s,i,f);return e=TO(a.type,null,i,r,r.mode,f),e.ref=r.ref,e.return=r,r.child=e}if(s=e.child,!aY(e,f)){var l=s.memoizedProps;if(a=a.compare,a=a!==null?a:IP,a(l,i)&&e.ref===r.ref)return VZ(e,r,f)}return r.flags|=1,e=NZ(s,i),e.ref=r.ref,e.return=r,r.child=e}function L$(e,r,a,i,f){if(e!==null){var s=e.memoizedProps;if(IP(s,i)&&e.ref===r.ref)if(ci=!1,r.pendingProps=i=s,aY(e,f))(e.flags&131072)!==0&&(ci=!0);else return r.lanes=e.lanes,VZ(e,r,f)}return oB(e,r,a,i,f)}function k$(e,r,a,i){var f=i.children,s=e!==null?e.memoizedState:null;if(e===null&&r.stateNode===null&&(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((r.flags&128)!==0){if(s=s!==null?s.baseLanes|a:a,e!==null){i=r.child=e.child;for(f=0;i!==null;)f=f|i.lanes|i.childLanes,i=i.sibling;i=f&~s}else i=0,r.child=null;return mQ(e,r,s,a,i)}if((a&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},e!==null&&AO(r,s!==null?s.cachePool:null),s!==null?oQ(r,s):X6(),HJ(r);else return i=r.lanes=536870912,mQ(e,r,s!==null?s.baseLanes|a:a,a,i)}else s!==null?(AO(r,s.cachePool),oQ(r,s),EM(r),r.memoizedState=null):(e!==null&&AO(r,null),X6(),EM(r));return Wi(e,r,f,a),r.child}function cP(e,r){return e!==null&&e.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function mQ(e,r,a,i,f){var s=FB();return s=s===null?null:{parent:li._currentValue,pool:s},r.memoizedState={baseLanes:a,cachePool:s},e!==null&&AO(r,null),X6(),HJ(r),e!==null&&Fk(e,r,i,!0),r.childLanes=f,null}function OO(e,r){return r=nj({mode:r.mode,children:r.children},e.mode),r.ref=e.ref,e.child=r,r.return=e,r}function hQ(e,r,a){return Mz(r,e.child,null,a),e=OO(r,r.pendingProps),e.flags|=2,Pl(r),r.memoizedState=null,e}function N_e(e,r,a){var i=r.pendingProps,f=(r.flags&128)!==0;if(r.flags&=-129,e===null){if(zo){if(i.mode==="hidden")return e=OO(r,i),r.lanes=536870912,cP(null,e);if(Q6(r),(e=Ba)?(e=yee(e,cc),e=e!==null&&e.data==="&"?e:null,e!==null&&(r.memoizedState={dehydrated:e,treeContext:KM!==null?{id:Xd,overflow:Jd}:null,retryLane:536870912,hydrationErrors:null},a=DJ(e),a.return=r,r.child=a,Ki=r,Ba=null)):e=null,e===null)throw XM(r);return r.lanes=536870912,null}return OO(r,i)}var s=e.memoizedState;if(s!==null){var l=s.dehydrated;if(Q6(r),f)if(r.flags&256)r.flags&=-257,r=hQ(e,r,a);else if(r.memoizedState!==null)r.child=e.child,r.flags|=128,r=null;else throw Error(jt(558));else if(ci||Fk(e,r,a,!1),f=(a&e.childLanes)!==0,ci||f){if(i=ka,i!==null&&(l=fJ(i,a),l!==0&&l!==s.retryLane))throw s.retryLane=l,wz(e,l),Ws(i,e,l),oY;lj(),r=hQ(e,r,a)}else e=s.treeContext,Ba=pc(l.nextSibling),Ki=r,zo=!0,UM=null,cc=!1,e!==null&&jJ(r,e),r=OO(r,i),r.flags|=4096;return r}return e=NZ(e.child,{mode:i.mode,children:i.children}),e.ref=r.ref,r.child=e,e.return=r,e}function jO(e,r){var a=r.ref;if(a===null)e!==null&&e.ref!==null&&(r.flags|=4194816);else{if(typeof a!=="function"&&typeof a!=="object")throw Error(jt(284));if(e===null||e.ref!==a)r.flags|=4194816}}function oB(e,r,a,i,f){if(gz(r),a=VB(e,r,a,i,void 0,f),i=HB(),e!==null&&!ci)return WB(e,r,f),VZ(e,r,f);return zo&&i&&OB(r),r.flags|=1,Wi(e,r,a,f),r.child}function gQ(e,r,a,i,f,s){if(gz(r),r.updateQueue=null,a=GJ(r,i,a,f),WJ(e),i=HB(),e!==null&&!ci)return WB(e,r,s),VZ(e,r,s);return zo&&i&&OB(r),r.flags|=1,Wi(e,r,a,s),r.child}function MQ(e,r,a,i,f){if(gz(r),r.stateNode===null){var s=gk,l=a.contextType;typeof l==="object"&&l!==null&&(s=Xi(l)),s=new a(i,s),r.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=tB,r.stateNode=s,s._reactInternals=r,s=r.stateNode,s.props=i,s.state=r.memoizedState,s.refs={},YB(r),l=a.contextType,s.context=typeof l==="object"&&l!==null?Xi(l):gk,s.state=r.memoizedState,l=a.getDerivedStateFromProps,typeof l==="function"&&(l6(r,a,l,i),s.state=r.memoizedState),typeof a.getDerivedStateFromProps==="function"||typeof s.getSnapshotBeforeUpdate==="function"||typeof s.UNSAFE_componentWillMount!=="function"&&typeof s.componentWillMount!=="function"||(l=s.state,typeof s.componentWillMount==="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount==="function"&&s.UNSAFE_componentWillMount(),l!==s.state&&tB.enqueueReplaceState(s,s.state,null),xP(r,i,s,f),vP(),s.state=r.memoizedState),typeof s.componentDidMount==="function"&&(r.flags|=4194308),i=!0}else if(e===null){s=r.stateNode;var c=r.memoizedProps,m=xz(a,c);s.props=m;var g=s.context,M=a.contextType;l=gk,typeof M==="object"&&M!==null&&(l=Xi(M));var v=a.getDerivedStateFromProps;M=typeof v==="function"||typeof s.getSnapshotBeforeUpdate==="function",c=r.pendingProps!==c,M||typeof s.UNSAFE_componentWillReceiveProps!=="function"&&typeof s.componentWillReceiveProps!=="function"||(c||g!==l)&&uQ(r,s,i,l),PM=!1;var y=r.memoizedState;s.state=y,xP(r,i,s,f),vP(),g=r.memoizedState,c||y!==g||PM?(typeof v==="function"&&(l6(r,a,v,i),g=r.memoizedState),(m=PM||cQ(r,a,m,i,y,g,l))?(M||typeof s.UNSAFE_componentWillMount!=="function"&&typeof s.componentWillMount!=="function"||(typeof s.componentWillMount==="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount==="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount==="function"&&(r.flags|=4194308)):(typeof s.componentDidMount==="function"&&(r.flags|=4194308),r.memoizedProps=i,r.memoizedState=g),s.props=i,s.state=g,s.context=l,i=m):(typeof s.componentDidMount==="function"&&(r.flags|=4194308),i=!1)}else{s=r.stateNode,G6(e,r),l=r.memoizedProps,M=xz(a,l),s.props=M,v=r.pendingProps,y=s.context,g=a.contextType,m=gk,typeof g==="object"&&g!==null&&(m=Xi(g)),c=a.getDerivedStateFromProps,(g=typeof c==="function"||typeof s.getSnapshotBeforeUpdate==="function")||typeof s.UNSAFE_componentWillReceiveProps!=="function"&&typeof s.componentWillReceiveProps!=="function"||(l!==v||y!==m)&&uQ(r,s,i,m),PM=!1,y=r.memoizedState,s.state=y,xP(r,i,s,f),vP();var x=r.memoizedState;l!==v||y!==x||PM||e!==null&&e.dependencies!==null&&JO(e.dependencies)?(typeof c==="function"&&(l6(r,a,c,i),x=r.memoizedState),(M=PM||cQ(r,a,M,i,y,x,m)||e!==null&&e.dependencies!==null&&JO(e.dependencies))?(g||typeof s.UNSAFE_componentWillUpdate!=="function"&&typeof s.componentWillUpdate!=="function"||(typeof s.componentWillUpdate==="function"&&s.componentWillUpdate(i,x,m),typeof s.UNSAFE_componentWillUpdate==="function"&&s.UNSAFE_componentWillUpdate(i,x,m)),typeof s.componentDidUpdate==="function"&&(r.flags|=4),typeof s.getSnapshotBeforeUpdate==="function"&&(r.flags|=1024)):(typeof s.componentDidUpdate!=="function"||l===e.memoizedProps&&y===e.memoizedState||(r.flags|=4),typeof s.getSnapshotBeforeUpdate!=="function"||l===e.memoizedProps&&y===e.memoizedState||(r.flags|=1024),r.memoizedProps=i,r.memoizedState=x),s.props=i,s.state=x,s.context=m,i=M):(typeof s.componentDidUpdate!=="function"||l===e.memoizedProps&&y===e.memoizedState||(r.flags|=4),typeof s.getSnapshotBeforeUpdate!=="function"||l===e.memoizedProps&&y===e.memoizedState||(r.flags|=1024),i=!1)}return s=i,jO(e,r),i=(r.flags&128)!==0,s||i?(s=r.stateNode,a=i&&typeof a.getDerivedStateFromError!=="function"?null:s.render(),r.flags|=1,e!==null&&i?(r.child=Mz(r,e.child,null,f),r.child=Mz(r,null,a,f)):Wi(e,r,a,f),r.memoizedState=s.state,e=r.child):e=VZ(e,r,f),e}function vQ(e,r,a,i){return hz(),r.flags|=256,Wi(e,r,a,i),r.child}var c6={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function u6(e){return{baseLanes:e,cachePool:FJ()}}function d6(e,r,a){return e=e!==null?e.childLanes&~a:0,r&&(e|=jl),e}function C$(e,r,a){var i=r.pendingProps,f=!1,s=(r.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(En.current&2)!==0),l&&(f=!0,r.flags&=-129),l=(r.flags&32)!==0,r.flags&=-33,e===null){if(zo){if(f?AM(r):EM(r),(e=Ba)?(e=yee(e,cc),e=e!==null&&e.data!=="&"?e:null,e!==null&&(r.memoizedState={dehydrated:e,treeContext:KM!==null?{id:Xd,overflow:Jd}:null,retryLane:536870912,hydrationErrors:null},a=DJ(e),a.return=r,r.child=a,Ki=r,Ba=null)):e=null,e===null)throw XM(r);return vB(e)?r.lanes=32:r.lanes=536870912,null}var c=i.children;if(i=i.fallback,f)return EM(r),f=r.mode,c=nj({mode:"hidden",children:c},f),i=cz(i,f,a,null),c.return=r,i.return=r,c.sibling=i,r.child=c,i=r.child,i.memoizedState=u6(a),i.childLanes=d6(e,l,a),r.memoizedState=c6,cP(null,i);return AM(r),aB(r,c)}var m=e.memoizedState;if(m!==null&&(c=m.dehydrated,c!==null)){if(s)r.flags&256?(AM(r),r.flags&=-257,r=Z6(e,r,a)):r.memoizedState!==null?(EM(r),r.child=e.child,r.flags|=128,r=null):(EM(r),c=i.fallback,f=r.mode,i=nj({mode:"visible",children:i.children},f),c=cz(c,f,a,null),c.flags|=2,i.return=r,c.return=r,i.sibling=c,r.child=i,Mz(r,e.child,null,a),i=r.child,i.memoizedState=u6(a),i.childLanes=d6(e,l,a),r.memoizedState=c6,r=cP(null,i));else if(AM(r),vB(c)){if(l=c.nextSibling&&c.nextSibling.dataset,l)var g=l.dgst;l=g,i=Error(jt(419)),i.stack="",i.digest=l,PP({value:i,source:null,stack:null}),r=Z6(e,r,a)}else if(ci||Fk(e,r,a,!1),l=(a&e.childLanes)!==0,ci||l){if(l=ka,l!==null&&(i=fJ(l,a),i!==0&&i!==m.retryLane))throw m.retryLane=i,wz(e,i),Ws(l,e,i),oY;MB(c)||lj(),r=Z6(e,r,a)}else MB(c)?(r.flags|=192,r.child=e.child,r=null):(e=m.treeContext,Ba=pc(c.nextSibling),Ki=r,zo=!0,UM=null,cc=!1,e!==null&&jJ(r,e),r=aB(r,i.children),r.flags|=4096);return r}if(f)return EM(r),c=i.fallback,f=r.mode,m=e.child,g=m.sibling,i=NZ(m,{mode:"hidden",children:i.children}),i.subtreeFlags=m.subtreeFlags&65011712,g!==null?c=NZ(g,c):(c=cz(c,f,a,null),c.flags|=2),c.return=r,i.return=r,i.sibling=c,r.child=i,cP(null,i),i=r.child,c=e.child.memoizedState,c===null?c=u6(a):(f=c.cachePool,f!==null?(m=li._currentValue,f=f.parent!==m?{parent:m,pool:m}:f):f=FJ(),c={baseLanes:c.baseLanes|a,cachePool:f}),i.memoizedState=c,i.childLanes=d6(e,l,a),r.memoizedState=c6,cP(e.child,i);return AM(r),a=e.child,e=a.sibling,a=NZ(a,{mode:"visible",children:i.children}),a.return=r,a.sibling=null,e!==null&&(l=r.deletions,l===null?(r.deletions=[e],r.flags|=16):l.push(e)),r.child=a,r.memoizedState=null,a}function aB(e,r){return r=nj({mode:"visible",children:r},e.mode),r.return=e,e.child=r}function nj(e,r){return e=Ol(22,e,null,r),e.lanes=0,e}function Z6(e,r,a){return Mz(r,e.child,null,a),e=aB(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function xQ(e,r,a){e.lanes|=r;var i=e.alternate;i!==null&&(i.lanes|=r),V6(e.return,r,a)}function p6(e,r,a,i,f,s){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:f,treeForkCount:s}:(l.isBackwards=r,l.rendering=null,l.renderingStartTime=0,l.last=i,l.tail=a,l.tailMode=f,l.treeForkCount=s)}function I$(e,r,a){var i=r.pendingProps,f=i.revealOrder,s=i.tail;i=i.children;var l=En.current,c=(l&2)!==0;if(c?(l=l&1|2,r.flags|=128):l&=1,Pa(En,l),Wi(e,r,i,a),i=zo?RP:0,!c&&e!==null&&(e.flags&128)!==0)e:for(e=r.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&xQ(e,a,r);else if(e.tag===19)xQ(e,a,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===r)break e;for(;e.sibling===null;){if(e.return===null||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(f){case"forwards":a=r.child;for(f=null;a!==null;)e=a.alternate,e!==null&&tj(e)===null&&(f=a),a=a.sibling;a=f,a===null?(f=r.child,r.child=null):(f=a.sibling,a.sibling=null),p6(r,!1,f,a,s,i);break;case"backwards":case"unstable_legacy-backwards":a=null,f=r.child;for(r.child=null;f!==null;){if(e=f.alternate,e!==null&&tj(e)===null){r.child=f;break}e=f.sibling,f.sibling=a,a=f,f=e}p6(r,!0,a,null,s,i);break;case"together":p6(r,!1,null,null,void 0,i);break;default:r.memoizedState=null}return r.child}function VZ(e,r,a){if(e!==null&&(r.dependencies=e.dependencies),JM|=r.lanes,(a&r.childLanes)===0)if(e!==null){if(Fk(e,r,a,!1),(a&r.childLanes)===0)return null}else return null;if(e!==null&&r.child!==e.child)throw Error(jt(153));if(r.child!==null){e=r.child,a=NZ(e,e.pendingProps),r.child=a;for(a.return=r;e.sibling!==null;)e=e.sibling,a=a.sibling=NZ(e,e.pendingProps),a.return=r;a.sibling=null}return r.child}function aY(e,r){if((e.lanes&r)!==0)return!0;return e=e.dependencies,e!==null&&JO(e)?!0:!1}function F_e(e,r,a){switch(r.tag){case 3:VO(r,r.stateNode.containerInfo),TM(r,li,e.memoizedState.cache),hz();break;case 27:case 5:P6(r);break;case 4:VO(r,r.stateNode.containerInfo);break;case 10:TM(r,r.type,r.memoizedProps.value);break;case 31:if(r.memoizedState!==null)return r.flags|=128,Q6(r),null;break;case 13:var i=r.memoizedState;if(i!==null){if(i.dehydrated!==null)return AM(r),r.flags|=128,null;if((a&r.child.childLanes)!==0)return C$(e,r,a);return AM(r),e=VZ(e,r,a),e!==null?e.sibling:null}AM(r);break;case 19:var f=(e.flags&128)!==0;if(i=(a&r.childLanes)!==0,i||(Fk(e,r,a,!1),i=(a&r.childLanes)!==0),f){if(i)return I$(e,r,a);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Pa(En,En.current),i)break;else return null;case 22:return r.lanes=0,k$(e,r,a,r.pendingProps);case 24:TM(r,li,e.memoizedState.cache)}return VZ(e,r,a)}function R$(e,r,a){if(e!==null)if(e.memoizedProps!==r.pendingProps)ci=!0;else{if(!aY(e,a)&&(r.flags&128)===0)return ci=!1,F_e(e,r,a);ci=(e.flags&131072)!==0?!0:!1}else ci=!1,zo&&(r.flags&1048576)!==0&&OJ(r,RP,r.index);switch(r.lanes=0,r.tag){case 16:e:{var i=r.pendingProps;if(e=fz(r.elementType),r.type=e,typeof e==="function")DB(e)?(i=xz(e,i),r.tag=1,r=MQ(null,r,e,i,a)):(r.tag=0,r=oB(null,r,e,i,a));else{if(e!==void 0&&e!==null){var f=e.$$typeof;if(f===_B){r.tag=11,r=ZQ(null,r,e,i,a);break e}else if(f===wB){r.tag=14,r=pQ(null,r,e,i,a);break e}}throw r=I6(e)||e,Error(jt(306,r,""))}}return r;case 0:return oB(e,r,r.type,r.pendingProps,a);case 1:return i=r.type,f=xz(i,r.pendingProps),MQ(e,r,i,f,a);case 3:e:{if(VO(r,r.stateNode.containerInfo),e===null)throw Error(jt(387));i=r.pendingProps;var s=r.memoizedState;f=s.element,G6(e,r),xP(r,i,null,a);var l=r.memoizedState;if(i=l.cache,TM(r,li,i),i!==s.cache&&H6(r,[li],a,!0),vP(),i=l.element,s.isDehydrated)if(s={element:i,isDehydrated:!1,cache:l.cache},r.updateQueue.baseState=s,r.memoizedState=s,r.flags&256){r=vQ(e,r,i,a);break e}else if(i!==f){f=lc(Error(jt(424)),r),PP(f),r=vQ(e,r,i,a);break e}else{switch(e=r.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}Ba=pc(e.firstChild),Ki=r,zo=!0,UM=null,cc=!0,a=UJ(r,null,i,a);for(r.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(hz(),i===f){r=VZ(e,r,a);break e}Wi(e,r,i,a)}r=r.child}return r;case 26:return jO(e,r),e===null?(a=FQ(r.type,null,r.pendingProps,null))?r.memoizedState=a:zo||(a=r.type,e=r.pendingProps,i=Zj(YM.current).createElement(a),i[Gi]=r,i[Gs]=e,Qi(i,a,e),_i(i),r.stateNode=i):r.memoizedState=FQ(r.type,e.memoizedProps,r.pendingProps,e.memoizedState),null;case 27:return P6(r),e===null&&zo&&(i=r.stateNode=bee(r.type,r.pendingProps,YM.current),Ki=r,cc=!0,f=Ba,e8(r.type)?(xB=f,Ba=pc(i.firstChild)):Ba=f),Wi(e,r,r.pendingProps.children,a),jO(e,r),e===null&&(r.flags|=4194304),r.child;case 5:if(e===null&&zo){if(f=i=Ba)i=pwe(i,r.type,r.pendingProps,cc),i!==null?(r.stateNode=i,Ki=r,Ba=pc(i.firstChild),cc=!1,f=!0):f=!1;f||XM(r)}return P6(r),f=r.type,s=r.pendingProps,l=e!==null?e.memoizedProps:null,i=s.children,hB(f,s)?i=null:l!==null&&hB(f,l)&&(r.flags|=32),r.memoizedState!==null&&(f=VB(e,r,k_e,null,null,a),jP._currentValue=f),jO(e,r),Wi(e,r,i,a),r.child;case 6:if(e===null&&zo){if(e=a=Ba)a=mwe(a,r.pendingProps,cc),a!==null?(r.stateNode=a,Ki=r,Ba=null,e=!0):e=!1;e||XM(r)}return null;case 13:return C$(e,r,a);case 4:return VO(r,r.stateNode.containerInfo),i=r.pendingProps,e===null?r.child=Mz(r,null,i,a):Wi(e,r,i,a),r.child;case 11:return ZQ(e,r,r.type,r.pendingProps,a);case 7:return Wi(e,r,r.pendingProps,a),r.child;case 8:return Wi(e,r,r.pendingProps.children,a),r.child;case 12:return Wi(e,r,r.pendingProps.children,a),r.child;case 10:return i=r.pendingProps,TM(r,r.type,i.value),Wi(e,r,i.children,a),r.child;case 9:return f=r.type._context,i=r.pendingProps.children,gz(r),f=Xi(f),i=i(f),r.flags|=1,Wi(e,r,i,a),r.child;case 14:return pQ(e,r,r.type,r.pendingProps,a);case 15:return L$(e,r,r.type,r.pendingProps,a);case 19:return I$(e,r,a);case 31:return N_e(e,r,a);case 22:return k$(e,r,a,r.pendingProps);case 24:return gz(r),i=Xi(li),e===null?(f=FB(),f===null&&(f=ka,s=NB(),f.pooledCache=s,s.refCount++,s!==null&&(f.pooledCacheLanes|=a),f=s),r.memoizedState={parent:i,cache:f},YB(r),TM(r,li,f)):((e.lanes&a)!==0&&(G6(e,r),xP(r,null,null,a),vP()),f=e.memoizedState,s=r.memoizedState,f.parent!==i?(f={parent:i,cache:i},r.memoizedState=f,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=f),TM(r,li,i)):(i=s.cache,TM(r,li,i),i!==f.cache&&H6(r,[li],a,!0))),Wi(e,r,r.pendingProps.children,a),r.child;case 29:throw r.pendingProps}throw Error(jt(156,r.tag))}function IZ(e){e.flags|=4}function m6(e,r,a,i,f){if(r=(e.mode&32)!==0)r=!1;if(r){if(e.flags|=16777216,(f&335544128)===f)if(e.stateNode.complete)e.flags|=8192;else if(tee())e.flags|=8192;else throw dz=$O,BB}else e.flags&=-16777217}function yQ(e,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!zee(r))if(tee())e.flags|=8192;else throw dz=$O,BB}function _O(e,r){r!==null&&(e.flags|=4),e.flags&16384&&(r=e.tag!==22?aJ():536870912,e.lanes|=r,Ak|=r)}function rP(e,r){if(!zo)switch(e.tailMode){case"hidden":r=e.tail;for(var a=null;r!==null;)r.alternate!==null&&(a=r),r=r.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?r||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Fa(e){var r=e.alternate!==null&&e.alternate.child===e.child,a=0,i=0;if(r)for(var f=e.child;f!==null;)a|=f.lanes|f.childLanes,i|=f.subtreeFlags&65011712,i|=f.flags&65011712,f.return=e,f=f.sibling;else for(f=e.child;f!==null;)a|=f.lanes|f.childLanes,i|=f.subtreeFlags,i|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=i,e.childLanes=a,r}function B_e(e,r,a){var i=r.pendingProps;switch(jB(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Fa(r),null;case 1:return Fa(r),null;case 3:if(a=r.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),r.memoizedState.cache!==i&&(r.flags|=2048),FZ(li),kk(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),e===null||e.child===null)ak(r)?IZ(r):e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,i6());return Fa(r),null;case 26:var{type:f,memoizedState:s}=r;return e===null?(IZ(r),s!==null?(Fa(r),yQ(r,s)):(Fa(r),m6(r,f,null,i,a))):s?s!==e.memoizedState?(IZ(r),Fa(r),yQ(r,s)):(Fa(r),r.flags&=-16777217):(e=e.memoizedProps,e!==i&&IZ(r),Fa(r),m6(r,f,e,i,a)),null;case 27:if(HO(r),a=YM.current,f=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==i&&IZ(r);else{if(!i){if(r.stateNode===null)throw Error(jt(166));return Fa(r),null}e=tZ.current,ak(r)?XX(r,e):(e=bee(f,i,a),r.stateNode=e,IZ(r))}return Fa(r),null;case 5:if(HO(r),f=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==i&&IZ(r);else{if(!i){if(r.stateNode===null)throw Error(jt(166));return Fa(r),null}if(s=tZ.current,ak(r))XX(r,s);else{var l=Zj(YM.current);switch(s){case 1:s=l.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:s=l.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":s=l.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":s=l.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":s=l.createElement("div"),s.innerHTML="<script></script>",s=s.removeChild(s.firstChild);break;case"select":s=typeof i.is==="string"?l.createElement("select",{is:i.is}):l.createElement("select"),i.multiple?s.multiple=!0:i.size&&(s.size=i.size);break;default:s=typeof i.is==="string"?l.createElement(f,{is:i.is}):l.createElement(f)}}s[Gi]=r,s[Gs]=i;e:for(l=r.child;l!==null;){if(l.tag===5||l.tag===6)s.appendChild(l.stateNode);else if(l.tag!==4&&l.tag!==27&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break e;for(;l.sibling===null;){if(l.return===null||l.return===r)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}r.stateNode=s;e:switch(Qi(s,f,i),f){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&IZ(r)}}return Fa(r),m6(r,r.type,e===null?null:e.memoizedProps,r.pendingProps,a),null;case 6:if(e&&r.stateNode!=null)e.memoizedProps!==i&&IZ(r);else{if(typeof i!=="string"&&r.stateNode===null)throw Error(jt(166));if(e=YM.current,ak(r)){if(e=r.stateNode,a=r.memoizedProps,i=null,f=Ki,f!==null)switch(f.tag){case 27:case 5:i=f.memoizedProps}e[Gi]=r,e=e.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||Mee(e.nodeValue,a)?!0:!1,e||XM(r,!0)}else e=Zj(e).createTextNode(i),e[Gi]=r,r.stateNode=e}return Fa(r),null;case 31:if(a=r.memoizedState,e===null||e.memoizedState!==null){if(i=ak(r),a!==null){if(e===null){if(!i)throw Error(jt(318));if(e=r.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(jt(557));e[Gi]=r}else hz(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;Fa(r),e=!1}else a=i6(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e){if(r.flags&256)return Pl(r),r;return Pl(r),null}if((r.flags&128)!==0)throw Error(jt(558))}return Fa(r),null;case 13:if(i=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=ak(r),i!==null&&i.dehydrated!==null){if(e===null){if(!f)throw Error(jt(318));if(f=r.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(jt(317));f[Gi]=r}else hz(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;Fa(r),f=!1}else f=i6(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=f),f=!0;if(!f){if(r.flags&256)return Pl(r),r;return Pl(r),null}}if(Pl(r),(r.flags&128)!==0)return r.lanes=a,r;return a=i!==null,e=e!==null&&e.memoizedState!==null,a&&(i=r.child,f=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(f=i.alternate.memoizedState.cachePool.pool),s=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(s=i.memoizedState.cachePool.pool),s!==f&&(i.flags|=2048)),a!==e&&a&&(r.child.flags|=8192),_O(r,r.updateQueue),Fa(r),null;case 4:return kk(),e===null&&hee(r.stateNode.containerInfo),Fa(r),null;case 10:return FZ(r.type),Fa(r),null;case 19:if(wi(En),i=r.memoizedState,i===null)return Fa(r),null;if(f=(r.flags&128)!==0,s=i.rendering,s===null)if(f)rP(i,!1);else{if(xn!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(s=tj(e),s!==null){r.flags|=128,rP(i,!1),e=s.updateQueue,r.updateQueue=e,_O(r,e),r.subtreeFlags=0,e=a;for(a=r.child;a!==null;)EJ(a,e),a=a.sibling;return Pa(En,En.current&1|2),zo&&AZ(r,i.treeForkCount),r.child}e=e.sibling}i.tail!==null&&Fl()>fj&&(r.flags|=128,f=!0,rP(i,!1),r.lanes=4194304)}else{if(!f)if(e=tj(s),e!==null){if(r.flags|=128,f=!0,e=e.updateQueue,r.updateQueue=e,_O(r,e),rP(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!zo)return Fa(r),null}else 2*Fl()-i.renderingStartTime>fj&&a!==536870912&&(r.flags|=128,f=!0,rP(i,!1),r.lanes=4194304);i.isBackwards?(s.sibling=r.child,r.child=s):(e=i.last,e!==null?e.sibling=s:r.child=s,i.last=s)}if(i.tail!==null)return e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Fl(),e.sibling=null,a=En.current,Pa(En,f?a&1|2:a&1),zo&&AZ(r,i.treeForkCount),e;return Fa(r),null;case 22:case 23:return Pl(r),UB(),i=r.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(r.flags|=8192):i&&(r.flags|=8192),i?(a&536870912)!==0&&(r.flags&128)===0&&(Fa(r),r.subtreeFlags&6&&(r.flags|=8192)):Fa(r),a=r.updateQueue,a!==null&&_O(r,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),i=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(i=r.memoizedState.cachePool.pool),i!==a&&(r.flags|=2048),e!==null&&wi(uz),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),r.memoizedState.cache!==a&&(r.flags|=2048),FZ(li),Fa(r),null;case 25:return null;case 30:return null}throw Error(jt(156,r.tag))}function Y_e(e,r){switch(jB(r),r.tag){case 1:return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return FZ(li),kk(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 26:case 27:case 5:return HO(r),null;case 31:if(r.memoizedState!==null){if(Pl(r),r.alternate===null)throw Error(jt(340));hz()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 13:if(Pl(r),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(jt(340));hz()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return wi(En),null;case 4:return kk(),null;case 10:return FZ(r.type),null;case 22:case 23:return Pl(r),UB(),e!==null&&wi(uz),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 24:return FZ(li),null;case 25:return null;default:return null}}function P$(e,r){switch(jB(r),r.tag){case 3:FZ(li),kk();break;case 26:case 27:case 5:HO(r);break;case 4:kk();break;case 31:r.memoizedState!==null&&Pl(r);break;case 13:Pl(r);break;case 19:wi(En);break;case 10:FZ(r.type);break;case 22:case 23:Pl(r),UB(),e!==null&&wi(uz);break;case 24:FZ(li)}}function KP(e,r){try{var a=r.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var f=i.next;a=f;do{if((a.tag&e)===e){i=void 0;var s=a.create,l=a.inst;i=s(),l.destroy=i}a=a.next}while(a!==f)}}catch(c){ra(r,r.return,c)}}function QM(e,r,a){try{var i=r.updateQueue,f=i!==null?i.lastEffect:null;if(f!==null){var s=f.next;i=s;do{if((i.tag&e)===e){var l=i.inst,c=l.destroy;if(c!==void 0){l.destroy=void 0,f=r;var m=a,g=c;try{g()}catch(M){ra(f,m,M)}}}i=i.next}while(i!==s)}}catch(M){ra(r,r.return,M)}}function T$(e){var r=e.updateQueue;if(r!==null){var a=e.stateNode;try{VJ(r,a)}catch(i){ra(e,e.return,i)}}}function A$(e,r,a){a.props=xz(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(i){ra(e,r,i)}}function bP(e,r){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof a==="function"?e.refCleanup=a(i):a.current=i}}catch(f){ra(e,r,f)}}function eZ(e,r){var a=e.ref,i=e.refCleanup;if(a!==null)if(typeof i==="function")try{i()}catch(f){ra(e,r,f)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a==="function")try{a(null)}catch(f){ra(e,r,f)}else a.current=null}function E$(e){var{type:r,memoizedProps:a,stateNode:i}=e;try{e:switch(r){case"button":case"input":case"select":case"textarea":a.autoFocus&&i.focus();break e;case"img":a.src?i.src=a.src:a.srcSet&&(i.srcset=a.srcSet)}}catch(f){ra(e,e.return,f)}}function h6(e,r,a){try{var i=e.stateNode;swe(i,e.type,a,r),i[Gs]=r}catch(f){ra(e,e.return,f)}}function D$(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&e8(e.type)||e.tag===4}function g6(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||D$(e.return))return null;e=e.return}e.sibling.return=e.return;for(e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&e8(e.type))continue e;if(e.flags&2)continue e;if(e.child===null||e.tag===4)continue e;else e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function nB(e,r,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,r?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,r):(r=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,r.appendChild(e),a=a._reactRootContainer,a!==null&&a!==void 0||r.onclick!==null||(r.onclick=OZ));else if(i!==4&&(i===27&&e8(e.type)&&(a=e.stateNode,r=null),e=e.child,e!==null))for(nB(e,r,a),e=e.sibling;e!==null;)nB(e,r,a),e=e.sibling}function ij(e,r,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,r?a.insertBefore(e,r):a.appendChild(e);else if(i!==4&&(i===27&&e8(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(ij(e,r,a),e=e.sibling;e!==null;)ij(e,r,a),e=e.sibling}function O$(e){var{stateNode:r,memoizedProps:a}=e;try{for(var i=e.type,f=r.attributes;f.length;)r.removeAttributeNode(f[0]);Qi(r,i,a),r[Gi]=e,r[Gs]=a}catch(s){ra(e,e.return,s)}}var EZ=!1,si=!1,M6=!1,bQ=typeof WeakSet==="function"?WeakSet:Set,bi=null;function U_e(e,r){if(e=e.containerInfo,pB=gj,e=LJ(e),TB(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var i=a.getSelection&&a.getSelection();if(i&&i.rangeCount!==0){a=i.anchorNode;var f=i.anchorOffset,s=i.focusNode;i=i.focusOffset;try{a.nodeType,s.nodeType}catch(j){a=null;break e}var l=0,c=-1,m=-1,g=0,M=0,v=e,y=null;t:for(;;){for(var x;;){if(v!==a||f!==0&&v.nodeType!==3||(c=l+f),v!==s||i!==0&&v.nodeType!==3||(m=l+i),v.nodeType===3&&(l+=v.nodeValue.length),(x=v.firstChild)===null)break;y=v,v=x}for(;;){if(v===e)break t;if(y===a&&++g===f&&(c=l),y===s&&++M===i&&(m=l),(x=v.nextSibling)!==null)break;v=y,y=v.parentNode}v=x}a=c===-1||m===-1?null:{start:c,end:m}}else a=null}a=a||{start:0,end:0}}else a=null;mB={focusedElem:e,selectionRange:a},gj=!1;for(bi=r;bi!==null;)if(r=bi,e=r.child,(r.subtreeFlags&1028)!==0&&e!==null)e.return=r,bi=e;else for(;bi!==null;){switch(r=bi,s=r.alternate,e=r.flags,r.tag){case 0:if((e&4)!==0&&(e=r.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)f=e[a],f.ref.impl=f.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&s!==null){e=void 0,a=r,f=s.memoizedProps,s=s.memoizedState,i=a.stateNode;try{var _=xz(a.type,f);e=i.getSnapshotBeforeUpdate(_,s),i.__reactInternalSnapshotBeforeUpdate=e}catch(j){ra(a,a.return,j)}}break;case 3:if((e&1024)!==0){if(e=r.stateNode.containerInfo,a=e.nodeType,a===9)gB(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":gB(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(jt(163))}if(e=r.sibling,e!==null){e.return=r.return,bi=e;break}bi=r.return}}function j$(e,r,a){var i=a.flags;switch(a.tag){case 0:case 11:case 15:PZ(e,a),i&4&&KP(5,a);break;case 1:if(PZ(e,a),i&4)if(e=a.stateNode,r===null)try{e.componentDidMount()}catch(l){ra(a,a.return,l)}else{var f=xz(a.type,r.memoizedProps);r=r.memoizedState;try{e.componentDidUpdate(f,r,e.__reactInternalSnapshotBeforeUpdate)}catch(l){ra(a,a.return,l)}}i&64&&T$(a),i&512&&bP(a,a.return);break;case 3:if(PZ(e,a),i&64&&(e=a.updateQueue,e!==null)){if(r=null,a.child!==null)switch(a.child.tag){case 27:case 5:r=a.child.stateNode;break;case 1:r=a.child.stateNode}try{VJ(e,r)}catch(l){ra(a,a.return,l)}}break;case 27:r===null&&i&4&&O$(a);case 26:case 5:PZ(e,a),r===null&&i&4&&E$(a),i&512&&bP(a,a.return);break;case 12:PZ(e,a);break;case 31:PZ(e,a),i&4&&B$(e,a);break;case 13:PZ(e,a),i&4&&Y$(e,a),i&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=J_e.bind(null,a),hwe(e,a))));break;case 22:if(i=a.memoizedState!==null||EZ,!i){r=r!==null&&r.memoizedState!==null||si,f=EZ;var s=si;EZ=i,(si=r)&&!s?TZ(e,a,(a.subtreeFlags&8772)!==0):PZ(e,a),EZ=f,si=s}break;case 30:break;default:PZ(e,a)}}function N$(e){var r=e.alternate;r!==null&&(e.alternate=null,N$(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&LB(r)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var an=null,Vs=!1;function RZ(e,r,a){for(a=a.child;a!==null;)F$(e,r,a),a=a.sibling}function F$(e,r,a){if(Bl&&typeof Bl.onCommitFiberUnmount==="function")try{Bl.onCommitFiberUnmount(YP,a)}catch(s){}switch(a.tag){case 26:si||eZ(a,r),RZ(e,r,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:si||eZ(a,r);var i=an,f=Vs;e8(a.type)&&(an=a.stateNode,Vs=!1),RZ(e,r,a),SP(a.stateNode),an=i,Vs=f;break;case 5:si||eZ(a,r);case 6:if(i=an,f=Vs,an=null,RZ(e,r,a),an=i,Vs=f,an!==null)if(Vs)try{(an.nodeType===9?an.body:an.nodeName==="HTML"?an.ownerDocument.body:an).removeChild(a.stateNode)}catch(s){ra(a,r,s)}else try{an.removeChild(a.stateNode)}catch(s){ra(a,r,s)}break;case 18:an!==null&&(Vs?(e=an,EQ(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),jk(e)):EQ(an,a.stateNode));break;case 4:i=an,f=Vs,an=a.stateNode.containerInfo,Vs=!0,RZ(e,r,a),an=i,Vs=f;break;case 0:case 11:case 14:case 15:QM(2,a,r),si||QM(4,a,r),RZ(e,r,a);break;case 1:si||(eZ(a,r),i=a.stateNode,typeof i.componentWillUnmount==="function"&&A$(a,r,i)),RZ(e,r,a);break;case 21:RZ(e,r,a);break;case 22:si=(i=si)||a.memoizedState!==null,RZ(e,r,a),si=i;break;default:RZ(e,r,a)}}function B$(e,r){if(r.memoizedState===null&&(e=r.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{jk(e)}catch(a){ra(r,r.return,a)}}}function Y$(e,r){if(r.memoizedState===null&&(e=r.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{jk(e)}catch(a){ra(r,r.return,a)}}function q_e(e){switch(e.tag){case 31:case 13:case 19:var r=e.stateNode;return r===null&&(r=e.stateNode=new bQ),r;case 22:return e=e.stateNode,r=e._retryCache,r===null&&(r=e._retryCache=new bQ),r;default:throw Error(jt(435,e.tag))}}function wO(e,r){var a=q_e(e);r.forEach(function(i){if(!a.has(i)){a.add(i);var f=$_e.bind(null,e,i);i.then(f,f)}})}function Ys(e,r){var a=r.deletions;if(a!==null)for(var i=0;i<a.length;i++){var f=a[i],s=e,l=r,c=l;e:for(;c!==null;){switch(c.tag){case 27:if(e8(c.type)){an=c.stateNode,Vs=!1;break e}break;case 5:an=c.stateNode,Vs=!1;break e;case 3:case 4:an=c.stateNode.containerInfo,Vs=!0;break e}c=c.return}if(an===null)throw Error(jt(160));F$(s,l,f),an=null,Vs=!1,s=f.alternate,s!==null&&(s.return=null),f.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)U$(r,e),r=r.sibling}var au=null;function U$(e,r){var a=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ys(r,e),qs(e),i&4&&(QM(3,e,e.return),KP(3,e),QM(5,e,e.return));break;case 1:Ys(r,e),qs(e),i&512&&(si||a===null||eZ(a,a.return)),i&64&&EZ&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?i:a.concat(i))));break;case 26:var f=au;if(Ys(r,e),qs(e),i&512&&(si||a===null||eZ(a,a.return)),i&4){var s=a!==null?a.memoizedState:null;if(i=e.memoizedState,a===null)if(i===null)if(e.stateNode===null){e:{i=e.type,a=e.memoizedProps,f=f.ownerDocument||f;t:switch(i){case"title":if(s=f.getElementsByTagName("title")[0],!s||s[VP]||s[Gi]||s.namespaceURI==="http://www.w3.org/2000/svg"||s.hasAttribute("itemprop"))s=f.createElement(i),f.head.insertBefore(s,f.querySelector("head > title"));Qi(s,i,a),s[Gi]=e,_i(s),i=s;break e;case"link":var l=YQ("link","href",f).get(i+(a.href||""));if(l){for(var c=0;c<l.length;c++)if(s=l[c],s.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&s.getAttribute("rel")===(a.rel==null?null:a.rel)&&s.getAttribute("title")===(a.title==null?null:a.title)&&s.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){l.splice(c,1);break t}}s=f.createElement(i),Qi(s,i,a),f.head.appendChild(s);break;case"meta":if(l=YQ("meta","content",f).get(i+(a.content||""))){for(c=0;c<l.length;c++)if(s=l[c],s.getAttribute("content")===(a.content==null?null:""+a.content)&&s.getAttribute("name")===(a.name==null?null:a.name)&&s.getAttribute("property")===(a.property==null?null:a.property)&&s.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&s.getAttribute("charset")===(a.charSet==null?null:a.charSet)){l.splice(c,1);break t}}s=f.createElement(i),Qi(s,i,a),f.head.appendChild(s);break;default:throw Error(jt(468,i))}s[Gi]=e,_i(s),i=s}e.stateNode=i}else UQ(f,e.type,e.stateNode);else e.stateNode=BQ(f,i,e.memoizedProps);else s!==i?(s===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):s.count--,i===null?UQ(f,e.type,e.stateNode):BQ(f,i,e.memoizedProps)):i===null&&e.stateNode!==null&&h6(e,e.memoizedProps,a.memoizedProps)}break;case 27:Ys(r,e),qs(e),i&512&&(si||a===null||eZ(a,a.return)),a!==null&&i&4&&h6(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Ys(r,e),qs(e),i&512&&(si||a===null||eZ(a,a.return)),e.flags&32){f=e.stateNode;try{Ik(f,"")}catch(_){ra(e,e.return,_)}}i&4&&e.stateNode!=null&&(f=e.memoizedProps,h6(e,f,a!==null?a.memoizedProps:f)),i&1024&&(M6=!0);break;case 6:if(Ys(r,e),qs(e),i&4){if(e.stateNode===null)throw Error(jt(162));i=e.memoizedProps,a=e.stateNode;try{a.nodeValue=i}catch(_){ra(e,e.return,_)}}break;case 3:if(BO=null,f=au,au=pj(r.containerInfo),Ys(r,e),au=f,qs(e),i&4&&a!==null&&a.memoizedState.isDehydrated)try{jk(r.containerInfo)}catch(_){ra(e,e.return,_)}M6&&(M6=!1,q$(e));break;case 4:i=au,au=pj(e.stateNode.containerInfo),Ys(r,e),qs(e),au=i;break;case 12:Ys(r,e),qs(e);break;case 31:Ys(r,e),qs(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,wO(e,i)));break;case 13:Ys(r,e),qs(e),e.child.flags&8192&&e.memoizedState!==null!==(a!==null&&a.memoizedState!==null)&&(Rj=Fl()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,wO(e,i)));break;case 22:f=e.memoizedState!==null;var m=a!==null&&a.memoizedState!==null,g=EZ,M=si;if(EZ=g||f,si=M||m,Ys(r,e),si=M,EZ=g,qs(e),i&8192)e:for(r=e.stateNode,r._visibility=f?r._visibility&-2:r._visibility|1,f&&(a===null||m||EZ||si||sz(e)),a=null,r=e;;){if(r.tag===5||r.tag===26){if(a===null){m=a=r;try{if(s=m.stateNode,f)l=s.style,typeof l.setProperty==="function"?l.setProperty("display","none","important"):l.display="none";else{c=m.stateNode;var v=m.memoizedProps.style,y=v!==void 0&&v!==null&&v.hasOwnProperty("display")?v.display:null;c.style.display=y==null||typeof y==="boolean"?"":(""+y).trim()}}catch(_){ra(m,m.return,_)}}}else if(r.tag===6){if(a===null){m=r;try{m.stateNode.nodeValue=f?"":m.memoizedProps}catch(_){ra(m,m.return,_)}}}else if(r.tag===18){if(a===null){m=r;try{var x=m.stateNode;f?DQ(x,!0):DQ(m.stateNode,!1)}catch(_){ra(m,m.return,_)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break e;for(;r.sibling===null;){if(r.return===null||r.return===e)break e;a===r&&(a=null),r=r.return}a===r&&(a=null),r.sibling.return=r.return,r=r.sibling}i&4&&(i=e.updateQueue,i!==null&&(a=i.retryQueue,a!==null&&(i.retryQueue=null,wO(e,a))));break;case 19:Ys(r,e),qs(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,wO(e,i)));break;case 30:break;case 21:break;default:Ys(r,e),qs(e)}}function qs(e){var r=e.flags;if(r&2){try{for(var a,i=e.return;i!==null;){if(D$(i)){a=i;break}i=i.return}if(a==null)throw Error(jt(160));switch(a.tag){case 27:var f=a.stateNode,s=g6(e);ij(e,s,f);break;case 5:var l=a.stateNode;a.flags&32&&(Ik(l,""),a.flags&=-33);var c=g6(e);ij(e,c,l);break;case 3:case 4:var m=a.stateNode.containerInfo,g=g6(e);nB(e,g,m);break;default:throw Error(jt(161))}}catch(M){ra(e,e.return,M)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function q$(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var r=e;q$(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),e=e.sibling}}function PZ(e,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)j$(e,r.alternate,r),r=r.sibling}function sz(e){for(e=e.child;e!==null;){var r=e;switch(r.tag){case 0:case 11:case 14:case 15:QM(4,r,r.return),sz(r);break;case 1:eZ(r,r.return);var a=r.stateNode;typeof a.componentWillUnmount==="function"&&A$(r,r.return,a),sz(r);break;case 27:SP(r.stateNode);case 26:case 5:eZ(r,r.return),sz(r);break;case 22:r.memoizedState===null&&sz(r);break;case 30:sz(r);break;default:sz(r)}e=e.sibling}}function TZ(e,r,a){a=a&&(r.subtreeFlags&8772)!==0;for(r=r.child;r!==null;){var i=r.alternate,f=e,s=r,l=s.flags;switch(s.tag){case 0:case 11:case 15:TZ(f,s,a),KP(4,s);break;case 1:if(TZ(f,s,a),i=s,f=i.stateNode,typeof f.componentDidMount==="function")try{f.componentDidMount()}catch(g){ra(i,i.return,g)}if(i=s,f=i.updateQueue,f!==null){var c=i.stateNode;try{var m=f.shared.hiddenCallbacks;if(m!==null)for(f.shared.hiddenCallbacks=null,f=0;f<m.length;f++)qJ(m[f],c)}catch(g){ra(i,i.return,g)}}a&&l&64&&T$(s),bP(s,s.return);break;case 27:O$(s);case 26:case 5:TZ(f,s,a),a&&i===null&&l&4&&E$(s),bP(s,s.return);break;case 12:TZ(f,s,a);break;case 31:TZ(f,s,a),a&&l&4&&B$(f,s);break;case 13:TZ(f,s,a),a&&l&4&&Y$(f,s);break;case 22:s.memoizedState===null&&TZ(f,s,a),bP(s,s.return);break;case 30:break;default:TZ(f,s,a)}r=r.sibling}}function nY(e,r){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(e=r.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&WP(a))}function iY(e,r){e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&WP(e))}function ou(e,r,a,i){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)V$(e,r,a,i),r=r.sibling}function V$(e,r,a,i){var f=r.flags;switch(r.tag){case 0:case 11:case 15:ou(e,r,a,i),f&2048&&KP(9,r);break;case 1:ou(e,r,a,i);break;case 3:ou(e,r,a,i),f&2048&&(e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&WP(e)));break;case 12:if(f&2048){ou(e,r,a,i),e=r.stateNode;try{var s=r.memoizedProps,l=s.id,c=s.onPostCommit;typeof c==="function"&&c(l,r.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(m){ra(r,r.return,m)}}else ou(e,r,a,i);break;case 31:ou(e,r,a,i);break;case 13:ou(e,r,a,i);break;case 23:break;case 22:s=r.stateNode,l=r.alternate,r.memoizedState!==null?s._visibility&2?ou(e,r,a,i):_P(e,r):s._visibility&2?ou(e,r,a,i):(s._visibility|=2,ik(e,r,a,i,(r.subtreeFlags&10256)!==0||!1)),f&2048&&nY(l,r);break;case 24:ou(e,r,a,i),f&2048&&iY(r.alternate,r);break;default:ou(e,r,a,i)}}function ik(e,r,a,i,f){f=f&&((r.subtreeFlags&10256)!==0||!1);for(r=r.child;r!==null;){var s=e,l=r,c=a,m=i,g=l.flags;switch(l.tag){case 0:case 11:case 15:ik(s,l,c,m,f),KP(8,l);break;case 23:break;case 22:var M=l.stateNode;l.memoizedState!==null?M._visibility&2?ik(s,l,c,m,f):_P(s,l):(M._visibility|=2,ik(s,l,c,m,f)),f&&g&2048&&nY(l.alternate,l);break;case 24:ik(s,l,c,m,f),f&&g&2048&&iY(l.alternate,l);break;default:ik(s,l,c,m,f)}r=r.sibling}}function _P(e,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var a=e,i=r,f=i.flags;switch(i.tag){case 22:_P(a,i),f&2048&&nY(i.alternate,i);break;case 24:_P(a,i),f&2048&&iY(i.alternate,i);break;default:_P(a,i)}r=r.sibling}}var uP=8192;function nk(e,r,a){if(e.subtreeFlags&uP)for(e=e.child;e!==null;)H$(e,r,a),e=e.sibling}function H$(e,r,a){switch(e.tag){case 26:nk(e,r,a),e.flags&uP&&e.memoizedState!==null&&kwe(a,au,e.memoizedState,e.memoizedProps);break;case 5:nk(e,r,a);break;case 3:case 4:var i=au;au=pj(e.stateNode.containerInfo),nk(e,r,a),au=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=uP,uP=16777216,nk(e,r,a),uP=i):nk(e,r,a));break;default:nk(e,r,a)}}function W$(e){var r=e.alternate;if(r!==null&&(e=r.child,e!==null)){r.child=null;do r=e.sibling,e.sibling=null,e=r;while(e!==null)}}function oP(e){var r=e.deletions;if((e.flags&16)!==0){if(r!==null)for(var a=0;a<r.length;a++){var i=r[a];bi=i,K$(i,e)}W$(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)G$(e),e=e.sibling}function G$(e){switch(e.tag){case 0:case 11:case 15:oP(e),e.flags&2048&&QM(9,e,e.return);break;case 3:oP(e);break;case 12:oP(e);break;case 22:var r=e.stateNode;e.memoizedState!==null&&r._visibility&2&&(e.return===null||e.return.tag!==13)?(r._visibility&=-3,NO(e)):oP(e);break;default:oP(e)}}function NO(e){var r=e.deletions;if((e.flags&16)!==0){if(r!==null)for(var a=0;a<r.length;a++){var i=r[a];bi=i,K$(i,e)}W$(e)}for(e=e.child;e!==null;){switch(r=e,r.tag){case 0:case 11:case 15:QM(8,r,r.return),NO(r);break;case 22:a=r.stateNode,a._visibility&2&&(a._visibility&=-3,NO(r));break;default:NO(r)}e=e.sibling}}function K$(e,r){for(;bi!==null;){var a=bi;switch(a.tag){case 0:case 11:case 15:QM(8,a,r);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var i=a.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:WP(a.memoizedState.cache)}if(i=a.child,i!==null)i.return=a,bi=i;else e:for(a=e;bi!==null;){i=bi;var f=i.sibling,s=i.return;if(N$(i),i===a){bi=null;break e}if(f!==null){f.return=s,bi=f;break e}bi=s}}}var V_e={getCacheForType:function(e){var r=Xi(li),a=r.data.get(e);return a===void 0&&(a=e(),r.data.set(e,a)),a},cacheSignal:function(){return Xi(li).controller.signal}},H_e=typeof WeakMap==="function"?WeakMap:Map,No=0,ka=null,Mo=null,_o=0,ta=0,Ll=null,NM=!1,Yk=!1,fY=!1,HZ=0,xn=0,JM=0,mz=0,sY=0,jl=0,Ak=0,wP=null,Hs=null,iB=!1,Rj=0,X$=0,fj=1/0,sj=null,qM=null,pi=0,VM=null,Ek=null,BZ=0,fB=0,sB=null,Q$=null,zP=0,lB=null;function dc(){return(No&2)!==0&&_o!==0?_o&-_o:qr.T!==null?cY():lJ()}function J$(){if(jl===0)if((_o&536870912)===0||zo){var e=hO;hO<<=1,(hO&3932160)===0&&(hO=262144),jl=e}else jl=536870912;return e=ql.current,e!==null&&(e.flags|=32),jl}function Ws(e,r,a){if(e===ka&&(ta===2||ta===9)||e.cancelPendingCommit!==null)Dk(e,0),FM(e,_o,jl,!1);if(xj(e,a),(No&2)===0||e!==ka)e===ka&&((No&2)===0&&(mz|=a),xn===4&&FM(e,_o,jl,!1)),WZ(e)}function $$(e,r,a){if((No&6)!==0)throw Error(jt(327));var i=!a&&(r&127)===0&&(r&e.expiredLanes)===0||UP(e,r),f=i?K_e(e,r):v6(e,r,!0),s=i;do{if(f===0){Yk&&!i&&FM(e,r,0,!1);break}else{if(a=e.current.alternate,s&&!W_e(a)){f=v6(e,r,!1),s=!1;continue}if(f===2){if(s=r,e.errorRecoveryDisabledLanes&s)var l=0;else l=e.pendingLanes&-536870913,l=l!==0?l:l&536870912?536870912:0;if(l!==0){r=l;e:{var c=e;f=wP;var m=c.current.memoizedState.isDehydrated;if(m&&(Dk(c,l).flags|=256),l=v6(c,l,!1),l!==2){if(fY&&!m){c.errorRecoveryDisabledLanes|=s,mz|=s,f=4;break e}s=Hs,Hs=f,s!==null&&(Hs===null?Hs=s:Hs.push.apply(Hs,s))}f=l}if(s=!1,f!==2)continue}}if(f===1){Dk(e,0),FM(e,r,0,!0);break}e:{switch(i=e,s=f,s){case 0:case 1:throw Error(jt(345));case 4:if((r&4194048)!==r)break;case 6:FM(i,r,jl,!NM);break e;case 2:Hs=null;break;case 3:case 5:break;default:throw Error(jt(329))}if((r&62914560)===r&&(f=Rj+300-Fl(),10<f)){if(FM(i,r,jl,!NM),vj(i,0,!0)!==0)break e;BZ=r,i.timeoutHandle=xee(_Q.bind(null,i,a,Hs,sj,iB,r,jl,mz,Ak,NM,s,"Throttled",-0,0),f);break e}_Q(i,a,Hs,sj,iB,r,jl,mz,Ak,NM,s,null,-0,0)}}break}while(1);WZ(e)}function _Q(e,r,a,i,f,s,l,c,m,g,M,v,y,x){if(e.timeoutHandle=-1,v=r.subtreeFlags,v&8192||(v&16785408)===16785408){v={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:OZ},H$(r,s,v);var _=(s&62914560)===s?Rj-Fl():(s&4194048)===s?X$-Fl():0;if(_=Cwe(v,_),_!==null){BZ=s,e.cancelPendingCommit=_(zQ.bind(null,e,r,s,a,i,f,l,c,m,M,v,null,y,x)),FM(e,s,l,!g);return}}zQ(e,r,s,a,i,f,l,c,m)}function W_e(e){for(var r=e;;){var a=r.tag;if((a===0||a===11||a===15)&&r.flags&16384&&(a=r.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var i=0;i<a.length;i++){var f=a[i],s=f.getSnapshot;f=f.value;try{if(!Ul(s(),f))return!1}catch(l){return!1}}if(a=r.child,r.subtreeFlags&16384&&a!==null)a.return=r,r=a;else{if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function FM(e,r,a,i){r&=~sY,r&=~mz,e.suspendedLanes|=r,e.pingedLanes&=~r,i&&(e.warmLanes|=r),i=e.expirationTimes;for(var f=r;0<f;){var s=31-Yl(f),l=1<<s;i[s]=-1,f&=~l}a!==0&&nJ(e,a,r)}function Pj(){return(No&6)===0?(XP(0,!1),!1):!0}function lY(){if(Mo!==null){if(ta===0)var e=Mo.return;else e=Mo,jZ=zz=null,GB(e),zk=null,TP=0,e=Mo;for(;e!==null;)P$(e.alternate,e),e=e.return;Mo=null}}function Dk(e,r){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,uwe(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),BZ=0,lY(),ka=e,Mo=a=NZ(e.current,null),_o=r,ta=0,Ll=null,NM=!1,Yk=UP(e,r),fY=!1,Ak=jl=sY=mz=JM=xn=0,Hs=wP=null,iB=!1,(r&8)!==0&&(r|=r&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=r;0<i;){var f=31-Yl(i),s=1<<f;r|=e[f],i&=~s}return HZ=r,wj(),a}function eee(e,r){fo=null,qr.H=EP,r===Bk||r===Sj?(r=tQ(),ta=3):r===BB?(r=tQ(),ta=4):ta=r===oY?8:r!==null&&typeof r==="object"&&typeof r.then==="function"?6:1,Ll=r,Mo===null&&(xn=1,aj(e,lc(r,e.current)))}function tee(){var e=ql.current;return e===null?!0:(_o&4194048)===_o?uc===null?!0:!1:(_o&62914560)===_o||(_o&536870912)!==0?e===uc:!1}function ree(){var e=qr.H;return qr.H=EP,e===null?EP:e}function oee(){var e=qr.A;return qr.A=V_e,e}function lj(){xn=4,NM||(_o&4194048)!==_o&&ql.current!==null||(Yk=!0),(JM&134217727)===0&&(mz&134217727)===0||ka===null||FM(ka,_o,jl,!1)}function v6(e,r,a){var i=No;No|=2;var f=ree(),s=oee();if(ka!==e||_o!==r)sj=null,Dk(e,r);r=!1;var l=xn;e:do try{if(ta!==0&&Mo!==null){var c=Mo,m=Ll;switch(ta){case 8:lY(),l=6;break e;case 3:case 2:case 9:case 6:ql.current===null&&(r=!0);var g=ta;if(ta=0,Ll=null,xk(e,c,m,g),a&&Yk){l=0;break e}break;default:g=ta,ta=0,Ll=null,xk(e,c,m,g)}}G_e(),l=xn;break}catch(M){eee(e,M)}while(1);return r&&e.shellSuspendCounter++,jZ=zz=null,No=i,qr.H=f,qr.A=s,Mo===null&&(ka=null,_o=0,wj()),l}function G_e(){for(;Mo!==null;)aee(Mo)}function K_e(e,r){var a=No;No|=2;var i=ree(),f=oee();ka!==e||_o!==r?(sj=null,fj=Fl()+500,Dk(e,r)):Yk=UP(e,r);e:do try{if(ta!==0&&Mo!==null){r=Mo;var s=Ll;t:switch(ta){case 1:ta=0,Ll=null,xk(e,r,s,1);break;case 2:case 9:if(eQ(s)){ta=0,Ll=null,wQ(r);break}r=function(){ta!==2&&ta!==9||ka!==e||(ta=7),WZ(e)},s.then(r,r);break e;case 3:ta=7;break e;case 4:ta=5;break e;case 7:eQ(s)?(ta=0,Ll=null,wQ(r)):(ta=0,Ll=null,xk(e,r,s,7));break;case 5:var l=null;switch(Mo.tag){case 26:l=Mo.memoizedState;case 5:case 27:var c=Mo;if(l?zee(l):c.stateNode.complete){ta=0,Ll=null;var m=c.sibling;if(m!==null)Mo=m;else{var g=c.return;g!==null?(Mo=g,Tj(g)):Mo=null}break t}}ta=0,Ll=null,xk(e,r,s,5);break;case 6:ta=0,Ll=null,xk(e,r,s,6);break;case 8:lY(),xn=6;break e;default:throw Error(jt(462))}}X_e();break}catch(M){eee(e,M)}while(1);if(jZ=zz=null,qr.H=i,qr.A=f,No=a,Mo!==null)return 0;return ka=null,_o=0,wj(),xn}function X_e(){for(;Mo!==null&&!hbe();)aee(Mo)}function aee(e){var r=R$(e.alternate,e,HZ);e.memoizedProps=e.pendingProps,r===null?Tj(e):Mo=r}function wQ(e){var r=e,a=r.alternate;switch(r.tag){case 15:case 0:r=gQ(a,r,r.pendingProps,r.type,void 0,_o);break;case 11:r=gQ(a,r,r.pendingProps,r.type.render,r.ref,_o);break;case 5:GB(r);default:P$(a,r),r=Mo=EJ(r,HZ),r=R$(a,r,HZ)}e.memoizedProps=e.pendingProps,r===null?Tj(e):Mo=r}function xk(e,r,a,i){jZ=zz=null,GB(r),zk=null,TP=0;var f=r.return;try{if(j_e(e,f,r,a,_o)){xn=1,aj(e,lc(a,e.current)),Mo=null;return}}catch(s){if(f!==null)throw Mo=f,s;xn=1,aj(e,lc(a,e.current)),Mo=null;return}if(r.flags&32768){if(zo||i===1)e=!0;else if(Yk||(_o&536870912)!==0)e=!1;else if(NM=e=!0,i===2||i===9||i===3||i===6)i=ql.current,i!==null&&i.tag===13&&(i.flags|=16384);nee(r,e)}else Tj(r)}function Tj(e){var r=e;do{if((r.flags&32768)!==0){nee(r,NM);return}e=r.return;var a=B_e(r.alternate,r,HZ);if(a!==null){Mo=a;return}if(r=r.sibling,r!==null){Mo=r;return}Mo=r=e}while(r!==null);xn===0&&(xn=5)}function nee(e,r){do{var a=Y_e(e.alternate,e);if(a!==null){a.flags&=32767,Mo=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!r&&(e=e.sibling,e!==null)){Mo=e;return}Mo=e=a}while(e!==null);xn=6,Mo=null}function zQ(e,r,a,i,f,s,l,c,m){e.cancelPendingCommit=null;do Aj();while(pi!==0);if((No&6)!==0)throw Error(jt(327));if(r!==null){if(r===e.current)throw Error(jt(177));if(s=r.lanes|r.childLanes,s|=AB,Sbe(e,a,s,l,c,m),e===ka&&(Mo=ka=null,_o=0),Ek=r,VM=e,BZ=a,fB=s,sB=f,Q$=i,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,ewe(WO,function(){return cee(),null})):(e.callbackNode=null,e.callbackPriority=0),i=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||i){i=qr.T,qr.T=null,f=Bo.p,Bo.p=2,l=No,No|=4;try{U_e(e,r,a)}finally{No=l,Bo.p=f,qr.T=i}}pi=1,iee(),fee(),see()}}function iee(){if(pi===1){pi=0;var e=VM,r=Ek,a=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||a){a=qr.T,qr.T=null;var i=Bo.p;Bo.p=2;var f=No;No|=4;try{U$(r,e);var s=mB,l=LJ(e.containerInfo),{focusedElem:c,selectionRange:m}=s;if(l!==c&&c&&c.ownerDocument&&SJ(c.ownerDocument.documentElement,c)){if(m!==null&&TB(c)){var{start:g,end:M}=m;if(M===void 0&&(M=g),"selectionStart"in c)c.selectionStart=g,c.selectionEnd=Math.min(M,c.value.length);else{var v=c.ownerDocument||document,y=v&&v.defaultView||window;if(y.getSelection){var x=y.getSelection(),_=c.textContent.length,j=Math.min(m.start,_),U=m.end===void 0?j:Math.min(m.end,_);!x.extend&&j>U&&(l=U,U=j,j=l);var T=WX(c,j),N=WX(c,U);if(T&&N&&(x.rangeCount!==1||x.anchorNode!==T.node||x.anchorOffset!==T.offset||x.focusNode!==N.node||x.focusOffset!==N.offset)){var G=v.createRange();G.setStart(T.node,T.offset),x.removeAllRanges(),j>U?(x.addRange(G),x.extend(N.node,N.offset)):(G.setEnd(N.node,N.offset),x.addRange(G))}}}}v=[];for(x=c;x=x.parentNode;)x.nodeType===1&&v.push({element:x,left:x.scrollLeft,top:x.scrollTop});typeof c.focus==="function"&&c.focus();for(c=0;c<v.length;c++){var X=v[c];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}gj=!!pB,mB=pB=null}finally{No=f,Bo.p=i,qr.T=a}}e.current=r,pi=2}}function fee(){if(pi===2){pi=0;var e=VM,r=Ek,a=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||a){a=qr.T,qr.T=null;var i=Bo.p;Bo.p=2;var f=No;No|=4;try{j$(e,r.alternate,r)}finally{No=f,Bo.p=i,qr.T=a}}pi=3}}function see(){if(pi===4||pi===3){pi=0,gbe();var e=VM,r=Ek,a=BZ,i=Q$;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?pi=5:(pi=0,Ek=VM=null,lee(e,e.pendingLanes));var f=e.pendingLanes;if(f===0&&(qM=null),SB(a),r=r.stateNode,Bl&&typeof Bl.onCommitFiberRoot==="function")try{Bl.onCommitFiberRoot(YP,r,void 0,(r.current.flags&128)===128)}catch(m){}if(i!==null){r=qr.T,f=Bo.p,Bo.p=2,qr.T=null;try{for(var s=e.onRecoverableError,l=0;l<i.length;l++){var c=i[l];s(c.value,{componentStack:c.stack})}}finally{qr.T=r,Bo.p=f}}(BZ&3)!==0&&Aj(),WZ(e),f=e.pendingLanes,(a&261930)!==0&&(f&42)!==0?e===lB?zP++:(zP=0,lB=e):zP=0,XP(0,!1)}}function lee(e,r){(e.pooledCacheLanes&=r)===0&&(r=e.pooledCache,r!=null&&(e.pooledCache=null,WP(r)))}function Aj(){return iee(),fee(),see(),cee()}function cee(){if(pi!==5)return!1;var e=VM,r=fB;fB=0;var a=SB(BZ),i=qr.T,f=Bo.p;try{Bo.p=32>a?32:a,qr.T=null,a=sB,sB=null;var s=VM,l=BZ;if(pi=0,Ek=VM=null,BZ=0,(No&6)!==0)throw Error(jt(331));var c=No;if(No|=4,G$(s.current),V$(s,s.current,l,a),No=c,XP(0,!1),Bl&&typeof Bl.onPostCommitFiberRoot==="function")try{Bl.onPostCommitFiberRoot(YP,s)}catch(m){}return!0}finally{Bo.p=f,qr.T=i,lee(e,r)}}function SQ(e,r,a){r=lc(a,r),r=rB(e.stateNode,r,2),e=pz(e,r,2),e!==null&&(xj(e,2),WZ(e))}function ra(e,r,a){if(e.tag===3)SQ(e,e,a);else for(;r!==null;){if(r.tag===3){SQ(r,e,a);break}else if(r.tag===1){var i=r.stateNode;if(typeof r.type.getDerivedStateFromError==="function"||typeof i.componentDidCatch==="function"&&(qM===null||!qM.has(i))){e=lc(a,e),a=z$(2),i=pz(r,a,2),i!==null&&(S$(a,i,r,e),xj(i,2),WZ(i));break}}r=r.return}}function x6(e,r,a){var i=e.pingCache;if(i===null){i=e.pingCache=new H_e;var f=new Set;i.set(r,f)}else f=i.get(r),f===void 0&&(f=new Set,i.set(r,f));f.has(a)||(fY=!0,f.add(a),e=Q_e.bind(null,e,r,a),r.then(e,e))}function Q_e(e,r,a){var i=e.pingCache;i!==null&&i.delete(r),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,ka===e&&(_o&a)===a&&(xn===4||xn===3&&(_o&62914560)===_o&&300>Fl()-Rj?(No&2)===0&&Dk(e,0):sY|=a,Ak===_o&&(Ak=0)),WZ(e)}function uee(e,r){r===0&&(r=aJ()),e=wz(e,r),e!==null&&(xj(e,r),WZ(e))}function J_e(e){var r=e.memoizedState,a=0;r!==null&&(a=r.retryLane),uee(e,a)}function $_e(e,r){var a=0;switch(e.tag){case 31:case 13:var{stateNode:i,memoizedState:f}=e;f!==null&&(a=f.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(jt(314))}i!==null&&i.delete(r),uee(e,a)}function ewe(e,r){return zB(e,r)}var cj=null,fk=null,cB=!1,uj=!1,y6=!1,BM=0;function WZ(e){e!==fk&&e.next===null&&(fk===null?cj=fk=e:fk=fk.next=e),uj=!0,cB||(cB=!0,rwe())}function XP(e,r){if(!y6&&uj){y6=!0;do{var a=!1;for(var i=cj;i!==null;){if(!r)if(e!==0){var f=i.pendingLanes;if(f===0)var s=0;else{var l=i.suspendedLanes,c=i.pingedLanes;s=(1<<31-Yl(42|e)+1)-1,s&=f&~(l&~c),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(a=!0,LQ(i,s))}else s=_o,s=vj(i,i===ka?s:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(s&3)===0||UP(i,s)||(a=!0,LQ(i,s));i=i.next}}while(a);y6=!1}}function twe(){dee()}function dee(){uj=cB=!1;var e=0;BM!==0&&cwe()&&(e=BM);for(var r=Fl(),a=null,i=cj;i!==null;){var f=i.next,s=Zee(i,r);if(s===0)i.next=null,a===null?cj=f:a.next=f,f===null&&(fk=a);else if(a=i,e!==0||(s&3)!==0)uj=!0;i=f}pi!==0&&pi!==5||XP(e,!1),BM!==0&&(BM=0)}function Zee(e,r){for(var{suspendedLanes:a,pingedLanes:i,expirationTimes:f}=e,s=e.pendingLanes&-62914561;0<s;){var l=31-Yl(s),c=1<<l,m=f[l];if(m===-1){if((c&a)===0||(c&i)!==0)f[l]=zbe(c,r)}else m<=r&&(e.expiredLanes|=c);s&=~c}if(r=ka,a=_o,a=vj(e,e===r?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,a===0||e===r&&(ta===2||ta===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&Q3(i),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||UP(e,a)){if(r=a&-a,r===e.callbackPriority)return r;switch(i!==null&&Q3(i),SB(a)){case 2:case 8:a=rJ;break;case 32:a=WO;break;case 268435456:a=oJ;break;default:a=WO}return i=pee.bind(null,e),a=zB(a,i),e.callbackPriority=r,e.callbackNode=a,r}return i!==null&&i!==null&&Q3(i),e.callbackPriority=2,e.callbackNode=null,2}function pee(e,r){if(pi!==0&&pi!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(Aj()&&e.callbackNode!==a)return null;var i=_o;if(i=vj(e,e===ka?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0)return null;return $$(e,i,r),Zee(e,Fl()),e.callbackNode!=null&&e.callbackNode===a?pee.bind(null,e):null}function LQ(e,r){if(Aj())return null;$$(e,r,!0)}function rwe(){dwe(function(){(No&6)!==0?zB(tJ,twe):dee()})}function cY(){if(BM===0){var e=Rk;e===0&&(e=mO,mO<<=1,(mO&261888)===0&&(mO=256)),BM=e}return BM}function kQ(e){return e==null||typeof e==="symbol"||typeof e==="boolean"?null:typeof e==="function"?e:CO(""+e)}function CQ(e,r){var a=r.ownerDocument.createElement("input");return a.name=r.name,a.value=r.value,e.id&&a.setAttribute("form",e.id),r.parentNode.insertBefore(a,r),e=new FormData(e),a.parentNode.removeChild(a),e}function owe(e,r,a,i,f){if(r==="submit"&&a&&a.stateNode===f){var s=kQ((f[Gs]||null).action),l=i.submitter;l&&(r=(r=l[Gs]||null)?kQ(r.formAction):l.getAttribute("formAction"),r!==null&&(s=r,l=null));var c=new yj("action","action",null,i,f);e.push({event:c,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(BM!==0){var m=l?CQ(f,l):new FormData(f);eB(a,{pending:!0,data:m,method:f.method,action:s},null,m)}}else typeof s==="function"&&(c.preventDefault(),m=l?CQ(f,l):new FormData(f),eB(a,{pending:!0,data:m,method:f.method,action:s},s,m))},currentTarget:f}]})}}for(dP=0;dP<Y6.length;dP++)ZP=Y6[dP],uB=ZP.toLowerCase(),dB=ZP[0].toUpperCase()+ZP.slice(1),nu(uB,"on"+dB);var ZP,uB,dB,dP;nu(CJ,"onAnimationEnd");nu(IJ,"onAnimationIteration");nu(RJ,"onAnimationStart");nu("dblclick","onDoubleClick");nu("focusin","onFocus");nu("focusout","onBlur");nu(M_e,"onTransitionRun");nu(v_e,"onTransitionStart");nu(x_e,"onTransitionCancel");nu(PJ,"onTransitionEnd");Ck("onMouseEnter",["mouseout","mouseover"]);Ck("onMouseLeave",["mouseout","mouseover"]);Ck("onPointerEnter",["pointerout","pointerover"]);Ck("onPointerLeave",["pointerout","pointerover"]);yz("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));yz("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));yz("onBeforeInput",["compositionend","keypress","textInput","paste"]);yz("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));yz("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));yz("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var DP="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(" "),awe=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(DP));function mee(e,r){r=(r&4)!==0;for(var a=0;a<e.length;a++){var i=e[a],f=i.event;i=i.listeners;e:{var s=void 0;if(r)for(var l=i.length-1;0<=l;l--){var c=i[l],m=c.instance,g=c.currentTarget;if(c=c.listener,m!==s&&f.isPropagationStopped())break e;s=c,f.currentTarget=g;try{s(f)}catch(M){KO(M)}f.currentTarget=null,s=m}else for(l=0;l<i.length;l++){if(c=i[l],m=c.instance,g=c.currentTarget,c=c.listener,m!==s&&f.isPropagationStopped())break e;s=c,f.currentTarget=g;try{s(f)}catch(M){KO(M)}f.currentTarget=null,s=m}}}}function go(e,r){var a=r[A6];a===void 0&&(a=r[A6]=new Set);var i=e+"__bubble";a.has(i)||(gee(r,e,2,!1),a.add(i))}function b6(e,r,a){var i=0;r&&(i|=4),gee(a,e,i,r)}var zO="_reactListening"+Math.random().toString(36).slice(2);function hee(e){if(!e[zO]){e[zO]=!0,cJ.forEach(function(a){a!=="selectionchange"&&(awe.has(a)||b6(a,!1,e),b6(a,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[zO]||(r[zO]=!0,b6("selectionchange",!1,r))}}function gee(e,r,a,i){switch(kee(r)){case 2:var f=Awe;break;case 8:f=Ewe;break;default:f=pY}a=f.bind(null,r,a,e),f=void 0,!N6||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(f=!0),i?f!==void 0?e.addEventListener(r,a,{capture:!0,passive:f}):e.addEventListener(r,a,!0):f!==void 0?e.addEventListener(r,a,{passive:f}):e.addEventListener(r,a,!1)}function _6(e,r,a,i,f){var s=i;if((r&1)===0&&(r&2)===0&&i!==null)e:for(;;){if(i===null)return;var l=i.tag;if(l===3||l===4){var c=i.stateNode.containerInfo;if(c===f)break;if(l===4)for(l=i.return;l!==null;){var m=l.tag;if((m===3||m===4)&&l.stateNode.containerInfo===f)return;l=l.return}for(;c!==null;){if(l=uk(c),l===null)return;if(m=l.tag,m===5||m===6||m===26||m===27){i=s=l;continue e}c=c.parentNode}}i=i.return}MJ(function(){var g=s,M=CB(a),v=[];e:{var y=TJ.get(e);if(y!==void 0){var x=yj,_=e;switch(e){case"keypress":if(RO(a)===0)break e;case"keydown":case"keyup":x=Xbe;break;case"focusin":_="focus",x=r6;break;case"focusout":_="blur",x=r6;break;case"beforeblur":case"afterblur":x=r6;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=jX;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=jbe;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=$be;break;case CJ:case IJ:case RJ:x=Bbe;break;case PJ:x=t_e;break;case"scroll":case"scrollend":x=Dbe;break;case"wheel":x=o_e;break;case"copy":case"cut":case"paste":x=Ube;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=FX;break;case"toggle":case"beforetoggle":x=n_e}var j=(r&4)!==0,U=!j&&(e==="scroll"||e==="scrollend"),T=j?y!==null?y+"Capture":null:y;j=[];for(var N=g,G;N!==null;){var X=N;if(G=X.stateNode,X=X.tag,X!==5&&X!==26&&X!==27||G===null||T===null||(X=kP(N,T),X!=null&&j.push(OP(N,X,G))),U)break;N=N.return}0<j.length&&(y=new x(y,_,null,a,M),v.push({event:y,listeners:j}))}}if((r&7)===0){e:{if(y=e==="mouseover"||e==="pointerover",x=e==="mouseout"||e==="pointerout",y&&a!==j6&&(_=a.relatedTarget||a.fromElement)&&(uk(_)||_[qP]))break e;if(x||y){if(y=M.window===M?M:(y=M.ownerDocument)?y.defaultView||y.parentWindow:window,x){if(_=a.relatedTarget||a.toElement,x=g,_=_?uk(_):null,_!==null&&(U=BP(_),j=_.tag,_!==U||j!==5&&j!==27&&j!==6))_=null}else x=null,_=g;if(x!==_){if(j=jX,X="onMouseLeave",T="onMouseEnter",N="mouse",e==="pointerout"||e==="pointerover")j=FX,X="onPointerLeave",T="onPointerEnter",N="pointer";if(U=x==null?y:fP(x),G=_==null?y:fP(_),y=new j(X,N+"leave",x,a,M),y.target=U,y.relatedTarget=G,X=null,uk(M)===g&&(j=new j(T,N+"enter",_,a,M),j.target=G,j.relatedTarget=U,X=j),U=X,x&&_)t:{j=nwe,T=x,N=_,G=0;for(X=T;X;X=j(X))G++;X=0;for(var J=N;J;J=j(J))X++;for(;0<G-X;)T=j(T),G--;for(;0<X-G;)N=j(N),X--;for(;G--;){if(T===N||N!==null&&T===N.alternate){j=T;break t}T=j(T),N=j(N)}j=null}else j=null;x!==null&&IQ(v,y,x,j,!1),_!==null&&U!==null&&IQ(v,U,_,j,!0)}}}e:{if(y=g?fP(g):window,x=y.nodeName&&y.nodeName.toLowerCase(),x==="select"||x==="input"&&y.type==="file")var ee=qX;else if(UX(y))if(wJ)ee=m_e;else{ee=Z_e;var re=d_e}else x=y.nodeName,!x||x.toLowerCase()!=="input"||y.type!=="checkbox"&&y.type!=="radio"?g&&kB(g.elementType)&&(ee=qX):ee=p_e;if(ee&&(ee=ee(e,g))){_J(v,ee,a,M);break e}re&&re(e,y,g),e==="focusout"&&g&&y.type==="number"&&g.memoizedProps.value!=null&&O6(y,"number",y.value)}switch(re=g?fP(g):window,e){case"focusin":if(UX(re)||re.contentEditable==="true")pk=re,F6=g,hP=null;break;case"focusout":hP=F6=pk=null;break;case"mousedown":B6=!0;break;case"contextmenu":case"mouseup":case"dragend":B6=!1,GX(v,a,M);break;case"selectionchange":if(g_e)break;case"keydown":case"keyup":GX(v,a,M)}var oe;if(PB)e:{switch(e){case"compositionstart":var ae="onCompositionStart";break e;case"compositionend":ae="onCompositionEnd";break e;case"compositionupdate":ae="onCompositionUpdate";break e}ae=void 0}else Zk?yJ(e,a)&&(ae="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(ae="onCompositionStart");if(ae&&(xJ&&a.locale!=="ko"&&(Zk||ae!=="onCompositionStart"?ae==="onCompositionEnd"&&Zk&&(oe=vJ()):(jM=M,IB=("value"in jM)?jM.value:jM.textContent,Zk=!0)),re=dj(g,ae),0<re.length&&(ae=new NX(ae,e,null,a,M),v.push({event:ae,listeners:re}),oe?ae.data=oe:(oe=bJ(a),oe!==null&&(ae.data=oe)))),oe=f_e?s_e(e,a):l_e(e,a))ae=dj(g,"onBeforeInput"),0<ae.length&&(re=new NX("onBeforeInput","beforeinput",null,a,M),v.push({event:re,listeners:ae}),re.data=oe);owe(v,e,g,a,M)}mee(v,r)})}function OP(e,r,a){return{instance:e,listener:r,currentTarget:a}}function dj(e,r){for(var a=r+"Capture",i=[];e!==null;){var f=e,s=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||s===null||(f=kP(e,a),f!=null&&i.unshift(OP(e,f,s)),f=kP(e,r),f!=null&&i.push(OP(e,f,s))),e.tag===3)return i;e=e.return}return[]}function nwe(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e?e:null}function IQ(e,r,a,i,f){for(var s=r._reactName,l=[];a!==null&&a!==i;){var c=a,m=c.alternate,g=c.stateNode;if(c=c.tag,m!==null&&m===i)break;c!==5&&c!==26&&c!==27||g===null||(m=g,f?(g=kP(a,s),g!=null&&l.unshift(OP(a,g,m))):f||(g=kP(a,s),g!=null&&l.push(OP(a,g,m)))),a=a.return}l.length!==0&&e.push({event:r,listeners:l})}var iwe=/\r\n?/g,fwe=/\u0000|\uFFFD/g;function RQ(e){return(typeof e==="string"?e:""+e).replace(iwe,`
10
- `).replace(fwe,"")}function Mee(e,r){return r=RQ(r),RQ(e)===r?!0:!1}function Ma(e,r,a,i,f,s){switch(a){case"children":typeof i==="string"?r==="body"||r==="textarea"&&i===""||Ik(e,i):(typeof i==="number"||typeof i==="bigint")&&r!=="body"&&Ik(e,""+i);break;case"className":MO(e,"class",i);break;case"tabIndex":MO(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":MO(e,a,i);break;case"style":gJ(e,i,s);break;case"data":if(r!=="object"){MO(e,"data",i);break}case"src":case"href":if(i===""&&(r!=="a"||a!=="href")){e.removeAttribute(a);break}if(i==null||typeof i==="function"||typeof i==="symbol"||typeof i==="boolean"){e.removeAttribute(a);break}i=CO(""+i),e.setAttribute(a,i);break;case"action":case"formAction":if(typeof i==="function"){e.setAttribute(a,"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 s==="function"&&(a==="formAction"?(r!=="input"&&Ma(e,r,"name",f.name,f,null),Ma(e,r,"formEncType",f.formEncType,f,null),Ma(e,r,"formMethod",f.formMethod,f,null),Ma(e,r,"formTarget",f.formTarget,f,null)):(Ma(e,r,"encType",f.encType,f,null),Ma(e,r,"method",f.method,f,null),Ma(e,r,"target",f.target,f,null)));if(i==null||typeof i==="symbol"||typeof i==="boolean"){e.removeAttribute(a);break}i=CO(""+i),e.setAttribute(a,i);break;case"onClick":i!=null&&(e.onclick=OZ);break;case"onScroll":i!=null&&go("scroll",e);break;case"onScrollEnd":i!=null&&go("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error(jt(61));if(a=i.__html,a!=null){if(f.children!=null)throw Error(jt(60));e.innerHTML=a}}break;case"multiple":e.multiple=i&&typeof i!=="function"&&typeof i!=="symbol";break;case"muted":e.muted=i&&typeof i!=="function"&&typeof i!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i==="function"||typeof i==="boolean"||typeof i==="symbol"){e.removeAttribute("xlink:href");break}a=CO(""+i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!=="function"&&typeof i!=="symbol"?e.setAttribute(a,""+i):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!=="function"&&typeof i!=="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":i===!0?e.setAttribute(a,""):i!==!1&&i!=null&&typeof i!=="function"&&typeof i!=="symbol"?e.setAttribute(a,i):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!=="function"&&typeof i!=="symbol"&&!isNaN(i)&&1<=i?e.setAttribute(a,i):e.removeAttribute(a);break;case"rowSpan":case"start":i==null||typeof i==="function"||typeof i==="symbol"||isNaN(i)?e.removeAttribute(a):e.setAttribute(a,i);break;case"popover":go("beforetoggle",e),go("toggle",e),kO(e,"popover",i);break;case"xlinkActuate":CZ(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":CZ(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":CZ(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":CZ(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":CZ(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":CZ(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":CZ(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":CZ(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":CZ(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":kO(e,"is",i);break;case"innerText":case"textContent":break;default:if(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")a=Abe.get(a)||a,kO(e,a,i)}}function ZB(e,r,a,i,f,s){switch(a){case"style":gJ(e,i,s);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error(jt(61));if(a=i.__html,a!=null){if(f.children!=null)throw Error(jt(60));e.innerHTML=a}}break;case"children":typeof i==="string"?Ik(e,i):(typeof i==="number"||typeof i==="bigint")&&Ik(e,""+i);break;case"onScroll":i!=null&&go("scroll",e);break;case"onScrollEnd":i!=null&&go("scrollend",e);break;case"onClick":i!=null&&(e.onclick=OZ);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!uJ.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(f=a.endsWith("Capture"),r=a.slice(2,f?a.length-7:void 0),s=e[Gs]||null,s=s!=null?s[a]:null,typeof s==="function"&&e.removeEventListener(r,s,f),typeof i==="function")){typeof s!=="function"&&s!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(r,i,f);break e}a in e?e[a]=i:i===!0?e.setAttribute(a,""):kO(e,a,i)}}}function Qi(e,r,a){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":go("error",e),go("load",e);var i=!1,f=!1,s;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];if(l!=null)switch(s){case"src":i=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(jt(137,r));default:Ma(e,r,s,l,a,null)}}f&&Ma(e,r,"srcSet",a.srcSet,a,null),i&&Ma(e,r,"src",a.src,a,null);return;case"input":go("invalid",e);var c=s=l=f=null,m=null,g=null;for(i in a)if(a.hasOwnProperty(i)){var M=a[i];if(M!=null)switch(i){case"name":f=M;break;case"type":l=M;break;case"checked":m=M;break;case"defaultChecked":g=M;break;case"value":s=M;break;case"defaultValue":c=M;break;case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(jt(137,r));break;default:Ma(e,r,i,M,a,null)}}pJ(e,s,c,m,g,l,f,!1);return;case"select":go("invalid",e),i=l=s=null;for(f in a)if(a.hasOwnProperty(f)&&(c=a[f],c!=null))switch(f){case"value":s=c;break;case"defaultValue":l=c;break;case"multiple":i=c;default:Ma(e,r,f,c,a,null)}r=s,a=l,e.multiple=!!i,r!=null?bk(e,!!i,r,!1):a!=null&&bk(e,!!i,a,!0);return;case"textarea":go("invalid",e),s=f=i=null;for(l in a)if(a.hasOwnProperty(l)&&(c=a[l],c!=null))switch(l){case"value":i=c;break;case"defaultValue":f=c;break;case"children":s=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(jt(91));break;default:Ma(e,r,l,c,a,null)}hJ(e,i,f,s);return;case"option":for(m in a)if(a.hasOwnProperty(m)&&(i=a[m],i!=null))switch(m){case"selected":e.selected=i&&typeof i!=="function"&&typeof i!=="symbol";break;default:Ma(e,r,m,i,a,null)}return;case"dialog":go("beforetoggle",e),go("toggle",e),go("cancel",e),go("close",e);break;case"iframe":case"object":go("load",e);break;case"video":case"audio":for(i=0;i<DP.length;i++)go(DP[i],e);break;case"image":go("error",e),go("load",e);break;case"details":go("toggle",e);break;case"embed":case"source":case"link":go("error",e),go("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(g in a)if(a.hasOwnProperty(g)&&(i=a[g],i!=null))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(jt(137,r));default:Ma(e,r,g,i,a,null)}return;default:if(kB(r)){for(M in a)a.hasOwnProperty(M)&&(i=a[M],i!==void 0&&ZB(e,r,M,i,a,void 0));return}}for(c in a)a.hasOwnProperty(c)&&(i=a[c],i!=null&&Ma(e,r,c,i,a,null))}function swe(e,r,a,i){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,s=null,l=null,c=null,m=null,g=null,M=null;for(x in a){var v=a[x];if(a.hasOwnProperty(x)&&v!=null)switch(x){case"checked":break;case"value":break;case"defaultValue":m=v;default:i.hasOwnProperty(x)||Ma(e,r,x,null,i,v)}}for(var y in i){var x=i[y];if(v=a[y],i.hasOwnProperty(y)&&(x!=null||v!=null))switch(y){case"type":s=x;break;case"name":f=x;break;case"checked":g=x;break;case"defaultChecked":M=x;break;case"value":l=x;break;case"defaultValue":c=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(jt(137,r));break;default:x!==v&&Ma(e,r,y,x,i,v)}}D6(e,l,c,m,g,M,s,f);return;case"select":x=l=c=y=null;for(s in a)if(m=a[s],a.hasOwnProperty(s)&&m!=null)switch(s){case"value":break;case"multiple":x=m;default:i.hasOwnProperty(s)||Ma(e,r,s,null,i,m)}for(f in i)if(s=i[f],m=a[f],i.hasOwnProperty(f)&&(s!=null||m!=null))switch(f){case"value":y=s;break;case"defaultValue":c=s;break;case"multiple":l=s;default:s!==m&&Ma(e,r,f,s,i,m)}r=c,a=l,i=x,y!=null?bk(e,!!a,y,!1):!!i!==!!a&&(r!=null?bk(e,!!a,r,!0):bk(e,!!a,a?[]:"",!1));return;case"textarea":x=y=null;for(c in a)if(f=a[c],a.hasOwnProperty(c)&&f!=null&&!i.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:Ma(e,r,c,null,i,f)}for(l in i)if(f=i[l],s=a[l],i.hasOwnProperty(l)&&(f!=null||s!=null))switch(l){case"value":y=f;break;case"defaultValue":x=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(jt(91));break;default:f!==s&&Ma(e,r,l,f,i,s)}mJ(e,y,x);return;case"option":for(var _ in a)if(y=a[_],a.hasOwnProperty(_)&&y!=null&&!i.hasOwnProperty(_))switch(_){case"selected":e.selected=!1;break;default:Ma(e,r,_,null,i,y)}for(m in i)if(y=i[m],x=a[m],i.hasOwnProperty(m)&&y!==x&&(y!=null||x!=null))switch(m){case"selected":e.selected=y&&typeof y!=="function"&&typeof y!=="symbol";break;default:Ma(e,r,m,y,i,x)}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 j in a)y=a[j],a.hasOwnProperty(j)&&y!=null&&!i.hasOwnProperty(j)&&Ma(e,r,j,null,i,y);for(g in i)if(y=i[g],x=a[g],i.hasOwnProperty(g)&&y!==x&&(y!=null||x!=null))switch(g){case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(jt(137,r));break;default:Ma(e,r,g,y,i,x)}return;default:if(kB(r)){for(var U in a)y=a[U],a.hasOwnProperty(U)&&y!==void 0&&!i.hasOwnProperty(U)&&ZB(e,r,U,void 0,i,y);for(M in i)y=i[M],x=a[M],!i.hasOwnProperty(M)||y===x||y===void 0&&x===void 0||ZB(e,r,M,y,i,x);return}}for(var T in a)y=a[T],a.hasOwnProperty(T)&&y!=null&&!i.hasOwnProperty(T)&&Ma(e,r,T,null,i,y);for(v in i)y=i[v],x=a[v],!i.hasOwnProperty(v)||y===x||y==null&&x==null||Ma(e,r,v,y,i,x)}function PQ(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function lwe(){if(typeof performance.getEntriesByType==="function"){for(var e=0,r=0,a=performance.getEntriesByType("resource"),i=0;i<a.length;i++){var f=a[i],{transferSize:s,initiatorType:l,duration:c}=f;if(s&&c&&PQ(l)){l=0,c=f.responseEnd;for(i+=1;i<a.length;i++){var m=a[i],g=m.startTime;if(g>c)break;var M=m.transferSize,v=m.initiatorType;M&&PQ(v)&&(m=m.responseEnd,l+=M*(m<c?1:(c-g)/(m-g)))}if(--i,r+=8*(s+l)/(f.duration/1000),e++,10<e)break}}if(0<e)return r/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==="number")?e:5}var pB=null,mB=null;function Zj(e){return e.nodeType===9?e:e.ownerDocument}function TQ(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function vee(e,r){if(e===0)switch(r){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&r==="foreignObject"?0:e}function hB(e,r){return e==="textarea"||e==="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 w6=null;function cwe(){var e=window.event;if(e&&e.type==="popstate"){if(e===w6)return!1;return w6=e,!0}return w6=null,!1}var xee=typeof setTimeout==="function"?setTimeout:void 0,uwe=typeof clearTimeout==="function"?clearTimeout:void 0,AQ=typeof Promise==="function"?Promise:void 0,dwe=typeof queueMicrotask==="function"?queueMicrotask:typeof AQ<"u"?function(e){return AQ.resolve(null).then(e).catch(Zwe)}:xee;function Zwe(e){setTimeout(function(){throw e})}function e8(e){return e==="head"}function EQ(e,r){var a=r,i=0;do{var f=a.nextSibling;if(e.removeChild(a),f&&f.nodeType===8)if(a=f.data,a==="/$"||a==="/&"){if(i===0){e.removeChild(f),jk(r);return}i--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")i++;else if(a==="html")SP(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,SP(a);for(var s=a.firstChild;s;){var l=s.nextSibling,c=s.nodeName;s[VP]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&s.rel.toLowerCase()==="stylesheet"||a.removeChild(s),s=l}}else a==="body"&&SP(e.ownerDocument.body);a=f}while(a);jk(r)}function DQ(e,r){var a=e;e=0;do{var i=a.nextSibling;if(a.nodeType===1?r?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(r?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),i&&i.nodeType===8)if(a=i.data,a==="/$")if(e===0)break;else e--;else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=i}while(a)}function gB(e){var r=e.firstChild;r&&r.nodeType===10&&(r=r.nextSibling);for(;r;){var a=r;switch(r=r.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":gB(a),LB(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function pwe(e,r,a,i){for(;e.nodeType===1;){var f=a;if(e.nodeName.toLowerCase()!==r.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(!i)if(r==="input"&&e.type==="hidden"){var s=f.name==null?null:""+f.name;if(f.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;else if(!e[VP])switch(r){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;else if(s!==f.rel||e.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||e.getAttribute("title")!==(f.title==null?null:f.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(f.src==null?null:f.src)||e.getAttribute("type")!==(f.type==null?null:f.type)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}if(e=pc(e.nextSibling),e===null)break}return null}function mwe(e,r,a){if(r==="")return null;for(;e.nodeType!==3;){if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a)return null;if(e=pc(e.nextSibling),e===null)return null}return e}function yee(e,r){for(;e.nodeType!==8;){if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r)return null;if(e=pc(e.nextSibling),e===null)return null}return e}function MB(e){return e.data==="$?"||e.data==="$~"}function vB(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function hwe(e,r){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=r;else if(e.data!=="$?"||a.readyState!=="loading")r();else{var i=function(){r(),a.removeEventListener("DOMContentLoaded",i)};a.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function pc(e){for(;e!=null;e=e.nextSibling){var r=e.nodeType;if(r===1||r===3)break;if(r===8){if(r=e.data,r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"||r==="F!"||r==="F")break;if(r==="/$"||r==="/&")return null}}return e}var xB=null;function OQ(e){e=e.nextSibling;for(var r=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(r===0)return pc(e.nextSibling);r--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||r++}e=e.nextSibling}return null}function jQ(e){e=e.previousSibling;for(var r=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(r===0)return e;r--}else a!=="/$"&&a!=="/&"||r++}e=e.previousSibling}return null}function bee(e,r,a){switch(r=Zj(a),e){case"html":if(e=r.documentElement,!e)throw Error(jt(452));return e;case"head":if(e=r.head,!e)throw Error(jt(453));return e;case"body":if(e=r.body,!e)throw Error(jt(454));return e;default:throw Error(jt(451))}}function SP(e){for(var r=e.attributes;r.length;)e.removeAttributeNode(r[0]);LB(e)}var mc=new Map,NQ=new Set;function pj(e){return typeof e.getRootNode==="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var GZ=Bo.d;Bo.d={f:gwe,r:Mwe,D:vwe,C:xwe,L:ywe,m:bwe,X:wwe,S:_we,M:zwe};function gwe(){var e=GZ.f(),r=Pj();return e||r}function Mwe(e){var r=Nk(e);r!==null&&r.tag===5&&r.type==="form"?g$(r):GZ.r(e)}var Uk=typeof document>"u"?null:document;function _ee(e,r,a){var i=Uk;if(i&&typeof r==="string"&&r){var f=sc(r);f='link[rel="'+e+'"][href="'+f+'"]',typeof a==="string"&&(f+='[crossorigin="'+a+'"]'),NQ.has(f)||(NQ.add(f),e={rel:e,crossOrigin:a,href:r},i.querySelector(f)===null&&(r=i.createElement("link"),Qi(r,"link",e),_i(r),i.head.appendChild(r)))}}function vwe(e){GZ.D(e),_ee("dns-prefetch",e,null)}function xwe(e,r){GZ.C(e,r),_ee("preconnect",e,r)}function ywe(e,r,a){GZ.L(e,r,a);var i=Uk;if(i&&e&&r){var f='link[rel="preload"][as="'+sc(r)+'"]';r==="image"?a&&a.imageSrcSet?(f+='[imagesrcset="'+sc(a.imageSrcSet)+'"]',typeof a.imageSizes==="string"&&(f+='[imagesizes="'+sc(a.imageSizes)+'"]')):f+='[href="'+sc(e)+'"]':f+='[href="'+sc(e)+'"]';var s=f;switch(r){case"style":s=Ok(e);break;case"script":s=qk(e)}mc.has(s)||(e=Ua({rel:"preload",href:r==="image"&&a&&a.imageSrcSet?void 0:e,as:r},a),mc.set(s,e),i.querySelector(f)!==null||r==="style"&&i.querySelector(QP(s))||r==="script"&&i.querySelector(JP(s))||(r=i.createElement("link"),Qi(r,"link",e),_i(r),i.head.appendChild(r)))}}function bwe(e,r){GZ.m(e,r);var a=Uk;if(a&&e){var i=r&&typeof r.as==="string"?r.as:"script",f='link[rel="modulepreload"][as="'+sc(i)+'"][href="'+sc(e)+'"]',s=f;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=qk(e)}if(!mc.has(s)&&(e=Ua({rel:"modulepreload",href:e},r),mc.set(s,e),a.querySelector(f)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(JP(s)))return}i=a.createElement("link"),Qi(i,"link",e),_i(i),a.head.appendChild(i)}}}function _we(e,r,a){GZ.S(e,r,a);var i=Uk;if(i&&e){var f=yk(i).hoistableStyles,s=Ok(e);r=r||"default";var l=f.get(s);if(!l){var c={loading:0,preload:null};if(l=i.querySelector(QP(s)))c.loading=5;else{e=Ua({rel:"stylesheet",href:e,"data-precedence":r},a),(a=mc.get(s))&&uY(e,a);var m=l=i.createElement("link");_i(m),Qi(m,"link",e),m._p=new Promise(function(g,M){m.onload=g,m.onerror=M}),m.addEventListener("load",function(){c.loading|=1}),m.addEventListener("error",function(){c.loading|=2}),c.loading|=4,FO(l,r,i)}l={type:"stylesheet",instance:l,count:1,state:c},f.set(s,l)}}}function wwe(e,r){GZ.X(e,r);var a=Uk;if(a&&e){var i=yk(a).hoistableScripts,f=qk(e),s=i.get(f);s||(s=a.querySelector(JP(f)),s||(e=Ua({src:e,async:!0},r),(r=mc.get(f))&&dY(e,r),s=a.createElement("script"),_i(s),Qi(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(f,s))}}function zwe(e,r){GZ.M(e,r);var a=Uk;if(a&&e){var i=yk(a).hoistableScripts,f=qk(e),s=i.get(f);s||(s=a.querySelector(JP(f)),s||(e=Ua({src:e,async:!0,type:"module"},r),(r=mc.get(f))&&dY(e,r),s=a.createElement("script"),_i(s),Qi(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(f,s))}}function FQ(e,r,a,i){var f=(f=YM.current)?pj(f):null;if(!f)throw Error(jt(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence==="string"&&typeof a.href==="string"?(r=Ok(a.href),a=yk(f).hoistableStyles,i=a.get(r),i||(i={type:"style",instance:null,count:0,state:null},a.set(r,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href==="string"&&typeof a.precedence==="string"){e=Ok(a.href);var s=yk(f).hoistableStyles,l=s.get(e);if(l||(f=f.ownerDocument||f,l={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(e,l),(s=f.querySelector(QP(e)))&&!s._p&&(l.instance=s,l.state.loading=5),mc.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},mc.set(e,a),s||Swe(f,e,a,l.state))),r&&i===null)throw Error(jt(528,""));return l}if(r&&i!==null)throw Error(jt(529,""));return null;case"script":return r=a.async,a=a.src,typeof a==="string"&&r&&typeof r!=="function"&&typeof r!=="symbol"?(r=qk(a),a=yk(f).hoistableScripts,i=a.get(r),i||(i={type:"script",instance:null,count:0,state:null},a.set(r,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(jt(444,e))}}function Ok(e){return'href="'+sc(e)+'"'}function QP(e){return'link[rel="stylesheet"]['+e+"]"}function wee(e){return Ua({},e,{"data-precedence":e.precedence,precedence:null})}function Swe(e,r,a,i){e.querySelector('link[rel="preload"][as="style"]['+r+"]")?i.loading=1:(r=e.createElement("link"),i.preload=r,r.addEventListener("load",function(){return i.loading|=1}),r.addEventListener("error",function(){return i.loading|=2}),Qi(r,"link",a),_i(r),e.head.appendChild(r))}function qk(e){return'[src="'+sc(e)+'"]'}function JP(e){return"script[async]"+e}function BQ(e,r,a){if(r.count++,r.instance===null)switch(r.type){case"style":var i=e.querySelector('style[data-href~="'+sc(a.href)+'"]');if(i)return r.instance=i,_i(i),i;var f=Ua({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),_i(i),Qi(i,"style",f),FO(i,a.precedence,e),r.instance=i;case"stylesheet":f=Ok(a.href);var s=e.querySelector(QP(f));if(s)return r.state.loading|=4,r.instance=s,_i(s),s;i=wee(a),(f=mc.get(f))&&uY(i,f),s=(e.ownerDocument||e).createElement("link"),_i(s);var l=s;return l._p=new Promise(function(c,m){l.onload=c,l.onerror=m}),Qi(s,"link",i),r.state.loading|=4,FO(s,a.precedence,e),r.instance=s;case"script":if(s=qk(a.src),f=e.querySelector(JP(s)))return r.instance=f,_i(f),f;if(i=a,f=mc.get(s))i=Ua({},a),dY(i,f);return e=e.ownerDocument||e,f=e.createElement("script"),_i(f),Qi(f,"link",i),e.head.appendChild(f),r.instance=f;case"void":return null;default:throw Error(jt(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(i=r.instance,r.state.loading|=4,FO(i,a.precedence,e));return r.instance}function FO(e,r,a){for(var i=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=i.length?i[i.length-1]:null,s=f,l=0;l<i.length;l++){var c=i[l];if(c.dataset.precedence===r)s=c;else if(s!==f)break}s?s.parentNode.insertBefore(e,s.nextSibling):(r=a.nodeType===9?a.head:a,r.insertBefore(e,r.firstChild))}function uY(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.title==null&&(e.title=r.title)}function dY(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.integrity==null&&(e.integrity=r.integrity)}var BO=null;function YQ(e,r,a){if(BO===null){var i=new Map,f=BO=new Map;f.set(a,i)}else f=BO,i=f.get(a),i||(i=new Map,f.set(a,i));if(i.has(e))return i;i.set(e,null),a=a.getElementsByTagName(e);for(f=0;f<a.length;f++){var s=a[f];if(!(s[VP]||s[Gi]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!=="http://www.w3.org/2000/svg"){var l=s.getAttribute(r)||"";l=e+l;var c=i.get(l);c?c.push(s):i.set(l,[s])}}return i}function UQ(e,r,a){e=e.ownerDocument||e,e.head.insertBefore(a,r==="title"?e.querySelector("head > title"):null)}function Lwe(e,r,a){if(a===1||r.itemProp!=null)return!1;switch(e){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 e=r.disabled,typeof r.precedence==="string"&&e==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 zee(e){return e.type==="stylesheet"&&(e.state.loading&3)===0?!1:!0}function kwe(e,r,a,i){if(a.type==="stylesheet"&&(typeof i.media!=="string"||matchMedia(i.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var f=Ok(i.href),s=r.querySelector(QP(f));if(s){r=s._p,r!==null&&typeof r==="object"&&typeof r.then==="function"&&(e.count++,e=mj.bind(e),r.then(e,e)),a.state.loading|=4,a.instance=s,_i(s);return}s=r.ownerDocument||r,i=wee(i),(f=mc.get(f))&&uY(i,f),s=s.createElement("link"),_i(s);var l=s;l._p=new Promise(function(c,m){l.onload=c,l.onerror=m}),Qi(s,"link",i),a.instance=s}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,r),(r=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=mj.bind(e),r.addEventListener("load",a),r.addEventListener("error",a))}}var z6=0;function Cwe(e,r){return e.stylesheets&&e.count===0&&YO(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var i=setTimeout(function(){if(e.stylesheets&&YO(e,e.stylesheets),e.unsuspend){var s=e.unsuspend;e.unsuspend=null,s()}},60000+r);0<e.imgBytes&&z6===0&&(z6=62500*lwe());var f=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&YO(e,e.stylesheets),e.unsuspend)){var s=e.unsuspend;e.unsuspend=null,s()}},(e.imgBytes>z6?50:800)+r);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(f)}}:null}function mj(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)YO(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var hj=null;function YO(e,r){e.stylesheets=null,e.unsuspend!==null&&(e.count++,hj=new Map,r.forEach(Iwe,e),hj=null,mj.call(e))}function Iwe(e,r){if(!(r.state.loading&4)){var a=hj.get(e);if(a)var i=a.get(null);else{a=new Map,hj.set(e,a);for(var f=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<f.length;s++){var l=f[s];if(l.nodeName==="LINK"||l.getAttribute("media")!=="not all")a.set(l.dataset.precedence,l),i=l}i&&a.set(null,i)}f=r.instance,l=f.getAttribute("data-precedence"),s=a.get(l)||i,s===i&&a.set(null,f),a.set(l,f),this.count++,i=mj.bind(this),f.addEventListener("load",i),f.addEventListener("error",i),s?s.parentNode.insertBefore(f,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(f,e.firstChild)),r.state.loading|=4}}var jP={$$typeof:DZ,Provider:null,Consumer:null,_currentValue:lz,_currentValue2:lz,_threadCount:0};function Rwe(e,r,a,i,f,s,l,c,m){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=J3(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=J3(0),this.hiddenUpdates=J3(null),this.identifierPrefix=i,this.onUncaughtError=f,this.onCaughtError=s,this.onRecoverableError=l,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=m,this.incompleteTransitions=new Map}function Pwe(e,r,a,i,f,s,l,c,m,g,M,v){return e=new Rwe(e,r,a,l,m,g,M,v,c),r=1,s===!0&&(r|=24),s=Ol(3,null,null,r),e.current=s,s.stateNode=e,r=NB(),r.refCount++,e.pooledCache=r,r.refCount++,s.memoizedState={element:i,isDehydrated:a,cache:r},YB(s),e}function Twe(e){if(!e)return gk;return e=gk,e}function See(e,r,a,i,f,s){f=Twe(f),i.context===null?i.context=f:i.pendingContext=f,i=Zz(r),i.payload={element:a},s=s===void 0?null:s,s!==null&&(i.callback=s),a=pz(e,i,r),a!==null&&(Ws(a,e,r),MP(a,e,r))}function qQ(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<r?a:r}}function ZY(e,r){qQ(e,r),(e=e.alternate)&&qQ(e,r)}function Lee(e){if(e.tag===13||e.tag===31){var r=wz(e,67108864);r!==null&&Ws(r,e,67108864),ZY(e,67108864)}}function VQ(e){if(e.tag===13||e.tag===31){var r=dc();r=sJ(r);var a=wz(e,r);a!==null&&Ws(a,e,r),ZY(e,r)}}var gj=!0;function Awe(e,r,a,i){var f=qr.T;qr.T=null;var s=Bo.p;try{Bo.p=2,pY(e,r,a,i)}finally{Bo.p=s,qr.T=f}}function Ewe(e,r,a,i){var f=qr.T;qr.T=null;var s=Bo.p;try{Bo.p=8,pY(e,r,a,i)}finally{Bo.p=s,qr.T=f}}function pY(e,r,a,i){if(gj){var f=yB(i);if(f===null)_6(e,r,i,Mj,a),HQ(e,i);else if(Owe(f,e,r,a,i))i.stopPropagation();else if(HQ(e,i),r&4&&-1<Dwe.indexOf(e)){for(;f!==null;){var s=Nk(f);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var l=nz(s.pendingLanes);if(l!==0){var c=s;c.pendingLanes|=2;for(c.entangledLanes|=2;l;){var m=1<<31-Yl(l);c.entanglements[1]|=m,l&=~m}WZ(s),(No&6)===0&&(fj=Fl()+500,XP(0,!1))}}break;case 31:case 13:c=wz(s,2),c!==null&&Ws(c,s,2),Pj(),ZY(s,2)}if(s=yB(i),s===null&&_6(e,r,i,Mj,a),s===f)break;f=s}f!==null&&i.stopPropagation()}else _6(e,r,i,null,a)}}function yB(e){return e=CB(e),mY(e)}var Mj=null;function mY(e){if(Mj=null,e=uk(e),e!==null){var r=BP(e);if(r===null)e=null;else{var a=r.tag;if(a===13){if(e=XQ(r),e!==null)return e;e=null}else if(a===31){if(e=QQ(r),e!==null)return e;e=null}else if(a===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;e=null}else r!==e&&(e=null)}}return Mj=e,null}function kee(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Mbe()){case tJ:return 2;case rJ:return 8;case WO:case vbe:return 32;case oJ:return 268435456;default:return 32}default:return 32}}var bB=!1,HM=null,WM=null,GM=null,NP=new Map,FP=new Map,DM=[],Dwe="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 HQ(e,r){switch(e){case"focusin":case"focusout":HM=null;break;case"dragenter":case"dragleave":WM=null;break;case"mouseover":case"mouseout":GM=null;break;case"pointerover":case"pointerout":NP.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":FP.delete(r.pointerId)}}function aP(e,r,a,i,f,s){if(e===null||e.nativeEvent!==s)return e={blockedOn:r,domEventName:a,eventSystemFlags:i,nativeEvent:s,targetContainers:[f]},r!==null&&(r=Nk(r),r!==null&&Lee(r)),e;return e.eventSystemFlags|=i,r=e.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),e}function Owe(e,r,a,i,f){switch(r){case"focusin":return HM=aP(HM,e,r,a,i,f),!0;case"dragenter":return WM=aP(WM,e,r,a,i,f),!0;case"mouseover":return GM=aP(GM,e,r,a,i,f),!0;case"pointerover":var s=f.pointerId;return NP.set(s,aP(NP.get(s)||null,e,r,a,i,f)),!0;case"gotpointercapture":return s=f.pointerId,FP.set(s,aP(FP.get(s)||null,e,r,a,i,f)),!0}return!1}function Cee(e){var r=uk(e.target);if(r!==null){var a=BP(r);if(a!==null){if(r=a.tag,r===13){if(r=XQ(a),r!==null){e.blockedOn=r,RX(e.priority,function(){VQ(a)});return}}else if(r===31){if(r=QQ(a),r!==null){e.blockedOn=r,RX(e.priority,function(){VQ(a)});return}}else if(r===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function UO(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var a=yB(e.nativeEvent);if(a===null){a=e.nativeEvent;var i=new a.constructor(a.type,a);j6=i,a.target.dispatchEvent(i),j6=null}else return r=Nk(a),r!==null&&Lee(r),e.blockedOn=a,!1;r.shift()}return!0}function WQ(e,r,a){UO(e)&&a.delete(r)}function jwe(){bB=!1,HM!==null&&UO(HM)&&(HM=null),WM!==null&&UO(WM)&&(WM=null),GM!==null&&UO(GM)&&(GM=null),NP.forEach(WQ),FP.forEach(WQ)}function SO(e,r){e.blockedOn===r&&(e.blockedOn=null,bB||(bB=!0,Ds(Ns,jwe)))}var LO=null;function GQ(e){LO!==e&&(LO=e,Ds(Ns,function(){LO===e&&(LO=null);for(var r=0;r<e.length;r+=3){var a=e[r],i=e[r+1],f=e[r+2];if(typeof i!=="function")if(mY(i||a)===null)continue;else break;var s=Nk(a);s!==null&&(e.splice(r,3),r-=3,eB(s,{pending:!0,data:f,method:a.method,action:i},i,f))}}))}function jk(e){function r(m){return SO(m,e)}HM!==null&&SO(HM,e),WM!==null&&SO(WM,e),GM!==null&&SO(GM,e),NP.forEach(r),FP.forEach(r);for(var a=0;a<DM.length;a++){var i=DM[a];i.blockedOn===e&&(i.blockedOn=null)}for(;0<DM.length&&(a=DM[0],a.blockedOn===null);)Cee(a),a.blockedOn===null&&DM.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var f=a[i],s=a[i+1],l=f[Gs]||null;if(typeof s==="function")l||GQ(a);else if(l){var c=null;if(s&&s.hasAttribute("formAction")){if(f=s,l=s[Gs]||null)c=l.formAction;else if(mY(f)!==null)continue}else c=l.action;typeof c==="function"?a[i+1]=c:(a.splice(i,3),i-=3),GQ(a)}}}function Nwe(){function e(s){s.canIntercept&&s.info==="react-transition"&&s.intercept({handler:function(){return new Promise(function(l){return f=l})},focusReset:"manual",scroll:"manual"})}function r(){f!==null&&(f(),f=null),i||setTimeout(a,20)}function a(){if(!i&&!navigation.transition){var s=navigation.currentEntry;s&&s.url!=null&&navigation.navigate(s.url,{state:s.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var i=!1,f=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",r),navigation.addEventListener("navigateerror",r),setTimeout(a,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",r),navigation.removeEventListener("navigateerror",r),f!==null&&(f(),f=null)}}}function hY(e){this._internalRoot=e}gY.prototype.render=hY.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(jt(409));var a=r.current,i=dc();See(a,i,e,r,null,null)};gY.prototype.unmount=hY.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;See(e.current,2,null,e,null,null),Pj(),r[qP]=null}};function gY(e){this._internalRoot=e}gY.prototype.unstable_scheduleHydration=function(e){if(e){var r=lJ();e={blockedOn:null,target:e,priority:r};for(var a=0;a<DM.length&&r!==0&&r<DM[a].priority;a++);DM.splice(a,0,e),a===0&&Cee(e)}};var KQ=Rs;if(KQ!=="19.2.8")throw Error(jt(527,KQ,"19.2.8"));Bo.findDOMNode=function(e){var r=e._reactInternals;if(r===void 0){if(typeof e.render==="function")throw Error(jt(188));throw e=Object.keys(e).join(","),Error(jt(268,e))}return e=ube(r),e=e!==null?JQ(e):null,e=e===null?null:e.stateNode,e};var Fwe={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:qr,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){if(sk=__REACT_DEVTOOLS_GLOBAL_HOOK__,!sk.isDisabled&&sk.supportsFiber)try{YP=sk.inject(Fwe),Bl=sk}catch(e){}}var sk;var Iee=function(e,r){if(!cbe(e))throw Error(jt(299));var a=!1,i="",f=E_e,s=D_e,l=O_e;return r!==null&&r!==void 0&&(r.unstable_strictMode===!0&&(a=!0),r.identifierPrefix!==void 0&&(i=r.identifierPrefix),r.onUncaughtError!==void 0&&(f=r.onUncaughtError),r.onCaughtError!==void 0&&(s=r.onCaughtError),r.onRecoverableError!==void 0&&(l=r.onRecoverableError)),r=Pwe(e,1,!1,null,null,a,i,null,f,s,l,Nwe),e[qP]=r.current,hee(e),new hY(r)};Ree();S();var qwe={theme:"system",setTheme:()=>null},Pee=at(qwe);function Tee({children:e,defaultTheme:r="system",storageKey:a="vite-ui-theme",...i}){let[f,s]=u(()=>localStorage.getItem(a)||r);h(()=>{let c=window.document.documentElement;if(c.classList.remove("light","dark"),f==="system"){let m=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";c.classList.add(m);return}c.classList.add(f)},[f]);let l={theme:f,setTheme:(c)=>{localStorage.setItem(a,c),s(c)}};return t(Pee.Provider,{...i,value:l,children:e})}var Aee=()=>{let e=dt(Pee);if(e===void 0)throw Error("useTheme must be used within a ThemeProvider");return e};var Vwe=/^[\w!#$%&'*.^`|~+-]+$/;var Hwe=(e,r,a={})=>{if(!Vwe.test(e))throw Error("Invalid cookie name");let i=`${e}=${r}`;if(e.startsWith("__Secure-")&&!a.secure)throw Error("__Secure- Cookie must have Secure attributes");if(e.startsWith("__Host-")){if(!a.secure)throw Error("__Host- Cookie must have Secure attributes");if(a.path!=="/")throw Error('__Host- Cookie must have Path attributes with "/"');if(a.domain)throw Error("__Host- Cookie must not have Domain attributes")}for(let f of["domain","path","sameSite","priority"])if(a[f]&&/[;\r\n]/.test(a[f]))throw Error(`${f} must not contain ";", "\\r", or "\\n"`);if(a&&typeof a.maxAge==="number"&&a.maxAge>=0){if(a.maxAge>34560000)throw Error("Cookies Max-Age SHOULD NOT be greater than 400 days (34560000 seconds) in duration.");i+=`; Max-Age=${a.maxAge|0}`}if(a.domain&&a.prefix!=="host")i+=`; Domain=${a.domain}`;if(a.path)i+=`; Path=${a.path}`;if(a.expires){if(a.expires.getTime()-Date.now()>34560000000)throw Error("Cookies Expires SHOULD NOT be greater than 400 days (34560000 seconds) in the future.");i+=`; Expires=${a.expires.toUTCString()}`}if(a.httpOnly)i+="; HttpOnly";if(a.secure)i+="; Secure";if(a.sameSite)i+=`; SameSite=${a.sameSite.charAt(0).toUpperCase()+a.sameSite.slice(1)}`;if(a.priority)i+=`; Priority=${a.priority.charAt(0).toUpperCase()+a.priority.slice(1)}`;if(a.partitioned){if(!a.secure)throw Error("Partitioned Cookie must have Secure attributes");i+="; Partitioned"}return i},Eee=(e,r,a)=>(r=encodeURIComponent(r),Hwe(e,r,a));var Dee=(e,r)=>(e=e.replace(/\/+$/,""),e=e+"/",r=r.replace(/^\/+/,""),e+r),Dj=(e,r)=>{for(let[a,i]of Object.entries(r)){let f=new RegExp("/:"+a+"(?:{[^/]+})?\\??(?=/|$)");e=e.replace(f,()=>i?`/${i}`:"")}return e},Oee=(e)=>{let r=new URLSearchParams;for(let[a,i]of Object.entries(e)){if(i===void 0)continue;if(Array.isArray(i))for(let f of i){if(f===void 0)continue;r.append(a,f)}else r.set(a,i)}return r},jee=(e,r)=>{switch(r){case"ws":return e.replace(/^http/,"ws");case"http":return e.replace(/^ws/,"http")}},MY=(e)=>{if(/^https?:\/\/[^\/]+?\/index(?=\?|$)/.test(e))return e.replace(/\/index(?=\?|$)/,"/");return e.replace(/\/index(?=\?|$)/,"")};function Ej(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}function vY(e,r){if(!Ej(e)&&!Ej(r))return r;let a={...e};for(let i in r){let f=r[i];if(Ej(a[i])&&Ej(f))a[i]=vY(a[i],f);else a[i]=f}return a}var Nee=(e,r)=>new Proxy(()=>{},{get(i,f){if(typeof f!=="string"||f==="then")return;return Nee(e,[...r,f])},apply(i,f,s){return e({path:r,args:s})}}),Fee=(e,r)=>{let a=r.toString();return a?`${e}?${a}`:e},Gwe=class{url;method;buildSearchParams;queryParams=void 0;pathParams={};rBody;cType=void 0;constructor(e,r,a){this.url=e,this.method=r,this.buildSearchParams=a.buildSearchParams}fetch=async(e,r)=>{if(e){if(e.query)this.queryParams=this.buildSearchParams(e.query);if(e.form){let c=new FormData;for(let[m,g]of Object.entries(e.form)){if(g===void 0)continue;if(Array.isArray(g))for(let M of g){if(M===void 0)continue;c.append(m,M)}else c.append(m,g)}this.rBody=c}if(e.json!==void 0)this.rBody=JSON.stringify(e.json),this.cType="application/json";if(e.param)this.pathParams=e.param}let a=this.method.toUpperCase(),i={...e?.header,...typeof r?.headers==="function"?await r.headers():r?.headers};if(e?.cookie){let c=[];for(let[m,g]of Object.entries(e.cookie)){if(g===void 0)continue;c.push(Eee(m,g))}if(c.length>0)i.Cookie=c.join("; ")}if(this.cType)i["Content-Type"]=this.cType;let f=new Headers;for(let[c,m]of Object.entries(i))if(m!==void 0)f.set(c,m);let s=this.url;if(s=MY(s),s=Dj(s,this.pathParams),this.queryParams)s=Fee(s,this.queryParams);a=this.method.toUpperCase();let l=!(a==="GET"||a==="HEAD");return(r?.fetch||fetch)(s,{body:l?this.rBody:void 0,method:a,headers:f,...r?.init})}},xY=(e,r)=>Nee(function a(i){let f=r?.buildSearchParams??Oee,s=[...i.path],l=s.slice(-3).reverse();if(l[0]==="toString"){if(l[1]==="name")return l[2]||"";return a.toString()}if(l[0]==="valueOf"){if(l[1]==="name")return l[2]||"";return a}let c="";if(/^\$/.test(l[0])){let v=s.pop();if(v)c=v.replace(/^\$/,"")}let m=s.join("/"),g=Dee(e,m);if(c==="url"||c==="path"){let v=g;if(i.args[0]){if(i.args[0].param)v=Dj(g,i.args[0].param);if(i.args[0].query)v=Fee(v,f(i.args[0].query))}if(v=MY(v),c==="url")return new URL(v);return v.slice(e.replace(/\/+$/,"").length).replace(/^\/?/,"/")}if(c==="ws"){let v=jee(i.args[0]?.param?Dj(g,i.args[0].param):g,"ws"),y=new URL(v),x=i.args[0]?.query;if(x)f(x).forEach((U,T)=>{y.searchParams.append(T,U)});return((...j)=>{if(r?.webSocket!==void 0&&typeof r.webSocket==="function")return r.webSocket(...j);return new WebSocket(...j)})(y.toString())}let M=new Gwe(g,c,{buildSearchParams:f});if(c){r??={};let v={...i.args[1]},y=r.headers,x=v.headers;if(y&&x)v.headers=async()=>({...typeof y==="function"?await y():y,...typeof x==="function"?await x():x});let _=vY(r,v);return M.fetch(i.args[0],_)}return M},[]);var Bee=(e)=>{let r,a=new Set,i=(g,M)=>{let v=typeof g==="function"?g(r):g;if(!Object.is(v,r)){let y=r;r=(M!=null?M:typeof v!=="object"||v===null)?v:Object.assign({},r,v),a.forEach((x)=>x(r,y))}},f=()=>r,c={setState:i,getState:f,getInitialState:()=>m,subscribe:(g)=>(a.add(g),()=>a.delete(g))},m=r=e(i,f,c);return c},Yee=(e)=>e?Bee(e):Bee;S();var Kwe=(e)=>e;function Xwe(e,r=Kwe){let a=Yn(e.subscribe,P(()=>r(e.getState()),[e,r]),P(()=>r(e.getInitialState()),[e,r]));return ia(a),a}var Uee=(e)=>{let r=Yee(e),a=(i)=>Xwe(r,i);return Object.assign(a,r),a},Mr=(e)=>e?Uee(e):Uee;var qee=(e)=>!!e.dispatchFromDevtools&&typeof e.dispatch==="function",$P=new Map,Oj=(e)=>{let r=$P.get(e);if(!r)return{};return Object.fromEntries(Object.entries(r.stores).map(([a,i])=>[a,i.getState()]))},Qwe=(e,r,a)=>{if(e===void 0)return{type:"untracked",connection:r.connect(a)};let i=$P.get(a.name);if(i)return{type:"tracked",store:e,...i};let f={connection:r.connect(a),stores:{}};return $P.set(a.name,f),{type:"tracked",store:e,...f}},Jwe=(e,r)=>{if(r===void 0)return;let a=$P.get(e);if(!a)return;if(delete a.stores[r],Object.keys(a.stores).length===0)$P.delete(e)},$we=/^at (?:new |async )?(.+?) \(/,e0e=/^([^@]+)@/;function t0e(e){var r,a,i;if(!e)return;let f=e.split(`
11
- `),s=f.findIndex((c)=>c.includes("api.setState"));if(s<0)return;let l=((r=f[s+1])==null?void 0:r.trim())||"";return((a=$we.exec(l))==null?void 0:a[1])||((i=e0e.exec(l))==null?void 0:i[1])}var r0e=(e,r={})=>(a,i,f)=>{let{enabled:s,anonymousActionType:l,store:c,...m}=r,g;try{g=(s!=null?s:(import.meta.env?import.meta.env.MODE:void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(j){}if(!g)return e(a,i,f);let{connection:M,...v}=Qwe(c,g,m),y=!0;f.setState=(j,U,T)=>{let N=a(j,U);if(!y)return N;let G=T===void 0?{type:l||t0e(Error().stack)||"anonymous"}:typeof T==="string"?{type:T}:T;if(c===void 0)return M==null||M.send(G,i()),N;return M==null||M.send({...G,type:`${c}/${G.type}`},{...Oj(m.name),[c]:f.getState()}),N},f.devtools={cleanup:()=>{if(M&&typeof M.unsubscribe==="function")M.unsubscribe();Jwe(m.name,c)}};let x=(...j)=>{let U=y;y=!1,a(...j),y=U},_=e(f.setState,i,f);if(v.type==="untracked")M==null||M.init(_);else v.stores[v.store]=f,M==null||M.init(Object.fromEntries(Object.entries(v.stores).map(([j,U])=>[j,j===v.store?_:U.getState()])));if(qee(f)){let j=!1,U=f.dispatch;f.dispatch=(...T)=>{if((import.meta.env?import.meta.env.MODE:void 0)!=="production"&&T[0].type==="__setState"&&!j)console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),j=!0;U(...T)}}return M.subscribe((j)=>{var U;switch(j.type){case"ACTION":if(typeof j.payload!=="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return yY(j.payload,(T)=>{if(T.type==="__setState"){if(c===void 0){x(T.state);return}if(Object.keys(T.state).length!==1)console.error(`
12
- [zustand devtools middleware] Unsupported __setState action format.
13
- When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
14
- and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
15
- `);let N=T.state[c];if(N===void 0||N===null)return;if(JSON.stringify(f.getState())!==JSON.stringify(N))x(N);return}if(qee(f))f.dispatch(T)});case"DISPATCH":switch(j.payload.type){case"RESET":if(x(_),c===void 0)return M==null?void 0:M.init(f.getState());return M==null?void 0:M.init(Oj(m.name));case"COMMIT":if(c===void 0){M==null||M.init(f.getState());return}return M==null?void 0:M.init(Oj(m.name));case"ROLLBACK":return yY(j.state,(T)=>{if(c===void 0){x(T),M==null||M.init(f.getState());return}x(T[c]),M==null||M.init(Oj(m.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return yY(j.state,(T)=>{if(c===void 0){x(T);return}if(JSON.stringify(f.getState())!==JSON.stringify(T[c]))x(T[c])});case"IMPORT_STATE":{let{nextLiftedState:T}=j.payload,N=(U=T.computedStates.slice(-1)[0])==null?void 0:U.state;if(!N)return;if(c===void 0)x(N);else x(N[c]);M==null||M.send(null,T);return}case"PAUSE_RECORDING":return y=!y}return}}),_},Vee=r0e,yY=(e,r)=>{let a;try{a=JSON.parse(e)}catch(i){console.error("[zustand devtools middleware] Could not parse the received json",i)}if(a!==void 0)r(a)};function Sz(e,r){let a;try{a=e()}catch(f){return}return{getItem:(f)=>{var s;let l=(m)=>{if(m===null)return null;return JSON.parse(m,r==null?void 0:r.reviver)},c=(s=a.getItem(f))!=null?s:null;if(c instanceof Promise)return c.then(l);return l(c)},setItem:(f,s)=>a.setItem(f,JSON.stringify(s,r==null?void 0:r.replacer)),removeItem:(f)=>a.removeItem(f)}}var bY=(e)=>(r)=>{try{let a=e(r);if(a instanceof Promise)return a;return{then(i){return bY(i)(a)},catch(i){return this}}}catch(a){return{then(i){return this},catch(i){return bY(i)(a)}}}},o0e=(e,r)=>(a,i,f)=>{let s={storage:Sz(()=>window.localStorage),partialize:(U)=>U,version:0,merge:(U,T)=>({...T,...U}),...r},l=!1,c=0,m=new Set,g=new Set,M=s.storage;if(!M)return e((...U)=>{console.warn(`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`),a(...U)},i,f);let v=()=>{let U=s.partialize({...i()});return M.setItem(s.name,{state:U,version:s.version})},y=f.setState;f.setState=(U,T)=>(y(U,T),v());let x=e((...U)=>(a(...U),v()),i,f);f.getInitialState=()=>x;let _,j=()=>{var U,T;if(!M)return;let N=++c;l=!1,m.forEach((X)=>{var J;return X((J=i())!=null?J:x)});let G=((T=s.onRehydrateStorage)==null?void 0:T.call(s,(U=i())!=null?U:x))||void 0;return bY(M.getItem.bind(M))(s.name).then((X)=>{if(X)if(typeof X.version==="number"&&X.version!==s.version){if(s.migrate){let J=s.migrate(X.state,X.version);if(J instanceof Promise)return J.then((ee)=>[!0,ee]);return[!0,J]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,X.state];return[!1,void 0]}).then((X)=>{var J;if(N!==c)return;let[ee,re]=X;if(_=s.merge(re,(J=i())!=null?J:x),a(_,!0),ee)return v()}).then(()=>{if(N!==c)return;G==null||G(i(),void 0),_=i(),l=!0,g.forEach((X)=>X(_))}).catch((X)=>{if(N!==c)return;G==null||G(void 0,X)})};if(f.persist={setOptions:(U)=>{if(s={...s,...U},U.storage)M=U.storage},clearStorage:()=>{++c,M==null||M.removeItem(s.name)},getOptions:()=>s,rehydrate:()=>j(),hasHydrated:()=>l,onHydrate:(U)=>(m.add(U),()=>{m.delete(U)}),onFinishHydration:(U)=>(g.add(U),()=>{g.delete(U)})},!s.skipHydration)j();return _||x},Vk=o0e;var cf=Mr()(Vk((e)=>({user:null,setUser:(r)=>e({user:r}),clearAuth:()=>e({user:null})}),{name:"auth-storage",storage:Sz(()=>localStorage)}));var a0e=async(e,r)=>{let a=await fetch(e,r);if(a.status===401){let i=e.toString();if(!window.location.pathname.includes("/login")&&!window.location.pathname.includes("/signup")&&!window.location.pathname.startsWith("/share/")&&!i.includes("/api/authn"))cf.getState().clearAuth(),window.location.href="/login"}return a},A=xY("/",{fetch:a0e,init:{credentials:"include"}});S();var jj=(...e)=>e.filter((r,a,i)=>Boolean(r)&&r.trim()!==""&&i.indexOf(r)===a).join(" ").trim();var Hee=(e)=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();var Wee=(e)=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,a,i)=>i?i.toUpperCase():a.toLowerCase());var _Y=(e)=>{let r=Wee(e);return r.charAt(0).toUpperCase()+r.slice(1)};S();var Nj={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var Gee=(e)=>{for(let r in e)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};S();var n0e=at({});var Kee=()=>dt(n0e);var Xee=O(({color:e,size:r,strokeWidth:a,absoluteStrokeWidth:i,className:f="",children:s,iconNode:l,...c},m)=>{let{size:g=24,strokeWidth:M=2,absoluteStrokeWidth:v=!1,color:y="currentColor",className:x=""}=Kee()??{},_=i??v?Number(a??M)*24/Number(r??g):a??M;return q("svg",{ref:m,...Nj,width:r??g??Nj.width,height:r??g??Nj.height,stroke:e??y,strokeWidth:_,className:jj("lucide",x,f),...!s&&!Gee(c)&&{"aria-hidden":"true"},...c},[...l.map(([j,U])=>q(j,U)),...Array.isArray(s)?s:[s]])});var I=(e,r)=>{let a=O(({className:i,...f},s)=>q(Xee,{ref:s,iconNode:r,className:jj(`lucide-${Hee(_Y(e))}`,`lucide-${e}`,i),...f}));return a.displayName=_Y(e),a};var i0e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],vr=I("circle-check",i0e);var f0e=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],zn=I("cloud-upload",f0e);var s0e=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],t8=I("columns-2",s0e);var l0e=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],wr=I("ellipsis-vertical",l0e);var c0e=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],rr=I("ellipsis",c0e);var u0e=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],F=I("loader-circle",u0e);var d0e=[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],r8=I("octagon-x",d0e);var Z0e=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],In=I("rotate-ccw-clock",Z0e);var p0e=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 7v7",key:"1x2jlm"}],["path",{d:"M12 7v4",key:"xawao1"}],["path",{d:"M16 7v9",key:"1hp2iy"}]],Do=I("square-kanban",p0e);var m0e=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],$r=I("square-pen",m0e);var h0e=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Gr=I("triangle-alert",h0e);var g0e=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Xn=I("arrow-right",g0e);var M0e=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],Wa=I("arrow-up",M0e);var v0e=[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]],Ya=I("bookmark",v0e);var x0e=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],St=I("bot",x0e);var y0e=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}]],jn=I("calendar",y0e);var b0e=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],eT=I("check-check",b0e);var _0e=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],ke=I("check",_0e);var w0e=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ve=I("chevron-down",w0e);var z0e=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],rn=I("chevron-left",z0e);var S0e=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],bt=I("chevron-right",S0e);var L0e=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Ei=I("chevron-up",L0e);var k0e=[["path",{d:"m7 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]],Lz=I("chevrons-down-up",k0e);var C0e=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],kz=I("chevrons-up-down",C0e);var I0e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],tT=I("circle",I0e);var R0e=[["path",{d:"m12.296 3.464 3.02 3.956",key:"qash78"}],["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3z",key:"1h7j8b"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"4lm6w1"}],["path",{d:"m6.18 5.276 3.1 3.899",key:"zjj9t3"}]],rT=I("clapperboard",R0e);var P0e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],_r=I("clock",P0e);var T0e=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],vt=I("download",T0e);var A0e=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],qn=I("file-text",A0e);var E0e=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],Xt=I("file",E0e);var D0e=[["path",{d:"M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"14sh0y"}],["path",{d:"M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706z",key:"1970lx"}],["path",{d:"M5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1",key:"l4dndm"}]],Ci=I("files",D0e);var O0e=[["path",{d:"M16 14v2.2l1.6 1",key:"fo4ql5"}],["path",{d:"M7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2",key:"1urifu"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]],Ps=I("folder-clock",O0e);var j0e=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],er=I("folder",j0e);var N0e=[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]],Os=I("grip-vertical",N0e);var F0e=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],eo=I("image",F0e);var B0e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Ko=I("info",B0e);var Y0e=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],to=I("layout-grid",Y0e);var U0e=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],Fs=I("link-2",U0e);var q0e=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],Po=I("list",q0e);var V0e=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],nn=I("lock",V0e);var H0e=[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]],oT=I("log-in",H0e);var W0e=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Cz=I("mail",W0e);var G0e=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],KZ=I("menu",G0e);var K0e=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],vo=I("message-square",K0e);var X0e=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],Ii=I("paperclip",X0e);var Q0e=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],pe=I("plus",Q0e);var J0e=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Bt=I("search",J0e);var $0e=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],Ti=I("share-2",$0e);var eze=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],wo=I("target",eze);var tze=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],we=I("trash-2",tze);var rze=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],aT=I("user-plus",rze);var oze=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Re=I("x",oze);S();var Hk=Mr((e)=>({isMobileMenuOpen:!1,activeItem:null,activeItemId:null,openMobileMenu:(r=null)=>e({isMobileMenuOpen:!0,activeItemId:typeof r==="string"?r:null,activeItem:typeof r==="number"?r:null}),closeMobileMenu:()=>e({isMobileMenuOpen:!1,activeItem:null,activeItemId:null}),toggleMobileMenu:()=>e((r)=>({isMobileMenuOpen:!r.isMobileMenuOpen,activeItem:r.isMobileMenuOpen?null:r.activeItem,activeItemId:r.isMobileMenuOpen?null:r.activeItemId})),setActiveItem:(r)=>e({activeItem:r,activeItemId:null}),setActiveItemId:(r)=>e({activeItemId:r})}));function yre(e){var r,a,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var f=e.length;for(r=0;r<f;r++)e[r]&&(a=yre(e[r]))&&(i&&(i+=" "),i+=a)}else for(a in e)e[a]&&(i&&(i+=" "),i+=a);return i}function Fj(){for(var e,r,a=0,i="",f=arguments.length;a<f;a++)(e=arguments[a])&&(r=yre(e))&&(i&&(i+=" "),i+=r);return i}var aze=(e,r)=>{let a=Array(e.length+r.length);for(let i=0;i<e.length;i++)a[i]=e[i];for(let i=0;i<r.length;i++)a[e.length+i]=r[i];return a},nze=(e,r)=>({classGroupId:e,validator:r}),Lre=(e=new Map,r=null,a)=>({nextPart:e,validators:r,classGroupId:a});var bre=[];var ize=(e)=>{let r=sze(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:(l)=>{if(l.startsWith("[")&&l.endsWith("]"))return fze(l);let c=l.split("-"),m=c[0]===""&&c.length>1?1:0;return kre(c,m,r)},getConflictingClassGroupIds:(l,c)=>{if(c){let m=i[l],g=a[l];if(m){if(g)return aze(g,m);return m}return g||bre}return a[l]||bre}}},kre=(e,r,a)=>{if(e.length-r===0)return a.classGroupId;let f=e[r],s=a.nextPart.get(f);if(s){let g=kre(e,r+1,s);if(g)return g}let l=a.validators;if(l===null)return;let c=r===0?e.join("-"):e.slice(r).join("-"),m=l.length;for(let g=0;g<m;g++){let M=l[g];if(M.validator(c))return M.classGroupId}return},fze=(e)=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let r=e.slice(1,-1),a=r.indexOf(":"),i=r.slice(0,a);return i?"arbitrary.."+i:void 0})(),sze=(e)=>{let{theme:r,classGroups:a}=e;return lze(a,r)},lze=(e,r)=>{let a=Lre();for(let i in e){let f=e[i];zY(f,a,i,r)}return a},zY=(e,r,a,i)=>{let f=e.length;for(let s=0;s<f;s++){let l=e[s];cze(l,r,a,i)}},cze=(e,r,a,i)=>{if(typeof e==="string"){uze(e,r,a);return}if(typeof e==="function"){dze(e,r,a,i);return}Zze(e,r,a,i)},uze=(e,r,a)=>{let i=e===""?r:Cre(r,e);i.classGroupId=a},dze=(e,r,a,i)=>{if(pze(e)){zY(e(i),r,a,i);return}if(r.validators===null)r.validators=[];r.validators.push(nze(a,e))},Zze=(e,r,a,i)=>{let f=Object.entries(e),s=f.length;for(let l=0;l<s;l++){let[c,m]=f[l];zY(m,Cre(r,c),a,i)}},Cre=(e,r)=>{let a=e,i=r.split("-"),f=i.length;for(let s=0;s<f;s++){let l=i[s],c=a.nextPart.get(l);if(!c)c=Lre(),a.nextPart.set(l,c);a=c}return a},pze=(e)=>("isThemeGetter"in e)&&e.isThemeGetter===!0,mze=(e)=>{if(e<1)return{get:()=>{return},set:()=>{}};let r=0,a=Object.create(null),i=Object.create(null),f=(s,l)=>{if(a[s]=l,r++,r>e)r=0,i=a,a=Object.create(null)};return{get(s){let l=a[s];if(l!==void 0)return l;if((l=i[s])!==void 0)return f(s,l),l},set(s,l){if(s in a)a[s]=l;else f(s,l)}}};var hze=[],_re=(e,r,a,i,f)=>({modifiers:e,hasImportantModifier:r,baseClassName:a,maybePostfixModifierPosition:i,isExternal:f}),gze=(e)=>{let{prefix:r,experimentalParseClassName:a}=e,i=(f)=>{let s=[],l=0,c=0,m=0,g,M=f.length;for(let j=0;j<M;j++){let U=f[j];if(l===0&&c===0){if(U===":"){s.push(f.slice(m,j)),m=j+1;continue}if(U==="/"){g=j;continue}}if(U==="[")l++;else if(U==="]")l--;else if(U==="(")c++;else if(U===")")c--}let v=s.length===0?f:f.slice(m),y=v,x=!1;if(v.endsWith("!"))y=v.slice(0,-1),x=!0;else if(v.startsWith("!"))y=v.slice(1),x=!0;let _=g&&g>m?g-m:void 0;return _re(s,x,y,_)};if(r){let f=r+":",s=i;i=(l)=>l.startsWith(f)?s(l.slice(f.length)):_re(hze,!1,l,void 0,!0)}if(a){let f=i;i=(s)=>a({className:s,parseClassName:f})}return i},Mze=(e)=>{let r=new Map;return e.orderSensitiveModifiers.forEach((a,i)=>{r.set(a,1e6+i)}),(a)=>{let i=[],f=[];for(let s=0;s<a.length;s++){let l=a[s],c=l[0]==="[",m=r.has(l);if(c||m){if(f.length>0)f.sort(),i.push(...f),f=[];i.push(l)}else f.push(l)}if(f.length>0)f.sort(),i.push(...f);return i}},vze=(e)=>({cache:mze(e.cacheSize),parseClassName:gze(e),sortModifiers:Mze(e),postfixLookupClassGroupIds:xze(e),...ize(e)}),xze=(e)=>{let r=Object.create(null),a=e.postfixLookupClassGroups;if(a)for(let i=0;i<a.length;i++)r[a[i]]=!0;return r},yze=/\s+/,bze=(e,r)=>{let{parseClassName:a,getClassGroupId:i,getConflictingClassGroupIds:f,sortModifiers:s,postfixLookupClassGroupIds:l}=r,c=[],m=e.trim().split(yze),g="";for(let M=m.length-1;M>=0;M-=1){let v=m[M],{isExternal:y,modifiers:x,hasImportantModifier:_,baseClassName:j,maybePostfixModifierPosition:U}=a(v);if(y){g=v+(g.length>0?" "+g:g);continue}let T=!!U,N;if(T){let re=j.substring(0,U);N=i(re);let oe=N&&l[N]?i(j):void 0;if(oe&&oe!==N)N=oe,T=!1}else N=i(j);if(!N){if(!T){g=v+(g.length>0?" "+g:g);continue}if(N=i(j),!N){g=v+(g.length>0?" "+g:g);continue}T=!1}let G=x.length===0?"":x.length===1?x[0]:s(x).join(":"),X=_?G+"!":G,J=X+N;if(c.indexOf(J)>-1)continue;c.push(J);let ee=f(N,T);for(let re=0;re<ee.length;++re){let oe=ee[re];c.push(X+oe)}g=v+(g.length>0?" "+g:g)}return g},_ze=(...e)=>{let r=0,a,i,f="";while(r<e.length)if(a=e[r++]){if(i=Ire(a))f&&(f+=" "),f+=i}return f},Ire=(e)=>{if(typeof e==="string")return e;let r,a="";for(let i=0;i<e.length;i++)if(e[i]){if(r=Ire(e[i]))a&&(a+=" "),a+=r}return a},wze=(e,...r)=>{let a,i,f,s,l=(m)=>{let g=r.reduce((M,v)=>v(M),e());return a=vze(g),i=a.cache.get,f=a.cache.set,s=c,c(m)},c=(m)=>{let g=i(m);if(g)return g;let M=bze(m,a);return f(m,M),M};return s=l,(...m)=>s(_ze(...m))},zze=[],mi=(e)=>{let r=(a)=>a[e]||zze;return r.isThemeGetter=!0,r},Rre=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Pre=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Sze=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Lze=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,kze=/\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$/,Cze=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ize=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Rze=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,n8=(e)=>Sze.test(e),Zo=(e)=>!!e&&!Number.isNaN(Number(e)),oZ=(e)=>!!e&&Number.isInteger(Number(e)),wY=(e)=>e.endsWith("%")&&Zo(e.slice(0,-1)),XZ=(e)=>Lze.test(e),Tre=()=>!0,Pze=(e)=>kze.test(e)&&!Cze.test(e),SY=()=>!1,Tze=(e)=>Ize.test(e),Aze=(e)=>Rze.test(e),Eze=(e)=>!br(e)&&!Lr(e),Dze=(e)=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),Oze=(e)=>i8(e,Dre,SY),br=(e)=>Rre.test(e),Iz=(e)=>i8(e,Ore,Pze),wre=(e)=>i8(e,Vze,Zo),jze=(e)=>i8(e,Nre,Tre),Nze=(e)=>i8(e,jre,SY),zre=(e)=>i8(e,Are,SY),Fze=(e)=>i8(e,Ere,Aze),Bj=(e)=>i8(e,Fre,Tze),Lr=(e)=>Pre.test(e),mT=(e)=>Rz(e,Ore),Bze=(e)=>Rz(e,jre),Sre=(e)=>Rz(e,Are),Yze=(e)=>Rz(e,Dre),Uze=(e)=>Rz(e,Ere),Yj=(e)=>Rz(e,Fre,!0),qze=(e)=>Rz(e,Nre,!0),i8=(e,r,a)=>{let i=Rre.exec(e);if(i){if(i[1])return r(i[1]);return a(i[2])}return!1},Rz=(e,r,a=!1)=>{let i=Pre.exec(e);if(i){if(i[1])return r(i[1]);return a}return!1},Are=(e)=>e==="position"||e==="percentage",Ere=(e)=>e==="image"||e==="url",Dre=(e)=>e==="length"||e==="size"||e==="bg-size",Ore=(e)=>e==="length",Vze=(e)=>e==="number",jre=(e)=>e==="family-name",Nre=(e)=>e==="number"||e==="weight",Fre=(e)=>e==="shadow";var Hze=()=>{let e=mi("color"),r=mi("font"),a=mi("text"),i=mi("font-weight"),f=mi("tracking"),s=mi("leading"),l=mi("breakpoint"),c=mi("container"),m=mi("spacing"),g=mi("radius"),M=mi("shadow"),v=mi("inset-shadow"),y=mi("text-shadow"),x=mi("drop-shadow"),_=mi("blur"),j=mi("perspective"),U=mi("aspect"),T=mi("ease"),N=mi("animate"),G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],X=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],J=()=>[...X(),Lr,br],ee=()=>["auto","hidden","clip","visible","scroll"],re=()=>["auto","contain","none"],oe=()=>[Lr,br,m],ae=()=>[n8,"full","auto",...oe()],ye=()=>[oZ,"none","subgrid",Lr,br],We=()=>["auto",{span:["full",oZ,Lr,br]},oZ,Lr,br],Ye=()=>[oZ,"auto",Lr,br],ze=()=>["auto","min","max","fr",Lr,br],qe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ut=()=>["start","end","center","stretch","center-safe","end-safe"],$e=()=>["auto",...oe()],xt=()=>[n8,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...oe()],Dt=()=>[n8,"screen","full","dvw","lvw","svw","min","max","fit",...oe()],Yt=()=>[n8,"screen","full","lh","dvh","lvh","svh","min","max","fit",...oe()],fe=()=>[e,Lr,br],yt=()=>[...X(),Sre,zre,{position:[Lr,br]}],Wt=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Ee=()=>["auto","cover","contain",Yze,Oze,{size:[Lr,br]}],lr=()=>[wY,mT,Iz],sr=()=>["","none","full",g,Lr,br],Jt=()=>["",Zo,mT,Iz],Or=()=>["solid","dashed","dotted","double"],Gt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Kt=()=>[Zo,wY,Sre,zre],ur=()=>["","none",_,Lr,br],Ir=()=>["none",Zo,Lr,br],Er=()=>["none",Zo,Lr,br],dr=()=>[Zo,Lr,br],mo=()=>[n8,"full",...oe()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[XZ],breakpoint:[XZ],color:[Tre],container:[XZ],"drop-shadow":[XZ],ease:["in","out","in-out"],font:[Eze],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[XZ],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[XZ],shadow:[XZ],spacing:["px",Zo],text:[XZ],"text-shadow":[XZ],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",n8,br,Lr,U]}],container:["container"],"container-type":[{"@container":["","normal","size",Lr,br]}],"container-named":[Dze],columns:[{columns:[Zo,br,Lr,c]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"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:J()}],overflow:[{overflow:ee()}],"overflow-x":[{"overflow-x":ee()}],"overflow-y":[{"overflow-y":ee()}],overscroll:[{overscroll:re()}],"overscroll-x":[{"overscroll-x":re()}],"overscroll-y":[{"overscroll-y":re()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ae()}],"inset-x":[{"inset-x":ae()}],"inset-y":[{"inset-y":ae()}],start:[{"inset-s":ae(),start:ae()}],end:[{"inset-e":ae(),end:ae()}],"inset-bs":[{"inset-bs":ae()}],"inset-be":[{"inset-be":ae()}],top:[{top:ae()}],right:[{right:ae()}],bottom:[{bottom:ae()}],left:[{left:ae()}],visibility:["visible","invisible","collapse"],z:[{z:[oZ,"auto",Lr,br]}],basis:[{basis:[n8,"full","auto",c,...oe()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Zo,n8,"auto","initial","none",br]}],grow:[{grow:["",Zo,Lr,br]}],shrink:[{shrink:["",Zo,Lr,br]}],order:[{order:[oZ,"first","last","none",Lr,br]}],"grid-cols":[{"grid-cols":ye()}],"col-start-end":[{col:We()}],"col-start":[{"col-start":Ye()}],"col-end":[{"col-end":Ye()}],"grid-rows":[{"grid-rows":ye()}],"row-start-end":[{row:We()}],"row-start":[{"row-start":Ye()}],"row-end":[{"row-end":Ye()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ze()}],"auto-rows":[{"auto-rows":ze()}],gap:[{gap:oe()}],"gap-x":[{"gap-x":oe()}],"gap-y":[{"gap-y":oe()}],"justify-content":[{justify:[...qe(),"normal"]}],"justify-items":[{"justify-items":[...ut(),"normal"]}],"justify-self":[{"justify-self":["auto",...ut()]}],"align-content":[{content:["normal",...qe()]}],"align-items":[{items:[...ut(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ut(),{baseline:["","last"]}]}],"place-content":[{"place-content":qe()}],"place-items":[{"place-items":[...ut(),"baseline"]}],"place-self":[{"place-self":["auto",...ut()]}],p:[{p:oe()}],px:[{px:oe()}],py:[{py:oe()}],ps:[{ps:oe()}],pe:[{pe:oe()}],pbs:[{pbs:oe()}],pbe:[{pbe:oe()}],pt:[{pt:oe()}],pr:[{pr:oe()}],pb:[{pb:oe()}],pl:[{pl:oe()}],m:[{m:$e()}],mx:[{mx:$e()}],my:[{my:$e()}],ms:[{ms:$e()}],me:[{me:$e()}],mbs:[{mbs:$e()}],mbe:[{mbe:$e()}],mt:[{mt:$e()}],mr:[{mr:$e()}],mb:[{mb:$e()}],ml:[{ml:$e()}],"space-x":[{"space-x":oe()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":oe()}],"space-y-reverse":["space-y-reverse"],size:[{size:xt()}],"inline-size":[{inline:["auto",...Dt()]}],"min-inline-size":[{"min-inline":["auto",...Dt()]}],"max-inline-size":[{"max-inline":["none",...Dt()]}],"block-size":[{block:["auto",...Yt()]}],"min-block-size":[{"min-block":["auto",...Yt()]}],"max-block-size":[{"max-block":["none",...Yt()]}],w:[{w:[c,"screen",...xt()]}],"min-w":[{"min-w":[c,"screen","none",...xt()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[l]},...xt()]}],h:[{h:["screen","lh",...xt()]}],"min-h":[{"min-h":["screen","lh","none",...xt()]}],"max-h":[{"max-h":["screen","lh",...xt()]}],"font-size":[{text:["base",a,mT,Iz]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,qze,jze]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",wY,br]}],"font-family":[{font:[Bze,Nze,r]}],"font-features":[{"font-features":[br]}],"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:[f,Lr,br]}],"line-clamp":[{"line-clamp":[Zo,"none",Lr,wre]}],leading:[{leading:[s,...oe()]}],"list-image":[{"list-image":["none",Lr,br]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Lr,br]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:fe()}],"text-color":[{text:fe()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Or(),"wavy"]}],"text-decoration-thickness":[{decoration:[Zo,"from-font","auto",Lr,Iz]}],"text-decoration-color":[{decoration:fe()}],"underline-offset":[{"underline-offset":[Zo,"auto",Lr,br]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:oe()}],"tab-size":[{tab:[oZ,Lr,br]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Lr,br]}],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",Lr,br]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:yt()}],"bg-repeat":[{bg:Wt()}],"bg-size":[{bg:Ee()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},oZ,Lr,br],radial:["",Lr,br],conic:[oZ,Lr,br]},Uze,Fze]}],"bg-color":[{bg:fe()}],"gradient-from-pos":[{from:lr()}],"gradient-via-pos":[{via:lr()}],"gradient-to-pos":[{to:lr()}],"gradient-from":[{from:fe()}],"gradient-via":[{via:fe()}],"gradient-to":[{to:fe()}],rounded:[{rounded:sr()}],"rounded-s":[{"rounded-s":sr()}],"rounded-e":[{"rounded-e":sr()}],"rounded-t":[{"rounded-t":sr()}],"rounded-r":[{"rounded-r":sr()}],"rounded-b":[{"rounded-b":sr()}],"rounded-l":[{"rounded-l":sr()}],"rounded-ss":[{"rounded-ss":sr()}],"rounded-se":[{"rounded-se":sr()}],"rounded-ee":[{"rounded-ee":sr()}],"rounded-es":[{"rounded-es":sr()}],"rounded-tl":[{"rounded-tl":sr()}],"rounded-tr":[{"rounded-tr":sr()}],"rounded-br":[{"rounded-br":sr()}],"rounded-bl":[{"rounded-bl":sr()}],"border-w":[{border:Jt()}],"border-w-x":[{"border-x":Jt()}],"border-w-y":[{"border-y":Jt()}],"border-w-s":[{"border-s":Jt()}],"border-w-e":[{"border-e":Jt()}],"border-w-bs":[{"border-bs":Jt()}],"border-w-be":[{"border-be":Jt()}],"border-w-t":[{"border-t":Jt()}],"border-w-r":[{"border-r":Jt()}],"border-w-b":[{"border-b":Jt()}],"border-w-l":[{"border-l":Jt()}],"divide-x":[{"divide-x":Jt()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Jt()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Or(),"hidden","none"]}],"divide-style":[{divide:[...Or(),"hidden","none"]}],"border-color":[{border:fe()}],"border-color-x":[{"border-x":fe()}],"border-color-y":[{"border-y":fe()}],"border-color-s":[{"border-s":fe()}],"border-color-e":[{"border-e":fe()}],"border-color-bs":[{"border-bs":fe()}],"border-color-be":[{"border-be":fe()}],"border-color-t":[{"border-t":fe()}],"border-color-r":[{"border-r":fe()}],"border-color-b":[{"border-b":fe()}],"border-color-l":[{"border-l":fe()}],"divide-color":[{divide:fe()}],"outline-style":[{outline:[...Or(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Zo,Lr,br]}],"outline-w":[{outline:["",Zo,mT,Iz]}],"outline-color":[{outline:fe()}],shadow:[{shadow:["","none",M,Yj,Bj]}],"shadow-color":[{shadow:fe()}],"inset-shadow":[{"inset-shadow":["none",v,Yj,Bj]}],"inset-shadow-color":[{"inset-shadow":fe()}],"ring-w":[{ring:Jt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:fe()}],"ring-offset-w":[{"ring-offset":[Zo,Iz]}],"ring-offset-color":[{"ring-offset":fe()}],"inset-ring-w":[{"inset-ring":Jt()}],"inset-ring-color":[{"inset-ring":fe()}],"text-shadow":[{"text-shadow":["none",y,Yj,Bj]}],"text-shadow-color":[{"text-shadow":fe()}],opacity:[{opacity:[Zo,Lr,br]}],"mix-blend":[{"mix-blend":[...Gt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Gt()}],"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":[Zo]}],"mask-image-linear-from-pos":[{"mask-linear-from":Kt()}],"mask-image-linear-to-pos":[{"mask-linear-to":Kt()}],"mask-image-linear-from-color":[{"mask-linear-from":fe()}],"mask-image-linear-to-color":[{"mask-linear-to":fe()}],"mask-image-t-from-pos":[{"mask-t-from":Kt()}],"mask-image-t-to-pos":[{"mask-t-to":Kt()}],"mask-image-t-from-color":[{"mask-t-from":fe()}],"mask-image-t-to-color":[{"mask-t-to":fe()}],"mask-image-r-from-pos":[{"mask-r-from":Kt()}],"mask-image-r-to-pos":[{"mask-r-to":Kt()}],"mask-image-r-from-color":[{"mask-r-from":fe()}],"mask-image-r-to-color":[{"mask-r-to":fe()}],"mask-image-b-from-pos":[{"mask-b-from":Kt()}],"mask-image-b-to-pos":[{"mask-b-to":Kt()}],"mask-image-b-from-color":[{"mask-b-from":fe()}],"mask-image-b-to-color":[{"mask-b-to":fe()}],"mask-image-l-from-pos":[{"mask-l-from":Kt()}],"mask-image-l-to-pos":[{"mask-l-to":Kt()}],"mask-image-l-from-color":[{"mask-l-from":fe()}],"mask-image-l-to-color":[{"mask-l-to":fe()}],"mask-image-x-from-pos":[{"mask-x-from":Kt()}],"mask-image-x-to-pos":[{"mask-x-to":Kt()}],"mask-image-x-from-color":[{"mask-x-from":fe()}],"mask-image-x-to-color":[{"mask-x-to":fe()}],"mask-image-y-from-pos":[{"mask-y-from":Kt()}],"mask-image-y-to-pos":[{"mask-y-to":Kt()}],"mask-image-y-from-color":[{"mask-y-from":fe()}],"mask-image-y-to-color":[{"mask-y-to":fe()}],"mask-image-radial":[{"mask-radial":[Lr,br]}],"mask-image-radial-from-pos":[{"mask-radial-from":Kt()}],"mask-image-radial-to-pos":[{"mask-radial-to":Kt()}],"mask-image-radial-from-color":[{"mask-radial-from":fe()}],"mask-image-radial-to-color":[{"mask-radial-to":fe()}],"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":X()}],"mask-image-conic-pos":[{"mask-conic":[Zo]}],"mask-image-conic-from-pos":[{"mask-conic-from":Kt()}],"mask-image-conic-to-pos":[{"mask-conic-to":Kt()}],"mask-image-conic-from-color":[{"mask-conic-from":fe()}],"mask-image-conic-to-color":[{"mask-conic-to":fe()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:yt()}],"mask-repeat":[{mask:Wt()}],"mask-size":[{mask:Ee()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Lr,br]}],filter:[{filter:["","none",Lr,br]}],blur:[{blur:ur()}],brightness:[{brightness:[Zo,Lr,br]}],contrast:[{contrast:[Zo,Lr,br]}],"drop-shadow":[{"drop-shadow":["","none",x,Yj,Bj]}],"drop-shadow-color":[{"drop-shadow":fe()}],grayscale:[{grayscale:["",Zo,Lr,br]}],"hue-rotate":[{"hue-rotate":[Zo,Lr,br]}],invert:[{invert:["",Zo,Lr,br]}],saturate:[{saturate:[Zo,Lr,br]}],sepia:[{sepia:["",Zo,Lr,br]}],"backdrop-filter":[{"backdrop-filter":["","none",Lr,br]}],"backdrop-blur":[{"backdrop-blur":ur()}],"backdrop-brightness":[{"backdrop-brightness":[Zo,Lr,br]}],"backdrop-contrast":[{"backdrop-contrast":[Zo,Lr,br]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Zo,Lr,br]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Zo,Lr,br]}],"backdrop-invert":[{"backdrop-invert":["",Zo,Lr,br]}],"backdrop-opacity":[{"backdrop-opacity":[Zo,Lr,br]}],"backdrop-saturate":[{"backdrop-saturate":[Zo,Lr,br]}],"backdrop-sepia":[{"backdrop-sepia":["",Zo,Lr,br]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":oe()}],"border-spacing-x":[{"border-spacing-x":oe()}],"border-spacing-y":[{"border-spacing-y":oe()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Lr,br]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Zo,"initial",Lr,br]}],ease:[{ease:["linear","initial",T,Lr,br]}],delay:[{delay:[Zo,Lr,br]}],animate:[{animate:["none",N,Lr,br]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[j,Lr,br]}],"perspective-origin":[{"perspective-origin":J()}],rotate:[{rotate:Ir()}],"rotate-x":[{"rotate-x":Ir()}],"rotate-y":[{"rotate-y":Ir()}],"rotate-z":[{"rotate-z":Ir()}],scale:[{scale:Er()}],"scale-x":[{"scale-x":Er()}],"scale-y":[{"scale-y":Er()}],"scale-z":[{"scale-z":Er()}],"scale-3d":["scale-3d"],skew:[{skew:dr()}],"skew-x":[{"skew-x":dr()}],"skew-y":[{"skew-y":dr()}],transform:[{transform:[Lr,br,"","none","gpu","cpu"]}],"transform-origin":[{origin:J()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:mo()}],"translate-x":[{"translate-x":mo()}],"translate-y":[{"translate-y":mo()}],"translate-z":[{"translate-z":mo()}],"translate-none":["translate-none"],zoom:[{zoom:[oZ,Lr,br]}],accent:[{accent:fe()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:fe()}],"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",Lr,br]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":fe()}],"scrollbar-track-color":[{"scrollbar-track":fe()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":oe()}],"scroll-mx":[{"scroll-mx":oe()}],"scroll-my":[{"scroll-my":oe()}],"scroll-ms":[{"scroll-ms":oe()}],"scroll-me":[{"scroll-me":oe()}],"scroll-mbs":[{"scroll-mbs":oe()}],"scroll-mbe":[{"scroll-mbe":oe()}],"scroll-mt":[{"scroll-mt":oe()}],"scroll-mr":[{"scroll-mr":oe()}],"scroll-mb":[{"scroll-mb":oe()}],"scroll-ml":[{"scroll-ml":oe()}],"scroll-p":[{"scroll-p":oe()}],"scroll-px":[{"scroll-px":oe()}],"scroll-py":[{"scroll-py":oe()}],"scroll-ps":[{"scroll-ps":oe()}],"scroll-pe":[{"scroll-pe":oe()}],"scroll-pbs":[{"scroll-pbs":oe()}],"scroll-pbe":[{"scroll-pbe":oe()}],"scroll-pt":[{"scroll-pt":oe()}],"scroll-pr":[{"scroll-pr":oe()}],"scroll-pb":[{"scroll-pb":oe()}],"scroll-pl":[{"scroll-pl":oe()}],"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",Lr,br]}],fill:[{fill:["none",...fe()]}],"stroke-w":[{stroke:[Zo,mT,Iz,wre]}],stroke:[{stroke:["none",...fe()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}};var Bre=wze(Hze);function C(...e){return Bre(Fj(e))}var Yre=(e)=>typeof e==="boolean"?`${e}`:e===0?"0":e,Ure=Fj,us=(e,r)=>(a)=>{var i;if((r===null||r===void 0?void 0:r.variants)==null)return Ure(e,a===null||a===void 0?void 0:a.class,a===null||a===void 0?void 0:a.className);let{variants:f,defaultVariants:s}=r,l=Object.keys(f).map((g)=>{let M=a===null||a===void 0?void 0:a[g],v=s===null||s===void 0?void 0:s[g];if(M===null)return null;let y=Yre(M)||Yre(v);return f[g][y]}),c=a&&Object.entries(a).reduce((g,M)=>{let[v,y]=M;if(y===void 0)return g;return g[v]=y,g},{}),m=r===null||r===void 0?void 0:(i=r.compoundVariants)===null||i===void 0?void 0:i.reduce((g,M)=>{let{class:v,className:y,...x}=M;return Object.entries(x).every((_)=>{let[j,U]=_;return Array.isArray(U)?U.includes({...s,...c}[j]):{...s,...c}[j]===U})?[...g,v,y]:g},[]);return Ure(e,l,m,a===null||a===void 0?void 0:a.class,a===null||a===void 0?void 0:a.className)};S();S();var Wze=Object.defineProperty,hc=(e,r)=>Wze(e,"name",{value:r,configurable:!0});function Gze(e,r){let a=at(r);a.displayName=e+"Context";let i=hc((s)=>{let{children:l,...c}=s,m=D(()=>c,Object.values(c));return t(a.Provider,{value:m,children:l})},"Provider");i.displayName=e+"Provider";function f(s,l={}){let{optional:c=!1}=l,m=dt(a);if(m)return m;if(r!==void 0)return r;if(c)return;throw Error(`\`${s}\` must be used within \`${e}\``)}return hc(f,"useContext"),[i,f]}hc(Gze,"createContext");function pt(e,r=[]){let a=[];function i(s,l){let c=at(l);c.displayName=s+"Context";let m=a.length;a=[...a,l];let g=hc((v)=>{let{scope:y,children:x,..._}=v,j=y?.[e]?.[m]||c,U=D(()=>_,Object.values(_));return t(j.Provider,{value:U,children:x})},"Provider");g.displayName=s+"Provider";function M(v,y,x={}){let{optional:_=!1}=x,j=y?.[e]?.[m]||c,U=dt(j);if(U)return U;if(l!==void 0)return l;if(_)return;throw Error(`\`${v}\` must be used within \`${s}\``)}return hc(M,"useContext"),[g,M]}hc(i,"createContext");let f=hc(()=>{let s=a.map((l)=>at(l));return hc(function(c){let m=c?.[e]||s;return D(()=>({[`__scope${e}`]:{...c,[e]:m}}),[c,m])},"useScope")},"createScope");return f.scopeName=e,[i,qre(f,...r)]}hc(pt,"createContextScope");function qre(...e){let r=e[0];if(e.length===1)return r;let a=hc(()=>{let i=e.map((f)=>({useScope:f(),scopeName:f.scopeName}));return hc(function(s){let l=i.reduce((c,{useScope:m,scopeName:g})=>{let v=m(s)[`__scope${g}`];return{...c,...v}},{});return D(()=>({[`__scope${r.scopeName}`]:l}),[l])},"useComposedScopes")},"createScope");return a.scopeName=r.scopeName,a}hc(qre,"composeContextScopes");S();var Kze=Object.defineProperty,kY=(e,r)=>Kze(e,"name",{value:r,configurable:!0});function LY(e,r){if(typeof e==="function")return e(r);else if(e!==null&&e!==void 0)e.current=r}kY(LY,"setRef");function Vre(...e){return(r)=>{let a=!1,i=e.map((f)=>{let s=LY(f,r);if(!a&&typeof s=="function")a=!0;return s});if(a)return()=>{for(let f=0;f<i.length;f++){let s=i[f];if(typeof s=="function")s();else LY(e[f],null)}}}}kY(Vre,"composeRefs");function _e(...e){return P(Vre(...e),e)}kY(_e,"useComposedRefs");S();var Xze=Object.defineProperty,Wk=(e,r)=>Xze(e,"name",{value:r,configurable:!0}),Hre=!!(typeof window<"u"&&window.document&&window.document.createElement);function Y(e,r,{checkForDefaultPrevented:a=!0}={}){return Wk(function(f){if(e?.(f),a===!1||!f||!f.defaultPrevented)return r?.(f)},"handleEvent")}Wk(Y,"composeEventHandlers");function Qze(e){if(!Hre)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window}Wk(Qze,"getOwnerWindow");function CY(e){if(!Hre)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}Wk(CY,"getOwnerDocument");function Wre(e,r=!1){let{activeElement:a}=CY(e);if(!a?.nodeName)return null;if(Gre(a)&&a.contentDocument)return Wre(a.contentDocument.body,r);if(r){let i=a.getAttribute("aria-activedescendant");if(i){let f=CY(a).getElementById(i);if(f)return f}}return a}Wk(Wre,"getActiveElement");function Gre(e){return e.tagName==="IFRAME"}Wk(Gre,"isFrame");S();S();var It=globalThis?.document?He:()=>{};var Jze=Object.defineProperty,$ze=(e,r)=>Jze(e,"name",{value:r,configurable:!0}),eSe=V[" useId ".trim().toString()]||(()=>{return}),tSe=0;function xr(e){let[r,a]=u(eSe());return It(()=>{if(!e)a((i)=>i??String(tSe++))},[e]),e||(r?`radix-${r}`:"")}$ze(xr,"useId");S();var la=!1;S();S();var rSe=Object.defineProperty,oSe=(e,r)=>rSe(e,"name",{value:r,configurable:!0}),Kre=V[" useEffectEvent ".trim().toString()],Xre=V[" useInsertionEffect ".trim().toString()];function IY(e){if(typeof Kre==="function")return Kre(e);let r=b(()=>{throw Error("Cannot call an event handler while rendering.")});if(typeof Xre==="function")Xre(()=>{r.current=e});else It(()=>{r.current=e});return D(()=>(...a)=>r.current?.(...a),[])}oSe(IY,"useEffectEvent");var aSe=Object.defineProperty,hT=(e,r)=>aSe(e,"name",{value:r,configurable:!0}),nSe=V[" useInsertionEffect ".trim().toString()]||It;function Ft({prop:e,defaultProp:r,onChange:a=hT(()=>{},"onChange"),caller:i}){let[f,s,l]=Jre({defaultProp:r,onChange:a}),c=e!==void 0,m=c?e:f;if(la){let M=b(e!==void 0);h(()=>{let v=M.current;if(v!==c)console.warn(`${i} is changing from ${v?"controlled":"uncontrolled"} to ${c?"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.`);M.current=c},[c,i])}let g=P((M)=>{if(c){let v=$re(M)?M(e):M;if(v!==e)l.current?.(v)}else s(M)},[c,e,s,l]);return[m,g]}hT(Ft,"useControllableState");function Jre({defaultProp:e,onChange:r}){let[a,i]=u(e),f=b(a),s=b(r);return nSe(()=>{s.current=r},[r]),h(()=>{if(f.current!==a)s.current?.(a),f.current=a},[a,f]),[a,i,s]}hT(Jre,"useUncontrolledState");function $re(e){return typeof e==="function"}hT($re,"isFunction");var Qre=Symbol("RADIX:SYNC_STATE");function iSe(e,r,a,i){let{prop:f,defaultProp:s,onChange:l,caller:c}=r,m=f!==void 0,g=IY(l);if(la){let U=b(f!==void 0);h(()=>{let T=U.current;if(T!==m)console.warn(`${c} is changing from ${T?"controlled":"uncontrolled"} to ${m?"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.`);U.current=m},[m,c])}let M=[{...a,state:s}];if(i)M.push(i);let[v,y]=en((U,T)=>{if(T.type===Qre)return{...U,state:T.state};let N=e(U,T);if(m&&!Object.is(N.state,U.state))g(N.state);return N},...M),x=v.state,_=b(x);h(()=>{if(_.current!==x){if(_.current=x,!m)g(x)}},[x,_,m]);let j=D(()=>{if(f!==void 0)return{...v,state:f};return v},[v,f]);return h(()=>{if(m&&!Object.is(f,v.state))y({type:Qre,state:f})},[f,v.state,m]),[j,y]}hT(iSe,"useControllableStateReducer");S();S();S();var fSe=Object.defineProperty,iu=(e,r)=>fSe(e,"name",{value:r,configurable:!0});function zi(e){let r=O((a,i)=>{let{children:f,...s}=a,l=null,c=!1,m=[];if(RY(f)&&typeof Uj==="function")f=Uj(f._payload);if(tc.forEach(f,(y)=>{if(aoe(y)){c=!0;let x=y,_="child"in x.props?x.props.child:x.props.children;if(RY(_)&&typeof Uj==="function")_=Uj(_._payload);l=sSe(x,_),m.push(l?.props?.children)}else m.push(y)}),l)l=Eu(l,void 0,m);else if(!c&&tc.count(f)===1&&os(f))l=f;let g=l?ooe(l):void 0,M=_e(i,g);if(!l){if(f||f===0)throw Error(c?uSe(e):cSe(e));return f}let v=roe(s,l.props??{});if(l.type!==Cn)v.ref=i?M:g;return Eu(l,v)});return r.displayName=`${e}.Slot`,r}iu(zi,"createSlot");var eoe=zi("Slot"),toe=Symbol.for("radix.slottable");function PY(e){let r=iu((a)=>("child"in a)?a.children(a.child):a.children,"Slottable");return r.displayName=`${e}.Slottable`,r.__radixId=toe,r}iu(PY,"createSlottable");var sSe=iu((e,r)=>{if("child"in e.props){let a=e.props.child;if(!os(a))return null;return Eu(a,void 0,e.props.children(a.props.children))}return os(r)?r:null},"getSlottableElementFromSlottable");function roe(e,r){let a={...r};for(let i in r){let f=e[i],s=r[i];if(/^on[A-Z]/.test(i)){if(f&&s)a[i]=(...c)=>{let m=s(...c);return f(...c),m};else if(f)a[i]=f}else if(i==="style")a[i]={...f,...s};else if(i==="className")a[i]=[f,s].filter(Boolean).join(" ")}return{...e,...a}}iu(roe,"mergeProps");function ooe(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=r&&"isReactWarning"in r&&r.isReactWarning;if(a)return e.ref;if(r=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=r&&"isReactWarning"in r&&r.isReactWarning,a)return e.props.ref;return e.props.ref||e.ref}iu(ooe,"getElementRef");function aoe(e){return os(e)&&typeof e.type==="function"&&"__radixId"in e.type&&e.type.__radixId===toe}iu(aoe,"isSlottable");var lSe=Symbol.for("react.lazy");function RY(e){return e!=null&&typeof e==="object"&&"$$typeof"in e&&e.$$typeof===lSe&&"_payload"in e&&noe(e._payload)}iu(RY,"isLazyComponent");function noe(e){return typeof e==="object"&&e!==null&&"then"in e}iu(noe,"isPromiseLike");var cSe=iu((e)=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),uSe=iu((e)=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),Uj=V[" use ".trim().toString()];var dSe=Object.defineProperty,ZSe=(e,r)=>dSe(e,"name",{value:r,configurable:!0}),pSe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],se=pSe.reduce((e,r)=>{let a=zi(`Primitive.${r}`),i=O((f,s)=>{let{asChild:l,...c}=f,m=l?a:r;if(typeof window<"u")window[Symbol.for("radix-ui")]=!0;return t(m,{...c,ref:s})});return i.displayName=`Primitive.${r}`,{...e,[r]:i}},{});function gT(e,r){if(e)tn(()=>e.dispatchEvent(r))}ZSe(gT,"dispatchDiscreteCustomEvent");S();var mSe=Object.defineProperty,hSe=(e,r)=>mSe(e,"name",{value:r,configurable:!0});function Xo(e){let r=b(e);return h(()=>{r.current=e}),D(()=>(...a)=>r.current?.(...a),[])}hSe(Xo,"useCallbackRef");var gSe=Object.defineProperty,Ai=(e,r)=>gSe(e,"name",{value:r,configurable:!0}),AY="dismissableLayer.update",MSe="dismissableLayer.pointerDownOutside",vSe="dismissableLayer.focusOutside",ioe,foe=at({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),aZ=O(Ai(function(r,a){let{disableOutsidePointerEvents:i=!1,deferPointerDownOutside:f=!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:m,onDismiss:g,...M}=r,v=dt(foe),[y,x]=u(null),_=y?.ownerDocument??globalThis?.document,[,j]=u({}),U=_e(a,x),T=Array.from(v.layers),[N]=[...v.layersWithOutsidePointerEventsDisabled].slice(-1),G=N?T.indexOf(N):-1,X=y?T.indexOf(y):-1,J=v.layersWithOutsidePointerEventsDisabled.size>0,ee=X>=G,re=b(!1),oe=soe((Ye)=>{if(l?.(Ye),m?.(Ye),!Ye.defaultPrevented)g?.()},{ownerDocument:_,deferPointerDownOutside:f,isDeferredPointerDownOutsideRef:re,dismissableSurfaces:v.dismissableSurfaces,shouldHandlePointerDownOutside:P((Ye)=>{if(!(Ye instanceof Node))return!1;let ze=[...v.branches].some((qe)=>qe.contains(Ye));return ee&&!ze},[v.branches,ee])}),ae=loe((Ye)=>{if(f&&re.current)return;let ze=Ye.target;if([...v.branches].some((ut)=>ut.contains(ze)))return;if(c?.(Ye),m?.(Ye),!Ye.defaultPrevented)g?.()},_),ye=y?X===T.length-1:!1,We=Xo((Ye)=>{if(Ye.key!=="Escape")return;if(s?.(Ye),!Ye.defaultPrevented&&g)Ye.preventDefault(),g()});return h(()=>{if(!ye)return;return _.addEventListener("keydown",We,{capture:!0}),()=>_.removeEventListener("keydown",We,{capture:!0})},[_,ye,We]),h(()=>{if(!y)return;if(i){if(v.layersWithOutsidePointerEventsDisabled.size===0)ioe=_.body.style.pointerEvents,_.body.style.pointerEvents="none";v.layersWithOutsidePointerEventsDisabled.add(y)}return v.layers.add(y),EY(),()=>{if(i){if(v.layersWithOutsidePointerEventsDisabled.delete(y),v.layersWithOutsidePointerEventsDisabled.size===0)_.body.style.pointerEvents=ioe}}},[y,_,i,v]),h(()=>()=>{if(!y)return;v.layers.delete(y),v.layersWithOutsidePointerEventsDisabled.delete(y),EY()},[y,v]),h(()=>{let Ye=Ai(()=>j({}),"handleUpdate");return document.addEventListener(AY,Ye),()=>document.removeEventListener(AY,Ye)},[]),t(se.div,{...M,ref:U,style:{pointerEvents:J?ee?"auto":"none":void 0,...r.style},onFocusCapture:Y(r.onFocusCapture,ae.onFocusCapture),onBlurCapture:Y(r.onBlurCapture,ae.onBlurCapture),onPointerDownCapture:Y(r.onPointerDownCapture,oe.onPointerDownCapture)})},"DismissableLayer"));function DY(){let e=dt(foe),[r,a]=u(null);return h(()=>{if(!r)return;return e.dismissableSurfaces.add(r),()=>{e.dismissableSurfaces.delete(r)}},[r,e.dismissableSurfaces]),a}Ai(DY,"useDismissableLayerSurface");var xSe=Ai(()=>!0,"IS_TRUE");function soe(e,r){let{ownerDocument:a=globalThis?.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:f,dismissableSurfaces:s,shouldHandlePointerDownOutside:l=xSe}=r,c=Xo(e),m=b(!1),g=b(!1),M=b(new Map),v=b(()=>{});return h(()=>{function y(){g.current=!1,f.current=!1,M.current.clear()}Ai(y,"resetOutsideInteraction");function x(){return Array.from(M.current.values()).some(Boolean)}Ai(x,"isOutsideInteractionIntercepted");function _(G){if(!g.current)return;let X=G.target;if(!(X instanceof Node&&[...s].some((ee)=>ee.contains(X))))M.current.set(G.type,!0);if(G.type==="click")window.setTimeout(()=>{if(g.current)v.current()},0)}Ai(_,"handleInteractionCapture");function j(G){if(g.current)M.current.set(G.type,!1)}Ai(j,"handleInteractionBubble");let U=Ai((G)=>{if(G.target&&!m.current){let J=function(){a.removeEventListener("click",v.current);let re=x();if(y(),!re)OY(MSe,c,ee,{discrete:!0})};var X=J;if(Ai(J,"handleAndDispatchPointerDownOutsideEvent"),!l(G.target)){a.removeEventListener("click",v.current),y(),m.current=!1;return}let ee={originalEvent:G};if(g.current=!0,f.current=i&&G.button===0,M.current.clear(),!i||G.button!==0)J();else a.removeEventListener("click",v.current),v.current=J,a.addEventListener("click",v.current,{once:!0})}else a.removeEventListener("click",v.current),y();m.current=!1},"handlePointerDown"),T=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let G of T)a.addEventListener(G,_,!0),a.addEventListener(G,j);let N=window.setTimeout(()=>{a.addEventListener("pointerdown",U)},0);return()=>{window.clearTimeout(N),a.removeEventListener("pointerdown",U),a.removeEventListener("click",v.current);for(let G of T)a.removeEventListener(G,_,!0),a.removeEventListener(G,j)}},[a,c,i,f,s,l]),{onPointerDownCapture:Ai(()=>m.current=!0,"onPointerDownCapture")}}Ai(soe,"usePointerDownOutside");function loe(e,r=globalThis?.document){let a=Xo(e),i=b(!1);return h(()=>{let f=Ai((s)=>{if(s.target&&!i.current)OY(vSe,a,{originalEvent:s},{discrete:!1})},"handleFocus");return r.addEventListener("focusin",f),()=>r.removeEventListener("focusin",f)},[r,a]),{onFocusCapture:Ai(()=>i.current=!0,"onFocusCapture"),onBlurCapture:Ai(()=>i.current=!1,"onBlurCapture")}}Ai(loe,"useFocusOutside");function EY(){let e=new CustomEvent(AY);document.dispatchEvent(e)}Ai(EY,"dispatchUpdate");function OY(e,r,a,{discrete:i}){let f=a.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:a});if(r)f.addEventListener(e,r,{once:!0});if(i)gT(f,s);else f.dispatchEvent(s)}Ai(OY,"handleAndDispatchCustomEvent");S();var ySe=Object.defineProperty,ss=(e,r)=>ySe(e,"name",{value:r,configurable:!0}),jY="focusScope.autoFocusOnMount",NY="focusScope.autoFocusOnUnmount",coe={bubbles:!1,cancelable:!0},f8=O(ss(function(r,a){let{loop:i=!1,trapped:f=!1,onMountAutoFocus:s,onUnmountAutoFocus:l,...c}=r,[m,g]=u(null),M=Xo(s),v=Xo(l),y=b(null),x=_e(a,g),_=b({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h(()=>{if(f){let G=function(re){if(_.paused||!m)return;let oe=re.target;if(m.contains(oe))y.current=oe;else QZ(y.current,{select:!0})},X=function(re){if(_.paused||!m)return;let oe=re.relatedTarget;if(oe===null)return;if(!m.contains(oe))QZ(y.current,{select:!0})},J=function(re){if(document.activeElement!==document.body)return;for(let ae of re)if(ae.removedNodes.length>0)QZ(m)};var U=G,T=X,N=J;ss(G,"handleFocusIn"),ss(X,"handleFocusOut"),ss(J,"handleMutations"),document.addEventListener("focusin",G),document.addEventListener("focusout",X);let ee=new MutationObserver(J);if(m)ee.observe(m,{childList:!0,subtree:!0});return()=>{document.removeEventListener("focusin",G),document.removeEventListener("focusout",X),ee.disconnect()}}},[f,m,_.paused]),h(()=>{if(m){uoe.add(_);let U=document.activeElement;if(!m.contains(U)){let N=new CustomEvent(jY,coe);if(m.addEventListener(jY,M),m.dispatchEvent(N),!N.defaultPrevented){if(doe(goe(YY(m)),{select:!0}),document.activeElement===U)QZ(m)}}return()=>{m.removeEventListener(jY,M),setTimeout(()=>{let N=new CustomEvent(NY,coe);if(m.addEventListener(NY,v),m.dispatchEvent(N),!N.defaultPrevented)QZ(U??document.body,{select:!0});m.removeEventListener(NY,v),uoe.remove(_)},0)}}},[m,M,v,_]);let j=P((U)=>{if(!i&&!f)return;if(_.paused)return;let T=U.key==="Tab"&&!U.altKey&&!U.ctrlKey&&!U.metaKey,N=document.activeElement;if(T&&N){let G=U.currentTarget,[X,J]=Zoe(G);if(!(X&&J)){if(N===G)U.preventDefault()}else if(!U.shiftKey&&N===J){if(U.preventDefault(),i)QZ(X,{select:!0})}else if(U.shiftKey&&N===X){if(U.preventDefault(),i)QZ(J,{select:!0})}}},[i,f,_.paused]);return t(se.div,{tabIndex:-1,...c,ref:x,onKeyDown:j})},"FocusScope"));function doe(e,{select:r=!1}={}){let a=document.activeElement;for(let i of e)if(QZ(i,{select:r}),document.activeElement!==a)return}ss(doe,"focusFirst");function Zoe(e){let r=YY(e),a=FY(r,e),i=FY(r.reverse(),e);return[a,i]}ss(Zoe,"getTabbableEdges");function YY(e){let r=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:ss((i)=>{let f=i.tagName==="INPUT"&&i.type==="hidden";if(i.disabled||i.hidden||f)return NodeFilter.FILTER_SKIP;return i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});while(a.nextNode())r.push(a.currentNode);return r}ss(YY,"getTabbableCandidates");function FY(e,r){let a=typeof r.checkVisibility==="function"&&r.checkVisibility({checkVisibilityCSS:!0});for(let i of e)if(!(a?!i.checkVisibility({checkVisibilityCSS:!0}):poe(i,{upTo:r})))return i}ss(FY,"findVisible");function poe(e,{upTo:r}){if(getComputedStyle(e).visibility==="hidden")return!0;while(e){if(r!==void 0&&e===r)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}ss(poe,"isHidden");function moe(e){return e instanceof HTMLInputElement&&"select"in e}ss(moe,"isSelectableInput");function QZ(e,{select:r=!1}={}){if(e&&e.focus){let a=document.activeElement;if(e.focus({preventScroll:!0}),e!==a&&moe(e)&&r)e.select()}}ss(QZ,"focus");var uoe=hoe();function hoe(){let e=[];return{add(r){let a=e[0];if(r!==a)a?.pause();e=BY(e,r),e.unshift(r)},remove(r){e=BY(e,r),e[0]?.resume()}}}ss(hoe,"createFocusScopesStack");function BY(e,r){let a=[...e],i=a.indexOf(r);if(i!==-1)a.splice(i,1);return a}ss(BY,"arrayRemove");function goe(e){return e.filter((r)=>r.tagName!=="A")}ss(goe,"removeLinks");S();var bSe=Object.defineProperty,_Se=(e,r)=>bSe(e,"name",{value:r,configurable:!0}),nZ=O(_Se(function(r,a){let{container:i,...f}=r,[s,l]=u(!1);It(()=>l(!0),[]);let c=i||s&&globalThis?.document?.body;return c?Qa(t(se.div,{...f,ref:a}),c):null},"Portal"));S();S();var wSe=Object.defineProperty,JZ=(e,r)=>wSe(e,"name",{value:r,configurable:!0});function Moe(e,r){return en((a,i)=>r[a][i]??a,e)}JZ(Moe,"useStateMachine");var ar=JZ((e)=>{let{present:r,children:a}=e,i=voe(r),f=typeof a==="function"?a({present:i.isPresent}):tc.only(a),s=xoe(i.ref,yoe(f));return typeof a==="function"||i.isPresent?Eu(f,{ref:s}):null},"Presence");function voe(e){let[r,a]=u(),i=b(null),f=b(e),s=b("none"),l=b(void 0),c=e?"mounted":"unmounted",[m,g]=Moe(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h(()=>{if(m==="mounted")s.current=l.current??Gk(i.current),l.current=void 0;else s.current="none"},[m]),It(()=>{let M=i.current,v=f.current;if(v!==e){let x=s.current,_=Gk(M);if(e)l.current=_,g("MOUNT");else if(_==="none"||M?.display==="none")g("UNMOUNT");else if(v&&x!==_)g("ANIMATION_OUT");else g("UNMOUNT");f.current=e}},[e,g]),It(()=>{if(r){let M,v=r.ownerDocument.defaultView??window,y=JZ((_)=>{let U=Gk(i.current).includes(CSS.escape(_.animationName));if(_.target===r&&U){if(g("ANIMATION_END"),!f.current){let T=r.style.animationFillMode;r.style.animationFillMode="forwards",M=v.setTimeout(()=>{if(r.style.animationFillMode==="forwards")r.style.animationFillMode=T})}}},"handleAnimationEnd"),x=JZ((_)=>{if(_.target===r)s.current=Gk(i.current)},"handleAnimationStart");return r.addEventListener("animationstart",x),r.addEventListener("animationcancel",y),r.addEventListener("animationend",y),()=>{v.clearTimeout(M),r.removeEventListener("animationstart",x),r.removeEventListener("animationcancel",y),r.removeEventListener("animationend",y)}}else g("ANIMATION_END")},[r,g]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:P((M)=>{if(M){let v=getComputedStyle(M);i.current=v,l.current=Gk(v)}else i.current=null;a(M)},[])}}JZ(voe,"usePresence");function UY(e,r){if(typeof e==="function")return e(r);else if(e!==null&&e!==void 0)e.current=r}JZ(UY,"setRef");function xoe(...e){let r=b(e);return r.current=e,P((a)=>{let i=r.current,f=!1,s=i.map((l)=>{let c=UY(l,a);if(!f&&typeof c==="function")f=!0;return c});if(f)return()=>{for(let l=0;l<s.length;l++){let c=s[l];if(typeof c==="function")c();else UY(i[l],null)}}},[])}JZ(xoe,"useStableComposedRefs");function Gk(e){return e?.animationName||"none"}JZ(Gk,"getAnimationName");function yoe(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=r&&"isReactWarning"in r&&r.isReactWarning;if(a)return e.ref;if(r=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=r&&"isReactWarning"in r&&r.isReactWarning,a)return e.props.ref;return e.props.ref||e.ref}JZ(yoe,"getElementRef");S();var zSe=Object.defineProperty,VY=(e,r)=>zSe(e,"name",{value:r,configurable:!0}),qj=0,Kk=null;function SSe(e){return iZ(),e.children}VY(SSe,"FocusGuards");function iZ(){h(()=>{if(!Kk)Kk={start:qY(),end:qY()};let{start:e,end:r}=Kk;if(document.body.firstElementChild!==e)document.body.insertAdjacentElement("afterbegin",e);if(document.body.lastElementChild!==r)document.body.insertAdjacentElement("beforeend",r);return qj++,()=>{if(qj===1)Kk?.start.remove(),Kk?.end.remove(),Kk=null;qj=Math.max(0,qj-1)}},[])}VY(iZ,"useFocusGuards");function qY(){let 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}VY(qY,"createFocusGuard");var Xs=function(){return Xs=Object.assign||function(r){for(var a,i=1,f=arguments.length;i<f;i++){a=arguments[i];for(var s in a)if(Object.prototype.hasOwnProperty.call(a,s))r[s]=a[s]}return r},Xs.apply(this,arguments)};function Vj(e,r){var a={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var f=0,i=Object.getOwnPropertySymbols(e);f<i.length;f++)if(r.indexOf(i[f])<0&&Object.prototype.propertyIsEnumerable.call(e,i[f]))a[i[f]]=e[i[f]]}return a}function boe(e,r,a){if(a||arguments.length===2){for(var i=0,f=r.length,s;i<f;i++)if(s||!(i in r)){if(!s)s=Array.prototype.slice.call(r,0,i);s[i]=r[i]}}return e.concat(s||Array.prototype.slice.call(r))}S();S();var Pz="right-scroll-bar-position",Tz="width-before-scroll-bar",HY="with-scroll-bars-hidden",WY="--removed-body-scroll-bar-size";S();function Hj(e,r){if(typeof e==="function")e(r);else if(e)e.current=r;return e}S();function _oe(e,r){var a=u(function(){return{value:e,callback:r,facade:{get current(){return a.value},set current(i){var f=a.value;if(f!==i)a.value=i,a.callback(i,f)}}}})[0];return a.callback=r,a.facade}var LSe=typeof window<"u"?He:h,woe=new WeakMap;function GY(e,r){var a=_oe(r||null,function(i){return e.forEach(function(f){return Hj(f,i)})});return LSe(function(){var i=woe.get(a);if(i){var f=new Set(i),s=new Set(e),l=a.current;f.forEach(function(c){if(!s.has(c))Hj(c,null)}),s.forEach(function(c){if(!f.has(c))Hj(c,l)})}woe.set(a,e)},[e]),a}function kSe(e){return e}function CSe(e,r){if(r===void 0)r=kSe;var a=[],i=!1,f={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");if(a.length)return a[a.length-1];return e},useMedium:function(s){var l=r(s,i);return a.push(l),function(){a=a.filter(function(c){return c!==l})}},assignSyncMedium:function(s){i=!0;while(a.length){var l=a;a=[],l.forEach(s)}a={push:function(c){return s(c)},filter:function(){return a}}},assignMedium:function(s){i=!0;var l=[];if(a.length){var c=a;a=[],c.forEach(s),l=a}var m=function(){var M=l;l=[],M.forEach(s)},g=function(){return Promise.resolve().then(m)};g(),a={push:function(M){l.push(M),g()},filter:function(M){return l=l.filter(M),a}}}};return f}function KY(e){if(e===void 0)e={};var r=CSe(null);return r.options=Xs({async:!0,ssr:!1},e),r}S();var zoe=function(e){var r=e.sideCar,a=Vj(e,["sideCar"]);if(!r)throw Error("Sidecar: please provide `sideCar` property to import the right car");var i=r.read();if(!i)throw Error("Sidecar medium not found");return q(i,Xs({},a))};zoe.isSideCarExport=!0;function XY(e,r){return e.useMedium(r),zoe}var Wj=KY();var QY=function(){return},MT=O(function(e,r){var a=b(null),i=u({onScrollCapture:QY,onWheelCapture:QY,onTouchMoveCapture:QY}),f=i[0],s=i[1],{forwardProps:l,children:c,className:m,removeScrollBar:g,enabled:M,shards:v,sideCar:y,noRelative:x,noIsolation:_,inert:j,allowPinchZoom:U,as:T}=e,N=T===void 0?"div":T,G=e.gapMode,X=Vj(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),J=y,ee=GY([a,r]),re=Xs(Xs({},X),f);return q(Cn,null,M&&q(J,{sideCar:Wj,removeScrollBar:g,shards:v,noRelative:x,noIsolation:_,inert:j,setCallbacks:s,allowPinchZoom:!!U,lockRef:a,gapMode:G}),l?Eu(tc.only(c),Xs(Xs({},re),{ref:ee})):q(N,Xs({},re,{className:m,ref:ee}),c))});MT.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};MT.classNames={fullWidth:Tz,zeroRight:Pz};S();S();S();var Soe;var Loe=function(){if(Soe)return Soe;if(typeof __webpack_nonce__<"u")return __webpack_nonce__;return};function ISe(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var r=Loe();if(r)e.setAttribute("nonce",r);return e}function RSe(e,r){if(e.styleSheet)e.styleSheet.cssText=r;else e.appendChild(document.createTextNode(r))}function PSe(e){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(e)}var JY=function(){var e=0,r=null;return{add:function(a){if(e==0){if(r=ISe())RSe(r,a),PSe(r)}e++},remove:function(){if(e--,!e&&r)r.parentNode&&r.parentNode.removeChild(r),r=null}}};var $Y=function(){var e=JY();return function(r,a){h(function(){return e.add(r),function(){e.remove()}},[r&&a])}};var vT=function(){var e=$Y(),r=function(a){var{styles:i,dynamic:f}=a;return e(i,f),null};return r};var TSe={left:0,top:0,right:0,gap:0},e7=function(e){return parseInt(e||"",10)||0},ASe=function(e){var r=window.getComputedStyle(document.body),a=r[e==="padding"?"paddingLeft":"marginLeft"],i=r[e==="padding"?"paddingTop":"marginTop"],f=r[e==="padding"?"paddingRight":"marginRight"];return[e7(a),e7(i),e7(f)]},t7=function(e){if(e===void 0)e="margin";if(typeof window>"u")return TSe;var r=ASe(e),a=document.documentElement.clientWidth,i=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,i-a+r[2]-r[0])}};var ESe=vT(),Xk="data-scroll-locked",DSe=function(e,r,a,i){var{left:f,top:s,right:l,gap:c}=e;if(a===void 0)a="margin";return`
16
- .`.concat(HY,` {
17
- overflow: hidden `).concat(i,`;
18
- padding-right: `).concat(c,"px ").concat(i,`;
19
- }
20
- body[`).concat(Xk,`] {
21
- overflow: hidden `).concat(i,`;
22
- overscroll-behavior: contain;
23
- `).concat([r&&"position: relative ".concat(i,";"),a==="margin"&&`
24
- padding-left: `.concat(f,`px;
25
- padding-top: `).concat(s,`px;
26
- padding-right: `).concat(l,`px;
27
- margin-left:0;
28
- margin-top:0;
29
- margin-right: `).concat(c,"px ").concat(i,`;
30
- `),a==="padding"&&"padding-right: ".concat(c,"px ").concat(i,";")].filter(Boolean).join(""),`
31
- }
32
-
33
- .`).concat(Pz,` {
34
- right: `).concat(c,"px ").concat(i,`;
35
- }
36
-
37
- .`).concat(Tz,` {
38
- margin-right: `).concat(c,"px ").concat(i,`;
39
- }
40
-
41
- .`).concat(Pz," .").concat(Pz,` {
42
- right: 0 `).concat(i,`;
43
- }
44
-
45
- .`).concat(Tz," .").concat(Tz,` {
46
- margin-right: 0 `).concat(i,`;
47
- }
48
-
49
- body[`).concat(Xk,`] {
50
- `).concat(WY,": ").concat(c,`px;
51
- }
52
- `)},koe=function(){var e=parseInt(document.body.getAttribute(Xk)||"0",10);return isFinite(e)?e:0},OSe=function(){h(function(){return document.body.setAttribute(Xk,(koe()+1).toString()),function(){var e=koe()-1;if(e<=0)document.body.removeAttribute(Xk);else document.body.setAttribute(Xk,e.toString())}},[])},r7=function(e){var{noRelative:r,noImportant:a,gapMode:i}=e,f=i===void 0?"margin":i;OSe();var s=D(function(){return t7(f)},[f]);return q(ESe,{styles:DSe(s,!r,f,!a?"!important":"")})};var o7=!1;if(typeof window<"u")try{Qk=Object.defineProperty({},"passive",{get:function(){return o7=!0,!0}}),window.addEventListener("test",Qk,Qk),window.removeEventListener("test",Qk,Qk)}catch(e){o7=!1}var Qk,Az=o7?{passive:!1}:!1;var jSe=function(e){return e.tagName==="TEXTAREA"},Coe=function(e,r){if(!(e instanceof Element))return!1;var a=window.getComputedStyle(e);return a[r]!=="hidden"&&!(a.overflowY===a.overflowX&&!jSe(e)&&a[r]==="visible")},NSe=function(e){return Coe(e,"overflowY")},FSe=function(e){return Coe(e,"overflowX")},a7=function(e,r){var a=r.ownerDocument,i=r;do{if(typeof ShadowRoot<"u"&&i instanceof ShadowRoot)i=i.host;var f=Ioe(e,i);if(f){var s=Roe(e,i),l=s[1],c=s[2];if(l>c)return!0}i=i.parentNode}while(i&&i!==a.body);return!1},BSe=function(e){var{scrollTop:r,scrollHeight:a,clientHeight:i}=e;return[r,a,i]},YSe=function(e){var{scrollLeft:r,scrollWidth:a,clientWidth:i}=e;return[r,a,i]},Ioe=function(e,r){return e==="v"?NSe(r):FSe(r)},Roe=function(e,r){return e==="v"?BSe(r):YSe(r)},USe=function(e,r){return e==="h"&&r==="rtl"?-1:1},Poe=function(e,r,a,i,f){var s=USe(e,window.getComputedStyle(r).direction),l=s*i,c=a.target,m=r.contains(c),g=!1,M=l>0,v=0,y=0;do{if(!c)break;var x=Roe(e,c),_=x[0],j=x[1],U=x[2],T=j-U-s*_;if(_||T){if(Ioe(e,c))v+=T,y+=_}var N=c.parentNode;c=N&&N.nodeType===Node.DOCUMENT_FRAGMENT_NODE?N.host:N}while(!m&&c!==document.body||m&&(r.contains(c)||r===c));if(M&&(f&&Math.abs(v)<1||!f&&l>v))g=!0;else if(!M&&(f&&Math.abs(y)<1||!f&&-l>y))g=!0;return g};var Gj=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Toe=function(e){return[e.deltaX,e.deltaY]},Aoe=function(e){return e&&"current"in e?e.current:e},qSe=function(e,r){return e[0]===r[0]&&e[1]===r[1]},VSe=function(e){return`
53
- .block-interactivity-`.concat(e,` {pointer-events: none;}
54
- .allow-interactivity-`).concat(e,` {pointer-events: all;}
55
- `)},HSe=0,Jk=[];function Eoe(e){var r=b([]),a=b([0,0]),i=b(),f=u(HSe++)[0],s=u(vT)[0],l=b(e);h(function(){l.current=e},[e]),h(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(f));var j=boe([e.lockRef.current],(e.shards||[]).map(Aoe),!0).filter(Boolean);return j.forEach(function(U){return U.classList.add("allow-interactivity-".concat(f))}),function(){document.body.classList.remove("block-interactivity-".concat(f)),j.forEach(function(U){return U.classList.remove("allow-interactivity-".concat(f))})}}return},[e.inert,e.lockRef.current,e.shards]);var c=P(function(j,U){if("touches"in j&&j.touches.length===2||j.type==="wheel"&&j.ctrlKey)return!l.current.allowPinchZoom;var T=Gj(j),N=a.current,G="deltaX"in j?j.deltaX:N[0]-T[0],X="deltaY"in j?j.deltaY:N[1]-T[1],J,ee=j.target,re=Math.abs(G)>Math.abs(X)?"h":"v";if("touches"in j&&re==="h"&&ee.type==="range")return!1;var oe=window.getSelection(),ae=oe&&oe.anchorNode,ye=ae?ae===ee||ae.contains(ee):!1;if(ye)return!1;var We=a7(re,ee);if(!We)return!0;if(We)J=re;else J=re==="v"?"h":"v",We=a7(re,ee);if(!We)return!1;if(!i.current&&"changedTouches"in j&&(G||X))i.current=J;if(!J)return!0;var Ye=i.current||J;return Poe(Ye,U,j,Ye==="h"?G:X,!0)},[]),m=P(function(j){var U=j;if(!Jk.length||Jk[Jk.length-1]!==s)return;var T="deltaY"in U?Toe(U):Gj(U),N=r.current.filter(function(J){return J.name===U.type&&(J.target===U.target||U.target===J.shadowParent)&&qSe(J.delta,T)})[0];if(N&&N.should){if(U.cancelable)U.preventDefault();return}if(!N){var G=(l.current.shards||[]).map(Aoe).filter(Boolean).filter(function(J){return J.contains(U.target)}),X=G.length>0?c(U,G[0]):!l.current.noIsolation;if(X){if(U.cancelable)U.preventDefault()}}},[]),g=P(function(j,U,T,N){var G={name:j,delta:U,target:T,should:N,shadowParent:WSe(T)};r.current.push(G),setTimeout(function(){r.current=r.current.filter(function(X){return X!==G})},1)},[]),M=P(function(j){a.current=Gj(j),i.current=void 0},[]),v=P(function(j){g(j.type,Toe(j),j.target,c(j,e.lockRef.current))},[]),y=P(function(j){g(j.type,Gj(j),j.target,c(j,e.lockRef.current))},[]);h(function(){return Jk.push(s),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:y}),document.addEventListener("wheel",m,Az),document.addEventListener("touchmove",m,Az),document.addEventListener("touchstart",M,Az),function(){Jk=Jk.filter(function(j){return j!==s}),document.removeEventListener("wheel",m,Az),document.removeEventListener("touchmove",m,Az),document.removeEventListener("touchstart",M,Az)}},[]);var{removeScrollBar:x,inert:_}=e;return q(Cn,null,_?q(s,{styles:VSe(f)}):null,x?q(r7,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function WSe(e){var r=null;while(e!==null){if(e instanceof ShadowRoot)r=e.host,e=e.host;e=e.parentNode}return r}var Doe=XY(Wj,Eoe);var Ooe=O(function(e,r){return q(MT,Xs({},e,{ref:r,sideCar:Doe}))});Ooe.classNames=MT.classNames;var $Z=Ooe;var GSe=function(e){if(typeof document>"u")return null;var r=Array.isArray(e)?e[0]:e;return r.ownerDocument.body},$k=new WeakMap,Kj=new WeakMap,Xj={},n7=0,joe=function(e){return e&&(e.host||joe(e.parentNode))},KSe=function(e,r){return r.map(function(a){if(e.contains(a))return a;var i=joe(a);if(i&&e.contains(i))return i;return console.error("aria-hidden",a,"in not contained inside",e,". Doing nothing"),null}).filter(function(a){return Boolean(a)})},XSe=function(e,r,a,i){var f=KSe(r,Array.isArray(e)?e:[e]);if(!Xj[a])Xj[a]=new WeakMap;var s=Xj[a],l=[],c=new Set,m=new Set(f),g=function(v){if(!v||c.has(v))return;c.add(v),g(v.parentNode)};f.forEach(g);var M=function(v){if(!v||m.has(v))return;Array.prototype.forEach.call(v.children,function(y){if(c.has(y))M(y);else try{var x=y.getAttribute(i),_=x!==null&&x!=="false",j=($k.get(y)||0)+1,U=(s.get(y)||0)+1;if($k.set(y,j),s.set(y,U),l.push(y),j===1&&_)Kj.set(y,!0);if(U===1)y.setAttribute(a,"true");if(!_)y.setAttribute(i,"true")}catch(T){console.error("aria-hidden: cannot operate on ",y,T)}})};return M(r),c.clear(),n7++,function(){if(l.forEach(function(v){var y=$k.get(v)-1,x=s.get(v)-1;if($k.set(v,y),s.set(v,x),!y){if(!Kj.has(v))v.removeAttribute(i);Kj.delete(v)}if(!x)v.removeAttribute(a)}),n7--,!n7)$k=new WeakMap,$k=new WeakMap,Kj=new WeakMap,Xj={}}},s8=function(e,r,a){if(a===void 0)a="data-aria-hidden";var i=Array.from(Array.isArray(e)?e:[e]),f=r||GSe(e);if(!f)return function(){return null};return i.push.apply(i,Array.from(f.querySelectorAll("[aria-live], script"))),XSe(i,f,a,"aria-hidden")};var QSe=Object.defineProperty,Vl=(e,r)=>QSe(e,"name",{value:r,configurable:!0}),f7="Dialog",[Noe,s7]=pt(f7),[JSe,fu]=Noe(f7),l7=Vl((e)=>{let{__scopeDialog:r,children:a,open:i,defaultOpen:f,onOpenChange:s,modal:l=!0}=e,c=b(null),m=b(null),[g,M]=Ft({prop:i,defaultProp:f??!1,onChange:s,caller:f7}),[v,y]=u(0),[x,_]=u(0);return t(JSe,{scope:r,triggerRef:c,contentRef:m,contentId:xr(),titleId:xr(),descriptionId:xr(),titlePresent:v>0,descriptionPresent:x>0,setTitleCount:y,setDescriptionCount:_,open:g,onOpenChange:M,onOpenToggle:P(()=>M((j)=>!j),[M]),modal:l,children:a})},"Dialog"),$Se="DialogTrigger",c7=O(Vl(function(r,a){let{__scopeDialog:i,...f}=r,s=fu($Se,i),l=_e(a,s.triggerRef);return t(se.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":Qj(s.open),...f,ref:l,onClick:Y(r.onClick,s.onOpenToggle)})},"DialogTrigger")),Foe="DialogPortal",[eLe,Boe]=Noe(Foe,{forceMount:void 0}),u7=Vl((e)=>{let{__scopeDialog:r,forceMount:a,children:i,container:f}=e,s=fu(Foe,r);return t(eLe,{scope:r,forceMount:a,children:tc.map(i,(l)=>t(ar,{present:a||s.open,children:t(nZ,{asChild:!0,container:f,children:l})}))})},"DialogPortal"),i7="DialogOverlay",d7=O(Vl(function(r,a){let i=Boe(i7,r.__scopeDialog),{forceMount:f=i.forceMount,...s}=r,l=fu(i7,r.__scopeDialog);return l.modal?t(ar,{present:f||l.open,children:t(rLe,{...s,ref:a})}):null},"DialogOverlay")),tLe=zi("DialogOverlay.RemoveScroll"),rLe=O(Vl(function(r,a){let{__scopeDialog:i,...f}=r,s=fu(i7,i),l=DY(),c=_e(a,l);return t($Z,{as:tLe,allowPinchZoom:!0,shards:[s.contentRef],children:t(se.div,{"data-state":Qj(s.open),...f,ref:c,style:{pointerEvents:"auto",...f.style}})})},"DialogOverlayImpl")),xT="DialogContent",Z7=O(Vl(function(r,a){let i=Boe(xT,r.__scopeDialog),{forceMount:f=i.forceMount,...s}=r,l=fu(xT,r.__scopeDialog);return t(ar,{present:f||l.open,children:l.modal?t(oLe,{...s,ref:a}):t(aLe,{...s,ref:a})})},"DialogContent")),oLe=O(Vl(function(r,a){let i=fu(xT,r.__scopeDialog),f=b(null),s=_e(a,i.contentRef,f);return h(()=>{let l=f.current;if(l)return s8(l)},[]),t(Yoe,{...r,ref:s,trapFocus:i.open,disableOutsidePointerEvents:i.open,onCloseAutoFocus:Y(r.onCloseAutoFocus,(l)=>{l.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:Y(r.onPointerDownOutside,(l)=>{let c=l.detail.originalEvent,m=c.button===0&&c.ctrlKey===!0;if(c.button===2||m)l.preventDefault()}),onFocusOutside:Y(r.onFocusOutside,(l)=>l.preventDefault())})},"DialogContentModal")),aLe=O(Vl(function(r,a){let i=fu(xT,r.__scopeDialog),f=b(!1),s=b(!1);return t(Yoe,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:(l)=>{if(r.onCloseAutoFocus?.(l),!l.defaultPrevented){if(!f.current)i.triggerRef.current?.focus();l.preventDefault()}f.current=!1,s.current=!1},onInteractOutside:(l)=>{if(r.onInteractOutside?.(l),!l.defaultPrevented){if(f.current=!0,l.detail.originalEvent.type==="pointerdown")s.current=!0}let c=l.target;if(i.triggerRef.current?.contains(c))l.preventDefault();if(l.detail.originalEvent.type==="focusin"&&s.current)l.preventDefault()}})},"DialogContentNonModal")),Yoe=O(Vl(function(r,a){let{__scopeDialog:i,trapFocus:f,onOpenAutoFocus:s,onCloseAutoFocus:l,...c}=r,m=fu(xT,i);return iZ(),t(Z,{children:t(f8,{asChild:!0,loop:!0,trapped:f,onMountAutoFocus:s,onUnmountAutoFocus:l,children:t(aZ,{role:"dialog",id:m.contentId,"aria-describedby":m.descriptionPresent?m.descriptionId:void 0,"aria-labelledby":m.titlePresent?m.titleId:void 0,"data-state":Qj(m.open),...c,ref:a,deferPointerDownOutside:!0,onDismiss:()=>m.onOpenChange(!1)})})})},"DialogContentImpl")),nLe="DialogTitle",p7=O(Vl(function(r,a){let{__scopeDialog:i,...f}=r,s=fu(nLe,i),{setTitleCount:l}=s;return It(()=>(l((c)=>c+1),()=>l((c)=>c-1)),[l]),t(se.h2,{id:s.titleId,...f,ref:a})},"DialogTitle")),iLe="DialogDescription",m7=O(Vl(function(r,a){let{__scopeDialog:i,...f}=r,s=fu(iLe,i),{setDescriptionCount:l}=s;return It(()=>(l((c)=>c+1),()=>l((c)=>c-1)),[l]),t(se.p,{id:s.descriptionId,...f,ref:a})},"DialogDescription")),fLe="DialogClose",yT=O(Vl(function(r,a){let{__scopeDialog:i,...f}=r,s=fu(fLe,i);return t(se.button,{type:"button",...f,ref:a,onClick:Y(r.onClick,()=>s.onOpenChange(!1))})},"DialogClose"));function Qj(e){return e?"open":"closed"}Vl(Qj,"getState");var sLe=Object.defineProperty,tm=(e,r)=>sLe(e,"name",{value:r,configurable:!0}),lLe="AlertDialog",[cLe,SVo]=pt(lLe,[s7]),rm=s7(),uLe=tm((e)=>{let{__scopeAlertDialog:r,...a}=e,i=rm(r);return t(l7,{...i,...a,modal:!0})},"AlertDialog"),LVo=O(tm(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=rm(i);return t(c7,{...s,...f,ref:a})},"AlertDialogTrigger")),dLe=tm((e)=>{let{__scopeAlertDialog:r,...a}=e,i=rm(r);return t(u7,{...i,...a})},"AlertDialogPortal"),ZLe=O(tm(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=rm(i);return t(d7,{...s,...f,ref:a})},"AlertDialogOverlay")),pLe="AlertDialogContent",[mLe,hLe]=cLe(pLe),gLe=O(tm(function(r,a){let{__scopeAlertDialog:i,children:f,...s}=r,l=rm(i),c=b(null),m=_e(a,c),g=b(null);return t(mLe,{scope:i,cancelRef:g,children:t(Z7,{role:"alertdialog",...l,...s,ref:m,onOpenAutoFocus:Y(s.onOpenAutoFocus,(M)=>{M.preventDefault(),g.current?.focus({preventScroll:!0})}),onPointerDownOutside:(M)=>M.preventDefault(),onInteractOutside:(M)=>M.preventDefault(),children:f})})},"AlertDialogContent")),MLe=O(tm(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=rm(i);return t(p7,{...s,...f,ref:a})},"AlertDialogTitle")),vLe=O(tm(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=rm(i);return t(m7,{...s,...f,ref:a})},"AlertDialogDescription")),xLe=O(tm(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=rm(i);return t(yT,{...s,...f,ref:a})},"AlertDialogAction")),yLe="AlertDialogCancel",bLe=O(tm(function(r,a){let{__scopeAlertDialog:i,...f}=r,{cancelRef:s}=hLe(yLe,i),l=rm(i),c=_e(a,s);return t(yT,{...l,...f,ref:c})},"AlertDialogCancel")),_Le=uLe;var wLe=dLe,zLe=ZLe,SLe=gLe,LLe=xLe,kLe=bLe,CLe=MLe,ILe=vLe;S();var RLe=Object.defineProperty,om=(e,r)=>RLe(e,"name",{value:r,configurable:!0}),qoe="Avatar",[PLe,AVo]=pt(qoe),TLe=[0,()=>{return}],[ALe,Voe]=PLe(qoe),ELe=O(om(function(r,a){let{__scopeAvatar:i,...f}=r,[s,l]=u("idle"),[c,m]=Woe();return t(ALe,{scope:i,imageLoadingStatus:s,setImageLoadingStatus:l,imageCount:c,setImageCount:m,children:t(se.span,{...f,ref:a})})},"Avatar")),DLe="AvatarImage",OLe=O(om(function(r,a){let{__scopeAvatar:i,src:f,onLoadingStatusChange:s,...l}=r,c=Voe(DLe,i);Goe(c.setImageCount);let m=Hoe(f,{referrerPolicy:l.referrerPolicy,crossOrigin:l.crossOrigin,loadingStatus:c.imageLoadingStatus,setLoadingStatus:c.setImageLoadingStatus}),g=Xo((v)=>{s?.(v)}),M=b(m);return It(()=>{let v=M.current;if(M.current=m,m!==v)g(m)},[m,g]),m==="loaded"?t(se.img,{...l,ref:a,src:f}):null},"AvatarImage")),jLe="AvatarFallback",NLe=O(om(function(r,a){let{__scopeAvatar:i,delayMs:f,...s}=r,l=Voe(jLe,i),[c,m]=u(f===void 0);return h(()=>{if(f!==void 0){let g=window.setTimeout(()=>m(!0),f);return()=>window.clearTimeout(g)}},[f]),c&&l.imageLoadingStatus!=="loaded"?t(se.span,{...s,ref:a}):null},"AvatarFallback"));function Hoe(e,{loadingStatus:r,setLoadingStatus:a,referrerPolicy:i,crossOrigin:f}){return It(()=>{if(!e){a("error");return}let s=new window.Image,l=om((m)=>{let g=m.currentTarget;a(g7(g))},"handleLoad"),c=om(()=>a("error"),"handleError");if(s.addEventListener("load",l),s.addEventListener("error",c),i)s.referrerPolicy=i;return s.crossOrigin=f??null,s.src=e,a(g7(s)),()=>{s.removeEventListener("load",l),s.removeEventListener("error",c),a("idle")}},[e,f,i,a]),r}om(Hoe,"useImageLoadingStatus");function g7(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}om(g7,"getImageLoadingStatus");function Woe(){let e=TLe;if(la){e=u(0);let[r]=e,a=b(!1);h(()=>{if(r>1&&!a.current)a.current=!0,console.warn("Avatar: Only one `Avatar.Image` component should be rendered per `Avatar.Root`, but multiple were detected. This will lead to unexpected behavior.")},[r])}return e}om(Woe,"useImageCount");function Goe(e){if(la)h(()=>(e((r)=>r+1),()=>{e((r)=>r-1)}),[e])}om(Goe,"useUpdateImageCount");S();S();var FLe=Object.defineProperty,BLe=(e,r)=>FLe(e,"name",{value:r,configurable:!0});function ca(e){let[r,a]=u(void 0);return It(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});let i=new ResizeObserver((f)=>{if(!Array.isArray(f))return;if(!f.length)return;let s=f[0],l,c;if("borderBoxSize"in s){let m=s.borderBoxSize,g=Array.isArray(m)?m[0]:m;l=g.inlineSize,c=g.blockSize}else l=e.offsetWidth,c=e.offsetHeight;a({width:l,height:c})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else a(void 0)},[e]),r}BLe(ca,"useSize");var YLe=Object.defineProperty,nm=(e,r)=>YLe(e,"name",{value:r,configurable:!0}),M7="Checkbox",[ULe,VVo]=pt(M7),[qLe,v7]=ULe(M7);function Xoe(e){let{__scopeCheckbox:r,checked:a,children:i,defaultChecked:f,disabled:s,form:l,name:c,onCheckedChange:m,required:g,value:M="on",internal_do_not_use_render:v}=e,[y,x]=Ft({prop:a,defaultProp:f??!1,onChange:m,caller:M7}),[_,j]=u(null),[U,T]=u(null),N=b(!1),[G,X]=en((re)=>re+1,0),J=_?!!l||!!_.closest("form"):!0,ee={checked:y,disabled:s,setChecked:x,control:_,setControl:j,name:c,form:l,value:M,hasConsumerStoppedPropagationRef:N,userInteractionCount:G,onUserInteraction:X,required:g,defaultChecked:am(f)?!1:f,isFormControl:J,bubbleInput:U,setBubbleInput:T};return t(qLe,{scope:r,...ee,children:Qoe(v)?v(ee):i})}nm(Xoe,"CheckboxProvider");var VLe="CheckboxTrigger",HLe=O(nm(function({__scopeCheckbox:r,onKeyDown:a,onClick:i,...f},s){let{control:l,value:c,disabled:m,checked:g,required:M,setControl:v,setChecked:y,hasConsumerStoppedPropagationRef:x,onUserInteraction:_,isFormControl:j,bubbleInput:U}=v7(VLe,r),T=_e(s,v),N=b(g);return h(()=>{let G=l?.form;if(G){let X=nm(()=>y(N.current),"reset");return G.addEventListener("reset",X),()=>G.removeEventListener("reset",X)}},[l,y]),t(se.button,{type:"button",role:"checkbox","aria-checked":am(g)?"mixed":g,"aria-required":M,"data-state":x7(g),"data-disabled":m?"":void 0,disabled:m,value:c,...f,ref:T,onKeyDown:Y(a,(G)=>{if(G.key==="Enter")G.preventDefault()}),onClick:Y(i,(G)=>{if(_(),y((X)=>am(X)?!0:!X),U&&j){if(x.current=G.isPropagationStopped(),!x.current)G.stopPropagation()}})})},"CheckboxTrigger")),WLe=O(nm(function(r,a){let{__scopeCheckbox:i,name:f,checked:s,defaultChecked:l,required:c,disabled:m,value:g,onCheckedChange:M,form:v,...y}=r;return t(Xoe,{__scopeCheckbox:i,checked:s,defaultChecked:l,disabled:m,required:c,onCheckedChange:M,name:f,form:v,value:g,internal_do_not_use_render:({isFormControl:x})=>o(Z,{children:[t(HLe,{...y,ref:a,__scopeCheckbox:i}),x&&t(QLe,{__scopeCheckbox:i})]})})},"Checkbox")),GLe="CheckboxIndicator",KLe=O(nm(function(r,a){let{__scopeCheckbox:i,forceMount:f,...s}=r,l=v7(GLe,i);return t(ar,{present:f||am(l.checked)||l.checked===!0,children:t(se.span,{"data-state":x7(l.checked),"data-disabled":l.disabled?"":void 0,...s,ref:a,style:{pointerEvents:"none",...r.style}})})},"CheckboxIndicator")),XLe="CheckboxBubbleInput",QLe=O(nm(function({__scopeCheckbox:r,onClick:a,...i},f){let{control:s,hasConsumerStoppedPropagationRef:l,userInteractionCount:c,checked:m,defaultChecked:g,required:M,disabled:v,name:y,value:x,form:_,bubbleInput:j,setBubbleInput:U}=v7(XLe,r),T=_e(f,U),N=ca(s),G=b(!1),X=b(m),J=b(c);h(()=>{let re=j;if(!re)return;let oe=window.HTMLInputElement.prototype,ye=Object.getOwnPropertyDescriptor(oe,"checked").set,We=c!==J.current;J.current=c;let Ye=X.current!==m;X.current=m;let ze=!(We&&l.current);if(Ye&&ye){G.current=!We;let qe=new Event("click",{bubbles:ze});re.indeterminate=am(m),ye.call(re,am(m)?!1:m),re.dispatchEvent(qe),G.current=!1}},[j,m,l,c]);let ee=b(am(m)?!1:m);return t(se.input,{type:"checkbox","aria-hidden":!0,defaultChecked:g??ee.current,required:M,disabled:v,name:y,value:x,form:_,...i,tabIndex:-1,ref:T,onClick:Y(a,(re)=>{if(G.current)re.stopPropagation()}),style:{...i.style,...N,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"CheckboxBubbleInput"));function Qoe(e){return typeof e==="function"}nm(Qoe,"isFunction");function am(e){return e==="indeterminate"}nm(am,"isIndeterminate");function x7(e){return am(e)?"indeterminate":e?"checked":"unchecked"}nm(x7,"getState");S();S();S();var JLe=Object.defineProperty,ji=(e,r)=>JLe(e,"name",{value:r,configurable:!0});function ua(e){let r=e+"CollectionProvider",[a,i]=pt(r),[f,s]=a(r,{collectionRef:{current:null},itemMap:new Map}),l=ji((j)=>{let{scope:U,children:T}=j,N=b(null),G=b(new Map).current;return t(f,{scope:U,itemMap:G,collectionRef:N,children:T})},"CollectionProvider");l.displayName=r;let c=e+"CollectionSlot",m=zi(c),g=O((j,U)=>{let{scope:T,children:N}=j,G=s(c,T),X=_e(U,G.collectionRef);return t(m,{ref:X,children:N})});g.displayName=c;let M=e+"CollectionItemSlot",v="data-radix-collection-item",y=zi(M),x=O((j,U)=>{let{scope:T,children:N,...G}=j,X=b(null),J=_e(U,X),ee=s(M,T);return h(()=>(ee.itemMap.set(X,{ref:X,...G}),()=>void ee.itemMap.delete(X))),t(y,{...{[v]:""},ref:J,children:N})});x.displayName=M;function _(j){let U=s(e+"CollectionConsumer",j);return P(()=>{let N=U.collectionRef.current;if(!N)return[];let G=Array.from(N.querySelectorAll(`[${v}]`));return Array.from(U.itemMap.values()).sort((ee,re)=>G.indexOf(ee.ref.current)-G.indexOf(re.ref.current))},[U.collectionRef,U.itemMap])}return ji(_,"useCollection"),[{Provider:l,Slot:g,ItemSlot:x},_,i]}ji(ua,"createCollection");var $oe=new WeakMap,y7=class e extends Map{static{ji(this,"OrderedDict")}#e;constructor(r){super(r);this.#e=[...super.keys()],$oe.set(this,!0)}set(r,a){if($oe.get(this))if(this.has(r))this.#e[this.#e.indexOf(r)]=r;else this.#e.push(r);return super.set(r,a),this}insert(r,a,i){let f=this.has(a),s=this.#e.length,l=_7(r),c=l>=0?l:s+l,m=c<0||c>=s?-1:c;if(m===this.size||f&&m===this.size-1||m===-1)return this.set(a,i),this;let g=this.size+(f?0:1);if(l<0)c++;let M=[...this.#e],v,y=!1;for(let x=c;x<g;x++)if(c===x){let _=M[x];if(M[x]===a)_=M[x+1];if(f)this.delete(a);v=this.get(_),this.set(a,i)}else{if(!y&&M[x-1]===a)y=!0;let _=M[y?x:x-1],j=v;v=this.get(_),this.delete(_),this.set(_,j)}return this}with(r,a,i){let f=new e(this);return f.insert(r,a,i),f}before(r){let a=this.#e.indexOf(r)-1;if(a<0)return;return this.entryAt(a)}setBefore(r,a,i){let f=this.#e.indexOf(r);if(f===-1)return this;return this.insert(f,a,i)}after(r){let a=this.#e.indexOf(r);if(a=a===-1||a===this.size-1?-1:a+1,a===-1)return;return this.entryAt(a)}setAfter(r,a,i){let f=this.#e.indexOf(r);if(f===-1)return this;return this.insert(f+1,a,i)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(r){let a=super.delete(r);if(a)this.#e.splice(this.#e.indexOf(r),1);return a}deleteAt(r){let a=this.keyAt(r);if(a!==void 0)return this.delete(a);return!1}at(r){let a=Jj(this.#e,r);if(a!==void 0)return this.get(a)}entryAt(r){let a=Jj(this.#e,r);if(a!==void 0)return[a,this.get(a)]}indexOf(r){return this.#e.indexOf(r)}keyAt(r){return Jj(this.#e,r)}from(r,a){let i=this.indexOf(r);if(i===-1)return;let f=i+a;if(f<0)f=0;if(f>=this.size)f=this.size-1;return this.at(f)}keyFrom(r,a){let i=this.indexOf(r);if(i===-1)return;let f=i+a;if(f<0)f=0;if(f>=this.size)f=this.size-1;return this.keyAt(f)}find(r,a){let i=0;for(let f of this){if(Reflect.apply(r,a,[f,i,this]))return f;i++}return}findIndex(r,a){let i=0;for(let f of this){if(Reflect.apply(r,a,[f,i,this]))return i;i++}return-1}filter(r,a){let i=[],f=0;for(let s of this){if(Reflect.apply(r,a,[s,f,this]))i.push(s);f++}return new e(i)}map(r,a){let i=[],f=0;for(let s of this)i.push([s[0],Reflect.apply(r,a,[s,f,this])]),f++;return new e(i)}reduce(...r){let[a,i]=r,f=0,s=i??this.at(0);for(let l of this){if(f===0&&r.length===1)s=l;else s=Reflect.apply(a,this,[s,l,f,this]);f++}return s}reduceRight(...r){let[a,i]=r,f=i??this.at(-1);for(let s=this.size-1;s>=0;s--){let l=this.at(s);if(s===this.size-1&&r.length===1)f=l;else f=Reflect.apply(a,this,[f,l,s,this])}return f}toSorted(r){let a=[...this.entries()].sort(r);return new e(a)}toReversed(){let r=new e;for(let a=this.size-1;a>=0;a--){let i=this.keyAt(a),f=this.get(i);r.set(i,f)}return r}toSpliced(...r){let a=[...this.entries()];return a.splice(...r),new e(a)}slice(r,a){let i=new e,f=this.size-1;if(r===void 0)return i;if(r<0)r=r+this.size;if(a!==void 0&&a>0)f=a-1;for(let s=r;s<=f;s++){let l=this.keyAt(s),c=this.get(l);i.set(l,c)}return i}every(r,a){let i=0;for(let f of this){if(!Reflect.apply(r,a,[f,i,this]))return!1;i++}return!0}some(r,a){let i=0;for(let f of this){if(Reflect.apply(r,a,[f,i,this]))return!0;i++}return!1}};function Jj(e,r){if("at"in Array.prototype)return Array.prototype.at.call(e,r);let a=eae(e,r);return a===-1?void 0:e[a]}ji(Jj,"at");function eae(e,r){let a=e.length,i=_7(r),f=i>=0?i:a+i;return f<0||f>=a?-1:f}ji(eae,"toSafeIndex");function _7(e){return e!==e||e===0?0:Math.trunc(e)}ji(_7,"toSafeInteger");function $Le(e){let r=e+"CollectionProvider",[a,i]=pt(r),[f,s]=a(r,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new y7,setItemMap:ji(()=>{return},"setItemMap")}),l=ji(({state:G,...X})=>G?t(m,{...X,state:G}):t(c,{...X}),"CollectionProvider");l.displayName=r;let c=ji((G)=>{let X=U();return t(m,{...G,state:X})},"CollectionInit");c.displayName=r+"Init";let m=ji((G)=>{let{scope:X,children:J,state:ee}=G,re=b(null),[oe,ae]=u(null),ye=_e(re,ae),[We,Ye]=ee;return h(()=>{if(!oe)return;let ze=oae(()=>{});return ze.observe(oe,{childList:!0,subtree:!0}),()=>{ze.disconnect()}},[oe]),t(f,{scope:X,itemMap:We,setItemMap:Ye,collectionRef:ye,collectionRefObject:re,collectionElement:oe,children:J})},"CollectionProviderImpl");m.displayName=r+"Impl";let g=e+"CollectionSlot",M=zi(g),v=O((G,X)=>{let{scope:J,children:ee}=G,re=s(g,J),oe=_e(X,re.collectionRef);return t(M,{ref:oe,children:ee})});v.displayName=g;let y=e+"CollectionItemSlot",x="data-radix-collection-item",_=zi(y),j=O((G,X)=>{let{scope:J,children:ee,...re}=G,oe=b(null),[ae,ye]=u(null),We=_e(X,oe,ye),Ye=s(y,J),{setItemMap:ze}=Ye,qe=b(re);if(!tae(qe.current,re))qe.current=re;let ut=qe.current;return h(()=>{let $e=ut;return ze((xt)=>{if(!ae)return xt;if(!xt.has(ae))return xt.set(ae,{...$e,element:ae}),xt.toSorted(b7);return xt.set(ae,{...$e,element:ae}).toSorted(b7)}),()=>{ze((xt)=>{if(!ae||!xt.has(ae))return xt;return xt.delete(ae),new y7(xt)})}},[ae,ut,ze]),t(_,{...{[x]:""},ref:We,children:ee})});j.displayName=y;function U(){return u(new y7)}ji(U,"useInitCollection");function T(G){let{itemMap:X}=s(e+"CollectionConsumer",G);return X}return ji(T,"useCollection"),[{Provider:l,Slot:v,ItemSlot:j},{createCollectionScope:i,useCollection:T,useInitCollection:U}]}ji($Le,"createCollection");function tae(e,r){if(e===r)return!0;if(typeof e!=="object"||typeof r!=="object")return!1;if(e==null||r==null)return!1;let a=Object.keys(e),i=Object.keys(r);if(a.length!==i.length)return!1;for(let f of a){if(!Object.prototype.hasOwnProperty.call(r,f))return!1;if(e[f]!==r[f])return!1}return!0}ji(tae,"shallowEqual");function rae(e,r){return!!(r.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}ji(rae,"isElementPreceding");function b7(e,r){return!e[1].element||!r[1].element?0:rae(e[1].element,r[1].element)?-1:1}ji(b7,"sortByDocumentPosition");function oae(e){return new MutationObserver((a)=>{for(let i of a)if(i.type==="childList"){e();return}})}ji(oae,"getChildListObserver");S();var eke=Object.defineProperty,tke=(e,r)=>eke(e,"name",{value:r,configurable:!0}),rke=at(void 0);function Hn(e){let r=dt(rke);return e||r||"ltr"}tke(Hn,"useDirection");S();var iae=["top","right","bottom","left"];var{min:fZ,max:su,round:_T,floor:wT}=Math,sZ=(e)=>({x:e,y:e}),oke={left:"right",right:"left",bottom:"top",top:"bottom"};function w7(e,r,a){return su(e,fZ(r,a))}function lZ(e,r){return typeof e==="function"?e(r):e}function im(e){return e.split("-")[0]}function Ez(e){return e.split("-")[1]}function eN(e){return e==="x"?"y":"x"}function tN(e){return e==="y"?"height":"width"}function lu(e){let r=e[0];return r==="t"||r==="b"?"y":"x"}function rN(e){return eN(lu(e))}function fae(e,r,a){if(a===void 0)a=!1;let i=Ez(e),f=rN(e),s=tN(f),l=f==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";if(r.reference[s]>r.floating[s])l=bT(l);return[l,bT(l)]}function sae(e){let r=bT(e);return[$j(e),r,$j(r)]}function $j(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var aae=["left","right"],nae=["right","left"],ake=["top","bottom"],nke=["bottom","top"];function ike(e,r,a){switch(e){case"top":case"bottom":if(a)return r?nae:aae;return r?aae:nae;case"left":case"right":return r?ake:nke;default:return[]}}function lae(e,r,a,i){let f=Ez(e),s=ike(im(e),a==="start",i);if(f){if(s=s.map((l)=>l+"-"+f),r)s=s.concat(s.map($j))}return s}function bT(e){let r=im(e);return oke[r]+e.slice(r.length)}function fke(e){var r,a,i,f;return{top:(r=e.top)!=null?r:0,right:(a=e.right)!=null?a:0,bottom:(i=e.bottom)!=null?i:0,left:(f=e.left)!=null?f:0}}function z7(e){return typeof e!=="number"?fke(e):{top:e,right:e,bottom:e,left:e}}function Dz(e){let{x:r,y:a,width:i,height:f}=e;return{width:i,height:f,top:a,left:r,right:r+i,bottom:a+f,x:r,y:a}}function cae(e,r,a){let{reference:i,floating:f}=e,s=lu(r),l=rN(r),c=tN(l),m=im(r),g=s==="y",M=i.x+i.width/2-f.width/2,v=i.y+i.height/2-f.height/2,y=i[c]/2-f[c]/2,x;switch(m){case"top":x={x:M,y:i.y-f.height};break;case"bottom":x={x:M,y:i.y+i.height};break;case"right":x={x:i.x+i.width,y:v};break;case"left":x={x:i.x-f.width,y:v};break;default:x={x:i.x,y:i.y}}let _=Ez(r);if(_)x[l]+=y*(_==="end"?1:-1)*(a&&g?-1:1);return x}async function Zae(e,r){var a;if(r===void 0)r={};let{x:i,y:f,platform:s,rects:l,elements:c,strategy:m}=e,{boundary:g="clippingAncestors",rootBoundary:M="viewport",elementContext:v="floating",altBoundary:y=!1,padding:x=0}=lZ(r,e),_=z7(x),U=c[y?v==="floating"?"reference":"floating":v],T=Dz(await s.getClippingRect({element:((a=await(s.isElement==null?void 0:s.isElement(U)))!=null?a:!0)?U:U.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:g,rootBoundary:M,strategy:m})),N=v==="floating"?{x:i,y:f,width:l.floating.width,height:l.floating.height}:l.reference,G=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),X=await(s.isElement==null?void 0:s.isElement(G))&&await(s.getScale==null?void 0:s.getScale(G))||{x:1,y:1},J=Dz(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:N,offsetParent:G,strategy:m}):N);return{top:(T.top-J.top+_.top)/X.y,bottom:(J.bottom-T.bottom+_.bottom)/X.y,left:(T.left-J.left+_.left)/X.x,right:(J.right-T.right+_.right)/X.x}}var ske=50,pae=async(e,r,a)=>{let{placement:i="bottom",strategy:f="absolute",middleware:s=[],platform:l}=a,c=l.detectOverflow?l:{...l,detectOverflow:Zae},m=await(l.isRTL==null?void 0:l.isRTL(r)),g=await l.getElementRects({reference:e,floating:r,strategy:f}),{x:M,y:v}=cae(g,i,m),y=i,x=0,_={};for(let j=0;j<s.length;j++){let U=s[j];if(!U)continue;let{name:T,fn:N}=U,{x:G,y:X,data:J,reset:ee}=await N({x:M,y:v,initialPlacement:i,placement:y,strategy:f,middlewareData:_,rects:g,platform:c,elements:{reference:e,floating:r}});if(M=G!=null?G:M,v=X!=null?X:v,_[T]={..._[T],...J},ee&&x<ske){if(x++,typeof ee==="object"){if(ee.placement)y=ee.placement;if(ee.rects)g=ee.rects===!0?await l.getElementRects({reference:e,floating:r,strategy:f}):ee.rects;({x:M,y:v}=cae(g,y,m))}j=-1}}return{x:M,y:v,placement:y,strategy:f,middlewareData:_}},mae=(e)=>({name:"arrow",options:e,async fn(r){let{x:a,y:i,placement:f,rects:s,platform:l,elements:c,middlewareData:m}=r,{element:g,padding:M=0}=lZ(e,r)||{};if(g==null)return{};let v=z7(M),y={x:a,y:i},x=rN(f),_=tN(x),j=await l.getDimensions(g),U=x==="y",T=U?"top":"left",N=U?"bottom":"right",G=U?"clientHeight":"clientWidth",X=s.reference[_]+s.reference[x]-y[x]-s.floating[_],J=y[x]-s.reference[x],ee=await(l.getOffsetParent==null?void 0:l.getOffsetParent(g)),re=ee?ee[G]:0;if(!re||!await(l.isElement==null?void 0:l.isElement(ee)))re=c.floating[G]||s.floating[_];let oe=X/2-J/2,ae=re/2-j[_]/2-1,ye=fZ(v[T],ae),We=fZ(v[N],ae),Ye=re-j[_]-We,ze=re/2-j[_]/2+oe,qe=w7(ye,ze,Ye),ut=!m.arrow&&Ez(f)!=null&&ze!==qe&&s.reference[_]/2-(ze<ye?ye:We)-j[_]/2<0,$e=ut?ze<ye?ze-ye:ze-Ye:0;return{[x]:y[x]+$e,data:{[x]:qe,centerOffset:ze-qe-$e,...ut&&{alignmentOffset:$e}},reset:ut}}});var hae=function(e){if(e===void 0)e={};return{name:"flip",options:e,async fn(r){var a,i;let{placement:f,middlewareData:s,rects:l,initialPlacement:c,platform:m,elements:g}=r,{mainAxis:M=!0,crossAxis:v=!0,fallbackPlacements:y,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:j=!0,...U}=lZ(e,r);if((a=s.arrow)!=null&&a.alignmentOffset)return{};let T=im(f),N=lu(c),G=im(c)===c,X=await(m.isRTL==null?void 0:m.isRTL(g.floating)),J=y||(G||!j?[bT(c)]:sae(c)),ee=_!=="none";if(!y&&ee)J.push(...lae(c,j,_,X));let re=[c,...J],oe=await m.detectOverflow(r,U),ae=[],ye=((i=s.flip)==null?void 0:i.overflows)||[];if(M)ae.push(oe[T]);if(v){let qe=fae(f,l,X);ae.push(oe[qe[0]],oe[qe[1]])}if(ye=[...ye,{placement:f,overflows:ae}],!ae.every((qe)=>qe<=0)){var We,Ye;let qe=(((We=s.flip)==null?void 0:We.index)||0)+1,ut=re[qe];if(ut){if(!(v==="alignment"?N!==lu(ut):!1)||ye.every((Dt)=>lu(Dt.placement)===N?Dt.overflows[0]>0:!0))return{data:{index:qe,overflows:ye},reset:{placement:ut}}}let $e=(Ye=ye.filter((xt)=>xt.overflows[0]<=0).sort((xt,Dt)=>xt.overflows[1]-Dt.overflows[1])[0])==null?void 0:Ye.placement;if(!$e)switch(x){case"bestFit":{var ze;let xt=(ze=ye.filter((Dt)=>{if(ee){let Yt=lu(Dt.placement);return Yt===N||Yt==="y"}return!0}).map((Dt)=>[Dt.placement,Dt.overflows.filter((Yt)=>Yt>0).reduce((Yt,fe)=>Yt+fe,0)]).sort((Dt,Yt)=>Dt[1]-Yt[1])[0])==null?void 0:ze[0];if(xt)$e=xt;break}case"initialPlacement":$e=c;break}if(f!==$e)return{reset:{placement:$e}}}return{}}}};function uae(e,r){return{top:e.top-r.height,right:e.right-r.width,bottom:e.bottom-r.height,left:e.left-r.width}}function dae(e){return iae.some((r)=>e[r]>=0)}var gae=function(e){if(e===void 0)e={};return{name:"hide",options:e,async fn(r){let{rects:a,platform:i}=r,{strategy:f="referenceHidden",...s}=lZ(e,r);switch(f){case"referenceHidden":{let l=await i.detectOverflow(r,{...s,elementContext:"reference"}),c=uae(l,a.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:dae(c)}}}case"escaped":{let l=await i.detectOverflow(r,{...s,altBoundary:!0}),c=uae(l,a.floating);return{data:{escapedOffsets:c,escaped:dae(c)}}}default:return{}}}}};var Mae=new Set(["left","top"]);async function lke(e,r){let{placement:a,platform:i,elements:f}=e,s=await(i.isRTL==null?void 0:i.isRTL(f.floating)),l=im(a),c=Ez(a),m=lu(a)==="y",g=Mae.has(l)?-1:1,M=s&&m?-1:1,v=lZ(r,e),{mainAxis:y,crossAxis:x,alignmentAxis:_}=typeof v==="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};if(c&&typeof _==="number")x=c==="end"?_*-1:_;return m?{x:x*M,y:y*g}:{x:y*g,y:x*M}}var vae=function(e){if(e===void 0)e=0;return{name:"offset",options:e,async fn(r){var a,i;let{x:f,y:s,placement:l,middlewareData:c}=r,m=await lke(r,e);if(l===((a=c.offset)==null?void 0:a.placement)&&(i=c.arrow)!=null&&i.alignmentOffset)return{};return{x:f+m.x,y:s+m.y,data:{...m,placement:l}}}}},xae=function(e){if(e===void 0)e={};return{name:"shift",options:e,async fn(r){let{x:a,y:i,placement:f,platform:s}=r,{mainAxis:l=!0,crossAxis:c=!1,limiter:m={fn:(N)=>{let{x:G,y:X}=N;return{x:G,y:X}}},...g}=lZ(e,r),M={x:a,y:i},v=await s.detectOverflow(r,g),y=lu(f),x=eN(y),_=M[x],j=M[y],U=(N,G)=>w7(G+v[N==="y"?"top":"left"],G,G-v[N==="y"?"bottom":"right"]);if(l)_=U(x,_);if(c)j=U(y,j);let T=m.fn({...r,[x]:_,[y]:j});return{...T,data:{x:T.x-a,y:T.y-i,enabled:{[x]:l,[y]:c}}}}}},yae=function(e){if(e===void 0)e={};return{options:e,fn(r){var a,i;let{x:f,y:s,placement:l,rects:c,middlewareData:m}=r,{offset:g=0,mainAxis:M=!0,crossAxis:v=!0}=lZ(e,r),y={x:f,y:s},x=lu(l),_=eN(x),j=y[_],U=y[x],T=lZ(g,r),N=typeof T==="number"?{mainAxis:T,crossAxis:0}:{mainAxis:(a=T.mainAxis)!=null?a:0,crossAxis:(i=T.crossAxis)!=null?i:0};if(M){let J=_==="y"?"height":"width",ee=c.reference[_]-c.floating[J]+N.mainAxis,re=c.reference[_]+c.reference[J]-N.mainAxis;if(j<ee)j=ee;else if(j>re)j=re}if(v){var G,X;let J=_==="y"?"width":"height",ee=Mae.has(im(l)),re=c.reference[x]-c.floating[J]+(ee?((G=m.offset)==null?void 0:G[x])||0:0)+(ee?0:N.crossAxis),oe=c.reference[x]+c.reference[J]+(ee?0:((X=m.offset)==null?void 0:X[x])||0)-(ee?N.crossAxis:0);if(U<re)U=re;else if(U>oe)U=oe}return{[_]:j,[x]:U}}}},bae=function(e){if(e===void 0)e={};return{name:"size",options:e,async fn(r){let{placement:a,rects:i,platform:f,elements:s}=r,{apply:l=()=>{},...c}=lZ(e,r),m=await f.detectOverflow(r,c),g=im(a),M=Ez(a),v=lu(a)==="y",{width:y,height:x}=i.floating,_,j;if(g==="top"||g==="bottom")_=g,j=M===(await(f.isRTL==null?void 0:f.isRTL(s.floating))?"start":"end")?"left":"right";else j=g,_=M==="end"?"top":"bottom";let U=x-m.top-m.bottom,T=y-m.left-m.right,N=fZ(x-m[_],U),G=fZ(y-m[j],T),X=r.middlewareData.shift,J=!X,ee=N,re=G;if(X!=null&&X.enabled.x)re=T;if(X!=null&&X.enabled.y)ee=U;if(J&&!M)if(v)re=y-2*su(m.left,m.right);else ee=x-2*su(m.top,m.bottom);await l({...r,availableWidth:re,availableHeight:ee});let oe=await f.getDimensions(s.floating);if(y!==oe.width||x!==oe.height)return{reset:{rects:!0}};return{}}}};function oN(){return typeof window<"u"}function Nz(e){if(wae(e))return(e.nodeName||"").toLowerCase();return"#document"}function ls(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function cZ(e){var r;return(r=(wae(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function wae(e){if(!oN())return!1;return e instanceof Node||e instanceof ls(e).Node}function cu(e){if(!oN())return!1;return e instanceof Element||e instanceof ls(e).Element}function fm(e){if(!oN())return!1;return e instanceof HTMLElement||e instanceof ls(e).HTMLElement}function _ae(e){if(!oN()||typeof ShadowRoot>"u")return!1;return e instanceof ShadowRoot||e instanceof ls(e).ShadowRoot}function zT(e){let{overflow:r,overflowX:a,overflowY:i,display:f}=uu(e);return/auto|scroll|overlay|hidden|clip/.test(r+i+a)&&f!=="inline"&&f!=="contents"}function zae(e){return/^(table|td|th)$/.test(Nz(e))}function ST(e){try{if(e.matches(":popover-open"))return!0}catch(r){}try{return e.matches(":modal")}catch(r){return!1}}var cke=/transform|translate|scale|rotate|perspective|filter/,uke=/paint|layout|strict|content/,Oz=(e)=>!!e&&e!=="none",S7;function aN(e){let r=cu(e)?uu(e):e;return Oz(r.transform)||Oz(r.translate)||Oz(r.scale)||Oz(r.rotate)||Oz(r.perspective)||!nN()&&(Oz(r.backdropFilter)||Oz(r.filter))||cke.test(r.willChange||"")||uke.test(r.contain||"")}function Sae(e){let r=l8(e);while(fm(r)&&!ZI(r)){if(aN(r))return r;else if(ST(r))return null;r=l8(r)}return null}function nN(){if(S7==null)S7=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none");return S7}function ZI(e){return/^(html|body|#document)$/.test(Nz(e))}function uu(e){return ls(e).getComputedStyle(e)}function LT(e){if(cu(e))return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop};return{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function l8(e){if(Nz(e)==="html")return e;let r=e.assignedSlot||e.parentNode||_ae(e)&&e.host||cZ(e);return _ae(r)?r.host:r}function Lae(e){let r=l8(e);if(ZI(r))return(e.ownerDocument||e).body;if(fm(r)&&zT(r))return r;return Lae(r)}function jz(e,r,a){var i;if(r===void 0)r=[];if(a===void 0)a=!0;let f=Lae(e),s=f===((i=e.ownerDocument)==null?void 0:i.body),l=ls(f);if(s){let c=iN(l);return r.concat(l,l.visualViewport||[],zT(f)?f:[],c&&a?jz(c):[])}else return r.concat(f,jz(f,[],a))}function iN(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Iae(e){let r=uu(e),a=parseFloat(r.width)||0,i=parseFloat(r.height)||0,f=fm(e),s=f?e.offsetWidth:a,l=f?e.offsetHeight:i,c=_T(a)!==s||_T(i)!==l;if(c)a=s,i=l;return{width:a,height:i,$:c}}function k7(e){return!cu(e)?e.contextElement:e}function MI(e){let r=k7(e);if(!fm(r))return sZ(1);let a=r.getBoundingClientRect(),{width:i,height:f,$:s}=Iae(r),l=(s?_T(a.width):a.width)/i,c=(s?_T(a.height):a.height)/f;if(!l||!Number.isFinite(l))l=1;if(!c||!Number.isFinite(c))c=1;return{x:l,y:c}}var dke=sZ(0);function Rae(e){let r=ls(e);if(!nN()||!r.visualViewport)return dke;return{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function Zke(e,r,a){if(r===void 0)r=!1;return!!a&&r&&a===ls(e)}function Fz(e,r,a,i){if(r===void 0)r=!1;if(a===void 0)a=!1;let f=e.getBoundingClientRect(),s=k7(e),l=sZ(1);if(r)if(i){if(cu(i))l=MI(i)}else l=MI(e);let c=Zke(s,a,i)?Rae(s):sZ(0),m=(f.left+c.x)/l.x,g=(f.top+c.y)/l.y,M=f.width/l.x,v=f.height/l.y;if(s&&i){let y=ls(s),x=cu(i)?ls(i):i,_=y,j=iN(_);while(j&&x!==_){let U=MI(j),T=j.getBoundingClientRect(),N=uu(j),G=T.left+(j.clientLeft+parseFloat(N.paddingLeft))*U.x,X=T.top+(j.clientTop+parseFloat(N.paddingTop))*U.y;m*=U.x,g*=U.y,M*=U.x,v*=U.y,m+=G,g+=X,_=ls(j),j=iN(_)}}return Dz({width:M,height:v,x:m,y:g})}function fN(e,r){let a=LT(e).scrollLeft;if(!r)return Fz(cZ(e)).left+a;return r.left+a}function Pae(e,r){let a=e.getBoundingClientRect(),i=a.left+r.scrollLeft-fN(e,a),f=a.top+r.scrollTop;return{x:i,y:f}}function pke(e){let{elements:r,rect:a,offsetParent:i,strategy:f}=e,s=f==="fixed",l=cZ(i),c=r?ST(r.floating):!1;if(i===l||c&&s)return a;let m={scrollLeft:0,scrollTop:0},g=sZ(1),M=sZ(0),v=fm(i);if(v||!s){if(Nz(i)!=="body"||zT(l))m=LT(i);if(v){let x=Fz(i);g=MI(i),M.x=x.x+i.clientLeft,M.y=x.y+i.clientTop}}let y=l&&!v&&!s?Pae(l,m):sZ(0);return{width:a.width*g.x,height:a.height*g.y,x:a.x*g.x-m.scrollLeft*g.x+M.x+y.x,y:a.y*g.y-m.scrollTop*g.y+M.y+y.y}}function mke(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function hke(e){let r=LT(e),a=e.ownerDocument.body,i=su(e.scrollWidth,e.clientWidth,a.scrollWidth,a.clientWidth),f=su(e.scrollHeight,e.clientHeight,a.scrollHeight,a.clientHeight),s=-r.scrollLeft+fN(e),l=-r.scrollTop;if(uu(a).direction==="rtl")s+=su(e.clientWidth,a.clientWidth)-i;return{width:i,height:f,x:s,y:l}}var gke=25;function Mke(e,r,a){if(a===void 0)a="viewport";let i=a==="layoutViewport",f=ls(e),s=cZ(e),l=f.visualViewport,{clientWidth:c,clientHeight:m}=s,g=0,M=0;if(l){let y=!nN()||r==="fixed";if(i){if(!y)g=-l.offsetLeft,M=-l.offsetTop}else if(c=l.width,m=l.height,y)g=l.offsetLeft,M=l.offsetTop}if(fN(s)<=0){let y=s.ownerDocument,x=y.body,_=getComputedStyle(x),j=y.compatMode==="CSS1Compat"?parseFloat(_.marginLeft)+parseFloat(_.marginRight)||0:0,U=Math.abs(s.clientWidth-x.clientWidth-j),T=getComputedStyle(s).scrollbarGutter==="stable both-edges"?U/2:U;if(T<=gke)c-=T}return{width:c,height:m,x:g,y:M}}function vke(e,r){let a=Fz(e,!0,r==="fixed"),i=a.top+e.clientTop,f=a.left+e.clientLeft,s=MI(e),l=e.clientWidth*s.x,c=e.clientHeight*s.y,m=f*s.x,g=i*s.y;return{width:l,height:c,x:m,y:g}}function kae(e,r,a){let i;if(r==="viewport"||r==="layoutViewport")i=Mke(e,a,r);else if(r==="document")i=hke(cZ(e));else if(cu(r))i=vke(r,a);else{let f=Rae(e);i={x:r.x-f.x,y:r.y-f.y,width:r.width,height:r.height}}return Dz(i)}function xke(e,r){let a=r.get(e);if(a)return a;let i=jz(e,[],!1).filter((c)=>cu(c)&&Nz(c)!=="body"),f=null,s=uu(e).position==="fixed",l=s?l8(e):e;while(cu(l)&&!ZI(l)){let c=uu(l),m=aN(l),g=f?f.position:s?"fixed":"";if(!m&&(g==="fixed"||g==="absolute"&&c.position==="static"))i=i.filter((v)=>v!==l);else f=c;l=l8(l)}return r.set(e,i),i}function yke(e){let{element:r,boundary:a,rootBoundary:i,strategy:f}=e,l=[...a==="clippingAncestors"?ST(r)?[]:xke(r,this._c):[].concat(a),i],c=kae(r,l[0],f),{top:m,right:g,bottom:M,left:v}=c;for(let y=1;y<l.length;y++){let x=kae(r,l[y],f);m=su(x.top,m),g=fZ(x.right,g),M=fZ(x.bottom,M),v=su(x.left,v)}return{width:g-v,height:M-m,x:v,y:m}}function bke(e){let{width:r,height:a}=Iae(e);return{width:r,height:a}}function _ke(e,r,a){let i=fm(r),f=cZ(r),s=a==="fixed",l=Fz(e,!0,s,r),c={scrollLeft:0,scrollTop:0},m=sZ(0);if(i||!s){if(Nz(r)!=="body"||zT(f))c=LT(r);if(i){let y=Fz(r,!0,s,r);m.x=y.x+r.clientLeft,m.y=y.y+r.clientTop}}if(!i&&f)m.x=fN(f);let g=f&&!i&&!s?Pae(f,c):sZ(0),M=l.left+c.scrollLeft-m.x-g.x,v=l.top+c.scrollTop-m.y-g.y;return{x:M,y:v,width:l.width,height:l.height}}function L7(e){return uu(e).position==="static"}function Cae(e,r){if(!fm(e)||uu(e).position==="fixed")return null;if(r)return r(e);let a=e.offsetParent;if(cZ(e)===a)a=a.ownerDocument.body;return a}function Tae(e,r){let a=ls(e);if(ST(e))return a;if(!fm(e)){let f=l8(e);while(f&&!ZI(f)){if(cu(f)&&!L7(f))return f;f=l8(f)}return a}let i=Cae(e,r);while(i&&zae(i)&&L7(i))i=Cae(i,r);if(i&&ZI(i)&&L7(i)&&!aN(i))return a;return i||Sae(e)||a}var wke=async function(e){let r=this.getOffsetParent||Tae,a=this.getDimensions,i=await a(e.floating);return{reference:_ke(e.reference,await r(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function zke(e){return uu(e).direction==="rtl"}var Aae={convertOffsetParentRelativeRectToViewportRelativeRect:pke,getDocumentElement:cZ,getClippingRect:yke,getOffsetParent:Tae,getElementRects:wke,getClientRects:mke,getDimensions:bke,getScale:MI,isElement:cu,isRTL:zke};function Eae(e,r){return e.x===r.x&&e.y===r.y&&e.width===r.width&&e.height===r.height}function Ske(e,r,a){let i=null,f,s=cZ(e);function l(){var M;clearTimeout(f),(M=i)==null||M.disconnect(),i=null}function c(M,v){if(M===void 0)M=!1;if(v===void 0)v=1;l();let y=e.getBoundingClientRect(),{left:x,top:_,width:j,height:U}=y;if(!M)r();if(!j||!U)return;let T=wT(_),N=wT(s.clientWidth-(x+j)),G=wT(s.clientHeight-(_+U)),X=wT(x),ee={rootMargin:-T+"px "+-N+"px "+-G+"px "+-X+"px",threshold:su(0,fZ(1,v))||1},re=!0;function oe(ae){let ye=ae[0].intersectionRatio;if(!Eae(y,e.getBoundingClientRect()))return c();if(ye!==v){if(!re)return c();if(!ye)f=setTimeout(()=>{c(!1,0.0000001)},1000);else c(!1,ye)}re=!1}try{i=new IntersectionObserver(oe,{...ee,root:s.ownerDocument})}catch(ae){i=new IntersectionObserver(oe,ee)}i.observe(e)}let m=ls(e),g=()=>c(a);return m.addEventListener("resize",g),c(!0),()=>{m.removeEventListener("resize",g),l()}}function C7(e,r,a,i){if(i===void 0)i={};let{ancestorScroll:f=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver==="function",layoutShift:c=typeof IntersectionObserver==="function",animationFrame:m=!1}=i,g=k7(e),M=f||s?[...g?jz(g):[],...r?jz(r):[]]:[];M.forEach((T)=>{f&&T.addEventListener("scroll",a),s&&T.addEventListener("resize",a)});let v=g&&c?Ske(g,a,s):null,y=-1,x=null;if(l){if(x=new ResizeObserver((T)=>{let[N]=T;if(N&&N.target===g&&x&&r)x.unobserve(r),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var G;(G=x)==null||G.observe(r)});a()}),g&&!m)x.observe(g);if(r)x.observe(r)}let _,j=m?Fz(e):null;if(m)U();function U(){let T=Fz(e);if(j&&!Eae(j,T))a();j=T,_=requestAnimationFrame(U)}return a(),()=>{var T;if(M.forEach((N)=>{f&&N.removeEventListener("scroll",a),s&&N.removeEventListener("resize",a)}),v==null||v(),(T=x)==null||T.disconnect(),x=null,m)cancelAnimationFrame(_)}}var Dae=vae;var Oae=xae,jae=hae,Nae=bae,Fae=gae,I7=mae;var Bae=yae,R7=(e,r,a)=>{let i=new Map,f=a!=null?a:{},s={...Aae,...f.platform,_c:i};return pae(e,r,{...f,platform:s})};S();S();var Lke=typeof document<"u",kke=function(){},sN=Lke?He:kke;function lN(e,r){if(e===r)return!0;if(typeof e!==typeof r)return!1;if(typeof e==="function"&&e.toString()===r.toString())return!0;let a,i,f;if(e&&r&&typeof e==="object"){if(Array.isArray(e)){if(a=e.length,a!==r.length)return!1;for(i=a;i--!==0;)if(!lN(e[i],r[i]))return!1;return!0}if(f=Object.keys(e),a=f.length,a!==Object.keys(r).length)return!1;for(i=a;i--!==0;)if(!{}.hasOwnProperty.call(r,f[i]))return!1;for(i=a;i--!==0;){let s=f[i];if(s==="_owner"&&e.$$typeof)continue;if(!lN(e[s],r[s]))return!1}return!0}return e!==e&&r!==r}function Uae(e){if(typeof window>"u")return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Yae(e,r){let a=Uae(e);return Math.round(r*a)/a}function P7(e){let r=b(e);return sN(()=>{r.current=e}),r}function qae(e){if(e===void 0)e={};let{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:f,elements:{reference:s,floating:l}={},transform:c=!0,whileElementsMounted:m,open:g}=e,[M,v]=u({x:0,y:0,strategy:a,placement:r,middlewareData:{},isPositioned:!1}),[y,x]=u(i);if(!lN(y,i))x(i);let[_,j]=u(null),[U,T]=u(null),N=P((Dt)=>{if(Dt!==ee.current)ee.current=Dt,j(Dt)},[]),G=P((Dt)=>{if(Dt!==re.current)re.current=Dt,T(Dt)},[]),X=s||_,J=l||U,ee=b(null),re=b(null),oe=b(M),ae=m!=null,ye=P7(m),We=P7(f),Ye=P7(g),ze=P(()=>{if(!ee.current||!re.current)return;let Dt={placement:r,strategy:a,middleware:y};if(We.current)Dt.platform=We.current;R7(ee.current,re.current,Dt).then((Yt)=>{let fe={...Yt,isPositioned:Ye.current!==!1};if(qe.current&&!lN(oe.current,fe))oe.current=fe,tn(()=>{v(fe)})})},[y,r,a,We,Ye]);sN(()=>{if(g===!1&&oe.current.isPositioned)oe.current.isPositioned=!1,v((Dt)=>({...Dt,isPositioned:!1}))},[g]);let qe=b(!1);sN(()=>(qe.current=!0,()=>{qe.current=!1}),[]),sN(()=>{if(X)ee.current=X;if(J)re.current=J;if(X&&J){if(ye.current)return ye.current(X,J,ze);ze()}},[X,J,ze,ye,ae]);let ut=D(()=>({reference:ee,floating:re,setReference:N,setFloating:G}),[N,G]),$e=D(()=>({reference:X,floating:J}),[X,J]),xt=D(()=>{let Dt={position:a,left:0,top:0};if(!$e.floating)return Dt;let Yt=Yae($e.floating,M.x),fe=Yae($e.floating,M.y);if(c)return{...Dt,transform:"translate("+Yt+"px, "+fe+"px)",...Uae($e.floating)>=1.5&&{willChange:"transform"}};return{position:a,left:Yt,top:fe}},[a,c,$e.floating,M.x,M.y]);return D(()=>({...M,update:ze,refs:ut,elements:$e,floatingStyles:xt}),[M,ze,ut,$e,xt])}var Cke=(e)=>{function r(a){return{}.hasOwnProperty.call(a,"current")}return{name:"arrow",options:e,fn(a){let{element:i,padding:f}=typeof e==="function"?e(a):e;if(i&&r(i)){if(i.current!=null)return I7({element:i.current,padding:f}).fn(a);return{}}if(i)return I7({element:i,padding:f}).fn(a);return{}}}},Vae=(e,r)=>{let a=Dae(e);return{name:a.name,fn:a.fn,options:[e,r]}},Hae=(e,r)=>{let a=Oae(e);return{name:a.name,fn:a.fn,options:[e,r]}},Wae=(e,r)=>({fn:Bae(e).fn,options:[e,r]}),Gae=(e,r)=>{let a=jae(e);return{name:a.name,fn:a.fn,options:[e,r]}},Kae=(e,r)=>{let a=Nae(e);return{name:a.name,fn:a.fn,options:[e,r]}};var Xae=(e,r)=>{let a=Fae(e);return{name:a.name,fn:a.fn,options:[e,r]}};var Qae=(e,r)=>{let a=Cke(e);return{name:a.name,fn:a.fn,options:[e,r]}};S();var Ike=Object.defineProperty,Rke=(e,r)=>Ike(e,"name",{value:r,configurable:!0}),Pke=O(Rke(function(r,a){let{children:i,width:f=10,height:s=5,...l}=r;return t(se.svg,{...l,ref:a,width:f,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:r.asChild?i:t("polygon",{points:"0,0 30,0 15,10"})})},"Arrow")),Jae=Pke;var Ake=Object.defineProperty,sm=(e,r)=>Ake(e,"name",{value:r,configurable:!0});var $ae="Popper",[ene,gc]=pt($ae),[Eke,tne]=ene($ae),Dke=sm((e)=>{let{__scopePopper:r,children:a}=e,[i,f]=u(null),[s,l]=u(void 0);return t(Eke,{scope:r,anchor:i,onAnchorChange:f,placementState:s,setPlacementState:l,children:a})},"Popper"),Oke="PopperAnchor",jke=O(sm(function(r,a){let{__scopePopper:i,virtualRef:f,...s}=r,l=tne(Oke,i),c=b(null),m=l.onAnchorChange,g=P((j)=>{if(c.current=j,j)m(j)},[m]),M=_e(a,g),v=b(null);h(()=>{if(!f)return;let j=v.current;if(v.current=f.current,j!==v.current)m(v.current)});let y=l.placementState&&cN(l.placementState),x=y?.[0],_=y?.[1];return f?null:t(se.div,{"data-radix-popper-side":x,"data-radix-popper-align":_,...s,ref:M})},"PopperAnchor")),rne="PopperContent",[Nke,Fke]=ene(rne),Bke=O(sm(function(r,a){let{__scopePopper:i,side:f="bottom",sideOffset:s=0,align:l="center",alignOffset:c=0,arrowPadding:m=0,avoidCollisions:g=!0,collisionBoundary:M=[],collisionPadding:v=0,sticky:y="partial",hideWhenDetached:x=!1,updatePositionStrategy:_="optimized",onPlaced:j,...U}=r,T=tne(rne,i),[N,G]=u(null),X=_e(a,G),[J,ee]=u(null),re=ca(J),oe=re?.width??0,ae=re?.height??0,ye=f+(l!=="center"?"-"+l:""),We=typeof v==="number"?v:{top:0,right:0,bottom:0,left:0,...v},Ye=Array.isArray(M)?M:[M],ze=Ye.length>0,qe={padding:We,boundary:Ye.filter(one),altBoundary:ze},{refs:ut,floatingStyles:$e,placement:xt,isPositioned:Dt,middlewareData:Yt}=qae({strategy:"fixed",placement:ye,whileElementsMounted:sm((...Kt)=>C7(...Kt,{animationFrame:_==="always"}),"whileElementsMounted"),elements:{reference:T.anchor},middleware:[Vae({mainAxis:s+ae,alignmentAxis:c}),g&&Hae({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?Wae():void 0,...qe}),g&&Gae({...qe}),Kae({...qe,apply:sm(({elements:Kt,rects:ur,availableWidth:Ir,availableHeight:Er})=>{let{width:dr,height:mo}=ur.reference,or=Kt.floating.style;or.setProperty("--radix-popper-available-width",`${Ir}px`),or.setProperty("--radix-popper-available-height",`${Er}px`),or.setProperty("--radix-popper-anchor-width",`${dr}px`),or.setProperty("--radix-popper-anchor-height",`${mo}px`)},"apply")}),J&&Qae({element:J,padding:m}),Vke({arrowWidth:oe,arrowHeight:ae}),x&&Xae({strategy:"referenceHidden",...qe,boundary:ze?qe.boundary:void 0})]}),fe=T.setPlacementState;It(()=>(fe(xt),()=>{fe(void 0)}),[xt,fe]);let[yt,Wt]=cN(xt),Ee=Xo(j);It(()=>{if(Dt)Ee?.()},[Dt,Ee]);let lr=Yt.arrow?.x,sr=Yt.arrow?.y,Jt=Yt.arrow?.centerOffset!==0,[Or,Gt]=u();return It(()=>{if(N)Gt(window.getComputedStyle(N).zIndex)},[N]),t("div",{ref:ut.setFloating,"data-radix-popper-content-wrapper":"",style:{...$e,transform:Dt?$e.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Or,"--radix-popper-transform-origin":[Yt.transformOrigin?.x,Yt.transformOrigin?.y].join(" "),...Yt.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:r.dir,children:t(Nke,{scope:i,placedSide:yt,placedAlign:Wt,onArrowChange:ee,arrowX:lr,arrowY:sr,shouldHideArrow:Jt,children:t(se.div,{"data-side":yt,"data-align":Wt,...U,ref:X,style:{...U.style,animation:!Dt?"none":U.style?.animation}})})})},"PopperContent")),Yke="PopperArrow",Uke={top:"bottom",right:"left",bottom:"top",left:"right"},qke=O(sm(function(r,a){let{__scopePopper:i,...f}=r,s=Fke(Yke,i),l=Uke[s.placedSide];return t("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:t(Jae,{...f,ref:a,style:{...f.style,display:"block"}})})},"PopperArrow"));function one(e){return e!==null}sm(one,"isNotNull");var Vke=sm((e)=>({name:"transformOrigin",options:e,fn(r){let{placement:a,rects:i,middlewareData:f}=r,l=f.arrow?.centerOffset!==0,c=l?0:e.arrowWidth,m=l?0:e.arrowHeight,[g,M]=cN(a),v={start:"0%",center:"50%",end:"100%"}[M],y=(f.arrow?.x??0)+c/2,x=(f.arrow?.y??0)+m/2,_="",j="";if(g==="bottom")_=l?v:`${y}px`,j=`${-m}px`;else if(g==="top")_=l?v:`${y}px`,j=`${i.floating.height+m}px`;else if(g==="right")_=`${-m}px`,j=l?v:`${x}px`;else if(g==="left")_=`${i.floating.width+m}px`,j=l?v:`${x}px`;return{data:{x:_,y:j}}}}),"transformOrigin");function cN(e){let[r,a="center"]=e.split("-");return[r,a]}sm(cN,"getSideAndAlignFromPlacement");var lm=Dke,c8=jke,u8=Bke,kT=qke;S();S();S();var Hke=Object.defineProperty,A7=(e,r)=>Hke(e,"name",{value:r,configurable:!0}),T7=!1;function ane(){let[e,r]=u(T7);return h(()=>{if(!T7)T7=!0,r(!0)},[]),e}A7(ane,"useIsHydrated");var nne=V[" useSyncExternalStore ".trim().toString()];function ine(){return()=>{}}A7(ine,"subscribe");function fne(){return nne(ine,()=>!0,()=>!1)}A7(fne,"useIsHydratedModern");var sne=typeof nne==="function"?fne:ane;var Wke=Object.defineProperty,Bz=(e,r)=>Wke(e,"name",{value:r,configurable:!0}),E7="rovingFocusGroup.onEntryFocus",Gke={bubbles:!1,cancelable:!0},dN="RovingFocusGroup",[D7,lne,Kke]=ua(dN),[Xke,da]=pt(dN,[Kke]),[Qke,Jke]=Xke(dN),$ke=O(Bz(function(r,a){return t(D7.Provider,{scope:r.__scopeRovingFocusGroup,children:t(D7.Slot,{scope:r.__scopeRovingFocusGroup,children:t(e1e,{...r,ref:a})})})},"RovingFocusGroup")),e1e=O(Bz(function(r,a){let{__scopeRovingFocusGroup:i,orientation:f,loop:s=!1,dir:l,currentTabStopId:c,defaultCurrentTabStopId:m,onCurrentTabStopIdChange:g,onEntryFocus:M,preventScrollOnEntryFocus:v=!1,...y}=r,x=b(null),_=_e(a,x),j=Hn(l),[U,T]=Ft({prop:c,defaultProp:m??null,onChange:g,caller:dN}),[N,G]=u(!1),X=Xo(M),J=lne(i),ee=b(!1),[re,oe]=u(0);return h(()=>{let ae=x.current;if(ae)return ae.addEventListener(E7,X),()=>ae.removeEventListener(E7,X)},[X]),t(Qke,{scope:i,orientation:f,dir:j,loop:s,currentTabStopId:U,onItemFocus:P((ae)=>T(ae),[T]),onItemShiftTab:P(()=>G(!0),[]),onFocusableItemAdd:P(()=>oe((ae)=>ae+1),[]),onFocusableItemRemove:P(()=>oe((ae)=>ae-1),[]),children:t(se.div,{tabIndex:N||re===0?-1:0,"data-orientation":f,...y,ref:_,style:{outline:"none",...r.style},onMouseDown:Y(r.onMouseDown,()=>{ee.current=!0}),onFocus:Y(r.onFocus,(ae)=>{let ye=!ee.current;if(ae.target===ae.currentTarget&&ye&&!N){let We=new CustomEvent(E7,Gke);if(ae.currentTarget.dispatchEvent(We),!We.defaultPrevented){let Ye=J().filter((xt)=>xt.focusable),ze=Ye.find((xt)=>xt.active),qe=Ye.find((xt)=>xt.id===U),$e=[ze,qe,...Ye].filter(Boolean).map((xt)=>xt.ref.current);O7($e,v)}}ee.current=!1}),onBlur:Y(r.onBlur,()=>G(!1))})})},"RovingFocusGroupImpl")),t1e="RovingFocusGroupItem",r1e=O(Bz(function(r,a){let{__scopeRovingFocusGroup:i,focusable:f=!0,active:s=!1,tabStopId:l,children:c,...m}=r,g=xr(),M=l||g,v=Jke(t1e,i),y=v.currentTabStopId===M,x=lne(i),{onFocusableItemAdd:_,onFocusableItemRemove:j,currentTabStopId:U}=v,T=sne();return It(()=>{if(!T||!f)return;return _(),()=>j()},[T,f,_,j]),h(()=>{if(T||!f)return;return _(),()=>j()},[T,f,_,j]),t(D7.ItemSlot,{scope:i,id:M,focusable:f,active:s,children:t(se.span,{tabIndex:y?0:-1,"data-orientation":v.orientation,...m,ref:a,onMouseDown:Y(r.onMouseDown,(N)=>{if(!f)N.preventDefault();else v.onItemFocus(M)}),onFocus:Y(r.onFocus,()=>v.onItemFocus(M)),onKeyDown:Y(r.onKeyDown,(N)=>{if(N.key==="Tab"&&N.shiftKey){v.onItemShiftTab();return}if(N.target!==N.currentTarget)return;let G=une(N,v.orientation,v.dir);if(G!==void 0){if(N.metaKey||N.ctrlKey||N.altKey||N.shiftKey)return;N.preventDefault();let J=x().filter((ee)=>ee.focusable).map((ee)=>ee.ref.current);if(G==="last")J.reverse();else if(G==="prev"||G==="next"){if(G==="prev")J.reverse();let ee=J.indexOf(N.currentTarget);J=v.loop?dne(J,ee+1):J.slice(ee+1)}setTimeout(()=>O7(J))}}),children:typeof c==="function"?c({isCurrentTabStop:y,hasTabStop:U!=null}):c})})},"RovingFocusGroupItem")),o1e={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function cne(e,r){if(r!=="rtl")return e;return e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}Bz(cne,"getDirectionAwareKey");function une(e,r,a){let i=cne(e.key,a);if(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(i))return;if(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(i))return;return o1e[i]}Bz(une,"getFocusIntent");function O7(e,r=!1){let a=document.activeElement;for(let i of e){if(i===a)return;if(i.focus({preventScroll:r}),document.activeElement!==a)return}}Bz(O7,"focusFirst");function dne(e,r){return e.map((a,i)=>e[(r+i)%e.length])}Bz(dne,"wrapArray");var fl=$ke,pl=r1e;var a1e=Object.defineProperty,Io=(e,r)=>a1e(e,"name",{value:r,configurable:!0}),j7=["Enter"," "],n1e=["ArrowDown","PageUp","Home"],mne=["ArrowUp","PageDown","End"],i1e=[...n1e,...mne],f1e={ltr:[...j7,"ArrowRight"],rtl:[...j7,"ArrowLeft"]},s1e={ltr:["ArrowLeft"],rtl:["ArrowRight"]},pN="Menu",[CT,l1e,c1e]=ua(pN),[Yz,ml]=pt(pN,[c1e,gc,da]),mN=gc(),hne=da(),[gne,d8]=Yz(pN),[u1e,IT]=Yz(pN),d1e=Io((e)=>{let{__scopeMenu:r,open:a=!1,children:i,dir:f,onOpenChange:s,modal:l=!0}=e,c=mN(r),[m,g]=u(null),M=b(!1),v=Xo(s),y=Hn(f);return h(()=>{let x=Io(()=>{M.current=!0,document.addEventListener("pointerdown",_,{capture:!0,once:!0}),document.addEventListener("pointermove",_,{capture:!0,once:!0})},"handleKeyDown"),_=Io(()=>M.current=!1,"handlePointer");return document.addEventListener("keydown",x,{capture:!0}),()=>{document.removeEventListener("keydown",x,{capture:!0}),document.removeEventListener("pointerdown",_,{capture:!0}),document.removeEventListener("pointermove",_,{capture:!0})}},[]),h(()=>{if(!a)return;let x=Io(()=>v(!1),"handleBlur");return window.addEventListener("blur",x),()=>window.removeEventListener("blur",x)},[a,v]),t(lm,{...c,children:t(gne,{scope:r,open:a,onOpenChange:v,content:m,onContentChange:g,children:t(u1e,{scope:r,onClose:P(()=>v(!1),[v]),isUsingKeyboardRef:M,dir:y,modal:l,children:i})})})},"Menu"),Mne=O(Io(function(r,a){let{__scopeMenu:i,...f}=r,s=mN(i);return t(c8,{...s,...f,ref:a})},"MenuAnchor")),vne="MenuPortal",[Z1e,xne]=Yz(vne,{forceMount:void 0}),p1e=Io((e)=>{let{__scopeMenu:r,forceMount:a,children:i,container:f}=e,s=d8(vne,r);return t(Z1e,{scope:r,forceMount:a,children:t(ar,{present:a||s.open,children:t(nZ,{asChild:!0,container:f,children:i})})})},"MenuPortal"),du="MenuContent",[m1e,F7]=Yz(du),h1e=O(Io(function(r,a){let i=xne(du,r.__scopeMenu),{forceMount:f=i.forceMount,...s}=r,l=d8(du,r.__scopeMenu),c=IT(du,r.__scopeMenu);return t(CT.Provider,{scope:r.__scopeMenu,children:t(ar,{present:f||l.open,children:t(CT.Slot,{scope:r.__scopeMenu,children:c.modal?t(g1e,{...s,ref:a}):t(M1e,{...s,ref:a})})})})},"MenuContent")),g1e=O(Io(function(r,a){let i=d8(du,r.__scopeMenu),f=b(null),s=_e(a,f);return h(()=>{let l=f.current;if(l)return s8(l)},[]),t(B7,{...r,ref:s,trapFocus:i.open,disableOutsidePointerEvents:i.open,disableOutsideScroll:!0,onFocusOutside:Y(r.onFocusOutside,(l)=>l.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>i.onOpenChange(!1)})},"MenuRootContentModal")),M1e=O(Io(function(r,a){let i=d8(du,r.__scopeMenu);return t(B7,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>i.onOpenChange(!1)})},"MenuRootContentNonModal")),v1e=zi("MenuContent.ScrollLock"),B7=O(Io(function(r,a){let{__scopeMenu:i,loop:f=!1,trapFocus:s,onOpenAutoFocus:l,onCloseAutoFocus:c,disableOutsidePointerEvents:m,onEntryFocus:g,onEscapeKeyDown:M,onPointerDownOutside:v,onFocusOutside:y,onInteractOutside:x,onDismiss:_,disableOutsideScroll:j,...U}=r,T=d8(du,i),N=IT(du,i),G=mN(i),X=hne(i),J=l1e(i),[ee,re]=u(null),oe=b(null),ae=_e(a,oe,T.onContentChange),ye=b(0),We=b(""),Ye=b(0),ze=b(null),qe=b("right"),ut=b(0),$e=j?$Z:Cn,xt=j?{as:v1e,allowPinchZoom:!0}:void 0,Dt=Io((fe)=>{let yt=We.current+fe,Wt=J().filter((Gt)=>!Gt.disabled),Ee=document.activeElement,lr=Wt.find((Gt)=>Gt.ref.current===Ee)?.textValue,sr=Wt.map((Gt)=>Gt.textValue),Jt=kne(sr,yt,lr),Or=Wt.find((Gt)=>Gt.textValue===Jt)?.ref.current;if(Io(function Gt(Kt){if(We.current=Kt,window.clearTimeout(ye.current),Kt!=="")ye.current=window.setTimeout(()=>Gt(""),1000)},"updateSearch")(yt),Or)setTimeout(()=>Or.focus())},"handleTypeaheadSearch");h(()=>()=>window.clearTimeout(ye.current),[]),iZ();let Yt=P((fe)=>qe.current===ze.current?.side&&Ine(fe,ze.current?.area),[]);return t(m1e,{scope:i,searchRef:We,onItemEnter:P((fe)=>{if(Yt(fe))fe.preventDefault()},[Yt]),onItemLeave:P((fe)=>{if(Yt(fe))return;oe.current?.focus(),re(null)},[Yt]),onTriggerLeave:P((fe)=>{if(Yt(fe))fe.preventDefault()},[Yt]),pointerGraceTimerRef:Ye,onPointerGraceIntentChange:P((fe)=>{ze.current=fe},[]),children:t($e,{...xt,children:t(f8,{asChild:!0,trapped:s,onMountAutoFocus:Y(l,(fe)=>{fe.preventDefault(),oe.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:t(aZ,{asChild:!0,disableOutsidePointerEvents:m,onEscapeKeyDown:M,onPointerDownOutside:v,onFocusOutside:y,onInteractOutside:x,onDismiss:_,children:t(fl,{asChild:!0,...X,dir:N.dir,orientation:"vertical",loop:f,currentTabStopId:ee,onCurrentTabStopIdChange:re,onEntryFocus:Y(g,(fe)=>{if(!N.isUsingKeyboardRef.current)fe.preventDefault()}),preventScrollOnEntryFocus:!0,children:t(u8,{role:"menu","aria-orientation":"vertical","data-state":Y7(T.open),"data-radix-menu-content":"",dir:N.dir,...G,...U,ref:ae,style:{outline:"none",...U.style},onKeyDown:Y(U.onKeyDown,(fe)=>{let Wt=fe.target.closest("[data-radix-menu-content]")===fe.currentTarget,Ee=fe.ctrlKey||fe.altKey||fe.metaKey,lr=fe.key.length===1;if(Wt){if(fe.key==="Tab")fe.preventDefault();if(!Ee&&lr)Dt(fe.key)}let sr=oe.current;if(fe.target!==sr)return;if(!i1e.includes(fe.key))return;fe.preventDefault();let Or=J().filter((Gt)=>!Gt.disabled).map((Gt)=>Gt.ref.current);if(mne.includes(fe.key))Or.reverse();Sne(Or)}),onBlur:Y(r.onBlur,(fe)=>{if(!fe.currentTarget.contains(fe.target))window.clearTimeout(ye.current),We.current=""}),onPointerMove:Y(r.onPointerMove,vI((fe)=>{let yt=fe.target,Wt=ut.current!==fe.clientX;if(fe.currentTarget.contains(yt)&&Wt){let Ee=fe.clientX>ut.current?"right":"left";qe.current=Ee,ut.current=fe.clientX}}))})})})})})})},"MenuContentImpl")),x1e=O(Io(function(r,a){let{__scopeMenu:i,...f}=r;return t(se.div,{role:"group",...f,ref:a})},"MenuGroup")),y1e=O(Io(function(r,a){let{__scopeMenu:i,...f}=r;return t(se.div,{...f,ref:a})},"MenuLabel")),N7="MenuItem",pne="menu.itemSelect",yne=O(Io(function(r,a){let{disabled:i=!1,onSelect:f,...s}=r,l=b(null),c=IT(N7,r.__scopeMenu),m=F7(N7,r.__scopeMenu),g=_e(a,l),M=b(!1),v=Io(()=>{let y=l.current;if(!i&&y){let x=new CustomEvent(pne,{bubbles:!0,cancelable:!0});if(y.addEventListener(pne,(_)=>f?.(_),{once:!0}),gT(y,x),x.defaultPrevented)M.current=!1;else c.onClose()}},"handleSelect");return t(bne,{...s,ref:g,disabled:i,onClick:Y(r.onClick,v),onPointerDown:(y)=>{r.onPointerDown?.(y),M.current=!0},onPointerUp:Y(r.onPointerUp,(y)=>{if(!M.current)y.currentTarget?.click()}),onKeyDown:Y(r.onKeyDown,(y)=>{if(i||y.target!==y.currentTarget)return;if(m.searchRef.current!==""&&y.key===" ")return;if(j7.includes(y.key))y.currentTarget.click(),y.preventDefault()})})},"MenuItem")),bne=O(Io(function(r,a){let{__scopeMenu:i,disabled:f=!1,textValue:s,...l}=r,c=F7(N7,i),m=hne(i),g=b(null),M=_e(a,g),[v,y]=u(!1),[x,_]=u("");return h(()=>{let j=g.current;if(j)_((j.textContent??"").trim())},[l.children]),t(CT.ItemSlot,{scope:i,disabled:f,textValue:s??x,children:t(pl,{asChild:!0,...m,focusable:!f,children:t(se.div,{role:"menuitem","data-highlighted":v?"":void 0,"aria-disabled":f||void 0,"data-disabled":f?"":void 0,...l,ref:M,onPointerMove:Y(r.onPointerMove,vI((j)=>{if(f)c.onItemLeave(j);else if(c.onItemEnter(j),!j.defaultPrevented)j.currentTarget.focus({preventScroll:!0})})),onPointerLeave:Y(r.onPointerLeave,vI((j)=>c.onItemLeave(j))),onFocus:Y(r.onFocus,()=>y(!0)),onBlur:Y(r.onBlur,()=>y(!1))})})})},"MenuItemImpl"));var b1e="MenuRadioGroup",[_1e,w1e]=Yz(b1e,{value:void 0,onValueChange:Io(()=>{},"onValueChange")}),z1e=O(Io(function(r,a){let{value:i,onValueChange:f,...s}=r,l=Xo(f);return t(_1e,{scope:r.__scopeMenu,value:i,onValueChange:l,children:t(x1e,{...s,ref:a})})},"MenuRadioGroup")),S1e="MenuRadioItem",L1e=O(Io(function(r,a){let{value:i,...f}=r,s=w1e(S1e,r.__scopeMenu),l=i===s.value;return t(k1e,{scope:r.__scopeMenu,checked:l,children:t(yne,{role:"menuitemradio","aria-checked":l,...f,ref:a,"data-state":q7(l),onSelect:Y(f.onSelect,()=>s.onValueChange?.(i),{checkForDefaultPrevented:!1})})})},"MenuRadioItem")),_ne="MenuItemIndicator",[k1e,C1e]=Yz(_ne,{checked:!1}),I1e=O(Io(function(r,a){let{__scopeMenu:i,forceMount:f,...s}=r,l=C1e(_ne,i);return t(ar,{present:f||U7(l.checked)||l.checked===!0,children:t(se.span,{...s,ref:a,"data-state":q7(l.checked)})})},"MenuItemIndicator")),R1e=O(Io(function(r,a){let{__scopeMenu:i,...f}=r;return t(se.div,{role:"separator","aria-orientation":"horizontal",...f,ref:a})},"MenuSeparator"));var wne="MenuSub",[P1e,zne]=Yz(wne),T1e=Io((e)=>{let{__scopeMenu:r,children:a,open:i=!1,onOpenChange:f}=e,s=d8(wne,r),l=mN(r),[c,m]=u(null),[g,M]=u(null),v=Xo(f);return h(()=>{if(s.open===!1)v(!1);return()=>v(!1)},[s.open,v]),t(lm,{...l,children:t(gne,{scope:r,open:i,onOpenChange:v,content:g,onContentChange:M,children:t(P1e,{scope:r,contentId:xr(),triggerId:xr(),trigger:c,onTriggerChange:m,children:a})})})},"MenuSub"),ZN="MenuSubTrigger",A1e=O(Io(function(r,a){let i=d8(ZN,r.__scopeMenu),f=IT(ZN,r.__scopeMenu),s=zne(ZN,r.__scopeMenu),l=F7(ZN,r.__scopeMenu),c=b(null),{pointerGraceTimerRef:m,onPointerGraceIntentChange:g}=l,M={__scopeMenu:r.__scopeMenu},v=P(()=>{if(c.current)window.clearTimeout(c.current);c.current=null},[]);h(()=>v,[v]),h(()=>{let x=m.current;return()=>{window.clearTimeout(x),g(null)}},[m,g]);let y=_e(a,s.onTriggerChange);return t(Mne,{asChild:!0,...M,children:t(bne,{id:s.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?s.contentId:void 0,"data-state":Y7(i.open),...r,ref:y,onClick:(x)=>{if(r.onClick?.(x),r.disabled||x.defaultPrevented)return;if(x.currentTarget.focus(),!i.open)i.onOpenChange(!0)},onPointerMove:Y(r.onPointerMove,vI((x)=>{if(l.onItemEnter(x),x.defaultPrevented)return;if(!r.disabled&&!i.open&&!c.current)l.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{i.onOpenChange(!0),v()},100)})),onPointerLeave:Y(r.onPointerLeave,vI((x)=>{v();let _=i.content?.getBoundingClientRect();if(_){let j=i.content?.dataset.side,U=j==="right",T=U?-5:5,N=_[U?"left":"right"],G=_[U?"right":"left"];l.onPointerGraceIntentChange({area:[{x:x.clientX+T,y:x.clientY},{x:N,y:_.top},{x:G,y:_.top},{x:G,y:_.bottom},{x:N,y:_.bottom}],side:j}),window.clearTimeout(m.current),m.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(x),x.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:Y(r.onKeyDown,(x)=>{if(r.disabled||x.target!==x.currentTarget)return;if(l.searchRef.current!==""&&x.key===" ")return;if(f1e[f.dir].includes(x.key))i.onOpenChange(!0),i.content?.focus(),x.preventDefault()})})})},"MenuSubTrigger")),E1e="MenuSubContent",D1e=O(Io(function(r,a){let i=xne(du,r.__scopeMenu),{forceMount:f=i.forceMount,align:s="start",...l}=r,c=d8(du,r.__scopeMenu),m=IT(du,r.__scopeMenu),g=zne(E1e,r.__scopeMenu),M=b(null),v=_e(a,M);return t(CT.Provider,{scope:r.__scopeMenu,children:t(ar,{present:f||c.open,children:t(CT.Slot,{scope:r.__scopeMenu,children:t(B7,{id:g.contentId,"aria-labelledby":g.triggerId,...l,ref:v,align:s,side:m.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:(y)=>{if(m.isUsingKeyboardRef.current)M.current?.focus();y.preventDefault()},onCloseAutoFocus:(y)=>y.preventDefault(),onFocusOutside:Y(r.onFocusOutside,(y)=>{if(y.target!==g.trigger)c.onOpenChange(!1)}),onEscapeKeyDown:Y(r.onEscapeKeyDown,(y)=>{m.onClose(),y.preventDefault()}),onKeyDown:Y(r.onKeyDown,(y)=>{let x=y.currentTarget.contains(y.target),_=s1e[m.dir].includes(y.key);if(x&&_)c.onOpenChange(!1),g.trigger?.focus(),y.preventDefault()})})})})})},"MenuSubContent"));function Y7(e){return e?"open":"closed"}Io(Y7,"getOpenState");function U7(e){return e==="indeterminate"}Io(U7,"isIndeterminate");function q7(e){return U7(e)?"indeterminate":e?"checked":"unchecked"}Io(q7,"getCheckedState");function Sne(e){let r=document.activeElement;for(let a of e){if(a===r)return;if(a.focus(),document.activeElement!==r)return}}Io(Sne,"focusFirst");function Lne(e,r){return e.map((a,i)=>e[(r+i)%e.length])}Io(Lne,"wrapArray");function kne(e,r,a){let f=r.length>1&&Array.from(r).every((g)=>g===r[0])?r[0]:r,s=a?e.indexOf(a):-1,l=Lne(e,Math.max(s,0));if(f.length===1)l=l.filter((g)=>g!==a);let m=l.find((g)=>g.toLowerCase().startsWith(f.toLowerCase()));return m!==a?m:void 0}Io(kne,"getNextMatch");function Cne(e,r){let{x:a,y:i}=e,f=!1;for(let s=0,l=r.length-1;s<r.length;l=s++){let c=r[s],m=r[l],{x:g,y:M}=c,{x:v,y}=m;if(M>i!==y>i&&a<(v-g)*(i-M)/(y-M)+g)f=!f}return f}Io(Cne,"isPointInPolygon");function Ine(e,r){if(!r)return!1;let a={x:e.clientX,y:e.clientY};return Cne(a,r)}Io(Ine,"isPointerInGraceArea");function vI(e){return(r)=>r.pointerType==="mouse"?e(r):void 0}Io(vI,"whenMouse");var Gu=d1e,Vu=Mne,Qu=p1e,Ku=h1e;var Rne=y1e,Wu=yne;var Pne=z1e,Tne=L1e,Ane=I1e,Yu=R1e;var Ju=T1e,Xu=A1e,ed=D1e;S();var j1e=Object.defineProperty,Hl=(e,r)=>j1e(e,"name",{value:r,configurable:!0}),V7="DropdownMenu",[N1e,yWo]=pt(V7,[ml]),Wl=ml(),[F1e,Ene]=N1e(V7),B1e=Hl((e)=>{let{__scopeDropdownMenu:r,children:a,dir:i,open:f,defaultOpen:s,onOpenChange:l,modal:c=!0}=e,m=Wl(r),g=b(null),[M,v]=Ft({prop:f,defaultProp:s??!1,onChange:l,caller:V7});return t(F1e,{scope:r,triggerId:xr(),triggerRef:g,contentId:xr(),open:M,onOpenChange:v,onOpenToggle:P(()=>v((y)=>!y),[v]),modal:c,children:t(Gu,{...m,open:M,onOpenChange:v,dir:i,modal:c,children:a})})},"DropdownMenu"),Y1e="DropdownMenuTrigger",U1e=O(Hl(function(r,a){let{__scopeDropdownMenu:i,disabled:f=!1,...s}=r,l=Ene(Y1e,i),c=Wl(i),m=_e(a,l.triggerRef);return t(Vu,{asChild:!0,...c,children:t(se.button,{type:"button",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":l.open?"open":"closed","data-disabled":f?"":void 0,disabled:f,...s,ref:m,onPointerDown:Y(r.onPointerDown,(g)=>{if(!f&&g.button===0&&g.ctrlKey===!1){if(l.onOpenToggle(),!l.open)g.preventDefault()}}),onKeyDown:Y(r.onKeyDown,(g)=>{if(f)return;if(["Enter"," "].includes(g.key))l.onOpenToggle();if(g.key==="ArrowDown")l.onOpenChange(!0);if(["Enter"," ","ArrowDown"].includes(g.key))g.preventDefault()})})})},"DropdownMenuTrigger")),q1e=Hl((e)=>{let{__scopeDropdownMenu:r,...a}=e,i=Wl(r);return t(Qu,{...i,...a})},"DropdownMenuPortal"),V1e="DropdownMenuContent",H1e=O(Hl(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Ene(V1e,i),l=Wl(i),c=b(!1);return t(Ku,{id:s.contentId,"aria-labelledby":s.triggerId,...l,...f,ref:a,onCloseAutoFocus:Y(r.onCloseAutoFocus,(m)=>{if(!c.current)s.triggerRef.current?.focus();c.current=!1,m.preventDefault()}),onInteractOutside:Y(r.onInteractOutside,(m)=>{let g=m.detail.originalEvent,M=g.button===0&&g.ctrlKey===!0,v=g.button===2||M;if(!s.modal||v)c.current=!0}),style:{...r.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)"}}})},"DropdownMenuContent"));var W1e=O(Hl(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Wl(i);return t(Rne,{...s,...f,ref:a})},"DropdownMenuLabel")),G1e=O(Hl(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Wl(i);return t(Wu,{...s,...f,ref:a})},"DropdownMenuItem"));var K1e=O(Hl(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Wl(i);return t(Pne,{...s,...f,ref:a})},"DropdownMenuRadioGroup")),X1e=O(Hl(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Wl(i);return t(Tne,{...s,...f,ref:a})},"DropdownMenuRadioItem")),Q1e=O(Hl(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Wl(i);return t(Ane,{...s,...f,ref:a})},"DropdownMenuItemIndicator")),J1e=O(Hl(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Wl(i);return t(Yu,{...s,...f,ref:a})},"DropdownMenuSeparator"));var $1e=Hl((e)=>{let{__scopeDropdownMenu:r,children:a,open:i,onOpenChange:f,defaultOpen:s}=e,l=Wl(r),[c,m]=Ft({prop:i,defaultProp:s??!1,onChange:f,caller:"DropdownMenuSub"});return t(Ju,{...l,open:c,onOpenChange:m,children:a})},"DropdownMenuSub"),eCe=O(Hl(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Wl(i);return t(Xu,{...s,...f,ref:a})},"DropdownMenuSubTrigger")),tCe=O(Hl(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Wl(i);return t(ed,{...s,...f,ref:a,style:{...r.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)"}}})},"DropdownMenuSubContent")),rCe=B1e,oCe=U1e,Dne=q1e,aCe=H1e;var nCe=W1e,iCe=G1e;var fCe=K1e,sCe=X1e,lCe=Q1e,cCe=J1e;var uCe=$1e,dCe=eCe,ZCe=tCe;S();var pCe=Object.defineProperty,mCe=(e,r)=>pCe(e,"name",{value:r,configurable:!0}),hCe=O(mCe(function(r,a){return t(se.label,{...r,ref:a,onMouseDown:(i)=>{if(i.target.closest("button, input, select, textarea"))return;if(r.onMouseDown?.(i),!i.defaultPrevented&&i.detail>1)i.preventDefault()}})},"Label")),gCe=hCe;S();var MCe=Object.defineProperty,Z8=(e,r)=>MCe(e,"name",{value:r,configurable:!0}),H7="Popover",[Nne,FWo]=pt(H7,[gc]),W7=gc(),[vCe,xI]=Nne(H7),xCe=Z8((e)=>{let{__scopePopover:r,children:a,open:i,defaultOpen:f,onOpenChange:s,modal:l=!1}=e,c=W7(r),m=b(null),[g,M]=u(!1),[v,y]=Ft({prop:i,defaultProp:f??!1,onChange:s,caller:H7});return t(lm,{...c,children:t(vCe,{scope:r,contentId:xr(),triggerRef:m,open:v,onOpenChange:y,onOpenToggle:P(()=>y((x)=>!x),[y]),hasCustomAnchor:g,onCustomAnchorAdd:P(()=>M(!0),[]),onCustomAnchorRemove:P(()=>M(!1),[]),modal:l,children:a})})},"Popover");var yCe="PopoverTrigger",bCe=O(Z8(function(r,a){let{__scopePopover:i,...f}=r,s=xI(yCe,i),l=W7(i),c=_e(a,s.triggerRef),m=t(se.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":G7(s.open),...f,ref:c,onClick:Y(r.onClick,s.onOpenToggle)});return s.hasCustomAnchor?m:t(c8,{asChild:!0,...l,children:m})},"PopoverTrigger")),Fne="PopoverPortal",[_Ce,wCe]=Nne(Fne,{forceMount:void 0}),zCe=Z8((e)=>{let{__scopePopover:r,forceMount:a,children:i,container:f}=e,s=xI(Fne,r);return t(_Ce,{scope:r,forceMount:a,children:t(ar,{present:a||s.open,children:t(nZ,{asChild:!0,container:f,children:i})})})},"PopoverPortal"),RT="PopoverContent",SCe=O(Z8(function(r,a){let i=wCe(RT,r.__scopePopover),{forceMount:f=i.forceMount,...s}=r,l=xI(RT,r.__scopePopover);return t(ar,{present:f||l.open,children:l.modal?t(kCe,{...s,ref:a}):t(CCe,{...s,ref:a})})},"PopoverContent")),LCe=zi("PopoverContent.RemoveScroll"),kCe=O(Z8(function(r,a){let i=xI(RT,r.__scopePopover),f=b(null),s=_e(a,f),l=b(!1);return h(()=>{let c=f.current;if(c)return s8(c)},[]),t($Z,{as:LCe,allowPinchZoom:!0,children:t(Bne,{...r,ref:s,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Y(r.onCloseAutoFocus,(c)=>{if(c.preventDefault(),!l.current)i.triggerRef.current?.focus()}),onPointerDownOutside:Y(r.onPointerDownOutside,(c)=>{let m=c.detail.originalEvent,g=m.button===0&&m.ctrlKey===!0,M=m.button===2||g;l.current=M},{checkForDefaultPrevented:!1}),onFocusOutside:Y(r.onFocusOutside,(c)=>c.preventDefault(),{checkForDefaultPrevented:!1})})})},"PopoverContentModal")),CCe=O(Z8(function(r,a){let i=xI(RT,r.__scopePopover),f=b(!1),s=b(!1);return t(Bne,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:(l)=>{if(r.onCloseAutoFocus?.(l),!l.defaultPrevented){if(!f.current)i.triggerRef.current?.focus();l.preventDefault()}f.current=!1,s.current=!1},onInteractOutside:(l)=>{if(r.onInteractOutside?.(l),!l.defaultPrevented){if(f.current=!0,l.detail.originalEvent.type==="pointerdown")s.current=!0}let c=l.target;if(i.triggerRef.current?.contains(c))l.preventDefault();if(l.detail.originalEvent.type==="focusin"&&s.current)l.preventDefault()}})},"PopoverContentNonModal")),Bne=O(Z8(function(r,a){let{__scopePopover:i,trapFocus:f,onOpenAutoFocus:s,onCloseAutoFocus:l,disableOutsidePointerEvents:c,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:M,onInteractOutside:v,...y}=r,x=xI(RT,i),_=W7(i);return iZ(),t(f8,{asChild:!0,loop:!0,trapped:f,onMountAutoFocus:s,onUnmountAutoFocus:l,children:t(aZ,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:v,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:M,onDismiss:()=>x.onOpenChange(!1),deferPointerDownOutside:!0,children:t(u8,{"data-state":G7(x.open),role:"dialog",id:x.contentId,..._,...y,ref:a,style:{...y.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)"}}})})})},"PopoverContentImpl"));function G7(e){return e?"open":"closed"}Z8(G7,"getState");var ICe=xCe;var RCe=bCe,PCe=zCe,TCe=SCe;S();var ACe=Object.defineProperty,cm=(e,r)=>ACe(e,"name",{value:r,configurable:!0}),Une="Progress",Q7=100,[ECe,qWo]=pt(Une),[DCe,OCe]=ECe(Une),jCe=O(cm(function(r,a){let{__scopeProgress:i,value:f=null,max:s,getValueLabel:l=qne,...c}=r;if((s||s===0)&&!K7(s))console.error(Vne(`${s}`,"Progress"));let m=K7(s)?s:Q7;if(f!==null&&!X7(f,m))console.error(Hne(`${f}`,"Progress"));let g=X7(f,m)?f:null,M=PT(g)?l(g,m):void 0;return t(DCe,{scope:i,value:g,max:m,children:t(se.div,{"aria-valuemax":m,"aria-valuemin":0,"aria-valuenow":PT(g)?g:void 0,"aria-valuetext":M,role:"progressbar","data-state":J7(g,m),"data-value":g??void 0,"data-max":m,...c,ref:a})})},"Progress")),NCe="ProgressIndicator",FCe=O(cm(function(r,a){let{__scopeProgress:i,...f}=r,s=OCe(NCe,i);return t(se.div,{"data-state":J7(s.value,s.max),"data-value":s.value??void 0,"data-max":s.max,...f,ref:a})},"ProgressIndicator"));function qne(e,r){return`${Math.round(e/r*100)}%`}cm(qne,"defaultGetValueLabel");function J7(e,r){return e==null?"indeterminate":e===r?"complete":"loading"}cm(J7,"getProgressState");function PT(e){return typeof e==="number"}cm(PT,"isNumber");function K7(e){return PT(e)&&!isNaN(e)&&e>0}cm(K7,"isValidMaxNumber");function X7(e,r){return PT(e)&&!isNaN(e)&&e<=r&&e>=0}cm(X7,"isValidValueNumber");function Vne(e,r){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${r}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${Q7}\`.`}cm(Vne,"getInvalidMaxError");function Hne(e,r){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${r}\`. The \`value\` prop must be:
56
- - a positive number
57
- - less than the value passed to \`max\` (or ${Q7} if no \`max\` prop is set)
58
- - \`null\` or \`undefined\` if the progress is indeterminate.
59
-
60
- Defaulting to \`null\`.`}cm(Hne,"getInvalidValueError");var BCe=jCe,YCe=FCe;S();var UCe=Object.defineProperty,qCe=(e,r)=>UCe(e,"name",{value:r,configurable:!0});function fa(e,[r,a]){return Math.min(a,Math.max(r,e))}qCe(fa,"clamp");S();var VCe=Object.defineProperty,yo=(e,r)=>VCe(e,"name",{value:r,configurable:!0});function Gne(e,r){return en((a,i)=>r[a][i]??a,e)}yo(Gne,"useStateMachine");var Kne="ScrollArea",[Xne,rGo]=pt(Kne),[HCe,vc]=Xne(Kne),WCe=O(yo(function(r,a){let{__scopeScrollArea:i,type:f="hover",dir:s,scrollHideDelay:l=600,...c}=r,[m,g]=u(null),[M,v]=u(null),[y,x]=u(null),[_,j]=u(null),[U,T]=u(null),[N,G]=u(0),[X,J]=u(0),[ee,re]=u(!1),[oe,ae]=u(!1),ye=_e(a,g),We=Hn(s);return t(HCe,{scope:i,type:f,dir:We,scrollHideDelay:l,scrollArea:m,viewport:M,onViewportChange:v,content:y,onContentChange:x,scrollbarX:_,onScrollbarXChange:j,scrollbarXEnabled:ee,onScrollbarXEnabledChange:re,scrollbarY:U,onScrollbarYChange:T,scrollbarYEnabled:oe,onScrollbarYEnabledChange:ae,onCornerWidthChange:G,onCornerHeightChange:J,children:t(se.div,{dir:We,...c,ref:ye,style:{position:"relative","--radix-scroll-area-corner-width":N+"px","--radix-scroll-area-corner-height":X+"px",...r.style}})})},"ScrollArea")),GCe="ScrollAreaViewport",KCe=O(yo(function(r,a){let{__scopeScrollArea:i,children:f,nonce:s,...l}=r,c=vc(GCe,i),m=b(null),g=_e(a,m,c.onViewportChange);return o(Z,{children:[t(XCe,{nonce:s}),t(se.div,{"data-radix-scroll-area-viewport":"",...l,ref:g,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...r.style},children:t("div",{ref:c.onContentChange,style:{minWidth:"100%",display:"table"},children:f})})]})},"ScrollAreaViewport")),XCe=Bn(yo(function({nonce:r}){return t("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:r})},"ScrollAreaViewportStyle"),(e,r)=>e.nonce===r.nonce),um="ScrollAreaScrollbar",QCe=O(yo(function(r,a){let{forceMount:i,...f}=r,s=vc(um,r.__scopeScrollArea),{onScrollbarXEnabledChange:l,onScrollbarYEnabledChange:c}=s,m=r.orientation==="horizontal";return h(()=>(m?l(!0):c(!0),()=>{m?l(!1):c(!1)}),[m,l,c]),s.type==="hover"?t(JCe,{...f,ref:a,forceMount:i}):s.type==="scroll"?t($Ce,{...f,ref:a,forceMount:i}):s.type==="auto"?t(Qne,{...f,ref:a,forceMount:i}):s.type==="always"?t(tU,{...f,ref:a,"data-state":"visible"}):null},"ScrollAreaScrollbar")),JCe=O(yo(function(r,a){let{forceMount:i,...f}=r,s=vc(um,r.__scopeScrollArea),[l,c]=u(!1);return h(()=>{let m=s.scrollArea,g=0;if(m){let M=yo(()=>{window.clearTimeout(g),c(!0)},"handlePointerEnter"),v=yo(()=>{g=window.setTimeout(()=>c(!1),s.scrollHideDelay)},"handlePointerLeave");return m.addEventListener("pointerenter",M),m.addEventListener("pointerleave",v),()=>{window.clearTimeout(g),m.removeEventListener("pointerenter",M),m.removeEventListener("pointerleave",v)}}},[s.scrollArea,s.scrollHideDelay]),t(ar,{present:i||l,children:t(Qne,{"data-state":l?"visible":"hidden",...f,ref:a})})},"ScrollAreaScrollbarHover")),$Ce=O(yo(function(r,a){let{forceMount:i,...f}=r,s=vc(um,r.__scopeScrollArea),l=r.orientation==="horizontal",c=ET(()=>g("SCROLL_END"),100),[m,g]=Gne("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return h(()=>{if(m==="idle"){let M=window.setTimeout(()=>g("HIDE"),s.scrollHideDelay);return()=>window.clearTimeout(M)}},[m,s.scrollHideDelay,g]),h(()=>{let M=s.viewport,v=l?"scrollLeft":"scrollTop";if(M){let y=M[v],x=yo(()=>{let _=M[v];if(y!==_)g("SCROLL"),c();y=_},"handleScroll");return M.addEventListener("scroll",x),()=>M.removeEventListener("scroll",x)}},[s.viewport,l,g,c]),t(ar,{present:i||m!=="hidden",children:t(tU,{"data-state":m==="hidden"?"hidden":"visible",...f,ref:a,onPointerEnter:Y(r.onPointerEnter,()=>g("POINTER_ENTER")),onPointerLeave:Y(r.onPointerLeave,()=>g("POINTER_LEAVE"))})})},"ScrollAreaScrollbarScroll")),Qne=O(yo(function(r,a){let i=vc(um,r.__scopeScrollArea),{forceMount:f,...s}=r,[l,c]=u(!1),m=r.orientation==="horizontal",g=ET(()=>{if(i.viewport){let M=i.viewport.offsetWidth<i.viewport.scrollWidth,v=i.viewport.offsetHeight<i.viewport.scrollHeight;c(m?M:v)}},10);return Uz(i.viewport,g),Uz(i.content,g),t(ar,{present:f||l,children:t(tU,{"data-state":l?"visible":"hidden",...s,ref:a})})},"ScrollAreaScrollbarAuto")),tU=O(yo(function(r,a){let{orientation:i="vertical",...f}=r,s=vc(um,r.__scopeScrollArea),l=b(null),c=b(0),[m,g]=u({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),M=rU(m.viewport,m.content),v={...f,sizes:m,onSizesChange:g,hasThumb:Boolean(M>0&&M<1),onThumbChange:yo((x)=>l.current=x,"onThumbChange"),onThumbPointerUp:yo(()=>c.current=0,"onThumbPointerUp"),onThumbPointerDown:yo((x)=>c.current=x,"onThumbPointerDown")};function y(x,_){return tie(x,c.current,m,_)}if(yo(y,"getScrollPosition"),i==="horizontal")return t(eIe,{...v,ref:a,onThumbPositionChange:()=>{if(s.viewport&&l.current){let x=s.viewport.scrollLeft,_=eU(x,m,s.dir);l.current.style.transform=`translate3d(${_}px, 0, 0)`}},onWheelScroll:(x)=>{if(s.viewport)s.viewport.scrollLeft=x},onDragScroll:(x)=>{if(s.viewport)s.viewport.scrollLeft=y(x,s.dir)}});if(i==="vertical")return t(tIe,{...v,ref:a,onThumbPositionChange:()=>{if(s.viewport&&l.current){let x=s.viewport.scrollTop,_=eU(x,m);l.current.style.transform=`translate3d(0, ${_}px, 0)`}},onWheelScroll:(x)=>{if(s.viewport)s.viewport.scrollTop=x},onDragScroll:(x)=>{if(s.viewport)s.viewport.scrollTop=y(x)}});return null},"ScrollAreaScrollbarVisible")),eIe=O(yo(function(r,a){let{sizes:i,onSizesChange:f,...s}=r,l=vc(um,r.__scopeScrollArea),[c,m]=u(),g=b(null),M=_e(a,g,l.onScrollbarXChange);return h(()=>{if(g.current)m(getComputedStyle(g.current))},[g]),t($ne,{"data-orientation":"horizontal",...s,ref:M,sizes:i,style:{bottom:0,left:l.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:l.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":AT(i)+"px",...r.style},onThumbPointerDown:(v)=>r.onThumbPointerDown(v.x),onDragScroll:(v)=>r.onDragScroll(v.x),onWheelScroll:(v,y)=>{if(l.viewport){let x=l.viewport.scrollLeft+v.deltaX;if(r.onWheelScroll(x),aU(x,y))v.preventDefault()}},onResize:()=>{if(g.current&&l.viewport&&c)f({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:g.current.clientWidth,paddingStart:TT(c.paddingLeft),paddingEnd:TT(c.paddingRight)}})}})},"ScrollAreaScrollbarX")),tIe=O(yo(function(r,a){let{sizes:i,onSizesChange:f,...s}=r,l=vc(um,r.__scopeScrollArea),[c,m]=u(),g=b(null),M=_e(a,g,l.onScrollbarYChange);return h(()=>{if(g.current)m(getComputedStyle(g.current))},[g]),t($ne,{"data-orientation":"vertical",...s,ref:M,sizes:i,style:{top:0,right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":AT(i)+"px",...r.style},onThumbPointerDown:(v)=>r.onThumbPointerDown(v.y),onDragScroll:(v)=>r.onDragScroll(v.y),onWheelScroll:(v,y)=>{if(l.viewport){let x=l.viewport.scrollTop+v.deltaY;if(r.onWheelScroll(x),aU(x,y))v.preventDefault()}},onResize:()=>{if(g.current&&l.viewport&&c)f({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:g.current.clientHeight,paddingStart:TT(c.paddingTop),paddingEnd:TT(c.paddingBottom)}})}})},"ScrollAreaScrollbarY")),[rIe,Jne]=Xne(um),$ne=O(yo(function(r,a){let{__scopeScrollArea:i,sizes:f,hasThumb:s,onThumbChange:l,onThumbPointerUp:c,onThumbPointerDown:m,onThumbPositionChange:g,onDragScroll:M,onWheelScroll:v,onResize:y,...x}=r,_=vc(um,i),[j,U]=u(null),T=_e(a,U),N=b(null),G=b(""),X=_.viewport,J=f.content-f.viewport,ee=Xo(v),re=Xo(g),oe=ET(y,10);function ae(ye){if(N.current){let We=ye.clientX-N.current.left,Ye=ye.clientY-N.current.top;M({x:We,y:Ye})}}return yo(ae,"handleDragScroll"),h(()=>{let ye=yo((We)=>{let Ye=We.target;if(j?.contains(Ye))ee(We,J)},"handleWheel");return document.addEventListener("wheel",ye,{passive:!1}),()=>document.removeEventListener("wheel",ye,{passive:!1})},[X,j,J,ee]),h(re,[f,re]),Uz(j,oe),Uz(_.content,oe),t(rIe,{scope:i,scrollbar:j,hasThumb:s,onThumbChange:Xo(l),onThumbPointerUp:Xo(c),onThumbPositionChange:re,onThumbPointerDown:Xo(m),children:t(se.div,{...x,ref:T,style:{position:"absolute",...x.style},onPointerDown:Y(r.onPointerDown,(ye)=>{if(ye.button===0){if(ye.target.setPointerCapture(ye.pointerId),N.current=j.getBoundingClientRect(),G.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",_.viewport)_.viewport.style.scrollBehavior="auto";ae(ye)}}),onPointerMove:Y(r.onPointerMove,ae),onPointerUp:Y(r.onPointerUp,(ye)=>{let We=ye.target;if(We.hasPointerCapture(ye.pointerId))We.releasePointerCapture(ye.pointerId);if(document.body.style.webkitUserSelect=G.current,_.viewport)_.viewport.style.scrollBehavior="";N.current=null})})})},"ScrollAreaScrollbarImpl")),$7="ScrollAreaThumb",oIe=O(yo(function(r,a){let{forceMount:i,...f}=r,s=Jne($7,r.__scopeScrollArea);return t(ar,{present:i||s.hasThumb,children:t(aIe,{ref:a,...f})})},"ScrollAreaThumb")),aIe=O(yo(function(r,a){let{__scopeScrollArea:i,style:f,...s}=r,l=vc($7,i),c=Jne($7,i),{onThumbPositionChange:m}=c,g=_e(a,c.onThumbChange),M=b(void 0),v=ET(()=>{if(M.current)M.current(),M.current=void 0},100);return h(()=>{let y=l.viewport;if(y){let x=yo(()=>{if(v(),!M.current){let _=fIe(y,m);M.current=_,m()}},"handleScroll");return m(),y.addEventListener("scroll",x),()=>y.removeEventListener("scroll",x)}},[l.viewport,v,m]),t(se.div,{"data-state":c.hasThumb?"visible":"hidden",...s,ref:g,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...f},onPointerDownCapture:Y(r.onPointerDownCapture,(y)=>{let _=y.target.getBoundingClientRect(),j=y.clientX-_.left,U=y.clientY-_.top;c.onThumbPointerDown({x:j,y:U})}),onPointerUp:Y(r.onPointerUp,c.onThumbPointerUp)})},"ScrollAreaThumbImpl")),eie="ScrollAreaCorner",nIe=O(yo(function(r,a){let i=vc(eie,r.__scopeScrollArea),f=Boolean(i.scrollbarX&&i.scrollbarY);return i.type!=="scroll"&&f?t(iIe,{...r,ref:a}):null},"ScrollAreaCorner")),iIe=O(yo(function(r,a){let{__scopeScrollArea:i,...f}=r,s=vc(eie,i),[l,c]=u(0),[m,g]=u(0),M=Boolean(l&&m),{onCornerWidthChange:v,onCornerHeightChange:y}=s;return Uz(s.scrollbarX,()=>{let x=s.scrollbarX?.offsetHeight||0;s.onCornerHeightChange(x),g(x)}),Uz(s.scrollbarY,()=>{let x=s.scrollbarY?.offsetWidth||0;s.onCornerWidthChange(x),c(x)}),h(()=>()=>{v(0),y(0)},[v,y]),M?t(se.div,{...f,ref:a,style:{width:l,height:m,position:"absolute",right:s.dir==="ltr"?0:void 0,left:s.dir==="rtl"?0:void 0,bottom:0,...r.style}}):null},"ScrollAreaCornerImpl"));function TT(e){return e?parseInt(e,10):0}yo(TT,"toInt");function rU(e,r){let a=e/r;return isNaN(a)?0:a}yo(rU,"getThumbRatio");function AT(e){let r=rU(e.viewport,e.content),a=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,i=(e.scrollbar.size-a)*r;return Math.max(i,18)}yo(AT,"getThumbSize");function tie(e,r,a,i="ltr"){let f=AT(a),s=f/2,l=r||s,c=f-l,m=a.scrollbar.paddingStart+l,g=a.scrollbar.size-a.scrollbar.paddingEnd-c,M=a.content-a.viewport,v=i==="ltr"?[0,M]:[M*-1,0];return oU([m,g],v)(e)}yo(tie,"getScrollPositionFromPointer");function eU(e,r,a="ltr"){let i=AT(r),f=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,s=r.scrollbar.size-f,l=r.content-r.viewport,c=s-i,m=a==="ltr"?[0,l]:[l*-1,0],g=fa(e,m);return oU([0,l],[0,c])(g)}yo(eU,"getThumbOffsetFromScroll");function oU(e,r){return(a)=>{if(e[0]===e[1]||r[0]===r[1])return r[0];let i=(r[1]-r[0])/(e[1]-e[0]);return r[0]+i*(a-e[0])}}yo(oU,"linearScale");function aU(e,r){return e>0&&e<r}yo(aU,"isScrollingWithinScrollbarBounds");var fIe=yo((e,r=()=>{})=>{let a={left:e.scrollLeft,top:e.scrollTop},i=0;return yo(function f(){let s={left:e.scrollLeft,top:e.scrollTop},l=a.left!==s.left,c=a.top!==s.top;if(l||c)r();a=s,i=window.requestAnimationFrame(f)},"loop")(),()=>window.cancelAnimationFrame(i)},"addUnlinkedScrollListener");function ET(e,r){let a=Xo(e),i=b(0);return h(()=>()=>window.clearTimeout(i.current),[]),P(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(a,r)},[a,r])}yo(ET,"useDebounceCallback");function Uz(e,r){let a=Xo(r);It(()=>{let i=0;if(e){let f=new ResizeObserver(()=>{cancelAnimationFrame(i),i=window.requestAnimationFrame(a)});return f.observe(e),()=>{window.cancelAnimationFrame(i),f.unobserve(e)}}},[e,a])}yo(Uz,"useResizeObserver");var sIe=WCe,lIe=KCe;var cIe=nIe;S();S();var uIe=Object.defineProperty,dIe=(e,r)=>uIe(e,"name",{value:r,configurable:!0});function Tc(e){let r=b({value:e,previous:e});return D(()=>{if(r.current.value!==e)r.current.previous=r.current.value,r.current.value=e;return r.current.previous},[e])}dIe(Tc,"usePrevious");S();var ZIe=Object.defineProperty,pIe=(e,r)=>ZIe(e,"name",{value:r,configurable:!0}),nU=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"}),mIe=O(pIe(function(r,a){return t(se.span,{...r,ref:a,style:{...nU,...r.style}})},"VisuallyHidden")),oie=mIe;var gIe=Object.defineProperty,To=(e,r)=>gIe(e,"name",{value:r,configurable:!0}),MIe=[" ","Enter","ArrowUp","ArrowDown"],vIe=[" ","Enter"],wI="Select",[gN,MN,xIe]=ua(wI),[Vz,CGo]=pt(wI,[xIe,gc]),fU=gc(),[yIe,p8]=Vz(wI),[bIe,_Ie]=Vz(wI);function sie(e){let{__scopeSelect:r,children:a,open:i,defaultOpen:f,onOpenChange:s,value:l,defaultValue:c,onValueChange:m,dir:g,name:M,autoComplete:v,disabled:y,required:x,form:_,internal_do_not_use_render:j}=e,U=fU(r),[T,N]=u(null),[G,X]=u(null),[J,ee]=u(!1),re=Hn(g),[oe,ae]=Ft({prop:i,defaultProp:f??!1,onChange:s,caller:wI}),[ye,We]=Ft({prop:l,defaultProp:c,onChange:m,caller:wI}),Ye=b(null),ze=b(ye);h(()=>{let Wt=_?T?.ownerDocument.getElementById(_):T?.form;if(Wt instanceof HTMLFormElement){let Ee=To(()=>We(ze.current),"reset");return Wt.addEventListener("reset",Ee),()=>Wt.removeEventListener("reset",Ee)}},[_,T,We]);let qe=T?!!_||!!T.closest("form"):!0,[ut,$e]=u(new Set),xt=xr(),Dt=Array.from(ut).map((Wt)=>Wt.props.value).join(";"),Yt=P((Wt)=>{$e((Ee)=>new Set(Ee).add(Wt))},[]),fe=P((Wt)=>{$e((Ee)=>{let lr=new Set(Ee);return lr.delete(Wt),lr})},[]),yt={required:x,trigger:T,onTriggerChange:N,valueNode:G,onValueNodeChange:X,valueNodeHasChildren:J,onValueNodeHasChildrenChange:ee,contentId:xt,value:ye,onValueChange:We,open:oe,onOpenChange:ae,dir:re,triggerPointerDownPosRef:Ye,disabled:y,name:M,autoComplete:v,form:_,nativeOptions:ut,nativeSelectKey:Dt,isFormControl:qe};return t(lm,{...U,children:t(yIe,{scope:r,...yt,children:t(gN.Provider,{scope:r,children:t(bIe,{scope:r,onNativeOptionAdd:Yt,onNativeOptionRemove:fe,children:die(j)?j(yt):a})})})})}To(sie,"SelectProvider");var wIe=To((e)=>{let{__scopeSelect:r,children:a,...i}=e;return t(sie,{__scopeSelect:r,...i,internal_do_not_use_render:({isFormControl:f})=>o(Z,{children:[a,f?t(XIe,{__scopeSelect:r}):null]})})},"Select"),zIe="SelectTrigger",SIe=O(To(function(r,a){let{__scopeSelect:i,disabled:f=!1,...s}=r,l=fU(i),c=p8(zIe,i),m=c.disabled||f,g=_e(a,c.onTriggerChange),M=MN(i),v=b("touch"),[y,x,_]=lU((U)=>{let T=M().filter((X)=>!X.disabled),N=T.find((X)=>X.value===c.value),G=cU(T,U,N);if(G!==void 0)c.onValueChange(G.value)}),j=To((U)=>{if(!m)c.onOpenChange(!0),_();if(U)c.triggerPointerDownPosRef.current={x:Math.round(U.pageX),y:Math.round(U.pageY)}},"handleOpen");return t(c8,{asChild:!0,...l,children:t(se.button,{type:"button",role:"combobox","aria-controls":c.open?c.contentId:void 0,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:m,"data-disabled":m?"":void 0,"data-placeholder":DT(c.value)?"":void 0,...s,ref:g,onClick:Y(s.onClick,(U)=>{if(U.currentTarget.focus(),v.current!=="mouse")j(U)}),onPointerDown:Y(s.onPointerDown,(U)=>{v.current=U.pointerType;let T=U.target;if(T.hasPointerCapture(U.pointerId))T.releasePointerCapture(U.pointerId);if(U.button===0&&U.ctrlKey===!1&&U.pointerType==="mouse")j(U),U.preventDefault()}),onKeyDown:Y(s.onKeyDown,(U)=>{let T=y.current!=="";if(!(U.ctrlKey||U.altKey||U.metaKey)&&U.key.length===1)x(U.key);if(T&&U.key===" ")return;if(MIe.includes(U.key))j(),U.preventDefault()})})})},"SelectTrigger")),LIe="SelectValue",kIe=O(To(function(r,a){let{__scopeSelect:i,className:f,style:s,children:l,placeholder:c="",...m}=r,g=p8(LIe,i),{onValueNodeHasChildrenChange:M}=g,v=l!==void 0,y=_e(a,g.onValueNodeChange);It(()=>{M(v)},[M,v]);let x=DT(g.value);return t(se.span,{...m,asChild:x?!1:m.asChild,ref:y,style:{pointerEvents:"none"},children:t(Cn,{children:x?c:l},x?"placeholder":"value")})},"SelectValue")),CIe=O(To(function(r,a){let{__scopeSelect:i,children:f,...s}=r;return t(se.span,{"aria-hidden":!0,...s,ref:a,children:f||"▼"})},"SelectIcon")),IIe="SelectPortal",[RIe,PIe]=Vz(IIe,{forceMount:void 0}),TIe=To((e)=>{let{__scopeSelect:r,forceMount:a,...i}=e;return t(RIe,{scope:e.__scopeSelect,forceMount:a,children:t(nZ,{asChild:!0,...i})})},"SelectPortal"),qz="SelectContent",AIe=O(To(function(r,a){let i=PIe(qz,r.__scopeSelect),{forceMount:f=i.forceMount,...s}=r,l=p8(qz,r.__scopeSelect),[c,m]=u();return It(()=>{m(new DocumentFragment)},[]),t(ar,{present:f||l.open,children:({present:g})=>g?t(OIe,{...s,ref:a}):t(EIe,{...s,fragment:c})})},"SelectContent")),EIe=O(To(function(r,a){let{__scopeSelect:i,children:f,fragment:s}=r;if(!s)return null;return Qa(t(lie,{scope:i,children:t(gN.Slot,{scope:i,children:t("div",{ref:a,children:f})})}),s)},"SelectContentFragment")),pu=10,[lie,Hz]=Vz(qz),DIe=zi("SelectContent.RemoveScroll"),OIe=O(To(function(r,a){let{__scopeSelect:i}=r,{position:f="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:l,onPointerDownOutside:c,side:m,sideOffset:g,align:M,alignOffset:v,arrowPadding:y,collisionBoundary:x,collisionPadding:_,sticky:j,hideWhenDetached:U,avoidCollisions:T,...N}=r,G=p8(qz,i),[X,J]=u(null),[ee,re]=u(null),oe=_e(a,J),[ae,ye]=u(null),[We,Ye]=u(null),ze=MN(i),[qe,ut]=u(!1),$e=b(!1);h(()=>{if(X)return s8(X)},[X]),iZ();let xt=P((Gt)=>{let[Kt,...ur]=ze().map((dr)=>dr.ref.current),[Ir]=ur.slice(-1),Er=document.activeElement;for(let dr of Gt){if(dr===Er)return;if(dr?.scrollIntoView({block:"nearest"}),dr===Kt&&ee)ee.scrollTop=0;if(dr===Ir&&ee)ee.scrollTop=ee.scrollHeight;if(dr?.focus(),document.activeElement!==Er)return}},[ze,ee]),Dt=P(()=>xt([ae,X]),[xt,ae,X]);h(()=>{if(qe)Dt()},[qe,Dt]);let{onOpenChange:Yt,triggerPointerDownPosRef:fe}=G;h(()=>{if(X){let Gt={x:0,y:0},Kt=To((Ir)=>{Gt={x:Math.abs(Math.round(Ir.pageX)-(fe.current?.x??0)),y:Math.abs(Math.round(Ir.pageY)-(fe.current?.y??0))}},"handlePointerMove"),ur=To((Ir)=>{if(Gt.x<=10&&Gt.y<=10)Ir.preventDefault();else if(!Ir.composedPath().includes(X))Yt(!1);document.removeEventListener("pointermove",Kt),fe.current=null},"handlePointerUp");if(fe.current!==null)document.addEventListener("pointermove",Kt),document.addEventListener("pointerup",ur,{capture:!0,once:!0});return()=>{document.removeEventListener("pointermove",Kt),document.removeEventListener("pointerup",ur,{capture:!0})}}},[X,Yt,fe]),h(()=>{let Gt=To(()=>Yt(!1),"close");return window.addEventListener("blur",Gt),window.addEventListener("resize",Gt),()=>{window.removeEventListener("blur",Gt),window.removeEventListener("resize",Gt)}},[Yt]);let[yt,Wt]=lU((Gt)=>{let Kt=ze().filter((Er)=>!Er.disabled),ur=Kt.find((Er)=>Er.ref.current===document.activeElement),Ir=cU(Kt,Gt,ur);if(Ir)setTimeout(()=>Ir.ref.current?.focus())}),Ee=P((Gt,Kt,ur)=>{let Ir=!$e.current&&!ur;if(G.value!==void 0&&G.value===Kt||Ir){if(ye(Gt),Ir)$e.current=!0}},[G.value]),lr=P(()=>X?.focus(),[X]),sr=P((Gt,Kt,ur)=>{let Ir=!$e.current&&!ur;if(G.value!==void 0&&G.value===Kt||Ir)Ye(Gt)},[G.value]),Jt=f==="popper"?aie:jIe,Or=Jt===aie?{side:m,sideOffset:g,align:M,alignOffset:v,arrowPadding:y,collisionBoundary:x,collisionPadding:_,sticky:j,hideWhenDetached:U,avoidCollisions:T}:{};return t(lie,{scope:i,content:X,viewport:ee,onViewportChange:re,itemRefCallback:Ee,selectedItem:ae,onItemLeave:lr,itemTextRefCallback:sr,focusSelectedItem:Dt,selectedItemText:We,position:f,isPositioned:qe,searchRef:yt,children:t($Z,{as:DIe,allowPinchZoom:!0,children:t(f8,{asChild:!0,trapped:G.open,onMountAutoFocus:(Gt)=>{Gt.preventDefault()},onUnmountAutoFocus:Y(s,(Gt)=>{G.trigger?.focus({preventScroll:!0}),Gt.preventDefault()}),children:t(aZ,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:(Gt)=>Gt.preventDefault(),onDismiss:()=>G.onOpenChange(!1),children:t(Jt,{role:"listbox",id:G.contentId,"data-state":G.open?"open":"closed",dir:G.dir,onContextMenu:(Gt)=>Gt.preventDefault(),...N,...Or,onPlaced:()=>ut(!0),ref:oe,style:{display:"flex",flexDirection:"column",outline:"none",...N.style},onKeyDown:Y(N.onKeyDown,(Gt)=>{let Kt=Gt.ctrlKey||Gt.altKey||Gt.metaKey;if(Gt.key==="Tab")Gt.preventDefault();if(!Kt&&Gt.key.length===1)Wt(Gt.key);if(["ArrowUp","ArrowDown","Home","End"].includes(Gt.key)){let Ir=ze().filter((Er)=>!Er.disabled).map((Er)=>Er.ref.current);if(["ArrowUp","End"].includes(Gt.key))Ir=Ir.slice().reverse();if(["ArrowUp","ArrowDown"].includes(Gt.key)){let Er=Gt.target,dr=Ir.indexOf(Er);Ir=Ir.slice(dr+1)}setTimeout(()=>xt(Ir)),Gt.preventDefault()}})})})})})})},"SelectContentImpl")),jIe=O(To(function(r,a){let{__scopeSelect:i,onPlaced:f,...s}=r,l=p8(qz,i),c=Hz(qz,i),[m,g]=u(null),[M,v]=u(null),y=_e(a,v),x=MN(i),_=b(!1),j=b(!0),{viewport:U,selectedItem:T,selectedItemText:N,focusSelectedItem:G}=c,X=P(()=>{if(l.trigger&&l.valueNode&&m&&M&&U&&T&&N){let oe=l.trigger.getBoundingClientRect(),ae=M.getBoundingClientRect(),ye=l.valueNode.getBoundingClientRect(),We=N.getBoundingClientRect();if(l.dir!=="rtl"){let Er=We.left-ae.left,dr=ye.left-Er,mo=oe.left-dr,or=oe.width+mo,Yr=Math.max(or,ae.width),uo=window.innerWidth-pu,jo=fa(dr,[pu,Math.max(pu,uo-Yr)]);m.style.minWidth=or+"px",m.style.left=jo+"px"}else{let Er=ae.right-We.right,dr=window.innerWidth-ye.right-Er,mo=window.innerWidth-oe.right-dr,or=oe.width+mo,Yr=Math.max(or,ae.width),uo=window.innerWidth-pu,jo=fa(dr,[pu,Math.max(pu,uo-Yr)]);m.style.minWidth=or+"px",m.style.right=jo+"px"}let Ye=x(),ze=window.innerHeight-pu*2,qe=U.scrollHeight,ut=window.getComputedStyle(M),$e=parseInt(ut.borderTopWidth,10),xt=parseInt(ut.paddingTop,10),Dt=parseInt(ut.borderBottomWidth,10),Yt=parseInt(ut.paddingBottom,10),fe=$e+xt+qe+Yt+Dt,yt=Math.min(T.offsetHeight*5,fe),Wt=window.getComputedStyle(U),Ee=parseInt(Wt.paddingTop,10),lr=parseInt(Wt.paddingBottom,10),sr=oe.top+oe.height/2-pu,Jt=ze-sr,Or=T.offsetHeight/2,Gt=T.offsetTop+Or,Kt=$e+xt+Gt,ur=fe-Kt;if(Kt<=sr){let Er=Ye.length>0&&T===Ye[Ye.length-1].ref.current;m.style.bottom="0px";let dr=M.clientHeight-U.offsetTop-U.offsetHeight,mo=Math.max(Jt,Or+(Er?lr:0)+dr+Dt),or=Kt+mo;m.style.height=or+"px"}else{let Er=Ye.length>0&&T===Ye[0].ref.current;m.style.top="0px";let mo=Math.max(sr,$e+U.offsetTop+(Er?Ee:0)+Or)+ur;m.style.height=mo+"px",U.scrollTop=Kt-sr+U.offsetTop}m.style.margin=`${pu}px 0`,m.style.minHeight=yt+"px",m.style.maxHeight=ze+"px",f?.(),requestAnimationFrame(()=>_.current=!0)}},[x,l.trigger,l.valueNode,m,M,U,T,N,l.dir,f]);It(()=>X(),[X]);let[J,ee]=u();It(()=>{if(M)ee(window.getComputedStyle(M).zIndex)},[M]);let re=P((oe)=>{if(oe&&j.current===!0)X(),G?.(),j.current=!1},[X,G]);return t(NIe,{scope:i,contentWrapper:m,shouldExpandOnScrollRef:_,onScrollButtonChange:re,children:t("div",{ref:g,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:J},children:t(se.div,{...s,ref:y,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})},"SelectItemAlignedPosition")),aie=O(To(function(r,a){let{__scopeSelect:i,align:f="start",collisionPadding:s=pu,...l}=r,c=fU(i);return t(u8,{...c,...l,ref:a,align:f,collisionPadding:s,style:{boxSizing:"border-box",...l.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)"}}})},"SelectPopperPosition")),[NIe,sU]=Vz(qz,{}),nie="SelectViewport",FIe=O(To(function(r,a){let{__scopeSelect:i,nonce:f,...s}=r,l=Hz(nie,i),c=sU(nie,i),m=_e(a,l.onViewportChange),g=b(0);return o(Z,{children:[t("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:f}),t(gN.Slot,{scope:i,children:t(se.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:m,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:Y(s.onScroll,(M)=>{let v=M.currentTarget,{contentWrapper:y,shouldExpandOnScrollRef:x}=c;if(x?.current&&y){let _=Math.abs(g.current-v.scrollTop);if(_>0){let j=window.innerHeight-pu*2,U=parseFloat(y.style.minHeight),T=parseFloat(y.style.height),N=Math.max(U,T);if(N<j){let G=N+_,X=Math.min(j,G),J=G-X;if(y.style.height=X+"px",y.style.bottom==="0px")v.scrollTop=J>0?J:0,y.style.justifyContent="flex-end"}}}g.current=v.scrollTop})})})]})},"SelectViewport")),BIe="SelectGroup",[IGo,RGo]=Vz(BIe);var iU="SelectItem",[YIe,cie]=Vz(iU),UIe=O(To(function(r,a){let{__scopeSelect:i,value:f,disabled:s=!1,textValue:l,...c}=r,m=p8(iU,i),g=Hz(iU,i),M=m.value===f,[v,y]=u(l??""),[x,_]=u(!1),j=Xo((X)=>g.itemRefCallback?.(X,f,s)),U=_e(a,j),T=xr(),N=b("touch"),G=To(()=>{if(!s)m.onValueChange(f),m.onOpenChange(!1)},"handleSelect");return t(YIe,{scope:i,value:f,disabled:s,textId:T,isSelected:M,onItemTextChange:P((X)=>{y((J)=>J||(X?.textContent??"").trim())},[]),children:t(gN.ItemSlot,{scope:i,value:f,disabled:s,textValue:v,children:t(se.div,{role:"option","aria-labelledby":T,"data-highlighted":x?"":void 0,"aria-selected":M&&x,"data-state":M?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...c,ref:U,onFocus:Y(c.onFocus,()=>_(!0)),onBlur:Y(c.onBlur,()=>_(!1)),onClick:Y(c.onClick,()=>{if(N.current!=="mouse")G()}),onPointerUp:Y(c.onPointerUp,()=>{if(N.current==="mouse")G()}),onPointerDown:Y(c.onPointerDown,(X)=>{N.current=X.pointerType}),onPointerMove:Y(c.onPointerMove,(X)=>{if(N.current=X.pointerType,s)g.onItemLeave?.();else if(N.current==="mouse")X.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Y(c.onPointerLeave,(X)=>{if(X.currentTarget===document.activeElement)g.onItemLeave?.()}),onKeyDown:Y(c.onKeyDown,(X)=>{if(s||X.target!==X.currentTarget)return;if(g.searchRef?.current!==""&&X.key===" ")return;if(vIe.includes(X.key))G();if(X.key===" ")X.preventDefault()})})})})},"SelectItem")),hN="SelectItemText",qIe=O(To(function(r,a){let{__scopeSelect:i,className:f,style:s,...l}=r,c=p8(hN,i),m=Hz(hN,i),g=cie(hN,i),M=_Ie(hN,i),[v,y]=u(null),x=Xo((G)=>m.itemTextRefCallback?.(G,g.value,g.disabled)),_=_e(a,y,g.onItemTextChange,x),j=v?.textContent,U=D(()=>t("option",{value:g.value,disabled:g.disabled,children:j},g.value),[g.disabled,g.value,j]),{onNativeOptionAdd:T,onNativeOptionRemove:N}=M;return It(()=>(T(U),()=>N(U)),[T,N,U]),o(Z,{children:[t(se.span,{id:g.textId,...l,ref:_}),g.isSelected&&c.valueNode&&!c.valueNodeHasChildren&&!DT(c.value)?Qa(l.children,c.valueNode):null]})},"SelectItemText")),VIe="SelectItemIndicator",HIe=O(To(function(r,a){let{__scopeSelect:i,...f}=r;return cie(VIe,i).isSelected?t(se.span,{"aria-hidden":!0,...f,ref:a}):null},"SelectItemIndicator")),iie="SelectScrollUpButton",WIe=O(To(function(r,a){let i=Hz(iie,r.__scopeSelect),f=sU(iie,r.__scopeSelect),[s,l]=u(!1),c=_e(a,f.onScrollButtonChange);return It(()=>{if(i.viewport&&i.isPositioned){let g=function(){let v=M.scrollTop>0;l(v)};var m=g;To(g,"handleScroll");let M=i.viewport;return g(),M.addEventListener("scroll",g),()=>M.removeEventListener("scroll",g)}},[i.viewport,i.isPositioned]),s?t(uie,{...r,ref:c,onAutoScroll:()=>{let{viewport:m,selectedItem:g}=i;if(m&&g)m.scrollTop=m.scrollTop-g.offsetHeight}}):null},"SelectScrollUpButton")),fie="SelectScrollDownButton",GIe=O(To(function(r,a){let i=Hz(fie,r.__scopeSelect),f=sU(fie,r.__scopeSelect),[s,l]=u(!1),c=_e(a,f.onScrollButtonChange);return It(()=>{if(i.viewport&&i.isPositioned){let g=function(){let v=M.scrollHeight-M.clientHeight,y=Math.ceil(M.scrollTop)<v;l(y)};var m=g;To(g,"handleScroll");let M=i.viewport;return g(),M.addEventListener("scroll",g),()=>M.removeEventListener("scroll",g)}},[i.viewport,i.isPositioned]),s?t(uie,{...r,ref:c,onAutoScroll:()=>{let{viewport:m,selectedItem:g}=i;if(m&&g)m.scrollTop=m.scrollTop+g.offsetHeight}}):null},"SelectScrollDownButton")),uie=O(To(function(r,a){let{__scopeSelect:i,onAutoScroll:f,...s}=r,l=Hz("SelectScrollButton",i),c=b(null),m=MN(i),g=P(()=>{if(c.current!==null)window.clearInterval(c.current),c.current=null},[]);return h(()=>()=>g(),[g]),It(()=>{m().find((v)=>v.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[m]),t(se.div,{"aria-hidden":!0,...s,ref:a,style:{flexShrink:0,...s.style},onPointerDown:Y(s.onPointerDown,()=>{if(c.current===null)c.current=window.setInterval(f,50)}),onPointerMove:Y(s.onPointerMove,()=>{if(l.onItemLeave?.(),c.current===null)c.current=window.setInterval(f,50)}),onPointerLeave:Y(s.onPointerLeave,()=>{g()})})},"SelectScrollButtonImpl"));var KIe="SelectBubbleInput",XIe=O(To(function({__scopeSelect:r,...a},i){let f=p8(KIe,r),{value:s,onValueChange:l,required:c,disabled:m,name:g,autoComplete:M,form:v}=f,{nativeOptions:y,nativeSelectKey:x}=f,_=b(null),j=_e(i,_),U=s??"",T=Tc(U),N=Array.from(y).some((G)=>(G.props.value??"")==="");return h(()=>{let G=_.current;if(!G)return;let X=window.HTMLSelectElement.prototype,ee=Object.getOwnPropertyDescriptor(X,"value").set;if(T!==U&&ee){let re=new Event("change",{bubbles:!0});ee.call(G,U),G.dispatchEvent(re)}},[T,U]),o(se.select,{"aria-hidden":!0,required:c,tabIndex:-1,name:g,autoComplete:M,disabled:m,form:v,onChange:(G)=>l(G.target.value),...a,style:{...nU,...a.style},ref:j,defaultValue:U,children:[DT(s)&&!N?t("option",{value:""}):null,Array.from(y)]},x)},"SelectBubbleInput"));function die(e){return typeof e==="function"}To(die,"isFunction");function DT(e){return e===""||e===void 0}To(DT,"shouldShowPlaceholder");function lU(e){let r=Xo(e),a=b(""),i=b(0),f=P((l)=>{let c=a.current+l;r(c),To(function m(g){if(a.current=g,window.clearTimeout(i.current),g!=="")i.current=window.setTimeout(()=>m(""),1000)},"updateSearch")(c)},[r]),s=P(()=>{a.current="",window.clearTimeout(i.current)},[]);return h(()=>()=>window.clearTimeout(i.current),[]),[a,f,s]}To(lU,"useTypeaheadSearch");function cU(e,r,a){let f=r.length>1&&Array.from(r).every((g)=>g===r[0])?r[0]:r,s=a?e.indexOf(a):-1,l=Zie(e,Math.max(s,0));if(f.length===1)l=l.filter((g)=>g!==a);let m=l.find((g)=>g.textValue.toLowerCase().startsWith(f.toLowerCase()));return m!==a?m:void 0}To(cU,"findNextItem");function Zie(e,r){return e.map((a,i)=>e[(r+i)%e.length])}To(Zie,"wrapArray");S();var QIe=Object.defineProperty,hie=(e,r)=>QIe(e,"name",{value:r,configurable:!0}),mie="horizontal",JIe=["horizontal","vertical"],$Ie=O(hie(function(r,a){let{decorative:i,orientation:f=mie,...s}=r,l=gie(f)?f:mie,m=i?{role:"none"}:{"aria-orientation":l==="vertical"?l:void 0,role:"separator"};return t(se.div,{"data-orientation":l,...m,...s,ref:a})},"Separator"));function gie(e){return JIe.includes(e)}hie(gie,"isValidOrientation");var eRe=$Ie;S();var tRe=Object.defineProperty,m8=(e,r)=>tRe(e,"name",{value:r,configurable:!0}),uU="Switch",[rRe,BGo]=pt(uU),[oRe,dU]=rRe(uU);function vie(e){let{__scopeSwitch:r,checked:a,children:i,defaultChecked:f,disabled:s,form:l,name:c,onCheckedChange:m,required:g,value:M="on",internal_do_not_use_render:v}=e,[y,x]=Ft({prop:a,defaultProp:f??!1,onChange:m,caller:uU}),[_,j]=u(null),[U,T]=u(null),N=b(!1),[G,X]=en((re)=>re+1,0),J=_?!!l||!!_.closest("form"):!0,ee={checked:y,setChecked:x,disabled:s,control:_,setControl:j,name:c,form:l,value:M,hasConsumerStoppedPropagationRef:N,userInteractionCount:G,onUserInteraction:X,required:g,defaultChecked:f,isFormControl:J,bubbleInput:U,setBubbleInput:T};return t(oRe,{scope:r,...ee,children:xie(v)?v(ee):i})}m8(vie,"SwitchProvider");var aRe="SwitchTrigger",nRe=O(m8(function({__scopeSwitch:r,onClick:a,...i},f){let{control:s,form:l,value:c,disabled:m,checked:g,required:M,setControl:v,setChecked:y,hasConsumerStoppedPropagationRef:x,onUserInteraction:_,isFormControl:j,bubbleInput:U}=dU(aRe,r),T=_e(f,v),N=b(g);return h(()=>{let G=l?s?.ownerDocument.getElementById(l):s?.form;if(G instanceof HTMLFormElement){let X=m8(()=>y(N.current),"reset");return G.addEventListener("reset",X),()=>G.removeEventListener("reset",X)}},[s,l,y]),t(se.button,{type:"button",role:"switch","aria-checked":g,"aria-required":M,"data-state":ZU(g),"data-disabled":m?"":void 0,disabled:m,value:c,...i,ref:T,onClick:Y(a,(G)=>{if(_(),y((X)=>!X),U&&j){if(x.current=G.isPropagationStopped(),!x.current)G.stopPropagation()}})})},"SwitchTrigger")),iRe=O(m8(function(r,a){let{__scopeSwitch:i,name:f,checked:s,defaultChecked:l,required:c,disabled:m,value:g,onCheckedChange:M,form:v,...y}=r;return t(vie,{__scopeSwitch:i,checked:s,defaultChecked:l,disabled:m,required:c,onCheckedChange:M,name:f,form:v,value:g,internal_do_not_use_render:({isFormControl:x})=>o(Z,{children:[t(nRe,{...y,ref:a,__scopeSwitch:i}),x&&t(cRe,{__scopeSwitch:i})]})})},"Switch")),fRe="SwitchThumb",sRe=O(m8(function(r,a){let{__scopeSwitch:i,...f}=r,s=dU(fRe,i);return t(se.span,{"data-state":ZU(s.checked),"data-disabled":s.disabled?"":void 0,...f,ref:a})},"SwitchThumb")),lRe="SwitchBubbleInput",cRe=O(m8(function({__scopeSwitch:r,onClick:a,...i},f){let{control:s,hasConsumerStoppedPropagationRef:l,userInteractionCount:c,checked:m,defaultChecked:g,required:M,disabled:v,name:y,value:x,form:_,bubbleInput:j,setBubbleInput:U}=dU(lRe,r),T=_e(f,U),N=ca(s),G=b(!1),X=b(m),J=b(c);h(()=>{let re=j;if(!re)return;let oe=window.HTMLInputElement.prototype,ye=Object.getOwnPropertyDescriptor(oe,"checked").set,We=c!==J.current;J.current=c;let Ye=X.current!==m;X.current=m;let ze=!(We&&l.current);if(Ye&&ye){G.current=!We;let qe=new Event("click",{bubbles:ze});ye.call(re,m),re.dispatchEvent(qe),G.current=!1}},[j,m,l,c]);let ee=b(m);return t(se.input,{type:"checkbox","aria-hidden":!0,defaultChecked:g??ee.current,required:M,disabled:v,name:y,value:x,form:_,...i,tabIndex:-1,ref:T,onClick:Y(a,(re)=>{if(G.current)re.stopPropagation()}),style:{...i.style,...N,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"SwitchBubbleInput"));function xie(e){return typeof e==="function"}m8(xie,"isFunction");function ZU(e){return e?"checked":"unchecked"}m8(ZU,"getState");S();var uRe=Object.defineProperty,zI=(e,r)=>uRe(e,"name",{value:r,configurable:!0}),pU="Tabs",[dRe,QGo]=pt(pU,[da]),bie=da(),[ZRe,mU]=dRe(pU),pRe=O(zI(function(r,a){let{__scopeTabs:i,value:f,onValueChange:s,defaultValue:l,orientation:c="horizontal",dir:m,activationMode:g="automatic",...M}=r,v=Hn(m),[y,x]=Ft({prop:f,onChange:s,defaultProp:l??"",caller:pU});return t(ZRe,{scope:i,baseId:xr(),value:y,onValueChange:x,orientation:c,dir:v,activationMode:g,children:t(se.div,{dir:v,"data-orientation":c,...M,ref:a})})},"Tabs")),mRe="TabsList",hRe=O(zI(function(r,a){let{__scopeTabs:i,loop:f=!0,...s}=r,l=mU(mRe,i),c=bie(i);return t(fl,{asChild:!0,...c,orientation:l.orientation,dir:l.dir,loop:f,children:t(se.div,{role:"tablist","aria-orientation":l.orientation,...s,ref:a})})},"TabsList")),gRe="TabsTrigger",MRe=O(zI(function(r,a){let{__scopeTabs:i,value:f,disabled:s=!1,...l}=r,c=mU(gRe,i),m=bie(i),g=hU(c.baseId,f),M=gU(c.baseId,f),v=f===c.value;return t(pl,{asChild:!0,...m,focusable:!s,active:v,children:t(se.button,{type:"button",role:"tab","aria-selected":v,"aria-controls":M,"data-state":v?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:g,...l,ref:a,onMouseDown:Y(r.onMouseDown,(y)=>{if(!s&&y.button===0&&y.ctrlKey===!1)c.onValueChange(f);else y.preventDefault()}),onKeyDown:Y(r.onKeyDown,(y)=>{if(s||y.target!==y.currentTarget)return;if([" ","Enter"].includes(y.key))c.onValueChange(f)}),onFocus:Y(r.onFocus,()=>{let y=c.activationMode!=="manual";if(!v&&!s&&y)c.onValueChange(f)})})})},"TabsTrigger")),vRe="TabsContent",xRe=O(zI(function(r,a){let{__scopeTabs:i,value:f,forceMount:s,children:l,...c}=r,m=mU(vRe,i),g=hU(m.baseId,f),M=gU(m.baseId,f),v=f===m.value,y=b(v);return h(()=>{let x=requestAnimationFrame(()=>y.current=!1);return()=>cancelAnimationFrame(x)},[]),t(ar,{present:s||v,children:({present:x})=>t(se.div,{"data-state":v?"active":"inactive","data-orientation":m.orientation,role:"tabpanel","aria-labelledby":g,hidden:!x,id:M,tabIndex:0,...c,ref:a,style:{...r.style,animationDuration:y.current?"0s":void 0},children:x&&l})})},"TabsContent"));function hU(e,r){return`${e}-trigger-${r}`}zI(hU,"makeTriggerId");function gU(e,r){return`${e}-content-${r}`}zI(gU,"makeContentId");var yRe=pRe,bRe=hRe,_Re=MRe,wRe=xRe;S();var zRe=Object.defineProperty,hi=(e,r)=>zRe(e,"name",{value:r,configurable:!0}),[xU,uKo]=pt("Tooltip",[gc]),vN=gc(),SRe="TooltipProvider",LRe=700,MU="tooltip.open",[kRe,yU]=xU(SRe),CRe=hi((e)=>{let{__scopeTooltip:r,delayDuration:a=LRe,skipDelayDuration:i=300,disableHoverableContent:f=!1,children:s}=e,l=b(!0),c=b(!1),m=b(0);return h(()=>{let g=m.current;return()=>window.clearTimeout(g)},[]),t(kRe,{scope:r,isOpenDelayedRef:l,delayDuration:a,onOpen:P(()=>{if(i<=0)return;window.clearTimeout(m.current),l.current=!1},[i]),onClose:P(()=>{if(i<=0)return;window.clearTimeout(m.current),m.current=window.setTimeout(()=>l.current=!0,i)},[i]),isPointerInTransitRef:c,onPointerInTransitChange:P((g)=>{c.current=g},[]),disableHoverableContent:f,children:s})},"TooltipProvider"),vU="Tooltip",[IRe,jT]=xU(vU),RRe=hi((e)=>{let{__scopeTooltip:r,children:a,open:i,defaultOpen:f,onOpenChange:s,disableHoverableContent:l,delayDuration:c}=e,m=yU(vU,e.__scopeTooltip),g=vN(r),[M,v]=u(null),[y,x]=u(void 0),_=xr(),j=b(0),U=l??m.disableHoverableContent,T=c??m.delayDuration,N=b(!1),[G,X]=Ft({prop:i,defaultProp:f??!1,onChange:hi((ye)=>{if(ye)m.onOpen(),document.dispatchEvent(new CustomEvent(MU));else m.onClose();s?.(ye)},"onChange"),caller:vU}),J=D(()=>G?N.current?"delayed-open":"instant-open":"closed",[G]),ee=P(()=>{window.clearTimeout(j.current),j.current=0,N.current=!1,X(!0)},[X]),re=P(()=>{window.clearTimeout(j.current),j.current=0,X(!1)},[X]),oe=P(()=>{window.clearTimeout(j.current),j.current=window.setTimeout(()=>{N.current=!0,X(!0),j.current=0},T)},[T,X]);return h(()=>()=>{if(j.current)window.clearTimeout(j.current),j.current=0},[]),t(lm,{...g,children:t(IRe,{scope:r,contentId:y??_,setContentId:x,open:G,stateAttribute:J,trigger:M,onTriggerChange:v,onTriggerEnter:P(()=>{if(m.isOpenDelayedRef.current)oe();else ee()},[m.isOpenDelayedRef,oe,ee]),onTriggerLeave:P(()=>{if(U)re();else window.clearTimeout(j.current),j.current=0},[re,U]),onOpen:ee,onClose:re,disableHoverableContent:U,children:a})})},"Tooltip"),wie="TooltipTrigger",PRe=O(hi(function(r,a){let{__scopeTooltip:i,...f}=r,s=jT(wie,i),l=yU(wie,i),c=vN(i),m=b(null),g=_e(a,m,s.onTriggerChange),M=b(!1),v=b(!1),y=P(()=>M.current=!1,[]);return h(()=>()=>document.removeEventListener("pointerup",y),[y]),t(c8,{asChild:!0,...c,children:t(se.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...f,ref:g,onPointerMove:Y(r.onPointerMove,(x)=>{if(x.pointerType==="touch")return;if(!v.current&&!l.isPointerInTransitRef.current)s.onTriggerEnter(),v.current=!0}),onPointerLeave:Y(r.onPointerLeave,()=>{s.onTriggerLeave(),v.current=!1}),onPointerDown:Y(r.onPointerDown,()=>{if(s.open)s.onClose();M.current=!0,document.addEventListener("pointerup",y,{once:!0})}),onFocus:Y(r.onFocus,()=>{if(!M.current)s.onOpen()}),onBlur:Y(r.onBlur,s.onClose),onClick:Y(r.onClick,s.onClose)})})},"TooltipTrigger")),zie="TooltipPortal",[TRe,ARe]=xU(zie,{forceMount:void 0}),ERe=hi((e)=>{let{__scopeTooltip:r,forceMount:a,children:i,container:f}=e,s=jT(zie,r);return t(TRe,{scope:r,forceMount:a,children:t(ar,{present:a||s.open,children:t(nZ,{asChild:!0,container:f,children:i})})})},"TooltipPortal"),OT="TooltipContent",DRe=O(hi(function(r,a){let i=ARe(OT,r.__scopeTooltip),{forceMount:f=i.forceMount,side:s="top",...l}=r,c=jT(OT,r.__scopeTooltip);return t(ar,{present:f||c.open,children:c.disableHoverableContent?t(Sie,{side:s,...l,ref:a}):t(ORe,{side:s,...l,ref:a})})},"TooltipContent")),ORe=O(hi(function(r,a){let i=jT(OT,r.__scopeTooltip),f=yU(OT,r.__scopeTooltip),s=b(null),l=_e(a,s),[c,m]=u(null),{trigger:g,onClose:M}=i,v=s.current,{onPointerInTransitChange:y}=f,x=P(()=>{m(null),y(!1)},[y]),_=P((j,U)=>{let T=j.currentTarget,N={x:j.clientX,y:j.clientY},G=Lie(N,T.getBoundingClientRect()),X=kie(N,G),J=Cie(U.getBoundingClientRect()),ee=Rie([...X,...J]);m(ee),y(!0)},[y]);return h(()=>()=>x(),[x]),h(()=>{if(g&&v){let j=hi((T)=>_(T,v),"handleTriggerLeave"),U=hi((T)=>_(T,g),"handleContentLeave");return g.addEventListener("pointerleave",j),v.addEventListener("pointerleave",U),()=>{g.removeEventListener("pointerleave",j),v.removeEventListener("pointerleave",U)}}},[g,v,_,x]),h(()=>{if(c){let j=hi((U)=>{let T=U.target,N={x:U.clientX,y:U.clientY},G=g?.contains(T)||v?.contains(T),X=!Iie(N,c);if(G)x();else if(X)x(),M()},"handleTrackPointerGrace");return document.addEventListener("pointermove",j),()=>document.removeEventListener("pointermove",j)}},[g,v,c,M,x]),t(Sie,{...r,ref:l})},"TooltipContentHoverable")),jRe=PY("TooltipContent"),Sie=O(hi(function(r,a){let{__scopeTooltip:i,children:f,"aria-label":s,id:l,onEscapeKeyDown:c,onPointerDownOutside:m,...g}=r,M=jT(OT,i),v=vN(i),{onClose:y}=M;h(()=>(document.addEventListener(MU,y),()=>document.removeEventListener(MU,y)),[y]),h(()=>{if(M.trigger){let _=hi((j)=>{if(j.target instanceof Node&&j.target.contains(M.trigger))y()},"handleScroll");return window.addEventListener("scroll",_,{capture:!0}),()=>window.removeEventListener("scroll",_,{capture:!0})}},[M.trigger,y]);let{setContentId:x}=M;return It(()=>(x(l),()=>{x(void 0)}),[l,x]),t(aZ,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:m,onFocusOutside:(_)=>_.preventDefault(),onDismiss:y,children:o(u8,{"data-state":M.stateAttribute,role:s?void 0:"tooltip",id:s?void 0:M.contentId,...v,...g,ref:a,style:{...g.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:[t(jRe,{children:f}),s?t(oie,{id:M.contentId,role:"tooltip",children:s}):null]})})},"TooltipContentImpl")),NRe=O(hi(function(r,a){let{__scopeTooltip:i,...f}=r,s=vN(i);return t(kT,{...s,...f,ref:a})},"TooltipArrow"));function Lie(e,r){let a=Math.abs(r.top-e.y),i=Math.abs(r.bottom-e.y),f=Math.abs(r.right-e.x),s=Math.abs(r.left-e.x);switch(Math.min(a,i,f,s)){case s:return"left";case f:return"right";case a:return"top";case i:return"bottom";default:throw Error("unreachable")}}hi(Lie,"getExitSideFromRect");function kie(e,r,a=5){let i=[];switch(r){case"top":i.push({x:e.x-a,y:e.y+a},{x:e.x+a,y:e.y+a});break;case"bottom":i.push({x:e.x-a,y:e.y-a},{x:e.x+a,y:e.y-a});break;case"left":i.push({x:e.x+a,y:e.y-a},{x:e.x+a,y:e.y+a});break;case"right":i.push({x:e.x-a,y:e.y-a},{x:e.x-a,y:e.y+a});break}return i}hi(kie,"getPaddedExitPoints");function Cie(e){let{top:r,right:a,bottom:i,left:f}=e;return[{x:f,y:r},{x:a,y:r},{x:a,y:i},{x:f,y:i}]}hi(Cie,"getPointsFromRect");function Iie(e,r){let{x:a,y:i}=e,f=!1;for(let s=0,l=r.length-1;s<r.length;l=s++){let c=r[s],m=r[l],{x:g,y:M}=c,{x:v,y}=m;if(M>i!==y>i&&a<(v-g)*(i-M)/(y-M)+g)f=!f}return f}hi(Iie,"isPointInPolygon");function Rie(e){let r=e.slice();return r.sort((a,i)=>{if(a.x<i.x)return-1;else if(a.x>i.x)return 1;else if(a.y<i.y)return-1;else if(a.y>i.y)return 1;else return 0}),Pie(r)}hi(Rie,"getHull");function Pie(e){if(e.length<=1)return e.slice();let r=[];for(let i=0;i<e.length;i++){let f=e[i];while(r.length>=2){let s=r[r.length-1],l=r[r.length-2];if((s.x-l.x)*(f.y-l.y)>=(s.y-l.y)*(f.x-l.x))r.pop();else break}r.push(f)}r.pop();let a=[];for(let i=e.length-1;i>=0;i--){let f=e[i];while(a.length>=2){let s=a[a.length-1],l=a[a.length-2];if((s.x-l.x)*(f.y-l.y)>=(s.y-l.y)*(f.x-l.x))a.pop();else break}a.push(f)}if(a.pop(),r.length===1&&a.length===1&&r[0].x===a[0].x&&r[0].y===a[0].y)return r;else return r.concat(a)}hi(Pie,"getHullPresorted");var FRe=CRe,BRe=RRe,YRe=PRe,URe=ERe,qRe=DRe,VRe=NRe;var xN=us("inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap cursor-pointer transition-colors outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground 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",xs:"h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-xs":"size-6 rounded-md [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function E({className:e,variant:r="default",size:a="default",asChild:i=!1,...f}){let s=i?eoe:"button";return t(s,{"data-slot":"button","data-variant":r,"data-size":a,className:C(xN({variant:r,size:a,className:e})),...f})}function fn({delayDuration:e=0,...r}){return t(FRe,{"data-slot":"tooltip-provider",delayDuration:e,...r})}function pn({...e}){return t(BRe,{"data-slot":"tooltip",...e})}function mn({...e}){return t(YRe,{"data-slot":"tooltip-trigger",...e})}function hn({className:e,sideOffset:r=0,children:a,...i}){return t(URe,{children:o(qRe,{"data-slot":"tooltip-content",sideOffset:r,className:C("z-50 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in rounded-md bg-foreground px-3 py-1.5 text-xs text-balance text-background fade-in-0 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",e),...i,children:[a,t(VRe,{className:"z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground"})]})})}function Ce({className:e,size:r="default",...a}){return t(ELe,{"data-slot":"avatar","data-size":r,className:C("group/avatar relative flex size-8 shrink-0 overflow-hidden rounded-full select-none data-[size=lg]:size-10 data-[size=sm]:size-6",e),...a})}function Ie({className:e,...r}){return t(OLe,{"data-slot":"avatar-image",className:C("aspect-square size-full",e),...r})}function Te({className:e,...r}){return t(NLe,{"data-slot":"avatar-fallback",className:C("flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",e),...r})}function he({...e}){return t(rCe,{"data-slot":"dropdown-menu",...e})}function Ja({...e}){return t(Dne,{"data-slot":"dropdown-menu-portal",...e})}function ge({...e}){return t(oCe,{"data-slot":"dropdown-menu-trigger",...e})}function Ae({className:e,sideOffset:r=4,...a}){return t(Dne,{children:t(aCe,{"data-slot":"dropdown-menu-content",sideOffset:r,className:C("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 bg-popover p-1 text-popover-foreground shadow-md 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",e),...a})})}function W({className:e,inset:r,variant:a="default",...i}){return t(iCe,{"data-slot":"dropdown-menu-item","data-inset":r,"data-variant":a,className:C("relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground data-[variant=destructive]:*:[svg]:text-destructive!",e),...i})}function Mc({...e}){return t(fCe,{"data-slot":"dropdown-menu-radio-group",...e})}function pa({className:e,children:r,...a}){return o(sCe,{"data-slot":"dropdown-menu-radio-item",className:C("relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground 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:[t("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:t(lCe,{children:t(tT,{className:"size-2 fill-current"})})}),r]})}function Vr({className:e,inset:r,...a}){return t(nCe,{"data-slot":"dropdown-menu-label","data-inset":r,className:C("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...a})}function Vt({className:e,...r}){return t(cCe,{"data-slot":"dropdown-menu-separator",className:C("-mx-1 my-1 h-px bg-border",e),...r})}function ds({...e}){return t(uCe,{"data-slot":"dropdown-menu-sub",...e})}function fs({className:e,inset:r,children:a,...i}){return o(dCe,{"data-slot":"dropdown-menu-sub-trigger","data-inset":r,className:C("flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[inset]:pl-8 data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",e),...i,children:[a,t(bt,{className:"ml-auto size-4"})]})}function ps({className:e,...r}){return t(ZCe,{"data-slot":"dropdown-menu-sub-content",className:C("z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",e),...r})}S();function HRe(e){let r=e.match(/teams\/([^/]+)/);if(r)return{teamId:r[1]};let a=e.match(/projects\/([^/]+)/);if(a)return{projectId:a[1]};return{}}function ms(){let[e,r]=u(),a=tz({select:(l)=>l.location.pathname}),{teamId:i,projectId:f}=HRe(a),{data:s}=L({queryKey:["projects",f,"team"],queryFn:async()=>{let l=await A.api.projects[":projectId"].team.$get({param:{projectId:f}});if(!l.ok)throw Error("failed to fetch project team");return await l.json()},enabled:!!f});return h(()=>{if(i)r(i);else if(s?.teamId)r(s.teamId)},[i,s]),e}var yN=Object.create(null),NT=(e)=>globalThis.process?.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?yN:globalThis),dm=new Proxy(yN,{get(e,r){return NT()[r]??yN[r]},has(e,r){return r in NT()||r in yN},set(e,r,a){let i=NT(!0);return i[r]=a,!0},deleteProperty(e,r){if(!r)return!1;let a=NT(!0);return delete a[r],!0},ownKeys(){let e=NT(!0);return Object.keys(e)}});var WRe=typeof process<"u"&&process.env&&"production"||"";function h8(e,r){if(typeof process<"u"&&process.env)return process.env[e]??r;if(typeof Deno<"u")return Deno.env.get(e)??r;if(typeof Bun<"u")return Bun.env[e]??r;return r}var GRe=Object.freeze({get BETTER_AUTH_SECRET(){return h8("BETTER_AUTH_SECRET")},get AUTH_SECRET(){return h8("AUTH_SECRET")},get BETTER_AUTH_TELEMETRY(){return h8("BETTER_AUTH_TELEMETRY")},get BETTER_AUTH_TELEMETRY_ID(){return h8("BETTER_AUTH_TELEMETRY_ID")},get NODE_ENV(){return h8("NODE_ENV","development")},get PACKAGE_VERSION(){return h8("PACKAGE_VERSION","0.0.0")},get BETTER_AUTH_TELEMETRY_ENDPOINT(){return h8("BETTER_AUTH_TELEMETRY_ENDPOINT","")}});function KRe(){let e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");if(e===void 0)return Object.isExtensible(Error);return Object.prototype.hasOwnProperty.call(e,"writable")?e.writable:e.set!==void 0}function XRe(e){let r=e.split(`
61
- at `);if(r.length<=1)return e;return r.splice(1,1),r.join(`
62
- at `)}function QRe(e,r){class a extends e{#e;constructor(...i){if(KRe()){let s=Error.stackTraceLimit;Error.stackTraceLimit=0;super(...i);Error.stackTraceLimit=s}else super(...i);let f=Error().stack;if(f)this.#e=XRe(f.replace(/^Error/,this.name))}get errorStack(){return this.#e}}return Object.defineProperty(a.prototype,"constructor",{get(){return r},enumerable:!1,configurable:!0}),a}var JRe={OK:200,CREATED:201,ACCEPTED:202,NO_CONTENT:204,MULTIPLE_CHOICES:300,MOVED_PERMANENTLY:301,FOUND:302,SEE_OTHER:303,NOT_MODIFIED:304,TEMPORARY_REDIRECT:307,BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,NOT_ACCEPTABLE:406,PROXY_AUTHENTICATION_REQUIRED:407,REQUEST_TIMEOUT:408,CONFLICT:409,GONE:410,LENGTH_REQUIRED:411,PRECONDITION_FAILED:412,PAYLOAD_TOO_LARGE:413,URI_TOO_LONG:414,UNSUPPORTED_MEDIA_TYPE:415,RANGE_NOT_SATISFIABLE:416,EXPECTATION_FAILED:417,"I'M_A_TEAPOT":418,MISDIRECTED_REQUEST:421,UNPROCESSABLE_ENTITY:422,LOCKED:423,FAILED_DEPENDENCY:424,TOO_EARLY:425,UPGRADE_REQUIRED:426,PRECONDITION_REQUIRED:428,TOO_MANY_REQUESTS:429,REQUEST_HEADER_FIELDS_TOO_LARGE:431,UNAVAILABLE_FOR_LEGAL_REASONS:451,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,HTTP_VERSION_NOT_SUPPORTED:505,VARIANT_ALSO_NEGOTIATES:506,INSUFFICIENT_STORAGE:507,LOOP_DETECTED:508,NOT_EXTENDED:510,NETWORK_AUTHENTICATION_REQUIRED:511},$Re=class extends Error{constructor(e="INTERNAL_SERVER_ERROR",r=void 0,a={},i=typeof e==="number"?e:JRe[e]){super(r?.message,r?.cause?{cause:r.cause}:void 0);this.status=e,this.body=r,this.headers=a,this.statusCode=i,this.name="APIError",this.status=e,this.headers=a,this.statusCode=i,this.body=r}};var ePe=QRe($Re,Error);var SI=class extends Error{constructor(e,r){super(e,r);this.name="BetterAuthError",this.message=e,this.stack=""}};function tPe(e){try{return(new URL(e).pathname.replace(/\/+$/,"")||"/")!=="/"}catch{throw new SI(`Invalid base URL: ${e}. Please provide a valid base URL.`)}}function rPe(e){try{let r=new URL(e);if(r.protocol!=="http:"&&r.protocol!=="https:")throw new SI(`Invalid base URL: ${e}. URL must include 'http://' or 'https://'`)}catch(r){if(r instanceof SI)throw r;throw new SI(`Invalid base URL: ${e}. Please provide a valid base URL.`,{cause:r})}}function FT(e,r="/api/auth"){if(rPe(e),tPe(e))return e;let a=e.replace(/\/+$/,"");if(!r||r==="/")return a;return r=r.startsWith("/")?r:`/${r}`,`${a}${r}`}function Aie(e,r){if(!e||e.trim()==="")return!1;if(r==="proto")return e==="http"||e==="https";if(r==="host"){if([/\.\./,/\0/,/[\s]/,/^[.]/,/[<>'"]/,/javascript:/i,/file:/i,/data:/i].some((a)=>a.test(e)))return!1;return/^[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(\.[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*(:[0-9]{1,5})?$/.test(e)||/^(\d{1,3}\.){3}\d{1,3}(:[0-9]{1,5})?$/.test(e)||/^\[[0-9a-fA-F:]+\](:[0-9]{1,5})?$/.test(e)||/^localhost(:[0-9]{1,5})?$/i.test(e)}return!1}function Eie(e,r,a,i,f){if(e)return FT(e,r);if(i!==!1){let c=dm.BETTER_AUTH_URL||dm.NEXT_PUBLIC_BETTER_AUTH_URL||dm.PUBLIC_BETTER_AUTH_URL||dm.NUXT_PUBLIC_BETTER_AUTH_URL||dm.NUXT_PUBLIC_AUTH_URL||(dm.BASE_URL!=="/"?dm.BASE_URL:void 0);if(c)return FT(c,r)}let s=a?.headers.get("x-forwarded-host"),l=a?.headers.get("x-forwarded-proto");if(s&&l&&f){if(Aie(l,"proto")&&Aie(s,"host"))try{return FT(`${l}://${s}`,r)}catch(c){}}if(a){let c=oPe(a.url);if(!c)throw new SI("Could not get origin from request. Please provide a valid base URL.");return FT(c,r)}if(typeof window<"u"&&window.location)return FT(window.location.origin,r)}function oPe(e){try{let r=new URL(e);return r.origin==="null"?null:r.origin}catch{return null}}var aPe={proto:/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,constructor:/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,protoShort:/"__proto__"\s*:/,constructorShort:/"constructor"\s*:/},nPe=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/,Die={true:!0,false:!1,null:null,undefined:void 0,nan:NaN,infinity:Number.POSITIVE_INFINITY,"-infinity":Number.NEGATIVE_INFINITY},iPe=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,7}))?(?:Z|([+-])(\d{2}):(\d{2}))$/;function fPe(e){return e instanceof Date&&!isNaN(e.getTime())}function sPe(e){let r=iPe.exec(e);if(!r)return null;let[,a,i,f,s,l,c,m,g,M,v]=r,y=new Date(Date.UTC(parseInt(a,10),parseInt(i,10)-1,parseInt(f,10),parseInt(s,10),parseInt(l,10),parseInt(c,10),m?parseInt(m.padEnd(3,"0"),10):0));if(g){let x=(parseInt(M,10)*60+parseInt(v,10))*(g==="+"?-1:1);y.setUTCMinutes(y.getUTCMinutes()+x)}return fPe(y)?y:null}function lPe(e,r={}){let{strict:a=!1,warnings:i=!1,reviver:f,parseDates:s=!0}=r;if(typeof e!=="string")return e;let l=e.trim();if(l.length>0&&l[0]==='"'&&l.endsWith('"')&&!l.slice(1,-1).includes('"'))return l.slice(1,-1);let c=l.toLowerCase();if(c.length<=9&&c in Die)return Die[c];if(!nPe.test(l)){if(a)throw SyntaxError("[better-json] Invalid JSON");return e}if(Object.entries(aPe).some(([m,g])=>{let M=g.test(l);if(M&&i)console.warn(`[better-json] Detected potential prototype pollution attempt using ${m} pattern`);return M})&&a)throw Error("[better-json] Potential prototype pollution attempt detected");try{return JSON.parse(l,(g,M)=>{if(g==="__proto__"||g==="constructor"&&M&&typeof M==="object"&&"prototype"in M){if(i)console.warn(`[better-json] Dropping "${g}" key to prevent prototype pollution`);return}if(s&&typeof M==="string"){let v=sPe(M);if(v)return v}return f?f(g,M):M})}catch(m){if(a)throw m;return e}}function Oie(e,r={strict:!0}){return lPe(e,r)}var jie={id:"redirect",name:"Redirect",hooks:{onSuccess(e){if(e.data?.url&&e.data?.redirect){if(typeof window<"u"&&window.location){if(window.location)try{window.location.href=e.data.url}catch{}}}}}};var mu=[],g8=0,bN=null,_N=4,cPe=globalThis.nanostoresGlobal||={epoch:0},uPe=()=>{let e;for(g8=0;g8<mu.length;g8+=_N)try{mu[g8](mu[g8+1].value,mu[g8+2],mu[g8+3])}catch(r){e=r}if(mu.length=0,e)throw e};var BT=(e)=>{let r=[],a={eq:Object.is,get(){if(!a.lc)a.listen(()=>{})();return a.value},init:e,lc:0,listen(i){return a.lc=r.push(i),()=>{for(let s=g8+_N;s<mu.length;)if(mu[s]===i)mu.splice(s,_N);else s+=_N;let f=r.indexOf(i);if(~f){if(r.splice(f,1),!--a.lc)a.off()}}},notify(i,f){cPe.epoch++;let s=!mu.length&&!bN;for(let l of r){if(bN?.has(l))continue;bN?.add(l),mu.push(l,a,i,bN?void 0:f)}if(s)uPe()},off(){},set(i){let f=a.value;if(!a.eq(f,i))a.value=i,a.notify(f)},subscribe(i){let f=a.listen(i);return i(a.value),f},value:e};return a};var dPe=5,wN=6,zN=10,ZPe=(e,r,a,i)=>{if(e.events=e.events||{},!e.events[a+zN])e.events[a+zN]=i((f)=>{e.events[a].reduceRight((s,l)=>(l(s),s),{shared:{},...f})});return e.events[a]=e.events[a]||[],e.events[a].push(r),()=>{let f=e.events[a],s=f.indexOf(r);if(f.splice(s,1),!f.length)delete e.events[a],e.events[a+zN](),delete e.events[a+zN]}};var Nie=1000,YT=(e,r)=>ZPe(e,(i)=>{let f=r(i);if(f)e.events[wN].push(f)},dPe,(i)=>{let f=e.listen;e.listen=(...l)=>{if(!e.lc&&!e.active)e.active=!0,i();return f(...l)};let s=e.off;return e.events[wN]=[],e.off=()=>{s(),setTimeout(()=>{if(e.active&&!e.lc){e.active=!1;for(let l of e.events[wN])l();e.events[wN]=[]}},Nie)},()=>{e.listen=f,e.off=s}});function bU(e,r){let a=pPe(r),i=e;for(let f of a){if(i==null)return;i=i[f]}return i}var Fie=/(.*)\[(\d+)\]/;function pPe(e){return e.split(".").flatMap((r)=>Bie(r))}function Bie(e){if(Fie.test(e)){let[,r,a]=e.match(Fie);return[...Bie(r),a]}return[e]}function _U(e,r,a){let i=new Set(r);return e.listen((f,s,l)=>{if(l===void 0?r.some((c)=>s===void 0||f[c]!==s[c]||bU(f,c)!==bU(s,c)):i.has(l)||i.has(l.split(/\.|\[/)[0]))a(f,s,l)})}var mPe=()=>typeof window>"u",Yie=(e,r,a,i)=>{let f=BT({data:null,error:null,isPending:!0,isRefetching:!1,refetch:(c)=>s(c)}),s=async(c)=>new Promise((m)=>{let g=typeof i==="function"?i({data:f.get().data,error:f.get().error,isPending:f.get().isPending}):i;a(r,{...g,query:{...g?.query,...c?.query},async onSuccess(M){f.set({data:M.data,error:null,isPending:!1,isRefetching:!1,refetch:f.value.refetch}),await g?.onSuccess?.(M)},async onError(M){let{request:v}=M,y=typeof v.retry==="number"?v.retry:v.retry?.attempts,x=v.retryAttempt||0;if(y&&x<y)return;let _=M.error.status===401;f.set({error:M.error,data:_?null:f.get().data,isPending:!1,isRefetching:!1,refetch:f.value.refetch}),await g?.onError?.(M)},async onRequest(M){let v=f.get();f.set({isPending:v.data===null,data:v.data,error:null,isRefetching:!0,refetch:f.value.refetch}),await g?.onRequest?.(M)}}).catch((M)=>{f.set({error:M,data:f.get().data,isPending:!1,isRefetching:!1,refetch:f.value.refetch})}).finally(()=>{m(void 0)})});e=Array.isArray(e)?e:[e];let l=!1;for(let c of e)c.subscribe(async()=>{if(mPe())return;if(l)await s();else YT(f,()=>{let m=setTimeout(async()=>{if(!l)l=!0,await s()},0);return()=>{f.off(),c.off(),clearTimeout(m)}})});return f};var wU=Symbol.for("better-auth:broadcast-channel"),hPe=()=>Math.floor(Date.now()/1000),gPe=class{listeners=new Set;name;constructor(e="better-auth.message"){this.name=e}subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}post(e){if(typeof window>"u")return;try{localStorage.setItem(this.name,JSON.stringify({...e,timestamp:hPe()}))}catch{}}setup(){if(typeof window>"u"||typeof window.addEventListener>"u")return()=>{};let e=(r)=>{if(r.key!==this.name)return;let a=JSON.parse(r.newValue??"{}");if(a?.event!=="session"||!a?.data)return;this.listeners.forEach((i)=>i(a))};return window.addEventListener("storage",e),()=>{window.removeEventListener("storage",e)}}};function SN(e="better-auth.message"){if(!globalThis[wU])globalThis[wU]=new gPe(e);return globalThis[wU]}var zU=Symbol.for("better-auth:focus-manager"),MPe=class{listeners=new Set;subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}setFocused(e){this.listeners.forEach((r)=>r(e))}setup(){if(typeof window>"u"||typeof document>"u"||typeof window.addEventListener>"u")return()=>{};let e=()=>{if(document.visibilityState==="visible")this.setFocused(!0)};return document.addEventListener("visibilitychange",e,!1),()=>{document.removeEventListener("visibilitychange",e,!1)}}};function SU(){if(!globalThis[zU])globalThis[zU]=new MPe;return globalThis[zU]}var LU=Symbol.for("better-auth:online-manager"),vPe=class{listeners=new Set;isOnline=typeof navigator<"u"?navigator.onLine:!0;subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}setOnline(e){this.isOnline=e,this.listeners.forEach((r)=>r(e))}setup(){if(typeof window>"u"||typeof window.addEventListener>"u")return()=>{};let e=()=>this.setOnline(!0),r=()=>this.setOnline(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",e,!1),window.removeEventListener("offline",r,!1)}}};function LN(){if(!globalThis[LU])globalThis[LU]=new vPe;return globalThis[LU]}var LI=()=>Math.floor(Date.now()/1000);function Uie(e){if(typeof e==="object"&&e!==null&&"data"in e&&"error"in e)return e;return{data:e,error:null}}var xPe=5;function qie(e){let{sessionAtom:r,sessionSignal:a,$fetch:i,options:f={}}=e,s=f.sessionOptions?.refetchInterval??0,l=f.sessionOptions?.refetchOnWindowFocus??!0,c=f.sessionOptions?.refetchWhenOffline??!1,m={lastSync:0,lastSessionRequest:0,cachedSession:void 0},g=()=>c||LN().isOnline,M=(N)=>{if(!g())return;if(N?.event==="storage"){m.lastSync=LI(),a.set(!a.get());return}let G=r.get(),X=()=>{m.lastSessionRequest=LI(),i("/get-session").then(async(J)=>{let{data:ee,error:re}=Uie(J);if(ee?.needsRefresh)try{let ae=await i("/get-session",{method:"POST"});({data:ee,error:re}=Uie(ae))}catch{}let oe=ee?.session&&ee?.user?ee:null;r.set({...G,data:oe,error:re}),m.lastSync=LI(),a.set(!a.get())}).catch(()=>{})};if(N?.event==="poll"){X();return}if(N?.event==="visibilitychange"){if(LI()-m.lastSessionRequest<xPe)return;m.lastSessionRequest=LI()}if(N?.event==="visibilitychange"){X();return}if(G?.data===null||G?.data===void 0)m.lastSync=LI(),a.set(!a.get())},v=(N)=>{SN().post({event:"session",data:{trigger:N},clientId:Math.random().toString(36).substring(7)})},y=()=>{if(s&&s>0)m.pollInterval=setInterval(()=>{if(r.get()?.data)M({event:"poll"})},s*1000)},x=()=>{m.unsubscribeBroadcast=SN().subscribe(()=>{M({event:"storage"})})},_=()=>{if(!l)return;m.unsubscribeFocus=SU().subscribe(()=>{M({event:"visibilitychange"})})},j=()=>{m.unsubscribeOnline=LN().subscribe((N)=>{if(N)M({event:"visibilitychange"})})};return{init:()=>{y(),x(),_(),j(),SN().setup(),SU().setup(),LN().setup()},cleanup:()=>{if(m.pollInterval)clearInterval(m.pollInterval),m.pollInterval=void 0;if(m.unsubscribeBroadcast)m.unsubscribeBroadcast(),m.unsubscribeBroadcast=void 0;if(m.unsubscribeFocus)m.unsubscribeFocus(),m.unsubscribeFocus=void 0;if(m.unsubscribeOnline)m.unsubscribeOnline(),m.unsubscribeOnline=void 0;m.lastSync=0,m.lastSessionRequest=0,m.cachedSession=void 0},triggerRefetch:M,broadcastSessionUpdate:v}}function Vie(e,r){let a=BT(!1),i=Yie(a,"/get-session",e,{method:"GET"}),f=()=>{};return YT(i,()=>{let s=qie({sessionAtom:i,sessionSignal:a,$fetch:e,options:r});return s.init(),f=s.broadcastSessionUpdate,()=>{s.cleanup()}}),{session:i,$sessionSignal:a,broadcastSessionUpdate:(s)=>f(s)}}function kU(e){if(e===null||typeof e!=="object")return!1;let r=Object.getPrototypeOf(e);if(r!==null&&r!==Object.prototype&&Object.getPrototypeOf(r)!==null)return!1;if(Symbol.iterator in e)return!1;if(Symbol.toStringTag in e)return Object.prototype.toString.call(e)==="[object Module]";return!0}function CU(e,r,a=".",i){if(!kU(r))return CU(e,{},a,i);let f={...r};for(let s of Object.keys(e)){if(s==="__proto__"||s==="constructor")continue;let l=e[s];if(l===null||l===void 0)continue;if(i&&i(f,s,l,a))continue;if(Array.isArray(l)&&Array.isArray(f[s]))f[s]=[...l,...f[s]];else if(kU(l)&&kU(f[s]))f[s]=CU(l,f[s],(a?`${a}.`:"")+s.toString(),i);else f[s]=l}return f}function IU(e){return(...r)=>r.reduce((a,i)=>CU(a,i,"",e),{})}var Hie=IU(),CQo=IU((e,r,a)=>{if(e[r]!==void 0&&typeof a==="function")return e[r]=a(e[r]),!0}),IQo=IU((e,r,a)=>{if(Array.isArray(e[r])&&typeof a==="function")return e[r]=a(e[r]),!0});var{defineProperty:yPe,defineProperties:bPe,getOwnPropertyDescriptors:_Pe,getOwnPropertySymbols:Wie}=Object,wPe=Object.prototype.hasOwnProperty,zPe=Object.prototype.propertyIsEnumerable,Gie=(e,r,a)=>(r in e)?yPe(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,hu=(e,r)=>{for(var a in r||(r={}))if(wPe.call(r,a))Gie(e,a,r[a]);if(Wie){for(var a of Wie(r))if(zPe.call(r,a))Gie(e,a,r[a])}return e},uZ=(e,r)=>bPe(e,_Pe(r)),SPe=class extends Error{constructor(e,r,a){super(r||e.toString(),{cause:a});this.status=e,this.statusText=r,this.error=a,Error.captureStackTrace(this,this.constructor)}},LPe=async(e,r)=>{var a,i,f,s,l,c;let m=r||{},g={onRequest:[r==null?void 0:r.onRequest],onResponse:[r==null?void 0:r.onResponse],onSuccess:[r==null?void 0:r.onSuccess],onError:[r==null?void 0:r.onError],onRetry:[r==null?void 0:r.onRetry]};if(!r||!(r==null?void 0:r.plugins))return{url:e,options:m,hooks:g};for(let M of(r==null?void 0:r.plugins)||[]){if(M.init){let v=await((a=M.init)==null?void 0:a.call(M,e.toString(),r));m=v.options||m,e=v.url}g.onRequest.push((i=M.hooks)==null?void 0:i.onRequest),g.onResponse.push((f=M.hooks)==null?void 0:f.onResponse),g.onSuccess.push((s=M.hooks)==null?void 0:s.onSuccess),g.onError.push((l=M.hooks)==null?void 0:l.onError),g.onRetry.push((c=M.hooks)==null?void 0:c.onRetry)}return{url:e,options:m,hooks:g}},Kie=class{constructor(e){this.options=e}shouldAttemptRetry(e,r){if(this.options.shouldRetry)return Promise.resolve(e<this.options.attempts&&this.options.shouldRetry(r));return Promise.resolve(e<this.options.attempts)}getDelay(){return this.options.delay}},kPe=class{constructor(e){this.options=e}shouldAttemptRetry(e,r){if(this.options.shouldRetry)return Promise.resolve(e<this.options.attempts&&this.options.shouldRetry(r));return Promise.resolve(e<this.options.attempts)}getDelay(e){return Math.min(this.options.maxDelay,this.options.baseDelay*2**e)}};function CPe(e){if(typeof e==="number")return new Kie({type:"linear",attempts:e,delay:1000});switch(e.type){case"linear":return new Kie(e);case"exponential":return new kPe(e);default:throw Error("Invalid retry strategy")}}var IPe=async(e)=>{let r={},a=async(i)=>typeof i==="function"?await i():i;if(e==null?void 0:e.auth){if(e.auth.type==="Bearer"){let i=await a(e.auth.token);if(!i)return r;r.authorization=`Bearer ${i}`}else if(e.auth.type==="Basic"){let[i,f]=await Promise.all([a(e.auth.username),a(e.auth.password)]);if(!i||!f)return r;r.authorization=`Basic ${btoa(`${i}:${f}`)}`}else if(e.auth.type==="Custom"){let[i,f]=await Promise.all([a(e.auth.prefix),a(e.auth.value)]);if(!f)return r;r.authorization=`${i!=null?i:""} ${f}`}}return r},RPe=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function PPe(e){let r=e.headers.get("content-type"),a=new Set(["image/svg","application/xml","application/xhtml","application/html"]);if(!r)return"json";let i=r.split(";").shift()||"";if(RPe.test(i))return"json";if(a.has(i)||i.startsWith("text/"))return"text";return"blob"}function TPe(e){try{return JSON.parse(e),!0}catch(r){return!1}}function RU(e){if(e===void 0)return!1;let r=typeof e;if(r==="string"||r==="number"||r==="boolean"||r===null)return!0;if(r!=="object")return!1;if(Array.isArray(e))return!0;if(e.buffer)return!1;return e.constructor&&e.constructor.name==="Object"||typeof e.toJSON==="function"}function Xie(e){try{return JSON.parse(e)}catch(r){return e}}function Qie(e){return typeof e==="function"}function APe(e){if(e==null?void 0:e.customFetchImpl)return e.customFetchImpl;if(typeof globalThis<"u"&&Qie(globalThis.fetch))return globalThis.fetch;if(typeof window<"u"&&Qie(window.fetch))return window.fetch;throw Error("No fetch implementation found")}async function EPe(e){let r=new Headers(e==null?void 0:e.headers),a=await IPe(e);for(let[i,f]of Object.entries(a||{}))r.set(i,f);if(!r.has("content-type")){let i=DPe(e==null?void 0:e.body);if(i)r.set("content-type",i)}return r}function DPe(e){if(RU(e))return"application/json";return null}function OPe(e){if(!(e==null?void 0:e.body))return null;let r=new Headers(e==null?void 0:e.headers);if(RU(e.body)&&!r.has("content-type")){for(let[a,i]of Object.entries(e==null?void 0:e.body))if(i instanceof Date)e.body[a]=i.toISOString();return JSON.stringify(e.body)}if(r.has("content-type")&&r.get("content-type")==="application/x-www-form-urlencoded"){if(RU(e.body))return new URLSearchParams(e.body).toString();return e.body}return e.body}function jPe(e,r){var a;if(r==null?void 0:r.method)return r.method.toUpperCase();if(e.startsWith("@")){let i=(a=e.split("@")[1])==null?void 0:a.split("/")[0];if(!Jie.includes(i))return(r==null?void 0:r.body)?"POST":"GET";return i.toUpperCase()}return(r==null?void 0:r.body)?"POST":"GET"}function NPe(e,r){let a;if(!(e==null?void 0:e.signal)&&(e==null?void 0:e.timeout))a=setTimeout(()=>r==null?void 0:r.abort(),e==null?void 0:e.timeout);return{abortTimeout:a,clearTimeout:()=>{if(a)clearTimeout(a)}}}var FPe=class e extends Error{constructor(r,a){super(a||JSON.stringify(r,null,2));this.issues=r,Object.setPrototypeOf(this,e.prototype)}};async function kN(e,r){let a=await e["~standard"].validate(r);if(a.issues)throw new FPe(a.issues);return a.value}var Jie=["get","post","put","patch","delete"];var BPe=(e)=>({id:"apply-schema",name:"Apply Schema",version:"1.0.0",async init(r,a){var i,f,s,l;let c=((f=(i=e.plugins)==null?void 0:i.find((m)=>{var g;return((g=m.schema)==null?void 0:g.config)?r.startsWith(m.schema.config.baseURL||"")||r.startsWith(m.schema.config.prefix||""):!1}))==null?void 0:f.schema)||e.schema;if(c){let m=r;if((s=c.config)==null?void 0:s.prefix){if(m.startsWith(c.config.prefix)){if(m=m.replace(c.config.prefix,""),c.config.baseURL)r=r.replace(c.config.prefix,c.config.baseURL)}}if((l=c.config)==null?void 0:l.baseURL){if(m.startsWith(c.config.baseURL))m=m.replace(c.config.baseURL,"")}let g=c.schema[m];if(g){let M=uZ(hu({},a),{method:g.method,output:g.output});if(!(a==null?void 0:a.disableValidation))M=uZ(hu({},M),{body:g.input?await kN(g.input,a==null?void 0:a.body):a==null?void 0:a.body,params:g.params?await kN(g.params,a==null?void 0:a.params):a==null?void 0:a.params,query:g.query?await kN(g.query,a==null?void 0:a.query):a==null?void 0:a.query});return{url:r,options:M}}}return{url:r,options:a}}}),$ie=(e)=>{async function r(a,i){let f=uZ(hu(hu({},e),i),{plugins:[...(e==null?void 0:e.plugins)||[],BPe(e||{}),...(i==null?void 0:i.plugins)||[]]});if(e==null?void 0:e.catchAllError)try{return await PU(a,f)}catch(s){return{data:null,error:{status:500,statusText:"Fetch Error",message:"Fetch related error. Captured by catchAllError option. See error property for more details.",error:s}}}return await PU(a,f)}return r};function YPe(e,r){let{baseURL:a,params:i,query:f}=r||{query:{},params:{},baseURL:""},s=e.startsWith("http")?e.split("/").slice(0,3).join("/"):a||"";if(e.startsWith("@")){let v=e.toString().split("@")[1].split("/")[0];if(Jie.includes(v))e=e.replace(`@${v}/`,"/")}if(!s.endsWith("/"))s+="/";let[l,c]=e.replace(s,"").split("?"),m=new URLSearchParams(c);for(let[v,y]of Object.entries(f||{})){if(y==null)continue;let x;if(typeof y==="string")x=y;else if(Array.isArray(y)){for(let _ of y)m.append(v,_);continue}else x=JSON.stringify(y);m.set(v,x)}if(i)if(Array.isArray(i)){let v=l.split("/").filter((y)=>y.startsWith(":"));for(let[y,x]of v.entries()){let _=i[y];l=l.replace(x,_)}}else for(let[v,y]of Object.entries(i))l=l.replace(`:${v}`,String(y));if(l=l.split("/").map(encodeURIComponent).join("/"),l.startsWith("/"))l=l.slice(1);let g=m.toString();if(g=g.length>0?`?${g}`.replace(/\+/g,"%20"):"",!s.startsWith("http"))return`${s}${l}${g}`;return new URL(`${l}${g}`,s)}var PU=async(e,r)=>{var a,i,f,s,l,c,m,g;let{hooks:M,url:v,options:y}=await LPe(e,r),x=APe(y),_=new AbortController,j=(a=y.signal)!=null?a:_.signal,U=YPe(v,y),T=OPe(y),N=await EPe(y),G=jPe(v,y),X=uZ(hu({},y),{url:U,headers:N,body:T,method:G,signal:j});for(let ze of M.onRequest)if(ze){let qe=await ze(X);if(typeof qe==="object"&&qe!==null)X=qe}if("pipeTo"in X&&typeof X.pipeTo==="function"||typeof((i=r==null?void 0:r.body)==null?void 0:i.pipe)==="function"){if(!("duplex"in X))X.duplex="half"}let{clearTimeout:J}=NPe(y,_),ee=await x(X.url,X);J();let re={response:ee,request:X};for(let ze of M.onResponse)if(ze){let qe=await ze(uZ(hu({},re),{response:((f=r==null?void 0:r.hookOptions)==null?void 0:f.cloneResponse)?ee.clone():ee}));if(qe instanceof Response)ee=qe;else if(typeof qe==="object"&&qe!==null)ee=qe.response}if(ee.ok){if(X.method==="HEAD")return{data:"",error:null};let qe=PPe(ee),ut={data:null,response:ee,request:X};if(qe==="json"||qe==="text"){let $e=await ee.text(),xt=(s=X.jsonParser)!=null?s:Xie;ut.data=await xt($e)}else ut.data=await ee[qe]();if(X==null?void 0:X.output){if(X.output&&!X.disableValidation)ut.data=await kN(X.output,ut.data)}for(let $e of M.onSuccess)if($e)await $e(uZ(hu({},ut),{response:((l=r==null?void 0:r.hookOptions)==null?void 0:l.cloneResponse)?ee.clone():ee}));if(r==null?void 0:r.throw)return ut.data;return{data:ut.data,error:null}}let oe=(c=r==null?void 0:r.jsonParser)!=null?c:Xie,ae=await ee.text(),ye=TPe(ae),We=ye?await oe(ae):null,Ye={response:ee,responseText:ae,request:X,error:uZ(hu({},We),{status:ee.status,statusText:ee.statusText})};for(let ze of M.onError)if(ze)await ze(uZ(hu({},Ye),{response:((m=r==null?void 0:r.hookOptions)==null?void 0:m.cloneResponse)?ee.clone():ee}));if(r==null?void 0:r.retry){let ze=CPe(r.retry),qe=(g=r.retryAttempt)!=null?g:0;if(await ze.shouldAttemptRetry(qe,ee)){for(let $e of M.onRetry)if($e)await $e(re);let ut=ze.getDelay(qe);return await new Promise(($e)=>setTimeout($e,ut)),await PU(e,uZ(hu({},r),{retryAttempt:qe+1}))}}if(r==null?void 0:r.throw)throw new SPe(ee.status,ee.statusText,ye?We:ae);return{data:null,error:uZ(hu({},We),{status:ee.status,statusText:ee.statusText})}};var UPe=(e)=>{if(typeof process>"u")return;let r=e??"/api/auth";if(process.env.NEXT_PUBLIC_AUTH_URL)return process.env.NEXT_PUBLIC_AUTH_URL;if(typeof window>"u"){if(process.env.NEXTAUTH_URL)try{return process.env.NEXTAUTH_URL}catch{}if(process.env.VERCEL_URL)try{let a=process.env.VERCEL_URL.startsWith("http")?"":"https://";return`${new URL(`${a}${process.env.VERCEL_URL}`).origin}${r}`}catch{}}},efe=(e,r)=>{let a="credentials"in Request.prototype,i=Eie(e?.baseURL,e?.basePath,void 0,r)??UPe(e?.basePath)??"/api/auth",f=e?.plugins?.flatMap((J)=>J.fetchPlugins).filter((J)=>J!==void 0)||[],s={id:"lifecycle-hooks",name:"lifecycle-hooks",hooks:{onSuccess:e?.fetchOptions?.onSuccess,onError:e?.fetchOptions?.onError,onRequest:e?.fetchOptions?.onRequest,onResponse:e?.fetchOptions?.onResponse}},{onSuccess:l,onError:c,onRequest:m,onResponse:g,...M}=e?.fetchOptions||{},v=$ie({baseURL:i,...a?{credentials:"include"}:{},method:"GET",jsonParser(J){if(!J)return null;return Oie(J,{strict:!1})},customFetchImpl:fetch,...M,plugins:[s,...M.plugins||[],...e?.disableDefaultFetchPlugins?[]:[jie],...f]}),{$sessionSignal:y,session:x,broadcastSessionUpdate:_}=Vie(v,e),j=e?.plugins||[],U={},T={$sessionSignal:y,session:x},N={"/sign-out":"POST","/revoke-sessions":"POST","/revoke-other-sessions":"POST","/delete-user":"POST"},G=[{signal:"$sessionSignal",matcher(J){return J==="/sign-out"||J==="/update-user"||J==="/update-session"||J==="/sign-up/email"||J==="/sign-in/email"||J==="/delete-user"||J==="/verify-email"||J==="/revoke-sessions"||J==="/revoke-session"||J==="/revoke-other-sessions"||J==="/change-email"||J==="/change-password"},callback(J){if(J==="/sign-out")_("signout");else if(J==="/update-user"||J==="/update-session")_("updateUser")}}];for(let J of j){if(J.getAtoms)Object.assign(T,J.getAtoms?.(v));if(J.pathMethods)Object.assign(N,J.pathMethods);if(J.atomListeners)G.push(...J.atomListeners)}let X={notify:(J)=>{T[J].set(!T[J].get())},listen:(J,ee)=>{T[J].subscribe(ee)},atoms:T};for(let J of j)if(J.getActions)U=Hie(J.getActions?.(v,X,e)??{},U);return{get baseURL(){return i},pluginsActions:U,pluginsAtoms:T,pluginPathMethods:N,atomListeners:G,$fetch:v,$store:X}};function tfe(e){return typeof e==="object"&&e!==null&&"get"in e&&typeof e.get==="function"&&"lc"in e&&typeof e.lc==="number"}function qPe(e,r,a){let i=r[e],{fetchOptions:f,query:s,...l}=a||{};if(i)return i;if(f?.method)return f.method;if(l&&Object.keys(l).length>0)return"POST";return"GET"}function rfe(e,r,a,i,f){function s(l=[]){return new Proxy(function(){},{get(c,m){if(typeof m!=="string")return;if(m==="then"||m==="catch"||m==="finally")return;let g=[...l,m],M=e;for(let v of g)if(M&&typeof M==="object"&&v in M)M=M[v];else{M=void 0;break}if(typeof M==="function")return M;if(tfe(M))return M;return s(g)},apply:async(c,m,g)=>{let M="/"+l.map((N)=>N.replace(/[A-Z]/g,(G)=>`-${G.toLowerCase()}`)).join("/"),v=g[0]||{},y=g[1]||{},{query:x,fetchOptions:_,...j}=v,U={...y,..._},T=qPe(M,a,v);return await r(M,{...U,body:T==="GET"?void 0:{...j,...U?.body||{}},query:x||U?.query,method:T,async onSuccess(N){if(await U?.onSuccess?.(N),!f||U.disableSignal)return;let G=f.filter((J)=>J.matcher(M));if(!G.length)return;let X=new Set;for(let J of G){let ee=i[J.signal];if(!ee)return;if(X.has(J.signal))continue;X.add(J.signal);let re=ee.get();setTimeout(()=>{ee.set(!re)},10),J.callback?.(M)}}})}})}return s()}S();function ofe(e,r={}){let a=b(e.get()),{keys:i,deps:f=[e,i]}=r,s=P((c)=>{let m=(g)=>{if(a.current===g)return;a.current=g,c()};if(m(e.value),i?.length)return _U(e,i,m);return e.listen(m)},f),l=()=>a.current;return Yn(s,l,l)}function afe(e){return e.charAt(0).toUpperCase()+e.slice(1)}function VPe(e){return`use${afe(e)}`}function nfe(e){let{pluginPathMethods:r,pluginsActions:a,pluginsAtoms:i,$fetch:f,$store:s,atomListeners:l}=efe(e),c={};for(let[m,g]of Object.entries(i))c[VPe(m)]=()=>ofe(g);return rfe({...a,...c,$fetch:f,$store:s},f,r,i,l)}var HPe=nfe({baseURL:window.location.origin}),{signIn:ife,signUp:ffe,useSession:rJo,signOut:sfe,resetPassword:_m}=HPe;var lfe="0.4.6";var IN={};var Mfe=["en","zh"];var DU=["cookie","globalVariable","baseLocale"],cfe=[],OU=[{pattern:":protocol://:domain(.*)::port?/:path(.*)?",localized:[["zh",":protocol://:domain(.*)::port?/zh/:path(.*)?"],["en",":protocol://:domain(.*)::port?/:path(.*)?"]]}];var RN=void 0;var Gz=typeof window>"u",d=void 0;var vfe=!0,xfe=!1,yfe=!0,WPe=!1,jU=!0,bfe=!1;globalThis.__paraglide=globalThis.__paraglide??{};globalThis.__paraglide.ssr=globalThis.__paraglide.ssr??{};var PN,ufe=!1,n=()=>{if(d!==void 0)return d;if(RN){let a=RN?.getStore()?.locale;if(a)return a}let e=DU;if(!Gz&&typeof window<"u"&&window.location?.href)e=kfe(window.location.href);let r=GPe(e,typeof window<"u"?window.location?.href:void 0);if(r){if(!ufe)PN=r,ufe=!0,Mi(r,{reload:!1});return r}throw Error("No locale found. Read the docs https://paraglidejs.com/errors#no-locale-found")};function GPe(e,r){let a;for(let i of e){if(vfe&&i==="cookie")a=$Pe();else if(i==="baseLocale")a="en";else if(xfe&&i==="url"&&!Gz&&typeof r==="string")a=zfe(r);else if(yfe&&i==="globalVariable"&&PN!==void 0)a=PN;else if(WPe&&i==="preferredLanguage"&&!Gz)a=eTe();else if(bfe&&i==="localStorage"&&!Gz)a=localStorage.getItem("PARAGLIDE_LOCALE")??void 0;else if(Cfe(i)&&NN.has(i)){let s=NN.get(i);if(s){let l=s.getLocale();if(l instanceof Promise)continue;if(l!==void 0)return wfe(l)}}let f=M8(a);if(f)return f}return}var KPe=(e)=>{if(e)window.location.href=e;else window.location.reload()},Mi=(e,r)=>{let a={reload:!0,...r};if(d!==void 0&&e!==d&&a.reload===!1)console.warn(`Paraglide: setLocale(${JSON.stringify(e)}, { reload: false }) cannot switch away from the statically built locale ${JSON.stringify(d)}. A document navigation is required; reload has been forced to true.`),a.reload=!0;let i;try{i=n()}catch{}let f=[],s=void 0,l=DU;if(!Gz&&typeof window<"u"&&window.location?.href)l=kfe(window.location.href);for(let m of l)if(yfe&&m==="globalVariable")PN=e;else if(vfe&&m==="cookie"){if(Gz||typeof document>"u"||typeof window>"u")continue;let g=`PARAGLIDE_LOCALE=${e}; path=/; max-age=34560000`;document.cookie=g,EU()}else if(m==="baseLocale")continue;else if(xfe&&m==="url"&&typeof window<"u")s=rTe(window.location.href,{locale:e}).href;else if(bfe&&m==="localStorage"&&typeof window<"u")localStorage.setItem("PARAGLIDE_LOCALE",e);else if(Cfe(m)&&NN.has(m)){let g=NN.get(m);if(g){let M=g.setLocale(e);if(M instanceof Promise)M=M.catch((v)=>{throw Error(`Custom strategy "${m}" setLocale failed.`,{cause:v})}),f.push(M)}}let c=()=>{if(!Gz&&a.reload&&window.location&&e!==i)KPe(s)};if(f.length)return Promise.all(f).then(()=>{c()});c();return};var _fe=()=>{if(RN)return RN.getStore()?.origin??"http://fallback.com";else if(typeof window<"u")return window.location.origin;return"http://fallback.com"};function M8(e){if(typeof e!=="string")return;let r=e.toLowerCase();for(let a of Mfe)if(a.toLowerCase()===r)return a;return}function wfe(e){let r=M8(e);if(r)return r;throw Error(`Invalid locale: ${e}. Expected one of: ${Mfe.join(", ")}`)}function xc(e){return e}function kI(e,r){return e.exec(r.href)}var XPe="PARAGLIDE_LOCALE".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),QPe=new RegExp(`(?:^|;\\s*)${XPe}=([^;]*)`),NU=Symbol(),UT=NU;function EU(){UT=NU}function JPe(){if(typeof queueMicrotask==="function")queueMicrotask(EU);else Promise.resolve().then(EU)}function $Pe(){if(typeof document>"u")return;if(UT!==NU)return UT;let r=document.cookie.match(QPe)?.[1];return UT=M8(r),JPe(),UT}function eTe(){if(!navigator?.languages?.length)return;let e=navigator.languages.map((r)=>({fullTag:r,baseTag:r.split("-")[0]}));for(let r of e){let a=M8(r.fullTag);if(a)return a;let i=M8(r.baseTag);if(i)return i}return}var dfe,Zfe;function zfe(e){let r=typeof e==="string"?e:e.href;if(dfe===r)return Zfe;let a;if(jU){let i=typeof e==="string"?new URL(e,"http://example.com"):new URL(e);a=tTe(xc(i))}else{let i=xc(typeof e==="string"?new URL(e):new URL(e));for(let f of OU){for(let[s,l]of f.localized)if(kI(new IN(l,i.href),i)){a=s;break}if(a)break}}return dfe=r,Zfe=a,a}function tTe(e){let a=new URL(e,"http://example.com").pathname.split("/").filter(Boolean);return M8(a[0])||"en"}function rTe(e,r){let a=r?.locale?wfe(r?.locale):n();if(jU)return oTe(e,a);let i=typeof e==="string"?new URL(e):e,f=i;for(let s of OU){let l=sTe(f,a,s);if(l!==void 0)return l;for(let[,m]of s.localized){let g=kI(DN(m,f),f);if(!g)continue;let M=s.localized.find(([y])=>y===a)?.[1];if(!M)continue;let v=AN(M,EN(g),f.origin);return xc(TN(v,g))}let c=kI(DN(s.pattern,f),f);if(c){let m=s.localized.find(([g])=>g===a)?.[1];if(m){let g=AN(m,EN(c),f.origin);return xc(TN(g,c))}}}return i}function oTe(e,r){let a=xc(typeof e==="string"?new URL(e,_fe()):new URL(e));if(zfe(a)===r)return xc(a);let f=a.pathname.split("/").filter(Boolean);if(f.length>0&&M8(f[0]))f.shift();if(r==="en")a.pathname="/"+f.join("/");else a.pathname="/"+r+"/"+f.join("/");return xc(a)}function aTe(e){if(jU)return nTe(e);let r=typeof e==="string"?new URL(e):e,a=r;for(let i of OU){let f=lTe(a,i);if(f!==void 0)return f;for(let[,l]of i.localized){let c=kI(DN(l,a),a);if(c){let m=EN(c),g=AN(i.pattern,m,a.origin);return xc(TN(g,c))}}let s=kI(DN(i.pattern,a),a);if(s){let l=AN(i.pattern,EN(s),a.origin);return xc(TN(l,s))}}return r}function nTe(e){let r=xc(typeof e==="string"?new URL(e,_fe()):new URL(e)),a=r.pathname.split("/").filter(Boolean);if(a.length>0&&M8(a[0]))r.pathname="/"+a.slice(1).join("/");return xc(r)}function TN(e,r){if(r.protocol.groups["0"])e.protocol=r.protocol.groups["0"]??"";if(r.hostname.groups["0"])e.hostname=r.hostname.groups["0"]??"";if(r.username.groups["0"])e.username=r.username.groups["0"]??"";if(r.password.groups["0"])e.password=r.password.groups["0"]??"";if(r.port.groups["0"])e.port=r.port.groups["0"]??"";if(r.pathname.groups["0"])e.pathname=r.pathname.groups["0"]??"";if(r.search.groups["0"])e.search=r.search.groups["0"]??"";if(r.hash.groups["0"])e.hash=r.hash.groups["0"]??"";return e}function AN(e,r,a){let s=e.replace(/(https?:\/\/[^:/]+):(\d+)(\/|$)/g,(l,c,m,g)=>`${c}#PORT-${m}#${g}`).replace(/\{([^{}]*)\}([?+*]?)/g,(l,c,m)=>{if(m==="?")return c;return c}).replace(/(\/?):([a-zA-Z0-9_]+)(\([^)]*\))?([?+*]?)/g,(l,c,m,g,M)=>{let v=r[m];if(v===null)return"";if(M==="?")return v!==void 0?`${c}${v}`:"";if(M==="+"||M==="*"){if(v===void 0&&M==="+")throw Error(`Missing value for "${m}" (one or more required)`);return v?`${c}${v}`:""}if(v===void 0)throw Error(`Missing value for "${m}"`);return`${c}${v}`});return s=s.replace(/#PORT-(\d+)#/g,":$1"),new URL(s,a)}function EN(e){return{...e.hash.groups,...e.hostname.groups,...e.password.groups,...e.pathname.groups,...e.port.groups,...e.protocol.groups,...e.search.groups,...e.username.groups}}var Wz=new Map,iTe=128,fTe=/^(?:[A-Za-z][A-Za-z\d+.-]*|:[A-Za-z][A-Za-z\d_-]*):\/\//;function DN(e,r){let a=fTe.test(e),i=e.startsWith("/");if(!a&&!i)return new IN(e,r.href);let f=a?e:JSON.stringify([r.origin,e]),s=Wz.get(f);if(s!==void 0)return Wz.delete(f),Wz.set(f,s),s;let l=new IN(e,r.href);if(Wz.size>=iTe){let c=Wz.keys().next().value;if(c!==void 0)Wz.delete(c)}return Wz.set(f,l),l}var CN=new WeakMap;function sTe(e,r,a){let i=Sfe(a);if(i===null)return;for(let s of i.localized){let l=ON(s.pattern,e);if(l===void 0)continue;let c=i.localized.find((m)=>m.locale===r)?.pattern;if(c===void 0)continue;return jN(c,l,e)}let f=ON(i.base,e);if(f!==void 0){let s=i.localized.find((l)=>l.locale===r)?.pattern;if(s!==void 0)return jN(s,f,e)}return}function lTe(e,r){let a=Sfe(r);if(a===null)return;for(let f of a.localized){let s=ON(f.pattern,e);if(s!==void 0)return jN(a.base,s,e)}let i=ON(a.base,e);if(i!==void 0)return jN(a.base,i,e);return}function Sfe(e){let r=CN.get(e);if(r!==void 0)return r;let a=pfe(e.pattern);if(a===void 0)return CN.set(e,null),null;let i=[];for(let[s,l]of e.localized){let c=pfe(l);if(c===void 0||c.pathMode!==a.pathMode)return CN.set(e,null),null;i.push({locale:s,pattern:c})}let f={base:a,localized:i};return CN.set(e,f),f}function pfe(e){let r=e.match(/\/:path(?:\(\.\*\)(?:\?)?|\*)$/);if(r===null||r.index===void 0)return;let a=e.slice(0,r.index),i=cTe(a);if(i===void 0)return;let f=r[0].endsWith("*")?"segments":r[0].endsWith("?")?"catch-all-optional":"catch-all-required";return{...i,pathMode:f}}function cTe(e){if(e===""||e.startsWith("/")){if(TU(e))return;return{protocol:void 0,hostname:void 0,port:void 0,pathnamePrefix:AU(e),pathMode:"catch-all-optional"}}let r=e.match(/^:protocol:\/\/([^/]+)(\/.*)?$/),a=e.match(/^([A-Za-z][A-Za-z\d+.-]*):\/\/([^/]+)(\/.*)?$/);if(r!==null){let c=(r[1]??"").match(/^([^:(){}?*+]+)(?::(\d+))?$/);if(c===null||r[2]!==void 0&&TU(r[2]))return;return{protocol:void 0,hostname:(c[1]??"").toLowerCase(),port:c[2],pathnamePrefix:AU(r[2]??""),pathMode:"catch-all-optional"}}if(a===null)return;let i=a[2]??"",f=a[3],s=i.match(/^([^:(){}?*+]+)(?::(\d+))?$/);if(s===null||f!==void 0&&TU(f))return;return{protocol:`${a[1]}:`,hostname:(s[1]??"").toLowerCase(),port:uTe(s[2],`${a[1]}:`),pathnamePrefix:AU(f??""),pathMode:"catch-all-optional"}}function uTe(e,r){if(e==="80"&&r==="http:")return"";if(e==="443"&&r==="https:")return"";return e}function TU(e){return/[:(){}?*+]/.test(e)}function AU(e){if(e===""||e==="/")return"/";return e.endsWith("/")?e.slice(0,-1):e}function ON(e,r){if(e.protocol!==void 0&&e.protocol!==r.protocol)return;if(e.hostname!==void 0&&e.hostname!==r.hostname.toLowerCase())return;if(e.hostname!==void 0){if((e.port??Lfe(e.protocol??r.protocol))!==r.port)return}let a=e.pathnamePrefix;if(a==="/"){if(r.pathname.startsWith("//"))return;if(e.pathMode==="segments")return mfe(r.pathname)?r.pathname:void 0;return r.pathname}if(r.pathname===a)return e.pathMode==="catch-all-required"?void 0:"";if(r.pathname.startsWith(`${a}/`)){let i=r.pathname.slice(a.length);if(i.startsWith("//"))return;if(e.pathMode==="segments"&&!mfe(i))return;return i}return}function mfe(e){return e.length>1&&!e.endsWith("/")&&!e.includes("//")}function Lfe(e){if(e==="http:")return"";if(e==="https:")return"";return""}function jN(e,r,a){let i=new URL(a.href);if(e.protocol!==void 0)i.protocol=e.protocol;if(e.hostname!==void 0)i.hostname=e.hostname,i.port=e.port??Lfe(i.protocol);return i.pathname=dTe(e.pathnamePrefix,r),i}function dTe(e,r){if(e==="/")return r===""?"/":r;if(r==="")return e;return`${e}${r.startsWith("/")?r:`/${r}`}`}var hfe,gfe;function ZTe(e){if(cfe.length===0)return;let r=typeof e==="string"?e:e.href;if(hfe===r)return gfe;let a=xc(new URL(r,"http://example.com")),i=aTe(a),f=i.href===a.href?[a]:[a,i],s;for(let l of f){for(let c of cfe){let m=new IN(c.match,l.href);if(kI(m,l)){s=c;break}}if(s)break}return hfe=r,gfe=s,s}function kfe(e){let r=ZTe(e);if(r&&r.exclude!==!0&&Array.isArray(r.strategy))return r.strategy;return DU}var NN=new Map;function Cfe(e){return typeof e==="string"&&/^custom-[A-Za-z0-9_-]+$/.test(e)}var pTe=()=>"Access Denied",mTe=()=>"访问被拒绝",gA=(e={},r={})=>{if((d??r.locale??n())==="zh")return mTe(e);return pTe(e)};var hTe=()=>"Action",gTe=()=>"操作",AA=(e={},r={})=>{if((d??r.locale??n())==="zh")return gTe(e);return hTe(e)};var MTe=()=>"Actions",vTe=()=>"操作",_A=(e={},r={})=>{if((d??r.locale??n())==="zh")return vTe(e);return MTe(e)};var xTe=()=>"Active",yTe=()=>"启用",yA=(e={},r={})=>{if((d??r.locale??n())==="zh")return yTe(e);return xTe(e)};var bTe=()=>"active",_Te=()=>"个激活",bA=(e={},r={})=>{if((d??r.locale??n())==="zh")return _Te(e);return bTe(e)};var wTe=()=>"Activity",zTe=()=>"活动",STe=(e={},r={})=>{if((d??r.locale??n())==="zh")return zTe(e);return wTe(e)};var LTe=()=>"Activity Notifications",kTe=()=>"活动通知",vA=(e={},r={})=>{if((d??r.locale??n())==="zh")return kTe(e);return LTe(e)};var CTe=()=>"Receive in-app updates for comments, uploads, and automated background analysis tasks inside this project.",ITe=()=>"接收此项目中评论、上传及自动后台分析任务的应用内通知。",wA=(e={},r={})=>{if((d??r.locale??n())==="zh")return ITe(e);return CTe(e)};var RTe=()=>"Add",PTe=()=>"添加",mf=(e={},r={})=>{if((d??r.locale??n())==="zh")return PTe(e);return RTe(e)};var TTe=()=>"Add Assets",ATe=()=>"添加资产",Ife=(e={},r={})=>{if((d??r.locale??n())==="zh")return ATe(e);return TTe(e)};var ETe=()=>"+ Add condition",DTe=()=>"+ 添加条件",xA=(e={},r={})=>{if((d??r.locale??n())==="zh")return DTe(e);return ETe(e)};var OTe=()=>"Add Domain",jTe=()=>"添加域名",SA=(e={},r={})=>{if((d??r.locale??n())==="zh")return jTe(e);return OTe(e)};var NTe=()=>"Add your first AI provider to get started.",FTe=()=>"添加您的第一个 AI 提供商以开始使用。",EA=(e={},r={})=>{if((d??r.locale??n())==="zh")return FTe(e);return NTe(e)};var BTe=()=>"Add Image Block",YTe=()=>"添加图片块",ym=(e={},r={})=>{if((d??r.locale??n())==="zh")return YTe(e);return BTe(e)};var UTe=()=>"Add MCP Server",qTe=()=>"添加 MCP 服务",hf=(e={},r={})=>{if((d??r.locale??n())==="zh")return qTe(e);return UTe(e)};var VTe=()=>"Add an MCP server to extend your AI agent tools.",HTe=()=>"添加 MCP 服务以扩展 AI Agent 的工具能力。",CA=(e={},r={})=>{if((d??r.locale??n())==="zh")return HTe(e);return VTe(e)};var WTe=()=>"Add Members from Other Projects",GTe=()=>"从其他项目添加成员",IA=(e={},r={})=>{if((d??r.locale??n())==="zh")return GTe(e);return WTe(e)};var KTe=()=>"Project-scoped members who currently do not have access to this project.",XTe=()=>"当前无权访问此项目的项目成员。",TA=(e={},r={})=>{if((d??r.locale??n())==="zh")return XTe(e);return KTe(e)};var QTe=()=>"Add Model",JTe=()=>"添加模型",td=(e={},r={})=>{if((d??r.locale??n())==="zh")return JTe(e);return QTe(e)};var $Te=()=>"Add New Provider",eAe=()=>"添加新提供商",MA=(e={},r={})=>{if((d??r.locale??n())==="zh")return eAe(e);return $Te(e)};var tAe=()=>"Add New Skill",rAe=()=>"添加新技能",kA=(e={},r={})=>{if((d??r.locale??n())==="zh")return rAe(e);return tAe(e)};var oAe=()=>"Add option",aAe=()=>"添加选项",rd=(e={},r={})=>{if((d??r.locale??n())==="zh")return aAe(e);return oAe(e)};var nAe=(e)=>`Add options: ${e?.name}`,iAe=(e)=>`添加选项:${e?.name}`,bm=(e,r={})=>{if((d??r.locale??n())==="zh")return iAe(e);return nAe(e)};var fAe=()=>"Add Provider",sAe=()=>"添加提供商",vm=(e={},r={})=>{if((d??r.locale??n())==="zh")return sAe(e);return fAe(e)};var lAe=()=>"Add Quota",cAe=()=>"添加配额",wm=(e={},r={})=>{if((d??r.locale??n())==="zh")return cAe(e);return lAe(e)};var uAe=()=>"Add reaction",dAe=()=>"添加回应",RA=(e={},r={})=>{if((d??r.locale??n())==="zh")return dAe(e);return uAe(e)};var ZAe=()=>"Add Skill",pAe=()=>"添加技能",NA=(e={},r={})=>{if((d??r.locale??n())==="zh")return pAe(e);return ZAe(e)};var mAe=()=>"Add a skill via GitHub URL or upload a ZIP file to get started.",hAe=()=>"通过 GitHub URL 添加技能或上传 ZIP 文件以开始使用。",DA=(e={},r={})=>{if((d??r.locale??n())==="zh")return hAe(e);return mAe(e)};var gAe=()=>"Customize Team Member Role",MAe=()=>"自定义团队成员在项目的角色",PA=(e={},r={})=>{if((d??r.locale??n())==="zh")return MAe(e);return gAe(e)};var vAe=()=>"Team members already have access to all projects with their default team role. Set a custom role for this specific project here.",xAe=()=>"团队成员默认使用其团队角色访问所有项目。您可以在此为其设置独立的项目角色。",OA=(e={},r={})=>{if((d??r.locale??n())==="zh")return xAe(e);return vAe(e)};var yAe=()=>"Add Text Block",bAe=()=>"添加文本块",gf=(e={},r={})=>{if((d??r.locale??n())==="zh")return bAe(e);return yAe(e)};var _Ae=()=>"Add to Project",wAe=()=>"添加到项目",FA=(e={},r={})=>{if((d??r.locale??n())==="zh")return wAe(e);return _Ae(e)};var zAe=()=>"Add to Share Links",SAe=()=>"添加到分享链接",xm=(e={},r={})=>{if((d??r.locale??n())==="zh")return SAe(e);return zAe(e)};var LAe=()=>"Add Variable",kAe=()=>"添加变量",LA=(e={},r={})=>{if((d??r.locale??n())==="zh")return kAe(e);return LAe(e)};var CAe=(e)=>`Added ${e?.name} successfully`,IAe=(e)=>`已成功添加 ${e?.name}`,Sm=(e,r={})=>{if((d??r.locale??n())==="zh")return IAe(e);return CAe(e)};var RAe=()=>"Agent Avatar",PAe=()=>"智能体头像",ZA=(e={},r={})=>{if((d??r.locale??n())==="zh")return PAe(e);return RAe(e)};var TAe=()=>"Agent created successfully",AAe=()=>"智能体创建成功",BA=(e={},r={})=>{if((d??r.locale??n())==="zh")return AAe(e);return TAe(e)};var EAe=()=>"Agent deleted successfully",DAe=()=>"智能体删除成功",UA=(e={},r={})=>{if((d??r.locale??n())==="zh")return DAe(e);return EAe(e)};var OAe=()=>"Step-by-step execution trace of the agent's background tasks and tool calls.",jAe=()=>"智能体后台任务和工具调用的逐步执行跟踪。",zA=(e={},r={})=>{if((d??r.locale??n())==="zh")return jAe(e);return OAe(e)};var NAe=()=>"Agent Name",FAe=()=>"智能体名称",jA=(e={},r={})=>{if((d??r.locale??n())==="zh")return FAe(e);return NAe(e)};var BAe=()=>"e.g., Support Assistant",YAe=()=>"例如:支持助手",qA=(e={},r={})=>{if((d??r.locale??n())==="zh")return YAe(e);return BAe(e)};var UAe=()=>"Agent Sandbox",qAe=()=>"智能体沙箱",HA=(e={},r={})=>{if((d??r.locale??n())==="zh")return qAe(e);return UAe(e)};var VAe=()=>"Agent Sandbox Settings",HAe=()=>"智能体沙箱设置",$A=(e={},r={})=>{if((d??r.locale??n())==="zh")return HAe(e);return VAe(e)};var WAe=()=>"Agent Session Logs",GAe=()=>"智能体会话日志",GA=(e={},r={})=>{if((d??r.locale??n())==="zh")return GAe(e);return WAe(e)};var KAe=()=>"Agent Soul (Personality)",XAe=()=>"智能体灵魂(个性)",VA=(e={},r={})=>{if((d??r.locale??n())==="zh")return XAe(e);return KAe(e)};var QAe=()=>"Describe the agent's personality, tone, and behavior...",JAe=()=>"描述智能体的个性、语调和行为...",QA=(e={},r={})=>{if((d??r.locale??n())==="zh")return JAe(e);return QAe(e)};var $Ae=()=>"Allows the agent to run terminal/shell commands in a highly isolated environment.",e2e=()=>"允许智能体在高度隔离的环境中运行终端/命令行命令。",KA=(e={},r={})=>{if((d??r.locale??n())==="zh")return e2e(e);return $Ae(e)};var t2e=()=>"Sandboxed Terminal",r2e=()=>"沙箱终端",WA=(e={},r={})=>{if((d??r.locale??n())==="zh")return r2e(e);return t2e(e)};var o2e=()=>"Allows the agent to create files in Shumai, either by uploading a local file or by providing the file name and content directly.",a2e=()=>"允许智能体在 Shumai 中创建文件,既可以通过上传本地文件,也可以直接提供文件名和内容。",YA=(e={},r={})=>{if((d??r.locale??n())==="zh")return a2e(e);return o2e(e)};var n2e=()=>"Create File",i2e=()=>"创建文件",Em=(e={},r={})=>{if((d??r.locale??n())==="zh")return i2e(e);return n2e(e)};var f2e=()=>"Allows the agent to create new folders in Shumai.",s2e=()=>"允许智能体在 Shumai 中创建新文件夹。",JA=(e={},r={})=>{if((d??r.locale??n())==="zh")return s2e(e);return f2e(e)};var l2e=()=>"Create Folder",c2e=()=>"创建文件夹",Cm=(e={},r={})=>{if((d??r.locale??n())==="zh")return c2e(e);return l2e(e)};var u2e=()=>"Allows the agent to upload and stack a new version of an existing file in Shumai.",d2e=()=>"允许智能体在 Shumai 中为已有文件上传并叠加新版本。",XA=(e={},r={})=>{if((d??r.locale??n())==="zh")return d2e(e);return u2e(e)};var Z2e=()=>"Create Version",p2e=()=>"创建版本",Im=(e={},r={})=>{if((d??r.locale??n())==="zh")return p2e(e);return Z2e(e)};var m2e=()=>"Allows the agent to delete a single file or folder in Shumai.",h2e=()=>"允许智能体在 Shumai 中删除单个文件或文件夹。",e0=(e={},r={})=>{if((d??r.locale??n())==="zh")return h2e(e);return m2e(e)};var g2e=()=>"Delete Asset",M2e=()=>"删除资产",Tm=(e={},r={})=>{if((d??r.locale??n())==="zh")return M2e(e);return g2e(e)};var v2e=()=>"Allows the agent to generate images from prompts and reference images using configured AI image models.",x2e=()=>"允许智能体使用已配置的 AI 图片模型根据提示词和参考图片生成图片。",t0=(e={},r={})=>{if((d??r.locale??n())==="zh")return x2e(e);return v2e(e)};var y2e=()=>"Generate Image",b2e=()=>"生成图片",Mm=(e={},r={})=>{if((d??r.locale??n())==="zh")return b2e(e);return y2e(e)};var _2e=()=>"Allows the agent to generate videos from text, images, or frame sequences using configured AI video models.",w2e=()=>"允许智能体使用已配置的 AI 视频模型根据提示词、图片或首尾帧生成视频。",r0=(e={},r={})=>{if((d??r.locale??n())==="zh")return w2e(e);return _2e(e)};var z2e=()=>"Generate Video",S2e=()=>"生成视频",km=(e={},r={})=>{if((d??r.locale??n())==="zh")return S2e(e);return z2e(e)};var L2e=()=>"Allows the agent to list folders and browse files in Shumai.",k2e=()=>"允许智能体列出文件夹并浏览 Shumai 中的文件。",n0=(e={},r={})=>{if((d??r.locale??n())==="zh")return k2e(e);return L2e(e)};var C2e=()=>"Browse Shumai",I2e=()=>"浏览 Shumai",Rm=(e={},r={})=>{if((d??r.locale??n())==="zh")return I2e(e);return C2e(e)};var R2e=()=>"Allows the agent to move one or more assets to another folder in Shumai.",P2e=()=>"允许智能体将一个或多个资产移动到 Shumai 中的其他文件夹。",o0=(e={},r={})=>{if((d??r.locale??n())==="zh")return P2e(e);return R2e(e)};var T2e=()=>"Move Assets",A2e=()=>"移动资产",Nm=(e={},r={})=>{if((d??r.locale??n())==="zh")return A2e(e);return T2e(e)};var E2e=()=>"Allows the agent to view and inspect images, video frames, and document pages.",D2e=()=>"允许智能体查看和分析图片、视频画面和文档页面。",s0=(e={},r={})=>{if((d??r.locale??n())==="zh")return D2e(e);return E2e(e)};var O2e=()=>"Read Asset",j2e=()=>"读取资源",Dm=(e={},r={})=>{if((d??r.locale??n())==="zh")return j2e(e);return O2e(e)};var N2e=()=>"Allows the agent to load and read skill definitions to perform specialized actions.",F2e=()=>"允许智能体加载和读取技能定义以执行特定操作。",a0=(e={},r={})=>{if((d??r.locale??n())==="zh")return F2e(e);return N2e(e)};var B2e=()=>"Read Skills",Y2e=()=>"读取技能",i0=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y2e(e);return B2e(e)};var U2e=()=>"Allows the agent to rename an existing file or folder in Shumai.",q2e=()=>"允许智能体在 Shumai 中重命名现有的文件或文件夹。",l0=(e={},r={})=>{if((d??r.locale??n())==="zh")return q2e(e);return U2e(e)};var V2e=()=>"Rename Asset",H2e=()=>"重命名资产",Pm=(e={},r={})=>{if((d??r.locale??n())==="zh")return H2e(e);return V2e(e)};var W2e=()=>"Tools",G2e=()=>"工具",c0=(e={},r={})=>{if((d??r.locale??n())==="zh")return G2e(e);return W2e(e)};var K2e=()=>"Configure which tools the agent is permitted to use.",X2e=()=>"配置允许智能体使用的工具。",u0=(e={},r={})=>{if((d??r.locale??n())==="zh")return X2e(e);return K2e(e)};var Q2e=()=>"Agent Type",J2e=()=>"智能体类型",d0=(e={},r={})=>{if((d??r.locale??n())==="zh")return J2e(e);return Q2e(e)};var $2e=()=>"Autofill",eEe=()=>"自动填充",Om=(e={},r={})=>{if((d??r.locale??n())==="zh")return eEe(e);return $2e(e)};var tEe=()=>"Chat",rEe=()=>"对话",Fm=(e={},r={})=>{if((d??r.locale??n())==="zh")return rEe(e);return tEe(e)};var oEe=()=>"Embedding",aEe=()=>"嵌入",Lm=(e={},r={})=>{if((d??r.locale??n())==="zh")return aEe(e);return oEe(e)};var nEe=()=>"Agent updated successfully",iEe=()=>"智能体更新成功",Zm=(e={},r={})=>{if((d??r.locale??n())==="zh")return iEe(e);return nEe(e)};var fEe=()=>"Agents",sEe=()=>"智能体",f0=(e={},r={})=>{if((d??r.locale??n())==="zh")return sEe(e);return fEe(e)};var lEe=()=>"Manage AI agents and their personalities.",cEe=()=>"管理 AI 智能体及其个性。",p0=(e={},r={})=>{if((d??r.locale??n())==="zh")return cEe(e);return lEe(e)};var uEe=()=>"AGENTS.md",dEe=()=>"AGENTS.md",m0=(e={},r={})=>{if((d??r.locale??n())==="zh")return dEe(e);return uEe(e)};var ZEe=()=>"Loading AGENTS.md...",pEe=()=>"正在加载 AGENTS.md...",h0=(e={},r={})=>{if((d??r.locale??n())==="zh")return pEe(e);return ZEe(e)};var mEe=()=>`Give AI agents instructions and context for this project or folder.
63
-
64
- Shumai automatically loads this file, along with AGENTS.md files from parent folders up to the project level, whenever an agent works here.
65
-
66
- Use it to define things like:
67
- - What this project or folder contains
68
- - Rules the agent should follow
69
- - Terminology, style, or workflow
70
- - How metadata and autofill should be generated`,hEe=()=>`为在此项目或文件夹中工作的 AI Agent 提供指引和上下文。
71
-
72
- 当 Agent 在此处工作时,Shumai 会自动加载此文件以及向上追溯至项目根目录各级父文件夹中的 AGENTS.md 文件。
73
-
74
- 您可以用它来定义:
75
- - 此项目或文件夹包含的内容
76
- - Agent 应当遵守的规则
77
- - 术语、风格或工作流规范
78
- - 元数据和自动填充的生成方式`,g0=(e={},r={})=>{if((d??r.locale??n())==="zh")return hEe(e);return mEe(e)};var gEe=()=>"Only team owners can edit this file.",MEe=()=>"只有团队所有者可以修改此文件。",Bm=(e={},r={})=>{if((d??r.locale??n())==="zh")return MEe(e);return gEe(e)};var vEe=()=>"Failed to save",xEe=()=>"保存失败",A0=(e={},r={})=>{if((d??r.locale??n())==="zh")return xEe(e);return vEe(e)};var yEe=()=>"AI",bEe=()=>"AI",_0=(e={},r={})=>{if((d??r.locale??n())==="zh")return bEe(e);return yEe(e)};var _Ee=()=>"AI Agents",wEe=()=>"AI 智能体",y0=(e={},r={})=>{if((d??r.locale??n())==="zh")return wEe(e);return _Ee(e)};var zEe=()=>"AI Providers",SEe=()=>"AI 提供商",b0=(e={},r={})=>{if((d??r.locale??n())==="zh")return SEe(e);return zEe(e)};var LEe=()=>"AI Settings",kEe=()=>"AI 设置",v0=(e={},r={})=>{if((d??r.locale??n())==="zh")return kEe(e);return LEe(e)};var CEe=()=>"AI Token Usage",IEe=()=>"AI Token 用量",w0=(e={},r={})=>{if((d??r.locale??n())==="zh")return IEe(e);return CEe(e)};var REe=()=>"Monitor AI token consumption and estimated costs for your team and members.",PEe=()=>"查看并监控团队及成员的 AI Token 消耗与预估费用。",x0=(e={},r={})=>{if((d??r.locale??n())==="zh")return PEe(e);return REe(e)};var TEe=()=>"All",AEe=()=>"全部",EEe=(e={},r={})=>{if((d??r.locale??n())==="zh")return AEe(e);return TEe(e)};var DEe=()=>"All Collections",OEe=()=>"所有媒体合集",S0=(e={},r={})=>{if((d??r.locale??n())==="zh")return OEe(e);return DEe(e)};var jEe=(e)=>`All Collections (${e?.count})`,NEe=(e)=>`所有媒体合集 (${e?.count})`,FEe=(e,r={})=>{if((d??r.locale??n())==="zh")return NEe(e);return jEe(e)};var BEe=()=>"All comments",YEe=()=>"所有评论",Af=(e={},r={})=>{if((d??r.locale??n())==="zh")return YEe(e);return BEe(e)};var UEe=()=>"All",qEe=()=>"全部",E0=(e={},r={})=>{if((d??r.locale??n())==="zh")return qEe(e);return UEe(e)};var VEe=()=>"All Projects",HEe=()=>"所有项目",WEe=(e={},r={})=>{if((d??r.locale??n())==="zh")return HEe(e);return VEe(e)};var GEe=()=>"All resolutions",KEe=()=>"所有分辨率",C0=(e={},r={})=>{if((d??r.locale??n())==="zh")return KEe(e);return GEe(e)};var XEe=()=>"Generates all supported resolutions up to the source quality.",QEe=()=>"生成不超过源质量的所有支持分辨率。",I0=(e={},r={})=>{if((d??r.locale??n())==="zh")return QEe(e);return XEe(e)};var JEe=()=>"All Share Links",$Ee=()=>"所有分享链接",T0=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Ee(e);return JEe(e)};var eDe=(e)=>`All Share Links (${e?.count})`,tDe=(e)=>`所有分享链接 (${e?.count})`,rDe=(e,r={})=>{if((d??r.locale??n())==="zh")return tDe(e);return eDe(e)};var oDe=()=>"All Tasks",aDe=()=>"所有任务",Um=(e={},r={})=>{if((d??r.locale??n())==="zh")return aDe(e);return oDe(e)};var nDe=()=>"Allow download",iDe=()=>"允许下载",M0=(e={},r={})=>{if((d??r.locale??n())==="zh")return iDe(e);return nDe(e)};var fDe=()=>"Visitors can download files from this share link",sDe=()=>"访客可以从该分享链接下载文件",k0=(e={},r={})=>{if((d??r.locale??n())==="zh")return sDe(e);return fDe(e)};var lDe=()=>"Allowed Domains",cDe=()=>"允许的域名",R0=(e={},r={})=>{if((d??r.locale??n())==="zh")return cDe(e);return lDe(e)};var uDe=()=>"Already have an account? ",dDe=()=>"已有账户?",Rfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return dDe(e);return uDe(e)};var ZDe=()=>"An unknown error occurred",pDe=()=>"发生了未知错误",nd=(e={},r={})=>{if((d??r.locale??n())==="zh")return pDe(e);return ZDe(e)};var mDe=()=>"API Key",hDe=()=>"API 密钥",od=(e={},r={})=>{if((d??r.locale??n())==="zh")return hDe(e);return mDe(e)};var gDe=()=>"You can provide a literal value (e.g. sk-...) or an Environment variable name (e.g. MY_API_KEY).",MDe=()=>"您可以提供一个字面值(例如 sk-...)或环境变量名称(例如 MY_API_KEY)。",zm=(e={},r={})=>{if((d??r.locale??n())==="zh")return MDe(e);return gDe(e)};var vDe=(e)=>`Enter an API key or an environment variable name (e.g. ${e?.envKey}). Leave empty to restore default environment variable.`,xDe=(e)=>`输入 API 密钥或环境变量名(例如 ${e?.envKey})。留空将恢复默认环境变量。`,N0=(e,r={})=>{if((d??r.locale??n())==="zh")return xDe(e);return vDe(e)};var yDe=(e)=>`Leave empty to use default env var (${e?.envKey})`,bDe=(e)=>`留空以使用默认环境变量 (${e?.envKey})`,D0=(e,r={})=>{if((d??r.locale??n())==="zh")return bDe(e);return yDe(e)};var _De=()=>"Enter API Key or Environment Variable",wDe=()=>"输入 API 密钥或环境变量",jm=(e={},r={})=>{if((d??r.locale??n())==="zh")return wDe(e);return _De(e)};var zDe=()=>"API token generated successfully",SDe=()=>"API 令牌生成成功",P0=(e={},r={})=>{if((d??r.locale??n())==="zh")return SDe(e);return zDe(e)};var LDe=()=>"API token revoked successfully",kDe=()=>"API 令牌已成功撤销",O0=(e={},r={})=>{if((d??r.locale??n())==="zh")return kDe(e);return LDe(e)};var CDe=()=>"API Tokens",IDe=()=>"API 令牌",qm=(e={},r={})=>{if((d??r.locale??n())==="zh")return IDe(e);return CDe(e)};var RDe=()=>"Generate and manage API tokens. These tokens allow you or your agents to run terminal commands via shumai-cli.",PDe=()=>"生成和管理 API 令牌。这些令牌允许您或您的智能体通过 shumai-cli 运行终端命令。",F0=(e={},r={})=>{if((d??r.locale??n())==="zh")return PDe(e);return RDe(e)};var TDe=()=>"Appearance",ADe=()=>"外观",_f=(e={},r={})=>{if((d??r.locale??n())==="zh")return ADe(e);return TDe(e)};var EDe=()=>"Appearance",DDe=()=>"外观",Hm=(e={},r={})=>{if((d??r.locale??n())==="zh")return DDe(e);return EDe(e)};var ODe=()=>"Manage visual appearance and interface display settings for your team.",jDe=()=>"管理团队的视觉外观与界面显示设置。",$m=(e={},r={})=>{if((d??r.locale??n())==="zh")return jDe(e);return ODe(e)};var NDe=()=>"Appearance settings updated",FDe=()=>"外观设置已更新",L0=(e={},r={})=>{if((d??r.locale??n())==="zh")return FDe(e);return NDe(e)};var BDe=()=>"Apply and Close",YDe=()=>"应用并关闭",Z0=(e={},r={})=>{if((d??r.locale??n())==="zh")return YDe(e);return BDe(e)};var UDe=()=>"Approve",qDe=()=>"批准",B0=(e={},r={})=>{if((d??r.locale??n())==="zh")return qDe(e);return UDe(e)};var VDe=()=>"Are you absolutely sure?",HDe=()=>"你确定要这样做吗?",sd=(e={},r={})=>{if((d??r.locale??n())==="zh")return HDe(e);return VDe(e)};var WDe=()=>"Are you absolutely sure?",GDe=()=>"确定要执行此操作吗?",U0=(e={},r={})=>{if((d??r.locale??n())==="zh")return GDe(e);return WDe(e)};var KDe=()=>"Ascending",XDe=()=>"升序",yf=(e={},r={})=>{if((d??r.locale??n())==="zh")return XDe(e);return KDe(e)};var QDe=()=>"Asset linked to task",JDe=()=>"资产已关联到任务",Pfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return JDe(e);return QDe(e)};var $De=()=>"Asset unlinked from task",eOe=()=>"资产已取消关联",Tfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return eOe(e);return $De(e)};var tOe=()=>"Assets",rOe=()=>"资源",z0=(e={},r={})=>{if((d??r.locale??n())==="zh")return rOe(e);return tOe(e)};var oOe=()=>"Assets added to context:",aOe=()=>"已添加至上下文的资源:",j0=(e={},r={})=>{if((d??r.locale??n())==="zh")return aOe(e);return oOe(e)};var nOe=()=>"Assets & Statuses",iOe=()=>"素材与状态",q0=(e={},r={})=>{if((d??r.locale??n())==="zh")return iOe(e);return nOe(e)};var fOe=()=>"Manage notifications related to file uploads and metadata field status updates.",sOe=()=>"管理与文件上传和元数据字段状态更新相关的通知。",H0=(e={},r={})=>{if((d??r.locale??n())==="zh")return sOe(e);return fOe(e)};var lOe=()=>"Assignee",cOe=()=>"负责人",Gm=(e={},r={})=>{if((d??r.locale??n())==="zh")return cOe(e);return lOe(e)};var uOe=()=>"@Mentions",dOe=()=>"@提及",$0=(e={},r={})=>{if((d??r.locale??n())==="zh")return dOe(e);return uOe(e)};var ZOe=()=>"Attach files",pOe=()=>"附加文件",G0=(e={},r={})=>{if((d??r.locale??n())==="zh")return pOe(e);return ZOe(e)};var mOe=()=>"Attachments",hOe=()=>"附件",V0=(e={},r={})=>{if((d??r.locale??n())==="zh")return hOe(e);return mOe(e)};var gOe=()=>"Audit Logs",MOe=()=>"审计日志",bf=(e={},r={})=>{if((d??r.locale??n())==="zh")return MOe(e);return gOe(e)};var vOe=()=>"View and monitor all audit logs of team actions.",xOe=()=>"查看并监控团队操作的所有审计日志。",Q0=(e={},r={})=>{if((d??r.locale??n())==="zh")return xOe(e);return vOe(e)};var yOe=()=>"Join our community of developers and designers.",bOe=()=>"加入我们的开发者和设计师社区。",_Oe=(e={},r={})=>{if((d??r.locale??n())==="zh")return bOe(e);return yOe(e)};var wOe=()=>"Upload and index your files, enrich them with custom metadata schemas, draw annotations directly on media, and gather instant feedback — all in one modern workspace built for creators.",zOe=()=>"上传您的创意资产,添加各种类型的自定义元数据,直接在图片或视频上绘制标注和添加评论,——这一切都在Shumai,一个为创作者打造的一站式平台上完成。",SOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return zOe(e);return wOe(e)};var LOe=()=>"Custom metadata schemas & drawing canvas reviews",kOe=()=>"自定义元数据模式 & 画布标注审阅",COe=(e={},r={})=>{if((d??r.locale??n())==="zh")return kOe(e);return LOe(e)};var IOe=()=>"Frictionless team workspaces & secure sharing",ROe=()=>"无缝团队工作区 & 安全分享",POe=(e={},r={})=>{if((d??r.locale??n())==="zh")return ROe(e);return IOe(e)};var TOe=()=>"Instant asset uploads & high-fidelity media players",AOe=()=>"即时资产上传 & 高保真媒体播放器",EOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return AOe(e);return TOe(e)};var DOe=()=>"One workspace for all your creative assets.",OOe=()=>"一站式创意资产管理协作平台。",jOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return OOe(e);return DOe(e)};var NOe=()=>"Autofill Agent",FOe=()=>"自动填充智能体",K0=(e={},r={})=>{if((d??r.locale??n())==="zh")return FOe(e);return NOe(e)};var BOe=()=>"Autofill Source",YOe=()=>"自动填充来源",ad=(e={},r={})=>{if((d??r.locale??n())==="zh")return YOe(e);return BOe(e)};var UOe=()=>"Content",qOe=()=>"文件内容",kc=(e={},r={})=>{if((d??r.locale??n())==="zh")return qOe(e);return UOe(e)};var VOe=()=>"Fields marked as 'Content' are automatically analyzed and extracted from the asset's visual or textual content after upload. Note: A team owner must first create and enable an Autofill Agent in team settings for content extraction to run.",HOe=()=>"设置为“文件内容”的字段将在文件上传后,由 AI 自动分析并从文件的视觉或文本内容中提取填写。注意:需要团队 Owner 先在设置中创建并启用“Autofill Agent”(自动填充 Agent),上传后才会触发内容提取。",W0=(e={},r={})=>{if((d??r.locale??n())==="zh")return HOe(e);return VOe(e)};var WOe=()=>"Example: Image subject category, visual color palette, document summary, auto-detected language.",GOe=()=>"示例:图片类别、主色调、文档摘要、自动识别语言。",Y0=(e={},r={})=>{if((d??r.locale??n())==="zh")return GOe(e);return WOe(e)};var KOe=()=>"Creation Context",XOe=()=>"创建上下文",Rc=(e={},r={})=>{if((d??r.locale??n())==="zh")return XOe(e);return KOe(e)};var QOe=()=>"Fields marked as 'Creation Context' capture details available at creation time (such as generation prompt, model, or provider). If an asset is created by a Shumai AI Agent, the agent will automatically populate these fields upon creation (without needing an Autofill Agent enabled). If uploaded manually by a human user, the user must enter these values manually.",JOe=()=>"设置为“创建上下文”的字段用于记录生成资产时的上下文信息(如 Prompt、模型或供应商)。若文件由 Shumai AI Agent 生成/创建,Agent 会在创建时刻自动填入这些字段(无需启用 Autofill Agent);若由真实用户手动上传,则需用户手动填写,不会自动提取。",J0=(e={},r={})=>{if((d??r.locale??n())==="zh")return JOe(e);return QOe(e)};var $Oe=()=>"Example: Generation prompt, AI model name, LLM provider, sampler seed parameters.",eje=()=>"示例:生成 Prompt、AI 模型名称、LLM 供应商、采样种子参数。",X0=(e={},r={})=>{if((d??r.locale??n())==="zh")return eje(e);return $Oe(e)};var tje=()=>"Understand how each autofill source option works and when to use it.",rje=()=>"了解每种自动填充来源的工作方式及适用场景。",e_=(e={},r={})=>{if((d??r.locale??n())==="zh")return rje(e);return tje(e)};var oje=()=>"Autofill Source Guide",aje=()=>"自动填充来源说明",vf=(e={},r={})=>{if((d??r.locale??n())==="zh")return aje(e);return oje(e)};var nje=()=>"None",ije=()=>"无",Nc=(e={},r={})=>{if((d??r.locale??n())==="zh")return ije(e);return nje(e)};var fje=()=>"Metadata fields marked as 'None' will not be automatically populated by AI. They are meant for manual user entry.",sje=()=>"设置为“无”的字段不会由 AI 自动填充,需由用户手动填写。",t_=(e={},r={})=>{if((d??r.locale??n())==="zh")return sje(e);return fje(e)};var lje=()=>"Example: Internal tags, manual notes, status tracking flags.",cje=()=>"示例:内部标签、手动备注、状态标记。",r_=(e={},r={})=>{if((d??r.locale??n())==="zh")return cje(e);return lje(e)};var uje=()=>"Avatar",dje=()=>"头像",n_=(e={},r={})=>{if((d??r.locale??n())==="zh")return dje(e);return uje(e)};var Zje=()=>"Avatar removed successfully",pje=()=>"头像已移除",o_=(e={},r={})=>{if((d??r.locale??n())==="zh")return pje(e);return Zje(e)};var mje=()=>"Avatar Source",hje=()=>"头像来源",s_=(e={},r={})=>{if((d??r.locale??n())==="zh")return hje(e);return mje(e)};var gje=()=>"Avatar updated successfully",Mje=()=>"头像更新成功",a_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mje(e);return gje(e)};var vje=()=>"Back to Chat",xje=()=>"返回聊天",i_=(e={},r={})=>{if((d??r.locale??n())==="zh")return xje(e);return vje(e)};var yje=()=>"Base URL (Optional)",bje=()=>"基础 URL(可选)",Vm=(e={},r={})=>{if((d??r.locale??n())==="zh")return bje(e);return yje(e)};var _je=()=>"Bash Match Wildcard",wje=()=>"Bash 命令通配符",l_=(e={},r={})=>{if((d??r.locale??n())==="zh")return wje(e);return _je(e)};var zje=()=>"e.g. * or npm*",Sje=()=>"例如 * 或 npm*",c_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Sje(e);return zje(e)};var Lje=()=>"Best match",kje=()=>"最佳匹配",u_=(e={},r={})=>{if((d??r.locale??n())==="zh")return kje(e);return Lje(e)};var Cje=()=>"Generates a single optimal resolution matching the source quality.",Ije=()=>"生成与源质量匹配的单一最优分辨率。",d_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ije(e);return Cje(e)};var Rje=()=>"Cache Read Cost (1M)",Pje=()=>"缓存读取成本(每百万)",f_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pje(e);return Rje(e)};var Tje=()=>"Cache Read Tokens",Aje=()=>"缓存读取 Token",Qm=(e={},r={})=>{if((d??r.locale??n())==="zh")return Aje(e);return Tje(e)};var Eje=()=>"Cache Write Cost (1M)",Dje=()=>"缓存写入成本(每百万)",p_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dje(e);return Eje(e)};var Oje=()=>"Calling Tool:",jje=()=>"调用工具:",wf=(e={},r={})=>{if((d??r.locale??n())==="zh")return jje(e);return Oje(e)};var Nje=()=>"Cancel",Fje=()=>"取消",Ne=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fje(e);return Nje(e)};var Bje=()=>"Only team owners, task reporters, or assignees can change task status",Yje=()=>"只有负责人、报告人或被指派人可以更改任务状态",m_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yje(e);return Bje(e)};var Uje=()=>"Change",qje=()=>"更改",h_=(e={},r={})=>{if((d??r.locale??n())==="zh")return qje(e);return Uje(e)};var Vje=()=>"Change time format",Hje=()=>"更改时间格式",g_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hje(e);return Vje(e)};var Wje=()=>"Chat Agents",Gje=()=>"对话智能体",A_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Gje(e);return Wje(e)};var Kje=()=>"Drag and drop files or folders here to add them to chatbot context",Xje=()=>"拖拽文件或文件夹到此处以添加到聊天机器人上下文",Km=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xje(e);return Kje(e)};var Qje=()=>"简体中文 (Chinese)",Jje=()=>"简体中文 (Chinese)",__=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jje(e);return Qje(e)};var $je=()=>"Clear Custom Key",eNe=()=>"清除自定义密钥",y_=(e={},r={})=>{if((d??r.locale??n())==="zh")return eNe(e);return $je(e)};var tNe=()=>"Clear",rNe=()=>"清除",b_=(e={},r={})=>{if((d??r.locale??n())==="zh")return rNe(e);return tNe(e)};var oNe=()=>"Clear search",aNe=()=>"清除搜索",v_=(e={},r={})=>{if((d??r.locale??n())==="zh")return aNe(e);return oNe(e)};var nNe=()=>"Click to copy link",iNe=()=>"点击复制链接",w_=(e={},r={})=>{if((d??r.locale??n())==="zh")return iNe(e);return nNe(e)};var fNe=()=>"Close",sNe=()=>"关闭",Dc=(e={},r={})=>{if((d??r.locale??n())==="zh")return sNe(e);return fNe(e)};var lNe=()=>"collection",cNe=()=>"媒体合集",uNe=(e={},r={})=>{if((d??r.locale??n())==="zh")return cNe(e);return lNe(e)};var dNe=()=>"Collection created",ZNe=()=>"媒体合集已创建",pNe=(e={},r={})=>{if((d??r.locale??n())==="zh")return ZNe(e);return dNe(e)};var mNe=()=>"Collection deleted",hNe=()=>"媒体合集已删除",gNe=(e={},r={})=>{if((d??r.locale??n())==="zh")return hNe(e);return mNe(e)};var MNe=()=>"Collection Name",vNe=()=>"媒体合集名称",x_=(e={},r={})=>{if((d??r.locale??n())==="zh")return vNe(e);return MNe(e)};var xNe=()=>"Collection renamed",yNe=()=>"媒体合集已重命名",bNe=(e={},r={})=>{if((d??r.locale??n())==="zh")return yNe(e);return xNe(e)};var _Ne=()=>"Collection saved",wNe=()=>"媒体合集已保存",S_=(e={},r={})=>{if((d??r.locale??n())==="zh")return wNe(e);return _Ne(e)};var zNe=()=>"Collections",SNe=()=>"媒体合集",LNe=(e={},r={})=>{if((d??r.locale??n())==="zh")return SNe(e);return zNe(e)};var kNe=()=>"Color",CNe=()=>"颜色",E_=(e={},r={})=>{if((d??r.locale??n())==="zh")return CNe(e);return kNe(e)};var INe=()=>"Write a comment...",RNe=()=>"写下评论...",PNe=(e={},r={})=>{if((d??r.locale??n())==="zh")return RNe(e);return INe(e)};var TNe=()=>"Comment Replies",ANe=()=>"评论回复",C_=(e={},r={})=>{if((d??r.locale??n())==="zh")return ANe(e);return TNe(e)};var ENe=()=>"Comments",DNe=()=>"评论",id=(e={},r={})=>{if((d??r.locale??n())==="zh")return DNe(e);return ENe(e)};var ONe=()=>"Comments & Replies",jNe=()=>"评论与回复",I_=(e={},r={})=>{if((d??r.locale??n())==="zh")return jNe(e);return ONe(e)};var NNe=()=>"Control notification preferences when other users comment on assets you collaborate on or mention you.",FNe=()=>"控制其他用户对您协作的素材评论或提及您时的通知偏好。",T_=(e={},r={})=>{if((d??r.locale??n())==="zh")return FNe(e);return NNe(e)};var BNe=()=>"Compare Versions",YNe=()=>"对比版本",UNe=(e={},r={})=>{if((d??r.locale??n())==="zh")return YNe(e);return BNe(e)};var qNe=()=>"Configure your AI agent's personality and capabilities.",VNe=()=>"配置 AI 智能体的个性和功能。",M_=(e={},r={})=>{if((d??r.locale??n())==="zh")return VNe(e);return qNe(e)};var HNe=()=>"Configure your new project workspace and appearance.",WNe=()=>"配置您的新项目工作区和外观。",k_=(e={},r={})=>{if((d??r.locale??n())==="zh")return WNe(e);return HNe(e)};var GNe=()=>"Configure authentication and model details for your AI provider.",KNe=()=>"配置 AI 提供商的身份验证和模型详情。",Wm=(e={},r={})=>{if((d??r.locale??n())==="zh")return KNe(e);return GNe(e)};var XNe=(e)=>`Configure Skill: ${e?.name}`,QNe=(e)=>`配置技能:${e?.name}`,R_=(e,r={})=>{if((d??r.locale??n())==="zh")return QNe(e);return XNe(e)};var JNe=()=>"Configured AI Providers",$Ne=()=>"已配置的 AI 提供商",N_=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Ne(e);return JNe(e)};var e5e=()=>"Confirm",t5e=()=>"确认",Xa=(e={},r={})=>{if((d??r.locale??n())==="zh")return t5e(e);return e5e(e)};var r5e=()=>"Are you sure you want to delete this field?",o5e=()=>"确定要删除此字段吗?",D_=(e={},r={})=>{if((d??r.locale??n())==="zh")return o5e(e);return r5e(e)};var a5e=()=>"Confirm Download",n5e=()=>"确认下载",Ym=(e={},r={})=>{if((d??r.locale??n())==="zh")return n5e(e);return a5e(e)};var i5e=()=>"Confirm Password",f5e=()=>"确认密码",P_=(e={},r={})=>{if((d??r.locale??n())==="zh")return f5e(e);return i5e(e)};var s5e=()=>"Confirm new password",l5e=()=>"确认新密码",O_=(e={},r={})=>{if((d??r.locale??n())==="zh")return l5e(e);return s5e(e)};var c5e=()=>"Contains drawing annotations",u5e=()=>"包含标注绘图",F_=(e={},r={})=>{if((d??r.locale??n())==="zh")return u5e(e);return c5e(e)};var d5e=()=>"Context Window (tokens)",Z5e=()=>"上下文窗口(令牌数)",L_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Z5e(e);return d5e(e)};var p5e=()=>"Copied!",m5e=()=>"已复制!",Z_=(e={},r={})=>{if((d??r.locale??n())==="zh")return m5e(e);return p5e(e)};var h5e=()=>"Copied API token to clipboard",g5e=()=>"已将 API 令牌复制到剪贴板",B_=(e={},r={})=>{if((d??r.locale??n())==="zh")return g5e(e);return h5e(e)};var M5e=()=>"Copied name and download link to clipboard",v5e=()=>"已复制名称和下载链接到剪贴板",U_=(e={},r={})=>{if((d??r.locale??n())==="zh")return v5e(e);return M5e(e)};var x5e=()=>"Copied to clipboard",y5e=()=>"已复制到剪贴板",z_=(e={},r={})=>{if((d??r.locale??n())==="zh")return y5e(e);return x5e(e)};var b5e=()=>"Copy",_5e=()=>"复制",j_=(e={},r={})=>{if((d??r.locale??n())==="zh")return _5e(e);return b5e(e)};var w5e=()=>"Copy optimized image to clipboard",z5e=()=>"复制优化图片到剪贴板",q_=(e={},r={})=>{if((d??r.locale??n())==="zh")return z5e(e);return w5e(e)};var S5e=()=>"Copy Link",L5e=()=>"复制链接",H_=(e={},r={})=>{if((d??r.locale??n())==="zh")return L5e(e);return S5e(e)};var k5e=()=>"Copy name and download link",C5e=()=>"复制名称和下载链接",xf=(e={},r={})=>{if((d??r.locale??n())==="zh")return C5e(e);return k5e(e)};var I5e=()=>"Copy to",R5e=()=>"复制到",Jm=(e={},r={})=>{if((d??r.locale??n())==="zh")return R5e(e);return I5e(e)};var P5e=()=>"Cost",T5e=()=>"费用",Xm=(e={},r={})=>{if((d??r.locale??n())==="zh")return T5e(e);return P5e(e)};var A5e=(e)=>`$${e?.input}/1M in · $${e?.output}/1M out`,E5e=(e)=>`$${e?.input}/1M 输入 · $${e?.output}/1M 输出`,eh=(e,r={})=>{if((d??r.locale??n())==="zh")return E5e(e);return A5e(e)};var D5e=()=>"10000+ Assets",O5e=()=>"10000+ 资源",$_=(e={},r={})=>{if((d??r.locale??n())==="zh")return O5e(e);return D5e(e)};var j5e=()=>"10000+ Folders",N5e=()=>"10000+ 文件夹",G_=(e={},r={})=>{if((d??r.locale??n())==="zh")return N5e(e);return j5e(e)};var F5e=()=>"Cover Preview",B5e=()=>"封面预览",V_=(e={},r={})=>{if((d??r.locale??n())==="zh")return B5e(e);return F5e(e)};var Y5e=()=>"Create",U5e=()=>"创建",Pc=(e={},r={})=>{if((d??r.locale??n())==="zh")return U5e(e);return Y5e(e)};var q5e=()=>"Create Account",V5e=()=>"创建账户",H5e=(e={},r={})=>{if((d??r.locale??n())==="zh")return V5e(e);return q5e(e)};var W5e=()=>"Create Agent",G5e=()=>"创建智能体",Q_=(e={},r={})=>{if((d??r.locale??n())==="zh")return G5e(e);return W5e(e)};var K5e=()=>"Create your first goal to organize related tasks.",X5e=()=>"创建第一个目标来组织相关任务。",K_=(e={},r={})=>{if((d??r.locale??n())==="zh")return X5e(e);return K5e(e)};var Q5e=()=>"Create Goal",J5e=()=>"创建目标",W_=(e={},r={})=>{if((d??r.locale??n())==="zh")return J5e(e);return Q5e(e)};var $5e=()=>"Create New Project",e4e=()=>"创建新项目",Y_=(e={},r={})=>{if((d??r.locale??n())==="zh")return e4e(e);return $5e(e)};var t4e=()=>"Create New Template",r4e=()=>"创建新模板",th=(e={},r={})=>{if((d??r.locale??n())==="zh")return r4e(e);return t4e(e)};var o4e=()=>"Create new version",a4e=()=>"创建新版本",J_=(e={},r={})=>{if((d??r.locale??n())==="zh")return a4e(e);return o4e(e)};var n4e=()=>"Create one now",i4e=()=>"立即创建",X_=(e={},r={})=>{if((d??r.locale??n())==="zh")return i4e(e);return n4e(e)};var f4e=()=>"Create Project",s4e=()=>"创建项目",Sf=(e={},r={})=>{if((d??r.locale??n())==="zh")return s4e(e);return f4e(e)};var l4e=()=>"Create Quota Rule",c4e=()=>"创建配额规则",ey=(e={},r={})=>{if((d??r.locale??n())==="zh")return c4e(e);return l4e(e)};var u4e=()=>"Set up a new resource quota to prevent unexpected usage.",d4e=()=>"设置新的资源配额以防止意外的超量使用。",ty=(e={},r={})=>{if((d??r.locale??n())==="zh")return d4e(e);return u4e(e)};var Z4e=()=>"Create Share Link",p4e=()=>"创建分享链接",rh=(e={},r={})=>{if((d??r.locale??n())==="zh")return p4e(e);return Z4e(e)};var m4e=()=>"Create Task",h4e=()=>"创建任务",Ef=(e={},r={})=>{if((d??r.locale??n())==="zh")return h4e(e);return m4e(e)};var g4e=()=>"Create Time",M4e=()=>"创建时间",ry=(e={},r={})=>{if((d??r.locale??n())==="zh")return M4e(e);return g4e(e)};var v4e=(e)=>`Create ${e?.type} Agent`,x4e=(e)=>`创建${e?.type}智能体`,ny=(e,r={})=>{if((d??r.locale??n())==="zh")return x4e(e);return v4e(e)};var y4e=()=>"Created At",b4e=()=>"创建时间",oy=(e={},r={})=>{if((d??r.locale??n())==="zh")return b4e(e);return y4e(e)};var _4e=()=>"Created by Agent",w4e=()=>"由智能体创建",sy=(e={},r={})=>{if((d??r.locale??n())==="zh")return w4e(e);return _4e(e)};var z4e=(e)=>`${e?.time} by ${e?.author}`,S4e=(e)=>`${e?.time} 由 ${e?.author} 创建`,ay=(e,r={})=>{if((d??r.locale??n())==="zh")return S4e(e);return z4e(e)};var L4e=()=>"Created Date",k4e=()=>"创建日期",Cf=(e={},r={})=>{if((d??r.locale??n())==="zh")return k4e(e);return L4e(e)};var C4e=()=>"Creating account...",I4e=()=>"创建账户中...",R4e=(e={},r={})=>{if((d??r.locale??n())==="zh")return I4e(e);return C4e(e)};var P4e=()=>"Creator",T4e=()=>"创建者",Oc=(e={},r={})=>{if((d??r.locale??n())==="zh")return T4e(e);return P4e(e)};var A4e=()=>"Current Custom Avatar",E4e=()=>"当前自定义头像",iy=(e={},r={})=>{if((d??r.locale??n())==="zh")return E4e(e);return A4e(e)};var D4e=()=>"Current Project",O4e=()=>"当前项目",j4e=(e={},r={})=>{if((d??r.locale??n())==="zh")return O4e(e);return D4e(e)};var N4e=()=>"Custom Fields",F4e=()=>"自定义字段",ly=(e={},r={})=>{if((d??r.locale??n())==="zh")return F4e(e);return N4e(e)};var B4e=()=>"Custom Model...",Y4e=()=>"自定义模型...",cy=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y4e(e);return B4e(e)};var U4e=()=>"Dark",q4e=()=>"深色",V4e=(e={},r={})=>{if((d??r.locale??n())==="zh")return q4e(e);return U4e(e)};var H4e=()=>"Dashboard",W4e=()=>"仪表板",nh=(e={},r={})=>{if((d??r.locale??n())==="zh")return W4e(e);return H4e(e)};var G4e=()=>"MMMM d, yyyy",K4e=()=>"yyyy年M月d日",X4e=(e={},r={})=>{if((d??r.locale??n())==="zh")return K4e(e);return G4e(e)};var Q4e=()=>"One month ago",J4e=()=>"一个月前",uy=(e={},r={})=>{if((d??r.locale??n())==="zh")return J4e(e);return Q4e(e)};var $4e=()=>"One month from now",eFe=()=>"一个月后",dy=(e={},r={})=>{if((d??r.locale??n())==="zh")return eFe(e);return $4e(e)};var tFe=()=>"One week ago",rFe=()=>"一周前",fy=(e={},r={})=>{if((d??r.locale??n())==="zh")return rFe(e);return tFe(e)};var oFe=()=>"One week from now",aFe=()=>"一周后",py=(e={},r={})=>{if((d??r.locale??n())==="zh")return aFe(e);return oFe(e)};var nFe=()=>"Today",iFe=()=>"今天",my=(e={},r={})=>{if((d??r.locale??n())==="zh")return iFe(e);return nFe(e)};var fFe=()=>"Tomorrow",sFe=()=>"明天",hy=(e={},r={})=>{if((d??r.locale??n())==="zh")return sFe(e);return fFe(e)};var lFe=()=>"Date type",cFe=()=>"日期类型",gy=(e={},r={})=>{if((d??r.locale??n())==="zh")return cFe(e);return lFe(e)};var uFe=()=>"Yesterday",dFe=()=>"昨天",Ay=(e={},r={})=>{if((d??r.locale??n())==="zh")return dFe(e);return uFe(e)};var ZFe=(e)=>`Default: ${e?.envKey}`,pFe=(e)=>`默认:${e?.envKey}`,_y=(e,r={})=>{if((d??r.locale??n())==="zh")return pFe(e);return ZFe(e)};var mFe=()=>"Default Value",hFe=()=>"默认值",yy=(e={},r={})=>{if((d??r.locale??n())==="zh")return hFe(e);return mFe(e)};var gFe=()=>"Delete",MFe=()=>"删除",it=(e={},r={})=>{if((d??r.locale??n())==="zh")return MFe(e);return gFe(e)};var vFe=()=>"Delete Agent",xFe=()=>"删除智能体",by=(e={},r={})=>{if((d??r.locale??n())==="zh")return xFe(e);return vFe(e)};var yFe=(e)=>`This action cannot be undone. This will permanently delete the agent "${e?.name}" and remove all its data from our servers.`,bFe=(e)=>`此操作无法撤销。这将永久删除智能体 "${e?.name}" 并从服务器上删除其所有数据。`,vy=(e,r={})=>{if((d??r.locale??n())==="zh")return bFe(e);return yFe(e)};var _Fe=()=>"Deleted items can be recovered for 30 days before being permanently deleted.",wFe=()=>"已删除的项目可在 30 天内恢复,之后将被永久删除。",Fc=(e={},r={})=>{if((d??r.locale??n())==="zh")return wFe(e);return _Fe(e)};var zFe=()=>"Delete Asset?",SFe=()=>"删除资源?",Lc=(e={},r={})=>{if((d??r.locale??n())==="zh")return SFe(e);return zFe(e)};var LFe=()=>"Delete Collection?",kFe=()=>"删除媒体合集?",CFe=(e={},r={})=>{if((d??r.locale??n())==="zh")return kFe(e);return LFe(e)};var IFe=()=>"Delete Comment?",RFe=()=>"删除评论?",oh=(e={},r={})=>{if((d??r.locale??n())==="zh")return RFe(e);return IFe(e)};var PFe=()=>"Are you sure you want to delete this comment? This action cannot be undone.",TFe=()=>"您确定要删除这条评论吗?此操作将无法撤回。",sh=(e={},r={})=>{if((d??r.locale??n())==="zh")return TFe(e);return PFe(e)};var AFe=(e)=>`Are you sure you want to delete this ${e?.type}? This action cannot be undone.`,EFe=(e)=>`确定要删除此${e?.type}吗?此操作无法撤销。`,DFe=(e,r={})=>{if((d??r.locale??n())==="zh")return EFe(e);return AFe(e)};var OFe=()=>"Delete field",jFe=()=>"删除字段",wy=(e={},r={})=>{if((d??r.locale??n())==="zh")return jFe(e);return OFe(e)};var NFe=()=>"Delete Folder?",FFe=()=>"删除文件夹?",BFe=(e={},r={})=>{if((d??r.locale??n())==="zh")return FFe(e);return NFe(e)};var YFe=()=>"Delete Goal",UFe=()=>"删除目标",xy=(e={},r={})=>{if((d??r.locale??n())==="zh")return UFe(e);return YFe(e)};var qFe=(e)=>`Are you sure you want to delete goal "${e?.title}"? Associated tasks will remain but will no longer be linked to this goal.`,VFe=(e)=>`确定要删除目标"${e?.title}"吗?关联的任务仍将保留,但不再关联此目标。`,Sy=(e,r={})=>{if((d??r.locale??n())==="zh")return VFe(e);return qFe(e)};var HFe=()=>"Delete MCP Server",WFe=()=>"删除 MCP 服务",Ey=(e={},r={})=>{if((d??r.locale??n())==="zh")return WFe(e);return HFe(e)};var GFe=(e)=>`This action cannot be undone. This will permanently delete the MCP server "${e?.name}".`,KFe=(e)=>`此操作无法撤销。这将永久删除 MCP 服务 "${e?.name}"。`,Cy=(e,r={})=>{if((d??r.locale??n())==="zh")return KFe(e);return GFe(e)};var XFe=(e)=>`This action cannot be undone. This will permanently delete the model "${e?.name}".`,QFe=(e)=>`此操作无法撤销。这将永久删除模型 "${e?.name}"。`,Iy=(e,r={})=>{if((d??r.locale??n())==="zh")return QFe(e);return XFe(e)};var JFe=()=>"delete",$Fe=()=>"delete",Ty=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Fe(e);return JFe(e)};var e3e=(e)=>`This action cannot be undone. This will permanently delete the project "${e?.name}" and all its assets.`,t3e=(e)=>`此操作无法撤销。这将永久删除项目 "${e?.name}" 及其所有资产。`,My=(e,r={})=>{if((d??r.locale??n())==="zh")return t3e(e);return e3e(e)};var r3e=(e)=>`This action cannot be undone. This will permanently delete the provider "${e?.name}" and all associated model configurations.`,o3e=(e)=>`此操作无法撤销。这将永久删除提供商 "${e?.name}" 及所有关联的模型配置。`,ky=(e,r={})=>{if((d??r.locale??n())==="zh")return o3e(e);return r3e(e)};var a3e=()=>"Delete Quota",n3e=()=>"删除配额",If=(e={},r={})=>{if((d??r.locale??n())==="zh")return n3e(e);return a3e(e)};var i3e=()=>"Are you sure you want to delete this quota rule? This action cannot be undone.",f3e=()=>"确定要删除此配额规则吗?此操作无法撤销。",ah=(e={},r={})=>{if((d??r.locale??n())==="zh")return f3e(e);return i3e(e)};var s3e=()=>"Delete Session",l3e=()=>"删除会话",Ry=(e={},r={})=>{if((d??r.locale??n())==="zh")return l3e(e);return s3e(e)};var c3e=()=>"Are you sure you want to delete this chat session?",u3e=()=>"您确定要删除此会话记录吗?",Ny=(e={},r={})=>{if((d??r.locale??n())==="zh")return u3e(e);return c3e(e)};var d3e=()=>"Delete Share Link?",Z3e=()=>"删除分享链接?",p3e=(e={},r={})=>{if((d??r.locale??n())==="zh")return Z3e(e);return d3e(e)};var m3e=(e)=>`This action cannot be undone. This will permanently delete the skill "${e?.name}" and all its configurations.`,h3e=(e)=>`此操作无法撤销。这将永久删除技能 "${e?.name}" 及其所有配置。`,Dy=(e,r={})=>{if((d??r.locale??n())==="zh")return h3e(e);return m3e(e)};var g3e=()=>"Delete Task",M3e=()=>"删除任务",Py=(e={},r={})=>{if((d??r.locale??n())==="zh")return M3e(e);return g3e(e)};var v3e=(e)=>`Are you sure you want to delete task "${e?.title}"? This action cannot be undone.`,x3e=(e)=>`确定要删除任务"${e?.title}"吗?此操作无法撤销。`,Oy=(e,r={})=>{if((d??r.locale??n())==="zh")return x3e(e);return v3e(e)};var y3e=()=>"Deleted",b3e=()=>"已删除",Fy=(e={},r={})=>{if((d??r.locale??n())==="zh")return b3e(e);return y3e(e)};var _3e=()=>"Deleting...",w3e=()=>"删除中...",Ly=(e={},r={})=>{if((d??r.locale??n())==="zh")return w3e(e);return _3e(e)};var z3e=()=>"Demo Access:",S3e=()=>"演示访问:",L3e=(e={},r={})=>{if((d??r.locale??n())==="zh")return S3e(e);return z3e(e)};var k3e=()=>'Use "foo@bar.com" as the email and "foo" as the password to login (this demo account is read-only).',C3e=()=>'使用 "foo@bar.com" 作为邮箱,"foo" 作为密码登录(该演示账户为只读)。',I3e=(e={},r={})=>{if((d??r.locale??n())==="zh")return C3e(e);return k3e(e)};var R3e=()=>"Descending",P3e=()=>"降序",Tf=(e={},r={})=>{if((d??r.locale??n())==="zh")return P3e(e);return R3e(e)};var T3e=()=>"Description",A3e=()=>"描述",hl=(e={},r={})=>{if((d??r.locale??n())==="zh")return A3e(e);return T3e(e)};var E3e=()=>"Optional, used for AI autofill",D3e=()=>"可选,用于 AI 自动填充",ld=(e={},r={})=>{if((d??r.locale??n())==="zh")return D3e(e);return E3e(e)};var O3e=()=>"Generate and manage API keys for developers and automated workflows.",j3e=()=>"为开发者和自动化工作流生成和管理 API 密钥。",Zy=(e={},r={})=>{if((d??r.locale??n())==="zh")return j3e(e);return O3e(e)};var N3e=()=>"Developer Settings",F3e=()=>"开发者设置",By=(e={},r={})=>{if((d??r.locale??n())==="zh")return F3e(e);return N3e(e)};var B3e=()=>"Disable Timestamp",Y3e=()=>"禁用时间戳",Uy=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y3e(e);return B3e(e)};var U3e=()=>"Disabled",q3e=()=>"已禁用",Mf=(e={},r={})=>{if((d??r.locale??n())==="zh")return q3e(e);return U3e(e)};var V3e=()=>"Display Name (Optional)",H3e=()=>"显示名称(可选)",zy=(e={},r={})=>{if((d??r.locale??n())==="zh")return H3e(e);return V3e(e)};var W3e=()=>"Domain already exists",G3e=()=>"域名已存在",jy=(e={},r={})=>{if((d??r.locale??n())==="zh")return G3e(e);return W3e(e)};var K3e=()=>"Done",X3e=()=>"完成",Q3e=(e={},r={})=>{if((d??r.locale??n())==="zh")return X3e(e);return K3e(e)};var J3e=()=>"Download",$3e=()=>"下载",pr=(e={},r={})=>{if((d??r.locale??n())==="zh")return $3e(e);return J3e(e)};var e6e=(e)=>`This download will include ${e?.count} file(s).`,t6e=(e)=>`此下载将包含 ${e?.count} 个文件。`,ih=(e,r={})=>{if((d??r.locale??n())==="zh")return t6e(e);return e6e(e)};var r6e=()=>"Download original file",o6e=()=>"下载原始文件",qy=(e={},r={})=>{if((d??r.locale??n())==="zh")return o6e(e);return r6e(e)};var a6e=()=>"Download original image",n6e=()=>"下载原始图片",Hy=(e={},r={})=>{if((d??r.locale??n())==="zh")return n6e(e);return a6e(e)};var i6e=()=>"Due Date",f6e=()=>"截止日期",cd=(e={},r={})=>{if((d??r.locale??n())==="zh")return f6e(e);return i6e(e)};var s6e=()=>"Edit",l6e=()=>"编辑",$y=(e={},r={})=>{if((d??r.locale??n())==="zh")return l6e(e);return s6e(e)};var c6e=()=>"Edit Goal",u6e=()=>"编辑目标",lh=(e={},r={})=>{if((d??r.locale??n())==="zh")return u6e(e);return c6e(e)};var d6e=(e)=>`Edit ${e?.name}`,Z6e=(e)=>`编辑 ${e?.name}`,ch=(e,r={})=>{if((d??r.locale??n())==="zh")return Z6e(e);return d6e(e)};var p6e=()=>"Edit MCP Server",m6e=()=>"编辑 MCP 服务",Gy=(e={},r={})=>{if((d??r.locale??n())==="zh")return m6e(e);return p6e(e)};var h6e=()=>"Edit Model",g6e=()=>"编辑模型",uh=(e={},r={})=>{if((d??r.locale??n())==="zh")return g6e(e);return h6e(e)};var M6e=()=>"Edit Quota Rule",v6e=()=>"编辑配额规则",Vy=(e={},r={})=>{if((d??r.locale??n())==="zh")return v6e(e);return M6e(e)};var x6e=()=>"Configure resource limits, target scopes, and evaluation periods.",y6e=()=>"配置资源上限、目标范围以及评估周期。",Qy=(e={},r={})=>{if((d??r.locale??n())==="zh")return y6e(e);return x6e(e)};var b6e=()=>"Edit Task",_6e=()=>"编辑任务",w6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return _6e(e);return b6e(e)};var z6e=()=>"Edit Watermark",S6e=()=>"编辑水印",Ky=(e={},r={})=>{if((d??r.locale??n())==="zh")return S6e(e);return z6e(e)};var L6e=()=>"Editor",k6e=()=>"创作者",Ls=(e={},r={})=>{if((d??r.locale??n())==="zh")return k6e(e);return L6e(e)};var C6e=()=>"Email",I6e=()=>"邮箱",kf=(e={},r={})=>{if((d??r.locale??n())==="zh")return I6e(e);return C6e(e)};var R6e=()=>"Email Address",P6e=()=>"邮箱地址",Afe=(e={},r={})=>{if((d??r.locale??n())==="zh")return P6e(e);return R6e(e)};var T6e=()=>"john@example.com",A6e=()=>"zhangsan@example.com",Wy=(e={},r={})=>{if((d??r.locale??n())==="zh")return A6e(e);return T6e(e)};var E6e=()=>"Email address is managed by authentication provider.",D6e=()=>"邮箱地址由认证提供商管理。",Yy=(e={},r={})=>{if((d??r.locale??n())==="zh")return D6e(e);return E6e(e)};var O6e=()=>"Embedding Agent",j6e=()=>"嵌入智能体",Jy=(e={},r={})=>{if((d??r.locale??n())==="zh")return j6e(e);return O6e(e)};var N6e=()=>"All items in the recently deleted folder will be permanently removed both from the database and from storage. This action cannot be undone.",F6e=()=>"回收站中的所有项目将从数据库和存储中永久删除。此操作无法撤销。",Xy=(e={},r={})=>{if((d??r.locale??n())==="zh")return F6e(e);return N6e(e)};var B6e=()=>"Empty Trash?",Y6e=()=>"清空回收站?",eb=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y6e(e);return B6e(e)};var U6e=()=>"Please create and enable an embedding agent in the team settings to use semantic search.",q6e=()=>"请在团队设置中创建并启用嵌入智能体以使用语义搜索。",tb=(e={},r={})=>{if((d??r.locale??n())==="zh")return q6e(e);return U6e(e)};var V6e=()=>"Enable Network Sandbox",H6e=()=>"启用网络沙箱",rb=(e={},r={})=>{if((d??r.locale??n())==="zh")return H6e(e);return V6e(e)};var W6e=()=>"Enable Timestamp",G6e=()=>"启用时间戳",nb=(e={},r={})=>{if((d??r.locale??n())==="zh")return G6e(e);return W6e(e)};var K6e=()=>"Enabled",X6e=()=>"已启用",Rf=(e={},r={})=>{if((d??r.locale??n())==="zh")return X6e(e);return K6e(e)};var Q6e=()=>"English",J6e=()=>"English",ob=(e={},r={})=>{if((d??r.locale??n())==="zh")return J6e(e);return Q6e(e)};var $6e=()=>"Enter a value",eBe=()=>"输入一个值",sb=(e={},r={})=>{if((d??r.locale??n())==="zh")return eBe(e);return $6e(e)};var tBe=()=>"Enter custom model ID",rBe=()=>"输入自定义模型 ID",ab=(e={},r={})=>{if((d??r.locale??n())==="zh")return rBe(e);return tBe(e)};var oBe=()=>"Enter MCP Server ID",aBe=()=>"输入 MCP 服务 ID",dh=(e={},r={})=>{if((d??r.locale??n())==="zh")return aBe(e);return oBe(e)};var nBe=()=>"Enter new name",iBe=()=>"输入新名称",ud=(e={},r={})=>{if((d??r.locale??n())==="zh")return iBe(e);return nBe(e)};var fBe=()=>"Enter password",sBe=()=>"请输入密码",ib=(e={},r={})=>{if((d??r.locale??n())==="zh")return sBe(e);return fBe(e)};var lBe=()=>"Enter template name...",cBe=()=>"请输入模板名称...",fh=(e={},r={})=>{if((d??r.locale??n())==="zh")return cBe(e);return lBe(e)};var uBe=()=>"Enter your details",dBe=()=>"输入您的信息",lb=(e={},r={})=>{if((d??r.locale??n())==="zh")return dBe(e);return uBe(e)};var ZBe=()=>"Enter your name",pBe=()=>"请输入您的名称",cb=(e={},r={})=>{if((d??r.locale??n())==="zh")return pBe(e);return ZBe(e)};var mBe=()=>"Entry ID",hBe=()=>"条目 ID",dd=(e={},r={})=>{if((d??r.locale??n())==="zh")return hBe(e);return mBe(e)};var gBe=()=>"If left empty, the value will be read from the host machine's environment.",MBe=()=>"如果留空,将从主机的环境中读取值。",ub=(e={},r={})=>{if((d??r.locale??n())==="zh")return MBe(e);return gBe(e)};var vBe=()=>"Error",xBe=()=>"错误",Tn=(e={},r={})=>{if((d??r.locale??n())==="zh")return xBe(e);return vBe(e)};var yBe=(e)=>`Error: ${e?.message}`,bBe=(e)=>`错误:${e?.message}`,Zs=(e,r={})=>{if((d??r.locale??n())==="zh")return bBe(e);return yBe(e)};var _Be=()=>"Essentials",wBe=()=>"基本信息",db=(e={},r={})=>{if((d??r.locale??n())==="zh")return wBe(e);return _Be(e)};var zBe=()=>"Exact date...",SBe=()=>"精确日期...",fb=(e={},r={})=>{if((d??r.locale??n())==="zh")return SBe(e);return zBe(e)};var LBe=()=>"Exit compare",kBe=()=>"退出对比",pb=(e={},r={})=>{if((d??r.locale??n())==="zh")return kBe(e);return LBe(e)};var CBe=()=>"Expiration Date",IBe=()=>"过期日期",mb=(e={},r={})=>{if((d??r.locale??n())==="zh")return IBe(e);return CBe(e)};var RBe=()=>"Export Comments",PBe=()=>"导出评论",hb=(e={},r={})=>{if((d??r.locale??n())==="zh")return PBe(e);return RBe(e)};var TBe=()=>"Failed to create collection",ABe=()=>"创建媒体合集失败",EBe=(e={},r={})=>{if((d??r.locale??n())==="zh")return ABe(e);return TBe(e)};var DBe=()=>"Failed to create field",OBe=()=>"创建字段失败",Nf=(e={},r={})=>{if((d??r.locale??n())==="zh")return OBe(e);return DBe(e)};var jBe=()=>"Failed to create project",NBe=()=>"创建项目失败",gb=(e={},r={})=>{if((d??r.locale??n())==="zh")return NBe(e);return jBe(e)};var FBe=()=>"Failed to create share link",BBe=()=>"创建分享链接失败",YBe=(e={},r={})=>{if((d??r.locale??n())==="zh")return BBe(e);return FBe(e)};var UBe=()=>"Failed to delete collection",qBe=()=>"删除媒体合集失败",VBe=(e={},r={})=>{if((d??r.locale??n())==="zh")return qBe(e);return UBe(e)};var HBe=()=>"Failed to delete field",WBe=()=>"删除字段失败",Ab=(e={},r={})=>{if((d??r.locale??n())==="zh")return WBe(e);return HBe(e)};var GBe=()=>"Failed to delete folder",KBe=()=>"删除文件夹失败",XBe=(e={},r={})=>{if((d??r.locale??n())==="zh")return KBe(e);return GBe(e)};var QBe=()=>"Failed to delete share link",JBe=()=>"删除分享链接失败",$Be=(e={},r={})=>{if((d??r.locale??n())==="zh")return JBe(e);return QBe(e)};var eYe=()=>"Failed to fetch collections",tYe=()=>"获取媒体合集失败",rYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return tYe(e);return eYe(e)};var oYe=()=>"Failed to fetch fields",aYe=()=>"获取字段列表失败",_b=(e={},r={})=>{if((d??r.locale??n())==="zh")return aYe(e);return oYe(e)};var nYe=()=>"Failed to fetch files",iYe=()=>"获取文件失败",yb=(e={},r={})=>{if((d??r.locale??n())==="zh")return iYe(e);return nYe(e)};var fYe=()=>"Failed to fetch folders",sYe=()=>"获取文件夹失败",bb=(e={},r={})=>{if((d??r.locale??n())==="zh")return sYe(e);return fYe(e)};var lYe=()=>"Failed to fetch share link",cYe=()=>"获取分享链接失败",vb=(e={},r={})=>{if((d??r.locale??n())==="zh")return cYe(e);return lYe(e)};var uYe=()=>"Failed to fetch share links",dYe=()=>"获取分享链接失败",ZYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return dYe(e);return uYe(e)};var pYe=()=>"Failed to load settings.",mYe=()=>"加载设置失败。",Wo=(e={},r={})=>{if((d??r.locale??n())==="zh")return mYe(e);return pYe(e)};var hYe=()=>"Failed to remove",gYe=()=>"移除失败",wb=(e={},r={})=>{if((d??r.locale??n())==="zh")return gYe(e);return hYe(e)};var MYe=()=>"Failed to remove avatar",vYe=()=>"移除头像失败",xb=(e={},r={})=>{if((d??r.locale??n())==="zh")return vYe(e);return MYe(e)};var xYe=()=>"Failed to rename collection",yYe=()=>"重命名媒体合集失败",bYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return yYe(e);return xYe(e)};var _Ye=()=>"Failed to rename folder",wYe=()=>"重命名文件夹失败",zYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return wYe(e);return _Ye(e)};var SYe=()=>"Failed to rename share link",LYe=()=>"重命名分享链接失败",kYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return LYe(e);return SYe(e)};var CYe=()=>"Failed to save collection",IYe=()=>"保存媒体合集失败",Sb=(e={},r={})=>{if((d??r.locale??n())==="zh")return IYe(e);return CYe(e)};var RYe=(e)=>`Failed to add ${e?.name}`,PYe=(e)=>`添加 ${e?.name} 失败`,ph=(e,r={})=>{if((d??r.locale??n())==="zh")return PYe(e);return RYe(e)};var TYe=()=>"Failed to add model",AYe=()=>"添加模型失败",Eb=(e={},r={})=>{if((d??r.locale??n())==="zh")return AYe(e);return TYe(e)};var EYe=()=>"Failed to create quota rule",DYe=()=>"创建配额规则失败",mh=(e={},r={})=>{if((d??r.locale??n())==="zh")return DYe(e);return EYe(e)};var OYe=()=>"Failed to delete",jYe=()=>"删除失败",ki=(e={},r={})=>{if((d??r.locale??n())==="zh")return jYe(e);return OYe(e)};var NYe=()=>"Failed to delete quota rule",FYe=()=>"删除配额规则失败",fd=(e={},r={})=>{if((d??r.locale??n())==="zh")return FYe(e);return NYe(e)};var BYe=()=>"Failed to export comments",YYe=()=>"导出评论失败",Cb=(e={},r={})=>{if((d??r.locale??n())==="zh")return YYe(e);return BYe(e)};var UYe=()=>"Failed to fetch folder children",qYe=()=>"获取子文件夹失败",VYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return qYe(e);return UYe(e)};var HYe=()=>"Failed to generate invite link",WYe=()=>"生成邀请链接失败",Ib=(e={},r={})=>{if((d??r.locale??n())==="zh")return WYe(e);return HYe(e)};var GYe=()=>"Failed to generate token",KYe=()=>"生成令牌失败",Tb=(e={},r={})=>{if((d??r.locale??n())==="zh")return KYe(e);return GYe(e)};var XYe=()=>"Failed to install skill",QYe=()=>"安装技能失败",Mb=(e={},r={})=>{if((d??r.locale??n())==="zh")return QYe(e);return XYe(e)};var JYe=()=>"Failed to load quota usage",$Ye=()=>"加载配额使用量失败",hh=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Ye(e);return JYe(e)};var e7e=()=>"Failed to post comment",t7e=()=>"发送评论失败",kb=(e={},r={})=>{if((d??r.locale??n())==="zh")return t7e(e);return e7e(e)};var r7e=()=>"Failed to prepare download links",o7e=()=>"准备下载链接失败",Efe=(e={},r={})=>{if((d??r.locale??n())==="zh")return o7e(e);return r7e(e)};var a7e=()=>"Failed to remove member",n7e=()=>"移除成员失败",Rb=(e={},r={})=>{if((d??r.locale??n())==="zh")return n7e(e);return a7e(e)};var i7e=()=>"Failed to remove version",f7e=()=>"移除版本失败",s7e=(e={},r={})=>{if((d??r.locale??n())==="zh")return f7e(e);return i7e(e)};var l7e=()=>"Failed to rename",c7e=()=>"重命名失败",Nb=(e={},r={})=>{if((d??r.locale??n())==="zh")return c7e(e);return l7e(e)};var u7e=()=>"Failed to reorder versions",d7e=()=>"版本重新排序失败",Z7e=(e={},r={})=>{if((d??r.locale??n())==="zh")return d7e(e);return u7e(e)};var p7e=()=>"Failed to reset quota usage",m7e=()=>"重置配额使用量失败",gh=(e={},r={})=>{if((d??r.locale??n())==="zh")return m7e(e);return p7e(e)};var h7e=()=>"Failed to revoke token",g7e=()=>"撤销令牌失败",Db=(e={},r={})=>{if((d??r.locale??n())==="zh")return g7e(e);return h7e(e)};var M7e=()=>"Failed to update member role",v7e=()=>"更新成员角色失败",Pb=(e={},r={})=>{if((d??r.locale??n())==="zh")return v7e(e);return M7e(e)};var x7e=()=>"Failed to update notification settings",y7e=()=>"更新通知设置失败",Ah=(e={},r={})=>{if((d??r.locale??n())==="zh")return y7e(e);return x7e(e)};var b7e=()=>"Failed to update permission",_7e=()=>"更新权限失败",gl=(e={},r={})=>{if((d??r.locale??n())==="zh")return _7e(e);return b7e(e)};var w7e=()=>"Failed to update provider",z7e=()=>"更新提供商失败",Ob=(e={},r={})=>{if((d??r.locale??n())==="zh")return z7e(e);return w7e(e)};var S7e=()=>"Failed to update quota rule",L7e=()=>"更新配额规则失败",pd=(e={},r={})=>{if((d??r.locale??n())==="zh")return L7e(e);return S7e(e)};var k7e=()=>"Failed to update sandbox settings",C7e=()=>"更新沙箱设置失败",_h=(e={},r={})=>{if((d??r.locale??n())==="zh")return C7e(e);return k7e(e)};var I7e=()=>"Failed to update",R7e=()=>"更新失败",ma=(e={},r={})=>{if((d??r.locale??n())==="zh")return R7e(e);return I7e(e)};var P7e=()=>"Failed to update appearance settings",T7e=()=>"更新外观设置失败",yh=(e={},r={})=>{if((d??r.locale??n())==="zh")return T7e(e);return P7e(e)};var A7e=()=>"Failed to update avatar",E7e=()=>"头像更新失败",Fb=(e={},r={})=>{if((d??r.locale??n())==="zh")return E7e(e);return A7e(e)};var D7e=()=>"Failed to update field",O7e=()=>"更新字段失败",Al=(e={},r={})=>{if((d??r.locale??n())==="zh")return O7e(e);return D7e(e)};var j7e=()=>"Failed to update fields order",N7e=()=>"更新字段排序失败",Df=(e={},r={})=>{if((d??r.locale??n())==="zh")return N7e(e);return j7e(e)};var F7e=()=>"Failed to update language",B7e=()=>"语言更新失败",Lb=(e={},r={})=>{if((d??r.locale??n())==="zh")return B7e(e);return F7e(e)};var Y7e=()=>"Failed to update profile",U7e=()=>"更新个人资料失败",Zb=(e={},r={})=>{if((d??r.locale??n())==="zh")return U7e(e);return Y7e(e)};var q7e=()=>"Failed to update project",V7e=()=>"更新项目失败",Bb=(e={},r={})=>{if((d??r.locale??n())==="zh")return V7e(e);return q7e(e)};var H7e=()=>"Failed to update project notification settings",W7e=()=>"更新项目通知设置失败",Ub=(e={},r={})=>{if((d??r.locale??n())==="zh")return W7e(e);return H7e(e)};var G7e=()=>"Failed to upload file",K7e=()=>"上传文件失败",Zc=(e={},r={})=>{if((d??r.locale??n())==="zh")return K7e(e);return G7e(e)};var X7e=()=>"Field",Q7e=()=>"字段",Pf=(e={},r={})=>{if((d??r.locale??n())==="zh")return Q7e(e);return X7e(e)};var J7e=()=>"Created At",$7e=()=>"创建时间",zb=(e={},r={})=>{if((d??r.locale??n())==="zh")return $7e(e);return J7e(e)};var eUe=()=>"Field created successfully",tUe=()=>"字段创建成功",jb=(e={},r={})=>{if((d??r.locale??n())==="zh")return tUe(e);return eUe(e)};var rUe=()=>"Field deleted successfully",oUe=()=>"字段删除成功",qb=(e={},r={})=>{if((d??r.locale??n())==="zh")return oUe(e);return rUe(e)};var aUe=()=>"Field Name",nUe=()=>"字段名称",Of=(e={},r={})=>{if((d??r.locale??n())==="zh")return nUe(e);return aUe(e)};var iUe=()=>"e.g. Status",fUe=()=>"例如:状态",Hb=(e={},r={})=>{if((d??r.locale??n())==="zh")return fUe(e);return iUe(e)};var sUe=()=>"Size",lUe=()=>"大小",$b=(e={},r={})=>{if((d??r.locale??n())==="zh")return lUe(e);return sUe(e)};var cUe=()=>"Field Type",uUe=()=>"字段类型",Ff=(e={},r={})=>{if((d??r.locale??n())==="zh")return uUe(e);return cUe(e)};var dUe=()=>"Updated At",ZUe=()=>"更新时间",Gb=(e={},r={})=>{if((d??r.locale??n())==="zh")return ZUe(e);return dUe(e)};var pUe=()=>"Field updated successfully",mUe=()=>"字段更新成功",Vb=(e={},r={})=>{if((d??r.locale??n())==="zh")return mUe(e);return pUe(e)};var hUe=()=>"Fields",gUe=()=>"字段",Ri=(e={},r={})=>{if((d??r.locale??n())==="zh")return gUe(e);return hUe(e)};var MUe=()=>"File size exceeds the 1MB limit",vUe=()=>"文件大小不能超过 1MB",Qb=(e={},r={})=>{if((d??r.locale??n())==="zh")return vUe(e);return MUe(e)};var xUe=()=>"File not found.",yUe=()=>"文件未找到。",bh=(e={},r={})=>{if((d??r.locale??n())==="zh")return yUe(e);return xUe(e)};var bUe=(e)=>`${e?.uploaded} / ${e?.total} files`,_Ue=(e)=>`${e?.uploaded} / ${e?.total} 个文件`,Dfe=(e,r={})=>{if((d??r.locale??n())==="zh")return _Ue(e);return bUe(e)};var wUe=()=>"Filesystem Restriction",zUe=()=>"文件系统限制",Kb=(e={},r={})=>{if((d??r.locale??n())==="zh")return zUe(e);return wUe(e)};var SUe=()=>"Sandboxed shell commands can read workspace files except sensitive environment, certificate, and key files. They can write to the project's .pi folder and the system temporary directory, plus a few runtime-managed system paths. These filesystem rules are currently hardcoded for security.",LUe=()=>"沙箱 Shell 命令可以读取工作区文件,但环境变量、证书和密钥等敏感文件除外;可以写入项目的 .pi 文件夹和系统临时目录,以及少量由运行时管理的系统路径。这些文件系统规则目前出于安全考虑已硬编码。",Wb=(e={},r={})=>{if((d??r.locale??n())==="zh")return LUe(e);return SUe(e)};var kUe=()=>"and",CUe=()=>"且",Yb=(e={},r={})=>{if((d??r.locale??n())==="zh")return CUe(e);return kUe(e)};var IUe=()=>"Filter by Action",RUe=()=>"按操作筛选",Jb=(e={},r={})=>{if((d??r.locale??n())==="zh")return RUe(e);return IUe(e)};var PUe=()=>"Filter by User",TUe=()=>"按用户筛选",Xb=(e={},r={})=>{if((d??r.locale??n())==="zh")return TUe(e);return PUe(e)};var AUe=()=>"Search tasks in this status...",EUe=()=>"搜索此状态下的任务...",DUe=(e={},r={})=>{if((d??r.locale??n())==="zh")return EUe(e);return AUe(e)};var OUe=()=>"Where",jUe=()=>"条件",ev=(e={},r={})=>{if((d??r.locale??n())==="zh")return jUe(e);return OUe(e)};var NUe=()=>"Filters",FUe=()=>"筛选条件",tv=(e={},r={})=>{if((d??r.locale??n())==="zh")return FUe(e);return NUe(e)};var BUe=()=>"You will be the owner of the default workspace as the first user!",YUe=()=>"作为第一位用户,您将成为默认工作空间的拥有者!",UUe=(e={},r={})=>{if((d??r.locale??n())==="zh")return YUe(e);return BUe(e)};var qUe=()=>"Fit",VUe=()=>"适应窗口",Lf=(e={},r={})=>{if((d??r.locale??n())==="zh")return VUe(e);return qUe(e)};var HUe=()=>"Folder",WUe=()=>"文件夹",vh=(e={},r={})=>{if((d??r.locale??n())==="zh")return WUe(e);return HUe(e)};var GUe=()=>"Folder deleted",KUe=()=>"文件夹已删除",XUe=(e={},r={})=>{if((d??r.locale??n())==="zh")return KUe(e);return GUe(e)};var QUe=()=>"Selected folder files will be prepared for download.",JUe=()=>"所选文件夹中的文件将被准备下载。",wh=(e={},r={})=>{if((d??r.locale??n())==="zh")return JUe(e);return QUe(e)};var $Ue=()=>"Folder name",eqe=()=>"文件夹名称",xh=(e={},r={})=>{if((d??r.locale??n())==="zh")return eqe(e);return $Ue(e)};var tqe=()=>"Folder renamed",rqe=()=>"文件夹已重命名",oqe=(e={},r={})=>{if((d??r.locale??n())==="zh")return rqe(e);return tqe(e)};var aqe=()=>"Folder hierarchy will be flattened. All nested files will be downloaded directly into your default download folder.",nqe=()=>"文件夹层级将被扁平化。所有嵌套文件将直接下载到您的默认下载文件夹中。",Sh=(e={},r={})=>{if((d??r.locale??n())==="zh")return nqe(e);return aqe(e)};var iqe=()=>"Assets",fqe=()=>"资产",Ofe=(e={},r={})=>{if((d??r.locale??n())==="zh")return fqe(e);return iqe(e)};var sqe=()=>"Font Size",lqe=()=>"字体大小",rv=(e={},r={})=>{if((d??r.locale??n())==="zh")return lqe(e);return sqe(e)};var cqe=()=>"Format",uqe=()=>"格式",nv=(e={},r={})=>{if((d??r.locale??n())==="zh")return uqe(e);return cqe(e)};var dqe=()=>"Frames",Zqe=()=>"帧数",ov=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zqe(e);return dqe(e)};var pqe=()=>"Fullscreen",mqe=()=>"全屏",md=(e={},r={})=>{if((d??r.locale??n())==="zh")return mqe(e);return pqe(e)};var hqe=()=>"General",gqe=()=>"通用",sv=(e={},r={})=>{if((d??r.locale??n())==="zh")return gqe(e);return hqe(e)};var Mqe=()=>"General Comments",vqe=()=>"普通评论",av=(e={},r={})=>{if((d??r.locale??n())==="zh")return vqe(e);return Mqe(e)};var xqe=()=>"General Settings",yqe=()=>"通用设置",Eh=(e={},r={})=>{if((d??r.locale??n())==="zh")return yqe(e);return xqe(e)};var bqe=()=>"View your personal information and team role.",_qe=()=>"查看您的个人信息和团队角色。",iv=(e={},r={})=>{if((d??r.locale??n())==="zh")return _qe(e);return bqe(e)};var wqe=()=>"Generate",zqe=()=>"生成",lv=(e={},r={})=>{if((d??r.locale??n())==="zh")return zqe(e);return wqe(e)};var Sqe=()=>"Generate Link",Lqe=()=>"生成链接",cv=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lqe(e);return Sqe(e)};var kqe=()=>"GitHub Repository URL",Cqe=()=>"GitHub 仓库 URL",uv=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cqe(e);return kqe(e)};var Iqe=()=>"Example: https://github.com/google/gemini-cli",Rqe=()=>"示例:https://github.com/google/gemini-cli",dv=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rqe(e);return Iqe(e)};var Pqe=()=>"Global API Protocol",Tqe=()=>"全局 API 协议",Ch=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tqe(e);return Pqe(e)};var Aqe=()=>"Go to Login",Eqe=()=>"前往登录",Zf=(e={},r={})=>{if((d??r.locale??n())==="zh")return Eqe(e);return Aqe(e)};var Dqe=()=>"Goal created",Oqe=()=>"目标已创建",fv=(e={},r={})=>{if((d??r.locale??n())==="zh")return Oqe(e);return Dqe(e)};var jqe=()=>"Goal deleted",Nqe=()=>"目标已删除",pv=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nqe(e);return jqe(e)};var Fqe=()=>"Goal Description",Bqe=()=>"目标描述",mv=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bqe(e);return Fqe(e)};var Yqe=()=>"Describe the desired outcome and success criteria...",Uqe=()=>"描述预期成果和衡量标准...",hv=(e={},r={})=>{if((d??r.locale??n())==="zh")return Uqe(e);return Yqe(e)};var qqe=()=>"Goal Title",Vqe=()=>"目标标题",gv=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vqe(e);return qqe(e)};var Hqe=()=>"e.g. Q3 Launch Deliverables",Wqe=()=>"例如:Q3 发布交付物",Av=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wqe(e);return Hqe(e)};var Gqe=()=>"Goal updated",Kqe=()=>"目标已更新",_v=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kqe(e);return Gqe(e)};var Xqe=()=>"Goals",Qqe=()=>"目标",hd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qqe(e);return Xqe(e)};var Jqe=()=>"Grid",$qe=()=>"网格",yv=(e={},r={})=>{if((d??r.locale??n())==="zh")return $qe(e);return Jqe(e)};var e9e=()=>"Groups",t9e=()=>"分组",bv=(e={},r={})=>{if((d??r.locale??n())==="zh")return t9e(e);return e9e(e)};var r9e=()=>"Hardware Acceleration",o9e=()=>"硬件加速",vv=(e={},r={})=>{if((d??r.locale??n())==="zh")return o9e(e);return r9e(e)};var a9e=()=>"Auto Detect",n9e=()=>"自动检测",wv=(e={},r={})=>{if((d??r.locale??n())==="zh")return n9e(e);return a9e(e)};var i9e=()=>"Automatically probes and uses GPU/Hardware acceleration (NVENC, QSV, AMF, VideoToolbox). If hardware acceleration is unsupported on the host, video transcoding may fail.",f9e=()=>"自动检测并使用 GPU/硬件加速(NVENC、QSV、AMF、VideoToolbox)。若宿主硬件不支持加速,视频转码可能会失败。",xv=(e={},r={})=>{if((d??r.locale??n())==="zh")return f9e(e);return i9e(e)};var s9e=()=>"Disabled (Software)",l9e=()=>"已禁用 (软件编码)",Sv=(e={},r={})=>{if((d??r.locale??n())==="zh")return l9e(e);return s9e(e)};var c9e=()=>"Uses software libx264 encoder with constant rate factor (CRF).",u9e=()=>"使用 CPU 的 libx264 软件编码器及 CRF 恒定画质模式。",Ev=(e={},r={})=>{if((d??r.locale??n())==="zh")return u9e(e);return c9e(e)};var d9e=()=>"Hide Agent",Z9e=()=>"隐藏 Agent",Cv=(e={},r={})=>{if((d??r.locale??n())==="zh")return Z9e(e);return d9e(e)};var p9e=()=>"Hide the AGENTS.md button, agent-chat sidebar, and chatbot trigger button across the entire team.",m9e=()=>"在整个团队中隐藏 AGENTS.md 按钮、Agent 聊天侧边栏和触发按钮。",Iv=(e={},r={})=>{if((d??r.locale??n())==="zh")return m9e(e);return p9e(e)};var h9e=()=>"Hide Chatbot",g9e=()=>"隐藏聊天机器人",M9e=(e={},r={})=>{if((d??r.locale??n())==="zh")return g9e(e);return h9e(e)};var v9e=()=>"History",x9e=()=>"历史记录",Ih=(e={},r={})=>{if((d??r.locale??n())==="zh")return x9e(e);return v9e(e)};var y9e=()=>"Home",b9e=()=>"主页",_9e=(e={},r={})=>{if((d??r.locale??n())==="zh")return b9e(e);return y9e(e)};var w9e=()=>"Image Asset",z9e=()=>"图片资源",Tv=(e={},r={})=>{if((d??r.locale??n())==="zh")return z9e(e);return w9e(e)};var S9e=(e)=>`${e?.count} enabled`,L9e=(e)=>`${e?.count} 个已启用`,Mv=(e,r={})=>{if((d??r.locale??n())==="zh")return L9e(e);return S9e(e)};var k9e=()=>"[Image Object]",C9e=()=>"[图片对象]",Bf=(e={},r={})=>{if((d??r.locale??n())==="zh")return C9e(e);return k9e(e)};var I9e=()=>"Image Size",R9e=()=>"图片大小",kv=(e={},r={})=>{if((d??r.locale??n())==="zh")return R9e(e);return I9e(e)};var P9e=()=>"Image / Video Generation",T9e=()=>"图像与视频生成",Th=(e={},r={})=>{if((d??r.locale??n())==="zh")return T9e(e);return P9e(e)};var A9e=()=>"Import a skill from a local ZIP archive or a GitHub repository.",E9e=()=>"从本地 ZIP 压缩包或 GitHub 仓库导入技能。",Rv=(e={},r={})=>{if((d??r.locale??n())==="zh")return E9e(e);return A9e(e)};var D9e=()=>"Input Cost (1M)",O9e=()=>"输入成本(每百万)",Nv=(e={},r={})=>{if((d??r.locale??n())==="zh")return O9e(e);return D9e(e)};var j9e=()=>"Input Tokens",N9e=()=>"输入 Token",Mh=(e={},r={})=>{if((d??r.locale??n())==="zh")return N9e(e);return j9e(e)};var F9e=()=>"Install",B9e=()=>"安装",Dv=(e={},r={})=>{if((d??r.locale??n())==="zh")return B9e(e);return F9e(e)};var Y9e=()=>"Invalid credentials",U9e=()=>"凭证无效",q9e=(e={},r={})=>{if((d??r.locale??n())==="zh")return U9e(e);return Y9e(e)};var V9e=()=>"Invalid email address",H9e=()=>"无效的邮箱地址",jfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return H9e(e);return V9e(e)};var W9e=()=>"Invalid or missing reset token.",G9e=()=>"无效或缺失的重置令牌。",Uf=(e={},r={})=>{if((d??r.locale??n())==="zh")return G9e(e);return W9e(e)};var K9e=()=>"Please contact your administrator to generate a new password reset link.",X9e=()=>"请联系管理员生成新的密码重置链接。",Pv=(e={},r={})=>{if((d??r.locale??n())==="zh")return X9e(e);return K9e(e)};var Q9e=(e)=>`${e?.inviterName} invited you to join ${e?.targetName} as ${e?.role}.`,J9e=(e)=>`${e?.inviterName} 邀请您加入 ${e?.targetName},角色为 ${e?.role}。`,$9e=(e,r={})=>{if((d??r.locale??n())==="zh")return J9e(e);return Q9e(e)};var eVe=()=>"Invite link copied to clipboard",tVe=()=>"邀请链接已复制到剪贴板",Ov=(e={},r={})=>{if((d??r.locale??n())==="zh")return tVe(e);return eVe(e)};var rVe=()=>"Invite New Member",oVe=()=>"邀请新成员",Fv=(e={},r={})=>{if((d??r.locale??n())==="zh")return oVe(e);return rVe(e)};var aVe=()=>"Item ID",nVe=()=>"条目 ID",Lv=(e={},r={})=>{if((d??r.locale??n())==="zh")return nVe(e);return aVe(e)};var iVe=()=>"Kanban",fVe=()=>"看板",sVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return fVe(e);return iVe(e)};var lVe=()=>"Kanban Comments",cVe=()=>"看板评论",Zv=(e={},r={})=>{if((d??r.locale??n())==="zh")return cVe(e);return lVe(e)};var uVe=()=>"Manage notifications for Kanban board tasks and comments.",dVe=()=>"管理看板任务和评论相关的通知偏好。",Bv=(e={},r={})=>{if((d??r.locale??n())==="zh")return dVe(e);return uVe(e)};var ZVe=()=>"Kanban Notifications",pVe=()=>"看板通知",Uv=(e={},r={})=>{if((d??r.locale??n())==="zh")return pVe(e);return ZVe(e)};var mVe=()=>"Kanban Tasks",hVe=()=>"看板任务",zv=(e={},r={})=>{if((d??r.locale??n())==="zh")return hVe(e);return mVe(e)};var gVe=()=>"Language Settings",MVe=()=>"语言设置",jv=(e={},r={})=>{if((d??r.locale??n())==="zh")return MVe(e);return gVe(e)};var vVe=()=>"Language updated successfully",xVe=()=>"语言更新成功",qv=(e={},r={})=>{if((d??r.locale??n())==="zh")return xVe(e);return vVe(e)};var yVe=()=>"Light",bVe=()=>"浅色",_Ve=(e={},r={})=>{if((d??r.locale??n())==="zh")return bVe(e);return yVe(e)};var wVe=()=>"Link copied to clipboard",zVe=()=>"链接已复制到剪贴板",Hv=(e={},r={})=>{if((d??r.locale??n())==="zh")return zVe(e);return wVe(e)};var SVe=()=>"Link to Task",LVe=()=>"关联到任务",kVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return LVe(e);return SVe(e)};var CVe=()=>"Link Visibility",IVe=()=>"链接可见性",$v=(e={},r={})=>{if((d??r.locale??n())==="zh")return IVe(e);return CVe(e)};var RVe=(e)=>`${e?.count} assets`,PVe=(e)=>`${e?.count} 个资产`,Gv=(e,r={})=>{if((d??r.locale??n())==="zh")return PVe(e);return RVe(e)};var TVe=()=>"Linked Tasks",AVe=()=>"关联任务",zf=(e={},r={})=>{if((d??r.locale??n())==="zh")return AVe(e);return TVe(e)};var EVe=()=>"List",DVe=()=>"列表",Vv=(e={},r={})=>{if((d??r.locale??n())==="zh")return DVe(e);return EVe(e)};var OVe=()=>"Load Template",jVe=()=>"加载模板",Qv=(e={},r={})=>{if((d??r.locale??n())==="zh")return jVe(e);return OVe(e)};var NVe=()=>"Loading...",FVe=()=>"加载中...",gd=(e={},r={})=>{if((d??r.locale??n())==="zh")return FVe(e);return NVe(e)};var BVe=()=>"Loading collection...",YVe=()=>"正在加载媒体合集...",kh=(e={},r={})=>{if((d??r.locale??n())==="zh")return YVe(e);return BVe(e)};var UVe=()=>"Loading models...",qVe=()=>"正在加载模型...",Kv=(e={},r={})=>{if((d??r.locale??n())==="zh")return qVe(e);return UVe(e)};var VVe=()=>"Loading more...",HVe=()=>"加载更多...",Wv=(e={},r={})=>{if((d??r.locale??n())==="zh")return HVe(e);return VVe(e)};var WVe=()=>"Log out",GVe=()=>"退出登录",KVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return GVe(e);return WVe(e)};var XVe=()=>"Logging in...",QVe=()=>"登录中...",JVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return QVe(e);return XVe(e)};var $Ve=()=>"Login",eHe=()=>"登录",Nfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return eHe(e);return $Ve(e)};var tHe=()=>"Login here",rHe=()=>"在此登录",oHe=(e={},r={})=>{if((d??r.locale??n())==="zh")return rHe(e);return tHe(e)};var aHe=()=>"Enter your credentials to access your account.",nHe=()=>"输入您的凭证以访问您的账户。",iHe=(e={},r={})=>{if((d??r.locale??n())==="zh")return nHe(e);return aHe(e)};var fHe=()=>"Loop",sHe=()=>"循环",Yv=(e={},r={})=>{if((d??r.locale??n())==="zh")return sHe(e);return fHe(e)};var lHe=()=>"Manage environment variables for this skill instance.",cHe=()=>"管理此技能实例的环境变量。",Jv=(e={},r={})=>{if((d??r.locale??n())==="zh")return cHe(e);return lHe(e)};var uHe=()=>"Manage Fields",dHe=()=>"管理字段",jf=(e={},r={})=>{if((d??r.locale??n())==="zh")return dHe(e);return uHe(e)};var ZHe=()=>"Manage and update your project workspace configurations.",pHe=()=>"管理和更新您的项目工作区配置。",Xv=(e={},r={})=>{if((d??r.locale??n())==="zh")return pHe(e);return ZHe(e)};var mHe=()=>"Manage versions",hHe=()=>"管理版本",qf=(e={},r={})=>{if((d??r.locale??n())==="zh")return hHe(e);return mHe(e)};var gHe=()=>"Manage versions",MHe=()=>"管理版本",vHe=(e={},r={})=>{if((d??r.locale??n())==="zh")return MHe(e);return gHe(e)};var xHe=()=>"Mark all as read",yHe=()=>"全部标记为已读",bHe=(e={},r={})=>{if((d??r.locale??n())==="zh")return yHe(e);return xHe(e)};var _He=()=>"Mark as complete",wHe=()=>"标记为已完成",ew=(e={},r={})=>{if((d??r.locale??n())==="zh")return wHe(e);return _He(e)};var zHe=()=>"Mark as incomplete",SHe=()=>"标记为未完成",tw=(e={},r={})=>{if((d??r.locale??n())==="zh")return SHe(e);return zHe(e)};var LHe=()=>"Markup is not supported for this file type",kHe=()=>"此文件类型不支持标注",Hf=(e={},r={})=>{if((d??r.locale??n())==="zh")return kHe(e);return LHe(e)};var CHe=()=>"Match found at",IHe=()=>"在以下位置找到匹配",rw=(e={},r={})=>{if((d??r.locale??n())==="zh")return IHe(e);return CHe(e)};var RHe=(e)=>`Matched ${e?.count} items`,PHe=(e)=>`匹配了 ${e?.count} 项`,nw=(e,r={})=>{if((d??r.locale??n())==="zh")return PHe(e);return RHe(e)};var THe=()=>"Max Output Tokens",AHe=()=>"最大输出令牌数",ow=(e={},r={})=>{if((d??r.locale??n())==="zh")return AHe(e);return THe(e)};var EHe=(e)=>`max ${e?.count}`,DHe=(e)=>`最大 ${e?.count}`,sw=(e,r={})=>{if((d??r.locale??n())==="zh")return DHe(e);return EHe(e)};var OHe=()=>"Auto-Detect (Default)",jHe=()=>"自动检测 (默认)",aw=(e={},r={})=>{if((d??r.locale??n())==="zh")return jHe(e);return OHe(e)};var NHe=()=>"Bearer Token",FHe=()=>"Bearer 令牌",iw=(e={},r={})=>{if((d??r.locale??n())==="zh")return FHe(e);return NHe(e)};var BHe=()=>"Failed to authenticate MCP server",YHe=()=>"MCP 服务身份验证失败",$f=(e={},r={})=>{if((d??r.locale??n())==="zh")return YHe(e);return BHe(e)};var UHe=()=>"None",qHe=()=>"无",lw=(e={},r={})=>{if((d??r.locale??n())==="zh")return qHe(e);return UHe(e)};var VHe=()=>"OAuth 2.0",HHe=()=>"OAuth 2.0",cw=(e={},r={})=>{if((d??r.locale??n())==="zh")return HHe(e);return VHe(e)};var WHe=()=>"MCP server authenticated successfully",GHe=()=>"MCP 服务身份验证成功",Rh=(e={},r={})=>{if((d??r.locale??n())==="zh")return GHe(e);return WHe(e)};var KHe=()=>"Authentication Type",XHe=()=>"身份验证类型",uw=(e={},r={})=>{if((d??r.locale??n())==="zh")return XHe(e);return KHe(e)};var QHe=()=>"Bearer Token",JHe=()=>"Bearer 令牌",dw=(e={},r={})=>{if((d??r.locale??n())==="zh")return JHe(e);return QHe(e)};var $He=()=>"All Direct",eWe=()=>"全部直连",fw=(e={},r={})=>{if((d??r.locale??n())==="zh")return eWe(e);return $He(e)};var tWe=()=>"All Off",rWe=()=>"全部关闭",pw=(e={},r={})=>{if((d??r.locale??n())==="zh")return rWe(e);return tWe(e)};var oWe=()=>"All Proxy",aWe=()=>"全部代理",mw=(e={},r={})=>{if((d??r.locale??n())==="zh")return aWe(e);return oWe(e)};var nWe=()=>"Connect Account",iWe=()=>"连接账号",Nh=(e={},r={})=>{if((d??r.locale??n())==="zh")return iWe(e);return nWe(e)};var fWe=()=>"Disconnect Auth",sWe=()=>"断开身份验证",Dh=(e={},r={})=>{if((d??r.locale??n())==="zh")return sWe(e);return fWe(e)};var lWe=()=>"Client ID",cWe=()=>"Client ID",hw=(e={},r={})=>{if((d??r.locale??n())==="zh")return cWe(e);return lWe(e)};var uWe=()=>"Client Secret",dWe=()=>"Client Secret",gw=(e={},r={})=>{if((d??r.locale??n())==="zh")return dWe(e);return uWe(e)};var ZWe=()=>"Grant Type",pWe=()=>"授权模式 (Grant Type)",Aw=(e={},r={})=>{if((d??r.locale??n())==="zh")return pWe(e);return ZWe(e)};var mWe=()=>"Scope",hWe=()=>"作用域 (Scope)",_w=(e={},r={})=>{if((d??r.locale??n())==="zh")return hWe(e);return mWe(e)};var gWe=()=>"Refresh Server",MWe=()=>"刷新服务器",Ph=(e={},r={})=>{if((d??r.locale??n())==="zh")return MWe(e);return gWe(e)};var vWe=()=>"Server refreshed",xWe=()=>"服务器已刷新",yw=(e={},r={})=>{if((d??r.locale??n())==="zh")return xWe(e);return vWe(e)};var yWe=()=>"Name and description are auto-detected from the server after connecting.",bWe=()=>"连接后将自动从服务端获取名称和描述。",Oh=(e={},r={})=>{if((d??r.locale??n())==="zh")return bWe(e);return yWe(e)};var _We=()=>"Server Instructions",wWe=()=>"服务器说明",bw=(e={},r={})=>{if((d??r.locale??n())==="zh")return wWe(e);return _We(e)};var zWe=()=>"Server Name",SWe=()=>"服务名称",vw=(e={},r={})=>{if((d??r.locale??n())==="zh")return SWe(e);return zWe(e)};var LWe=()=>"Endpoint URL",kWe=()=>"Endpoint URL",Fh=(e={},r={})=>{if((d??r.locale??n())==="zh")return kWe(e);return LWe(e)};var CWe=()=>"MCP Servers",IWe=()=>"MCP 服务",Bc=(e={},r={})=>{if((d??r.locale??n())==="zh")return IWe(e);return CWe(e)};var RWe=()=>"Configure Model Context Protocol (MCP) servers and tools for your team.",PWe=()=>"为团队配置 Model Context Protocol (MCP) 服务与工具。",Ad=(e={},r={})=>{if((d??r.locale??n())==="zh")return PWe(e);return RWe(e)};var TWe=()=>"Connected",AWe=()=>"已连接",ww=(e={},r={})=>{if((d??r.locale??n())==="zh")return AWe(e);return TWe(e)};var EWe=()=>"Failed",DWe=()=>"连接失败",xw=(e={},r={})=>{if((d??r.locale??n())==="zh")return DWe(e);return EWe(e)};var OWe=()=>"Needs Authentication",jWe=()=>"需要身份验证",Lh=(e={},r={})=>{if((d??r.locale??n())==="zh")return jWe(e);return OWe(e)};var NWe=()=>"Not Connected",FWe=()=>"未连接",Sw=(e={},r={})=>{if((d??r.locale??n())==="zh")return FWe(e);return NWe(e)};var BWe=()=>"Direct",YWe=()=>"直连",Ew=(e={},r={})=>{if((d??r.locale??n())==="zh")return YWe(e);return BWe(e)};var UWe=()=>"Off",qWe=()=>"关闭",Cw=(e={},r={})=>{if((d??r.locale??n())==="zh")return qWe(e);return UWe(e)};var VWe=()=>"Proxy",HWe=()=>"代理",Iw=(e={},r={})=>{if((d??r.locale??n())==="zh")return HWe(e);return VWe(e)};var WWe=()=>"MCP Tools",GWe=()=>"MCP 工具",Tw=(e={},r={})=>{if((d??r.locale??n())==="zh")return GWe(e);return WWe(e)};var KWe=(e)=>`${e?.count} Tools`,XWe=(e)=>`${e?.count} 个工具`,Mw=(e,r={})=>{if((d??r.locale??n())==="zh")return XWe(e);return KWe(e)};var QWe=()=>"Configure how MCP tools are exposed to the agent. Proxy mode keeps context usage low by hiding tools behind an MCP proxy, while Direct mode exposes selected tools as native agent tools for better discovery and faster access. Use Direct mode for frequently used or critical tools, and keep large MCP servers behind the proxy to avoid unnecessary context overhead.",JWe=()=>"配置 MCP 工具向 Agent 的暴露方式。代理模式通过 MCP 代理隐匿工具,以保持较低的上下文占用;直连模式将选定工具直接作为 Agent 原生工具暴露,便于更好地发现与更快地调用。建议对高频或关键工具使用直连模式,对于大型 MCP 服务保持代理模式以避免不必要的上下文开销。",kw=(e={},r={})=>{if((d??r.locale??n())==="zh")return JWe(e);return QWe(e)};var $We=()=>"Transport Protocol",eGe=()=>"传输协议",Rw=(e={},r={})=>{if((d??r.locale??n())==="zh")return eGe(e);return $We(e)};var tGe=()=>"Configure providers and enabled models for built-in image and video generation tools.",rGe=()=>"配置内置图像和视频生成工具的提供商与已启用模型。",Nw=(e={},r={})=>{if((d??r.locale??n())==="zh")return rGe(e);return tGe(e)};var oGe=()=>"Media Processing",aGe=()=>"媒体处理",Zh=(e={},r={})=>{if((d??r.locale??n())==="zh")return aGe(e);return oGe(e)};var nGe=()=>"Media Providers",iGe=()=>"媒体提供商",Dw=(e={},r={})=>{if((d??r.locale??n())==="zh")return iGe(e);return nGe(e)};var fGe=()=>"Configure API keys for built-in media generation providers. Providers can use environment variables or custom keys.",sGe=()=>"为内置媒体生成提供商配置 API 密钥。提供商可以使用环境变量或自定义密钥。",Pw=(e={},r={})=>{if((d??r.locale??n())==="zh")return sGe(e);return fGe(e)};var lGe=()=>"Image",cGe=()=>"图像",Gf=(e={},r={})=>{if((d??r.locale??n())==="zh")return cGe(e);return lGe(e)};var uGe=()=>"Video",dGe=()=>"视频",Vf=(e={},r={})=>{if((d??r.locale??n())==="zh")return dGe(e);return uGe(e)};var ZGe=()=>"Member removed",pGe=()=>"成员已移除",Ow=(e={},r={})=>{if((d??r.locale??n())==="zh")return pGe(e);return ZGe(e)};var mGe=()=>"Member role updated",hGe=()=>"成员角色已更新",Fw=(e={},r={})=>{if((d??r.locale??n())==="zh")return hGe(e);return mGe(e)};var gGe=()=>"Members",MGe=()=>"成员",Lw=(e={},r={})=>{if((d??r.locale??n())==="zh")return MGe(e);return gGe(e)};var vGe=()=>"Members",xGe=()=>"成员",Zw=(e={},r={})=>{if((d??r.locale??n())==="zh")return xGe(e);return vGe(e)};var yGe=()=>"Message...",bGe=()=>"发送消息...",Bw=(e={},r={})=>{if((d??r.locale??n())==="zh")return bGe(e);return yGe(e)};var _Ge=()=>"Model",wGe=()=>"模型",Uw=(e={},r={})=>{if((d??r.locale??n())==="zh")return wGe(e);return _Ge(e)};var zGe=()=>"Model created successfully",SGe=()=>"模型创建成功",zw=(e={},r={})=>{if((d??r.locale??n())==="zh")return SGe(e);return zGe(e)};var LGe=()=>"Model deleted successfully",kGe=()=>"模型删除成功",jw=(e={},r={})=>{if((d??r.locale??n())==="zh")return kGe(e);return LGe(e)};var CGe=()=>"Model ID",IGe=()=>"模型 ID",Bh=(e={},r={})=>{if((d??r.locale??n())==="zh")return IGe(e);return CGe(e)};var RGe=()=>"Model ID already exists for this provider",PGe=()=>"此提供商已存在该模型 ID",qw=(e={},r={})=>{if((d??r.locale??n())==="zh")return PGe(e);return RGe(e)};var TGe=()=>"e.g., gpt-4o, claude-3-5-sonnet-20241022",AGe=()=>"例如:gpt-4o, claude-3-5-sonnet-20241022",Hw=(e={},r={})=>{if((d??r.locale??n())==="zh")return AGe(e);return TGe(e)};var EGe=()=>"Model is required",DGe=()=>"模型为必填项",$w=(e={},r={})=>{if((d??r.locale??n())==="zh")return DGe(e);return EGe(e)};var OGe=()=>"e.g., GPT-4o",jGe=()=>"例如:GPT-4o",Gw=(e={},r={})=>{if((d??r.locale??n())==="zh")return jGe(e);return OGe(e)};var NGe=()=>"Model updated successfully",FGe=()=>"模型更新成功",Vw=(e={},r={})=>{if((d??r.locale??n())==="zh")return FGe(e);return NGe(e)};var BGe=()=>"Models",YGe=()=>"模型列表",_d=(e={},r={})=>{if((d??r.locale??n())==="zh")return YGe(e);return BGe(e)};var UGe=()=>"Models Configuration",qGe=()=>"模型配置",Qw=(e={},r={})=>{if((d??r.locale??n())==="zh")return qGe(e);return UGe(e)};var VGe=()=>"More options",HGe=()=>"更多选项",Qf=(e={},r={})=>{if((d??r.locale??n())==="zh")return HGe(e);return VGe(e)};var WGe=()=>"Move to",GGe=()=>"移动到",Uh=(e={},r={})=>{if((d??r.locale??n())==="zh")return GGe(e);return WGe(e)};var KGe=(e)=>`Moving ${e?.count} item(s)`,XGe=(e)=>`正在移动 ${e?.count} 个项目`,Kw=(e,r={})=>{if((d??r.locale??n())==="zh")return XGe(e);return KGe(e)};var QGe=()=>"My Tasks",JGe=()=>"我的任务",Ww=(e={},r={})=>{if((d??r.locale??n())==="zh")return JGe(e);return QGe(e)};var $Ge=(e)=>`${e?.count} Assets`,eKe=(e)=>`${e?.count} 个资源`,Kf=(e,r={})=>{if((d??r.locale??n())==="zh")return eKe(e);return $Ge(e)};var tKe=(e)=>`${e?.count} assets selected`,rKe=(e)=>`已选择 ${e?.count} 个资产`,oKe=(e,r={})=>{if((d??r.locale??n())==="zh")return rKe(e);return tKe(e)};var aKe=(e)=>`${e?.count} Asset`,nKe=(e)=>`${e?.count} 个资源`,Wf=(e,r={})=>{if((d??r.locale??n())==="zh")return nKe(e);return aKe(e)};var iKe=(e)=>`${e?.count} days ago`,fKe=(e)=>`${e?.count} 天前`,Ffe=(e,r={})=>{if((d??r.locale??n())==="zh")return fKe(e);return iKe(e)};var sKe=(e)=>`${e?.count} day ago`,lKe=(e)=>`${e?.count} 天前`,Bfe=(e,r={})=>{if((d??r.locale??n())==="zh")return lKe(e);return sKe(e)};var cKe=(e)=>`${e?.count} Folders`,uKe=(e)=>`${e?.count} 个文件夹`,Yf=(e,r={})=>{if((d??r.locale??n())==="zh")return uKe(e);return cKe(e)};var dKe=(e)=>`${e?.count} Folder`,ZKe=(e)=>`${e?.count} 个文件夹`,Jf=(e,r={})=>{if((d??r.locale??n())==="zh")return ZKe(e);return dKe(e)};var pKe=(e)=>`${e?.count} Items`,mKe=(e)=>`${e?.count} 个项目`,zh=(e,r={})=>{if((d??r.locale??n())==="zh")return mKe(e);return pKe(e)};var hKe=(e)=>`${e?.count} Item`,gKe=(e)=>`${e?.count} 个项目`,jh=(e,r={})=>{if((d??r.locale??n())==="zh")return gKe(e);return hKe(e)};var MKe=(e)=>`${e?.count} Models`,vKe=(e)=>`${e?.count} 个模型`,Yw=(e,r={})=>{if((d??r.locale??n())==="zh")return vKe(e);return MKe(e)};var xKe=(e)=>`${e?.count} tasks`,yKe=(e)=>`${e?.count} 个任务`,bKe=(e,r={})=>{if((d??r.locale??n())==="zh")return yKe(e);return xKe(e)};var _Ke=(e)=>`${e?.count} task`,wKe=(e)=>`${e?.count} 个任务`,zKe=(e,r={})=>{if((d??r.locale??n())==="zh")return wKe(e);return _Ke(e)};var SKe=()=>"Name",LKe=()=>"名称",_l=(e={},r={})=>{if((d??r.locale??n())==="zh")return LKe(e);return SKe(e)};var kKe=()=>"Name is required",CKe=()=>"名称为必填项",Jw=(e={},r={})=>{if((d??r.locale??n())==="zh")return CKe(e);return kKe(e)};var IKe=()=>"John Doe",RKe=()=>"张三",Xw=(e={},r={})=>{if((d??r.locale??n())==="zh")return RKe(e);return IKe(e)};var PKe=()=>"You need at least one project in your team to upload skills.",TKe=()=>"您的团队中至少需要一个项目才能上传技能。",ex=(e={},r={})=>{if((d??r.locale??n())==="zh")return TKe(e);return PKe(e)};var AKe=()=>"Network Sandbox",EKe=()=>"网络沙箱",tx=(e={},r={})=>{if((d??r.locale??n())==="zh")return EKe(e);return AKe(e)};var DKe=()=>"Configure domain access controls for the sandboxed agent.",OKe=()=>"配置沙箱智能体的域名访问控制。",rx=(e={},r={})=>{if((d??r.locale??n())==="zh")return OKe(e);return DKe(e)};var jKe=()=>"Network Sandbox is currently OFF. All outbound network requests from agent scripts are permitted without restrictions.",NKe=()=>"网络沙箱目前处于关闭状态。智能体脚本的所有出站网络请求均不受限制。",nx=(e={},r={})=>{if((d??r.locale??n())==="zh")return NKe(e);return jKe(e)};var FKe=()=>"When enabled, network requests from the agent are restricted to allowed domains. When disabled, all network requests are permitted.",BKe=()=>"启用后,智能体的网络请求将受限于允许的域名列表。禁用时,允许所有网络请求。",ox=(e={},r={})=>{if((d??r.locale??n())==="zh")return BKe(e);return FKe(e)};var YKe=()=>"New Chat",UKe=()=>"开启新会话",qh=(e={},r={})=>{if((d??r.locale??n())==="zh")return UKe(e);return YKe(e)};var qKe=()=>"New Field",VKe=()=>"新建字段",sx=(e={},r={})=>{if((d??r.locale??n())==="zh")return VKe(e);return qKe(e)};var HKe=()=>"New Field",WKe=()=>"新字段",ax=(e={},r={})=>{if((d??r.locale??n())==="zh")return WKe(e);return HKe(e)};var GKe=()=>"New Folder",KKe=()=>"新建文件夹",yl=(e={},r={})=>{if((d??r.locale??n())==="zh")return KKe(e);return GKe(e)};var XKe=()=>"New Goal",QKe=()=>"新建目标",Hh=(e={},r={})=>{if((d??r.locale??n())==="zh")return QKe(e);return XKe(e)};var JKe=()=>"New",$Ke=()=>"新建",ix=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Ke(e);return JKe(e)};var eXe=()=>"New Option",tXe=()=>"新选项",yd=(e={},r={})=>{if((d??r.locale??n())==="zh")return tXe(e);return eXe(e)};var rXe=()=>"New Password",oXe=()=>"新密码",lx=(e={},r={})=>{if((d??r.locale??n())==="zh")return oXe(e);return rXe(e)};var aXe=()=>"Enter new password",nXe=()=>"输入新密码",cx=(e={},r={})=>{if((d??r.locale??n())==="zh")return nXe(e);return aXe(e)};var iXe=()=>"Next file",fXe=()=>"下一个文件",$h=(e={},r={})=>{if((d??r.locale??n())==="zh")return fXe(e);return iXe(e)};var sXe=()=>"Next Page",lXe=()=>"下一页",ux=(e={},r={})=>{if((d??r.locale??n())==="zh")return lXe(e);return sXe(e)};var cXe=()=>"Don't have an account? ",uXe=()=>"还没有账户?",dXe=(e={},r={})=>{if((d??r.locale??n())==="zh")return uXe(e);return cXe(e)};var ZXe=()=>"No activity recorded yet",pXe=()=>"暂无活动记录",mXe=(e={},r={})=>{if((d??r.locale??n())==="zh")return pXe(e);return ZXe(e)};var hXe=(e)=>`No ${e?.type} agents found`,gXe=(e)=>`未找到${e?.type}智能体`,dx=(e,r={})=>{if((d??r.locale??n())==="zh")return gXe(e);return hXe(e)};var MXe=()=>"No API tokens found. Generate one above to get started.",vXe=()=>"未找到 API 令牌。请在上方生成一个以开始使用。",fx=(e={},r={})=>{if((d??r.locale??n())==="zh")return vXe(e);return MXe(e)};var xXe=()=>"No assets in this folder",yXe=()=>"此文件夹中没有资产",bXe=(e={},r={})=>{if((d??r.locale??n())==="zh")return yXe(e);return xXe(e)};var _Xe=()=>"No audit logs found",wXe=()=>"未找到审计日志",px=(e={},r={})=>{if((d??r.locale??n())==="zh")return wXe(e);return _Xe(e)};var zXe=()=>"No chat agents found. Please create a Chat Agent below first.",SXe=()=>"未找到聊天智能体。请先在下方创建聊天智能体。",mx=(e={},r={})=>{if((d??r.locale??n())==="zh")return SXe(e);return zXe(e)};var LXe=()=>"No collections created yet.",kXe=()=>"暂无媒体合集。",hx=(e={},r={})=>{if((d??r.locale??n())==="zh")return kXe(e);return LXe(e)};var CXe=()=>"No comments yet",IXe=()=>"暂无评论",Gh=(e={},r={})=>{if((d??r.locale??n())==="zh")return IXe(e);return CXe(e)};var RXe=()=>"No custom domains allowed",PXe=()=>"没有自定义允许域名",gx=(e={},r={})=>{if((d??r.locale??n())==="zh")return PXe(e);return RXe(e)};var TXe=()=>"No description provided.",AXe=()=>"暂无描述。",Vh=(e={},r={})=>{if((d??r.locale??n())==="zh")return AXe(e);return TXe(e)};var EXe=()=>'No environment variables found. Click "Add Variable" to create one.',DXe=()=>'未找到环境变量。点击"添加变量"创建一个。',Ax=(e={},r={})=>{if((d??r.locale??n())==="zh")return DXe(e);return EXe(e)};var OXe=()=>"No fields found",jXe=()=>"未找到字段",_x=(e={},r={})=>{if((d??r.locale??n())==="zh")return jXe(e);return OXe(e)};var NXe=()=>"No folder selected",FXe=()=>"未选择文件夹",BXe=(e={},r={})=>{if((d??r.locale??n())==="zh")return FXe(e);return NXe(e)};var YXe=()=>"No Folder Structure",UXe=()=>"无文件夹结构",Qh=(e={},r={})=>{if((d??r.locale??n())==="zh")return UXe(e);return YXe(e)};var qXe=()=>"No goals yet",VXe=()=>"暂无目标",yx=(e={},r={})=>{if((d??r.locale??n())==="zh")return VXe(e);return qXe(e)};var HXe=()=>"No chat history found.",WXe=()=>"暂无历史会话记录",bx=(e={},r={})=>{if((d??r.locale??n())==="zh")return WXe(e);return HXe(e)};var GXe=()=>"No item selected",KXe=()=>"未选择项目",vx=(e={},r={})=>{if((d??r.locale??n())==="zh")return KXe(e);return GXe(e)};var XXe=()=>"No tasks linked to this asset",QXe=()=>"该资产暂无关联任务",JXe=(e={},r={})=>{if((d??r.locale??n())==="zh")return QXe(e);return XXe(e)};var $Xe=()=>"No logs found for this session.",eQe=()=>"未找到此会话的日志。",wx=(e={},r={})=>{if((d??r.locale??n())==="zh")return eQe(e);return $Xe(e)};var tQe=()=>"No matches found",rQe=()=>"未找到匹配结果",Kh=(e={},r={})=>{if((d??r.locale??n())==="zh")return rQe(e);return tQe(e)};var oQe=()=>"No matching tasks found",aQe=()=>"未找到匹配的任务",Yfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return aQe(e);return oQe(e)};var nQe=()=>"No MCP servers configured",iQe=()=>"暂未配置 MCP 服务",Wh=(e={},r={})=>{if((d??r.locale??n())==="zh")return iQe(e);return nQe(e)};var fQe=()=>"No models found",sQe=()=>"未找到模型",bd=(e={},r={})=>{if((d??r.locale??n())==="zh")return sQe(e);return fQe(e)};var lQe=()=>"No notifications",cQe=()=>"暂无通知",uQe=(e={},r={})=>{if((d??r.locale??n())==="zh")return cQe(e);return lQe(e)};var dQe=()=>"No options found",ZQe=()=>"未找到选项",Yh=(e={},r={})=>{if((d??r.locale??n())==="zh")return ZQe(e);return dQe(e)};var pQe=()=>"No pending domains requiring approval",mQe=()=>"没有待审核的域名",xx=(e={},r={})=>{if((d??r.locale??n())==="zh")return mQe(e);return pQe(e)};var hQe=()=>"No project selected",gQe=()=>"未选择项目",Ufe=(e={},r={})=>{if((d??r.locale??n())==="zh")return gQe(e);return hQe(e)};var MQe=()=>"No Providers Configured",vQe=()=>"暂无已配置的提供商",Sx=(e={},r={})=>{if((d??r.locale??n())==="zh")return vQe(e);return MQe(e)};var xQe=()=>"No providers found",yQe=()=>"未找到提供商",Ex=(e={},r={})=>{if((d??r.locale??n())==="zh")return yQe(e);return xQe(e)};var bQe=()=>"Set limits on AI tokens, costs, skill executions, and agent tool calls to manage team usage.",_Qe=()=>"为 AI Token、费用、MCP 服务和智能体工具调用设置限制,以便管理团队的使用情况。",Xf=(e={},r={})=>{if((d??r.locale??n())==="zh")return _Qe(e);return bQe(e)};var wQe=()=>"No resource quotas configured",zQe=()=>"暂未配置资源配额",ep=(e={},r={})=>{if((d??r.locale??n())==="zh")return zQe(e);return wQe(e)};var SQe=()=>"No recently viewed files",LQe=()=>"暂无最近浏览文件",tp=(e={},r={})=>{if((d??r.locale??n())==="zh")return LQe(e);return SQe(e)};var kQe=()=>"Files you view in this project will appear here.",CQe=()=>"您在此项目中查看的文件将显示在此处。",rp=(e={},r={})=>{if((d??r.locale??n())==="zh")return CQe(e);return kQe(e)};var IQe=()=>"No records matched your criteria",RQe=()=>"没有记录匹配您的条件",Cx=(e={},r={})=>{if((d??r.locale??n())==="zh")return RQe(e);return IQe(e)};var PQe=()=>"No related assets linked",TQe=()=>"暂无关联资产",AQe=(e={},r={})=>{if((d??r.locale??n())==="zh")return TQe(e);return PQe(e)};var EQe=()=>"No sessions found",DQe=()=>"未找到会话",Ix=(e={},r={})=>{if((d??r.locale??n())==="zh")return DQe(e);return EQe(e)};var OQe=()=>"No share links created yet.",jQe=()=>"暂无分享链接。",Tx=(e={},r={})=>{if((d??r.locale??n())==="zh")return jQe(e);return OQe(e)};var NQe=()=>"No skills available.",FQe=()=>"暂无可用技能。",Mx=(e={},r={})=>{if((d??r.locale??n())==="zh")return FQe(e);return NQe(e)};var BQe=()=>"No skills installed",YQe=()=>"暂无已安装的技能",kx=(e={},r={})=>{if((d??r.locale??n())==="zh")return YQe(e);return BQe(e)};var UQe=()=>"No tasks in this column",qQe=()=>"该列暂无任务",Rx=(e={},r={})=>{if((d??r.locale??n())==="zh")return qQe(e);return UQe(e)};var VQe=()=>"No saved templates",HQe=()=>"没有保存的模板",Nx=(e={},r={})=>{if((d??r.locale??n())==="zh")return HQe(e);return VQe(e)};var WQe=()=>"No tools found matching your search.",GQe=()=>"未找到符合搜索条件的工具。",Dx=(e={},r={})=>{if((d??r.locale??n())==="zh")return GQe(e);return WQe(e)};var KQe=()=>"Upload files in the project view to track progress here.",XQe=()=>"在项目视图中上传文件以在此处跟踪进度。",QQe=(e={},r={})=>{if((d??r.locale??n())==="zh")return XQe(e);return KQe(e)};var JQe=()=>"No uploads yet",$Qe=()=>"暂无上传",eJe=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Qe(e);return JQe(e)};var tJe=()=>"No versions found",rJe=()=>"暂无版本",oJe=(e={},r={})=>{if((d??r.locale??n())==="zh")return rJe(e);return tJe(e)};var aJe=()=>"No watermark blocks added yet",nJe=()=>"尚未添加水印块",Px=(e={},r={})=>{if((d??r.locale??n())==="zh")return nJe(e);return aJe(e)};var iJe=()=>"Notification",fJe=()=>"通知",Ox=(e={},r={})=>{if((d??r.locale??n())==="zh")return fJe(e);return iJe(e)};var sJe=(e)=>`${e?.creator} commented on ${e?.asset}`,lJe=(e)=>`${e?.creator} 评论了 ${e?.asset}`,cJe=(e,r={})=>{if((d??r.locale??n())==="zh")return lJe(e);return sJe(e)};var uJe=(e)=>`New notification from ${e?.creator}`,dJe=(e)=>`来自 ${e?.creator} 的新通知`,ZJe=(e,r={})=>{if((d??r.locale??n())==="zh")return dJe(e);return uJe(e)};var pJe=(e)=>`${e?.user} joined ${e?.project}`,mJe=(e)=>`${e?.user} 加入了 ${e?.project}`,hJe=(e,r={})=>{if((d??r.locale??n())==="zh")return mJe(e);return pJe(e)};var gJe=(e)=>`${e?.user} joined ${e?.team}`,MJe=(e)=>`${e?.user} 加入了 ${e?.team}`,vJe=(e,r={})=>{if((d??r.locale??n())==="zh")return MJe(e);return gJe(e)};var xJe=(e)=>`${e?.creator} assigned you to task ${e?.task}`,yJe=(e)=>`${e?.creator} 将任务 ${e?.task} 分配给了你`,bJe=(e,r={})=>{if((d??r.locale??n())==="zh")return yJe(e);return xJe(e)};var _Je=(e)=>`${e?.creator} commented on task ${e?.task}`,wJe=(e)=>`${e?.creator} 评论了任务 ${e?.task}`,zJe=(e,r={})=>{if((d??r.locale??n())==="zh")return wJe(e);return _Je(e)};var SJe=(e)=>`${e?.creator} created task ${e?.task}`,LJe=(e)=>`${e?.creator} 创建了任务 ${e?.task}`,kJe=(e,r={})=>{if((d??r.locale??n())==="zh")return LJe(e);return SJe(e)};var CJe=(e)=>`${e?.creator} deleted task ${e?.task}`,IJe=(e)=>`${e?.creator} 删除了任务 ${e?.task}`,RJe=(e,r={})=>{if((d??r.locale??n())==="zh")return IJe(e);return CJe(e)};var PJe=(e)=>`${e?.creator} updated status of task ${e?.task}`,TJe=(e)=>`${e?.creator} 更新了任务 ${e?.task} 的状态`,AJe=(e,r={})=>{if((d??r.locale??n())==="zh")return TJe(e);return PJe(e)};var EJe=(e)=>`${e?.creator} updated task ${e?.task}`,DJe=(e)=>`${e?.creator} 更新了任务 ${e?.task}`,OJe=(e,r={})=>{if((d??r.locale??n())==="zh")return DJe(e);return EJe(e)};var jJe=(e)=>`${e?.creator} mentioned you in ${e?.asset}`,NJe=(e)=>`${e?.creator} 在 ${e?.asset} 中提及了你`,FJe=(e,r={})=>{if((d??r.locale??n())==="zh")return NJe(e);return jJe(e)};var BJe=(e)=>`${e?.creator} mentioned you in task ${e?.task}`,YJe=(e)=>`${e?.creator} 在任务 ${e?.task} 中提及了你`,UJe=(e,r={})=>{if((d??r.locale??n())==="zh")return YJe(e);return BJe(e)};var qJe=(e)=>`${e?.creator} replied to a comment on ${e?.asset}`,VJe=(e)=>`${e?.creator} 回复了 ${e?.asset} 上的评论`,HJe=(e,r={})=>{if((d??r.locale??n())==="zh")return VJe(e);return qJe(e)};var WJe=()=>"Notification Settings",GJe=()=>"通知设置",Fx=(e={},r={})=>{if((d??r.locale??n())==="zh")return GJe(e);return WJe(e)};var KJe=()=>"Notification settings updated",XJe=()=>"通知设置已更新",Lx=(e={},r={})=>{if((d??r.locale??n())==="zh")return XJe(e);return KJe(e)};var QJe=(e)=>`${e?.creator} updated status of ${e?.asset}`,JJe=(e)=>`${e?.creator} 更新了 ${e?.asset} 的状态`,$Je=(e,r={})=>{if((d??r.locale??n())==="zh")return JJe(e);return QJe(e)};var e$e=(e)=>`${e?.creator} uploaded ${e?.asset} to ${e?.project}`,t$e=(e)=>`${e?.creator} 将 ${e?.asset} 上传到 ${e?.project}`,r$e=(e,r={})=>{if((d??r.locale??n())==="zh")return t$e(e);return e$e(e)};var o$e=()=>"Notifications",a$e=()=>"通知",Jh=(e={},r={})=>{if((d??r.locale??n())==="zh")return a$e(e);return o$e(e)};var n$e=()=>"Configure your personal notification preferences for this team.",i$e=()=>"配置您在此团队的个人通知偏好。",Zx=(e={},r={})=>{if((d??r.locale??n())==="zh")return i$e(e);return n$e(e)};var f$e=()=>"Only team owners can access the dashboard.",s$e=()=>"只有团队所有者才能访问仪表盘。",Bx=(e={},r={})=>{if((d??r.locale??n())==="zh")return s$e(e);return f$e(e)};var l$e=()=>"Only .zip files are supported.",c$e=()=>"仅支持 .zip 文件。",Ux=(e={},r={})=>{if((d??r.locale??n())==="zh")return c$e(e);return l$e(e)};var u$e=()=>"Opacity",d$e=()=>"透明度",zx=(e={},r={})=>{if((d??r.locale??n())==="zh")return d$e(e);return u$e(e)};var Z$e=()=>"Open a supported file to add markup",p$e=()=>"打开支持的文件以添加标注",jx=(e={},r={})=>{if((d??r.locale??n())==="zh")return p$e(e);return Z$e(e)};var m$e=()=>"Open Share Link",h$e=()=>"打开分享链接",qx=(e={},r={})=>{if((d??r.locale??n())==="zh")return h$e(e);return m$e(e)};var g$e=()=>"Operator",M$e=()=>"运算符",Hx=(e={},r={})=>{if((d??r.locale??n())==="zh")return M$e(e);return g$e(e)};var v$e=()=>"contains",x$e=()=>"包含",$x=(e={},r={})=>{if((d??r.locale??n())==="zh")return x$e(e);return v$e(e)};var y$e=()=>"does not contain",b$e=()=>"不包含",Gx=(e={},r={})=>{if((d??r.locale??n())==="zh")return b$e(e);return y$e(e)};var _$e=()=>"has all of",w$e=()=>"含有全部",Vx=(e={},r={})=>{if((d??r.locale??n())==="zh")return w$e(e);return _$e(e)};var z$e=()=>"has any of",S$e=()=>"含有其中之一",Qx=(e={},r={})=>{if((d??r.locale??n())==="zh")return S$e(e);return z$e(e)};var L$e=()=>"has none of",k$e=()=>"不含有其中任何",Kx=(e={},r={})=>{if((d??r.locale??n())==="zh")return k$e(e);return L$e(e)};var C$e=()=>"is",I$e=()=>"是",bl=(e={},r={})=>{if((d??r.locale??n())==="zh")return I$e(e);return C$e(e)};var R$e=()=>"is after",P$e=()=>"在之后",Wx=(e={},r={})=>{if((d??r.locale??n())==="zh")return P$e(e);return R$e(e)};var T$e=()=>"is any of",A$e=()=>"是其中之一",Yx=(e={},r={})=>{if((d??r.locale??n())==="zh")return A$e(e);return T$e(e)};var E$e=()=>"is before",D$e=()=>"在之前",Jx=(e={},r={})=>{if((d??r.locale??n())==="zh")return D$e(e);return E$e(e)};var O$e=()=>"is empty",j$e=()=>"为空",vl=(e={},r={})=>{if((d??r.locale??n())==="zh")return j$e(e);return O$e(e)};var N$e=()=>"is exactly",F$e=()=>"完全匹配",Xx=(e={},r={})=>{if((d??r.locale??n())==="zh")return F$e(e);return N$e(e)};var B$e=()=>"is none of",Y$e=()=>"不在其中",eS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y$e(e);return B$e(e)};var U$e=()=>"is not",q$e=()=>"不是",vd=(e={},r={})=>{if((d??r.locale??n())==="zh")return q$e(e);return U$e(e)};var V$e=()=>"is not empty",H$e=()=>"不为空",wl=(e={},r={})=>{if((d??r.locale??n())==="zh")return H$e(e);return V$e(e)};var W$e=()=>"is on or after",G$e=()=>"在当天或之后",tS=(e={},r={})=>{if((d??r.locale??n())==="zh")return G$e(e);return W$e(e)};var K$e=()=>"is on or before",X$e=()=>"在当天或之前",rS=(e={},r={})=>{if((d??r.locale??n())==="zh")return X$e(e);return K$e(e)};var Q$e=()=>"is within",J$e=()=>"在范围内",nS=(e={},r={})=>{if((d??r.locale??n())==="zh")return J$e(e);return Q$e(e)};var $$e=()=>"Option name",eet=()=>"选项名称",np=(e={},r={})=>{if((d??r.locale??n())==="zh")return eet(e);return $$e(e)};var tet=()=>"Optional default value...",ret=()=>"可选默认值...",oS=(e={},r={})=>{if((d??r.locale??n())==="zh")return ret(e);return tet(e)};var oet=()=>"Options",aet=()=>"选项",wd=(e={},r={})=>{if((d??r.locale??n())==="zh")return aet(e);return oet(e)};var net=()=>"OR",iet=()=>"或",sS=(e={},r={})=>{if((d??r.locale??n())==="zh")return iet(e);return net(e)};var fet=()=>"Order",set=()=>"顺序",op=(e={},r={})=>{if((d??r.locale??n())==="zh")return set(e);return fet(e)};var cet=()=>"Original",uet=()=>"原始",xl=(e={},r={})=>{if((d??r.locale??n())==="zh")return uet(e);return cet(e)};var det=()=>"Other Uploads",Zet=()=>"其他上传",aS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zet(e);return det(e)};var pet=()=>"Output Cost (1M)",met=()=>"输出成本(每百万)",iS=(e={},r={})=>{if((d??r.locale??n())==="zh")return met(e);return pet(e)};var het=()=>"Output Tokens",get=()=>"输出 Token",Xh=(e={},r={})=>{if((d??r.locale??n())==="zh")return get(e);return het(e)};var Met=()=>"Override the default endpoint.",vet=()=>"覆盖默认端点。",eg=(e={},r={})=>{if((d??r.locale??n())==="zh")return vet(e);return Met(e)};var xet=()=>"Do you want to override the existing skill?",yet=()=>"你想覆盖现有技能吗?",lS=(e={},r={})=>{if((d??r.locale??n())==="zh")return yet(e);return xet(e)};var bet=()=>"Overwrite Existing Template",_et=()=>"覆盖现有模板",tg=(e={},r={})=>{if((d??r.locale??n())==="zh")return _et(e);return bet(e)};var wet=()=>"Owner",zet=()=>"管理员",Uc=(e={},r={})=>{if((d??r.locale??n())==="zh")return zet(e);return wet(e)};var Let=()=>"Package Upload",ket=()=>"包上传",cS=(e={},r={})=>{if((d??r.locale??n())==="zh")return ket(e);return Let(e)};var Cet=()=>"Packages must contain a SKILL.md",Iet=()=>"包必须包含 SKILL.md",uS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Iet(e);return Cet(e)};var Ret=(e)=>`Page ${e?.current} of ${e?.total}`,Pet=(e)=>`第 ${e?.current} / ${e?.total} 页`,dS=(e,r={})=>{if((d??r.locale??n())==="zh")return Pet(e);return Ret(e)};var Tet=(e)=>`Page ${e?.page}`,Aet=(e)=>`第 ${e?.page} 页`,rg=(e,r={})=>{if((d??r.locale??n())==="zh")return Aet(e);return Tet(e)};var Eet=()=>"Parameters",Det=()=>"参数",fS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Det(e);return Eet(e)};var Oet=()=>"Parent Tasks",jet=()=>"前置任务",ng=(e={},r={})=>{if((d??r.locale??n())==="zh")return jet(e);return Oet(e)};var Net=()=>"Password",Fet=()=>"密码",sp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fet(e);return Net(e)};var Bet=()=>"Password is required",Yet=()=>"密码为必填项",Uet=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yet(e);return Bet(e)};var qet=()=>"Password must be at least 3 characters",Vet=()=>"密码至少需要 3 个字符",ap=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vet(e);return qet(e)};var Het=()=>"At least 3 characters",Wet=()=>"至少 3 个字符",Get=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wet(e);return Het(e)};var Ket=()=>"Your password",Xet=()=>"请输入密码",Qet=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xet(e);return Ket(e)};var Jet=()=>"Password Protected",$et=()=>"密码保护",pS=(e={},r={})=>{if((d??r.locale??n())==="zh")return $et(e);return Jet(e)};var ett=()=>"Password reset successfully!",ttt=()=>"密码重置成功!",mS=(e={},r={})=>{if((d??r.locale??n())==="zh")return ttt(e);return ett(e)};var rtt=()=>"You will be redirected to the login page shortly.",ott=()=>"您将很快被重定向到登录页面。",hS=(e={},r={})=>{if((d??r.locale??n())==="zh")return ott(e);return rtt(e)};var att=()=>"Passwords do not match",ntt=()=>"两次输入的密码不一致",gS=(e={},r={})=>{if((d??r.locale??n())==="zh")return ntt(e);return att(e)};var itt=()=>"Pending Domain Approvals",ftt=()=>"待审核域名",AS=(e={},r={})=>{if((d??r.locale??n())==="zh")return ftt(e);return itt(e)};var stt=()=>"These domains were blocked during agent execution. You can approve them to allow future network requests, or delete them from this list.",ltt=()=>"这些域名在智能体执行期间被阻止。您可以批准它们以允许将来的网络请求,或从此列表中删除它们。",_S=(e={},r={})=>{if((d??r.locale??n())==="zh")return ltt(e);return stt(e)};var ctt=()=>"All Users",utt=()=>"所有成员",Ni=(e={},r={})=>{if((d??r.locale??n())==="zh")return utt(e);return ctt(e)};var dtt=()=>"Owner & Editor",Ztt=()=>"管理员与编辑",Di=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ztt(e);return dtt(e)};var ptt=()=>"Owner Only",mtt=()=>"仅管理员",Pi=(e={},r={})=>{if((d??r.locale??n())==="zh")return mtt(e);return ptt(e)};var htt=()=>"Personal Info",gtt=()=>"个人信息",yS=(e={},r={})=>{if((d??r.locale??n())==="zh")return gtt(e);return htt(e)};var Mtt=()=>"Manage your profile name and avatar image.",vtt=()=>"管理您的个人资料名称和头像图片。",bS=(e={},r={})=>{if((d??r.locale??n())==="zh")return vtt(e);return Mtt(e)};var xtt=()=>"Personal Settings",ytt=()=>"个人设置",vS=(e={},r={})=>{if((d??r.locale??n())==="zh")return ytt(e);return xtt(e)};var btt=()=>"Playback Speed",_tt=()=>"播放速度",wS=(e={},r={})=>{if((d??r.locale??n())==="zh")return _tt(e);return btt(e)};var wtt=()=>"Position and resize",ztt=()=>"定位和调整大小",xS=(e={},r={})=>{if((d??r.locale??n())==="zh")return ztt(e);return wtt(e)};var Stt=()=>"Position X (%)",Ltt=()=>"水平位置 (%)",SS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ltt(e);return Stt(e)};var ktt=()=>"Position Y (%)",Ctt=()=>"垂直位置 (%)",ES=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ctt(e);return ktt(e)};var Itt=()=>"Preparing Download",Rtt=()=>"正在准备下载",og=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rtt(e);return Itt(e)};var Ptt=()=>"Preparing download links...",Ttt=()=>"正在准备下载链接...",sg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ttt(e);return Ptt(e)};var Att=()=>"Preset Avatar Option",Ett=()=>"预设头像选项",CS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ett(e);return Att(e)};var Dtt=()=>"Previous file",Ott=()=>"上一个文件",ag=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ott(e);return Dtt(e)};var jtt=()=>"Previous Page",Ntt=()=>"上一页",ip=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ntt(e);return jtt(e)};var Ftt=()=>"Pricing ($ per 1M tokens)",Btt=()=>"计费(每百万令牌美元)",IS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Btt(e);return Ftt(e)};var Ytt=()=>"High",Utt=()=>"高",qtt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Utt(e);return Ytt(e)};var Vtt=()=>"Low",Htt=()=>"低",Wtt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Htt(e);return Vtt(e)};var Gtt=()=>"Medium",Ktt=()=>"中",Xtt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ktt(e);return Gtt(e)};var Qtt=()=>"Urgent",Jtt=()=>"紧急",$tt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jtt(e);return Qtt(e)};var ert=()=>"Processing...",trt=()=>"处理中...",TS=(e={},r={})=>{if((d??r.locale??n())==="zh")return trt(e);return ert(e)};var rrt=()=>"Processing package...",ort=()=>"正在处理包...",MS=(e={},r={})=>{if((d??r.locale??n())==="zh")return ort(e);return rrt(e)};var art=()=>"Profile updated successfully",nrt=()=>"个人资料更新成功",ig=(e={},r={})=>{if((d??r.locale??n())==="zh")return nrt(e);return art(e)};var irt=()=>"project",frt=()=>"项目",kS=(e={},r={})=>{if((d??r.locale??n())==="zh")return frt(e);return irt(e)};var srt=()=>"Project Cover",lrt=()=>"项目封面",RS=(e={},r={})=>{if((d??r.locale??n())==="zh")return lrt(e);return srt(e)};var crt=()=>"Project ID",urt=()=>"项目 ID",NS=(e={},r={})=>{if((d??r.locale??n())==="zh")return urt(e);return crt(e)};var drt=()=>"Project Member",Zrt=()=>"项目成员",lp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zrt(e);return drt(e)};var prt=()=>"Project-scoped member roles are managed within individual project settings",mrt=()=>"项目成员的角色需在具体的项目设置中管理",DS=(e={},r={})=>{if((d??r.locale??n())==="zh")return mrt(e);return prt(e)};var hrt=()=>"Project Members",grt=()=>"项目成员",PS=(e={},r={})=>{if((d??r.locale??n())==="zh")return grt(e);return hrt(e)};var Mrt=()=>"Project Name",vrt=()=>"项目名称",OS=(e={},r={})=>{if((d??r.locale??n())==="zh")return vrt(e);return Mrt(e)};var xrt=()=>"A clear, concise name to identify your project space.",yrt=()=>"简洁明了的名称,用于标识您的项目空间。",FS=(e={},r={})=>{if((d??r.locale??n())==="zh")return yrt(e);return xrt(e)};var brt=()=>"e.g. Acme Marketing, Q3 Product Launch...",_rt=()=>"例如:品牌营销、第三季度产品发布...",LS=(e={},r={})=>{if((d??r.locale??n())==="zh")return _rt(e);return brt(e)};var wrt=()=>"Project notification settings updated",zrt=()=>"项目通知设置已更新",ZS=(e={},r={})=>{if((d??r.locale??n())==="zh")return zrt(e);return wrt(e)};var Srt=()=>"Project Preferences",Lrt=()=>"项目偏好设置",BS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lrt(e);return Srt(e)};var krt=()=>"Project Settings",Crt=()=>"项目设置",lg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Crt(e);return krt(e)};var Irt=()=>"Projects",Rrt=()=>"项目",US=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rrt(e);return Irt(e)};var Prt=()=>"Please provide your name and email to add a comment.",Trt=()=>"请提供您的姓名和邮箱以添加评论。",zS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Trt(e);return Prt(e)};var Art=()=>"Provider",Ert=()=>"提供商",jS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ert(e);return Art(e)};var Drt=()=>"Provider created successfully",Ort=()=>"提供商创建成功",qS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ort(e);return Drt(e)};var jrt=()=>"Provider deleted successfully",Nrt=()=>"提供商删除成功",HS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nrt(e);return jrt(e)};var Frt=()=>"Provider is required",Brt=()=>"提供商为必填项",$S=(e={},r={})=>{if((d??r.locale??n())==="zh")return Brt(e);return Frt(e)};var Yrt=()=>"Provider Name",Urt=()=>"提供商名称",cg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Urt(e);return Yrt(e)};var qrt=()=>"Provider name is required",Vrt=()=>"提供商名称为必填项",ug=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vrt(e);return qrt(e)};var Hrt=()=>"Provider name must be unique",Wrt=()=>"提供商名称必须唯一",dg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wrt(e);return Hrt(e)};var Grt=()=>"e.g., My OpenAI",Krt=()=>"例如:我的 OpenAI",fg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Krt(e);return Grt(e)};var Xrt=()=>"This provider is not configured. Configure an API key in the API Key tab before using these models.",Qrt=()=>"此提供商尚未配置。在使用这些模型前,请在 API 密钥标签页中配置密钥。",GS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qrt(e);return Xrt(e)};var Jrt=()=>"Configured (Custom)",$rt=()=>"已配置(自定义)",pg=(e={},r={})=>{if((d??r.locale??n())==="zh")return $rt(e);return Jrt(e)};var eot=()=>"Configured (Environment)",tot=()=>"已配置(环境变量)",mg=(e={},r={})=>{if((d??r.locale??n())==="zh")return tot(e);return eot(e)};var rot=()=>"Not Configured",oot=()=>"未配置",hg=(e={},r={})=>{if((d??r.locale??n())==="zh")return oot(e);return rot(e)};var aot=()=>"Provider updated successfully",not=()=>"提供商更新成功",gg=(e={},r={})=>{if((d??r.locale??n())==="zh")return not(e);return aot(e)};var iot=()=>"Providers",fot=()=>"提供商",VS=(e={},r={})=>{if((d??r.locale??n())==="zh")return fot(e);return iot(e)};var sot=()=>"Configure AI providers and their models for this team.",lot=()=>"为此团队配置 AI 提供商及其模型。",QS=(e={},r={})=>{if((d??r.locale??n())==="zh")return lot(e);return sot(e)};var cot=()=>"Public Link",uot=()=>"公开链接",KS=(e={},r={})=>{if((d??r.locale??n())==="zh")return uot(e);return cot(e)};var dot=()=>"Quality",Zot=()=>"画质",Ag=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zot(e);return dot(e)};var pot=()=>"Querying database...",mot=()=>"正在查询数据库...",WS=(e={},r={})=>{if((d??r.locale??n())==="zh")return mot(e);return pot(e)};var hot=()=>"Quota available",got=()=>"配额可用",_g=(e={},r={})=>{if((d??r.locale??n())==="zh")return got(e);return hot(e)};var Mot=()=>"Supports wildcards (*). Examples: git *, npm test, curl *, python script.py (use * for all commands)",vot=()=>"支持通配符 (*)。示例:git *、npm test、curl *、python script.py(使用 * 匹配所有命令)",YS=(e={},r={})=>{if((d??r.locale??n())==="zh")return vot(e);return Mot(e)};var xot=()=>"Collapse quota rule",yot=()=>"收起配额规则",JS=(e={},r={})=>{if((d??r.locale??n())==="zh")return yot(e);return xot(e)};var bot=()=>"Quota rule created successfully",_ot=()=>"配额规则创建成功",XS=(e={},r={})=>{if((d??r.locale??n())==="zh")return _ot(e);return bot(e)};var wot=()=>"Monitor live quota usage and reset individual usage windows.",zot=()=>"在仪表盘中监控实时配额使用情况,并重置单个使用窗口。",eE=(e={},r={})=>{if((d??r.locale??n())==="zh")return zot(e);return wot(e)};var Sot=()=>"Quota rule deleted successfully",Lot=()=>"配额规则删除成功",yg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lot(e);return Sot(e)};var kot=()=>"Disabled",Cot=()=>"已禁用",cp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cot(e);return kot(e)};var Iot=()=>"Enabled",Rot=()=>"已启用",tE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rot(e);return Iot(e)};var Pot=()=>"Expand quota rule",Tot=()=>"展开配额规则",rE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tot(e);return Pot(e)};var Aot=()=>"Limit",Eot=()=>"上限",nE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Eot(e);return Aot(e)};var Dot=()=>"e.g. 100000",Oot=()=>"例如 100000",oE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Oot(e);return Dot(e)};var jot=()=>"No usage records found",Not=()=>"暂无使用记录",sE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Not(e);return jot(e)};var Fot=()=>"Period Window",Bot=()=>"周期窗口",aE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bot(e);return Fot(e)};var Yot=()=>"1 Day",Uot=()=>"1 天",up=(e={},r={})=>{if((d??r.locale??n())==="zh")return Uot(e);return Yot(e)};var qot=()=>"1 Hour",Vot=()=>"1 小时",dp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vot(e);return qot(e)};var Hot=()=>"5 Hours",Wot=()=>"5 小时",fp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wot(e);return Hot(e)};var Got=()=>"7 Days",Kot=()=>"7 天",pp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kot(e);return Got(e)};var Xot=(e)=>`Refreshes in ${e?.time}`,Qot=(e)=>`${e?.time} 后重置`,bg=(e,r={})=>{if((d??r.locale??n())==="zh")return Qot(e);return Xot(e)};var Jot=()=>"Remaining",$ot=()=>"剩余额度",iE=(e={},r={})=>{if((d??r.locale??n())==="zh")return $ot(e);return Jot(e)};var eat=()=>"Quota usage reset successfully",tat=()=>"配额使用量重置成功",lE=(e={},r={})=>{if((d??r.locale??n())==="zh")return tat(e);return eat(e)};var rat=()=>"Reset Usage",oat=()=>"重置使用量",vg=(e={},r={})=>{if((d??r.locale??n())==="zh")return oat(e);return rat(e)};var aat=(e)=>`Reset usage for ${e?.target}? Consumption will be cleared and a new quota window will start now.`,nat=(e)=>`确定要重置 ${e?.target} 的使用量吗?当前消耗将被清零,并立即开始新的配额周期。`,cE=(e,r={})=>{if((d??r.locale??n())==="zh")return nat(e);return aat(e)};var iat=()=>"Resource",fat=()=>"资源类型",uE=(e={},r={})=>{if((d??r.locale??n())==="zh")return fat(e);return iat(e)};var sat=()=>"Agent Bash Calls",lat=()=>"智能体 Bash 执行次数",xd=(e={},r={})=>{if((d??r.locale??n())==="zh")return lat(e);return sat(e)};var cat=()=>"AI Cost ($)",uat=()=>"AI 费用 ($)",Sd=(e={},r={})=>{if((d??r.locale??n())==="zh")return uat(e);return cat(e)};var dat=()=>"MCP Server Calls",Zat=()=>"MCP 服务调用次数",Ed=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zat(e);return dat(e)};var pat=()=>"Agent Tool Calls",mat=()=>"智能体工具调用次数",Cd=(e={},r={})=>{if((d??r.locale??n())==="zh")return mat(e);return pat(e)};var hat=()=>"AI Tokens",gat=()=>"AI Token 总量",Id=(e={},r={})=>{if((d??r.locale??n())==="zh")return gat(e);return hat(e)};var Mat=()=>"Role Shared Pool",vat=()=>"角色共享配额池",dE=(e={},r={})=>{if((d??r.locale??n())==="zh")return vat(e);return Mat(e)};var xat=()=>"Scope",yat=()=>"范围",fE=(e={},r={})=>{if((d??r.locale??n())==="zh")return yat(e);return xat(e)};var bat=()=>"Target Mode",_at=()=>"目标模式",pE=(e={},r={})=>{if((d??r.locale??n())==="zh")return _at(e);return bat(e)};var wat=()=>"All Members",zat=()=>"所有成员",Td=(e={},r={})=>{if((d??r.locale??n())==="zh")return zat(e);return wat(e)};var Sat=()=>"Shared pooled limit across all matching members",Lat=()=>"所有符合条件的成员共同享有总配额上限",mE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lat(e);return Sat(e)};var kat=()=>"Each Member",Cat=()=>"每个成员",Md=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cat(e);return kat(e)};var Iat=()=>"Individual limit for each matching member",Rat=()=>"为每个符合条件的成员分别设定独立的配额上限",hE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rat(e);return Iat(e)};var Pat=()=>"Selected Members",Tat=()=>"指定成员",kd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tat(e);return Pat(e)};var Aat=()=>"Individual limit for selected users",Eat=()=>"为选定的成员分别设定独立的配额上限",gE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Eat(e);return Aat(e)};var Dat=()=>"Role-based",Oat=()=>"按角色",mp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Oat(e);return Dat(e)};var jat=()=>"Entire Team",Nat=()=>"整个团队",Sl=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nat(e);return jat(e)};var Fat=()=>"Search members...",Bat=()=>"搜索成员...",hp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bat(e);return Fat(e)};var Yat=(e)=>`${e?.count} members selected`,Uat=(e)=>`已选择 ${e?.count} 位成员`,AE=(e,r={})=>{if((d??r.locale??n())==="zh")return Uat(e);return Yat(e)};var qat=()=>"Quota status updated",Vat=()=>"配额状态已更新",_E=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vat(e);return qat(e)};var Hat=(e)=>`Match: ${e?.value}`,Wat=(e)=>`匹配:${e?.value}`,yE=(e,r={})=>{if((d??r.locale??n())==="zh")return Wat(e);return Hat(e)};var Gat=(e)=>`Server: ${e?.value}`,Kat=(e)=>`服务:${e?.value}`,bE=(e,r={})=>{if((d??r.locale??n())==="zh")return Kat(e);return Gat(e)};var Xat=(e)=>`Tool: ${e?.value}`,Qat=(e)=>`工具:${e?.value}`,vE=(e,r={})=>{if((d??r.locale??n())==="zh")return Qat(e);return Xat(e)};var Jat=()=>"Team Shared Pool",$at=()=>"团队共享配额池",wE=(e={},r={})=>{if((d??r.locale??n())==="zh")return $at(e);return Jat(e)};var ent=()=>"Select a specific agent tool to configure its quota limit",tnt=()=>"选择特定的智能体工具以配置其配额限制",xE=(e={},r={})=>{if((d??r.locale??n())==="zh")return tnt(e);return ent(e)};var rnt=()=>"Quota rule updated successfully",ont=()=>"配额规则更新成功",SE=(e={},r={})=>{if((d??r.locale??n())==="zh")return ont(e);return rnt(e)};var ant=()=>"Quotas",nnt=()=>"配额",Rd=(e={},r={})=>{if((d??r.locale??n())==="zh")return nnt(e);return ant(e)};var int=(e)=>`${e?.others} reacted with ${e?.emoji}`,fnt=(e)=>`${e?.others} 回应了 ${e?.emoji}`,EE=(e,r={})=>{if((d??r.locale??n())==="zh")return fnt(e);return int(e)};var snt=(e)=>`You reacted with ${e?.emoji}`,lnt=(e)=>`你回应了 ${e?.emoji}`,CE=(e,r={})=>{if((d??r.locale??n())==="zh")return lnt(e);return snt(e)};var cnt=(e)=>`You and ${e?.others} reacted with ${e?.emoji}`,unt=(e)=>`你和 ${e?.others} 回应了 ${e?.emoji}`,IE=(e,r={})=>{if((d??r.locale??n())==="zh")return unt(e);return cnt(e)};var dnt=()=>"Ready to Search",Znt=()=>"准备搜索",TE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Znt(e);return dnt(e)};var pnt=()=>"Reasoning Support",mnt=()=>"推理支持",gp=(e={},r={})=>{if((d??r.locale??n())==="zh")return mnt(e);return pnt(e)};var hnt=()=>"Recently Deleted",gnt=()=>"最近删除",wg=(e={},r={})=>{if((d??r.locale??n())==="zh")return gnt(e);return hnt(e)};var Mnt=()=>"Items are automatically deleted after 30 days.",vnt=()=>"项目将在 30 天后自动删除。",Ap=(e={},r={})=>{if((d??r.locale??n())==="zh")return vnt(e);return Mnt(e)};var xnt=()=>"Recently Viewed",ynt=()=>"最近浏览",xg=(e={},r={})=>{if((d??r.locale??n())==="zh")return ynt(e);return xnt(e)};var bnt=()=>"This page displays the 100 most recent files you viewed in this project.",_nt=()=>"此页面显示您最近在当前项目中查看过的 100 个文件。",ME=(e={},r={})=>{if((d??r.locale??n())==="zh")return _nt(e);return bnt(e)};var wnt=()=>"Registration Disabled",znt=()=>"注册已关闭",Snt=(e={},r={})=>{if((d??r.locale??n())==="zh")return znt(e);return wnt(e)};var Lnt=()=>"Public registration is currently disabled. You will need an invite code to join this team.",knt=()=>"公开注册目前已关闭。您需要邀请码才能加入此团队。",Cnt=(e={},r={})=>{if((d??r.locale??n())==="zh")return knt(e);return Lnt(e)};var Int=()=>"Related Assets",Rnt=()=>"关联资产",Pnt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rnt(e);return Int(e)};var Tnt=()=>"Remove",Ant=()=>"移除",El=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ant(e);return Tnt(e)};var Ent=()=>"Remove Cover",Dnt=()=>"移除封面",kE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dnt(e);return Ent(e)};var Ont=()=>"Remove from context",jnt=()=>"从上下文中移除",RE=(e={},r={})=>{if((d??r.locale??n())==="zh")return jnt(e);return Ont(e)};var Nnt=()=>"Remove from Share",Fnt=()=>"从分享中移除",_p=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fnt(e);return Nnt(e)};var Bnt=()=>"Remove from stack",Ynt=()=>"从版本堆栈中移除",Unt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ynt(e);return Bnt(e)};var qnt=()=>"Remove Member",Vnt=()=>"移除成员",NE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vnt(e);return qnt(e)};var Hnt=(e)=>`Are you sure you want to remove ${e?.name} from this ${e?.type}? This action cannot be undone.`,Wnt=(e)=>`确定要从此${e?.type}中移除 ${e?.name} 吗?此操作无法撤销。`,DE=(e,r={})=>{if((d??r.locale??n())==="zh")return Wnt(e);return Hnt(e)};var Gnt=()=>"Removed from share",Knt=()=>"已从分享中移除",PE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Knt(e);return Gnt(e)};var Xnt=()=>"Rename",Qnt=()=>"重命名",Oo=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qnt(e);return Xnt(e)};var Jnt=()=>"Rename Collection",$nt=()=>"重命名媒体合集",eit=(e={},r={})=>{if((d??r.locale??n())==="zh")return $nt(e);return Jnt(e)};var tit=()=>"Rename Folder",rit=()=>"重命名文件夹",oit=(e={},r={})=>{if((d??r.locale??n())==="zh")return rit(e);return tit(e)};var ait=()=>"Rename Share Link",nit=()=>"重命名分享链接",iit=(e={},r={})=>{if((d??r.locale??n())==="zh")return nit(e);return ait(e)};var fit=()=>"Renamed successfully",sit=()=>"重命名成功",OE=(e={},r={})=>{if((d??r.locale??n())==="zh")return sit(e);return fit(e)};var lit=()=>"Reply",cit=()=>"回复",FE=(e={},r={})=>{if((d??r.locale??n())==="zh")return cit(e);return lit(e)};var uit=()=>"Reply...",dit=()=>"回复...",LE=(e={},r={})=>{if((d??r.locale??n())==="zh")return dit(e);return uit(e)};var Zit=(e)=>`reply to: ${e?.message}`,pit=(e)=>`回复:${e?.message}`,ZE=(e,r={})=>{if((d??r.locale??n())==="zh")return pit(e);return Zit(e)};var mit=()=>"Reporter / Reviewer",hit=()=>"报告人 / 审核人",Sg=(e={},r={})=>{if((d??r.locale??n())==="zh")return hit(e);return mit(e)};var git=()=>"Reset",Mit=()=>"重置",BE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mit(e);return git(e)};var vit=()=>"Reset Password",xit=()=>"重置密码",Eg=(e={},r={})=>{if((d??r.locale??n())==="zh")return xit(e);return vit(e)};var yit=()=>"Enter your new password below.",bit=()=>"请在下方输入您的新密码。",UE=(e={},r={})=>{if((d??r.locale??n())==="zh")return bit(e);return yit(e)};var _it=()=>"Resetting password...",wit=()=>"正在重置密码...",zE=(e={},r={})=>{if((d??r.locale??n())==="zh")return wit(e);return _it(e)};var zit=()=>"Resolving all files and folders. Please wait...",Sit=()=>"正在解析所有文件和文件夹,请稍候...",Cg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Sit(e);return zit(e)};var Lit=()=>"Resource Quotas",kit=()=>"资源配额",Ig=(e={},r={})=>{if((d??r.locale??n())==="zh")return kit(e);return Lit(e)};var Cit=()=>"Manage and limit resource usage across team members, roles, and AI operations.",Iit=()=>"管理并限制团队成员、角色以及 AI 操作的资源使用。",Tg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Iit(e);return Cit(e)};var Rit=()=>"Restore",Pit=()=>"恢复",yp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pit(e);return Rit(e)};var Tit=()=>"Reviewer",Ait=()=>"评审员",Bs=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ait(e);return Tit(e)};var Eit=()=>"Role",Dit=()=>"角色",jE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dit(e);return Eit(e)};var Oit=()=>"Agent",jit=()=>"智能体",qE=(e={},r={})=>{if((d??r.locale??n())==="zh")return jit(e);return Oit(e)};var Nit=()=>"Thinking",Fit=()=>"思考中",bp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fit(e);return Nit(e)};var Bit=()=>"User",Yit=()=>"用户",Mg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yit(e);return Bit(e)};var Uit=()=>"Rotation",qit=()=>"旋转角度",HE=(e={},r={})=>{if((d??r.locale??n())==="zh")return qit(e);return Uit(e)};var Vit=()=>"Configure security and network restrictions for the AI agent.",Hit=()=>"配置 AI 智能体的安全和网络限制。",$E=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hit(e);return Vit(e)};var Wit=()=>"Sandbox settings updated",Git=()=>"沙箱设置已更新",GE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Git(e);return Wit(e)};var Kit=()=>"Save",Xit=()=>"保存",Fo=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xit(e);return Kit(e)};var Qit=()=>"Save as collection",Jit=()=>"保存为媒体合集",VE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jit(e);return Qit(e)};var $it=()=>"Save Changes",eft=()=>"保存更改",Us=(e={},r={})=>{if((d??r.locale??n())==="zh")return eft(e);return $it(e)};var tft=()=>"Save Watermark",rft=()=>"保存水印",QE=(e={},r={})=>{if((d??r.locale??n())==="zh")return rft(e);return tft(e)};var oft=()=>"Saved",aft=()=>"已保存",kg=(e={},r={})=>{if((d??r.locale??n())==="zh")return aft(e);return oft(e)};var nft=()=>"Saving...",ift=()=>"保存中...",Rg=(e={},r={})=>{if((d??r.locale??n())==="zh")return ift(e);return nft(e)};var fft=()=>"Saving...",sft=()=>"保存中...",vp=(e={},r={})=>{if((d??r.locale??n())==="zh")return sft(e);return fft(e)};var lft=()=>"Search",cft=()=>"搜索",KE=(e={},r={})=>{if((d??r.locale??n())==="zh")return cft(e);return lft(e)};var uft=()=>"Search",dft=()=>"搜索",WE=(e={},r={})=>{if((d??r.locale??n())==="zh")return dft(e);return uft(e)};var Zft=()=>"Search records by content...",pft=()=>"按内容搜索记录...",YE=(e={},r={})=>{if((d??r.locale??n())==="zh")return pft(e);return Zft(e)};var mft=()=>"Search records by name...",hft=()=>"按名称搜索记录...",JE=(e={},r={})=>{if((d??r.locale??n())==="zh")return hft(e);return mft(e)};var gft=()=>"Search",Mft=()=>"搜索",XE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mft(e);return gft(e)};var vft=()=>"Search emoji",xft=()=>"搜索表情",eC=(e={},r={})=>{if((d??r.locale??n())==="zh")return xft(e);return vft(e)};var yft=()=>"Search failed",bft=()=>"搜索失败",Ng=(e={},r={})=>{if((d??r.locale??n())==="zh")return bft(e);return yft(e)};var _ft=()=>"Search fields",wft=()=>"搜索字段",tC=(e={},r={})=>{if((d??r.locale??n())==="zh")return wft(e);return _ft(e)};var zft=()=>"Search Item ID...",Sft=()=>"搜索条目 ID...",rC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Sft(e);return zft(e)};var Lft=()=>"Search models by ID or name...",kft=()=>"按 ID 或名称搜索模型...",wp=(e={},r={})=>{if((d??r.locale??n())==="zh")return kft(e);return Lft(e)};var Cft=()=>"Search options...",Ift=()=>"搜索选项...",Dg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ift(e);return Cft(e)};var Rft=()=>"Search providers...",Pft=()=>"搜索提供商...",Pg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pft(e);return Rft(e)};var Tft=()=>"Search Results",Aft=()=>"搜索结果",nC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Aft(e);return Tft(e)};var Eft=()=>"Search tasks...",Dft=()=>"搜索任务...",Oft=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dft(e);return Eft(e)};var jft=()=>"Security",Nft=()=>"安全",oC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nft(e);return jft(e)};var Fft=()=>"Select a Team",Bft=()=>"选择团队",Yft=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bft(e);return Fft(e)};var Uft=()=>"Select Actions",qft=()=>"选择操作",sC=(e={},r={})=>{if((d??r.locale??n())==="zh")return qft(e);return Uft(e)};var Vft=()=>"Select Agent",Hft=()=>"选择智能体",Nd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hft(e);return Vft(e)};var Wft=()=>"Select API Protocol",Gft=()=>"选择 API 协议",Og=(e={},r={})=>{if((d??r.locale??n())==="zh")return Gft(e);return Wft(e)};var Kft=()=>"Select an asset to view details",Xft=()=>"选择资产查看详情",aC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xft(e);return Kft(e)};var Qft=()=>"Select Assets",Jft=()=>"选择资产",$ft=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jft(e);return Qft(e)};var est=()=>"Select a block to edit its properties",tst=()=>"选择一个水印块以编辑其属性",iC=(e={},r={})=>{if((d??r.locale??n())==="zh")return tst(e);return est(e)};var rst=()=>"Select Current Folder",ost=()=>"选择当前文件夹",ast=(e={},r={})=>{if((d??r.locale??n())==="zh")return ost(e);return rst(e)};var nst=()=>"Select field",ist=()=>"选择字段",lC=(e={},r={})=>{if((d??r.locale??n())==="zh")return ist(e);return nst(e)};var fst=()=>"Select a field to edit options",sst=()=>"选择一个字段以编辑选项",cC=(e={},r={})=>{if((d??r.locale??n())==="zh")return sst(e);return fst(e)};var lst=()=>"Select field type",cst=()=>"选择字段类型",uC=(e={},r={})=>{if((d??r.locale??n())==="zh")return cst(e);return lst(e)};var ust=()=>"Select a file to view its details and comments.",dst=()=>"选择一个文件以查看其详情和评论。",dC=(e={},r={})=>{if((d??r.locale??n())==="zh")return dst(e);return ust(e)};var Zst=()=>"Select Language",pst=()=>"选择语言",fC=(e={},r={})=>{if((d??r.locale??n())==="zh")return pst(e);return Zst(e)};var mst=()=>"Select MCP Server",hst=()=>"选择 MCP 服务",Fg=(e={},r={})=>{if((d??r.locale??n())==="zh")return hst(e);return mst(e)};var gst=()=>"Select Members",Mst=()=>"选择成员",Lg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mst(e);return gst(e)};var vst=()=>"Select Model",xst=()=>"选择模型",pC=(e={},r={})=>{if((d??r.locale??n())==="zh")return xst(e);return vst(e)};var yst=()=>"Select option",bst=()=>"选择选项",mC=(e={},r={})=>{if((d??r.locale??n())==="zh")return bst(e);return yst(e)};var _st=()=>"Select options...",wst=()=>"选择选项...",hC=(e={},r={})=>{if((d??r.locale??n())==="zh")return wst(e);return _st(e)};var zst=()=>"Select parent tasks...",Sst=()=>"选择前置任务...",Lst=(e={},r={})=>{if((d??r.locale??n())==="zh")return Sst(e);return zst(e)};var kst=()=>"Select your preferred display language.",Cst=()=>"选择您首选的显示语言。",gC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cst(e);return kst(e)};var Ist=()=>"Select Project",Rst=()=>"选择项目",FU=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rst(e);return Ist(e)};var Pst=()=>"Select Provider",Tst=()=>"选择提供商",AC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tst(e);return Pst(e)};var Ast=()=>"Select Target Folder",Est=()=>"选择目标文件夹",xp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Est(e);return Ast(e)};var Dst=()=>"You are a member of multiple teams. Please select one to continue.",Ost=()=>"您是多个团队的成员,请选择一个以继续。",jst=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ost(e);return Dst(e)};var Nst=()=>"Select template to overwrite",Fst=()=>"选择要覆盖的模板",Zg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fst(e);return Nst(e)};var Bst=()=>"Select Tool",Yst=()=>"选择工具",Bg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yst(e);return Bst(e)};var Ust=()=>"Select type",qst=()=>"选择类型",_C=(e={},r={})=>{if((d??r.locale??n())==="zh")return qst(e);return Ust(e)};var Vst=()=>"Select User",Hst=()=>"选择用户",yC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hst(e);return Vst(e)};var Wst=()=>"Select Users",Gst=()=>"选择用户",bC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Gst(e);return Wst(e)};var Kst=()=>"Select ZIP file",Xst=()=>"选择 ZIP 文件",vC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xst(e);return Kst(e)};var Qst=()=>"Semantic Search",Jst=()=>"语义搜索",wC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jst(e);return Qst(e)};var $st=()=>"Semantic search results will be ordered by their relevance to the search query text, but won't be strictly filtered. If you need accurate filtering, please add filter conditions to control that.",elt=()=>"语义搜索结果将按与搜索查询文本的相关性排序,但不会严格筛选。如果需要精确筛选,请添加筛选条件来控制。",xC=(e={},r={})=>{if((d??r.locale??n())==="zh")return elt(e);return $st(e)};var tlt=()=>"* Semantic search requires an enabled embedding agent.",rlt=()=>"* 语义搜索需要启用嵌入智能体。",SC=(e={},r={})=>{if((d??r.locale??n())==="zh")return rlt(e);return tlt(e)};var olt=()=>"Semantic search using media intelligence might be slow...",alt=()=>"使用媒体智能的语义搜索可能较慢...",EC=(e={},r={})=>{if((d??r.locale??n())==="zh")return alt(e);return olt(e)};var nlt=()=>"Session Name",ilt=()=>"会话名称",CC=(e={},r={})=>{if((d??r.locale??n())==="zh")return ilt(e);return nlt(e)};var flt=()=>"The session might have been initialized but has not produced any entries yet.",slt=()=>"该会话可能已初始化但尚未产生任何条目。",IC=(e={},r={})=>{if((d??r.locale??n())==="zh")return slt(e);return flt(e)};var llt=()=>"Session Type",clt=()=>"会话类型",TC=(e={},r={})=>{if((d??r.locale??n())==="zh")return clt(e);return llt(e)};var ult=()=>"Chat",dlt=()=>"对话",MC=(e={},r={})=>{if((d??r.locale??n())==="zh")return dlt(e);return ult(e)};var Zlt=()=>"Comment",plt=()=>"评论",kC=(e={},r={})=>{if((d??r.locale??n())==="zh")return plt(e);return Zlt(e)};var mlt=()=>"Naming",hlt=()=>"命名",RC=(e={},r={})=>{if((d??r.locale??n())==="zh")return hlt(e);return mlt(e)};var glt=()=>"Sessions",Mlt=()=>"会话列表",Ug=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mlt(e);return glt(e)};var vlt=()=>"View and inspect all agent sessions created within the team.",xlt=()=>"查看并检查团队内创建的所有 Agent 会话。",NC=(e={},r={})=>{if((d??r.locale??n())==="zh")return xlt(e);return vlt(e)};var ylt=()=>"Set Role",blt=()=>"设置角色",DC=(e={},r={})=>{if((d??r.locale??n())==="zh")return blt(e);return ylt(e)};var _lt=()=>"Settings",wlt=()=>"设置",Sp=(e={},r={})=>{if((d??r.locale??n())==="zh")return wlt(e);return _lt(e)};var zlt=()=>"Settings updated",Slt=()=>"设置已更新",zg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Slt(e);return zlt(e)};var Llt=()=>"share link",klt=()=>"分享链接",Clt=(e={},r={})=>{if((d??r.locale??n())==="zh")return klt(e);return Llt(e)};var Ilt=()=>"Share link created",Rlt=()=>"分享链接已创建",Plt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rlt(e);return Ilt(e)};var Tlt=()=>"Share link deleted",Alt=()=>"分享链接已删除",Elt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Alt(e);return Tlt(e)};var Dlt=()=>"Share link renamed",Olt=()=>"分享链接已重命名",jlt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Olt(e);return Dlt(e)};var Nlt=()=>"Share link status updated",Flt=()=>"分享链接状态已更新",PC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Flt(e);return Nlt(e)};var Blt=()=>"Share Links",Ylt=()=>"分享链接",Ult=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ylt(e);return Blt(e)};var qlt=()=>"Show Chatbot",Vlt=()=>"显示聊天机器人",Hlt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vlt(e);return qlt(e)};var Wlt=()=>"Shumai Agent",Glt=()=>"数脉智能体",OC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Glt(e);return Wlt(e)};var Klt=()=>"Sign up",Xlt=()=>"注册",qfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xlt(e);return Klt(e)};var Qlt=()=>"Signup failed",Jlt=()=>"注册失败",$lt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jlt(e);return Qlt(e)};var ect=()=>"Start building and organizing your space.",tct=()=>"开始构建和整理您的空间。",rct=(e={},r={})=>{if((d??r.locale??n())==="zh")return tct(e);return ect(e)};var oct=()=>"Size:",act=()=>"大小:",FC=(e={},r={})=>{if((d??r.locale??n())==="zh")return act(e);return oct(e)};var nct=()=>"Permission",ict=()=>"权限",Ep=(e={},r={})=>{if((d??r.locale??n())==="zh")return ict(e);return nct(e)};var fct=()=>"Skills",sct=()=>"技能",jg=(e={},r={})=>{if((d??r.locale??n())==="zh")return sct(e);return fct(e)};var lct=(e)=>`${e?.count} Skills`,cct=(e)=>`${e?.count} 个技能`,LC=(e,r={})=>{if((d??r.locale??n())==="zh")return cct(e);return lct(e)};var uct=()=>"Add, update and configure AI skills for the team.",dct=()=>"为团队添加、更新和配置 AI 技能。",ZC=(e={},r={})=>{if((d??r.locale??n())==="zh")return dct(e);return uct(e)};var Zct=()=>"Skills Management",pct=()=>"技能管理",qg=(e={},r={})=>{if((d??r.locale??n())==="zh")return pct(e);return Zct(e)};var mct=()=>"Extend your chatbot's capabilities with custom skills.",hct=()=>"使用自定义技能扩展聊天机器人的功能。",BC=(e={},r={})=>{if((d??r.locale??n())==="zh")return hct(e);return mct(e)};var gct=()=>"Some downloads could not be started",Mct=()=>"部分下载无法启动",vct=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mct(e);return gct(e)};var xct=()=>"A → Z",yct=()=>"A → Z",zc=(e={},r={})=>{if((d??r.locale??n())==="zh")return yct(e);return xct(e)};var bct=()=>"Sort by",_ct=()=>"排序",Cl=(e={},r={})=>{if((d??r.locale??n())==="zh")return _ct(e);return bct(e)};var wct=()=>"Created",zct=()=>"创建时间",UC=(e={},r={})=>{if((d??r.locale??n())==="zh")return zct(e);return wct(e)};var Sct=()=>"Custom",Lct=()=>"自定义",Cp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lct(e);return Sct(e)};var kct=()=>"Date Created",Cct=()=>"创建日期",Ip=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cct(e);return kct(e)};var Ict=()=>"Date Modified",Rct=()=>"修改日期",zC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rct(e);return Ict(e)};var Pct=()=>"Largest → Smallest",Tct=()=>"最大 → 最小",Tp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tct(e);return Pct(e)};var Act=()=>"Name",Ect=()=>"名称",Il=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ect(e);return Act(e)};var Dct=()=>"Newest → Oldest",Oct=()=>"最新 → 最旧",jc=(e={},r={})=>{if((d??r.locale??n())==="zh")return Oct(e);return Dct(e)};var jct=()=>"Oldest → Newest",Nct=()=>"最旧 → 最新",qc=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nct(e);return jct(e)};var Fct=()=>"Size",Bct=()=>"大小",Mp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bct(e);return Fct(e)};var Yct=()=>"Smallest → Largest",Uct=()=>"最小 → 最大",kp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Uct(e);return Yct(e)};var qct=()=>"Updated",Vct=()=>"更新时间",jC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vct(e);return qct(e)};var Hct=()=>"Z → A",Wct=()=>"Z → A",Hc=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wct(e);return Hct(e)};var Gct=(e)=>`Sorted by ${e?.field}`,Kct=(e)=>`按${e?.field}排序`,qC=(e,r={})=>{if((d??r.locale??n())==="zh")return Kct(e);return Gct(e)};var Xct=()=>"Sorted by",Qct=()=>"排序方式",HC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qct(e);return Xct(e)};var Jct=()=>"Standard Time",$ct=()=>"标准时间",$C=(e={},r={})=>{if((d??r.locale??n())==="zh")return $ct(e);return Jct(e)};var eut=()=>"Start Date",tut=()=>"开始日期",Dd=(e={},r={})=>{if((d??r.locale??n())==="zh")return tut(e);return eut(e)};var rut=()=>"Start Download",out=()=>"开始下载",Hg=(e={},r={})=>{if((d??r.locale??n())==="zh")return out(e);return rut(e)};var aut=(e)=>`Starting download of ${e?.count} files. Please allow multiple downloads if prompted by your browser.`,nut=(e)=>`正在开始下载 ${e?.count} 个文件。如果浏览器提示,请允许多个下载。`,iut=(e,r={})=>{if((d??r.locale??n())==="zh")return nut(e);return aut(e)};var fut=()=>"Blocked",sut=()=>"已受阻",$g=(e={},r={})=>{if((d??r.locale??n())==="zh")return sut(e);return fut(e)};var lut=()=>"Done",cut=()=>"已完成",uut=(e={},r={})=>{if((d??r.locale??n())==="zh")return cut(e);return lut(e)};var dut=()=>"In Progress",Zut=()=>"进行中",put=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zut(e);return dut(e)};var mut=()=>"In Review",hut=()=>"审核中",gut=(e={},r={})=>{if((d??r.locale??n())==="zh")return hut(e);return mut(e)};var Mut=()=>"Ready",vut=()=>"就绪",xut=(e={},r={})=>{if((d??r.locale??n())==="zh")return vut(e);return Mut(e)};var yut=()=>"To Do",but=()=>"待办",_ut=(e={},r={})=>{if((d??r.locale??n())==="zh")return but(e);return yut(e)};var wut=()=>"Status Updates",zut=()=>"状态更新",GC=(e={},r={})=>{if((d??r.locale??n())==="zh")return zut(e);return wut(e)};var Sut=()=>"Switch version",Lut=()=>"切换版本",Pd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lut(e);return Sut(e)};var kut=()=>"Sync Providers",Cut=()=>"同步提供商",VC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cut(e);return kut(e)};var Iut=(e)=>`Add Selected (${e?.count})`,Rut=(e)=>`添加所选 (${e?.count})`,QC=(e,r={})=>{if((d??r.locale??n())==="zh")return Rut(e);return Iut(e)};var Put=()=>"Adding...",Tut=()=>"正在添加...",KC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tut(e);return Put(e)};var Aut=()=>"Checking for updates...",Eut=()=>"正在检查更新...",WC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Eut(e);return Aut(e)};var Dut=()=>"Collapse All",Out=()=>"全部折叠",YC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Out(e);return Dut(e)};var jut=(e)=>`${e?.count}k ctx`,Nut=(e)=>`${e?.count}k 上下文`,JC=(e,r={})=>{if((d??r.locale??n())==="zh")return Nut(e);return jut(e)};var Fut=()=>"Deselect All",But=()=>"取消全选",XC=(e={},r={})=>{if((d??r.locale??n())==="zh")return But(e);return Fut(e)};var Yut=()=>"Select the new providers and models you want to add. Existing providers, custom endpoints, API keys, and model configurations will never be deleted or modified.",Uut=()=>"选择您希望添加的新提供商和模型。现有的提供商、自定义端点、API 密钥和模型配置绝不会被删除或修改。",e1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Uut(e);return Yut(e)};var qut=()=>"Sync Providers & Models",Vut=()=>"同步提供商与模型",t1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vut(e);return qut(e)};var Hut=()=>"Existing Provider",Wut=()=>"现有提供商",r1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wut(e);return Hut(e)};var Gut=()=>"Expand All",Kut=()=>"全部展开",n1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kut(e);return Gut(e)};var Xut=(e)=>`${e?.count} new models`,Qut=(e)=>`${e?.count} 个新模型`,o1=(e,r={})=>{if((d??r.locale??n())==="zh")return Qut(e);return Xut(e)};var Jut=()=>"New Provider",$ut=()=>"新提供商",s1=(e={},r={})=>{if((d??r.locale??n())==="zh")return $ut(e);return Jut(e)};var edt=()=>"reasoning",tdt=()=>"深度思考",a1=(e={},r={})=>{if((d??r.locale??n())==="zh")return tdt(e);return edt(e)};var rdt=()=>"Filter new providers or models...",odt=()=>"筛选新提供商或模型...",i1=(e={},r={})=>{if((d??r.locale??n())==="zh")return odt(e);return rdt(e)};var adt=()=>"Select All",ndt=()=>"全选",l1=(e={},r={})=>{if((d??r.locale??n())==="zh")return ndt(e);return adt(e)};var idt=(e)=>`${e?.modelCount} models selected across ${e?.providerCount} providers`,fdt=(e)=>`已选 ${e?.modelCount} 个模型,分布在 ${e?.providerCount} 个提供商中`,c1=(e,r={})=>{if((d??r.locale??n())==="zh")return fdt(e);return idt(e)};var sdt=(e)=>`Successfully added ${e?.modelCount} models across ${e?.providerCount} providers.`,ldt=(e)=>`已成功添加 ${e?.providerCount} 个提供商中的 ${e?.modelCount} 个模型。`,u1=(e,r={})=>{if((d??r.locale??n())==="zh")return ldt(e);return sdt(e)};var cdt=()=>"All providers and models are already up to date.",udt=()=>"所有提供商和模型均已是最新状态。",d1=(e={},r={})=>{if((d??r.locale??n())==="zh")return udt(e);return cdt(e)};var ddt=()=>"System",Zdt=()=>"跟随系统",pdt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zdt(e);return ddt(e)};var mdt=()=>"Target Folder",hdt=()=>"目标文件夹",Rp=(e={},r={})=>{if((d??r.locale??n())==="zh")return hdt(e);return mdt(e)};var gdt=()=>"Task created",Mdt=()=>"任务已创建",f1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mdt(e);return gdt(e)};var vdt=()=>"Task deleted successfully",xdt=()=>"任务已成功删除",p1=(e={},r={})=>{if((d??r.locale??n())==="zh")return xdt(e);return vdt(e)};var ydt=()=>"Description",bdt=()=>"任务描述",Gg=(e={},r={})=>{if((d??r.locale??n())==="zh")return bdt(e);return ydt(e)};var _dt=()=>"Add details, acceptance criteria, or context...",wdt=()=>"添加详细说明、验收标准或背景信息...",Vg=(e={},r={})=>{if((d??r.locale??n())==="zh")return wdt(e);return _dt(e)};var zdt=()=>"Priority",Sdt=()=>"优先级",Qg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Sdt(e);return zdt(e)};var Ldt=()=>"Task Title",kdt=()=>"任务标题",Kg=(e={},r={})=>{if((d??r.locale??n())==="zh")return kdt(e);return Ldt(e)};var Cdt=()=>"What needs to be done?",Idt=()=>"需要完成什么任务?",Wg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Idt(e);return Cdt(e)};var Rdt=()=>"Agent Task",Pdt=()=>"智能体任务",Od=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pdt(e);return Rdt(e)};var Tdt=()=>"Executed autonomously by an AI agent",Adt=()=>"由 AI 智能体自主执行",Yg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Adt(e);return Tdt(e)};var Edt=()=>"team",Ddt=()=>"团队",Fd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ddt(e);return Edt(e)};var Odt=()=>"Team Attributes",jdt=()=>"团队属性",m1=(e={},r={})=>{if((d??r.locale??n())==="zh")return jdt(e);return Odt(e)};var Ndt=()=>"Team",Fdt=()=>"团队",h1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fdt(e);return Ndt(e)};var Bdt=()=>"Team Member",Ydt=()=>"团队成员",Np=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ydt(e);return Bdt(e)};var Udt=()=>"Team Members",qdt=()=>"团队成员",g1=(e={},r={})=>{if((d??r.locale??n())==="zh")return qdt(e);return Udt(e)};var Vdt=()=>"Team Settings",Hdt=()=>"团队设置",A1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hdt(e);return Vdt(e)};var Wdt=()=>"Team Tasks",Gdt=()=>"团队任务",_1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Gdt(e);return Wdt(e)};var Kdt=()=>"Team",Xdt=()=>"团队",y1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xdt(e);return Kdt(e)};var Qdt=()=>"Template deleted successfully",Jdt=()=>"模板删除成功",b1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jdt(e);return Qdt(e)};var $dt=()=>"Template Name",eZt=()=>"模板名称",v1=(e={},r={})=>{if((d??r.locale??n())==="zh")return eZt(e);return $dt(e)};var tZt=()=>"Template saved successfully",rZt=()=>"模板保存成功",w1=(e={},r={})=>{if((d??r.locale??n())==="zh")return rZt(e);return tZt(e)};var oZt=()=>"Template updated successfully",aZt=()=>"模板更新成功",x1=(e={},r={})=>{if((d??r.locale??n())==="zh")return aZt(e);return oZt(e)};var nZt=()=>"Text Content",iZt=()=>"文本内容",S1=(e={},r={})=>{if((d??r.locale??n())==="zh")return iZt(e);return nZt(e)};var fZt=()=>"Theme",sZt=()=>"主题",lZt=(e={},r={})=>{if((d??r.locale??n())==="zh")return sZt(e);return fZt(e)};var cZt=()=>"Disable",uZt=()=>"禁用",E1=(e={},r={})=>{if((d??r.locale??n())==="zh")return uZt(e);return cZt(e)};var dZt=()=>"High",ZZt=()=>"高",C1=(e={},r={})=>{if((d??r.locale??n())==="zh")return ZZt(e);return dZt(e)};var pZt=()=>"Thinking Level",mZt=()=>"思考级别",I1=(e={},r={})=>{if((d??r.locale??n())==="zh")return mZt(e);return pZt(e)};var hZt=()=>"Low",gZt=()=>"低",T1=(e={},r={})=>{if((d??r.locale??n())==="zh")return gZt(e);return hZt(e)};var MZt=()=>"Medium",vZt=()=>"中",M1=(e={},r={})=>{if((d??r.locale??n())==="zh")return vZt(e);return MZt(e)};var xZt=()=>"Thinking...",yZt=()=>"思考中...",k1=(e={},r={})=>{if((d??r.locale??n())==="zh")return yZt(e);return xZt(e)};var bZt=()=>"This folder is empty",_Zt=()=>"此文件夹为空",Dp=(e={},r={})=>{if((d??r.locale??n())==="zh")return _Zt(e);return bZt(e)};var wZt=()=>"Timecode",zZt=()=>"时间码",R1=(e={},r={})=>{if((d??r.locale??n())==="zh")return zZt(e);return wZt(e)};var SZt=()=>"Timestamp",LZt=()=>"时间戳",N1=(e={},r={})=>{if((d??r.locale??n())==="zh")return LZt(e);return SZt(e)};var kZt=()=>"Today",CZt=()=>"今天",Vfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return CZt(e);return kZt(e)};var IZt=(e)=>`Today ${e?.time}`,RZt=(e)=>`今天 ${e?.time}`,PZt=(e,r={})=>{if((d??r.locale??n())==="zh")return RZt(e);return IZt(e)};var TZt=()=>"Toggle Annotation",AZt=()=>"切换标注",D1=(e={},r={})=>{if((d??r.locale??n())==="zh")return AZt(e);return TZt(e)};var EZt=()=>"Checked",DZt=()=>"已选中",P1=(e={},r={})=>{if((d??r.locale??n())==="zh")return DZt(e);return EZt(e)};var OZt=()=>"Unchecked",jZt=()=>"未选中",O1=(e={},r={})=>{if((d??r.locale??n())==="zh")return jZt(e);return OZt(e)};var NZt=()=>"Token",FZt=()=>"令牌",F1=(e={},r={})=>{if((d??r.locale??n())==="zh")return FZt(e);return NZt(e)};var BZt=()=>"Token Name",YZt=()=>"令牌名称",L1=(e={},r={})=>{if((d??r.locale??n())==="zh")return YZt(e);return BZt(e)};var UZt=()=>"e.g. My CLI token",qZt=()=>"例如:我的 CLI 令牌",Z1=(e={},r={})=>{if((d??r.locale??n())==="zh")return qZt(e);return UZt(e)};var VZt=()=>"tokens",HZt=()=>"令牌",Jg=(e={},r={})=>{if((d??r.locale??n())==="zh")return HZt(e);return VZt(e)};var WZt=()=>"Arguments",GZt=()=>"参数",Pp=(e={},r={})=>{if((d??r.locale??n())==="zh")return GZt(e);return WZt(e)};var KZt=()=>"Parameters",XZt=()=>"参数列表",B1=(e={},r={})=>{if((d??r.locale??n())==="zh")return XZt(e);return KZt(e)};var QZt=(e)=>`Tool Result: ${e?.name}`,JZt=(e)=>`工具结果:${e?.name}`,Op=(e,r={})=>{if((d??r.locale??n())==="zh")return JZt(e);return QZt(e)};var $Zt=()=>"Total Tokens",ept=()=>"总 Token",Xg=(e={},r={})=>{if((d??r.locale??n())==="zh")return ept(e);return $Zt(e)};var tpt=()=>"Manage your team's media transcoding configurations.",rpt=()=>"管理团队的媒体转码配置。",eA=(e={},r={})=>{if((d??r.locale??n())==="zh")return rpt(e);return tpt(e)};var opt=()=>"Transcode Settings",apt=()=>"转码设置",U1=(e={},r={})=>{if((d??r.locale??n())==="zh")return apt(e);return opt(e)};var npt=()=>"Strategy: We select the best resolution from your list that supports the input quality. Content is never upscaled.",ipt=()=>"策略:我们会从您的列表中选择支持输入质量的最佳分辨率。内容不会被放大。",z1=(e={},r={})=>{if((d??r.locale??n())==="zh")return ipt(e);return npt(e)};var fpt=()=>"Trash emptied successfully",spt=()=>"回收站已清空",j1=(e={},r={})=>{if((d??r.locale??n())==="zh")return spt(e);return fpt(e)};var lpt=(e)=>`Try adjusting your search for "${e?.query}"`,cpt=(e)=>`请尝试调整搜索 "${e?.query}"`,q1=(e,r={})=>{if((d??r.locale??n())==="zh")return cpt(e);return lpt(e)};var upt=()=>"Try adjusting spelling or removing filter rows.",dpt=()=>"请尝试调整拼写或移除筛选条件。",H1=(e={},r={})=>{if((d??r.locale??n())==="zh")return dpt(e);return upt(e)};var Zpt=()=>"Type a message...",ppt=()=>"输入消息...",$1=(e={},r={})=>{if((d??r.locale??n())==="zh")return ppt(e);return Zpt(e)};var mpt=()=>"Type **delete** to confirm:",hpt=()=>"输入 **delete** 以确认:",G1=(e={},r={})=>{if((d??r.locale??n())==="zh")return hpt(e);return mpt(e)};var gpt=()=>"Type:",Mpt=()=>"类型:",V1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mpt(e);return gpt(e)};var vpt=()=>"Type your query above and click the Search button to display results.",xpt=()=>"在上方输入查询内容并点击搜索按钮以显示结果。",Q1=(e={},r={})=>{if((d??r.locale??n())==="zh")return xpt(e);return vpt(e)};var ypt=()=>"Unassigned",bpt=()=>"未指派",hs=(e={},r={})=>{if((d??r.locale??n())==="zh")return bpt(e);return ypt(e)};var _pt=()=>"Unknown",wpt=()=>"未知",gn=(e={},r={})=>{if((d??r.locale??n())==="zh")return wpt(e);return _pt(e)};var zpt=()=>"unknown asset",Spt=()=>"未知资源",Lpt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Spt(e);return zpt(e)};var kpt=()=>"Unknown Date",Cpt=()=>"未知日期",Ipt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cpt(e);return kpt(e)};var Rpt=()=>"unknown project",Ppt=()=>"未知项目",Tpt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ppt(e);return Rpt(e)};var Apt=()=>"unknown task",Ept=()=>"未知任务",Dpt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ept(e);return Apt(e)};var Opt=()=>"unknown team",jpt=()=>"未知团队",Npt=(e={},r={})=>{if((d??r.locale??n())==="zh")return jpt(e);return Opt(e)};var Fpt=()=>"Unknown User",Bpt=()=>"未知用户",Tl=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bpt(e);return Fpt(e)};var Ypt=()=>"Unlink Asset",Upt=()=>"取消关联资产",qpt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Upt(e);return Ypt(e)};var Vpt=()=>"Unlink Task",Hpt=()=>"取消关联",Wpt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hpt(e);return Vpt(e)};var Gpt=()=>"Unread",Kpt=()=>"未读",Xpt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kpt(e);return Gpt(e)};var Qpt=()=>"Untitled Collection",Jpt=()=>"未命名媒体合集",tA=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jpt(e);return Qpt(e)};var $pt=()=>"Untitled Session",emt=()=>"未命名会话",Fp=(e={},r={})=>{if((d??r.locale??n())==="zh")return emt(e);return $pt(e)};var tmt=()=>"Untitled Upload",rmt=()=>"未命名上传",omt=(e={},r={})=>{if((d??r.locale??n())==="zh")return rmt(e);return tmt(e)};var amt=()=>"Updated",nmt=()=>"更新于",K1=(e={},r={})=>{if((d??r.locale??n())==="zh")return nmt(e);return amt(e)};var imt=()=>"Updated",fmt=()=>"更新于",rA=(e={},r={})=>{if((d??r.locale??n())==="zh")return fmt(e);return imt(e)};var smt=()=>"Upload",lmt=()=>"上传",W1=(e={},r={})=>{if((d??r.locale??n())==="zh")return lmt(e);return smt(e)};var cmt=()=>"Upload cover",umt=()=>"上传封面",Y1=(e={},r={})=>{if((d??r.locale??n())==="zh")return umt(e);return cmt(e)};var dmt=()=>"Drag and drop, or browse. Recommended 1:1 (400×400px).",Zmt=()=>"拖放或浏览文件。推荐比例 1:1(400×400像素)。",J1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zmt(e);return dmt(e)};var pmt=()=>"Upload File",mmt=()=>"上传文件",Lp=(e={},r={})=>{if((d??r.locale??n())==="zh")return mmt(e);return pmt(e)};var hmt=()=>"Upload Folder",gmt=()=>"上传文件夹",Zp=(e={},r={})=>{if((d??r.locale??n())==="zh")return gmt(e);return hmt(e)};var Mmt=()=>"Upload Image",vmt=()=>"上传图片",Bp=(e={},r={})=>{if((d??r.locale??n())==="zh")return vmt(e);return Mmt(e)};var xmt=()=>"Upload Watermark Image",ymt=()=>"上传水印图片",X1=(e={},r={})=>{if((d??r.locale??n())==="zh")return ymt(e);return xmt(e)};var bmt=()=>"Drag and drop, or browse. Max 1MB.",_mt=()=>"拖放或浏览文件。最大 1MB。",eI=(e={},r={})=>{if((d??r.locale??n())==="zh")return _mt(e);return bmt(e)};var wmt=()=>"Uploading...",zmt=()=>"上传中...",Up=(e={},r={})=>{if((d??r.locale??n())==="zh")return zmt(e);return wmt(e)};var Smt=()=>"Uploading",Lmt=()=>"上传中",kmt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lmt(e);return Smt(e)};var Cmt=()=>"Uploads",Imt=()=>"上传管理",Rmt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Imt(e);return Cmt(e)};var Pmt=()=>"Usage",Tmt=()=>"用量",tI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tmt(e);return Pmt(e)};var Amt=()=>"User",Emt=()=>"用户",rI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Emt(e);return Amt(e)};var Dmt=(e)=>`${e?.user} via ${e?.agent}`,Omt=(e)=>`${e?.user} 通过 ${e?.agent}`,$c=(e,r={})=>{if((d??r.locale??n())==="zh")return Omt(e);return Dmt(e)};var jmt=()=>"Variable Name",Nmt=()=>"变量名称",nI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nmt(e);return jmt(e)};var Fmt=(e)=>`Version ${e?.version}`,Bmt=(e)=>`版本 ${e?.version}`,Ymt=(e,r={})=>{if((d??r.locale??n())==="zh")return Bmt(e);return Fmt(e)};var Umt=()=>"Version removed from stack",qmt=()=>"已从版本堆栈中移除版本",Vmt=(e={},r={})=>{if((d??r.locale??n())==="zh")return qmt(e);return Umt(e)};var Hmt=()=>"Version order updated",Wmt=()=>"版本顺序已更新",Gmt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wmt(e);return Hmt(e)};var Kmt=(e)=>`${e?.count} enabled`,Xmt=(e)=>`${e?.count} 个已启用`,oI=(e,r={})=>{if((d??r.locale??n())==="zh")return Xmt(e);return Kmt(e)};var Qmt=()=>"Video Strategy",Jmt=()=>"视频策略",sI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jmt(e);return Qmt(e)};var $mt=(e)=>`(${e?.count} visible)`,eht=(e)=>`(${e?.count} 个可见)`,aI=(e,r={})=>{if((d??r.locale??n())==="zh")return eht(e);return $mt(e)};var tht=()=>"Watermark",rht=()=>"水印",nA=(e={},r={})=>{if((d??r.locale??n())==="zh")return rht(e);return tht(e)};var oht=()=>"Watermark disabled",aht=()=>"水印已禁用",iI=(e={},r={})=>{if((d??r.locale??n())==="zh")return aht(e);return oht(e)};var nht=()=>"Watermark Editor",iht=()=>"水印编辑器",lI=(e={},r={})=>{if((d??r.locale??n())==="zh")return iht(e);return nht(e)};var fht=()=>"Templates",sht=()=>"水印模板",cI=(e={},r={})=>{if((d??r.locale??n())==="zh")return sht(e);return fht(e)};var lht=()=>"Transcoding watermark media...",cht=()=>"水印媒体转码处理中...",uI=(e={},r={})=>{if((d??r.locale??n())==="zh")return cht(e);return lht(e)};var uht=()=>"Watermark updated successfully",dht=()=>"水印更新成功",dI=(e={},r={})=>{if((d??r.locale??n())==="zh")return dht(e);return uht(e)};var Zht=()=>"Welcome Back",pht=()=>"欢迎回来",mht=(e={},r={})=>{if((d??r.locale??n())==="zh")return pht(e);return Zht(e)};var hht=()=>"When someone comments on a task",ght=()=>"当有人在任务中发表评论时",fI=(e={},r={})=>{if((d??r.locale??n())==="zh")return ght(e);return hht(e)};var Mht=()=>"When tasks are created, assigned, updated, or deleted",vht=()=>"当任务被创建、分配、更新或删除时",pI=(e={},r={})=>{if((d??r.locale??n())==="zh")return vht(e);return Mht(e)};var xht=()=>"When other users upload assets",yht=()=>"当其他用户上传素材时",mI=(e={},r={})=>{if((d??r.locale??n())==="zh")return yht(e);return xht(e)};var bht=()=>"When someone changes an asset's status",_ht=()=>"当有人更改素材的状态时",hI=(e={},r={})=>{if((d??r.locale??n())==="zh")return _ht(e);return bht(e)};var wht=()=>"When someone comments on an asset",zht=()=>"当有人评论素材时",gI=(e={},r={})=>{if((d??r.locale??n())==="zh")return zht(e);return wht(e)};var Sht=()=>"When someone @mentions you in a comment",Lht=()=>"当有人在评论中 @提及你时",AI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lht(e);return Sht(e)};var kht=()=>"When someone replies to your comment",Cht=()=>"当有人回复你的评论时",_I=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cht(e);return kht(e)};var Iht=()=>"When you upload assets",Rht=()=>"当你上传素材时",yI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rht(e);return Iht(e)};var Pht=()=>"Yesterday",Tht=()=>"昨天",Hfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tht(e);return Pht(e)};var Aht=(e)=>`Yesterday ${e?.time}`,Eht=(e)=>`昨天 ${e?.time}`,Dht=(e,r={})=>{if((d??r.locale??n())==="zh")return Eht(e);return Aht(e)};var Oht=()=>"Your Uploads",jht=()=>"你的上传",bI=(e={},r={})=>{if((d??r.locale??n())==="zh")return jht(e);return Oht(e)};var Nht=()=>"Zoom In",Fht=()=>"放大",zp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fht(e);return Nht(e)};var Bht=()=>"Zoom Out",Yht=()=>"缩小",jp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yht(e);return Bht(e)};var Uht=(e)=>o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[t("path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"}),t("path",{d:"M9 18c-4.51 2-5-2-7-2"})]});function Wfe(){let{clearAuth:e}=cf(),r=ms(),a=(g)=>{if(!g)return"";switch(g.toLowerCase()){case"owner":return Uc();case"editor":return Ls();case"reviewer":return Bs();default:return g}},{data:i}=L({queryKey:["teams",r,"me"],queryFn:async()=>{let g=await A.api.teams[":teamId"].me.$get({param:{teamId:r}});if(!g.ok)throw Error("Failed to fetch me");return await g.json()},enabled:!!r}),{setTheme:f,theme:s}=Aee(),l=Me(),c=async()=>{await sfe(),e(),l({to:"/login"})},m=(g)=>{if(!g)return"U";let M=g.split(" ");if(M.length>1)return`${M[0][0]}${M[M.length-1][0]}`.toUpperCase();return g.substring(0,2).toUpperCase()};return o(he,{children:[t(ge,{asChild:!0,children:o(Ce,{className:"rounded-lg w-10 h-10 cursor-pointer",children:[i?.image&&t(Ie,{src:i.image,alt:i.name,className:"object-cover rounded-lg w-10 h-10"}),t(Te,{className:"rounded-lg bg-primary/40 text-foreground",children:m(i?.name)})]})}),o(Ae,{className:"w-56",align:"end",forceMount:!0,children:[i&&o(Z,{children:[t(Vr,{className:"font-normal",children:o("div",{className:"flex flex-col space-y-1",children:[t("p",{className:"text-sm font-medium leading-none",children:i.name}),t("p",{className:"text-xs leading-none text-muted-foreground",children:a(i.role)})]})}),t(Vt,{})]}),o(ds,{children:[t(fs,{children:lZt()}),t(Ja,{children:o(ps,{children:[o(W,{className:"justify-between flex items-center",onClick:()=>f("light"),children:[t("span",{children:_Ve()}),s==="light"&&t(ke,{className:"size-4"})]}),o(W,{className:"justify-between flex items-center",onClick:()=>f("dark"),children:[t("span",{children:V4e()}),s==="dark"&&t(ke,{className:"size-4"})]}),o(W,{className:"justify-between flex items-center",onClick:()=>f("system"),children:[t("span",{children:pdt()}),s==="system"&&t(ke,{className:"size-4"})]})]})})]}),t(Vt,{}),t(W,{onClick:()=>l({to:"/teams/$teamId/settings",params:{teamId:r}}),disabled:!r,children:Sp()}),t(Vt,{}),t(W,{className:"text-red-500 focus:text-red-500",onClick:c,children:KVe()}),t(Vt,{}),o(W,{className:"text-xs text-muted-foreground flex items-center gap-2 cursor-pointer focus:bg-accent focus:text-accent-foreground justify-center bg-accent border",onClick:()=>window.open("https://github.com/shumaiOne/shumai","_blank","noopener,noreferrer"),children:[t(Uht,{className:"size-3.5"}),t("span",{children:Ymt({version:lfe})})]})]})]})}var Kz=()=>null,Gfe=({children:e,hideMobileButton:r=!1,defaultMobileContent:a})=>{let{isMobileMenuOpen:i,activeItem:f,setActiveItem:s,toggleMobileMenu:l,closeMobileMenu:c}=Hk(),m=tz({select:(j)=>j.location.pathname}),g=D(()=>tc.toArray(e).filter((j)=>os(j)&&j.type===Kz),[e]),M=b(m);h(()=>{if(M.current!==m)M.current=m,c()},[m,c]);let v=f!==null?g[f]?.props:null,y=v??(i?a:null),x=Boolean(v||i&&a),_=(j)=>{let U=g[j];if(!U.props.children){s(null),U.props.onItemClick?.();return}if(f===j)s(null);else{if(U&&U.props.onItemClick)U.props.onItemClick();s(j)}};return o(Z,{children:[!r&&t(E,{variant:"ghost",size:"icon",onClick:l,className:"md:hidden fixed top-4 left-4 z-50 rounded-md bg-sidebar/50 backdrop-blur-sm text-sidebar-foreground focus:outline-none focus-visible:ring-2 focus-visible:ring-sidebar-ring","aria-label":"Open navigation menu","aria-expanded":i,children:t(KZ,{})}),i&&t("div",{onClick:c,className:"fixed inset-0 bg-black/60 z-30 md:hidden","aria-hidden":"true"}),f!==null&&t("div",{onClick:()=>s(null),className:"hidden md:block fixed inset-0 bg-black/20 z-30","aria-hidden":"true"}),o("aside",{className:`fixed inset-y-0 left-0 z-40 flex transition-transform duration-300 ease-in-out ${i?"translate-x-0":"-translate-x-full"} md:translate-x-0`,children:[t("div",{className:"absolute bottom-0 w-full h-[70dvh] bg-linear-to-t from-sidebar-primary/10 to-transparent"}),o("nav",{className:"w-16 bg-card border-r border-sidebar-border flex flex-col items-center pb-4 pt-0 space-y-2 flex-shrink-0",children:[t("div",{className:"flex-1 w-full flex flex-col items-center gap-5 pt-1",children:t(fn,{children:g.map((j,U)=>{let T=Boolean(j.props.active||f===U);return o(pn,{children:[t(mn,{asChild:!0,children:o(E,{variant:"ghost",size:"icon-lg",onClick:()=>_(U),"aria-label":j.props.label,"aria-expanded":f===U,className:`relative w-12 h-12 [&_svg:not([class*='size-'])]:size-6 transition-colors duration-200 ${T?"text-sidebar-primary hover:bg-sidebar-accent hover:text-sidebar-primary":"text-sidebar-foreground/60 hover:text-sidebar-foreground hover:bg-sidebar-accent"}`,children:[j.props.icon,j.props.badge]})}),t(hn,{side:"right",children:t("p",{children:j.props.label})})]},j.props.label)})})}),t("div",{className:"mt-auto w-full flex flex-col items-center pb-2",children:t(Wfe,{})})]}),t("div",{className:C("transition-all duration-300 ease-in-out bg-sidebar/95 backdrop-blur-sm shadow-lg overflow-hidden",x?"w-[calc(100vw-4rem)] border-r border-sidebar-border":"w-0",v?"md:w-100 md:border-r md:border-sidebar-border":"md:w-0 md:border-r-0"),children:t("div",{className:"w-[calc(100vw-4rem)] md:w-100 h-full flex flex-col",children:y&&o(Z,{children:[o("header",{className:"h-16 flex items-center justify-between px-4 font-bold text-lg border-b border-sidebar-border flex-shrink-0",children:[t("h2",{className:"truncate",children:y.label}),t(E,{variant:"ghost",size:"icon",onClick:c,className:"h-8 w-8 text-sidebar-foreground hover:bg-sidebar-accent","aria-label":"Close navigation menu",children:t(Re,{className:"h-5 w-5"})})]}),t("div",{className:"flex-1 overflow-y-auto p-2",children:y.children})]})})})]})]})};function Je({...e}){return t(_Le,{"data-slot":"alert-dialog",...e})}function qht({...e}){return t(wLe,{"data-slot":"alert-dialog-portal",...e})}function Vht({className:e,...r}){return t(zLe,{"data-slot":"alert-dialog-overlay",className:C("fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",e),...r})}function Xe({className:e,size:r="default",...a}){return o(qht,{children:[t(Vht,{}),t(SLe,{"data-slot":"alert-dialog-content","data-size":r,className:C("group/alert-dialog-content 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 bg-background p-6 shadow-lg duration-200 data-[size=sm]:max-w-xs data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[size=default]:sm:max-w-lg",e),...a})]})}function et({className:e,...r}){return t("div",{"data-slot":"alert-dialog-header",className:C("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-6 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...r})}function tt({className:e,...r}){return t("div",{"data-slot":"alert-dialog-footer",className:C("flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...r})}function rt({className:e,...r}){return t(CLe,{"data-slot":"alert-dialog-title",className:C("text-lg font-semibold sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...r})}function nt({className:e,...r}){return t(ILe,{"data-slot":"alert-dialog-description",className:C("text-sm text-muted-foreground",e),...r})}function ot({className:e,variant:r="default",size:a="default",...i}){return t(E,{variant:r,size:a,asChild:!0,children:t(LLe,{"data-slot":"alert-dialog-action",className:C(e),...i})})}function st({className:e,variant:r="outline",size:a="default",...i}){return t(E,{variant:r,size:a,asChild:!0,children:t(kLe,{"data-slot":"alert-dialog-cancel",className:C(e),...i})})}function ue({...e}){return t(l7,{"data-slot":"dialog",...e})}function oA({...e}){return t(c7,{"data-slot":"dialog-trigger",...e})}function Hht({...e}){return t(u7,{"data-slot":"dialog-portal",...e})}function Wht({className:e,...r}){return t(d7,{"data-slot":"dialog-overlay",className:C("fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",e),...r})}function ie({className:e,children:r,showCloseButton:a=!0,...i}){return o(Hht,{"data-slot":"dialog-portal",children:[t(Wht,{}),o(Z7,{"data-slot":"dialog-content",className:C("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 bg-background p-6 shadow-lg duration-200 outline-none data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:max-w-lg",e),...i,children:[r,a&&o(yT,{"data-slot":"dialog-close",className:"absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[t(Re,{}),t("span",{className:"sr-only",children:"Close"})]})]})]})}function me({className:e,...r}){return t("div",{"data-slot":"dialog-header",className:C("flex flex-col gap-2 text-center sm:text-left",e),...r})}function Ge({className:e,showCloseButton:r=!1,children:a,...i}){return o("div",{"data-slot":"dialog-footer",className:C("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...i,children:[a,r&&t(yT,{asChild:!0,children:t(E,{variant:"outline",children:"Close"})})]})}function le({className:e,...r}){return t(p7,{"data-slot":"dialog-title",className:C("text-lg leading-none font-semibold",e),...r})}function Tt({className:e,...r}){return t(m7,{"data-slot":"dialog-description",className:C("text-sm text-muted-foreground",e),...r})}function H({className:e,type:r,...a}){return t("input",{type:r,"data-slot":"input",className:C("h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30","focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50","aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",e),...a})}function ce({className:e,children:r,...a}){return o(sIe,{"data-slot":"scroll-area",className:C("relative",e),...a,children:[t(lIe,{"data-slot":"scroll-area-viewport",className:"size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1",children:r}),t(FN,{}),t(cIe,{})]})}function FN({className:e,orientation:r="vertical",...a}){return t(QCe,{"data-slot":"scroll-area-scrollbar",orientation:r,className:C("flex touch-none p-px transition-colors select-none",r==="vertical"&&"h-full w-2.5 border-l border-l-transparent",r==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent",e),...a,children:t(oIe,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-border"})})}var lt=Mr()(Vk((e,r)=>({teamId:null,projectTeamMap:{},setTeamId:(a)=>e({teamId:a}),ensureTeamIdForProject:async(a)=>{let i=r();if(i.projectTeamMap[a]){let f=i.projectTeamMap[a];if(i.teamId!==f)e({teamId:f});return f}try{let f=await A.api.projects[":projectId"].team.$get({param:{projectId:a}});if(!f.ok)throw Error("failed to fetch project team");let s=await f.json();if(s&&s.teamId)return e((l)=>({teamId:s.teamId,projectTeamMap:{...l.projectTeamMap,[a]:s.teamId}})),s.teamId}catch(f){console.error("Failed to fetch team ID for project",a,f)}return null}}),{name:"team-context-storage",storage:Sz(()=>localStorage)}));S();function Pt(e){let r=lt((i)=>i.teamId),{data:a}=L({queryKey:e?["projects",e,"me"]:["teams",r,"me"],queryFn:async()=>{if(e){let i=await A.api.projects[":projectId"].me.$get({param:{projectId:e}});if(!i.ok)throw Error("Failed to fetch project me");return await i.json()}else{if(!r)return null;let i=await A.api.teams[":teamId"].me.$get({param:{teamId:r}});if(!i.ok)throw Error("Failed to fetch team me");return await i.json()}},enabled:e?!!e:!!r});return D(()=>({role:a?.role,canEdit:a?.role==="owner"||a?.role==="editor",canAdmin:a?.role==="owner"}),[a?.role])}S();var Ght=Symbol.for("preact-signals");function qN(){if(!(pm>1)){var e,r=!1;(function(){var f=YN;YN=void 0;while(f!==void 0){var s=f.S;if(s.v===f.v){for(var l=s.t;l!==void 0;l=l.x)if(l.i===f.i)l.i=s.i}f=f.o}})();while(VT!==void 0){var a=VT;VT=void 0,BN++;while(a!==void 0){var i=a.u;if(a.u=void 0,a.f&=-3,!(8&a.f)&&Xfe(a))try{a.c()}catch(f){if(!r)e=f,r=!0}a=i}}if(BN=0,pm--,r)throw e}else pm--}function Jo(e){if(pm>0)return e();BU=++Kht,pm++;try{return e()}finally{qN()}}var qT,sn=void 0;function po(e){var r=sn,a=qT;sn=void 0,qT=void 0;try{return e()}finally{sn=r,qT=a}}var VT=void 0,pm=0,BN=0,Kht=0,BU=0,YN=void 0,UN=0;function Kfe(e){if(sn!==void 0){var r=e.n;if(r===void 0||r.t!==sn){if(r={i:0,S:e,p:sn.s,n:void 0,t:sn,e:void 0,x:void 0,r},sn.s!==void 0)sn.s.n=r;if(sn.s=r,e.n=r,32&sn.f)e.S(r);return r}else if(r.i===-1){if(r.i=0,r.n!==void 0){if(r.n.p=r.p,r.p!==void 0)r.p.n=r.n;r.p=sn.s,r.n=void 0,sn.s.n=r,sn.s=r}return r}}}function uf(e,r){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=r==null?void 0:r.watched,this.Z=r==null?void 0:r.unwatched,this.name=r==null?void 0:r.name}uf.prototype.brand=Ght;uf.prototype.h=function(){return!0};uf.prototype.S=function(e){var r=this,a=this.t;if(a!==e&&e.e===void 0)if(e.x=a,this.t=e,a!==void 0)a.e=e;else po(function(){var i;(i=r.W)==null||i.call(r)})};uf.prototype.U=function(e){var r=this;if(this.t!==void 0){var{e:a,x:i}=e;if(a!==void 0)a.x=i,e.e=void 0;if(i!==void 0)i.e=a,e.x=void 0;if(e===this.t){if(this.t=i,i===void 0)po(function(){var f;(f=r.Z)==null||f.call(r)})}}};uf.prototype.subscribe=function(e){var r=this;return gi(function(){var a=r.value;po(function(){return e(a)})},{name:"sub"})};uf.prototype.valueOf=function(){return this.value};uf.prototype.toString=function(){return this.value+""};uf.prototype.toJSON=function(){return this.value};uf.prototype.peek=function(){var e=this;return po(function(){return e.value})};Object.defineProperty(uf.prototype,"value",{get:function(){var e=Kfe(this);if(e!==void 0)e.i=this.i;return this.v},set:function(e){if(e!==this.v){if(BN>100)throw Error("Cycle detected");(function(a){if(pm!==0&&BN===0){if(a.l!==BU)a.l=BU,YN={S:a,v:a.v,i:a.i,o:YN}}})(this),this.v=e,this.i++,UN++,pm++;try{for(var r=this.t;r!==void 0;r=r.x)r.t.N()}finally{qN()}}}});function dZ(e,r){return new uf(e,r)}function Xfe(e){for(var r=e.s;r!==void 0;r=r.n)if(r.S.i!==r.i||!r.S.h()||r.S.i!==r.i)return!0;return!1}function Qfe(e){for(var r=e.s;r!==void 0;r=r.n){var a=r.S.n;if(a!==void 0)r.r=a;if(r.S.n=r,r.i=-1,r.n===void 0){e.s=r;break}}}function Jfe(e){var r=e.s,a=void 0;while(r!==void 0){var i=r.p;if(r.i===-1){if(r.S.U(r),i!==void 0)i.n=r.n;if(r.n!==void 0)r.n.p=i}else a=r;if(r.S.n=r.r,r.r!==void 0)r.r=void 0;r=i}e.s=a}function Xz(e,r){uf.call(this,void 0,r),this.x=e,this.s=void 0,this.g=UN-1,this.f=4}Xz.prototype=new uf;Xz.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32)return!0;if(this.f&=-5,this.g===UN)return!0;if(this.g=UN,this.f|=1,this.i>0&&!Xfe(this))return this.f&=-2,!0;var e=sn;try{Qfe(this),sn=this;var r=this.x();if(16&this.f||this.v!==r||this.i===0)this.v=r,this.f&=-17,this.i++}catch(a){this.v=a,this.f|=16,this.i++}return sn=e,Jfe(this),this.f&=-2,!0};Xz.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var r=this.s;r!==void 0;r=r.n)r.S.S(r)}uf.prototype.S.call(this,e)};Xz.prototype.U=function(e){if(this.t!==void 0){if(uf.prototype.U.call(this,e),this.t===void 0){this.f&=-33;for(var r=this.s;r!==void 0;r=r.n)r.S.U(r)}}};Xz.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}};Object.defineProperty(Xz.prototype,"value",{get:function(){if(1&this.f)throw Error("Cycle detected");var e=Kfe(this);if(this.h(),e!==void 0)e.i=this.i;if(16&this.f)throw this.v;return this.v}});function YU(e,r){return new Xz(e,r)}function $fe(e){var r=e.m;if(e.m=void 0,typeof r=="function"){pm++;var a=sn;sn=void 0;try{r()}catch(i){throw e.f&=-2,e.f|=8,UU(e),i}finally{sn=a,qN()}}}function UU(e){for(var r=e.s;r!==void 0;r=r.n)r.S.U(r);e.x=void 0,e.s=void 0,$fe(e)}function Xht(e){if(sn!==this)throw Error("Out-of-order effect");if(Jfe(this),sn=e,this.f&=-2,8&this.f)UU(this);qN()}function CI(e,r){if(this.x=e,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=r==null?void 0:r.name,qT)qT.push(this)}CI.prototype.c=function(){var e=this.S();try{if(8&this.f)return;if(this.x===void 0)return;var r=this.x();if(typeof r=="function")this.m=r}finally{e()}};CI.prototype.S=function(){if(1&this.f)throw Error("Cycle detected");this.f|=1,this.f&=-9,$fe(this),Qfe(this),pm++;var e=sn;return sn=this,Xht.bind(this,e)};CI.prototype.N=function(){if(!(2&this.f))this.f|=2,this.u=VT,VT=this};CI.prototype.d=function(){if(this.f|=8,!(1&this.f))UU(this)};CI.prototype.dispose=function(){this.d()};function gi(e,r){var a=new CI(e,r);try{a.c()}catch(f){throw a.d(),f}var i=a.d.bind(a);return i[Symbol.dispose]=i,i}var{create:Qht,defineProperty:eq,defineProperties:Jht,getOwnPropertyDescriptor:$ht,getOwnPropertyDescriptors:egt,getOwnPropertySymbols:ese}=Object,tgt=Object.prototype.hasOwnProperty,rgt=Object.prototype.propertyIsEnumerable,rse=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),II=(e)=>{throw TypeError(e)},GU=(e,r,a)=>(r in e)?eq(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,ogt=(e,r)=>{for(var a in r||(r={}))if(tgt.call(r,a))GU(e,a,r[a]);if(ese){for(var a of ese(r))if(rgt.call(r,a))GU(e,a,r[a])}return e},agt=(e,r)=>Jht(e,egt(r)),tse=(e,r)=>eq(e,"name",{value:r,configurable:!0}),ngt=(e)=>{var r;return[,,,Qht((r=e==null?void 0:e[rse("metadata")])!=null?r:null)]},ose=["class","method","getter","setter","accessor","field","value","get","set"],HT=(e)=>e!==void 0&&typeof e!=="function"?II("Function expected"):e,igt=(e,r,a,i,f)=>({kind:ose[e],name:r,metadata:i,addInitializer:(s)=>a._?II("Already initialized"):f.push(HT(s||null))}),ase=(e,r)=>GU(r,rse("metadata"),e[3]),Qz=(e,r,a,i)=>{for(var f=0,s=e[r>>1],l=s&&s.length;f<l;f++)r&1?s[f].call(a):i=s[f].call(a,i);return i},RI=(e,r,a,i,f,s)=>{var l,c,m,g,M,v=r&7,y=!!(r&8),x=!!(r&16),_=v>3?e.length+1:v?y?1:2:0,j=ose[v+5],U=v>3&&(e[_-1]=[]),T=e[_]||(e[_]=[]),N=v&&(!x&&!y&&(f=f.prototype),v<5&&(v>3||!x)&&$ht(v<4?f:{get[a](){return yc(this,s)},set[a](X){return v8(this,s,X)}},a));v?x&&v<4&&tse(s,(v>2?"set ":v>1?"get ":"")+a):tse(f,a);for(var G=i.length-1;G>=0;G--){if(g=igt(v,a,m={},e[3],T),v){if(g.static=y,g.private=x,M=g.access={has:x?(X)=>fgt(f,X):(X)=>(a in X)},v^3)M.get=x?(X)=>(v^1?yc:sgt)(X,f,v^4?s:N.get):(X)=>X[a];if(v>2)M.set=x?(X,J)=>v8(X,f,J,v^4?s:N.set):(X,J)=>X[a]=J}if(c=(0,i[G])(v?v<4?x?s:N[j]:v>4?void 0:{get:N.get,set:N.set}:f,g),m._=1,v^4||c===void 0)HT(c)&&(v>4?U.unshift(c):v?x?s=c:N[j]=c:f=c);else if(typeof c!=="object"||c===null)II("Object expected");else HT(l=c.get)&&(N.get=l),HT(l=c.set)&&(N.set=l),HT(l=c.init)&&U.unshift(l)}return v||ase(e,f),N&&eq(f,a,N),x?v^4?s:N:f},tq=(e,r,a)=>r.has(e)||II("Cannot "+a),fgt=(e,r)=>Object(r)!==r?II('Cannot use the "in" operator on this value'):e.has(r),yc=(e,r,a)=>(tq(e,r,"read from private field"),a?a.call(e):r.get(e)),WT=(e,r,a)=>r.has(e)?II("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),v8=(e,r,a,i)=>(tq(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),sgt=(e,r,a)=>(tq(e,r,"access private method"),a);function PI(e,r){if(r){let a;return YU(()=>{let i=e();if(i&&a&&r(a,i))return a;return a=i,i})}return YU(e)}function Ji(e,r){if(Object.is(e,r))return!0;if(e===null||r===null)return!1;if(typeof e==="function"&&typeof r==="function")return e===r;if(e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(let a of e)if(!r.has(a))return!1;return!0}if(Array.isArray(e)){if(!Array.isArray(r)||e.length!==r.length)return!1;return!e.some((i,f)=>!Ji(i,r[f]))}if(typeof e==="object"&&typeof r==="object"){let a=Object.keys(e),i=Object.keys(r);if(a.length!==i.length)return!1;return!a.some((s)=>!Ji(e[s],r[s]))}return!1}function ko({get:e},r){return{init(a){return dZ(a)},get(){return e.call(this).value},set(a){let i=e.call(this);if(i.peek()===a)return;i.value=a}}}function qa(e,r){let a=new WeakMap;return function(){let i=a.get(this);if(!i)i=PI(e.bind(this)),a.set(this,i);return i.value}}function qU(e=!0){return function(r,a){a.addInitializer(function(){let i=a.kind==="field"?this:a.static?this:Object.getPrototypeOf(this),f=Object.getOwnPropertyDescriptor(i,a.name);if(f)Object.defineProperty(i,a.name,agt(ogt({},f),{enumerable:e}))})}}function $z(...e){let r=e.map((a)=>gi(a));return()=>r.forEach((a)=>a())}var nse,ise,fse,sse,lse,cse,cs,rq,VU,KU,XU,df,oq,HU,use,QU,aq,WU,JU,$U;cse=[ko],lse=[ko],sse=[ko],fse=[qU()],ise=[qU()],nse=[qU()];var ZZ=class{constructor(e,r=Object.is){this.defaultValue=e,this.equals=r,Qz(cs,5,this),WT(this,df),WT(this,rq,Qz(cs,8,this)),Qz(cs,11,this),WT(this,oq,Qz(cs,12,this)),Qz(cs,15,this),WT(this,aq,Qz(cs,16,this)),Qz(cs,19,this),this.reset=this.reset.bind(this),this.reset()}get current(){return yc(this,df,JU)}get initial(){return yc(this,df,KU)}get previous(){return yc(this,df,use)}set current(e){let r=po(()=>yc(this,df,JU));if(e&&r&&this.equals(r,e))return;Jo(()=>{if(!yc(this,df,KU))v8(this,df,e,XU);v8(this,df,r,QU),v8(this,df,e,$U)})}reset(e=this.defaultValue){Jo(()=>{v8(this,df,void 0,QU),v8(this,df,e,XU),v8(this,df,e,$U)})}};cs=ngt(null);rq=new WeakMap;df=new WeakSet;oq=new WeakMap;aq=new WeakMap;VU=RI(cs,20,"#initial",cse,df,rq),KU=VU.get,XU=VU.set;HU=RI(cs,20,"#previous",lse,df,oq),use=HU.get,QU=HU.set;WU=RI(cs,20,"#current",sse,df,aq),JU=WU.get,$U=WU.set;RI(cs,2,"current",fse,ZZ);RI(cs,2,"initial",ise,ZZ);RI(cs,2,"previous",nse,ZZ);ase(cs,ZZ);function VN(e){return po(()=>{let r={};for(let a in e)r[a]=e[a];return r})}var Jz,dse=class{constructor(){WT(this,Jz,new WeakMap)}get(e,r){var a;return e?(a=yc(this,Jz).get(e))==null?void 0:a.get(r):void 0}set(e,r,a){var i;if(!e)return;if(!yc(this,Jz).has(e))yc(this,Jz).set(e,new Map);return(i=yc(this,Jz).get(e))==null?void 0:i.set(r,a)}clear(e){var r;return e?(r=yc(this,Jz).get(e))==null?void 0:r.clear():void 0}};Jz=new WeakMap;var{create:lgt,defineProperty:lq,getOwnPropertyDescriptor:cgt,getOwnPropertySymbols:Zse}=Object,ugt=Object.prototype.hasOwnProperty,dgt=Object.prototype.propertyIsEnumerable,hse=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),TI=(e)=>{throw TypeError(e)},pse=Math.pow,nq=(e,r,a)=>(r in e)?lq(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,Zgt=(e,r)=>{for(var a in r||(r={}))if(ugt.call(r,a))nq(e,a,r[a]);if(Zse){for(var a of Zse(r))if(dgt.call(r,a))nq(e,a,r[a])}return e},mse=(e,r)=>lq(e,"name",{value:r,configurable:!0}),pgt=(e)=>{var r;return[,,,lgt((r=e==null?void 0:e[hse("metadata")])!=null?r:null)]},gse=["class","method","getter","setter","accessor","field","value","get","set"],GT=(e)=>e!==void 0&&typeof e!=="function"?TI("Function expected"):e,mgt=(e,r,a,i,f)=>({kind:gse[e],name:r,metadata:i,addInitializer:(s)=>a._?TI("Already initialized"):f.push(GT(s||null))}),Mse=(e,r)=>nq(r,hse("metadata"),e[3]),hgt=(e,r,a,i)=>{for(var f=0,s=e[r>>1],l=s&&s.length;f<l;f++)r&1?s[f].call(a):i=s[f].call(a,i);return i},vse=(e,r,a,i,f,s)=>{var l,c,m,g,M,v=r&7,y=!!(r&8),x=!!(r&16),_=v>3?e.length+1:v?y?1:2:0,j=gse[v+5],U=v>3&&(e[_-1]=[]),T=e[_]||(e[_]=[]),N=v&&(!x&&!y&&(f=f.prototype),v<5&&(v>3||!x)&&cgt(v<4?f:{get[a](){return iq(this,s)},set[a](X){return fq(this,s,X)}},a));v?x&&v<4&&mse(s,(v>2?"set ":v>1?"get ":"")+a):mse(f,a);for(var G=i.length-1;G>=0;G--){if(g=mgt(v,a,m={},e[3],T),v){if(g.static=y,g.private=x,M=g.access={has:x?(X)=>ggt(f,X):(X)=>(a in X)},v^3)M.get=x?(X)=>(v^1?iq:vgt)(X,f,v^4?s:N.get):(X)=>X[a];if(v>2)M.set=x?(X,J)=>fq(X,f,J,v^4?s:N.set):(X,J)=>X[a]=J}if(c=(0,i[G])(v?v<4?x?s:N[j]:v>4?void 0:{get:N.get,set:N.set}:f,g),m._=1,v^4||c===void 0)GT(c)&&(v>4?U.unshift(c):v?x?s=c:N[j]=c:f=c);else if(typeof c!=="object"||c===null)TI("Object expected");else GT(l=c.get)&&(N.get=l),GT(l=c.set)&&(N.set=l),GT(l=c.init)&&U.unshift(l)}return v||Mse(e,f),N&&lq(f,a,N),x?v^4?s:N:f},cq=(e,r,a)=>r.has(e)||TI("Cannot "+a),ggt=(e,r)=>Object(r)!==r?TI('Cannot use the "in" operator on this value'):e.has(r),iq=(e,r,a)=>(cq(e,r,"read from private field"),a?a.call(e):r.get(e)),Mgt=(e,r,a)=>r.has(e)?TI("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),fq=(e,r,a,i)=>(cq(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),vgt=(e,r,a)=>(cq(e,r,"access private method"),a),pf=class e{constructor(r,a){this.x=r,this.y=a}static delta(r,a){return new e(r.x-a.x,r.y-a.y)}static distance(r,a){return Math.hypot(r.x-a.x,r.y-a.y)}static equals(r,a){return r.x===a.x&&r.y===a.y}static from({x:r,y:a}){return new e(r,a)}},Qs=class e{constructor(r,a,i,f){this.left=r,this.top=a,this.width=i,this.height=f,this.scale={x:1,y:1}}get inverseScale(){return{x:1/this.scale.x,y:1/this.scale.y}}translate(r,a){let{top:i,left:f,width:s,height:l,scale:c}=this,m=new e(f+r,i+a,s,l);return m.scale=Zgt({},c),m}get boundingRectangle(){let{width:r,height:a,left:i,top:f,right:s,bottom:l}=this;return{width:r,height:a,left:i,top:f,right:s,bottom:l}}get center(){let{left:r,top:a,right:i,bottom:f}=this;return new pf((r+i)/2,(a+f)/2)}get area(){let{width:r,height:a}=this;return r*a}equals(r){if(!(r instanceof e))return!1;let{left:a,top:i,width:f,height:s}=this;return a===r.left&&i===r.top&&f===r.width&&s===r.height}containsPoint(r){let{top:a,left:i,bottom:f,right:s}=this;return a<=r.y&&r.y<=f&&i<=r.x&&r.x<=s}intersectionArea(r){if(r instanceof e)return xgt(this,r);return 0}intersectionRatio(r){let{area:a}=this,i=this.intersectionArea(r);return i/(r.area+a-i)}get bottom(){let{top:r,height:a}=this;return r+a}get right(){let{left:r,width:a}=this;return r+a}get aspectRatio(){let{width:r,height:a}=this;return r/a}get corners(){return[{x:this.left,y:this.top},{x:this.right,y:this.top},{x:this.left,y:this.bottom},{x:this.right,y:this.bottom}]}static from({top:r,left:a,width:i,height:f}){return new e(a,r,i,f)}static delta(r,a,i={x:"center",y:"center"}){let f=(s,l)=>{let c=i[l],m=l==="x"?s.left:s.top,g=l==="x"?s.width:s.height;if(c=="start")return m;if(c=="end")return m+g;return m+g/2};return pf.delta({x:f(r,"x"),y:f(r,"y")},{x:f(a,"x"),y:f(a,"y")})}static intersectionRatio(r,a){return e.from(r).intersectionRatio(e.from(a))}};function xgt(e,r){let a=Math.max(r.top,e.top),i=Math.max(r.left,e.left),f=Math.min(r.left+r.width,e.left+e.width),s=Math.min(r.top+r.height,e.top+e.height),l=f-i,c=s-a;if(i<f&&a<s)return l*c;return 0}var xse,yse,sq,HN,KT,XT=class extends(sq=ZZ,yse=[qa],xse=[qa],sq){constructor(e){let r=pf.from(e);super(r,(a,i)=>pf.equals(a,i));hgt(KT,5,this),Mgt(this,HN,0),this.velocity={x:0,y:0}}get delta(){return pf.delta(this.current,this.initial)}get direction(){let{current:e,previous:r}=this;if(!r)return null;let a={x:e.x-r.x,y:e.y-r.y};if(!a.x&&!a.y)return null;if(Math.abs(a.x)>Math.abs(a.y))return a.x>0?"right":"left";return a.y>0?"down":"up"}get current(){return super.current}set current(e){let{current:r}=this,a=pf.from(e),i={x:a.x-r.x,y:a.y-r.y},f=Date.now(),s=f-iq(this,HN),l=(c)=>Math.round(c/s*100);Jo(()=>{fq(this,HN,f),this.velocity={x:l(i.x),y:l(i.y)},super.current=a})}reset(e=this.defaultValue){super.reset(pf.from(e)),this.velocity={x:0,y:0}}};KT=pgt(sq);HN=new WeakMap;vse(KT,2,"delta",yse,XT);vse(KT,2,"direction",xse,XT);Mse(KT,XT);function WN({x:e,y:r},a){let i=Math.abs(e),f=Math.abs(r);if(typeof a==="number")return Math.sqrt(pse(i,2)+pse(f,2))>a;if("x"in a&&"y"in a)return i>a.x&&f>a.y;if("x"in a)return i>a.x;if("y"in a)return f>a.y;return!1}var bse=((e)=>(e.Horizontal="x",e.Vertical="y",e))(bse||{}),uq=Object.values(bse);var{create:ygt,defineProperty:hq,defineProperties:bgt,getOwnPropertyDescriptor:_gt,getOwnPropertyDescriptors:wgt,getOwnPropertySymbols:e5}=Object,zse=Object.prototype.hasOwnProperty,Sse=Object.prototype.propertyIsEnumerable,Lse=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),FI=(e)=>{throw TypeError(e)},Zq=(e,r,a)=>(r in e)?hq(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,gq=(e,r)=>{for(var a in r||(r={}))if(zse.call(r,a))Zq(e,a,r[a]);if(e5){for(var a of e5(r))if(Sse.call(r,a))Zq(e,a,r[a])}return e},Mq=(e,r)=>bgt(e,wgt(r)),_se=(e,r)=>hq(e,"name",{value:r,configurable:!0}),kse=(e,r)=>{var a={};for(var i in e)if(zse.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&e5){for(var i of e5(e))if(r.indexOf(i)<0&&Sse.call(e,i))a[i]=e[i]}return a},BI=(e)=>{var r;return[,,,ygt((r=e==null?void 0:e[Lse("metadata")])!=null?r:null)]},Cse=["class","method","getter","setter","accessor","field","value","get","set"],QT=(e)=>e!==void 0&&typeof e!=="function"?FI("Function expected"):e,zgt=(e,r,a,i,f)=>({kind:Cse[e],name:r,metadata:i,addInitializer:(s)=>a._?FI("Already initialized"):f.push(QT(s||null))}),tL=(e,r)=>Zq(r,Lse("metadata"),e[3]),lo=(e,r,a,i)=>{for(var f=0,s=e[r>>1],l=s&&s.length;f<l;f++)r&1?s[f].call(a):i=s[f].call(a,i);return i},Ao=(e,r,a,i,f,s)=>{var l,c,m,g,M,v=r&7,y=!!(r&8),x=!!(r&16),_=v>3?e.length+1:v?y?1:2:0,j=Cse[v+5],U=v>3&&(e[_-1]=[]),T=e[_]||(e[_]=[]),N=v&&(!x&&!y&&(f=f.prototype),v<5&&(v>3||!x)&&_gt(v<4?f:{get[a](){return On(this,s)},set[a](X){return Gl(this,s,X)}},a));v?x&&v<4&&_se(s,(v>2?"set ":v>1?"get ":"")+a):_se(f,a);for(var G=i.length-1;G>=0;G--){if(g=zgt(v,a,m={},e[3],T),v){if(g.static=y,g.private=x,M=g.access={has:x?(X)=>Sgt(f,X):(X)=>(a in X)},v^3)M.get=x?(X)=>(v^1?On:Ise)(X,f,v^4?s:N.get):(X)=>X[a];if(v>2)M.set=x?(X,J)=>Gl(X,f,J,v^4?s:N.set):(X,J)=>X[a]=J}if(c=(0,i[G])(v?v<4?x?s:N[j]:v>4?void 0:{get:N.get,set:N.set}:f,g),m._=1,v^4||c===void 0)QT(c)&&(v>4?U.unshift(c):v?x?s=c:N[j]=c:f=c);else if(typeof c!=="object"||c===null)FI("Object expected");else QT(l=c.get)&&(N.get=l),QT(l=c.set)&&(N.set=l),QT(l=c.init)&&U.unshift(l)}return v||tL(e,f),N&&hq(f,a,N),x?v^4?s:N:f},vq=(e,r,a)=>r.has(e)||FI("Cannot "+a),Sgt=(e,r)=>Object(r)!==r?FI('Cannot use the "in" operator on this value'):e.has(r),On=(e,r,a)=>(vq(e,r,"read from private field"),a?a.call(e):r.get(e)),oa=(e,r,a)=>r.has(e)?FI("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Gl=(e,r,a,i)=>(vq(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),Ise=(e,r,a)=>(vq(e,r,"access private method"),a);function Rse(e,r){return{plugin:e,options:r}}function ei(e){return(r)=>Rse(e,r)}function NI(e){if(typeof e==="function")return{plugin:e,options:void 0};return e}var Pse,mA,xq,KN;Pse=[ko];var Bi=class{constructor(e,r){this.manager=e,this.options=r,oa(this,xq,lo(mA,8,this,!1)),lo(mA,11,this),oa(this,KN,new Set)}enable(){this.disabled=!1}disable(){this.disabled=!0}isDisabled(){return po(()=>this.disabled)}configure(e){this.options=e}registerEffect(e){let r=gi(e.bind(this));return On(this,KN).add(r),r}destroy(){On(this,KN).forEach((e)=>e())}static configure(e){return Rse(this,e)}};mA=BI(null);xq=new WeakMap;KN=new WeakMap;Ao(mA,4,"disabled",Pse,Bi,xq);tL(mA,Bi);var YI=class extends Bi{},XN,dq=class{constructor(e){this.manager=e,this.instances=new Map,oa(this,XN,[])}get values(){return Array.from(this.instances.values())}set values(e){let r=e.map(NI).reduce((i,f)=>{let s=i.find(({plugin:l})=>l===f.plugin);if(s)return s.options=f.options,i;return[...i,f]},[]),a=r.map(({plugin:i})=>i);for(let i of On(this,XN))if(!a.includes(i)){if(i.prototype instanceof YI)continue;this.unregister(i)}for(let{plugin:i,options:f}of r)this.register(i,f);Gl(this,XN,a)}get(e){return this.instances.get(e)}register(e,r){let a=this.instances.get(e);if(a){if(a.options!==r)a.options=r;return a}let i=new e(this.manager,r);return this.instances.set(e,i),i}unregister(e){let r=this.instances.get(e);if(r)r.destroy(),this.instances.delete(e)}destroy(){for(let e of this.instances.values())e.destroy();this.instances.clear()}};XN=new WeakMap;function Lgt(e,r){if(e.priority===r.priority){if(e.type===r.type)return r.value-e.value;return r.type-e.type}return r.priority-e.priority}var GN=[],EI,DI,kgt=class extends Bi{constructor(e){super(e);oa(this,EI),oa(this,DI),this.computeCollisions=this.computeCollisions.bind(this),Gl(this,DI,dZ(GN)),this.destroy=$z(()=>{let r=this.computeCollisions(),a=po(()=>this.manager.dragOperation.position.current);if(r!==GN){let i=On(this,EI);if(Gl(this,EI,a),i&&a.x==i.x&&a.y==i.y)return}else Gl(this,EI,void 0);On(this,DI).value=r},()=>{let{dragOperation:r}=this.manager;if(r.status.initialized)this.forceUpdate()})}forceUpdate(e=!0){po(()=>{if(e)On(this,DI).value=this.computeCollisions();else Gl(this,EI,void 0)})}computeCollisions(e,r){let{registry:a,dragOperation:i}=this.manager,{source:f,shape:s,status:l}=i;if(!l.initialized||!s)return GN;let c=[],m=[];for(let g of e!=null?e:a.droppables){if(g.disabled)continue;if(f&&!g.accepts(f))continue;let M=r!=null?r:g.collisionDetector;if(!M)continue;m.push(g),g.shape;let v=po(()=>M({droppable:g,dragOperation:i}));if(v){if(g.collisionPriority!=null)v.priority=g.collisionPriority;c.push(v)}}if(m.length===0)return GN;return c.sort(Lgt),c}get collisions(){return On(this,DI).value}};EI=new WeakMap;DI=new WeakMap;var Tse,Ase,Ese,yq,Dse,gu,bq,jI,_q,wq;Ese=[ko],Ase=[ko],Tse=[ko];var hm=class e{constructor(r,a){oa(this,bq,lo(gu,8,this)),lo(gu,11,this),oa(this,jI),oa(this,_q,lo(gu,12,this)),lo(gu,15,this),oa(this,wq,lo(gu,16,this)),lo(gu,19,this);let{effects:i,id:f,data:s={},disabled:l=!1,register:c=!0}=r,m=f;if(Gl(this,jI,dZ(f)),this.manager=a,this.data=s,this.disabled=l,this.effects=()=>{var g;return[()=>{let{id:M,manager:v}=this;if(M===m)return;return m=M,v==null||v.registry.register(this),()=>v==null?void 0:v.registry.unregister(this)},...(g=i==null?void 0:i())!=null?g:[]]},this.register=this.register.bind(this),this.unregister=this.unregister.bind(this),this.destroy=this.destroy.bind(this),a&&c)queueMicrotask(this.register)}get id(){var r,a;let i=On(this,jI).value;return(a=(r=e.pendingIdChanges)==null?void 0:r.get(this))!=null?a:i}set id(r){var a,i;let f=(i=(a=e.pendingIdChanges)==null?void 0:a.get(this))!=null?i:On(this,jI).peek();if(r===f)return;if(!e.pendingIdChanges)e.pendingIdChanges=new Map,queueMicrotask(()=>{var s;return Ise(s=e,yq,Dse).call(s)});e.pendingIdChanges.set(this,r)}register(){var r;return(r=this.manager)==null?void 0:r.registry.register(this)}unregister(){var r;(r=this.manager)==null||r.registry.unregister(this)}destroy(){var r;(r=this.manager)==null||r.registry.unregister(this)}};gu=BI(null);yq=new WeakSet;Dse=function(){let e=hm.pendingIdChanges;if(hm.pendingIdChanges=null,e)Jo(()=>{for(let[r,a]of e)On(r,jI).value=a})};bq=new WeakMap;jI=new WeakMap;_q=new WeakMap;wq=new WeakMap;Ao(gu,4,"manager",Ese,hm,bq);Ao(gu,4,"data",Ase,hm,_q);Ao(gu,4,"disabled",Tse,hm,wq);oa(hm,yq);tL(gu,hm);hm.pendingIdChanges=null;var t5=hm,wse=class{constructor(){this.map=dZ(new Map),this.cleanupFunctions=new WeakMap,this.register=(e,r)=>{let a=this.map.peek(),i=a.get(e),f=()=>this.unregister(e,r);if(i===r)return f;if(i){if(i.id===e){let c=this.cleanupFunctions.get(i);c==null||c(),this.cleanupFunctions.delete(i)}}let s=new Map(a);for(let[c,m]of a)if(m===r&&c!==e){s.delete(c);break}s.set(e,r),this.map.value=s;let l=$z(...r.effects());return this.cleanupFunctions.set(r,l),f},this.unregister=(e,r)=>{let a=this.map.peek();if(a.get(e)!==r)return;let i=this.cleanupFunctions.get(r);i==null||i(),this.cleanupFunctions.delete(r);let f=new Map(a);f.delete(e),this.map.value=f}}[Symbol.iterator](){return this.map.peek().values()}get value(){return this.map.value.values()}has(e){return this.map.value.has(e)}get(e){return this.map.value.get(e)}destroy(){for(let e of this){let r=this.cleanupFunctions.get(e);r==null||r(),e.destroy()}this.map.value=new Map}},Ose,jse,Nse,Fse,Bse,Yse,pq,Ms,zq,Sq,Lq,Mu=class extends(pq=t5,Yse=[ko],Bse=[ko],Fse=[ko],Nse=[qa],jse=[qa],Ose=[qa],pq){constructor(e,r){var a=e,{modifiers:i,type:f,sensors:s,plugins:l,effects:c}=a,m=kse(a,["modifiers","type","sensors","plugins","effects"]);super(Mq(gq({},m),{effects:()=>{var g;return[...(g=c==null?void 0:c())!=null?g:[],()=>{let{manager:M,plugins:v}=this;if(!M||!v)return;for(let y of v){let{plugin:x}=NI(y);M.registry.plugins.register(x)}}]}}),r);lo(Ms,5,this),oa(this,zq,lo(Ms,8,this)),lo(Ms,11,this),oa(this,Sq,lo(Ms,12,this)),lo(Ms,15,this),oa(this,Lq,lo(Ms,16,this,this.isDragSource?"dragging":"idle")),lo(Ms,19,this),this.type=f,this.sensors=s,this.modifiers=i,this.alignment=m.alignment,this.plugins=l}pluginConfig(e){if(!this.plugins)return;for(let r of this.plugins){let a=NI(r);if(a.plugin===e)return a.options}return}get isDropping(){return this.status==="dropping"&&this.isDragSource}get isDragging(){return this.status==="dragging"&&this.isDragSource}get isDragSource(){var e,r;return((r=(e=this.manager)==null?void 0:e.dragOperation.source)==null?void 0:r.id)===this.id}};Ms=BI(pq);zq=new WeakMap;Sq=new WeakMap;Lq=new WeakMap;Ao(Ms,4,"type",Yse,Mu,zq);Ao(Ms,4,"modifiers",Bse,Mu,Sq);Ao(Ms,4,"status",Fse,Mu,Lq);Ao(Ms,2,"isDropping",Nse,Mu);Ao(Ms,2,"isDragging",jse,Mu);Ao(Ms,2,"isDragSource",Ose,Mu);tL(Ms,Mu);var Use,qse,Vse,Hse,Wse,Gse,mq,vi,kq,Cq,Iq,Rq,Pq,vu=class extends(mq=t5,Gse=[ko],Wse=[ko],Hse=[ko],Vse=[ko],qse=[ko],Use=[qa],mq){constructor(e,r){var a=e,{accept:i,collisionDetector:f,collisionPriority:s,type:l}=a,c=kse(a,["accept","collisionDetector","collisionPriority","type"]);super(c,r);lo(vi,5,this),oa(this,kq,lo(vi,8,this)),lo(vi,11,this),oa(this,Cq,lo(vi,12,this)),lo(vi,15,this),oa(this,Iq,lo(vi,16,this)),lo(vi,19,this),oa(this,Rq,lo(vi,20,this)),lo(vi,23,this),oa(this,Pq,lo(vi,24,this)),lo(vi,27,this),this.accept=i,this.collisionDetector=f,this.collisionPriority=s,this.type=l}accepts(e){let{accept:r}=this;if(!r)return!0;if(typeof r==="function")return r(e);if(!e.type)return!1;if(Array.isArray(r))return r.includes(e.type);return e.type===r}get isDropTarget(){var e,r;return((r=(e=this.manager)==null?void 0:e.dragOperation.target)==null?void 0:r.id)===this.id}};vi=BI(mq);kq=new WeakMap;Cq=new WeakMap;Iq=new WeakMap;Rq=new WeakMap;Pq=new WeakMap;Ao(vi,4,"accept",Gse,vu,kq);Ao(vi,4,"type",Wse,vu,Cq);Ao(vi,4,"collisionDetector",Hse,vu,Iq);Ao(vi,4,"collisionPriority",Vse,vu,Rq);Ao(vi,4,"shape",qse,vu,Pq);Ao(vi,2,"isDropTarget",Use,vu);tL(vi,vu);var Cgt=class{constructor(){this.registry=new Map}addEventListener(e,r){let{registry:a}=this,i=new Set(a.get(e));return i.add(r),a.set(e,i),()=>this.removeEventListener(e,r)}removeEventListener(e,r){let{registry:a}=this,i=new Set(a.get(e));i.delete(r),a.set(e,i)}dispatch(e,...r){let{registry:a}=this,i=a.get(e);if(!i)return;for(let f of i)f(...r)}},Igt=class extends Cgt{constructor(e){super();this.manager=e}dispatch(e,r){let a=[r,this.manager];super.dispatch(e,...a)}};function QN(e,r=!0){let a=!1;return Mq(gq({},e),{cancelable:r,get defaultPrevented(){return a},preventDefault(){if(!r)return;a=!0}})}var Rgt=class extends YI{constructor(e){super(e);let r=(i,f)=>i.map(({id:s})=>s).join("")===f.map(({id:s})=>s).join(""),a=[];this.destroy=$z(()=>{let{dragOperation:i,collisionObserver:f}=e;if(i.status.initializing)a=[],f.enable()},()=>{let{collisionObserver:i,monitor:f}=e,{collisions:s}=i;if(i.isDisabled())return;if(t5.pendingIdChanges)return;let l=QN({collisions:s});if(f.dispatch("collision",l),l.defaultPrevented)return;if(r(s,a))return;else a=s;let[c]=s;po(()=>{var m;if((c==null?void 0:c.id)!==((m=e.dragOperation.target)==null?void 0:m.id))i.disable(),e.actions.setDropTarget(c==null?void 0:c.id).then(()=>{i.enable()})})})}},pZ=((e)=>(e[e.Lowest=0]="Lowest",e[e.Low=1]="Low",e[e.Normal=2]="Normal",e[e.High=3]="High",e[e.Highest=4]="Highest",e))(pZ||{}),mZ=((e)=>(e[e.Collision=0]="Collision",e[e.ShapeIntersection=1]="ShapeIntersection",e[e.PointerIntersection=2]="PointerIntersection",e))(mZ||{}),Kse,Xse,Qse,Jse,$se,ele,tle,bc,Tq;tle=[ko],ele=[qa],$se=[qa],Jse=[qa],Qse=[qa],Xse=[qa],Kse=[qa];var eM=class{constructor(){lo(bc,5,this),oa(this,Tq,lo(bc,8,this,"idle")),lo(bc,11,this)}get current(){return this.value}get idle(){return this.value==="idle"}get initializing(){return this.value==="initializing"}get initialized(){let{value:e}=this;return e!=="idle"&&e!=="initialization-pending"}get dragging(){return this.value==="dragging"}get dropped(){return this.value==="dropped"}set(e){this.value=e}};bc=BI(null);Tq=new WeakMap;Ao(bc,4,"value",tle,eM,Tq);Ao(bc,2,"current",ele,eM);Ao(bc,2,"idle",$se,eM);Ao(bc,2,"initializing",Jse,eM);Ao(bc,2,"initialized",Qse,eM);Ao(bc,2,"dragging",Xse,eM);Ao(bc,2,"dropped",Kse,eM);tL(bc,eM);var Pgt=class{constructor(e){this.manager=e}setDragSource(e){let{dragOperation:r}=this.manager;r.sourceIdentifier=typeof e==="string"||typeof e==="number"?e:e.id}setDropTarget(e){return po(()=>{let{dragOperation:r}=this.manager,a=e!=null?e:null;if(r.targetIdentifier===a)return Promise.resolve(!1);r.targetIdentifier=a;let i=QN({operation:r.snapshot()});if(r.status.dragging)this.manager.monitor.dispatch("dragover",i);return this.manager.renderer.rendering.then(()=>i.defaultPrevented)})}start(e){return po(()=>{let{dragOperation:r}=this.manager;if(e.source!=null)this.setDragSource(e.source);if(!r.source)throw Error("Cannot start a drag operation without a drag source");if(!r.status.idle)throw Error("Cannot start a drag operation while another is active");let i=new AbortController,{event:f,coordinates:s}=e;Jo(()=>{r.status.set("initialization-pending"),r.shape=null,r.canceled=!1,r.activatorEvent=f!=null?f:null,r.position.reset(s)});let l=QN({operation:r.snapshot()});if(this.manager.monitor.dispatch("beforedragstart",l),l.defaultPrevented)return r.reset(),i.abort(),i;return r.status.set("initializing"),r.controller=i,this.manager.renderer.rendering.then(()=>{if(i.signal.aborted)return;let{status:c}=r;if(c.current!=="initializing")return;Jo(()=>{r.status.set("dragging"),this.manager.monitor.dispatch("dragstart",{nativeEvent:f,operation:r.snapshot(),cancelable:!1})})}),i})}move(e){return po(()=>{var r,a;let{dragOperation:i}=this.manager,{status:f,controller:s}=i;if(!f.dragging||!s||s.signal.aborted)return;let l=QN({nativeEvent:e.event,operation:i.snapshot(),by:e.by,to:e.to},(r=e.cancelable)!=null?r:!0);if((a=e.propagate)!=null?a:!0)this.manager.monitor.dispatch("dragmove",l);queueMicrotask(()=>{var c,m,g,M,v;if(l.defaultPrevented)return;let y=(v=e.to)!=null?v:{x:i.position.current.x+((m=(c=e.by)==null?void 0:c.x)!=null?m:0),y:i.position.current.y+((M=(g=e.by)==null?void 0:g.y)!=null?M:0)};i.position.current=y})})}stop(e={}){return po(()=>{var r,a;let{dragOperation:i}=this.manager,{controller:f}=i;if(!f||f.signal.aborted)return;let s,l=()=>{let m={resume:()=>{},abort:()=>{}};return s=new Promise((g,M)=>{m.resume=g,m.abort=M}),m};f.abort();let c=()=>{this.manager.renderer.rendering.then(()=>{i.status.set("dropped");let m=po(()=>{var M;return((M=i.source)==null?void 0:M.status)==="dropping"}),g=()=>{if(i.controller===f)i.controller=void 0;i.reset()};if(m){let{source:M}=i,v=gi(()=>{if((M==null?void 0:M.status)==="idle")v(),g()})}else this.manager.renderer.rendering.then(g)})};if(i.canceled=(r=e.canceled)!=null?r:!1,this.manager.monitor.dispatch("dragend",{nativeEvent:e.event,operation:i.snapshot(),canceled:(a=e.canceled)!=null?a:!1,suspend:l}),s)s.then(c).catch(()=>i.reset());else c()})}},eL=class extends Bi{constructor(e,r){super(e,r);this.manager=e,this.options=r}},rle=class extends AbortController{constructor(e,r){super();this.constraints=e,this.onActivate=r,this.activated=!1;for(let a of e!=null?e:[])a.controller=this}onEvent(e){var r;if(this.activated)return;if((r=this.constraints)==null?void 0:r.length)for(let a of this.constraints)a.onEvent(e);else this.activate(e)}activate(e){if(this.activated)return;this.activated=!0,this.onActivate(e)}abort(e){this.activated=!1,super.abort(e)}},JN,Aq=class{constructor(e){this.options=e,oa(this,JN)}set controller(e){Gl(this,JN,e),e.signal.addEventListener("abort",()=>this.abort())}activate(e){var r;(r=On(this,JN))==null||r.activate(e)}};JN=new WeakMap;var Ld=class extends Bi{constructor(e,r){super(e,r);this.manager=e,this.options=r}apply(e){return e.transform}},Tgt=class{constructor(e){this.draggables=new wse,this.droppables=new wse,this.plugins=new dq(e),this.sensors=new dq(e),this.modifiers=new dq(e)}register(e,r){if(e instanceof Mu)return this.draggables.register(e.id,e);if(e instanceof vu)return this.droppables.register(e.id,e);if(e.prototype instanceof Ld)return this.modifiers.register(e,r);if(e.prototype instanceof eL)return this.sensors.register(e,r);if(e.prototype instanceof Bi)return this.plugins.register(e,r);throw Error("Invalid instance type")}unregister(e){if(e instanceof t5){if(e instanceof Mu)return this.draggables.unregister(e.id,e);if(e instanceof vu)return this.droppables.unregister(e.id,e);return()=>{}}if(e.prototype instanceof Ld)return this.modifiers.unregister(e);if(e.prototype instanceof eL)return this.sensors.unregister(e);if(e.prototype instanceof Bi)return this.plugins.unregister(e);throw Error("Invalid instance type")}destroy(){this.draggables.destroy(),this.droppables.destroy(),this.plugins.destroy(),this.sensors.destroy(),this.modifiers.destroy()}},ole,ale,nle,ile,fle,sle,lle,cle,ule,JT,$N,OI,yn,Eq,Dq,Oq,jq,Nq,$T;ule=[qa],cle=[ko],lle=[ko],sle=[ko],fle=[ko],ile=[ko],nle=[qa],ale=[qa],ole=[qa];var xu=class{constructor(e){lo(yn,5,this),oa(this,JT),oa(this,$N),oa(this,OI,new ZZ(void 0,(r,a)=>r&&a?r.equals(a):r===a)),this.status=new eM,oa(this,Eq,lo(yn,8,this,!1)),lo(yn,11,this),oa(this,Dq,lo(yn,12,this,null)),lo(yn,15,this),oa(this,Oq,lo(yn,16,this,null)),lo(yn,19,this),oa(this,jq,lo(yn,20,this,null)),lo(yn,23,this),oa(this,Nq,lo(yn,24,this,[])),lo(yn,27,this),this.position=new XT({x:0,y:0}),oa(this,$T,{x:0,y:0}),Gl(this,JT,e)}get shape(){let{current:e,initial:r,previous:a}=On(this,OI);if(!e||!r)return null;return{current:e,initial:r,previous:a}}set shape(e){if(!e)On(this,OI).reset();else On(this,OI).current=e}get source(){var e;let r=this.sourceIdentifier;if(r==null)return null;let a=On(this,JT).registry.draggables.get(r);if(a)Gl(this,$N,a);return(e=a!=null?a:On(this,$N))!=null?e:null}get target(){var e;let r=this.targetIdentifier;return r!=null?(e=On(this,JT).registry.droppables.get(r))!=null?e:null:null}get transform(){let{x:e,y:r}=this.position.delta,a={x:e,y:r};for(let i of this.modifiers)a=i.apply(Mq(gq({},this.snapshot()),{transform:a}));return Gl(this,$T,a),a}snapshot(){return po(()=>({source:this.source,target:this.target,activatorEvent:this.activatorEvent,transform:On(this,$T),shape:this.shape?VN(this.shape):null,position:VN(this.position),status:VN(this.status),canceled:this.canceled}))}reset(){Jo(()=>{this.status.set("idle"),this.sourceIdentifier=null,this.targetIdentifier=null,On(this,OI).reset(),this.position.reset({x:0,y:0}),Gl(this,$T,{x:0,y:0}),this.modifiers=[]})}};yn=BI(null);JT=new WeakMap;$N=new WeakMap;OI=new WeakMap;Eq=new WeakMap;Dq=new WeakMap;Oq=new WeakMap;jq=new WeakMap;Nq=new WeakMap;$T=new WeakMap;Ao(yn,2,"shape",ule,xu);Ao(yn,4,"canceled",cle,xu,Eq);Ao(yn,4,"activatorEvent",lle,xu,Dq);Ao(yn,4,"sourceIdentifier",sle,xu,Oq);Ao(yn,4,"targetIdentifier",fle,xu,jq);Ao(yn,4,"modifiers",ile,xu,Nq);Ao(yn,2,"source",nle,xu);Ao(yn,2,"target",ale,xu);Ao(yn,2,"transform",ole,xu);tL(yn,xu);var Agt={get rendering(){return Promise.resolve()}};function vs(e,r){if(typeof e==="function")return e(r);return e!=null?e:r}var dle=class{constructor(e){this.destroy=()=>{if(!this.dragOperation.status.idle)this.actions.stop({canceled:!0});this.dragOperation.modifiers.forEach((v)=>v.destroy()),this.registry.destroy(),this.collisionObserver.destroy()};var r;let a=e!=null?e:{},i=vs(a.plugins,[]),f=vs(a.sensors,[]),s=vs(a.modifiers,[]),l=(r=a.renderer)!=null?r:Agt,c=new Igt(this),m=new Tgt(this);this.registry=m,this.monitor=c,this.renderer=l,this.actions=new Pgt(this),this.dragOperation=new xu(this),this.collisionObserver=new kgt(this),this.plugins=[Rgt,...i],this.modifiers=s,this.sensors=f;let{destroy:g}=this,M=$z(()=>{var v,y,x;let _=po(()=>this.dragOperation.modifiers),j=this.modifiers;for(let U of _)if(!j.includes(U))U.destroy();this.dragOperation.modifiers=(x=(y=(v=this.dragOperation.source)==null?void 0:v.modifiers)==null?void 0:y.map((U)=>{let{plugin:T,options:N}=NI(U);return new T(this,N)}))!=null?x:j});this.destroy=()=>{M(),g()}}get plugins(){return this.registry.plugins.values}set plugins(e){this.registry.plugins.values=e}get modifiers(){return this.registry.modifiers.values}set modifiers(e){this.registry.modifiers.values=e}get sensors(){return this.registry.sensors.values}set sensors(e){this.registry.sensors.values=e}};var vle=(e)=>{throw TypeError(e)},Yq=(e,r,a)=>r.has(e)||vle("Cannot "+a),co=(e,r,a)=>(Yq(e,r,"read from private field"),r.get(e)),Js=(e,r,a)=>r.has(e)?vle("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Kl=(e,r,a,i)=>(Yq(e,r,"write to private field"),r.set(e,a),a),xle=(e,r,a)=>(Yq(e,r,"access private method"),a);function c5(e){if(!e)return!1;if(e instanceof KeyframeEffect)return!0;return"getKeyframes"in e&&typeof e.getKeyframes==="function"}function Uq(e,r){let a=e.getAnimations(),i=null;for(let f of a){if(f.playState!=="running")continue;let{effect:s}=f,c=(c5(s)?s.getKeyframes():[]).filter(r);if(c.length>0)i=[c[c.length-1],f]}return i}function u5(e){let{width:r,height:a,top:i,left:f,bottom:s,right:l}=e.getBoundingClientRect();return{width:r,height:a,top:i,left:f,bottom:s,right:l}}function qq(e){let r=Object.prototype.toString.call(e);return r==="[object Window]"||r==="[object global]"}function n2(e){return"nodeType"in e}function xs(e){var r,a,i;if(!e)return window;if(qq(e))return e;if(!n2(e))return window;if("defaultView"in e)return(r=e.defaultView)!=null?r:window;return(i=(a=e.ownerDocument)==null?void 0:a.defaultView)!=null?i:window}function d5(e){let{Document:r}=xs(e);return e instanceof r||"nodeType"in e&&e.nodeType===Node.DOCUMENT_NODE}function tM(e){if(!e||qq(e))return!1;return e instanceof xs(e).HTMLElement||"namespaceURI"in e&&typeof e.namespaceURI==="string"&&e.namespaceURI.endsWith("html")}function yle(e){return e instanceof xs(e).SVGElement||"namespaceURI"in e&&typeof e.namespaceURI==="string"&&e.namespaceURI.endsWith("svg")}function nL(e){if(!e)return document;if(qq(e))return e.document;if(!n2(e))return document;if(d5(e))return e;if(tM(e)||yle(e))return e.ownerDocument;return document}function Egt(e){var r,a,i,f;let{documentElement:s}=nL(e),l=xs(e).visualViewport,c=(r=l==null?void 0:l.width)!=null?r:s.clientWidth,m=(a=l==null?void 0:l.height)!=null?a:s.clientHeight,g=(i=l==null?void 0:l.offsetTop)!=null?i:0,M=(f=l==null?void 0:l.offsetLeft)!=null?f:0;return{top:g,left:M,right:M+c,bottom:g+m,width:c,height:m}}function Dgt(e,r){if(Ogt(e)&&e.open===!1)return!1;let{overflow:a,overflowX:i,overflowY:f}=getComputedStyle(e);return a==="visible"&&i==="visible"&&f==="visible"}function Ogt(e){return e.tagName==="DETAILS"}function qI(e,r=e.getBoundingClientRect(),a=0){var i,f,s,l,c;let m=r,{ownerDocument:g}=e,M=(i=g.defaultView)!=null?i:window,v=e.parentElement;while(v&&v!==g.documentElement){if(!Dgt(v)){let G=v.getBoundingClientRect(),X=a*(G.bottom-G.top),J=a*(G.right-G.left),ee=a*(G.bottom-G.top),re=a*(G.right-G.left);m={top:Math.max(m.top,G.top-X),right:Math.min(m.right,G.right+J),bottom:Math.min(m.bottom,G.bottom+ee),left:Math.max(m.left,G.left-re),width:0,height:0},m.width=m.right-m.left,m.height=m.bottom-m.top}v=v.parentElement}let y=M.visualViewport,x=(f=y==null?void 0:y.offsetTop)!=null?f:0,_=(s=y==null?void 0:y.offsetLeft)!=null?s:0,j=(l=y==null?void 0:y.width)!=null?l:M.innerWidth,U=(c=y==null?void 0:y.height)!=null?c:M.innerHeight,T=a*U,N=a*j;if(m={top:Math.max(m.top,x-T),right:Math.min(m.right,_+j+N),bottom:Math.min(m.bottom,x+U+T),left:Math.max(m.left,_-N),width:0,height:0},m.width=m.right-m.left,m.height=m.bottom-m.top,m.width<0)m.width=0;if(m.height<0)m.height=0;return m}function iL(e){return{x:e.clientX,y:e.clientY}}var ble=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function i5(e=document,r=new Set){if(r.has(e))return[];r.add(e);let a=[e];for(let i of Array.from(e.querySelectorAll("iframe, frame")))try{let f=i.contentDocument;if(f&&!r.has(f))a.push(...i5(f,r))}catch(f){}try{let i=e.defaultView;if(i&&i!==window.top){let f=i.parent;if(f&&f.document&&f.document!==e)a.push(...i5(f.document,r))}}catch(i){}return a}function Z5(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function Vq(){var e,r;let a=Z5()?window.visualViewport:null;return{x:(e=a==null?void 0:a.offsetLeft)!=null?e:0,y:(r=a==null?void 0:a.offsetTop)!=null?r:0}}function p5(e){if(!e||!n2(e))return!1;return e instanceof xs(e).ShadowRoot}function i2(e){if(e&&n2(e)){let r=e.getRootNode();if(p5(r))return r;else if(r instanceof Document)return r}return nL(e)}function f2(e){return e.matchMedia("(prefers-reduced-motion: reduce)").matches}function _le(e){let a=e.cloneNode(!0),i=Array.from(e.querySelectorAll("input, textarea, select, canvas, [contenteditable]"));return Array.from(a.querySelectorAll("input, textarea, select, canvas, [contenteditable]")).forEach((s,l)=>{let c=i[l];if(Zle(s)&&Zle(c)){if(s.type!=="file")s.value=c.value;if(s.type==="radio"&&s.name)s.name=`Cloned__${s.name}`}if(ple(s)&&ple(c)&&c.width>0&&c.height>0){let m=s.getContext("2d");m==null||m.drawImage(c,0,0)}}),a}function Zle(e){return"value"in e}function ple(e){return e.tagName==="CANVAS"}function Hq(e,{x:r,y:a}){let i=e.elementFromPoint(r,a);if(jgt(i)){let{contentDocument:f}=i;if(f){let{left:s,top:l}=i.getBoundingClientRect();return Hq(f,{x:r-s,y:a-l})}}return i}function jgt(e){return(e==null?void 0:e.tagName)==="IFRAME"}var s2=new WeakMap;function wle(e){return e.closest(`
79
- input:not([disabled]),
80
- select:not([disabled]),
81
- textarea:not([disabled]),
82
- button:not([disabled]),
83
- a[href],
84
- [contenteditable]:not([contenteditable="false"])
85
- `)}var Wq=class{constructor(){this.entries=new Set,this.clear=()=>{for(let e of this.entries){let[r,{type:a,listener:i,options:f}]=e;r.removeEventListener(a,i,f)}this.entries.clear()}}bind(e,r){let a=Array.isArray(e)?e:[e],i=Array.isArray(r)?r:[r],f=[];for(let l of a)for(let c of i){let{type:m,listener:g,options:M}=c,v=[l,c];l.addEventListener(m,g,M),this.entries.add(v),f.push(v)}let s=this.entries;return function(){for(let c of f){let[m,{type:g,listener:M,options:v}]=c;m.removeEventListener(g,M,v),s.delete(c)}}}};function aL(e){let r=e==null?void 0:e.ownerDocument.defaultView;if(r&&r.self!==r.parent)return r.frameElement}function Ngt(e){let r=new Set,a=aL(e);while(a)r.add(a),a=aL(a);return r}function Fgt(e,r){let a=setTimeout(e,r);return()=>clearTimeout(a)}function zle(e,r){let a=()=>performance.now(),i,f;return function(...s){let l=this;if(!f)e.apply(l,s),f=a();else i==null||i(),i=Fgt(()=>{e.apply(l,s),f=a()},r-(a()-f))}}function Bgt(e,r){if(e===r)return!0;if(!e||!r)return!1;return e.top==r.top&&e.left==r.left&&e.right==r.right&&e.bottom==r.bottom}function Ygt(e,r=e.getBoundingClientRect()){let{width:a,height:i}=qI(e,r);return a>0&&i>0}var Ugt=ble?ResizeObserver:class{observe(){}unobserve(){}disconnect(){}},a5,qgt=class extends Ugt{constructor(e){super((r)=>{if(!co(this,a5)){Kl(this,a5,!0);return}e(r,this)});Js(this,a5,!1)}};a5=new WeakMap;var mle=Array.from({length:100},(e,r)=>r/100),Sle=75,rL,f5,x8,oL,hA,$i,o2,e2,s5,Lle,kle,Cle=class{constructor(e,r,a={debug:!1,skipInitial:!1}){this.element=e,this.callback=r,Js(this,s5),this.disconnect=()=>{var s,l,c;Kl(this,o2,!0),(s=co(this,x8))==null||s.disconnect(),(l=co(this,oL))==null||l.disconnect(),co(this,hA).disconnect(),(c=co(this,$i))==null||c.remove()},Js(this,rL,!0),Js(this,f5),Js(this,x8),Js(this,oL),Js(this,hA),Js(this,$i),Js(this,o2,!1),Js(this,e2,zle(()=>{var s,l,c;let{element:m}=this;if((s=co(this,oL))==null||s.disconnect(),co(this,o2)||!co(this,rL)||!m.isConnected)return;let g=(l=m.ownerDocument)!=null?l:document,{innerHeight:M,innerWidth:v}=(c=g.defaultView)!=null?c:window,y=m.getBoundingClientRect(),x=qI(m,y),{top:_,left:j,bottom:U,right:T}=x,N=-Math.floor(_),G=-Math.floor(j),X=-Math.floor(v-T),J=-Math.floor(M-U),ee=`${N}px ${X}px ${J}px ${G}px`;this.boundingClientRect=y,Kl(this,oL,new IntersectionObserver((re)=>{let[oe]=re,{intersectionRect:ae}=oe;if((oe.intersectionRatio!==1?oe.intersectionRatio:Qs.intersectionRatio(ae,qI(m)))!==1)co(this,e2).call(this)},{threshold:mle,rootMargin:ee,root:g})),co(this,oL).observe(m),xle(this,s5,Lle).call(this)},Sle)),this.boundingClientRect=e.getBoundingClientRect(),Kl(this,rL,Ygt(e,this.boundingClientRect));let i=!0;this.callback=(s)=>{if(i){if(i=!1,a.skipInitial)return}r(s)};let f=e.ownerDocument;if(a==null?void 0:a.debug)Kl(this,$i,document.createElement("div")),co(this,$i).style.background="rgba(0,0,0,0.15)",co(this,$i).style.position="fixed",co(this,$i).style.pointerEvents="none",f.body.appendChild(co(this,$i));if(Kl(this,hA,new IntersectionObserver((s)=>{var l,c;let m=s[s.length-1],{boundingClientRect:g,isIntersecting:M}=m,{width:v,height:y}=g,x=co(this,rL);if(Kl(this,rL,M),!v&&!y)return;if(x&&!M){if((l=co(this,oL))==null||l.disconnect(),this.callback(null),(c=co(this,x8))==null||c.disconnect(),Kl(this,x8,void 0),co(this,$i))co(this,$i).style.visibility="hidden"}else co(this,e2).call(this);if(M&&!co(this,x8))Kl(this,x8,new qgt(co(this,e2))),co(this,x8).observe(e)},{threshold:mle,root:f})),co(this,rL)&&!a.skipInitial)this.callback(this.boundingClientRect);co(this,hA).observe(e)}};rL=new WeakMap;f5=new WeakMap;x8=new WeakMap;oL=new WeakMap;hA=new WeakMap;$i=new WeakMap;o2=new WeakMap;e2=new WeakMap;s5=new WeakSet;Lle=function(){if(co(this,o2))return;if(xle(this,s5,kle).call(this),Bgt(this.boundingClientRect,co(this,f5)))return;this.callback(this.boundingClientRect),Kl(this,f5,this.boundingClientRect)};kle=function(){if(co(this,$i)){let{top:e,left:r,width:a,height:i}=qI(this.element);co(this,$i).style.overflow="hidden",co(this,$i).style.visibility="visible",co(this,$i).style.top=`${Math.floor(e)}px`,co(this,$i).style.left=`${Math.floor(r)}px`,co(this,$i).style.width=`${Math.floor(a)}px`,co(this,$i).style.height=`${Math.floor(i)}px`}};var r5=new WeakMap,o5=new WeakMap;function Vgt(e,r){let a=r5.get(e);if(!a)a={disconnect:new Cle(e,(f)=>{let s=r5.get(e);if(!s)return;s.callbacks.forEach((l)=>l(f))},{skipInitial:!0}).disconnect,callbacks:new Set};return a.callbacks.add(r),r5.set(e,a),()=>{if(a.callbacks.delete(r),a.callbacks.size===0)r5.delete(e),a.disconnect()}}function Hgt(e,r){let a=new Set;for(let i of e){let f=Vgt(i,r);a.add(f)}return()=>a.forEach((i)=>i())}function Wgt(e,r){var a;let i=e.ownerDocument;if(!o5.has(i)){let l=new AbortController,c=new Set;document.addEventListener("scroll",(m)=>c.forEach((g)=>g(m)),{capture:!0,passive:!0,signal:l.signal}),o5.set(i,{disconnect:()=>l.abort(),listeners:c})}let{listeners:f,disconnect:s}=(a=o5.get(i))!=null?a:{};if(!f||!s)return()=>{};return f.add(r),()=>{if(f.delete(r),f.size===0)s(),o5.delete(i)}}var t2,r2,n5,Bq,Ile=class{constructor(e,r,a){this.callback=r,Js(this,t2),Js(this,r2,!1),Js(this,n5),Js(this,Bq,zle((l)=>{if(co(this,r2))return;if(!l.target)return;if("contains"in l.target&&typeof l.target.contains==="function"){for(let c of co(this,n5))if(l.target.contains(c)){this.callback(co(this,t2).boundingClientRect);break}}},Sle));let i=Ngt(e),f=Hgt(i,r),s=Wgt(e,co(this,Bq));Kl(this,n5,i),Kl(this,t2,new Cle(e,r,a)),this.disconnect=()=>{if(co(this,r2))return;Kl(this,r2,!0),f(),s(),co(this,t2).disconnect()}}};t2=new WeakMap;r2=new WeakMap;n5=new WeakMap;Bq=new WeakMap;function m5(e){return"showPopover"in e&&"hidePopover"in e&&typeof e.showPopover==="function"&&typeof e.hidePopover==="function"}function fL(e){try{if(m5(e)&&e.isConnected&&e.hasAttribute("popover")&&!e.matches(":popover-open"))e.showPopover()}catch(r){}}function hle(e){if(!ble||!e)return!1;return e===nL(e).scrollingElement}function Rle(e){var r,a;let i=xs(e),f=hle(e)?Egt(e):u5(e),s=i.visualViewport,l=hle(e)?{height:(r=s==null?void 0:s.height)!=null?r:i.innerHeight,width:(a=s==null?void 0:s.width)!=null?a:i.innerWidth}:{height:e.clientHeight,width:e.clientWidth},c={current:{x:e.scrollLeft,y:e.scrollTop},max:{x:e.scrollWidth-l.width,y:e.scrollHeight-l.height}},m=c.current.y<=0,g=c.current.x<=0,M=c.current.y>=c.max.y,v=c.current.x>=c.max.x;return{rect:f,position:c,isTop:m,isLeft:g,isBottom:M,isRight:v}}function Ple(e,r){let{isTop:a,isBottom:i,isLeft:f,isRight:s,position:l}=Rle(e),{x:c,y:m}=r!=null?r:{x:0,y:0},g=!a&&l.current.y+m>0,M=!i&&l.current.y+m<l.max.y,v=!f&&l.current.x+c>0,y=!s&&l.current.x+c<l.max.x;return{top:g,bottom:M,left:v,right:y,x:v||y,y:g||M}}var Gq=class{constructor(e){this.scheduler=e,this.pending=!1,this.tasks=new Set,this.resolvers=new Set,this.flush=()=>{let{tasks:r,resolvers:a}=this;this.pending=!1,this.tasks=new Set,this.resolvers=new Set;for(let i of r)i();for(let i of a)i()}}schedule(e){if(this.tasks.add(e),!this.pending)this.pending=!0,this.scheduler(this.flush);return new Promise((r)=>this.resolvers.add(r))}},l2=new Gq((e)=>{if(typeof requestAnimationFrame==="function")requestAnimationFrame(e);else e()}),Ggt=new Gq((e)=>setTimeout(e,50)),l5=new Map,Kgt=l5.clear.bind(l5);function _c(e,r=!1){if(!r)return gle(e);let a=l5.get(e);if(a)return a;return a=gle(e),l5.set(e,a),Ggt.schedule(Kgt),a}function gle(e){return xs(e).getComputedStyle(e)}function Xgt(e,r=_c(e,!0)){return r.position==="fixed"||r.position==="sticky"}function Qgt(e,r=_c(e,!0)){let a=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((f)=>{let s=r[f];return typeof s==="string"?a.test(s):!1})}var Jgt={excludeElement:!0,escapeShadowDOM:!0};function h5(e,r=Jgt){let{limit:a,excludeElement:i,escapeShadowDOM:f}=r,s=new Set;function l(c){if(a!=null&&s.size>=a)return s;if(!c)return s;if(d5(c)&&c.scrollingElement!=null&&!s.has(c.scrollingElement))return s.add(c.scrollingElement),s;if(f&&p5(c))return l(c.host);if(!tM(c)){if(yle(c))return l(c.parentElement);return s}if(s.has(c))return s;let m=_c(c,!0);if(i&&c===e);else if(Qgt(c,m))s.add(c);if(Xgt(c,m)){let{scrollingElement:g}=c.ownerDocument;if(g)s.add(g);return s}return l(c.parentNode)}if(!e)return s;return l(e)}function sL(e,r=window.frameElement){let a={x:0,y:0,scaleX:1,scaleY:1};if(!e)return a;let i=aL(e);while(i){if(i===r)return a;let f=u5(i),{x:s,y:l}=$gt(i,f);a.x=a.x+f.left,a.y=a.y+f.top,a.scaleX=a.scaleX*s,a.scaleY=a.scaleY*l,i=aL(i)}return a}function $gt(e,r=u5(e)){let a=Math.round(r.width),i=Math.round(r.height);if(tM(e))return{x:a/e.offsetWidth,y:i/e.offsetHeight};let f=_c(e,!0);return{x:(parseFloat(f.width)||a)/a,y:(parseFloat(f.height)||i)/i}}function eMt(e){if(!e||e==="none")return null;let r=e.split(" "),a=parseFloat(r[0]),i=parseFloat(r[1]);if(isNaN(a)&&isNaN(i))return null;return{x:isNaN(a)?i:a,y:isNaN(i)?a:i}}function VI(e){if(!e||e==="none")return null;let[r,a,i="0"]=e.split(" "),f={x:parseFloat(r),y:parseFloat(a),z:parseInt(i,10)};if(isNaN(f.x)&&isNaN(f.y))return null;return{x:isNaN(f.x)?0:f.x,y:isNaN(f.y)?0:f.y,z:isNaN(f.z)?0:f.z}}function c2(e){var r,a,i,f,s,l,c,m,g;let{scale:M,transform:v,translate:y}=e,x=eMt(M),_=VI(y),j=tMt(v);if(!j&&!x&&!_)return null;let U={x:(r=x==null?void 0:x.x)!=null?r:1,y:(a=x==null?void 0:x.y)!=null?a:1},T={x:(i=_==null?void 0:_.x)!=null?i:0,y:(f=_==null?void 0:_.y)!=null?f:0},N={x:(s=j==null?void 0:j.x)!=null?s:0,y:(l=j==null?void 0:j.y)!=null?l:0,scaleX:(c=j==null?void 0:j.scaleX)!=null?c:1,scaleY:(m=j==null?void 0:j.scaleY)!=null?m:1};return{x:T.x+N.x,y:T.y+N.y,z:(g=_==null?void 0:_.z)!=null?g:0,scaleX:U.x*N.scaleX,scaleY:U.y*N.scaleY}}function tMt(e){if(e.startsWith("matrix3d(")){let r=e.slice(9,-1).split(/, /);return{x:+r[12],y:+r[13],scaleX:+r[0],scaleY:+r[5]}}else if(e.startsWith("matrix(")){let r=e.slice(7,-1).split(/, /);return{x:+r[4],y:+r[5],scaleX:+r[0],scaleY:+r[3]}}return null}var Xl=((e)=>(e[e.Idle=0]="Idle",e[e.Forward=1]="Forward",e[e.Reverse=-1]="Reverse",e))(Xl||{}),rMt={x:0.2,y:0.2},oMt={x:10,y:10};function Tle(e,r,a,i=25,f=rMt,s=oMt){let{x:l,y:c}=r,{rect:m,isTop:g,isBottom:M,isLeft:v,isRight:y}=Rle(e),x=sL(e),_=_c(e,!0),j=c2(_),U=j!==null?(j==null?void 0:j.scaleX)<0:!1,T=j!==null?(j==null?void 0:j.scaleY)<0:!1,N=new Qs(m.left*x.scaleX+x.x,m.top*x.scaleY+x.y,m.width*x.scaleX,m.height*x.scaleY),G={x:0,y:0},X={x:0,y:0},J={height:N.height*f.y,width:N.width*f.x};if(J.height>0&&(!g||T&&!M)&&c<=N.top+J.height&&(a==null?void 0:a.y)!==1&&l>=N.left-s.x&&l<=N.right+s.x)G.y=T?1:-1,X.y=i*Math.abs((N.top+J.height-c)/J.height);else if(J.height>0&&(!M||T&&!g)&&c>=N.bottom-J.height&&(a==null?void 0:a.y)!==-1&&l>=N.left-s.x&&l<=N.right+s.x)G.y=T?-1:1,X.y=i*Math.abs((N.bottom-J.height-c)/J.height);if(J.width>0&&(!y||U&&!v)&&l>=N.right-J.width&&(a==null?void 0:a.x)!==-1&&c>=N.top-s.y&&c<=N.bottom+s.y)G.x=U?-1:1,X.x=i*Math.abs((N.right-J.width-l)/J.width);else if(J.width>0&&(!v||U&&!y)&&l<=N.left+J.width&&(a==null?void 0:a.x)!==1&&c>=N.top-s.y&&c<=N.bottom+s.y)G.x=U?1:-1,X.x=i*Math.abs((N.left+J.width-l)/J.width);return{direction:G,speed:X}}function g5(e,{block:r="nearest",inline:a="nearest"}={}){if(!tM(e))return;let i=h5(e),f=[];for(let s of i){if(!tM(s))continue;let{top:l,left:c}=aMt(e,s),m=l,g=c;for(let M of f)m-=M.scrollTop,g-=M.scrollLeft;if(r!=="none"){let M=m<s.scrollTop,v=m+e.offsetHeight>s.scrollTop+s.clientHeight;if(M!==v)if(r==="center")s.scrollTop=m-s.clientHeight/2+e.offsetHeight/2;else if(M)s.scrollTop=m;else s.scrollTop=m+e.offsetHeight-s.clientHeight}if(a!=="none"){let M=g<s.scrollLeft,v=g+e.offsetWidth>s.scrollLeft+s.clientWidth;if(M!==v)if(a==="center")s.scrollLeft=g-s.clientWidth/2+e.offsetWidth/2;else if(M)s.scrollLeft=g;else s.scrollLeft=g+e.offsetWidth-s.clientWidth}f.push(s)}}function Mle(e){let r=0,a=0,i=e;while(i){r+=i.offsetTop,a+=i.offsetLeft;let f=i.offsetParent;if(!tM(f))break;r+=f.clientTop,a+=f.clientLeft,i=f}return{top:r,left:a}}function aMt(e,r){let a=Mle(e),i=Mle(r);return{top:a.top-i.top-r.clientTop,left:a.left-i.left-r.clientLeft}}function nMt(e,r,a){let{scaleX:i,scaleY:f,x:s,y:l}=r,c=e.left+s+(1-i)*parseFloat(a),m=e.top+l+(1-f)*parseFloat(a.slice(a.indexOf(" ")+1)),g=i?e.width*i:e.width,M=f?e.height*f:e.height;return{width:g,height:M,top:m,right:c+g,bottom:m+M,left:c}}function iMt(e,r,a){let{scaleX:i,scaleY:f,x:s,y:l}=r,c=e.left-s-(1-i)*parseFloat(a),m=e.top-l-(1-f)*parseFloat(a.slice(a.indexOf(" ")+1)),g=i?e.width/i:e.width,M=f?e.height/f:e.height;return{width:g,height:M,top:m,right:c+g,bottom:m+M,left:c}}function M5({element:e,keyframes:r,options:a}){return e.animate(r,a).finished}function Kq(e,r=_c(e).translate,a=!0){if(a){let i=Uq(e,(f)=>("translate"in f));if(i){let{translate:f=""}=i[0];if(typeof f==="string"){let s=VI(f);if(s)return s}}}if(r){let i=VI(r);if(i)return i}return{x:0,y:0,z:0}}var fMt=new Gq((e)=>setTimeout(e,0)),a2=new Map,sMt=a2.clear.bind(a2);function lMt(e){let r=e.ownerDocument,a=a2.get(r);if(a)return a;a=r.getAnimations(),a2.set(r,a),fMt.schedule(sMt);let i=a.filter((f)=>c5(f.effect)&&f.effect.target===e);return a2.set(e,i),a}function cMt(e,r){let a=lMt(e).filter((i)=>{var f,s;if(c5(i.effect)){let{target:l}=i.effect;if((s=l&&((f=r.isValidTarget)==null?void 0:f.call(r,l)))!=null?s:!0)return i.effect.getKeyframes().some((m)=>{for(let g of r.properties)if(m[g])return!0})}}).map((i)=>{let{effect:f,currentTime:s}=i,l=f==null?void 0:f.getComputedTiming().duration;if(i.pending||i.playState==="finished")return;if(typeof l=="number"&&typeof s=="number"&&s<l)return i.currentTime=l,()=>{i.currentTime=s}});if(a.length>0)return()=>a.forEach((i)=>i==null?void 0:i())}var wc=class extends Qs{constructor(e,r={}){var a,i,f,s;let{frameTransform:l=sL(e),ignoreTransforms:c,getBoundingClientRect:m=u5}=r,g=cMt(e,{properties:["transform","translate","scale","width","height"],isValidTarget:(J)=>(J!==e||Z5())&&J.contains(e)}),M=m(e),{top:v,left:y,width:x,height:_}=M,j,U=_c(e),T=c2(U),N={x:(a=T==null?void 0:T.scaleX)!=null?a:1,y:(i=T==null?void 0:T.scaleY)!=null?i:1},G=uMt(e,U);if(g==null||g(),T){if(j=iMt(M,T,U.transformOrigin),c||G)v=j.top,y=j.left,x=j.width,_=j.height}let X={width:(f=j==null?void 0:j.width)!=null?f:x,height:(s=j==null?void 0:j.height)!=null?s:_};if(G&&!c&&j){let J=nMt(j,G,U.transformOrigin);v=J.top,y=J.left,x=J.width,_=J.height,N.x=G.scaleX,N.y=G.scaleY}if(l){if(!c)y*=l.scaleX,x*=l.scaleX,v*=l.scaleY,_*=l.scaleY;y+=l.x,v+=l.y}super(y,v,x,_);this.scale=N,this.intrinsicWidth=X.width,this.intrinsicHeight=X.height}};function uMt(e,r){let a=e.getAnimations();if(!a.length)return null;let i,f,s,l=!1;for(let c of a){if(c.playState!=="running")continue;let m=c5(c.effect)?c.effect.getKeyframes():[],g=m[m.length-1];if(!g)continue;let{transform:M,translate:v,scale:y}=g;if(typeof M==="string"&&M)i=M,l=!0;if(typeof v==="string"&&v)f=v,l=!0;if(typeof y==="string"&&y)s=y,l=!0}if(!l)return null;return c2({transform:i!=null?i:r.transform,translate:f!=null?f:r.translate,scale:s!=null?s:r.scale})}function UI(e){return"style"in e&&typeof e.style==="object"&&e.style!==null&&"setProperty"in e.style&&"removeProperty"in e.style&&typeof e.style.setProperty==="function"&&typeof e.style.removeProperty==="function"}var Ale=class{constructor(e){this.element=e,this.initial=new Map}set(e,r=""){let{element:a}=this;if(!UI(a))return;for(let[i,f]of Object.entries(e)){let s=`${r}${i}`;if(!this.initial.has(s))this.initial.set(s,a.style.getPropertyValue(s));a.style.setProperty(s,typeof f==="string"?f:`${f}px`)}}remove(e,r=""){let{element:a}=this;if(!UI(a))return;for(let i of e){let f=`${r}${i}`;a.style.removeProperty(f)}}reset(){let{element:e}=this;if(!UI(e))return;for(let[r,a]of this.initial)e.style.setProperty(r,a);if(e.getAttribute("style")==="")e.removeAttribute("style")}};function y8(e){if(!e)return!1;return e instanceof xs(e).Element||n2(e)&&e.nodeType===Node.ELEMENT_NODE}function lL(e){if(!e)return!1;let{KeyboardEvent:r}=xs(e.target);return e instanceof r}function Ele(e){if(!e)return!1;let{PointerEvent:r}=xs(e.target);return e instanceof r}function Dle(e){if(!y8(e))return!1;let{tagName:r}=e;return r==="INPUT"||r==="TEXTAREA"||dMt(e)}function dMt(e){return e.hasAttribute("contenteditable")&&e.getAttribute("contenteditable")!=="false"}var Fq={};function v5(e){let r=Fq[e]==null?0:Fq[e]+1;return Fq[e]=r,`${e}-${r}`}var ZMt=({dragOperation:e,droppable:r})=>{let a=e.position.current;if(!a)return null;let{id:i}=r;if(!r.shape)return null;if(r.shape.containsPoint(a)){let f=pf.distance(r.shape.center,a);return{id:i,value:1/f,type:mZ.PointerIntersection,priority:pZ.High}}return null},pMt=({dragOperation:e,droppable:r})=>{let{shape:a}=e;if(!r.shape||!(a==null?void 0:a.current))return null;let i=a.current.intersectionArea(r.shape);if(i){let{position:f}=e,s=pf.distance(r.shape.center,f.current),c=i/(a.current.area+r.shape.area-i)/s;return{id:r.id,value:c,type:mZ.ShapeIntersection,priority:pZ.Normal}}return null},x5=(e)=>{var r;return(r=ZMt(e))!=null?r:pMt(e)},Ole=(e)=>{let{dragOperation:r,droppable:a}=e,{shape:i,position:f}=r;if(!a.shape)return null;let s=i?Qs.from(i.current.boundingRectangle).corners:void 0,c=Qs.from(a.shape.boundingRectangle).corners.reduce((m,g,M)=>{var v;return m+pf.distance(pf.from(g),(v=s==null?void 0:s[M])!=null?v:f.current)},0)/4;return{id:a.id,value:1/c,type:mZ.Collision,priority:pZ.Normal}};var{create:mMt,defineProperty:l9,defineProperties:hMt,getOwnPropertyDescriptor:gMt,getOwnPropertyDescriptors:MMt,getOwnPropertySymbols:_5}=Object,Hle=Object.prototype.hasOwnProperty,Wle=Object.prototype.propertyIsEnumerable,Gle=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),JI=(e)=>{throw TypeError(e)},Jq=(e,r,a)=>(r in e)?l9(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,g2=(e,r)=>{for(var a in r||(r={}))if(Hle.call(r,a))Jq(e,a,r[a]);if(_5){for(var a of _5(r))if(Wle.call(r,a))Jq(e,a,r[a])}return e},c9=(e,r)=>hMt(e,MMt(r)),jle=(e,r)=>l9(e,"name",{value:r,configurable:!0}),Kle=(e,r)=>{var a={};for(var i in e)if(Hle.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&_5){for(var i of _5(e))if(r.indexOf(i)<0&&Wle.call(e,i))a[i]=e[i]}return a},$I=(e)=>{var r;return[,,,mMt((r=e==null?void 0:e[Gle("metadata")])!=null?r:null)]},Xle=["class","method","getter","setter","accessor","field","value","get","set"],d2=(e)=>e!==void 0&&typeof e!=="function"?JI("Function expected"):e,vMt=(e,r,a,i,f)=>({kind:Xle[e],name:r,metadata:i,addInitializer:(s)=>a._?JI("Already initialized"):f.push(d2(s||null))}),pL=(e,r)=>Jq(r,Gle("metadata"),e[3]),yi=(e,r,a,i)=>{for(var f=0,s=e[r>>1],l=s&&s.length;f<l;f++)r&1?s[f].call(a):i=s[f].call(a,i);return i},Sc=(e,r,a,i,f,s)=>{var l,c,m,g,M,v=r&7,y=!!(r&8),x=!!(r&16),_=v>3?e.length+1:v?y?1:2:0,j=Xle[v+5],U=v>3&&(e[_-1]=[]),T=e[_]||(e[_]=[]),N=v&&(!x&&!y&&(f=f.prototype),v<5&&(v>3||!x)&&gMt(v<4?f:{get[a](){return Ta(this,s)},set[a](X){return ys(this,s,X)}},a));v?x&&v<4&&jle(s,(v>2?"set ":v>1?"get ":"")+a):jle(f,a);for(var G=i.length-1;G>=0;G--){if(g=vMt(v,a,m={},e[3],T),v){if(g.static=y,g.private=x,M=g.access={has:x?(X)=>xMt(f,X):(X)=>(a in X)},v^3)M.get=x?(X)=>(v^1?Ta:ZL)(X,f,v^4?s:N.get):(X)=>X[a];if(v>2)M.set=x?(X,J)=>ys(X,f,J,v^4?s:N.set):(X,J)=>X[a]=J}if(c=(0,i[G])(v?v<4?x?s:N[j]:v>4?void 0:{get:N.get,set:N.set}:f,g),m._=1,v^4||c===void 0)d2(c)&&(v>4?U.unshift(c):v?x?s=c:N[j]=c:f=c);else if(typeof c!=="object"||c===null)JI("Object expected");else d2(l=c.get)&&(N.get=l),d2(l=c.set)&&(N.set=l),d2(l=c.init)&&U.unshift(l)}return v||pL(e,f),N&&l9(f,a,N),x?v^4?s:N:f},u9=(e,r,a)=>r.has(e)||JI("Cannot "+a),xMt=(e,r)=>Object(r)!==r?JI('Cannot use the "in" operator on this value'):e.has(r),Ta=(e,r,a)=>(u9(e,r,"read from private field"),a?a.call(e):r.get(e)),Nn=(e,r,a)=>r.has(e)?JI("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),ys=(e,r,a,i)=>(u9(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),ZL=(e,r,a)=>(u9(e,r,"access private method"),a),Nle={role:"button",roleDescription:"draggable"},yMt="dnd-kit-description",bMt="dnd-kit-announcement",_Mt={draggable:"To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item in a given direction. Press space again to drop the item in its new position, or press escape to cancel."},wMt={dragstart({operation:{source:e}}){if(!e)return;return`Picked up draggable item ${e.id}.`},dragover({operation:{source:e,target:r}}){if(!e||e.id===(r==null?void 0:r.id))return;if(r)return`Draggable item ${e.id} was moved over droppable target ${r.id}.`;return`Draggable item ${e.id} is no longer over a droppable target.`},dragend({operation:{source:e,target:r},canceled:a}){if(!e)return;if(a)return`Dragging was cancelled. Draggable item ${e.id} was dropped.`;if(r)return`Draggable item ${e.id} was dropped over droppable target ${r.id}`;return`Draggable item ${e.id} was dropped.`}};function zMt(e){let r=e.tagName.toLowerCase();return["input","select","textarea","a","button"].includes(r)}function SMt(e,r){let a=document.createElement("div");return a.id=e,a.style.setProperty("display","none"),a.textContent=r,a}function LMt(e){let r=document.createElement("div");return r.id=e,r.setAttribute("role","status"),r.setAttribute("aria-live","polite"),r.setAttribute("aria-atomic","true"),r.style.setProperty("position","fixed"),r.style.setProperty("width","1px"),r.style.setProperty("height","1px"),r.style.setProperty("margin","-1px"),r.style.setProperty("border","0"),r.style.setProperty("padding","0"),r.style.setProperty("overflow","hidden"),r.style.setProperty("clip","rect(0 0 0 0)"),r.style.setProperty("clip-path","inset(100%)"),r.style.setProperty("white-space","nowrap"),r}var kMt=["dragover","dragmove"],CMt=class extends Bi{constructor(e,r){super(e);let{id:a,idPrefix:{description:i=yMt,announcement:f=bMt}={},announcements:s=wMt,screenReaderInstructions:l=_Mt,debounce:c=500}=r!=null?r:{},m=a?`${i}-${a}`:v5(i),g=a?`${f}-${a}`:v5(f),M,v,y,x,_=(J=x)=>{if(!y||!J)return;if((y==null?void 0:y.nodeValue)!==J)y.nodeValue=J},j=()=>l2.schedule(_),U=IMt(j,c),T=Object.entries(s).map(([J,ee])=>this.manager.monitor.addEventListener(J,(re,oe)=>{let ae=y;if(!ae)return;let ye=ee==null?void 0:ee(re,oe);if(ye&&ae.nodeValue!==ye)if(x=ye,kMt.includes(J))U();else j(),U.cancel()})),N=()=>{let J=[];if(!(M==null?void 0:M.isConnected))M=SMt(m,l.draggable),J.push(M);if(!(v==null?void 0:v.isConnected))v=LMt(g),y=document.createTextNode(""),v.appendChild(y),J.push(v);if(J.length>0)document.body.append(...J)},G=new Set;function X(){for(let J of G)J()}this.registerEffect(()=>{var J;G.clear();for(let ee of this.manager.registry.draggables.value){let re=(J=ee.handle)!=null?J:ee.element;if(re){if(!M||!v)G.add(N);if((!zMt(re)||Z5())&&!re.hasAttribute("tabindex"))G.add(()=>re.setAttribute("tabindex","0"));if(!re.hasAttribute("role")&&re.tagName.toLowerCase()!=="button")G.add(()=>re.setAttribute("role",Nle.role));if(!re.hasAttribute("aria-roledescription"))G.add(()=>re.setAttribute("aria-roledescription",Nle.roleDescription));if(!re.hasAttribute("aria-describedby"))G.add(()=>re.setAttribute("aria-describedby",m));for(let ae of["aria-pressed","aria-grabbed"]){let ye=String(ee.isDragging);if(re.getAttribute(ae)!==ye)G.add(()=>re.setAttribute(ae,ye))}let oe=String(ee.disabled);if(re.getAttribute("aria-disabled")!==oe)G.add(()=>re.setAttribute("aria-disabled",oe))}}if(G.size>0)l2.schedule(X)}),this.destroy=()=>{super.destroy(),M==null||M.remove(),v==null||v.remove(),T.forEach((J)=>J())}}};function IMt(e,r){let a,i=()=>{clearTimeout(a),a=setTimeout(e,r)};return i.cancel=()=>clearTimeout(a),i}var w5=new Map,Qle,Jle,$le,ece,$q,m2,rM,d9,XI,tce,rce,oce,ace,S8=class extends($q=YI,ece=[ko],$le=[qa],Jle=[qa],Qle=[qa],$q){constructor(r,a){super(r,a);yi(rM,5,this),Nn(this,XI),Nn(this,m2,new Set),Nn(this,d9,yi(rM,8,this,new Set)),yi(rM,11,this),this.registerEffect(ZL(this,XI,tce))}register(r){return Ta(this,m2).add(r),()=>{Ta(this,m2).delete(r)}}addRoot(r){return po(()=>{let a=new Set(this.additionalRoots);a.add(r),this.additionalRoots=a}),()=>{po(()=>{let a=new Set(this.additionalRoots);a.delete(r),this.additionalRoots=a})}}get sourceRoot(){var r;let{source:a}=this.manager.dragOperation;return i2((r=a==null?void 0:a.element)!=null?r:null)}get targetRoot(){var r;let{target:a}=this.manager.dragOperation;return i2((r=a==null?void 0:a.element)!=null?r:null)}get roots(){let{status:r}=this.manager.dragOperation;if(r.initializing||r.initialized){let a=[this.sourceRoot,this.targetRoot].filter((i)=>i!=null);return new Set([...a,...this.additionalRoots])}return new Set}};rM=$I($q);m2=new WeakMap;d9=new WeakMap;XI=new WeakSet;tce=function(){let{roots:e}=this,r=[];for(let a of e)for(let i of Ta(this,m2))r.push(ZL(this,XI,rce).call(this,a,i));return()=>{for(let a of r)a()}};rce=function(e,r){let a=w5.get(e);if(!a)a=new Map,w5.set(e,a);let i=a.get(r);if(!i){let s=d5(e)?ZL(this,XI,oce).call(this,e,a,r):ZL(this,XI,ace).call(this,e,a,r);if(!s)return()=>{};i=s,a.set(r,i)}i.refCount++;let f=!1;return()=>{if(f)return;if(f=!0,i.refCount--,i.refCount===0)i.cleanup()}};oce=function(e,r,a){var i;let f=e.createElement("style"),{nonce:s}=(i=this.options)!=null?i:{};if(s)f.setAttribute("nonce",s);f.textContent=a,e.head.prepend(f);let l=new MutationObserver((c)=>{for(let m of c)for(let g of Array.from(m.removedNodes))if(g===f){e.head.prepend(f);return}});return l.observe(e.head,{childList:!0}),{refCount:0,cleanup:()=>{if(l.disconnect(),f.remove(),r.delete(a),r.size===0)w5.delete(e)}}};ace=function(e,r,a){"adoptedStyleSheets"in e&&Array.isArray(e.adoptedStyleSheets);let i=e.ownerDocument.defaultView,{CSSStyleSheet:f}=i!=null?i:{};if(!f)return null;let s=new f;return s.replaceSync(a),e.adoptedStyleSheets.push(s),{refCount:0,cleanup:()=>{var l;if(p5(e)&&((l=e.host)==null?void 0:l.isConnected)){let c=e.adoptedStyleSheets.indexOf(s);if(c!==-1)e.adoptedStyleSheets.splice(c,1)}if(r.delete(a),r.size===0)w5.delete(e)}}};Sc(rM,4,"additionalRoots",ece,S8,d9);Sc(rM,2,"sourceRoot",$le,S8);Sc(rM,2,"targetRoot",Jle,S8);Sc(rM,2,"roots",Qle,S8);pL(rM,S8);S8.configure=ei(S8);var k5=S8,RMt=class extends Bi{constructor(e,r){super(e,r);this.manager=e;let{cursor:a="grabbing"}=r!=null?r:{},i=e.registry.plugins.get(k5),f=i==null?void 0:i.register(`* { cursor: ${a} !important; }`);if(f){let s=this.destroy.bind(this);this.destroy=()=>{f(),s()}}}},y2="data-dnd-",e9=`${y2}dropping`,ef="--dnd-",hZ=`${y2}dragging`,z5=`${y2}placeholder`,PMt=[hZ,z5,"popover","aria-pressed","aria-grabbing"],TMt=["view-transition-name"],AMt=`
86
- :is(:root,:host) [${hZ}] {
87
- position: fixed !important;
88
- pointer-events: none !important;
89
- touch-action: none;
90
- z-index: calc(infinity);
91
- will-change: translate;
92
- top: var(${ef}top, 0px) !important;
93
- left: var(${ef}left, 0px) !important;
94
- right: unset !important;
95
- bottom: unset !important;
96
- width: var(${ef}width, auto);
97
- max-width: var(${ef}width, auto);
98
- height: var(${ef}height, auto);
99
- max-height: var(${ef}height, auto);
100
- transform: var(${ef}transform, none) !important;
101
- transition: var(${ef}transition) !important;
102
- }
103
-
104
- :is(:root,:host) [${z5}] {
105
- transition: none;
106
- }
107
-
108
- :is(:root,:host) [${z5}='hidden'] {
109
- visibility: hidden;
110
- }
111
-
112
- [${hZ}] * {
113
- pointer-events: none !important;
114
- }
115
-
116
- [${hZ}]:not([${e9}]) {
117
- translate: var(${ef}translate) !important;
118
- }
119
-
120
- [${hZ}][style*='${ef}scale'] {
121
- scale: var(${ef}scale) !important;
122
- transform-origin: var(${ef}transform-origin) !important;
123
- }
124
-
125
- @layer dnd-kit {
126
- :where([${hZ}][popover]) {
127
- overflow: visible;
128
- background: unset;
129
- border: unset;
130
- margin: unset;
131
- padding: unset;
132
- color: inherit;
133
-
134
- &:is(input, button) {
135
- border: revert;
136
- background: revert;
137
- }
138
- }
139
- }
140
- [${hZ}]::backdrop, [${y2}overlay]:not([${hZ}]) {
141
- display: none;
142
- visibility: hidden;
143
- }
144
- `.replace(/\n+/g," ").replace(/\s+/g," ").trim();function EMt(e,r="hidden"){return po(()=>{let{element:a,manager:i}=e;if(!a||!i)return;let f=DMt(a,i.registry.droppables),s=[],l=_le(a),{remove:c}=l;return OMt(f,l,s),jMt(l,r),l.remove=()=>{s.forEach((m)=>m()),c.call(l)},l})}function DMt(e,r){let a=new Map;for(let i of r){if(!i.element)continue;if(e===i.element||e.contains(i.element)){let f=`${y2}${v5("dom-id")}`;i.element.setAttribute(f,""),a.set(i,f)}}return a}function OMt(e,r,a){for(let[i,f]of e){if(!i.element)continue;let s=`[${f}]`,l=r.matches(s)?r:r.querySelector(s);if(i.element.removeAttribute(f),!l)continue;let c=i.element;i.proxy=l,l.removeAttribute(f),s2.set(c,l),a.push(()=>{s2.delete(c),i.proxy=void 0})}}function jMt(e,r="hidden"){e.setAttribute("inert","true"),e.setAttribute("tab-index","-1"),e.setAttribute("aria-hidden","true"),e.setAttribute(z5,r)}function nce(e,r){if(e===r)return!0;return aL(e)===aL(r)}function Fle(e){let{target:r}=e;if("newState"in e&&e.newState==="closed"&&y8(r)&&r.hasAttribute("popover"))requestAnimationFrame(()=>fL(r))}function t9(e){return e.tagName==="TR"}function NMt(e,r,a){let i=new MutationObserver((f)=>{let s=!1;for(let l of f){if(l.target!==e){s=!0;continue}if(l.type!=="attributes")continue;let c=l.attributeName;if(c.startsWith("aria-")||PMt.includes(c))continue;let m=e.getAttribute(c);if(c==="style"){if(UI(e)&&UI(r)){let g=e.style;for(let M of Array.from(r.style))if(g.getPropertyValue(M)==="")r.style.removeProperty(M);for(let M of Array.from(g)){if(TMt.includes(M)||M.startsWith(ef))continue;let v=g.getPropertyValue(M);r.style.setProperty(M,v)}}}else if(m!==null)r.setAttribute(c,m);else r.removeAttribute(c)}if(s&&a)r.replaceChildren(...e.cloneNode(!0).childNodes)});return i.observe(e,{attributes:!0,subtree:!0,childList:!0}),i}function FMt(e,r,a){let i=new MutationObserver((f)=>{for(let s of f){if(s.addedNodes.length===0)continue;for(let l of Array.from(s.addedNodes)){if(l.contains(e)&&e.nextElementSibling!==r){e.insertAdjacentElement("afterend",r),fL(a);return}if(l.contains(r)&&r.previousElementSibling!==e){r.insertAdjacentElement("beforebegin",e),fL(a);return}}}if(e.isConnected&&r.isConnected&&e.nextElementSibling!==r)e.insertAdjacentElement("afterend",r),fL(a)});return i.observe(e.ownerDocument.body,{childList:!0,subtree:!0}),i}function BMt(e){return new ResizeObserver(()=>{var r,a,i;let f=new wc(e.placeholder,{frameTransform:e.frameTransform,ignoreTransforms:!0}),s=(r=e.transformOrigin)!=null?r:{x:1,y:1},l=(e.width-f.width)*s.x+e.delta.x,c=(e.height-f.height)*s.y+e.delta.y,m=Vq();if(e.styles.set({width:f.width-e.widthOffset,height:f.height-e.heightOffset,top:e.top+c+m.y,left:e.left+l+m.x},ef),(a=e.getElementMutationObserver())==null||a.takeRecords(),t9(e.element)&&t9(e.placeholder)){let j=Array.from(e.element.cells),U=Array.from(e.placeholder.cells);if(!e.getSavedCellWidths())e.setSavedCellWidths(j.map((T)=>T.style.width));for(let[T,N]of j.entries()){let G=U[T];N.style.width=`${G.getBoundingClientRect().width}px`}}let g=(i=e.getTranslate())!=null?i:{x:0,y:0},M=e.left+l+m.x+g.x,v=e.top+c+m.y+g.y,y=f.width-e.widthOffset,x=f.height-e.heightOffset,_=e.frameTransform;e.dragOperation.shape=new Qs(M*_.scaleX+_.x,v*_.scaleY+_.y,y*_.scaleX,x*_.scaleY)})}var YMt=250,UMt="ease";function qMt(e){var r,a,i,f;let{animation:s}=e;if(typeof s==="function"){let N=s({source:e.source,element:e.element,feedbackElement:e.feedbackElement,placeholder:e.placeholder,translate:e.translate,moved:e.moved});Promise.resolve(N).then(()=>{e.cleanup(),requestAnimationFrame(e.restoreFocus)});return}let{duration:l=YMt,easing:c=UMt}=s!=null?s:{};fL(e.feedbackElement);let[,m]=(r=Uq(e.feedbackElement,(N)=>("translate"in N)))!=null?r:[];m==null||m.pause();let g=(a=e.placeholder)!=null?a:e.element,M={frameTransform:nce(e.feedbackElement,g)?null:void 0},v=new wc(e.feedbackElement,M),y=(i=VI(_c(e.feedbackElement).translate))!=null?i:e.translate,x=new wc(g,M),_=Qs.delta(v,x,e.alignment),j={x:y.x-_.x,y:y.y-_.y},U=Math.round(v.intrinsicHeight)!==Math.round(x.intrinsicHeight)?{minHeight:[`${v.intrinsicHeight}px`,`${x.intrinsicHeight}px`],maxHeight:[`${v.intrinsicHeight}px`,`${x.intrinsicHeight}px`]}:{},T=Math.round(v.intrinsicWidth)!==Math.round(x.intrinsicWidth)?{minWidth:[`${v.intrinsicWidth}px`,`${x.intrinsicWidth}px`],maxWidth:[`${v.intrinsicWidth}px`,`${x.intrinsicWidth}px`]}:{};e.styles.set({transition:e.transition},ef),e.feedbackElement.setAttribute(e9,""),(f=e.getElementMutationObserver())==null||f.takeRecords(),M5({element:e.feedbackElement,keyframes:c9(g2(g2({},U),T),{translate:[`${y.x}px ${y.y}px 0`,`${j.x}px ${j.y}px 0`]}),options:{duration:f2(xs(e.feedbackElement))?0:e.moved||e.feedbackElement!==e.element?l:0,easing:c}}).then(()=>{e.feedbackElement.removeAttribute(e9),m==null||m.finish(),e.cleanup(),requestAnimationFrame(e.restoreFocus)})}var ice,r9,M2,Z9,b5,fce,sce,QI=class extends(r9=Bi,ice=[ko],r9){constructor(r,a){super(r,a);Nn(this,b5),Nn(this,Z9,yi(M2,8,this)),yi(M2,11,this),this.state={initial:{},current:{}};let i=r.registry.plugins.get(k5),f=i==null?void 0:i.register(AMt);if(f){let s=this.destroy.bind(this);this.destroy=()=>{f(),s()}}this.registerEffect(ZL(this,b5,fce).bind(this,i)),this.registerEffect(ZL(this,b5,sce))}};M2=$I(r9);Z9=new WeakMap;b5=new WeakSet;fce=function(e){let{overlay:r}=this;if(!r||!e)return;let a=i2(r);if(!a)return;return e.addRoot(a)};sce=function(){var e,r,a,i,f,s,l;let{state:c,manager:m,options:g}=this,{dragOperation:M}=m,{position:v,source:y,status:x}=M;if(x.idle){c.current={},c.initial={};return}if(!y)return;let{element:_}=y,j=y.pluginConfig(QI),U=(r=(e=j==null?void 0:j.feedback)!=null?e:g==null?void 0:g.feedback)!=null?r:"default",T=typeof U==="function"?U(y,m):U;if(!_||T==="none"||!x.initialized||x.initializing)return;let{initial:N}=c,G=(a=this.overlay)!=null?a:_,X=sL(G),J=sL(_),ee=!nce(_,G),re=new wc(_,{frameTransform:ee?J:null,ignoreTransforms:!ee}),oe={x:J.scaleX/X.scaleX,y:J.scaleY/X.scaleY},{width:ae,height:ye,top:We,left:Ye}=re;if(ee)ae=ae/oe.x,ye=ye/oe.y;let ze=new Ale(G),qe=_c(_),{transition:ut,translate:$e,boxSizing:xt,paddingBlockStart:Dt,paddingBlockEnd:Yt,paddingInlineStart:fe,paddingInlineEnd:yt,borderInlineStartWidth:Wt,borderInlineEndWidth:Ee,borderBlockStartWidth:lr,borderBlockEndWidth:sr}=qe,Jt=ut.split(",").filter((_t)=>!/^\s*(transform|translate|scale)\b/.test(_t)).join(","),Or=c2(qe),Gt=qe.transform,Kt=T==="clone",ur=xt==="content-box",Ir=ur?parseInt(fe)+parseInt(yt)+parseInt(Wt)+parseInt(Ee):0,Er=ur?parseInt(Dt)+parseInt(Yt)+parseInt(lr)+parseInt(sr):0,dr=T!=="move"&&!this.overlay?EMt(y,Kt?"clone":"hidden"):null,mo=po(()=>lL(m.dragOperation.activatorEvent));if(!N.translate){if(this.overlay&&Or)N.translate={x:Or.x,y:Or.y};else if($e!=="none"){let _t=VI($e);if(_t)N.translate=_t}}if(!N.transformOrigin){let _t=po(()=>v.current),qt=Ye+((i=Or==null?void 0:Or.x)!=null?i:0),Rr=We+((f=Or==null?void 0:Or.y)!=null?f:0);N.transformOrigin={x:(_t.x-qt*X.scaleX-X.x)/(ae*X.scaleX),y:(_t.y-Rr*X.scaleY-X.y)/(ye*X.scaleY)}}let{transformOrigin:or}=N,Yr=We*X.scaleY+X.y,uo=Ye*X.scaleX+X.x;if(!N.coordinates){if(N.coordinates={x:uo,y:Yr},oe.x!==1||oe.y!==1){let{scaleX:_t,scaleY:qt}=J,{x:Rr,y:jr}=or;N.coordinates.x+=(ae*_t-ae)*Rr,N.coordinates.y+=(ye*qt-ye)*jr}}if(!N.dimensions)N.dimensions={width:ae,height:ye};if(!N.frameTransform)N.frameTransform=X;let jo={x:N.coordinates.x-uo,y:N.coordinates.y-Yr},ho={width:(N.dimensions.width*N.frameTransform.scaleX-ae*X.scaleX)*or.x,height:(N.dimensions.height*N.frameTransform.scaleY-ye*X.scaleY)*or.y},Kn={x:jo.x/X.scaleX+ho.width,y:jo.y/X.scaleY+ho.height},un={left:Ye+Kn.x,top:We+Kn.y};G.setAttribute(hZ,"true");let Vo=po(()=>M.transform),Pn=(s=N.translate)!=null?s:{x:0,y:0},$a=Vo.x*X.scaleX+Pn.x,Hi=Vo.y*X.scaleY+Pn.y,Ke=Vq();if(ze.set({width:ae-Ir,height:ye-Er,top:un.top+Ke.y,left:un.left+Ke.x,translate:`${$a}px ${Hi}px 0`,transform:this.overlay?"none":Gt,transition:Jt?`${Jt}, translate 0ms linear`:"translate 0ms linear",scale:ee?`${oe.x} ${oe.y}`:"","transform-origin":`${or.x*100}% ${or.y*100}%`},ef),dr){if(_.insertAdjacentElement("afterend",dr),g==null?void 0:g.rootElement)(typeof g.rootElement==="function"?g.rootElement(y):g.rootElement).appendChild(_)}if(m5(G)){if(!G.hasAttribute("popover"))G.setAttribute("popover","manual");fL(G),G.addEventListener("beforetoggle",Fle)}let Ct,gr,Fr,ao=BMt({placeholder:dr,element:_,feedbackElement:G,frameTransform:X,transformOrigin:or,width:ae,height:ye,top:We,left:Ye,widthOffset:Ir,heightOffset:Er,delta:Kn,styles:ze,dragOperation:M,getTranslate:()=>c.current.translate,getElementMutationObserver:()=>Ct,getSavedCellWidths:()=>Fr,setSavedCellWidths:(_t)=>{Fr=_t}}),Ho=new wc(G);po(()=>M.shape=Ho);let Ia=xs(G),Se=(_t)=>{this.manager.actions.stop({event:_t})},Pe=f2(Ia);if(mo)Ia.addEventListener("resize",Se);if(po(()=>y.status)==="idle")requestAnimationFrame(()=>y.status="dragging");if(dr)ao.observe(dr),Ct=NMt(_,dr,Kt),gr=FMt(_,dr,G);let De=(l=m.dragOperation.source)==null?void 0:l.id,Zt=()=>{var _t;if(!mo||De==null)return;let qt=m.registry.draggables.get(De),Rr=(_t=qt==null?void 0:qt.handle)!=null?_t:qt==null?void 0:qt.element;if(tM(Rr))Rr.focus()},zt=()=>{if(Ct==null||Ct.disconnect(),gr==null||gr.disconnect(),ao.disconnect(),Ia.removeEventListener("resize",Se),m5(G))G.removeEventListener("beforetoggle",Fle),G.removeAttribute("popover");G.removeAttribute(hZ),ze.reset();let _t=()=>{var qt;if(Fr&&t9(_)){let ea=Array.from(_.cells);for(let[nr,Go]of ea.entries())Go.style.width=(qt=Fr[nr])!=null?qt:""}y.status="idle";let Rr=c.current.translate!=null,jr=M.status.dragging;if(dr&&(!jr&&Rr||dr.parentElement!==G.parentElement)&&G.isConnected)dr.replaceWith(G);dr==null||dr.remove()};if(G===this.overlay)setTimeout(_t,0);else _t()},Ot=g==null?void 0:g.dropAnimation,fr=this,At=$z(()=>{var _t,qt,Rr;let{transform:jr,status:ea}=M;if(!jr.x&&!jr.y&&!c.current.translate)return;if(ea.dragging){let nr=(_t=N.translate)!=null?_t:{x:0,y:0},Go={x:jr.x/X.scaleX+nr.x,y:jr.y/X.scaleY+nr.y},Za=c.current.translate,Qn=po(()=>M.modifiers),ff=po(()=>{var sf;return(sf=M.shape)==null?void 0:sf.current}),La=g==null?void 0:g.keyboardTransition,rs=mo&&!Pe&&La!==null?`${(qt=La==null?void 0:La.duration)!=null?qt:250}ms ${(Rr=La==null?void 0:La.easing)!=null?Rr:"cubic-bezier(0.25, 1, 0.5, 1)"}`:"0ms linear";if(ze.set({transition:Jt?`${Jt}, translate ${rs}`:`translate ${rs}`,translate:`${Go.x}px ${Go.y}px 0`},ef),Ct==null||Ct.takeRecords(),ff&&ff!==Ho&&Za&&!Qn.length){let sf=pf.delta(Go,Za);M.shape=Qs.from(ff.boundingRectangle).translate(sf.x*X.scaleX,sf.y*X.scaleY)}else M.shape=new wc(G);c.current.translate=Go}},function(){if(M.status.dropped){this.dispose(),y.status="dropping";let _t=(j==null?void 0:j.dropAnimation)!==void 0?j.dropAnimation:fr.dropAnimation!==void 0?fr.dropAnimation:Ot,qt=c.current.translate,Rr=qt!=null;if(!qt&&_!==G)qt={x:0,y:0};if(!qt||_t===null){zt();return}m.renderer.rendering.then(()=>{qMt({source:y,element:_,feedbackElement:G,placeholder:dr,translate:qt,moved:Rr,transition:ut,alignment:y.alignment,styles:ze,animation:_t!=null?_t:void 0,getElementMutationObserver:()=>Ct,cleanup:zt,restoreFocus:Zt})})}});return()=>{zt(),At()}};Sc(M2,4,"overlay",ice,QI,Z9);pL(M2,QI);QI.configure=ei(QI);var gs=QI,u2=!0,VMt=!1,lce,cce,uce,dce,_8,p9,m9;dce=(uce=[ko],Xl.Forward),cce=(lce=[ko],Xl.Reverse);var v2=class{constructor(){Nn(this,p9,yi(_8,8,this,u2)),yi(_8,11,this),Nn(this,m9,yi(_8,12,this,u2)),yi(_8,15,this)}isLocked(e){if(e===Xl.Idle)return!1;if(e==null)return this[Xl.Forward]===u2&&this[Xl.Reverse]===u2;return this[e]===u2}unlock(e){if(e===Xl.Idle)return;this[e]=VMt}};_8=$I(null);p9=new WeakMap;m9=new WeakMap;Sc(_8,4,dce,uce,v2,p9);Sc(_8,4,cce,lce,v2,m9);pL(_8,v2);var HMt=[Xl.Forward,Xl.Reverse],Ble=class{constructor(){this.x=new v2,this.y=new v2}isLocked(){return this.x.isLocked()&&this.y.isLocked()}},WMt=class extends Bi{constructor(e){super(e);let r=dZ(new Ble),a=null;this.signal=r,gi(()=>{let{status:i}=e.dragOperation;if(!i.initialized){a=null,r.value=new Ble;return}let{delta:f}=e.dragOperation.position;if(a){let s={x:Yle(f.x,a.x),y:Yle(f.y,a.y)},l=r.peek();Jo(()=>{for(let c of uq)for(let m of HMt)if(s[c]===m)l[c].unlock(m);r.value=l})}a=f})}get current(){return this.signal.peek()}};function Yle(e,r){return Math.sign(e-r)}var Zce,o9,x2,h9,b8,a9,eR=class extends(o9=YI,Zce=[ko],o9){constructor(e){super(e);Nn(this,h9,yi(x2,8,this,!1)),yi(x2,11,this),Nn(this,b8),Nn(this,a9,()=>{if(!Ta(this,b8))return;let{element:s,by:l}=Ta(this,b8);if(l.y)s.scrollTop+=l.y;if(l.x)s.scrollLeft+=l.x}),this.scroll=(s,l)=>{var c;if(this.disabled)return!1;let m=this.getScrollableElements();if(!m)return ys(this,b8,void 0),!1;let{position:g}=this.manager.dragOperation,M=g==null?void 0:g.current;if(M){let{by:v}=s!=null?s:{},y=v?{x:Ule(v.x),y:Ule(v.y)}:void 0,x=y?void 0:this.scrollIntentTracker.current;if(x==null?void 0:x.isLocked())return!1;for(let _ of m){let j=Ple(_,v);if(j.x||j.y){let{speed:U,direction:T}=Tle(_,M,y,l==null?void 0:l.acceleration,l==null?void 0:l.threshold);if(x){for(let N of uq)if(x[N].isLocked(T[N]))U[N]=0,T[N]=0}if(T.x||T.y){let{x:N,y:G}=v!=null?v:T,X=N*U.x,J=G*U.y;if(X||J){let ee=(c=Ta(this,b8))==null?void 0:c.by;if(this.autoScrolling&&ee){if(ee.x&&!X||ee.y&&!J)continue}return ys(this,b8,{element:_,by:{x:X,y:J}}),l2.schedule(Ta(this,a9)),!0}}}}}return ys(this,b8,void 0),!1};let r=null,a=null,i=PI(()=>{let{position:s,source:l}=e.dragOperation;if(!s)return null;let c=Hq(i2(l==null?void 0:l.element),s.current);if(c)r=c;return c!=null?c:r}),f=PI(()=>{let s=i.value,{documentElement:l}=nL(s);if(!s||s===l){let{target:c}=e.dragOperation,m=c==null?void 0:c.element;if(m){let g=h5(m,{excludeElement:!1});return a=g,g}}if(s){let c=h5(s,{excludeElement:!1});if(this.autoScrolling&&a&&c.size<(a==null?void 0:a.size))return a;return a=c,c}return a=null,null},Ji);this.getScrollableElements=()=>f.value,this.scrollIntentTracker=new WMt(e),this.destroy=e.monitor.addEventListener("dragmove",(s)=>{if(this.disabled||s.defaultPrevented||!lL(e.dragOperation.activatorEvent)||!s.by)return;if(this.scroll({by:s.by}))s.preventDefault()})}};x2=$I(o9);h9=new WeakMap;b8=new WeakMap;a9=new WeakMap;Sc(x2,4,"autoScrolling",Zce,eR,h9);pL(x2,eR);function Ule(e){if(e>0)return Xl.Forward;if(e<0)return Xl.Reverse;return Xl.Idle}var GMt=class{constructor(e){this.scheduler=e,this.pending=!1,this.tasks=new Set,this.resolvers=new Set,this.flush=()=>{let{tasks:r,resolvers:a}=this;this.pending=!1,this.tasks=new Set,this.resolvers=new Set;for(let i of r)i();for(let i of a)i()}}schedule(e){if(this.tasks.add(e),!this.pending)this.pending=!0,this.scheduler(this.flush);return new Promise((r)=>this.resolvers.add(r))}},KMt=new GMt((e)=>{if(typeof requestAnimationFrame==="function")requestAnimationFrame(e);else e()}),XMt=10,n9=class extends Bi{constructor(r,a){super(r,a);let i=r.registry.plugins.get(eR);if(!i)throw Error("AutoScroller plugin depends on Scroller plugin");this.destroy=gi(()=>{var f,s,l;if(this.disabled)return;let{position:c,status:m}=r.dragOperation;if(m.dragging){let g={acceleration:(f=this.options)==null?void 0:f.acceleration,threshold:typeof((s=this.options)==null?void 0:s.threshold)==="number"?{x:this.options.threshold,y:this.options.threshold}:(l=this.options)==null?void 0:l.threshold};if(i.scroll(void 0,g)){i.autoScrolling=!0;let v=setInterval(()=>KMt.schedule(()=>i.scroll(void 0,g)),XMt);return()=>{clearInterval(v)}}else i.autoScrolling=!1}})}};n9.configure=ei(n9);var pce=n9,qle={capture:!0,passive:!0},Z2,QMt=class extends YI{constructor(e){super(e);Nn(this,Z2),this.handleScroll=()=>{if(Ta(this,Z2)==null)ys(this,Z2,setTimeout(()=>{this.manager.collisionObserver.forceUpdate(!1),ys(this,Z2,void 0)},50))};let{dragOperation:r}=this.manager;this.destroy=gi(()=>{var a,i,f;if(r.status.dragging){let l=(f=(i=(a=r.source)==null?void 0:a.element)==null?void 0:i.ownerDocument)!=null?f:document;return l.addEventListener("scroll",this.handleScroll,qle),()=>{l.removeEventListener("scroll",this.handleScroll,qle)}}})}};Z2=new WeakMap;var JMt="* { user-select: none !important; -webkit-user-select: none !important; }",$Mt=class extends Bi{constructor(e){super(e);this.manager=e;let r=e.registry.plugins.get(k5),a=r==null?void 0:r.register(JMt);if(this.destroy=gi(()=>{let{dragOperation:i}=this.manager;if(i.status.initialized)return Xq(),document.addEventListener("selectionchange",Xq,{capture:!0}),()=>{document.removeEventListener("selectionchange",Xq,{capture:!0})}}),a){let i=this.destroy.bind(this);this.destroy=()=>{a(),i()}}}};function Xq(){var e;(e=document.getSelection())==null||e.removeAllRanges()}var p2=Object.freeze({offset:10,keyboardCodes:{start:["Space","Enter"],cancel:["Escape"],end:["Space","Enter","Tab"],up:["ArrowUp"],down:["ArrowDown"],left:["ArrowLeft"],right:["ArrowRight"]},preventActivation(e,r){var a;let i=(a=r.handle)!=null?a:r.element;return e.target!==i}}),WI,S5=class extends eL{constructor(r,a){super(r);this.manager=r,this.options=a,Nn(this,WI,[]),this.listeners=new Wq,this.handleSourceKeyDown=(i,f,s)=>{if(this.disabled||i.defaultPrevented)return;if(!y8(i.target))return;if(f.disabled)return;let{keyboardCodes:l=p2.keyboardCodes,preventActivation:c=p2.preventActivation}=s!=null?s:{};if(!l.start.includes(i.code))return;if(!this.manager.dragOperation.status.idle)return;if(c==null?void 0:c(i,f))return;this.handleStart(i,f,s)}}bind(r,a=this.options){return gi(()=>{var f;let s=(f=r.handle)!=null?f:r.element,l=(c)=>{if(lL(c))this.handleSourceKeyDown(c,r,a)};if(s)return s.addEventListener("keydown",l),()=>{s.removeEventListener("keydown",l)}})}handleStart(r,a,i){let{element:f}=a;if(!f)throw Error("Source draggable does not have an associated element");r.preventDefault(),r.stopImmediatePropagation(),g5(f);let{center:s}=new wc(f);if(this.manager.actions.start({event:r,coordinates:{x:s.x,y:s.y},source:a}).signal.aborted)return this.cleanup();this.sideEffects();let c=nL(f),m=[this.listeners.bind(c,[{type:"keydown",listener:(g)=>this.handleKeyDown(g,a,i),options:{capture:!0}}])];Ta(this,WI).push(...m)}handleKeyDown(r,a,i){let{keyboardCodes:f=p2.keyboardCodes}=i!=null?i:{};if(HI(r,[...f.end,...f.cancel])){r.preventDefault();let s=HI(r,f.cancel);this.handleEnd(r,s);return}if(HI(r,f.up))this.handleMove("up",r);else if(HI(r,f.down))this.handleMove("down",r);if(HI(r,f.left))this.handleMove("left",r);else if(HI(r,f.right))this.handleMove("right",r)}handleEnd(r,a){this.manager.actions.stop({event:r,canceled:a}),this.cleanup()}handleMove(r,a){var i,f;let{shape:s}=this.manager.dragOperation,l=a.shiftKey?5:1,c={x:0,y:0},m=(f=(i=this.options)==null?void 0:i.offset)!=null?f:p2.offset;if(typeof m==="number")m={x:m,y:m};if(!s)return;switch(r){case"up":c={x:0,y:-m.y*l};break;case"down":c={x:0,y:m.y*l};break;case"left":c={x:-m.x*l,y:0};break;case"right":c={x:m.x*l,y:0};break}if(c.x||c.y)a.preventDefault(),this.manager.actions.move({event:a,by:c})}sideEffects(){let r=this.manager.registry.plugins.get(pce);if((r==null?void 0:r.disabled)===!1)r.disable(),Ta(this,WI).push(()=>{r.enable()})}cleanup(){Ta(this,WI).forEach((r)=>r()),ys(this,WI,[])}destroy(){this.cleanup(),this.listeners.clear()}};WI=new WeakMap;S5.configure=ei(S5);S5.defaults=p2;var Yo=S5;function HI(e,r){return r.includes(e.code)}var cL,evt=class extends Aq{constructor(){super(...arguments);Nn(this,cL)}onEvent(e){switch(e.type){case"pointerdown":ys(this,cL,iL(e));break;case"pointermove":if(!Ta(this,cL))return;let{x:r,y:a}=iL(e),i={x:r-Ta(this,cL).x,y:a-Ta(this,cL).y},{tolerance:f}=this.options;if(f&&WN(i,f)){this.abort();return}if(WN(i,this.options.value))this.activate(e);break;case"pointerup":this.abort();break}}abort(){ys(this,cL,void 0)}};cL=new WeakMap;var GI,uL,tvt=class extends Aq{constructor(){super(...arguments);Nn(this,GI),Nn(this,uL)}onEvent(e){switch(e.type){case"pointerdown":ys(this,uL,iL(e)),ys(this,GI,setTimeout(()=>this.activate(e),this.options.value));break;case"pointermove":if(!Ta(this,uL))return;let{x:r,y:a}=iL(e),i={x:r-Ta(this,uL).x,y:a-Ta(this,uL).y};if(WN(i,this.options.tolerance))this.abort();break;case"pointerup":this.abort();break}}abort(){if(Ta(this,GI))clearTimeout(Ta(this,GI)),ys(this,uL,void 0),ys(this,GI,void 0)}};GI=new WeakMap;uL=new WeakMap;var Nr=class{};Nr.Delay=tvt;Nr.Distance=evt;var i9=Object.freeze({activationConstraints(e,r){var a;let{pointerType:i,target:f}=e;if(i==="mouse"&&y8(f)&&(r.handle===f||((a=r.handle)==null?void 0:a.contains(f))))return;if(i==="touch")return[new Nr.Delay({value:250,tolerance:5})];if(Dle(f)&&!e.defaultPrevented)return[new Nr.Delay({value:200,tolerance:0})];return[new Nr.Delay({value:200,tolerance:10}),new Nr.Distance({value:5})]},preventActivation(e,r){var a;let{target:i}=e;if(i===r.element)return!1;if(i===r.handle)return!1;if(!y8(i))return!1;if((a=r.handle)==null?void 0:a.contains(i))return!1;let f=wle(i);if(f===r.element)return!1;return Boolean(f)}}),KI,L5=class extends eL{constructor(r,a){super(r);this.manager=r,this.options=a,Nn(this,KI,new Set),this.listeners=new Wq,this.latest={event:void 0,coordinates:void 0},this.handleMove=()=>{let{event:i,coordinates:f}=this.latest;if(!i||!f)return;this.manager.actions.move({event:i,to:f})},this.handleCancel=this.handleCancel.bind(this),this.handlePointerUp=this.handlePointerUp.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}activationConstraints(r,a,i=this.options){let{activationConstraints:f=i9.activationConstraints}=i!=null?i:{};return typeof f==="function"?f(r,a):f}bind(r,a=this.options){return gi(()=>{var f;let s=new AbortController,{signal:l}=s,c=(g)=>{if(Ele(g))this.handlePointerDown(g,r,a)},m=[(f=r.handle)!=null?f:r.element];if(a==null?void 0:a.activatorElements)if(Array.isArray(a.activatorElements))m=a.activatorElements;else m=a.activatorElements(r);for(let g of m){if(!g)continue;avt(g.ownerDocument.defaultView),g.addEventListener("pointerdown",c,{signal:l})}return()=>s.abort()})}handlePointerDown(r,a,i){if(this.disabled||!r.isPrimary||r.button!==0||!y8(r.target)||a.disabled||rvt(r)||!this.manager.dragOperation.status.idle)return;let{preventActivation:f=i9.preventActivation}=i!=null?i:{};if(f==null?void 0:f(r,a))return;let{target:s}=r,l=tM(s)&&s.draggable&&s.getAttribute("draggable")==="true",c=sL(a.element),{x:m,y:g}=iL(r);this.initialCoordinates={x:m*c.scaleX+c.x,y:g*c.scaleY+c.y};let M=this.activationConstraints(r,a,i);r.sensor=this;let v=new rle(M,(j)=>this.handleStart(a,j));v.signal.onabort=()=>this.handleCancel(r),v.onEvent(r),this.controller=v;let y=i5(),x=this.listeners.bind(y,[{type:"pointermove",listener:(j)=>this.handlePointerMove(j,a)},{type:"pointerup",listener:this.handlePointerUp,options:{capture:!0}},{type:"pointercancel",listener:this.handleCancel},{type:"dragstart",listener:l?this.handleCancel:y5,options:{capture:!0}}]),_=()=>{x(),this.initialCoordinates=void 0};Ta(this,KI).add(_)}handlePointerMove(r,a){var i,f;if(((i=this.controller)==null?void 0:i.activated)===!1){(f=this.controller)==null||f.onEvent(r);return}if(this.manager.dragOperation.status.dragging){let s=iL(r),l=sL(a.element);s.x=s.x*l.scaleX+l.x,s.y=s.y*l.scaleY+l.y,r.preventDefault(),r.stopPropagation(),this.latest.event=r,this.latest.coordinates=s,l2.schedule(this.handleMove)}}handlePointerUp(r){let{status:a}=this.manager.dragOperation;if(!a.idle){r.preventDefault(),r.stopPropagation();let i=!a.initialized;this.manager.actions.stop({event:r,canceled:i})}this.cleanup()}handleKeyDown(r){if(r.key==="Escape")r.preventDefault(),this.handleCancel(r)}handleStart(r,a){let{manager:i,initialCoordinates:f}=this;if(!f||!i.dragOperation.status.idle)return;if(a.defaultPrevented)return;if(i.actions.start({coordinates:f,event:a,source:r}).signal.aborted)return this.cleanup();a.preventDefault();let c=nL(a.target).body;try{c.setPointerCapture(a.pointerId)}catch(M){this.handleCancel(a);return}let m=y8(a.target)?[a.target,c]:c,g=this.listeners.bind(m,[{type:"touchmove",listener:y5,options:{passive:!1}},{type:"click",listener:y5},{type:"contextmenu",listener:y5},{type:"keydown",listener:this.handleKeyDown}]);Ta(this,KI).add(g)}handleCancel(r){let{dragOperation:a}=this.manager;if(a.status.initialized)this.manager.actions.stop({event:r,canceled:!0});this.cleanup()}cleanup(){let{controller:r}=this;if(this.controller=void 0,r&&!r.signal.aborted)r.abort();this.latest={event:void 0,coordinates:void 0},Ta(this,KI).forEach((a)=>a()),Ta(this,KI).clear()}destroy(){this.cleanup(),this.listeners.clear()}};KI=new WeakMap;L5.configure=ei(L5);L5.defaults=i9;var An=L5;function rvt(e){return"sensor"in e}function y5(e){e.preventDefault()}function ovt(){}var Vle=new WeakSet;function avt(e){if(!e||Vle.has(e))return;e.addEventListener("touchmove",ovt,{capture:!1,passive:!1}),Vle.add(e)}var dL={modifiers:[],plugins:[CMt,pce,RMt,gs,$Mt],sensors:[An,Yo]},g9=class extends dle{constructor(e={}){let r=vs(e.plugins,dL.plugins),a=vs(e.sensors,dL.sensors),i=vs(e.modifiers,dL.modifiers);super(c9(g2({},e),{plugins:[QMt,eR,k5,...r],sensors:a,modifiers:i}))}},mce,hce,f9,w8,M9,v9,mL=class extends(f9=Mu,hce=[ko],mce=[ko],f9){constructor(e,r){var a=e,{element:i,effects:f=()=>[],handle:s}=a,l=Kle(a,["element","effects","handle"]);super(g2({effects:()=>[...f(),()=>{var c,m;let{manager:g}=this;if(!g)return;let v=((m=(c=this.sensors)==null?void 0:c.map(NI))!=null?m:[...g.sensors]).map((y)=>{let x=y instanceof eL?y:g.registry.register(y.plugin),_=y instanceof eL?void 0:y.options;return x.bind(this,_)});return function(){v.forEach((x)=>x())}}]},l),r);Nn(this,M9,yi(w8,8,this)),yi(w8,11,this),Nn(this,v9,yi(w8,12,this)),yi(w8,15,this),this.element=i,this.handle=s}};w8=$I(f9);M9=new WeakMap;v9=new WeakMap;Sc(w8,4,"handle",hce,mL,M9);Sc(w8,4,"element",mce,mL,v9);pL(w8,mL);var gce,Mce,s9,z8,x9,Qq,vce,xce,h2,y9,tR=class extends(s9=vu,Mce=[ko],gce=[ko],s9){constructor(e,r){var a=e,{element:i,effects:f=()=>[]}=a,s=Kle(a,["element","effects"]);let{collisionDetector:l=x5}=s,c=(g)=>{let{manager:M,element:v}=this;if(!v||g===null){this.shape=void 0;return}if(!M)return;let y=new wc(v),x=po(()=>this.shape);if(y&&(x==null?void 0:x.equals(y)))return x;return this.shape=y,y},m=dZ(!1);super(c9(g2({},s),{collisionDetector:l,effects:()=>[...f(),()=>{let{element:g,manager:M}=this;if(!M)return;let{dragOperation:v}=M,{source:y}=v;m.value=Boolean(y&&v.status.initialized&&g&&!this.disabled&&this.accepts(y))},()=>{let{element:g}=this;if(m.value&&g){let M=new Ile(g,c);return()=>{M.disconnect(),this.shape=void 0}}},()=>{var g;if((g=this.manager)==null?void 0:g.dragOperation.status.initialized)return()=>{this.shape=void 0}}]}),r);Nn(this,h2),Nn(this,x9,yi(z8,8,this)),yi(z8,11,this),Nn(this,y9,yi(z8,12,this)),yi(z8,15,this),this.element=i,this.refreshShape=()=>c()}set element(e){ys(this,h2,e,xce)}get element(){var e;return(e=this.proxy)!=null?e:Ta(this,h2,vce)}};z8=$I(s9);x9=new WeakMap;h2=new WeakSet;y9=new WeakMap;Qq=Sc(z8,20,"#element",Mce,h2,x9),vce=Qq.get,xce=Qq.set;Sc(z8,4,"proxy",gce,tR,y9);pL(z8,tR);S();function nvt(e){return e!=null&&typeof e==="object"&&"current"in e}function yu(e){var r;if(e==null)return;if(nvt(e))return(r=e.current)!=null?r:void 0;return e}var ivt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",oM=ivt?He:h;function yce(){let e=u(0)[1];return P(()=>{e((r)=>r+1)},[e])}function fvt(e,r=!1){let a=b(e.peek()),i=b(!1),f=yce();return oM(()=>gi(()=>{let s=a.current,l=e.value;if(s!==l){if(a.current=l,!i.current)return;if(r)tn(f);else f()}}),[e,r,f]),{get value(){return i.current=!0,e.peek()}}}function C5(e,r=[],a=!1){let i=b(e);return i.current=e,fvt(D(()=>PI(()=>i.current()),r),a)}function rR(e,r){let a=b(new Map),i=yce();return oM(()=>{if(!e){a.current.clear();return}return gi(()=>{var f;let s=!1,l=!1;for(let c of a.current){let[m]=c,g=po(()=>c[1]),M=e[m];if(g!==M)s=!0,a.current.set(m,M),l=(f=r==null?void 0:r(m,g,M))!=null?f:!1}if(s)if(l)queueMicrotask(()=>tn(i));else i()})},[e]),D(()=>e?new Proxy(e,{get(f,s){let l=f[s];return a.current.set(s,l),l}}):e,[e])}function bce(e,r){e()}function hL(e){let r=b(e);return oM(()=>{r.current=e},[e]),r}function Uo(e,r,a=h,i=Object.is){let f=b(e);a(()=>{let s=f.current;if(!i(e,s))f.current=e,r(e,s)},[r,e])}function L8(e,r){let a=b(yu(e));oM(()=>{let i=yu(e);if(i!==a.current)a.current=i,r(i)})}var{defineProperty:svt,defineProperties:lvt,getOwnPropertyDescriptors:cvt,getOwnPropertySymbols:R5}=Object,wce=Object.prototype.hasOwnProperty,zce=Object.prototype.propertyIsEnumerable,_ce=(e,r,a)=>(r in e)?svt(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,Sce=(e,r)=>{for(var a in r||(r={}))if(wce.call(r,a))_ce(e,a,r[a]);if(R5){for(var a of R5(r))if(zce.call(r,a))_ce(e,a,r[a])}return e},Lce=(e,r)=>lvt(e,cvt(r)),uvt=(e,r)=>{var a={};for(var i in e)if(wce.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&R5){for(var i of R5(e))if(r.indexOf(i)<0&&zce.call(e,i))a[i]=e[i]}return a},dvt=new g9,w9=at(dvt),Zvt=Bn(O(({children:e},r)=>{let[a,i]=u(0),f=b(null),s=b(null),l=D(()=>({renderer:{get rendering(){var c;return(c=f.current)!=null?c:Promise.resolve()}},trackRendering(c){if(!f.current)f.current=new Promise((m)=>{s.current=m});NL(()=>{c(),i((m)=>m+1)})}}),[]);return oM(()=>{var c;(c=s.current)==null||c.call(s),f.current=null},[e,a]),dn(r,()=>l),null})),b9=[void 0,Ji];function $n(e){var r=e,{children:a,onCollision:i,onBeforeDragStart:f,onDragStart:s,onDragMove:l,onDragOver:c,onDragEnd:m}=r,g=uvt(r,["children","onCollision","onBeforeDragStart","onDragStart","onDragMove","onDragOver","onDragEnd"]);let M=b(null),{plugins:v,modifiers:y,sensors:x}=g,_=vs(v,dL.plugins),j=vs(x,dL.sensors),U=vs(y,dL.modifiers),T=hL(f),N=hL(s),G=hL(c),X=hL(l),J=hL(m),ee=hL(i),re=pvt(()=>{var oe;return(oe=g.manager)!=null?oe:new g9(g)});return h(()=>{if(!M.current)throw Error("Renderer not found");let{renderer:oe,trackRendering:ae}=M.current,{monitor:ye}=re;re.renderer=oe;let We=[ye.addEventListener("beforedragstart",(Ye)=>{let ze=T.current;if(ze)ae(()=>ze(Ye,re))}),ye.addEventListener("dragstart",(Ye)=>{var ze;return(ze=N.current)==null?void 0:ze.call(N,Ye,re)}),ye.addEventListener("dragover",(Ye)=>{let ze=G.current;if(ze)ae(()=>ze(Ye,re))}),ye.addEventListener("dragmove",(Ye)=>{let ze=X.current;if(ze)ae(()=>ze(Ye,re))}),ye.addEventListener("dragend",(Ye)=>{let ze=J.current;if(ze)ae(()=>ze(Ye,re))}),ye.addEventListener("collision",(Ye)=>{var ze;return(ze=ee.current)==null?void 0:ze.call(ee,Ye,re)})];return()=>We.forEach((Ye)=>Ye())},[re]),Uo(_,()=>re&&(re.plugins=_),...b9),Uo(j,()=>re&&(re.sensors=j),...b9),Uo(U,()=>re&&(re.modifiers=U),...b9),o(w9.Provider,{value:re,children:[t(Zvt,{ref:M,children:a}),a]})}function pvt(e){let r=b(null);if(!r.current)r.current=e();return kD(()=>()=>{var a;return(a=r.current)==null?void 0:a.destroy()},[]),r.current}function z9(){return dt(w9)}function P5(e){var r;let a=(r=z9())!=null?r:void 0,[i]=u(()=>e(a));if(i.manager!==a)i.manager=a;return oM(i.register,[a,i]),i}function As(e){let{disabled:r,data:a,element:i,handle:f,id:s,modifiers:l,sensors:c,plugins:m}=e,g=P5((v)=>new mL(Lce(Sce({},e),{register:!1,handle:yu(f),element:yu(i)}),v)),M=rR(g,mvt);return Uo(s,()=>g.id=s),L8(f,(v)=>g.handle=v),L8(i,(v)=>g.element=v),Uo(a,()=>a&&(g.data=a)),Uo(r,()=>g.disabled=r===!0),Uo(c,()=>g.sensors=c,void 0,Ji),Uo(l,()=>g.modifiers=l,void 0,Ji),Uo(m,()=>g.plugins=m,void 0,Ji),Uo(e.alignment,()=>g.alignment=e.alignment),{draggable:M,get isDragging(){return M.isDragging},get isDropping(){return M.isDropping},get isDragSource(){return M.isDragSource},handleRef:P((v)=>{g.handle=v!=null?v:void 0},[g]),ref:P((v)=>{var y,x;if(!v&&((y=g.element)==null?void 0:y.isConnected)&&!((x=g.manager)==null?void 0:x.dragOperation.status.idle))return;g.element=v!=null?v:void 0},[g])}}function mvt(e,r,a){if(e==="isDragSource"&&!a&&r)return!0;return!1}function Gc({children:e,className:r,dropAnimation:a,style:i,tag:f,disabled:s}){var l;let c=b(null),m=z9(),g=(l=C5(()=>m==null?void 0:m.dragOperation.source,[m]).value)!=null?l:null,M=typeof s==="function"?s(g):s;h(()=>{if(!c.current||!m||M)return;let x=m.plugins.find((_)=>_ instanceof gs);if(!x)return;return x.overlay=c.current,()=>{x.overlay=void 0}},[m,M]),h(()=>{if(!m)return;let x=m.plugins.find((_)=>_ instanceof gs);if(!x)return;return x.dropAnimation=a,()=>{x.dropAnimation=void 0}},[m,a]);let v=D(()=>{if(!m)return null;let x=new Proxy(m.registry,{get(_,j){if(j==="register"||j==="unregister")return hvt;return _[j]}});return new Proxy(m,{get(_,j){if(j==="registry")return x;return _[j]}})},[m]);return t(w9.Provider,{value:v,children:q(f||"div",{ref:c,className:r,style:i,"data-dnd-overlay":!0},y())});function y(){if(!g||M)return null;if(typeof e==="function")return t(gvt,{source:g,children:e});return e}}function hvt(){return()=>{}}function gvt({children:e,source:r}){return e(rR(r))}var{create:Mvt,defineProperty:kce,getOwnPropertyDescriptor:vvt}=Object,Cce=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),T5=(e)=>{throw TypeError(e)},xvt=(e,r,a)=>(r in e)?kce(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,yvt=(e)=>{var r;return[,,,Mvt((r=e==null?void 0:e[Cce("metadata")])!=null?r:null)]},Ice=["class","method","getter","setter","accessor","field","value","get","set"],Rce=(e)=>e!==void 0&&typeof e!=="function"?T5("Function expected"):e,bvt=(e,r,a,i,f)=>({kind:Ice[e],name:r,metadata:i,addInitializer:(s)=>a._?T5("Already initialized"):f.push(Rce(s||null))}),_vt=(e,r)=>xvt(r,Cce("metadata"),e[3]),wvt=(e,r,a,i)=>{for(var f=0,s=e[r>>1],l=s&&s.length;f<l;f++)s[f].call(a);return i},Pce=(e,r,a,i,f,s)=>{var l,c,m,g,M=r&7,v=!1,y=!1,x=2,_=Ice[M+5],j=e[x]||(e[x]=[]),U=(f=f.prototype,vvt(f,a));for(var T=i.length-1;T>=0;T--)m=bvt(M,a,c={},e[3],j),m.static=v,m.private=y,g=m.access={has:(N)=>(a in N)},g.get=(N)=>N[a],l=(0,i[T])(U[_],m),c._=1,Rce(l)&&(U[_]=l);return U&&kce(f,a,U),f},Tce=(e,r,a)=>r.has(e)||T5("Cannot "+a),zvt=(e,r,a)=>(Tce(e,r,"read from private field"),r.get(e)),Svt=(e,r,a)=>r.has(e)?T5("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Lvt=(e,r,a,i)=>(Tce(e,r,"write to private field"),r.set(e,a),a),gL=class e{constructor(r,a){this.x=r,this.y=a}static delta(r,a){return new e(r.x-a.x,r.y-a.y)}static distance(r,a){return Math.hypot(r.x-a.x,r.y-a.y)}static equals(r,a){return r.x===a.x&&r.y===a.y}static from({x:r,y:a}){return new e(r,a)}},Ace,Ece,_9,I5,b2,S9=class extends(_9=ZZ,Ece=[qa],Ace=[qa],_9){constructor(e){let r=gL.from(e);super(r,(a,i)=>gL.equals(a,i));wvt(b2,5,this),Svt(this,I5,0),this.velocity={x:0,y:0}}get delta(){return gL.delta(this.current,this.initial)}get direction(){let{current:e,previous:r}=this;if(!r)return null;let a={x:e.x-r.x,y:e.y-r.y};if(!a.x&&!a.y)return null;if(Math.abs(a.x)>Math.abs(a.y))return a.x>0?"right":"left";return a.y>0?"down":"up"}get current(){return super.current}set current(e){let{current:r}=this,a=gL.from(e),i={x:a.x-r.x,y:a.y-r.y},f=Date.now(),s=f-zvt(this,I5),l=(c)=>Math.round(c/s*100);Jo(()=>{Lvt(this,I5,f),this.velocity={x:l(i.x),y:l(i.y)},super.current=a})}reset(e=this.defaultValue){super.reset(gL.from(e)),this.velocity={x:0,y:0}}};b2=yvt(_9);I5=new WeakMap;Pce(b2,2,"delta",Ece,S9);Pce(b2,2,"direction",Ace,S9);_vt(b2,S9);var Dce=((e)=>(e.Horizontal="x",e.Vertical="y",e))(Dce||{});Object.values(Dce);var kvt=({dragOperation:e,droppable:r})=>{let a=e.position.current;if(!a)return null;let{id:i}=r;if(!r.shape)return null;if(r.shape.containsPoint(a)){let f=gL.distance(r.shape.center,a);return{id:i,value:1/f,type:mZ.PointerIntersection,priority:pZ.High}}return null},Cvt=({dragOperation:e,droppable:r})=>{let{shape:a}=e;if(!r.shape||!(a==null?void 0:a.current))return null;let i=a.current.intersectionArea(r.shape);if(i){let{position:f}=e,s=gL.distance(r.shape.center,f.current),c=i/(a.current.area+r.shape.area-i)/s;return{id:r.id,value:c,type:mZ.ShapeIntersection,priority:pZ.Normal}}return null},Ivt=(e)=>{var r;return(r=kvt(e))!=null?r:Cvt(e)};function Dr(e){let{collisionDetector:r,data:a,disabled:i,element:f,id:s,accept:l,type:c}=e,m=P5((M)=>new tR(Lce(Sce({},e),{register:!1,element:yu(f)}),M)),g=rR(m);return Uo(s,()=>m.id=s),L8(f,(M)=>m.element=M),Uo(l,()=>m.accept=l,void 0,Ji),Uo(r,()=>m.collisionDetector=r!=null?r:Ivt),Uo(a,()=>a&&(m.data=a)),Uo(i,()=>m.disabled=i===!0),Uo(c,()=>m.type=c),{droppable:g,get isDropTarget(){return g.isDropTarget},ref:P((M)=>{var v,y;if(!M&&((v=m.element)==null?void 0:v.isConnected)&&!((y=m.manager)==null?void 0:y.dragOperation.status.idle))return;m.element=M!=null?M:void 0},[m])}}function Zd(){let e=z9(),r=C5(()=>e==null?void 0:e.dragOperation.source,[e]),a=C5(()=>e==null?void 0:e.dragOperation.target,[e]);return{get source(){return r.value},get target(){return a.value}}}S();S();S();S();var L9=new Map,A5=new WeakMap,Oce=0,Rvt;function Pvt(e){if(!e)return"0";if(A5.has(e))return A5.get(e);return Oce+=1,A5.set(e,Oce.toString()),A5.get(e)}function Tvt(e){return Object.keys(e).sort().filter((r)=>e[r]!==void 0).map((r)=>`${r}_${r==="root"?Pvt(e.root):e[r]}`).toString()}function Avt(e){let r=Tvt(e),a=L9.get(r);if(!a){let i=new Map,f,s=new IntersectionObserver((l)=>{l.forEach((c)=>{var m;let g=c.isIntersecting&&f.some((M)=>c.intersectionRatio>=M);if(e.trackVisibility&&typeof c.isVisible>"u")c.isVisible=g;[...(m=i.get(c.target))!=null?m:[]].forEach((M)=>{M(g,c)})})},e);f=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),a={id:r,observer:s,elements:i},L9.set(r,a)}return a}function Evt(e,r,a={},i=Rvt){if(typeof window.IntersectionObserver>"u"&&i!==void 0){let g=e.getBoundingClientRect();return r(i,{isIntersecting:i,target:e,intersectionRatio:typeof a.threshold==="number"?a.threshold:0,time:0,boundingClientRect:g,intersectionRect:g,rootBounds:g}),()=>{}}let{id:f,observer:s,elements:l}=Avt(a),c=l.get(e)||[];if(!l.has(e))l.set(e,c);c.push(r),s.observe(e);let m=!1;return function(){if(m)return;if(m=!0,c.splice(c.indexOf(r),1),c.length===0)l.delete(e),s.unobserve(e);if(l.size===0)s.disconnect(),L9.delete(f)}}var k9=Reflect.get(V,"useInsertionEffect"),Dvt=k9!=null?k9:h;function Ovt(e){return(e==null?void 0:e.startsWith("19."))||!1}var jce=Ovt(Rs);function jvt(e,{threshold:r,root:a,rootMargin:i,scrollMargin:f,trackVisibility:s,delay:l,fallbackInView:c,skip:m,triggerOnce:g}){let M=b(e),v=b({node:null,stop:void 0,owner:null});if(!k9)M.current=e;return Dvt(()=>{M.current=e},[e]),P(function y(x){let _=v.current;if(!x&&_.owner!==y)return;if(x===_.node)return _.owner=y,jce?_.stop:void 0;let j=_.stop;if(_.stop=void 0,j==null||j(),!x||m){_.node=null,_.owner=x?y:null;return}_.node=x,_.owner=y;let U,T;function N(){if(U==null||U(),_.stop===N)_.node=null,_.stop=void 0}if(_.stop=N,U=Evt(x,(G,X)=>{if(M.current(G,X,T),T=G,g&&G)N()},{threshold:r,root:a,rootMargin:i,scrollMargin:f,trackVisibility:s,delay:l},c),_.stop!==N)U();return jce?_.stop:void 0},[Array.isArray(r)?r.toString():r,a,i,f,s,l,c,m,g])}var Nvt=typeof window>"u"?h:He;function Nt({threshold:e,delay:r,trackVisibility:a,rootMargin:i,scrollMargin:f,root:s,triggerOnce:l,skip:c,initialInView:m,fallbackInView:g,onChange:M}={}){let v=b(m),[y,x]=u({inView:!!m,entry:void 0}),_=jvt((N,G)=>{let X=v.current;if(v.current=N,X===void 0&&!N)return;x({inView:N,entry:G}),M==null||M(N,G)},{threshold:e,root:s,rootMargin:i,scrollMargin:f,trackVisibility:a,delay:r,fallbackInView:g,skip:c,triggerOnce:l}),j=b({node:null,reset:!1}),U=P(function(G){if(G)j.current.node=G,j.current.reset=!1;else if(j.current.node)j.current.node=null,j.current.reset=!0;let X=_(G);if(!X)return;return()=>{if(X(),j.current.node===G)j.current.node=null,j.current.reset=!0}},[_]);Nvt(()=>{if(!j.current.reset)return;if(j.current.reset=!1,l||c)return;x({inView:!!m,entry:void 0}),v.current=m});let T=[U,y.inView,y.entry];return T.ref=T[0],T.inView=T[1],T.entry=T[2],T}S();function Fvt(e){if(!e||typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",r.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}var Bvt=(e)=>{switch(e){case"success":return qvt;case"info":return Hvt;case"warning":return Vvt;case"error":return Wvt;default:return null}},Yvt=Array(12).fill(0),Uvt=({visible:e,className:r})=>q("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":e},q("div",{className:"sonner-spinner"},Yvt.map((a,i)=>q("div",{className:"sonner-loading-bar",key:`spinner-bar-${i}`})))),qvt=q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20","aria-hidden":"true"},q("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"})),Vvt=q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20","aria-hidden":"true"},q("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"})),Hvt=q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20","aria-hidden":"true"},q("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"})),Wvt=q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20","aria-hidden":"true"},q("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"})),Gvt=q("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","aria-hidden":"true"},q("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),q("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Kvt=()=>{let[e,r]=u(document.hidden);return h(()=>{let a=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",a),()=>document.removeEventListener("visibilitychange",a)},[]),e},Xvt=1,Qvt=100,Nce=(e)=>{var r;return typeof(e==null?void 0:e.id)==="number"||(e==null?void 0:(r=e.id)==null?void 0:r.length)>0?e.id:Xvt++};class Yce{constructor(){this.subscribe=(e)=>(this.subscribers.push(e),this.getActiveToasts().forEach((r)=>e(r)),()=>{let r=this.subscribers.indexOf(e);this.subscribers.splice(r,1)}),this.publish=(e)=>{this.subscribers.forEach((r)=>r(e))},this.addToast=(e)=>{this.publish(e),this.toasts=[...this.toasts,e],this.trimHistory()},this.trimHistory=()=>{let e=this.toasts.length-Qvt;if(e<=0)return;this.toasts=this.toasts.filter((r)=>{if(e>0&&this.dismissedToasts.has(r.id))return this.dismissedToasts.delete(r.id),e--,!1;return!0})},this.create=(e)=>{let{message:r,...a}=e,i=Nce(e),f=this.pendingDismissals.get(i);if(f!==void 0)cancelAnimationFrame(f),this.pendingDismissals.delete(i),this.dismissedToasts.delete(i);let s=this.dismissedToasts.has(i),l=e.dismissible===void 0?!0:e.dismissible;if(s)this.dismissedToasts.delete(i),this.toasts=this.toasts.filter((m)=>m.id!==i);if(s?void 0:this.toasts.find((m)=>m.id===i))this.toasts=this.toasts.map((m)=>{if(m.id===i)return this.publish({...m,...e,id:i,title:r}),{...m,...e,id:i,dismissible:l,title:r};return m});else this.addToast({title:r,...a,dismissible:l,id:i});return i},this.dismiss=(e)=>{if(e===void 0||e===null)return this.getActiveToasts().forEach((a)=>{this.dismissedToasts.add(a.id),this.subscribers.forEach((i)=>i({id:a.id,dismiss:!0}))}),e;this.dismissedToasts.add(e);let r=this.pendingDismissals.get(e);if(r!==void 0)cancelAnimationFrame(r);return this.pendingDismissals.set(e,requestAnimationFrame(()=>{this.pendingDismissals.delete(e),this.subscribers.forEach((a)=>a({id:e,dismiss:!0}))})),e},this.message=(e,r)=>this.create({...r,message:e,type:void 0}),this.error=(e,r)=>this.create({...r,message:e,type:"error"}),this.success=(e,r)=>this.create({...r,type:"success",message:e}),this.info=(e,r)=>this.create({...r,type:"info",message:e}),this.warning=(e,r)=>this.create({...r,type:"warning",message:e}),this.loading=(e,r)=>this.create({...r,type:"loading",message:e}),this.promise=(e,r)=>{if(!r)return;let a=void 0;if(r.loading!==void 0)a=this.create({...r,promise:e,type:"loading",message:r.loading,description:typeof r.description!=="function"?r.description:void 0});let i=Promise.resolve(e instanceof Function?e():e),f=a!==void 0,s,l=i.then(async(m)=>{if(s=["resolve",m],os(m))f=!1,this.create({id:a,type:"default",message:m});else if($vt(m)&&!m.ok){f=!1;let M=typeof r.error==="function"?await r.error(`HTTP error! status: ${m.status}`):r.error,v=typeof r.description==="function"?await r.description(`HTTP error! status: ${m.status}`):r.description,x=typeof M==="object"&&!os(M)?M:{message:M};this.create({id:a,type:"error",description:v,...x})}else if(m instanceof Error){f=!1;let M=typeof r.error==="function"?await r.error(m):r.error,v=typeof r.description==="function"?await r.description(m):r.description,x=typeof M==="object"&&!os(M)?M:{message:M};this.create({id:a,type:"error",description:v,...x})}else if(r.success!==void 0){f=!1;let M=typeof r.success==="function"?await r.success(m):r.success,v=typeof r.description==="function"?await r.description(m):r.description,x=typeof M==="object"&&!os(M)?M:{message:M};this.create({id:a,type:"success",description:v,...x})}}).catch(async(m)=>{if(s=["reject",m],r.error!==void 0){f=!1;let g=typeof r.error==="function"?await r.error(m):r.error,M=typeof r.description==="function"?await r.description(m):r.description,y=typeof g==="object"&&!os(g)?g:{message:g};this.create({id:a,type:"error",description:M,...y})}}).finally(()=>{if(f)this.dismiss(a),a=void 0;r.finally==null||r.finally.call(r)}),c=()=>new Promise((m,g)=>l.then(()=>s[0]==="reject"?g(s[1]):m(s[1])).catch(g));if(typeof a!=="string"&&typeof a!=="number")return{unwrap:c};else return Object.assign(a,{unwrap:c})},this.custom=(e,r)=>{let a=Nce(r);return this.create({...r,jsx:e(a),id:a,type:void 0}),a},this.getActiveToasts=()=>this.toasts.filter((e)=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set,this.pendingDismissals=new Map}}var $s=new Yce,Jvt=(e,r)=>$s.message(e,r),$vt=(e)=>e&&typeof e==="object"&&("ok"in e)&&typeof e.ok==="boolean"&&("status"in e)&&typeof e.status==="number",e8t=Jvt,t8t=()=>$s.toasts,r8t=()=>$s.getActiveToasts(),k=Object.assign(e8t,{success:$s.success,info:$s.info,warning:$s.warning,error:$s.error,custom:$s.custom,message:$s.message,promise:$s.promise,dismiss:$s.dismiss,loading:$s.loading},{getHistory:t8t,getToasts:r8t});Fvt("[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;flex:1;min-width:0}[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(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);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]{-webkit-user-select:none;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 E5(e){return e.label!==void 0}var o8t=3,a8t="24px",n8t="16px",Fce=4000,i8t=356,f8t=14,s8t=45,l8t=200;function gZ(...e){return e.filter(Boolean).join(" ")}function c8t(e){let[r,a]=e.split("-"),i=[];if(r)i.push(r);if(a)i.push(a);return i}var u8t=(e)=>{var r,a,i,f,s,l,c,m,g;let{invert:M,toast:v,unstyled:y,interacting:x,setHeights:_,visibleToasts:j,heights:U,index:T,toasts:N,expanded:G,removeToast:X,defaultRichColors:J,closeButton:ee,style:re,cancelButtonStyle:oe,actionButtonStyle:ae,className:ye="",descriptionClassName:We="",duration:Ye,position:ze,gap:qe,expandByDefault:ut,classNames:$e,icons:xt,closeButtonAriaLabel:Dt="Close toast"}=e,[Yt,fe]=u(null),[yt,Wt]=u(null),[Ee,lr]=u(!1),[sr,Jt]=u(!1),[Or,Gt]=u(!1),[Kt,ur]=u(!1),[Ir,Er]=u(!1),[dr,mo]=u(0),[or,Yr]=u(0),uo=b(v.duration||Ye||Fce),jo=b(null),ho=b(null),Kn=T===0,un=T+1<=j,Vo=v.type,Pn=Vo!=null?Vo:"default",$a=v.dismissible!==!1,Hi=v.className||"",Ke=v.descriptionClassName||"",Ct=D(()=>U.findIndex((nr)=>nr.toastId===v.id)||0,[U,v.id]),gr=D(()=>{var nr;return(nr=v.closeButton)!=null?nr:ee},[v.closeButton,ee]),Fr=D(()=>v.duration||Ye||Fce,[v.duration,Ye]),ao=b(0),Ho=b(0),Ia=b(0),Se=b(null),[Pe,De]=ze.split("-"),Zt=D(()=>U.reduce((nr,Go,Za)=>{if(Za>=Ct)return nr;return nr+Go.height},0),[U,Ct]),zt=Kvt(),Ot=D(()=>{var nr;return(nr=e.swipeDirections)!=null?nr:c8t(ze)},[e.swipeDirections,ze]),fr=v.invert||M,At=Vo==="loading";Ho.current=D(()=>Ct*qe+Zt,[Ct,Zt]),h(()=>{uo.current=Fr},[Fr]),h(()=>{lr(!0)},[]),h(()=>{let nr=ho.current;if(nr){let Go=nr.getBoundingClientRect().height;return Yr(Go),_((Za)=>[{toastId:v.id,height:Go,position:v.position},...Za]),()=>_((Za)=>Za.filter((Qn)=>Qn.toastId!==v.id))}},[_,v.id]),He(()=>{if(!Ee)return;let nr=ho.current,Go=nr.style.height;nr.style.height="auto";let Za=nr.getBoundingClientRect().height;nr.style.height=Go,Yr(Za),_((Qn)=>{if(!Qn.find((La)=>La.toastId===v.id))return[{toastId:v.id,height:Za,position:v.position},...Qn];else return Qn.map((La)=>La.toastId===v.id?{...La,height:Za}:La)})},[Ee,v.title,v.description,_,v.id,v.jsx,v.action,v.cancel]);let _t=P(()=>{Jt(!0),mo(Ho.current),_((nr)=>nr.filter((Go)=>Go.toastId!==v.id)),setTimeout(()=>{X(v)},l8t)},[v,X,_,Ho]);h(()=>{if(v.promise&&Vo==="loading"||v.duration===1/0||v.type==="loading")return;let nr,Go=()=>{if(Ia.current<ao.current){let Qn=new Date().getTime()-ao.current;uo.current=uo.current-Qn}Ia.current=new Date().getTime()},Za=()=>{if(uo.current===1/0)return;ao.current=new Date().getTime(),nr=setTimeout(()=>{v.onAutoClose==null||v.onAutoClose.call(v,v),_t()},uo.current)};if(G||x||zt)Go();else Za();return()=>clearTimeout(nr)},[G,x,v,Vo,zt,_t]),h(()=>{if(v.delete)_t(),v.onDismiss==null||v.onDismiss.call(v,v)},[_t,v.delete]);function qt(){var nr;if(xt==null?void 0:xt.loading){var Go;return q("div",{className:gZ($e==null?void 0:$e.loader,v==null?void 0:(Go=v.classNames)==null?void 0:Go.loader,"sonner-loader"),"data-visible":Vo==="loading"},xt.loading)}return q(Uvt,{className:gZ($e==null?void 0:$e.loader,v==null?void 0:(nr=v.classNames)==null?void 0:nr.loader),visible:Vo==="loading"})}let Rr=v.icon||(xt==null?void 0:xt[Vo])||Bvt(Vo);var jr,ea;return q("li",{tabIndex:0,ref:ho,className:gZ(ye,Hi,$e==null?void 0:$e.toast,v==null?void 0:(r=v.classNames)==null?void 0:r.toast,$e==null?void 0:$e[Pn],v==null?void 0:(a=v.classNames)==null?void 0:a[Pn]),"data-sonner-toast":"","data-rich-colors":(jr=v.richColors)!=null?jr:J,"data-styled":!Boolean(v.jsx||v.unstyled||y),"data-mounted":Ee,"data-promise":Boolean(v.promise),"data-swiped":Ir,"data-removed":sr,"data-visible":un,"data-y-position":Pe,"data-x-position":De,"data-index":T,"data-front":Kn,"data-swiping":Or,"data-dismissible":$a,"data-type":Vo,"data-invert":fr,"data-swipe-out":Kt,"data-swipe-direction":yt,"data-expanded":Boolean(G||ut&&Ee),"data-testid":v.testId,style:{"--index":T,"--toasts-before":T,"--z-index":N.length-T,"--offset":`${sr?dr:Ho.current}px`,"--initial-height":ut?"auto":`${or}px`,...re,...v.style},onDragEnd:()=>{Gt(!1),fe(null),Se.current=null},onPointerDown:(nr)=>{if(nr.button===2)return;if(At||!$a)return;if(jo.current=new Date,mo(Ho.current),nr.target.setPointerCapture(nr.pointerId),nr.target.tagName==="BUTTON")return;Gt(!0),Se.current={x:nr.clientX,y:nr.clientY}},onPointerUp:()=>{var nr,Go,Za;if(Kt||!$a)return;Se.current=null;let Qn=Number(((nr=ho.current)==null?void 0:nr.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),ff=Number(((Go=ho.current)==null?void 0:Go.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),La=new Date().getTime()-((Za=jo.current)==null?void 0:Za.getTime()),rs=Yt==="x"?Qn:ff,sf=Math.abs(rs)/La;if((Yt==="x"?Ot.includes(Qn>0?"right":"left"):Ot.includes(ff>0?"bottom":"top"))&&(Math.abs(rs)>=s8t||sf>0.11)){if(mo(Ho.current),v.onDismiss==null||v.onDismiss.call(v,v),Yt==="x")Wt(Qn>0?"right":"left");else Wt(ff>0?"down":"up");_t(),ur(!0);return}else{var Au,DF;(Au=ho.current)==null||Au.style.setProperty("--swipe-amount-x","0px"),(DF=ho.current)==null||DF.style.setProperty("--swipe-amount-y","0px")}Er(!1),Gt(!1),fe(null)},onPointerMove:(nr)=>{var Go,Za,Qn;if(!Se.current||!$a)return;if(((Go=window.getSelection())==null?void 0:Go.toString().length)>0)return;let La=nr.clientY-Se.current.y,rs=nr.clientX-Se.current.x;if(!Yt&&(Math.abs(rs)>1||Math.abs(La)>1))fe(Math.abs(rs)>Math.abs(La)?"x":"y");let sf={x:0,y:0},EF=(Au)=>1/(1.5+Math.abs(Au)/20);if(Yt==="y"){if(Ot.includes("top")||Ot.includes("bottom"))if(Ot.includes("top")&&La<0||Ot.includes("bottom")&&La>0)sf.y=La;else{let Au=La*EF(La);sf.y=Math.abs(Au)<Math.abs(La)?Au:La}}else if(Yt==="x"){if(Ot.includes("left")||Ot.includes("right"))if(Ot.includes("left")&&rs<0||Ot.includes("right")&&rs>0)sf.x=rs;else{let Au=rs*EF(rs);sf.x=Math.abs(Au)<Math.abs(rs)?Au:rs}}if(Math.abs(sf.x)>0||Math.abs(sf.y)>0)Er(!0);(Za=ho.current)==null||Za.style.setProperty("--swipe-amount-x",`${sf.x}px`),(Qn=ho.current)==null||Qn.style.setProperty("--swipe-amount-y",`${sf.y}px`)}},gr&&!v.jsx&&Vo!=="loading"?q("button",{"aria-label":Dt,"data-disabled":At,"data-close-button":!0,onClick:At||!$a?()=>{}:()=>{_t(),v.onDismiss==null||v.onDismiss.call(v,v)},className:gZ($e==null?void 0:$e.closeButton,v==null?void 0:(i=v.classNames)==null?void 0:i.closeButton)},(ea=xt==null?void 0:xt.close)!=null?ea:Gvt):null,(Vo||v.icon||v.promise)&&v.icon!==null&&((xt==null?void 0:xt[Vo])!==null||v.icon)?q("div",{"data-icon":"",className:gZ($e==null?void 0:$e.icon,v==null?void 0:(f=v.classNames)==null?void 0:f.icon)},Vo==="loading"?v.icon||qt():v.promise?qt():null,Vo!=="loading"?Rr:null):null,q("div",{"data-content":"",className:gZ($e==null?void 0:$e.content,v==null?void 0:(s=v.classNames)==null?void 0:s.content)},q("div",{"data-title":"",className:gZ($e==null?void 0:$e.title,v==null?void 0:(l=v.classNames)==null?void 0:l.title)},v.jsx?v.jsx:typeof v.title==="function"?v.title():v.title),v.description?q("div",{"data-description":"",className:gZ(We,Ke,$e==null?void 0:$e.description,v==null?void 0:(c=v.classNames)==null?void 0:c.description)},typeof v.description==="function"?v.description():v.description):null),os(v.cancel)?v.cancel:v.cancel&&E5(v.cancel)?q("button",{"data-button":!0,"data-cancel":!0,style:v.cancelButtonStyle||oe,onClick:(nr)=>{if(!E5(v.cancel))return;if(!$a)return;v.cancel.onClick==null||v.cancel.onClick.call(v.cancel,nr),_t()},className:gZ($e==null?void 0:$e.cancelButton,v==null?void 0:(m=v.classNames)==null?void 0:m.cancelButton)},v.cancel.label):null,os(v.action)?v.action:v.action&&E5(v.action)?q("button",{"data-button":!0,"data-action":!0,style:v.actionButtonStyle||ae,onClick:(nr)=>{if(!E5(v.action))return;if(v.action.onClick==null||v.action.onClick.call(v.action,nr),nr.defaultPrevented)return;_t()},className:gZ($e==null?void 0:$e.actionButton,v==null?void 0:(g=v.classNames)==null?void 0:g.actionButton)},v.action.label):null)};function Bce(){if(typeof window>"u")return"ltr";if(typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");if(e==="auto"||!e)return window.getComputedStyle(document.documentElement).direction;return e}function d8t(e,r){let a={};return[e,r].forEach((i,f)=>{let s=f===1,l=s?"--mobile-offset":"--offset",c=s?n8t:a8t;function m(g){["top","right","bottom","left"].forEach((M)=>{a[`${l}-${M}`]=typeof g==="number"?`${g}px`:g})}if(typeof i==="number"||typeof i==="string")m(i);else if(typeof i==="object")["top","right","bottom","left"].forEach((g)=>{if(i[g]===void 0)a[`${l}-${g}`]=c;else a[`${l}-${g}`]=typeof i[g]==="number"?`${i[g]}px`:i[g]});else m(c)}),a}var Uce=O(function(r,a){let{id:i,invert:f,position:s="bottom-right",hotkey:l=["altKey","KeyT"],expand:c,closeButton:m,className:g,offset:M,mobileOffset:v,theme:y="light",richColors:x,duration:_,style:j,visibleToasts:U=o8t,toastOptions:T,dir:N=Bce(),gap:G=f8t,icons:X,customAriaLabel:J,containerAriaLabel:ee="Notifications"}=r,[re,oe]=u([]),ae=D(()=>{if(i)return re.filter((lr)=>lr.toasterId===i);return re.filter((lr)=>!lr.toasterId)},[re,i]),ye=D(()=>Array.from(new Set([s].concat(ae.filter((lr)=>lr.position).map((lr)=>lr.position)))),[ae,s]),[We,Ye]=u([]),[ze,qe]=u(!1),[ut,$e]=u(!1),[xt,Dt]=u(y!=="system"?y:typeof window<"u"?window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":"light"),Yt=b(null),fe=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),yt=b(null),Wt=b(!1),Ee=P((lr)=>{oe((sr)=>{var Jt;if(!((Jt=sr.find((Or)=>Or.id===lr.id))==null?void 0:Jt.delete))$s.dismiss(lr.id);return sr.filter(({id:Or})=>Or!==lr.id)})},[]);return h(()=>$s.subscribe((lr)=>{if(lr.dismiss){requestAnimationFrame(()=>{oe((sr)=>sr.map((Jt)=>Jt.id===lr.id?{...Jt,delete:!0}:Jt))});return}setTimeout(()=>{tn(()=>{oe((sr)=>{let Jt=sr.findIndex((Or)=>Or.id===lr.id);if(Jt!==-1)return[...sr.slice(0,Jt),{...sr[Jt],...lr},...sr.slice(Jt+1)];return[lr,...sr]})})})}),[]),h(()=>{if(y!=="system"){Dt(y);return}if(y==="system")if(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches)Dt("dark");else Dt("light");if(typeof window>"u")return;let lr=window.matchMedia("(prefers-color-scheme: dark)");try{lr.addEventListener("change",({matches:sr})=>{if(sr)Dt("dark");else Dt("light")})}catch(sr){lr.addListener(({matches:Jt})=>{try{if(Jt)Dt("dark");else Dt("light")}catch(Or){console.error(Or)}})}},[y]),h(()=>{if(re.length<=1)qe(!1)},[re]),h(()=>{let lr=(sr)=>{var Jt;if(l.length>0&&l.every((Kt)=>sr[Kt]||sr.code===Kt)){var Gt;qe(!0),(Gt=Yt.current)==null||Gt.focus()}if(sr.code==="Escape"&&(document.activeElement===Yt.current||((Jt=Yt.current)==null?void 0:Jt.contains(document.activeElement))))qe(!1)};return document.addEventListener("keydown",lr),()=>document.removeEventListener("keydown",lr)},[l]),h(()=>{if(Yt.current)return()=>{if(yt.current)yt.current.focus({preventScroll:!0}),yt.current=null,Wt.current=!1}},[Yt.current]),q("section",{ref:a,"aria-label":J!=null?J:`${ee} ${fe}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0,"data-react-aria-top-layer":!0},ye.map((lr,sr)=>{var Jt;let[Or,Gt]=lr.split("-");if(!ae.length)return null;return q("ol",{key:lr,dir:N==="auto"?Bce():N,tabIndex:-1,ref:Yt,className:g,"data-sonner-toaster":!0,"data-sonner-theme":xt,"data-y-position":Or,"data-x-position":Gt,style:{"--front-toast-height":`${((Jt=We[0])==null?void 0:Jt.height)||0}px`,"--width":`${i8t}px`,"--gap":`${G}px`,...j,...d8t(M,v)},onBlur:(Kt)=>{if(Wt.current&&!Kt.currentTarget.contains(Kt.relatedTarget)){if(Wt.current=!1,yt.current)yt.current.focus({preventScroll:!0}),yt.current=null}},onFocus:(Kt)=>{if(Kt.target instanceof HTMLElement&&Kt.target.dataset.dismissible==="false")return;if(!Wt.current)Wt.current=!0,yt.current=Kt.relatedTarget},onMouseEnter:()=>qe(!0),onMouseMove:()=>qe(!0),onMouseLeave:()=>{if(!ut)qe(!1)},onDragEnd:()=>qe(!1),onPointerDown:(Kt)=>{if(Kt.target instanceof HTMLElement&&Kt.target.dataset.dismissible==="false")return;$e(!0)},onPointerUp:()=>$e(!1)},ae.filter((Kt)=>!Kt.position&&sr===0||Kt.position===lr).map((Kt,ur)=>{var Ir,Er;return q(u8t,{key:Kt.id,icons:X,index:ur,toast:Kt,defaultRichColors:x,duration:(Ir=T==null?void 0:T.duration)!=null?Ir:_,className:T==null?void 0:T.className,descriptionClassName:T==null?void 0:T.descriptionClassName,invert:f,visibleToasts:U,closeButton:(Er=T==null?void 0:T.closeButton)!=null?Er:m,interacting:ut,position:lr,style:T==null?void 0:T.style,unstyled:T==null?void 0:T.unstyled,classNames:T==null?void 0:T.classNames,cancelButtonStyle:T==null?void 0:T.cancelButtonStyle,actionButtonStyle:T==null?void 0:T.actionButtonStyle,closeButtonAriaLabel:T==null?void 0:T.closeButtonAriaLabel,removeToast:Ee,toasts:ae.filter((dr)=>dr.position==Kt.position),heights:We.filter((dr)=>dr.position==Kt.position),setHeights:Ye,expandByDefault:c,gap:G,expanded:ze,swipeDirections:r.swipeDirections})}))}))});function yr({teamId:e,projectId:r,projectName:a,rootFolderId:i,dragState:f,onSelect:s,selectedFolderId:l,hideCollections:c,hideShares:m,hideRecentlyDeleted:g,hideRecents:M,ancestorFolders:v}){let y=Me(),x=K(),{canEdit:_}=Pt(r),j=Zi({from:"/projects/$projectId/recently-deleted",shouldThrow:!1}),U=Zi({from:"/projects/$projectId/recents",shouldThrow:!1}),[T,N]=u(!0),[G,X]=u(!0),[J,ee]=u(!0),{data:re,fetchNextPage:oe,hasNextPage:ae,isFetchingNextPage:ye}=ft({queryKey:["shares",r],queryFn:async({pageParam:Pe})=>{let De=await A.api.projects[":projectId"].shares.$get({param:{projectId:r},query:{first:"20",after:Pe}});if(!De.ok)throw Error(ZYe());return await De.json()},initialPageParam:"",getNextPageParam:(Pe)=>Pe.pageInfo?.cursor||void 0,enabled:!!r}),{data:We,fetchNextPage:Ye,hasNextPage:ze,isFetchingNextPage:qe}=ft({queryKey:["collections",r],queryFn:async({pageParam:Pe})=>{let De=await A.api.projects[":projectId"].collections.$get({param:{projectId:r},query:{first:"20",after:Pe}});if(!De.ok)throw Error(rYe());return await De.json()},initialPageParam:"",getNextPageParam:(Pe)=>Pe.pageInfo?.cursor||void 0,enabled:!!r}),{ref:ut,inView:$e}=Nt(),{ref:xt,inView:Dt}=Nt();h(()=>{if($e&&ze&&!qe)Ye()},[$e,ze,qe,Ye]),h(()=>{if(Dt&&ae&&!ye)oe()},[Dt,ae,ye,oe]);let Yt=D(()=>We?.pages.flatMap((Pe)=>Pe.data)||[],[We]),fe=D(()=>re?.pages.flatMap((Pe)=>Pe.data)||[],[re]),{mutate:yt}=B({mutationFn:async()=>{let Pe=await A.api.projects[":projectId"].collections.$post({param:{projectId:r},json:{name:tA(),filter:{sourceFolderId:i,searchFilter:{conditions:[],recursively:!0}}}});if(!Pe.ok)throw Error(EBe());return await Pe.json()},onSuccess:(Pe)=>{x.invalidateQueries({queryKey:["collections",r]}),k.success(pNe()),y({to:"/projects/$projectId/collections/$collectionId",params:{projectId:r,collectionId:Pe.id}})},onError:(Pe)=>{k.error(`Error: ${Pe.message}`)}}),{mutate:Wt}=B({mutationFn:async()=>{let Pe=await A.api.projects[":projectId"].shares.$post({param:{projectId:r},json:{name:new Date().toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}});if(!Pe.ok)throw Error(YBe());return await Pe.json()},onSuccess:(Pe)=>{x.invalidateQueries({queryKey:["shares",r]}),k.success(Plt()),y({to:"/projects/$projectId/shares/$shareId",params:{projectId:r,shareId:Pe.id}})},onError:(Pe)=>{k.error(`Error: ${Pe.message}`)}}),Ee=zl({from:"/projects/$projectId/collections/$collectionId",shouldThrow:!1}),lr=zl({from:"/projects/$projectId/shares/$shareId",shouldThrow:!1}),sr=zl({from:"/projects/$projectId/folders/$folderId",shouldThrow:!1}),[Jt,Or]=u(null),[Gt,Kt]=u("collection"),[ur,Ir]=u(""),[Er,dr]=u(!1),[mo,or]=u(null),[Yr,uo]=u("collection"),[jo,ho]=u(!1),{mutate:Kn}=B({mutationFn:async({id:Pe,name:De})=>{let Zt=await A.api.folders[":folderId"].$put({param:{folderId:Pe},json:{name:De}});if(!Zt.ok)throw Error(zYe());return await Zt.json()},onSuccess:()=>{x.invalidateQueries({queryKey:["search",e]}),x.invalidateQueries({queryKey:["folders"]}),k.success(oqe()),dr(!1)},onError:(Pe)=>{k.error(`Error: ${Pe.message}`)}}),{mutate:un}=B({mutationFn:async(Pe)=>{if(!(await A.api.folders.$delete({json:{ids:[Pe]}})).ok)throw Error(XBe());return Pe},onSuccess:(Pe)=>{if(x.invalidateQueries({queryKey:["search",e]}),x.invalidateQueries({queryKey:["folders"]}),k.success(XUe()),ho(!1),sr?.folderId===Pe)y({to:"/projects/$projectId",params:{projectId:r}})},onError:(Pe)=>{k.error(`Error: ${Pe.message}`)}}),[Vo,Pn]=u(!1),[$a,Hi]=u(!1),[Ke,Ct]=u([]),gr=async(Pe)=>{Pn(!0),Hi(!0),Ct([]);try{let De=await A.api.files["download-links"].$post({json:{ids:[Pe]}});if(!De.ok)throw Error(Efe());let Zt=await De.json();Ct(Zt.files)}catch(De){k.error(Efe()),Pn(!1),console.error(De)}finally{Hi(!1)}},Fr=()=>{let Pe=[...Ke];if(Pn(!1),Pe.length===0)return;k.info(iut({count:Pe.length}),{duration:5000});let De=(zt)=>new Promise((Ot)=>setTimeout(Ot,zt));(async()=>{for(let Ot=0;Ot<Pe.length;Ot+=5){let fr=Pe.slice(Ot,Ot+5);for(let At of fr){let _t=document.createElement("a");_t.href=At.url,_t.download=At.name,_t.target="_blank",document.body.appendChild(_t),_t.click(),_t.remove()}await De(1000)}})().catch((zt)=>{console.error("Background downloads failed:",zt),k.error(vct())})},{mutate:ao}=B({mutationFn:async({id:Pe,name:De})=>{let Zt=await A.api.collections[":collectionId"].$patch({param:{collectionId:Pe},json:{name:De}});if(!Zt.ok)throw Error(bYe());return await Zt.json()},onSuccess:()=>{x.invalidateQueries({queryKey:["collections",r]}),k.success(bNe()),dr(!1)},onError:(Pe)=>{k.error(`Error: ${Pe.message}`)}}),{mutate:Ho}=B({mutationFn:async(Pe)=>{let De=await A.api.collections[":collectionId"].$delete({param:{collectionId:Pe}});if(!De.ok)throw Error(VBe());return await De.json()},onSuccess:(Pe,De)=>{if(x.invalidateQueries({queryKey:["collections",r]}),k.success(gNe()),ho(!1),Ee?.collectionId===De)y({to:"/projects/$projectId",params:{projectId:r}})},onError:(Pe)=>{k.error(`Error: ${Pe.message}`)}}),{mutate:Ia}=B({mutationFn:async({id:Pe,name:De})=>{let Zt=await A.api.shares[":shareId"].$put({param:{shareId:Pe},json:{name:De}});if(!Zt.ok)throw Error(kYe());return await Zt.json()},onSuccess:()=>{x.invalidateQueries({queryKey:["shares",r]}),k.success(jlt()),dr(!1)},onError:(Pe)=>{k.error(`Error: ${Pe.message}`)}}),{mutate:Se}=B({mutationFn:async(Pe)=>{if(!(await A.api.shares[":shareId"].$delete({param:{shareId:Pe}})).ok)throw Error($Be());return Pe},onSuccess:(Pe)=>{if(x.invalidateQueries({queryKey:["shares",r]}),k.success(Elt()),ho(!1),lr?.shareId===Pe)y({to:"/projects/$projectId",params:{projectId:r}})},onError:(Pe)=>{k.error(`Error: ${Pe.message}`)}});return o("div",{className:"flex flex-col h-full overflow-hidden p-3 gap-4 bg-background",children:[o("div",{className:C("flex flex-col overflow-hidden transition-all duration-300 ease-in-out border-b border-border pb-4",T?"flex-1 min-h-[50%] h-full":"flex-none h-[44px] max-h-[44px]"),children:[t("header",{className:"group flex items-center justify-between px-2 mb-1 flex-none",children:o("div",{className:"flex-1 flex items-center gap-1.5 cursor-pointer select-none text-muted-foreground hover:text-foreground transition-colors",onClick:()=>N(!T),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:Ofe()}),T?t(Lz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(kz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]})}),t(ce,{className:C("flex-1 min-h-0 transition-all duration-300 ease-in-out [&>div>div]:block!",T?"opacity-100 visible pointer-events-auto":"opacity-0 invisible pointer-events-none h-0"),children:o("div",{className:"space-y-0.5 pr-3",children:[!M&&o("div",{className:C("group flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",U&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium"),onClick:()=>y({to:"/projects/$projectId/recents",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(Ps,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:xg()})]}),t(qce,{teamId:e,projectId:r,folder:{id:i,name:a,type:"folder",sizeByte:0,fileCount:0,status:"processed",createdAt:"",updatedAt:""},level:0,isRoot:!0,dragState:f,onSelect:s,selectedFolderId:l,canEdit:_,onRenameTrigger:(Pe,De)=>{Or(Pe),Kt("folder"),Ir(De),dr(!0)},onDeleteTrigger:(Pe)=>{or(Pe),uo("folder"),ho(!0)},onDownloadTrigger:(Pe)=>{gr(Pe)},ancestorFolders:v},i),_&&!g&&o("div",{className:C("group flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",j&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium"),onClick:()=>y({to:"/projects/$projectId/recently-deleted",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(we,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:wg()})]})]})})]}),!c&&o("div",{className:C("flex flex-col overflow-hidden transition-all duration-300 ease-in-out border-b border-border pb-4",G?"flex-1 min-h-0 h-full":"flex-none h-[44px] max-h-[44px]"),children:[o("header",{className:"group flex items-center justify-between px-2 mb-1 flex-none",children:[o("div",{className:"flex-1 flex items-center gap-1.5 cursor-pointer select-none text-muted-foreground hover:text-foreground transition-colors",onClick:()=>X(!G),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:LNe()}),G?t(Lz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(kz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]}),_&&t("button",{"data-testid":"create-collection",onClick:()=>yt(),className:"text-muted-foreground hover:text-foreground flex-none",children:t(pe,{className:"h-3.5 w-3.5"})})]}),t(ce,{className:C("flex-1 min-h-0 transition-all duration-300 ease-in-out [&>div>div]:block!",G?"opacity-100 visible pointer-events-auto":"opacity-0 invisible pointer-events-none h-0"),children:o("div",{className:"space-y-0.5 pr-3",children:[o("div",{className:"group flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",onClick:()=>y({to:"/projects/$projectId/collections",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(to,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:FEe({count:We?.pages[0]?.pageInfo?.total||0})})]}),Yt.map((Pe)=>{let De=Ee?.collectionId===Pe.id;return o("div",{className:C("group flex cursor-pointer items-center justify-between rounded-md px-2 py-1 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground min-w-0",De&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium"),onClick:()=>y({to:"/projects/$projectId/collections/$collectionId",params:{projectId:r,collectionId:Pe.id}}),children:[o("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[t("div",{className:"flex h-4 w-4 items-center justify-center shrink-0",children:t(Ya,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"truncate text-sidebar-foreground flex-1",children:Pe.name})]}),_&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity shrink-0",onClick:(Zt)=>Zt.stopPropagation(),children:o(he,{modal:!1,children:[t(ge,{asChild:!0,children:t(E,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(rr,{className:"h-3.5 w-3.5"})})}),o(Ae,{align:"end",className:"w-32",children:[t(W,{onClick:()=>{Or(Pe.id),Kt("collection"),Ir(Pe.name),dr(!0)},children:Oo()}),t(W,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{or(Pe.id),uo("collection"),ho(!0)},children:it()})]})]})})]},Pe.id)}),t("div",{ref:ut,className:"h-1"}),qe&&t("div",{className:"flex justify-center p-2",children:t(F,{className:"h-4 w-4 animate-spin text-muted-foreground"})})]})})]}),!m&&o("div",{className:C("flex flex-col overflow-hidden transition-all duration-300 ease-in-out",J?"flex-1 min-h-0 h-full":"flex-none h-[44px] max-h-[44px]"),children:[o("header",{className:"group flex items-center justify-between px-2 mb-1 flex-none",children:[o("div",{className:"flex-1 flex items-center gap-1.5 cursor-pointer select-none text-muted-foreground hover:text-foreground transition-colors",onClick:()=>ee(!J),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:Ult()}),J?t(Lz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(kz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]}),_&&t("div",{className:"flex items-center gap-1 flex-none",children:t("button",{onClick:()=>Wt(),className:"text-muted-foreground hover:text-foreground",children:t(pe,{className:"h-3.5 w-3.5"})})})]}),t(ce,{className:C("flex-1 min-h-0 transition-all duration-300 ease-in-out [&>div>div]:block!",J?"opacity-100 visible pointer-events-auto":"opacity-0 invisible pointer-events-none h-0"),children:o("div",{className:"space-y-0.5 pr-3",children:[o("div",{className:"group flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",onClick:()=>y({to:"/projects/$projectId/shares",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(to,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:rDe({count:re?.pages[0]?.pageInfo?.total||0})})]}),fe.map((Pe)=>t(Z8t,{link:Pe,projectId:r,dragState:f,canEdit:_,onRenameTrigger:(De,Zt)=>{Or(De),Kt("share"),Ir(Zt),dr(!0)},onDeleteTrigger:(De)=>{or(De),uo("share"),ho(!0)}},Pe.id)),t("div",{ref:xt,className:"h-1"}),ye&&t("div",{className:"flex justify-center p-2",children:t(F,{className:"h-4 w-4 animate-spin text-muted-foreground"})})]})})]}),t(ue,{open:Er,onOpenChange:dr,children:o(ie,{onClick:(Pe)=>Pe.stopPropagation(),children:[t(me,{children:t(le,{children:Gt==="collection"?eit():Gt==="share"?iit():oit()})}),t("div",{className:"py-4",children:t(H,{value:ur,onChange:(Pe)=>Ir(Pe.target.value),placeholder:ud(),onKeyDown:(Pe)=>{if(Pe.key==="Enter"&&ur.trim()){if(Gt==="collection")ao({id:Jt,name:ur});else if(Gt==="share")Ia({id:Jt,name:ur});else if(Gt==="folder")Kn({id:Jt,name:ur})}}})}),o(Ge,{children:[t(E,{variant:"ghost",onClick:()=>dr(!1),children:Ne()}),t(E,{disabled:!ur.trim(),onClick:()=>{if(Gt==="collection")ao({id:Jt,name:ur});else if(Gt==="share")Ia({id:Jt,name:ur});else if(Gt==="folder")Kn({id:Jt,name:ur})},children:Oo()})]})]})}),t(Je,{open:jo,onOpenChange:ho,children:o(Xe,{onClick:(Pe)=>Pe.stopPropagation(),children:[o(et,{children:[t(rt,{children:Yr==="collection"?CFe():Yr==="share"?p3e():BFe()}),t(nt,{children:DFe({type:Yr==="collection"?uNe():Yr==="share"?Clt():vh().toLowerCase()})})]}),o(tt,{children:[t(st,{children:Ne()}),t(ot,{className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",onClick:()=>{if(Yr==="collection")Ho(mo);else if(Yr==="share")Se(mo);else if(Yr==="folder")un(mo)},children:it()})]})]})}),t(ue,{open:Vo,onOpenChange:Pn,children:o(ie,{className:"sm:max-w-md",children:[o(me,{children:[t(le,{children:$a?og():Ym()}),t(Tt,{children:$a?Cg():wh()})]}),$a?o("div",{className:"space-y-4 py-6 flex flex-col items-center justify-center",children:[t(F,{className:"h-8 w-8 animate-spin text-primary"}),t("span",{className:"text-sm font-medium text-muted-foreground mt-2",children:sg()})]}):o("div",{className:"space-y-4 py-2",children:[t("div",{className:"text-sm text-muted-foreground",children:ih({count:Ke.length})}),o("div",{className:"flex items-start gap-3 p-3 text-sm rounded-lg bg-amber-50 dark:bg-amber-950/30 text-amber-800 dark:text-amber-300 border border-amber-200 dark:border-amber-900/30",children:[t(Gr,{className:"h-5 w-5 shrink-0 mt-0.5"}),o("div",{children:[t("p",{className:"font-semibold",children:Qh()}),t("p",{className:"mt-0.5 text-xs text-amber-700/90 dark:text-amber-400/90",children:Sh()})]})]})]}),t(Ge,{children:!$a?o(Z,{children:[t(E,{variant:"outline",onClick:()=>Pn(!1),children:Ne()}),o(E,{onClick:Fr,className:"gap-2",disabled:Ke.length===0,children:[t(vt,{className:"h-4 w-4"}),Hg()]})]}):t(E,{disabled:!0,variant:"outline",children:Ne()})})]})})]})}function Z8t({link:e,projectId:r,dragState:a,canEdit:i,onRenameTrigger:f,onDeleteTrigger:s}){let l=Me(),m=zl({from:"/projects/$projectId/shares/$shareId",shouldThrow:!1})?.shareId===e.id,{ref:g,isDropTarget:M}=Dr({id:`share:${e.id}`,data:{type:"share-link",id:e.id}}),v=!!a?.isActive;return o("div",{ref:g,className:C("group flex cursor-pointer items-center justify-between rounded-md px-2 py-1 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground min-w-0",m&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium",M&&v&&"bg-sidebar-accent ring-2 ring-primary ring-inset"),onClick:()=>l({to:"/projects/$projectId/shares/$shareId",params:{projectId:r,shareId:e.id}}),children:[o("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[t("div",{className:"flex h-4 w-4 items-center justify-center shrink-0",children:t(Ti,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"truncate text-sidebar-foreground flex-1",children:e.name})]}),i&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity shrink-0",onClick:(y)=>y.stopPropagation(),children:o(he,{modal:!1,children:[t(ge,{asChild:!0,children:t(E,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(rr,{className:"h-3.5 w-3.5"})})}),o(Ae,{align:"end",className:"w-32",children:[t(W,{onClick:()=>{f(e.id,e.name)},children:Oo()}),t(W,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{s(e.id)},children:it()})]})]})})]})}function qce({teamId:e,projectId:r,folder:a,level:i,isRoot:f,dragState:s,onSelect:l,selectedFolderId:c,canEdit:m,onRenameTrigger:g,onDeleteTrigger:M,onDownloadTrigger:v,ancestorFolders:y}){let x=D(()=>y?.some((Wt)=>Wt.id===a.id)??!1,[y,a.id]),[_,j]=u(f||x);h(()=>{if(x)j(!0)},[x]);let U=Me(),T=zl({from:"/projects/$projectId/folders/$folderId",select:(Wt)=>({folderId:Wt.folderId}),shouldThrow:!1}),N=zl({from:"/projects/$projectId/",shouldThrow:!1}),G=f?!!N:T?.folderId===a.id,{data:X,fetchNextPage:J,hasNextPage:ee,isFetchingNextPage:re,isLoading:oe}=ft({queryKey:["folders",a.id,"children",{assetType:"folder"}],queryFn:async({pageParam:Wt})=>{let Ee=await A.api.folders[":folderId"].children.$get({param:{folderId:a.id},query:{assetType:"folder",after:Wt,first:"20"}});if(!Ee.ok)throw Error(VYe());return await Ee.json()},initialPageParam:"",getNextPageParam:(Wt)=>Wt.pageInfo?.cursor||void 0,enabled:_||!!f}),{ref:ae,inView:ye}=Nt();h(()=>{if(ye&&ee&&!re)J()},[ye,ee,re,J]);let We=X?.pages.flatMap((Wt)=>Wt.data??[])??[],Ye=(Wt)=>{Wt.stopPropagation(),j(!_)},ze=()=>{if(l){l(a);return}if(f)U({to:"/projects/$projectId",params:{projectId:r}});else U({to:"/projects/$projectId/folders/$folderId",params:{projectId:r,folderId:a.id}})},{ref:qe,isDragging:ut}=As({id:`tree:${a.id}`,data:{type:"folder",item:a},disabled:!!f||!!l||!m}),{ref:$e,isDropTarget:xt}=Dr({id:`tree:${a.id}`,data:{type:"folder",item:a},disabled:s?.draggedIds.has(a.id)||!!l||!m}),Dt=(Wt)=>{qe(Wt),$e(Wt)},Yt=D(()=>{if(l)return!1;if(!s?.isActive)return!1;if(s.draggedIds.has(a.id))return!1;return!0},[s,a.id,l]),fe=xt&&Yt,yt=c===a.id;return o("div",{children:[o("div",{ref:Dt,className:C("group flex cursor-pointer items-center gap-1 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground min-w-0",(G||yt)&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium",ut&&"opacity-50",fe&&"bg-sidebar-accent ring-2 ring-primary ring-inset"),style:{...f?{}:{paddingLeft:`${i*12+8}px`}},onClick:ze,children:[!f&&t("button",{onClick:Ye,className:"flex h-4 w-4 items-center justify-center shrink-0",children:_?t(ve,{className:"h-3 w-3"}):t(bt,{className:"h-3 w-3"})}),f?t(rT,{className:"h-4 w-4 text-sidebar-primary shrink-0"}):t(er,{className:"h-4 w-4 text-sidebar-primary shrink-0"}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:a.name}),m&&!f&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity shrink-0",onClick:(Wt)=>Wt.stopPropagation(),children:o(he,{modal:!1,children:[t(ge,{asChild:!0,children:t(E,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(rr,{className:"h-3.5 w-3.5"})})}),o(Ae,{align:"end",className:"w-32",children:[o(W,{onClick:()=>{g(a.id,a.name)},children:[t($r,{className:"mr-2 h-4 w-4"}),Oo()]}),o(W,{onClick:()=>{v(a.id)},children:[t(vt,{className:"mr-2 h-4 w-4"}),pr()]}),t(Vt,{}),o(W,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{M(a.id)},children:[t(we,{className:"mr-2 h-4 w-4"}),it()]})]})]})})]}),_&&o("div",{children:[oe&&t("div",{className:"flex items-center justify-center p-2",style:{paddingLeft:`${(i+1)*12+8}px`},children:t(F,{className:"h-4 w-4 animate-spin"})}),We.map((Wt)=>t(qce,{teamId:e,projectId:r,folder:Wt,level:i+1,dragState:s,onSelect:l,selectedFolderId:c,canEdit:m,onRenameTrigger:g,onDeleteTrigger:M,onDownloadTrigger:v,ancestorFolders:y},Wt.id)),ee&&t("div",{ref:ae,className:"flex items-center justify-center p-2",style:{paddingLeft:`${(i+1)*12+8}px`},children:re&&t(F,{className:"h-4 w-4 animate-spin"})})]})]})}var p8t=Math.pow(10,8)*24*60*60*1000,bZn=-p8t,D5=604800000,Vce=86400000,C9=60000,_2=3600000;var I9=Symbol.for("constructDateFrom");function ct(e,r){if(typeof e==="function")return e(r);if(e&&typeof e==="object"&&I9 in e)return e[I9](r);if(e instanceof Date)return new e.constructor(r);return new Date(r)}function xe(e,r){return ct(r||e,e)}function oR(e,r,a){let i=xe(e,a?.in);if(isNaN(r))return ct(a?.in||e,NaN);if(!r)return i;return i.setDate(i.getDate()+r),i}function Oi(e,r,a){let i=xe(e,a?.in);if(isNaN(r))return ct(a?.in||e,NaN);if(!r)return i;let f=i.getDate(),s=ct(a?.in||e,i.getTime());s.setMonth(i.getMonth()+r+1,0);let l=s.getDate();if(f>=l)return s;else return i.setFullYear(s.getFullYear(),s.getMonth(),f),i}function Hce(e,r,a){return ct(a?.in||e,+xe(e)+r)}function Wce(e,r,a){return Hce(e,r*_2,a)}var m8t={};function MZ(){return m8t}function bu(e,r){let a=MZ(),i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,f=xe(e,r?.in),s=f.getDay(),l=(s<i?7:0)+s-i;return f.setDate(f.getDate()-l),f.setHours(0,0,0,0),f}function aM(e,r){return bu(e,{...r,weekStartsOn:1})}function O5(e,r){let a=xe(e,r?.in),i=a.getFullYear(),f=ct(a,0);f.setFullYear(i+1,0,4),f.setHours(0,0,0,0);let s=aM(f),l=ct(a,0);l.setFullYear(i,0,4),l.setHours(0,0,0,0);let c=aM(l);if(a.getTime()>=s.getTime())return i+1;else if(a.getTime()>=c.getTime())return i;else return i-1}function R9(e){let r=xe(e),a=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return a.setUTCFullYear(r.getFullYear()),+e-+a}function el(e,...r){let a=ct.bind(null,e||r.find((i)=>typeof i==="object"));return r.map(a)}function k8(e,r){let a=xe(e,r?.in);return a.setHours(0,0,0,0),a}function C8(e,r,a){let[i,f]=el(a?.in,e,r),s=k8(i),l=k8(f),c=+s-R9(s),m=+l-R9(l);return Math.round((c-m)/Vce)}function Gce(e,r){let a=O5(e,r),i=ct(r?.in||e,0);return i.setFullYear(a,0,4),i.setHours(0,0,0,0),aM(i)}function w2(e,r,a){return oR(e,r*7,a)}function Kce(e,r,a){return Oi(e,r*12,a)}function Xce(e,r){let a,i=r?.in;return e.forEach((f)=>{if(!i&&typeof f==="object")i=ct.bind(null,f);let s=xe(f,i);if(!a||a<s||isNaN(+s))a=s}),ct(i,a||NaN)}function Qce(e,r){let a,i=r?.in;return e.forEach((f)=>{if(!i&&typeof f==="object")i=ct.bind(null,f);let s=xe(f,i);if(!a||a>s||isNaN(+s))a=s}),ct(i,a||NaN)}function j5(e){return ct(e,Date.now())}function aR(e,r,a){let[i,f]=el(a?.in,e,r);return+k8(i)===+k8(f)}function N5(e){return e instanceof Date||typeof e==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function ti(e){return!(!N5(e)&&typeof e!=="number"||isNaN(+xe(e)))}function F5(e,r,a){let[i,f]=el(a?.in,e,r),s=i.getFullYear()-f.getFullYear(),l=i.getMonth()-f.getMonth();return s*12+l}function P9(e,r,a){let[i,f]=el(a?.in,e,r),s=Jce(i,f),l=Math.abs(C8(i,f));i.setDate(i.getDate()-s*l);let c=Number(Jce(i,f)===-s),m=s*(l-c);return m===0?0:m}function Jce(e,r){let a=e.getFullYear()-r.getFullYear()||e.getMonth()-r.getMonth()||e.getDate()-r.getDate()||e.getHours()-r.getHours()||e.getMinutes()-r.getMinutes()||e.getSeconds()-r.getSeconds()||e.getMilliseconds()-r.getMilliseconds();if(a<0)return-1;if(a>0)return 1;return a}function Bd(e,r){let a=xe(e,r?.in),i=a.getMonth();return a.setFullYear(a.getFullYear(),i+1,0),a.setHours(23,59,59,999),a}function Ml(e,r){let[a,i]=el(e,r.start,r.end);return{start:a,end:i}}function $ce(e,r){let{start:a,end:i}=Ml(r?.in,e),f=+a>+i,s=f?+a:+i,l=f?i:a;l.setHours(0,0,0,0),l.setDate(1);let c=r?.step??1;if(!c)return[];if(c<0)c=-c,f=!f;let m=[];while(+l<=s)m.push(ct(a,l)),l.setMonth(l.getMonth()+c);return f?m.reverse():m}function eue(e,r){let a=xe(e,r?.in);return a.setDate(1),a.setHours(0,0,0,0),a}function tue(e,r){let a=xe(e,r?.in),i=a.getFullYear();return a.setFullYear(i+1,0,0),a.setHours(23,59,59,999),a}function B5(e,r){let a=xe(e,r?.in);return a.setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a}function rue(e,r){let{start:a,end:i}=Ml(r?.in,e),f=+a>+i,s=f?+a:+i,l=f?i:a;l.setHours(0,0,0,0),l.setMonth(0,1);let c=r?.step??1;if(!c)return[];if(c<0)c=-c,f=!f;let m=[];while(+l<=s)m.push(ct(a,l)),l.setFullYear(l.getFullYear()+c);return f?m.reverse():m}function Y5(e,r){let a=MZ(),i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,f=xe(e,r?.in),s=f.getDay(),l=(s<i?-7:0)+6-(s-i);return f.setDate(f.getDate()+l),f.setHours(23,59,59,999),f}function oue(e,r){return Y5(e,{...r,weekStartsOn:1})}var h8t={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"}},aue=(e,r,a)=>{let i,f=h8t[e];if(typeof f==="string")i=f;else if(r===1)i=f.one;else i=f.other.replace("{{count}}",r.toString());if(a?.addSuffix)if(a.comparison&&a.comparison>0)return"in "+i;else return i+" ago";return i};function U5(e){return(r={})=>{let a=r.width?String(r.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}var g8t={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},M8t={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},v8t={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},nue={date:U5({formats:g8t,defaultWidth:"full"}),time:U5({formats:M8t,defaultWidth:"full"}),dateTime:U5({formats:v8t,defaultWidth:"full"})};var x8t={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},iue=(e,r,a,i)=>x8t[e];function nR(e){return(r,a)=>{let i=a?.context?String(a.context):"standalone",f;if(i==="formatting"&&e.formattingValues){let l=e.defaultFormattingWidth||e.defaultWidth,c=a?.width?String(a.width):l;f=e.formattingValues[c]||e.formattingValues[l]}else{let l=e.defaultWidth,c=a?.width?String(a.width):e.defaultWidth;f=e.values[c]||e.values[l]}let s=e.argumentCallback?e.argumentCallback(r):r;return f[s]}}var y8t={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},b8t={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},_8t={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"]},w8t={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"]},z8t={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"}},S8t={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"}},L8t=(e,r)=>{let a=Number(e),i=a%100;if(i>20||i<10)switch(i%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},fue={ordinalNumber:L8t,era:nR({values:y8t,defaultWidth:"wide"}),quarter:nR({values:b8t,defaultWidth:"wide",argumentCallback:(e)=>e-1}),month:nR({values:_8t,defaultWidth:"wide"}),day:nR({values:w8t,defaultWidth:"wide"}),dayPeriod:nR({values:z8t,defaultWidth:"wide",formattingValues:S8t,defaultFormattingWidth:"wide"})};function iR(e){return(r,a={})=>{let i=a.width,f=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],s=r.match(f);if(!s)return null;let l=s[0],c=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],m=Array.isArray(c)?C8t(c,(v)=>v.test(l)):k8t(c,(v)=>v.test(l)),g;g=e.valueCallback?e.valueCallback(m):m,g=a.valueCallback?a.valueCallback(g):g;let M=r.slice(l.length);return{value:g,rest:M}}}function k8t(e,r){for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&r(e[a]))return a;return}function C8t(e,r){for(let a=0;a<e.length;a++)if(r(e[a]))return a;return}function sue(e){return(r,a={})=>{let i=r.match(e.matchPattern);if(!i)return null;let f=i[0],s=r.match(e.parsePattern);if(!s)return null;let l=e.valueCallback?e.valueCallback(s[0]):s[0];l=a.valueCallback?a.valueCallback(l):l;let c=r.slice(f.length);return{value:l,rest:c}}}var I8t=/^(\d+)(th|st|nd|rd)?/i,R8t=/\d+/i,P8t={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},T8t={any:[/^b/i,/^(a|c)/i]},A8t={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},E8t={any:[/1/i,/2/i,/3/i,/4/i]},D8t={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},O8t={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]},j8t={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},N8t={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]},F8t={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},B8t={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}},lue={ordinalNumber:sue({matchPattern:I8t,parsePattern:R8t,valueCallback:(e)=>parseInt(e,10)}),era:iR({matchPatterns:P8t,defaultMatchWidth:"wide",parsePatterns:T8t,defaultParseWidth:"any"}),quarter:iR({matchPatterns:A8t,defaultMatchWidth:"wide",parsePatterns:E8t,defaultParseWidth:"any",valueCallback:(e)=>e+1}),month:iR({matchPatterns:D8t,defaultMatchWidth:"wide",parsePatterns:O8t,defaultParseWidth:"any"}),day:iR({matchPatterns:j8t,defaultMatchWidth:"wide",parsePatterns:N8t,defaultParseWidth:"any"}),dayPeriod:iR({matchPatterns:F8t,defaultMatchWidth:"any",parsePatterns:B8t,defaultParseWidth:"any"})};var nM={code:"en-US",formatDistance:aue,formatLong:nue,formatRelative:iue,localize:fue,match:lue,options:{weekStartsOn:0,firstWeekContainsDate:1}};function cue(e,r){let a=xe(e,r?.in);return C8(a,B5(a))+1}function fR(e,r){let a=xe(e,r?.in),i=+aM(a)-+Gce(a);return Math.round(i/D5)+1}function q5(e,r){let a=xe(e,r?.in),i=a.getFullYear(),f=MZ(),s=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??f.firstWeekContainsDate??f.locale?.options?.firstWeekContainsDate??1,l=ct(r?.in||e,0);l.setFullYear(i+1,0,s),l.setHours(0,0,0,0);let c=bu(l,r),m=ct(r?.in||e,0);m.setFullYear(i,0,s),m.setHours(0,0,0,0);let g=bu(m,r);if(+a>=+c)return i+1;else if(+a>=+g)return i;else return i-1}function uue(e,r){let a=MZ(),i=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,f=q5(e,r),s=ct(r?.in||e,0);return s.setFullYear(f,0,i),s.setHours(0,0,0,0),bu(s,r)}function sR(e,r){let a=xe(e,r?.in),i=+bu(a,r)-+uue(a,r);return Math.round(i/D5)+1}function qo(e,r){let a=e<0?"-":"",i=Math.abs(e).toString().padStart(r,"0");return a+i}var iM={y(e,r){let a=e.getFullYear(),i=a>0?a:1-a;return qo(r==="yy"?i%100:i,r.length)},M(e,r){let a=e.getMonth();return r==="M"?String(a+1):qo(a+1,2)},d(e,r){return qo(e.getDate(),r.length)},a(e,r){let a=e.getHours()/12>=1?"pm":"am";switch(r){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,r){return qo(e.getHours()%12||12,r.length)},H(e,r){return qo(e.getHours(),r.length)},m(e,r){return qo(e.getMinutes(),r.length)},s(e,r){return qo(e.getSeconds(),r.length)},S(e,r){let a=r.length,i=e.getMilliseconds(),f=Math.trunc(i*Math.pow(10,a-3));return qo(f,r.length)}};var lR={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},T9={G:function(e,r,a){let i=e.getFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return a.era(i,{width:"abbreviated"});case"GGGGG":return a.era(i,{width:"narrow"});case"GGGG":default:return a.era(i,{width:"wide"})}},y:function(e,r,a){if(r==="yo"){let i=e.getFullYear(),f=i>0?i:1-i;return a.ordinalNumber(f,{unit:"year"})}return iM.y(e,r)},Y:function(e,r,a,i){let f=q5(e,i),s=f>0?f:1-f;if(r==="YY"){let l=s%100;return qo(l,2)}if(r==="Yo")return a.ordinalNumber(s,{unit:"year"});return qo(s,r.length)},R:function(e,r){let a=O5(e);return qo(a,r.length)},u:function(e,r){let a=e.getFullYear();return qo(a,r.length)},Q:function(e,r,a){let i=Math.ceil((e.getMonth()+1)/3);switch(r){case"Q":return String(i);case"QQ":return qo(i,2);case"Qo":return a.ordinalNumber(i,{unit:"quarter"});case"QQQ":return a.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,r,a){let i=Math.ceil((e.getMonth()+1)/3);switch(r){case"q":return String(i);case"qq":return qo(i,2);case"qo":return a.ordinalNumber(i,{unit:"quarter"});case"qqq":return a.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,r,a){let i=e.getMonth();switch(r){case"M":case"MM":return iM.M(e,r);case"Mo":return a.ordinalNumber(i+1,{unit:"month"});case"MMM":return a.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(i,{width:"wide",context:"formatting"})}},L:function(e,r,a){let i=e.getMonth();switch(r){case"L":return String(i+1);case"LL":return qo(i+1,2);case"Lo":return a.ordinalNumber(i+1,{unit:"month"});case"LLL":return a.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(i,{width:"wide",context:"standalone"})}},w:function(e,r,a,i){let f=sR(e,i);if(r==="wo")return a.ordinalNumber(f,{unit:"week"});return qo(f,r.length)},I:function(e,r,a){let i=fR(e);if(r==="Io")return a.ordinalNumber(i,{unit:"week"});return qo(i,r.length)},d:function(e,r,a){if(r==="do")return a.ordinalNumber(e.getDate(),{unit:"date"});return iM.d(e,r)},D:function(e,r,a){let i=cue(e);if(r==="Do")return a.ordinalNumber(i,{unit:"dayOfYear"});return qo(i,r.length)},E:function(e,r,a){let i=e.getDay();switch(r){case"E":case"EE":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"})}},e:function(e,r,a,i){let f=e.getDay(),s=(f-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(s);case"ee":return qo(s,2);case"eo":return a.ordinalNumber(s,{unit:"day"});case"eee":return a.day(f,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(f,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(f,{width:"short",context:"formatting"});case"eeee":default:return a.day(f,{width:"wide",context:"formatting"})}},c:function(e,r,a,i){let f=e.getDay(),s=(f-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(s);case"cc":return qo(s,r.length);case"co":return a.ordinalNumber(s,{unit:"day"});case"ccc":return a.day(f,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(f,{width:"narrow",context:"standalone"});case"cccccc":return a.day(f,{width:"short",context:"standalone"});case"cccc":default:return a.day(f,{width:"wide",context:"standalone"})}},i:function(e,r,a){let i=e.getDay(),f=i===0?7:i;switch(r){case"i":return String(f);case"ii":return qo(f,r.length);case"io":return a.ordinalNumber(f,{unit:"day"});case"iii":return a.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(i,{width:"short",context:"formatting"});case"iiii":default:return a.day(i,{width:"wide",context:"formatting"})}},a:function(e,r,a){let f=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return a.dayPeriod(f,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(f,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(f,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(f,{width:"wide",context:"formatting"})}},b:function(e,r,a){let i=e.getHours(),f;if(i===12)f=lR.noon;else if(i===0)f=lR.midnight;else f=i/12>=1?"pm":"am";switch(r){case"b":case"bb":return a.dayPeriod(f,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(f,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(f,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(f,{width:"wide",context:"formatting"})}},B:function(e,r,a){let i=e.getHours(),f;if(i>=17)f=lR.evening;else if(i>=12)f=lR.afternoon;else if(i>=4)f=lR.morning;else f=lR.night;switch(r){case"B":case"BB":case"BBB":return a.dayPeriod(f,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(f,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(f,{width:"wide",context:"formatting"})}},h:function(e,r,a){if(r==="ho"){let i=e.getHours()%12;if(i===0)i=12;return a.ordinalNumber(i,{unit:"hour"})}return iM.h(e,r)},H:function(e,r,a){if(r==="Ho")return a.ordinalNumber(e.getHours(),{unit:"hour"});return iM.H(e,r)},K:function(e,r,a){let i=e.getHours()%12;if(r==="Ko")return a.ordinalNumber(i,{unit:"hour"});return qo(i,r.length)},k:function(e,r,a){let i=e.getHours();if(i===0)i=24;if(r==="ko")return a.ordinalNumber(i,{unit:"hour"});return qo(i,r.length)},m:function(e,r,a){if(r==="mo")return a.ordinalNumber(e.getMinutes(),{unit:"minute"});return iM.m(e,r)},s:function(e,r,a){if(r==="so")return a.ordinalNumber(e.getSeconds(),{unit:"second"});return iM.s(e,r)},S:function(e,r){return iM.S(e,r)},X:function(e,r,a){let i=e.getTimezoneOffset();if(i===0)return"Z";switch(r){case"X":return Zue(i);case"XXXX":case"XX":return ML(i);case"XXXXX":case"XXX":default:return ML(i,":")}},x:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"x":return Zue(i);case"xxxx":case"xx":return ML(i);case"xxxxx":case"xxx":default:return ML(i,":")}},O:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+due(i,":");case"OOOO":default:return"GMT"+ML(i,":")}},z:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+due(i,":");case"zzzz":default:return"GMT"+ML(i,":")}},t:function(e,r,a){let i=Math.trunc(+e/1000);return qo(i,r.length)},T:function(e,r,a){return qo(+e,r.length)}};function due(e,r=""){let a=e>0?"-":"+",i=Math.abs(e),f=Math.trunc(i/60),s=i%60;if(s===0)return a+String(f);return a+String(f)+r+qo(s,2)}function Zue(e,r){if(e%60===0)return(e>0?"-":"+")+qo(Math.abs(e)/60,2);return ML(e,r)}function ML(e,r=""){let a=e>0?"-":"+",i=Math.abs(e),f=qo(Math.trunc(i/60),2),s=qo(i%60,2);return a+f+r+s}var pue=(e,r)=>{switch(e){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},mue=(e,r)=>{switch(e){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},Y8t=(e,r)=>{let a=e.match(/(P+)(p+)?/)||[],i=a[1],f=a[2];if(!f)return pue(e,r);let s;switch(i){case"P":s=r.dateTime({width:"short"});break;case"PP":s=r.dateTime({width:"medium"});break;case"PPP":s=r.dateTime({width:"long"});break;case"PPPP":default:s=r.dateTime({width:"full"});break}return s.replace("{{date}}",pue(i,r)).replace("{{time}}",mue(f,r))},hue={p:mue,P:Y8t};var U8t=/^D+$/,q8t=/^Y+$/,V8t=["D","DD","YY","YYYY"];function gue(e){return U8t.test(e)}function Mue(e){return q8t.test(e)}function vue(e,r,a){let i=H8t(e,r,a);if(console.warn(i),V8t.includes(e))throw RangeError(i)}function H8t(e,r,a){let i=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${r}\`) for formatting ${i} to the input \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var W8t=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,G8t=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,K8t=/^'([^]*?)'?$/,X8t=/''/g,Q8t=/[a-zA-Z]/;function mr(e,r,a){let i=MZ(),f=a?.locale??i.locale??nM,s=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,l=a?.weekStartsOn??a?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,c=xe(e,a?.in);if(!ti(c))throw RangeError("Invalid time value");let m=r.match(G8t).map((M)=>{let v=M[0];if(v==="p"||v==="P"){let y=hue[v];return y(M,f.formatLong)}return M}).join("").match(W8t).map((M)=>{if(M==="''")return{isToken:!1,value:"'"};let v=M[0];if(v==="'")return{isToken:!1,value:J8t(M)};if(T9[v])return{isToken:!0,value:M};if(v.match(Q8t))throw RangeError("Format string contains an unescaped latin alphabet character `"+v+"`");return{isToken:!1,value:M}});if(f.localize.preprocessor)m=f.localize.preprocessor(c,m);let g={firstWeekContainsDate:s,weekStartsOn:l,locale:f};return m.map((M)=>{if(!M.isToken)return M.value;let v=M.value;if(!a?.useAdditionalWeekYearTokens&&Mue(v)||!a?.useAdditionalDayOfYearTokens&&gue(v))vue(v,r,String(e));let y=T9[v[0]];return y(c,v,f.localize,g)}).join("")}function J8t(e){let r=e.match(K8t);if(!r)return e;return r[1].replace(X8t,"'")}function xue(e,r){let a=xe(e,r?.in),i=a.getFullYear(),f=a.getMonth(),s=ct(a,0);return s.setFullYear(i,f+1,0),s.setHours(0,0,0,0),s.getDate()}function Vc(e,r){return xe(e,r?.in).getMonth()}function Qc(e,r){return xe(e,r?.in).getFullYear()}function yue(e,r){return+xe(e)>+xe(r)}function bue(e,r){return+xe(e)<+xe(r)}function _ue(e,r,a){let[i,f]=el(a?.in,e,r);return i.getFullYear()===f.getFullYear()&&i.getMonth()===f.getMonth()}function wue(e,r,a){let[i,f]=el(a?.in,e,r);return i.getFullYear()===f.getFullYear()}function z2(e,r){return aR(ct(r?.in||e,e),j5(r?.in||e))}function zue(e,r,a){return oR(e,-r,a)}function S2(e,r){return aR(ct(r?.in||e,e),zue(j5(r?.in||e),1))}function I8(e,r){let a=()=>ct(r?.in,NaN),i=r?.additionalDigits??2,f=rxt(e),s;if(f.date){let g=oxt(f.date,i);s=axt(g.restDateString,g.year)}if(!s||isNaN(+s))return a();let l=+s,c=0,m;if(f.time){if(c=nxt(f.time),isNaN(c))return a()}if(f.timezone){if(m=ixt(f.timezone),isNaN(m))return a()}else{let g=new Date(l+c),M=xe(0,r?.in);return M.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),M.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),M}return xe(l+c+m,r?.in)}var V5={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},$8t=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,ext=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,txt=/^([+-])(\d{2})(?::?(\d{2}))?$/;function rxt(e){let r={},a=e.split(V5.dateTimeDelimiter),i;if(a.length>2)return r;if(/:/.test(a[0]))i=a[0];else if(r.date=a[0],i=a[1],V5.timeZoneDelimiter.test(r.date))r.date=e.split(V5.timeZoneDelimiter)[0],i=e.substr(r.date.length,e.length);if(i){let f=V5.timezone.exec(i);if(f)r.time=i.replace(f[1],""),r.timezone=f[1];else r.time=i}return r}function oxt(e,r){let a=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+r)+"})|(\\d{2}|[+-]\\d{"+(2+r)+"})$)"),i=e.match(a);if(!i)return{year:NaN,restDateString:""};let f=i[1]?parseInt(i[1]):null,s=i[2]?parseInt(i[2]):null;return{year:s===null?f:s*100,restDateString:e.slice((i[1]||i[2]).length)}}function axt(e,r){if(r===null)return new Date(NaN);let a=e.match($8t);if(!a)return new Date(NaN);let i=!!a[4],f=L2(a[1]),s=L2(a[2])-1,l=L2(a[3]),c=L2(a[4]),m=L2(a[5])-1;if(i){if(!uxt(r,c,m))return new Date(NaN);return fxt(r,c,m)}else{let g=new Date(0);if(!lxt(r,s,l)||!cxt(r,f))return new Date(NaN);return g.setUTCFullYear(r,s,Math.max(f,l)),g}}function L2(e){return e?parseInt(e):1}function nxt(e){let r=e.match(ext);if(!r)return NaN;let a=A9(r[1]),i=A9(r[2]),f=A9(r[3]);if(!dxt(a,i,f))return NaN;return a*_2+i*C9+f*1000}function A9(e){return e&&parseFloat(e.replace(",","."))||0}function ixt(e){if(e==="Z")return 0;let r=e.match(txt);if(!r)return 0;let a=r[1]==="+"?-1:1,i=parseInt(r[2]),f=r[3]&&parseInt(r[3])||0;if(!Zxt(i,f))return NaN;return a*(i*_2+f*C9)}function fxt(e,r,a){let i=new Date(0);i.setUTCFullYear(e,0,4);let f=i.getUTCDay()||7,s=(r-1)*7+a+1-f;return i.setUTCDate(i.getUTCDate()+s),i}var sxt=[31,null,31,30,31,30,31,31,30,31,30,31];function Sue(e){return e%400===0||e%4===0&&e%100!==0}function lxt(e,r,a){return r>=0&&r<=11&&a>=1&&a<=(sxt[r]||(Sue(e)?29:28))}function cxt(e,r){return r>=1&&r<=(Sue(e)?366:365)}function uxt(e,r,a){return r>=1&&r<=53&&a>=0&&a<=6}function dxt(e,r,a){if(e===24)return r===0&&a===0;return a>=0&&a<60&&r>=0&&r<60&&e>=0&&e<25}function Zxt(e,r){return r>=0&&r<=59}function Lue(e,r,a){let i=xe(e,a?.in),f=i.getFullYear(),s=i.getDate(),l=ct(a?.in||e,0);l.setFullYear(f,r,15),l.setHours(0,0,0,0);let c=xue(l);return i.setMonth(r,Math.min(s,c)),i}function kue(e,r,a){let i=xe(e,a?.in);if(isNaN(+i))return ct(a?.in||e,NaN);return i.setFullYear(r),i}var Mn=(e)=>{let r=I8(e),a=new Date;if(isNaN(r.getTime()))return e;let i=mr(r,"HH:mm");if(z2(r))return PZt({time:i});if(S2(r))return Dht({time:i});let f=P9(a,r),s=f>=0?f:0;return s===1?Bfe({count:s}):Ffe({count:s})},sA=(e)=>{let r=I8(e),a=new Date;if(isNaN(r.getTime()))return e;if(z2(r))return Vfe();if(S2(r))return Hfe();let i=P9(a,r),f=i>=0?i:0;return f===1?Bfe({count:f}):Ffe({count:f})},qp=(e,r=new Date)=>{let a=typeof e==="string"?I8(e).getTime():e instanceof Date?e.getTime():NaN;if(isNaN(a))return"< 1m";let i=a-r.getTime();if(i<=0)return"< 1m";let f=Math.floor(i/1000),s=Math.floor(f/86400),l=Math.floor(f%86400/3600),c=Math.floor(f%3600/60);if(s>0)return l>0?`${s}d ${l}h`:`${s}d`;if(l>0)return c>0?`${l}h ${c}m`:`${l}h`;return c>0?`${c}m`:"< 1m"};S();var k2=10,E9=10,Cue=k2*E9,Ud=({spriteUrl:e,thumbnailUrl:r,videoWidth:a,videoHeight:i,className:f=""})=>{let s=b(null),[l,c]=u({width:0,height:0}),[m,g]=u({width:0,height:0}),[M,v]=u(!1),[y,x]=u(!1),[_,j]=u(!1),[U,T]=u(0),[N,G]=u(0);h(()=>{if(!s.current)return;let ae=new ResizeObserver((ye)=>{for(let We of ye)c({width:We.contentRect.width,height:We.contentRect.height})});return ae.observe(s.current),()=>ae.disconnect()},[]);let X=P(()=>{if(y||_)return;j(!0);let ae=new Image;ae.src=e,ae.onload=()=>{g({width:ae.naturalWidth,height:ae.naturalHeight}),x(!0),j(!1)},ae.onerror=()=>{console.error("Failed to load sprite image"),j(!1)}},[e,y,_]),J=()=>{v(!0),X()},ee=()=>{v(!1)},re=(ae)=>{if(!s.current)return;let ye=s.current.getBoundingClientRect(),We=ae.clientX-ye.left,Ye=Math.max(0,Math.min(We,ye.width));G(Ye);let ze=Ye/ye.width,qe=Math.min(Math.floor(ze*Cue),Cue-1);T(qe)},oe=D(()=>{if(l.width===0||l.height===0)return{};let ae=a/i;if(m.width>0&&m.height>0){let yt=m.width/k2,Wt=m.height/E9;ae=yt/Wt}let ye=l.width/l.height,We,Ye;if(ye>ae)Ye=l.height,We=Ye*ae;else We=l.width,Ye=We/ae;let ze=Math.ceil(We),qe=Math.ceil(Ye),ut=ze*k2,$e=qe*E9,xt=U%k2,Dt=Math.floor(U/k2),Yt=-(xt*ze),fe=-(Dt*qe);return{backgroundImage:`url(${e})`,backgroundSize:`${ut}px ${$e}px`,backgroundPosition:`${Yt}px ${fe}px`,backgroundRepeat:"no-repeat",width:`${ze}px`,height:`${qe}px`,imageRendering:"auto"}},[l,a,i,U,e,m]);return o("div",{ref:s,className:`relative w-full h-full overflow-hidden cursor-crosshair group bg-black select-none ${f}`,onMouseEnter:J,onMouseLeave:ee,onMouseMove:re,children:[t("img",{src:r,alt:"Thumbnail",className:`absolute inset-0 w-full h-full object-contain transition-opacity duration-200 ${M&&y?"opacity-0":"opacity-100"}`,draggable:!1}),M&&!y&&t("div",{className:"absolute inset-0 flex items-center justify-center bg-black/50 z-10",children:t("div",{className:"w-6 h-6 border-2 border-white/30 border-t-white rounded-full animate-spin"})}),y&&t("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-75 ${M?"opacity-100":"opacity-0"}`,children:t("div",{style:oe})}),M&&t("div",{className:"absolute top-0 bottom-0 w-0.5 bg-red-500 shadow-[0_0_4px_rgba(255,0,0,0.8)] z-20 pointer-events-none",style:{transform:`translateX(${N}px)`}})]})};S();var tl=(e,r)=>{let a=new RegExp(`(${Object.keys(r).map((i)=>`\\{${i}\\}`).join("|")})`,"g");return t("span",{children:e.split(a).map((i,f)=>{let s=i.match(/^\{(.+)\}$/);if(s&&r[s[1]])return t(Cn,{children:r[s[1]]},f);return i})})},Iue=({notification:e})=>{let r=Me(),{creator:a,createdAt:i,isRead:f,type:s,asset:l,project:c,team:m,user:g,kanbanTask:M}=e,v=(()=>{let j=a?.name||Tl(),U=l?.name||Lpt(),T=M?.title||Dpt(),N=c?.name||Tpt(),G=m?.name||Npt(),X=g?.name||Tl(),J={creator:t("span",{className:"font-semibold",children:j}),asset:t("span",{className:"font-semibold",children:U}),task:t("span",{className:"font-semibold",children:T}),project:t("span",{className:"font-semibold",children:N}),team:t("span",{className:"font-semibold",children:G}),user:t("span",{className:"font-semibold",children:X})};switch(s){case"comment_created":return tl(cJe({creator:"{creator}",asset:"{asset}"}),J);case"reply_created":return tl(HJe({creator:"{creator}",asset:"{asset}"}),J);case"mention":return tl(M?UJe({creator:"{creator}",task:"{task}"}):FJe({creator:"{creator}",asset:"{asset}"}),J);case"successful_file_uploaded":return tl(r$e({creator:"{creator}",asset:"{asset}",project:"{project}"}),J);case"metadata_field_updated_status":return tl($Je({creator:"{creator}",asset:"{asset}"}),J);case"new_user_join_team":return tl(vJe({user:"{user}",team:"{team}"}),J);case"new_user_join_project":return tl(hJe({user:"{user}",project:"{project}"}),J);case"kanban_task_created":return tl(kJe({creator:"{creator}",task:"{task}"}),J);case"kanban_task_assigned":return tl(bJe({creator:"{creator}",task:"{task}"}),J);case"kanban_task_status_updated":return tl(AJe({creator:"{creator}",task:"{task}"}),J);case"kanban_task_updated":return tl(OJe({creator:"{creator}",task:"{task}"}),J);case"kanban_task_deleted":return tl(RJe({creator:"{creator}",task:"{task}"}),J);case"kanban_task_comment_created":return tl(zJe({creator:"{creator}",task:"{task}"}),J);default:return tl(ZJe({creator:"{creator}"}),J)}})(),y=l?.proxyType==="video"&&l.preview&&l.thumbnailUrl&&l.originalWidth&&l.originalHeight,x=l?.preview&&(l.proxyType==="image"||l.proxyType==="video");return o("div",{onClick:()=>{if(M?.id&&m?.id)r({to:"/teams/$teamId/kanban",params:{teamId:m.id},search:{taskId:M.id}})},className:"flex py-2 cursor-pointer group border border-transparent items-center justify-center hover:bg-muted/50 rounded-md px-1 transition-colors",children:[t("div",{className:C("w-1.5 h-1.5 rounded-full shadow-xs",f?"bg-transparent":"bg-destructive")}),o("div",{className:"flex-1 min-w-0 flex flex-col justify-center pl-2",children:[t("div",{className:"text-sm text-foreground break-all leading-snug",children:v}),t("div",{className:"text-[11px] text-muted-foreground mt-1",children:Mn(i||"")})]}),x&&t("div",{className:"w-18 h-18 ml-2 rounded-md overflow-hidden flex-shrink-0 bg-muted border border-border flex items-center justify-center mt-0.5",children:y?t(Ud,{spriteUrl:l.preview,thumbnailUrl:l.thumbnailUrl,videoWidth:l.originalWidth,videoHeight:l.originalHeight}):t("img",{src:l.preview,alt:l.name,className:"w-full h-full object-cover"})})]})};function xo({className:e,orientation:r="horizontal",...a}){return t(yRe,{"data-slot":"tabs","data-orientation":r,orientation:r,className:C("group/tabs flex gap-2 data-[orientation=horizontal]:flex-col",e),...a})}var pxt=us("group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-[orientation=horizontal]/tabs:h-9 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none",{variants:{variant:{default:"bg-muted",line:"gap-1 bg-transparent"}},defaultVariants:{variant:"default"}});function So({className:e,variant:r="default",...a}){return t(bRe,{"data-slot":"tabs-list","data-variant":r,className:C(pxt({variant:r}),e),...a})}function Qr({className:e,...r}){return t(_Re,{"data-slot":"tabs-trigger",className:C("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:border-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent","data-[state=active]:bg-background data-[state=active]:text-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground","after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100",e),...r})}function kn({className:e,...r}){return t(wRe,{"data-slot":"tabs-content",className:C("flex-1 outline-none",e),...r})}S();var Rue=()=>{let{teamId:e}=lt(),[r,a]=u("all"),i=K(),{ref:f,inView:s}=Nt(),l=(T,N)=>["notifications",T,{unreadOnly:N}],{data:c,fetchNextPage:m,hasNextPage:g,isFetchingNextPage:M,isLoading:v,refetch:y}=ft({queryKey:l(e??null,r==="unread"),queryFn:async({pageParam:T})=>{let N=await A.api.teams[":teamId"].notifications.$get({param:{teamId:e},query:{unreadOnly:r==="unread"?"true":"false",...T?{after:T}:{},pageSize:"20"}});if(!N.ok)throw Error("failed to fetch notifications");return N.json()},initialPageParam:void 0,getNextPageParam:(T)=>T.pageInfo?.cursor||void 0,enabled:!!e});h(()=>{if(s&&g)m()},[s,g,m]);let x=D(()=>c?.pages.flatMap((T)=>T.data||[])||[],[c]);h(()=>{if(e)i.invalidateQueries({queryKey:["teams",e,"me"]})},[e,x.length,i]);let _=A.api.teams[":teamId"].notifications.read.$post,j=B({mutationFn:async({teamId:T,notificationId:N})=>{if(!(await _({param:{teamId:T},json:{notificationId:N}})).ok)throw Error("failed to mark read");return null}}),U=async()=>{if(x.length>0&&e){let T=x[0].id;if(T){i.setQueryData(["teams",e,"me"],(N)=>{if(!N)return N;return{...N,unreadNotificationCount:0}});try{await j.mutateAsync({teamId:e,notificationId:T})}catch(N){console.error("Failed to mark all as read:",N)}i.invalidateQueries({queryKey:["notifications",e]}),i.invalidateQueries({queryKey:["teams",e,"me"]}),y()}}};return o("div",{className:"flex flex-col h-full w-full bg-transparent",children:[t("div",{className:"flex-none pb-1",children:t(xo,{value:r,onValueChange:(T)=>a(T),className:"w-full",children:o("div",{className:"flex items-center justify-between mb-2",children:[o(So,{className:"h-8",children:[t(Qr,{value:"all",className:"text-xs px-3 h-6",children:EEe()}),t(Qr,{value:"unread",className:"text-xs px-3 h-6",children:Xpt()})]}),t(E,{variant:"ghost",size:"sm",className:"h-8 px-2 text-muted-foreground hover:text-foreground",onClick:U,disabled:x.length===0||j.isPending,title:bHe(),children:t(eT,{className:"w-4 h-4"})})]})})}),o("div",{className:"flex-1 overflow-y-auto p-2 min-h-0",children:[v&&t("div",{className:"flex justify-center p-4",children:t(F,{className:"w-6 h-6 animate-spin text-muted-foreground"})}),!v&&x.length===0&&t("div",{className:"flex flex-col items-center justify-center h-40 text-muted-foreground",children:t("p",{className:"text-sm",children:uQe()})}),t("div",{className:"space-y-1",children:x.map((T)=>t(Iue,{notification:T},T.id))}),t("div",{ref:f,className:"h-4 w-full flex justify-center p-1",children:M&&t(F,{className:"w-4 h-4 animate-spin text-muted-foreground"})})]})]})};var vL=null,on=Mr((e)=>({projectState:null,setProjectState:(r)=>{if(vL)clearTimeout(vL),vL=null;e({projectState:r})},clearProjectState:()=>{if(vL)clearTimeout(vL);vL=setTimeout(()=>{e({projectState:null}),vL=null},10)}}));var mxt=us("inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3",{variants:{variant:{default:"bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"bg-destructive text-white focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40 [a&]:hover:bg-destructive/90",outline:"border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",ghost:"[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",link:"text-primary underline-offset-4 [a&]:hover:underline"}},defaultVariants:{variant:"default"}});function be({className:e,variant:r="default",asChild:a=!1,...i}){let f=a?eoe:"span";return t(f,{"data-slot":"badge","data-variant":r,className:C(mxt({variant:r}),e),...i})}var H5={viewBox:"0 -960 960 960",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},Pue=(e)=>t("svg",{...H5,...e,children:t("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm120-80v-560H200v560h120Zm80 0h360v-560H400v560Z"})}),Tue=(e)=>t("svg",{...H5,...e,children:t("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm360-80v-560H200v560h360Zm200 0v-560H640v560h120Z"})}),Aue=(e)=>t("svg",{...H5,...e,children:t("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm560-80v-560H400v560h360Z"})}),Eue=(e)=>t("svg",{...H5,...e,children:t("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm360-80v-560H200v560h360Z"})}),Due=(e)=>o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[t("path",{d:"M12 8V4H8"}),t("path",{d:"M6 7H18A3 3 0 0 1 21 10V18A3 3 0 0 1 18 21H6A3 3 0 0 1 3 18V10A3 3 0 0 1 6 7ZM8 13V15A1 1 0 0 0 10 15V13A1 1 0 0 0 8 13ZM14 13V15A1 1 0 0 0 16 15V13A1 1 0 0 0 14 13Z",fill:"currentColor",stroke:"none"}),t("path",{d:"M2 14h2"}),t("path",{d:"M20 14h2"})]}),Oue=(e)=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewBox:"120 -792 720 720",fill:"none","aria-hidden":"true",focusable:"false",...e,children:t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 160 -180 v -72 h 80 v -252 q 0 -74.7 50 -132.75 T 420 -712.8 v -25.2 q 0 -22.5 17.5 -38.25 T 480 -792 q 25 0 42.5 15.75 T 540 -738 v 25.2 q 80 18 130 76.05 T 720 -504 v 252 h 80 v 72 H 160 Z M 480 -72 q -33 0 -56.5 -21.15 T 400 -144 h 160 q 0 29.7 -23.5 50.85 T 480 -72 Z",fill:"currentColor"})}),ha=(e)=>o("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",focusable:"false",...e,children:[t("path",{d:"M10.77 10.377a1 1 0 0 0-.132.437l-.105 1.665a.5.5 0 0 0 .793.436l1.32-.96a1 1 0 0 0 .278-.309l3.912-6.775a1.25 1.25 0 1 0-2.165-1.25l-3.901 6.756Z",fill:"currentColor"}),t("path",{d:"M11.016 6.75a.758.758 0 0 1-.758.748c-2.938 0-4.882 1.71-5.517 3.95-.708 2.499.245 4.459 1.979 5.851 1.767 1.42 4.31 2.203 6.547 2.203.415 0 .749.335.745.748a.758.758 0 0 1-.758.748c-2.536 0-5.421-.873-7.485-2.531-2.098-1.686-3.38-4.225-2.475-7.414.818-2.883 3.354-5.051 6.977-5.051.415 0 .749.335.745.748Z",fill:"currentColor"}),t("path",{d:"M17.147 8.315a.767.767 0 0 1 1.058-.168c1.666 1.188 2.508 2.542 2.733 3.876a4.5 4.5 0 0 1-.805 3.392c-.919 1.434-2.714 2.074-4.479 2.185-1.799.113-3.78-.302-5.292-1.216a.733.733 0 0 1-.242-1.022.768.768 0 0 1 1.042-.246c1.216.734 2.881 1.096 4.409 1 1.553-.097 2.755-.647 3.292-1.5l.015-.022.015-.021a3.025 3.025 0 0 0 .553-2.294c-.148-.876-.72-1.915-2.137-2.926a.733.733 0 0 1-.162-1.038Z",fill:"currentColor"})]}),fM=(e)=>o("svg",{viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[t("defs",{children:t("clipPath",{id:"bg-clip",children:t("rect",{x:"5",y:"5",width:"90",height:"90",rx:"22"})})}),t("rect",{x:"5",y:"5",width:"90",height:"90",rx:"22",fill:"#D95A66"}),t("path",{d:"M 35 75 L 65 75 L 80 60 L 75 30 L 175 130 L 135 175 Z",fill:"#A8384D",clipPath:"url(#bg-clip)"}),t("path",{d:"M 25 30 Q 38 36 50 42 L 35 55 L 35 75 L 20 60 Z",fill:"#FDF0D5"}),t("path",{d:"M 50 42 Q 62 36 75 30 L 80 60 L 65 75 L 65 55 Z",fill:"#E77A65"}),t("path",{d:"M 35 75 L 65 75 L 65 55 L 50 42 L 35 55 Z",fill:"#F5B895"}),t("path",{d:"M 50 42 Q 38 36 25 30 Q 38 26 50 20 Q 62 26 75 30 Q 62 36 50 42 Z",fill:"#F4B8B8"}),t("path",{d:"M 50 25 L 42 30 L 50 35 Z",fill:"#E57A5F"}),t("path",{d:"M 50 25 L 58 30 L 50 35 Z",fill:"#C2523C"})]}),jue=(e)=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"24 24 152 152",fill:"none","aria-hidden":"true",focusable:"false",...e,children:t("path",{d:"M 44 170 L 44 100 L 24 100 L 100 30 L 126 54 L 126 36 L 142 36 L 142 69 L 176 100 L 156 100 L 156 170 L 120 170 L 120 136 A 20 20 0 0 0 80 136 L 80 170 Z",fill:"currentColor"})});function Nue({uploading:e=!1,className:r="",...a}){return o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"15 15 70 70",width:30,height:30,className:`${r} ${e?"animate-upload-breathing":""}`,"aria-hidden":"true",focusable:"false",style:e?{transformOrigin:"center"}:void 0,...a,children:[e&&t("defs",{children:o("linearGradient",{id:"upload-gradient",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[t("stop",{offset:"0%",stopColor:"#3b82f6",children:t("animate",{attributeName:"stop-color",values:"#3b82f6;#ec4899;#8b5cf6;#3b82f6",dur:"3s",repeatCount:"indefinite"})}),t("stop",{offset:"50%",stopColor:"#8b5cf6",children:t("animate",{attributeName:"stop-color",values:"#8b5cf6;#3b82f6;#ec4899;#8b5cf6",dur:"3s",repeatCount:"indefinite"})}),t("stop",{offset:"100%",stopColor:"#ec4899",children:t("animate",{attributeName:"stop-color",values:"#ec4899;#8b5cf6;#3b82f6;#ec4899",dur:"3s",repeatCount:"indefinite"})})]})}),t("path",{d:"M 44.1 75 H 30 A 15 15 0 0 1 30 45 A 20 20 0 0 1 70 45 A 15 15 0 0 1 70 75 H 55.9 V 60.2 H 61.9 L 50 45.3 L 38.1 60.2 H 44.1 Z",fill:e?"url(#upload-gradient)":"currentColor"})]})}var Fue=({className:e,...r})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",fill:"currentColor","aria-hidden":"true",focusable:"false",className:e?`rotate-180 ${e}`:"rotate-180",...r,children:t("path",{d:"M172-84q-36.3 0-62.15-25.85T84-172v-616q0-36.3 25.85-62.15T172-876h616q36.3 0 62.15 25.85T876-788v616q0 36.3-25.85 62.15T788-84H172Zm88-176h88v-440h-88v440Zm176 0h88v-264h-88v264Zm176 0h88v-352h-88v352Z"})}),Bue=(e)=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",fill:"currentColor","aria-hidden":"true",focusable:"false",...e,children:t("path",{d:"M520-600v-240h320v240H520ZM120-440v-400h320v400H120Zm400 320v-400h320v400H520Zm-400 0v-240h320v240H120Z"})});S();S();var{create:hxt,defineProperty:Xue,defineProperties:gxt,getOwnPropertyDescriptor:Mxt,getOwnPropertyDescriptors:vxt,getOwnPropertySymbols:J5}=Object,Que=Object.prototype.hasOwnProperty,Jue=Object.prototype.propertyIsEnumerable,xxt=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),A2=(e)=>{throw TypeError(e)},N9=(e,r,a)=>(r in e)?Xue(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,D9=(e,r)=>{for(var a in r||(r={}))if(Que.call(r,a))N9(e,a,r[a]);if(J5){for(var a of J5(r))if(Jue.call(r,a))N9(e,a,r[a])}return e},O9=(e,r)=>gxt(e,vxt(r)),yxt=(e,r)=>{var a={};for(var i in e)if(Que.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&J5){for(var i of J5(e))if(r.indexOf(i)<0&&Jue.call(e,i))a[i]=e[i]}return a},bxt=(e)=>{var r;return[,,,hxt((r=void 0)!=null?r:null)]},$ue=["class","method","getter","setter","accessor","field","value","get","set"],I2=(e)=>e!==void 0&&typeof e!=="function"?A2("Function expected"):e,_xt=(e,r,a,i,f)=>({kind:$ue[e],name:r,metadata:i,addInitializer:(s)=>a._?A2("Already initialized"):f.push(I2(s||null))}),wxt=(e,r)=>N9(r,xxt("metadata"),e[3]),W5=(e,r,a,i)=>{for(var f=0,s=e[r>>1],l=s&&s.length;f<l;f++)r&1?s[f].call(a):i=s[f].call(a,i);return i},ede=(e,r,a,i,f,s)=>{var l,c,m,g,M,v=r&7,y=!1,x=!1,_=e.length+1,j=$ue[v+5],U=e[_-1]=[],T=e[_]||(e[_]=[]),N=(f=f.prototype,Mxt({get[a](){return R2(this,s)},set[a](X){return xL(this,s,X)}},a));for(var G=i.length-1;G>=0;G--)if(g=_xt(v,a,m={},e[3],T),g.static=y,g.private=x,M=g.access={has:(X)=>(a in X)},M.get=(X)=>X[a],M.set=(X,J)=>X[a]=J,c=(0,i[G])({get:N.get,set:N.set},g),m._=1,c===void 0)I2(c)&&(N[j]=c);else if(typeof c!=="object"||c===null)A2("Object expected");else I2(l=c.get)&&(N.get=l),I2(l=c.set)&&(N.set=l),I2(l=c.init)&&U.unshift(l);return N&&Xue(f,a,N),f},tde=(e,r,a)=>r.has(e)||A2("Cannot "+a),R2=(e,r,a)=>(tde(e,r,"read from private field"),r.get(e)),C2=(e,r,a)=>r.has(e)?A2("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),xL=(e,r,a,i)=>(tde(e,r,"write to private field"),r.set(e,a),a);function ro(e){return e instanceof U9||e instanceof ade}var G5=10,zxt=class extends Bi{constructor(e){super(e);let r=gi(()=>{let{dragOperation:i}=e;if(!lL(i.activatorEvent))return;if(!ro(i.source))return;if(i.status.initialized){let f=e.registry.plugins.get(eR);if(f)return f.disable(),()=>f.enable()}}),a=e.monitor.addEventListener("dragmove",(i,f)=>{queueMicrotask(()=>{if(this.disabled||i.defaultPrevented||!i.nativeEvent)return;let{dragOperation:s}=f;if(!lL(i.nativeEvent))return;if(!ro(s.source))return;if(!s.shape)return;let{actions:l,collisionObserver:c,registry:m}=f,{by:g}=i;if(!g)return;let M=Sxt(g),{source:v,target:y}=s,{center:x}=s.shape.current,_=[],j=[];Jo(()=>{for(let J of m.droppables){let{id:ee}=J;if(!J.accepts(v)||ee===(y==null?void 0:y.id)&&ro(J)||!J.element)continue;let re=J.shape,oe=new wc(J.element,{getBoundingClientRect:(ae)=>qI(ae,void 0,0.2)});if(!oe.height||!oe.width)continue;if(M=="down"&&x.y+G5<oe.center.y||M=="up"&&x.y-G5>oe.center.y||M=="left"&&x.x-G5>oe.center.x||M=="right"&&x.x+G5<oe.center.x)_.push(J),J.shape=oe,j.push(()=>J.shape=re)}}),i.preventDefault(),c.disable();let U=c.computeCollisions(_,Ole);Jo(()=>j.forEach((J)=>J()));let[T]=U;if(!T)return;let{id:N}=T,{index:G,group:X}=v.sortable;l.setDropTarget(N).then(()=>{let{source:J,target:ee,shape:re}=s;if(!J||!ro(J)||!re)return;let{index:oe,group:ae,target:ye}=J.sortable,We=G!==oe||X!==ae,Ye=We?ye:ee==null?void 0:ee.element;if(!Ye)return;g5(Ye);let ze=new wc(Ye);if(!ze)return;let qe=Qs.delta(ze,Qs.from(re.current.boundingRectangle),J.alignment);if(l.move({by:qe}),We)l.setDropTarget(J.id).then(()=>c.enable());else c.enable()})})});this.destroy=()=>{a(),r()}}};function Sxt(e){let{x:r,y:a}=e;if(r>0)return"right";else if(r<0)return"left";else if(a>0)return"down";else if(a<0)return"up"}var{defineProperty:Lxt,defineProperties:kxt,getOwnPropertyDescriptors:Cxt,getOwnPropertySymbols:Yue}=Object,Ixt=Object.prototype.hasOwnProperty,Rxt=Object.prototype.propertyIsEnumerable,Uue=(e,r,a)=>(r in e)?Lxt(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,cR=(e,r)=>{for(var a in r||(r={}))if(Ixt.call(r,a))Uue(e,a,r[a]);if(Yue){for(var a of Yue(r))if(Rxt.call(r,a))Uue(e,a,r[a])}return e},uR=(e,r)=>kxt(e,Cxt(r));function Pxt(e,r,a){if(r===a)return e;let i=e.slice();return i.splice(a,0,i.splice(r,1)[0]),i}function K5(e,r){let a=String(r);return Object.prototype.hasOwnProperty.call(e,a)?a:void 0}function j9(e){return"initialIndex"in e&&typeof e.initialIndex==="number"&&"index"in e&&typeof e.index==="number"}function Txt(e,r,a){var i,f;let{source:s,target:l,canceled:c}=r.operation;if(!s||!l||c){if("preventDefault"in r)r.preventDefault();return e}let m=(G,X)=>G===X||G!==null&&typeof G==="object"&&("id"in G)&&G.id===X;if(Array.isArray(e)){let G=e.findIndex((J)=>m(J,s.id)),X=e.findIndex((J)=>m(J,l.id));if(G===-1||X===-1){if(j9(s)){let{initialIndex:J,index:ee}=s;if(J===ee||J<0||J>=e.length){if("preventDefault"in r)r.preventDefault();return e}return a(e,J,ee)}return e}if(!c&&"index"in s&&typeof s.index==="number"){let J=s.index;if(J!==G)return a(e,G,J)}return a(e,G,X)}let g=Object.entries(e),M=-1,v,y=-1,x;for(let[G,X]of g){if(M===-1){if(M=X.findIndex((J)=>m(J,s.id)),M!==-1)v=G}if(y===-1){if(y=X.findIndex((J)=>m(J,l.id)),y!==-1)x=G}if(M!==-1&&y!==-1)break}if(M===-1&&j9(s)){let G=s.initialGroup==null?void 0:K5(e,s.initialGroup),X=s.initialIndex,J=s.group==null?void 0:K5(e,s.group),ee=s.index;if(G==null||J==null){if("preventDefault"in r)r.preventDefault();return e}if(G===J&&X===ee){if("preventDefault"in r)r.preventDefault();return e}if(G===J)return uR(cR({},e),{[G]:a(e[G],X,ee)});let re=e[G][X];return uR(cR({},e),{[G]:[...e[G].slice(0,X),...e[G].slice(X+1)],[J]:[...e[J].slice(0,ee),re,...e[J].slice(ee)]})}if(!s.manager)return e;let{dragOperation:_}=s.manager,j=(f=(i=_.shape)==null?void 0:i.current.center)!=null?f:_.position.current;if(x==null){let G=K5(e,l.id);if(G!=null){let X=l.shape&&j.y>l.shape.center.y?e[G].length:0;x=G,y=X}}if(v==null||x==null||v===x&&M===y){if(v!=null&&v===x&&M===y&&j9(s)){let G=s.group==null?void 0:K5(e,s.group),X=s.group!=null&&G!==v,J=s.index!==M;if(X||J){let ee=s.group==null?v:G;if(ee!=null){if(v===ee)return uR(cR({},e),{[v]:a(e[v],M,s.index)});let re=e[v][M];return uR(cR({},e),{[v]:[...e[v].slice(0,M),...e[v].slice(M+1)],[ee]:[...e[ee].slice(0,s.index),re,...e[ee].slice(s.index)]})}}}if("preventDefault"in r)r.preventDefault();return e}if(v===x)return uR(cR({},e),{[v]:a(e[v],M,y)});let T=l.shape&&Math.round(j.y)>Math.round(l.shape.center.y)?1:0,N=e[v][M];return uR(cR({},e),{[v]:[...e[v].slice(0,M),...e[v].slice(M+1)],[x]:[...e[x].slice(0,y+T),N,...e[x].slice(y+T)]})}function Axt(e,r){return Txt(e,r,Pxt)}function que(e){let r=new Map;for(let[,a]of e)for(let i of a)r.set(i.id,i.index);return r}function Vue(e,r,a){var i;for(let[f,s]of r)for(let l of s){let c=e.get(l.id);if(l.index!==c||l.group!==f||!((i=a.get(f))==null?void 0:i.has(l)))return!0}return!1}var Hue="__default__",Ext=class extends Bi{constructor(e){super(e);let r=()=>{let i=new Map;for(let f of e.registry.droppables)if(f instanceof U9){let{sortable:s}=f,{group:l}=s,c=i.get(l);if(!c)c=new Set,i.set(l,c);c.add(s)}return i},a=[e.monitor.addEventListener("dragover",(i,f)=>{if(this.disabled)return;let{dragOperation:s}=f,{source:l,target:c}=s;if(!ro(l)||!ro(c))return;if(l.sortable===c.sortable)return;let m=r(),g=que(m),M=l.sortable.group===c.sortable.group,v=m.get(l.sortable.group),y=M?v:m.get(c.sortable.group);if(!v||!y)return;queueMicrotask(()=>{if(i.defaultPrevented)return;f.renderer.rendering.then(()=>{var x,_;let j=r();if(Vue(g,m,j))return;let U=l.sortable.element,T=c.sortable.element;if(!T||!U)return;if(!M&&c.id===l.sortable.group)return;let N=X5(v),G=M?N:X5(y),X=(x=l.sortable.group)!=null?x:Hue,J=(_=c.sortable.group)!=null?_:Hue,ee={[X]:N,[J]:G},re=Axt(ee,i);if(ee===re)return;let oe=re[J].indexOf(l.sortable),ae=re[J].indexOf(c.sortable);f.collisionObserver.disable(),Wue(U,oe,T,ae),Jo(()=>{for(let[ye,We]of re[X].entries())We.index=ye;if(!M)for(let[ye,We]of re[J].entries())We.group=c.sortable.group,We.index=ye}),f.actions.setDropTarget(l.id).then(()=>f.collisionObserver.enable())})})}),e.monitor.addEventListener("dragend",(i,f)=>{if(!i.canceled)return;let{dragOperation:s}=f,{source:l}=s;if(!ro(l))return;if(l.sortable.initialIndex===l.sortable.index&&l.sortable.initialGroup===l.sortable.group)return;queueMicrotask(()=>{let c=r(),m=que(c),g=c.get(l.sortable.initialGroup);if(!g)return;f.renderer.rendering.then(()=>{let M=r();if(Vue(m,c,M))return;let v=X5(g),y=X5(g,Oxt),x=l.sortable.element,_=y.indexOf(l.sortable),j=v[_],U=j==null?void 0:j.element;if(!j||!U||!x)return;Wue(x,j.index,U,l.index),Jo(()=>{for(let T of c.values()){let N=Array.from(T).values();for(let G of N)G.index=G.initialIndex,G.group=G.initialGroup}})})})})];this.destroy=()=>{for(let i of a)i()}}};function Wue(e,r,a,i){let f=i<r?"afterend":"beforebegin";a.insertAdjacentElement(f,e)}function Dxt(e,r){return e.index-r.index}function Oxt(e,r){return e.initialIndex-r.initialIndex}function X5(e,r=Dxt){return Array.from(e).sort(r)}var Gue=[zxt,Ext],F9={duration:250,easing:"cubic-bezier(0.25, 1, 0.5, 1)",idle:!1};function Kue(e){var r,a;if(typeof e==="boolean")return{draggable:e,droppable:e};return{draggable:(r=e==null?void 0:e.draggable)!=null?r:!1,droppable:(a=e==null?void 0:e.droppable)!=null?a:!1}}var Q5=new dse,rde,ode,R8,B9,P2,T2,Y9,dR;ode=[ko],rde=[ko];var E2=class{constructor(e,r){C2(this,B9,W5(R8,8,this)),W5(R8,11,this),C2(this,P2),C2(this,T2),C2(this,Y9,W5(R8,12,this)),W5(R8,15,this),C2(this,dR),this.register=()=>(Jo(()=>{var _,j;(_=this.manager)==null||_.registry.register(this.droppable),(j=this.manager)==null||j.registry.register(this.draggable)}),()=>this.unregister()),this.unregister=()=>{Jo(()=>{var _,j;(_=this.manager)==null||_.registry.unregister(this.droppable),(j=this.manager)==null||j.registry.unregister(this.draggable)})},this.destroy=()=>{Jo(()=>{this.droppable.destroy(),this.draggable.destroy()})};var a=e,{effects:i=()=>[],disabled:f,group:s,index:l,sensors:c,type:m,transition:g=F9,plugins:M}=a,v=yxt(a,["effects","disabled","group","index","sensors","type","transition","plugins"]);let y=vs(M,Gue),x=Kue(f);this.droppable=new U9(O9(D9({},v),{disabled:x.droppable}),r,this),this.draggable=new ade(O9(D9({},v),{disabled:x.draggable,plugins:y,effects:()=>[()=>{var _,j,U;let T=(_=this.manager)==null?void 0:_.dragOperation.status;if((T==null?void 0:T.initializing)&&this.id===((U=(j=this.manager)==null?void 0:j.dragOperation.source)==null?void 0:U.id))Q5.clear(this.manager);if(T==null?void 0:T.dragging)Q5.set(this.manager,this.id,po(()=>({initialIndex:this.index,initialGroup:this.group})))},()=>{let{index:_,group:j,manager:U}=this,T=R2(this,T2),N=R2(this,P2);if(_!==T||j!==N)xL(this,T2,_),xL(this,P2,j),this.animate()},()=>{var _,j;let{target:U}=this,{isDragSource:T}=this.draggable;if(((j=(_=this.draggable.pluginConfig(gs))==null?void 0:_.feedback)!=null?j:"default")==="move"&&T)this.droppable.disabled=!U},...i()],type:m,sensors:c}),r,this),xL(this,dR,v.element),this.manager=r,this.index=l,xL(this,T2,l),this.group=s,xL(this,P2,s),this.type=m,this.transition=g}get initialIndex(){var e,r;return(r=(e=Q5.get(this.manager,this.id))==null?void 0:e.initialIndex)!=null?r:this.index}get initialGroup(){var e,r;return(r=(e=Q5.get(this.manager,this.id))==null?void 0:e.initialGroup)!=null?r:this.group}animate(){po(()=>{let{manager:e,transition:r}=this,{shape:a}=this.droppable;if(!e)return;let{idle:i}=e.dragOperation.status;if(!a||!r||i&&!r.idle)return;e.renderer.rendering.then(()=>{let{element:f}=this;if(!f)return;for(let M of f.getAnimations())if("transitionProperty"in M&&(M.transitionProperty==="transform"||M.transitionProperty==="translate"||M.transitionProperty==="scale"))M.cancel();let s=this.refreshShape();if(!s)return;let l={x:a.boundingRectangle.left-s.boundingRectangle.left,y:a.boundingRectangle.top-s.boundingRectangle.top},{translate:c}=_c(f),m=Kq(f,c,!1),g=Kq(f,c);if(l.x||l.y){let M=f2(xs(f))?O9(D9({},r),{duration:0}):r;M5({element:f,keyframes:{translate:[`${m.x+l.x}px ${m.y+l.y}px ${m.z}`,`${g.x}px ${g.y}px ${g.z}`]},options:M}).then(()=>{if(!e.dragOperation.status.dragging)this.droppable.shape=void 0})}})})}get manager(){return this.draggable.manager}set manager(e){Jo(()=>{this.draggable.manager=e,this.droppable.manager=e})}set element(e){Jo(()=>{let r=R2(this,dR),a=this.droppable.element,i=this.draggable.element;if(!a||a===r)this.droppable.element=e;if(!i||i===r)this.draggable.element=e;xL(this,dR,e)})}get element(){var e,r;let a=R2(this,dR);if(!a)return;return(r=(e=s2.get(a))!=null?e:a)!=null?r:this.droppable.element}set target(e){this.droppable.element=e}get target(){return this.droppable.element}set source(e){this.draggable.element=e}get source(){return this.draggable.element}get disabled(){let{disabled:e}=this.draggable,{disabled:r}=this.droppable;return e===r?e:{draggable:e,droppable:r}}set plugins(e){this.draggable.plugins=vs(e,Gue)}set disabled(e){let r=Kue(e);Jo(()=>{this.droppable.disabled=r.droppable,this.draggable.disabled=r.draggable})}set data(e){Jo(()=>{this.droppable.data=e,this.draggable.data=e})}set handle(e){this.draggable.handle=e}set id(e){this.droppable.id=e,this.draggable.id=e}get id(){return this.droppable.id}set sensors(e){this.draggable.sensors=e}set modifiers(e){this.draggable.modifiers=e}set collisionPriority(e){this.droppable.collisionPriority=e}set collisionDetector(e){this.droppable.collisionDetector=e!=null?e:x5}set alignment(e){this.draggable.alignment=e}get alignment(){return this.draggable.alignment}set type(e){Jo(()=>{this.droppable.type=e,this.draggable.type=e})}get type(){return this.draggable.type}set accept(e){this.droppable.accept=e}get accept(){return this.droppable.accept}get isDropTarget(){return this.droppable.isDropTarget}get isDragSource(){return this.draggable.isDragSource}get isDragging(){return this.draggable.isDragging}get isDropping(){return this.draggable.isDropping}get status(){return this.draggable.status}refreshShape(){return this.droppable.refreshShape()}accepts(e){return this.droppable.accepts(e)}};R8=bxt();B9=new WeakMap;P2=new WeakMap;T2=new WeakMap;Y9=new WeakMap;dR=new WeakMap;ede(R8,4,"index",ode,E2,B9);ede(R8,4,"group",rde,E2,Y9);wxt(R8,E2);var ade=class extends mL{constructor(e,r,a){super(e,r);this.sortable=a}get index(){return this.sortable.index}get initialIndex(){return this.sortable.initialIndex}get group(){return this.sortable.group}get initialGroup(){return this.sortable.initialGroup}},U9=class extends tR{constructor(e,r,a){super(e,r);this.sortable=a}get index(){return this.sortable.index}get group(){return this.sortable.group}};var{defineProperty:jxt,defineProperties:Nxt,getOwnPropertyDescriptors:Fxt,getOwnPropertySymbols:nde}=Object,Bxt=Object.prototype.hasOwnProperty,Yxt=Object.prototype.propertyIsEnumerable,ide=(e,r,a)=>(r in e)?jxt(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,q9=(e,r)=>{for(var a in r||(r={}))if(Bxt.call(r,a))ide(e,a,r[a]);if(nde){for(var a of nde(r))if(Yxt.call(r,a))ide(e,a,r[a])}return e},Uxt=(e,r)=>Nxt(e,Fxt(r));function Fi(e){let{accept:r,collisionDetector:a,collisionPriority:i,id:f,data:s,element:l,handle:c,index:m,group:g,disabled:M,modifiers:v,sensors:y,target:x,type:_,plugins:j}=e,U=q9(q9({},F9),e.transition),T=P5((G)=>new E2(Uxt(q9({},e),{transition:U,register:!1,handle:yu(c),element:yu(l),target:yu(x)}),G)),N=rR(T,qxt);return Uo(f,()=>T.id=f),oM(()=>{Jo(()=>{T.group=g,T.index=m})},[T,g,m]),Uo(_,()=>T.type=_),Uo(r,()=>T.accept=r,void 0,Ji),Uo(s,()=>s&&(T.data=s)),Uo(m,()=>{var G;if(((G=T.manager)==null?void 0:G.dragOperation.status.idle)&&(U==null?void 0:U.idle))T.refreshShape()},bce),L8(c,(G)=>T.handle=G),L8(l,(G)=>T.element=G),L8(x,(G)=>T.target=G),Uo(M,()=>T.disabled=M!=null?M:!1,void 0,Ji),Uo(y,()=>T.sensors=y,void 0,Ji),Uo(a,()=>T.collisionDetector=a),Uo(i,()=>T.collisionPriority=i),Uo(j,()=>T.plugins=j,void 0,Ji),Uo(U,()=>T.transition=U,void 0,Ji),Uo(v,()=>T.modifiers=v,void 0,Ji),Uo(e.alignment,()=>T.alignment=e.alignment),{sortable:N,get isDragging(){return N.isDragging},get isDropping(){return N.isDropping},get isDragSource(){return N.isDragSource},get isDropTarget(){return N.isDropTarget},handleRef:P((G)=>{T.handle=G!=null?G:void 0},[T]),ref:P((G)=>{var X,J;if(!G&&((X=T.element)==null?void 0:X.isConnected)&&!((J=T.manager)==null?void 0:J.dragOperation.status.idle))return;T.element=G!=null?G:void 0},[T]),sourceRef:P((G)=>{var X,J;if(!G&&((X=T.source)==null?void 0:X.isConnected)&&!((J=T.manager)==null?void 0:J.dragOperation.status.idle))return;T.source=G!=null?G:void 0},[T]),targetRef:P((G)=>{var X,J;if(!G&&((X=T.target)==null?void 0:X.isConnected)&&!((J=T.manager)==null?void 0:J.dragOperation.status.idle))return;T.target=G!=null?G:void 0},[T])}}function qxt(e,r,a){if(e==="isDragSource"&&!a&&r)return!0;return!1}S();function Vxt(e){if(!e)return null;try{let r=I8(e);if(isNaN(r.getTime()))return null;return mr(r,"MMM d, yyyy")}catch{return null}}function Hxt({version:e,displayVersionNumber:r,index:a,canEdit:i,onRemove:f}){let[s,l]=u(!1),{ref:c,handleRef:m}=Fi({id:e.id,index:a,disabled:!i}),g=Vxt(e.createdAt);return o("div",{ref:c,className:"group flex items-center gap-3 p-2.5 rounded-lg border border-border bg-card hover:bg-accent/40 transition-colors",children:[o("div",{className:"flex-shrink-0 flex items-center justify-center bg-muted text-muted-foreground rounded-full px-2.5 py-0.5 text-xs font-semibold select-none min-w-[2.25rem]",children:["v",r]}),i?t("div",{ref:m,className:"cursor-grab active:cursor-grabbing text-muted-foreground hover:text-foreground p-1 -m-1 rounded touch-none flex items-center justify-center",children:t(Os,{className:"h-4 w-4"})}):t("div",{className:"w-4"}),t("div",{className:"h-12 w-20 flex-shrink-0 overflow-hidden rounded-md border border-border bg-muted flex items-center justify-center",children:e.previewUrl?t("img",{src:e.previewUrl,alt:e.name||"",className:"h-full w-full object-cover"}):t(Xt,{className:"h-5 w-5 text-muted-foreground"})}),o("div",{className:"flex flex-col flex-1 min-w-0 text-left",children:[t("span",{className:"truncate text-sm font-medium text-foreground",title:e.name||"",children:e.name||"Untitled"}),o("div",{className:"flex items-center gap-1.5 text-xs text-muted-foreground truncate",children:[e.agent?o("span",{className:"flex items-center gap-1 truncate",children:[t(St,{className:"h-3 w-3 shrink-0"}),t("span",{className:"truncate",children:$c({user:e.creator?.name||gn(),agent:e.agent.name})})]}):t("span",{children:e.creator?.name||gn()}),g&&o(Z,{children:[t("span",{children:"•"}),t("span",{children:g})]})]})]}),i&&o(he,{modal:!1,open:s,onOpenChange:l,children:[t(ge,{asChild:!0,children:t(E,{variant:"ghost",size:"icon","aria-label":"More options",className:C("h-8 w-8 text-muted-foreground hover:text-foreground transition-opacity flex-shrink-0",s?"opacity-100":"opacity-0 group-hover:opacity-100 focus:opacity-100"),children:t(wr,{className:"h-4 w-4"})})}),t(Ae,{align:"end",children:o(W,{onClick:()=>f(e.id),className:"text-destructive focus:text-destructive cursor-pointer",children:[t(we,{className:"h-4 w-4 mr-2"}),t("span",{children:Unt()})]})})]})]})}function zd({open:e,onOpenChange:r,stackId:a,canEdit:i=!0,onVersionRemoved:f,onStackDissolved:s}){let l=K(),[c,m]=u([]),{data:g,isLoading:M}=L({queryKey:["version_stacks",a,"versions"],queryFn:async()=>{let U=await A.api.version_stacks[":stackId"].versions.$get({param:{stackId:a}});if(!U.ok)throw Error("Failed to fetch versions");return await U.json()},enabled:e&&!!a});h(()=>{if(g)m(g)},[g]);let{mutate:v}=B({mutationFn:async({fileId:U,beforeId:T})=>{if(!(await A.api.version_stacks[":stackId"].order.$post({param:{stackId:a},json:{fileId:U,beforeId:T}})).ok)throw Error("Failed to reorder versions")},onSuccess:()=>{l.invalidateQueries({queryKey:["version_stacks"]}),l.invalidateQueries({queryKey:["files"]}),l.invalidateQueries({queryKey:["file"]}),l.invalidateQueries({queryKey:["search"]}),l.invalidateQueries({queryKey:["folders"]}),l.invalidateQueries({queryKey:["projects"]}),k.success(Gmt())},onError:()=>{if(k.error(Z7e()),g)m(g)}}),{mutate:y,isPending:x}=B({mutationFn:async(U)=>{if(!(await A.api.version_stacks[":stackId"].versions[":versionId"].$delete({param:{stackId:a,versionId:U}})).ok)throw Error("Failed to remove version from stack");return U},onSuccess:(U)=>{k.success(Vmt());let T=c.filter((N)=>N.id!==U);if(m(T),l.invalidateQueries({queryKey:["version_stacks"]}),l.invalidateQueries({queryKey:["files"]}),l.invalidateQueries({queryKey:["file"]}),l.invalidateQueries({queryKey:["search"]}),l.invalidateQueries({queryKey:["folders"]}),l.invalidateQueries({queryKey:["projects"]}),T.length<=1){let N=T[0];if(r(!1),N)s?.(N.id)}else f?.(U,T)},onError:()=>{k.error(s7e())}}),_=(U)=>{if(U.canceled)return;let{source:T}=U.operation;if(!ro(T))return;let{initialIndex:N,index:G}=T;if(N===G)return;let X=[...c],[J]=X.splice(N,1);X.splice(G,0,J),m(X);let ee=G===X.length-1?"-1":X[G+1].id;v({fileId:J.id,beforeId:ee})},j=(U)=>{if(x)return;y(U)};return t(ue,{open:e,onOpenChange:r,children:o(ie,{className:"max-w-lg p-0 gap-0 overflow-hidden",children:[t(me,{className:"p-4 pb-3 border-b border-border",children:t(le,{className:"text-base font-semibold",children:vHe()})}),t(ce,{className:"max-h-[60vh] p-4",children:M?t("div",{className:"py-8 text-center text-sm text-muted-foreground",children:gd?.()||"Loading..."}):c.length===0?t("div",{className:"py-8 text-center text-sm text-muted-foreground",children:oJe()}):t("div",{className:"space-y-2",children:t($n,{sensors:[An.configure({activationConstraints:[new Nr.Distance({value:6})]}),Yo],onDragEnd:_,children:c.map((U,T)=>t(Hxt,{version:U,displayVersionNumber:c.length-T,index:T,canEdit:i,onRemove:j},U.id))})})})]})})}S();function mt({...e}){return t(ICe,{"data-slot":"popover",...e})}function ht({...e}){return t(RCe,{"data-slot":"popover-trigger",...e})}function gt({className:e,align:r="center",sideOffset:a=4,...i}){return t(PCe,{children:t(TCe,{"data-slot":"popover-content",align:r,sideOffset:a,className:C("z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",e),...i})})}function $5(e){let r=Object.values(e).filter((i)=>typeof i==="number");return Object.entries(e).filter(([i,f])=>r.indexOf(+i)===-1).map(([i,f])=>f)}function H9(e,r="|"){return e.map((a)=>K9(a)).join(r)}function O2(e,r){if(typeof r==="bigint")return r.toString();return r}function j2(e){return{get value(){{let a=e();return Object.defineProperty(this,"value",{value:a}),a}throw Error("cached value already set")}}}function sde(e){return e===null||e===void 0}function e4(e){let r=e.startsWith("^")?1:0,a=e.endsWith("$")?e.length-1:e.length;return e.slice(r,a)}function lde(e,r){let a=e/r,i=Math.round(a),f=4*Number.EPSILON*Math.max(Math.abs(a),1);if(Math.abs(a-i)<f)return 0;return a-i}var fde=Symbol("evaluating");function cde(e,r,a){let i=void 0;Object.defineProperty(e,r,{get(){if(i===fde)return;if(i===void 0)i=fde,i=a();return i},set(f){Object.defineProperty(e,r,{value:f})},configurable:!0})}function Yi(e,r,a){Object.defineProperty(e,r,{value:a,writable:!0,enumerable:!0,configurable:!0})}function T8(...e){let r={};for(let a of e){let i=Object.getOwnPropertyDescriptors(a);Object.assign(r,i)}return Object.defineProperties({},r)}function ude(e){return JSON.stringify(e)}function dde(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var W9="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function ZR(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}var Zde=j2(()=>{if(rl.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(e){return!1}});function bL(e){if(ZR(e)===!1)return!1;let r=e.constructor;if(r===void 0)return!0;if(typeof r!=="function")return!0;let a=r.prototype;if(ZR(a)===!1)return!1;if(Object.prototype.hasOwnProperty.call(a,"isPrototypeOf")===!1)return!1;return!0}function G9(e){if(bL(e))return{...e};if(Array.isArray(e))return[...e];if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);return e}var pde=new Set(["string","number","symbol"]);function A8(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function vZ(e,r,a){let i=new e._zod.constr(r??e._zod.def);if(!r||a?.parent)i._zod.parent=e;return i}function zr(e){let r=e;if(!r)return{};if(typeof r==="string")return{error:()=>r};if(r?.message!==void 0){if(r?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");r.error=r.message}if(delete r.message,typeof r.error==="string")return{...r,error:()=>r.error};return r}function K9(e){if(typeof e==="bigint")return e.toString()+"n";if(typeof e==="string")return`"${e}"`;return`${e}`}function mde(e){return Object.keys(e).filter((r)=>e[r]._zod.optin!==void 0&&e[r]._zod.optout==="optional")}var hde=(()=>({safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-340282346638528860000000000000000000000,340282346638528860000000000000000000000],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]}))();function Wxt(e,r){let a=e._zod.def,i=a.checks;if(i&&i.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let s=T8(e._zod.def,{get shape(){let l={};for(let c of Reflect.ownKeys(r)){if(!Object.prototype.hasOwnProperty.call(a.shape,c))throw Error(`Unrecognized key: "${String(c)}"`);if(!r[c])continue;Yi(l,c,a.shape[c])}return Yi(this,"shape",l),l},checks:[]});return vZ(e,s)}function Gxt(e,r){let a=e._zod.def,i=a.checks;if(i&&i.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let s=T8(e._zod.def,{get shape(){let l={...e._zod.def.shape};for(let c of Reflect.ownKeys(r)){if(!Object.prototype.hasOwnProperty.call(a.shape,c))throw Error(`Unrecognized key: "${String(c)}"`);if(!r[c])continue;delete l[c]}return Yi(this,"shape",l),l},checks:[]});return vZ(e,s)}function Kxt(e,r){if(!bL(r))throw Error("Invalid input to extend: expected a plain object");let a=e._zod.def.checks;if(a&&a.length>0){let s=e._zod.def.shape;for(let l of Reflect.ownKeys(r))if(Object.getOwnPropertyDescriptor(s,l)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let f=T8(e._zod.def,{get shape(){let s={...e._zod.def.shape,...r};return Yi(this,"shape",s),s}});return vZ(e,f)}function Xxt(e,r){if(!bL(r))throw Error("Invalid input to safeExtend: expected a plain object");let a=T8(e._zod.def,{get shape(){let i={...e._zod.def.shape,...r};return Yi(this,"shape",i),i}});return vZ(e,a)}function Qxt(e,r){if(!r?._zod?.def)throw Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let a=T8(e._zod.def,{get shape(){let i={...e._zod.def.shape,...r._zod.def.shape};return Yi(this,"shape",i),i},get catchall(){return r._zod.def.catchall},checks:r._zod.def.checks??[]});return vZ(e,a)}function gde(e,r,a,i="partial"){let s=r._zod.def.checks;if(s&&s.length>0)throw Error(`.${i}() cannot be used on object schemas containing refinements`);let c=T8(r._zod.def,{get shape(){let m=r._zod.def.shape,g={...m};if(a)for(let M of Reflect.ownKeys(a)){if(!Object.prototype.hasOwnProperty.call(m,M))throw Error(`Unrecognized key: "${String(M)}"`);if(!a[M])continue;g[M]=e?new e({type:"optional",innerType:m[M]}):m[M]}else for(let M of Reflect.ownKeys(m))g[M]=e?new e({type:"optional",innerType:m[M]}):m[M];return Yi(this,"shape",g),g},checks:[]});return vZ(r,c)}function Jxt(e,r,a){let i=T8(r._zod.def,{get shape(){let f=r._zod.def.shape,s={...f};if(a)for(let l of Reflect.ownKeys(a)){if(!Object.prototype.hasOwnProperty.call(s,l))throw Error(`Unrecognized key: "${String(l)}"`);if(!a[l])continue;s[l]=new e({type:"nonoptional",innerType:f[l]})}else for(let l of Reflect.ownKeys(f))s[l]=new e({type:"nonoptional",innerType:f[l]});return Yi(this,"shape",s),s}});return vZ(r,i)}function _L(e,r=0){if(e.aborted===!0)return!0;for(let a=r;a<e.issues.length;a++)if(e.issues[a]?.continue!==!0)return!0;return!1}function Mde(e,r=0){if(e.aborted===!0)return!0;for(let a=r;a<e.issues.length;a++)if(e.issues[a]?.continue===!1)return!0;return!1}function E8(e,r){return r.map((a)=>{var i;return(i=a).path??(i.path=[]),a.path.unshift(e),a})}function D2(e){return typeof e==="string"?e:e?.message}function X9(e,r,a){var i;for(let f=r;f<e.length;f++)(i=e[f]).schema??(i.schema=a)}function xZ(e,r,a){var i;let f=e.inst?._zod?.traits;if(f?.has("$ZodType"))if(f.has("$ZodCheck"))(i=e).schema??(i.schema=e.inst);else e.schema=e.inst;let s=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,l=e.message?e.message:D2(e.inst?._zod.def?.error?.(e))??D2(s?.(e))??D2(r?.error?.(e))??D2(a.customError?.(e))??D2(a.localeError?.(e))??"Invalid input",{inst:c,schema:m,continue:g,input:M,...v}=e;if(v.path??(v.path=[]),v.message=l,r?.reportInput)v.input=M;return v}var $xt=/[\uD800-\uDBFF]/;function t4(e){let r=e.length;if(!$xt.test(e))return r;let a=r;for(let i=0;i<r-1;i++)if((e.charCodeAt(i)&64512)===55296&&(e.charCodeAt(i+1)&64512)===56320)a--,i++;return a}function r4(e){if(Array.isArray(e))return"array";if(typeof e==="string")return"string";return"unknown"}function vde(e){let r=typeof e;switch(r){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let a=e;if(a&&Object.getPrototypeOf(a)!==Object.prototype&&"constructor"in a&&a.constructor)return a.constructor.name}}return r}function wL(...e){let[r,a,i]=e;if(typeof r==="string")return{message:r,code:"custom",input:a,inst:i};return{...r}}function xde(e,r){for(let a in r){let i=Object.getOwnPropertyDescriptor(r,a);if(i.get)Object.defineProperty(e,a,{...i,enumerable:!1});else eyt(e,a,i.value)}}function yL(e,r,a,i=!0){return Object.defineProperty(e,r,{configurable:!0,writable:!0,enumerable:i,value:a}),a}function Q9(e,r,a){return yL(e,r,a,!1)}function eyt(e,r,a){Object.defineProperty(e,r,{configurable:!0,get(){return this==null?a:yL(this,r,a.bind(this))},set(i){yL(this,r,i)}})}function tyt(e,r){let a=Object.getPrototypeOf(e);return r in a?void 0:a}var V9,P8=!1,ryt={configurable:!0,get(){P8=!0;return}};function Ro(e,r,a){let i=Object.getPrototypeOf(e._zod);if(r in i&&V9!==e._zod){V9=void 0;return}V9=e._zod,Object.defineProperty(i,r,{configurable:!0,get(){Object.defineProperty(this,r,ryt);let f=P8;P8=!1;try{let s=a(this);if(P8)delete this[r];else Object.defineProperty(this,r,{configurable:!0,writable:!0,value:s});return P8=P8||f,s}catch(s){throw delete this[r],P8=P8||f,s}},set(f){Object.defineProperty(this,r,{configurable:!0,writable:!0,value:f})}})}function oyt(e,r,a,i){let f=tyt(e,r);if(!f)return;Object.defineProperty(f,r,{configurable:!0,get(){let s={configurable:!0,writable:!0,enumerable:i,value:void 0};return Object.defineProperty(this,r,s),s.value=a(this),Object.defineProperty(this,r,s),s.value},set(s){Object.defineProperty(this,r,{configurable:!0,writable:!0,enumerable:i,value:s})}})}var ayt="~constantCatch";function yde(e){let r=()=>e;return r[ayt]=!0,r}var bde;var J9={value:void 0,enumerable:!1},_de="captureStackTrace"in Error?Error:null;function nyt(e){let r=_de;if(r){let a=r.stackTraceLimit;if(typeof a==="number"){try{r.stackTraceLimit=0}catch{return _de=null,new e}try{return new e}finally{r.stackTraceLimit=a}}}return new e}function Lt(e,r,a,i){let f={};function s(y){this.def=y,this.constr=v,this.traits=new Set}s.prototype=f;let l=a,c=l&&new WeakSet;function m(y,x){if(!y._zod){J9.value=new s(x);try{Object.defineProperty(y,"_zod",J9)}finally{J9.value=void 0}}if(y._zod.traits.has(e))return;if(y._zod.traits.add(e),r(y,x),c){let j=Object.getPrototypeOf(y),U=y._zod.constr.prototype,T=j;while(T&&T!==U)T=Object.getPrototypeOf(T);let N=T??j;if(!c.has(N))c.add(N),xde(N,l)}let _=v.prototype;for(let j in _){if(!Object.prototype.hasOwnProperty.call(_,j))continue;if(!(j in y))y[j]=_[j].bind(y)}}let g=i?.Parent??Object;class M extends g{}Object.defineProperty(M,"name",{value:e});function v(y){let x=i?.Parent?nyt(M):this;m(x,y);let _=x._zod.deferred;if(_){for(let U of _)U();x._zod.deferred=void 0}let j=globalThis.__zod_globalConfig?.postProcessor;if(j)j(x);return x}return Object.defineProperty(v,"init",{value:m}),Object.defineProperty(v,Symbol.hasInstance,{value:(y)=>{if(i?.Parent&&y instanceof i.Parent)return!0;return y?._zod?.traits?.has(e)}}),Object.defineProperty(v,"name",{value:e}),v}class sM extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class N2 extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`);this.name="ZodEncodeError"}}(bde=globalThis).__zod_globalConfig??(bde.__zod_globalConfig={});var rl=globalThis.__zod_globalConfig;function Ql(e){if(e)Object.assign(rl,e);return rl}function iyt(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,O2,2)),e.message}function fyt(e){this._zod.message=e}var syt={get:iyt,set:fyt,enumerable:!0,configurable:!0},eV={value:void 0,enumerable:!1},tV={value:void 0,enumerable:!1},wde=new WeakSet([Object.prototype,Error.prototype]),zde=(e,r)=>{e.name="$ZodError",eV.value=e._zod,Object.defineProperty(e,"_zod",eV),tV.value=r,Object.defineProperty(e,"issues",tV),eV.value=void 0,tV.value=void 0,Object.defineProperty(e,"message",syt);let a=Object.getPrototypeOf(e);if(!wde.has(a))wde.add(a),Object.defineProperty(a,"toString",{configurable:!0,enumerable:!1,get(){let i=()=>this.message;return Object.defineProperty(this,"toString",{value:i,configurable:!0,writable:!0}),i},set(i){Object.defineProperty(this,"toString",{value:i,configurable:!0,writable:!0})}})},o4=Lt("$ZodError",zde),rV=Lt("$ZodError",zde,void 0,{Parent:Error});function lyt(e,r,a){if(!Object.prototype.hasOwnProperty.call(e,r))if(r==="__proto__")Object.defineProperty(e,r,{value:a(),writable:!0,enumerable:!0,configurable:!0});else e[r]=a();return e[r]}function Sde(e,r=(a)=>a.message){let a={},i=[];for(let f of e.issues)if(f.path.length>0)lyt(a,f.path[0],()=>[]).push(r(f));else i.push(r(f));return{formErrors:i,fieldErrors:a}}function Lde(e,r=(a)=>a.message){let a={_errors:[]},i=(f,s=[])=>{for(let l of f.issues)if(l.code==="invalid_union"&&l.errors.length)l.errors.map((c)=>i({issues:c},[...s,...l.path]));else if(l.code==="invalid_key")i({issues:l.issues},[...s,...l.path]);else if(l.code==="invalid_element")i({issues:l.issues},[...s,...l.path]);else{let c=[...s,...l.path];if(c.length===0)a._errors.push(r(l));else{let m=a,g=0;while(g<c.length){let M=c[g],v=g===c.length-1;if(M==="_errors"){if(v)m._errors.push(r(l));g++;continue}if(!Object.prototype.hasOwnProperty.call(m,M))Object.defineProperty(m,M,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let y=m[M];if(v)y._errors.push(r(l));m=y,g++}}}};return i(e),a}function a4(e,r){return{callee:r?.callee??e,Err:r?.Err}}var n4=(e)=>{let r=(a,i,f,s)=>{let l=f?{...f,async:!1}:{async:!1},c=a._zod.run({value:i,issues:[]},l);if(c instanceof Promise)throw new sM;if(c.issues.length){let m=new(s?.Err??e)(c.issues.map((g)=>xZ(g,l,Ql())));throw W9(m,s?.callee??r),m}return c.value};return r};var i4=(e)=>{let r=async(a,i,f,s)=>{let l=f?{...f,async:!0}:{async:!0},c=a._zod.run({value:i,issues:[]},l);if(c instanceof Promise)c=await c;if(c.issues.length){let m=new(s?.Err??e)(c.issues.map((g)=>xZ(g,l,Ql())));throw W9(m,s?.callee??r),m}return c.value};return r};var F2=(e)=>(r,a,i)=>{let f=i?{...i,async:!1}:{async:!1},s=r._zod.run({value:a,issues:[]},f);if(s instanceof Promise)throw new sM;return s.issues.length?{success:!1,error:new(e??o4)(s.issues.map((l)=>xZ(l,f,Ql())))}:{success:!0,data:s.value}},kde=F2(rV),B2=(e)=>async(r,a,i)=>{let f=i?{...i,async:!0}:{async:!0},s=r._zod.run({value:a,issues:[]},f);if(s instanceof Promise)s=await s;return s.issues.length?{success:!1,error:new e(s.issues.map((l)=>xZ(l,f,Ql())))}:{success:!0,data:s.value}},Cde=B2(rV);var Ide=(e)=>{let r=n4(e),a=(i,f,s,l)=>{let c=s?{...s,direction:"backward"}:{direction:"backward"};return r(i,f,c,a4(a,l))};return a};var Rde=(e)=>{let r=n4(e),a=(i,f,s,l)=>r(i,f,s,a4(a,l));return a};var Pde=(e)=>{let r=i4(e),a=async(i,f,s,l)=>{let c=s?{...s,direction:"backward"}:{direction:"backward"};return await r(i,f,c,a4(a,l))};return a};var Tde=(e)=>{let r=i4(e),a=async(i,f,s,l)=>await r(i,f,s,a4(a,l));return a};var Ade=(e)=>(r,a,i)=>{let f=i?{...i,direction:"backward"}:{direction:"backward"};return F2(e)(r,a,f)};var Ede=(e)=>(r,a,i)=>F2(e)(r,a,i);var Dde=(e)=>async(r,a,i)=>{let f=i?{...i,direction:"backward"}:{direction:"backward"};return B2(e)(r,a,f)};var Ode=(e)=>async(r,a,i)=>B2(e)(r,a,i);var jde=/^[cC][0-9a-z]{6,}$/,Nde=/^[0-9a-z]+$/,Fde=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,Bde=/^[0-9a-vA-V]{20}$/,Yde=/^[A-Za-z0-9]{27}$/,Ude=/^[a-zA-Z0-9_-]{21}$/;function qde(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var Vde=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;var Hde=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,aV=(e)=>{if(!e)return/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`)};var Wde=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;var uyt="^[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function Gde(){return new RegExp(uyt,"u")}var Kde=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Xde=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/;var Qde=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Jde=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,$de=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,nV=/^[A-Za-z0-9_-]*$/;var eZe=/^https?$/,tZe=/^\+[1-9]\d{6,14}$/;var rZe="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))";function dyt(e){return new RegExp(`^${e}$`)}var oZe=dyt(rZe);function oV(e){return typeof e.precision==="number"?e.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":e.precision===0?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d":`(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?":"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function aZe(e){return new RegExp(`^${oV(e)}$`)}function nZe(e){let r=["Z"];if(e.offset)r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let a=`${oV({precision:e.precision,seconds:!0})}(?:${r.join("|")})`,i=e.local?`${a}|${oV({precision:e.precision})}`:a;return new RegExp(`^${rZe}T(?:${i})$`)}var iZe=(e)=>{let r=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${r}$`)},fZe=/^-?\d+n?$/,f4=/^-?\d+$/,Y2=/^-?\d+(?:\.\d+)?$/,sZe=/^(?:true|false)$/i;var lZe=/^[^A-Z]*$/,cZe=/^[^a-z]*$/;var tf=Lt("$ZodCheck",(e,r)=>{var a;e._zod??(e._zod={}),e._zod.def=r,(a=e._zod).onattach??(a.onattach=[])});var iV=(e)=>{let r=e.value;return!sde(r)&&r.length!==void 0},s4={number:"number",bigint:"bigint",object:"date"},fV=Lt("$ZodCheckLessThan",(e,r)=>{tf.init(e,r);let a=s4[typeof r.value];e._zod.onattach.push((i)=>{let f=i._zod.bag,s=(r.inclusive?f.maximum:f.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(r.value<s)if(r.inclusive)f.maximum=r.value;else f.exclusiveMaximum=r.value}),e._zod.check=(i)=>{if(r.inclusive?i.value<=r.value:i.value<r.value)return;i.issues.push({origin:s4[typeof i.value]??a,code:"too_big",maximum:typeof r.value==="object"?r.value.getTime():r.value,input:i.value,inclusive:r.inclusive,inst:e,continue:!r.abort})}}),sV=Lt("$ZodCheckGreaterThan",(e,r)=>{tf.init(e,r);let a=s4[typeof r.value];e._zod.onattach.push((i)=>{let f=i._zod.bag,s=(r.inclusive?f.minimum:f.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(r.value>s)if(r.inclusive)f.minimum=r.value;else f.exclusiveMinimum=r.value}),e._zod.check=(i)=>{if(r.inclusive?i.value>=r.value:i.value>r.value)return;i.issues.push({origin:s4[typeof i.value]??a,code:"too_small",minimum:typeof r.value==="object"?r.value.getTime():r.value,input:i.value,inclusive:r.inclusive,inst:e,continue:!r.abort})}}),uZe=Lt("$ZodCheckMultipleOf",(e,r)=>{tf.init(e,r),e._zod.onattach.push((a)=>{var i;(i=a._zod.bag).multipleOf??(i.multipleOf=r.value)}),e._zod.check=(a)=>{if(typeof a.value!==typeof r.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof a.value==="bigint"?r.value!==BigInt(0)&&a.value%r.value===BigInt(0):lde(a.value,r.value)===0)return;a.issues.push({origin:typeof a.value,code:"not_multiple_of",divisor:r.value,input:a.value,inst:e,continue:!r.abort})}}),dZe=Lt("$ZodCheckNumberFormat",(e,r)=>{tf.init(e,r),r.format=r.format||"float64";let a=r.format?.includes("int"),i=a?"int":"number",[f,s]=hde[r.format];e._zod.onattach.push((l)=>{let c=l._zod.bag;if(c.format=r.format,c.minimum=f,c.maximum=s,a)c.pattern=f4}),e._zod.check=(l)=>{let c=l.value;if(a){if(!Number.isInteger(c)){l.issues.push({expected:i,format:r.format,code:"invalid_type",continue:!1,input:c,inst:e});return}if(!Number.isSafeInteger(c)){if(c>0)l.issues.push({input:c,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!r.abort});else l.issues.push({input:c,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!r.abort});return}}if(c<f)l.issues.push({origin:"number",input:c,code:"too_small",minimum:f,inclusive:!0,inst:e,continue:!r.abort});if(c>s)l.issues.push({origin:"number",input:c,code:"too_big",maximum:s,inclusive:!0,inst:e,continue:!r.abort})}});var ZZe=Lt("$ZodCheckMaxLength",(e,r)=>{var a;tf.init(e,r),(a=e._zod.def).when??(a.when=iV),e._zod.onattach.push((i)=>{let f=i._zod.bag.maximum??Number.POSITIVE_INFINITY;if(r.maximum<f)i._zod.bag.maximum=r.maximum}),e._zod.check=(i)=>{let f=i.value,s=f.length;if((typeof f==="string"&&s>r.maximum?t4(f):s)<=r.maximum)return;let c=r4(f);i.issues.push({origin:c,code:"too_big",maximum:r.maximum,inclusive:!0,input:f,inst:e,continue:!r.abort})}}),pZe=Lt("$ZodCheckMinLength",(e,r)=>{var a;tf.init(e,r),(a=e._zod.def).when??(a.when=iV),e._zod.onattach.push((i)=>{let f=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(r.minimum>f)i._zod.bag.minimum=r.minimum}),e._zod.check=(i)=>{let f=i.value,s=f.length;if((typeof f==="string"&&s>=r.minimum&&s<r.minimum*2?t4(f):s)>=r.minimum)return;let c=r4(f);i.issues.push({origin:c,code:"too_small",minimum:r.minimum,inclusive:!0,input:f,inst:e,continue:!r.abort})}}),mZe=Lt("$ZodCheckLengthEquals",(e,r)=>{var a;tf.init(e,r),(a=e._zod.def).when??(a.when=iV),e._zod.onattach.push((i)=>{let f=i._zod.bag;f.minimum=r.length,f.maximum=r.length,f.length=r.length}),e._zod.check=(i)=>{let f=i.value,s=f.length,l=typeof f==="string"&&s>=r.length&&s<=r.length*2?t4(f):s;if(l===r.length)return;let c=r4(f),m=l>r.length;i.issues.push({origin:c,...m?{code:"too_big",maximum:r.length}:{code:"too_small",minimum:r.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!r.abort})}}),q2=Lt("$ZodCheckStringFormat",(e,r)=>{var a,i;if(tf.init(e,r),e._zod.onattach.push((f)=>{let s=f._zod.bag;if(s.format=r.format,r.pattern)s.patterns??(s.patterns=new Set),s.patterns.add(r.pattern)}),r.pattern)(a=e._zod).check??(a.check=(f)=>{if(r.pattern.lastIndex=0,r.pattern.test(f.value))return;f.issues.push({origin:"string",code:"invalid_format",format:r.format,input:f.value,...r.pattern?{pattern:r.pattern.toString()}:{},inst:e,continue:!r.abort})});else(i=e._zod).check??(i.check=()=>{})}),hZe=Lt("$ZodCheckRegex",(e,r)=>{q2.init(e,r),e._zod.check=(a)=>{if(r.pattern.lastIndex=0,r.pattern.test(a.value))return;a.issues.push({origin:"string",code:"invalid_format",format:"regex",input:a.value,pattern:r.pattern.toString(),inst:e,continue:!r.abort})}}),gZe=Lt("$ZodCheckLowerCase",(e,r)=>{r.pattern??(r.pattern=lZe),q2.init(e,r)}),MZe=Lt("$ZodCheckUpperCase",(e,r)=>{r.pattern??(r.pattern=cZe),q2.init(e,r)}),vZe=Lt("$ZodCheckIncludes",(e,r)=>{tf.init(e,r);let a=A8(r.includes),i=new RegExp(typeof r.position==="number"?`^.{${r.position},}${a}`:a);r.pattern=i,e._zod.onattach.push((f)=>{let s=f._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(i)}),e._zod.check=(f)=>{if(f.value.includes(r.includes,r.position))return;f.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:r.includes,input:f.value,inst:e,continue:!r.abort})}}),xZe=Lt("$ZodCheckStartsWith",(e,r)=>{tf.init(e,r);let a=new RegExp(`^${A8(r.prefix)}.*`);r.pattern??(r.pattern=a),e._zod.onattach.push((i)=>{let f=i._zod.bag;f.patterns??(f.patterns=new Set),f.patterns.add(a)}),e._zod.check=(i)=>{if(i.value.startsWith(r.prefix))return;i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:r.prefix,input:i.value,inst:e,continue:!r.abort})}}),yZe=Lt("$ZodCheckEndsWith",(e,r)=>{tf.init(e,r);let a=new RegExp(`.*${A8(r.suffix)}$`);r.pattern??(r.pattern=a),e._zod.onattach.push((i)=>{let f=i._zod.bag;f.patterns??(f.patterns=new Set),f.patterns.add(a)}),e._zod.check=(i)=>{if(i.value.endsWith(r.suffix))return;i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:r.suffix,input:i.value,inst:e,continue:!r.abort})}});var bZe=Lt("$ZodCheckOverwrite",(e,r)=>{tf.init(e,r),e._zod.check=(a)=>{a.value=r.tx(a.value)}});class lV{constructor(e=[],r={}){this.content=[],this.indent=0,this.args=e,this.closed=r}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if(typeof e==="function"){e(this,{execution:"sync"}),e(this,{execution:"async"});return}let a=e.split(`
145
- `).filter((s)=>s),i=Math.min(...a.map((s)=>s.length-s.trimStart().length)),f=a.map((s)=>s.slice(i)).map((s)=>" ".repeat(this.indent*2)+s);for(let s of f)this.content.push(s)}compile(){let e=Function,r=this?.content??[""];return new e(...Object.keys(this.closed),`return function (${this.args.join(", ")}) {
146
- ${r.join(`
147
- `)}
148
- };`)(...Object.values(this.closed))}}var wZe={major:4,minor:5,patch:4};var ba=Lt("$ZodType",(e,r)=>{var a;e??(e={}),e._zod.def=r,e._zod.bag=e._zod.bag||{},e._zod.version=wZe;let i=e._zod.def.checks,f=e._zod.traits.has("$ZodCheck")?[e,...i??[]]:i?.length?[...i]:[];for(let s of f)for(let l of s._zod.onattach)l(e);if(f.length===0)(a=e._zod).deferred??(a.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let s=(c,m,g)=>{if(c.memo)return c;let M=_L(c),v;for(let y of m){if(y._zod.def.when){if(Mde(c))continue;if(!y._zod.def.when(c))continue}else if(M)continue;let x=c.issues.length,_=y._zod.check(c);if(_ instanceof Promise&&g?.async===!1)throw new sM;if(v||_ instanceof Promise)v=(v??Promise.resolve()).then(async()=>{if(await _,c.issues.length===x)return;if(X9(c.issues,x,e),!M)M=_L(c,x)});else{if(c.issues.length===x)continue;if(X9(c.issues,x,e),!M)M=_L(c,x)}}if(v)return v.then(()=>c);return c},l=(c,m,g)=>{if(_L(c))return c.aborted=!0,c;let M=s(m,f,g);if(M instanceof Promise){if(g.async===!1)throw new sM;return M.then((v)=>e._zod.parse(v,g))}return e._zod.parse(M,g)};e._zod.run=(c,m)=>{if(m.skipChecks)return e._zod.parse(c,m);if(m.direction==="backward"){let M=e._zod.parse({value:c.value,issues:[]},{...m,skipChecks:!0});if(M instanceof Promise)return M.then((v)=>l(v,c,m));return l(M,c,m)}let g=e._zod.parse(c,m);if(g instanceof Promise){if(m.async===!1)throw new sM;return g.then((M)=>s(M,f,m))}return s(g,f,m)}}},{get "~standard"(){return Q9(this,"~standard",dV(this))},set "~standard"(e){yL(this,"~standard",e)}}),zZe=(e)=>e.success?{value:e.data}:{issues:e.error?.issues};function dV(e){return{validate:(r)=>{try{return zZe(kde(e,r))}catch(a){return Cde(e,r).then(zZe)}},vendor:"zod",version:1}}var u4=Lt("$ZodString",(e,r)=>{ba.init(e,r),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??iZe(e._zod.bag),e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=String(a.value)}catch(f){}if(typeof a.value==="string")return a;return a.issues.push({expected:"string",code:"invalid_type",input:a.value,inst:e}),a}}),Ha=Lt("$ZodStringFormat",(e,r)=>{q2.init(e,r),u4.init(e,r)}),EZe=Lt("$ZodGUID",(e,r)=>{r.pattern??(r.pattern=Hde),Ha.init(e,r)}),DZe=Lt("$ZodUUID",(e,r)=>{if(r.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[r.version];if(i===void 0)throw Error(`Invalid UUID version: "${r.version}"`);r.pattern??(r.pattern=aV(i))}else r.pattern??(r.pattern=aV());Ha.init(e,r)}),OZe=Lt("$ZodEmail",(e,r)=>{r.pattern??(r.pattern=Wde),Ha.init(e,r)}),jZe=1,NZe=2;function Zyt(e,r){if(!r.normalize&&r.protocol?.source===eZe.source&&!/^https?:\/\//i.test(e))return jZe;try{return new URL(e)}catch{return NZe}}var pyt=/[\t\n\r]/g;function myt(e){return e.replace(pyt,"")}function hyt(e,r){return r.lastIndex=0,r.test(e.hostname)}function gyt(e,r){return r.lastIndex=0,r.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var FZe=Lt("$ZodURL",(e,r)=>{Ha.init(e,r),e._zod.check=(a)=>{try{let i=a.value.trim(),f=Zyt(i,r);if(f===jZe){a.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:a.value,inst:e,continue:!r.abort});return}if(f===NZe){a.issues.push({code:"invalid_format",format:"url",input:a.value,inst:e,continue:!r.abort});return}if(r.hostname&&!hyt(f,r.hostname))a.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:r.hostname.source,input:a.value,inst:e,continue:!r.abort});if(r.protocol&&!gyt(f,r.protocol))a.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:r.protocol.source,input:a.value,inst:e,continue:!r.abort});a.value=r.normalize?f.href:myt(i);return}catch(i){a.issues.push({code:"invalid_format",format:"url",input:a.value,inst:e,continue:!r.abort})}}}),BZe=Lt("$ZodEmoji",(e,r)=>{r.pattern??(r.pattern=Gde()),Ha.init(e,r)}),YZe=Lt("$ZodNanoID",(e,r)=>{if(r.length!==void 0&&(!Number.isInteger(r.length)||r.length<1))throw Error(`Invalid nanoid length: ${r.length}`);r.pattern??(r.pattern=r.length===void 0?Ude:qde(r.length)),Ha.init(e,r)}),UZe=Lt("$ZodCUID",(e,r)=>{r.pattern??(r.pattern=jde),Ha.init(e,r)}),qZe=Lt("$ZodCUID2",(e,r)=>{r.pattern??(r.pattern=Nde),Ha.init(e,r)}),VZe=Lt("$ZodULID",(e,r)=>{r.pattern??(r.pattern=Fde),Ha.init(e,r)}),HZe=Lt("$ZodXID",(e,r)=>{r.pattern??(r.pattern=Bde),Ha.init(e,r)}),WZe=Lt("$ZodKSUID",(e,r)=>{r.pattern??(r.pattern=Yde),Ha.init(e,r)}),GZe=Lt("$ZodISODateTime",(e,r)=>{if(r.pattern??(r.pattern=nZe(r)),Ha.init(e,r),r.local||r.precision===-1)e._zod.bag.laxFormat=!0,e._zod.onattach.push((a)=>{a._zod.bag.laxFormat=!0})}),KZe=Lt("$ZodISODate",(e,r)=>{r.pattern??(r.pattern=oZe),Ha.init(e,r)}),XZe=Lt("$ZodISOTime",(e,r)=>{r.pattern??(r.pattern=aZe(r)),Ha.init(e,r)}),QZe=Lt("$ZodISODuration",(e,r)=>{r.pattern??(r.pattern=Vde),Ha.init(e,r)}),JZe=Lt("$ZodIPv4",(e,r)=>{r.pattern??(r.pattern=Kde),Ha.init(e,r),e._zod.bag.format="ipv4"}),Myt=/^[0-9a-fA-F:.]+$/;function $Ze(e){if(!Myt.test(e))return!1;try{return new URL(`http://[${e}]`),!0}catch{return!1}}var epe=Lt("$ZodIPv6",(e,r)=>{r.pattern??(r.pattern=Xde),Ha.init(e,r),e._zod.bag.format="ipv6",e._zod.check=(a)=>{if(!$Ze(a.value))a.issues.push({code:"invalid_format",format:"ipv6",input:a.value,inst:e,continue:!r.abort})}});var tpe=Lt("$ZodCIDRv4",(e,r)=>{r.pattern??(r.pattern=Qde),Ha.init(e,r)});function vyt(e){let r=e.split("/");if(r.length!==2)return!1;let[a,i]=r;if(!i)return!1;let f=Number(i);if(`${f}`!==i)return!1;if(f<0||f>128)return!1;return $Ze(a)}var rpe=Lt("$ZodCIDRv6",(e,r)=>{r.pattern??(r.pattern=Jde),Ha.init(e,r),e._zod.check=(a)=>{if(!vyt(a.value))a.issues.push({code:"invalid_format",format:"cidrv6",input:a.value,inst:e,continue:!r.abort})}});function ope(e){if(e==="")return!0;if(/\s/.test(e))return!1;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var ape=Lt("$ZodBase64",(e,r)=>{r.pattern??(r.pattern=$de),Ha.init(e,r),e._zod.bag.contentEncoding="base64",e._zod.check=(a)=>{if(ope(a.value))return;a.issues.push({code:"invalid_format",format:"base64",input:a.value,inst:e,continue:!r.abort})}});function xyt(e){if(!nV.test(e))return!1;let r=e.replace(/[-_]/g,(i)=>i==="-"?"+":"/"),a=r.padEnd(Math.ceil(r.length/4)*4,"=");return ope(a)}var npe=Lt("$ZodBase64URL",(e,r)=>{r.pattern??(r.pattern=nV),Ha.init(e,r),e._zod.bag.contentEncoding="base64url",e._zod.check=(a)=>{if(xyt(a.value))return;a.issues.push({code:"invalid_format",format:"base64url",input:a.value,inst:e,continue:!r.abort})}}),ipe=Lt("$ZodE164",(e,r)=>{r.pattern??(r.pattern=tZe),Ha.init(e,r)});function yyt(e,r=null){try{let a=e.split(".");if(a.length!==3)return!1;let[i]=a;if(!i)return!1;let f=JSON.parse(atob(i));if("typ"in f&&f?.typ!=="JWT")return!1;if(!f.alg)return!1;if(r&&(!("alg"in f)||f.alg!==r))return!1;return!0}catch{return!1}}var fpe=Lt("$ZodJWT",(e,r)=>{Ha.init(e,r),e._zod.check=(a)=>{if(yyt(a.value,r.alg))return;a.issues.push({code:"invalid_format",format:"jwt",input:a.value,inst:e,continue:!r.abort})}});var ZV=Lt("$ZodNumber",(e,r)=>{ba.init(e,r),e._zod.pattern=e._zod.bag.pattern??Y2,e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=Number(a.value)}catch(l){}let f=a.value;if(typeof f==="number"&&!Number.isNaN(f)&&Number.isFinite(f))return a;let s=typeof f==="number"?Number.isNaN(f)?"NaN":!Number.isFinite(f)?String(f):void 0:void 0;return a.issues.push({expected:"number",code:"invalid_type",input:f,inst:e,...s?{received:s}:{}}),a}}),spe=Lt("$ZodNumberFormat",(e,r)=>{dZe.init(e,r),ZV.init(e,r)}),lpe=Lt("$ZodBoolean",(e,r)=>{ba.init(e,r),e._zod.pattern=sZe,e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=Boolean(a.value)}catch(s){}let f=a.value;if(typeof f==="boolean")return a;return a.issues.push({expected:"boolean",code:"invalid_type",input:f,inst:e}),a}}),cpe=Lt("$ZodBigInt",(e,r)=>{ba.init(e,r),e._zod.pattern=fZe,e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=BigInt(a.value)}catch(f){}if(typeof a.value==="bigint")return a;return a.issues.push({expected:"bigint",code:"invalid_type",input:a.value,inst:e}),a}});var upe=Lt("$ZodAny",(e,r)=>{ba.init(e,r),e._zod.parse=(a)=>a}),dpe=Lt("$ZodUnknown",(e,r)=>{ba.init(e,r),e._zod.parse=(a)=>a}),Zpe=Lt("$ZodNever",(e,r)=>{ba.init(e,r),e._zod.parse=(a,i)=>(a.issues.push({expected:"never",code:"invalid_type",input:a.value,inst:e}),a)});var ppe=Lt("$ZodDate",(e,r)=>{ba.init(e,r),e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=new Date(a.value)}catch(c){}let f=a.value,s=f instanceof Date;if(s&&!Number.isNaN(f.getTime()))return a;return a.issues.push({expected:"date",code:"invalid_type",input:f,...s?{received:"Invalid Date"}:{},inst:e}),a}});function SZe(e,r,a){if(e.issues.length)r.issues.push(...E8(a,e.issues));r.value[a]=e.value}var mpe=Lt("$ZodArray",(e,r)=>{ba.init(e,r);let a=rl.memoizer;a?.attach(e),e._zod.parse=(i,f)=>{let s=i.value;if(!Array.isArray(s))return i.issues.push({expected:"array",code:"invalid_type",input:s,inst:e}),i;i.value=a?a.alloc(e,i,Array(s.length),f):Array(s.length);let l=[];for(let c=0;c<s.length;c++){let m=s[c],g=r.element._zod.run({value:m,issues:[]},f);if(g instanceof Promise)l.push(g.then((M)=>SZe(M,i,c)));else SZe(g,i,c)}if(l.length)return Promise.all(l).then(()=>i);return i}});function c4(e,r,a,i,f,s){let l=a in i,c=s==="optional";if(!l&&c&&f==="optional")return;if(e.issues.length){if(f!==void 0&&c&&!l)return;r.issues.push(...E8(a,e.issues))}if(!l&&f===void 0){if(!e.issues.length)r.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[a]});return}if(e.value===void 0){if(l)r.value[a]=void 0}else r.value[a]=e.value}var byt=[];function hpe(e){let r=Object.keys(e.shape),a=Object.getOwnPropertySymbols(e.shape),i=a.length?a:byt,f=i.length?[...r,...i]:r;for(let l of f)if(!e.shape?.[l]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${String(l)}": expected a Zod schema`);let s=mde(e.shape);return{...e,allKeys:f,symbolKeys:i,keySet:new Set(r),numKeys:r.length,optionalKeys:new Set(s)}}function gpe(e,r,a,i,f,s){let l=[],c=f.keySet,m=f.catchall._zod,g=m.def.type,{optin:M,optout:v}=m;for(let y in r){if(c.has(y))continue;if(y==="__proto__"){if(g==="never")l.push(y);continue}if(g==="never"){l.push(y);continue}let x=m.run({value:r[y],issues:[]},i);if(x instanceof Promise)e.push(x.then((_)=>c4(_,a,y,r,M,v)));else c4(x,a,y,r,M,v)}if(l.length)a.issues.push({code:"unrecognized_keys",keys:l,input:r,inst:s,continue:!0});if(!e.length)return a;return Promise.all(e).then(()=>a)}var cV=new WeakMap,_yt=Lt("$ZodObject",(e,r)=>{if(ba.init(e,r),!Object.getOwnPropertyDescriptor(r,"shape")?.get){let m=r.shape;cV.set(r,m),Object.defineProperty(r,"shape",{get:()=>{let g={...m};return Object.defineProperty(r,"shape",{value:g}),cV.set(r,g),g}})}let i=j2(()=>hpe(r));Ro(e,"propValues",(m)=>{let g=m.def.shape,M={};for(let v in g){let y=g[v]._zod;if(y.values){if(!Object.prototype.hasOwnProperty.call(M,v))Yi(M,v,new Set);for(let x of y.values)M[v].add(x);if(y.optin!==void 0)M[v].add(void 0)}}return M});let f=ZR,s=r.catchall,l,c=rl.memoizer;c?.attach(e),e._zod.parse=(m,g)=>{l??(l=i.value);let M=m.value;if(!f(M))return m.issues.push({expected:"object",code:"invalid_type",input:M,inst:e}),m;m.value=c?c.alloc(e,m,{},g):{};let v=[],y=l.shape;for(let x of l.allKeys){if(x==="__proto__")continue;let _=y[x],j=_._zod.optin,U=_._zod.optout,T=_._zod.run({value:M[x],issues:[]},g);if(T instanceof Promise)v.push(T.then((N)=>c4(N,m,x,M,j,U)));else c4(T,m,x,M,j,U)}if(!s)return v.length?Promise.all(v).then(()=>m):m;return gpe(v,M,m,g,i.value,e)}}),Mpe=Lt("$ZodObjectJIT",(e,r)=>{_yt.init(e,r);let a=e._zod.parse,i=j2(()=>hpe(r)),f=rl.memoizer,s=(x)=>{let _=i.value,j=_.symbolKeys,U=new lV(["payload","ctx"],{shape:x,inst:e,memo:f,syms:j}),T=(J)=>`shape[${J}]._zod.run({ value: input[${J}], issues: [] }, ctx)`,N=(J,ee)=>`
149
- for (let i = 0; i < ${J}.issues.length; i++) {
150
- const iss = ${J}.issues[i];
151
- iss.path = iss.path ? [${ee}, ...iss.path] : [${ee}];
152
- payload.issues.push(iss);
153
- }`;U.write("const input = payload.value;");let G=Object.create(null),X=0;for(let J of _.allKeys)G[J]=`key_${X++}`;U.write(f?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(let J of _.allKeys){if(J==="__proto__")continue;let ee=G[J],re=typeof J==="symbol"?`syms[${j.indexOf(J)}]`:ude(J),oe=`${re} in input`,ae=x[J],ye=ae?._zod?.optin,We=ye!==void 0,Ye=ae?._zod?.optout==="optional";if(U.write(`const ${ee} = ${T(re)};`),We&&Ye){let ze=ye==="optional"?`${ee}_present`:`${ee}.value !== undefined || ${ee}_present`;U.write(`
154
- const ${ee}_present = ${oe};
155
- if (!${ee}.issues.length || ${ee}_present) {
156
- if (${ee}.issues.length) {${N(ee,re)}
157
- }
158
-
159
- if (${ze}) {
160
- newResult[${re}] = ${ee}.value;
161
- }
162
- }
163
-
164
- `)}else if(!We)U.write(`
165
- const ${ee}_present = ${oe};
166
- if (${ee}.issues.length) {${N(ee,re)}
167
- }
168
- if (!${ee}_present && !${ee}.issues.length) {
169
- payload.issues.push({
170
- code: "invalid_type",
171
- expected: "nonoptional",
172
- input: undefined,
173
- path: [${re}]
174
- });
175
- }
176
-
177
- if (${ee}_present) {
178
- newResult[${re}] = ${ee}.value;
179
- }
180
-
181
- `);else U.write(`
182
- if (${ee}.issues.length) {${N(ee,re)}
183
- }
184
-
185
- if (${ee}.value === undefined) {
186
- if (${oe}) {
187
- newResult[${re}] = undefined;
188
- }
189
- } else {
190
- newResult[${re}] = ${ee}.value;
191
- }
192
-
193
- `)}return U.write("payload.value = newResult;"),U.write("return payload;"),U.compile()},l,c=ZR,m=!rl.jitless,M=m&&Zde.value,v=r.catchall,y;e._zod.parse=(x,_)=>{y??(y=i.value);let j=x.value;if(!c(j))return x.issues.push({expected:"object",code:"invalid_type",input:j,inst:e}),x;if(m&&M&&_?.async===!1&&_.jitless!==!0){if(!l)l=s(r.shape);if(x=l(x,_),!v)return x;return gpe([],j,x,_,y,e)}return a(x,_)}});function LZe(e,r,a,i){for(let s of e)if(s.issues.length===0)return r.value=s.value,r;let f=e.filter((s)=>!_L(s));if(f.length===1)return r.value=f[0].value,f[0];return r.issues.push({code:"invalid_union",input:r.value,inst:a,errors:e.map((s)=>s.issues.map((l)=>xZ(l,i,Ql())))}),r}var pV=Lt("$ZodUnion",(e,r)=>{ba.init(e,r),Ro(e,"optin",(i)=>i.def.options.some((f)=>f._zod.optin==="defaulted")?"defaulted":i.def.options.some((f)=>f._zod.optin!==void 0)?"optional":void 0),Ro(e,"optout",(i)=>i.def.options.some((f)=>f._zod.optout==="optional")?"optional":void 0),Ro(e,"values",(i)=>{if(i.def.options.every((f)=>f._zod.values))return new Set(i.def.options.flatMap((f)=>Array.from(f._zod.values)));return}),Ro(e,"pattern",(i)=>{if(i.def.options.every((f)=>f._zod.pattern)){let f=i.def.options.map((s)=>s._zod.pattern);return new RegExp(`^(${f.map((s)=>e4(s.source)).join("|")})$`)}return});let a=r.options.length===1?r.options[0]._zod.run:null;e._zod.parse=(i,f)=>{if(a)return a(i,f);let s=!1,l=[];for(let c of r.options){let m=c._zod.run({value:i.value,issues:[]},f);if(m instanceof Promise)l.push(m),s=!0;else{if(m.issues.length===0)return m;l.push(m)}}if(!s)return LZe(l,i,e,f);return Promise.all(l).then((c)=>LZe(c,i,e,f))}});var vpe=Lt("$ZodDiscriminatedUnion",(e,r)=>{r.inclusive=!1,pV.init(e,r);let a=e._zod.parse;Ro(e,"propValues",(f)=>{let s={};for(let l of f.def.options){let c=l._zod.propValues;if(!c||Object.keys(c).length===0)throw Error(`Invalid discriminated union option at index "${f.def.options.indexOf(l)}"`);for(let[m,g]of Object.entries(c)){if(!Object.prototype.hasOwnProperty.call(s,m))Yi(s,m,new Set);for(let M of g)s[m].add(M)}}return s}),r.options.forEach((f,s)=>{let l=cV.get(f._zod.def);if(l&&!Object.prototype.hasOwnProperty.call(l,r.discriminator))throw Error(`Invalid discriminated union option at index "${s}"`)});let i=j2(()=>{let f=r.options,s=new Map;for(let l of f){let c=l._zod.propValues?.[r.discriminator];if(!c||c.size===0)throw Error(`Invalid discriminated union option at index "${r.options.indexOf(l)}"`);for(let m of c){if(s.has(m))throw Error(`Duplicate discriminator value "${String(m)}"`);s.set(m,l)}}return s});e._zod.parse=(f,s)=>{let l=f.value;if(!ZR(l))return f.issues.push({code:"invalid_type",expected:"object",input:l,inst:e}),f;let c=i.value.get(l?.[r.discriminator]);if(c)return c._zod.run(f,s);if(r.unionFallback||s.direction==="backward")return a(f,s);return f.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:r.discriminator,options:Array.from(i.value.keys()),input:l,path:[r.discriminator],inst:e}),f}}),xpe=Lt("$ZodIntersection",(e,r)=>{ba.init(e,r),e._zod.parse=(a,i)=>{let f=a.value,s=r.left._zod.run({value:f,issues:[]},i),l=r.right._zod.run({value:f,issues:[]},i);if(s instanceof Promise||l instanceof Promise)return Promise.all([s,l]).then(([m,g])=>kZe(a,m,g));return kZe(a,s,l)}});function uV(e,r){if(e===r)return{valid:!0,data:e};if(e instanceof Date&&r instanceof Date&&+e===+r)return{valid:!0,data:e};if(bL(e)&&bL(r)){let a=Object.keys(r),i=Object.keys(e).filter((s)=>a.indexOf(s)!==-1),f={...e,...r};if(Object.prototype.hasOwnProperty.call(f,"__proto__"))delete f.__proto__;for(let s of i){if(s==="__proto__")continue;let l=uV(e[s],r[s]);if(!l.valid)return{valid:!1,mergeErrorPath:[s,...l.mergeErrorPath]};f[s]=l.data}return{valid:!0,data:f}}if(Array.isArray(e)&&Array.isArray(r)){if(e.length!==r.length)return{valid:!1,mergeErrorPath:[]};let a=[];for(let i=0;i<e.length;i++){let f=e[i],s=r[i],l=uV(f,s);if(!l.valid)return{valid:!1,mergeErrorPath:[i,...l.mergeErrorPath]};a.push(l.data)}return{valid:!0,data:a}}return{valid:!1,mergeErrorPath:[]}}function kZe(e,r,a){let i=new Map,f,s=new Map,l=(g,M)=>{let v;if(g.code==="unrecognized_keys"&&!g.path?.length)f??(f=g),v=g.keys;else if(g.code==="invalid_key"&&g.origin==="record"&&g.path?.length===1){let y=String(g.path[0]);if(!s.has(y))s.set(y,g);v=[y]}else return!1;for(let y of v){if(!i.has(y))i.set(y,{});i.get(y)[M]=!0}return!0};for(let g of r.issues)if(!l(g,"l"))e.issues.push(g);for(let g of a.issues)if(!l(g,"r"))e.issues.push(g);let c=[...i].filter(([,g])=>g.l&&g.r).map(([g])=>g);if(c.length){let g=f?c.filter((M)=>f.keys.includes(M)):[];if(g.length)e.issues.push({...f,keys:g});for(let M of c)if(!g.includes(M)&&s.has(M))e.issues.push(s.get(M))}let m=uV(r.value,a.value);if(!m.valid){if(_L(e))return e;throw Error(`Unmergable intersection. Error path: ${JSON.stringify(m.mergeErrorPath)}`)}return e.value=m.data,e}var ype=Lt("$ZodRecord",(e,r)=>{ba.init(e,r);let a=rl.memoizer;a?.attach(e),e._zod.parse=(i,f)=>{let s=i.value;if(!bL(s))return i.issues.push({expected:"record",code:"invalid_type",input:s,inst:e}),i;let l=[],c=r.keyType._zod.values;if(c&&!r.partial){i.value=a?a.alloc(e,i,{},f):{};let m=new Set;for(let M of c)if(typeof M==="string"||typeof M==="number"||typeof M==="symbol"){if(m.add(typeof M==="number"?M.toString():M),M==="__proto__")continue;let v=r.keyType._zod.run({value:M,issues:[]},f);if(v instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(v.issues.length){i.issues.push({code:"invalid_key",origin:"record",issues:v.issues.map((_)=>xZ(_,f,Ql())),input:M,path:[M],inst:e});continue}let y=v.value;if(y==="__proto__")continue;let x=r.valueType._zod.run({value:s[M],issues:[]},f);if(x instanceof Promise)l.push(x.then((_)=>{if(_.issues.length)i.issues.push(...E8(M,_.issues));i.value[y]=_.value}));else{if(x.issues.length)i.issues.push(...E8(M,x.issues));i.value[y]=x.value}}let g;for(let M in s)if(!m.has(M))if(r.mode==="loose"){if(M==="__proto__")continue;i.value[M]=s[M]}else g=g??[],g.push(M);if(g&&g.length>0)i.issues.push({code:"unrecognized_keys",input:s,inst:e,keys:g,continue:!0})}else{i.value=a?a.alloc(e,i,{},f):{};let m;for(let g of Reflect.ownKeys(s)){if(g==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(s,g))continue;let M=r.keyType._zod.run({value:g,issues:[]},f);if(M instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof g==="string"&&Y2.test(g)&&M.issues.length){let _=r.keyType._zod.run({value:Number(g),issues:[]},f);if(_ instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(_.issues.length===0)M=_}if(M.issues.length){if(r.mode==="loose")i.value[g]=s[g];else if(c)m=m??[],m.push(g);else i.issues.push({code:"invalid_key",origin:"record",issues:M.issues.map((_)=>xZ(_,f,Ql())),input:g,path:[g],inst:e});continue}let y=M.value;if(y==="__proto__")continue;let x=r.valueType._zod.run({value:s[g],issues:[]},f);if(x instanceof Promise)l.push(x.then((_)=>{if(_.issues.length)i.issues.push(...E8(g,_.issues));i.value[y]=_.value}));else{if(x.issues.length)i.issues.push(...E8(g,x.issues));i.value[y]=x.value}}if(m&&m.length>0)i.issues.push({code:"unrecognized_keys",input:s,inst:e,keys:m,continue:!0})}if(l.length)return Promise.all(l).then(()=>i);return i}});var bpe=Lt("$ZodEnum",(e,r)=>{ba.init(e,r);let a=$5(r.entries),i=new Set(a);e._zod.values=i;let f=a.filter((s)=>pde.has(typeof s));e._zod.pattern=new RegExp(f.length?`^(${f.map((s)=>A8(s.toString())).join("|")})$`:"^[^\\s\\S]$"),e._zod.parse=(s,l)=>{let c=s.value;if(i.has(c))return s;return s.issues.push({code:"invalid_value",values:a,input:c,inst:e}),s}}),_pe=Lt("$ZodLiteral",(e,r)=>{ba.init(e,r);let a=new Set(r.values);e._zod.values=a,e._zod.pattern=new RegExp(r.values.length?`^(${r.values.map((i)=>typeof i==="string"?A8(i):i?A8(i.toString()):String(i)).join("|")})$`:"^[^\\s\\S]$"),e._zod.parse=(i,f)=>{let s=i.value;if(a.has(s))return i;return i.issues.push({code:"invalid_value",values:r.values,input:s,inst:e}),i}});var wpe=Lt("$ZodTransform",(e,r)=>{ba.init(e,r),e._zod.optin="optional",rl.memoizer?.guard(e),e._zod.parse=(a,i)=>{if(i.direction==="backward")throw new N2(e.constructor.name);let f=r.transform(a.value,a);if(i.async)return(f instanceof Promise?f:Promise.resolve(f)).then((l)=>(a.value=l,a));if(f instanceof Promise)throw new sM;return a.value=f,a}});function CZe(e,r){return e.value=r.issues.length?void 0:r.value,e}var mV=Lt("$ZodOptional",(e,r)=>{ba.init(e,r),Ro(e,"optin",(a)=>a.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",Ro(e,"values",(a)=>{let i=a.def.innerType._zod.values;return i?new Set([...i,void 0]):void 0}),Ro(e,"pattern",(a)=>{let i=a.def.innerType._zod.pattern;return i?new RegExp(`^(${e4(i.source)})?$`):void 0}),e._zod.parse=(a,i)=>{if(a.value===void 0){if(r.innerType._zod.optin!=="defaulted")return a;let f=r.innerType._zod.run({value:a.value,issues:[]},i);if(f instanceof Promise)return f.then((s)=>CZe(a,s));return CZe(a,f)}return r.innerType._zod.run(a,i)}}),zpe=Lt("$ZodExactOptional",(e,r)=>{mV.init(e,r),Ro(e,"values",(a)=>a.def.innerType._zod.values),Ro(e,"pattern",(a)=>a.def.innerType._zod.pattern),e._zod.parse=(a,i)=>r.innerType._zod.run(a,i)}),Spe=Lt("$ZodNullable",(e,r)=>{ba.init(e,r),Ro(e,"optin",(a)=>a.def.innerType._zod.optin),Ro(e,"optout",(a)=>a.def.innerType._zod.optout),Ro(e,"pattern",(a)=>{let i=a.def.innerType._zod.pattern;return i?new RegExp(`^(${e4(i.source)}|null)$`):void 0}),Ro(e,"values",(a)=>a.def.innerType._zod.values?new Set([...a.def.innerType._zod.values,null]):void 0),e._zod.parse=(a,i)=>{if(a.value===null)return a;return r.innerType._zod.run(a,i)}}),Lpe=Lt("$ZodDefault",(e,r)=>{ba.init(e,r),e._zod.optin="defaulted",Ro(e,"values",(a)=>a.def.innerType._zod.values),e._zod.parse=(a,i)=>{if(i.direction==="backward")return r.innerType._zod.run(a,i);if(a.value===void 0)return a.value=r.defaultValue,a;let f=r.innerType._zod.run(a,i);if(f instanceof Promise)return f.then((s)=>IZe(s,r));return IZe(f,r)}});function IZe(e,r){if(e.value===void 0)e.value=r.defaultValue;return e}var kpe=Lt("$ZodPrefault",(e,r)=>{ba.init(e,r),e._zod.optin="defaulted",Ro(e,"values",(a)=>a.def.innerType._zod.values),e._zod.parse=(a,i)=>{if(i.direction==="backward")return r.innerType._zod.run(a,i);if(a.value===void 0)a.value=r.defaultValue;return r.innerType._zod.run(a,i)}}),Cpe=Lt("$ZodNonOptional",(e,r)=>{ba.init(e,r),Ro(e,"values",(a)=>{let i=a.def.innerType._zod.values;return i?new Set([...i].filter((f)=>f!==void 0)):void 0}),e._zod.parse=(a,i)=>{let f=r.innerType._zod.run(a,i);if(f instanceof Promise)return f.then((s)=>RZe(s,e));return RZe(f,e)}});function RZe(e,r){if(!e.issues.length&&e.value===void 0)e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:r});return e}function PZe(e,r,a,i){if(!r.issues.length){if(e.value=r.value,r.memo)e.memo=!0;return e}return e.value=a.catchValue({...r,value:e.value,error:{issues:r.issues.map((f)=>xZ(f,i,Ql()))},input:e.value}),e}var Ipe=Lt("$ZodCatch",(e,r)=>{ba.init(e,r),Ro(e,"optin",(a)=>a.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),Ro(e,"optout",(a)=>a.def.innerType._zod.optout),Ro(e,"values",(a)=>a.def.innerType._zod.values),e._zod.parse=(a,i)=>{if(i.direction==="backward")return r.innerType._zod.run(a,i);let f=r.innerType._zod.run({value:a.value,issues:[]},i);if(f instanceof Promise)return f.then((s)=>PZe(a,s,r,i));return PZe(a,f,r,i)}});var Rpe=Lt("$ZodPipe",(e,r)=>{ba.init(e,r),Ro(e,"values",(a)=>a.def.in._zod.values),Ro(e,"optin",(a)=>a.def.in._zod.optin),Ro(e,"optout",(a)=>a.def.out._zod.optout),Ro(e,"propValues",(a)=>a.def.in._zod.propValues),e._zod.parse=(a,i)=>{if(i.direction==="backward"){let s=r.out._zod.run(a,i);if(s instanceof Promise)return s.then((l)=>l4(l,r.in,i));return l4(s,r.in,i)}let f=r.in._zod.run(a,i);if(f instanceof Promise)return f.then((s)=>l4(s,r.out,i));return l4(f,r.out,i)}});function l4(e,r,a){if(e.issues.some((i)=>i.code!=="unrecognized_keys"))return e.aborted=!0,e;return r._zod.run({value:e.value,issues:e.issues},a)}var Ppe=Lt("$ZodReadonly",(e,r)=>{ba.init(e,r),Ro(e,"propValues",(a)=>a.def.innerType._zod.propValues),Ro(e,"values",(a)=>a.def.innerType._zod.values),Ro(e,"optin",(a)=>a.def.innerType?._zod?.optin),Ro(e,"optout",(a)=>a.def.innerType?._zod?.optout),e._zod.parse=(a,i)=>{if(i.direction==="backward")return r.innerType._zod.run(a,i);let f=r.innerType._zod.run(a,i);if(f instanceof Promise)return f.then(TZe);return TZe(f)}});function TZe(e){if(!e.memo)e.value=Object.freeze(e.value);return e}var Tpe=Lt("$ZodLazy",(e,r)=>{ba.init(e,r),cde(e._zod,"innerType",()=>{let a=r;if(!a._cachedInner)a._cachedInner=r.getter();return a._cachedInner}),Ro(e,"pattern",(a)=>a.innerType?._zod?.pattern),Ro(e,"propValues",(a)=>a.innerType?._zod?.propValues),Ro(e,"optin",(a)=>a.innerType?._zod?.optin??void 0),Ro(e,"optout",(a)=>a.innerType?._zod?.optout??void 0),e._zod.parse=(a,i)=>e._zod.innerType._zod.run(a,i)}),Ape=Lt("$ZodCustom",(e,r)=>{tf.init(e,r),ba.init(e,r),e._zod.parse=(a,i)=>a,e._zod.check=(a)=>{let i=a.value,f=r.fn(i);if(f instanceof Promise)return f.then((s)=>AZe(s,a,i,e));AZe(f,a,i,e);return}});function AZe(e,r,a,i){if(!e){let f={code:"custom",input:a,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};if(i._zod.def.params)f.params=i._zod.def.params;r.issues.push(wL(f))}}class Ope extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform");this.name="ZodCyclicError"}}var gV="~memo",Epe=[];function hV(e){return e.map((r)=>r.path?{...r,path:r.path.slice()}:{...r})}var Dpe=new WeakMap;function jpe(e,r){let a=Dpe.get(e);if(a!==void 0)return a;if(r.has(e))return!0;r.add(e);let i=!1,f=(c)=>{if(!i&&c?._zod&&jpe(c,r))i=!0},s=e._zod.def,l=s.type;switch(l){case"object":{for(let c of Reflect.ownKeys(s.shape))f(s.shape[c]);f(s.catchall);break}case"array":f(s.element);break;case"tuple":for(let c of s.items)f(c);f(s.rest);break;case"record":case"map":f(s.keyType),f(s.valueType);break;case"set":f(s.valueType);break;case"union":for(let c of s.options)f(c);break;case"intersection":f(s.left),f(s.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":f(s.innerType);break;case"pipe":f(s.in),f(s.out);break;case"function":f(s.input),f(s.output);break;case"lazy":f(e._zod.innerType);break;case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":break;default:for(let c in s){let m=Object.getOwnPropertyDescriptor(s,c);if(!m||m.get)continue;let g=m.value;if(!g||typeof g!=="object")continue;if(g._zod)f(g);else if(Array.isArray(g))for(let M of g)f(M)}}return r.delete(e),Dpe.set(e,i),i}function wyt(e,r){let a=e.buckets.get(r);if(!a)a=new Map,e.buckets.set(r,a);return a}var d4,Z4=[],zyt={alloc(e,r,a){let i=d4;if(!i)return a;d4=void 0;let f={value:a,issues:null};return i.set(r.value,f),Z4.push(f),a},guard(e){var r;(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred.push(()=>{let a=e._zod.parse,i=(f,s)=>{if(s.direction!=="backward"&&Syt(s,f.value))throw new Ope;return a(f,s)};if(e._zod.parse=i,e._zod.run===a)e._zod.run=i})},attach(e){var r;let a,i,f;(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred.push(()=>{let s=e._zod.parse,l=(c,m)=>{if(a===void 0){if(a=jpe(e,new Set),!a){if(e._zod.parse=s,e._zod.run===l)e._zod.run=s;return s(c,m)}}let g=c.value;if(g===null||typeof g!=="object")return s(c,m);let M=m[gV];if(!M)M={buckets:new Map,backEdges:void 0},m[gV]=M;let v;if(i===m)v=f;else v=wyt(M,e),i=m,f=v;let y=v.get(g);if(y){if(c.value=y.value,y.issues){if(y.issues.length)c.issues.push(...hV(y.issues))}else c.memo=!0,M.backEdges??(M.backEdges=new Set),M.backEdges.add(y.value);return c}d4=v;let x=Z4.length,_=s(c,m);d4=void 0;let j=Z4.length>x?Z4.pop():void 0;if(_ instanceof Promise)return _.then((U)=>{if(j)j.issues=U.issues.length?hV(U.issues):Epe;return U});if(j)j.issues=_.issues.length?hV(_.issues):Epe;return _};if(e._zod.parse=l,e._zod.run===s)e._zod.run=l})}};function Npe(){return zyt}function Syt(e,r){let a=e[gV]?.backEdges;return a!==void 0&&r!==null&&typeof r==="object"&&a.has(r)}var Lyt=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function r(s){return e[s]??null}let a={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",credit_card:"credit card number",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};function f(s,l){if(s==="number"&&typeof l==="number"&&!Number.isFinite(l))return String(l);return i[s]??s}return(s)=>{switch(s.code){case"invalid_type":{let l=f(s.expected),c=vde(s.input),m=f(c,s.input);return`Invalid input: expected ${l}, received ${m}`}case"invalid_value":if(s.values.length===1)return`Invalid input: expected ${K9(s.values[0])}`;return`Invalid option: expected one of ${H9(s.values,"|")}`;case"too_big":{let l=s.exact?"exactly ":s.inclusive?"<=":"<",c=r(s.origin);if(c)return`Too big: expected ${s.origin??"value"} to have ${l}${s.maximum.toString()} ${c.unit??"elements"}`;return`Too big: expected ${s.origin??"value"} to be ${l}${s.maximum.toString()}`}case"too_small":{let l=s.exact?"exactly ":s.inclusive?">=":">",c=r(s.origin);if(c)return`Too small: expected ${s.origin} to have ${l}${s.minimum.toString()} ${c.unit}`;return`Too small: expected ${s.origin} to be ${l}${s.minimum.toString()}`}case"invalid_format":{let l=s;if(l.format==="starts_with")return`Invalid string: must start with "${l.prefix}"`;if(l.format==="ends_with")return`Invalid string: must end with "${l.suffix}"`;if(l.format==="includes")return`Invalid string: must include "${l.includes}"`;if(l.format==="regex")return`Invalid string: must match pattern ${l.pattern}`;return`Invalid ${a[l.format]??s.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${s.divisor}`;case"unrecognized_keys":return`Unrecognized key${s.keys.length>1?"s":""}: ${H9(s.keys,", ")}`;case"invalid_key":return`Invalid key in ${s.origin}`;case"invalid_union":if(s.options&&Array.isArray(s.options)&&s.options.length>0)return`Invalid discriminator value. Expected ${s.options.map((c)=>`'${c}'`).join(" | ")}`;if(s.inclusive===!1)return"Invalid input: more than one option matched";return"Invalid input";case"invalid_element":return`Invalid value in ${s.origin}`;default:return"Invalid input"}}};function MV(){return{localeError:Lyt()}}var Fpe;class Bpe{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...r){let a=r[0];if(this._map.set(e,a),a&&typeof a==="object"&&"id"in a)this._idmap.set(a.id,e);return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let r=this._map.get(e);if(r&&typeof r==="object"&&"id"in r)this._idmap.delete(r.id);return this._map.delete(e),this}get(e){let r=e._zod.parent;if(r){let a={...this.get(r)??{}};delete a.id;let i={...a,...this._map.get(e)};return Object.keys(i).length?i:void 0}return this._map.get(e)}has(e){return this._map.has(e)}}function kyt(){return new Bpe}(Fpe=globalThis).__zod_globalRegistry??(Fpe.__zod_globalRegistry=kyt());var zL=globalThis.__zod_globalRegistry;function Ype(e,r){return new e({type:"string",...zr(r)})}function Upe(e,r){return new e({type:"string",coerce:!0,...zr(r)})}function qpe(e,r){return new e({type:"string",format:"email",check:"string_format",abort:!1,...zr(r)})}function Vpe(e,r){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...zr(r)})}function Hpe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...zr(r)})}function Wpe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...zr(r)})}function Gpe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...zr(r)})}function Kpe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...zr(r)})}function Xpe(e,r){return new e({type:"string",format:"url",check:"string_format",abort:!1,...zr(r)})}function Qpe(e,r){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...zr(r)})}function Jpe(e,r){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...zr(r)})}function $pe(e,r){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...zr(r)})}function eme(e,r){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...zr(r)})}function tme(e,r){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...zr(r)})}function rme(e,r){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...zr(r)})}function ome(e,r){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...zr(r)})}function ame(e,r){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...zr(r)})}function nme(e,r){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...zr(r)})}function ime(e,r){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...zr(r)})}function fme(e,r){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...zr(r)})}function sme(e,r){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...zr(r)})}function lme(e,r){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...zr(r)})}function cme(e,r){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...zr(r)})}function ume(e,r){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...zr(r)})}function dme(e,r){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...zr(r)})}function Zme(e,r){return new e({type:"string",format:"date",check:"string_format",...zr(r)})}function pme(e,r){return new e({type:"string",format:"time",check:"string_format",precision:null,...zr(r)})}function mme(e,r){return new e({type:"string",format:"duration",check:"string_format",...zr(r)})}function hme(e,r){return new e({type:"number",checks:[],...zr(r)})}function gme(e,r){return new e({type:"number",coerce:!0,checks:[],...zr(r)})}function Mme(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...zr(r)})}function vme(e,r){return new e({type:"boolean",...zr(r)})}function xme(e,r){return new e({type:"boolean",coerce:!0,...zr(r)})}function yme(e,r){return new e({type:"bigint",coerce:!0,...zr(r)})}function bme(e){return new e({type:"any"})}function _me(e){return new e({type:"unknown"})}function wme(e,r){return new e({type:"never",...zr(r)})}function zme(e,r){return new e({type:"date",...zr(r)})}function Sme(e,r){return new e({type:"date",coerce:!0,...zr(r)})}function pR(e,r){return new fV({check:"less_than",...zr(r),value:e,inclusive:!1})}function lM(e,r){return new fV({check:"less_than",...zr(r),value:e,inclusive:!0})}function mR(e,r){return new sV({check:"greater_than",...zr(r),value:e,inclusive:!1})}function cM(e,r){return new sV({check:"greater_than",...zr(r),value:e,inclusive:!0})}function V2(e,r){return new uZe({check:"multiple_of",...zr(r),value:e})}function p4(e,r){return new ZZe({check:"max_length",...zr(r),maximum:e})}function hR(e,r){return new pZe({check:"min_length",...zr(r),minimum:e})}function m4(e,r){return new mZe({check:"length_equals",...zr(r),length:e})}function vV(e,r){return new hZe({check:"string_format",format:"regex",...zr(r),pattern:e})}function xV(e){return new gZe({check:"string_format",format:"lowercase",...zr(e)})}function yV(e){return new MZe({check:"string_format",format:"uppercase",...zr(e)})}function bV(e,r){return new vZe({check:"string_format",format:"includes",...zr(r),includes:e})}function _V(e,r){return new xZe({check:"string_format",format:"starts_with",...zr(r),prefix:e})}function wV(e,r){return new yZe({check:"string_format",format:"ends_with",...zr(r),suffix:e})}function D8(e){return new bZe({check:"overwrite",tx:e})}function zV(e){return D8((r)=>r.normalize(e))}function SV(){return D8((e)=>e.trim())}function LV(){return D8((e)=>e.toLowerCase())}function kV(){return D8((e)=>e.toUpperCase())}function CV(){return D8((e)=>dde(e))}function Lme(e,r,a){return new e({type:"array",element:r,...zr(a)})}function kme(e,r,a){return new e({type:"custom",check:"custom",fn:r,...zr(a)})}function Cme(e,r){let a=Cyt((i)=>(i.addIssue=(f)=>{if(typeof f==="string")i.issues.push(wL(f,i.value,a._zod.def));else{let s=f;if(s.fatal)s.continue=!1;if(s.code??(s.code="custom"),!("input"in s))s.input=i.value;s.inst??(s.inst=a),s.continue??(s.continue=!a._zod.def.abort),i.issues.push(wL(s))}},e(i.value,i)),r);return a}function Cyt(e,r){let a=new tf({check:"custom",...zr(r)});return a._zod.check=e,a}function H2(e,...r){for(let a of r)for(let i of Reflect.ownKeys(a))if(Object.prototype.propertyIsEnumerable.call(a,i))Yi(e,i,a[i]);return e}function RV(e){let r=e?.target??"draft-2020-12";if(r==="draft-4")r="draft-04";if(r==="draft-7")r="draft-07";return{processors:e.processors??{},metadataRegistry:e?.metadata??zL,target:r,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??"ref",reused:e?.reused??"inline",intersections:[],deferred:[],external:e?.external??void 0}}function _u(e,r,a,i,f){let s=typeof r.unrepresentable==="function"?r.unrepresentable({zodSchema:e,path:i.path,message:f}):r.unrepresentable;if(s==="any")return!1;if(s===void 0||s==="throw")throw Error(f);return Object.assign(a,s),!0}function bn(e,r,a={path:[],schemaPath:[]}){var i;let f=e._zod.def,s=r.seen.get(e);if(s){if(s.count++,a.schemaPath.includes(e))s.cycle=a.path;return s.schema}let l={schema:{},count:1,cycle:void 0,path:a.path};r.seen.set(e,l),r.sharedDefsExtractedFor=void 0,r.sharedEmitDoneFor=void 0;let c=e._zod.toJSONSchema?.();if(c)l.schema=c;else{let M={...a,schemaPath:[...a.schemaPath,e],path:a.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(r,l.schema,M);else{let y=l.schema,x=r.processors[f.type];if(!x)throw Error(`[toJSONSchema]: Non-representable type encountered: ${f.type}`);x(e,r,y,M)}let v=e._zod.parent;if(v){if(!l.ref)l.ref=v;bn(v,r,M),r.seen.get(v).isParent=!0}}let m=r.metadataRegistry.get(e);if(m)H2(l.schema,m);if(r.io==="input"&&bs(e))delete l.schema.examples,delete l.schema.default;if(r.io==="input"&&"_prefault"in l.schema)(i=l.schema).default??(i.default=l.schema._prefault);return delete l.schema._prefault,r.seen.get(e).schema}function Ime(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function PV(e,r){let a=e.seen.get(r);if(!a)throw Error("Unprocessed schema. This is a bug in Zod.");if(e.external&&e.sharedDefsExtractedFor===e.external)return;let i=new Map;for(let l of e.seen.entries()){let c=e.metadataRegistry.get(l[0])?.id;if(c){let m=i.get(c);if(m&&m!==l[0])throw Error(`Duplicate schema id "${c}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(c,l[0])}}let f=(l)=>{let c=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let v=e.external.registry.get(l[0])?.id,y=e.external.uri??((_)=>_);if(v)return{ref:y(v)};let x=l[1].defId??l[1].schema.id??`schema${e.counter++}`;return l[1].defId=x,{defId:x,ref:`${y("__shared")}#/${c}/${Ime(x)}`}}let m="#",g=`${m}/${c}/`;if(l[1]===a&&!l[1].schema.id)return{ref:m};let M=l[1].schema.id??`__schema${e.counter++}`;return{defId:M,ref:g+Ime(M)}},s=(l)=>{if(l[1].schema.$ref)return;let c=l[1],{ref:m,defId:g}=f(l);if(c.def={...c.schema},g)c.defId=g;let M=c.schema;for(let v in M)delete M[v];M.$ref=m};if(e.cycles==="throw")for(let l of e.seen.entries()){let c=l[1];if(c.cycle)throw Error(`Cycle detected: #/${c.cycle?.join("/")}/<root>
194
-
195
- Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let l of e.seen.entries()){let c=l[1];if(r===l[0]){s(l);continue}if(e.external){let g=e.external.registry.get(l[0])?.id;if(r!==l[0]&&g){s(l);continue}}if(e.metadataRegistry.get(l[0])?.id){s(l);continue}if(c.cycle){s(l);continue}if(c.count>1){if(e.reused==="ref"){s(l);continue}}}if(e.external)e.sharedDefsExtractedFor=e.external}function Tme(e){let r=e.anyOf;if(!Array.isArray(r)||r.length===0||e.type!==void 0)return;let a=[];for(let i of r){if(!i||typeof i!=="object")return;Tme(i);let f=Object.keys(i);if(f.length!==1||f[0]!=="type")return;let s=i.type;for(let l of Array.isArray(s)?s:[s]){if(typeof l!=="string")return;if(!a.includes(l))a.push(l)}}delete e.anyOf,e.type=a.length===1?a[0]:a}var Ame=new Set(["type","properties","required","additionalProperties"]),Rme=["oneOf","anyOf"];function Pme(e){let r=e.additionalProperties;if(r===void 0||r===!1||typeof r!=="object"||r===null)return null;return Object.keys(r).length?r:null}function IV(e){let r=[];for(let s of e){if(typeof s!=="object"||s.type!=="object")return null;for(let l in s)if(!Ame.has(l))return null;r.push(s)}let a={},i=new Set;for(let s of r){for(let l in s.properties){if(Object.prototype.hasOwnProperty.call(a,l))continue;let c=[];for(let g of r){let M=g.properties?.[l]??Pme(g);if(M===null||M===void 0)continue;if(!c.some((v)=>JSON.stringify(v)===JSON.stringify(M)))c.push(M)}let m=c.length===1?c[0]:IV(c)??{allOf:c};Yi(a,l,m)}for(let l of s.required??[])i.add(l)}let f={type:"object",properties:a};if(i.size)f.required=[...i];if(r.every((s)=>s.additionalProperties===!1))f.additionalProperties=!1;else{let s=[];for(let l of r){let c=Pme(l);if(c&&!s.some((m)=>JSON.stringify(m)===JSON.stringify(c)))s.push(c)}if(s.length===1)f.additionalProperties=s[0];else if(s.length>1)f.additionalProperties={allOf:s}}return f}function Iyt(e){let r=e.allOf;if(!Array.isArray(r)||r.length<2)return;for(let f of Ame)if(f in e)return;let a=r.filter((f)=>Rme.some((s)=>Array.isArray(f[s]))),i=null;if(!a.length)i=IV(r);else{let f=a[0],s=Rme.find((m)=>Array.isArray(f[m]));if(Object.keys(f).length!==1)return;let l=r.filter((m)=>m!==f),c=f[s].map((m)=>IV([...l,m]));if(c.some((m)=>!m))return;i={[s]:c}}if(!i)return;delete e.allOf,H2(e,i)}function TV(e,r){let a=e.seen.get(r);if(!a)throw Error("Unprocessed schema. This is a bug in Zod.");let i=(c)=>{let m=e.seen.get(c);if(m.ref===null)return;let g=m.def??m.schema,M={...g},v=m.ref;if(m.ref=null,v){i(v);let x=e.seen.get(v),_=x.schema;if(_.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0"))g.allOf=g.allOf??[],g.allOf.push(_);else H2(g,_);if(H2(g,M),c._zod.parent===v)for(let U in g){if(U==="$ref"||U==="allOf")continue;if(!(U in M))delete g[U]}if(_.$ref&&x.def)for(let U in g){if(U==="$ref"||U==="allOf")continue;if(U in x.def&&JSON.stringify(g[U])===JSON.stringify(x.def[U]))delete g[U]}}let y=c._zod.parent;if(y&&y!==v){i(y);let x=e.seen.get(y);if(x?.schema.$ref){if(g.$ref=x.schema.$ref,x.def)for(let _ in g){if(_==="$ref"||_==="allOf")continue;if(_ in x.def&&JSON.stringify(g[_])===JSON.stringify(x.def[_]))delete g[_]}}}e.override({zodSchema:c,jsonSchema:g,path:m.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let c of[...e.seen.entries()].reverse())i(c[0]);if(e.target!=="openapi-3.0")for(let c of e.seen.entries())Tme(c[1].def??c[1].schema);for(let c of e.deferred)c();if(e.intersections.length){let c=new Map;for(let m of e.seen.values())for(let g of[m.schema,m.def]){let M=g?.allOf;if(!Array.isArray(M))continue;let v=c.get(M);if(v)v.push(g);else c.set(M,[g])}for(let m of e.intersections)for(let g of c.get(m)??[])Iyt(g)}}let f={};if(e.target==="draft-2020-12")f.$schema="https://json-schema.org/draft/2020-12/schema";else if(e.target==="draft-07")f.$schema="http://json-schema.org/draft-07/schema#";else if(e.target==="draft-04")f.$schema="http://json-schema.org/draft-04/schema#";else if(e.target==="openapi-3.0");if(e.external?.uri){let c=e.external.registry.get(r)?.id;if(!c)throw Error("Schema is missing an `id` property");f.$id=e.external.uri(c)}H2(f,a.defId?a.schema:a.def??a.schema);let s=e.metadataRegistry.get(r)?.id;if(s!==void 0&&f.id===s)delete f.id;let l=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let c of e.seen.entries()){let m=c[1];if(m.def&&m.defId){if(m.def.id===m.defId)delete m.def.id;Yi(l,m.defId,m.def)}}if(e.external)e.sharedEmitDoneFor=e.external;if(e.external);else if(Object.keys(l).length>0)if(e.target==="draft-2020-12")f.$defs=l;else f.definitions=l;try{let c=JSON.parse(JSON.stringify(f));return Object.defineProperty(c,"~standard",{value:{...r["~standard"],jsonSchema:{input:W2(r,"input",e.processors),output:W2(r,"output",e.processors)}},enumerable:!1,writable:!1}),c}catch(c){throw Error("Error converting schema to JSON.")}}function bs(e,r){let a=r??{seen:new Set};if(a.seen.has(e))return!1;a.seen.add(e);let i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return bs(i.element,a);if(i.type==="set")return bs(i.valueType,a);if(i.type==="lazy")return bs(i.getter(),a);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault"||i.type==="catch")return bs(i.innerType,a);if(i.type==="intersection")return bs(i.left,a)||bs(i.right,a);if(i.type==="record"||i.type==="map")return bs(i.keyType,a)||bs(i.valueType,a);if(i.type==="pipe"){if(e._zod.traits.has("$ZodCodec"))return!0;return bs(i.in,a)||bs(i.out,a)}if(i.type==="object"){for(let f in i.shape)if(bs(i.shape[f],a))return!0;return!1}if(i.type==="union"){for(let f of i.options)if(bs(f,a))return!0;return!1}if(i.type==="tuple"){for(let f of i.items)if(bs(f,a))return!0;if(i.rest&&bs(i.rest,a))return!0;return!1}return!1}var Eme=(e,r={})=>(a)=>{let i=RV({...a,processors:r});return bn(e,i),PV(i,e),TV(i,e)},W2=(e,r,a={})=>(i)=>{let{libraryOptions:f,target:s}=i??{},l=RV({...f??{},target:s,io:r,processors:a});return bn(e,l),PV(l,e),TV(l,e)};var Ryt={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Dme=(e,r,a,i)=>{let f=a;f.type="string";let{minimum:s,maximum:l,format:c,patterns:m,contentEncoding:g,laxFormat:M}=e._zod.bag;if(typeof s==="number")f.minLength=s;if(typeof l==="number")f.maxLength=l;if(c){if(f.format=Ryt[c]??c,f.format==="")delete f.format;if(c==="time"||M)delete f.format}if(g)f.contentEncoding=g;if(m&&m.size>0){let v=[...m];if(v.length===1)f.pattern=v[0].source;else if(v.length>1)f.allOf=[...v.map((y)=>({...r.target==="draft-07"||r.target==="draft-04"||r.target==="openapi-3.0"?{type:"string"}:{},pattern:y.source}))]}},Ome=(e,r,a,i)=>{let f=a,{minimum:s,maximum:l,format:c,multipleOf:m,exclusiveMaximum:g,exclusiveMinimum:M}=e._zod.bag;if(typeof c==="string"&&c.includes("int"))f.type="integer";else f.type="number";let v=typeof M==="number"&&M>=(s??Number.NEGATIVE_INFINITY),y=typeof g==="number"&&g<=(l??Number.POSITIVE_INFINITY),x=r.target==="draft-04"||r.target==="openapi-3.0";if(v)if(x)f.minimum=M,f.exclusiveMinimum=!0;else f.exclusiveMinimum=M;else if(typeof s==="number")f.minimum=s;if(y)if(x)f.maximum=g,f.exclusiveMaximum=!0;else f.exclusiveMaximum=g;else if(typeof l==="number")f.maximum=l;if(typeof m==="number")if(Number.isFinite(m)&&m!==0)f.multipleOf=Math.abs(m);else _u(e,r,f,i,`A multipleOf divisor of ${m} cannot be represented in JSON Schema`)},jme=(e,r,a,i)=>{a.type="boolean"},Nme=(e,r,a,i)=>{_u(e,r,a,i,"BigInt cannot be represented in JSON Schema")};var Fme=(e,r,a,i)=>{a.not={}},Bme=(e,r,a,i)=>{},Yme=(e,r,a,i)=>{},Ume=(e,r,a,i)=>{_u(e,r,a,i,"Date cannot be represented in JSON Schema")},qme=(e,r,a,i)=>{let f=e._zod.def,s=$5(f.entries);if(s.length===0){a.not={};return}if(s.every((l)=>typeof l==="number"))a.type="number";if(s.every((l)=>typeof l==="string"))a.type="string";a.enum=s},Vme=(e,r,a,i)=>{let f=e._zod.def;if(f.values.length===0){a.not={};return}let s=[];for(let l of f.values)if(l===void 0){if(_u(e,r,a,i,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof l==="bigint"){if(_u(e,r,a,i,"BigInt literals cannot be represented in JSON Schema"))return;s.push(Number(l))}else s.push(l);if(s.length===0);else if(s.length===1){let l=s[0];if(a.type=l===null?"null":typeof l,r.target==="draft-04"||r.target==="openapi-3.0")a.enum=[l];else a.const=l}else{if(s.every((l)=>typeof l==="number"))a.type="number";if(s.every((l)=>typeof l==="string"))a.type="string";if(s.every((l)=>typeof l==="boolean"))a.type="boolean";if(s.every((l)=>l===null))a.type="null";a.enum=s}};var Hme=(e,r,a,i)=>{_u(e,r,a,i,"Custom types cannot be represented in JSON Schema")};var Wme=(e,r,a,i)=>{_u(e,r,a,i,"Transforms cannot be represented in JSON Schema")};var Gme=(e,r,a,i)=>{let f=a,s=e._zod.def,{minimum:l,maximum:c}=e._zod.bag;if(typeof l==="number")f.minItems=l;if(typeof c==="number")f.maxItems=c;f.type="array",f.items=bn(s.element,r,{...i,path:[...i.path,"items"]})};function h4(e){let r=e._zod.def;if(r.type==="pipe"&&r.in._zod.traits.has("$ZodTransform"))return h4(r.out);if(r.type==="catch")return h4(r.innerType);return e._zod.optin}var Kme=(e,r,a,i)=>{let f=a,s=e._zod.def,l=s.shape;if(Object.getOwnPropertySymbols(l).length&&_u(e,r,f,i,"Symbol keys cannot be represented in JSON Schema"))return;f.type="object",f.properties={};for(let M in l)Yi(f.properties,M,bn(l[M],r,{...i,path:[...i.path,"properties",M]}));let m=new Set(Object.keys(l)),g=new Set([...m].filter((M)=>{let v=s.shape[M];if(r.io==="input")return h4(v)===void 0;else return v._zod.optout===void 0}));if(g.size>0)f.required=Array.from(g);if(s.catchall?._zod.def.type==="never")f.additionalProperties=!1;else if(!s.catchall){if(r.io==="output")f.additionalProperties=!1}else if(s.catchall)f.additionalProperties=bn(s.catchall,r,{...i,path:[...i.path,"additionalProperties"]})},Xme=(e,r,a,i)=>{let f=e._zod.def,s=f.inclusive===!1,l=f.options.map((c,m)=>bn(c,r,{...i,path:[...i.path,s?"oneOf":"anyOf",m]}));if(s)a.oneOf=l;else a.anyOf=l},Qme=(e,r,a,i)=>{let f=e._zod.def,s=bn(f.left,r,{...i,path:[...i.path,"allOf",0]}),l=bn(f.right,r,{...i,path:[...i.path,"allOf",1]}),c=(g)=>("allOf"in g)&&Object.keys(g).length===1,m=[...c(s)?s.allOf:[s],...c(l)?l.allOf:[l]];a.allOf=m,r.intersections.push(m)};function AV(e,r,a){if(r.$ref){if(a.has(r))return r;a.add(r);let _=e.get(r)?.def;if(!_)return r;let j=AV(e,_,a);return j===_?r:j}for(let _ of["anyOf","oneOf"]){let j=r[_];if(!Array.isArray(j))continue;let U=j.map((T)=>AV(e,T,a));if(U.some((T,N)=>T!==j[N]))r={...r,[_]:U}}let i=Array.isArray(r.type)?r.type:[r.type],f=!i.includes("string")&&i.some((_)=>_==="number"||_==="integer"),s=r.enum??(r.const!==void 0?[r.const]:void 0);if(!f&&!s?.some((_)=>typeof _==="number"))return r;let{minimum:l,maximum:c,exclusiveMinimum:m,exclusiveMaximum:g,multipleOf:M,format:v,id:y,...x}=r;if(x.enum)x.enum=x.enum.map((_)=>typeof _==="number"?String(_):_);else if(typeof x.const==="number")x.const=String(x.const);if(!f)return x;if(x.type="string",!s)x.pattern=(i.includes("number")?Y2:f4).source;return x}var EV=new WeakMap;function Pyt(e){let r=new Map;for(let i of e.seen.values())if(i.def&&!r.has(i.schema))r.set(i.schema,i);let a=new Map;for(let i of EV.get(e)??[]){let f=e.seen.get(i),s=(f?.def??f?.schema)?.propertyNames;if(!s||s===!0||a.has(s))continue;let l=AV(r,s,new Set);if(l!==s)a.set(s,l)}if(!a.size)return;for(let i of e.seen.values())for(let f of[i.schema,i.def]){let s=f&&a.get(f.propertyNames);if(s)f.propertyNames=s}}var Jme=(e,r,a,i)=>{let f=a,s=e._zod.def;f.type="object";let l=s.keyType,m=l._zod.bag?.patterns;if(s.mode==="loose"&&m&&m.size>0){let v=bn(s.valueType,r,{...i,path:[...i.path,"patternProperties","*"]});f.patternProperties={};for(let y of m)Yi(f.patternProperties,y.source,v)}else{if(r.target==="draft-07"||r.target==="draft-2020-12"){f.propertyNames=bn(s.keyType,r,{...i,path:[...i.path,"propertyNames"]});let v=EV.get(r);if(!v)v=[],EV.set(r,v),r.deferred.push(()=>Pyt(r));v.push(e)}f.additionalProperties=bn(s.valueType,r,{...i,path:[...i.path,"additionalProperties"]})}let g=l._zod.values,M=r.io==="input"&&h4(s.valueType)!==void 0;if(g&&!s.partial&&!M){let v=[...g].filter((y)=>typeof y==="string"||typeof y==="number");if(v.length>0)f.required=v.map(String)}},$me=(e,r,a,i)=>{let f=e._zod.def,s=bn(f.innerType,r,i),l=r.seen.get(e);if(r.target==="openapi-3.0")l.ref=f.innerType,a.nullable=!0;else a.anyOf=[s,{type:"null"}]},ehe=(e,r,a,i)=>{let f=e._zod.def;bn(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType},DV=Symbol();function the(e,r,a,i,f){let s=!1,l=JSON.stringify(e,(c,m)=>{if(typeof m!=="bigint")return m;return s=!0,null});if(!s)return JSON.parse(l);return _u(r,a,i,f,"BigInt defaults cannot be represented in JSON Schema"),DV}var rhe=(e,r,a,i)=>{let f=e._zod.def;bn(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType;let l=the(f.defaultValue,e,r,a,i);if(l!==DV)a.default=l},ohe=(e,r,a,i)=>{let f=e._zod.def;bn(f.innerType,r,i);let s=r.seen.get(e);if(s.ref=f.innerType,r.io!=="input")return;let l=the(f.defaultValue,e,r,a,i);if(l!==DV)a._prefault=l},ahe=(e,r,a,i)=>{let f=e._zod.def;bn(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType;let l;try{l=f.catchValue(void 0)}catch{_u(e,r,a,i,"Dynamic catch values are not supported in JSON Schema");return}a.default=l},nhe=(e,r,a,i)=>{let f=e._zod.def,s=f.in._zod.traits.has("$ZodTransform"),l=r.io==="input"?s?f.out:f.in:f.out;bn(l,r,i);let c=r.seen.get(e);c.ref=l},ihe=(e,r,a,i)=>{let f=e._zod.def;bn(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType,a.readOnly=!0};var OV=(e,r,a,i)=>{let f=e._zod.def;bn(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType},fhe=(e,r,a,i)=>{let f=e._zod.innerType;bn(f,r,i);let s=r.seen.get(e);s.ref=f};var she=new WeakSet([Object.prototype,Error.prototype]);function g4(e,r,a){Object.defineProperty(e,r,{configurable:!0,enumerable:!1,get(){let i=a(this);return Object.defineProperty(this,r,{value:i,configurable:!0,writable:!0}),i},set(i){Object.defineProperty(this,r,{value:i,configurable:!0,writable:!0})}})}var Fyt=(e,r)=>{o4.init(e,r),e.name="ZodError";let a=Object.getPrototypeOf(e);if(she.has(a))return;she.add(a),g4(a,"format",(i)=>(f)=>Lde(i,f)),g4(a,"flatten",(i)=>(f)=>Sde(i,f)),g4(a,"addIssue",(i)=>(f)=>{i.issues.push(f),i.message=JSON.stringify(i.issues,O2,2)}),g4(a,"addIssues",(i)=>(f)=>{i.issues.push(...f),i.message=JSON.stringify(i.issues,O2,2)}),Object.defineProperty(a,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}})};var Jl=Lt("ZodError",Fyt,void 0,{Parent:Error});var lhe=n4(Jl),che=i4(Jl),uhe=F2(Jl),dhe=B2(Jl),Zhe=Ide(Jl),phe=Rde(Jl),mhe=Pde(Jl),hhe=Tde(Jl),ghe=Ade(Jl),Mhe=Ede(Jl),vhe=Dde(Jl),xhe=Ode(Jl);function Yyt(){if(!rl.localeError)Ql(MV())}function x4(){if(!rl.memoizer)Ql({memoizer:Npe()})}var Ca=Lt("ZodType",(e,r)=>(Yyt(),ba.init(e,r),e.def=r,e.type=r.type,e),{check(...e){let r=this.def;return this.clone(T8(r,{checks:[...r.checks??[],...e.map((a)=>typeof a==="function"?{_zod:{check:a,def:{check:"custom"},onattach:[]}}:a)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,r){return vZ(this,e,r)},brand(){return this},register(e,r){return e.add(this,r),this},refine(e,r){return this.check(Dbt(e,r))},superRefine(e,r){return this.check(Obt(e,r))},overwrite(e){return this.check(D8(e))},optional(){return _he(this)},exactOptional(){return _bt(this)},nullable(){return whe(this)},nullish(){return _he(whe(this))},nonoptional(e){return Cbt(this,e)},array(){return te(this)},or(e){return Ea([this,e])},and(e){return Ihe(this,e)},transform(e){return zhe(this,bbt(e))},default(e){return Sbt(this,e)},prefault(e){return kbt(this,e)},catch(e){return Rbt(this,e)},pipe(e){return zhe(this,e)},readonly(){return Abt(this)},describe(e){let r=this.clone();return zL.add(r,{description:e}),r},meta(...e){if(e.length===0)return zL.get(this);let r=this.clone();return zL.add(r,e[0]),r},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...r){return r.length===0?e(this):e(this,...r)},get "~standard"(){return Q9(this,"~standard",{...dV(this),jsonSchema:{input:W2(this,"input"),output:W2(this,"output")}})},set "~standard"(e){yL(this,"~standard",e)},parse:function e(r,a){return lhe(this,r,a,{callee:e})},parseAsync:async function e(r,a){return await che(this,r,a,{callee:e})},safeParse(e,r){return uhe(this,e,r)},async safeParseAsync(e,r){return dhe(this,e,r)},get spa(){return this?.safeParseAsync},set spa(e){yL(this,"spa",e)},encode:function e(r,a){return Zhe(this,r,a,{callee:e})},decode:function e(r,a){return phe(this,r,a,{callee:e})},encodeAsync:async function e(r,a){return await mhe(this,r,a,{callee:e})},decodeAsync:async function e(r,a){return await hhe(this,r,a,{callee:e})},safeEncode(e,r){return ghe(this,e,r)},safeDecode(e,r){return Mhe(this,e,r)},async safeEncodeAsync(e,r){return vhe(this,e,r)},async safeDecodeAsync(e,r){return xhe(this,e,r)},toJSONSchema(e){return Eme(this,{})(e)},get description(){return zL.get(this)?.description},get _def(){return this._zod.def}}),She=Lt("_ZodString",(e,r)=>{u4.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(i,f,s)=>Dme(e,i,f,s);let a=e._zod.bag;e.format=a.format??null,e.minLength=a.minimum??null,e.maxLength=a.maximum??null},{regex(...e){return this.check(vV(...e))},includes(...e){return this.check(bV(...e))},startsWith(...e){return this.check(_V(...e))},endsWith(...e){return this.check(wV(...e))},min(...e){return this.check(hR(...e))},max(...e){return this.check(p4(...e))},length(...e){return this.check(m4(...e))},nonempty(...e){return this.check(hR(1,...e))},lowercase(e){return this.check(xV(e))},uppercase(e){return this.check(yV(e))},trim(){return this.check(SV())},normalize(...e){return this.check(zV(...e))},toLowerCase(){return this.check(LV())},toUpperCase(){return this.check(kV())},slugify(){return this.check(CV())}}),jV=Lt("ZodString",(e,r)=>{u4.init(e,r),She.init(e,r)},{email(e){return this.check(qpe(Wyt,e))},url(e){return this.check(Xpe(Kyt,e))},jwt(e){return this.check(ume(cbt,e))},emoji(e){return this.check(Qpe(Xyt,e))},guid(e){return this.check(Vpe(Gyt,e))},uuid(e){return this.check(Hpe(M4,e))},uuidv4(e){return this.check(Wpe(M4,e))},uuidv6(e){return this.check(Gpe(M4,e))},uuidv7(e){return this.check(Kpe(M4,e))},nanoid(e){return this.check(Jpe(Qyt,e))},cuid(e){return this.check($pe(Jyt,e))},cuid2(e){return this.check(eme($yt,e))},ulid(e){return this.check(tme(ebt,e))},base64(e){return this.check(sme(fbt,e))},base64url(e){return this.check(lme(sbt,e))},xid(e){return this.check(rme(tbt,e))},ksuid(e){return this.check(ome(rbt,e))},ipv4(e){return this.check(ame(obt,e))},ipv6(e){return this.check(nme(abt,e))},cidrv4(e){return this.check(ime(nbt,e))},cidrv6(e){return this.check(fme(ibt,e))},e164(e){return this.check(cme(lbt,e))},datetime(e){return this.check(dme(Uyt,e))},date(e){return this.check(Zme(qyt,e))},time(e){return this.check(pme(Vyt,e))},duration(e){return this.check(mme(Hyt,e))}});function p(e){return Ype(jV,e)}var ln=Lt("ZodStringFormat",(e,r)=>{Ha.init(e,r),She.init(e,r)}),Uyt=Lt("ZodISODateTime",(e,r)=>{GZe.init(e,r),ln.init(e,r)}),qyt=Lt("ZodISODate",(e,r)=>{KZe.init(e,r),ln.init(e,r)}),Vyt=Lt("ZodISOTime",(e,r)=>{XZe.init(e,r),ln.init(e,r)}),Hyt=Lt("ZodISODuration",(e,r)=>{QZe.init(e,r),ln.init(e,r)}),Wyt=Lt("ZodEmail",(e,r)=>{OZe.init(e,r),ln.init(e,r)});var Gyt=Lt("ZodGUID",(e,r)=>{EZe.init(e,r),ln.init(e,r)});var M4=Lt("ZodUUID",(e,r)=>{DZe.init(e,r),ln.init(e,r)});var Kyt=Lt("ZodURL",(e,r)=>{FZe.init(e,r),ln.init(e,r)});var Xyt=Lt("ZodEmoji",(e,r)=>{BZe.init(e,r),ln.init(e,r)});var Qyt=Lt("ZodNanoID",(e,r)=>{YZe.init(e,r),ln.init(e,r)});var Jyt=Lt("ZodCUID",(e,r)=>{UZe.init(e,r),ln.init(e,r)});var $yt=Lt("ZodCUID2",(e,r)=>{qZe.init(e,r),ln.init(e,r)});var ebt=Lt("ZodULID",(e,r)=>{VZe.init(e,r),ln.init(e,r)});var tbt=Lt("ZodXID",(e,r)=>{HZe.init(e,r),ln.init(e,r)});var rbt=Lt("ZodKSUID",(e,r)=>{WZe.init(e,r),ln.init(e,r)});var obt=Lt("ZodIPv4",(e,r)=>{JZe.init(e,r),ln.init(e,r)});var abt=Lt("ZodIPv6",(e,r)=>{epe.init(e,r),ln.init(e,r)});var nbt=Lt("ZodCIDRv4",(e,r)=>{tpe.init(e,r),ln.init(e,r)});var ibt=Lt("ZodCIDRv6",(e,r)=>{rpe.init(e,r),ln.init(e,r)});var fbt=Lt("ZodBase64",(e,r)=>{ape.init(e,r),ln.init(e,r)});var sbt=Lt("ZodBase64URL",(e,r)=>{npe.init(e,r),ln.init(e,r)});var lbt=Lt("ZodE164",(e,r)=>{ipe.init(e,r),ln.init(e,r)});var cbt=Lt("ZodJWT",(e,r)=>{fpe.init(e,r),ln.init(e,r)});var y4=Lt("ZodNumber",(e,r)=>{ZV.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(i,f,s)=>Ome(e,i,f,s);let a=e._zod.bag;e.minValue=Math.max(a.minimum??Number.NEGATIVE_INFINITY,a.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(a.maximum??Number.POSITIVE_INFINITY,a.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(a.format??"").includes("int")||Number.isSafeInteger(a.multipleOf??0.5),e.isFinite=!0,e.format=a.format??null},{gt(e,r){return this.check(mR(e,r))},gte(e,r){return this.check(cM(e,r))},min(e,r){return this.check(cM(e,r))},lt(e,r){return this.check(pR(e,r))},lte(e,r){return this.check(lM(e,r))},max(e,r){return this.check(lM(e,r))},int(e){return this.check(yhe(e))},safe(e){return this.check(yhe(e))},positive(e){return this.check(mR(0,e))},nonnegative(e){return this.check(cM(0,e))},negative(e){return this.check(pR(0,e))},nonpositive(e){return this.check(lM(0,e))},multipleOf(e,r){return this.check(V2(e,r))},step(e,r){return this.check(V2(e,r))},finite(){return this}});function tr(e){return hme(y4,e)}var ubt=Lt("ZodNumberFormat",(e,r)=>{spe.init(e,r),y4.init(e,r)});function yhe(e){return Mme(ubt,e)}var NV=Lt("ZodBoolean",(e,r)=>{lpe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>jme(e,a,i,f)});function Tr(e){return vme(NV,e)}var Lhe=Lt("ZodBigInt",(e,r)=>{cpe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(i,f,s)=>Nme(e,i,f,s);let a=e._zod.bag;e.minValue=a.minimum??null,e.maxValue=a.maximum??null,e.format=a.format??null},{gte(e,r){return this.check(cM(e,r))},min(e,r){return this.check(cM(e,r))},gt(e,r){return this.check(mR(e,r))},lt(e,r){return this.check(pR(e,r))},lte(e,r){return this.check(lM(e,r))},max(e,r){return this.check(lM(e,r))},positive(e){return this.check(mR(BigInt(0),e))},negative(e){return this.check(pR(BigInt(0),e))},nonpositive(e){return this.check(lM(BigInt(0),e))},nonnegative(e){return this.check(cM(BigInt(0),e))},multipleOf(e,r){return this.check(V2(e,r))}});var dbt=Lt("ZodAny",(e,r)=>{upe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Bme(e,a,i,f)});function _s(){return bme(dbt)}var Zbt=Lt("ZodUnknown",(e,r)=>{dpe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Yme(e,a,i,f)});function bZ(){return _me(Zbt)}var pbt=Lt("ZodNever",(e,r)=>{Zpe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Fme(e,a,i,f)});function mbt(e){return wme(pbt,e)}var FV=Lt("ZodDate",(e,r)=>{ppe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(i,f,s)=>Ume(e,i,f,s),e.min=(i,f)=>e.check(cM(i,f)),e.max=(i,f)=>e.check(lM(i,f));let a=e._zod.bag;e.minDate=a.minimum?new Date(a.minimum):null,e.maxDate=a.maximum?new Date(a.maximum):null});function Fn(e){return zme(FV,e)}var hbt=Lt("ZodArray",(e,r)=>{x4(),mpe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Gme(e,a,i,f),e.element=r.element},{min(e,r){return this.check(hR(e,r))},nonempty(e){return this.check(hR(1,e))},max(e,r){return this.check(p4(e,r))},length(e,r){return this.check(m4(e,r))},unwrap(){return this.element}});function te(e,r){return Lme(hbt,e,r)}var gbt=Lt("ZodObject",(e,r)=>{x4(),Mpe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Kme(e,a,i,f),oyt(e,"shape",(a)=>a._zod.def.shape,!1)},{keyof(){return Ve(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:bZ()})},loose(){return this.clone({...this._zod.def,catchall:bZ()})},strict(){return this.clone({...this._zod.def,catchall:mbt()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return Kxt(this,e)},safeExtend(e){return Xxt(this,e)},merge(e){return Qxt(this,e)},pick(e){return Wxt(this,e)},omit(e){return Gxt(this,e)},partial(...e){return gde(Rhe,this,e[0])},exactPartial(...e){return gde(Phe,this,e[0],"exactPartial")},required(...e){return Jxt(The,this,e[0])}});function R(e,r){let a={type:"object",shape:e??{},...zr(r)};return new gbt(a)}var khe=Lt("ZodUnion",(e,r)=>{pV.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Xme(e,a,i,f),e.options=r.options});function Ea(e,r){return new khe({type:"union",options:e,...zr(r)})}var Mbt=Lt("ZodDiscriminatedUnion",(e,r)=>{khe.init(e,r),vpe.init(e,r)});function Che(e,r,a){return new Mbt({type:"union",options:r,discriminator:e,...zr(a)})}var vbt=Lt("ZodIntersection",(e,r)=>{xpe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Qme(e,a,i,f)});function Ihe(e,r){return new vbt({type:"intersection",left:e,right:r})}var bhe=Lt("ZodRecord",(e,r)=>{x4(),ype.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Jme(e,a,i,f),e.keyType=r.keyType,e.valueType=r.valueType});function SL(e,r,a){if(!r||!r._zod)return new bhe({type:"record",keyType:p(),valueType:e,...zr(r)});return new bhe({type:"record",keyType:e,valueType:r,...zr(a)})}var v4=Lt("ZodEnum",(e,r)=>{bpe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(i,f,s)=>qme(e,i,f,s),e.enum=r.entries,e.options=Object.values(r.entries);let a=new Set(Object.keys(r.entries));e.extract=(i,f)=>{let s={};for(let l of i)if(a.has(l))s[l]=r.entries[l];else throw Error(`Key ${l} not found in enum`);return new v4({...r,checks:[],...zr(f),entries:s})},e.exclude=(i,f)=>{let s={...r.entries};for(let l of i)if(a.has(l))delete s[l];else throw Error(`Key ${l} not found in enum`);return new v4({...r,checks:[],...zr(f),entries:s})}});function Ve(e,r){let a=Array.isArray(e)?Object.fromEntries(e.map((i)=>[i,i])):e;return new v4({type:"enum",entries:a,...zr(r)})}function wa(e,r){return new v4({type:"enum",entries:e,...zr(r)})}var xbt=Lt("ZodLiteral",(e,r)=>{_pe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Vme(e,a,i,f),e.values=new Set(r.values),Object.defineProperty(e,"value",{get(){if(r.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return r.values[0]}})});function _Z(e,r){return new xbt({type:"literal",values:Array.isArray(e)?e:[e],...zr(r)})}var ybt=Lt("ZodTransform",(e,r)=>{x4(),wpe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Wme(e,a,i,f),e._zod.parse=(a,i)=>{if(i.direction==="backward")throw new N2(e.constructor.name);a.addIssue=(s)=>{if(typeof s==="string")a.issues.push(wL(s,a.value,r));else{let l=s;if(l.fatal)l.continue=!1;if(l.code??(l.code="custom"),!("input"in l))l.input=a.value;l.inst??(l.inst=e),a.issues.push(wL(l))}};let f=r.transform(a.value,a);if(f instanceof Promise)return f.then((s)=>(a.value=s,a));return a.value=f,a}});function bbt(e){return new ybt({type:"transform",transform:e})}var Rhe=Lt("ZodOptional",(e,r)=>{mV.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>OV(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function _he(e){return new Rhe({type:"optional",innerType:e})}var Phe=Lt("ZodExactOptional",(e,r)=>{zpe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>OV(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function _bt(e){return new Phe({type:"optional",innerType:e})}var wbt=Lt("ZodNullable",(e,r)=>{Spe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>$me(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function whe(e){return new wbt({type:"nullable",innerType:e})}var zbt=Lt("ZodDefault",(e,r)=>{Lpe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>rhe(e,a,i,f),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Sbt(e,r){return new zbt({type:"default",innerType:e,get defaultValue(){return typeof r==="function"?r():G9(r)}})}var Lbt=Lt("ZodPrefault",(e,r)=>{kpe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>ohe(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function kbt(e,r){return new Lbt({type:"prefault",innerType:e,get defaultValue(){return typeof r==="function"?r():G9(r)}})}var The=Lt("ZodNonOptional",(e,r)=>{Cpe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>ehe(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function Cbt(e,r){return new The({type:"nonoptional",innerType:e,...zr(r)})}var Ibt=Lt("ZodCatch",(e,r)=>{Ipe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>ahe(e,a,i,f),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Rbt(e,r){return new Ibt({type:"catch",innerType:e,catchValue:typeof r==="function"?r:yde(r)})}var Pbt=Lt("ZodPipe",(e,r)=>{Rpe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>nhe(e,a,i,f),e.in=r.in,e.out=r.out});function zhe(e,r){return new Pbt({type:"pipe",in:e,out:r})}var Tbt=Lt("ZodReadonly",(e,r)=>{Ppe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>ihe(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function Abt(e){return new Tbt({type:"readonly",innerType:e})}var Ebt=Lt("ZodLazy",(e,r)=>{Tpe.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>fhe(e,a,i,f),e.unwrap=()=>e._zod.def.getter()});function BV(e){return new Ebt({type:"lazy",getter:e})}var Ahe=Lt("ZodCustom",(e,r)=>{Ape.init(e,r),Ca.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Hme(e,a,i,f)});function Dbt(e,r={}){return kme(Ahe,e,r)}function Obt(e,r){return Cme(e,r)}function Ehe(e,r={}){let a=new Ahe({type:"custom",check:"custom",fn:(i)=>i instanceof e,abort:!0,...zr(r)});return a._zod.bag.Class=e,a._zod.check=(i)=>{if(!(i.value instanceof e))i.issues.push({code:"invalid_type",expected:e.name,input:i.value,inst:a,path:[...a._zod.def.path??[]]})},a}var no={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};var Dhe;(function(e){})(Dhe||(Dhe={}));var K2={};Oe(K2,{bigint:()=>Ybt,boolean:()=>Bbt,date:()=>Ubt,number:()=>Fbt,string:()=>Nbt});function Nbt(e){return Upe(jV,e)}function Fbt(e){return gme(y4,e)}function Bbt(e){return xme(NV,e)}function Ybt(e){return yme(Lhe,e)}function Ubt(e){return Sme(FV,e)}var b4={human:"human",agent:"agent"};var YV={editor:"editor",reviewer:"reviewer"};var Ohe={team:"team",project:"project"};var jhe={all_members:"all_members",each_member:"each_member",selected_members:"selected_members"};var Nhe={agent_total_tokens:"agent_total_tokens",agent_cost:"agent_cost",agent_mcp_call_count:"agent_mcp_call_count",agent_bash_call_count:"agent_bash_call_count",agent_tool_call_count:"agent_tool_call_count"},Qe={TODO:"TODO",READY:"READY",IN_PROGRESS:"IN_PROGRESS",BLOCKED:"BLOCKED",IN_REVIEW:"IN_REVIEW",DONE:"DONE"},Br={LOW:"LOW",MEDIUM:"MEDIUM",HIGH:"HIGH",URGENT:"URGENT"},rf={CREATED:"CREATED",STATUS_CHANGED:"STATUS_CHANGED",ASSIGNED:"ASSIGNED",UNASSIGNED:"UNASSIGNED",COMMENTED:"COMMENTED",CHANGES_REQUESTED:"CHANGES_REQUESTED",BLOCKED:"BLOCKED",UNBLOCKED:"UNBLOCKED",PRIORITY_CHANGED:"PRIORITY_CHANGED",GOAL_CHANGED:"GOAL_CHANGED",DEPENDENCY_ADDED:"DEPENDENCY_ADDED",DEPENDENCY_REMOVED:"DEPENDENCY_REMOVED"},Fhe={chat:"chat",autofill:"autofill",embedding:"embedding"};var qbt=["avatar-1","avatar-2","avatar-3","avatar-4","avatar-5","avatar-6","avatar-7","avatar-8"];var Vbt={"avatar-1":"UklGRtInAABXRUJQVlA4IMYnAACwmACdASosASwBPm0ylUekIyIhp1L7UIANiWVu3P6nGjxxkZZTIvmXwJRUeg/Jf+ndPZ0L4H6mVI3YJ/D/tH5j9vT9C/6f3AP1d/Xz+79l/zDfsj6yP+59R39j/y/sAf3r/VdZ36EXly+0Z+6/peaqTMC4q/u/7z45+fr5VuB3l+xvUg7u/5f+G9tH9D3q/Lv/a9Qj25/vvGH2lFyP2J9gX3F+8f9H1AfzfM/+G/0nsBfrb/0PZDvp/yf/H9gP+nf4j9lPeL/2PKX+yf8H2F/6D1Of3o9pv9uzXj2UCILxSqTJtnLrjF0IFB27Vo5QPaRJKEf73CFDiYb46kQh9ZimTAfOlbMytbJDx1VHoVO115vAHuMthHxJoOL/D/OOWk7DrZTEtbvTiXzvmXoZSFox8u7pVGZ4TmovMKAMAZtbdgS8p6MNEYUl2x4pPMe0bPqCNISczDauiMeOe/Bgos4oXilTgIe/4FB/KBRUIV0FiVRnmPndzO7QLVRnyoYI+oKPA/heN/n2wfElNcnOExdS6iaO/IIjkYWljnuIe8akKIWAkomDcGMr2fPIiNFXCNFxgRCTPFdGc+T/b2dMMLNdN3KjGjeGMzQe4U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YkU7TmhdRROUnWKrmW7Aun4RGGx2g5aAJLFTK2d7y3E320mXPdgSpc7dD7yRJe+ux5Pz1d/DkwhHeA487pzdWCeMLTc5oZxVRSmY0orTzQgjc3Vb1qUNhw1sf+pzbcaq1cUKzDT0S0UJuN1KK2ZWrt3jSW9GtYzf/4p/Wte+gT0BeWuuGk8CWJhTwcjrkF8bzYCm3Sht9Av1I8sC7HI1yRwa1wBybvlrPjWRR6Jfkyb0YxACVUzGy678cj/fDKSBH/7hlbS4hB6It3rJbQTz8zCfQ2WdhV7n27w4n5o3cyZK2PDXtRnQqBXpHxIxrxRPcUB/GO9z8TzlY2e0cexQbZ3HkD/bupeupZVrpjIq1k9/EwyB+EEGeNHb63rBnxbgSVuEWo0b3WihxMTaZTyre7jogHA2nw8INlzaWrb2Is+v9I5xQN5elt2+hXPAyR160GZ6Ij6NAJPHLEMhw5M7JszydIJxX6bekzNdInyXDwLp5B/pGOIBmgYqQj3NERx5UzJGwruLTFZvHgUj42OMzurfF7niHyu6gM//+uZn94CG5+kMmCCldqOGMrVqWosLAAAAA=="},Kc=qbt.map((e)=>({id:e,preview:`data:image/webp;base64,${Vbt[e]}`}));var Bhe=wa(Fhe),Wc=Ve(["off","minimal","low","medium","high","xhigh"]),UV=Ve(["owner","editor","reviewer"]),aA=["delete_asset"],Hbt=R({id:p().optional(),skillId:p(),skill:R({id:p(),name:p()}).optional()}),V8n=R({id:p(),name:p(),type:Bhe,enabled:Tr(),permission:UV.optional().default("reviewer"),avatar:p().optional(),avatarPreset:p().optional(),providerId:p().optional(),modelId:p().optional(),thinkingLevel:Wc.optional().default("off"),systemPrompt:p().optional(),soul:p().optional(),skills:te(Hbt).optional(),mcpServerIds:te(p()).optional(),deniedTools:te(p()).optional()}),Yhe=R({name:p().min(1),type:Bhe,enabled:Tr().optional().default(!0),permission:UV.optional(),avatar:p().optional(),providerId:p().optional(),modelId:p().optional(),thinkingLevel:Wc.optional().default("off"),systemPrompt:p().optional(),soul:p().optional(),skills:te(p()).optional(),mcpServerIds:te(p()).optional(),deniedTools:te(p()).optional()}),H8n=Yhe.superRefine((e,r)=>{if(e.type==="chat"||e.type==="autofill"){if(!e.providerId)r.addIssue({code:no.custom,message:"providerId is required for chat/autofill agents",path:["providerId"]});if(!e.modelId)r.addIssue({code:no.custom,message:"modelId is required for chat/autofill agents",path:["modelId"]})}}),W8n=Yhe.superRefine((e,r)=>{if(e.type==="chat"||e.type==="autofill"){if(!e.providerId)r.addIssue({code:no.custom,message:"providerId is required for chat/autofill agents",path:["providerId"]});if(!e.modelId)r.addIssue({code:no.custom,message:"modelId is required for chat/autofill agents",path:["modelId"]})}}),G8n=R({permission:UV}),K8n=R({id:p(),sessionId:p(),entry:bZ()}),X8n=R({id:p(),name:p().nullable().optional(),type:p(),createdAt:p(),creator:R({id:p(),name:p().nullable().optional(),email:p().nullable().optional(),image:p().nullable().optional()}).nullable().optional(),agentId:p().optional()});var exn=R({apiKey:p().optional(),baseUrl:p().optional(),chatModels:te(p()).optional()}),Wbt=Ve(["1h","24h","7d","30d"]),txn=R({timeframe:Wbt.default("30d"),userId:p().optional()});var O8=R({cursor:p().optional(),total:tr().optional(),totalSize:tr().optional()}),ws=R({first:K2.number().optional(),after:p().optional()});var fxn=R({data:te(BV(()=>Jbt)),pageInfo:O8}),qhe=R({proxyType:Ve(["image","video","audio","pdf"]).nullable().optional(),thumbnailUrl:p().optional(),originalHeight:tr().optional(),originalWidth:tr().optional(),spriteUrl:p().optional(),duration:tr().optional(),pageCount:tr().optional()}),Gbt=R({type:p().nullable(),preview:qhe.nullable()}),_4=R({id:p(),name:p(),image:p().optional()}),Uhe=R({id:p(),name:p()}),Kbt=R({fieldId:p(),value:_s()}),Xbt=R({id:p(),name:p()}),Qbt=R({duration:tr().optional(),originalWidth:tr().optional(),originalHeight:tr().optional(),frameRate:tr().optional(),totalFrames:tr().optional(),startTimecode:p().optional()}),Jbt=R({id:p(),name:p(),sizeByte:tr(),fileCount:tr(),type:p(),targetType:p().optional().nullable(),status:p(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional(),latestChildren:te(Gbt).optional(),preview:qhe.nullable().optional(),createdAt:p(),updatedAt:p(),deletedAt:p().nullable().optional(),projectId:p().optional().nullable(),creator:_4.nullable().optional(),agentId:p().optional().nullable(),agent:Uhe.optional().nullable(),fieldValues:te(Kbt).optional(),sortIndex:p().optional().nullable(),startTime:tr().optional().nullable(),endTime:tr().optional().nullable(),hasAgentsMd:Tr().optional(),commentsCount:tr().optional(),media:R({original:R({key:p().optional()}).optional(),videoTranscodes:te(R({id:p(),url:p(),key:p(),width:tr(),height:tr(),size:tr()})).optional(),imageTranscodes:te(R({id:p(),url:p(),key:p(),width:tr(),height:tr(),size:tr()})).optional(),videoPreview:R({url:p(),key:p().optional()}).optional(),pdfTranscode:R({url:p(),key:p().optional()}).optional(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional(),metadata:Qbt.optional()}).optional(),ancestorFolders:te(Xbt).optional(),versionStack:R({id:p(),versions:te(R({version:tr(),current:Tr(),id:p(),name:p().optional().nullable(),previewUrl:p().optional().nullable(),createdAt:p().optional().nullable(),creator:R({id:p(),name:p().nullable(),image:p().optional().nullable()}).nullable().optional(),agent:Uhe.optional().nullable()}))}).optional().nullable()}),sxn=R({name:p(),type:p(),projectId:p().optional(),parentId:p().optional(),key:p().optional(),sizeByte:tr().optional(),contentType:p().optional(),creatorId:p().optional(),agentId:p().optional()}),lxn=R({assetId:p()}),cxn=R({id:p(),name:p()}),qV=Ve(["file","folder","all"]),uxn=R({assetId:p().optional(),assetType:qV.optional().default("all"),projectId:p().optional(),showDeleted:Tr().optional(),prefix:p().optional(),sort:p().optional(),order:p().optional(),...ws.shape}),dxn=R({assetId:p(),userId:p(),replyToId:p().optional(),message:p(),annotations:_s().optional(),second:tr().optional(),attachmentIds:te(p())}),$bt=R({id:p(),assetId:p(),url:p(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional()}),e_t=R({code:p(),count:tr(),requestingUserReacted:Tr(),creatorNames:te(p())}),Zxn=R({code:p().min(1)}),pxn=R({code:p().min(1)}),t_t=R({id:p(),assetId:p(),message:p().nullable(),annotations:_s(),second:tr().nullable(),creator:_4,replies:te(BV(()=>t_t)),attachments:te($bt),mentions:te(_4),createdAt:p(),updatedAt:p(),sessionId:p().nullable(),isCompleted:Tr(),completionLastChangedBy:_4.nullable(),reactionCounts:te(e_t)}),mxn=R({isCompleted:Tr()}),hxn=R({newParentId:p(),assetIds:te(p()),creatorId:p().optional()}),gxn=R({newParentId:p(),assetIds:te(p()),withComments:Tr().default(!1),creatorId:p().optional()}),Mxn=R({name:p()}),vxn=R({beforeIndex:p().optional(),afterIndex:p().optional()}),xxn=R({ids:te(p())}),yxn=R({ids:te(p())}),bxn=R({file:Ehe(File)}),_xn=R({key:p()}),wxn=R({fileName:p(),contentType:p(),size:tr()}),zxn=R({id:p(),uploadUrl:p()}),Sxn=R({ids:te(p())}),r_t=R({id:p(),name:p(),url:p()}),Lxn=R({files:te(r_t)}),o_t=Ve(["fcp-fiojson","media-composer-xml","premiere-xml","resolve-edl"]),kxn=R({format:o_t,timeZone:p().refine((e)=>{try{return Intl.DateTimeFormat(void 0,{timeZone:e}),!0}catch{return!1}},{message:"Invalid IANA time zone identifier"}).optional()});var Rxn=R({userCount:tr()}),Pxn=R({name:p().min(1,"Name is required").max(100,"Name is too long")}),Txn=R({id:p(),token:p(),name:p(),createdAt:p()});var a_t=Ve(["is","eq","neq","gt","gte","lt","lte","contains","notContains","isEmpty","isNotEmpty","in","notIn","hasAny","hasAll","hasNone","isWithin"]),n_t=R({field:p(),operator:a_t,value:_s()}),i_t=Ve(["asc","desc"]),f_t=R({field:p(),order:i_t}),s_t=Ve(["AND","OR"]),l_t=Ve(["file","folder"]),w4=Ve(["jpeg","webp"]),VV=R({operator:s_t.optional().default("AND"),conditions:te(n_t).optional().default([]),sort:f_t.optional(),assetType:l_t.optional(),showSymlink:Tr().optional(),recursively:Tr().optional().default(!0),query:p().optional(),isSemantic:Tr().optional().default(!1),previewFormat:w4.optional()}),Oxn=VV.extend(ws.shape);var HV=R({sourceFolderId:p(),searchFilter:VV}),c_t=R({id:p(),name:p(),filter:HV,projectId:p(),createdAt:p(),updatedAt:p(),creator:R({id:p(),name:p(),image:p().optional().nullable()}).optional().nullable()}),Yxn=R({name:p(),filter:HV}),Uxn=R({name:p().optional(),filter:HV.optional()});var qxn=R({data:te(c_t),pageInfo:R({cursor:p().optional(),total:tr().optional()})});var Wxn=R({name:p(),parentId:p()}),Gxn=R({name:p()}),Kxn=R({ids:te(p())}),Xxn=R({ids:te(p())}),Qxn=R({content:p().max(1e5)});var tyn=R({code:p(),role:p(),teamId:p(),teamName:p(),projectId:p().optional(),projectName:p().optional(),inviterName:p(),isUsed:Tr()}),ryn=R({role:wa(YV)}),oyn=R({role:wa(YV)}),ayn=R({code:p()});var kr={text:"text",longText:"longText",select:"select",selectMulti:"selectMulti",rating:"rating",number:"number",toggle:"toggle",date:"date",user:"user",userMulti:"userMulti"},Sr={NONE:"NONE",CONTENT:"CONTENT",CREATION_CONTEXT:"CREATION_CONTEXT"},lyn=R({id:p(),displayName:p(),color:p().optional()}),WV=R({name:p(),type:Ve(["text","longText","select","selectMulti","rating","number","toggle","date","user","userMulti"]),autofillSource:wa(Sr).optional(),text:_s().optional(),longText:_s().optional(),select:_s().optional(),selectMulti:_s().optional(),rating:_s().optional(),number:_s().optional(),toggle:_s().optional(),date:_s().optional(),user:_s().optional(),userMulti:_s().optional()}),cyn=R({key:p().optional(),label:p().optional(),scope:p().optional(),config:WV,description:p().default("")}),uyn=R({label:p().optional(),config:WV,description:p().optional()}),u_t=R({fieldId:p(),visible:Tr()}),dyn=te(u_t),d_t=R({key:p(),value:_s()}),Zyn=te(d_t),pyn=R({id:p(),config:WV,scope:p(),readOnly:Tr(),visible:Tr(),description:p()});var Vhe=Ve(["auto","none","bearer","oauth"]),GV=Ve(["streamable_http","sse"]),z4=Ve(["owner","editor","reviewer"]),Z_t=R({grantType:Ve(["authorization_code","client_credentials"]).optional(),clientId:p().optional(),clientSecret:p().optional(),scope:p().optional(),authorizationParams:SL(p(),p()).optional(),redirectUri:p().optional(),clientName:p().optional(),clientUri:p().optional(),skipIssuerMetadataValidation:Tr().optional()}),Hhe=R({type:Vhe.optional(),bearerToken:p().optional(),headers:SL(p(),p()).optional(),oauth:Z_t.optional()}),KV=R({excludeTools:te(p()).optional(),requestTimeoutMs:tr().int().positive().optional(),idleTimeoutMs:tr().int().positive().optional(),keepAlive:Tr().optional(),protocolVersion:Ve(["legacy","auto","2026-07-28"]).optional(),directTools:te(p()).optional()}),p_t=R({name:p(),title:p().optional(),description:p().optional(),inputSchema:bZ().optional()}),gyn=R({url:p().url(),transport:GV.optional(),authConfig:Hhe.optional(),config:KV.optional(),permission:z4.optional()}),Myn=R({transport:GV.optional(),authConfig:Hhe.optional(),config:KV.optional(),permission:z4.optional()}),vyn=R({permission:z4}),m_t=R({id:p(),name:p(),description:p().optional(),instructions:p().optional(),url:p(),transport:GV,authType:Vhe,config:KV.optional(),permission:z4,status:p(),lastError:p().nullable().optional(),toolCount:tr(),hasCredential:Tr(),createdAt:p(),updatedAt:p()}),xyn=R({servers:te(m_t)}),yyn=R({}),byn=R({tools:te(p_t)}),Whe=Ve(["authenticated","expired","not_authenticated","in_progress"]),_yn=R({status:Whe}),wyn=R({authorizationUrl:p().optional(),status:Whe}),zyn=R({code:p(),iss:p().optional()}),Syn=R({ok:Tr(),toolCount:tr(),message:p().optional()});var Ghe=R({id:p().optional(),name:p().optional(),role:p().optional()}),Khe=R({id:p().optional(),name:p().optional()}),h_t=R({id:p().optional(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional(),name:p().optional(),preview:p().optional(),thumbnailUrl:p().optional(),originalWidth:tr().optional(),originalHeight:tr().optional()}),g_t=R({id:p().optional(),title:p().optional(),status:p().optional()}),Cyn=R({id:p().optional(),creator:Ghe.optional(),type:p().optional(),team:Khe.optional(),project:Khe.optional(),asset:h_t.optional(),kanbanTask:g_t.optional(),user:Ghe.optional(),createdAt:p().optional(),isRead:Tr().optional()}),Iyn=R({unreadOnly:Ea([Tr(),p()]).transform((e)=>e===!0||e==="true").optional(),after:p().optional(),pageSize:K2.number().optional()}),Ryn=R({notificationId:p().min(1)}),Pyn=R({comments:Tr().default(!0),replies:Tr().default(!0),mentions:Tr().default(!0),yourUploads:Tr().default(!1),otherUploads:Tr().default(!0),statusUpdates:Tr().default(!0),kanbanTasks:Tr().default(!0),kanbanComments:Tr().default(!0)});var jyn=R({name:p(),coverImageKey:p().optional(),enableNotification:Tr().default(!0)}),Nyn=R({name:p().optional(),coverImageKey:p().optional(),enableNotification:Tr().optional()}),M_t=R({id:p(),name:p(),teamId:p(),rootFolder:p().optional(),coverImage:p().optional(),coverImageKey:p().optional(),enableNotification:Tr(),updatedAt:Ea([p(),Fn()])}),Byn=R({sortBy:p().optional(),sortDirection:Ve(["asc","desc"]).optional(),previewFormat:w4.optional()}).merge(ws),Yyn=R({previewFormat:w4.optional()}).merge(ws),Uyn=R({data:te(M_t),pageInfo:O8}),qyn=R({teamId:p()}),Vyn=R({id:p(),name:p(),role:Ve(["owner","editor","reviewer","bot","unknown"]),type:wa(b4).optional(),image:p().optional(),scope:Ve(["team","project"]).optional(),hasCustomRole:Tr().optional()}),Hyn=R({assetType:qV.optional().default("all"),sort:Ve(["createdAt","name","size"]).optional(),order:Ve(["asc","desc"]).optional()}).merge(ws),Wyn=R({role:Ve(["editor","reviewer"])}),Gyn=R({userId:p(),role:Ve(["owner","editor","reviewer"])}),Kyn=R({id:p(),name:p(),role:Ve(["owner","editor","reviewer","bot","unknown"]),image:p().optional()});var Yc=["openai-completions","mistral-conversations","openai-responses","azure-openai-responses","openai-codex-responses","anthropic-messages","bedrock-converse-stream","google-generative-ai","google-vertex"],S4=R({api:Ve(Yc).optional(),reasoning:Tr().default(!1),input:te(Ve(["text","image"])).default(["text"]),contextWindow:tr().int().positive().default(128000),maxTokens:tr().int().positive().default(4096),cost:R({input:tr().nonnegative().default(0),output:tr().nonnegative().default(0),cacheRead:tr().nonnegative().default(0),cacheWrite:tr().nonnegative().default(0)})}),XV=R({id:p().optional(),modelId:p().min(1,"Model ID is required"),name:p().min(0).default(""),config:S4}),ri=R({baseUrl:p().url("Must be a valid URL").optional().or(_Z("")),apiKey:p().optional().or(_Z("")),api:Ve(Yc),headers:SL(p(),p()).optional(),authHeader:Tr().optional()}),Jyn=R({name:p().min(1,"Provider name is required"),config:ri,models:te(XV).default([])}),$yn=R({name:p().min(1,"Provider name is required").optional(),config:ri,models:te(XV).optional()}),iA=R({modelId:p().min(1,"Model ID is required"),name:p().min(0).default(""),config:S4}),ebn=R({modelId:p().min(1,"Model ID is required").optional(),name:p().min(0).optional(),config:S4.optional()}),tbn=R({id:p(),name:p(),isBuiltin:Tr(),config:ri,models:te(XV).optional(),modelsCount:tr().optional(),createdAt:Fn(),updatedAt:Fn()}),Xhe=R({modelId:p().min(1),name:p().default(""),config:S4}),v_t=R({name:p(),isNewProvider:Tr(),config:ri,models:te(Xhe)}),rbn=R({providers:te(v_t),totalNewProviders:tr(),totalNewModels:tr()}),obn=R({providers:te(R({name:p(),isNewProvider:Tr(),config:ri,models:te(Xhe)}))}),abn=R({addedProviders:tr(),addedModels:tr()});var sbn=R({name:p().min(1),expireAt:p().datetime().optional(),password:p().optional(),isDisabled:Tr().optional(),allowDownload:Tr().optional(),defaultSortOrder:p().optional(),viewMode:p().optional()}),lbn=R({name:p().min(1).optional(),expireAt:p().datetime().optional().nullable(),password:p().optional().nullable(),isDisabled:Tr().optional(),allowDownload:Tr().optional(),defaultSortOrder:p().optional().nullable(),viewMode:p().optional().nullable(),fieldVisibility:SL(p(),Tr()).optional().nullable()}),cbn=ws.extend({projectId:p().optional()}),ubn=R({assetIds:te(p().min(1)).min(1)});var pbn=R({assetId:p().optional(),githubUrl:p().optional(),override:Tr().optional()}),mbn=R({config:R({environmentVariables:te(R({name:p(),default:p().optional()}))})}),hbn=R({permission:Ve(["owner","editor","reviewer"])});var ybn=R({name:p()}),x_t=R({id:p(),name:p(),rootFolder:p().optional(),updatedAt:Ea([p(),Fn()])});var bbn=R({data:te(x_t),pageInfo:O8}),_bn=R({teamId:p(),userId:p()}),wbn=R({id:p(),name:p(),email:p().optional(),role:Ve(["owner","editor","reviewer","bot","unknown"]),image:p().optional(),unreadNotificationCount:tr().optional()}),zbn=R({name:p().optional(),imageKey:p().nullable().optional()}),Sbn=R({id:p(),name:p(),role:Ve(["owner","editor","reviewer","bot","unknown"]),email:p().optional(),type:wa(b4).optional(),image:p().optional(),scope:wa(Ohe).optional()}),Lbn=R({includeAgents:p().optional().transform((e)=>e==="true")}),ga={best_match:"best_match",all:"all"},Li={off:"off",auto:"auto"},kbn=Ea([R({key:_Z("transcode.videoStrategy"),value:wa(ga)}),R({key:_Z("transcode.hardwareAcceleration"),value:wa(Li)}),R({key:_Z("appearance.hideAgent"),value:Tr()})]),Cbn=R({networkSandboxEnabled:Tr(),allowedDomains:te(p()),pendingDomains:te(p()).default([])}),Ibn=R({networkSandboxEnabled:Tr().optional(),allowedDomains:te(p()).optional(),pendingDomains:te(p()).optional()}),Rbn=R({role:Ve(["editor","reviewer"])});var Qhe=BV(()=>R({name:p(),id:p(),size:tr(),children:te(Qhe),type:p(),mediaType:p().optional()})),Abn=R({parentId:p(),files:te(Qhe)}),y_t=R({id:p(),fileId:p(),url:p()}),Ebn=R({taskId:p(),presignedUrls:te(y_t),storageBackend:Ve(["s3","local"]).default("local"),createdAssets:te(R({tempId:p(),assetId:p(),key:p().optional()})).optional()}),Dbn=R({key:p().min(1),method:Ve(["PUT","POST","GET","DELETE"]),uploadId:p().optional(),partNumber:tr().int().positive().optional(),fileId:p().min(1)}),Obn=R({url:p()}),jbn=R({fileId:p().min(1),uploadId:p().optional(),key:p().optional()}),Nbn=R({success:Tr()}),Fbn=R({fileId:p(),errorMessage:p().optional()}),Bbn=R({id:p(),name:p(),total:tr(),uploaded:tr(),createdAt:p()}),Ybn=R({bucket:p(),key:p(),Signature:p()}),Ubn=R({file:Ehe(File)});var b_t=R({key:p(),value:bZ()}),Hbn=R({value:bZ()}),Wbn=te(b_t);var Xbn=R({fileIds:te(p())}),Qbn=R({fileId:p(),beforeId:p()}),Jbn=R({id:p(),version:tr(),name:p().optional().nullable(),previewUrl:p().optional().nullable(),createdAt:p().optional().nullable(),creator:R({id:p(),name:p().nullable(),image:p().optional().nullable()}).nullable().optional(),agent:R({id:p(),name:p()}).nullable().optional()});var t_n=R({agentId:p(),textPrompt:p().optional(),attachedFiles:te(p()).optional(),assetIds:te(p()).optional(),sessionId:p().optional(),contextAssetId:p().optional(),projectId:p().optional(),second:tr().nullable().optional(),annotations:te(SL(p(),bZ())).optional()}).superRefine((e,r)=>{let a=e.textPrompt&&e.textPrompt.trim().length>0,i=e.attachedFiles&&e.attachedFiles.length>0,f=e.assetIds&&e.assetIds.length>0,s=e.annotations&&e.annotations.length>0;if(!a&&!i&&!f&&!s)r.addIssue({code:no.custom,message:"At least one of textPrompt, attachedFiles, assetIds, or annotations must be provided.",path:["textPrompt"]})}),r_n=R({id:p(),agentId:p(),userId:p().nullable(),assetId:p().nullable(),userCommentId:p().nullable(),name:p().nullable().optional(),createdAt:p(),updatedAt:p()}),__t=R({id:p(),name:p(),type:p(),mediaType:Ve(["image","video","pdf","audio","other"]).optional(),mimeType:p().optional(),parentId:p().optional(),path:p().optional(),durationSeconds:tr().optional(),totalFrames:tr().optional(),totalPages:tr().optional(),navigated:Tr().optional(),ancestors:te(R({id:p(),name:p()})).optional()}),Jhe=R({id:p(),name:p(),type:p(),mediaType:Ve(["image","video","pdf","audio","other"]).optional(),mimeType:p().optional(),path:p().optional(),url:p().optional()}),w_t=Che("type",[R({type:_Z("time"),seconds:tr()}),R({type:_Z("page"),page:tr()})]),z_t=R({id:p(),replyCount:tr().optional()}),o_n=R({id:p().optional(),user:R({id:p(),name:p(),role:p()}).optional(),thread:z_t.optional(),currentAsset:__t.optional(),position:w_t.optional(),annotation:Tr().optional(),annotations:te(SL(p(),bZ())).optional(),attachedFiles:te(Jhe).optional(),referencedAssets:te(Jhe).optional()}),a_n=Ihe(R({id:p()}),bZ());var kl;((Ke)=>{Ke.team_create="team_create";Ke.team_update="team_update";Ke.team_delete="team_delete";Ke.team_member_add="team_member_add";Ke.team_member_update="team_member_update";Ke.team_member_remove="team_member_remove";Ke.project_create="project_create";Ke.project_update="project_update";Ke.project_delete="project_delete";Ke.project_empty_trash="project_empty_trash";Ke.project_member_add="project_member_add";Ke.project_member_update="project_member_update";Ke.project_member_remove="project_member_remove";Ke.file_create="file_create";Ke.file_update="file_update";Ke.file_delete="file_delete";Ke.folder_create="folder_create";Ke.folder_update="folder_update";Ke.folder_delete="folder_delete";Ke.asset_reparent="asset_reparent";Ke.asset_copy="asset_copy";Ke.share_create="share_create";Ke.share_update="share_update";Ke.share_delete="share_delete";Ke.agent_create="agent_create";Ke.agent_update="agent_update";Ke.agent_delete="agent_delete";Ke.skill_create="skill_create";Ke.skill_update="skill_update";Ke.skill_delete="skill_delete";Ke.mcp_server_create="mcp_server_create";Ke.mcp_server_update="mcp_server_update";Ke.mcp_server_delete="mcp_server_delete";Ke.provider_create="provider_create";Ke.provider_update="provider_update";Ke.provider_delete="provider_delete";Ke.invite_create="invite_create";Ke.invite_revoke="invite_revoke";Ke.metadata_field_create="metadata_field_create";Ke.metadata_field_update="metadata_field_update";Ke.metadata_field_delete="metadata_field_delete";Ke.comment_create="comment_create";Ke.comment_update="comment_update";Ke.comment_delete="comment_delete";Ke.comment_complete="comment_complete";Ke.quota_rule_create="quota_rule_create";Ke.quota_rule_update="quota_rule_update";Ke.quota_rule_delete="quota_rule_delete";Ke.quota_record_reset="quota_record_reset";Ke.quota_policy_create="quota_policy_create";Ke.quota_policy_update="quota_policy_update";Ke.quota_policy_delete="quota_policy_delete";Ke.kanban_goal_create="kanban_goal_create";Ke.kanban_goal_update="kanban_goal_update";Ke.kanban_goal_delete="kanban_goal_delete";Ke.kanban_task_create="kanban_task_create";Ke.kanban_task_update="kanban_task_update";Ke.kanban_task_delete="kanban_task_delete";Ke.kanban_comment_create="kanban_comment_create";Ke.kanban_comment_delete="kanban_comment_delete";Ke.kanban_dependency_add="kanban_dependency_add";Ke.kanban_dependency_remove="kanban_dependency_remove"})(kl||={});var S_t=R({id:p(),action:wa(kl),teamId:p(),userId:p().nullable().optional(),agentId:p().nullable().optional(),agent:R({id:p(),name:p()}).nullable().optional(),projectId:p().nullable().optional(),itemId:p().nullable().optional(),createdAt:p()}),f_n=R({first:K2.number().optional(),after:p().optional(),actions:Ea([wa(kl),te(wa(kl))]).transform((e)=>Array.isArray(e)?e:[e]).optional(),userIds:Ea([p(),te(p())]).transform((e)=>Array.isArray(e)?e:[e]).optional(),agentIds:Ea([p(),te(p())]).transform((e)=>Array.isArray(e)?e:[e]).optional(),itemId:p().optional()}),s_n=R({nodes:te(S_t),pageInfo:R({hasNextPage:Tr(),endCursor:p().nullable()}),total:tr()});var L_t=R({id:p(),type:_Z("text"),x:tr().min(0).max(1),y:tr().min(0).max(1),opacity:tr().min(0).max(1),rotation:tr().min(-180).max(180),text:p(),size:tr().positive().max(1),color:p()}),k_t=R({id:p(),type:_Z("image"),x:tr().min(0).max(1),y:tr().min(0).max(1),opacity:tr().min(0).max(1),rotation:tr().min(-180).max(180),imageAssetKey:p().min(1),imageAssetUrl:p().optional(),size:tr().positive().max(1)}),C_t=Che("type",[L_t,k_t]),QV=R({blocks:te(C_t)}),u_n=R({name:p().min(1),teamId:p().optional(),config:QV}),d_n=R({name:p().min(1).optional(),config:QV.optional()}),Z_n=R({enabled:Tr(),config:QV.optional()}).superRefine((e,r)=>{if(e.enabled&&(!e.config||e.config.blocks.length===0))r.addIssue({code:"custom",path:["config"],message:"Watermark configuration is required when enabling watermark"})});var JV=wa(jhe),$V=Ve(["1hour","5hour","1day","7day","one_hour","five_hours","one_day","seven_days"]);function Jc(e){switch(e){case"one_hour":case"1hour":return"1hour";case"five_hours":case"5hour":return"5hour";case"one_day":case"1day":return"1day";case"seven_days":case"7day":return"7day";default:return e}}var eH=wa(Nhe),tH=Ve(["owner","editor","reviewer"]),$he=R({id:p().min(1,"MCP server ID is required")}),ege=R({match:p().min(1,"Bash match wildcard is required")}),tge=R({name:p().min(1,"Tool name is required")}),rH=SL(p(),bZ()),I_t=R({id:p().nullable(),ruleId:p(),teamId:p(),userId:p().nullable().optional(),user:R({id:p(),name:p(),email:p(),image:p().nullable().optional()}).nullable().optional(),periodStart:p().nullable().optional(),periodEnd:p().nullable().optional(),consumed:tr(),remaining:tr(),percent:tr(),isWindowActive:Tr()}),M_n=R({records:te(I_t),total:tr()}),R_t=R({id:p(),teamId:p(),scopeMode:JV,role:tH.nullable().optional(),userIds:te(p()).nullable().optional(),resource:eH,resourceData:rH.nullable().optional(),limit:tr(),period:$V,enabled:Tr(),recordsCount:tr().optional(),createdAt:p(),updatedAt:p()}),v_n=R({rules:te(R_t),total:tr()}),x_n=R({scopeMode:JV,role:tH.optional().nullable(),userIds:te(p()).optional().nullable(),resource:eH,resourceData:rH.optional().nullable(),limit:tr().positive("Limit must be greater than 0"),period:$V,enabled:Tr().optional().default(!0)}).superRefine((e,r)=>{if(e.scopeMode==="selected_members"){if(!e.userIds||e.userIds.length===0)r.addIssue({code:no.custom,message:'userIds must contain at least one user when scopeMode is "selected_members"',path:["userIds"]})}if(e.resource==="agent_mcp_call_count"){if(!$he.safeParse(e.resourceData).success)r.addIssue({code:no.custom,message:"resourceData.id is required for agent_mcp_call_count",path:["resourceData","id"]})}else if(e.resource==="agent_bash_call_count"){if(!ege.safeParse(e.resourceData).success)r.addIssue({code:no.custom,message:"resourceData.match is required for agent_bash_call_count",path:["resourceData","match"]})}else if(e.resource==="agent_tool_call_count"){if(!tge.safeParse(e.resourceData).success)r.addIssue({code:no.custom,message:"resourceData.name is required for agent_tool_call_count",path:["resourceData","name"]})}}),y_n=R({userId:p().nullable()}),b_n=R({scopeMode:JV.optional(),role:tH.optional().nullable(),userIds:te(p()).optional().nullable(),resource:eH.optional(),resourceData:rH.optional().nullable(),limit:tr().positive("Limit must be greater than 0").optional(),period:$V.optional(),enabled:Tr().optional()}).superRefine((e,r)=>{if(e.scopeMode==="selected_members"&&e.userIds!==void 0){if(!e.userIds||e.userIds.length===0)r.addIssue({code:no.custom,message:'userIds must contain at least one user when scopeMode is "selected_members"',path:["userIds"]})}if(e.resource==="agent_mcp_call_count"&&e.resourceData!==void 0){if(!$he.safeParse(e.resourceData).success)r.addIssue({code:no.custom,message:"resourceData.id is required for agent_mcp_call_count",path:["resourceData","id"]})}else if(e.resource==="agent_bash_call_count"&&e.resourceData!==void 0){if(!ege.safeParse(e.resourceData).success)r.addIssue({code:no.custom,message:"resourceData.match is required for agent_bash_call_count",path:["resourceData","match"]})}else if(e.resource==="agent_tool_call_count"&&e.resourceData!==void 0){if(!tge.safeParse(e.resourceData).success)r.addIssue({code:no.custom,message:"resourceData.name is required for agent_tool_call_count",path:["resourceData","name"]})}});var Aa="unassigned",z_n=R({title:p().min(1),description:p().optional()}),S_n=R({title:p().min(1).optional(),description:p().nullable().optional()}),P_t=R({id:p(),title:p(),description:p().nullable().optional(),teamId:p(),creatorId:p().nullable().optional(),taskCount:tr().optional(),createdAt:Ea([p(),Fn()]),updatedAt:Ea([p(),Fn()])}),L_n=R({}),k_n=R({data:te(P_t)});var uM=R({id:p(),name:p(),image:p().optional()}),T_t=R({summary:p().optional(),blockReason:p().optional(),blockKind:p().optional(),reason:p().optional(),assets:te(R({id:p(),type:p().optional(),name:p().optional(),description:p().optional()})).optional()}).passthrough(),oH=R({id:p(),taskId:p(),actor:uM.nullable().optional(),type:wa(rf),fromStatus:wa(Qe).nullable().optional(),toStatus:wa(Qe).nullable().optional(),data:T_t.nullable().optional(),createdAt:Ea([p(),Fn()])}),P_n=R({data:te(oH)});var A_t=R({id:p(),name:p(),key:p(),sizeByte:tr(),contentType:p().nullable().optional(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional()}),E_t=R({id:p(),name:p(),sizeByte:tr(),contentType:p().nullable().optional(),url:p(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional()}),D_n=R({id:p(),name:p(),key:p(),sizeByte:tr(),contentType:p().nullable().optional(),uploadUrl:p(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional()}),O_n=R({body:p().default(""),attachments:te(A_t).optional()}).refine((e)=>e.body.trim().length>0||e.attachments&&e.attachments.length>0,{message:"Comment body or attachments required"}),aH=R({id:p(),taskId:p(),author:uM,body:p(),attachments:te(E_t).default([]),createdAt:Ea([p(),Fn()]),updatedAt:Ea([p(),Fn()])}),j_n=R({data:te(aH)});var V_n=R({title:p().min(1),description:p().optional(),isAgentTask:Tr().optional(),priority:wa(Br).optional(),startDate:Ea([p(),Fn()]).optional(),dueDate:Ea([p(),Fn()]).optional(),goalId:p().optional(),projectId:p().optional(),reporterId:p().optional(),assigneeId:p().optional(),targetFolderId:p().optional(),parentIds:te(p()).optional(),assetIds:te(p()).optional()}),H_n=R({fromStatus:wa(Qe).optional(),title:p().min(1).optional(),description:p().nullable().optional(),status:wa(Qe).optional(),reason:p().optional(),priority:wa(Br).optional(),startDate:Ea([p(),Fn()]).nullable().optional(),dueDate:Ea([p(),Fn()]).nullable().optional(),goalId:p().nullable().optional(),projectId:p().nullable().optional(),reporterId:p().nullable().optional(),assigneeId:p().nullable().optional(),targetFolderId:p().nullable().optional(),beforeIndex:p().optional(),afterIndex:p().optional(),parentIds:te(p()).optional(),assetIds:te(p()).optional()}),W_n=R({status:wa(Qe).optional(),isAgentTask:Ea([Tr(),p()]).transform((e)=>e===!0||e==="true").optional(),goalId:p().optional(),projectId:p().optional(),priority:wa(Br).optional(),assigneeId:p().optional(),reporterId:p().optional()}).merge(ws),D_t=R({id:p(),type:wa(rf),actor:uM.nullable().optional(),summary:p().optional(),blockReason:p().optional(),blockKind:p().optional(),reason:p().optional(),createdAt:Ea([p(),Fn()])}),O_t=R({id:p(),title:p()}),rge=R({id:p(),title:p(),isAgentTask:Tr(),status:wa(Qe),priority:wa(Br),sortIndex:p().nullable().optional()}),j_t=R({id:p(),name:p(),type:p(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional(),thumbnailUrl:p().nullable().optional(),path:p(),creator:uM.nullable().optional(),sizeByte:tr().optional(),fileCount:tr().optional(),projectId:p().nullable().optional(),createdAt:Ea([p(),Fn()])}),nH=R({id:p(),title:p(),description:p().nullable().optional(),isAgentTask:Tr(),status:wa(Qe),priority:wa(Br),startDate:Ea([p(),Fn()]).nullable().optional(),dueDate:Ea([p(),Fn()]).nullable().optional(),startedAt:Ea([p(),Fn()]).nullable().optional(),completedAt:Ea([p(),Fn()]).nullable().optional(),teamId:p(),projectId:p().nullable().optional(),sortIndex:p().nullable().optional(),creator:uM,reporter:uM.nullable().optional(),assignee:uM.nullable().optional(),goal:O_t.nullable().optional(),targetFolderId:p().nullable().optional(),latestStatusEvent:D_t.nullable().optional(),commentCount:tr().default(0),dependencyCount:tr().default(0),dependentCount:tr().default(0),assetCount:tr().default(0),createdAt:Ea([p(),Fn()]),updatedAt:Ea([p(),Fn()])}),G_n=nH.extend({dependencies:te(rge),dependents:te(rge),assets:te(j_t),comments:te(aH),events:te(oH)}),K_n=R({data:te(nH),pageInfo:O8}),X_n=R({taskId:p()}),Q_n=R({assetIds:te(p())}),J_n=R({data:te(nH),total:tr()});var fwn=R({assetId:p()});function oge(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function za(e,r){if(r===void 0||r===null)return"";return` ${e}="${oge(r)}"`}function lA(e){if(!e)return"";let r=[];if(e.user){let a="";if(e.user.id!==void 0)a+=za("id",e.user.id);if(e.user.name!==void 0)a+=za("name",e.user.name);if(e.user.role!==void 0)a+=za("role",e.user.role);if(a)r.push(` <user${a} />`)}if(e.thread){let a="";if(e.thread.id!==void 0)a+=za("id",e.thread.id);if(e.thread.replyCount!==void 0)a+=` reply_count="${Math.round(e.thread.replyCount)}"`;if(a)r.push(` <thread${a} />`)}if(e.currentAsset){let a=e.currentAsset,i="";if(a.id!==void 0)i+=za("id",a.id);if(a.name!==void 0)i+=za("name",a.name);if(a.type!==void 0)i+=za("type",a.type);if(a.mediaType!==void 0)i+=za("media_type",a.mediaType);if(a.mimeType!==void 0)i+=za("mime_type",a.mimeType);if(a.parentId!==void 0)i+=za("parent_id",a.parentId);if(a.path!==void 0)i+=za("path",a.path);if(a.durationSeconds!==void 0)i+=` duration_seconds="${a.durationSeconds.toFixed(2)}"`;if(a.totalFrames!==void 0)i+=` total_frames="${Math.round(a.totalFrames)}"`;if(a.totalPages!==void 0)i+=` total_pages="${Math.round(a.totalPages)}"`;if(a.navigated!==void 0)i+=` navigated="${String(a.navigated)}"`;if(a.ancestors&&a.ancestors.length>0){r.push(` <current_asset${i}>`),r.push(" <ancestors>");for(let f of a.ancestors){let s="";if(f.id!==void 0)s+=za("id",f.id);if(f.name!==void 0)s+=za("name",f.name);r.push(` <folder${s} />`)}r.push(" </ancestors>"),r.push(" </current_asset>")}else r.push(` <current_asset${i} />`)}if(e.position){if(e.position.type==="time")r.push(` <position type="time" seconds="${e.position.seconds.toFixed(4)}" />`);else if(e.position.type==="page")r.push(` <position type="page" page="${Math.round(e.position.page)}" />`)}if(e.annotation)if(e.id!==void 0)r.push(` <annotation id="${oge(e.id)}" />`);else r.push(" <annotation />");if(e.attachedFiles&&e.attachedFiles.length>0){let a=[...e.attachedFiles].sort((i,f)=>i.id.localeCompare(f.id));r.push(" <attached_files>");for(let i of a){let f="";if(i.id!==void 0)f+=za("id",i.id);if(i.name!==void 0)f+=za("name",i.name);if(i.type!==void 0)f+=za("type",i.type);if(i.mediaType!==void 0)f+=za("media_type",i.mediaType);if(i.mimeType!==void 0)f+=za("mime_type",i.mimeType);if(i.path!==void 0)f+=za("path",i.path);r.push(` <file${f} />`)}r.push(" </attached_files>")}if(e.referencedAssets&&e.referencedAssets.length>0){let a=[...e.referencedAssets].sort((i,f)=>i.id.localeCompare(f.id));r.push(" <referenced_assets>");for(let i of a)if(i.type==="folder"){let f="";if(i.id!==void 0)f+=za("id",i.id);if(i.name!==void 0)f+=za("name",i.name);if(i.path!==void 0)f+=za("path",i.path);r.push(` <folder${f} />`)}else{let f="";if(i.id!==void 0)f+=za("id",i.id);if(i.name!==void 0)f+=za("name",i.name);if(i.type!==void 0)f+=za("type",i.type);if(i.mediaType!==void 0)f+=za("media_type",i.mediaType);if(i.mimeType!==void 0)f+=za("mime_type",i.mimeType);if(i.path!==void 0)f+=za("path",i.path);r.push(` <asset${f} />`)}r.push(" </referenced_assets>")}if(r.length===0)return"";return`<context>
196
- ${r.join(`
197
- `)}
198
- </context>`}var gR=Ve(["image","video"]),N_t=Ve(["configured_custom","configured_env","not_configured"]),uwn=R({apiKey:p().optional().or(_Z("")),models:te(R({type:gR,modelId:p().min(1,"Model ID is required"),name:p().optional()})).optional()});var dwn=R({type:gR,provider:p().min(1,"Provider is required"),modelId:p().min(1,"Model ID is required"),name:p().optional()}),F_t=R({id:p(),type:gR,provider:p(),modelId:p(),name:p(),createdAt:p()}),B_t=R({provider:p(),defaultEnvKey:p(),apiKeyConfigured:Tr(),status:N_t,customApiKeyOrEnv:p().optional(),supportedTypes:te(gR)}),Zwn=R({providers:te(B_t),enabledModels:te(F_t)}),pwn=R({modelId:p(),name:p(),type:gR}),mwn=R({provider:p().optional(),type:gR.optional()});var cA=[Qe.TODO,Qe.READY,Qe.IN_PROGRESS,Qe.BLOCKED,Qe.IN_REVIEW,Qe.DONE];function oo(e){switch(e){case Qe.TODO:return _ut();case Qe.READY:return xut();case Qe.IN_PROGRESS:return put();case Qe.BLOCKED:return $g();case Qe.IN_REVIEW:return gut();case Qe.DONE:return uut();default:return e}}function Hp(e){switch(e){case Qe.TODO:return{badge:"bg-muted text-muted-foreground border-border",border:"border-border",dot:"bg-muted-foreground",bg:"bg-muted/30"};case Qe.READY:return{badge:"bg-blue-500/10 text-blue-600 dark:text-blue-400 border-blue-500/20",border:"border-blue-500/30",dot:"bg-blue-500",bg:"bg-blue-500/5"};case Qe.IN_PROGRESS:return{badge:"bg-amber-500/10 text-amber-600 dark:text-amber-400 border-amber-500/20",border:"border-amber-500/30",dot:"bg-amber-500",bg:"bg-amber-500/5"};case Qe.BLOCKED:return{badge:"bg-red-500/10 text-red-600 dark:text-red-400 border-red-500/20",border:"border-red-500/30",dot:"bg-red-500",bg:"bg-red-500/5"};case Qe.IN_REVIEW:return{badge:"bg-purple-500/10 text-purple-600 dark:text-purple-400 border-purple-500/20",border:"border-purple-500/30",dot:"bg-purple-500",bg:"bg-purple-500/5"};case Qe.DONE:return{badge:"bg-emerald-500/10 text-emerald-600 dark:text-emerald-400 border-emerald-500/20",border:"border-emerald-500/30",dot:"bg-emerald-500",bg:"bg-emerald-500/5"}}}function j8(e){return Hp(e).badge}function ni(e){switch(e){case Br.LOW:return Wtt();case Br.MEDIUM:return Xtt();case Br.HIGH:return qtt();case Br.URGENT:return $tt();default:return e}}function oi(e){switch(e){case Br.LOW:return"bg-muted text-muted-foreground border-border";case Br.MEDIUM:return"bg-blue-500/10 text-blue-600 dark:text-blue-400 border-blue-500/20";case Br.HIGH:return"bg-amber-500/10 text-amber-600 dark:text-amber-400 border-amber-500/20";case Br.URGENT:return"bg-red-500/10 text-red-600 dark:text-red-400 border-red-500/20 font-semibold";default:return"bg-muted text-muted-foreground border-border"}}S();function _a({className:e,...r}){return t("textarea",{"data-slot":"textarea",className:C("flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:ring-destructive/40",e),...r})}function Q({className:e,...r}){return t(gCe,{"data-slot":"label",className:C("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),...r})}function je({className:e,size:r="default",...a}){return t(iRe,{"data-slot":"switch","data-size":r,className:C("peer group/switch inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-[1.15rem] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input dark:data-[state=unchecked]:bg-input/80",e),...a,children:t(sRe,{"data-slot":"switch-thumb",className:C("pointer-events-none block rounded-full bg-background ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0 dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground")})})}function Fe({...e}){return t(wIe,{"data-slot":"select",...e})}function Le({...e}){return t(kIe,{"data-slot":"select-value",...e})}function Ze({className:e,size:r="default",children:a,...i}){return o(SIe,{"data-slot":"select-trigger","data-size":r,className:C("flex w-fit items-center justify-between gap-2 rounded-md border border-input bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[placeholder]:text-muted-foreground 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 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",e),...i,children:[a,t(CIe,{asChild:!0,children:t(ve,{className:"size-4 opacity-50"})})]})}function Be({className:e,children:r,position:a="item-aligned",align:i="center",...f}){return t(TIe,{children:o(AIe,{"data-slot":"select-content",className:C("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 bg-popover text-popover-foreground shadow-md 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",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,align:i,...f,children:[t(Y_t,{}),t(FIe,{className:C("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:r}),t(U_t,{})]})})}function ne({className:e,children:r,...a}){return o(UIe,{"data-slot":"select-item",className:C("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 focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...a,children:[t("span",{"data-slot":"select-item-indicator",className:"absolute right-2 flex size-3.5 items-center justify-center",children:t(HIe,{children:t(ke,{className:"size-4"})})}),t(qIe,{children:r})]})}function Y_t({className:e,...r}){return t(WIe,{"data-slot":"select-scroll-up-button",className:C("flex cursor-default items-center justify-center py-1",e),...r,children:t(Ei,{className:"size-4"})})}function U_t({className:e,...r}){return t(GIe,{"data-slot":"select-scroll-down-button",className:C("flex cursor-default items-center justify-center py-1",e),...r,children:t(ve,{className:"size-4"})})}S();function age(e,r,a="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:a}).format(r).split(/\s/g).slice(2).join(" ")}var q_t={},X2={};function wu(e,r){try{let i=(q_t[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(r).split("GMT")[1];if(i in X2)return X2[i];return nge(i,i.split(":"))}catch{if(e in X2)return X2[e];let a=e?.match(V_t);if(a)return nge(e,a.slice(1));return NaN}}var V_t=/([+-]\d\d):?(\d\d)?/;function nge(e,r){let a=+(r[0]||0),i=+(r[1]||0),f=+(r[2]||0)/60;return X2[e]=a*60+i>0?a*60+i+f:a*60-i-f}class Su extends Date{constructor(...e){super();if(e.length>1&&typeof e[e.length-1]==="string")this.timeZone=e.pop();if(this.internal=new Date,isNaN(wu(this.timeZone,this)))this.setTime(NaN);else if(!e.length)this.setTime(Date.now());else if(typeof e[0]==="number"&&(e.length===1||e.length===2&&typeof e[1]!=="number"))this.setTime(e[0]);else if(typeof e[0]==="string")this.setTime(+new Date(e[0]));else if(e[0]instanceof Date)this.setTime(+e[0]);else this.setTime(+new Date(...e)),sge(this,e)}static tz(e,...r){return r.length?new Su(...r,e):new Su(Date.now(),e)}withTimeZone(e){return new Su(+this,e)}getTimezoneOffset(){let e=-wu(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),L4(this),+this}[Symbol.for("constructDateFrom")](e){return new Su(+new Date(e),this.timeZone)}}var ige=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach((e)=>{if(!ige.test(e))return;let r=e.replace(ige,"$1UTC");if(!Su.prototype[r])return;if(e.startsWith("get"))Su.prototype[e]=function(){return this.internal[r]()};else Su.prototype[e]=function(){return Date.prototype[r].apply(this.internal,arguments),H_t(this),+this},Su.prototype[r]=function(){return Date.prototype[r].apply(this,arguments),L4(this),+this}});function L4(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-wu(e.timeZone,e)*60))}function H_t(e){Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),sge(e)}function sge(e,r){let a=Array.isArray(r)?W_t(r):+e.internal,i=wu(e.timeZone,e),f=i>0?Math.floor(i):Math.ceil(i),s=new Date(+e);s.setUTCHours(s.getUTCHours()-1);let l=-new Date(+e).getTimezoneOffset(),c=-new Date(+s).getTimezoneOffset(),m=l-c,g=l;if(m&&l!==f){let ae=Date.prototype.getHours.apply(e),ye=Array.isArray(r)?r[3]||0:e.internal.getUTCHours();if(ae!==ye){let We=new Date(+e),Ye=l-f;if(Ye)We.setUTCMinutes(We.getUTCMinutes()+Ye);let ze=wu(e.timeZone,We);if((ze>0?Math.floor(ze):Math.ceil(ze))===f)g=c}}let M=g-f;if(M)Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+M);let v=new Date(+e);v.setUTCSeconds(0);let y=l>0?v.getSeconds():(v.getSeconds()-60)%60,x=Math.round(-(wu(e.timeZone,e)*60))%60;if(x||y)Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+x+y);let _=wu(e.timeZone,e),j=_>0?Math.floor(_):Math.ceil(_),T=-new Date(+e).getTimezoneOffset()-j,N=j!==f,G=T-M,X=j-f,J=a-j*60*1000,ee=X>0&&fge(e)-a===X*60*1000&&fge(e,J)!==a;if(N&&G&&!ee){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+G);let ae=wu(e.timeZone,e),ye=ae>0?Math.floor(ae):Math.ceil(ae),We=j-ye;if(We&&G<0)Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+We)}L4(e);let oe=(r?a:a+x*1000)-+e.internal;if(oe&&Math.abs(oe)<1800000)Date.prototype.setTime.call(e,+e+oe),L4(e)}function W_t(e){return Date.UTC(e[0],e.length>1?e[1]:0,e.length>2?e[2]:1,...e.slice(3))}function fge(e,r){let a=new Date(r??+e);return a.setUTCSeconds(a.getUTCSeconds()-Math.round(-wu(e.timeZone,a)*60)),+a}class wn extends Su{static tz(e,...r){return r.length?new wn(...r,e):new wn(Date.now(),e)}toISOString(){let[e,r,a]=this.tzComponents(),i=`${e}${r}:${a}`;return this.internal.toISOString().slice(0,-1)+i}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){let[e,r,a,i]=this.internal.toUTCString().split(" ");return`${e?.slice(0,-1)} ${a} ${r} ${i}`}toTimeString(){let e=this.internal.toUTCString().split(" ")[4],[r,a,i]=this.tzComponents();return`${e} GMT${r}${a}${i} (${age(this.timeZone,this)})`}toLocaleString(e,r){return Date.prototype.toLocaleString.call(this,e,{...r,timeZone:r?.timeZone||this.timeZone})}toLocaleDateString(e,r){return Date.prototype.toLocaleDateString.call(this,e,{...r,timeZone:r?.timeZone||this.timeZone})}toLocaleTimeString(e,r){return Date.prototype.toLocaleTimeString.call(this,e,{...r,timeZone:r?.timeZone||this.timeZone})}tzComponents(){let e=this.getTimezoneOffset(),r=e>0?"-":"+",a=String(Math.floor(Math.abs(e)/60)).padStart(2,"0"),i=String(Math.abs(e)%60).padStart(2,"0");return[r,a,i]}withTimeZone(e){return new wn(+this,e)}[Symbol.for("constructDateFrom")](e){return new wn(+new Date(e),this.timeZone)}}function lge(e,r){let a=r.startOfMonth(e),i=a.getDay()>0?a.getDay():7,f=r.addDays(e,-i+1),s=r.addDays(f,34);return r.getMonth(e)===r.getMonth(s)?5:4}function k4(e,r){let a=r.startOfMonth(e),i=a.getDay();if(i===1)return a;else if(i===0)return r.addDays(a,-6);else return r.addDays(a,-1*(i-1))}function cge(e,r){let a=k4(e,r),i=lge(e,r);return r.addDays(a,i*7-1)}var Q2={...nM,labels:{labelDayButton:(e,r,a,i)=>{let f;if(i&&typeof i.format==="function")f=i.format.bind(i);else f=(l,c)=>mr(l,c,{locale:nM,...a});let s=f(e,"PPPP");if(r.today)s=`Today, ${s}`;if(r.selected)s=`${s}, selected`;return s},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:(e)=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,r,a)=>{let i;if(a&&typeof a.format==="function")i=a.format.bind(a);else i=(f,s)=>mr(f,s,{locale:nM,...r});return i(e,"LLLL yyyy")},labelGridcell:(e,r,a,i)=>{let f;if(i&&typeof i.format==="function")f=i.format.bind(i);else f=(l,c)=>mr(l,c,{locale:nM,...a});let s=f(e,"PPPP");if(r?.today)s=`Today, ${s}`;return s},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,r,a)=>{let i;if(a&&typeof a.format==="function")i=a.format.bind(a);else i=(f,s)=>mr(f,s,{locale:nM,...r});return i(e,"cccc")}}};class Vn{constructor(e,r){this.today=()=>{if(this.overrides?.today)return this.overrides.today();if(this.options.timeZone)return wn.tz(this.options.timeZone);return new(this.options.Date??Date)},this.newDate=(a,i,f)=>{if(this.overrides?.newDate)return this.overrides.newDate(a,i,f);if(this.options.timeZone)return new wn(a,i,f,this.options.timeZone);return new Date(a,i,f)},this.addDays=(a,i)=>this.overrides?.addDays?this.overrides.addDays(a,i):oR(a,i),this.addMonths=(a,i)=>this.overrides?.addMonths?this.overrides.addMonths(a,i):Oi(a,i),this.addWeeks=(a,i)=>this.overrides?.addWeeks?this.overrides.addWeeks(a,i):w2(a,i),this.addYears=(a,i)=>this.overrides?.addYears?this.overrides.addYears(a,i):Kce(a,i),this.differenceInCalendarDays=(a,i)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(a,i):C8(a,i),this.differenceInCalendarMonths=(a,i)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(a,i):F5(a,i),this.eachMonthOfInterval=(a)=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(a):$ce(a),this.eachYearOfInterval=(a)=>{let i=this.overrides?.eachYearOfInterval?this.overrides.eachYearOfInterval(a):rue(a),f=new Set(i.map((l)=>this.getYear(l)));if(f.size===i.length)return i;let s=[];return f.forEach((l)=>{s.push(new Date(l,0,1))}),s},this.endOfBroadcastWeek=(a)=>this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(a):cge(a,this),this.endOfISOWeek=(a)=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(a):oue(a),this.endOfMonth=(a)=>this.overrides?.endOfMonth?this.overrides.endOfMonth(a):Bd(a),this.endOfWeek=(a,i)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(a,i):Y5(a,this.options),this.endOfYear=(a)=>this.overrides?.endOfYear?this.overrides.endOfYear(a):tue(a),this.format=(a,i,f)=>{let s=this.overrides?.format?this.overrides.format(a,i,this.options):mr(a,i,this.options);if(this.options.numerals&&this.options.numerals!=="latn")return this.replaceDigits(s);return s},this.getISOWeek=(a)=>this.overrides?.getISOWeek?this.overrides.getISOWeek(a):fR(a),this.getMonth=(a,i)=>this.overrides?.getMonth?this.overrides.getMonth(a,this.options):Vc(a,this.options),this.getYear=(a,i)=>this.overrides?.getYear?this.overrides.getYear(a,this.options):Qc(a,this.options),this.getWeek=(a,i)=>this.overrides?.getWeek?this.overrides.getWeek(a,this.options):sR(a,this.options),this.isAfter=(a,i)=>this.overrides?.isAfter?this.overrides.isAfter(a,i):yue(a,i),this.isBefore=(a,i)=>this.overrides?.isBefore?this.overrides.isBefore(a,i):bue(a,i),this.isDate=(a)=>this.overrides?.isDate?this.overrides.isDate(a):N5(a),this.isSameDay=(a,i)=>this.overrides?.isSameDay?this.overrides.isSameDay(a,i):aR(a,i),this.isSameMonth=(a,i)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(a,i):_ue(a,i),this.isSameYear=(a,i)=>this.overrides?.isSameYear?this.overrides.isSameYear(a,i):wue(a,i),this.max=(a)=>this.overrides?.max?this.overrides.max(a):Xce(a),this.min=(a)=>this.overrides?.min?this.overrides.min(a):Qce(a),this.setMonth=(a,i)=>this.overrides?.setMonth?this.overrides.setMonth(a,i):Lue(a,i),this.setYear=(a,i)=>this.overrides?.setYear?this.overrides.setYear(a,i):kue(a,i),this.startOfBroadcastWeek=(a,i)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(a,this):k4(a,this),this.startOfDay=(a)=>this.overrides?.startOfDay?this.overrides.startOfDay(a):k8(a),this.startOfISOWeek=(a)=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(a):aM(a),this.startOfMonth=(a)=>this.overrides?.startOfMonth?this.overrides.startOfMonth(a):eue(a),this.startOfWeek=(a,i)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(a,this.options):bu(a,this.options),this.startOfYear=(a)=>this.overrides?.startOfYear?this.overrides.startOfYear(a):B5(a),this.options={locale:Q2,...e},this.overrides=r}getDigitMap(){let{numerals:e="latn"}=this.options,r=new Intl.NumberFormat("en-US",{numberingSystem:e}),a={};for(let i=0;i<10;i++)a[i.toString()]=r.format(i);return a}replaceDigits(e){let r=this.getDigitMap();return e.replace(/\d/g,(a)=>r[a]||a)}formatNumber(e){return this.replaceDigits(e.toString())}getMonthYearOrder(){let e=this.options.locale?.code;if(!e)return"month-first";return Vn.yearFirstLocales.has(e)?"year-first":"month-first"}formatMonthYear(e){let{locale:r,timeZone:a,numerals:i}=this.options,f=r?.code;if(f&&Vn.yearFirstLocales.has(f))try{return new Intl.DateTimeFormat(f,{month:"long",year:"numeric",timeZone:a,numberingSystem:i}).format(e)}catch{}let s=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(e,s)}}Vn.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);var ui=new Vn;class J2{constructor(e,r,a=ui){this.date=e,this.displayMonth=r,this.outside=Boolean(r&&!a.isSameMonth(e,r)),this.dateLib=a,this.isoDate=a.format(e,"yyyy-MM-dd"),this.displayMonthId=a.format(r,"yyyy-MM"),this.dateMonthId=a.format(e,"yyyy-MM")}isEqualTo(e){return this.dateLib.isSameDay(e.date,this.date)&&this.dateLib.isSameMonth(e.displayMonth,this.displayMonth)}}class iH{constructor(e,r){this.date=e,this.weeks=r}}class fH{constructor(e,r){this.days=r,this.weekNumber=e}}var lH={};Oe(lH,{CaptionLabel:()=>G_t,Chevron:()=>K_t,Day:()=>X_t,DayButton:()=>Q_t,Dropdown:()=>J_t,DropdownNav:()=>$_t,Footer:()=>ewt,Month:()=>twt,MonthCaption:()=>rwt,MonthGrid:()=>owt,Months:()=>awt,MonthsDropdown:()=>nwt,Nav:()=>iwt,NextMonthButton:()=>fwt,Option:()=>swt,PreviousMonthButton:()=>lwt,Root:()=>cwt,Select:()=>uwt,Week:()=>dwt,WeekNumber:()=>mwt,WeekNumberHeader:()=>hwt,Weekday:()=>Zwt,Weekdays:()=>pwt,Weeks:()=>gwt,YearsDropdown:()=>Mwt});S();function G_t(e){return q("span",{...e})}S();function K_t(e){let{size:r=24,orientation:a="left",className:i,style:f}=e;return q("svg",{className:i,style:f,width:r,height:r,viewBox:"0 0 24 24"},a==="up"&&q("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),a==="down"&&q("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),a==="left"&&q("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),a==="right"&&q("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}S();function X_t(e){let{day:r,modifiers:a,...i}=e;return q("td",{...i})}S();function Q_t(e){let{day:r,modifiers:a,...i}=e,f=b(null);return h(()=>{if(a.focused)f.current?.focus()},[a.focused]),q("button",{ref:f,...i})}S();var cr;(function(e){e.Root="root",e.Chevron="chevron",e.Day="day",e.DayButton="day_button",e.CaptionLabel="caption_label",e.Dropdowns="dropdowns",e.Dropdown="dropdown",e.DropdownRoot="dropdown_root",e.Footer="footer",e.MonthGrid="month_grid",e.MonthCaption="month_caption",e.MonthsDropdown="months_dropdown",e.Month="month",e.Months="months",e.Nav="nav",e.NextMonthButton="button_next",e.PreviousMonthButton="button_previous",e.Week="week",e.Weeks="weeks",e.Weekday="weekday",e.Weekdays="weekdays",e.WeekNumber="week_number",e.WeekNumberHeader="week_number_header",e.YearsDropdown="years_dropdown"})(cr||(cr={}));var Sa;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(Sa||(Sa={}));var ol;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(ol||(ol={}));var Ss;(function(e){e.weeks_before_enter="weeks_before_enter",e.weeks_before_exit="weeks_before_exit",e.weeks_after_enter="weeks_after_enter",e.weeks_after_exit="weeks_after_exit",e.caption_after_enter="caption_after_enter",e.caption_after_exit="caption_after_exit",e.caption_before_enter="caption_before_enter",e.caption_before_exit="caption_before_exit"})(Ss||(Ss={}));S();var sH=at(void 0);function N8(){let e=dt(sH);if(e===void 0)throw Error("useDayPicker() must be used within a custom component.");return e}function J_t(e){let{options:r,className:a,...i}=e,{classNames:f,components:s,styles:l}=N8(),c=[f[cr.Dropdown],a].join(" "),m=r?.find(({value:g})=>g===i.value);return q("span",{"data-disabled":i.disabled,className:f[cr.DropdownRoot],style:l?.[cr.DropdownRoot]},q(s.Select,{className:c,...i},r?.map(({value:g,label:M,disabled:v})=>q(s.Option,{key:g,value:g,disabled:v},M))),q("span",{className:f[cr.CaptionLabel],style:l?.[cr.CaptionLabel],"aria-hidden":!0},m?.label,q(s.Chevron,{orientation:"down",size:18,className:f[cr.Chevron],style:l?.[cr.Chevron]})))}S();function $_t(e){return q("div",{...e})}S();function ewt(e){return q("div",{...e})}S();function twt(e){let{calendarMonth:r,displayIndex:a,...i}=e;return q("div",{...i},e.children)}S();function rwt(e){let{calendarMonth:r,displayIndex:a,...i}=e;return q("div",{...i})}S();function owt(e){return q("table",{...e})}S();function awt(e){return q("div",{...e})}S();function nwt(e){let{components:r}=N8();return q(r.Dropdown,{...e})}S();function iwt(e){let{onPreviousClick:r,onNextClick:a,previousMonth:i,nextMonth:f,...s}=e,{components:l,classNames:c,styles:m,labels:{labelPrevious:g,labelNext:M}}=N8(),v=P((x)=>{if(f)a?.(x)},[f,a]),y=P((x)=>{if(i)r?.(x)},[i,r]);return q("nav",{...s},q(l.PreviousMonthButton,{type:"button",className:c[cr.PreviousMonthButton],style:m?.[cr.PreviousMonthButton],tabIndex:i?void 0:-1,"aria-disabled":i?void 0:!0,"aria-label":g(i),onClick:y},q(l.Chevron,{disabled:i?void 0:!0,className:c[cr.Chevron],style:m?.[cr.Chevron],orientation:"left"})),q(l.NextMonthButton,{type:"button",className:c[cr.NextMonthButton],style:m?.[cr.NextMonthButton],tabIndex:f?void 0:-1,"aria-disabled":f?void 0:!0,"aria-label":M(f),onClick:v},q(l.Chevron,{disabled:f?void 0:!0,orientation:"right",className:c[cr.Chevron],style:m?.[cr.Chevron]})))}S();function fwt(e){return q("button",{...e})}S();function swt(e){return q("option",{...e})}S();function lwt(e){return q("button",{...e})}S();function cwt(e){let{rootRef:r,...a}=e;return q("div",{...a,ref:r})}S();function uwt(e){return q("select",{...e})}S();function dwt(e){let{week:r,...a}=e;return q("tr",{...a})}S();function Zwt(e){return q("th",{...e})}S();function pwt(e){return q("thead",{"aria-hidden":!0},q("tr",{...e}))}S();function mwt(e){let{week:r,...a}=e;return q("th",{...a})}S();function hwt(e){return q("th",{...e})}S();function gwt(e){return q("tbody",{...e})}S();function Mwt(e){let{components:r}=N8();return q(r.Dropdown,{...e})}S();function nl(e,r,a=!1,i=ui){let{from:f,to:s}=e,{differenceInCalendarDays:l,isSameDay:c}=i;if(f&&s){if(l(s,f)<0)[f,s]=[s,f];return l(r,f)>=(a?1:0)&&l(s,r)>=(a?1:0)}if(!a&&s)return c(s,r);if(!a&&f)return c(f,r);return!1}function MR(e){return Boolean(e&&typeof e==="object"&&"before"in e&&"after"in e)}function F8(e){return Boolean(e&&typeof e==="object"&&"from"in e)}function vR(e){return Boolean(e&&typeof e==="object"&&"after"in e)}function xR(e){return Boolean(e&&typeof e==="object"&&"before"in e)}function C4(e){return Boolean(e&&typeof e==="object"&&"dayOfWeek"in e)}function I4(e,r){return Array.isArray(e)&&e.every(r.isDate)}function Ac(e,r,a=ui){let i=!Array.isArray(r)?[r]:r,{isSameDay:f,differenceInCalendarDays:s,isAfter:l}=a;return i.some((c)=>{if(typeof c==="boolean")return c;if(a.isDate(c))return f(e,c);if(I4(c,a))return c.some((m)=>f(e,m));if(F8(c))return nl(c,e,!1,a);if(C4(c)){if(!Array.isArray(c.dayOfWeek))return c.dayOfWeek===e.getDay();return c.dayOfWeek.includes(e.getDay())}if(MR(c)){let m=s(c.before,e),g=s(c.after,e),M=m>0,v=g<0;if(l(c.before,c.after))return v&&M;else return M||v}if(vR(c))return s(e,c.after)>0;if(xR(c))return s(c.before,e)>0;if(typeof c==="function")return c(e);return!1})}function uge(e,r,a,i,f){let{disabled:s,hidden:l,modifiers:c,showOutsideDays:m,broadcastCalendar:g,today:M=f.today()}=r,{isSameDay:v,isSameMonth:y,startOfMonth:x,isBefore:_,endOfMonth:j,isAfter:U}=f,T=a&&x(a),N=i&&j(i),G={[Sa.focused]:[],[Sa.outside]:[],[Sa.disabled]:[],[Sa.hidden]:[],[Sa.today]:[]},X={};for(let J of e){let{date:ee,displayMonth:re}=J,oe=Boolean(re&&!y(ee,re)),ae=Boolean(T&&_(ee,T)),ye=Boolean(N&&U(ee,N)),We=Boolean(s&&Ac(ee,s,f)),Ye=Boolean(l&&Ac(ee,l,f))||ae||ye||!g&&!m&&oe||g&&m===!1&&oe,ze=v(ee,M);if(oe)G.outside.push(J);if(We)G.disabled.push(J);if(Ye)G.hidden.push(J);if(ze)G.today.push(J);if(c)Object.keys(c).forEach((qe)=>{let ut=c?.[qe];if(!(ut?Ac(ee,ut,f):!1))return;if(X[qe])X[qe].push(J);else X[qe]=[J]})}return(J)=>{let ee={[Sa.focused]:!1,[Sa.disabled]:!1,[Sa.hidden]:!1,[Sa.outside]:!1,[Sa.today]:!1},re={};for(let oe in G){let ae=G[oe];ee[oe]=ae.some((ye)=>ye===J)}for(let oe in X)re[oe]=X[oe].some((ae)=>ae===J);return{...ee,...re}}}function dge(e,r,a={}){return Object.entries(e).filter(([,f])=>f===!0).reduce((f,[s])=>{if(a[s])f.push(a[s]);else if(r[Sa[s]])f.push(r[Sa[s]]);else if(r[ol[s]])f.push(r[ol[s]]);return f},[r[cr.Day]])}function Zge(e){return{...lH,...e}}function pge(e){let r={"data-mode":e.mode??void 0,"data-required":"required"in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0,"data-broadcast-calendar":e.broadcastCalendar||void 0,"data-nav-layout":e.navLayout||void 0};return Object.entries(e).forEach(([a,i])=>{if(a.startsWith("data-"))r[a]=i}),r}function $2(){let e={};for(let r in cr)e[cr[r]]=`rdp-${cr[r]}`;for(let r in Sa)e[Sa[r]]=`rdp-${Sa[r]}`;for(let r in ol)e[ol[r]]=`rdp-${ol[r]}`;for(let r in Ss)e[Ss[r]]=`rdp-${Ss[r]}`;return e}var cH={};Oe(cH,{formatCaption:()=>vwt,formatDay:()=>xwt,formatMonthDropdown:()=>ywt,formatWeekNumber:()=>_wt,formatWeekNumberHeader:()=>wwt,formatWeekdayName:()=>bwt,formatYearDropdown:()=>zwt});function vwt(e,r,a){return(a??new Vn(r)).formatMonthYear(e)}function xwt(e,r,a){return(a??new Vn(r)).format(e,"d")}function ywt(e,r=ui){return r.format(e,"LLLL")}function bwt(e,r,a){return(a??new Vn(r)).format(e,"cccccc")}function _wt(e,r=ui){if(e<10)return r.formatNumber(`0${e.toLocaleString()}`);return r.formatNumber(`${e.toLocaleString()}`)}function wwt(){return""}function zwt(e,r=ui){return r.format(e,"yyyy")}function mge(e){return{...cH,...e}}var bH={};Oe(bH,{labelDayButton:()=>uH,labelGrid:()=>dH,labelGridcell:()=>ZH,labelMonthDropdown:()=>pH,labelNav:()=>mH,labelNext:()=>hH,labelPrevious:()=>gH,labelWeekNumber:()=>vH,labelWeekNumberHeader:()=>xH,labelWeekday:()=>MH,labelYearDropdown:()=>yH});function uH(e,r,a,i){let f=(i??new Vn(a)).format(e,"PPPP");if(r.today)f=`Today, ${f}`;if(r.selected)f=`${f}, selected`;return f}function dH(e,r,a){return(a??new Vn(r)).formatMonthYear(e)}function ZH(e,r,a,i){let f=(i??new Vn(a)).format(e,"PPPP");if(r?.today)f=`Today, ${f}`;return f}function pH(e){return"Choose the Month"}function mH(){return""}function hH(e,r){return"Go to the Next Month"}function gH(e){return"Go to the Previous Month"}function MH(e,r,a){return(a??new Vn(r)).format(e,"cccc")}function vH(e,r){return`Week ${e}`}function xH(e){return"Week Number"}function yH(e){return"Choose the Year"}var ku=(e,r,a)=>{if(r)return r;if(a)return typeof a==="function"?a:(...i)=>a;return e};function hge(e,r){let a=r.locale?.labels??{};return{...bH,...e??{},labelDayButton:ku(uH,e?.labelDayButton,a.labelDayButton),labelMonthDropdown:ku(pH,e?.labelMonthDropdown,a.labelMonthDropdown),labelNext:ku(hH,e?.labelNext,a.labelNext),labelPrevious:ku(gH,e?.labelPrevious,a.labelPrevious),labelWeekNumber:ku(vH,e?.labelWeekNumber,a.labelWeekNumber),labelYearDropdown:ku(yH,e?.labelYearDropdown,a.labelYearDropdown),labelGrid:ku(dH,e?.labelGrid,a.labelGrid),labelGridcell:ku(ZH,e?.labelGridcell,a.labelGridcell),labelNav:ku(mH,e?.labelNav,a.labelNav),labelWeekNumberHeader:ku(xH,e?.labelWeekNumberHeader,a.labelWeekNumberHeader),labelWeekday:ku(MH,e?.labelWeekday,a.labelWeekday)}}function gge(e,r,a,i,f){let{startOfMonth:s,startOfYear:l,endOfYear:c,eachMonthOfInterval:m,getMonth:g}=f;return m({start:l(e),end:c(e)}).map((y)=>{let x=i.formatMonthDropdown(y,f),_=g(y),j=r&&y<s(r)||a&&y>s(a)||!1;return{value:_,label:x,disabled:j}})}function Mge(e,r={},a={}){let i={...r?.[cr.Day]};return Object.entries(e).filter(([,f])=>f===!0).forEach(([f])=>{i={...i,...a?.[f]}}),i}function vge(e,r,a,i){let f=i??e.today(),s=a?e.startOfBroadcastWeek(f,e):r?e.startOfISOWeek(f):e.startOfWeek(f),l=[];for(let c=0;c<7;c++){let m=e.addDays(s,c);l.push(m)}return l}function xge(e,r,a,i,f=!1){if(!e)return;if(!r)return;let{startOfYear:s,endOfYear:l,eachYearOfInterval:c,getYear:m}=i,g=s(e),M=l(r),v=c({start:g,end:M});if(f)v.reverse();return v.map((y)=>{let x=a.formatYearDropdown(y,i);return{value:m(y),label:x,disabled:!1}})}function yge(e,r={}){let{weekStartsOn:a,locale:i}=r,f=a??i?.options?.weekStartsOn??0,s=(c)=>{let m=typeof c==="number"||typeof c==="string"?new Date(c):c;return new wn(m.getFullYear(),m.getMonth(),m.getDate(),12,0,0,e)},l=(c)=>{let m=s(c);return new Date(m.getFullYear(),m.getMonth(),m.getDate(),0,0,0,0)};return{today:()=>s(wn.tz(e)),newDate:(c,m,g)=>new wn(c,m,g,12,0,0,e),startOfDay:(c)=>s(c),startOfWeek:(c,m)=>{let g=s(c),M=m?.weekStartsOn??f,v=(g.getDay()-M+7)%7;return g.setDate(g.getDate()-v),g},startOfISOWeek:(c)=>{let m=s(c),g=(m.getDay()-1+7)%7;return m.setDate(m.getDate()-g),m},startOfMonth:(c)=>{let m=s(c);return m.setDate(1),m},startOfYear:(c)=>{let m=s(c);return m.setMonth(0,1),m},endOfWeek:(c,m)=>{let g=s(c),y=(((m?.weekStartsOn??f)+6)%7-g.getDay()+7)%7;return g.setDate(g.getDate()+y),g},endOfISOWeek:(c)=>{let m=s(c),g=(7-m.getDay())%7;return m.setDate(m.getDate()+g),m},endOfMonth:(c)=>{let m=s(c);return m.setMonth(m.getMonth()+1,0),m},endOfYear:(c)=>{let m=s(c);return m.setMonth(11,31),m},eachMonthOfInterval:(c)=>{let m=s(c.start),g=s(c.end),M=[],v=new wn(m.getFullYear(),m.getMonth(),1,12,0,0,e),y=g.getFullYear()*12+g.getMonth();while(v.getFullYear()*12+v.getMonth()<=y)M.push(new wn(v,e)),v.setMonth(v.getMonth()+1,1);return M},addDays:(c,m)=>{let g=s(c);return g.setDate(g.getDate()+m),g},addWeeks:(c,m)=>{let g=s(c);return g.setDate(g.getDate()+m*7),g},addMonths:(c,m)=>{let g=s(c);return g.setMonth(g.getMonth()+m),g},addYears:(c,m)=>{let g=s(c);return g.setFullYear(g.getFullYear()+m),g},eachYearOfInterval:(c)=>{let m=s(c.start),g=s(c.end),M=[],v=new wn(m.getFullYear(),0,1,12,0,0,e);while(v.getFullYear()<=g.getFullYear())M.push(new wn(v,e)),v.setFullYear(v.getFullYear()+1,0,1);return M},getWeek:(c,m)=>{let g=l(c);return sR(g,{weekStartsOn:m?.weekStartsOn??f,firstWeekContainsDate:m?.firstWeekContainsDate??i?.options?.firstWeekContainsDate??1})},getISOWeek:(c)=>{let m=l(c);return fR(m)},differenceInCalendarDays:(c,m)=>{let g=l(c),M=l(m);return C8(g,M)},differenceInCalendarMonths:(c,m)=>{let g=l(c),M=l(m);return F5(g,M)}}}S();var eD=(e)=>{if(e instanceof HTMLElement)return e;return null},_H=(e)=>[...e.querySelectorAll("[data-animated-month]")??[]],Swt=(e)=>eD(e.querySelector("[data-animated-month]")),wH=(e)=>eD(e.querySelector("[data-animated-caption]")),zH=(e)=>eD(e.querySelector("[data-animated-weeks]")),Lwt=(e)=>eD(e.querySelector("[data-animated-nav]")),kwt=(e)=>eD(e.querySelector("[data-animated-weekdays]"));function bge(e,r,{classNames:a,months:i,focused:f,dateLib:s}){let l=b(null),c=b(i),m=b(!1);He(()=>{let g=c.current;if(c.current=i,!r||!e.current||!(e.current instanceof HTMLElement)||i.length===0||g.length===0||i.length!==g.length)return;let M=s.isSameMonth(i[0].date,g[0].date),v=s.isAfter(i[0].date,g[0].date),y=v?a[Ss.caption_after_enter]:a[Ss.caption_before_enter],x=v?a[Ss.weeks_after_enter]:a[Ss.weeks_before_enter],_=l.current,j=e.current.cloneNode(!0);if(j instanceof HTMLElement)_H(j).forEach((G)=>{if(!(G instanceof HTMLElement))return;let X=Swt(G);if(X&&G.contains(X))G.removeChild(X);let J=wH(G);if(J)J.classList.remove(y);let ee=zH(G);if(ee)ee.classList.remove(x)}),l.current=j;else l.current=null;if(m.current||M||f)return;let U=_ instanceof HTMLElement?_H(_):[],T=_H(e.current);if(T?.every((N)=>N instanceof HTMLElement)&&U?.every((N)=>N instanceof HTMLElement)){m.current=!0;let N=[];e.current.style.isolation="isolate";let G=Lwt(e.current);if(G)G.style.zIndex="1";T.forEach((X,J)=>{let ee=U[J];if(!ee)return;X.style.position="relative",X.style.overflow="hidden";let re=wH(X);if(re)re.classList.add(y);let oe=zH(X);if(oe)oe.classList.add(x);let ae=()=>{if(m.current=!1,e.current)e.current.style.isolation="";if(G)G.style.zIndex="";if(re)re.classList.remove(y);if(oe)oe.classList.remove(x);if(X.style.position="",X.style.overflow="",X.contains(ee))X.removeChild(ee)};N.push(ae),ee.style.pointerEvents="none",ee.style.position="absolute",ee.style.overflow="hidden",ee.setAttribute("aria-hidden","true");let ye=kwt(ee);if(ye)ye.style.opacity="0";let We=wH(ee);if(We)We.classList.add(v?a[Ss.caption_before_exit]:a[Ss.caption_after_exit]),We.addEventListener("animationend",ae);let Ye=zH(ee);if(Ye)Ye.classList.add(v?a[Ss.weeks_before_exit]:a[Ss.weeks_after_exit]);X.insertBefore(ee,X.firstChild)})}})}S();function _ge(e,r,a,i){let f=e[0],s=e[e.length-1],{ISOWeek:l,fixedWeeks:c,broadcastCalendar:m}=a??{},{addDays:g,differenceInCalendarDays:M,differenceInCalendarMonths:v,endOfBroadcastWeek:y,endOfISOWeek:x,endOfMonth:_,endOfWeek:j,isAfter:U,startOfBroadcastWeek:T,startOfISOWeek:N,startOfWeek:G}=i,X=m?T(f,i):l?N(f):G(f),J=m?y(s):l?x(_(s)):j(_(s)),ee=r&&(m?y(r):l?x(r):j(r)),re=ee&&U(J,ee)?ee:J,oe=M(re,X),ae=v(s,f)+1,ye=[];for(let ze=0;ze<=oe;ze++){let qe=g(X,ze);ye.push(qe)}let Ye=(m?35:42)*ae;if(c&&ye.length<Ye){let ze=Ye-ye.length;for(let qe=0;qe<ze;qe++){let ut=g(ye[ye.length-1],1);ye.push(ut)}}return ye}function wge(e){let r=[];return e.reduce((a,i)=>{let f=i.weeks.reduce((s,l)=>s.concat(l.days.slice()),r.slice());return a.concat(f.slice())},r.slice())}function zge(e,r,a,i){let{numberOfMonths:f=1}=a,s=[];for(let l=0;l<f;l++){let c=i.addMonths(e,l);if(r&&c>r)break;s.push(c)}return s}function SH(e,r,a,i){let{month:f,defaultMonth:s,today:l=i.today(),numberOfMonths:c=1}=e,m=f||s||l,{differenceInCalendarMonths:g,addMonths:M,startOfMonth:v}=i;if(a&&g(a,m)<c-1){let y=-1*(c-1);m=M(a,y)}if(r&&g(m,r)<0)m=r;return v(m)}function Sge(e,r,a,i){let{addDays:f,endOfBroadcastWeek:s,endOfISOWeek:l,endOfMonth:c,endOfWeek:m,getISOWeek:g,getWeek:M,startOfBroadcastWeek:v,startOfISOWeek:y,startOfWeek:x}=i,_=e.reduce((j,U)=>{let T=a.broadcastCalendar?v(U,i):a.ISOWeek?y(U):x(U),N=a.broadcastCalendar?s(U):a.ISOWeek?l(c(U)):m(c(U)),G=r.filter((re)=>re>=T&&re<=N),X=a.broadcastCalendar?35:42;if(a.fixedWeeks&&G.length<X){let re=r.filter((oe)=>{let ae=X-G.length;return oe>N&&oe<=f(N,ae)});G.push(...re)}let J=G.reduce((re,oe)=>{let ae=a.ISOWeek?g(oe):M(oe),ye=re.find((Ye)=>Ye.weekNumber===ae),We=new J2(oe,U,i);if(!ye)re.push(new fH(ae,[We]));else ye.days.push(We);return re},[]),ee=new iH(U,J);return j.push(ee),j},[]);if(!a.reverseMonths)return _;else return _.reverse()}function Lge(e,r){let{startMonth:a,endMonth:i}=e,{startOfYear:f,startOfDay:s,startOfMonth:l,endOfMonth:c,addYears:m,endOfYear:g,today:M}=r,v=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";if(a)a=l(a);else if(!a&&v)a=f(m(e.today??M(),-100));if(i)i=c(i);else if(!i&&v)i=g(e.today??M());return[a?s(a):a,i?s(i):i]}function kge(e,r,a,i){if(a.disableNavigation)return;let{pagedNavigation:f,numberOfMonths:s=1}=a,{startOfMonth:l,addMonths:c,differenceInCalendarMonths:m}=i,g=f?s:1,M=l(e);if(!r)return c(M,g);if(m(r,e)<s)return;return c(M,g)}function Cge(e,r,a,i){if(a.disableNavigation)return;let{pagedNavigation:f,numberOfMonths:s}=a,{startOfMonth:l,addMonths:c,differenceInCalendarMonths:m}=i,g=f?s??1:1,M=l(e);if(!r)return c(M,-g);if(m(M,r)<=0)return;return c(M,-g)}function Ige(e){let r=[];return e.reduce((a,i)=>a.concat(i.weeks.slice()),r.slice())}S();function B8(e,r){let[a,i]=u(e);return[r===void 0?a:r,i]}function Rge(e,r){let[a,i]=Lge(e,r),{startOfMonth:f,endOfMonth:s}=r,l=SH(e,a,i,r),[c,m]=B8(l,e.month?l:void 0);h(()=>{let X=SH(e,a,i,r);m(X)},[e.timeZone]);let{months:g,weeks:M,days:v,previousMonth:y,nextMonth:x}=D(()=>{let X=zge(c,i,{numberOfMonths:e.numberOfMonths},r),J=_ge(X,e.endMonth?s(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},r),ee=Sge(X,J,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},r),re=Ige(ee),oe=wge(ee),ae=Cge(c,a,e,r),ye=kge(c,i,e,r);return{months:ee,weeks:re,days:oe,previousMonth:ae,nextMonth:ye}},[r,c.getTime(),i?.getTime(),a?.getTime(),e.disableNavigation,e.broadcastCalendar,e.endMonth?.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:_,onMonthChange:j}=e,U=(X)=>M.some((J)=>J.days.some((ee)=>ee.isEqualTo(X))),T=(X)=>{if(_)return;let J=f(X);if(a&&J<f(a))J=f(a);if(i&&J>f(i))J=f(i);m(J),j?.(J)};return{months:g,weeks:M,days:v,navStart:a,navEnd:i,previousMonth:y,nextMonth:x,goToMonth:T,goToDay:(X)=>{if(U(X))return;T(X.date)}}}S();var wZ;(function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"})(wZ||(wZ={}));function Pge(e){return!e[Sa.disabled]&&!e[Sa.hidden]&&!e[Sa.outside]}function Tge(e,r,a,i){let f,s=-1;for(let l of e){let c=r(l);if(Pge(c)){if(c[Sa.focused]&&s<wZ.FocusedModifier)f=l,s=wZ.FocusedModifier;else if(i?.isEqualTo(l)&&s<wZ.LastFocused)f=l,s=wZ.LastFocused;else if(a(l.date)&&s<wZ.Selected)f=l,s=wZ.Selected;else if(c[Sa.today]&&s<wZ.Today)f=l,s=wZ.Today}}if(!f)f=e.find((l)=>Pge(r(l)));return f}function Age(e,r,a,i,f,s,l){let{ISOWeek:c,broadcastCalendar:m}=s,{addDays:g,addMonths:M,addWeeks:v,addYears:y,endOfBroadcastWeek:x,endOfISOWeek:_,endOfWeek:j,max:U,min:T,startOfBroadcastWeek:N,startOfISOWeek:G,startOfWeek:X}=l,ee={day:g,week:v,month:M,year:y,startOfWeek:(re)=>m?N(re,l):c?G(re):X(re),endOfWeek:(re)=>m?x(re):c?_(re):j(re)}[e](a,r==="after"?1:-1);if(r==="before"&&i)ee=U([i,ee]);else if(r==="after"&&f)ee=T([f,ee]);return ee}function LH(e,r,a,i,f,s,l,c=0){if(c>365)return;let m=Age(e,r,a.date,i,f,s,l),g=Boolean(s.disabled&&Ac(m,s.disabled,l)),M=Boolean(s.hidden&&Ac(m,s.hidden,l)),y=new J2(m,m,l);if(!g&&!M)return y;return LH(e,r,y,i,f,s,l,c+1)}function Ege(e,r,a,i,f){let{autoFocus:s}=e,[l,c]=u(),m=Tge(r.days,a,i||(()=>!1),l),[g,M]=u(s?m:void 0);return{isFocusTarget:(j)=>Boolean(m?.isEqualTo(j)),setFocused:M,focused:g,blur:()=>{c(g),M(void 0)},moveFocus:(j,U)=>{if(!g)return;let T=LH(j,U,g,r.navStart,r.navEnd,e,f);if(!T)return;if(e.disableNavigation){if(!r.days.some((G)=>G.isEqualTo(T)))return}r.goToDay(T),M(T)}}}function Dge(e,r){let{selected:a,required:i,onSelect:f}=e,[s,l]=B8(a,f?a:void 0),c=!f?s:a,{isSameDay:m}=r,g=(x)=>c?.some((_)=>m(_,x))??!1,{min:M,max:v}=e;return{selected:c,select:(x,_,j)=>{let U=[...c??[]];if(g(x)){if(c?.length===M)return;if(i&&c?.length===1)return;U=c?.filter((T)=>!m(T,x))}else if(c?.length===v)U=[x];else U=[...U,x];if(!f)l(U);return f?.(U,x,_,j),U},isSelected:g}}function Oge(e,r,a=0,i=0,f=!1,s=ui){let{from:l,to:c}=r||{},{isSameDay:m,isAfter:g,isBefore:M}=s,v;if(!l&&!c)v={from:e,to:a>0?void 0:e};else if(l&&!c)if(m(l,e))if(a===0)v={from:l,to:e};else if(f)v={from:l,to:void 0};else v=void 0;else if(M(e,l))v={from:e,to:l};else v={from:l,to:e};else if(l&&c)if(m(l,e)&&m(c,e))if(f)v={from:l,to:c};else v=void 0;else if(m(l,e))v={from:l,to:a>0?void 0:e};else if(m(c,e))v={from:e,to:a>0?void 0:e};else if(M(e,l))v={from:e,to:c};else if(g(e,l))v={from:l,to:e};else if(g(e,c))v={from:l,to:e};else throw Error("Invalid range");if(v?.from&&v?.to){let y=s.differenceInCalendarDays(v.to,v.from);if(i>0&&y>i)v={from:e,to:void 0};else if(a>1&&y<a)v={from:e,to:void 0}}return v}function jge(e,r,a=ui){let i=!Array.isArray(r)?[r]:r,f=e.from,s=a.differenceInCalendarDays(e.to,e.from),l=Math.min(s,6);for(let c=0;c<=l;c++){if(i.includes(f.getDay()))return!0;f=a.addDays(f,1)}return!1}function kH(e,r,a=ui){return nl(e,r.from,!1,a)||nl(e,r.to,!1,a)||nl(r,e.from,!1,a)||nl(r,e.to,!1,a)}function Nge(e,r,a=ui){let i=Array.isArray(r)?r:[r];if(i.filter((c)=>typeof c!=="function").some((c)=>{if(typeof c==="boolean")return c;if(a.isDate(c))return nl(e,c,!1,a);if(I4(c,a))return c.some((m)=>nl(e,m,!1,a));if(F8(c)){if(c.from&&c.to)return kH(e,{from:c.from,to:c.to},a);return!1}if(C4(c))return jge(e,c.dayOfWeek,a);if(MR(c)){if(a.isAfter(c.before,c.after))return kH(e,{from:a.addDays(c.after,1),to:a.addDays(c.before,-1)},a);return Ac(e.from,c,a)||Ac(e.to,c,a)}if(vR(c)||xR(c))return Ac(e.from,c,a)||Ac(e.to,c,a);return!1}))return!0;let l=i.filter((c)=>typeof c==="function");if(l.length){let c=e.from,m=a.differenceInCalendarDays(e.to,e.from);for(let g=0;g<=m;g++){if(l.some((M)=>M(c)))return!0;c=a.addDays(c,1)}}return!1}function Fge(e,r){let{disabled:a,excludeDisabled:i,resetOnSelect:f,selected:s,required:l,onSelect:c}=e,[m,g]=B8(s,c?s:void 0),M=!c?m:s;return{selected:M,select:(x,_,j)=>{let{min:U,max:T}=e,N;if(x){let G=M?.from,X=M?.to,J=!!G&&!!X,ee=!!G&&!!X&&r.isSameDay(G,X)&&r.isSameDay(x,G);if(f&&(J||!M?.from))if(!l&&ee)N=void 0;else N={from:x,to:void 0};else N=Oge(x,M,U,T,l,r)}if(i&&a&&N?.from&&N.to){if(Nge({from:N.from,to:N.to},a,r))N.from=x,N.to=void 0}if(!c)g(N);return c?.(N,x,_,j),N},isSelected:(x)=>M&&nl(M,x,!1,r)}}function Bge(e,r){let{selected:a,required:i,onSelect:f}=e,[s,l]=B8(a,f?a:void 0),c=!f?s:a,{isSameDay:m}=r;return{selected:c,select:(v,y,x)=>{let _=v;if(!i&&c&&c&&m(v,c))_=void 0;if(!f)l(_);if(i)f?.(_,v,y,x);else f?.(_,v,y,x);return _},isSelected:(v)=>c?m(c,v):!1}}function Yge(e,r){let a=Bge(e,r),i=Dge(e,r),f=Fge(e,r);switch(e.mode){case"single":return a;case"multiple":return i;case"range":return f;default:return}}function Cs(e,r){if(e instanceof wn&&e.timeZone===r)return e;return new wn(e,r)}function yR(e,r,a){if(!a)return Cs(e,r);let i=Cs(e,r),f=new wn(i.getFullYear(),i.getMonth(),i.getDate(),12,0,0,r);return new Date(f.getTime())}function Uge(e,r,a){if(typeof e==="boolean"||typeof e==="function")return e;if(e instanceof Date)return yR(e,r,a);if(Array.isArray(e))return e.map((i)=>i instanceof Date?yR(i,r,a):i);if(F8(e))return{...e,from:e.from?Cs(e.from,r):e.from,to:e.to?Cs(e.to,r):e.to};if(MR(e))return{before:yR(e.before,r,a),after:yR(e.after,r,a)};if(vR(e))return{after:yR(e.after,r,a)};if(xR(e))return{before:yR(e.before,r,a)};return e}function R4(e,r,a){if(!e)return e;if(Array.isArray(e))return e.map((i)=>Uge(i,r,a));return Uge(e,r,a)}function qge(e){let r=e,a=r.timeZone;if(a){if(r={...e,timeZone:a},r.today)r.today=Cs(r.today,a);if(r.month)r.month=Cs(r.month,a);if(r.defaultMonth)r.defaultMonth=Cs(r.defaultMonth,a);if(r.startMonth)r.startMonth=Cs(r.startMonth,a);if(r.endMonth)r.endMonth=Cs(r.endMonth,a);if(r.mode==="single"&&r.selected)r.selected=Cs(r.selected,a);else if(r.mode==="multiple"&&r.selected)r.selected=r.selected?.map((At)=>Cs(At,a));else if(r.mode==="range"&&r.selected)r.selected={from:r.selected.from?Cs(r.selected.from,a):r.selected.from,to:r.selected.to?Cs(r.selected.to,a):r.selected.to};if(r.disabled!==void 0)r.disabled=R4(r.disabled,a);if(r.hidden!==void 0)r.hidden=R4(r.hidden,a);if(r.modifiers){let At={};Object.keys(r.modifiers).forEach((_t)=>{At[_t]=R4(r.modifiers?.[_t],a)}),r.modifiers=At}}let{components:i,formatters:f,labels:s,dateLib:l,locale:c,classNames:m}=D(()=>{let At={...Q2,...r.locale},_t=r.broadcastCalendar?1:r.weekStartsOn,qt=r.noonSafe&&r.timeZone?yge(r.timeZone,{weekStartsOn:_t,locale:At}):void 0,Rr=r.dateLib&&qt?{...qt,...r.dateLib}:r.dateLib??qt,jr=new Vn({locale:At,weekStartsOn:_t,firstWeekContainsDate:r.firstWeekContainsDate,useAdditionalWeekYearTokens:r.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:r.useAdditionalDayOfYearTokens,timeZone:r.timeZone,numerals:r.numerals},Rr);return{dateLib:jr,components:Zge(r.components),formatters:mge(r.formatters),labels:hge(r.labels,jr.options),locale:At,classNames:{...$2(),...r.classNames}}},[r.locale,r.broadcastCalendar,r.weekStartsOn,r.firstWeekContainsDate,r.useAdditionalWeekYearTokens,r.useAdditionalDayOfYearTokens,r.timeZone,r.numerals,r.dateLib,r.noonSafe,r.components,r.formatters,r.labels,r.classNames]);if(!r.today)r={...r,today:l.today()};let{captionLayout:g,mode:M,navLayout:v,numberOfMonths:y=1,onDayBlur:x,onDayClick:_,onDayFocus:j,onDayKeyDown:U,onDayMouseEnter:T,onDayMouseLeave:N,onNextClick:G,onPrevClick:X,showWeekNumber:J,styles:ee}=r,{formatCaption:re,formatDay:oe,formatMonthDropdown:ae,formatWeekNumber:ye,formatWeekNumberHeader:We,formatWeekdayName:Ye,formatYearDropdown:ze}=f,qe=Rge(r,l),{days:ut,months:$e,navStart:xt,navEnd:Dt,previousMonth:Yt,nextMonth:fe,goToMonth:yt}=qe,Wt=uge(ut,r,xt,Dt,l),{isSelected:Ee,select:lr,selected:sr}=Yge(r,l)??{},{blur:Jt,focused:Or,isFocusTarget:Gt,moveFocus:Kt,setFocused:ur}=Ege(r,qe,Wt,Ee??(()=>!1),l),{labelDayButton:Ir,labelGridcell:Er,labelGrid:dr,labelMonthDropdown:mo,labelNav:or,labelPrevious:Yr,labelNext:uo,labelWeekday:jo,labelWeekNumber:ho,labelWeekNumberHeader:Kn,labelYearDropdown:un}=s,Vo=D(()=>vge(l,r.ISOWeek,r.broadcastCalendar,r.today),[l,r.ISOWeek,r.broadcastCalendar,r.today]),Pn=M!==void 0||_!==void 0,$a=P(()=>{if(!Yt)return;yt(Yt),X?.(Yt)},[Yt,yt,X]),Hi=P(()=>{if(!fe)return;yt(fe),G?.(fe)},[yt,fe,G]),Ke=P((At,_t)=>(qt)=>{if(qt.preventDefault(),qt.stopPropagation(),ur(At),_t.disabled)return;lr?.(At.date,_t,qt),_?.(At.date,_t,qt)},[lr,_,ur]),Ct=P((At,_t)=>(qt)=>{ur(At),j?.(At.date,_t,qt)},[j,ur]),gr=P((At,_t)=>(qt)=>{Jt(),x?.(At.date,_t,qt)},[Jt,x]),Fr=P((At,_t)=>(qt)=>{let Rr={ArrowLeft:[qt.shiftKey?"month":"day",r.dir==="rtl"?"after":"before"],ArrowRight:[qt.shiftKey?"month":"day",r.dir==="rtl"?"before":"after"],ArrowDown:[qt.shiftKey?"year":"week","after"],ArrowUp:[qt.shiftKey?"year":"week","before"],PageUp:[qt.shiftKey?"year":"month","before"],PageDown:[qt.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(Rr[qt.key]){qt.preventDefault(),qt.stopPropagation();let[jr,ea]=Rr[qt.key];Kt(jr,ea)}U?.(At.date,_t,qt)},[Kt,U,r.dir]),ao=P((At,_t)=>(qt)=>{T?.(At.date,_t,qt)},[T]),Ho=P((At,_t)=>(qt)=>{N?.(At.date,_t,qt)},[N]),Ia=P((At,_t)=>(qt)=>{let Rr=Number(qt.target.value),jr=l.setMonth(l.startOfMonth(At),Rr);yt(l.addMonths(jr,-_t))},[l,yt]),Se=P((At,_t)=>(qt)=>{let Rr=Number(qt.target.value),jr=l.setYear(l.startOfMonth(At),Rr);yt(l.addMonths(jr,-_t))},[l,yt]),{className:Pe,style:De}=D(()=>({className:[m[cr.Root],r.className].filter(Boolean).join(" "),style:{...ee?.[cr.Root],...r.style}}),[m,r.className,r.style,ee]),Zt=pge(r),zt=(At)=>{let _t=ee?.[cr.Dropdown],qt=ee?.[At];if(!_t&&!qt)return;return{..._t,...qt}},Ot=b(null);bge(Ot,Boolean(r.animate),{classNames:m,months:$e,focused:Or,dateLib:l});let fr={dayPickerProps:r,selected:sr,select:lr,isSelected:Ee,months:$e,nextMonth:fe,previousMonth:Yt,goToMonth:yt,getModifiers:Wt,components:i,classNames:m,styles:ee,labels:s,formatters:f};return q(sH.Provider,{value:fr},q(i.Root,{rootRef:r.animate?Ot:void 0,className:Pe,style:De,dir:r.dir,id:r.id,lang:r.lang??c.code,nonce:r.nonce,title:r.title,role:r.role,"aria-label":r["aria-label"],"aria-labelledby":r["aria-labelledby"],...Zt},q(i.Months,{className:m[cr.Months],style:ee?.[cr.Months]},!r.hideNavigation&&!v&&q(i.Nav,{"data-animated-nav":r.animate?"true":void 0,className:m[cr.Nav],style:ee?.[cr.Nav],"aria-label":or(),onPreviousClick:$a,onNextClick:Hi,previousMonth:Yt,nextMonth:fe}),$e.map((At,_t)=>{let qt=r.reverseMonths?$e.length-1-_t:_t;return q(i.Month,{"data-animated-month":r.animate?"true":void 0,className:m[cr.Month],style:ee?.[cr.Month],key:_t,displayIndex:_t,calendarMonth:At},v==="around"&&!r.hideNavigation&&_t===0&&q(i.PreviousMonthButton,{type:"button",className:m[cr.PreviousMonthButton],style:ee?.[cr.PreviousMonthButton],tabIndex:Yt?void 0:-1,"aria-disabled":Yt?void 0:!0,"aria-label":Yr(Yt),onClick:$a,"data-animated-button":r.animate?"true":void 0},q(i.Chevron,{disabled:Yt?void 0:!0,className:m[cr.Chevron],style:ee?.[cr.Chevron],orientation:r.dir==="rtl"?"right":"left"})),q(i.MonthCaption,{"data-animated-caption":r.animate?"true":void 0,className:m[cr.MonthCaption],style:ee?.[cr.MonthCaption],calendarMonth:At,displayIndex:_t},g?.startsWith("dropdown")?q(i.DropdownNav,{className:m[cr.Dropdowns],style:ee?.[cr.Dropdowns]},(()=>{let Rr=g==="dropdown"||g==="dropdown-months"?q(i.MonthsDropdown,{key:"month",className:m[cr.MonthsDropdown],"aria-label":mo(),disabled:Boolean(r.disableNavigation),onChange:Ia(At.date,qt),options:gge(At.date,xt,Dt,f,l),style:zt(cr.MonthsDropdown),value:l.getMonth(At.date)}):q("span",{key:"month"},ae(At.date,l)),jr=g==="dropdown"||g==="dropdown-years"?q(i.YearsDropdown,{key:"year",className:m[cr.YearsDropdown],"aria-label":un(l.options),disabled:Boolean(r.disableNavigation),onChange:Se(At.date,qt),options:xge(xt,Dt,f,l,Boolean(r.reverseYears)),style:zt(cr.YearsDropdown),value:l.getYear(At.date)}):q("span",{key:"year"},ze(At.date,l));return l.getMonthYearOrder()==="year-first"?[jr,Rr]:[Rr,jr]})(),q("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},re(At.date,l.options,l))):q(i.CaptionLabel,{className:m[cr.CaptionLabel],style:ee?.[cr.CaptionLabel],role:"status","aria-live":"polite"},re(At.date,l.options,l))),v==="around"&&!r.hideNavigation&&_t===y-1&&q(i.NextMonthButton,{type:"button",className:m[cr.NextMonthButton],style:ee?.[cr.NextMonthButton],tabIndex:fe?void 0:-1,"aria-disabled":fe?void 0:!0,"aria-label":uo(fe),onClick:Hi,"data-animated-button":r.animate?"true":void 0},q(i.Chevron,{disabled:fe?void 0:!0,className:m[cr.Chevron],style:ee?.[cr.Chevron],orientation:r.dir==="rtl"?"left":"right"})),_t===y-1&&v==="after"&&!r.hideNavigation&&q(i.Nav,{"data-animated-nav":r.animate?"true":void 0,className:m[cr.Nav],style:ee?.[cr.Nav],"aria-label":or(),onPreviousClick:$a,onNextClick:Hi,previousMonth:Yt,nextMonth:fe}),q(i.MonthGrid,{role:"grid","aria-multiselectable":M==="multiple"||M==="range","aria-label":dr(At.date,l.options,l)||void 0,className:m[cr.MonthGrid],style:ee?.[cr.MonthGrid]},!r.hideWeekdays&&q(i.Weekdays,{"data-animated-weekdays":r.animate?"true":void 0,className:m[cr.Weekdays],style:ee?.[cr.Weekdays]},J&&q(i.WeekNumberHeader,{"aria-label":Kn(l.options),className:m[cr.WeekNumberHeader],style:ee?.[cr.WeekNumberHeader],scope:"col"},We()),Vo.map((Rr)=>q(i.Weekday,{"aria-label":jo(Rr,l.options,l),className:m[cr.Weekday],key:String(Rr),style:ee?.[cr.Weekday],scope:"col"},Ye(Rr,l.options,l)))),q(i.Weeks,{"data-animated-weeks":r.animate?"true":void 0,className:m[cr.Weeks],style:ee?.[cr.Weeks]},At.weeks.map((Rr)=>q(i.Week,{className:m[cr.Week],key:Rr.weekNumber,style:ee?.[cr.Week],week:Rr},J&&q(i.WeekNumber,{week:Rr,style:ee?.[cr.WeekNumber],"aria-label":ho(Rr.weekNumber,{locale:c}),className:m[cr.WeekNumber],scope:"row",role:"rowheader"},ye(Rr.weekNumber,l)),Rr.days.map((jr)=>{let{date:ea}=jr,nr=Wt(jr);if(nr[Sa.focused]=!nr.hidden&&Boolean(Or?.isEqualTo(jr)),nr[ol.selected]=Ee?.(ea)||nr.selected,F8(sr)){let{from:ff,to:La}=sr;nr[ol.range_start]=Boolean(ff&&La&&l.isSameDay(ea,ff)),nr[ol.range_end]=Boolean(ff&&La&&l.isSameDay(ea,La)),nr[ol.range_middle]=nl(sr,ea,!0,l)}let Go=Mge(nr,ee,r.modifiersStyles),Za=dge(nr,m,r.modifiersClassNames),Qn=!Pn&&!nr.hidden?Er(ea,nr,l.options,l):void 0;return q(i.Day,{key:`${jr.isoDate}_${jr.displayMonthId}`,day:jr,modifiers:nr,className:Za.join(" "),style:Go,role:"gridcell","aria-selected":nr.selected||void 0,"aria-label":Qn,"data-day":jr.isoDate,"data-month":jr.outside?jr.dateMonthId:void 0,"data-selected":nr.selected||void 0,"data-disabled":nr.disabled||void 0,"data-hidden":nr.hidden||void 0,"data-outside":jr.outside||void 0,"data-focused":nr.focused||void 0,"data-today":nr.today||void 0},!nr.hidden&&Pn?q(i.DayButton,{className:m[cr.DayButton],style:ee?.[cr.DayButton],type:"button",day:jr,modifiers:nr,disabled:!nr.focused&&nr.disabled||void 0,"aria-disabled":nr.focused&&nr.disabled||void 0,tabIndex:Gt(jr)?0:-1,"aria-label":Ir(ea,nr,l.options,l),onClick:Ke(jr,nr),onBlur:gr(jr,nr),onFocus:Ct(jr,nr),onKeyDown:Fr(jr,nr),onMouseEnter:ao(jr,nr),onMouseLeave:Ho(jr,nr)},oe(ea,l.options,l)):!nr.hidden&&oe(jr.date,l.options,l))}))))))})),r.footer&&q(i.Footer,{className:m[cr.Footer],style:ee?.[cr.Footer],role:"status","aria-live":"polite"},r.footer)))}function Vge({className:e,classNames:r,showOutsideDays:a=!0,captionLayout:i="label",buttonVariant:f="ghost",formatters:s,components:l,...c}){let m=$2();return t(qge,{showOutsideDays:a,className:C("group/calendar bg-background p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,e),captionLayout:i,formatters:{formatMonthDropdown:(g)=>g.toLocaleString("default",{month:"short"}),...s},classNames:{root:C("w-fit",m.root),months:C("relative flex flex-col gap-4 md:flex-row",m.months),month:C("flex w-full flex-col gap-4",m.month),nav:C("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",m.nav),button_previous:C(xN({variant:f}),"size-(--cell-size) p-0 select-none aria-disabled:opacity-50",m.button_previous),button_next:C(xN({variant:f}),"size-(--cell-size) p-0 select-none aria-disabled:opacity-50",m.button_next),month_caption:C("flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)",m.month_caption),dropdowns:C("flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium",m.dropdowns),dropdown_root:C("relative rounded-md border border-input shadow-xs has-focus:border-ring has-focus:ring-[3px] has-focus:ring-ring/50",m.dropdown_root),dropdown:C("absolute inset-0 bg-popover opacity-0",m.dropdown),caption_label:C("font-medium select-none",i==="label"?"text-sm":"flex h-8 items-center gap-1 rounded-md pr-1 pl-2 text-sm [&>svg]:size-3.5 [&>svg]:text-muted-foreground",m.caption_label),month_grid:"w-full border-collapse",weekdays:C("flex",m.weekdays),weekday:C("flex-1 rounded-md text-[0.8rem] font-normal text-muted-foreground select-none",m.weekday),week:C("mt-2 flex w-full",m.week),week_number_header:C("w-(--cell-size) select-none",m.week_number_header),week_number:C("text-[0.8rem] text-muted-foreground select-none",m.week_number),day:C("group/day relative aspect-square h-full w-full p-0 text-center select-none [&:last-child[data-selected=true]_button]:rounded-r-md",c.showWeekNumber?"[&:nth-child(2)[data-selected=true]_button]:rounded-l-md":"[&:first-child[data-selected=true]_button]:rounded-l-md",m.day),range_start:C("rounded-l-md bg-accent",m.range_start),range_middle:C("rounded-none",m.range_middle),range_end:C("rounded-r-md bg-accent",m.range_end),today:C("rounded-md bg-accent text-accent-foreground data-[selected=true]:rounded-none",m.today),outside:C("text-muted-foreground aria-selected:text-muted-foreground",m.outside),disabled:C("text-muted-foreground opacity-50",m.disabled),hidden:C("invisible",m.hidden),...r},components:{Root:({className:g,rootRef:M,...v})=>t("div",{"data-slot":"calendar",ref:M,className:C(g),...v}),Chevron:({className:g,orientation:M,...v})=>{if(M==="left")return t(rn,{className:C("size-4",g),...v});if(M==="right")return t(bt,{className:C("size-4",g),...v});return t(ve,{className:C("size-4",g),...v})},DayButton:Cwt,WeekNumber:({children:g,...M})=>t("td",{...M,children:t("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:g})}),...l},...c})}function Cwt({className:e,day:r,modifiers:a,...i}){let f=$2(),s=b(null);return h(()=>{if(a.focused)s.current?.focus()},[a.focused]),t(E,{ref:s,variant:"ghost",size:"icon","data-day":r.date.toLocaleDateString(),"data-selected-single":a.selected&&!a.range_start&&!a.range_end&&!a.range_middle,"data-range-start":a.range_start,"data-range-end":a.range_end,"data-range-middle":a.range_middle,className:C("flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground dark:hover:text-accent-foreground [&>span]:text-xs [&>span]:opacity-70",f.day,e),...i})}function so({className:e,orientation:r="horizontal",decorative:a=!0,...i}){return t(eRe,{"data-slot":"separator",decorative:a,orientation:r,className:C("shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e),...i})}S();function ya({value:e,onChange:r,placeholder:a="Pick a date",disabled:i,className:f}){let[s,l]=u(!1),[c,m]=u(e);h(()=>{if(s)m(e)},[s,e]);let g=Array.from({length:24},(j,U)=>U),M=Array.from({length:12},(j,U)=>U*5),v=(j)=>{if(j){let U=c?new Date(c):new Date;U.setFullYear(j.getFullYear()),U.setMonth(j.getMonth()),U.setDate(j.getDate()),m(U)}else m(void 0)},y=(j,U)=>{let T=c?new Date(c):new Date;if(j==="hour")T.setHours(U);else T.setMinutes(U);m(T)},x=(j)=>{let U=new Date;if(j==="24h")U=Wce(U,24);else if(j==="1w")U=w2(U,1);else if(j==="2w")U=w2(U,2);m(U)},_=()=>{r?.(c),l(!1)};return o(mt,{open:s,onOpenChange:l,children:[t(ht,{asChild:!0,children:o(E,{variant:"outline",disabled:i,className:C("w-full justify-start text-left font-normal h-9",!e&&"text-muted-foreground",f),children:[t(jn,{className:"mr-2 h-4 w-4"}),e?mr(e,"yyyy/MM/dd HH:mm"):t("span",{children:a})]})}),t(gt,{className:"w-[22rem] p-0",align:"start",children:o("div",{className:"flex flex-col w-full",children:[o("div",{className:"flex w-full",children:[t(Vge,{mode:"single",selected:c,onSelect:v,className:"grow"}),o("div",{className:"flex flex-col sm:flex-row sm:h-[300px] divide-y sm:divide-y-0 sm:divide-x border-t sm:border-t-0 border-l",children:[o(ce,{className:"w-64 sm:w-auto [&_[data-orientation=vertical]]:hidden",children:[t("div",{className:"flex sm:flex-col p-2",children:g.map((j)=>t(E,{size:"icon",variant:c&&c.getHours()===j?"default":"ghost",className:"sm:w-full shrink-0 aspect-square text-xs h-8 w-8",onClick:()=>y("hour",j),children:j.toString().padStart(2,"0")},j))}),t(FN,{orientation:"horizontal",className:"sm:hidden"})]}),o(ce,{className:"w-64 sm:w-auto [&_[data-orientation=vertical]]:hidden",children:[t("div",{className:"flex sm:flex-col p-2",children:M.map((j)=>t(E,{size:"icon",variant:c&&c.getMinutes()===j?"default":"ghost",className:"sm:w-full shrink-0 aspect-square text-xs h-8 w-8",onClick:()=>y("minute",j),children:j.toString().padStart(2,"0")},j))}),t(FN,{orientation:"horizontal",className:"sm:hidden"})]})]})]}),t(so,{}),o("div",{className:"p-2 flex items-center justify-between bg-muted/50",children:[o("div",{className:"flex gap-2",children:[t(E,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2",onClick:()=>x("24h"),children:"24 Hours"}),t(E,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2",onClick:()=>x("1w"),children:"1 Week"}),t(E,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2",onClick:()=>x("2w"),children:"2 Weeks"})]}),t(E,{size:"sm",className:"h-7 px-4",onClick:_,children:"Save"})]})]})})]})}S();var Iwt=[Qe.TODO,Qe.READY,Qe.IN_PROGRESS,Qe.IN_REVIEW,Qe.DONE,Qe.BLOCKED];function jd({teamId:e,currentTaskId:r,excludeTaskIds:a=[],value:i=[],knownTasks:f=[],onChange:s,disabled:l=!1,canEdit:c=!0,className:m}){let[g,M]=u(!1),[v,y]=u(Qe.TODO),[x,_]=u(""),[j,U]=u(()=>{let ae={};for(let ye of f)ae[ye.id]={title:ye.title,status:ye.status};return ae}),{data:T,isLoading:N}=L({queryKey:["teams",e,"kanban","tasks","status",v],queryFn:async()=>{let ae=await A.api.teams[":teamId"].kanban.tasks.$get({param:{teamId:e},query:{status:v,first:"100"}});if(!ae.ok)return{data:[]};return await ae.json()},enabled:!!e&&g}),G=T?.data||[];D(()=>{if(G.length>0)U((ae)=>{let ye=!1,We={...ae};for(let Ye of G)if(!We[Ye.id]||We[Ye.id].title!==Ye.title||We[Ye.id].status!==Ye.status)We[Ye.id]={title:Ye.title,status:Ye.status},ye=!0;return ye?We:ae})},[G]);let X=D(()=>{let ae=new Set(a);if(r)ae.add(r);return ae},[r,a]),J=D(()=>{let ae=x.trim().toLowerCase();return G.filter((ye)=>{if(X.has(ye.id))return!1;if(!ae)return!0;return ye.title.toLowerCase().includes(ae)})},[G,X,x]),ee=(ae)=>{if(!c||l)return;let We=i.includes(ae)?i.filter((Ye)=>Ye!==ae):[...i,ae];s?.(We)},re=(ae,ye)=>{if(ye.stopPropagation(),!c||l)return;s?.(i.filter((We)=>We!==ae))},oe=c&&!l;return o(mt,{open:g&&oe,onOpenChange:(ae)=>oe&&M(ae),children:[t(ht,{asChild:!0,children:t("div",{role:"button",tabIndex:oe?0:-1,className:C("w-full min-h-[36px] px-2.5 py-1.5 flex flex-wrap items-center gap-1.5 rounded-md border border-input bg-background text-xs transition-colors",oe?"cursor-pointer hover:border-ring/60 focus:outline-none focus:ring-2 focus:ring-ring/50":"cursor-not-allowed opacity-70",m),children:i.length===0?o("div",{className:"flex items-center gap-1.5 text-muted-foreground",children:[t(Fs,{className:"w-3.5 h-3.5 text-muted-foreground/70"}),t("span",{children:Lst()})]}):i.map((ae)=>{let ye=j[ae];return o("span",{className:"inline-flex items-center gap-1.5 px-2 py-0.5 rounded-md text-[11px] bg-muted text-foreground border border-border/80 shrink-0 max-w-[220px]",children:[ye?.status&&t("span",{className:C("px-1 py-0.2 rounded text-[9px] uppercase font-semibold shrink-0",j8(ye.status)),children:oo(ye.status)}),t("span",{className:"truncate font-medium",children:ye?.title||ae}),oe&&t("button",{type:"button",onClick:(We)=>re(ae,We),className:"text-muted-foreground hover:text-destructive shrink-0 p-0.5 -mr-1",children:t(Re,{className:"w-3 h-3"})})]},ae)})})}),o(gt,{align:"start",sideOffset:4,className:"w-[var(--radix-popover-trigger-width)] min-w-[320px] sm:min-w-[420px] max-w-[500px] p-2.5 space-y-2 bg-popover border border-border rounded-lg shadow-lg",children:[t("div",{className:"flex flex-wrap gap-1.5 pb-0.5",children:Iwt.map((ae)=>t("button",{type:"button",onClick:()=>y(ae),className:C("text-[11px] h-7 px-2.5 rounded-md font-medium transition-colors border shrink-0",v===ae?"bg-primary text-primary-foreground border-primary shadow-xs":"bg-muted/50 hover:bg-accent text-muted-foreground hover:text-foreground border-border/60"),children:oo(ae)},ae))}),o("div",{className:"relative",children:[t(Bt,{className:"w-3.5 h-3.5 absolute left-2.5 top-1/2 -translate-y-1/2 text-muted-foreground pointer-events-none"}),t(H,{value:x,onChange:(ae)=>_(ae.target.value),placeholder:DUe(),className:"h-8 pl-8 text-xs bg-muted/40",autoFocus:!0})]}),t("div",{className:"border rounded-md overflow-hidden bg-background/50",children:t(ce,{className:"h-48 p-1",children:N?t("div",{className:"flex items-center justify-center py-8",children:t(F,{className:"w-4 h-4 animate-spin text-muted-foreground"})}):J.length===0?t("div",{className:"py-8 text-center text-xs text-muted-foreground italic",children:Yfe()}):t("div",{className:"space-y-1",children:J.map((ae)=>{let ye=i.includes(ae.id);return o("div",{onClick:()=>ee(ae.id),className:C("flex items-center justify-between p-2 rounded-md hover:bg-accent cursor-pointer transition-colors text-xs border border-transparent",ye&&"bg-accent/50 border-border/50"),children:[o("div",{className:"flex items-center gap-2 min-w-0 flex-1 pr-2",children:[t("div",{className:C("w-4 h-4 rounded border flex items-center justify-center shrink-0 transition-colors",ye?"bg-primary border-primary text-primary-foreground":"border-input bg-background"),children:ye&&t(ke,{className:"w-3 h-3 stroke-[3]"})}),t("span",{className:C("px-1.5 py-0.5 rounded text-[10px] uppercase font-medium shrink-0",j8(ae.status)),children:oo(ae.status)}),t("span",{className:"font-medium text-foreground truncate",children:ae.title})]}),ae.assignee&&t("span",{className:"text-[10px] text-muted-foreground truncate shrink-0",children:ae.assignee.name})]},ae.id)})})})})]})]})}S();function Pr({className:e,...r}){return t(WLe,{"data-slot":"checkbox",className:C("peer size-4 shrink-0 rounded-[4px] border border-input shadow-xs transition-shadow outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:bg-input/30 dark:aria-invalid:ring-destructive/40 dark:data-[state=checked]:bg-primary",e),...r,children:t(KLe,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none",children:t(ke,{className:"size-3.5"})})})}function Kr(e){if(!e||e<=0)return"0 B";let r=1000,a=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.floor(Math.log(e)/Math.log(r));if(i<0)i=0;if(i>=a.length)i=a.length-1;let f=e/Math.pow(r,i);if(i===0)return`${Math.round(f)} B`;let s=parseFloat(f.toFixed(2));if(s>=1000&&i<a.length-1)return parseFloat((e/Math.pow(r,i+1)).toFixed(2))+" "+a[i+1];return`${s} ${a[i]}`}S();function Hge({teamId:e,initialProjectId:r,excludeAssetIds:a=[],isOpen:i,onClose:f,onConfirm:s}){let[l,c]=u(r||""),[m,g]=u(null),[M,v]=u(new Map),{data:y,isLoading:x}=L({queryKey:["teams",e,"projects"],queryFn:async()=>{let yt=await A.api.teams[":teamId"].projects.$get({param:{teamId:e},query:{first:"100"}});if(!yt.ok)throw Error("Failed to fetch projects");return await yt.json()},enabled:!!e&&i}),_=y?.data||[],j=l||(_[0]?.id??""),U=_.find((yt)=>yt.id===j),T=m?.id||U?.rootFolder||"",N=T===U?.rootFolder,{data:G,fetchNextPage:X,hasNextPage:J,isFetchingNextPage:ee,isLoading:re}=ft({queryKey:["folders",T,"children","folder","picker"],queryFn:async({pageParam:yt})=>{let Wt=await A.api.folders[":folderId"].children.$get({param:{folderId:T},query:{assetType:"folder",after:yt,first:"20"}});if(!Wt.ok)throw Error("Failed to fetch folders");return await Wt.json()},initialPageParam:"",getNextPageParam:(yt)=>yt.pageInfo?.cursor||void 0,enabled:!!T&&i}),{data:oe,fetchNextPage:ae,hasNextPage:ye,isFetchingNextPage:We,isLoading:Ye}=ft({queryKey:["folders",T,"children","file","picker"],queryFn:async({pageParam:yt})=>{let Wt=await A.api.folders[":folderId"].children.$get({param:{folderId:T},query:{assetType:"file",after:yt,first:"20"}});if(!Wt.ok)throw Error("Failed to fetch files");return await Wt.json()},initialPageParam:"",getNextPageParam:(yt)=>yt.pageInfo?.cursor||void 0,enabled:!!T&&i}),{ref:ze,inView:qe}=Nt();h(()=>{if(qe){if(J&&!ee)X();else if(ye&&!We)ae()}},[qe,J,ee,X,ye,We,ae]);let ut=re&&!G||Ye&&!oe,$e=ee||We,xt=D(()=>{let yt=G?.pages.flatMap((Ee)=>Ee.data??[])??[],Wt=oe?.pages.flatMap((Ee)=>Ee.data??[])??[];return[...yt,...Wt]},[G,oe]),Dt=(yt)=>{let Wt=new Map(M);if(Wt.has(yt.id))Wt.delete(yt.id);else{let Ee=U?`/${[U.name,...(yt.ancestorFolders||[]).map((lr)=>lr.name)].filter(Boolean).join("/")}`:"/";Wt.set(yt.id,{id:yt.id,name:yt.name,type:yt.type,proxyType:yt.proxyType??null,thumbnailUrl:yt.preview?.thumbnailUrl??null,path:Ee,creator:yt.creator?{id:yt.creator.id,name:yt.creator.name,image:yt.creator.image??void 0}:null,sizeByte:yt.sizeByte??0,fileCount:yt.fileCount??null,projectId:yt.projectId??U?.id??null,createdAt:yt.createdAt??new Date().toISOString()})}v(Wt)},Yt=()=>{if(!m||N)return;let yt=new Map(M);if(yt.has(m.id))yt.delete(m.id);else{let Wt=U?`/${[U.name,...(m.ancestorFolders||[]).map((Ee)=>Ee.name)].filter(Boolean).join("/")}`:"/";yt.set(m.id,{id:m.id,name:m.name,type:"folder",proxyType:null,thumbnailUrl:null,path:Wt,creator:m.creator?{id:m.creator.id,name:m.creator.name,image:m.creator.image??void 0}:null,sizeByte:m.sizeByte??0,fileCount:m.fileCount??null,projectId:m.projectId??U?.id??null,createdAt:m.createdAt??new Date().toISOString()})}v(yt)},fe=()=>{s(Array.from(M.values())),f()};return t(ue,{open:i,onOpenChange:(yt)=>{if(!yt)f()},children:o(ie,{className:"sm:max-w-4xl flex flex-col h-[650px] p-0 overflow-hidden gap-1",children:[t(me,{className:"px-4 py-3 border-b shrink-0",children:o("div",{className:"flex items-center gap-2",children:[t(er,{className:"w-5 h-5 text-primary"}),t(le,{children:$ft()})]})}),o("div",{className:"flex items-center gap-2.5 px-4 py-1.5 border-b bg-transparent shrink-0",children:[o("span",{className:"text-xs font-medium text-muted-foreground whitespace-nowrap",children:[j4e(),":"]}),t("div",{className:"w-64",children:o(Fe,{value:j,onValueChange:(yt)=>{c(yt),g(null)},children:[t(Ze,{className:"h-8 text-xs bg-background",children:t(Le,{placeholder:FU()})}),t(Be,{children:_.map((yt)=>t(ne,{value:yt.id,className:"text-xs",children:yt.name},yt.id))})]})})]}),o("div",{className:"flex-1 min-h-0 flex overflow-hidden",children:[t("div",{className:"w-1/3 min-h-0 border-r bg-sidebar/30 flex flex-col overflow-hidden",children:t(ce,{className:"flex-1 min-h-0 [&>div>div]:block!",children:U&&U.rootFolder?t("div",{className:"p-2",children:t(yr,{teamId:e,projectId:U.id,projectName:U.name,rootFolderId:U.rootFolder,onSelect:(yt)=>g(yt),selectedFolderId:T,hideCollections:!0,hideShares:!0,hideRecentlyDeleted:!0})}):t("div",{className:"flex items-center justify-center h-full p-6 text-xs text-muted-foreground",children:x?t(F,{className:"w-5 h-5 animate-spin text-muted-foreground"}):Ufe()})})}),o("div",{className:"flex-1 min-h-0 flex flex-col overflow-hidden bg-background",children:[o("div",{className:"p-2.5 px-4 border-b flex items-center justify-between bg-muted/20 shrink-0",children:[o("div",{className:"flex items-center gap-2 text-xs font-medium truncate",children:[t(er,{className:"w-4 h-4 text-muted-foreground shrink-0"}),t("span",{className:"truncate",children:m?m.name:U?.name||""}),N&&t("span",{className:"text-[10px] text-muted-foreground/70 bg-muted px-1.5 py-0.5 rounded",children:"Root"})]}),!N&&m&&t(E,{size:"sm",variant:M.has(m.id)?"secondary":"outline",className:"h-7 text-xs gap-1.5",onClick:Yt,disabled:a.includes(m.id),children:M.has(m.id)?o(Z,{children:[t(ke,{className:"w-3.5 h-3.5 text-primary"}),kg()]}):o(Z,{children:[t(pe,{className:"w-3.5 h-3.5"}),ast()]})})]}),t(ce,{className:"flex-1 min-h-0 [&>div>div]:block!",children:ut?t("div",{className:"flex items-center justify-center p-12",children:t(F,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):xt.length===0?o("div",{className:"flex flex-col items-center justify-center p-12 text-center text-xs text-muted-foreground gap-2",children:[t(er,{className:"w-8 h-8 opacity-30"}),t("p",{children:bXe()})]}):o("div",{className:"divide-y divide-border/40",children:[xt.map((yt)=>{let Wt=a.includes(yt.id),Ee=M.has(yt.id),lr=yt.type==="folder";return o("div",{onClick:()=>{if(!Wt)Dt(yt)},className:`flex items-center gap-3 px-4 py-2.5 hover:bg-muted/40 cursor-pointer transition-colors ${Ee?"bg-primary/5":""} ${Wt?"opacity-50 cursor-not-allowed":""}`,children:[t(Pr,{checked:Ee,disabled:Wt,onCheckedChange:()=>{if(!Wt)Dt(yt)},onClick:(sr)=>sr.stopPropagation()}),t("div",{className:"w-9 h-9 rounded bg-muted/60 border shrink-0 flex items-center justify-center overflow-hidden",children:yt.preview?.thumbnailUrl?t("img",{src:yt.preview.thumbnailUrl,alt:yt.name,className:"w-full h-full object-cover"}):lr?t(er,{className:"w-5 h-5 text-primary fill-primary/20"}):t(Xt,{className:"w-5 h-5 text-muted-foreground"})}),o("div",{className:"flex-1 min-w-0",children:[t("p",{className:"text-xs font-medium truncate text-foreground",children:yt.name}),o("p",{className:"text-[11px] text-muted-foreground truncate",children:[lr?`${yt.fileCount??0} items`:Kr(yt.sizeByte||0),yt.creator?.name?` • ${yt.creator.name}`:""]})]})]},yt.id)}),t("div",{ref:ze,className:"h-1"}),$e&&t("div",{className:"flex items-center justify-center p-3",children:t(F,{className:"w-4 h-4 animate-spin text-muted-foreground"})})]})})]})]}),o(Ge,{className:"p-3 px-4 border-t flex items-center justify-between sm:justify-between bg-muted/10 shrink-0",children:[t("div",{className:"text-xs text-muted-foreground",children:M.size>0&&oKe({count:M.size})}),o("div",{className:"flex items-center gap-2",children:[t(E,{variant:"outline",size:"sm",onClick:f,children:Ne()}),t(E,{size:"sm",onClick:fe,disabled:M.size===0,children:Ife()})]})]})]})})}function qd({teamId:e,projectId:r,assets:a,onAddAssets:i,onRemoveAsset:f,disabled:s=!1}){let[l,c]=u(!1),m=(g)=>{let M=new Set(a.map((y)=>y.id)),v=g.filter((y)=>!M.has(y.id));if(v.length>0)i(v)};return o("div",{className:"space-y-2",children:[o("div",{className:"flex items-center justify-between",children:[o("div",{className:"flex items-center gap-1.5 text-xs font-semibold text-foreground",children:[t(Ci,{className:"w-3.5 h-3.5 text-muted-foreground"}),t("span",{children:Pnt()}),a.length>0&&o("span",{className:"text-[11px] text-muted-foreground font-normal",children:["(",a.length,")"]})]}),!s&&t(E,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted",onClick:()=>c(!0),title:Ife(),children:t(pe,{className:"w-3.5 h-3.5"})})]}),t(so,{}),a.length===0?t("p",{className:"text-xs text-muted-foreground/70 py-1 italic",children:AQe()}):t("div",{className:"space-y-1.5 max-h-48 overflow-y-auto pr-1",children:a.map((g)=>{let M=g.type==="folder";return o("div",{className:"flex items-center justify-between gap-2 p-1.5 px-2 rounded-md bg-muted/40 hover:bg-muted/70 transition-colors text-xs border border-border/40",children:[o("div",{className:"flex items-center gap-2.5 min-w-0 flex-1",children:[t("div",{className:"w-7 h-7 rounded bg-muted border shrink-0 flex items-center justify-center overflow-hidden",children:g.thumbnailUrl?t("img",{src:g.thumbnailUrl,alt:g.name,className:"w-full h-full object-cover"}):M?t(er,{className:"w-4 h-4 text-primary fill-primary/20"}):t(Xt,{className:"w-4 h-4 text-muted-foreground"})}),o("div",{className:"flex-1 min-w-0",children:[t("p",{className:"font-medium truncate text-foreground leading-snug",children:g.name}),t("p",{className:"text-[10px] text-muted-foreground truncate leading-none mt-0.5",children:g.path||"/"})]})]}),o("div",{className:"flex items-center gap-2 shrink-0",children:[g.creator&&o("div",{className:"flex items-center gap-1 text-[11px] text-muted-foreground",title:g.creator.name,children:[o(Ce,{className:"w-4 h-4 text-[9px]",children:[t(Ie,{src:g.creator.image||void 0}),t(Te,{children:g.creator.name.slice(0,1).toUpperCase()})]}),t("span",{className:"hidden sm:inline text-[11px] max-w-[80px] truncate",children:g.creator.name})]}),!s&&t(E,{type:"button",variant:"ghost",size:"sm",className:"h-5 w-5 p-0 text-muted-foreground hover:text-destructive hover:bg-destructive/10",onClick:()=>f(g.id),title:qpt(),children:t(Re,{className:"w-3 h-3"})})]})]},g.id)})}),l&&t(Hge,{teamId:e,initialProjectId:r,excludeAssetIds:a.map((g)=>g.id),isOpen:l,onClose:()=>c(!1),onConfirm:m})]})}S();function Hd({teamId:e,currentProjectId:r,currentTargetFolderId:a,isOpen:i,onClose:f,onSelect:s}){let[l,c]=u(r||""),[m,g]=u(null),{data:M,isLoading:v}=L({queryKey:["teams",e,"projects"],queryFn:async()=>{let U=await A.api.teams[":teamId"].projects.$get({param:{teamId:e},query:{first:"100"}});if(!U.ok)throw Error("Failed to fetch projects");return await U.json()},enabled:!!e&&i}),y=M?.data||[],x=l||(y[0]?.id??""),_=y.find((U)=>U.id===x),j=()=>{if(!x)return;let U=m?.id||_?.rootFolder;if(U)s(x,U,m?.name||_?.name),f()};return t(ue,{open:i,onOpenChange:(U)=>!U&&f(),children:o(ie,{className:"sm:max-w-2xl flex flex-col h-[580px]",children:[t(me,{children:o("div",{className:"flex items-center gap-2",children:[t(er,{className:"w-5 h-5 text-primary"}),t(le,{children:xp()})]})}),o("div",{className:"flex flex-col gap-3 flex-1 overflow-hidden py-2",children:[o("div",{className:"space-y-1.5",children:[t("label",{className:"text-xs font-medium text-muted-foreground",children:FU()}),o(Fe,{value:x,onValueChange:(U)=>{c(U),g(null)},children:[t(Ze,{className:"h-9",children:t(Le,{placeholder:FU()})}),t(Be,{children:y.map((U)=>t(ne,{value:U.id,children:U.name},U.id))})]})]}),o("div",{className:"space-y-1.5 flex-1 flex flex-col overflow-hidden",children:[t("label",{className:"text-xs font-medium text-muted-foreground",children:Rp()}),t("div",{className:"border rounded-md flex-1 overflow-hidden bg-sidebar/50",children:t(ce,{className:"h-full",children:_&&_.rootFolder?t(yr,{teamId:e,projectId:_.id,projectName:_.name,rootFolderId:_.rootFolder,onSelect:g,selectedFolderId:m?.id||a||_.rootFolder,hideCollections:!0,hideShares:!0,hideRecentlyDeleted:!0}):t("div",{className:"flex items-center justify-center h-full p-6 text-xs text-muted-foreground",children:v?t(F,{className:"w-5 h-5 animate-spin text-muted-foreground"}):Ufe()})})})]})]}),o(Ge,{children:[t(E,{variant:"outline",onClick:f,children:Ne()}),t(E,{onClick:j,disabled:!x,children:Xa()})]})]})})}function Wge({teamId:e,task:r,canEdit:a=!0}){let i=K(),[f,s]=u(r.title),[l,c]=u(r.description||""),[m,g]=u(!1),[M,v]=u(null),y=b(null);h(()=>{s(r.title),c(r.description||"")},[r.id,r.title,r.description]);let{data:x=[]}=L({queryKey:["teams",e,"members","human"],queryFn:async()=>{let re=await A.api.teams[":teamId"].members.$get({param:{teamId:e},query:{includeAgents:"false"}});if(!re.ok)return[];let oe=await re.json();return Array.isArray(oe)?oe:[]},enabled:!!e}),{data:_=[]}=L({queryKey:["teams",e,"agents"],queryFn:async()=>{let re=await A.api.teams[":teamId"].agents.$get({param:{teamId:e}});if(!re.ok)return[];return await re.json()||[]},enabled:!!e}),{data:j}=L({queryKey:["teams",e,"kanban","goals"],queryFn:async()=>{let re=await A.api.teams[":teamId"].kanban.goals.$get({param:{teamId:e},query:{}});if(!re.ok)return{data:[]};return await re.json()},enabled:!!e}),U=j?.data||[],{mutate:T,isPending:N}=B({mutationFn:async(re)=>{let oe=await A.api.teams[":teamId"].kanban.tasks[":taskId"].$patch({param:{teamId:e,taskId:r.id},json:re});if(!oe.ok){let ae=await oe.json().catch(()=>({message:Tn()}));throw Error(ae.message||Tn())}return await oe.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","task",r.id]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]})},onError:(re)=>{k.error(re.message)}}),{mutate:G}=B({mutationFn:async(re)=>{let oe=await A.api.teams[":teamId"].kanban.tasks[":taskId"].assets.$post({param:{teamId:e,taskId:r.id},json:{assetIds:re.map((ae)=>ae.id)}});if(!oe.ok)throw Error("Failed to link assets");return await oe.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","task",r.id]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]}),k.success(Pfe())},onError:(re)=>{k.error(re.message)}}),{mutate:X}=B({mutationFn:async(re)=>{let oe=await A.api.teams[":teamId"].kanban.tasks[":taskId"].assets[":assetId"].$delete({param:{teamId:e,taskId:r.id,assetId:re}});if(!oe.ok)throw Error("Failed to unlink asset");return await oe.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","task",r.id]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]}),k.success(Tfe())},onError:(re)=>{k.error(re.message)}}),J=(re,oe)=>{if(re==="title")s(oe);if(re==="description")c(oe);if(y.current)clearTimeout(y.current);y.current=setTimeout(()=>{if(re==="title"&&oe.trim()&&oe.trim()!==r.title)T({title:oe.trim()});else if(re==="description"&&oe!==(r.description||""))T({description:oe.trim()||null})},600)},ee=r.isAgentTask;return o(ce,{className:"h-full p-5",children:[o("div",{className:"space-y-6 w-full pr-3",children:[o("div",{className:"space-y-1.5",children:[o("div",{className:"flex items-center justify-between",children:[t(Q,{htmlFor:"task-title",className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:Kg()}),N&&o("span",{className:"flex items-center gap-1 text-[11px] text-muted-foreground animate-pulse",children:[t(F,{className:"w-3 h-3 animate-spin"}),Rg()]})]}),t(H,{id:"task-title",value:f,onChange:(re)=>J("title",re.target.value),disabled:!a,className:"text-base font-semibold h-10 bg-background",placeholder:Wg()})]}),o("div",{className:"space-y-1.5",children:[t(Q,{htmlFor:"task-description",className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:Gg()}),t(_a,{id:"task-description",value:l,onChange:(re)=>J("description",re.target.value),disabled:!a,rows:5,className:"text-xs leading-relaxed bg-background",placeholder:Vg()})]}),o("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 p-4 rounded-lg bg-muted/20 border border-border/60",children:[o("div",{className:"sm:col-span-2 flex items-center justify-between space-x-2 rounded-md border border-border/60 bg-background/50 px-3 py-2 h-14",children:[o("div",{className:"space-y-0.5 min-w-0 pr-2",children:[o(Q,{className:"text-xs font-medium text-muted-foreground flex items-center gap-1.5",children:[t(St,{className:"w-3.5 h-3.5 text-orange-500"}),t("span",{children:Od()})]}),t("p",{className:"text-[11px] text-muted-foreground/80 line-clamp-1",children:Yg()})]}),t(je,{checked:r.isAgentTask,disabled:!0})]}),o("div",{className:"space-y-1.5",children:[t(Q,{className:"text-xs font-medium text-muted-foreground",children:Qg()}),o(Fe,{value:r.priority,onValueChange:(re)=>T({priority:re}),disabled:!a,children:[t(Ze,{className:"w-full h-8 text-xs bg-background",children:t(Le,{})}),t(Be,{children:Object.values(Br).map((re)=>t(ne,{value:re,children:t("span",{className:C("px-1.5 py-0.5 rounded text-[10px] uppercase font-medium",oi(re)),children:ni(re)})},re))})]})]}),o("div",{className:"space-y-1.5",children:[t(Q,{className:"text-xs font-medium text-muted-foreground",children:hd()}),o(Fe,{value:r.goal?.id||"none",onValueChange:(re)=>T({goalId:re==="none"?null:re}),disabled:!a,children:[t(Ze,{className:"w-full h-8 text-xs bg-background",children:t(Le,{placeholder:BXe()})}),o(Be,{children:[t(ne,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:"None"})}),U.filter((re)=>re.id!==Aa).map((re)=>t(ne,{value:re.id,children:o("div",{className:"flex items-center gap-2",children:[t(wo,{className:"w-3.5 h-3.5 text-primary"}),t("span",{children:re.title})]})},re.id))]})]})]}),o("div",{className:"space-y-1.5",children:[t(Q,{className:"text-xs font-medium text-muted-foreground",children:ee?Nd():Gm()}),o(Fe,{value:r.assignee?.id||"none",onValueChange:(re)=>T({assigneeId:re==="none"?null:re}),disabled:!a,children:[t(Ze,{className:"w-full h-8 text-xs bg-background",children:t(Le,{placeholder:hs()})}),o(Be,{children:[t(ne,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:hs()})}),ee?_.map((re)=>t(ne,{value:re.id,children:o("div",{className:"flex items-center gap-2",children:[t(St,{className:"w-3.5 h-3.5 text-purple-500"}),t("span",{children:re.name})]})},re.id)):x.map((re)=>t(ne,{value:re.id,children:o("div",{className:"flex items-center gap-2",children:[o(Ce,{size:"sm",className:"w-4 h-4",children:[t(Ie,{src:re.image}),t(Te,{className:"text-[8px]",children:re.name.slice(0,2).toUpperCase()})]}),t("span",{children:re.name})]})},re.id))]})]})]}),o("div",{className:"space-y-1.5",children:[t(Q,{className:"text-xs font-medium text-muted-foreground",children:Sg()}),o(Fe,{value:r.reporter?.id||"none",onValueChange:(re)=>T({reporterId:re==="none"?null:re}),disabled:!a,children:[t(Ze,{className:"w-full h-8 text-xs bg-background",children:t(Le,{placeholder:hs()})}),o(Be,{children:[t(ne,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:hs()})}),x.map((re)=>t(ne,{value:re.id,children:o("div",{className:"flex items-center gap-2",children:[o(Ce,{size:"sm",className:"w-4 h-4",children:[t(Ie,{src:re.image}),t(Te,{className:"text-[8px]",children:re.name.slice(0,2).toUpperCase()})]}),t("span",{children:re.name})]})},re.id))]})]})]}),ee&&o("div",{className:"sm:col-span-2 space-y-1.5",children:[t(Q,{className:"text-xs font-medium text-muted-foreground",children:Rp()}),t("div",{className:"flex items-center gap-2",children:o(E,{type:"button",variant:"outline",size:"sm",onClick:()=>g(!0),disabled:!a,className:"w-full justify-start h-8 text-xs bg-background truncate font-normal",children:[t(er,{className:"w-3.5 h-3.5 mr-2 text-primary shrink-0"}),t("span",{className:"truncate",children:M||(r.targetFolderId?"Selected Folder":xp())})]})})]}),o("div",{className:"space-y-1.5",children:[t(Q,{className:"text-xs font-medium text-muted-foreground",children:Dd()}),t(ya,{value:r.startDate?new Date(r.startDate):void 0,onChange:(re)=>T({startDate:re?re.toISOString():null}),disabled:!a,placeholder:Dd(),className:"h-8 text-xs bg-background"})]}),o("div",{className:"space-y-1.5",children:[t(Q,{className:"text-xs font-medium text-muted-foreground",children:cd()}),t(ya,{value:r.dueDate?new Date(r.dueDate):void 0,onChange:(re)=>T({dueDate:re?re.toISOString():null}),disabled:!a,placeholder:cd(),className:"h-8 text-xs bg-background"})]}),o("div",{className:"sm:col-span-2 space-y-1.5",children:[t(Q,{className:"text-xs font-medium text-muted-foreground",children:ng()}),t(jd,{teamId:e,currentTaskId:r.id,excludeTaskIds:r.dependents.map((re)=>re.id),value:r.dependencies.map((re)=>re.id),knownTasks:[...r.dependencies,...r.dependents],onChange:(re)=>T({parentIds:re}),canEdit:a})]}),t("div",{className:"sm:col-span-2 pt-1",children:t(qd,{teamId:e,projectId:r.projectId,assets:r.assets||[],onAddAssets:(re)=>G(re),onRemoveAsset:(re)=>X(re),disabled:!a})})]})]}),m&&t(Hd,{teamId:e,currentProjectId:r.projectId,currentTargetFolderId:r.targetFolderId,isOpen:m,onClose:()=>g(!1),onSelect:(re,oe,ae)=>{v(ae||"Selected Folder"),T({projectId:re,targetFolderId:oe})}})]})}S();S();function Is(){}function P4(){}function Gge(e,r){let a=r||{};return(e[e.length-1]===""?[...e,""]:e).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}var Rwt=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Pwt=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Twt={};function T4(e,r){return((r||Twt).jsx?Pwt:Rwt).test(e)}var Awt=/[ \t\n\f\r]/g;function CH(e){return typeof e==="object"?e.type==="text"?Kge(e.value):!1:Kge(e)}function Kge(e){return e.replace(Awt,"")===""}class Y8{constructor(e,r,a){if(this.normal=r,this.property=e,a)this.space=a}}Y8.prototype.normal={};Y8.prototype.property={};Y8.prototype.space=void 0;function IH(e,r){let a={},i={};for(let f of e)Object.assign(a,f.property),Object.assign(i,f.normal);return new Y8(a,i,r)}function tD(e){return e.toLowerCase()}class of{constructor(e,r){this.attribute=r,this.property=e}}of.prototype.attribute="";of.prototype.booleanish=!1;of.prototype.boolean=!1;of.prototype.commaOrSpaceSeparated=!1;of.prototype.commaSeparated=!1;of.prototype.defined=!1;of.prototype.mustUseProperty=!1;of.prototype.number=!1;of.prototype.overloadedBoolean=!1;of.prototype.property="";of.prototype.spaceSeparated=!1;of.prototype.space=void 0;var rD={};Oe(rD,{boolean:()=>Xr,booleanish:()=>Sn,commaOrSpaceSeparated:()=>sl,commaSeparated:()=>dM,number:()=>Qt,overloadedBoolean:()=>A4,spaceSeparated:()=>$o});var Ewt=0,Xr=LL(),Sn=LL(),A4=LL(),Qt=LL(),$o=LL(),dM=LL(),sl=LL();function LL(){return 2**++Ewt}var RH=Object.keys(rD);class bR extends of{constructor(e,r,a,i){let f=-1;super(e,r);if(Xge(this,"space",i),typeof a==="number")while(++f<RH.length){let s=RH[f];Xge(this,RH[f],(a&rD[s])===rD[s])}}}bR.prototype.defined=!0;function Xge(e,r,a){if(a)e[r]=a}function Xc(e){let r={},a={};for(let[i,f]of Object.entries(e.properties)){let s=new bR(i,e.transform(e.attributes||{},i),f,e.space);if(e.mustUseProperty&&e.mustUseProperty.includes(i))s.mustUseProperty=!0;r[i]=s,a[tD(i)]=i,a[tD(s.attribute)]=i}return new Y8(r,a,e.space)}var PH=Xc({properties:{ariaActiveDescendant:null,ariaAtomic:Sn,ariaAutoComplete:null,ariaBusy:Sn,ariaChecked:Sn,ariaColCount:Qt,ariaColIndex:Qt,ariaColSpan:Qt,ariaControls:$o,ariaCurrent:null,ariaDescribedBy:$o,ariaDetails:null,ariaDisabled:Sn,ariaDropEffect:$o,ariaErrorMessage:null,ariaExpanded:Sn,ariaFlowTo:$o,ariaGrabbed:Sn,ariaHasPopup:null,ariaHidden:Sn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:$o,ariaLevel:Qt,ariaLive:null,ariaModal:Sn,ariaMultiLine:Sn,ariaMultiSelectable:Sn,ariaOrientation:null,ariaOwns:$o,ariaPlaceholder:null,ariaPosInSet:Qt,ariaPressed:Sn,ariaReadOnly:Sn,ariaRelevant:null,ariaRequired:Sn,ariaRoleDescription:$o,ariaRowCount:Qt,ariaRowIndex:Qt,ariaRowSpan:Qt,ariaSelected:Sn,ariaSetSize:Qt,ariaSort:null,ariaValueMax:Qt,ariaValueMin:Qt,ariaValueNow:Qt,ariaValueText:null,role:null},transform(e,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()}});function E4(e,r){return r in e?e[r]:r}function D4(e,r){return E4(e,r.toLowerCase())}var Qge=Xc({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:dM,acceptCharset:$o,accessKey:$o,action:null,allow:null,allowFullScreen:Xr,allowPaymentRequest:Xr,allowUserMedia:Xr,alpha:Xr,alt:null,as:null,async:Xr,autoCapitalize:null,autoComplete:$o,autoFocus:Xr,autoPlay:Xr,blocking:$o,capture:null,charSet:null,checked:Xr,cite:null,className:$o,closedBy:null,colorSpace:null,cols:Qt,colSpan:Qt,command:null,commandFor:null,content:null,contentEditable:Sn,controls:Xr,controlsList:$o,coords:Qt|dM,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Xr,defer:Xr,dir:null,dirName:null,disabled:Xr,download:A4,draggable:Sn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Xr,formTarget:null,headers:$o,height:Qt,hidden:A4,high:Qt,href:null,hrefLang:null,htmlFor:$o,httpEquiv:$o,id:null,imageSizes:null,imageSrcSet:null,inert:Xr,inputMode:null,integrity:null,is:null,isMap:Xr,itemId:null,itemProp:$o,itemRef:$o,itemScope:Xr,itemType:$o,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Xr,low:Qt,manifest:null,max:null,maxLength:Qt,media:null,method:null,min:null,minLength:Qt,multiple:Xr,muted:Xr,name:null,nonce:null,noModule:Xr,noValidate:Xr,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Xr,optimum:Qt,pattern:null,ping:$o,placeholder:null,playsInline:Xr,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Xr,referrerPolicy:null,rel:$o,required:Xr,reversed:Xr,rows:Qt,rowSpan:Qt,sandbox:$o,scope:null,scoped:Xr,seamless:Xr,selected:Xr,shadowRootClonable:Xr,shadowRootCustomElementRegistry:Xr,shadowRootDelegatesFocus:Xr,shadowRootMode:null,shadowRootSerializable:Xr,shape:null,size:Qt,sizes:null,slot:null,span:Qt,spellCheck:Sn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Qt,step:null,style:null,tabIndex:Qt,target:null,title:null,translate:null,type:null,typeMustMatch:Xr,useMap:null,value:Sn,width:Qt,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:$o,axis:null,background:null,bgColor:null,border:Qt,borderColor:null,bottomMargin:Qt,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Xr,declare:Xr,event:null,face:null,frame:null,frameBorder:null,hSpace:Qt,leftMargin:Qt,link:null,longDesc:null,lowSrc:null,marginHeight:Qt,marginWidth:Qt,noResize:Xr,noHref:Xr,noShade:Xr,noWrap:Xr,object:null,profile:null,prompt:null,rev:null,rightMargin:Qt,rules:null,scheme:null,scrolling:Sn,standby:null,summary:null,text:null,topMargin:Qt,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Qt,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:Xr,disablePictureInPicture:Xr,disableRemotePlayback:Xr,exportParts:dM,part:$o,prefix:null,property:null,results:Qt,security:null,unselectable:null},space:"html",transform:D4});var Jge=Xc({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:sl,accentHeight:Qt,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Qt,amplitude:Qt,arabicForm:null,ascent:Qt,attributeName:null,attributeType:null,azimuth:Qt,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Qt,by:null,calcMode:null,capHeight:Qt,className:$o,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Qt,diffuseConstant:Qt,direction:null,display:null,dur:null,divisor:Qt,dominantBaseline:null,download:Xr,dx:null,dy:null,edgeMode:null,editable:null,elevation:Qt,enableBackground:null,end:null,event:null,exponent:Qt,externalResourcesRequired:null,fill:null,fillOpacity:Qt,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:dM,g2:dM,glyphName:dM,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Qt,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Qt,horizOriginX:Qt,horizOriginY:Qt,id:null,ideographic:Qt,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Qt,k:Qt,k1:Qt,k2:Qt,k3:Qt,k4:Qt,kernelMatrix:sl,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Qt,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Qt,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Qt,overlineThickness:Qt,paintOrder:null,panose1:null,path:null,pathLength:Qt,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:$o,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Qt,pointsAtY:Qt,pointsAtZ:Qt,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:sl,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:sl,rev:sl,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:sl,requiredFeatures:sl,requiredFonts:sl,requiredFormats:sl,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Qt,specularExponent:Qt,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Qt,strikethroughThickness:Qt,string:null,stroke:null,strokeDashArray:sl,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Qt,strokeOpacity:Qt,strokeWidth:null,style:null,surfaceScale:Qt,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:sl,tabIndex:Qt,tableValues:null,target:null,targetX:Qt,targetY:Qt,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:sl,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Qt,underlineThickness:Qt,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Qt,values:null,vAlphabetic:Qt,vMathematical:Qt,vectorEffect:null,vHanging:Qt,vIdeographic:Qt,version:null,vertAdvY:Qt,vertOriginX:Qt,vertOriginY:Qt,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Qt,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:E4});var TH=Xc({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,r){return"xlink:"+r.slice(5).toLowerCase()}});var AH=Xc({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:D4});var EH=Xc({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,r){return"xml:"+r.slice(3).toLowerCase()}});var DH={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Dwt=/[A-Z]/g,$ge=/-[a-z]/g,Owt=/^data[-\w.:]+$/i;function OH(e,r){let a=tD(r),i=r,f=of;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&Owt.test(r)){if(r.charAt(4)==="-"){let s=r.slice(5).replace($ge,Nwt);i="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{let s=r.slice(4);if(!$ge.test(s)){let l=s.replace(Dwt,jwt);if(l.charAt(0)!=="-")l="-"+l;r="data"+l}}f=bR}return new f(i,r)}function jwt(e){return"-"+e.toLowerCase()}function Nwt(e){return e.charAt(1).toUpperCase()}var eMe=IH([PH,Qge,TH,AH,EH],"html"),O4=IH([PH,Jge,TH,AH,EH],"svg");function tMe(e){return e.join(" ").trim()}var MMe=z(pMe(),1);var j4=mMe("end"),_R=mMe("start");function mMe(e){return r;function r(a){let i=a&&a.position&&a.position[e]||{};if(typeof i.line==="number"&&i.line>0&&typeof i.column==="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset==="number"&&i.offset>-1?i.offset:void 0}}}function FH(e){let r=_R(e),a=j4(e);if(r&&a)return{start:r,end:a}}function U8(e){if(!e||typeof e!=="object")return"";if("position"in e||"type"in e)return hMe(e.position);if("start"in e||"end"in e)return hMe(e);if("line"in e||"column"in e)return BH(e);return""}function BH(e){return gMe(e&&e.line)+":"+gMe(e&&e.column)}function hMe(e){return BH(e&&e.start)+"-"+BH(e&&e.end)}function gMe(e){return e&&typeof e==="number"?e:1}class di extends Error{constructor(e,r,a){super();if(typeof r==="string")a=r,r=void 0;let i="",f={},s=!1;if(r)if("line"in r&&"column"in r)f={place:r};else if("start"in r&&"end"in r)f={place:r};else if("type"in r)f={ancestors:[r],place:r.position};else f={...r};if(typeof e==="string")i=e;else if(!f.cause&&e)s=!0,i=e.message,f.cause=e;if(!f.ruleId&&!f.source&&typeof a==="string"){let c=a.indexOf(":");if(c===-1)f.ruleId=a;else f.source=a.slice(0,c),f.ruleId=a.slice(c+1)}if(!f.place&&f.ancestors&&f.ancestors){let c=f.ancestors[f.ancestors.length-1];if(c)f.place=c.position}let l=f.place&&"start"in f.place?f.place.start:f.place;this.ancestors=f.ancestors||void 0,this.cause=f.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=l?l.line:void 0,this.name=U8(f.place)||"1:1",this.place=f.place||void 0,this.reason=this.message,this.ruleId=f.ruleId||void 0,this.source=f.source||void 0,this.stack=s&&f.cause&&typeof f.cause.stack==="string"?f.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}di.prototype.file="";di.prototype.name="";di.prototype.reason="";di.prototype.message="";di.prototype.stack="";di.prototype.column=void 0;di.prototype.line=void 0;di.prototype.ancestors=void 0;di.prototype.cause=void 0;di.prototype.fatal=void 0;di.prototype.place=void 0;di.prototype.ruleId=void 0;di.prototype.source=void 0;var YH={}.hasOwnProperty,u0t=new Map,d0t=/[A-Z]/g,Z0t=new Set(["table","tbody","thead","tfoot","tr"]),p0t=new Set(["td","th"]),vMe="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function UH(e,r){if(!r||r.Fragment===void 0)throw TypeError("Expected `Fragment` in options");let a=r.filePath||void 0,i;if(r.development){if(typeof r.jsxDEV!=="function")throw TypeError("Expected `jsxDEV` in options when `development: true`");i=b0t(a,r.jsxDEV)}else{if(typeof r.jsx!=="function")throw TypeError("Expected `jsx` in production options");if(typeof r.jsxs!=="function")throw TypeError("Expected `jsxs` in production options");i=y0t(a,r.jsx,r.jsxs)}let f={Fragment:r.Fragment,ancestors:[],components:r.components||{},create:i,elementAttributeNameCase:r.elementAttributeNameCase||"react",evaluater:r.createEvaluater?r.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:r.ignoreInvalidStyle||!1,passKeys:r.passKeys!==!1,passNode:r.passNode||!1,schema:r.space==="svg"?O4:eMe,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},s=xMe(f,e,void 0);if(s&&typeof s!=="string")return s;return f.create(e,f.Fragment,{children:s||void 0},void 0)}function xMe(e,r,a){if(r.type==="element")return m0t(e,r,a);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return h0t(e,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return M0t(e,r,a);if(r.type==="mdxjsEsm")return g0t(e,r);if(r.type==="root")return v0t(e,r,a);if(r.type==="text")return x0t(e,r)}function m0t(e,r,a){let i=e.schema,f=i;if(r.tagName.toLowerCase()==="svg"&&i.space==="html")f=O4,e.schema=f;e.ancestors.push(r);let s=bMe(e,r.tagName,!1),l=_0t(e,r),c=VH(e,r);if(Z0t.has(r.tagName))c=c.filter(function(m){return typeof m==="string"?!CH(m):!0});return yMe(e,l,s,r),qH(l,c),e.ancestors.pop(),e.schema=i,e.create(r,s,l,a)}function h0t(e,r){if(r.data&&r.data.estree&&e.evaluater){let i=r.data.estree.body[0];return Is(i.type==="ExpressionStatement"),e.evaluater.evaluateExpression(i.expression)}aD(e,r.position)}function g0t(e,r){if(r.data&&r.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(r.data.estree);aD(e,r.position)}function M0t(e,r,a){let i=e.schema,f=i;if(r.name==="svg"&&i.space==="html")f=O4,e.schema=f;e.ancestors.push(r);let s=r.name===null?e.Fragment:bMe(e,r.name,!0),l=w0t(e,r),c=VH(e,r);return yMe(e,l,s,r),qH(l,c),e.ancestors.pop(),e.schema=i,e.create(r,s,l,a)}function v0t(e,r,a){let i={};return qH(i,VH(e,r)),e.create(r,e.Fragment,i,a)}function x0t(e,r){return r.value}function yMe(e,r,a,i){if(typeof a!=="string"&&a!==e.Fragment&&e.passNode)r.node=i}function qH(e,r){if(r.length>0){let a=r.length>1?r:r[0];if(a)e.children=a}}function y0t(e,r,a){return i;function i(f,s,l,c){let g=Array.isArray(l.children)?a:r;return c?g(s,l,c):g(s,l)}}function b0t(e,r){return a;function a(i,f,s,l){let c=Array.isArray(s.children),m=_R(i);return r(f,s,l,c,{columnNumber:m?m.column-1:void 0,fileName:e,lineNumber:m?m.line:void 0},void 0)}}function _0t(e,r){let a={},i,f;for(f in r.properties)if(f!=="children"&&YH.call(r.properties,f)){let s=z0t(e,f,r.properties[f]);if(s){let[l,c]=s;if(e.tableCellAlignToStyle&&l==="align"&&typeof c==="string"&&p0t.has(r.tagName))i=c;else a[l]=c}}if(i){let s=a.style||(a.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=i}return a}function w0t(e,r){let a={};for(let i of r.attributes)if(i.type==="mdxJsxExpressionAttribute")if(i.data&&i.data.estree&&e.evaluater){let s=i.data.estree.body[0];Is(s.type==="ExpressionStatement");let l=s.expression;Is(l.type==="ObjectExpression");let c=l.properties[0];Is(c.type==="SpreadElement"),Object.assign(a,e.evaluater.evaluateExpression(c.argument))}else aD(e,r.position);else{let f=i.name,s;if(i.value&&typeof i.value==="object")if(i.value.data&&i.value.data.estree&&e.evaluater){let c=i.value.data.estree.body[0];Is(c.type==="ExpressionStatement"),s=e.evaluater.evaluateExpression(c.expression)}else aD(e,r.position);else s=i.value===null?!0:i.value;a[f]=s}return a}function VH(e,r){let a=[],i=-1,f=e.passKeys?new Map:u0t;while(++i<r.children.length){let s=r.children[i],l;if(e.passKeys){let m=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(m){let g=f.get(m)||0;l=m+"-"+g,f.set(m,g+1)}}let c=xMe(e,s,l);if(c!==void 0)a.push(c)}return a}function z0t(e,r,a){let i=OH(e.schema,r);if(a===null||a===void 0||typeof a==="number"&&Number.isNaN(a))return;if(Array.isArray(a))a=i.commaSeparated?Gge(a):tMe(a);if(i.property==="style"){let f=typeof a==="object"?a:S0t(e,String(a));if(e.stylePropertyNameCase==="css")f=L0t(f);return["style",f]}return[e.elementAttributeNameCase==="react"&&i.space?DH[i.property]||i.property:i.attribute,a]}function S0t(e,r){try{return MMe.default(r,{reactCompat:!0})}catch(a){if(e.ignoreInvalidStyle)return{};let i=a,f=new di("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw f.file=e.filePath||void 0,f.url=vMe+"#cannot-parse-style-attribute",f}}function bMe(e,r,a){let i;if(!a)i={type:"Literal",value:r};else if(r.includes(".")){let f=r.split("."),s=-1,l;while(++s<f.length){let c=T4(f[s])?{type:"Identifier",name:f[s]}:{type:"Literal",value:f[s]};l=l?{type:"MemberExpression",object:l,property:c,computed:Boolean(s&&c.type==="Literal"),optional:!1}:c}Is(l,"always a result"),i=l}else i=T4(r)&&!/^[a-z]/.test(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};if(i.type==="Literal"){let f=i.value;return YH.call(e.components,f)?e.components[f]:f}if(e.evaluater)return e.evaluater.evaluateExpression(i);aD(e)}function aD(e,r){let a=new di("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:r,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=vMe+"#cannot-handle-mdx-estrees-without-createevaluater",a}function L0t(e){let r={},a;for(a in e)if(YH.call(e,a))r[k0t(a)]=e[a];return r}function k0t(e){let r=e.replace(d0t,C0t);if(r.slice(0,3)==="ms-")r="-"+r;return r}function C0t(e){return"-"+e.toLowerCase()}var nD={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};S();var I0t={};function HH(e,r){let a=r||I0t,i=typeof a.includeImageAlt==="boolean"?a.includeImageAlt:!0,f=typeof a.includeHtml==="boolean"?a.includeHtml:!0;return wMe(e,i,f)}function wMe(e,r,a){if(R0t(e)){if("value"in e)return e.type==="html"&&!a?"":e.value;if(r&&"alt"in e&&e.alt)return e.alt;if("children"in e)return _Me(e.children,r,a)}if(Array.isArray(e))return _Me(e,r,a);return""}function _Me(e,r,a){let i=[],f=-1;while(++f<e.length)i[f]=wMe(e[f],r,a);return i.join("")}function R0t(e){return Boolean(e&&typeof e==="object")}var zMe=document.createElement("i");function wR(e){let r="&"+e+";";zMe.innerHTML=r;let a=zMe.textContent;if(a.charCodeAt(a.length-1)===59&&e!=="semi")return!1;return a===r?!1:a}function af(e,r,a,i){let f=e.length,s=0,l;if(r<0)r=-r>f?0:f+r;else r=r>f?f:r;if(a=a>0?a:0,i.length<1e4)l=Array.from(i),l.unshift(r,a),e.splice(...l);else{if(a)e.splice(r,a);while(s<i.length)l=i.slice(s,s+1e4),l.unshift(r,0),e.splice(...l),s+=1e4,r+=1e4}}function Ts(e,r){if(e.length>0)return af(e,e.length,0,r),e;return r}var SMe={}.hasOwnProperty;function LMe(e){let r={},a=-1;while(++a<e.length)P0t(r,e[a]);return r}function P0t(e,r){let a;for(a in r){let f=(SMe.call(e,a)?e[a]:void 0)||(e[a]={}),s=r[a],l;if(s)for(l in s){if(!SMe.call(f,l))f[l]=[];let c=s[l];T0t(f[l],Array.isArray(c)?c:c?[c]:[])}}}function T0t(e,r){let a=-1,i=[];while(++a<r.length)(r[a].add==="after"?e:i).push(r[a]);af(e,0,0,i)}function N4(e,r){let a=Number.parseInt(e,r);if(a<9||a===11||a>13&&a<32||a>126&&a<160||a>55295&&a<57344||a>64975&&a<65008||(a&65535)===65535||(a&65535)===65534||a>1114111)return"�";return String.fromCodePoint(a)}function ZM(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var $l=q8(/[A-Za-z]/),Ui=q8(/[\dA-Za-z]/),kMe=q8(/[#-'*+\--9=?A-Z^-~]/);function iD(e){return e!==null&&(e<32||e===127)}var fD=q8(/\d/),CMe=q8(/[\dA-Fa-f]/),IMe=q8(/[!-/:-@[-`{-~]/);function Cr(e){return e!==null&&e<-2}function Wn(e){return e!==null&&(e<0||e===32)}function Jr(e){return e===-2||e===-1||e===32}var RMe=q8(/\p{P}|\p{S}/u),PMe=q8(/\s/);function q8(e){return r;function r(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function eu(e){let r=[],a=-1,i=0,f=0;while(++a<e.length){let s=e.charCodeAt(a),l="";if(s===37&&Ui(e.charCodeAt(a+1))&&Ui(e.charCodeAt(a+2)))f=2;else if(s<128){if(!/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s)))l=String.fromCharCode(s)}else if(s>55295&&s<57344){let c=e.charCodeAt(a+1);if(s<56320&&c>56319&&c<57344)l=String.fromCharCode(s,c),f=1;else l="�"}else l=String.fromCharCode(s);if(l)r.push(e.slice(i,a),encodeURIComponent(l)),i=a+f+1,l="";if(f)a+=f,f=0}return r.join("")+e.slice(i)}function io(e,r,a,i){let f=i?i-1:Number.POSITIVE_INFINITY,s=0;return l;function l(m){if(Jr(m))return e.enter(a),c(m);return r(m)}function c(m){if(Jr(m)&&s++<f)return e.consume(m),c;return e.exit(a),r(m)}}var TMe={tokenize:A0t};function A0t(e){let r=e.attempt(this.parser.constructs.contentInitial,i,f),a;return r;function i(c){if(c===null){e.consume(c);return}return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),io(e,r,"linePrefix")}function f(c){return e.enter("paragraph"),s(c)}function s(c){let m=e.enter("chunkText",{contentType:"text",previous:a});if(a)a.next=m;return a=m,l(c)}function l(c){if(c===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(c);return}if(Cr(c))return e.consume(c),e.exit("chunkText"),s;return e.consume(c),l}}var EMe={tokenize:E0t},AMe={tokenize:D0t};function E0t(e){let r=this,a=[],i=0,f,s,l;return c;function c(G){if(i<a.length){let X=a[i];return r.containerState=X[1],e.attempt(X[0].continuation,m,g)(G)}return g(G)}function m(G){if(i++,r.containerState._closeFlow){if(r.containerState._closeFlow=void 0,f)N();let X=r.events.length,J=X,ee;while(J--)if(r.events[J][0]==="exit"&&r.events[J][1].type==="chunkFlow"){ee=r.events[J][1].end;break}T(i);let re=X;while(re<r.events.length)r.events[re][1].end={...ee},re++;return af(r.events,J+1,0,r.events.slice(X)),r.events.length=re,g(G)}return c(G)}function g(G){if(i===a.length){if(!f)return y(G);if(f.currentConstruct&&f.currentConstruct.concrete)return _(G);r.interrupt=Boolean(f.currentConstruct&&!f._gfmTableDynamicInterruptHack)}return r.containerState={},e.check(AMe,M,v)(G)}function M(G){if(f)N();return T(i),y(G)}function v(G){return r.parser.lazy[r.now().line]=i!==a.length,l=r.now().offset,_(G)}function y(G){return r.containerState={},e.attempt(AMe,x,_)(G)}function x(G){return i++,a.push([r.currentConstruct,r.containerState]),y(G)}function _(G){if(G===null){if(f)N();T(0),e.consume(G);return}return f=f||r.parser.flow(r.now()),e.enter("chunkFlow",{_tokenizer:f,contentType:"flow",previous:s}),j(G)}function j(G){if(G===null){U(e.exit("chunkFlow"),!0),T(0),e.consume(G);return}if(Cr(G))return e.consume(G),U(e.exit("chunkFlow")),i=0,r.interrupt=void 0,c;return e.consume(G),j}function U(G,X){let J=r.sliceStream(G);if(X)J.push(null);if(G.previous=s,s)s.next=G;if(s=G,f.defineSkip(G.start),f.write(J),r.parser.lazy[G.start.line]){let ee=f.events.length;while(ee--)if(f.events[ee][1].start.offset<l&&(!f.events[ee][1].end||f.events[ee][1].end.offset>l))return;let re=r.events.length,oe=re,ae,ye;while(oe--)if(r.events[oe][0]==="exit"&&r.events[oe][1].type==="chunkFlow"){if(ae){ye=r.events[oe][1].end;break}ae=!0}T(i),ee=re;while(ee<r.events.length)r.events[ee][1].end={...ye},ee++;af(r.events,oe+1,0,r.events.slice(re)),r.events.length=ee}}function T(G){let X=a.length;while(X-- >G){let J=a[X];r.containerState=J[1],J[0].exit.call(r,e)}a.length=G}function N(){f.write([null]),s=void 0,f=void 0,r.containerState._closeFlow=void 0}}function D0t(e,r,a){return io(e,e.attempt(this.parser.constructs.document,r,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function WH(e){if(e===null||Wn(e)||PMe(e))return 1;if(RMe(e))return 2}function zR(e,r,a){let i=[],f=-1;while(++f<e.length){let s=e[f].resolveAll;if(s&&!i.includes(s))r=s(r,a),i.push(s)}return r}var sD={name:"attention",resolveAll:O0t,tokenize:j0t};function O0t(e,r){let a=-1,i,f,s,l,c,m,g,M;while(++a<e.length)if(e[a][0]==="enter"&&e[a][1].type==="attentionSequence"&&e[a][1]._close){i=a;while(i--)if(e[i][0]==="exit"&&e[i][1].type==="attentionSequence"&&e[i][1]._open&&r.sliceSerialize(e[i][1]).charCodeAt(0)===r.sliceSerialize(e[a][1]).charCodeAt(0)){if((e[i][1]._close||e[a][1]._open)&&(e[a][1].end.offset-e[a][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[a][1].end.offset-e[a][1].start.offset)%3))continue;m=e[i][1].end.offset-e[i][1].start.offset>1&&e[a][1].end.offset-e[a][1].start.offset>1?2:1;let v={...e[i][1].end},y={...e[a][1].start};if(DMe(v,-m),DMe(y,m),l={type:m>1?"strongSequence":"emphasisSequence",start:v,end:{...e[i][1].end}},c={type:m>1?"strongSequence":"emphasisSequence",start:{...e[a][1].start},end:y},s={type:m>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[a][1].start}},f={type:m>1?"strong":"emphasis",start:{...l.start},end:{...c.end}},e[i][1].end={...l.start},e[a][1].start={...c.end},g=[],e[i][1].end.offset-e[i][1].start.offset)g=Ts(g,[["enter",e[i][1],r],["exit",e[i][1],r]]);if(g=Ts(g,[["enter",f,r],["enter",l,r],["exit",l,r],["enter",s,r]]),g=Ts(g,zR(r.parser.constructs.insideSpan.null,e.slice(i+1,a),r)),g=Ts(g,[["exit",s,r],["enter",c,r],["exit",c,r],["exit",f,r]]),e[a][1].end.offset-e[a][1].start.offset)M=2,g=Ts(g,[["enter",e[a][1],r],["exit",e[a][1],r]]);else M=0;af(e,i-1,a-i+3,g),a=i+g.length-M-2;break}}a=-1;while(++a<e.length)if(e[a][1].type==="attentionSequence")e[a][1].type="data";return e}function j0t(e,r){let a=this.parser.constructs.attentionMarkers.null,i=this.previous,f=WH(i),s;return l;function l(m){return s=m,e.enter("attentionSequence"),c(m)}function c(m){if(m===s)return e.consume(m),c;let g=e.exit("attentionSequence"),M=WH(m),v=!M||M===2&&f||a.includes(m),y=!f||f===2&&M||a.includes(i);return g._open=Boolean(s===42?v:v&&(f||!y)),g._close=Boolean(s===42?y:y&&(M||!v)),r(m)}}function DMe(e,r){e.column+=r,e.offset+=r,e._bufferIndex+=r}var GH={name:"autolink",tokenize:N0t};function N0t(e,r,a){let i=0;return f;function f(x){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(x),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(x){if($l(x))return e.consume(x),l;if(x===64)return a(x);return g(x)}function l(x){if(x===43||x===45||x===46||Ui(x))return i=1,c(x);return g(x)}function c(x){if(x===58)return e.consume(x),i=0,m;if((x===43||x===45||x===46||Ui(x))&&i++<32)return e.consume(x),c;return i=0,g(x)}function m(x){if(x===62)return e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(x),e.exit("autolinkMarker"),e.exit("autolink"),r;if(x===null||x===32||x===60||iD(x))return a(x);return e.consume(x),m}function g(x){if(x===64)return e.consume(x),M;if(kMe(x))return e.consume(x),g;return a(x)}function M(x){return Ui(x)?v(x):a(x)}function v(x){if(x===46)return e.consume(x),i=0,M;if(x===62)return e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(x),e.exit("autolinkMarker"),e.exit("autolink"),r;return y(x)}function y(x){if((x===45||Ui(x))&&i++<63){let _=x===45?y:v;return e.consume(x),_}return a(x)}}var V8={partial:!0,tokenize:F0t};function F0t(e,r,a){return i;function i(s){return Jr(s)?io(e,f,"linePrefix")(s):f(s)}function f(s){return s===null||Cr(s)?r(s):a(s)}}var F4={continuation:{tokenize:Y0t},exit:U0t,name:"blockQuote",tokenize:B0t};function B0t(e,r,a){let i=this;return f;function f(l){if(l===62){let c=i.containerState;if(!c.open)e.enter("blockQuote",{_container:!0}),c.open=!0;return e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),s}return a(l)}function s(l){if(Jr(l))return e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),r;return e.exit("blockQuotePrefix"),r(l)}}function Y0t(e,r,a){let i=this;return f;function f(l){if(Jr(l))return io(e,s,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l);return s(l)}function s(l){return e.attempt(F4,r,a)(l)}}function U0t(e){e.exit("blockQuote")}var B4={name:"characterEscape",tokenize:q0t};function q0t(e,r,a){return i;function i(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),f}function f(s){if(IMe(s))return e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),r;return a(s)}}var Y4={name:"characterReference",tokenize:V0t};function V0t(e,r,a){let i=this,f=0,s,l;return c;function c(v){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(v),e.exit("characterReferenceMarker"),m}function m(v){if(v===35)return e.enter("characterReferenceMarkerNumeric"),e.consume(v),e.exit("characterReferenceMarkerNumeric"),g;return e.enter("characterReferenceValue"),s=31,l=Ui,M(v)}function g(v){if(v===88||v===120)return e.enter("characterReferenceMarkerHexadecimal"),e.consume(v),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,l=CMe,M;return e.enter("characterReferenceValue"),s=7,l=fD,M(v)}function M(v){if(v===59&&f){let y=e.exit("characterReferenceValue");if(l===Ui&&!wR(i.sliceSerialize(y)))return a(v);return e.enter("characterReferenceMarker"),e.consume(v),e.exit("characterReferenceMarker"),e.exit("characterReference"),r}if(l(v)&&f++<s)return e.consume(v),M;return a(v)}}var OMe={partial:!0,tokenize:W0t},U4={concrete:!0,name:"codeFenced",tokenize:H0t};function H0t(e,r,a){let i=this,f={partial:!0,tokenize:J},s=0,l=0,c;return m;function m(ee){return g(ee)}function g(ee){let re=i.events[i.events.length-1];return s=re&&re[1].type==="linePrefix"?re[2].sliceSerialize(re[1],!0).length:0,c=ee,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),M(ee)}function M(ee){if(ee===c)return l++,e.consume(ee),M;if(l<3)return a(ee);return e.exit("codeFencedFenceSequence"),Jr(ee)?io(e,v,"whitespace")(ee):v(ee)}function v(ee){if(ee===null||Cr(ee))return e.exit("codeFencedFence"),i.interrupt?r(ee):e.check(OMe,j,X)(ee);return e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),y(ee)}function y(ee){if(ee===null||Cr(ee))return e.exit("chunkString"),e.exit("codeFencedFenceInfo"),v(ee);if(Jr(ee))return e.exit("chunkString"),e.exit("codeFencedFenceInfo"),io(e,x,"whitespace")(ee);if(ee===96&&ee===c)return a(ee);return e.consume(ee),y}function x(ee){if(ee===null||Cr(ee))return v(ee);return e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),_(ee)}function _(ee){if(ee===null||Cr(ee))return e.exit("chunkString"),e.exit("codeFencedFenceMeta"),v(ee);if(ee===96&&ee===c)return a(ee);return e.consume(ee),_}function j(ee){return e.attempt(f,X,U)(ee)}function U(ee){return e.enter("lineEnding"),e.consume(ee),e.exit("lineEnding"),T}function T(ee){return s>0&&Jr(ee)?io(e,N,"linePrefix",s+1)(ee):N(ee)}function N(ee){if(ee===null||Cr(ee))return e.check(OMe,j,X)(ee);return e.enter("codeFlowValue"),G(ee)}function G(ee){if(ee===null||Cr(ee))return e.exit("codeFlowValue"),N(ee);return e.consume(ee),G}function X(ee){return e.exit("codeFenced"),r(ee)}function J(ee,re,oe){let ae=0;return ye;function ye(ut){return ee.enter("lineEnding"),ee.consume(ut),ee.exit("lineEnding"),We}function We(ut){return ee.enter("codeFencedFence"),Jr(ut)?io(ee,Ye,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ut):Ye(ut)}function Ye(ut){if(ut===c)return ee.enter("codeFencedFenceSequence"),ze(ut);return oe(ut)}function ze(ut){if(ut===c)return ae++,ee.consume(ut),ze;if(ae>=l)return ee.exit("codeFencedFenceSequence"),Jr(ut)?io(ee,qe,"whitespace")(ut):qe(ut);return oe(ut)}function qe(ut){if(ut===null||Cr(ut))return ee.exit("codeFencedFence"),re(ut);return oe(ut)}}}function W0t(e,r,a){let i=this;return f;function f(l){if(l===null)return a(l);return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s}function s(l){return i.parser.lazy[i.now().line]?a(l):r(l)}}var lD={name:"codeIndented",tokenize:K0t},G0t={partial:!0,tokenize:X0t};function K0t(e,r,a){let i=this;return f;function f(g){return e.enter("codeIndented"),io(e,s,"linePrefix",5)(g)}function s(g){let M=i.events[i.events.length-1];return M&&M[1].type==="linePrefix"&&M[2].sliceSerialize(M[1],!0).length>=4?l(g):a(g)}function l(g){if(g===null)return m(g);if(Cr(g))return e.attempt(G0t,l,m)(g);return e.enter("codeFlowValue"),c(g)}function c(g){if(g===null||Cr(g))return e.exit("codeFlowValue"),l(g);return e.consume(g),c}function m(g){return e.exit("codeIndented"),r(g)}}function X0t(e,r,a){let i=this;return f;function f(l){if(i.parser.lazy[i.now().line])return a(l);if(Cr(l))return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),f;return io(e,s,"linePrefix",5)(l)}function s(l){let c=i.events[i.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?r(l):Cr(l)?f(l):a(l)}}var KH={name:"codeText",previous:J0t,resolve:Q0t,tokenize:$0t};function Q0t(e){let r=e.length-4,a=3,i,f;if((e[a][1].type==="lineEnding"||e[a][1].type==="space")&&(e[r][1].type==="lineEnding"||e[r][1].type==="space")){i=a;while(++i<r)if(e[i][1].type==="codeTextData"){e[a][1].type="codeTextPadding",e[r][1].type="codeTextPadding",a+=2,r-=2;break}}i=a-1,r++;while(++i<=r)if(f===void 0){if(i!==r&&e[i][1].type!=="lineEnding")f=i}else if(i===r||e[i][1].type==="lineEnding"){if(e[f][1].type="codeTextData",i!==f+2)e[f][1].end=e[i-1][1].end,e.splice(f+2,i-f-2),r-=i-f-2,i=f+2;f=void 0}return e}function J0t(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function $0t(e,r,a){let i=this,f=0,s,l;return c;function c(y){return e.enter("codeText"),e.enter("codeTextSequence"),m(y)}function m(y){if(y===96)return e.consume(y),f++,m;return e.exit("codeTextSequence"),g(y)}function g(y){if(y===null)return a(y);if(y===32)return e.enter("space"),e.consume(y),e.exit("space"),g;if(y===96)return l=e.enter("codeTextSequence"),s=0,v(y);if(Cr(y))return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),g;return e.enter("codeTextData"),M(y)}function M(y){if(y===null||y===32||y===96||Cr(y))return e.exit("codeTextData"),g(y);return e.consume(y),M}function v(y){if(y===96)return e.consume(y),s++,v;if(s===f)return e.exit("codeTextSequence"),e.exit("codeText"),r(y);return l.type="codeTextData",M(y)}}class XH{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");if(e<this.left.length)return this.left[e];return this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,r){let a=r===null||r===void 0?Number.POSITIVE_INFINITY:r;if(a<this.left.length)return this.left.slice(e,a);if(e>this.left.length)return this.right.slice(this.right.length-a+this.left.length,this.right.length-e+this.left.length).reverse();return this.left.slice(e).concat(this.right.slice(this.right.length-a+this.left.length).reverse())}splice(e,r,a){let i=r||0;this.setCursor(Math.trunc(e));let f=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);if(a)cD(this.left,a);return f.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),cD(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),cD(this.right,e.reverse())}setCursor(e){if(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0)return;if(e<this.left.length){let r=this.left.splice(e,Number.POSITIVE_INFINITY);cD(this.right,r.reverse())}else{let r=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);cD(this.left,r.reverse())}}}function cD(e,r){let a=0;if(r.length<1e4)e.push(...r);else while(a<r.length)e.push(...r.slice(a,a+1e4)),a+=1e4}function q4(e){let r={},a=-1,i,f,s,l,c,m,g,M=new XH(e);while(++a<M.length){while(a in r)a=r[a];if(i=M.get(a),a&&i[1].type==="chunkFlow"&&M.get(a-1)[1].type==="listItemPrefix"){if(m=i[1]._tokenizer.events,s=0,s<m.length&&m[s][1].type==="lineEndingBlank")s+=2;if(s<m.length&&m[s][1].type==="content")while(++s<m.length){if(m[s][1].type==="content")break;if(m[s][1].type==="chunkText")m[s][1]._isInFirstContentOfListItem=!0,s++}}if(i[0]==="enter"){if(i[1].contentType)Object.assign(r,ezt(M,a)),a=r[a],g=!0}else if(i[1]._container){s=a,f=void 0;while(s--)if(l=M.get(s),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank"){if(l[0]==="enter"){if(f)M.get(f)[1].type="lineEndingBlank";l[1].type="lineEnding",f=s}}else if(l[1].type==="linePrefix"||l[1].type==="listItemIndent");else break;if(f)i[1].end={...M.get(f)[1].start},c=M.slice(f,a),c.unshift(i),M.splice(f,a-f+1,c)}}return af(e,0,Number.POSITIVE_INFINITY,M.slice(0)),!g}function ezt(e,r){let a=e.get(r)[1],i=e.get(r)[2],f=r-1,s=[],l=a._tokenizer;if(!l){if(l=i.parser[a.contentType](a.start),a._contentTypeTextTrailing)l._contentTypeTextTrailing=!0}let c=l.events,m=[],g={},M,v,y=-1,x=a,_=0,j=0,U=[j];while(x){while(e.get(++f)[1]!==x);if(s.push(f),!x._tokenizer){if(M=i.sliceStream(x),!x.next)M.push(null);if(v)l.defineSkip(x.start);if(x._isInFirstContentOfListItem)l._gfmTasklistFirstContentOfListItem=!0;if(l.write(M),x._isInFirstContentOfListItem)l._gfmTasklistFirstContentOfListItem=void 0}v=x,x=x.next}x=a;while(++y<c.length)if(c[y][0]==="exit"&&c[y-1][0]==="enter"&&c[y][1].type===c[y-1][1].type&&c[y][1].start.line!==c[y][1].end.line)j=y+1,U.push(j),x._tokenizer=void 0,x.previous=void 0,x=x.next;if(l.events=[],x)x._tokenizer=void 0,x.previous=void 0;else U.pop();y=U.length;while(y--){let T=c.slice(U[y],U[y+1]),N=s.pop();m.push([N,N+T.length-1]),e.splice(N,2,T)}m.reverse(),y=-1;while(++y<m.length)g[_+m[y][0]]=_+m[y][1],_+=m[y][1]-m[y][0]-1;return g}var QH={resolve:rzt,tokenize:ozt},tzt={partial:!0,tokenize:azt};function rzt(e){return q4(e),e}function ozt(e,r){let a;return i;function i(c){return e.enter("content"),a=e.enter("chunkContent",{contentType:"content"}),f(c)}function f(c){if(c===null)return s(c);if(Cr(c))return e.check(tzt,l,s)(c);return e.consume(c),f}function s(c){return e.exit("chunkContent"),e.exit("content"),r(c)}function l(c){return e.consume(c),e.exit("chunkContent"),a.next=e.enter("chunkContent",{contentType:"content",previous:a}),a=a.next,f}}function azt(e,r,a){let i=this;return f;function f(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),io(e,s,"linePrefix")}function s(l){if(l===null||Cr(l))return a(l);let c=i.events[i.events.length-1];if(!i.parser.constructs.disable.null.includes("codeIndented")&&c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4)return r(l);return e.interrupt(i.parser.constructs.flow,a,r)(l)}}function V4(e,r,a,i,f,s,l,c,m){let g=m||Number.POSITIVE_INFINITY,M=0;return v;function v(T){if(T===60)return e.enter(i),e.enter(f),e.enter(s),e.consume(T),e.exit(s),y;if(T===null||T===32||T===41||iD(T))return a(T);return e.enter(i),e.enter(l),e.enter(c),e.enter("chunkString",{contentType:"string"}),j(T)}function y(T){if(T===62)return e.enter(s),e.consume(T),e.exit(s),e.exit(f),e.exit(i),r;return e.enter(c),e.enter("chunkString",{contentType:"string"}),x(T)}function x(T){if(T===62)return e.exit("chunkString"),e.exit(c),y(T);if(T===null||T===60||Cr(T))return a(T);return e.consume(T),T===92?_:x}function _(T){if(T===60||T===62||T===92)return e.consume(T),x;return x(T)}function j(T){if(!M&&(T===null||T===41||Wn(T)))return e.exit("chunkString"),e.exit(c),e.exit(l),e.exit(i),r(T);if(M<g&&T===40)return e.consume(T),M++,j;if(T===41)return e.consume(T),M--,j;if(T===null||T===32||T===40||iD(T))return a(T);return e.consume(T),T===92?U:j}function U(T){if(T===40||T===41||T===92)return e.consume(T),j;return j(T)}}function H4(e,r,a,i,f,s){let l=this,c=0,m;return g;function g(x){return e.enter(i),e.enter(f),e.consume(x),e.exit(f),e.enter(s),M}function M(x){if(c>999||x===null||x===91||x===93&&!m||x===94&&!c&&"_hiddenFootnoteSupport"in l.parser.constructs)return a(x);if(x===93)return e.exit(s),e.enter(f),e.consume(x),e.exit(f),e.exit(i),r;if(Cr(x))return e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),M;return e.enter("chunkString",{contentType:"string"}),v(x)}function v(x){if(x===null||x===91||x===93||Cr(x)||c++>999)return e.exit("chunkString"),M(x);if(e.consume(x),!m)m=!Jr(x);return x===92?y:v}function y(x){if(x===91||x===92||x===93)return e.consume(x),c++,v;return v(x)}}function W4(e,r,a,i,f,s){let l;return c;function c(y){if(y===34||y===39||y===40)return e.enter(i),e.enter(f),e.consume(y),e.exit(f),l=y===40?41:y,m;return a(y)}function m(y){if(y===l)return e.enter(f),e.consume(y),e.exit(f),e.exit(i),r;return e.enter(s),g(y)}function g(y){if(y===l)return e.exit(s),m(l);if(y===null)return a(y);if(Cr(y))return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),io(e,g,"linePrefix");return e.enter("chunkString",{contentType:"string"}),M(y)}function M(y){if(y===l||y===null||Cr(y))return e.exit("chunkString"),g(y);return e.consume(y),y===92?v:M}function v(y){if(y===l||y===92)return e.consume(y),M;return M(y)}}function CL(e,r){let a;return i;function i(f){if(Cr(f))return e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),a=!0,i;if(Jr(f))return io(e,i,a?"linePrefix":"lineSuffix")(f);return r(f)}}var JH={name:"definition",tokenize:izt},nzt={partial:!0,tokenize:fzt};function izt(e,r,a){let i=this,f;return s;function s(x){return e.enter("definition"),l(x)}function l(x){return H4.call(i,e,c,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(x)}function c(x){if(f=ZM(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),x===58)return e.enter("definitionMarker"),e.consume(x),e.exit("definitionMarker"),m;return a(x)}function m(x){return Wn(x)?CL(e,g)(x):g(x)}function g(x){return V4(e,M,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(x)}function M(x){return e.attempt(nzt,v,v)(x)}function v(x){return Jr(x)?io(e,y,"whitespace")(x):y(x)}function y(x){if(x===null||Cr(x))return e.exit("definition"),i.parser.defined.push(f),r(x);return a(x)}}function fzt(e,r,a){return i;function i(c){return Wn(c)?CL(e,f)(c):a(c)}function f(c){return W4(e,s,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function s(c){return Jr(c)?io(e,l,"whitespace")(c):l(c)}function l(c){return c===null||Cr(c)?r(c):a(c)}}var $H={name:"hardBreakEscape",tokenize:szt};function szt(e,r,a){return i;function i(s){return e.enter("hardBreakEscape"),e.consume(s),f}function f(s){if(Cr(s))return e.exit("hardBreakEscape"),r(s);return a(s)}}var eW={name:"headingAtx",resolve:lzt,tokenize:czt};function lzt(e,r){let a=e.length-2,i=3,f,s;if(e[i][1].type==="whitespace")i+=2;if(a-2>i&&e[a][1].type==="whitespace")a-=2;if(e[a][1].type==="atxHeadingSequence"&&(i===a-1||a-4>i&&e[a-2][1].type==="whitespace"))a-=i+1===a?2:4;if(a>i)f={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},s={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},af(e,i,a-i+1,[["enter",f,r],["enter",s,r],["exit",s,r],["exit",f,r]]);return e}function czt(e,r,a){let i=0;return f;function f(M){return e.enter("atxHeading"),s(M)}function s(M){return e.enter("atxHeadingSequence"),l(M)}function l(M){if(M===35&&i++<6)return e.consume(M),l;if(M===null||Wn(M))return e.exit("atxHeadingSequence"),c(M);return a(M)}function c(M){if(M===35)return e.enter("atxHeadingSequence"),m(M);if(M===null||Cr(M))return e.exit("atxHeading"),r(M);if(Jr(M))return io(e,c,"whitespace")(M);return e.enter("atxHeadingText"),g(M)}function m(M){if(M===35)return e.consume(M),m;return e.exit("atxHeadingSequence"),c(M)}function g(M){if(M===null||M===35||Wn(M))return e.exit("atxHeadingText"),c(M);return e.consume(M),g}}var jMe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],tW=["pre","script","style","textarea"];var rW={concrete:!0,name:"htmlFlow",resolveTo:Zzt,tokenize:pzt},uzt={partial:!0,tokenize:hzt},dzt={partial:!0,tokenize:mzt};function Zzt(e){let r=e.length;while(r--)if(e[r][0]==="enter"&&e[r][1].type==="htmlFlow")break;if(r>1&&e[r-2][1].type==="linePrefix")e[r][1].start=e[r-2][1].start,e[r+1][1].start=e[r-2][1].start,e.splice(r-2,2);return e}function pzt(e,r,a){let i=this,f,s,l,c,m;return g;function g(Ee){return M(Ee)}function M(Ee){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(Ee),v}function v(Ee){if(Ee===33)return e.consume(Ee),y;if(Ee===47)return e.consume(Ee),s=!0,j;if(Ee===63)return e.consume(Ee),f=3,i.interrupt?r:fe;if($l(Ee))return e.consume(Ee),l=String.fromCharCode(Ee),U;return a(Ee)}function y(Ee){if(Ee===45)return e.consume(Ee),f=2,x;if(Ee===91)return e.consume(Ee),f=5,c=0,_;if($l(Ee))return e.consume(Ee),f=4,i.interrupt?r:fe;return a(Ee)}function x(Ee){if(Ee===45)return e.consume(Ee),i.interrupt?r:fe;return a(Ee)}function _(Ee){if(Ee==="CDATA[".charCodeAt(c++)){if(e.consume(Ee),c===6)return i.interrupt?r:Ye;return _}return a(Ee)}function j(Ee){if($l(Ee))return e.consume(Ee),l=String.fromCharCode(Ee),U;return a(Ee)}function U(Ee){if(Ee===null||Ee===47||Ee===62||Wn(Ee)){let lr=Ee===47,sr=l.toLowerCase();if(!lr&&!s&&tW.includes(sr))return f=1,i.interrupt?r(Ee):Ye(Ee);if(jMe.includes(l.toLowerCase())){if(f=6,lr)return e.consume(Ee),T;return i.interrupt?r(Ee):Ye(Ee)}return f=7,i.interrupt&&!i.parser.lazy[i.now().line]?a(Ee):s?N(Ee):G(Ee)}if(Ee===45||Ui(Ee))return e.consume(Ee),l+=String.fromCharCode(Ee),U;return a(Ee)}function T(Ee){if(Ee===62)return e.consume(Ee),i.interrupt?r:Ye;return a(Ee)}function N(Ee){if(Jr(Ee))return e.consume(Ee),N;return ye(Ee)}function G(Ee){if(Ee===47)return e.consume(Ee),ye;if(Ee===58||Ee===95||$l(Ee))return e.consume(Ee),X;if(Jr(Ee))return e.consume(Ee),G;return ye(Ee)}function X(Ee){if(Ee===45||Ee===46||Ee===58||Ee===95||Ui(Ee))return e.consume(Ee),X;return J(Ee)}function J(Ee){if(Ee===61)return e.consume(Ee),ee;if(Jr(Ee))return e.consume(Ee),J;return G(Ee)}function ee(Ee){if(Ee===null||Ee===60||Ee===61||Ee===62||Ee===96)return a(Ee);if(Ee===34||Ee===39)return e.consume(Ee),m=Ee,re;if(Jr(Ee))return e.consume(Ee),ee;return oe(Ee)}function re(Ee){if(Ee===m)return e.consume(Ee),m=null,ae;if(Ee===null||Cr(Ee))return a(Ee);return e.consume(Ee),re}function oe(Ee){if(Ee===null||Ee===34||Ee===39||Ee===47||Ee===60||Ee===61||Ee===62||Ee===96||Wn(Ee))return J(Ee);return e.consume(Ee),oe}function ae(Ee){if(Ee===47||Ee===62||Jr(Ee))return G(Ee);return a(Ee)}function ye(Ee){if(Ee===62)return e.consume(Ee),We;return a(Ee)}function We(Ee){if(Ee===null||Cr(Ee))return Ye(Ee);if(Jr(Ee))return e.consume(Ee),We;return a(Ee)}function Ye(Ee){if(Ee===45&&f===2)return e.consume(Ee),$e;if(Ee===60&&f===1)return e.consume(Ee),xt;if(Ee===62&&f===4)return e.consume(Ee),yt;if(Ee===63&&f===3)return e.consume(Ee),fe;if(Ee===93&&f===5)return e.consume(Ee),Yt;if(Cr(Ee)&&(f===6||f===7))return e.exit("htmlFlowData"),e.check(uzt,Wt,ze)(Ee);if(Ee===null||Cr(Ee))return e.exit("htmlFlowData"),ze(Ee);return e.consume(Ee),Ye}function ze(Ee){return e.check(dzt,qe,Wt)(Ee)}function qe(Ee){return e.enter("lineEnding"),e.consume(Ee),e.exit("lineEnding"),ut}function ut(Ee){if(Ee===null||Cr(Ee))return ze(Ee);return e.enter("htmlFlowData"),Ye(Ee)}function $e(Ee){if(Ee===45)return e.consume(Ee),fe;return Ye(Ee)}function xt(Ee){if(Ee===47)return e.consume(Ee),l="",Dt;return Ye(Ee)}function Dt(Ee){if(Ee===62){let lr=l.toLowerCase();if(tW.includes(lr))return e.consume(Ee),yt;return Ye(Ee)}if($l(Ee)&&l.length<8)return e.consume(Ee),l+=String.fromCharCode(Ee),Dt;return Ye(Ee)}function Yt(Ee){if(Ee===93)return e.consume(Ee),fe;return Ye(Ee)}function fe(Ee){if(Ee===62)return e.consume(Ee),yt;if(Ee===45&&f===2)return e.consume(Ee),fe;return Ye(Ee)}function yt(Ee){if(Ee===null||Cr(Ee))return e.exit("htmlFlowData"),Wt(Ee);return e.consume(Ee),yt}function Wt(Ee){return e.exit("htmlFlow"),r(Ee)}}function mzt(e,r,a){let i=this;return f;function f(l){if(Cr(l))return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s;return a(l)}function s(l){return i.parser.lazy[i.now().line]?a(l):r(l)}}function hzt(e,r,a){return i;function i(f){return e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),e.attempt(V8,r,a)}}var oW={name:"htmlText",tokenize:gzt};function gzt(e,r,a){let i=this,f,s,l;return c;function c(fe){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(fe),m}function m(fe){if(fe===33)return e.consume(fe),g;if(fe===47)return e.consume(fe),J;if(fe===63)return e.consume(fe),G;if($l(fe))return e.consume(fe),oe;return a(fe)}function g(fe){if(fe===45)return e.consume(fe),M;if(fe===91)return e.consume(fe),s=0,_;if($l(fe))return e.consume(fe),N;return a(fe)}function M(fe){if(fe===45)return e.consume(fe),x;return a(fe)}function v(fe){if(fe===null)return a(fe);if(fe===45)return e.consume(fe),y;if(Cr(fe))return l=v,xt(fe);return e.consume(fe),v}function y(fe){if(fe===45)return e.consume(fe),x;return v(fe)}function x(fe){return fe===62?$e(fe):fe===45?y(fe):v(fe)}function _(fe){if(fe==="CDATA[".charCodeAt(s++))return e.consume(fe),s===6?j:_;return a(fe)}function j(fe){if(fe===null)return a(fe);if(fe===93)return e.consume(fe),U;if(Cr(fe))return l=j,xt(fe);return e.consume(fe),j}function U(fe){if(fe===93)return e.consume(fe),T;return j(fe)}function T(fe){if(fe===62)return $e(fe);if(fe===93)return e.consume(fe),T;return j(fe)}function N(fe){if(fe===null||fe===62)return $e(fe);if(Cr(fe))return l=N,xt(fe);return e.consume(fe),N}function G(fe){if(fe===null)return a(fe);if(fe===63)return e.consume(fe),X;if(Cr(fe))return l=G,xt(fe);return e.consume(fe),G}function X(fe){return fe===62?$e(fe):G(fe)}function J(fe){if($l(fe))return e.consume(fe),ee;return a(fe)}function ee(fe){if(fe===45||Ui(fe))return e.consume(fe),ee;return re(fe)}function re(fe){if(Cr(fe))return l=re,xt(fe);if(Jr(fe))return e.consume(fe),re;return $e(fe)}function oe(fe){if(fe===45||Ui(fe))return e.consume(fe),oe;if(fe===47||fe===62||Wn(fe))return ae(fe);return a(fe)}function ae(fe){if(fe===47)return e.consume(fe),$e;if(fe===58||fe===95||$l(fe))return e.consume(fe),ye;if(Cr(fe))return l=ae,xt(fe);if(Jr(fe))return e.consume(fe),ae;return $e(fe)}function ye(fe){if(fe===45||fe===46||fe===58||fe===95||Ui(fe))return e.consume(fe),ye;return We(fe)}function We(fe){if(fe===61)return e.consume(fe),Ye;if(Cr(fe))return l=We,xt(fe);if(Jr(fe))return e.consume(fe),We;return ae(fe)}function Ye(fe){if(fe===null||fe===60||fe===61||fe===62||fe===96)return a(fe);if(fe===34||fe===39)return e.consume(fe),f=fe,ze;if(Cr(fe))return l=Ye,xt(fe);if(Jr(fe))return e.consume(fe),Ye;return e.consume(fe),qe}function ze(fe){if(fe===f)return e.consume(fe),f=void 0,ut;if(fe===null)return a(fe);if(Cr(fe))return l=ze,xt(fe);return e.consume(fe),ze}function qe(fe){if(fe===null||fe===34||fe===39||fe===60||fe===61||fe===96)return a(fe);if(fe===47||fe===62||Wn(fe))return ae(fe);return e.consume(fe),qe}function ut(fe){if(fe===47||fe===62||Wn(fe))return ae(fe);return a(fe)}function $e(fe){if(fe===62)return e.consume(fe),e.exit("htmlTextData"),e.exit("htmlText"),r;return a(fe)}function xt(fe){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(fe),e.exit("lineEnding"),Dt}function Dt(fe){return Jr(fe)?io(e,Yt,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(fe):Yt(fe)}function Yt(fe){return e.enter("htmlTextData"),l(fe)}}var IL={name:"labelEnd",resolveAll:yzt,resolveTo:bzt,tokenize:_zt},Mzt={tokenize:wzt},vzt={tokenize:zzt},xzt={tokenize:Szt};function yzt(e){let r=-1,a=[];while(++r<e.length){let i=e[r][1];if(a.push(e[r]),i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd"){let f=i.type==="labelImage"?4:2;i.type="data",r+=f}}if(e.length!==a.length)af(e,0,e.length,a);return e}function bzt(e,r){let a=e.length,i=0,f,s,l,c;while(a--)if(f=e[a][1],s){if(f.type==="link"||f.type==="labelLink"&&f._inactive)break;if(e[a][0]==="enter"&&f.type==="labelLink")f._inactive=!0}else if(l){if(e[a][0]==="enter"&&(f.type==="labelImage"||f.type==="labelLink")&&!f._balanced){if(s=a,f.type!=="labelLink"){i=2;break}}}else if(f.type==="labelEnd")l=a;let m={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},g={type:"label",start:{...e[s][1].start},end:{...e[l][1].end}},M={type:"labelText",start:{...e[s+i+2][1].end},end:{...e[l-2][1].start}};return c=[["enter",m,r],["enter",g,r]],c=Ts(c,e.slice(s+1,s+i+3)),c=Ts(c,[["enter",M,r]]),c=Ts(c,zR(r.parser.constructs.insideSpan.null,e.slice(s+i+4,l-3),r)),c=Ts(c,[["exit",M,r],e[l-2],e[l-1],["exit",g,r]]),c=Ts(c,e.slice(l+1)),c=Ts(c,[["exit",m,r]]),af(e,s,e.length,c),e}function _zt(e,r,a){let i=this,f=i.events.length,s,l;while(f--)if((i.events[f][1].type==="labelImage"||i.events[f][1].type==="labelLink")&&!i.events[f][1]._balanced){s=i.events[f][1];break}return c;function c(y){if(!s)return a(y);if(s._inactive)return v(y);return l=i.parser.defined.includes(ZM(i.sliceSerialize({start:s.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(y),e.exit("labelMarker"),e.exit("labelEnd"),m}function m(y){if(y===40)return e.attempt(Mzt,M,l?M:v)(y);if(y===91)return e.attempt(vzt,M,l?g:v)(y);return l?M(y):v(y)}function g(y){return e.attempt(xzt,M,v)(y)}function M(y){return r(y)}function v(y){return s._balanced=!0,a(y)}}function wzt(e,r,a){return i;function i(v){return e.enter("resource"),e.enter("resourceMarker"),e.consume(v),e.exit("resourceMarker"),f}function f(v){return Wn(v)?CL(e,s)(v):s(v)}function s(v){if(v===41)return M(v);return V4(e,l,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(v)}function l(v){return Wn(v)?CL(e,m)(v):M(v)}function c(v){return a(v)}function m(v){if(v===34||v===39||v===40)return W4(e,g,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(v);return M(v)}function g(v){return Wn(v)?CL(e,M)(v):M(v)}function M(v){if(v===41)return e.enter("resourceMarker"),e.consume(v),e.exit("resourceMarker"),e.exit("resource"),r;return a(v)}}function zzt(e,r,a){let i=this;return f;function f(c){return H4.call(i,e,s,l,"reference","referenceMarker","referenceString")(c)}function s(c){return i.parser.defined.includes(ZM(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?r(c):a(c)}function l(c){return a(c)}}function Szt(e,r,a){return i;function i(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),f}function f(s){if(s===93)return e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),r;return a(s)}}var aW={name:"labelStartImage",resolveAll:IL.resolveAll,tokenize:Lzt};function Lzt(e,r,a){let i=this;return f;function f(c){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(c),e.exit("labelImageMarker"),s}function s(c){if(c===91)return e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelImage"),l;return a(c)}function l(c){return c===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(c):r(c)}}var nW={name:"labelStartLink",resolveAll:IL.resolveAll,tokenize:kzt};function kzt(e,r,a){let i=this;return f;function f(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),s}function s(l){return l===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(l):r(l)}}var uD={name:"lineEnding",tokenize:Czt};function Czt(e,r){return a;function a(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),io(e,r,"linePrefix")}}var RL={name:"thematicBreak",tokenize:Izt};function Izt(e,r,a){let i=0,f;return s;function s(g){return e.enter("thematicBreak"),l(g)}function l(g){return f=g,c(g)}function c(g){if(g===f)return e.enter("thematicBreakSequence"),m(g);if(i>=3&&(g===null||Cr(g)))return e.exit("thematicBreak"),r(g);return a(g)}function m(g){if(g===f)return e.consume(g),i++,m;return e.exit("thematicBreakSequence"),Jr(g)?io(e,c,"whitespace")(g):c(g)}}var es={continuation:{tokenize:Azt},exit:Dzt,name:"list",tokenize:Tzt},Rzt={partial:!0,tokenize:Ozt},Pzt={partial:!0,tokenize:Ezt};function Tzt(e,r,a){let i=this,f=i.events[i.events.length-1],s=f&&f[1].type==="linePrefix"?f[2].sliceSerialize(f[1],!0).length:0,l=0;return c;function c(x){let _=i.containerState.type||(x===42||x===43||x===45?"listUnordered":"listOrdered");if(_==="listUnordered"?!i.containerState.marker||x===i.containerState.marker:fD(x)){if(!i.containerState.type)i.containerState.type=_,e.enter(_,{_container:!0});if(_==="listUnordered")return e.enter("listItemPrefix"),x===42||x===45?e.check(RL,a,g)(x):g(x);if(!i.interrupt||x===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),m(x)}return a(x)}function m(x){if(fD(x)&&++l<10)return e.consume(x),m;if((!i.interrupt||l<2)&&(i.containerState.marker?x===i.containerState.marker:x===41||x===46))return e.exit("listItemValue"),g(x);return a(x)}function g(x){return e.enter("listItemMarker"),e.consume(x),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||x,e.check(V8,i.interrupt?a:M,e.attempt(Rzt,y,v))}function M(x){return i.containerState.initialBlankLine=!0,s++,y(x)}function v(x){if(Jr(x))return e.enter("listItemPrefixWhitespace"),e.consume(x),e.exit("listItemPrefixWhitespace"),y;return a(x)}function y(x){return i.containerState.size=s+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,r(x)}}function Azt(e,r,a){let i=this;return i.containerState._closeFlow=void 0,e.check(V8,f,s);function f(c){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,io(e,r,"listItemIndent",i.containerState.size+1)(c)}function s(c){if(i.containerState.furtherBlankLines||!Jr(c))return i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,l(c);return i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(Pzt,r,l)(c)}function l(c){return i.containerState._closeFlow=!0,i.interrupt=void 0,io(e,e.attempt(es,r,a),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function Ezt(e,r,a){let i=this;return io(e,f,"listItemIndent",i.containerState.size+1);function f(s){let l=i.events[i.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===i.containerState.size?r(s):a(s)}}function Dzt(e){e.exit(this.containerState.type)}function Ozt(e,r,a){let i=this;return io(e,f,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function f(s){let l=i.events[i.events.length-1];return!Jr(s)&&l&&l[1].type==="listItemPrefixWhitespace"?r(s):a(s)}}var G4={name:"setextUnderline",resolveTo:jzt,tokenize:Nzt};function jzt(e,r){let a=e.length,i,f,s;while(a--)if(e[a][0]==="enter"){if(e[a][1].type==="content"){i=a;break}if(e[a][1].type==="paragraph")f=a}else{if(e[a][1].type==="content")e.splice(a,1);if(!s&&e[a][1].type==="definition")s=a}let l={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};if(e[f][1].type="setextHeadingText",s)e.splice(f,0,["enter",l,r]),e.splice(s+1,0,["exit",e[i][1],r]),e[i][1].end={...e[s][1].end};else e[i][1]=l;return e.push(["exit",l,r]),e}function Nzt(e,r,a){let i=this,f;return s;function s(g){let M=i.events.length,v;while(M--)if(i.events[M][1].type!=="lineEnding"&&i.events[M][1].type!=="linePrefix"&&i.events[M][1].type!=="content"){v=i.events[M][1].type==="paragraph";break}if(!i.parser.lazy[i.now().line]&&(i.interrupt||v))return e.enter("setextHeadingLine"),f=g,l(g);return a(g)}function l(g){return e.enter("setextHeadingLineSequence"),c(g)}function c(g){if(g===f)return e.consume(g),c;return e.exit("setextHeadingLineSequence"),Jr(g)?io(e,m,"lineSuffix")(g):m(g)}function m(g){if(g===null||Cr(g))return e.exit("setextHeadingLine"),r(g);return a(g)}}var NMe={tokenize:Fzt};function Fzt(e){let r=this,a=e.attempt(V8,i,e.attempt(this.parser.constructs.flowInitial,f,io(e,e.attempt(this.parser.constructs.flow,f,e.attempt(QH,f)),"linePrefix")));return a;function i(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),r.currentConstruct=void 0,a}function f(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),r.currentConstruct=void 0,a}}var FMe={resolveAll:qMe()},BMe=UMe("string"),YMe=UMe("text");function UMe(e){return{resolveAll:qMe(e==="text"?Bzt:void 0),tokenize:r};function r(a){let i=this,f=this.parser.constructs[e],s=a.attempt(f,l,c);return l;function l(M){return g(M)?s(M):c(M)}function c(M){if(M===null){a.consume(M);return}return a.enter("data"),a.consume(M),m}function m(M){if(g(M))return a.exit("data"),s(M);return a.consume(M),m}function g(M){if(M===null)return!0;let v=f[M],y=-1;if(v)while(++y<v.length){let x=v[y];if(!x.previous||x.previous.call(i,i.previous))return!0}return!1}}}function qMe(e){return r;function r(a,i){let f=-1,s;while(++f<=a.length)if(s===void 0){if(a[f]&&a[f][1].type==="data")s=f,f++}else if(!a[f]||a[f][1].type!=="data"){if(f!==s+2)a[s][1].end=a[f-1][1].end,a.splice(s+2,f-s-2),f=s+2;s=void 0}return e?e(a,i):a}}function Bzt(e,r){let a=0;while(++a<=e.length)if((a===e.length||e[a][1].type==="lineEnding")&&e[a-1][1].type==="data"){let i=e[a-1][1],f=r.sliceStream(i),s=f.length,l=-1,c=0,m;while(s--){let g=f[s];if(typeof g==="string"){l=g.length;while(g.charCodeAt(l-1)===32)c++,l--;if(l)break;l=-1}else if(g===-2)m=!0,c++;else if(g===-1);else{s++;break}}if(r._contentTypeTextTrailing&&a===e.length)c=0;if(c){let g={type:a===e.length||m||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?l:i.start._bufferIndex+l,_index:i.start._index+s,line:i.end.line,column:i.end.column-c,offset:i.end.offset-c},end:{...i.end}};if(i.end={...g.start},i.start.offset===i.end.offset)Object.assign(i,g);else e.splice(a,0,["enter",g,r],["exit",g,r]),a+=2}a++}return e}var iW={};Oe(iW,{attentionMarkers:()=>Kzt,contentInitial:()=>Uzt,disable:()=>Xzt,document:()=>Yzt,flow:()=>Vzt,flowInitial:()=>qzt,insideSpan:()=>Gzt,string:()=>Hzt,text:()=>Wzt});var Yzt={[42]:es,[43]:es,[45]:es,[48]:es,[49]:es,[50]:es,[51]:es,[52]:es,[53]:es,[54]:es,[55]:es,[56]:es,[57]:es,[62]:F4},Uzt={[91]:JH},qzt={[-2]:lD,[-1]:lD,[32]:lD},Vzt={[35]:eW,[42]:RL,[45]:[G4,RL],[60]:rW,[61]:G4,[95]:RL,[96]:U4,[126]:U4},Hzt={[38]:Y4,[92]:B4},Wzt={[-5]:uD,[-4]:uD,[-3]:uD,[33]:aW,[38]:Y4,[42]:sD,[60]:[GH,oW],[91]:nW,[92]:[$H,B4],[93]:IL,[95]:sD,[96]:KH},Gzt={null:[sD,FMe]},Kzt={null:[42,95]},Xzt={null:[]};function VMe(e,r,a){let i={_bufferIndex:-1,_index:0,line:a&&a.line||1,column:a&&a.column||1,offset:a&&a.offset||0},f={},s=[],l=[],c=[],m=!0,g={attempt:ae(re),check:ae(oe),consume:X,enter:J,exit:ee,interrupt:ae(oe,{interrupt:!0})},M={code:null,containerState:{},defineSkip:T,events:[],now:U,parser:e,previous:null,sliceSerialize:_,sliceStream:j,write:x},v=r.tokenize.call(M,g),y;if(r.resolveAll)s.push(r);return M;function x(ze){if(l=Ts(l,ze),N(),l[l.length-1]!==null)return[];return ye(r,0),M.events=zR(s,M.events,M),M.events}function _(ze,qe){return Jzt(j(ze),qe)}function j(ze){return Qzt(l,ze)}function U(){let{_bufferIndex:ze,_index:qe,line:ut,column:$e,offset:xt}=i;return{_bufferIndex:ze,_index:qe,line:ut,column:$e,offset:xt}}function T(ze){f[ze.line]=ze.column,Ye()}function N(){let ze;while(i._index<l.length){let qe=l[i._index];if(typeof qe==="string"){if(ze=i._index,i._bufferIndex<0)i._bufferIndex=0;while(i._index===ze&&i._bufferIndex<qe.length)G(qe.charCodeAt(i._bufferIndex))}else G(qe)}}function G(ze){m=void 0,y=ze,v=v(ze)}function X(ze){if(Cr(ze))i.line++,i.column=1,i.offset+=ze===-3?2:1,Ye();else if(ze!==-1)i.column++,i.offset++;if(i._bufferIndex<0)i._index++;else if(i._bufferIndex++,i._bufferIndex===l[i._index].length)i._bufferIndex=-1,i._index++;M.previous=ze,m=!0}function J(ze,qe){let ut=qe||{};return ut.type=ze,ut.start=U(),M.events.push(["enter",ut,M]),c.push(ut),ut}function ee(ze){let qe=c.pop();return qe.end=U(),M.events.push(["exit",qe,M]),qe}function re(ze,qe){ye(ze,qe.from)}function oe(ze,qe){qe.restore()}function ae(ze,qe){return ut;function ut($e,xt,Dt){let Yt,fe,yt,Wt;return Array.isArray($e)?lr($e):("tokenize"in $e)?lr([$e]):Ee($e);function Ee(Gt){return Kt;function Kt(ur){let Ir=ur!==null&&Gt[ur],Er=ur!==null&&Gt.null,dr=[...Array.isArray(Ir)?Ir:Ir?[Ir]:[],...Array.isArray(Er)?Er:Er?[Er]:[]];return lr(dr)(ur)}}function lr(Gt){if(Yt=Gt,fe=0,Gt.length===0)return Dt;return sr(Gt[fe])}function sr(Gt){return Kt;function Kt(ur){if(Wt=We(),yt=Gt,!Gt.partial)M.currentConstruct=Gt;if(Gt.name&&M.parser.constructs.disable.null.includes(Gt.name))return Or(ur);return Gt.tokenize.call(qe?Object.assign(Object.create(M),qe):M,g,Jt,Or)(ur)}}function Jt(Gt){return m=!0,ze(yt,Wt),xt}function Or(Gt){if(m=!0,Wt.restore(),++fe<Yt.length)return sr(Yt[fe]);return Dt}}}function ye(ze,qe){if(ze.resolveAll&&!s.includes(ze))s.push(ze);if(ze.resolve)af(M.events,qe,M.events.length-qe,ze.resolve(M.events.slice(qe),M));if(ze.resolveTo)M.events=ze.resolveTo(M.events,M)}function We(){let ze=U(),{previous:qe,currentConstruct:ut}=M,$e=M.events.length,xt=Array.from(c);return{from:$e,restore:Dt};function Dt(){i=ze,M.previous=qe,M.currentConstruct=ut,M.events.length=$e,c=xt,Ye()}}function Ye(){if(i.line in f&&i.column<2)i.column=f[i.line],i.offset+=f[i.line]-1}}function Qzt(e,r){let a=r.start._index,i=r.start._bufferIndex,f=r.end._index,s=r.end._bufferIndex,l;if(a===f)l=[e[a].slice(i,s)];else{if(l=e.slice(a,f),i>-1){let c=l[0];if(typeof c==="string")l[0]=c.slice(i);else l.shift()}if(s>0)l.push(e[f].slice(0,s))}return l}function Jzt(e,r){let a=-1,i=[],f;while(++a<e.length){let s=e[a],l;if(typeof s==="string")l=s;else switch(s){case-5:{l="\r";break}case-4:{l=`
199
- `;break}case-3:{l=`\r
200
- `;break}case-2:{l=r?" ":"\t";break}case-1:{if(!r&&f)continue;l=" ";break}default:l=String.fromCharCode(s)}f=s===-2,i.push(l)}return i.join("")}function fW(e){let i={constructs:LMe([iW,...(e||{}).extensions||[]]),content:f(TMe),defined:[],document:f(EMe),flow:f(NMe),lazy:{},string:f(BMe),text:f(YMe)};return i;function f(s){return l;function l(c){return VMe(i,s,c)}}}function sW(e){while(!q4(e));return e}var HMe=/[\0\t\n\r]/g;function lW(){let e=1,r="",a=!0,i;return f;function f(s,l,c){let m=[],g,M,v,y,x;if(s=r+(typeof s==="string"?s.toString():new TextDecoder(l||void 0).decode(s)),v=0,r="",a){if(s.charCodeAt(0)===65279)v++;a=void 0}while(v<s.length){if(HMe.lastIndex=v,g=HMe.exec(s),y=g&&g.index!==void 0?g.index:s.length,x=s.charCodeAt(y),!g){r=s.slice(v);break}if(x===10&&v===y&&i)m.push(-3),i=void 0;else{if(i)m.push(-5),i=void 0;if(v<y)m.push(s.slice(v,y)),e+=y-v;switch(x){case 0:{m.push(65533),e++;break}case 9:{M=Math.ceil(e/4)*4,m.push(-2);while(e++<M)m.push(-1);break}case 10:{m.push(-4),e=1;break}default:i=!0,e=1}}v=y+1}if(c){if(i)m.push(-5);if(r)m.push(r);m.push(null)}return m}}var $zt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function WMe(e){return e.replace($zt,eSt)}function eSt(e,r,a){if(r)return r;if(a.charCodeAt(0)===35){let f=a.charCodeAt(1),s=f===120||f===88;return N4(a.slice(s?2:1),s?16:10)}return wR(a)||e}var KMe={}.hasOwnProperty;function cW(e,r,a){if(r&&typeof r==="object")a=r,r=void 0;return tSt(a)(sW(fW(a).document().write(lW()(e,r,!0))))}function tSt(e){let r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(ho),autolinkProtocol:ae,autolinkEmail:ae,atxHeading:s(or),blockQuote:s(ur),characterEscape:ae,characterReference:ae,codeFenced:s(Ir),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(Ir,l),codeText:s(Er,l),codeTextData:ae,data:ae,codeFlowValue:ae,definition:s(dr),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(mo),hardBreakEscape:s(Yr),hardBreakTrailing:s(Yr),htmlFlow:s(uo,l),htmlFlowData:ae,htmlText:s(uo,l),htmlTextData:ae,image:s(jo),label:l,link:s(ho),listItem:s(un),listItemValue:y,listOrdered:s(Kn,v),listUnordered:s(Kn),paragraph:s(Vo),reference:Ee,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(or),strong:s(Pn),thematicBreak:s(Hi)},exit:{atxHeading:m(),atxHeadingSequence:J,autolink:m(),autolinkEmail:Kt,autolinkProtocol:Gt,blockQuote:m(),characterEscapeValue:ye,characterReferenceMarkerHexadecimal:sr,characterReferenceMarkerNumeric:sr,characterReferenceValue:Jt,characterReference:Or,codeFenced:m(U),codeFencedFence:j,codeFencedFenceInfo:x,codeFencedFenceMeta:_,codeFlowValue:ye,codeIndented:m(T),codeText:m(ut),codeTextData:ye,data:ye,definition:m(),definitionDestinationString:X,definitionLabelString:N,definitionTitleString:G,emphasis:m(),hardBreakEscape:m(Ye),hardBreakTrailing:m(Ye),htmlFlow:m(ze),htmlFlowData:ye,htmlText:m(qe),htmlTextData:ye,image:m(xt),label:Yt,labelText:Dt,lineEnding:We,link:m($e),listItem:m(),listOrdered:m(),listUnordered:m(),paragraph:m(),referenceString:lr,resourceDestinationString:fe,resourceTitleString:yt,resource:Wt,setextHeading:m(oe),setextHeadingLineSequence:re,setextHeadingText:ee,strong:m(),thematicBreak:m()}};XMe(r,(e||{}).mdastExtensions||[]);let a={};return i;function i(Ke){let Ct={type:"root",children:[]},gr={stack:[Ct],tokenStack:[],config:r,enter:c,exit:g,buffer:l,resume:M,data:a},Fr=[],ao=-1;while(++ao<Ke.length)if(Ke[ao][1].type==="listOrdered"||Ke[ao][1].type==="listUnordered")if(Ke[ao][0]==="enter")Fr.push(ao);else{let Ho=Fr.pop();ao=f(Ke,Ho,ao)}ao=-1;while(++ao<Ke.length){let Ho=r[Ke[ao][0]];if(KMe.call(Ho,Ke[ao][1].type))Ho[Ke[ao][1].type].call(Object.assign({sliceSerialize:Ke[ao][2].sliceSerialize},gr),Ke[ao][1])}if(gr.tokenStack.length>0){let Ho=gr.tokenStack[gr.tokenStack.length-1];(Ho[1]||GMe).call(gr,void 0,Ho[0])}Ct.position={start:H8(Ke.length>0?Ke[0][1].start:{line:1,column:1,offset:0}),end:H8(Ke.length>0?Ke[Ke.length-2][1].end:{line:1,column:1,offset:0})},ao=-1;while(++ao<r.transforms.length)Ct=r.transforms[ao](Ct)||Ct;return Ct}function f(Ke,Ct,gr){let Fr=Ct-1,ao=-1,Ho=!1,Ia,Se,Pe,De;while(++Fr<=gr){let Zt=Ke[Fr];switch(Zt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{if(Zt[0]==="enter")ao++;else ao--;De=void 0;break}case"lineEndingBlank":{if(Zt[0]==="enter"){if(Ia&&!De&&!ao&&!Pe)Pe=Fr;De=void 0}break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:De=void 0}if(!ao&&Zt[0]==="enter"&&Zt[1].type==="listItemPrefix"||ao===-1&&Zt[0]==="exit"&&(Zt[1].type==="listUnordered"||Zt[1].type==="listOrdered")){if(Ia){let zt=Fr;Se=void 0;while(zt--){let Ot=Ke[zt];if(Ot[1].type==="lineEnding"||Ot[1].type==="lineEndingBlank"){if(Ot[0]==="exit")continue;if(Se)Ke[Se][1].type="lineEndingBlank",Ho=!0;Ot[1].type="lineEnding",Se=zt}else if(Ot[1].type==="linePrefix"||Ot[1].type==="blockQuotePrefix"||Ot[1].type==="blockQuotePrefixWhitespace"||Ot[1].type==="blockQuoteMarker"||Ot[1].type==="listItemIndent");else break}if(Pe&&(!Se||Pe<Se))Ia._spread=!0;Ia.end=Object.assign({},Se?Ke[Se][1].start:Zt[1].end),Ke.splice(Se||Fr,0,["exit",Ia,Zt[2]]),Fr++,gr++}if(Zt[1].type==="listItemPrefix"){let zt={type:"listItem",_spread:!1,start:Object.assign({},Zt[1].start),end:void 0};Ia=zt,Ke.splice(Fr,0,["enter",zt,Zt[2]]),Fr++,gr++,Pe=void 0,De=!0}}}return Ke[Ct][1]._spread=Ho,gr}function s(Ke,Ct){return gr;function gr(Fr){if(c.call(this,Ke(Fr),Fr),Ct)Ct.call(this,Fr)}}function l(){this.stack.push({type:"fragment",children:[]})}function c(Ke,Ct,gr){this.stack[this.stack.length-1].children.push(Ke),this.stack.push(Ke),this.tokenStack.push([Ct,gr||void 0]),Ke.position={start:H8(Ct.start),end:void 0}}function m(Ke){return Ct;function Ct(gr){if(Ke)Ke.call(this,gr);g.call(this,gr)}}function g(Ke,Ct){let gr=this.stack.pop(),Fr=this.tokenStack.pop();if(!Fr)throw Error("Cannot close `"+Ke.type+"` ("+U8({start:Ke.start,end:Ke.end})+"): it’s not open");else if(Fr[0].type!==Ke.type)if(Ct)Ct.call(this,Ke,Fr[0]);else(Fr[1]||GMe).call(this,Ke,Fr[0]);gr.position.end=H8(Ke.end)}function M(){return HH(this.stack.pop())}function v(){this.data.expectingFirstListItemValue=!0}function y(Ke){if(this.data.expectingFirstListItemValue){let Ct=this.stack[this.stack.length-2];Ct.start=Number.parseInt(this.sliceSerialize(Ke),10),this.data.expectingFirstListItemValue=void 0}}function x(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.lang=Ke}function _(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.meta=Ke}function j(){if(this.data.flowCodeInside)return;this.buffer(),this.data.flowCodeInside=!0}function U(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.value=Ke.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function T(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.value=Ke.replace(/(\r?\n|\r)$/g,"")}function N(Ke){let Ct=this.resume(),gr=this.stack[this.stack.length-1];gr.label=Ct,gr.identifier=ZM(this.sliceSerialize(Ke)).toLowerCase()}function G(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.title=Ke}function X(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.url=Ke}function J(Ke){let Ct=this.stack[this.stack.length-1];if(!Ct.depth){let gr=this.sliceSerialize(Ke).length;Ct.depth=gr}}function ee(){this.data.setextHeadingSlurpLineEnding=!0}function re(Ke){let Ct=this.stack[this.stack.length-1];Ct.depth=this.sliceSerialize(Ke).codePointAt(0)===61?1:2}function oe(){this.data.setextHeadingSlurpLineEnding=void 0}function ae(Ke){let gr=this.stack[this.stack.length-1].children,Fr=gr[gr.length-1];if(!Fr||Fr.type!=="text")Fr=$a(),Fr.position={start:H8(Ke.start),end:void 0},gr.push(Fr);this.stack.push(Fr)}function ye(Ke){let Ct=this.stack.pop();Ct.value+=this.sliceSerialize(Ke),Ct.position.end=H8(Ke.end)}function We(Ke){let Ct=this.stack[this.stack.length-1];if(this.data.atHardBreak){let gr=Ct.children[Ct.children.length-1];gr.position.end=H8(Ke.end),this.data.atHardBreak=void 0;return}if(!this.data.setextHeadingSlurpLineEnding&&r.canContainEols.includes(Ct.type))ae.call(this,Ke),ye.call(this,Ke)}function Ye(){this.data.atHardBreak=!0}function ze(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.value=Ke}function qe(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.value=Ke}function ut(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.value=Ke}function $e(){let Ke=this.stack[this.stack.length-1];if(this.data.inReference){let Ct=this.data.referenceType||"shortcut";Ke.type+="Reference",Ke.referenceType=Ct,delete Ke.url,delete Ke.title}else delete Ke.identifier,delete Ke.label;this.data.referenceType=void 0}function xt(){let Ke=this.stack[this.stack.length-1];if(this.data.inReference){let Ct=this.data.referenceType||"shortcut";Ke.type+="Reference",Ke.referenceType=Ct,delete Ke.url,delete Ke.title}else delete Ke.identifier,delete Ke.label;this.data.referenceType=void 0}function Dt(Ke){let Ct=this.sliceSerialize(Ke),gr=this.stack[this.stack.length-2];gr.label=WMe(Ct),gr.identifier=ZM(Ct).toLowerCase()}function Yt(){let Ke=this.stack[this.stack.length-1],Ct=this.resume(),gr=this.stack[this.stack.length-1];if(this.data.inReference=!0,gr.type==="link"){let Fr=Ke.children;gr.children=Fr}else gr.alt=Ct}function fe(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.url=Ke}function yt(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.title=Ke}function Wt(){this.data.inReference=void 0}function Ee(){this.data.referenceType="collapsed"}function lr(Ke){let Ct=this.resume(),gr=this.stack[this.stack.length-1];gr.label=Ct,gr.identifier=ZM(this.sliceSerialize(Ke)).toLowerCase(),this.data.referenceType="full"}function sr(Ke){this.data.characterReferenceType=Ke.type}function Jt(Ke){let Ct=this.sliceSerialize(Ke),gr=this.data.characterReferenceType,Fr;if(gr)Fr=N4(Ct,gr==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0;else Fr=wR(Ct);let ao=this.stack[this.stack.length-1];ao.value+=Fr}function Or(Ke){let Ct=this.stack.pop();Ct.position.end=H8(Ke.end)}function Gt(Ke){ye.call(this,Ke);let Ct=this.stack[this.stack.length-1];Ct.url=this.sliceSerialize(Ke)}function Kt(Ke){ye.call(this,Ke);let Ct=this.stack[this.stack.length-1];Ct.url="mailto:"+this.sliceSerialize(Ke)}function ur(){return{type:"blockquote",children:[]}}function Ir(){return{type:"code",lang:null,meta:null,value:""}}function Er(){return{type:"inlineCode",value:""}}function dr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function mo(){return{type:"emphasis",children:[]}}function or(){return{type:"heading",depth:0,children:[]}}function Yr(){return{type:"break"}}function uo(){return{type:"html",value:""}}function jo(){return{type:"image",title:null,url:"",alt:null}}function ho(){return{type:"link",title:null,url:"",children:[]}}function Kn(Ke){return{type:"list",ordered:Ke.type==="listOrdered",start:null,spread:Ke._spread,children:[]}}function un(Ke){return{type:"listItem",spread:Ke._spread,checked:null,children:[]}}function Vo(){return{type:"paragraph",children:[]}}function Pn(){return{type:"strong",children:[]}}function $a(){return{type:"text",value:""}}function Hi(){return{type:"thematicBreak"}}}function H8(e){return{line:e.line,column:e.column,offset:e.offset}}function XMe(e,r){let a=-1;while(++a<r.length){let i=r[a];if(Array.isArray(i))XMe(e,i);else rSt(e,i)}}function rSt(e,r){let a;for(a in r)if(KMe.call(r,a))switch(a){case"canContainEols":{let i=r[a];if(i)e[a].push(...i);break}case"transforms":{let i=r[a];if(i)e[a].push(...i);break}case"enter":case"exit":{let i=r[a];if(i)Object.assign(e[a],i);break}}}function GMe(e,r){if(e)throw Error("Cannot close `"+e.type+"` ("+U8({start:e.start,end:e.end})+"): a different token (`"+r.type+"`, "+U8({start:r.start,end:r.end})+") is open");else throw Error("Cannot close document, a token (`"+r.type+"`, "+U8({start:r.start,end:r.end})+") is still open")}function K4(e){let r=this;r.parser=a;function a(i){return cW(i,{...r.data("settings"),...e,extensions:r.data("micromarkExtensions")||[],mdastExtensions:r.data("fromMarkdownExtensions")||[]})}}var X4=-1,SR=0,PL=1,LR=2,dD=3,ZD=4,pD=5,mD=6,Q4=7,J4=8;var{defineProperty:oSt}=Object,JMe=typeof self==="object"?self:globalThis,QMe=(e,r)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw TypeError("unable to deserialize "+e)}return new JMe[e](r)},aSt=(e,r)=>{let a=(f,s)=>(e.set(s,f),f),i=(f)=>{if(e.has(f))return e.get(f);let[s,l]=r[f];switch(s){case SR:case X4:return a(l,f);case PL:{let c=a([],f);for(let m of l)c.push(i(m));return c}case LR:{let c=a({},f);for(let[m,g]of l){let M=i(m),v=i(g);if(M==="__proto__")oSt(c,M,{value:v,configurable:!0,enumerable:!0,writable:!0});else c[M]=v}return c}case dD:return a(new Date(l),f);case ZD:{let{source:c,flags:m}=l;return a(new RegExp(c,m),f)}case pD:{let c=a(new Map,f);for(let[m,g]of l)c.set(i(m),i(g));return c}case mD:{let c=a(new Set,f);for(let m of l)c.add(i(m));return c}case Q4:{let{name:c,message:m}=l;return a(typeof JMe[c]==="function"?QMe(c,m):Error(m),f)}case J4:return a(BigInt(l),f);case"BigInt":return a(Object(BigInt(l)),f);case"ArrayBuffer":return a(new Uint8Array(l).buffer,l);case"DataView":{let{buffer:c}=new Uint8Array(l);return a(new DataView(c),l)}case"-0":return-0}return a(QMe(s,l),f)};return i},uW=(e)=>aSt(new Map,e)(0);var TL="",{toString:nSt}={},{keys:iSt,is:fSt}=Object,hD=(e)=>{let r=typeof e;if(r!=="object"||!e)return[SR,r];let a=nSt.call(e).slice(8,-1);switch(a){case"Array":return[PL,TL];case"Object":return[LR,TL];case"Date":return[dD,TL];case"RegExp":return[ZD,TL];case"Map":return[pD,TL];case"Set":return[mD,TL];case"DataView":return[PL,a]}if(a.includes("Array"))return[PL,a];if(e instanceof Error)return[Q4,e.name||"Error"];return[LR,a]},$4=([e,r])=>e===SR&&(r==="function"||r==="symbol"),sSt=(e,r,a,i)=>{let f=(l,c)=>{let m=i.push(l)-1;return a.set(c,m),m},s=(l)=>{if(a.has(l))return a.get(l);let[c,m]=hD(l);switch(c){case SR:{let M=l;switch(m){case"bigint":c=J4,M=l.toString();break;case"number":if(!l&&fSt(l,-0))return i.push(["-0"])-1;break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+m);M=null;break;case"undefined":return f([X4],l)}return f([c,M],l)}case PL:{if(m){let y=l;if(m==="DataView")y=new Uint8Array(l.buffer);else if(m==="ArrayBuffer")y=new Uint8Array(l);return f([m,[...y]],l)}let M=[],v=f([c,M],l);for(let y of l)M.push(s(y));return v}case LR:{if(m)switch(m){case"BigInt":return f([m,l.toString()],l);case"Boolean":case"Number":case"String":return f([m,l.valueOf()],l)}if(r&&"toJSON"in l)return s(l.toJSON());let M=[],v=f([c,M],l);for(let y of iSt(l))if(e||!$4(hD(l[y])))M.push([s(y),s(l[y])]);return v}case dD:return f([c,isNaN(l.getTime())?TL:l.toISOString()],l);case ZD:{let{source:M,flags:v}=l;return f([c,{source:M,flags:v}],l)}case pD:{let M=[],v=f([c,M],l);for(let[y,x]of l)if(e||!($4(hD(y))||$4(hD(x))))M.push([s(y),s(x)]);return v}case mD:{let M=[],v=f([c,M],l);for(let y of l)if(e||!$4(hD(y)))M.push(s(y));return v}}let{message:g}=l;return f([c,{name:m,message:g}],l)};return s},dW=(e,{json:r,lossy:a}={})=>{let i=[];return sSt(!(r||a),!!r,new Map,i)(e),i};var kR=typeof structuredClone==="function"?(e,r)=>r&&(("json"in r)||("lossy"in r))?uW(dW(e,r)):structuredClone(e):(e,r)=>uW(dW(e,r));function lSt(e,r){let a=[{type:"text",value:"↩"}];if(r>1)a.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(r)}]});return a}function cSt(e,r){return"Back to reference "+(e+1)+(r>1?"-"+r:"")}function $Me(e){let r=typeof e.options.clobberPrefix==="string"?e.options.clobberPrefix:"user-content-",a=e.options.footnoteBackContent||lSt,i=e.options.footnoteBackLabel||cSt,f=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},c=[],m=-1;while(++m<e.footnoteOrder.length){let g=e.footnoteById.get(e.footnoteOrder[m]);if(!g)continue;let M=e.all(g),v=String(g.identifier).toUpperCase(),y=eu(v.toLowerCase()),x=0,_=[],j=e.footnoteCounts.get(v);while(j!==void 0&&++x<=j){if(_.length>0)_.push({type:"text",value:" "});let N=typeof a==="string"?a:a(m,x);if(typeof N==="string")N={type:"text",value:N};_.push({type:"element",tagName:"a",properties:{href:"#"+r+"fnref-"+y+(x>1?"-"+x:""),dataFootnoteBackref:"",ariaLabel:typeof i==="string"?i:i(m,x),className:["data-footnote-backref"]},children:Array.isArray(N)?N:[N]})}let U=M[M.length-1];if(U&&U.type==="element"&&U.tagName==="p"){let N=U.children[U.children.length-1];if(N&&N.type==="text")N.value+=" ";else U.children.push({type:"text",value:" "});U.children.push(..._)}else M.push(..._);let T={type:"element",tagName:"li",properties:{id:r+"fn-"+y},children:e.wrap(M,!0)};e.patch(g,T),c.push(T)}if(c.length===0)return;return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...kR(l),id:"footnote-label"},children:[{type:"text",value:f}]},{type:"text",value:`
201
- `},{type:"element",tagName:"ol",properties:{},children:e.wrap(c,!0)},{type:"text",value:`
202
- `}]}}var eF=function(e){if(e===null||e===void 0)return pSt;if(typeof e==="function")return tF(e);if(typeof e==="object")return Array.isArray(e)?uSt(e):dSt(e);if(typeof e==="string")return ZSt(e);throw Error("Expected function, string, or object as test")};function uSt(e){let r=[],a=-1;while(++a<e.length)r[a]=eF(e[a]);return tF(i);function i(...f){let s=-1;while(++s<r.length)if(r[s].apply(this,f))return!0;return!1}}function dSt(e){let r=e;return tF(a);function a(i){let f=i,s;for(s in e)if(f[s]!==r[s])return!1;return!0}}function ZSt(e){return tF(r);function r(a){return a&&a.type===e}}function tF(e){return r;function r(a,i,f){return Boolean(mSt(a)&&e.call(this,a,typeof i==="number"?i:void 0,f||void 0))}}function pSt(){return!0}function mSt(e){return e!==null&&typeof e==="object"&&"type"in e}function eve(e){return e}var tve=[],ZW=!0,rF=!1,pW="skip";function mW(e,r,a,i){let f;if(typeof r==="function"&&typeof a!=="function")i=a,a=r;else f=r;let s=eF(f),l=i?-1:1;c(e,void 0,[])();function c(m,g,M){let v=m&&typeof m==="object"?m:{};if(typeof v.type==="string"){let x=typeof v.tagName==="string"?v.tagName:typeof v.name==="string"?v.name:void 0;Object.defineProperty(y,"name",{value:"node ("+eve(m.type+(x?"<"+x+">":""))+")"})}return y;function y(){let x=tve,_,j,U;if(!r||s(m,g,M[M.length-1]||void 0)){if(x=hSt(a(m,M)),x[0]===rF)return x}if("children"in m&&m.children){let T=m;if(T.children&&x[0]!==pW){j=(i?T.children.length:-1)+l,U=M.concat(T);while(j>-1&&j<T.children.length){let N=T.children[j];if(_=c(N,j,U)(),_[0]===rF)return _;j=typeof _[1]==="number"?_[1]:j+l}}}return x}}}function hSt(e){if(Array.isArray(e))return e;if(typeof e==="number")return[ZW,e];return e===null||e===void 0?tve:[e]}function gD(e,r,a,i){let f,s,l;if(typeof r==="function"&&typeof a!=="function")s=void 0,l=r,f=a;else s=r,l=a,f=i;mW(e,s,c,f);function c(m,g){let M=g[g.length-1],v=M?M.children.indexOf(m):void 0;return l(m,v,M)}}function rve(e,r){let a={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(r),!0)};return e.patch(r,a),e.applyData(r,a)}function ove(e,r){let a={type:"element",tagName:"br",properties:{},children:[]};return e.patch(r,a),[e.applyData(r,a),{type:"text",value:`
203
- `}]}function ave(e,r){let a=r.value?r.value+`
204
- `:"",i={},f=r.lang?r.lang.split(/\s+/):[];if(f.length>0)i.className=["language-"+f[0]];let s={type:"element",tagName:"code",properties:i,children:[{type:"text",value:a}]};if(r.meta)s.data={meta:r.meta};return e.patch(r,s),s=e.applyData(r,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(r,s),s}function nve(e,r){let a={type:"element",tagName:"del",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function ive(e,r){let a={type:"element",tagName:"em",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function fve(e,r){let a=typeof e.options.clobberPrefix==="string"?e.options.clobberPrefix:"user-content-",i=String(r.identifier).toUpperCase(),f=eu(i.toLowerCase()),s=e.footnoteOrder.indexOf(i),l,c=e.footnoteCounts.get(i);if(c===void 0)c=0,e.footnoteOrder.push(i),l=e.footnoteOrder.length;else l=s+1;c+=1,e.footnoteCounts.set(i,c);let m={type:"element",tagName:"a",properties:{href:"#"+a+"fn-"+f,id:a+"fnref-"+f+(c>1?"-"+c:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(r,m);let g={type:"element",tagName:"sup",properties:{},children:[m]};return e.patch(r,g),e.applyData(r,g)}function sve(e,r){let a={type:"element",tagName:"h"+r.depth,properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function lve(e,r){if(e.options.allowDangerousHtml){let a={type:"raw",value:r.value};return e.patch(r,a),e.applyData(r,a)}return}function oF(e,r){let a=r.referenceType,i="]";if(a==="collapsed")i+="[]";else if(a==="full")i+="["+(r.label||r.identifier)+"]";if(r.type==="imageReference")return[{type:"text",value:"!["+r.alt+i}];let f=e.all(r),s=f[0];if(s&&s.type==="text")s.value="["+s.value;else f.unshift({type:"text",value:"["});let l=f[f.length-1];if(l&&l.type==="text")l.value+=i;else f.push({type:"text",value:i});return f}function cve(e,r){let a=String(r.identifier).toUpperCase(),i=e.definitionById.get(a);if(!i)return oF(e,r);let f={src:eu(i.url||""),alt:r.alt};if(i.title!==null&&i.title!==void 0)f.title=i.title;let s={type:"element",tagName:"img",properties:f,children:[]};return e.patch(r,s),e.applyData(r,s)}function uve(e,r){let a={src:eu(r.url)};if(r.alt!==null&&r.alt!==void 0)a.alt=r.alt;if(r.title!==null&&r.title!==void 0)a.title=r.title;let i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(r,i),e.applyData(r,i)}function dve(e,r){let a={type:"text",value:r.value.replace(/\r?\n|\r/g," ")};e.patch(r,a);let i={type:"element",tagName:"code",properties:{},children:[a]};return e.patch(r,i),e.applyData(r,i)}function Zve(e,r){let a=String(r.identifier).toUpperCase(),i=e.definitionById.get(a);if(!i)return oF(e,r);let f={href:eu(i.url||"")};if(i.title!==null&&i.title!==void 0)f.title=i.title;let s={type:"element",tagName:"a",properties:f,children:e.all(r)};return e.patch(r,s),e.applyData(r,s)}function pve(e,r){let a={href:eu(r.url)};if(r.title!==null&&r.title!==void 0)a.title=r.title;let i={type:"element",tagName:"a",properties:a,children:e.all(r)};return e.patch(r,i),e.applyData(r,i)}function mve(e,r,a){let i=e.all(r),f=a?gSt(a):hve(r),s={},l=[];if(typeof r.checked==="boolean"){let M=i[0],v;if(M&&M.type==="element"&&M.tagName==="p")v=M;else v={type:"element",tagName:"p",properties:{},children:[]},i.unshift(v);if(v.children.length>0)v.children.unshift({type:"text",value:" "});v.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:r.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let c=-1;while(++c<i.length){let M=i[c];if(f||c!==0||M.type!=="element"||M.tagName!=="p")l.push({type:"text",value:`
205
- `});if(M.type==="element"&&M.tagName==="p"&&!f)l.push(...M.children);else l.push(M)}let m=i[i.length-1];if(m&&(f||m.type!=="element"||m.tagName!=="p"))l.push({type:"text",value:`
206
- `});let g={type:"element",tagName:"li",properties:s,children:l};return e.patch(r,g),e.applyData(r,g)}function gSt(e){let r=!1;if(e.type==="list"){r=e.spread||!1;let a=e.children,i=-1;while(!r&&++i<a.length)r=hve(a[i])}return r}function hve(e){let r=e.spread;return r===null||r===void 0?e.children.length>1:r}function gve(e,r){let a={},i=e.all(r),f=-1;if(typeof r.start==="number"&&r.start!==1)a.start=r.start;while(++f<i.length){let l=i[f];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){a.className=["contains-task-list"];break}}let s={type:"element",tagName:r.ordered?"ol":"ul",properties:a,children:e.wrap(i,!0)};return e.patch(r,s),e.applyData(r,s)}function Mve(e,r){let a={type:"element",tagName:"p",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function vve(e,r){let a={type:"root",children:e.wrap(e.all(r))};return e.patch(r,a),e.applyData(r,a)}function xve(e,r){let a={type:"element",tagName:"strong",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function yve(e,r){let a=e.all(r),i=a.shift(),f=[];if(i){let l={type:"element",tagName:"thead",properties:{},children:e.wrap([i],!0)};e.patch(r.children[0],l),f.push(l)}if(a.length>0){let l={type:"element",tagName:"tbody",properties:{},children:e.wrap(a,!0)},c=_R(r.children[1]),m=j4(r.children[r.children.length-1]);if(c&&m)l.position={start:c,end:m};f.push(l)}let s={type:"element",tagName:"table",properties:{},children:e.wrap(f,!0)};return e.patch(r,s),e.applyData(r,s)}function bve(e,r,a){let i=a?a.children:void 0,s=(i?i.indexOf(r):1)===0?"th":"td",l=a&&a.type==="table"?a.align:void 0,c=l?l.length:r.children.length,m=-1,g=[];while(++m<c){let v=r.children[m],y={},x=l?l[m]:void 0;if(x)y.align=x;let _={type:"element",tagName:s,properties:y,children:[]};if(v)_.children=e.all(v),e.patch(v,_),_=e.applyData(v,_);g.push(_)}let M={type:"element",tagName:"tr",properties:{},children:e.wrap(g,!0)};return e.patch(r,M),e.applyData(r,M)}function _ve(e,r){let a={type:"element",tagName:"td",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function zve(e){let r=String(e),a=/\r?\n|\r/g,i=a.exec(r),f=0,s=[];while(i)s.push(wve(r.slice(f,i.index),f>0,!0),i[0]),f=i.index+i[0].length,i=a.exec(r);return s.push(wve(r.slice(f),f>0,!1)),s.join("")}function wve(e,r,a){let i=0,f=e.length;if(r){let s=e.codePointAt(i);while(s===9||s===32)i++,s=e.codePointAt(i)}if(a){let s=e.codePointAt(f-1);while(s===9||s===32)f--,s=e.codePointAt(f-1)}return f>i?e.slice(i,f):""}function Sve(e,r){let a={type:"text",value:zve(String(r.value))};return e.patch(r,a),e.applyData(r,a)}function Lve(e,r){let a={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(r,a),e.applyData(r,a)}var kve={blockquote:rve,break:ove,code:ave,delete:nve,emphasis:ive,footnoteReference:fve,heading:sve,html:lve,imageReference:cve,image:uve,inlineCode:dve,linkReference:Zve,link:pve,listItem:mve,list:gve,paragraph:Mve,root:vve,strong:xve,table:yve,tableCell:_ve,tableRow:bve,text:Sve,thematicBreak:Lve,toml:aF,yaml:aF,definition:aF,footnoteDefinition:aF};function aF(){return}var hW={}.hasOwnProperty,MSt={};function Ive(e,r){let a=r||MSt,i=new Map,f=new Map,s=new Map,l={...kve,...a.handlers},c={all:g,applyData:xSt,definitionById:i,footnoteById:f,footnoteCounts:s,footnoteOrder:[],handlers:l,one:m,options:a,patch:vSt,wrap:bSt};return gD(e,function(M){if(M.type==="definition"||M.type==="footnoteDefinition"){let v=M.type==="definition"?i:f,y=String(M.identifier).toUpperCase();if(!v.has(y))v.set(y,M)}}),c;function m(M,v){let y=M.type,x=c.handlers[y];if(hW.call(c.handlers,y)&&x)return x(c,M,v);if(c.options.passThrough&&c.options.passThrough.includes(y)){if("children"in M){let{children:j,...U}=M,T=kR(U);return T.children=c.all(M),T}return kR(M)}return(c.options.unknownHandler||ySt)(c,M,v)}function g(M){let v=[];if("children"in M){let y=M.children,x=-1;while(++x<y.length){let _=c.one(y[x],M);if(_){if(x&&y[x-1].type==="break"){if(!Array.isArray(_)&&_.type==="text")_.value=Cve(_.value);if(!Array.isArray(_)&&_.type==="element"){let j=_.children[0];if(j&&j.type==="text")j.value=Cve(j.value)}}if(Array.isArray(_))v.push(..._);else v.push(_)}}}return v}}function vSt(e,r){if(e.position)r.position=FH(e)}function xSt(e,r){let a=r;if(e&&e.data){let i=e.data.hName,f=e.data.hChildren,s=e.data.hProperties;if(typeof i==="string")if(a.type==="element")a.tagName=i;else{let l="children"in a?a.children:[a];a={type:"element",tagName:i,properties:{},children:l}}if(a.type==="element"&&s)Object.assign(a.properties,kR(s));if("children"in a&&a.children&&f!==null&&f!==void 0)a.children=f}return a}function ySt(e,r){let a=r.data||{},i="value"in r&&!(hW.call(a,"hProperties")||hW.call(a,"hChildren"))?{type:"text",value:r.value}:{type:"element",tagName:"div",properties:{},children:e.all(r)};return e.patch(r,i),e.applyData(r,i)}function bSt(e,r){let a=[],i=-1;if(r)a.push({type:"text",value:`
207
- `});while(++i<e.length){if(i)a.push({type:"text",value:`
208
- `});a.push(e[i])}if(r&&e.length>0)a.push({type:"text",value:`
209
- `});return a}function Cve(e){let r=0,a=e.charCodeAt(r);while(a===9||a===32)r++,a=e.charCodeAt(r);return e.slice(r)}function nF(e,r){let a=Ive(e,r),i=a.one(e,void 0),f=$Me(a),s=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};if(f)Is("children"in s),s.children.push({type:"text",value:`
210
- `},f);return s}function iF(e,r){if(e&&"run"in e)return async function(a,i){let f=nF(a,{file:i,...r});await e.run(f,i)};return function(a,i){return nF(a,{file:i,...e||r})}}function gW(e){if(e)throw e}var lF=z(Nve(),1);function MD(e){if(typeof e!=="object"||e===null)return!1;let r=Object.getPrototypeOf(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function MW(){let e=[],r={run:a,use:i};return r;function a(...f){let s=-1,l=f.pop();if(typeof l!=="function")throw TypeError("Expected function as last argument, not "+l);c(null,...f);function c(m,...g){let M=e[++s],v=-1;if(m){l(m);return}while(++v<f.length)if(g[v]===null||g[v]===void 0)g[v]=f[v];if(f=g,M)Fve(M,c)(...g);else l(null,...g)}}function i(f){if(typeof f!=="function")throw TypeError("Expected `middelware` to be a function, not "+f);return e.push(f),r}}function Fve(e,r){let a;return i;function i(...l){let c=e.length>l.length,m;if(c)l.push(f);try{m=e.apply(this,l)}catch(g){let M=g;if(c&&a)throw M;return f(M)}if(!c)if(m&&m.then&&typeof m.then==="function")m.then(s,f);else if(m instanceof Error)f(m);else s(m)}function f(l,...c){if(!a)a=!0,r(l,...c)}function s(l){f(null,l)}}var Cu={basename:_St,dirname:wSt,extname:zSt,join:SSt,sep:"/"};function _St(e,r){if(r!==void 0&&typeof r!=="string")throw TypeError('"ext" argument must be a string');vD(e);let a=0,i=-1,f=e.length,s;if(r===void 0||r.length===0||r.length>e.length){while(f--)if(e.codePointAt(f)===47){if(s){a=f+1;break}}else if(i<0)s=!0,i=f+1;return i<0?"":e.slice(a,i)}if(r===e)return"";let l=-1,c=r.length-1;while(f--)if(e.codePointAt(f)===47){if(s){a=f+1;break}}else{if(l<0)s=!0,l=f+1;if(c>-1)if(e.codePointAt(f)===r.codePointAt(c--)){if(c<0)i=f}else c=-1,i=l}if(a===i)i=l;else if(i<0)i=e.length;return e.slice(a,i)}function wSt(e){if(vD(e),e.length===0)return".";let r=-1,a=e.length,i;while(--a)if(e.codePointAt(a)===47){if(i){r=a;break}}else if(!i)i=!0;return r<0?e.codePointAt(0)===47?"/":".":r===1&&e.codePointAt(0)===47?"//":e.slice(0,r)}function zSt(e){vD(e);let r=e.length,a=-1,i=0,f=-1,s=0,l;while(r--){let c=e.codePointAt(r);if(c===47){if(l){i=r+1;break}continue}if(a<0)l=!0,a=r+1;if(c===46){if(f<0)f=r;else if(s!==1)s=1}else if(f>-1)s=-1}if(f<0||a<0||s===0||s===1&&f===a-1&&f===i+1)return"";return e.slice(f,a)}function SSt(...e){let r=-1,a;while(++r<e.length)if(vD(e[r]),e[r])a=a===void 0?e[r]:a+"/"+e[r];return a===void 0?".":LSt(a)}function LSt(e){vD(e);let r=e.codePointAt(0)===47,a=kSt(e,!r);if(a.length===0&&!r)a=".";if(a.length>0&&e.codePointAt(e.length-1)===47)a+="/";return r?"/"+a:a}function kSt(e,r){let a="",i=0,f=-1,s=0,l=-1,c,m;while(++l<=e.length){if(l<e.length)c=e.codePointAt(l);else if(c===47)break;else c=47;if(c===47){if(f===l-1||s===1);else if(f!==l-1&&s===2){if(a.length<2||i!==2||a.codePointAt(a.length-1)!==46||a.codePointAt(a.length-2)!==46){if(a.length>2){if(m=a.lastIndexOf("/"),m!==a.length-1){if(m<0)a="",i=0;else a=a.slice(0,m),i=a.length-1-a.lastIndexOf("/");f=l,s=0;continue}}else if(a.length>0){a="",i=0,f=l,s=0;continue}}if(r)a=a.length>0?a+"/..":"..",i=2}else{if(a.length>0)a+="/"+e.slice(f+1,l);else a=e.slice(f+1,l);i=l-f-1}f=l,s=0}else if(c===46&&s>-1)s++;else s=-1}return a}function vD(e){if(typeof e!=="string")throw TypeError("Path must be a string. Received "+JSON.stringify(e))}var Bve={cwd:CSt};function CSt(){return"/"}function CR(e){return Boolean(e!==null&&typeof e==="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Yve(e){if(typeof e==="string")e=new URL(e);else if(!CR(e)){let r=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw r.code="ERR_INVALID_ARG_TYPE",r}if(e.protocol!=="file:"){let r=TypeError("The URL must be of scheme file");throw r.code="ERR_INVALID_URL_SCHEME",r}return ISt(e)}function ISt(e){if(e.hostname!==""){let i=TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}let r=e.pathname,a=-1;while(++a<r.length)if(r.codePointAt(a)===37&&r.codePointAt(a+1)===50){let i=r.codePointAt(a+2);if(i===70||i===102){let f=TypeError("File URL path must not include encoded / characters");throw f.code="ERR_INVALID_FILE_URL_PATH",f}}return decodeURIComponent(r)}var vW=["history","path","basename","stem","extname","dirname"];class IR{constructor(e){let r;if(!e)r={};else if(CR(e))r={path:e};else if(typeof e==="string"||RSt(e))r={value:e};else r=e;this.cwd="cwd"in r?"":Bve.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;while(++a<vW.length){let f=vW[a];if(f in r&&r[f]!==void 0&&r[f]!==null)this[f]=f==="history"?[...r[f]]:r[f]}let i;for(i in r)if(!vW.includes(i))this[i]=r[i]}get basename(){return typeof this.path==="string"?Cu.basename(this.path):void 0}set basename(e){yW(e,"basename"),xW(e,"basename"),this.path=Cu.join(this.dirname||"",e)}get dirname(){return typeof this.path==="string"?Cu.dirname(this.path):void 0}set dirname(e){Uve(this.basename,"dirname"),this.path=Cu.join(e||"",this.basename)}get extname(){return typeof this.path==="string"?Cu.extname(this.path):void 0}set extname(e){if(xW(e,"extname"),Uve(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=Cu.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){if(CR(e))e=Yve(e);if(yW(e,"path"),this.path!==e)this.history.push(e)}get stem(){return typeof this.path==="string"?Cu.basename(this.path,this.extname):void 0}set stem(e){yW(e,"stem"),xW(e,"stem"),this.path=Cu.join(this.dirname||"",e+(this.extname||""))}fail(e,r,a){let i=this.message(e,r,a);throw i.fatal=!0,i}info(e,r,a){let i=this.message(e,r,a);return i.fatal=void 0,i}message(e,r,a){let i=new di(e,r,a);if(this.path)i.name=this.path+":"+i.name,i.file=this.path;return i.fatal=!1,this.messages.push(i),i}toString(e){if(this.value===void 0)return"";if(typeof this.value==="string")return this.value;return new TextDecoder(e||void 0).decode(this.value)}}function xW(e,r){if(e&&e.includes(Cu.sep))throw Error("`"+r+"` cannot be a path: did not expect `"+Cu.sep+"`")}function yW(e,r){if(!e)throw Error("`"+r+"` cannot be empty")}function Uve(e,r){if(!e)throw Error("Setting `"+r+"` requires `path` to be set too")}function RSt(e){return Boolean(e&&typeof e==="object"&&"byteLength"in e&&"byteOffset"in e)}var qve=function(e){let i=this.constructor.prototype,f=i[e],s=function(){return f.apply(s,arguments)};return Object.setPrototypeOf(s,i),s};var PSt={}.hasOwnProperty;class zW extends qve{constructor(){super("copy");this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=MW()}copy(){let e=new zW,r=-1;while(++r<this.attachers.length){let a=this.attachers[r];e.use(...a)}return e.data(lF.default(!0,{},this.namespace)),e}data(e,r){if(typeof e==="string"){if(arguments.length===2)return wW("data",this.frozen),this.namespace[e]=r,this;return PSt.call(this.namespace,e)&&this.namespace[e]||void 0}if(e)return wW("data",this.frozen),this.namespace=e,this;return this.namespace}freeze(){if(this.frozen)return this;let e=this;while(++this.freezeIndex<this.attachers.length){let[r,...a]=this.attachers[this.freezeIndex];if(a[0]===!1)continue;if(a[0]===!0)a[0]=void 0;let i=r.call(e,...a);if(typeof i==="function")this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();let r=sF(e),a=this.parser||this.Parser;return bW("parse",a),a(String(r),r)}process(e,r){let a=this;return this.freeze(),bW("process",this.parser||this.Parser),_W("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(f,s){let l=sF(e),c=a.parse(l);a.run(c,l,function(g,M,v){if(g||!M||!v)return m(g);let y=M,x=a.stringify(y,v);if(ASt(x))v.value=x;else v.result=x;m(g,v)});function m(g,M){if(g||!M)s(g);else if(f)f(M);else Is(r,"`done` is defined if `resolve` is not"),r(void 0,M)}}}processSync(e){let r=!1,a;return this.freeze(),bW("processSync",this.parser||this.Parser),_W("processSync",this.compiler||this.Compiler),this.process(e,i),Hve("processSync","process",r),Is(a,"we either bailed on an error or have a tree"),a;function i(f,s){r=!0,gW(f),a=s}}run(e,r,a){Vve(e),this.freeze();let i=this.transformers;if(!a&&typeof r==="function")a=r,r=void 0;return a?f(void 0,a):new Promise(f);function f(s,l){Is(typeof r!=="function","`file` can’t be a `done` anymore, we checked");let c=sF(r);i.run(e,c,m);function m(g,M,v){let y=M||e;if(g)l(g);else if(s)s(y);else Is(a,"`done` is defined if `resolve` is not"),a(void 0,y,v)}}}runSync(e,r){let a=!1,i;return this.run(e,r,f),Hve("runSync","run",a),Is(i,"we either bailed on an error or have a tree"),i;function f(s,l){gW(s),i=l,a=!0}}stringify(e,r){this.freeze();let a=sF(r),i=this.compiler||this.Compiler;return _W("stringify",i),Vve(e),i(e,a)}use(e,...r){let a=this.attachers,i=this.namespace;if(wW("use",this.frozen),e===null||e===void 0);else if(typeof e==="function")c(e,r);else if(typeof e==="object")if(Array.isArray(e))l(e);else s(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function f(m){if(typeof m==="function")c(m,[]);else if(typeof m==="object")if(Array.isArray(m)){let[g,...M]=m;c(g,M)}else s(m);else throw TypeError("Expected usable value, not `"+m+"`")}function s(m){if(!("plugins"in m)&&!("settings"in m))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");if(l(m.plugins),m.settings)i.settings=lF.default(!0,i.settings,m.settings)}function l(m){let g=-1;if(m===null||m===void 0);else if(Array.isArray(m))while(++g<m.length){let M=m[g];f(M)}else throw TypeError("Expected a list of plugins, not `"+m+"`")}function c(m,g){let M=-1,v=-1;while(++M<a.length)if(a[M][0]===m){v=M;break}if(v===-1)a.push([m,...g]);else if(g.length>0){let[y,...x]=g,_=a[v][1];if(MD(_)&&MD(y))y=lF.default(!0,_,y);a[v]=[m,y,...x]}}}}var SW=new zW().freeze();function bW(e,r){if(typeof r!=="function")throw TypeError("Cannot `"+e+"` without `parser`")}function _W(e,r){if(typeof r!=="function")throw TypeError("Cannot `"+e+"` without `compiler`")}function wW(e,r){if(r)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Vve(e){if(!MD(e)||typeof e.type!=="string")throw TypeError("Expected node, got `"+e+"`")}function Hve(e,r,a){if(!a)throw Error("`"+e+"` finished async. Use `"+r+"` instead")}function sF(e){return TSt(e)?e:new IR(e)}function TSt(e){return Boolean(e&&typeof e==="object"&&"message"in e&&"messages"in e)}function ASt(e){return typeof e==="string"||ESt(e)}function ESt(e){return Boolean(e&&typeof e==="object"&&"byteLength"in e&&"byteOffset"in e)}var DSt="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Wve=[],Gve={allowDangerousHtml:!0},OSt=/^(https?|ircs?|mailto|xmpp)$/i,jSt=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Eo(e){let r=NSt(e),a=FSt(e);return BSt(r.runSync(r.parse(a),a),e)}function NSt(e){let r=e.rehypePlugins||Wve,a=e.remarkPlugins||Wve,i=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Gve}:Gve;return SW().use(K4).use(a).use(iF,i).use(r)}function FSt(e){let r=e.children||"",a=new IR;if(typeof r==="string")a.value=r;else P4("Unexpected value `"+r+"` for `children` prop, expected `string`");return a}function BSt(e,r){let{allowedElements:a,allowElement:i,components:f,disallowedElements:s,skipHtml:l,unwrapDisallowed:c}=r,m=r.urlTransform||Kve;for(let M of jSt)if(Object.hasOwn(r,M.from))P4("Unexpected `"+M.from+"` prop, "+(M.to?"use `"+M.to+"` instead":"remove it")+" (see <"+DSt+"#"+M.id+"> for more info)");if(a&&s)P4("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other");return gD(e,g),UH(e,{Fragment:Z,components:f,ignoreInvalidStyle:!0,jsx:t,jsxs:o,passKeys:!0,passNode:!0});function g(M,v,y){if(M.type==="raw"&&y&&typeof v==="number"){if(l)y.children.splice(v,1);else y.children[v]={type:"text",value:M.value};return v}if(M.type==="element"){let x;for(x in nD)if(Object.hasOwn(nD,x)&&Object.hasOwn(M.properties,x)){let _=M.properties[x],j=nD[x];if(j===null||j.includes(M.tagName))M.properties[x]=m(String(_||""),x,M)}}if(M.type==="element"){let x=a?!a.includes(M.tagName):s?s.includes(M.tagName):!1;if(!x&&i&&typeof v==="number")x=!i(M,v,y);if(x&&y&&typeof v==="number"){if(c&&M.children)y.children.splice(v,1,...M.children);else y.children.splice(v,1);return v}}}}function Kve(e){let r=e.indexOf(":"),a=e.indexOf("?"),i=e.indexOf("#"),f=e.indexOf("/");if(r===-1||f!==-1&&r>f||a!==-1&&r>a||i!==-1&&r>i||OSt.test(e.slice(0,r)))return e;return""}var YSt=/\.(png|jpe?g|webp|gif|svg|avif|bmp|ico)$/i;function zs(e){if(!e)return!1;return YSt.test(e)}function $d(e,r){if(!e||e.length===0)return null;let a=[...e].sort((f,s)=>{let l=f.width??0;return(s.width??0)-l}),i=a.filter((f)=>(f.width??0)>=r);if(i.length>0)return i.sort((f,s)=>{let l=f.width??0,c=s.width??0;return l-c}),i[0];return a[0]}function Xve({teamId:e,taskId:r,comment:a,currentUserId:i,isOwnerOrAdmin:f}){let s=K(),[l,c]=u(!1),[m,g]=u(null),M=f||a.author.id===i,{mutate:v,isPending:y}=B({mutationFn:async()=>{let _=await A.api.teams[":teamId"].kanban.tasks[":taskId"].comments[":commentId"].$delete({param:{teamId:e,taskId:r,commentId:a.id}});if(!_.ok){let j=await _.json().catch(()=>({message:Tn()}));throw Error(j.message||Tn())}return await _.json()},onSuccess:()=>{s.invalidateQueries({queryKey:["teams",e,"kanban","tasks",r,"comments"]}),s.invalidateQueries({queryKey:["teams",e,"kanban","task",r]}),s.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]}),k.success("Comment deleted"),c(!1)},onError:(_)=>{k.error(_.message)}}),x=(a.author.name||"U").split(" ").map((_)=>_[0]).slice(0,2).join("").toUpperCase();return o("div",{className:"relative flex gap-3 p-3 rounded-xl border border-transparent bg-foreground/[0.03] dark:bg-foreground/[0.08] hover:bg-foreground/[0.06] dark:hover:bg-foreground/[0.12] transition-colors group w-full max-w-full overflow-hidden",children:[o(Ce,{className:"w-7 h-7 shrink-0 mt-0.5 border border-border",children:[a.author.image&&t(Ie,{src:a.author.image,alt:a.author.name}),t(Te,{className:"text-[10px] font-medium bg-muted text-muted-foreground",children:x})]}),o("div",{className:"flex-1 min-w-0 space-y-1.5 overflow-hidden",children:[o("div",{className:"flex items-center justify-between gap-2",children:[o("div",{className:"flex items-center gap-2 min-w-0",children:[t("span",{className:"font-semibold text-xs text-foreground truncate",children:a.author.name}),t("span",{className:"text-[10px] text-muted-foreground shrink-0 font-mono",children:mr(new Date(a.createdAt),"MMM d, h:mm a")})]}),M&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity",children:o(he,{modal:!1,children:[t(ge,{asChild:!0,children:t(E,{size:"icon-xs",variant:"ghost",className:"h-5 w-5 text-muted-foreground",children:t(rr,{className:"h-3.5 w-3.5"})})}),t(Ae,{align:"end",children:o(W,{className:"text-destructive focus:text-destructive cursor-pointer text-xs",onClick:()=>c(!0),children:[t(we,{className:"mr-1.5 h-3.5 w-3.5"}),t("span",{children:it()})]})})]})})]}),a.body&&t("div",{className:"text-xs leading-relaxed prose prose-xs dark:prose-invert max-w-none break-words text-foreground/90 font-sans",children:t(Eo,{children:a.body})}),a.attachments&&a.attachments.length>0&&t("div",{className:"flex flex-col gap-1.5 pt-1.5 w-full max-w-full overflow-hidden",children:a.attachments.map((_)=>{let j=zs(_.name||_.url);return o("div",{className:`group/att relative flex items-center w-full max-w-full rounded-lg border border-border bg-card hover:bg-muted/40 transition-colors overflow-hidden ${j?"h-18 p-1.5 gap-2.5 cursor-pointer":"h-9 px-2.5 gap-2.5"}`,onClick:()=>{if(j)g({url:_.url,name:_.name});else window.open(_.url,"_blank","noreferrer")},children:[j?t("div",{className:"h-full aspect-square rounded-md overflow-hidden bg-muted/40 shrink-0",children:t("img",{src:_.url,alt:_.name,className:"w-full h-full object-cover group-hover/att:scale-105 transition-transform duration-200"})}):t(qn,{className:"w-4 h-4 text-muted-foreground shrink-0"}),o("div",{className:"min-w-0 flex-1 overflow-hidden",children:[t("p",{className:"text-xs font-medium text-foreground truncate block w-full",title:_.name,children:_.name}),_.sizeByte!==void 0&&_.sizeByte>0&&t("p",{className:"text-[10px] text-muted-foreground font-mono truncate",children:Kr(_.sizeByte)})]}),t("a",{href:_.url,download:_.name,target:"_blank",rel:"noreferrer",className:"p-1 text-muted-foreground hover:text-foreground shrink-0 rounded-md hover:bg-muted transition-colors opacity-0 group-hover/att:opacity-100",onClick:(U)=>U.stopPropagation(),title:pr(),children:t(vt,{className:"w-3.5 h-3.5"})})]},_.id)})})]}),t(Je,{open:l,onOpenChange:c,children:o(Xe,{children:[o(et,{children:[t(rt,{children:oh()}),t(nt,{children:sh()})]}),o(tt,{children:[t(st,{disabled:y,children:Ne()}),t(ot,{className:"bg-destructive hover:bg-destructive/90 text-white",disabled:y,onClick:()=>v(),children:it()})]})]})}),t(ue,{open:!!m,onOpenChange:(_)=>!_&&g(null),children:o(ie,{className:"w-auto max-w-[80vw] sm:max-w-[80vw] max-h-[80vh] p-2 sm:p-3 bg-background/95 backdrop-blur-sm border-border flex flex-col items-center justify-center overflow-hidden",onClick:(_)=>_.stopPropagation(),children:[t(me,{className:"sr-only",children:t(le,{children:m?.name||"Image Preview"})}),m&&o("div",{className:"flex flex-col items-center justify-center max-w-[80vw] max-h-[80vh] overflow-hidden",children:[t("img",{src:m.url,alt:m.name,className:"max-w-[80vw] max-h-[calc(80vh-2.5rem)] w-auto h-auto object-contain rounded-md"}),t("p",{className:"text-xs text-muted-foreground truncate max-w-full px-2 pt-1.5 text-center",children:m.name})]})]})})]})}S();var n8e=Symbol.for("immer-nothing"),Qve=Symbol.for("immer-draftable"),ts=Symbol.for("immer-state");function Iu(e,...r){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var ec=Object,PR=ec.getPrototypeOf,ZF="constructor",vF="prototype",IW="configurable",pF="enumerable",uF="writable",xD="value",W8=(e)=>!!e&&!!e[ts];function zZ(e){if(!e)return!1;return i8e(e)||yF(e)||!!e[Qve]||!!e[ZF]?.[Qve]||bF(e)||_F(e)}var USt=ec[vF][ZF].toString(),Jve=new WeakMap;function i8e(e){if(!e||!jW(e))return!1;let r=PR(e);if(r===null||r===ec[vF])return!0;let a=ec.hasOwnProperty.call(r,ZF)&&r[ZF];if(a===Object)return!0;if(!RR(a))return!1;let i=Jve.get(a);if(i===void 0)i=Function.toString.call(a),Jve.set(a,i);return i===USt}function xF(e,r,a=!0){if(_D(e)===0)(a?Reflect.ownKeys(e):ec.keys(e)).forEach((f)=>{r(f,e[f],e)});else e.forEach((i,f)=>r(f,i,e))}function _D(e){let r=e[ts];return r?r.type_:yF(e)?1:bF(e)?2:_F(e)?3:0}var LW=(e,r,a=_D(e))=>a===2?e.has(r):ec[vF].hasOwnProperty.call(e,r),RW=(e,r,a=_D(e))=>a===2?e.get(r):e[r],mF=(e,r,a,i=_D(e))=>{if(i===2)e.set(r,a);else if(i===3)e.add(a);else e[r]=a};function qSt(e,r){if(e===r)return e!==0||1/e===1/r;else return e!==e&&r!==r}var yF=Array.isArray,bF=(e)=>e instanceof Map,_F=(e)=>e instanceof Set,jW=(e)=>typeof e==="object",RR=(e)=>typeof e==="function",kW=(e)=>typeof e==="boolean";function VSt(e){let r=+e;return Number.isInteger(r)&&String(r)===e}var pM=(e)=>e.copy_||e.base_;var NW=(e)=>e.modified_?e.copy_:e.base_;function PW(e,r){if(bF(e))return new Map(e);if(_F(e))return new Set(e);if(yF(e))return Array[vF].slice.call(e);let a=i8e(e);if(r===!0||r==="class_only"&&!a){let i=ec.getOwnPropertyDescriptors(e);delete i[ts];let f=Reflect.ownKeys(i);for(let s=0;s<f.length;s++){let l=f[s],c=i[l];if(c[uF]===!1)c[uF]=!0,c[IW]=!0;if(c.get||c.set)i[l]={[IW]:!0,[uF]:!0,[pF]:c[pF],[xD]:e[l]}}return ec.create(PR(e),i)}else{let i=PR(e);if(i!==null&&a)return{...e};let f=ec.create(i);return ec.assign(f,e)}}function FW(e,r=!1){if(wF(e)||W8(e)||!zZ(e))return e;if(_D(e)>1)ec.defineProperties(e,{set:cF,add:cF,clear:cF,delete:cF});if(ec.freeze(e),r)xF(e,(a,i)=>{FW(i,!0)},!1);return e}function HSt(){Iu(2)}var cF={[xD]:HSt};function wF(e){if(e===null||!jW(e))return!0;return ec.isFrozen(e)}var hF="MapSet",TW="Patches",$ve="ArrayMethods",f8e={};function AL(e){let r=f8e[e];if(!r)Iu(0,e);return r}var e8e=(e)=>!!f8e[e];var yD,s8e=()=>yD,WSt=(e,r)=>({drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:e8e(hF)?AL(hF):void 0,arrayMethodsPlugin_:e8e($ve)?AL($ve):void 0});function t8e(e,r){if(r)e.patchPlugin_=AL(TW),e.patches_=[],e.inversePatches_=[],e.patchListener_=r}function AW(e){EW(e),e.drafts_.forEach(GSt),e.drafts_=null}function EW(e){if(e===yD)yD=e.parent_}var r8e=(e)=>yD=WSt(yD,e);function GSt(e){let r=e[ts];if(r.type_===0||r.type_===1)r.revoke_();else r.revoked_=!0}function o8e(e,r){r.unfinalizedDrafts_=r.drafts_.length;let a=r.drafts_[0];if(e!==void 0&&e!==a){if(a[ts].modified_)AW(r),Iu(4);if(zZ(e))e=a8e(r,e);let{patchPlugin_:f}=r;if(f)f.generateReplacementPatches_(a[ts].base_,e,r)}else e=a8e(r,a);if(KSt(r,e,!0),AW(r),r.patches_)r.patchListener_(r.patches_,r.inversePatches_);return e!==n8e?e:void 0}function a8e(e,r){if(wF(r))return r;let a=r[ts];if(!a)return gF(r,e.handledSet_,e);if(!zF(a,e))return r;if(!a.modified_)return a.base_;if(!a.finalized_){let{callbacks_:i}=a;if(i)while(i.length>0)i.pop()(e);u8e(a,e)}return a.copy_}function KSt(e,r,a=!1){if(!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_)FW(r,a)}function l8e(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var zF=(e,r)=>e.scope_===r,XSt=[];function c8e(e,r,a,i){let f=pM(e),s=e.type_;if(i!==void 0){if(RW(f,i,s)===r){mF(f,i,a,s);return}}if(!e.draftLocations_){let c=e.draftLocations_=new Map;xF(f,(m,g)=>{if(W8(g)){let M=c.get(g)||[];M.push(m),c.set(g,M)}})}let l=e.draftLocations_.get(r)??XSt;for(let c of l)mF(f,c,a,s)}function QSt(e,r,a){e.callbacks_.push(function(f){let s=r;if(!s||!zF(s,f))return;f.mapSetPlugin_?.fixSetContents(s);let l=NW(s);c8e(e,s.draft_??s,l,a),u8e(s,f)})}function u8e(e,r){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:i}=r;if(i){let f=i.getPath(e);if(f)i.generatePatches_(e,f,r)}l8e(e)}}function JSt(e,r,a){let{scope_:i}=e;if(W8(a)){let f=a[ts];if(zF(f,i))f.callbacks_.push(function(){dF(e);let l=NW(f);c8e(e,a,l,r)})}else if(zZ(a))e.callbacks_.push(function(){let s=pM(e);if(e.type_===3){if(s.has(a))gF(a,i.handledSet_,i)}else if(RW(s,r,e.type_)===a){if(i.drafts_.length>1&&(e.assigned_.get(r)??!1)===!0&&e.copy_)gF(RW(e.copy_,r,e.type_),i.handledSet_,i)}})}function gF(e,r,a){if(!a.immer_.autoFreeze_&&a.unfinalizedDrafts_<1)return e;if(W8(e)||r.has(e)||!zZ(e)||wF(e))return e;return r.add(e),xF(e,(i,f)=>{if(W8(f)){let s=f[ts];if(zF(s,a)){let l=NW(s);mF(e,i,l,e.type_),l8e(s)}}else if(zZ(f))gF(f,r,a)}),e}function $St(e,r){let a=yF(e),i={type_:a?1:0,scope_:r?r.scope_:s8e(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},f=i,s=MF;if(a)f=[i],s=bD;let{revoke:l,proxy:c}=Proxy.revocable(f,s);return i.draft_=c,i.revoke_=l,[c,i]}var MF={get(e,r){if(r===ts)return e;let a=e.scope_.arrayMethodsPlugin_,i=e.type_===1&&typeof r==="string";if(i){if(a?.isArrayOperationMethod(r))return a.createMethodInterceptor(e,r)}let f=pM(e);if(!LW(f,r,e.type_))return tLt(e,f,r);let s=f[r];if(e.finalized_||!zZ(s))return s;if(i&&e.operationMethod&&a?.isMutatingArrayMethod(e.operationMethod)&&VSt(r))return s;if(s===CW(e.base_,r)||eLt(e,r,s)){dF(e);let l=e.type_===1?+r:r,c=OW(e.scope_,s,e,l);return e.copy_[l]=c}return s},has(e,r){return r in pM(e)},ownKeys(e){return Reflect.ownKeys(pM(e))},set(e,r,a){let i=d8e(pM(e),r);if(i?.set)return i.set.call(e.draft_,a),!0;if(!e.modified_){let f=CW(pM(e),r),s=f?.[ts];if(s&&s.base_===a)return e.copy_[r]=a,e.assigned_.set(r,!1),!0;if(qSt(a,f)&&(a!==void 0||LW(e.base_,r,e.type_)))return!0;dF(e),DW(e)}if(e.copy_[r]===a&&(a!==void 0||LW(e.copy_,r,e.type_))||Number.isNaN(a)&&Number.isNaN(e.copy_[r]))return!0;return e.copy_[r]=a,e.assigned_.set(r,!0),JSt(e,r,a),!0},deleteProperty(e,r){if(dF(e),CW(e.base_,r)!==void 0||r in e.base_)e.assigned_.set(r,!1),DW(e);else e.assigned_.delete(r);if(e.copy_)delete e.copy_[r];return!0},getOwnPropertyDescriptor(e,r){let a=pM(e),i=Reflect.getOwnPropertyDescriptor(a,r);if(!i)return i;return{[uF]:!0,[IW]:e.type_!==1||r!=="length",[pF]:i[pF],[xD]:a[r]}},defineProperty(){Iu(11)},getPrototypeOf(e){return PR(e.base_)},setPrototypeOf(){Iu(12)}},bD={};for(let e in MF){let r=MF[e];bD[e]=function(){let a=arguments;return a[0]=a[0][0],r.apply(this,a)}}bD.deleteProperty=function(e,r){return bD.set.call(this,e,r,void 0)};bD.set=function(e,r,a){return MF.set.call(this,e[0],r,a,e[0])};function CW(e,r){let a=e[ts];return(a?pM(a):e)[r]}function eLt(e,r,a){if(e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(r)||!zZ(a)||a[ts])return!1;return e.baseRefs_.has(a)}function tLt(e,r,a){let i=d8e(r,a);return i?xD in i?i[xD]:i.get?.call(e.draft_):void 0}function d8e(e,r){if(!(r in e))return;let a=PR(e);while(a){let i=Object.getOwnPropertyDescriptor(a,r);if(i)return i;a=PR(a)}return}function DW(e){if(!e.modified_){if(e.modified_=!0,e.parent_)DW(e.parent_)}}function dF(e){if(!e.copy_)e.assigned_=new Map,e.copy_=PW(e.base_,e.scope_.immer_.useStrictShallowCopy_)}var rLt=class{constructor(e){if(this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(r,a,i)=>{if(RR(r)&&!RR(a)){let s=a;a=r;let l=this;return function(m=s,...g){return l.produce(m,(M)=>a.call(this,M,...g))}}if(!RR(a))Iu(6);if(i!==void 0&&!RR(i))Iu(7);let f;if(zZ(r)){let s=r8e(this),l=OW(s,r,void 0),c=!0;try{f=a(l),c=!1}finally{if(c)AW(s);else EW(s)}return t8e(s,i),o8e(f,s)}else if(!r||!jW(r)){if(f=a(r),f===void 0)f=r;if(f===n8e)f=void 0;if(this.autoFreeze_)FW(f,!0);if(i){let s=[],l=[];AL(TW).generateReplacementPatches_(r,f,{patches_:s,inversePatches_:l}),i(s,l)}return f}else Iu(1,r)},this.produceWithPatches=(r,a)=>{if(RR(r))return(l,...c)=>this.produceWithPatches(l,(m)=>r(m,...c));let i,f;return[this.produce(r,a,(l,c)=>{i=l,f=c}),i,f]},kW(e?.autoFreeze))this.setAutoFreeze(e.autoFreeze);if(kW(e?.useStrictShallowCopy))this.setUseStrictShallowCopy(e.useStrictShallowCopy);if(kW(e?.useStrictIteration))this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){if(!zZ(e))Iu(8);if(W8(e))e=oLt(e);let r=r8e(this),a=OW(r,e,void 0);return a[ts].isManual_=!0,EW(r),a}finishDraft(e,r){let a=e&&e[ts];if(!a||!a.isManual_)Iu(9);let{scope_:i}=a;return t8e(i,r),o8e(void 0,i)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,r){let a;for(a=r.length-1;a>=0;a--){let f=r[a];if(f.path.length===0&&f.op==="replace"){e=f.value;break}}if(a>-1)r=r.slice(a+1);let i=AL(TW).applyPatches_;if(W8(e))return i(e,r);return this.produce(e,(f)=>i(f,r))}};function OW(e,r,a,i){let[f,s]=bF(r)?AL(hF).proxyMap_(r,a):_F(r)?AL(hF).proxySet_(r,a):$St(r,a);if((a?.scope_??s8e()).drafts_.push(f),s.callbacks_=a?.callbacks_??[],s.key_=i,a&&i!==void 0)QSt(a,s,i);else s.callbacks_.push(function(m){m.mapSetPlugin_?.fixSetContents(s);let{patchPlugin_:g}=m;if(s.modified_&&g)g.generatePatches_(s,[],m)});return f}function oLt(e){if(!W8(e))Iu(10,e);return Z8e(e)}function Z8e(e){if(!zZ(e)||wF(e))return e;let r=e[ts],a,i=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,a=PW(e,r.scope_.immer_.useStrictShallowCopy_),i=r.scope_.immer_.shouldUseStrictIteration()}else a=PW(e,!0);if(xF(a,(f,s)=>{mF(a,f,Z8e(s))},i),r)r.finalized_=!1;return a}var aLt=globalThis.Iterator,SOn=typeof aLt?.from==="function";var nLt=new rLt,p8e=nLt.produce;var iLt=(e)=>(r,a,i)=>(i.setState=(f,s,...l)=>{let c=typeof f==="function"?p8e(f):f;return r(c,s,...l)},e(i.setState,a,i)),m8e=iLt;var Ur=Mr()(Vee(m8e((e,r)=>({members:[],loading:!1,fetchMembers:async(a,i,f)=>{if(!f&&r().loadedTeamId===a&&r().loadedWithAgents===i)return;e({loading:!0});try{let s=await A.api.teams[":teamId"].members.$get({param:{teamId:a},query:{includeAgents:i?"true":"false"}});if(!s.ok)throw Error("failed to fetch members");let l=await s.json();e({members:l||[],loadedTeamId:a,loadedProjectId:void 0,loadedWithAgents:i,loading:!1})}catch{e({loading:!1})}},fetchProjectMembers:async(a,i,f)=>{if(!f&&r().loadedProjectId===a&&r().loadedWithAgents===i)return;e({loading:!0});try{let s=await A.api.projects[":projectId"].members.$get({param:{projectId:a},query:{includeAgents:i?"true":"false"}});if(!s.ok)throw Error("failed to fetch project members");let l=await s.json();e({members:l||[],loadedProjectId:a,loadedTeamId:void 0,loadedWithAgents:i,loading:!1})}catch{e({loading:!1})}}}))));function h8e({teamId:e,onSendMessage:r,isSubmitting:a}){let[i,f]=u(""),[s,l]=u([]),[c,m]=u(!1),[g,M]=u(""),[v,y]=u(0),x=b(null),_=b(null),j=b(null),{members:U,fetchMembers:T}=Ur();h(()=>{if(e)T(e,!0,!0)},[e,T]);let{mutateAsync:N}=B({mutationFn:async(ze)=>{let qe=await A.api.teams[":teamId"].kanban.attachments.$post({param:{teamId:e},json:ze});if(!qe.ok)throw Error("Failed to get attachment upload url");return await qe.json()}}),G=(ze)=>{let qe=ze.target.value;if(f(qe),x.current)x.current.style.height="auto",x.current.style.height=`${Math.min(x.current.scrollHeight,160)}px`;let ut=ze.target.selectionStart||0,$e=qe.slice(0,ut),xt=$e.lastIndexOf("@");if(xt!==-1){let Dt=xt===0,Yt=$e[xt-1];if(Dt||/\s/.test(Yt)){let yt=$e.slice(xt+1);if(!/\s/.test(yt)){M(yt),m(!0);return}}}m(!1)},X=U.filter((ze)=>ze.name?.toLowerCase().includes(g.toLowerCase()));h(()=>{y(0)},[g,c]);let J=(ze)=>{if(!x.current)return;let qe=x.current.selectionStart||0,ut=i.slice(0,qe),$e=i.slice(qe),xt=ut.lastIndexOf("@");if(xt!==-1){let Dt=`${i.slice(0,xt)}@${ze.name} ${$e}`;f(Dt),m(!1),setTimeout(()=>{if(x.current){x.current.focus();let Yt=xt+ze.name.length+2;x.current.setSelectionRange(Yt,Yt)}},0)}},ee=async(ze)=>{let qe=Array.from(ze.target.files||[]);if(qe.length===0)return;let ut=qe.map(($e)=>({id:`${Date.now()}-${$e.name}-${Math.random()}`,file:$e,isUploading:!0}));l(($e)=>[...$e,...ut]);for(let $e of ut)try{let xt=await N({fileName:$e.file.name,size:$e.file.size,contentType:$e.file.type||"application/octet-stream"});if(!(await fetch(xt.uploadUrl,{method:"PUT",body:$e.file,headers:{"Content-Type":$e.file.type||"application/octet-stream"}})).ok)throw Error("Failed to upload file to storage");l((Yt)=>Yt.map((fe)=>fe.id===$e.id?{...fe,isUploading:!1,payload:{id:xt.id,name:xt.name,key:xt.key,sizeByte:xt.sizeByte,contentType:xt.contentType,proxyType:xt.proxyType}}:fe))}catch(xt){let Dt=xt instanceof Error?xt.message:"Upload failed";k.error(`${$e.file.name}: ${Dt}`),l((Yt)=>Yt.map((fe)=>fe.id===$e.id?{...fe,isUploading:!1,error:Dt}:fe))}if(_.current)_.current.value=""},re=(ze)=>{l((qe)=>qe.filter((ut)=>ut.id!==ze))},oe=s.some((ze)=>ze.isUploading),ae=s.map((ze)=>ze.payload).filter((ze)=>!!ze),ye=(i.trim().length>0||ae.length>0)&&!oe,We=async()=>{if(!ye||a)return;try{if(await r(i.trim(),ae.length>0?ae:void 0),f(""),l([]),x.current)x.current.style.height="auto"}catch{}},Ye=(ze)=>{if(c&&X.length>0){if(ze.key==="ArrowDown"){ze.preventDefault(),y((qe)=>(qe+1)%X.length);return}if(ze.key==="ArrowUp"){ze.preventDefault(),y((qe)=>(qe-1+X.length)%X.length);return}if(ze.key==="Enter"||ze.key==="Tab"){ze.preventDefault();let qe=X[v];if(qe)J(qe);return}if(ze.key==="Escape"){m(!1);return}}if(ze.key==="Enter"&&(ze.metaKey||ze.ctrlKey))ze.preventDefault(),We()};return o("div",{className:"relative flex flex-col w-full border border-border focus-within:border-foreground/40 bg-card rounded-2xl p-2.5 shadow-2xs transition-all",children:[c&&X.length>0&&t("div",{ref:j,className:"absolute bottom-full left-0 mb-2 w-64 max-h-48 overflow-y-auto rounded-xl border border-border bg-popover p-1 shadow-lg z-50",children:X.map((ze,qe)=>o("button",{type:"button",onClick:()=>J(ze),className:`w-full flex items-center gap-2 px-2.5 py-1.5 rounded-lg text-xs transition-colors text-left ${qe===v?"bg-primary text-primary-foreground font-medium":"hover:bg-muted text-foreground"}`,children:[o(Ce,{className:"w-5 h-5",children:[ze.image&&t(Ie,{src:ze.image}),t(Te,{className:"text-[9px]",children:ze.name?.slice(0,2).toUpperCase()})]}),t("span",{className:"truncate",children:ze.name})]},ze.id))}),s.length>0&&t("div",{className:"flex flex-wrap gap-1.5 pb-2 mb-1.5 border-b border-border/50",children:s.map((ze)=>{let qe=ze.file.type.startsWith("image/");return o("div",{className:"flex items-center gap-1.5 pl-2 pr-1.5 py-1 rounded-lg bg-muted/60 border border-border text-xs max-w-[200px]",children:[ze.isUploading?t(F,{className:"w-3.5 h-3.5 animate-spin text-primary shrink-0"}):qe?t(eo,{className:"w-3.5 h-3.5 text-primary shrink-0"}):t(qn,{className:"w-3.5 h-3.5 text-muted-foreground shrink-0"}),o("div",{className:"min-w-0 flex-1 truncate",children:[t("span",{className:"truncate block font-medium text-[11px]",children:ze.file.name}),t("span",{className:"text-[9px] text-muted-foreground font-mono",children:Kr(ze.file.size)})]}),t("button",{type:"button",onClick:()=>re(ze.id),className:"p-0.5 rounded-md text-muted-foreground hover:text-foreground hover:bg-muted shrink-0",children:t(Re,{className:"w-3 h-3"})})]},ze.id)})}),t("textarea",{ref:x,value:i,onChange:G,onKeyDown:Ye,placeholder:PNe(),rows:1,className:"w-full min-h-[44px] max-h-[160px] bg-transparent border-0 focus:outline-hidden focus-visible:ring-0 resize-none text-xs text-foreground placeholder:text-muted-foreground/70 p-1 font-sans leading-relaxed"}),o("div",{className:"flex items-center justify-between pt-1 mt-1 border-t border-border/40",children:[o("div",{className:"flex items-center gap-1",children:[t("input",{ref:_,type:"file",multiple:!0,className:"hidden",onChange:ee}),t(E,{type:"button",variant:"ghost",size:"icon-xs",onClick:()=>_.current?.click(),className:"h-7 w-7 rounded-lg text-muted-foreground hover:text-foreground hover:bg-muted",title:"Attach files",disabled:a,children:t(Ii,{className:"w-3.5 h-3.5"})}),t("span",{className:"text-[10px] text-muted-foreground/60 hidden sm:inline pl-1",children:"Cmd+Enter to send"})]}),t(E,{type:"button",size:"icon-xs",onClick:We,disabled:!ye||a,className:"h-7 w-7 rounded-full shadow-xs bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-40 transition-all shrink-0",title:"Send comment",children:a||oe?t(F,{className:"w-3.5 h-3.5 animate-spin"}):t(Wa,{className:"w-3.5 h-3.5 stroke-[2.5]"})})]})]})}function g8e({teamId:e,taskId:r,initialComments:a}){let i=K(),{data:f}=L({queryKey:["teams",e,"me"],queryFn:async()=>{let y=await A.api.teams[":teamId"].me.$get({param:{teamId:e}});if(!y.ok)throw Error("Failed to fetch me");return await y.json()},enabled:!!e}),s=f?.role?.toLowerCase()==="owner"||f?.role?.toLowerCase()==="editor",{data:l,isLoading:c}=L({queryKey:["teams",e,"kanban","tasks",r,"comments"],queryFn:async()=>{let y=await A.api.teams[":teamId"].kanban.tasks[":taskId"].comments.$get({param:{teamId:e,taskId:r}});if(!y.ok)throw Error("Failed to fetch comments");return await y.json()},initialData:a?{data:a}:void 0,enabled:!!e&&!!r,refetchInterval:4000}),m=l?.data||[],{mutateAsync:g,isPending:M}=B({mutationFn:async({body:y,attachments:x})=>{let _=await A.api.teams[":teamId"].kanban.tasks[":taskId"].comments.$post({param:{teamId:e,taskId:r},json:{body:y,attachments:x}});if(!_.ok){let j=await _.json().catch(()=>({message:Tn()}));throw Error(j.message||Tn())}return await _.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","tasks",r,"comments"]}),i.invalidateQueries({queryKey:["teams",e,"kanban","task",r]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]})},onError:(y)=>{k.error(y.message)}}),v=async(y,x)=>{await g({body:y,attachments:x})};return o("div",{className:"flex flex-col h-full overflow-hidden bg-background",children:[t(ce,{className:"flex-1 min-h-0 p-3.5 [&>div>div]:block!",children:t("div",{className:"space-y-3 pr-1 pb-2 w-full max-w-full",children:c?t("div",{className:"flex items-center justify-center py-12",children:t(F,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):m.length===0?o("div",{className:"flex flex-col items-center justify-center py-16 text-center text-xs text-muted-foreground/80 space-y-2",children:[t("div",{className:"w-10 h-10 rounded-full bg-muted/60 flex items-center justify-center",children:t(vo,{className:"w-5 h-5 opacity-40"})}),t("p",{className:"font-medium",children:Gh()})]}):m.map((y)=>t(Xve,{teamId:e,taskId:r,comment:y,currentUserId:f?.id,isOwnerOrAdmin:s},y.id))})}),t("div",{className:"p-3 border-t border-border/60 bg-card/60 shrink-0",children:t(h8e,{teamId:e,onSendMessage:v,isSubmitting:M})})]})}function fLt(e){let r=e.data||{};switch(e.type){case rf.CREATED:return"Created task";case rf.STATUS_CHANGED:return`Changed status from ${e.fromStatus?oo(e.fromStatus):"None"} to ${e.toStatus?oo(e.toStatus):"None"}`;case rf.ASSIGNED:return"Assigned task";case rf.UNASSIGNED:return"Unassigned task";case rf.PRIORITY_CHANGED:return`Changed priority to ${String(r.to||"")}`;case rf.GOAL_CHANGED:return"Updated goal association";case rf.DEPENDENCY_ADDED:return"Added prerequisite dependency";case rf.DEPENDENCY_REMOVED:return"Removed prerequisite dependency";case rf.CHANGES_REQUESTED:return`Requested changes: "${String(r.reason||"")}"`;case rf.BLOCKED:return`Task blocked: "${String(r.reason||r.blockReason||"")}"`;case rf.UNBLOCKED:return"Task unblocked";case rf.COMMENTED:return"Added a comment";default:return e.type}}function M8e({teamId:e,taskId:r,initialEvents:a}){let{data:i,isLoading:f}=L({queryKey:["teams",e,"kanban","tasks",r,"events"],queryFn:async()=>{let l=await A.api.teams[":teamId"].kanban.tasks[":taskId"].events.$get({param:{teamId:e,taskId:r}});if(!l.ok)throw Error("Failed to fetch events");return await l.json()},initialData:a?{data:a}:void 0,enabled:!!e&&!!r}),s=i?.data||[];return t(ce,{className:"h-full p-3",children:t("div",{className:"space-y-4 pr-2",children:t("div",{className:"space-y-2",children:f?t("div",{className:"flex items-center justify-center py-6",children:t(F,{className:"w-4 h-4 animate-spin text-muted-foreground"})}):s.length===0?t("div",{className:"py-6 text-center text-xs text-muted-foreground",children:mXe()}):t("div",{className:"relative pl-5 space-y-3 before:absolute before:left-[4px] before:top-2 before:bottom-2 before:w-[2px] before:bg-border/60",children:s.map((l)=>o("div",{className:"relative flex items-start gap-2 text-xs",children:[t("div",{className:"absolute -left-5 top-[3px] w-2.5 h-2.5 rounded-full bg-background border-2 border-primary shrink-0"}),o("div",{className:"flex-1 min-w-0",children:[o("div",{className:"flex items-center justify-between gap-1",children:[t("span",{className:"font-medium text-foreground truncate",children:l.actor?.name||"System"}),t("span",{className:"text-[10px] text-muted-foreground font-mono shrink-0",children:mr(new Date(l.createdAt),"MM/dd HH:mm")})]}),t("p",{className:"text-[11px] text-muted-foreground leading-snug mt-0.5",children:fLt(l)})]})]},l.id))})})})})}function v8e({teamId:e,task:r}){let[a,i]=u("comments");return t("div",{className:"flex flex-col h-full bg-sidebar/30 border-l border-border/60 overflow-hidden",children:o(xo,{value:a,onValueChange:(f)=>i(f),className:"flex flex-col h-full",children:[t("div",{className:"px-3 pt-2.5 pb-1 border-b border-border/60 bg-card/50 shrink-0",children:o(So,{className:"w-full grid grid-cols-2 h-8 bg-muted/60",children:[o(Qr,{value:"comments",className:"text-xs h-7",children:[t("span",{children:id()}),r.comments.length>0&&o("span",{className:"text-[10px] font-mono text-muted-foreground ml-1",children:["(",r.comments.length,")"]})]}),t(Qr,{value:"activity",className:"text-xs h-7",children:t("span",{children:STe()})})]})}),o("div",{className:"flex-1 overflow-hidden",children:[t(kn,{value:"comments",className:"h-full m-0 data-[state=active]:flex data-[state=active]:flex-col",children:t(g8e,{teamId:e,taskId:r.id,initialComments:r.comments})}),t(kn,{value:"activity",className:"h-full m-0 data-[state=active]:block",children:t(M8e,{teamId:e,taskId:r.id,initialEvents:r.events})})]})]})})}function Gd({teamId:e,taskId:r,isOpen:a,onClose:i,canEdit:f=!0}){let{data:s,isLoading:l,error:c}=L({queryKey:["teams",e,"kanban","task",r],queryFn:async()=>{if(!r)return null;let m=await A.api.teams[":teamId"].kanban.tasks[":taskId"].$get({param:{teamId:e,taskId:r}});if(!m.ok)throw Error("Failed to fetch task details");return await m.json()},enabled:!!e&&!!r&&a});return t(ue,{open:a,onOpenChange:(m)=>!m&&i(),children:o(ie,{className:"sm:max-w-5xl w-[95vw] h-[88vh] p-0 gap-0 flex flex-col overflow-hidden bg-background",children:[t(me,{className:"px-5 py-3 border-b border-border/70 flex flex-row items-center justify-between space-y-0 shrink-0 bg-card/80",children:o("div",{className:"flex items-center gap-2 min-w-0 pr-4",children:[s?.isAgentTask&&o("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 rounded text-[11px] font-semibold bg-orange-500/15 text-orange-600 dark:text-orange-400 border border-orange-500/30 shrink-0",children:[t(St,{className:"w-3.5 h-3.5"}),t("span",{children:Od()})]}),s?.status&&t("span",{className:C("px-2 py-0.5 rounded text-[11px] font-medium border uppercase shrink-0",j8(s.status)),children:oo(s.status)}),t(le,{className:"text-sm font-semibold truncate text-foreground",children:s?.title||w6e()})]})}),t("div",{className:"flex-1 flex flex-col md:flex-row overflow-hidden",children:l?t("div",{className:"flex-1 flex items-center justify-center p-12",children:t(F,{className:"w-8 h-8 animate-spin text-muted-foreground"})}):c||!s?t("div",{className:"flex-1 flex items-center justify-center p-12 text-xs text-muted-foreground",children:bh()}):o(Z,{children:[t("div",{className:"flex-1 md:w-2/3 h-full overflow-hidden flex flex-col",children:t(Wge,{teamId:e,task:s,canEdit:f})}),t("div",{className:"md:w-1/3 h-full overflow-hidden flex flex-col",children:t(v8e,{teamId:e,task:s})})]})})]})})}var sLt=[Qe.TODO,Qe.READY,Qe.IN_PROGRESS,Qe.IN_REVIEW,Qe.DONE,Qe.BLOCKED];function Vd({teamId:e,assetId:r,assetName:a,isOpen:i,onClose:f}){let s=K(),[l,c]=u(null),[m,g]=u(!1),[M,v]=u(Qe.TODO),[y,x]=u(""),{data:_,isLoading:j}=L({queryKey:["teams",e,"kanban","assets",r,"tasks"],queryFn:async()=>{let oe=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$get({param:{teamId:e,assetId:r}});if(!oe.ok)throw Error("Failed to fetch linked tasks");return await oe.json()},enabled:!!e&&!!r&&i}),U=_?.data||[],T=D(()=>new Set(U.map((oe)=>oe.id)),[U]),{data:N,isLoading:G}=L({queryKey:["teams",e,"kanban","tasks","status",M],queryFn:async()=>{let oe=await A.api.teams[":teamId"].kanban.tasks.$get({param:{teamId:e},query:{status:M,first:"100"}});if(!oe.ok)return{data:[]};return await oe.json()},enabled:!!e&&m&&i}),X=N?.data||[],J=D(()=>{let oe=y.trim().toLowerCase();return X.filter((ae)=>{if(T.has(ae.id))return!1;if(!oe)return!0;return ae.title.toLowerCase().includes(oe)})},[X,T,y]),ee=B({mutationFn:async(oe)=>{let ae=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$post({param:{teamId:e,assetId:r},json:{taskId:oe}});if(!ae.ok)throw Error("Failed to link task");return await ae.json()},onSuccess:()=>{s.invalidateQueries({queryKey:["teams",e,"kanban","assets",r,"tasks"]}),s.invalidateQueries({queryKey:["teams",e,"kanban"]}),k.success(Pfe())}}),re=B({mutationFn:async(oe)=>{let ae=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks[":taskId"].$delete({param:{teamId:e,assetId:r,taskId:oe}});if(!ae.ok)throw Error("Failed to unlink task");return await ae.json()},onSuccess:()=>{s.invalidateQueries({queryKey:["teams",e,"kanban","assets",r,"tasks"]}),s.invalidateQueries({queryKey:["teams",e,"kanban"]}),k.success(Tfe())}});return o(Z,{children:[t(ue,{open:i,onOpenChange:(oe)=>!oe&&f(),children:o(ie,{className:"sm:max-w-2xl flex flex-col h-[520px] p-0 overflow-hidden",children:[t(me,{className:"p-4 border-b flex flex-row items-center justify-between space-y-0 shrink-0",children:o("div",{className:"flex items-center gap-2 min-w-0 pr-4",children:[t(Do,{className:"w-5 h-5 text-primary shrink-0"}),o("div",{className:"min-w-0",children:[t(le,{className:"text-sm font-semibold truncate",children:zf()}),a&&t("p",{className:"text-xs text-muted-foreground truncate mt-0.5",children:a})]})]})}),t("div",{className:"flex-1 min-h-0 flex flex-col overflow-hidden bg-background",children:t(ce,{className:"flex-1 min-h-0 p-4 [&>div>div]:block!",children:j?t("div",{className:"flex items-center justify-center p-12",children:t(F,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):U.length===0?o("div",{className:"flex flex-col items-center justify-center p-12 text-center text-xs text-muted-foreground gap-2",children:[t(Do,{className:"w-8 h-8 opacity-30"}),t("p",{children:JXe()})]}):t("div",{className:"space-y-2",children:U.map((oe)=>o("div",{onClick:()=>c(oe.id),className:"flex items-center justify-between gap-3 p-2.5 rounded-lg border border-border/60 bg-muted/20 hover:bg-muted/50 cursor-pointer transition-all hover:border-border",children:[o("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[oe.isAgentTask&&t("span",{className:"p-1 rounded bg-orange-500/15 text-orange-600 dark:text-orange-400 shrink-0",children:t(St,{className:"w-3.5 h-3.5"})}),t("span",{className:C("text-[10px] px-1.5 py-0.5 rounded border uppercase font-medium shrink-0",j8(oe.status)),children:oo(oe.status)}),t("span",{className:C("text-[10px] px-1.5 py-0.5 rounded border uppercase font-medium shrink-0",oi(oe.priority)),children:ni(oe.priority)}),t("span",{className:"text-xs font-medium text-foreground truncate flex-1",children:oe.title})]}),o("div",{className:"flex items-center gap-2 shrink-0",children:[oe.assignee&&o("div",{className:"flex items-center gap-1 text-[11px] text-muted-foreground",title:oe.assignee.name,children:[o(Ce,{className:"w-4 h-4 text-[9px]",children:[t(Ie,{src:oe.assignee.image||void 0}),t(Te,{children:oe.assignee.name.slice(0,1).toUpperCase()})]}),t("span",{className:"hidden sm:inline text-[11px] max-w-[70px] truncate",children:oe.assignee.name})]}),t(E,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0 text-muted-foreground hover:text-destructive hover:bg-destructive/10",onClick:(ae)=>{ae.stopPropagation(),re.mutate(oe.id)},title:Wpt(),children:t(Re,{className:"w-3.5 h-3.5"})})]})]},oe.id))})})}),o("div",{className:"p-3 px-4 border-t bg-muted/10 flex items-center justify-between shrink-0",children:[o(mt,{open:m,onOpenChange:g,children:[t(ht,{asChild:!0,children:o(E,{variant:"outline",size:"sm",className:"gap-1.5 text-xs h-8",children:[t(pe,{className:"w-3.5 h-3.5"}),t("span",{children:kVe()})]})}),o(gt,{className:"w-80 sm:w-96 p-0",align:"start",children:[t("div",{className:"p-2 border-b",children:o("div",{className:"relative",children:[t(Bt,{className:"w-3.5 h-3.5 absolute left-2.5 top-2.5 text-muted-foreground"}),t(H,{placeholder:Oft(),value:y,onChange:(oe)=>x(oe.target.value),className:"pl-8 h-8 text-xs bg-muted/30",autoFocus:!0})]})}),t("div",{className:"flex border-b overflow-x-auto p-1 gap-1 bg-muted/20",children:sLt.map((oe)=>t("button",{type:"button",onClick:()=>v(oe),className:C("px-2 py-1 text-[11px] font-medium rounded transition-colors whitespace-nowrap",M===oe?"bg-background shadow-xs text-foreground font-semibold":"text-muted-foreground hover:text-foreground hover:bg-muted/50"),children:oo(oe)},oe))}),t(ce,{className:"h-56",children:G?o("div",{className:"flex items-center justify-center p-6 text-xs text-muted-foreground",children:[t(F,{className:"w-4 h-4 animate-spin mr-1.5"}),t("span",{children:gd()})]}):J.length===0?t("div",{className:"p-6 text-center text-xs text-muted-foreground",children:Yfe()}):t("div",{className:"p-1 space-y-0.5",children:J.map((oe)=>o("button",{type:"button",onClick:()=>{ee.mutate(oe.id),g(!1)},className:"w-full text-left p-2 rounded hover:bg-muted/60 transition-colors flex items-center justify-between gap-2 text-xs group",children:[t("span",{className:"truncate flex-1 font-medium text-foreground",children:oe.title}),t("span",{className:C("text-[10px] px-1.5 py-0.5 rounded border uppercase shrink-0",j8(oe.status)),children:oo(oe.status)})]},oe.id))})})]})]}),t(E,{variant:"ghost",size:"sm",onClick:f,className:"text-xs h-8",children:Dc()})]})]})}),l&&t(Gd,{teamId:e,taskId:l,isOpen:!0,onClose:()=>c(null)})]})}function x8e({teamId:e,projectId:r,projectName:a,ancestorFolders:i,currentAsset:f,isRootFolder:s,customTerminalBreadcrumb:l,displayStyle:c,onDisplayStyleChange:m,isLeftSidebarCollapsed:g,onLeftSidebarToggle:M,isRightSidebarCollapsed:v,onRightSidebarToggle:y,isChatbotOpen:x=!1,onChatbotToggle:_,isPublic:j=!1,onFolderClick:U,onRename:T,onDelete:N,fileId:G,shareId:X,allowDownload:J=!0,downloadInfo:ee,versions:re,compareMode:oe=!1,canCompareVersions:ae=!1,onCompareVersions:ye}){let We=Me(),{canEdit:Ye}=Pt(r),{openMobileMenu:ze}=Hk(),[qe,ut]=u(!1),[$e,xt]=u(!1),Dt=G||f.id,Yt=f.name==="Recently Deleted",fe=f.name==="All Collections",yt=!j&&!s&&!Yt&&!fe&&!oe&&!!Dt,{data:Wt}=L({queryKey:["teams",e,"kanban","assets",Dt,"tasks"],queryFn:async()=>{if(!e||!Dt)return{data:[],total:0};let or=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$get({param:{teamId:e,assetId:Dt}});if(!or.ok)return{data:[],total:0};return await or.json()},enabled:!!e&&!!Dt&&yt}),Ee=Wt?.total??Wt?.data?.length??0,lr=!1,sr=(or)=>{if(!G)return;if(j&&X){We({to:"/share/$shareId/files/$fileId",params:{shareId:X,fileId:G},search:(Yr)=>({...Yr,version:or})});return}if(!r)return;We({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:G},search:(Yr)=>({...Yr,version:or})})},Jt=async(or)=>{if(!G)return;try{let Yr=X?await A.api.shares[":shareId"].files[":fileId"]["download-url"].$post({param:{shareId:X,fileId:G},json:{key:or}}):await A.api.files["download-url"].$post({json:{key:or,assetId:G}});if(!Yr.ok)return;let{url:uo}=await Yr.json(),jo=document.createElement("a");jo.href=uo,jo.download="",document.body.appendChild(jo),jo.click(),document.body.removeChild(jo)}catch{}},Gt=f.proxyType!=="audio"&&(ee?.videoTranscodes?.length??0)>0,Kt=Boolean(l||!s&&!oe),ur={name:a,path:j?void 0:`/projects/${r}`,id:"root"},Ir=i.slice().reverse().map((or)=>({name:or.name||"",path:j?void 0:`/projects/${r}/folders/${or.id}`,id:or.id})),Er=Kt?Ir:Ir.slice(0,-1),dr=!Kt&&Ir.length>0?Ir[Ir.length-1]:null,mo=()=>{if(l)return t("span",{className:"truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:l});if(!s&&!oe){if(f.type==="folder")return t("span",{className:"truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:f.name});return o(he,{modal:!1,children:[o(ge,{className:"flex items-center gap-1 truncate rounded px-2 py-1 text-sm font-medium text-foreground transition-colors hover:bg-accent hover:text-accent-foreground",children:[t("span",{className:"truncate",children:f.name}),f.version!==void 0&&o(be,{variant:"outline",className:"px-1 py-0 text-xs shrink-0",children:["v",f.version]}),t(ve,{className:"h-4 w-4 shrink-0"})]}),o(Ae,{className:"w-56",align:"start",children:[J&&(Gt?o(ds,{children:[t(fs,{className:"flex items-center gap-2",children:t("span",{children:pr()})}),t(Ja,{children:o(ps,{className:"w-48",children:[t(Vr,{children:pr()}),ee?.videoTranscodes?.map((or)=>{let Yr=Math.max(or.width,or.height),uo=`${or.height}p`;if(Yr>=3840)uo="2160p";else if(Yr>=1920)uo="1080p";else if(Yr>=1280)uo="720p";else if(Yr>=960)uo="540p";else if(Yr>=640)uo="360p";else if(Yr>=320)uo="180p";return o(W,{onClick:()=>Jt(or.key),className:"flex items-center justify-between",children:[t("span",{children:uo}),t("span",{className:"text-xs text-muted-foreground",children:"MP4"})]},uo)}),ee?.originalKey&&o(Z,{children:[t(Vt,{}),o(W,{onClick:()=>Jt(ee.originalKey),className:"flex items-center justify-between",children:[t("span",{children:"Original"}),t("span",{className:"text-xs text-muted-foreground",children:f.name?.split(".").pop()?.toUpperCase()||"RAW"})]})]})]})})]}):t(W,{onClick:()=>ee?.originalKey&&Jt(ee.originalKey),disabled:!ee?.originalKey,children:pr()})),Ye&&T&&t(W,{onClick:T,children:Oo()}),Ye&&N&&t(W,{onClick:N,className:"text-destructive focus:text-destructive",children:it()}),ae&&ye&&o(Z,{children:[t(Vt,{}),o(W,{onClick:()=>ye(),children:[t(t8,{className:"h-4 w-4"}),t("span",{children:UNe()})]})]}),re&&re.length>0&&o(Z,{children:[t(Vt,{}),o(ds,{children:[o(fs,{className:"flex items-center gap-2",children:[t(In,{className:"h-4 w-4"}),t("span",{children:"Versions"})]}),t(Ja,{children:o(ps,{className:"w-80 p-1",children:[t("div",{className:"flex flex-col gap-1 max-h-96 overflow-y-auto",children:re.map((or)=>{let Yr=f.version===or.version;return o(W,{onClick:()=>sr(or.id),className:"flex items-center gap-3 py-2 px-3 rounded-md cursor-pointer focus:bg-accent focus:text-accent-foreground",children:[o("div",{className:"flex-shrink-0 flex items-center justify-center bg-muted dark:bg-muted-foreground/20 text-muted-foreground dark:text-muted-foreground rounded-full px-2 py-0.5 text-xs font-semibold select-none min-w-[2rem]",children:["v",or.version]}),t("div",{className:"h-10 w-16 flex-shrink-0 overflow-hidden rounded-md border border-border bg-muted flex items-center justify-center",children:or.previewUrl?t("img",{src:or.previewUrl,alt:or.name||void 0,className:"h-full w-full object-cover"}):t(Xt,{className:"h-4 w-4 text-muted-foreground"})}),o("div",{className:"flex flex-col flex-1 min-w-0 text-left",children:[t("span",{className:"truncate text-sm font-semibold text-foreground",children:or.name}),t("span",{className:"truncate text-xs text-muted-foreground flex items-center gap-1",children:or.agent?o(Z,{children:[t(St,{className:"h-3 w-3 shrink-0"}),t("span",{className:"truncate",children:$c({user:or.creator?.name||Tl(),agent:or.agent.name})})]}):or.creator?.name||Tl()})]}),Yr&&t(ke,{className:"h-4 w-4 text-primary ml-auto flex-shrink-0"})]},or.id)})}),t(Vt,{}),t("div",{className:"p-1",children:t("button",{className:"w-full text-center text-xs font-medium py-2 px-3 rounded-md bg-muted/80 hover:bg-muted text-foreground transition-colors cursor-pointer",onClick:()=>ut(!0),children:qf()})})]})})]})]})]})]})}return null};return o("div",{className:"flex h-14 flex-nowrap items-center justify-between gap-2 border-b border-border bg-card px-4 py-2 overflow-hidden",children:[o("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-hidden",children:[!j&&t(E,{variant:"ghost",size:"icon",onClick:()=>ze(),className:"md:hidden h-8 w-8 text-foreground hover:bg-accent shrink-0 -ml-2 mr-1","aria-label":"Open navigation menu",children:t(KZ,{className:"h-5 w-5"})}),!j&&o("div",{className:"hidden md:flex items-center gap-1 shrink-0",children:[t(Un,{to:`/teams/${e}`,className:"truncate rounded px-2 py-1 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground text-muted-foreground",children:WEe()}),t("span",{className:"text-muted-foreground",children:"/"})]}),Kt||i.length>0?ur.path?t(Un,{to:ur.path,className:"min-w-0 max-w-[45%] md:max-w-none truncate rounded px-1.5 md:px-2 py-1 text-sm font-medium text-foreground transition-colors hover:bg-accent hover:text-accent-foreground shrink",children:ur.name}):t("button",{onClick:()=>ur.id&&U?.(ur.id),className:"min-w-0 max-w-[45%] md:max-w-none truncate rounded px-1.5 md:px-2 py-1 text-sm font-medium text-foreground transition-colors hover:bg-accent hover:text-accent-foreground text-left shrink cursor-pointer",children:ur.name}):t("span",{className:"min-w-0 flex-1 truncate rounded px-1.5 md:px-2 py-1 text-sm font-medium text-foreground",children:ur.name}),Er.length>0&&o("div",{className:"flex md:hidden items-center gap-1 shrink-0",children:[t("span",{className:"text-muted-foreground shrink-0",children:"/"}),o(he,{modal:!1,children:[t(ge,{asChild:!0,children:t("button",{className:"text-muted-foreground hover:text-foreground text-sm font-medium px-1.5 py-0.5 rounded hover:bg-accent shrink-0 cursor-pointer","aria-label":"Show omitted folders",children:"..."})}),t(Ae,{align:"start",children:Er.map((or,Yr)=>t(W,{asChild:!0,children:or.path?t(Un,{to:or.path,className:"cursor-pointer",children:or.name}):t("button",{onClick:()=>or.id&&U?.(or.id),className:"cursor-pointer w-full text-left",children:or.name})},Yr))})]}),t("span",{className:"text-muted-foreground shrink-0",children:"/"})]}),i.slice().reverse().map((or)=>{let Yr=j?void 0:`/projects/${r}/folders/${or.id}`;return o("div",{className:"hidden md:flex items-center gap-1",children:[t("span",{className:"text-muted-foreground",children:"/"}),Yr?t(Un,{to:Yr,className:"truncate rounded px-2 py-1 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground text-foreground",children:or.name}):t("button",{onClick:()=>or.id&&U?.(or.id),className:"truncate rounded px-2 py-1 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground text-foreground",children:or.name})]},or.id)}),(Kt||!Kt&&i.length>0)&&o("div",{className:"flex items-center gap-1 min-w-0 shrink overflow-hidden",children:[t("span",{className:C("text-muted-foreground shrink-0",Er.length>0?"hidden md:inline":"inline"),children:"/"}),Kt?mo():dr&&t("span",{className:"min-w-0 truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:dr.name})]}),yt&&o(E,{variant:"ghost",size:"sm",className:"h-7 px-2 text-xs gap-1.5 text-muted-foreground hover:text-foreground hover:bg-muted ml-1 cursor-pointer shrink-0",onClick:()=>xt(!0),title:zf(),children:[t(Do,{className:"w-4 h-4"}),Ee>0&&t("span",{className:"inline-flex items-center justify-center px-1.5 py-0.2 text-[10px] font-semibold rounded-full bg-muted-foreground/15 text-foreground",children:Ee})]})]}),yt&&$e&&Dt&&t(Vd,{teamId:e,assetId:Dt,assetName:f.name,isOpen:$e,onClose:()=>xt(!1)}),G&&re&&re.length>0&&t(zd,{open:qe,onOpenChange:ut,stackId:G,canEdit:Ye,onStackDissolved:(or)=>{ut(!1),We({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:or}})},onVersionRemoved:(or,Yr)=>{if((f.version?re.find((jo)=>jo.version===f.version)?.id:void 0)===or){let jo=Yr[0];if(jo)We({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:G},search:(ho)=>({...ho,version:jo.id})})}}}),o("div",{className:"hidden md:flex items-center gap-2",children:[o("div",{className:"flex flex-shrink-0 items-center gap-1 rounded-md border border-border bg-background p-1",children:[!G&&!j&&M&&t("button",{onClick:M,className:"rounded p-1.5 text-muted-foreground transition-colors hover:bg-accent/50 hover:text-foreground",title:g?"Show Left Sidebar":"Hide Left Sidebar",children:g?t(Pue,{className:"h-4 w-4"}):t(Aue,{className:"h-4 w-4 fill-primary stroke-0"})}),!G&&!j&&c&&m&&o(Z,{children:[t("button",{onClick:()=>m("card"),className:`rounded p-1.5 transition-colors ${c==="card"?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:"Card View",children:t(to,{className:"h-4 w-4"})}),t("button",{onClick:()=>m("list"),className:`rounded p-1.5 transition-colors ${c==="list"?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:"List View",children:t(Po,{className:"h-4 w-4"})})]}),t("button",{onClick:y,className:`rounded p-1.5 transition-colors ${!v&&!x?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:v?"Show Right Sidebar":"Hide Right Sidebar",children:!v&&!x?t(Eue,{className:"h-4 w-4 fill-primary stroke-0"}):t(Tue,{className:"h-4 w-4"})})]}),!j&&_&&t(fn,{children:o(pn,{children:[t(mn,{asChild:!0,children:t("span",{children:t("button",{disabled:!1,onClick:_,className:C("h-9 w-9 flex items-center justify-center rounded-full border border-border bg-background transition-colors",x?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent hover:text-foreground",!1),children:x?t(Due,{className:"h-6 w-6 text-primary transition-colors"}):t(St,{className:"h-6 w-6 text-muted-foreground transition-colors"})})})}),t(hn,{children:t("p",{children:x?M9e():Hlt()})})]})})]})]})}var $t=Mr()(Vk((e)=>({fileViewLeftSidebarCollapsed:!0,setFileViewLeftSidebarCollapsed:(r)=>e({fileViewLeftSidebarCollapsed:r}),fileViewRightSidebarCollapsed:!1,setFileViewRightSidebarCollapsed:(r)=>e({fileViewRightSidebarCollapsed:r}),fileListLeftSidebarCollapsed:!1,setFileListLeftSidebarCollapsed:(r)=>e({fileListLeftSidebarCollapsed:r}),fileListRightSidebarCollapsed:!0,setFileListRightSidebarCollapsed:(r)=>e({fileListRightSidebarCollapsed:r}),shareConfigLeftSidebarCollapsed:!1,setShareConfigLeftSidebarCollapsed:(r)=>e({shareConfigLeftSidebarCollapsed:r}),shareConfigRightSidebarCollapsed:!1,setShareConfigRightSidebarCollapsed:(r)=>e({shareConfigRightSidebarCollapsed:r}),viewModes:{},setViewMode:(r,a)=>e((i)=>({viewModes:{...i.viewModes,[r]:a}})),videoTimeDisplayMode:"standard",setVideoTimeDisplayMode:(r)=>e({videoTimeDisplayMode:r})}),{name:"ui-storage",storage:Sz(()=>localStorage)}));var BW="shumai_selected_agent_id",y8e=()=>{if(typeof window<"u"&&window.localStorage)return localStorage.getItem(BW);return null},ir=Mr((e)=>({isChatbotOpen:!1,setIsChatbotOpen:(r)=>e({isChatbotOpen:r}),isHistoryMode:!1,setIsHistoryMode:(r)=>e({isHistoryMode:r}),currentSessionId:null,setCurrentSessionId:(r)=>e({currentSessionId:r}),chatAssets:[],addAssets:(r)=>e((a)=>{let i=new Set(a.chatAssets.map((s)=>s.id)),f=r.filter((s)=>!i.has(s.id));return{chatAssets:[...a.chatAssets,...f]}}),removeAsset:(r)=>e((a)=>({chatAssets:a.chatAssets.filter((i)=>i.id!==r)})),clearAssets:()=>e({chatAssets:[]}),messages:[],setMessages:(r)=>e({messages:r}),historySessions:[],setHistorySessions:(r)=>e({historySessions:r}),isStreaming:!1,setIsStreaming:(r)=>e({isStreaming:r}),selectedAgentId:y8e(),setSelectedAgentId:(r)=>{if(typeof window<"u"&&window.localStorage)if(r)localStorage.setItem(BW,r);else localStorage.removeItem(BW);e({selectedAgentId:r})},inputText:"",setInputText:(r)=>e({inputText:r}),scrollTop:0,isAtBottom:!0,setScrollState:(r,a)=>e({scrollTop:r,isAtBottom:a}),fetchHistorySessions:async(r)=>{try{let a=await A.api.teams[":teamId"].chat.sessions.$get({param:{teamId:r},query:{first:"50"}});if(a.ok){let i=await a.json();e({historySessions:i.data||[]})}}catch(a){console.error("Failed to fetch history sessions:",a)}},loadSession:async(r,a)=>{try{let i=await A.api.teams[":teamId"].chat.sessions[":sessionId"].messages.$get({param:{teamId:r,sessionId:a}});if(i.ok){let f=await i.json(),l=ir.getState().historySessions.find((c)=>c.id===a)?.agentId||null;e({currentSessionId:a,messages:f,isHistoryMode:!1,scrollTop:0,isAtBottom:!0,...l?{selectedAgentId:l}:{}})}else throw Error("Failed to load session messages")}catch(i){let f=i instanceof Error?i.message:"Failed to load session";k.error(f)}},deleteSession:async(r,a)=>{try{if((await A.api.teams[":teamId"].chat.sessions[":sessionId"].$delete({param:{teamId:r,sessionId:a}})).ok)k.success("Session deleted successfully"),e((f)=>({historySessions:f.historySessions.filter((s)=>s.id!==a),currentSessionId:f.currentSessionId===a?null:f.currentSessionId,messages:f.currentSessionId===a?[]:f.messages}));else throw Error("Failed to delete session")}catch(i){let f=i instanceof Error?i.message:"Failed to delete session";k.error(f)}},startNewSession:()=>{let r=y8e();e({currentSessionId:null,messages:[],chatAssets:[],inputText:"",scrollTop:0,isAtBottom:!0,...r?{selectedAgentId:r}:{}})},sendMessage:async(r,a,i,f,s,l,c,m,g)=>{let M=ir.getState();if(M.isStreaming)return;let v=`temp-${Date.now()}`,y={id:v,role:"custom",customType:"shumai_message",content:a,display:!0,details:{currentAsset:f?{id:f,name:"",type:"file"}:void 0,position:m!==void 0&&m!==null?{type:"time",seconds:m}:void 0,annotation:!!(c&&c.length>0),annotations:c||void 0,attachedFiles:g||void 0,referencedAssets:M.chatAssets.length>0?M.chatAssets.map((U)=>({id:U.id,name:U.name,type:U.type})):void 0},timestamp:Date.now()},x=[...M.messages,y];e({messages:x,isStreaming:!0,chatAssets:[],isAtBottom:!0});let _=M.chatAssets.map((U)=>U.id),j=M.selectedAgentId;if(!j){k.error("No agent selected");return}try{let U=await A.api.teams[":teamId"].chat.$post({param:{teamId:r},json:{agentId:j,textPrompt:a||void 0,attachedFiles:l&&l.length>0?l:void 0,assetIds:_&&_.length>0?_:void 0,sessionId:M.currentSessionId||void 0,contextAssetId:f,projectId:i,second:m??void 0,annotations:c&&c.length>0?c:void 0}});if(!U.ok)throw Error("Failed to start chat");let T=U.headers.get("x-session-id");if(T&&!M.currentSessionId)e({currentSessionId:T});let N=U.body?.getReader();if(!N)throw Error("No stream body");let G=new TextDecoder,X="";while(!0){let{done:ee,value:re}=await N.read();if(ee)break;X+=G.decode(re,{stream:!0});let oe=X.split(`
211
- `);X=oe.pop()||"";for(let ae of oe){let ye=ae.trim();if(!ye)continue;if(ye.startsWith("data: ")){let We=ye.slice(6);try{let Ye=JSON.parse(We);if(Ye.type==="session"){if(!ir.getState().currentSessionId)e({currentSessionId:Ye.sessionId})}else if(Ye.type==="entry"){let ze=Ye.entry,qe=ze;if(qe.role==="toolResult"&&typeof qe.toolName==="string"&&["create_file","create_folder","create_version","rename_asset","move_assets","delete_asset"].includes(qe.toolName)&&!qe.isError)s?.();e((ut)=>{let $e=ut.messages.some((fe)=>fe.id===ze.id),xt=(ze.role==="user"||ze.role==="custom"&&ze.customType==="shumai_message")&&!$e,Dt=ut.messages.filter((fe)=>{if(xt)return!fe.id.startsWith("temp-");if(ze.role==="custom"&&ze.customType==="context_display_info"&&!$e)return!fe.id.startsWith("temp-context-");return!0}),Yt=Dt.findIndex((fe)=>fe.id===ze.id);if(Yt!==-1){let fe=[...Dt];return fe[Yt]=ze,{messages:fe}}else return{messages:[...Dt,ze]}})}else if(Ye.type==="done"){if(Ye.status==="failed")k.error(Ye.error||"Workflow failed")}}catch(Ye){console.error("Error parsing SSE line:",Ye)}}}}ir.getState().fetchHistorySessions(r)}catch(U){let T=U instanceof Error?U.message:"Failed to send message";k.error(T),e((N)=>({messages:N.messages.filter((G)=>G.id!==v)}))}finally{e({isStreaming:!1})}},abortActiveSession:async(r)=>{let{currentSessionId:a,isStreaming:i}=ir.getState();if(!a||!i)return;try{if((await A.api.teams[":teamId"].chat.sessions[":sessionId"].abort.$post({param:{teamId:r,sessionId:a}})).ok)k.success("Agent execution stopped");else throw Error("Failed to abort agent execution")}catch(f){let s=f instanceof Error?f.message:"Failed to abort execution";k.error(s)}}}));var hr=Mr((e,r)=>({metadata:{},isLoading:!1,error:null,fetchMetadata:async(a)=>{e({isLoading:!0,error:null});try{let i=await A.api.teams[":teamId"]["user-metadata"].$get({param:{teamId:a}});if(!i.ok)throw Error("failed to fetch user metadata");let s=(await i.json()).reduce((l,c)=>(l[c.key]=c.value,l),{});e({metadata:s,isLoading:!1})}catch(i){e({error:i instanceof Error?i.message:String(i),isLoading:!1})}},setMetadata:async(a,i,f)=>{let s=r().metadata;e((l)=>({metadata:{...l.metadata,[i]:f}}));try{if(!(await A.api.teams[":teamId"]["user-metadata"][":key"].$put({param:{teamId:a,key:i},json:{value:f}})).ok)throw Error("failed to update user metadata")}catch(l){e({metadata:s}),console.error(l)}},getMetadata:(a,i)=>{let f=r().metadata[a];return f!==void 0?f:i}}));S();var YW=768;function Lo(){let[e,r]=u(void 0);return h(()=>{let a=window.matchMedia(`(max-width: ${YW-1}px)`),i=()=>{r(window.innerWidth<YW)};return a.addEventListener("change",i),r(window.innerWidth<YW),()=>a.removeEventListener("change",i)},[]),!!e}function Qd(){let{projectState:e}=on(),r=$t(),{isChatbotOpen:a,setIsChatbotOpen:i}=ir(),f=hr((Yt)=>Boolean(Yt.metadata["appearance.hideAgent"]));if(Lo()&&e?.fileId)return null;if(!e)return t(lLt,{});let{teamId:l,projectId:c,projectName:m,ancestorFolders:g,currentAsset:M,isRootFolder:v,customTerminalBreadcrumb:y,fileId:x,downloadInfo:_,versions:j,isPublic:U,shareId:T,allowDownload:N,onFolderClick:G,onRename:X,onDelete:J,compareMode:ee,canCompareVersions:re,onCompareVersions:oe}=e,ae=!!x,ye=!!y,We=!!T&&!ae,Ye=ae?r.fileViewLeftSidebarCollapsed:We?r.shareConfigLeftSidebarCollapsed:r.fileListLeftSidebarCollapsed,ze=U?void 0:()=>ae?r.setFileViewLeftSidebarCollapsed(!r.fileViewLeftSidebarCollapsed):We?r.setShareConfigLeftSidebarCollapsed(!r.shareConfigLeftSidebarCollapsed):r.setFileListLeftSidebarCollapsed(!r.fileListLeftSidebarCollapsed),qe=U&&e.isRightSidebarCollapsed!==void 0?e.isRightSidebarCollapsed:ae?r.fileViewRightSidebarCollapsed:We?r.shareConfigRightSidebarCollapsed:r.fileListRightSidebarCollapsed,ut=U&&e.onRightSidebarToggle?e.onRightSidebarToggle:()=>{if(!U&&a&&!f)if(i(!1),ae)r.setFileViewRightSidebarCollapsed(!1);else if(We)r.setShareConfigRightSidebarCollapsed(!1);else r.setFileListRightSidebarCollapsed(!1);else if(ae)r.setFileViewRightSidebarCollapsed(!r.fileViewRightSidebarCollapsed);else if(We)r.setShareConfigRightSidebarCollapsed(!r.shareConfigRightSidebarCollapsed);else r.setFileListRightSidebarCollapsed(!r.fileListRightSidebarCollapsed)},$e=U||f?void 0:()=>{i(!a)},xt=c?r.viewModes[c]??"card":"card";return t(x8e,{teamId:l,projectId:c,projectName:m,ancestorFolders:g,currentAsset:M,isRootFolder:v,customTerminalBreadcrumb:y,displayStyle:ae||We||ye?void 0:xt,onDisplayStyleChange:ae||We||ye?void 0:U?void 0:(Yt)=>{if(c)r.setViewMode(c,Yt)},isLeftSidebarCollapsed:Ye,onLeftSidebarToggle:ze,isRightSidebarCollapsed:qe,onRightSidebarToggle:ut,isChatbotOpen:!U&&!f&&a,onChatbotToggle:f?void 0:$e,isPublic:U,shareId:T,allowDownload:N,fileId:x,downloadInfo:_,versions:j,onFolderClick:G,onRename:X,onDelete:J,compareMode:ee,canCompareVersions:re,onCompareVersions:oe})}function lLt(){let{toggleMobileMenu:e}=Hk();return o("div",{className:"flex h-14 items-center justify-between border-b border-border bg-card px-4 py-2 flex-shrink-0",children:[t(E,{variant:"ghost",size:"icon",onClick:e,className:"md:hidden text-foreground hover:bg-accent -ml-2","aria-label":"Open navigation menu",children:t(KZ,{className:"h-5 w-5"})}),t("div",{className:"flex flex-1 items-center justify-center",children:t(fM,{className:"w-10 h-10 text-orange-600"})}),t("div",{className:"w-9 md:hidden"})]})}S();var cLt=(e,r,a,i,f,s,l,c)=>{let m=document.documentElement,g=["light","dark"];function M(x){(Array.isArray(e)?e:[e]).forEach((_)=>{let j=_==="class",U=j&&s?f.map((T)=>s[T]||T):f;j?(m.classList.remove(...U),m.classList.add(s&&s[x]?s[x]:x)):m.setAttribute(_,x)}),v(x)}function v(x){c&&g.includes(x)&&(m.style.colorScheme=x)}function y(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(i)M(i);else try{let x=localStorage.getItem(r)||a,_=l&&x==="system"?y():x;M(_)}catch(x){}};var uLt=at(void 0),dLt={setTheme:(e)=>{},themes:[]},b8e=()=>{var e;return(e=dt(uLt))!=null?e:dLt};var jNn=Bn(({forcedTheme:e,storageKey:r,attribute:a,enableSystem:i,enableColorScheme:f,defaultTheme:s,value:l,themes:c,nonce:m,scriptProps:g})=>{let M=JSON.stringify([a,r,s,e,c,l,i,f]).slice(1,-1);return q("script",{...g,suppressHydrationWarning:!0,nonce:typeof window>"u"?m:"",dangerouslySetInnerHTML:{__html:`(${cLt.toString()})(${M})`}})});var _8e=({...e})=>{let{theme:r="system"}=b8e();return t(Uce,{theme:r,className:"toaster group",icons:{success:t(vr,{className:"size-4"}),info:t(Ko,{className:"size-4"}),warning:t(Gr,{className:"size-4"}),error:t(r8,{className:"size-4"}),loading:t(F,{className:"size-4 animate-spin"})},style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)","--border-radius":"var(--radius)"},...e})};var _n=Mr((e)=>({uploading:0,tasks:{},fileProgress:{},increment:()=>e((r)=>({uploading:r.uploading+1})),decrement:()=>e((r)=>({uploading:r.uploading-1})),startTask:(r,a,i)=>e((f)=>{let s={},l=0;i.forEach((g)=>{s[g.fileId]={fileId:g.fileId,name:g.name,loaded:0,total:g.size,status:"uploading"},l+=g.size});let c={...f.tasks,[r]:{taskId:r,name:a,loaded:0,total:l,files:s}},m={...f.fileProgress};return i.forEach((g)=>{m[g.fileId]=s[g.fileId]}),{tasks:c,fileProgress:m}}),updateFileProgress:(r,a,i)=>e((f)=>{let s=f.tasks[r];if(!s)return{};let l=s.files[a];if(!l)return{};let c={...l,loaded:i},m={...s.files,[a]:c},g=Object.values(m).reduce((M,v)=>M+v.loaded,0);return{tasks:{...f.tasks,[r]:{...s,loaded:g,files:m}},fileProgress:{...f.fileProgress,[a]:c}}}),completeFile:(r,a)=>e((i)=>{let f=i.tasks[r];if(!f)return{};let s=f.files[a];if(!s)return{};let l={...s,status:"completed",loaded:s.total},c={...f.files,[a]:l},m=Object.values(c).reduce((g,M)=>g+M.loaded,0);return{tasks:{...i.tasks,[r]:{...f,loaded:m,files:c}},fileProgress:{...i.fileProgress,[a]:l}}}),failFile:(r,a)=>e((i)=>{let f=i.tasks[r];if(!f)return{};let s=f.files[a];if(!s)return{};let l={...s,status:"failed"},c={...f.files,[a]:l},m=Object.values(c).reduce((g,M)=>g+M.loaded,0);return{tasks:{...i.tasks,[r]:{...f,loaded:m,files:c}},fileProgress:{...i.fileProgress,[a]:l}}})}));S();function Kd({className:e,value:r,...a}){return t(BCe,{"data-slot":"progress",className:C("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",e),...a,children:t(YCe,{"data-slot":"progress-indicator",className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(r||0)}%)`}})})}function ZLt(e){let r=I8(e);if(isNaN(r.getTime()))return Ipt();if(z2(r))return Vfe();if(S2(r))return Hfe();return mr(r,X4e())}function w8e(e){if(e===0)return"0 B";let r=1024,a=["B","KB","MB","GB","TB"],i=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,i)).toFixed(1))+" "+a[i]}function pLt({task:e}){let r=_n((s)=>s.tasks[e.id]),a=r?r.loaded===r.total&&e.uploaded===e.total:e.uploaded===e.total,i=r?r.total>0?r.loaded/r.total*100:0:e.total>0?e.uploaded/e.total*100:0,f;try{f=Mn(e.createdAt)}catch{f=gn()}return o("div",{className:"group relative flex flex-col p-4 rounded-xl border border-sidebar-border bg-sidebar-accent/30 text-sidebar-foreground shadow-xs transition-all duration-200 hover:shadow-md hover:border-sidebar-foreground/20 hover:bg-sidebar-accent/50",children:[o("div",{className:"flex items-start justify-between gap-2 mb-2",children:[t("div",{className:"min-w-0 flex-1",children:t("span",{className:"text-sm font-semibold tracking-tight text-sidebar-foreground truncate block",title:e.name,children:e.name||omt()})}),t("div",{className:"flex-shrink-0",children:a?o("span",{className:"inline-flex items-center gap-1 text-xs font-semibold text-muted-foreground bg-muted px-2 py-0.5 rounded-full transition-colors",children:[t(vr,{className:"w-3.5 h-3.5"}),Q3e()]}):o("span",{className:"inline-flex items-center gap-1 text-xs font-semibold text-sidebar-primary bg-sidebar-primary/10 px-2 py-0.5 rounded-full animate-pulse",children:[t(F,{className:"w-3.5 h-3.5 animate-spin"}),kmt()]})})]}),o("div",{className:"flex items-center gap-1.5 text-xs text-muted-foreground mb-3 font-medium",children:[t(_r,{className:"w-3.5 h-3.5 text-muted-foreground/75"}),t("span",{children:f})]}),o("div",{className:"space-y-1.5 mt-auto",children:[o("div",{className:"flex items-center justify-between text-xs font-semibold",children:[t("span",{className:"text-muted-foreground/80",children:r?`${w8e(r.loaded)} / ${w8e(r.total)} (${Dfe({uploaded:e.uploaded,total:e.total})})`:Dfe({uploaded:e.uploaded,total:e.total})}),!a&&o("span",{className:"text-sidebar-primary font-mono font-bold",children:[Math.round(i),"%"]})]}),t(Kd,{value:i,className:"h-1.5 w-full bg-muted"})]})]})}function z8e(){let e=ms(),r=_n((x)=>x.uploading),a=_n((x)=>x.tasks),{data:i,fetchNextPage:f,hasNextPage:s,isFetchingNextPage:l,isLoading:c}=ft({queryKey:["teams",e,"upload","tasks"],queryFn:async({pageParam:x})=>{let _=await A.api.teams[":teamId"].upload.tasks.$get({param:{teamId:e},query:{after:x}});if(!_.ok)throw Error("Failed to fetch upload tasks");return await _.json()},initialPageParam:"",getNextPageParam:(x)=>x.pageInfo?.cursor||void 0,enabled:!!e,refetchInterval:r>0?2000:!1}),{ref:m,inView:g}=Nt();h(()=>{if(g&&s&&!l)f()},[g,s,l,f]);let M=i?.pages.flatMap((x)=>x.data??[])??[],v=D(()=>{let x=new Set(M.map((j)=>j.id));return[...Object.values(a).filter((j)=>!x.has(j.taskId)).map((j)=>{let U=Object.values(j.files).filter((T)=>T.status==="completed"||T.status==="failed").length;return{id:j.taskId,name:j.name,total:Object.keys(j.files).length,uploaded:U,createdAt:new Date().toISOString()}}),...M].sort((j,U)=>U.id.localeCompare(j.id))},[M,a]);if(c)return t("div",{className:"flex items-center justify-center p-8",children:t(F,{className:"h-6 w-6 animate-spin text-muted-foreground"})});if(v.length===0)return o("div",{className:"flex flex-col items-center justify-center p-8 text-center border border-dashed border-border rounded-xl bg-muted/10 my-4",children:[t(zn,{className:"h-8 w-8 text-muted-foreground/50 mb-3"}),t("p",{className:"text-sm font-semibold text-muted-foreground",children:eJe()}),t("p",{className:"text-xs text-muted-foreground/60 mt-1 max-w-[180px]",children:QQe()})]});let y=[];return v.forEach((x)=>{let _=ZLt(x.createdAt),j=y.find((U)=>U.day===_);if(!j)j={day:_,tasks:[]},y.push(j);j.tasks.push(x)}),o("div",{className:"flex flex-col space-y-4",children:[y.map((x)=>o("div",{className:"relative flex flex-col",children:[o("div",{className:"sticky top-0 bg-sidebar/95 backdrop-blur-sm z-10 py-2 px-1 flex items-center justify-between border-b border-border/40",children:[t("span",{className:"text-xs font-bold uppercase tracking-wider text-muted-foreground/80",children:x.day}),t("span",{className:"text-[10px] font-semibold text-muted-foreground/60 bg-muted px-2 py-0.5 rounded-full",children:x.tasks.length===1?zKe({count:x.tasks.length}):bKe({count:x.tasks.length})})]}),t("div",{className:"mt-3 space-y-3",children:x.tasks.map((_)=>t(pLt,{task:_},_.id))})]},x.day)),s&&t("div",{ref:m,className:"flex items-center justify-center p-4",children:l&&t(F,{className:"h-5 w-5 animate-spin text-muted-foreground"})})]})}S();async function S8e(e){let r=e.match(/^\/teams\/([^/]+)/),a=r?r[1]:null;if(a)return a;let i=e.match(/^\/projects\/([^/]+)/),f=i?i[1]:null;if(f){let{ensureTeamIdForProject:s}=lt.getState();return await s(f)}return null}function mLt(){let e=cf((_)=>_.user),{uploading:r}=_n(),a=tz({select:(_)=>_.location.pathname}),i=Me(),{teamId:f,setTeamId:s}=lt(),{projectState:l}=on(),c=e&&(a.startsWith("/teams/")||a.startsWith("/projects/"));h(()=>{S8e(a).then((_)=>{if(_&&_!==f)s(_)})},[a,f,s]);let{data:m}=L({queryKey:["teams",f,"me"],queryFn:async()=>{if(!f)return null;let _=await A.api.teams[":teamId"].me.$get({param:{teamId:f}});if(!_.ok)throw Error("Failed to fetch me");return await _.json()},enabled:!!f});if(!c)return t(CM,{});let g=m?.unreadNotificationCount??0,M=g>99?"99+":g,v=g>0?t("span",{className:"absolute justify-center top-0 -right-1 mt-1 inline-flex items-center px-1.5 py-0.5 rounded-full text-xs leading-4 bg-red-400 dark:bg-red-500 text-white pointer-events-none h-5 min-w-5",children:M}):null,y=a.includes("/kanban"),x=a.includes("/dashboard");return o("div",{className:"flex h-[100dvh] w-full bg-background overflow-hidden",children:[t(_8e,{}),o(Gfe,{hideMobileButton:!0,defaultMobileContent:l?.projectId?{label:Ofe(),children:t(yr,{teamId:l.teamId,projectId:l.projectId,projectName:l.projectName,rootFolderId:l.rootFolderId||"",ancestorFolders:l.ancestorFolders})}:void 0,children:[t(Kz,{icon:t(jue,{}),label:_9e(),onItemClick:()=>{if(f)i({to:"/teams/$teamId",params:{teamId:f}})}}),t(Kz,{icon:t(Oue,{}),label:Jh(),badge:v,children:t(Rue,{})}),t(Kz,{icon:t(Nue,{uploading:r>0,className:r>0?"text-blue-500":""}),label:Rmt(),children:t(z8e,{})}),t(Kz,{icon:t(Fue,{}),label:sVe(),active:y,onItemClick:()=>{if(f)i({to:"/teams/$teamId/kanban",params:{teamId:f}})}}),m?.role?.toLowerCase()==="owner"&&t(Kz,{icon:t(Bue,{}),label:nh(),active:x,onItemClick:()=>{if(f)i({to:"/teams/$teamId/dashboard",params:{teamId:f}})}})]}),o("div",{className:"flex flex-col flex-1 md:pl-16 overflow-hidden relative",children:[t(Qd,{}),t("main",{className:"flex-1 overflow-hidden relative flex flex-col",children:t(CM,{})})]})]})}var Ln=E3()({beforeLoad:async({location:e})=>{if(typeof window<"u"){let r=e.pathname,a=await S8e(r);if(a){let{fetchMetadata:i,getMetadata:f}=hr.getState();try{await i(a);let s=f("locale");if((s==="en"||s==="zh")&&s!==n())Mi(s,{reload:!1})}catch(s){console.error("Failed to load user locale metadata:",s)}}document.documentElement.setAttribute("lang",n())}},component:mLt});function Rl({children:e}){return o("div",{className:"min-h-screen w-full flex items-center justify-center p-4 md:p-8 bg-zinc-100/80 dark:bg-black font-sans overflow-hidden relative",children:[t("div",{className:"bg-rose-500/10 dark:bg-rose-600/5 w-[600px] h-[600px] rounded-full blur-[140px] absolute top-[-10%] left-[-10%] animate-drift-slow"}),t("div",{className:"bg-orange-500/10 dark:bg-orange-600/5 w-[600px] h-[600px] rounded-full blur-[140px] absolute bottom-[-10%] right-[-10%] animate-drift-medium"}),o("div",{className:"relative max-w-4xl w-full flex flex-col md:flex-row rounded-3xl border border-zinc-200 dark:border-zinc-800 shadow-2xl bg-white dark:bg-zinc-900 overflow-hidden min-h-[580px] z-10 transition-all duration-300 hover:shadow-rose-500/5",children:[o("div",{className:"hidden md:flex flex-col w-full md:w-1/2 bg-gradient-to-br from-rose-500/15 via-orange-500/10 to-amber-500/5 dark:from-rose-950/30 dark:via-orange-950/15 dark:to-zinc-900/40 p-8 md:p-12 justify-between border-r border-zinc-200 dark:border-zinc-800 relative overflow-hidden",children:[t("div",{className:"absolute inset-0 bg-[linear-gradient(to_right,#8080800a_1px,transparent_1px),linear-gradient(to_bottom,#8080800a_1px,transparent_1px)] bg-[size:14px_24px] [mask-image:radial-gradient(ellipse_60%_50%_at_50%_0%,#000_70%,transparent_100%)] pointer-events-none"}),o("div",{className:"relative flex items-center gap-3",children:[t(fM,{className:"h-12 w-12 shadow-lg shadow-rose-500/10 rounded-2xl transition-transform duration-500 hover:scale-105"}),t("span",{className:"text-xl font-extrabold tracking-tight bg-gradient-to-r from-rose-500 via-orange-500 to-amber-500 bg-clip-text text-transparent",children:"Shumai"})]}),o("div",{className:"relative my-8 md:my-0 space-y-6",children:[t("h2",{className:"text-3xl font-extrabold tracking-tight leading-tight text-zinc-900 dark:text-zinc-50",children:jOe()}),t("p",{className:"text-zinc-600 dark:text-zinc-400 text-sm leading-relaxed max-w-sm",children:SOe()}),t("ul",{className:"space-y-3.5 pt-4",children:[EOe(),COe(),POe()].map((r,a)=>o("li",{className:"flex items-center gap-3 text-sm text-zinc-700 dark:text-zinc-300 font-medium",children:[t(vr,{className:"w-5 h-5 text-rose-500 flex-shrink-0"}),t("span",{children:r})]},a))})]}),t("div",{className:"relative pt-4 border-t border-zinc-200/30 dark:border-zinc-800/30",children:t("p",{className:"text-xs text-zinc-500 dark:text-zinc-400 font-medium",children:_Oe()})})]}),t("div",{className:"w-full md:w-1/2 p-8 md:p-12 flex flex-col justify-center",children:e})]})]})}function Et({className:e,...r}){return t("div",{"data-slot":"card",className:C("flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm",e),...r})}function kt({className:e,...r}){return t("div",{"data-slot":"card-header",className:C("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...r})}function Rt({className:e,...r}){return t("div",{"data-slot":"card-title",className:C("leading-none font-semibold",e),...r})}function Ut({className:e,...r}){return t("div",{"data-slot":"card-description",className:C("text-sm text-muted-foreground",e),...r})}function Mt({className:e,...r}){return t("div",{"data-slot":"card-content",className:C("px-6",e),...r})}function L8e({className:e,...r}){return t("div",{"data-slot":"card-footer",className:C("flex items-center px-6 [.border-t]:pt-6",e),...r})}S();var SD=(e)=>e.type==="checkbox",IF=(e)=>e.type==="file",G8=(e)=>e instanceof Date,qi=(e)=>e==null,KW=(e)=>typeof e==="object",Rn=(e)=>!qi(e)&&!Array.isArray(e)&&KW(e)&&!G8(e),hLt=(e)=>Rn(e)&&e.target?SD(e.target)?e.target.checked:IF(e.target)?e.target.files:e.target.value:e,gLt=(e,r)=>r.split(".").some((a,i,f)=>!isNaN(Number(a))&&e.has(f.slice(0,i).join("."))),RF=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function cn(e){if(e===null||typeof e!=="object")return e;if(e instanceof Date)return new Date(e);let r=typeof FileList<"u"&&e instanceof FileList;if(RF&&(e instanceof Blob||r))return e;let a=Array.isArray(e);if(!a&&e.constructor!==Object)return e;let i=a?[]:Object.create(Object.getPrototypeOf(e));for(let f in e)if(Object.prototype.hasOwnProperty.call(e,f))i[f]=cn(e[f]);return i}var TR={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},Tu={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Ru={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},B8e="root",XW=["__proto__","constructor","prototype"],MLt=/^\w*$/,DL=(e)=>MLt.test(e),sa=(e)=>e===void 0,vLt=/[.[\]'"]/,ER=(e)=>e.split(vLt).filter(Boolean),Zr=(e,r,a)=>{if(!r||!Rn(e))return a;let i=DL(r)?[r]:ER(r);if(i.some((s)=>XW.includes(s)))return a;let f=i.reduce((s,l)=>qi(s)?void 0:s[l],e);return sa(f)||f===e?sa(e[r])?a:e[r]:f},SZ=(e)=>typeof e==="boolean",tu=(e)=>typeof e==="function",na=(e,r,a)=>{let i=-1,f=DL(r)?[r]:ER(r),s=f.length,l=s-1;while(++i<s){let c=f[i],m=a;if(i!==l){let g=e[c];m=Rn(g)||Array.isArray(g)?g:!isNaN(+f[i+1])?[]:{}}if(XW.includes(c))return;e[c]=m,e=e[c]}},xLt=at(null);xLt.displayName="HookFormControlContext";var yLt=(e,r,a,i=!0)=>{let f={};for(let s in e)Object.defineProperty(f,s,{get:()=>{let l=s;if(r._proxyFormState[l]!==Tu.all)r._proxyFormState[l]=!i||Tu.all;return a&&(a[l]=!0),e[l]}});return f},bLt=RF?He:h,_Lt=(e)=>{let r=e.constructor&&e.constructor.prototype;return Rn(r)&&r.hasOwnProperty("isPrototypeOf")},HW=(e)=>qi(e)||!KW(e),k8e=(e,r)=>r.length===0&&!Array.isArray(e)&&!_Lt(e);function Pu(e,r,a=new WeakMap){if(e===r)return!0;if(HW(e)||HW(r))return Object.is(e,r);if(G8(e)&&G8(r))return Object.is(e.getTime(),r.getTime());let i=Object.keys(e),f=Object.keys(r);if(i.length!==f.length)return!1;if(k8e(e,i)||k8e(r,f))return Object.is(e,r);if(!i.length&&Array.isArray(e)!==Array.isArray(r))return!1;let s=a.get(e);if(s&&s.has(r))return!0;if(s)s.add(r);else{let l=new WeakSet;l.add(r),a.set(e,l)}for(let l of i){let c=e[l];if(!(l in r))return!1;if(l!=="ref"){let m=r[l];if(G8(c)&&G8(m)||(Rn(c)||Array.isArray(c))&&(Rn(m)||Array.isArray(m))?!Pu(c,m,a):!Object.is(c,m))return!1}}return!0}function wLt(){let e=b(!1),r=b(void 0),a=P((f,s,l)=>{if(f&&e.current){let c=s();if(!Pu(r.current,c))l(c)}e.current=!0},[]),i=P((f,s)=>{if(f)r.current=cn(s())},[]);return{resyncIfNeeded:a,snapshot:i}}var Vi=(e)=>typeof e==="string",zLt=(e,r,a,i,f)=>{if(Vi(e))return i&&r.watch.add(e),Zr(a,e,f);if(Array.isArray(e))return e.map((s)=>(i&&r.watch.add(s),Zr(a,s)));return i&&(r.watchAll=!0),a};var SF=(e)=>({isOnSubmit:!e||e===Tu.onSubmit,isOnBlur:e===Tu.onBlur,isOnChange:e===Tu.onChange,isOnAll:e===Tu.all,isOnTouch:e===Tu.onTouched}),UW=(e,r,a)=>{if(a)return!1;if(r.watchAll||r.watch.has(e))return!0;for(let i of r.watch)if(e.startsWith(i)&&e.charAt(i.length)===".")return!0;return!1},zD=(e,r,a,i)=>{for(let f of a||Object.keys(e)){if(f==="_f")continue;let s=a?Zr(e,f):e[f];if(s){let{_f:l}=s;if(l){if(l.refs&&l.refs[0]&&r(l.refs[0],f)&&!i)return!0;else if(l.ref&&r(l.ref,l.name)&&!i)return!0;else if(zD(s,r))break}else if(Rn(s)||Array.isArray(s)){if(zD(s,r))break}}}return},C8e=(e,r,a)=>{let i=Zr(e,a),f=Array.isArray(i)?i:[];return na(f,B8e,r[a]),na(e,a,f),e},nf=(e)=>Rn(e)&&!Object.keys(e).length,kF=(e)=>{if(!RF)return!1;let r=e?e.ownerDocument:0;return e instanceof(r&&r.defaultView?r.defaultView.HTMLElement:HTMLElement)},QW=(e)=>e.type==="radio",CF=(e)=>e instanceof RegExp,PF=(e,r,a,i,f)=>r?{...a[e],types:{...a[e]&&a[e].types?a[e].types:{},[i]:f||!0}}:{},I8e={value:!1,isValid:!1},R8e={value:!0,isValid:!0},Y8e=(e)=>{if(!Array.isArray(e))return I8e;if(e.length>1){let a=e.filter((i)=>i&&i.checked&&!i.disabled).map((i)=>i.value);return{value:a,isValid:!!a.length}}let r=e[0];if(!r||!r.checked||r.disabled)return I8e;if(!r.attributes||!("value"in r.attributes))return R8e;return sa(r.value)||r.value===""?R8e:{value:r.value,isValid:!0}},P8e={isValid:!1,value:null},U8e=(e)=>Array.isArray(e)?e.reduce((r,a)=>a&&a.checked&&!a.disabled?{isValid:!0,value:a.value}:r,P8e):P8e;function T8e(e,r,a="validate"){if(Vi(e)||Array.isArray(e)&&e.every(Vi)||SZ(e)&&!e)return{type:a,message:Vi(e)?e:"",ref:r}}var AR=(e)=>Rn(e)&&!CF(e)?e:{value:e,message:""},A8e=async(e,r,a,i,f,s)=>{let{ref:l,refs:c,required:m,maxLength:g,minLength:M,min:v,max:y,pattern:x,validate:_,name:j,valueAsNumber:U,mount:T}=e._f,N=Zr(a,j);if(!T||r.has(j))return{};let G=c?c[0]:l,X=(ze)=>{if(f&&G.reportValidity){let qe=SZ(ze)?"":ze||"";if(c)c.forEach((ut)=>ut.setCustomValidity(qe));else G.setCustomValidity(qe);G.reportValidity()}},J={},ee=QW(l),re=SD(l),oe=ee||re,ae=(U||IF(l))&&sa(l.value)&&sa(N)||kF(l)&&l.value===""||N===""||Array.isArray(N)&&!N.length,ye=PF.bind(null,j,i,J),We=(ze,qe,ut,$e=Ru.maxLength,xt=Ru.minLength)=>{let Dt=ze?qe:ut;J[j]={type:ze?$e:xt,message:Dt,ref:l,...ye(ze?$e:xt,Dt)}};if(s?!Array.isArray(N)||!N.length:m&&(!oe&&(ae||qi(N))||SZ(N)&&!N||re&&!Y8e(c).isValid||ee&&!U8e(c).isValid)){let{value:ze,message:qe}=Vi(m)?{value:!!m,message:m}:AR(m);if(ze){if(J[j]={type:Ru.required,message:qe,ref:G,...ye(Ru.required,qe)},!i)return X(qe),J}}if(!ae&&(!qi(v)||!qi(y))){let ze,qe,ut=AR(y),$e=AR(v);if(!qi(N)&&!G8(N)&&!isNaN(N)){let xt=l.valueAsNumber||(N?+N:N);if(!qi(ut.value))ze=xt>ut.value;if(!qi($e.value))qe=xt<$e.value}else{let xt=l.valueAsDate||new Date(N),Dt=(yt)=>new Date(new Date().toDateString()+" "+yt),Yt=l.type=="time",fe=l.type=="week";if(Vi(ut.value)&&N)ze=Yt?Dt(N)>Dt(ut.value):fe?N>ut.value:xt>new Date(ut.value);if(Vi($e.value)&&N)qe=Yt?Dt(N)<Dt($e.value):fe?N<$e.value:xt<new Date($e.value)}if(ze||qe){if(We(!!ze,ut.message,$e.message,Ru.max,Ru.min),!i)return X(J[j].message),J}}if((g||M)&&!ae&&(Vi(N)||s&&Array.isArray(N))){let ze=AR(g),qe=AR(M),ut=!qi(ze.value)&&N.length>+ze.value,$e=!qi(qe.value)&&N.length<+qe.value;if(ut||$e){if(We(ut,ze.message,qe.message),!i)return X(J[j].message),J}}if(x&&!ae&&Vi(N)){let{value:ze,message:qe}=AR(x);if(CF(ze)&&!N.match(ze)){if(J[j]={type:Ru.pattern,message:qe,ref:l,...ye(Ru.pattern,qe)},!i)return X(qe),J}}if(_){if(tu(_)){let ze=await _(N,a),qe=T8e(ze,G);if(qe){if(J[j]={...qe,...ye(Ru.validate,qe.message)},!i)return X(qe.message),J}}else if(Rn(_)){let ze={};for(let qe in _){if(!nf(ze)&&!i)break;let ut=T8e(await _[qe](N,a),G,qe);if(ut){if(ze={...ut,...ye(qe,ut.message)},X(ut.message),i)J[j]=ze}}if(!nf(ze)){if(J[j]={ref:G,...ze},!i)return J}}}let Ye=J[j];return X(Ye?Ye.message:!0),J},LF=(e)=>Array.isArray(e)?e:[e];var q8e=(e)=>Array.isArray(e)?e.filter(Boolean):[];function SLt(e,r){let a=r.length-1,i=0;while(i<a){if(qi(e)){e=void 0;break}e=e[r[i]],i++}return e}function LLt(e){for(let r in e)if(e.hasOwnProperty(r)&&!sa(e[r]))return!1;return!0}function Gn(e,r){if(Vi(r)&&Object.prototype.hasOwnProperty.call(e,r))return delete e[r],e;let a=Array.isArray(r)?r:DL(r)?[r]:ER(r);if(a.some((l)=>XW.includes(String(l))))return e;let i=a.length===1?e:SLt(e,a),f=a.length-1,s=a[f];if(i)delete i[s];if(f!==0&&(Rn(i)&&nf(i)||Array.isArray(i)&&LLt(i)))Gn(e,a.slice(0,-1));return e}var kLt=at(null);kLt.displayName="HookFormContext";var E8e=()=>{let e=[];return{get observers(){return e},next:(f)=>{for(let s of e)s.next&&s.next(f)},subscribe:(f)=>(e.push(f),{unsubscribe:()=>{e=e.filter((s)=>s!==f)}}),unsubscribe:()=>{e=[]}}};function V8e(e,r){let a={};for(let i in e)if(e.hasOwnProperty(i)){let f=e[i],s=r[i];if(f&&Rn(f)&&s){let l=V8e(f,s);if(Rn(l))a[i]=l}else if(e[i])a[i]=s}return a}var D8e=(e,r)=>e!==null&&KW(e)&&Object.prototype.hasOwnProperty.call(e,r),CLt=(e,r)=>{if(!r)return!1;let a=e;for(let i of DL(r)?[r]:ER(r)){if(!D8e(a,i))return D8e(e,r);a=a[i]}return!0},H8e=(e)=>e.type==="select-multiple",ILt=(e)=>QW(e)||SD(e),qW=(e)=>kF(e)&&e.isConnected;function O8e(e){return Array.isArray(e)||Rn(e)}function W8e(e,r,a="",i=[]){for(let f in e){let s=a?`${a}.${f}`:f,l=e[f];if(O8e(l)&&O8e(Zr(r,s)))W8e(l,r,s,i);else i.push(s)}return i}var RLt=(e)=>{for(let r in e)if(tu(e[r]))return!0;return!1};function G8e(e){return Array.isArray(e)||Rn(e)&&!RLt(e)}function K8e(e){return!!(e&&("_f"in e))}function X8e(e){return Array.isArray(e)?!e.some((r)=>!sa(r)):!Object.keys(e).length}function WW(e,r){if(Array.isArray(e))e[r]=void 0;else delete e[r]}function GW(e,r={},a){for(let i in e){let f=e[i],s=a&&a[i];if(G8e(f)&&(!Array.isArray(f)||!K8e(s))){if(r[i]=Array.isArray(f)?[]:{},GW(f,r[i],s),X8e(r[i]))WW(r,i)}else if(!sa(f))r[i]=!0}return r}function EL(e,r,a,i){if(!a)a=GW(r,{},i);for(let f in e){let s=e[f],l=i&&i[f];if(G8e(s)&&(!Array.isArray(s)||!K8e(l))){if(sa(r)||HW(a[f]))a[f]=GW(s,Array.isArray(s)?[]:{},l);else EL(s,qi(r)?{}:r[f],a[f],l);if(X8e(a[f]))WW(a,f)}else if(Pu(s,r[f]))WW(a,f);else a[f]=!0}return a}var PLt=(e,r)=>{let a=r.split("."),i=[],f=a[0];for(let s=1;s<a.length;f+="."+a[s++])if(!isNaN(+a[s])&&e.has(f))i.push(`${f}.${a[s]}`);return i},Q8e=(e,{valueAsNumber:r,valueAsDate:a,setValueAs:i})=>sa(e)?e:r?e===""?NaN:e?+e:e:a&&Vi(e)?new Date(e):i?i(e):e;function j8e(e){let r=e.ref;if(IF(r))return r.files;if(QW(r))return U8e(e.refs).value;if(H8e(r))return[...r.selectedOptions].map(({value:a})=>a);if(SD(r))return Y8e(e.refs).value;return Q8e(r.value,e)}var TLt=(e,r,a,i)=>{let f={};for(let s of e){let l=Zr(r,s);l&&na(f,s,l._f)}return{criteriaMode:a,names:[...e],fields:f,shouldUseNativeValidation:i}},wD=(e)=>sa(e)?e:CF(e)?e.source:Rn(e)?CF(e.value)?e.value.source:e.value:e,N8e="AsyncFunction",ALt=(e)=>{if(!e||!e.validate)return!1;if(tu(e.validate))return e.validate.constructor.name===N8e;if(Rn(e.validate)){for(let r in e.validate)if(e.validate[r].constructor.name===N8e)return!0}return!1},ELt=(e)=>e.mount&&(e.required||!sa(e.required)&&e.required!==!1||!sa(e.min)||!sa(e.max)||!sa(e.maxLength)||!sa(e.minLength)||e.pattern||e.validate);function F8e(e,r,a){let i=Zr(e,a);if(i||DL(a))return{error:i,name:a};let f=a.split(".");while(f.length){let s=f.join("."),l=Zr(r,s),c=Zr(e,s);if(l&&!Array.isArray(l)&&a!==s)return{name:a};if(c&&c.type)return{name:s,error:c};if(c&&c.root&&c.root.type)return{name:`${s}.root`,error:c.root};f.pop()}return{name:a}}var DLt=(e,r,a,i)=>{a(e);let f=Object.keys(e).filter((s)=>s!=="name");return!f.length||i&&f.length>=Object.keys(r).length||f.find((s)=>r[s]===(!i||Tu.all))},OLt=(e,r,a)=>!e||!r||e===r||LF(e).some((i)=>i&&(a?i===r||i.startsWith(r+"."):i.startsWith(r)||r.startsWith(i))),jLt=(e,r,a,i,f)=>{if(f.isOnAll)return!1;else if(!a&&f.isOnTouch)return!(r||e);else if(a?i.isOnBlur:f.isOnBlur)return!e;else if(a?i.isOnChange:f.isOnChange)return e;return!0},NLt=(e,r)=>{let a=Zr(e,r);!q8e(a).length&&!(a===null||a===void 0?void 0:a.root)&&Gn(e,r)},FLt={mode:Tu.onSubmit,reValidateMode:Tu.onChange,shouldFocusError:!0},VW="form",BLt=(e,r)=>{for(let a in e)if(!(a in r))delete e[a];Object.assign(e,r)},J8e={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function YLt(e={}){let r={...FLt,...e},a={...cn(J8e),isLoading:tu(r.defaultValues),errors:r.errors||{},disabled:r.disabled||!1},i={},f=Rn(r.defaultValues)||Rn(r.values)?cn(r.defaultValues||r.values)||{}:{},s=r.shouldUnregister?{}:cn(f),l={action:!1,actionArrayLengths:new Map,mount:!1,watch:!1,keepIsValid:!1},c={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},m={},g={},M=0,v=SF(r.mode),y=SF(r.reValidateMode),x={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},_={...x},j={..._},U={array:E8e(),state:E8e()},T=0,N=r.criteriaMode===Tu.all,G=(Se,Pe)=>(De)=>{clearTimeout(g[Se]),g[Se]=setTimeout(Pe,De)},X=async(Se)=>{if(l.keepIsValid)return;if(!r.disabled&&(_.isValid||j.isValid||Se)){let Pe=++T,De;if(r.resolver)De=nf((await ut()).errors),Pe===T&&J();else De=await Dt({fields:i,onlyCheckValid:!0,eventType:TR.VALID});if(Pe===T&&De!==a.isValid)U.state.next({isValid:De})}},J=(Se,Pe)=>{if(!r.disabled&&(_.isValidating||_.validatingFields||j.isValidating||j.validatingFields))(Se||c.mount).forEach((De)=>{if(De)Pe?na(a.validatingFields,De,Pe):Gn(a.validatingFields,De)}),U.state.next({validatingFields:a.validatingFields,isValidating:!nf(a.validatingFields)})},ee=()=>{a.dirtyFields=EL(f,s,void 0,i)},re=(Se,Pe=[],De,Zt,zt=!0,Ot=!0)=>{if(Zt&&De&&!r.disabled){l.action=!0;let fr=Zr(i,Se);if(!l.actionArrayLengths.has(Se))l.actionArrayLengths.set(Se,Array.isArray(fr)?fr.length:0);if(Ot&&Array.isArray(fr)){let qt=De(fr,Zt.argA,Zt.argB);zt&&na(i,Se,qt)}let At=Zr(a.errors,Se);if(Ot&&Array.isArray(At)){let qt=At.root,Rr=De(At,Zt.argA,Zt.argB)||At;if(qt)Rr.root=qt;zt&&na(a.errors,Se,Rr),NLt(a.errors,Se)}let _t=Zr(a.touchedFields,Se);if((_.touchedFields||j.touchedFields)&&Ot&&Array.isArray(_t)){let qt=De(_t,Zt.argA,Zt.argB);zt&&na(a.touchedFields,Se,qt)}if(_.dirtyFields||j.dirtyFields)ee();U.state.next({name:Se,isDirty:fe(Se,Pe),dirtyFields:a.dirtyFields,errors:a.errors,isValid:a.isValid})}else na(s,Se,Pe)},oe=(Se,Pe)=>{na(a.errors,Se,Pe),a.errors={...a.errors},U.state.next({errors:a.errors})},ae=(Se)=>{a.errors=Se,U.state.next({errors:a.errors,isValid:!1})},ye=(Se)=>{let Pe=DL(Se)?[Se]:ER(Se),De=s,Zt=f;for(let zt=0;zt<Pe.length-1;zt++){let Ot=Pe[zt];if(De=qi(De)?De:De[Ot],Zt=qi(Zt)?Zt:Zt[Ot],De===null&&Zt!==null)return!0}return!1},We=(Se)=>{if(!l.actionArrayLengths.size)return!1;let Pe=DL(Se)?[Se]:ER(Se),De=s,Zt="",zt=-1,Ot=0;for(let fr=0;fr<Pe.length;fr++){if(qi(De))return!1;let At=Pe[fr];if(Zt=Zt?`${Zt}.${At}`:At,Array.isArray(De)&&+At>=De.length)return zt===-1?!1:fr===zt?+At<Ot:!0;if(l.actionArrayLengths.has(Zt))zt=fr+1,Ot=l.actionArrayLengths.get(Zt);De=De[At]}return!1},Ye=(Se,Pe,De,Zt)=>{let zt=Zr(i,Se);if(zt){if(ye(Se)||We(Se))return;let Ot=sa(Zr(s,Se)),fr=Zr(s,Se,sa(De)?Zr(f,Se):De);if(sa(fr)||Zt&&Zt.defaultChecked||Pe?na(s,Se,Pe?fr:j8e(zt._f)):Ee(Se,fr),l.mount&&!l.action){if(X(),Ot&&a.isDirty&&(_.isDirty||j.isDirty)){if(!fe())a.isDirty=!1,U.state.next({...a})}if(e.shouldUnregister&&Ot&&!sa(Zr(s,Se))&&UW(Se,c))l.watch=!0}}},ze=(Se,Pe,De,Zt,zt)=>{let Ot=!1,fr=!1,At={name:Se};if(!r.disabled||Zt===!0){if(!De||Zt){let _t=Pu(Zr(f,Se),Pe);if(_.isDirty||j.isDirty)fr=a.isDirty,a.isDirty=At.isDirty=!_t||fe(),Ot=fr!==At.isDirty;if(fr=!!Zr(a.dirtyFields,Se),_t!==a.isDirty)BLt(a.dirtyFields,EL(f,s,void 0,i));else _t?Gn(a.dirtyFields,Se):na(a.dirtyFields,Se,!0);At.dirtyFields=a.dirtyFields,Ot=Ot||(_.dirtyFields||j.dirtyFields)&&fr!==!_t}if(De){let _t=Zr(a.touchedFields,Se);if(!_t)na(a.touchedFields,Se,De),At.touchedFields=a.touchedFields,Ot=Ot||(_.touchedFields||j.touchedFields)&&_t!==De}Ot&&zt&&U.state.next(At)}return Ot?At:{}},qe=(Se,Pe,De,Zt)=>{let zt=Zr(a.errors,Se),Ot=(_.isValid||j.isValid)&&SZ(Pe)&&a.isValid!==Pe;if(r.delayError&&De)m[Se]=G(Se,()=>oe(Se,De)),m[Se](r.delayError);else clearTimeout(g[Se]),delete m[Se],De?na(a.errors,Se,De):Gn(a.errors,Se),a.errors={...a.errors};if((De?!Pu(zt,De):zt)||!nf(Zt)||Ot){let fr={...Zt,...Ot&&SZ(Pe)?{isValid:Pe}:{},errors:a.errors,name:Se};U.state.next(fr)}},ut=async(Se)=>(J(Se,!0),await r.resolver(s,r.context,TLt(Se||c.mount,i,r.criteriaMode,r.shouldUseNativeValidation))),$e=async(Se)=>{let{errors:Pe}=await ut(Se);if(J(Se),Se){for(let De of Se){let Zt=Zr(Pe,De);Zt?c.array.has(De)&&Rn(Zt)&&!Object.keys(Zt).some((zt)=>!Number.isNaN(Number(zt)))?C8e(a.errors,{[De]:Zt},De):na(a.errors,De,Zt):Gn(a.errors,De)}a.errors={...a.errors}}else a.errors=Pe;return Pe},xt=async({name:Se,eventType:Pe})=>{if(e.validate){let De=await e.validate({formValues:s,formState:a,name:Se,eventType:Pe});if(Rn(De))for(let Zt in De){let zt=De[Zt];if(zt)or(`${VW}.${Zt}`,{message:Vi(zt.message)?zt.message:"",type:zt.type||Ru.validate})}else if(Vi(De)||!De)or(VW,{message:De||"",type:Ru.validate});else mo(VW);return De}return!0},Dt=async({fields:Se,onlyCheckValid:Pe,name:De,eventType:Zt,context:zt={valid:!0,runRootValidation:!1}})=>{if(e.validate){if(zt.runRootValidation=!0,!await xt({name:De,eventType:Zt})){if(zt.valid=!1,Pe)return zt.valid}}for(let Ot in Se){let fr=Se[Ot];if(fr){let{_f:At,..._t}=fr;if(At){let qt=c.array.has(At.name),Rr=fr._f&&ALt(fr._f),jr=_.validatingFields||_.isValidating||j.validatingFields||j.isValidating;if(Rr&&jr)J([At.name],!0);let ea=await A8e(fr,c.disabled,s,N,r.shouldUseNativeValidation&&!Pe,qt);if(Rr&&jr)J([At.name]);if(ea[At.name]){if(zt.valid=!1,Pe)break}if(!Pe&&(Zr(ea,At.name)?qt?C8e(a.errors,ea,At.name):na(a.errors,At.name,ea[At.name]):Gn(a.errors,At.name)),e.shouldUseNativeValidation&&ea[At.name])break}!nf(_t)&&await Dt({context:zt,onlyCheckValid:Pe,fields:_t,name:Ot,eventType:Zt})}}return zt.valid},Yt=()=>{for(let Se of c.unMount){let Pe=Zr(i,Se);Pe&&(Pe._f.refs?Pe._f.refs.every((De)=>!qW(De)):!qW(Pe._f.ref))&&ho(Se)}c.unMount=new Set},fe=(Se,Pe)=>(Se&&Pe&&na(s,Se,Pe),!Pu(l.mount?s:f,f)),yt=(Se,Pe,De)=>zLt(Se,c,{...l.mount?s:sa(Pe)||Vi(Se)?f:Pe},De,Pe),Wt=(Se)=>q8e(Zr(l.mount?s:f,Se,r.shouldUnregister?Zr(f,Se,[]):[])),Ee=(Se,Pe,De={},Zt=!1,zt=!1,Ot=!1)=>{let fr=Zr(i,Se),At=Pe;if(fr){let _t=fr._f;if(_t){if(!_t.disabled&&na(s,Se,Q8e(Pe,_t)),At=kF(_t.ref)&&qi(Pe)?"":Pe,H8e(_t.ref))[..._t.ref.options].forEach((qt)=>qt.selected=At.includes(qt.value));else if(_t.refs)if(SD(_t.ref))_t.refs.forEach((qt)=>{if(!qt.defaultChecked||!qt.disabled)if(Array.isArray(At))qt.checked=!!At.find((Rr)=>Rr===qt.value);else qt.checked=At===qt.value||!!At});else _t.refs.forEach((qt)=>qt.checked=qt.value===At);else if(IF(_t.ref))_t.ref.value="";else if(_t.ref.value=At,!_t.ref.type&&!zt&&!Ot)U.state.next({name:Se,values:Zt?s:cn(s)})}}(De.shouldDirty||De.shouldTouch)&&ze(Se,At,De.shouldTouch,De.shouldDirty,!zt),De.shouldValidate&&ur(Se,{delayError:De.delayError})},lr=(Se,Pe,De,Zt=!1,zt=!1,Ot=!1)=>{if(c.array.has(Se))U.array.next({name:Se,values:Zt?s:cn(s)});for(let fr in Pe){if(!Pe.hasOwnProperty(fr))return;let At=Pe[fr],_t=Se+"."+fr,qt=Zr(i,_t);(c.array.has(Se)||Rn(At)||qt&&!qt._f)&&!G8(At)?lr(_t,At,De,Zt,zt,Ot):Ee(_t,At,De,Zt,zt,Ot)}},sr=(Se,Pe,De,Zt,zt=!1)=>{let Ot=Zr(i,Se),fr=c.array.has(Se),At=Zt?Pe:cn(Pe),_t=Zr(s,Se),qt=Pu(_t,At);if(!qt)na(s,Se,At);if(fr){if(U.array.next({name:Se,values:Zt?s:cn(s)}),(_.isDirty||_.dirtyFields||j.isDirty||j.dirtyFields)&&De.shouldDirty){if(ee(),!zt)U.state.next({name:Se,dirtyFields:a.dirtyFields,isDirty:fe(Se,At)})}}else{let Rr=Array.isArray(At)&&!At.length||nf(At),jr=!qt&&!zt;if(!Ot||Ot._f||qi(At)||Rr)Ee(Se,At,De,Zt,zt,jr);else lr(Se,At,De,Zt,zt,jr)}if(!qt&&!zt){let Rr=UW(Se,c),jr=Zt?s:cn(s);if(U.state.next({...Rr&&a,name:l.mount||Rr?Se:void 0,values:jr}),!fr)for(let ea of PLt(c.array,Se))U.state.next({name:ea,values:jr})}},Jt=(Se,Pe,De={})=>sr(Se,Pe,De,!1),Or=(Se,Pe={})=>{let De=tu(Se)?Se(s):Se;if(!Pu(s,De)){s={...s,...De};for(let Zt of c.mount)if(CLt(De,Zt))sr(Zt,Zr(De,Zt),Pe,!0,!0);if(U.state.next({...a,name:void 0,type:void 0,...M?{values:s}:{}}),Pe.shouldValidate)X()}},Gt=async(Se)=>{l.mount=!0;let Pe=Se.target,De=Pe.name,Zt=!0,zt=Zr(i,De),Ot=(fr)=>{Zt=Number.isNaN(fr)||G8(fr)&&isNaN(fr.getTime())||Pu(fr,Zr(s,De,fr))};if(zt){let fr,At,_t=Pe.type?j8e(zt._f):hLt(Se),qt=Se.type===TR.BLUR||Se.type===TR.FOCUS_OUT,Rr=!ELt(zt._f)&&!e.validate&&!r.resolver&&!Zr(a.errors,De)&&!zt._f.deps,jr=Rr||jLt(qt,Zr(a.touchedFields,De),a.isSubmitted,y,v),ea=UW(De,c,qt);if(na(s,De,_t),qt){if(!Pe||!Pe.readOnly){zt._f.onBlur&&zt._f.onBlur(Se);let Za=m[De];Za&&Za(0)}}else if(zt._f.onChange)zt._f.onChange(Se);let nr=ze(De,_t,qt),Go=!nf(nr)||ea;if(!qt&&U.state.next({name:De,type:Se.type,...M?{values:cn(s)}:{}}),jr){if((!Rr||!a.isValid)&&(_.isValid||j.isValid)){if(r.mode==="onBlur"){if(qt)X()}else if(!qt)X()}return Go&&U.state.next({name:De,...ea?{}:nr})}if(!r.resolver&&e.validate)await xt({name:De,eventType:Se.type});if(!qt&&ea&&U.state.next({...a}),r.resolver){let{errors:Za}=await ut([De]);if(J([De]),Ot(_t),!Zt){!nf(nr)&&U.state.next(nr);return}let Qn=F8e(a.errors,i,De),ff=F8e(Za,i,Qn.name||De);fr=ff.error,De=ff.name,At=nf(Za)}else if(J([De],!0),fr=(await A8e(zt,c.disabled,s,N,r.shouldUseNativeValidation))[De],J([De]),Ot(_t),Zt){if(fr)At=!1;else if(_.isValid||j.isValid)At=await Dt({fields:i,onlyCheckValid:!0,name:De,eventType:Se.type})}if(Zt)zt._f.deps&&(!Array.isArray(zt._f.deps)||zt._f.deps.length>0)&&ur(zt._f.deps),qe(De,At,fr,nr)}},Kt=(Se,Pe)=>{if(Zr(a.errors,Pe)&&Se.focus)return Se.focus(),1;return},ur=async(Se,Pe={})=>{let De,Zt,zt=LF(Se);if(r.resolver){let Ot=await $e(sa(Se)?Se:zt);De=nf(Ot),Zt=Se?!zt.some((fr)=>Zr(Ot,fr)):De}else if(Se)Zt=(await Promise.all(zt.map(async(Ot)=>{let fr=Zr(i,Ot);return await Dt({fields:fr&&fr._f?{[Ot]:fr}:fr,eventType:TR.TRIGGER})}))).every(Boolean),!(!Zt&&!a.isValid)&&X();else Zt=De=await Dt({fields:i,name:Se,eventType:TR.TRIGGER});if(Pe.delayError&&r.delayError&&Vi(Se)){let Ot=Zr(a.errors,Se);if(Ot)Gn(a.errors,Se),m[Se]=G(Se,()=>oe(Se,Ot)),m[Se](r.delayError);else clearTimeout(g[Se]),delete m[Se]}return U.state.next({...!Vi(Se)||(_.isValid||j.isValid)&&De!==a.isValid?{}:{name:Se},...r.resolver||!Se?{isValid:De}:{},errors:a.errors}),Pe.shouldFocus&&!Zt&&zD(i,Kt,Se?zt:c.mount),Zt},Ir=(Se,Pe)=>{let De={...l.mount?s:f};if(Pe)De=V8e(Pe.dirtyFields?a.dirtyFields:a.touchedFields,De);return sa(Se)?De:Vi(Se)?Zr(De,Se):Se.map((Zt)=>Zr(De,Zt))},Er=(Se)=>sa(Se)?{...a.errors}:Vi(Se)?Zr(a.errors,Se):Se.map((Pe)=>Zr(a.errors,Pe)),dr=(Se,Pe)=>{let De=Pe||a,Zt=Zr(De.errors,Se);return{invalid:!!Zt,isDirty:!!Zr(De.dirtyFields,Se),error:Zt,isValidating:!!Zr(a.validatingFields,Se),isTouched:!!Zr(De.touchedFields,Se)}},mo=(Se)=>{let Pe=Se?LF(Se):void 0;if(Pe===null||Pe===void 0||Pe.forEach((De)=>Gn(a.errors,De)),Pe)Pe.forEach((De)=>{U.state.next({name:De,errors:a.errors})});else a.errors={},U.state.next({errors:a.errors})},or=(Se,Pe,De)=>{let Zt=(Zr(i,Se,{_f:{}})._f||{}).ref,zt=Zr(a.errors,Se)||{},{ref:Ot,message:fr,type:At,..._t}=zt;na(a.errors,Se,{..._t,...Pe,ref:Zt}),U.state.next({name:Se,errors:a.errors,isValid:!1}),De&&De.shouldFocus&&Zt&&Zt.focus&&Zt.focus()},Yr=(Se,Pe)=>{if(tu(Se)){M++;let{unsubscribe:De}=U.state.subscribe({next:(zt)=>("values"in zt)&&Se(zt.values||yt(void 0,Pe),zt)}),Zt=!1;return{unsubscribe:()=>{if(Zt)return;Zt=!0,M--,De()}}}return yt(Se,Pe,!0)},uo=(Se)=>{var Pe;let De=!!((Pe=Se.formState)===null||Pe===void 0?void 0:Pe.values);if(De)M++;let{unsubscribe:Zt}=U.state.subscribe({next:(Ot)=>{if(OLt(Se.name,Ot.name,Se.exact)&&DLt(Ot,Se.formState||_,Fr,Se.reRenderRoot)){let fr={...s};Se.callback({values:fr,...a,...Ot,defaultValues:f})}}});if(!De)return Zt;let zt=!1;return()=>{if(zt)return;zt=!0,M--,Zt()}},jo=(Se)=>(l.mount=!0,j={...j,...Se.formState},uo({...Se,formState:{...x,...Se.formState}})),ho=(Se,Pe={})=>{for(let De of Se?LF(Se):c.mount){if(c.mount.delete(De),c.array.delete(De),!Pe.keepValue)Gn(i,De),Gn(s,De);!Pe.keepError&&Gn(a.errors,De),!Pe.keepDirty&&Gn(a.dirtyFields,De),!Pe.keepTouched&&Gn(a.touchedFields,De),!Pe.keepIsValidating&&Gn(a.validatingFields,De),!r.shouldUnregister&&!Pe.keepDefaultValue&&Gn(f,De)}M&&U.state.next({values:cn(s)}),U.state.next({...a,...Pe.keepDirty?{}:{isDirty:fe()}}),!Pe.keepIsValid&&X()},Kn=({disabled:Se,name:Pe})=>{if(SZ(Se)&&l.mount||!!Se||c.disabled.has(Pe)){let zt=c.disabled.has(Pe)!==!!Se;Se?c.disabled.add(Pe):c.disabled.delete(Pe),zt&&l.mount&&!l.action&&X()}},un=(Se,Pe={})=>{let De=Zr(i,Se),Zt=SZ(Pe.disabled)||SZ(r.disabled),zt=!c.registerName.has(Se)&&De&&De._f&&!De._f.mount;if(na(i,Se,{...De||{},_f:{...De&&De._f?De._f:{ref:{name:Se}},name:Se,mount:!0,...Pe}}),c.mount.add(Se),De&&!zt)Kn({disabled:SZ(Pe.disabled)?Pe.disabled:r.disabled,name:Se});else Ye(Se,!0,Pe.value);return{...Zt?{disabled:Pe.disabled||r.disabled}:{},...r.progressive?{required:!!Pe.required,min:wD(Pe.min),max:wD(Pe.max),minLength:wD(Pe.minLength),maxLength:wD(Pe.maxLength),pattern:wD(Pe.pattern)}:{},name:Se,onChange:Gt,onBlur:Gt,ref:(Ot)=>{if(Ot){c.registerName.add(Se),un(Se,Pe),c.registerName.delete(Se),De=Zr(i,Se);let fr=sa(Ot.value)?Ot.querySelectorAll?Ot.querySelectorAll("input,select,textarea")[0]||Ot:Ot:Ot,At=ILt(fr),_t=De._f.refs||[];if(At?_t.find((Rr)=>Rr===fr):fr===De._f.ref)return;let qt={...De._f};if(At)qt.refs=[..._t.filter(qW),fr,...Array.isArray(Zr(f,Se))?[{}]:[]],qt.ref={type:fr.type,name:Se};else qt.ref=fr,delete qt.refs;na(i,Se,{_f:qt}),Ye(Se,!1,void 0,fr)}else{if(De=Zr(i,Se,{}),De._f)De._f.mount=!1;(r.shouldUnregister||Pe.shouldUnregister)&&!(gLt(c.array,Se)&&l.action)&&c.unMount.add(Se)}}}},Vo=()=>r.shouldFocusError&&!r.shouldUseNativeValidation&&zD(i,Kt,c.mount),Pn=(Se)=>{if(SZ(Se))U.state.next({disabled:Se}),zD(i,(Pe,De)=>{let Zt=Zr(i,De);if(Zt){if(Pe.disabled=Zt._f.disabled||Se,Array.isArray(Zt._f.refs))Zt._f.refs.forEach((zt)=>{zt.disabled=Zt._f.disabled||Se})}},0,!1)},$a=(Se,Pe)=>async(De)=>{let Zt=void 0,zt=void 0;if(De)De.preventDefault&&De.preventDefault(),De.persist&&De.persist();let Ot=cn(s);if(U.state.next({isSubmitting:!0}),r.resolver){let{errors:fr,values:At}=await ut();J(),a.errors=fr,Ot=cn(At)}else await Dt({fields:i,eventType:TR.SUBMIT});if(c.disabled.size)for(let fr of c.disabled)Gn(Ot,fr);if(Gn(a.errors,B8e),nf(a.errors)){U.state.next({errors:{}});try{Zt=await Se(Ot,De)}catch(fr){zt=fr}}else{if(Pe)await Pe({...a.errors},De);Vo(),setTimeout(Vo)}if(U.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:nf(a.errors)&&!zt,submitCount:a.submitCount+1,errors:a.errors}),zt)throw zt;return Zt},Hi=(Se,Pe={})=>{if(Zr(i,Se)){if(sa(Pe.defaultValue))Jt(Se,cn(Zr(f,Se)));else Jt(Se,Pe.defaultValue),na(f,Se,cn(Pe.defaultValue));if(!Pe.keepTouched)Gn(a.touchedFields,Se);if(!Pe.keepDirty)Gn(a.dirtyFields,Se),a.isDirty=Pe.defaultValue?fe(Se,cn(Zr(f,Se))):fe();if(!Pe.keepError)Gn(a.errors,Se),_.isValid&&X();U.state.next({...a})}},Ke=(Se,Pe={})=>{let De=Se?cn(Se):f,Zt=cn(De),zt=nf(Se),Ot=Zt,fr=i;if(!Pe.keepDefaultValues)f=De;if(!Pe.keepValues){if(Pe.keepDirtyValues){let At=new Set([...c.mount,...W8e(EL(f,s,void 0,fr),a.dirtyFields)]);for(let _t of At){let qt=Zr(a.dirtyFields,_t),Rr=Zr(s,_t),jr=Zr(Ot,_t);if(qt&&!sa(Rr))na(Ot,_t,Rr);else if(!qt&&!sa(jr))Jt(_t,jr)}}else{if(RF&&sa(Se))for(let At of c.mount){let _t=Zr(i,At);if(_t&&_t._f){let qt=Array.isArray(_t._f.refs)?_t._f.refs[0]:_t._f.ref;if(kF(qt)){let Rr=qt.closest("form");if(Rr){Rr.reset();break}}}}if(Pe.keepFieldsRef)for(let At of c.mount)Jt(At,Zr(Ot,At));else i={}}if(r.shouldUnregister){if(s=Pe.keepDefaultValues?cn(f):{},Pe.keepFieldsRef)for(let At of c.mount)na(s,At,Zr(Ot,At))}else s=cn(Ot);U.array.next({values:{...Ot}}),U.state.next({name:void 0,type:void 0,values:{...Ot}})}if(c={mount:Pe.keepDirtyValues?c.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},l.mount=!_.isValid||!!Pe.keepIsValid||!!Pe.keepDirtyValues||!r.shouldUnregister&&!nf(Ot),l.watch=!!r.shouldUnregister,l.keepIsValid=!!Pe.keepIsValid,l.action=!1,l.actionArrayLengths.clear(),!Pe.keepErrors)a.errors={};U.state.next({submitCount:Pe.keepSubmitCount?a.submitCount:0,isDirty:zt?!1:Pe.keepDirty?a.isDirty:Pe.keepValues?fe():!!(Pe.keepDefaultValues&&!Pu(Se,f)),isSubmitted:Pe.keepIsSubmitted?a.isSubmitted:!1,dirtyFields:zt?{}:Pe.keepDirtyValues?Pe.keepDefaultValues&&s?EL(f,s,void 0,fr):a.dirtyFields:Pe.keepDefaultValues&&Se?EL(f,Se,void 0,fr):Pe.keepDirty?a.dirtyFields:{},touchedFields:Pe.keepTouched?a.touchedFields:{},errors:Pe.keepErrors?a.errors:{},isSubmitSuccessful:Pe.keepIsSubmitSuccessful?a.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:f})},Ct=(Se,Pe)=>Ke(tu(Se)?Se(s):Se,{...r.resetOptions,...Pe}),gr=(Se,Pe={})=>{let De=Zr(i,Se),Zt=De&&De._f;if(Zt){let zt=Zt.refs?Zt.refs[0]:Zt.ref;if(zt.focus)setTimeout(()=>{zt.focus(),Pe.shouldSelect&&tu(zt.select)&&zt.select()})}},Fr=(Se)=>{let{name:Pe,type:De,values:Zt,...zt}=Se;a={...a,...zt}};U.state.subscribe({next:Fr});let Ia={control:{register:un,unregister:ho,getFieldState:dr,handleSubmit:$a,setError:or,_subscribe:uo,_runSchema:ut,_updateIsValidating:J,_focusError:Vo,_getWatch:yt,_getDirty:fe,_setValid:X,_setFieldArray:re,_setDisabledField:Kn,_setErrors:ae,_getFieldArray:Wt,_reset:Ke,_resetDefaultValues:()=>tu(r.defaultValues)&&r.defaultValues().then((Se)=>{Ct(Se,r.resetOptions),U.state.next({isLoading:!1})}),_removeUnmounted:Yt,_disableForm:Pn,_subjects:U,_proxyFormState:_,get _fields(){return i},get _formValues(){return s},get _state(){return l},set _state(Se){l=Se},get _defaultValues(){return f},get _names(){return c},set _names(Se){c=Se},get _formState(){return a},get _options(){return r},set _options(Se){r={...r,...Se},v=SF(r.mode),y=SF(r.reValidateMode)}},subscribe:jo,trigger:ur,register:un,handleSubmit:$a,watch:Yr,setValue:Jt,setValues:Or,getValues:Ir,getErrors:Er,reset:Ct,resetField:Hi,resetDefaultValues:(Se,Pe={})=>{if(f=cn(Se),!Pe.keepDirty){let De=EL(f,s,void 0,i);a.dirtyFields=De,a.isDirty=!nf(De)}if(!Pe.keepIsValid)X();U.state.next({...a,defaultValues:f})},clearErrors:mo,unregister:ho,setError:or,setFocus:gr,getFieldState:dr};return{...Ia,formControl:Ia}}function Nl(e={}){let r=b(void 0),a=b(void 0),i=b(e.formControl),[f,s]=u(()=>({...cn(J8e),isLoading:tu(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:tu(e.defaultValues)?void 0:e.defaultValues}));if(!r.current||e.formControl&&i.current!==e.formControl)if(i.current=e.formControl,e.formControl){if(r.current={...e.formControl,formState:f},e.defaultValues&&!tu(e.defaultValues))e.formControl.reset(e.defaultValues,e.resetOptions)}else{let{formControl:g,...M}=YLt(e);r.current={...M,formState:f}}let l=r.current.control;l._options=e;let{resyncIfNeeded:c,snapshot:m}=wLt();return bLt(()=>{let g=()=>({...l._formState,defaultValues:l._defaultValues});c(!0,g,s);let M=l._subscribe({formState:l._proxyFormState,callback:()=>s({...l._formState,defaultValues:l._defaultValues}),reRenderRoot:!0});return s((v)=>({...v,isReady:!0})),l._formState.isReady=!0,()=>{M(),m(!0,g)}},[l,c,m]),h(()=>l._disableForm(e.disabled),[l,e.disabled]),h(()=>{if(e.mode)l._options.mode=e.mode;if(e.reValidateMode)l._options.reValidateMode=e.reValidateMode},[l,e.mode,e.reValidateMode]),h(()=>{if(e.errors)l._setErrors(e.errors),l._focusError()},[l,e.errors]),h(()=>{e.shouldUnregister&&l._subjects.state.next({values:l._getWatch()})},[l,e.shouldUnregister]),h(()=>{if(l._proxyFormState.isDirty){let g=l._getDirty();if(g!==f.isDirty)l._subjects.state.next({isDirty:g})}},[l,f.isDirty]),h(()=>{var g;if(e.values&&!Pu(e.values,a.current)){if(l._reset(e.values,{keepFieldsRef:!0,...l._options.resetOptions}),!((g=l._options.resetOptions)===null||g===void 0?void 0:g.keepIsValid))l._setValid();a.current=e.values,s((M)=>({...M}))}else l._resetDefaultValues()},[l,e.values]),h(()=>{if(!l._state.mount)l._setValid(),l._state.mount=!0;if(l._state.watch)l._state.watch=!1,l._subjects.state.next({...l._formState});l._removeUnmounted()}),r.current.formState=D(()=>yLt(f,l),[l,f]),r.current}var $8e=(e,r,a)=>{if(e&&"reportValidity"in e){let i=Zr(a,r);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},TF=(e,r)=>{for(let a in r.fields){let i=r.fields[a];i&&i.ref&&"reportValidity"in i.ref?$8e(i.ref,a,e):i&&i.refs&&i.refs.forEach((f)=>$8e(f,a,e))}},JW=(e,r)=>{r.shouldUseNativeValidation&&TF(e,r);let a={};for(let i in e){let f=Zr(r.fields,i),s=Object.assign(e[i]||{},{ref:f&&f.refs?f.refs[0]:f&&f.ref});if(ULt(r.names||Object.keys(e),i)){let l=Object.assign({},Zr(a,i));na(l,"root",s),na(a,i,l)}else na(a,i,s)}return a},ULt=(e,r)=>{let a=exe(r).replace(/[.*+?^${}()|\\]/g,"\\$&");return e.some((i)=>exe(i).match(`^${a}\\.\\d+`))};function exe(e){return e.replace(/\[(\d+)]/g,".$1").replace(/[[\]]/g,"")}function $W(){return $W=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var i in a)({}).hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e},$W.apply(null,arguments)}function txe(e,r){try{var a=e()}catch(i){return r(i)}return a&&a.then?a.then(void 0,r):a}function qLt(e,r){for(var a=Object.create(null);e.length;){var i=e[0],{code:f,message:s}=i,l=i.path.join(".");if(!a[l])if("unionErrors"in i){var c,m,g=i.unionErrors.reduce(function(y,x){return x.errors.length<y.errors.length?x:y}).errors[0];a[l]={message:(c=g==null?void 0:g.message)!=null?c:s,type:(m=g==null?void 0:g.code)!=null?m:f}}else a[l]={message:s,type:f};if("unionErrors"in i&&i.unionErrors.forEach(function(y){return y.errors.forEach(function(x){return e.push(x)})}),r){var M=a[l].types,v=M&&M[i.code];a[l]=PF(l,r,a,f,v?[].concat(v,i.message):i.message)}e.shift()}return a}function VLt(e,r){for(var a=Object.create(null),i=function(){var f=e[0],{code:s,message:l}=f,c=f.path.join(".");if(!a[c])if(f.code==="invalid_union"&&f.errors.length>0){var m,g,M=f.errors.reduce(function(x,_){return _.length<x.length?_:x})[0];a[c]={message:(m=M==null?void 0:M.message)!=null?m:l,type:(g=M==null?void 0:M.code)!=null?g:s}}else a[c]={message:l,type:s};if(f.code==="invalid_union"&&f.errors.forEach(function(x){return x.forEach(function(_){return e.push($W({},_,{path:[].concat(f.path,_.path)}))})}),r){var v=a[c].types,y=v&&v[f.code];a[c]=PF(c,r,a,s,y?[].concat(y,f.message):f.message)}e.shift()};e.length;)i();return a}function Dl(e,r,a){if(a===void 0&&(a={}),function(i){return"_zod"in i&&typeof i._zod=="object"}(e))return function(i,f,s){try{return Promise.resolve(txe(function(){function l(m){return s.shouldUseNativeValidation&&TF({},s),{errors:{},values:a.raw?Object.assign({},i):m}}var c=e;return a.mode==="sync"?l(c.parse(i,r)):Promise.resolve(c.parseAsync(i,r)).then(l)},function(l){if(function(c){var m;return!(c==null||(m=c._zod)==null||(m=m.traits)==null||!m.has("$ZodError"))}(l))return{values:{},errors:JW(VLt(l.issues,!s.shouldUseNativeValidation&&s.criteriaMode==="all"),s)};throw l}))}catch(l){return Promise.reject(l)}};if(function(i){return"_def"in i&&typeof i._def=="object"}(e))return function(i,f,s){try{return Promise.resolve(txe(function(){return Promise.resolve(e[a.mode==="sync"?"parse":"parseAsync"](i,r)).then(function(l){return s.shouldUseNativeValidation&&TF({},s),{errors:{},values:a.raw?Object.assign({},i):l}})},function(l){if(function(c){return Array.isArray(c==null?void 0:c.issues)}(l))return{values:{},errors:JW(qLt(l.errors,!s.shouldUseNativeValidation&&s.criteriaMode==="all"),s)};throw l}))}catch(l){return Promise.reject(l)}};throw Error("Invalid input: not a Zod schema")}S();var HLt=R({email:p().email(jfe()),password:p().min(3,ap()),inviteCode:p().optional()});function WLt(){let e=Me(),a=eG.useSearch().inviteCode,[i,f]=u(null),[s,l]=u(!1),[c,m]=u(()=>n()==="zh"?"zh":"en"),g=(N)=>{m(N),Mi(N)},{data:M}=L({queryKey:["invite",a],queryFn:async()=>{let N=await A.api.invite[":code"].$get({param:{code:a}});if(!N.ok)throw Error("Failed to fetch invite info");return await N.json()},enabled:!!a}),{data:v,isLoading:y}=L({queryKey:["/signup-info"],queryFn:async()=>{let N=await A.api["signup-info"].$get();if(!N.ok)throw Error("Failed to fetch signup info");return await N.json()}}),x=cf((N)=>N.setUser),_=Nl({resolver:Dl(HLt),defaultValues:{inviteCode:a}}),j=async(N)=>{l(!0),f(null);let{data:G,error:X}=await ffe.email({email:N.email,password:N.password,name:N.email,inviteCode:N.inviteCode,locale:c});if(l(!1),X){f(X.message||$lt());return}if(G)x(G.user),e({to:"/"})};if(y)return t("div",{className:"flex items-center justify-center min-h-screen bg-zinc-100/80 dark:bg-black",children:o("div",{className:"relative flex flex-col items-center",children:[t(fM,{className:"h-16 w-16 animate-pulse mb-4 text-rose-500 shadow-xl rounded-2xl"}),t(F,{className:"h-6 w-6 animate-spin text-rose-500/70"})]})});let U=v?.initialized===!1;if(!U&&!a)return o("div",{className:"min-h-screen w-full flex items-center justify-center p-4 md:p-8 bg-zinc-100/80 dark:bg-black font-sans overflow-hidden relative",children:[t("div",{className:"bg-rose-500/10 dark:bg-rose-600/5 w-[500px] h-[500px] rounded-full blur-[120px] absolute top-[-10%] left-[-10%] animate-drift-slow"}),t("div",{className:"bg-orange-500/10 dark:bg-orange-600/5 w-[500px] h-[500px] rounded-full blur-[120px] absolute bottom-[-10%] right-[-10%] animate-drift-medium"}),o(Et,{className:"w-full max-w-md relative z-10 border border-zinc-200 dark:border-zinc-850 shadow-2xl bg-white dark:bg-zinc-900 rounded-3xl overflow-hidden",children:[o(kt,{className:"text-center pt-8 pb-4",children:[t("div",{className:"flex justify-center mb-4",children:t(fM,{className:"h-16 w-16 shadow-lg shadow-rose-500/10 rounded-2xl"})}),t(Rt,{className:"text-2xl font-bold tracking-tight bg-gradient-to-r from-rose-500 to-orange-500 bg-clip-text text-transparent",children:Snt()}),t(Ut,{className:"mt-2 text-zinc-600 dark:text-zinc-400",children:Cnt()})]}),t(L8e,{className:"flex flex-col gap-4 pb-8 text-center text-sm border-t border-zinc-200/30 dark:border-zinc-800/30 pt-6",children:o("p",{className:"text-zinc-500 dark:text-zinc-400",children:[Rfe()," ",o("a",{href:"/login",className:"font-semibold text-rose-500 hover:text-rose-600 dark:text-rose-400 dark:hover:text-rose-300 transition-colors hover:underline inline-flex items-center gap-1",children:[oHe()," ",t(Xn,{className:"w-3.5 h-3.5"})]})]})})]})]});return o(Rl,{children:[o("div",{className:"mb-8",children:[t("h1",{className:"text-2xl font-bold tracking-tight text-zinc-900 dark:text-zinc-50",children:H5e()}),t("p",{className:"text-zinc-500 dark:text-zinc-400 text-sm mt-1 mb-4",children:rct()}),U&&o("div",{className:"flex items-start gap-3 p-3 bg-amber-500/10 border border-amber-500/20 text-amber-800 dark:text-amber-300 rounded-2xl text-xs leading-relaxed font-medium",children:[t("span",{children:"\uD83C\uDF89"}),t("span",{children:UUe()})]}),M&&!("error"in M)&&o("div",{className:"flex items-start gap-3 p-3 bg-rose-500/10 border border-rose-500/20 text-rose-800 dark:text-rose-300 rounded-2xl text-xs leading-relaxed font-medium mt-3",children:[t("span",{children:"\uD83D\uDC4B"}),t("span",{children:$9e({inviterName:M.inviterName,targetName:M.projectName||M.teamName,role:M.role})})]})]}),i&&t("div",{className:"mb-6 p-3 bg-red-500/10 border border-red-500/20 text-red-600 dark:text-red-400 rounded-xl text-sm text-center font-medium",children:i}),o("form",{onSubmit:_.handleSubmit(j),className:"space-y-5",children:[o("div",{className:"space-y-2",children:[t(Q,{htmlFor:"email",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:Afe()}),o("div",{className:"relative group",children:[t(Cz,{className:"absolute left-3.5 top-1/2 -translate-y-1/2 w-4 h-4 text-zinc-400 dark:text-zinc-600 transition-colors group-focus-within:text-rose-500"}),t(H,{id:"email",..._.register("email"),placeholder:"you@example.com",type:"email",className:"pl-10.5 h-11 border-zinc-200 dark:border-zinc-800 focus-visible:ring-rose-500/50 focus-visible:border-rose-500 rounded-xl transition-all shadow-sm"})]}),_.formState.errors.email&&t("p",{className:"text-red-500 text-xs font-medium",children:_.formState.errors.email.message})]}),o("div",{className:"space-y-2",children:[t(Q,{htmlFor:"password",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:sp()}),o("div",{className:"relative group",children:[t(nn,{className:"absolute left-3.5 top-1/2 -translate-y-1/2 w-4 h-4 text-zinc-400 dark:text-zinc-600 transition-colors group-focus-within:text-rose-500"}),t(H,{id:"password",type:"password",..._.register("password"),placeholder:Get(),className:"pl-10.5 h-11 border-zinc-200 dark:border-zinc-800 focus-visible:ring-rose-500/50 focus-visible:border-rose-500 rounded-xl transition-all shadow-sm"})]}),_.formState.errors.password&&t("p",{className:"text-red-500 text-xs font-medium",children:_.formState.errors.password.message})]}),t(E,{type:"submit",className:"w-full h-11 bg-gradient-to-r from-rose-500 to-orange-500 hover:from-rose-600 hover:to-orange-600 text-white font-semibold rounded-xl shadow-md shadow-rose-500/10 hover:shadow-rose-500/20 active:scale-[0.98] transition-all flex items-center justify-center gap-2 border-0",disabled:s,children:s?o(Z,{children:[t(F,{className:"h-4 w-4 animate-spin"}),R4e()]}):o(Z,{children:[t(aT,{className:"w-4 h-4"}),qfe()]})})]}),o("div",{className:"mt-12 pt-10 border-t border-zinc-200/30 dark:border-zinc-800/30 text-center text-sm flex flex justify-between gap-4",children:[o("div",{children:[o("span",{className:"text-zinc-500 dark:text-zinc-400",children:[Rfe()," "]}),o("a",{href:"/login",className:"font-semibold text-rose-500 hover:text-rose-600 dark:text-rose-400 dark:hover:text-rose-300 transition-colors hover:underline inline-flex items-center gap-0.5",children:[Nfe()," ",t(Xn,{className:"w-3.5 h-3.5"})]})]}),o("div",{className:"flex items-center gap-2 text-xs text-zinc-400 dark:text-zinc-500",children:[t("button",{type:"button",onClick:()=>g("en"),className:`cursor-pointer hover:text-zinc-800 dark:hover:text-zinc-200 transition-colors ${c==="en"?"font-bold text-rose-500 dark:text-rose-400":""}`,children:"English"}),t("span",{className:"text-zinc-300 dark:text-zinc-850",children:"/"}),t("button",{type:"button",onClick:()=>g("zh"),className:`cursor-pointer hover:text-zinc-800 dark:hover:text-zinc-200 transition-colors ${c==="zh"?"font-bold text-rose-500 dark:text-rose-400":""}`,children:"中文"})]})]})]})}var eG=Wr("/signup")({component:WLt,validateSearch:(e)=>({inviteCode:e.inviteCode||void 0}),beforeLoad:()=>{if(cf.getState().user)throw Zl({to:"/"})}});var GLt=R({token:p().catch("")}),rxe=Wr("/reset-password")({validateSearch:(e)=>GLt.parse(e),beforeLoad:()=>{if(cf.getState().user)throw Zl({to:"/"})}});S();var KLt=R({email:p().email(jfe()),password:p().min(1,Uet())});function XLt(){let e=Me(),r=cf((v)=>v.setUser),[a,i]=u(null),[f,s]=u(!1),{data:l,isLoading:c}=L({queryKey:["/signup-info"],queryFn:async()=>{let v=await A.api["signup-info"].$get();if(!v.ok)throw Error("Failed to fetch signup info");return await v.json()}});h(()=>{if(l&&!l.initialized)e({to:"/signup",search:{inviteCode:""}})},[l,e]);let m=l?.demoMode===!0,g=Nl({resolver:Dl(KLt)}),M=async(v)=>{s(!0),i(null);let{data:y,error:x}=await ife.email({email:v.email,password:v.password});if(s(!1),x){i(x.message||q9e());return}if(y)r(y.user),e({to:"/"})};if(c)return t("div",{className:"flex items-center justify-center min-h-screen bg-zinc-100/80 dark:bg-black",children:o("div",{className:"relative flex flex-col items-center",children:[t(fM,{className:"h-16 w-16 animate-pulse mb-4 text-rose-500 shadow-xl rounded-2xl"}),t(F,{className:"h-6 w-6 animate-spin text-rose-500/70"})]})});return o(Rl,{children:[o("div",{className:"mb-8",children:[t("h1",{className:"text-2xl font-bold tracking-tight text-zinc-900 dark:text-zinc-50",children:mht()}),t("p",{className:"text-zinc-500 dark:text-zinc-400 text-sm mt-1",children:iHe()})]}),m&&t("div",{className:"mb-6 p-4 bg-blue-500/10 border border-blue-500/20 text-blue-700 dark:text-blue-400 rounded-xl text-sm leading-relaxed",children:o("p",{children:[t("strong",{children:L3e()})," ",I3e()]})}),a&&t("div",{className:"mb-6 p-3 bg-red-500/10 border border-red-500/20 text-red-600 dark:text-red-400 rounded-xl text-sm text-center font-medium",children:a}),o("form",{onSubmit:g.handleSubmit(M),className:"space-y-5",children:[o("div",{className:"space-y-2",children:[t(Q,{htmlFor:"email",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:Afe()}),o("div",{className:"relative group",children:[t(Cz,{className:"absolute left-3.5 top-1/2 -translate-y-1/2 w-4 h-4 text-zinc-400 dark:text-zinc-600 transition-colors group-focus-within:text-rose-500"}),t(H,{id:"email",...g.register("email"),placeholder:"you@example.com",type:"email",className:"pl-10.5 h-11 border-zinc-200 dark:border-zinc-800 focus-visible:ring-rose-500/50 focus-visible:border-rose-500 rounded-xl transition-all shadow-sm"})]}),g.formState.errors.email&&t("p",{className:"text-red-500 text-xs font-medium",children:g.formState.errors.email.message})]}),o("div",{className:"space-y-2",children:[t(Q,{htmlFor:"password",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:sp()}),o("div",{className:"relative group",children:[t(nn,{className:"absolute left-3.5 top-1/2 -translate-y-1/2 w-4 h-4 text-zinc-400 dark:text-zinc-600 transition-colors group-focus-within:text-rose-500"}),t(H,{id:"password",type:"password",...g.register("password"),placeholder:Qet(),className:"pl-10.5 h-11 border-zinc-200 dark:border-zinc-800 focus-visible:ring-rose-500/50 focus-visible:border-rose-500 rounded-xl transition-all shadow-sm"})]}),g.formState.errors.password&&t("p",{className:"text-red-500 text-xs font-medium",children:g.formState.errors.password.message})]}),t(E,{type:"submit",className:"w-full h-11 bg-gradient-to-r from-rose-500 to-orange-500 hover:from-rose-600 hover:to-orange-600 text-white font-semibold rounded-xl shadow-md shadow-rose-500/10 hover:shadow-rose-500/20 active:scale-[0.98] transition-all flex items-center justify-center gap-2 border-0",disabled:f,children:f?o(Z,{children:[t(F,{className:"h-4 w-4 animate-spin"}),JVe()]}):o(Z,{children:[t(oT,{className:"w-4 h-4"}),Nfe()]})})]}),o("div",{className:"mt-8 pt-6 border-t border-zinc-200/30 dark:border-zinc-800/30 text-center text-sm",children:[t("span",{className:"text-zinc-500 dark:text-zinc-400",children:dXe()}),o("a",{href:"/signup",className:"font-semibold text-rose-500 hover:text-rose-600 dark:text-rose-400 dark:hover:text-rose-300 transition-colors hover:underline inline-flex items-center gap-0.5",children:[qfe()," ",t(Xn,{className:"w-3.5 h-3.5"})]})]})]})}var oxe=Wr("/login")({component:XLt,beforeLoad:()=>{if(cf.getState().user)throw Zl({to:"/"})}});S();function axe(){let e=Me(),{data:r,isLoading:a}=L({queryKey:["teams"],queryFn:async()=>{let s=await A.api.teams.$get({query:{}});if(!s.ok)throw Error("Failed to get teams");return await s.json()}}),i=r?.data,f=i?.length===1?i[0].id:null;if(h(()=>{if(f)e({to:`/teams/${f}`})},[f,e]),a)return t("div",{children:gd()});if(f)return null;return t(ue,{open:!0,children:o(ie,{children:[o(me,{children:[t(le,{children:Yft()}),t(Tt,{children:jst()})]}),t("div",{className:"space-y-2",children:i?.map((s)=>t("div",{className:"p-2 border rounded-md cursor-pointer hover:bg-gray-100",onClick:()=>e({to:`/teams/${s.id}`}),children:s.name},s.id))})]})})}S();function QLt(){let e=cf((a)=>a.user),r=Me();if(h(()=>{if(!e)r({to:"/login"})},[e,r]),!e)return null;return t(axe,{})}var nxe=Wr("/")({component:QLt});function JLt(){return t(CM,{})}var ixe=Wr("/share/$shareId")({component:JLt});var fxe=Wr("/teams/$teamId/")({});var sxe=Wr("/share/$shareId/")({});function de({className:e,...r}){return t("div",{"data-slot":"skeleton",className:C("animate-pulse rounded-md bg-accent",e),...r})}function wt(){return o("div",{className:"flex h-screen flex-col bg-background min-h-0",children:[o("div",{className:"flex h-14 items-center justify-between border-b px-6 shrink-0",children:[o("div",{className:"flex items-center gap-2",children:[t(de,{className:"h-4 w-24"}),t("span",{className:"text-muted-foreground",children:"/"}),t(de,{className:"h-4 w-32"})]}),o("div",{className:"flex items-center gap-2",children:[t(de,{className:"h-8 w-8 rounded-md"}),t(de,{className:"h-8 w-20 rounded-md"})]})]}),o("div",{className:"flex flex-1 overflow-hidden",children:[o("div",{className:"w-[240px] border-r p-4 space-y-4 hidden md:block shrink-0",children:[o("div",{className:"flex items-center gap-2",children:[t(de,{className:"h-4 w-4 rounded"}),t(de,{className:"h-4 w-24"})]}),o("div",{className:"pl-4 space-y-3",children:[o("div",{className:"flex items-center gap-2",children:[t(de,{className:"h-3 w-3 rounded"}),t(de,{className:"h-3 w-28"})]}),o("div",{className:"flex items-center gap-2",children:[t(de,{className:"h-3 w-3 rounded"}),t(de,{className:"h-3 w-20"})]}),o("div",{className:"flex items-center gap-2",children:[t(de,{className:"h-3 w-3 rounded"}),t(de,{className:"h-3 w-24"})]})]})]}),o("div",{className:"flex-1 p-6 space-y-6 overflow-y-auto",children:[o("div",{className:"flex items-center justify-between border-b pb-4",children:[o("div",{className:"flex items-center gap-4",children:[t(de,{className:"h-5 w-40"}),t(de,{className:"h-4 w-20"})]}),o("div",{className:"flex items-center gap-2",children:[t(de,{className:"h-8 w-8 rounded"}),t(de,{className:"h-8 w-8 rounded"}),t(de,{className:"h-8 w-32 rounded"})]})]}),o("div",{className:"space-y-4",children:[t("div",{className:"flex items-center gap-2",children:t(de,{className:"h-4 w-24"})}),t("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5",children:Array.from({length:10}).map((e,r)=>o("div",{className:"flex flex-col rounded-lg border bg-card p-3 space-y-3",children:[t(de,{className:"aspect-square w-full rounded-md"}),o("div",{className:"space-y-2",children:[t(de,{className:"h-4 w-3/4"}),o("div",{className:"flex justify-between items-center",children:[t(de,{className:"h-3 w-1/4"}),t(de,{className:"h-3 w-1/3"})]})]})]},r))})]})]})]})]})}function uA(){return o("div",{className:"h-screen flex flex-col bg-background",children:[o("div",{className:"flex h-14 items-center justify-between border-b px-6 shrink-0",children:[o("div",{className:"flex items-center gap-2",children:[t(de,{className:"h-4 w-16"}),t("span",{className:"text-muted-foreground",children:"/"}),t(de,{className:"h-4 w-28"}),t("span",{className:"text-muted-foreground",children:"/"}),t(de,{className:"h-4 w-32"})]}),t("div",{className:"flex items-center gap-2",children:t(de,{className:"h-8 w-20 rounded"})})]}),o("div",{className:"flex flex-1 overflow-hidden",children:[o("div",{className:"w-[280px] border-r p-4 flex flex-col gap-4 shrink-0 hidden md:flex",children:[t(de,{className:"h-5 w-24"}),t("div",{className:"space-y-3 flex-1 overflow-y-auto",children:Array.from({length:4}).map((e,r)=>o("div",{className:"flex gap-3 p-2 rounded border",children:[t(de,{className:"h-12 w-12 rounded bg-muted shrink-0"}),o("div",{className:"space-y-2 flex-1",children:[t(de,{className:"h-3 w-2/3"}),t(de,{className:"h-2 w-1/2"})]})]},r))})]}),o("div",{className:"flex-1 bg-muted/20 p-6 flex flex-col justify-between relative min-w-0",children:[t("div",{className:"flex-1 flex items-center justify-center",children:t(de,{className:"w-full max-w-4xl aspect-video rounded-lg shadow-lg"})}),o("div",{className:"mt-4 flex items-center justify-between shrink-0",children:[o("div",{className:"flex items-center gap-4",children:[t(de,{className:"h-8 w-8 rounded-full"}),t(de,{className:"h-4 w-32"})]}),t(de,{className:"h-4 w-24"})]})]}),o("div",{className:"w-[360px] border-l p-4 flex flex-col gap-6 shrink-0 hidden lg:flex bg-card",children:[o("div",{className:"space-y-4",children:[t(de,{className:"h-5 w-32"}),t("div",{className:"space-y-3",children:Array.from({length:3}).map((e,r)=>o("div",{className:"flex justify-between items-center py-1 border-b",children:[t(de,{className:"h-3 w-20"}),t(de,{className:"h-3 w-32"})]},r))})]}),o("div",{className:"flex-1 flex flex-col gap-4",children:[t(de,{className:"h-5 w-24"}),t("div",{className:"space-y-3 flex-1 overflow-y-auto",children:Array.from({length:3}).map((e,r)=>o("div",{className:"flex gap-3 p-3 rounded-lg border bg-muted/10",children:[t(de,{className:"h-8 w-8 rounded-full shrink-0"}),o("div",{className:"space-y-2 flex-1",children:[o("div",{className:"flex justify-between",children:[t(de,{className:"h-3 w-24"}),t(de,{className:"h-2 w-12"})]}),t(de,{className:"h-3 w-full"}),t(de,{className:"h-3 w-5/6"})]})]},r))})]})]})]})]})}function dA({displayStyle:e="card"}){if(e==="list")return t("div",{className:"p-4 space-y-2","data-testid":"file-browser-loading-skeleton",children:Array.from({length:8}).map((r,a)=>o("div",{className:"flex items-center gap-4 py-2 border-b border-border/40",children:[t(de,{className:"h-4 w-4 rounded"}),t(de,{className:"h-4 w-4 rounded"}),t(de,{className:"h-4 w-48"}),o("div",{className:"ml-auto flex items-center gap-8",children:[t(de,{className:"h-3 w-16"}),t(de,{className:"h-3 w-24"})]})]},a))});return t("div",{className:"p-4 space-y-4","data-testid":"file-browser-loading-skeleton",children:t("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5",children:Array.from({length:10}).map((r,a)=>o("div",{className:"flex flex-col rounded-lg border bg-card p-3 space-y-3",children:[t(de,{className:"aspect-square w-full rounded-md"}),o("div",{className:"space-y-2",children:[t(de,{className:"h-4 w-3/4"}),o("div",{className:"flex justify-between items-center",children:[t(de,{className:"h-3 w-1/4"}),t(de,{className:"h-3 w-1/3"})]})]})]},a))})})}function fA(){return t("div",{className:"p-3 space-y-3 max-w-lg mx-auto w-full","data-testid":"mobile-file-browser-loading-skeleton",children:Array.from({length:6}).map((e,r)=>o("div",{className:"flex items-center gap-3 p-3 rounded-lg border bg-card",children:[t(de,{className:"h-10 w-10 rounded-md shrink-0"}),o("div",{className:"space-y-2 flex-1",children:[t(de,{className:"h-4 w-3/4"}),t(de,{className:"h-3 w-1/3"})]})]},r))})}var $p=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("failed to fetch project");return await r.json()}}),lxe=Wr("/projects/$projectId/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData($p(r)),pendingComponent:()=>t(wt,{})});var cxe=Wr("/teams/$teamId/settings")({});var $Lt=R({taskId:p().optional()}),uxe=Wr("/teams/$teamId/kanban")({validateSearch:(e)=>$Lt.parse(e)});var dxe=Wr("/teams/$teamId/dashboard")({});var Gp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),Zxe=Wr("/projects/$projectId/recents")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Gp(r)),pendingComponent:()=>t(wt,{})});var Vp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),pxe=Wr("/projects/$projectId/recently-deleted")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Vp(r)),pendingComponent:()=>t(wt,{})});var Qp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("failed to fetch project");return await r.json()}}),mxe=Wr("/projects/$projectId/agentsmd")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Qp(r)),pendingComponent:()=>t(wt,{})});var Kp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),hxe=Wr("/projects/$projectId/shares/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Kp(r)),pendingComponent:()=>t(wt,{})});var Wp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),gxe=Wr("/projects/$projectId/collections/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Wp(r)),pendingComponent:()=>t(wt,{})});var Mxe=Wr("/share/$shareId/folders/$folderId")({});var vxe=Wr("/share/$shareId/files/$fileId")({validateSearch:(e)=>({start:e.start?Number(e.start):void 0,version:e.version||void 0,compare:e.compare===!0||e.compare==="true"||void 0,cmpLeft:e.cmpLeft||void 0,cmpRight:e.cmpRight||void 0,cmpActive:e.cmpActive==="right"?"right":void 0})});var Yp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),xxe=Wr("/projects/$projectId/shares/$shareId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Yp(r)),pendingComponent:()=>t(wt,{})});var Jp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),yxe=Wr("/projects/$projectId/folders/$folderId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Jp(r)),pendingComponent:()=>t(wt,{})});var bxe=Wr("/projects/$projectId/files/$fileId")({validateSearch:(e)=>({version:e.version||void 0,start:e.start?Number(e.start):void 0,compare:e.compare===!0||e.compare==="true"||void 0,cmpLeft:e.cmpLeft||void 0,cmpRight:e.cmpRight||void 0,cmpActive:e.cmpActive==="right"?"right":void 0})});var Xp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),pA=(e)=>({queryKey:["collections",e],queryFn:async()=>{let r=await A.api.collections[":collectionId"].$get({param:{collectionId:e}});if(!r.ok)throw Error("Failed to fetch collection");return await r.json()}}),_xe=Wr("/projects/$projectId/collections/$collectionId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Xp(r)),pendingComponent:()=>t("div",{children:kh()})});var em=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),wxe=Wr("/projects/$projectId/folders/$folderId_/agentsmd")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(em(r)),pendingComponent:()=>t(wt,{})});var ekt=eG.update({id:"/signup",path:"/signup",getParentRoute:()=>Ln}),tkt=rxe.update({id:"/reset-password",path:"/reset-password",getParentRoute:()=>Ln}).lazy(()=>import("./chunk-axmd242s.js").then((e)=>e.Route)),rkt=oxe.update({id:"/login",path:"/login",getParentRoute:()=>Ln}),okt=nxe.update({id:"/",path:"/",getParentRoute:()=>Ln}),AF=ixe.update({id:"/share/$shareId",path:"/share/$shareId",getParentRoute:()=>Ln}),akt=fxe.update({id:"/teams/$teamId/",path:"/teams/$teamId/",getParentRoute:()=>Ln}).lazy(()=>import("./chunk-y1b3ck7m.js").then((e)=>e.Route)),nkt=sxe.update({id:"/",path:"/",getParentRoute:()=>AF}).lazy(()=>import("./chunk-hacyjx1s.js").then((e)=>e.Route)),ikt=lxe.update({id:"/projects/$projectId/",path:"/projects/$projectId/",getParentRoute:()=>Ln}).lazy(()=>import("./chunk-wmjp8dcm.js").then((e)=>e.Route)),fkt=cxe.update({id:"/teams/$teamId/settings",path:"/teams/$teamId/settings",getParentRoute:()=>Ln}).lazy(()=>import("./chunk-886pnknh.js").then((e)=>e.Route)),skt=uxe.update({id:"/teams/$teamId/kanban",path:"/teams/$teamId/kanban",getParentRoute:()=>Ln}).lazy(()=>import("./chunk-kk42xhgz.js").then((e)=>e.Route)),lkt=dxe.update({id:"/teams/$teamId/dashboard",path:"/teams/$teamId/dashboard",getParentRoute:()=>Ln}).lazy(()=>import("./chunk-988casfy.js").then((e)=>e.Route)),ckt=Zxe.update({id:"/projects/$projectId/recents",path:"/projects/$projectId/recents",getParentRoute:()=>Ln}).lazy(()=>import("./chunk-nqym3zbs.js").then((e)=>e.Route)),ukt=pxe.update({id:"/projects/$projectId/recently-deleted",path:"/projects/$projectId/recently-deleted",getParentRoute:()=>Ln}).lazy(()=>import("./chunk-jzbrt2vk.js").then((e)=>e.Route)),dkt=mxe.update({id:"/projects/$projectId/agentsmd",path:"/projects/$projectId/agentsmd",getParentRoute:()=>Ln}).lazy(()=>import("./chunk-bvdvp192.js").then((e)=>e.Route)),Zkt=hxe.update({id:"/projects/$projectId/shares/",path:"/projects/$projectId/shares/",getParentRoute:()=>Ln}).lazy(()=>import("./chunk-5kvc1gp2.js").then((e)=>e.Route)),pkt=gxe.update({id:"/projects/$projectId/collections/",path:"/projects/$projectId/collections/",getParentRoute:()=>Ln}).lazy(()=>import("./chunk-7nvk7waw.js").then((e)=>e.Route)),mkt=Mxe.update({id:"/folders/$folderId",path:"/folders/$folderId",getParentRoute:()=>AF}).lazy(()=>import("./chunk-wy8dkyxj.js").then((e)=>e.Route)),hkt=vxe.update({id:"/files/$fileId",path:"/files/$fileId",getParentRoute:()=>AF}).lazy(()=>import("./chunk-0c67210c.js").then((e)=>e.Route)),gkt=xxe.update({id:"/projects/$projectId/shares/$shareId",path:"/projects/$projectId/shares/$shareId",getParentRoute:()=>Ln}).lazy(()=>import("./chunk-908pypkr.js").then((e)=>e.Route)),Mkt=yxe.update({id:"/projects/$projectId/folders/$folderId",path:"/projects/$projectId/folders/$folderId",getParentRoute:()=>Ln}).lazy(()=>import("./chunk-3vmapyk9.js").then((e)=>e.Route)),vkt=bxe.update({id:"/projects/$projectId/files/$fileId",path:"/projects/$projectId/files/$fileId",getParentRoute:()=>Ln}).lazy(()=>import("./chunk-dkx3pmdz.js").then((e)=>e.Route)),xkt=_xe.update({id:"/projects/$projectId/collections/$collectionId",path:"/projects/$projectId/collections/$collectionId",getParentRoute:()=>Ln}).lazy(()=>import("./chunk-he5nvmqw.js").then((e)=>e.Route)),ykt=wxe.update({id:"/projects/$projectId/folders/$folderId_/agentsmd",path:"/projects/$projectId/folders/$folderId/agentsmd",getParentRoute:()=>Ln}).lazy(()=>import("./chunk-hyr1vtfp.js").then((e)=>e.Route)),bkt={ShareShareIdIndexRoute:nkt,ShareShareIdFilesFileIdRoute:hkt,ShareShareIdFoldersFolderIdRoute:mkt},_kt=AF._addFileChildren(bkt),wkt={IndexRoute:okt,LoginRoute:rkt,ResetPasswordRoute:tkt,SignupRoute:ekt,ShareShareIdRoute:_kt,ProjectsProjectIdAgentsmdRoute:dkt,ProjectsProjectIdRecentlyDeletedRoute:ukt,ProjectsProjectIdRecentsRoute:ckt,TeamsTeamIdDashboardRoute:lkt,TeamsTeamIdKanbanRoute:skt,TeamsTeamIdSettingsRoute:fkt,ProjectsProjectIdIndexRoute:ikt,TeamsTeamIdIndexRoute:akt,ProjectsProjectIdCollectionsCollectionIdRoute:xkt,ProjectsProjectIdFilesFileIdRoute:vkt,ProjectsProjectIdFoldersFolderIdRoute:Mkt,ProjectsProjectIdSharesShareIdRoute:gkt,ProjectsProjectIdCollectionsIndexRoute:pkt,ProjectsProjectIdSharesIndexRoute:Zkt,ProjectsProjectIdFoldersFolderIdAgentsmdRoute:ykt},zxe=Ln._addFileChildren(wkt)._addFileTypes();if(typeof window<"u"){let e=["ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications."];window.addEventListener("error",(r)=>{if(e.includes(r.message))r.stopImmediatePropagation()})}var Sxe=new o3,zkt=O3({routeTree:zxe,context:{queryClient:Sxe}});Iee(document.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