@shumai-one/shumai 0.4.2 → 0.4.3

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 (250) hide show
  1. package/bin/{chunk-adekdctx.css → chunk-0ccg9ddn.css} +1 -1
  2. package/bin/chunk-0e4wawpq.js +2 -0
  3. package/bin/chunk-185qefn1.js +2 -0
  4. package/bin/chunk-1kw2mbqb.js +1 -0
  5. package/bin/chunk-1wm6ptdx.js +1 -0
  6. package/bin/chunk-1yacmegc.js +2 -0
  7. package/bin/chunk-2291ehh5.js +3 -0
  8. package/bin/chunk-2520aq8j.js +2 -0
  9. package/bin/chunk-29zdp63z.js +3 -0
  10. package/bin/chunk-2yxj593j.js +2 -0
  11. package/bin/chunk-32pcmaqm.js +3 -0
  12. package/bin/chunk-3a13dcs1.js +1 -0
  13. package/bin/chunk-3cyrcgm5.js +13 -0
  14. package/bin/chunk-3swpwb9v.js +1 -0
  15. package/bin/chunk-3wmcx2bv.js +2 -0
  16. package/bin/chunk-4r81ghg8.js +2 -0
  17. package/bin/chunk-4v5n0ayb.js +2 -0
  18. package/bin/chunk-5a8nt4me.js +1 -0
  19. package/bin/chunk-66hsjnw6.js +2 -0
  20. package/bin/chunk-6bhn1p8v.js +211 -0
  21. package/bin/chunk-6gg1ymer.js +2 -0
  22. package/bin/chunk-70c3xrgd.js +2 -0
  23. package/bin/chunk-7esm0hqb.js +2 -0
  24. package/bin/chunk-7fst8kdw.js +12 -0
  25. package/bin/chunk-83e12sjg.js +3 -0
  26. package/bin/chunk-87zxtf66.js +3 -0
  27. package/bin/chunk-8fmy5jtp.js +2 -0
  28. package/bin/chunk-8zqgaxvv.js +1 -0
  29. package/bin/chunk-9t1ne8xr.js +2 -0
  30. package/bin/chunk-a32vreya.js +2 -0
  31. package/bin/chunk-a3dmtt2j.js +1 -0
  32. package/bin/chunk-abt0azmv.js +2 -0
  33. package/bin/chunk-ag6p3mbf.js +2 -0
  34. package/bin/chunk-aqbrzx9z.js +1 -0
  35. package/bin/chunk-av1a8fqp.js +3 -0
  36. package/bin/chunk-awfwk64v.js +2 -0
  37. package/bin/chunk-b235azv4.js +45 -0
  38. package/bin/chunk-b9yrw9et.js +10 -0
  39. package/bin/chunk-bay038pj.js +2 -0
  40. package/bin/chunk-c007p0t8.js +299 -0
  41. package/bin/chunk-cak32x57.js +2 -0
  42. package/bin/chunk-ce8m4zeg.js +3 -0
  43. package/bin/chunk-ck8azecb.js +12 -0
  44. package/bin/chunk-cnxwmycy.js +6 -0
  45. package/bin/chunk-cqb415s6.js +5 -0
  46. package/bin/chunk-e2mvmq2m.js +1 -0
  47. package/bin/chunk-e7mqtkzn.js +2 -0
  48. package/bin/chunk-e99dv20z.js +3 -0
  49. package/bin/chunk-ea79xnn3.js +2 -0
  50. package/bin/chunk-ehc9adfz.js +2 -0
  51. package/bin/chunk-ejbvfj4r.js +1 -0
  52. package/bin/chunk-ekfem7kf.js +1 -0
  53. package/bin/chunk-etwkk0xh.js +1 -0
  54. package/bin/chunk-evrdd32b.js +2 -0
  55. package/bin/chunk-f15qyp41.js +1 -0
  56. package/bin/chunk-f3ehv01n.js +54 -0
  57. package/bin/chunk-fm6p03ad.js +2 -0
  58. package/bin/chunk-fxswt9hc.js +3 -0
  59. package/bin/chunk-fyha3r13.js +2 -0
  60. package/bin/chunk-g0vs7k2x.js +1 -0
  61. package/bin/chunk-g84z2w7v.js +16 -0
  62. package/bin/chunk-gk3eqd50.js +2 -0
  63. package/bin/chunk-h3tbf521.js +2 -0
  64. package/bin/chunk-h837fyed.js +2 -0
  65. package/bin/chunk-hfh0c082.js +2 -0
  66. package/bin/chunk-j20e0qsw.js +7 -0
  67. package/bin/chunk-j8fxp8ej.js +2 -0
  68. package/bin/chunk-jje8nj8h.js +3 -0
  69. package/bin/chunk-jy006gcv.js +7 -0
  70. package/bin/chunk-k7hss0bd.js +4 -0
  71. package/bin/chunk-m7m9d4fb.js +2 -0
  72. package/bin/chunk-n1jwdb0a.js +1 -0
  73. package/bin/chunk-p5gf1zdm.js +4 -0
  74. package/bin/chunk-pb1zf0vb.js +2 -0
  75. package/bin/chunk-pfgxggaj.js +11 -0
  76. package/bin/chunk-q16490pv.js +2 -0
  77. package/bin/chunk-q2bvyv39.js +8 -0
  78. package/bin/chunk-qf24e71w.js +2 -0
  79. package/bin/chunk-qh81zhg1.js +1 -0
  80. package/bin/chunk-qwp3kwbz.js +2 -0
  81. package/bin/chunk-qwqvt9v6.js +2 -0
  82. package/bin/chunk-qydeqgyj.js +5 -0
  83. package/bin/chunk-r7dty1tg.js +2 -0
  84. package/bin/chunk-rbj4fad9.js +32 -0
  85. package/bin/chunk-rhdxwebf.js +2 -0
  86. package/bin/chunk-rhh716z0.js +42 -0
  87. package/bin/chunk-rpywcvg1.js +3 -0
  88. package/bin/chunk-rza4ae5z.js +3 -0
  89. package/bin/chunk-sfx2588q.js +3 -0
  90. package/bin/chunk-sk4e6rb1.js +1 -0
  91. package/bin/chunk-t2n1dbgx.js +4 -0
  92. package/bin/chunk-tf28796q.js +2 -0
  93. package/bin/chunk-twdxayky.js +3 -0
  94. package/bin/chunk-v9b3w8q5.js +3 -0
  95. package/bin/chunk-v9w25rp2.js +2 -0
  96. package/bin/chunk-vgn5zcpv.js +3 -0
  97. package/bin/chunk-wfzqnpc1.js +3 -0
  98. package/bin/chunk-wry2hvrq.js +24 -0
  99. package/bin/chunk-x8f4defx.js +3 -0
  100. package/bin/chunk-xp59apdb.js +2 -0
  101. package/bin/chunk-xtf3c29c.css +1 -0
  102. package/bin/chunk-z3gkt8w1.js +3 -0
  103. package/bin/chunk-zehyn6vd.js +2 -0
  104. package/bin/chunk-zh6fqq44.js +1 -0
  105. package/bin/chunk-zmv8cg4s.js +8 -0
  106. package/bin/chunk-zqv0zhfb.js +3 -0
  107. package/bin/{pdf.worker.min-szxdj13d.mjs → pdf.worker.min-vf48er29.mjs} +14423 -13889
  108. package/bin/shumai-app.html +1 -1
  109. package/bin/shumai-app.js +626 -460
  110. package/package.json +18 -18
  111. package/prisma/migrations/20260904022457_add_agent_id_to_assets_and_audit_logs/migration.sql +17 -0
  112. package/prisma/migrations/20260906081230_default_denied_tools_delete_asset/migration.sql +15 -0
  113. package/prisma/schema.prisma +9 -0
  114. package/bin/chunk-07h4b77v.js +0 -2
  115. package/bin/chunk-0t4n4d5w.js +0 -4
  116. package/bin/chunk-1611z9jg.js +0 -2
  117. package/bin/chunk-1phqxp6z.js +0 -3
  118. package/bin/chunk-23hckrrz.js +0 -2
  119. package/bin/chunk-30z44j1g.js +0 -2
  120. package/bin/chunk-3j463k1g.js +0 -1
  121. package/bin/chunk-4181tdds.js +0 -14
  122. package/bin/chunk-480jtqng.js +0 -4
  123. package/bin/chunk-4c3g146q.js +0 -2
  124. package/bin/chunk-4ca0zt5e.js +0 -1
  125. package/bin/chunk-4d9bgmf2.js +0 -2
  126. package/bin/chunk-4ev56fss.js +0 -9
  127. package/bin/chunk-4gk52tjq.js +0 -45
  128. package/bin/chunk-4mdqkj4d.js +0 -1
  129. package/bin/chunk-4r91fggc.js +0 -2
  130. package/bin/chunk-50fb1x3w.js +0 -1
  131. package/bin/chunk-59gj1njz.js +0 -1
  132. package/bin/chunk-5pr0t7fb.js +0 -2
  133. package/bin/chunk-5vewxmz7.js +0 -3
  134. package/bin/chunk-62zx96pe.js +0 -2
  135. package/bin/chunk-63y0eb07.js +0 -2
  136. package/bin/chunk-6d5xrgfx.js +0 -2
  137. package/bin/chunk-6gbtz5bf.js +0 -67
  138. package/bin/chunk-6gjg5egq.js +0 -3
  139. package/bin/chunk-6m4jz9s1.js +0 -44
  140. package/bin/chunk-6s4x525w.js +0 -2
  141. package/bin/chunk-6w2wmvqs.js +0 -3
  142. package/bin/chunk-77d23vcn.js +0 -2
  143. package/bin/chunk-77m5p188.js +0 -2
  144. package/bin/chunk-7bvx087f.js +0 -1
  145. package/bin/chunk-7pfjfrjg.js +0 -5
  146. package/bin/chunk-7q10s127.js +0 -4
  147. package/bin/chunk-7thx8ctx.js +0 -3
  148. package/bin/chunk-8t4s91gh.js +0 -2
  149. package/bin/chunk-98ey5p2e.js +0 -3
  150. package/bin/chunk-9amndcyh.js +0 -6
  151. package/bin/chunk-9bk23g9x.js +0 -1
  152. package/bin/chunk-9mkcfy43.js +0 -1
  153. package/bin/chunk-9t3nsq5n.js +0 -2
  154. package/bin/chunk-9tjq99ds.js +0 -2
  155. package/bin/chunk-9wm9rwh1.js +0 -2
  156. package/bin/chunk-ab16fyg4.js +0 -4
  157. package/bin/chunk-arv0g2av.js +0 -1
  158. package/bin/chunk-aytj4zxg.js +0 -3
  159. package/bin/chunk-b1ypjqgp.js +0 -2
  160. package/bin/chunk-bdjv0ykq.js +0 -2
  161. package/bin/chunk-c1k86mfa.js +0 -10
  162. package/bin/chunk-caa96dgd.js +0 -2
  163. package/bin/chunk-ce4v2yjy.js +0 -1
  164. package/bin/chunk-cqh60y54.js +0 -3
  165. package/bin/chunk-cvq7zgw7.js +0 -1
  166. package/bin/chunk-d9mjbtp2.js +0 -2
  167. package/bin/chunk-dn7sbjws.js +0 -3
  168. package/bin/chunk-dxyq9h8n.js +0 -3
  169. package/bin/chunk-e3cabksx.js +0 -3
  170. package/bin/chunk-egcrbj94.js +0 -2
  171. package/bin/chunk-ev17v1mv.js +0 -2
  172. package/bin/chunk-evtpwg71.js +0 -2
  173. package/bin/chunk-f3e0nsv2.js +0 -2
  174. package/bin/chunk-f40gjqpq.js +0 -2
  175. package/bin/chunk-fe7822ak.js +0 -299
  176. package/bin/chunk-g8tkhw9j.js +0 -2
  177. package/bin/chunk-g9r0p4t8.js +0 -2
  178. package/bin/chunk-gbjyh9ms.js +0 -1
  179. package/bin/chunk-gtbsb39v.js +0 -3
  180. package/bin/chunk-gytz1q13.js +0 -13
  181. package/bin/chunk-h0fxysxs.js +0 -7
  182. package/bin/chunk-h8bdvsqt.js +0 -2
  183. package/bin/chunk-hag024w8.js +0 -2
  184. package/bin/chunk-hc6w5nw4.js +0 -7
  185. package/bin/chunk-j69dqc48.js +0 -2
  186. package/bin/chunk-jbtw1zym.js +0 -8
  187. package/bin/chunk-jc1vb7rj.js +0 -5
  188. package/bin/chunk-jdv78w9r.js +0 -2
  189. package/bin/chunk-jjs70y9v.js +0 -3
  190. package/bin/chunk-jmdar2gz.js +0 -2
  191. package/bin/chunk-jvwz10n4.js +0 -2
  192. package/bin/chunk-k47md1g4.js +0 -2
  193. package/bin/chunk-k4v0brcb.js +0 -2
  194. package/bin/chunk-k6n7c07e.js +0 -1
  195. package/bin/chunk-kk2cstsg.js +0 -2
  196. package/bin/chunk-knz4h56q.js +0 -12
  197. package/bin/chunk-kqqtt6bd.js +0 -3
  198. package/bin/chunk-kvyp1t4j.js +0 -7
  199. package/bin/chunk-kxskpgsq.js +0 -5
  200. package/bin/chunk-m6srbjcs.js +0 -2
  201. package/bin/chunk-mcc1scxs.js +0 -12
  202. package/bin/chunk-mq83a0kk.js +0 -2
  203. package/bin/chunk-mxm8g4q0.js +0 -1
  204. package/bin/chunk-nhpgdqq5.js +0 -2
  205. package/bin/chunk-nne496aa.js +0 -2
  206. package/bin/chunk-nqpb0r9h.js +0 -11
  207. package/bin/chunk-ns0zww9g.js +0 -2
  208. package/bin/chunk-ps4xfp23.js +0 -2
  209. package/bin/chunk-pz2ec6xt.js +0 -2
  210. package/bin/chunk-q163k309.js +0 -2
  211. package/bin/chunk-q1da61ps.js +0 -1
  212. package/bin/chunk-qrf0ady6.js +0 -68
  213. package/bin/chunk-qy28f25e.js +0 -2
  214. package/bin/chunk-r7s4ypw1.js +0 -2
  215. package/bin/chunk-ran23vm9.js +0 -1
  216. package/bin/chunk-rfvdc4n0.js +0 -2
  217. package/bin/chunk-rgthkvgx.js +0 -3
  218. package/bin/chunk-s39n3yw3.js +0 -2
  219. package/bin/chunk-s7wdd0g7.js +0 -8
  220. package/bin/chunk-s88ha5kx.js +0 -3
  221. package/bin/chunk-sf91bt9m.js +0 -2
  222. package/bin/chunk-sjwbjf9j.js +0 -2
  223. package/bin/chunk-t62076pv.js +0 -1
  224. package/bin/chunk-tbbwss3v.js +0 -3
  225. package/bin/chunk-tjcc7a6y.js +0 -24
  226. package/bin/chunk-tp6ab26e.js +0 -2
  227. package/bin/chunk-v2wxk9p5.js +0 -4
  228. package/bin/chunk-vbk6y4hk.js +0 -2
  229. package/bin/chunk-vfgfg5fk.js +0 -2
  230. package/bin/chunk-vm6c3xx9.js +0 -2
  231. package/bin/chunk-vsx96mt6.js +0 -3
  232. package/bin/chunk-wbyw1shz.js +0 -6
  233. package/bin/chunk-whh2vh50.css +0 -1
  234. package/bin/chunk-wjkcq65s.js +0 -2
  235. package/bin/chunk-wkefwkfp.js +0 -41
  236. package/bin/chunk-x7bsnk1e.js +0 -2
  237. package/bin/chunk-xbhw6bpz.js +0 -3
  238. package/bin/chunk-xg5yrcj5.js +0 -2
  239. package/bin/chunk-xg9xscqz.js +0 -1
  240. package/bin/chunk-xw2gpcsh.js +0 -3
  241. package/bin/chunk-ycq8ank7.js +0 -2
  242. package/bin/chunk-yp9hvkc5.js +0 -73
  243. package/bin/chunk-ytypyfkc.js +0 -65
  244. package/bin/chunk-z1kjmf60.js +0 -2
  245. package/bin/chunk-z36bx86r.js +0 -2
  246. package/bin/chunk-z7hdnecp.js +0 -3
  247. package/bin/chunk-zeby1cq7.js +0 -2
  248. package/bin/chunk-zs5e8z1w.js +0 -1
  249. package/bin/chunk-zxnyefg5.js +0 -2
  250. /package/bin/{chunk-24ke0th1.css → chunk-kegybs91.css} +0 -0
@@ -0,0 +1,211 @@
1
+ import{Ke,w,Ne,zp,jp}from"./chunk-rza4ae5z.js";var H={};jp(H,{Activity:()=>XW,Children:()=>Fc,Component:()=>da,Fragment:()=>dn,Profiler:()=>QW,PureComponent:()=>JW,StrictMode:()=>IF,Suspense:()=>ja,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:()=>Es,__COMPILER_RUNTIME:()=>$W,cache:()=>eG,cacheSignal:()=>tG,cloneElement:()=>hZ,createContext:()=>wt,createElement:()=>j,createRef:()=>rG,forwardRef:()=>D,isValidElement:()=>Hs,lazy:()=>oG,memo:()=>Bc,startTransition:()=>sk,unstable_useCacheRefresh:()=>aG,use:()=>rc,useActionState:()=>nG,useCallback:()=>N,useContext:()=>xt,useDebugValue:()=>gz,useDeferredValue:()=>iG,useEffect:()=>h,useEffectEvent:()=>fG,useId:()=>fu,useImperativeHandle:()=>tn,useInsertionEffect:()=>pD,useLayoutEffect:()=>He,useMemo:()=>O,useOptimistic:()=>sG,useReducer:()=>so,useRef:()=>v,useState:()=>u,useSyncExternalStore:()=>Fn,useTransition:()=>lG,version:()=>fa},{Activity:(pkt)=>XW=pkt,Children:(pkt)=>Fc=pkt,Component:(pkt)=>da=pkt,Fragment:(pkt)=>dn=pkt,Profiler:(pkt)=>QW=pkt,PureComponent:(pkt)=>JW=pkt,StrictMode:(pkt)=>IF=pkt,Suspense:(pkt)=>ja=pkt,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:(pkt)=>Es=pkt,__COMPILER_RUNTIME:(pkt)=>$W=pkt,cache:(pkt)=>eG=pkt,cacheSignal:(pkt)=>tG=pkt,cloneElement:(pkt)=>hZ=pkt,createContext:(pkt)=>wt=pkt,createElement:(pkt)=>j=pkt,createRef:(pkt)=>rG=pkt,forwardRef:(pkt)=>D=pkt,isValidElement:(pkt)=>Hs=pkt,lazy:(pkt)=>oG=pkt,memo:(pkt)=>Bc=pkt,startTransition:(pkt)=>sk=pkt,unstable_useCacheRefresh:(pkt)=>aG=pkt,use:(pkt)=>rc=pkt,useActionState:(pkt)=>nG=pkt,useCallback:(pkt)=>N=pkt,useContext:(pkt)=>xt=pkt,useDebugValue:(pkt)=>gz=pkt,useDeferredValue:(pkt)=>iG=pkt,useEffect:(pkt)=>h=pkt,useEffectEvent:(pkt)=>fG=pkt,useId:(pkt)=>fu=pkt,useImperativeHandle:(pkt)=>tn=pkt,useInsertionEffect:(pkt)=>pD=pkt,useLayoutEffect:(pkt)=>He=pkt,useMemo:(pkt)=>O=pkt,useOptimistic:(pkt)=>sG=pkt,useReducer:(pkt)=>so=pkt,useRef:(pkt)=>v=pkt,useState:(pkt)=>u=pkt,useSyncExternalStore:(pkt)=>Fn=pkt,useTransition:(pkt)=>lG=pkt,version:(pkt)=>fa=pkt});function yxe(e){if(e===null||typeof e!=="object")return null;return e=FW&&e[FW]||e["@@iterator"],typeof e==="function"?e:null}function fk(e,r,a){this.props=e,this.context=r,this.refs=WW,this.updater=a||VW}function GW(){}function zF(e,r,a){this.props=e,this.context=r,this.refs=WW,this.updater=a||VW}function _F(){}function LF(e,r,a){var i=a.ref;return{$$typeof:wF,type:e,key:r,ref:i!==void 0?i:null,props:a}}function bxe(e,r){return LF(e.type,r,e.props)}function kF(e){return typeof e==="object"&&e!==null&&e.$$typeof===wF}function _xe(e){var r={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return r[a]})}function bF(e,r){return typeof e==="object"&&e!==null&&e.key!=null?_xe(""+e.key):r.toString(36)}function wxe(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status==="string"?e.then(_F,_F):(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 ik(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 wF:case uxe:l=!0;break;case qW:return l=e._init,ik(l(e._payload),r,a,i,f)}}if(l)return f=f(e),l=i===""?"."+bF(e,0):i,BW(f)?(a="",l!=null&&(a=l.replace(YW,"$&/")+"/"),ik(f,r,a,"",function(g){return g})):f!=null&&(kF(f)&&(f=bxe(f,a+(f.key==null||e&&e.key===f.key?"":(""+f.key).replace(YW,"$&/")+"/")+l)),r.push(f)),1;l=0;var c=i===""?".":i+":";if(BW(e))for(var m=0;m<e.length;m++)i=e[m],s=c+bF(i,m),l+=ik(i,r,a,s,f);else if(m=yxe(e),typeof m==="function")for(e=m.call(e),m=0;!(i=e.next()).done;)i=i.value,s=c+bF(i,m++),l+=ik(i,r,a,s,f);else if(s==="object"){if(typeof e.then==="function")return ik(wxe(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 ZD(e,r,a){if(e==null)return e;var i=[],f=0;return ik(e,i,"","",function(s){return r.call(a,s,f++)}),i}function zxe(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 wF,uxe,dxe,Zxe,pxe,mxe,hxe,gxe,Mxe,vxe,qW,xxe,FW,VW,HW,WW,SF,BW,Na,KW,YW,UW,Sxe,XW,Fc,da,dn,QW,JW,IF,ja,Es,$W,eG=function(e){return function(){return e.apply(null,arguments)}},tG=function(){return null},hZ=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=HW({},e.props),f=e.key;if(r!=null)for(s in r.key!==void 0&&(f=""+r.key),r)!KW.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 LF(e.type,f,i)},wt=function(e){return e={$$typeof:hxe,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:mxe,_context:e},e},j=function(e,r,a){var i,f={},s=null;if(r!=null)for(i in r.key!==void 0&&(s=""+r.key),r)KW.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 LF(e,s,f)},rG=function(){return{current:null}},D=function(e){return{$$typeof:gxe,render:e}},Hs,oG=function(e){return{$$typeof:qW,_payload:{_status:-1,_result:e},_init:zxe}},Bc=function(e,r){return{$$typeof:vxe,type:e,compare:r===void 0?null:r}},sk=function(e){var r=Na.T,a={};Na.T=a;try{var i=e(),f=Na.S;f!==null&&f(a,i),typeof i==="object"&&i!==null&&typeof i.then==="function"&&i.then(_F,UW)}catch(s){UW(s)}finally{r!==null&&a.types!==null&&(r.types=a.types),Na.T=r}},aG=function(){return Na.H.useCacheRefresh()},rc=function(e){return Na.H.use(e)},nG=function(e,r,a){return Na.H.useActionState(e,r,a)},N=function(e,r){return Na.H.useCallback(e,r)},xt=function(e){return Na.H.useContext(e)},gz=function(){},iG=function(e,r){return Na.H.useDeferredValue(e,r)},h=function(e,r){return Na.H.useEffect(e,r)},fG=function(e){return Na.H.useEffectEvent(e)},fu=function(){return Na.H.useId()},tn=function(e,r,a){return Na.H.useImperativeHandle(e,r,a)},pD=function(e,r){return Na.H.useInsertionEffect(e,r)},He=function(e,r){return Na.H.useLayoutEffect(e,r)},O=function(e,r){return Na.H.useMemo(e,r)},sG=function(e,r){return Na.H.useOptimistic(e,r)},so=function(e,r,a){return Na.H.useReducer(e,r,a)},v=function(e){return Na.H.useRef(e)},u=function(e){return Na.H.useState(e)},Fn=function(e,r,a){return Na.H.useSyncExternalStore(e,r,a)},lG=function(){return Na.H.useTransition()},fa="19.2.8";var C=zp(()=>{wF=Symbol.for("react.transitional.element"),uxe=Symbol.for("react.portal"),dxe=Symbol.for("react.fragment"),Zxe=Symbol.for("react.strict_mode"),pxe=Symbol.for("react.profiler"),mxe=Symbol.for("react.consumer"),hxe=Symbol.for("react.context"),gxe=Symbol.for("react.forward_ref"),Mxe=Symbol.for("react.suspense"),vxe=Symbol.for("react.memo"),qW=Symbol.for("react.lazy"),xxe=Symbol.for("react.activity"),FW=Symbol.iterator;VW={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},HW=Object.assign,WW={};fk.prototype.isReactComponent={};fk.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")};fk.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};GW.prototype=fk.prototype;SF=zF.prototype=new GW;SF.constructor=zF;HW(SF,fk.prototype);SF.isPureReactComponent=!0;BW=Array.isArray;Na={H:null,A:null,T:null,S:null},KW=Object.prototype.hasOwnProperty;YW=/\/+/g;UW=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)},Sxe={map:ZD,forEach:function(e,r,a){ZD(e,function(){r.apply(this,arguments)},a)},count:function(e){var r=0;return ZD(e,function(){r++}),r},toArray:function(e){return ZD(e,function(r){return r})||[]},only:function(e){if(!kF(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};XW=xxe,Fc=Sxe,da=fk,dn=dxe,QW=pxe,JW=zF,IF=Zxe,ja=Mxe,Es=Na,$W={__proto__:null,c:function(e){return Na.H.useMemoCache(e)}},Hs=kF});var kK=w(function(Sye){C();function gye(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Mye=typeof Object.is==="function"?Object.is:gye,vye=u,xye=h,yye=He,bye=gz;function _ye(e,r){var a=r(),i=vye({inst:{value:a,getSnapshot:r}}),f=i[0].inst,s=i[1];return yye(function(){f.value=a,f.getSnapshot=r,m3(f)&&s({inst:f})},[e,a,r]),xye(function(){return m3(f)&&s({inst:f}),e(function(){m3(f)&&s({inst:f})})},[e]),bye(a),a}function m3(e){var r=e.getSnapshot;e=e.value;try{var a=r();return!Mye(e,a)}catch(i){return!0}}function wye(e,r){return r()}var zye=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?wye:_ye;Sye.useSyncExternalStore=Fn!==void 0?Fn:zye});var zz={};jp(zz,{unstable_now:()=>jn,unstable_IdlePriority:()=>Ms,unstable_ImmediatePriority:()=>ji,unstable_LowPriority:()=>JD,unstable_NormalPriority:()=>pa,unstable_Profiling:()=>sX,unstable_UserBlockingPriority:()=>qi,unstable_cancelCallback:()=>Hi,unstable_forceFrameRate:()=>lX,unstable_getCurrentPriorityLevel:()=>$D,unstable_next:()=>cX,unstable_requestPaint:()=>Gi,unstable_runWithPriority:()=>bu,unstable_scheduleCallback:()=>ma,unstable_shouldYield:()=>$i,unstable_wrapCallback:()=>uX},{unstable_now:(LDt)=>jn=LDt,unstable_IdlePriority:(LDt)=>Ms=LDt,unstable_ImmediatePriority:(LDt)=>ji=LDt,unstable_LowPriority:(LDt)=>JD=LDt,unstable_NormalPriority:(LDt)=>pa=LDt,unstable_Profiling:(LDt)=>sX=LDt,unstable_UserBlockingPriority:(LDt)=>qi=LDt,unstable_cancelCallback:(LDt)=>Hi=LDt,unstable_forceFrameRate:(LDt)=>lX=LDt,unstable_getCurrentPriorityLevel:(LDt)=>$D=LDt,unstable_next:(LDt)=>cX=LDt,unstable_requestPaint:(LDt)=>Gi=LDt,unstable_runWithPriority:(LDt)=>bu=LDt,unstable_scheduleCallback:(LDt)=>ma=LDt,unstable_shouldYield:(LDt)=>$i=LDt,unstable_wrapCallback:(LDt)=>uX=LDt});function z3(e,r){var a=e.length;e.push(r);e:for(;0<a;){var i=a-1>>>1,f=e[i];if(0<WD(f,r))e[i]=r,e[a]=f,a=i;else break e}}function yZ(e){return e.length===0?null:e[0]}function QD(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>WD(c,a))m<f&&0>WD(g,c)?(e[i]=g,e[m]=a,i=m):(e[i]=c,e[l]=a,i=l);else if(m<f&&0>WD(g,a))e[i]=g,e[m]=a,i=m;else break e}}return r}function WD(e,r){var a=e.sortIndex-r.sortIndex;return a!==0?a:e.id-r.id}function KD(e){for(var r=yZ(JM);r!==null;){if(r.callback===null)QD(JM);else if(r.startTime<=e)QD(JM),r.sortIndex=r.expirationTime,z3(QZ,r);else break;r=yZ(JM)}}function R3(e){if(ER=!1,KD(e),!DR)if(yZ(QZ)!==null)DR=!0,Sk||(Sk=!0,zk());else{var r=yZ(JM);r!==null&&P3(R3,r.startTime-e)}}function fX(){return C3?!0:zz.unstable_now()-iX<nX?!1:!0}function w3(){if(C3=!1,Sk){var e=zz.unstable_now();iX=e;var r=!0;try{e:{DR=!1,ER&&(ER=!1,aX(OR),OR=-1),k3=!0;var a=ws;try{t:{KD(e);for(Uc=yZ(QZ);Uc!==null&&!(Uc.expirationTime>e&&fX());){var i=Uc.callback;if(typeof i==="function"){Uc.callback=null,ws=Uc.priorityLevel;var f=i(Uc.expirationTime<=e);if(e=zz.unstable_now(),typeof f==="function"){Uc.callback=f,KD(e),r=!0;break t}Uc===yZ(QZ)&&QD(QZ),KD(e)}else QD(QZ);Uc=yZ(QZ)}if(Uc!==null)r=!0;else{var s=yZ(JM);s!==null&&P3(R3,s.startTime-e),r=!1}}break e}finally{Uc=null,ws=a,k3=!1}r=void 0}}finally{r?zk():Sk=!1}}}function P3(e,r){OR=oX(function(){e(zz.unstable_now())},r)}var jn=void 0,S3,GD,L3,QZ,JM,Wye=1,Uc=null,ws=3,k3=!1,DR=!1,ER=!1,C3=!1,oX,aX,rX,Sk=!1,OR=-1,nX=5,iX=-1,zk,XD,I3,Ms=5,ji=1,JD=4,pa=3,sX=null,qi=2,Hi=function(e){e.callback=null},lX=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"):nX=0<e?Math.floor(1000/e):5},$D=function(){return ws},cX=function(e){switch(ws){case 1:case 2:case 3:var r=3;break;default:r=ws}var a=ws;ws=r;try{return e()}finally{ws=a}},Gi=function(){C3=!0},bu=function(e,r){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=ws;ws=e;try{return r()}finally{ws=a}},ma=function(e,r,a){var i=zz.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:Wye++,callback:r,priorityLevel:e,startTime:a,expirationTime:f,sortIndex:-1},a>i?(e.sortIndex=a,z3(JM,e),yZ(QZ)===null&&e===yZ(JM)&&(ER?(aX(OR),OR=-1):ER=!0,P3(R3,a-i))):(e.sortIndex=f,z3(QZ,e),DR||k3||(DR=!0,Sk||(Sk=!0,zk()))),e},$i,uX=function(e){var r=ws;return function(){var a=ws;ws=r;try{return e.apply(this,arguments)}finally{ws=a}}};var vu=zp(()=>{if(typeof performance==="object"&&typeof performance.now==="function")S3=performance,jn=function(){return S3.now()};else GD=Date,L3=GD.now(),jn=function(){return GD.now()-L3};QZ=[],JM=[],oX=typeof setTimeout==="function"?setTimeout:null,aX=typeof clearTimeout==="function"?clearTimeout:null,rX=typeof setImmediate<"u"?setImmediate:null;if(typeof rX==="function")zk=function(){rX(w3)};else if(typeof MessageChannel<"u")XD=new MessageChannel,I3=XD.port2,XD.port1.onmessage=w3,zk=function(){I3.postMessage(null)};else zk=function(){oX(w3,0)};$i=fX});var Vge=w(function(XIn,qge){var Fge=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,X_t=/\n/g,Q_t=/^\s*/,J_t=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,$_t=/^:\s*/,ewt=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,twt=/^[;\s]*/,rwt=/^\s+|\s+$/g,owt=`
2
+ `,Bge="/",Yge="*",QL="",awt="comment",nwt="declaration";function iwt(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 z=_.match(X_t);if(z)a+=z.length;var F=_.lastIndexOf(owt);i=~F?_.length-F:i+_.length}function s(){var _={line:a,column:i};return function(z){return z.position=new l(_),g(),z}}function l(_){this.start=_,this.end={line:a,column:i},this.source=r.source}l.prototype.content=e;function c(_){var z=Error(r.source+":"+a+":"+i+": "+_);if(z.reason=_,z.filename=r.source,z.line=a,z.column=i,z.source=e,r.silent);else throw z}function m(_){var z=_.exec(e);if(!z)return;var F=z[0];return f(F),e=e.slice(F.length),z}function g(){m(Q_t)}function M(_){var z;_=_||[];while(z=x())if(z!==!1)_.push(z);return _}function x(){var _=s();if(Bge!=e.charAt(0)||Yge!=e.charAt(1))return;var z=2;while(QL!=e.charAt(z)&&(Yge!=e.charAt(z)||Bge!=e.charAt(z+1)))++z;if(z+=2,QL===e.charAt(z-1))return c("End of comment missing");var F=e.slice(2,z-2);return i+=2,f(F),e=e.slice(z),i+=2,_({type:awt,comment:F})}function b(){var _=s(),z=m(J_t);if(!z)return;if(x(),!m($_t))return c("property missing ':'");var F=m(ewt),k=_({type:nwt,property:Uge(z[0].replace(Fge,QL)),value:F?Uge(F[0].replace(Fge,QL)):QL});return m(twt),k}function y(){var _=[];M(_);var z;while(z=b())if(z!==!1)_.push(z),M(_);return _}return g(),y()}function Uge(e){return e?e.replace(rwt,QL):QL}qge.exports=iwt});var Hge=w(function(U2){var fwt=U2&&U2.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(U2,"__esModule",{value:!0});U2.default=lwt;var swt=fwt(Vge());function lwt(e,r){let a=null;if(!e||typeof e!=="string")return a;let i=(0,swt.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 Xge=w(function(Gge){Object.defineProperty(Gge,"__esModule",{value:!0});Gge.camelCase=void 0;var cwt=/^--[a-zA-Z0-9_-]+$/,uwt=/-([a-z])/g,dwt=/^[^-]+$/,Zwt=/^-(webkit|moz|ms|o|khtml)-/,pwt=/^-(ms)-/,mwt=function(e){return!e||dwt.test(e)||cwt.test(e)},hwt=function(e,r){return r.toUpperCase()},Wge=function(e,r){return"".concat(r,"-")},gwt=function(e,r){if(r===void 0)r={};if(mwt(e))return e;if(e=e.toLowerCase(),r.reactCompat)e=e.replace(pwt,Wge);else e=e.replace(Zwt,Wge);return e.replace(uwt,hwt)};Gge.camelCase=gwt});var Jge=w(function(wH,Qge){var Mwt=wH&&wH.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},vwt=Mwt(Hge()),xwt=Xge();function _H(e,r){var a={};if(!e||typeof e!=="string")return a;return(0,vwt.default)(e,function(i,f){if(i&&f)a[(0,xwt.camelCase)(i,r)]=f}),a}_H.default=_H;Qge.exports=_H});var _ve=w(function(F2n,bve){var H4=Object.prototype.hasOwnProperty,yve=Object.prototype.toString,{defineProperty:mve,getOwnPropertyDescriptor:hve}=Object,gve=function(r){if(typeof Array.isArray==="function")return Array.isArray(r);return yve.call(r)==="[object Array]"},Mve=function(r){if(!r||yve.call(r)!=="[object Object]")return!1;var a=H4.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&H4.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!a&&!i)return!1;var f;for(f in r);return typeof f>"u"||H4.call(r,f)},vve=function(r,a){if(mve&&a.name==="__proto__")mve(r,a.name,{enumerable:!0,configurable:!0,value:a.newValue,writable:!0});else r[a.name]=a.newValue},xve=function(r,a){if(a==="__proto__"){if(!H4.call(r,a))return;else if(hve)return hve(r,a).value}return r[a]};bve.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=xve(c,a),f=xve(r,a),c!==f){if(M&&f&&(Mve(f)||(s=gve(f)))){if(s)s=!1,l=i&&gve(i)?i:[];else l=i&&Mve(i)?i:{};vve(c,{name:a,newValue:e(M,l,f)})}else if(typeof f<"u")vve(c,{name:a,newValue:f})}}return c}});C();var Lxe=Symbol.for("react.transitional.element"),kxe=Symbol.for("react.fragment");function cG(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:Lxe,type:e,key:i,ref:r!==void 0?r:null,props:a}}var B=kxe,t=cG,o=cG;var CF=wt(void 0),Q=(e)=>{let r=xt(CF);if(e)return e;if(!r)throw Error("No QueryClient set, use QueryClientProvider to set one");return r},RF=({client:e,children:r})=>(h(()=>(e.mount(),()=>{e.unmount()}),[e]),t(CF.Provider,{value:e,children:r}));C();var uG=wt(!1),pu=()=>xt(uG),Mkt=uG.Provider;C();function Ixe(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var Cxe=wt(Ixe()),mu=()=>xt(Cxe);C();var Rxe={setTimeout:(e,r)=>setTimeout(e,r),clearTimeout:(e)=>clearTimeout(e),setInterval:(e,r)=>setInterval(e,r),clearInterval:(e)=>clearInterval(e)},Pxe=class{#e=Rxe;#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)}},gZ=new Pxe;function dG(e){setTimeout(e,0)}var TF=typeof window>"u"||"Deno"in globalThis;function cr(){}function mG(e,r){return typeof e==="function"?e(r):e}function mD(e){return typeof e==="number"&&e>=0&&e!==1/0}function hD(e,r){return Math.max(e+(r||0)-Date.now(),0)}function Fa(e,r){return typeof e==="function"?e(r):e}function gD(e,r){let{type:a="all",exact:i,fetchStatus:f,predicate:s,queryKey:l,stale:c}=e;if(l){if(i){if(r.queryHash!==yR(l,r.options))return!1}else if(!OM(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 MD(e,r){let{exact:a,status:i,predicate:f,mutationKey:s}=e;if(s){if(!r.options.mutationKey)return!1;if(a){if(MZ(r.options.mutationKey)!==MZ(s))return!1}else if(!OM(r.options.mutationKey,s))return!1}if(i&&r.state.status!==i)return!1;if(f&&!f(r))return!1;return!0}function yR(e,r){return(r?.queryKeyHashFn||MZ)(e)}function MZ(e){return JSON.stringify(e,(r,a)=>PF(a)?Object.keys(a).sort().reduce((i,f)=>(i[f]=a[f],i),{}):a)}function OM(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(!OM(e[i],r[i]))return!1;return!0}let a=Object.keys(r);for(let i of a)if(!OM(e[i],r[i]))return!1;return!0}return!1}var Txe=Object.prototype.hasOwnProperty;function nc(e,r,a=0){if(e===r)return e;if(a>500)return r;let i=ZG(e)&&ZG(r);if(!i&&!(PF(e)&&PF(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],x=e[M],b=r[M];if(x===b){if(c[M]=x,i?g<f:Txe.call(e,M))m++;continue}if(x===null||b===null||typeof x!=="object"||typeof b!=="object"){c[M]=b;continue}let y=nc(x,b,a+1);if(c[M]=y,y===x)m++}return f===l&&m===f?e:c}function Is(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 ZG(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function PF(e){if(!pG(e))return!1;let r=e.constructor;if(r===void 0)return!0;let a=r.prototype;if(!pG(a))return!1;if(!a.hasOwnProperty("isPrototypeOf"))return!1;if(Object.getPrototypeOf(e)!==Object.prototype)return!1;return!0}function pG(e){return Object.prototype.toString.call(e)==="[object Object]"}function hG(e){return new Promise((r)=>{gZ.setTimeout(r,e)})}function bR(e,r,a){if(typeof a.structuralSharing==="function")return a.structuralSharing(e,r);else if(a.structuralSharing!==!1)return nc(e,r);return r}function ai(e){return e}function gG(e,r,a=0){let i=[...e,r];return a&&i.length>a?i.slice(1):i}function MG(e,r,a=0){let i=[r,...e];return a&&i.length>a?i.slice(0,-1):i}var lk=Symbol();function vD(e,r){if(!e.queryFn&&r?.initialPromise)return()=>r.initialPromise;if(!e.queryFn||e.queryFn===lk)return()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`));return e.queryFn}function ck(e,r){if(typeof e==="function")return e(...r);return!!e}function vG(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 Axe=()=>TF,uk=()=>Axe();var io=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 Dxe=class extends io{#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"}},dk=new Dxe;var xG=dG;function Exe(){let e=[],r=0,a=(c)=>{c()},i=(c)=>{c()},f=xG,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 zt=Exe();var Oxe=class extends io{#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}},Zk=new Oxe;function jxe(e){return Math.min(1000*2**e,30000)}function AF(e){return(e??"online")==="online"?Zk.isOnline():!0}var xD=class extends Error{constructor(e){super("CancelledError");this.revert=e?.revert,this.silent=e?.silent}};function yD(e){let r=!1,a=0,i,f="pending",s,l,c=new Promise((I,Y)=>{s=I,l=Y});c.catch(cr);let m=()=>f!=="pending",g=(I)=>{if(!m()){let Y=new xD(I);z(Y),e.onCancel?.(Y)}},M=()=>{r=!0},x=()=>{r=!1},b=()=>dk.isFocused()&&(e.networkMode==="always"||Zk.isOnline())&&e.canRun(),y=()=>AF(e.networkMode)&&e.canRun(),_=(I)=>{if(!m())i?.(),f="resolved",s(I)},z=(I)=>{if(!m())i?.(),f="rejected",l(I)},F=()=>new Promise((I)=>{i=(Y)=>{if(m()||b())I(Y)},e.onPause?.()}).then(()=>{if(i=void 0,!m())e.onContinue?.()}),k=()=>{if(m())return;let I,Y=a===0?e.initialPromise:void 0;try{I=Y??e.fn()}catch(W){I=Promise.reject(W)}Promise.resolve(I).then(_).catch((W)=>{if(m())return;let X=e.retry??(uk()?0:3),J=e.retryDelay??jxe,ee=typeof J==="function"?J(a,W):J,ae=X===!0||typeof X==="number"&&a<X||typeof X==="function"&&X(a,W);if(r||!ae){z(W);return}a++,e.onFail?.(a,W),hG(ee).then(()=>b()?void 0:F()).then(()=>{if(r)z(W);else k()})})};return{promise:c,status:()=>f,cancel:g,continue:()=>(i?.(),c),cancelRetry:M,continueRetry:x,canStart:y,start:()=>{if(y())k();else F().then(k);return c}}}var bD=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){if(this.clearGcTimeout(),mD(this.gcTime))this.#e=gZ.setTimeout(()=>{this.optionalRemove()},this.gcTime)}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(uk()?1/0:300000))}clearGcTimeout(){if(this.#e!==void 0)gZ.clearTimeout(this.#e),this.#e=void 0}};function yG(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,x=(_)=>{vG(_,()=>r.signal,()=>M=!0)},b=vD(r.options,r.fetchOptions),y=async(_,z,F)=>{if(M)return Promise.reject(r.signal.reason);if(z==null&&_.pages.length)return Promise.resolve(_);let I=(()=>{let J={client:r.client,queryKey:r.queryKey,pageParam:z,direction:F?"backward":"forward",meta:r.options.meta};return x(J),J})(),Y=await b(I),{maxPages:W}=r.options,X=F?MG:gG;return{pages:X(_.pages,Y,W),pageParams:X(_.pageParams,z,W)}};if(f&&s.length){let _=f==="backward",z=_?bG:DF,F={pages:s,pageParams:l};c=await y(F,z(i,F),_)}else{let _=e??s.length;do{let z=m===0?l[0]??i.initialPageParam:DF(i,c);if(m>0&&z==null)break;c=await y(c,z),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 DF(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 bG(e,{pages:r,pageParams:a}){return r.length>0?e.getPreviousPageParam?.(r[0],r,a[0],a):void 0}function _G(e,r){if(!r)return!1;return DF(e,r)!=null}function wG(e,r){if(!r||!e.getPreviousPageParam)return!1;return bG(e,r)!=null}var LG=class extends bD{#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=SG(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=SG(this.options);if(r.data!==void 0)this.setState(zG(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=bR(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(cr).catch(cr):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)=>Fa(e.options.enabled,this)!==!1)}isDisabled(){if(this.getObserversCount()>0)return!this.isActive();return this.options.queryFn===lk||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){if(this.getObserversCount()>0)return this.observers.some((e)=>Fa(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!hD(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=vD(this.options,r),M=(()=>{let x={client:this.#n,queryKey:this.queryKey,meta:this.meta};return i(x),x})();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"?yG(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=yD({initialPromise:r?.initialPromise,fn:l.fetchFn,onCancel:(m)=>{if(m instanceof xD&&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 xD){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,...EF(a.data,this.options),fetchMeta:e.meta??null};case"success":let i={...a,...zG(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),zt.batch(()=>{this.observers.slice().forEach((a)=>{a.onQueryUpdate()}),this.#o.notify({query:this,type:"updated",action:e})})}};function EF(e,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:AF(r.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function zG(e,r){return{data:e,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function SG(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 Do=class extends io{#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),kG(this.#t,this.options))this.#d();else this.updateResult();this.#v()}}onUnsubscribe(){if(!this.hasListeners())this.destroy()}shouldFetchOnReconnect(){return OF(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return OF(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 Fa(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&&!Is(this.options,r))this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});let i=this.hasListeners();if(i&&IG(this.#t,a,this.options,r))this.#d();if(this.updateResult(),i&&(this.#t!==a||Fa(this.options.enabled,this.#t)!==Fa(r.enabled,this.#t)||Fa(this.options.staleTime,this.#t)!==Fa(r.staleTime,this.#t)))this.#h();let f=this.#g();if(i&&(this.#t!==a||Fa(this.options.enabled,this.#t)!==Fa(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(!Is(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(cr);return r}#m(e){return!uk()&&Fa(this.options.enabled,this.#t)!==!1&&mD(e)}#h(){this.#x();let e=Fa(this.options.staleTime,this.#t);if(this.#o.isStale||!this.#m(e))return;let r=hD(this.#o.dataUpdatedAt,e)+1;this.#c=gZ.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=gZ.setInterval(()=>{if(this.options.refetchIntervalInBackground||dk.isFocused())this.#d()},this.#l)}#v(){this.#h(),this.#M(this.#g())}#x(){if(this.#c!==void 0)gZ.clearTimeout(this.#c),this.#c=void 0}#y(){if(this.#u!==void 0)gZ.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,x;if(r._optimisticResults){let X=this.hasListeners(),J=!X&&kG(e,r),ee=X&&IG(e,a,r,i);if(J||ee)g={...g,...EF(m.data,e.options)};if(r._optimisticResults==="isRestoring")g.fetchStatus="idle"}let{error:b,errorUpdatedAt:y,status:_}=g;x=g.data;let z=!1;if(r.placeholderData!==void 0&&x===void 0&&_==="pending"){let X;if(f?.isPlaceholderData&&r.placeholderData===l?.placeholderData)X=f.data,z=!0;else X=typeof r.placeholderData==="function"?r.placeholderData(this.#Z?.state.data,this.#Z):r.placeholderData;if(X!==void 0)_="success",x=bR(f?.data,X,r),M=!0}if(r.select&&x!==void 0&&!z)if(f&&x===s?.data&&r.select===this.#s)x=this.#f;else try{this.#s=r.select,x=r.select(x),x=bR(f?.data,x,r),this.#f=x,this.#i=null}catch(X){this.#i=X}else if(x===void 0)this.#i=null;if(this.#i)b=this.#i,x=this.#f,y=Date.now(),_="error",M=!1;let F=g.fetchStatus==="fetching",k=_==="pending",I=_==="error",Y=k&&F,W=x!==void 0;return{status:_,fetchStatus:g.fetchStatus,isPending:k,isSuccess:_==="success",isError:I,isInitialLoading:Y,isLoading:Y,data:x,dataUpdatedAt:g.dataUpdatedAt,error:b,errorUpdatedAt:y,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:g.dataUpdateCount>c.dataUpdateCount||g.errorUpdateCount>c.errorUpdateCount,isFetching:F,isRefetching:F&&!k,isLoadingError:I&&!W,isPaused:g.fetchStatus==="paused",isPlaceholderData:M,isRefetchError:I&&W,isStale:jF(e,r),refetch:this.refetch,isEnabled:Fa(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(Is(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)})})();zt.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 Nxe(e,r){return Fa(r.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&Fa(r.retryOnMount,e)===!1)}function kG(e,r){return Nxe(e,r)||e.state.data!==void 0&&OF(e,r,r.refetchOnMount)}function OF(e,r,a){if(Fa(r.enabled,e)!==!1&&Fa(r.staleTime,e)!=="static"){let i=typeof a==="function"?a(e):a;return i==="always"||i!==!1&&jF(e,r)}return!1}function IG(e,r,a,i){return(e!==r||Fa(i.enabled,e)===!1)&&(!a.suspense||e.state.status!=="error")&&jF(e,a)}function jF(e,r){return Fa(r.enabled,e)!==!1&&e.isStaleByTime(Fa(r.staleTime,e))}var NF=class extends Do{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",x=l&&m==="backward",b=f&&m==="backward";return{...i,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:_G(r,a.data),hasPreviousPage:wG(r,a.data),isFetchNextPageError:g,isFetchingNextPage:M,isFetchPreviousPageError:x,isFetchingPreviousPage:b,isRefetchError:c&&!g&&!x,isRefetching:s&&!M&&!b}}};var CG=class extends bD{#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||FF(),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=yD({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),zt.batch(()=>{this.#t.forEach((a)=>{a.onMutationUpdate(e)}),this.#r.notify({mutation:this,type:"updated",action:e})})}};function FF(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var RG=class extends io{#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 CG({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=_D(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=_D(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=_D(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=_D(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(){zt.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)=>MD(r,a))}findAll(e={}){return this.getAll().filter((r)=>MD(e,r))}notify(e){zt.batch(()=>{this.listeners.forEach((r)=>{r(e)})})}resumePausedMutations(){let e=this.getAll().filter((r)=>r.state.isPaused);return zt.batch(()=>Promise.all(e.map((r)=>r.continue().catch(cr))))}};function _D(e){return e.options.scope?.id}var BF=class extends io{#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),!Is(this.options,r))this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#r,observer:this});if(r?.mutationKey&&this.options.mutationKey&&MZ(r.mutationKey)!==MZ(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??FF();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){zt.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 PG=class extends io{#e;constructor(e={}){super();this.config=e,this.#e=new Map}build(e,r,a){let i=r.queryKey,f=r.queryHash??yR(i,r),s=this.get(f);if(!s)s=new LG({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(){zt.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)=>gD(r,a))}findAll(e={}){let r=this.getAll();return Object.keys(e).length>0?r.filter((a)=>gD(e,a)):r}notify(e){zt.batch(()=>{this.listeners.forEach((r)=>{r(e)})})}onFocus(){zt.batch(()=>{this.getAll().forEach((e)=>{e.onFocus()})})}onOnline(){zt.batch(()=>{this.getAll().forEach((e)=>{e.onOnline()})})}};var YF=class{#e;#t;#r;#o;#n;#a;#i;#s;constructor(e={}){this.#e=e.queryCache||new PG,this.#t=e.mutationCache||new RG,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=dk.subscribe(async(e)=>{if(e)await this.resumePausedMutations(),this.#e.onFocus()}),this.#s=Zk.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(Fa(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=mG(r,f);if(s===void 0)return;return this.#e.build(this,i).setData(s,{...a,manual:!0})}setQueriesData(e,r,a){return zt.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;zt.batch(()=>{r.findAll(e).forEach((a)=>{r.remove(a)})})}resetQueries(e,r){let a=this.#e;return zt.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=zt.batch(()=>this.#e.findAll(e).map((f)=>f.cancel(a)));return Promise.all(i).then(cr).catch(cr)}invalidateQueries(e,r={}){return zt.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=zt.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(cr);return f.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(i).then(cr)}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(Fa(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(Fa(r.staleTime,a))?a.fetch(r):Promise.resolve(a.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(cr).catch(cr)}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(cr).catch(cr)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){if(Zk.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(MZ(e),{queryKey:e,defaultOptions:r})}getQueryDefaults(e){let r=[...this.#o.values()],a={};return r.forEach((i)=>{if(OM(e,i.queryKey))Object.assign(a,i.defaultOptions)}),a}setMutationDefaults(e,r){this.#n.set(MZ(e),{mutationKey:e,defaultOptions:r})}getMutationDefaults(e){let r=[...this.#n.values()],a={};return r.forEach((i)=>{if(OM(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=yR(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===lk)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 hu=(e,r,a)=>{let i=a?.state.error&&typeof e.throwOnError==="function"?ck(e.throwOnError,[a.state.error,a]):e.throwOnError;if(e.suspense||i){if(!r.isReset())e.retryOnMount=!1}},gu=(e)=>{h(()=>{e.clearReset()},[e])},Au=({result:e,errorResetBoundary:r,throwOnError:a,query:i,suspense:f})=>e.isError&&!r.isReset()&&!e.isFetching&&i&&(f&&e.data===void 0||ck(a,[e.error,i]));var qp=(e,r)=>r.state.data===void 0,yu=(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)}},oc=(e,r)=>e?.suspense&&r.isPending,_u=(e,r,a)=>r.fetchOptimistic(e).catch(()=>{a.clearReset()});C();function Fi(e,r,a){let i=pu(),f=mu(),s=Q(a),l=s.defaultQueryOptions(e),c=s.getQueryCache().get(l.queryHash),m=e.subscribed!==!1;l._optimisticResults=i?"isRestoring":m?"optimistic":void 0,yu(l),hu(l,f,c),gu(f);let[g]=u(()=>new r(s,l)),M=g.getOptimisticResult(l),x=!i&&m;if(Fn(N((b)=>{let y=x?g.subscribe(zt.batchCalls(b)):cr;return g.updateResult(),y},[g,x]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),h(()=>{g.setOptions(l)},[l,g]),oc(l,M))throw _u(l,g,f);if(Au({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 Fi(e,Do,r)}C();function U(e,r){let a=Q(r),[i]=u(()=>new BF(a,e));h(()=>{i.setOptions(e)},[i,e]);let f=Fn(N((l)=>i.subscribe(zt.batchCalls(l)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),s=N((...l)=>{i.mutate(l[0],l[1]).catch(cr)},[i]);if(f.error&&ck(i.options.throwOnError,[f.error]))throw f.error;return{...f,mutate:s,mutateAsync:f.mutate}}function ct(e,r){return Fi(e,NF,r)}C();var Mz=wt(void 0),TG=wt(void 0);C();var wD=wt(null);C();function Ta(e){return xt(wD)}var $r=!1;function jM(e){return e[e.length-1]}function Fxe(e){return typeof e==="function"}function Ws(e,r){if(Fxe(e))return e(r);return e}var jG=Object.prototype.hasOwnProperty,AG=Object.prototype.propertyIsEnumerable;function NM(e){for(let r in e)if(jG.call(e,r))return!0;return!1}var Bxe=()=>Object.create(null),FM=(e,r)=>wl(e,r,Bxe);function wl(e,r,a=()=>({}),i=0){if($r)return r;if(e===r)return e;if(i>500)return r;let f=r,s=zD(e)&&zD(f);if(!s&&!(pk(e)&&pk(f)))return f;let l=s?e:DG(e);if(!l)return f;let c=s?f:DG(f);if(!c)return f;let m=l.length,g=c.length,M=s?Array(g):a(),x=0;for(let b=0;b<g;b++){let y=s?b:c[b],_=e[y],z=f[y];if(_===z){if(M[y]=_,s?b<m:jG.call(e,y))x++;continue}if(_===null||z===null||typeof _!=="object"||typeof z!=="object"){M[y]=z;continue}let F=wl(_,z,a,i+1);if(M[y]=F,F===_)x++}return m===g&&x===m?e:M}function DG(e){let r=Object.getOwnPropertyNames(e);for(let f of r)if(!AG.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(!AG.call(e,f))return!1;i.push(f)}return i}function pk(e){if(!EG(e))return!1;let r=e.constructor;if(typeof r>"u")return!0;let a=r.prototype;if(!EG(a))return!1;if(!a.hasOwnProperty("isPrototypeOf"))return!1;return!0}function EG(e){return Object.prototype.toString.call(e)==="[object Object]"}function zD(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Yc(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(!Yc(e[i],r[i],a))return!1;return!0}if(pk(e)&&pk(r)){let i=a?.ignoreUndefined??!0;if(a?.partial){for(let l in r)if(!i||r[l]!==void 0){if(!Yc(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||!Yc(e[l],r[l],a))return!1}return f===s}return!1}function zd(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 BM(e){return Boolean(e&&typeof e==="object"&&typeof e.then==="function")}function Yxe(e){return e.replace(/[\x00-\x1f\x7f]/g,"")}function OG(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 Yxe(r)}var SD=["http:","https:","mailto:","tel:"];function vZ(e,r){if(!e)return!1;try{let a=new URL(e);return!r.has(a.protocol)}catch{return!1}}function mk(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+=OG(e.slice(a,f.index))+f[0],a=r.lastIndex;i=i+OG(a?e.slice(a):e);let s=!1;if(i.startsWith("//"))s=!0,i="/"+i.replace(/^\/+/,"");return{path:i,handledProtocolRelativeURL:s}}function NG(e){if(!/\s|[^\u0000-\u007F]/.test(e))return e;return e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent)}function FG(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 Mi(){throw Error("Invariant failed")}function YM(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 qM=4,YG=5;function Uxe(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 VF(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=Uxe(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,x=m;if(M<x)return a[0]=3,a[1]=r+c,a[2]=r+M,a[3]=r+x,a[4]=r+m+1,a[5]=f,a}}else if(g===36){let M=c+1,x=c+2;if(x===m)return a[0]=2,a[1]=r+c,a[2]=r+M,a[3]=r+x,a[4]=r+m+1,a[5]=e.length,a;return a[0]=1,a[1]=r+c,a[2]=r+x,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 ID(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,x=a.options?.params?.parse??a.options?.parseParams;while(c<g){let y=VF(m,c,r),_,z=c,F=y[5];switch(c=F+1,s++,y[0]){case 0:{let k=m.substring(y[2],y[3]);if(M){let I=f.static?.get(k);if(I)_=I;else{f.static??=new Map;let Y=vz(a.fullPath??a.from);Y.parent=f,Y.depth=s,_=Y,f.static.set(k,Y)}}else{let I=k.toLowerCase(),Y=f.staticInsensitive?.get(I);if(Y)_=Y;else{f.staticInsensitive??=new Map;let W=vz(a.fullPath??a.from);W.parent=f,W.depth=s,_=W,f.staticInsensitive.set(I,W)}}break}case 1:{let k=m.substring(z,y[1]),I=m.substring(y[4],F),Y=M&&!!(k||I),W=!k?void 0:Y?k:k.toLowerCase(),X=!I?void 0:Y?I:I.toLowerCase(),J=!x&&f.dynamic?.find((ee)=>!ee.parse&&ee.caseSensitive===Y&&ee.prefix===W&&ee.suffix===X);if(J)_=J;else{let ee=qF(1,a.fullPath??a.from,Y,W,X);_=ee,ee.depth=s,ee.parent=f,f.dynamic??=[],f.dynamic.push(ee)}break}case 3:{let k=m.substring(z,y[1]),I=m.substring(y[4],F),Y=M&&!!(k||I),W=!k?void 0:Y?k:k.toLowerCase(),X=!I?void 0:Y?I:I.toLowerCase(),J=!x&&f.optional?.find((ee)=>!ee.parse&&ee.caseSensitive===Y&&ee.prefix===W&&ee.suffix===X);if(J)_=J;else{let ee=qF(3,a.fullPath??a.from,Y,W,X);_=ee,ee.parent=f,ee.depth=s,f.optional??=[],f.optional.push(ee)}break}case 2:{let k=m.substring(z,y[1]),I=m.substring(y[4],F),Y=M&&!!(k||I),W=!k?void 0:Y?k:k.toLowerCase(),X=!I?void 0:Y?I:I.toLowerCase(),J=qF(2,a.fullPath??a.from,Y,W,X);_=J,J.parent=f,J.depth=s,f.wildcard??=[],f.wildcard.push(J)}}f=_}if(x&&a.children&&!a.isRoot&&a.id&&a.id.charCodeAt(a.id.lastIndexOf("/")+1)===95){let y=vz(a.fullPath??a.from);y.kind=YG,y.parent=f,s++,y.depth=s,f.pathless??=[],f.pathless.push(y),f=y}let b=(a.path||!a.children)&&!a.isRoot;if(b&&m.endsWith("/")){let y=vz(a.fullPath??a.from);y.kind=qM,y.parent=f,s++,y.depth=s,f.index=y,f=y}if(f.parse=x??null,f.priority=a.options?.params?.priority??0,b&&!f.route)f.route=a,f.fullPath=a.fullPath??a.from}if(a.children)for(let m of a.children)ID(e,r,m,c,f,s,l)}function UF(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 UM(e){if(e.pathless)for(let r of e.pathless)UM(r);if(e.static)for(let r of e.static.values())UM(r);if(e.staticInsensitive)for(let r of e.staticInsensitive.values())UM(r);if(e.dynamic?.length){e.dynamic.sort(UF);for(let r of e.dynamic)UM(r)}if(e.optional?.length){e.optional.sort(UF);for(let r of e.optional)UM(r)}if(e.wildcard?.length){e.wildcard.sort(UF);for(let r of e.wildcard)UM(r)}}function vz(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 qF(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 UG(e,r){let a=vz("/"),i=new Uint16Array(6);for(let f of e)ID(!1,i,f,1,a,0);UM(a),r.masksTree=a,r.flatCache=YM(1000)}function qG(e,r){e||="/";let a=r.flatCache.get(e);if(a)return a;let i=HF(e,r.masksTree);return r.flatCache.set(e,i),i}function VG(e,r,a,i,f){e||="/",i||="/";let s=r?`case\x00${e}`:e,l=f.singleCache.get(s);if(!l)l=vz("/"),ID(r,new Uint16Array(6),{from:e},1,l,0),f.singleCache.set(s,l);return HF(i,l,a)}function HG(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=HF(e,r.segmentTree,a)}catch(l){if(l instanceof URIError)s=null;else throw l}if(s)s.branch=WF(s.route);return r.matchCache.set(i,s),s}function qxe(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function WG(e,r=!1,a){let i=vz(e.fullPath),f=new Uint16Array(6),s={},l={},c=0;return ID(r,f,e,1,i,0,(m)=>{if(a?.(m,c),m.id in s)Mi();if(s[m.id]=m,c!==0&&m.path){let g=qxe(m.fullPath);if(!l[g]||m.fullPath.endsWith("/"))l[g]=m}c++}),UM(i),{processedTree:{segmentTree:i,singleCache:YM(1000),matchCache:YM(1000),flatCache:null,masksTree:null},routesById:s,routesByPath:l}}function HF(e,r,a=!1){let i=e.split("/"),f=Hxe(e,i,r,a);if(!f)return null;let[s]=GG(e,i,f);return{route:f.node.route,rawParams:s}}function GG(e,r,a){let i=Vxe(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===qM)break;if(M.kind===YG){g--,l--,m--;continue}let x=r[l],b=m;if(x)m+=x.length;if(M.kind===1){f??=a.node.fullPath.split("/");let y=f[g],_=M.prefix?.length??0;if(y.charCodeAt(_)===123){let z=M.suffix?.length??0,F=y.substring(_+2,y.length-z-1),k=x.substring(_,x.length-z);s[F]=decodeURIComponent(k)}else{let z=y.substring(1);s[z]=decodeURIComponent(x)}}else if(M.kind===3){if(a.skipped&1<<c){l--,m=b-1;continue}f??=a.node.fullPath.split("/");let y=f[g],_=M.prefix?.length??0,z=M.suffix?.length??0,F=y.substring(_+3,y.length-z-1),k=M.suffix||M.prefix?x.substring(_,x.length-z):x;if(k)s[F]=decodeURIComponent(k)}else if(M.kind===2){let y=M,_=e.substring(b+(y.prefix?.length??0),e.length-(y.suffix?.length??0)),z=decodeURIComponent(_);s["*"]=z,s._splat=z;break}}if(a.rawParams)Object.assign(s,a.rawParams);return[s,{part:l,node:c,path:m,segment:g}]}function WF(e){let r=[e];while(e.parentRoute)e=e.parentRoute,r.push(e);return r.reverse(),r}function Vxe(e){let r=Array(e.depth+1);do r[e.depth]=e,e=e.parent;while(e);return r}function Hxe(e,r,a,i){if(e==="/"&&a.index)return{node:a.index,skipped:0};let f=!jM(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:x,index:b,skipped:y,depth:_,statics:z,dynamics:F,optionals:k}=M,{extract:I,rawParams:Y}=M;if(x.kind===2&&x.route&&!kD(g,M))continue;if(x.parse){if(!BG(e,r,M))continue;Y=M.rawParams,I=M.extract}if(i&&x.route&&x.kind!==qM&&kD(m,M))m=M;let W=b===l;if(W){if(x.route&&(!s||x.kind===qM||x.kind===2)&&kD(g,M))g=M;if(!x.optional&&!x.wildcard&&!x.index&&!x.pathless)continue}let X=W?void 0:r[b],J;if(W&&x.index){let ee={node:x.index,index:b,skipped:y,depth:_+1,statics:z,dynamics:F,optionals:k,extract:I,rawParams:Y},ae=!0;if(x.index.parse){if(!BG(e,r,ee))ae=!1}if(ae){if(!F&&!k&&!y&&Wxe(z,l))return ee;if(kD(g,ee))g=ee}}if(x.wildcard)for(let ee=x.wildcard.length-1;ee>=0;ee--){let ae=x.wildcard[ee],{prefix:ne,suffix:xe}=ae;if(ne){if(W)continue;if(!(ae.caseSensitive?X:J??=X.toLowerCase()).startsWith(ne))continue}if(xe){if(W)continue;let Qe=r.slice(b).join("/").slice(-xe.length);if((ae.caseSensitive?Qe:Qe.toLowerCase())!==xe)continue}c.push({node:ae,index:l,skipped:y,depth:_+1,statics:z,dynamics:F,optionals:k,extract:I,rawParams:Y})}if(x.optional){let ee=y|1<<_,ae=_+1;for(let ne=x.optional.length-1;ne>=0;ne--){let xe=x.optional[ne];c.push({node:xe,index:b,skipped:ee,depth:ae,statics:z,dynamics:F,optionals:k,extract:I,rawParams:Y})}if(!W)for(let ne=x.optional.length-1;ne>=0;ne--){let xe=x.optional[ne],{prefix:Qe,suffix:Fe}=xe;if(Qe||Fe){let ye=xe.caseSensitive?X:J??=X.toLowerCase();if(Qe&&!ye.startsWith(Qe))continue;if(Fe&&!ye.endsWith(Fe))continue}c.push({node:xe,index:b+1,skipped:y,depth:ae,statics:z,dynamics:F,optionals:k+LD(l,b),extract:I,rawParams:Y})}}if(!W&&x.dynamic&&X)for(let ee=x.dynamic.length-1;ee>=0;ee--){let ae=x.dynamic[ee],{prefix:ne,suffix:xe}=ae;if(ne||xe){let Qe=ae.caseSensitive?X:J??=X.toLowerCase();if(ne&&!Qe.startsWith(ne))continue;if(xe&&!Qe.endsWith(xe))continue}c.push({node:ae,index:b+1,skipped:y,depth:_+1,statics:z,dynamics:F+LD(l,b),optionals:k,extract:I,rawParams:Y})}if(!W&&x.staticInsensitive){let ee=x.staticInsensitive.get(J??=X.toLowerCase());if(ee)c.push({node:ee,index:b+1,skipped:y,depth:_+1,statics:z+LD(l,b),dynamics:F,optionals:k,extract:I,rawParams:Y})}if(!W&&x.static){let ee=x.static.get(X);if(ee)c.push({node:ee,index:b+1,skipped:y,depth:_+1,statics:z+LD(l,b),dynamics:F,optionals:k,extract:I,rawParams:Y})}if(x.pathless){let ee=_+1;for(let ae=x.pathless.length-1;ae>=0;ae--){let ne=x.pathless[ae];c.push({node:ne,index:b,skipped:y,depth:ee,statics:z,dynamics:F,optionals:k,extract:I,rawParams:Y})}}}if(g)return g;if(i&&m){let M=m.index;for(let b=0;b<m.index;b++)M+=r[b].length;let x=M===e.length?"/":e.slice(M);return m.rawParams??=Object.create(null),m.rawParams["**"]=decodeURIComponent(x),m}return null}function LD(e,r){return 2**(e-r-1)}function Wxe(e,r){return e===2**(r-1)-1}function BG(e,r,a){let i,f;try{[i,f]=GG(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 kD(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===qM)>(e.node.kind===qM)||r.node.kind===qM===(e.node.kind===qM)&&r.depth>e.depth)))}function HM(e){return hk(e.filter((r)=>r!==void 0).join("/"))}function hk(e){return e.replace(/\/{2,}/g,"/")}function wR(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function zl(e){let r=e.length;return r>1&&e[r-1]==="/"?e.replace(/\/{1,}$/,""):e}function gk(e){return zl(wR(e))}function VM(e,r){if(e?.endsWith("/")&&e!=="/"&&e!==`${r}/`)return e.slice(0,-1);return e}function CD(e,r,a){return VM(e,a)===VM(r,a)}function RD({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&&jM(c)==="")c.pop();let g=r.split("/");for(let M=0,x=g.length;M<x;M++){let b=g[M];if(b===""){if(!M)c=[b];else if(M===x-1)c.push(b)}else if(b==="..")c.pop();else if(b===".");else c.push(b)}}if(c.length>1){if(jM(c)===""){if(a==="never")c.pop()}else if(a==="always")c.push("")}let m=hk(c.join("/"))||"/";if(l&&i)i.set(l,m);return m}function XG(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 _R(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)=>KG(f,a)).join("/")}else return KG(i,a)}function zR({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($r??i.server){if(e.indexOf("{")===-1){let M=e.length,x=0,b="";while(x<M){while(x<M&&e.charCodeAt(x)===47)x++;if(x>=M)break;let y=x,_=e.indexOf("/",x);if(_===-1)_=M;x=_;let z=e.substring(y,_);if(!z)continue;if(z.charCodeAt(0)===36)if(z.length===1){let F=r._splat;if(s._splat=F,s["*"]=F,!F){f=!0;continue}let k=_R("_splat",r,a);b+="/"+k}else{let F=z.substring(1);if(!f&&!(F in r))f=!0;s[F]=r[F];let k=_R(F,r,a)??"undefined";b+="/"+k}else b+="/"+z}if(e.endsWith("/"))b+="/";return{usedParams:s,interpolatedPath:b||"/",isMissingParams:f}}}let l=e.length,c=0,m,g="";while(c<l){let M=c;m=VF(e,M,m);let x=m[5];if(c=x+1,M===x)continue;let b=m[0];if(b===0){g+="/"+e.substring(M,x);continue}if(b===2){let y=r._splat;s._splat=y,s["*"]=y;let _=e.substring(M,m[1]),z=e.substring(m[4],x);if(!y){if(f=!0,_||z)g+="/"+_+z;continue}let F=_R("_splat",r,a);g+="/"+_+F+z;continue}if(b===1){let y=e.substring(m[2],m[3]);if(!f&&!(y in r))f=!0;s[y]=r[y];let _=e.substring(M,m[1]),z=e.substring(m[4],x),F=_R(y,r,a)??"undefined";g+="/"+_+F+z;continue}if(b===3){let y=e.substring(m[2],m[3]),_=r[y];if(_==null)continue;s[y]=_;let z=e.substring(M,m[1]),F=e.substring(m[4],x),k=_R(y,r,a)??"";g+="/"+z+k+F;continue}}if(e.endsWith("/"))g+="/";return{usedParams:s,interpolatedPath:g||"/",isMissingParams:f}}function KG(e,r){let a=encodeURIComponent(e);return r?.(a)??a}function Ba(e){return e?.isNotFound===!0}function QG(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 GF(e){if(!e)return"";if(e==="false")return!1;if(e==="true")return!0;return+e*0===0&&+e+""===e?+e:e}function JG(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]=GF(f);else if(Array.isArray(s))s.push(GF(f));else a[i]=[s,GF(f)]}return a}var KF=$G(JSON.parse),XF=eK(JSON.stringify,JSON.parse);function $G(e){return(r)=>{if(r[0]==="?")r=r.substring(1);let a=JG(r);for(let i in a){let f=a[i];if(typeof f==="string")try{a[i]=e(f)}catch(s){}}return a}}function eK(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=QG(f,i);return s?`?${s}`:""}}var Gs="__root__";function ql(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 vi(e){return e instanceof Response&&!!e.options}function QF(e){return{input:({url:r})=>{for(let a of e)r=PD(a,r);return r},output:({url:r})=>{for(let a=e.length-1;a>=0;a--)r=JF(e[a],r);return r}}}function tK(e){let r=gk(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=HM(["/",r,s.pathname]),s)}}function PD(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 JF(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 t3(e){let r=e;return{get(){return r},set(a){r=Ws(a,r)}}}function r3(e){return{get(){return e()}}}function rK(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),x=a(e.isLoading),b=a(e.isTransitioning),y=a(e.location),_=a(e.resolvedLocation),z=a(e.statusCode),F=a(e.redirect),k=a([]),I=a([]),Y=a([]),W=i(()=>$F(l,k.get())),X=i(()=>$F(c,I.get())),J=i(()=>$F(m,Y.get())),ee=i(()=>k.get()[0]),ae=i(()=>k.get().some((pt)=>l.get(pt)?.get().status==="pending")),ne=i(()=>({locationHref:y.get().href,resolvedLocationHref:_.get()?.href,status:g.get()})),xe=i(()=>({status:g.get(),loadedAt:M.get(),isLoading:x.get(),isTransitioning:b.get(),matches:W.get(),location:y.get(),resolvedLocation:_.get(),statusCode:z.get(),redirect:F.get()})),Qe=YM(64);function Fe(pt){let Bt=Qe.get(pt);if(!Bt)Bt=i(()=>{let Wt=k.get();for(let le of Wt){let mt=l.get(le);if(mt&&mt.routeId===pt)return mt.get()}}),Qe.set(pt,Bt);return Bt}let ye={status:g,loadedAt:M,isLoading:x,isTransitioning:b,location:y,resolvedLocation:_,statusCode:z,redirect:F,matchesId:k,pendingIds:I,cachedIds:Y,matches:W,pendingMatches:X,cachedMatches:J,firstId:ee,hasPending:ae,matchRouteDeps:ne,matchStores:l,pendingMatchStores:c,cachedMatchStores:m,__store:xe,getRouteMatchStore:Fe,setMatches:Ve,setPending:dt,setCached:lt};Ve(e.matches),s?.(ye);function Ve(pt){e3(pt,l,k,a,f)}function dt(pt){e3(pt,c,I,a,f)}function lt(pt){e3(pt,m,Y,a,f)}return ye}function $F(e,r){let a=[];for(let i of r){let f=e.get(i);if(f)a.push(f.get())}return a}function e3(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(!FG(a.get(),s))a.set(s)})}function Gxe(){try{return sessionStorage}catch{return}}var Kxe="tsr-scroll-restoration-v1_3",nK=Gxe();function Xxe(){try{return JSON.parse(nK?.getItem("tsr-scroll-restoration-v1_3")||"{}")}catch{return{}}}function Qxe(){try{nK?.setItem(Kxe,JSON.stringify(Mk))}catch{}}var Mk=Xxe(),oK="data-scroll-restoration-id",Jxe=(e)=>e.state.__TSR_key||e.href;function $xe(e){let r=e.getAttribute(oK);if(r)return`[${oK}="${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 TD=!1,vk="window";function o3(e){try{return typeof e==="function"?e():document.querySelector(e)}catch{}}function aK(e){let r=[];for(let a of e){if(a===vk)continue;let i=o3(a);if(i)r.push(i)}return r}function iK(e,r){if(r??e.options.scrollRestoration)e.isScrollRestoring=!0;if(($r??e.isServer)||e.isScrollRestorationSetup)return;e.isScrollRestorationSetup=!0,TD=!1;let a=e.options.getScrollRestorationKey||Jxe,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(TD||!e.isScrollRestoring)return;if(c.target===document)f(vk,scrollX,scrollY);else{let m=c.target;f(m,m.scrollLeft,m.scrollTop)}},l=(c)=>{if(!e.isScrollRestoring)return;let m=Mk[c]||={};for(let[g,M]of i)if(g===vk)m[vk]=M;else if(g.isConnected)m[$xe(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())),Qxe()}),e.subscribe("onRendered",(c)=>{let m=e.options.scrollRestorationBehavior,g=e.options.scrollToTopSelectors,M=e.resetNextScroll,x;if(i.clear(),!M)e.resetNextScroll=!0;if(typeof e.options.scrollRestoration==="function"&&!e.options.scrollRestoration({location:e.latestLocation}))return;let b=a(c.toLocation),y=c.fromLocation&&a(c.fromLocation);if(e.isScrollRestoring&&y&&y!==b){let _=Mk[y];if(_){let z=Mk[b];for(let F in _){if(F===vk){if(M)continue}else{let k=o3(F);if(!k)continue;if(M&&g){if(x??=aK(g),x.includes(k))continue}}if(!z)z=Mk[b]={};z[F]??=_[F]}}}TD=!0;try{let _=c.toLocation.hash,z=c.toLocation.state.__hashScrollIntoViewOptions??!0,F=!1;if(M){let k=AD.get(c.toLocation),I=_&&z&&(k==="PUSH"||k==="REPLACE"),Y=e.isScrollRestoring?Mk[b]:void 0;if(Y)for(let W in Y){let{scrollX:X,scrollY:J}=Y[W];if(W===vk){if(I)continue;scrollTo({top:J,left:X,behavior:m}),F=!0}else{let ee=o3(W);if(ee)ee.scrollLeft=X,ee.scrollTop=J}}if(!F&&!_){let W={top:0,left:0,behavior:m};if(scrollTo(W),g){x??=aK(g);for(let X of x)X.scrollTo(W)}}}if(!F&&_&&z)document.getElementById(_)?.scrollIntoView(z)}finally{TD=!1}})}var a3=(e)=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},eye=(e)=>e.stores.matchesId.get().some((r)=>e.stores.matchStores.get(r)?.get()._forcePending),OD=(e,r)=>!!(e.preload&&!e.router.stores.matchStores.has(r)),xz=(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},fK=(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},WM=(e,r,a)=>{if(!vi(a)&&!Ba(a))return;if(vi(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:vi(a)?"redirected":Ba(a)?"notFound":i.status==="pending"?"success":i.status,context:xz(e,r.index),isFetching:!1,error:a})),Ba(a)&&!a.routeId)a.routeId=r.routeId;r._nonReactive.loadPromise?.resolve()}if(vi(a))e.rendered=!0,a.options._fromLocation=e.location,a.redirectHandled=!0,a=e.router.resolveRedirect(a);throw a},uK=(e,r)=>{let a=e.router.getMatch(r);if(!a)return!0;if(!($r??e.router.isServer)&&a._nonReactive.dehydrated)return!0;if(($r??e.router.isServer)&&a.ssr===!1)return!0;return!1},sK=(e,r,a)=>{let i=xz(e,a);e.updateMatch(r,(f)=>({...f,context:i}))},SR=(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,WM(e,e.router.getMatch(i),a);try{s.options.onError?.(a)}catch(l){a=l,WM(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&&!vi(a)&&!Ba(a))e.serialError??=a},tye=(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===Gs;return}if(l?.ssr===!1){f.ssr=!1;return}let c=(y)=>{if(y===!0&&l?.ssr==="data-only")return"data-only";return y},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,x={search:DD(g,f.searchError),params:DD(M,f.paramsError),location:e.location,matches:e.matches.map((y)=>({index:y.index,pathname:y.pathname,fullPath:y.fullPath,staticData:y.staticData,id:y.id,routeId:y.routeId,search:DD(y.search,y.searchError),params:DD(y.params,y.paramsError),ssr:y.ssr}))},b=i.options.ssr(x);if(BM(b))return b.then((y)=>{f.ssr=c(y??m)});f.ssr=c(b??m)},dK=(e,r,a,i)=>{if(i._nonReactive.pendingTimeout!==void 0)return;let f=a.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!($r??e.router.isServer)&&!OD(e,r)&&(a.options.loader||a.options.beforeLoad||i3(a))&&typeof f==="number"&&f!==1/0&&(a.options.pendingComponent??e.router.options?.defaultPendingComponent)){let s=setTimeout(()=>{a3(e)},f);i._nonReactive.pendingTimeout=s}},rye=(e,r,a)=>{let i=e.router.getMatch(r);if(!i._nonReactive.beforeLoadPromise&&!i._nonReactive.loaderPromise)return;dK(e,r,a,i);let f=()=>{let s=e.router.getMatch(r);if(s.preload&&(s.status==="redirected"||s.status==="notFound"))WM(e,s,s.error)};return i._nonReactive.beforeLoadPromise?i._nonReactive.beforeLoadPromise.then(f):f()},oye=(e,r,a,i)=>{let f=e.router.getMatch(r),s=f._nonReactive.loadPromise;f._nonReactive.loadPromise=zd(()=>{s?.resolve(),s=void 0});let{paramsError:l,searchError:c}=f;if(l)SR(e,a,l);if(c)SR(e,a,c);dK(e,r,i,f);let m=new AbortController,g=!1,M=()=>{if(g)return;g=!0,e.updateMatch(r,(W)=>({...W,isFetching:"beforeLoad",fetchCount:W.fetchCount+1,abortController:m}))},x=()=>{f._nonReactive.beforeLoadPromise?.resolve(),f._nonReactive.beforeLoadPromise=void 0,e.updateMatch(r,(W)=>({...W,isFetching:!1}))};if(!i.options.beforeLoad){e.router.batch(()=>{M(),x()});return}f._nonReactive.beforeLoadPromise=zd();let b={...xz(e,a,!1),...f.__routeContext},{search:y,params:_,cause:z}=f,F=OD(e,r),k={search:y,abortController:m,params:_,preload:F,context:b,location:e.location,navigate:(W)=>e.router.navigate({...W,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:F?"preload":z,matches:e.matches,routeId:i.id,...e.router.options.additionalContext},I=(W)=>{if(W===void 0){e.router.batch(()=>{M(),x()});return}if(vi(W)||Ba(W))M(),SR(e,a,W);e.router.batch(()=>{M(),e.updateMatch(r,(X)=>({...X,__beforeLoadContext:W})),x()})},Y;try{if(Y=i.options.beforeLoad(k),BM(Y))return M(),Y.catch((W)=>{SR(e,a,W)}).then(I)}catch(W){M(),SR(e,a,W)}I(Y)},aye=(e,r)=>{let{id:a,routeId:i}=e.matches[r],f=e.router.looseRoutesById[i],s=()=>{if($r??e.router.isServer){let m=tye(e,a,r,f);if(BM(m))return m.then(c)}return c()},l=()=>oye(e,a,r,f),c=()=>{if(uK(e,a))return;let m=rye(e,a,f);return BM(m)?m.then(l):l()};return s()},nye=(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}))},ZK=(e,r,a,i,f)=>{let s=r[i-1],{params:l,loaderDeps:c,abortController:m,cause:g}=e.router.getMatch(a),M=xz(e,i),x=OD(e,a);return{params:l,deps:c,preload:!!x,parentMatchPromise:s,abortController:m,context:M,location:e.location,navigate:(b)=>e.router.navigate({...b,_fromLocation:e.location}),cause:x?"preload":g,route:f,...e.router.options.additionalContext}},lK=async(e,r,a,i,f)=>{try{let s=e.router.getMatch(a);try{if(!($r??e.router.isServer)||s.ssr===!0)xk(f);let l=f.options.loader,c=typeof l==="function"?l:l?.handler,m=c?.(ZK(e,r,a,i,f)),g=!!c&&BM(m);if(g||f._lazyPromise||f._componentsPromise||f.options.head||f.options.scripts||f.options.headers||s._nonReactive.minPendingPromise)e.updateMatch(a,(x)=>({...x,isFetching:"loader"}));if(c){let x=g?await m:m;if(WM(e,e.router.getMatch(a),x),x!==void 0)e.updateMatch(a,(b)=>({...b,loaderData:x}))}if(f._lazyPromise)await f._lazyPromise;let M=s._nonReactive.minPendingPromise;if(M)await M;if(f._componentsPromise)await f._componentsPromise;e.updateMatch(a,(x)=>({...x,error:void 0,context:xz(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:xz(e,i)}));return}let m=s._nonReactive.minPendingPromise;if(m)await m;if(Ba(l))await f.options.notFoundComponent?.preload?.();WM(e,e.router.getMatch(a),l);try{f.options.onError?.(l)}catch(g){c=g,WM(e,e.router.getMatch(a),g)}if(!vi(c)&&!Ba(c))await xk(f,["errorComponent"]);e.updateMatch(a,(g)=>({...g,error:c,context:xz(e,i),status:"error",isFetching:!1}))}}catch(s){let l=e.router.getMatch(a);if(l)l._nonReactive.loaderPromise=void 0;WM(e,l,s)}},iye=async(e,r,a)=>{async function i(y,_,z,F,k){let I=Date.now()-_.updatedAt,Y=y?k.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??30000:k.options.staleTime??e.router.options.defaultStaleTime??0,W=k.options.shouldReload,X=typeof W==="function"?W(ZK(e,r,f,a,k)):W,{status:J,invalid:ee}=F,ae=I>=Y&&(!!e.forceStaleReload||F.cause==="enter"||z!==void 0&&z!==F.id);if(l=J==="success"&&(ee||(X??ae)),y&&k.options.preload===!1);else if(l&&!e.sync&&M)c=!0,(async()=>{try{await lK(e,r,f,a,k);let ne=e.router.getMatch(f);ne._nonReactive.loaderPromise?.resolve(),ne._nonReactive.loadPromise?.resolve(),ne._nonReactive.loaderPromise=void 0,ne._nonReactive.loadPromise=void 0}catch(ne){if(vi(ne))await e.router.navigate(ne.options)}})();else if(J!=="success"||l)await lK(e,r,f,a,k);else sK(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(uK(e,f)){if(!e.router.getMatch(f))return e.matches[a];if(sK(e,f,a),$r??e.router.isServer)return e.router.getMatch(f)}else{let y=e.router.getMatch(f),_=e.router.stores.matchesId.get()[a],z=(_&&e.router.stores.matchStores.get(_)||null)?.routeId===s?_:e.router.stores.matches.get().find((k)=>k.routeId===s)?.id,F=OD(e,f);if(y._nonReactive.loaderPromise){if(y.status==="success"&&!e.sync&&!y.preload&&M)return y;await y._nonReactive.loaderPromise;let k=e.router.getMatch(f),I=k._nonReactive.error||k.error;if(I)WM(e,k,I);if(k.status==="pending")await i(F,y,z,k,m)}else{let k=F&&!e.router.stores.matchStores.has(f),I=e.router.getMatch(f);if(I._nonReactive.loaderPromise=zd(),k!==I.preload)e.updateMatch(f,(Y)=>({...Y,preload:k}));await i(F,y,z,I,m)}}let x=e.router.getMatch(f);if(!c)x._nonReactive.loaderPromise?.resolve(),x._nonReactive.loadPromise?.resolve(),x._nonReactive.loadPromise=void 0;if(clearTimeout(x._nonReactive.pendingTimeout),x._nonReactive.pendingTimeout=void 0,!c)x._nonReactive.loaderPromise=void 0;x._nonReactive.dehydrated=void 0;let b=c?x.isFetching:!1;if(b!==x.isFetching||x.invalid!==!1)return e.updateMatch(f,(y)=>({...y,isFetching:b,invalid:!1})),e.router.getMatch(f);else return x};async function n3(e){let r=e,a=[];if(!($r??r.router.isServer)&&eye(r.router))a3(r);let i;for(let b=0;b<r.matches.length;b++){try{let y=aye(r,b);if(BM(y))await y}catch(y){if(vi(y))throw y;if(Ba(y))i=y;else if(!r.preload)throw y;break}if(r.serialError||r.firstBadMatchIndex!=null)break}let f=r.firstBadMatchIndex??r.matches.length,s=i&&!r.preload?fK(r,i):void 0,l=i&&r.preload?0:s!==void 0?Math.min(s+1,f):f,c,m;for(let b=0;b<l;b++)a.push(iye(r,a,b));try{await Promise.all(a)}catch{let b=await Promise.allSettled(a);for(let y of b){if(y.status!=="rejected")continue;let _=y.reason;if(vi(_))throw _;if(Ba(_))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 b=fK(r,g);if(b===void 0)Mi();let y=r.matches[b],_=r.router.looseRoutesById[y.routeId],z=r.router.options?.defaultNotFoundComponent;if(!_.options.notFoundComponent&&z)_.options.notFoundComponent=z;g.routeId=y.routeId;let F=y.routeId===r.router.routeTree.id;r.updateMatch(y.id,(k)=>({...k,...F?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:g},isFetching:!1})),M=b,await xk(_,["notFoundComponent"])}else if(!r.preload){let b=r.matches[0];if(!b.globalNotFound){if(r.router.getMatch(b.id)?.globalNotFound)r.updateMatch(b.id,(y)=>({...y,globalNotFound:!1,error:void 0}))}}if(r.serialError&&r.firstBadMatchIndex!==void 0){let b=r.router.looseRoutesById[r.matches[r.firstBadMatchIndex].routeId];await xk(b,["errorComponent"])}for(let b=0;b<=M;b++){let{id:y,routeId:_}=r.matches[b],z=r.router.looseRoutesById[_];try{let F=nye(r,y,z);if(F){let k=await F;r.updateMatch(y,(I)=>({...I,...k}))}}catch(F){console.error(`Error executing head for route ${_}:`,F)}}let x=a3(r);if(BM(x))await x;if(g)throw g;if(r.serialError&&!r.preload&&!r.onReady)throw r.serialError;return r.matches}function cK(e,r){let a=r.map((i)=>e.options[i]?.preload?.()).filter(Boolean);if(a.length===0)return;return Promise.all(a)}function xk(e,r=ED){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===ED?(()=>{if(e._componentsPromise===void 0){let i=cK(e,ED);if(i)e._componentsPromise=i.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0});else e._componentsLoaded=!0}return e._componentsPromise})():cK(e,r);return e._lazyPromise?e._lazyPromise.then(a):a()}function DD(e,r){if(r)return{status:"error",error:r};return{status:"success",value:e}}function i3(e){for(let r of ED)if(e.options[r]?.preload)return!0;return!1}var ED=["component","errorComponent","pendingComponent","notFoundComponent"];var GM="__TSR_index",pK="popstate",mK="beforeunload";function fye(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 x of g){let b=LR(m.path,m.state);if(await x.blockerFn({currentLocation:r,nextLocation:b,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[GM];c=hK(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[GM];c=hK(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[GM]!==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 hK(e,r){if(!r)r={};let a=f3();return{...r,key:a,__TSR_key:a,[GM]:e}}function gK(e){let r=e?.window??(typeof document<"u"?window:void 0),a=r.history.pushState,i=r.history.replaceState,f=[],s=()=>f,l=(ae)=>f=ae,c=e?.createHref??((ae)=>ae),m=e?.parseLocation??(()=>LR(`${r.location.pathname}${r.location.search}${r.location.hash}`,r.history.state));if(!r.history.state?.__TSR_key&&!r.history.state?.key){let ae=f3();r.history.replaceState({[GM]:0,key:ae,__TSR_key:ae},"")}let g=m(),M,x=!1,b=!1,y=!1,_=!1,z=()=>g,F,k,I=()=>{if(!F)return;ee._ignoreSubscribers=!0,(F.isPush?r.history.pushState:r.history.replaceState)(F.state,"",F.href),ee._ignoreSubscribers=!1,F=void 0,k=void 0,M=void 0},Y=(ae,ne,xe)=>{let Qe=c(ne);if(!k)M=g;if(g=LR(ne,xe),F={href:Qe,state:xe,isPush:F?.isPush||ae==="push"},!k)k=Promise.resolve().then(()=>I())},W=(ae)=>{g=m(),ee.notify({type:ae})},X=async()=>{if(b){b=!1;return}let ae=m(),ne=ae.state[GM]-g.state[GM],xe=ne===1,Qe=ne===-1,Fe=!xe&&!Qe||x;x=!1;let ye=Fe?"GO":Qe?"BACK":"FORWARD",Ve=Fe?{type:"GO",index:ne}:{type:Qe?"BACK":"FORWARD"};if(y)y=!1;else{let dt=s();if(typeof document<"u"&&dt.length){for(let lt of dt)if(await lt.blockerFn({currentLocation:g,nextLocation:ae,action:ye})){b=!0,r.history.go(1),ee.notify(Ve);return}}}g=m(),ee.notify(Ve)},J=(ae)=>{if(_){_=!1;return}let ne=!1,xe=s();if(typeof document<"u"&&xe.length)for(let Qe of xe){let Fe=Qe.enableBeforeUnload??!0;if(Fe===!0){ne=!0;break}if(typeof Fe==="function"&&Fe()===!0){ne=!0;break}}if(ne)return ae.preventDefault(),ae.returnValue=""},ee=fye({getLocation:z,getLength:()=>r.history.length,pushState:(ae,ne)=>Y("push",ae,ne),replaceState:(ae,ne)=>Y("replace",ae,ne),back:(ae)=>{if(ae)y=!0;return _=!0,r.history.back()},forward:(ae)=>{if(ae)y=!0;_=!0,r.history.forward()},go:(ae)=>{x=!0,r.history.go(ae)},createHref:(ae)=>c(ae),flush:I,destroy:()=>{r.history.pushState=a,r.history.replaceState=i,r.removeEventListener(mK,J,{capture:!0}),r.removeEventListener(pK,X)},onBlocked:()=>{if(M&&g!==M)g=M},getBlockers:s,setBlockers:l,notifyOnIndexChange:!1});return r.addEventListener(mK,J,{capture:!0}),r.addEventListener(pK,X),r.history.pushState=function(...ae){let ne=a.apply(r.history,ae);if(!ee._ignoreSubscribers)W("PUSH");return ne},r.history.replaceState=function(...ae){let ne=i.apply(r.history,ae);if(!ee._ignoreSubscribers)W("REPLACE");return ne},ee}function sye(e){let r=e.replace(/[\x00-\x1f\x7f]/g,"");if(r.startsWith("//"))r="/"+r.replace(/^\/+/,"");return r}function LR(e,r){let a=sye(e),i=a.indexOf("#"),f=a.indexOf("?"),s=f3();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||{[GM]:0,key:s,__TSR_key:s}}}function f3(){return(Math.random()+1).toString(36).substring(7)}function XZ(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 AD=new WeakMap,s3=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=XG(this.options.pathParamsAllowedCharacters);if(!this.history||this.options.history&&this.options.history!==this.history)if(!this.options.history){if(!($r??this.isServer))this.history=gK()}else this.history=this.options.history;if(this.origin=this.options.origin,!this.origin)if(!($r??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(($r??this.isServer)&&!0&&globalThis.__TSR_CACHE__&&globalThis.__TSR_CACHE__.routeTree===this.routeTree){let x=globalThis.__TSR_CACHE__;this.resolvePathCache=x.resolvePathCache,M=x.processRouteTreeResult}else if(this.resolvePathCache=YM(1000),M=this.buildRouteTree(),($r??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=rK(xK(this.latestLocation),M),!($r??this.isServer))iK(this)}let c=!1,m=this.options.basepath??"/",g=this.options.rewrite;if(s||f!==m||l!==g){this.basepath=m;let M=[],x=gk(m);if(x&&x!=="/")M.push(tK({basepath:m}));if(g)M.push(g);if(this.rewrite=M.length===0?void 0:M.length===1?M[0]:QF(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=WG(this.routeTree,this.options.caseSensitive,(i,f)=>{i.init({originalIndex:f})});if(this.options.routeMasks)UG(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:x,state:b})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(m)){let k=this.options.parseSearch(g),I=this.options.stringifySearch(k);return{href:m+I+M,publicHref:m+I+M,pathname:mk(m).path,external:!1,searchStr:I,search:FM(i?.search,k),hash:mk(M.slice(1)).path,state:wl(i?.state,b)}}let y=new URL(x,this.origin),_=PD(this.rewrite,y),z=this.options.parseSearch(_.search),F=this.options.stringifySearch(z);return _.search=F,{href:_.href.replace(_.origin,""),publicHref:x,pathname:mk(_.pathname).path,external:!!this.rewrite&&_.origin!==this.origin,searchStr:F,search:FM(i?.search,z),hash:mk(_.hash.slice(1)).path,state:wl(i?.state,b)}},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)=>RD({base:a,to:i.includes("//")?hk(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)=>yK({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,x=Object.assign(Object.create(null),c.params),b=g?.charCodeAt(0)===47?"/":this.resolvePathWithBase(m,"."),y=g?this.resolvePathWithBase(b,g):b,_=s.params===!1||s.params===null?Object.create(null):(s.params??!0)===!0?x:Object.assign(x,Ws(s.params,x)),z=this.routesByPath[zl(y)],F;if(z)F=this.getRouteBranch(z);else if(y.includes("$"))F=[];else{let Qe=this.getMatchedRoutes(y);if(F=Qe.matchedRoutes,this.options.notFoundRoute&&(!Qe.foundRoute||Qe.foundRoute.path!=="/"&&Qe.routeParams["**"]))F=[...F,this.options.notFoundRoute]}if(F.length&&NM(_))for(let Qe of F){let Fe=Qe.options.params?.stringify??Qe.options.stringifyParams;if(Fe)try{Object.assign(_,Fe(_))}catch{}}let k=a.leaveParams?y:mk(zR({path:y,params:_,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path,I=M;if(a._includeValidateSearch&&this.options.search?.strict){let Qe={};F.forEach((Fe)=>{if(Fe.options.validateSearch)try{Object.assign(Qe,jD(Fe.options.validateSearch,{...Qe,...I}))}catch{}}),I=Qe}I=lye({search:I,dest:s,destRoutes:F,_includeValidateSearch:a._includeValidateSearch}),I=FM(M,I);let Y=this.options.stringifySearch(I),W=s.hash===!0?l.hash:s.hash?Ws(s.hash,l.hash):void 0,X=W?`#${W}`:"",J=s.state===!0?l.state:s.state?Ws(s.state,l.state):{};J=wl(l.state,J);let ee=`${k}${Y}${X}`,ae,ne,xe=!1;if(this.rewrite){let Qe=new URL(ee,this.origin),Fe=JF(this.rewrite,Qe);if(ae=Qe.href.replace(Qe.origin,""),Fe.origin!==this.origin)ne=Fe.href,xe=!0;else ne=Fe.pathname+Fe.search+Fe.hash}else ae=NG(ee),ne=ae;return{publicHref:ne,href:ae,pathname:k,search:I,searchStr:Y,state:J,hash:W??"",external:xe,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=qG(c.pathname,this.processedTree);if(M){Object.assign(g,M.rawParams);let{from:x,params:b,...y}=M.route,_=b===!1||b===null?Object.create(null):(b??!0)===!0?g:Object.assign(g,Ws(b,g));l={from:a.from,...y,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((x)=>{f.state[x]=this.latestLocation.state[x]});let M=Yc(f.state,this.latestLocation.state);return g.forEach((x)=>{delete f.state[x]}),M},c=zl(this.latestLocation.href)===zl(f.href),m=this.commitLocationPromise;if(this.commitLocationPromise=zd(()=>{m?.resolve(),m=void 0}),c&&l())this.load();else{let{maskedLocation:g,hashScrollIntoView:M,...x}=f;if(g){if(x={...g,state:{...g.state,__tempKey:void 0,__tempLocation:{...x,search:x.searchStr,state:{...x.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},x.unmaskOnReload??this.options.unmaskOnReload??!1)x.state.__tempKey=this.tempLocationKey}x.state.__hashScrollIntoViewOptions=M??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=a,s=f.replace?"REPLACE":"PUSH",this.history[s==="REPLACE"?"replace":"push"](x.publicHref,x.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 x=this.history.location.state.__TSR_index,b=LR(c,{__TSR_index:a?x:x+1}),y=new URL(b.pathname,this.origin);m.to=PD(this.rewrite,y).pathname,m.search=this.options.parseSearch(b.search),m.hash=b.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(vZ(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(),$r??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 ql({href:s});else throw ql({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)AD.set(this.latestLocation,i);else AD.delete(this.latestLocation);let M=this.latestLocation,x=XZ(M,this.stores.resolvedLocation.get());if(!this.stores.redirect.get())this.emit({type:"onBeforeNavigate",...x});this.emit({type:"onBeforeLoad",...x}),await n3({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 b=null,y=null,_=null,z=null;this.batch(()=>{let F=this.stores.pendingMatches.get(),k=F.length,I=this.stores.matches.get();b=k?I.filter((X)=>!this.stores.pendingMatchStores.has(X.id)):null;let Y=new Set;for(let X of this.stores.pendingMatchStores.values())if(X.routeId)Y.add(X.routeId);let W=new Set;for(let X of this.stores.matchStores.values())if(X.routeId)W.add(X.routeId);if(y=k?I.filter((X)=>!Y.has(X.routeId)):null,_=k?F.filter((X)=>!W.has(X.routeId)):null,z=k?F.filter((X)=>W.has(X.routeId)):I,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),k)this.stores.setMatches(F),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...b.filter((X)=>X.status!=="error"&&X.status!=="notFound"&&X.status!=="redirected")]),this.clearExpiredCache()});for(let[F,k]of[[y,"onLeave"],[_,"onEnter"],[z,"onStay"]]){if(!F)continue;for(let I of F)this.looseRoutesById[I.routeId].options[k]?.(I)}})})}})}catch(M){if(vi(M)){if(f=M,!($r??this.isServer))this.navigate({...f.options,replace:!0,ignoreBlocker:!0})}else if(Ba(M))s=M;let x=f?f.status:s?404:this.stores.matches.get().some((b)=>b.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(x),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(XZ(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&&vZ(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=xk,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 n3({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(vi(m)){if(m.options.reloadDocument)return;return await this.preloadRoute({...m.options,_fromLocation:i})}if(!Ba(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=VG(s.pathname,i?.caseSensitive??!1,i?.fuzzy??!1,l.pathname,this.processedTree);if(!c)return!1;if(a.params){if(!Yc(c.rawParams,a.params,{partial:!0}))return!1}if(i?.includeSearch??!0)return Yc(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??XF,parseSearch:e.parseSearch??KF,protocolAllowlist:e.protocolAllowlist??SD}),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=WF(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["**"]:zl(e.pathname))if(this.options.notFoundRoute)s=[...s,this.options.notFoundRoute];else l=!0;let c=l?uye(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 x=s[M],b=m[M-1],y,_,z;{let Fe=b?.search??e.search,ye=b?._strictSearch??void 0;try{let Ve=jD(x.options.validateSearch,{...Fe})??void 0;y={...Fe,...Ve},_={...ye,...Ve},z=void 0}catch(Ve){let dt=Ve;if(!(Ve instanceof yk))dt=new yk(Ve.message,{cause:Ve});if(r?.throwOnError)throw dt;y=Fe,_={},z=dt}}let F=x.options.loaderDeps?.({search:y})??"",k=F?JSON.stringify(F):"",{interpolatedPath:I,usedParams:Y}=zR({path:x.fullPath,params:f,decoder:this.pathParamsDecoder,server:this.isServer}),W=x.id+I+k,X=this.getMatch(W),J=g.get(x.id),ee=X?._strictParams??Y,ae=void 0;if(!X)try{MK(x,ee)}catch(Fe){if(Ba(Fe)||vi(Fe))ae=Fe;else ae=new vK(Fe.message,{cause:Fe});if(r?.throwOnError)throw ae}Object.assign(f,ee);let ne=J?"stay":"enter",xe;if(X)xe={...X,cause:ne,params:J?.params??f,_strictParams:ee,search:J?FM(J.search,y):FM(X.search,y),_strictSearch:_};else{let Fe=x.options.loader||x.options.beforeLoad||x.lazyFn||i3(x)?"pending":"success";xe={id:W,ssr:$r??this.isServer?void 0:x.options.ssr,index:M,routeId:x.id,params:J?.params??f,_strictParams:ee,pathname:I,updatedAt:Date.now(),search:J?FM(J.search,y):y,_strictSearch:_,searchError:void 0,status:Fe,isFetching:!1,error:void 0,paramsError:ae,__routeContext:void 0,_nonReactive:{loadPromise:zd()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:ne,loaderDeps:J?wl(J.loaderDeps,F):F,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:x.options.staticData||{},fullPath:x.fullPath}}if(!r?.preload)xe.globalNotFound=c===x.id;xe.searchError=z;let Qe=this.getParentContext(b);xe.context={...Qe,...xe.__routeContext,...xe.__beforeLoadContext},m[M]=xe}for(let M=0;M<m.length;M++){let x=m[M],b=this.looseRoutesById[x.routeId],y=this.getMatch(x.id),_=g.get(x.routeId);if(x.params=_?FM(_.params,f):f,!y){let z=m[M-1],F=this.getParentContext(z);if(b.options.context){let k={deps:x.loaderDeps,params:x.params,context:F??{},location:e,navigate:(I)=>this.navigate({...I,_fromLocation:e}),buildLocation:this.buildLocation,cause:x.cause,abortController:x.abortController,preload:!!x.preload,matches:m,routeId:b.id};x.__routeContext=b.options.context(k)??void 0}x.context={...F,...x.__routeContext,...x.__beforeLoadContext}}}return m}matchRoutesLightweight(e){let{matchedRoutes:r,routeParams:a}=this.getMatchedRoutes(e.pathname),i=jM(r),f={...e.search};for(let g of r)try{Object.assign(f,jD(g.options.validateSearch,f))}catch{}let s=jM(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{MK(M,g)}catch{}m=g}return{matchedRoutes:r,fullPath:i.fullPath,search:f,params:m}}},yk=class extends Error{},vK=class extends Error{};function xK(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 yk("Async validation not supported");if(a.issues)throw new yk(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 yK({pathname:e,routesById:r,processedTree:a}){let i=Object.create(null),f=zl(e),s=void 0,l=HG(f,a,!0);if(l)s=l.route,Object.assign(i,l.rawParams);return{matchedRoutes:l?.branch||[r.__root__],routeParams:i,foundRoute:s}}function lye({search:e,dest:r,destRoutes:a,_includeValidateSearch:i}){return cye(a)(e,r,i??!1)}function cye(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,x)=>x(M),l);let g=c(m);if("postSearchFilters"in f.options&&f.options.postSearchFilters)return f.options.postSearchFilters.reduce((M,x)=>x(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 Ws(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 uye(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 Gs}function MK(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 l3="Error preloading route! ☝️";var ND=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=Gs;else if(!this.parentRoute)Mi();let f=i?Gs:a?.path;if(f&&f!=="/")f=wR(f);let s=a?.id||f,l=i?Gs:HM([this.parentRoute.id==="__root__"?"":this.parentRoute.id,s]);if(f==="__root__")f="/";if(l!=="__root__")l=HM(["/",l]);let c=l==="__root__"?"/":HM([this.parentRoute.fullPath,f]);this._path=f,this._id=l,this._fullPath=c,this._to=zl(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)=>ql({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 c3=class extends ND{constructor(e){super(e)}};C();var Ua=((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))(Ua||{});function _K({update:e,notify:r,unwatched:a}){return{link:i,unlink:f,propagate:s,checkDirty:l,shallowPropagate:c};function i(g,M,x){let b=M.depsTail;if(b!==void 0&&b.dep===g)return;let y=b!==void 0?b.nextDep:M.deps;if(y!==void 0&&y.dep===g){y.version=x,M.depsTail=y;return}let _=g.subsTail;if(_!==void 0&&_.version===x&&_.sub===M)return;let z=M.depsTail=g.subsTail={version:x,dep:g,sub:M,prevDep:b,nextDep:y,prevSub:_,nextSub:void 0};if(y!==void 0)y.prevDep=z;if(b!==void 0)b.nextDep=z;else M.deps=z;if(_!==void 0)_.nextSub=z;else g.subs=z}function f(g,M=g.sub){let{dep:x,prevDep:b,nextDep:y,nextSub:_,prevSub:z}=g;if(y!==void 0)y.prevDep=b;else M.depsTail=b;if(b!==void 0)b.nextDep=y;else M.deps=y;if(_!==void 0)_.prevSub=z;else x.subsTail=z;if(z!==void 0)z.nextSub=_;else if((x.subs=_)===void 0)a(x);return y}function s(g){let M=g.nextSub,x;e:do{let b=g.sub,y=b.flags;if(!(y&60))b.flags=y|32;else if(!(y&12))y=0;else if(!(y&4))b.flags=y&-9|32;else if(!(y&48)&&m(g,b))b.flags=y|40,y&=1;else y=0;if(y&2)r(b);if(y&1){let _=b.subs;if(_!==void 0){let z=(g=_).nextSub;if(z!==void 0)x={value:M,prev:x},M=z;continue}}if((g=M)!==void 0){M=g.nextSub;continue}while(x!==void 0)if(g=x.value,x=x.prev,g!==void 0){M=g.nextSub;continue e}break}while(!0)}function l(g,M){let x,b=0,y=!1;e:do{let _=g.dep,z=_.flags;if(M.flags&16)y=!0;else if((z&17)===17){if(e(_)){let F=_.subs;if(F.nextSub!==void 0)c(F);y=!0}}else if((z&33)===33){if(g.nextSub!==void 0||g.prevSub!==void 0)x={value:g,prev:x};g=_.deps,M=_,++b;continue}if(!y){let F=g.nextDep;if(F!==void 0){g=F;continue}}while(b--){let F=M.subs,k=F.nextSub!==void 0;if(k)g=x.value,x=x.prev;else g=F;if(y){if(e(M)){if(k)c(F);M=g.sub;continue}y=!1}else M.flags&=-33;M=g.sub;let I=g.nextDep;if(I!==void 0){g=I;continue e}}return y}while(!0)}function c(g){do{let M=g.sub,x=M.flags;if((x&48)===32){if(M.flags=x|16,(x&6)===2)r(M)}}while((g=g.nextSub)!==void 0)}function m(g,M){let x=M.depsTail;while(x!==void 0){if(x===g)return!0;x=x.prevDep}return!1}}function SK(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 u3=[],BD=0,{link:wK,unlink:pye,propagate:mye,checkDirty:LK,shallowPropagate:zK}=_K({update(e){return e._update()},notify(e){u3[d3++]=e,e.flags&=~Ua.Watching},unwatched(e){if(e.depsTail!==void 0)e.depsTail=void 0,e.flags=Ua.Mutable|Ua.Dirty,YD(e)}}),FD=0,d3=0,xZ,Z3=0;function kR(e){try{++Z3,e()}finally{if(!--Z3)p3()}}function YD(e){let r=e.depsTail,a=r!==void 0?r.nextDep:e.deps;while(a!==void 0)a=pye(a,e)}function p3(){if(Z3>0)return;while(FD<d3){let e=u3[FD];u3[FD++]=void 0,e.notify()}FD=0,d3=0}function UD(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?Ua.None:Ua.Mutable,get(){if(xZ!==void 0)wK(f,xZ,BD);return f._snapshot},subscribe(s){let l=SK(s),c={current:!1},m=hye(()=>{if(f.get(),!c.current)c.current=!0;else l.next?.(f._snapshot)});return{unsubscribe:()=>{m.stop()}}},_update(s){let l=xZ,c=r?.compare??Object.is;if(a)xZ=f,++BD,f.depsTail=void 0;else if(s===void 0)return!1;if(a)f.flags=Ua.Mutable|Ua.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(xZ=l,a)f.flags&=~Ua.RecursedCheck;YD(f)}}};if(a)f.flags=Ua.Mutable|Ua.Dirty,f.get=function(){let s=f.flags;if(s&Ua.Dirty||s&Ua.Pending&&LK(f.deps,f)){if(f._update()){let l=f.subs;if(l!==void 0)zK(l)}}else if(s&Ua.Pending)f.flags=s&~Ua.Pending;if(xZ!==void 0)wK(f,xZ,BD);return f._snapshot};else f.set=function(s){if(f._update(s)){let l=f.subs;if(l!==void 0)mye(l),zK(l),p3()}};return f}function hye(e){let r=()=>{let i=xZ;xZ=a,++BD,a.depsTail=void 0,a.flags=Ua.Watching|Ua.RecursedCheck;try{return e()}finally{xZ=i,a.flags&=~Ua.RecursedCheck,YD(a)}},a={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:Ua.Watching|Ua.RecursedCheck,notify(){let i=this.flags;if(i&Ua.Dirty||i&Ua.Pending&&LK(this.deps,this))r();else this.flags=Ua.Watching},stop(){this.flags=Ua.None,this.depsTail=void 0,YD(this)}};return r(),a}C();C();var kye=kK();function Iye(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Cye=typeof Object.is==="function"?Object.is:Iye,Rye=kye.useSyncExternalStore,Pye=v,Tye=h,Aye=O,Dye=gz;var ac=function(e,r,a,i,f){var s=Pye(null);if(s.current===null){var l={hasValue:!1,value:null};s.current=l}else l=s.current;s=Aye(function(){function m(y){if(!g){if(g=!0,M=y,y=i(y),f!==void 0&&l.hasValue){var _=l.value;if(f(_,y))return x=_}return x=y}if(_=x,Cye(M,y))return _;var z=i(y);if(f!==void 0&&f(_,z))return M=y,_;return M=y,x=z}var g=!1,M,x,b=a===void 0?null:a;return[function(){return m(r())},b===null?void 0:function(){return m(b())}]},[r,a,i,f]);var c=Rye(e,s[0],s[1]);return Tye(function(){l.hasValue=!0,l.value=c},[c]),Dye(c),c};function Eye(e,r){return e===r}function wn(e,r,a=Eye){let i=N((l)=>{if(!e)return()=>{};let{unsubscribe:c}=e.subscribe(l);return c},[e]),f=N(()=>e?.get(),[e]);return ac(i,f,f,r,a)}var Oye={get:()=>{return},subscribe:()=>({unsubscribe:()=>{}})};function Li(e){let r=Ta(),a=xt(e.from?TG:Mz),i=e.from??a,f=i?e.from?r.stores.getRouteMatchStore(i):r.stores.matchStores.get(i):void 0;if($r??r.isServer){let l=f?.get();if((e.shouldThrow??!0)&&!l)Mi();if(l===void 0)return;return e.select?e.select(l):l}let s=v(void 0);return wn(f??Oye,(l)=>{if((e.shouldThrow??!0)&&!l)Mi();if(l===void 0)return;let c=e.select?e.select(l):l;if(e.structuralSharing??r.options.defaultStructuralSharing){let m=wl(s.current,c);return s.current=m,m}return c})}function Vl(e){return Li({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}})}C();var yz=typeof window<"u"?He:h;function qD(e){let r=v({value:e,prev:null}),a=r.current.value;if(e!==a)r.current={value:e,prev:a};return r.current.prev}function IK(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 CK(e){let r=v(null);return tn(e,()=>r.current,[]),r}C();function Me(e){let r=Ta();return N((a)=>r.navigate({...a,from:a.from??e?.from}),[e?.from,r])}C();function RK({children:e,fallback:r=null}){return h3()?t(dn,{children:e}):t(dn,{children:r})}function h3(){return Fn(jye,()=>!0,()=>!1)}function jye(){return()=>{}}C();function TK(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(TK)}catch(e){console.error(e)}}C();function PK(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 KM(){}var IR={d:{f:KM,r:function(){throw Error(PK(522))},D:KM,C:KM,L:KM,m:KM,X:KM,S:KM,M:KM},p:0,findDOMNode:null},Nye=Symbol.for("react.portal");function Fye(e,r,a){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Nye,key:i==null?null:""+i,children:e,containerInfo:r,implementation:a}}var g3=Es;var M3=IR,Ts=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(PK(299));return Fye(e,r,null,a)},Mn=function(e){var r=g3.T,a=IR.p;try{if(g3.T=null,IR.p=2,e)return e()}finally{g3.T=r,IR.p=a,IR.d.f()}};TK();function NK(e,r){let a=Ta(),i=CK(r),f=$r??a.isServer,{activeProps:s,inactiveProps:l,activeOptions:c,to:m,preload:g,preloadDelay:M,preloadIntentProximity:x,hashScrollIntoView:b,replace:y,startTransition:_,resetScroll:z,viewTransition:F,children:k,target:I,disabled:Y,style:W,className:X,onClick:J,onBlur:ee,onFocus:ae,onMouseEnter:ne,onMouseLeave:xe,onTouchStart:Qe,ignoreBlocker:Fe,params:ye,search:Ve,hash:dt,state:lt,mask:pt,reloadDocument:Bt,unsafeRelative:Wt,from:le,_fromLocation:mt,...Gt}=e;if(f){let $e=jK(m);if(typeof m==="string"&&!$e&&m.indexOf(":")>-1)try{if(new URL(m),vZ(m,a.protocolAllowlist))return{...Gt,ref:i,href:void 0,...k&&{children:k},...I&&{target:I},...Y&&{disabled:Y},...W&&{style:W},...X&&{className:X}};return{...Gt,ref:i,href:m,...k&&{children:k},...I&&{target:I},...Y&&{disabled:Y},...W&&{style:W},...X&&{className:X}}}catch{}let jt=a.buildLocation({...e,from:e.from}),wr=OK(jt.maskedLocation?jt.maskedLocation.publicHref:jt.publicHref,jt.maskedLocation?jt.maskedLocation.external:jt.external,a.history,Y),Xr=(()=>{if(wr?.external){if(vZ(wr.href,a.protocolAllowlist))return;return wr.href}if($e)return;if(typeof m==="string"&&m.indexOf(":")>-1)try{if(new URL(m),vZ(m,a.protocolAllowlist))return;return m}catch{}})(),oo=(()=>{if(Xr)return!1;let Pe=a.stores.location.get(),Zt=c?.exact??!1;if(Zt){if(!CD(Pe.pathname,jt.pathname,a.basepath))return!1}else{let Ct=VM(Pe.pathname,a.basepath),Yt=VM(jt.pathname,a.basepath);if(!(Ct.startsWith(Yt)&&(Ct.length===Yt.length||Ct[Yt.length]==="/")))return!1}if(c?.includeSearch??!0){if(Pe.search!==jt.search){let Ct=!Pe.search||typeof Pe.search==="object"&&!NM(Pe.search),Yt=!jt.search||typeof jt.search==="object"&&!NM(jt.search);if(!(Ct&&Yt)){if(!Yc(Pe.search,jt.search,{partial:!Zt,ignoreUndefined:!c?.explicitUndefined}))return!1}}}if(c?.includeHash)return!1;return!0})();if(Xr)return{...Gt,ref:i,href:Xr,...k&&{children:k},...I&&{target:I},...Y&&{disabled:Y},...W&&{style:W},...X&&{className:X}};let $o=oo?Ws(s,{})??AK:_k,Pa=oo?_k:Ws(l,{})??_k,ze=(()=>{let Pe=W,Zt=$o.style,Ct=Pa.style;if(!Pe&&!Zt&&!Ct)return;if(Pe&&!Zt&&!Ct)return Pe;if(!Pe&&Zt&&!Ct)return Zt;if(!Pe&&!Zt&&Ct)return Ct;return{...Pe,...Zt,...Ct}})(),Se=(()=>{let Pe=X,Zt=$o.className,Ct=Pa.className;if(!Pe&&!Zt&&!Ct)return"";let Yt="";if(Pe)Yt=Pe;if(Zt)Yt=Yt?`${Yt} ${Zt}`:Zt;if(Ct)Yt=Yt?`${Yt} ${Ct}`:Ct;return Yt})();return{...Gt,...$o,...Pa,href:wr?.href,ref:i,disabled:!!Y,target:I,...ze&&{style:ze},...Se&&{className:Se},...Y&&DK,...oo&&EK}}let ke=h3(),Zr=O(()=>e,[a,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),lr=wn(a.stores.location,($e)=>$e,($e,jt)=>$e.href===jt.href),tr=O(()=>{let $e={_fromLocation:lr,...Zr};return a.buildLocation($e)},[a,lr,Zr]),Ur=tr.maskedLocation?tr.maskedLocation.publicHref:tr.publicHref,Qt=tr.maskedLocation?tr.maskedLocation.external:tr.external,Jt=O(()=>OK(Ur,Qt,a.history,Y),[Y,Qt,Ur,a.history]),vr=O(()=>{if(Jt?.external){if(vZ(Jt.href,a.protocolAllowlist))return;return Jt.href}if(jK(m))return;if(typeof m!=="string"||m.indexOf(":")===-1)return;try{if(new URL(m),vZ(m,a.protocolAllowlist))return;return m}catch{}},[m,Jt,a.protocolAllowlist]),Er=O(()=>{if(vr)return!1;if(c?.exact){if(!CD(lr.pathname,tr.pathname,a.basepath))return!1}else{let $e=VM(lr.pathname,a.basepath),jt=VM(tr.pathname,a.basepath);if(!($e.startsWith(jt)&&($e.length===jt.length||$e[jt.length]==="/")))return!1}if(c?.includeSearch??!0){if(!Yc(lr.search,tr.search,{partial:!c?.exact,ignoreUndefined:!c?.explicitUndefined}))return!1}if(c?.includeHash)return ke&&lr.hash===tr.hash;return!0},[c?.exact,c?.explicitUndefined,c?.includeHash,c?.includeSearch,lr,vr,ke,tr.hash,tr.pathname,tr.search,a.basepath]),Br=Er?Ws(s,{})??AK:_k,xr=Er?_k:Ws(l,{})??_k,bo=[X,Br.className,xr.className].filter(Boolean).join(" "),rr=(W||Br.style||xr.style)&&{...W,...Br.style,...xr.style},[Qr,go]=u(!1),Bo=v(!1),_o=e.reloadDocument||vr?!1:g??a.options.defaultPreload,ni=M??a.options.defaultPreloadDelay??0,bn=N(()=>{a.preloadRoute({...Zr,_builtLocation:tr}).catch(($e)=>{console.warn($e),console.warn(l3)})},[a,Zr,tr]);IK(i,N(($e)=>{if($e?.isIntersecting)bn()},[bn]),Yye,{disabled:!!Y||_o!=="viewport"}),h(()=>{if(Bo.current)return;if(!Y&&_o==="render")bn(),Bo.current=!0},[Y,bn,_o]);let Xo=($e)=>{let jt=$e.currentTarget.getAttribute("target"),wr=I!==void 0?I:jt;if(!Y&&!Uye($e)&&!$e.defaultPrevented&&(!wr||wr==="_self")&&$e.button===0){$e.preventDefault(),Mn(()=>{go(!0)});let Xr=a.subscribe("onResolved",()=>{Xr(),go(!1)});a.navigate({...Zr,replace:y,resetScroll:z,hashScrollIntoView:b,startTransition:_,viewTransition:F,ignoreBlocker:Fe})}};if(vr)return{...Gt,ref:i,href:vr,...k&&{children:k},...I&&{target:I},...Y&&{disabled:Y},...W&&{style:W},...X&&{className:X},...J&&{onClick:J},...ee&&{onBlur:ee},...ae&&{onFocus:ae},...ne&&{onMouseEnter:ne},...xe&&{onMouseLeave:xe},...Qe&&{onTouchStart:Qe}};let Yn=($e)=>{if(Y||_o!=="intent")return;if(!ni){bn();return}let jt=$e.currentTarget;if(CR.has(jt))return;let wr=setTimeout(()=>{CR.delete(jt),bn()},ni);CR.set(jt,wr)},cn=($e)=>{if(Y||_o!=="intent")return;bn()},is=($e)=>{if(Y||!_o||!ni)return;let jt=$e.currentTarget,wr=CR.get(jt);if(wr)clearTimeout(wr),CR.delete(jt)};return{...Gt,...Br,...xr,href:Jt?.href,ref:i,onClick:wk([J,Xo]),onBlur:wk([ee,is]),onFocus:wk([ae,Yn]),onMouseEnter:wk([ne,Yn]),onMouseLeave:wk([xe,is]),onTouchStart:wk([Qe,cn]),disabled:!!Y,target:I,...rr&&{style:rr},...bo&&{className:bo},...Y&&DK,...Er&&EK,...ke&&Qr&&Bye}}var _k={},AK={className:"active"},DK={role:"link","aria-disabled":!0},EK={"data-status":"active","aria-current":"page"},Bye={"data-transitioning":"transitioning"},CR=new WeakMap,Yye={rootMargin:"100px"},wk=(e)=>(r)=>{for(let a of e){if(!a)continue;if(r.defaultPrevented)return;a(r)}};function OK(e,r,a,i){if(i)return;if(r)return{href:e,external:!0};return{href:a.createHref(e)||"/",external:!1}}function jK(e){if(typeof e!=="string")return!1;let r=e.charCodeAt(0);if(r===47)return e.charCodeAt(1)!==47;return r===46}var Rn=D((e,r)=>{let{_asChild:a,...i}=e,{type:f,...s}=NK(i,r),l=typeof i.children==="function"?i.children({isActive:s["data-status"]==="active"}):i.children;if(!a){let{disabled:c,...m}=s;return j("a",m,l)}return j(a,s,l)});function Uye(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function RR(e){return Li({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:(r)=>e.select?e.select(r.loaderData):r.loaderData})}function PR(e){let{select:r,...a}=e;return Li({...a,select:(i)=>r?r(i.loaderDeps):i.loaderDeps})}function TR(e){return Li({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:(r)=>e.select?e.select(r.search):r.search})}function AR(e){return Li({...e,select:(r)=>e.select?e.select(r.context):r.context})}C();var FK=class extends ND{constructor(e){super(e);this.useMatch=(r)=>Li({select:r?.select,from:this.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>AR({...r,from:this.id}),this.useSearch=(r)=>TR({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useParams=(r)=>Vl({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useLoaderDeps=(r)=>PR({...r,from:this.id}),this.useLoaderData=(r)=>RR({...r,from:this.id}),this.useNavigate=()=>Me({from:this.fullPath}),this.Link=D((r,a)=>t(Rn,{ref:a,from:this.fullPath,...r}))}};function v3(e){return new FK(e)}function x3(){return(e)=>YK(e)}var BK=class extends c3{constructor(e){super(e);this.useMatch=(r)=>Li({select:r?.select,from:this.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>AR({...r,from:this.id}),this.useSearch=(r)=>TR({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useParams=(r)=>Vl({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useLoaderDeps=(r)=>PR({...r,from:this.id}),this.useLoaderData=(r)=>RR({...r,from:this.id}),this.useNavigate=()=>Me({from:this.fullPath}),this.Link=D((r,a)=>t(Rn,{ref:a,from:this.fullPath,...r}))}};function YK(e){return new BK(e)}function eo(e){return new UK(e,{silent:!0}).createRoute}var UK=class{constructor(e,r){this.path=e,this.createRoute=(a)=>{let i=v3(a);return i.isRoot=!1,i},this.silent=r?.silent}};var y3=class{constructor(e){this.useMatch=(r)=>Li({select:r?.select,from:this.options.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>AR({...r,from:this.options.id}),this.useSearch=(r)=>TR({select:r?.select,structuralSharing:r?.structuralSharing,from:this.options.id}),this.useParams=(r)=>Vl({select:r?.select,structuralSharing:r?.structuralSharing,from:this.options.id}),this.useLoaderDeps=(r)=>PR({...r,from:this.options.id}),this.useLoaderData=(r)=>RR({...r,from:this.options.id}),this.useNavigate=()=>Me({from:Ta().routesById[this.options.id].fullPath}),this.options=e}};function Ue(e){if(typeof e==="object")return new y3(e);return(r)=>new y3({id:e,...r})}C();function bz(e){let r=e.errorComponent??_z;return t(qye,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:a,reset:i})=>{if(a)return j(r,{error:a,reset:i});return e.children}})}var qye=class extends da{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 _z({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]})}C();function qK(e){let r=Ta();if($r??r.isServer){let i=`not-found-${r.stores.location.get().pathname}-${r.stores.status.get()}`;return t(bz,{getResetKey:()=>i,onCatch:(f,s)=>{if(Ba(f))e.onCatch?.(f,s);else throw f},errorComponent:({error:f})=>{if(Ba(f))return e.fallback?.(f);else throw f},children:e.children})}let a=`not-found-${wn(r.stores.location,(i)=>i.pathname)}-${wn(r.stores.status,(i)=>i)}`;return t(bz,{getResetKey:()=>a,onCatch:(i,f)=>{if(Ba(i))e.onCatch?.(i,f);else throw i},errorComponent:({error:i})=>{if(Ba(i))return e.fallback?.(i);else throw i},children:e.children})}function VK(){return t("p",{children:"Not Found"})}C();function XM(e){return t(B,{children:e.children})}C();function VD(e,r,a){if(!r.options.notFoundComponent){if(e.options.defaultNotFoundComponent)return t(e.options.defaultNotFoundComponent,{...a});return t(VK,{})}return t(r.options.notFoundComponent,{...a})}function HK({children:e}){let r=Ta();if(!($r??r.isServer))return null;return t("script",{nonce:r.options.ssr?.nonce,dangerouslySetInnerHTML:{__html:e+";document.currentScript.remove()"}})}function WK(e){return null}function GK(){let e=WK(Ta());if(!e)return null;return t(HK,{children:e})}C();var HD=Bc(function({matchId:r}){let a=Ta();if($r??a.isServer){let l=a.stores.matchStores.get(r)?.get();if(!l)Mi();let c=l.routeId,m=a.routesById[c].parentRoute?.id;return t(KK,{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)Mi();let f=wn(a.stores.loadedAt,(l)=>l),s=wn(i,(l)=>l);return t(KK,{router:a,matchId:r,resetKey:f,matchState:O(()=>{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 KK({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",x=(!f.isRoot||f.options.wrapInSuspense||M)&&(f.options.wrapInSuspense??s??(f.options.errorComponent?.preload||M))?ja:XM,b=c?bz:XM,y=g?qK:XM;return o(f.isRoot?f.options.shellComponent??XM:XM,{children:[t(Mz.Provider,{value:r,children:t(x,{fallback:l,children:t(b,{getResetKey:()=>a,errorComponent:c||_z,onCatch:(_,z)=>{if(Ba(_))throw _.routeId??=i.routeId,_;m?.(_,z)},children:t(y,{fallback:(_)=>{if(_.routeId??=i.routeId,!g||_.routeId&&_.routeId!==i.routeId||!_.routeId&&!f.isRoot)throw _;return j(g,_)},children:M||i._displayPending?t(RK,{fallback:l,children:t(XK,{matchId:r})}):t(XK,{matchId:r})})})})}),i.parentRouteId===Gs?o(B,{children:[t(Vye,{resetKey:a}),e.options.scrollRestoration&&($r??e.isServer)?t(GK,{}):null]}):null]})}function Vye({resetKey:e}){let r=Ta();if($r??r.isServer)return null;let a=v(void 0);return yz(()=>{let i=r.latestLocation.href;if(a.current===void 0||a.current!==i)r.emit({type:"onRendered",...XZ(r.stores.location.get(),r.stores.resolvedLocation.get())}),a.current=i},[r.latestLocation.state.__TSR_key,e,r]),null}var XK=Bc(function({matchId:r}){let a=Ta(),i=(M,x)=>a.getMatch(M.id)?._nonReactive[x]??M._nonReactive[x];if($r??a.isServer){let M=a.stores.matchStores.get(r)?.get();if(!M)Mi();let x=M.routeId,b=a.routesById[x],y=(a.routesById[x].options.remountDeps??a.options.defaultRemountDeps)?.({routeId:x,loaderDeps:M.loaderDeps,params:M._strictParams,search:M._strictSearch}),_=y?JSON.stringify(y):void 0,z=b.options.component??a.options.defaultComponent,F=z?t(z,{},_):t(QM,{});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(!Ba(M.error))Mi();return VD(a,b,M.error)}if(M.status==="redirected"){if(!vi(M.error))Mi();throw i(M,"loadPromise")}if(M.status==="error")return t((b.options.errorComponent??a.options.defaultErrorComponent)||_z,{error:M.error,reset:void 0,info:{componentStack:""}});return F}let f=a.stores.matchStores.get(r);if(!f)Mi();let s=wn(f,(M)=>M),l=s.routeId,c=a.routesById[l],m=O(()=>{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=O(()=>{let M=c.options.component??a.options.defaultComponent;if(M)return t(M,{},m);return t(QM,{})},[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 x=a.getMatch(s.id);if(x&&!x._nonReactive.minPendingPromise){if(!($r??a.isServer)){let b=zd();x._nonReactive.minPendingPromise=b,setTimeout(()=>{b.resolve(),x._nonReactive.minPendingPromise=void 0},M)}}}throw i(s,"loadPromise")}if(s.status==="notFound"){if(!Ba(s.error))Mi();return VD(a,c,s.error)}if(s.status==="redirected"){if(!vi(s.error))Mi();throw i(s,"loadPromise")}if(s.status==="error"){if($r??a.isServer)return t((c.options.errorComponent??a.options.defaultErrorComponent)||_z,{error:s.error,reset:void 0,info:{componentStack:""}});throw s.error}return g}),QM=Bc(function(){let r=Ta(),a=xt(Mz),i,f=!1,s;if($r??r.isServer){let g=r.stores.matches.get(),M=a?g.findIndex((b)=>b.id===a):-1,x=M>=0?g[M]:void 0;i=x?.routeId,f=x?.globalNotFound??!1,s=M>=0?g[M+1]?.id:void 0}else{let g=a?r.stores.matchStores.get(a):void 0;[i,f]=wn(g,(M)=>[M?.routeId,M?.globalNotFound??!1]),s=wn(r.stores.matchesId,(M)=>M[M.findIndex((x)=>x===a)+1])}let l=i?r.routesById[i]:void 0,c=r.options.defaultPendingComponent?t(r.options.defaultPendingComponent,{}):null;if(f){if(!l)Mi();return VD(r,l,void 0)}if(!s)return null;let m=t(HD,{matchId:s});if(i===Gs)return t(ja,{fallback:c,children:m});return m});var QK=(e)=>{if($r??e.isServer)return{createMutableStore:t3,createReadonlyStore:r3,batch:(r)=>r()};return{createMutableStore:UD,createReadonlyStore:UD,batch:kR}};var b3=(e)=>new JK(e),JK=class extends s3{constructor(e){super(e,QK)}};C();function $K(){let e=Ta(),r=v({router:e,mounted:!1}),[a,i]=u(!1),f=wn(e.stores.isLoading,(x)=>x),s=wn(e.stores.hasPending,(x)=>x),l=qD(f),c=f||a||s,m=qD(c),g=f||s,M=qD(g);return e.startTransition=(x)=>{i(!0),sk(()=>{x(),i(!1)})},h(()=>{let x=e.history.subscribe(e.load),b=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(zl(e.latestLocation.publicHref)!==zl(b.publicHref))e.commitLocation({...b,replace:!0});return()=>{x()}},[e,e.history]),yz(()=>{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(b){console.error(b)}})()},[e]),yz(()=>{if(l&&!f)e.emit({type:"onLoad",...XZ(e.stores.location.get(),e.stores.resolvedLocation.get())})},[l,e,f]),yz(()=>{if(M&&!g)e.emit({type:"onBeforeRouteMount",...XZ(e.stores.location.get(),e.stores.resolvedLocation.get())})},[g,M,e]),yz(()=>{if(m&&!c){let x=XZ(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:"onResolved",...x}),kR(()=>{e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())})}},[c,m,e]),null}C();function eX(){let e=Ta(),r=e.routesById[Gs].options.pendingComponent??e.options.defaultPendingComponent,a=r?t(r,{}):null,i=o(($r??e.isServer)||typeof document<"u"&&e.ssr?XM:ja,{fallback:a,children:[!($r??e.isServer)&&t($K,{}),t(Hye,{})]});return e.options.InnerWrap?t(e.options.InnerWrap,{children:i}):i}function Hye(){let e=Ta(),r=$r??e.isServer,a=r?e.stores.firstId.get():wn(e.stores.firstId,(s)=>s),i=r?e.stores.loadedAt.get():wn(e.stores.loadedAt,(s)=>s),f=a?t(HD,{matchId:a}):null;return t(Mz.Provider,{value:a,children:e.options.disableGlobalCatchBoundary?f:t(bz,{getResetKey:()=>i,errorComponent:_z,onCatch:void 0,children:f})})}C();function tX({router:e,children:r,...a}){if(NM(a))e.update({...e.options,...a,context:{...e.options.context,...a.context}});let i=t(wD.Provider,{value:e,children:r});if(e.options.Wrap)return t(e.options.Wrap,{children:i});return i}function _3({router:e,...r}){return t(tX,{router:e,...r,children:t(eX,{})})}C();function wz(e){let r=Ta({warn:e?.router===void 0}),a=e?.router||r;if($r??a.isServer){let f=a.stores.__store.get();return e?.select?e.select(f):f}let i=v(void 0);return wn(a.stores.__store,(f)=>{if(e?.select){if(e.structuralSharing??a.options.defaultStructuralSharing){let s=wl(i.current,e.select(f));return i.current=s,s}return e.select(f)}return f})}C();function hee(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(hee)}catch(e){console.error(e)}}vu();C();function Ut(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 Gye(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function SP(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 DQ(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 EQ(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 dX(e){if(SP(e)!==e)throw Error(Ut(188))}function Kye(e){var r=e.alternate;if(!r){if(r=SP(e),r===null)throw Error(Ut(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 dX(f),e;if(s===i)return dX(f),r;s=s.sibling}throw Error(Ut(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(Ut(189))}}if(a.alternate!==i)throw Error(Ut(190))}if(a.tag!==3)throw Error(Ut(188));return a.stateNode.current===a?e:r}function OQ(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e;for(e=e.child;e!==null;){if(r=OQ(e),r!==null)return r;e=e.sibling}return null}var an=Object.assign,Xye=Symbol.for("react.element"),eO=Symbol.for("react.transitional.element"),qR=Symbol.for("react.portal"),Pk=Symbol.for("react.fragment"),jQ=Symbol.for("react.strict_mode"),uB=Symbol.for("react.profiler"),NQ=Symbol.for("react.consumer"),Rp=Symbol.for("react.context"),s6=Symbol.for("react.forward_ref"),dB=Symbol.for("react.suspense"),ZB=Symbol.for("react.suspense_list"),l6=Symbol.for("react.memo"),$M=Symbol.for("react.lazy"),pB=Symbol.for("react.activity"),Qye=Symbol.for("react.memo_cache_sentinel"),ZX=Symbol.iterator;function jR(e){if(e===null||typeof e!=="object")return null;return e=ZX&&e[ZX]||e["@@iterator"],typeof e==="function"?e:null}var Jye=Symbol.for("react.client.reference");function mB(e){if(e==null)return null;if(typeof e==="function")return e.$$typeof===Jye?null:e.displayName||e.name||null;if(typeof e==="string")return e;switch(e){case Pk:return"Fragment";case uB:return"Profiler";case jQ:return"StrictMode";case dB:return"Suspense";case ZB:return"SuspenseList";case pB:return"Activity"}if(typeof e==="object")switch(e.$$typeof){case qR:return"Portal";case Rp:return e.displayName||"Context";case NQ:return(e._context.displayName||"Context")+".Consumer";case s6:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case l6:return r=e.displayName||null,r!==null?r:mB(e.type)||"Memo";case $M:r=e._payload,e=e._init;try{return mB(e(r))}catch(a){}}return null}var VR=Array.isArray,Jr=Es,qo=M3,Pz={pending:!1,data:null,method:null,action:null},hB=[],Tk=-1;function SZ(e){return{current:e}}function Oi(e){0>Tk||(e.current=hB[Tk],hB[Tk]=null,Tk--)}function Da(e,r){Tk++,hB[Tk]=e.current,e.current=r}var zZ=SZ(null),dP=SZ(null),c8=SZ(null),CO=SZ(null);function RO(e,r){switch(Da(c8,r),Da(dP,e),Da(zZ,null),r.nodeType){case 9:case 11:e=(e=r.documentElement)?(e=e.namespaceURI)?MQ(e):0:0;break;default:if(e=r.tagName,r=r.namespaceURI)r=MQ(r),e=aee(r,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Oi(zZ),Da(zZ,e)}function Qk(){Oi(zZ),Oi(dP),Oi(c8)}function gB(e){e.memoizedState!==null&&Da(CO,e);var r=zZ.current,a=aee(r,e.type);r!==a&&(Da(dP,e),Da(zZ,a))}function PO(e){dP.current===e&&(Oi(zZ),Oi(dP)),CO.current===e&&(Oi(CO),_P._currentValue=Pz)}var T3,pX;function Lz(e){if(T3===void 0)try{throw Error()}catch(a){var r=a.stack.trim().match(/\n( *(at )?)/);T3=r&&r[1]||"",pX=-1<a.stack.indexOf(`
3
+ at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
4
+ `+T3+e+pX}var A3=!1;function D3(e,r){if(!e||A3)return"";A3=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(r){var x=function(){throw Error()};if(Object.defineProperty(x.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(x,[])}catch(y){var b=y}Reflect.construct(e,[],x)}else{try{x.call()}catch(y){b=y}e.call(x.prototype)}}else{try{throw Error()}catch(y){b=y}(x=e())&&typeof x.catch==="function"&&x.catch(function(){})}}catch(y){if(y&&b&&typeof y.stack==="string")return[y.stack,b.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{A3=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Lz(a):""}function $ye(e,r){switch(e.tag){case 26:case 27:case 5:return Lz(e.type);case 16:return Lz("Lazy");case 13:return e.child!==r&&r!==null?Lz("Suspense Fallback"):Lz("Suspense");case 19:return Lz("SuspenseList");case 0:case 15:return D3(e.type,!1);case 11:return D3(e.type.render,!1);case 1:return D3(e.type,!0);case 31:return Lz("Activity");default:return""}}function mX(e){try{var r="",a=null;do r+=$ye(e,a),a=e,e=e.return;while(e);return r}catch(i){return`
8
+ Error generating stack: `+i.message+`
9
+ `+i.stack}}var MB=Object.prototype.hasOwnProperty,c6=ma,E3=Hi,ebe=$i,tbe=Gi,Xl=jn,rbe=$D,FQ=ji,BQ=qi,TO=pa,obe=JD,YQ=Ms,abe=void 0,nbe=void 0,LP=null,Ql=null;function n8(e){if(typeof abe==="function"&&nbe(e),Ql&&typeof Ql.setStrictMode==="function")try{Ql.setStrictMode(LP,e)}catch(r){}}var Jl=Math.clz32?Math.clz32:sbe,{log:ibe,LN2:fbe}=Math;function sbe(e){return e>>>=0,e===0?32:31-(ibe(e)/fbe|0)|0}var tO=256,rO=262144,oO=4194304;function kz(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 nj(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=kz(i):(l&=c,l!==0?f=kz(l):a||(a=c&~e,a!==0&&(f=kz(a))))):(c=i&~s,c!==0?f=kz(c):l!==0?f=kz(l):a||(a=i&~e,a!==0&&(f=kz(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 kP(e,r){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&r)===0}function lbe(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 UQ(){var e=oO;return oO<<=1,(oO&62914560)===0&&(oO=4194304),e}function O3(e){for(var r=[],a=0;31>a;a++)r.push(e);return r}function ij(e,r){e.pendingLanes|=r,r!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function cbe(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-Jl(a),x=1<<M;c[M]=0,m[M]=-1;var b=g[M];if(b!==null)for(g[M]=null,M=0;M<b.length;M++){var y=b[M];y!==null&&(y.lane&=-536870913)}a&=~x}i!==0&&qQ(e,i,0),s!==0&&f===0&&e.tag!==0&&(e.suspendedLanes|=s&~(l&~r))}function qQ(e,r,a){e.pendingLanes|=r,e.suspendedLanes&=~r;var i=31-Jl(r);e.entangledLanes|=r,e.entanglements[i]=e.entanglements[i]|1073741824|a&261930}function VQ(e,r){var a=e.entangledLanes|=r;for(e=e.entanglements;a;){var i=31-Jl(a),f=1<<i;f&r|e[i]&r&&(e[i]|=r),a&=~f}}function HQ(e,r){var a=r&-r;return a=(a&42)!==0?1:WQ(a),(a&(e.suspendedLanes|r))!==0?0:a}function WQ(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 u6(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function GQ(){var e=qo.p;if(e!==0)return e;return e=window.event,e===void 0?32:Zee(e.type)}function hX(e,r){var a=qo.p;try{return qo.p=e,r()}finally{qo.p=a}}var y8=Math.random().toString(36).slice(2),ss="__reactFiber$"+y8,Rl="__reactProps$"+y8,IP="__reactContainer$"+y8,vB="__reactEvents$"+y8,ube="__reactListeners$"+y8,dbe="__reactHandles$"+y8,gX="__reactResources$"+y8,CP="__reactMarker$"+y8;function d6(e){delete e[ss],delete e[Rl],delete e[vB],delete e[ube],delete e[dbe]}function Ak(e){var r=e[ss];if(r)return r;for(var a=e.parentNode;a;){if(r=a[IP]||a[ss]){if(a=r.alternate,r.child!==null||a!==null&&a.child!==null)for(e=_Q(e);e!==null;){if(a=e[ss])return a;e=_Q(e)}return r}e=a,a=e.parentNode}return null}function s1(e){if(e=e[ss]||e[IP]){var r=e.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return e}return null}function HR(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e.stateNode;throw Error(Ut(33))}function qk(e){var r=e[gX];return r||(r=e[gX]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function Ei(e){e[CP]=!0}var KQ=new Set,XQ={};function qz(e,r){Jk(e,r),Jk(e+"Capture",r)}function Jk(e,r){XQ[e]=r;for(e=0;e<r.length;e++)KQ.add(r[e])}var Zbe=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]*$"),MX={},vX={};function pbe(e){if(MB.call(vX,e))return!0;if(MB.call(MX,e))return!1;if(Zbe.test(e))return vX[e]=!0;return MX[e]=!0,!1}function pO(e,r,a){if(pbe(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 aO(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 JZ(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 Vc(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function QQ(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function mbe(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 xB(e){if(!e._valueTracker){var r=QQ(e)?"checked":"value";e._valueTracker=mbe(e,r,""+e[r])}}function JQ(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var a=r.getValue(),i="";return e&&(i=QQ(e)?e.checked?"true":"false":e.value),e=i,e!==a?(r.setValue(e),!0):!1}function AO(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 hbe=/[\n"\\]/g;function Gc(e){return e.replace(hbe,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function yB(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=""+Vc(r)}else e.value!==""+Vc(r)&&(e.value=""+Vc(r));else l!=="submit"&&l!=="reset"||e.removeAttribute("value");r!=null?bB(e,l,Vc(r)):a!=null?bB(e,l,Vc(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=""+Vc(c):e.removeAttribute("name")}function $Q(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)){xB(e);return}a=a!=null?""+Vc(a):"",r=r!=null?""+Vc(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),xB(e)}function bB(e,r,a){r==="number"&&AO(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Vk(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=""+Vc(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 eJ(e,r,a){if(r!=null&&(r=""+Vc(r),r!==e.value&&(e.value=r),a==null)){e.defaultValue!==r&&(e.defaultValue=r);return}e.defaultValue=a!=null?""+Vc(a):""}function tJ(e,r,a,i){if(r==null){if(i!=null){if(a!=null)throw Error(Ut(92));if(VR(i)){if(1<i.length)throw Error(Ut(93));i=i[0]}a=i}a==null&&(a=""),r=a}a=Vc(r),e.defaultValue=a,i=e.textContent,i===a&&i!==""&&i!==null&&(e.value=i),xB(e)}function $k(e,r){if(r){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=r;return}}e.textContent=r}var gbe=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 xX(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||gbe.has(r)?r==="float"?e.cssFloat=a:e[r]=(""+a).trim():e[r]=a+"px"}function rJ(e,r,a){if(r!=null&&typeof r!=="object")throw Error(Ut(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&&xX(e,f,i)}else for(var s in r)r.hasOwnProperty(s)&&xX(e,s,r[s])}function Z6(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 Mbe=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"]]),vbe=/^[\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 mO(e){return vbe.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Pp(){}var _B=null;function p6(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Dk=null,Hk=null;function yX(e){var r=s1(e);if(r&&(e=r.stateNode)){var a=e[Rl]||null;e:switch(e=r.stateNode,r.type){case"input":if(yB(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="'+Gc(""+r)+'"][type="radio"]');for(r=0;r<a.length;r++){var i=a[r];if(i!==e&&i.form===e.form){var f=i[Rl]||null;if(!f)throw Error(Ut(90));yB(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&&JQ(i)}break e;case"textarea":eJ(e,a.value,a.defaultValue);break e;case"select":r=a.value,r!=null&&Vk(e,!!a.multiple,r,!1)}}}var j3=!1;function oJ(e,r,a){if(j3)return e(r,a);j3=!0;try{var i=e(r);return i}finally{if(j3=!1,Dk!==null||Hk!==null){if(Mj(),Dk&&(r=Dk,e=Hk,Hk=Dk=null,yX(r),e))for(r=0;r<e.length;r++)yX(e[r])}}}function ZP(e,r){var a=e.stateNode;if(a===null)return null;var i=a[Rl]||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(Ut(231,r,typeof a));return a}var Fp=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),wB=!1;if(Fp)try{Iz={},Object.defineProperty(Iz,"passive",{get:function(){wB=!0}}),window.addEventListener("test",Iz,Iz),window.removeEventListener("test",Iz,Iz)}catch(e){wB=!1}var Iz,i8=null,m6=null,hO=null;function aJ(){if(hO)return hO;var e,r=m6,a=r.length,i,f="value"in i8?i8.value:i8.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 hO=f.slice(e,1<i?1-i:void 0)}function gO(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 nO(){return!0}function bX(){return!1}function Pl(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)?nO:bX,this.isPropagationStopped=bX,this}return an(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=nO)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!=="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=nO)},persist:function(){},isPersistent:nO}),r}var Vz={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fj=Pl(Vz),RP=an({},Vz,{view:0,detail:0}),xbe=Pl(RP),N3,F3,NR,sj=an({},RP,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:h6,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!==NR&&(NR&&e.type==="mousemove"?(N3=e.screenX-NR.screenX,F3=e.screenY-NR.screenY):F3=N3=0,NR=e),N3},movementY:function(e){return"movementY"in e?e.movementY:F3}}),_X=Pl(sj),ybe=an({},sj,{dataTransfer:0}),bbe=Pl(ybe),_be=an({},RP,{relatedTarget:0}),B3=Pl(_be),wbe=an({},Vz,{animationName:0,elapsedTime:0,pseudoElement:0}),zbe=Pl(wbe),Sbe=an({},Vz,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Lbe=Pl(Sbe),kbe=an({},Vz,{data:0}),wX=Pl(kbe),Ibe={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cbe={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"},Rbe={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pbe(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=Rbe[e])?!!r[e]:!1}function h6(){return Pbe}var Tbe=an({},RP,{key:function(e){if(e.key){var r=Ibe[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=gO(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Cbe[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:h6,charCode:function(e){return e.type==="keypress"?gO(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?gO(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Abe=Pl(Tbe),Dbe=an({},sj,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zX=Pl(Dbe),Ebe=an({},RP,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:h6}),Obe=Pl(Ebe),jbe=an({},Vz,{propertyName:0,elapsedTime:0,pseudoElement:0}),Nbe=Pl(jbe),Fbe=an({},sj,{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}),Bbe=Pl(Fbe),Ybe=an({},Vz,{newState:0,oldState:0}),Ube=Pl(Ybe),qbe=[9,13,27,32],g6=Fp&&"CompositionEvent"in window,$R=null;Fp&&"documentMode"in document&&($R=document.documentMode);var Vbe=Fp&&"TextEvent"in window&&!$R,nJ=Fp&&(!g6||$R&&8<$R&&11>=$R),SX=String.fromCharCode(32),LX=!1;function iJ(e,r){switch(e){case"keyup":return qbe.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fJ(e){return e=e.detail,typeof e==="object"&&"data"in e?e.data:null}var Ek=!1;function Hbe(e,r){switch(e){case"compositionend":return fJ(r);case"keypress":if(r.which!==32)return null;return LX=!0,SX;case"textInput":return e=r.data,e===SX&&LX?null:e;default:return null}}function Wbe(e,r){if(Ek)return e==="compositionend"||!g6&&iJ(e,r)?(e=aJ(),hO=m6=i8=null,Ek=!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 nJ&&r.locale!=="ko"?null:r.data;default:return null}}var Gbe={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 kX(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!Gbe[e.type]:r==="textarea"?!0:!1}function sJ(e,r,a,i){Dk?Hk?Hk.push(i):Hk=[i]:Dk=i,r=JO(r,"onChange"),0<r.length&&(a=new fj("onChange","change",null,a,i),e.push({event:a,listeners:r}))}var eP=null,pP=null;function Kbe(e){eee(e,0)}function lj(e){var r=HR(e);if(JQ(r))return e}function IX(e,r){if(e==="change")return r}var lJ=!1;if(Fp){if(Fp){if(GR="oninput"in document,!GR)MO=document.createElement("div"),MO.setAttribute("oninput","return;"),GR=typeof MO.oninput==="function";WR=GR}else WR=!1;lJ=WR&&(!document.documentMode||9<document.documentMode)}var WR,GR,MO;function CX(){eP&&(eP.detachEvent("onpropertychange",cJ),pP=eP=null)}function cJ(e){if(e.propertyName==="value"&&lj(pP)){var r=[];sJ(r,pP,e,p6(e)),oJ(Kbe,r)}}function Xbe(e,r,a){e==="focusin"?(CX(),eP=r,pP=a,eP.attachEvent("onpropertychange",cJ)):e==="focusout"&&CX()}function Qbe(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return lj(pP)}function Jbe(e,r){if(e==="click")return lj(r)}function $be(e,r){if(e==="input"||e==="change")return lj(r)}function e_e(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var $l=typeof Object.is==="function"?Object.is:e_e;function mP(e,r){if($l(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(!MB.call(r,f)||!$l(e[f],r[f]))return!1}return!0}function RX(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function PX(e,r){var a=RX(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=RX(a)}}function uJ(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?uJ(e,r.parentNode):("contains"in e)?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function dJ(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var r=AO(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=AO(e.document)}return r}function M6(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 t_e=Fp&&"documentMode"in document&&11>=document.documentMode,Ok=null,zB=null,tP=null,SB=!1;function TX(e,r,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;SB||Ok==null||Ok!==AO(i)||(i=Ok,("selectionStart"in i)&&M6(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}),tP&&mP(tP,i)||(tP=i,i=JO(zB,"onSelect"),0<i.length&&(r=new fj("onSelect","select",null,r,a),e.push({event:r,listeners:i}),r.target=Ok)))}function Sz(e,r){var a={};return a[e.toLowerCase()]=r.toLowerCase(),a["Webkit"+e]="webkit"+r,a["Moz"+e]="moz"+r,a}var jk={animationend:Sz("Animation","AnimationEnd"),animationiteration:Sz("Animation","AnimationIteration"),animationstart:Sz("Animation","AnimationStart"),transitionrun:Sz("Transition","TransitionRun"),transitionstart:Sz("Transition","TransitionStart"),transitioncancel:Sz("Transition","TransitionCancel"),transitionend:Sz("Transition","TransitionEnd")},Y3={},ZJ={};Fp&&(ZJ=document.createElement("div").style,("AnimationEvent"in window)||(delete jk.animationend.animation,delete jk.animationiteration.animation,delete jk.animationstart.animation),("TransitionEvent"in window)||delete jk.transitionend.transition);function Hz(e){if(Y3[e])return Y3[e];if(!jk[e])return e;var r=jk[e],a;for(a in r)if(r.hasOwnProperty(a)&&a in ZJ)return Y3[e]=r[a];return e}var pJ=Hz("animationend"),mJ=Hz("animationiteration"),hJ=Hz("animationstart"),r_e=Hz("transitionrun"),o_e=Hz("transitionstart"),a_e=Hz("transitioncancel"),gJ=Hz("transitionend"),MJ=new Map,LB="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(" ");LB.push("scrollEnd");function Id(e,r){MJ.set(e,r),qz(r,[e])}var DO=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)},qc=[],Nk=0,v6=0;function cj(){for(var e=Nk,r=v6=Nk=0;r<e;){var a=qc[r];qc[r++]=null;var i=qc[r];qc[r++]=null;var f=qc[r];qc[r++]=null;var s=qc[r];if(qc[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&&vJ(a,f,s)}}function uj(e,r,a,i){qc[Nk++]=e,qc[Nk++]=r,qc[Nk++]=a,qc[Nk++]=i,v6|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function x6(e,r,a,i){return uj(e,r,a,i),EO(e)}function Wz(e,r){return uj(e,null,null,r),EO(e)}function vJ(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-Jl(a),e=s.hiddenUpdates,i=e[f],i===null?e[f]=[r]:i.push(r),r.lane=a|536870912),s):null}function EO(e){if(50<cP)throw cP=0,GB=null,Error(Ut(185));for(var r=e.return;r!==null;)e=r,r=e.return;return e.tag===3?e.stateNode:null}var Fk={};function n_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 Gl(e,r,a,i){return new n_e(e,r,a,i)}function y6(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Dp(e,r){var a=e.alternate;return a===null?(a=Gl(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 xJ(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 vO(e,r,a,i,f,s){var l=0;if(i=e,typeof e==="function")y6(e)&&(l=1);else if(typeof e==="string")l=uwe(e,a,zZ.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case pB:return e=Gl(31,a,r,f),e.elementType=pB,e.lanes=s,e;case Pk:return Tz(a.children,f,s,r);case jQ:l=8,f|=24;break;case uB:return e=Gl(12,a,r,f|2),e.elementType=uB,e.lanes=s,e;case dB:return e=Gl(13,a,r,f),e.elementType=dB,e.lanes=s,e;case ZB:return e=Gl(19,a,r,f),e.elementType=ZB,e.lanes=s,e;default:if(typeof e==="object"&&e!==null)switch(e.$$typeof){case Rp:l=10;break e;case NQ:l=9;break e;case s6:l=11;break e;case l6:l=14;break e;case $M:l=16,i=null;break e}l=29,a=Error(Ut(130,e===null?"null":typeof e,"")),i=null}return r=Gl(l,a,r,f),r.elementType=e,r.type=i,r.lanes=s,r}function Tz(e,r,a,i){return e=Gl(7,e,i,r),e.lanes=a,e}function U3(e,r,a){return e=Gl(6,e,null,r),e.lanes=a,e}function yJ(e){var r=Gl(18,null,null,0);return r.stateNode=e,r}function q3(e,r,a){return r=Gl(4,e.children!==null?e.children:[],e.key,r),r.lanes=a,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}var AX=new WeakMap;function Kc(e,r){if(typeof e==="object"&&e!==null){var a=AX.get(e);if(a!==void 0)return a;return r={value:e,source:r,stack:mX(r)},AX.set(e,r),r}return{value:e,source:r,stack:mX(r)}}var Bk=[],Yk=0,OO=null,hP=0,Hc=[],Wc=0,g8=null,bZ=1,_Z="";function kp(e,r){Bk[Yk++]=hP,Bk[Yk++]=OO,OO=e,hP=r}function bJ(e,r,a){Hc[Wc++]=bZ,Hc[Wc++]=_Z,Hc[Wc++]=g8,g8=e;var i=bZ;e=_Z;var f=32-Jl(i)-1;i&=~(1<<f),a+=1;var s=32-Jl(r)+f;if(30<s){var l=f-f%5;s=(i&(1<<l)-1).toString(32),i>>=l,f-=l,bZ=1<<32-Jl(r)+f|a<<f|i,_Z=s+e}else bZ=1<<s|a<<f|i,_Z=e}function b6(e){e.return!==null&&(kp(e,1),bJ(e,1,0))}function _6(e){for(;e===OO;)OO=Bk[--Yk],Bk[Yk]=null,hP=Bk[--Yk],Bk[Yk]=null;for(;e===g8;)g8=Hc[--Wc],Hc[Wc]=null,_Z=Hc[--Wc],Hc[Wc]=null,bZ=Hc[--Wc],Hc[Wc]=null}function _J(e,r){Hc[Wc++]=bZ,Hc[Wc++]=_Z,Hc[Wc++]=g8,bZ=r.id,_Z=r.overflow,g8=e}var ls=null,on=null,Po=!1,u8=null,Xc=!1,kB=Error(Ut(519));function M8(e){var r=Error(Ut(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw gP(Kc(r,e)),kB}function DX(e){var{stateNode:r,type:a,memoizedProps:i}=e;switch(r[ss]=e,r[Rl]=i,a){case"dialog":zo("cancel",r),zo("close",r);break;case"iframe":case"object":case"embed":zo("load",r);break;case"video":case"audio":for(a=0;a<yP.length;a++)zo(yP[a],r);break;case"source":zo("error",r);break;case"img":case"image":case"link":zo("error",r),zo("load",r);break;case"details":zo("toggle",r);break;case"input":zo("invalid",r),$Q(r,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":zo("invalid",r);break;case"textarea":zo("invalid",r),tJ(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||oee(r.textContent,a)?(i.popover!=null&&(zo("beforetoggle",r),zo("toggle",r)),i.onScroll!=null&&zo("scroll",r),i.onScrollEnd!=null&&zo("scrollend",r),i.onClick!=null&&(r.onclick=Pp),r=!0):r=!1,r||M8(e,!0)}function EX(e){for(ls=e.return;ls;)switch(ls.tag){case 5:case 31:case 13:Xc=!1;return;case 27:case 3:Xc=!0;return;default:ls=ls.return}}function Lk(e){if(e!==ls)return!1;if(!Po)return EX(e),Po=!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")||t6(e.type,e.memoizedProps);a=!a}if(a&&on&&M8(e),EX(e),r===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Ut(317));on=bQ(e)}else if(r===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Ut(317));on=bQ(e)}else r===27?(r=on,b8(e.type)?(e=n6,n6=null,on=e):on=r):on=ls?$c(e.stateNode.nextSibling):null;return!0}function Nz(){on=ls=null,Po=!1}function V3(){var e=u8;return e!==null&&(Il===null?Il=e:Il.push.apply(Il,e),u8=null),e}function gP(e){u8===null?u8=[e]:u8.push(e)}var IB=SZ(null),Gz=null,Tp=null;function t8(e,r,a){Da(IB,r._currentValue),r._currentValue=a}function Op(e){e._currentValue=IB.current,Oi(IB)}function CB(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 RB(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),CB(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(Ut(341));l.lanes|=a,s=l.alternate,s!==null&&(s.lanes|=a),CB(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 l1(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(Ut(387));if(l=l.memoizedProps,l!==null){var c=f.type;$l(f.pendingProps.value,l.value)||(e!==null?e.push(c):e=[c])}}else if(f===CO.current){if(l=f.alternate,l===null)throw Error(Ut(387));l.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(e!==null?e.push(_P):e=[_P])}f=f.return}e!==null&&RB(r,e,a,i),r.flags|=262144}function jO(e){for(e=e.firstContext;e!==null;){if(!$l(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Fz(e){Gz=e,Tp=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function cs(e){return wJ(Gz,e)}function iO(e,r){return Gz===null&&Fz(e),wJ(e,r)}function wJ(e,r){var a=r._currentValue;if(r={context:r,memoizedValue:a,next:null},Tp===null){if(e===null)throw Error(Ut(308));Tp=r,e.dependencies={lanes:0,firstContext:r},e.flags|=524288}else Tp=Tp.next=r;return a}var i_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()})}},f_e=ma,s_e=pa,_i={$$typeof:Rp,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function w6(){return{controller:new i_e,data:new Map,refCount:0}}function PP(e){e.refCount--,e.refCount===0&&f_e(s_e,function(){e.controller.abort()})}var rP=null,PB=0,e1=0,Wk=null;function l_e(e,r){if(rP===null){var a=rP=[];PB=0,e1=K6(),Wk={status:"pending",value:void 0,then:function(i){a.push(i)}}}return PB++,r.then(OX,OX),r}function OX(){if(--PB===0&&rP!==null){Wk!==null&&(Wk.status="fulfilled");var e=rP;rP=null,e1=0,Wk=null;for(var r=0;r<e.length;r++)(0,e[r])()}}function c_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 jX=Jr.S;Jr.S=function(e,r){D$=Xl(),typeof r==="object"&&r!==null&&typeof r.then==="function"&&l_e(e,r),jX!==null&&jX(e,r)};var Az=SZ(null);function z6(){var e=Az.current;return e!==null?e:Ca.pooledCache}function xO(e,r){r===null?Da(Az,Az.current):Da(Az,r.pool)}function zJ(){var e=z6();return e===null?null:{parent:_i._currentValue,pool:e}}var c1=Error(Ut(460)),S6=Error(Ut(474)),dj=Error(Ut(542)),NO={then:function(){}};function NX(e){return e=e.status,e==="fulfilled"||e==="rejected"}function SJ(e,r,a){switch(a=e[a],a===void 0?e.push(r):a!==r&&(r.then(Pp,Pp),r=a),r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,BX(e),e;default:if(typeof r.status==="string")r.then(Pp,Pp);else{if(e=Ca,e!==null&&100<e.shellSuspendCounter)throw Error(Ut(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,BX(e),e}throw Dz=r,c1}}function Cz(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,c1;throw a}}var Dz=null;function FX(){if(Dz===null)throw Error(Ut(459));var e=Dz;return Dz=null,e}function BX(e){if(e===c1||e===dj)throw Error(Ut(483))}var Gk=null,MP=0;function fO(e){var r=MP;return MP+=1,Gk===null&&(Gk=[]),SJ(Gk,e,r)}function FR(e,r){r=r.props.ref,e.ref=r!==void 0?r:null}function sO(e,r){if(r.$$typeof===Xye)throw Error(Ut(525));throw e=Object.prototype.toString.call(r),Error(Ut(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}function LJ(e){function r(k,I){if(e){var Y=k.deletions;Y===null?(k.deletions=[I],k.flags|=16):Y.push(I)}}function a(k,I){if(!e)return null;for(;I!==null;)r(k,I),I=I.sibling;return null}function i(k){for(var I=new Map;k!==null;)k.key!==null?I.set(k.key,k):I.set(k.index,k),k=k.sibling;return I}function f(k,I){return k=Dp(k,I),k.index=0,k.sibling=null,k}function s(k,I,Y){if(k.index=Y,!e)return k.flags|=1048576,I;if(Y=k.alternate,Y!==null)return Y=Y.index,Y<I?(k.flags|=67108866,I):Y;return k.flags|=67108866,I}function l(k){return e&&k.alternate===null&&(k.flags|=67108866),k}function c(k,I,Y,W){if(I===null||I.tag!==6)return I=U3(Y,k.mode,W),I.return=k,I;return I=f(I,Y),I.return=k,I}function m(k,I,Y,W){var X=Y.type;if(X===Pk)return M(k,I,Y.props.children,W,Y.key);if(I!==null&&(I.elementType===X||typeof X==="object"&&X!==null&&X.$$typeof===$M&&Cz(X)===I.type))return I=f(I,Y.props),FR(I,Y),I.return=k,I;return I=vO(Y.type,Y.key,Y.props,null,k.mode,W),FR(I,Y),I.return=k,I}function g(k,I,Y,W){if(I===null||I.tag!==4||I.stateNode.containerInfo!==Y.containerInfo||I.stateNode.implementation!==Y.implementation)return I=q3(Y,k.mode,W),I.return=k,I;return I=f(I,Y.children||[]),I.return=k,I}function M(k,I,Y,W,X){if(I===null||I.tag!==7)return I=Tz(Y,k.mode,W,X),I.return=k,I;return I=f(I,Y),I.return=k,I}function x(k,I,Y){if(typeof I==="string"&&I!==""||typeof I==="number"||typeof I==="bigint")return I=U3(""+I,k.mode,Y),I.return=k,I;if(typeof I==="object"&&I!==null){switch(I.$$typeof){case eO:return Y=vO(I.type,I.key,I.props,null,k.mode,Y),FR(Y,I),Y.return=k,Y;case qR:return I=q3(I,k.mode,Y),I.return=k,I;case $M:return I=Cz(I),x(k,I,Y)}if(VR(I)||jR(I))return I=Tz(I,k.mode,Y,null),I.return=k,I;if(typeof I.then==="function")return x(k,fO(I),Y);if(I.$$typeof===Rp)return x(k,iO(k,I),Y);sO(k,I)}return null}function b(k,I,Y,W){var X=I!==null?I.key:null;if(typeof Y==="string"&&Y!==""||typeof Y==="number"||typeof Y==="bigint")return X!==null?null:c(k,I,""+Y,W);if(typeof Y==="object"&&Y!==null){switch(Y.$$typeof){case eO:return Y.key===X?m(k,I,Y,W):null;case qR:return Y.key===X?g(k,I,Y,W):null;case $M:return Y=Cz(Y),b(k,I,Y,W)}if(VR(Y)||jR(Y))return X!==null?null:M(k,I,Y,W,null);if(typeof Y.then==="function")return b(k,I,fO(Y),W);if(Y.$$typeof===Rp)return b(k,I,iO(k,Y),W);sO(k,Y)}return null}function y(k,I,Y,W,X){if(typeof W==="string"&&W!==""||typeof W==="number"||typeof W==="bigint")return k=k.get(Y)||null,c(I,k,""+W,X);if(typeof W==="object"&&W!==null){switch(W.$$typeof){case eO:return k=k.get(W.key===null?Y:W.key)||null,m(I,k,W,X);case qR:return k=k.get(W.key===null?Y:W.key)||null,g(I,k,W,X);case $M:return W=Cz(W),y(k,I,Y,W,X)}if(VR(W)||jR(W))return k=k.get(Y)||null,M(I,k,W,X,null);if(typeof W.then==="function")return y(k,I,Y,fO(W),X);if(W.$$typeof===Rp)return y(k,I,Y,iO(I,W),X);sO(I,W)}return null}function _(k,I,Y,W){for(var X=null,J=null,ee=I,ae=I=0,ne=null;ee!==null&&ae<Y.length;ae++){ee.index>ae?(ne=ee,ee=null):ne=ee.sibling;var xe=b(k,ee,Y[ae],W);if(xe===null){ee===null&&(ee=ne);break}e&&ee&&xe.alternate===null&&r(k,ee),I=s(xe,I,ae),J===null?X=xe:J.sibling=xe,J=xe,ee=ne}if(ae===Y.length)return a(k,ee),Po&&kp(k,ae),X;if(ee===null){for(;ae<Y.length;ae++)ee=x(k,Y[ae],W),ee!==null&&(I=s(ee,I,ae),J===null?X=ee:J.sibling=ee,J=ee);return Po&&kp(k,ae),X}for(ee=i(ee);ae<Y.length;ae++)ne=y(ee,k,ae,Y[ae],W),ne!==null&&(e&&ne.alternate!==null&&ee.delete(ne.key===null?ae:ne.key),I=s(ne,I,ae),J===null?X=ne:J.sibling=ne,J=ne);return e&&ee.forEach(function(Qe){return r(k,Qe)}),Po&&kp(k,ae),X}function z(k,I,Y,W){if(Y==null)throw Error(Ut(151));for(var X=null,J=null,ee=I,ae=I=0,ne=null,xe=Y.next();ee!==null&&!xe.done;ae++,xe=Y.next()){ee.index>ae?(ne=ee,ee=null):ne=ee.sibling;var Qe=b(k,ee,xe.value,W);if(Qe===null){ee===null&&(ee=ne);break}e&&ee&&Qe.alternate===null&&r(k,ee),I=s(Qe,I,ae),J===null?X=Qe:J.sibling=Qe,J=Qe,ee=ne}if(xe.done)return a(k,ee),Po&&kp(k,ae),X;if(ee===null){for(;!xe.done;ae++,xe=Y.next())xe=x(k,xe.value,W),xe!==null&&(I=s(xe,I,ae),J===null?X=xe:J.sibling=xe,J=xe);return Po&&kp(k,ae),X}for(ee=i(ee);!xe.done;ae++,xe=Y.next())xe=y(ee,k,ae,xe.value,W),xe!==null&&(e&&xe.alternate!==null&&ee.delete(xe.key===null?ae:xe.key),I=s(xe,I,ae),J===null?X=xe:J.sibling=xe,J=xe);return e&&ee.forEach(function(Fe){return r(k,Fe)}),Po&&kp(k,ae),X}function F(k,I,Y,W){if(typeof Y==="object"&&Y!==null&&Y.type===Pk&&Y.key===null&&(Y=Y.props.children),typeof Y==="object"&&Y!==null){switch(Y.$$typeof){case eO:e:{for(var X=Y.key;I!==null;){if(I.key===X){if(X=Y.type,X===Pk){if(I.tag===7){a(k,I.sibling),W=f(I,Y.props.children),W.return=k,k=W;break e}}else if(I.elementType===X||typeof X==="object"&&X!==null&&X.$$typeof===$M&&Cz(X)===I.type){a(k,I.sibling),W=f(I,Y.props),FR(W,Y),W.return=k,k=W;break e}a(k,I);break}else r(k,I);I=I.sibling}Y.type===Pk?(W=Tz(Y.props.children,k.mode,W,Y.key),W.return=k,k=W):(W=vO(Y.type,Y.key,Y.props,null,k.mode,W),FR(W,Y),W.return=k,k=W)}return l(k);case qR:e:{for(X=Y.key;I!==null;){if(I.key===X)if(I.tag===4&&I.stateNode.containerInfo===Y.containerInfo&&I.stateNode.implementation===Y.implementation){a(k,I.sibling),W=f(I,Y.children||[]),W.return=k,k=W;break e}else{a(k,I);break}else r(k,I);I=I.sibling}W=q3(Y,k.mode,W),W.return=k,k=W}return l(k);case $M:return Y=Cz(Y),F(k,I,Y,W)}if(VR(Y))return _(k,I,Y,W);if(jR(Y)){if(X=jR(Y),typeof X!=="function")throw Error(Ut(150));return Y=X.call(Y),z(k,I,Y,W)}if(typeof Y.then==="function")return F(k,I,fO(Y),W);if(Y.$$typeof===Rp)return F(k,I,iO(k,Y),W);sO(k,Y)}return typeof Y==="string"&&Y!==""||typeof Y==="number"||typeof Y==="bigint"?(Y=""+Y,I!==null&&I.tag===6?(a(k,I.sibling),W=f(I,Y),W.return=k,k=W):(a(k,I),W=U3(Y,k.mode,W),W.return=k,k=W),l(k)):a(k,I)}return function(k,I,Y,W){try{MP=0;var X=F(k,I,Y,W);return Gk=null,X}catch(ee){if(ee===c1||ee===dj)throw ee;var J=Gl(29,ee,null,k.mode);return J.lanes=W,J.return=k,J}finally{}}}var Bz=LJ(!0),kJ=LJ(!1),e8=!1;function L6(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function TB(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 Ez(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Oz(e,r,a){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(Uo&2)!==0){var f=i.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),i.pending=r,r=EO(e),vJ(e,null,a),r}return uj(e,i,r,a),EO(e)}function oP(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,VQ(e,a)}}function H3(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 AB=!1;function aP(){if(AB){var e=Wk;if(e!==null)throw e}}function nP(e,r,a,i){AB=!1;var f=e.updateQueue;e8=!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 x=f.baseState;l=0,M=g=m=null,c=s;do{var b=c.lane&-536870913,y=b!==c.lane;if(y?(Ro&b)===b:(i&b)===b){b!==0&&b===e1&&(AB=!0),M!==null&&(M=M.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});e:{var _=e,z=c;b=r;var F=a;switch(z.tag){case 1:if(_=z.payload,typeof _==="function"){x=_.call(F,x,b);break e}x=_;break e;case 3:_.flags=_.flags&-65537|128;case 0:if(_=z.payload,b=typeof _==="function"?_.call(F,x,b):_,b===null||b===void 0)break e;x=an({},x,b);break e;case 2:e8=!0}}b=c.callback,b!==null&&(e.flags|=64,y&&(e.flags|=8192),y=f.callbacks,y===null?f.callbacks=[b]:y.push(b))}else y={lane:b,tag:c.tag,payload:c.payload,callback:c.callback,next:null},M===null?(g=M=y,m=x):M=M.next=y,l|=b;if(c=c.next,c===null)if(c=f.shared.pending,c===null)break;else y=c,c=y.next,y.next=null,f.lastBaseUpdate=y,f.shared.pending=null}while(1);M===null&&(m=x),f.baseState=m,f.firstBaseUpdate=g,f.lastBaseUpdate=M,s===null&&(f.shared.lanes=0),x8|=l,e.lanes=l,e.memoizedState=x}}function IJ(e,r){if(typeof e!=="function")throw Error(Ut(191,e));e.call(r)}function CJ(e,r){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)IJ(a[e],r)}var t1=SZ(null),FO=SZ(0);function YX(e,r){e=Dg,Da(FO,e),Da(t1,r),Dg=e|r.baseLanes}function DB(){Da(FO,Dg),Da(t1,t1.current)}function k6(){Dg=FO.current,Oi(t1),Oi(FO)}var ec=SZ(null),Qc=null;function r8(e){var r=e.alternate;Da(Un,Un.current&1),Da(ec,e),Qc===null&&(r===null||t1.current!==null?Qc=e:r.memoizedState!==null&&(Qc=e))}function EB(e){Da(Un,Un.current),Da(ec,e),Qc===null&&(Qc=e)}function RJ(e){e.tag===22?(Da(Un,Un.current),Da(ec,e),Qc===null&&(Qc=e)):o8(e)}function o8(){Da(Un,Un.current),Da(ec,ec.current)}function Wl(e){Oi(ec),Qc===e&&(Qc=null),Oi(Un)}var Un=SZ(0);function BO(e){for(var r=e;r!==null;){if(r.tag===13){var a=r.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||o6(a)||a6(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 Bp=0,no=null,Ma=null,xi=null,YO=!1,Kk=!1,Yz=!1,UO=0,vP=0,Xk=null,u_e=0;function zn(){throw Error(Ut(321))}function I6(e,r){if(r===null)return!1;for(var a=0;a<r.length&&a<e.length;a++)if(!$l(e[a],r[a]))return!1;return!0}function C6(e,r,a,i,f,s){return Bp=s,no=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Jr.H=e===null||e.memoizedState===null?s$:B6,Yz=!1,s=a(i,f),Yz=!1,Kk&&(s=TJ(r,a,i,f)),PJ(e),s}function PJ(e){Jr.H=xP;var r=Ma!==null&&Ma.next!==null;if(Bp=0,xi=Ma=no=null,YO=!1,vP=0,Xk=null,r)throw Error(Ut(300));e===null||wi||(e=e.dependencies,e!==null&&jO(e)&&(wi=!0))}function TJ(e,r,a,i){no=e;var f=0;do{if(Kk&&(Xk=null),vP=0,Kk=!1,25<=f)throw Error(Ut(301));if(f+=1,xi=Ma=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}Jr.H=l$,s=r(a,i)}while(Kk);return s}function d_e(){var e=Jr.H,r=e.useState()[0];return r=typeof r.then==="function"?TP(r):r,e=e.useState()[0],(Ma!==null?Ma.memoizedState:null)!==e&&(no.flags|=1024),r}function R6(){var e=UO!==0;return UO=0,e}function P6(e,r,a){r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~a}function T6(e){if(YO){for(e=e.memoizedState;e!==null;){var r=e.queue;r!==null&&(r.pending=null),e=e.next}YO=!1}Bp=0,xi=Ma=no=null,Kk=!1,vP=UO=0,Xk=null}function Ks(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return xi===null?no.memoizedState=xi=e:xi=xi.next=e,xi}function Wn(){if(Ma===null){var e=no.alternate;e=e!==null?e.memoizedState:null}else e=Ma.next;var r=xi===null?no.memoizedState:xi.next;if(r!==null)xi=r,Ma=e;else{if(e===null){if(no.alternate===null)throw Error(Ut(467));throw Error(Ut(310))}Ma=e,e={memoizedState:Ma.memoizedState,baseState:Ma.baseState,baseQueue:Ma.baseQueue,queue:Ma.queue,next:null},xi===null?no.memoizedState=xi=e:xi=xi.next=e}return xi}function Zj(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function TP(e){var r=vP;return vP+=1,Xk===null&&(Xk=[]),e=SJ(Xk,e,r),r=no,(xi===null?r.memoizedState:xi.next)===null&&(r=r.alternate,Jr.H=r===null||r.memoizedState===null?s$:B6),e}function pj(e){if(e!==null&&typeof e==="object"){if(typeof e.then==="function")return TP(e);if(e.$$typeof===Rp)return cs(e)}throw Error(Ut(438,String(e)))}function A6(e){var r=null,a=no.updateQueue;if(a!==null&&(r=a.memoCache),r==null){var i=no.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=Zj(),no.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]=Qye;return r.index++,a}function Up(e,r){return typeof r==="function"?r(e):r}function yO(e){var r=Wn();return D6(r,Ma,e)}function D6(e,r,a){var i=e.queue;if(i===null)throw Error(Ut(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 x=g.lane&-536870913;if(x!==g.lane?(Ro&x)===x:(Bp&x)===x){var b=g.revertLane;if(b===0)m!==null&&(m=m.next={lane:0,revertLane:0,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null}),x===e1&&(M=!0);else if((Bp&b)===b){g=g.next,b===e1&&(M=!0);continue}else x={lane:0,revertLane:g.revertLane,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},m===null?(c=m=x,l=s):m=m.next=x,no.lanes|=b,x8|=b;x=g.action,Yz&&a(s,x),s=g.hasEagerState?g.eagerState:a(s,x)}else b={lane:x,revertLane:g.revertLane,gesture:g.gesture,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},m===null?(c=m=b,l=s):m=m.next=b,no.lanes|=x,x8|=x;g=g.next}while(g!==null&&g!==r);if(m===null?l=s:m.next=c,!$l(s,e.memoizedState)&&(wi=!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 W3(e){var r=Wn(),a=r.queue;if(a===null)throw Error(Ut(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);$l(s,r.memoizedState)||(wi=!0),r.memoizedState=s,r.baseQueue===null&&(r.baseState=s),a.lastRenderedState=s}return[s,i]}function AJ(e,r,a){var i=no,f=Wn(),s=Po;if(s){if(a===void 0)throw Error(Ut(407));a=a()}else a=r();var l=!$l((Ma||f).memoizedState,a);if(l&&(f.memoizedState=a,wi=!0),f=f.queue,E6(OJ.bind(null,i,f,e),[e]),f.getSnapshot!==r||l||xi!==null&&xi.memoizedState.tag&1){if(i.flags|=2048,r1(9,{destroy:void 0},EJ.bind(null,i,f,a,r),null),Ca===null)throw Error(Ut(349));s||(Bp&127)!==0||DJ(i,r,a)}return a}function DJ(e,r,a){e.flags|=16384,e={getSnapshot:r,value:a},r=no.updateQueue,r===null?(r=Zj(),no.updateQueue=r,r.stores=[e]):(a=r.stores,a===null?r.stores=[e]:a.push(e))}function EJ(e,r,a,i){r.value=a,r.getSnapshot=i,jJ(r)&&NJ(e)}function OJ(e,r,a){return a(function(){jJ(r)&&NJ(e)})}function jJ(e){var r=e.getSnapshot;e=e.value;try{var a=r();return!$l(e,a)}catch(i){return!0}}function NJ(e){var r=Wz(e,2);r!==null&&Cl(r,e,2)}function OB(e){var r=Ks();if(typeof e==="function"){var a=e;if(e=a(),Yz){n8(!0);try{a()}finally{n8(!1)}}}return r.memoizedState=r.baseState=e,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Up,lastRenderedState:e},r}function FJ(e,r,a,i){return e.baseState=a,D6(e,Ma,typeof i==="function"?i:Up)}function Z_e(e,r,a,i,f){if(hj(e))throw Error(Ut(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)}};Jr.T!==null?a(!0):s.isTransition=!1,i(s),a=r.pending,a===null?(s.next=r.pending=s,BJ(r,s)):(s.next=a.next,r.pending=a.next=s)}}function BJ(e,r){var{action:a,payload:i}=r,f=e.state;if(r.isTransition){var s=Jr.T,l={};Jr.T=l;try{var c=a(f,i),m=Jr.S;m!==null&&m(l,c),UX(e,r,c)}catch(g){jB(e,r,g)}finally{s!==null&&l.types!==null&&(s.types=l.types),Jr.T=s}}else try{s=a(f,i),UX(e,r,s)}catch(g){jB(e,r,g)}}function UX(e,r,a){a!==null&&typeof a==="object"&&typeof a.then==="function"?a.then(function(i){qX(e,r,i)},function(i){return jB(e,r,i)}):qX(e,r,a)}function qX(e,r,a){r.status="fulfilled",r.value=a,YJ(r),e.state=a,r=e.pending,r!==null&&(a=r.next,a===r?e.pending=null:(a=a.next,r.next=a,BJ(e,a)))}function jB(e,r,a){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do r.status="rejected",r.reason=a,YJ(r),r=r.next;while(r!==i)}e.action=null}function YJ(e){e=e.listeners;for(var r=0;r<e.length;r++)(0,e[r])()}function UJ(e,r){return r}function VX(e,r){if(Po){var a=Ca.formState;if(a!==null){e:{var i=no;if(Po){if(on){t:{var f=on;for(var s=Xc;f.nodeType!==8;){if(!s){f=null;break t}if(f=$c(f.nextSibling),f===null){f=null;break t}}s=f.data,f=s==="F!"||s==="F"?f:null}if(f){on=$c(f.nextSibling),i=f.data==="F!";break e}}M8(i)}i=!1}i&&(r=a[0])}}return a=Ks(),a.memoizedState=a.baseState=r,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:UJ,lastRenderedState:r},a.queue=i,a=n$.bind(null,no,i),i.dispatch=a,i=OB(!1),s=F6.bind(null,no,!1,i.queue),i=Ks(),f={state:r,dispatch:null,action:e,pending:null},i.queue=f,a=Z_e.bind(null,no,f,s,a),f.dispatch=a,i.memoizedState=e,[r,a,!1]}function HX(e){var r=Wn();return qJ(r,Ma,e)}function qJ(e,r,a){if(r=D6(e,r,UJ)[0],e=yO(Up)[0],typeof r==="object"&&r!==null&&typeof r.then==="function")try{var i=TP(r)}catch(l){if(l===c1)throw dj;throw l}else i=r;r=Wn();var f=r.queue,s=f.dispatch;return a!==r.memoizedState&&(no.flags|=2048,r1(9,{destroy:void 0},p_e.bind(null,f,a),null)),[i,s,e]}function p_e(e,r){e.action=r}function WX(e){var r=Wn(),a=Ma;if(a!==null)return qJ(r,a,e);Wn(),r=r.memoizedState,a=Wn();var i=a.queue.dispatch;return a.memoizedState=e,[r,i,!1]}function r1(e,r,a,i){return e={tag:e,create:a,deps:i,inst:r,next:null},r=no.updateQueue,r===null&&(r=Zj(),no.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 VJ(){return Wn().memoizedState}function bO(e,r,a,i){var f=Ks();no.flags|=e,f.memoizedState=r1(1|r,{destroy:void 0},a,i===void 0?null:i)}function mj(e,r,a,i){var f=Wn();i=i===void 0?null:i;var s=f.memoizedState.inst;Ma!==null&&i!==null&&I6(i,Ma.memoizedState.deps)?f.memoizedState=r1(r,s,a,i):(no.flags|=e,f.memoizedState=r1(1|r,s,a,i))}function GX(e,r){bO(8390656,8,e,r)}function E6(e,r){mj(2048,8,e,r)}function m_e(e){no.flags|=4;var r=no.updateQueue;if(r===null)r=Zj(),no.updateQueue=r,r.events=[e];else{var a=r.events;a===null?r.events=[e]:a.push(e)}}function HJ(e){var r=Wn().memoizedState;return m_e({ref:r,nextImpl:e}),function(){if((Uo&2)!==0)throw Error(Ut(440));return r.impl.apply(void 0,arguments)}}function WJ(e,r){return mj(4,2,e,r)}function GJ(e,r){return mj(4,4,e,r)}function KJ(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 XJ(e,r,a){a=a!==null&&a!==void 0?a.concat([e]):null,mj(4,4,KJ.bind(null,r,e),a)}function O6(){}function QJ(e,r){var a=Wn();r=r===void 0?null:r;var i=a.memoizedState;if(r!==null&&I6(r,i[1]))return i[0];return a.memoizedState=[e,r],e}function JJ(e,r){var a=Wn();r=r===void 0?null:r;var i=a.memoizedState;if(r!==null&&I6(r,i[1]))return i[0];if(i=e(),Yz){n8(!0);try{e()}finally{n8(!1)}}return a.memoizedState=[i,r],i}function j6(e,r,a){if(a===void 0||(Bp&1073741824)!==0&&(Ro&261930)===0)return e.memoizedState=r;return e.memoizedState=a,e=O$(),no.lanes|=e,x8|=e,a}function $J(e,r,a,i){if($l(a,r))return a;if(t1.current!==null)return e=j6(e,a,i),$l(e,r)||(wi=!0),e;if((Bp&42)===0||(Bp&1073741824)!==0&&(Ro&261930)===0)return wi=!0,e.memoizedState=a;return e=O$(),no.lanes|=e,x8|=e,r}function e$(e,r,a,i,f){var s=qo.p;qo.p=s!==0&&8>s?s:8;var l=Jr.T,c={};Jr.T=c,F6(e,!1,r,a);try{var m=f(),g=Jr.S;if(g!==null&&g(c,m),m!==null&&typeof m==="object"&&typeof m.then==="function"){var M=c_e(m,i);iP(e,r,M,Jc(e))}else iP(e,r,i,Jc(e))}catch(x){iP(e,r,{then:function(){},status:"rejected",reason:x},Jc())}finally{qo.p=s,l!==null&&c.types!==null&&(l.types=c.types),Jr.T=l}}function h_e(){}function NB(e,r,a,i){if(e.tag!==5)throw Error(Ut(476));var f=t$(e).queue;e$(e,f,r,Pz,a===null?h_e:function(){return r$(e),a(i)})}function t$(e){var r=e.memoizedState;if(r!==null)return r;r={memoizedState:Pz,baseState:Pz,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Up,lastRenderedState:Pz},next:null};var a={};return r.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Up,lastRenderedState:a},next:null},e.memoizedState=r,e=e.alternate,e!==null&&(e.memoizedState=r),r}function r$(e){var r=t$(e);r.next===null&&(r=e.alternate.memoizedState),iP(e,r.next.queue,{},Jc())}function N6(){return cs(_P)}function o$(){return Wn().memoizedState}function a$(){return Wn().memoizedState}function g_e(e){for(var r=e.return;r!==null;){switch(r.tag){case 24:case 3:var a=Jc();e=Ez(a);var i=Oz(r,e,a);i!==null&&(Cl(i,r,a),oP(i,r,a)),r={cache:w6()},e.payload=r;return}r=r.return}}function M_e(e,r,a){var i=Jc();a={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},hj(e)?i$(r,a):(a=x6(e,r,a,i),a!==null&&(Cl(a,e,i),f$(a,r,i)))}function n$(e,r,a){var i=Jc();iP(e,r,a,i)}function iP(e,r,a,i){var f={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(hj(e))i$(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,$l(c,l))return uj(e,r,f,0),Ca===null&&cj(),!1}catch(m){}finally{}if(a=x6(e,r,f,i),a!==null)return Cl(a,e,i),f$(a,r,i),!0}return!1}function F6(e,r,a,i){if(i={lane:2,revertLane:K6(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},hj(e)){if(r)throw Error(Ut(479))}else r=x6(e,a,i,2),r!==null&&Cl(r,e,2)}function hj(e){var r=e.alternate;return e===no||r!==null&&r===no}function i$(e,r){Kk=YO=!0;var a=e.pending;a===null?r.next=r:(r.next=a.next,a.next=r),e.pending=r}function f$(e,r,a){if((a&4194048)!==0){var i=r.lanes;i&=e.pendingLanes,a|=i,r.lanes=a,VQ(e,a)}}var xP={readContext:cs,use:pj,useCallback:zn,useContext:zn,useEffect:zn,useImperativeHandle:zn,useLayoutEffect:zn,useInsertionEffect:zn,useMemo:zn,useReducer:zn,useRef:zn,useState:zn,useDebugValue:zn,useDeferredValue:zn,useTransition:zn,useSyncExternalStore:zn,useId:zn,useHostTransitionStatus:zn,useFormState:zn,useActionState:zn,useOptimistic:zn,useMemoCache:zn,useCacheRefresh:zn};xP.useEffectEvent=zn;var s$={readContext:cs,use:pj,useCallback:function(e,r){return Ks().memoizedState=[e,r===void 0?null:r],e},useContext:cs,useEffect:GX,useImperativeHandle:function(e,r,a){a=a!==null&&a!==void 0?a.concat([e]):null,bO(4194308,4,KJ.bind(null,r,e),a)},useLayoutEffect:function(e,r){return bO(4194308,4,e,r)},useInsertionEffect:function(e,r){bO(4,2,e,r)},useMemo:function(e,r){var a=Ks();r=r===void 0?null:r;var i=e();if(Yz){n8(!0);try{e()}finally{n8(!1)}}return a.memoizedState=[i,r],i},useReducer:function(e,r,a){var i=Ks();if(a!==void 0){var f=a(r);if(Yz){n8(!0);try{a(r)}finally{n8(!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=M_e.bind(null,no,e),[i.memoizedState,e]},useRef:function(e){var r=Ks();return e={current:e},r.memoizedState=e},useState:function(e){e=OB(e);var r=e.queue,a=n$.bind(null,no,r);return r.dispatch=a,[e.memoizedState,a]},useDebugValue:O6,useDeferredValue:function(e,r){var a=Ks();return j6(a,e,r)},useTransition:function(){var e=OB(!1);return e=e$.bind(null,no,e.queue,!0,!1),Ks().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,r,a){var i=no,f=Ks();if(Po){if(a===void 0)throw Error(Ut(407));a=a()}else{if(a=r(),Ca===null)throw Error(Ut(349));(Ro&127)!==0||DJ(i,r,a)}f.memoizedState=a;var s={value:a,getSnapshot:r};return f.queue=s,GX(OJ.bind(null,i,s,e),[e]),i.flags|=2048,r1(9,{destroy:void 0},EJ.bind(null,i,s,a,r),null),a},useId:function(){var e=Ks(),r=Ca.identifierPrefix;if(Po){var a=_Z,i=bZ;a=(i&~(1<<32-Jl(i)-1)).toString(32)+a,r="_"+r+"R_"+a,a=UO++,0<a&&(r+="H"+a.toString(32)),r+="_"}else a=u_e++,r="_"+r+"r_"+a.toString(32)+"_";return e.memoizedState=r},useHostTransitionStatus:N6,useFormState:VX,useActionState:VX,useOptimistic:function(e){var r=Ks();r.memoizedState=r.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=a,r=F6.bind(null,no,!0,a),a.dispatch=r,[e,r]},useMemoCache:A6,useCacheRefresh:function(){return Ks().memoizedState=g_e.bind(null,no)},useEffectEvent:function(e){var r=Ks(),a={impl:e};return r.memoizedState=a,function(){if((Uo&2)!==0)throw Error(Ut(440));return a.impl.apply(void 0,arguments)}}},B6={readContext:cs,use:pj,useCallback:QJ,useContext:cs,useEffect:E6,useImperativeHandle:XJ,useInsertionEffect:WJ,useLayoutEffect:GJ,useMemo:JJ,useReducer:yO,useRef:VJ,useState:function(){return yO(Up)},useDebugValue:O6,useDeferredValue:function(e,r){var a=Wn();return $J(a,Ma.memoizedState,e,r)},useTransition:function(){var e=yO(Up)[0],r=Wn().memoizedState;return[typeof e==="boolean"?e:TP(e),r]},useSyncExternalStore:AJ,useId:o$,useHostTransitionStatus:N6,useFormState:HX,useActionState:HX,useOptimistic:function(e,r){var a=Wn();return FJ(a,Ma,e,r)},useMemoCache:A6,useCacheRefresh:a$};B6.useEffectEvent=HJ;var l$={readContext:cs,use:pj,useCallback:QJ,useContext:cs,useEffect:E6,useImperativeHandle:XJ,useInsertionEffect:WJ,useLayoutEffect:GJ,useMemo:JJ,useReducer:W3,useRef:VJ,useState:function(){return W3(Up)},useDebugValue:O6,useDeferredValue:function(e,r){var a=Wn();return Ma===null?j6(a,e,r):$J(a,Ma.memoizedState,e,r)},useTransition:function(){var e=W3(Up)[0],r=Wn().memoizedState;return[typeof e==="boolean"?e:TP(e),r]},useSyncExternalStore:AJ,useId:o$,useHostTransitionStatus:N6,useFormState:WX,useActionState:WX,useOptimistic:function(e,r){var a=Wn();if(Ma!==null)return FJ(a,Ma,e,r);return a.baseState=e,[e,a.queue.dispatch]},useMemoCache:A6,useCacheRefresh:a$};l$.useEffectEvent=HJ;function G3(e,r,a,i){r=e.memoizedState,a=a(i,r),a=a===null||a===void 0?r:an({},r,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var FB={enqueueSetState:function(e,r,a){e=e._reactInternals;var i=Jc(),f=Ez(i);f.payload=r,a!==void 0&&a!==null&&(f.callback=a),r=Oz(e,f,i),r!==null&&(Cl(r,e,i),oP(r,e,i))},enqueueReplaceState:function(e,r,a){e=e._reactInternals;var i=Jc(),f=Ez(i);f.tag=1,f.payload=r,a!==void 0&&a!==null&&(f.callback=a),r=Oz(e,f,i),r!==null&&(Cl(r,e,i),oP(r,e,i))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var a=Jc(),i=Ez(a);i.tag=2,r!==void 0&&r!==null&&(i.callback=r),r=Oz(e,i,a),r!==null&&(Cl(r,e,a),oP(r,e,a))}};function KX(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?!mP(a,i)||!mP(f,s):!0}function XX(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&&FB.enqueueReplaceState(r,r.state,null)}function Uz(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=an({},a));for(var f in e)a[f]===void 0&&(a[f]=e[f])}return a}function v_e(e){DO(e)}function x_e(e){console.error(e)}function y_e(e){DO(e)}function qO(e,r){try{var a=e.onUncaughtError;a(r.value,{componentStack:r.stack})}catch(i){setTimeout(function(){throw i})}}function QX(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 BB(e,r,a){return a=Ez(a),a.tag=3,a.payload={element:null},a.callback=function(){qO(e,r)},a}function c$(e){return e=Ez(e),e.tag=3,e}function u$(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(){QX(r,a,i)}}var l=a.stateNode;l!==null&&typeof l.componentDidCatch==="function"&&(e.callback=function(){QX(r,a,i),typeof f!=="function"&&(d8===null?d8=new Set([this]):d8.add(this));var c=i.stack;this.componentDidCatch(i.value,{componentStack:c!==null?c:""})})}function b_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&&l1(r,a,f,!0),a=ec.current,a!==null){switch(a.tag){case 31:case 13:return Qc===null?KO():a.alternate===null&&Sn===0&&(Sn=3),a.flags&=-257,a.flags|=65536,a.lanes=f,i===NO?a.flags|=16384:(r=a.updateQueue,r===null?a.updateQueue=new Set([i]):r.add(i),nB(e,i,f)),!1;case 22:return a.flags|=65536,i===NO?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)),nB(e,i,f)),!1}throw Error(Ut(435,a.tag))}return nB(e,i,f),KO(),!1}if(Po)return r=ec.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=f,i!==kB&&(e=Error(Ut(422),{cause:i}),gP(Kc(e,a)))):(i!==kB&&(r=Error(Ut(423),{cause:i}),gP(Kc(r,a))),e=e.current.alternate,e.flags|=65536,f&=-f,e.lanes|=f,i=Kc(i,a),f=BB(e.stateNode,i,f),H3(e,f),Sn!==4&&(Sn=2)),!1;var s=Error(Ut(520),{cause:i});if(s=Kc(s,a),lP===null?lP=[s]:lP.push(s),Sn!==4&&(Sn=2),r===null)return!0;i=Kc(i,a),a=r;do{switch(a.tag){case 3:return a.flags|=65536,e=f&-f,a.lanes|=e,e=BB(a.stateNode,i,e),H3(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"&&(d8===null||!d8.has(s))))return a.flags|=65536,f&=-f,a.lanes|=f,f=c$(f),u$(f,e,a,i),H3(a,f),!1}a=a.return}while(a!==null);return!1}var Y6=Error(Ut(461)),wi=!1;function fs(e,r,a,i){r.child=e===null?kJ(r,null,a,i):Bz(r,e.child,a,i)}function JX(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(Fz(r),i=C6(e,r,a,l,s,f),c=R6(),e!==null&&!wi)return P6(e,r,f),Zg(e,r,f);return Po&&c&&b6(r),r.flags|=1,fs(e,r,i,f),r.child}function $X(e,r,a,i,f){if(e===null){var s=a.type;if(typeof s==="function"&&!y6(s)&&s.defaultProps===void 0&&a.compare===null)return r.tag=15,r.type=s,d$(e,r,s,i,f);return e=vO(a.type,null,i,r,r.mode,f),e.ref=r.ref,e.return=r,r.child=e}if(s=e.child,!U6(e,f)){var l=s.memoizedProps;if(a=a.compare,a=a!==null?a:mP,a(l,i)&&e.ref===r.ref)return Zg(e,r,f)}return r.flags|=1,e=Dp(s,i),e.ref=r.ref,e.return=r,r.child=e}function d$(e,r,a,i,f){if(e!==null){var s=e.memoizedProps;if(mP(s,i)&&e.ref===r.ref)if(wi=!1,r.pendingProps=i=s,U6(e,f))(e.flags&131072)!==0&&(wi=!0);else return r.lanes=e.lanes,Zg(e,r,f)}return YB(e,r,a,i,f)}function Z$(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 eQ(e,r,s,a,i)}if((a&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},e!==null&&xO(r,s!==null?s.cachePool:null),s!==null?YX(r,s):DB(),RJ(r);else return i=r.lanes=536870912,eQ(e,r,s!==null?s.baseLanes|a:a,a,i)}else s!==null?(xO(r,s.cachePool),YX(r,s),o8(r),r.memoizedState=null):(e!==null&&xO(r,null),DB(),o8(r));return fs(e,r,f,a),r.child}function KR(e,r){return e!==null&&e.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function eQ(e,r,a,i,f){var s=z6();return s=s===null?null:{parent:_i._currentValue,pool:s},r.memoizedState={baseLanes:a,cachePool:s},e!==null&&xO(r,null),DB(),RJ(r),e!==null&&l1(e,r,i,!0),r.childLanes=f,null}function _O(e,r){return r=VO({mode:r.mode,children:r.children},e.mode),r.ref=e.ref,e.child=r,r.return=e,r}function tQ(e,r,a){return Bz(r,e.child,null,a),e=_O(r,r.pendingProps),e.flags|=2,Wl(r),r.memoizedState=null,e}function __e(e,r,a){var i=r.pendingProps,f=(r.flags&128)!==0;if(r.flags&=-129,e===null){if(Po){if(i.mode==="hidden")return e=_O(r,i),r.lanes=536870912,KR(null,e);if(EB(r),(e=on)?(e=iee(e,Xc),e=e!==null&&e.data==="&"?e:null,e!==null&&(r.memoizedState={dehydrated:e,treeContext:g8!==null?{id:bZ,overflow:_Z}:null,retryLane:536870912,hydrationErrors:null},a=yJ(e),a.return=r,r.child=a,ls=r,on=null)):e=null,e===null)throw M8(r);return r.lanes=536870912,null}return _O(r,i)}var s=e.memoizedState;if(s!==null){var l=s.dehydrated;if(EB(r),f)if(r.flags&256)r.flags&=-257,r=tQ(e,r,a);else if(r.memoizedState!==null)r.child=e.child,r.flags|=128,r=null;else throw Error(Ut(558));else if(wi||l1(e,r,a,!1),f=(a&e.childLanes)!==0,wi||f){if(i=Ca,i!==null&&(l=HQ(i,a),l!==0&&l!==s.retryLane))throw s.retryLane=l,Wz(e,l),Cl(i,e,l),Y6;KO(),r=tQ(e,r,a)}else e=s.treeContext,on=$c(l.nextSibling),ls=r,Po=!0,u8=null,Xc=!1,e!==null&&_J(r,e),r=_O(r,i),r.flags|=4096;return r}return e=Dp(e.child,{mode:i.mode,children:i.children}),e.ref=r.ref,r.child=e,e.return=r,e}function wO(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(Ut(284));if(e===null||e.ref!==a)r.flags|=4194816}}function YB(e,r,a,i,f){if(Fz(r),a=C6(e,r,a,i,void 0,f),i=R6(),e!==null&&!wi)return P6(e,r,f),Zg(e,r,f);return Po&&i&&b6(r),r.flags|=1,fs(e,r,a,f),r.child}function rQ(e,r,a,i,f,s){if(Fz(r),r.updateQueue=null,a=TJ(r,i,a,f),PJ(e),i=R6(),e!==null&&!wi)return P6(e,r,s),Zg(e,r,s);return Po&&i&&b6(r),r.flags|=1,fs(e,r,a,s),r.child}function oQ(e,r,a,i,f){if(Fz(r),r.stateNode===null){var s=Fk,l=a.contextType;typeof l==="object"&&l!==null&&(s=cs(l)),s=new a(i,s),r.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=FB,r.stateNode=s,s._reactInternals=r,s=r.stateNode,s.props=i,s.state=r.memoizedState,s.refs={},L6(r),l=a.contextType,s.context=typeof l==="object"&&l!==null?cs(l):Fk,s.state=r.memoizedState,l=a.getDerivedStateFromProps,typeof l==="function"&&(G3(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&&FB.enqueueReplaceState(s,s.state,null),nP(r,i,s,f),aP(),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=Uz(a,c);s.props=m;var g=s.context,M=a.contextType;l=Fk,typeof M==="object"&&M!==null&&(l=cs(M));var x=a.getDerivedStateFromProps;M=typeof x==="function"||typeof s.getSnapshotBeforeUpdate==="function",c=r.pendingProps!==c,M||typeof s.UNSAFE_componentWillReceiveProps!=="function"&&typeof s.componentWillReceiveProps!=="function"||(c||g!==l)&&XX(r,s,i,l),e8=!1;var b=r.memoizedState;s.state=b,nP(r,i,s,f),aP(),g=r.memoizedState,c||b!==g||e8?(typeof x==="function"&&(G3(r,a,x,i),g=r.memoizedState),(m=e8||KX(r,a,m,i,b,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,TB(e,r),l=r.memoizedProps,M=Uz(a,l),s.props=M,x=r.pendingProps,b=s.context,g=a.contextType,m=Fk,typeof g==="object"&&g!==null&&(m=cs(g)),c=a.getDerivedStateFromProps,(g=typeof c==="function"||typeof s.getSnapshotBeforeUpdate==="function")||typeof s.UNSAFE_componentWillReceiveProps!=="function"&&typeof s.componentWillReceiveProps!=="function"||(l!==x||b!==m)&&XX(r,s,i,m),e8=!1,b=r.memoizedState,s.state=b,nP(r,i,s,f),aP();var y=r.memoizedState;l!==x||b!==y||e8||e!==null&&e.dependencies!==null&&jO(e.dependencies)?(typeof c==="function"&&(G3(r,a,c,i),y=r.memoizedState),(M=e8||KX(r,a,M,i,b,y,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,y,m),typeof s.UNSAFE_componentWillUpdate==="function"&&s.UNSAFE_componentWillUpdate(i,y,m)),typeof s.componentDidUpdate==="function"&&(r.flags|=4),typeof s.getSnapshotBeforeUpdate==="function"&&(r.flags|=1024)):(typeof s.componentDidUpdate!=="function"||l===e.memoizedProps&&b===e.memoizedState||(r.flags|=4),typeof s.getSnapshotBeforeUpdate!=="function"||l===e.memoizedProps&&b===e.memoizedState||(r.flags|=1024),r.memoizedProps=i,r.memoizedState=y),s.props=i,s.state=y,s.context=m,i=M):(typeof s.componentDidUpdate!=="function"||l===e.memoizedProps&&b===e.memoizedState||(r.flags|=4),typeof s.getSnapshotBeforeUpdate!=="function"||l===e.memoizedProps&&b===e.memoizedState||(r.flags|=1024),i=!1)}return s=i,wO(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=Bz(r,e.child,null,f),r.child=Bz(r,null,a,f)):fs(e,r,a,f),r.memoizedState=s.state,e=r.child):e=Zg(e,r,f),e}function aQ(e,r,a,i){return Nz(),r.flags|=256,fs(e,r,a,i),r.child}var K3={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function X3(e){return{baseLanes:e,cachePool:zJ()}}function Q3(e,r,a){return e=e!==null?e.childLanes&~a:0,r&&(e|=Kl),e}function p$(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:(Un.current&2)!==0),l&&(f=!0,r.flags&=-129),l=(r.flags&32)!==0,r.flags&=-33,e===null){if(Po){if(f?r8(r):o8(r),(e=on)?(e=iee(e,Xc),e=e!==null&&e.data!=="&"?e:null,e!==null&&(r.memoizedState={dehydrated:e,treeContext:g8!==null?{id:bZ,overflow:_Z}:null,retryLane:536870912,hydrationErrors:null},a=yJ(e),a.return=r,r.child=a,ls=r,on=null)):e=null,e===null)throw M8(r);return a6(e)?r.lanes=32:r.lanes=536870912,null}var c=i.children;if(i=i.fallback,f)return o8(r),f=r.mode,c=VO({mode:"hidden",children:c},f),i=Tz(i,f,a,null),c.return=r,i.return=r,c.sibling=i,r.child=c,i=r.child,i.memoizedState=X3(a),i.childLanes=Q3(e,l,a),r.memoizedState=K3,KR(null,i);return r8(r),UB(r,c)}var m=e.memoizedState;if(m!==null&&(c=m.dehydrated,c!==null)){if(s)r.flags&256?(r8(r),r.flags&=-257,r=J3(e,r,a)):r.memoizedState!==null?(o8(r),r.child=e.child,r.flags|=128,r=null):(o8(r),c=i.fallback,f=r.mode,i=VO({mode:"visible",children:i.children},f),c=Tz(c,f,a,null),c.flags|=2,i.return=r,c.return=r,i.sibling=c,r.child=i,Bz(r,e.child,null,a),i=r.child,i.memoizedState=X3(a),i.childLanes=Q3(e,l,a),r.memoizedState=K3,r=KR(null,i));else if(r8(r),a6(c)){if(l=c.nextSibling&&c.nextSibling.dataset,l)var g=l.dgst;l=g,i=Error(Ut(419)),i.stack="",i.digest=l,gP({value:i,source:null,stack:null}),r=J3(e,r,a)}else if(wi||l1(e,r,a,!1),l=(a&e.childLanes)!==0,wi||l){if(l=Ca,l!==null&&(i=HQ(l,a),i!==0&&i!==m.retryLane))throw m.retryLane=i,Wz(e,i),Cl(l,e,i),Y6;o6(c)||KO(),r=J3(e,r,a)}else o6(c)?(r.flags|=192,r.child=e.child,r=null):(e=m.treeContext,on=$c(c.nextSibling),ls=r,Po=!0,u8=null,Xc=!1,e!==null&&_J(r,e),r=UB(r,i.children),r.flags|=4096);return r}if(f)return o8(r),c=i.fallback,f=r.mode,m=e.child,g=m.sibling,i=Dp(m,{mode:"hidden",children:i.children}),i.subtreeFlags=m.subtreeFlags&65011712,g!==null?c=Dp(g,c):(c=Tz(c,f,a,null),c.flags|=2),c.return=r,i.return=r,i.sibling=c,r.child=i,KR(null,i),i=r.child,c=e.child.memoizedState,c===null?c=X3(a):(f=c.cachePool,f!==null?(m=_i._currentValue,f=f.parent!==m?{parent:m,pool:m}:f):f=zJ(),c={baseLanes:c.baseLanes|a,cachePool:f}),i.memoizedState=c,i.childLanes=Q3(e,l,a),r.memoizedState=K3,KR(e.child,i);return r8(r),a=e.child,e=a.sibling,a=Dp(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 UB(e,r){return r=VO({mode:"visible",children:r},e.mode),r.return=e,e.child=r}function VO(e,r){return e=Gl(22,e,null,r),e.lanes=0,e}function J3(e,r,a){return Bz(r,e.child,null,a),e=UB(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function nQ(e,r,a){e.lanes|=r;var i=e.alternate;i!==null&&(i.lanes|=r),CB(e.return,r,a)}function $3(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 m$(e,r,a){var i=r.pendingProps,f=i.revealOrder,s=i.tail;i=i.children;var l=Un.current,c=(l&2)!==0;if(c?(l=l&1|2,r.flags|=128):l&=1,Da(Un,l),fs(e,r,i,a),i=Po?hP:0,!c&&e!==null&&(e.flags&128)!==0)e:for(e=r.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&nQ(e,a,r);else if(e.tag===19)nQ(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&&BO(e)===null&&(f=a),a=a.sibling;a=f,a===null?(f=r.child,r.child=null):(f=a.sibling,a.sibling=null),$3(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&&BO(e)===null){r.child=f;break}e=f.sibling,f.sibling=a,a=f,f=e}$3(r,!0,a,null,s,i);break;case"together":$3(r,!1,null,null,void 0,i);break;default:r.memoizedState=null}return r.child}function Zg(e,r,a){if(e!==null&&(r.dependencies=e.dependencies),x8|=r.lanes,(a&r.childLanes)===0)if(e!==null){if(l1(e,r,a,!1),(a&r.childLanes)===0)return null}else return null;if(e!==null&&r.child!==e.child)throw Error(Ut(153));if(r.child!==null){e=r.child,a=Dp(e,e.pendingProps),r.child=a;for(a.return=r;e.sibling!==null;)e=e.sibling,a=a.sibling=Dp(e,e.pendingProps),a.return=r;a.sibling=null}return r.child}function U6(e,r){if((e.lanes&r)!==0)return!0;return e=e.dependencies,e!==null&&jO(e)?!0:!1}function w_e(e,r,a){switch(r.tag){case 3:RO(r,r.stateNode.containerInfo),t8(r,_i,e.memoizedState.cache),Nz();break;case 27:case 5:gB(r);break;case 4:RO(r,r.stateNode.containerInfo);break;case 10:t8(r,r.type,r.memoizedProps.value);break;case 31:if(r.memoizedState!==null)return r.flags|=128,EB(r),null;break;case 13:var i=r.memoizedState;if(i!==null){if(i.dehydrated!==null)return r8(r),r.flags|=128,null;if((a&r.child.childLanes)!==0)return p$(e,r,a);return r8(r),e=Zg(e,r,a),e!==null?e.sibling:null}r8(r);break;case 19:var f=(e.flags&128)!==0;if(i=(a&r.childLanes)!==0,i||(l1(e,r,a,!1),i=(a&r.childLanes)!==0),f){if(i)return m$(e,r,a);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Da(Un,Un.current),i)break;else return null;case 22:return r.lanes=0,Z$(e,r,a,r.pendingProps);case 24:t8(r,_i,e.memoizedState.cache)}return Zg(e,r,a)}function h$(e,r,a){if(e!==null)if(e.memoizedProps!==r.pendingProps)wi=!0;else{if(!U6(e,a)&&(r.flags&128)===0)return wi=!1,w_e(e,r,a);wi=(e.flags&131072)!==0?!0:!1}else wi=!1,Po&&(r.flags&1048576)!==0&&bJ(r,hP,r.index);switch(r.lanes=0,r.tag){case 16:e:{var i=r.pendingProps;if(e=Cz(r.elementType),r.type=e,typeof e==="function")y6(e)?(i=Uz(e,i),r.tag=1,r=oQ(null,r,e,i,a)):(r.tag=0,r=YB(null,r,e,i,a));else{if(e!==void 0&&e!==null){var f=e.$$typeof;if(f===s6){r.tag=11,r=JX(null,r,e,i,a);break e}else if(f===l6){r.tag=14,r=$X(null,r,e,i,a);break e}}throw r=mB(e)||e,Error(Ut(306,r,""))}}return r;case 0:return YB(e,r,r.type,r.pendingProps,a);case 1:return i=r.type,f=Uz(i,r.pendingProps),oQ(e,r,i,f,a);case 3:e:{if(RO(r,r.stateNode.containerInfo),e===null)throw Error(Ut(387));i=r.pendingProps;var s=r.memoizedState;f=s.element,TB(e,r),nP(r,i,null,a);var l=r.memoizedState;if(i=l.cache,t8(r,_i,i),i!==s.cache&&RB(r,[_i],a,!0),aP(),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=aQ(e,r,i,a);break e}else if(i!==f){f=Kc(Error(Ut(424)),r),gP(f),r=aQ(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}on=$c(e.firstChild),ls=r,Po=!0,u8=null,Xc=!0,a=kJ(r,null,i,a);for(r.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Nz(),i===f){r=Zg(e,r,a);break e}fs(e,r,i,a)}r=r.child}return r;case 26:return wO(e,r),e===null?(a=zQ(r.type,null,r.pendingProps,null))?r.memoizedState=a:Po||(a=r.type,e=r.pendingProps,i=$O(c8.current).createElement(a),i[ss]=r,i[Rl]=e,us(i,a,e),Ei(i),r.stateNode=i):r.memoizedState=zQ(r.type,e.memoizedProps,r.pendingProps,e.memoizedState),null;case 27:return gB(r),e===null&&Po&&(i=r.stateNode=fee(r.type,r.pendingProps,c8.current),ls=r,Xc=!0,f=on,b8(r.type)?(n6=f,on=$c(i.firstChild)):on=f),fs(e,r,r.pendingProps.children,a),wO(e,r),e===null&&(r.flags|=4194304),r.child;case 5:if(e===null&&Po){if(f=i=on)i=J_e(i,r.type,r.pendingProps,Xc),i!==null?(r.stateNode=i,ls=r,on=$c(i.firstChild),Xc=!1,f=!0):f=!1;f||M8(r)}return gB(r),f=r.type,s=r.pendingProps,l=e!==null?e.memoizedProps:null,i=s.children,t6(f,s)?i=null:l!==null&&t6(f,l)&&(r.flags|=32),r.memoizedState!==null&&(f=C6(e,r,d_e,null,null,a),_P._currentValue=f),wO(e,r),fs(e,r,i,a),r.child;case 6:if(e===null&&Po){if(e=a=on)a=$_e(a,r.pendingProps,Xc),a!==null?(r.stateNode=a,ls=r,on=null,e=!0):e=!1;e||M8(r)}return null;case 13:return p$(e,r,a);case 4:return RO(r,r.stateNode.containerInfo),i=r.pendingProps,e===null?r.child=Bz(r,null,i,a):fs(e,r,i,a),r.child;case 11:return JX(e,r,r.type,r.pendingProps,a);case 7:return fs(e,r,r.pendingProps,a),r.child;case 8:return fs(e,r,r.pendingProps.children,a),r.child;case 12:return fs(e,r,r.pendingProps.children,a),r.child;case 10:return i=r.pendingProps,t8(r,r.type,i.value),fs(e,r,i.children,a),r.child;case 9:return f=r.type._context,i=r.pendingProps.children,Fz(r),f=cs(f),i=i(f),r.flags|=1,fs(e,r,i,a),r.child;case 14:return $X(e,r,r.type,r.pendingProps,a);case 15:return d$(e,r,r.type,r.pendingProps,a);case 19:return m$(e,r,a);case 31:return __e(e,r,a);case 22:return Z$(e,r,a,r.pendingProps);case 24:return Fz(r),i=cs(_i),e===null?(f=z6(),f===null&&(f=Ca,s=w6(),f.pooledCache=s,s.refCount++,s!==null&&(f.pooledCacheLanes|=a),f=s),r.memoizedState={parent:i,cache:f},L6(r),t8(r,_i,f)):((e.lanes&a)!==0&&(TB(e,r),nP(r,null,null,a),aP()),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),t8(r,_i,i)):(i=s.cache,t8(r,_i,i),i!==f.cache&&RB(r,[_i],a,!0))),fs(e,r,r.pendingProps.children,a),r.child;case 29:throw r.pendingProps}throw Error(Ut(156,r.tag))}function $Z(e){e.flags|=4}function eB(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(F$())e.flags|=8192;else throw Dz=NO,S6}else e.flags&=-16777217}function iQ(e,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!cee(r))if(F$())e.flags|=8192;else throw Dz=NO,S6}function lO(e,r){r!==null&&(e.flags|=4),e.flags&16384&&(r=e.tag!==22?UQ():536870912,e.lanes|=r,o1|=r)}function BR(e,r){if(!Po)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 en(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 z_e(e,r,a){var i=r.pendingProps;switch(_6(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return en(r),null;case 1:return en(r),null;case 3:if(a=r.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),r.memoizedState.cache!==i&&(r.flags|=2048),Op(_i),Qk(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),e===null||e.child===null)Lk(r)?$Z(r):e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,V3());return en(r),null;case 26:var{type:f,memoizedState:s}=r;return e===null?($Z(r),s!==null?(en(r),iQ(r,s)):(en(r),eB(r,f,null,i,a))):s?s!==e.memoizedState?($Z(r),en(r),iQ(r,s)):(en(r),r.flags&=-16777217):(e=e.memoizedProps,e!==i&&$Z(r),en(r),eB(r,f,e,i,a)),null;case 27:if(PO(r),a=c8.current,f=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==i&&$Z(r);else{if(!i){if(r.stateNode===null)throw Error(Ut(166));return en(r),null}e=zZ.current,Lk(r)?DX(r,e):(e=fee(f,i,a),r.stateNode=e,$Z(r))}return en(r),null;case 5:if(PO(r),f=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==i&&$Z(r);else{if(!i){if(r.stateNode===null)throw Error(Ut(166));return en(r),null}if(s=zZ.current,Lk(r))DX(r,s);else{var l=$O(c8.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[ss]=r,s[Rl]=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(us(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&&$Z(r)}}return en(r),eB(r,r.type,e===null?null:e.memoizedProps,r.pendingProps,a),null;case 6:if(e&&r.stateNode!=null)e.memoizedProps!==i&&$Z(r);else{if(typeof i!=="string"&&r.stateNode===null)throw Error(Ut(166));if(e=c8.current,Lk(r)){if(e=r.stateNode,a=r.memoizedProps,i=null,f=ls,f!==null)switch(f.tag){case 27:case 5:i=f.memoizedProps}e[ss]=r,e=e.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||oee(e.nodeValue,a)?!0:!1,e||M8(r,!0)}else e=$O(e).createTextNode(i),e[ss]=r,r.stateNode=e}return en(r),null;case 31:if(a=r.memoizedState,e===null||e.memoizedState!==null){if(i=Lk(r),a!==null){if(e===null){if(!i)throw Error(Ut(318));if(e=r.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Ut(557));e[ss]=r}else Nz(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;en(r),e=!1}else a=V3(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e){if(r.flags&256)return Wl(r),r;return Wl(r),null}if((r.flags&128)!==0)throw Error(Ut(558))}return en(r),null;case 13:if(i=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=Lk(r),i!==null&&i.dehydrated!==null){if(e===null){if(!f)throw Error(Ut(318));if(f=r.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(Ut(317));f[ss]=r}else Nz(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;en(r),f=!1}else f=V3(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=f),f=!0;if(!f){if(r.flags&256)return Wl(r),r;return Wl(r),null}}if(Wl(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),lO(r,r.updateQueue),en(r),null;case 4:return Qk(),e===null&&tee(r.stateNode.containerInfo),en(r),null;case 10:return Op(r.type),en(r),null;case 19:if(Oi(Un),i=r.memoizedState,i===null)return en(r),null;if(f=(r.flags&128)!==0,s=i.rendering,s===null)if(f)BR(i,!1);else{if(Sn!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(s=BO(e),s!==null){r.flags|=128,BR(i,!1),e=s.updateQueue,r.updateQueue=e,lO(r,e),r.subtreeFlags=0,e=a;for(a=r.child;a!==null;)xJ(a,e),a=a.sibling;return Da(Un,Un.current&1|2),Po&&kp(r,i.treeForkCount),r.child}e=e.sibling}i.tail!==null&&Xl()>WO&&(r.flags|=128,f=!0,BR(i,!1),r.lanes=4194304)}else{if(!f)if(e=BO(s),e!==null){if(r.flags|=128,f=!0,e=e.updateQueue,r.updateQueue=e,lO(r,e),BR(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Po)return en(r),null}else 2*Xl()-i.renderingStartTime>WO&&a!==536870912&&(r.flags|=128,f=!0,BR(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=Xl(),e.sibling=null,a=Un.current,Da(Un,f?a&1|2:a&1),Po&&kp(r,i.treeForkCount),e;return en(r),null;case 22:case 23:return Wl(r),k6(),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&&(en(r),r.subtreeFlags&6&&(r.flags|=8192)):en(r),a=r.updateQueue,a!==null&&lO(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&&Oi(Az),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),r.memoizedState.cache!==a&&(r.flags|=2048),Op(_i),en(r),null;case 25:return null;case 30:return null}throw Error(Ut(156,r.tag))}function S_e(e,r){switch(_6(r),r.tag){case 1:return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return Op(_i),Qk(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 26:case 27:case 5:return PO(r),null;case 31:if(r.memoizedState!==null){if(Wl(r),r.alternate===null)throw Error(Ut(340));Nz()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 13:if(Wl(r),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(Ut(340));Nz()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return Oi(Un),null;case 4:return Qk(),null;case 10:return Op(r.type),null;case 22:case 23:return Wl(r),k6(),e!==null&&Oi(Az),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 24:return Op(_i),null;case 25:return null;default:return null}}function g$(e,r){switch(_6(r),r.tag){case 3:Op(_i),Qk();break;case 26:case 27:case 5:PO(r);break;case 4:Qk();break;case 31:r.memoizedState!==null&&Wl(r);break;case 13:Wl(r);break;case 19:Oi(Un);break;case 10:Op(r.type);break;case 22:case 23:Wl(r),k6(),e!==null&&Oi(Az);break;case 24:Op(_i)}}function AP(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){ia(r,r.return,c)}}function v8(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){ia(f,m,M)}}}i=i.next}while(i!==s)}}catch(M){ia(r,r.return,M)}}function M$(e){var r=e.updateQueue;if(r!==null){var a=e.stateNode;try{CJ(r,a)}catch(i){ia(e,e.return,i)}}}function v$(e,r,a){a.props=Uz(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(i){ia(e,r,i)}}function fP(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){ia(e,r,f)}}function wZ(e,r){var a=e.ref,i=e.refCleanup;if(a!==null)if(typeof i==="function")try{i()}catch(f){ia(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){ia(e,r,f)}else a.current=null}function x$(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){ia(e,e.return,f)}}function tB(e,r,a){try{var i=e.stateNode;H_e(i,e.type,a,r),i[Rl]=r}catch(f){ia(e,e.return,f)}}function y$(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&b8(e.type)||e.tag===4}function rB(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||y$(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&&b8(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 qB(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=Pp));else if(i!==4&&(i===27&&b8(e.type)&&(a=e.stateNode,r=null),e=e.child,e!==null))for(qB(e,r,a),e=e.sibling;e!==null;)qB(e,r,a),e=e.sibling}function HO(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&&b8(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(HO(e,r,a),e=e.sibling;e!==null;)HO(e,r,a),e=e.sibling}function b$(e){var{stateNode:r,memoizedProps:a}=e;try{for(var i=e.type,f=r.attributes;f.length;)r.removeAttributeNode(f[0]);us(r,i,a),r[ss]=e,r[Rl]=a}catch(s){ia(e,e.return,s)}}var Ip=!1,bi=!1,oB=!1,fQ=typeof WeakSet==="function"?WeakSet:Set,Di=null;function L_e(e,r){if(e=e.containerInfo,$B=oj,e=dJ(e),M6(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(z){a=null;break e}var l=0,c=-1,m=-1,g=0,M=0,x=e,b=null;t:for(;;){for(var y;;){if(x!==a||f!==0&&x.nodeType!==3||(c=l+f),x!==s||i!==0&&x.nodeType!==3||(m=l+i),x.nodeType===3&&(l+=x.nodeValue.length),(y=x.firstChild)===null)break;b=x,x=y}for(;;){if(x===e)break t;if(b===a&&++g===f&&(c=l),b===s&&++M===i&&(m=l),(y=x.nextSibling)!==null)break;x=b,b=x.parentNode}x=y}a=c===-1||m===-1?null:{start:c,end:m}}else a=null}a=a||{start:0,end:0}}else a=null;e6={focusedElem:e,selectionRange:a},oj=!1;for(Di=r;Di!==null;)if(r=Di,e=r.child,(r.subtreeFlags&1028)!==0&&e!==null)e.return=r,Di=e;else for(;Di!==null;){switch(r=Di,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 _=Uz(a.type,f);e=i.getSnapshotBeforeUpdate(_,s),i.__reactInternalSnapshotBeforeUpdate=e}catch(z){ia(a,a.return,z)}}break;case 3:if((e&1024)!==0){if(e=r.stateNode.containerInfo,a=e.nodeType,a===9)r6(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":r6(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(Ut(163))}if(e=r.sibling,e!==null){e.return=r.return,Di=e;break}Di=r.return}}function _$(e,r,a){var i=a.flags;switch(a.tag){case 0:case 11:case 15:Mp(e,a),i&4&&AP(5,a);break;case 1:if(Mp(e,a),i&4)if(e=a.stateNode,r===null)try{e.componentDidMount()}catch(l){ia(a,a.return,l)}else{var f=Uz(a.type,r.memoizedProps);r=r.memoizedState;try{e.componentDidUpdate(f,r,e.__reactInternalSnapshotBeforeUpdate)}catch(l){ia(a,a.return,l)}}i&64&&M$(a),i&512&&fP(a,a.return);break;case 3:if(Mp(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{CJ(e,r)}catch(l){ia(a,a.return,l)}}break;case 27:r===null&&i&4&&b$(a);case 26:case 5:Mp(e,a),r===null&&i&4&&x$(a),i&512&&fP(a,a.return);break;case 12:Mp(e,a);break;case 31:Mp(e,a),i&4&&S$(e,a);break;case 13:Mp(e,a),i&4&&L$(e,a),i&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=E_e.bind(null,a),ewe(e,a))));break;case 22:if(i=a.memoizedState!==null||Ip,!i){r=r!==null&&r.memoizedState!==null||bi,f=Ip;var s=bi;Ip=i,(bi=r)&&!s?Lp(e,a,(a.subtreeFlags&8772)!==0):Mp(e,a),Ip=f,bi=s}break;case 30:break;default:Mp(e,a)}}function w$(e){var r=e.alternate;r!==null&&(e.alternate=null,w$(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&d6(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 un=null,kl=!1;function Zp(e,r,a){for(a=a.child;a!==null;)z$(e,r,a),a=a.sibling}function z$(e,r,a){if(Ql&&typeof Ql.onCommitFiberUnmount==="function")try{Ql.onCommitFiberUnmount(LP,a)}catch(s){}switch(a.tag){case 26:bi||wZ(a,r),Zp(e,r,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:bi||wZ(a,r);var i=un,f=kl;b8(a.type)&&(un=a.stateNode,kl=!1),Zp(e,r,a),uP(a.stateNode),un=i,kl=f;break;case 5:bi||wZ(a,r);case 6:if(i=un,f=kl,un=null,Zp(e,r,a),un=i,kl=f,un!==null)if(kl)try{(un.nodeType===9?un.body:un.nodeName==="HTML"?un.ownerDocument.body:un).removeChild(a.stateNode)}catch(s){ia(a,r,s)}else try{un.removeChild(a.stateNode)}catch(s){ia(a,r,s)}break;case 18:un!==null&&(kl?(e=un,xQ(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),f1(e)):xQ(un,a.stateNode));break;case 4:i=un,f=kl,un=a.stateNode.containerInfo,kl=!0,Zp(e,r,a),un=i,kl=f;break;case 0:case 11:case 14:case 15:v8(2,a,r),bi||v8(4,a,r),Zp(e,r,a);break;case 1:bi||(wZ(a,r),i=a.stateNode,typeof i.componentWillUnmount==="function"&&v$(a,r,i)),Zp(e,r,a);break;case 21:Zp(e,r,a);break;case 22:bi=(i=bi)||a.memoizedState!==null,Zp(e,r,a),bi=i;break;default:Zp(e,r,a)}}function S$(e,r){if(r.memoizedState===null&&(e=r.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{f1(e)}catch(a){ia(r,r.return,a)}}}function L$(e,r){if(r.memoizedState===null&&(e=r.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{f1(e)}catch(a){ia(r,r.return,a)}}function k_e(e){switch(e.tag){case 31:case 13:case 19:var r=e.stateNode;return r===null&&(r=e.stateNode=new fQ),r;case 22:return e=e.stateNode,r=e._retryCache,r===null&&(r=e._retryCache=new fQ),r;default:throw Error(Ut(435,e.tag))}}function cO(e,r){var a=k_e(e);r.forEach(function(i){if(!a.has(i)){a.add(i);var f=O_e.bind(null,e,i);i.then(f,f)}})}function Sl(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(b8(c.type)){un=c.stateNode,kl=!1;break e}break;case 5:un=c.stateNode,kl=!1;break e;case 3:case 4:un=c.stateNode.containerInfo,kl=!0;break e}c=c.return}if(un===null)throw Error(Ut(160));z$(s,l,f),un=null,kl=!1,s=f.alternate,s!==null&&(s.return=null),f.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)k$(r,e),r=r.sibling}var kd=null;function k$(e,r){var a=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Sl(r,e),Ll(e),i&4&&(v8(3,e,e.return),AP(3,e),v8(5,e,e.return));break;case 1:Sl(r,e),Ll(e),i&512&&(bi||a===null||wZ(a,a.return)),i&64&&Ip&&(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=kd;if(Sl(r,e),Ll(e),i&512&&(bi||a===null||wZ(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[CP]||s[ss]||s.namespaceURI==="http://www.w3.org/2000/svg"||s.hasAttribute("itemprop"))s=f.createElement(i),f.head.insertBefore(s,f.querySelector("head > title"));us(s,i,a),s[ss]=e,Ei(s),i=s;break e;case"link":var l=LQ("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),us(s,i,a),f.head.appendChild(s);break;case"meta":if(l=LQ("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),us(s,i,a),f.head.appendChild(s);break;default:throw Error(Ut(468,i))}s[ss]=e,Ei(s),i=s}e.stateNode=i}else kQ(f,e.type,e.stateNode);else e.stateNode=SQ(f,i,e.memoizedProps);else s!==i?(s===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):s.count--,i===null?kQ(f,e.type,e.stateNode):SQ(f,i,e.memoizedProps)):i===null&&e.stateNode!==null&&tB(e,e.memoizedProps,a.memoizedProps)}break;case 27:Sl(r,e),Ll(e),i&512&&(bi||a===null||wZ(a,a.return)),a!==null&&i&4&&tB(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Sl(r,e),Ll(e),i&512&&(bi||a===null||wZ(a,a.return)),e.flags&32){f=e.stateNode;try{$k(f,"")}catch(_){ia(e,e.return,_)}}i&4&&e.stateNode!=null&&(f=e.memoizedProps,tB(e,f,a!==null?a.memoizedProps:f)),i&1024&&(oB=!0);break;case 6:if(Sl(r,e),Ll(e),i&4){if(e.stateNode===null)throw Error(Ut(162));i=e.memoizedProps,a=e.stateNode;try{a.nodeValue=i}catch(_){ia(e,e.return,_)}}break;case 3:if(LO=null,f=kd,kd=ej(r.containerInfo),Sl(r,e),kd=f,Ll(e),i&4&&a!==null&&a.memoizedState.isDehydrated)try{f1(r.containerInfo)}catch(_){ia(e,e.return,_)}oB&&(oB=!1,I$(e));break;case 4:i=kd,kd=ej(e.stateNode.containerInfo),Sl(r,e),Ll(e),kd=i;break;case 12:Sl(r,e),Ll(e);break;case 31:Sl(r,e),Ll(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,cO(e,i)));break;case 13:Sl(r,e),Ll(e),e.child.flags&8192&&e.memoizedState!==null!==(a!==null&&a.memoizedState!==null)&&(gj=Xl()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,cO(e,i)));break;case 22:f=e.memoizedState!==null;var m=a!==null&&a.memoizedState!==null,g=Ip,M=bi;if(Ip=g||f,bi=M||m,Sl(r,e),bi=M,Ip=g,Ll(e),i&8192)e:for(r=e.stateNode,r._visibility=f?r._visibility&-2:r._visibility|1,f&&(a===null||m||Ip||bi||Rz(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 x=m.memoizedProps.style,b=x!==void 0&&x!==null&&x.hasOwnProperty("display")?x.display:null;c.style.display=b==null||typeof b==="boolean"?"":(""+b).trim()}}catch(_){ia(m,m.return,_)}}}else if(r.tag===6){if(a===null){m=r;try{m.stateNode.nodeValue=f?"":m.memoizedProps}catch(_){ia(m,m.return,_)}}}else if(r.tag===18){if(a===null){m=r;try{var y=m.stateNode;f?yQ(y,!0):yQ(m.stateNode,!1)}catch(_){ia(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,cO(e,a))));break;case 19:Sl(r,e),Ll(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,cO(e,i)));break;case 30:break;case 21:break;default:Sl(r,e),Ll(e)}}function Ll(e){var r=e.flags;if(r&2){try{for(var a,i=e.return;i!==null;){if(y$(i)){a=i;break}i=i.return}if(a==null)throw Error(Ut(160));switch(a.tag){case 27:var f=a.stateNode,s=rB(e);HO(e,s,f);break;case 5:var l=a.stateNode;a.flags&32&&($k(l,""),a.flags&=-33);var c=rB(e);HO(e,c,l);break;case 3:case 4:var m=a.stateNode.containerInfo,g=rB(e);qB(e,g,m);break;default:throw Error(Ut(161))}}catch(M){ia(e,e.return,M)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function I$(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var r=e;I$(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),e=e.sibling}}function Mp(e,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)_$(e,r.alternate,r),r=r.sibling}function Rz(e){for(e=e.child;e!==null;){var r=e;switch(r.tag){case 0:case 11:case 14:case 15:v8(4,r,r.return),Rz(r);break;case 1:wZ(r,r.return);var a=r.stateNode;typeof a.componentWillUnmount==="function"&&v$(r,r.return,a),Rz(r);break;case 27:uP(r.stateNode);case 26:case 5:wZ(r,r.return),Rz(r);break;case 22:r.memoizedState===null&&Rz(r);break;case 30:Rz(r);break;default:Rz(r)}e=e.sibling}}function Lp(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:Lp(f,s,a),AP(4,s);break;case 1:if(Lp(f,s,a),i=s,f=i.stateNode,typeof f.componentDidMount==="function")try{f.componentDidMount()}catch(g){ia(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++)IJ(m[f],c)}catch(g){ia(i,i.return,g)}}a&&l&64&&M$(s),fP(s,s.return);break;case 27:b$(s);case 26:case 5:Lp(f,s,a),a&&i===null&&l&4&&x$(s),fP(s,s.return);break;case 12:Lp(f,s,a);break;case 31:Lp(f,s,a),a&&l&4&&S$(f,s);break;case 13:Lp(f,s,a),a&&l&4&&L$(f,s);break;case 22:s.memoizedState===null&&Lp(f,s,a),fP(s,s.return);break;case 30:break;default:Lp(f,s,a)}r=r.sibling}}function q6(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&&PP(a))}function V6(e,r){e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&PP(e))}function Ld(e,r,a,i){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)C$(e,r,a,i),r=r.sibling}function C$(e,r,a,i){var f=r.flags;switch(r.tag){case 0:case 11:case 15:Ld(e,r,a,i),f&2048&&AP(9,r);break;case 1:Ld(e,r,a,i);break;case 3:Ld(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&&PP(e)));break;case 12:if(f&2048){Ld(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){ia(r,r.return,m)}}else Ld(e,r,a,i);break;case 31:Ld(e,r,a,i);break;case 13:Ld(e,r,a,i);break;case 23:break;case 22:s=r.stateNode,l=r.alternate,r.memoizedState!==null?s._visibility&2?Ld(e,r,a,i):sP(e,r):s._visibility&2?Ld(e,r,a,i):(s._visibility|=2,Ik(e,r,a,i,(r.subtreeFlags&10256)!==0||!1)),f&2048&&q6(l,r);break;case 24:Ld(e,r,a,i),f&2048&&V6(r.alternate,r);break;default:Ld(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),AP(8,l);break;case 23:break;case 22:var M=l.stateNode;l.memoizedState!==null?M._visibility&2?Ik(s,l,c,m,f):sP(s,l):(M._visibility|=2,Ik(s,l,c,m,f)),f&&g&2048&&q6(l.alternate,l);break;case 24:Ik(s,l,c,m,f),f&&g&2048&&V6(l.alternate,l);break;default:Ik(s,l,c,m,f)}r=r.sibling}}function sP(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:sP(a,i),f&2048&&q6(i.alternate,i);break;case 24:sP(a,i),f&2048&&V6(i.alternate,i);break;default:sP(a,i)}r=r.sibling}}var XR=8192;function kk(e,r,a){if(e.subtreeFlags&XR)for(e=e.child;e!==null;)R$(e,r,a),e=e.sibling}function R$(e,r,a){switch(e.tag){case 26:kk(e,r,a),e.flags&XR&&e.memoizedState!==null&&dwe(a,kd,e.memoizedState,e.memoizedProps);break;case 5:kk(e,r,a);break;case 3:case 4:var i=kd;kd=ej(e.stateNode.containerInfo),kk(e,r,a),kd=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=XR,XR=16777216,kk(e,r,a),XR=i):kk(e,r,a));break;default:kk(e,r,a)}}function P$(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 YR(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];Di=i,A$(i,e)}P$(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)T$(e),e=e.sibling}function T$(e){switch(e.tag){case 0:case 11:case 15:YR(e),e.flags&2048&&v8(9,e,e.return);break;case 3:YR(e);break;case 12:YR(e);break;case 22:var r=e.stateNode;e.memoizedState!==null&&r._visibility&2&&(e.return===null||e.return.tag!==13)?(r._visibility&=-3,zO(e)):YR(e);break;default:YR(e)}}function zO(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];Di=i,A$(i,e)}P$(e)}for(e=e.child;e!==null;){switch(r=e,r.tag){case 0:case 11:case 15:v8(8,r,r.return),zO(r);break;case 22:a=r.stateNode,a._visibility&2&&(a._visibility&=-3,zO(r));break;default:zO(r)}e=e.sibling}}function A$(e,r){for(;Di!==null;){var a=Di;switch(a.tag){case 0:case 11:case 15:v8(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:PP(a.memoizedState.cache)}if(i=a.child,i!==null)i.return=a,Di=i;else e:for(a=e;Di!==null;){i=Di;var f=i.sibling,s=i.return;if(w$(i),i===a){Di=null;break e}if(f!==null){f.return=s,Di=f;break e}Di=s}}}var I_e={getCacheForType:function(e){var r=cs(_i),a=r.data.get(e);return a===void 0&&(a=e(),r.data.set(e,a)),a},cacheSignal:function(){return cs(_i).controller.signal}},C_e=typeof WeakMap==="function"?WeakMap:Map,Uo=0,Ca=null,ko=null,Ro=0,na=0,Hl=null,f8=!1,u1=!1,H6=!1,Dg=0,Sn=0,x8=0,jz=0,W6=0,Kl=0,o1=0,lP=null,Il=null,VB=!1,gj=0,D$=0,WO=1/0,GO=null,d8=null,ki=0,Z8=null,a1=null,Np=0,HB=0,WB=null,E$=null,cP=0,GB=null;function Jc(){return(Uo&2)!==0&&Ro!==0?Ro&-Ro:Jr.T!==null?K6():GQ()}function O$(){if(Kl===0)if((Ro&536870912)===0||Po){var e=rO;rO<<=1,(rO&3932160)===0&&(rO=262144),Kl=e}else Kl=536870912;return e=ec.current,e!==null&&(e.flags|=32),Kl}function Cl(e,r,a){if(e===Ca&&(na===2||na===9)||e.cancelPendingCommit!==null)n1(e,0),s8(e,Ro,Kl,!1);if(ij(e,a),(Uo&2)===0||e!==Ca)e===Ca&&((Uo&2)===0&&(jz|=a),Sn===4&&s8(e,Ro,Kl,!1)),eM(e)}function j$(e,r,a){if((Uo&6)!==0)throw Error(Ut(327));var i=!a&&(r&127)===0&&(r&e.expiredLanes)===0||kP(e,r),f=i?T_e(e,r):aB(e,r,!0),s=i;do{if(f===0){u1&&!i&&s8(e,r,0,!1);break}else{if(a=e.current.alternate,s&&!R_e(a)){f=aB(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=lP;var m=c.current.memoizedState.isDehydrated;if(m&&(n1(c,l).flags|=256),l=aB(c,l,!1),l!==2){if(H6&&!m){c.errorRecoveryDisabledLanes|=s,jz|=s,f=4;break e}s=Il,Il=f,s!==null&&(Il===null?Il=s:Il.push.apply(Il,s))}f=l}if(s=!1,f!==2)continue}}if(f===1){n1(e,0),s8(e,r,0,!0);break}e:{switch(i=e,s=f,s){case 0:case 1:throw Error(Ut(345));case 4:if((r&4194048)!==r)break;case 6:s8(i,r,Kl,!f8);break e;case 2:Il=null;break;case 3:case 5:break;default:throw Error(Ut(329))}if((r&62914560)===r&&(f=gj+300-Xl(),10<f)){if(s8(i,r,Kl,!f8),nj(i,0,!0)!==0)break e;Np=r,i.timeoutHandle=nee(sQ.bind(null,i,a,Il,GO,VB,r,Kl,jz,o1,f8,s,"Throttled",-0,0),f);break e}sQ(i,a,Il,GO,VB,r,Kl,jz,o1,f8,s,null,-0,0)}}break}while(1);eM(e)}function sQ(e,r,a,i,f,s,l,c,m,g,M,x,b,y){if(e.timeoutHandle=-1,x=r.subtreeFlags,x&8192||(x&16785408)===16785408){x={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Pp},R$(r,s,x);var _=(s&62914560)===s?gj-Xl():(s&4194048)===s?D$-Xl():0;if(_=Zwe(x,_),_!==null){Np=s,e.cancelPendingCommit=_(cQ.bind(null,e,r,s,a,i,f,l,c,m,M,x,null,b,y)),s8(e,s,l,!g);return}}cQ(e,r,s,a,i,f,l,c,m)}function R_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(!$l(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 s8(e,r,a,i){r&=~W6,r&=~jz,e.suspendedLanes|=r,e.pingedLanes&=~r,i&&(e.warmLanes|=r),i=e.expirationTimes;for(var f=r;0<f;){var s=31-Jl(f),l=1<<s;i[s]=-1,f&=~l}a!==0&&qQ(e,a,r)}function Mj(){return(Uo&6)===0?(DP(0,!1),!1):!0}function G6(){if(ko!==null){if(na===0)var e=ko.return;else e=ko,Tp=Gz=null,T6(e),Gk=null,MP=0,e=ko;for(;e!==null;)g$(e.alternate,e),e=e.return;ko=null}}function n1(e,r){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,K_e(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),Np=0,G6(),Ca=e,ko=a=Dp(e.current,null),Ro=r,na=0,Hl=null,f8=!1,u1=kP(e,r),H6=!1,o1=Kl=W6=jz=x8=Sn=0,Il=lP=null,VB=!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-Jl(i),s=1<<f;r|=e[f],i&=~s}return Dg=r,cj(),a}function N$(e,r){no=null,Jr.H=xP,r===c1||r===dj?(r=FX(),na=3):r===S6?(r=FX(),na=4):na=r===Y6?8:r!==null&&typeof r==="object"&&typeof r.then==="function"?6:1,Hl=r,ko===null&&(Sn=1,qO(e,Kc(r,e.current)))}function F$(){var e=ec.current;return e===null?!0:(Ro&4194048)===Ro?Qc===null?!0:!1:(Ro&62914560)===Ro||(Ro&536870912)!==0?e===Qc:!1}function B$(){var e=Jr.H;return Jr.H=xP,e===null?xP:e}function Y$(){var e=Jr.A;return Jr.A=I_e,e}function KO(){Sn=4,f8||(Ro&4194048)!==Ro&&ec.current!==null||(u1=!0),(x8&134217727)===0&&(jz&134217727)===0||Ca===null||s8(Ca,Ro,Kl,!1)}function aB(e,r,a){var i=Uo;Uo|=2;var f=B$(),s=Y$();if(Ca!==e||Ro!==r)GO=null,n1(e,r);r=!1;var l=Sn;e:do try{if(na!==0&&ko!==null){var c=ko,m=Hl;switch(na){case 8:G6(),l=6;break e;case 3:case 2:case 9:case 6:ec.current===null&&(r=!0);var g=na;if(na=0,Hl=null,Uk(e,c,m,g),a&&u1){l=0;break e}break;default:g=na,na=0,Hl=null,Uk(e,c,m,g)}}P_e(),l=Sn;break}catch(M){N$(e,M)}while(1);return r&&e.shellSuspendCounter++,Tp=Gz=null,Uo=i,Jr.H=f,Jr.A=s,ko===null&&(Ca=null,Ro=0,cj()),l}function P_e(){for(;ko!==null;)U$(ko)}function T_e(e,r){var a=Uo;Uo|=2;var i=B$(),f=Y$();Ca!==e||Ro!==r?(GO=null,WO=Xl()+500,n1(e,r)):u1=kP(e,r);e:do try{if(na!==0&&ko!==null){r=ko;var s=Hl;t:switch(na){case 1:na=0,Hl=null,Uk(e,r,s,1);break;case 2:case 9:if(NX(s)){na=0,Hl=null,lQ(r);break}r=function(){na!==2&&na!==9||Ca!==e||(na=7),eM(e)},s.then(r,r);break e;case 3:na=7;break e;case 4:na=5;break e;case 7:NX(s)?(na=0,Hl=null,lQ(r)):(na=0,Hl=null,Uk(e,r,s,7));break;case 5:var l=null;switch(ko.tag){case 26:l=ko.memoizedState;case 5:case 27:var c=ko;if(l?cee(l):c.stateNode.complete){na=0,Hl=null;var m=c.sibling;if(m!==null)ko=m;else{var g=c.return;g!==null?(ko=g,vj(g)):ko=null}break t}}na=0,Hl=null,Uk(e,r,s,5);break;case 6:na=0,Hl=null,Uk(e,r,s,6);break;case 8:G6(),Sn=6;break e;default:throw Error(Ut(462))}}A_e();break}catch(M){N$(e,M)}while(1);if(Tp=Gz=null,Jr.H=i,Jr.A=f,Uo=a,ko!==null)return 0;return Ca=null,Ro=0,cj(),Sn}function A_e(){for(;ko!==null&&!ebe();)U$(ko)}function U$(e){var r=h$(e.alternate,e,Dg);e.memoizedProps=e.pendingProps,r===null?vj(e):ko=r}function lQ(e){var r=e,a=r.alternate;switch(r.tag){case 15:case 0:r=rQ(a,r,r.pendingProps,r.type,void 0,Ro);break;case 11:r=rQ(a,r,r.pendingProps,r.type.render,r.ref,Ro);break;case 5:T6(r);default:g$(a,r),r=ko=xJ(r,Dg),r=h$(a,r,Dg)}e.memoizedProps=e.pendingProps,r===null?vj(e):ko=r}function Uk(e,r,a,i){Tp=Gz=null,T6(r),Gk=null,MP=0;var f=r.return;try{if(b_e(e,f,r,a,Ro)){Sn=1,qO(e,Kc(a,e.current)),ko=null;return}}catch(s){if(f!==null)throw ko=f,s;Sn=1,qO(e,Kc(a,e.current)),ko=null;return}if(r.flags&32768){if(Po||i===1)e=!0;else if(u1||(Ro&536870912)!==0)e=!1;else if(f8=e=!0,i===2||i===9||i===3||i===6)i=ec.current,i!==null&&i.tag===13&&(i.flags|=16384);q$(r,e)}else vj(r)}function vj(e){var r=e;do{if((r.flags&32768)!==0){q$(r,f8);return}e=r.return;var a=z_e(r.alternate,r,Dg);if(a!==null){ko=a;return}if(r=r.sibling,r!==null){ko=r;return}ko=r=e}while(r!==null);Sn===0&&(Sn=5)}function q$(e,r){do{var a=S_e(e.alternate,e);if(a!==null){a.flags&=32767,ko=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!r&&(e=e.sibling,e!==null)){ko=e;return}ko=e=a}while(e!==null);Sn=6,ko=null}function cQ(e,r,a,i,f,s,l,c,m){e.cancelPendingCommit=null;do xj();while(ki!==0);if((Uo&6)!==0)throw Error(Ut(327));if(r!==null){if(r===e.current)throw Error(Ut(177));if(s=r.lanes|r.childLanes,s|=v6,cbe(e,a,s,l,c,m),e===Ca&&(ko=Ca=null,Ro=0),a1=r,Z8=e,Np=a,HB=s,WB=f,E$=i,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,j_e(TO,function(){return K$(),null})):(e.callbackNode=null,e.callbackPriority=0),i=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||i){i=Jr.T,Jr.T=null,f=qo.p,qo.p=2,l=Uo,Uo|=4;try{L_e(e,r,a)}finally{Uo=l,qo.p=f,Jr.T=i}}ki=1,V$(),H$(),W$()}}function V$(){if(ki===1){ki=0;var e=Z8,r=a1,a=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||a){a=Jr.T,Jr.T=null;var i=qo.p;qo.p=2;var f=Uo;Uo|=4;try{k$(r,e);var s=e6,l=dJ(e.containerInfo),{focusedElem:c,selectionRange:m}=s;if(l!==c&&c&&c.ownerDocument&&uJ(c.ownerDocument.documentElement,c)){if(m!==null&&M6(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 x=c.ownerDocument||document,b=x&&x.defaultView||window;if(b.getSelection){var y=b.getSelection(),_=c.textContent.length,z=Math.min(m.start,_),F=m.end===void 0?z:Math.min(m.end,_);!y.extend&&z>F&&(l=F,F=z,z=l);var k=PX(c,z),I=PX(c,F);if(k&&I&&(y.rangeCount!==1||y.anchorNode!==k.node||y.anchorOffset!==k.offset||y.focusNode!==I.node||y.focusOffset!==I.offset)){var Y=x.createRange();Y.setStart(k.node,k.offset),y.removeAllRanges(),z>F?(y.addRange(Y),y.extend(I.node,I.offset)):(Y.setEnd(I.node,I.offset),y.addRange(Y))}}}}x=[];for(y=c;y=y.parentNode;)y.nodeType===1&&x.push({element:y,left:y.scrollLeft,top:y.scrollTop});typeof c.focus==="function"&&c.focus();for(c=0;c<x.length;c++){var W=x[c];W.element.scrollLeft=W.left,W.element.scrollTop=W.top}}oj=!!$B,e6=$B=null}finally{Uo=f,qo.p=i,Jr.T=a}}e.current=r,ki=2}}function H$(){if(ki===2){ki=0;var e=Z8,r=a1,a=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||a){a=Jr.T,Jr.T=null;var i=qo.p;qo.p=2;var f=Uo;Uo|=4;try{_$(e,r.alternate,r)}finally{Uo=f,qo.p=i,Jr.T=a}}ki=3}}function W$(){if(ki===4||ki===3){ki=0,tbe();var e=Z8,r=a1,a=Np,i=E$;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?ki=5:(ki=0,a1=Z8=null,G$(e,e.pendingLanes));var f=e.pendingLanes;if(f===0&&(d8=null),u6(a),r=r.stateNode,Ql&&typeof Ql.onCommitFiberRoot==="function")try{Ql.onCommitFiberRoot(LP,r,void 0,(r.current.flags&128)===128)}catch(m){}if(i!==null){r=Jr.T,f=qo.p,qo.p=2,Jr.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{Jr.T=r,qo.p=f}}(Np&3)!==0&&xj(),eM(e),f=e.pendingLanes,(a&261930)!==0&&(f&42)!==0?e===GB?cP++:(cP=0,GB=e):cP=0,DP(0,!1)}}function G$(e,r){(e.pooledCacheLanes&=r)===0&&(r=e.pooledCache,r!=null&&(e.pooledCache=null,PP(r)))}function xj(){return V$(),H$(),W$(),K$()}function K$(){if(ki!==5)return!1;var e=Z8,r=HB;HB=0;var a=u6(Np),i=Jr.T,f=qo.p;try{qo.p=32>a?32:a,Jr.T=null,a=WB,WB=null;var s=Z8,l=Np;if(ki=0,a1=Z8=null,Np=0,(Uo&6)!==0)throw Error(Ut(331));var c=Uo;if(Uo|=4,T$(s.current),C$(s,s.current,l,a),Uo=c,DP(0,!1),Ql&&typeof Ql.onPostCommitFiberRoot==="function")try{Ql.onPostCommitFiberRoot(LP,s)}catch(m){}return!0}finally{qo.p=f,Jr.T=i,G$(e,r)}}function uQ(e,r,a){r=Kc(a,r),r=BB(e.stateNode,r,2),e=Oz(e,r,2),e!==null&&(ij(e,2),eM(e))}function ia(e,r,a){if(e.tag===3)uQ(e,e,a);else for(;r!==null;){if(r.tag===3){uQ(r,e,a);break}else if(r.tag===1){var i=r.stateNode;if(typeof r.type.getDerivedStateFromError==="function"||typeof i.componentDidCatch==="function"&&(d8===null||!d8.has(i))){e=Kc(a,e),a=c$(2),i=Oz(r,a,2),i!==null&&(u$(a,i,r,e),ij(i,2),eM(i));break}}r=r.return}}function nB(e,r,a){var i=e.pingCache;if(i===null){i=e.pingCache=new C_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)||(H6=!0,f.add(a),e=D_e.bind(null,e,r,a),r.then(e,e))}function D_e(e,r,a){var i=e.pingCache;i!==null&&i.delete(r),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Ca===e&&(Ro&a)===a&&(Sn===4||Sn===3&&(Ro&62914560)===Ro&&300>Xl()-gj?(Uo&2)===0&&n1(e,0):W6|=a,o1===Ro&&(o1=0)),eM(e)}function X$(e,r){r===0&&(r=UQ()),e=Wz(e,r),e!==null&&(ij(e,r),eM(e))}function E_e(e){var r=e.memoizedState,a=0;r!==null&&(a=r.retryLane),X$(e,a)}function O_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(Ut(314))}i!==null&&i.delete(r),X$(e,a)}function j_e(e,r){return c6(e,r)}var XO=null,Ck=null,KB=!1,QO=!1,iB=!1,l8=0;function eM(e){e!==Ck&&e.next===null&&(Ck===null?XO=Ck=e:Ck=Ck.next=e),QO=!0,KB||(KB=!0,F_e())}function DP(e,r){if(!iB&&QO){iB=!0;do{var a=!1;for(var i=XO;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-Jl(42|e)+1)-1,s&=f&~(l&~c),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(a=!0,dQ(i,s))}else s=Ro,s=nj(i,i===Ca?s:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(s&3)===0||kP(i,s)||(a=!0,dQ(i,s));i=i.next}}while(a);iB=!1}}function N_e(){Q$()}function Q$(){QO=KB=!1;var e=0;l8!==0&&G_e()&&(e=l8);for(var r=Xl(),a=null,i=XO;i!==null;){var f=i.next,s=J$(i,r);if(s===0)i.next=null,a===null?XO=f:a.next=f,f===null&&(Ck=a);else if(a=i,e!==0||(s&3)!==0)QO=!0;i=f}ki!==0&&ki!==5||DP(e,!1),l8!==0&&(l8=0)}function J$(e,r){for(var{suspendedLanes:a,pingedLanes:i,expirationTimes:f}=e,s=e.pendingLanes&-62914561;0<s;){var l=31-Jl(s),c=1<<l,m=f[l];if(m===-1){if((c&a)===0||(c&i)!==0)f[l]=lbe(c,r)}else m<=r&&(e.expiredLanes|=c);s&=~c}if(r=Ca,a=Ro,a=nj(e,e===r?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,a===0||e===r&&(na===2||na===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&E3(i),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||kP(e,a)){if(r=a&-a,r===e.callbackPriority)return r;switch(i!==null&&E3(i),u6(a)){case 2:case 8:a=BQ;break;case 32:a=TO;break;case 268435456:a=YQ;break;default:a=TO}return i=$$.bind(null,e),a=c6(a,i),e.callbackPriority=r,e.callbackNode=a,r}return i!==null&&i!==null&&E3(i),e.callbackPriority=2,e.callbackNode=null,2}function $$(e,r){if(ki!==0&&ki!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(xj()&&e.callbackNode!==a)return null;var i=Ro;if(i=nj(e,e===Ca?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0)return null;return j$(e,i,r),J$(e,Xl()),e.callbackNode!=null&&e.callbackNode===a?$$.bind(null,e):null}function dQ(e,r){if(xj())return null;j$(e,r,!0)}function F_e(){X_e(function(){(Uo&6)!==0?c6(FQ,N_e):Q$()})}function K6(){if(l8===0){var e=e1;e===0&&(e=tO,tO<<=1,(tO&261888)===0&&(tO=256)),l8=e}return l8}function ZQ(e){return e==null||typeof e==="symbol"||typeof e==="boolean"?null:typeof e==="function"?e:mO(""+e)}function pQ(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 B_e(e,r,a,i,f){if(r==="submit"&&a&&a.stateNode===f){var s=ZQ((f[Rl]||null).action),l=i.submitter;l&&(r=(r=l[Rl]||null)?ZQ(r.formAction):l.getAttribute("formAction"),r!==null&&(s=r,l=null));var c=new fj("action","action",null,i,f);e.push({event:c,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(l8!==0){var m=l?pQ(f,l):new FormData(f);NB(a,{pending:!0,data:m,method:f.method,action:s},null,m)}}else typeof s==="function"&&(c.preventDefault(),m=l?pQ(f,l):new FormData(f),NB(a,{pending:!0,data:m,method:f.method,action:s},s,m))},currentTarget:f}]})}}for(QR=0;QR<LB.length;QR++)JR=LB[QR],XB=JR.toLowerCase(),QB=JR[0].toUpperCase()+JR.slice(1),Id(XB,"on"+QB);var JR,XB,QB,QR;Id(pJ,"onAnimationEnd");Id(mJ,"onAnimationIteration");Id(hJ,"onAnimationStart");Id("dblclick","onDoubleClick");Id("focusin","onFocus");Id("focusout","onBlur");Id(r_e,"onTransitionRun");Id(o_e,"onTransitionStart");Id(a_e,"onTransitionCancel");Id(gJ,"onTransitionEnd");Jk("onMouseEnter",["mouseout","mouseover"]);Jk("onMouseLeave",["mouseout","mouseover"]);Jk("onPointerEnter",["pointerout","pointerover"]);Jk("onPointerLeave",["pointerout","pointerover"]);qz("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));qz("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));qz("onBeforeInput",["compositionend","keypress","textInput","paste"]);qz("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));qz("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));qz("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var yP="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(" "),Y_e=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(yP));function eee(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){DO(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){DO(M)}f.currentTarget=null,s=m}}}}function zo(e,r){var a=r[vB];a===void 0&&(a=r[vB]=new Set);var i=e+"__bubble";a.has(i)||(ree(r,e,2,!1),a.add(i))}function fB(e,r,a){var i=0;r&&(i|=4),ree(a,e,i,r)}var uO="_reactListening"+Math.random().toString(36).slice(2);function tee(e){if(!e[uO]){e[uO]=!0,KQ.forEach(function(a){a!=="selectionchange"&&(Y_e.has(a)||fB(a,!1,e),fB(a,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[uO]||(r[uO]=!0,fB("selectionchange",!1,r))}}function ree(e,r,a,i){switch(Zee(r)){case 2:var f=Mwe;break;case 8:f=vwe;break;default:f=$6}a=f.bind(null,r,a,e),f=void 0,!wB||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 sB(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=Ak(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}oJ(function(){var g=s,M=p6(a),x=[];e:{var b=MJ.get(e);if(b!==void 0){var y=fj,_=e;switch(e){case"keypress":if(gO(a)===0)break e;case"keydown":case"keyup":y=Abe;break;case"focusin":_="focus",y=B3;break;case"focusout":_="blur",y=B3;break;case"beforeblur":case"afterblur":y=B3;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":y=_X;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=bbe;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=Obe;break;case pJ:case mJ:case hJ:y=zbe;break;case gJ:y=Nbe;break;case"scroll":case"scrollend":y=xbe;break;case"wheel":y=Bbe;break;case"copy":case"cut":case"paste":y=Lbe;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=zX;break;case"toggle":case"beforetoggle":y=Ube}var z=(r&4)!==0,F=!z&&(e==="scroll"||e==="scrollend"),k=z?b!==null?b+"Capture":null:b;z=[];for(var I=g,Y;I!==null;){var W=I;if(Y=W.stateNode,W=W.tag,W!==5&&W!==26&&W!==27||Y===null||k===null||(W=ZP(I,k),W!=null&&z.push(bP(I,W,Y))),F)break;I=I.return}0<z.length&&(b=new y(b,_,null,a,M),x.push({event:b,listeners:z}))}}if((r&7)===0){e:{if(b=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",b&&a!==_B&&(_=a.relatedTarget||a.fromElement)&&(Ak(_)||_[IP]))break e;if(y||b){if(b=M.window===M?M:(b=M.ownerDocument)?b.defaultView||b.parentWindow:window,y){if(_=a.relatedTarget||a.toElement,y=g,_=_?Ak(_):null,_!==null&&(F=SP(_),z=_.tag,_!==F||z!==5&&z!==27&&z!==6))_=null}else y=null,_=g;if(y!==_){if(z=_X,W="onMouseLeave",k="onMouseEnter",I="mouse",e==="pointerout"||e==="pointerover")z=zX,W="onPointerLeave",k="onPointerEnter",I="pointer";if(F=y==null?b:HR(y),Y=_==null?b:HR(_),b=new z(W,I+"leave",y,a,M),b.target=F,b.relatedTarget=Y,W=null,Ak(M)===g&&(z=new z(k,I+"enter",_,a,M),z.target=Y,z.relatedTarget=F,W=z),F=W,y&&_)t:{z=U_e,k=y,I=_,Y=0;for(W=k;W;W=z(W))Y++;W=0;for(var X=I;X;X=z(X))W++;for(;0<Y-W;)k=z(k),Y--;for(;0<W-Y;)I=z(I),W--;for(;Y--;){if(k===I||I!==null&&k===I.alternate){z=k;break t}k=z(k),I=z(I)}z=null}else z=null;y!==null&&mQ(x,b,y,z,!1),_!==null&&F!==null&&mQ(x,F,_,z,!0)}}}e:{if(b=g?HR(g):window,y=b.nodeName&&b.nodeName.toLowerCase(),y==="select"||y==="input"&&b.type==="file")var J=IX;else if(kX(b))if(lJ)J=$be;else{J=Qbe;var ee=Xbe}else y=b.nodeName,!y||y.toLowerCase()!=="input"||b.type!=="checkbox"&&b.type!=="radio"?g&&Z6(g.elementType)&&(J=IX):J=Jbe;if(J&&(J=J(e,g))){sJ(x,J,a,M);break e}ee&&ee(e,b,g),e==="focusout"&&g&&b.type==="number"&&g.memoizedProps.value!=null&&bB(b,"number",b.value)}switch(ee=g?HR(g):window,e){case"focusin":if(kX(ee)||ee.contentEditable==="true")Ok=ee,zB=g,tP=null;break;case"focusout":tP=zB=Ok=null;break;case"mousedown":SB=!0;break;case"contextmenu":case"mouseup":case"dragend":SB=!1,TX(x,a,M);break;case"selectionchange":if(t_e)break;case"keydown":case"keyup":TX(x,a,M)}var ae;if(g6)e:{switch(e){case"compositionstart":var ne="onCompositionStart";break e;case"compositionend":ne="onCompositionEnd";break e;case"compositionupdate":ne="onCompositionUpdate";break e}ne=void 0}else Ek?iJ(e,a)&&(ne="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(ne="onCompositionStart");if(ne&&(nJ&&a.locale!=="ko"&&(Ek||ne!=="onCompositionStart"?ne==="onCompositionEnd"&&Ek&&(ae=aJ()):(i8=M,m6=("value"in i8)?i8.value:i8.textContent,Ek=!0)),ee=JO(g,ne),0<ee.length&&(ne=new wX(ne,e,null,a,M),x.push({event:ne,listeners:ee}),ae?ne.data=ae:(ae=fJ(a),ae!==null&&(ne.data=ae)))),ae=Vbe?Hbe(e,a):Wbe(e,a))ne=JO(g,"onBeforeInput"),0<ne.length&&(ee=new wX("onBeforeInput","beforeinput",null,a,M),x.push({event:ee,listeners:ne}),ee.data=ae);B_e(x,e,g,a,M)}eee(x,r)})}function bP(e,r,a){return{instance:e,listener:r,currentTarget:a}}function JO(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=ZP(e,a),f!=null&&i.unshift(bP(e,f,s)),f=ZP(e,r),f!=null&&i.push(bP(e,f,s))),e.tag===3)return i;e=e.return}return[]}function U_e(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e?e:null}function mQ(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=ZP(a,s),g!=null&&l.unshift(bP(a,g,m))):f||(g=ZP(a,s),g!=null&&l.push(bP(a,g,m)))),a=a.return}l.length!==0&&e.push({event:r,listeners:l})}var q_e=/\r\n?/g,V_e=/\u0000|\uFFFD/g;function hQ(e){return(typeof e==="string"?e:""+e).replace(q_e,`
10
+ `).replace(V_e,"")}function oee(e,r){return r=hQ(r),hQ(e)===r?!0:!1}function Za(e,r,a,i,f,s){switch(a){case"children":typeof i==="string"?r==="body"||r==="textarea"&&i===""||$k(e,i):(typeof i==="number"||typeof i==="bigint")&&r!=="body"&&$k(e,""+i);break;case"className":aO(e,"class",i);break;case"tabIndex":aO(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":aO(e,a,i);break;case"style":rJ(e,i,s);break;case"data":if(r!=="object"){aO(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=mO(""+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"&&Za(e,r,"name",f.name,f,null),Za(e,r,"formEncType",f.formEncType,f,null),Za(e,r,"formMethod",f.formMethod,f,null),Za(e,r,"formTarget",f.formTarget,f,null)):(Za(e,r,"encType",f.encType,f,null),Za(e,r,"method",f.method,f,null),Za(e,r,"target",f.target,f,null)));if(i==null||typeof i==="symbol"||typeof i==="boolean"){e.removeAttribute(a);break}i=mO(""+i),e.setAttribute(a,i);break;case"onClick":i!=null&&(e.onclick=Pp);break;case"onScroll":i!=null&&zo("scroll",e);break;case"onScrollEnd":i!=null&&zo("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error(Ut(61));if(a=i.__html,a!=null){if(f.children!=null)throw Error(Ut(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=mO(""+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":zo("beforetoggle",e),zo("toggle",e),pO(e,"popover",i);break;case"xlinkActuate":JZ(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":JZ(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":JZ(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":JZ(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":JZ(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":JZ(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":JZ(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":JZ(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":JZ(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":pO(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=Mbe.get(a)||a,pO(e,a,i)}}function JB(e,r,a,i,f,s){switch(a){case"style":rJ(e,i,s);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error(Ut(61));if(a=i.__html,a!=null){if(f.children!=null)throw Error(Ut(60));e.innerHTML=a}}break;case"children":typeof i==="string"?$k(e,i):(typeof i==="number"||typeof i==="bigint")&&$k(e,""+i);break;case"onScroll":i!=null&&zo("scroll",e);break;case"onScrollEnd":i!=null&&zo("scrollend",e);break;case"onClick":i!=null&&(e.onclick=Pp);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!XQ.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[Rl]||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,""):pO(e,a,i)}}}function us(e,r,a){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":zo("error",e),zo("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(Ut(137,r));default:Za(e,r,s,l,a,null)}}f&&Za(e,r,"srcSet",a.srcSet,a,null),i&&Za(e,r,"src",a.src,a,null);return;case"input":zo("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(Ut(137,r));break;default:Za(e,r,i,M,a,null)}}$Q(e,s,c,m,g,l,f,!1);return;case"select":zo("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:Za(e,r,f,c,a,null)}r=s,a=l,e.multiple=!!i,r!=null?Vk(e,!!i,r,!1):a!=null&&Vk(e,!!i,a,!0);return;case"textarea":zo("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(Ut(91));break;default:Za(e,r,l,c,a,null)}tJ(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:Za(e,r,m,i,a,null)}return;case"dialog":zo("beforetoggle",e),zo("toggle",e),zo("cancel",e),zo("close",e);break;case"iframe":case"object":zo("load",e);break;case"video":case"audio":for(i=0;i<yP.length;i++)zo(yP[i],e);break;case"image":zo("error",e),zo("load",e);break;case"details":zo("toggle",e);break;case"embed":case"source":case"link":zo("error",e),zo("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(Ut(137,r));default:Za(e,r,g,i,a,null)}return;default:if(Z6(r)){for(M in a)a.hasOwnProperty(M)&&(i=a[M],i!==void 0&&JB(e,r,M,i,a,void 0));return}}for(c in a)a.hasOwnProperty(c)&&(i=a[c],i!=null&&Za(e,r,c,i,a,null))}function H_e(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(y in a){var x=a[y];if(a.hasOwnProperty(y)&&x!=null)switch(y){case"checked":break;case"value":break;case"defaultValue":m=x;default:i.hasOwnProperty(y)||Za(e,r,y,null,i,x)}}for(var b in i){var y=i[b];if(x=a[b],i.hasOwnProperty(b)&&(y!=null||x!=null))switch(b){case"type":s=y;break;case"name":f=y;break;case"checked":g=y;break;case"defaultChecked":M=y;break;case"value":l=y;break;case"defaultValue":c=y;break;case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(Ut(137,r));break;default:y!==x&&Za(e,r,b,y,i,x)}}yB(e,l,c,m,g,M,s,f);return;case"select":y=l=c=b=null;for(s in a)if(m=a[s],a.hasOwnProperty(s)&&m!=null)switch(s){case"value":break;case"multiple":y=m;default:i.hasOwnProperty(s)||Za(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":b=s;break;case"defaultValue":c=s;break;case"multiple":l=s;default:s!==m&&Za(e,r,f,s,i,m)}r=c,a=l,i=y,b!=null?Vk(e,!!a,b,!1):!!i!==!!a&&(r!=null?Vk(e,!!a,r,!0):Vk(e,!!a,a?[]:"",!1));return;case"textarea":y=b=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:Za(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":b=f;break;case"defaultValue":y=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(Ut(91));break;default:f!==s&&Za(e,r,l,f,i,s)}eJ(e,b,y);return;case"option":for(var _ in a)if(b=a[_],a.hasOwnProperty(_)&&b!=null&&!i.hasOwnProperty(_))switch(_){case"selected":e.selected=!1;break;default:Za(e,r,_,null,i,b)}for(m in i)if(b=i[m],y=a[m],i.hasOwnProperty(m)&&b!==y&&(b!=null||y!=null))switch(m){case"selected":e.selected=b&&typeof b!=="function"&&typeof b!=="symbol";break;default:Za(e,r,m,b,i,y)}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 z in a)b=a[z],a.hasOwnProperty(z)&&b!=null&&!i.hasOwnProperty(z)&&Za(e,r,z,null,i,b);for(g in i)if(b=i[g],y=a[g],i.hasOwnProperty(g)&&b!==y&&(b!=null||y!=null))switch(g){case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(Ut(137,r));break;default:Za(e,r,g,b,i,y)}return;default:if(Z6(r)){for(var F in a)b=a[F],a.hasOwnProperty(F)&&b!==void 0&&!i.hasOwnProperty(F)&&JB(e,r,F,void 0,i,b);for(M in i)b=i[M],y=a[M],!i.hasOwnProperty(M)||b===y||b===void 0&&y===void 0||JB(e,r,M,b,i,y);return}}for(var k in a)b=a[k],a.hasOwnProperty(k)&&b!=null&&!i.hasOwnProperty(k)&&Za(e,r,k,null,i,b);for(x in i)b=i[x],y=a[x],!i.hasOwnProperty(x)||b===y||b==null&&y==null||Za(e,r,x,b,i,y)}function gQ(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function W_e(){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&&gQ(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,x=m.initiatorType;M&&gQ(x)&&(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 $B=null,e6=null;function $O(e){return e.nodeType===9?e:e.ownerDocument}function MQ(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 aee(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 t6(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 lB=null;function G_e(){var e=window.event;if(e&&e.type==="popstate"){if(e===lB)return!1;return lB=e,!0}return lB=null,!1}var nee=typeof setTimeout==="function"?setTimeout:void 0,K_e=typeof clearTimeout==="function"?clearTimeout:void 0,vQ=typeof Promise==="function"?Promise:void 0,X_e=typeof queueMicrotask==="function"?queueMicrotask:typeof vQ<"u"?function(e){return vQ.resolve(null).then(e).catch(Q_e)}:nee;function Q_e(e){setTimeout(function(){throw e})}function b8(e){return e==="head"}function xQ(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),f1(r);return}i--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")i++;else if(a==="html")uP(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,uP(a);for(var s=a.firstChild;s;){var l=s.nextSibling,c=s.nodeName;s[CP]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&s.rel.toLowerCase()==="stylesheet"||a.removeChild(s),s=l}}else a==="body"&&uP(e.ownerDocument.body);a=f}while(a);f1(r)}function yQ(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 r6(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":r6(a),d6(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function J_e(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[CP])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=$c(e.nextSibling),e===null)break}return null}function $_e(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=$c(e.nextSibling),e===null)return null}return e}function iee(e,r){for(;e.nodeType!==8;){if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r)return null;if(e=$c(e.nextSibling),e===null)return null}return e}function o6(e){return e.data==="$?"||e.data==="$~"}function a6(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function ewe(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 $c(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 n6=null;function bQ(e){e=e.nextSibling;for(var r=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(r===0)return $c(e.nextSibling);r--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||r++}e=e.nextSibling}return null}function _Q(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 fee(e,r,a){switch(r=$O(a),e){case"html":if(e=r.documentElement,!e)throw Error(Ut(452));return e;case"head":if(e=r.head,!e)throw Error(Ut(453));return e;case"body":if(e=r.body,!e)throw Error(Ut(454));return e;default:throw Error(Ut(451))}}function uP(e){for(var r=e.attributes;r.length;)e.removeAttributeNode(r[0]);d6(e)}var eu=new Map,wQ=new Set;function ej(e){return typeof e.getRootNode==="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var tM=qo.d;qo.d={f:twe,r:rwe,D:owe,C:awe,L:nwe,m:iwe,X:swe,S:fwe,M:lwe};function twe(){var e=tM.f(),r=Mj();return e||r}function rwe(e){var r=s1(e);r!==null&&r.tag===5&&r.type==="form"?r$(r):tM.r(e)}var d1=typeof document>"u"?null:document;function see(e,r,a){var i=d1;if(i&&typeof r==="string"&&r){var f=Gc(r);f='link[rel="'+e+'"][href="'+f+'"]',typeof a==="string"&&(f+='[crossorigin="'+a+'"]'),wQ.has(f)||(wQ.add(f),e={rel:e,crossOrigin:a,href:r},i.querySelector(f)===null&&(r=i.createElement("link"),us(r,"link",e),Ei(r),i.head.appendChild(r)))}}function owe(e){tM.D(e),see("dns-prefetch",e,null)}function awe(e,r){tM.C(e,r),see("preconnect",e,r)}function nwe(e,r,a){tM.L(e,r,a);var i=d1;if(i&&e&&r){var f='link[rel="preload"][as="'+Gc(r)+'"]';r==="image"?a&&a.imageSrcSet?(f+='[imagesrcset="'+Gc(a.imageSrcSet)+'"]',typeof a.imageSizes==="string"&&(f+='[imagesizes="'+Gc(a.imageSizes)+'"]')):f+='[href="'+Gc(e)+'"]':f+='[href="'+Gc(e)+'"]';var s=f;switch(r){case"style":s=i1(e);break;case"script":s=Z1(e)}eu.has(s)||(e=an({rel:"preload",href:r==="image"&&a&&a.imageSrcSet?void 0:e,as:r},a),eu.set(s,e),i.querySelector(f)!==null||r==="style"&&i.querySelector(EP(s))||r==="script"&&i.querySelector(OP(s))||(r=i.createElement("link"),us(r,"link",e),Ei(r),i.head.appendChild(r)))}}function iwe(e,r){tM.m(e,r);var a=d1;if(a&&e){var i=r&&typeof r.as==="string"?r.as:"script",f='link[rel="modulepreload"][as="'+Gc(i)+'"][href="'+Gc(e)+'"]',s=f;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=Z1(e)}if(!eu.has(s)&&(e=an({rel:"modulepreload",href:e},r),eu.set(s,e),a.querySelector(f)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(OP(s)))return}i=a.createElement("link"),us(i,"link",e),Ei(i),a.head.appendChild(i)}}}function fwe(e,r,a){tM.S(e,r,a);var i=d1;if(i&&e){var f=qk(i).hoistableStyles,s=i1(e);r=r||"default";var l=f.get(s);if(!l){var c={loading:0,preload:null};if(l=i.querySelector(EP(s)))c.loading=5;else{e=an({rel:"stylesheet",href:e,"data-precedence":r},a),(a=eu.get(s))&&X6(e,a);var m=l=i.createElement("link");Ei(m),us(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,SO(l,r,i)}l={type:"stylesheet",instance:l,count:1,state:c},f.set(s,l)}}}function swe(e,r){tM.X(e,r);var a=d1;if(a&&e){var i=qk(a).hoistableScripts,f=Z1(e),s=i.get(f);s||(s=a.querySelector(OP(f)),s||(e=an({src:e,async:!0},r),(r=eu.get(f))&&Q6(e,r),s=a.createElement("script"),Ei(s),us(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(f,s))}}function lwe(e,r){tM.M(e,r);var a=d1;if(a&&e){var i=qk(a).hoistableScripts,f=Z1(e),s=i.get(f);s||(s=a.querySelector(OP(f)),s||(e=an({src:e,async:!0,type:"module"},r),(r=eu.get(f))&&Q6(e,r),s=a.createElement("script"),Ei(s),us(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(f,s))}}function zQ(e,r,a,i){var f=(f=c8.current)?ej(f):null;if(!f)throw Error(Ut(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence==="string"&&typeof a.href==="string"?(r=i1(a.href),a=qk(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=i1(a.href);var s=qk(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(EP(e)))&&!s._p&&(l.instance=s,l.state.loading=5),eu.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},eu.set(e,a),s||cwe(f,e,a,l.state))),r&&i===null)throw Error(Ut(528,""));return l}if(r&&i!==null)throw Error(Ut(529,""));return null;case"script":return r=a.async,a=a.src,typeof a==="string"&&r&&typeof r!=="function"&&typeof r!=="symbol"?(r=Z1(a),a=qk(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(Ut(444,e))}}function i1(e){return'href="'+Gc(e)+'"'}function EP(e){return'link[rel="stylesheet"]['+e+"]"}function lee(e){return an({},e,{"data-precedence":e.precedence,precedence:null})}function cwe(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}),us(r,"link",a),Ei(r),e.head.appendChild(r))}function Z1(e){return'[src="'+Gc(e)+'"]'}function OP(e){return"script[async]"+e}function SQ(e,r,a){if(r.count++,r.instance===null)switch(r.type){case"style":var i=e.querySelector('style[data-href~="'+Gc(a.href)+'"]');if(i)return r.instance=i,Ei(i),i;var f=an({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),Ei(i),us(i,"style",f),SO(i,a.precedence,e),r.instance=i;case"stylesheet":f=i1(a.href);var s=e.querySelector(EP(f));if(s)return r.state.loading|=4,r.instance=s,Ei(s),s;i=lee(a),(f=eu.get(f))&&X6(i,f),s=(e.ownerDocument||e).createElement("link"),Ei(s);var l=s;return l._p=new Promise(function(c,m){l.onload=c,l.onerror=m}),us(s,"link",i),r.state.loading|=4,SO(s,a.precedence,e),r.instance=s;case"script":if(s=Z1(a.src),f=e.querySelector(OP(s)))return r.instance=f,Ei(f),f;if(i=a,f=eu.get(s))i=an({},a),Q6(i,f);return e=e.ownerDocument||e,f=e.createElement("script"),Ei(f),us(f,"link",i),e.head.appendChild(f),r.instance=f;case"void":return null;default:throw Error(Ut(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(i=r.instance,r.state.loading|=4,SO(i,a.precedence,e));return r.instance}function SO(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 X6(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.title==null&&(e.title=r.title)}function Q6(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.integrity==null&&(e.integrity=r.integrity)}var LO=null;function LQ(e,r,a){if(LO===null){var i=new Map,f=LO=new Map;f.set(a,i)}else f=LO,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[CP]||s[ss]||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 kQ(e,r,a){e=e.ownerDocument||e,e.head.insertBefore(a,r==="title"?e.querySelector("head > title"):null)}function uwe(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 cee(e){return e.type==="stylesheet"&&(e.state.loading&3)===0?!1:!0}function dwe(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=i1(i.href),s=r.querySelector(EP(f));if(s){r=s._p,r!==null&&typeof r==="object"&&typeof r.then==="function"&&(e.count++,e=tj.bind(e),r.then(e,e)),a.state.loading|=4,a.instance=s,Ei(s);return}s=r.ownerDocument||r,i=lee(i),(f=eu.get(f))&&X6(i,f),s=s.createElement("link"),Ei(s);var l=s;l._p=new Promise(function(c,m){l.onload=c,l.onerror=m}),us(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=tj.bind(e),r.addEventListener("load",a),r.addEventListener("error",a))}}var cB=0;function Zwe(e,r){return e.stylesheets&&e.count===0&&kO(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var i=setTimeout(function(){if(e.stylesheets&&kO(e,e.stylesheets),e.unsuspend){var s=e.unsuspend;e.unsuspend=null,s()}},60000+r);0<e.imgBytes&&cB===0&&(cB=62500*W_e());var f=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&kO(e,e.stylesheets),e.unsuspend)){var s=e.unsuspend;e.unsuspend=null,s()}},(e.imgBytes>cB?50:800)+r);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(f)}}:null}function tj(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)kO(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var rj=null;function kO(e,r){e.stylesheets=null,e.unsuspend!==null&&(e.count++,rj=new Map,r.forEach(pwe,e),rj=null,tj.call(e))}function pwe(e,r){if(!(r.state.loading&4)){var a=rj.get(e);if(a)var i=a.get(null);else{a=new Map,rj.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=tj.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 _P={$$typeof:Rp,Provider:null,Consumer:null,_currentValue:Pz,_currentValue2:Pz,_threadCount:0};function mwe(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=O3(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=O3(0),this.hiddenUpdates=O3(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 hwe(e,r,a,i,f,s,l,c,m,g,M,x){return e=new mwe(e,r,a,l,m,g,M,x,c),r=1,s===!0&&(r|=24),s=Gl(3,null,null,r),e.current=s,s.stateNode=e,r=w6(),r.refCount++,e.pooledCache=r,r.refCount++,s.memoizedState={element:i,isDehydrated:a,cache:r},L6(s),e}function gwe(e){if(!e)return Fk;return e=Fk,e}function uee(e,r,a,i,f,s){f=gwe(f),i.context===null?i.context=f:i.pendingContext=f,i=Ez(r),i.payload={element:a},s=s===void 0?null:s,s!==null&&(i.callback=s),a=Oz(e,i,r),a!==null&&(Cl(a,e,r),oP(a,e,r))}function IQ(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<r?a:r}}function J6(e,r){IQ(e,r),(e=e.alternate)&&IQ(e,r)}function dee(e){if(e.tag===13||e.tag===31){var r=Wz(e,67108864);r!==null&&Cl(r,e,67108864),J6(e,67108864)}}function CQ(e){if(e.tag===13||e.tag===31){var r=Jc();r=WQ(r);var a=Wz(e,r);a!==null&&Cl(a,e,r),J6(e,r)}}var oj=!0;function Mwe(e,r,a,i){var f=Jr.T;Jr.T=null;var s=qo.p;try{qo.p=2,$6(e,r,a,i)}finally{qo.p=s,Jr.T=f}}function vwe(e,r,a,i){var f=Jr.T;Jr.T=null;var s=qo.p;try{qo.p=8,$6(e,r,a,i)}finally{qo.p=s,Jr.T=f}}function $6(e,r,a,i){if(oj){var f=i6(i);if(f===null)sB(e,r,i,aj,a),RQ(e,i);else if(ywe(f,e,r,a,i))i.stopPropagation();else if(RQ(e,i),r&4&&-1<xwe.indexOf(e)){for(;f!==null;){var s=s1(f);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var l=kz(s.pendingLanes);if(l!==0){var c=s;c.pendingLanes|=2;for(c.entangledLanes|=2;l;){var m=1<<31-Jl(l);c.entanglements[1]|=m,l&=~m}eM(s),(Uo&6)===0&&(WO=Xl()+500,DP(0,!1))}}break;case 31:case 13:c=Wz(s,2),c!==null&&Cl(c,s,2),Mj(),J6(s,2)}if(s=i6(i),s===null&&sB(e,r,i,aj,a),s===f)break;f=s}f!==null&&i.stopPropagation()}else sB(e,r,i,null,a)}}function i6(e){return e=p6(e),eY(e)}var aj=null;function eY(e){if(aj=null,e=Ak(e),e!==null){var r=SP(e);if(r===null)e=null;else{var a=r.tag;if(a===13){if(e=DQ(r),e!==null)return e;e=null}else if(a===31){if(e=EQ(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 aj=e,null}function Zee(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(rbe()){case FQ:return 2;case BQ:return 8;case TO:case obe:return 32;case YQ:return 268435456;default:return 32}default:return 32}}var f6=!1,p8=null,m8=null,h8=null,wP=new Map,zP=new Map,a8=[],xwe="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 RQ(e,r){switch(e){case"focusin":case"focusout":p8=null;break;case"dragenter":case"dragleave":m8=null;break;case"mouseover":case"mouseout":h8=null;break;case"pointerover":case"pointerout":wP.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":zP.delete(r.pointerId)}}function UR(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=s1(r),r!==null&&dee(r)),e;return e.eventSystemFlags|=i,r=e.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),e}function ywe(e,r,a,i,f){switch(r){case"focusin":return p8=UR(p8,e,r,a,i,f),!0;case"dragenter":return m8=UR(m8,e,r,a,i,f),!0;case"mouseover":return h8=UR(h8,e,r,a,i,f),!0;case"pointerover":var s=f.pointerId;return wP.set(s,UR(wP.get(s)||null,e,r,a,i,f)),!0;case"gotpointercapture":return s=f.pointerId,zP.set(s,UR(zP.get(s)||null,e,r,a,i,f)),!0}return!1}function pee(e){var r=Ak(e.target);if(r!==null){var a=SP(r);if(a!==null){if(r=a.tag,r===13){if(r=DQ(a),r!==null){e.blockedOn=r,hX(e.priority,function(){CQ(a)});return}}else if(r===31){if(r=EQ(a),r!==null){e.blockedOn=r,hX(e.priority,function(){CQ(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 IO(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var a=i6(e.nativeEvent);if(a===null){a=e.nativeEvent;var i=new a.constructor(a.type,a);_B=i,a.target.dispatchEvent(i),_B=null}else return r=s1(a),r!==null&&dee(r),e.blockedOn=a,!1;r.shift()}return!0}function PQ(e,r,a){IO(e)&&a.delete(r)}function bwe(){f6=!1,p8!==null&&IO(p8)&&(p8=null),m8!==null&&IO(m8)&&(m8=null),h8!==null&&IO(h8)&&(h8=null),wP.forEach(PQ),zP.forEach(PQ)}function dO(e,r){e.blockedOn===r&&(e.blockedOn=null,f6||(f6=!0,ma(pa,bwe)))}var ZO=null;function TQ(e){ZO!==e&&(ZO=e,ma(pa,function(){ZO===e&&(ZO=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(eY(i||a)===null)continue;else break;var s=s1(a);s!==null&&(e.splice(r,3),r-=3,NB(s,{pending:!0,data:f,method:a.method,action:i},i,f))}}))}function f1(e){function r(m){return dO(m,e)}p8!==null&&dO(p8,e),m8!==null&&dO(m8,e),h8!==null&&dO(h8,e),wP.forEach(r),zP.forEach(r);for(var a=0;a<a8.length;a++){var i=a8[a];i.blockedOn===e&&(i.blockedOn=null)}for(;0<a8.length&&(a=a8[0],a.blockedOn===null);)pee(a),a.blockedOn===null&&a8.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[Rl]||null;if(typeof s==="function")l||TQ(a);else if(l){var c=null;if(s&&s.hasAttribute("formAction")){if(f=s,l=s[Rl]||null)c=l.formAction;else if(eY(f)!==null)continue}else c=l.action;typeof c==="function"?a[i+1]=c:(a.splice(i,3),i-=3),TQ(a)}}}function _we(){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 tY(e){this._internalRoot=e}rY.prototype.render=tY.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(Ut(409));var a=r.current,i=Jc();uee(a,i,e,r,null,null)};rY.prototype.unmount=tY.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;uee(e.current,2,null,e,null,null),Mj(),r[IP]=null}};function rY(e){this._internalRoot=e}rY.prototype.unstable_scheduleHydration=function(e){if(e){var r=GQ();e={blockedOn:null,target:e,priority:r};for(var a=0;a<a8.length&&r!==0&&r<a8[a].priority;a++);a8.splice(a,0,e),a===0&&pee(e)}};var AQ=fa;if(AQ!=="19.2.8")throw Error(Ut(527,AQ,"19.2.8"));qo.findDOMNode=function(e){var r=e._reactInternals;if(r===void 0){if(typeof e.render==="function")throw Error(Ut(188));throw e=Object.keys(e).join(","),Error(Ut(268,e))}return e=Kye(r),e=e!==null?OQ(e):null,e=e===null?null:e.stateNode,e};var wwe={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:Jr,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){if(Rk=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Rk.isDisabled&&Rk.supportsFiber)try{LP=Rk.inject(wwe),Ql=Rk}catch(e){}}var Rk;var mee=function(e,r){if(!Gye(e))throw Error(Ut(299));var a=!1,i="",f=v_e,s=x_e,l=y_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=hwe(e,1,!1,null,null,a,i,null,f,s,l,_we),e[IP]=r.current,tee(e),new tY(r)};hee();C();var kwe={theme:"system",setTheme:()=>null},gee=wt(kwe);function Mee({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(gee.Provider,{...i,value:l,children:e})}var vee=()=>{let e=xt(gee);if(e===void 0)throw Error("useTheme must be used within a ThemeProvider");return e};var Iwe=/^[\w!#$%&'*.^`|~+-]+$/;var Cwe=(e,r,a={})=>{if(!Iwe.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},xee=(e,r,a)=>(r=encodeURIComponent(r),Cwe(e,r,a));var yee=(e,r)=>(e=e.replace(/\/+$/,""),e=e+"/",r=r.replace(/^\/+/,""),e+r),bj=(e,r)=>{for(let[a,i]of Object.entries(r)){let f=new RegExp("/:"+a+"(?:{[^/]+})?\\??(?=/|$)");e=e.replace(f,()=>i?`/${i}`:"")}return e},bee=(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},_ee=(e,r)=>{switch(r){case"ws":return e.replace(/^http/,"ws");case"http":return e.replace(/^ws/,"http")}},oY=(e)=>{if(/^https?:\/\/[^\/]+?\/index(?=\?|$)/.test(e))return e.replace(/\/index(?=\?|$)/,"/");return e.replace(/\/index(?=\?|$)/,"")};function yj(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}function aY(e,r){if(!yj(e)&&!yj(r))return r;let a={...e};for(let i in r){let f=r[i];if(yj(a[i])&&yj(f))a[i]=aY(a[i],f);else a[i]=f}return a}var wee=(e,r)=>new Proxy(()=>{},{get(i,f){if(typeof f!=="string"||f==="then")return;return wee(e,[...r,f])},apply(i,f,s){return e({path:r,args:s})}}),zee=(e,r)=>{let a=r.toString();return a?`${e}?${a}`:e},Pwe=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(xee(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=oY(s),s=bj(s,this.pathParams),this.queryParams)s=zee(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})}},nY=(e,r)=>wee(function a(i){let f=r?.buildSearchParams??bee,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 x=s.pop();if(x)c=x.replace(/^\$/,"")}let m=s.join("/"),g=yee(e,m);if(c==="url"||c==="path"){let x=g;if(i.args[0]){if(i.args[0].param)x=bj(g,i.args[0].param);if(i.args[0].query)x=zee(x,f(i.args[0].query))}if(x=oY(x),c==="url")return new URL(x);return x.slice(e.replace(/\/+$/,"").length).replace(/^\/?/,"/")}if(c==="ws"){let x=_ee(i.args[0]?.param?bj(g,i.args[0].param):g,"ws"),b=new URL(x),y=i.args[0]?.query;if(y)f(y).forEach((F,k)=>{b.searchParams.append(k,F)});return((...z)=>{if(r?.webSocket!==void 0&&typeof r.webSocket==="function")return r.webSocket(...z);return new WebSocket(...z)})(b.toString())}let M=new Pwe(g,c,{buildSearchParams:f});if(c){r??={};let x={...i.args[1]},b=r.headers,y=x.headers;if(b&&y)x.headers=async()=>({...typeof b==="function"?await b():b,...typeof y==="function"?await y():y});let _=aY(r,x);return M.fetch(i.args[0],_)}return M},[]);var See=(e)=>{let r,a=new Set,i=(g,M)=>{let x=typeof g==="function"?g(r):g;if(!Object.is(x,r)){let b=r;r=(M!=null?M:typeof x!=="object"||x===null)?x:Object.assign({},r,x),a.forEach((y)=>y(r,b))}},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},Lee=(e)=>e?See(e):See;C();var Twe=(e)=>e;function Awe(e,r=Twe){let a=Fn(e.subscribe,N(()=>r(e.getState()),[e,r]),N(()=>r(e.getInitialState()),[e,r]));return gz(a),a}var kee=(e)=>{let r=Lee(e),a=(i)=>Awe(r,i);return Object.assign(a,r),a},Sr=(e)=>e?kee(e):kee;var Iee=(e)=>!!e.dispatchFromDevtools&&typeof e.dispatch==="function",jP=new Map,_j=(e)=>{let r=jP.get(e);if(!r)return{};return Object.fromEntries(Object.entries(r.stores).map(([a,i])=>[a,i.getState()]))},Dwe=(e,r,a)=>{if(e===void 0)return{type:"untracked",connection:r.connect(a)};let i=jP.get(a.name);if(i)return{type:"tracked",store:e,...i};let f={connection:r.connect(a),stores:{}};return jP.set(a.name,f),{type:"tracked",store:e,...f}},Ewe=(e,r)=>{if(r===void 0)return;let a=jP.get(e);if(!a)return;if(delete a.stores[r],Object.keys(a.stores).length===0)jP.delete(e)},Owe=/^at (?:new |async )?(.+?) \(/,jwe=/^([^@]+)@/;function Nwe(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=Owe.exec(l))==null?void 0:a[1])||((i=jwe.exec(l))==null?void 0:i[1])}var Fwe=(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(z){}if(!g)return e(a,i,f);let{connection:M,...x}=Dwe(c,g,m),b=!0;f.setState=(z,F,k)=>{let I=a(z,F);if(!b)return I;let Y=k===void 0?{type:l||Nwe(Error().stack)||"anonymous"}:typeof k==="string"?{type:k}:k;if(c===void 0)return M==null||M.send(Y,i()),I;return M==null||M.send({...Y,type:`${c}/${Y.type}`},{..._j(m.name),[c]:f.getState()}),I},f.devtools={cleanup:()=>{if(M&&typeof M.unsubscribe==="function")M.unsubscribe();Ewe(m.name,c)}};let y=(...z)=>{let F=b;b=!1,a(...z),b=F},_=e(f.setState,i,f);if(x.type==="untracked")M==null||M.init(_);else x.stores[x.store]=f,M==null||M.init(Object.fromEntries(Object.entries(x.stores).map(([z,F])=>[z,z===x.store?_:F.getState()])));if(Iee(f)){let z=!1,F=f.dispatch;f.dispatch=(...k)=>{if((import.meta.env?import.meta.env.MODE:void 0)!=="production"&&k[0].type==="__setState"&&!z)console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),z=!0;F(...k)}}return M.subscribe((z)=>{var F;switch(z.type){case"ACTION":if(typeof z.payload!=="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return iY(z.payload,(k)=>{if(k.type==="__setState"){if(c===void 0){y(k.state);return}if(Object.keys(k.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 I=k.state[c];if(I===void 0||I===null)return;if(JSON.stringify(f.getState())!==JSON.stringify(I))y(I);return}if(Iee(f))f.dispatch(k)});case"DISPATCH":switch(z.payload.type){case"RESET":if(y(_),c===void 0)return M==null?void 0:M.init(f.getState());return M==null?void 0:M.init(_j(m.name));case"COMMIT":if(c===void 0){M==null||M.init(f.getState());return}return M==null?void 0:M.init(_j(m.name));case"ROLLBACK":return iY(z.state,(k)=>{if(c===void 0){y(k),M==null||M.init(f.getState());return}y(k[c]),M==null||M.init(_j(m.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return iY(z.state,(k)=>{if(c===void 0){y(k);return}if(JSON.stringify(f.getState())!==JSON.stringify(k[c]))y(k[c])});case"IMPORT_STATE":{let{nextLiftedState:k}=z.payload,I=(F=k.computedStates.slice(-1)[0])==null?void 0:F.state;if(!I)return;if(c===void 0)y(I);else y(I[c]);M==null||M.send(null,k);return}case"PAUSE_RECORDING":return b=!b}return}}),_},Cee=Fwe,iY=(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 Kz(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 fY=(e)=>(r)=>{try{let a=e(r);if(a instanceof Promise)return a;return{then(i){return fY(i)(a)},catch(i){return this}}}catch(a){return{then(i){return this},catch(i){return fY(i)(a)}}}},Bwe=(e,r)=>(a,i,f)=>{let s={storage:Kz(()=>window.localStorage),partialize:(F)=>F,version:0,merge:(F,k)=>({...k,...F}),...r},l=!1,c=0,m=new Set,g=new Set,M=s.storage;if(!M)return e((...F)=>{console.warn(`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`),a(...F)},i,f);let x=()=>{let F=s.partialize({...i()});return M.setItem(s.name,{state:F,version:s.version})},b=f.setState;f.setState=(F,k)=>(b(F,k),x());let y=e((...F)=>(a(...F),x()),i,f);f.getInitialState=()=>y;let _,z=()=>{var F,k;if(!M)return;let I=++c;l=!1,m.forEach((W)=>{var X;return W((X=i())!=null?X:y)});let Y=((k=s.onRehydrateStorage)==null?void 0:k.call(s,(F=i())!=null?F:y))||void 0;return fY(M.getItem.bind(M))(s.name).then((W)=>{if(W)if(typeof W.version==="number"&&W.version!==s.version){if(s.migrate){let X=s.migrate(W.state,W.version);if(X instanceof Promise)return X.then((J)=>[!0,J]);return[!0,X]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,W.state];return[!1,void 0]}).then((W)=>{var X;if(I!==c)return;let[J,ee]=W;if(_=s.merge(ee,(X=i())!=null?X:y),a(_,!0),J)return x()}).then(()=>{if(I!==c)return;Y==null||Y(i(),void 0),_=i(),l=!0,g.forEach((W)=>W(_))}).catch((W)=>{if(I!==c)return;Y==null||Y(void 0,W)})};if(f.persist={setOptions:(F)=>{if(s={...s,...F},F.storage)M=F.storage},clearStorage:()=>{++c,M==null||M.removeItem(s.name)},getOptions:()=>s,rehydrate:()=>z(),hasHydrated:()=>l,onHydrate:(F)=>(m.add(F),()=>{m.delete(F)}),onFinishHydration:(F)=>(g.add(F),()=>{g.delete(F)})},!s.skipHydration)z();return _||y},p1=Bwe;var Ss=Sr()(p1((e)=>({user:null,setUser:(r)=>e({user:r}),clearAuth:()=>e({user:null})}),{name:"auth-storage",storage:Kz(()=>localStorage)}));var Ywe=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"))Ss.getState().clearAuth(),window.location.href="/login"}return a},A=nY("/",{fetch:Ywe,init:{credentials:"include"}});C();var wj=(...e)=>e.filter((r,a,i)=>Boolean(r)&&r.trim()!==""&&i.indexOf(r)===a).join(" ").trim();var Ree=(e)=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();var Pee=(e)=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,a,i)=>i?i.toUpperCase():a.toLowerCase());var sY=(e)=>{let r=Pee(e);return r.charAt(0).toUpperCase()+r.slice(1)};C();var zj={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 Tee=(e)=>{for(let r in e)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};C();var Uwe=wt({});var Aee=()=>xt(Uwe);var Dee=D(({color:e,size:r,strokeWidth:a,absoluteStrokeWidth:i,className:f="",children:s,iconNode:l,...c},m)=>{let{size:g=24,strokeWidth:M=2,absoluteStrokeWidth:x=!1,color:b="currentColor",className:y=""}=Aee()??{},_=i??x?Number(a??M)*24/Number(r??g):a??M;return j("svg",{ref:m,...zj,width:r??g??zj.width,height:r??g??zj.height,stroke:e??b,strokeWidth:_,className:wj("lucide",y,f),...!s&&!Tee(c)&&{"aria-hidden":"true"},...c},[...l.map(([z,F])=>j(z,F)),...Array.isArray(s)?s:[s]])});var T=(e,r)=>{let a=D(({className:i,...f},s)=>j(Dee,{ref:s,iconNode:r,className:wj(`lucide-${Ree(sY(e))}`,`lucide-${e}`,i),...f}));return a.displayName=sY(e),a};var qwe=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],gr=T("circle-check",qwe);var Vwe=[["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"}]],kn=T("cloud-upload",Vwe);var Hwe=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],_8=T("columns-2",Hwe);var Wwe=[["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"}]],Ar=T("ellipsis-vertical",Wwe);var Gwe=[["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"}]],or=T("ellipsis",Gwe);var Kwe=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Z=T("loader-circle",Kwe);var Xwe=[["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"}]],w8=T("octagon-x",Xwe);var Qwe=[["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"}]],fn=T("rotate-ccw-clock",Qwe);var Jwe=[["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"}]],vo=T("square-kanban",Jwe);var $we=[["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"}]],zr=T("square-pen",$we);var e0e=[["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"}]],Fr=T("triangle-alert",e0e);var t0e=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],qn=T("arrow-right",t0e);var r0e=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],Rs=T("arrow-up",r0e);var o0e=[["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"}]],ks=T("bookmark",o0e);var a0e=[["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"}]],bt=T("bot",a0e);var n0e=[["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"}]],Pn=T("calendar",n0e);var i0e=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],NP=T("check-check",i0e);var f0e=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Te=T("check",f0e);var s0e=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],_e=T("chevron-down",s0e);var l0e=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],jr=T("chevron-left",l0e);var c0e=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],ft=T("chevron-right",c0e);var u0e=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],si=T("chevron-up",u0e);var d0e=[["path",{d:"m7 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]],Xz=T("chevrons-down-up",d0e);var Z0e=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],Qz=T("chevrons-up-down",Z0e);var p0e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],FP=T("circle",p0e);var m0e=[["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"}]],BP=T("clapperboard",m0e);var h0e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],ur=T("clock",h0e);var g0e=[["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=T("download",g0e);var M0e=[["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"}]],Nn=T("file-text",M0e);var v0e=[["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"}]],Kt=T("file",v0e);var x0e=[["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"}]],ii=T("files",x0e);var y0e=[["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"}]],ha=T("folder-clock",y0e);var b0e=[["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"}]],Xt=T("folder",b0e);var _0e=[["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"}]],ga=T("grip-vertical",_0e);var w0e=[["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"}]],Hn=T("image",w0e);var z0e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Zo=T("info",z0e);var S0e=[["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"}]],Gn=T("layout-grid",S0e);var L0e=[["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"}]],Aa=T("link-2",L0e);var k0e=[["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"}]],wo=T("list",k0e);var I0e=[["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"}]],Vr=T("lock",I0e);var C0e=[["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"}]],YP=T("log-in",C0e);var R0e=[["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"}]],Jz=T("mail",R0e);var P0e=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],rM=T("menu",P0e);var T0e=[["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"}]],lo=T("message-square",T0e);var A0e=[["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"}]],li=T("paperclip",A0e);var D0e=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],de=T("plus",D0e);var E0e=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Lt=T("search",E0e);var O0e=[["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"}]],ci=T("share-2",O0e);var j0e=[["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"}]],co=T("target",j0e);var N0e=[["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"}]],ve=T("trash-2",N0e);var F0e=[["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"}]],UP=T("user-plus",F0e);var B0e=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Oe=T("x",B0e);C();var m1=Sr((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 nre(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=nre(e[r]))&&(i&&(i+=" "),i+=a)}else for(a in e)e[a]&&(i&&(i+=" "),i+=a);return i}function Sj(){for(var e,r,a=0,i="",f=arguments.length;a<f;a++)(e=arguments[a])&&(r=nre(e))&&(i&&(i+=" "),i+=r);return i}var Y0e=(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},U0e=(e,r)=>({classGroupId:e,validator:r}),ure=(e=new Map,r=null,a)=>({nextPart:e,validators:r,classGroupId:a});var ire=[];var q0e=(e)=>{let r=H0e(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:(l)=>{if(l.startsWith("[")&&l.endsWith("]"))return V0e(l);let c=l.split("-"),m=c[0]===""&&c.length>1?1:0;return dre(c,m,r)},getConflictingClassGroupIds:(l,c)=>{if(c){let m=i[l],g=a[l];if(m){if(g)return Y0e(g,m);return m}return g||ire}return a[l]||ire}}},dre=(e,r,a)=>{if(e.length-r===0)return a.classGroupId;let f=e[r],s=a.nextPart.get(f);if(s){let g=dre(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},V0e=(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})(),H0e=(e)=>{let{theme:r,classGroups:a}=e;return W0e(a,r)},W0e=(e,r)=>{let a=ure();for(let i in e){let f=e[i];cY(f,a,i,r)}return a},cY=(e,r,a,i)=>{let f=e.length;for(let s=0;s<f;s++){let l=e[s];G0e(l,r,a,i)}},G0e=(e,r,a,i)=>{if(typeof e==="string"){K0e(e,r,a);return}if(typeof e==="function"){X0e(e,r,a,i);return}Q0e(e,r,a,i)},K0e=(e,r,a)=>{let i=e===""?r:Zre(r,e);i.classGroupId=a},X0e=(e,r,a,i)=>{if(J0e(e)){cY(e(i),r,a,i);return}if(r.validators===null)r.validators=[];r.validators.push(U0e(a,e))},Q0e=(e,r,a,i)=>{let f=Object.entries(e),s=f.length;for(let l=0;l<s;l++){let[c,m]=f[l];cY(m,Zre(r,c),a,i)}},Zre=(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=ure(),a.nextPart.set(l,c);a=c}return a},J0e=(e)=>("isThemeGetter"in e)&&e.isThemeGetter===!0,$0e=(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 eze=[],fre=(e,r,a,i,f)=>({modifiers:e,hasImportantModifier:r,baseClassName:a,maybePostfixModifierPosition:i,isExternal:f}),tze=(e)=>{let{prefix:r,experimentalParseClassName:a}=e,i=(f)=>{let s=[],l=0,c=0,m=0,g,M=f.length;for(let z=0;z<M;z++){let F=f[z];if(l===0&&c===0){if(F===":"){s.push(f.slice(m,z)),m=z+1;continue}if(F==="/"){g=z;continue}}if(F==="[")l++;else if(F==="]")l--;else if(F==="(")c++;else if(F===")")c--}let x=s.length===0?f:f.slice(m),b=x,y=!1;if(x.endsWith("!"))b=x.slice(0,-1),y=!0;else if(x.startsWith("!"))b=x.slice(1),y=!0;let _=g&&g>m?g-m:void 0;return fre(s,y,b,_)};if(r){let f=r+":",s=i;i=(l)=>l.startsWith(f)?s(l.slice(f.length)):fre(eze,!1,l,void 0,!0)}if(a){let f=i;i=(s)=>a({className:s,parseClassName:f})}return i},rze=(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}},oze=(e)=>({cache:$0e(e.cacheSize),parseClassName:tze(e),sortModifiers:rze(e),postfixLookupClassGroupIds:aze(e),...q0e(e)}),aze=(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},nze=/\s+/,ize=(e,r)=>{let{parseClassName:a,getClassGroupId:i,getConflictingClassGroupIds:f,sortModifiers:s,postfixLookupClassGroupIds:l}=r,c=[],m=e.trim().split(nze),g="";for(let M=m.length-1;M>=0;M-=1){let x=m[M],{isExternal:b,modifiers:y,hasImportantModifier:_,baseClassName:z,maybePostfixModifierPosition:F}=a(x);if(b){g=x+(g.length>0?" "+g:g);continue}let k=!!F,I;if(k){let ee=z.substring(0,F);I=i(ee);let ae=I&&l[I]?i(z):void 0;if(ae&&ae!==I)I=ae,k=!1}else I=i(z);if(!I){if(!k){g=x+(g.length>0?" "+g:g);continue}if(I=i(z),!I){g=x+(g.length>0?" "+g:g);continue}k=!1}let Y=y.length===0?"":y.length===1?y[0]:s(y).join(":"),W=_?Y+"!":Y,X=W+I;if(c.indexOf(X)>-1)continue;c.push(X);let J=f(I,k);for(let ee=0;ee<J.length;++ee){let ae=J[ee];c.push(W+ae)}g=x+(g.length>0?" "+g:g)}return g},fze=(...e)=>{let r=0,a,i,f="";while(r<e.length)if(a=e[r++]){if(i=pre(a))f&&(f+=" "),f+=i}return f},pre=(e)=>{if(typeof e==="string")return e;let r,a="";for(let i=0;i<e.length;i++)if(e[i]){if(r=pre(e[i]))a&&(a+=" "),a+=r}return a},sze=(e,...r)=>{let a,i,f,s,l=(m)=>{let g=r.reduce((M,x)=>x(M),e());return a=oze(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=ize(m,a);return f(m,M),M};return s=l,(...m)=>s(fze(...m))},lze=[],Ii=(e)=>{let r=(a)=>a[e]||lze;return r.isThemeGetter=!0,r},mre=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,hre=/^\((?:(\w[\w-]*):)?(.+)\)$/i,cze=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,uze=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dze=/\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$/,Zze=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,pze=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mze=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,L8=(e)=>cze.test(e),Mo=(e)=>!!e&&!Number.isNaN(Number(e)),LZ=(e)=>!!e&&Number.isInteger(Number(e)),lY=(e)=>e.endsWith("%")&&Mo(e.slice(0,-1)),oM=(e)=>uze.test(e),gre=()=>!0,hze=(e)=>dze.test(e)&&!Zze.test(e),uY=()=>!1,gze=(e)=>pze.test(e),Mze=(e)=>mze.test(e),vze=(e)=>!Lr(e)&&!Rr(e),xze=(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)),yze=(e)=>k8(e,xre,uY),Lr=(e)=>mre.test(e),$z=(e)=>k8(e,yre,hze),sre=(e)=>k8(e,Ize,Mo),bze=(e)=>k8(e,_re,gre),_ze=(e)=>k8(e,bre,uY),lre=(e)=>k8(e,Mre,uY),wze=(e)=>k8(e,vre,Mze),Lj=(e)=>k8(e,wre,gze),Rr=(e)=>hre.test(e),$P=(e)=>eL(e,yre),zze=(e)=>eL(e,bre),cre=(e)=>eL(e,Mre),Sze=(e)=>eL(e,xre),Lze=(e)=>eL(e,vre),kj=(e)=>eL(e,wre,!0),kze=(e)=>eL(e,_re,!0),k8=(e,r,a)=>{let i=mre.exec(e);if(i){if(i[1])return r(i[1]);return a(i[2])}return!1},eL=(e,r,a=!1)=>{let i=hre.exec(e);if(i){if(i[1])return r(i[1]);return a}return!1},Mre=(e)=>e==="position"||e==="percentage",vre=(e)=>e==="image"||e==="url",xre=(e)=>e==="length"||e==="size"||e==="bg-size",yre=(e)=>e==="length",Ize=(e)=>e==="number",bre=(e)=>e==="family-name",_re=(e)=>e==="number"||e==="weight",wre=(e)=>e==="shadow";var Cze=()=>{let e=Ii("color"),r=Ii("font"),a=Ii("text"),i=Ii("font-weight"),f=Ii("tracking"),s=Ii("leading"),l=Ii("breakpoint"),c=Ii("container"),m=Ii("spacing"),g=Ii("radius"),M=Ii("shadow"),x=Ii("inset-shadow"),b=Ii("text-shadow"),y=Ii("drop-shadow"),_=Ii("blur"),z=Ii("perspective"),F=Ii("aspect"),k=Ii("ease"),I=Ii("animate"),Y=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],X=()=>[...W(),Rr,Lr],J=()=>["auto","hidden","clip","visible","scroll"],ee=()=>["auto","contain","none"],ae=()=>[Rr,Lr,m],ne=()=>[L8,"full","auto",...ae()],xe=()=>[LZ,"none","subgrid",Rr,Lr],Qe=()=>["auto",{span:["full",LZ,Rr,Lr]},LZ,Rr,Lr],Fe=()=>[LZ,"auto",Rr,Lr],ye=()=>["auto","min","max","fr",Rr,Lr],Ve=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],dt=()=>["start","end","center","stretch","center-safe","end-safe"],lt=()=>["auto",...ae()],pt=()=>[L8,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...ae()],Bt=()=>[L8,"screen","full","dvw","lvw","svw","min","max","fit",...ae()],Wt=()=>[L8,"screen","full","lh","dvh","lvh","svh","min","max","fit",...ae()],le=()=>[e,Rr,Lr],mt=()=>[...W(),cre,lre,{position:[Rr,Lr]}],Gt=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ke=()=>["auto","cover","contain",Sze,yze,{size:[Rr,Lr]}],Zr=()=>[lY,$P,$z],lr=()=>["","none","full",g,Rr,Lr],tr=()=>["",Mo,$P,$z],Ur=()=>["solid","dashed","dotted","double"],Qt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Jt=()=>[Mo,lY,cre,lre],vr=()=>["","none",_,Rr,Lr],Er=()=>["none",Mo,Rr,Lr],Br=()=>["none",Mo,Rr,Lr],xr=()=>[Mo,Rr,Lr],bo=()=>[L8,"full",...ae()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[oM],breakpoint:[oM],color:[gre],container:[oM],"drop-shadow":[oM],ease:["in","out","in-out"],font:[vze],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[oM],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[oM],shadow:[oM],spacing:["px",Mo],text:[oM],"text-shadow":[oM],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",L8,Lr,Rr,F]}],container:["container"],"container-type":[{"@container":["","normal","size",Rr,Lr]}],"container-named":[xze],columns:[{columns:[Mo,Lr,Rr,c]}],"break-after":[{"break-after":Y()}],"break-before":[{"break-before":Y()}],"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:X()}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:ee()}],"overscroll-x":[{"overscroll-x":ee()}],"overscroll-y":[{"overscroll-y":ee()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ne()}],"inset-x":[{"inset-x":ne()}],"inset-y":[{"inset-y":ne()}],start:[{"inset-s":ne(),start:ne()}],end:[{"inset-e":ne(),end:ne()}],"inset-bs":[{"inset-bs":ne()}],"inset-be":[{"inset-be":ne()}],top:[{top:ne()}],right:[{right:ne()}],bottom:[{bottom:ne()}],left:[{left:ne()}],visibility:["visible","invisible","collapse"],z:[{z:[LZ,"auto",Rr,Lr]}],basis:[{basis:[L8,"full","auto",c,...ae()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Mo,L8,"auto","initial","none",Lr]}],grow:[{grow:["",Mo,Rr,Lr]}],shrink:[{shrink:["",Mo,Rr,Lr]}],order:[{order:[LZ,"first","last","none",Rr,Lr]}],"grid-cols":[{"grid-cols":xe()}],"col-start-end":[{col:Qe()}],"col-start":[{"col-start":Fe()}],"col-end":[{"col-end":Fe()}],"grid-rows":[{"grid-rows":xe()}],"row-start-end":[{row:Qe()}],"row-start":[{"row-start":Fe()}],"row-end":[{"row-end":Fe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ye()}],"auto-rows":[{"auto-rows":ye()}],gap:[{gap:ae()}],"gap-x":[{"gap-x":ae()}],"gap-y":[{"gap-y":ae()}],"justify-content":[{justify:[...Ve(),"normal"]}],"justify-items":[{"justify-items":[...dt(),"normal"]}],"justify-self":[{"justify-self":["auto",...dt()]}],"align-content":[{content:["normal",...Ve()]}],"align-items":[{items:[...dt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...dt(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ve()}],"place-items":[{"place-items":[...dt(),"baseline"]}],"place-self":[{"place-self":["auto",...dt()]}],p:[{p:ae()}],px:[{px:ae()}],py:[{py:ae()}],ps:[{ps:ae()}],pe:[{pe:ae()}],pbs:[{pbs:ae()}],pbe:[{pbe:ae()}],pt:[{pt:ae()}],pr:[{pr:ae()}],pb:[{pb:ae()}],pl:[{pl:ae()}],m:[{m:lt()}],mx:[{mx:lt()}],my:[{my:lt()}],ms:[{ms:lt()}],me:[{me:lt()}],mbs:[{mbs:lt()}],mbe:[{mbe:lt()}],mt:[{mt:lt()}],mr:[{mr:lt()}],mb:[{mb:lt()}],ml:[{ml:lt()}],"space-x":[{"space-x":ae()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":ae()}],"space-y-reverse":["space-y-reverse"],size:[{size:pt()}],"inline-size":[{inline:["auto",...Bt()]}],"min-inline-size":[{"min-inline":["auto",...Bt()]}],"max-inline-size":[{"max-inline":["none",...Bt()]}],"block-size":[{block:["auto",...Wt()]}],"min-block-size":[{"min-block":["auto",...Wt()]}],"max-block-size":[{"max-block":["none",...Wt()]}],w:[{w:[c,"screen",...pt()]}],"min-w":[{"min-w":[c,"screen","none",...pt()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[l]},...pt()]}],h:[{h:["screen","lh",...pt()]}],"min-h":[{"min-h":["screen","lh","none",...pt()]}],"max-h":[{"max-h":["screen","lh",...pt()]}],"font-size":[{text:["base",a,$P,$z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,kze,bze]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",lY,Lr]}],"font-family":[{font:[zze,_ze,r]}],"font-features":[{"font-features":[Lr]}],"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,Rr,Lr]}],"line-clamp":[{"line-clamp":[Mo,"none",Rr,sre]}],leading:[{leading:[s,...ae()]}],"list-image":[{"list-image":["none",Rr,Lr]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Rr,Lr]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:le()}],"text-color":[{text:le()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ur(),"wavy"]}],"text-decoration-thickness":[{decoration:[Mo,"from-font","auto",Rr,$z]}],"text-decoration-color":[{decoration:le()}],"underline-offset":[{"underline-offset":[Mo,"auto",Rr,Lr]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ae()}],"tab-size":[{tab:[LZ,Rr,Lr]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Rr,Lr]}],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",Rr,Lr]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:mt()}],"bg-repeat":[{bg:Gt()}],"bg-size":[{bg:ke()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},LZ,Rr,Lr],radial:["",Rr,Lr],conic:[LZ,Rr,Lr]},Lze,wze]}],"bg-color":[{bg:le()}],"gradient-from-pos":[{from:Zr()}],"gradient-via-pos":[{via:Zr()}],"gradient-to-pos":[{to:Zr()}],"gradient-from":[{from:le()}],"gradient-via":[{via:le()}],"gradient-to":[{to:le()}],rounded:[{rounded:lr()}],"rounded-s":[{"rounded-s":lr()}],"rounded-e":[{"rounded-e":lr()}],"rounded-t":[{"rounded-t":lr()}],"rounded-r":[{"rounded-r":lr()}],"rounded-b":[{"rounded-b":lr()}],"rounded-l":[{"rounded-l":lr()}],"rounded-ss":[{"rounded-ss":lr()}],"rounded-se":[{"rounded-se":lr()}],"rounded-ee":[{"rounded-ee":lr()}],"rounded-es":[{"rounded-es":lr()}],"rounded-tl":[{"rounded-tl":lr()}],"rounded-tr":[{"rounded-tr":lr()}],"rounded-br":[{"rounded-br":lr()}],"rounded-bl":[{"rounded-bl":lr()}],"border-w":[{border:tr()}],"border-w-x":[{"border-x":tr()}],"border-w-y":[{"border-y":tr()}],"border-w-s":[{"border-s":tr()}],"border-w-e":[{"border-e":tr()}],"border-w-bs":[{"border-bs":tr()}],"border-w-be":[{"border-be":tr()}],"border-w-t":[{"border-t":tr()}],"border-w-r":[{"border-r":tr()}],"border-w-b":[{"border-b":tr()}],"border-w-l":[{"border-l":tr()}],"divide-x":[{"divide-x":tr()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":tr()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Ur(),"hidden","none"]}],"divide-style":[{divide:[...Ur(),"hidden","none"]}],"border-color":[{border:le()}],"border-color-x":[{"border-x":le()}],"border-color-y":[{"border-y":le()}],"border-color-s":[{"border-s":le()}],"border-color-e":[{"border-e":le()}],"border-color-bs":[{"border-bs":le()}],"border-color-be":[{"border-be":le()}],"border-color-t":[{"border-t":le()}],"border-color-r":[{"border-r":le()}],"border-color-b":[{"border-b":le()}],"border-color-l":[{"border-l":le()}],"divide-color":[{divide:le()}],"outline-style":[{outline:[...Ur(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Mo,Rr,Lr]}],"outline-w":[{outline:["",Mo,$P,$z]}],"outline-color":[{outline:le()}],shadow:[{shadow:["","none",M,kj,Lj]}],"shadow-color":[{shadow:le()}],"inset-shadow":[{"inset-shadow":["none",x,kj,Lj]}],"inset-shadow-color":[{"inset-shadow":le()}],"ring-w":[{ring:tr()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:le()}],"ring-offset-w":[{"ring-offset":[Mo,$z]}],"ring-offset-color":[{"ring-offset":le()}],"inset-ring-w":[{"inset-ring":tr()}],"inset-ring-color":[{"inset-ring":le()}],"text-shadow":[{"text-shadow":["none",b,kj,Lj]}],"text-shadow-color":[{"text-shadow":le()}],opacity:[{opacity:[Mo,Rr,Lr]}],"mix-blend":[{"mix-blend":[...Qt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Qt()}],"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":[Mo]}],"mask-image-linear-from-pos":[{"mask-linear-from":Jt()}],"mask-image-linear-to-pos":[{"mask-linear-to":Jt()}],"mask-image-linear-from-color":[{"mask-linear-from":le()}],"mask-image-linear-to-color":[{"mask-linear-to":le()}],"mask-image-t-from-pos":[{"mask-t-from":Jt()}],"mask-image-t-to-pos":[{"mask-t-to":Jt()}],"mask-image-t-from-color":[{"mask-t-from":le()}],"mask-image-t-to-color":[{"mask-t-to":le()}],"mask-image-r-from-pos":[{"mask-r-from":Jt()}],"mask-image-r-to-pos":[{"mask-r-to":Jt()}],"mask-image-r-from-color":[{"mask-r-from":le()}],"mask-image-r-to-color":[{"mask-r-to":le()}],"mask-image-b-from-pos":[{"mask-b-from":Jt()}],"mask-image-b-to-pos":[{"mask-b-to":Jt()}],"mask-image-b-from-color":[{"mask-b-from":le()}],"mask-image-b-to-color":[{"mask-b-to":le()}],"mask-image-l-from-pos":[{"mask-l-from":Jt()}],"mask-image-l-to-pos":[{"mask-l-to":Jt()}],"mask-image-l-from-color":[{"mask-l-from":le()}],"mask-image-l-to-color":[{"mask-l-to":le()}],"mask-image-x-from-pos":[{"mask-x-from":Jt()}],"mask-image-x-to-pos":[{"mask-x-to":Jt()}],"mask-image-x-from-color":[{"mask-x-from":le()}],"mask-image-x-to-color":[{"mask-x-to":le()}],"mask-image-y-from-pos":[{"mask-y-from":Jt()}],"mask-image-y-to-pos":[{"mask-y-to":Jt()}],"mask-image-y-from-color":[{"mask-y-from":le()}],"mask-image-y-to-color":[{"mask-y-to":le()}],"mask-image-radial":[{"mask-radial":[Rr,Lr]}],"mask-image-radial-from-pos":[{"mask-radial-from":Jt()}],"mask-image-radial-to-pos":[{"mask-radial-to":Jt()}],"mask-image-radial-from-color":[{"mask-radial-from":le()}],"mask-image-radial-to-color":[{"mask-radial-to":le()}],"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":W()}],"mask-image-conic-pos":[{"mask-conic":[Mo]}],"mask-image-conic-from-pos":[{"mask-conic-from":Jt()}],"mask-image-conic-to-pos":[{"mask-conic-to":Jt()}],"mask-image-conic-from-color":[{"mask-conic-from":le()}],"mask-image-conic-to-color":[{"mask-conic-to":le()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:mt()}],"mask-repeat":[{mask:Gt()}],"mask-size":[{mask:ke()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Rr,Lr]}],filter:[{filter:["","none",Rr,Lr]}],blur:[{blur:vr()}],brightness:[{brightness:[Mo,Rr,Lr]}],contrast:[{contrast:[Mo,Rr,Lr]}],"drop-shadow":[{"drop-shadow":["","none",y,kj,Lj]}],"drop-shadow-color":[{"drop-shadow":le()}],grayscale:[{grayscale:["",Mo,Rr,Lr]}],"hue-rotate":[{"hue-rotate":[Mo,Rr,Lr]}],invert:[{invert:["",Mo,Rr,Lr]}],saturate:[{saturate:[Mo,Rr,Lr]}],sepia:[{sepia:["",Mo,Rr,Lr]}],"backdrop-filter":[{"backdrop-filter":["","none",Rr,Lr]}],"backdrop-blur":[{"backdrop-blur":vr()}],"backdrop-brightness":[{"backdrop-brightness":[Mo,Rr,Lr]}],"backdrop-contrast":[{"backdrop-contrast":[Mo,Rr,Lr]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Mo,Rr,Lr]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Mo,Rr,Lr]}],"backdrop-invert":[{"backdrop-invert":["",Mo,Rr,Lr]}],"backdrop-opacity":[{"backdrop-opacity":[Mo,Rr,Lr]}],"backdrop-saturate":[{"backdrop-saturate":[Mo,Rr,Lr]}],"backdrop-sepia":[{"backdrop-sepia":["",Mo,Rr,Lr]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":ae()}],"border-spacing-x":[{"border-spacing-x":ae()}],"border-spacing-y":[{"border-spacing-y":ae()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Rr,Lr]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Mo,"initial",Rr,Lr]}],ease:[{ease:["linear","initial",k,Rr,Lr]}],delay:[{delay:[Mo,Rr,Lr]}],animate:[{animate:["none",I,Rr,Lr]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[z,Rr,Lr]}],"perspective-origin":[{"perspective-origin":X()}],rotate:[{rotate:Er()}],"rotate-x":[{"rotate-x":Er()}],"rotate-y":[{"rotate-y":Er()}],"rotate-z":[{"rotate-z":Er()}],scale:[{scale:Br()}],"scale-x":[{"scale-x":Br()}],"scale-y":[{"scale-y":Br()}],"scale-z":[{"scale-z":Br()}],"scale-3d":["scale-3d"],skew:[{skew:xr()}],"skew-x":[{"skew-x":xr()}],"skew-y":[{"skew-y":xr()}],transform:[{transform:[Rr,Lr,"","none","gpu","cpu"]}],"transform-origin":[{origin:X()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:bo()}],"translate-x":[{"translate-x":bo()}],"translate-y":[{"translate-y":bo()}],"translate-z":[{"translate-z":bo()}],"translate-none":["translate-none"],zoom:[{zoom:[LZ,Rr,Lr]}],accent:[{accent:le()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:le()}],"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",Rr,Lr]}],"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":le()}],"scrollbar-track-color":[{"scrollbar-track":le()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":ae()}],"scroll-mx":[{"scroll-mx":ae()}],"scroll-my":[{"scroll-my":ae()}],"scroll-ms":[{"scroll-ms":ae()}],"scroll-me":[{"scroll-me":ae()}],"scroll-mbs":[{"scroll-mbs":ae()}],"scroll-mbe":[{"scroll-mbe":ae()}],"scroll-mt":[{"scroll-mt":ae()}],"scroll-mr":[{"scroll-mr":ae()}],"scroll-mb":[{"scroll-mb":ae()}],"scroll-ml":[{"scroll-ml":ae()}],"scroll-p":[{"scroll-p":ae()}],"scroll-px":[{"scroll-px":ae()}],"scroll-py":[{"scroll-py":ae()}],"scroll-ps":[{"scroll-ps":ae()}],"scroll-pe":[{"scroll-pe":ae()}],"scroll-pbs":[{"scroll-pbs":ae()}],"scroll-pbe":[{"scroll-pbe":ae()}],"scroll-pt":[{"scroll-pt":ae()}],"scroll-pr":[{"scroll-pr":ae()}],"scroll-pb":[{"scroll-pb":ae()}],"scroll-pl":[{"scroll-pl":ae()}],"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",Rr,Lr]}],fill:[{fill:["none",...le()]}],"stroke-w":[{stroke:[Mo,$P,$z,sre]}],stroke:[{stroke:["none",...le()]}],"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 zre=sze(Cze);function E(...e){return zre(Sj(e))}var Sre=(e)=>typeof e==="boolean"?`${e}`:e===0?"0":e,Lre=Sj,Qo=(e,r)=>(a)=>{var i;if((r===null||r===void 0?void 0:r.variants)==null)return Lre(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],x=s===null||s===void 0?void 0:s[g];if(M===null)return null;let b=Sre(M)||Sre(x);return f[g][b]}),c=a&&Object.entries(a).reduce((g,M)=>{let[x,b]=M;if(b===void 0)return g;return g[x]=b,g},{}),m=r===null||r===void 0?void 0:(i=r.compoundVariants)===null||i===void 0?void 0:i.reduce((g,M)=>{let{class:x,className:b,...y}=M;return Object.entries(y).every((_)=>{let[z,F]=_;return Array.isArray(F)?F.includes({...s,...c}[z]):{...s,...c}[z]===F})?[...g,x,b]:g},[]);return Lre(e,l,m,a===null||a===void 0?void 0:a.class,a===null||a===void 0?void 0:a.className)};C();C();var Rze=Object.defineProperty,tu=(e,r)=>Rze(e,"name",{value:r,configurable:!0});function Pze(e,r){let a=wt(r);a.displayName=e+"Context";let i=tu((s)=>{let{children:l,...c}=s,m=O(()=>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=xt(a);if(m)return m;if(r!==void 0)return r;if(c)return;throw Error(`\`${s}\` must be used within \`${e}\``)}return tu(f,"useContext"),[i,f]}tu(Pze,"createContext");function ut(e,r=[]){let a=[];function i(s,l){let c=wt(l);c.displayName=s+"Context";let m=a.length;a=[...a,l];let g=tu((x)=>{let{scope:b,children:y,..._}=x,z=b?.[e]?.[m]||c,F=O(()=>_,Object.values(_));return t(z.Provider,{value:F,children:y})},"Provider");g.displayName=s+"Provider";function M(x,b,y={}){let{optional:_=!1}=y,z=b?.[e]?.[m]||c,F=xt(z);if(F)return F;if(l!==void 0)return l;if(_)return;throw Error(`\`${x}\` must be used within \`${s}\``)}return tu(M,"useContext"),[g,M]}tu(i,"createContext");let f=tu(()=>{let s=a.map((l)=>wt(l));return tu(function(c){let m=c?.[e]||s;return O(()=>({[`__scope${e}`]:{...c,[e]:m}}),[c,m])},"useScope")},"createScope");return f.scopeName=e,[i,kre(f,...r)]}tu(ut,"createContextScope");function kre(...e){let r=e[0];if(e.length===1)return r;let a=tu(()=>{let i=e.map((f)=>({useScope:f(),scopeName:f.scopeName}));return tu(function(s){let l=i.reduce((c,{useScope:m,scopeName:g})=>{let x=m(s)[`__scope${g}`];return{...c,...x}},{});return O(()=>({[`__scope${r.scopeName}`]:l}),[l])},"useComposedScopes")},"createScope");return a.scopeName=r.scopeName,a}tu(kre,"composeContextScopes");C();var Tze=Object.defineProperty,ZY=(e,r)=>Tze(e,"name",{value:r,configurable:!0});function dY(e,r){if(typeof e==="function")return e(r);else if(e!==null&&e!==void 0)e.current=r}ZY(dY,"setRef");function Ire(...e){return(r)=>{let a=!1,i=e.map((f)=>{let s=dY(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 dY(e[f],null)}}}}ZY(Ire,"composeRefs");function me(...e){return N(Ire(...e),e)}ZY(me,"useComposedRefs");C();var Aze=Object.defineProperty,h1=(e,r)=>Aze(e,"name",{value:r,configurable:!0}),Cre=!!(typeof window<"u"&&window.document&&window.document.createElement);function K(e,r,{checkForDefaultPrevented:a=!0}={}){return h1(function(f){if(e?.(f),a===!1||!f||!f.defaultPrevented)return r?.(f)},"handleEvent")}h1(K,"composeEventHandlers");function Dze(e){if(!Cre)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window}h1(Dze,"getOwnerWindow");function pY(e){if(!Cre)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}h1(pY,"getOwnerDocument");function Rre(e,r=!1){let{activeElement:a}=pY(e);if(!a?.nodeName)return null;if(Pre(a)&&a.contentDocument)return Rre(a.contentDocument.body,r);if(r){let i=a.getAttribute("aria-activedescendant");if(i){let f=pY(a).getElementById(i);if(f)return f}}return a}h1(Rre,"getActiveElement");function Pre(e){return e.tagName==="IFRAME"}h1(Pre,"isFrame");C();C();var Et=globalThis?.document?He:()=>{};var Eze=Object.defineProperty,Oze=(e,r)=>Eze(e,"name",{value:r,configurable:!0}),jze=H[" useId ".trim().toString()]||(()=>{return}),Nze=0;function yr(e){let[r,a]=u(jze());return Et(()=>{if(!e)a((i)=>i??String(Nze++))},[e]),e||(r?`radix-${r}`:"")}Oze(yr,"useId");C();var qa=!1;C();C();var Fze=Object.defineProperty,Bze=(e,r)=>Fze(e,"name",{value:r,configurable:!0}),Tre=H[" useEffectEvent ".trim().toString()],Are=H[" useInsertionEffect ".trim().toString()];function mY(e){if(typeof Tre==="function")return Tre(e);let r=v(()=>{throw Error("Cannot call an event handler while rendering.")});if(typeof Are==="function")Are(()=>{r.current=e});else Et(()=>{r.current=e});return O(()=>(...a)=>r.current?.(...a),[])}Bze(mY,"useEffectEvent");var Yze=Object.defineProperty,eT=(e,r)=>Yze(e,"name",{value:r,configurable:!0}),Uze=H[" useInsertionEffect ".trim().toString()]||Et;function Ot({prop:e,defaultProp:r,onChange:a=eT(()=>{},"onChange"),caller:i}){let[f,s,l]=Ere({defaultProp:r,onChange:a}),c=e!==void 0,m=c?e:f;if(qa){let M=v(e!==void 0);h(()=>{let x=M.current;if(x!==c)console.warn(`${i} is changing from ${x?"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=N((M)=>{if(c){let x=Ore(M)?M(e):M;if(x!==e)l.current?.(x)}else s(M)},[c,e,s,l]);return[m,g]}eT(Ot,"useControllableState");function Ere({defaultProp:e,onChange:r}){let[a,i]=u(e),f=v(a),s=v(r);return Uze(()=>{s.current=r},[r]),h(()=>{if(f.current!==a)s.current?.(a),f.current=a},[a,f]),[a,i,s]}eT(Ere,"useUncontrolledState");function Ore(e){return typeof e==="function"}eT(Ore,"isFunction");var Dre=Symbol("RADIX:SYNC_STATE");function qze(e,r,a,i){let{prop:f,defaultProp:s,onChange:l,caller:c}=r,m=f!==void 0,g=mY(l);if(qa){let F=v(f!==void 0);h(()=>{let k=F.current;if(k!==m)console.warn(`${c} is changing from ${k?"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.`);F.current=m},[m,c])}let M=[{...a,state:s}];if(i)M.push(i);let[x,b]=so((F,k)=>{if(k.type===Dre)return{...F,state:k.state};let I=e(F,k);if(m&&!Object.is(I.state,F.state))g(I.state);return I},...M),y=x.state,_=v(y);h(()=>{if(_.current!==y){if(_.current=y,!m)g(y)}},[y,_,m]);let z=O(()=>{if(f!==void 0)return{...x,state:f};return x},[x,f]);return h(()=>{if(m&&!Object.is(f,x.state))b({type:Dre,state:f})},[f,x.state,m]),[z,b]}eT(qze,"useControllableStateReducer");C();C();C();var Vze=Object.defineProperty,Rd=(e,r)=>Vze(e,"name",{value:r,configurable:!0});function Ni(e){let r=D((a,i)=>{let{children:f,...s}=a,l=null,c=!1,m=[];if(hY(f)&&typeof Ij==="function")f=Ij(f._payload);if(Fc.forEach(f,(b)=>{if(Yre(b)){c=!0;let y=b,_="child"in y.props?y.props.child:y.props.children;if(hY(_)&&typeof Ij==="function")_=Ij(_._payload);l=Hze(y,_),m.push(l?.props?.children)}else m.push(b)}),l)l=hZ(l,void 0,m);else if(!c&&Fc.count(f)===1&&Hs(f))l=f;let g=l?Bre(l):void 0,M=me(i,g);if(!l){if(f||f===0)throw Error(c?Kze(e):Gze(e));return f}let x=Fre(s,l.props??{});if(l.type!==dn)x.ref=i?M:g;return hZ(l,x)});return r.displayName=`${e}.Slot`,r}Rd(Ni,"createSlot");var jre=Ni("Slot"),Nre=Symbol.for("radix.slottable");function gY(e){let r=Rd((a)=>("child"in a)?a.children(a.child):a.children,"Slottable");return r.displayName=`${e}.Slottable`,r.__radixId=Nre,r}Rd(gY,"createSlottable");var Hze=Rd((e,r)=>{if("child"in e.props){let a=e.props.child;if(!Hs(a))return null;return hZ(a,void 0,e.props.children(a.props.children))}return Hs(r)?r:null},"getSlottableElementFromSlottable");function Fre(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}}Rd(Fre,"mergeProps");function Bre(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}Rd(Bre,"getElementRef");function Yre(e){return Hs(e)&&typeof e.type==="function"&&"__radixId"in e.type&&e.type.__radixId===Nre}Rd(Yre,"isSlottable");var Wze=Symbol.for("react.lazy");function hY(e){return e!=null&&typeof e==="object"&&"$$typeof"in e&&e.$$typeof===Wze&&"_payload"in e&&Ure(e._payload)}Rd(hY,"isLazyComponent");function Ure(e){return typeof e==="object"&&e!==null&&"then"in e}Rd(Ure,"isPromiseLike");var Gze=Rd((e)=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),Kze=Rd((e)=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),Ij=H[" use ".trim().toString()];var Xze=Object.defineProperty,Qze=(e,r)=>Xze(e,"name",{value:r,configurable:!0}),Jze=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],oe=Jze.reduce((e,r)=>{let a=Ni(`Primitive.${r}`),i=D((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 tT(e,r){if(e)Mn(()=>e.dispatchEvent(r))}Qze(tT,"dispatchDiscreteCustomEvent");C();var $ze=Object.defineProperty,eSe=(e,r)=>$ze(e,"name",{value:r,configurable:!0});function ta(e){let r=v(e);return h(()=>{r.current=e}),O(()=>(...a)=>r.current?.(...a),[])}eSe(ta,"useCallbackRef");var tSe=Object.defineProperty,Bi=(e,r)=>tSe(e,"name",{value:r,configurable:!0}),vY="dismissableLayer.update",rSe="dismissableLayer.pointerDownOutside",oSe="dismissableLayer.focusOutside",qre,Vre=wt({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),kZ=D(Bi(function(r,a){let{disableOutsidePointerEvents:i=!1,deferPointerDownOutside:f=!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:m,onDismiss:g,...M}=r,x=xt(Vre),[b,y]=u(null),_=b?.ownerDocument??globalThis?.document,[,z]=u({}),F=me(a,y),k=Array.from(x.layers),[I]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),Y=I?k.indexOf(I):-1,W=b?k.indexOf(b):-1,X=x.layersWithOutsidePointerEventsDisabled.size>0,J=W>=Y,ee=v(!1),ae=Hre((Fe)=>{if(l?.(Fe),m?.(Fe),!Fe.defaultPrevented)g?.()},{ownerDocument:_,deferPointerDownOutside:f,isDeferredPointerDownOutsideRef:ee,dismissableSurfaces:x.dismissableSurfaces,shouldHandlePointerDownOutside:N((Fe)=>{if(!(Fe instanceof Node))return!1;let ye=[...x.branches].some((Ve)=>Ve.contains(Fe));return J&&!ye},[x.branches,J])}),ne=Wre((Fe)=>{if(f&&ee.current)return;let ye=Fe.target;if([...x.branches].some((dt)=>dt.contains(ye)))return;if(c?.(Fe),m?.(Fe),!Fe.defaultPrevented)g?.()},_),xe=b?W===k.length-1:!1,Qe=ta((Fe)=>{if(Fe.key!=="Escape")return;if(s?.(Fe),!Fe.defaultPrevented&&g)Fe.preventDefault(),g()});return h(()=>{if(!xe)return;return _.addEventListener("keydown",Qe,{capture:!0}),()=>_.removeEventListener("keydown",Qe,{capture:!0})},[_,xe,Qe]),h(()=>{if(!b)return;if(i){if(x.layersWithOutsidePointerEventsDisabled.size===0)qre=_.body.style.pointerEvents,_.body.style.pointerEvents="none";x.layersWithOutsidePointerEventsDisabled.add(b)}return x.layers.add(b),xY(),()=>{if(i){if(x.layersWithOutsidePointerEventsDisabled.delete(b),x.layersWithOutsidePointerEventsDisabled.size===0)_.body.style.pointerEvents=qre}}},[b,_,i,x]),h(()=>()=>{if(!b)return;x.layers.delete(b),x.layersWithOutsidePointerEventsDisabled.delete(b),xY()},[b,x]),h(()=>{let Fe=Bi(()=>z({}),"handleUpdate");return document.addEventListener(vY,Fe),()=>document.removeEventListener(vY,Fe)},[]),t(oe.div,{...M,ref:F,style:{pointerEvents:X?J?"auto":"none":void 0,...r.style},onFocusCapture:K(r.onFocusCapture,ne.onFocusCapture),onBlurCapture:K(r.onBlurCapture,ne.onBlurCapture),onPointerDownCapture:K(r.onPointerDownCapture,ae.onPointerDownCapture)})},"DismissableLayer"));function yY(){let e=xt(Vre),[r,a]=u(null);return h(()=>{if(!r)return;return e.dismissableSurfaces.add(r),()=>{e.dismissableSurfaces.delete(r)}},[r,e.dismissableSurfaces]),a}Bi(yY,"useDismissableLayerSurface");var aSe=Bi(()=>!0,"IS_TRUE");function Hre(e,r){let{ownerDocument:a=globalThis?.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:f,dismissableSurfaces:s,shouldHandlePointerDownOutside:l=aSe}=r,c=ta(e),m=v(!1),g=v(!1),M=v(new Map),x=v(()=>{});return h(()=>{function b(){g.current=!1,f.current=!1,M.current.clear()}Bi(b,"resetOutsideInteraction");function y(){return Array.from(M.current.values()).some(Boolean)}Bi(y,"isOutsideInteractionIntercepted");function _(Y){if(!g.current)return;let W=Y.target;if(!(W instanceof Node&&[...s].some((J)=>J.contains(W))))M.current.set(Y.type,!0);if(Y.type==="click")window.setTimeout(()=>{if(g.current)x.current()},0)}Bi(_,"handleInteractionCapture");function z(Y){if(g.current)M.current.set(Y.type,!1)}Bi(z,"handleInteractionBubble");let F=Bi((Y)=>{if(Y.target&&!m.current){let X=function(){a.removeEventListener("click",x.current);let ee=y();if(b(),!ee)bY(rSe,c,J,{discrete:!0})};var W=X;if(Bi(X,"handleAndDispatchPointerDownOutsideEvent"),!l(Y.target)){a.removeEventListener("click",x.current),b(),m.current=!1;return}let J={originalEvent:Y};if(g.current=!0,f.current=i&&Y.button===0,M.current.clear(),!i||Y.button!==0)X();else a.removeEventListener("click",x.current),x.current=X,a.addEventListener("click",x.current,{once:!0})}else a.removeEventListener("click",x.current),b();m.current=!1},"handlePointerDown"),k=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let Y of k)a.addEventListener(Y,_,!0),a.addEventListener(Y,z);let I=window.setTimeout(()=>{a.addEventListener("pointerdown",F)},0);return()=>{window.clearTimeout(I),a.removeEventListener("pointerdown",F),a.removeEventListener("click",x.current);for(let Y of k)a.removeEventListener(Y,_,!0),a.removeEventListener(Y,z)}},[a,c,i,f,s,l]),{onPointerDownCapture:Bi(()=>m.current=!0,"onPointerDownCapture")}}Bi(Hre,"usePointerDownOutside");function Wre(e,r=globalThis?.document){let a=ta(e),i=v(!1);return h(()=>{let f=Bi((s)=>{if(s.target&&!i.current)bY(oSe,a,{originalEvent:s},{discrete:!1})},"handleFocus");return r.addEventListener("focusin",f),()=>r.removeEventListener("focusin",f)},[r,a]),{onFocusCapture:Bi(()=>i.current=!0,"onFocusCapture"),onBlurCapture:Bi(()=>i.current=!1,"onBlurCapture")}}Bi(Wre,"useFocusOutside");function xY(){let e=new CustomEvent(vY);document.dispatchEvent(e)}Bi(xY,"dispatchUpdate");function bY(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)tT(f,s);else f.dispatchEvent(s)}Bi(bY,"handleAndDispatchCustomEvent");C();var nSe=Object.defineProperty,Xs=(e,r)=>nSe(e,"name",{value:r,configurable:!0}),_Y="focusScope.autoFocusOnMount",wY="focusScope.autoFocusOnUnmount",Gre={bubbles:!1,cancelable:!0},I8=D(Xs(function(r,a){let{loop:i=!1,trapped:f=!1,onMountAutoFocus:s,onUnmountAutoFocus:l,...c}=r,[m,g]=u(null),M=ta(s),x=ta(l),b=v(null),y=me(a,g),_=v({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h(()=>{if(f){let Y=function(ee){if(_.paused||!m)return;let ae=ee.target;if(m.contains(ae))b.current=ae;else aM(b.current,{select:!0})},W=function(ee){if(_.paused||!m)return;let ae=ee.relatedTarget;if(ae===null)return;if(!m.contains(ae))aM(b.current,{select:!0})},X=function(ee){if(document.activeElement!==document.body)return;for(let ne of ee)if(ne.removedNodes.length>0)aM(m)};var F=Y,k=W,I=X;Xs(Y,"handleFocusIn"),Xs(W,"handleFocusOut"),Xs(X,"handleMutations"),document.addEventListener("focusin",Y),document.addEventListener("focusout",W);let J=new MutationObserver(X);if(m)J.observe(m,{childList:!0,subtree:!0});return()=>{document.removeEventListener("focusin",Y),document.removeEventListener("focusout",W),J.disconnect()}}},[f,m,_.paused]),h(()=>{if(m){Kre.add(_);let F=document.activeElement;if(!m.contains(F)){let I=new CustomEvent(_Y,Gre);if(m.addEventListener(_Y,M),m.dispatchEvent(I),!I.defaultPrevented){if(Xre(toe(LY(m)),{select:!0}),document.activeElement===F)aM(m)}}return()=>{m.removeEventListener(_Y,M),setTimeout(()=>{let I=new CustomEvent(wY,Gre);if(m.addEventListener(wY,x),m.dispatchEvent(I),!I.defaultPrevented)aM(F??document.body,{select:!0});m.removeEventListener(wY,x),Kre.remove(_)},0)}}},[m,M,x,_]);let z=N((F)=>{if(!i&&!f)return;if(_.paused)return;let k=F.key==="Tab"&&!F.altKey&&!F.ctrlKey&&!F.metaKey,I=document.activeElement;if(k&&I){let Y=F.currentTarget,[W,X]=Qre(Y);if(!(W&&X)){if(I===Y)F.preventDefault()}else if(!F.shiftKey&&I===X){if(F.preventDefault(),i)aM(W,{select:!0})}else if(F.shiftKey&&I===W){if(F.preventDefault(),i)aM(X,{select:!0})}}},[i,f,_.paused]);return t(oe.div,{tabIndex:-1,...c,ref:y,onKeyDown:z})},"FocusScope"));function Xre(e,{select:r=!1}={}){let a=document.activeElement;for(let i of e)if(aM(i,{select:r}),document.activeElement!==a)return}Xs(Xre,"focusFirst");function Qre(e){let r=LY(e),a=zY(r,e),i=zY(r.reverse(),e);return[a,i]}Xs(Qre,"getTabbableEdges");function LY(e){let r=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:Xs((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}Xs(LY,"getTabbableCandidates");function zY(e,r){let a=typeof r.checkVisibility==="function"&&r.checkVisibility({checkVisibilityCSS:!0});for(let i of e)if(!(a?!i.checkVisibility({checkVisibilityCSS:!0}):Jre(i,{upTo:r})))return i}Xs(zY,"findVisible");function Jre(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}Xs(Jre,"isHidden");function $re(e){return e instanceof HTMLInputElement&&"select"in e}Xs($re,"isSelectableInput");function aM(e,{select:r=!1}={}){if(e&&e.focus){let a=document.activeElement;if(e.focus({preventScroll:!0}),e!==a&&$re(e)&&r)e.select()}}Xs(aM,"focus");var Kre=eoe();function eoe(){let e=[];return{add(r){let a=e[0];if(r!==a)a?.pause();e=SY(e,r),e.unshift(r)},remove(r){e=SY(e,r),e[0]?.resume()}}}Xs(eoe,"createFocusScopesStack");function SY(e,r){let a=[...e],i=a.indexOf(r);if(i!==-1)a.splice(i,1);return a}Xs(SY,"arrayRemove");function toe(e){return e.filter((r)=>r.tagName!=="A")}Xs(toe,"removeLinks");C();var iSe=Object.defineProperty,fSe=(e,r)=>iSe(e,"name",{value:r,configurable:!0}),IZ=D(fSe(function(r,a){let{container:i,...f}=r,[s,l]=u(!1);Et(()=>l(!0),[]);let c=i||s&&globalThis?.document?.body;return c?Ts(t(oe.div,{...f,ref:a}),c):null},"Portal"));C();C();var sSe=Object.defineProperty,nM=(e,r)=>sSe(e,"name",{value:r,configurable:!0});function roe(e,r){return so((a,i)=>r[a][i]??a,e)}nM(roe,"useStateMachine");var er=nM((e)=>{let{present:r,children:a}=e,i=ooe(r),f=typeof a==="function"?a({present:i.isPresent}):Fc.only(a),s=aoe(i.ref,noe(f));return typeof a==="function"||i.isPresent?hZ(f,{ref:s}):null},"Presence");function ooe(e){let[r,a]=u(),i=v(null),f=v(e),s=v("none"),l=v(void 0),c=e?"mounted":"unmounted",[m,g]=roe(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??g1(i.current),l.current=void 0;else s.current="none"},[m]),Et(()=>{let M=i.current,x=f.current;if(x!==e){let y=s.current,_=g1(M);if(e)l.current=_,g("MOUNT");else if(_==="none"||M?.display==="none")g("UNMOUNT");else if(x&&y!==_)g("ANIMATION_OUT");else g("UNMOUNT");f.current=e}},[e,g]),Et(()=>{if(r){let M,x=r.ownerDocument.defaultView??window,b=nM((_)=>{let F=g1(i.current).includes(CSS.escape(_.animationName));if(_.target===r&&F){if(g("ANIMATION_END"),!f.current){let k=r.style.animationFillMode;r.style.animationFillMode="forwards",M=x.setTimeout(()=>{if(r.style.animationFillMode==="forwards")r.style.animationFillMode=k})}}},"handleAnimationEnd"),y=nM((_)=>{if(_.target===r)s.current=g1(i.current)},"handleAnimationStart");return r.addEventListener("animationstart",y),r.addEventListener("animationcancel",b),r.addEventListener("animationend",b),()=>{x.clearTimeout(M),r.removeEventListener("animationstart",y),r.removeEventListener("animationcancel",b),r.removeEventListener("animationend",b)}}else g("ANIMATION_END")},[r,g]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:N((M)=>{if(M){let x=getComputedStyle(M);i.current=x,l.current=g1(x)}else i.current=null;a(M)},[])}}nM(ooe,"usePresence");function kY(e,r){if(typeof e==="function")return e(r);else if(e!==null&&e!==void 0)e.current=r}nM(kY,"setRef");function aoe(...e){let r=v(e);return r.current=e,N((a)=>{let i=r.current,f=!1,s=i.map((l)=>{let c=kY(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 kY(i[l],null)}}},[])}nM(aoe,"useStableComposedRefs");function g1(e){return e?.animationName||"none"}nM(g1,"getAnimationName");function noe(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}nM(noe,"getElementRef");C();var lSe=Object.defineProperty,CY=(e,r)=>lSe(e,"name",{value:r,configurable:!0}),Cj=0,M1=null;function cSe(e){return CZ(),e.children}CY(cSe,"FocusGuards");function CZ(){h(()=>{if(!M1)M1={start:IY(),end:IY()};let{start:e,end:r}=M1;if(document.body.firstElementChild!==e)document.body.insertAdjacentElement("afterbegin",e);if(document.body.lastElementChild!==r)document.body.insertAdjacentElement("beforeend",r);return Cj++,()=>{if(Cj===1)M1?.start.remove(),M1?.end.remove(),M1=null;Cj=Math.max(0,Cj-1)}},[])}CY(CZ,"useFocusGuards");function IY(){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}CY(IY,"createFocusGuard");var Tl=function(){return Tl=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},Tl.apply(this,arguments)};function Rj(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 ioe(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))}C();C();var tL="right-scroll-bar-position",rL="width-before-scroll-bar",RY="with-scroll-bars-hidden",PY="--removed-body-scroll-bar-size";C();function Pj(e,r){if(typeof e==="function")e(r);else if(e)e.current=r;return e}C();function foe(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 uSe=typeof window<"u"?He:h,soe=new WeakMap;function TY(e,r){var a=foe(r||null,function(i){return e.forEach(function(f){return Pj(f,i)})});return uSe(function(){var i=soe.get(a);if(i){var f=new Set(i),s=new Set(e),l=a.current;f.forEach(function(c){if(!s.has(c))Pj(c,null)}),s.forEach(function(c){if(!f.has(c))Pj(c,l)})}soe.set(a,e)},[e]),a}function dSe(e){return e}function ZSe(e,r){if(r===void 0)r=dSe;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 AY(e){if(e===void 0)e={};var r=ZSe(null);return r.options=Tl({async:!0,ssr:!1},e),r}C();var loe=function(e){var r=e.sideCar,a=Rj(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 j(i,Tl({},a))};loe.isSideCarExport=!0;function DY(e,r){return e.useMedium(r),loe}var Tj=AY();var EY=function(){return},rT=D(function(e,r){var a=v(null),i=u({onScrollCapture:EY,onWheelCapture:EY,onTouchMoveCapture:EY}),f=i[0],s=i[1],{forwardProps:l,children:c,className:m,removeScrollBar:g,enabled:M,shards:x,sideCar:b,noRelative:y,noIsolation:_,inert:z,allowPinchZoom:F,as:k}=e,I=k===void 0?"div":k,Y=e.gapMode,W=Rj(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),X=b,J=TY([a,r]),ee=Tl(Tl({},W),f);return j(dn,null,M&&j(X,{sideCar:Tj,removeScrollBar:g,shards:x,noRelative:y,noIsolation:_,inert:z,setCallbacks:s,allowPinchZoom:!!F,lockRef:a,gapMode:Y}),l?hZ(Fc.only(c),Tl(Tl({},ee),{ref:J})):j(I,Tl({},ee,{className:m,ref:J}),c))});rT.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};rT.classNames={fullWidth:rL,zeroRight:tL};C();C();C();var coe;var uoe=function(){if(coe)return coe;if(typeof __webpack_nonce__<"u")return __webpack_nonce__;return};function pSe(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var r=uoe();if(r)e.setAttribute("nonce",r);return e}function mSe(e,r){if(e.styleSheet)e.styleSheet.cssText=r;else e.appendChild(document.createTextNode(r))}function hSe(e){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(e)}var OY=function(){var e=0,r=null;return{add:function(a){if(e==0){if(r=pSe())mSe(r,a),hSe(r)}e++},remove:function(){if(e--,!e&&r)r.parentNode&&r.parentNode.removeChild(r),r=null}}};var jY=function(){var e=OY();return function(r,a){h(function(){return e.add(r),function(){e.remove()}},[r&&a])}};var oT=function(){var e=jY(),r=function(a){var{styles:i,dynamic:f}=a;return e(i,f),null};return r};var gSe={left:0,top:0,right:0,gap:0},NY=function(e){return parseInt(e||"",10)||0},MSe=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[NY(a),NY(i),NY(f)]},FY=function(e){if(e===void 0)e="margin";if(typeof window>"u")return gSe;var r=MSe(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 vSe=oT(),v1="data-scroll-locked",xSe=function(e,r,a,i){var{left:f,top:s,right:l,gap:c}=e;if(a===void 0)a="margin";return`
16
+ .`.concat(RY,` {
17
+ overflow: hidden `).concat(i,`;
18
+ padding-right: `).concat(c,"px ").concat(i,`;
19
+ }
20
+ body[`).concat(v1,`] {
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(tL,` {
34
+ right: `).concat(c,"px ").concat(i,`;
35
+ }
36
+
37
+ .`).concat(rL,` {
38
+ margin-right: `).concat(c,"px ").concat(i,`;
39
+ }
40
+
41
+ .`).concat(tL," .").concat(tL,` {
42
+ right: 0 `).concat(i,`;
43
+ }
44
+
45
+ .`).concat(rL," .").concat(rL,` {
46
+ margin-right: 0 `).concat(i,`;
47
+ }
48
+
49
+ body[`).concat(v1,`] {
50
+ `).concat(PY,": ").concat(c,`px;
51
+ }
52
+ `)},doe=function(){var e=parseInt(document.body.getAttribute(v1)||"0",10);return isFinite(e)?e:0},ySe=function(){h(function(){return document.body.setAttribute(v1,(doe()+1).toString()),function(){var e=doe()-1;if(e<=0)document.body.removeAttribute(v1);else document.body.setAttribute(v1,e.toString())}},[])},BY=function(e){var{noRelative:r,noImportant:a,gapMode:i}=e,f=i===void 0?"margin":i;ySe();var s=O(function(){return FY(f)},[f]);return j(vSe,{styles:xSe(s,!r,f,!a?"!important":"")})};var YY=!1;if(typeof window<"u")try{x1=Object.defineProperty({},"passive",{get:function(){return YY=!0,!0}}),window.addEventListener("test",x1,x1),window.removeEventListener("test",x1,x1)}catch(e){YY=!1}var x1,oL=YY?{passive:!1}:!1;var bSe=function(e){return e.tagName==="TEXTAREA"},Zoe=function(e,r){if(!(e instanceof Element))return!1;var a=window.getComputedStyle(e);return a[r]!=="hidden"&&!(a.overflowY===a.overflowX&&!bSe(e)&&a[r]==="visible")},_Se=function(e){return Zoe(e,"overflowY")},wSe=function(e){return Zoe(e,"overflowX")},UY=function(e,r){var a=r.ownerDocument,i=r;do{if(typeof ShadowRoot<"u"&&i instanceof ShadowRoot)i=i.host;var f=poe(e,i);if(f){var s=moe(e,i),l=s[1],c=s[2];if(l>c)return!0}i=i.parentNode}while(i&&i!==a.body);return!1},zSe=function(e){var{scrollTop:r,scrollHeight:a,clientHeight:i}=e;return[r,a,i]},SSe=function(e){var{scrollLeft:r,scrollWidth:a,clientWidth:i}=e;return[r,a,i]},poe=function(e,r){return e==="v"?_Se(r):wSe(r)},moe=function(e,r){return e==="v"?zSe(r):SSe(r)},LSe=function(e,r){return e==="h"&&r==="rtl"?-1:1},hoe=function(e,r,a,i,f){var s=LSe(e,window.getComputedStyle(r).direction),l=s*i,c=a.target,m=r.contains(c),g=!1,M=l>0,x=0,b=0;do{if(!c)break;var y=moe(e,c),_=y[0],z=y[1],F=y[2],k=z-F-s*_;if(_||k){if(poe(e,c))x+=k,b+=_}var I=c.parentNode;c=I&&I.nodeType===Node.DOCUMENT_FRAGMENT_NODE?I.host:I}while(!m&&c!==document.body||m&&(r.contains(c)||r===c));if(M&&(f&&Math.abs(x)<1||!f&&l>x))g=!0;else if(!M&&(f&&Math.abs(b)<1||!f&&-l>b))g=!0;return g};var Aj=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},goe=function(e){return[e.deltaX,e.deltaY]},Moe=function(e){return e&&"current"in e?e.current:e},kSe=function(e,r){return e[0]===r[0]&&e[1]===r[1]},ISe=function(e){return`
53
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
54
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
55
+ `)},CSe=0,y1=[];function voe(e){var r=v([]),a=v([0,0]),i=v(),f=u(CSe++)[0],s=u(oT)[0],l=v(e);h(function(){l.current=e},[e]),h(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(f));var z=ioe([e.lockRef.current],(e.shards||[]).map(Moe),!0).filter(Boolean);return z.forEach(function(F){return F.classList.add("allow-interactivity-".concat(f))}),function(){document.body.classList.remove("block-interactivity-".concat(f)),z.forEach(function(F){return F.classList.remove("allow-interactivity-".concat(f))})}}return},[e.inert,e.lockRef.current,e.shards]);var c=N(function(z,F){if("touches"in z&&z.touches.length===2||z.type==="wheel"&&z.ctrlKey)return!l.current.allowPinchZoom;var k=Aj(z),I=a.current,Y="deltaX"in z?z.deltaX:I[0]-k[0],W="deltaY"in z?z.deltaY:I[1]-k[1],X,J=z.target,ee=Math.abs(Y)>Math.abs(W)?"h":"v";if("touches"in z&&ee==="h"&&J.type==="range")return!1;var ae=window.getSelection(),ne=ae&&ae.anchorNode,xe=ne?ne===J||ne.contains(J):!1;if(xe)return!1;var Qe=UY(ee,J);if(!Qe)return!0;if(Qe)X=ee;else X=ee==="v"?"h":"v",Qe=UY(ee,J);if(!Qe)return!1;if(!i.current&&"changedTouches"in z&&(Y||W))i.current=X;if(!X)return!0;var Fe=i.current||X;return hoe(Fe,F,z,Fe==="h"?Y:W,!0)},[]),m=N(function(z){var F=z;if(!y1.length||y1[y1.length-1]!==s)return;var k="deltaY"in F?goe(F):Aj(F),I=r.current.filter(function(X){return X.name===F.type&&(X.target===F.target||F.target===X.shadowParent)&&kSe(X.delta,k)})[0];if(I&&I.should){if(F.cancelable)F.preventDefault();return}if(!I){var Y=(l.current.shards||[]).map(Moe).filter(Boolean).filter(function(X){return X.contains(F.target)}),W=Y.length>0?c(F,Y[0]):!l.current.noIsolation;if(W){if(F.cancelable)F.preventDefault()}}},[]),g=N(function(z,F,k,I){var Y={name:z,delta:F,target:k,should:I,shadowParent:RSe(k)};r.current.push(Y),setTimeout(function(){r.current=r.current.filter(function(W){return W!==Y})},1)},[]),M=N(function(z){a.current=Aj(z),i.current=void 0},[]),x=N(function(z){g(z.type,goe(z),z.target,c(z,e.lockRef.current))},[]),b=N(function(z){g(z.type,Aj(z),z.target,c(z,e.lockRef.current))},[]);h(function(){return y1.push(s),e.setCallbacks({onScrollCapture:x,onWheelCapture:x,onTouchMoveCapture:b}),document.addEventListener("wheel",m,oL),document.addEventListener("touchmove",m,oL),document.addEventListener("touchstart",M,oL),function(){y1=y1.filter(function(z){return z!==s}),document.removeEventListener("wheel",m,oL),document.removeEventListener("touchmove",m,oL),document.removeEventListener("touchstart",M,oL)}},[]);var{removeScrollBar:y,inert:_}=e;return j(dn,null,_?j(s,{styles:ISe(f)}):null,y?j(BY,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function RSe(e){var r=null;while(e!==null){if(e instanceof ShadowRoot)r=e.host,e=e.host;e=e.parentNode}return r}var xoe=DY(Tj,voe);var yoe=D(function(e,r){return j(rT,Tl({},e,{ref:r,sideCar:xoe}))});yoe.classNames=rT.classNames;var iM=yoe;var PSe=function(e){if(typeof document>"u")return null;var r=Array.isArray(e)?e[0]:e;return r.ownerDocument.body},b1=new WeakMap,Dj=new WeakMap,Ej={},qY=0,boe=function(e){return e&&(e.host||boe(e.parentNode))},TSe=function(e,r){return r.map(function(a){if(e.contains(a))return a;var i=boe(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)})},ASe=function(e,r,a,i){var f=TSe(r,Array.isArray(e)?e:[e]);if(!Ej[a])Ej[a]=new WeakMap;var s=Ej[a],l=[],c=new Set,m=new Set(f),g=function(x){if(!x||c.has(x))return;c.add(x),g(x.parentNode)};f.forEach(g);var M=function(x){if(!x||m.has(x))return;Array.prototype.forEach.call(x.children,function(b){if(c.has(b))M(b);else try{var y=b.getAttribute(i),_=y!==null&&y!=="false",z=(b1.get(b)||0)+1,F=(s.get(b)||0)+1;if(b1.set(b,z),s.set(b,F),l.push(b),z===1&&_)Dj.set(b,!0);if(F===1)b.setAttribute(a,"true");if(!_)b.setAttribute(i,"true")}catch(k){console.error("aria-hidden: cannot operate on ",b,k)}})};return M(r),c.clear(),qY++,function(){if(l.forEach(function(x){var b=b1.get(x)-1,y=s.get(x)-1;if(b1.set(x,b),s.set(x,y),!b){if(!Dj.has(x))x.removeAttribute(i);Dj.delete(x)}if(!y)x.removeAttribute(a)}),qY--,!qY)b1=new WeakMap,b1=new WeakMap,Dj=new WeakMap,Ej={}}},C8=function(e,r,a){if(a===void 0)a="data-aria-hidden";var i=Array.from(Array.isArray(e)?e:[e]),f=r||PSe(e);if(!f)return function(){return null};return i.push.apply(i,Array.from(f.querySelectorAll("[aria-live], script"))),ASe(i,f,a,"aria-hidden")};var DSe=Object.defineProperty,tc=(e,r)=>DSe(e,"name",{value:r,configurable:!0}),HY="Dialog",[_oe,WY]=ut(HY),[ESe,Pd]=_oe(HY),GY=tc((e)=>{let{__scopeDialog:r,children:a,open:i,defaultOpen:f,onOpenChange:s,modal:l=!0}=e,c=v(null),m=v(null),[g,M]=Ot({prop:i,defaultProp:f??!1,onChange:s,caller:HY}),[x,b]=u(0),[y,_]=u(0);return t(ESe,{scope:r,triggerRef:c,contentRef:m,contentId:yr(),titleId:yr(),descriptionId:yr(),titlePresent:x>0,descriptionPresent:y>0,setTitleCount:b,setDescriptionCount:_,open:g,onOpenChange:M,onOpenToggle:N(()=>M((z)=>!z),[M]),modal:l,children:a})},"Dialog"),OSe="DialogTrigger",KY=D(tc(function(r,a){let{__scopeDialog:i,...f}=r,s=Pd(OSe,i),l=me(a,s.triggerRef);return t(oe.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":Oj(s.open),...f,ref:l,onClick:K(r.onClick,s.onOpenToggle)})},"DialogTrigger")),woe="DialogPortal",[jSe,zoe]=_oe(woe,{forceMount:void 0}),XY=tc((e)=>{let{__scopeDialog:r,forceMount:a,children:i,container:f}=e,s=Pd(woe,r);return t(jSe,{scope:r,forceMount:a,children:Fc.map(i,(l)=>t(er,{present:a||s.open,children:t(IZ,{asChild:!0,container:f,children:l})}))})},"DialogPortal"),VY="DialogOverlay",QY=D(tc(function(r,a){let i=zoe(VY,r.__scopeDialog),{forceMount:f=i.forceMount,...s}=r,l=Pd(VY,r.__scopeDialog);return l.modal?t(er,{present:f||l.open,children:t(FSe,{...s,ref:a})}):null},"DialogOverlay")),NSe=Ni("DialogOverlay.RemoveScroll"),FSe=D(tc(function(r,a){let{__scopeDialog:i,...f}=r,s=Pd(VY,i),l=yY(),c=me(a,l);return t(iM,{as:NSe,allowPinchZoom:!0,shards:[s.contentRef],children:t(oe.div,{"data-state":Oj(s.open),...f,ref:c,style:{pointerEvents:"auto",...f.style}})})},"DialogOverlayImpl")),aT="DialogContent",JY=D(tc(function(r,a){let i=zoe(aT,r.__scopeDialog),{forceMount:f=i.forceMount,...s}=r,l=Pd(aT,r.__scopeDialog);return t(er,{present:f||l.open,children:l.modal?t(BSe,{...s,ref:a}):t(YSe,{...s,ref:a})})},"DialogContent")),BSe=D(tc(function(r,a){let i=Pd(aT,r.__scopeDialog),f=v(null),s=me(a,i.contentRef,f);return h(()=>{let l=f.current;if(l)return C8(l)},[]),t(Soe,{...r,ref:s,trapFocus:i.open,disableOutsidePointerEvents:i.open,onCloseAutoFocus:K(r.onCloseAutoFocus,(l)=>{l.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:K(r.onPointerDownOutside,(l)=>{let c=l.detail.originalEvent,m=c.button===0&&c.ctrlKey===!0;if(c.button===2||m)l.preventDefault()}),onFocusOutside:K(r.onFocusOutside,(l)=>l.preventDefault())})},"DialogContentModal")),YSe=D(tc(function(r,a){let i=Pd(aT,r.__scopeDialog),f=v(!1),s=v(!1);return t(Soe,{...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")),Soe=D(tc(function(r,a){let{__scopeDialog:i,trapFocus:f,onOpenAutoFocus:s,onCloseAutoFocus:l,...c}=r,m=Pd(aT,i);return CZ(),t(B,{children:t(I8,{asChild:!0,loop:!0,trapped:f,onMountAutoFocus:s,onUnmountAutoFocus:l,children:t(kZ,{role:"dialog",id:m.contentId,"aria-describedby":m.descriptionPresent?m.descriptionId:void 0,"aria-labelledby":m.titlePresent?m.titleId:void 0,"data-state":Oj(m.open),...c,ref:a,deferPointerDownOutside:!0,onDismiss:()=>m.onOpenChange(!1)})})})},"DialogContentImpl")),USe="DialogTitle",$Y=D(tc(function(r,a){let{__scopeDialog:i,...f}=r,s=Pd(USe,i),{setTitleCount:l}=s;return Et(()=>(l((c)=>c+1),()=>l((c)=>c-1)),[l]),t(oe.h2,{id:s.titleId,...f,ref:a})},"DialogTitle")),qSe="DialogDescription",e7=D(tc(function(r,a){let{__scopeDialog:i,...f}=r,s=Pd(qSe,i),{setDescriptionCount:l}=s;return Et(()=>(l((c)=>c+1),()=>l((c)=>c-1)),[l]),t(oe.p,{id:s.descriptionId,...f,ref:a})},"DialogDescription")),VSe="DialogClose",nT=D(tc(function(r,a){let{__scopeDialog:i,...f}=r,s=Pd(VSe,i);return t(oe.button,{type:"button",...f,ref:a,onClick:K(r.onClick,()=>s.onOpenChange(!1))})},"DialogClose"));function Oj(e){return e?"open":"closed"}tc(Oj,"getState");var HSe=Object.defineProperty,fM=(e,r)=>HSe(e,"name",{value:r,configurable:!0}),WSe="AlertDialog",[GSe,V9o]=ut(WSe,[WY]),sM=WY(),KSe=fM((e)=>{let{__scopeAlertDialog:r,...a}=e,i=sM(r);return t(GY,{...i,...a,modal:!0})},"AlertDialog"),H9o=D(fM(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=sM(i);return t(KY,{...s,...f,ref:a})},"AlertDialogTrigger")),XSe=fM((e)=>{let{__scopeAlertDialog:r,...a}=e,i=sM(r);return t(XY,{...i,...a})},"AlertDialogPortal"),QSe=D(fM(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=sM(i);return t(QY,{...s,...f,ref:a})},"AlertDialogOverlay")),JSe="AlertDialogContent",[$Se,eLe]=GSe(JSe),tLe=D(fM(function(r,a){let{__scopeAlertDialog:i,children:f,...s}=r,l=sM(i),c=v(null),m=me(a,c),g=v(null);return t($Se,{scope:i,cancelRef:g,children:t(JY,{role:"alertdialog",...l,...s,ref:m,onOpenAutoFocus:K(s.onOpenAutoFocus,(M)=>{M.preventDefault(),g.current?.focus({preventScroll:!0})}),onPointerDownOutside:(M)=>M.preventDefault(),onInteractOutside:(M)=>M.preventDefault(),children:f})})},"AlertDialogContent")),rLe=D(fM(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=sM(i);return t($Y,{...s,...f,ref:a})},"AlertDialogTitle")),oLe=D(fM(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=sM(i);return t(e7,{...s,...f,ref:a})},"AlertDialogDescription")),aLe=D(fM(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=sM(i);return t(nT,{...s,...f,ref:a})},"AlertDialogAction")),nLe="AlertDialogCancel",iLe=D(fM(function(r,a){let{__scopeAlertDialog:i,...f}=r,{cancelRef:s}=eLe(nLe,i),l=sM(i),c=me(a,s);return t(nT,{...l,...f,ref:c})},"AlertDialogCancel")),fLe=KSe;var sLe=XSe,lLe=QSe,cLe=tLe,uLe=aLe,dLe=iLe,ZLe=rLe,pLe=oLe;C();var mLe=Object.defineProperty,lM=(e,r)=>mLe(e,"name",{value:r,configurable:!0}),koe="Avatar",[hLe,$9o]=ut(koe),gLe=[0,()=>{return}],[MLe,Ioe]=hLe(koe),vLe=D(lM(function(r,a){let{__scopeAvatar:i,...f}=r,[s,l]=u("idle"),[c,m]=Roe();return t(MLe,{scope:i,imageLoadingStatus:s,setImageLoadingStatus:l,imageCount:c,setImageCount:m,children:t(oe.span,{...f,ref:a})})},"Avatar")),xLe="AvatarImage",yLe=D(lM(function(r,a){let{__scopeAvatar:i,src:f,onLoadingStatusChange:s,...l}=r,c=Ioe(xLe,i);Poe(c.setImageCount);let m=Coe(f,{referrerPolicy:l.referrerPolicy,crossOrigin:l.crossOrigin,loadingStatus:c.imageLoadingStatus,setLoadingStatus:c.setImageLoadingStatus}),g=ta((x)=>{s?.(x)}),M=v(m);return Et(()=>{let x=M.current;if(M.current=m,m!==x)g(m)},[m,g]),m==="loaded"?t(oe.img,{...l,ref:a,src:f}):null},"AvatarImage")),bLe="AvatarFallback",_Le=D(lM(function(r,a){let{__scopeAvatar:i,delayMs:f,...s}=r,l=Ioe(bLe,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(oe.span,{...s,ref:a}):null},"AvatarFallback"));function Coe(e,{loadingStatus:r,setLoadingStatus:a,referrerPolicy:i,crossOrigin:f}){return Et(()=>{if(!e){a("error");return}let s=new window.Image,l=lM((m)=>{let g=m.currentTarget;a(r7(g))},"handleLoad"),c=lM(()=>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(r7(s)),()=>{s.removeEventListener("load",l),s.removeEventListener("error",c),a("idle")}},[e,f,i,a]),r}lM(Coe,"useImageLoadingStatus");function r7(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}lM(r7,"getImageLoadingStatus");function Roe(){let e=gLe;if(qa){e=u(0);let[r]=e,a=v(!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}lM(Roe,"useImageCount");function Poe(e){if(qa)h(()=>(e((r)=>r+1),()=>{e((r)=>r-1)}),[e])}lM(Poe,"useUpdateImageCount");C();C();var wLe=Object.defineProperty,zLe=(e,r)=>wLe(e,"name",{value:r,configurable:!0});function Ha(e){let[r,a]=u(void 0);return Et(()=>{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}zLe(Ha,"useSize");var SLe=Object.defineProperty,uM=(e,r)=>SLe(e,"name",{value:r,configurable:!0}),o7="Checkbox",[LLe,cVo]=ut(o7),[kLe,a7]=LLe(o7);function Aoe(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:x}=e,[b,y]=Ot({prop:a,defaultProp:f??!1,onChange:m,caller:o7}),[_,z]=u(null),[F,k]=u(null),I=v(!1),[Y,W]=so((ee)=>ee+1,0),X=_?!!l||!!_.closest("form"):!0,J={checked:b,disabled:s,setChecked:y,control:_,setControl:z,name:c,form:l,value:M,hasConsumerStoppedPropagationRef:I,userInteractionCount:Y,onUserInteraction:W,required:g,defaultChecked:cM(f)?!1:f,isFormControl:X,bubbleInput:F,setBubbleInput:k};return t(kLe,{scope:r,...J,children:Doe(x)?x(J):i})}uM(Aoe,"CheckboxProvider");var ILe="CheckboxTrigger",CLe=D(uM(function({__scopeCheckbox:r,onKeyDown:a,onClick:i,...f},s){let{control:l,value:c,disabled:m,checked:g,required:M,setControl:x,setChecked:b,hasConsumerStoppedPropagationRef:y,onUserInteraction:_,isFormControl:z,bubbleInput:F}=a7(ILe,r),k=me(s,x),I=v(g);return h(()=>{let Y=l?.form;if(Y){let W=uM(()=>b(I.current),"reset");return Y.addEventListener("reset",W),()=>Y.removeEventListener("reset",W)}},[l,b]),t(oe.button,{type:"button",role:"checkbox","aria-checked":cM(g)?"mixed":g,"aria-required":M,"data-state":n7(g),"data-disabled":m?"":void 0,disabled:m,value:c,...f,ref:k,onKeyDown:K(a,(Y)=>{if(Y.key==="Enter")Y.preventDefault()}),onClick:K(i,(Y)=>{if(_(),b((W)=>cM(W)?!0:!W),F&&z){if(y.current=Y.isPropagationStopped(),!y.current)Y.stopPropagation()}})})},"CheckboxTrigger")),RLe=D(uM(function(r,a){let{__scopeCheckbox:i,name:f,checked:s,defaultChecked:l,required:c,disabled:m,value:g,onCheckedChange:M,form:x,...b}=r;return t(Aoe,{__scopeCheckbox:i,checked:s,defaultChecked:l,disabled:m,required:c,onCheckedChange:M,name:f,form:x,value:g,internal_do_not_use_render:({isFormControl:y})=>o(B,{children:[t(CLe,{...b,ref:a,__scopeCheckbox:i}),y&&t(DLe,{__scopeCheckbox:i})]})})},"Checkbox")),PLe="CheckboxIndicator",TLe=D(uM(function(r,a){let{__scopeCheckbox:i,forceMount:f,...s}=r,l=a7(PLe,i);return t(er,{present:f||cM(l.checked)||l.checked===!0,children:t(oe.span,{"data-state":n7(l.checked),"data-disabled":l.disabled?"":void 0,...s,ref:a,style:{pointerEvents:"none",...r.style}})})},"CheckboxIndicator")),ALe="CheckboxBubbleInput",DLe=D(uM(function({__scopeCheckbox:r,onClick:a,...i},f){let{control:s,hasConsumerStoppedPropagationRef:l,userInteractionCount:c,checked:m,defaultChecked:g,required:M,disabled:x,name:b,value:y,form:_,bubbleInput:z,setBubbleInput:F}=a7(ALe,r),k=me(f,F),I=Ha(s),Y=v(!1),W=v(m),X=v(c);h(()=>{let ee=z;if(!ee)return;let ae=window.HTMLInputElement.prototype,xe=Object.getOwnPropertyDescriptor(ae,"checked").set,Qe=c!==X.current;X.current=c;let Fe=W.current!==m;W.current=m;let ye=!(Qe&&l.current);if(Fe&&xe){Y.current=!Qe;let Ve=new Event("click",{bubbles:ye});ee.indeterminate=cM(m),xe.call(ee,cM(m)?!1:m),ee.dispatchEvent(Ve),Y.current=!1}},[z,m,l,c]);let J=v(cM(m)?!1:m);return t(oe.input,{type:"checkbox","aria-hidden":!0,defaultChecked:g??J.current,required:M,disabled:x,name:b,value:y,form:_,...i,tabIndex:-1,ref:k,onClick:K(a,(ee)=>{if(Y.current)ee.stopPropagation()}),style:{...i.style,...I,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"CheckboxBubbleInput"));function Doe(e){return typeof e==="function"}uM(Doe,"isFunction");function cM(e){return e==="indeterminate"}uM(cM,"isIndeterminate");function n7(e){return cM(e)?"indeterminate":e?"checked":"unchecked"}uM(n7,"getState");C();C();C();var ELe=Object.defineProperty,Ui=(e,r)=>ELe(e,"name",{value:r,configurable:!0});function Ga(e){let r=e+"CollectionProvider",[a,i]=ut(r),[f,s]=a(r,{collectionRef:{current:null},itemMap:new Map}),l=Ui((z)=>{let{scope:F,children:k}=z,I=v(null),Y=v(new Map).current;return t(f,{scope:F,itemMap:Y,collectionRef:I,children:k})},"CollectionProvider");l.displayName=r;let c=e+"CollectionSlot",m=Ni(c),g=D((z,F)=>{let{scope:k,children:I}=z,Y=s(c,k),W=me(F,Y.collectionRef);return t(m,{ref:W,children:I})});g.displayName=c;let M=e+"CollectionItemSlot",x="data-radix-collection-item",b=Ni(M),y=D((z,F)=>{let{scope:k,children:I,...Y}=z,W=v(null),X=me(F,W),J=s(M,k);return h(()=>(J.itemMap.set(W,{ref:W,...Y}),()=>void J.itemMap.delete(W))),t(b,{...{[x]:""},ref:X,children:I})});y.displayName=M;function _(z){let F=s(e+"CollectionConsumer",z);return N(()=>{let I=F.collectionRef.current;if(!I)return[];let Y=Array.from(I.querySelectorAll(`[${x}]`));return Array.from(F.itemMap.values()).sort((J,ee)=>Y.indexOf(J.ref.current)-Y.indexOf(ee.ref.current))},[F.collectionRef,F.itemMap])}return Ui(_,"useCollection"),[{Provider:l,Slot:g,ItemSlot:y},_,i]}Ui(Ga,"createCollection");var Ooe=new WeakMap,i7=class e extends Map{static{Ui(this,"OrderedDict")}#e;constructor(r){super(r);this.#e=[...super.keys()],Ooe.set(this,!0)}set(r,a){if(Ooe.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=s7(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],x,b=!1;for(let y=c;y<g;y++)if(c===y){let _=M[y];if(M[y]===a)_=M[y+1];if(f)this.delete(a);x=this.get(_),this.set(a,i)}else{if(!b&&M[y-1]===a)b=!0;let _=M[b?y:y-1],z=x;x=this.get(_),this.delete(_),this.set(_,z)}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=joe(e,r);return a===-1?void 0:e[a]}Ui(jj,"at");function joe(e,r){let a=e.length,i=s7(r),f=i>=0?i:a+i;return f<0||f>=a?-1:f}Ui(joe,"toSafeIndex");function s7(e){return e!==e||e===0?0:Math.trunc(e)}Ui(s7,"toSafeInteger");function OLe(e){let r=e+"CollectionProvider",[a,i]=ut(r),[f,s]=a(r,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new i7,setItemMap:Ui(()=>{return},"setItemMap")}),l=Ui(({state:Y,...W})=>Y?t(m,{...W,state:Y}):t(c,{...W}),"CollectionProvider");l.displayName=r;let c=Ui((Y)=>{let W=F();return t(m,{...Y,state:W})},"CollectionInit");c.displayName=r+"Init";let m=Ui((Y)=>{let{scope:W,children:X,state:J}=Y,ee=v(null),[ae,ne]=u(null),xe=me(ee,ne),[Qe,Fe]=J;return h(()=>{if(!ae)return;let ye=Boe(()=>{});return ye.observe(ae,{childList:!0,subtree:!0}),()=>{ye.disconnect()}},[ae]),t(f,{scope:W,itemMap:Qe,setItemMap:Fe,collectionRef:xe,collectionRefObject:ee,collectionElement:ae,children:X})},"CollectionProviderImpl");m.displayName=r+"Impl";let g=e+"CollectionSlot",M=Ni(g),x=D((Y,W)=>{let{scope:X,children:J}=Y,ee=s(g,X),ae=me(W,ee.collectionRef);return t(M,{ref:ae,children:J})});x.displayName=g;let b=e+"CollectionItemSlot",y="data-radix-collection-item",_=Ni(b),z=D((Y,W)=>{let{scope:X,children:J,...ee}=Y,ae=v(null),[ne,xe]=u(null),Qe=me(W,ae,xe),Fe=s(b,X),{setItemMap:ye}=Fe,Ve=v(ee);if(!Noe(Ve.current,ee))Ve.current=ee;let dt=Ve.current;return h(()=>{let lt=dt;return ye((pt)=>{if(!ne)return pt;if(!pt.has(ne))return pt.set(ne,{...lt,element:ne}),pt.toSorted(f7);return pt.set(ne,{...lt,element:ne}).toSorted(f7)}),()=>{ye((pt)=>{if(!ne||!pt.has(ne))return pt;return pt.delete(ne),new i7(pt)})}},[ne,dt,ye]),t(_,{...{[y]:""},ref:Qe,children:J})});z.displayName=b;function F(){return u(new i7)}Ui(F,"useInitCollection");function k(Y){let{itemMap:W}=s(e+"CollectionConsumer",Y);return W}return Ui(k,"useCollection"),[{Provider:l,Slot:x,ItemSlot:z},{createCollectionScope:i,useCollection:k,useInitCollection:F}]}Ui(OLe,"createCollection");function Noe(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}Ui(Noe,"shallowEqual");function Foe(e,r){return!!(r.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}Ui(Foe,"isElementPreceding");function f7(e,r){return!e[1].element||!r[1].element?0:Foe(e[1].element,r[1].element)?-1:1}Ui(f7,"sortByDocumentPosition");function Boe(e){return new MutationObserver((a)=>{for(let i of a)if(i.type==="childList"){e();return}})}Ui(Boe,"getChildListObserver");C();var jLe=Object.defineProperty,NLe=(e,r)=>jLe(e,"name",{value:r,configurable:!0}),FLe=wt(void 0);function On(e){let r=xt(FLe);return e||r||"ltr"}NLe(On,"useDirection");C();var qoe=["top","right","bottom","left"];var{min:RZ,max:Td,round:fT,floor:sT}=Math,PZ=(e)=>({x:e,y:e}),BLe={left:"right",right:"left",bottom:"top",top:"bottom"};function l7(e,r,a){return Td(e,RZ(r,a))}function TZ(e,r){return typeof e==="function"?e(r):e}function dM(e){return e.split("-")[0]}function aL(e){return e.split("-")[1]}function Fj(e){return e==="x"?"y":"x"}function Bj(e){return e==="y"?"height":"width"}function Dd(e){let r=e[0];return r==="t"||r==="b"?"y":"x"}function Yj(e){return Fj(Dd(e))}function Voe(e,r,a){if(a===void 0)a=!1;let i=aL(e),f=Yj(e),s=Bj(f),l=f==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";if(r.reference[s]>r.floating[s])l=iT(l);return[l,iT(l)]}function Hoe(e){let r=iT(e);return[Nj(e),r,Nj(r)]}function Nj(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var Yoe=["left","right"],Uoe=["right","left"],YLe=["top","bottom"],ULe=["bottom","top"];function qLe(e,r,a){switch(e){case"top":case"bottom":if(a)return r?Uoe:Yoe;return r?Yoe:Uoe;case"left":case"right":return r?YLe:ULe;default:return[]}}function Woe(e,r,a,i){let f=aL(e),s=qLe(dM(e),a==="start",i);if(f){if(s=s.map((l)=>l+"-"+f),r)s=s.concat(s.map(Nj))}return s}function iT(e){let r=dM(e);return BLe[r]+e.slice(r.length)}function VLe(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 c7(e){return typeof e!=="number"?VLe(e):{top:e,right:e,bottom:e,left:e}}function nL(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 Goe(e,r,a){let{reference:i,floating:f}=e,s=Dd(r),l=Yj(r),c=Bj(l),m=dM(r),g=s==="y",M=i.x+i.width/2-f.width/2,x=i.y+i.height/2-f.height/2,b=i[c]/2-f[c]/2,y;switch(m){case"top":y={x:M,y:i.y-f.height};break;case"bottom":y={x:M,y:i.y+i.height};break;case"right":y={x:i.x+i.width,y:x};break;case"left":y={x:i.x-f.width,y:x};break;default:y={x:i.x,y:i.y}}let _=aL(r);if(_)y[l]+=b*(_==="end"?1:-1)*(a&&g?-1:1);return y}async function Qoe(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:x="floating",altBoundary:b=!1,padding:y=0}=TZ(r,e),_=c7(y),F=c[b?x==="floating"?"reference":"floating":x],k=nL(await s.getClippingRect({element:((a=await(s.isElement==null?void 0:s.isElement(F)))!=null?a:!0)?F:F.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:g,rootBoundary:M,strategy:m})),I=x==="floating"?{x:i,y:f,width:l.floating.width,height:l.floating.height}:l.reference,Y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),W=await(s.isElement==null?void 0:s.isElement(Y))&&await(s.getScale==null?void 0:s.getScale(Y))||{x:1,y:1},X=nL(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:I,offsetParent:Y,strategy:m}):I);return{top:(k.top-X.top+_.top)/W.y,bottom:(X.bottom-k.bottom+_.bottom)/W.y,left:(k.left-X.left+_.left)/W.x,right:(X.right-k.right+_.right)/W.x}}var HLe=50,Joe=async(e,r,a)=>{let{placement:i="bottom",strategy:f="absolute",middleware:s=[],platform:l}=a,c=l.detectOverflow?l:{...l,detectOverflow:Qoe},m=await(l.isRTL==null?void 0:l.isRTL(r)),g=await l.getElementRects({reference:e,floating:r,strategy:f}),{x:M,y:x}=Goe(g,i,m),b=i,y=0,_={};for(let z=0;z<s.length;z++){let F=s[z];if(!F)continue;let{name:k,fn:I}=F,{x:Y,y:W,data:X,reset:J}=await I({x:M,y:x,initialPlacement:i,placement:b,strategy:f,middlewareData:_,rects:g,platform:c,elements:{reference:e,floating:r}});if(M=Y!=null?Y:M,x=W!=null?W:x,_[k]={..._[k],...X},J&&y<HLe){if(y++,typeof J==="object"){if(J.placement)b=J.placement;if(J.rects)g=J.rects===!0?await l.getElementRects({reference:e,floating:r,strategy:f}):J.rects;({x:M,y:x}=Goe(g,b,m))}z=-1}}return{x:M,y:x,placement:b,strategy:f,middlewareData:_}},$oe=(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}=TZ(e,r)||{};if(g==null)return{};let x=c7(M),b={x:a,y:i},y=Yj(f),_=Bj(y),z=await l.getDimensions(g),F=y==="y",k=F?"top":"left",I=F?"bottom":"right",Y=F?"clientHeight":"clientWidth",W=s.reference[_]+s.reference[y]-b[y]-s.floating[_],X=b[y]-s.reference[y],J=await(l.getOffsetParent==null?void 0:l.getOffsetParent(g)),ee=J?J[Y]:0;if(!ee||!await(l.isElement==null?void 0:l.isElement(J)))ee=c.floating[Y]||s.floating[_];let ae=W/2-X/2,ne=ee/2-z[_]/2-1,xe=RZ(x[k],ne),Qe=RZ(x[I],ne),Fe=ee-z[_]-Qe,ye=ee/2-z[_]/2+ae,Ve=l7(xe,ye,Fe),dt=!m.arrow&&aL(f)!=null&&ye!==Ve&&s.reference[_]/2-(ye<xe?xe:Qe)-z[_]/2<0,lt=dt?ye<xe?ye-xe:ye-Fe:0;return{[y]:b[y]+lt,data:{[y]:Ve,centerOffset:ye-Ve-lt,...dt&&{alignmentOffset:lt}},reset:dt}}});var eae=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:x=!0,fallbackPlacements:b,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:z=!0,...F}=TZ(e,r);if((a=s.arrow)!=null&&a.alignmentOffset)return{};let k=dM(f),I=Dd(c),Y=dM(c)===c,W=await(m.isRTL==null?void 0:m.isRTL(g.floating)),X=b||(Y||!z?[iT(c)]:Hoe(c)),J=_!=="none";if(!b&&J)X.push(...Woe(c,z,_,W));let ee=[c,...X],ae=await m.detectOverflow(r,F),ne=[],xe=((i=s.flip)==null?void 0:i.overflows)||[];if(M)ne.push(ae[k]);if(x){let Ve=Voe(f,l,W);ne.push(ae[Ve[0]],ae[Ve[1]])}if(xe=[...xe,{placement:f,overflows:ne}],!ne.every((Ve)=>Ve<=0)){var Qe,Fe;let Ve=(((Qe=s.flip)==null?void 0:Qe.index)||0)+1,dt=ee[Ve];if(dt){if(!(x==="alignment"?I!==Dd(dt):!1)||xe.every((Bt)=>Dd(Bt.placement)===I?Bt.overflows[0]>0:!0))return{data:{index:Ve,overflows:xe},reset:{placement:dt}}}let lt=(Fe=xe.filter((pt)=>pt.overflows[0]<=0).sort((pt,Bt)=>pt.overflows[1]-Bt.overflows[1])[0])==null?void 0:Fe.placement;if(!lt)switch(y){case"bestFit":{var ye;let pt=(ye=xe.filter((Bt)=>{if(J){let Wt=Dd(Bt.placement);return Wt===I||Wt==="y"}return!0}).map((Bt)=>[Bt.placement,Bt.overflows.filter((Wt)=>Wt>0).reduce((Wt,le)=>Wt+le,0)]).sort((Bt,Wt)=>Bt[1]-Wt[1])[0])==null?void 0:ye[0];if(pt)lt=pt;break}case"initialPlacement":lt=c;break}if(f!==lt)return{reset:{placement:lt}}}return{}}}};function Koe(e,r){return{top:e.top-r.height,right:e.right-r.width,bottom:e.bottom-r.height,left:e.left-r.width}}function Xoe(e){return qoe.some((r)=>e[r]>=0)}var tae=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}=TZ(e,r);switch(f){case"referenceHidden":{let l=await i.detectOverflow(r,{...s,elementContext:"reference"}),c=Koe(l,a.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Xoe(c)}}}case"escaped":{let l=await i.detectOverflow(r,{...s,altBoundary:!0}),c=Koe(l,a.floating);return{data:{escapedOffsets:c,escaped:Xoe(c)}}}default:return{}}}}};var rae=new Set(["left","top"]);async function WLe(e,r){let{placement:a,platform:i,elements:f}=e,s=await(i.isRTL==null?void 0:i.isRTL(f.floating)),l=dM(a),c=aL(a),m=Dd(a)==="y",g=rae.has(l)?-1:1,M=s&&m?-1:1,x=TZ(r,e),{mainAxis:b,crossAxis:y,alignmentAxis:_}=typeof x==="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:{mainAxis:x.mainAxis||0,crossAxis:x.crossAxis||0,alignmentAxis:x.alignmentAxis};if(c&&typeof _==="number")y=c==="end"?_*-1:_;return m?{x:y*M,y:b*g}:{x:b*g,y:y*M}}var oae=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 WLe(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}}}}},aae=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:(I)=>{let{x:Y,y:W}=I;return{x:Y,y:W}}},...g}=TZ(e,r),M={x:a,y:i},x=await s.detectOverflow(r,g),b=Dd(f),y=Fj(b),_=M[y],z=M[b],F=(I,Y)=>l7(Y+x[I==="y"?"top":"left"],Y,Y-x[I==="y"?"bottom":"right"]);if(l)_=F(y,_);if(c)z=F(b,z);let k=m.fn({...r,[y]:_,[b]:z});return{...k,data:{x:k.x-a,y:k.y-i,enabled:{[y]:l,[b]:c}}}}}},nae=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:x=!0}=TZ(e,r),b={x:f,y:s},y=Dd(l),_=Fj(y),z=b[_],F=b[y],k=TZ(g,r),I=typeof k==="number"?{mainAxis:k,crossAxis:0}:{mainAxis:(a=k.mainAxis)!=null?a:0,crossAxis:(i=k.crossAxis)!=null?i:0};if(M){let X=_==="y"?"height":"width",J=c.reference[_]-c.floating[X]+I.mainAxis,ee=c.reference[_]+c.reference[X]-I.mainAxis;if(z<J)z=J;else if(z>ee)z=ee}if(x){var Y,W;let X=_==="y"?"width":"height",J=rae.has(dM(l)),ee=c.reference[y]-c.floating[X]+(J?((Y=m.offset)==null?void 0:Y[y])||0:0)+(J?0:I.crossAxis),ae=c.reference[y]+c.reference[X]+(J?0:((W=m.offset)==null?void 0:W[y])||0)-(J?I.crossAxis:0);if(F<ee)F=ee;else if(F>ae)F=ae}return{[_]:z,[y]:F}}}},iae=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}=TZ(e,r),m=await f.detectOverflow(r,c),g=dM(a),M=aL(a),x=Dd(a)==="y",{width:b,height:y}=i.floating,_,z;if(g==="top"||g==="bottom")_=g,z=M===(await(f.isRTL==null?void 0:f.isRTL(s.floating))?"start":"end")?"left":"right";else z=g,_=M==="end"?"top":"bottom";let F=y-m.top-m.bottom,k=b-m.left-m.right,I=RZ(y-m[_],F),Y=RZ(b-m[z],k),W=r.middlewareData.shift,X=!W,J=I,ee=Y;if(W!=null&&W.enabled.x)ee=k;if(W!=null&&W.enabled.y)J=F;if(X&&!M)if(x)ee=b-2*Td(m.left,m.right);else J=y-2*Td(m.top,m.bottom);await l({...r,availableWidth:ee,availableHeight:J});let ae=await f.getDimensions(s.floating);if(b!==ae.width||y!==ae.height)return{reset:{rects:!0}};return{}}}};function Uj(){return typeof window<"u"}function sL(e){if(sae(e))return(e.nodeName||"").toLowerCase();return"#document"}function Qs(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function AZ(e){var r;return(r=(sae(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function sae(e){if(!Uj())return!1;return e instanceof Node||e instanceof Qs(e).Node}function Ed(e){if(!Uj())return!1;return e instanceof Element||e instanceof Qs(e).Element}function ZM(e){if(!Uj())return!1;return e instanceof HTMLElement||e instanceof Qs(e).HTMLElement}function fae(e){if(!Uj()||typeof ShadowRoot>"u")return!1;return e instanceof ShadowRoot||e instanceof Qs(e).ShadowRoot}function lT(e){let{overflow:r,overflowX:a,overflowY:i,display:f}=Od(e);return/auto|scroll|overlay|hidden|clip/.test(r+i+a)&&f!=="inline"&&f!=="contents"}function lae(e){return/^(table|td|th)$/.test(sL(e))}function cT(e){try{if(e.matches(":popover-open"))return!0}catch(r){}try{return e.matches(":modal")}catch(r){return!1}}var GLe=/transform|translate|scale|rotate|perspective|filter/,KLe=/paint|layout|strict|content/,iL=(e)=>!!e&&e!=="none",u7;function qj(e){let r=Ed(e)?Od(e):e;return iL(r.transform)||iL(r.translate)||iL(r.scale)||iL(r.rotate)||iL(r.perspective)||!Vj()&&(iL(r.backdropFilter)||iL(r.filter))||GLe.test(r.willChange||"")||KLe.test(r.contain||"")}function cae(e){let r=R8(e);while(ZM(r)&&!_1(r)){if(qj(r))return r;else if(cT(r))return null;r=R8(r)}return null}function Vj(){if(u7==null)u7=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none");return u7}function _1(e){return/^(html|body|#document)$/.test(sL(e))}function Od(e){return Qs(e).getComputedStyle(e)}function uT(e){if(Ed(e))return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop};return{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function R8(e){if(sL(e)==="html")return e;let r=e.assignedSlot||e.parentNode||fae(e)&&e.host||AZ(e);return fae(r)?r.host:r}function uae(e){let r=R8(e);if(_1(r))return(e.ownerDocument||e).body;if(ZM(r)&&lT(r))return r;return uae(r)}function fL(e,r,a){var i;if(r===void 0)r=[];if(a===void 0)a=!0;let f=uae(e),s=f===((i=e.ownerDocument)==null?void 0:i.body),l=Qs(f);if(s){let c=Hj(l);return r.concat(l,l.visualViewport||[],lT(f)?f:[],c&&a?fL(c):[])}else return r.concat(f,fL(f,[],a))}function Hj(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function pae(e){let r=Od(e),a=parseFloat(r.width)||0,i=parseFloat(r.height)||0,f=ZM(e),s=f?e.offsetWidth:a,l=f?e.offsetHeight:i,c=fT(a)!==s||fT(i)!==l;if(c)a=s,i=l;return{width:a,height:i,$:c}}function Z7(e){return!Ed(e)?e.contextElement:e}function w1(e){let r=Z7(e);if(!ZM(r))return PZ(1);let a=r.getBoundingClientRect(),{width:i,height:f,$:s}=pae(r),l=(s?fT(a.width):a.width)/i,c=(s?fT(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 XLe=PZ(0);function mae(e){let r=Qs(e);if(!Vj()||!r.visualViewport)return XLe;return{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function QLe(e,r,a){if(r===void 0)r=!1;return!!a&&r&&a===Qs(e)}function lL(e,r,a,i){if(r===void 0)r=!1;if(a===void 0)a=!1;let f=e.getBoundingClientRect(),s=Z7(e),l=PZ(1);if(r)if(i){if(Ed(i))l=w1(i)}else l=w1(e);let c=QLe(s,a,i)?mae(s):PZ(0),m=(f.left+c.x)/l.x,g=(f.top+c.y)/l.y,M=f.width/l.x,x=f.height/l.y;if(s&&i){let b=Qs(s),y=Ed(i)?Qs(i):i,_=b,z=Hj(_);while(z&&y!==_){let F=w1(z),k=z.getBoundingClientRect(),I=Od(z),Y=k.left+(z.clientLeft+parseFloat(I.paddingLeft))*F.x,W=k.top+(z.clientTop+parseFloat(I.paddingTop))*F.y;m*=F.x,g*=F.y,M*=F.x,x*=F.y,m+=Y,g+=W,_=Qs(z),z=Hj(_)}}return nL({width:M,height:x,x:m,y:g})}function Wj(e,r){let a=uT(e).scrollLeft;if(!r)return lL(AZ(e)).left+a;return r.left+a}function hae(e,r){let a=e.getBoundingClientRect(),i=a.left+r.scrollLeft-Wj(e,a),f=a.top+r.scrollTop;return{x:i,y:f}}function JLe(e){let{elements:r,rect:a,offsetParent:i,strategy:f}=e,s=f==="fixed",l=AZ(i),c=r?cT(r.floating):!1;if(i===l||c&&s)return a;let m={scrollLeft:0,scrollTop:0},g=PZ(1),M=PZ(0),x=ZM(i);if(x||!s){if(sL(i)!=="body"||lT(l))m=uT(i);if(x){let y=lL(i);g=w1(i),M.x=y.x+i.clientLeft,M.y=y.y+i.clientTop}}let b=l&&!x&&!s?hae(l,m):PZ(0);return{width:a.width*g.x,height:a.height*g.y,x:a.x*g.x-m.scrollLeft*g.x+M.x+b.x,y:a.y*g.y-m.scrollTop*g.y+M.y+b.y}}function $Le(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function eke(e){let r=uT(e),a=e.ownerDocument.body,i=Td(e.scrollWidth,e.clientWidth,a.scrollWidth,a.clientWidth),f=Td(e.scrollHeight,e.clientHeight,a.scrollHeight,a.clientHeight),s=-r.scrollLeft+Wj(e),l=-r.scrollTop;if(Od(a).direction==="rtl")s+=Td(e.clientWidth,a.clientWidth)-i;return{width:i,height:f,x:s,y:l}}var tke=25;function rke(e,r,a){if(a===void 0)a="viewport";let i=a==="layoutViewport",f=Qs(e),s=AZ(e),l=f.visualViewport,{clientWidth:c,clientHeight:m}=s,g=0,M=0;if(l){let b=!Vj()||r==="fixed";if(i){if(!b)g=-l.offsetLeft,M=-l.offsetTop}else if(c=l.width,m=l.height,b)g=l.offsetLeft,M=l.offsetTop}if(Wj(s)<=0){let b=s.ownerDocument,y=b.body,_=getComputedStyle(y),z=b.compatMode==="CSS1Compat"?parseFloat(_.marginLeft)+parseFloat(_.marginRight)||0:0,F=Math.abs(s.clientWidth-y.clientWidth-z),k=getComputedStyle(s).scrollbarGutter==="stable both-edges"?F/2:F;if(k<=tke)c-=k}return{width:c,height:m,x:g,y:M}}function oke(e,r){let a=lL(e,!0,r==="fixed"),i=a.top+e.clientTop,f=a.left+e.clientLeft,s=w1(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 dae(e,r,a){let i;if(r==="viewport"||r==="layoutViewport")i=rke(e,a,r);else if(r==="document")i=eke(AZ(e));else if(Ed(r))i=oke(r,a);else{let f=mae(e);i={x:r.x-f.x,y:r.y-f.y,width:r.width,height:r.height}}return nL(i)}function ake(e,r){let a=r.get(e);if(a)return a;let i=fL(e,[],!1).filter((c)=>Ed(c)&&sL(c)!=="body"),f=null,s=Od(e).position==="fixed",l=s?R8(e):e;while(Ed(l)&&!_1(l)){let c=Od(l),m=qj(l),g=f?f.position:s?"fixed":"";if(!m&&(g==="fixed"||g==="absolute"&&c.position==="static"))i=i.filter((x)=>x!==l);else f=c;l=R8(l)}return r.set(e,i),i}function nke(e){let{element:r,boundary:a,rootBoundary:i,strategy:f}=e,l=[...a==="clippingAncestors"?cT(r)?[]:ake(r,this._c):[].concat(a),i],c=dae(r,l[0],f),{top:m,right:g,bottom:M,left:x}=c;for(let b=1;b<l.length;b++){let y=dae(r,l[b],f);m=Td(y.top,m),g=RZ(y.right,g),M=RZ(y.bottom,M),x=Td(y.left,x)}return{width:g-x,height:M-m,x,y:m}}function ike(e){let{width:r,height:a}=pae(e);return{width:r,height:a}}function fke(e,r,a){let i=ZM(r),f=AZ(r),s=a==="fixed",l=lL(e,!0,s,r),c={scrollLeft:0,scrollTop:0},m=PZ(0);if(i||!s){if(sL(r)!=="body"||lT(f))c=uT(r);if(i){let b=lL(r,!0,s,r);m.x=b.x+r.clientLeft,m.y=b.y+r.clientTop}}if(!i&&f)m.x=Wj(f);let g=f&&!i&&!s?hae(f,c):PZ(0),M=l.left+c.scrollLeft-m.x-g.x,x=l.top+c.scrollTop-m.y-g.y;return{x:M,y:x,width:l.width,height:l.height}}function d7(e){return Od(e).position==="static"}function Zae(e,r){if(!ZM(e)||Od(e).position==="fixed")return null;if(r)return r(e);let a=e.offsetParent;if(AZ(e)===a)a=a.ownerDocument.body;return a}function gae(e,r){let a=Qs(e);if(cT(e))return a;if(!ZM(e)){let f=R8(e);while(f&&!_1(f)){if(Ed(f)&&!d7(f))return f;f=R8(f)}return a}let i=Zae(e,r);while(i&&lae(i)&&d7(i))i=Zae(i,r);if(i&&_1(i)&&d7(i)&&!qj(i))return a;return i||cae(e)||a}var ske=async function(e){let r=this.getOffsetParent||gae,a=this.getDimensions,i=await a(e.floating);return{reference:fke(e.reference,await r(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function lke(e){return Od(e).direction==="rtl"}var Mae={convertOffsetParentRelativeRectToViewportRelativeRect:JLe,getDocumentElement:AZ,getClippingRect:nke,getOffsetParent:gae,getElementRects:ske,getClientRects:$Le,getDimensions:ike,getScale:w1,isElement:Ed,isRTL:lke};function vae(e,r){return e.x===r.x&&e.y===r.y&&e.width===r.width&&e.height===r.height}function cke(e,r,a){let i=null,f,s=AZ(e);function l(){var M;clearTimeout(f),(M=i)==null||M.disconnect(),i=null}function c(M,x){if(M===void 0)M=!1;if(x===void 0)x=1;l();let b=e.getBoundingClientRect(),{left:y,top:_,width:z,height:F}=b;if(!M)r();if(!z||!F)return;let k=sT(_),I=sT(s.clientWidth-(y+z)),Y=sT(s.clientHeight-(_+F)),W=sT(y),J={rootMargin:-k+"px "+-I+"px "+-Y+"px "+-W+"px",threshold:Td(0,RZ(1,x))||1},ee=!0;function ae(ne){let xe=ne[0].intersectionRatio;if(!vae(b,e.getBoundingClientRect()))return c();if(xe!==x){if(!ee)return c();if(!xe)f=setTimeout(()=>{c(!1,0.0000001)},1000);else c(!1,xe)}ee=!1}try{i=new IntersectionObserver(ae,{...J,root:s.ownerDocument})}catch(ne){i=new IntersectionObserver(ae,J)}i.observe(e)}let m=Qs(e),g=()=>c(a);return m.addEventListener("resize",g),c(!0),()=>{m.removeEventListener("resize",g),l()}}function p7(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=Z7(e),M=f||s?[...g?fL(g):[],...r?fL(r):[]]:[];M.forEach((k)=>{f&&k.addEventListener("scroll",a),s&&k.addEventListener("resize",a)});let x=g&&c?cke(g,a,s):null,b=-1,y=null;if(l){if(y=new ResizeObserver((k)=>{let[I]=k;if(I&&I.target===g&&y&&r)y.unobserve(r),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var Y;(Y=y)==null||Y.observe(r)});a()}),g&&!m)y.observe(g);if(r)y.observe(r)}let _,z=m?lL(e):null;if(m)F();function F(){let k=lL(e);if(z&&!vae(z,k))a();z=k,_=requestAnimationFrame(F)}return a(),()=>{var k;if(M.forEach((I)=>{f&&I.removeEventListener("scroll",a),s&&I.removeEventListener("resize",a)}),x==null||x(),(k=y)==null||k.disconnect(),y=null,m)cancelAnimationFrame(_)}}var xae=oae;var yae=aae,bae=eae,_ae=iae,wae=tae,m7=$oe;var zae=nae,h7=(e,r,a)=>{let i=new Map,f=a!=null?a:{},s={...Mae,...f.platform,_c:i};return Joe(e,r,{...f,platform:s})};C();C();var uke=typeof document<"u",dke=function(){},Gj=uke?He:dke;function Kj(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(!Kj(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(!Kj(e[s],r[s]))return!1}return!0}return e!==e&&r!==r}function Lae(e){if(typeof window>"u")return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Sae(e,r){let a=Lae(e);return Math.round(r*a)/a}function g7(e){let r=v(e);return Gj(()=>{r.current=e}),r}function kae(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,x]=u({x:0,y:0,strategy:a,placement:r,middlewareData:{},isPositioned:!1}),[b,y]=u(i);if(!Kj(b,i))y(i);let[_,z]=u(null),[F,k]=u(null),I=N((Bt)=>{if(Bt!==J.current)J.current=Bt,z(Bt)},[]),Y=N((Bt)=>{if(Bt!==ee.current)ee.current=Bt,k(Bt)},[]),W=s||_,X=l||F,J=v(null),ee=v(null),ae=v(M),ne=m!=null,xe=g7(m),Qe=g7(f),Fe=g7(g),ye=N(()=>{if(!J.current||!ee.current)return;let Bt={placement:r,strategy:a,middleware:b};if(Qe.current)Bt.platform=Qe.current;h7(J.current,ee.current,Bt).then((Wt)=>{let le={...Wt,isPositioned:Fe.current!==!1};if(Ve.current&&!Kj(ae.current,le))ae.current=le,Mn(()=>{x(le)})})},[b,r,a,Qe,Fe]);Gj(()=>{if(g===!1&&ae.current.isPositioned)ae.current.isPositioned=!1,x((Bt)=>({...Bt,isPositioned:!1}))},[g]);let Ve=v(!1);Gj(()=>(Ve.current=!0,()=>{Ve.current=!1}),[]),Gj(()=>{if(W)J.current=W;if(X)ee.current=X;if(W&&X){if(xe.current)return xe.current(W,X,ye);ye()}},[W,X,ye,xe,ne]);let dt=O(()=>({reference:J,floating:ee,setReference:I,setFloating:Y}),[I,Y]),lt=O(()=>({reference:W,floating:X}),[W,X]),pt=O(()=>{let Bt={position:a,left:0,top:0};if(!lt.floating)return Bt;let Wt=Sae(lt.floating,M.x),le=Sae(lt.floating,M.y);if(c)return{...Bt,transform:"translate("+Wt+"px, "+le+"px)",...Lae(lt.floating)>=1.5&&{willChange:"transform"}};return{position:a,left:Wt,top:le}},[a,c,lt.floating,M.x,M.y]);return O(()=>({...M,update:ye,refs:dt,elements:lt,floatingStyles:pt}),[M,ye,dt,lt,pt])}var Zke=(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 m7({element:i.current,padding:f}).fn(a);return{}}if(i)return m7({element:i,padding:f}).fn(a);return{}}}},Iae=(e,r)=>{let a=xae(e);return{name:a.name,fn:a.fn,options:[e,r]}},Cae=(e,r)=>{let a=yae(e);return{name:a.name,fn:a.fn,options:[e,r]}},Rae=(e,r)=>({fn:zae(e).fn,options:[e,r]}),Pae=(e,r)=>{let a=bae(e);return{name:a.name,fn:a.fn,options:[e,r]}},Tae=(e,r)=>{let a=_ae(e);return{name:a.name,fn:a.fn,options:[e,r]}};var Aae=(e,r)=>{let a=wae(e);return{name:a.name,fn:a.fn,options:[e,r]}};var Dae=(e,r)=>{let a=Zke(e);return{name:a.name,fn:a.fn,options:[e,r]}};C();var pke=Object.defineProperty,mke=(e,r)=>pke(e,"name",{value:r,configurable:!0}),hke=D(mke(function(r,a){let{children:i,width:f=10,height:s=5,...l}=r;return t(oe.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")),Eae=hke;var Mke=Object.defineProperty,pM=(e,r)=>Mke(e,"name",{value:r,configurable:!0});var Oae="Popper",[jae,ru]=ut(Oae),[vke,Nae]=jae(Oae),xke=pM((e)=>{let{__scopePopper:r,children:a}=e,[i,f]=u(null),[s,l]=u(void 0);return t(vke,{scope:r,anchor:i,onAnchorChange:f,placementState:s,setPlacementState:l,children:a})},"Popper"),yke="PopperAnchor",bke=D(pM(function(r,a){let{__scopePopper:i,virtualRef:f,...s}=r,l=Nae(yke,i),c=v(null),m=l.onAnchorChange,g=N((z)=>{if(c.current=z,z)m(z)},[m]),M=me(a,g),x=v(null);h(()=>{if(!f)return;let z=x.current;if(x.current=f.current,z!==x.current)m(x.current)});let b=l.placementState&&Xj(l.placementState),y=b?.[0],_=b?.[1];return f?null:t(oe.div,{"data-radix-popper-side":y,"data-radix-popper-align":_,...s,ref:M})},"PopperAnchor")),Fae="PopperContent",[_ke,wke]=jae(Fae),zke=D(pM(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:x=0,sticky:b="partial",hideWhenDetached:y=!1,updatePositionStrategy:_="optimized",onPlaced:z,...F}=r,k=Nae(Fae,i),[I,Y]=u(null),W=me(a,Y),[X,J]=u(null),ee=Ha(X),ae=ee?.width??0,ne=ee?.height??0,xe=f+(l!=="center"?"-"+l:""),Qe=typeof x==="number"?x:{top:0,right:0,bottom:0,left:0,...x},Fe=Array.isArray(M)?M:[M],ye=Fe.length>0,Ve={padding:Qe,boundary:Fe.filter(Bae),altBoundary:ye},{refs:dt,floatingStyles:lt,placement:pt,isPositioned:Bt,middlewareData:Wt}=kae({strategy:"fixed",placement:xe,whileElementsMounted:pM((...Jt)=>p7(...Jt,{animationFrame:_==="always"}),"whileElementsMounted"),elements:{reference:k.anchor},middleware:[Iae({mainAxis:s+ne,alignmentAxis:c}),g&&Cae({mainAxis:!0,crossAxis:!1,limiter:b==="partial"?Rae():void 0,...Ve}),g&&Pae({...Ve}),Tae({...Ve,apply:pM(({elements:Jt,rects:vr,availableWidth:Er,availableHeight:Br})=>{let{width:xr,height:bo}=vr.reference,rr=Jt.floating.style;rr.setProperty("--radix-popper-available-width",`${Er}px`),rr.setProperty("--radix-popper-available-height",`${Br}px`),rr.setProperty("--radix-popper-anchor-width",`${xr}px`),rr.setProperty("--radix-popper-anchor-height",`${bo}px`)},"apply")}),X&&Dae({element:X,padding:m}),Ike({arrowWidth:ae,arrowHeight:ne}),y&&Aae({strategy:"referenceHidden",...Ve,boundary:ye?Ve.boundary:void 0})]}),le=k.setPlacementState;Et(()=>(le(pt),()=>{le(void 0)}),[pt,le]);let[mt,Gt]=Xj(pt),ke=ta(z);Et(()=>{if(Bt)ke?.()},[Bt,ke]);let Zr=Wt.arrow?.x,lr=Wt.arrow?.y,tr=Wt.arrow?.centerOffset!==0,[Ur,Qt]=u();return Et(()=>{if(I)Qt(window.getComputedStyle(I).zIndex)},[I]),t("div",{ref:dt.setFloating,"data-radix-popper-content-wrapper":"",style:{...lt,transform:Bt?lt.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ur,"--radix-popper-transform-origin":[Wt.transformOrigin?.x,Wt.transformOrigin?.y].join(" "),...Wt.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:r.dir,children:t(_ke,{scope:i,placedSide:mt,placedAlign:Gt,onArrowChange:J,arrowX:Zr,arrowY:lr,shouldHideArrow:tr,children:t(oe.div,{"data-side":mt,"data-align":Gt,...F,ref:W,style:{...F.style,animation:!Bt?"none":F.style?.animation}})})})},"PopperContent")),Ske="PopperArrow",Lke={top:"bottom",right:"left",bottom:"top",left:"right"},kke=D(pM(function(r,a){let{__scopePopper:i,...f}=r,s=wke(Ske,i),l=Lke[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(Eae,{...f,ref:a,style:{...f.style,display:"block"}})})},"PopperArrow"));function Bae(e){return e!==null}pM(Bae,"isNotNull");var Ike=pM((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]=Xj(a),x={start:"0%",center:"50%",end:"100%"}[M],b=(f.arrow?.x??0)+c/2,y=(f.arrow?.y??0)+m/2,_="",z="";if(g==="bottom")_=l?x:`${b}px`,z=`${-m}px`;else if(g==="top")_=l?x:`${b}px`,z=`${i.floating.height+m}px`;else if(g==="right")_=`${-m}px`,z=l?x:`${y}px`;else if(g==="left")_=`${i.floating.width+m}px`,z=l?x:`${y}px`;return{data:{x:_,y:z}}}}),"transformOrigin");function Xj(e){let[r,a="center"]=e.split("-");return[r,a]}pM(Xj,"getSideAndAlignFromPlacement");var mM=xke,P8=bke,T8=zke,dT=kke;C();C();C();var Cke=Object.defineProperty,v7=(e,r)=>Cke(e,"name",{value:r,configurable:!0}),M7=!1;function Yae(){let[e,r]=u(M7);return h(()=>{if(!M7)M7=!0,r(!0)},[]),e}v7(Yae,"useIsHydrated");var Uae=H[" useSyncExternalStore ".trim().toString()];function qae(){return()=>{}}v7(qae,"subscribe");function Vae(){return Uae(qae,()=>!0,()=>!1)}v7(Vae,"useIsHydratedModern");var Hae=typeof Uae==="function"?Vae:Yae;var Rke=Object.defineProperty,cL=(e,r)=>Rke(e,"name",{value:r,configurable:!0}),x7="rovingFocusGroup.onEntryFocus",Pke={bubbles:!1,cancelable:!0},Jj="RovingFocusGroup",[y7,Wae,Tke]=Ga(Jj),[Ake,$a]=ut(Jj,[Tke]),[Dke,Eke]=Ake(Jj),Oke=D(cL(function(r,a){return t(y7.Provider,{scope:r.__scopeRovingFocusGroup,children:t(y7.Slot,{scope:r.__scopeRovingFocusGroup,children:t(jke,{...r,ref:a})})})},"RovingFocusGroup")),jke=D(cL(function(r,a){let{__scopeRovingFocusGroup:i,orientation:f,loop:s=!1,dir:l,currentTabStopId:c,defaultCurrentTabStopId:m,onCurrentTabStopIdChange:g,onEntryFocus:M,preventScrollOnEntryFocus:x=!1,...b}=r,y=v(null),_=me(a,y),z=On(l),[F,k]=Ot({prop:c,defaultProp:m??null,onChange:g,caller:Jj}),[I,Y]=u(!1),W=ta(M),X=Wae(i),J=v(!1),[ee,ae]=u(0);return h(()=>{let ne=y.current;if(ne)return ne.addEventListener(x7,W),()=>ne.removeEventListener(x7,W)},[W]),t(Dke,{scope:i,orientation:f,dir:z,loop:s,currentTabStopId:F,onItemFocus:N((ne)=>k(ne),[k]),onItemShiftTab:N(()=>Y(!0),[]),onFocusableItemAdd:N(()=>ae((ne)=>ne+1),[]),onFocusableItemRemove:N(()=>ae((ne)=>ne-1),[]),children:t(oe.div,{tabIndex:I||ee===0?-1:0,"data-orientation":f,...b,ref:_,style:{outline:"none",...r.style},onMouseDown:K(r.onMouseDown,()=>{J.current=!0}),onFocus:K(r.onFocus,(ne)=>{let xe=!J.current;if(ne.target===ne.currentTarget&&xe&&!I){let Qe=new CustomEvent(x7,Pke);if(ne.currentTarget.dispatchEvent(Qe),!Qe.defaultPrevented){let Fe=X().filter((pt)=>pt.focusable),ye=Fe.find((pt)=>pt.active),Ve=Fe.find((pt)=>pt.id===F),lt=[ye,Ve,...Fe].filter(Boolean).map((pt)=>pt.ref.current);b7(lt,x)}}J.current=!1}),onBlur:K(r.onBlur,()=>Y(!1))})})},"RovingFocusGroupImpl")),Nke="RovingFocusGroupItem",Fke=D(cL(function(r,a){let{__scopeRovingFocusGroup:i,focusable:f=!0,active:s=!1,tabStopId:l,children:c,...m}=r,g=yr(),M=l||g,x=Eke(Nke,i),b=x.currentTabStopId===M,y=Wae(i),{onFocusableItemAdd:_,onFocusableItemRemove:z,currentTabStopId:F}=x,k=Hae();return Et(()=>{if(!k||!f)return;return _(),()=>z()},[k,f,_,z]),h(()=>{if(k||!f)return;return _(),()=>z()},[k,f,_,z]),t(y7.ItemSlot,{scope:i,id:M,focusable:f,active:s,children:t(oe.span,{tabIndex:b?0:-1,"data-orientation":x.orientation,...m,ref:a,onMouseDown:K(r.onMouseDown,(I)=>{if(!f)I.preventDefault();else x.onItemFocus(M)}),onFocus:K(r.onFocus,()=>x.onItemFocus(M)),onKeyDown:K(r.onKeyDown,(I)=>{if(I.key==="Tab"&&I.shiftKey){x.onItemShiftTab();return}if(I.target!==I.currentTarget)return;let Y=Kae(I,x.orientation,x.dir);if(Y!==void 0){if(I.metaKey||I.ctrlKey||I.altKey||I.shiftKey)return;I.preventDefault();let X=y().filter((J)=>J.focusable).map((J)=>J.ref.current);if(Y==="last")X.reverse();else if(Y==="prev"||Y==="next"){if(Y==="prev")X.reverse();let J=X.indexOf(I.currentTarget);X=x.loop?Xae(X,J+1):X.slice(J+1)}setTimeout(()=>b7(X))}}),children:typeof c==="function"?c({isCurrentTabStop:b,hasTabStop:F!=null}):c})})},"RovingFocusGroupItem")),Bke={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Gae(e,r){if(r!=="rtl")return e;return e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}cL(Gae,"getDirectionAwareKey");function Kae(e,r,a){let i=Gae(e.key,a);if(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(i))return;if(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(i))return;return Bke[i]}cL(Kae,"getFocusIntent");function b7(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}}cL(b7,"focusFirst");function Xae(e,r){return e.map((a,i)=>e[(r+i)%e.length])}cL(Xae,"wrapArray");var Qi=Oke,Vi=Fke;var Yke=Object.defineProperty,Oo=(e,r)=>Yke(e,"name",{value:r,configurable:!0}),_7=["Enter"," "],Uke=["ArrowDown","PageUp","Home"],$ae=["ArrowUp","PageDown","End"],qke=[...Uke,...$ae],Vke={ltr:[..._7,"ArrowRight"],rtl:[..._7,"ArrowLeft"]},Hke={ltr:["ArrowLeft"],rtl:["ArrowRight"]},eN="Menu",[ZT,Wke,Gke]=Ga(eN),[uL,Ki]=ut(eN,[Gke,ru,$a]),tN=ru(),ene=$a(),[tne,A8]=uL(eN),[Kke,pT]=uL(eN),Xke=Oo((e)=>{let{__scopeMenu:r,open:a=!1,children:i,dir:f,onOpenChange:s,modal:l=!0}=e,c=tN(r),[m,g]=u(null),M=v(!1),x=ta(s),b=On(f);return h(()=>{let y=Oo(()=>{M.current=!0,document.addEventListener("pointerdown",_,{capture:!0,once:!0}),document.addEventListener("pointermove",_,{capture:!0,once:!0})},"handleKeyDown"),_=Oo(()=>M.current=!1,"handlePointer");return document.addEventListener("keydown",y,{capture:!0}),()=>{document.removeEventListener("keydown",y,{capture:!0}),document.removeEventListener("pointerdown",_,{capture:!0}),document.removeEventListener("pointermove",_,{capture:!0})}},[]),h(()=>{if(!a)return;let y=Oo(()=>x(!1),"handleBlur");return window.addEventListener("blur",y),()=>window.removeEventListener("blur",y)},[a,x]),t(mM,{...c,children:t(tne,{scope:r,open:a,onOpenChange:x,content:m,onContentChange:g,children:t(Kke,{scope:r,onClose:N(()=>x(!1),[x]),isUsingKeyboardRef:M,dir:b,modal:l,children:i})})})},"Menu"),rne=D(Oo(function(r,a){let{__scopeMenu:i,...f}=r,s=tN(i);return t(P8,{...s,...f,ref:a})},"MenuAnchor")),one="MenuPortal",[Qke,ane]=uL(one,{forceMount:void 0}),Jke=Oo((e)=>{let{__scopeMenu:r,forceMount:a,children:i,container:f}=e,s=A8(one,r);return t(Qke,{scope:r,forceMount:a,children:t(er,{present:a||s.open,children:t(IZ,{asChild:!0,container:f,children:i})})})},"MenuPortal"),Nd="MenuContent",[$ke,z7]=uL(Nd),e1e=D(Oo(function(r,a){let i=ane(Nd,r.__scopeMenu),{forceMount:f=i.forceMount,...s}=r,l=A8(Nd,r.__scopeMenu),c=pT(Nd,r.__scopeMenu);return t(ZT.Provider,{scope:r.__scopeMenu,children:t(er,{present:f||l.open,children:t(ZT.Slot,{scope:r.__scopeMenu,children:c.modal?t(t1e,{...s,ref:a}):t(r1e,{...s,ref:a})})})})},"MenuContent")),t1e=D(Oo(function(r,a){let i=A8(Nd,r.__scopeMenu),f=v(null),s=me(a,f);return h(()=>{let l=f.current;if(l)return C8(l)},[]),t(S7,{...r,ref:s,trapFocus:i.open,disableOutsidePointerEvents:i.open,disableOutsideScroll:!0,onFocusOutside:K(r.onFocusOutside,(l)=>l.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>i.onOpenChange(!1)})},"MenuRootContentModal")),r1e=D(Oo(function(r,a){let i=A8(Nd,r.__scopeMenu);return t(S7,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>i.onOpenChange(!1)})},"MenuRootContentNonModal")),o1e=Ni("MenuContent.ScrollLock"),S7=D(Oo(function(r,a){let{__scopeMenu:i,loop:f=!1,trapFocus:s,onOpenAutoFocus:l,onCloseAutoFocus:c,disableOutsidePointerEvents:m,onEntryFocus:g,onEscapeKeyDown:M,onPointerDownOutside:x,onFocusOutside:b,onInteractOutside:y,onDismiss:_,disableOutsideScroll:z,...F}=r,k=A8(Nd,i),I=pT(Nd,i),Y=tN(i),W=ene(i),X=Wke(i),[J,ee]=u(null),ae=v(null),ne=me(a,ae,k.onContentChange),xe=v(0),Qe=v(""),Fe=v(0),ye=v(null),Ve=v("right"),dt=v(0),lt=z?iM:dn,pt=z?{as:o1e,allowPinchZoom:!0}:void 0,Bt=Oo((le)=>{let mt=Qe.current+le,Gt=X().filter((Qt)=>!Qt.disabled),ke=document.activeElement,Zr=Gt.find((Qt)=>Qt.ref.current===ke)?.textValue,lr=Gt.map((Qt)=>Qt.textValue),tr=dne(lr,mt,Zr),Ur=Gt.find((Qt)=>Qt.textValue===tr)?.ref.current;if(Oo(function Qt(Jt){if(Qe.current=Jt,window.clearTimeout(xe.current),Jt!=="")xe.current=window.setTimeout(()=>Qt(""),1000)},"updateSearch")(mt),Ur)setTimeout(()=>Ur.focus())},"handleTypeaheadSearch");h(()=>()=>window.clearTimeout(xe.current),[]),CZ();let Wt=N((le)=>Ve.current===ye.current?.side&&pne(le,ye.current?.area),[]);return t($ke,{scope:i,searchRef:Qe,onItemEnter:N((le)=>{if(Wt(le))le.preventDefault()},[Wt]),onItemLeave:N((le)=>{if(Wt(le))return;ae.current?.focus(),ee(null)},[Wt]),onTriggerLeave:N((le)=>{if(Wt(le))le.preventDefault()},[Wt]),pointerGraceTimerRef:Fe,onPointerGraceIntentChange:N((le)=>{ye.current=le},[]),children:t(lt,{...pt,children:t(I8,{asChild:!0,trapped:s,onMountAutoFocus:K(l,(le)=>{le.preventDefault(),ae.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:t(kZ,{asChild:!0,disableOutsidePointerEvents:m,onEscapeKeyDown:M,onPointerDownOutside:x,onFocusOutside:b,onInteractOutside:y,onDismiss:_,children:t(Qi,{asChild:!0,...W,dir:I.dir,orientation:"vertical",loop:f,currentTabStopId:J,onCurrentTabStopIdChange:ee,onEntryFocus:K(g,(le)=>{if(!I.isUsingKeyboardRef.current)le.preventDefault()}),preventScrollOnEntryFocus:!0,children:t(T8,{role:"menu","aria-orientation":"vertical","data-state":L7(k.open),"data-radix-menu-content":"",dir:I.dir,...Y,...F,ref:ne,style:{outline:"none",...F.style},onKeyDown:K(F.onKeyDown,(le)=>{let Gt=le.target.closest("[data-radix-menu-content]")===le.currentTarget,ke=le.ctrlKey||le.altKey||le.metaKey,Zr=le.key.length===1;if(Gt){if(le.key==="Tab")le.preventDefault();if(!ke&&Zr)Bt(le.key)}let lr=ae.current;if(le.target!==lr)return;if(!qke.includes(le.key))return;le.preventDefault();let Ur=X().filter((Qt)=>!Qt.disabled).map((Qt)=>Qt.ref.current);if($ae.includes(le.key))Ur.reverse();cne(Ur)}),onBlur:K(r.onBlur,(le)=>{if(!le.currentTarget.contains(le.target))window.clearTimeout(xe.current),Qe.current=""}),onPointerMove:K(r.onPointerMove,z1((le)=>{let mt=le.target,Gt=dt.current!==le.clientX;if(le.currentTarget.contains(mt)&&Gt){let ke=le.clientX>dt.current?"right":"left";Ve.current=ke,dt.current=le.clientX}}))})})})})})})},"MenuContentImpl")),a1e=D(Oo(function(r,a){let{__scopeMenu:i,...f}=r;return t(oe.div,{role:"group",...f,ref:a})},"MenuGroup")),n1e=D(Oo(function(r,a){let{__scopeMenu:i,...f}=r;return t(oe.div,{...f,ref:a})},"MenuLabel")),w7="MenuItem",Jae="menu.itemSelect",nne=D(Oo(function(r,a){let{disabled:i=!1,onSelect:f,...s}=r,l=v(null),c=pT(w7,r.__scopeMenu),m=z7(w7,r.__scopeMenu),g=me(a,l),M=v(!1),x=Oo(()=>{let b=l.current;if(!i&&b){let y=new CustomEvent(Jae,{bubbles:!0,cancelable:!0});if(b.addEventListener(Jae,(_)=>f?.(_),{once:!0}),tT(b,y),y.defaultPrevented)M.current=!1;else c.onClose()}},"handleSelect");return t(ine,{...s,ref:g,disabled:i,onClick:K(r.onClick,x),onPointerDown:(b)=>{r.onPointerDown?.(b),M.current=!0},onPointerUp:K(r.onPointerUp,(b)=>{if(!M.current)b.currentTarget?.click()}),onKeyDown:K(r.onKeyDown,(b)=>{if(i||b.target!==b.currentTarget)return;if(m.searchRef.current!==""&&b.key===" ")return;if(_7.includes(b.key))b.currentTarget.click(),b.preventDefault()})})},"MenuItem")),ine=D(Oo(function(r,a){let{__scopeMenu:i,disabled:f=!1,textValue:s,...l}=r,c=z7(w7,i),m=ene(i),g=v(null),M=me(a,g),[x,b]=u(!1),[y,_]=u("");return h(()=>{let z=g.current;if(z)_((z.textContent??"").trim())},[l.children]),t(ZT.ItemSlot,{scope:i,disabled:f,textValue:s??y,children:t(Vi,{asChild:!0,...m,focusable:!f,children:t(oe.div,{role:"menuitem","data-highlighted":x?"":void 0,"aria-disabled":f||void 0,"data-disabled":f?"":void 0,...l,ref:M,onPointerMove:K(r.onPointerMove,z1((z)=>{if(f)c.onItemLeave(z);else if(c.onItemEnter(z),!z.defaultPrevented)z.currentTarget.focus({preventScroll:!0})})),onPointerLeave:K(r.onPointerLeave,z1((z)=>c.onItemLeave(z))),onFocus:K(r.onFocus,()=>b(!0)),onBlur:K(r.onBlur,()=>b(!1))})})})},"MenuItemImpl"));var i1e="MenuRadioGroup",[f1e,s1e]=uL(i1e,{value:void 0,onValueChange:Oo(()=>{},"onValueChange")}),l1e=D(Oo(function(r,a){let{value:i,onValueChange:f,...s}=r,l=ta(f);return t(f1e,{scope:r.__scopeMenu,value:i,onValueChange:l,children:t(a1e,{...s,ref:a})})},"MenuRadioGroup")),c1e="MenuRadioItem",u1e=D(Oo(function(r,a){let{value:i,...f}=r,s=s1e(c1e,r.__scopeMenu),l=i===s.value;return t(d1e,{scope:r.__scopeMenu,checked:l,children:t(nne,{role:"menuitemradio","aria-checked":l,...f,ref:a,"data-state":I7(l),onSelect:K(f.onSelect,()=>s.onValueChange?.(i),{checkForDefaultPrevented:!1})})})},"MenuRadioItem")),fne="MenuItemIndicator",[d1e,Z1e]=uL(fne,{checked:!1}),p1e=D(Oo(function(r,a){let{__scopeMenu:i,forceMount:f,...s}=r,l=Z1e(fne,i);return t(er,{present:f||k7(l.checked)||l.checked===!0,children:t(oe.span,{...s,ref:a,"data-state":I7(l.checked)})})},"MenuItemIndicator")),m1e=D(Oo(function(r,a){let{__scopeMenu:i,...f}=r;return t(oe.div,{role:"separator","aria-orientation":"horizontal",...f,ref:a})},"MenuSeparator"));var sne="MenuSub",[h1e,lne]=uL(sne),g1e=Oo((e)=>{let{__scopeMenu:r,children:a,open:i=!1,onOpenChange:f}=e,s=A8(sne,r),l=tN(r),[c,m]=u(null),[g,M]=u(null),x=ta(f);return h(()=>{if(s.open===!1)x(!1);return()=>x(!1)},[s.open,x]),t(mM,{...l,children:t(tne,{scope:r,open:i,onOpenChange:x,content:g,onContentChange:M,children:t(h1e,{scope:r,contentId:yr(),triggerId:yr(),trigger:c,onTriggerChange:m,children:a})})})},"MenuSub"),$j="MenuSubTrigger",M1e=D(Oo(function(r,a){let i=A8($j,r.__scopeMenu),f=pT($j,r.__scopeMenu),s=lne($j,r.__scopeMenu),l=z7($j,r.__scopeMenu),c=v(null),{pointerGraceTimerRef:m,onPointerGraceIntentChange:g}=l,M={__scopeMenu:r.__scopeMenu},x=N(()=>{if(c.current)window.clearTimeout(c.current);c.current=null},[]);h(()=>x,[x]),h(()=>{let y=m.current;return()=>{window.clearTimeout(y),g(null)}},[m,g]);let b=me(a,s.onTriggerChange);return t(rne,{asChild:!0,...M,children:t(ine,{id:s.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?s.contentId:void 0,"data-state":L7(i.open),...r,ref:b,onClick:(y)=>{if(r.onClick?.(y),r.disabled||y.defaultPrevented)return;if(y.currentTarget.focus(),!i.open)i.onOpenChange(!0)},onPointerMove:K(r.onPointerMove,z1((y)=>{if(l.onItemEnter(y),y.defaultPrevented)return;if(!r.disabled&&!i.open&&!c.current)l.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{i.onOpenChange(!0),x()},100)})),onPointerLeave:K(r.onPointerLeave,z1((y)=>{x();let _=i.content?.getBoundingClientRect();if(_){let z=i.content?.dataset.side,F=z==="right",k=F?-5:5,I=_[F?"left":"right"],Y=_[F?"right":"left"];l.onPointerGraceIntentChange({area:[{x:y.clientX+k,y:y.clientY},{x:I,y:_.top},{x:Y,y:_.top},{x:Y,y:_.bottom},{x:I,y:_.bottom}],side:z}),window.clearTimeout(m.current),m.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(y),y.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:K(r.onKeyDown,(y)=>{if(r.disabled||y.target!==y.currentTarget)return;if(l.searchRef.current!==""&&y.key===" ")return;if(Vke[f.dir].includes(y.key))i.onOpenChange(!0),i.content?.focus(),y.preventDefault()})})})},"MenuSubTrigger")),v1e="MenuSubContent",x1e=D(Oo(function(r,a){let i=ane(Nd,r.__scopeMenu),{forceMount:f=i.forceMount,align:s="start",...l}=r,c=A8(Nd,r.__scopeMenu),m=pT(Nd,r.__scopeMenu),g=lne(v1e,r.__scopeMenu),M=v(null),x=me(a,M);return t(ZT.Provider,{scope:r.__scopeMenu,children:t(er,{present:f||c.open,children:t(ZT.Slot,{scope:r.__scopeMenu,children:t(S7,{id:g.contentId,"aria-labelledby":g.triggerId,...l,ref:x,align:s,side:m.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:(b)=>{if(m.isUsingKeyboardRef.current)M.current?.focus();b.preventDefault()},onCloseAutoFocus:(b)=>b.preventDefault(),onFocusOutside:K(r.onFocusOutside,(b)=>{if(b.target!==g.trigger)c.onOpenChange(!1)}),onEscapeKeyDown:K(r.onEscapeKeyDown,(b)=>{m.onClose(),b.preventDefault()}),onKeyDown:K(r.onKeyDown,(b)=>{let y=b.currentTarget.contains(b.target),_=Hke[m.dir].includes(b.key);if(y&&_)c.onOpenChange(!1),g.trigger?.focus(),b.preventDefault()})})})})})},"MenuSubContent"));function L7(e){return e?"open":"closed"}Oo(L7,"getOpenState");function k7(e){return e==="indeterminate"}Oo(k7,"isIndeterminate");function I7(e){return k7(e)?"indeterminate":e?"checked":"unchecked"}Oo(I7,"getCheckedState");function cne(e){let r=document.activeElement;for(let a of e){if(a===r)return;if(a.focus(),document.activeElement!==r)return}}Oo(cne,"focusFirst");function une(e,r){return e.map((a,i)=>e[(r+i)%e.length])}Oo(une,"wrapArray");function dne(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=une(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}Oo(dne,"getNextMatch");function Zne(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,y:b}=m;if(M>i!==b>i&&a<(x-g)*(i-M)/(b-M)+g)f=!f}return f}Oo(Zne,"isPointInPolygon");function pne(e,r){if(!r)return!1;let a={x:e.clientX,y:e.clientY};return Zne(a,r)}Oo(pne,"isPointerInGraceArea");function z1(e){return(r)=>r.pointerType==="mouse"?e(r):void 0}Oo(z1,"whenMouse");var wu=Xke,xu=rne,Su=Jke,Cu=e1e;var mne=n1e,Eu=nne;var hne=l1e,gne=u1e,Mne=p1e,Iu=m1e;var Tu=g1e,Mu=M1e,Ru=x1e;C();var b1e=Object.defineProperty,Zc=(e,r)=>b1e(e,"name",{value:r,configurable:!0}),C7="DropdownMenu",[_1e,FHo]=ut(C7,[Ki]),zc=Ki(),[w1e,vne]=_1e(C7),z1e=Zc((e)=>{let{__scopeDropdownMenu:r,children:a,dir:i,open:f,defaultOpen:s,onOpenChange:l,modal:c=!0}=e,m=zc(r),g=v(null),[M,x]=Ot({prop:f,defaultProp:s??!1,onChange:l,caller:C7});return t(w1e,{scope:r,triggerId:yr(),triggerRef:g,contentId:yr(),open:M,onOpenChange:x,onOpenToggle:N(()=>x((b)=>!b),[x]),modal:c,children:t(wu,{...m,open:M,onOpenChange:x,dir:i,modal:c,children:a})})},"DropdownMenu"),S1e="DropdownMenuTrigger",L1e=D(Zc(function(r,a){let{__scopeDropdownMenu:i,disabled:f=!1,...s}=r,l=vne(S1e,i),c=zc(i),m=me(a,l.triggerRef);return t(xu,{asChild:!0,...c,children:t(oe.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:K(r.onPointerDown,(g)=>{if(!f&&g.button===0&&g.ctrlKey===!1){if(l.onOpenToggle(),!l.open)g.preventDefault()}}),onKeyDown:K(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")),k1e=Zc((e)=>{let{__scopeDropdownMenu:r,...a}=e,i=zc(r);return t(Su,{...i,...a})},"DropdownMenuPortal"),I1e="DropdownMenuContent",C1e=D(Zc(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=vne(I1e,i),l=zc(i),c=v(!1);return t(Cu,{id:s.contentId,"aria-labelledby":s.triggerId,...l,...f,ref:a,onCloseAutoFocus:K(r.onCloseAutoFocus,(m)=>{if(!c.current)s.triggerRef.current?.focus();c.current=!1,m.preventDefault()}),onInteractOutside:K(r.onInteractOutside,(m)=>{let g=m.detail.originalEvent,M=g.button===0&&g.ctrlKey===!0,x=g.button===2||M;if(!s.modal||x)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 R1e=D(Zc(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=zc(i);return t(mne,{...s,...f,ref:a})},"DropdownMenuLabel")),P1e=D(Zc(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=zc(i);return t(Eu,{...s,...f,ref:a})},"DropdownMenuItem"));var T1e=D(Zc(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=zc(i);return t(hne,{...s,...f,ref:a})},"DropdownMenuRadioGroup")),A1e=D(Zc(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=zc(i);return t(gne,{...s,...f,ref:a})},"DropdownMenuRadioItem")),D1e=D(Zc(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=zc(i);return t(Mne,{...s,...f,ref:a})},"DropdownMenuItemIndicator")),E1e=D(Zc(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=zc(i);return t(Iu,{...s,...f,ref:a})},"DropdownMenuSeparator"));var O1e=Zc((e)=>{let{__scopeDropdownMenu:r,children:a,open:i,onOpenChange:f,defaultOpen:s}=e,l=zc(r),[c,m]=Ot({prop:i,defaultProp:s??!1,onChange:f,caller:"DropdownMenuSub"});return t(Tu,{...l,open:c,onOpenChange:m,children:a})},"DropdownMenuSub"),j1e=D(Zc(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=zc(i);return t(Mu,{...s,...f,ref:a})},"DropdownMenuSubTrigger")),N1e=D(Zc(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=zc(i);return t(Ru,{...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")),F1e=z1e,B1e=L1e,xne=k1e,Y1e=C1e;var U1e=R1e,q1e=P1e;var V1e=T1e,H1e=A1e,W1e=D1e,G1e=E1e;var K1e=O1e,X1e=j1e,Q1e=N1e;C();var J1e=Object.defineProperty,$1e=(e,r)=>J1e(e,"name",{value:r,configurable:!0}),eIe=D($1e(function(r,a){return t(oe.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")),tIe=eIe;C();var rIe=Object.defineProperty,D8=(e,r)=>rIe(e,"name",{value:r,configurable:!0}),R7="Popover",[_ne,nWo]=ut(R7,[ru]),P7=ru(),[oIe,S1]=_ne(R7),aIe=D8((e)=>{let{__scopePopover:r,children:a,open:i,defaultOpen:f,onOpenChange:s,modal:l=!1}=e,c=P7(r),m=v(null),[g,M]=u(!1),[x,b]=Ot({prop:i,defaultProp:f??!1,onChange:s,caller:R7});return t(mM,{...c,children:t(oIe,{scope:r,contentId:yr(),triggerRef:m,open:x,onOpenChange:b,onOpenToggle:N(()=>b((y)=>!y),[b]),hasCustomAnchor:g,onCustomAnchorAdd:N(()=>M(!0),[]),onCustomAnchorRemove:N(()=>M(!1),[]),modal:l,children:a})})},"Popover");var nIe="PopoverTrigger",iIe=D(D8(function(r,a){let{__scopePopover:i,...f}=r,s=S1(nIe,i),l=P7(i),c=me(a,s.triggerRef),m=t(oe.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":T7(s.open),...f,ref:c,onClick:K(r.onClick,s.onOpenToggle)});return s.hasCustomAnchor?m:t(P8,{asChild:!0,...l,children:m})},"PopoverTrigger")),wne="PopoverPortal",[fIe,sIe]=_ne(wne,{forceMount:void 0}),lIe=D8((e)=>{let{__scopePopover:r,forceMount:a,children:i,container:f}=e,s=S1(wne,r);return t(fIe,{scope:r,forceMount:a,children:t(er,{present:a||s.open,children:t(IZ,{asChild:!0,container:f,children:i})})})},"PopoverPortal"),mT="PopoverContent",cIe=D(D8(function(r,a){let i=sIe(mT,r.__scopePopover),{forceMount:f=i.forceMount,...s}=r,l=S1(mT,r.__scopePopover);return t(er,{present:f||l.open,children:l.modal?t(dIe,{...s,ref:a}):t(ZIe,{...s,ref:a})})},"PopoverContent")),uIe=Ni("PopoverContent.RemoveScroll"),dIe=D(D8(function(r,a){let i=S1(mT,r.__scopePopover),f=v(null),s=me(a,f),l=v(!1);return h(()=>{let c=f.current;if(c)return C8(c)},[]),t(iM,{as:uIe,allowPinchZoom:!0,children:t(zne,{...r,ref:s,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:K(r.onCloseAutoFocus,(c)=>{if(c.preventDefault(),!l.current)i.triggerRef.current?.focus()}),onPointerDownOutside:K(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:K(r.onFocusOutside,(c)=>c.preventDefault(),{checkForDefaultPrevented:!1})})})},"PopoverContentModal")),ZIe=D(D8(function(r,a){let i=S1(mT,r.__scopePopover),f=v(!1),s=v(!1);return t(zne,{...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")),zne=D(D8(function(r,a){let{__scopePopover:i,trapFocus:f,onOpenAutoFocus:s,onCloseAutoFocus:l,disableOutsidePointerEvents:c,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:M,onInteractOutside:x,...b}=r,y=S1(mT,i),_=P7(i);return CZ(),t(I8,{asChild:!0,loop:!0,trapped:f,onMountAutoFocus:s,onUnmountAutoFocus:l,children:t(kZ,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:x,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:M,onDismiss:()=>y.onOpenChange(!1),deferPointerDownOutside:!0,children:t(T8,{"data-state":T7(y.open),role:"dialog",id:y.contentId,..._,...b,ref:a,style:{...b.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 T7(e){return e?"open":"closed"}D8(T7,"getState");var pIe=aIe;var mIe=iIe,hIe=lIe,gIe=cIe;C();var MIe=Object.defineProperty,hM=(e,r)=>MIe(e,"name",{value:r,configurable:!0}),Lne="Progress",E7=100,[vIe,lWo]=ut(Lne),[xIe,yIe]=vIe(Lne),bIe=D(hM(function(r,a){let{__scopeProgress:i,value:f=null,max:s,getValueLabel:l=kne,...c}=r;if((s||s===0)&&!A7(s))console.error(Ine(`${s}`,"Progress"));let m=A7(s)?s:E7;if(f!==null&&!D7(f,m))console.error(Cne(`${f}`,"Progress"));let g=D7(f,m)?f:null,M=hT(g)?l(g,m):void 0;return t(xIe,{scope:i,value:g,max:m,children:t(oe.div,{"aria-valuemax":m,"aria-valuemin":0,"aria-valuenow":hT(g)?g:void 0,"aria-valuetext":M,role:"progressbar","data-state":O7(g,m),"data-value":g??void 0,"data-max":m,...c,ref:a})})},"Progress")),_Ie="ProgressIndicator",wIe=D(hM(function(r,a){let{__scopeProgress:i,...f}=r,s=yIe(_Ie,i);return t(oe.div,{"data-state":O7(s.value,s.max),"data-value":s.value??void 0,"data-max":s.max,...f,ref:a})},"ProgressIndicator"));function kne(e,r){return`${Math.round(e/r*100)}%`}hM(kne,"defaultGetValueLabel");function O7(e,r){return e==null?"indeterminate":e===r?"complete":"loading"}hM(O7,"getProgressState");function hT(e){return typeof e==="number"}hM(hT,"isNumber");function A7(e){return hT(e)&&!isNaN(e)&&e>0}hM(A7,"isValidMaxNumber");function D7(e,r){return hT(e)&&!isNaN(e)&&e<=r&&e>=0}hM(D7,"isValidValueNumber");function Ine(e,r){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${r}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${E7}\`.`}hM(Ine,"getInvalidMaxError");function Cne(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 ${E7} if no \`max\` prop is set)
58
+ - \`null\` or \`undefined\` if the progress is indeterminate.
59
+
60
+ Defaulting to \`null\`.`}hM(Cne,"getInvalidValueError");var zIe=bIe,SIe=wIe;C();var LIe=Object.defineProperty,kIe=(e,r)=>LIe(e,"name",{value:r,configurable:!0});function Qa(e,[r,a]){return Math.min(a,Math.max(r,e))}kIe(Qa,"clamp");C();var IIe=Object.defineProperty,Io=(e,r)=>IIe(e,"name",{value:r,configurable:!0});function Pne(e,r){return so((a,i)=>r[a][i]??a,e)}Io(Pne,"useStateMachine");var Tne="ScrollArea",[Ane,yWo]=ut(Tne),[CIe,ou]=Ane(Tne),RIe=D(Io(function(r,a){let{__scopeScrollArea:i,type:f="hover",dir:s,scrollHideDelay:l=600,...c}=r,[m,g]=u(null),[M,x]=u(null),[b,y]=u(null),[_,z]=u(null),[F,k]=u(null),[I,Y]=u(0),[W,X]=u(0),[J,ee]=u(!1),[ae,ne]=u(!1),xe=me(a,g),Qe=On(s);return t(CIe,{scope:i,type:f,dir:Qe,scrollHideDelay:l,scrollArea:m,viewport:M,onViewportChange:x,content:b,onContentChange:y,scrollbarX:_,onScrollbarXChange:z,scrollbarXEnabled:J,onScrollbarXEnabledChange:ee,scrollbarY:F,onScrollbarYChange:k,scrollbarYEnabled:ae,onScrollbarYEnabledChange:ne,onCornerWidthChange:Y,onCornerHeightChange:X,children:t(oe.div,{dir:Qe,...c,ref:xe,style:{position:"relative","--radix-scroll-area-corner-width":I+"px","--radix-scroll-area-corner-height":W+"px",...r.style}})})},"ScrollArea")),PIe="ScrollAreaViewport",TIe=D(Io(function(r,a){let{__scopeScrollArea:i,children:f,nonce:s,...l}=r,c=ou(PIe,i),m=v(null),g=me(a,m,c.onViewportChange);return o(B,{children:[t(AIe,{nonce:s}),t(oe.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")),AIe=Bc(Io(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),gM="ScrollAreaScrollbar",DIe=D(Io(function(r,a){let{forceMount:i,...f}=r,s=ou(gM,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(EIe,{...f,ref:a,forceMount:i}):s.type==="scroll"?t(OIe,{...f,ref:a,forceMount:i}):s.type==="auto"?t(Dne,{...f,ref:a,forceMount:i}):s.type==="always"?t(F7,{...f,ref:a,"data-state":"visible"}):null},"ScrollAreaScrollbar")),EIe=D(Io(function(r,a){let{forceMount:i,...f}=r,s=ou(gM,r.__scopeScrollArea),[l,c]=u(!1);return h(()=>{let m=s.scrollArea,g=0;if(m){let M=Io(()=>{window.clearTimeout(g),c(!0)},"handlePointerEnter"),x=Io(()=>{g=window.setTimeout(()=>c(!1),s.scrollHideDelay)},"handlePointerLeave");return m.addEventListener("pointerenter",M),m.addEventListener("pointerleave",x),()=>{window.clearTimeout(g),m.removeEventListener("pointerenter",M),m.removeEventListener("pointerleave",x)}}},[s.scrollArea,s.scrollHideDelay]),t(er,{present:i||l,children:t(Dne,{"data-state":l?"visible":"hidden",...f,ref:a})})},"ScrollAreaScrollbarHover")),OIe=D(Io(function(r,a){let{forceMount:i,...f}=r,s=ou(gM,r.__scopeScrollArea),l=r.orientation==="horizontal",c=vT(()=>g("SCROLL_END"),100),[m,g]=Pne("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,x=l?"scrollLeft":"scrollTop";if(M){let b=M[x],y=Io(()=>{let _=M[x];if(b!==_)g("SCROLL"),c();b=_},"handleScroll");return M.addEventListener("scroll",y),()=>M.removeEventListener("scroll",y)}},[s.viewport,l,g,c]),t(er,{present:i||m!=="hidden",children:t(F7,{"data-state":m==="hidden"?"hidden":"visible",...f,ref:a,onPointerEnter:K(r.onPointerEnter,()=>g("POINTER_ENTER")),onPointerLeave:K(r.onPointerLeave,()=>g("POINTER_LEAVE"))})})},"ScrollAreaScrollbarScroll")),Dne=D(Io(function(r,a){let i=ou(gM,r.__scopeScrollArea),{forceMount:f,...s}=r,[l,c]=u(!1),m=r.orientation==="horizontal",g=vT(()=>{if(i.viewport){let M=i.viewport.offsetWidth<i.viewport.scrollWidth,x=i.viewport.offsetHeight<i.viewport.scrollHeight;c(m?M:x)}},10);return dL(i.viewport,g),dL(i.content,g),t(er,{present:f||l,children:t(F7,{"data-state":l?"visible":"hidden",...s,ref:a})})},"ScrollAreaScrollbarAuto")),F7=D(Io(function(r,a){let{orientation:i="vertical",...f}=r,s=ou(gM,r.__scopeScrollArea),l=v(null),c=v(0),[m,g]=u({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),M=B7(m.viewport,m.content),x={...f,sizes:m,onSizesChange:g,hasThumb:Boolean(M>0&&M<1),onThumbChange:Io((y)=>l.current=y,"onThumbChange"),onThumbPointerUp:Io(()=>c.current=0,"onThumbPointerUp"),onThumbPointerDown:Io((y)=>c.current=y,"onThumbPointerDown")};function b(y,_){return Nne(y,c.current,m,_)}if(Io(b,"getScrollPosition"),i==="horizontal")return t(jIe,{...x,ref:a,onThumbPositionChange:()=>{if(s.viewport&&l.current){let y=s.viewport.scrollLeft,_=N7(y,m,s.dir);l.current.style.transform=`translate3d(${_}px, 0, 0)`}},onWheelScroll:(y)=>{if(s.viewport)s.viewport.scrollLeft=y},onDragScroll:(y)=>{if(s.viewport)s.viewport.scrollLeft=b(y,s.dir)}});if(i==="vertical")return t(NIe,{...x,ref:a,onThumbPositionChange:()=>{if(s.viewport&&l.current){let y=s.viewport.scrollTop,_=N7(y,m);l.current.style.transform=`translate3d(0, ${_}px, 0)`}},onWheelScroll:(y)=>{if(s.viewport)s.viewport.scrollTop=y},onDragScroll:(y)=>{if(s.viewport)s.viewport.scrollTop=b(y)}});return null},"ScrollAreaScrollbarVisible")),jIe=D(Io(function(r,a){let{sizes:i,onSizesChange:f,...s}=r,l=ou(gM,r.__scopeScrollArea),[c,m]=u(),g=v(null),M=me(a,g,l.onScrollbarXChange);return h(()=>{if(g.current)m(getComputedStyle(g.current))},[g]),t(One,{"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":MT(i)+"px",...r.style},onThumbPointerDown:(x)=>r.onThumbPointerDown(x.x),onDragScroll:(x)=>r.onDragScroll(x.x),onWheelScroll:(x,b)=>{if(l.viewport){let y=l.viewport.scrollLeft+x.deltaX;if(r.onWheelScroll(y),U7(y,b))x.preventDefault()}},onResize:()=>{if(g.current&&l.viewport&&c)f({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:g.current.clientWidth,paddingStart:gT(c.paddingLeft),paddingEnd:gT(c.paddingRight)}})}})},"ScrollAreaScrollbarX")),NIe=D(Io(function(r,a){let{sizes:i,onSizesChange:f,...s}=r,l=ou(gM,r.__scopeScrollArea),[c,m]=u(),g=v(null),M=me(a,g,l.onScrollbarYChange);return h(()=>{if(g.current)m(getComputedStyle(g.current))},[g]),t(One,{"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":MT(i)+"px",...r.style},onThumbPointerDown:(x)=>r.onThumbPointerDown(x.y),onDragScroll:(x)=>r.onDragScroll(x.y),onWheelScroll:(x,b)=>{if(l.viewport){let y=l.viewport.scrollTop+x.deltaY;if(r.onWheelScroll(y),U7(y,b))x.preventDefault()}},onResize:()=>{if(g.current&&l.viewport&&c)f({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:g.current.clientHeight,paddingStart:gT(c.paddingTop),paddingEnd:gT(c.paddingBottom)}})}})},"ScrollAreaScrollbarY")),[FIe,Ene]=Ane(gM),One=D(Io(function(r,a){let{__scopeScrollArea:i,sizes:f,hasThumb:s,onThumbChange:l,onThumbPointerUp:c,onThumbPointerDown:m,onThumbPositionChange:g,onDragScroll:M,onWheelScroll:x,onResize:b,...y}=r,_=ou(gM,i),[z,F]=u(null),k=me(a,F),I=v(null),Y=v(""),W=_.viewport,X=f.content-f.viewport,J=ta(x),ee=ta(g),ae=vT(b,10);function ne(xe){if(I.current){let Qe=xe.clientX-I.current.left,Fe=xe.clientY-I.current.top;M({x:Qe,y:Fe})}}return Io(ne,"handleDragScroll"),h(()=>{let xe=Io((Qe)=>{let Fe=Qe.target;if(z?.contains(Fe))J(Qe,X)},"handleWheel");return document.addEventListener("wheel",xe,{passive:!1}),()=>document.removeEventListener("wheel",xe,{passive:!1})},[W,z,X,J]),h(ee,[f,ee]),dL(z,ae),dL(_.content,ae),t(FIe,{scope:i,scrollbar:z,hasThumb:s,onThumbChange:ta(l),onThumbPointerUp:ta(c),onThumbPositionChange:ee,onThumbPointerDown:ta(m),children:t(oe.div,{...y,ref:k,style:{position:"absolute",...y.style},onPointerDown:K(r.onPointerDown,(xe)=>{if(xe.button===0){if(xe.target.setPointerCapture(xe.pointerId),I.current=z.getBoundingClientRect(),Y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",_.viewport)_.viewport.style.scrollBehavior="auto";ne(xe)}}),onPointerMove:K(r.onPointerMove,ne),onPointerUp:K(r.onPointerUp,(xe)=>{let Qe=xe.target;if(Qe.hasPointerCapture(xe.pointerId))Qe.releasePointerCapture(xe.pointerId);if(document.body.style.webkitUserSelect=Y.current,_.viewport)_.viewport.style.scrollBehavior="";I.current=null})})})},"ScrollAreaScrollbarImpl")),j7="ScrollAreaThumb",BIe=D(Io(function(r,a){let{forceMount:i,...f}=r,s=Ene(j7,r.__scopeScrollArea);return t(er,{present:i||s.hasThumb,children:t(YIe,{ref:a,...f})})},"ScrollAreaThumb")),YIe=D(Io(function(r,a){let{__scopeScrollArea:i,style:f,...s}=r,l=ou(j7,i),c=Ene(j7,i),{onThumbPositionChange:m}=c,g=me(a,c.onThumbChange),M=v(void 0),x=vT(()=>{if(M.current)M.current(),M.current=void 0},100);return h(()=>{let b=l.viewport;if(b){let y=Io(()=>{if(x(),!M.current){let _=VIe(b,m);M.current=_,m()}},"handleScroll");return m(),b.addEventListener("scroll",y),()=>b.removeEventListener("scroll",y)}},[l.viewport,x,m]),t(oe.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:K(r.onPointerDownCapture,(b)=>{let _=b.target.getBoundingClientRect(),z=b.clientX-_.left,F=b.clientY-_.top;c.onThumbPointerDown({x:z,y:F})}),onPointerUp:K(r.onPointerUp,c.onThumbPointerUp)})},"ScrollAreaThumbImpl")),jne="ScrollAreaCorner",UIe=D(Io(function(r,a){let i=ou(jne,r.__scopeScrollArea),f=Boolean(i.scrollbarX&&i.scrollbarY);return i.type!=="scroll"&&f?t(qIe,{...r,ref:a}):null},"ScrollAreaCorner")),qIe=D(Io(function(r,a){let{__scopeScrollArea:i,...f}=r,s=ou(jne,i),[l,c]=u(0),[m,g]=u(0),M=Boolean(l&&m),{onCornerWidthChange:x,onCornerHeightChange:b}=s;return dL(s.scrollbarX,()=>{let y=s.scrollbarX?.offsetHeight||0;s.onCornerHeightChange(y),g(y)}),dL(s.scrollbarY,()=>{let y=s.scrollbarY?.offsetWidth||0;s.onCornerWidthChange(y),c(y)}),h(()=>()=>{x(0),b(0)},[x,b]),M?t(oe.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 gT(e){return e?parseInt(e,10):0}Io(gT,"toInt");function B7(e,r){let a=e/r;return isNaN(a)?0:a}Io(B7,"getThumbRatio");function MT(e){let r=B7(e.viewport,e.content),a=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,i=(e.scrollbar.size-a)*r;return Math.max(i,18)}Io(MT,"getThumbSize");function Nne(e,r,a,i="ltr"){let f=MT(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,x=i==="ltr"?[0,M]:[M*-1,0];return Y7([m,g],x)(e)}Io(Nne,"getScrollPositionFromPointer");function N7(e,r,a="ltr"){let i=MT(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=Qa(e,m);return Y7([0,l],[0,c])(g)}Io(N7,"getThumbOffsetFromScroll");function Y7(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])}}Io(Y7,"linearScale");function U7(e,r){return e>0&&e<r}Io(U7,"isScrollingWithinScrollbarBounds");var VIe=Io((e,r=()=>{})=>{let a={left:e.scrollLeft,top:e.scrollTop},i=0;return Io(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 vT(e,r){let a=ta(e),i=v(0);return h(()=>()=>window.clearTimeout(i.current),[]),N(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(a,r)},[a,r])}Io(vT,"useDebounceCallback");function dL(e,r){let a=ta(r);Et(()=>{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])}Io(dL,"useResizeObserver");var HIe=RIe,WIe=TIe;var GIe=UIe;C();C();var KIe=Object.defineProperty,XIe=(e,r)=>KIe(e,"name",{value:r,configurable:!0});function sc(e){let r=v({value:e,previous:e});return O(()=>{if(r.current.value!==e)r.current.previous=r.current.value,r.current.value=e;return r.current.previous},[e])}XIe(sc,"usePrevious");C();var QIe=Object.defineProperty,JIe=(e,r)=>QIe(e,"name",{value:r,configurable:!0}),q7=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"}),$Ie=D(JIe(function(r,a){return t(oe.span,{...r,ref:a,style:{...q7,...r.style}})},"VisuallyHidden")),Bne=$Ie;var tCe=Object.defineProperty,No=(e,r)=>tCe(e,"name",{value:r,configurable:!0}),rCe=[" ","Enter","ArrowUp","ArrowDown"],oCe=[" ","Enter"],L1="Select",[oN,aN,aCe]=Ga(L1),[pL,GWo]=ut(L1,[aCe,ru]),H7=ru(),[nCe,E8]=pL(L1),[iCe,fCe]=pL(L1);function Hne(e){let{__scopeSelect:r,children:a,open:i,defaultOpen:f,onOpenChange:s,value:l,defaultValue:c,onValueChange:m,dir:g,name:M,autoComplete:x,disabled:b,required:y,form:_,internal_do_not_use_render:z}=e,F=H7(r),[k,I]=u(null),[Y,W]=u(null),[X,J]=u(!1),ee=On(g),[ae,ne]=Ot({prop:i,defaultProp:f??!1,onChange:s,caller:L1}),[xe,Qe]=Ot({prop:l,defaultProp:c,onChange:m,caller:L1}),Fe=v(null),ye=v(xe);h(()=>{let Gt=_?k?.ownerDocument.getElementById(_):k?.form;if(Gt instanceof HTMLFormElement){let ke=No(()=>Qe(ye.current),"reset");return Gt.addEventListener("reset",ke),()=>Gt.removeEventListener("reset",ke)}},[_,k,Qe]);let Ve=k?!!_||!!k.closest("form"):!0,[dt,lt]=u(new Set),pt=yr(),Bt=Array.from(dt).map((Gt)=>Gt.props.value).join(";"),Wt=N((Gt)=>{lt((ke)=>new Set(ke).add(Gt))},[]),le=N((Gt)=>{lt((ke)=>{let Zr=new Set(ke);return Zr.delete(Gt),Zr})},[]),mt={required:y,trigger:k,onTriggerChange:I,valueNode:Y,onValueNodeChange:W,valueNodeHasChildren:X,onValueNodeHasChildrenChange:J,contentId:pt,value:xe,onValueChange:Qe,open:ae,onOpenChange:ne,dir:ee,triggerPointerDownPosRef:Fe,disabled:b,name:M,autoComplete:x,form:_,nativeOptions:dt,nativeSelectKey:Bt,isFormControl:Ve};return t(mM,{...F,children:t(nCe,{scope:r,...mt,children:t(oN.Provider,{scope:r,children:t(iCe,{scope:r,onNativeOptionAdd:Wt,onNativeOptionRemove:le,children:Xne(z)?z(mt):a})})})})}No(Hne,"SelectProvider");var sCe=No((e)=>{let{__scopeSelect:r,children:a,...i}=e;return t(Hne,{__scopeSelect:r,...i,internal_do_not_use_render:({isFormControl:f})=>o(B,{children:[a,f?t(ACe,{__scopeSelect:r}):null]})})},"Select"),lCe="SelectTrigger",cCe=D(No(function(r,a){let{__scopeSelect:i,disabled:f=!1,...s}=r,l=H7(i),c=E8(lCe,i),m=c.disabled||f,g=me(a,c.onTriggerChange),M=aN(i),x=v("touch"),[b,y,_]=G7((F)=>{let k=M().filter((W)=>!W.disabled),I=k.find((W)=>W.value===c.value),Y=K7(k,F,I);if(Y!==void 0)c.onValueChange(Y.value)}),z=No((F)=>{if(!m)c.onOpenChange(!0),_();if(F)c.triggerPointerDownPosRef.current={x:Math.round(F.pageX),y:Math.round(F.pageY)}},"handleOpen");return t(P8,{asChild:!0,...l,children:t(oe.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":xT(c.value)?"":void 0,...s,ref:g,onClick:K(s.onClick,(F)=>{if(F.currentTarget.focus(),x.current!=="mouse")z(F)}),onPointerDown:K(s.onPointerDown,(F)=>{x.current=F.pointerType;let k=F.target;if(k.hasPointerCapture(F.pointerId))k.releasePointerCapture(F.pointerId);if(F.button===0&&F.ctrlKey===!1&&F.pointerType==="mouse")z(F),F.preventDefault()}),onKeyDown:K(s.onKeyDown,(F)=>{let k=b.current!=="";if(!(F.ctrlKey||F.altKey||F.metaKey)&&F.key.length===1)y(F.key);if(k&&F.key===" ")return;if(rCe.includes(F.key))z(),F.preventDefault()})})})},"SelectTrigger")),uCe="SelectValue",dCe=D(No(function(r,a){let{__scopeSelect:i,className:f,style:s,children:l,placeholder:c="",...m}=r,g=E8(uCe,i),{onValueNodeHasChildrenChange:M}=g,x=l!==void 0,b=me(a,g.onValueNodeChange);Et(()=>{M(x)},[M,x]);let y=xT(g.value);return t(oe.span,{...m,asChild:y?!1:m.asChild,ref:b,style:{pointerEvents:"none"},children:t(dn,{children:y?c:l},y?"placeholder":"value")})},"SelectValue")),ZCe=D(No(function(r,a){let{__scopeSelect:i,children:f,...s}=r;return t(oe.span,{"aria-hidden":!0,...s,ref:a,children:f||"▼"})},"SelectIcon")),pCe="SelectPortal",[mCe,hCe]=pL(pCe,{forceMount:void 0}),gCe=No((e)=>{let{__scopeSelect:r,forceMount:a,...i}=e;return t(mCe,{scope:e.__scopeSelect,forceMount:a,children:t(IZ,{asChild:!0,...i})})},"SelectPortal"),ZL="SelectContent",MCe=D(No(function(r,a){let i=hCe(ZL,r.__scopeSelect),{forceMount:f=i.forceMount,...s}=r,l=E8(ZL,r.__scopeSelect),[c,m]=u();return Et(()=>{m(new DocumentFragment)},[]),t(er,{present:f||l.open,children:({present:g})=>g?t(yCe,{...s,ref:a}):t(vCe,{...s,fragment:c})})},"SelectContent")),vCe=D(No(function(r,a){let{__scopeSelect:i,children:f,fragment:s}=r;if(!s)return null;return Ts(t(Wne,{scope:i,children:t(oN.Slot,{scope:i,children:t("div",{ref:a,children:f})})}),s)},"SelectContentFragment")),Fd=10,[Wne,mL]=pL(ZL),xCe=Ni("SelectContent.RemoveScroll"),yCe=D(No(function(r,a){let{__scopeSelect:i}=r,{position:f="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:l,onPointerDownOutside:c,side:m,sideOffset:g,align:M,alignOffset:x,arrowPadding:b,collisionBoundary:y,collisionPadding:_,sticky:z,hideWhenDetached:F,avoidCollisions:k,...I}=r,Y=E8(ZL,i),[W,X]=u(null),[J,ee]=u(null),ae=me(a,X),[ne,xe]=u(null),[Qe,Fe]=u(null),ye=aN(i),[Ve,dt]=u(!1),lt=v(!1);h(()=>{if(W)return C8(W)},[W]),CZ();let pt=N((Qt)=>{let[Jt,...vr]=ye().map((xr)=>xr.ref.current),[Er]=vr.slice(-1),Br=document.activeElement;for(let xr of Qt){if(xr===Br)return;if(xr?.scrollIntoView({block:"nearest"}),xr===Jt&&J)J.scrollTop=0;if(xr===Er&&J)J.scrollTop=J.scrollHeight;if(xr?.focus(),document.activeElement!==Br)return}},[ye,J]),Bt=N(()=>pt([ne,W]),[pt,ne,W]);h(()=>{if(Ve)Bt()},[Ve,Bt]);let{onOpenChange:Wt,triggerPointerDownPosRef:le}=Y;h(()=>{if(W){let Qt={x:0,y:0},Jt=No((Er)=>{Qt={x:Math.abs(Math.round(Er.pageX)-(le.current?.x??0)),y:Math.abs(Math.round(Er.pageY)-(le.current?.y??0))}},"handlePointerMove"),vr=No((Er)=>{if(Qt.x<=10&&Qt.y<=10)Er.preventDefault();else if(!Er.composedPath().includes(W))Wt(!1);document.removeEventListener("pointermove",Jt),le.current=null},"handlePointerUp");if(le.current!==null)document.addEventListener("pointermove",Jt),document.addEventListener("pointerup",vr,{capture:!0,once:!0});return()=>{document.removeEventListener("pointermove",Jt),document.removeEventListener("pointerup",vr,{capture:!0})}}},[W,Wt,le]),h(()=>{let Qt=No(()=>Wt(!1),"close");return window.addEventListener("blur",Qt),window.addEventListener("resize",Qt),()=>{window.removeEventListener("blur",Qt),window.removeEventListener("resize",Qt)}},[Wt]);let[mt,Gt]=G7((Qt)=>{let Jt=ye().filter((Br)=>!Br.disabled),vr=Jt.find((Br)=>Br.ref.current===document.activeElement),Er=K7(Jt,Qt,vr);if(Er)setTimeout(()=>Er.ref.current?.focus())}),ke=N((Qt,Jt,vr)=>{let Er=!lt.current&&!vr;if(Y.value!==void 0&&Y.value===Jt||Er){if(xe(Qt),Er)lt.current=!0}},[Y.value]),Zr=N(()=>W?.focus(),[W]),lr=N((Qt,Jt,vr)=>{let Er=!lt.current&&!vr;if(Y.value!==void 0&&Y.value===Jt||Er)Fe(Qt)},[Y.value]),tr=f==="popper"?Yne:bCe,Ur=tr===Yne?{side:m,sideOffset:g,align:M,alignOffset:x,arrowPadding:b,collisionBoundary:y,collisionPadding:_,sticky:z,hideWhenDetached:F,avoidCollisions:k}:{};return t(Wne,{scope:i,content:W,viewport:J,onViewportChange:ee,itemRefCallback:ke,selectedItem:ne,onItemLeave:Zr,itemTextRefCallback:lr,focusSelectedItem:Bt,selectedItemText:Qe,position:f,isPositioned:Ve,searchRef:mt,children:t(iM,{as:xCe,allowPinchZoom:!0,children:t(I8,{asChild:!0,trapped:Y.open,onMountAutoFocus:(Qt)=>{Qt.preventDefault()},onUnmountAutoFocus:K(s,(Qt)=>{Y.trigger?.focus({preventScroll:!0}),Qt.preventDefault()}),children:t(kZ,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:(Qt)=>Qt.preventDefault(),onDismiss:()=>Y.onOpenChange(!1),children:t(tr,{role:"listbox",id:Y.contentId,"data-state":Y.open?"open":"closed",dir:Y.dir,onContextMenu:(Qt)=>Qt.preventDefault(),...I,...Ur,onPlaced:()=>dt(!0),ref:ae,style:{display:"flex",flexDirection:"column",outline:"none",...I.style},onKeyDown:K(I.onKeyDown,(Qt)=>{let Jt=Qt.ctrlKey||Qt.altKey||Qt.metaKey;if(Qt.key==="Tab")Qt.preventDefault();if(!Jt&&Qt.key.length===1)Gt(Qt.key);if(["ArrowUp","ArrowDown","Home","End"].includes(Qt.key)){let Er=ye().filter((Br)=>!Br.disabled).map((Br)=>Br.ref.current);if(["ArrowUp","End"].includes(Qt.key))Er=Er.slice().reverse();if(["ArrowUp","ArrowDown"].includes(Qt.key)){let Br=Qt.target,xr=Er.indexOf(Br);Er=Er.slice(xr+1)}setTimeout(()=>pt(Er)),Qt.preventDefault()}})})})})})})},"SelectContentImpl")),bCe=D(No(function(r,a){let{__scopeSelect:i,onPlaced:f,...s}=r,l=E8(ZL,i),c=mL(ZL,i),[m,g]=u(null),[M,x]=u(null),b=me(a,x),y=aN(i),_=v(!1),z=v(!0),{viewport:F,selectedItem:k,selectedItemText:I,focusSelectedItem:Y}=c,W=N(()=>{if(l.trigger&&l.valueNode&&m&&M&&F&&k&&I){let ae=l.trigger.getBoundingClientRect(),ne=M.getBoundingClientRect(),xe=l.valueNode.getBoundingClientRect(),Qe=I.getBoundingClientRect();if(l.dir!=="rtl"){let Br=Qe.left-ne.left,xr=xe.left-Br,bo=ae.left-xr,rr=ae.width+bo,Qr=Math.max(rr,ne.width),go=window.innerWidth-Fd,Bo=Qa(xr,[Fd,Math.max(Fd,go-Qr)]);m.style.minWidth=rr+"px",m.style.left=Bo+"px"}else{let Br=ne.right-Qe.right,xr=window.innerWidth-xe.right-Br,bo=window.innerWidth-ae.right-xr,rr=ae.width+bo,Qr=Math.max(rr,ne.width),go=window.innerWidth-Fd,Bo=Qa(xr,[Fd,Math.max(Fd,go-Qr)]);m.style.minWidth=rr+"px",m.style.right=Bo+"px"}let Fe=y(),ye=window.innerHeight-Fd*2,Ve=F.scrollHeight,dt=window.getComputedStyle(M),lt=parseInt(dt.borderTopWidth,10),pt=parseInt(dt.paddingTop,10),Bt=parseInt(dt.borderBottomWidth,10),Wt=parseInt(dt.paddingBottom,10),le=lt+pt+Ve+Wt+Bt,mt=Math.min(k.offsetHeight*5,le),Gt=window.getComputedStyle(F),ke=parseInt(Gt.paddingTop,10),Zr=parseInt(Gt.paddingBottom,10),lr=ae.top+ae.height/2-Fd,tr=ye-lr,Ur=k.offsetHeight/2,Qt=k.offsetTop+Ur,Jt=lt+pt+Qt,vr=le-Jt;if(Jt<=lr){let Br=Fe.length>0&&k===Fe[Fe.length-1].ref.current;m.style.bottom="0px";let xr=M.clientHeight-F.offsetTop-F.offsetHeight,bo=Math.max(tr,Ur+(Br?Zr:0)+xr+Bt),rr=Jt+bo;m.style.height=rr+"px"}else{let Br=Fe.length>0&&k===Fe[0].ref.current;m.style.top="0px";let bo=Math.max(lr,lt+F.offsetTop+(Br?ke:0)+Ur)+vr;m.style.height=bo+"px",F.scrollTop=Jt-lr+F.offsetTop}m.style.margin=`${Fd}px 0`,m.style.minHeight=mt+"px",m.style.maxHeight=ye+"px",f?.(),requestAnimationFrame(()=>_.current=!0)}},[y,l.trigger,l.valueNode,m,M,F,k,I,l.dir,f]);Et(()=>W(),[W]);let[X,J]=u();Et(()=>{if(M)J(window.getComputedStyle(M).zIndex)},[M]);let ee=N((ae)=>{if(ae&&z.current===!0)W(),Y?.(),z.current=!1},[W,Y]);return t(_Ce,{scope:i,contentWrapper:m,shouldExpandOnScrollRef:_,onScrollButtonChange:ee,children:t("div",{ref:g,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:X},children:t(oe.div,{...s,ref:b,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})},"SelectItemAlignedPosition")),Yne=D(No(function(r,a){let{__scopeSelect:i,align:f="start",collisionPadding:s=Fd,...l}=r,c=H7(i);return t(T8,{...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")),[_Ce,W7]=pL(ZL,{}),Une="SelectViewport",wCe=D(No(function(r,a){let{__scopeSelect:i,nonce:f,...s}=r,l=mL(Une,i),c=W7(Une,i),m=me(a,l.onViewportChange),g=v(0);return o(B,{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(oN.Slot,{scope:i,children:t(oe.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:m,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:K(s.onScroll,(M)=>{let x=M.currentTarget,{contentWrapper:b,shouldExpandOnScrollRef:y}=c;if(y?.current&&b){let _=Math.abs(g.current-x.scrollTop);if(_>0){let z=window.innerHeight-Fd*2,F=parseFloat(b.style.minHeight),k=parseFloat(b.style.height),I=Math.max(F,k);if(I<z){let Y=I+_,W=Math.min(z,Y),X=Y-W;if(b.style.height=W+"px",b.style.bottom==="0px")x.scrollTop=X>0?X:0,b.style.justifyContent="flex-end"}}}g.current=x.scrollTop})})})]})},"SelectViewport")),zCe="SelectGroup",[KWo,XWo]=pL(zCe);var V7="SelectItem",[SCe,Gne]=pL(V7),LCe=D(No(function(r,a){let{__scopeSelect:i,value:f,disabled:s=!1,textValue:l,...c}=r,m=E8(V7,i),g=mL(V7,i),M=m.value===f,[x,b]=u(l??""),[y,_]=u(!1),z=ta((W)=>g.itemRefCallback?.(W,f,s)),F=me(a,z),k=yr(),I=v("touch"),Y=No(()=>{if(!s)m.onValueChange(f),m.onOpenChange(!1)},"handleSelect");return t(SCe,{scope:i,value:f,disabled:s,textId:k,isSelected:M,onItemTextChange:N((W)=>{b((X)=>X||(W?.textContent??"").trim())},[]),children:t(oN.ItemSlot,{scope:i,value:f,disabled:s,textValue:x,children:t(oe.div,{role:"option","aria-labelledby":k,"data-highlighted":y?"":void 0,"aria-selected":M&&y,"data-state":M?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...c,ref:F,onFocus:K(c.onFocus,()=>_(!0)),onBlur:K(c.onBlur,()=>_(!1)),onClick:K(c.onClick,()=>{if(I.current!=="mouse")Y()}),onPointerUp:K(c.onPointerUp,()=>{if(I.current==="mouse")Y()}),onPointerDown:K(c.onPointerDown,(W)=>{I.current=W.pointerType}),onPointerMove:K(c.onPointerMove,(W)=>{if(I.current=W.pointerType,s)g.onItemLeave?.();else if(I.current==="mouse")W.currentTarget.focus({preventScroll:!0})}),onPointerLeave:K(c.onPointerLeave,(W)=>{if(W.currentTarget===document.activeElement)g.onItemLeave?.()}),onKeyDown:K(c.onKeyDown,(W)=>{if(s||W.target!==W.currentTarget)return;if(g.searchRef?.current!==""&&W.key===" ")return;if(oCe.includes(W.key))Y();if(W.key===" ")W.preventDefault()})})})})},"SelectItem")),rN="SelectItemText",kCe=D(No(function(r,a){let{__scopeSelect:i,className:f,style:s,...l}=r,c=E8(rN,i),m=mL(rN,i),g=Gne(rN,i),M=fCe(rN,i),[x,b]=u(null),y=ta((Y)=>m.itemTextRefCallback?.(Y,g.value,g.disabled)),_=me(a,b,g.onItemTextChange,y),z=x?.textContent,F=O(()=>t("option",{value:g.value,disabled:g.disabled,children:z},g.value),[g.disabled,g.value,z]),{onNativeOptionAdd:k,onNativeOptionRemove:I}=M;return Et(()=>(k(F),()=>I(F)),[k,I,F]),o(B,{children:[t(oe.span,{id:g.textId,...l,ref:_}),g.isSelected&&c.valueNode&&!c.valueNodeHasChildren&&!xT(c.value)?Ts(l.children,c.valueNode):null]})},"SelectItemText")),ICe="SelectItemIndicator",CCe=D(No(function(r,a){let{__scopeSelect:i,...f}=r;return Gne(ICe,i).isSelected?t(oe.span,{"aria-hidden":!0,...f,ref:a}):null},"SelectItemIndicator")),qne="SelectScrollUpButton",RCe=D(No(function(r,a){let i=mL(qne,r.__scopeSelect),f=W7(qne,r.__scopeSelect),[s,l]=u(!1),c=me(a,f.onScrollButtonChange);return Et(()=>{if(i.viewport&&i.isPositioned){let g=function(){let x=M.scrollTop>0;l(x)};var m=g;No(g,"handleScroll");let M=i.viewport;return g(),M.addEventListener("scroll",g),()=>M.removeEventListener("scroll",g)}},[i.viewport,i.isPositioned]),s?t(Kne,{...r,ref:c,onAutoScroll:()=>{let{viewport:m,selectedItem:g}=i;if(m&&g)m.scrollTop=m.scrollTop-g.offsetHeight}}):null},"SelectScrollUpButton")),Vne="SelectScrollDownButton",PCe=D(No(function(r,a){let i=mL(Vne,r.__scopeSelect),f=W7(Vne,r.__scopeSelect),[s,l]=u(!1),c=me(a,f.onScrollButtonChange);return Et(()=>{if(i.viewport&&i.isPositioned){let g=function(){let x=M.scrollHeight-M.clientHeight,b=Math.ceil(M.scrollTop)<x;l(b)};var m=g;No(g,"handleScroll");let M=i.viewport;return g(),M.addEventListener("scroll",g),()=>M.removeEventListener("scroll",g)}},[i.viewport,i.isPositioned]),s?t(Kne,{...r,ref:c,onAutoScroll:()=>{let{viewport:m,selectedItem:g}=i;if(m&&g)m.scrollTop=m.scrollTop+g.offsetHeight}}):null},"SelectScrollDownButton")),Kne=D(No(function(r,a){let{__scopeSelect:i,onAutoScroll:f,...s}=r,l=mL("SelectScrollButton",i),c=v(null),m=aN(i),g=N(()=>{if(c.current!==null)window.clearInterval(c.current),c.current=null},[]);return h(()=>()=>g(),[g]),Et(()=>{m().find((x)=>x.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[m]),t(oe.div,{"aria-hidden":!0,...s,ref:a,style:{flexShrink:0,...s.style},onPointerDown:K(s.onPointerDown,()=>{if(c.current===null)c.current=window.setInterval(f,50)}),onPointerMove:K(s.onPointerMove,()=>{if(l.onItemLeave?.(),c.current===null)c.current=window.setInterval(f,50)}),onPointerLeave:K(s.onPointerLeave,()=>{g()})})},"SelectScrollButtonImpl"));var TCe="SelectBubbleInput",ACe=D(No(function({__scopeSelect:r,...a},i){let f=E8(TCe,r),{value:s,onValueChange:l,required:c,disabled:m,name:g,autoComplete:M,form:x}=f,{nativeOptions:b,nativeSelectKey:y}=f,_=v(null),z=me(i,_),F=s??"",k=sc(F),I=Array.from(b).some((Y)=>(Y.props.value??"")==="");return h(()=>{let Y=_.current;if(!Y)return;let W=window.HTMLSelectElement.prototype,J=Object.getOwnPropertyDescriptor(W,"value").set;if(k!==F&&J){let ee=new Event("change",{bubbles:!0});J.call(Y,F),Y.dispatchEvent(ee)}},[k,F]),o(oe.select,{"aria-hidden":!0,required:c,tabIndex:-1,name:g,autoComplete:M,disabled:m,form:x,onChange:(Y)=>l(Y.target.value),...a,style:{...q7,...a.style},ref:z,defaultValue:F,children:[xT(s)&&!I?t("option",{value:""}):null,Array.from(b)]},y)},"SelectBubbleInput"));function Xne(e){return typeof e==="function"}No(Xne,"isFunction");function xT(e){return e===""||e===void 0}No(xT,"shouldShowPlaceholder");function G7(e){let r=ta(e),a=v(""),i=v(0),f=N((l)=>{let c=a.current+l;r(c),No(function m(g){if(a.current=g,window.clearTimeout(i.current),g!=="")i.current=window.setTimeout(()=>m(""),1000)},"updateSearch")(c)},[r]),s=N(()=>{a.current="",window.clearTimeout(i.current)},[]);return h(()=>()=>window.clearTimeout(i.current),[]),[a,f,s]}No(G7,"useTypeaheadSearch");function K7(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=Qne(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}No(K7,"findNextItem");function Qne(e,r){return e.map((a,i)=>e[(r+i)%e.length])}No(Qne,"wrapArray");C();var DCe=Object.defineProperty,eie=(e,r)=>DCe(e,"name",{value:r,configurable:!0}),$ne="horizontal",ECe=["horizontal","vertical"],OCe=D(eie(function(r,a){let{decorative:i,orientation:f=$ne,...s}=r,l=tie(f)?f:$ne,m=i?{role:"none"}:{"aria-orientation":l==="vertical"?l:void 0,role:"separator"};return t(oe.div,{"data-orientation":l,...m,...s,ref:a})},"Separator"));function tie(e){return ECe.includes(e)}eie(tie,"isValidOrientation");var jCe=OCe;C();var NCe=Object.defineProperty,O8=(e,r)=>NCe(e,"name",{value:r,configurable:!0}),X7="Switch",[FCe,iGo]=ut(X7),[BCe,Q7]=FCe(X7);function oie(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:x}=e,[b,y]=Ot({prop:a,defaultProp:f??!1,onChange:m,caller:X7}),[_,z]=u(null),[F,k]=u(null),I=v(!1),[Y,W]=so((ee)=>ee+1,0),X=_?!!l||!!_.closest("form"):!0,J={checked:b,setChecked:y,disabled:s,control:_,setControl:z,name:c,form:l,value:M,hasConsumerStoppedPropagationRef:I,userInteractionCount:Y,onUserInteraction:W,required:g,defaultChecked:f,isFormControl:X,bubbleInput:F,setBubbleInput:k};return t(BCe,{scope:r,...J,children:aie(x)?x(J):i})}O8(oie,"SwitchProvider");var YCe="SwitchTrigger",UCe=D(O8(function({__scopeSwitch:r,onClick:a,...i},f){let{control:s,form:l,value:c,disabled:m,checked:g,required:M,setControl:x,setChecked:b,hasConsumerStoppedPropagationRef:y,onUserInteraction:_,isFormControl:z,bubbleInput:F}=Q7(YCe,r),k=me(f,x),I=v(g);return h(()=>{let Y=l?s?.ownerDocument.getElementById(l):s?.form;if(Y instanceof HTMLFormElement){let W=O8(()=>b(I.current),"reset");return Y.addEventListener("reset",W),()=>Y.removeEventListener("reset",W)}},[s,l,b]),t(oe.button,{type:"button",role:"switch","aria-checked":g,"aria-required":M,"data-state":J7(g),"data-disabled":m?"":void 0,disabled:m,value:c,...i,ref:k,onClick:K(a,(Y)=>{if(_(),b((W)=>!W),F&&z){if(y.current=Y.isPropagationStopped(),!y.current)Y.stopPropagation()}})})},"SwitchTrigger")),qCe=D(O8(function(r,a){let{__scopeSwitch:i,name:f,checked:s,defaultChecked:l,required:c,disabled:m,value:g,onCheckedChange:M,form:x,...b}=r;return t(oie,{__scopeSwitch:i,checked:s,defaultChecked:l,disabled:m,required:c,onCheckedChange:M,name:f,form:x,value:g,internal_do_not_use_render:({isFormControl:y})=>o(B,{children:[t(UCe,{...b,ref:a,__scopeSwitch:i}),y&&t(GCe,{__scopeSwitch:i})]})})},"Switch")),VCe="SwitchThumb",HCe=D(O8(function(r,a){let{__scopeSwitch:i,...f}=r,s=Q7(VCe,i);return t(oe.span,{"data-state":J7(s.checked),"data-disabled":s.disabled?"":void 0,...f,ref:a})},"SwitchThumb")),WCe="SwitchBubbleInput",GCe=D(O8(function({__scopeSwitch:r,onClick:a,...i},f){let{control:s,hasConsumerStoppedPropagationRef:l,userInteractionCount:c,checked:m,defaultChecked:g,required:M,disabled:x,name:b,value:y,form:_,bubbleInput:z,setBubbleInput:F}=Q7(WCe,r),k=me(f,F),I=Ha(s),Y=v(!1),W=v(m),X=v(c);h(()=>{let ee=z;if(!ee)return;let ae=window.HTMLInputElement.prototype,xe=Object.getOwnPropertyDescriptor(ae,"checked").set,Qe=c!==X.current;X.current=c;let Fe=W.current!==m;W.current=m;let ye=!(Qe&&l.current);if(Fe&&xe){Y.current=!Qe;let Ve=new Event("click",{bubbles:ye});xe.call(ee,m),ee.dispatchEvent(Ve),Y.current=!1}},[z,m,l,c]);let J=v(m);return t(oe.input,{type:"checkbox","aria-hidden":!0,defaultChecked:g??J.current,required:M,disabled:x,name:b,value:y,form:_,...i,tabIndex:-1,ref:k,onClick:K(a,(ee)=>{if(Y.current)ee.stopPropagation()}),style:{...i.style,...I,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"SwitchBubbleInput"));function aie(e){return typeof e==="function"}O8(aie,"isFunction");function J7(e){return e?"checked":"unchecked"}O8(J7,"getState");C();var KCe=Object.defineProperty,k1=(e,r)=>KCe(e,"name",{value:r,configurable:!0}),$7="Tabs",[XCe,hGo]=ut($7,[$a]),iie=$a(),[QCe,eU]=XCe($7),JCe=D(k1(function(r,a){let{__scopeTabs:i,value:f,onValueChange:s,defaultValue:l,orientation:c="horizontal",dir:m,activationMode:g="automatic",...M}=r,x=On(m),[b,y]=Ot({prop:f,onChange:s,defaultProp:l??"",caller:$7});return t(QCe,{scope:i,baseId:yr(),value:b,onValueChange:y,orientation:c,dir:x,activationMode:g,children:t(oe.div,{dir:x,"data-orientation":c,...M,ref:a})})},"Tabs")),$Ce="TabsList",eRe=D(k1(function(r,a){let{__scopeTabs:i,loop:f=!0,...s}=r,l=eU($Ce,i),c=iie(i);return t(Qi,{asChild:!0,...c,orientation:l.orientation,dir:l.dir,loop:f,children:t(oe.div,{role:"tablist","aria-orientation":l.orientation,...s,ref:a})})},"TabsList")),tRe="TabsTrigger",rRe=D(k1(function(r,a){let{__scopeTabs:i,value:f,disabled:s=!1,...l}=r,c=eU(tRe,i),m=iie(i),g=tU(c.baseId,f),M=rU(c.baseId,f),x=f===c.value;return t(Vi,{asChild:!0,...m,focusable:!s,active:x,children:t(oe.button,{type:"button",role:"tab","aria-selected":x,"aria-controls":M,"data-state":x?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:g,...l,ref:a,onMouseDown:K(r.onMouseDown,(b)=>{if(!s&&b.button===0&&b.ctrlKey===!1)c.onValueChange(f);else b.preventDefault()}),onKeyDown:K(r.onKeyDown,(b)=>{if(s||b.target!==b.currentTarget)return;if([" ","Enter"].includes(b.key))c.onValueChange(f)}),onFocus:K(r.onFocus,()=>{let b=c.activationMode!=="manual";if(!x&&!s&&b)c.onValueChange(f)})})})},"TabsTrigger")),oRe="TabsContent",aRe=D(k1(function(r,a){let{__scopeTabs:i,value:f,forceMount:s,children:l,...c}=r,m=eU(oRe,i),g=tU(m.baseId,f),M=rU(m.baseId,f),x=f===m.value,b=v(x);return h(()=>{let y=requestAnimationFrame(()=>b.current=!1);return()=>cancelAnimationFrame(y)},[]),t(er,{present:s||x,children:({present:y})=>t(oe.div,{"data-state":x?"active":"inactive","data-orientation":m.orientation,role:"tabpanel","aria-labelledby":g,hidden:!y,id:M,tabIndex:0,...c,ref:a,style:{...r.style,animationDuration:b.current?"0s":void 0},children:y&&l})})},"TabsContent"));function tU(e,r){return`${e}-trigger-${r}`}k1(tU,"makeTriggerId");function rU(e,r){return`${e}-content-${r}`}k1(rU,"makeContentId");var nRe=JCe,iRe=eRe,fRe=rRe,sRe=aRe;C();var lRe=Object.defineProperty,Ci=(e,r)=>lRe(e,"name",{value:r,configurable:!0}),[nU,CGo]=ut("Tooltip",[ru]),nN=ru(),cRe="TooltipProvider",uRe=700,oU="tooltip.open",[dRe,iU]=nU(cRe),ZRe=Ci((e)=>{let{__scopeTooltip:r,delayDuration:a=uRe,skipDelayDuration:i=300,disableHoverableContent:f=!1,children:s}=e,l=v(!0),c=v(!1),m=v(0);return h(()=>{let g=m.current;return()=>window.clearTimeout(g)},[]),t(dRe,{scope:r,isOpenDelayedRef:l,delayDuration:a,onOpen:N(()=>{if(i<=0)return;window.clearTimeout(m.current),l.current=!1},[i]),onClose:N(()=>{if(i<=0)return;window.clearTimeout(m.current),m.current=window.setTimeout(()=>l.current=!0,i)},[i]),isPointerInTransitRef:c,onPointerInTransitChange:N((g)=>{c.current=g},[]),disableHoverableContent:f,children:s})},"TooltipProvider"),aU="Tooltip",[pRe,bT]=nU(aU),mRe=Ci((e)=>{let{__scopeTooltip:r,children:a,open:i,defaultOpen:f,onOpenChange:s,disableHoverableContent:l,delayDuration:c}=e,m=iU(aU,e.__scopeTooltip),g=nN(r),[M,x]=u(null),[b,y]=u(void 0),_=yr(),z=v(0),F=l??m.disableHoverableContent,k=c??m.delayDuration,I=v(!1),[Y,W]=Ot({prop:i,defaultProp:f??!1,onChange:Ci((xe)=>{if(xe)m.onOpen(),document.dispatchEvent(new CustomEvent(oU));else m.onClose();s?.(xe)},"onChange"),caller:aU}),X=O(()=>Y?I.current?"delayed-open":"instant-open":"closed",[Y]),J=N(()=>{window.clearTimeout(z.current),z.current=0,I.current=!1,W(!0)},[W]),ee=N(()=>{window.clearTimeout(z.current),z.current=0,W(!1)},[W]),ae=N(()=>{window.clearTimeout(z.current),z.current=window.setTimeout(()=>{I.current=!0,W(!0),z.current=0},k)},[k,W]);return h(()=>()=>{if(z.current)window.clearTimeout(z.current),z.current=0},[]),t(mM,{...g,children:t(pRe,{scope:r,contentId:b??_,setContentId:y,open:Y,stateAttribute:X,trigger:M,onTriggerChange:x,onTriggerEnter:N(()=>{if(m.isOpenDelayedRef.current)ae();else J()},[m.isOpenDelayedRef,ae,J]),onTriggerLeave:N(()=>{if(F)ee();else window.clearTimeout(z.current),z.current=0},[ee,F]),onOpen:J,onClose:ee,disableHoverableContent:F,children:a})})},"Tooltip"),sie="TooltipTrigger",hRe=D(Ci(function(r,a){let{__scopeTooltip:i,...f}=r,s=bT(sie,i),l=iU(sie,i),c=nN(i),m=v(null),g=me(a,m,s.onTriggerChange),M=v(!1),x=v(!1),b=N(()=>M.current=!1,[]);return h(()=>()=>document.removeEventListener("pointerup",b),[b]),t(P8,{asChild:!0,...c,children:t(oe.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...f,ref:g,onPointerMove:K(r.onPointerMove,(y)=>{if(y.pointerType==="touch")return;if(!x.current&&!l.isPointerInTransitRef.current)s.onTriggerEnter(),x.current=!0}),onPointerLeave:K(r.onPointerLeave,()=>{s.onTriggerLeave(),x.current=!1}),onPointerDown:K(r.onPointerDown,()=>{if(s.open)s.onClose();M.current=!0,document.addEventListener("pointerup",b,{once:!0})}),onFocus:K(r.onFocus,()=>{if(!M.current)s.onOpen()}),onBlur:K(r.onBlur,s.onClose),onClick:K(r.onClick,s.onClose)})})},"TooltipTrigger")),lie="TooltipPortal",[gRe,MRe]=nU(lie,{forceMount:void 0}),vRe=Ci((e)=>{let{__scopeTooltip:r,forceMount:a,children:i,container:f}=e,s=bT(lie,r);return t(gRe,{scope:r,forceMount:a,children:t(er,{present:a||s.open,children:t(IZ,{asChild:!0,container:f,children:i})})})},"TooltipPortal"),yT="TooltipContent",xRe=D(Ci(function(r,a){let i=MRe(yT,r.__scopeTooltip),{forceMount:f=i.forceMount,side:s="top",...l}=r,c=bT(yT,r.__scopeTooltip);return t(er,{present:f||c.open,children:c.disableHoverableContent?t(cie,{side:s,...l,ref:a}):t(yRe,{side:s,...l,ref:a})})},"TooltipContent")),yRe=D(Ci(function(r,a){let i=bT(yT,r.__scopeTooltip),f=iU(yT,r.__scopeTooltip),s=v(null),l=me(a,s),[c,m]=u(null),{trigger:g,onClose:M}=i,x=s.current,{onPointerInTransitChange:b}=f,y=N(()=>{m(null),b(!1)},[b]),_=N((z,F)=>{let k=z.currentTarget,I={x:z.clientX,y:z.clientY},Y=uie(I,k.getBoundingClientRect()),W=die(I,Y),X=Zie(F.getBoundingClientRect()),J=mie([...W,...X]);m(J),b(!0)},[b]);return h(()=>()=>y(),[y]),h(()=>{if(g&&x){let z=Ci((k)=>_(k,x),"handleTriggerLeave"),F=Ci((k)=>_(k,g),"handleContentLeave");return g.addEventListener("pointerleave",z),x.addEventListener("pointerleave",F),()=>{g.removeEventListener("pointerleave",z),x.removeEventListener("pointerleave",F)}}},[g,x,_,y]),h(()=>{if(c){let z=Ci((F)=>{let k=F.target,I={x:F.clientX,y:F.clientY},Y=g?.contains(k)||x?.contains(k),W=!pie(I,c);if(Y)y();else if(W)y(),M()},"handleTrackPointerGrace");return document.addEventListener("pointermove",z),()=>document.removeEventListener("pointermove",z)}},[g,x,c,M,y]),t(cie,{...r,ref:l})},"TooltipContentHoverable")),bRe=gY("TooltipContent"),cie=D(Ci(function(r,a){let{__scopeTooltip:i,children:f,"aria-label":s,id:l,onEscapeKeyDown:c,onPointerDownOutside:m,...g}=r,M=bT(yT,i),x=nN(i),{onClose:b}=M;h(()=>(document.addEventListener(oU,b),()=>document.removeEventListener(oU,b)),[b]),h(()=>{if(M.trigger){let _=Ci((z)=>{if(z.target instanceof Node&&z.target.contains(M.trigger))b()},"handleScroll");return window.addEventListener("scroll",_,{capture:!0}),()=>window.removeEventListener("scroll",_,{capture:!0})}},[M.trigger,b]);let{setContentId:y}=M;return Et(()=>(y(l),()=>{y(void 0)}),[l,y]),t(kZ,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:m,onFocusOutside:(_)=>_.preventDefault(),onDismiss:b,children:o(T8,{"data-state":M.stateAttribute,role:s?void 0:"tooltip",id:s?void 0:M.contentId,...x,...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(bRe,{children:f}),s?t(Bne,{id:M.contentId,role:"tooltip",children:s}):null]})})},"TooltipContentImpl")),_Re=D(Ci(function(r,a){let{__scopeTooltip:i,...f}=r,s=nN(i);return t(dT,{...s,...f,ref:a})},"TooltipArrow"));function uie(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")}}Ci(uie,"getExitSideFromRect");function die(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}Ci(die,"getPaddedExitPoints");function Zie(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}]}Ci(Zie,"getPointsFromRect");function pie(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,y:b}=m;if(M>i!==b>i&&a<(x-g)*(i-M)/(b-M)+g)f=!f}return f}Ci(pie,"isPointInPolygon");function mie(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}),hie(r)}Ci(mie,"getHull");function hie(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)}Ci(hie,"getHullPresorted");var wRe=ZRe,zRe=mRe,SRe=hRe,LRe=vRe,kRe=xRe,IRe=_Re;var iN=Qo("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 S({className:e,variant:r="default",size:a="default",asChild:i=!1,...f}){let s=i?jre:"button";return t(s,{"data-slot":"button","data-variant":r,"data-size":a,className:E(iN({variant:r,size:a,className:e})),...f})}function pn({delayDuration:e=0,...r}){return t(wRe,{"data-slot":"tooltip-provider",delayDuration:e,...r})}function mn({...e}){return t(zRe,{"data-slot":"tooltip",...e})}function hn({...e}){return t(SRe,{"data-slot":"tooltip-trigger",...e})}function gn({className:e,sideOffset:r=0,children:a,...i}){return t(LRe,{children:o(kRe,{"data-slot":"tooltip-content",sideOffset:r,className:E("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(IRe,{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(vLe,{"data-slot":"avatar","data-size":r,className:E("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 Ee({className:e,...r}){return t(yLe,{"data-slot":"avatar-image",className:E("aspect-square size-full",e),...r})}function Ie({className:e,...r}){return t(_Le,{"data-slot":"avatar-fallback",className:E("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(F1e,{"data-slot":"dropdown-menu",...e})}function Ps({...e}){return t(xne,{"data-slot":"dropdown-menu-portal",...e})}function ge({...e}){return t(B1e,{"data-slot":"dropdown-menu-trigger",...e})}function Ae({className:e,sideOffset:r=4,...a}){return t(xne,{children:t(Y1e,{"data-slot":"dropdown-menu-content",sideOffset:r,className:E("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 V({className:e,inset:r,variant:a="default",...i}){return t(q1e,{"data-slot":"dropdown-menu-item","data-inset":r,"data-variant":a,className:E("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 ic({...e}){return t(V1e,{"data-slot":"dropdown-menu-radio-group",...e})}function Va({className:e,children:r,...a}){return o(H1e,{"data-slot":"dropdown-menu-radio-item",className:E("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(W1e,{children:t(FP,{className:"size-2 fill-current"})})}),r]})}function qr({className:e,inset:r,...a}){return t(U1e,{"data-slot":"dropdown-menu-label","data-inset":r,className:E("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...a})}function qt({className:e,...r}){return t(G1e,{"data-slot":"dropdown-menu-separator",className:E("-mx-1 my-1 h-px bg-border",e),...r})}function Ns({...e}){return t(K1e,{"data-slot":"dropdown-menu-sub",...e})}function Os({className:e,inset:r,children:a,...i}){return o(X1e,{"data-slot":"dropdown-menu-sub-trigger","data-inset":r,className:E("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(ft,{className:"ml-auto size-4"})]})}function Ds({className:e,...r}){return t(Q1e,{"data-slot":"dropdown-menu-sub-content",className:E("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})}C();function CRe(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 Vo(){let[e,r]=u(),a=wz({select:(l)=>l.location.pathname}),{teamId:i,projectId:f}=CRe(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 fN=Object.create(null),_T=(e)=>globalThis.process?.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?fN:globalThis),MM=new Proxy(fN,{get(e,r){return _T()[r]??fN[r]},has(e,r){return r in _T()||r in fN},set(e,r,a){let i=_T(!0);return i[r]=a,!0},deleteProperty(e,r){if(!r)return!1;let a=_T(!0);return delete a[r],!0},ownKeys(){let e=_T(!0);return Object.keys(e)}});var RRe=typeof process<"u"&&process.env&&"production"||"";function j8(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 PRe=Object.freeze({get BETTER_AUTH_SECRET(){return j8("BETTER_AUTH_SECRET")},get AUTH_SECRET(){return j8("AUTH_SECRET")},get BETTER_AUTH_TELEMETRY(){return j8("BETTER_AUTH_TELEMETRY")},get BETTER_AUTH_TELEMETRY_ID(){return j8("BETTER_AUTH_TELEMETRY_ID")},get NODE_ENV(){return j8("NODE_ENV","development")},get PACKAGE_VERSION(){return j8("PACKAGE_VERSION","0.0.0")},get BETTER_AUTH_TELEMETRY_ENDPOINT(){return j8("BETTER_AUTH_TELEMETRY_ENDPOINT","")}});function TRe(){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 ARe(e){let r=e.split(`
61
+ at `);if(r.length<=1)return e;return r.splice(1,1),r.join(`
62
+ at `)}function DRe(e,r){class a extends e{#e;constructor(...i){if(TRe()){let s=Error.stackTraceLimit;Error.stackTraceLimit=0;super(...i);Error.stackTraceLimit=s}else super(...i);let f=Error().stack;if(f)this.#e=ARe(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 ERe={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},ORe=class extends Error{constructor(e="INTERNAL_SERVER_ERROR",r=void 0,a={},i=typeof e==="number"?e:ERe[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 jRe=DRe(ORe,Error);var I1=class extends Error{constructor(e,r){super(e,r);this.name="BetterAuthError",this.message=e,this.stack=""}};function NRe(e){try{return(new URL(e).pathname.replace(/\/+$/,"")||"/")!=="/"}catch{throw new I1(`Invalid base URL: ${e}. Please provide a valid base URL.`)}}function FRe(e){try{let r=new URL(e);if(r.protocol!=="http:"&&r.protocol!=="https:")throw new I1(`Invalid base URL: ${e}. URL must include 'http://' or 'https://'`)}catch(r){if(r instanceof I1)throw r;throw new I1(`Invalid base URL: ${e}. Please provide a valid base URL.`,{cause:r})}}function wT(e,r="/api/auth"){if(FRe(e),NRe(e))return e;let a=e.replace(/\/+$/,"");if(!r||r==="/")return a;return r=r.startsWith("/")?r:`/${r}`,`${a}${r}`}function Mie(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 vie(e,r,a,i,f){if(e)return wT(e,r);if(i!==!1){let c=MM.BETTER_AUTH_URL||MM.NEXT_PUBLIC_BETTER_AUTH_URL||MM.PUBLIC_BETTER_AUTH_URL||MM.NUXT_PUBLIC_BETTER_AUTH_URL||MM.NUXT_PUBLIC_AUTH_URL||(MM.BASE_URL!=="/"?MM.BASE_URL:void 0);if(c)return wT(c,r)}let s=a?.headers.get("x-forwarded-host"),l=a?.headers.get("x-forwarded-proto");if(s&&l&&f){if(Mie(l,"proto")&&Mie(s,"host"))try{return wT(`${l}://${s}`,r)}catch(c){}}if(a){let c=BRe(a.url);if(!c)throw new I1("Could not get origin from request. Please provide a valid base URL.");return wT(c,r)}if(typeof window<"u"&&window.location)return wT(window.location.origin,r)}function BRe(e){try{let r=new URL(e);return r.origin==="null"?null:r.origin}catch{return null}}var YRe={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*:/},URe=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/,xie={true:!0,false:!1,null:null,undefined:void 0,nan:NaN,infinity:Number.POSITIVE_INFINITY,"-infinity":Number.NEGATIVE_INFINITY},qRe=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,7}))?(?:Z|([+-])(\d{2}):(\d{2}))$/;function VRe(e){return e instanceof Date&&!isNaN(e.getTime())}function HRe(e){let r=qRe.exec(e);if(!r)return null;let[,a,i,f,s,l,c,m,g,M,x]=r,b=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 y=(parseInt(M,10)*60+parseInt(x,10))*(g==="+"?-1:1);b.setUTCMinutes(b.getUTCMinutes()+y)}return VRe(b)?b:null}function WRe(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 xie)return xie[c];if(!URe.test(l)){if(a)throw SyntaxError("[better-json] Invalid JSON");return e}if(Object.entries(YRe).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 x=HRe(M);if(x)return x}return f?f(g,M):M})}catch(m){if(a)throw m;return e}}function yie(e,r={strict:!0}){return WRe(e,r)}var bie={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 Bd=[],N8=0,sN=null,lN=4,GRe=globalThis.nanostoresGlobal||={epoch:0},KRe=()=>{let e;for(N8=0;N8<Bd.length;N8+=lN)try{Bd[N8](Bd[N8+1].value,Bd[N8+2],Bd[N8+3])}catch(r){e=r}if(Bd.length=0,e)throw e};var zT=(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=N8+lN;s<Bd.length;)if(Bd[s]===i)Bd.splice(s,lN);else s+=lN;let f=r.indexOf(i);if(~f){if(r.splice(f,1),!--a.lc)a.off()}}},notify(i,f){GRe.epoch++;let s=!Bd.length&&!sN;for(let l of r){if(sN?.has(l))continue;sN?.add(l),Bd.push(l,a,i,sN?void 0:f)}if(s)KRe()},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 XRe=5,cN=6,uN=10,QRe=(e,r,a,i)=>{if(e.events=e.events||{},!e.events[a+uN])e.events[a+uN]=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+uN](),delete e.events[a+uN]}};var _ie=1000,ST=(e,r)=>QRe(e,(i)=>{let f=r(i);if(f)e.events[cN].push(f)},XRe,(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[cN]=[],e.off=()=>{s(),setTimeout(()=>{if(e.active&&!e.lc){e.active=!1;for(let l of e.events[cN])l();e.events[cN]=[]}},_ie)},()=>{e.listen=f,e.off=s}});function fU(e,r){let a=JRe(r),i=e;for(let f of a){if(i==null)return;i=i[f]}return i}var wie=/(.*)\[(\d+)\]/;function JRe(e){return e.split(".").flatMap((r)=>zie(r))}function zie(e){if(wie.test(e)){let[,r,a]=e.match(wie);return[...zie(r),a]}return[e]}function sU(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]||fU(f,c)!==fU(s,c)):i.has(l)||i.has(l.split(/\.|\[/)[0]))a(f,s,l)})}var $Re=()=>typeof window>"u",Sie=(e,r,a,i)=>{let f=zT({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:x}=M,b=typeof x.retry==="number"?x.retry:x.retry?.attempts,y=x.retryAttempt||0;if(b&&y<b)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 x=f.get();f.set({isPending:x.data===null,data:x.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($Re())return;if(l)await s();else ST(f,()=>{let m=setTimeout(async()=>{if(!l)l=!0,await s()},0);return()=>{f.off(),c.off(),clearTimeout(m)}})});return f};var lU=Symbol.for("better-auth:broadcast-channel"),ePe=()=>Math.floor(Date.now()/1000),tPe=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:ePe()}))}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 dN(e="better-auth.message"){if(!globalThis[lU])globalThis[lU]=new tPe(e);return globalThis[lU]}var cU=Symbol.for("better-auth:focus-manager"),rPe=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 uU(){if(!globalThis[cU])globalThis[cU]=new rPe;return globalThis[cU]}var dU=Symbol.for("better-auth:online-manager"),oPe=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 ZN(){if(!globalThis[dU])globalThis[dU]=new oPe;return globalThis[dU]}var C1=()=>Math.floor(Date.now()/1000);function Lie(e){if(typeof e==="object"&&e!==null&&"data"in e&&"error"in e)return e;return{data:e,error:null}}var aPe=5;function kie(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||ZN().isOnline,M=(I)=>{if(!g())return;if(I?.event==="storage"){m.lastSync=C1(),a.set(!a.get());return}let Y=r.get(),W=()=>{m.lastSessionRequest=C1(),i("/get-session").then(async(X)=>{let{data:J,error:ee}=Lie(X);if(J?.needsRefresh)try{let ne=await i("/get-session",{method:"POST"});({data:J,error:ee}=Lie(ne))}catch{}let ae=J?.session&&J?.user?J:null;r.set({...Y,data:ae,error:ee}),m.lastSync=C1(),a.set(!a.get())}).catch(()=>{})};if(I?.event==="poll"){W();return}if(I?.event==="visibilitychange"){if(C1()-m.lastSessionRequest<aPe)return;m.lastSessionRequest=C1()}if(I?.event==="visibilitychange"){W();return}if(Y?.data===null||Y?.data===void 0)m.lastSync=C1(),a.set(!a.get())},x=(I)=>{dN().post({event:"session",data:{trigger:I},clientId:Math.random().toString(36).substring(7)})},b=()=>{if(s&&s>0)m.pollInterval=setInterval(()=>{if(r.get()?.data)M({event:"poll"})},s*1000)},y=()=>{m.unsubscribeBroadcast=dN().subscribe(()=>{M({event:"storage"})})},_=()=>{if(!l)return;m.unsubscribeFocus=uU().subscribe(()=>{M({event:"visibilitychange"})})},z=()=>{m.unsubscribeOnline=ZN().subscribe((I)=>{if(I)M({event:"visibilitychange"})})};return{init:()=>{b(),y(),_(),z(),dN().setup(),uU().setup(),ZN().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:x}}function Iie(e,r){let a=zT(!1),i=Sie(a,"/get-session",e,{method:"GET"}),f=()=>{};return ST(i,()=>{let s=kie({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 ZU(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 pU(e,r,a=".",i){if(!ZU(r))return pU(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(ZU(l)&&ZU(f[s]))f[s]=pU(l,f[s],(a?`${a}.`:"")+s.toString(),i);else f[s]=l}return f}function mU(e){return(...r)=>r.reduce((a,i)=>pU(a,i,"",e),{})}var Cie=mU(),GXo=mU((e,r,a)=>{if(e[r]!==void 0&&typeof a==="function")return e[r]=a(e[r]),!0}),KXo=mU((e,r,a)=>{if(Array.isArray(e[r])&&typeof a==="function")return e[r]=a(e[r]),!0});var{defineProperty:nPe,defineProperties:iPe,getOwnPropertyDescriptors:fPe,getOwnPropertySymbols:Rie}=Object,sPe=Object.prototype.hasOwnProperty,lPe=Object.prototype.propertyIsEnumerable,Pie=(e,r,a)=>(r in e)?nPe(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,Ud=(e,r)=>{for(var a in r||(r={}))if(sPe.call(r,a))Pie(e,a,r[a]);if(Rie){for(var a of Rie(r))if(lPe.call(r,a))Pie(e,a,r[a])}return e},DZ=(e,r)=>iPe(e,fPe(r)),cPe=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)}},uPe=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 x=await((a=M.init)==null?void 0:a.call(M,e.toString(),r));m=x.options||m,e=x.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}},Tie=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}},dPe=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 ZPe(e){if(typeof e==="number")return new Tie({type:"linear",attempts:e,delay:1000});switch(e.type){case"linear":return new Tie(e);case"exponential":return new dPe(e);default:throw Error("Invalid retry strategy")}}var pPe=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},mPe=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function hPe(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(mPe.test(i))return"json";if(a.has(i)||i.startsWith("text/"))return"text";return"blob"}function gPe(e){try{return JSON.parse(e),!0}catch(r){return!1}}function hU(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 Aie(e){try{return JSON.parse(e)}catch(r){return e}}function Die(e){return typeof e==="function"}function MPe(e){if(e==null?void 0:e.customFetchImpl)return e.customFetchImpl;if(typeof globalThis<"u"&&Die(globalThis.fetch))return globalThis.fetch;if(typeof window<"u"&&Die(window.fetch))return window.fetch;throw Error("No fetch implementation found")}async function vPe(e){let r=new Headers(e==null?void 0:e.headers),a=await pPe(e);for(let[i,f]of Object.entries(a||{}))r.set(i,f);if(!r.has("content-type")){let i=xPe(e==null?void 0:e.body);if(i)r.set("content-type",i)}return r}function xPe(e){if(hU(e))return"application/json";return null}function yPe(e){if(!(e==null?void 0:e.body))return null;let r=new Headers(e==null?void 0:e.headers);if(hU(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(hU(e.body))return new URLSearchParams(e.body).toString();return e.body}return e.body}function bPe(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(!Eie.includes(i))return(r==null?void 0:r.body)?"POST":"GET";return i.toUpperCase()}return(r==null?void 0:r.body)?"POST":"GET"}function _Pe(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 wPe=class e extends Error{constructor(r,a){super(a||JSON.stringify(r,null,2));this.issues=r,Object.setPrototypeOf(this,e.prototype)}};async function pN(e,r){let a=await e["~standard"].validate(r);if(a.issues)throw new wPe(a.issues);return a.value}var Eie=["get","post","put","patch","delete"];var zPe=(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=DZ(Ud({},a),{method:g.method,output:g.output});if(!(a==null?void 0:a.disableValidation))M=DZ(Ud({},M),{body:g.input?await pN(g.input,a==null?void 0:a.body):a==null?void 0:a.body,params:g.params?await pN(g.params,a==null?void 0:a.params):a==null?void 0:a.params,query:g.query?await pN(g.query,a==null?void 0:a.query):a==null?void 0:a.query});return{url:r,options:M}}}return{url:r,options:a}}}),Oie=(e)=>{async function r(a,i){let f=DZ(Ud(Ud({},e),i),{plugins:[...(e==null?void 0:e.plugins)||[],zPe(e||{}),...(i==null?void 0:i.plugins)||[]]});if(e==null?void 0:e.catchAllError)try{return await gU(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 gU(a,f)}return r};function SPe(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 x=e.toString().split("@")[1].split("/")[0];if(Eie.includes(x))e=e.replace(`@${x}/`,"/")}if(!s.endsWith("/"))s+="/";let[l,c]=e.replace(s,"").split("?"),m=new URLSearchParams(c);for(let[x,b]of Object.entries(f||{})){if(b==null)continue;let y;if(typeof b==="string")y=b;else if(Array.isArray(b)){for(let _ of b)m.append(x,_);continue}else y=JSON.stringify(b);m.set(x,y)}if(i)if(Array.isArray(i)){let x=l.split("/").filter((b)=>b.startsWith(":"));for(let[b,y]of x.entries()){let _=i[b];l=l.replace(y,_)}}else for(let[x,b]of Object.entries(i))l=l.replace(`:${x}`,String(b));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 gU=async(e,r)=>{var a,i,f,s,l,c,m,g;let{hooks:M,url:x,options:b}=await uPe(e,r),y=MPe(b),_=new AbortController,z=(a=b.signal)!=null?a:_.signal,F=SPe(x,b),k=yPe(b),I=await vPe(b),Y=bPe(x,b),W=DZ(Ud({},b),{url:F,headers:I,body:k,method:Y,signal:z});for(let ye of M.onRequest)if(ye){let Ve=await ye(W);if(typeof Ve==="object"&&Ve!==null)W=Ve}if("pipeTo"in W&&typeof W.pipeTo==="function"||typeof((i=r==null?void 0:r.body)==null?void 0:i.pipe)==="function"){if(!("duplex"in W))W.duplex="half"}let{clearTimeout:X}=_Pe(b,_),J=await y(W.url,W);X();let ee={response:J,request:W};for(let ye of M.onResponse)if(ye){let Ve=await ye(DZ(Ud({},ee),{response:((f=r==null?void 0:r.hookOptions)==null?void 0:f.cloneResponse)?J.clone():J}));if(Ve instanceof Response)J=Ve;else if(typeof Ve==="object"&&Ve!==null)J=Ve.response}if(J.ok){if(W.method==="HEAD")return{data:"",error:null};let Ve=hPe(J),dt={data:null,response:J,request:W};if(Ve==="json"||Ve==="text"){let lt=await J.text(),pt=(s=W.jsonParser)!=null?s:Aie;dt.data=await pt(lt)}else dt.data=await J[Ve]();if(W==null?void 0:W.output){if(W.output&&!W.disableValidation)dt.data=await pN(W.output,dt.data)}for(let lt of M.onSuccess)if(lt)await lt(DZ(Ud({},dt),{response:((l=r==null?void 0:r.hookOptions)==null?void 0:l.cloneResponse)?J.clone():J}));if(r==null?void 0:r.throw)return dt.data;return{data:dt.data,error:null}}let ae=(c=r==null?void 0:r.jsonParser)!=null?c:Aie,ne=await J.text(),xe=gPe(ne),Qe=xe?await ae(ne):null,Fe={response:J,responseText:ne,request:W,error:DZ(Ud({},Qe),{status:J.status,statusText:J.statusText})};for(let ye of M.onError)if(ye)await ye(DZ(Ud({},Fe),{response:((m=r==null?void 0:r.hookOptions)==null?void 0:m.cloneResponse)?J.clone():J}));if(r==null?void 0:r.retry){let ye=ZPe(r.retry),Ve=(g=r.retryAttempt)!=null?g:0;if(await ye.shouldAttemptRetry(Ve,J)){for(let lt of M.onRetry)if(lt)await lt(ee);let dt=ye.getDelay(Ve);return await new Promise((lt)=>setTimeout(lt,dt)),await gU(e,DZ(Ud({},r),{retryAttempt:Ve+1}))}}if(r==null?void 0:r.throw)throw new cPe(J.status,J.statusText,xe?Qe:ne);return{data:null,error:DZ(Ud({},Qe),{status:J.status,statusText:J.statusText})}};var LPe=(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{}}},jie=(e,r)=>{let a="credentials"in Request.prototype,i=vie(e?.baseURL,e?.basePath,void 0,r)??LPe(e?.basePath)??"/api/auth",f=e?.plugins?.flatMap((X)=>X.fetchPlugins).filter((X)=>X!==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||{},x=Oie({baseURL:i,...a?{credentials:"include"}:{},method:"GET",jsonParser(X){if(!X)return null;return yie(X,{strict:!1})},customFetchImpl:fetch,...M,plugins:[s,...M.plugins||[],...e?.disableDefaultFetchPlugins?[]:[bie],...f]}),{$sessionSignal:b,session:y,broadcastSessionUpdate:_}=Iie(x,e),z=e?.plugins||[],F={},k={$sessionSignal:b,session:y},I={"/sign-out":"POST","/revoke-sessions":"POST","/revoke-other-sessions":"POST","/delete-user":"POST"},Y=[{signal:"$sessionSignal",matcher(X){return X==="/sign-out"||X==="/update-user"||X==="/update-session"||X==="/sign-up/email"||X==="/sign-in/email"||X==="/delete-user"||X==="/verify-email"||X==="/revoke-sessions"||X==="/revoke-session"||X==="/revoke-other-sessions"||X==="/change-email"||X==="/change-password"},callback(X){if(X==="/sign-out")_("signout");else if(X==="/update-user"||X==="/update-session")_("updateUser")}}];for(let X of z){if(X.getAtoms)Object.assign(k,X.getAtoms?.(x));if(X.pathMethods)Object.assign(I,X.pathMethods);if(X.atomListeners)Y.push(...X.atomListeners)}let W={notify:(X)=>{k[X].set(!k[X].get())},listen:(X,J)=>{k[X].subscribe(J)},atoms:k};for(let X of z)if(X.getActions)F=Cie(X.getActions?.(x,W,e)??{},F);return{get baseURL(){return i},pluginsActions:F,pluginsAtoms:k,pluginPathMethods:I,atomListeners:Y,$fetch:x,$store:W}};function Nie(e){return typeof e==="object"&&e!==null&&"get"in e&&typeof e.get==="function"&&"lc"in e&&typeof e.lc==="number"}function kPe(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 Fie(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 x of g)if(M&&typeof M==="object"&&x in M)M=M[x];else{M=void 0;break}if(typeof M==="function")return M;if(Nie(M))return M;return s(g)},apply:async(c,m,g)=>{let M="/"+l.map((I)=>I.replace(/[A-Z]/g,(Y)=>`-${Y.toLowerCase()}`)).join("/"),x=g[0]||{},b=g[1]||{},{query:y,fetchOptions:_,...z}=x,F={...b,..._},k=kPe(M,a,x);return await r(M,{...F,body:k==="GET"?void 0:{...z,...F?.body||{}},query:y||F?.query,method:k,async onSuccess(I){if(await F?.onSuccess?.(I),!f||F.disableSignal)return;let Y=f.filter((X)=>X.matcher(M));if(!Y.length)return;let W=new Set;for(let X of Y){let J=i[X.signal];if(!J)return;if(W.has(X.signal))continue;W.add(X.signal);let ee=J.get();setTimeout(()=>{J.set(!ee)},10),X.callback?.(M)}}})}})}return s()}C();function Bie(e,r={}){let a=v(e.get()),{keys:i,deps:f=[e,i]}=r,s=N((c)=>{let m=(g)=>{if(a.current===g)return;a.current=g,c()};if(m(e.value),i?.length)return sU(e,i,m);return e.listen(m)},f),l=()=>a.current;return Fn(s,l,l)}function Yie(e){return e.charAt(0).toUpperCase()+e.slice(1)}function IPe(e){return`use${Yie(e)}`}function Uie(e){let{pluginPathMethods:r,pluginsActions:a,pluginsAtoms:i,$fetch:f,$store:s,atomListeners:l}=jie(e),c={};for(let[m,g]of Object.entries(i))c[IPe(m)]=()=>Bie(g);return Fie({...a,...c,$fetch:f,$store:s},f,r,i,l)}var CPe=Uie({baseURL:window.location.origin}),{signIn:qie,signUp:Vie,useSession:yQo,signOut:Hie,resetPassword:Hp}=CPe;var Wie="0.4.3";var hN={};var rfe=["en","zh"];var yU=["cookie","globalVariable","baseLocale"],Gie=[],bU=[{pattern:":protocol://:domain(.*)::port?/:path(.*)?",localized:[["zh",":protocol://:domain(.*)::port?/zh/:path(.*)?"],["en",":protocol://:domain(.*)::port?/:path(.*)?"]]}];var gN=void 0;var gL=typeof window>"u",d=void 0;var ofe=!0,afe=!1,nfe=!0,RPe=!1,_U=!0,ife=!1;globalThis.__paraglide=globalThis.__paraglide??{};globalThis.__paraglide.ssr=globalThis.__paraglide.ssr??{};var MN,Kie=!1,n=()=>{if(d!==void 0)return d;if(gN){let a=gN?.getStore()?.locale;if(a)return a}let e=yU;if(!gL&&typeof window<"u"&&window.location?.href)e=dfe(window.location.href);let r=PPe(e,typeof window<"u"?window.location?.href:void 0);if(r){if(!Kie)MN=r,Kie=!0,ui(r,{reload:!1});return r}throw Error("No locale found. Read the docs https://paraglidejs.com/errors#no-locale-found")};function PPe(e,r){let a;for(let i of e){if(ofe&&i==="cookie")a=OPe();else if(i==="baseLocale")a="en";else if(afe&&i==="url"&&!gL&&typeof r==="string")a=lfe(r);else if(nfe&&i==="globalVariable"&&MN!==void 0)a=MN;else if(RPe&&i==="preferredLanguage"&&!gL)a=jPe();else if(ife&&i==="localStorage"&&!gL)a=localStorage.getItem("PARAGLIDE_LOCALE")??void 0;else if(Zfe(i)&&zN.has(i)){let s=zN.get(i);if(s){let l=s.getLocale();if(l instanceof Promise)continue;if(l!==void 0)return sfe(l)}}let f=F8(a);if(f)return f}return}var TPe=(e)=>{if(e)window.location.href=e;else window.location.reload()},ui=(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=yU;if(!gL&&typeof window<"u"&&window.location?.href)l=dfe(window.location.href);for(let m of l)if(nfe&&m==="globalVariable")MN=e;else if(ofe&&m==="cookie"){if(gL||typeof document>"u"||typeof window>"u")continue;let g=`PARAGLIDE_LOCALE=${e}; path=/; max-age=34560000`;document.cookie=g,xU()}else if(m==="baseLocale")continue;else if(afe&&m==="url"&&typeof window<"u")s=FPe(window.location.href,{locale:e}).href;else if(ife&&m==="localStorage"&&typeof window<"u")localStorage.setItem("PARAGLIDE_LOCALE",e);else if(Zfe(m)&&zN.has(m)){let g=zN.get(m);if(g){let M=g.setLocale(e);if(M instanceof Promise)M=M.catch((x)=>{throw Error(`Custom strategy "${m}" setLocale failed.`,{cause:x})}),f.push(M)}}let c=()=>{if(!gL&&a.reload&&window.location&&e!==i)TPe(s)};if(f.length)return Promise.all(f).then(()=>{c()});c();return};var ffe=()=>{if(gN)return gN.getStore()?.origin??"http://fallback.com";else if(typeof window<"u")return window.location.origin;return"http://fallback.com"};function F8(e){if(typeof e!=="string")return;let r=e.toLowerCase();for(let a of rfe)if(a.toLowerCase()===r)return a;return}function sfe(e){let r=F8(e);if(r)return r;throw Error(`Invalid locale: ${e}. Expected one of: ${rfe.join(", ")}`)}function au(e){return e}function R1(e,r){return e.exec(r.href)}var APe="PARAGLIDE_LOCALE".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),DPe=new RegExp(`(?:^|;\\s*)${APe}=([^;]*)`),wU=Symbol(),LT=wU;function xU(){LT=wU}function EPe(){if(typeof queueMicrotask==="function")queueMicrotask(xU);else Promise.resolve().then(xU)}function OPe(){if(typeof document>"u")return;if(LT!==wU)return LT;let r=document.cookie.match(DPe)?.[1];return LT=F8(r),EPe(),LT}function jPe(){if(!navigator?.languages?.length)return;let e=navigator.languages.map((r)=>({fullTag:r,baseTag:r.split("-")[0]}));for(let r of e){let a=F8(r.fullTag);if(a)return a;let i=F8(r.baseTag);if(i)return i}return}var Xie,Qie;function lfe(e){let r=typeof e==="string"?e:e.href;if(Xie===r)return Qie;let a;if(_U){let i=typeof e==="string"?new URL(e,"http://example.com"):new URL(e);a=NPe(au(i))}else{let i=au(typeof e==="string"?new URL(e):new URL(e));for(let f of bU){for(let[s,l]of f.localized)if(R1(new hN(l,i.href),i)){a=s;break}if(a)break}}return Xie=r,Qie=a,a}function NPe(e){let a=new URL(e,"http://example.com").pathname.split("/").filter(Boolean);return F8(a[0])||"en"}function FPe(e,r){let a=r?.locale?sfe(r?.locale):n();if(_U)return BPe(e,a);let i=typeof e==="string"?new URL(e):e,f=i;for(let s of bU){let l=HPe(f,a,s);if(l!==void 0)return l;for(let[,m]of s.localized){let g=R1(bN(m,f),f);if(!g)continue;let M=s.localized.find(([b])=>b===a)?.[1];if(!M)continue;let x=xN(M,yN(g),f.origin);return au(vN(x,g))}let c=R1(bN(s.pattern,f),f);if(c){let m=s.localized.find(([g])=>g===a)?.[1];if(m){let g=xN(m,yN(c),f.origin);return au(vN(g,c))}}}return i}function BPe(e,r){let a=au(typeof e==="string"?new URL(e,ffe()):new URL(e));if(lfe(a)===r)return au(a);let f=a.pathname.split("/").filter(Boolean);if(f.length>0&&F8(f[0]))f.shift();if(r==="en")a.pathname="/"+f.join("/");else a.pathname="/"+r+"/"+f.join("/");return au(a)}function YPe(e){if(_U)return UPe(e);let r=typeof e==="string"?new URL(e):e,a=r;for(let i of bU){let f=WPe(a,i);if(f!==void 0)return f;for(let[,l]of i.localized){let c=R1(bN(l,a),a);if(c){let m=yN(c),g=xN(i.pattern,m,a.origin);return au(vN(g,c))}}let s=R1(bN(i.pattern,a),a);if(s){let l=xN(i.pattern,yN(s),a.origin);return au(vN(l,s))}}return r}function UPe(e){let r=au(typeof e==="string"?new URL(e,ffe()):new URL(e)),a=r.pathname.split("/").filter(Boolean);if(a.length>0&&F8(a[0]))r.pathname="/"+a.slice(1).join("/");return au(r)}function vN(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 xN(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 x=r[m];if(x===null)return"";if(M==="?")return x!==void 0?`${c}${x}`:"";if(M==="+"||M==="*"){if(x===void 0&&M==="+")throw Error(`Missing value for "${m}" (one or more required)`);return x?`${c}${x}`:""}if(x===void 0)throw Error(`Missing value for "${m}"`);return`${c}${x}`});return s=s.replace(/#PORT-(\d+)#/g,":$1"),new URL(s,a)}function yN(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 hL=new Map,qPe=128,VPe=/^(?:[A-Za-z][A-Za-z\d+.-]*|:[A-Za-z][A-Za-z\d_-]*):\/\//;function bN(e,r){let a=VPe.test(e),i=e.startsWith("/");if(!a&&!i)return new hN(e,r.href);let f=a?e:JSON.stringify([r.origin,e]),s=hL.get(f);if(s!==void 0)return hL.delete(f),hL.set(f,s),s;let l=new hN(e,r.href);if(hL.size>=qPe){let c=hL.keys().next().value;if(c!==void 0)hL.delete(c)}return hL.set(f,l),l}var mN=new WeakMap;function HPe(e,r,a){let i=cfe(a);if(i===null)return;for(let s of i.localized){let l=_N(s.pattern,e);if(l===void 0)continue;let c=i.localized.find((m)=>m.locale===r)?.pattern;if(c===void 0)continue;return wN(c,l,e)}let f=_N(i.base,e);if(f!==void 0){let s=i.localized.find((l)=>l.locale===r)?.pattern;if(s!==void 0)return wN(s,f,e)}return}function WPe(e,r){let a=cfe(r);if(a===null)return;for(let f of a.localized){let s=_N(f.pattern,e);if(s!==void 0)return wN(a.base,s,e)}let i=_N(a.base,e);if(i!==void 0)return wN(a.base,i,e);return}function cfe(e){let r=mN.get(e);if(r!==void 0)return r;let a=Jie(e.pattern);if(a===void 0)return mN.set(e,null),null;let i=[];for(let[s,l]of e.localized){let c=Jie(l);if(c===void 0||c.pathMode!==a.pathMode)return mN.set(e,null),null;i.push({locale:s,pattern:c})}let f={base:a,localized:i};return mN.set(e,f),f}function Jie(e){let r=e.match(/\/:path(?:\(\.\*\)(?:\?)?|\*)$/);if(r===null||r.index===void 0)return;let a=e.slice(0,r.index),i=GPe(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 GPe(e){if(e===""||e.startsWith("/")){if(MU(e))return;return{protocol:void 0,hostname:void 0,port:void 0,pathnamePrefix:vU(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&&MU(r[2]))return;return{protocol:void 0,hostname:(c[1]??"").toLowerCase(),port:c[2],pathnamePrefix:vU(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&&MU(f))return;return{protocol:`${a[1]}:`,hostname:(s[1]??"").toLowerCase(),port:KPe(s[2],`${a[1]}:`),pathnamePrefix:vU(f??""),pathMode:"catch-all-optional"}}function KPe(e,r){if(e==="80"&&r==="http:")return"";if(e==="443"&&r==="https:")return"";return e}function MU(e){return/[:(){}?*+]/.test(e)}function vU(e){if(e===""||e==="/")return"/";return e.endsWith("/")?e.slice(0,-1):e}function _N(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??ufe(e.protocol??r.protocol))!==r.port)return}let a=e.pathnamePrefix;if(a==="/"){if(r.pathname.startsWith("//"))return;if(e.pathMode==="segments")return $ie(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"&&!$ie(i))return;return i}return}function $ie(e){return e.length>1&&!e.endsWith("/")&&!e.includes("//")}function ufe(e){if(e==="http:")return"";if(e==="https:")return"";return""}function wN(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??ufe(i.protocol);return i.pathname=XPe(e.pathnamePrefix,r),i}function XPe(e,r){if(e==="/")return r===""?"/":r;if(r==="")return e;return`${e}${r.startsWith("/")?r:`/${r}`}`}var efe,tfe;function QPe(e){if(Gie.length===0)return;let r=typeof e==="string"?e:e.href;if(efe===r)return tfe;let a=au(new URL(r,"http://example.com")),i=YPe(a),f=i.href===a.href?[a]:[a,i],s;for(let l of f){for(let c of Gie){let m=new hN(c.match,l.href);if(R1(m,l)){s=c;break}}if(s)break}return efe=r,tfe=s,s}function dfe(e){let r=QPe(e);if(r&&r.exclude!==!0&&Array.isArray(r.strategy))return r.strategy;return yU}var zN=new Map;function Zfe(e){return typeof e==="string"&&/^custom-[A-Za-z0-9_-]+$/.test(e)}var JPe=()=>"Access Denied",$Pe=()=>"访问被拒绝",Lg=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Pe(e);return JPe(e)};var eTe=()=>"Action",tTe=()=>"操作",Bg=(e={},r={})=>{if((d??r.locale??n())==="zh")return tTe(e);return eTe(e)};var rTe=()=>"Actions",oTe=()=>"操作",Ug=(e={},r={})=>{if((d??r.locale??n())==="zh")return oTe(e);return rTe(e)};var aTe=()=>"Active",nTe=()=>"启用",zg=(e={},r={})=>{if((d??r.locale??n())==="zh")return nTe(e);return aTe(e)};var iTe=()=>"active",fTe=()=>"个激活",Fg=(e={},r={})=>{if((d??r.locale??n())==="zh")return fTe(e);return iTe(e)};var sTe=()=>"Activity",lTe=()=>"活动",cTe=(e={},r={})=>{if((d??r.locale??n())==="zh")return lTe(e);return sTe(e)};var uTe=()=>"Activity Notifications",dTe=()=>"活动通知",jg=(e={},r={})=>{if((d??r.locale??n())==="zh")return dTe(e);return uTe(e)};var ZTe=()=>"Receive in-app updates for comments, uploads, and automated background analysis tasks inside this project.",pTe=()=>"接收此项目中评论、上传及自动后台分析任务的应用内通知。",qg=(e={},r={})=>{if((d??r.locale??n())==="zh")return pTe(e);return ZTe(e)};var mTe=()=>"Add",hTe=()=>"添加",jd=(e={},r={})=>{if((d??r.locale??n())==="zh")return hTe(e);return mTe(e)};var gTe=()=>"Add Assets",MTe=()=>"添加资产",pfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return MTe(e);return gTe(e)};var vTe=()=>"+ Add condition",xTe=()=>"+ 添加条件",Hg=(e={},r={})=>{if((d??r.locale??n())==="zh")return xTe(e);return vTe(e)};var yTe=()=>"Add Domain",bTe=()=>"添加域名",Gg=(e={},r={})=>{if((d??r.locale??n())==="zh")return bTe(e);return yTe(e)};var _Te=()=>"Add your first AI provider to get started.",wTe=()=>"添加您的第一个 AI 提供商以开始使用。",$g=(e={},r={})=>{if((d??r.locale??n())==="zh")return wTe(e);return _Te(e)};var zTe=()=>"Add Image Block",STe=()=>"添加图片块",Gp=(e={},r={})=>{if((d??r.locale??n())==="zh")return STe(e);return zTe(e)};var LTe=()=>"Add MCP Server",kTe=()=>"添加 MCP 服务",qd=(e={},r={})=>{if((d??r.locale??n())==="zh")return kTe(e);return LTe(e)};var ITe=()=>"Add an MCP server to extend your AI agent tools.",CTe=()=>"添加 MCP 服务以扩展 AI Agent 的工具能力。",Qg=(e={},r={})=>{if((d??r.locale??n())==="zh")return CTe(e);return ITe(e)};var RTe=()=>"Add Members from Other Projects",PTe=()=>"从其他项目添加成员",Vg=(e={},r={})=>{if((d??r.locale??n())==="zh")return PTe(e);return RTe(e)};var TTe=()=>"Project-scoped members who currently do not have access to this project.",ATe=()=>"当前无权访问此项目的项目成员。",Kg=(e={},r={})=>{if((d??r.locale??n())==="zh")return ATe(e);return TTe(e)};var DTe=()=>"Add Model",ETe=()=>"添加模型",ku=(e={},r={})=>{if((d??r.locale??n())==="zh")return ETe(e);return DTe(e)};var OTe=()=>"Add New Provider",jTe=()=>"添加新提供商",Wg=(e={},r={})=>{if((d??r.locale??n())==="zh")return jTe(e);return OTe(e)};var NTe=()=>"Add New Skill",FTe=()=>"添加新技能",Yg=(e={},r={})=>{if((d??r.locale??n())==="zh")return FTe(e);return NTe(e)};var BTe=()=>"Add option",YTe=()=>"添加选项",Pu=(e={},r={})=>{if((d??r.locale??n())==="zh")return YTe(e);return BTe(e)};var UTe=(e)=>`Add options: ${e?.name}`,qTe=(e)=>`添加选项:${e?.name}`,$p=(e,r={})=>{if((d??r.locale??n())==="zh")return qTe(e);return UTe(e)};var VTe=()=>"Add Provider",HTe=()=>"添加提供商",Qp=(e={},r={})=>{if((d??r.locale??n())==="zh")return HTe(e);return VTe(e)};var WTe=()=>"Add Quota",GTe=()=>"添加配额",Vp=(e={},r={})=>{if((d??r.locale??n())==="zh")return GTe(e);return WTe(e)};var KTe=()=>"Add Skill",XTe=()=>"添加技能",Jg=(e={},r={})=>{if((d??r.locale??n())==="zh")return XTe(e);return KTe(e)};var QTe=()=>"Add a skill via GitHub URL or upload a ZIP file to get started.",JTe=()=>"通过 GitHub URL 添加技能或上传 ZIP 文件以开始使用。",Xg=(e={},r={})=>{if((d??r.locale??n())==="zh")return JTe(e);return QTe(e)};var $Te=()=>"Customize Team Member Role",eAe=()=>"自定义团队成员在项目的角色",eA=(e={},r={})=>{if((d??r.locale??n())==="zh")return eAe(e);return $Te(e)};var tAe=()=>"Team members already have access to all projects with their default team role. Set a custom role for this specific project here.",rAe=()=>"团队成员默认使用其团队角色访问所有项目。您可以在此为其设置独立的项目角色。",tA=(e={},r={})=>{if((d??r.locale??n())==="zh")return rAe(e);return tAe(e)};var oAe=()=>"Add Text Block",aAe=()=>"添加文本块",Hd=(e={},r={})=>{if((d??r.locale??n())==="zh")return aAe(e);return oAe(e)};var nAe=()=>"Add to Project",iAe=()=>"添加到项目",rA=(e={},r={})=>{if((d??r.locale??n())==="zh")return iAe(e);return nAe(e)};var fAe=()=>"Add to Share Links",sAe=()=>"添加到分享链接",Kp=(e={},r={})=>{if((d??r.locale??n())==="zh")return sAe(e);return fAe(e)};var lAe=()=>"Add Variable",cAe=()=>"添加变量",nA=(e={},r={})=>{if((d??r.locale??n())==="zh")return cAe(e);return lAe(e)};var uAe=(e)=>`Added ${e?.name} successfully`,dAe=(e)=>`已成功添加 ${e?.name}`,Wp=(e,r={})=>{if((d??r.locale??n())==="zh")return dAe(e);return uAe(e)};var ZAe=()=>"Agent Avatar",pAe=()=>"智能体头像",oA=(e={},r={})=>{if((d??r.locale??n())==="zh")return pAe(e);return ZAe(e)};var mAe=()=>"Agent created successfully",hAe=()=>"智能体创建成功",aA=(e={},r={})=>{if((d??r.locale??n())==="zh")return hAe(e);return mAe(e)};var gAe=()=>"Agent deleted successfully",MAe=()=>"智能体删除成功",sA=(e={},r={})=>{if((d??r.locale??n())==="zh")return MAe(e);return gAe(e)};var vAe=()=>"Step-by-step execution trace of the agent's background tasks and tool calls.",xAe=()=>"智能体后台任务和工具调用的逐步执行跟踪。",iA=(e={},r={})=>{if((d??r.locale??n())==="zh")return xAe(e);return vAe(e)};var yAe=()=>"Agent Name",bAe=()=>"智能体名称",lA=(e={},r={})=>{if((d??r.locale??n())==="zh")return bAe(e);return yAe(e)};var _Ae=()=>"e.g., Support Assistant",wAe=()=>"例如:支持助手",cA=(e={},r={})=>{if((d??r.locale??n())==="zh")return wAe(e);return _Ae(e)};var zAe=()=>"Agent Sandbox",SAe=()=>"智能体沙箱",uA=(e={},r={})=>{if((d??r.locale??n())==="zh")return SAe(e);return zAe(e)};var LAe=()=>"Agent Sandbox Settings",kAe=()=>"智能体沙箱设置",dA=(e={},r={})=>{if((d??r.locale??n())==="zh")return kAe(e);return LAe(e)};var IAe=()=>"Agent Session Logs",CAe=()=>"智能体会话日志",fA=(e={},r={})=>{if((d??r.locale??n())==="zh")return CAe(e);return IAe(e)};var RAe=()=>"Agent Soul (Personality)",PAe=()=>"智能体灵魂(个性)",pA=(e={},r={})=>{if((d??r.locale??n())==="zh")return PAe(e);return RAe(e)};var TAe=()=>"Describe the agent's personality, tone, and behavior...",AAe=()=>"描述智能体的个性、语调和行为...",mA=(e={},r={})=>{if((d??r.locale??n())==="zh")return AAe(e);return TAe(e)};var DAe=()=>"Allows the agent to run terminal/shell commands in a highly isolated environment.",EAe=()=>"允许智能体在高度隔离的环境中运行终端/命令行命令。",hA=(e={},r={})=>{if((d??r.locale??n())==="zh")return EAe(e);return DAe(e)};var OAe=()=>"Sandboxed Terminal",jAe=()=>"沙箱终端",gA=(e={},r={})=>{if((d??r.locale??n())==="zh")return jAe(e);return OAe(e)};var NAe=()=>"Allows the agent to create files in Shumai, either by uploading a local file or by providing the file name and content directly.",FAe=()=>"允许智能体在 Shumai 中创建文件,既可以通过上传本地文件,也可以直接提供文件名和内容。",AA=(e={},r={})=>{if((d??r.locale??n())==="zh")return FAe(e);return NAe(e)};var BAe=()=>"Create File",YAe=()=>"创建文件",Yp=(e={},r={})=>{if((d??r.locale??n())==="zh")return YAe(e);return BAe(e)};var UAe=()=>"Allows the agent to create new folders in Shumai.",qAe=()=>"允许智能体在 Shumai 中创建新文件夹。",yA=(e={},r={})=>{if((d??r.locale??n())==="zh")return qAe(e);return UAe(e)};var VAe=()=>"Create Folder",HAe=()=>"创建文件夹",Jp=(e={},r={})=>{if((d??r.locale??n())==="zh")return HAe(e);return VAe(e)};var WAe=()=>"Allows the agent to upload and stack a new version of an existing file in Shumai.",GAe=()=>"允许智能体在 Shumai 中为已有文件上传并叠加新版本。",_A=(e={},r={})=>{if((d??r.locale??n())==="zh")return GAe(e);return WAe(e)};var KAe=()=>"Create Version",XAe=()=>"创建版本",Xp=(e={},r={})=>{if((d??r.locale??n())==="zh")return XAe(e);return KAe(e)};var QAe=()=>"Allows the agent to delete a single file or folder in Shumai.",JAe=()=>"允许智能体在 Shumai 中删除单个文件或文件夹。",bA=(e={},r={})=>{if((d??r.locale??n())==="zh")return JAe(e);return QAe(e)};var $Ae=()=>"Delete Asset",e2e=()=>"删除资产",em=(e={},r={})=>{if((d??r.locale??n())==="zh")return e2e(e);return $Ae(e)};var t2e=()=>"Allows the agent to generate images from prompts and reference images using configured AI image models.",r2e=()=>"允许智能体使用已配置的 AI 图片模型根据提示词和参考图片生成图片。",vA=(e={},r={})=>{if((d??r.locale??n())==="zh")return r2e(e);return t2e(e)};var o2e=()=>"Generate Image",a2e=()=>"生成图片",tm=(e={},r={})=>{if((d??r.locale??n())==="zh")return a2e(e);return o2e(e)};var n2e=()=>"Allows the agent to generate videos from text, images, or frame sequences using configured AI video models.",i2e=()=>"允许智能体使用已配置的 AI 视频模型根据提示词、图片或首尾帧生成视频。",wA=(e={},r={})=>{if((d??r.locale??n())==="zh")return i2e(e);return n2e(e)};var f2e=()=>"Generate Video",s2e=()=>"生成视频",rm=(e={},r={})=>{if((d??r.locale??n())==="zh")return s2e(e);return f2e(e)};var l2e=()=>"Allows the agent to list folders and browse files in Shumai.",c2e=()=>"允许智能体列出文件夹并浏览 Shumai 中的文件。",xA=(e={},r={})=>{if((d??r.locale??n())==="zh")return c2e(e);return l2e(e)};var u2e=()=>"Browse Shumai",d2e=()=>"浏览 Shumai",nm=(e={},r={})=>{if((d??r.locale??n())==="zh")return d2e(e);return u2e(e)};var Z2e=()=>"Allows the agent to move one or more assets to another folder in Shumai.",p2e=()=>"允许智能体将一个或多个资产移动到 Shumai 中的其他文件夹。",SA=(e={},r={})=>{if((d??r.locale??n())==="zh")return p2e(e);return Z2e(e)};var m2e=()=>"Move Assets",h2e=()=>"移动资产",om=(e={},r={})=>{if((d??r.locale??n())==="zh")return h2e(e);return m2e(e)};var g2e=()=>"Allows the agent to view and inspect images, video frames, and document pages.",M2e=()=>"允许智能体查看和分析图片、视频画面和文档页面。",CA=(e={},r={})=>{if((d??r.locale??n())==="zh")return M2e(e);return g2e(e)};var v2e=()=>"Read Asset",x2e=()=>"读取资源",am=(e={},r={})=>{if((d??r.locale??n())==="zh")return x2e(e);return v2e(e)};var y2e=()=>"Allows the agent to load and read skill definitions to perform specialized actions.",b2e=()=>"允许智能体加载和读取技能定义以执行特定操作。",EA=(e={},r={})=>{if((d??r.locale??n())==="zh")return b2e(e);return y2e(e)};var _2e=()=>"Read Skills",w2e=()=>"读取技能",IA=(e={},r={})=>{if((d??r.locale??n())==="zh")return w2e(e);return _2e(e)};var z2e=()=>"Allows the agent to rename an existing file or folder in Shumai.",S2e=()=>"允许智能体在 Shumai 中重命名现有的文件或文件夹。",TA=(e={},r={})=>{if((d??r.locale??n())==="zh")return S2e(e);return z2e(e)};var L2e=()=>"Rename Asset",k2e=()=>"重命名资产",sm=(e={},r={})=>{if((d??r.locale??n())==="zh")return k2e(e);return L2e(e)};var I2e=()=>"Tools",C2e=()=>"工具",MA=(e={},r={})=>{if((d??r.locale??n())==="zh")return C2e(e);return I2e(e)};var R2e=()=>"Configure which tools the agent is permitted to use.",P2e=()=>"配置允许智能体使用的工具。",RA=(e={},r={})=>{if((d??r.locale??n())==="zh")return P2e(e);return R2e(e)};var T2e=()=>"Agent Type",A2e=()=>"智能体类型",kA=(e={},r={})=>{if((d??r.locale??n())==="zh")return A2e(e);return T2e(e)};var D2e=()=>"Autofill",E2e=()=>"自动填充",im=(e={},r={})=>{if((d??r.locale??n())==="zh")return E2e(e);return D2e(e)};var O2e=()=>"Chat",j2e=()=>"对话",lm=(e={},r={})=>{if((d??r.locale??n())==="zh")return j2e(e);return O2e(e)};var N2e=()=>"Embedding",F2e=()=>"嵌入",cm=(e={},r={})=>{if((d??r.locale??n())==="zh")return F2e(e);return N2e(e)};var B2e=()=>"Agent updated successfully",Y2e=()=>"智能体更新成功",um=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y2e(e);return B2e(e)};var U2e=()=>"Agents",q2e=()=>"智能体",PA=(e={},r={})=>{if((d??r.locale??n())==="zh")return q2e(e);return U2e(e)};var V2e=()=>"Manage AI agents and their personalities.",H2e=()=>"管理 AI 智能体及其个性。",NA=(e={},r={})=>{if((d??r.locale??n())==="zh")return H2e(e);return V2e(e)};var W2e=()=>"AGENTS.md",G2e=()=>"AGENTS.md",OA=(e={},r={})=>{if((d??r.locale??n())==="zh")return G2e(e);return W2e(e)};var K2e=()=>"Loading AGENTS.md...",X2e=()=>"正在加载 AGENTS.md...",DA=(e={},r={})=>{if((d??r.locale??n())==="zh")return X2e(e);return K2e(e)};var Q2e=()=>`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`,J2e=()=>`为在此项目或文件夹中工作的 AI Agent 提供指引和上下文。
71
+
72
+ 当 Agent 在此处工作时,Shumai 会自动加载此文件以及向上追溯至项目根目录各级父文件夹中的 AGENTS.md 文件。
73
+
74
+ 您可以用它来定义:
75
+ - 此项目或文件夹包含的内容
76
+ - Agent 应当遵守的规则
77
+ - 术语、风格或工作流规范
78
+ - 元数据和自动填充的生成方式`,ZA=(e={},r={})=>{if((d??r.locale??n())==="zh")return J2e(e);return Q2e(e)};var $2e=()=>"Only team owners can edit this file.",eDe=()=>"只有团队所有者可以修改此文件。",dm=(e={},r={})=>{if((d??r.locale??n())==="zh")return eDe(e);return $2e(e)};var tDe=()=>"Failed to save",rDe=()=>"保存失败",LA=(e={},r={})=>{if((d??r.locale??n())==="zh")return rDe(e);return tDe(e)};var oDe=()=>"AI",aDe=()=>"AI",BA=(e={},r={})=>{if((d??r.locale??n())==="zh")return aDe(e);return oDe(e)};var nDe=()=>"AI Agents",iDe=()=>"AI 智能体",UA=(e={},r={})=>{if((d??r.locale??n())==="zh")return iDe(e);return nDe(e)};var fDe=()=>"AI Providers",sDe=()=>"AI 提供商",zA=(e={},r={})=>{if((d??r.locale??n())==="zh")return sDe(e);return fDe(e)};var lDe=()=>"AI Settings",cDe=()=>"AI 设置",FA=(e={},r={})=>{if((d??r.locale??n())==="zh")return cDe(e);return lDe(e)};var uDe=()=>"AI Token Usage",dDe=()=>"AI Token 用量",jA=(e={},r={})=>{if((d??r.locale??n())==="zh")return dDe(e);return uDe(e)};var ZDe=()=>"Monitor AI token consumption and estimated costs for your team and members.",pDe=()=>"查看并监控团队及成员的 AI Token 消耗与预估费用。",qA=(e={},r={})=>{if((d??r.locale??n())==="zh")return pDe(e);return ZDe(e)};var mDe=()=>"All",hDe=()=>"全部",gDe=(e={},r={})=>{if((d??r.locale??n())==="zh")return hDe(e);return mDe(e)};var MDe=()=>"All Collections",vDe=()=>"所有媒体合集",HA=(e={},r={})=>{if((d??r.locale??n())==="zh")return vDe(e);return MDe(e)};var xDe=(e)=>`All Collections (${e?.count})`,yDe=(e)=>`所有媒体合集 (${e?.count})`,bDe=(e,r={})=>{if((d??r.locale??n())==="zh")return yDe(e);return xDe(e)};var _De=()=>"All comments",wDe=()=>"所有评论",GA=(e={},r={})=>{if((d??r.locale??n())==="zh")return wDe(e);return _De(e)};var zDe=()=>"All",SDe=()=>"全部",$A=(e={},r={})=>{if((d??r.locale??n())==="zh")return SDe(e);return zDe(e)};var LDe=()=>"All Projects",kDe=()=>"所有项目",IDe=(e={},r={})=>{if((d??r.locale??n())==="zh")return kDe(e);return LDe(e)};var CDe=()=>"All resolutions",RDe=()=>"所有分辨率",QA=(e={},r={})=>{if((d??r.locale??n())==="zh")return RDe(e);return CDe(e)};var PDe=()=>"Generates all supported resolutions up to the source quality.",TDe=()=>"生成不超过源质量的所有支持分辨率。",VA=(e={},r={})=>{if((d??r.locale??n())==="zh")return TDe(e);return PDe(e)};var ADe=()=>"All Share Links",DDe=()=>"所有分享链接",KA=(e={},r={})=>{if((d??r.locale??n())==="zh")return DDe(e);return ADe(e)};var EDe=(e)=>`All Share Links (${e?.count})`,ODe=(e)=>`所有分享链接 (${e?.count})`,jDe=(e,r={})=>{if((d??r.locale??n())==="zh")return ODe(e);return EDe(e)};var NDe=()=>"All Tasks",FDe=()=>"所有任务",fm=(e={},r={})=>{if((d??r.locale??n())==="zh")return FDe(e);return NDe(e)};var BDe=()=>"Allow download",YDe=()=>"允许下载",WA=(e={},r={})=>{if((d??r.locale??n())==="zh")return YDe(e);return BDe(e)};var UDe=()=>"Visitors can download files from this share link",qDe=()=>"访客可以从该分享链接下载文件",YA=(e={},r={})=>{if((d??r.locale??n())==="zh")return qDe(e);return UDe(e)};var VDe=()=>"Allowed Domains",HDe=()=>"允许的域名",JA=(e={},r={})=>{if((d??r.locale??n())==="zh")return HDe(e);return VDe(e)};var WDe=()=>"Already have an account? ",GDe=()=>"已有账户?",mfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return GDe(e);return WDe(e)};var KDe=()=>"An unknown error occurred",XDe=()=>"发生了未知错误",Nu=(e={},r={})=>{if((d??r.locale??n())==="zh")return XDe(e);return KDe(e)};var QDe=()=>"API Key",JDe=()=>"API 密钥",Ou=(e={},r={})=>{if((d??r.locale??n())==="zh")return JDe(e);return QDe(e)};var $De=()=>"You can provide a literal value (e.g. sk-...) or an Environment variable name (e.g. MY_API_KEY).",eEe=()=>"您可以提供一个字面值(例如 sk-...)或环境变量名称(例如 MY_API_KEY)。",pm=(e={},r={})=>{if((d??r.locale??n())==="zh")return eEe(e);return $De(e)};var tEe=(e)=>`Enter an API key or an environment variable name (e.g. ${e?.envKey}). Leave empty to restore default environment variable.`,rEe=(e)=>`输入 API 密钥或环境变量名(例如 ${e?.envKey})。留空将恢复默认环境变量。`,XA=(e,r={})=>{if((d??r.locale??n())==="zh")return rEe(e);return tEe(e)};var oEe=(e)=>`Leave empty to use default env var (${e?.envKey})`,aEe=(e)=>`留空以使用默认环境变量 (${e?.envKey})`,ey=(e,r={})=>{if((d??r.locale??n())==="zh")return aEe(e);return oEe(e)};var nEe=()=>"Enter API Key or Environment Variable",iEe=()=>"输入 API 密钥或环境变量",mm=(e={},r={})=>{if((d??r.locale??n())==="zh")return iEe(e);return nEe(e)};var fEe=()=>"API token generated successfully",sEe=()=>"API 令牌生成成功",ty=(e={},r={})=>{if((d??r.locale??n())==="zh")return sEe(e);return fEe(e)};var lEe=()=>"API token revoked successfully",cEe=()=>"API 令牌已成功撤销",ry=(e={},r={})=>{if((d??r.locale??n())==="zh")return cEe(e);return lEe(e)};var uEe=()=>"API Tokens",dEe=()=>"API 令牌",hm=(e={},r={})=>{if((d??r.locale??n())==="zh")return dEe(e);return uEe(e)};var ZEe=()=>"Generate and manage API tokens. These tokens allow you or your agents to run terminal commands via shumai-cli.",pEe=()=>"生成和管理 API 令牌。这些令牌允许您或您的智能体通过 shumai-cli 运行终端命令。",ny=(e={},r={})=>{if((d??r.locale??n())==="zh")return pEe(e);return ZEe(e)};var mEe=()=>"Appearance",hEe=()=>"外观",oy=(e={},r={})=>{if((d??r.locale??n())==="zh")return hEe(e);return mEe(e)};var gEe=()=>"Apply and Close",MEe=()=>"应用并关闭",ay=(e={},r={})=>{if((d??r.locale??n())==="zh")return MEe(e);return gEe(e)};var vEe=()=>"Approve",xEe=()=>"批准",sy=(e={},r={})=>{if((d??r.locale??n())==="zh")return xEe(e);return vEe(e)};var yEe=()=>"Are you absolutely sure?",bEe=()=>"你确定要这样做吗?",Du=(e={},r={})=>{if((d??r.locale??n())==="zh")return bEe(e);return yEe(e)};var _Ee=()=>"Are you absolutely sure?",wEe=()=>"确定要执行此操作吗?",iy=(e={},r={})=>{if((d??r.locale??n())==="zh")return wEe(e);return _Ee(e)};var zEe=()=>"Ascending",SEe=()=>"升序",Gd=(e={},r={})=>{if((d??r.locale??n())==="zh")return SEe(e);return zEe(e)};var LEe=()=>"Asset linked to task",kEe=()=>"资产已关联到任务",hfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return kEe(e);return LEe(e)};var IEe=()=>"Asset unlinked from task",CEe=()=>"资产已取消关联",gfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return CEe(e);return IEe(e)};var REe=()=>"Assets",PEe=()=>"资源",ly=(e={},r={})=>{if((d??r.locale??n())==="zh")return PEe(e);return REe(e)};var TEe=()=>"Assets added to context:",AEe=()=>"已添加至上下文的资源:",cy=(e={},r={})=>{if((d??r.locale??n())==="zh")return AEe(e);return TEe(e)};var DEe=()=>"Assets & Statuses",EEe=()=>"素材与状态",uy=(e={},r={})=>{if((d??r.locale??n())==="zh")return EEe(e);return DEe(e)};var OEe=()=>"Manage notifications related to file uploads and metadata field status updates.",jEe=()=>"管理与文件上传和元数据字段状态更新相关的通知。",dy=(e={},r={})=>{if((d??r.locale??n())==="zh")return jEe(e);return OEe(e)};var NEe=()=>"Assignee",FEe=()=>"负责人",gm=(e={},r={})=>{if((d??r.locale??n())==="zh")return FEe(e);return NEe(e)};var BEe=()=>"@Mentions",YEe=()=>"@提及",fy=(e={},r={})=>{if((d??r.locale??n())==="zh")return YEe(e);return BEe(e)};var UEe=()=>"Attach files",qEe=()=>"附加文件",py=(e={},r={})=>{if((d??r.locale??n())==="zh")return qEe(e);return UEe(e)};var VEe=()=>"Attachments",HEe=()=>"附件",my=(e={},r={})=>{if((d??r.locale??n())==="zh")return HEe(e);return VEe(e)};var WEe=()=>"Audit Logs",GEe=()=>"审计日志",$d=(e={},r={})=>{if((d??r.locale??n())==="zh")return GEe(e);return WEe(e)};var KEe=()=>"View and monitor all audit logs of team actions.",XEe=()=>"查看并监控团队操作的所有审计日志。",hy=(e={},r={})=>{if((d??r.locale??n())==="zh")return XEe(e);return KEe(e)};var QEe=()=>"Join our community of developers and designers.",JEe=()=>"加入我们的开发者和设计师社区。",$Ee=(e={},r={})=>{if((d??r.locale??n())==="zh")return JEe(e);return QEe(e)};var eOe=()=>"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.",tOe=()=>"上传您的创意资产,添加各种类型的自定义元数据,直接在图片或视频上绘制标注和添加评论,——这一切都在Shumai,一个为创作者打造的一站式平台上完成。",rOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return tOe(e);return eOe(e)};var oOe=()=>"Custom metadata schemas & drawing canvas reviews",aOe=()=>"自定义元数据模式 & 画布标注审阅",nOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return aOe(e);return oOe(e)};var iOe=()=>"Frictionless team workspaces & secure sharing",fOe=()=>"无缝团队工作区 & 安全分享",sOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return fOe(e);return iOe(e)};var lOe=()=>"Instant asset uploads & high-fidelity media players",cOe=()=>"即时资产上传 & 高保真媒体播放器",uOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return cOe(e);return lOe(e)};var dOe=()=>"One workspace for all your creative assets.",ZOe=()=>"一站式创意资产管理协作平台。",pOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return ZOe(e);return dOe(e)};var mOe=()=>"Autofill Agent",hOe=()=>"自动填充智能体",gy=(e={},r={})=>{if((d??r.locale??n())==="zh")return hOe(e);return mOe(e)};var gOe=()=>"Autofill Source",MOe=()=>"自动填充来源",Zu=(e={},r={})=>{if((d??r.locale??n())==="zh")return MOe(e);return gOe(e)};var vOe=()=>"Content",xOe=()=>"文件内容",lc=(e={},r={})=>{if((d??r.locale??n())==="zh")return xOe(e);return vOe(e)};var yOe=()=>"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.",bOe=()=>"设置为“文件内容”的字段将在文件上传后,由 AI 自动分析并从文件的视觉或文本内容中提取填写。注意:需要团队 Owner 先在设置中创建并启用“Autofill Agent”(自动填充 Agent),上传后才会触发内容提取。",Ay=(e={},r={})=>{if((d??r.locale??n())==="zh")return bOe(e);return yOe(e)};var _Oe=()=>"Example: Image subject category, visual color palette, document summary, auto-detected language.",wOe=()=>"示例:图片类别、主色调、文档摘要、自动识别语言。",yy=(e={},r={})=>{if((d??r.locale??n())==="zh")return wOe(e);return _Oe(e)};var zOe=()=>"Creation Context",SOe=()=>"创建上下文",cc=(e={},r={})=>{if((d??r.locale??n())==="zh")return SOe(e);return zOe(e)};var LOe=()=>"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.",kOe=()=>"设置为“创建上下文”的字段用于记录生成资产时的上下文信息(如 Prompt、模型或供应商)。若文件由 Shumai AI Agent 生成/创建,Agent 会在创建时刻自动填入这些字段(无需启用 Autofill Agent);若由真实用户手动上传,则需用户手动填写,不会自动提取。",_y=(e={},r={})=>{if((d??r.locale??n())==="zh")return kOe(e);return LOe(e)};var IOe=()=>"Example: Generation prompt, AI model name, LLM provider, sampler seed parameters.",COe=()=>"示例:生成 Prompt、AI 模型名称、LLM 供应商、采样种子参数。",by=(e={},r={})=>{if((d??r.locale??n())==="zh")return COe(e);return IOe(e)};var ROe=()=>"Understand how each autofill source option works and when to use it.",POe=()=>"了解每种自动填充来源的工作方式及适用场景。",vy=(e={},r={})=>{if((d??r.locale??n())==="zh")return POe(e);return ROe(e)};var TOe=()=>"Autofill Source Guide",AOe=()=>"自动填充来源说明",Qd=(e={},r={})=>{if((d??r.locale??n())==="zh")return AOe(e);return TOe(e)};var DOe=()=>"None",EOe=()=>"无",uc=(e={},r={})=>{if((d??r.locale??n())==="zh")return EOe(e);return DOe(e)};var OOe=()=>"Metadata fields marked as 'None' will not be automatically populated by AI. They are meant for manual user entry.",jOe=()=>"设置为“无”的字段不会由 AI 自动填充,需由用户手动填写。",wy=(e={},r={})=>{if((d??r.locale??n())==="zh")return jOe(e);return OOe(e)};var NOe=()=>"Example: Internal tags, manual notes, status tracking flags.",FOe=()=>"示例:内部标签、手动备注、状态标记。",xy=(e={},r={})=>{if((d??r.locale??n())==="zh")return FOe(e);return NOe(e)};var BOe=()=>"Avatar",YOe=()=>"头像",Sy=(e={},r={})=>{if((d??r.locale??n())==="zh")return YOe(e);return BOe(e)};var UOe=()=>"Avatar removed successfully",qOe=()=>"头像已移除",Cy=(e={},r={})=>{if((d??r.locale??n())==="zh")return qOe(e);return UOe(e)};var VOe=()=>"Avatar Source",HOe=()=>"头像来源",Ey=(e={},r={})=>{if((d??r.locale??n())==="zh")return HOe(e);return VOe(e)};var WOe=()=>"Avatar updated successfully",GOe=()=>"头像更新成功",Iy=(e={},r={})=>{if((d??r.locale??n())==="zh")return GOe(e);return WOe(e)};var KOe=()=>"Back to Chat",XOe=()=>"返回聊天",Ty=(e={},r={})=>{if((d??r.locale??n())==="zh")return XOe(e);return KOe(e)};var QOe=()=>"Base URL (Optional)",JOe=()=>"基础 URL(可选)",Am=(e={},r={})=>{if((d??r.locale??n())==="zh")return JOe(e);return QOe(e)};var $Oe=()=>"Bash Match Wildcard",eje=()=>"Bash 命令通配符",My=(e={},r={})=>{if((d??r.locale??n())==="zh")return eje(e);return $Oe(e)};var tje=()=>"e.g. * or npm*",rje=()=>"例如 * 或 npm*",Ry=(e={},r={})=>{if((d??r.locale??n())==="zh")return rje(e);return tje(e)};var oje=()=>"Best match",aje=()=>"最佳匹配",ky=(e={},r={})=>{if((d??r.locale??n())==="zh")return aje(e);return oje(e)};var nje=()=>"Generates a single optimal resolution matching the source quality.",ije=()=>"生成与源质量匹配的单一最优分辨率。",Py=(e={},r={})=>{if((d??r.locale??n())==="zh")return ije(e);return nje(e)};var fje=()=>"Cache Read Cost (1M)",sje=()=>"缓存读取成本(每百万)",Ny=(e={},r={})=>{if((d??r.locale??n())==="zh")return sje(e);return fje(e)};var lje=()=>"Cache Read Tokens",cje=()=>"缓存读取 Token",ym=(e={},r={})=>{if((d??r.locale??n())==="zh")return cje(e);return lje(e)};var uje=()=>"Cache Write Cost (1M)",dje=()=>"缓存写入成本(每百万)",Oy=(e={},r={})=>{if((d??r.locale??n())==="zh")return dje(e);return uje(e)};var Zje=()=>"Calling Tool:",pje=()=>"调用工具:",Vd=(e={},r={})=>{if((d??r.locale??n())==="zh")return pje(e);return Zje(e)};var mje=()=>"Cancel",hje=()=>"取消",Re=(e={},r={})=>{if((d??r.locale??n())==="zh")return hje(e);return mje(e)};var gje=()=>"Only team owners, task reporters, or assignees can change task status",Mje=()=>"只有负责人、报告人或被指派人可以更改任务状态",Dy=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mje(e);return gje(e)};var vje=()=>"Change",xje=()=>"更改",Zy=(e={},r={})=>{if((d??r.locale??n())==="zh")return xje(e);return vje(e)};var yje=()=>"Change time format",bje=()=>"更改时间格式",Ly=(e={},r={})=>{if((d??r.locale??n())==="zh")return bje(e);return yje(e)};var _je=()=>"Chat Agents",wje=()=>"对话智能体",By=(e={},r={})=>{if((d??r.locale??n())==="zh")return wje(e);return _je(e)};var zje=()=>"Drag and drop files or folders here to add them to chatbot context",Sje=()=>"拖拽文件或文件夹到此处以添加到聊天机器人上下文",_m=(e={},r={})=>{if((d??r.locale??n())==="zh")return Sje(e);return zje(e)};var Lje=()=>"简体中文 (Chinese)",kje=()=>"简体中文 (Chinese)",Uy=(e={},r={})=>{if((d??r.locale??n())==="zh")return kje(e);return Lje(e)};var Ije=()=>"Clear Custom Key",Cje=()=>"清除自定义密钥",zy=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cje(e);return Ije(e)};var Rje=()=>"Clear",Pje=()=>"清除",Fy=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pje(e);return Rje(e)};var Tje=()=>"Clear search",Aje=()=>"清除搜索",jy=(e={},r={})=>{if((d??r.locale??n())==="zh")return Aje(e);return Tje(e)};var Dje=()=>"Click to copy link",Eje=()=>"点击复制链接",qy=(e={},r={})=>{if((d??r.locale??n())==="zh")return Eje(e);return Dje(e)};var Oje=()=>"Close",jje=()=>"关闭",dc=(e={},r={})=>{if((d??r.locale??n())==="zh")return jje(e);return Oje(e)};var Nje=()=>"collection",Fje=()=>"媒体合集",Bje=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fje(e);return Nje(e)};var Yje=()=>"Collection created",Uje=()=>"媒体合集已创建",qje=(e={},r={})=>{if((d??r.locale??n())==="zh")return Uje(e);return Yje(e)};var Vje=()=>"Collection deleted",Hje=()=>"媒体合集已删除",Wje=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hje(e);return Vje(e)};var Gje=()=>"Collection Name",Kje=()=>"媒体合集名称",Hy=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kje(e);return Gje(e)};var Xje=()=>"Collection renamed",Qje=()=>"媒体合集已重命名",Jje=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qje(e);return Xje(e)};var $je=()=>"Collection saved",eNe=()=>"媒体合集已保存",Gy=(e={},r={})=>{if((d??r.locale??n())==="zh")return eNe(e);return $je(e)};var tNe=()=>"Collections",rNe=()=>"媒体合集",oNe=(e={},r={})=>{if((d??r.locale??n())==="zh")return rNe(e);return tNe(e)};var aNe=()=>"Color",nNe=()=>"颜色",$y=(e={},r={})=>{if((d??r.locale??n())==="zh")return nNe(e);return aNe(e)};var iNe=()=>"Write a comment...",fNe=()=>"写下评论...",sNe=(e={},r={})=>{if((d??r.locale??n())==="zh")return fNe(e);return iNe(e)};var lNe=()=>"Comment Replies",cNe=()=>"评论回复",Qy=(e={},r={})=>{if((d??r.locale??n())==="zh")return cNe(e);return lNe(e)};var uNe=()=>"Comments",dNe=()=>"评论",Lu=(e={},r={})=>{if((d??r.locale??n())==="zh")return dNe(e);return uNe(e)};var ZNe=()=>"Comments & Replies",pNe=()=>"评论与回复",Vy=(e={},r={})=>{if((d??r.locale??n())==="zh")return pNe(e);return ZNe(e)};var mNe=()=>"Control notification preferences when other users comment on assets you collaborate on or mention you.",hNe=()=>"控制其他用户对您协作的素材评论或提及您时的通知偏好。",Ky=(e={},r={})=>{if((d??r.locale??n())==="zh")return hNe(e);return mNe(e)};var gNe=()=>"Compare Versions",MNe=()=>"对比版本",vNe=(e={},r={})=>{if((d??r.locale??n())==="zh")return MNe(e);return gNe(e)};var xNe=()=>"Configure your AI agent's personality and capabilities.",yNe=()=>"配置 AI 智能体的个性和功能。",Wy=(e={},r={})=>{if((d??r.locale??n())==="zh")return yNe(e);return xNe(e)};var bNe=()=>"Configure your new project workspace and appearance.",_Ne=()=>"配置您的新项目工作区和外观。",Yy=(e={},r={})=>{if((d??r.locale??n())==="zh")return _Ne(e);return bNe(e)};var wNe=()=>"Configure authentication and model details for your AI provider.",zNe=()=>"配置 AI 提供商的身份验证和模型详情。",bm=(e={},r={})=>{if((d??r.locale??n())==="zh")return zNe(e);return wNe(e)};var SNe=(e)=>`Configure Skill: ${e?.name}`,LNe=(e)=>`配置技能:${e?.name}`,Jy=(e,r={})=>{if((d??r.locale??n())==="zh")return LNe(e);return SNe(e)};var kNe=()=>"Configured AI Providers",INe=()=>"已配置的 AI 提供商",Xy=(e={},r={})=>{if((d??r.locale??n())==="zh")return INe(e);return kNe(e)};var CNe=()=>"Confirm",RNe=()=>"确认",Zs=(e={},r={})=>{if((d??r.locale??n())==="zh")return RNe(e);return CNe(e)};var PNe=()=>"Are you sure you want to delete this field?",TNe=()=>"确定要删除此字段吗?",e0=(e={},r={})=>{if((d??r.locale??n())==="zh")return TNe(e);return PNe(e)};var ANe=()=>"Confirm Download",DNe=()=>"确认下载",vm=(e={},r={})=>{if((d??r.locale??n())==="zh")return DNe(e);return ANe(e)};var ENe=()=>"Confirm Password",ONe=()=>"确认密码",t0=(e={},r={})=>{if((d??r.locale??n())==="zh")return ONe(e);return ENe(e)};var jNe=()=>"Confirm new password",NNe=()=>"确认新密码",r0=(e={},r={})=>{if((d??r.locale??n())==="zh")return NNe(e);return jNe(e)};var FNe=()=>"Contains drawing annotations",BNe=()=>"包含标注绘图",n0=(e={},r={})=>{if((d??r.locale??n())==="zh")return BNe(e);return FNe(e)};var YNe=()=>"Context Window (tokens)",UNe=()=>"上下文窗口(令牌数)",o0=(e={},r={})=>{if((d??r.locale??n())==="zh")return UNe(e);return YNe(e)};var qNe=()=>"Copied!",VNe=()=>"已复制!",a0=(e={},r={})=>{if((d??r.locale??n())==="zh")return VNe(e);return qNe(e)};var HNe=()=>"Copied API token to clipboard",WNe=()=>"已将 API 令牌复制到剪贴板",s0=(e={},r={})=>{if((d??r.locale??n())==="zh")return WNe(e);return HNe(e)};var GNe=()=>"Copied name and download link to clipboard",KNe=()=>"已复制名称和下载链接到剪贴板",i0=(e={},r={})=>{if((d??r.locale??n())==="zh")return KNe(e);return GNe(e)};var XNe=()=>"Copied to clipboard",QNe=()=>"已复制到剪贴板",l0=(e={},r={})=>{if((d??r.locale??n())==="zh")return QNe(e);return XNe(e)};var JNe=()=>"Copy",$Ne=()=>"复制",c0=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Ne(e);return JNe(e)};var e5e=()=>"Copy optimized image to clipboard",t5e=()=>"复制优化图片到剪贴板",u0=(e={},r={})=>{if((d??r.locale??n())==="zh")return t5e(e);return e5e(e)};var r5e=()=>"Copy Link",o5e=()=>"复制链接",d0=(e={},r={})=>{if((d??r.locale??n())==="zh")return o5e(e);return r5e(e)};var a5e=()=>"Copy name and download link",n5e=()=>"复制名称和下载链接",Kd=(e={},r={})=>{if((d??r.locale??n())==="zh")return n5e(e);return a5e(e)};var i5e=()=>"Copy to",f5e=()=>"复制到",wm=(e={},r={})=>{if((d??r.locale??n())==="zh")return f5e(e);return i5e(e)};var s5e=()=>"Cost",l5e=()=>"费用",xm=(e={},r={})=>{if((d??r.locale??n())==="zh")return l5e(e);return s5e(e)};var c5e=(e)=>`$${e?.input}/1M in · $${e?.output}/1M out`,u5e=(e)=>`$${e?.input}/1M 输入 · $${e?.output}/1M 输出`,Sm=(e,r={})=>{if((d??r.locale??n())==="zh")return u5e(e);return c5e(e)};var d5e=()=>"10000+ Assets",Z5e=()=>"10000+ 资源",f0=(e={},r={})=>{if((d??r.locale??n())==="zh")return Z5e(e);return d5e(e)};var p5e=()=>"10000+ Folders",m5e=()=>"10000+ 文件夹",p0=(e={},r={})=>{if((d??r.locale??n())==="zh")return m5e(e);return p5e(e)};var h5e=()=>"Cover Preview",g5e=()=>"封面预览",m0=(e={},r={})=>{if((d??r.locale??n())==="zh")return g5e(e);return h5e(e)};var M5e=()=>"Create",v5e=()=>"创建",fc=(e={},r={})=>{if((d??r.locale??n())==="zh")return v5e(e);return M5e(e)};var x5e=()=>"Create Account",y5e=()=>"创建账户",b5e=(e={},r={})=>{if((d??r.locale??n())==="zh")return y5e(e);return x5e(e)};var _5e=()=>"Create Agent",w5e=()=>"创建智能体",h0=(e={},r={})=>{if((d??r.locale??n())==="zh")return w5e(e);return _5e(e)};var z5e=()=>"Create your first goal to organize related tasks.",S5e=()=>"创建第一个目标来组织相关任务。",g0=(e={},r={})=>{if((d??r.locale??n())==="zh")return S5e(e);return z5e(e)};var L5e=()=>"Create Goal",k5e=()=>"创建目标",A0=(e={},r={})=>{if((d??r.locale??n())==="zh")return k5e(e);return L5e(e)};var I5e=()=>"Create New Project",C5e=()=>"创建新项目",y0=(e={},r={})=>{if((d??r.locale??n())==="zh")return C5e(e);return I5e(e)};var R5e=()=>"Create New Template",P5e=()=>"创建新模板",Cm=(e={},r={})=>{if((d??r.locale??n())==="zh")return P5e(e);return R5e(e)};var T5e=()=>"Create new version",A5e=()=>"创建新版本",_0=(e={},r={})=>{if((d??r.locale??n())==="zh")return A5e(e);return T5e(e)};var D5e=()=>"Create one now",E5e=()=>"立即创建",b0=(e={},r={})=>{if((d??r.locale??n())==="zh")return E5e(e);return D5e(e)};var O5e=()=>"Create Project",j5e=()=>"创建项目",Wd=(e={},r={})=>{if((d??r.locale??n())==="zh")return j5e(e);return O5e(e)};var N5e=()=>"Create Quota Rule",F5e=()=>"创建配额规则",v0=(e={},r={})=>{if((d??r.locale??n())==="zh")return F5e(e);return N5e(e)};var B5e=()=>"Set up a new resource quota to prevent unexpected usage.",Y5e=()=>"设置新的资源配额以防止意外的超量使用。",w0=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y5e(e);return B5e(e)};var U5e=()=>"Create Share Link",q5e=()=>"创建分享链接",Em=(e={},r={})=>{if((d??r.locale??n())==="zh")return q5e(e);return U5e(e)};var V5e=()=>"Create Task",H5e=()=>"创建任务",Yd=(e={},r={})=>{if((d??r.locale??n())==="zh")return H5e(e);return V5e(e)};var W5e=()=>"Create Time",G5e=()=>"创建时间",x0=(e={},r={})=>{if((d??r.locale??n())==="zh")return G5e(e);return W5e(e)};var K5e=(e)=>`Create ${e?.type} Agent`,X5e=(e)=>`创建${e?.type}智能体`,S0=(e,r={})=>{if((d??r.locale??n())==="zh")return X5e(e);return K5e(e)};var Q5e=()=>"Created At",J5e=()=>"创建时间",C0=(e={},r={})=>{if((d??r.locale??n())==="zh")return J5e(e);return Q5e(e)};var $5e=()=>"Created by Agent",e4e=()=>"由智能体创建",E0=(e={},r={})=>{if((d??r.locale??n())==="zh")return e4e(e);return $5e(e)};var t4e=(e)=>`${e?.time} by ${e?.author}`,r4e=(e)=>`${e?.time} 由 ${e?.author} 创建`,I0=(e,r={})=>{if((d??r.locale??n())==="zh")return r4e(e);return t4e(e)};var o4e=()=>"Created Date",a4e=()=>"创建日期",Jd=(e={},r={})=>{if((d??r.locale??n())==="zh")return a4e(e);return o4e(e)};var n4e=()=>"Creating account...",i4e=()=>"创建账户中...",f4e=(e={},r={})=>{if((d??r.locale??n())==="zh")return i4e(e);return n4e(e)};var s4e=()=>"Creator",l4e=()=>"创建者",pc=(e={},r={})=>{if((d??r.locale??n())==="zh")return l4e(e);return s4e(e)};var c4e=()=>"Current Custom Avatar",u4e=()=>"当前自定义头像",T0=(e={},r={})=>{if((d??r.locale??n())==="zh")return u4e(e);return c4e(e)};var d4e=()=>"Current Project",Z4e=()=>"当前项目",p4e=(e={},r={})=>{if((d??r.locale??n())==="zh")return Z4e(e);return d4e(e)};var m4e=()=>"Custom Fields",h4e=()=>"自定义字段",M0=(e={},r={})=>{if((d??r.locale??n())==="zh")return h4e(e);return m4e(e)};var g4e=()=>"Custom Model...",M4e=()=>"自定义模型...",R0=(e={},r={})=>{if((d??r.locale??n())==="zh")return M4e(e);return g4e(e)};var v4e=()=>"Dark",x4e=()=>"深色",y4e=(e={},r={})=>{if((d??r.locale??n())==="zh")return x4e(e);return v4e(e)};var b4e=()=>"Dashboard",_4e=()=>"仪表板",Im=(e={},r={})=>{if((d??r.locale??n())==="zh")return _4e(e);return b4e(e)};var w4e=()=>"MMMM d, yyyy",z4e=()=>"yyyy年M月d日",S4e=(e={},r={})=>{if((d??r.locale??n())==="zh")return z4e(e);return w4e(e)};var L4e=()=>"One month ago",k4e=()=>"一个月前",k0=(e={},r={})=>{if((d??r.locale??n())==="zh")return k4e(e);return L4e(e)};var I4e=()=>"One month from now",C4e=()=>"一个月后",P0=(e={},r={})=>{if((d??r.locale??n())==="zh")return C4e(e);return I4e(e)};var R4e=()=>"One week ago",P4e=()=>"一周前",N0=(e={},r={})=>{if((d??r.locale??n())==="zh")return P4e(e);return R4e(e)};var T4e=()=>"One week from now",A4e=()=>"一周后",O0=(e={},r={})=>{if((d??r.locale??n())==="zh")return A4e(e);return T4e(e)};var D4e=()=>"Today",E4e=()=>"今天",D0=(e={},r={})=>{if((d??r.locale??n())==="zh")return E4e(e);return D4e(e)};var O4e=()=>"Tomorrow",j4e=()=>"明天",Z0=(e={},r={})=>{if((d??r.locale??n())==="zh")return j4e(e);return O4e(e)};var N4e=()=>"Date type",F4e=()=>"日期类型",L0=(e={},r={})=>{if((d??r.locale??n())==="zh")return F4e(e);return N4e(e)};var B4e=()=>"Yesterday",Y4e=()=>"昨天",B0=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y4e(e);return B4e(e)};var U4e=(e)=>`Default: ${e?.envKey}`,q4e=(e)=>`默认:${e?.envKey}`,U0=(e,r={})=>{if((d??r.locale??n())==="zh")return q4e(e);return U4e(e)};var V4e=()=>"Default Value",H4e=()=>"默认值",z0=(e={},r={})=>{if((d??r.locale??n())==="zh")return H4e(e);return V4e(e)};var W4e=()=>"Delete",G4e=()=>"删除",at=(e={},r={})=>{if((d??r.locale??n())==="zh")return G4e(e);return W4e(e)};var K4e=()=>"Delete Agent",X4e=()=>"删除智能体",F0=(e={},r={})=>{if((d??r.locale??n())==="zh")return X4e(e);return K4e(e)};var Q4e=(e)=>`This action cannot be undone. This will permanently delete the agent "${e?.name}" and remove all its data from our servers.`,J4e=(e)=>`此操作无法撤销。这将永久删除智能体 "${e?.name}" 并从服务器上删除其所有数据。`,j0=(e,r={})=>{if((d??r.locale??n())==="zh")return J4e(e);return Q4e(e)};var $4e=()=>"Deleted items can be recovered for 30 days before being permanently deleted.",eFe=()=>"已删除的项目可在 30 天内恢复,之后将被永久删除。",mc=(e={},r={})=>{if((d??r.locale??n())==="zh")return eFe(e);return $4e(e)};var tFe=()=>"Delete Asset?",rFe=()=>"删除资源?",hc=(e={},r={})=>{if((d??r.locale??n())==="zh")return rFe(e);return tFe(e)};var oFe=()=>"Delete Collection?",aFe=()=>"删除媒体合集?",nFe=(e={},r={})=>{if((d??r.locale??n())==="zh")return aFe(e);return oFe(e)};var iFe=()=>"Delete Comment?",fFe=()=>"删除评论?",Tm=(e={},r={})=>{if((d??r.locale??n())==="zh")return fFe(e);return iFe(e)};var sFe=()=>"Are you sure you want to delete this comment? This action cannot be undone.",lFe=()=>"您确定要删除这条评论吗?此操作将无法撤回。",Mm=(e={},r={})=>{if((d??r.locale??n())==="zh")return lFe(e);return sFe(e)};var cFe=(e)=>`Are you sure you want to delete this ${e?.type}? This action cannot be undone.`,uFe=(e)=>`确定要删除此${e?.type}吗?此操作无法撤销。`,dFe=(e,r={})=>{if((d??r.locale??n())==="zh")return uFe(e);return cFe(e)};var ZFe=()=>"Delete field",pFe=()=>"删除字段",q0=(e={},r={})=>{if((d??r.locale??n())==="zh")return pFe(e);return ZFe(e)};var mFe=()=>"Delete Folder?",hFe=()=>"删除文件夹?",gFe=(e={},r={})=>{if((d??r.locale??n())==="zh")return hFe(e);return mFe(e)};var MFe=()=>"Delete Goal",vFe=()=>"删除目标",H0=(e={},r={})=>{if((d??r.locale??n())==="zh")return vFe(e);return MFe(e)};var xFe=(e)=>`Are you sure you want to delete goal "${e?.title}"? Associated tasks will remain but will no longer be linked to this goal.`,yFe=(e)=>`确定要删除目标"${e?.title}"吗?关联的任务仍将保留,但不再关联此目标。`,G0=(e,r={})=>{if((d??r.locale??n())==="zh")return yFe(e);return xFe(e)};var bFe=()=>"Delete MCP Server",_Fe=()=>"删除 MCP 服务",$0=(e={},r={})=>{if((d??r.locale??n())==="zh")return _Fe(e);return bFe(e)};var wFe=(e)=>`This action cannot be undone. This will permanently delete the MCP server "${e?.name}".`,zFe=(e)=>`此操作无法撤销。这将永久删除 MCP 服务 "${e?.name}"。`,Q0=(e,r={})=>{if((d??r.locale??n())==="zh")return zFe(e);return wFe(e)};var SFe=(e)=>`This action cannot be undone. This will permanently delete the model "${e?.name}".`,LFe=(e)=>`此操作无法撤销。这将永久删除模型 "${e?.name}"。`,V0=(e,r={})=>{if((d??r.locale??n())==="zh")return LFe(e);return SFe(e)};var kFe=()=>"delete",IFe=()=>"delete",K0=(e={},r={})=>{if((d??r.locale??n())==="zh")return IFe(e);return kFe(e)};var CFe=(e)=>`This action cannot be undone. This will permanently delete the project "${e?.name}" and all its assets.`,RFe=(e)=>`此操作无法撤销。这将永久删除项目 "${e?.name}" 及其所有资产。`,W0=(e,r={})=>{if((d??r.locale??n())==="zh")return RFe(e);return CFe(e)};var PFe=(e)=>`This action cannot be undone. This will permanently delete the provider "${e?.name}" and all associated model configurations.`,TFe=(e)=>`此操作无法撤销。这将永久删除提供商 "${e?.name}" 及所有关联的模型配置。`,Y0=(e,r={})=>{if((d??r.locale??n())==="zh")return TFe(e);return PFe(e)};var AFe=()=>"Delete Quota",DFe=()=>"删除配额",Xd=(e={},r={})=>{if((d??r.locale??n())==="zh")return DFe(e);return AFe(e)};var EFe=()=>"Are you sure you want to delete this quota rule? This action cannot be undone.",OFe=()=>"确定要删除此配额规则吗?此操作无法撤销。",Rm=(e={},r={})=>{if((d??r.locale??n())==="zh")return OFe(e);return EFe(e)};var jFe=()=>"Delete Session",NFe=()=>"删除会话",J0=(e={},r={})=>{if((d??r.locale??n())==="zh")return NFe(e);return jFe(e)};var FFe=()=>"Are you sure you want to delete this chat session?",BFe=()=>"您确定要删除此会话记录吗?",X0=(e={},r={})=>{if((d??r.locale??n())==="zh")return BFe(e);return FFe(e)};var YFe=()=>"Delete Share Link?",UFe=()=>"删除分享链接?",qFe=(e={},r={})=>{if((d??r.locale??n())==="zh")return UFe(e);return YFe(e)};var VFe=(e)=>`This action cannot be undone. This will permanently delete the skill "${e?.name}" and all its configurations.`,HFe=(e)=>`此操作无法撤销。这将永久删除技能 "${e?.name}" 及其所有配置。`,e_=(e,r={})=>{if((d??r.locale??n())==="zh")return HFe(e);return VFe(e)};var WFe=()=>"Delete Task",GFe=()=>"删除任务",t_=(e={},r={})=>{if((d??r.locale??n())==="zh")return GFe(e);return WFe(e)};var KFe=(e)=>`Are you sure you want to delete task "${e?.title}"? This action cannot be undone.`,XFe=(e)=>`确定要删除任务"${e?.title}"吗?此操作无法撤销。`,r_=(e,r={})=>{if((d??r.locale??n())==="zh")return XFe(e);return KFe(e)};var QFe=()=>"Deleted",JFe=()=>"已删除",n_=(e={},r={})=>{if((d??r.locale??n())==="zh")return JFe(e);return QFe(e)};var $Fe=()=>"Deleting...",e3e=()=>"删除中...",o_=(e={},r={})=>{if((d??r.locale??n())==="zh")return e3e(e);return $Fe(e)};var t3e=()=>"Demo Access:",r3e=()=>"演示访问:",o3e=(e={},r={})=>{if((d??r.locale??n())==="zh")return r3e(e);return t3e(e)};var a3e=()=>'Use "foo@bar.com" as the email and "foo" as the password to login (this demo account is read-only).',n3e=()=>'使用 "foo@bar.com" 作为邮箱,"foo" 作为密码登录(该演示账户为只读)。',i3e=(e={},r={})=>{if((d??r.locale??n())==="zh")return n3e(e);return a3e(e)};var f3e=()=>"Descending",s3e=()=>"降序",ef=(e={},r={})=>{if((d??r.locale??n())==="zh")return s3e(e);return f3e(e)};var l3e=()=>"Description",c3e=()=>"描述",Wi=(e={},r={})=>{if((d??r.locale??n())==="zh")return c3e(e);return l3e(e)};var u3e=()=>"Optional, used for AI autofill",d3e=()=>"可选,用于 AI 自动填充",Bu=(e={},r={})=>{if((d??r.locale??n())==="zh")return d3e(e);return u3e(e)};var Z3e=()=>"Generate and manage API keys for developers and automated workflows.",p3e=()=>"为开发者和自动化工作流生成和管理 API 密钥。",a_=(e={},r={})=>{if((d??r.locale??n())==="zh")return p3e(e);return Z3e(e)};var m3e=()=>"Developer Settings",h3e=()=>"开发者设置",s_=(e={},r={})=>{if((d??r.locale??n())==="zh")return h3e(e);return m3e(e)};var g3e=()=>"Disable Timestamp",M3e=()=>"禁用时间戳",i_=(e={},r={})=>{if((d??r.locale??n())==="zh")return M3e(e);return g3e(e)};var v3e=()=>"Disabled",x3e=()=>"已禁用",tf=(e={},r={})=>{if((d??r.locale??n())==="zh")return x3e(e);return v3e(e)};var y3e=()=>"Display Name (Optional)",b3e=()=>"显示名称(可选)",l_=(e={},r={})=>{if((d??r.locale??n())==="zh")return b3e(e);return y3e(e)};var _3e=()=>"Domain already exists",w3e=()=>"域名已存在",c_=(e={},r={})=>{if((d??r.locale??n())==="zh")return w3e(e);return _3e(e)};var z3e=()=>"Done",S3e=()=>"完成",L3e=(e={},r={})=>{if((d??r.locale??n())==="zh")return S3e(e);return z3e(e)};var k3e=()=>"Download",I3e=()=>"下载",dr=(e={},r={})=>{if((d??r.locale??n())==="zh")return I3e(e);return k3e(e)};var C3e=(e)=>`This download will include ${e?.count} file(s).`,R3e=(e)=>`此下载将包含 ${e?.count} 个文件。`,km=(e,r={})=>{if((d??r.locale??n())==="zh")return R3e(e);return C3e(e)};var P3e=()=>"Download original file",T3e=()=>"下载原始文件",u_=(e={},r={})=>{if((d??r.locale??n())==="zh")return T3e(e);return P3e(e)};var A3e=()=>"Download original image",D3e=()=>"下载原始图片",d_=(e={},r={})=>{if((d??r.locale??n())==="zh")return D3e(e);return A3e(e)};var E3e=()=>"Due Date",O3e=()=>"截止日期",Uu=(e={},r={})=>{if((d??r.locale??n())==="zh")return O3e(e);return E3e(e)};var j3e=()=>"Edit",N3e=()=>"编辑",f_=(e={},r={})=>{if((d??r.locale??n())==="zh")return N3e(e);return j3e(e)};var F3e=()=>"Edit Goal",B3e=()=>"编辑目标",Pm=(e={},r={})=>{if((d??r.locale??n())==="zh")return B3e(e);return F3e(e)};var Y3e=(e)=>`Edit ${e?.name}`,U3e=(e)=>`编辑 ${e?.name}`,Nm=(e,r={})=>{if((d??r.locale??n())==="zh")return U3e(e);return Y3e(e)};var q3e=()=>"Edit MCP Server",V3e=()=>"编辑 MCP 服务",p_=(e={},r={})=>{if((d??r.locale??n())==="zh")return V3e(e);return q3e(e)};var H3e=()=>"Edit Model",W3e=()=>"编辑模型",Om=(e={},r={})=>{if((d??r.locale??n())==="zh")return W3e(e);return H3e(e)};var G3e=()=>"Edit Quota Rule",K3e=()=>"编辑配额规则",m_=(e={},r={})=>{if((d??r.locale??n())==="zh")return K3e(e);return G3e(e)};var X3e=()=>"Configure resource limits, target scopes, and evaluation periods.",Q3e=()=>"配置资源上限、目标范围以及评估周期。",h_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Q3e(e);return X3e(e)};var J3e=()=>"Edit Task",$3e=()=>"编辑任务",eBe=(e={},r={})=>{if((d??r.locale??n())==="zh")return $3e(e);return J3e(e)};var tBe=()=>"Edit Watermark",rBe=()=>"编辑水印",g_=(e={},r={})=>{if((d??r.locale??n())==="zh")return rBe(e);return tBe(e)};var oBe=()=>"Editor",aBe=()=>"创作者",ya=(e={},r={})=>{if((d??r.locale??n())==="zh")return aBe(e);return oBe(e)};var nBe=()=>"Email",iBe=()=>"邮箱",rf=(e={},r={})=>{if((d??r.locale??n())==="zh")return iBe(e);return nBe(e)};var fBe=()=>"Email Address",sBe=()=>"邮箱地址",Mfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return sBe(e);return fBe(e)};var lBe=()=>"john@example.com",cBe=()=>"zhangsan@example.com",A_=(e={},r={})=>{if((d??r.locale??n())==="zh")return cBe(e);return lBe(e)};var uBe=()=>"Email address is managed by authentication provider.",dBe=()=>"邮箱地址由认证提供商管理。",y_=(e={},r={})=>{if((d??r.locale??n())==="zh")return dBe(e);return uBe(e)};var ZBe=()=>"Embedding Agent",pBe=()=>"嵌入智能体",__=(e={},r={})=>{if((d??r.locale??n())==="zh")return pBe(e);return ZBe(e)};var mBe=()=>"All items in the recently deleted folder will be permanently removed both from the database and from storage. This action cannot be undone.",hBe=()=>"回收站中的所有项目将从数据库和存储中永久删除。此操作无法撤销。",b_=(e={},r={})=>{if((d??r.locale??n())==="zh")return hBe(e);return mBe(e)};var gBe=()=>"Empty Trash?",MBe=()=>"清空回收站?",v_=(e={},r={})=>{if((d??r.locale??n())==="zh")return MBe(e);return gBe(e)};var vBe=()=>"Please create and enable an embedding agent in the team settings to use semantic search.",xBe=()=>"请在团队设置中创建并启用嵌入智能体以使用语义搜索。",w_=(e={},r={})=>{if((d??r.locale??n())==="zh")return xBe(e);return vBe(e)};var yBe=()=>"Enable Network Sandbox",bBe=()=>"启用网络沙箱",x_=(e={},r={})=>{if((d??r.locale??n())==="zh")return bBe(e);return yBe(e)};var _Be=()=>"Enable Timestamp",wBe=()=>"启用时间戳",S_=(e={},r={})=>{if((d??r.locale??n())==="zh")return wBe(e);return _Be(e)};var zBe=()=>"Enabled",SBe=()=>"已启用",nf=(e={},r={})=>{if((d??r.locale??n())==="zh")return SBe(e);return zBe(e)};var LBe=()=>"English",kBe=()=>"English",C_=(e={},r={})=>{if((d??r.locale??n())==="zh")return kBe(e);return LBe(e)};var IBe=()=>"Enter a value",CBe=()=>"输入一个值",E_=(e={},r={})=>{if((d??r.locale??n())==="zh")return CBe(e);return IBe(e)};var RBe=()=>"Enter custom model ID",PBe=()=>"输入自定义模型 ID",I_=(e={},r={})=>{if((d??r.locale??n())==="zh")return PBe(e);return RBe(e)};var TBe=()=>"Enter MCP Server ID",ABe=()=>"输入 MCP 服务 ID",Dm=(e={},r={})=>{if((d??r.locale??n())==="zh")return ABe(e);return TBe(e)};var DBe=()=>"Enter new name",EBe=()=>"输入新名称",zu=(e={},r={})=>{if((d??r.locale??n())==="zh")return EBe(e);return DBe(e)};var OBe=()=>"Enter password",jBe=()=>"请输入密码",T_=(e={},r={})=>{if((d??r.locale??n())==="zh")return jBe(e);return OBe(e)};var NBe=()=>"Enter template name...",FBe=()=>"请输入模板名称...",Zm=(e={},r={})=>{if((d??r.locale??n())==="zh")return FBe(e);return NBe(e)};var BBe=()=>"Enter your details",YBe=()=>"输入您的信息",M_=(e={},r={})=>{if((d??r.locale??n())==="zh")return YBe(e);return BBe(e)};var UBe=()=>"Enter your name",qBe=()=>"请输入您的名称",R_=(e={},r={})=>{if((d??r.locale??n())==="zh")return qBe(e);return UBe(e)};var VBe=()=>"Entry ID",HBe=()=>"条目 ID",Fu=(e={},r={})=>{if((d??r.locale??n())==="zh")return HBe(e);return VBe(e)};var WBe=()=>"If left empty, the value will be read from the host machine's environment.",GBe=()=>"如果留空,将从主机的环境中读取值。",k_=(e={},r={})=>{if((d??r.locale??n())==="zh")return GBe(e);return WBe(e)};var KBe=()=>"Error",XBe=()=>"错误",An=(e={},r={})=>{if((d??r.locale??n())==="zh")return XBe(e);return KBe(e)};var QBe=(e)=>`Error: ${e?.message}`,JBe=(e)=>`错误:${e?.message}`,_a=(e,r={})=>{if((d??r.locale??n())==="zh")return JBe(e);return QBe(e)};var $Be=()=>"Essentials",e6e=()=>"基本信息",P_=(e={},r={})=>{if((d??r.locale??n())==="zh")return e6e(e);return $Be(e)};var t6e=()=>"Exact date...",r6e=()=>"精确日期...",N_=(e={},r={})=>{if((d??r.locale??n())==="zh")return r6e(e);return t6e(e)};var o6e=()=>"Exit compare",a6e=()=>"退出对比",O_=(e={},r={})=>{if((d??r.locale??n())==="zh")return a6e(e);return o6e(e)};var n6e=()=>"Expiration Date",i6e=()=>"过期日期",D_=(e={},r={})=>{if((d??r.locale??n())==="zh")return i6e(e);return n6e(e)};var f6e=()=>"Failed to create collection",s6e=()=>"创建媒体合集失败",l6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return s6e(e);return f6e(e)};var c6e=()=>"Failed to create field",u6e=()=>"创建字段失败",of=(e={},r={})=>{if((d??r.locale??n())==="zh")return u6e(e);return c6e(e)};var d6e=()=>"Failed to create project",Z6e=()=>"创建项目失败",Z_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Z6e(e);return d6e(e)};var p6e=()=>"Failed to create share link",m6e=()=>"创建分享链接失败",h6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return m6e(e);return p6e(e)};var g6e=()=>"Failed to delete collection",M6e=()=>"删除媒体合集失败",v6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return M6e(e);return g6e(e)};var x6e=()=>"Failed to delete field",y6e=()=>"删除字段失败",L_=(e={},r={})=>{if((d??r.locale??n())==="zh")return y6e(e);return x6e(e)};var b6e=()=>"Failed to delete folder",_6e=()=>"删除文件夹失败",w6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return _6e(e);return b6e(e)};var z6e=()=>"Failed to delete share link",S6e=()=>"删除分享链接失败",L6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return S6e(e);return z6e(e)};var k6e=()=>"Failed to fetch collections",I6e=()=>"获取媒体合集失败",C6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return I6e(e);return k6e(e)};var R6e=()=>"Failed to fetch fields",P6e=()=>"获取字段列表失败",B_=(e={},r={})=>{if((d??r.locale??n())==="zh")return P6e(e);return R6e(e)};var T6e=()=>"Failed to fetch files",A6e=()=>"获取文件失败",U_=(e={},r={})=>{if((d??r.locale??n())==="zh")return A6e(e);return T6e(e)};var D6e=()=>"Failed to fetch folders",E6e=()=>"获取文件夹失败",z_=(e={},r={})=>{if((d??r.locale??n())==="zh")return E6e(e);return D6e(e)};var O6e=()=>"Failed to fetch share link",j6e=()=>"获取分享链接失败",F_=(e={},r={})=>{if((d??r.locale??n())==="zh")return j6e(e);return O6e(e)};var N6e=()=>"Failed to fetch share links",F6e=()=>"获取分享链接失败",B6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return F6e(e);return N6e(e)};var Y6e=()=>"Failed to load settings.",U6e=()=>"加载设置失败。",Ko=(e={},r={})=>{if((d??r.locale??n())==="zh")return U6e(e);return Y6e(e)};var q6e=()=>"Failed to remove",V6e=()=>"移除失败",j_=(e={},r={})=>{if((d??r.locale??n())==="zh")return V6e(e);return q6e(e)};var H6e=()=>"Failed to remove avatar",W6e=()=>"移除头像失败",q_=(e={},r={})=>{if((d??r.locale??n())==="zh")return W6e(e);return H6e(e)};var G6e=()=>"Failed to rename collection",K6e=()=>"重命名媒体合集失败",X6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return K6e(e);return G6e(e)};var Q6e=()=>"Failed to rename folder",J6e=()=>"重命名文件夹失败",$6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return J6e(e);return Q6e(e)};var eYe=()=>"Failed to rename share link",tYe=()=>"重命名分享链接失败",rYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return tYe(e);return eYe(e)};var oYe=()=>"Failed to save collection",aYe=()=>"保存媒体合集失败",H_=(e={},r={})=>{if((d??r.locale??n())==="zh")return aYe(e);return oYe(e)};var nYe=(e)=>`Failed to add ${e?.name}`,iYe=(e)=>`添加 ${e?.name} 失败`,Lm=(e,r={})=>{if((d??r.locale??n())==="zh")return iYe(e);return nYe(e)};var fYe=()=>"Failed to add model",sYe=()=>"添加模型失败",G_=(e={},r={})=>{if((d??r.locale??n())==="zh")return sYe(e);return fYe(e)};var lYe=()=>"Failed to create quota rule",cYe=()=>"创建配额规则失败",Bm=(e={},r={})=>{if((d??r.locale??n())==="zh")return cYe(e);return lYe(e)};var uYe=()=>"Failed to delete",dYe=()=>"删除失败",di=(e={},r={})=>{if((d??r.locale??n())==="zh")return dYe(e);return uYe(e)};var ZYe=()=>"Failed to delete quota rule",pYe=()=>"删除配额规则失败",ju=(e={},r={})=>{if((d??r.locale??n())==="zh")return pYe(e);return ZYe(e)};var mYe=()=>"Failed to fetch folder children",hYe=()=>"获取子文件夹失败",gYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return hYe(e);return mYe(e)};var MYe=()=>"Failed to generate invite link",vYe=()=>"生成邀请链接失败",$_=(e={},r={})=>{if((d??r.locale??n())==="zh")return vYe(e);return MYe(e)};var xYe=()=>"Failed to generate token",yYe=()=>"生成令牌失败",Q_=(e={},r={})=>{if((d??r.locale??n())==="zh")return yYe(e);return xYe(e)};var bYe=()=>"Failed to install skill",_Ye=()=>"安装技能失败",V_=(e={},r={})=>{if((d??r.locale??n())==="zh")return _Ye(e);return bYe(e)};var wYe=()=>"Failed to load quota usage",zYe=()=>"加载配额使用量失败",Um=(e={},r={})=>{if((d??r.locale??n())==="zh")return zYe(e);return wYe(e)};var SYe=()=>"Failed to post comment",LYe=()=>"发送评论失败",K_=(e={},r={})=>{if((d??r.locale??n())==="zh")return LYe(e);return SYe(e)};var kYe=()=>"Failed to prepare download links",IYe=()=>"准备下载链接失败",vfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return IYe(e);return kYe(e)};var CYe=()=>"Failed to remove member",RYe=()=>"移除成员失败",W_=(e={},r={})=>{if((d??r.locale??n())==="zh")return RYe(e);return CYe(e)};var PYe=()=>"Failed to remove version",TYe=()=>"移除版本失败",AYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return TYe(e);return PYe(e)};var DYe=()=>"Failed to rename",EYe=()=>"重命名失败",Y_=(e={},r={})=>{if((d??r.locale??n())==="zh")return EYe(e);return DYe(e)};var OYe=()=>"Failed to reorder versions",jYe=()=>"版本重新排序失败",NYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return jYe(e);return OYe(e)};var FYe=()=>"Failed to reset quota usage",BYe=()=>"重置配额使用量失败",zm=(e={},r={})=>{if((d??r.locale??n())==="zh")return BYe(e);return FYe(e)};var YYe=()=>"Failed to revoke token",UYe=()=>"撤销令牌失败",J_=(e={},r={})=>{if((d??r.locale??n())==="zh")return UYe(e);return YYe(e)};var qYe=()=>"Failed to update member role",VYe=()=>"更新成员角色失败",X_=(e={},r={})=>{if((d??r.locale??n())==="zh")return VYe(e);return qYe(e)};var HYe=()=>"Failed to update notification settings",WYe=()=>"更新通知设置失败",Fm=(e={},r={})=>{if((d??r.locale??n())==="zh")return WYe(e);return HYe(e)};var GYe=()=>"Failed to update permission",KYe=()=>"更新权限失败",Yi=(e={},r={})=>{if((d??r.locale??n())==="zh")return KYe(e);return GYe(e)};var XYe=()=>"Failed to update provider",QYe=()=>"更新提供商失败",eb=(e={},r={})=>{if((d??r.locale??n())==="zh")return QYe(e);return XYe(e)};var JYe=()=>"Failed to update quota rule",$Ye=()=>"更新配额规则失败",qu=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Ye(e);return JYe(e)};var e7e=()=>"Failed to update sandbox settings",t7e=()=>"更新沙箱设置失败",jm=(e={},r={})=>{if((d??r.locale??n())==="zh")return t7e(e);return e7e(e)};var r7e=()=>"Failed to update",o7e=()=>"更新失败",Ka=(e={},r={})=>{if((d??r.locale??n())==="zh")return o7e(e);return r7e(e)};var a7e=()=>"Failed to update avatar",n7e=()=>"头像更新失败",tb=(e={},r={})=>{if((d??r.locale??n())==="zh")return n7e(e);return a7e(e)};var i7e=()=>"Failed to update field",f7e=()=>"更新字段失败",Ji=(e={},r={})=>{if((d??r.locale??n())==="zh")return f7e(e);return i7e(e)};var s7e=()=>"Failed to update fields order",l7e=()=>"更新字段排序失败",af=(e={},r={})=>{if((d??r.locale??n())==="zh")return l7e(e);return s7e(e)};var c7e=()=>"Failed to update language",u7e=()=>"语言更新失败",rb=(e={},r={})=>{if((d??r.locale??n())==="zh")return u7e(e);return c7e(e)};var d7e=()=>"Failed to update profile",Z7e=()=>"更新个人资料失败",nb=(e={},r={})=>{if((d??r.locale??n())==="zh")return Z7e(e);return d7e(e)};var p7e=()=>"Failed to update project",m7e=()=>"更新项目失败",ob=(e={},r={})=>{if((d??r.locale??n())==="zh")return m7e(e);return p7e(e)};var h7e=()=>"Failed to update project notification settings",g7e=()=>"更新项目通知设置失败",ab=(e={},r={})=>{if((d??r.locale??n())==="zh")return g7e(e);return h7e(e)};var M7e=()=>"Failed to upload file",v7e=()=>"上传文件失败",gc=(e={},r={})=>{if((d??r.locale??n())==="zh")return v7e(e);return M7e(e)};var x7e=()=>"Field",y7e=()=>"字段",sf=(e={},r={})=>{if((d??r.locale??n())==="zh")return y7e(e);return x7e(e)};var b7e=()=>"Created At",_7e=()=>"创建时间",sb=(e={},r={})=>{if((d??r.locale??n())==="zh")return _7e(e);return b7e(e)};var w7e=()=>"Field created successfully",z7e=()=>"字段创建成功",ib=(e={},r={})=>{if((d??r.locale??n())==="zh")return z7e(e);return w7e(e)};var S7e=()=>"Field deleted successfully",L7e=()=>"字段删除成功",lb=(e={},r={})=>{if((d??r.locale??n())==="zh")return L7e(e);return S7e(e)};var k7e=()=>"Field Name",I7e=()=>"字段名称",lf=(e={},r={})=>{if((d??r.locale??n())==="zh")return I7e(e);return k7e(e)};var C7e=()=>"e.g. Status",R7e=()=>"例如:状态",cb=(e={},r={})=>{if((d??r.locale??n())==="zh")return R7e(e);return C7e(e)};var P7e=()=>"Size",T7e=()=>"大小",ub=(e={},r={})=>{if((d??r.locale??n())==="zh")return T7e(e);return P7e(e)};var A7e=()=>"Field Type",D7e=()=>"字段类型",cf=(e={},r={})=>{if((d??r.locale??n())==="zh")return D7e(e);return A7e(e)};var E7e=()=>"Updated At",O7e=()=>"更新时间",db=(e={},r={})=>{if((d??r.locale??n())==="zh")return O7e(e);return E7e(e)};var j7e=()=>"Field updated successfully",N7e=()=>"字段更新成功",fb=(e={},r={})=>{if((d??r.locale??n())==="zh")return N7e(e);return j7e(e)};var F7e=()=>"Fields",B7e=()=>"字段",fi=(e={},r={})=>{if((d??r.locale??n())==="zh")return B7e(e);return F7e(e)};var Y7e=()=>"File size exceeds the 1MB limit",U7e=()=>"文件大小不能超过 1MB",pb=(e={},r={})=>{if((d??r.locale??n())==="zh")return U7e(e);return Y7e(e)};var q7e=()=>"File not found.",V7e=()=>"文件未找到。",qm=(e={},r={})=>{if((d??r.locale??n())==="zh")return V7e(e);return q7e(e)};var H7e=(e)=>`${e?.uploaded} / ${e?.total} files`,W7e=(e)=>`${e?.uploaded} / ${e?.total} 个文件`,xfe=(e,r={})=>{if((d??r.locale??n())==="zh")return W7e(e);return H7e(e)};var G7e=()=>"Filesystem Restriction",K7e=()=>"文件系统限制",mb=(e={},r={})=>{if((d??r.locale??n())==="zh")return K7e(e);return G7e(e)};var X7e=()=>"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.",Q7e=()=>"沙箱 Shell 命令可以读取工作区文件,但环境变量、证书和密钥等敏感文件除外;可以写入项目的 .pi 文件夹和系统临时目录,以及少量由运行时管理的系统路径。这些文件系统规则目前出于安全考虑已硬编码。",hb=(e={},r={})=>{if((d??r.locale??n())==="zh")return Q7e(e);return X7e(e)};var J7e=()=>"and",$7e=()=>"且",gb=(e={},r={})=>{if((d??r.locale??n())==="zh")return $7e(e);return J7e(e)};var eUe=()=>"Filter by Action",tUe=()=>"按操作筛选",Ab=(e={},r={})=>{if((d??r.locale??n())==="zh")return tUe(e);return eUe(e)};var rUe=()=>"Filter by User",oUe=()=>"按用户筛选",yb=(e={},r={})=>{if((d??r.locale??n())==="zh")return oUe(e);return rUe(e)};var aUe=()=>"Search tasks in this status...",nUe=()=>"搜索此状态下的任务...",iUe=(e={},r={})=>{if((d??r.locale??n())==="zh")return nUe(e);return aUe(e)};var fUe=()=>"Where",sUe=()=>"条件",_b=(e={},r={})=>{if((d??r.locale??n())==="zh")return sUe(e);return fUe(e)};var lUe=()=>"Filters",cUe=()=>"筛选条件",bb=(e={},r={})=>{if((d??r.locale??n())==="zh")return cUe(e);return lUe(e)};var uUe=()=>"You will be the owner of the default workspace as the first user!",dUe=()=>"作为第一位用户,您将成为默认工作空间的拥有者!",ZUe=(e={},r={})=>{if((d??r.locale??n())==="zh")return dUe(e);return uUe(e)};var pUe=()=>"Fit",mUe=()=>"适应窗口",uf=(e={},r={})=>{if((d??r.locale??n())==="zh")return mUe(e);return pUe(e)};var hUe=()=>"Folder",gUe=()=>"文件夹",Hm=(e={},r={})=>{if((d??r.locale??n())==="zh")return gUe(e);return hUe(e)};var MUe=()=>"Folder deleted",vUe=()=>"文件夹已删除",xUe=(e={},r={})=>{if((d??r.locale??n())==="zh")return vUe(e);return MUe(e)};var yUe=()=>"Selected folder files will be prepared for download.",bUe=()=>"所选文件夹中的文件将被准备下载。",Gm=(e={},r={})=>{if((d??r.locale??n())==="zh")return bUe(e);return yUe(e)};var _Ue=()=>"Folder name",wUe=()=>"文件夹名称",$m=(e={},r={})=>{if((d??r.locale??n())==="zh")return wUe(e);return _Ue(e)};var zUe=()=>"Folder renamed",SUe=()=>"文件夹已重命名",LUe=(e={},r={})=>{if((d??r.locale??n())==="zh")return SUe(e);return zUe(e)};var kUe=()=>"Folder hierarchy will be flattened. All nested files will be downloaded directly into your default download folder.",IUe=()=>"文件夹层级将被扁平化。所有嵌套文件将直接下载到您的默认下载文件夹中。",Qm=(e={},r={})=>{if((d??r.locale??n())==="zh")return IUe(e);return kUe(e)};var CUe=()=>"Assets",RUe=()=>"资产",yfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return RUe(e);return CUe(e)};var PUe=()=>"Font Size",TUe=()=>"字体大小",vb=(e={},r={})=>{if((d??r.locale??n())==="zh")return TUe(e);return PUe(e)};var AUe=()=>"Format",DUe=()=>"格式",wb=(e={},r={})=>{if((d??r.locale??n())==="zh")return DUe(e);return AUe(e)};var EUe=()=>"Frames",OUe=()=>"帧数",xb=(e={},r={})=>{if((d??r.locale??n())==="zh")return OUe(e);return EUe(e)};var jUe=()=>"Fullscreen",NUe=()=>"全屏",Hu=(e={},r={})=>{if((d??r.locale??n())==="zh")return NUe(e);return jUe(e)};var FUe=()=>"General",BUe=()=>"通用",Sb=(e={},r={})=>{if((d??r.locale??n())==="zh")return BUe(e);return FUe(e)};var YUe=()=>"General Comments",UUe=()=>"普通评论",Cb=(e={},r={})=>{if((d??r.locale??n())==="zh")return UUe(e);return YUe(e)};var qUe=()=>"General Settings",VUe=()=>"通用设置",Vm=(e={},r={})=>{if((d??r.locale??n())==="zh")return VUe(e);return qUe(e)};var HUe=()=>"View your personal information and team role.",WUe=()=>"查看您的个人信息和团队角色。",Eb=(e={},r={})=>{if((d??r.locale??n())==="zh")return WUe(e);return HUe(e)};var GUe=()=>"Generate",KUe=()=>"生成",Ib=(e={},r={})=>{if((d??r.locale??n())==="zh")return KUe(e);return GUe(e)};var XUe=()=>"Generate Link",QUe=()=>"生成链接",Tb=(e={},r={})=>{if((d??r.locale??n())==="zh")return QUe(e);return XUe(e)};var JUe=()=>"GitHub Repository URL",$Ue=()=>"GitHub 仓库 URL",Mb=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Ue(e);return JUe(e)};var eqe=()=>"Example: https://github.com/google/gemini-cli",tqe=()=>"示例:https://github.com/google/gemini-cli",Rb=(e={},r={})=>{if((d??r.locale??n())==="zh")return tqe(e);return eqe(e)};var rqe=()=>"Global API Protocol",oqe=()=>"全局 API 协议",Km=(e={},r={})=>{if((d??r.locale??n())==="zh")return oqe(e);return rqe(e)};var aqe=()=>"Go to Login",nqe=()=>"前往登录",df=(e={},r={})=>{if((d??r.locale??n())==="zh")return nqe(e);return aqe(e)};var iqe=()=>"Goal created",fqe=()=>"目标已创建",kb=(e={},r={})=>{if((d??r.locale??n())==="zh")return fqe(e);return iqe(e)};var sqe=()=>"Goal deleted",lqe=()=>"目标已删除",Pb=(e={},r={})=>{if((d??r.locale??n())==="zh")return lqe(e);return sqe(e)};var cqe=()=>"Goal Description",uqe=()=>"目标描述",Nb=(e={},r={})=>{if((d??r.locale??n())==="zh")return uqe(e);return cqe(e)};var dqe=()=>"Describe the desired outcome and success criteria...",Zqe=()=>"描述预期成果和衡量标准...",Ob=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zqe(e);return dqe(e)};var pqe=()=>"Goal Title",mqe=()=>"目标标题",Db=(e={},r={})=>{if((d??r.locale??n())==="zh")return mqe(e);return pqe(e)};var hqe=()=>"e.g. Q3 Launch Deliverables",gqe=()=>"例如:Q3 发布交付物",Zb=(e={},r={})=>{if((d??r.locale??n())==="zh")return gqe(e);return hqe(e)};var Mqe=()=>"Goal updated",vqe=()=>"目标已更新",Lb=(e={},r={})=>{if((d??r.locale??n())==="zh")return vqe(e);return Mqe(e)};var xqe=()=>"Goals",yqe=()=>"目标",Gu=(e={},r={})=>{if((d??r.locale??n())==="zh")return yqe(e);return xqe(e)};var bqe=()=>"Grid",_qe=()=>"网格",Bb=(e={},r={})=>{if((d??r.locale??n())==="zh")return _qe(e);return bqe(e)};var wqe=()=>"Groups",zqe=()=>"分组",Ub=(e={},r={})=>{if((d??r.locale??n())==="zh")return zqe(e);return wqe(e)};var Sqe=()=>"Hardware Acceleration",Lqe=()=>"硬件加速",zb=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lqe(e);return Sqe(e)};var kqe=()=>"Auto Detect",Iqe=()=>"自动检测",Fb=(e={},r={})=>{if((d??r.locale??n())==="zh")return Iqe(e);return kqe(e)};var Cqe=()=>"Automatically probes and uses GPU/Hardware acceleration (NVENC, QSV, AMF, VideoToolbox). If hardware acceleration is unsupported on the host, video transcoding may fail.",Rqe=()=>"自动检测并使用 GPU/硬件加速(NVENC、QSV、AMF、VideoToolbox)。若宿主硬件不支持加速,视频转码可能会失败。",jb=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rqe(e);return Cqe(e)};var Pqe=()=>"Disabled (Software)",Tqe=()=>"已禁用 (软件编码)",qb=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tqe(e);return Pqe(e)};var Aqe=()=>"Uses software libx264 encoder with constant rate factor (CRF).",Dqe=()=>"使用 CPU 的 libx264 软件编码器及 CRF 恒定画质模式。",Hb=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dqe(e);return Aqe(e)};var Eqe=()=>"Hide Chatbot",Oqe=()=>"隐藏聊天机器人",jqe=(e={},r={})=>{if((d??r.locale??n())==="zh")return Oqe(e);return Eqe(e)};var Nqe=()=>"History",Fqe=()=>"历史记录",Wm=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fqe(e);return Nqe(e)};var Bqe=()=>"Home",Yqe=()=>"主页",Uqe=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yqe(e);return Bqe(e)};var qqe=()=>"Image Asset",Vqe=()=>"图片资源",Gb=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vqe(e);return qqe(e)};var Hqe=(e)=>`${e?.count} enabled`,Wqe=(e)=>`${e?.count} 个已启用`,$b=(e,r={})=>{if((d??r.locale??n())==="zh")return Wqe(e);return Hqe(e)};var Gqe=()=>"[Image Object]",Kqe=()=>"[图片对象]",ff=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kqe(e);return Gqe(e)};var Xqe=()=>"Image Size",Qqe=()=>"图片大小",Qb=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qqe(e);return Xqe(e)};var Jqe=()=>"Image / Video Generation",$qe=()=>"图像与视频生成",Ym=(e={},r={})=>{if((d??r.locale??n())==="zh")return $qe(e);return Jqe(e)};var e9e=()=>"Import a skill from a local ZIP archive or a GitHub repository.",t9e=()=>"从本地 ZIP 压缩包或 GitHub 仓库导入技能。",Vb=(e={},r={})=>{if((d??r.locale??n())==="zh")return t9e(e);return e9e(e)};var r9e=()=>"Input Cost (1M)",o9e=()=>"输入成本(每百万)",Kb=(e={},r={})=>{if((d??r.locale??n())==="zh")return o9e(e);return r9e(e)};var a9e=()=>"Input Tokens",n9e=()=>"输入 Token",Jm=(e={},r={})=>{if((d??r.locale??n())==="zh")return n9e(e);return a9e(e)};var i9e=()=>"Install",f9e=()=>"安装",Wb=(e={},r={})=>{if((d??r.locale??n())==="zh")return f9e(e);return i9e(e)};var s9e=()=>"Invalid credentials",l9e=()=>"凭证无效",c9e=(e={},r={})=>{if((d??r.locale??n())==="zh")return l9e(e);return s9e(e)};var u9e=()=>"Invalid email address",d9e=()=>"无效的邮箱地址",bfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return d9e(e);return u9e(e)};var Z9e=()=>"Invalid or missing reset token.",p9e=()=>"无效或缺失的重置令牌。",pf=(e={},r={})=>{if((d??r.locale??n())==="zh")return p9e(e);return Z9e(e)};var m9e=()=>"Please contact your administrator to generate a new password reset link.",h9e=()=>"请联系管理员生成新的密码重置链接。",Yb=(e={},r={})=>{if((d??r.locale??n())==="zh")return h9e(e);return m9e(e)};var g9e=(e)=>`${e?.inviterName} invited you to join ${e?.targetName} as ${e?.role}.`,M9e=(e)=>`${e?.inviterName} 邀请您加入 ${e?.targetName},角色为 ${e?.role}。`,v9e=(e,r={})=>{if((d??r.locale??n())==="zh")return M9e(e);return g9e(e)};var x9e=()=>"Invite link copied to clipboard",y9e=()=>"邀请链接已复制到剪贴板",Jb=(e={},r={})=>{if((d??r.locale??n())==="zh")return y9e(e);return x9e(e)};var b9e=()=>"Invite New Member",_9e=()=>"邀请新成员",Xb=(e={},r={})=>{if((d??r.locale??n())==="zh")return _9e(e);return b9e(e)};var w9e=()=>"Item ID",z9e=()=>"条目 ID",ev=(e={},r={})=>{if((d??r.locale??n())==="zh")return z9e(e);return w9e(e)};var S9e=()=>"Kanban",L9e=()=>"看板",k9e=(e={},r={})=>{if((d??r.locale??n())==="zh")return L9e(e);return S9e(e)};var I9e=()=>"Kanban Comments",C9e=()=>"看板评论",tv=(e={},r={})=>{if((d??r.locale??n())==="zh")return C9e(e);return I9e(e)};var R9e=()=>"Manage notifications for Kanban board tasks and comments.",P9e=()=>"管理看板任务和评论相关的通知偏好。",rv=(e={},r={})=>{if((d??r.locale??n())==="zh")return P9e(e);return R9e(e)};var T9e=()=>"Kanban Notifications",A9e=()=>"看板通知",nv=(e={},r={})=>{if((d??r.locale??n())==="zh")return A9e(e);return T9e(e)};var D9e=()=>"Kanban Tasks",E9e=()=>"看板任务",ov=(e={},r={})=>{if((d??r.locale??n())==="zh")return E9e(e);return D9e(e)};var O9e=()=>"Language Settings",j9e=()=>"语言设置",av=(e={},r={})=>{if((d??r.locale??n())==="zh")return j9e(e);return O9e(e)};var N9e=()=>"Language updated successfully",F9e=()=>"语言更新成功",sv=(e={},r={})=>{if((d??r.locale??n())==="zh")return F9e(e);return N9e(e)};var B9e=()=>"Light",Y9e=()=>"浅色",U9e=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y9e(e);return B9e(e)};var q9e=()=>"Link copied to clipboard",V9e=()=>"链接已复制到剪贴板",iv=(e={},r={})=>{if((d??r.locale??n())==="zh")return V9e(e);return q9e(e)};var H9e=()=>"Link to Task",W9e=()=>"关联到任务",G9e=(e={},r={})=>{if((d??r.locale??n())==="zh")return W9e(e);return H9e(e)};var K9e=()=>"Link Visibility",X9e=()=>"链接可见性",lv=(e={},r={})=>{if((d??r.locale??n())==="zh")return X9e(e);return K9e(e)};var Q9e=(e)=>`${e?.count} assets`,J9e=(e)=>`${e?.count} 个资产`,cv=(e,r={})=>{if((d??r.locale??n())==="zh")return J9e(e);return Q9e(e)};var $9e=()=>"Linked Tasks",eVe=()=>"关联任务",mf=(e={},r={})=>{if((d??r.locale??n())==="zh")return eVe(e);return $9e(e)};var tVe=()=>"List",rVe=()=>"列表",uv=(e={},r={})=>{if((d??r.locale??n())==="zh")return rVe(e);return tVe(e)};var oVe=()=>"Load Template",aVe=()=>"加载模板",dv=(e={},r={})=>{if((d??r.locale??n())==="zh")return aVe(e);return oVe(e)};var nVe=()=>"Loading...",iVe=()=>"加载中...",$u=(e={},r={})=>{if((d??r.locale??n())==="zh")return iVe(e);return nVe(e)};var fVe=()=>"Loading collection...",sVe=()=>"正在加载媒体合集...",Xm=(e={},r={})=>{if((d??r.locale??n())==="zh")return sVe(e);return fVe(e)};var lVe=()=>"Loading models...",cVe=()=>"正在加载模型...",fv=(e={},r={})=>{if((d??r.locale??n())==="zh")return cVe(e);return lVe(e)};var uVe=()=>"Loading more...",dVe=()=>"加载更多...",pv=(e={},r={})=>{if((d??r.locale??n())==="zh")return dVe(e);return uVe(e)};var ZVe=()=>"Log out",pVe=()=>"退出登录",mVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return pVe(e);return ZVe(e)};var hVe=()=>"Logging in...",gVe=()=>"登录中...",MVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return gVe(e);return hVe(e)};var vVe=()=>"Login",xVe=()=>"登录",_fe=(e={},r={})=>{if((d??r.locale??n())==="zh")return xVe(e);return vVe(e)};var yVe=()=>"Login here",bVe=()=>"在此登录",_Ve=(e={},r={})=>{if((d??r.locale??n())==="zh")return bVe(e);return yVe(e)};var wVe=()=>"Enter your credentials to access your account.",zVe=()=>"输入您的凭证以访问您的账户。",SVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return zVe(e);return wVe(e)};var LVe=()=>"Loop",kVe=()=>"循环",mv=(e={},r={})=>{if((d??r.locale??n())==="zh")return kVe(e);return LVe(e)};var IVe=()=>"Manage environment variables for this skill instance.",CVe=()=>"管理此技能实例的环境变量。",hv=(e={},r={})=>{if((d??r.locale??n())==="zh")return CVe(e);return IVe(e)};var RVe=()=>"Manage Fields",PVe=()=>"管理字段",hf=(e={},r={})=>{if((d??r.locale??n())==="zh")return PVe(e);return RVe(e)};var TVe=()=>"Manage and update your project workspace configurations.",AVe=()=>"管理和更新您的项目工作区配置。",gv=(e={},r={})=>{if((d??r.locale??n())==="zh")return AVe(e);return TVe(e)};var DVe=()=>"Manage versions",EVe=()=>"管理版本",gf=(e={},r={})=>{if((d??r.locale??n())==="zh")return EVe(e);return DVe(e)};var OVe=()=>"Manage versions",jVe=()=>"管理版本",NVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return jVe(e);return OVe(e)};var FVe=()=>"Mark all as read",BVe=()=>"全部标记为已读",YVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return BVe(e);return FVe(e)};var UVe=()=>"Mark as complete",qVe=()=>"标记为已完成",Av=(e={},r={})=>{if((d??r.locale??n())==="zh")return qVe(e);return UVe(e)};var VVe=()=>"Mark as incomplete",HVe=()=>"标记为未完成",yv=(e={},r={})=>{if((d??r.locale??n())==="zh")return HVe(e);return VVe(e)};var WVe=()=>"Markup is not supported for this file type",GVe=()=>"此文件类型不支持标注",Af=(e={},r={})=>{if((d??r.locale??n())==="zh")return GVe(e);return WVe(e)};var KVe=()=>"Match found at",XVe=()=>"在以下位置找到匹配",_v=(e={},r={})=>{if((d??r.locale??n())==="zh")return XVe(e);return KVe(e)};var QVe=(e)=>`Matched ${e?.count} items`,JVe=(e)=>`匹配了 ${e?.count} 项`,bv=(e,r={})=>{if((d??r.locale??n())==="zh")return JVe(e);return QVe(e)};var $Ve=()=>"Max Output Tokens",eHe=()=>"最大输出令牌数",vv=(e={},r={})=>{if((d??r.locale??n())==="zh")return eHe(e);return $Ve(e)};var tHe=(e)=>`max ${e?.count}`,rHe=(e)=>`最大 ${e?.count}`,wv=(e,r={})=>{if((d??r.locale??n())==="zh")return rHe(e);return tHe(e)};var oHe=()=>"Auto-Detect (Default)",aHe=()=>"自动检测 (默认)",xv=(e={},r={})=>{if((d??r.locale??n())==="zh")return aHe(e);return oHe(e)};var nHe=()=>"Bearer Token",iHe=()=>"Bearer 令牌",Sv=(e={},r={})=>{if((d??r.locale??n())==="zh")return iHe(e);return nHe(e)};var fHe=()=>"Failed to authenticate MCP server",sHe=()=>"MCP 服务身份验证失败",yf=(e={},r={})=>{if((d??r.locale??n())==="zh")return sHe(e);return fHe(e)};var lHe=()=>"None",cHe=()=>"无",Cv=(e={},r={})=>{if((d??r.locale??n())==="zh")return cHe(e);return lHe(e)};var uHe=()=>"OAuth 2.0",dHe=()=>"OAuth 2.0",Ev=(e={},r={})=>{if((d??r.locale??n())==="zh")return dHe(e);return uHe(e)};var ZHe=()=>"MCP server authenticated successfully",pHe=()=>"MCP 服务身份验证成功",eh=(e={},r={})=>{if((d??r.locale??n())==="zh")return pHe(e);return ZHe(e)};var mHe=()=>"Authentication Type",hHe=()=>"身份验证类型",Iv=(e={},r={})=>{if((d??r.locale??n())==="zh")return hHe(e);return mHe(e)};var gHe=()=>"Bearer Token",MHe=()=>"Bearer 令牌",Tv=(e={},r={})=>{if((d??r.locale??n())==="zh")return MHe(e);return gHe(e)};var vHe=()=>"All Direct",xHe=()=>"全部直连",Mv=(e={},r={})=>{if((d??r.locale??n())==="zh")return xHe(e);return vHe(e)};var yHe=()=>"All Off",bHe=()=>"全部关闭",Rv=(e={},r={})=>{if((d??r.locale??n())==="zh")return bHe(e);return yHe(e)};var _He=()=>"All Proxy",wHe=()=>"全部代理",kv=(e={},r={})=>{if((d??r.locale??n())==="zh")return wHe(e);return _He(e)};var zHe=()=>"Connect Account",SHe=()=>"连接账号",th=(e={},r={})=>{if((d??r.locale??n())==="zh")return SHe(e);return zHe(e)};var LHe=()=>"Disconnect Auth",kHe=()=>"断开身份验证",rh=(e={},r={})=>{if((d??r.locale??n())==="zh")return kHe(e);return LHe(e)};var IHe=()=>"Client ID",CHe=()=>"Client ID",Pv=(e={},r={})=>{if((d??r.locale??n())==="zh")return CHe(e);return IHe(e)};var RHe=()=>"Client Secret",PHe=()=>"Client Secret",Nv=(e={},r={})=>{if((d??r.locale??n())==="zh")return PHe(e);return RHe(e)};var THe=()=>"Grant Type",AHe=()=>"授权模式 (Grant Type)",Ov=(e={},r={})=>{if((d??r.locale??n())==="zh")return AHe(e);return THe(e)};var DHe=()=>"Scope",EHe=()=>"作用域 (Scope)",Dv=(e={},r={})=>{if((d??r.locale??n())==="zh")return EHe(e);return DHe(e)};var OHe=()=>"Refresh Server",jHe=()=>"刷新服务器",nh=(e={},r={})=>{if((d??r.locale??n())==="zh")return jHe(e);return OHe(e)};var NHe=()=>"Server refreshed",FHe=()=>"服务器已刷新",Zv=(e={},r={})=>{if((d??r.locale??n())==="zh")return FHe(e);return NHe(e)};var BHe=()=>"Name and description are auto-detected from the server after connecting.",YHe=()=>"连接后将自动从服务端获取名称和描述。",oh=(e={},r={})=>{if((d??r.locale??n())==="zh")return YHe(e);return BHe(e)};var UHe=()=>"Server Instructions",qHe=()=>"服务器说明",Lv=(e={},r={})=>{if((d??r.locale??n())==="zh")return qHe(e);return UHe(e)};var VHe=()=>"Server Name",HHe=()=>"服务名称",Bv=(e={},r={})=>{if((d??r.locale??n())==="zh")return HHe(e);return VHe(e)};var WHe=()=>"Endpoint URL",GHe=()=>"Endpoint URL",ah=(e={},r={})=>{if((d??r.locale??n())==="zh")return GHe(e);return WHe(e)};var KHe=()=>"MCP Servers",XHe=()=>"MCP 服务",Ac=(e={},r={})=>{if((d??r.locale??n())==="zh")return XHe(e);return KHe(e)};var QHe=()=>"Configure Model Context Protocol (MCP) servers and tools for your team.",JHe=()=>"为团队配置 Model Context Protocol (MCP) 服务与工具。",Qu=(e={},r={})=>{if((d??r.locale??n())==="zh")return JHe(e);return QHe(e)};var $He=()=>"Connected",eWe=()=>"已连接",Uv=(e={},r={})=>{if((d??r.locale??n())==="zh")return eWe(e);return $He(e)};var tWe=()=>"Failed",rWe=()=>"连接失败",zv=(e={},r={})=>{if((d??r.locale??n())==="zh")return rWe(e);return tWe(e)};var oWe=()=>"Needs Authentication",aWe=()=>"需要身份验证",sh=(e={},r={})=>{if((d??r.locale??n())==="zh")return aWe(e);return oWe(e)};var nWe=()=>"Not Connected",iWe=()=>"未连接",Fv=(e={},r={})=>{if((d??r.locale??n())==="zh")return iWe(e);return nWe(e)};var fWe=()=>"Direct",sWe=()=>"直连",jv=(e={},r={})=>{if((d??r.locale??n())==="zh")return sWe(e);return fWe(e)};var lWe=()=>"Off",cWe=()=>"关闭",qv=(e={},r={})=>{if((d??r.locale??n())==="zh")return cWe(e);return lWe(e)};var uWe=()=>"Proxy",dWe=()=>"代理",Hv=(e={},r={})=>{if((d??r.locale??n())==="zh")return dWe(e);return uWe(e)};var ZWe=()=>"MCP Tools",pWe=()=>"MCP 工具",Gv=(e={},r={})=>{if((d??r.locale??n())==="zh")return pWe(e);return ZWe(e)};var mWe=(e)=>`${e?.count} Tools`,hWe=(e)=>`${e?.count} 个工具`,$v=(e,r={})=>{if((d??r.locale??n())==="zh")return hWe(e);return mWe(e)};var gWe=()=>"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.",MWe=()=>"配置 MCP 工具向 Agent 的暴露方式。代理模式通过 MCP 代理隐匿工具,以保持较低的上下文占用;直连模式将选定工具直接作为 Agent 原生工具暴露,便于更好地发现与更快地调用。建议对高频或关键工具使用直连模式,对于大型 MCP 服务保持代理模式以避免不必要的上下文开销。",Qv=(e={},r={})=>{if((d??r.locale??n())==="zh")return MWe(e);return gWe(e)};var vWe=()=>"Transport Protocol",xWe=()=>"传输协议",Vv=(e={},r={})=>{if((d??r.locale??n())==="zh")return xWe(e);return vWe(e)};var yWe=()=>"Configure providers and enabled models for built-in image and video generation tools.",bWe=()=>"配置内置图像和视频生成工具的提供商与已启用模型。",Kv=(e={},r={})=>{if((d??r.locale??n())==="zh")return bWe(e);return yWe(e)};var _We=()=>"Media Processing",wWe=()=>"媒体处理",ih=(e={},r={})=>{if((d??r.locale??n())==="zh")return wWe(e);return _We(e)};var zWe=()=>"Media Providers",SWe=()=>"媒体提供商",Wv=(e={},r={})=>{if((d??r.locale??n())==="zh")return SWe(e);return zWe(e)};var LWe=()=>"Configure API keys for built-in media generation providers. Providers can use environment variables or custom keys.",kWe=()=>"为内置媒体生成提供商配置 API 密钥。提供商可以使用环境变量或自定义密钥。",Yv=(e={},r={})=>{if((d??r.locale??n())==="zh")return kWe(e);return LWe(e)};var IWe=()=>"Image",CWe=()=>"图像",_f=(e={},r={})=>{if((d??r.locale??n())==="zh")return CWe(e);return IWe(e)};var RWe=()=>"Video",PWe=()=>"视频",bf=(e={},r={})=>{if((d??r.locale??n())==="zh")return PWe(e);return RWe(e)};var TWe=()=>"Member removed",AWe=()=>"成员已移除",Jv=(e={},r={})=>{if((d??r.locale??n())==="zh")return AWe(e);return TWe(e)};var DWe=()=>"Member role updated",EWe=()=>"成员角色已更新",Xv=(e={},r={})=>{if((d??r.locale??n())==="zh")return EWe(e);return DWe(e)};var OWe=()=>"Members",jWe=()=>"成员",ew=(e={},r={})=>{if((d??r.locale??n())==="zh")return jWe(e);return OWe(e)};var NWe=()=>"Members",FWe=()=>"成员",tw=(e={},r={})=>{if((d??r.locale??n())==="zh")return FWe(e);return NWe(e)};var BWe=()=>"Message...",YWe=()=>"发送消息...",rw=(e={},r={})=>{if((d??r.locale??n())==="zh")return YWe(e);return BWe(e)};var UWe=()=>"Model",qWe=()=>"模型",nw=(e={},r={})=>{if((d??r.locale??n())==="zh")return qWe(e);return UWe(e)};var VWe=()=>"Model created successfully",HWe=()=>"模型创建成功",ow=(e={},r={})=>{if((d??r.locale??n())==="zh")return HWe(e);return VWe(e)};var WWe=()=>"Model deleted successfully",GWe=()=>"模型删除成功",aw=(e={},r={})=>{if((d??r.locale??n())==="zh")return GWe(e);return WWe(e)};var KWe=()=>"Model ID",XWe=()=>"模型 ID",lh=(e={},r={})=>{if((d??r.locale??n())==="zh")return XWe(e);return KWe(e)};var QWe=()=>"Model ID already exists for this provider",JWe=()=>"此提供商已存在该模型 ID",sw=(e={},r={})=>{if((d??r.locale??n())==="zh")return JWe(e);return QWe(e)};var $We=()=>"e.g., gpt-4o, claude-3-5-sonnet-20241022",eGe=()=>"例如:gpt-4o, claude-3-5-sonnet-20241022",iw=(e={},r={})=>{if((d??r.locale??n())==="zh")return eGe(e);return $We(e)};var tGe=()=>"Model is required",rGe=()=>"模型为必填项",lw=(e={},r={})=>{if((d??r.locale??n())==="zh")return rGe(e);return tGe(e)};var oGe=()=>"e.g., GPT-4o",aGe=()=>"例如:GPT-4o",cw=(e={},r={})=>{if((d??r.locale??n())==="zh")return aGe(e);return oGe(e)};var nGe=()=>"Model updated successfully",iGe=()=>"模型更新成功",uw=(e={},r={})=>{if((d??r.locale??n())==="zh")return iGe(e);return nGe(e)};var fGe=()=>"Models",sGe=()=>"模型列表",Vu=(e={},r={})=>{if((d??r.locale??n())==="zh")return sGe(e);return fGe(e)};var lGe=()=>"Models Configuration",cGe=()=>"模型配置",dw=(e={},r={})=>{if((d??r.locale??n())==="zh")return cGe(e);return lGe(e)};var uGe=()=>"More options",dGe=()=>"更多选项",fw=(e={},r={})=>{if((d??r.locale??n())==="zh")return dGe(e);return uGe(e)};var ZGe=()=>"Move to",pGe=()=>"移动到",ch=(e={},r={})=>{if((d??r.locale??n())==="zh")return pGe(e);return ZGe(e)};var mGe=(e)=>`Moving ${e?.count} item(s)`,hGe=(e)=>`正在移动 ${e?.count} 个项目`,pw=(e,r={})=>{if((d??r.locale??n())==="zh")return hGe(e);return mGe(e)};var gGe=()=>"My Tasks",MGe=()=>"我的任务",mw=(e={},r={})=>{if((d??r.locale??n())==="zh")return MGe(e);return gGe(e)};var vGe=(e)=>`${e?.count} Assets`,xGe=(e)=>`${e?.count} 个资源`,vf=(e,r={})=>{if((d??r.locale??n())==="zh")return xGe(e);return vGe(e)};var yGe=(e)=>`${e?.count} assets selected`,bGe=(e)=>`已选择 ${e?.count} 个资产`,_Ge=(e,r={})=>{if((d??r.locale??n())==="zh")return bGe(e);return yGe(e)};var wGe=(e)=>`${e?.count} Asset`,zGe=(e)=>`${e?.count} 个资源`,wf=(e,r={})=>{if((d??r.locale??n())==="zh")return zGe(e);return wGe(e)};var SGe=(e)=>`${e?.count} days ago`,LGe=(e)=>`${e?.count} 天前`,wfe=(e,r={})=>{if((d??r.locale??n())==="zh")return LGe(e);return SGe(e)};var kGe=(e)=>`${e?.count} day ago`,IGe=(e)=>`${e?.count} 天前`,zfe=(e,r={})=>{if((d??r.locale??n())==="zh")return IGe(e);return kGe(e)};var CGe=(e)=>`${e?.count} Folders`,RGe=(e)=>`${e?.count} 个文件夹`,xf=(e,r={})=>{if((d??r.locale??n())==="zh")return RGe(e);return CGe(e)};var PGe=(e)=>`${e?.count} Folder`,TGe=(e)=>`${e?.count} 个文件夹`,Sf=(e,r={})=>{if((d??r.locale??n())==="zh")return TGe(e);return PGe(e)};var AGe=(e)=>`${e?.count} Items`,DGe=(e)=>`${e?.count} 个项目`,hw=(e,r={})=>{if((d??r.locale??n())==="zh")return DGe(e);return AGe(e)};var EGe=(e)=>`${e?.count} Item`,OGe=(e)=>`${e?.count} 个项目`,gw=(e,r={})=>{if((d??r.locale??n())==="zh")return OGe(e);return EGe(e)};var jGe=(e)=>`${e?.count} Models`,NGe=(e)=>`${e?.count} 个模型`,Aw=(e,r={})=>{if((d??r.locale??n())==="zh")return NGe(e);return jGe(e)};var FGe=(e)=>`${e?.count} tasks`,BGe=(e)=>`${e?.count} 个任务`,YGe=(e,r={})=>{if((d??r.locale??n())==="zh")return BGe(e);return FGe(e)};var UGe=(e)=>`${e?.count} task`,qGe=(e)=>`${e?.count} 个任务`,VGe=(e,r={})=>{if((d??r.locale??n())==="zh")return qGe(e);return UGe(e)};var HGe=()=>"Name",WGe=()=>"名称",Xi=(e={},r={})=>{if((d??r.locale??n())==="zh")return WGe(e);return HGe(e)};var GGe=()=>"Name is required",KGe=()=>"名称为必填项",yw=(e={},r={})=>{if((d??r.locale??n())==="zh")return KGe(e);return GGe(e)};var XGe=()=>"John Doe",QGe=()=>"张三",_w=(e={},r={})=>{if((d??r.locale??n())==="zh")return QGe(e);return XGe(e)};var JGe=()=>"You need at least one project in your team to upload skills.",$Ge=()=>"您的团队中至少需要一个项目才能上传技能。",bw=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Ge(e);return JGe(e)};var eKe=()=>"Network Sandbox",tKe=()=>"网络沙箱",vw=(e={},r={})=>{if((d??r.locale??n())==="zh")return tKe(e);return eKe(e)};var rKe=()=>"Configure domain access controls for the sandboxed agent.",oKe=()=>"配置沙箱智能体的域名访问控制。",ww=(e={},r={})=>{if((d??r.locale??n())==="zh")return oKe(e);return rKe(e)};var aKe=()=>"Network Sandbox is currently OFF. All outbound network requests from agent scripts are permitted without restrictions.",nKe=()=>"网络沙箱目前处于关闭状态。智能体脚本的所有出站网络请求均不受限制。",xw=(e={},r={})=>{if((d??r.locale??n())==="zh")return nKe(e);return aKe(e)};var iKe=()=>"When enabled, network requests from the agent are restricted to allowed domains. When disabled, all network requests are permitted.",fKe=()=>"启用后,智能体的网络请求将受限于允许的域名列表。禁用时,允许所有网络请求。",Sw=(e={},r={})=>{if((d??r.locale??n())==="zh")return fKe(e);return iKe(e)};var sKe=()=>"New Chat",lKe=()=>"开启新会话",uh=(e={},r={})=>{if((d??r.locale??n())==="zh")return lKe(e);return sKe(e)};var cKe=()=>"New Field",uKe=()=>"新建字段",Cw=(e={},r={})=>{if((d??r.locale??n())==="zh")return uKe(e);return cKe(e)};var dKe=()=>"New Field",ZKe=()=>"新字段",Ew=(e={},r={})=>{if((d??r.locale??n())==="zh")return ZKe(e);return dKe(e)};var pKe=()=>"New Folder",mKe=()=>"新建文件夹",el=(e={},r={})=>{if((d??r.locale??n())==="zh")return mKe(e);return pKe(e)};var hKe=()=>"New Goal",gKe=()=>"新建目标",dh=(e={},r={})=>{if((d??r.locale??n())==="zh")return gKe(e);return hKe(e)};var MKe=()=>"New",vKe=()=>"新建",Iw=(e={},r={})=>{if((d??r.locale??n())==="zh")return vKe(e);return MKe(e)};var xKe=()=>"New Option",yKe=()=>"新选项",Ku=(e={},r={})=>{if((d??r.locale??n())==="zh")return yKe(e);return xKe(e)};var bKe=()=>"New Password",_Ke=()=>"新密码",Tw=(e={},r={})=>{if((d??r.locale??n())==="zh")return _Ke(e);return bKe(e)};var wKe=()=>"Enter new password",zKe=()=>"输入新密码",Mw=(e={},r={})=>{if((d??r.locale??n())==="zh")return zKe(e);return wKe(e)};var SKe=()=>"Next file",LKe=()=>"下一个文件",fh=(e={},r={})=>{if((d??r.locale??n())==="zh")return LKe(e);return SKe(e)};var kKe=()=>"Next Page",IKe=()=>"下一页",Rw=(e={},r={})=>{if((d??r.locale??n())==="zh")return IKe(e);return kKe(e)};var CKe=()=>"Don't have an account? ",RKe=()=>"还没有账户?",PKe=(e={},r={})=>{if((d??r.locale??n())==="zh")return RKe(e);return CKe(e)};var TKe=()=>"No activity recorded yet",AKe=()=>"暂无活动记录",DKe=(e={},r={})=>{if((d??r.locale??n())==="zh")return AKe(e);return TKe(e)};var EKe=(e)=>`No ${e?.type} agents found`,OKe=(e)=>`未找到${e?.type}智能体`,kw=(e,r={})=>{if((d??r.locale??n())==="zh")return OKe(e);return EKe(e)};var jKe=()=>"No API tokens found. Generate one above to get started.",NKe=()=>"未找到 API 令牌。请在上方生成一个以开始使用。",Pw=(e={},r={})=>{if((d??r.locale??n())==="zh")return NKe(e);return jKe(e)};var FKe=()=>"No assets in this folder",BKe=()=>"此文件夹中没有资产",YKe=(e={},r={})=>{if((d??r.locale??n())==="zh")return BKe(e);return FKe(e)};var UKe=()=>"No audit logs found",qKe=()=>"未找到审计日志",Nw=(e={},r={})=>{if((d??r.locale??n())==="zh")return qKe(e);return UKe(e)};var VKe=()=>"No chat agents found. Please create a Chat Agent below first.",HKe=()=>"未找到聊天智能体。请先在下方创建聊天智能体。",Ow=(e={},r={})=>{if((d??r.locale??n())==="zh")return HKe(e);return VKe(e)};var WKe=()=>"No collections created yet.",GKe=()=>"暂无媒体合集。",Dw=(e={},r={})=>{if((d??r.locale??n())==="zh")return GKe(e);return WKe(e)};var KKe=()=>"No comments yet",XKe=()=>"暂无评论",ph=(e={},r={})=>{if((d??r.locale??n())==="zh")return XKe(e);return KKe(e)};var QKe=()=>"No custom domains allowed",JKe=()=>"没有自定义允许域名",Zw=(e={},r={})=>{if((d??r.locale??n())==="zh")return JKe(e);return QKe(e)};var $Ke=()=>"No description provided.",eXe=()=>"暂无描述。",mh=(e={},r={})=>{if((d??r.locale??n())==="zh")return eXe(e);return $Ke(e)};var tXe=()=>'No environment variables found. Click "Add Variable" to create one.',rXe=()=>'未找到环境变量。点击"添加变量"创建一个。',Lw=(e={},r={})=>{if((d??r.locale??n())==="zh")return rXe(e);return tXe(e)};var oXe=()=>"No fields found",aXe=()=>"未找到字段",Bw=(e={},r={})=>{if((d??r.locale??n())==="zh")return aXe(e);return oXe(e)};var nXe=()=>"No folder selected",iXe=()=>"未选择文件夹",fXe=(e={},r={})=>{if((d??r.locale??n())==="zh")return iXe(e);return nXe(e)};var sXe=()=>"No Folder Structure",lXe=()=>"无文件夹结构",hh=(e={},r={})=>{if((d??r.locale??n())==="zh")return lXe(e);return sXe(e)};var cXe=()=>"No goals yet",uXe=()=>"暂无目标",Uw=(e={},r={})=>{if((d??r.locale??n())==="zh")return uXe(e);return cXe(e)};var dXe=()=>"No chat history found.",ZXe=()=>"暂无历史会话记录",zw=(e={},r={})=>{if((d??r.locale??n())==="zh")return ZXe(e);return dXe(e)};var pXe=()=>"No item selected",mXe=()=>"未选择项目",Fw=(e={},r={})=>{if((d??r.locale??n())==="zh")return mXe(e);return pXe(e)};var hXe=()=>"No tasks linked to this asset",gXe=()=>"该资产暂无关联任务",MXe=(e={},r={})=>{if((d??r.locale??n())==="zh")return gXe(e);return hXe(e)};var vXe=()=>"No logs found for this session.",xXe=()=>"未找到此会话的日志。",jw=(e={},r={})=>{if((d??r.locale??n())==="zh")return xXe(e);return vXe(e)};var yXe=()=>"No matches found",bXe=()=>"未找到匹配结果",gh=(e={},r={})=>{if((d??r.locale??n())==="zh")return bXe(e);return yXe(e)};var _Xe=()=>"No matching tasks found",wXe=()=>"未找到匹配的任务",Sfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return wXe(e);return _Xe(e)};var zXe=()=>"No MCP servers configured",SXe=()=>"暂未配置 MCP 服务",Ah=(e={},r={})=>{if((d??r.locale??n())==="zh")return SXe(e);return zXe(e)};var LXe=()=>"No models found",kXe=()=>"未找到模型",Wu=(e={},r={})=>{if((d??r.locale??n())==="zh")return kXe(e);return LXe(e)};var IXe=()=>"No notifications",CXe=()=>"暂无通知",RXe=(e={},r={})=>{if((d??r.locale??n())==="zh")return CXe(e);return IXe(e)};var PXe=()=>"No options found",TXe=()=>"未找到选项",yh=(e={},r={})=>{if((d??r.locale??n())==="zh")return TXe(e);return PXe(e)};var AXe=()=>"No pending domains requiring approval",DXe=()=>"没有待审核的域名",qw=(e={},r={})=>{if((d??r.locale??n())==="zh")return DXe(e);return AXe(e)};var EXe=()=>"No project selected",OXe=()=>"未选择项目",Lfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return OXe(e);return EXe(e)};var jXe=()=>"No Providers Configured",NXe=()=>"暂无已配置的提供商",Hw=(e={},r={})=>{if((d??r.locale??n())==="zh")return NXe(e);return jXe(e)};var FXe=()=>"No providers found",BXe=()=>"未找到提供商",Gw=(e={},r={})=>{if((d??r.locale??n())==="zh")return BXe(e);return FXe(e)};var YXe=()=>"Set limits on AI tokens, costs, skill executions, and agent tool calls to manage team usage.",UXe=()=>"为 AI Token、费用、MCP 服务和智能体工具调用设置限制,以便管理团队的使用情况。",Cf=(e={},r={})=>{if((d??r.locale??n())==="zh")return UXe(e);return YXe(e)};var qXe=()=>"No resource quotas configured",VXe=()=>"暂未配置资源配额",Ef=(e={},r={})=>{if((d??r.locale??n())==="zh")return VXe(e);return qXe(e)};var HXe=()=>"No recently viewed files",WXe=()=>"暂无最近浏览文件",If=(e={},r={})=>{if((d??r.locale??n())==="zh")return WXe(e);return HXe(e)};var GXe=()=>"Files you view in this project will appear here.",KXe=()=>"您在此项目中查看的文件将显示在此处。",Tf=(e={},r={})=>{if((d??r.locale??n())==="zh")return KXe(e);return GXe(e)};var XXe=()=>"No records matched your criteria",QXe=()=>"没有记录匹配您的条件",$w=(e={},r={})=>{if((d??r.locale??n())==="zh")return QXe(e);return XXe(e)};var JXe=()=>"No related assets linked",$Xe=()=>"暂无关联资产",eQe=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Xe(e);return JXe(e)};var tQe=()=>"No sessions found",rQe=()=>"未找到会话",Qw=(e={},r={})=>{if((d??r.locale??n())==="zh")return rQe(e);return tQe(e)};var oQe=()=>"No share links created yet.",aQe=()=>"暂无分享链接。",Vw=(e={},r={})=>{if((d??r.locale??n())==="zh")return aQe(e);return oQe(e)};var nQe=()=>"No skills available.",iQe=()=>"暂无可用技能。",Kw=(e={},r={})=>{if((d??r.locale??n())==="zh")return iQe(e);return nQe(e)};var fQe=()=>"No skills installed",sQe=()=>"暂无已安装的技能",Ww=(e={},r={})=>{if((d??r.locale??n())==="zh")return sQe(e);return fQe(e)};var lQe=()=>"No tasks in this column",cQe=()=>"该列暂无任务",Yw=(e={},r={})=>{if((d??r.locale??n())==="zh")return cQe(e);return lQe(e)};var uQe=()=>"No saved templates",dQe=()=>"没有保存的模板",Jw=(e={},r={})=>{if((d??r.locale??n())==="zh")return dQe(e);return uQe(e)};var ZQe=()=>"No tools found matching your search.",pQe=()=>"未找到符合搜索条件的工具。",Xw=(e={},r={})=>{if((d??r.locale??n())==="zh")return pQe(e);return ZQe(e)};var mQe=()=>"Upload files in the project view to track progress here.",hQe=()=>"在项目视图中上传文件以在此处跟踪进度。",gQe=(e={},r={})=>{if((d??r.locale??n())==="zh")return hQe(e);return mQe(e)};var MQe=()=>"No uploads yet",vQe=()=>"暂无上传",xQe=(e={},r={})=>{if((d??r.locale??n())==="zh")return vQe(e);return MQe(e)};var yQe=()=>"No versions found",bQe=()=>"暂无版本",_Qe=(e={},r={})=>{if((d??r.locale??n())==="zh")return bQe(e);return yQe(e)};var wQe=()=>"No watermark blocks added yet",zQe=()=>"尚未添加水印块",ex=(e={},r={})=>{if((d??r.locale??n())==="zh")return zQe(e);return wQe(e)};var SQe=()=>"Notification",LQe=()=>"通知",tx=(e={},r={})=>{if((d??r.locale??n())==="zh")return LQe(e);return SQe(e)};var kQe=(e)=>`${e?.creator} commented on ${e?.asset}`,IQe=(e)=>`${e?.creator} 评论了 ${e?.asset}`,CQe=(e,r={})=>{if((d??r.locale??n())==="zh")return IQe(e);return kQe(e)};var RQe=(e)=>`New notification from ${e?.creator}`,PQe=(e)=>`来自 ${e?.creator} 的新通知`,TQe=(e,r={})=>{if((d??r.locale??n())==="zh")return PQe(e);return RQe(e)};var AQe=(e)=>`${e?.user} joined ${e?.project}`,DQe=(e)=>`${e?.user} 加入了 ${e?.project}`,EQe=(e,r={})=>{if((d??r.locale??n())==="zh")return DQe(e);return AQe(e)};var OQe=(e)=>`${e?.user} joined ${e?.team}`,jQe=(e)=>`${e?.user} 加入了 ${e?.team}`,NQe=(e,r={})=>{if((d??r.locale??n())==="zh")return jQe(e);return OQe(e)};var FQe=(e)=>`${e?.creator} assigned you to task ${e?.task}`,BQe=(e)=>`${e?.creator} 将任务 ${e?.task} 分配给了你`,YQe=(e,r={})=>{if((d??r.locale??n())==="zh")return BQe(e);return FQe(e)};var UQe=(e)=>`${e?.creator} commented on task ${e?.task}`,qQe=(e)=>`${e?.creator} 评论了任务 ${e?.task}`,VQe=(e,r={})=>{if((d??r.locale??n())==="zh")return qQe(e);return UQe(e)};var HQe=(e)=>`${e?.creator} created task ${e?.task}`,WQe=(e)=>`${e?.creator} 创建了任务 ${e?.task}`,GQe=(e,r={})=>{if((d??r.locale??n())==="zh")return WQe(e);return HQe(e)};var KQe=(e)=>`${e?.creator} deleted task ${e?.task}`,XQe=(e)=>`${e?.creator} 删除了任务 ${e?.task}`,QQe=(e,r={})=>{if((d??r.locale??n())==="zh")return XQe(e);return KQe(e)};var JQe=(e)=>`${e?.creator} updated status of task ${e?.task}`,$Qe=(e)=>`${e?.creator} 更新了任务 ${e?.task} 的状态`,eJe=(e,r={})=>{if((d??r.locale??n())==="zh")return $Qe(e);return JQe(e)};var tJe=(e)=>`${e?.creator} updated task ${e?.task}`,rJe=(e)=>`${e?.creator} 更新了任务 ${e?.task}`,oJe=(e,r={})=>{if((d??r.locale??n())==="zh")return rJe(e);return tJe(e)};var aJe=(e)=>`${e?.creator} mentioned you in ${e?.asset}`,nJe=(e)=>`${e?.creator} 在 ${e?.asset} 中提及了你`,iJe=(e,r={})=>{if((d??r.locale??n())==="zh")return nJe(e);return aJe(e)};var fJe=(e)=>`${e?.creator} mentioned you in task ${e?.task}`,sJe=(e)=>`${e?.creator} 在任务 ${e?.task} 中提及了你`,lJe=(e,r={})=>{if((d??r.locale??n())==="zh")return sJe(e);return fJe(e)};var cJe=(e)=>`${e?.creator} replied to a comment on ${e?.asset}`,uJe=(e)=>`${e?.creator} 回复了 ${e?.asset} 上的评论`,dJe=(e,r={})=>{if((d??r.locale??n())==="zh")return uJe(e);return cJe(e)};var ZJe=()=>"Notification Settings",pJe=()=>"通知设置",rx=(e={},r={})=>{if((d??r.locale??n())==="zh")return pJe(e);return ZJe(e)};var mJe=()=>"Notification settings updated",hJe=()=>"通知设置已更新",nx=(e={},r={})=>{if((d??r.locale??n())==="zh")return hJe(e);return mJe(e)};var gJe=(e)=>`${e?.creator} updated status of ${e?.asset}`,MJe=(e)=>`${e?.creator} 更新了 ${e?.asset} 的状态`,vJe=(e,r={})=>{if((d??r.locale??n())==="zh")return MJe(e);return gJe(e)};var xJe=(e)=>`${e?.creator} uploaded ${e?.asset} to ${e?.project}`,yJe=(e)=>`${e?.creator} 将 ${e?.asset} 上传到 ${e?.project}`,bJe=(e,r={})=>{if((d??r.locale??n())==="zh")return yJe(e);return xJe(e)};var _Je=()=>"Notifications",wJe=()=>"通知",_h=(e={},r={})=>{if((d??r.locale??n())==="zh")return wJe(e);return _Je(e)};var zJe=()=>"Configure your personal notification preferences for this team.",SJe=()=>"配置您在此团队的个人通知偏好。",ox=(e={},r={})=>{if((d??r.locale??n())==="zh")return SJe(e);return zJe(e)};var LJe=()=>"Only team owners can access the dashboard.",kJe=()=>"只有团队所有者才能访问仪表盘。",ax=(e={},r={})=>{if((d??r.locale??n())==="zh")return kJe(e);return LJe(e)};var IJe=()=>"Only .zip files are supported.",CJe=()=>"仅支持 .zip 文件。",sx=(e={},r={})=>{if((d??r.locale??n())==="zh")return CJe(e);return IJe(e)};var RJe=()=>"Opacity",PJe=()=>"透明度",ix=(e={},r={})=>{if((d??r.locale??n())==="zh")return PJe(e);return RJe(e)};var TJe=()=>"Open a supported file to add markup",AJe=()=>"打开支持的文件以添加标注",lx=(e={},r={})=>{if((d??r.locale??n())==="zh")return AJe(e);return TJe(e)};var DJe=()=>"Open Share Link",EJe=()=>"打开分享链接",cx=(e={},r={})=>{if((d??r.locale??n())==="zh")return EJe(e);return DJe(e)};var OJe=()=>"Operator",jJe=()=>"运算符",ux=(e={},r={})=>{if((d??r.locale??n())==="zh")return jJe(e);return OJe(e)};var NJe=()=>"contains",FJe=()=>"包含",dx=(e={},r={})=>{if((d??r.locale??n())==="zh")return FJe(e);return NJe(e)};var BJe=()=>"does not contain",YJe=()=>"不包含",fx=(e={},r={})=>{if((d??r.locale??n())==="zh")return YJe(e);return BJe(e)};var UJe=()=>"has all of",qJe=()=>"含有全部",px=(e={},r={})=>{if((d??r.locale??n())==="zh")return qJe(e);return UJe(e)};var VJe=()=>"has any of",HJe=()=>"含有其中之一",mx=(e={},r={})=>{if((d??r.locale??n())==="zh")return HJe(e);return VJe(e)};var WJe=()=>"has none of",GJe=()=>"不含有其中任何",hx=(e={},r={})=>{if((d??r.locale??n())==="zh")return GJe(e);return WJe(e)};var KJe=()=>"is",XJe=()=>"是",tl=(e={},r={})=>{if((d??r.locale??n())==="zh")return XJe(e);return KJe(e)};var QJe=()=>"is after",JJe=()=>"在之后",gx=(e={},r={})=>{if((d??r.locale??n())==="zh")return JJe(e);return QJe(e)};var $Je=()=>"is any of",e$e=()=>"是其中之一",Ax=(e={},r={})=>{if((d??r.locale??n())==="zh")return e$e(e);return $Je(e)};var t$e=()=>"is before",r$e=()=>"在之前",yx=(e={},r={})=>{if((d??r.locale??n())==="zh")return r$e(e);return t$e(e)};var o$e=()=>"is empty",a$e=()=>"为空",rl=(e={},r={})=>{if((d??r.locale??n())==="zh")return a$e(e);return o$e(e)};var n$e=()=>"is exactly",i$e=()=>"完全匹配",_x=(e={},r={})=>{if((d??r.locale??n())==="zh")return i$e(e);return n$e(e)};var f$e=()=>"is none of",s$e=()=>"不在其中",bx=(e={},r={})=>{if((d??r.locale??n())==="zh")return s$e(e);return f$e(e)};var l$e=()=>"is not",c$e=()=>"不是",Yu=(e={},r={})=>{if((d??r.locale??n())==="zh")return c$e(e);return l$e(e)};var u$e=()=>"is not empty",d$e=()=>"不为空",nl=(e={},r={})=>{if((d??r.locale??n())==="zh")return d$e(e);return u$e(e)};var Z$e=()=>"is on or after",p$e=()=>"在当天或之后",vx=(e={},r={})=>{if((d??r.locale??n())==="zh")return p$e(e);return Z$e(e)};var m$e=()=>"is on or before",h$e=()=>"在当天或之前",wx=(e={},r={})=>{if((d??r.locale??n())==="zh")return h$e(e);return m$e(e)};var g$e=()=>"is within",M$e=()=>"在范围内",xx=(e={},r={})=>{if((d??r.locale??n())==="zh")return M$e(e);return g$e(e)};var v$e=()=>"Option name",x$e=()=>"选项名称",Mf=(e={},r={})=>{if((d??r.locale??n())==="zh")return x$e(e);return v$e(e)};var y$e=()=>"Optional default value...",b$e=()=>"可选默认值...",Sx=(e={},r={})=>{if((d??r.locale??n())==="zh")return b$e(e);return y$e(e)};var _$e=()=>"Options",w$e=()=>"选项",Ju=(e={},r={})=>{if((d??r.locale??n())==="zh")return w$e(e);return _$e(e)};var z$e=()=>"OR",S$e=()=>"或",Cx=(e={},r={})=>{if((d??r.locale??n())==="zh")return S$e(e);return z$e(e)};var L$e=()=>"Order",k$e=()=>"顺序",Rf=(e={},r={})=>{if((d??r.locale??n())==="zh")return k$e(e);return L$e(e)};var I$e=()=>"Original",C$e=()=>"原始",ol=(e={},r={})=>{if((d??r.locale??n())==="zh")return C$e(e);return I$e(e)};var R$e=()=>"Other Uploads",P$e=()=>"其他上传",Ex=(e={},r={})=>{if((d??r.locale??n())==="zh")return P$e(e);return R$e(e)};var T$e=()=>"Output Cost (1M)",A$e=()=>"输出成本(每百万)",Ix=(e={},r={})=>{if((d??r.locale??n())==="zh")return A$e(e);return T$e(e)};var D$e=()=>"Output Tokens",E$e=()=>"输出 Token",bh=(e={},r={})=>{if((d??r.locale??n())==="zh")return E$e(e);return D$e(e)};var O$e=()=>"Override the default endpoint.",j$e=()=>"覆盖默认端点。",vh=(e={},r={})=>{if((d??r.locale??n())==="zh")return j$e(e);return O$e(e)};var N$e=()=>"Do you want to override the existing skill?",F$e=()=>"你想覆盖现有技能吗?",Tx=(e={},r={})=>{if((d??r.locale??n())==="zh")return F$e(e);return N$e(e)};var B$e=()=>"Overwrite Existing Template",Y$e=()=>"覆盖现有模板",wh=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y$e(e);return B$e(e)};var U$e=()=>"Owner",q$e=()=>"管理员",yc=(e={},r={})=>{if((d??r.locale??n())==="zh")return q$e(e);return U$e(e)};var V$e=()=>"Package Upload",H$e=()=>"包上传",Mx=(e={},r={})=>{if((d??r.locale??n())==="zh")return H$e(e);return V$e(e)};var W$e=()=>"Packages must contain a SKILL.md",G$e=()=>"包必须包含 SKILL.md",Rx=(e={},r={})=>{if((d??r.locale??n())==="zh")return G$e(e);return W$e(e)};var K$e=(e)=>`Page ${e?.current} of ${e?.total}`,X$e=(e)=>`第 ${e?.current} / ${e?.total} 页`,kx=(e,r={})=>{if((d??r.locale??n())==="zh")return X$e(e);return K$e(e)};var Q$e=(e)=>`Page ${e?.page}`,J$e=(e)=>`第 ${e?.page} 页`,xh=(e,r={})=>{if((d??r.locale??n())==="zh")return J$e(e);return Q$e(e)};var $$e=()=>"Parameters",eet=()=>"参数",Px=(e={},r={})=>{if((d??r.locale??n())==="zh")return eet(e);return $$e(e)};var tet=()=>"Parent Tasks",ret=()=>"前置任务",Sh=(e={},r={})=>{if((d??r.locale??n())==="zh")return ret(e);return tet(e)};var oet=()=>"Password",aet=()=>"密码",kf=(e={},r={})=>{if((d??r.locale??n())==="zh")return aet(e);return oet(e)};var net=()=>"Password is required",iet=()=>"密码为必填项",fet=(e={},r={})=>{if((d??r.locale??n())==="zh")return iet(e);return net(e)};var set=()=>"Password must be at least 3 characters",cet=()=>"密码至少需要 3 个字符",Pf=(e={},r={})=>{if((d??r.locale??n())==="zh")return cet(e);return set(e)};var uet=()=>"At least 3 characters",det=()=>"至少 3 个字符",Zet=(e={},r={})=>{if((d??r.locale??n())==="zh")return det(e);return uet(e)};var pet=()=>"Your password",met=()=>"请输入密码",het=(e={},r={})=>{if((d??r.locale??n())==="zh")return met(e);return pet(e)};var get=()=>"Password Protected",Met=()=>"密码保护",Nx=(e={},r={})=>{if((d??r.locale??n())==="zh")return Met(e);return get(e)};var vet=()=>"Password reset successfully!",xet=()=>"密码重置成功!",Ox=(e={},r={})=>{if((d??r.locale??n())==="zh")return xet(e);return vet(e)};var yet=()=>"You will be redirected to the login page shortly.",bet=()=>"您将很快被重定向到登录页面。",Dx=(e={},r={})=>{if((d??r.locale??n())==="zh")return bet(e);return yet(e)};var _et=()=>"Passwords do not match",wet=()=>"两次输入的密码不一致",Zx=(e={},r={})=>{if((d??r.locale??n())==="zh")return wet(e);return _et(e)};var zet=()=>"Pending Domain Approvals",Let=()=>"待审核域名",Lx=(e={},r={})=>{if((d??r.locale??n())==="zh")return Let(e);return zet(e)};var ket=()=>"These domains were blocked during agent execution. You can approve them to allow future network requests, or delete them from this list.",Iet=()=>"这些域名在智能体执行期间被阻止。您可以批准它们以允许将来的网络请求,或从此列表中删除它们。",Bx=(e={},r={})=>{if((d??r.locale??n())==="zh")return Iet(e);return ket(e)};var Cet=()=>"All Users",Ret=()=>"所有成员",pi=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ret(e);return Cet(e)};var Pet=()=>"Owner & Editor",Tet=()=>"管理员与编辑",mi=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tet(e);return Pet(e)};var Aet=()=>"Owner Only",Det=()=>"仅管理员",hi=(e={},r={})=>{if((d??r.locale??n())==="zh")return Det(e);return Aet(e)};var Eet=()=>"Personal Info",Oet=()=>"个人信息",Ux=(e={},r={})=>{if((d??r.locale??n())==="zh")return Oet(e);return Eet(e)};var jet=()=>"Manage your profile name and avatar image.",Net=()=>"管理您的个人资料名称和头像图片。",zx=(e={},r={})=>{if((d??r.locale??n())==="zh")return Net(e);return jet(e)};var Fet=()=>"Personal Settings",Bet=()=>"个人设置",Fx=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bet(e);return Fet(e)};var Yet=()=>"Playback Speed",Uet=()=>"播放速度",jx=(e={},r={})=>{if((d??r.locale??n())==="zh")return Uet(e);return Yet(e)};var qet=()=>"Position and resize",Vet=()=>"定位和调整大小",qx=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vet(e);return qet(e)};var Het=()=>"Position X (%)",Wet=()=>"水平位置 (%)",Hx=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wet(e);return Het(e)};var Get=()=>"Position Y (%)",Ket=()=>"垂直位置 (%)",Gx=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ket(e);return Get(e)};var Xet=()=>"Preparing Download",Qet=()=>"正在准备下载",Ch=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qet(e);return Xet(e)};var Jet=()=>"Preparing download links...",$et=()=>"正在准备下载链接...",Eh=(e={},r={})=>{if((d??r.locale??n())==="zh")return $et(e);return Jet(e)};var ett=()=>"Preset Avatar Option",ttt=()=>"预设头像选项",$x=(e={},r={})=>{if((d??r.locale??n())==="zh")return ttt(e);return ett(e)};var rtt=()=>"Previous file",ott=()=>"上一个文件",Ih=(e={},r={})=>{if((d??r.locale??n())==="zh")return ott(e);return rtt(e)};var att=()=>"Previous Page",ntt=()=>"上一页",Nf=(e={},r={})=>{if((d??r.locale??n())==="zh")return ntt(e);return att(e)};var itt=()=>"Pricing ($ per 1M tokens)",ftt=()=>"计费(每百万令牌美元)",Qx=(e={},r={})=>{if((d??r.locale??n())==="zh")return ftt(e);return itt(e)};var stt=()=>"High",ltt=()=>"高",ctt=(e={},r={})=>{if((d??r.locale??n())==="zh")return ltt(e);return stt(e)};var utt=()=>"Low",dtt=()=>"低",Ztt=(e={},r={})=>{if((d??r.locale??n())==="zh")return dtt(e);return utt(e)};var ptt=()=>"Medium",mtt=()=>"中",htt=(e={},r={})=>{if((d??r.locale??n())==="zh")return mtt(e);return ptt(e)};var gtt=()=>"Urgent",Mtt=()=>"紧急",vtt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mtt(e);return gtt(e)};var xtt=()=>"Processing...",ytt=()=>"处理中...",Vx=(e={},r={})=>{if((d??r.locale??n())==="zh")return ytt(e);return xtt(e)};var btt=()=>"Processing package...",_tt=()=>"正在处理包...",Kx=(e={},r={})=>{if((d??r.locale??n())==="zh")return _tt(e);return btt(e)};var wtt=()=>"Profile updated successfully",ztt=()=>"个人资料更新成功",Th=(e={},r={})=>{if((d??r.locale??n())==="zh")return ztt(e);return wtt(e)};var Stt=()=>"project",Ltt=()=>"项目",Wx=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ltt(e);return Stt(e)};var ktt=()=>"Project Cover",Itt=()=>"项目封面",Yx=(e={},r={})=>{if((d??r.locale??n())==="zh")return Itt(e);return ktt(e)};var Ctt=()=>"Project ID",Rtt=()=>"项目 ID",Jx=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rtt(e);return Ctt(e)};var Ptt=()=>"Project Member",Ttt=()=>"项目成员",Of=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ttt(e);return Ptt(e)};var Att=()=>"Project-scoped member roles are managed within individual project settings",Dtt=()=>"项目成员的角色需在具体的项目设置中管理",Xx=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dtt(e);return Att(e)};var Ett=()=>"Project Members",Ott=()=>"项目成员",eS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ott(e);return Ett(e)};var jtt=()=>"Project Name",Ntt=()=>"项目名称",tS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ntt(e);return jtt(e)};var Ftt=()=>"A clear, concise name to identify your project space.",Btt=()=>"简洁明了的名称,用于标识您的项目空间。",rS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Btt(e);return Ftt(e)};var Ytt=()=>"e.g. Acme Marketing, Q3 Product Launch...",Utt=()=>"例如:品牌营销、第三季度产品发布...",nS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Utt(e);return Ytt(e)};var qtt=()=>"Project notification settings updated",Vtt=()=>"项目通知设置已更新",oS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vtt(e);return qtt(e)};var Htt=()=>"Project Preferences",Wtt=()=>"项目偏好设置",aS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wtt(e);return Htt(e)};var Gtt=()=>"Project Settings",Ktt=()=>"项目设置",Mh=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ktt(e);return Gtt(e)};var Xtt=()=>"Projects",Qtt=()=>"项目",sS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qtt(e);return Xtt(e)};var Jtt=()=>"Please provide your name and email to add a comment.",$tt=()=>"请提供您的姓名和邮箱以添加评论。",iS=(e={},r={})=>{if((d??r.locale??n())==="zh")return $tt(e);return Jtt(e)};var ert=()=>"Provider",trt=()=>"提供商",lS=(e={},r={})=>{if((d??r.locale??n())==="zh")return trt(e);return ert(e)};var rrt=()=>"Provider created successfully",ort=()=>"提供商创建成功",cS=(e={},r={})=>{if((d??r.locale??n())==="zh")return ort(e);return rrt(e)};var art=()=>"Provider deleted successfully",nrt=()=>"提供商删除成功",uS=(e={},r={})=>{if((d??r.locale??n())==="zh")return nrt(e);return art(e)};var irt=()=>"Provider is required",frt=()=>"提供商为必填项",dS=(e={},r={})=>{if((d??r.locale??n())==="zh")return frt(e);return irt(e)};var srt=()=>"Provider Name",lrt=()=>"提供商名称",Rh=(e={},r={})=>{if((d??r.locale??n())==="zh")return lrt(e);return srt(e)};var crt=()=>"Provider name is required",urt=()=>"提供商名称为必填项",kh=(e={},r={})=>{if((d??r.locale??n())==="zh")return urt(e);return crt(e)};var drt=()=>"Provider name must be unique",Zrt=()=>"提供商名称必须唯一",Ph=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zrt(e);return drt(e)};var prt=()=>"e.g., My OpenAI",mrt=()=>"例如:我的 OpenAI",Nh=(e={},r={})=>{if((d??r.locale??n())==="zh")return mrt(e);return prt(e)};var hrt=()=>"This provider is not configured. Configure an API key in the API Key tab before using these models.",grt=()=>"此提供商尚未配置。在使用这些模型前,请在 API 密钥标签页中配置密钥。",fS=(e={},r={})=>{if((d??r.locale??n())==="zh")return grt(e);return hrt(e)};var Mrt=()=>"Configured (Custom)",vrt=()=>"已配置(自定义)",Oh=(e={},r={})=>{if((d??r.locale??n())==="zh")return vrt(e);return Mrt(e)};var xrt=()=>"Configured (Environment)",yrt=()=>"已配置(环境变量)",Dh=(e={},r={})=>{if((d??r.locale??n())==="zh")return yrt(e);return xrt(e)};var brt=()=>"Not Configured",_rt=()=>"未配置",Zh=(e={},r={})=>{if((d??r.locale??n())==="zh")return _rt(e);return brt(e)};var wrt=()=>"Provider updated successfully",zrt=()=>"提供商更新成功",Lh=(e={},r={})=>{if((d??r.locale??n())==="zh")return zrt(e);return wrt(e)};var Srt=()=>"Providers",Lrt=()=>"提供商",pS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lrt(e);return Srt(e)};var krt=()=>"Configure AI providers and their models for this team.",Irt=()=>"为此团队配置 AI 提供商及其模型。",mS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Irt(e);return krt(e)};var Crt=()=>"Public Link",Rrt=()=>"公开链接",hS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rrt(e);return Crt(e)};var Prt=()=>"Quality",Trt=()=>"画质",Bh=(e={},r={})=>{if((d??r.locale??n())==="zh")return Trt(e);return Prt(e)};var Art=()=>"Querying database...",Drt=()=>"正在查询数据库...",gS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Drt(e);return Art(e)};var Ert=()=>"Quota available",Ort=()=>"配额可用",Uh=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ort(e);return Ert(e)};var jrt=()=>"Supports wildcards (*). Examples: git *, npm test, curl *, python script.py (use * for all commands)",Nrt=()=>"支持通配符 (*)。示例:git *、npm test、curl *、python script.py(使用 * 匹配所有命令)",AS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nrt(e);return jrt(e)};var Frt=()=>"Collapse quota rule",Brt=()=>"收起配额规则",yS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Brt(e);return Frt(e)};var Yrt=()=>"Quota rule created successfully",Urt=()=>"配额规则创建成功",_S=(e={},r={})=>{if((d??r.locale??n())==="zh")return Urt(e);return Yrt(e)};var qrt=()=>"Monitor live quota usage and reset individual usage windows.",Vrt=()=>"在仪表盘中监控实时配额使用情况,并重置单个使用窗口。",bS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vrt(e);return qrt(e)};var Hrt=()=>"Quota rule deleted successfully",Wrt=()=>"配额规则删除成功",zh=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wrt(e);return Hrt(e)};var Grt=()=>"Disabled",Krt=()=>"已禁用",Df=(e={},r={})=>{if((d??r.locale??n())==="zh")return Krt(e);return Grt(e)};var Xrt=()=>"Enabled",Qrt=()=>"已启用",vS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qrt(e);return Xrt(e)};var Jrt=()=>"Expand quota rule",$rt=()=>"展开配额规则",wS=(e={},r={})=>{if((d??r.locale??n())==="zh")return $rt(e);return Jrt(e)};var eot=()=>"Limit",tot=()=>"上限",xS=(e={},r={})=>{if((d??r.locale??n())==="zh")return tot(e);return eot(e)};var rot=()=>"e.g. 100000",oot=()=>"例如 100000",SS=(e={},r={})=>{if((d??r.locale??n())==="zh")return oot(e);return rot(e)};var aot=()=>"No usage records found",not=()=>"暂无使用记录",CS=(e={},r={})=>{if((d??r.locale??n())==="zh")return not(e);return aot(e)};var iot=()=>"Period Window",fot=()=>"周期窗口",ES=(e={},r={})=>{if((d??r.locale??n())==="zh")return fot(e);return iot(e)};var sot=()=>"1 Day",lot=()=>"1 天",Zf=(e={},r={})=>{if((d??r.locale??n())==="zh")return lot(e);return sot(e)};var cot=()=>"1 Hour",uot=()=>"1 小时",Lf=(e={},r={})=>{if((d??r.locale??n())==="zh")return uot(e);return cot(e)};var dot=()=>"5 Hours",Zot=()=>"5 小时",Bf=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zot(e);return dot(e)};var pot=()=>"7 Days",mot=()=>"7 天",Uf=(e={},r={})=>{if((d??r.locale??n())==="zh")return mot(e);return pot(e)};var hot=(e)=>`Refreshes in ${e?.time}`,got=(e)=>`${e?.time} 后重置`,Fh=(e,r={})=>{if((d??r.locale??n())==="zh")return got(e);return hot(e)};var Mot=()=>"Remaining",vot=()=>"剩余额度",IS=(e={},r={})=>{if((d??r.locale??n())==="zh")return vot(e);return Mot(e)};var xot=()=>"Quota usage reset successfully",yot=()=>"配额使用量重置成功",TS=(e={},r={})=>{if((d??r.locale??n())==="zh")return yot(e);return xot(e)};var bot=()=>"Reset Usage",_ot=()=>"重置使用量",jh=(e={},r={})=>{if((d??r.locale??n())==="zh")return _ot(e);return bot(e)};var wot=(e)=>`Reset usage for ${e?.target}? Consumption will be cleared and a new quota window will start now.`,zot=(e)=>`确定要重置 ${e?.target} 的使用量吗?当前消耗将被清零,并立即开始新的配额周期。`,MS=(e,r={})=>{if((d??r.locale??n())==="zh")return zot(e);return wot(e)};var Sot=()=>"Resource",Lot=()=>"资源类型",RS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lot(e);return Sot(e)};var kot=()=>"Agent Bash Calls",Iot=()=>"智能体 Bash 执行次数",Xu=(e={},r={})=>{if((d??r.locale??n())==="zh")return Iot(e);return kot(e)};var Cot=()=>"AI Cost ($)",Rot=()=>"AI 费用 ($)",ed=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rot(e);return Cot(e)};var Pot=()=>"MCP Server Calls",Tot=()=>"MCP 服务调用次数",td=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tot(e);return Pot(e)};var Aot=()=>"Agent Tool Calls",Dot=()=>"智能体工具调用次数",rd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dot(e);return Aot(e)};var Eot=()=>"AI Tokens",Oot=()=>"AI Token 总量",nd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Oot(e);return Eot(e)};var jot=()=>"Role Shared Pool",Not=()=>"角色共享配额池",kS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Not(e);return jot(e)};var Fot=()=>"Scope",Bot=()=>"范围",PS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bot(e);return Fot(e)};var Yot=()=>"Target Mode",Uot=()=>"目标模式",NS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Uot(e);return Yot(e)};var qot=()=>"All Members",Vot=()=>"所有成员",od=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vot(e);return qot(e)};var Hot=()=>"Shared pooled limit across all matching members",Wot=()=>"所有符合条件的成员共同享有总配额上限",OS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wot(e);return Hot(e)};var Got=()=>"Each Member",Kot=()=>"每个成员",ad=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kot(e);return Got(e)};var Xot=()=>"Individual limit for each matching member",Qot=()=>"为每个符合条件的成员分别设定独立的配额上限",DS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qot(e);return Xot(e)};var Jot=()=>"Selected Members",$ot=()=>"指定成员",sd=(e={},r={})=>{if((d??r.locale??n())==="zh")return $ot(e);return Jot(e)};var eat=()=>"Individual limit for selected users",tat=()=>"为选定的成员分别设定独立的配额上限",ZS=(e={},r={})=>{if((d??r.locale??n())==="zh")return tat(e);return eat(e)};var rat=()=>"Role-based",oat=()=>"按角色",zf=(e={},r={})=>{if((d??r.locale??n())==="zh")return oat(e);return rat(e)};var aat=()=>"Entire Team",nat=()=>"整个团队",al=(e={},r={})=>{if((d??r.locale??n())==="zh")return nat(e);return aat(e)};var iat=()=>"Search members...",fat=()=>"搜索成员...",Ff=(e={},r={})=>{if((d??r.locale??n())==="zh")return fat(e);return iat(e)};var sat=(e)=>`${e?.count} members selected`,lat=(e)=>`已选择 ${e?.count} 位成员`,LS=(e,r={})=>{if((d??r.locale??n())==="zh")return lat(e);return sat(e)};var cat=()=>"Quota status updated",uat=()=>"配额状态已更新",BS=(e={},r={})=>{if((d??r.locale??n())==="zh")return uat(e);return cat(e)};var dat=(e)=>`Match: ${e?.value}`,Zat=(e)=>`匹配:${e?.value}`,US=(e,r={})=>{if((d??r.locale??n())==="zh")return Zat(e);return dat(e)};var pat=(e)=>`Server: ${e?.value}`,mat=(e)=>`服务:${e?.value}`,zS=(e,r={})=>{if((d??r.locale??n())==="zh")return mat(e);return pat(e)};var hat=(e)=>`Tool: ${e?.value}`,gat=(e)=>`工具:${e?.value}`,FS=(e,r={})=>{if((d??r.locale??n())==="zh")return gat(e);return hat(e)};var Mat=()=>"Team Shared Pool",vat=()=>"团队共享配额池",jS=(e={},r={})=>{if((d??r.locale??n())==="zh")return vat(e);return Mat(e)};var xat=()=>"Select a specific agent tool to configure its quota limit",yat=()=>"选择特定的智能体工具以配置其配额限制",qS=(e={},r={})=>{if((d??r.locale??n())==="zh")return yat(e);return xat(e)};var bat=()=>"Quota rule updated successfully",_at=()=>"配额规则更新成功",HS=(e={},r={})=>{if((d??r.locale??n())==="zh")return _at(e);return bat(e)};var wat=()=>"Quotas",zat=()=>"配额",id=(e={},r={})=>{if((d??r.locale??n())==="zh")return zat(e);return wat(e)};var Sat=()=>"Ready to Search",Lat=()=>"准备搜索",GS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lat(e);return Sat(e)};var kat=()=>"Reasoning Support",Iat=()=>"推理支持",jf=(e={},r={})=>{if((d??r.locale??n())==="zh")return Iat(e);return kat(e)};var Cat=()=>"Recently Deleted",Rat=()=>"最近删除",qh=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rat(e);return Cat(e)};var Pat=()=>"Items are automatically deleted after 30 days.",Tat=()=>"项目将在 30 天后自动删除。",qf=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tat(e);return Pat(e)};var Aat=()=>"Recently Viewed",Dat=()=>"最近浏览",Hh=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dat(e);return Aat(e)};var Eat=()=>"This page displays the 100 most recent files you viewed in this project.",Oat=()=>"此页面显示您最近在当前项目中查看过的 100 个文件。",$S=(e={},r={})=>{if((d??r.locale??n())==="zh")return Oat(e);return Eat(e)};var jat=()=>"Registration Disabled",Nat=()=>"注册已关闭",Fat=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nat(e);return jat(e)};var Bat=()=>"Public registration is currently disabled. You will need an invite code to join this team.",Yat=()=>"公开注册目前已关闭。您需要邀请码才能加入此团队。",Uat=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yat(e);return Bat(e)};var qat=()=>"Related Assets",Vat=()=>"关联资产",Hat=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vat(e);return qat(e)};var Wat=()=>"Remove",Gat=()=>"移除",sl=(e={},r={})=>{if((d??r.locale??n())==="zh")return Gat(e);return Wat(e)};var Kat=()=>"Remove Cover",Xat=()=>"移除封面",QS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xat(e);return Kat(e)};var Qat=()=>"Remove from context",Jat=()=>"从上下文中移除",VS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jat(e);return Qat(e)};var $at=()=>"Remove from Share",ent=()=>"从分享中移除",Hf=(e={},r={})=>{if((d??r.locale??n())==="zh")return ent(e);return $at(e)};var tnt=()=>"Remove from stack",rnt=()=>"从版本堆栈中移除",ont=(e={},r={})=>{if((d??r.locale??n())==="zh")return rnt(e);return tnt(e)};var ant=()=>"Remove Member",nnt=()=>"移除成员",KS=(e={},r={})=>{if((d??r.locale??n())==="zh")return nnt(e);return ant(e)};var int=(e)=>`Are you sure you want to remove ${e?.name} from this ${e?.type}? This action cannot be undone.`,fnt=(e)=>`确定要从此${e?.type}中移除 ${e?.name} 吗?此操作无法撤销。`,WS=(e,r={})=>{if((d??r.locale??n())==="zh")return fnt(e);return int(e)};var snt=()=>"Removed from share",lnt=()=>"已从分享中移除",YS=(e={},r={})=>{if((d??r.locale??n())==="zh")return lnt(e);return snt(e)};var cnt=()=>"Rename",unt=()=>"重命名",xo=(e={},r={})=>{if((d??r.locale??n())==="zh")return unt(e);return cnt(e)};var dnt=()=>"Rename Collection",Znt=()=>"重命名媒体合集",pnt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Znt(e);return dnt(e)};var mnt=()=>"Rename Folder",hnt=()=>"重命名文件夹",gnt=(e={},r={})=>{if((d??r.locale??n())==="zh")return hnt(e);return mnt(e)};var Mnt=()=>"Rename Share Link",vnt=()=>"重命名分享链接",xnt=(e={},r={})=>{if((d??r.locale??n())==="zh")return vnt(e);return Mnt(e)};var ynt=()=>"Renamed successfully",bnt=()=>"重命名成功",JS=(e={},r={})=>{if((d??r.locale??n())==="zh")return bnt(e);return ynt(e)};var _nt=()=>"Reply",wnt=()=>"回复",XS=(e={},r={})=>{if((d??r.locale??n())==="zh")return wnt(e);return _nt(e)};var znt=()=>"Reply...",Snt=()=>"回复...",eC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Snt(e);return znt(e)};var Lnt=(e)=>`reply to: ${e?.message}`,knt=(e)=>`回复:${e?.message}`,tC=(e,r={})=>{if((d??r.locale??n())==="zh")return knt(e);return Lnt(e)};var Int=()=>"Reporter / Reviewer",Cnt=()=>"报告人 / 审核人",Gh=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cnt(e);return Int(e)};var Rnt=()=>"Reset",Pnt=()=>"重置",rC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pnt(e);return Rnt(e)};var Tnt=()=>"Reset Password",Ant=()=>"重置密码",$h=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ant(e);return Tnt(e)};var Dnt=()=>"Enter your new password below.",Ent=()=>"请在下方输入您的新密码。",nC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ent(e);return Dnt(e)};var Ont=()=>"Resetting password...",jnt=()=>"正在重置密码...",oC=(e={},r={})=>{if((d??r.locale??n())==="zh")return jnt(e);return Ont(e)};var Nnt=()=>"Resolving all files and folders. Please wait...",Fnt=()=>"正在解析所有文件和文件夹,请稍候...",Qh=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fnt(e);return Nnt(e)};var Bnt=()=>"Resource Quotas",Ynt=()=>"资源配额",Vh=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ynt(e);return Bnt(e)};var Unt=()=>"Manage and limit resource usage across team members, roles, and AI operations.",qnt=()=>"管理并限制团队成员、角色以及 AI 操作的资源使用。",Kh=(e={},r={})=>{if((d??r.locale??n())==="zh")return qnt(e);return Unt(e)};var Vnt=()=>"Restore",Hnt=()=>"恢复",Gf=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hnt(e);return Vnt(e)};var Wnt=()=>"Reviewer",Gnt=()=>"评审员",ba=(e={},r={})=>{if((d??r.locale??n())==="zh")return Gnt(e);return Wnt(e)};var Knt=()=>"Role",Xnt=()=>"角色",aC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xnt(e);return Knt(e)};var Qnt=()=>"Agent",Jnt=()=>"智能体",sC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jnt(e);return Qnt(e)};var $nt=()=>"Thinking",eit=()=>"思考中",$f=(e={},r={})=>{if((d??r.locale??n())==="zh")return eit(e);return $nt(e)};var tit=()=>"User",rit=()=>"用户",Wh=(e={},r={})=>{if((d??r.locale??n())==="zh")return rit(e);return tit(e)};var oit=()=>"Rotation",ait=()=>"旋转角度",iC=(e={},r={})=>{if((d??r.locale??n())==="zh")return ait(e);return oit(e)};var nit=()=>"Configure security and network restrictions for the AI agent.",iit=()=>"配置 AI 智能体的安全和网络限制。",lC=(e={},r={})=>{if((d??r.locale??n())==="zh")return iit(e);return nit(e)};var fit=()=>"Sandbox settings updated",sit=()=>"沙箱设置已更新",cC=(e={},r={})=>{if((d??r.locale??n())==="zh")return sit(e);return fit(e)};var lit=()=>"Save",cit=()=>"保存",So=(e={},r={})=>{if((d??r.locale??n())==="zh")return cit(e);return lit(e)};var uit=()=>"Save as collection",dit=()=>"保存为媒体合集",uC=(e={},r={})=>{if((d??r.locale??n())==="zh")return dit(e);return uit(e)};var Zit=()=>"Save Changes",pit=()=>"保存更改",va=(e={},r={})=>{if((d??r.locale??n())==="zh")return pit(e);return Zit(e)};var mit=()=>"Save Watermark",hit=()=>"保存水印",dC=(e={},r={})=>{if((d??r.locale??n())==="zh")return hit(e);return mit(e)};var git=()=>"Saved",Mit=()=>"已保存",Yh=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mit(e);return git(e)};var vit=()=>"Saving...",xit=()=>"保存中...",Jh=(e={},r={})=>{if((d??r.locale??n())==="zh")return xit(e);return vit(e)};var yit=()=>"Saving...",bit=()=>"保存中...",Qf=(e={},r={})=>{if((d??r.locale??n())==="zh")return bit(e);return yit(e)};var _it=()=>"Search",wit=()=>"搜索",fC=(e={},r={})=>{if((d??r.locale??n())==="zh")return wit(e);return _it(e)};var zit=()=>"Search",Sit=()=>"搜索",pC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Sit(e);return zit(e)};var Lit=()=>"Search records by content...",kit=()=>"按内容搜索记录...",mC=(e={},r={})=>{if((d??r.locale??n())==="zh")return kit(e);return Lit(e)};var Iit=()=>"Search records by name...",Cit=()=>"按名称搜索记录...",hC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cit(e);return Iit(e)};var Rit=()=>"Search",Pit=()=>"搜索",gC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pit(e);return Rit(e)};var Tit=()=>"Search failed",Ait=()=>"搜索失败",Xh=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ait(e);return Tit(e)};var Dit=()=>"Search fields",Eit=()=>"搜索字段",AC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Eit(e);return Dit(e)};var Oit=()=>"Search Item ID...",jit=()=>"搜索条目 ID...",yC=(e={},r={})=>{if((d??r.locale??n())==="zh")return jit(e);return Oit(e)};var Nit=()=>"Search models by ID or name...",Fit=()=>"按 ID 或名称搜索模型...",Vf=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fit(e);return Nit(e)};var Bit=()=>"Search options...",Yit=()=>"搜索选项...",eg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yit(e);return Bit(e)};var Uit=()=>"Search providers...",qit=()=>"搜索提供商...",tg=(e={},r={})=>{if((d??r.locale??n())==="zh")return qit(e);return Uit(e)};var Vit=()=>"Search Results",Hit=()=>"搜索结果",_C=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hit(e);return Vit(e)};var Wit=()=>"Search tasks...",Git=()=>"搜索任务...",Kit=(e={},r={})=>{if((d??r.locale??n())==="zh")return Git(e);return Wit(e)};var Xit=()=>"Security",Qit=()=>"安全",bC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qit(e);return Xit(e)};var Jit=()=>"Select a Team",$it=()=>"选择团队",eft=(e={},r={})=>{if((d??r.locale??n())==="zh")return $it(e);return Jit(e)};var tft=()=>"Select Actions",rft=()=>"选择操作",vC=(e={},r={})=>{if((d??r.locale??n())==="zh")return rft(e);return tft(e)};var oft=()=>"Select Agent",aft=()=>"选择智能体",ld=(e={},r={})=>{if((d??r.locale??n())==="zh")return aft(e);return oft(e)};var nft=()=>"Select API Protocol",ift=()=>"选择 API 协议",rg=(e={},r={})=>{if((d??r.locale??n())==="zh")return ift(e);return nft(e)};var fft=()=>"Select an asset to view details",sft=()=>"选择资产查看详情",wC=(e={},r={})=>{if((d??r.locale??n())==="zh")return sft(e);return fft(e)};var lft=()=>"Select Assets",cft=()=>"选择资产",uft=(e={},r={})=>{if((d??r.locale??n())==="zh")return cft(e);return lft(e)};var dft=()=>"Select a block to edit its properties",Zft=()=>"选择一个水印块以编辑其属性",xC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zft(e);return dft(e)};var pft=()=>"Select Current Folder",mft=()=>"选择当前文件夹",hft=(e={},r={})=>{if((d??r.locale??n())==="zh")return mft(e);return pft(e)};var gft=()=>"Select field",Mft=()=>"选择字段",SC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mft(e);return gft(e)};var vft=()=>"Select a field to edit options",xft=()=>"选择一个字段以编辑选项",CC=(e={},r={})=>{if((d??r.locale??n())==="zh")return xft(e);return vft(e)};var yft=()=>"Select field type",bft=()=>"选择字段类型",EC=(e={},r={})=>{if((d??r.locale??n())==="zh")return bft(e);return yft(e)};var _ft=()=>"Select a file to view its details and comments.",wft=()=>"选择一个文件以查看其详情和评论。",IC=(e={},r={})=>{if((d??r.locale??n())==="zh")return wft(e);return _ft(e)};var zft=()=>"Select Language",Sft=()=>"选择语言",TC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Sft(e);return zft(e)};var Lft=()=>"Select MCP Server",kft=()=>"选择 MCP 服务",ng=(e={},r={})=>{if((d??r.locale??n())==="zh")return kft(e);return Lft(e)};var Ift=()=>"Select Members",Cft=()=>"选择成员",og=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cft(e);return Ift(e)};var Rft=()=>"Select Model",Pft=()=>"选择模型",MC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pft(e);return Rft(e)};var Tft=()=>"Select option",Aft=()=>"选择选项",RC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Aft(e);return Tft(e)};var Dft=()=>"Select options...",Eft=()=>"选择选项...",kC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Eft(e);return Dft(e)};var Oft=()=>"Select parent tasks...",jft=()=>"选择前置任务...",Nft=(e={},r={})=>{if((d??r.locale??n())==="zh")return jft(e);return Oft(e)};var Fft=()=>"Select your preferred display language.",Bft=()=>"选择您首选的显示语言。",PC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bft(e);return Fft(e)};var Yft=()=>"Select Project",Uft=()=>"选择项目",zU=(e={},r={})=>{if((d??r.locale??n())==="zh")return Uft(e);return Yft(e)};var qft=()=>"Select Provider",Vft=()=>"选择提供商",NC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vft(e);return qft(e)};var Hft=()=>"Select Target Folder",Wft=()=>"选择目标文件夹",Kf=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wft(e);return Hft(e)};var Gft=()=>"You are a member of multiple teams. Please select one to continue.",Kft=()=>"您是多个团队的成员,请选择一个以继续。",Xft=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kft(e);return Gft(e)};var Qft=()=>"Select template to overwrite",Jft=()=>"选择要覆盖的模板",ag=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jft(e);return Qft(e)};var $ft=()=>"Select Tool",est=()=>"选择工具",sg=(e={},r={})=>{if((d??r.locale??n())==="zh")return est(e);return $ft(e)};var tst=()=>"Select type",rst=()=>"选择类型",OC=(e={},r={})=>{if((d??r.locale??n())==="zh")return rst(e);return tst(e)};var ost=()=>"Select User",ast=()=>"选择用户",DC=(e={},r={})=>{if((d??r.locale??n())==="zh")return ast(e);return ost(e)};var nst=()=>"Select Users",ist=()=>"选择用户",ZC=(e={},r={})=>{if((d??r.locale??n())==="zh")return ist(e);return nst(e)};var fst=()=>"Select ZIP file",sst=()=>"选择 ZIP 文件",LC=(e={},r={})=>{if((d??r.locale??n())==="zh")return sst(e);return fst(e)};var lst=()=>"Semantic Search",cst=()=>"语义搜索",BC=(e={},r={})=>{if((d??r.locale??n())==="zh")return cst(e);return lst(e)};var ust=()=>"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.",dst=()=>"语义搜索结果将按与搜索查询文本的相关性排序,但不会严格筛选。如果需要精确筛选,请添加筛选条件来控制。",UC=(e={},r={})=>{if((d??r.locale??n())==="zh")return dst(e);return ust(e)};var Zst=()=>"* Semantic search requires an enabled embedding agent.",pst=()=>"* 语义搜索需要启用嵌入智能体。",zC=(e={},r={})=>{if((d??r.locale??n())==="zh")return pst(e);return Zst(e)};var mst=()=>"Semantic search using media intelligence might be slow...",hst=()=>"使用媒体智能的语义搜索可能较慢...",FC=(e={},r={})=>{if((d??r.locale??n())==="zh")return hst(e);return mst(e)};var gst=()=>"Session Name",Mst=()=>"会话名称",jC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mst(e);return gst(e)};var vst=()=>"The session might have been initialized but has not produced any entries yet.",xst=()=>"该会话可能已初始化但尚未产生任何条目。",qC=(e={},r={})=>{if((d??r.locale??n())==="zh")return xst(e);return vst(e)};var yst=()=>"Session Type",bst=()=>"会话类型",HC=(e={},r={})=>{if((d??r.locale??n())==="zh")return bst(e);return yst(e)};var _st=()=>"Chat",wst=()=>"对话",GC=(e={},r={})=>{if((d??r.locale??n())==="zh")return wst(e);return _st(e)};var zst=()=>"Comment",Sst=()=>"评论",$C=(e={},r={})=>{if((d??r.locale??n())==="zh")return Sst(e);return zst(e)};var Lst=()=>"Naming",kst=()=>"命名",QC=(e={},r={})=>{if((d??r.locale??n())==="zh")return kst(e);return Lst(e)};var Ist=()=>"Sessions",Cst=()=>"会话列表",ig=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cst(e);return Ist(e)};var Rst=()=>"View and inspect all agent sessions created within the team.",Pst=()=>"查看并检查团队内创建的所有 Agent 会话。",VC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pst(e);return Rst(e)};var Tst=()=>"Set Role",Ast=()=>"设置角色",KC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ast(e);return Tst(e)};var Dst=()=>"Settings",Est=()=>"设置",Wf=(e={},r={})=>{if((d??r.locale??n())==="zh")return Est(e);return Dst(e)};var Ost=()=>"Settings updated",jst=()=>"设置已更新",lg=(e={},r={})=>{if((d??r.locale??n())==="zh")return jst(e);return Ost(e)};var Nst=()=>"share link",Fst=()=>"分享链接",Bst=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fst(e);return Nst(e)};var Yst=()=>"Share link created",Ust=()=>"分享链接已创建",qst=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ust(e);return Yst(e)};var Vst=()=>"Share link deleted",Hst=()=>"分享链接已删除",Wst=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hst(e);return Vst(e)};var Gst=()=>"Share link renamed",Kst=()=>"分享链接已重命名",Xst=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kst(e);return Gst(e)};var Qst=()=>"Share link status updated",Jst=()=>"分享链接状态已更新",WC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jst(e);return Qst(e)};var $st=()=>"Share Links",elt=()=>"分享链接",tlt=(e={},r={})=>{if((d??r.locale??n())==="zh")return elt(e);return $st(e)};var rlt=()=>"Show Chatbot",olt=()=>"显示聊天机器人",alt=(e={},r={})=>{if((d??r.locale??n())==="zh")return olt(e);return rlt(e)};var nlt=()=>"Shumai Agent",ilt=()=>"数脉智能体",YC=(e={},r={})=>{if((d??r.locale??n())==="zh")return ilt(e);return nlt(e)};var flt=()=>"Sign up",slt=()=>"注册",kfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return slt(e);return flt(e)};var llt=()=>"Signup failed",clt=()=>"注册失败",ult=(e={},r={})=>{if((d??r.locale??n())==="zh")return clt(e);return llt(e)};var dlt=()=>"Start building and organizing your space.",Zlt=()=>"开始构建和整理您的空间。",plt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zlt(e);return dlt(e)};var mlt=()=>"Size:",hlt=()=>"大小:",JC=(e={},r={})=>{if((d??r.locale??n())==="zh")return hlt(e);return mlt(e)};var glt=()=>"Permission",Mlt=()=>"权限",Yf=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mlt(e);return glt(e)};var vlt=()=>"Skills",xlt=()=>"技能",cg=(e={},r={})=>{if((d??r.locale??n())==="zh")return xlt(e);return vlt(e)};var ylt=(e)=>`${e?.count} Skills`,blt=(e)=>`${e?.count} 个技能`,XC=(e,r={})=>{if((d??r.locale??n())==="zh")return blt(e);return ylt(e)};var _lt=()=>"Add, update and configure AI skills for the team.",wlt=()=>"为团队添加、更新和配置 AI 技能。",eE=(e={},r={})=>{if((d??r.locale??n())==="zh")return wlt(e);return _lt(e)};var zlt=()=>"Skills Management",Slt=()=>"技能管理",ug=(e={},r={})=>{if((d??r.locale??n())==="zh")return Slt(e);return zlt(e)};var Llt=()=>"Extend your chatbot's capabilities with custom skills.",klt=()=>"使用自定义技能扩展聊天机器人的功能。",tE=(e={},r={})=>{if((d??r.locale??n())==="zh")return klt(e);return Llt(e)};var Ilt=()=>"Some downloads could not be started",Clt=()=>"部分下载无法启动",Rlt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Clt(e);return Ilt(e)};var Plt=()=>"A → Z",Tlt=()=>"A → Z",_c=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tlt(e);return Plt(e)};var Alt=()=>"Sort by",Dlt=()=>"排序",il=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dlt(e);return Alt(e)};var Elt=()=>"Created",Olt=()=>"创建时间",rE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Olt(e);return Elt(e)};var jlt=()=>"Custom",Nlt=()=>"自定义",Jf=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nlt(e);return jlt(e)};var Flt=()=>"Date Created",Blt=()=>"创建日期",Xf=(e={},r={})=>{if((d??r.locale??n())==="zh")return Blt(e);return Flt(e)};var Ylt=()=>"Date Modified",Ult=()=>"修改日期",nE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ult(e);return Ylt(e)};var qlt=()=>"Largest → Smallest",Vlt=()=>"最大 → 最小",ep=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vlt(e);return qlt(e)};var Hlt=()=>"Name",Wlt=()=>"名称",ll=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wlt(e);return Hlt(e)};var Glt=()=>"Newest → Oldest",Klt=()=>"最新 → 最旧",bc=(e={},r={})=>{if((d??r.locale??n())==="zh")return Klt(e);return Glt(e)};var Xlt=()=>"Oldest → Newest",Qlt=()=>"最旧 → 最新",vc=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qlt(e);return Xlt(e)};var Jlt=()=>"Size",$lt=()=>"大小",tp=(e={},r={})=>{if((d??r.locale??n())==="zh")return $lt(e);return Jlt(e)};var ect=()=>"Smallest → Largest",tct=()=>"最小 → 最大",rp=(e={},r={})=>{if((d??r.locale??n())==="zh")return tct(e);return ect(e)};var rct=()=>"Updated",oct=()=>"更新时间",oE=(e={},r={})=>{if((d??r.locale??n())==="zh")return oct(e);return rct(e)};var act=()=>"Z → A",nct=()=>"Z → A",wc=(e={},r={})=>{if((d??r.locale??n())==="zh")return nct(e);return act(e)};var ict=(e)=>`Sorted by ${e?.field}`,fct=(e)=>`按${e?.field}排序`,aE=(e,r={})=>{if((d??r.locale??n())==="zh")return fct(e);return ict(e)};var sct=()=>"Sorted by",lct=()=>"排序方式",sE=(e={},r={})=>{if((d??r.locale??n())==="zh")return lct(e);return sct(e)};var cct=()=>"Standard Time",uct=()=>"标准时间",iE=(e={},r={})=>{if((d??r.locale??n())==="zh")return uct(e);return cct(e)};var dct=()=>"Start Date",Zct=()=>"开始日期",cd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zct(e);return dct(e)};var pct=()=>"Start Download",mct=()=>"开始下载",dg=(e={},r={})=>{if((d??r.locale??n())==="zh")return mct(e);return pct(e)};var hct=(e)=>`Starting download of ${e?.count} files. Please allow multiple downloads if prompted by your browser.`,gct=(e)=>`正在开始下载 ${e?.count} 个文件。如果浏览器提示,请允许多个下载。`,Mct=(e,r={})=>{if((d??r.locale??n())==="zh")return gct(e);return hct(e)};var vct=()=>"Blocked",xct=()=>"已受阻",fg=(e={},r={})=>{if((d??r.locale??n())==="zh")return xct(e);return vct(e)};var yct=()=>"Done",bct=()=>"已完成",_ct=(e={},r={})=>{if((d??r.locale??n())==="zh")return bct(e);return yct(e)};var wct=()=>"In Progress",zct=()=>"进行中",Sct=(e={},r={})=>{if((d??r.locale??n())==="zh")return zct(e);return wct(e)};var Lct=()=>"In Review",kct=()=>"审核中",Ict=(e={},r={})=>{if((d??r.locale??n())==="zh")return kct(e);return Lct(e)};var Cct=()=>"Ready",Rct=()=>"就绪",Pct=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rct(e);return Cct(e)};var Tct=()=>"To Do",Act=()=>"待办",Dct=(e={},r={})=>{if((d??r.locale??n())==="zh")return Act(e);return Tct(e)};var Ect=()=>"Status Updates",Oct=()=>"状态更新",lE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Oct(e);return Ect(e)};var jct=()=>"Switch version",Nct=()=>"切换版本",ud=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nct(e);return jct(e)};var Fct=()=>"Sync Providers",Bct=()=>"同步提供商",cE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bct(e);return Fct(e)};var Yct=(e)=>`Add Selected (${e?.count})`,Uct=(e)=>`添加所选 (${e?.count})`,uE=(e,r={})=>{if((d??r.locale??n())==="zh")return Uct(e);return Yct(e)};var qct=()=>"Adding...",Vct=()=>"正在添加...",dE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vct(e);return qct(e)};var Hct=()=>"Checking for updates...",Wct=()=>"正在检查更新...",fE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wct(e);return Hct(e)};var Gct=()=>"Collapse All",Kct=()=>"全部折叠",pE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kct(e);return Gct(e)};var Xct=(e)=>`${e?.count}k ctx`,Qct=(e)=>`${e?.count}k 上下文`,mE=(e,r={})=>{if((d??r.locale??n())==="zh")return Qct(e);return Xct(e)};var Jct=()=>"Deselect All",$ct=()=>"取消全选",hE=(e={},r={})=>{if((d??r.locale??n())==="zh")return $ct(e);return Jct(e)};var eut=()=>"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.",tut=()=>"选择您希望添加的新提供商和模型。现有的提供商、自定义端点、API 密钥和模型配置绝不会被删除或修改。",gE=(e={},r={})=>{if((d??r.locale??n())==="zh")return tut(e);return eut(e)};var rut=()=>"Sync Providers & Models",out=()=>"同步提供商与模型",AE=(e={},r={})=>{if((d??r.locale??n())==="zh")return out(e);return rut(e)};var aut=()=>"Existing Provider",nut=()=>"现有提供商",yE=(e={},r={})=>{if((d??r.locale??n())==="zh")return nut(e);return aut(e)};var iut=()=>"Expand All",fut=()=>"全部展开",_E=(e={},r={})=>{if((d??r.locale??n())==="zh")return fut(e);return iut(e)};var sut=(e)=>`${e?.count} new models`,lut=(e)=>`${e?.count} 个新模型`,bE=(e,r={})=>{if((d??r.locale??n())==="zh")return lut(e);return sut(e)};var cut=()=>"New Provider",uut=()=>"新提供商",vE=(e={},r={})=>{if((d??r.locale??n())==="zh")return uut(e);return cut(e)};var dut=()=>"reasoning",Zut=()=>"深度思考",wE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zut(e);return dut(e)};var put=()=>"Filter new providers or models...",mut=()=>"筛选新提供商或模型...",xE=(e={},r={})=>{if((d??r.locale??n())==="zh")return mut(e);return put(e)};var hut=()=>"Select All",gut=()=>"全选",SE=(e={},r={})=>{if((d??r.locale??n())==="zh")return gut(e);return hut(e)};var Mut=(e)=>`${e?.modelCount} models selected across ${e?.providerCount} providers`,vut=(e)=>`已选 ${e?.modelCount} 个模型,分布在 ${e?.providerCount} 个提供商中`,CE=(e,r={})=>{if((d??r.locale??n())==="zh")return vut(e);return Mut(e)};var xut=(e)=>`Successfully added ${e?.modelCount} models across ${e?.providerCount} providers.`,yut=(e)=>`已成功添加 ${e?.providerCount} 个提供商中的 ${e?.modelCount} 个模型。`,EE=(e,r={})=>{if((d??r.locale??n())==="zh")return yut(e);return xut(e)};var but=()=>"All providers and models are already up to date.",_ut=()=>"所有提供商和模型均已是最新状态。",IE=(e={},r={})=>{if((d??r.locale??n())==="zh")return _ut(e);return but(e)};var wut=()=>"System",zut=()=>"跟随系统",Sut=(e={},r={})=>{if((d??r.locale??n())==="zh")return zut(e);return wut(e)};var Lut=()=>"Target Folder",kut=()=>"目标文件夹",np=(e={},r={})=>{if((d??r.locale??n())==="zh")return kut(e);return Lut(e)};var Iut=()=>"Task created",Cut=()=>"任务已创建",TE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cut(e);return Iut(e)};var Rut=()=>"Task deleted successfully",Put=()=>"任务已成功删除",ME=(e={},r={})=>{if((d??r.locale??n())==="zh")return Put(e);return Rut(e)};var Tut=()=>"Description",Aut=()=>"任务描述",pg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Aut(e);return Tut(e)};var Dut=()=>"Add details, acceptance criteria, or context...",Eut=()=>"添加详细说明、验收标准或背景信息...",mg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Eut(e);return Dut(e)};var Out=()=>"Priority",jut=()=>"优先级",hg=(e={},r={})=>{if((d??r.locale??n())==="zh")return jut(e);return Out(e)};var Nut=()=>"Task Title",Fut=()=>"任务标题",gg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fut(e);return Nut(e)};var But=()=>"What needs to be done?",Yut=()=>"需要完成什么任务?",Ag=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yut(e);return But(e)};var Uut=()=>"Agent Task",qut=()=>"智能体任务",dd=(e={},r={})=>{if((d??r.locale??n())==="zh")return qut(e);return Uut(e)};var Vut=()=>"Executed autonomously by an AI agent",Hut=()=>"由 AI 智能体自主执行",yg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hut(e);return Vut(e)};var Wut=()=>"team",Gut=()=>"团队",fd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Gut(e);return Wut(e)};var Kut=()=>"Team Attributes",Xut=()=>"团队属性",RE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xut(e);return Kut(e)};var Qut=()=>"Team",Jut=()=>"团队",kE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jut(e);return Qut(e)};var $ut=()=>"Team Member",edt=()=>"团队成员",op=(e={},r={})=>{if((d??r.locale??n())==="zh")return edt(e);return $ut(e)};var tdt=()=>"Team Members",rdt=()=>"团队成员",PE=(e={},r={})=>{if((d??r.locale??n())==="zh")return rdt(e);return tdt(e)};var odt=()=>"Team Settings",adt=()=>"团队设置",NE=(e={},r={})=>{if((d??r.locale??n())==="zh")return adt(e);return odt(e)};var ndt=()=>"Team Tasks",idt=()=>"团队任务",OE=(e={},r={})=>{if((d??r.locale??n())==="zh")return idt(e);return ndt(e)};var fdt=()=>"Team",sdt=()=>"团队",DE=(e={},r={})=>{if((d??r.locale??n())==="zh")return sdt(e);return fdt(e)};var ldt=()=>"Template deleted successfully",cdt=()=>"模板删除成功",ZE=(e={},r={})=>{if((d??r.locale??n())==="zh")return cdt(e);return ldt(e)};var udt=()=>"Template Name",ddt=()=>"模板名称",LE=(e={},r={})=>{if((d??r.locale??n())==="zh")return ddt(e);return udt(e)};var Zdt=()=>"Template saved successfully",pdt=()=>"模板保存成功",BE=(e={},r={})=>{if((d??r.locale??n())==="zh")return pdt(e);return Zdt(e)};var mdt=()=>"Template updated successfully",hdt=()=>"模板更新成功",UE=(e={},r={})=>{if((d??r.locale??n())==="zh")return hdt(e);return mdt(e)};var gdt=()=>"Text Content",Mdt=()=>"文本内容",zE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mdt(e);return gdt(e)};var vdt=()=>"Theme",xdt=()=>"主题",ydt=(e={},r={})=>{if((d??r.locale??n())==="zh")return xdt(e);return vdt(e)};var bdt=()=>"Disable",_dt=()=>"禁用",FE=(e={},r={})=>{if((d??r.locale??n())==="zh")return _dt(e);return bdt(e)};var wdt=()=>"High",zdt=()=>"高",jE=(e={},r={})=>{if((d??r.locale??n())==="zh")return zdt(e);return wdt(e)};var Sdt=()=>"Thinking Level",Ldt=()=>"思考级别",qE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ldt(e);return Sdt(e)};var kdt=()=>"Low",Idt=()=>"低",HE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Idt(e);return kdt(e)};var Cdt=()=>"Medium",Rdt=()=>"中",GE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rdt(e);return Cdt(e)};var Pdt=()=>"Thinking...",Tdt=()=>"思考中...",$E=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tdt(e);return Pdt(e)};var Adt=()=>"This folder is empty",Ddt=()=>"此文件夹为空",ap=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ddt(e);return Adt(e)};var Edt=()=>"Timecode",Odt=()=>"时间码",QE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Odt(e);return Edt(e)};var jdt=()=>"Timestamp",Ndt=()=>"时间戳",VE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ndt(e);return jdt(e)};var Fdt=()=>"Today",Bdt=()=>"今天",Ife=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bdt(e);return Fdt(e)};var Ydt=(e)=>`Today ${e?.time}`,Udt=(e)=>`今天 ${e?.time}`,qdt=(e,r={})=>{if((d??r.locale??n())==="zh")return Udt(e);return Ydt(e)};var Vdt=()=>"Toggle Annotation",Hdt=()=>"切换标注",KE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hdt(e);return Vdt(e)};var Wdt=()=>"Checked",Gdt=()=>"已选中",WE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Gdt(e);return Wdt(e)};var Kdt=()=>"Unchecked",Xdt=()=>"未选中",YE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xdt(e);return Kdt(e)};var Qdt=()=>"Token",Jdt=()=>"令牌",JE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jdt(e);return Qdt(e)};var $dt=()=>"Token Name",eZt=()=>"令牌名称",XE=(e={},r={})=>{if((d??r.locale??n())==="zh")return eZt(e);return $dt(e)};var tZt=()=>"e.g. My CLI token",rZt=()=>"例如:我的 CLI 令牌",eI=(e={},r={})=>{if((d??r.locale??n())==="zh")return rZt(e);return tZt(e)};var oZt=()=>"tokens",aZt=()=>"令牌",_g=(e={},r={})=>{if((d??r.locale??n())==="zh")return aZt(e);return oZt(e)};var nZt=()=>"Arguments",iZt=()=>"参数",sp=(e={},r={})=>{if((d??r.locale??n())==="zh")return iZt(e);return nZt(e)};var fZt=()=>"Parameters",sZt=()=>"参数列表",tI=(e={},r={})=>{if((d??r.locale??n())==="zh")return sZt(e);return fZt(e)};var lZt=(e)=>`Tool Result: ${e?.name}`,cZt=(e)=>`工具结果:${e?.name}`,ip=(e,r={})=>{if((d??r.locale??n())==="zh")return cZt(e);return lZt(e)};var uZt=()=>"Total Tokens",dZt=()=>"总 Token",bg=(e={},r={})=>{if((d??r.locale??n())==="zh")return dZt(e);return uZt(e)};var ZZt=()=>"Manage your team's media transcoding configurations.",pZt=()=>"管理团队的媒体转码配置。",vg=(e={},r={})=>{if((d??r.locale??n())==="zh")return pZt(e);return ZZt(e)};var mZt=()=>"Transcode Settings",hZt=()=>"转码设置",rI=(e={},r={})=>{if((d??r.locale??n())==="zh")return hZt(e);return mZt(e)};var gZt=()=>"Strategy: We select the best resolution from your list that supports the input quality. Content is never upscaled.",MZt=()=>"策略:我们会从您的列表中选择支持输入质量的最佳分辨率。内容不会被放大。",nI=(e={},r={})=>{if((d??r.locale??n())==="zh")return MZt(e);return gZt(e)};var vZt=()=>"Trash emptied successfully",xZt=()=>"回收站已清空",oI=(e={},r={})=>{if((d??r.locale??n())==="zh")return xZt(e);return vZt(e)};var yZt=(e)=>`Try adjusting your search for "${e?.query}"`,bZt=(e)=>`请尝试调整搜索 "${e?.query}"`,aI=(e,r={})=>{if((d??r.locale??n())==="zh")return bZt(e);return yZt(e)};var _Zt=()=>"Try adjusting spelling or removing filter rows.",wZt=()=>"请尝试调整拼写或移除筛选条件。",sI=(e={},r={})=>{if((d??r.locale??n())==="zh")return wZt(e);return _Zt(e)};var zZt=()=>"Type a message...",SZt=()=>"输入消息...",iI=(e={},r={})=>{if((d??r.locale??n())==="zh")return SZt(e);return zZt(e)};var LZt=()=>"Type **delete** to confirm:",kZt=()=>"输入 **delete** 以确认:",lI=(e={},r={})=>{if((d??r.locale??n())==="zh")return kZt(e);return LZt(e)};var IZt=()=>"Type:",CZt=()=>"类型:",cI=(e={},r={})=>{if((d??r.locale??n())==="zh")return CZt(e);return IZt(e)};var RZt=()=>"Type your query above and click the Search button to display results.",PZt=()=>"在上方输入查询内容并点击搜索按钮以显示结果。",uI=(e={},r={})=>{if((d??r.locale??n())==="zh")return PZt(e);return RZt(e)};var TZt=()=>"Unassigned",AZt=()=>"未指派",Wo=(e={},r={})=>{if((d??r.locale??n())==="zh")return AZt(e);return TZt(e)};var DZt=()=>"Unknown",EZt=()=>"未知",rn=(e={},r={})=>{if((d??r.locale??n())==="zh")return EZt(e);return DZt(e)};var OZt=()=>"unknown asset",jZt=()=>"未知资源",NZt=(e={},r={})=>{if((d??r.locale??n())==="zh")return jZt(e);return OZt(e)};var FZt=()=>"Unknown Date",BZt=()=>"未知日期",YZt=(e={},r={})=>{if((d??r.locale??n())==="zh")return BZt(e);return FZt(e)};var UZt=()=>"unknown project",qZt=()=>"未知项目",VZt=(e={},r={})=>{if((d??r.locale??n())==="zh")return qZt(e);return UZt(e)};var HZt=()=>"unknown task",WZt=()=>"未知任务",GZt=(e={},r={})=>{if((d??r.locale??n())==="zh")return WZt(e);return HZt(e)};var KZt=()=>"unknown team",XZt=()=>"未知团队",QZt=(e={},r={})=>{if((d??r.locale??n())==="zh")return XZt(e);return KZt(e)};var JZt=()=>"Unknown User",$Zt=()=>"未知用户",cl=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Zt(e);return JZt(e)};var ept=()=>"Unlink Asset",tpt=()=>"取消关联资产",rpt=(e={},r={})=>{if((d??r.locale??n())==="zh")return tpt(e);return ept(e)};var opt=()=>"Unlink Task",apt=()=>"取消关联",npt=(e={},r={})=>{if((d??r.locale??n())==="zh")return apt(e);return opt(e)};var ipt=()=>"Unread",fpt=()=>"未读",spt=(e={},r={})=>{if((d??r.locale??n())==="zh")return fpt(e);return ipt(e)};var lpt=()=>"Untitled Collection",cpt=()=>"未命名媒体合集",wg=(e={},r={})=>{if((d??r.locale??n())==="zh")return cpt(e);return lpt(e)};var upt=()=>"Untitled Session",dpt=()=>"未命名会话",lp=(e={},r={})=>{if((d??r.locale??n())==="zh")return dpt(e);return upt(e)};var Zpt=()=>"Untitled Upload",ppt=()=>"未命名上传",mpt=(e={},r={})=>{if((d??r.locale??n())==="zh")return ppt(e);return Zpt(e)};var hpt=()=>"Updated",gpt=()=>"更新于",dI=(e={},r={})=>{if((d??r.locale??n())==="zh")return gpt(e);return hpt(e)};var Mpt=()=>"Updated",vpt=()=>"更新于",xg=(e={},r={})=>{if((d??r.locale??n())==="zh")return vpt(e);return Mpt(e)};var xpt=()=>"Upload",ypt=()=>"上传",fI=(e={},r={})=>{if((d??r.locale??n())==="zh")return ypt(e);return xpt(e)};var bpt=()=>"Upload cover",_pt=()=>"上传封面",pI=(e={},r={})=>{if((d??r.locale??n())==="zh")return _pt(e);return bpt(e)};var wpt=()=>"Drag and drop, or browse. Recommended 1:1 (400×400px).",zpt=()=>"拖放或浏览文件。推荐比例 1:1(400×400像素)。",mI=(e={},r={})=>{if((d??r.locale??n())==="zh")return zpt(e);return wpt(e)};var Spt=()=>"Upload File",Lpt=()=>"上传文件",cp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lpt(e);return Spt(e)};var kpt=()=>"Upload Folder",Ipt=()=>"上传文件夹",up=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ipt(e);return kpt(e)};var Cpt=()=>"Upload Image",Rpt=()=>"上传图片",dp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rpt(e);return Cpt(e)};var Ppt=()=>"Upload Watermark Image",Tpt=()=>"上传水印图片",hI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tpt(e);return Ppt(e)};var Apt=()=>"Drag and drop, or browse. Max 1MB.",Dpt=()=>"拖放或浏览文件。最大 1MB。",gI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dpt(e);return Apt(e)};var Ept=()=>"Uploading...",Opt=()=>"上传中...",fp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Opt(e);return Ept(e)};var jpt=()=>"Uploading",Npt=()=>"上传中",Fpt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Npt(e);return jpt(e)};var Bpt=()=>"Uploads",Ypt=()=>"上传管理",Upt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ypt(e);return Bpt(e)};var qpt=()=>"Usage",Vpt=()=>"用量",AI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vpt(e);return qpt(e)};var Hpt=()=>"User",Wpt=()=>"用户",yI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wpt(e);return Hpt(e)};var Gpt=(e)=>`${e?.user} via ${e?.agent}`,Kpt=(e)=>`${e?.user} 通过 ${e?.agent}`,xc=(e,r={})=>{if((d??r.locale??n())==="zh")return Kpt(e);return Gpt(e)};var Xpt=()=>"Variable Name",Qpt=()=>"变量名称",_I=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qpt(e);return Xpt(e)};var Jpt=(e)=>`Version ${e?.version}`,$pt=(e)=>`版本 ${e?.version}`,emt=(e,r={})=>{if((d??r.locale??n())==="zh")return $pt(e);return Jpt(e)};var tmt=()=>"Version removed from stack",rmt=()=>"已从版本堆栈中移除版本",omt=(e={},r={})=>{if((d??r.locale??n())==="zh")return rmt(e);return tmt(e)};var amt=()=>"Version order updated",nmt=()=>"版本顺序已更新",imt=(e={},r={})=>{if((d??r.locale??n())==="zh")return nmt(e);return amt(e)};var fmt=(e)=>`${e?.count} enabled`,smt=(e)=>`${e?.count} 个已启用`,bI=(e,r={})=>{if((d??r.locale??n())==="zh")return smt(e);return fmt(e)};var lmt=()=>"Video Strategy",cmt=()=>"视频策略",vI=(e={},r={})=>{if((d??r.locale??n())==="zh")return cmt(e);return lmt(e)};var umt=(e)=>`(${e?.count} visible)`,dmt=(e)=>`(${e?.count} 个可见)`,wI=(e,r={})=>{if((d??r.locale??n())==="zh")return dmt(e);return umt(e)};var Zmt=()=>"Watermark",pmt=()=>"水印",Sg=(e={},r={})=>{if((d??r.locale??n())==="zh")return pmt(e);return Zmt(e)};var mmt=()=>"Watermark disabled",hmt=()=>"水印已禁用",xI=(e={},r={})=>{if((d??r.locale??n())==="zh")return hmt(e);return mmt(e)};var gmt=()=>"Watermark Editor",Mmt=()=>"水印编辑器",SI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mmt(e);return gmt(e)};var vmt=()=>"Templates",xmt=()=>"水印模板",CI=(e={},r={})=>{if((d??r.locale??n())==="zh")return xmt(e);return vmt(e)};var ymt=()=>"Transcoding watermark media...",bmt=()=>"水印媒体转码处理中...",EI=(e={},r={})=>{if((d??r.locale??n())==="zh")return bmt(e);return ymt(e)};var _mt=()=>"Watermark updated successfully",wmt=()=>"水印更新成功",II=(e={},r={})=>{if((d??r.locale??n())==="zh")return wmt(e);return _mt(e)};var zmt=()=>"Welcome Back",Smt=()=>"欢迎回来",Lmt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Smt(e);return zmt(e)};var kmt=()=>"When someone comments on a task",Imt=()=>"当有人在任务中发表评论时",TI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Imt(e);return kmt(e)};var Cmt=()=>"When tasks are created, assigned, updated, or deleted",Rmt=()=>"当任务被创建、分配、更新或删除时",MI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rmt(e);return Cmt(e)};var Pmt=()=>"When other users upload assets",Tmt=()=>"当其他用户上传素材时",RI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tmt(e);return Pmt(e)};var Amt=()=>"When someone changes an asset's status",Dmt=()=>"当有人更改素材的状态时",kI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dmt(e);return Amt(e)};var Emt=()=>"When someone comments on an asset",Omt=()=>"当有人评论素材时",PI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Omt(e);return Emt(e)};var jmt=()=>"When someone @mentions you in a comment",Nmt=()=>"当有人在评论中 @提及你时",NI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nmt(e);return jmt(e)};var Fmt=()=>"When someone replies to your comment",Bmt=()=>"当有人回复你的评论时",OI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bmt(e);return Fmt(e)};var Ymt=()=>"When you upload assets",Umt=()=>"当你上传素材时",DI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Umt(e);return Ymt(e)};var qmt=()=>"Yesterday",Vmt=()=>"昨天",Cfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vmt(e);return qmt(e)};var Hmt=(e)=>`Yesterday ${e?.time}`,Wmt=(e)=>`昨天 ${e?.time}`,Gmt=(e,r={})=>{if((d??r.locale??n())==="zh")return Wmt(e);return Hmt(e)};var Kmt=()=>"Your Uploads",Xmt=()=>"你的上传",ZI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xmt(e);return Kmt(e)};var Qmt=()=>"Zoom In",Jmt=()=>"放大",pp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jmt(e);return Qmt(e)};var $mt=()=>"Zoom Out",eht=()=>"缩小",mp=(e={},r={})=>{if((d??r.locale??n())==="zh")return eht(e);return $mt(e)};var tht=(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 Rfe(){let{clearAuth:e}=Ss(),r=Vo(),a=(g)=>{if(!g)return"";switch(g.toLowerCase()){case"owner":return yc();case"editor":return ya();case"reviewer":return ba();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}=vee(),l=Me(),c=async()=>{await Hie(),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(Ee,{src:i.image,alt:i.name,className:"object-cover rounded-lg w-10 h-10"}),t(Ie,{className:"rounded-lg bg-primary/40 text-foreground",children:m(i?.name)})]})}),o(Ae,{className:"w-56",align:"end",forceMount:!0,children:[i&&o(B,{children:[t(qr,{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(qt,{})]}),o(Ns,{children:[t(Os,{children:ydt()}),t(Ps,{children:o(Ds,{children:[o(V,{className:"justify-between flex items-center",onClick:()=>f("light"),children:[t("span",{children:U9e()}),s==="light"&&t(Te,{className:"size-4"})]}),o(V,{className:"justify-between flex items-center",onClick:()=>f("dark"),children:[t("span",{children:y4e()}),s==="dark"&&t(Te,{className:"size-4"})]}),o(V,{className:"justify-between flex items-center",onClick:()=>f("system"),children:[t("span",{children:Sut()}),s==="system"&&t(Te,{className:"size-4"})]})]})})]}),t(qt,{}),t(V,{onClick:()=>l({to:"/teams/$teamId/settings",params:{teamId:r}}),disabled:!r,children:Wf()}),t(qt,{}),t(V,{className:"text-red-500 focus:text-red-500",onClick:c,children:mVe()}),t(qt,{}),o(V,{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(tht,{className:"size-3.5"}),t("span",{children:emt({version:Wie})})]})]})]})}var ML=()=>null,Pfe=({children:e,hideMobileButton:r=!1,defaultMobileContent:a})=>{let{isMobileMenuOpen:i,activeItem:f,setActiveItem:s,toggleMobileMenu:l,closeMobileMenu:c}=m1(),m=wz({select:(z)=>z.location.pathname}),g=O(()=>Fc.toArray(e).filter((z)=>Hs(z)&&z.type===ML),[e]),M=v(m);h(()=>{if(M.current!==m)M.current=m,c()},[m,c]);let x=f!==null?g[f]?.props:null,b=x??(i?a:null),y=Boolean(x||i&&a),_=(z)=>{let F=g[z];if(!F.props.children){s(null),F.props.onItemClick?.();return}if(f===z)s(null);else{if(F&&F.props.onItemClick)F.props.onItemClick();s(z)}};return o(B,{children:[!r&&t(S,{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(rM,{})}),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(pn,{children:g.map((z,F)=>{let k=Boolean(z.props.active||f===F);return o(mn,{children:[t(hn,{asChild:!0,children:o(S,{variant:"ghost",size:"icon-lg",onClick:()=>_(F),"aria-label":z.props.label,"aria-expanded":f===F,className:`relative w-12 h-12 [&_svg:not([class*='size-'])]:size-6 transition-colors duration-200 ${k?"text-sidebar-primary hover:bg-sidebar-accent hover:text-sidebar-primary":"text-sidebar-foreground/60 hover:text-sidebar-foreground hover:bg-sidebar-accent"}`,children:[z.props.icon,z.props.badge]})}),t(gn,{side:"right",children:t("p",{children:z.props.label})})]},z.props.label)})})}),t("div",{className:"mt-auto w-full flex flex-col items-center pb-2",children:t(Rfe,{})})]}),t("div",{className:E("transition-all duration-300 ease-in-out bg-sidebar/95 backdrop-blur-sm shadow-lg overflow-hidden",y?"w-[calc(100vw-4rem)] border-r border-sidebar-border":"w-0",x?"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:b&&o(B,{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:b.label}),t(S,{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(Oe,{className:"h-5 w-5"})})]}),t("div",{className:"flex-1 overflow-y-auto p-2",children:b.children})]})})})]})]})};function We({...e}){return t(fLe,{"data-slot":"alert-dialog",...e})}function rht({...e}){return t(sLe,{"data-slot":"alert-dialog-portal",...e})}function oht({className:e,...r}){return t(lLe,{"data-slot":"alert-dialog-overlay",className:E("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 Ye({className:e,size:r="default",...a}){return o(rht,{children:[t(oht,{}),t(cLe,{"data-slot":"alert-dialog-content","data-size":r,className:E("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 Je({className:e,...r}){return t("div",{"data-slot":"alert-dialog-header",className:E("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 Xe({className:e,...r}){return t("div",{"data-slot":"alert-dialog-footer",className:E("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 et({className:e,...r}){return t(ZLe,{"data-slot":"alert-dialog-title",className:E("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 tt({className:e,...r}){return t(pLe,{"data-slot":"alert-dialog-description",className:E("text-sm text-muted-foreground",e),...r})}function rt({className:e,variant:r="default",size:a="default",...i}){return t(S,{variant:r,size:a,asChild:!0,children:t(uLe,{"data-slot":"alert-dialog-action",className:E(e),...i})})}function nt({className:e,variant:r="outline",size:a="default",...i}){return t(S,{variant:r,size:a,asChild:!0,children:t(dLe,{"data-slot":"alert-dialog-cancel",className:E(e),...i})})}function fe({...e}){return t(GY,{"data-slot":"dialog",...e})}function Cg({...e}){return t(KY,{"data-slot":"dialog-trigger",...e})}function aht({...e}){return t(XY,{"data-slot":"dialog-portal",...e})}function nht({className:e,...r}){return t(QY,{"data-slot":"dialog-overlay",className:E("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 ce({className:e,children:r,showCloseButton:a=!0,...i}){return o(aht,{"data-slot":"dialog-portal",children:[t(nht,{}),o(JY,{"data-slot":"dialog-content",className:E("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(nT,{"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(Oe,{}),t("span",{className:"sr-only",children:"Close"})]})]})]})}function pe({className:e,...r}){return t("div",{"data-slot":"dialog-header",className:E("flex flex-col gap-2 text-center sm:text-left",e),...r})}function qe({className:e,showCloseButton:r=!1,children:a,...i}){return o("div",{"data-slot":"dialog-footer",className:E("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...i,children:[a,r&&t(nT,{asChild:!0,children:t(S,{variant:"outline",children:"Close"})})]})}function ue({className:e,...r}){return t($Y,{"data-slot":"dialog-title",className:E("text-lg leading-none font-semibold",e),...r})}function It({className:e,...r}){return t(e7,{"data-slot":"dialog-description",className:E("text-sm text-muted-foreground",e),...r})}function q({className:e,type:r,...a}){return t("input",{type:r,"data-slot":"input",className:E("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 se({className:e,children:r,...a}){return o(HIe,{"data-slot":"scroll-area",className:E("relative",e),...a,children:[t(WIe,{"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(SN,{}),t(GIe,{})]})}function SN({className:e,orientation:r="vertical",...a}){return t(DIe,{"data-slot":"scroll-area-scrollbar",orientation:r,className:E("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(BIe,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-border"})})}var st=Sr()(p1((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:Kz(()=>localStorage)}));C();function Rt(e){let r=st((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 O(()=>({role:a?.role,canEdit:a?.role==="owner"||a?.role==="editor",canAdmin:a?.role==="owner"}),[a?.role])}C();var iht=Symbol.for("preact-signals");function CN(){if(!(vM>1)){var e,r=!1;(function(){var f=kN;kN=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(IT!==void 0){var a=IT;IT=void 0,LN++;while(a!==void 0){var i=a.u;if(a.u=void 0,a.f&=-3,!(8&a.f)&&Afe(a))try{a.c()}catch(f){if(!r)e=f,r=!0}a=i}}if(LN=0,vM--,r)throw e}else vM--}function ra(e){if(vM>0)return e();SU=++fht,vM++;try{return e()}finally{CN()}}var kT,Zn=void 0;function yo(e){var r=Zn,a=kT;Zn=void 0,kT=void 0;try{return e()}finally{Zn=r,kT=a}}var IT=void 0,vM=0,LN=0,fht=0,SU=0,kN=void 0,IN=0;function Tfe(e){if(Zn!==void 0){var r=e.n;if(r===void 0||r.t!==Zn){if(r={i:0,S:e,p:Zn.s,n:void 0,t:Zn,e:void 0,x:void 0,r},Zn.s!==void 0)Zn.s.n=r;if(Zn.s=r,e.n=r,32&Zn.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=Zn.s,r.n=void 0,Zn.s.n=r,Zn.s=r}return r}}}function Cs(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}Cs.prototype.brand=iht;Cs.prototype.h=function(){return!0};Cs.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 yo(function(){var i;(i=r.W)==null||i.call(r)})};Cs.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)yo(function(){var f;(f=r.Z)==null||f.call(r)})}}};Cs.prototype.subscribe=function(e){var r=this;return Ri(function(){var a=r.value;yo(function(){return e(a)})},{name:"sub"})};Cs.prototype.valueOf=function(){return this.value};Cs.prototype.toString=function(){return this.value+""};Cs.prototype.toJSON=function(){return this.value};Cs.prototype.peek=function(){var e=this;return yo(function(){return e.value})};Object.defineProperty(Cs.prototype,"value",{get:function(){var e=Tfe(this);if(e!==void 0)e.i=this.i;return this.v},set:function(e){if(e!==this.v){if(LN>100)throw Error("Cycle detected");(function(a){if(vM!==0&&LN===0){if(a.l!==SU)a.l=SU,kN={S:a,v:a.v,i:a.i,o:kN}}})(this),this.v=e,this.i++,IN++,vM++;try{for(var r=this.t;r!==void 0;r=r.x)r.t.N()}finally{CN()}}}});function EZ(e,r){return new Cs(e,r)}function Afe(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 Dfe(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 Efe(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 vL(e,r){Cs.call(this,void 0,r),this.x=e,this.s=void 0,this.g=IN-1,this.f=4}vL.prototype=new Cs;vL.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===IN)return!0;if(this.g=IN,this.f|=1,this.i>0&&!Afe(this))return this.f&=-2,!0;var e=Zn;try{Dfe(this),Zn=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 Zn=e,Efe(this),this.f&=-2,!0};vL.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)}Cs.prototype.S.call(this,e)};vL.prototype.U=function(e){if(this.t!==void 0){if(Cs.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)}}};vL.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(vL.prototype,"value",{get:function(){if(1&this.f)throw Error("Cycle detected");var e=Tfe(this);if(this.h(),e!==void 0)e.i=this.i;if(16&this.f)throw this.v;return this.v}});function LU(e,r){return new vL(e,r)}function Ofe(e){var r=e.m;if(e.m=void 0,typeof r=="function"){vM++;var a=Zn;Zn=void 0;try{r()}catch(i){throw e.f&=-2,e.f|=8,kU(e),i}finally{Zn=a,CN()}}}function kU(e){for(var r=e.s;r!==void 0;r=r.n)r.S.U(r);e.x=void 0,e.s=void 0,Ofe(e)}function sht(e){if(Zn!==this)throw Error("Out-of-order effect");if(Efe(this),Zn=e,this.f&=-2,8&this.f)kU(this);CN()}function P1(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,kT)kT.push(this)}P1.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()}};P1.prototype.S=function(){if(1&this.f)throw Error("Cycle detected");this.f|=1,this.f&=-9,Ofe(this),Dfe(this),vM++;var e=Zn;return Zn=this,sht.bind(this,e)};P1.prototype.N=function(){if(!(2&this.f))this.f|=2,this.u=IT,IT=this};P1.prototype.d=function(){if(this.f|=8,!(1&this.f))kU(this)};P1.prototype.dispose=function(){this.d()};function Ri(e,r){var a=new P1(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:lht,defineProperty:NU,defineProperties:cht,getOwnPropertyDescriptor:uht,getOwnPropertyDescriptors:dht,getOwnPropertySymbols:jfe}=Object,Zht=Object.prototype.hasOwnProperty,pht=Object.prototype.propertyIsEnumerable,Ffe=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),T1=(e)=>{throw TypeError(e)},TU=(e,r,a)=>(r in e)?NU(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,mht=(e,r)=>{for(var a in r||(r={}))if(Zht.call(r,a))TU(e,a,r[a]);if(jfe){for(var a of jfe(r))if(pht.call(r,a))TU(e,a,r[a])}return e},hht=(e,r)=>cht(e,dht(r)),Nfe=(e,r)=>NU(e,"name",{value:r,configurable:!0}),ght=(e)=>{var r;return[,,,lht((r=e==null?void 0:e[Ffe("metadata")])!=null?r:null)]},Bfe=["class","method","getter","setter","accessor","field","value","get","set"],CT=(e)=>e!==void 0&&typeof e!=="function"?T1("Function expected"):e,Mht=(e,r,a,i,f)=>({kind:Bfe[e],name:r,metadata:i,addInitializer:(s)=>a._?T1("Already initialized"):f.push(CT(s||null))}),Yfe=(e,r)=>TU(r,Ffe("metadata"),e[3]),xL=(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},A1=(e,r,a,i,f,s)=>{var l,c,m,g,M,x=r&7,b=!!(r&8),y=!!(r&16),_=x>3?e.length+1:x?b?1:2:0,z=Bfe[x+5],F=x>3&&(e[_-1]=[]),k=e[_]||(e[_]=[]),I=x&&(!y&&!b&&(f=f.prototype),x<5&&(x>3||!y)&&uht(x<4?f:{get[a](){return nu(this,s)},set[a](W){return B8(this,s,W)}},a));x?y&&x<4&&Nfe(s,(x>2?"set ":x>1?"get ":"")+a):Nfe(f,a);for(var Y=i.length-1;Y>=0;Y--){if(g=Mht(x,a,m={},e[3],k),x){if(g.static=b,g.private=y,M=g.access={has:y?(W)=>vht(f,W):(W)=>(a in W)},x^3)M.get=y?(W)=>(x^1?nu:xht)(W,f,x^4?s:I.get):(W)=>W[a];if(x>2)M.set=y?(W,X)=>B8(W,f,X,x^4?s:I.set):(W,X)=>W[a]=X}if(c=(0,i[Y])(x?x<4?y?s:I[z]:x>4?void 0:{get:I.get,set:I.set}:f,g),m._=1,x^4||c===void 0)CT(c)&&(x>4?F.unshift(c):x?y?s=c:I[z]=c:f=c);else if(typeof c!=="object"||c===null)T1("Object expected");else CT(l=c.get)&&(I.get=l),CT(l=c.set)&&(I.set=l),CT(l=c.init)&&F.unshift(l)}return x||Yfe(e,f),I&&NU(f,a,I),y?x^4?s:I:f},FU=(e,r,a)=>r.has(e)||T1("Cannot "+a),vht=(e,r)=>Object(r)!==r?T1('Cannot use the "in" operator on this value'):e.has(r),nu=(e,r,a)=>(FU(e,r,"read from private field"),a?a.call(e):r.get(e)),RT=(e,r,a)=>r.has(e)?T1("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),B8=(e,r,a,i)=>(FU(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),xht=(e,r,a)=>(FU(e,r,"access private method"),a);function D1(e,r){if(r){let a;return LU(()=>{let i=e();if(i&&a&&r(a,i))return a;return a=i,i})}return LU(e)}function ds(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)=>!ds(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)=>!ds(e[s],r[s]))}return!1}function To({get:e},r){return{init(a){return EZ(a)},get(){return e.call(this).value},set(a){let i=e.call(this);if(i.peek()===a)return;i.value=a}}}function sn(e,r){let a=new WeakMap;return function(){let i=a.get(this);if(!i)i=D1(e.bind(this)),a.set(this,i);return i.value}}function IU(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,hht(mht({},f),{enumerable:e}))})}}function bL(...e){let r=e.map((a)=>Ri(a));return()=>r.forEach((a)=>a())}var Ufe,qfe,Vfe,Hfe,Wfe,Gfe,Js,BU,CU,AU,DU,As,YU,RU,Kfe,EU,UU,PU,OU,jU;Gfe=[To],Wfe=[To],Hfe=[To],Vfe=[IU()],qfe=[IU()],Ufe=[IU()];var OZ=class{constructor(e,r=Object.is){this.defaultValue=e,this.equals=r,xL(Js,5,this),RT(this,As),RT(this,BU,xL(Js,8,this)),xL(Js,11,this),RT(this,YU,xL(Js,12,this)),xL(Js,15,this),RT(this,UU,xL(Js,16,this)),xL(Js,19,this),this.reset=this.reset.bind(this),this.reset()}get current(){return nu(this,As,OU)}get initial(){return nu(this,As,AU)}get previous(){return nu(this,As,Kfe)}set current(e){let r=yo(()=>nu(this,As,OU));if(e&&r&&this.equals(r,e))return;ra(()=>{if(!nu(this,As,AU))B8(this,As,e,DU);B8(this,As,r,EU),B8(this,As,e,jU)})}reset(e=this.defaultValue){ra(()=>{B8(this,As,void 0,EU),B8(this,As,e,DU),B8(this,As,e,jU)})}};Js=ght(null);BU=new WeakMap;As=new WeakSet;YU=new WeakMap;UU=new WeakMap;CU=A1(Js,20,"#initial",Gfe,As,BU),AU=CU.get,DU=CU.set;RU=A1(Js,20,"#previous",Wfe,As,YU),Kfe=RU.get,EU=RU.set;PU=A1(Js,20,"#current",Hfe,As,UU),OU=PU.get,jU=PU.set;A1(Js,2,"current",Vfe,OZ);A1(Js,2,"initial",qfe,OZ);A1(Js,2,"previous",Ufe,OZ);Yfe(Js,OZ);function RN(e){return yo(()=>{let r={};for(let a in e)r[a]=e[a];return r})}var yL,Xfe=class{constructor(){RT(this,yL,new WeakMap)}get(e,r){var a;return e?(a=nu(this,yL).get(e))==null?void 0:a.get(r):void 0}set(e,r,a){var i;if(!e)return;if(!nu(this,yL).has(e))nu(this,yL).set(e,new Map);return(i=nu(this,yL).get(e))==null?void 0:i.set(r,a)}clear(e){var r;return e?(r=nu(this,yL).get(e))==null?void 0:r.clear():void 0}};yL=new WeakMap;var{create:yht,defineProperty:GU,getOwnPropertyDescriptor:bht,getOwnPropertySymbols:Qfe}=Object,_ht=Object.prototype.hasOwnProperty,wht=Object.prototype.propertyIsEnumerable,ese=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),E1=(e)=>{throw TypeError(e)},Jfe=Math.pow,qU=(e,r,a)=>(r in e)?GU(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,zht=(e,r)=>{for(var a in r||(r={}))if(_ht.call(r,a))qU(e,a,r[a]);if(Qfe){for(var a of Qfe(r))if(wht.call(r,a))qU(e,a,r[a])}return e},$fe=(e,r)=>GU(e,"name",{value:r,configurable:!0}),Sht=(e)=>{var r;return[,,,yht((r=e==null?void 0:e[ese("metadata")])!=null?r:null)]},tse=["class","method","getter","setter","accessor","field","value","get","set"],PT=(e)=>e!==void 0&&typeof e!=="function"?E1("Function expected"):e,Lht=(e,r,a,i,f)=>({kind:tse[e],name:r,metadata:i,addInitializer:(s)=>a._?E1("Already initialized"):f.push(PT(s||null))}),rse=(e,r)=>qU(r,ese("metadata"),e[3]),kht=(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},ose=(e,r,a,i,f,s)=>{var l,c,m,g,M,x=r&7,b=!!(r&8),y=!!(r&16),_=x>3?e.length+1:x?b?1:2:0,z=tse[x+5],F=x>3&&(e[_-1]=[]),k=e[_]||(e[_]=[]),I=x&&(!y&&!b&&(f=f.prototype),x<5&&(x>3||!y)&&bht(x<4?f:{get[a](){return VU(this,s)},set[a](W){return HU(this,s,W)}},a));x?y&&x<4&&$fe(s,(x>2?"set ":x>1?"get ":"")+a):$fe(f,a);for(var Y=i.length-1;Y>=0;Y--){if(g=Lht(x,a,m={},e[3],k),x){if(g.static=b,g.private=y,M=g.access={has:y?(W)=>Iht(f,W):(W)=>(a in W)},x^3)M.get=y?(W)=>(x^1?VU:Rht)(W,f,x^4?s:I.get):(W)=>W[a];if(x>2)M.set=y?(W,X)=>HU(W,f,X,x^4?s:I.set):(W,X)=>W[a]=X}if(c=(0,i[Y])(x?x<4?y?s:I[z]:x>4?void 0:{get:I.get,set:I.set}:f,g),m._=1,x^4||c===void 0)PT(c)&&(x>4?F.unshift(c):x?y?s=c:I[z]=c:f=c);else if(typeof c!=="object"||c===null)E1("Object expected");else PT(l=c.get)&&(I.get=l),PT(l=c.set)&&(I.set=l),PT(l=c.init)&&F.unshift(l)}return x||rse(e,f),I&&GU(f,a,I),y?x^4?s:I:f},KU=(e,r,a)=>r.has(e)||E1("Cannot "+a),Iht=(e,r)=>Object(r)!==r?E1('Cannot use the "in" operator on this value'):e.has(r),VU=(e,r,a)=>(KU(e,r,"read from private field"),a?a.call(e):r.get(e)),Cht=(e,r,a)=>r.has(e)?E1("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),HU=(e,r,a,i)=>(KU(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),Rht=(e,r,a)=>(KU(e,r,"access private method"),a),js=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)}},Al=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=zht({},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 js((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 Pht(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 js.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 Pht(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 ase,nse,WU,PN,TT,AT=class extends(WU=OZ,nse=[sn],ase=[sn],WU){constructor(e){let r=js.from(e);super(r,(a,i)=>js.equals(a,i));kht(TT,5,this),Cht(this,PN,0),this.velocity={x:0,y:0}}get delta(){return js.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=js.from(e),i={x:a.x-r.x,y:a.y-r.y},f=Date.now(),s=f-VU(this,PN),l=(c)=>Math.round(c/s*100);ra(()=>{HU(this,PN,f),this.velocity={x:l(i.x),y:l(i.y)},super.current=a})}reset(e=this.defaultValue){super.reset(js.from(e)),this.velocity={x:0,y:0}}};TT=Sht(WU);PN=new WeakMap;ose(TT,2,"delta",nse,AT);ose(TT,2,"direction",ase,AT);rse(TT,AT);function TN({x:e,y:r},a){let i=Math.abs(e),f=Math.abs(r);if(typeof a==="number")return Math.sqrt(Jfe(i,2)+Jfe(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 ise=((e)=>(e.Horizontal="x",e.Vertical="y",e))(ise||{}),XU=Object.values(ise);var{create:Tht,defineProperty:tq,defineProperties:Aht,getOwnPropertyDescriptor:Dht,getOwnPropertyDescriptors:Eht,getOwnPropertySymbols:FN}=Object,lse=Object.prototype.hasOwnProperty,cse=Object.prototype.propertyIsEnumerable,use=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),Y1=(e)=>{throw TypeError(e)},JU=(e,r,a)=>(r in e)?tq(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,rq=(e,r)=>{for(var a in r||(r={}))if(lse.call(r,a))JU(e,a,r[a]);if(FN){for(var a of FN(r))if(cse.call(r,a))JU(e,a,r[a])}return e},oq=(e,r)=>Aht(e,Eht(r)),fse=(e,r)=>tq(e,"name",{value:r,configurable:!0}),dse=(e,r)=>{var a={};for(var i in e)if(lse.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&FN){for(var i of FN(e))if(r.indexOf(i)<0&&cse.call(e,i))a[i]=e[i]}return a},U1=(e)=>{var r;return[,,,Tht((r=e==null?void 0:e[use("metadata")])!=null?r:null)]},Zse=["class","method","getter","setter","accessor","field","value","get","set"],DT=(e)=>e!==void 0&&typeof e!=="function"?Y1("Function expected"):e,Oht=(e,r,a,i,f)=>({kind:Zse[e],name:r,metadata:i,addInitializer:(s)=>a._?Y1("Already initialized"):f.push(DT(s||null))}),wL=(e,r)=>JU(r,use("metadata"),e[3]),mo=(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},Fo=(e,r,a,i,f,s)=>{var l,c,m,g,M,x=r&7,b=!!(r&8),y=!!(r&16),_=x>3?e.length+1:x?b?1:2:0,z=Zse[x+5],F=x>3&&(e[_-1]=[]),k=e[_]||(e[_]=[]),I=x&&(!y&&!b&&(f=f.prototype),x<5&&(x>3||!y)&&Dht(x<4?f:{get[a](){return Xn(this,s)},set[a](W){return Lc(this,s,W)}},a));x?y&&x<4&&fse(s,(x>2?"set ":x>1?"get ":"")+a):fse(f,a);for(var Y=i.length-1;Y>=0;Y--){if(g=Oht(x,a,m={},e[3],k),x){if(g.static=b,g.private=y,M=g.access={has:y?(W)=>jht(f,W):(W)=>(a in W)},x^3)M.get=y?(W)=>(x^1?Xn:pse)(W,f,x^4?s:I.get):(W)=>W[a];if(x>2)M.set=y?(W,X)=>Lc(W,f,X,x^4?s:I.set):(W,X)=>W[a]=X}if(c=(0,i[Y])(x?x<4?y?s:I[z]:x>4?void 0:{get:I.get,set:I.set}:f,g),m._=1,x^4||c===void 0)DT(c)&&(x>4?F.unshift(c):x?y?s=c:I[z]=c:f=c);else if(typeof c!=="object"||c===null)Y1("Object expected");else DT(l=c.get)&&(I.get=l),DT(l=c.set)&&(I.set=l),DT(l=c.init)&&F.unshift(l)}return x||wL(e,f),I&&tq(f,a,I),y?x^4?s:I:f},aq=(e,r,a)=>r.has(e)||Y1("Cannot "+a),jht=(e,r)=>Object(r)!==r?Y1('Cannot use the "in" operator on this value'):e.has(r),Xn=(e,r,a)=>(aq(e,r,"read from private field"),a?a.call(e):r.get(e)),sa=(e,r,a)=>r.has(e)?Y1("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Lc=(e,r,a,i)=>(aq(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),pse=(e,r,a)=>(aq(e,r,"access private method"),a);function mse(e,r){return{plugin:e,options:r}}function Ls(e){return(r)=>mse(e,r)}function B1(e){if(typeof e==="function")return{plugin:e,options:void 0};return e}var hse,jT,nq,DN;hse=[To];var ts=class{constructor(e,r){this.manager=e,this.options=r,sa(this,nq,mo(jT,8,this,!1)),mo(jT,11,this),sa(this,DN,new Set)}enable(){this.disabled=!1}disable(){this.disabled=!0}isDisabled(){return yo(()=>this.disabled)}configure(e){this.options=e}registerEffect(e){let r=Ri(e.bind(this));return Xn(this,DN).add(r),r}destroy(){Xn(this,DN).forEach((e)=>e())}static configure(e){return mse(this,e)}};jT=U1(null);nq=new WeakMap;DN=new WeakMap;Fo(jT,4,"disabled",hse,ts,nq);wL(jT,ts);var q1=class extends ts{},EN,QU=class{constructor(e){this.manager=e,this.instances=new Map,sa(this,EN,[])}get values(){return Array.from(this.instances.values())}set values(e){let r=e.map(B1).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 Xn(this,EN))if(!a.includes(i)){if(i.prototype instanceof q1)continue;this.unregister(i)}for(let{plugin:i,options:f}of r)this.register(i,f);Lc(this,EN,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()}};EN=new WeakMap;function Nht(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 AN=[],O1,j1,Fht=class extends ts{constructor(e){super(e);sa(this,O1),sa(this,j1),this.computeCollisions=this.computeCollisions.bind(this),Lc(this,j1,EZ(AN)),this.destroy=bL(()=>{let r=this.computeCollisions(),a=yo(()=>this.manager.dragOperation.position.current);if(r!==AN){let i=Xn(this,O1);if(Lc(this,O1,a),i&&a.x==i.x&&a.y==i.y)return}else Lc(this,O1,void 0);Xn(this,j1).value=r},()=>{let{dragOperation:r}=this.manager;if(r.status.initialized)this.forceUpdate()})}forceUpdate(e=!0){yo(()=>{if(e)Xn(this,j1).value=this.computeCollisions();else Lc(this,O1,void 0)})}computeCollisions(e,r){let{registry:a,dragOperation:i}=this.manager,{source:f,shape:s,status:l}=i;if(!l.initialized||!s)return AN;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 x=yo(()=>M({droppable:g,dragOperation:i}));if(x){if(g.collisionPriority!=null)x.priority=g.collisionPriority;c.push(x)}}if(m.length===0)return AN;return c.sort(Nht),c}get collisions(){return Xn(this,j1).value}};O1=new WeakMap;j1=new WeakMap;var gse,Mse,vse,iq,xse,eZ,fq,F1,sq,lq;vse=[To],Mse=[To],gse=[To];var xM=class e{constructor(r,a){sa(this,fq,mo(eZ,8,this)),mo(eZ,11,this),sa(this,F1),sa(this,sq,mo(eZ,12,this)),mo(eZ,15,this),sa(this,lq,mo(eZ,16,this)),mo(eZ,19,this);let{effects:i,id:f,data:s={},disabled:l=!1,register:c=!0}=r,m=f;if(Lc(this,F1,EZ(f)),this.manager=a,this.data=s,this.disabled=l,this.effects=()=>{var g;return[()=>{let{id:M,manager:x}=this;if(M===m)return;return m=M,x==null||x.registry.register(this),()=>x==null?void 0:x.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=Xn(this,F1).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:Xn(this,F1).peek();if(r===f)return;if(!e.pendingIdChanges)e.pendingIdChanges=new Map,queueMicrotask(()=>{var s;return pse(s=e,iq,xse).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)}};eZ=U1(null);iq=new WeakSet;xse=function(){let e=xM.pendingIdChanges;if(xM.pendingIdChanges=null,e)ra(()=>{for(let[r,a]of e)Xn(r,F1).value=a})};fq=new WeakMap;F1=new WeakMap;sq=new WeakMap;lq=new WeakMap;Fo(eZ,4,"manager",vse,xM,fq);Fo(eZ,4,"data",Mse,xM,sq);Fo(eZ,4,"disabled",gse,xM,lq);sa(xM,iq);wL(eZ,xM);xM.pendingIdChanges=null;var BN=xM,sse=class{constructor(){this.map=EZ(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=bL(...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}},yse,bse,_se,wse,zse,Sse,$U,$s,cq,uq,dq,tZ=class extends($U=BN,Sse=[To],zse=[To],wse=[To],_se=[sn],bse=[sn],yse=[sn],$U){constructor(e,r){var a=e,{modifiers:i,type:f,sensors:s,plugins:l,effects:c}=a,m=dse(a,["modifiers","type","sensors","plugins","effects"]);super(oq(rq({},m),{effects:()=>{var g;return[...(g=c==null?void 0:c())!=null?g:[],()=>{let{manager:M,plugins:x}=this;if(!M||!x)return;for(let b of x){let{plugin:y}=B1(b);M.registry.plugins.register(y)}}]}}),r);mo($s,5,this),sa(this,cq,mo($s,8,this)),mo($s,11,this),sa(this,uq,mo($s,12,this)),mo($s,15,this),sa(this,dq,mo($s,16,this,this.isDragSource?"dragging":"idle")),mo($s,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=B1(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}};$s=U1($U);cq=new WeakMap;uq=new WeakMap;dq=new WeakMap;Fo($s,4,"type",Sse,tZ,cq);Fo($s,4,"modifiers",zse,tZ,uq);Fo($s,4,"status",wse,tZ,dq);Fo($s,2,"isDropping",_se,tZ);Fo($s,2,"isDragging",bse,tZ);Fo($s,2,"isDragSource",yse,tZ);wL($s,tZ);var Lse,kse,Ise,Cse,Rse,Pse,eq,Pi,Zq,pq,mq,hq,gq,rZ=class extends(eq=BN,Pse=[To],Rse=[To],Cse=[To],Ise=[To],kse=[To],Lse=[sn],eq){constructor(e,r){var a=e,{accept:i,collisionDetector:f,collisionPriority:s,type:l}=a,c=dse(a,["accept","collisionDetector","collisionPriority","type"]);super(c,r);mo(Pi,5,this),sa(this,Zq,mo(Pi,8,this)),mo(Pi,11,this),sa(this,pq,mo(Pi,12,this)),mo(Pi,15,this),sa(this,mq,mo(Pi,16,this)),mo(Pi,19,this),sa(this,hq,mo(Pi,20,this)),mo(Pi,23,this),sa(this,gq,mo(Pi,24,this)),mo(Pi,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}};Pi=U1(eq);Zq=new WeakMap;pq=new WeakMap;mq=new WeakMap;hq=new WeakMap;gq=new WeakMap;Fo(Pi,4,"accept",Pse,rZ,Zq);Fo(Pi,4,"type",Rse,rZ,pq);Fo(Pi,4,"collisionDetector",Cse,rZ,mq);Fo(Pi,4,"collisionPriority",Ise,rZ,hq);Fo(Pi,4,"shape",kse,rZ,gq);Fo(Pi,2,"isDropTarget",Lse,rZ);wL(Pi,rZ);var Bht=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)}},Yht=class extends Bht{constructor(e){super();this.manager=e}dispatch(e,r){let a=[r,this.manager];super.dispatch(e,...a)}};function ON(e,r=!0){let a=!1;return oq(rq({},e),{cancelable:r,get defaultPrevented(){return a},preventDefault(){if(!r)return;a=!0}})}var Uht=class extends q1{constructor(e){super(e);let r=(i,f)=>i.map(({id:s})=>s).join("")===f.map(({id:s})=>s).join(""),a=[];this.destroy=bL(()=>{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(BN.pendingIdChanges)return;let l=ON({collisions:s});if(f.dispatch("collision",l),l.defaultPrevented)return;if(r(s,a))return;else a=s;let[c]=s;yo(()=>{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()})})})}},jZ=((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))(jZ||{}),NZ=((e)=>(e[e.Collision=0]="Collision",e[e.ShapeIntersection=1]="ShapeIntersection",e[e.PointerIntersection=2]="PointerIntersection",e))(NZ||{}),Tse,Ase,Dse,Ese,Ose,jse,Nse,iu,Mq;Nse=[To],jse=[sn],Ose=[sn],Ese=[sn],Dse=[sn],Ase=[sn],Tse=[sn];var yM=class{constructor(){mo(iu,5,this),sa(this,Mq,mo(iu,8,this,"idle")),mo(iu,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}};iu=U1(null);Mq=new WeakMap;Fo(iu,4,"value",Nse,yM,Mq);Fo(iu,2,"current",jse,yM);Fo(iu,2,"idle",Ose,yM);Fo(iu,2,"initializing",Ese,yM);Fo(iu,2,"initialized",Dse,yM);Fo(iu,2,"dragging",Ase,yM);Fo(iu,2,"dropped",Tse,yM);wL(iu,yM);var qht=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 yo(()=>{let{dragOperation:r}=this.manager,a=e!=null?e:null;if(r.targetIdentifier===a)return Promise.resolve(!1);r.targetIdentifier=a;let i=ON({operation:r.snapshot()});if(r.status.dragging)this.manager.monitor.dispatch("dragover",i);return this.manager.renderer.rendering.then(()=>i.defaultPrevented)})}start(e){return yo(()=>{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;ra(()=>{r.status.set("initialization-pending"),r.shape=null,r.canceled=!1,r.activatorEvent=f!=null?f:null,r.position.reset(s)});let l=ON({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;ra(()=>{r.status.set("dragging"),this.manager.monitor.dispatch("dragstart",{nativeEvent:f,operation:r.snapshot(),cancelable:!1})})}),i})}move(e){return yo(()=>{var r,a;let{dragOperation:i}=this.manager,{status:f,controller:s}=i;if(!f.dragging||!s||s.signal.aborted)return;let l=ON({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,x;if(l.defaultPrevented)return;let b=(x=e.to)!=null?x:{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=b})})}stop(e={}){return yo(()=>{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=yo(()=>{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,x=Ri(()=>{if((M==null?void 0:M.status)==="idle")x(),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()})}},_L=class extends ts{constructor(e,r){super(e,r);this.manager=e,this.options=r}},Fse=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,vq=class{constructor(e){this.options=e,sa(this,jN)}set controller(e){Lc(this,jN,e),e.signal.addEventListener("abort",()=>this.abort())}activate(e){var r;(r=Xn(this,jN))==null||r.activate(e)}};jN=new WeakMap;var pd=class extends ts{constructor(e,r){super(e,r);this.manager=e,this.options=r}apply(e){return e.transform}},Vht=class{constructor(e){this.draggables=new sse,this.droppables=new sse,this.plugins=new QU(e),this.sensors=new QU(e),this.modifiers=new QU(e)}register(e,r){if(e instanceof tZ)return this.draggables.register(e.id,e);if(e instanceof rZ)return this.droppables.register(e.id,e);if(e.prototype instanceof pd)return this.modifiers.register(e,r);if(e.prototype instanceof _L)return this.sensors.register(e,r);if(e.prototype instanceof ts)return this.plugins.register(e,r);throw Error("Invalid instance type")}unregister(e){if(e instanceof BN){if(e instanceof tZ)return this.draggables.unregister(e.id,e);if(e instanceof rZ)return this.droppables.unregister(e.id,e);return()=>{}}if(e.prototype instanceof pd)return this.modifiers.unregister(e);if(e.prototype instanceof _L)return this.sensors.unregister(e);if(e.prototype instanceof ts)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()}},Bse,Yse,Use,qse,Vse,Hse,Wse,Gse,Kse,ET,NN,N1,Ln,xq,yq,bq,_q,wq,OT;Kse=[sn],Gse=[To],Wse=[To],Hse=[To],Vse=[To],qse=[To],Use=[sn],Yse=[sn],Bse=[sn];var oZ=class{constructor(e){mo(Ln,5,this),sa(this,ET),sa(this,NN),sa(this,N1,new OZ(void 0,(r,a)=>r&&a?r.equals(a):r===a)),this.status=new yM,sa(this,xq,mo(Ln,8,this,!1)),mo(Ln,11,this),sa(this,yq,mo(Ln,12,this,null)),mo(Ln,15,this),sa(this,bq,mo(Ln,16,this,null)),mo(Ln,19,this),sa(this,_q,mo(Ln,20,this,null)),mo(Ln,23,this),sa(this,wq,mo(Ln,24,this,[])),mo(Ln,27,this),this.position=new AT({x:0,y:0}),sa(this,OT,{x:0,y:0}),Lc(this,ET,e)}get shape(){let{current:e,initial:r,previous:a}=Xn(this,N1);if(!e||!r)return null;return{current:e,initial:r,previous:a}}set shape(e){if(!e)Xn(this,N1).reset();else Xn(this,N1).current=e}get source(){var e;let r=this.sourceIdentifier;if(r==null)return null;let a=Xn(this,ET).registry.draggables.get(r);if(a)Lc(this,NN,a);return(e=a!=null?a:Xn(this,NN))!=null?e:null}get target(){var e;let r=this.targetIdentifier;return r!=null?(e=Xn(this,ET).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(oq(rq({},this.snapshot()),{transform:a}));return Lc(this,OT,a),a}snapshot(){return yo(()=>({source:this.source,target:this.target,activatorEvent:this.activatorEvent,transform:Xn(this,OT),shape:this.shape?RN(this.shape):null,position:RN(this.position),status:RN(this.status),canceled:this.canceled}))}reset(){ra(()=>{this.status.set("idle"),this.sourceIdentifier=null,this.targetIdentifier=null,Xn(this,N1).reset(),this.position.reset({x:0,y:0}),Lc(this,OT,{x:0,y:0}),this.modifiers=[]})}};Ln=U1(null);ET=new WeakMap;NN=new WeakMap;N1=new WeakMap;xq=new WeakMap;yq=new WeakMap;bq=new WeakMap;_q=new WeakMap;wq=new WeakMap;OT=new WeakMap;Fo(Ln,2,"shape",Kse,oZ);Fo(Ln,4,"canceled",Gse,oZ,xq);Fo(Ln,4,"activatorEvent",Wse,oZ,yq);Fo(Ln,4,"sourceIdentifier",Hse,oZ,bq);Fo(Ln,4,"targetIdentifier",Vse,oZ,_q);Fo(Ln,4,"modifiers",qse,oZ,wq);Fo(Ln,2,"source",Use,oZ);Fo(Ln,2,"target",Yse,oZ);Fo(Ln,2,"transform",Bse,oZ);wL(Ln,oZ);var Hht={get rendering(){return Promise.resolve()}};function Zl(e,r){if(typeof e==="function")return e(r);return e!=null?e:r}var Xse=class{constructor(e){this.destroy=()=>{if(!this.dragOperation.status.idle)this.actions.stop({canceled:!0});this.dragOperation.modifiers.forEach((x)=>x.destroy()),this.registry.destroy(),this.collisionObserver.destroy()};var r;let a=e!=null?e:{},i=Zl(a.plugins,[]),f=Zl(a.sensors,[]),s=Zl(a.modifiers,[]),l=(r=a.renderer)!=null?r:Hht,c=new Yht(this),m=new Vht(this);this.registry=m,this.monitor=c,this.renderer=l,this.actions=new qht(this),this.dragOperation=new oZ(this),this.collisionObserver=new Fht(this),this.plugins=[Uht,...i],this.modifiers=s,this.sensors=f;let{destroy:g}=this,M=bL(()=>{var x,b,y;let _=yo(()=>this.dragOperation.modifiers),z=this.modifiers;for(let F of _)if(!z.includes(F))F.destroy();this.dragOperation.modifiers=(y=(b=(x=this.dragOperation.source)==null?void 0:x.modifiers)==null?void 0:b.map((F)=>{let{plugin:k,options:I}=B1(F);return new k(this,I)}))!=null?y:z});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 ole=(e)=>{throw TypeError(e)},Lq=(e,r,a)=>r.has(e)||ole("Cannot "+a),ho=(e,r,a)=>(Lq(e,r,"read from private field"),r.get(e)),Dl=(e,r,a)=>r.has(e)?ole("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),kc=(e,r,a,i)=>(Lq(e,r,"write to private field"),r.set(e,a),a),ale=(e,r,a)=>(Lq(e,r,"access private method"),a);function XN(e){if(!e)return!1;if(e instanceof KeyframeEffect)return!0;return"getKeyframes"in e&&typeof e.getKeyframes==="function"}function kq(e,r){let a=e.getAnimations(),i=null;for(let f of a){if(f.playState!=="running")continue;let{effect:s}=f,c=(XN(s)?s.getKeyframes():[]).filter(r);if(c.length>0)i=[c[c.length-1],f]}return i}function QN(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 Iq(e){let r=Object.prototype.toString.call(e);return r==="[object Window]"||r==="[object global]"}function VT(e){return"nodeType"in e}function hl(e){var r,a,i;if(!e)return window;if(Iq(e))return e;if(!VT(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 JN(e){let{Document:r}=hl(e);return e instanceof r||"nodeType"in e&&e.nodeType===Node.DOCUMENT_NODE}function bM(e){if(!e||Iq(e))return!1;return e instanceof hl(e).HTMLElement||"namespaceURI"in e&&typeof e.namespaceURI==="string"&&e.namespaceURI.endsWith("html")}function nle(e){return e instanceof hl(e).SVGElement||"namespaceURI"in e&&typeof e.namespaceURI==="string"&&e.namespaceURI.endsWith("svg")}function kL(e){if(!e)return document;if(Iq(e))return e.document;if(!VT(e))return document;if(JN(e))return e;if(bM(e)||nle(e))return e.ownerDocument;return document}function Wht(e){var r,a,i,f;let{documentElement:s}=kL(e),l=hl(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 Ght(e,r){if(Kht(e)&&e.open===!1)return!1;let{overflow:a,overflowX:i,overflowY:f}=getComputedStyle(e);return a==="visible"&&i==="visible"&&f==="visible"}function Kht(e){return e.tagName==="DETAILS"}function H1(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,x=e.parentElement;while(x&&x!==g.documentElement){if(!Ght(x)){let Y=x.getBoundingClientRect(),W=a*(Y.bottom-Y.top),X=a*(Y.right-Y.left),J=a*(Y.bottom-Y.top),ee=a*(Y.right-Y.left);m={top:Math.max(m.top,Y.top-W),right:Math.min(m.right,Y.right+X),bottom:Math.min(m.bottom,Y.bottom+J),left:Math.max(m.left,Y.left-ee),width:0,height:0},m.width=m.right-m.left,m.height=m.bottom-m.top}x=x.parentElement}let b=M.visualViewport,y=(f=b==null?void 0:b.offsetTop)!=null?f:0,_=(s=b==null?void 0:b.offsetLeft)!=null?s:0,z=(l=b==null?void 0:b.width)!=null?l:M.innerWidth,F=(c=b==null?void 0:b.height)!=null?c:M.innerHeight,k=a*F,I=a*z;if(m={top:Math.max(m.top,y-k),right:Math.min(m.right,_+z+I),bottom:Math.min(m.bottom,y+F+k),left:Math.max(m.left,_-I),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 ile=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function HN(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(...HN(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(...HN(f.document,r))}}catch(i){}return a}function $N(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function Cq(){var e,r;let a=$N()?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 e5(e){if(!e||!VT(e))return!1;return e instanceof hl(e).ShadowRoot}function HT(e){if(e&&VT(e)){let r=e.getRootNode();if(e5(r))return r;else if(r instanceof Document)return r}return kL(e)}function WT(e){return e.matchMedia("(prefers-reduced-motion: reduce)").matches}function fle(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(Qse(s)&&Qse(c)){if(s.type!=="file")s.value=c.value;if(s.type==="radio"&&s.name)s.name=`Cloned__${s.name}`}if(Jse(s)&&Jse(c)&&c.width>0&&c.height>0){let m=s.getContext("2d");m==null||m.drawImage(c,0,0)}}),a}function Qse(e){return"value"in e}function Jse(e){return e.tagName==="CANVAS"}function Rq(e,{x:r,y:a}){let i=e.elementFromPoint(r,a);if(Xht(i)){let{contentDocument:f}=i;if(f){let{left:s,top:l}=i.getBoundingClientRect();return Rq(f,{x:r-s,y:a-l})}}return i}function Xht(e){return(e==null?void 0:e.tagName)==="IFRAME"}var GT=new WeakMap;function sle(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 Pq=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,x=[l,c];l.addEventListener(m,g,M),this.entries.add(x),f.push(x)}let s=this.entries;return function(){for(let c of f){let[m,{type:g,listener:M,options:x}]=c;m.removeEventListener(g,M,x),s.delete(c)}}}};function LL(e){let r=e==null?void 0:e.ownerDocument.defaultView;if(r&&r.self!==r.parent)return r.frameElement}function Qht(e){let r=new Set,a=LL(e);while(a)r.add(a),a=LL(a);return r}function Jht(e,r){let a=setTimeout(e,r);return()=>clearTimeout(a)}function lle(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=Jht(()=>{e.apply(l,s),f=a()},r-(a()-f))}}function $ht(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 egt(e,r=e.getBoundingClientRect()){let{width:a,height:i}=H1(e,r);return a>0&&i>0}var tgt=ile?ResizeObserver:class{observe(){}unobserve(){}disconnect(){}},qN,rgt=class extends tgt{constructor(e){super((r)=>{if(!ho(this,qN)){kc(this,qN,!0);return}e(r,this)});Dl(this,qN,!1)}};qN=new WeakMap;var $se=Array.from({length:100},(e,r)=>r/100),cle=75,zL,WN,Y8,SL,NT,ps,UT,FT,GN,ule,dle,Zle=class{constructor(e,r,a={debug:!1,skipInitial:!1}){this.element=e,this.callback=r,Dl(this,GN),this.disconnect=()=>{var s,l,c;kc(this,UT,!0),(s=ho(this,Y8))==null||s.disconnect(),(l=ho(this,SL))==null||l.disconnect(),ho(this,NT).disconnect(),(c=ho(this,ps))==null||c.remove()},Dl(this,zL,!0),Dl(this,WN),Dl(this,Y8),Dl(this,SL),Dl(this,NT),Dl(this,ps),Dl(this,UT,!1),Dl(this,FT,lle(()=>{var s,l,c;let{element:m}=this;if((s=ho(this,SL))==null||s.disconnect(),ho(this,UT)||!ho(this,zL)||!m.isConnected)return;let g=(l=m.ownerDocument)!=null?l:document,{innerHeight:M,innerWidth:x}=(c=g.defaultView)!=null?c:window,b=m.getBoundingClientRect(),y=H1(m,b),{top:_,left:z,bottom:F,right:k}=y,I=-Math.floor(_),Y=-Math.floor(z),W=-Math.floor(x-k),X=-Math.floor(M-F),J=`${I}px ${W}px ${X}px ${Y}px`;this.boundingClientRect=b,kc(this,SL,new IntersectionObserver((ee)=>{let[ae]=ee,{intersectionRect:ne}=ae;if((ae.intersectionRatio!==1?ae.intersectionRatio:Al.intersectionRatio(ne,H1(m)))!==1)ho(this,FT).call(this)},{threshold:$se,rootMargin:J,root:g})),ho(this,SL).observe(m),ale(this,GN,ule).call(this)},cle)),this.boundingClientRect=e.getBoundingClientRect(),kc(this,zL,egt(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)kc(this,ps,document.createElement("div")),ho(this,ps).style.background="rgba(0,0,0,0.15)",ho(this,ps).style.position="fixed",ho(this,ps).style.pointerEvents="none",f.body.appendChild(ho(this,ps));if(kc(this,NT,new IntersectionObserver((s)=>{var l,c;let m=s[s.length-1],{boundingClientRect:g,isIntersecting:M}=m,{width:x,height:b}=g,y=ho(this,zL);if(kc(this,zL,M),!x&&!b)return;if(y&&!M){if((l=ho(this,SL))==null||l.disconnect(),this.callback(null),(c=ho(this,Y8))==null||c.disconnect(),kc(this,Y8,void 0),ho(this,ps))ho(this,ps).style.visibility="hidden"}else ho(this,FT).call(this);if(M&&!ho(this,Y8))kc(this,Y8,new rgt(ho(this,FT))),ho(this,Y8).observe(e)},{threshold:$se,root:f})),ho(this,zL)&&!a.skipInitial)this.callback(this.boundingClientRect);ho(this,NT).observe(e)}};zL=new WeakMap;WN=new WeakMap;Y8=new WeakMap;SL=new WeakMap;NT=new WeakMap;ps=new WeakMap;UT=new WeakMap;FT=new WeakMap;GN=new WeakSet;ule=function(){if(ho(this,UT))return;if(ale(this,GN,dle).call(this),$ht(this.boundingClientRect,ho(this,WN)))return;this.callback(this.boundingClientRect),kc(this,WN,this.boundingClientRect)};dle=function(){if(ho(this,ps)){let{top:e,left:r,width:a,height:i}=H1(this.element);ho(this,ps).style.overflow="hidden",ho(this,ps).style.visibility="visible",ho(this,ps).style.top=`${Math.floor(e)}px`,ho(this,ps).style.left=`${Math.floor(r)}px`,ho(this,ps).style.width=`${Math.floor(a)}px`,ho(this,ps).style.height=`${Math.floor(i)}px`}};var YN=new WeakMap,UN=new WeakMap;function ogt(e,r){let a=YN.get(e);if(!a)a={disconnect:new Zle(e,(f)=>{let s=YN.get(e);if(!s)return;s.callbacks.forEach((l)=>l(f))},{skipInitial:!0}).disconnect,callbacks:new Set};return a.callbacks.add(r),YN.set(e,a),()=>{if(a.callbacks.delete(r),a.callbacks.size===0)YN.delete(e),a.disconnect()}}function agt(e,r){let a=new Set;for(let i of e){let f=ogt(i,r);a.add(f)}return()=>a.forEach((i)=>i())}function ngt(e,r){var a;let i=e.ownerDocument;if(!UN.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}),UN.set(i,{disconnect:()=>l.abort(),listeners:c})}let{listeners:f,disconnect:s}=(a=UN.get(i))!=null?a:{};if(!f||!s)return()=>{};return f.add(r),()=>{if(f.delete(r),f.size===0)s(),UN.delete(i)}}var BT,YT,VN,Sq,ple=class{constructor(e,r,a){this.callback=r,Dl(this,BT),Dl(this,YT,!1),Dl(this,VN),Dl(this,Sq,lle((l)=>{if(ho(this,YT))return;if(!l.target)return;if("contains"in l.target&&typeof l.target.contains==="function"){for(let c of ho(this,VN))if(l.target.contains(c)){this.callback(ho(this,BT).boundingClientRect);break}}},cle));let i=Qht(e),f=agt(i,r),s=ngt(e,ho(this,Sq));kc(this,VN,i),kc(this,BT,new Zle(e,r,a)),this.disconnect=()=>{if(ho(this,YT))return;kc(this,YT,!0),f(),s(),ho(this,BT).disconnect()}}};BT=new WeakMap;YT=new WeakMap;VN=new WeakMap;Sq=new WeakMap;function t5(e){return"showPopover"in e&&"hidePopover"in e&&typeof e.showPopover==="function"&&typeof e.hidePopover==="function"}function CL(e){try{if(t5(e)&&e.isConnected&&e.hasAttribute("popover")&&!e.matches(":popover-open"))e.showPopover()}catch(r){}}function ele(e){if(!ile||!e)return!1;return e===kL(e).scrollingElement}function mle(e){var r,a;let i=hl(e),f=ele(e)?Wht(e):QN(e),s=i.visualViewport,l=ele(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,x=c.current.x>=c.max.x;return{rect:f,position:c,isTop:m,isLeft:g,isBottom:M,isRight:x}}function hle(e,r){let{isTop:a,isBottom:i,isLeft:f,isRight:s,position:l}=mle(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,x=!f&&l.current.x+c>0,b=!s&&l.current.x+c<l.max.x;return{top:g,bottom:M,left:x,right:b,x:x||b,y:g||M}}var Tq=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))}},KT=new Tq((e)=>{if(typeof requestAnimationFrame==="function")requestAnimationFrame(e);else e()}),igt=new Tq((e)=>setTimeout(e,50)),KN=new Map,fgt=KN.clear.bind(KN);function su(e,r=!1){if(!r)return tle(e);let a=KN.get(e);if(a)return a;return a=tle(e),KN.set(e,a),igt.schedule(fgt),a}function tle(e){return hl(e).getComputedStyle(e)}function sgt(e,r=su(e,!0)){return r.position==="fixed"||r.position==="sticky"}function lgt(e,r=su(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 cgt={excludeElement:!0,escapeShadowDOM:!0};function r5(e,r=cgt){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(JN(c)&&c.scrollingElement!=null&&!s.has(c.scrollingElement))return s.add(c.scrollingElement),s;if(f&&e5(c))return l(c.host);if(!bM(c)){if(nle(c))return l(c.parentElement);return s}if(s.has(c))return s;let m=su(c,!0);if(i&&c===e);else if(lgt(c,m))s.add(c);if(sgt(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 RL(e,r=window.frameElement){let a={x:0,y:0,scaleX:1,scaleY:1};if(!e)return a;let i=LL(e);while(i){if(i===r)return a;let f=QN(i),{x:s,y:l}=ugt(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=LL(i)}return a}function ugt(e,r=QN(e)){let a=Math.round(r.width),i=Math.round(r.height);if(bM(e))return{x:a/e.offsetWidth,y:i/e.offsetHeight};let f=su(e,!0);return{x:(parseFloat(f.width)||a)/a,y:(parseFloat(f.height)||i)/i}}function dgt(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 W1(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 XT(e){var r,a,i,f,s,l,c,m,g;let{scale:M,transform:x,translate:b}=e,y=dgt(M),_=W1(b),z=Zgt(x);if(!z&&!y&&!_)return null;let F={x:(r=y==null?void 0:y.x)!=null?r:1,y:(a=y==null?void 0:y.y)!=null?a:1},k={x:(i=_==null?void 0:_.x)!=null?i:0,y:(f=_==null?void 0:_.y)!=null?f:0},I={x:(s=z==null?void 0:z.x)!=null?s:0,y:(l=z==null?void 0:z.y)!=null?l:0,scaleX:(c=z==null?void 0:z.scaleX)!=null?c:1,scaleY:(m=z==null?void 0:z.scaleY)!=null?m:1};return{x:k.x+I.x,y:k.y+I.y,z:(g=_==null?void 0:_.z)!=null?g:0,scaleX:F.x*I.scaleX,scaleY:F.y*I.scaleY}}function Zgt(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 Pc=((e)=>(e[e.Idle=0]="Idle",e[e.Forward=1]="Forward",e[e.Reverse=-1]="Reverse",e))(Pc||{}),pgt={x:0.2,y:0.2},mgt={x:10,y:10};function gle(e,r,a,i=25,f=pgt,s=mgt){let{x:l,y:c}=r,{rect:m,isTop:g,isBottom:M,isLeft:x,isRight:b}=mle(e),y=RL(e),_=su(e,!0),z=XT(_),F=z!==null?(z==null?void 0:z.scaleX)<0:!1,k=z!==null?(z==null?void 0:z.scaleY)<0:!1,I=new Al(m.left*y.scaleX+y.x,m.top*y.scaleY+y.y,m.width*y.scaleX,m.height*y.scaleY),Y={x:0,y:0},W={x:0,y:0},X={height:I.height*f.y,width:I.width*f.x};if(X.height>0&&(!g||k&&!M)&&c<=I.top+X.height&&(a==null?void 0:a.y)!==1&&l>=I.left-s.x&&l<=I.right+s.x)Y.y=k?1:-1,W.y=i*Math.abs((I.top+X.height-c)/X.height);else if(X.height>0&&(!M||k&&!g)&&c>=I.bottom-X.height&&(a==null?void 0:a.y)!==-1&&l>=I.left-s.x&&l<=I.right+s.x)Y.y=k?-1:1,W.y=i*Math.abs((I.bottom-X.height-c)/X.height);if(X.width>0&&(!b||F&&!x)&&l>=I.right-X.width&&(a==null?void 0:a.x)!==-1&&c>=I.top-s.y&&c<=I.bottom+s.y)Y.x=F?-1:1,W.x=i*Math.abs((I.right-X.width-l)/X.width);else if(X.width>0&&(!x||F&&!b)&&l<=I.left+X.width&&(a==null?void 0:a.x)!==1&&c>=I.top-s.y&&c<=I.bottom+s.y)Y.x=F?1:-1,W.x=i*Math.abs((I.left+X.width-l)/X.width);return{direction:Y,speed:W}}function o5(e,{block:r="nearest",inline:a="nearest"}={}){if(!bM(e))return;let i=r5(e),f=[];for(let s of i){if(!bM(s))continue;let{top:l,left:c}=hgt(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,x=m+e.offsetHeight>s.scrollTop+s.clientHeight;if(M!==x)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,x=g+e.offsetWidth>s.scrollLeft+s.clientWidth;if(M!==x)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 rle(e){let r=0,a=0,i=e;while(i){r+=i.offsetTop,a+=i.offsetLeft;let f=i.offsetParent;if(!bM(f))break;r+=f.clientTop,a+=f.clientLeft,i=f}return{top:r,left:a}}function hgt(e,r){let a=rle(e),i=rle(r);return{top:a.top-i.top-r.clientTop,left:a.left-i.left-r.clientLeft}}function ggt(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 Mgt(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 a5({element:e,keyframes:r,options:a}){return e.animate(r,a).finished}function Aq(e,r=su(e).translate,a=!0){if(a){let i=kq(e,(f)=>("translate"in f));if(i){let{translate:f=""}=i[0];if(typeof f==="string"){let s=W1(f);if(s)return s}}}if(r){let i=W1(r);if(i)return i}return{x:0,y:0,z:0}}var vgt=new Tq((e)=>setTimeout(e,0)),qT=new Map,xgt=qT.clear.bind(qT);function ygt(e){let r=e.ownerDocument,a=qT.get(r);if(a)return a;a=r.getAnimations(),qT.set(r,a),vgt.schedule(xgt);let i=a.filter((f)=>XN(f.effect)&&f.effect.target===e);return qT.set(e,i),a}function bgt(e,r){let a=ygt(e).filter((i)=>{var f,s;if(XN(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 lu=class extends Al{constructor(e,r={}){var a,i,f,s;let{frameTransform:l=RL(e),ignoreTransforms:c,getBoundingClientRect:m=QN}=r,g=bgt(e,{properties:["transform","translate","scale","width","height"],isValidTarget:(X)=>(X!==e||$N())&&X.contains(e)}),M=m(e),{top:x,left:b,width:y,height:_}=M,z,F=su(e),k=XT(F),I={x:(a=k==null?void 0:k.scaleX)!=null?a:1,y:(i=k==null?void 0:k.scaleY)!=null?i:1},Y=_gt(e,F);if(g==null||g(),k){if(z=Mgt(M,k,F.transformOrigin),c||Y)x=z.top,b=z.left,y=z.width,_=z.height}let W={width:(f=z==null?void 0:z.width)!=null?f:y,height:(s=z==null?void 0:z.height)!=null?s:_};if(Y&&!c&&z){let X=ggt(z,Y,F.transformOrigin);x=X.top,b=X.left,y=X.width,_=X.height,I.x=Y.scaleX,I.y=Y.scaleY}if(l){if(!c)b*=l.scaleX,y*=l.scaleX,x*=l.scaleY,_*=l.scaleY;b+=l.x,x+=l.y}super(b,x,y,_);this.scale=I,this.intrinsicWidth=W.width,this.intrinsicHeight=W.height}};function _gt(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=XN(c.effect)?c.effect.getKeyframes():[],g=m[m.length-1];if(!g)continue;let{transform:M,translate:x,scale:b}=g;if(typeof M==="string"&&M)i=M,l=!0;if(typeof x==="string"&&x)f=x,l=!0;if(typeof b==="string"&&b)s=b,l=!0}if(!l)return null;return XT({transform:i!=null?i:r.transform,translate:f!=null?f:r.translate,scale:s!=null?s:r.scale})}function V1(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 Mle=class{constructor(e){this.element=e,this.initial=new Map}set(e,r=""){let{element:a}=this;if(!V1(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(!V1(a))return;for(let i of e){let f=`${r}${i}`;a.style.removeProperty(f)}}reset(){let{element:e}=this;if(!V1(e))return;for(let[r,a]of this.initial)e.style.setProperty(r,a);if(e.getAttribute("style")==="")e.removeAttribute("style")}};function U8(e){if(!e)return!1;return e instanceof hl(e).Element||VT(e)&&e.nodeType===Node.ELEMENT_NODE}function PL(e){if(!e)return!1;let{KeyboardEvent:r}=hl(e.target);return e instanceof r}function vle(e){if(!e)return!1;let{PointerEvent:r}=hl(e.target);return e instanceof r}function xle(e){if(!U8(e))return!1;let{tagName:r}=e;return r==="INPUT"||r==="TEXTAREA"||wgt(e)}function wgt(e){return e.hasAttribute("contenteditable")&&e.getAttribute("contenteditable")!=="false"}var zq={};function n5(e){let r=zq[e]==null?0:zq[e]+1;return zq[e]=r,`${e}-${r}`}var zgt=({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=js.distance(r.shape.center,a);return{id:i,value:1/f,type:NZ.PointerIntersection,priority:jZ.High}}return null},Sgt=({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=js.distance(r.shape.center,f.current),c=i/(a.current.area+r.shape.area-i)/s;return{id:r.id,value:c,type:NZ.ShapeIntersection,priority:jZ.Normal}}return null},i5=(e)=>{var r;return(r=zgt(e))!=null?r:Sgt(e)},yle=(e)=>{let{dragOperation:r,droppable:a}=e,{shape:i,position:f}=r;if(!a.shape)return null;let s=i?Al.from(i.current.boundingRectangle).corners:void 0,c=Al.from(a.shape.boundingRectangle).corners.reduce((m,g,M)=>{var x;return m+js.distance(js.from(g),(x=s==null?void 0:s[M])!=null?x:f.current)},0)/4;return{id:a.id,value:1/c,type:NZ.Collision,priority:jZ.Normal}};var{create:Lgt,defineProperty:Gq,defineProperties:kgt,getOwnPropertyDescriptor:Igt,getOwnPropertyDescriptors:Cgt,getOwnPropertySymbols:l5}=Object,Cle=Object.prototype.hasOwnProperty,Rle=Object.prototype.propertyIsEnumerable,Ple=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),zI=(e)=>{throw TypeError(e)},Oq=(e,r,a)=>(r in e)?Gq(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,o2=(e,r)=>{for(var a in r||(r={}))if(Cle.call(r,a))Oq(e,a,r[a]);if(l5){for(var a of l5(r))if(Rle.call(r,a))Oq(e,a,r[a])}return e},Kq=(e,r)=>kgt(e,Cgt(r)),ble=(e,r)=>Gq(e,"name",{value:r,configurable:!0}),Tle=(e,r)=>{var a={};for(var i in e)if(Cle.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&l5){for(var i of l5(e))if(r.indexOf(i)<0&&Rle.call(e,i))a[i]=e[i]}return a},LI=(e)=>{var r;return[,,,Lgt((r=e==null?void 0:e[Ple("metadata")])!=null?r:null)]},Ale=["class","method","getter","setter","accessor","field","value","get","set"],JT=(e)=>e!==void 0&&typeof e!=="function"?zI("Function expected"):e,Rgt=(e,r,a,i,f)=>({kind:Ale[e],name:r,metadata:i,addInitializer:(s)=>a._?zI("Already initialized"):f.push(JT(s||null))}),OL=(e,r)=>Oq(r,Ple("metadata"),e[3]),Ti=(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},cu=(e,r,a,i,f,s)=>{var l,c,m,g,M,x=r&7,b=!!(r&8),y=!!(r&16),_=x>3?e.length+1:x?b?1:2:0,z=Ale[x+5],F=x>3&&(e[_-1]=[]),k=e[_]||(e[_]=[]),I=x&&(!y&&!b&&(f=f.prototype),x<5&&(x>3||!y)&&Igt(x<4?f:{get[a](){return Ea(this,s)},set[a](W){return gl(this,s,W)}},a));x?y&&x<4&&ble(s,(x>2?"set ":x>1?"get ":"")+a):ble(f,a);for(var Y=i.length-1;Y>=0;Y--){if(g=Rgt(x,a,m={},e[3],k),x){if(g.static=b,g.private=y,M=g.access={has:y?(W)=>Pgt(f,W):(W)=>(a in W)},x^3)M.get=y?(W)=>(x^1?Ea:EL)(W,f,x^4?s:I.get):(W)=>W[a];if(x>2)M.set=y?(W,X)=>gl(W,f,X,x^4?s:I.set):(W,X)=>W[a]=X}if(c=(0,i[Y])(x?x<4?y?s:I[z]:x>4?void 0:{get:I.get,set:I.set}:f,g),m._=1,x^4||c===void 0)JT(c)&&(x>4?F.unshift(c):x?y?s=c:I[z]=c:f=c);else if(typeof c!=="object"||c===null)zI("Object expected");else JT(l=c.get)&&(I.get=l),JT(l=c.set)&&(I.set=l),JT(l=c.init)&&F.unshift(l)}return x||OL(e,f),I&&Gq(f,a,I),y?x^4?s:I:f},Xq=(e,r,a)=>r.has(e)||zI("Cannot "+a),Pgt=(e,r)=>Object(r)!==r?zI('Cannot use the "in" operator on this value'):e.has(r),Ea=(e,r,a)=>(Xq(e,r,"read from private field"),a?a.call(e):r.get(e)),Jn=(e,r,a)=>r.has(e)?zI("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),gl=(e,r,a,i)=>(Xq(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),EL=(e,r,a)=>(Xq(e,r,"access private method"),a),_le={role:"button",roleDescription:"draggable"},Tgt="dnd-kit-description",Agt="dnd-kit-announcement",Dgt={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."},Egt={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 Ogt(e){let r=e.tagName.toLowerCase();return["input","select","textarea","a","button"].includes(r)}function jgt(e,r){let a=document.createElement("div");return a.id=e,a.style.setProperty("display","none"),a.textContent=r,a}function Ngt(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 Fgt=["dragover","dragmove"],Bgt=class extends ts{constructor(e,r){super(e);let{id:a,idPrefix:{description:i=Tgt,announcement:f=Agt}={},announcements:s=Egt,screenReaderInstructions:l=Dgt,debounce:c=500}=r!=null?r:{},m=a?`${i}-${a}`:n5(i),g=a?`${f}-${a}`:n5(f),M,x,b,y,_=(X=y)=>{if(!b||!X)return;if((b==null?void 0:b.nodeValue)!==X)b.nodeValue=X},z=()=>KT.schedule(_),F=Ygt(z,c),k=Object.entries(s).map(([X,J])=>this.manager.monitor.addEventListener(X,(ee,ae)=>{let ne=b;if(!ne)return;let xe=J==null?void 0:J(ee,ae);if(xe&&ne.nodeValue!==xe)if(y=xe,Fgt.includes(X))F();else z(),F.cancel()})),I=()=>{let X=[];if(!(M==null?void 0:M.isConnected))M=jgt(m,l.draggable),X.push(M);if(!(x==null?void 0:x.isConnected))x=Ngt(g),b=document.createTextNode(""),x.appendChild(b),X.push(x);if(X.length>0)document.body.append(...X)},Y=new Set;function W(){for(let X of Y)X()}this.registerEffect(()=>{var X;Y.clear();for(let J of this.manager.registry.draggables.value){let ee=(X=J.handle)!=null?X:J.element;if(ee){if(!M||!x)Y.add(I);if((!Ogt(ee)||$N())&&!ee.hasAttribute("tabindex"))Y.add(()=>ee.setAttribute("tabindex","0"));if(!ee.hasAttribute("role")&&ee.tagName.toLowerCase()!=="button")Y.add(()=>ee.setAttribute("role",_le.role));if(!ee.hasAttribute("aria-roledescription"))Y.add(()=>ee.setAttribute("aria-roledescription",_le.roleDescription));if(!ee.hasAttribute("aria-describedby"))Y.add(()=>ee.setAttribute("aria-describedby",m));for(let ne of["aria-pressed","aria-grabbed"]){let xe=String(J.isDragging);if(ee.getAttribute(ne)!==xe)Y.add(()=>ee.setAttribute(ne,xe))}let ae=String(J.disabled);if(ee.getAttribute("aria-disabled")!==ae)Y.add(()=>ee.setAttribute("aria-disabled",ae))}}if(Y.size>0)KT.schedule(W)}),this.destroy=()=>{super.destroy(),M==null||M.remove(),x==null||x.remove(),k.forEach((X)=>X())}}};function Ygt(e,r){let a,i=()=>{clearTimeout(a),a=setTimeout(e,r)};return i.cancel=()=>clearTimeout(a),i}var c5=new Map,Dle,Ele,Ole,jle,jq,t2,_M,Qq,J1,Nle,Fle,Ble,Yle,G8=class extends(jq=q1,jle=[To],Ole=[sn],Ele=[sn],Dle=[sn],jq){constructor(r,a){super(r,a);Ti(_M,5,this),Jn(this,J1),Jn(this,t2,new Set),Jn(this,Qq,Ti(_M,8,this,new Set)),Ti(_M,11,this),this.registerEffect(EL(this,J1,Nle))}register(r){return Ea(this,t2).add(r),()=>{Ea(this,t2).delete(r)}}addRoot(r){return yo(()=>{let a=new Set(this.additionalRoots);a.add(r),this.additionalRoots=a}),()=>{yo(()=>{let a=new Set(this.additionalRoots);a.delete(r),this.additionalRoots=a})}}get sourceRoot(){var r;let{source:a}=this.manager.dragOperation;return HT((r=a==null?void 0:a.element)!=null?r:null)}get targetRoot(){var r;let{target:a}=this.manager.dragOperation;return HT((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}};_M=LI(jq);t2=new WeakMap;Qq=new WeakMap;J1=new WeakSet;Nle=function(){let{roots:e}=this,r=[];for(let a of e)for(let i of Ea(this,t2))r.push(EL(this,J1,Fle).call(this,a,i));return()=>{for(let a of r)a()}};Fle=function(e,r){let a=c5.get(e);if(!a)a=new Map,c5.set(e,a);let i=a.get(r);if(!i){let s=JN(e)?EL(this,J1,Ble).call(this,e,a,r):EL(this,J1,Yle).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()}};Ble=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)c5.delete(e)}}};Yle=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(e5(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)c5.delete(e)}}};cu(_M,4,"additionalRoots",jle,G8,Qq);cu(_M,2,"sourceRoot",Ole,G8);cu(_M,2,"targetRoot",Ele,G8);cu(_M,2,"roots",Dle,G8);OL(_M,G8);G8.configure=Ls(G8);var p5=G8,Ugt=class extends ts{constructor(e,r){super(e,r);this.manager=e;let{cursor:a="grabbing"}=r!=null?r:{},i=e.registry.plugins.get(p5),f=i==null?void 0:i.register(`* { cursor: ${a} !important; }`);if(f){let s=this.destroy.bind(this);this.destroy=()=>{f(),s()}}}},f2="data-dnd-",Nq=`${f2}dropping`,ms="--dnd-",FZ=`${f2}dragging`,u5=`${f2}placeholder`,qgt=[FZ,u5,"popover","aria-pressed","aria-grabbing"],Vgt=["view-transition-name"],Hgt=`
86
+ :is(:root,:host) [${FZ}] {
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(${ms}top, 0px) !important;
93
+ left: var(${ms}left, 0px) !important;
94
+ right: unset !important;
95
+ bottom: unset !important;
96
+ width: var(${ms}width, auto);
97
+ max-width: var(${ms}width, auto);
98
+ height: var(${ms}height, auto);
99
+ max-height: var(${ms}height, auto);
100
+ transform: var(${ms}transform, none) !important;
101
+ transition: var(${ms}transition) !important;
102
+ }
103
+
104
+ :is(:root,:host) [${u5}] {
105
+ transition: none;
106
+ }
107
+
108
+ :is(:root,:host) [${u5}='hidden'] {
109
+ visibility: hidden;
110
+ }
111
+
112
+ [${FZ}] * {
113
+ pointer-events: none !important;
114
+ }
115
+
116
+ [${FZ}]:not([${Nq}]) {
117
+ translate: var(${ms}translate) !important;
118
+ }
119
+
120
+ [${FZ}][style*='${ms}scale'] {
121
+ scale: var(${ms}scale) !important;
122
+ transform-origin: var(${ms}transform-origin) !important;
123
+ }
124
+
125
+ @layer dnd-kit {
126
+ :where([${FZ}][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
+ [${FZ}]::backdrop, [${f2}overlay]:not([${FZ}]) {
141
+ display: none;
142
+ visibility: hidden;
143
+ }
144
+ `.replace(/\n+/g," ").replace(/\s+/g," ").trim();function Wgt(e,r="hidden"){return yo(()=>{let{element:a,manager:i}=e;if(!a||!i)return;let f=Ggt(a,i.registry.droppables),s=[],l=fle(a),{remove:c}=l;return Kgt(f,l,s),Xgt(l,r),l.remove=()=>{s.forEach((m)=>m()),c.call(l)},l})}function Ggt(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=`${f2}${n5("dom-id")}`;i.element.setAttribute(f,""),a.set(i,f)}}return a}function Kgt(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),GT.set(c,l),a.push(()=>{GT.delete(c),i.proxy=void 0})}}function Xgt(e,r="hidden"){e.setAttribute("inert","true"),e.setAttribute("tab-index","-1"),e.setAttribute("aria-hidden","true"),e.setAttribute(u5,r)}function Ule(e,r){if(e===r)return!0;return LL(e)===LL(r)}function wle(e){let{target:r}=e;if("newState"in e&&e.newState==="closed"&&U8(r)&&r.hasAttribute("popover"))requestAnimationFrame(()=>CL(r))}function Fq(e){return e.tagName==="TR"}function Qgt(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-")||qgt.includes(c))continue;let m=e.getAttribute(c);if(c==="style"){if(V1(e)&&V1(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(Vgt.includes(M)||M.startsWith(ms))continue;let x=g.getPropertyValue(M);r.style.setProperty(M,x)}}}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 Jgt(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),CL(a);return}if(l.contains(r)&&r.previousElementSibling!==e){r.insertAdjacentElement("beforebegin",e),CL(a);return}}}if(e.isConnected&&r.isConnected&&e.nextElementSibling!==r)e.insertAdjacentElement("afterend",r),CL(a)});return i.observe(e.ownerDocument.body,{childList:!0,subtree:!0}),i}function $gt(e){return new ResizeObserver(()=>{var r,a,i;let f=new lu(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=Cq();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},ms),(a=e.getElementMutationObserver())==null||a.takeRecords(),Fq(e.element)&&Fq(e.placeholder)){let z=Array.from(e.element.cells),F=Array.from(e.placeholder.cells);if(!e.getSavedCellWidths())e.setSavedCellWidths(z.map((k)=>k.style.width));for(let[k,I]of z.entries()){let Y=F[k];I.style.width=`${Y.getBoundingClientRect().width}px`}}let g=(i=e.getTranslate())!=null?i:{x:0,y:0},M=e.left+l+m.x+g.x,x=e.top+c+m.y+g.y,b=f.width-e.widthOffset,y=f.height-e.heightOffset,_=e.frameTransform;e.dragOperation.shape=new Al(M*_.scaleX+_.x,x*_.scaleY+_.y,b*_.scaleX,y*_.scaleY)})}var eMt=250,tMt="ease";function rMt(e){var r,a,i,f;let{animation:s}=e;if(typeof s==="function"){let I=s({source:e.source,element:e.element,feedbackElement:e.feedbackElement,placeholder:e.placeholder,translate:e.translate,moved:e.moved});Promise.resolve(I).then(()=>{e.cleanup(),requestAnimationFrame(e.restoreFocus)});return}let{duration:l=eMt,easing:c=tMt}=s!=null?s:{};CL(e.feedbackElement);let[,m]=(r=kq(e.feedbackElement,(I)=>("translate"in I)))!=null?r:[];m==null||m.pause();let g=(a=e.placeholder)!=null?a:e.element,M={frameTransform:Ule(e.feedbackElement,g)?null:void 0},x=new lu(e.feedbackElement,M),b=(i=W1(su(e.feedbackElement).translate))!=null?i:e.translate,y=new lu(g,M),_=Al.delta(x,y,e.alignment),z={x:b.x-_.x,y:b.y-_.y},F=Math.round(x.intrinsicHeight)!==Math.round(y.intrinsicHeight)?{minHeight:[`${x.intrinsicHeight}px`,`${y.intrinsicHeight}px`],maxHeight:[`${x.intrinsicHeight}px`,`${y.intrinsicHeight}px`]}:{},k=Math.round(x.intrinsicWidth)!==Math.round(y.intrinsicWidth)?{minWidth:[`${x.intrinsicWidth}px`,`${y.intrinsicWidth}px`],maxWidth:[`${x.intrinsicWidth}px`,`${y.intrinsicWidth}px`]}:{};e.styles.set({transition:e.transition},ms),e.feedbackElement.setAttribute(Nq,""),(f=e.getElementMutationObserver())==null||f.takeRecords(),a5({element:e.feedbackElement,keyframes:Kq(o2(o2({},F),k),{translate:[`${b.x}px ${b.y}px 0`,`${z.x}px ${z.y}px 0`]}),options:{duration:WT(hl(e.feedbackElement))?0:e.moved||e.feedbackElement!==e.element?l:0,easing:c}}).then(()=>{e.feedbackElement.removeAttribute(Nq),m==null||m.finish(),e.cleanup(),requestAnimationFrame(e.restoreFocus)})}var qle,Bq,a2,Jq,s5,Vle,Hle,$1=class extends(Bq=ts,qle=[To],Bq){constructor(r,a){super(r,a);Jn(this,s5),Jn(this,Jq,Ti(a2,8,this)),Ti(a2,11,this),this.state={initial:{},current:{}};let i=r.registry.plugins.get(p5),f=i==null?void 0:i.register(Hgt);if(f){let s=this.destroy.bind(this);this.destroy=()=>{f(),s()}}this.registerEffect(EL(this,s5,Vle).bind(this,i)),this.registerEffect(EL(this,s5,Hle))}};a2=LI(Bq);Jq=new WeakMap;s5=new WeakSet;Vle=function(e){let{overlay:r}=this;if(!r||!e)return;let a=HT(r);if(!a)return;return e.addRoot(a)};Hle=function(){var e,r,a,i,f,s,l;let{state:c,manager:m,options:g}=this,{dragOperation:M}=m,{position:x,source:b,status:y}=M;if(y.idle){c.current={},c.initial={};return}if(!b)return;let{element:_}=b,z=b.pluginConfig($1),F=(r=(e=z==null?void 0:z.feedback)!=null?e:g==null?void 0:g.feedback)!=null?r:"default",k=typeof F==="function"?F(b,m):F;if(!_||k==="none"||!y.initialized||y.initializing)return;let{initial:I}=c,Y=(a=this.overlay)!=null?a:_,W=RL(Y),X=RL(_),J=!Ule(_,Y),ee=new lu(_,{frameTransform:J?X:null,ignoreTransforms:!J}),ae={x:X.scaleX/W.scaleX,y:X.scaleY/W.scaleY},{width:ne,height:xe,top:Qe,left:Fe}=ee;if(J)ne=ne/ae.x,xe=xe/ae.y;let ye=new Mle(Y),Ve=su(_),{transition:dt,translate:lt,boxSizing:pt,paddingBlockStart:Bt,paddingBlockEnd:Wt,paddingInlineStart:le,paddingInlineEnd:mt,borderInlineStartWidth:Gt,borderInlineEndWidth:ke,borderBlockStartWidth:Zr,borderBlockEndWidth:lr}=Ve,tr=dt.split(",").filter((_t)=>!/^\s*(transform|translate|scale)\b/.test(_t)).join(","),Ur=XT(Ve),Qt=Ve.transform,Jt=k==="clone",vr=pt==="content-box",Er=vr?parseInt(le)+parseInt(mt)+parseInt(Gt)+parseInt(ke):0,Br=vr?parseInt(Bt)+parseInt(Wt)+parseInt(Zr)+parseInt(lr):0,xr=k!=="move"&&!this.overlay?Wgt(b,Jt?"clone":"hidden"):null,bo=yo(()=>PL(m.dragOperation.activatorEvent));if(!I.translate){if(this.overlay&&Ur)I.translate={x:Ur.x,y:Ur.y};else if(lt!=="none"){let _t=W1(lt);if(_t)I.translate=_t}}if(!I.transformOrigin){let _t=yo(()=>x.current),Vt=Fe+((i=Ur==null?void 0:Ur.x)!=null?i:0),Nr=Qe+((f=Ur==null?void 0:Ur.y)!=null?f:0);I.transformOrigin={x:(_t.x-Vt*W.scaleX-W.x)/(ne*W.scaleX),y:(_t.y-Nr*W.scaleY-W.y)/(xe*W.scaleY)}}let{transformOrigin:rr}=I,Qr=Qe*W.scaleY+W.y,go=Fe*W.scaleX+W.x;if(!I.coordinates){if(I.coordinates={x:go,y:Qr},ae.x!==1||ae.y!==1){let{scaleX:_t,scaleY:Vt}=X,{x:Nr,y:Wr}=rr;I.coordinates.x+=(ne*_t-ne)*Nr,I.coordinates.y+=(xe*Vt-xe)*Wr}}if(!I.dimensions)I.dimensions={width:ne,height:xe};if(!I.frameTransform)I.frameTransform=W;let Bo={x:I.coordinates.x-go,y:I.coordinates.y-Qr},_o={width:(I.dimensions.width*I.frameTransform.scaleX-ne*W.scaleX)*rr.x,height:(I.dimensions.height*I.frameTransform.scaleY-xe*W.scaleY)*rr.y},ni={x:Bo.x/W.scaleX+_o.width,y:Bo.y/W.scaleY+_o.height},bn={left:Fe+ni.x,top:Qe+ni.y};Y.setAttribute(FZ,"true");let Xo=yo(()=>M.transform),Yn=(s=I.translate)!=null?s:{x:0,y:0},cn=Xo.x*W.scaleX+Yn.x,is=Xo.y*W.scaleY+Yn.y,$e=Cq();if(ye.set({width:ne-Er,height:xe-Br,top:bn.top+$e.y,left:bn.left+$e.x,translate:`${cn}px ${is}px 0`,transform:this.overlay?"none":Qt,transition:tr?`${tr}, translate 0ms linear`:"translate 0ms linear",scale:J?`${ae.x} ${ae.y}`:"","transform-origin":`${rr.x*100}% ${rr.y*100}%`},ms),xr){if(_.insertAdjacentElement("afterend",xr),g==null?void 0:g.rootElement)(typeof g.rootElement==="function"?g.rootElement(b):g.rootElement).appendChild(_)}if(t5(Y)){if(!Y.hasAttribute("popover"))Y.setAttribute("popover","manual");CL(Y),Y.addEventListener("beforetoggle",wle)}let jt,wr,Xr,oo=$gt({placeholder:xr,element:_,feedbackElement:Y,frameTransform:W,transformOrigin:rr,width:ne,height:xe,top:Qe,left:Fe,widthOffset:Er,heightOffset:Br,delta:ni,styles:ye,dragOperation:M,getTranslate:()=>c.current.translate,getElementMutationObserver:()=>jt,getSavedCellWidths:()=>Xr,setSavedCellWidths:(_t)=>{Xr=_t}}),$o=new lu(Y);yo(()=>M.shape=$o);let Pa=hl(Y),ze=(_t)=>{this.manager.actions.stop({event:_t})},Se=WT(Pa);if(bo)Pa.addEventListener("resize",ze);if(yo(()=>b.status)==="idle")requestAnimationFrame(()=>b.status="dragging");if(xr)oo.observe(xr),jt=Qgt(_,xr,Jt),wr=Jgt(_,xr,Y);let Pe=(l=m.dragOperation.source)==null?void 0:l.id,Zt=()=>{var _t;if(!bo||Pe==null)return;let Vt=m.registry.draggables.get(Pe),Nr=(_t=Vt==null?void 0:Vt.handle)!=null?_t:Vt==null?void 0:Vt.element;if(bM(Nr))Nr.focus()},Ct=()=>{if(jt==null||jt.disconnect(),wr==null||wr.disconnect(),oo.disconnect(),Pa.removeEventListener("resize",ze),t5(Y))Y.removeEventListener("beforetoggle",wle),Y.removeAttribute("popover");Y.removeAttribute(FZ),ye.reset();let _t=()=>{var Vt;if(Xr&&Fq(_)){let aa=Array.from(_.cells);for(let[ar,ea]of aa.entries())ea.style.width=(Vt=Xr[ar])!=null?Vt:""}b.status="idle";let Nr=c.current.translate!=null,Wr=M.status.dragging;if(xr&&(!Wr&&Nr||xr.parentElement!==Y.parentElement)&&Y.isConnected)xr.replaceWith(Y);xr==null||xr.remove()};if(Y===this.overlay)setTimeout(_t,0);else _t()},Yt=g==null?void 0:g.dropAnimation,sr=this,Nt=bL(()=>{var _t,Vt,Nr;let{transform:Wr,status:aa}=M;if(!Wr.x&&!Wr.y&&!c.current.translate)return;if(aa.dragging){let ar=(_t=I.translate)!=null?_t:{x:0,y:0},ea={x:Wr.x/W.scaleX+ar.x,y:Wr.y/W.scaleY+ar.y},ua=c.current.translate,Zi=yo(()=>M.modifiers),bs=yo(()=>{var _s;return(_s=M.shape)==null?void 0:_s.current}),Ia=g==null?void 0:g.keyboardTransition,Vs=bo&&!Se&&Ia!==null?`${(Vt=Ia==null?void 0:Ia.duration)!=null?Vt:250}ms ${(Nr=Ia==null?void 0:Ia.easing)!=null?Nr:"cubic-bezier(0.25, 1, 0.5, 1)"}`:"0ms linear";if(ye.set({transition:tr?`${tr}, translate ${Vs}`:`translate ${Vs}`,translate:`${ea.x}px ${ea.y}px 0`},ms),jt==null||jt.takeRecords(),bs&&bs!==$o&&ua&&!Zi.length){let _s=js.delta(ea,ua);M.shape=Al.from(bs.boundingRectangle).translate(_s.x*W.scaleX,_s.y*W.scaleY)}else M.shape=new lu(Y);c.current.translate=ea}},function(){if(M.status.dropped){this.dispose(),b.status="dropping";let _t=(z==null?void 0:z.dropAnimation)!==void 0?z.dropAnimation:sr.dropAnimation!==void 0?sr.dropAnimation:Yt,Vt=c.current.translate,Nr=Vt!=null;if(!Vt&&_!==Y)Vt={x:0,y:0};if(!Vt||_t===null){Ct();return}m.renderer.rendering.then(()=>{rMt({source:b,element:_,feedbackElement:Y,placeholder:xr,translate:Vt,moved:Nr,transition:dt,alignment:b.alignment,styles:ye,animation:_t!=null?_t:void 0,getElementMutationObserver:()=>jt,cleanup:Ct,restoreFocus:Zt})})}});return()=>{Ct(),Nt()}};cu(a2,4,"overlay",qle,$1,Jq);OL(a2,$1);$1.configure=Ls($1);var Yo=$1,QT=!0,oMt=!1,Wle,Gle,Kle,Xle,V8,$q,e9;Xle=(Kle=[To],Pc.Forward),Gle=(Wle=[To],Pc.Reverse);var n2=class{constructor(){Jn(this,$q,Ti(V8,8,this,QT)),Ti(V8,11,this),Jn(this,e9,Ti(V8,12,this,QT)),Ti(V8,15,this)}isLocked(e){if(e===Pc.Idle)return!1;if(e==null)return this[Pc.Forward]===QT&&this[Pc.Reverse]===QT;return this[e]===QT}unlock(e){if(e===Pc.Idle)return;this[e]=oMt}};V8=LI(null);$q=new WeakMap;e9=new WeakMap;cu(V8,4,Xle,Kle,n2,$q);cu(V8,4,Gle,Wle,n2,e9);OL(V8,n2);var aMt=[Pc.Forward,Pc.Reverse],zle=class{constructor(){this.x=new n2,this.y=new n2}isLocked(){return this.x.isLocked()&&this.y.isLocked()}},nMt=class extends ts{constructor(e){super(e);let r=EZ(new zle),a=null;this.signal=r,Ri(()=>{let{status:i}=e.dragOperation;if(!i.initialized){a=null,r.value=new zle;return}let{delta:f}=e.dragOperation.position;if(a){let s={x:Sle(f.x,a.x),y:Sle(f.y,a.y)},l=r.peek();ra(()=>{for(let c of XU)for(let m of aMt)if(s[c]===m)l[c].unlock(m);r.value=l})}a=f})}get current(){return this.signal.peek()}};function Sle(e,r){return Math.sign(e-r)}var Qle,Yq,i2,t9,q8,Uq,jI=class extends(Yq=q1,Qle=[To],Yq){constructor(e){super(e);Jn(this,t9,Ti(i2,8,this,!1)),Ti(i2,11,this),Jn(this,q8),Jn(this,Uq,()=>{if(!Ea(this,q8))return;let{element:s,by:l}=Ea(this,q8);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 gl(this,q8,void 0),!1;let{position:g}=this.manager.dragOperation,M=g==null?void 0:g.current;if(M){let{by:x}=s!=null?s:{},b=x?{x:Lle(x.x),y:Lle(x.y)}:void 0,y=b?void 0:this.scrollIntentTracker.current;if(y==null?void 0:y.isLocked())return!1;for(let _ of m){let z=hle(_,x);if(z.x||z.y){let{speed:F,direction:k}=gle(_,M,b,l==null?void 0:l.acceleration,l==null?void 0:l.threshold);if(y){for(let I of XU)if(y[I].isLocked(k[I]))F[I]=0,k[I]=0}if(k.x||k.y){let{x:I,y:Y}=x!=null?x:k,W=I*F.x,X=Y*F.y;if(W||X){let J=(c=Ea(this,q8))==null?void 0:c.by;if(this.autoScrolling&&J){if(J.x&&!W||J.y&&!X)continue}return gl(this,q8,{element:_,by:{x:W,y:X}}),KT.schedule(Ea(this,Uq)),!0}}}}}return gl(this,q8,void 0),!1};let r=null,a=null,i=D1(()=>{let{position:s,source:l}=e.dragOperation;if(!s)return null;let c=Rq(HT(l==null?void 0:l.element),s.current);if(c)r=c;return c!=null?c:r}),f=D1(()=>{let s=i.value,{documentElement:l}=kL(s);if(!s||s===l){let{target:c}=e.dragOperation,m=c==null?void 0:c.element;if(m){let g=r5(m,{excludeElement:!1});return a=g,g}}if(s){let c=r5(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},ds);this.getScrollableElements=()=>f.value,this.scrollIntentTracker=new nMt(e),this.destroy=e.monitor.addEventListener("dragmove",(s)=>{if(this.disabled||s.defaultPrevented||!PL(e.dragOperation.activatorEvent)||!s.by)return;if(this.scroll({by:s.by}))s.preventDefault()})}};i2=LI(Yq);t9=new WeakMap;q8=new WeakMap;Uq=new WeakMap;cu(i2,4,"autoScrolling",Qle,jI,t9);OL(i2,jI);function Lle(e){if(e>0)return Pc.Forward;if(e<0)return Pc.Reverse;return Pc.Idle}var iMt=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))}},fMt=new iMt((e)=>{if(typeof requestAnimationFrame==="function")requestAnimationFrame(e);else e()}),sMt=10,qq=class extends ts{constructor(r,a){super(r,a);let i=r.registry.plugins.get(jI);if(!i)throw Error("AutoScroller plugin depends on Scroller plugin");this.destroy=Ri(()=>{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 x=setInterval(()=>fMt.schedule(()=>i.scroll(void 0,g)),sMt);return()=>{clearInterval(x)}}else i.autoScrolling=!1}})}};qq.configure=Ls(qq);var Jle=qq,kle={capture:!0,passive:!0},$T,lMt=class extends q1{constructor(e){super(e);Jn(this,$T),this.handleScroll=()=>{if(Ea(this,$T)==null)gl(this,$T,setTimeout(()=>{this.manager.collisionObserver.forceUpdate(!1),gl(this,$T,void 0)},50))};let{dragOperation:r}=this.manager;this.destroy=Ri(()=>{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,kle),()=>{l.removeEventListener("scroll",this.handleScroll,kle)}}})}};$T=new WeakMap;var cMt="* { user-select: none !important; -webkit-user-select: none !important; }",uMt=class extends ts{constructor(e){super(e);this.manager=e;let r=e.registry.plugins.get(p5),a=r==null?void 0:r.register(cMt);if(this.destroy=Ri(()=>{let{dragOperation:i}=this.manager;if(i.status.initialized)return Dq(),document.addEventListener("selectionchange",Dq,{capture:!0}),()=>{document.removeEventListener("selectionchange",Dq,{capture:!0})}}),a){let i=this.destroy.bind(this);this.destroy=()=>{a(),i()}}}};function Dq(){var e;(e=document.getSelection())==null||e.removeAllRanges()}var e2=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}}),K1,d5=class extends _L{constructor(r,a){super(r);this.manager=r,this.options=a,Jn(this,K1,[]),this.listeners=new Pq,this.handleSourceKeyDown=(i,f,s)=>{if(this.disabled||i.defaultPrevented)return;if(!U8(i.target))return;if(f.disabled)return;let{keyboardCodes:l=e2.keyboardCodes,preventActivation:c=e2.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 Ri(()=>{var f;let s=(f=r.handle)!=null?f:r.element,l=(c)=>{if(PL(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(),o5(f);let{center:s}=new lu(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=kL(f),m=[this.listeners.bind(c,[{type:"keydown",listener:(g)=>this.handleKeyDown(g,a,i),options:{capture:!0}}])];Ea(this,K1).push(...m)}handleKeyDown(r,a,i){let{keyboardCodes:f=e2.keyboardCodes}=i!=null?i:{};if(G1(r,[...f.end,...f.cancel])){r.preventDefault();let s=G1(r,f.cancel);this.handleEnd(r,s);return}if(G1(r,f.up))this.handleMove("up",r);else if(G1(r,f.down))this.handleMove("down",r);if(G1(r,f.left))this.handleMove("left",r);else if(G1(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:e2.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(Jle);if((r==null?void 0:r.disabled)===!1)r.disable(),Ea(this,K1).push(()=>{r.enable()})}cleanup(){Ea(this,K1).forEach((r)=>r()),gl(this,K1,[])}destroy(){this.cleanup(),this.listeners.clear()}};K1=new WeakMap;d5.configure=Ls(d5);d5.defaults=e2;var Lo=d5;function G1(e,r){return r.includes(e.code)}var TL,dMt=class extends vq{constructor(){super(...arguments);Jn(this,TL)}onEvent(e){switch(e.type){case"pointerdown":gl(this,TL,IL(e));break;case"pointermove":if(!Ea(this,TL))return;let{x:r,y:a}=IL(e),i={x:r-Ea(this,TL).x,y:a-Ea(this,TL).y},{tolerance:f}=this.options;if(f&&TN(i,f)){this.abort();return}if(TN(i,this.options.value))this.activate(e);break;case"pointerup":this.abort();break}}abort(){gl(this,TL,void 0)}};TL=new WeakMap;var X1,AL,ZMt=class extends vq{constructor(){super(...arguments);Jn(this,X1),Jn(this,AL)}onEvent(e){switch(e.type){case"pointerdown":gl(this,AL,IL(e)),gl(this,X1,setTimeout(()=>this.activate(e),this.options.value));break;case"pointermove":if(!Ea(this,AL))return;let{x:r,y:a}=IL(e),i={x:r-Ea(this,AL).x,y:a-Ea(this,AL).y};if(TN(i,this.options.tolerance))this.abort();break;case"pointerup":this.abort();break}}abort(){if(Ea(this,X1))clearTimeout(Ea(this,X1)),gl(this,AL,void 0),gl(this,X1,void 0)}};X1=new WeakMap;AL=new WeakMap;var Ir=class{};Ir.Delay=ZMt;Ir.Distance=dMt;var Vq=Object.freeze({activationConstraints(e,r){var a;let{pointerType:i,target:f}=e;if(i==="mouse"&&U8(f)&&(r.handle===f||((a=r.handle)==null?void 0:a.contains(f))))return;if(i==="touch")return[new Ir.Delay({value:250,tolerance:5})];if(xle(f)&&!e.defaultPrevented)return[new Ir.Delay({value:200,tolerance:0})];return[new Ir.Delay({value:200,tolerance:10}),new Ir.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(!U8(i))return!1;if((a=r.handle)==null?void 0:a.contains(i))return!1;let f=sle(i);if(f===r.element)return!1;return Boolean(f)}}),Q1,Z5=class extends _L{constructor(r,a){super(r);this.manager=r,this.options=a,Jn(this,Q1,new Set),this.listeners=new Pq,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=Vq.activationConstraints}=i!=null?i:{};return typeof f==="function"?f(r,a):f}bind(r,a=this.options){return Ri(()=>{var f;let s=new AbortController,{signal:l}=s,c=(g)=>{if(vle(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;hMt(g.ownerDocument.defaultView),g.addEventListener("pointerdown",c,{signal:l})}return()=>s.abort()})}handlePointerDown(r,a,i){if(this.disabled||!r.isPrimary||r.button!==0||!U8(r.target)||a.disabled||pMt(r)||!this.manager.dragOperation.status.idle)return;let{preventActivation:f=Vq.preventActivation}=i!=null?i:{};if(f==null?void 0:f(r,a))return;let{target:s}=r,l=bM(s)&&s.draggable&&s.getAttribute("draggable")==="true",c=RL(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 x=new Fse(M,(z)=>this.handleStart(a,z));x.signal.onabort=()=>this.handleCancel(r),x.onEvent(r),this.controller=x;let b=HN(),y=this.listeners.bind(b,[{type:"pointermove",listener:(z)=>this.handlePointerMove(z,a)},{type:"pointerup",listener:this.handlePointerUp,options:{capture:!0}},{type:"pointercancel",listener:this.handleCancel},{type:"dragstart",listener:l?this.handleCancel:f5,options:{capture:!0}}]),_=()=>{y(),this.initialCoordinates=void 0};Ea(this,Q1).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=RL(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,KT.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=kL(a.target).body;try{c.setPointerCapture(a.pointerId)}catch(M){this.handleCancel(a);return}let m=U8(a.target)?[a.target,c]:c,g=this.listeners.bind(m,[{type:"touchmove",listener:f5,options:{passive:!1}},{type:"click",listener:f5},{type:"contextmenu",listener:f5},{type:"keydown",listener:this.handleKeyDown}]);Ea(this,Q1).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},Ea(this,Q1).forEach((a)=>a()),Ea(this,Q1).clear()}destroy(){this.cleanup(),this.listeners.clear()}};Q1=new WeakMap;Z5.configure=Ls(Z5);Z5.defaults=Vq;var nn=Z5;function pMt(e){return"sensor"in e}function f5(e){e.preventDefault()}function mMt(){}var Ile=new WeakSet;function hMt(e){if(!e||Ile.has(e))return;e.addEventListener("touchmove",mMt,{capture:!1,passive:!1}),Ile.add(e)}var DL={modifiers:[],plugins:[Bgt,Jle,Ugt,Yo,uMt],sensors:[nn,Lo]},r9=class extends Xse{constructor(e={}){let r=Zl(e.plugins,DL.plugins),a=Zl(e.sensors,DL.sensors),i=Zl(e.modifiers,DL.modifiers);super(Kq(o2({},e),{plugins:[lMt,jI,p5,...r],sensors:a,modifiers:i}))}},$le,ece,Hq,H8,o9,a9,jL=class extends(Hq=tZ,ece=[To],$le=[To],Hq){constructor(e,r){var a=e,{element:i,effects:f=()=>[],handle:s}=a,l=Tle(a,["element","effects","handle"]);super(o2({effects:()=>[...f(),()=>{var c,m;let{manager:g}=this;if(!g)return;let x=((m=(c=this.sensors)==null?void 0:c.map(B1))!=null?m:[...g.sensors]).map((b)=>{let y=b instanceof _L?b:g.registry.register(b.plugin),_=b instanceof _L?void 0:b.options;return y.bind(this,_)});return function(){x.forEach((y)=>y())}}]},l),r);Jn(this,o9,Ti(H8,8,this)),Ti(H8,11,this),Jn(this,a9,Ti(H8,12,this)),Ti(H8,15,this),this.element=i,this.handle=s}};H8=LI(Hq);o9=new WeakMap;a9=new WeakMap;cu(H8,4,"handle",ece,jL,o9);cu(H8,4,"element",$le,jL,a9);OL(H8,jL);var tce,rce,Wq,W8,n9,Eq,oce,ace,r2,i9,FI=class extends(Wq=rZ,rce=[To],tce=[To],Wq){constructor(e,r){var a=e,{element:i,effects:f=()=>[]}=a,s=Tle(a,["element","effects"]);let{collisionDetector:l=i5}=s,c=(g)=>{let{manager:M,element:x}=this;if(!x||g===null){this.shape=void 0;return}if(!M)return;let b=new lu(x),y=yo(()=>this.shape);if(b&&(y==null?void 0:y.equals(b)))return y;return this.shape=b,b},m=EZ(!1);super(Kq(o2({},s),{collisionDetector:l,effects:()=>[...f(),()=>{let{element:g,manager:M}=this;if(!M)return;let{dragOperation:x}=M,{source:b}=x;m.value=Boolean(b&&x.status.initialized&&g&&!this.disabled&&this.accepts(b))},()=>{let{element:g}=this;if(m.value&&g){let M=new ple(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);Jn(this,r2),Jn(this,n9,Ti(W8,8,this)),Ti(W8,11,this),Jn(this,i9,Ti(W8,12,this)),Ti(W8,15,this),this.element=i,this.refreshShape=()=>c()}set element(e){gl(this,r2,e,ace)}get element(){var e;return(e=this.proxy)!=null?e:Ea(this,r2,oce)}};W8=LI(Wq);n9=new WeakMap;r2=new WeakSet;i9=new WeakMap;Eq=cu(W8,20,"#element",rce,r2,n9),oce=Eq.get,ace=Eq.set;cu(W8,4,"proxy",tce,FI,i9);OL(W8,FI);C();function gMt(e){return e!=null&&typeof e==="object"&&"current"in e}function aZ(e){var r;if(e==null)return;if(gMt(e))return(r=e.current)!=null?r:void 0;return e}var MMt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",wM=MMt?He:h;function nce(){let e=u(0)[1];return N(()=>{e((r)=>r+1)},[e])}function vMt(e,r=!1){let a=v(e.peek()),i=v(!1),f=nce();return wM(()=>Ri(()=>{let s=a.current,l=e.value;if(s!==l){if(a.current=l,!i.current)return;if(r)Mn(f);else f()}}),[e,r,f]),{get value(){return i.current=!0,e.peek()}}}function m5(e,r=[],a=!1){let i=v(e);return i.current=e,vMt(O(()=>D1(()=>i.current()),r),a)}function BI(e,r){let a=v(new Map),i=nce();return wM(()=>{if(!e){a.current.clear();return}return Ri(()=>{var f;let s=!1,l=!1;for(let c of a.current){let[m]=c,g=yo(()=>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(()=>Mn(i));else i()})},[e]),O(()=>e?new Proxy(e,{get(f,s){let l=f[s];return a.current.set(s,l),l}}):e,[e])}function ice(e,r){e()}function NL(e){let r=v(e);return wM(()=>{r.current=e},[e]),r}function Ho(e,r,a=h,i=Object.is){let f=v(e);a(()=>{let s=f.current;if(!i(e,s))f.current=e,r(e,s)},[r,e])}function K8(e,r){let a=v(aZ(e));wM(()=>{let i=aZ(e);if(i!==a.current)a.current=i,r(i)})}var{defineProperty:xMt,defineProperties:yMt,getOwnPropertyDescriptors:bMt,getOwnPropertySymbols:g5}=Object,sce=Object.prototype.hasOwnProperty,lce=Object.prototype.propertyIsEnumerable,fce=(e,r,a)=>(r in e)?xMt(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,cce=(e,r)=>{for(var a in r||(r={}))if(sce.call(r,a))fce(e,a,r[a]);if(g5){for(var a of g5(r))if(lce.call(r,a))fce(e,a,r[a])}return e},uce=(e,r)=>yMt(e,bMt(r)),_Mt=(e,r)=>{var a={};for(var i in e)if(sce.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&g5){for(var i of g5(e))if(r.indexOf(i)<0&&lce.call(e,i))a[i]=e[i]}return a},wMt=new r9,l9=wt(wMt),zMt=Bc(D(({children:e},r)=>{let[a,i]=u(0),f=v(null),s=v(null),l=O(()=>({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});sk(()=>{c(),i((m)=>m+1)})}}),[]);return wM(()=>{var c;(c=s.current)==null||c.call(s),f.current=null},[e,a]),tn(r,()=>l),null})),f9=[void 0,ds];function Dn(e){var r=e,{children:a,onCollision:i,onBeforeDragStart:f,onDragStart:s,onDragMove:l,onDragOver:c,onDragEnd:m}=r,g=_Mt(r,["children","onCollision","onBeforeDragStart","onDragStart","onDragMove","onDragOver","onDragEnd"]);let M=v(null),{plugins:x,modifiers:b,sensors:y}=g,_=Zl(x,DL.plugins),z=Zl(y,DL.sensors),F=Zl(b,DL.modifiers),k=NL(f),I=NL(s),Y=NL(c),W=NL(l),X=NL(m),J=NL(i),ee=SMt(()=>{var ae;return(ae=g.manager)!=null?ae:new r9(g)});return h(()=>{if(!M.current)throw Error("Renderer not found");let{renderer:ae,trackRendering:ne}=M.current,{monitor:xe}=ee;ee.renderer=ae;let Qe=[xe.addEventListener("beforedragstart",(Fe)=>{let ye=k.current;if(ye)ne(()=>ye(Fe,ee))}),xe.addEventListener("dragstart",(Fe)=>{var ye;return(ye=I.current)==null?void 0:ye.call(I,Fe,ee)}),xe.addEventListener("dragover",(Fe)=>{let ye=Y.current;if(ye)ne(()=>ye(Fe,ee))}),xe.addEventListener("dragmove",(Fe)=>{let ye=W.current;if(ye)ne(()=>ye(Fe,ee))}),xe.addEventListener("dragend",(Fe)=>{let ye=X.current;if(ye)ne(()=>ye(Fe,ee))}),xe.addEventListener("collision",(Fe)=>{var ye;return(ye=J.current)==null?void 0:ye.call(J,Fe,ee)})];return()=>Qe.forEach((Fe)=>Fe())},[ee]),Ho(_,()=>ee&&(ee.plugins=_),...f9),Ho(z,()=>ee&&(ee.sensors=z),...f9),Ho(F,()=>ee&&(ee.modifiers=F),...f9),o(l9.Provider,{value:ee,children:[t(zMt,{ref:M,children:a}),a]})}function SMt(e){let r=v(null);if(!r.current)r.current=e();return pD(()=>()=>{var a;return(a=r.current)==null?void 0:a.destroy()},[]),r.current}function c9(){return xt(l9)}function M5(e){var r;let a=(r=c9())!=null?r:void 0,[i]=u(()=>e(a));if(i.manager!==a)i.manager=a;return wM(i.register,[a,i]),i}function Jo(e){let{disabled:r,data:a,element:i,handle:f,id:s,modifiers:l,sensors:c,plugins:m}=e,g=M5((x)=>new jL(uce(cce({},e),{register:!1,handle:aZ(f),element:aZ(i)}),x)),M=BI(g,LMt);return Ho(s,()=>g.id=s),K8(f,(x)=>g.handle=x),K8(i,(x)=>g.element=x),Ho(a,()=>a&&(g.data=a)),Ho(r,()=>g.disabled=r===!0),Ho(c,()=>g.sensors=c,void 0,ds),Ho(l,()=>g.modifiers=l,void 0,ds),Ho(m,()=>g.plugins=m,void 0,ds),Ho(e.alignment,()=>g.alignment=e.alignment),{draggable:M,get isDragging(){return M.isDragging},get isDropping(){return M.isDropping},get isDragSource(){return M.isDragSource},handleRef:N((x)=>{g.handle=x!=null?x:void 0},[g]),ref:N((x)=>{var b,y;if(!x&&((b=g.element)==null?void 0:b.isConnected)&&!((y=g.manager)==null?void 0:y.dragOperation.status.idle))return;g.element=x!=null?x:void 0},[g])}}function LMt(e,r,a){if(e==="isDragSource"&&!a&&r)return!0;return!1}function Sc({children:e,className:r,dropAnimation:a,style:i,tag:f,disabled:s}){var l;let c=v(null),m=c9(),g=(l=m5(()=>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 y=m.plugins.find((_)=>_ instanceof Yo);if(!y)return;return y.overlay=c.current,()=>{y.overlay=void 0}},[m,M]),h(()=>{if(!m)return;let y=m.plugins.find((_)=>_ instanceof Yo);if(!y)return;return y.dropAnimation=a,()=>{y.dropAnimation=void 0}},[m,a]);let x=O(()=>{if(!m)return null;let y=new Proxy(m.registry,{get(_,z){if(z==="register"||z==="unregister")return kMt;return _[z]}});return new Proxy(m,{get(_,z){if(z==="registry")return y;return _[z]}})},[m]);return t(l9.Provider,{value:x,children:j(f||"div",{ref:c,className:r,style:i,"data-dnd-overlay":!0},b())});function b(){if(!g||M)return null;if(typeof e==="function")return t(IMt,{source:g,children:e});return e}}function kMt(){return()=>{}}function IMt({children:e,source:r}){return e(BI(r))}var{create:CMt,defineProperty:dce,getOwnPropertyDescriptor:RMt}=Object,Zce=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),v5=(e)=>{throw TypeError(e)},PMt=(e,r,a)=>(r in e)?dce(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,TMt=(e)=>{var r;return[,,,CMt((r=e==null?void 0:e[Zce("metadata")])!=null?r:null)]},pce=["class","method","getter","setter","accessor","field","value","get","set"],mce=(e)=>e!==void 0&&typeof e!=="function"?v5("Function expected"):e,AMt=(e,r,a,i,f)=>({kind:pce[e],name:r,metadata:i,addInitializer:(s)=>a._?v5("Already initialized"):f.push(mce(s||null))}),DMt=(e,r)=>PMt(r,Zce("metadata"),e[3]),EMt=(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},hce=(e,r,a,i,f,s)=>{var l,c,m,g,M=r&7,x=!1,b=!1,y=2,_=pce[M+5],z=e[y]||(e[y]=[]),F=(f=f.prototype,RMt(f,a));for(var k=i.length-1;k>=0;k--)m=AMt(M,a,c={},e[3],z),m.static=x,m.private=b,g=m.access={has:(I)=>(a in I)},g.get=(I)=>I[a],l=(0,i[k])(F[_],m),c._=1,mce(l)&&(F[_]=l);return F&&dce(f,a,F),f},gce=(e,r,a)=>r.has(e)||v5("Cannot "+a),OMt=(e,r,a)=>(gce(e,r,"read from private field"),r.get(e)),jMt=(e,r,a)=>r.has(e)?v5("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),NMt=(e,r,a,i)=>(gce(e,r,"write to private field"),r.set(e,a),a),FL=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)}},Mce,vce,s9,h5,s2,u9=class extends(s9=OZ,vce=[sn],Mce=[sn],s9){constructor(e){let r=FL.from(e);super(r,(a,i)=>FL.equals(a,i));EMt(s2,5,this),jMt(this,h5,0),this.velocity={x:0,y:0}}get delta(){return FL.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=FL.from(e),i={x:a.x-r.x,y:a.y-r.y},f=Date.now(),s=f-OMt(this,h5),l=(c)=>Math.round(c/s*100);ra(()=>{NMt(this,h5,f),this.velocity={x:l(i.x),y:l(i.y)},super.current=a})}reset(e=this.defaultValue){super.reset(FL.from(e)),this.velocity={x:0,y:0}}};s2=TMt(s9);h5=new WeakMap;hce(s2,2,"delta",vce,u9);hce(s2,2,"direction",Mce,u9);DMt(s2,u9);var xce=((e)=>(e.Horizontal="x",e.Vertical="y",e))(xce||{});Object.values(xce);var FMt=({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=FL.distance(r.shape.center,a);return{id:i,value:1/f,type:NZ.PointerIntersection,priority:jZ.High}}return null},BMt=({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=FL.distance(r.shape.center,f.current),c=i/(a.current.area+r.shape.area-i)/s;return{id:r.id,value:c,type:NZ.ShapeIntersection,priority:jZ.Normal}}return null},YMt=(e)=>{var r;return(r=FMt(e))!=null?r:BMt(e)};function Tr(e){let{collisionDetector:r,data:a,disabled:i,element:f,id:s,accept:l,type:c}=e,m=M5((M)=>new FI(uce(cce({},e),{register:!1,element:aZ(f)}),M)),g=BI(m);return Ho(s,()=>m.id=s),K8(f,(M)=>m.element=M),Ho(l,()=>m.accept=l,void 0,ds),Ho(r,()=>m.collisionDetector=r!=null?r:YMt),Ho(a,()=>a&&(m.data=a)),Ho(i,()=>m.disabled=i===!0),Ho(c,()=>m.type=c),{droppable:g,get isDropTarget(){return g.isDropTarget},ref:N((M)=>{var x,b;if(!M&&((x=m.element)==null?void 0:x.isConnected)&&!((b=m.manager)==null?void 0:b.dragOperation.status.idle))return;m.element=M!=null?M:void 0},[m])}}function md(){let e=c9(),r=m5(()=>e==null?void 0:e.dragOperation.source,[e]),a=m5(()=>e==null?void 0:e.dragOperation.target,[e]);return{get source(){return r.value},get target(){return a.value}}}C();C();C();C();var d9=new Map,x5=new WeakMap,yce=0,UMt;function qMt(e){if(!e)return"0";if(x5.has(e))return x5.get(e);return yce+=1,x5.set(e,yce.toString()),x5.get(e)}function VMt(e){return Object.keys(e).sort().filter((r)=>e[r]!==void 0).map((r)=>`${r}_${r==="root"?qMt(e.root):e[r]}`).toString()}function HMt(e){let r=VMt(e),a=d9.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},d9.set(r,a)}return a}function WMt(e,r,a={},i=UMt){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}=HMt(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(),d9.delete(f)}}var Z9=Reflect.get(H,"useInsertionEffect"),GMt=Z9!=null?Z9:h;function KMt(e){return(e==null?void 0:e.startsWith("19."))||!1}var bce=KMt(fa);function XMt(e,{threshold:r,root:a,rootMargin:i,scrollMargin:f,trackVisibility:s,delay:l,fallbackInView:c,skip:m,triggerOnce:g}){let M=v(e),x=v({node:null,stop:void 0,owner:null});if(!Z9)M.current=e;return GMt(()=>{M.current=e},[e]),N(function b(y){let _=x.current;if(!y&&_.owner!==b)return;if(y===_.node)return _.owner=b,bce?_.stop:void 0;let z=_.stop;if(_.stop=void 0,z==null||z(),!y||m){_.node=null,_.owner=y?b:null;return}_.node=y,_.owner=b;let F,k;function I(){if(F==null||F(),_.stop===I)_.node=null,_.stop=void 0}if(_.stop=I,F=WMt(y,(Y,W)=>{if(M.current(Y,W,k),k=Y,g&&Y)I()},{threshold:r,root:a,rootMargin:i,scrollMargin:f,trackVisibility:s,delay:l},c),_.stop!==I)F();return bce?_.stop:void 0},[Array.isArray(r)?r.toString():r,a,i,f,s,l,c,m,g])}var QMt=typeof window>"u"?h:He;function Tt({threshold:e,delay:r,trackVisibility:a,rootMargin:i,scrollMargin:f,root:s,triggerOnce:l,skip:c,initialInView:m,fallbackInView:g,onChange:M}={}){let x=v(m),[b,y]=u({inView:!!m,entry:void 0}),_=XMt((I,Y)=>{let W=x.current;if(x.current=I,W===void 0&&!I)return;y({inView:I,entry:Y}),M==null||M(I,Y)},{threshold:e,root:s,rootMargin:i,scrollMargin:f,trackVisibility:a,delay:r,fallbackInView:g,skip:c,triggerOnce:l}),z=v({node:null,reset:!1}),F=N(function(Y){if(Y)z.current.node=Y,z.current.reset=!1;else if(z.current.node)z.current.node=null,z.current.reset=!0;let W=_(Y);if(!W)return;return()=>{if(W(),z.current.node===Y)z.current.node=null,z.current.reset=!0}},[_]);QMt(()=>{if(!z.current.reset)return;if(z.current.reset=!1,l||c)return;y({inView:!!m,entry:void 0}),x.current=m});let k=[F,b.inView,b.entry];return k.ref=k[0],k.inView=k[1],k.entry=k[2],k}C();function JMt(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 $Mt=(e)=>{switch(e){case"success":return rvt;case"info":return avt;case"warning":return ovt;case"error":return nvt;default:return null}},evt=Array(12).fill(0),tvt=({visible:e,className:r})=>j("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":e},j("div",{className:"sonner-spinner"},evt.map((a,i)=>j("div",{className:"sonner-loading-bar",key:`spinner-bar-${i}`})))),rvt=j("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20","aria-hidden":"true"},j("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"})),ovt=j("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20","aria-hidden":"true"},j("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"})),avt=j("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20","aria-hidden":"true"},j("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"})),nvt=j("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20","aria-hidden":"true"},j("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"})),ivt=j("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"},j("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),j("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),fvt=()=>{let[e,r]=u(document.hidden);return h(()=>{let a=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",a),()=>document.removeEventListener("visibilitychange",a)},[]),e},svt=1,lvt=100,_ce=(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:svt++};class Sce{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-lvt;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=_ce(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],Hs(m))f=!1,this.create({id:a,type:"default",message:m});else if(uvt(m)&&!m.ok){f=!1;let M=typeof r.error==="function"?await r.error(`HTTP error! status: ${m.status}`):r.error,x=typeof r.description==="function"?await r.description(`HTTP error! status: ${m.status}`):r.description,y=typeof M==="object"&&!Hs(M)?M:{message:M};this.create({id:a,type:"error",description:x,...y})}else if(m instanceof Error){f=!1;let M=typeof r.error==="function"?await r.error(m):r.error,x=typeof r.description==="function"?await r.description(m):r.description,y=typeof M==="object"&&!Hs(M)?M:{message:M};this.create({id:a,type:"error",description:x,...y})}else if(r.success!==void 0){f=!1;let M=typeof r.success==="function"?await r.success(m):r.success,x=typeof r.description==="function"?await r.description(m):r.description,y=typeof M==="object"&&!Hs(M)?M:{message:M};this.create({id:a,type:"success",description:x,...y})}}).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,b=typeof g==="object"&&!Hs(g)?g:{message:g};this.create({id:a,type:"error",description:M,...b})}}).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=_ce(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 El=new Sce,cvt=(e,r)=>El.message(e,r),uvt=(e)=>e&&typeof e==="object"&&("ok"in e)&&typeof e.ok==="boolean"&&("status"in e)&&typeof e.status==="number",dvt=cvt,Zvt=()=>El.toasts,pvt=()=>El.getActiveToasts(),R=Object.assign(dvt,{success:El.success,info:El.info,warning:El.warning,error:El.error,custom:El.custom,message:El.message,promise:El.promise,dismiss:El.dismiss,loading:El.loading},{getHistory:Zvt,getToasts:pvt});JMt("[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 y5(e){return e.label!==void 0}var mvt=3,hvt="24px",gvt="16px",wce=4000,Mvt=356,vvt=14,xvt=45,yvt=200;function BZ(...e){return e.filter(Boolean).join(" ")}function bvt(e){let[r,a]=e.split("-"),i=[];if(r)i.push(r);if(a)i.push(a);return i}var _vt=(e)=>{var r,a,i,f,s,l,c,m,g;let{invert:M,toast:x,unstyled:b,interacting:y,setHeights:_,visibleToasts:z,heights:F,index:k,toasts:I,expanded:Y,removeToast:W,defaultRichColors:X,closeButton:J,style:ee,cancelButtonStyle:ae,actionButtonStyle:ne,className:xe="",descriptionClassName:Qe="",duration:Fe,position:ye,gap:Ve,expandByDefault:dt,classNames:lt,icons:pt,closeButtonAriaLabel:Bt="Close toast"}=e,[Wt,le]=u(null),[mt,Gt]=u(null),[ke,Zr]=u(!1),[lr,tr]=u(!1),[Ur,Qt]=u(!1),[Jt,vr]=u(!1),[Er,Br]=u(!1),[xr,bo]=u(0),[rr,Qr]=u(0),go=v(x.duration||Fe||wce),Bo=v(null),_o=v(null),ni=k===0,bn=k+1<=z,Xo=x.type,Yn=Xo!=null?Xo:"default",cn=x.dismissible!==!1,is=x.className||"",$e=x.descriptionClassName||"",jt=O(()=>F.findIndex((ar)=>ar.toastId===x.id)||0,[F,x.id]),wr=O(()=>{var ar;return(ar=x.closeButton)!=null?ar:J},[x.closeButton,J]),Xr=O(()=>x.duration||Fe||wce,[x.duration,Fe]),oo=v(0),$o=v(0),Pa=v(0),ze=v(null),[Se,Pe]=ye.split("-"),Zt=O(()=>F.reduce((ar,ea,ua)=>{if(ua>=jt)return ar;return ar+ea.height},0),[F,jt]),Ct=fvt(),Yt=O(()=>{var ar;return(ar=e.swipeDirections)!=null?ar:bvt(ye)},[e.swipeDirections,ye]),sr=x.invert||M,Nt=Xo==="loading";$o.current=O(()=>jt*Ve+Zt,[jt,Zt]),h(()=>{go.current=Xr},[Xr]),h(()=>{Zr(!0)},[]),h(()=>{let ar=_o.current;if(ar){let ea=ar.getBoundingClientRect().height;return Qr(ea),_((ua)=>[{toastId:x.id,height:ea,position:x.position},...ua]),()=>_((ua)=>ua.filter((Zi)=>Zi.toastId!==x.id))}},[_,x.id]),He(()=>{if(!ke)return;let ar=_o.current,ea=ar.style.height;ar.style.height="auto";let ua=ar.getBoundingClientRect().height;ar.style.height=ea,Qr(ua),_((Zi)=>{if(!Zi.find((Ia)=>Ia.toastId===x.id))return[{toastId:x.id,height:ua,position:x.position},...Zi];else return Zi.map((Ia)=>Ia.toastId===x.id?{...Ia,height:ua}:Ia)})},[ke,x.title,x.description,_,x.id,x.jsx,x.action,x.cancel]);let _t=N(()=>{tr(!0),bo($o.current),_((ar)=>ar.filter((ea)=>ea.toastId!==x.id)),setTimeout(()=>{W(x)},yvt)},[x,W,_,$o]);h(()=>{if(x.promise&&Xo==="loading"||x.duration===1/0||x.type==="loading")return;let ar,ea=()=>{if(Pa.current<oo.current){let Zi=new Date().getTime()-oo.current;go.current=go.current-Zi}Pa.current=new Date().getTime()},ua=()=>{if(go.current===1/0)return;oo.current=new Date().getTime(),ar=setTimeout(()=>{x.onAutoClose==null||x.onAutoClose.call(x,x),_t()},go.current)};if(Y||y||Ct)ea();else ua();return()=>clearTimeout(ar)},[Y,y,x,Xo,Ct,_t]),h(()=>{if(x.delete)_t(),x.onDismiss==null||x.onDismiss.call(x,x)},[_t,x.delete]);function Vt(){var ar;if(pt==null?void 0:pt.loading){var ea;return j("div",{className:BZ(lt==null?void 0:lt.loader,x==null?void 0:(ea=x.classNames)==null?void 0:ea.loader,"sonner-loader"),"data-visible":Xo==="loading"},pt.loading)}return j(tvt,{className:BZ(lt==null?void 0:lt.loader,x==null?void 0:(ar=x.classNames)==null?void 0:ar.loader),visible:Xo==="loading"})}let Nr=x.icon||(pt==null?void 0:pt[Xo])||$Mt(Xo);var Wr,aa;return j("li",{tabIndex:0,ref:_o,className:BZ(xe,is,lt==null?void 0:lt.toast,x==null?void 0:(r=x.classNames)==null?void 0:r.toast,lt==null?void 0:lt[Yn],x==null?void 0:(a=x.classNames)==null?void 0:a[Yn]),"data-sonner-toast":"","data-rich-colors":(Wr=x.richColors)!=null?Wr:X,"data-styled":!Boolean(x.jsx||x.unstyled||b),"data-mounted":ke,"data-promise":Boolean(x.promise),"data-swiped":Er,"data-removed":lr,"data-visible":bn,"data-y-position":Se,"data-x-position":Pe,"data-index":k,"data-front":ni,"data-swiping":Ur,"data-dismissible":cn,"data-type":Xo,"data-invert":sr,"data-swipe-out":Jt,"data-swipe-direction":mt,"data-expanded":Boolean(Y||dt&&ke),"data-testid":x.testId,style:{"--index":k,"--toasts-before":k,"--z-index":I.length-k,"--offset":`${lr?xr:$o.current}px`,"--initial-height":dt?"auto":`${rr}px`,...ee,...x.style},onDragEnd:()=>{Qt(!1),le(null),ze.current=null},onPointerDown:(ar)=>{if(ar.button===2)return;if(Nt||!cn)return;if(Bo.current=new Date,bo($o.current),ar.target.setPointerCapture(ar.pointerId),ar.target.tagName==="BUTTON")return;Qt(!0),ze.current={x:ar.clientX,y:ar.clientY}},onPointerUp:()=>{var ar,ea,ua;if(Jt||!cn)return;ze.current=null;let Zi=Number(((ar=_o.current)==null?void 0:ar.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),bs=Number(((ea=_o.current)==null?void 0:ea.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ia=new Date().getTime()-((ua=Bo.current)==null?void 0:ua.getTime()),Vs=Wt==="x"?Zi:bs,_s=Math.abs(Vs)/Ia;if((Wt==="x"?Yt.includes(Zi>0?"right":"left"):Yt.includes(bs>0?"bottom":"top"))&&(Math.abs(Vs)>=xvt||_s>0.11)){if(bo($o.current),x.onDismiss==null||x.onDismiss.call(x,x),Wt==="x")Gt(Zi>0?"right":"left");else Gt(bs>0?"down":"up");_t(),vr(!0);return}else{var mZ,yF;(mZ=_o.current)==null||mZ.style.setProperty("--swipe-amount-x","0px"),(yF=_o.current)==null||yF.style.setProperty("--swipe-amount-y","0px")}Br(!1),Qt(!1),le(null)},onPointerMove:(ar)=>{var ea,ua,Zi;if(!ze.current||!cn)return;if(((ea=window.getSelection())==null?void 0:ea.toString().length)>0)return;let Ia=ar.clientY-ze.current.y,Vs=ar.clientX-ze.current.x;if(!Wt&&(Math.abs(Vs)>1||Math.abs(Ia)>1))le(Math.abs(Vs)>Math.abs(Ia)?"x":"y");let _s={x:0,y:0},xF=(mZ)=>1/(1.5+Math.abs(mZ)/20);if(Wt==="y"){if(Yt.includes("top")||Yt.includes("bottom"))if(Yt.includes("top")&&Ia<0||Yt.includes("bottom")&&Ia>0)_s.y=Ia;else{let mZ=Ia*xF(Ia);_s.y=Math.abs(mZ)<Math.abs(Ia)?mZ:Ia}}else if(Wt==="x"){if(Yt.includes("left")||Yt.includes("right"))if(Yt.includes("left")&&Vs<0||Yt.includes("right")&&Vs>0)_s.x=Vs;else{let mZ=Vs*xF(Vs);_s.x=Math.abs(mZ)<Math.abs(Vs)?mZ:Vs}}if(Math.abs(_s.x)>0||Math.abs(_s.y)>0)Br(!0);(ua=_o.current)==null||ua.style.setProperty("--swipe-amount-x",`${_s.x}px`),(Zi=_o.current)==null||Zi.style.setProperty("--swipe-amount-y",`${_s.y}px`)}},wr&&!x.jsx&&Xo!=="loading"?j("button",{"aria-label":Bt,"data-disabled":Nt,"data-close-button":!0,onClick:Nt||!cn?()=>{}:()=>{_t(),x.onDismiss==null||x.onDismiss.call(x,x)},className:BZ(lt==null?void 0:lt.closeButton,x==null?void 0:(i=x.classNames)==null?void 0:i.closeButton)},(aa=pt==null?void 0:pt.close)!=null?aa:ivt):null,(Xo||x.icon||x.promise)&&x.icon!==null&&((pt==null?void 0:pt[Xo])!==null||x.icon)?j("div",{"data-icon":"",className:BZ(lt==null?void 0:lt.icon,x==null?void 0:(f=x.classNames)==null?void 0:f.icon)},Xo==="loading"?x.icon||Vt():x.promise?Vt():null,Xo!=="loading"?Nr:null):null,j("div",{"data-content":"",className:BZ(lt==null?void 0:lt.content,x==null?void 0:(s=x.classNames)==null?void 0:s.content)},j("div",{"data-title":"",className:BZ(lt==null?void 0:lt.title,x==null?void 0:(l=x.classNames)==null?void 0:l.title)},x.jsx?x.jsx:typeof x.title==="function"?x.title():x.title),x.description?j("div",{"data-description":"",className:BZ(Qe,$e,lt==null?void 0:lt.description,x==null?void 0:(c=x.classNames)==null?void 0:c.description)},typeof x.description==="function"?x.description():x.description):null),Hs(x.cancel)?x.cancel:x.cancel&&y5(x.cancel)?j("button",{"data-button":!0,"data-cancel":!0,style:x.cancelButtonStyle||ae,onClick:(ar)=>{if(!y5(x.cancel))return;if(!cn)return;x.cancel.onClick==null||x.cancel.onClick.call(x.cancel,ar),_t()},className:BZ(lt==null?void 0:lt.cancelButton,x==null?void 0:(m=x.classNames)==null?void 0:m.cancelButton)},x.cancel.label):null,Hs(x.action)?x.action:x.action&&y5(x.action)?j("button",{"data-button":!0,"data-action":!0,style:x.actionButtonStyle||ne,onClick:(ar)=>{if(!y5(x.action))return;if(x.action.onClick==null||x.action.onClick.call(x.action,ar),ar.defaultPrevented)return;_t()},className:BZ(lt==null?void 0:lt.actionButton,x==null?void 0:(g=x.classNames)==null?void 0:g.actionButton)},x.action.label):null)};function zce(){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 wvt(e,r){let a={};return[e,r].forEach((i,f)=>{let s=f===1,l=s?"--mobile-offset":"--offset",c=s?gvt:hvt;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 Lce=D(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:x,theme:b="light",richColors:y,duration:_,style:z,visibleToasts:F=mvt,toastOptions:k,dir:I=zce(),gap:Y=vvt,icons:W,customAriaLabel:X,containerAriaLabel:J="Notifications"}=r,[ee,ae]=u([]),ne=O(()=>{if(i)return ee.filter((Zr)=>Zr.toasterId===i);return ee.filter((Zr)=>!Zr.toasterId)},[ee,i]),xe=O(()=>Array.from(new Set([s].concat(ne.filter((Zr)=>Zr.position).map((Zr)=>Zr.position)))),[ne,s]),[Qe,Fe]=u([]),[ye,Ve]=u(!1),[dt,lt]=u(!1),[pt,Bt]=u(b!=="system"?b:typeof window<"u"?window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":"light"),Wt=v(null),le=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),mt=v(null),Gt=v(!1),ke=N((Zr)=>{ae((lr)=>{var tr;if(!((tr=lr.find((Ur)=>Ur.id===Zr.id))==null?void 0:tr.delete))El.dismiss(Zr.id);return lr.filter(({id:Ur})=>Ur!==Zr.id)})},[]);return h(()=>El.subscribe((Zr)=>{if(Zr.dismiss){requestAnimationFrame(()=>{ae((lr)=>lr.map((tr)=>tr.id===Zr.id?{...tr,delete:!0}:tr))});return}setTimeout(()=>{Mn(()=>{ae((lr)=>{let tr=lr.findIndex((Ur)=>Ur.id===Zr.id);if(tr!==-1)return[...lr.slice(0,tr),{...lr[tr],...Zr},...lr.slice(tr+1)];return[Zr,...lr]})})})}),[]),h(()=>{if(b!=="system"){Bt(b);return}if(b==="system")if(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches)Bt("dark");else Bt("light");if(typeof window>"u")return;let Zr=window.matchMedia("(prefers-color-scheme: dark)");try{Zr.addEventListener("change",({matches:lr})=>{if(lr)Bt("dark");else Bt("light")})}catch(lr){Zr.addListener(({matches:tr})=>{try{if(tr)Bt("dark");else Bt("light")}catch(Ur){console.error(Ur)}})}},[b]),h(()=>{if(ee.length<=1)Ve(!1)},[ee]),h(()=>{let Zr=(lr)=>{var tr;if(l.length>0&&l.every((Jt)=>lr[Jt]||lr.code===Jt)){var Qt;Ve(!0),(Qt=Wt.current)==null||Qt.focus()}if(lr.code==="Escape"&&(document.activeElement===Wt.current||((tr=Wt.current)==null?void 0:tr.contains(document.activeElement))))Ve(!1)};return document.addEventListener("keydown",Zr),()=>document.removeEventListener("keydown",Zr)},[l]),h(()=>{if(Wt.current)return()=>{if(mt.current)mt.current.focus({preventScroll:!0}),mt.current=null,Gt.current=!1}},[Wt.current]),j("section",{ref:a,"aria-label":X!=null?X:`${J} ${le}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0,"data-react-aria-top-layer":!0},xe.map((Zr,lr)=>{var tr;let[Ur,Qt]=Zr.split("-");if(!ne.length)return null;return j("ol",{key:Zr,dir:I==="auto"?zce():I,tabIndex:-1,ref:Wt,className:g,"data-sonner-toaster":!0,"data-sonner-theme":pt,"data-y-position":Ur,"data-x-position":Qt,style:{"--front-toast-height":`${((tr=Qe[0])==null?void 0:tr.height)||0}px`,"--width":`${Mvt}px`,"--gap":`${Y}px`,...z,...wvt(M,x)},onBlur:(Jt)=>{if(Gt.current&&!Jt.currentTarget.contains(Jt.relatedTarget)){if(Gt.current=!1,mt.current)mt.current.focus({preventScroll:!0}),mt.current=null}},onFocus:(Jt)=>{if(Jt.target instanceof HTMLElement&&Jt.target.dataset.dismissible==="false")return;if(!Gt.current)Gt.current=!0,mt.current=Jt.relatedTarget},onMouseEnter:()=>Ve(!0),onMouseMove:()=>Ve(!0),onMouseLeave:()=>{if(!dt)Ve(!1)},onDragEnd:()=>Ve(!1),onPointerDown:(Jt)=>{if(Jt.target instanceof HTMLElement&&Jt.target.dataset.dismissible==="false")return;lt(!0)},onPointerUp:()=>lt(!1)},ne.filter((Jt)=>!Jt.position&&lr===0||Jt.position===Zr).map((Jt,vr)=>{var Er,Br;return j(_vt,{key:Jt.id,icons:W,index:vr,toast:Jt,defaultRichColors:y,duration:(Er=k==null?void 0:k.duration)!=null?Er:_,className:k==null?void 0:k.className,descriptionClassName:k==null?void 0:k.descriptionClassName,invert:f,visibleToasts:F,closeButton:(Br=k==null?void 0:k.closeButton)!=null?Br:m,interacting:dt,position:Zr,style:k==null?void 0:k.style,unstyled:k==null?void 0:k.unstyled,classNames:k==null?void 0:k.classNames,cancelButtonStyle:k==null?void 0:k.cancelButtonStyle,actionButtonStyle:k==null?void 0:k.actionButtonStyle,closeButtonAriaLabel:k==null?void 0:k.closeButtonAriaLabel,removeToast:ke,toasts:ne.filter((xr)=>xr.position==Jt.position),heights:Qe.filter((xr)=>xr.position==Jt.position),setHeights:Fe,expandByDefault:c,gap:Y,expanded:ye,swipeDirections:r.swipeDirections})}))}))});function fr({teamId:e,projectId:r,projectName:a,rootFolderId:i,dragState:f,onSelect:s,selectedFolderId:l,hideCollections:c,hideShares:m,hideRecentlyDeleted:g,hideRecents:M,ancestorFolders:x}){let b=Me(),y=Q(),{canEdit:_}=Rt(r),z=Li({from:"/projects/$projectId/recently-deleted",shouldThrow:!1}),F=Li({from:"/projects/$projectId/recents",shouldThrow:!1}),[k,I]=u(!0),[Y,W]=u(!0),[X,J]=u(!0),{data:ee,fetchNextPage:ae,hasNextPage:ne,isFetchingNextPage:xe}=ct({queryKey:["shares",r],queryFn:async({pageParam:Se})=>{let Pe=await A.api.projects[":projectId"].shares.$get({param:{projectId:r},query:{first:"20",after:Se}});if(!Pe.ok)throw Error(B6e());return await Pe.json()},initialPageParam:"",getNextPageParam:(Se)=>Se.pageInfo?.cursor||void 0,enabled:!!r}),{data:Qe,fetchNextPage:Fe,hasNextPage:ye,isFetchingNextPage:Ve}=ct({queryKey:["collections",r],queryFn:async({pageParam:Se})=>{let Pe=await A.api.projects[":projectId"].collections.$get({param:{projectId:r},query:{first:"20",after:Se}});if(!Pe.ok)throw Error(C6e());return await Pe.json()},initialPageParam:"",getNextPageParam:(Se)=>Se.pageInfo?.cursor||void 0,enabled:!!r}),{ref:dt,inView:lt}=Tt(),{ref:pt,inView:Bt}=Tt();h(()=>{if(lt&&ye&&!Ve)Fe()},[lt,ye,Ve,Fe]),h(()=>{if(Bt&&ne&&!xe)ae()},[Bt,ne,xe,ae]);let Wt=O(()=>Qe?.pages.flatMap((Se)=>Se.data)||[],[Qe]),le=O(()=>ee?.pages.flatMap((Se)=>Se.data)||[],[ee]),{mutate:mt}=U({mutationFn:async()=>{let Se=await A.api.projects[":projectId"].collections.$post({param:{projectId:r},json:{name:wg(),filter:{sourceFolderId:i,searchFilter:{conditions:[],recursively:!0}}}});if(!Se.ok)throw Error(l6e());return await Se.json()},onSuccess:(Se)=>{y.invalidateQueries({queryKey:["collections",r]}),R.success(qje()),b({to:"/projects/$projectId/collections/$collectionId",params:{projectId:r,collectionId:Se.id}})},onError:(Se)=>{R.error(`Error: ${Se.message}`)}}),{mutate:Gt}=U({mutationFn:async()=>{let Se=await A.api.projects[":projectId"].shares.$post({param:{projectId:r},json:{name:new Date().toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}});if(!Se.ok)throw Error(h6e());return await Se.json()},onSuccess:(Se)=>{y.invalidateQueries({queryKey:["shares",r]}),R.success(qst()),b({to:"/projects/$projectId/shares/$shareId",params:{projectId:r,shareId:Se.id}})},onError:(Se)=>{R.error(`Error: ${Se.message}`)}}),ke=Vl({from:"/projects/$projectId/collections/$collectionId",shouldThrow:!1}),Zr=Vl({from:"/projects/$projectId/shares/$shareId",shouldThrow:!1}),lr=Vl({from:"/projects/$projectId/folders/$folderId",shouldThrow:!1}),[tr,Ur]=u(null),[Qt,Jt]=u("collection"),[vr,Er]=u(""),[Br,xr]=u(!1),[bo,rr]=u(null),[Qr,go]=u("collection"),[Bo,_o]=u(!1),{mutate:ni}=U({mutationFn:async({id:Se,name:Pe})=>{let Zt=await A.api.folders[":folderId"].$put({param:{folderId:Se},json:{name:Pe}});if(!Zt.ok)throw Error($6e());return await Zt.json()},onSuccess:()=>{y.invalidateQueries({queryKey:["search",e]}),y.invalidateQueries({queryKey:["folders"]}),R.success(LUe()),xr(!1)},onError:(Se)=>{R.error(`Error: ${Se.message}`)}}),{mutate:bn}=U({mutationFn:async(Se)=>{if(!(await A.api.folders.$delete({json:{ids:[Se]}})).ok)throw Error(w6e());return Se},onSuccess:(Se)=>{if(y.invalidateQueries({queryKey:["search",e]}),y.invalidateQueries({queryKey:["folders"]}),R.success(xUe()),_o(!1),lr?.folderId===Se)b({to:"/projects/$projectId",params:{projectId:r}})},onError:(Se)=>{R.error(`Error: ${Se.message}`)}}),[Xo,Yn]=u(!1),[cn,is]=u(!1),[$e,jt]=u([]),wr=async(Se)=>{Yn(!0),is(!0),jt([]);try{let Pe=await A.api.files["download-links"].$post({json:{ids:[Se]}});if(!Pe.ok)throw Error(vfe());let Zt=await Pe.json();jt(Zt.files)}catch(Pe){R.error(vfe()),Yn(!1),console.error(Pe)}finally{is(!1)}},Xr=()=>{let Se=[...$e];if(Yn(!1),Se.length===0)return;R.info(Mct({count:Se.length}),{duration:5000});let Pe=(Ct)=>new Promise((Yt)=>setTimeout(Yt,Ct));(async()=>{for(let Yt=0;Yt<Se.length;Yt+=5){let sr=Se.slice(Yt,Yt+5);for(let Nt of sr){let _t=document.createElement("a");_t.href=Nt.url,_t.download=Nt.name,_t.target="_blank",document.body.appendChild(_t),_t.click(),_t.remove()}await Pe(1000)}})().catch((Ct)=>{console.error("Background downloads failed:",Ct),R.error(Rlt())})},{mutate:oo}=U({mutationFn:async({id:Se,name:Pe})=>{let Zt=await A.api.collections[":collectionId"].$patch({param:{collectionId:Se},json:{name:Pe}});if(!Zt.ok)throw Error(X6e());return await Zt.json()},onSuccess:()=>{y.invalidateQueries({queryKey:["collections",r]}),R.success(Jje()),xr(!1)},onError:(Se)=>{R.error(`Error: ${Se.message}`)}}),{mutate:$o}=U({mutationFn:async(Se)=>{let Pe=await A.api.collections[":collectionId"].$delete({param:{collectionId:Se}});if(!Pe.ok)throw Error(v6e());return await Pe.json()},onSuccess:(Se,Pe)=>{if(y.invalidateQueries({queryKey:["collections",r]}),R.success(Wje()),_o(!1),ke?.collectionId===Pe)b({to:"/projects/$projectId",params:{projectId:r}})},onError:(Se)=>{R.error(`Error: ${Se.message}`)}}),{mutate:Pa}=U({mutationFn:async({id:Se,name:Pe})=>{let Zt=await A.api.shares[":shareId"].$put({param:{shareId:Se},json:{name:Pe}});if(!Zt.ok)throw Error(rYe());return await Zt.json()},onSuccess:()=>{y.invalidateQueries({queryKey:["shares",r]}),R.success(Xst()),xr(!1)},onError:(Se)=>{R.error(`Error: ${Se.message}`)}}),{mutate:ze}=U({mutationFn:async(Se)=>{if(!(await A.api.shares[":shareId"].$delete({param:{shareId:Se}})).ok)throw Error(L6e());return Se},onSuccess:(Se)=>{if(y.invalidateQueries({queryKey:["shares",r]}),R.success(Wst()),_o(!1),Zr?.shareId===Se)b({to:"/projects/$projectId",params:{projectId:r}})},onError:(Se)=>{R.error(`Error: ${Se.message}`)}});return o("div",{className:"flex flex-col h-full overflow-hidden p-3 gap-4 bg-background",children:[o("div",{className:E("flex flex-col overflow-hidden transition-all duration-300 ease-in-out border-b border-border pb-4",k?"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:()=>I(!k),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:yfe()}),k?t(Xz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(Qz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]})}),t(se,{className:E("flex-1 min-h-0 transition-all duration-300 ease-in-out [&>div>div]:block!",k?"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:E("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",F&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium"),onClick:()=>b({to:"/projects/$projectId/recents",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(ha,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:Hh()})]}),t(kce,{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:(Se,Pe)=>{Ur(Se),Jt("folder"),Er(Pe),xr(!0)},onDeleteTrigger:(Se)=>{rr(Se),go("folder"),_o(!0)},onDownloadTrigger:(Se)=>{wr(Se)},ancestorFolders:x},i),_&&!g&&o("div",{className:E("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",z&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium"),onClick:()=>b({to:"/projects/$projectId/recently-deleted",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(ve,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:qh()})]})]})})]}),!c&&o("div",{className:E("flex flex-col overflow-hidden transition-all duration-300 ease-in-out border-b border-border pb-4",Y?"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:()=>W(!Y),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:oNe()}),Y?t(Xz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(Qz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]}),_&&t("button",{"data-testid":"create-collection",onClick:()=>mt(),className:"text-muted-foreground hover:text-foreground flex-none",children:t(de,{className:"h-3.5 w-3.5"})})]}),t(se,{className:E("flex-1 min-h-0 transition-all duration-300 ease-in-out [&>div>div]:block!",Y?"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:()=>b({to:"/projects/$projectId/collections",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(Gn,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:bDe({count:Qe?.pages[0]?.pageInfo?.total||0})})]}),Wt.map((Se)=>{let Pe=ke?.collectionId===Se.id;return o("div",{className:E("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",Pe&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium"),onClick:()=>b({to:"/projects/$projectId/collections/$collectionId",params:{projectId:r,collectionId:Se.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(ks,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"truncate text-sidebar-foreground flex-1",children:Se.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(S,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(or,{className:"h-3.5 w-3.5"})})}),o(Ae,{align:"end",className:"w-32",children:[t(V,{onClick:()=>{Ur(Se.id),Jt("collection"),Er(Se.name),xr(!0)},children:xo()}),t(V,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{rr(Se.id),go("collection"),_o(!0)},children:at()})]})]})})]},Se.id)}),t("div",{ref:dt,className:"h-1"}),Ve&&t("div",{className:"flex justify-center p-2",children:t(Z,{className:"h-4 w-4 animate-spin text-muted-foreground"})})]})})]}),!m&&o("div",{className:E("flex flex-col overflow-hidden transition-all duration-300 ease-in-out",X?"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:()=>J(!X),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:tlt()}),X?t(Xz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(Qz,{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:()=>Gt(),className:"text-muted-foreground hover:text-foreground",children:t(de,{className:"h-3.5 w-3.5"})})})]}),t(se,{className:E("flex-1 min-h-0 transition-all duration-300 ease-in-out [&>div>div]:block!",X?"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:()=>b({to:"/projects/$projectId/shares",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(Gn,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:jDe({count:ee?.pages[0]?.pageInfo?.total||0})})]}),le.map((Se)=>t(zvt,{link:Se,projectId:r,dragState:f,canEdit:_,onRenameTrigger:(Pe,Zt)=>{Ur(Pe),Jt("share"),Er(Zt),xr(!0)},onDeleteTrigger:(Pe)=>{rr(Pe),go("share"),_o(!0)}},Se.id)),t("div",{ref:pt,className:"h-1"}),xe&&t("div",{className:"flex justify-center p-2",children:t(Z,{className:"h-4 w-4 animate-spin text-muted-foreground"})})]})})]}),t(fe,{open:Br,onOpenChange:xr,children:o(ce,{onClick:(Se)=>Se.stopPropagation(),children:[t(pe,{children:t(ue,{children:Qt==="collection"?pnt():Qt==="share"?xnt():gnt()})}),t("div",{className:"py-4",children:t(q,{value:vr,onChange:(Se)=>Er(Se.target.value),placeholder:zu(),onKeyDown:(Se)=>{if(Se.key==="Enter"&&vr.trim()){if(Qt==="collection")oo({id:tr,name:vr});else if(Qt==="share")Pa({id:tr,name:vr});else if(Qt==="folder")ni({id:tr,name:vr})}}})}),o(qe,{children:[t(S,{variant:"ghost",onClick:()=>xr(!1),children:Re()}),t(S,{disabled:!vr.trim(),onClick:()=>{if(Qt==="collection")oo({id:tr,name:vr});else if(Qt==="share")Pa({id:tr,name:vr});else if(Qt==="folder")ni({id:tr,name:vr})},children:xo()})]})]})}),t(We,{open:Bo,onOpenChange:_o,children:o(Ye,{onClick:(Se)=>Se.stopPropagation(),children:[o(Je,{children:[t(et,{children:Qr==="collection"?nFe():Qr==="share"?qFe():gFe()}),t(tt,{children:dFe({type:Qr==="collection"?Bje():Qr==="share"?Bst():Hm().toLowerCase()})})]}),o(Xe,{children:[t(nt,{children:Re()}),t(rt,{className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",onClick:()=>{if(Qr==="collection")$o(bo);else if(Qr==="share")ze(bo);else if(Qr==="folder")bn(bo)},children:at()})]})]})}),t(fe,{open:Xo,onOpenChange:Yn,children:o(ce,{className:"sm:max-w-md",children:[o(pe,{children:[t(ue,{children:cn?Ch():vm()}),t(It,{children:cn?Qh():Gm()})]}),cn?o("div",{className:"space-y-4 py-6 flex flex-col items-center justify-center",children:[t(Z,{className:"h-8 w-8 animate-spin text-primary"}),t("span",{className:"text-sm font-medium text-muted-foreground mt-2",children:Eh()})]}):o("div",{className:"space-y-4 py-2",children:[t("div",{className:"text-sm text-muted-foreground",children:km({count:$e.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(Fr,{className:"h-5 w-5 shrink-0 mt-0.5"}),o("div",{children:[t("p",{className:"font-semibold",children:hh()}),t("p",{className:"mt-0.5 text-xs text-amber-700/90 dark:text-amber-400/90",children:Qm()})]})]})]}),t(qe,{children:!cn?o(B,{children:[t(S,{variant:"outline",onClick:()=>Yn(!1),children:Re()}),o(S,{onClick:Xr,className:"gap-2",disabled:$e.length===0,children:[t(vt,{className:"h-4 w-4"}),dg()]})]}):t(S,{disabled:!0,variant:"outline",children:Re()})})]})})]})}function zvt({link:e,projectId:r,dragState:a,canEdit:i,onRenameTrigger:f,onDeleteTrigger:s}){let l=Me(),m=Vl({from:"/projects/$projectId/shares/$shareId",shouldThrow:!1})?.shareId===e.id,{ref:g,isDropTarget:M}=Tr({id:`share:${e.id}`,data:{type:"share-link",id:e.id}}),x=!!a?.isActive;return o("div",{ref:g,className:E("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&&x&&"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(ci,{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:(b)=>b.stopPropagation(),children:o(he,{modal:!1,children:[t(ge,{asChild:!0,children:t(S,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(or,{className:"h-3.5 w-3.5"})})}),o(Ae,{align:"end",className:"w-32",children:[t(V,{onClick:()=>{f(e.id,e.name)},children:xo()}),t(V,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{s(e.id)},children:at()})]})]})})]})}function kce({teamId:e,projectId:r,folder:a,level:i,isRoot:f,dragState:s,onSelect:l,selectedFolderId:c,canEdit:m,onRenameTrigger:g,onDeleteTrigger:M,onDownloadTrigger:x,ancestorFolders:b}){let y=O(()=>b?.some((Gt)=>Gt.id===a.id)??!1,[b,a.id]),[_,z]=u(f||y);h(()=>{if(y)z(!0)},[y]);let F=Me(),k=Vl({from:"/projects/$projectId/folders/$folderId",select:(Gt)=>({folderId:Gt.folderId}),shouldThrow:!1}),I=Vl({from:"/projects/$projectId/",shouldThrow:!1}),Y=f?!!I:k?.folderId===a.id,{data:W,fetchNextPage:X,hasNextPage:J,isFetchingNextPage:ee,isLoading:ae}=ct({queryKey:["folders",a.id,"children",{assetType:"folder"}],queryFn:async({pageParam:Gt})=>{let ke=await A.api.folders[":folderId"].children.$get({param:{folderId:a.id},query:{assetType:"folder",after:Gt,first:"20"}});if(!ke.ok)throw Error(gYe());return await ke.json()},initialPageParam:"",getNextPageParam:(Gt)=>Gt.pageInfo?.cursor||void 0,enabled:_||!!f}),{ref:ne,inView:xe}=Tt();h(()=>{if(xe&&J&&!ee)X()},[xe,J,ee,X]);let Qe=W?.pages.flatMap((Gt)=>Gt.data??[])??[],Fe=(Gt)=>{Gt.stopPropagation(),z(!_)},ye=()=>{if(l){l(a);return}if(f)F({to:"/projects/$projectId",params:{projectId:r}});else F({to:"/projects/$projectId/folders/$folderId",params:{projectId:r,folderId:a.id}})},{ref:Ve,isDragging:dt}=Jo({id:`tree:${a.id}`,data:{type:"folder",item:a},disabled:!!f||!!l||!m}),{ref:lt,isDropTarget:pt}=Tr({id:`tree:${a.id}`,data:{type:"folder",item:a},disabled:s?.draggedIds.has(a.id)||!!l||!m}),Bt=(Gt)=>{Ve(Gt),lt(Gt)},Wt=O(()=>{if(l)return!1;if(!s?.isActive)return!1;if(s.draggedIds.has(a.id))return!1;return!0},[s,a.id,l]),le=pt&&Wt,mt=c===a.id;return o("div",{children:[o("div",{ref:Bt,className:E("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",(Y||mt)&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium",dt&&"opacity-50",le&&"bg-sidebar-accent ring-2 ring-primary ring-inset"),style:{...f?{}:{paddingLeft:`${i*12+8}px`}},onClick:ye,children:[!f&&t("button",{onClick:Fe,className:"flex h-4 w-4 items-center justify-center shrink-0",children:_?t(_e,{className:"h-3 w-3"}):t(ft,{className:"h-3 w-3"})}),f?t(BP,{className:"h-4 w-4 text-sidebar-primary shrink-0"}):t(Xt,{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:(Gt)=>Gt.stopPropagation(),children:o(he,{modal:!1,children:[t(ge,{asChild:!0,children:t(S,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(or,{className:"h-3.5 w-3.5"})})}),o(Ae,{align:"end",className:"w-32",children:[o(V,{onClick:()=>{g(a.id,a.name)},children:[t(zr,{className:"mr-2 h-4 w-4"}),xo()]}),o(V,{onClick:()=>{x(a.id)},children:[t(vt,{className:"mr-2 h-4 w-4"}),dr()]}),t(qt,{}),o(V,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{M(a.id)},children:[t(ve,{className:"mr-2 h-4 w-4"}),at()]})]})]})})]}),_&&o("div",{children:[ae&&t("div",{className:"flex items-center justify-center p-2",style:{paddingLeft:`${(i+1)*12+8}px`},children:t(Z,{className:"h-4 w-4 animate-spin"})}),Qe.map((Gt)=>t(kce,{teamId:e,projectId:r,folder:Gt,level:i+1,dragState:s,onSelect:l,selectedFolderId:c,canEdit:m,onRenameTrigger:g,onDeleteTrigger:M,onDownloadTrigger:x,ancestorFolders:b},Gt.id)),J&&t("div",{ref:ne,className:"flex items-center justify-center p-2",style:{paddingLeft:`${(i+1)*12+8}px`},children:ee&&t(Z,{className:"h-4 w-4 animate-spin"})})]})]})}var Svt=Math.pow(10,8)*24*60*60*1000,$un=-Svt,b5=604800000,Ice=86400000,p9=60000,l2=3600000;var m9=Symbol.for("constructDateFrom");function it(e,r){if(typeof e==="function")return e(r);if(e&&typeof e==="object"&&m9 in e)return e[m9](r);if(e instanceof Date)return new e.constructor(r);return new Date(r)}function we(e,r){return it(r||e,e)}function YI(e,r,a){let i=we(e,a?.in);if(isNaN(r))return it(a?.in||e,NaN);if(!r)return i;return i.setDate(i.getDate()+r),i}function gi(e,r,a){let i=we(e,a?.in);if(isNaN(r))return it(a?.in||e,NaN);if(!r)return i;let f=i.getDate(),s=it(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 Cce(e,r,a){return it(a?.in||e,+we(e)+r)}function Rce(e,r,a){return Cce(e,r*l2,a)}var Lvt={};function YZ(){return Lvt}function nZ(e,r){let a=YZ(),i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,f=we(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 zM(e,r){return nZ(e,{...r,weekStartsOn:1})}function _5(e,r){let a=we(e,r?.in),i=a.getFullYear(),f=it(a,0);f.setFullYear(i+1,0,4),f.setHours(0,0,0,0);let s=zM(f),l=it(a,0);l.setFullYear(i,0,4),l.setHours(0,0,0,0);let c=zM(l);if(a.getTime()>=s.getTime())return i+1;else if(a.getTime()>=c.getTime())return i;else return i-1}function h9(e){let r=we(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 Ol(e,...r){let a=it.bind(null,e||r.find((i)=>typeof i==="object"));return r.map(a)}function X8(e,r){let a=we(e,r?.in);return a.setHours(0,0,0,0),a}function Q8(e,r,a){let[i,f]=Ol(a?.in,e,r),s=X8(i),l=X8(f),c=+s-h9(s),m=+l-h9(l);return Math.round((c-m)/Ice)}function Pce(e,r){let a=_5(e,r),i=it(r?.in||e,0);return i.setFullYear(a,0,4),i.setHours(0,0,0,0),zM(i)}function c2(e,r,a){return YI(e,r*7,a)}function Tce(e,r,a){return gi(e,r*12,a)}function Ace(e,r){let a,i=r?.in;return e.forEach((f)=>{if(!i&&typeof f==="object")i=it.bind(null,f);let s=we(f,i);if(!a||a<s||isNaN(+s))a=s}),it(i,a||NaN)}function Dce(e,r){let a,i=r?.in;return e.forEach((f)=>{if(!i&&typeof f==="object")i=it.bind(null,f);let s=we(f,i);if(!a||a>s||isNaN(+s))a=s}),it(i,a||NaN)}function w5(e){return it(e,Date.now())}function UI(e,r,a){let[i,f]=Ol(a?.in,e,r);return+X8(i)===+X8(f)}function z5(e){return e instanceof Date||typeof e==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Bs(e){return!(!z5(e)&&typeof e!=="number"||isNaN(+we(e)))}function S5(e,r,a){let[i,f]=Ol(a?.in,e,r),s=i.getFullYear()-f.getFullYear(),l=i.getMonth()-f.getMonth();return s*12+l}function g9(e,r,a){let[i,f]=Ol(a?.in,e,r),s=Ece(i,f),l=Math.abs(Q8(i,f));i.setDate(i.getDate()-s*l);let c=Number(Ece(i,f)===-s),m=s*(l-c);return m===0?0:m}function Ece(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 hd(e,r){let a=we(e,r?.in),i=a.getMonth();return a.setFullYear(a.getFullYear(),i+1,0),a.setHours(23,59,59,999),a}function ul(e,r){let[a,i]=Ol(e,r.start,r.end);return{start:a,end:i}}function Oce(e,r){let{start:a,end:i}=ul(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(it(a,l)),l.setMonth(l.getMonth()+c);return f?m.reverse():m}function jce(e,r){let a=we(e,r?.in);return a.setDate(1),a.setHours(0,0,0,0),a}function Nce(e,r){let a=we(e,r?.in),i=a.getFullYear();return a.setFullYear(i+1,0,0),a.setHours(23,59,59,999),a}function L5(e,r){let a=we(e,r?.in);return a.setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a}function Fce(e,r){let{start:a,end:i}=ul(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(it(a,l)),l.setFullYear(l.getFullYear()+c);return f?m.reverse():m}function k5(e,r){let a=YZ(),i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,f=we(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 Bce(e,r){return k5(e,{...r,weekStartsOn:1})}var kvt={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"}},Yce=(e,r,a)=>{let i,f=kvt[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 I5(e){return(r={})=>{let a=r.width?String(r.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}var Ivt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Cvt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Rvt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Uce={date:I5({formats:Ivt,defaultWidth:"full"}),time:I5({formats:Cvt,defaultWidth:"full"}),dateTime:I5({formats:Rvt,defaultWidth:"full"})};var Pvt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},qce=(e,r,a,i)=>Pvt[e];function qI(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 Tvt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Avt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Dvt={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"]},Evt={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"]},Ovt={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"}},jvt={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"}},Nvt=(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"},Vce={ordinalNumber:Nvt,era:qI({values:Tvt,defaultWidth:"wide"}),quarter:qI({values:Avt,defaultWidth:"wide",argumentCallback:(e)=>e-1}),month:qI({values:Dvt,defaultWidth:"wide"}),day:qI({values:Evt,defaultWidth:"wide"}),dayPeriod:qI({values:Ovt,defaultWidth:"wide",formattingValues:jvt,defaultFormattingWidth:"wide"})};function VI(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)?Bvt(c,(x)=>x.test(l)):Fvt(c,(x)=>x.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 Fvt(e,r){for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&r(e[a]))return a;return}function Bvt(e,r){for(let a=0;a<e.length;a++)if(r(e[a]))return a;return}function Hce(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 Yvt=/^(\d+)(th|st|nd|rd)?/i,Uvt=/\d+/i,qvt={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},Vvt={any:[/^b/i,/^(a|c)/i]},Hvt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Wvt={any:[/1/i,/2/i,/3/i,/4/i]},Gvt={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},Kvt={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]},Xvt={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},Qvt={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]},Jvt={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},$vt={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}},Wce={ordinalNumber:Hce({matchPattern:Yvt,parsePattern:Uvt,valueCallback:(e)=>parseInt(e,10)}),era:VI({matchPatterns:qvt,defaultMatchWidth:"wide",parsePatterns:Vvt,defaultParseWidth:"any"}),quarter:VI({matchPatterns:Hvt,defaultMatchWidth:"wide",parsePatterns:Wvt,defaultParseWidth:"any",valueCallback:(e)=>e+1}),month:VI({matchPatterns:Gvt,defaultMatchWidth:"wide",parsePatterns:Kvt,defaultParseWidth:"any"}),day:VI({matchPatterns:Xvt,defaultMatchWidth:"wide",parsePatterns:Qvt,defaultParseWidth:"any"}),dayPeriod:VI({matchPatterns:Jvt,defaultMatchWidth:"any",parsePatterns:$vt,defaultParseWidth:"any"})};var SM={code:"en-US",formatDistance:Yce,formatLong:Uce,formatRelative:qce,localize:Vce,match:Wce,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Gce(e,r){let a=we(e,r?.in);return Q8(a,L5(a))+1}function HI(e,r){let a=we(e,r?.in),i=+zM(a)-+Pce(a);return Math.round(i/b5)+1}function C5(e,r){let a=we(e,r?.in),i=a.getFullYear(),f=YZ(),s=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??f.firstWeekContainsDate??f.locale?.options?.firstWeekContainsDate??1,l=it(r?.in||e,0);l.setFullYear(i+1,0,s),l.setHours(0,0,0,0);let c=nZ(l,r),m=it(r?.in||e,0);m.setFullYear(i,0,s),m.setHours(0,0,0,0);let g=nZ(m,r);if(+a>=+c)return i+1;else if(+a>=+g)return i;else return i-1}function Kce(e,r){let a=YZ(),i=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,f=C5(e,r),s=it(r?.in||e,0);return s.setFullYear(f,0,i),s.setHours(0,0,0,0),nZ(s,r)}function WI(e,r){let a=we(e,r?.in),i=+nZ(a,r)-+Kce(a,r);return Math.round(i/b5)+1}function Go(e,r){let a=e<0?"-":"",i=Math.abs(e).toString().padStart(r,"0");return a+i}var LM={y(e,r){let a=e.getFullYear(),i=a>0?a:1-a;return Go(r==="yy"?i%100:i,r.length)},M(e,r){let a=e.getMonth();return r==="M"?String(a+1):Go(a+1,2)},d(e,r){return Go(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 Go(e.getHours()%12||12,r.length)},H(e,r){return Go(e.getHours(),r.length)},m(e,r){return Go(e.getMinutes(),r.length)},s(e,r){return Go(e.getSeconds(),r.length)},S(e,r){let a=r.length,i=e.getMilliseconds(),f=Math.trunc(i*Math.pow(10,a-3));return Go(f,r.length)}};var GI={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},M9={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 LM.y(e,r)},Y:function(e,r,a,i){let f=C5(e,i),s=f>0?f:1-f;if(r==="YY"){let l=s%100;return Go(l,2)}if(r==="Yo")return a.ordinalNumber(s,{unit:"year"});return Go(s,r.length)},R:function(e,r){let a=_5(e);return Go(a,r.length)},u:function(e,r){let a=e.getFullYear();return Go(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 Go(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 Go(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 LM.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 Go(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=WI(e,i);if(r==="wo")return a.ordinalNumber(f,{unit:"week"});return Go(f,r.length)},I:function(e,r,a){let i=HI(e);if(r==="Io")return a.ordinalNumber(i,{unit:"week"});return Go(i,r.length)},d:function(e,r,a){if(r==="do")return a.ordinalNumber(e.getDate(),{unit:"date"});return LM.d(e,r)},D:function(e,r,a){let i=Gce(e);if(r==="Do")return a.ordinalNumber(i,{unit:"dayOfYear"});return Go(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 Go(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 Go(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 Go(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=GI.noon;else if(i===0)f=GI.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=GI.evening;else if(i>=12)f=GI.afternoon;else if(i>=4)f=GI.morning;else f=GI.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 LM.h(e,r)},H:function(e,r,a){if(r==="Ho")return a.ordinalNumber(e.getHours(),{unit:"hour"});return LM.H(e,r)},K:function(e,r,a){let i=e.getHours()%12;if(r==="Ko")return a.ordinalNumber(i,{unit:"hour"});return Go(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 Go(i,r.length)},m:function(e,r,a){if(r==="mo")return a.ordinalNumber(e.getMinutes(),{unit:"minute"});return LM.m(e,r)},s:function(e,r,a){if(r==="so")return a.ordinalNumber(e.getSeconds(),{unit:"second"});return LM.s(e,r)},S:function(e,r){return LM.S(e,r)},X:function(e,r,a){let i=e.getTimezoneOffset();if(i===0)return"Z";switch(r){case"X":return Qce(i);case"XXXX":case"XX":return BL(i);case"XXXXX":case"XXX":default:return BL(i,":")}},x:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"x":return Qce(i);case"xxxx":case"xx":return BL(i);case"xxxxx":case"xxx":default:return BL(i,":")}},O:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+Xce(i,":");case"OOOO":default:return"GMT"+BL(i,":")}},z:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+Xce(i,":");case"zzzz":default:return"GMT"+BL(i,":")}},t:function(e,r,a){let i=Math.trunc(+e/1000);return Go(i,r.length)},T:function(e,r,a){return Go(+e,r.length)}};function Xce(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+Go(s,2)}function Qce(e,r){if(e%60===0)return(e>0?"-":"+")+Go(Math.abs(e)/60,2);return BL(e,r)}function BL(e,r=""){let a=e>0?"-":"+",i=Math.abs(e),f=Go(Math.trunc(i/60),2),s=Go(i%60,2);return a+f+r+s}var Jce=(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"})}},$ce=(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"})}},e8t=(e,r)=>{let a=e.match(/(P+)(p+)?/)||[],i=a[1],f=a[2];if(!f)return Jce(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}}",Jce(i,r)).replace("{{time}}",$ce(f,r))},eue={p:$ce,P:e8t};var t8t=/^D+$/,r8t=/^Y+$/,o8t=["D","DD","YY","YYYY"];function tue(e){return t8t.test(e)}function rue(e){return r8t.test(e)}function oue(e,r,a){let i=a8t(e,r,a);if(console.warn(i),o8t.includes(e))throw RangeError(i)}function a8t(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 n8t=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,i8t=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,f8t=/^'([^]*?)'?$/,s8t=/''/g,l8t=/[a-zA-Z]/;function ir(e,r,a){let i=YZ(),f=a?.locale??i.locale??SM,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=we(e,a?.in);if(!Bs(c))throw RangeError("Invalid time value");let m=r.match(i8t).map((M)=>{let x=M[0];if(x==="p"||x==="P"){let b=eue[x];return b(M,f.formatLong)}return M}).join("").match(n8t).map((M)=>{if(M==="''")return{isToken:!1,value:"'"};let x=M[0];if(x==="'")return{isToken:!1,value:c8t(M)};if(M9[x])return{isToken:!0,value:M};if(x.match(l8t))throw RangeError("Format string contains an unescaped latin alphabet character `"+x+"`");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 x=M.value;if(!a?.useAdditionalWeekYearTokens&&rue(x)||!a?.useAdditionalDayOfYearTokens&&tue(x))oue(x,r,String(e));let b=M9[x[0]];return b(c,x,f.localize,g)}).join("")}function c8t(e){let r=e.match(f8t);if(!r)return e;return r[1].replace(s8t,"'")}function aue(e,r){let a=we(e,r?.in),i=a.getFullYear(),f=a.getMonth(),s=it(a,0);return s.setFullYear(i,f+1,0),s.setHours(0,0,0,0),s.getDate()}function Cc(e,r){return we(e,r?.in).getMonth()}function Ec(e,r){return we(e,r?.in).getFullYear()}function nue(e,r){return+we(e)>+we(r)}function iue(e,r){return+we(e)<+we(r)}function fue(e,r,a){let[i,f]=Ol(a?.in,e,r);return i.getFullYear()===f.getFullYear()&&i.getMonth()===f.getMonth()}function sue(e,r,a){let[i,f]=Ol(a?.in,e,r);return i.getFullYear()===f.getFullYear()}function u2(e,r){return UI(it(r?.in||e,e),w5(r?.in||e))}function lue(e,r,a){return YI(e,-r,a)}function d2(e,r){return UI(it(r?.in||e,e),lue(w5(r?.in||e),1))}function J8(e,r){let a=()=>it(r?.in,NaN),i=r?.additionalDigits??2,f=p8t(e),s;if(f.date){let g=m8t(f.date,i);s=h8t(g.restDateString,g.year)}if(!s||isNaN(+s))return a();let l=+s,c=0,m;if(f.time){if(c=g8t(f.time),isNaN(c))return a()}if(f.timezone){if(m=M8t(f.timezone),isNaN(m))return a()}else{let g=new Date(l+c),M=we(0,r?.in);return M.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),M.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),M}return we(l+c+m,r?.in)}var R5={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},u8t=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,d8t=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Z8t=/^([+-])(\d{2})(?::?(\d{2}))?$/;function p8t(e){let r={},a=e.split(R5.dateTimeDelimiter),i;if(a.length>2)return r;if(/:/.test(a[0]))i=a[0];else if(r.date=a[0],i=a[1],R5.timeZoneDelimiter.test(r.date))r.date=e.split(R5.timeZoneDelimiter)[0],i=e.substr(r.date.length,e.length);if(i){let f=R5.timezone.exec(i);if(f)r.time=i.replace(f[1],""),r.timezone=f[1];else r.time=i}return r}function m8t(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 h8t(e,r){if(r===null)return new Date(NaN);let a=e.match(u8t);if(!a)return new Date(NaN);let i=!!a[4],f=Z2(a[1]),s=Z2(a[2])-1,l=Z2(a[3]),c=Z2(a[4]),m=Z2(a[5])-1;if(i){if(!_8t(r,c,m))return new Date(NaN);return v8t(r,c,m)}else{let g=new Date(0);if(!y8t(r,s,l)||!b8t(r,f))return new Date(NaN);return g.setUTCFullYear(r,s,Math.max(f,l)),g}}function Z2(e){return e?parseInt(e):1}function g8t(e){let r=e.match(d8t);if(!r)return NaN;let a=v9(r[1]),i=v9(r[2]),f=v9(r[3]);if(!w8t(a,i,f))return NaN;return a*l2+i*p9+f*1000}function v9(e){return e&&parseFloat(e.replace(",","."))||0}function M8t(e){if(e==="Z")return 0;let r=e.match(Z8t);if(!r)return 0;let a=r[1]==="+"?-1:1,i=parseInt(r[2]),f=r[3]&&parseInt(r[3])||0;if(!z8t(i,f))return NaN;return a*(i*l2+f*p9)}function v8t(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 x8t=[31,null,31,30,31,30,31,31,30,31,30,31];function cue(e){return e%400===0||e%4===0&&e%100!==0}function y8t(e,r,a){return r>=0&&r<=11&&a>=1&&a<=(x8t[r]||(cue(e)?29:28))}function b8t(e,r){return r>=1&&r<=(cue(e)?366:365)}function _8t(e,r,a){return r>=1&&r<=53&&a>=0&&a<=6}function w8t(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 z8t(e,r){return r>=0&&r<=59}function uue(e,r,a){let i=we(e,a?.in),f=i.getFullYear(),s=i.getDate(),l=it(a?.in||e,0);l.setFullYear(f,r,15),l.setHours(0,0,0,0);let c=aue(l);return i.setMonth(r,Math.min(s,c)),i}function due(e,r,a){let i=we(e,a?.in);if(isNaN(+i))return it(a?.in||e,NaN);return i.setFullYear(r),i}var yn=(e)=>{let r=J8(e),a=new Date;if(isNaN(r.getTime()))return e;let i=ir(r,"HH:mm");if(u2(r))return qdt({time:i});if(d2(r))return Gmt({time:i});let f=g9(a,r),s=f>=0?f:0;return s===1?zfe({count:s}):wfe({count:s})},Eg=(e)=>{let r=J8(e),a=new Date;if(isNaN(r.getTime()))return e;if(u2(r))return Ife();if(d2(r))return Cfe();let i=g9(a,r),f=i>=0?i:0;return f===1?zfe({count:f}):wfe({count:f})},hp=(e,r=new Date)=>{let a=typeof e==="string"?J8(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"};C();var p2=10,x9=10,Zue=p2*x9,gd=({spriteUrl:e,thumbnailUrl:r,videoWidth:a,videoHeight:i,className:f=""})=>{let s=v(null),[l,c]=u({width:0,height:0}),[m,g]=u({width:0,height:0}),[M,x]=u(!1),[b,y]=u(!1),[_,z]=u(!1),[F,k]=u(0),[I,Y]=u(0);h(()=>{if(!s.current)return;let ne=new ResizeObserver((xe)=>{for(let Qe of xe)c({width:Qe.contentRect.width,height:Qe.contentRect.height})});return ne.observe(s.current),()=>ne.disconnect()},[]);let W=N(()=>{if(b||_)return;z(!0);let ne=new Image;ne.src=e,ne.onload=()=>{g({width:ne.naturalWidth,height:ne.naturalHeight}),y(!0),z(!1)},ne.onerror=()=>{console.error("Failed to load sprite image"),z(!1)}},[e,b,_]),X=()=>{x(!0),W()},J=()=>{x(!1)},ee=(ne)=>{if(!s.current)return;let xe=s.current.getBoundingClientRect(),Qe=ne.clientX-xe.left,Fe=Math.max(0,Math.min(Qe,xe.width));Y(Fe);let ye=Fe/xe.width,Ve=Math.min(Math.floor(ye*Zue),Zue-1);k(Ve)},ae=O(()=>{if(l.width===0||l.height===0)return{};let ne=a/i;if(m.width>0&&m.height>0){let mt=m.width/p2,Gt=m.height/x9;ne=mt/Gt}let xe=l.width/l.height,Qe,Fe;if(xe>ne)Fe=l.height,Qe=Fe*ne;else Qe=l.width,Fe=Qe/ne;let ye=Math.ceil(Qe),Ve=Math.ceil(Fe),dt=ye*p2,lt=Ve*x9,pt=F%p2,Bt=Math.floor(F/p2),Wt=-(pt*ye),le=-(Bt*Ve);return{backgroundImage:`url(${e})`,backgroundSize:`${dt}px ${lt}px`,backgroundPosition:`${Wt}px ${le}px`,backgroundRepeat:"no-repeat",width:`${ye}px`,height:`${Ve}px`,imageRendering:"auto"}},[l,a,i,F,e,m]);return o("div",{ref:s,className:`relative w-full h-full overflow-hidden cursor-crosshair group bg-black select-none ${f}`,onMouseEnter:X,onMouseLeave:J,onMouseMove:ee,children:[t("img",{src:r,alt:"Thumbnail",className:`absolute inset-0 w-full h-full object-contain transition-opacity duration-200 ${M&&b?"opacity-0":"opacity-100"}`,draggable:!1}),M&&!b&&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"})}),b&&t("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-75 ${M?"opacity-100":"opacity-0"}`,children:t("div",{style:ae})}),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(${I}px)`}})]})};C();var jl=(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(dn,{children:r[s[1]]},f);return i})})},pue=({notification:e})=>{let r=Me(),{creator:a,createdAt:i,isRead:f,type:s,asset:l,project:c,team:m,user:g,kanbanTask:M}=e,x=(()=>{let z=a?.name||cl(),F=l?.name||NZt(),k=M?.title||GZt(),I=c?.name||VZt(),Y=m?.name||QZt(),W=g?.name||cl(),X={creator:t("span",{className:"font-semibold",children:z}),asset:t("span",{className:"font-semibold",children:F}),task:t("span",{className:"font-semibold",children:k}),project:t("span",{className:"font-semibold",children:I}),team:t("span",{className:"font-semibold",children:Y}),user:t("span",{className:"font-semibold",children:W})};switch(s){case"comment_created":return jl(CQe({creator:"{creator}",asset:"{asset}"}),X);case"reply_created":return jl(dJe({creator:"{creator}",asset:"{asset}"}),X);case"mention":return jl(M?lJe({creator:"{creator}",task:"{task}"}):iJe({creator:"{creator}",asset:"{asset}"}),X);case"successful_file_uploaded":return jl(bJe({creator:"{creator}",asset:"{asset}",project:"{project}"}),X);case"metadata_field_updated_status":return jl(vJe({creator:"{creator}",asset:"{asset}"}),X);case"new_user_join_team":return jl(NQe({user:"{user}",team:"{team}"}),X);case"new_user_join_project":return jl(EQe({user:"{user}",project:"{project}"}),X);case"kanban_task_created":return jl(GQe({creator:"{creator}",task:"{task}"}),X);case"kanban_task_assigned":return jl(YQe({creator:"{creator}",task:"{task}"}),X);case"kanban_task_status_updated":return jl(eJe({creator:"{creator}",task:"{task}"}),X);case"kanban_task_updated":return jl(oJe({creator:"{creator}",task:"{task}"}),X);case"kanban_task_deleted":return jl(QQe({creator:"{creator}",task:"{task}"}),X);case"kanban_task_comment_created":return jl(VQe({creator:"{creator}",task:"{task}"}),X);default:return jl(TQe({creator:"{creator}"}),X)}})(),b=l?.proxyType==="video"&&l.preview&&l.thumbnailUrl&&l.originalWidth&&l.originalHeight,y=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:E("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:x}),t("div",{className:"text-[11px] text-muted-foreground mt-1",children:yn(i||"")})]}),y&&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:b?t(gd,{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 uo({className:e,orientation:r="horizontal",...a}){return t(nRe,{"data-slot":"tabs","data-orientation":r,orientation:r,className:E("group/tabs flex gap-2 data-[orientation=horizontal]:flex-col",e),...a})}var S8t=Qo("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 fo({className:e,variant:r="default",...a}){return t(iRe,{"data-slot":"tabs-list","data-variant":r,className:E(S8t({variant:r}),e),...a})}function Hr({className:e,...r}){return t(fRe,{"data-slot":"tabs-trigger",className:E("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 _n({className:e,...r}){return t(sRe,{"data-slot":"tabs-content",className:E("flex-1 outline-none",e),...r})}C();var mue=()=>{let{teamId:e}=st(),[r,a]=u("all"),i=Q(),{ref:f,inView:s}=Tt(),l=(k,I)=>["notifications",k,{unreadOnly:I}],{data:c,fetchNextPage:m,hasNextPage:g,isFetchingNextPage:M,isLoading:x,refetch:b}=ct({queryKey:l(e??null,r==="unread"),queryFn:async({pageParam:k})=>{let I=await A.api.teams[":teamId"].notifications.$get({param:{teamId:e},query:{unreadOnly:r==="unread"?"true":"false",...k?{after:k}:{},pageSize:"20"}});if(!I.ok)throw Error("failed to fetch notifications");return I.json()},initialPageParam:void 0,getNextPageParam:(k)=>k.pageInfo?.cursor||void 0,enabled:!!e});h(()=>{if(s&&g)m()},[s,g,m]);let y=O(()=>c?.pages.flatMap((k)=>k.data||[])||[],[c]);h(()=>{if(e)i.invalidateQueries({queryKey:["teams",e,"me"]})},[e,y.length,i]);let _=A.api.teams[":teamId"].notifications.read.$post,z=U({mutationFn:async({teamId:k,notificationId:I})=>{if(!(await _({param:{teamId:k},json:{notificationId:I}})).ok)throw Error("failed to mark read");return null}}),F=async()=>{if(y.length>0&&e){let k=y[0].id;if(k){i.setQueryData(["teams",e,"me"],(I)=>{if(!I)return I;return{...I,unreadNotificationCount:0}});try{await z.mutateAsync({teamId:e,notificationId:k})}catch(I){console.error("Failed to mark all as read:",I)}i.invalidateQueries({queryKey:["notifications",e]}),i.invalidateQueries({queryKey:["teams",e,"me"]}),b()}}};return o("div",{className:"flex flex-col h-full w-full bg-transparent",children:[t("div",{className:"flex-none pb-1",children:t(uo,{value:r,onValueChange:(k)=>a(k),className:"w-full",children:o("div",{className:"flex items-center justify-between mb-2",children:[o(fo,{className:"h-8",children:[t(Hr,{value:"all",className:"text-xs px-3 h-6",children:gDe()}),t(Hr,{value:"unread",className:"text-xs px-3 h-6",children:spt()})]}),t(S,{variant:"ghost",size:"sm",className:"h-8 px-2 text-muted-foreground hover:text-foreground",onClick:F,disabled:y.length===0||z.isPending,title:YVe(),children:t(NP,{className:"w-4 h-4"})})]})})}),o("div",{className:"flex-1 overflow-y-auto p-2 min-h-0",children:[x&&t("div",{className:"flex justify-center p-4",children:t(Z,{className:"w-6 h-6 animate-spin text-muted-foreground"})}),!x&&y.length===0&&t("div",{className:"flex flex-col items-center justify-center h-40 text-muted-foreground",children:t("p",{className:"text-sm",children:RXe()})}),t("div",{className:"space-y-1",children:y.map((k)=>t(pue,{notification:k},k.id))}),t("div",{ref:f,className:"h-4 w-full flex justify-center p-1",children:M&&t(Z,{className:"w-4 h-4 animate-spin text-muted-foreground"})})]})]})};var YL=null,Kr=Sr((e)=>({projectState:null,setProjectState:(r)=>{if(YL)clearTimeout(YL),YL=null;e({projectState:r})},clearProjectState:()=>{if(YL)clearTimeout(YL);YL=setTimeout(()=>{e({projectState:null}),YL=null},10)}}));var L8t=Qo("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?jre:"span";return t(f,{"data-slot":"badge","data-variant":r,className:E(L8t({variant:r}),e),...i})}var P5={viewBox:"0 -960 960 960",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},hue=(e)=>t("svg",{...P5,...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"})}),gue=(e)=>t("svg",{...P5,...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"})}),Mue=(e)=>t("svg",{...P5,...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"})}),vue=(e)=>t("svg",{...P5,...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"})}),xue=(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"})]}),yue=(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"})}),Wa=(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"})]}),kM=(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"})]}),bue=(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 _ue({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 wue=({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"})}),zue=(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"})});C();C();var{create:k8t,defineProperty:Aue,defineProperties:I8t,getOwnPropertyDescriptor:C8t,getOwnPropertyDescriptors:R8t,getOwnPropertySymbols:j5}=Object,Due=Object.prototype.hasOwnProperty,Eue=Object.prototype.propertyIsEnumerable,P8t=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),x2=(e)=>{throw TypeError(e)},w9=(e,r,a)=>(r in e)?Aue(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,y9=(e,r)=>{for(var a in r||(r={}))if(Due.call(r,a))w9(e,a,r[a]);if(j5){for(var a of j5(r))if(Eue.call(r,a))w9(e,a,r[a])}return e},b9=(e,r)=>I8t(e,R8t(r)),T8t=(e,r)=>{var a={};for(var i in e)if(Due.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&&Eue.call(e,i))a[i]=e[i]}return a},A8t=(e)=>{var r;return[,,,k8t((r=void 0)!=null?r:null)]},Oue=["class","method","getter","setter","accessor","field","value","get","set"],h2=(e)=>e!==void 0&&typeof e!=="function"?x2("Function expected"):e,D8t=(e,r,a,i,f)=>({kind:Oue[e],name:r,metadata:i,addInitializer:(s)=>a._?x2("Already initialized"):f.push(h2(s||null))}),E8t=(e,r)=>w9(r,P8t("metadata"),e[3]),T5=(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},jue=(e,r,a,i,f,s)=>{var l,c,m,g,M,x=r&7,b=!1,y=!1,_=e.length+1,z=Oue[x+5],F=e[_-1]=[],k=e[_]||(e[_]=[]),I=(f=f.prototype,C8t({get[a](){return g2(this,s)},set[a](W){return UL(this,s,W)}},a));for(var Y=i.length-1;Y>=0;Y--)if(g=D8t(x,a,m={},e[3],k),g.static=b,g.private=y,M=g.access={has:(W)=>(a in W)},M.get=(W)=>W[a],M.set=(W,X)=>W[a]=X,c=(0,i[Y])({get:I.get,set:I.set},g),m._=1,c===void 0)h2(c)&&(I[z]=c);else if(typeof c!=="object"||c===null)x2("Object expected");else h2(l=c.get)&&(I.get=l),h2(l=c.set)&&(I.set=l),h2(l=c.init)&&F.unshift(l);return I&&Aue(f,a,I),f},Nue=(e,r,a)=>r.has(e)||x2("Cannot "+a),g2=(e,r,a)=>(Nue(e,r,"read from private field"),r.get(e)),m2=(e,r,a)=>r.has(e)?x2("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),UL=(e,r,a,i)=>(Nue(e,r,"write to private field"),r.set(e,a),a);function $n(e){return e instanceof k9||e instanceof Yue}var A5=10,O8t=class extends ts{constructor(e){super(e);let r=Ri(()=>{let{dragOperation:i}=e;if(!PL(i.activatorEvent))return;if(!$n(i.source))return;if(i.status.initialized){let f=e.registry.plugins.get(jI);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(!PL(i.nativeEvent))return;if(!$n(s.source))return;if(!s.shape)return;let{actions:l,collisionObserver:c,registry:m}=f,{by:g}=i;if(!g)return;let M=j8t(g),{source:x,target:b}=s,{center:y}=s.shape.current,_=[],z=[];ra(()=>{for(let X of m.droppables){let{id:J}=X;if(!X.accepts(x)||J===(b==null?void 0:b.id)&&$n(X)||!X.element)continue;let ee=X.shape,ae=new lu(X.element,{getBoundingClientRect:(ne)=>H1(ne,void 0,0.2)});if(!ae.height||!ae.width)continue;if(M=="down"&&y.y+A5<ae.center.y||M=="up"&&y.y-A5>ae.center.y||M=="left"&&y.x-A5>ae.center.x||M=="right"&&y.x+A5<ae.center.x)_.push(X),X.shape=ae,z.push(()=>X.shape=ee)}}),i.preventDefault(),c.disable();let F=c.computeCollisions(_,yle);ra(()=>z.forEach((X)=>X()));let[k]=F;if(!k)return;let{id:I}=k,{index:Y,group:W}=x.sortable;l.setDropTarget(I).then(()=>{let{source:X,target:J,shape:ee}=s;if(!X||!$n(X)||!ee)return;let{index:ae,group:ne,target:xe}=X.sortable,Qe=Y!==ae||W!==ne,Fe=Qe?xe:J==null?void 0:J.element;if(!Fe)return;o5(Fe);let ye=new lu(Fe);if(!ye)return;let Ve=Al.delta(ye,Al.from(ee.current.boundingRectangle),X.alignment);if(l.move({by:Ve}),Qe)l.setDropTarget(X.id).then(()=>c.enable());else c.enable()})})});this.destroy=()=>{a(),r()}}};function j8t(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:N8t,defineProperties:F8t,getOwnPropertyDescriptors:B8t,getOwnPropertySymbols:Sue}=Object,Y8t=Object.prototype.hasOwnProperty,U8t=Object.prototype.propertyIsEnumerable,Lue=(e,r,a)=>(r in e)?N8t(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,KI=(e,r)=>{for(var a in r||(r={}))if(Y8t.call(r,a))Lue(e,a,r[a]);if(Sue){for(var a of Sue(r))if(U8t.call(r,a))Lue(e,a,r[a])}return e},XI=(e,r)=>F8t(e,B8t(r));function q8t(e,r,a){if(r===a)return e;let i=e.slice();return i.splice(a,0,i.splice(r,1)[0]),i}function D5(e,r){let a=String(r);return Object.prototype.hasOwnProperty.call(e,a)?a:void 0}function _9(e){return"initialIndex"in e&&typeof e.initialIndex==="number"&&"index"in e&&typeof e.index==="number"}function V8t(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=(Y,W)=>Y===W||Y!==null&&typeof Y==="object"&&("id"in Y)&&Y.id===W;if(Array.isArray(e)){let Y=e.findIndex((X)=>m(X,s.id)),W=e.findIndex((X)=>m(X,l.id));if(Y===-1||W===-1){if(_9(s)){let{initialIndex:X,index:J}=s;if(X===J||X<0||X>=e.length){if("preventDefault"in r)r.preventDefault();return e}return a(e,X,J)}return e}if(!c&&"index"in s&&typeof s.index==="number"){let X=s.index;if(X!==Y)return a(e,Y,X)}return a(e,Y,W)}let g=Object.entries(e),M=-1,x,b=-1,y;for(let[Y,W]of g){if(M===-1){if(M=W.findIndex((X)=>m(X,s.id)),M!==-1)x=Y}if(b===-1){if(b=W.findIndex((X)=>m(X,l.id)),b!==-1)y=Y}if(M!==-1&&b!==-1)break}if(M===-1&&_9(s)){let Y=s.initialGroup==null?void 0:D5(e,s.initialGroup),W=s.initialIndex,X=s.group==null?void 0:D5(e,s.group),J=s.index;if(Y==null||X==null){if("preventDefault"in r)r.preventDefault();return e}if(Y===X&&W===J){if("preventDefault"in r)r.preventDefault();return e}if(Y===X)return XI(KI({},e),{[Y]:a(e[Y],W,J)});let ee=e[Y][W];return XI(KI({},e),{[Y]:[...e[Y].slice(0,W),...e[Y].slice(W+1)],[X]:[...e[X].slice(0,J),ee,...e[X].slice(J)]})}if(!s.manager)return e;let{dragOperation:_}=s.manager,z=(f=(i=_.shape)==null?void 0:i.current.center)!=null?f:_.position.current;if(y==null){let Y=D5(e,l.id);if(Y!=null){let W=l.shape&&z.y>l.shape.center.y?e[Y].length:0;y=Y,b=W}}if(x==null||y==null||x===y&&M===b){if(x!=null&&x===y&&M===b&&_9(s)){let Y=s.group==null?void 0:D5(e,s.group),W=s.group!=null&&Y!==x,X=s.index!==M;if(W||X){let J=s.group==null?x:Y;if(J!=null){if(x===J)return XI(KI({},e),{[x]:a(e[x],M,s.index)});let ee=e[x][M];return XI(KI({},e),{[x]:[...e[x].slice(0,M),...e[x].slice(M+1)],[J]:[...e[J].slice(0,s.index),ee,...e[J].slice(s.index)]})}}}if("preventDefault"in r)r.preventDefault();return e}if(x===y)return XI(KI({},e),{[x]:a(e[x],M,b)});let k=l.shape&&Math.round(z.y)>Math.round(l.shape.center.y)?1:0,I=e[x][M];return XI(KI({},e),{[x]:[...e[x].slice(0,M),...e[x].slice(M+1)],[y]:[...e[y].slice(0,b+k),I,...e[y].slice(b+k)]})}function H8t(e,r){return V8t(e,r,q8t)}function kue(e){let r=new Map;for(let[,a]of e)for(let i of a)r.set(i.id,i.index);return r}function Iue(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 Cue="__default__",W8t=class extends ts{constructor(e){super(e);let r=()=>{let i=new Map;for(let f of e.registry.droppables)if(f instanceof k9){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(!$n(l)||!$n(c))return;if(l.sortable===c.sortable)return;let m=r(),g=kue(m),M=l.sortable.group===c.sortable.group,x=m.get(l.sortable.group),b=M?x:m.get(c.sortable.group);if(!x||!b)return;queueMicrotask(()=>{if(i.defaultPrevented)return;f.renderer.rendering.then(()=>{var y,_;let z=r();if(Iue(g,m,z))return;let F=l.sortable.element,k=c.sortable.element;if(!k||!F)return;if(!M&&c.id===l.sortable.group)return;let I=E5(x),Y=M?I:E5(b),W=(y=l.sortable.group)!=null?y:Cue,X=(_=c.sortable.group)!=null?_:Cue,J={[W]:I,[X]:Y},ee=H8t(J,i);if(J===ee)return;let ae=ee[X].indexOf(l.sortable),ne=ee[X].indexOf(c.sortable);f.collisionObserver.disable(),Rue(F,ae,k,ne),ra(()=>{for(let[xe,Qe]of ee[W].entries())Qe.index=xe;if(!M)for(let[xe,Qe]of ee[X].entries())Qe.group=c.sortable.group,Qe.index=xe}),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(!$n(l))return;if(l.sortable.initialIndex===l.sortable.index&&l.sortable.initialGroup===l.sortable.group)return;queueMicrotask(()=>{let c=r(),m=kue(c),g=c.get(l.sortable.initialGroup);if(!g)return;f.renderer.rendering.then(()=>{let M=r();if(Iue(m,c,M))return;let x=E5(g),b=E5(g,K8t),y=l.sortable.element,_=b.indexOf(l.sortable),z=x[_],F=z==null?void 0:z.element;if(!z||!F||!y)return;Rue(y,z.index,F,l.index),ra(()=>{for(let k of c.values()){let I=Array.from(k).values();for(let Y of I)Y.index=Y.initialIndex,Y.group=Y.initialGroup}})})})})];this.destroy=()=>{for(let i of a)i()}}};function Rue(e,r,a,i){let f=i<r?"afterend":"beforebegin";a.insertAdjacentElement(f,e)}function G8t(e,r){return e.index-r.index}function K8t(e,r){return e.initialIndex-r.initialIndex}function E5(e,r=G8t){return Array.from(e).sort(r)}var Pue=[O8t,W8t],z9={duration:250,easing:"cubic-bezier(0.25, 1, 0.5, 1)",idle:!1};function Tue(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 O5=new Xfe,Fue,Bue,$8,S9,M2,v2,L9,QI;Bue=[To],Fue=[To];var y2=class{constructor(e,r){m2(this,S9,T5($8,8,this)),T5($8,11,this),m2(this,M2),m2(this,v2),m2(this,L9,T5($8,12,this)),T5($8,15,this),m2(this,QI),this.register=()=>(ra(()=>{var _,z;(_=this.manager)==null||_.registry.register(this.droppable),(z=this.manager)==null||z.registry.register(this.draggable)}),()=>this.unregister()),this.unregister=()=>{ra(()=>{var _,z;(_=this.manager)==null||_.registry.unregister(this.droppable),(z=this.manager)==null||z.registry.unregister(this.draggable)})},this.destroy=()=>{ra(()=>{this.droppable.destroy(),this.draggable.destroy()})};var a=e,{effects:i=()=>[],disabled:f,group:s,index:l,sensors:c,type:m,transition:g=z9,plugins:M}=a,x=T8t(a,["effects","disabled","group","index","sensors","type","transition","plugins"]);let b=Zl(M,Pue),y=Tue(f);this.droppable=new k9(b9(y9({},x),{disabled:y.droppable}),r,this),this.draggable=new Yue(b9(y9({},x),{disabled:y.draggable,plugins:b,effects:()=>[()=>{var _,z,F;let k=(_=this.manager)==null?void 0:_.dragOperation.status;if((k==null?void 0:k.initializing)&&this.id===((F=(z=this.manager)==null?void 0:z.dragOperation.source)==null?void 0:F.id))O5.clear(this.manager);if(k==null?void 0:k.dragging)O5.set(this.manager,this.id,yo(()=>({initialIndex:this.index,initialGroup:this.group})))},()=>{let{index:_,group:z,manager:F}=this,k=g2(this,v2),I=g2(this,M2);if(_!==k||z!==I)UL(this,v2,_),UL(this,M2,z),this.animate()},()=>{var _,z;let{target:F}=this,{isDragSource:k}=this.draggable;if(((z=(_=this.draggable.pluginConfig(Yo))==null?void 0:_.feedback)!=null?z:"default")==="move"&&k)this.droppable.disabled=!F},...i()],type:m,sensors:c}),r,this),UL(this,QI,x.element),this.manager=r,this.index=l,UL(this,v2,l),this.group=s,UL(this,M2,s),this.type=m,this.transition=g}get initialIndex(){var e,r;return(r=(e=O5.get(this.manager,this.id))==null?void 0:e.initialIndex)!=null?r:this.index}get initialGroup(){var e,r;return(r=(e=O5.get(this.manager,this.id))==null?void 0:e.initialGroup)!=null?r:this.group}animate(){yo(()=>{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}=su(f),m=Aq(f,c,!1),g=Aq(f,c);if(l.x||l.y){let M=WT(hl(f))?b9(y9({},r),{duration:0}):r;a5({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){ra(()=>{this.draggable.manager=e,this.droppable.manager=e})}set element(e){ra(()=>{let r=g2(this,QI),a=this.droppable.element,i=this.draggable.element;if(!a||a===r)this.droppable.element=e;if(!i||i===r)this.draggable.element=e;UL(this,QI,e)})}get element(){var e,r;let a=g2(this,QI);if(!a)return;return(r=(e=GT.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=Zl(e,Pue)}set disabled(e){let r=Tue(e);ra(()=>{this.droppable.disabled=r.droppable,this.draggable.disabled=r.draggable})}set data(e){ra(()=>{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:i5}set alignment(e){this.draggable.alignment=e}get alignment(){return this.draggable.alignment}set type(e){ra(()=>{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)}};$8=A8t();S9=new WeakMap;M2=new WeakMap;v2=new WeakMap;L9=new WeakMap;QI=new WeakMap;jue($8,4,"index",Bue,y2,S9);jue($8,4,"group",Fue,y2,L9);E8t($8,y2);var Yue=class extends jL{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}},k9=class extends FI{constructor(e,r,a){super(e,r);this.sortable=a}get index(){return this.sortable.index}get group(){return this.sortable.group}};var{defineProperty:X8t,defineProperties:Q8t,getOwnPropertyDescriptors:J8t,getOwnPropertySymbols:Uue}=Object,$8t=Object.prototype.hasOwnProperty,ext=Object.prototype.propertyIsEnumerable,que=(e,r,a)=>(r in e)?X8t(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,I9=(e,r)=>{for(var a in r||(r={}))if($8t.call(r,a))que(e,a,r[a]);if(Uue){for(var a of Uue(r))if(ext.call(r,a))que(e,a,r[a])}return e},txt=(e,r)=>Q8t(e,J8t(r));function Ai(e){let{accept:r,collisionDetector:a,collisionPriority:i,id:f,data:s,element:l,handle:c,index:m,group:g,disabled:M,modifiers:x,sensors:b,target:y,type:_,plugins:z}=e,F=I9(I9({},z9),e.transition),k=M5((Y)=>new y2(txt(I9({},e),{transition:F,register:!1,handle:aZ(c),element:aZ(l),target:aZ(y)}),Y)),I=BI(k,rxt);return Ho(f,()=>k.id=f),wM(()=>{ra(()=>{k.group=g,k.index=m})},[k,g,m]),Ho(_,()=>k.type=_),Ho(r,()=>k.accept=r,void 0,ds),Ho(s,()=>s&&(k.data=s)),Ho(m,()=>{var Y;if(((Y=k.manager)==null?void 0:Y.dragOperation.status.idle)&&(F==null?void 0:F.idle))k.refreshShape()},ice),K8(c,(Y)=>k.handle=Y),K8(l,(Y)=>k.element=Y),K8(y,(Y)=>k.target=Y),Ho(M,()=>k.disabled=M!=null?M:!1,void 0,ds),Ho(b,()=>k.sensors=b,void 0,ds),Ho(a,()=>k.collisionDetector=a),Ho(i,()=>k.collisionPriority=i),Ho(z,()=>k.plugins=z,void 0,ds),Ho(F,()=>k.transition=F,void 0,ds),Ho(x,()=>k.modifiers=x,void 0,ds),Ho(e.alignment,()=>k.alignment=e.alignment),{sortable:I,get isDragging(){return I.isDragging},get isDropping(){return I.isDropping},get isDragSource(){return I.isDragSource},get isDropTarget(){return I.isDropTarget},handleRef:N((Y)=>{k.handle=Y!=null?Y:void 0},[k]),ref:N((Y)=>{var W,X;if(!Y&&((W=k.element)==null?void 0:W.isConnected)&&!((X=k.manager)==null?void 0:X.dragOperation.status.idle))return;k.element=Y!=null?Y:void 0},[k]),sourceRef:N((Y)=>{var W,X;if(!Y&&((W=k.source)==null?void 0:W.isConnected)&&!((X=k.manager)==null?void 0:X.dragOperation.status.idle))return;k.source=Y!=null?Y:void 0},[k]),targetRef:N((Y)=>{var W,X;if(!Y&&((W=k.target)==null?void 0:W.isConnected)&&!((X=k.manager)==null?void 0:X.dragOperation.status.idle))return;k.target=Y!=null?Y:void 0},[k])}}function rxt(e,r,a){if(e==="isDragSource"&&!a&&r)return!0;return!1}C();function oxt(e){if(!e)return null;try{let r=J8(e);if(isNaN(r.getTime()))return null;return ir(r,"MMM d, yyyy")}catch{return null}}function axt({version:e,displayVersionNumber:r,index:a,canEdit:i,onRemove:f}){let[s,l]=u(!1),{ref:c,handleRef:m}=Ai({id:e.id,index:a,disabled:!i}),g=oxt(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(ga,{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(Kt,{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(bt,{className:"h-3 w-3 shrink-0"}),t("span",{className:"truncate",children:xc({user:e.creator?.name||rn(),agent:e.agent.name})})]}):t("span",{children:e.creator?.name||rn()}),g&&o(B,{children:[t("span",{children:"•"}),t("span",{children:g})]})]})]}),i&&o(he,{modal:!1,open:s,onOpenChange:l,children:[t(ge,{asChild:!0,children:t(S,{variant:"ghost",size:"icon","aria-label":"More options",className:E("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(Ar,{className:"h-4 w-4"})})}),t(Ae,{align:"end",children:o(V,{onClick:()=>f(e.id),className:"text-destructive focus:text-destructive cursor-pointer",children:[t(ve,{className:"h-4 w-4 mr-2"}),t("span",{children:ont()})]})})]})]})}function Ad({open:e,onOpenChange:r,stackId:a,canEdit:i=!0,onVersionRemoved:f,onStackDissolved:s}){let l=Q(),[c,m]=u([]),{data:g,isLoading:M}=L({queryKey:["version_stacks",a,"versions"],queryFn:async()=>{let F=await A.api.version_stacks[":stackId"].versions.$get({param:{stackId:a}});if(!F.ok)throw Error("Failed to fetch versions");return await F.json()},enabled:e&&!!a});h(()=>{if(g)m(g)},[g]);let{mutate:x}=U({mutationFn:async({fileId:F,beforeId:k})=>{if(!(await A.api.version_stacks[":stackId"].order.$post({param:{stackId:a},json:{fileId:F,beforeId:k}})).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"]}),R.success(imt())},onError:()=>{if(R.error(NYe()),g)m(g)}}),{mutate:b,isPending:y}=U({mutationFn:async(F)=>{if(!(await A.api.version_stacks[":stackId"].versions[":versionId"].$delete({param:{stackId:a,versionId:F}})).ok)throw Error("Failed to remove version from stack");return F},onSuccess:(F)=>{R.success(omt());let k=c.filter((I)=>I.id!==F);if(m(k),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.length<=1){let I=k[0];if(r(!1),I)s?.(I.id)}else f?.(F,k)},onError:()=>{R.error(AYe())}}),_=(F)=>{if(F.canceled)return;let{source:k}=F.operation;if(!$n(k))return;let{initialIndex:I,index:Y}=k;if(I===Y)return;let W=[...c],[X]=W.splice(I,1);W.splice(Y,0,X),m(W);let J=Y===W.length-1?"-1":W[Y+1].id;x({fileId:X.id,beforeId:J})},z=(F)=>{if(y)return;b(F)};return t(fe,{open:e,onOpenChange:r,children:o(ce,{className:"max-w-lg p-0 gap-0 overflow-hidden",children:[t(pe,{className:"p-4 pb-3 border-b border-border",children:t(ue,{className:"text-base font-semibold",children:NVe()})}),t(se,{className:"max-h-[60vh] p-4",children:M?t("div",{className:"py-8 text-center text-sm text-muted-foreground",children:$u?.()||"Loading..."}):c.length===0?t("div",{className:"py-8 text-center text-sm text-muted-foreground",children:_Qe()}):t("div",{className:"space-y-2",children:t(Dn,{sensors:[nn.configure({activationConstraints:[new Ir.Distance({value:6})]}),Lo],onDragEnd:_,children:c.map((F,k)=>t(axt,{version:F,displayVersionNumber:c.length-k,index:k,canEdit:i,onRemove:z},F.id))})})})]})})}C();function ht({...e}){return t(pIe,{"data-slot":"popover",...e})}function gt({...e}){return t(mIe,{"data-slot":"popover-trigger",...e})}function At({className:e,align:r="center",sideOffset:a=4,...i}){return t(hIe,{children:t(gIe,{"data-slot":"popover-content",align:r,sideOffset:a,className:E("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 N5(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 R9(e,r="|"){return e.map((a)=>A9(a)).join(r)}function _2(e,r){if(typeof r==="bigint")return r.toString();return r}function w2(e){return{get value(){{let a=e();return Object.defineProperty(this,"value",{value:a}),a}throw Error("cached value already set")}}}function Hue(e){return e===null||e===void 0}function F5(e){let r=e.startsWith("^")?1:0,a=e.endsWith("$")?e.length-1:e.length;return e.slice(r,a)}function Wue(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 Vue=Symbol("evaluating");function Gue(e,r,a){let i=void 0;Object.defineProperty(e,r,{get(){if(i===Vue)return;if(i===void 0)i=Vue,i=a();return i},set(f){Object.defineProperty(e,r,{value:f})},configurable:!0})}function rs(e,r,a){Object.defineProperty(e,r,{value:a,writable:!0,enumerable:!0,configurable:!0})}function tz(...e){let r={};for(let a of e){let i=Object.getOwnPropertyDescriptors(a);Object.assign(r,i)}return Object.defineProperties({},r)}function Kue(e){return JSON.stringify(e)}function Xue(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var P9="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function JI(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}var Que=w2(()=>{if(Nl.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(e){return!1}});function VL(e){if(JI(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(JI(a)===!1)return!1;if(Object.prototype.hasOwnProperty.call(a,"isPrototypeOf")===!1)return!1;return!0}function T9(e){if(VL(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 Jue=new Set(["string","number","symbol"]);function rz(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function UZ(e,r,a){let i=new e._zod.constr(r??e._zod.def);if(!r||a?.parent)i._zod.parent=e;return i}function kr(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 A9(e){if(typeof e==="bigint")return e.toString()+"n";if(typeof e==="string")return`"${e}"`;return`${e}`}function $ue(e){return Object.keys(e).filter((r)=>e[r]._zod.optin!==void 0&&e[r]._zod.optout==="optional")}var ede=(()=>({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 nxt(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=tz(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;rs(l,c,a.shape[c])}return rs(this,"shape",l),l},checks:[]});return UZ(e,s)}function ixt(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=tz(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 rs(this,"shape",l),l},checks:[]});return UZ(e,s)}function fxt(e,r){if(!VL(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=tz(e._zod.def,{get shape(){let s={...e._zod.def.shape,...r};return rs(this,"shape",s),s}});return UZ(e,f)}function sxt(e,r){if(!VL(r))throw Error("Invalid input to safeExtend: expected a plain object");let a=tz(e._zod.def,{get shape(){let i={...e._zod.def.shape,...r};return rs(this,"shape",i),i}});return UZ(e,a)}function lxt(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=tz(e._zod.def,{get shape(){let i={...e._zod.def.shape,...r._zod.def.shape};return rs(this,"shape",i),i},get catchall(){return r._zod.def.catchall},checks:r._zod.def.checks??[]});return UZ(e,a)}function tde(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=tz(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 rs(this,"shape",g),g},checks:[]});return UZ(r,c)}function cxt(e,r,a){let i=tz(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 rs(this,"shape",s),s}});return UZ(r,i)}function HL(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 rde(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 oz(e,r){return r.map((a)=>{var i;return(i=a).path??(i.path=[]),a.path.unshift(e),a})}function b2(e){return typeof e==="string"?e:e?.message}function D9(e,r,a){var i;for(let f=r;f<e.length;f++)(i=e[f]).schema??(i.schema=a)}function qZ(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:b2(e.inst?._zod.def?.error?.(e))??b2(s?.(e))??b2(r?.error?.(e))??b2(a.customError?.(e))??b2(a.localeError?.(e))??"Invalid input",{inst:c,schema:m,continue:g,input:M,...x}=e;if(x.path??(x.path=[]),x.message=l,r?.reportInput)x.input=M;return x}var uxt=/[\uD800-\uDBFF]/;function B5(e){let r=e.length;if(!uxt.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 Y5(e){if(Array.isArray(e))return"array";if(typeof e==="string")return"string";return"unknown"}function ode(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 ade(e,r){for(let a in r){let i=Object.getOwnPropertyDescriptor(r,a);if(i.get)Object.defineProperty(e,a,{...i,enumerable:!1});else dxt(e,a,i.value)}}function qL(e,r,a,i=!0){return Object.defineProperty(e,r,{configurable:!0,writable:!0,enumerable:i,value:a}),a}function E9(e,r,a){return qL(e,r,a,!1)}function dxt(e,r,a){Object.defineProperty(e,r,{configurable:!0,get(){return this==null?a:qL(this,r,a.bind(this))},set(i){qL(this,r,i)}})}function Zxt(e,r){let a=Object.getPrototypeOf(e);return r in a?void 0:a}var C9,ez=!1,pxt={configurable:!0,get(){ez=!0;return}};function jo(e,r,a){let i=Object.getPrototypeOf(e._zod);if(r in i&&C9!==e._zod){C9=void 0;return}C9=e._zod,Object.defineProperty(i,r,{configurable:!0,get(){Object.defineProperty(this,r,pxt);let f=ez;ez=!1;try{let s=a(this);if(ez)delete this[r];else Object.defineProperty(this,r,{configurable:!0,writable:!0,value:s});return ez=ez||f,s}catch(s){throw delete this[r],ez=ez||f,s}},set(f){Object.defineProperty(this,r,{configurable:!0,writable:!0,value:f})}})}function mxt(e,r,a,i){let f=Zxt(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 hxt="~constantCatch";function nde(e){let r=()=>e;return r[hxt]=!0,r}var ide;var O9={value:void 0,enumerable:!1},fde="captureStackTrace"in Error?Error:null;function gxt(e){let r=fde;if(r){let a=r.stackTraceLimit;if(typeof a==="number"){try{r.stackTraceLimit=0}catch{return fde=null,new e}try{return new e}finally{r.stackTraceLimit=a}}}return new e}function Dt(e,r,a,i){let f={};function s(b){this.def=b,this.constr=x,this.traits=new Set}s.prototype=f;let l=a,c=l&&new WeakSet;function m(b,y){if(!b._zod){O9.value=new s(y);try{Object.defineProperty(b,"_zod",O9)}finally{O9.value=void 0}}if(b._zod.traits.has(e))return;if(b._zod.traits.add(e),r(b,y),c){let z=Object.getPrototypeOf(b),F=b._zod.constr.prototype,k=z;while(k&&k!==F)k=Object.getPrototypeOf(k);let I=k??z;if(!c.has(I))c.add(I),ade(I,l)}let _=x.prototype;for(let z in _){if(!Object.prototype.hasOwnProperty.call(_,z))continue;if(!(z in b))b[z]=_[z].bind(b)}}let g=i?.Parent??Object;class M extends g{}Object.defineProperty(M,"name",{value:e});function x(b){let y=i?.Parent?gxt(M):this;m(y,b);let _=y._zod.deferred;if(_){for(let F of _)F();y._zod.deferred=void 0}let z=globalThis.__zod_globalConfig?.postProcessor;if(z)z(y);return y}return Object.defineProperty(x,"init",{value:m}),Object.defineProperty(x,Symbol.hasInstance,{value:(b)=>{if(i?.Parent&&b instanceof i.Parent)return!0;return b?._zod?.traits?.has(e)}}),Object.defineProperty(x,"name",{value:e}),x}class IM extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class z2 extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`);this.name="ZodEncodeError"}}(ide=globalThis).__zod_globalConfig??(ide.__zod_globalConfig={});var Nl=globalThis.__zod_globalConfig;function Dc(e){if(e)Object.assign(Nl,e);return Nl}function Mxt(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,_2,2)),e.message}function vxt(e){this._zod.message=e}var xxt={get:Mxt,set:vxt,enumerable:!0,configurable:!0},N9={value:void 0,enumerable:!1},F9={value:void 0,enumerable:!1},sde=new WeakSet([Object.prototype,Error.prototype]),lde=(e,r)=>{e.name="$ZodError",N9.value=e._zod,Object.defineProperty(e,"_zod",N9),F9.value=r,Object.defineProperty(e,"issues",F9),N9.value=void 0,F9.value=void 0,Object.defineProperty(e,"message",xxt);let a=Object.getPrototypeOf(e);if(!sde.has(a))sde.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})}})},U5=Dt("$ZodError",lde),B9=Dt("$ZodError",lde,void 0,{Parent:Error});function yxt(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 cde(e,r=(a)=>a.message){let a={},i=[];for(let f of e.issues)if(f.path.length>0)yxt(a,f.path[0],()=>[]).push(r(f));else i.push(r(f));return{formErrors:i,fieldErrors:a}}function ude(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],x=g===c.length-1;if(M==="_errors"){if(x)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 b=m[M];if(x)b._errors.push(r(l));m=b,g++}}}};return i(e),a}function q5(e,r){return{callee:r?.callee??e,Err:r?.Err}}var V5=(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 IM;if(c.issues.length){let m=new(s?.Err??e)(c.issues.map((g)=>qZ(g,l,Dc())));throw P9(m,s?.callee??r),m}return c.value};return r};var H5=(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)=>qZ(g,l,Dc())));throw P9(m,s?.callee??r),m}return c.value};return r};var S2=(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 IM;return s.issues.length?{success:!1,error:new(e??U5)(s.issues.map((l)=>qZ(l,f,Dc())))}:{success:!0,data:s.value}},dde=S2(B9),L2=(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)=>qZ(l,f,Dc())))}:{success:!0,data:s.value}},Zde=L2(B9);var pde=(e)=>{let r=V5(e),a=(i,f,s,l)=>{let c=s?{...s,direction:"backward"}:{direction:"backward"};return r(i,f,c,q5(a,l))};return a};var mde=(e)=>{let r=V5(e),a=(i,f,s,l)=>r(i,f,s,q5(a,l));return a};var hde=(e)=>{let r=H5(e),a=async(i,f,s,l)=>{let c=s?{...s,direction:"backward"}:{direction:"backward"};return await r(i,f,c,q5(a,l))};return a};var gde=(e)=>{let r=H5(e),a=async(i,f,s,l)=>await r(i,f,s,q5(a,l));return a};var Mde=(e)=>(r,a,i)=>{let f=i?{...i,direction:"backward"}:{direction:"backward"};return S2(e)(r,a,f)};var vde=(e)=>(r,a,i)=>S2(e)(r,a,i);var xde=(e)=>async(r,a,i)=>{let f=i?{...i,direction:"backward"}:{direction:"backward"};return L2(e)(r,a,f)};var yde=(e)=>async(r,a,i)=>L2(e)(r,a,i);var bde=/^[cC][0-9a-z]{6,}$/,_de=/^[0-9a-z]+$/,wde=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,zde=/^[0-9a-vA-V]{20}$/,Sde=/^[A-Za-z0-9]{27}$/,Lde=/^[a-zA-Z0-9_-]{21}$/;function kde(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var Ide=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;var Cde=/^([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})$/,U9=(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 Rde=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;var _xt="^[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function Pde(){return new RegExp(_xt,"u")}var Tde=/^(?:(?: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])$/,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fde="(?:(?:\\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 wxt(e){return new RegExp(`^${e}$`)}var Bde=wxt(Fde);function Y9(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 Yde(e){return new RegExp(`^${Y9(e)}$`)}function Ude(e){let r=["Z"];if(e.offset)r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let a=`${Y9({precision:e.precision,seconds:!0})}(?:${r.join("|")})`,i=e.local?`${a}|${Y9({precision:e.precision})}`:a;return new RegExp(`^${Fde}T(?:${i})$`)}var qde=(e)=>{let r=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${r}$`)},Vde=/^-?\d+n?$/,W5=/^-?\d+$/,k2=/^-?\d+(?:\.\d+)?$/,Hde=/^(?:true|false)$/i;var Wde=/^[^A-Z]*$/,Gde=/^[^a-z]*$/;var hs=Dt("$ZodCheck",(e,r)=>{var a;e._zod??(e._zod={}),e._zod.def=r,(a=e._zod).onattach??(a.onattach=[])});var V9=(e)=>{let r=e.value;return!Hue(r)&&r.length!==void 0},G5={number:"number",bigint:"bigint",object:"date"},H9=Dt("$ZodCheckLessThan",(e,r)=>{hs.init(e,r);let a=G5[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:G5[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})}}),W9=Dt("$ZodCheckGreaterThan",(e,r)=>{hs.init(e,r);let a=G5[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:G5[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})}}),Kde=Dt("$ZodCheckMultipleOf",(e,r)=>{hs.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):Wue(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})}}),Xde=Dt("$ZodCheckNumberFormat",(e,r)=>{hs.init(e,r),r.format=r.format||"float64";let a=r.format?.includes("int"),i=a?"int":"number",[f,s]=ede[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=W5}),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 Qde=Dt("$ZodCheckMaxLength",(e,r)=>{var a;hs.init(e,r),(a=e._zod.def).when??(a.when=V9),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?B5(f):s)<=r.maximum)return;let c=Y5(f);i.issues.push({origin:c,code:"too_big",maximum:r.maximum,inclusive:!0,input:f,inst:e,continue:!r.abort})}}),Jde=Dt("$ZodCheckMinLength",(e,r)=>{var a;hs.init(e,r),(a=e._zod.def).when??(a.when=V9),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?B5(f):s)>=r.minimum)return;let c=Y5(f);i.issues.push({origin:c,code:"too_small",minimum:r.minimum,inclusive:!0,input:f,inst:e,continue:!r.abort})}}),$de=Dt("$ZodCheckLengthEquals",(e,r)=>{var a;hs.init(e,r),(a=e._zod.def).when??(a.when=V9),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?B5(f):s;if(l===r.length)return;let c=Y5(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})}}),C2=Dt("$ZodCheckStringFormat",(e,r)=>{var a,i;if(hs.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=()=>{})}),eZe=Dt("$ZodCheckRegex",(e,r)=>{C2.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})}}),tZe=Dt("$ZodCheckLowerCase",(e,r)=>{r.pattern??(r.pattern=Wde),C2.init(e,r)}),rZe=Dt("$ZodCheckUpperCase",(e,r)=>{r.pattern??(r.pattern=Gde),C2.init(e,r)}),oZe=Dt("$ZodCheckIncludes",(e,r)=>{hs.init(e,r);let a=rz(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})}}),aZe=Dt("$ZodCheckStartsWith",(e,r)=>{hs.init(e,r);let a=new RegExp(`^${rz(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})}}),nZe=Dt("$ZodCheckEndsWith",(e,r)=>{hs.init(e,r);let a=new RegExp(`.*${rz(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 iZe=Dt("$ZodCheckOverwrite",(e,r)=>{hs.init(e,r),e._zod.check=(a)=>{a.value=r.tx(a.value)}});class G9{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 sZe={major:4,minor:5,patch:4};var za=Dt("$ZodType",(e,r)=>{var a;e??(e={}),e._zod.def=r,e._zod.bag=e._zod.bag||{},e._zod.version=sZe;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=HL(c),x;for(let b of m){if(b._zod.def.when){if(rde(c))continue;if(!b._zod.def.when(c))continue}else if(M)continue;let y=c.issues.length,_=b._zod.check(c);if(_ instanceof Promise&&g?.async===!1)throw new IM;if(x||_ instanceof Promise)x=(x??Promise.resolve()).then(async()=>{if(await _,c.issues.length===y)return;if(D9(c.issues,y,e),!M)M=HL(c,y)});else{if(c.issues.length===y)continue;if(D9(c.issues,y,e),!M)M=HL(c,y)}}if(x)return x.then(()=>c);return c},l=(c,m,g)=>{if(HL(c))return c.aborted=!0,c;let M=s(m,f,g);if(M instanceof Promise){if(g.async===!1)throw new IM;return M.then((x)=>e._zod.parse(x,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((x)=>l(x,c,m));return l(M,c,m)}let g=e._zod.parse(c,m);if(g instanceof Promise){if(m.async===!1)throw new IM;return g.then((M)=>s(M,f,m))}return s(g,f,m)}}},{get "~standard"(){return E9(this,"~standard",Q9(this))},set "~standard"(e){qL(this,"~standard",e)}}),lZe=(e)=>e.success?{value:e.data}:{issues:e.error?.issues};function Q9(e){return{validate:(r)=>{try{return lZe(dde(e,r))}catch(a){return Zde(e,r).then(lZe)}},vendor:"zod",version:1}}var Q5=Dt("$ZodString",(e,r)=>{za.init(e,r),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??qde(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}}),ln=Dt("$ZodStringFormat",(e,r)=>{C2.init(e,r),Q5.init(e,r)}),vZe=Dt("$ZodGUID",(e,r)=>{r.pattern??(r.pattern=Cde),ln.init(e,r)}),xZe=Dt("$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=U9(i))}else r.pattern??(r.pattern=U9());ln.init(e,r)}),yZe=Dt("$ZodEmail",(e,r)=>{r.pattern??(r.pattern=Rde),ln.init(e,r)}),bZe=1,_Ze=2;function zxt(e,r){if(!r.normalize&&r.protocol?.source===jde.source&&!/^https?:\/\//i.test(e))return bZe;try{return new URL(e)}catch{return _Ze}}var Sxt=/[\t\n\r]/g;function Lxt(e){return e.replace(Sxt,"")}function kxt(e,r){return r.lastIndex=0,r.test(e.hostname)}function Ixt(e,r){return r.lastIndex=0,r.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var wZe=Dt("$ZodURL",(e,r)=>{ln.init(e,r),e._zod.check=(a)=>{try{let i=a.value.trim(),f=zxt(i,r);if(f===bZe){a.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:a.value,inst:e,continue:!r.abort});return}if(f===_Ze){a.issues.push({code:"invalid_format",format:"url",input:a.value,inst:e,continue:!r.abort});return}if(r.hostname&&!kxt(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&&!Ixt(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:Lxt(i);return}catch(i){a.issues.push({code:"invalid_format",format:"url",input:a.value,inst:e,continue:!r.abort})}}}),zZe=Dt("$ZodEmoji",(e,r)=>{r.pattern??(r.pattern=Pde()),ln.init(e,r)}),SZe=Dt("$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?Lde:kde(r.length)),ln.init(e,r)}),LZe=Dt("$ZodCUID",(e,r)=>{r.pattern??(r.pattern=bde),ln.init(e,r)}),kZe=Dt("$ZodCUID2",(e,r)=>{r.pattern??(r.pattern=_de),ln.init(e,r)}),IZe=Dt("$ZodULID",(e,r)=>{r.pattern??(r.pattern=wde),ln.init(e,r)}),CZe=Dt("$ZodXID",(e,r)=>{r.pattern??(r.pattern=zde),ln.init(e,r)}),RZe=Dt("$ZodKSUID",(e,r)=>{r.pattern??(r.pattern=Sde),ln.init(e,r)}),PZe=Dt("$ZodISODateTime",(e,r)=>{if(r.pattern??(r.pattern=Ude(r)),ln.init(e,r),r.local||r.precision===-1)e._zod.bag.laxFormat=!0,e._zod.onattach.push((a)=>{a._zod.bag.laxFormat=!0})}),TZe=Dt("$ZodISODate",(e,r)=>{r.pattern??(r.pattern=Bde),ln.init(e,r)}),AZe=Dt("$ZodISOTime",(e,r)=>{r.pattern??(r.pattern=Yde(r)),ln.init(e,r)}),DZe=Dt("$ZodISODuration",(e,r)=>{r.pattern??(r.pattern=Ide),ln.init(e,r)}),EZe=Dt("$ZodIPv4",(e,r)=>{r.pattern??(r.pattern=Tde),ln.init(e,r),e._zod.bag.format="ipv4"}),Cxt=/^[0-9a-fA-F:.]+$/;function OZe(e){if(!Cxt.test(e))return!1;try{return new URL(`http://[${e}]`),!0}catch{return!1}}var jZe=Dt("$ZodIPv6",(e,r)=>{r.pattern??(r.pattern=Ade),ln.init(e,r),e._zod.bag.format="ipv6",e._zod.check=(a)=>{if(!OZe(a.value))a.issues.push({code:"invalid_format",format:"ipv6",input:a.value,inst:e,continue:!r.abort})}});var NZe=Dt("$ZodCIDRv4",(e,r)=>{r.pattern??(r.pattern=Dde),ln.init(e,r)});function Rxt(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 OZe(a)}var FZe=Dt("$ZodCIDRv6",(e,r)=>{r.pattern??(r.pattern=Ede),ln.init(e,r),e._zod.check=(a)=>{if(!Rxt(a.value))a.issues.push({code:"invalid_format",format:"cidrv6",input:a.value,inst:e,continue:!r.abort})}});function BZe(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 YZe=Dt("$ZodBase64",(e,r)=>{r.pattern??(r.pattern=Ode),ln.init(e,r),e._zod.bag.contentEncoding="base64",e._zod.check=(a)=>{if(BZe(a.value))return;a.issues.push({code:"invalid_format",format:"base64",input:a.value,inst:e,continue:!r.abort})}});function Pxt(e){if(!q9.test(e))return!1;let r=e.replace(/[-_]/g,(i)=>i==="-"?"+":"/"),a=r.padEnd(Math.ceil(r.length/4)*4,"=");return BZe(a)}var UZe=Dt("$ZodBase64URL",(e,r)=>{r.pattern??(r.pattern=q9),ln.init(e,r),e._zod.bag.contentEncoding="base64url",e._zod.check=(a)=>{if(Pxt(a.value))return;a.issues.push({code:"invalid_format",format:"base64url",input:a.value,inst:e,continue:!r.abort})}}),qZe=Dt("$ZodE164",(e,r)=>{r.pattern??(r.pattern=Nde),ln.init(e,r)});function Txt(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 VZe=Dt("$ZodJWT",(e,r)=>{ln.init(e,r),e._zod.check=(a)=>{if(Txt(a.value,r.alg))return;a.issues.push({code:"invalid_format",format:"jwt",input:a.value,inst:e,continue:!r.abort})}});var J9=Dt("$ZodNumber",(e,r)=>{za.init(e,r),e._zod.pattern=e._zod.bag.pattern??k2,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}}),HZe=Dt("$ZodNumberFormat",(e,r)=>{Xde.init(e,r),J9.init(e,r)}),WZe=Dt("$ZodBoolean",(e,r)=>{za.init(e,r),e._zod.pattern=Hde,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}}),GZe=Dt("$ZodBigInt",(e,r)=>{za.init(e,r),e._zod.pattern=Vde,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 KZe=Dt("$ZodAny",(e,r)=>{za.init(e,r),e._zod.parse=(a)=>a}),XZe=Dt("$ZodUnknown",(e,r)=>{za.init(e,r),e._zod.parse=(a)=>a}),QZe=Dt("$ZodNever",(e,r)=>{za.init(e,r),e._zod.parse=(a,i)=>(a.issues.push({expected:"never",code:"invalid_type",input:a.value,inst:e}),a)});var JZe=Dt("$ZodDate",(e,r)=>{za.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 cZe(e,r,a){if(e.issues.length)r.issues.push(...oz(a,e.issues));r.value[a]=e.value}var $Ze=Dt("$ZodArray",(e,r)=>{za.init(e,r);let a=Nl.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)=>cZe(M,i,c)));else cZe(g,i,c)}if(l.length)return Promise.all(l).then(()=>i);return i}});function X5(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(...oz(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 Axt=[];function epe(e){let r=Object.keys(e.shape),a=Object.getOwnPropertySymbols(e.shape),i=a.length?a:Axt,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=$ue(e.shape);return{...e,allKeys:f,symbolKeys:i,keySet:new Set(r),numKeys:r.length,optionalKeys:new Set(s)}}function tpe(e,r,a,i,f,s){let l=[],c=f.keySet,m=f.catchall._zod,g=m.def.type,{optin:M,optout:x}=m;for(let b in r){if(c.has(b))continue;if(b==="__proto__"){if(g==="never")l.push(b);continue}if(g==="never"){l.push(b);continue}let y=m.run({value:r[b],issues:[]},i);if(y instanceof Promise)e.push(y.then((_)=>X5(_,a,b,r,M,x)));else X5(y,a,b,r,M,x)}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 K9=new WeakMap,Dxt=Dt("$ZodObject",(e,r)=>{if(za.init(e,r),!Object.getOwnPropertyDescriptor(r,"shape")?.get){let m=r.shape;K9.set(r,m),Object.defineProperty(r,"shape",{get:()=>{let g={...m};return Object.defineProperty(r,"shape",{value:g}),K9.set(r,g),g}})}let i=w2(()=>epe(r));jo(e,"propValues",(m)=>{let g=m.def.shape,M={};for(let x in g){let b=g[x]._zod;if(b.values){if(!Object.prototype.hasOwnProperty.call(M,x))rs(M,x,new Set);for(let y of b.values)M[x].add(y);if(b.optin!==void 0)M[x].add(void 0)}}return M});let f=JI,s=r.catchall,l,c=Nl.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 x=[],b=l.shape;for(let y of l.allKeys){if(y==="__proto__")continue;let _=b[y],z=_._zod.optin,F=_._zod.optout,k=_._zod.run({value:M[y],issues:[]},g);if(k instanceof Promise)x.push(k.then((I)=>X5(I,m,y,M,z,F)));else X5(k,m,y,M,z,F)}if(!s)return x.length?Promise.all(x).then(()=>m):m;return tpe(x,M,m,g,i.value,e)}}),rpe=Dt("$ZodObjectJIT",(e,r)=>{Dxt.init(e,r);let a=e._zod.parse,i=w2(()=>epe(r)),f=Nl.memoizer,s=(y)=>{let _=i.value,z=_.symbolKeys,F=new G9(["payload","ctx"],{shape:y,inst:e,memo:f,syms:z}),k=(X)=>`shape[${X}]._zod.run({ value: input[${X}], issues: [] }, ctx)`,I=(X,J)=>`
149
+ for (let i = 0; i < ${X}.issues.length; i++) {
150
+ const iss = ${X}.issues[i];
151
+ iss.path = iss.path ? [${J}, ...iss.path] : [${J}];
152
+ payload.issues.push(iss);
153
+ }`;F.write("const input = payload.value;");let Y=Object.create(null),W=0;for(let X of _.allKeys)Y[X]=`key_${W++}`;F.write(f?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(let X of _.allKeys){if(X==="__proto__")continue;let J=Y[X],ee=typeof X==="symbol"?`syms[${z.indexOf(X)}]`:Kue(X),ae=`${ee} in input`,ne=y[X],xe=ne?._zod?.optin,Qe=xe!==void 0,Fe=ne?._zod?.optout==="optional";if(F.write(`const ${J} = ${k(ee)};`),Qe&&Fe){let ye=xe==="optional"?`${J}_present`:`${J}.value !== undefined || ${J}_present`;F.write(`
154
+ const ${J}_present = ${ae};
155
+ if (!${J}.issues.length || ${J}_present) {
156
+ if (${J}.issues.length) {${I(J,ee)}
157
+ }
158
+
159
+ if (${ye}) {
160
+ newResult[${ee}] = ${J}.value;
161
+ }
162
+ }
163
+
164
+ `)}else if(!Qe)F.write(`
165
+ const ${J}_present = ${ae};
166
+ if (${J}.issues.length) {${I(J,ee)}
167
+ }
168
+ if (!${J}_present && !${J}.issues.length) {
169
+ payload.issues.push({
170
+ code: "invalid_type",
171
+ expected: "nonoptional",
172
+ input: undefined,
173
+ path: [${ee}]
174
+ });
175
+ }
176
+
177
+ if (${J}_present) {
178
+ newResult[${ee}] = ${J}.value;
179
+ }
180
+
181
+ `);else F.write(`
182
+ if (${J}.issues.length) {${I(J,ee)}
183
+ }
184
+
185
+ if (${J}.value === undefined) {
186
+ if (${ae}) {
187
+ newResult[${ee}] = undefined;
188
+ }
189
+ } else {
190
+ newResult[${ee}] = ${J}.value;
191
+ }
192
+
193
+ `)}return F.write("payload.value = newResult;"),F.write("return payload;"),F.compile()},l,c=JI,m=!Nl.jitless,M=m&&Que.value,x=r.catchall,b;e._zod.parse=(y,_)=>{b??(b=i.value);let z=y.value;if(!c(z))return y.issues.push({expected:"object",code:"invalid_type",input:z,inst:e}),y;if(m&&M&&_?.async===!1&&_.jitless!==!0){if(!l)l=s(r.shape);if(y=l(y,_),!x)return y;return tpe([],z,y,_,b,e)}return a(y,_)}});function uZe(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)=>!HL(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)=>qZ(l,i,Dc())))}),r}var $9=Dt("$ZodUnion",(e,r)=>{za.init(e,r),jo(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),jo(e,"optout",(i)=>i.def.options.some((f)=>f._zod.optout==="optional")?"optional":void 0),jo(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}),jo(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)=>F5(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 uZe(l,i,e,f);return Promise.all(l).then((c)=>uZe(c,i,e,f))}});var ope=Dt("$ZodDiscriminatedUnion",(e,r)=>{r.inclusive=!1,$9.init(e,r);let a=e._zod.parse;jo(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))rs(s,m,new Set);for(let M of g)s[m].add(M)}}return s}),r.options.forEach((f,s)=>{let l=K9.get(f._zod.def);if(l&&!Object.prototype.hasOwnProperty.call(l,r.discriminator))throw Error(`Invalid discriminated union option at index "${s}"`)});let i=w2(()=>{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(!JI(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}}),ape=Dt("$ZodIntersection",(e,r)=>{za.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])=>dZe(a,m,g));return dZe(a,s,l)}});function X9(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(VL(e)&&VL(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=X9(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=X9(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 dZe(e,r,a){let i=new Map,f,s=new Map,l=(g,M)=>{let x;if(g.code==="unrecognized_keys"&&!g.path?.length)f??(f=g),x=g.keys;else if(g.code==="invalid_key"&&g.origin==="record"&&g.path?.length===1){let b=String(g.path[0]);if(!s.has(b))s.set(b,g);x=[b]}else return!1;for(let b of x){if(!i.has(b))i.set(b,{});i.get(b)[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=X9(r.value,a.value);if(!m.valid){if(HL(e))return e;throw Error(`Unmergable intersection. Error path: ${JSON.stringify(m.mergeErrorPath)}`)}return e.value=m.data,e}var npe=Dt("$ZodRecord",(e,r)=>{za.init(e,r);let a=Nl.memoizer;a?.attach(e),e._zod.parse=(i,f)=>{let s=i.value;if(!VL(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 x=r.keyType._zod.run({value:M,issues:[]},f);if(x instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(x.issues.length){i.issues.push({code:"invalid_key",origin:"record",issues:x.issues.map((_)=>qZ(_,f,Dc())),input:M,path:[M],inst:e});continue}let b=x.value;if(b==="__proto__")continue;let y=r.valueType._zod.run({value:s[M],issues:[]},f);if(y instanceof Promise)l.push(y.then((_)=>{if(_.issues.length)i.issues.push(...oz(M,_.issues));i.value[b]=_.value}));else{if(y.issues.length)i.issues.push(...oz(M,y.issues));i.value[b]=y.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"&&k2.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((_)=>qZ(_,f,Dc())),input:g,path:[g],inst:e});continue}let b=M.value;if(b==="__proto__")continue;let y=r.valueType._zod.run({value:s[g],issues:[]},f);if(y instanceof Promise)l.push(y.then((_)=>{if(_.issues.length)i.issues.push(...oz(g,_.issues));i.value[b]=_.value}));else{if(y.issues.length)i.issues.push(...oz(g,y.issues));i.value[b]=y.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 ipe=Dt("$ZodEnum",(e,r)=>{za.init(e,r);let a=N5(r.entries),i=new Set(a);e._zod.values=i;let f=a.filter((s)=>Jue.has(typeof s));e._zod.pattern=new RegExp(f.length?`^(${f.map((s)=>rz(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}}),fpe=Dt("$ZodLiteral",(e,r)=>{za.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"?rz(i):i?rz(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 spe=Dt("$ZodTransform",(e,r)=>{za.init(e,r),e._zod.optin="optional",Nl.memoizer?.guard(e),e._zod.parse=(a,i)=>{if(i.direction==="backward")throw new z2(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 IM;return a.value=f,a}});function ZZe(e,r){return e.value=r.issues.length?void 0:r.value,e}var eV=Dt("$ZodOptional",(e,r)=>{za.init(e,r),jo(e,"optin",(a)=>a.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",jo(e,"values",(a)=>{let i=a.def.innerType._zod.values;return i?new Set([...i,void 0]):void 0}),jo(e,"pattern",(a)=>{let i=a.def.innerType._zod.pattern;return i?new RegExp(`^(${F5(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)=>ZZe(a,s));return ZZe(a,f)}return r.innerType._zod.run(a,i)}}),lpe=Dt("$ZodExactOptional",(e,r)=>{eV.init(e,r),jo(e,"values",(a)=>a.def.innerType._zod.values),jo(e,"pattern",(a)=>a.def.innerType._zod.pattern),e._zod.parse=(a,i)=>r.innerType._zod.run(a,i)}),cpe=Dt("$ZodNullable",(e,r)=>{za.init(e,r),jo(e,"optin",(a)=>a.def.innerType._zod.optin),jo(e,"optout",(a)=>a.def.innerType._zod.optout),jo(e,"pattern",(a)=>{let i=a.def.innerType._zod.pattern;return i?new RegExp(`^(${F5(i.source)}|null)$`):void 0}),jo(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)}}),upe=Dt("$ZodDefault",(e,r)=>{za.init(e,r),e._zod.optin="defaulted",jo(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)=>pZe(s,r));return pZe(f,r)}});function pZe(e,r){if(e.value===void 0)e.value=r.defaultValue;return e}var dpe=Dt("$ZodPrefault",(e,r)=>{za.init(e,r),e._zod.optin="defaulted",jo(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)}}),Zpe=Dt("$ZodNonOptional",(e,r)=>{za.init(e,r),jo(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)=>mZe(s,e));return mZe(f,e)}});function mZe(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 hZe(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)=>qZ(f,i,Dc()))},input:e.value}),e}var ppe=Dt("$ZodCatch",(e,r)=>{za.init(e,r),jo(e,"optin",(a)=>a.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),jo(e,"optout",(a)=>a.def.innerType._zod.optout),jo(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)=>hZe(a,s,r,i));return hZe(a,f,r,i)}});var mpe=Dt("$ZodPipe",(e,r)=>{za.init(e,r),jo(e,"values",(a)=>a.def.in._zod.values),jo(e,"optin",(a)=>a.def.in._zod.optin),jo(e,"optout",(a)=>a.def.out._zod.optout),jo(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)=>K5(l,r.in,i));return K5(s,r.in,i)}let f=r.in._zod.run(a,i);if(f instanceof Promise)return f.then((s)=>K5(s,r.out,i));return K5(f,r.out,i)}});function K5(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 hpe=Dt("$ZodReadonly",(e,r)=>{za.init(e,r),jo(e,"propValues",(a)=>a.def.innerType._zod.propValues),jo(e,"values",(a)=>a.def.innerType._zod.values),jo(e,"optin",(a)=>a.def.innerType?._zod?.optin),jo(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(gZe);return gZe(f)}});function gZe(e){if(!e.memo)e.value=Object.freeze(e.value);return e}var gpe=Dt("$ZodLazy",(e,r)=>{za.init(e,r),Gue(e._zod,"innerType",()=>{let a=r;if(!a._cachedInner)a._cachedInner=r.getter();return a._cachedInner}),jo(e,"pattern",(a)=>a.innerType?._zod?.pattern),jo(e,"propValues",(a)=>a.innerType?._zod?.propValues),jo(e,"optin",(a)=>a.innerType?._zod?.optin??void 0),jo(e,"optout",(a)=>a.innerType?._zod?.optout??void 0),e._zod.parse=(a,i)=>e._zod.innerType._zod.run(a,i)}),Mpe=Dt("$ZodCustom",(e,r)=>{hs.init(e,r),za.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)=>MZe(s,a,i,e));MZe(f,a,i,e);return}});function MZe(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 ype extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform");this.name="ZodCyclicError"}}var rV="~memo",vpe=[];function tV(e){return e.map((r)=>r.path?{...r,path:r.path.slice()}:{...r})}var xpe=new WeakMap;function bpe(e,r){let a=xpe.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&&bpe(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),xpe.set(e,i),i}function Ext(e,r){let a=e.buckets.get(r);if(!a)a=new Map,e.buckets.set(r,a);return a}var J5,$5=[],Oxt={alloc(e,r,a){let i=J5;if(!i)return a;J5=void 0;let f={value:a,issues:null};return i.set(r.value,f),$5.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"&&jxt(s,f.value))throw new ype;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=bpe(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[rV];if(!M)M={buckets:new Map,backEdges:void 0},m[rV]=M;let x;if(i===m)x=f;else x=Ext(M,e),i=m,f=x;let b=x.get(g);if(b){if(c.value=b.value,b.issues){if(b.issues.length)c.issues.push(...tV(b.issues))}else c.memo=!0,M.backEdges??(M.backEdges=new Set),M.backEdges.add(b.value);return c}J5=x;let y=$5.length,_=s(c,m);J5=void 0;let z=$5.length>y?$5.pop():void 0;if(_ instanceof Promise)return _.then((F)=>{if(z)z.issues=F.issues.length?tV(F.issues):vpe;return F});if(z)z.issues=_.issues.length?tV(_.issues):vpe;return _};if(e._zod.parse=l,e._zod.run===s)e._zod.run=l})}};function _pe(){return Oxt}function jxt(e,r){let a=e[rV]?.backEdges;return a!==void 0&&r!==null&&typeof r==="object"&&a.has(r)}var Nxt=()=>{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=ode(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 ${A9(s.values[0])}`;return`Invalid option: expected one of ${R9(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":""}: ${R9(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 oV(){return{localeError:Nxt()}}var wpe;class zpe{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 Fxt(){return new zpe}(wpe=globalThis).__zod_globalRegistry??(wpe.__zod_globalRegistry=Fxt());var GL=globalThis.__zod_globalRegistry;function Spe(e,r){return new e({type:"string",...kr(r)})}function Lpe(e,r){return new e({type:"string",coerce:!0,...kr(r)})}function kpe(e,r){return new e({type:"string",format:"email",check:"string_format",abort:!1,...kr(r)})}function Ipe(e,r){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...kr(r)})}function Cpe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...kr(r)})}function Rpe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...kr(r)})}function Ppe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...kr(r)})}function Tpe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...kr(r)})}function Ape(e,r){return new e({type:"string",format:"url",check:"string_format",abort:!1,...kr(r)})}function Dpe(e,r){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...kr(r)})}function Epe(e,r){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...kr(r)})}function Ope(e,r){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...kr(r)})}function jpe(e,r){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...kr(r)})}function Npe(e,r){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...kr(r)})}function Fpe(e,r){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...kr(r)})}function Bpe(e,r){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...kr(r)})}function Ype(e,r){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...kr(r)})}function Upe(e,r){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...kr(r)})}function qpe(e,r){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...kr(r)})}function Vpe(e,r){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...kr(r)})}function Hpe(e,r){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...kr(r)})}function Wpe(e,r){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...kr(r)})}function Gpe(e,r){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...kr(r)})}function Kpe(e,r){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...kr(r)})}function Xpe(e,r){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...kr(r)})}function Qpe(e,r){return new e({type:"string",format:"date",check:"string_format",...kr(r)})}function Jpe(e,r){return new e({type:"string",format:"time",check:"string_format",precision:null,...kr(r)})}function $pe(e,r){return new e({type:"string",format:"duration",check:"string_format",...kr(r)})}function eme(e,r){return new e({type:"number",checks:[],...kr(r)})}function tme(e,r){return new e({type:"number",coerce:!0,checks:[],...kr(r)})}function rme(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...kr(r)})}function ome(e,r){return new e({type:"boolean",...kr(r)})}function ame(e,r){return new e({type:"boolean",coerce:!0,...kr(r)})}function nme(e,r){return new e({type:"bigint",coerce:!0,...kr(r)})}function ime(e){return new e({type:"any"})}function fme(e){return new e({type:"unknown"})}function sme(e,r){return new e({type:"never",...kr(r)})}function lme(e,r){return new e({type:"date",...kr(r)})}function cme(e,r){return new e({type:"date",coerce:!0,...kr(r)})}function $I(e,r){return new H9({check:"less_than",...kr(r),value:e,inclusive:!1})}function CM(e,r){return new H9({check:"less_than",...kr(r),value:e,inclusive:!0})}function eR(e,r){return new W9({check:"greater_than",...kr(r),value:e,inclusive:!1})}function RM(e,r){return new W9({check:"greater_than",...kr(r),value:e,inclusive:!0})}function R2(e,r){return new Kde({check:"multiple_of",...kr(r),value:e})}function e4(e,r){return new Qde({check:"max_length",...kr(r),maximum:e})}function tR(e,r){return new Jde({check:"min_length",...kr(r),minimum:e})}function t4(e,r){return new $de({check:"length_equals",...kr(r),length:e})}function aV(e,r){return new eZe({check:"string_format",format:"regex",...kr(r),pattern:e})}function nV(e){return new tZe({check:"string_format",format:"lowercase",...kr(e)})}function iV(e){return new rZe({check:"string_format",format:"uppercase",...kr(e)})}function fV(e,r){return new oZe({check:"string_format",format:"includes",...kr(r),includes:e})}function sV(e,r){return new aZe({check:"string_format",format:"starts_with",...kr(r),prefix:e})}function lV(e,r){return new nZe({check:"string_format",format:"ends_with",...kr(r),suffix:e})}function az(e){return new iZe({check:"overwrite",tx:e})}function cV(e){return az((r)=>r.normalize(e))}function uV(){return az((e)=>e.trim())}function dV(){return az((e)=>e.toLowerCase())}function ZV(){return az((e)=>e.toUpperCase())}function pV(){return az((e)=>Xue(e))}function ume(e,r,a){return new e({type:"array",element:r,...kr(a)})}function dme(e,r,a){return new e({type:"custom",check:"custom",fn:r,...kr(a)})}function Zme(e,r){let a=Bxt((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 Bxt(e,r){let a=new hs({check:"custom",...kr(r)});return a._zod.check=e,a}function P2(e,...r){for(let a of r)for(let i of Reflect.ownKeys(a))if(Object.prototype.propertyIsEnumerable.call(a,i))rs(e,i,a[i]);return e}function hV(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??GL,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 iZ(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 In(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 b=l.schema,y=r.processors[f.type];if(!y)throw Error(`[toJSONSchema]: Non-representable type encountered: ${f.type}`);y(e,r,b,M)}let x=e._zod.parent;if(x){if(!l.ref)l.ref=x;In(x,r,M),r.seen.get(x).isParent=!0}}let m=r.metadataRegistry.get(e);if(m)P2(l.schema,m);if(r.io==="input"&&Ml(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 pme(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function gV(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 x=e.external.registry.get(l[0])?.id,b=e.external.uri??((_)=>_);if(x)return{ref:b(x)};let y=l[1].defId??l[1].schema.id??`schema${e.counter++}`;return l[1].defId=y,{defId:y,ref:`${b("__shared")}#/${c}/${pme(y)}`}}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+pme(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 x in M)delete M[x];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 gme(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;gme(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 Mme=new Set(["type","properties","required","additionalProperties"]),mme=["oneOf","anyOf"];function hme(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 mV(e){let r=[];for(let s of e){if(typeof s!=="object"||s.type!=="object")return null;for(let l in s)if(!Mme.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]??hme(g);if(M===null||M===void 0)continue;if(!c.some((x)=>JSON.stringify(x)===JSON.stringify(M)))c.push(M)}let m=c.length===1?c[0]:mV(c)??{allOf:c};rs(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=hme(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 Yxt(e){let r=e.allOf;if(!Array.isArray(r)||r.length<2)return;for(let f of Mme)if(f in e)return;let a=r.filter((f)=>mme.some((s)=>Array.isArray(f[s]))),i=null;if(!a.length)i=mV(r);else{let f=a[0],s=mme.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)=>mV([...l,m]));if(c.some((m)=>!m))return;i={[s]:c}}if(!i)return;delete e.allOf,P2(e,i)}function MV(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},x=m.ref;if(m.ref=null,x){i(x);let y=e.seen.get(x),_=y.schema;if(_.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0"))g.allOf=g.allOf??[],g.allOf.push(_);else P2(g,_);if(P2(g,M),c._zod.parent===x)for(let F in g){if(F==="$ref"||F==="allOf")continue;if(!(F in M))delete g[F]}if(_.$ref&&y.def)for(let F in g){if(F==="$ref"||F==="allOf")continue;if(F in y.def&&JSON.stringify(g[F])===JSON.stringify(y.def[F]))delete g[F]}}let b=c._zod.parent;if(b&&b!==x){i(b);let y=e.seen.get(b);if(y?.schema.$ref){if(g.$ref=y.schema.$ref,y.def)for(let _ in g){if(_==="$ref"||_==="allOf")continue;if(_ in y.def&&JSON.stringify(g[_])===JSON.stringify(y.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())gme(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 x=c.get(M);if(x)x.push(g);else c.set(M,[g])}for(let m of e.intersections)for(let g of c.get(m)??[])Yxt(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)}P2(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;rs(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:T2(r,"input",e.processors),output:T2(r,"output",e.processors)}},enumerable:!1,writable:!1}),c}catch(c){throw Error("Error converting schema to JSON.")}}function Ml(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 Ml(i.element,a);if(i.type==="set")return Ml(i.valueType,a);if(i.type==="lazy")return Ml(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 Ml(i.innerType,a);if(i.type==="intersection")return Ml(i.left,a)||Ml(i.right,a);if(i.type==="record"||i.type==="map")return Ml(i.keyType,a)||Ml(i.valueType,a);if(i.type==="pipe"){if(e._zod.traits.has("$ZodCodec"))return!0;return Ml(i.in,a)||Ml(i.out,a)}if(i.type==="object"){for(let f in i.shape)if(Ml(i.shape[f],a))return!0;return!1}if(i.type==="union"){for(let f of i.options)if(Ml(f,a))return!0;return!1}if(i.type==="tuple"){for(let f of i.items)if(Ml(f,a))return!0;if(i.rest&&Ml(i.rest,a))return!0;return!1}return!1}var vme=(e,r={})=>(a)=>{let i=hV({...a,processors:r});return In(e,i),gV(i,e),MV(i,e)},T2=(e,r,a={})=>(i)=>{let{libraryOptions:f,target:s}=i??{},l=hV({...f??{},target:s,io:r,processors:a});return In(e,l),gV(l,e),MV(l,e)};var Uxt={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},xme=(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=Uxt[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 x=[...m];if(x.length===1)f.pattern=x[0].source;else if(x.length>1)f.allOf=[...x.map((b)=>({...r.target==="draft-07"||r.target==="draft-04"||r.target==="openapi-3.0"?{type:"string"}:{},pattern:b.source}))]}},yme=(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 x=typeof M==="number"&&M>=(s??Number.NEGATIVE_INFINITY),b=typeof g==="number"&&g<=(l??Number.POSITIVE_INFINITY),y=r.target==="draft-04"||r.target==="openapi-3.0";if(x)if(y)f.minimum=M,f.exclusiveMinimum=!0;else f.exclusiveMinimum=M;else if(typeof s==="number")f.minimum=s;if(b)if(y)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 iZ(e,r,f,i,`A multipleOf divisor of ${m} cannot be represented in JSON Schema`)},bme=(e,r,a,i)=>{a.type="boolean"},_me=(e,r,a,i)=>{iZ(e,r,a,i,"BigInt cannot be represented in JSON Schema")};var wme=(e,r,a,i)=>{a.not={}},zme=(e,r,a,i)=>{},Sme=(e,r,a,i)=>{},Lme=(e,r,a,i)=>{iZ(e,r,a,i,"Date cannot be represented in JSON Schema")},kme=(e,r,a,i)=>{let f=e._zod.def,s=N5(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},Ime=(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(iZ(e,r,a,i,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof l==="bigint"){if(iZ(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 Cme=(e,r,a,i)=>{iZ(e,r,a,i,"Custom types cannot be represented in JSON Schema")};var Rme=(e,r,a,i)=>{iZ(e,r,a,i,"Transforms cannot be represented in JSON Schema")};var Pme=(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=In(s.element,r,{...i,path:[...i.path,"items"]})};function r4(e){let r=e._zod.def;if(r.type==="pipe"&&r.in._zod.traits.has("$ZodTransform"))return r4(r.out);if(r.type==="catch")return r4(r.innerType);return e._zod.optin}var Tme=(e,r,a,i)=>{let f=a,s=e._zod.def,l=s.shape;if(Object.getOwnPropertySymbols(l).length&&iZ(e,r,f,i,"Symbol keys cannot be represented in JSON Schema"))return;f.type="object",f.properties={};for(let M in l)rs(f.properties,M,In(l[M],r,{...i,path:[...i.path,"properties",M]}));let m=new Set(Object.keys(l)),g=new Set([...m].filter((M)=>{let x=s.shape[M];if(r.io==="input")return r4(x)===void 0;else return x._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=In(s.catchall,r,{...i,path:[...i.path,"additionalProperties"]})},Ame=(e,r,a,i)=>{let f=e._zod.def,s=f.inclusive===!1,l=f.options.map((c,m)=>In(c,r,{...i,path:[...i.path,s?"oneOf":"anyOf",m]}));if(s)a.oneOf=l;else a.anyOf=l},Dme=(e,r,a,i)=>{let f=e._zod.def,s=In(f.left,r,{...i,path:[...i.path,"allOf",0]}),l=In(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 vV(e,r,a){if(r.$ref){if(a.has(r))return r;a.add(r);let _=e.get(r)?.def;if(!_)return r;let z=vV(e,_,a);return z===_?r:z}for(let _ of["anyOf","oneOf"]){let z=r[_];if(!Array.isArray(z))continue;let F=z.map((k)=>vV(e,k,a));if(F.some((k,I)=>k!==z[I]))r={...r,[_]:F}}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:x,id:b,...y}=r;if(y.enum)y.enum=y.enum.map((_)=>typeof _==="number"?String(_):_);else if(typeof y.const==="number")y.const=String(y.const);if(!f)return y;if(y.type="string",!s)y.pattern=(i.includes("number")?k2:W5).source;return y}var xV=new WeakMap;function qxt(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 xV.get(e)??[]){let f=e.seen.get(i),s=(f?.def??f?.schema)?.propertyNames;if(!s||s===!0||a.has(s))continue;let l=vV(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 Eme=(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 x=In(s.valueType,r,{...i,path:[...i.path,"patternProperties","*"]});f.patternProperties={};for(let b of m)rs(f.patternProperties,b.source,x)}else{if(r.target==="draft-07"||r.target==="draft-2020-12"){f.propertyNames=In(s.keyType,r,{...i,path:[...i.path,"propertyNames"]});let x=xV.get(r);if(!x)x=[],xV.set(r,x),r.deferred.push(()=>qxt(r));x.push(e)}f.additionalProperties=In(s.valueType,r,{...i,path:[...i.path,"additionalProperties"]})}let g=l._zod.values,M=r.io==="input"&&r4(s.valueType)!==void 0;if(g&&!s.partial&&!M){let x=[...g].filter((b)=>typeof b==="string"||typeof b==="number");if(x.length>0)f.required=x.map(String)}},Ome=(e,r,a,i)=>{let f=e._zod.def,s=In(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"}]},jme=(e,r,a,i)=>{let f=e._zod.def;In(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType},yV=Symbol();function Nme(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 iZ(r,a,i,f,"BigInt defaults cannot be represented in JSON Schema"),yV}var Fme=(e,r,a,i)=>{let f=e._zod.def;In(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType;let l=Nme(f.defaultValue,e,r,a,i);if(l!==yV)a.default=l},Bme=(e,r,a,i)=>{let f=e._zod.def;In(f.innerType,r,i);let s=r.seen.get(e);if(s.ref=f.innerType,r.io!=="input")return;let l=Nme(f.defaultValue,e,r,a,i);if(l!==yV)a._prefault=l},Yme=(e,r,a,i)=>{let f=e._zod.def;In(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType;let l;try{l=f.catchValue(void 0)}catch{iZ(e,r,a,i,"Dynamic catch values are not supported in JSON Schema");return}a.default=l},Ume=(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;In(l,r,i);let c=r.seen.get(e);c.ref=l},qme=(e,r,a,i)=>{let f=e._zod.def;In(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType,a.readOnly=!0};var bV=(e,r,a,i)=>{let f=e._zod.def;In(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType},Vme=(e,r,a,i)=>{let f=e._zod.innerType;In(f,r,i);let s=r.seen.get(e);s.ref=f};var Hme=new WeakSet([Object.prototype,Error.prototype]);function o4(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 Jxt=(e,r)=>{U5.init(e,r),e.name="ZodError";let a=Object.getPrototypeOf(e);if(Hme.has(a))return;Hme.add(a),o4(a,"format",(i)=>(f)=>ude(i,f)),o4(a,"flatten",(i)=>(f)=>cde(i,f)),o4(a,"addIssue",(i)=>(f)=>{i.issues.push(f),i.message=JSON.stringify(i.issues,_2,2)}),o4(a,"addIssues",(i)=>(f)=>{i.issues.push(...f),i.message=JSON.stringify(i.issues,_2,2)}),Object.defineProperty(a,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}})};var Oc=Dt("ZodError",Jxt,void 0,{Parent:Error});var Wme=V5(Oc),Gme=H5(Oc),Kme=S2(Oc),Xme=L2(Oc),Qme=pde(Oc),Jme=mde(Oc),$me=hde(Oc),ehe=gde(Oc),the=Mde(Oc),rhe=vde(Oc),ohe=xde(Oc),ahe=yde(Oc);function eyt(){if(!Nl.localeError)Dc(oV())}function i4(){if(!Nl.memoizer)Dc({memoizer:_pe()})}var Ra=Dt("ZodType",(e,r)=>(eyt(),za.init(e,r),e.def=r,e.type=r.type,e),{check(...e){let r=this.def;return this.clone(tz(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 UZ(this,e,r)},brand(){return this},register(e,r){return e.add(this,r),this},refine(e,r){return this.check(Gyt(e,r))},superRefine(e,r){return this.check(Kyt(e,r))},overwrite(e){return this.check(az(e))},optional(){return fhe(this)},exactOptional(){return Dyt(this)},nullable(){return she(this)},nullish(){return fhe(she(this))},nonoptional(e){return Byt(this,e)},array(){return te(this)},or(e){return Oa([this,e])},and(e){return phe(this,e)},transform(e){return lhe(this,Ayt(e))},default(e){return jyt(this,e)},prefault(e){return Fyt(this,e)},catch(e){return Uyt(this,e)},pipe(e){return lhe(this,e)},readonly(){return Hyt(this)},describe(e){let r=this.clone();return GL.add(r,{description:e}),r},meta(...e){if(e.length===0)return GL.get(this);let r=this.clone();return GL.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 E9(this,"~standard",{...Q9(this),jsonSchema:{input:T2(this,"input"),output:T2(this,"output")}})},set "~standard"(e){qL(this,"~standard",e)},parse:function e(r,a){return Wme(this,r,a,{callee:e})},parseAsync:async function e(r,a){return await Gme(this,r,a,{callee:e})},safeParse(e,r){return Kme(this,e,r)},async safeParseAsync(e,r){return Xme(this,e,r)},get spa(){return this?.safeParseAsync},set spa(e){qL(this,"spa",e)},encode:function e(r,a){return Qme(this,r,a,{callee:e})},decode:function e(r,a){return Jme(this,r,a,{callee:e})},encodeAsync:async function e(r,a){return await $me(this,r,a,{callee:e})},decodeAsync:async function e(r,a){return await ehe(this,r,a,{callee:e})},safeEncode(e,r){return the(this,e,r)},safeDecode(e,r){return rhe(this,e,r)},async safeEncodeAsync(e,r){return ohe(this,e,r)},async safeDecodeAsync(e,r){return ahe(this,e,r)},toJSONSchema(e){return vme(this,{})(e)},get description(){return GL.get(this)?.description},get _def(){return this._zod.def}}),che=Dt("_ZodString",(e,r)=>{Q5.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(i,f,s)=>xme(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(aV(...e))},includes(...e){return this.check(fV(...e))},startsWith(...e){return this.check(sV(...e))},endsWith(...e){return this.check(lV(...e))},min(...e){return this.check(tR(...e))},max(...e){return this.check(e4(...e))},length(...e){return this.check(t4(...e))},nonempty(...e){return this.check(tR(1,...e))},lowercase(e){return this.check(nV(e))},uppercase(e){return this.check(iV(e))},trim(){return this.check(uV())},normalize(...e){return this.check(cV(...e))},toLowerCase(){return this.check(dV())},toUpperCase(){return this.check(ZV())},slugify(){return this.check(pV())}}),_V=Dt("ZodString",(e,r)=>{Q5.init(e,r),che.init(e,r)},{email(e){return this.check(kpe(nyt,e))},url(e){return this.check(Ape(fyt,e))},jwt(e){return this.check(Kpe(byt,e))},emoji(e){return this.check(Dpe(syt,e))},guid(e){return this.check(Ipe(iyt,e))},uuid(e){return this.check(Cpe(a4,e))},uuidv4(e){return this.check(Rpe(a4,e))},uuidv6(e){return this.check(Ppe(a4,e))},uuidv7(e){return this.check(Tpe(a4,e))},nanoid(e){return this.check(Epe(lyt,e))},cuid(e){return this.check(Ope(cyt,e))},cuid2(e){return this.check(jpe(uyt,e))},ulid(e){return this.check(Npe(dyt,e))},base64(e){return this.check(Hpe(vyt,e))},base64url(e){return this.check(Wpe(xyt,e))},xid(e){return this.check(Fpe(Zyt,e))},ksuid(e){return this.check(Bpe(pyt,e))},ipv4(e){return this.check(Ype(myt,e))},ipv6(e){return this.check(Upe(hyt,e))},cidrv4(e){return this.check(qpe(gyt,e))},cidrv6(e){return this.check(Vpe(Myt,e))},e164(e){return this.check(Gpe(yyt,e))},datetime(e){return this.check(Xpe(tyt,e))},date(e){return this.check(Qpe(ryt,e))},time(e){return this.check(Jpe(oyt,e))},duration(e){return this.check($pe(ayt,e))}});function p(e){return Spe(_V,e)}var vn=Dt("ZodStringFormat",(e,r)=>{ln.init(e,r),che.init(e,r)}),tyt=Dt("ZodISODateTime",(e,r)=>{PZe.init(e,r),vn.init(e,r)}),ryt=Dt("ZodISODate",(e,r)=>{TZe.init(e,r),vn.init(e,r)}),oyt=Dt("ZodISOTime",(e,r)=>{AZe.init(e,r),vn.init(e,r)}),ayt=Dt("ZodISODuration",(e,r)=>{DZe.init(e,r),vn.init(e,r)}),nyt=Dt("ZodEmail",(e,r)=>{yZe.init(e,r),vn.init(e,r)});var iyt=Dt("ZodGUID",(e,r)=>{vZe.init(e,r),vn.init(e,r)});var a4=Dt("ZodUUID",(e,r)=>{xZe.init(e,r),vn.init(e,r)});var fyt=Dt("ZodURL",(e,r)=>{wZe.init(e,r),vn.init(e,r)});var syt=Dt("ZodEmoji",(e,r)=>{zZe.init(e,r),vn.init(e,r)});var lyt=Dt("ZodNanoID",(e,r)=>{SZe.init(e,r),vn.init(e,r)});var cyt=Dt("ZodCUID",(e,r)=>{LZe.init(e,r),vn.init(e,r)});var uyt=Dt("ZodCUID2",(e,r)=>{kZe.init(e,r),vn.init(e,r)});var dyt=Dt("ZodULID",(e,r)=>{IZe.init(e,r),vn.init(e,r)});var Zyt=Dt("ZodXID",(e,r)=>{CZe.init(e,r),vn.init(e,r)});var pyt=Dt("ZodKSUID",(e,r)=>{RZe.init(e,r),vn.init(e,r)});var myt=Dt("ZodIPv4",(e,r)=>{EZe.init(e,r),vn.init(e,r)});var hyt=Dt("ZodIPv6",(e,r)=>{jZe.init(e,r),vn.init(e,r)});var gyt=Dt("ZodCIDRv4",(e,r)=>{NZe.init(e,r),vn.init(e,r)});var Myt=Dt("ZodCIDRv6",(e,r)=>{FZe.init(e,r),vn.init(e,r)});var vyt=Dt("ZodBase64",(e,r)=>{YZe.init(e,r),vn.init(e,r)});var xyt=Dt("ZodBase64URL",(e,r)=>{UZe.init(e,r),vn.init(e,r)});var yyt=Dt("ZodE164",(e,r)=>{qZe.init(e,r),vn.init(e,r)});var byt=Dt("ZodJWT",(e,r)=>{VZe.init(e,r),vn.init(e,r)});var f4=Dt("ZodNumber",(e,r)=>{J9.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(i,f,s)=>yme(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(eR(e,r))},gte(e,r){return this.check(RM(e,r))},min(e,r){return this.check(RM(e,r))},lt(e,r){return this.check($I(e,r))},lte(e,r){return this.check(CM(e,r))},max(e,r){return this.check(CM(e,r))},int(e){return this.check(nhe(e))},safe(e){return this.check(nhe(e))},positive(e){return this.check(eR(0,e))},nonnegative(e){return this.check(RM(0,e))},negative(e){return this.check($I(0,e))},nonpositive(e){return this.check(CM(0,e))},multipleOf(e,r){return this.check(R2(e,r))},step(e,r){return this.check(R2(e,r))},finite(){return this}});function nr(e){return eme(f4,e)}var _yt=Dt("ZodNumberFormat",(e,r)=>{HZe.init(e,r),f4.init(e,r)});function nhe(e){return rme(_yt,e)}var wV=Dt("ZodBoolean",(e,r)=>{WZe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>bme(e,a,i,f)});function Yr(e){return ome(wV,e)}var uhe=Dt("ZodBigInt",(e,r)=>{GZe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(i,f,s)=>_me(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(RM(e,r))},min(e,r){return this.check(RM(e,r))},gt(e,r){return this.check(eR(e,r))},lt(e,r){return this.check($I(e,r))},lte(e,r){return this.check(CM(e,r))},max(e,r){return this.check(CM(e,r))},positive(e){return this.check(eR(BigInt(0),e))},negative(e){return this.check($I(BigInt(0),e))},nonpositive(e){return this.check(CM(BigInt(0),e))},nonnegative(e){return this.check(RM(BigInt(0),e))},multipleOf(e,r){return this.check(R2(e,r))}});var wyt=Dt("ZodAny",(e,r)=>{KZe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>zme(e,a,i,f)});function vl(){return ime(wyt)}var zyt=Dt("ZodUnknown",(e,r)=>{XZe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Sme(e,a,i,f)});function HZ(){return fme(zyt)}var Syt=Dt("ZodNever",(e,r)=>{QZe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>wme(e,a,i,f)});function Lyt(e){return sme(Syt,e)}var zV=Dt("ZodDate",(e,r)=>{JZe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(i,f,s)=>Lme(e,i,f,s),e.min=(i,f)=>e.check(RM(i,f)),e.max=(i,f)=>e.check(CM(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 ei(e){return lme(zV,e)}var kyt=Dt("ZodArray",(e,r)=>{i4(),$Ze.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Pme(e,a,i,f),e.element=r.element},{min(e,r){return this.check(tR(e,r))},nonempty(e){return this.check(tR(1,e))},max(e,r){return this.check(e4(e,r))},length(e,r){return this.check(t4(e,r))},unwrap(){return this.element}});function te(e,r){return ume(kyt,e,r)}var Iyt=Dt("ZodObject",(e,r)=>{i4(),rpe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Tme(e,a,i,f),mxt(e,"shape",(a)=>a._zod.def.shape,!1)},{keyof(){return ot(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:HZ()})},loose(){return this.clone({...this._zod.def,catchall:HZ()})},strict(){return this.clone({...this._zod.def,catchall:Lyt()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return fxt(this,e)},safeExtend(e){return sxt(this,e)},merge(e){return lxt(this,e)},pick(e){return nxt(this,e)},omit(e){return ixt(this,e)},partial(...e){return tde(mhe,this,e[0])},exactPartial(...e){return tde(hhe,this,e[0],"exactPartial")},required(...e){return cxt(ghe,this,e[0])}});function P(e,r){let a={type:"object",shape:e??{},...kr(r)};return new Iyt(a)}var dhe=Dt("ZodUnion",(e,r)=>{$9.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Ame(e,a,i,f),e.options=r.options});function Oa(e,r){return new dhe({type:"union",options:e,...kr(r)})}var Cyt=Dt("ZodDiscriminatedUnion",(e,r)=>{dhe.init(e,r),ope.init(e,r)});function Zhe(e,r,a){return new Cyt({type:"union",options:r,discriminator:e,...kr(a)})}var Ryt=Dt("ZodIntersection",(e,r)=>{ape.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Dme(e,a,i,f)});function phe(e,r){return new Ryt({type:"intersection",left:e,right:r})}var ihe=Dt("ZodRecord",(e,r)=>{i4(),npe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Eme(e,a,i,f),e.keyType=r.keyType,e.valueType=r.valueType});function KL(e,r,a){if(!r||!r._zod)return new ihe({type:"record",keyType:p(),valueType:e,...kr(r)});return new ihe({type:"record",keyType:e,valueType:r,...kr(a)})}var n4=Dt("ZodEnum",(e,r)=>{ipe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(i,f,s)=>kme(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 n4({...r,checks:[],...kr(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 n4({...r,checks:[],...kr(f),entries:s})}});function ot(e,r){let a=Array.isArray(e)?Object.fromEntries(e.map((i)=>[i,i])):e;return new n4({type:"enum",entries:a,...kr(r)})}function Sa(e,r){return new n4({type:"enum",entries:e,...kr(r)})}var Pyt=Dt("ZodLiteral",(e,r)=>{fpe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Ime(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 PM(e,r){return new Pyt({type:"literal",values:Array.isArray(e)?e:[e],...kr(r)})}var Tyt=Dt("ZodTransform",(e,r)=>{i4(),spe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Rme(e,a,i,f),e._zod.parse=(a,i)=>{if(i.direction==="backward")throw new z2(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 Ayt(e){return new Tyt({type:"transform",transform:e})}var mhe=Dt("ZodOptional",(e,r)=>{eV.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>bV(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function fhe(e){return new mhe({type:"optional",innerType:e})}var hhe=Dt("ZodExactOptional",(e,r)=>{lpe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>bV(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function Dyt(e){return new hhe({type:"optional",innerType:e})}var Eyt=Dt("ZodNullable",(e,r)=>{cpe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Ome(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function she(e){return new Eyt({type:"nullable",innerType:e})}var Oyt=Dt("ZodDefault",(e,r)=>{upe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Fme(e,a,i,f),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function jyt(e,r){return new Oyt({type:"default",innerType:e,get defaultValue(){return typeof r==="function"?r():T9(r)}})}var Nyt=Dt("ZodPrefault",(e,r)=>{dpe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Bme(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function Fyt(e,r){return new Nyt({type:"prefault",innerType:e,get defaultValue(){return typeof r==="function"?r():T9(r)}})}var ghe=Dt("ZodNonOptional",(e,r)=>{Zpe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>jme(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function Byt(e,r){return new ghe({type:"nonoptional",innerType:e,...kr(r)})}var Yyt=Dt("ZodCatch",(e,r)=>{ppe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Yme(e,a,i,f),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Uyt(e,r){return new Yyt({type:"catch",innerType:e,catchValue:typeof r==="function"?r:nde(r)})}var qyt=Dt("ZodPipe",(e,r)=>{mpe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Ume(e,a,i,f),e.in=r.in,e.out=r.out});function lhe(e,r){return new qyt({type:"pipe",in:e,out:r})}var Vyt=Dt("ZodReadonly",(e,r)=>{hpe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>qme(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function Hyt(e){return new Vyt({type:"readonly",innerType:e})}var Wyt=Dt("ZodLazy",(e,r)=>{gpe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Vme(e,a,i,f),e.unwrap=()=>e._zod.def.getter()});function SV(e){return new Wyt({type:"lazy",getter:e})}var Mhe=Dt("ZodCustom",(e,r)=>{Mpe.init(e,r),Ra.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Cme(e,a,i,f)});function Gyt(e,r={}){return dme(Mhe,e,r)}function Kyt(e,r){return Zme(e,r)}function vhe(e,r={}){let a=new Mhe({type:"custom",check:"custom",fn:(i)=>i instanceof e,abort:!0,...kr(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 Qn={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 xhe;(function(e){})(xhe||(xhe={}));var D2={};Ne(D2,{bigint:()=>ebt,boolean:()=>$yt,date:()=>tbt,number:()=>Jyt,string:()=>Qyt});function Qyt(e){return Lpe(_V,e)}function Jyt(e){return tme(f4,e)}function $yt(e){return ame(wV,e)}function ebt(e){return nme(uhe,e)}function tbt(e){return cme(zV,e)}var s4={human:"human",agent:"agent"};var LV={editor:"editor",reviewer:"reviewer"};var yhe={team:"team",project:"project"};var bhe={all_members:"all_members",each_member:"each_member",selected_members:"selected_members"};var _he={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"},Ge={TODO:"TODO",READY:"READY",IN_PROGRESS:"IN_PROGRESS",BLOCKED:"BLOCKED",IN_REVIEW:"IN_REVIEW",DONE:"DONE"},Or={LOW:"LOW",MEDIUM:"MEDIUM",HIGH:"HIGH",URGENT:"URGENT"},gs={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"},whe={chat:"chat",autofill:"autofill",embedding:"embedding"};var rbt=["avatar-1","avatar-2","avatar-3","avatar-4","avatar-5","avatar-6","avatar-7","avatar-8"];var obt={"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/b2dMMLNdN3KjGjeGMzQe4UURLfl5oiFEw5Pu5y0fFhDnYhvS7Ezpsb54rvwP+ycBblMc5VRkMxpWgi7zlkUUOIzcsp8rJvOWHryMg36mIXa1xMNyp2rhlY3Vgul9+8VfT412zRHaz12VW/qh9l67/CDtCsnUBGO/e8J1mT9RAmfZTCKX+ecvAjhxyIeUEAg5olYzZSkgLNrAf+HFBHtihqoNZNUgRB+NKEfWCXPqAmsILE+/Ap/wD2FlHj0Q1Qk8PrAN9C/f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ACVUzGy678cj/fDKSBH/7hlbS4hB6It3rJbQTz8zCfQ2WdhV7n27w4n5o3cyZK2PDXtRnQqBXpHxIxrxRPcUB/GO9z8TzlY2e0cexQbZ3HkD/bupeupZVrpjIq1k9/EwyB+EEGeNHb63rBnxbgSVuEWo0b3WihxMTaZTyre7jogHA2nw8INlzaWrb2Is+v9I5xQN5elt2+hXPAyR160GZ6Ij6NAJPHLEMhw5M7JszydIJxX6bekzNdInyXDwLp5B/pGOIBmgYqQj3NERx5UzJGwruLTFZvHgUj42OMzurfF7niHyu6gM//+uZn94CG5+kMmCCldqOGMrVqWosLAAAAA=="},Ic=rbt.map((e)=>({id:e,preview:`data:image/webp;base64,${obt[e]}`}));var zhe=Sa(whe),Tc=ot(["off","minimal","low","medium","high","xhigh"]),kV=ot(["owner","editor","reviewer"]),Ig=["delete_asset"],abt=P({id:p().optional(),skillId:p(),skill:P({id:p(),name:p()}).optional()}),bvn=P({id:p(),name:p(),type:zhe,enabled:Yr(),permission:kV.optional().default("reviewer"),avatar:p().optional(),avatarPreset:p().optional(),providerId:p().optional(),modelId:p().optional(),thinkingLevel:Tc.optional().default("off"),systemPrompt:p().optional(),soul:p().optional(),skills:te(abt).optional(),mcpServerIds:te(p()).optional(),deniedTools:te(p()).optional()}),She=P({name:p().min(1),type:zhe,enabled:Yr().optional().default(!0),permission:kV.optional(),avatar:p().optional(),providerId:p().optional(),modelId:p().optional(),thinkingLevel:Tc.optional().default("off"),systemPrompt:p().optional(),soul:p().optional(),skills:te(p()).optional(),mcpServerIds:te(p()).optional(),deniedTools:te(p()).optional()}),_vn=She.superRefine((e,r)=>{if(e.type==="chat"||e.type==="autofill"){if(!e.providerId)r.addIssue({code:Qn.custom,message:"providerId is required for chat/autofill agents",path:["providerId"]});if(!e.modelId)r.addIssue({code:Qn.custom,message:"modelId is required for chat/autofill agents",path:["modelId"]})}}),wvn=She.superRefine((e,r)=>{if(e.type==="chat"||e.type==="autofill"){if(!e.providerId)r.addIssue({code:Qn.custom,message:"providerId is required for chat/autofill agents",path:["providerId"]});if(!e.modelId)r.addIssue({code:Qn.custom,message:"modelId is required for chat/autofill agents",path:["modelId"]})}}),zvn=P({permission:kV}),Svn=P({id:p(),sessionId:p(),entry:HZ()}),Lvn=P({id:p(),name:p().nullable().optional(),type:p(),createdAt:p(),creator:P({id:p(),name:p().nullable().optional(),email:p().nullable().optional(),image:p().nullable().optional()}).nullable().optional(),agentId:p().optional()});var Rvn=P({apiKey:p().optional(),baseUrl:p().optional(),chatModels:te(p()).optional()}),nbt=ot(["1h","24h","7d","30d"]),Pvn=P({timeframe:nbt.default("30d"),userId:p().optional()});var nz=P({cursor:p().optional(),total:nr().optional(),totalSize:nr().optional()}),Fl=P({first:D2.number().optional(),after:p().optional()});var jvn=P({data:te(SV(()=>cbt)),pageInfo:nz}),khe=P({proxyType:ot(["image","video","audio","pdf"]).nullable().optional(),thumbnailUrl:p().optional(),originalHeight:nr().optional(),originalWidth:nr().optional(),spriteUrl:p().optional(),duration:nr().optional(),pageCount:nr().optional()}),ibt=P({type:p().nullable(),preview:khe.nullable()}),l4=P({id:p(),name:p(),image:p().optional()}),Lhe=P({id:p(),name:p()}),fbt=P({fieldId:p(),value:vl()}),sbt=P({id:p(),name:p()}),lbt=P({duration:nr().optional(),originalWidth:nr().optional(),originalHeight:nr().optional(),frameRate:nr().optional(),totalFrames:nr().optional(),startTimecode:p().optional()}),cbt=P({id:p(),name:p(),sizeByte:nr(),fileCount:nr(),type:p(),targetType:p().optional().nullable(),status:p(),proxyType:ot(["image","video","audio","pdf"]).nullable().optional(),latestChildren:te(ibt).optional(),preview:khe.nullable().optional(),createdAt:p(),updatedAt:p(),deletedAt:p().nullable().optional(),projectId:p().optional().nullable(),creator:l4.nullable().optional(),agentId:p().optional().nullable(),agent:Lhe.optional().nullable(),fieldValues:te(fbt).optional(),sortIndex:p().optional().nullable(),startTime:nr().optional().nullable(),endTime:nr().optional().nullable(),hasAgentsMd:Yr().optional(),media:P({original:P({key:p().optional()}).optional(),videoTranscodes:te(P({id:p(),url:p(),key:p(),width:nr(),height:nr(),size:nr()})).optional(),imageTranscodes:te(P({id:p(),url:p(),key:p(),width:nr(),height:nr(),size:nr()})).optional(),videoPreview:P({url:p(),key:p().optional()}).optional(),pdfTranscode:P({url:p(),key:p().optional()}).optional(),proxyType:ot(["image","video","audio","pdf"]).nullable().optional(),metadata:lbt.optional()}).optional(),ancestorFolders:te(sbt).optional(),versionStack:P({id:p(),versions:te(P({version:nr(),current:Yr(),id:p(),name:p().optional().nullable(),previewUrl:p().optional().nullable(),createdAt:p().optional().nullable(),creator:P({id:p(),name:p().nullable(),image:p().optional().nullable()}).nullable().optional(),agent:Lhe.optional().nullable()}))}).optional().nullable()}),Nvn=P({name:p(),type:p(),projectId:p().optional(),parentId:p().optional(),key:p().optional(),sizeByte:nr().optional(),contentType:p().optional(),creatorId:p().optional(),agentId:p().optional()}),Fvn=P({assetId:p()}),Bvn=P({id:p(),name:p()}),IV=ot(["file","folder","all"]),Yvn=P({assetId:p().optional(),assetType:IV.optional().default("all"),projectId:p().optional(),showDeleted:Yr().optional(),prefix:p().optional(),sort:p().optional(),order:p().optional(),...Fl.shape}),Uvn=P({assetId:p(),userId:p(),replyToId:p().optional(),message:p(),annotations:vl().optional(),second:nr().optional(),attachmentIds:te(p())}),ubt=P({id:p(),assetId:p(),url:p(),proxyType:ot(["image","video","audio","pdf"]).nullable().optional()}),dbt=P({id:p(),assetId:p(),message:p().nullable(),annotations:vl(),second:nr().nullable(),creator:l4,replies:te(SV(()=>dbt)),attachments:te(ubt),mentions:te(l4),createdAt:p(),updatedAt:p(),sessionId:p().nullable(),isCompleted:Yr(),completionLastChangedBy:l4.nullable()}),qvn=P({isCompleted:Yr()}),Vvn=P({newParentId:p(),assetIds:te(p()),creatorId:p().optional()}),Hvn=P({newParentId:p(),assetIds:te(p()),withComments:Yr().default(!1),creatorId:p().optional()}),Wvn=P({name:p()}),Gvn=P({beforeIndex:p().optional(),afterIndex:p().optional()}),Kvn=P({ids:te(p())}),Xvn=P({ids:te(p())}),Qvn=P({file:vhe(File)}),Jvn=P({key:p()}),$vn=P({fileName:p(),contentType:p(),size:nr()}),e8n=P({id:p(),uploadUrl:p()}),t8n=P({ids:te(p())}),Zbt=P({id:p(),name:p(),url:p()}),r8n=P({files:te(Zbt)});var n8n=P({userCount:nr()}),i8n=P({name:p().min(1,"Name is required").max(100,"Name is too long")}),f8n=P({id:p(),token:p(),name:p(),createdAt:p()});var pbt=ot(["is","eq","neq","gt","gte","lt","lte","contains","notContains","isEmpty","isNotEmpty","in","notIn","hasAny","hasAll","hasNone","isWithin"]),mbt=P({field:p(),operator:pbt,value:vl()}),hbt=ot(["asc","desc"]),gbt=P({field:p(),order:hbt}),Mbt=ot(["AND","OR"]),vbt=ot(["file","folder"]),CV=P({operator:Mbt.optional().default("AND"),conditions:te(mbt).optional().default([]),sort:gbt.optional(),assetType:vbt.optional(),showSymlink:Yr().optional(),recursively:Yr().optional().default(!0),query:p().optional(),isSemantic:Yr().optional().default(!1)}),u8n=CV.extend(Fl.shape);var RV=P({sourceFolderId:p(),searchFilter:CV}),xbt=P({id:p(),name:p(),filter:RV,projectId:p(),createdAt:p(),updatedAt:p(),creator:P({id:p(),name:p(),image:p().optional().nullable()}).optional().nullable()}),h8n=P({name:p(),filter:RV}),g8n=P({name:p().optional(),filter:RV.optional()});var M8n=P({data:te(xbt),pageInfo:P({cursor:p().optional(),total:nr().optional()})});var y8n=P({name:p(),parentId:p()}),b8n=P({name:p()}),_8n=P({ids:te(p())}),w8n=P({ids:te(p())}),z8n=P({content:p().max(1e5)});var I8n=P({code:p(),role:p(),teamId:p(),teamName:p(),projectId:p().optional(),projectName:p().optional(),inviterName:p(),isUsed:Yr()}),C8n=P({role:Sa(LV)}),R8n=P({role:Sa(LV)}),P8n=P({code:p()});var Cr={text:"text",longText:"longText",select:"select",selectMulti:"selectMulti",rating:"rating",number:"number",toggle:"toggle",date:"date",user:"user",userMulti:"userMulti"},_r={NONE:"NONE",CONTENT:"CONTENT",CREATION_CONTEXT:"CREATION_CONTEXT"},O8n=P({id:p(),displayName:p(),color:p().optional()}),PV=P({name:p(),type:ot(["text","longText","select","selectMulti","rating","number","toggle","date","user","userMulti"]),autofillSource:Sa(_r).optional(),text:vl().optional(),longText:vl().optional(),select:vl().optional(),selectMulti:vl().optional(),rating:vl().optional(),number:vl().optional(),toggle:vl().optional(),date:vl().optional(),user:vl().optional(),userMulti:vl().optional()}),j8n=P({key:p().optional(),label:p().optional(),scope:p().optional(),config:PV,description:p().default("")}),N8n=P({label:p().optional(),config:PV,description:p().optional()}),ybt=P({fieldId:p(),visible:Yr()}),F8n=te(ybt),bbt=P({key:p(),value:vl()}),B8n=te(bbt),Y8n=P({id:p(),config:PV,scope:p(),readOnly:Yr(),visible:Yr(),description:p()});var Ihe=ot(["auto","none","bearer","oauth"]),TV=ot(["streamable_http","sse"]),c4=ot(["owner","editor","reviewer"]),_bt=P({grantType:ot(["authorization_code","client_credentials"]).optional(),clientId:p().optional(),clientSecret:p().optional(),scope:p().optional(),authorizationParams:KL(p(),p()).optional(),redirectUri:p().optional(),clientName:p().optional(),clientUri:p().optional(),skipIssuerMetadataValidation:Yr().optional()}),Che=P({type:Ihe.optional(),bearerToken:p().optional(),headers:KL(p(),p()).optional(),oauth:_bt.optional()}),AV=P({excludeTools:te(p()).optional(),requestTimeoutMs:nr().int().positive().optional(),idleTimeoutMs:nr().int().positive().optional(),keepAlive:Yr().optional(),protocolVersion:ot(["legacy","auto","2026-07-28"]).optional(),directTools:te(p()).optional()}),wbt=P({name:p(),title:p().optional(),description:p().optional(),inputSchema:HZ().optional()}),V8n=P({url:p().url(),transport:TV.optional(),authConfig:Che.optional(),config:AV.optional(),permission:c4.optional()}),H8n=P({transport:TV.optional(),authConfig:Che.optional(),config:AV.optional(),permission:c4.optional()}),W8n=P({permission:c4}),zbt=P({id:p(),name:p(),description:p().optional(),instructions:p().optional(),url:p(),transport:TV,authType:Ihe,config:AV.optional(),permission:c4,status:p(),lastError:p().nullable().optional(),toolCount:nr(),hasCredential:Yr(),createdAt:p(),updatedAt:p()}),G8n=P({servers:te(zbt)}),K8n=P({}),X8n=P({tools:te(wbt)}),Rhe=ot(["authenticated","expired","not_authenticated","in_progress"]),Q8n=P({status:Rhe}),J8n=P({authorizationUrl:p().optional(),status:Rhe}),$8n=P({code:p(),iss:p().optional()}),exn=P({ok:Yr(),toolCount:nr(),message:p().optional()});var Phe=P({id:p().optional(),name:p().optional(),role:p().optional()}),The=P({id:p().optional(),name:p().optional()}),Sbt=P({id:p().optional(),proxyType:ot(["image","video","audio","pdf"]).nullable().optional(),name:p().optional(),preview:p().optional(),thumbnailUrl:p().optional(),originalWidth:nr().optional(),originalHeight:nr().optional()}),Lbt=P({id:p().optional(),title:p().optional(),status:p().optional()}),oxn=P({id:p().optional(),creator:Phe.optional(),type:p().optional(),team:The.optional(),project:The.optional(),asset:Sbt.optional(),kanbanTask:Lbt.optional(),user:Phe.optional(),createdAt:p().optional(),isRead:Yr().optional()}),axn=P({unreadOnly:Oa([Yr(),p()]).transform((e)=>e===!0||e==="true").optional(),after:p().optional(),pageSize:D2.number().optional()}),nxn=P({notificationId:p().min(1)}),ixn=P({comments:Yr().default(!0),replies:Yr().default(!0),mentions:Yr().default(!0),yourUploads:Yr().default(!1),otherUploads:Yr().default(!0),statusUpdates:Yr().default(!0),kanbanTasks:Yr().default(!0),kanbanComments:Yr().default(!0)});var dxn=P({name:p(),coverImageKey:p().optional(),enableNotification:Yr().default(!0)}),Zxn=P({name:p().optional(),coverImageKey:p().optional(),enableNotification:Yr().optional()}),kbt=P({id:p(),name:p(),teamId:p(),rootFolder:p().optional(),coverImage:p().optional(),coverImageKey:p().optional(),enableNotification:Yr(),updatedAt:Oa([p(),ei()])}),pxn=P({sortBy:p().optional(),sortDirection:ot(["asc","desc"]).optional()}).merge(Fl),mxn=P({data:te(kbt),pageInfo:nz}),hxn=P({teamId:p()}),gxn=P({id:p(),name:p(),role:ot(["owner","editor","reviewer","bot","unknown"]),type:Sa(s4).optional(),image:p().optional(),scope:ot(["team","project"]).optional(),hasCustomRole:Yr().optional()}),Mxn=P({assetType:IV.optional().default("all"),sort:ot(["createdAt","name","size"]).optional(),order:ot(["asc","desc"]).optional()}).merge(Fl),vxn=P({role:ot(["editor","reviewer"])}),xxn=P({userId:p(),role:ot(["owner","editor","reviewer"])}),yxn=P({id:p(),name:p(),role:ot(["owner","editor","reviewer","bot","unknown"]),image:p().optional()});var Mc=["openai-completions","mistral-conversations","openai-responses","azure-openai-responses","openai-codex-responses","anthropic-messages","bedrock-converse-stream","google-generative-ai","google-vertex"],u4=P({api:ot(Mc).optional(),reasoning:Yr().default(!1),input:te(ot(["text","image"])).default(["text"]),contextWindow:nr().int().positive().default(128000),maxTokens:nr().int().positive().default(4096),cost:P({input:nr().nonnegative().default(0),output:nr().nonnegative().default(0),cacheRead:nr().nonnegative().default(0),cacheWrite:nr().nonnegative().default(0)})}),DV=P({id:p().optional(),modelId:p().min(1,"Model ID is required"),name:p().min(0).default(""),config:u4}),Us=P({baseUrl:p().url("Must be a valid URL").optional().or(PM("")),apiKey:p().optional().or(PM("")),api:ot(Mc),headers:KL(p(),p()).optional(),authHeader:Yr().optional()}),wxn=P({name:p().min(1,"Provider name is required"),config:Us,models:te(DV).default([])}),zxn=P({name:p().min(1,"Provider name is required").optional(),config:Us,models:te(DV).optional()}),Tg=P({modelId:p().min(1,"Model ID is required"),name:p().min(0).default(""),config:u4}),Sxn=P({modelId:p().min(1,"Model ID is required").optional(),name:p().min(0).optional(),config:u4.optional()}),Lxn=P({id:p(),name:p(),isBuiltin:Yr(),config:Us,models:te(DV).optional(),modelsCount:nr().optional(),createdAt:ei(),updatedAt:ei()}),Ahe=P({modelId:p().min(1),name:p().default(""),config:u4}),Ibt=P({name:p(),isNewProvider:Yr(),config:Us,models:te(Ahe)}),kxn=P({providers:te(Ibt),totalNewProviders:nr(),totalNewModels:nr()}),Ixn=P({providers:te(P({name:p(),isNewProvider:Yr(),config:Us,models:te(Ahe)}))}),Cxn=P({addedProviders:nr(),addedModels:nr()});var Axn=P({name:p().min(1),expireAt:p().datetime().optional(),password:p().optional(),isDisabled:Yr().optional(),allowDownload:Yr().optional(),defaultSortOrder:p().optional(),viewMode:p().optional()}),Dxn=P({name:p().min(1).optional(),expireAt:p().datetime().optional().nullable(),password:p().optional().nullable(),isDisabled:Yr().optional(),allowDownload:Yr().optional(),defaultSortOrder:p().optional().nullable(),viewMode:p().optional().nullable(),fieldVisibility:KL(p(),Yr()).optional().nullable()}),Exn=Fl.extend({projectId:p().optional()}),Oxn=P({assetIds:te(p().min(1)).min(1)});var Fxn=P({assetId:p().optional(),githubUrl:p().optional(),override:Yr().optional()}),Bxn=P({config:P({environmentVariables:te(P({name:p(),default:p().optional()}))})}),Yxn=P({permission:ot(["owner","editor","reviewer"])});var Wxn=P({name:p()}),Cbt=P({id:p(),name:p(),rootFolder:p().optional(),updatedAt:Oa([p(),ei()])});var Gxn=P({data:te(Cbt),pageInfo:nz}),Kxn=P({teamId:p(),userId:p()}),Xxn=P({id:p(),name:p(),email:p().optional(),role:ot(["owner","editor","reviewer","bot","unknown"]),image:p().optional(),unreadNotificationCount:nr().optional()}),Qxn=P({name:p().optional(),imageKey:p().nullable().optional()}),Jxn=P({id:p(),name:p(),role:ot(["owner","editor","reviewer","bot","unknown"]),email:p().optional(),type:Sa(s4).optional(),image:p().optional(),scope:Sa(yhe).optional()}),$xn=P({includeAgents:p().optional().transform((e)=>e==="true")}),Ya={best_match:"best_match",all:"all"},yi={off:"off",auto:"auto"},eyn=Oa([P({key:PM("transcode.videoStrategy"),value:Sa(Ya)}),P({key:PM("transcode.hardwareAcceleration"),value:Sa(yi)})]),tyn=P({networkSandboxEnabled:Yr(),allowedDomains:te(p()),pendingDomains:te(p()).default([])}),ryn=P({networkSandboxEnabled:Yr().optional(),allowedDomains:te(p()).optional(),pendingDomains:te(p()).optional()}),oyn=P({role:ot(["editor","reviewer"])});var Dhe=SV(()=>P({name:p(),id:p(),size:nr(),children:te(Dhe),type:p(),mediaType:p().optional()})),iyn=P({parentId:p(),files:te(Dhe)}),Rbt=P({id:p(),fileId:p(),url:p()}),fyn=P({taskId:p(),presignedUrls:te(Rbt),createdAssets:te(P({tempId:p(),assetId:p()})).optional()}),syn=P({fileId:p(),errorMessage:p().optional()}),lyn=P({id:p(),name:p(),total:nr(),uploaded:nr(),createdAt:p()}),cyn=P({bucket:p(),key:p(),Signature:p()}),uyn=P({file:vhe(File)});var Pbt=P({key:p(),value:HZ()}),pyn=P({value:HZ()}),myn=te(Pbt);var Myn=P({fileIds:te(p())}),vyn=P({fileId:p(),beforeId:p()}),xyn=P({id:p(),version:nr(),name:p().optional().nullable(),previewUrl:p().optional().nullable(),createdAt:p().optional().nullable(),creator:P({id:p(),name:p().nullable(),image:p().optional().nullable()}).nullable().optional(),agent:P({id:p(),name:p()}).nullable().optional()});var _yn=P({agentId:p(),textPrompt:p().optional(),attachedFiles:te(p()).optional(),assetIds:te(p()).optional(),sessionId:p().optional(),contextAssetId:p().optional(),projectId:p().optional(),second:nr().nullable().optional(),annotations:te(KL(p(),HZ())).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:Qn.custom,message:"At least one of textPrompt, attachedFiles, assetIds, or annotations must be provided.",path:["textPrompt"]})}),wyn=P({id:p(),agentId:p(),userId:p().nullable(),assetId:p().nullable(),userCommentId:p().nullable(),name:p().nullable().optional(),createdAt:p(),updatedAt:p()}),Tbt=P({id:p(),name:p(),type:p(),mediaType:ot(["image","video","pdf","audio","other"]).optional(),mimeType:p().optional(),parentId:p().optional(),path:p().optional(),durationSeconds:nr().optional(),totalFrames:nr().optional(),totalPages:nr().optional(),navigated:Yr().optional(),ancestors:te(P({id:p(),name:p()})).optional()}),Ehe=P({id:p(),name:p(),type:p(),mediaType:ot(["image","video","pdf","audio","other"]).optional(),mimeType:p().optional(),path:p().optional(),url:p().optional()}),Abt=Zhe("type",[P({type:PM("time"),seconds:nr()}),P({type:PM("page"),page:nr()})]),Dbt=P({id:p(),replyCount:nr().optional()}),zyn=P({id:p().optional(),user:P({id:p(),name:p(),role:p()}).optional(),thread:Dbt.optional(),currentAsset:Tbt.optional(),position:Abt.optional(),annotation:Yr().optional(),annotations:te(KL(p(),HZ())).optional(),attachedFiles:te(Ehe).optional(),referencedAssets:te(Ehe).optional()}),Syn=phe(P({id:p()}),HZ());var dl;(($e)=>{$e.team_create="team_create";$e.team_update="team_update";$e.team_delete="team_delete";$e.team_member_add="team_member_add";$e.team_member_update="team_member_update";$e.team_member_remove="team_member_remove";$e.project_create="project_create";$e.project_update="project_update";$e.project_delete="project_delete";$e.project_empty_trash="project_empty_trash";$e.project_member_add="project_member_add";$e.project_member_update="project_member_update";$e.project_member_remove="project_member_remove";$e.file_create="file_create";$e.file_update="file_update";$e.file_delete="file_delete";$e.folder_create="folder_create";$e.folder_update="folder_update";$e.folder_delete="folder_delete";$e.asset_reparent="asset_reparent";$e.asset_copy="asset_copy";$e.share_create="share_create";$e.share_update="share_update";$e.share_delete="share_delete";$e.agent_create="agent_create";$e.agent_update="agent_update";$e.agent_delete="agent_delete";$e.skill_create="skill_create";$e.skill_update="skill_update";$e.skill_delete="skill_delete";$e.mcp_server_create="mcp_server_create";$e.mcp_server_update="mcp_server_update";$e.mcp_server_delete="mcp_server_delete";$e.provider_create="provider_create";$e.provider_update="provider_update";$e.provider_delete="provider_delete";$e.invite_create="invite_create";$e.invite_revoke="invite_revoke";$e.metadata_field_create="metadata_field_create";$e.metadata_field_update="metadata_field_update";$e.metadata_field_delete="metadata_field_delete";$e.comment_create="comment_create";$e.comment_update="comment_update";$e.comment_delete="comment_delete";$e.comment_complete="comment_complete";$e.quota_rule_create="quota_rule_create";$e.quota_rule_update="quota_rule_update";$e.quota_rule_delete="quota_rule_delete";$e.quota_record_reset="quota_record_reset";$e.quota_policy_create="quota_policy_create";$e.quota_policy_update="quota_policy_update";$e.quota_policy_delete="quota_policy_delete";$e.kanban_goal_create="kanban_goal_create";$e.kanban_goal_update="kanban_goal_update";$e.kanban_goal_delete="kanban_goal_delete";$e.kanban_task_create="kanban_task_create";$e.kanban_task_update="kanban_task_update";$e.kanban_task_delete="kanban_task_delete";$e.kanban_comment_create="kanban_comment_create";$e.kanban_comment_delete="kanban_comment_delete";$e.kanban_dependency_add="kanban_dependency_add";$e.kanban_dependency_remove="kanban_dependency_remove"})(dl||={});var Ebt=P({id:p(),action:Sa(dl),teamId:p(),userId:p().nullable().optional(),agentId:p().nullable().optional(),agent:P({id:p(),name:p()}).nullable().optional(),projectId:p().nullable().optional(),itemId:p().nullable().optional(),createdAt:p()}),Iyn=P({first:D2.number().optional(),after:p().optional(),actions:Oa([Sa(dl),te(Sa(dl))]).transform((e)=>Array.isArray(e)?e:[e]).optional(),userIds:Oa([p(),te(p())]).transform((e)=>Array.isArray(e)?e:[e]).optional(),agentIds:Oa([p(),te(p())]).transform((e)=>Array.isArray(e)?e:[e]).optional(),itemId:p().optional()}),Cyn=P({nodes:te(Ebt),pageInfo:P({hasNextPage:Yr(),endCursor:p().nullable()}),total:nr()});var Obt=P({id:p(),type:PM("text"),x:nr().min(0).max(1),y:nr().min(0).max(1),opacity:nr().min(0).max(1),rotation:nr().min(-180).max(180),text:p(),size:nr().positive().max(1),color:p()}),jbt=P({id:p(),type:PM("image"),x:nr().min(0).max(1),y:nr().min(0).max(1),opacity:nr().min(0).max(1),rotation:nr().min(-180).max(180),imageAssetKey:p().min(1),imageAssetUrl:p().optional(),size:nr().positive().max(1)}),Nbt=Zhe("type",[Obt,jbt]),EV=P({blocks:te(Nbt)}),Tyn=P({name:p().min(1),teamId:p().optional(),config:EV}),Ayn=P({name:p().min(1).optional(),config:EV.optional()}),Dyn=P({enabled:Yr(),config:EV.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 OV=Sa(bhe),jV=ot(["1hour","5hour","1day","7day","one_hour","five_hours","one_day","seven_days"]);function Rc(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 NV=Sa(_he),FV=ot(["owner","editor","reviewer"]),Ohe=P({id:p().min(1,"MCP server ID is required")}),jhe=P({match:p().min(1,"Bash match wildcard is required")}),Nhe=P({name:p().min(1,"Tool name is required")}),BV=KL(p(),HZ()),Fbt=P({id:p().nullable(),ruleId:p(),teamId:p(),userId:p().nullable().optional(),user:P({id:p(),name:p(),email:p(),image:p().nullable().optional()}).nullable().optional(),periodStart:p().nullable().optional(),periodEnd:p().nullable().optional(),consumed:nr(),remaining:nr(),percent:nr(),isWindowActive:Yr()}),Fyn=P({records:te(Fbt),total:nr()}),Bbt=P({id:p(),teamId:p(),scopeMode:OV,role:FV.nullable().optional(),userIds:te(p()).nullable().optional(),resource:NV,resourceData:BV.nullable().optional(),limit:nr(),period:jV,enabled:Yr(),recordsCount:nr().optional(),createdAt:p(),updatedAt:p()}),Byn=P({rules:te(Bbt),total:nr()}),Yyn=P({scopeMode:OV,role:FV.optional().nullable(),userIds:te(p()).optional().nullable(),resource:NV,resourceData:BV.optional().nullable(),limit:nr().positive("Limit must be greater than 0"),period:jV,enabled:Yr().optional().default(!0)}).superRefine((e,r)=>{if(e.scopeMode==="selected_members"){if(!e.userIds||e.userIds.length===0)r.addIssue({code:Qn.custom,message:'userIds must contain at least one user when scopeMode is "selected_members"',path:["userIds"]})}if(e.resource==="agent_mcp_call_count"){if(!Ohe.safeParse(e.resourceData).success)r.addIssue({code:Qn.custom,message:"resourceData.id is required for agent_mcp_call_count",path:["resourceData","id"]})}else if(e.resource==="agent_bash_call_count"){if(!jhe.safeParse(e.resourceData).success)r.addIssue({code:Qn.custom,message:"resourceData.match is required for agent_bash_call_count",path:["resourceData","match"]})}else if(e.resource==="agent_tool_call_count"){if(!Nhe.safeParse(e.resourceData).success)r.addIssue({code:Qn.custom,message:"resourceData.name is required for agent_tool_call_count",path:["resourceData","name"]})}}),Uyn=P({userId:p().nullable()}),qyn=P({scopeMode:OV.optional(),role:FV.optional().nullable(),userIds:te(p()).optional().nullable(),resource:NV.optional(),resourceData:BV.optional().nullable(),limit:nr().positive("Limit must be greater than 0").optional(),period:jV.optional(),enabled:Yr().optional()}).superRefine((e,r)=>{if(e.scopeMode==="selected_members"&&e.userIds!==void 0){if(!e.userIds||e.userIds.length===0)r.addIssue({code:Qn.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(!Ohe.safeParse(e.resourceData).success)r.addIssue({code:Qn.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(!jhe.safeParse(e.resourceData).success)r.addIssue({code:Qn.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(!Nhe.safeParse(e.resourceData).success)r.addIssue({code:Qn.custom,message:"resourceData.name is required for agent_tool_call_count",path:["resourceData","name"]})}});var Ja="unassigned",Wyn=P({title:p().min(1),description:p().optional()}),Gyn=P({title:p().min(1).optional(),description:p().nullable().optional()}),Ybt=P({id:p(),title:p(),description:p().nullable().optional(),teamId:p(),creatorId:p().nullable().optional(),taskCount:nr().optional(),createdAt:Oa([p(),ei()]),updatedAt:Oa([p(),ei()])}),Kyn=P({}),Xyn=P({data:te(Ybt)});var TM=P({id:p(),name:p(),image:p().optional()}),Ubt=P({summary:p().optional(),blockReason:p().optional(),blockKind:p().optional(),reason:p().optional(),assets:te(P({id:p(),type:p().optional(),name:p().optional(),description:p().optional()})).optional()}).passthrough(),YV=P({id:p(),taskId:p(),actor:TM.nullable().optional(),type:Sa(gs),fromStatus:Sa(Ge).nullable().optional(),toStatus:Sa(Ge).nullable().optional(),data:Ubt.nullable().optional(),createdAt:Oa([p(),ei()])}),ebn=P({data:te(YV)});var qbt=P({id:p(),name:p(),key:p(),sizeByte:nr(),contentType:p().nullable().optional(),proxyType:ot(["image","video","audio","pdf"]).nullable().optional()}),Vbt=P({id:p(),name:p(),sizeByte:nr(),contentType:p().nullable().optional(),url:p(),proxyType:ot(["image","video","audio","pdf"]).nullable().optional()}),abn=P({id:p(),name:p(),key:p(),sizeByte:nr(),contentType:p().nullable().optional(),uploadUrl:p(),proxyType:ot(["image","video","audio","pdf"]).nullable().optional()}),nbn=P({body:p().default(""),attachments:te(qbt).optional()}).refine((e)=>e.body.trim().length>0||e.attachments&&e.attachments.length>0,{message:"Comment body or attachments required"}),UV=P({id:p(),taskId:p(),author:TM,body:p(),attachments:te(Vbt).default([]),createdAt:Oa([p(),ei()]),updatedAt:Oa([p(),ei()])}),ibn=P({data:te(UV)});var Zbn=P({title:p().min(1),description:p().optional(),isAgentTask:Yr().optional(),priority:Sa(Or).optional(),startDate:Oa([p(),ei()]).optional(),dueDate:Oa([p(),ei()]).optional(),goalId:p().optional(),projectId:p().optional(),reporterId:p().optional(),assigneeId:p().optional(),targetFolderId:p().optional(),parentIds:te(p()).optional(),assetIds:te(p()).optional()}),pbn=P({fromStatus:Sa(Ge).optional(),title:p().min(1).optional(),description:p().nullable().optional(),status:Sa(Ge).optional(),reason:p().optional(),priority:Sa(Or).optional(),startDate:Oa([p(),ei()]).nullable().optional(),dueDate:Oa([p(),ei()]).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()}),mbn=P({status:Sa(Ge).optional(),isAgentTask:Oa([Yr(),p()]).transform((e)=>e===!0||e==="true").optional(),goalId:p().optional(),projectId:p().optional(),priority:Sa(Or).optional(),assigneeId:p().optional(),reporterId:p().optional()}).merge(Fl),Hbt=P({id:p(),type:Sa(gs),actor:TM.nullable().optional(),summary:p().optional(),blockReason:p().optional(),blockKind:p().optional(),reason:p().optional(),createdAt:Oa([p(),ei()])}),Wbt=P({id:p(),title:p()}),Fhe=P({id:p(),title:p(),isAgentTask:Yr(),status:Sa(Ge),priority:Sa(Or),sortIndex:p().nullable().optional()}),Gbt=P({id:p(),name:p(),type:p(),proxyType:ot(["image","video","audio","pdf"]).nullable().optional(),thumbnailUrl:p().nullable().optional(),path:p(),creator:TM.nullable().optional(),sizeByte:nr().optional(),fileCount:nr().optional(),projectId:p().nullable().optional(),createdAt:Oa([p(),ei()])}),qV=P({id:p(),title:p(),description:p().nullable().optional(),isAgentTask:Yr(),status:Sa(Ge),priority:Sa(Or),startDate:Oa([p(),ei()]).nullable().optional(),dueDate:Oa([p(),ei()]).nullable().optional(),startedAt:Oa([p(),ei()]).nullable().optional(),completedAt:Oa([p(),ei()]).nullable().optional(),teamId:p(),projectId:p().nullable().optional(),sortIndex:p().nullable().optional(),creator:TM,reporter:TM.nullable().optional(),assignee:TM.nullable().optional(),goal:Wbt.nullable().optional(),targetFolderId:p().nullable().optional(),latestStatusEvent:Hbt.nullable().optional(),commentCount:nr().default(0),dependencyCount:nr().default(0),dependentCount:nr().default(0),assetCount:nr().default(0),createdAt:Oa([p(),ei()]),updatedAt:Oa([p(),ei()])}),hbn=qV.extend({dependencies:te(Fhe),dependents:te(Fhe),assets:te(Gbt),comments:te(UV),events:te(YV)}),gbn=P({data:te(qV),pageInfo:nz}),Mbn=P({taskId:p()}),vbn=P({assetIds:te(p())}),xbn=P({data:te(qV),total:nr()});var Ibn=P({assetId:p()});function Bhe(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function La(e,r){if(r===void 0||r===null)return"";return` ${e}="${Bhe(r)}"`}function Mg(e){if(!e)return"";let r=[];if(e.user){let a="";if(e.user.id!==void 0)a+=La("id",e.user.id);if(e.user.name!==void 0)a+=La("name",e.user.name);if(e.user.role!==void 0)a+=La("role",e.user.role);if(a)r.push(` <user${a} />`)}if(e.thread){let a="";if(e.thread.id!==void 0)a+=La("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+=La("id",a.id);if(a.name!==void 0)i+=La("name",a.name);if(a.type!==void 0)i+=La("type",a.type);if(a.mediaType!==void 0)i+=La("media_type",a.mediaType);if(a.mimeType!==void 0)i+=La("mime_type",a.mimeType);if(a.parentId!==void 0)i+=La("parent_id",a.parentId);if(a.path!==void 0)i+=La("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+=La("id",f.id);if(f.name!==void 0)s+=La("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="${Bhe(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+=La("id",i.id);if(i.name!==void 0)f+=La("name",i.name);if(i.type!==void 0)f+=La("type",i.type);if(i.mediaType!==void 0)f+=La("media_type",i.mediaType);if(i.mimeType!==void 0)f+=La("mime_type",i.mimeType);if(i.path!==void 0)f+=La("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+=La("id",i.id);if(i.name!==void 0)f+=La("name",i.name);if(i.path!==void 0)f+=La("path",i.path);r.push(` <folder${f} />`)}else{let f="";if(i.id!==void 0)f+=La("id",i.id);if(i.name!==void 0)f+=La("name",i.name);if(i.type!==void 0)f+=La("type",i.type);if(i.mediaType!==void 0)f+=La("media_type",i.mediaType);if(i.mimeType!==void 0)f+=La("mime_type",i.mimeType);if(i.path!==void 0)f+=La("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 rR=ot(["image","video"]),Kbt=ot(["configured_custom","configured_env","not_configured"]),Tbn=P({apiKey:p().optional().or(PM("")),models:te(P({type:rR,modelId:p().min(1,"Model ID is required"),name:p().optional()})).optional()});var Abn=P({type:rR,provider:p().min(1,"Provider is required"),modelId:p().min(1,"Model ID is required"),name:p().optional()}),Xbt=P({id:p(),type:rR,provider:p(),modelId:p(),name:p(),createdAt:p()}),Qbt=P({provider:p(),defaultEnvKey:p(),apiKeyConfigured:Yr(),status:Kbt,customApiKeyOrEnv:p().optional(),supportedTypes:te(rR)}),Dbn=P({providers:te(Qbt),enabledModels:te(Xbt)}),Ebn=P({modelId:p(),name:p(),type:rR}),Obn=P({provider:p().optional(),type:rR.optional()});var Rg=[Ge.TODO,Ge.READY,Ge.IN_PROGRESS,Ge.BLOCKED,Ge.IN_REVIEW,Ge.DONE];function Vn(e){switch(e){case Ge.TODO:return Dct();case Ge.READY:return Pct();case Ge.IN_PROGRESS:return Sct();case Ge.BLOCKED:return fg();case Ge.IN_REVIEW:return Ict();case Ge.DONE:return _ct();default:return e}}function gp(e){switch(e){case Ge.TODO:return{badge:"bg-muted text-muted-foreground border-border",border:"border-border",dot:"bg-muted-foreground",bg:"bg-muted/30"};case Ge.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 Ge.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 Ge.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 Ge.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 Ge.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 iz(e){return gp(e).badge}function zs(e){switch(e){case Or.LOW:return Ztt();case Or.MEDIUM:return htt();case Or.HIGH:return ctt();case Or.URGENT:return vtt();default:return e}}function Fs(e){switch(e){case Or.LOW:return"bg-muted text-muted-foreground border-border";case Or.MEDIUM:return"bg-blue-500/10 text-blue-600 dark:text-blue-400 border-blue-500/20";case Or.HIGH:return"bg-amber-500/10 text-amber-600 dark:text-amber-400 border-amber-500/20";case Or.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"}}C();function Xa({className:e,...r}){return t("textarea",{"data-slot":"textarea",className:E("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 G({className:e,...r}){return t(tIe,{"data-slot":"label",className:E("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(qCe,{"data-slot":"switch","data-size":r,className:E("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(HCe,{"data-slot":"switch-thumb",className:E("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 De({...e}){return t(sCe,{"data-slot":"select",...e})}function Ze({...e}){return t(dCe,{"data-slot":"select-value",...e})}function Le({className:e,size:r="default",children:a,...i}){return o(cCe,{"data-slot":"select-trigger","data-size":r,className:E("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(ZCe,{asChild:!0,children:t(_e,{className:"size-4 opacity-50"})})]})}function Be({className:e,children:r,position:a="item-aligned",align:i="center",...f}){return t(gCe,{children:o(MCe,{"data-slot":"select-content",className:E("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(Jbt,{}),t(wCe,{className:E("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($bt,{})]})})}function re({className:e,children:r,...a}){return o(LCe,{"data-slot":"select-item",className:E("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(CCe,{children:t(Te,{className:"size-4"})})}),t(kCe,{children:r})]})}function Jbt({className:e,...r}){return t(RCe,{"data-slot":"select-scroll-up-button",className:E("flex cursor-default items-center justify-center py-1",e),...r,children:t(si,{className:"size-4"})})}function $bt({className:e,...r}){return t(PCe,{"data-slot":"select-scroll-down-button",className:E("flex cursor-default items-center justify-center py-1",e),...r,children:t(_e,{className:"size-4"})})}C();function Yhe(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 e_t={},E2={};function fZ(e,r){try{let i=(e_t[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(r).split("GMT")[1];if(i in E2)return E2[i];return Uhe(i,i.split(":"))}catch{if(e in E2)return E2[e];let a=e?.match(t_t);if(a)return Uhe(e,a.slice(1));return NaN}}var t_t=/([+-]\d\d):?(\d\d)?/;function Uhe(e,r){let a=+(r[0]||0),i=+(r[1]||0),f=+(r[2]||0)/60;return E2[e]=a*60+i>0?a*60+i+f:a*60-i-f}class sZ 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(fZ(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)),Hhe(this,e)}static tz(e,...r){return r.length?new sZ(...r,e):new sZ(Date.now(),e)}withTimeZone(e){return new sZ(+this,e)}getTimezoneOffset(){let e=-fZ(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),d4(this),+this}[Symbol.for("constructDateFrom")](e){return new sZ(+new Date(e),this.timeZone)}}var qhe=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach((e)=>{if(!qhe.test(e))return;let r=e.replace(qhe,"$1UTC");if(!sZ.prototype[r])return;if(e.startsWith("get"))sZ.prototype[e]=function(){return this.internal[r]()};else sZ.prototype[e]=function(){return Date.prototype[r].apply(this.internal,arguments),r_t(this),+this},sZ.prototype[r]=function(){return Date.prototype[r].apply(this,arguments),d4(this),+this}});function d4(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-fZ(e.timeZone,e)*60))}function r_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()),Hhe(e)}function Hhe(e,r){let a=Array.isArray(r)?o_t(r):+e.internal,i=fZ(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 ne=Date.prototype.getHours.apply(e),xe=Array.isArray(r)?r[3]||0:e.internal.getUTCHours();if(ne!==xe){let Qe=new Date(+e),Fe=l-f;if(Fe)Qe.setUTCMinutes(Qe.getUTCMinutes()+Fe);let ye=fZ(e.timeZone,Qe);if((ye>0?Math.floor(ye):Math.ceil(ye))===f)g=c}}let M=g-f;if(M)Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+M);let x=new Date(+e);x.setUTCSeconds(0);let b=l>0?x.getSeconds():(x.getSeconds()-60)%60,y=Math.round(-(fZ(e.timeZone,e)*60))%60;if(y||b)Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+y+b);let _=fZ(e.timeZone,e),z=_>0?Math.floor(_):Math.ceil(_),k=-new Date(+e).getTimezoneOffset()-z,I=z!==f,Y=k-M,W=z-f,X=a-z*60*1000,J=W>0&&Vhe(e)-a===W*60*1000&&Vhe(e,X)!==a;if(I&&Y&&!J){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+Y);let ne=fZ(e.timeZone,e),xe=ne>0?Math.floor(ne):Math.ceil(ne),Qe=z-xe;if(Qe&&Y<0)Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+Qe)}d4(e);let ae=(r?a:a+y*1000)-+e.internal;if(ae&&Math.abs(ae)<1800000)Date.prototype.setTime.call(e,+e+ae),d4(e)}function o_t(e){return Date.UTC(e[0],e.length>1?e[1]:0,e.length>2?e[2]:1,...e.slice(3))}function Vhe(e,r){let a=new Date(r??+e);return a.setUTCSeconds(a.getUTCSeconds()-Math.round(-fZ(e.timeZone,a)*60)),+a}class Cn extends sZ{static tz(e,...r){return r.length?new Cn(...r,e):new Cn(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} (${Yhe(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 Cn(+this,e)}[Symbol.for("constructDateFrom")](e){return new Cn(+new Date(e),this.timeZone)}}function Whe(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 Z4(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 Ghe(e,r){let a=Z4(e,r),i=Whe(e,r);return r.addDays(a,i*7-1)}var O2={...SM,labels:{labelDayButton:(e,r,a,i)=>{let f;if(i&&typeof i.format==="function")f=i.format.bind(i);else f=(l,c)=>ir(l,c,{locale:SM,...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)=>ir(f,s,{locale:SM,...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)=>ir(l,c,{locale:SM,...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)=>ir(f,s,{locale:SM,...r});return i(e,"cccc")}}};class ti{constructor(e,r){this.today=()=>{if(this.overrides?.today)return this.overrides.today();if(this.options.timeZone)return Cn.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 Cn(a,i,f,this.options.timeZone);return new Date(a,i,f)},this.addDays=(a,i)=>this.overrides?.addDays?this.overrides.addDays(a,i):YI(a,i),this.addMonths=(a,i)=>this.overrides?.addMonths?this.overrides.addMonths(a,i):gi(a,i),this.addWeeks=(a,i)=>this.overrides?.addWeeks?this.overrides.addWeeks(a,i):c2(a,i),this.addYears=(a,i)=>this.overrides?.addYears?this.overrides.addYears(a,i):Tce(a,i),this.differenceInCalendarDays=(a,i)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(a,i):Q8(a,i),this.differenceInCalendarMonths=(a,i)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(a,i):S5(a,i),this.eachMonthOfInterval=(a)=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(a):Oce(a),this.eachYearOfInterval=(a)=>{let i=this.overrides?.eachYearOfInterval?this.overrides.eachYearOfInterval(a):Fce(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):Ghe(a,this),this.endOfISOWeek=(a)=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(a):Bce(a),this.endOfMonth=(a)=>this.overrides?.endOfMonth?this.overrides.endOfMonth(a):hd(a),this.endOfWeek=(a,i)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(a,i):k5(a,this.options),this.endOfYear=(a)=>this.overrides?.endOfYear?this.overrides.endOfYear(a):Nce(a),this.format=(a,i,f)=>{let s=this.overrides?.format?this.overrides.format(a,i,this.options):ir(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):HI(a),this.getMonth=(a,i)=>this.overrides?.getMonth?this.overrides.getMonth(a,this.options):Cc(a,this.options),this.getYear=(a,i)=>this.overrides?.getYear?this.overrides.getYear(a,this.options):Ec(a,this.options),this.getWeek=(a,i)=>this.overrides?.getWeek?this.overrides.getWeek(a,this.options):WI(a,this.options),this.isAfter=(a,i)=>this.overrides?.isAfter?this.overrides.isAfter(a,i):nue(a,i),this.isBefore=(a,i)=>this.overrides?.isBefore?this.overrides.isBefore(a,i):iue(a,i),this.isDate=(a)=>this.overrides?.isDate?this.overrides.isDate(a):z5(a),this.isSameDay=(a,i)=>this.overrides?.isSameDay?this.overrides.isSameDay(a,i):UI(a,i),this.isSameMonth=(a,i)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(a,i):fue(a,i),this.isSameYear=(a,i)=>this.overrides?.isSameYear?this.overrides.isSameYear(a,i):sue(a,i),this.max=(a)=>this.overrides?.max?this.overrides.max(a):Ace(a),this.min=(a)=>this.overrides?.min?this.overrides.min(a):Dce(a),this.setMonth=(a,i)=>this.overrides?.setMonth?this.overrides.setMonth(a,i):uue(a,i),this.setYear=(a,i)=>this.overrides?.setYear?this.overrides.setYear(a,i):due(a,i),this.startOfBroadcastWeek=(a,i)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(a,this):Z4(a,this),this.startOfDay=(a)=>this.overrides?.startOfDay?this.overrides.startOfDay(a):X8(a),this.startOfISOWeek=(a)=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(a):zM(a),this.startOfMonth=(a)=>this.overrides?.startOfMonth?this.overrides.startOfMonth(a):jce(a),this.startOfWeek=(a,i)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(a,this.options):nZ(a,this.options),this.startOfYear=(a)=>this.overrides?.startOfYear?this.overrides.startOfYear(a):L5(a),this.options={locale:O2,...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 ti.yearFirstLocales.has(e)?"year-first":"month-first"}formatMonthYear(e){let{locale:r,timeZone:a,numerals:i}=this.options,f=r?.code;if(f&&ti.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)}}ti.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 zi=new ti;class j2{constructor(e,r,a=zi){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 VV{constructor(e,r){this.date=e,this.weeks=r}}class HV{constructor(e,r){this.days=r,this.weekNumber=e}}var GV={};Ne(GV,{CaptionLabel:()=>a_t,Chevron:()=>n_t,Day:()=>i_t,DayButton:()=>f_t,Dropdown:()=>s_t,DropdownNav:()=>l_t,Footer:()=>c_t,Month:()=>u_t,MonthCaption:()=>d_t,MonthGrid:()=>Z_t,Months:()=>p_t,MonthsDropdown:()=>m_t,Nav:()=>h_t,NextMonthButton:()=>g_t,Option:()=>M_t,PreviousMonthButton:()=>v_t,Root:()=>x_t,Select:()=>y_t,Week:()=>b_t,WeekNumber:()=>z_t,WeekNumberHeader:()=>S_t,Weekday:()=>__t,Weekdays:()=>w_t,Weeks:()=>L_t,YearsDropdown:()=>k_t});C();function a_t(e){return j("span",{...e})}C();function n_t(e){let{size:r=24,orientation:a="left",className:i,style:f}=e;return j("svg",{className:i,style:f,width:r,height:r,viewBox:"0 0 24 24"},a==="up"&&j("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),a==="down"&&j("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),a==="left"&&j("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),a==="right"&&j("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}C();function i_t(e){let{day:r,modifiers:a,...i}=e;return j("td",{...i})}C();function f_t(e){let{day:r,modifiers:a,...i}=e,f=v(null);return h(()=>{if(a.focused)f.current?.focus()},[a.focused]),j("button",{ref:f,...i})}C();var hr;(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"})(hr||(hr={}));var ka;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(ka||(ka={}));var Bl;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(Bl||(Bl={}));var xl;(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"})(xl||(xl={}));C();var WV=wt(void 0);function fz(){let e=xt(WV);if(e===void 0)throw Error("useDayPicker() must be used within a custom component.");return e}function s_t(e){let{options:r,className:a,...i}=e,{classNames:f,components:s,styles:l}=fz(),c=[f[hr.Dropdown],a].join(" "),m=r?.find(({value:g})=>g===i.value);return j("span",{"data-disabled":i.disabled,className:f[hr.DropdownRoot],style:l?.[hr.DropdownRoot]},j(s.Select,{className:c,...i},r?.map(({value:g,label:M,disabled:x})=>j(s.Option,{key:g,value:g,disabled:x},M))),j("span",{className:f[hr.CaptionLabel],style:l?.[hr.CaptionLabel],"aria-hidden":!0},m?.label,j(s.Chevron,{orientation:"down",size:18,className:f[hr.Chevron],style:l?.[hr.Chevron]})))}C();function l_t(e){return j("div",{...e})}C();function c_t(e){return j("div",{...e})}C();function u_t(e){let{calendarMonth:r,displayIndex:a,...i}=e;return j("div",{...i},e.children)}C();function d_t(e){let{calendarMonth:r,displayIndex:a,...i}=e;return j("div",{...i})}C();function Z_t(e){return j("table",{...e})}C();function p_t(e){return j("div",{...e})}C();function m_t(e){let{components:r}=fz();return j(r.Dropdown,{...e})}C();function h_t(e){let{onPreviousClick:r,onNextClick:a,previousMonth:i,nextMonth:f,...s}=e,{components:l,classNames:c,styles:m,labels:{labelPrevious:g,labelNext:M}}=fz(),x=N((y)=>{if(f)a?.(y)},[f,a]),b=N((y)=>{if(i)r?.(y)},[i,r]);return j("nav",{...s},j(l.PreviousMonthButton,{type:"button",className:c[hr.PreviousMonthButton],style:m?.[hr.PreviousMonthButton],tabIndex:i?void 0:-1,"aria-disabled":i?void 0:!0,"aria-label":g(i),onClick:b},j(l.Chevron,{disabled:i?void 0:!0,className:c[hr.Chevron],style:m?.[hr.Chevron],orientation:"left"})),j(l.NextMonthButton,{type:"button",className:c[hr.NextMonthButton],style:m?.[hr.NextMonthButton],tabIndex:f?void 0:-1,"aria-disabled":f?void 0:!0,"aria-label":M(f),onClick:x},j(l.Chevron,{disabled:f?void 0:!0,orientation:"right",className:c[hr.Chevron],style:m?.[hr.Chevron]})))}C();function g_t(e){return j("button",{...e})}C();function M_t(e){return j("option",{...e})}C();function v_t(e){return j("button",{...e})}C();function x_t(e){let{rootRef:r,...a}=e;return j("div",{...a,ref:r})}C();function y_t(e){return j("select",{...e})}C();function b_t(e){let{week:r,...a}=e;return j("tr",{...a})}C();function __t(e){return j("th",{...e})}C();function w_t(e){return j("thead",{"aria-hidden":!0},j("tr",{...e}))}C();function z_t(e){let{week:r,...a}=e;return j("th",{...a})}C();function S_t(e){return j("th",{...e})}C();function L_t(e){return j("tbody",{...e})}C();function k_t(e){let{components:r}=fz();return j(r.Dropdown,{...e})}C();function Yl(e,r,a=!1,i=zi){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 oR(e){return Boolean(e&&typeof e==="object"&&"before"in e&&"after"in e)}function sz(e){return Boolean(e&&typeof e==="object"&&"from"in e)}function aR(e){return Boolean(e&&typeof e==="object"&&"after"in e)}function nR(e){return Boolean(e&&typeof e==="object"&&"before"in e)}function p4(e){return Boolean(e&&typeof e==="object"&&"dayOfWeek"in e)}function m4(e,r){return Array.isArray(e)&&e.every(r.isDate)}function uu(e,r,a=zi){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(m4(c,a))return c.some((m)=>f(e,m));if(sz(c))return Yl(c,e,!1,a);if(p4(c)){if(!Array.isArray(c.dayOfWeek))return c.dayOfWeek===e.getDay();return c.dayOfWeek.includes(e.getDay())}if(oR(c)){let m=s(c.before,e),g=s(c.after,e),M=m>0,x=g<0;if(l(c.before,c.after))return x&&M;else return M||x}if(aR(c))return s(e,c.after)>0;if(nR(c))return s(c.before,e)>0;if(typeof c==="function")return c(e);return!1})}function Khe(e,r,a,i,f){let{disabled:s,hidden:l,modifiers:c,showOutsideDays:m,broadcastCalendar:g,today:M=f.today()}=r,{isSameDay:x,isSameMonth:b,startOfMonth:y,isBefore:_,endOfMonth:z,isAfter:F}=f,k=a&&y(a),I=i&&z(i),Y={[ka.focused]:[],[ka.outside]:[],[ka.disabled]:[],[ka.hidden]:[],[ka.today]:[]},W={};for(let X of e){let{date:J,displayMonth:ee}=X,ae=Boolean(ee&&!b(J,ee)),ne=Boolean(k&&_(J,k)),xe=Boolean(I&&F(J,I)),Qe=Boolean(s&&uu(J,s,f)),Fe=Boolean(l&&uu(J,l,f))||ne||xe||!g&&!m&&ae||g&&m===!1&&ae,ye=x(J,M);if(ae)Y.outside.push(X);if(Qe)Y.disabled.push(X);if(Fe)Y.hidden.push(X);if(ye)Y.today.push(X);if(c)Object.keys(c).forEach((Ve)=>{let dt=c?.[Ve];if(!(dt?uu(J,dt,f):!1))return;if(W[Ve])W[Ve].push(X);else W[Ve]=[X]})}return(X)=>{let J={[ka.focused]:!1,[ka.disabled]:!1,[ka.hidden]:!1,[ka.outside]:!1,[ka.today]:!1},ee={};for(let ae in Y){let ne=Y[ae];J[ae]=ne.some((xe)=>xe===X)}for(let ae in W)ee[ae]=W[ae].some((ne)=>ne===X);return{...J,...ee}}}function Xhe(e,r,a={}){return Object.entries(e).filter(([,f])=>f===!0).reduce((f,[s])=>{if(a[s])f.push(a[s]);else if(r[ka[s]])f.push(r[ka[s]]);else if(r[Bl[s]])f.push(r[Bl[s]]);return f},[r[hr.Day]])}function Qhe(e){return{...GV,...e}}function Jhe(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 N2(){let e={};for(let r in hr)e[hr[r]]=`rdp-${hr[r]}`;for(let r in ka)e[ka[r]]=`rdp-${ka[r]}`;for(let r in Bl)e[Bl[r]]=`rdp-${Bl[r]}`;for(let r in xl)e[xl[r]]=`rdp-${xl[r]}`;return e}var KV={};Ne(KV,{formatCaption:()=>I_t,formatDay:()=>C_t,formatMonthDropdown:()=>R_t,formatWeekNumber:()=>T_t,formatWeekNumberHeader:()=>A_t,formatWeekdayName:()=>P_t,formatYearDropdown:()=>D_t});function I_t(e,r,a){return(a??new ti(r)).formatMonthYear(e)}function C_t(e,r,a){return(a??new ti(r)).format(e,"d")}function R_t(e,r=zi){return r.format(e,"LLLL")}function P_t(e,r,a){return(a??new ti(r)).format(e,"cccccc")}function T_t(e,r=zi){if(e<10)return r.formatNumber(`0${e.toLocaleString()}`);return r.formatNumber(`${e.toLocaleString()}`)}function A_t(){return""}function D_t(e,r=zi){return r.format(e,"yyyy")}function $he(e){return{...KV,...e}}var fH={};Ne(fH,{labelDayButton:()=>XV,labelGrid:()=>QV,labelGridcell:()=>JV,labelMonthDropdown:()=>$V,labelNav:()=>eH,labelNext:()=>tH,labelPrevious:()=>rH,labelWeekNumber:()=>aH,labelWeekNumberHeader:()=>nH,labelWeekday:()=>oH,labelYearDropdown:()=>iH});function XV(e,r,a,i){let f=(i??new ti(a)).format(e,"PPPP");if(r.today)f=`Today, ${f}`;if(r.selected)f=`${f}, selected`;return f}function QV(e,r,a){return(a??new ti(r)).formatMonthYear(e)}function JV(e,r,a,i){let f=(i??new ti(a)).format(e,"PPPP");if(r?.today)f=`Today, ${f}`;return f}function $V(e){return"Choose the Month"}function eH(){return""}function tH(e,r){return"Go to the Next Month"}function rH(e){return"Go to the Previous Month"}function oH(e,r,a){return(a??new ti(r)).format(e,"cccc")}function aH(e,r){return`Week ${e}`}function nH(e){return"Week Number"}function iH(e){return"Choose the Year"}var lZ=(e,r,a)=>{if(r)return r;if(a)return typeof a==="function"?a:(...i)=>a;return e};function ege(e,r){let a=r.locale?.labels??{};return{...fH,...e??{},labelDayButton:lZ(XV,e?.labelDayButton,a.labelDayButton),labelMonthDropdown:lZ($V,e?.labelMonthDropdown,a.labelMonthDropdown),labelNext:lZ(tH,e?.labelNext,a.labelNext),labelPrevious:lZ(rH,e?.labelPrevious,a.labelPrevious),labelWeekNumber:lZ(aH,e?.labelWeekNumber,a.labelWeekNumber),labelYearDropdown:lZ(iH,e?.labelYearDropdown,a.labelYearDropdown),labelGrid:lZ(QV,e?.labelGrid,a.labelGrid),labelGridcell:lZ(JV,e?.labelGridcell,a.labelGridcell),labelNav:lZ(eH,e?.labelNav,a.labelNav),labelWeekNumberHeader:lZ(nH,e?.labelWeekNumberHeader,a.labelWeekNumberHeader),labelWeekday:lZ(oH,e?.labelWeekday,a.labelWeekday)}}function tge(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((b)=>{let y=i.formatMonthDropdown(b,f),_=g(b),z=r&&b<s(r)||a&&b>s(a)||!1;return{value:_,label:y,disabled:z}})}function rge(e,r={},a={}){let i={...r?.[hr.Day]};return Object.entries(e).filter(([,f])=>f===!0).forEach(([f])=>{i={...i,...a?.[f]}}),i}function oge(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 age(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),x=c({start:g,end:M});if(f)x.reverse();return x.map((b)=>{let y=a.formatYearDropdown(b,i);return{value:m(b),label:y,disabled:!1}})}function nge(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 Cn(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(Cn.tz(e)),newDate:(c,m,g)=>new Cn(c,m,g,12,0,0,e),startOfDay:(c)=>s(c),startOfWeek:(c,m)=>{let g=s(c),M=m?.weekStartsOn??f,x=(g.getDay()-M+7)%7;return g.setDate(g.getDate()-x),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),b=(((m?.weekStartsOn??f)+6)%7-g.getDay()+7)%7;return g.setDate(g.getDate()+b),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=[],x=new Cn(m.getFullYear(),m.getMonth(),1,12,0,0,e),b=g.getFullYear()*12+g.getMonth();while(x.getFullYear()*12+x.getMonth()<=b)M.push(new Cn(x,e)),x.setMonth(x.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=[],x=new Cn(m.getFullYear(),0,1,12,0,0,e);while(x.getFullYear()<=g.getFullYear())M.push(new Cn(x,e)),x.setFullYear(x.getFullYear()+1,0,1);return M},getWeek:(c,m)=>{let g=l(c);return WI(g,{weekStartsOn:m?.weekStartsOn??f,firstWeekContainsDate:m?.firstWeekContainsDate??i?.options?.firstWeekContainsDate??1})},getISOWeek:(c)=>{let m=l(c);return HI(m)},differenceInCalendarDays:(c,m)=>{let g=l(c),M=l(m);return Q8(g,M)},differenceInCalendarMonths:(c,m)=>{let g=l(c),M=l(m);return S5(g,M)}}}C();var F2=(e)=>{if(e instanceof HTMLElement)return e;return null},sH=(e)=>[...e.querySelectorAll("[data-animated-month]")??[]],E_t=(e)=>F2(e.querySelector("[data-animated-month]")),lH=(e)=>F2(e.querySelector("[data-animated-caption]")),cH=(e)=>F2(e.querySelector("[data-animated-weeks]")),O_t=(e)=>F2(e.querySelector("[data-animated-nav]")),j_t=(e)=>F2(e.querySelector("[data-animated-weekdays]"));function ige(e,r,{classNames:a,months:i,focused:f,dateLib:s}){let l=v(null),c=v(i),m=v(!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),x=s.isAfter(i[0].date,g[0].date),b=x?a[xl.caption_after_enter]:a[xl.caption_before_enter],y=x?a[xl.weeks_after_enter]:a[xl.weeks_before_enter],_=l.current,z=e.current.cloneNode(!0);if(z instanceof HTMLElement)sH(z).forEach((Y)=>{if(!(Y instanceof HTMLElement))return;let W=E_t(Y);if(W&&Y.contains(W))Y.removeChild(W);let X=lH(Y);if(X)X.classList.remove(b);let J=cH(Y);if(J)J.classList.remove(y)}),l.current=z;else l.current=null;if(m.current||M||f)return;let F=_ instanceof HTMLElement?sH(_):[],k=sH(e.current);if(k?.every((I)=>I instanceof HTMLElement)&&F?.every((I)=>I instanceof HTMLElement)){m.current=!0;let I=[];e.current.style.isolation="isolate";let Y=O_t(e.current);if(Y)Y.style.zIndex="1";k.forEach((W,X)=>{let J=F[X];if(!J)return;W.style.position="relative",W.style.overflow="hidden";let ee=lH(W);if(ee)ee.classList.add(b);let ae=cH(W);if(ae)ae.classList.add(y);let ne=()=>{if(m.current=!1,e.current)e.current.style.isolation="";if(Y)Y.style.zIndex="";if(ee)ee.classList.remove(b);if(ae)ae.classList.remove(y);if(W.style.position="",W.style.overflow="",W.contains(J))W.removeChild(J)};I.push(ne),J.style.pointerEvents="none",J.style.position="absolute",J.style.overflow="hidden",J.setAttribute("aria-hidden","true");let xe=j_t(J);if(xe)xe.style.opacity="0";let Qe=lH(J);if(Qe)Qe.classList.add(x?a[xl.caption_before_exit]:a[xl.caption_after_exit]),Qe.addEventListener("animationend",ne);let Fe=cH(J);if(Fe)Fe.classList.add(x?a[xl.weeks_before_exit]:a[xl.weeks_after_exit]);W.insertBefore(J,W.firstChild)})}})}C();function fge(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:x,endOfBroadcastWeek:b,endOfISOWeek:y,endOfMonth:_,endOfWeek:z,isAfter:F,startOfBroadcastWeek:k,startOfISOWeek:I,startOfWeek:Y}=i,W=m?k(f,i):l?I(f):Y(f),X=m?b(s):l?y(_(s)):z(_(s)),J=r&&(m?b(r):l?y(r):z(r)),ee=J&&F(X,J)?J:X,ae=M(ee,W),ne=x(s,f)+1,xe=[];for(let ye=0;ye<=ae;ye++){let Ve=g(W,ye);xe.push(Ve)}let Fe=(m?35:42)*ne;if(c&&xe.length<Fe){let ye=Fe-xe.length;for(let Ve=0;Ve<ye;Ve++){let dt=g(xe[xe.length-1],1);xe.push(dt)}}return xe}function sge(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 lge(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 uH(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:x}=i;if(a&&g(a,m)<c-1){let b=-1*(c-1);m=M(a,b)}if(r&&g(m,r)<0)m=r;return x(m)}function cge(e,r,a,i){let{addDays:f,endOfBroadcastWeek:s,endOfISOWeek:l,endOfMonth:c,endOfWeek:m,getISOWeek:g,getWeek:M,startOfBroadcastWeek:x,startOfISOWeek:b,startOfWeek:y}=i,_=e.reduce((z,F)=>{let k=a.broadcastCalendar?x(F,i):a.ISOWeek?b(F):y(F),I=a.broadcastCalendar?s(F):a.ISOWeek?l(c(F)):m(c(F)),Y=r.filter((ee)=>ee>=k&&ee<=I),W=a.broadcastCalendar?35:42;if(a.fixedWeeks&&Y.length<W){let ee=r.filter((ae)=>{let ne=W-Y.length;return ae>I&&ae<=f(I,ne)});Y.push(...ee)}let X=Y.reduce((ee,ae)=>{let ne=a.ISOWeek?g(ae):M(ae),xe=ee.find((Fe)=>Fe.weekNumber===ne),Qe=new j2(ae,F,i);if(!xe)ee.push(new HV(ne,[Qe]));else xe.days.push(Qe);return ee},[]),J=new VV(F,X);return z.push(J),z},[]);if(!a.reverseMonths)return _;else return _.reverse()}function uge(e,r){let{startMonth:a,endMonth:i}=e,{startOfYear:f,startOfDay:s,startOfMonth:l,endOfMonth:c,addYears:m,endOfYear:g,today:M}=r,x=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";if(a)a=l(a);else if(!a&&x)a=f(m(e.today??M(),-100));if(i)i=c(i);else if(!i&&x)i=g(e.today??M());return[a?s(a):a,i?s(i):i]}function dge(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 Zge(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 pge(e){let r=[];return e.reduce((a,i)=>a.concat(i.weeks.slice()),r.slice())}C();function lz(e,r){let[a,i]=u(e);return[r===void 0?a:r,i]}function mge(e,r){let[a,i]=uge(e,r),{startOfMonth:f,endOfMonth:s}=r,l=uH(e,a,i,r),[c,m]=lz(l,e.month?l:void 0);h(()=>{let W=uH(e,a,i,r);m(W)},[e.timeZone]);let{months:g,weeks:M,days:x,previousMonth:b,nextMonth:y}=O(()=>{let W=lge(c,i,{numberOfMonths:e.numberOfMonths},r),X=fge(W,e.endMonth?s(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},r),J=cge(W,X,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},r),ee=pge(J),ae=sge(J),ne=Zge(c,a,e,r),xe=dge(c,i,e,r);return{months:J,weeks:ee,days:ae,previousMonth:ne,nextMonth:xe}},[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:z}=e,F=(W)=>M.some((X)=>X.days.some((J)=>J.isEqualTo(W))),k=(W)=>{if(_)return;let X=f(W);if(a&&X<f(a))X=f(a);if(i&&X>f(i))X=f(i);m(X),z?.(X)};return{months:g,weeks:M,days:x,navStart:a,navEnd:i,previousMonth:b,nextMonth:y,goToMonth:k,goToDay:(W)=>{if(F(W))return;k(W.date)}}}C();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 hge(e){return!e[ka.disabled]&&!e[ka.hidden]&&!e[ka.outside]}function gge(e,r,a,i){let f,s=-1;for(let l of e){let c=r(l);if(hge(c)){if(c[ka.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[ka.today]&&s<WZ.Today)f=l,s=WZ.Today}}if(!f)f=e.find((l)=>hge(r(l)));return f}function Mge(e,r,a,i,f,s,l){let{ISOWeek:c,broadcastCalendar:m}=s,{addDays:g,addMonths:M,addWeeks:x,addYears:b,endOfBroadcastWeek:y,endOfISOWeek:_,endOfWeek:z,max:F,min:k,startOfBroadcastWeek:I,startOfISOWeek:Y,startOfWeek:W}=l,J={day:g,week:x,month:M,year:b,startOfWeek:(ee)=>m?I(ee,l):c?Y(ee):W(ee),endOfWeek:(ee)=>m?y(ee):c?_(ee):z(ee)}[e](a,r==="after"?1:-1);if(r==="before"&&i)J=F([i,J]);else if(r==="after"&&f)J=k([f,J]);return J}function dH(e,r,a,i,f,s,l,c=0){if(c>365)return;let m=Mge(e,r,a.date,i,f,s,l),g=Boolean(s.disabled&&uu(m,s.disabled,l)),M=Boolean(s.hidden&&uu(m,s.hidden,l)),b=new j2(m,m,l);if(!g&&!M)return b;return dH(e,r,b,i,f,s,l,c+1)}function vge(e,r,a,i,f){let{autoFocus:s}=e,[l,c]=u(),m=gge(r.days,a,i||(()=>!1),l),[g,M]=u(s?m:void 0);return{isFocusTarget:(z)=>Boolean(m?.isEqualTo(z)),setFocused:M,focused:g,blur:()=>{c(g),M(void 0)},moveFocus:(z,F)=>{if(!g)return;let k=dH(z,F,g,r.navStart,r.navEnd,e,f);if(!k)return;if(e.disableNavigation){if(!r.days.some((Y)=>Y.isEqualTo(k)))return}r.goToDay(k),M(k)}}}function xge(e,r){let{selected:a,required:i,onSelect:f}=e,[s,l]=lz(a,f?a:void 0),c=!f?s:a,{isSameDay:m}=r,g=(y)=>c?.some((_)=>m(_,y))??!1,{min:M,max:x}=e;return{selected:c,select:(y,_,z)=>{let F=[...c??[]];if(g(y)){if(c?.length===M)return;if(i&&c?.length===1)return;F=c?.filter((k)=>!m(k,y))}else if(c?.length===x)F=[y];else F=[...F,y];if(!f)l(F);return f?.(F,y,_,z),F},isSelected:g}}function yge(e,r,a=0,i=0,f=!1,s=zi){let{from:l,to:c}=r||{},{isSameDay:m,isAfter:g,isBefore:M}=s,x;if(!l&&!c)x={from:e,to:a>0?void 0:e};else if(l&&!c)if(m(l,e))if(a===0)x={from:l,to:e};else if(f)x={from:l,to:void 0};else x=void 0;else if(M(e,l))x={from:e,to:l};else x={from:l,to:e};else if(l&&c)if(m(l,e)&&m(c,e))if(f)x={from:l,to:c};else x=void 0;else if(m(l,e))x={from:l,to:a>0?void 0:e};else if(m(c,e))x={from:e,to:a>0?void 0:e};else if(M(e,l))x={from:e,to:c};else if(g(e,l))x={from:l,to:e};else if(g(e,c))x={from:l,to:e};else throw Error("Invalid range");if(x?.from&&x?.to){let b=s.differenceInCalendarDays(x.to,x.from);if(i>0&&b>i)x={from:e,to:void 0};else if(a>1&&b<a)x={from:e,to:void 0}}return x}function bge(e,r,a=zi){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 ZH(e,r,a=zi){return Yl(e,r.from,!1,a)||Yl(e,r.to,!1,a)||Yl(r,e.from,!1,a)||Yl(r,e.to,!1,a)}function _ge(e,r,a=zi){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 Yl(e,c,!1,a);if(m4(c,a))return c.some((m)=>Yl(e,m,!1,a));if(sz(c)){if(c.from&&c.to)return ZH(e,{from:c.from,to:c.to},a);return!1}if(p4(c))return bge(e,c.dayOfWeek,a);if(oR(c)){if(a.isAfter(c.before,c.after))return ZH(e,{from:a.addDays(c.after,1),to:a.addDays(c.before,-1)},a);return uu(e.from,c,a)||uu(e.to,c,a)}if(aR(c)||nR(c))return uu(e.from,c,a)||uu(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 wge(e,r){let{disabled:a,excludeDisabled:i,resetOnSelect:f,selected:s,required:l,onSelect:c}=e,[m,g]=lz(s,c?s:void 0),M=!c?m:s;return{selected:M,select:(y,_,z)=>{let{min:F,max:k}=e,I;if(y){let Y=M?.from,W=M?.to,X=!!Y&&!!W,J=!!Y&&!!W&&r.isSameDay(Y,W)&&r.isSameDay(y,Y);if(f&&(X||!M?.from))if(!l&&J)I=void 0;else I={from:y,to:void 0};else I=yge(y,M,F,k,l,r)}if(i&&a&&I?.from&&I.to){if(_ge({from:I.from,to:I.to},a,r))I.from=y,I.to=void 0}if(!c)g(I);return c?.(I,y,_,z),I},isSelected:(y)=>M&&Yl(M,y,!1,r)}}function zge(e,r){let{selected:a,required:i,onSelect:f}=e,[s,l]=lz(a,f?a:void 0),c=!f?s:a,{isSameDay:m}=r;return{selected:c,select:(x,b,y)=>{let _=x;if(!i&&c&&c&&m(x,c))_=void 0;if(!f)l(_);if(i)f?.(_,x,b,y);else f?.(_,x,b,y);return _},isSelected:(x)=>c?m(c,x):!1}}function Sge(e,r){let a=zge(e,r),i=xge(e,r),f=wge(e,r);switch(e.mode){case"single":return a;case"multiple":return i;case"range":return f;default:return}}function yl(e,r){if(e instanceof Cn&&e.timeZone===r)return e;return new Cn(e,r)}function iR(e,r,a){if(!a)return yl(e,r);let i=yl(e,r),f=new Cn(i.getFullYear(),i.getMonth(),i.getDate(),12,0,0,r);return new Date(f.getTime())}function Lge(e,r,a){if(typeof e==="boolean"||typeof e==="function")return e;if(e instanceof Date)return iR(e,r,a);if(Array.isArray(e))return e.map((i)=>i instanceof Date?iR(i,r,a):i);if(sz(e))return{...e,from:e.from?yl(e.from,r):e.from,to:e.to?yl(e.to,r):e.to};if(oR(e))return{before:iR(e.before,r,a),after:iR(e.after,r,a)};if(aR(e))return{after:iR(e.after,r,a)};if(nR(e))return{before:iR(e.before,r,a)};return e}function h4(e,r,a){if(!e)return e;if(Array.isArray(e))return e.map((i)=>Lge(i,r,a));return Lge(e,r,a)}function kge(e){let r=e,a=r.timeZone;if(a){if(r={...e,timeZone:a},r.today)r.today=yl(r.today,a);if(r.month)r.month=yl(r.month,a);if(r.defaultMonth)r.defaultMonth=yl(r.defaultMonth,a);if(r.startMonth)r.startMonth=yl(r.startMonth,a);if(r.endMonth)r.endMonth=yl(r.endMonth,a);if(r.mode==="single"&&r.selected)r.selected=yl(r.selected,a);else if(r.mode==="multiple"&&r.selected)r.selected=r.selected?.map((Nt)=>yl(Nt,a));else if(r.mode==="range"&&r.selected)r.selected={from:r.selected.from?yl(r.selected.from,a):r.selected.from,to:r.selected.to?yl(r.selected.to,a):r.selected.to};if(r.disabled!==void 0)r.disabled=h4(r.disabled,a);if(r.hidden!==void 0)r.hidden=h4(r.hidden,a);if(r.modifiers){let Nt={};Object.keys(r.modifiers).forEach((_t)=>{Nt[_t]=h4(r.modifiers?.[_t],a)}),r.modifiers=Nt}}let{components:i,formatters:f,labels:s,dateLib:l,locale:c,classNames:m}=O(()=>{let Nt={...O2,...r.locale},_t=r.broadcastCalendar?1:r.weekStartsOn,Vt=r.noonSafe&&r.timeZone?nge(r.timeZone,{weekStartsOn:_t,locale:Nt}):void 0,Nr=r.dateLib&&Vt?{...Vt,...r.dateLib}:r.dateLib??Vt,Wr=new ti({locale:Nt,weekStartsOn:_t,firstWeekContainsDate:r.firstWeekContainsDate,useAdditionalWeekYearTokens:r.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:r.useAdditionalDayOfYearTokens,timeZone:r.timeZone,numerals:r.numerals},Nr);return{dateLib:Wr,components:Qhe(r.components),formatters:$he(r.formatters),labels:ege(r.labels,Wr.options),locale:Nt,classNames:{...N2(),...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:x,numberOfMonths:b=1,onDayBlur:y,onDayClick:_,onDayFocus:z,onDayKeyDown:F,onDayMouseEnter:k,onDayMouseLeave:I,onNextClick:Y,onPrevClick:W,showWeekNumber:X,styles:J}=r,{formatCaption:ee,formatDay:ae,formatMonthDropdown:ne,formatWeekNumber:xe,formatWeekNumberHeader:Qe,formatWeekdayName:Fe,formatYearDropdown:ye}=f,Ve=mge(r,l),{days:dt,months:lt,navStart:pt,navEnd:Bt,previousMonth:Wt,nextMonth:le,goToMonth:mt}=Ve,Gt=Khe(dt,r,pt,Bt,l),{isSelected:ke,select:Zr,selected:lr}=Sge(r,l)??{},{blur:tr,focused:Ur,isFocusTarget:Qt,moveFocus:Jt,setFocused:vr}=vge(r,Ve,Gt,ke??(()=>!1),l),{labelDayButton:Er,labelGridcell:Br,labelGrid:xr,labelMonthDropdown:bo,labelNav:rr,labelPrevious:Qr,labelNext:go,labelWeekday:Bo,labelWeekNumber:_o,labelWeekNumberHeader:ni,labelYearDropdown:bn}=s,Xo=O(()=>oge(l,r.ISOWeek,r.broadcastCalendar,r.today),[l,r.ISOWeek,r.broadcastCalendar,r.today]),Yn=M!==void 0||_!==void 0,cn=N(()=>{if(!Wt)return;mt(Wt),W?.(Wt)},[Wt,mt,W]),is=N(()=>{if(!le)return;mt(le),Y?.(le)},[mt,le,Y]),$e=N((Nt,_t)=>(Vt)=>{if(Vt.preventDefault(),Vt.stopPropagation(),vr(Nt),_t.disabled)return;Zr?.(Nt.date,_t,Vt),_?.(Nt.date,_t,Vt)},[Zr,_,vr]),jt=N((Nt,_t)=>(Vt)=>{vr(Nt),z?.(Nt.date,_t,Vt)},[z,vr]),wr=N((Nt,_t)=>(Vt)=>{tr(),y?.(Nt.date,_t,Vt)},[tr,y]),Xr=N((Nt,_t)=>(Vt)=>{let Nr={ArrowLeft:[Vt.shiftKey?"month":"day",r.dir==="rtl"?"after":"before"],ArrowRight:[Vt.shiftKey?"month":"day",r.dir==="rtl"?"before":"after"],ArrowDown:[Vt.shiftKey?"year":"week","after"],ArrowUp:[Vt.shiftKey?"year":"week","before"],PageUp:[Vt.shiftKey?"year":"month","before"],PageDown:[Vt.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(Nr[Vt.key]){Vt.preventDefault(),Vt.stopPropagation();let[Wr,aa]=Nr[Vt.key];Jt(Wr,aa)}F?.(Nt.date,_t,Vt)},[Jt,F,r.dir]),oo=N((Nt,_t)=>(Vt)=>{k?.(Nt.date,_t,Vt)},[k]),$o=N((Nt,_t)=>(Vt)=>{I?.(Nt.date,_t,Vt)},[I]),Pa=N((Nt,_t)=>(Vt)=>{let Nr=Number(Vt.target.value),Wr=l.setMonth(l.startOfMonth(Nt),Nr);mt(l.addMonths(Wr,-_t))},[l,mt]),ze=N((Nt,_t)=>(Vt)=>{let Nr=Number(Vt.target.value),Wr=l.setYear(l.startOfMonth(Nt),Nr);mt(l.addMonths(Wr,-_t))},[l,mt]),{className:Se,style:Pe}=O(()=>({className:[m[hr.Root],r.className].filter(Boolean).join(" "),style:{...J?.[hr.Root],...r.style}}),[m,r.className,r.style,J]),Zt=Jhe(r),Ct=(Nt)=>{let _t=J?.[hr.Dropdown],Vt=J?.[Nt];if(!_t&&!Vt)return;return{..._t,...Vt}},Yt=v(null);ige(Yt,Boolean(r.animate),{classNames:m,months:lt,focused:Ur,dateLib:l});let sr={dayPickerProps:r,selected:lr,select:Zr,isSelected:ke,months:lt,nextMonth:le,previousMonth:Wt,goToMonth:mt,getModifiers:Gt,components:i,classNames:m,styles:J,labels:s,formatters:f};return j(WV.Provider,{value:sr},j(i.Root,{rootRef:r.animate?Yt:void 0,className:Se,style:Pe,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},j(i.Months,{className:m[hr.Months],style:J?.[hr.Months]},!r.hideNavigation&&!x&&j(i.Nav,{"data-animated-nav":r.animate?"true":void 0,className:m[hr.Nav],style:J?.[hr.Nav],"aria-label":rr(),onPreviousClick:cn,onNextClick:is,previousMonth:Wt,nextMonth:le}),lt.map((Nt,_t)=>{let Vt=r.reverseMonths?lt.length-1-_t:_t;return j(i.Month,{"data-animated-month":r.animate?"true":void 0,className:m[hr.Month],style:J?.[hr.Month],key:_t,displayIndex:_t,calendarMonth:Nt},x==="around"&&!r.hideNavigation&&_t===0&&j(i.PreviousMonthButton,{type:"button",className:m[hr.PreviousMonthButton],style:J?.[hr.PreviousMonthButton],tabIndex:Wt?void 0:-1,"aria-disabled":Wt?void 0:!0,"aria-label":Qr(Wt),onClick:cn,"data-animated-button":r.animate?"true":void 0},j(i.Chevron,{disabled:Wt?void 0:!0,className:m[hr.Chevron],style:J?.[hr.Chevron],orientation:r.dir==="rtl"?"right":"left"})),j(i.MonthCaption,{"data-animated-caption":r.animate?"true":void 0,className:m[hr.MonthCaption],style:J?.[hr.MonthCaption],calendarMonth:Nt,displayIndex:_t},g?.startsWith("dropdown")?j(i.DropdownNav,{className:m[hr.Dropdowns],style:J?.[hr.Dropdowns]},(()=>{let Nr=g==="dropdown"||g==="dropdown-months"?j(i.MonthsDropdown,{key:"month",className:m[hr.MonthsDropdown],"aria-label":bo(),disabled:Boolean(r.disableNavigation),onChange:Pa(Nt.date,Vt),options:tge(Nt.date,pt,Bt,f,l),style:Ct(hr.MonthsDropdown),value:l.getMonth(Nt.date)}):j("span",{key:"month"},ne(Nt.date,l)),Wr=g==="dropdown"||g==="dropdown-years"?j(i.YearsDropdown,{key:"year",className:m[hr.YearsDropdown],"aria-label":bn(l.options),disabled:Boolean(r.disableNavigation),onChange:ze(Nt.date,Vt),options:age(pt,Bt,f,l,Boolean(r.reverseYears)),style:Ct(hr.YearsDropdown),value:l.getYear(Nt.date)}):j("span",{key:"year"},ye(Nt.date,l));return l.getMonthYearOrder()==="year-first"?[Wr,Nr]:[Nr,Wr]})(),j("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"}},ee(Nt.date,l.options,l))):j(i.CaptionLabel,{className:m[hr.CaptionLabel],style:J?.[hr.CaptionLabel],role:"status","aria-live":"polite"},ee(Nt.date,l.options,l))),x==="around"&&!r.hideNavigation&&_t===b-1&&j(i.NextMonthButton,{type:"button",className:m[hr.NextMonthButton],style:J?.[hr.NextMonthButton],tabIndex:le?void 0:-1,"aria-disabled":le?void 0:!0,"aria-label":go(le),onClick:is,"data-animated-button":r.animate?"true":void 0},j(i.Chevron,{disabled:le?void 0:!0,className:m[hr.Chevron],style:J?.[hr.Chevron],orientation:r.dir==="rtl"?"left":"right"})),_t===b-1&&x==="after"&&!r.hideNavigation&&j(i.Nav,{"data-animated-nav":r.animate?"true":void 0,className:m[hr.Nav],style:J?.[hr.Nav],"aria-label":rr(),onPreviousClick:cn,onNextClick:is,previousMonth:Wt,nextMonth:le}),j(i.MonthGrid,{role:"grid","aria-multiselectable":M==="multiple"||M==="range","aria-label":xr(Nt.date,l.options,l)||void 0,className:m[hr.MonthGrid],style:J?.[hr.MonthGrid]},!r.hideWeekdays&&j(i.Weekdays,{"data-animated-weekdays":r.animate?"true":void 0,className:m[hr.Weekdays],style:J?.[hr.Weekdays]},X&&j(i.WeekNumberHeader,{"aria-label":ni(l.options),className:m[hr.WeekNumberHeader],style:J?.[hr.WeekNumberHeader],scope:"col"},Qe()),Xo.map((Nr)=>j(i.Weekday,{"aria-label":Bo(Nr,l.options,l),className:m[hr.Weekday],key:String(Nr),style:J?.[hr.Weekday],scope:"col"},Fe(Nr,l.options,l)))),j(i.Weeks,{"data-animated-weeks":r.animate?"true":void 0,className:m[hr.Weeks],style:J?.[hr.Weeks]},Nt.weeks.map((Nr)=>j(i.Week,{className:m[hr.Week],key:Nr.weekNumber,style:J?.[hr.Week],week:Nr},X&&j(i.WeekNumber,{week:Nr,style:J?.[hr.WeekNumber],"aria-label":_o(Nr.weekNumber,{locale:c}),className:m[hr.WeekNumber],scope:"row",role:"rowheader"},xe(Nr.weekNumber,l)),Nr.days.map((Wr)=>{let{date:aa}=Wr,ar=Gt(Wr);if(ar[ka.focused]=!ar.hidden&&Boolean(Ur?.isEqualTo(Wr)),ar[Bl.selected]=ke?.(aa)||ar.selected,sz(lr)){let{from:bs,to:Ia}=lr;ar[Bl.range_start]=Boolean(bs&&Ia&&l.isSameDay(aa,bs)),ar[Bl.range_end]=Boolean(bs&&Ia&&l.isSameDay(aa,Ia)),ar[Bl.range_middle]=Yl(lr,aa,!0,l)}let ea=rge(ar,J,r.modifiersStyles),ua=Xhe(ar,m,r.modifiersClassNames),Zi=!Yn&&!ar.hidden?Br(aa,ar,l.options,l):void 0;return j(i.Day,{key:`${Wr.isoDate}_${Wr.displayMonthId}`,day:Wr,modifiers:ar,className:ua.join(" "),style:ea,role:"gridcell","aria-selected":ar.selected||void 0,"aria-label":Zi,"data-day":Wr.isoDate,"data-month":Wr.outside?Wr.dateMonthId:void 0,"data-selected":ar.selected||void 0,"data-disabled":ar.disabled||void 0,"data-hidden":ar.hidden||void 0,"data-outside":Wr.outside||void 0,"data-focused":ar.focused||void 0,"data-today":ar.today||void 0},!ar.hidden&&Yn?j(i.DayButton,{className:m[hr.DayButton],style:J?.[hr.DayButton],type:"button",day:Wr,modifiers:ar,disabled:!ar.focused&&ar.disabled||void 0,"aria-disabled":ar.focused&&ar.disabled||void 0,tabIndex:Qt(Wr)?0:-1,"aria-label":Er(aa,ar,l.options,l),onClick:$e(Wr,ar),onBlur:wr(Wr,ar),onFocus:jt(Wr,ar),onKeyDown:Xr(Wr,ar),onMouseEnter:oo(Wr,ar),onMouseLeave:$o(Wr,ar)},ae(aa,l.options,l)):!ar.hidden&&ae(Wr.date,l.options,l))}))))))})),r.footer&&j(i.Footer,{className:m[hr.Footer],style:J?.[hr.Footer],role:"status","aria-live":"polite"},r.footer)))}function Ige({className:e,classNames:r,showOutsideDays:a=!0,captionLayout:i="label",buttonVariant:f="ghost",formatters:s,components:l,...c}){let m=N2();return t(kge,{showOutsideDays:a,className:E("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:E("w-fit",m.root),months:E("relative flex flex-col gap-4 md:flex-row",m.months),month:E("flex w-full flex-col gap-4",m.month),nav:E("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",m.nav),button_previous:E(iN({variant:f}),"size-(--cell-size) p-0 select-none aria-disabled:opacity-50",m.button_previous),button_next:E(iN({variant:f}),"size-(--cell-size) p-0 select-none aria-disabled:opacity-50",m.button_next),month_caption:E("flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)",m.month_caption),dropdowns:E("flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium",m.dropdowns),dropdown_root:E("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:E("absolute inset-0 bg-popover opacity-0",m.dropdown),caption_label:E("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:E("flex",m.weekdays),weekday:E("flex-1 rounded-md text-[0.8rem] font-normal text-muted-foreground select-none",m.weekday),week:E("mt-2 flex w-full",m.week),week_number_header:E("w-(--cell-size) select-none",m.week_number_header),week_number:E("text-[0.8rem] text-muted-foreground select-none",m.week_number),day:E("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:E("rounded-l-md bg-accent",m.range_start),range_middle:E("rounded-none",m.range_middle),range_end:E("rounded-r-md bg-accent",m.range_end),today:E("rounded-md bg-accent text-accent-foreground data-[selected=true]:rounded-none",m.today),outside:E("text-muted-foreground aria-selected:text-muted-foreground",m.outside),disabled:E("text-muted-foreground opacity-50",m.disabled),hidden:E("invisible",m.hidden),...r},components:{Root:({className:g,rootRef:M,...x})=>t("div",{"data-slot":"calendar",ref:M,className:E(g),...x}),Chevron:({className:g,orientation:M,...x})=>{if(M==="left")return t(jr,{className:E("size-4",g),...x});if(M==="right")return t(ft,{className:E("size-4",g),...x});return t(_e,{className:E("size-4",g),...x})},DayButton:N_t,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 N_t({className:e,day:r,modifiers:a,...i}){let f=N2(),s=v(null);return h(()=>{if(a.focused)s.current?.focus()},[a.focused]),t(S,{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:E("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 Kn({className:e,orientation:r="horizontal",decorative:a=!0,...i}){return t(jCe,{"data-slot":"separator",decorative:a,orientation:r,className:E("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})}C();function es({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},(z,F)=>F),M=Array.from({length:12},(z,F)=>F*5),x=(z)=>{if(z){let F=c?new Date(c):new Date;F.setFullYear(z.getFullYear()),F.setMonth(z.getMonth()),F.setDate(z.getDate()),m(F)}else m(void 0)},b=(z,F)=>{let k=c?new Date(c):new Date;if(z==="hour")k.setHours(F);else k.setMinutes(F);m(k)},y=(z)=>{let F=new Date;if(z==="24h")F=Rce(F,24);else if(z==="1w")F=c2(F,1);else if(z==="2w")F=c2(F,2);m(F)},_=()=>{r?.(c),l(!1)};return o(ht,{open:s,onOpenChange:l,children:[t(gt,{asChild:!0,children:o(S,{variant:"outline",disabled:i,className:E("w-full justify-start text-left font-normal h-9",!e&&"text-muted-foreground",f),children:[t(Pn,{className:"mr-2 h-4 w-4"}),e?ir(e,"yyyy/MM/dd HH:mm"):t("span",{children:a})]})}),t(At,{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(Ige,{mode:"single",selected:c,onSelect:x,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(se,{className:"w-64 sm:w-auto [&_[data-orientation=vertical]]:hidden",children:[t("div",{className:"flex sm:flex-col p-2",children:g.map((z)=>t(S,{size:"icon",variant:c&&c.getHours()===z?"default":"ghost",className:"sm:w-full shrink-0 aspect-square text-xs h-8 w-8",onClick:()=>b("hour",z),children:z.toString().padStart(2,"0")},z))}),t(SN,{orientation:"horizontal",className:"sm:hidden"})]}),o(se,{className:"w-64 sm:w-auto [&_[data-orientation=vertical]]:hidden",children:[t("div",{className:"flex sm:flex-col p-2",children:M.map((z)=>t(S,{size:"icon",variant:c&&c.getMinutes()===z?"default":"ghost",className:"sm:w-full shrink-0 aspect-square text-xs h-8 w-8",onClick:()=>b("minute",z),children:z.toString().padStart(2,"0")},z))}),t(SN,{orientation:"horizontal",className:"sm:hidden"})]})]})]}),t(Kn,{}),o("div",{className:"p-2 flex items-center justify-between bg-muted/50",children:[o("div",{className:"flex gap-2",children:[t(S,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2",onClick:()=>y("24h"),children:"24 Hours"}),t(S,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2",onClick:()=>y("1w"),children:"1 Week"}),t(S,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2",onClick:()=>y("2w"),children:"2 Weeks"})]}),t(S,{size:"sm",className:"h-7 px-4",onClick:_,children:"Save"})]})]})})]})}C();var F_t=[Ge.TODO,Ge.READY,Ge.IN_PROGRESS,Ge.IN_REVIEW,Ge.DONE,Ge.BLOCKED];function yd({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),[x,b]=u(Ge.TODO),[y,_]=u(""),[z,F]=u(()=>{let ne={};for(let xe of f)ne[xe.id]={title:xe.title,status:xe.status};return ne}),{data:k,isLoading:I}=L({queryKey:["teams",e,"kanban","tasks","status",x],queryFn:async()=>{let ne=await A.api.teams[":teamId"].kanban.tasks.$get({param:{teamId:e},query:{status:x,first:"100"}});if(!ne.ok)return{data:[]};return await ne.json()},enabled:!!e&&g}),Y=k?.data||[];O(()=>{if(Y.length>0)F((ne)=>{let xe=!1,Qe={...ne};for(let Fe of Y)if(!Qe[Fe.id]||Qe[Fe.id].title!==Fe.title||Qe[Fe.id].status!==Fe.status)Qe[Fe.id]={title:Fe.title,status:Fe.status},xe=!0;return xe?Qe:ne})},[Y]);let W=O(()=>{let ne=new Set(a);if(r)ne.add(r);return ne},[r,a]),X=O(()=>{let ne=y.trim().toLowerCase();return Y.filter((xe)=>{if(W.has(xe.id))return!1;if(!ne)return!0;return xe.title.toLowerCase().includes(ne)})},[Y,W,y]),J=(ne)=>{if(!c||l)return;let Qe=i.includes(ne)?i.filter((Fe)=>Fe!==ne):[...i,ne];s?.(Qe)},ee=(ne,xe)=>{if(xe.stopPropagation(),!c||l)return;s?.(i.filter((Qe)=>Qe!==ne))},ae=c&&!l;return o(ht,{open:g&&ae,onOpenChange:(ne)=>ae&&M(ne),children:[t(gt,{asChild:!0,children:t("div",{role:"button",tabIndex:ae?0:-1,className:E("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",ae?"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(Aa,{className:"w-3.5 h-3.5 text-muted-foreground/70"}),t("span",{children:Nft()})]}):i.map((ne)=>{let xe=z[ne];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:[xe?.status&&t("span",{className:E("px-1 py-0.2 rounded text-[9px] uppercase font-semibold shrink-0",iz(xe.status)),children:Vn(xe.status)}),t("span",{className:"truncate font-medium",children:xe?.title||ne}),ae&&t("button",{type:"button",onClick:(Qe)=>ee(ne,Qe),className:"text-muted-foreground hover:text-destructive shrink-0 p-0.5 -mr-1",children:t(Oe,{className:"w-3 h-3"})})]},ne)})})}),o(At,{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:F_t.map((ne)=>t("button",{type:"button",onClick:()=>b(ne),className:E("text-[11px] h-7 px-2.5 rounded-md font-medium transition-colors border shrink-0",x===ne?"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:Vn(ne)},ne))}),o("div",{className:"relative",children:[t(Lt,{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(q,{value:y,onChange:(ne)=>_(ne.target.value),placeholder:iUe(),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(se,{className:"h-48 p-1",children:I?t("div",{className:"flex items-center justify-center py-8",children:t(Z,{className:"w-4 h-4 animate-spin text-muted-foreground"})}):X.length===0?t("div",{className:"py-8 text-center text-xs text-muted-foreground italic",children:Sfe()}):t("div",{className:"space-y-1",children:X.map((ne)=>{let xe=i.includes(ne.id);return o("div",{onClick:()=>J(ne.id),className:E("flex items-center justify-between p-2 rounded-md hover:bg-accent cursor-pointer transition-colors text-xs border border-transparent",xe&&"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:E("w-4 h-4 rounded border flex items-center justify-center shrink-0 transition-colors",xe?"bg-primary border-primary text-primary-foreground":"border-input bg-background"),children:xe&&t(Te,{className:"w-3 h-3 stroke-[3]"})}),t("span",{className:E("px-1.5 py-0.5 rounded text-[10px] uppercase font-medium shrink-0",iz(ne.status)),children:Vn(ne.status)}),t("span",{className:"font-medium text-foreground truncate",children:ne.title})]}),ne.assignee&&t("span",{className:"text-[10px] text-muted-foreground truncate shrink-0",children:ne.assignee.name})]},ne.id)})})})})]})]})}C();function Mr({className:e,...r}){return t(RLe,{"data-slot":"checkbox",className:E("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(TLe,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none",children:t(Te,{className:"size-3.5"})})})}function Gr(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]}`}C();function Cge({teamId:e,initialProjectId:r,excludeAssetIds:a=[],isOpen:i,onClose:f,onConfirm:s}){let[l,c]=u(r||""),[m,g]=u(null),[M,x]=u(new Map),{data:b,isLoading:y}=L({queryKey:["teams",e,"projects"],queryFn:async()=>{let mt=await A.api.teams[":teamId"].projects.$get({param:{teamId:e},query:{first:"100"}});if(!mt.ok)throw Error("Failed to fetch projects");return await mt.json()},enabled:!!e&&i}),_=b?.data||[],z=l||(_[0]?.id??""),F=_.find((mt)=>mt.id===z),k=m?.id||F?.rootFolder||"",I=k===F?.rootFolder,{data:Y,fetchNextPage:W,hasNextPage:X,isFetchingNextPage:J,isLoading:ee}=ct({queryKey:["folders",k,"children","folder","picker"],queryFn:async({pageParam:mt})=>{let Gt=await A.api.folders[":folderId"].children.$get({param:{folderId:k},query:{assetType:"folder",after:mt,first:"20"}});if(!Gt.ok)throw Error("Failed to fetch folders");return await Gt.json()},initialPageParam:"",getNextPageParam:(mt)=>mt.pageInfo?.cursor||void 0,enabled:!!k&&i}),{data:ae,fetchNextPage:ne,hasNextPage:xe,isFetchingNextPage:Qe,isLoading:Fe}=ct({queryKey:["folders",k,"children","file","picker"],queryFn:async({pageParam:mt})=>{let Gt=await A.api.folders[":folderId"].children.$get({param:{folderId:k},query:{assetType:"file",after:mt,first:"20"}});if(!Gt.ok)throw Error("Failed to fetch files");return await Gt.json()},initialPageParam:"",getNextPageParam:(mt)=>mt.pageInfo?.cursor||void 0,enabled:!!k&&i}),{ref:ye,inView:Ve}=Tt();h(()=>{if(Ve){if(X&&!J)W();else if(xe&&!Qe)ne()}},[Ve,X,J,W,xe,Qe,ne]);let dt=ee&&!Y||Fe&&!ae,lt=J||Qe,pt=O(()=>{let mt=Y?.pages.flatMap((ke)=>ke.data??[])??[],Gt=ae?.pages.flatMap((ke)=>ke.data??[])??[];return[...mt,...Gt]},[Y,ae]),Bt=(mt)=>{let Gt=new Map(M);if(Gt.has(mt.id))Gt.delete(mt.id);else{let ke=F?`/${[F.name,...(mt.ancestorFolders||[]).map((Zr)=>Zr.name)].filter(Boolean).join("/")}`:"/";Gt.set(mt.id,{id:mt.id,name:mt.name,type:mt.type,proxyType:mt.proxyType??null,thumbnailUrl:mt.preview?.thumbnailUrl??null,path:ke,creator:mt.creator?{id:mt.creator.id,name:mt.creator.name,image:mt.creator.image??void 0}:null,sizeByte:mt.sizeByte??0,fileCount:mt.fileCount??null,projectId:mt.projectId??F?.id??null,createdAt:mt.createdAt??new Date().toISOString()})}x(Gt)},Wt=()=>{if(!m||I)return;let mt=new Map(M);if(mt.has(m.id))mt.delete(m.id);else{let Gt=F?`/${[F.name,...(m.ancestorFolders||[]).map((ke)=>ke.name)].filter(Boolean).join("/")}`:"/";mt.set(m.id,{id:m.id,name:m.name,type:"folder",proxyType:null,thumbnailUrl:null,path:Gt,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??F?.id??null,createdAt:m.createdAt??new Date().toISOString()})}x(mt)},le=()=>{s(Array.from(M.values())),f()};return t(fe,{open:i,onOpenChange:(mt)=>{if(!mt)f()},children:o(ce,{className:"sm:max-w-4xl flex flex-col h-[650px] p-0 overflow-hidden gap-1",children:[t(pe,{className:"px-4 py-3 border-b shrink-0",children:o("div",{className:"flex items-center gap-2",children:[t(Xt,{className:"w-5 h-5 text-primary"}),t(ue,{children:uft()})]})}),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:[p4e(),":"]}),t("div",{className:"w-64",children:o(De,{value:z,onValueChange:(mt)=>{c(mt),g(null)},children:[t(Le,{className:"h-8 text-xs bg-background",children:t(Ze,{placeholder:zU()})}),t(Be,{children:_.map((mt)=>t(re,{value:mt.id,className:"text-xs",children:mt.name},mt.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(se,{className:"flex-1 min-h-0 [&>div>div]:block!",children:F&&F.rootFolder?t("div",{className:"p-2",children:t(fr,{teamId:e,projectId:F.id,projectName:F.name,rootFolderId:F.rootFolder,onSelect:(mt)=>g(mt),selectedFolderId:k,hideCollections:!0,hideShares:!0,hideRecentlyDeleted:!0})}):t("div",{className:"flex items-center justify-center h-full p-6 text-xs text-muted-foreground",children:y?t(Z,{className:"w-5 h-5 animate-spin text-muted-foreground"}):Lfe()})})}),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(Xt,{className:"w-4 h-4 text-muted-foreground shrink-0"}),t("span",{className:"truncate",children:m?m.name:F?.name||""}),I&&t("span",{className:"text-[10px] text-muted-foreground/70 bg-muted px-1.5 py-0.5 rounded",children:"Root"})]}),!I&&m&&t(S,{size:"sm",variant:M.has(m.id)?"secondary":"outline",className:"h-7 text-xs gap-1.5",onClick:Wt,disabled:a.includes(m.id),children:M.has(m.id)?o(B,{children:[t(Te,{className:"w-3.5 h-3.5 text-primary"}),Yh()]}):o(B,{children:[t(de,{className:"w-3.5 h-3.5"}),hft()]})})]}),t(se,{className:"flex-1 min-h-0 [&>div>div]:block!",children:dt?t("div",{className:"flex items-center justify-center p-12",children:t(Z,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):pt.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(Xt,{className:"w-8 h-8 opacity-30"}),t("p",{children:YKe()})]}):o("div",{className:"divide-y divide-border/40",children:[pt.map((mt)=>{let Gt=a.includes(mt.id),ke=M.has(mt.id),Zr=mt.type==="folder";return o("div",{onClick:()=>{if(!Gt)Bt(mt)},className:`flex items-center gap-3 px-4 py-2.5 hover:bg-muted/40 cursor-pointer transition-colors ${ke?"bg-primary/5":""} ${Gt?"opacity-50 cursor-not-allowed":""}`,children:[t(Mr,{checked:ke,disabled:Gt,onCheckedChange:()=>{if(!Gt)Bt(mt)},onClick:(lr)=>lr.stopPropagation()}),t("div",{className:"w-9 h-9 rounded bg-muted/60 border shrink-0 flex items-center justify-center overflow-hidden",children:mt.preview?.thumbnailUrl?t("img",{src:mt.preview.thumbnailUrl,alt:mt.name,className:"w-full h-full object-cover"}):Zr?t(Xt,{className:"w-5 h-5 text-primary fill-primary/20"}):t(Kt,{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:mt.name}),o("p",{className:"text-[11px] text-muted-foreground truncate",children:[Zr?`${mt.fileCount??0} items`:Gr(mt.sizeByte||0),mt.creator?.name?` • ${mt.creator.name}`:""]})]})]},mt.id)}),t("div",{ref:ye,className:"h-1"}),lt&&t("div",{className:"flex items-center justify-center p-3",children:t(Z,{className:"w-4 h-4 animate-spin text-muted-foreground"})})]})})]})]}),o(qe,{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&&_Ge({count:M.size})}),o("div",{className:"flex items-center gap-2",children:[t(S,{variant:"outline",size:"sm",onClick:f,children:Re()}),t(S,{size:"sm",onClick:le,disabled:M.size===0,children:pfe()})]})]})]})})}function _d({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((b)=>b.id)),x=g.filter((b)=>!M.has(b.id));if(x.length>0)i(x)};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(ii,{className:"w-3.5 h-3.5 text-muted-foreground"}),t("span",{children:Hat()}),a.length>0&&o("span",{className:"text-[11px] text-muted-foreground font-normal",children:["(",a.length,")"]})]}),!s&&t(S,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted",onClick:()=>c(!0),title:pfe(),children:t(de,{className:"w-3.5 h-3.5"})})]}),t(Kn,{}),a.length===0?t("p",{className:"text-xs text-muted-foreground/70 py-1 italic",children:eQe()}):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(Xt,{className:"w-4 h-4 text-primary fill-primary/20"}):t(Kt,{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(Ee,{src:g.creator.image||void 0}),t(Ie,{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(S,{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:rpt(),children:t(Oe,{className:"w-3 h-3"})})]})]},g.id)})}),l&&t(Cge,{teamId:e,initialProjectId:r,excludeAssetIds:a.map((g)=>g.id),isOpen:l,onClose:()=>c(!1),onConfirm:m})]})}C();function bd({teamId:e,currentProjectId:r,currentTargetFolderId:a,isOpen:i,onClose:f,onSelect:s}){let[l,c]=u(r||""),[m,g]=u(null),{data:M,isLoading:x}=L({queryKey:["teams",e,"projects"],queryFn:async()=>{let F=await A.api.teams[":teamId"].projects.$get({param:{teamId:e},query:{first:"100"}});if(!F.ok)throw Error("Failed to fetch projects");return await F.json()},enabled:!!e&&i}),b=M?.data||[],y=l||(b[0]?.id??""),_=b.find((F)=>F.id===y),z=()=>{if(!y)return;let F=m?.id||_?.rootFolder;if(F)s(y,F,m?.name||_?.name),f()};return t(fe,{open:i,onOpenChange:(F)=>!F&&f(),children:o(ce,{className:"sm:max-w-2xl flex flex-col h-[580px]",children:[t(pe,{children:o("div",{className:"flex items-center gap-2",children:[t(Xt,{className:"w-5 h-5 text-primary"}),t(ue,{children:Kf()})]})}),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:zU()}),o(De,{value:y,onValueChange:(F)=>{c(F),g(null)},children:[t(Le,{className:"h-9",children:t(Ze,{placeholder:zU()})}),t(Be,{children:b.map((F)=>t(re,{value:F.id,children:F.name},F.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:np()}),t("div",{className:"border rounded-md flex-1 overflow-hidden bg-sidebar/50",children:t(se,{className:"h-full",children:_&&_.rootFolder?t(fr,{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:x?t(Z,{className:"w-5 h-5 animate-spin text-muted-foreground"}):Lfe()})})})]})]}),o(qe,{children:[t(S,{variant:"outline",onClick:f,children:Re()}),t(S,{onClick:z,disabled:!y,children:Zs()})]})]})})}function Rge({teamId:e,task:r,canEdit:a=!0}){let i=Q(),[f,s]=u(r.title),[l,c]=u(r.description||""),[m,g]=u(!1),[M,x]=u(null),b=v(null);h(()=>{s(r.title),c(r.description||"")},[r.id,r.title,r.description]);let{data:y=[]}=L({queryKey:["teams",e,"members","human"],queryFn:async()=>{let ee=await A.api.teams[":teamId"].members.$get({param:{teamId:e},query:{includeAgents:"false"}});if(!ee.ok)return[];let ae=await ee.json();return Array.isArray(ae)?ae:[]},enabled:!!e}),{data:_=[]}=L({queryKey:["teams",e,"agents"],queryFn:async()=>{let ee=await A.api.teams[":teamId"].agents.$get({param:{teamId:e}});if(!ee.ok)return[];return await ee.json()||[]},enabled:!!e}),{data:z}=L({queryKey:["teams",e,"kanban","goals"],queryFn:async()=>{let ee=await A.api.teams[":teamId"].kanban.goals.$get({param:{teamId:e},query:{}});if(!ee.ok)return{data:[]};return await ee.json()},enabled:!!e}),F=z?.data||[],{mutate:k,isPending:I}=U({mutationFn:async(ee)=>{let ae=await A.api.teams[":teamId"].kanban.tasks[":taskId"].$patch({param:{teamId:e,taskId:r.id},json:ee});if(!ae.ok){let ne=await ae.json().catch(()=>({message:An()}));throw Error(ne.message||An())}return await ae.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","task",r.id]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]})},onError:(ee)=>{R.error(ee.message)}}),{mutate:Y}=U({mutationFn:async(ee)=>{let ae=await A.api.teams[":teamId"].kanban.tasks[":taskId"].assets.$post({param:{teamId:e,taskId:r.id},json:{assetIds:ee.map((ne)=>ne.id)}});if(!ae.ok)throw Error("Failed to link assets");return await ae.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","task",r.id]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]}),R.success(hfe())},onError:(ee)=>{R.error(ee.message)}}),{mutate:W}=U({mutationFn:async(ee)=>{let ae=await A.api.teams[":teamId"].kanban.tasks[":taskId"].assets[":assetId"].$delete({param:{teamId:e,taskId:r.id,assetId:ee}});if(!ae.ok)throw Error("Failed to unlink asset");return await ae.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","task",r.id]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]}),R.success(gfe())},onError:(ee)=>{R.error(ee.message)}}),X=(ee,ae)=>{if(ee==="title")s(ae);if(ee==="description")c(ae);if(b.current)clearTimeout(b.current);b.current=setTimeout(()=>{if(ee==="title"&&ae.trim()&&ae.trim()!==r.title)k({title:ae.trim()});else if(ee==="description"&&ae!==(r.description||""))k({description:ae.trim()||null})},600)},J=r.isAgentTask;return o(se,{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(G,{htmlFor:"task-title",className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:gg()}),I&&o("span",{className:"flex items-center gap-1 text-[11px] text-muted-foreground animate-pulse",children:[t(Z,{className:"w-3 h-3 animate-spin"}),Jh()]})]}),t(q,{id:"task-title",value:f,onChange:(ee)=>X("title",ee.target.value),disabled:!a,className:"text-base font-semibold h-10 bg-background",placeholder:Ag()})]}),o("div",{className:"space-y-1.5",children:[t(G,{htmlFor:"task-description",className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:pg()}),t(Xa,{id:"task-description",value:l,onChange:(ee)=>X("description",ee.target.value),disabled:!a,rows:5,className:"text-xs leading-relaxed bg-background",placeholder:mg()})]}),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(G,{className:"text-xs font-medium text-muted-foreground flex items-center gap-1.5",children:[t(bt,{className:"w-3.5 h-3.5 text-orange-500"}),t("span",{children:dd()})]}),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(G,{className:"text-xs font-medium text-muted-foreground",children:hg()}),o(De,{value:r.priority,onValueChange:(ee)=>k({priority:ee}),disabled:!a,children:[t(Le,{className:"w-full h-8 text-xs bg-background",children:t(Ze,{})}),t(Be,{children:Object.values(Or).map((ee)=>t(re,{value:ee,children:t("span",{className:E("px-1.5 py-0.5 rounded text-[10px] uppercase font-medium",Fs(ee)),children:zs(ee)})},ee))})]})]}),o("div",{className:"space-y-1.5",children:[t(G,{className:"text-xs font-medium text-muted-foreground",children:Gu()}),o(De,{value:r.goal?.id||"none",onValueChange:(ee)=>k({goalId:ee==="none"?null:ee}),disabled:!a,children:[t(Le,{className:"w-full h-8 text-xs bg-background",children:t(Ze,{placeholder:fXe()})}),o(Be,{children:[t(re,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:"None"})}),F.filter((ee)=>ee.id!==Ja).map((ee)=>t(re,{value:ee.id,children:o("div",{className:"flex items-center gap-2",children:[t(co,{className:"w-3.5 h-3.5 text-primary"}),t("span",{children:ee.title})]})},ee.id))]})]})]}),o("div",{className:"space-y-1.5",children:[t(G,{className:"text-xs font-medium text-muted-foreground",children:J?ld():gm()}),o(De,{value:r.assignee?.id||"none",onValueChange:(ee)=>k({assigneeId:ee==="none"?null:ee}),disabled:!a,children:[t(Le,{className:"w-full h-8 text-xs bg-background",children:t(Ze,{placeholder:Wo()})}),o(Be,{children:[t(re,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:Wo()})}),J?_.map((ee)=>t(re,{value:ee.id,children:o("div",{className:"flex items-center gap-2",children:[t(bt,{className:"w-3.5 h-3.5 text-purple-500"}),t("span",{children:ee.name})]})},ee.id)):y.map((ee)=>t(re,{value:ee.id,children:o("div",{className:"flex items-center gap-2",children:[o(Ce,{size:"sm",className:"w-4 h-4",children:[t(Ee,{src:ee.image}),t(Ie,{className:"text-[8px]",children:ee.name.slice(0,2).toUpperCase()})]}),t("span",{children:ee.name})]})},ee.id))]})]})]}),o("div",{className:"space-y-1.5",children:[t(G,{className:"text-xs font-medium text-muted-foreground",children:Gh()}),o(De,{value:r.reporter?.id||"none",onValueChange:(ee)=>k({reporterId:ee==="none"?null:ee}),disabled:!a,children:[t(Le,{className:"w-full h-8 text-xs bg-background",children:t(Ze,{placeholder:Wo()})}),o(Be,{children:[t(re,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:Wo()})}),y.map((ee)=>t(re,{value:ee.id,children:o("div",{className:"flex items-center gap-2",children:[o(Ce,{size:"sm",className:"w-4 h-4",children:[t(Ee,{src:ee.image}),t(Ie,{className:"text-[8px]",children:ee.name.slice(0,2).toUpperCase()})]}),t("span",{children:ee.name})]})},ee.id))]})]})]}),J&&o("div",{className:"sm:col-span-2 space-y-1.5",children:[t(G,{className:"text-xs font-medium text-muted-foreground",children:np()}),t("div",{className:"flex items-center gap-2",children:o(S,{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(Xt,{className:"w-3.5 h-3.5 mr-2 text-primary shrink-0"}),t("span",{className:"truncate",children:M||(r.targetFolderId?"Selected Folder":Kf())})]})})]}),o("div",{className:"space-y-1.5",children:[t(G,{className:"text-xs font-medium text-muted-foreground",children:cd()}),t(es,{value:r.startDate?new Date(r.startDate):void 0,onChange:(ee)=>k({startDate:ee?ee.toISOString():null}),disabled:!a,placeholder:cd(),className:"h-8 text-xs bg-background"})]}),o("div",{className:"space-y-1.5",children:[t(G,{className:"text-xs font-medium text-muted-foreground",children:Uu()}),t(es,{value:r.dueDate?new Date(r.dueDate):void 0,onChange:(ee)=>k({dueDate:ee?ee.toISOString():null}),disabled:!a,placeholder:Uu(),className:"h-8 text-xs bg-background"})]}),o("div",{className:"sm:col-span-2 space-y-1.5",children:[t(G,{className:"text-xs font-medium text-muted-foreground",children:Sh()}),t(yd,{teamId:e,currentTaskId:r.id,excludeTaskIds:r.dependents.map((ee)=>ee.id),value:r.dependencies.map((ee)=>ee.id),knownTasks:[...r.dependencies,...r.dependents],onChange:(ee)=>k({parentIds:ee}),canEdit:a})]}),t("div",{className:"sm:col-span-2 pt-1",children:t(_d,{teamId:e,projectId:r.projectId,assets:r.assets||[],onAddAssets:(ee)=>Y(ee),onRemoveAsset:(ee)=>W(ee),disabled:!a})})]})]}),m&&t(bd,{teamId:e,currentProjectId:r.projectId,currentTargetFolderId:r.targetFolderId,isOpen:m,onClose:()=>g(!1),onSelect:(ee,ae,ne)=>{x(ne||"Selected Folder"),k({projectId:ee,targetFolderId:ae})}})]})}C();C();function bl(){}function g4(){}function Pge(e,r){let a=r||{};return(e[e.length-1]===""?[...e,""]:e).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}var B_t=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Y_t=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,U_t={};function M4(e,r){return((r||U_t).jsx?Y_t:B_t).test(e)}var q_t=/[ \t\n\f\r]/g;function pH(e){return typeof e==="object"?e.type==="text"?Tge(e.value):!1:Tge(e)}function Tge(e){return e.replace(q_t,"")===""}class cz{constructor(e,r,a){if(this.normal=r,this.property=e,a)this.space=a}}cz.prototype.normal={};cz.prototype.property={};cz.prototype.space=void 0;function mH(e,r){let a={},i={};for(let f of e)Object.assign(a,f.property),Object.assign(i,f.normal);return new cz(a,i,r)}function B2(e){return e.toLowerCase()}class vs{constructor(e,r){this.attribute=r,this.property=e}}vs.prototype.attribute="";vs.prototype.booleanish=!1;vs.prototype.boolean=!1;vs.prototype.commaOrSpaceSeparated=!1;vs.prototype.commaSeparated=!1;vs.prototype.defined=!1;vs.prototype.mustUseProperty=!1;vs.prototype.number=!1;vs.prototype.overloadedBoolean=!1;vs.prototype.property="";vs.prototype.spaceSeparated=!1;vs.prototype.space=void 0;var Y2={};Ne(Y2,{boolean:()=>to,booleanish:()=>Tn,commaOrSpaceSeparated:()=>Ul,commaSeparated:()=>AM,number:()=>$t,overloadedBoolean:()=>v4,spaceSeparated:()=>oa});var V_t=0,to=XL(),Tn=XL(),v4=XL(),$t=XL(),oa=XL(),AM=XL(),Ul=XL();function XL(){return 2**++V_t}var hH=Object.keys(Y2);class fR extends vs{constructor(e,r,a,i){let f=-1;super(e,r);if(Age(this,"space",i),typeof a==="number")while(++f<hH.length){let s=hH[f];Age(this,hH[f],(a&Y2[s])===Y2[s])}}}fR.prototype.defined=!0;function Age(e,r,a){if(a)e[r]=a}function du(e){let r={},a={};for(let[i,f]of Object.entries(e.properties)){let s=new fR(i,e.transform(e.attributes||{},i),f,e.space);if(e.mustUseProperty&&e.mustUseProperty.includes(i))s.mustUseProperty=!0;r[i]=s,a[B2(i)]=i,a[B2(s.attribute)]=i}return new cz(r,a,e.space)}var gH=du({properties:{ariaActiveDescendant:null,ariaAtomic:Tn,ariaAutoComplete:null,ariaBusy:Tn,ariaChecked:Tn,ariaColCount:$t,ariaColIndex:$t,ariaColSpan:$t,ariaControls:oa,ariaCurrent:null,ariaDescribedBy:oa,ariaDetails:null,ariaDisabled:Tn,ariaDropEffect:oa,ariaErrorMessage:null,ariaExpanded:Tn,ariaFlowTo:oa,ariaGrabbed:Tn,ariaHasPopup:null,ariaHidden:Tn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:oa,ariaLevel:$t,ariaLive:null,ariaModal:Tn,ariaMultiLine:Tn,ariaMultiSelectable:Tn,ariaOrientation:null,ariaOwns:oa,ariaPlaceholder:null,ariaPosInSet:$t,ariaPressed:Tn,ariaReadOnly:Tn,ariaRelevant:null,ariaRequired:Tn,ariaRoleDescription:oa,ariaRowCount:$t,ariaRowIndex:$t,ariaRowSpan:$t,ariaSelected:Tn,ariaSetSize:$t,ariaSort:null,ariaValueMax:$t,ariaValueMin:$t,ariaValueNow:$t,ariaValueText:null,role:null},transform(e,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()}});function x4(e,r){return r in e?e[r]:r}function y4(e,r){return x4(e,r.toLowerCase())}var Dge=du({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:AM,acceptCharset:oa,accessKey:oa,action:null,allow:null,allowFullScreen:to,allowPaymentRequest:to,allowUserMedia:to,alpha:to,alt:null,as:null,async:to,autoCapitalize:null,autoComplete:oa,autoFocus:to,autoPlay:to,blocking:oa,capture:null,charSet:null,checked:to,cite:null,className:oa,closedBy:null,colorSpace:null,cols:$t,colSpan:$t,command:null,commandFor:null,content:null,contentEditable:Tn,controls:to,controlsList:oa,coords:$t|AM,crossOrigin:null,data:null,dateTime:null,decoding:null,default:to,defer:to,dir:null,dirName:null,disabled:to,download:v4,draggable:Tn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:to,formTarget:null,headers:oa,height:$t,hidden:v4,high:$t,href:null,hrefLang:null,htmlFor:oa,httpEquiv:oa,id:null,imageSizes:null,imageSrcSet:null,inert:to,inputMode:null,integrity:null,is:null,isMap:to,itemId:null,itemProp:oa,itemRef:oa,itemScope:to,itemType:oa,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:to,low:$t,manifest:null,max:null,maxLength:$t,media:null,method:null,min:null,minLength:$t,multiple:to,muted:to,name:null,nonce:null,noModule:to,noValidate:to,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:to,optimum:$t,pattern:null,ping:oa,placeholder:null,playsInline:to,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:to,referrerPolicy:null,rel:oa,required:to,reversed:to,rows:$t,rowSpan:$t,sandbox:oa,scope:null,scoped:to,seamless:to,selected:to,shadowRootClonable:to,shadowRootCustomElementRegistry:to,shadowRootDelegatesFocus:to,shadowRootMode:null,shadowRootSerializable:to,shape:null,size:$t,sizes:null,slot:null,span:$t,spellCheck:Tn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:$t,step:null,style:null,tabIndex:$t,target:null,title:null,translate:null,type:null,typeMustMatch:to,useMap:null,value:Tn,width:$t,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:oa,axis:null,background:null,bgColor:null,border:$t,borderColor:null,bottomMargin:$t,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:to,declare:to,event:null,face:null,frame:null,frameBorder:null,hSpace:$t,leftMargin:$t,link:null,longDesc:null,lowSrc:null,marginHeight:$t,marginWidth:$t,noResize:to,noHref:to,noShade:to,noWrap:to,object:null,profile:null,prompt:null,rev:null,rightMargin:$t,rules:null,scheme:null,scrolling:Tn,standby:null,summary:null,text:null,topMargin:$t,valueType:null,version:null,vAlign:null,vLink:null,vSpace:$t,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:to,disablePictureInPicture:to,disableRemotePlayback:to,exportParts:AM,part:oa,prefix:null,property:null,results:$t,security:null,unselectable:null},space:"html",transform:y4});var Ege=du({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:Ul,accentHeight:$t,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:$t,amplitude:$t,arabicForm:null,ascent:$t,attributeName:null,attributeType:null,azimuth:$t,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:$t,by:null,calcMode:null,capHeight:$t,className:oa,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:$t,diffuseConstant:$t,direction:null,display:null,dur:null,divisor:$t,dominantBaseline:null,download:to,dx:null,dy:null,edgeMode:null,editable:null,elevation:$t,enableBackground:null,end:null,event:null,exponent:$t,externalResourcesRequired:null,fill:null,fillOpacity:$t,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:AM,g2:AM,glyphName:AM,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:$t,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:$t,horizOriginX:$t,horizOriginY:$t,id:null,ideographic:$t,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:$t,k:$t,k1:$t,k2:$t,k3:$t,k4:$t,kernelMatrix:Ul,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:$t,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:$t,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:$t,overlineThickness:$t,paintOrder:null,panose1:null,path:null,pathLength:$t,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:oa,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:$t,pointsAtY:$t,pointsAtZ:$t,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ul,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ul,rev:Ul,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ul,requiredFeatures:Ul,requiredFonts:Ul,requiredFormats:Ul,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:$t,specularExponent:$t,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:$t,strikethroughThickness:$t,string:null,stroke:null,strokeDashArray:Ul,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:$t,strokeOpacity:$t,strokeWidth:null,style:null,surfaceScale:$t,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ul,tabIndex:$t,tableValues:null,target:null,targetX:$t,targetY:$t,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ul,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:$t,underlineThickness:$t,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:$t,values:null,vAlphabetic:$t,vMathematical:$t,vectorEffect:null,vHanging:$t,vIdeographic:$t,version:null,vertAdvY:$t,vertOriginX:$t,vertOriginY:$t,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:$t,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:x4});var MH=du({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 vH=du({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:y4});var xH=du({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,r){return"xml:"+r.slice(3).toLowerCase()}});var yH={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 H_t=/[A-Z]/g,Oge=/-[a-z]/g,W_t=/^data[-\w.:]+$/i;function bH(e,r){let a=B2(r),i=r,f=vs;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&W_t.test(r)){if(r.charAt(4)==="-"){let s=r.slice(5).replace(Oge,K_t);i="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{let s=r.slice(4);if(!Oge.test(s)){let l=s.replace(H_t,G_t);if(l.charAt(0)!=="-")l="-"+l;r="data"+l}}f=fR}return new f(i,r)}function G_t(e){return"-"+e.toLowerCase()}function K_t(e){return e.charAt(1).toUpperCase()}var jge=mH([gH,Dge,MH,vH,xH],"html"),b4=mH([gH,Ege,MH,vH,xH],"svg");function Nge(e){return e.join(" ").trim()}var rMe=Ke(Jge(),1);var _4=$ge("end"),sR=$ge("start");function $ge(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 zH(e){let r=sR(e),a=_4(e);if(r&&a)return{start:r,end:a}}function uz(e){if(!e||typeof e!=="object")return"";if("position"in e||"type"in e)return eMe(e.position);if("start"in e||"end"in e)return eMe(e);if("line"in e||"column"in e)return SH(e);return""}function SH(e){return tMe(e&&e.line)+":"+tMe(e&&e.column)}function eMe(e){return SH(e&&e.start)+"-"+SH(e&&e.end)}function tMe(e){return e&&typeof e==="number"?e:1}class Si 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=uz(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}}Si.prototype.file="";Si.prototype.name="";Si.prototype.reason="";Si.prototype.message="";Si.prototype.stack="";Si.prototype.column=void 0;Si.prototype.line=void 0;Si.prototype.ancestors=void 0;Si.prototype.cause=void 0;Si.prototype.fatal=void 0;Si.prototype.place=void 0;Si.prototype.ruleId=void 0;Si.prototype.source=void 0;var LH={}.hasOwnProperty,ywt=new Map,bwt=/[A-Z]/g,_wt=new Set(["table","tbody","thead","tfoot","tr"]),wwt=new Set(["td","th"]),oMe="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function kH(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=Pwt(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=Rwt(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"?b4:jge,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},s=aMe(f,e,void 0);if(s&&typeof s!=="string")return s;return f.create(e,f.Fragment,{children:s||void 0},void 0)}function aMe(e,r,a){if(r.type==="element")return zwt(e,r,a);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return Swt(e,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return kwt(e,r,a);if(r.type==="mdxjsEsm")return Lwt(e,r);if(r.type==="root")return Iwt(e,r,a);if(r.type==="text")return Cwt(e,r)}function zwt(e,r,a){let i=e.schema,f=i;if(r.tagName.toLowerCase()==="svg"&&i.space==="html")f=b4,e.schema=f;e.ancestors.push(r);let s=iMe(e,r.tagName,!1),l=Twt(e,r),c=CH(e,r);if(_wt.has(r.tagName))c=c.filter(function(m){return typeof m==="string"?!pH(m):!0});return nMe(e,l,s,r),IH(l,c),e.ancestors.pop(),e.schema=i,e.create(r,s,l,a)}function Swt(e,r){if(r.data&&r.data.estree&&e.evaluater){let i=r.data.estree.body[0];return bl(i.type==="ExpressionStatement"),e.evaluater.evaluateExpression(i.expression)}q2(e,r.position)}function Lwt(e,r){if(r.data&&r.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(r.data.estree);q2(e,r.position)}function kwt(e,r,a){let i=e.schema,f=i;if(r.name==="svg"&&i.space==="html")f=b4,e.schema=f;e.ancestors.push(r);let s=r.name===null?e.Fragment:iMe(e,r.name,!0),l=Awt(e,r),c=CH(e,r);return nMe(e,l,s,r),IH(l,c),e.ancestors.pop(),e.schema=i,e.create(r,s,l,a)}function Iwt(e,r,a){let i={};return IH(i,CH(e,r)),e.create(r,e.Fragment,i,a)}function Cwt(e,r){return r.value}function nMe(e,r,a,i){if(typeof a!=="string"&&a!==e.Fragment&&e.passNode)r.node=i}function IH(e,r){if(r.length>0){let a=r.length>1?r:r[0];if(a)e.children=a}}function Rwt(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 Pwt(e,r){return a;function a(i,f,s,l){let c=Array.isArray(s.children),m=sR(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 Twt(e,r){let a={},i,f;for(f in r.properties)if(f!=="children"&&LH.call(r.properties,f)){let s=Dwt(e,f,r.properties[f]);if(s){let[l,c]=s;if(e.tableCellAlignToStyle&&l==="align"&&typeof c==="string"&&wwt.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 Awt(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];bl(s.type==="ExpressionStatement");let l=s.expression;bl(l.type==="ObjectExpression");let c=l.properties[0];bl(c.type==="SpreadElement"),Object.assign(a,e.evaluater.evaluateExpression(c.argument))}else q2(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];bl(c.type==="ExpressionStatement"),s=e.evaluater.evaluateExpression(c.expression)}else q2(e,r.position);else s=i.value===null?!0:i.value;a[f]=s}return a}function CH(e,r){let a=[],i=-1,f=e.passKeys?new Map:ywt;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=aMe(e,s,l);if(c!==void 0)a.push(c)}return a}function Dwt(e,r,a){let i=bH(e.schema,r);if(a===null||a===void 0||typeof a==="number"&&Number.isNaN(a))return;if(Array.isArray(a))a=i.commaSeparated?Pge(a):Nge(a);if(i.property==="style"){let f=typeof a==="object"?a:Ewt(e,String(a));if(e.stylePropertyNameCase==="css")f=Owt(f);return["style",f]}return[e.elementAttributeNameCase==="react"&&i.space?yH[i.property]||i.property:i.attribute,a]}function Ewt(e,r){try{return rMe.default(r,{reactCompat:!0})}catch(a){if(e.ignoreInvalidStyle)return{};let i=a,f=new Si("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=oMe+"#cannot-parse-style-attribute",f}}function iMe(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=M4(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}bl(l,"always a result"),i=l}else i=M4(r)&&!/^[a-z]/.test(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};if(i.type==="Literal"){let f=i.value;return LH.call(e.components,f)?e.components[f]:f}if(e.evaluater)return e.evaluater.evaluateExpression(i);q2(e)}function q2(e,r){let a=new Si("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=oMe+"#cannot-handle-mdx-estrees-without-createevaluater",a}function Owt(e){let r={},a;for(a in e)if(LH.call(e,a))r[jwt(a)]=e[a];return r}function jwt(e){let r=e.replace(bwt,Nwt);if(r.slice(0,3)==="ms-")r="-"+r;return r}function Nwt(e){return"-"+e.toLowerCase()}var V2={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"]};C();var Fwt={};function RH(e,r){let a=r||Fwt,i=typeof a.includeImageAlt==="boolean"?a.includeImageAlt:!0,f=typeof a.includeHtml==="boolean"?a.includeHtml:!0;return sMe(e,i,f)}function sMe(e,r,a){if(Bwt(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 fMe(e.children,r,a)}if(Array.isArray(e))return fMe(e,r,a);return""}function fMe(e,r,a){let i=[],f=-1;while(++f<e.length)i[f]=sMe(e[f],r,a);return i.join("")}function Bwt(e){return Boolean(e&&typeof e==="object")}var lMe=document.createElement("i");function lR(e){let r="&"+e+";";lMe.innerHTML=r;let a=lMe.textContent;if(a.charCodeAt(a.length-1)===59&&e!=="semi")return!1;return a===r?!1:a}function xs(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 _l(e,r){if(e.length>0)return xs(e,e.length,0,r),e;return r}var cMe={}.hasOwnProperty;function uMe(e){let r={},a=-1;while(++a<e.length)Ywt(r,e[a]);return r}function Ywt(e,r){let a;for(a in r){let f=(cMe.call(e,a)?e[a]:void 0)||(e[a]={}),s=r[a],l;if(s)for(l in s){if(!cMe.call(f,l))f[l]=[];let c=s[l];Uwt(f[l],Array.isArray(c)?c:c?[c]:[])}}}function Uwt(e,r){let a=-1,i=[];while(++a<r.length)(r[a].add==="after"?e:i).push(r[a]);xs(e,0,0,i)}function w4(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 DM(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var jc=dz(/[A-Za-z]/),os=dz(/[\dA-Za-z]/),dMe=dz(/[#-'*+\--9=?A-Z^-~]/);function H2(e){return e!==null&&(e<32||e===127)}var W2=dz(/\d/),ZMe=dz(/[\dA-Fa-f]/),pMe=dz(/[!-/:-@[-`{-~]/);function Pr(e){return e!==null&&e<-2}function ri(e){return e!==null&&(e<0||e===32)}function ro(e){return e===-2||e===-1||e===32}var mMe=dz(/\p{P}|\p{S}/u),hMe=dz(/\s/);function dz(e){return r;function r(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function Zd(e){let r=[],a=-1,i=0,f=0;while(++a<e.length){let s=e.charCodeAt(a),l="";if(s===37&&os(e.charCodeAt(a+1))&&os(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 ao(e,r,a,i){let f=i?i-1:Number.POSITIVE_INFINITY,s=0;return l;function l(m){if(ro(m))return e.enter(a),c(m);return r(m)}function c(m){if(ro(m)&&s++<f)return e.consume(m),c;return e.exit(a),r(m)}}var gMe={tokenize:qwt};function qwt(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"),ao(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(Pr(c))return e.consume(c),e.exit("chunkText"),s;return e.consume(c),l}}var vMe={tokenize:Vwt},MMe={tokenize:Hwt};function Vwt(e){let r=this,a=[],i=0,f,s,l;return c;function c(Y){if(i<a.length){let W=a[i];return r.containerState=W[1],e.attempt(W[0].continuation,m,g)(Y)}return g(Y)}function m(Y){if(i++,r.containerState._closeFlow){if(r.containerState._closeFlow=void 0,f)I();let W=r.events.length,X=W,J;while(X--)if(r.events[X][0]==="exit"&&r.events[X][1].type==="chunkFlow"){J=r.events[X][1].end;break}k(i);let ee=W;while(ee<r.events.length)r.events[ee][1].end={...J},ee++;return xs(r.events,X+1,0,r.events.slice(W)),r.events.length=ee,g(Y)}return c(Y)}function g(Y){if(i===a.length){if(!f)return b(Y);if(f.currentConstruct&&f.currentConstruct.concrete)return _(Y);r.interrupt=Boolean(f.currentConstruct&&!f._gfmTableDynamicInterruptHack)}return r.containerState={},e.check(MMe,M,x)(Y)}function M(Y){if(f)I();return k(i),b(Y)}function x(Y){return r.parser.lazy[r.now().line]=i!==a.length,l=r.now().offset,_(Y)}function b(Y){return r.containerState={},e.attempt(MMe,y,_)(Y)}function y(Y){return i++,a.push([r.currentConstruct,r.containerState]),b(Y)}function _(Y){if(Y===null){if(f)I();k(0),e.consume(Y);return}return f=f||r.parser.flow(r.now()),e.enter("chunkFlow",{_tokenizer:f,contentType:"flow",previous:s}),z(Y)}function z(Y){if(Y===null){F(e.exit("chunkFlow"),!0),k(0),e.consume(Y);return}if(Pr(Y))return e.consume(Y),F(e.exit("chunkFlow")),i=0,r.interrupt=void 0,c;return e.consume(Y),z}function F(Y,W){let X=r.sliceStream(Y);if(W)X.push(null);if(Y.previous=s,s)s.next=Y;if(s=Y,f.defineSkip(Y.start),f.write(X),r.parser.lazy[Y.start.line]){let J=f.events.length;while(J--)if(f.events[J][1].start.offset<l&&(!f.events[J][1].end||f.events[J][1].end.offset>l))return;let ee=r.events.length,ae=ee,ne,xe;while(ae--)if(r.events[ae][0]==="exit"&&r.events[ae][1].type==="chunkFlow"){if(ne){xe=r.events[ae][1].end;break}ne=!0}k(i),J=ee;while(J<r.events.length)r.events[J][1].end={...xe},J++;xs(r.events,ae+1,0,r.events.slice(ee)),r.events.length=J}}function k(Y){let W=a.length;while(W-- >Y){let X=a[W];r.containerState=X[1],X[0].exit.call(r,e)}a.length=Y}function I(){f.write([null]),s=void 0,f=void 0,r.containerState._closeFlow=void 0}}function Hwt(e,r,a){return ao(e,e.attempt(this.parser.constructs.document,r,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function PH(e){if(e===null||ri(e)||hMe(e))return 1;if(mMe(e))return 2}function cR(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 G2={name:"attention",resolveAll:Wwt,tokenize:Gwt};function Wwt(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 x={...e[i][1].end},b={...e[a][1].start};if(xMe(x,-m),xMe(b,m),l={type:m>1?"strongSequence":"emphasisSequence",start:x,end:{...e[i][1].end}},c={type:m>1?"strongSequence":"emphasisSequence",start:{...e[a][1].start},end:b},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=_l(g,[["enter",e[i][1],r],["exit",e[i][1],r]]);if(g=_l(g,[["enter",f,r],["enter",l,r],["exit",l,r],["enter",s,r]]),g=_l(g,cR(r.parser.constructs.insideSpan.null,e.slice(i+1,a),r)),g=_l(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=_l(g,[["enter",e[a][1],r],["exit",e[a][1],r]]);else M=0;xs(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 Gwt(e,r){let a=this.parser.constructs.attentionMarkers.null,i=this.previous,f=PH(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=PH(m),x=!M||M===2&&f||a.includes(m),b=!f||f===2&&M||a.includes(i);return g._open=Boolean(s===42?x:x&&(f||!b)),g._close=Boolean(s===42?b:b&&(M||!x)),r(m)}}function xMe(e,r){e.column+=r,e.offset+=r,e._bufferIndex+=r}var TH={name:"autolink",tokenize:Kwt};function Kwt(e,r,a){let i=0;return f;function f(y){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(y){if(jc(y))return e.consume(y),l;if(y===64)return a(y);return g(y)}function l(y){if(y===43||y===45||y===46||os(y))return i=1,c(y);return g(y)}function c(y){if(y===58)return e.consume(y),i=0,m;if((y===43||y===45||y===46||os(y))&&i++<32)return e.consume(y),c;return i=0,g(y)}function m(y){if(y===62)return e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.exit("autolink"),r;if(y===null||y===32||y===60||H2(y))return a(y);return e.consume(y),m}function g(y){if(y===64)return e.consume(y),M;if(dMe(y))return e.consume(y),g;return a(y)}function M(y){return os(y)?x(y):a(y)}function x(y){if(y===46)return e.consume(y),i=0,M;if(y===62)return e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.exit("autolink"),r;return b(y)}function b(y){if((y===45||os(y))&&i++<63){let _=y===45?b:x;return e.consume(y),_}return a(y)}}var Zz={partial:!0,tokenize:Xwt};function Xwt(e,r,a){return i;function i(s){return ro(s)?ao(e,f,"linePrefix")(s):f(s)}function f(s){return s===null||Pr(s)?r(s):a(s)}}var z4={continuation:{tokenize:Jwt},exit:$wt,name:"blockQuote",tokenize:Qwt};function Qwt(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(ro(l))return e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),r;return e.exit("blockQuotePrefix"),r(l)}}function Jwt(e,r,a){let i=this;return f;function f(l){if(ro(l))return ao(e,s,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l);return s(l)}function s(l){return e.attempt(z4,r,a)(l)}}function $wt(e){e.exit("blockQuote")}var S4={name:"characterEscape",tokenize:e0t};function e0t(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(pMe(s))return e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),r;return a(s)}}var L4={name:"characterReference",tokenize:t0t};function t0t(e,r,a){let i=this,f=0,s,l;return c;function c(x){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(x),e.exit("characterReferenceMarker"),m}function m(x){if(x===35)return e.enter("characterReferenceMarkerNumeric"),e.consume(x),e.exit("characterReferenceMarkerNumeric"),g;return e.enter("characterReferenceValue"),s=31,l=os,M(x)}function g(x){if(x===88||x===120)return e.enter("characterReferenceMarkerHexadecimal"),e.consume(x),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,l=ZMe,M;return e.enter("characterReferenceValue"),s=7,l=W2,M(x)}function M(x){if(x===59&&f){let b=e.exit("characterReferenceValue");if(l===os&&!lR(i.sliceSerialize(b)))return a(x);return e.enter("characterReferenceMarker"),e.consume(x),e.exit("characterReferenceMarker"),e.exit("characterReference"),r}if(l(x)&&f++<s)return e.consume(x),M;return a(x)}}var yMe={partial:!0,tokenize:o0t},k4={concrete:!0,name:"codeFenced",tokenize:r0t};function r0t(e,r,a){let i=this,f={partial:!0,tokenize:X},s=0,l=0,c;return m;function m(J){return g(J)}function g(J){let ee=i.events[i.events.length-1];return s=ee&&ee[1].type==="linePrefix"?ee[2].sliceSerialize(ee[1],!0).length:0,c=J,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),M(J)}function M(J){if(J===c)return l++,e.consume(J),M;if(l<3)return a(J);return e.exit("codeFencedFenceSequence"),ro(J)?ao(e,x,"whitespace")(J):x(J)}function x(J){if(J===null||Pr(J))return e.exit("codeFencedFence"),i.interrupt?r(J):e.check(yMe,z,W)(J);return e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),b(J)}function b(J){if(J===null||Pr(J))return e.exit("chunkString"),e.exit("codeFencedFenceInfo"),x(J);if(ro(J))return e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ao(e,y,"whitespace")(J);if(J===96&&J===c)return a(J);return e.consume(J),b}function y(J){if(J===null||Pr(J))return x(J);return e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),_(J)}function _(J){if(J===null||Pr(J))return e.exit("chunkString"),e.exit("codeFencedFenceMeta"),x(J);if(J===96&&J===c)return a(J);return e.consume(J),_}function z(J){return e.attempt(f,W,F)(J)}function F(J){return e.enter("lineEnding"),e.consume(J),e.exit("lineEnding"),k}function k(J){return s>0&&ro(J)?ao(e,I,"linePrefix",s+1)(J):I(J)}function I(J){if(J===null||Pr(J))return e.check(yMe,z,W)(J);return e.enter("codeFlowValue"),Y(J)}function Y(J){if(J===null||Pr(J))return e.exit("codeFlowValue"),I(J);return e.consume(J),Y}function W(J){return e.exit("codeFenced"),r(J)}function X(J,ee,ae){let ne=0;return xe;function xe(dt){return J.enter("lineEnding"),J.consume(dt),J.exit("lineEnding"),Qe}function Qe(dt){return J.enter("codeFencedFence"),ro(dt)?ao(J,Fe,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(dt):Fe(dt)}function Fe(dt){if(dt===c)return J.enter("codeFencedFenceSequence"),ye(dt);return ae(dt)}function ye(dt){if(dt===c)return ne++,J.consume(dt),ye;if(ne>=l)return J.exit("codeFencedFenceSequence"),ro(dt)?ao(J,Ve,"whitespace")(dt):Ve(dt);return ae(dt)}function Ve(dt){if(dt===null||Pr(dt))return J.exit("codeFencedFence"),ee(dt);return ae(dt)}}}function o0t(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 K2={name:"codeIndented",tokenize:n0t},a0t={partial:!0,tokenize:i0t};function n0t(e,r,a){let i=this;return f;function f(g){return e.enter("codeIndented"),ao(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(Pr(g))return e.attempt(a0t,l,m)(g);return e.enter("codeFlowValue"),c(g)}function c(g){if(g===null||Pr(g))return e.exit("codeFlowValue"),l(g);return e.consume(g),c}function m(g){return e.exit("codeIndented"),r(g)}}function i0t(e,r,a){let i=this;return f;function f(l){if(i.parser.lazy[i.now().line])return a(l);if(Pr(l))return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),f;return ao(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):Pr(l)?f(l):a(l)}}var AH={name:"codeText",previous:s0t,resolve:f0t,tokenize:l0t};function f0t(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 s0t(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function l0t(e,r,a){let i=this,f=0,s,l;return c;function c(b){return e.enter("codeText"),e.enter("codeTextSequence"),m(b)}function m(b){if(b===96)return e.consume(b),f++,m;return e.exit("codeTextSequence"),g(b)}function g(b){if(b===null)return a(b);if(b===32)return e.enter("space"),e.consume(b),e.exit("space"),g;if(b===96)return l=e.enter("codeTextSequence"),s=0,x(b);if(Pr(b))return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),g;return e.enter("codeTextData"),M(b)}function M(b){if(b===null||b===32||b===96||Pr(b))return e.exit("codeTextData"),g(b);return e.consume(b),M}function x(b){if(b===96)return e.consume(b),s++,x;if(s===f)return e.exit("codeTextSequence"),e.exit("codeText"),r(b);return l.type="codeTextData",M(b)}}class DH{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)X2(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),X2(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),X2(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);X2(this.right,r.reverse())}else{let r=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);X2(this.left,r.reverse())}}}function X2(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 I4(e){let r={},a=-1,i,f,s,l,c,m,g,M=new DH(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,c0t(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 xs(e,0,Number.POSITIVE_INFINITY,M.slice(0)),!g}function c0t(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,x,b=-1,y=a,_=0,z=0,F=[z];while(y){while(e.get(++f)[1]!==y);if(s.push(f),!y._tokenizer){if(M=i.sliceStream(y),!y.next)M.push(null);if(x)l.defineSkip(y.start);if(y._isInFirstContentOfListItem)l._gfmTasklistFirstContentOfListItem=!0;if(l.write(M),y._isInFirstContentOfListItem)l._gfmTasklistFirstContentOfListItem=void 0}x=y,y=y.next}y=a;while(++b<c.length)if(c[b][0]==="exit"&&c[b-1][0]==="enter"&&c[b][1].type===c[b-1][1].type&&c[b][1].start.line!==c[b][1].end.line)z=b+1,F.push(z),y._tokenizer=void 0,y.previous=void 0,y=y.next;if(l.events=[],y)y._tokenizer=void 0,y.previous=void 0;else F.pop();b=F.length;while(b--){let k=c.slice(F[b],F[b+1]),I=s.pop();m.push([I,I+k.length-1]),e.splice(I,2,k)}m.reverse(),b=-1;while(++b<m.length)g[_+m[b][0]]=_+m[b][1],_+=m[b][1]-m[b][0]-1;return g}var EH={resolve:d0t,tokenize:Z0t},u0t={partial:!0,tokenize:p0t};function d0t(e){return I4(e),e}function Z0t(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(Pr(c))return e.check(u0t,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 p0t(e,r,a){let i=this;return f;function f(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),ao(e,s,"linePrefix")}function s(l){if(l===null||Pr(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 C4(e,r,a,i,f,s,l,c,m){let g=m||Number.POSITIVE_INFINITY,M=0;return x;function x(k){if(k===60)return e.enter(i),e.enter(f),e.enter(s),e.consume(k),e.exit(s),b;if(k===null||k===32||k===41||H2(k))return a(k);return e.enter(i),e.enter(l),e.enter(c),e.enter("chunkString",{contentType:"string"}),z(k)}function b(k){if(k===62)return e.enter(s),e.consume(k),e.exit(s),e.exit(f),e.exit(i),r;return e.enter(c),e.enter("chunkString",{contentType:"string"}),y(k)}function y(k){if(k===62)return e.exit("chunkString"),e.exit(c),b(k);if(k===null||k===60||Pr(k))return a(k);return e.consume(k),k===92?_:y}function _(k){if(k===60||k===62||k===92)return e.consume(k),y;return y(k)}function z(k){if(!M&&(k===null||k===41||ri(k)))return e.exit("chunkString"),e.exit(c),e.exit(l),e.exit(i),r(k);if(M<g&&k===40)return e.consume(k),M++,z;if(k===41)return e.consume(k),M--,z;if(k===null||k===32||k===40||H2(k))return a(k);return e.consume(k),k===92?F:z}function F(k){if(k===40||k===41||k===92)return e.consume(k),z;return z(k)}}function R4(e,r,a,i,f,s){let l=this,c=0,m;return g;function g(y){return e.enter(i),e.enter(f),e.consume(y),e.exit(f),e.enter(s),M}function M(y){if(c>999||y===null||y===91||y===93&&!m||y===94&&!c&&"_hiddenFootnoteSupport"in l.parser.constructs)return a(y);if(y===93)return e.exit(s),e.enter(f),e.consume(y),e.exit(f),e.exit(i),r;if(Pr(y))return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),M;return e.enter("chunkString",{contentType:"string"}),x(y)}function x(y){if(y===null||y===91||y===93||Pr(y)||c++>999)return e.exit("chunkString"),M(y);if(e.consume(y),!m)m=!ro(y);return y===92?b:x}function b(y){if(y===91||y===92||y===93)return e.consume(y),c++,x;return x(y)}}function P4(e,r,a,i,f,s){let l;return c;function c(b){if(b===34||b===39||b===40)return e.enter(i),e.enter(f),e.consume(b),e.exit(f),l=b===40?41:b,m;return a(b)}function m(b){if(b===l)return e.enter(f),e.consume(b),e.exit(f),e.exit(i),r;return e.enter(s),g(b)}function g(b){if(b===l)return e.exit(s),m(l);if(b===null)return a(b);if(Pr(b))return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),ao(e,g,"linePrefix");return e.enter("chunkString",{contentType:"string"}),M(b)}function M(b){if(b===l||b===null||Pr(b))return e.exit("chunkString"),g(b);return e.consume(b),b===92?x:M}function x(b){if(b===l||b===92)return e.consume(b),M;return M(b)}}function JL(e,r){let a;return i;function i(f){if(Pr(f))return e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),a=!0,i;if(ro(f))return ao(e,i,a?"linePrefix":"lineSuffix")(f);return r(f)}}var OH={name:"definition",tokenize:h0t},m0t={partial:!0,tokenize:g0t};function h0t(e,r,a){let i=this,f;return s;function s(y){return e.enter("definition"),l(y)}function l(y){return R4.call(i,e,c,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(y)}function c(y){if(f=DM(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),y===58)return e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),m;return a(y)}function m(y){return ri(y)?JL(e,g)(y):g(y)}function g(y){return C4(e,M,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(y)}function M(y){return e.attempt(m0t,x,x)(y)}function x(y){return ro(y)?ao(e,b,"whitespace")(y):b(y)}function b(y){if(y===null||Pr(y))return e.exit("definition"),i.parser.defined.push(f),r(y);return a(y)}}function g0t(e,r,a){return i;function i(c){return ri(c)?JL(e,f)(c):a(c)}function f(c){return P4(e,s,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function s(c){return ro(c)?ao(e,l,"whitespace")(c):l(c)}function l(c){return c===null||Pr(c)?r(c):a(c)}}var jH={name:"hardBreakEscape",tokenize:M0t};function M0t(e,r,a){return i;function i(s){return e.enter("hardBreakEscape"),e.consume(s),f}function f(s){if(Pr(s))return e.exit("hardBreakEscape"),r(s);return a(s)}}var NH={name:"headingAtx",resolve:v0t,tokenize:x0t};function v0t(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"},xs(e,i,a-i+1,[["enter",f,r],["enter",s,r],["exit",s,r],["exit",f,r]]);return e}function x0t(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||ri(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||Pr(M))return e.exit("atxHeading"),r(M);if(ro(M))return ao(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||ri(M))return e.exit("atxHeadingText"),c(M);return e.consume(M),g}}var bMe=["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"],FH=["pre","script","style","textarea"];var BH={concrete:!0,name:"htmlFlow",resolveTo:_0t,tokenize:w0t},y0t={partial:!0,tokenize:S0t},b0t={partial:!0,tokenize:z0t};function _0t(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 w0t(e,r,a){let i=this,f,s,l,c,m;return g;function g(ke){return M(ke)}function M(ke){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(ke),x}function x(ke){if(ke===33)return e.consume(ke),b;if(ke===47)return e.consume(ke),s=!0,z;if(ke===63)return e.consume(ke),f=3,i.interrupt?r:le;if(jc(ke))return e.consume(ke),l=String.fromCharCode(ke),F;return a(ke)}function b(ke){if(ke===45)return e.consume(ke),f=2,y;if(ke===91)return e.consume(ke),f=5,c=0,_;if(jc(ke))return e.consume(ke),f=4,i.interrupt?r:le;return a(ke)}function y(ke){if(ke===45)return e.consume(ke),i.interrupt?r:le;return a(ke)}function _(ke){if(ke==="CDATA[".charCodeAt(c++)){if(e.consume(ke),c===6)return i.interrupt?r:Fe;return _}return a(ke)}function z(ke){if(jc(ke))return e.consume(ke),l=String.fromCharCode(ke),F;return a(ke)}function F(ke){if(ke===null||ke===47||ke===62||ri(ke)){let Zr=ke===47,lr=l.toLowerCase();if(!Zr&&!s&&FH.includes(lr))return f=1,i.interrupt?r(ke):Fe(ke);if(bMe.includes(l.toLowerCase())){if(f=6,Zr)return e.consume(ke),k;return i.interrupt?r(ke):Fe(ke)}return f=7,i.interrupt&&!i.parser.lazy[i.now().line]?a(ke):s?I(ke):Y(ke)}if(ke===45||os(ke))return e.consume(ke),l+=String.fromCharCode(ke),F;return a(ke)}function k(ke){if(ke===62)return e.consume(ke),i.interrupt?r:Fe;return a(ke)}function I(ke){if(ro(ke))return e.consume(ke),I;return xe(ke)}function Y(ke){if(ke===47)return e.consume(ke),xe;if(ke===58||ke===95||jc(ke))return e.consume(ke),W;if(ro(ke))return e.consume(ke),Y;return xe(ke)}function W(ke){if(ke===45||ke===46||ke===58||ke===95||os(ke))return e.consume(ke),W;return X(ke)}function X(ke){if(ke===61)return e.consume(ke),J;if(ro(ke))return e.consume(ke),X;return Y(ke)}function J(ke){if(ke===null||ke===60||ke===61||ke===62||ke===96)return a(ke);if(ke===34||ke===39)return e.consume(ke),m=ke,ee;if(ro(ke))return e.consume(ke),J;return ae(ke)}function ee(ke){if(ke===m)return e.consume(ke),m=null,ne;if(ke===null||Pr(ke))return a(ke);return e.consume(ke),ee}function ae(ke){if(ke===null||ke===34||ke===39||ke===47||ke===60||ke===61||ke===62||ke===96||ri(ke))return X(ke);return e.consume(ke),ae}function ne(ke){if(ke===47||ke===62||ro(ke))return Y(ke);return a(ke)}function xe(ke){if(ke===62)return e.consume(ke),Qe;return a(ke)}function Qe(ke){if(ke===null||Pr(ke))return Fe(ke);if(ro(ke))return e.consume(ke),Qe;return a(ke)}function Fe(ke){if(ke===45&&f===2)return e.consume(ke),lt;if(ke===60&&f===1)return e.consume(ke),pt;if(ke===62&&f===4)return e.consume(ke),mt;if(ke===63&&f===3)return e.consume(ke),le;if(ke===93&&f===5)return e.consume(ke),Wt;if(Pr(ke)&&(f===6||f===7))return e.exit("htmlFlowData"),e.check(y0t,Gt,ye)(ke);if(ke===null||Pr(ke))return e.exit("htmlFlowData"),ye(ke);return e.consume(ke),Fe}function ye(ke){return e.check(b0t,Ve,Gt)(ke)}function Ve(ke){return e.enter("lineEnding"),e.consume(ke),e.exit("lineEnding"),dt}function dt(ke){if(ke===null||Pr(ke))return ye(ke);return e.enter("htmlFlowData"),Fe(ke)}function lt(ke){if(ke===45)return e.consume(ke),le;return Fe(ke)}function pt(ke){if(ke===47)return e.consume(ke),l="",Bt;return Fe(ke)}function Bt(ke){if(ke===62){let Zr=l.toLowerCase();if(FH.includes(Zr))return e.consume(ke),mt;return Fe(ke)}if(jc(ke)&&l.length<8)return e.consume(ke),l+=String.fromCharCode(ke),Bt;return Fe(ke)}function Wt(ke){if(ke===93)return e.consume(ke),le;return Fe(ke)}function le(ke){if(ke===62)return e.consume(ke),mt;if(ke===45&&f===2)return e.consume(ke),le;return Fe(ke)}function mt(ke){if(ke===null||Pr(ke))return e.exit("htmlFlowData"),Gt(ke);return e.consume(ke),mt}function Gt(ke){return e.exit("htmlFlow"),r(ke)}}function z0t(e,r,a){let i=this;return f;function f(l){if(Pr(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 S0t(e,r,a){return i;function i(f){return e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),e.attempt(Zz,r,a)}}var YH={name:"htmlText",tokenize:L0t};function L0t(e,r,a){let i=this,f,s,l;return c;function c(le){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(le),m}function m(le){if(le===33)return e.consume(le),g;if(le===47)return e.consume(le),X;if(le===63)return e.consume(le),Y;if(jc(le))return e.consume(le),ae;return a(le)}function g(le){if(le===45)return e.consume(le),M;if(le===91)return e.consume(le),s=0,_;if(jc(le))return e.consume(le),I;return a(le)}function M(le){if(le===45)return e.consume(le),y;return a(le)}function x(le){if(le===null)return a(le);if(le===45)return e.consume(le),b;if(Pr(le))return l=x,pt(le);return e.consume(le),x}function b(le){if(le===45)return e.consume(le),y;return x(le)}function y(le){return le===62?lt(le):le===45?b(le):x(le)}function _(le){if(le==="CDATA[".charCodeAt(s++))return e.consume(le),s===6?z:_;return a(le)}function z(le){if(le===null)return a(le);if(le===93)return e.consume(le),F;if(Pr(le))return l=z,pt(le);return e.consume(le),z}function F(le){if(le===93)return e.consume(le),k;return z(le)}function k(le){if(le===62)return lt(le);if(le===93)return e.consume(le),k;return z(le)}function I(le){if(le===null||le===62)return lt(le);if(Pr(le))return l=I,pt(le);return e.consume(le),I}function Y(le){if(le===null)return a(le);if(le===63)return e.consume(le),W;if(Pr(le))return l=Y,pt(le);return e.consume(le),Y}function W(le){return le===62?lt(le):Y(le)}function X(le){if(jc(le))return e.consume(le),J;return a(le)}function J(le){if(le===45||os(le))return e.consume(le),J;return ee(le)}function ee(le){if(Pr(le))return l=ee,pt(le);if(ro(le))return e.consume(le),ee;return lt(le)}function ae(le){if(le===45||os(le))return e.consume(le),ae;if(le===47||le===62||ri(le))return ne(le);return a(le)}function ne(le){if(le===47)return e.consume(le),lt;if(le===58||le===95||jc(le))return e.consume(le),xe;if(Pr(le))return l=ne,pt(le);if(ro(le))return e.consume(le),ne;return lt(le)}function xe(le){if(le===45||le===46||le===58||le===95||os(le))return e.consume(le),xe;return Qe(le)}function Qe(le){if(le===61)return e.consume(le),Fe;if(Pr(le))return l=Qe,pt(le);if(ro(le))return e.consume(le),Qe;return ne(le)}function Fe(le){if(le===null||le===60||le===61||le===62||le===96)return a(le);if(le===34||le===39)return e.consume(le),f=le,ye;if(Pr(le))return l=Fe,pt(le);if(ro(le))return e.consume(le),Fe;return e.consume(le),Ve}function ye(le){if(le===f)return e.consume(le),f=void 0,dt;if(le===null)return a(le);if(Pr(le))return l=ye,pt(le);return e.consume(le),ye}function Ve(le){if(le===null||le===34||le===39||le===60||le===61||le===96)return a(le);if(le===47||le===62||ri(le))return ne(le);return e.consume(le),Ve}function dt(le){if(le===47||le===62||ri(le))return ne(le);return a(le)}function lt(le){if(le===62)return e.consume(le),e.exit("htmlTextData"),e.exit("htmlText"),r;return a(le)}function pt(le){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(le),e.exit("lineEnding"),Bt}function Bt(le){return ro(le)?ao(e,Wt,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(le):Wt(le)}function Wt(le){return e.enter("htmlTextData"),l(le)}}var $L={name:"labelEnd",resolveAll:R0t,resolveTo:P0t,tokenize:T0t},k0t={tokenize:A0t},I0t={tokenize:D0t},C0t={tokenize:E0t};function R0t(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)xs(e,0,e.length,a);return e}function P0t(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=_l(c,e.slice(s+1,s+i+3)),c=_l(c,[["enter",M,r]]),c=_l(c,cR(r.parser.constructs.insideSpan.null,e.slice(s+i+4,l-3),r)),c=_l(c,[["exit",M,r],e[l-2],e[l-1],["exit",g,r]]),c=_l(c,e.slice(l+1)),c=_l(c,[["exit",m,r]]),xs(e,s,e.length,c),e}function T0t(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(b){if(!s)return a(b);if(s._inactive)return x(b);return l=i.parser.defined.includes(DM(i.sliceSerialize({start:s.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(b),e.exit("labelMarker"),e.exit("labelEnd"),m}function m(b){if(b===40)return e.attempt(k0t,M,l?M:x)(b);if(b===91)return e.attempt(I0t,M,l?g:x)(b);return l?M(b):x(b)}function g(b){return e.attempt(C0t,M,x)(b)}function M(b){return r(b)}function x(b){return s._balanced=!0,a(b)}}function A0t(e,r,a){return i;function i(x){return e.enter("resource"),e.enter("resourceMarker"),e.consume(x),e.exit("resourceMarker"),f}function f(x){return ri(x)?JL(e,s)(x):s(x)}function s(x){if(x===41)return M(x);return C4(e,l,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(x)}function l(x){return ri(x)?JL(e,m)(x):M(x)}function c(x){return a(x)}function m(x){if(x===34||x===39||x===40)return P4(e,g,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(x);return M(x)}function g(x){return ri(x)?JL(e,M)(x):M(x)}function M(x){if(x===41)return e.enter("resourceMarker"),e.consume(x),e.exit("resourceMarker"),e.exit("resource"),r;return a(x)}}function D0t(e,r,a){let i=this;return f;function f(c){return R4.call(i,e,s,l,"reference","referenceMarker","referenceString")(c)}function s(c){return i.parser.defined.includes(DM(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?r(c):a(c)}function l(c){return a(c)}}function E0t(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 UH={name:"labelStartImage",resolveAll:$L.resolveAll,tokenize:O0t};function O0t(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 qH={name:"labelStartLink",resolveAll:$L.resolveAll,tokenize:j0t};function j0t(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 Q2={name:"lineEnding",tokenize:N0t};function N0t(e,r){return a;function a(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),ao(e,r,"linePrefix")}}var ek={name:"thematicBreak",tokenize:F0t};function F0t(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||Pr(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"),ro(g)?ao(e,c,"whitespace")(g):c(g)}}var Ys={continuation:{tokenize:q0t},exit:H0t,name:"list",tokenize:U0t},B0t={partial:!0,tokenize:W0t},Y0t={partial:!0,tokenize:V0t};function U0t(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(y){let _=i.containerState.type||(y===42||y===43||y===45?"listUnordered":"listOrdered");if(_==="listUnordered"?!i.containerState.marker||y===i.containerState.marker:W2(y)){if(!i.containerState.type)i.containerState.type=_,e.enter(_,{_container:!0});if(_==="listUnordered")return e.enter("listItemPrefix"),y===42||y===45?e.check(ek,a,g)(y):g(y);if(!i.interrupt||y===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),m(y)}return a(y)}function m(y){if(W2(y)&&++l<10)return e.consume(y),m;if((!i.interrupt||l<2)&&(i.containerState.marker?y===i.containerState.marker:y===41||y===46))return e.exit("listItemValue"),g(y);return a(y)}function g(y){return e.enter("listItemMarker"),e.consume(y),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||y,e.check(Zz,i.interrupt?a:M,e.attempt(B0t,b,x))}function M(y){return i.containerState.initialBlankLine=!0,s++,b(y)}function x(y){if(ro(y))return e.enter("listItemPrefixWhitespace"),e.consume(y),e.exit("listItemPrefixWhitespace"),b;return a(y)}function b(y){return i.containerState.size=s+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,r(y)}}function q0t(e,r,a){let i=this;return i.containerState._closeFlow=void 0,e.check(Zz,f,s);function f(c){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,ao(e,r,"listItemIndent",i.containerState.size+1)(c)}function s(c){if(i.containerState.furtherBlankLines||!ro(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(Y0t,r,l)(c)}function l(c){return i.containerState._closeFlow=!0,i.interrupt=void 0,ao(e,e.attempt(Ys,r,a),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function V0t(e,r,a){let i=this;return ao(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 H0t(e){e.exit(this.containerState.type)}function W0t(e,r,a){let i=this;return ao(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!ro(s)&&l&&l[1].type==="listItemPrefixWhitespace"?r(s):a(s)}}var T4={name:"setextUnderline",resolveTo:G0t,tokenize:K0t};function G0t(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 K0t(e,r,a){let i=this,f;return s;function s(g){let M=i.events.length,x;while(M--)if(i.events[M][1].type!=="lineEnding"&&i.events[M][1].type!=="linePrefix"&&i.events[M][1].type!=="content"){x=i.events[M][1].type==="paragraph";break}if(!i.parser.lazy[i.now().line]&&(i.interrupt||x))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"),ro(g)?ao(e,m,"lineSuffix")(g):m(g)}function m(g){if(g===null||Pr(g))return e.exit("setextHeadingLine"),r(g);return a(g)}}var _Me={tokenize:X0t};function X0t(e){let r=this,a=e.attempt(Zz,i,e.attempt(this.parser.constructs.flowInitial,f,ao(e,e.attempt(this.parser.constructs.flow,f,e.attempt(EH,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 wMe={resolveAll:kMe()},zMe=LMe("string"),SMe=LMe("text");function LMe(e){return{resolveAll:kMe(e==="text"?Q0t: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 x=f[M],b=-1;if(x)while(++b<x.length){let y=x[b];if(!y.previous||y.previous.call(i,i.previous))return!0}return!1}}}function kMe(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 Q0t(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 VH={};Ne(VH,{attentionMarkers:()=>nzt,contentInitial:()=>$0t,disable:()=>izt,document:()=>J0t,flow:()=>tzt,flowInitial:()=>ezt,insideSpan:()=>azt,string:()=>rzt,text:()=>ozt});var J0t={[42]:Ys,[43]:Ys,[45]:Ys,[48]:Ys,[49]:Ys,[50]:Ys,[51]:Ys,[52]:Ys,[53]:Ys,[54]:Ys,[55]:Ys,[56]:Ys,[57]:Ys,[62]:z4},$0t={[91]:OH},ezt={[-2]:K2,[-1]:K2,[32]:K2},tzt={[35]:NH,[42]:ek,[45]:[T4,ek],[60]:BH,[61]:T4,[95]:ek,[96]:k4,[126]:k4},rzt={[38]:L4,[92]:S4},ozt={[-5]:Q2,[-4]:Q2,[-3]:Q2,[33]:UH,[38]:L4,[42]:G2,[60]:[TH,YH],[91]:qH,[92]:[jH,S4],[93]:$L,[95]:G2,[96]:AH},azt={null:[G2,wMe]},nzt={null:[42,95]},izt={null:[]};function IMe(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:ne(ee),check:ne(ae),consume:W,enter:X,exit:J,interrupt:ne(ae,{interrupt:!0})},M={code:null,containerState:{},defineSkip:k,events:[],now:F,parser:e,previous:null,sliceSerialize:_,sliceStream:z,write:y},x=r.tokenize.call(M,g),b;if(r.resolveAll)s.push(r);return M;function y(ye){if(l=_l(l,ye),I(),l[l.length-1]!==null)return[];return xe(r,0),M.events=cR(s,M.events,M),M.events}function _(ye,Ve){return szt(z(ye),Ve)}function z(ye){return fzt(l,ye)}function F(){let{_bufferIndex:ye,_index:Ve,line:dt,column:lt,offset:pt}=i;return{_bufferIndex:ye,_index:Ve,line:dt,column:lt,offset:pt}}function k(ye){f[ye.line]=ye.column,Fe()}function I(){let ye;while(i._index<l.length){let Ve=l[i._index];if(typeof Ve==="string"){if(ye=i._index,i._bufferIndex<0)i._bufferIndex=0;while(i._index===ye&&i._bufferIndex<Ve.length)Y(Ve.charCodeAt(i._bufferIndex))}else Y(Ve)}}function Y(ye){m=void 0,b=ye,x=x(ye)}function W(ye){if(Pr(ye))i.line++,i.column=1,i.offset+=ye===-3?2:1,Fe();else if(ye!==-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=ye,m=!0}function X(ye,Ve){let dt=Ve||{};return dt.type=ye,dt.start=F(),M.events.push(["enter",dt,M]),c.push(dt),dt}function J(ye){let Ve=c.pop();return Ve.end=F(),M.events.push(["exit",Ve,M]),Ve}function ee(ye,Ve){xe(ye,Ve.from)}function ae(ye,Ve){Ve.restore()}function ne(ye,Ve){return dt;function dt(lt,pt,Bt){let Wt,le,mt,Gt;return Array.isArray(lt)?Zr(lt):("tokenize"in lt)?Zr([lt]):ke(lt);function ke(Qt){return Jt;function Jt(vr){let Er=vr!==null&&Qt[vr],Br=vr!==null&&Qt.null,xr=[...Array.isArray(Er)?Er:Er?[Er]:[],...Array.isArray(Br)?Br:Br?[Br]:[]];return Zr(xr)(vr)}}function Zr(Qt){if(Wt=Qt,le=0,Qt.length===0)return Bt;return lr(Qt[le])}function lr(Qt){return Jt;function Jt(vr){if(Gt=Qe(),mt=Qt,!Qt.partial)M.currentConstruct=Qt;if(Qt.name&&M.parser.constructs.disable.null.includes(Qt.name))return Ur(vr);return Qt.tokenize.call(Ve?Object.assign(Object.create(M),Ve):M,g,tr,Ur)(vr)}}function tr(Qt){return m=!0,ye(mt,Gt),pt}function Ur(Qt){if(m=!0,Gt.restore(),++le<Wt.length)return lr(Wt[le]);return Bt}}}function xe(ye,Ve){if(ye.resolveAll&&!s.includes(ye))s.push(ye);if(ye.resolve)xs(M.events,Ve,M.events.length-Ve,ye.resolve(M.events.slice(Ve),M));if(ye.resolveTo)M.events=ye.resolveTo(M.events,M)}function Qe(){let ye=F(),{previous:Ve,currentConstruct:dt}=M,lt=M.events.length,pt=Array.from(c);return{from:lt,restore:Bt};function Bt(){i=ye,M.previous=Ve,M.currentConstruct=dt,M.events.length=lt,c=pt,Fe()}}function Fe(){if(i.line in f&&i.column<2)i.column=f[i.line],i.offset+=f[i.line]-1}}function fzt(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 szt(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 HH(e){let i={constructs:uMe([VH,...(e||{}).extensions||[]]),content:f(gMe),defined:[],document:f(vMe),flow:f(_Me),lazy:{},string:f(zMe),text:f(SMe)};return i;function f(s){return l;function l(c){return IMe(i,s,c)}}}function WH(e){while(!I4(e));return e}var CMe=/[\0\t\n\r]/g;function GH(){let e=1,r="",a=!0,i;return f;function f(s,l,c){let m=[],g,M,x,b,y;if(s=r+(typeof s==="string"?s.toString():new TextDecoder(l||void 0).decode(s)),x=0,r="",a){if(s.charCodeAt(0)===65279)x++;a=void 0}while(x<s.length){if(CMe.lastIndex=x,g=CMe.exec(s),b=g&&g.index!==void 0?g.index:s.length,y=s.charCodeAt(b),!g){r=s.slice(x);break}if(y===10&&x===b&&i)m.push(-3),i=void 0;else{if(i)m.push(-5),i=void 0;if(x<b)m.push(s.slice(x,b)),e+=b-x;switch(y){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}}x=b+1}if(c){if(i)m.push(-5);if(r)m.push(r);m.push(null)}return m}}var lzt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function RMe(e){return e.replace(lzt,czt)}function czt(e,r,a){if(r)return r;if(a.charCodeAt(0)===35){let f=a.charCodeAt(1),s=f===120||f===88;return w4(a.slice(s?2:1),s?16:10)}return lR(a)||e}var TMe={}.hasOwnProperty;function KH(e,r,a){if(r&&typeof r==="object")a=r,r=void 0;return uzt(a)(WH(HH(a).document().write(GH()(e,r,!0))))}function uzt(e){let r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(_o),autolinkProtocol:ne,autolinkEmail:ne,atxHeading:s(rr),blockQuote:s(vr),characterEscape:ne,characterReference:ne,codeFenced:s(Er),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(Er,l),codeText:s(Br,l),codeTextData:ne,data:ne,codeFlowValue:ne,definition:s(xr),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(bo),hardBreakEscape:s(Qr),hardBreakTrailing:s(Qr),htmlFlow:s(go,l),htmlFlowData:ne,htmlText:s(go,l),htmlTextData:ne,image:s(Bo),label:l,link:s(_o),listItem:s(bn),listItemValue:b,listOrdered:s(ni,x),listUnordered:s(ni),paragraph:s(Xo),reference:ke,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(rr),strong:s(Yn),thematicBreak:s(is)},exit:{atxHeading:m(),atxHeadingSequence:X,autolink:m(),autolinkEmail:Jt,autolinkProtocol:Qt,blockQuote:m(),characterEscapeValue:xe,characterReferenceMarkerHexadecimal:lr,characterReferenceMarkerNumeric:lr,characterReferenceValue:tr,characterReference:Ur,codeFenced:m(F),codeFencedFence:z,codeFencedFenceInfo:y,codeFencedFenceMeta:_,codeFlowValue:xe,codeIndented:m(k),codeText:m(dt),codeTextData:xe,data:xe,definition:m(),definitionDestinationString:W,definitionLabelString:I,definitionTitleString:Y,emphasis:m(),hardBreakEscape:m(Fe),hardBreakTrailing:m(Fe),htmlFlow:m(ye),htmlFlowData:xe,htmlText:m(Ve),htmlTextData:xe,image:m(pt),label:Wt,labelText:Bt,lineEnding:Qe,link:m(lt),listItem:m(),listOrdered:m(),listUnordered:m(),paragraph:m(),referenceString:Zr,resourceDestinationString:le,resourceTitleString:mt,resource:Gt,setextHeading:m(ae),setextHeadingLineSequence:ee,setextHeadingText:J,strong:m(),thematicBreak:m()}};AMe(r,(e||{}).mdastExtensions||[]);let a={};return i;function i($e){let jt={type:"root",children:[]},wr={stack:[jt],tokenStack:[],config:r,enter:c,exit:g,buffer:l,resume:M,data:a},Xr=[],oo=-1;while(++oo<$e.length)if($e[oo][1].type==="listOrdered"||$e[oo][1].type==="listUnordered")if($e[oo][0]==="enter")Xr.push(oo);else{let $o=Xr.pop();oo=f($e,$o,oo)}oo=-1;while(++oo<$e.length){let $o=r[$e[oo][0]];if(TMe.call($o,$e[oo][1].type))$o[$e[oo][1].type].call(Object.assign({sliceSerialize:$e[oo][2].sliceSerialize},wr),$e[oo][1])}if(wr.tokenStack.length>0){let $o=wr.tokenStack[wr.tokenStack.length-1];($o[1]||PMe).call(wr,void 0,$o[0])}jt.position={start:pz($e.length>0?$e[0][1].start:{line:1,column:1,offset:0}),end:pz($e.length>0?$e[$e.length-2][1].end:{line:1,column:1,offset:0})},oo=-1;while(++oo<r.transforms.length)jt=r.transforms[oo](jt)||jt;return jt}function f($e,jt,wr){let Xr=jt-1,oo=-1,$o=!1,Pa,ze,Se,Pe;while(++Xr<=wr){let Zt=$e[Xr];switch(Zt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{if(Zt[0]==="enter")oo++;else oo--;Pe=void 0;break}case"lineEndingBlank":{if(Zt[0]==="enter"){if(Pa&&!Pe&&!oo&&!Se)Se=Xr;Pe=void 0}break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Pe=void 0}if(!oo&&Zt[0]==="enter"&&Zt[1].type==="listItemPrefix"||oo===-1&&Zt[0]==="exit"&&(Zt[1].type==="listUnordered"||Zt[1].type==="listOrdered")){if(Pa){let Ct=Xr;ze=void 0;while(Ct--){let Yt=$e[Ct];if(Yt[1].type==="lineEnding"||Yt[1].type==="lineEndingBlank"){if(Yt[0]==="exit")continue;if(ze)$e[ze][1].type="lineEndingBlank",$o=!0;Yt[1].type="lineEnding",ze=Ct}else if(Yt[1].type==="linePrefix"||Yt[1].type==="blockQuotePrefix"||Yt[1].type==="blockQuotePrefixWhitespace"||Yt[1].type==="blockQuoteMarker"||Yt[1].type==="listItemIndent");else break}if(Se&&(!ze||Se<ze))Pa._spread=!0;Pa.end=Object.assign({},ze?$e[ze][1].start:Zt[1].end),$e.splice(ze||Xr,0,["exit",Pa,Zt[2]]),Xr++,wr++}if(Zt[1].type==="listItemPrefix"){let Ct={type:"listItem",_spread:!1,start:Object.assign({},Zt[1].start),end:void 0};Pa=Ct,$e.splice(Xr,0,["enter",Ct,Zt[2]]),Xr++,wr++,Se=void 0,Pe=!0}}}return $e[jt][1]._spread=$o,wr}function s($e,jt){return wr;function wr(Xr){if(c.call(this,$e(Xr),Xr),jt)jt.call(this,Xr)}}function l(){this.stack.push({type:"fragment",children:[]})}function c($e,jt,wr){this.stack[this.stack.length-1].children.push($e),this.stack.push($e),this.tokenStack.push([jt,wr||void 0]),$e.position={start:pz(jt.start),end:void 0}}function m($e){return jt;function jt(wr){if($e)$e.call(this,wr);g.call(this,wr)}}function g($e,jt){let wr=this.stack.pop(),Xr=this.tokenStack.pop();if(!Xr)throw Error("Cannot close `"+$e.type+"` ("+uz({start:$e.start,end:$e.end})+"): it’s not open");else if(Xr[0].type!==$e.type)if(jt)jt.call(this,$e,Xr[0]);else(Xr[1]||PMe).call(this,$e,Xr[0]);wr.position.end=pz($e.end)}function M(){return RH(this.stack.pop())}function x(){this.data.expectingFirstListItemValue=!0}function b($e){if(this.data.expectingFirstListItemValue){let jt=this.stack[this.stack.length-2];jt.start=Number.parseInt(this.sliceSerialize($e),10),this.data.expectingFirstListItemValue=void 0}}function y(){let $e=this.resume(),jt=this.stack[this.stack.length-1];jt.lang=$e}function _(){let $e=this.resume(),jt=this.stack[this.stack.length-1];jt.meta=$e}function z(){if(this.data.flowCodeInside)return;this.buffer(),this.data.flowCodeInside=!0}function F(){let $e=this.resume(),jt=this.stack[this.stack.length-1];jt.value=$e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){let $e=this.resume(),jt=this.stack[this.stack.length-1];jt.value=$e.replace(/(\r?\n|\r)$/g,"")}function I($e){let jt=this.resume(),wr=this.stack[this.stack.length-1];wr.label=jt,wr.identifier=DM(this.sliceSerialize($e)).toLowerCase()}function Y(){let $e=this.resume(),jt=this.stack[this.stack.length-1];jt.title=$e}function W(){let $e=this.resume(),jt=this.stack[this.stack.length-1];jt.url=$e}function X($e){let jt=this.stack[this.stack.length-1];if(!jt.depth){let wr=this.sliceSerialize($e).length;jt.depth=wr}}function J(){this.data.setextHeadingSlurpLineEnding=!0}function ee($e){let jt=this.stack[this.stack.length-1];jt.depth=this.sliceSerialize($e).codePointAt(0)===61?1:2}function ae(){this.data.setextHeadingSlurpLineEnding=void 0}function ne($e){let wr=this.stack[this.stack.length-1].children,Xr=wr[wr.length-1];if(!Xr||Xr.type!=="text")Xr=cn(),Xr.position={start:pz($e.start),end:void 0},wr.push(Xr);this.stack.push(Xr)}function xe($e){let jt=this.stack.pop();jt.value+=this.sliceSerialize($e),jt.position.end=pz($e.end)}function Qe($e){let jt=this.stack[this.stack.length-1];if(this.data.atHardBreak){let wr=jt.children[jt.children.length-1];wr.position.end=pz($e.end),this.data.atHardBreak=void 0;return}if(!this.data.setextHeadingSlurpLineEnding&&r.canContainEols.includes(jt.type))ne.call(this,$e),xe.call(this,$e)}function Fe(){this.data.atHardBreak=!0}function ye(){let $e=this.resume(),jt=this.stack[this.stack.length-1];jt.value=$e}function Ve(){let $e=this.resume(),jt=this.stack[this.stack.length-1];jt.value=$e}function dt(){let $e=this.resume(),jt=this.stack[this.stack.length-1];jt.value=$e}function lt(){let $e=this.stack[this.stack.length-1];if(this.data.inReference){let jt=this.data.referenceType||"shortcut";$e.type+="Reference",$e.referenceType=jt,delete $e.url,delete $e.title}else delete $e.identifier,delete $e.label;this.data.referenceType=void 0}function pt(){let $e=this.stack[this.stack.length-1];if(this.data.inReference){let jt=this.data.referenceType||"shortcut";$e.type+="Reference",$e.referenceType=jt,delete $e.url,delete $e.title}else delete $e.identifier,delete $e.label;this.data.referenceType=void 0}function Bt($e){let jt=this.sliceSerialize($e),wr=this.stack[this.stack.length-2];wr.label=RMe(jt),wr.identifier=DM(jt).toLowerCase()}function Wt(){let $e=this.stack[this.stack.length-1],jt=this.resume(),wr=this.stack[this.stack.length-1];if(this.data.inReference=!0,wr.type==="link"){let Xr=$e.children;wr.children=Xr}else wr.alt=jt}function le(){let $e=this.resume(),jt=this.stack[this.stack.length-1];jt.url=$e}function mt(){let $e=this.resume(),jt=this.stack[this.stack.length-1];jt.title=$e}function Gt(){this.data.inReference=void 0}function ke(){this.data.referenceType="collapsed"}function Zr($e){let jt=this.resume(),wr=this.stack[this.stack.length-1];wr.label=jt,wr.identifier=DM(this.sliceSerialize($e)).toLowerCase(),this.data.referenceType="full"}function lr($e){this.data.characterReferenceType=$e.type}function tr($e){let jt=this.sliceSerialize($e),wr=this.data.characterReferenceType,Xr;if(wr)Xr=w4(jt,wr==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0;else Xr=lR(jt);let oo=this.stack[this.stack.length-1];oo.value+=Xr}function Ur($e){let jt=this.stack.pop();jt.position.end=pz($e.end)}function Qt($e){xe.call(this,$e);let jt=this.stack[this.stack.length-1];jt.url=this.sliceSerialize($e)}function Jt($e){xe.call(this,$e);let jt=this.stack[this.stack.length-1];jt.url="mailto:"+this.sliceSerialize($e)}function vr(){return{type:"blockquote",children:[]}}function Er(){return{type:"code",lang:null,meta:null,value:""}}function Br(){return{type:"inlineCode",value:""}}function xr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function bo(){return{type:"emphasis",children:[]}}function rr(){return{type:"heading",depth:0,children:[]}}function Qr(){return{type:"break"}}function go(){return{type:"html",value:""}}function Bo(){return{type:"image",title:null,url:"",alt:null}}function _o(){return{type:"link",title:null,url:"",children:[]}}function ni($e){return{type:"list",ordered:$e.type==="listOrdered",start:null,spread:$e._spread,children:[]}}function bn($e){return{type:"listItem",spread:$e._spread,checked:null,children:[]}}function Xo(){return{type:"paragraph",children:[]}}function Yn(){return{type:"strong",children:[]}}function cn(){return{type:"text",value:""}}function is(){return{type:"thematicBreak"}}}function pz(e){return{line:e.line,column:e.column,offset:e.offset}}function AMe(e,r){let a=-1;while(++a<r.length){let i=r[a];if(Array.isArray(i))AMe(e,i);else dzt(e,i)}}function dzt(e,r){let a;for(a in r)if(TMe.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 PMe(e,r){if(e)throw Error("Cannot close `"+e.type+"` ("+uz({start:e.start,end:e.end})+"): a different token (`"+r.type+"`, "+uz({start:r.start,end:r.end})+") is open");else throw Error("Cannot close document, a token (`"+r.type+"`, "+uz({start:r.start,end:r.end})+") is still open")}function A4(e){let r=this;r.parser=a;function a(i){return KH(i,{...r.data("settings"),...e,extensions:r.data("micromarkExtensions")||[],mdastExtensions:r.data("fromMarkdownExtensions")||[]})}}var D4=-1,uR=0,tk=1,dR=2,J2=3,$2=4,eD=5,tD=6,E4=7,O4=8;var{defineProperty:Zzt}=Object,EMe=typeof self==="object"?self:globalThis,DMe=(e,r)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw TypeError("unable to deserialize "+e)}return new EMe[e](r)},pzt=(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 uR:case D4:return a(l,f);case tk:{let c=a([],f);for(let m of l)c.push(i(m));return c}case dR:{let c=a({},f);for(let[m,g]of l){let M=i(m),x=i(g);if(M==="__proto__")Zzt(c,M,{value:x,configurable:!0,enumerable:!0,writable:!0});else c[M]=x}return c}case J2:return a(new Date(l),f);case $2:{let{source:c,flags:m}=l;return a(new RegExp(c,m),f)}case eD:{let c=a(new Map,f);for(let[m,g]of l)c.set(i(m),i(g));return c}case tD:{let c=a(new Set,f);for(let m of l)c.add(i(m));return c}case E4:{let{name:c,message:m}=l;return a(typeof EMe[c]==="function"?DMe(c,m):Error(m),f)}case O4: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(DMe(s,l),f)};return i},XH=(e)=>pzt(new Map,e)(0);var rk="",{toString:mzt}={},{keys:hzt,is:gzt}=Object,rD=(e)=>{let r=typeof e;if(r!=="object"||!e)return[uR,r];let a=mzt.call(e).slice(8,-1);switch(a){case"Array":return[tk,rk];case"Object":return[dR,rk];case"Date":return[J2,rk];case"RegExp":return[$2,rk];case"Map":return[eD,rk];case"Set":return[tD,rk];case"DataView":return[tk,a]}if(a.includes("Array"))return[tk,a];if(e instanceof Error)return[E4,e.name||"Error"];return[dR,a]},j4=([e,r])=>e===uR&&(r==="function"||r==="symbol"),Mzt=(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]=rD(l);switch(c){case uR:{let M=l;switch(m){case"bigint":c=O4,M=l.toString();break;case"number":if(!l&&gzt(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([D4],l)}return f([c,M],l)}case tk:{if(m){let b=l;if(m==="DataView")b=new Uint8Array(l.buffer);else if(m==="ArrayBuffer")b=new Uint8Array(l);return f([m,[...b]],l)}let M=[],x=f([c,M],l);for(let b of l)M.push(s(b));return x}case dR:{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=[],x=f([c,M],l);for(let b of hzt(l))if(e||!j4(rD(l[b])))M.push([s(b),s(l[b])]);return x}case J2:return f([c,isNaN(l.getTime())?rk:l.toISOString()],l);case $2:{let{source:M,flags:x}=l;return f([c,{source:M,flags:x}],l)}case eD:{let M=[],x=f([c,M],l);for(let[b,y]of l)if(e||!(j4(rD(b))||j4(rD(y))))M.push([s(b),s(y)]);return x}case tD:{let M=[],x=f([c,M],l);for(let b of l)if(e||!j4(rD(b)))M.push(s(b));return x}}let{message:g}=l;return f([c,{name:m,message:g}],l)};return s},QH=(e,{json:r,lossy:a}={})=>{let i=[];return Mzt(!(r||a),!!r,new Map,i)(e),i};var ZR=typeof structuredClone==="function"?(e,r)=>r&&(("json"in r)||("lossy"in r))?XH(QH(e,r)):structuredClone(e):(e,r)=>XH(QH(e,r));function vzt(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 xzt(e,r){return"Back to reference "+(e+1)+(r>1?"-"+r:"")}function OMe(e){let r=typeof e.options.clobberPrefix==="string"?e.options.clobberPrefix:"user-content-",a=e.options.footnoteBackContent||vzt,i=e.options.footnoteBackLabel||xzt,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),x=String(g.identifier).toUpperCase(),b=Zd(x.toLowerCase()),y=0,_=[],z=e.footnoteCounts.get(x);while(z!==void 0&&++y<=z){if(_.length>0)_.push({type:"text",value:" "});let I=typeof a==="string"?a:a(m,y);if(typeof I==="string")I={type:"text",value:I};_.push({type:"element",tagName:"a",properties:{href:"#"+r+"fnref-"+b+(y>1?"-"+y:""),dataFootnoteBackref:"",ariaLabel:typeof i==="string"?i:i(m,y),className:["data-footnote-backref"]},children:Array.isArray(I)?I:[I]})}let F=M[M.length-1];if(F&&F.type==="element"&&F.tagName==="p"){let I=F.children[F.children.length-1];if(I&&I.type==="text")I.value+=" ";else F.children.push({type:"text",value:" "});F.children.push(..._)}else M.push(..._);let k={type:"element",tagName:"li",properties:{id:r+"fn-"+b},children:e.wrap(M,!0)};e.patch(g,k),c.push(k)}if(c.length===0)return;return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...ZR(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 N4=function(e){if(e===null||e===void 0)return wzt;if(typeof e==="function")return F4(e);if(typeof e==="object")return Array.isArray(e)?yzt(e):bzt(e);if(typeof e==="string")return _zt(e);throw Error("Expected function, string, or object as test")};function yzt(e){let r=[],a=-1;while(++a<e.length)r[a]=N4(e[a]);return F4(i);function i(...f){let s=-1;while(++s<r.length)if(r[s].apply(this,f))return!0;return!1}}function bzt(e){let r=e;return F4(a);function a(i){let f=i,s;for(s in e)if(f[s]!==r[s])return!1;return!0}}function _zt(e){return F4(r);function r(a){return a&&a.type===e}}function F4(e){return r;function r(a,i,f){return Boolean(zzt(a)&&e.call(this,a,typeof i==="number"?i:void 0,f||void 0))}}function wzt(){return!0}function zzt(e){return e!==null&&typeof e==="object"&&"type"in e}function jMe(e){return e}var NMe=[],JH=!0,B4=!1,$H="skip";function eW(e,r,a,i){let f;if(typeof r==="function"&&typeof a!=="function")i=a,a=r;else f=r;let s=N4(f),l=i?-1:1;c(e,void 0,[])();function c(m,g,M){let x=m&&typeof m==="object"?m:{};if(typeof x.type==="string"){let y=typeof x.tagName==="string"?x.tagName:typeof x.name==="string"?x.name:void 0;Object.defineProperty(b,"name",{value:"node ("+jMe(m.type+(y?"<"+y+">":""))+")"})}return b;function b(){let y=NMe,_,z,F;if(!r||s(m,g,M[M.length-1]||void 0)){if(y=Szt(a(m,M)),y[0]===B4)return y}if("children"in m&&m.children){let k=m;if(k.children&&y[0]!==$H){z=(i?k.children.length:-1)+l,F=M.concat(k);while(z>-1&&z<k.children.length){let I=k.children[z];if(_=c(I,z,F)(),_[0]===B4)return _;z=typeof _[1]==="number"?_[1]:z+l}}}return y}}}function Szt(e){if(Array.isArray(e))return e;if(typeof e==="number")return[JH,e];return e===null||e===void 0?NMe:[e]}function oD(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;eW(e,s,c,f);function c(m,g){let M=g[g.length-1],x=M?M.children.indexOf(m):void 0;return l(m,x,M)}}function FMe(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 BMe(e,r){let a={type:"element",tagName:"br",properties:{},children:[]};return e.patch(r,a),[e.applyData(r,a),{type:"text",value:`
203
+ `}]}function YMe(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 UMe(e,r){let a={type:"element",tagName:"del",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function qMe(e,r){let a={type:"element",tagName:"em",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function VMe(e,r){let a=typeof e.options.clobberPrefix==="string"?e.options.clobberPrefix:"user-content-",i=String(r.identifier).toUpperCase(),f=Zd(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 HMe(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 WMe(e,r){if(e.options.allowDangerousHtml){let a={type:"raw",value:r.value};return e.patch(r,a),e.applyData(r,a)}return}function Y4(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 GMe(e,r){let a=String(r.identifier).toUpperCase(),i=e.definitionById.get(a);if(!i)return Y4(e,r);let f={src:Zd(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 KMe(e,r){let a={src:Zd(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 XMe(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 QMe(e,r){let a=String(r.identifier).toUpperCase(),i=e.definitionById.get(a);if(!i)return Y4(e,r);let f={href:Zd(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 JMe(e,r){let a={href:Zd(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 $Me(e,r,a){let i=e.all(r),f=a?Lzt(a):eve(r),s={},l=[];if(typeof r.checked==="boolean"){let M=i[0],x;if(M&&M.type==="element"&&M.tagName==="p")x=M;else x={type:"element",tagName:"p",properties:{},children:[]},i.unshift(x);if(x.children.length>0)x.children.unshift({type:"text",value:" "});x.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 Lzt(e){let r=!1;if(e.type==="list"){r=e.spread||!1;let a=e.children,i=-1;while(!r&&++i<a.length)r=eve(a[i])}return r}function eve(e){let r=e.spread;return r===null||r===void 0?e.children.length>1:r}function tve(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 rve(e,r){let a={type:"element",tagName:"p",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function ove(e,r){let a={type:"root",children:e.wrap(e.all(r))};return e.patch(r,a),e.applyData(r,a)}function ave(e,r){let a={type:"element",tagName:"strong",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function nve(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=sR(r.children[1]),m=_4(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 ive(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 x=r.children[m],b={},y=l?l[m]:void 0;if(y)b.align=y;let _={type:"element",tagName:s,properties:b,children:[]};if(x)_.children=e.all(x),e.patch(x,_),_=e.applyData(x,_);g.push(_)}let M={type:"element",tagName:"tr",properties:{},children:e.wrap(g,!0)};return e.patch(r,M),e.applyData(r,M)}function fve(e,r){let a={type:"element",tagName:"td",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function lve(e){let r=String(e),a=/\r?\n|\r/g,i=a.exec(r),f=0,s=[];while(i)s.push(sve(r.slice(f,i.index),f>0,!0),i[0]),f=i.index+i[0].length,i=a.exec(r);return s.push(sve(r.slice(f),f>0,!1)),s.join("")}function sve(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 cve(e,r){let a={type:"text",value:lve(String(r.value))};return e.patch(r,a),e.applyData(r,a)}function uve(e,r){let a={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(r,a),e.applyData(r,a)}var dve={blockquote:FMe,break:BMe,code:YMe,delete:UMe,emphasis:qMe,footnoteReference:VMe,heading:HMe,html:WMe,imageReference:GMe,image:KMe,inlineCode:XMe,linkReference:QMe,link:JMe,listItem:$Me,list:tve,paragraph:rve,root:ove,strong:ave,table:nve,tableCell:fve,tableRow:ive,text:cve,thematicBreak:uve,toml:U4,yaml:U4,definition:U4,footnoteDefinition:U4};function U4(){return}var tW={}.hasOwnProperty,kzt={};function pve(e,r){let a=r||kzt,i=new Map,f=new Map,s=new Map,l={...dve,...a.handlers},c={all:g,applyData:Czt,definitionById:i,footnoteById:f,footnoteCounts:s,footnoteOrder:[],handlers:l,one:m,options:a,patch:Izt,wrap:Pzt};return oD(e,function(M){if(M.type==="definition"||M.type==="footnoteDefinition"){let x=M.type==="definition"?i:f,b=String(M.identifier).toUpperCase();if(!x.has(b))x.set(b,M)}}),c;function m(M,x){let b=M.type,y=c.handlers[b];if(tW.call(c.handlers,b)&&y)return y(c,M,x);if(c.options.passThrough&&c.options.passThrough.includes(b)){if("children"in M){let{children:z,...F}=M,k=ZR(F);return k.children=c.all(M),k}return ZR(M)}return(c.options.unknownHandler||Rzt)(c,M,x)}function g(M){let x=[];if("children"in M){let b=M.children,y=-1;while(++y<b.length){let _=c.one(b[y],M);if(_){if(y&&b[y-1].type==="break"){if(!Array.isArray(_)&&_.type==="text")_.value=Zve(_.value);if(!Array.isArray(_)&&_.type==="element"){let z=_.children[0];if(z&&z.type==="text")z.value=Zve(z.value)}}if(Array.isArray(_))x.push(..._);else x.push(_)}}}return x}}function Izt(e,r){if(e.position)r.position=zH(e)}function Czt(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,ZR(s));if("children"in a&&a.children&&f!==null&&f!==void 0)a.children=f}return a}function Rzt(e,r){let a=r.data||{},i="value"in r&&!(tW.call(a,"hProperties")||tW.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 Pzt(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 Zve(e){let r=0,a=e.charCodeAt(r);while(a===9||a===32)r++,a=e.charCodeAt(r);return e.slice(r)}function q4(e,r){let a=pve(e,r),i=a.one(e,void 0),f=OMe(a),s=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};if(f)bl("children"in s),s.children.push({type:"text",value:`
210
+ `},f);return s}function V4(e,r){if(e&&"run"in e)return async function(a,i){let f=q4(a,{file:i,...r});await e.run(f,i)};return function(a,i){return q4(a,{file:i,...e||r})}}function rW(e){if(e)throw e}var G4=Ke(_ve(),1);function aD(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 oW(){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],x=-1;if(m){l(m);return}while(++x<f.length)if(g[x]===null||g[x]===void 0)g[x]=f[x];if(f=g,M)wve(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 wve(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 cZ={basename:Tzt,dirname:Azt,extname:Dzt,join:Ezt,sep:"/"};function Tzt(e,r){if(r!==void 0&&typeof r!=="string")throw TypeError('"ext" argument must be a string');nD(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 Azt(e){if(nD(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 Dzt(e){nD(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 Ezt(...e){let r=-1,a;while(++r<e.length)if(nD(e[r]),e[r])a=a===void 0?e[r]:a+"/"+e[r];return a===void 0?".":Ozt(a)}function Ozt(e){nD(e);let r=e.codePointAt(0)===47,a=jzt(e,!r);if(a.length===0&&!r)a=".";if(a.length>0&&e.codePointAt(e.length-1)===47)a+="/";return r?"/"+a:a}function jzt(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 nD(e){if(typeof e!=="string")throw TypeError("Path must be a string. Received "+JSON.stringify(e))}var zve={cwd:Nzt};function Nzt(){return"/"}function pR(e){return Boolean(e!==null&&typeof e==="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Sve(e){if(typeof e==="string")e=new URL(e);else if(!pR(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 Fzt(e)}function Fzt(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 aW=["history","path","basename","stem","extname","dirname"];class mR{constructor(e){let r;if(!e)r={};else if(pR(e))r={path:e};else if(typeof e==="string"||Bzt(e))r={value:e};else r=e;this.cwd="cwd"in r?"":zve.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;while(++a<aW.length){let f=aW[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(!aW.includes(i))this[i]=r[i]}get basename(){return typeof this.path==="string"?cZ.basename(this.path):void 0}set basename(e){iW(e,"basename"),nW(e,"basename"),this.path=cZ.join(this.dirname||"",e)}get dirname(){return typeof this.path==="string"?cZ.dirname(this.path):void 0}set dirname(e){Lve(this.basename,"dirname"),this.path=cZ.join(e||"",this.basename)}get extname(){return typeof this.path==="string"?cZ.extname(this.path):void 0}set extname(e){if(nW(e,"extname"),Lve(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=cZ.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){if(pR(e))e=Sve(e);if(iW(e,"path"),this.path!==e)this.history.push(e)}get stem(){return typeof this.path==="string"?cZ.basename(this.path,this.extname):void 0}set stem(e){iW(e,"stem"),nW(e,"stem"),this.path=cZ.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 Si(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 nW(e,r){if(e&&e.includes(cZ.sep))throw Error("`"+r+"` cannot be a path: did not expect `"+cZ.sep+"`")}function iW(e,r){if(!e)throw Error("`"+r+"` cannot be empty")}function Lve(e,r){if(!e)throw Error("Setting `"+r+"` requires `path` to be set too")}function Bzt(e){return Boolean(e&&typeof e==="object"&&"byteLength"in e&&"byteOffset"in e)}var kve=function(e){let i=this.constructor.prototype,f=i[e],s=function(){return f.apply(s,arguments)};return Object.setPrototypeOf(s,i),s};var Yzt={}.hasOwnProperty;class cW extends kve{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=oW()}copy(){let e=new cW,r=-1;while(++r<this.attachers.length){let a=this.attachers[r];e.use(...a)}return e.data(G4.default(!0,{},this.namespace)),e}data(e,r){if(typeof e==="string"){if(arguments.length===2)return lW("data",this.frozen),this.namespace[e]=r,this;return Yzt.call(this.namespace,e)&&this.namespace[e]||void 0}if(e)return lW("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=W4(e),a=this.parser||this.Parser;return fW("parse",a),a(String(r),r)}process(e,r){let a=this;return this.freeze(),fW("process",this.parser||this.Parser),sW("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(f,s){let l=W4(e),c=a.parse(l);a.run(c,l,function(g,M,x){if(g||!M||!x)return m(g);let b=M,y=a.stringify(b,x);if(qzt(y))x.value=y;else x.result=y;m(g,x)});function m(g,M){if(g||!M)s(g);else if(f)f(M);else bl(r,"`done` is defined if `resolve` is not"),r(void 0,M)}}}processSync(e){let r=!1,a;return this.freeze(),fW("processSync",this.parser||this.Parser),sW("processSync",this.compiler||this.Compiler),this.process(e,i),Cve("processSync","process",r),bl(a,"we either bailed on an error or have a tree"),a;function i(f,s){r=!0,rW(f),a=s}}run(e,r,a){Ive(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){bl(typeof r!=="function","`file` can’t be a `done` anymore, we checked");let c=W4(r);i.run(e,c,m);function m(g,M,x){let b=M||e;if(g)l(g);else if(s)s(b);else bl(a,"`done` is defined if `resolve` is not"),a(void 0,b,x)}}}runSync(e,r){let a=!1,i;return this.run(e,r,f),Cve("runSync","run",a),bl(i,"we either bailed on an error or have a tree"),i;function f(s,l){rW(s),i=l,a=!0}}stringify(e,r){this.freeze();let a=W4(r),i=this.compiler||this.Compiler;return sW("stringify",i),Ive(e),i(e,a)}use(e,...r){let a=this.attachers,i=this.namespace;if(lW("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=G4.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,x=-1;while(++M<a.length)if(a[M][0]===m){x=M;break}if(x===-1)a.push([m,...g]);else if(g.length>0){let[b,...y]=g,_=a[x][1];if(aD(_)&&aD(b))b=G4.default(!0,_,b);a[x]=[m,b,...y]}}}}var uW=new cW().freeze();function fW(e,r){if(typeof r!=="function")throw TypeError("Cannot `"+e+"` without `parser`")}function sW(e,r){if(typeof r!=="function")throw TypeError("Cannot `"+e+"` without `compiler`")}function lW(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 Ive(e){if(!aD(e)||typeof e.type!=="string")throw TypeError("Expected node, got `"+e+"`")}function Cve(e,r,a){if(!a)throw Error("`"+e+"` finished async. Use `"+r+"` instead")}function W4(e){return Uzt(e)?e:new mR(e)}function Uzt(e){return Boolean(e&&typeof e==="object"&&"message"in e&&"messages"in e)}function qzt(e){return typeof e==="string"||Vzt(e)}function Vzt(e){return Boolean(e&&typeof e==="object"&&"byteLength"in e&&"byteOffset"in e)}var Hzt="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Rve=[],Pve={allowDangerousHtml:!0},Wzt=/^(https?|ircs?|mailto|xmpp)$/i,Gzt=[{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 po(e){let r=Kzt(e),a=Xzt(e);return Qzt(r.runSync(r.parse(a),a),e)}function Kzt(e){let r=e.rehypePlugins||Rve,a=e.remarkPlugins||Rve,i=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Pve}:Pve;return uW().use(A4).use(a).use(V4,i).use(r)}function Xzt(e){let r=e.children||"",a=new mR;if(typeof r==="string")a.value=r;else g4("Unexpected value `"+r+"` for `children` prop, expected `string`");return a}function Qzt(e,r){let{allowedElements:a,allowElement:i,components:f,disallowedElements:s,skipHtml:l,unwrapDisallowed:c}=r,m=r.urlTransform||Tve;for(let M of Gzt)if(Object.hasOwn(r,M.from))g4("Unexpected `"+M.from+"` prop, "+(M.to?"use `"+M.to+"` instead":"remove it")+" (see <"+Hzt+"#"+M.id+"> for more info)");if(a&&s)g4("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other");return oD(e,g),kH(e,{Fragment:B,components:f,ignoreInvalidStyle:!0,jsx:t,jsxs:o,passKeys:!0,passNode:!0});function g(M,x,b){if(M.type==="raw"&&b&&typeof x==="number"){if(l)b.children.splice(x,1);else b.children[x]={type:"text",value:M.value};return x}if(M.type==="element"){let y;for(y in V2)if(Object.hasOwn(V2,y)&&Object.hasOwn(M.properties,y)){let _=M.properties[y],z=V2[y];if(z===null||z.includes(M.tagName))M.properties[y]=m(String(_||""),y,M)}}if(M.type==="element"){let y=a?!a.includes(M.tagName):s?s.includes(M.tagName):!1;if(!y&&i&&typeof x==="number")y=!i(M,x,b);if(y&&b&&typeof x==="number"){if(c&&M.children)b.children.splice(x,1,...M.children);else b.children.splice(x,1);return x}}}}function Tve(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||Wzt.test(e.slice(0,r)))return e;return""}var Jzt=/\.(png|jpe?g|webp|gif|svg|avif|bmp|ico)$/i;function wa(e){if(!e)return!1;return Jzt.test(e)}function vd(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 Ave({teamId:e,taskId:r,comment:a,currentUserId:i,isOwnerOrAdmin:f}){let s=Q(),[l,c]=u(!1),[m,g]=u(null),M=f||a.author.id===i,{mutate:x,isPending:b}=U({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 z=await _.json().catch(()=>({message:An()}));throw Error(z.message||An())}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"]}),R.success("Comment deleted"),c(!1)},onError:(_)=>{R.error(_.message)}}),y=(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(Ee,{src:a.author.image,alt:a.author.name}),t(Ie,{className:"text-[10px] font-medium bg-muted text-muted-foreground",children:y})]}),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:ir(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(S,{size:"icon-xs",variant:"ghost",className:"h-5 w-5 text-muted-foreground",children:t(or,{className:"h-3.5 w-3.5"})})}),t(Ae,{align:"end",children:o(V,{className:"text-destructive focus:text-destructive cursor-pointer text-xs",onClick:()=>c(!0),children:[t(ve,{className:"mr-1.5 h-3.5 w-3.5"}),t("span",{children:at()})]})})]})})]}),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(po,{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 z=wa(_.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 ${z?"h-18 p-1.5 gap-2.5 cursor-pointer":"h-9 px-2.5 gap-2.5"}`,onClick:()=>{if(z)g({url:_.url,name:_.name});else window.open(_.url,"_blank","noreferrer")},children:[z?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(Nn,{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:Gr(_.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:(F)=>F.stopPropagation(),title:dr(),children:t(vt,{className:"w-3.5 h-3.5"})})]},_.id)})})]}),t(We,{open:l,onOpenChange:c,children:o(Ye,{children:[o(Je,{children:[t(et,{children:Tm()}),t(tt,{children:Mm()})]}),o(Xe,{children:[t(nt,{disabled:b,children:Re()}),t(rt,{className:"bg-destructive hover:bg-destructive/90 text-white",disabled:b,onClick:()=>x(),children:at()})]})]})}),t(fe,{open:!!m,onOpenChange:(_)=>!_&&g(null),children:o(ce,{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(pe,{className:"sr-only",children:t(ue,{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})]})]})})]})}C();var Uve=Symbol.for("immer-nothing"),Dve=Symbol.for("immer-draftable"),qs=Symbol.for("immer-state");function uZ(e,...r){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Nc=Object,gR=Nc.getPrototypeOf,J4="constructor",aF="prototype",mW="configurable",$4="enumerable",X4="writable",iD="value",mz=(e)=>!!e&&!!e[qs];function GZ(e){if(!e)return!1;return qve(e)||iF(e)||!!e[Dve]||!!e[J4]?.[Dve]||fF(e)||sF(e)}var $zt=Nc[aF][J4].toString(),Eve=new WeakMap;function qve(e){if(!e||!_W(e))return!1;let r=gR(e);if(r===null||r===Nc[aF])return!0;let a=Nc.hasOwnProperty.call(r,J4)&&r[J4];if(a===Object)return!0;if(!hR(a))return!1;let i=Eve.get(a);if(i===void 0)i=Function.toString.call(a),Eve.set(a,i);return i===$zt}function nF(e,r,a=!0){if(lD(e)===0)(a?Reflect.ownKeys(e):Nc.keys(e)).forEach((f)=>{r(f,e[f],e)});else e.forEach((i,f)=>r(f,i,e))}function lD(e){let r=e[qs];return r?r.type_:iF(e)?1:fF(e)?2:sF(e)?3:0}var dW=(e,r,a=lD(e))=>a===2?e.has(r):Nc[aF].hasOwnProperty.call(e,r),hW=(e,r,a=lD(e))=>a===2?e.get(r):e[r],eF=(e,r,a,i=lD(e))=>{if(i===2)e.set(r,a);else if(i===3)e.add(a);else e[r]=a};function eSt(e,r){if(e===r)return e!==0||1/e===1/r;else return e!==e&&r!==r}var iF=Array.isArray,fF=(e)=>e instanceof Map,sF=(e)=>e instanceof Set,_W=(e)=>typeof e==="object",hR=(e)=>typeof e==="function",ZW=(e)=>typeof e==="boolean";function tSt(e){let r=+e;return Number.isInteger(r)&&String(r)===e}var EM=(e)=>e.copy_||e.base_;var wW=(e)=>e.modified_?e.copy_:e.base_;function gW(e,r){if(fF(e))return new Map(e);if(sF(e))return new Set(e);if(iF(e))return Array[aF].slice.call(e);let a=qve(e);if(r===!0||r==="class_only"&&!a){let i=Nc.getOwnPropertyDescriptors(e);delete i[qs];let f=Reflect.ownKeys(i);for(let s=0;s<f.length;s++){let l=f[s],c=i[l];if(c[X4]===!1)c[X4]=!0,c[mW]=!0;if(c.get||c.set)i[l]={[mW]:!0,[X4]:!0,[$4]:c[$4],[iD]:e[l]}}return Nc.create(gR(e),i)}else{let i=gR(e);if(i!==null&&a)return{...e};let f=Nc.create(i);return Nc.assign(f,e)}}function zW(e,r=!1){if(lF(e)||mz(e)||!GZ(e))return e;if(lD(e)>1)Nc.defineProperties(e,{set:K4,add:K4,clear:K4,delete:K4});if(Nc.freeze(e),r)nF(e,(a,i)=>{zW(i,!0)},!1);return e}function rSt(){uZ(2)}var K4={[iD]:rSt};function lF(e){if(e===null||!_W(e))return!0;return Nc.isFrozen(e)}var tF="MapSet",MW="Patches",Ove="ArrayMethods",Vve={};function ok(e){let r=Vve[e];if(!r)uZ(0,e);return r}var jve=(e)=>!!Vve[e];var fD,Hve=()=>fD,oSt=(e,r)=>({drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:jve(tF)?ok(tF):void 0,arrayMethodsPlugin_:jve(Ove)?ok(Ove):void 0});function Nve(e,r){if(r)e.patchPlugin_=ok(MW),e.patches_=[],e.inversePatches_=[],e.patchListener_=r}function vW(e){xW(e),e.drafts_.forEach(aSt),e.drafts_=null}function xW(e){if(e===fD)fD=e.parent_}var Fve=(e)=>fD=oSt(fD,e);function aSt(e){let r=e[qs];if(r.type_===0||r.type_===1)r.revoke_();else r.revoked_=!0}function Bve(e,r){r.unfinalizedDrafts_=r.drafts_.length;let a=r.drafts_[0];if(e!==void 0&&e!==a){if(a[qs].modified_)vW(r),uZ(4);if(GZ(e))e=Yve(r,e);let{patchPlugin_:f}=r;if(f)f.generateReplacementPatches_(a[qs].base_,e,r)}else e=Yve(r,a);if(nSt(r,e,!0),vW(r),r.patches_)r.patchListener_(r.patches_,r.inversePatches_);return e!==Uve?e:void 0}function Yve(e,r){if(lF(r))return r;let a=r[qs];if(!a)return rF(r,e.handledSet_,e);if(!cF(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);Kve(a,e)}return a.copy_}function nSt(e,r,a=!1){if(!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_)zW(r,a)}function Wve(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var cF=(e,r)=>e.scope_===r,iSt=[];function Gve(e,r,a,i){let f=EM(e),s=e.type_;if(i!==void 0){if(hW(f,i,s)===r){eF(f,i,a,s);return}}if(!e.draftLocations_){let c=e.draftLocations_=new Map;nF(f,(m,g)=>{if(mz(g)){let M=c.get(g)||[];M.push(m),c.set(g,M)}})}let l=e.draftLocations_.get(r)??iSt;for(let c of l)eF(f,c,a,s)}function fSt(e,r,a){e.callbacks_.push(function(f){let s=r;if(!s||!cF(s,f))return;f.mapSetPlugin_?.fixSetContents(s);let l=wW(s);Gve(e,s.draft_??s,l,a),Kve(s,f)})}function Kve(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)}Wve(e)}}function sSt(e,r,a){let{scope_:i}=e;if(mz(a)){let f=a[qs];if(cF(f,i))f.callbacks_.push(function(){Q4(e);let l=wW(f);Gve(e,a,l,r)})}else if(GZ(a))e.callbacks_.push(function(){let s=EM(e);if(e.type_===3){if(s.has(a))rF(a,i.handledSet_,i)}else if(hW(s,r,e.type_)===a){if(i.drafts_.length>1&&(e.assigned_.get(r)??!1)===!0&&e.copy_)rF(hW(e.copy_,r,e.type_),i.handledSet_,i)}})}function rF(e,r,a){if(!a.immer_.autoFreeze_&&a.unfinalizedDrafts_<1)return e;if(mz(e)||r.has(e)||!GZ(e)||lF(e))return e;return r.add(e),nF(e,(i,f)=>{if(mz(f)){let s=f[qs];if(cF(s,a)){let l=wW(s);eF(e,i,l,e.type_),Wve(s)}}else if(GZ(f))rF(f,r,a)}),e}function lSt(e,r){let a=iF(e),i={type_:a?1:0,scope_:r?r.scope_:Hve(),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=oF;if(a)f=[i],s=sD;let{revoke:l,proxy:c}=Proxy.revocable(f,s);return i.draft_=c,i.revoke_=l,[c,i]}var oF={get(e,r){if(r===qs)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=EM(e);if(!dW(f,r,e.type_))return uSt(e,f,r);let s=f[r];if(e.finalized_||!GZ(s))return s;if(i&&e.operationMethod&&a?.isMutatingArrayMethod(e.operationMethod)&&tSt(r))return s;if(s===pW(e.base_,r)||cSt(e,r,s)){Q4(e);let l=e.type_===1?+r:r,c=bW(e.scope_,s,e,l);return e.copy_[l]=c}return s},has(e,r){return r in EM(e)},ownKeys(e){return Reflect.ownKeys(EM(e))},set(e,r,a){let i=Xve(EM(e),r);if(i?.set)return i.set.call(e.draft_,a),!0;if(!e.modified_){let f=pW(EM(e),r),s=f?.[qs];if(s&&s.base_===a)return e.copy_[r]=a,e.assigned_.set(r,!1),!0;if(eSt(a,f)&&(a!==void 0||dW(e.base_,r,e.type_)))return!0;Q4(e),yW(e)}if(e.copy_[r]===a&&(a!==void 0||dW(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),sSt(e,r,a),!0},deleteProperty(e,r){if(Q4(e),pW(e.base_,r)!==void 0||r in e.base_)e.assigned_.set(r,!1),yW(e);else e.assigned_.delete(r);if(e.copy_)delete e.copy_[r];return!0},getOwnPropertyDescriptor(e,r){let a=EM(e),i=Reflect.getOwnPropertyDescriptor(a,r);if(!i)return i;return{[X4]:!0,[mW]:e.type_!==1||r!=="length",[$4]:i[$4],[iD]:a[r]}},defineProperty(){uZ(11)},getPrototypeOf(e){return gR(e.base_)},setPrototypeOf(){uZ(12)}},sD={};for(let e in oF){let r=oF[e];sD[e]=function(){let a=arguments;return a[0]=a[0][0],r.apply(this,a)}}sD.deleteProperty=function(e,r){return sD.set.call(this,e,r,void 0)};sD.set=function(e,r,a){return oF.set.call(this,e[0],r,a,e[0])};function pW(e,r){let a=e[qs];return(a?EM(a):e)[r]}function cSt(e,r,a){if(e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(r)||!GZ(a)||a[qs])return!1;return e.baseRefs_.has(a)}function uSt(e,r,a){let i=Xve(r,a);return i?iD in i?i[iD]:i.get?.call(e.draft_):void 0}function Xve(e,r){if(!(r in e))return;let a=gR(e);while(a){let i=Object.getOwnPropertyDescriptor(a,r);if(i)return i;a=gR(a)}return}function yW(e){if(!e.modified_){if(e.modified_=!0,e.parent_)yW(e.parent_)}}function Q4(e){if(!e.copy_)e.assigned_=new Map,e.copy_=gW(e.base_,e.scope_.immer_.useStrictShallowCopy_)}var dSt=class{constructor(e){if(this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(r,a,i)=>{if(hR(r)&&!hR(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(!hR(a))uZ(6);if(i!==void 0&&!hR(i))uZ(7);let f;if(GZ(r)){let s=Fve(this),l=bW(s,r,void 0),c=!0;try{f=a(l),c=!1}finally{if(c)vW(s);else xW(s)}return Nve(s,i),Bve(f,s)}else if(!r||!_W(r)){if(f=a(r),f===void 0)f=r;if(f===Uve)f=void 0;if(this.autoFreeze_)zW(f,!0);if(i){let s=[],l=[];ok(MW).generateReplacementPatches_(r,f,{patches_:s,inversePatches_:l}),i(s,l)}return f}else uZ(1,r)},this.produceWithPatches=(r,a)=>{if(hR(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]},ZW(e?.autoFreeze))this.setAutoFreeze(e.autoFreeze);if(ZW(e?.useStrictShallowCopy))this.setUseStrictShallowCopy(e.useStrictShallowCopy);if(ZW(e?.useStrictIteration))this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){if(!GZ(e))uZ(8);if(mz(e))e=ZSt(e);let r=Fve(this),a=bW(r,e,void 0);return a[qs].isManual_=!0,xW(r),a}finishDraft(e,r){let a=e&&e[qs];if(!a||!a.isManual_)uZ(9);let{scope_:i}=a;return Nve(i,r),Bve(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=ok(MW).applyPatches_;if(mz(e))return i(e,r);return this.produce(e,(f)=>i(f,r))}};function bW(e,r,a,i){let[f,s]=fF(r)?ok(tF).proxyMap_(r,a):sF(r)?ok(tF).proxySet_(r,a):lSt(r,a);if((a?.scope_??Hve()).drafts_.push(f),s.callbacks_=a?.callbacks_??[],s.key_=i,a&&i!==void 0)fSt(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 ZSt(e){if(!mz(e))uZ(10,e);return Qve(e)}function Qve(e){if(!GZ(e)||lF(e))return e;let r=e[qs],a,i=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,a=gW(e,r.scope_.immer_.useStrictShallowCopy_),i=r.scope_.immer_.shouldUseStrictIteration()}else a=gW(e,!0);if(nF(a,(f,s)=>{eF(a,f,Qve(s))},i),r)r.finalized_=!1;return a}var pSt=globalThis.Iterator,GDn=typeof pSt?.from==="function";var mSt=new dSt,Jve=mSt.produce;var hSt=(e)=>(r,a,i)=>(i.setState=(f,s,...l)=>{let c=typeof f==="function"?Jve(f):f;return r(c,s,...l)},e(i.setState,a,i)),$ve=hSt;var Dr=Sr()(Cee($ve((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 e8e({teamId:e,onSendMessage:r,isSubmitting:a}){let[i,f]=u(""),[s,l]=u([]),[c,m]=u(!1),[g,M]=u(""),[x,b]=u(0),y=v(null),_=v(null),z=v(null),{members:F,fetchMembers:k}=Dr();h(()=>{if(e)k(e,!0,!0)},[e,k]);let{mutateAsync:I}=U({mutationFn:async(ye)=>{let Ve=await A.api.teams[":teamId"].kanban.attachments.$post({param:{teamId:e},json:ye});if(!Ve.ok)throw Error("Failed to get attachment upload url");return await Ve.json()}}),Y=(ye)=>{let Ve=ye.target.value;if(f(Ve),y.current)y.current.style.height="auto",y.current.style.height=`${Math.min(y.current.scrollHeight,160)}px`;let dt=ye.target.selectionStart||0,lt=Ve.slice(0,dt),pt=lt.lastIndexOf("@");if(pt!==-1){let Bt=pt===0,Wt=lt[pt-1];if(Bt||/\s/.test(Wt)){let mt=lt.slice(pt+1);if(!/\s/.test(mt)){M(mt),m(!0);return}}}m(!1)},W=F.filter((ye)=>ye.name?.toLowerCase().includes(g.toLowerCase()));h(()=>{b(0)},[g,c]);let X=(ye)=>{if(!y.current)return;let Ve=y.current.selectionStart||0,dt=i.slice(0,Ve),lt=i.slice(Ve),pt=dt.lastIndexOf("@");if(pt!==-1){let Bt=`${i.slice(0,pt)}@${ye.name} ${lt}`;f(Bt),m(!1),setTimeout(()=>{if(y.current){y.current.focus();let Wt=pt+ye.name.length+2;y.current.setSelectionRange(Wt,Wt)}},0)}},J=async(ye)=>{let Ve=Array.from(ye.target.files||[]);if(Ve.length===0)return;let dt=Ve.map((lt)=>({id:`${Date.now()}-${lt.name}-${Math.random()}`,file:lt,isUploading:!0}));l((lt)=>[...lt,...dt]);for(let lt of dt)try{let pt=await I({fileName:lt.file.name,size:lt.file.size,contentType:lt.file.type||"application/octet-stream"});if(!(await fetch(pt.uploadUrl,{method:"PUT",body:lt.file,headers:{"Content-Type":lt.file.type||"application/octet-stream"}})).ok)throw Error("Failed to upload file to storage");l((Wt)=>Wt.map((le)=>le.id===lt.id?{...le,isUploading:!1,payload:{id:pt.id,name:pt.name,key:pt.key,sizeByte:pt.sizeByte,contentType:pt.contentType,proxyType:pt.proxyType}}:le))}catch(pt){let Bt=pt instanceof Error?pt.message:"Upload failed";R.error(`${lt.file.name}: ${Bt}`),l((Wt)=>Wt.map((le)=>le.id===lt.id?{...le,isUploading:!1,error:Bt}:le))}if(_.current)_.current.value=""},ee=(ye)=>{l((Ve)=>Ve.filter((dt)=>dt.id!==ye))},ae=s.some((ye)=>ye.isUploading),ne=s.map((ye)=>ye.payload).filter((ye)=>!!ye),xe=(i.trim().length>0||ne.length>0)&&!ae,Qe=async()=>{if(!xe||a)return;try{if(await r(i.trim(),ne.length>0?ne:void 0),f(""),l([]),y.current)y.current.style.height="auto"}catch{}},Fe=(ye)=>{if(c&&W.length>0){if(ye.key==="ArrowDown"){ye.preventDefault(),b((Ve)=>(Ve+1)%W.length);return}if(ye.key==="ArrowUp"){ye.preventDefault(),b((Ve)=>(Ve-1+W.length)%W.length);return}if(ye.key==="Enter"||ye.key==="Tab"){ye.preventDefault();let Ve=W[x];if(Ve)X(Ve);return}if(ye.key==="Escape"){m(!1);return}}if(ye.key==="Enter"&&(ye.metaKey||ye.ctrlKey))ye.preventDefault(),Qe()};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&&W.length>0&&t("div",{ref:z,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:W.map((ye,Ve)=>o("button",{type:"button",onClick:()=>X(ye),className:`w-full flex items-center gap-2 px-2.5 py-1.5 rounded-lg text-xs transition-colors text-left ${Ve===x?"bg-primary text-primary-foreground font-medium":"hover:bg-muted text-foreground"}`,children:[o(Ce,{className:"w-5 h-5",children:[ye.image&&t(Ee,{src:ye.image}),t(Ie,{className:"text-[9px]",children:ye.name?.slice(0,2).toUpperCase()})]}),t("span",{className:"truncate",children:ye.name})]},ye.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((ye)=>{let Ve=ye.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:[ye.isUploading?t(Z,{className:"w-3.5 h-3.5 animate-spin text-primary shrink-0"}):Ve?t(Hn,{className:"w-3.5 h-3.5 text-primary shrink-0"}):t(Nn,{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:ye.file.name}),t("span",{className:"text-[9px] text-muted-foreground font-mono",children:Gr(ye.file.size)})]}),t("button",{type:"button",onClick:()=>ee(ye.id),className:"p-0.5 rounded-md text-muted-foreground hover:text-foreground hover:bg-muted shrink-0",children:t(Oe,{className:"w-3 h-3"})})]},ye.id)})}),t("textarea",{ref:y,value:i,onChange:Y,onKeyDown:Fe,placeholder:sNe(),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:J}),t(S,{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(li,{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(S,{type:"button",size:"icon-xs",onClick:Qe,disabled:!xe||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||ae?t(Z,{className:"w-3.5 h-3.5 animate-spin"}):t(Rs,{className:"w-3.5 h-3.5 stroke-[2.5]"})})]})]})}function t8e({teamId:e,taskId:r,initialComments:a}){let i=Q(),{data:f}=L({queryKey:["teams",e,"me"],queryFn:async()=>{let b=await A.api.teams[":teamId"].me.$get({param:{teamId:e}});if(!b.ok)throw Error("Failed to fetch me");return await b.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 b=await A.api.teams[":teamId"].kanban.tasks[":taskId"].comments.$get({param:{teamId:e,taskId:r}});if(!b.ok)throw Error("Failed to fetch comments");return await b.json()},initialData:a?{data:a}:void 0,enabled:!!e&&!!r,refetchInterval:4000}),m=l?.data||[],{mutateAsync:g,isPending:M}=U({mutationFn:async({body:b,attachments:y})=>{let _=await A.api.teams[":teamId"].kanban.tasks[":taskId"].comments.$post({param:{teamId:e,taskId:r},json:{body:b,attachments:y}});if(!_.ok){let z=await _.json().catch(()=>({message:An()}));throw Error(z.message||An())}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:(b)=>{R.error(b.message)}}),x=async(b,y)=>{await g({body:b,attachments:y})};return o("div",{className:"flex flex-col h-full overflow-hidden bg-background",children:[t(se,{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(Z,{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(lo,{className:"w-5 h-5 opacity-40"})}),t("p",{className:"font-medium",children:ph()})]}):m.map((b)=>t(Ave,{teamId:e,taskId:r,comment:b,currentUserId:f?.id,isOwnerOrAdmin:s},b.id))})}),t("div",{className:"p-3 border-t border-border/60 bg-card/60 shrink-0",children:t(e8e,{teamId:e,onSendMessage:x,isSubmitting:M})})]})}function gSt(e){let r=e.data||{};switch(e.type){case gs.CREATED:return"Created task";case gs.STATUS_CHANGED:return`Changed status from ${e.fromStatus?Vn(e.fromStatus):"None"} to ${e.toStatus?Vn(e.toStatus):"None"}`;case gs.ASSIGNED:return"Assigned task";case gs.UNASSIGNED:return"Unassigned task";case gs.PRIORITY_CHANGED:return`Changed priority to ${String(r.to||"")}`;case gs.GOAL_CHANGED:return"Updated goal association";case gs.DEPENDENCY_ADDED:return"Added prerequisite dependency";case gs.DEPENDENCY_REMOVED:return"Removed prerequisite dependency";case gs.CHANGES_REQUESTED:return`Requested changes: "${String(r.reason||"")}"`;case gs.BLOCKED:return`Task blocked: "${String(r.reason||r.blockReason||"")}"`;case gs.UNBLOCKED:return"Task unblocked";case gs.COMMENTED:return"Added a comment";default:return e.type}}function r8e({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(se,{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(Z,{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:DKe()}):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:ir(new Date(l.createdAt),"MM/dd HH:mm")})]}),t("p",{className:"text-[11px] text-muted-foreground leading-snug mt-0.5",children:gSt(l)})]})]},l.id))})})})})}function o8e({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(uo,{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(fo,{className:"w-full grid grid-cols-2 h-8 bg-muted/60",children:[o(Hr,{value:"comments",className:"text-xs h-7",children:[t("span",{children:Lu()}),r.comments.length>0&&o("span",{className:"text-[10px] font-mono text-muted-foreground ml-1",children:["(",r.comments.length,")"]})]}),t(Hr,{value:"activity",className:"text-xs h-7",children:t("span",{children:cTe()})})]})}),o("div",{className:"flex-1 overflow-hidden",children:[t(_n,{value:"comments",className:"h-full m-0 data-[state=active]:flex data-[state=active]:flex-col",children:t(t8e,{teamId:e,taskId:r.id,initialComments:r.comments})}),t(_n,{value:"activity",className:"h-full m-0 data-[state=active]:block",children:t(r8e,{teamId:e,taskId:r.id,initialEvents:r.events})})]})]})})}function wd({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(fe,{open:a,onOpenChange:(m)=>!m&&i(),children:o(ce,{className:"sm:max-w-5xl w-[95vw] h-[88vh] p-0 gap-0 flex flex-col overflow-hidden bg-background",children:[t(pe,{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(bt,{className:"w-3.5 h-3.5"}),t("span",{children:dd()})]}),s?.status&&t("span",{className:E("px-2 py-0.5 rounded text-[11px] font-medium border uppercase shrink-0",iz(s.status)),children:Vn(s.status)}),t(ue,{className:"text-sm font-semibold truncate text-foreground",children:s?.title||eBe()})]})}),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(Z,{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:qm()}):o(B,{children:[t("div",{className:"flex-1 md:w-2/3 h-full overflow-hidden flex flex-col",children:t(Rge,{teamId:e,task:s,canEdit:f})}),t("div",{className:"md:w-1/3 h-full overflow-hidden flex flex-col",children:t(o8e,{teamId:e,task:s})})]})})]})})}var MSt=[Ge.TODO,Ge.READY,Ge.IN_PROGRESS,Ge.IN_REVIEW,Ge.DONE,Ge.BLOCKED];function xd({teamId:e,assetId:r,assetName:a,isOpen:i,onClose:f}){let s=Q(),[l,c]=u(null),[m,g]=u(!1),[M,x]=u(Ge.TODO),[b,y]=u(""),{data:_,isLoading:z}=L({queryKey:["teams",e,"kanban","assets",r,"tasks"],queryFn:async()=>{let ae=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$get({param:{teamId:e,assetId:r}});if(!ae.ok)throw Error("Failed to fetch linked tasks");return await ae.json()},enabled:!!e&&!!r&&i}),F=_?.data||[],k=O(()=>new Set(F.map((ae)=>ae.id)),[F]),{data:I,isLoading:Y}=L({queryKey:["teams",e,"kanban","tasks","status",M],queryFn:async()=>{let ae=await A.api.teams[":teamId"].kanban.tasks.$get({param:{teamId:e},query:{status:M,first:"100"}});if(!ae.ok)return{data:[]};return await ae.json()},enabled:!!e&&m&&i}),W=I?.data||[],X=O(()=>{let ae=b.trim().toLowerCase();return W.filter((ne)=>{if(k.has(ne.id))return!1;if(!ae)return!0;return ne.title.toLowerCase().includes(ae)})},[W,k,b]),J=U({mutationFn:async(ae)=>{let ne=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$post({param:{teamId:e,assetId:r},json:{taskId:ae}});if(!ne.ok)throw Error("Failed to link task");return await ne.json()},onSuccess:()=>{s.invalidateQueries({queryKey:["teams",e,"kanban","assets",r,"tasks"]}),s.invalidateQueries({queryKey:["teams",e,"kanban"]}),R.success(hfe())}}),ee=U({mutationFn:async(ae)=>{let ne=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks[":taskId"].$delete({param:{teamId:e,assetId:r,taskId:ae}});if(!ne.ok)throw Error("Failed to unlink task");return await ne.json()},onSuccess:()=>{s.invalidateQueries({queryKey:["teams",e,"kanban","assets",r,"tasks"]}),s.invalidateQueries({queryKey:["teams",e,"kanban"]}),R.success(gfe())}});return o(B,{children:[t(fe,{open:i,onOpenChange:(ae)=>!ae&&f(),children:o(ce,{className:"sm:max-w-2xl flex flex-col h-[520px] p-0 overflow-hidden",children:[t(pe,{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(vo,{className:"w-5 h-5 text-primary shrink-0"}),o("div",{className:"min-w-0",children:[t(ue,{className:"text-sm font-semibold truncate",children:mf()}),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(se,{className:"flex-1 min-h-0 p-4 [&>div>div]:block!",children:z?t("div",{className:"flex items-center justify-center p-12",children:t(Z,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):F.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(vo,{className:"w-8 h-8 opacity-30"}),t("p",{children:MXe()})]}):t("div",{className:"space-y-2",children:F.map((ae)=>o("div",{onClick:()=>c(ae.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:[ae.isAgentTask&&t("span",{className:"p-1 rounded bg-orange-500/15 text-orange-600 dark:text-orange-400 shrink-0",children:t(bt,{className:"w-3.5 h-3.5"})}),t("span",{className:E("text-[10px] px-1.5 py-0.5 rounded border uppercase font-medium shrink-0",iz(ae.status)),children:Vn(ae.status)}),t("span",{className:E("text-[10px] px-1.5 py-0.5 rounded border uppercase font-medium shrink-0",Fs(ae.priority)),children:zs(ae.priority)}),t("span",{className:"text-xs font-medium text-foreground truncate flex-1",children:ae.title})]}),o("div",{className:"flex items-center gap-2 shrink-0",children:[ae.assignee&&o("div",{className:"flex items-center gap-1 text-[11px] text-muted-foreground",title:ae.assignee.name,children:[o(Ce,{className:"w-4 h-4 text-[9px]",children:[t(Ee,{src:ae.assignee.image||void 0}),t(Ie,{children:ae.assignee.name.slice(0,1).toUpperCase()})]}),t("span",{className:"hidden sm:inline text-[11px] max-w-[70px] truncate",children:ae.assignee.name})]}),t(S,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0 text-muted-foreground hover:text-destructive hover:bg-destructive/10",onClick:(ne)=>{ne.stopPropagation(),ee.mutate(ae.id)},title:npt(),children:t(Oe,{className:"w-3.5 h-3.5"})})]})]},ae.id))})})}),o("div",{className:"p-3 px-4 border-t bg-muted/10 flex items-center justify-between shrink-0",children:[o(ht,{open:m,onOpenChange:g,children:[t(gt,{asChild:!0,children:o(S,{variant:"outline",size:"sm",className:"gap-1.5 text-xs h-8",children:[t(de,{className:"w-3.5 h-3.5"}),t("span",{children:G9e()})]})}),o(At,{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(Lt,{className:"w-3.5 h-3.5 absolute left-2.5 top-2.5 text-muted-foreground"}),t(q,{placeholder:Kit(),value:b,onChange:(ae)=>y(ae.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:MSt.map((ae)=>t("button",{type:"button",onClick:()=>x(ae),className:E("px-2 py-1 text-[11px] font-medium rounded transition-colors whitespace-nowrap",M===ae?"bg-background shadow-xs text-foreground font-semibold":"text-muted-foreground hover:text-foreground hover:bg-muted/50"),children:Vn(ae)},ae))}),t(se,{className:"h-56",children:Y?o("div",{className:"flex items-center justify-center p-6 text-xs text-muted-foreground",children:[t(Z,{className:"w-4 h-4 animate-spin mr-1.5"}),t("span",{children:$u()})]}):X.length===0?t("div",{className:"p-6 text-center text-xs text-muted-foreground",children:Sfe()}):t("div",{className:"p-1 space-y-0.5",children:X.map((ae)=>o("button",{type:"button",onClick:()=>{J.mutate(ae.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:ae.title}),t("span",{className:E("text-[10px] px-1.5 py-0.5 rounded border uppercase shrink-0",iz(ae.status)),children:Vn(ae.status)})]},ae.id))})})]})]}),t(S,{variant:"ghost",size:"sm",onClick:f,className:"text-xs h-8",children:dc()})]})]})}),l&&t(wd,{teamId:e,taskId:l,isOpen:!0,onClose:()=>c(null)})]})}function a8e({teamId:e,projectId:r,projectName:a,ancestorFolders:i,currentAsset:f,isRootFolder:s,customTerminalBreadcrumb:l,displayStyle:c,onDisplayStyleChange:m,isLeftSidebarCollapsed:g,onLeftSidebarToggle:M,isRightSidebarCollapsed:x,onRightSidebarToggle:b,isChatbotOpen:y=!1,onChatbotToggle:_,isPublic:z=!1,onFolderClick:F,onRename:k,onDelete:I,fileId:Y,shareId:W,allowDownload:X=!0,downloadInfo:J,versions:ee,compareMode:ae=!1,canCompareVersions:ne=!1,onCompareVersions:xe}){let Qe=Me(),{canEdit:Fe}=Rt(r),{openMobileMenu:ye}=m1(),[Ve,dt]=u(!1),[lt,pt]=u(!1),Bt=Y||f.id,Wt=f.name==="Recently Deleted",le=f.name==="All Collections",mt=!z&&!s&&!Wt&&!le&&!ae&&!!Bt,{data:Gt}=L({queryKey:["teams",e,"kanban","assets",Bt,"tasks"],queryFn:async()=>{if(!e||!Bt)return{data:[],total:0};let rr=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$get({param:{teamId:e,assetId:Bt}});if(!rr.ok)return{data:[],total:0};return await rr.json()},enabled:!!e&&!!Bt&&mt}),ke=Gt?.total??Gt?.data?.length??0,Zr=!1,lr=(rr)=>{if(!Y)return;if(z&&W){Qe({to:"/share/$shareId/files/$fileId",params:{shareId:W,fileId:Y},search:(Qr)=>({...Qr,version:rr})});return}if(!r)return;Qe({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:Y},search:(Qr)=>({...Qr,version:rr})})},tr=async(rr)=>{if(!Y)return;try{let Qr=W?await A.api.shares[":shareId"].files[":fileId"]["download-url"].$post({param:{shareId:W,fileId:Y},json:{key:rr}}):await A.api.files["download-url"].$post({json:{key:rr,assetId:Y}});if(!Qr.ok)return;let{url:go}=await Qr.json(),Bo=document.createElement("a");Bo.href=go,Bo.download="",document.body.appendChild(Bo),Bo.click(),document.body.removeChild(Bo)}catch{}},Qt=f.proxyType!=="audio"&&(J?.videoTranscodes?.length??0)>0,Jt=Boolean(l||!s&&!ae),vr={name:a,path:z?void 0:`/projects/${r}`,id:"root"},Er=i.slice().reverse().map((rr)=>({name:rr.name||"",path:z?void 0:`/projects/${r}/folders/${rr.id}`,id:rr.id})),Br=Jt?Er:Er.slice(0,-1),xr=!Jt&&Er.length>0?Er[Er.length-1]:null,bo=()=>{if(l)return t("span",{className:"truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:l});if(!s&&!ae){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(_e,{className:"h-4 w-4 shrink-0"})]}),o(Ae,{className:"w-56",align:"start",children:[X&&(Qt?o(Ns,{children:[t(Os,{className:"flex items-center gap-2",children:t("span",{children:dr()})}),t(Ps,{children:o(Ds,{className:"w-48",children:[t(qr,{children:dr()}),J?.videoTranscodes?.map((rr)=>{let Qr=Math.max(rr.width,rr.height),go=`${rr.height}p`;if(Qr>=3840)go="2160p";else if(Qr>=1920)go="1080p";else if(Qr>=1280)go="720p";else if(Qr>=960)go="540p";else if(Qr>=640)go="360p";else if(Qr>=320)go="180p";return o(V,{onClick:()=>tr(rr.key),className:"flex items-center justify-between",children:[t("span",{children:go}),t("span",{className:"text-xs text-muted-foreground",children:"MP4"})]},go)}),J?.originalKey&&o(B,{children:[t(qt,{}),o(V,{onClick:()=>tr(J.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(V,{onClick:()=>J?.originalKey&&tr(J.originalKey),disabled:!J?.originalKey,children:dr()})),Fe&&k&&t(V,{onClick:k,children:xo()}),Fe&&I&&t(V,{onClick:I,className:"text-destructive focus:text-destructive",children:at()}),ne&&xe&&o(B,{children:[t(qt,{}),o(V,{onClick:()=>xe(),children:[t(_8,{className:"h-4 w-4"}),t("span",{children:vNe()})]})]}),ee&&ee.length>0&&o(B,{children:[t(qt,{}),o(Ns,{children:[o(Os,{className:"flex items-center gap-2",children:[t(fn,{className:"h-4 w-4"}),t("span",{children:"Versions"})]}),t(Ps,{children:o(Ds,{className:"w-80 p-1",children:[t("div",{className:"flex flex-col gap-1 max-h-96 overflow-y-auto",children:ee.map((rr)=>{let Qr=f.version===rr.version;return o(V,{onClick:()=>lr(rr.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",rr.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:rr.previewUrl?t("img",{src:rr.previewUrl,alt:rr.name||void 0,className:"h-full w-full object-cover"}):t(Kt,{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:rr.name}),t("span",{className:"truncate text-xs text-muted-foreground flex items-center gap-1",children:rr.agent?o(B,{children:[t(bt,{className:"h-3 w-3 shrink-0"}),t("span",{className:"truncate",children:xc({user:rr.creator?.name||cl(),agent:rr.agent.name})})]}):rr.creator?.name||cl()})]}),Qr&&t(Te,{className:"h-4 w-4 text-primary ml-auto flex-shrink-0"})]},rr.id)})}),t(qt,{}),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:()=>dt(!0),children:gf()})})]})})]})]})]})]})}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:[!z&&t(S,{variant:"ghost",size:"icon",onClick:()=>ye(),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(rM,{className:"h-5 w-5"})}),!z&&o("div",{className:"hidden md:flex items-center gap-1 shrink-0",children:[t(Rn,{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:IDe()}),t("span",{className:"text-muted-foreground",children:"/"})]}),Jt||i.length>0?vr.path?t(Rn,{to:vr.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:vr.name}):t("button",{onClick:()=>vr.id&&F?.(vr.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:vr.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:vr.name}),Br.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:Br.map((rr,Qr)=>t(V,{asChild:!0,children:rr.path?t(Rn,{to:rr.path,className:"cursor-pointer",children:rr.name}):t("button",{onClick:()=>rr.id&&F?.(rr.id),className:"cursor-pointer w-full text-left",children:rr.name})},Qr))})]}),t("span",{className:"text-muted-foreground shrink-0",children:"/"})]}),i.slice().reverse().map((rr)=>{let Qr=z?void 0:`/projects/${r}/folders/${rr.id}`;return o("div",{className:"hidden md:flex items-center gap-1",children:[t("span",{className:"text-muted-foreground",children:"/"}),Qr?t(Rn,{to:Qr,className:"truncate rounded px-2 py-1 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground text-foreground",children:rr.name}):t("button",{onClick:()=>rr.id&&F?.(rr.id),className:"truncate rounded px-2 py-1 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground text-foreground",children:rr.name})]},rr.id)}),(Jt||!Jt&&i.length>0)&&o("div",{className:"flex items-center gap-1 min-w-0 shrink overflow-hidden",children:[t("span",{className:E("text-muted-foreground shrink-0",Br.length>0?"hidden md:inline":"inline"),children:"/"}),Jt?bo():xr&&t("span",{className:"min-w-0 truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:xr.name})]}),mt&&o(S,{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:()=>pt(!0),title:mf(),children:[t(vo,{className:"w-4 h-4"}),ke>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:ke})]})]}),mt&&lt&&Bt&&t(xd,{teamId:e,assetId:Bt,assetName:f.name,isOpen:lt,onClose:()=>pt(!1)}),Y&&ee&&ee.length>0&&t(Ad,{open:Ve,onOpenChange:dt,stackId:Y,canEdit:Fe,onStackDissolved:(rr)=>{dt(!1),Qe({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:rr}})},onVersionRemoved:(rr,Qr)=>{if((f.version?ee.find((Bo)=>Bo.version===f.version)?.id:void 0)===rr){let Bo=Qr[0];if(Bo)Qe({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:Y},search:(_o)=>({..._o,version:Bo.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:[!Y&&!z&&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(hue,{className:"h-4 w-4"}):t(Mue,{className:"h-4 w-4 fill-primary stroke-0"})}),!Y&&!z&&c&&m&&o(B,{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(Gn,{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(wo,{className:"h-4 w-4"})})]}),t("button",{onClick:b,className:`rounded p-1.5 transition-colors ${!x&&!y?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:x?"Show Right Sidebar":"Hide Right Sidebar",children:!x&&!y?t(vue,{className:"h-4 w-4 fill-primary stroke-0"}):t(gue,{className:"h-4 w-4"})})]}),!z&&_&&t(pn,{children:o(mn,{children:[t(hn,{asChild:!0,children:t("span",{children:t("button",{disabled:!1,onClick:_,className:E("h-9 w-9 flex items-center justify-center rounded-full border border-border bg-background transition-colors",y?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent hover:text-foreground",!1),children:y?t(xue,{className:"h-6 w-6 text-primary transition-colors"}):t(bt,{className:"h-6 w-6 text-muted-foreground transition-colors"})})})}),t(gn,{children:t("p",{children:y?jqe():alt()})})]})})]})]})}var Ht=Sr()(p1((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:Kz(()=>localStorage)}));var SW="shumai_selected_agent_id",n8e=()=>{if(typeof window<"u"&&window.localStorage)return localStorage.getItem(SW);return null},pr=Sr((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:n8e(),setSelectedAgentId:(r)=>{if(typeof window<"u"&&window.localStorage)if(r)localStorage.setItem(SW,r);else localStorage.removeItem(SW);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=pr.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";R.error(f)}},deleteSession:async(r,a)=>{try{if((await A.api.teams[":teamId"].chat.sessions[":sessionId"].$delete({param:{teamId:r,sessionId:a}})).ok)R.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";R.error(f)}},startNewSession:()=>{let r=n8e();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=pr.getState();if(M.isStreaming)return;let x=`temp-${Date.now()}`,b={id:x,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((F)=>({id:F.id,name:F.name,type:F.type})):void 0},timestamp:Date.now()},y=[...M.messages,b];e({messages:y,isStreaming:!0,chatAssets:[],isAtBottom:!0});let _=M.chatAssets.map((F)=>F.id),z=M.selectedAgentId;if(!z){R.error("No agent selected");return}try{let F=await A.api.teams[":teamId"].chat.$post({param:{teamId:r},json:{agentId:z,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(!F.ok)throw Error("Failed to start chat");let k=F.headers.get("x-session-id");if(k&&!M.currentSessionId)e({currentSessionId:k});let I=F.body?.getReader();if(!I)throw Error("No stream body");let Y=new TextDecoder,W="";while(!0){let{done:J,value:ee}=await I.read();if(J)break;W+=Y.decode(ee,{stream:!0});let ae=W.split(`
211
+ `);W=ae.pop()||"";for(let ne of ae){let xe=ne.trim();if(!xe)continue;if(xe.startsWith("data: ")){let Qe=xe.slice(6);try{let Fe=JSON.parse(Qe);if(Fe.type==="session"){if(!pr.getState().currentSessionId)e({currentSessionId:Fe.sessionId})}else if(Fe.type==="entry"){let ye=Fe.entry,Ve=ye;if(Ve.role==="toolResult"&&typeof Ve.toolName==="string"&&["create_file","create_folder","create_version","rename_asset","move_assets","delete_asset"].includes(Ve.toolName)&&!Ve.isError)s?.();e((dt)=>{let lt=dt.messages.some((le)=>le.id===ye.id),pt=(ye.role==="user"||ye.role==="custom"&&ye.customType==="shumai_message")&&!lt,Bt=dt.messages.filter((le)=>{if(pt)return!le.id.startsWith("temp-");if(ye.role==="custom"&&ye.customType==="context_display_info"&&!lt)return!le.id.startsWith("temp-context-");return!0}),Wt=Bt.findIndex((le)=>le.id===ye.id);if(Wt!==-1){let le=[...Bt];return le[Wt]=ye,{messages:le}}else return{messages:[...Bt,ye]}})}else if(Fe.type==="done"){if(Fe.status==="failed")R.error(Fe.error||"Workflow failed")}}catch(Fe){console.error("Error parsing SSE line:",Fe)}}}}pr.getState().fetchHistorySessions(r)}catch(F){let k=F instanceof Error?F.message:"Failed to send message";R.error(k),e((I)=>({messages:I.messages.filter((Y)=>Y.id!==x)}))}finally{e({isStreaming:!1})}},abortActiveSession:async(r)=>{let{currentSessionId:a,isStreaming:i}=pr.getState();if(!a||!i)return;try{if((await A.api.teams[":teamId"].chat.sessions[":sessionId"].abort.$post({param:{teamId:r,sessionId:a}})).ok)R.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";R.error(s)}}}));C();var LW=768;function Co(){let[e,r]=u(void 0);return h(()=>{let a=window.matchMedia(`(max-width: ${LW-1}px)`),i=()=>{r(window.innerWidth<LW)};return a.addEventListener("change",i),r(window.innerWidth<LW),()=>a.removeEventListener("change",i)},[]),!!e}function Sd(){let{projectState:e}=Kr(),r=Ht(),{isChatbotOpen:a,setIsChatbotOpen:i}=pr();if(Co()&&e?.fileId)return null;if(!e)return t(vSt,{});let{teamId:s,projectId:l,projectName:c,ancestorFolders:m,currentAsset:g,isRootFolder:M,customTerminalBreadcrumb:x,fileId:b,downloadInfo:y,versions:_,isPublic:z,shareId:F,allowDownload:k,onFolderClick:I,onRename:Y,onDelete:W,compareMode:X,canCompareVersions:J,onCompareVersions:ee}=e,ae=!!b,ne=!!x,xe=!!F&&!ae,Qe=ae?r.fileViewLeftSidebarCollapsed:xe?r.shareConfigLeftSidebarCollapsed:r.fileListLeftSidebarCollapsed,Fe=z?void 0:()=>ae?r.setFileViewLeftSidebarCollapsed(!r.fileViewLeftSidebarCollapsed):xe?r.setShareConfigLeftSidebarCollapsed(!r.shareConfigLeftSidebarCollapsed):r.setFileListLeftSidebarCollapsed(!r.fileListLeftSidebarCollapsed),ye=z&&e.isRightSidebarCollapsed!==void 0?e.isRightSidebarCollapsed:ae?r.fileViewRightSidebarCollapsed:xe?r.shareConfigRightSidebarCollapsed:r.fileListRightSidebarCollapsed,Ve=z&&e.onRightSidebarToggle?e.onRightSidebarToggle:()=>{if(!z&&a)if(i(!1),ae)r.setFileViewRightSidebarCollapsed(!1);else if(xe)r.setShareConfigRightSidebarCollapsed(!1);else r.setFileListRightSidebarCollapsed(!1);else if(ae)r.setFileViewRightSidebarCollapsed(!r.fileViewRightSidebarCollapsed);else if(xe)r.setShareConfigRightSidebarCollapsed(!r.shareConfigRightSidebarCollapsed);else r.setFileListRightSidebarCollapsed(!r.fileListRightSidebarCollapsed)},dt=z?void 0:()=>{i(!a)},lt=l?r.viewModes[l]??"card":"card";return t(a8e,{teamId:s,projectId:l,projectName:c,ancestorFolders:m,currentAsset:g,isRootFolder:M,customTerminalBreadcrumb:x,displayStyle:ae||xe||ne?void 0:lt,onDisplayStyleChange:ae||xe||ne?void 0:z?void 0:(Bt)=>{if(l)r.setViewMode(l,Bt)},isLeftSidebarCollapsed:Qe,onLeftSidebarToggle:Fe,isRightSidebarCollapsed:ye,onRightSidebarToggle:Ve,isChatbotOpen:!z&&a,onChatbotToggle:dt,isPublic:z,shareId:F,allowDownload:k,fileId:b,downloadInfo:y,versions:_,onFolderClick:I,onRename:Y,onDelete:W,compareMode:X,canCompareVersions:J,onCompareVersions:ee})}function vSt(){let{toggleMobileMenu:e}=m1();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(S,{variant:"ghost",size:"icon",onClick:e,className:"md:hidden text-foreground hover:bg-accent -ml-2","aria-label":"Open navigation menu",children:t(rM,{className:"h-5 w-5"})}),t("div",{className:"flex flex-1 items-center justify-center",children:t(kM,{className:"w-10 h-10 text-orange-600"})}),t("div",{className:"w-9 md:hidden"})]})}C();var xSt=(e,r,a,i,f,s,l,c)=>{let m=document.documentElement,g=["light","dark"];function M(y){(Array.isArray(e)?e:[e]).forEach((_)=>{let z=_==="class",F=z&&s?f.map((k)=>s[k]||k):f;z?(m.classList.remove(...F),m.classList.add(s&&s[y]?s[y]:y)):m.setAttribute(_,y)}),x(y)}function x(y){c&&g.includes(y)&&(m.style.colorScheme=y)}function b(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(i)M(i);else try{let y=localStorage.getItem(r)||a,_=l&&y==="system"?b():y;M(_)}catch(y){}};var ySt=wt(void 0),bSt={setTheme:(e)=>{},themes:[]},i8e=()=>{var e;return(e=xt(ySt))!=null?e:bSt};var rjn=Bc(({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 j("script",{...g,suppressHydrationWarning:!0,nonce:typeof window>"u"?m:"",dangerouslySetInnerHTML:{__html:`(${xSt.toString()})(${M})`}})});var f8e=({...e})=>{let{theme:r="system"}=i8e();return t(Lce,{theme:r,className:"toaster group",icons:{success:t(gr,{className:"size-4"}),info:t(Zo,{className:"size-4"}),warning:t(Fr,{className:"size-4"}),error:t(w8,{className:"size-4"}),loading:t(Z,{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 mr=Sr((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,x)=>M+x.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}}})}));C();function Cd({className:e,value:r,...a}){return t(zIe,{"data-slot":"progress",className:E("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",e),...a,children:t(SIe,{"data-slot":"progress-indicator",className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(r||0)}%)`}})})}function _St(e){let r=J8(e);if(isNaN(r.getTime()))return YZt();if(u2(r))return Ife();if(d2(r))return Cfe();return ir(r,S4e())}function s8e(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 wSt({task:e}){let r=mr((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=yn(e.createdAt)}catch{f=rn()}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||mpt()})}),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(gr,{className:"w-3.5 h-3.5"}),L3e()]}):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(Z,{className:"w-3.5 h-3.5 animate-spin"}),Fpt()]})})]}),o("div",{className:"flex items-center gap-1.5 text-xs text-muted-foreground mb-3 font-medium",children:[t(ur,{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?`${s8e(r.loaded)} / ${s8e(r.total)} (${xfe({uploaded:e.uploaded,total:e.total})})`:xfe({uploaded:e.uploaded,total:e.total})}),!a&&o("span",{className:"text-sidebar-primary font-mono font-bold",children:[Math.round(i),"%"]})]}),t(Cd,{value:i,className:"h-1.5 w-full bg-muted"})]})]})}function l8e(){let e=Vo(),r=mr((y)=>y.uploading),a=mr((y)=>y.tasks),{data:i,fetchNextPage:f,hasNextPage:s,isFetchingNextPage:l,isLoading:c}=ct({queryKey:["teams",e,"upload","tasks"],queryFn:async({pageParam:y})=>{let _=await A.api.teams[":teamId"].upload.tasks.$get({param:{teamId:e},query:{after:y}});if(!_.ok)throw Error("Failed to fetch upload tasks");return await _.json()},initialPageParam:"",getNextPageParam:(y)=>y.pageInfo?.cursor||void 0,enabled:!!e,refetchInterval:r>0?2000:!1}),{ref:m,inView:g}=Tt();h(()=>{if(g&&s&&!l)f()},[g,s,l,f]);let M=i?.pages.flatMap((y)=>y.data??[])??[],x=O(()=>{let y=new Set(M.map((z)=>z.id));return[...Object.values(a).filter((z)=>!y.has(z.taskId)).map((z)=>{let F=Object.values(z.files).filter((k)=>k.status==="completed"||k.status==="failed").length;return{id:z.taskId,name:z.name,total:Object.keys(z.files).length,uploaded:F,createdAt:new Date().toISOString()}}),...M].sort((z,F)=>F.id.localeCompare(z.id))},[M,a]);if(c)return t("div",{className:"flex items-center justify-center p-8",children:t(Z,{className:"h-6 w-6 animate-spin text-muted-foreground"})});if(x.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(kn,{className:"h-8 w-8 text-muted-foreground/50 mb-3"}),t("p",{className:"text-sm font-semibold text-muted-foreground",children:xQe()}),t("p",{className:"text-xs text-muted-foreground/60 mt-1 max-w-[180px]",children:gQe()})]});let b=[];return x.forEach((y)=>{let _=_St(y.createdAt),z=b.find((F)=>F.day===_);if(!z)z={day:_,tasks:[]},b.push(z);z.tasks.push(y)}),o("div",{className:"flex flex-col space-y-4",children:[b.map((y)=>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:y.day}),t("span",{className:"text-[10px] font-semibold text-muted-foreground/60 bg-muted px-2 py-0.5 rounded-full",children:y.tasks.length===1?VGe({count:y.tasks.length}):YGe({count:y.tasks.length})})]}),t("div",{className:"mt-3 space-y-3",children:y.tasks.map((_)=>t(wSt,{task:_},_.id))})]},y.day)),s&&t("div",{ref:m,className:"flex items-center justify-center p-4",children:l&&t(Z,{className:"h-5 w-5 animate-spin text-muted-foreground"})})]})}var Eo=Sr((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}}));C();async function c8e(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}=st.getState();return await s(f)}return null}function zSt(){let e=Ss((_)=>_.user),{uploading:r}=mr(),a=wz({select:(_)=>_.location.pathname}),i=Me(),{teamId:f,setTeamId:s}=st(),{projectState:l}=Kr(),c=e&&(a.startsWith("/teams/")||a.startsWith("/projects/"));h(()=>{c8e(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(QM,{});let g=m?.unreadNotificationCount??0,M=g>99?"99+":g,x=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,b=a.includes("/kanban"),y=a.includes("/dashboard");return o("div",{className:"flex h-[100dvh] w-full bg-background overflow-hidden",children:[t(f8e,{}),o(Pfe,{hideMobileButton:!0,defaultMobileContent:l?.projectId?{label:yfe(),children:t(fr,{teamId:l.teamId,projectId:l.projectId,projectName:l.projectName,rootFolderId:l.rootFolderId||"",ancestorFolders:l.ancestorFolders})}:void 0,children:[t(ML,{icon:t(bue,{}),label:Uqe(),onItemClick:()=>{if(f)i({to:"/teams/$teamId",params:{teamId:f}})}}),t(ML,{icon:t(yue,{}),label:_h(),badge:x,children:t(mue,{})}),t(ML,{icon:t(_ue,{uploading:r>0,className:r>0?"text-blue-500":""}),label:Upt(),children:t(l8e,{})}),t(ML,{icon:t(wue,{}),label:k9e(),active:b,onItemClick:()=>{if(f)i({to:"/teams/$teamId/kanban",params:{teamId:f}})}}),m?.role?.toLowerCase()==="owner"&&t(ML,{icon:t(zue,{}),label:Im(),active:y,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(Sd,{}),t("main",{className:"flex-1 overflow-hidden relative flex flex-col",children:t(QM,{})})]})]})}var En=x3()({beforeLoad:async({location:e})=>{if(typeof window<"u"){let r=e.pathname,a=await c8e(r);if(a){let{fetchMetadata:i,getMetadata:f}=Eo.getState();try{await i(a);let s=f("locale");if((s==="en"||s==="zh")&&s!==n())ui(s,{reload:!1})}catch(s){console.error("Failed to load user locale metadata:",s)}}document.documentElement.setAttribute("lang",n())}},component:zSt});function fl({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(kM,{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:pOe()}),t("p",{className:"text-zinc-600 dark:text-zinc-400 text-sm leading-relaxed max-w-sm",children:rOe()}),t("ul",{className:"space-y-3.5 pt-4",children:[uOe(),nOe(),sOe()].map((r,a)=>o("li",{className:"flex items-center gap-3 text-sm text-zinc-700 dark:text-zinc-300 font-medium",children:[t(gr,{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:$Ee()})})]}),t("div",{className:"w-full md:w-1/2 p-8 md:p-12 flex flex-col justify-center",children:e})]})]})}function St({className:e,...r}){return t("div",{"data-slot":"card",className:E("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:E("@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 Pt({className:e,...r}){return t("div",{"data-slot":"card-title",className:E("leading-none font-semibold",e),...r})}function Ft({className:e,...r}){return t("div",{"data-slot":"card-description",className:E("text-sm text-muted-foreground",e),...r})}function Mt({className:e,...r}){return t("div",{"data-slot":"card-content",className:E("px-6",e),...r})}function u8e({className:e,...r}){return t("div",{"data-slot":"card-footer",className:E("flex items-center px-6 [.border-t]:pt-6",e),...r})}C();var dD=(e)=>e.type==="checkbox",mF=(e)=>e.type==="file",hz=(e)=>e instanceof Date,as=(e)=>e==null,AW=(e)=>typeof e==="object",Bn=(e)=>!as(e)&&!Array.isArray(e)&&AW(e)&&!hz(e),SSt=(e)=>Bn(e)&&e.target?dD(e.target)?e.target.checked:mF(e.target)?e.target.files:e.target.value:e,LSt=(e,r)=>r.split(".").some((a,i,f)=>!isNaN(Number(a))&&e.has(f.slice(0,i).join("."))),hF=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function xn(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(hF&&(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]=xn(e[f]);return i}var MR={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},pZ={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},dZ={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},z8e="root",DW=["__proto__","constructor","prototype"],kSt=/^\w*$/,nk=(e)=>kSt.test(e),ca=(e)=>e===void 0,ISt=/[.[\]'"]/,xR=(e)=>e.split(ISt).filter(Boolean),br=(e,r,a)=>{if(!r||!Bn(e))return a;let i=nk(r)?[r]:xR(r);if(i.some((s)=>DW.includes(s)))return a;let f=i.reduce((s,l)=>as(s)?void 0:s[l],e);return ca(f)||f===e?ca(e[r])?a:e[r]:f},KZ=(e)=>typeof e==="boolean",Md=(e)=>typeof e==="function",la=(e,r,a)=>{let i=-1,f=nk(r)?[r]:xR(r),s=f.length,l=s-1;while(++i<s){let c=f[i],m=a;if(i!==l){let g=e[c];m=Bn(g)||Array.isArray(g)?g:!isNaN(+f[i+1])?[]:{}}if(DW.includes(c))return;e[c]=m,e=e[c]}},CSt=wt(null);CSt.displayName="HookFormControlContext";var RSt=(e,r,a,i=!0)=>{let f={};for(let s in e)Object.defineProperty(f,s,{get:()=>{let l=s;if(r._proxyFormState[l]!==pZ.all)r._proxyFormState[l]=!i||pZ.all;return a&&(a[l]=!0),e[l]}});return f},PSt=hF?He:h,TSt=(e)=>{let r=e.constructor&&e.constructor.prototype;return Bn(r)&&r.hasOwnProperty("isPrototypeOf")},RW=(e)=>as(e)||!AW(e),d8e=(e,r)=>r.length===0&&!Array.isArray(e)&&!TSt(e);function ZZ(e,r,a=new WeakMap){if(e===r)return!0;if(RW(e)||RW(r))return Object.is(e,r);if(hz(e)&&hz(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(d8e(e,i)||d8e(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(hz(c)&&hz(m)||(Bn(c)||Array.isArray(c))&&(Bn(m)||Array.isArray(m))?!ZZ(c,m,a):!Object.is(c,m))return!1}}return!0}function ASt(){let e=v(!1),r=v(void 0),a=N((f,s,l)=>{if(f&&e.current){let c=s();if(!ZZ(r.current,c))l(c)}e.current=!0},[]),i=N((f,s)=>{if(f)r.current=xn(s())},[]);return{resyncIfNeeded:a,snapshot:i}}var ns=(e)=>typeof e==="string",DSt=(e,r,a,i,f)=>{if(ns(e))return i&&r.watch.add(e),br(a,e,f);if(Array.isArray(e))return e.map((s)=>(i&&r.watch.add(s),br(a,s)));return i&&(r.watchAll=!0),a};var uF=(e)=>({isOnSubmit:!e||e===pZ.onSubmit,isOnBlur:e===pZ.onBlur,isOnChange:e===pZ.onChange,isOnAll:e===pZ.all,isOnTouch:e===pZ.onTouched}),kW=(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},uD=(e,r,a,i)=>{for(let f of a||Object.keys(e)){if(f==="_f")continue;let s=a?br(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(uD(s,r))break}else if(Bn(s)||Array.isArray(s)){if(uD(s,r))break}}}return},Z8e=(e,r,a)=>{let i=br(e,a),f=Array.isArray(i)?i:[];return la(f,z8e,r[a]),la(e,a,f),e},ys=(e)=>Bn(e)&&!Object.keys(e).length,ZF=(e)=>{if(!hF)return!1;let r=e?e.ownerDocument:0;return e instanceof(r&&r.defaultView?r.defaultView.HTMLElement:HTMLElement)},EW=(e)=>e.type==="radio",pF=(e)=>e instanceof RegExp,gF=(e,r,a,i,f)=>r?{...a[e],types:{...a[e]&&a[e].types?a[e].types:{},[i]:f||!0}}:{},p8e={value:!1,isValid:!1},m8e={value:!0,isValid:!0},S8e=(e)=>{if(!Array.isArray(e))return p8e;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 p8e;if(!r.attributes||!("value"in r.attributes))return m8e;return ca(r.value)||r.value===""?m8e:{value:r.value,isValid:!0}},h8e={isValid:!1,value:null},L8e=(e)=>Array.isArray(e)?e.reduce((r,a)=>a&&a.checked&&!a.disabled?{isValid:!0,value:a.value}:r,h8e):h8e;function g8e(e,r,a="validate"){if(ns(e)||Array.isArray(e)&&e.every(ns)||KZ(e)&&!e)return{type:a,message:ns(e)?e:"",ref:r}}var vR=(e)=>Bn(e)&&!pF(e)?e:{value:e,message:""},M8e=async(e,r,a,i,f,s)=>{let{ref:l,refs:c,required:m,maxLength:g,minLength:M,min:x,max:b,pattern:y,validate:_,name:z,valueAsNumber:F,mount:k}=e._f,I=br(a,z);if(!k||r.has(z))return{};let Y=c?c[0]:l,W=(ye)=>{if(f&&Y.reportValidity){let Ve=KZ(ye)?"":ye||"";if(c)c.forEach((dt)=>dt.setCustomValidity(Ve));else Y.setCustomValidity(Ve);Y.reportValidity()}},X={},J=EW(l),ee=dD(l),ae=J||ee,ne=(F||mF(l))&&ca(l.value)&&ca(I)||ZF(l)&&l.value===""||I===""||Array.isArray(I)&&!I.length,xe=gF.bind(null,z,i,X),Qe=(ye,Ve,dt,lt=dZ.maxLength,pt=dZ.minLength)=>{let Bt=ye?Ve:dt;X[z]={type:ye?lt:pt,message:Bt,ref:l,...xe(ye?lt:pt,Bt)}};if(s?!Array.isArray(I)||!I.length:m&&(!ae&&(ne||as(I))||KZ(I)&&!I||ee&&!S8e(c).isValid||J&&!L8e(c).isValid)){let{value:ye,message:Ve}=ns(m)?{value:!!m,message:m}:vR(m);if(ye){if(X[z]={type:dZ.required,message:Ve,ref:Y,...xe(dZ.required,Ve)},!i)return W(Ve),X}}if(!ne&&(!as(x)||!as(b))){let ye,Ve,dt=vR(b),lt=vR(x);if(!as(I)&&!hz(I)&&!isNaN(I)){let pt=l.valueAsNumber||(I?+I:I);if(!as(dt.value))ye=pt>dt.value;if(!as(lt.value))Ve=pt<lt.value}else{let pt=l.valueAsDate||new Date(I),Bt=(mt)=>new Date(new Date().toDateString()+" "+mt),Wt=l.type=="time",le=l.type=="week";if(ns(dt.value)&&I)ye=Wt?Bt(I)>Bt(dt.value):le?I>dt.value:pt>new Date(dt.value);if(ns(lt.value)&&I)Ve=Wt?Bt(I)<Bt(lt.value):le?I<lt.value:pt<new Date(lt.value)}if(ye||Ve){if(Qe(!!ye,dt.message,lt.message,dZ.max,dZ.min),!i)return W(X[z].message),X}}if((g||M)&&!ne&&(ns(I)||s&&Array.isArray(I))){let ye=vR(g),Ve=vR(M),dt=!as(ye.value)&&I.length>+ye.value,lt=!as(Ve.value)&&I.length<+Ve.value;if(dt||lt){if(Qe(dt,ye.message,Ve.message),!i)return W(X[z].message),X}}if(y&&!ne&&ns(I)){let{value:ye,message:Ve}=vR(y);if(pF(ye)&&!I.match(ye)){if(X[z]={type:dZ.pattern,message:Ve,ref:l,...xe(dZ.pattern,Ve)},!i)return W(Ve),X}}if(_){if(Md(_)){let ye=await _(I,a),Ve=g8e(ye,Y);if(Ve){if(X[z]={...Ve,...xe(dZ.validate,Ve.message)},!i)return W(Ve.message),X}}else if(Bn(_)){let ye={};for(let Ve in _){if(!ys(ye)&&!i)break;let dt=g8e(await _[Ve](I,a),Y,Ve);if(dt){if(ye={...dt,...xe(Ve,dt.message)},W(dt.message),i)X[z]=ye}}if(!ys(ye)){if(X[z]={ref:Y,...ye},!i)return X}}}let Fe=X[z];return W(Fe?Fe.message:!0),X},dF=(e)=>Array.isArray(e)?e:[e];var k8e=(e)=>Array.isArray(e)?e.filter(Boolean):[];function ESt(e,r){let a=r.length-1,i=0;while(i<a){if(as(e)){e=void 0;break}e=e[r[i]],i++}return e}function OSt(e){for(let r in e)if(e.hasOwnProperty(r)&&!ca(e[r]))return!1;return!0}function oi(e,r){if(ns(r)&&Object.prototype.hasOwnProperty.call(e,r))return delete e[r],e;let a=Array.isArray(r)?r:nk(r)?[r]:xR(r);if(a.some((l)=>DW.includes(String(l))))return e;let i=a.length===1?e:ESt(e,a),f=a.length-1,s=a[f];if(i)delete i[s];if(f!==0&&(Bn(i)&&ys(i)||Array.isArray(i)&&OSt(i)))oi(e,a.slice(0,-1));return e}var jSt=wt(null);jSt.displayName="HookFormContext";var v8e=()=>{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 I8e(e,r){let a={};for(let i in e)if(e.hasOwnProperty(i)){let f=e[i],s=r[i];if(f&&Bn(f)&&s){let l=I8e(f,s);if(Bn(l))a[i]=l}else if(e[i])a[i]=s}return a}var x8e=(e,r)=>e!==null&&AW(e)&&Object.prototype.hasOwnProperty.call(e,r),NSt=(e,r)=>{if(!r)return!1;let a=e;for(let i of nk(r)?[r]:xR(r)){if(!x8e(a,i))return x8e(e,r);a=a[i]}return!0},C8e=(e)=>e.type==="select-multiple",FSt=(e)=>EW(e)||dD(e),IW=(e)=>ZF(e)&&e.isConnected;function y8e(e){return Array.isArray(e)||Bn(e)}function R8e(e,r,a="",i=[]){for(let f in e){let s=a?`${a}.${f}`:f,l=e[f];if(y8e(l)&&y8e(br(r,s)))R8e(l,r,s,i);else i.push(s)}return i}var BSt=(e)=>{for(let r in e)if(Md(e[r]))return!0;return!1};function P8e(e){return Array.isArray(e)||Bn(e)&&!BSt(e)}function T8e(e){return!!(e&&("_f"in e))}function A8e(e){return Array.isArray(e)?!e.some((r)=>!ca(r)):!Object.keys(e).length}function PW(e,r){if(Array.isArray(e))e[r]=void 0;else delete e[r]}function TW(e,r={},a){for(let i in e){let f=e[i],s=a&&a[i];if(P8e(f)&&(!Array.isArray(f)||!T8e(s))){if(r[i]=Array.isArray(f)?[]:{},TW(f,r[i],s),A8e(r[i]))PW(r,i)}else if(!ca(f))r[i]=!0}return r}function ak(e,r,a,i){if(!a)a=TW(r,{},i);for(let f in e){let s=e[f],l=i&&i[f];if(P8e(s)&&(!Array.isArray(s)||!T8e(l))){if(ca(r)||RW(a[f]))a[f]=TW(s,Array.isArray(s)?[]:{},l);else ak(s,as(r)?{}:r[f],a[f],l);if(A8e(a[f]))PW(a,f)}else if(ZZ(s,r[f]))PW(a,f);else a[f]=!0}return a}var YSt=(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},D8e=(e,{valueAsNumber:r,valueAsDate:a,setValueAs:i})=>ca(e)?e:r?e===""?NaN:e?+e:e:a&&ns(e)?new Date(e):i?i(e):e;function b8e(e){let r=e.ref;if(mF(r))return r.files;if(EW(r))return L8e(e.refs).value;if(C8e(r))return[...r.selectedOptions].map(({value:a})=>a);if(dD(r))return S8e(e.refs).value;return D8e(r.value,e)}var USt=(e,r,a,i)=>{let f={};for(let s of e){let l=br(r,s);l&&la(f,s,l._f)}return{criteriaMode:a,names:[...e],fields:f,shouldUseNativeValidation:i}},cD=(e)=>ca(e)?e:pF(e)?e.source:Bn(e)?pF(e.value)?e.value.source:e.value:e,_8e="AsyncFunction",qSt=(e)=>{if(!e||!e.validate)return!1;if(Md(e.validate))return e.validate.constructor.name===_8e;if(Bn(e.validate)){for(let r in e.validate)if(e.validate[r].constructor.name===_8e)return!0}return!1},VSt=(e)=>e.mount&&(e.required||!ca(e.required)&&e.required!==!1||!ca(e.min)||!ca(e.max)||!ca(e.maxLength)||!ca(e.minLength)||e.pattern||e.validate);function w8e(e,r,a){let i=br(e,a);if(i||nk(a))return{error:i,name:a};let f=a.split(".");while(f.length){let s=f.join("."),l=br(r,s),c=br(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 HSt=(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||pZ.all))},WSt=(e,r,a)=>!e||!r||e===r||dF(e).some((i)=>i&&(a?i===r||i.startsWith(r+"."):i.startsWith(r)||r.startsWith(i))),GSt=(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},KSt=(e,r)=>{let a=br(e,r);!k8e(a).length&&!(a===null||a===void 0?void 0:a.root)&&oi(e,r)},XSt={mode:pZ.onSubmit,reValidateMode:pZ.onChange,shouldFocusError:!0},CW="form",QSt=(e,r)=>{for(let a in e)if(!(a in r))delete e[a];Object.assign(e,r)},E8e={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function JSt(e={}){let r={...XSt,...e},a={...xn(E8e),isLoading:Md(r.defaultValues),errors:r.errors||{},disabled:r.disabled||!1},i={},f=Bn(r.defaultValues)||Bn(r.values)?xn(r.defaultValues||r.values)||{}:{},s=r.shouldUnregister?{}:xn(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,x=uF(r.mode),b=uF(r.reValidateMode),y={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},_={...y},z={..._},F={array:v8e(),state:v8e()},k=0,I=r.criteriaMode===pZ.all,Y=(ze,Se)=>(Pe)=>{clearTimeout(g[ze]),g[ze]=setTimeout(Se,Pe)},W=async(ze)=>{if(l.keepIsValid)return;if(!r.disabled&&(_.isValid||z.isValid||ze)){let Se=++k,Pe;if(r.resolver)Pe=ys((await dt()).errors),Se===k&&X();else Pe=await Bt({fields:i,onlyCheckValid:!0,eventType:MR.VALID});if(Se===k&&Pe!==a.isValid)F.state.next({isValid:Pe})}},X=(ze,Se)=>{if(!r.disabled&&(_.isValidating||_.validatingFields||z.isValidating||z.validatingFields))(ze||c.mount).forEach((Pe)=>{if(Pe)Se?la(a.validatingFields,Pe,Se):oi(a.validatingFields,Pe)}),F.state.next({validatingFields:a.validatingFields,isValidating:!ys(a.validatingFields)})},J=()=>{a.dirtyFields=ak(f,s,void 0,i)},ee=(ze,Se=[],Pe,Zt,Ct=!0,Yt=!0)=>{if(Zt&&Pe&&!r.disabled){l.action=!0;let sr=br(i,ze);if(!l.actionArrayLengths.has(ze))l.actionArrayLengths.set(ze,Array.isArray(sr)?sr.length:0);if(Yt&&Array.isArray(sr)){let Vt=Pe(sr,Zt.argA,Zt.argB);Ct&&la(i,ze,Vt)}let Nt=br(a.errors,ze);if(Yt&&Array.isArray(Nt)){let Vt=Nt.root,Nr=Pe(Nt,Zt.argA,Zt.argB)||Nt;if(Vt)Nr.root=Vt;Ct&&la(a.errors,ze,Nr),KSt(a.errors,ze)}let _t=br(a.touchedFields,ze);if((_.touchedFields||z.touchedFields)&&Yt&&Array.isArray(_t)){let Vt=Pe(_t,Zt.argA,Zt.argB);Ct&&la(a.touchedFields,ze,Vt)}if(_.dirtyFields||z.dirtyFields)J();F.state.next({name:ze,isDirty:le(ze,Se),dirtyFields:a.dirtyFields,errors:a.errors,isValid:a.isValid})}else la(s,ze,Se)},ae=(ze,Se)=>{la(a.errors,ze,Se),a.errors={...a.errors},F.state.next({errors:a.errors})},ne=(ze)=>{a.errors=ze,F.state.next({errors:a.errors,isValid:!1})},xe=(ze)=>{let Se=nk(ze)?[ze]:xR(ze),Pe=s,Zt=f;for(let Ct=0;Ct<Se.length-1;Ct++){let Yt=Se[Ct];if(Pe=as(Pe)?Pe:Pe[Yt],Zt=as(Zt)?Zt:Zt[Yt],Pe===null&&Zt!==null)return!0}return!1},Qe=(ze)=>{if(!l.actionArrayLengths.size)return!1;let Se=nk(ze)?[ze]:xR(ze),Pe=s,Zt="",Ct=-1,Yt=0;for(let sr=0;sr<Se.length;sr++){if(as(Pe))return!1;let Nt=Se[sr];if(Zt=Zt?`${Zt}.${Nt}`:Nt,Array.isArray(Pe)&&+Nt>=Pe.length)return Ct===-1?!1:sr===Ct?+Nt<Yt:!0;if(l.actionArrayLengths.has(Zt))Ct=sr+1,Yt=l.actionArrayLengths.get(Zt);Pe=Pe[Nt]}return!1},Fe=(ze,Se,Pe,Zt)=>{let Ct=br(i,ze);if(Ct){if(xe(ze)||Qe(ze))return;let Yt=ca(br(s,ze)),sr=br(s,ze,ca(Pe)?br(f,ze):Pe);if(ca(sr)||Zt&&Zt.defaultChecked||Se?la(s,ze,Se?sr:b8e(Ct._f)):ke(ze,sr),l.mount&&!l.action){if(W(),Yt&&a.isDirty&&(_.isDirty||z.isDirty)){if(!le())a.isDirty=!1,F.state.next({...a})}if(e.shouldUnregister&&Yt&&!ca(br(s,ze))&&kW(ze,c))l.watch=!0}}},ye=(ze,Se,Pe,Zt,Ct)=>{let Yt=!1,sr=!1,Nt={name:ze};if(!r.disabled||Zt===!0){if(!Pe||Zt){let _t=ZZ(br(f,ze),Se);if(_.isDirty||z.isDirty)sr=a.isDirty,a.isDirty=Nt.isDirty=!_t||le(),Yt=sr!==Nt.isDirty;if(sr=!!br(a.dirtyFields,ze),_t!==a.isDirty)QSt(a.dirtyFields,ak(f,s,void 0,i));else _t?oi(a.dirtyFields,ze):la(a.dirtyFields,ze,!0);Nt.dirtyFields=a.dirtyFields,Yt=Yt||(_.dirtyFields||z.dirtyFields)&&sr!==!_t}if(Pe){let _t=br(a.touchedFields,ze);if(!_t)la(a.touchedFields,ze,Pe),Nt.touchedFields=a.touchedFields,Yt=Yt||(_.touchedFields||z.touchedFields)&&_t!==Pe}Yt&&Ct&&F.state.next(Nt)}return Yt?Nt:{}},Ve=(ze,Se,Pe,Zt)=>{let Ct=br(a.errors,ze),Yt=(_.isValid||z.isValid)&&KZ(Se)&&a.isValid!==Se;if(r.delayError&&Pe)m[ze]=Y(ze,()=>ae(ze,Pe)),m[ze](r.delayError);else clearTimeout(g[ze]),delete m[ze],Pe?la(a.errors,ze,Pe):oi(a.errors,ze),a.errors={...a.errors};if((Pe?!ZZ(Ct,Pe):Ct)||!ys(Zt)||Yt){let sr={...Zt,...Yt&&KZ(Se)?{isValid:Se}:{},errors:a.errors,name:ze};F.state.next(sr)}},dt=async(ze)=>(X(ze,!0),await r.resolver(s,r.context,USt(ze||c.mount,i,r.criteriaMode,r.shouldUseNativeValidation))),lt=async(ze)=>{let{errors:Se}=await dt(ze);if(X(ze),ze){for(let Pe of ze){let Zt=br(Se,Pe);Zt?c.array.has(Pe)&&Bn(Zt)&&!Object.keys(Zt).some((Ct)=>!Number.isNaN(Number(Ct)))?Z8e(a.errors,{[Pe]:Zt},Pe):la(a.errors,Pe,Zt):oi(a.errors,Pe)}a.errors={...a.errors}}else a.errors=Se;return Se},pt=async({name:ze,eventType:Se})=>{if(e.validate){let Pe=await e.validate({formValues:s,formState:a,name:ze,eventType:Se});if(Bn(Pe))for(let Zt in Pe){let Ct=Pe[Zt];if(Ct)rr(`${CW}.${Zt}`,{message:ns(Ct.message)?Ct.message:"",type:Ct.type||dZ.validate})}else if(ns(Pe)||!Pe)rr(CW,{message:Pe||"",type:dZ.validate});else bo(CW);return Pe}return!0},Bt=async({fields:ze,onlyCheckValid:Se,name:Pe,eventType:Zt,context:Ct={valid:!0,runRootValidation:!1}})=>{if(e.validate){if(Ct.runRootValidation=!0,!await pt({name:Pe,eventType:Zt})){if(Ct.valid=!1,Se)return Ct.valid}}for(let Yt in ze){let sr=ze[Yt];if(sr){let{_f:Nt,..._t}=sr;if(Nt){let Vt=c.array.has(Nt.name),Nr=sr._f&&qSt(sr._f),Wr=_.validatingFields||_.isValidating||z.validatingFields||z.isValidating;if(Nr&&Wr)X([Nt.name],!0);let aa=await M8e(sr,c.disabled,s,I,r.shouldUseNativeValidation&&!Se,Vt);if(Nr&&Wr)X([Nt.name]);if(aa[Nt.name]){if(Ct.valid=!1,Se)break}if(!Se&&(br(aa,Nt.name)?Vt?Z8e(a.errors,aa,Nt.name):la(a.errors,Nt.name,aa[Nt.name]):oi(a.errors,Nt.name)),e.shouldUseNativeValidation&&aa[Nt.name])break}!ys(_t)&&await Bt({context:Ct,onlyCheckValid:Se,fields:_t,name:Yt,eventType:Zt})}}return Ct.valid},Wt=()=>{for(let ze of c.unMount){let Se=br(i,ze);Se&&(Se._f.refs?Se._f.refs.every((Pe)=>!IW(Pe)):!IW(Se._f.ref))&&_o(ze)}c.unMount=new Set},le=(ze,Se)=>(ze&&Se&&la(s,ze,Se),!ZZ(l.mount?s:f,f)),mt=(ze,Se,Pe)=>DSt(ze,c,{...l.mount?s:ca(Se)||ns(ze)?f:Se},Pe,Se),Gt=(ze)=>k8e(br(l.mount?s:f,ze,r.shouldUnregister?br(f,ze,[]):[])),ke=(ze,Se,Pe={},Zt=!1,Ct=!1,Yt=!1)=>{let sr=br(i,ze),Nt=Se;if(sr){let _t=sr._f;if(_t){if(!_t.disabled&&la(s,ze,D8e(Se,_t)),Nt=ZF(_t.ref)&&as(Se)?"":Se,C8e(_t.ref))[..._t.ref.options].forEach((Vt)=>Vt.selected=Nt.includes(Vt.value));else if(_t.refs)if(dD(_t.ref))_t.refs.forEach((Vt)=>{if(!Vt.defaultChecked||!Vt.disabled)if(Array.isArray(Nt))Vt.checked=!!Nt.find((Nr)=>Nr===Vt.value);else Vt.checked=Nt===Vt.value||!!Nt});else _t.refs.forEach((Vt)=>Vt.checked=Vt.value===Nt);else if(mF(_t.ref))_t.ref.value="";else if(_t.ref.value=Nt,!_t.ref.type&&!Ct&&!Yt)F.state.next({name:ze,values:Zt?s:xn(s)})}}(Pe.shouldDirty||Pe.shouldTouch)&&ye(ze,Nt,Pe.shouldTouch,Pe.shouldDirty,!Ct),Pe.shouldValidate&&vr(ze,{delayError:Pe.delayError})},Zr=(ze,Se,Pe,Zt=!1,Ct=!1,Yt=!1)=>{if(c.array.has(ze))F.array.next({name:ze,values:Zt?s:xn(s)});for(let sr in Se){if(!Se.hasOwnProperty(sr))return;let Nt=Se[sr],_t=ze+"."+sr,Vt=br(i,_t);(c.array.has(ze)||Bn(Nt)||Vt&&!Vt._f)&&!hz(Nt)?Zr(_t,Nt,Pe,Zt,Ct,Yt):ke(_t,Nt,Pe,Zt,Ct,Yt)}},lr=(ze,Se,Pe,Zt,Ct=!1)=>{let Yt=br(i,ze),sr=c.array.has(ze),Nt=Zt?Se:xn(Se),_t=br(s,ze),Vt=ZZ(_t,Nt);if(!Vt)la(s,ze,Nt);if(sr){if(F.array.next({name:ze,values:Zt?s:xn(s)}),(_.isDirty||_.dirtyFields||z.isDirty||z.dirtyFields)&&Pe.shouldDirty){if(J(),!Ct)F.state.next({name:ze,dirtyFields:a.dirtyFields,isDirty:le(ze,Nt)})}}else{let Nr=Array.isArray(Nt)&&!Nt.length||ys(Nt),Wr=!Vt&&!Ct;if(!Yt||Yt._f||as(Nt)||Nr)ke(ze,Nt,Pe,Zt,Ct,Wr);else Zr(ze,Nt,Pe,Zt,Ct,Wr)}if(!Vt&&!Ct){let Nr=kW(ze,c),Wr=Zt?s:xn(s);if(F.state.next({...Nr&&a,name:l.mount||Nr?ze:void 0,values:Wr}),!sr)for(let aa of YSt(c.array,ze))F.state.next({name:aa,values:Wr})}},tr=(ze,Se,Pe={})=>lr(ze,Se,Pe,!1),Ur=(ze,Se={})=>{let Pe=Md(ze)?ze(s):ze;if(!ZZ(s,Pe)){s={...s,...Pe};for(let Zt of c.mount)if(NSt(Pe,Zt))lr(Zt,br(Pe,Zt),Se,!0,!0);if(F.state.next({...a,name:void 0,type:void 0,...M?{values:s}:{}}),Se.shouldValidate)W()}},Qt=async(ze)=>{l.mount=!0;let Se=ze.target,Pe=Se.name,Zt=!0,Ct=br(i,Pe),Yt=(sr)=>{Zt=Number.isNaN(sr)||hz(sr)&&isNaN(sr.getTime())||ZZ(sr,br(s,Pe,sr))};if(Ct){let sr,Nt,_t=Se.type?b8e(Ct._f):SSt(ze),Vt=ze.type===MR.BLUR||ze.type===MR.FOCUS_OUT,Nr=!VSt(Ct._f)&&!e.validate&&!r.resolver&&!br(a.errors,Pe)&&!Ct._f.deps,Wr=Nr||GSt(Vt,br(a.touchedFields,Pe),a.isSubmitted,b,x),aa=kW(Pe,c,Vt);if(la(s,Pe,_t),Vt){if(!Se||!Se.readOnly){Ct._f.onBlur&&Ct._f.onBlur(ze);let ua=m[Pe];ua&&ua(0)}}else if(Ct._f.onChange)Ct._f.onChange(ze);let ar=ye(Pe,_t,Vt),ea=!ys(ar)||aa;if(!Vt&&F.state.next({name:Pe,type:ze.type,...M?{values:xn(s)}:{}}),Wr){if((!Nr||!a.isValid)&&(_.isValid||z.isValid)){if(r.mode==="onBlur"){if(Vt)W()}else if(!Vt)W()}return ea&&F.state.next({name:Pe,...aa?{}:ar})}if(!r.resolver&&e.validate)await pt({name:Pe,eventType:ze.type});if(!Vt&&aa&&F.state.next({...a}),r.resolver){let{errors:ua}=await dt([Pe]);if(X([Pe]),Yt(_t),!Zt){!ys(ar)&&F.state.next(ar);return}let Zi=w8e(a.errors,i,Pe),bs=w8e(ua,i,Zi.name||Pe);sr=bs.error,Pe=bs.name,Nt=ys(ua)}else if(X([Pe],!0),sr=(await M8e(Ct,c.disabled,s,I,r.shouldUseNativeValidation))[Pe],X([Pe]),Yt(_t),Zt){if(sr)Nt=!1;else if(_.isValid||z.isValid)Nt=await Bt({fields:i,onlyCheckValid:!0,name:Pe,eventType:ze.type})}if(Zt)Ct._f.deps&&(!Array.isArray(Ct._f.deps)||Ct._f.deps.length>0)&&vr(Ct._f.deps),Ve(Pe,Nt,sr,ar)}},Jt=(ze,Se)=>{if(br(a.errors,Se)&&ze.focus)return ze.focus(),1;return},vr=async(ze,Se={})=>{let Pe,Zt,Ct=dF(ze);if(r.resolver){let Yt=await lt(ca(ze)?ze:Ct);Pe=ys(Yt),Zt=ze?!Ct.some((sr)=>br(Yt,sr)):Pe}else if(ze)Zt=(await Promise.all(Ct.map(async(Yt)=>{let sr=br(i,Yt);return await Bt({fields:sr&&sr._f?{[Yt]:sr}:sr,eventType:MR.TRIGGER})}))).every(Boolean),!(!Zt&&!a.isValid)&&W();else Zt=Pe=await Bt({fields:i,name:ze,eventType:MR.TRIGGER});if(Se.delayError&&r.delayError&&ns(ze)){let Yt=br(a.errors,ze);if(Yt)oi(a.errors,ze),m[ze]=Y(ze,()=>ae(ze,Yt)),m[ze](r.delayError);else clearTimeout(g[ze]),delete m[ze]}return F.state.next({...!ns(ze)||(_.isValid||z.isValid)&&Pe!==a.isValid?{}:{name:ze},...r.resolver||!ze?{isValid:Pe}:{},errors:a.errors}),Se.shouldFocus&&!Zt&&uD(i,Jt,ze?Ct:c.mount),Zt},Er=(ze,Se)=>{let Pe={...l.mount?s:f};if(Se)Pe=I8e(Se.dirtyFields?a.dirtyFields:a.touchedFields,Pe);return ca(ze)?Pe:ns(ze)?br(Pe,ze):ze.map((Zt)=>br(Pe,Zt))},Br=(ze)=>ca(ze)?{...a.errors}:ns(ze)?br(a.errors,ze):ze.map((Se)=>br(a.errors,Se)),xr=(ze,Se)=>{let Pe=Se||a,Zt=br(Pe.errors,ze);return{invalid:!!Zt,isDirty:!!br(Pe.dirtyFields,ze),error:Zt,isValidating:!!br(a.validatingFields,ze),isTouched:!!br(Pe.touchedFields,ze)}},bo=(ze)=>{let Se=ze?dF(ze):void 0;if(Se===null||Se===void 0||Se.forEach((Pe)=>oi(a.errors,Pe)),Se)Se.forEach((Pe)=>{F.state.next({name:Pe,errors:a.errors})});else a.errors={},F.state.next({errors:a.errors})},rr=(ze,Se,Pe)=>{let Zt=(br(i,ze,{_f:{}})._f||{}).ref,Ct=br(a.errors,ze)||{},{ref:Yt,message:sr,type:Nt,..._t}=Ct;la(a.errors,ze,{..._t,...Se,ref:Zt}),F.state.next({name:ze,errors:a.errors,isValid:!1}),Pe&&Pe.shouldFocus&&Zt&&Zt.focus&&Zt.focus()},Qr=(ze,Se)=>{if(Md(ze)){M++;let{unsubscribe:Pe}=F.state.subscribe({next:(Ct)=>("values"in Ct)&&ze(Ct.values||mt(void 0,Se),Ct)}),Zt=!1;return{unsubscribe:()=>{if(Zt)return;Zt=!0,M--,Pe()}}}return mt(ze,Se,!0)},go=(ze)=>{var Se;let Pe=!!((Se=ze.formState)===null||Se===void 0?void 0:Se.values);if(Pe)M++;let{unsubscribe:Zt}=F.state.subscribe({next:(Yt)=>{if(WSt(ze.name,Yt.name,ze.exact)&&HSt(Yt,ze.formState||_,Xr,ze.reRenderRoot)){let sr={...s};ze.callback({values:sr,...a,...Yt,defaultValues:f})}}});if(!Pe)return Zt;let Ct=!1;return()=>{if(Ct)return;Ct=!0,M--,Zt()}},Bo=(ze)=>(l.mount=!0,z={...z,...ze.formState},go({...ze,formState:{...y,...ze.formState}})),_o=(ze,Se={})=>{for(let Pe of ze?dF(ze):c.mount){if(c.mount.delete(Pe),c.array.delete(Pe),!Se.keepValue)oi(i,Pe),oi(s,Pe);!Se.keepError&&oi(a.errors,Pe),!Se.keepDirty&&oi(a.dirtyFields,Pe),!Se.keepTouched&&oi(a.touchedFields,Pe),!Se.keepIsValidating&&oi(a.validatingFields,Pe),!r.shouldUnregister&&!Se.keepDefaultValue&&oi(f,Pe)}M&&F.state.next({values:xn(s)}),F.state.next({...a,...Se.keepDirty?{}:{isDirty:le()}}),!Se.keepIsValid&&W()},ni=({disabled:ze,name:Se})=>{if(KZ(ze)&&l.mount||!!ze||c.disabled.has(Se)){let Ct=c.disabled.has(Se)!==!!ze;ze?c.disabled.add(Se):c.disabled.delete(Se),Ct&&l.mount&&!l.action&&W()}},bn=(ze,Se={})=>{let Pe=br(i,ze),Zt=KZ(Se.disabled)||KZ(r.disabled),Ct=!c.registerName.has(ze)&&Pe&&Pe._f&&!Pe._f.mount;if(la(i,ze,{...Pe||{},_f:{...Pe&&Pe._f?Pe._f:{ref:{name:ze}},name:ze,mount:!0,...Se}}),c.mount.add(ze),Pe&&!Ct)ni({disabled:KZ(Se.disabled)?Se.disabled:r.disabled,name:ze});else Fe(ze,!0,Se.value);return{...Zt?{disabled:Se.disabled||r.disabled}:{},...r.progressive?{required:!!Se.required,min:cD(Se.min),max:cD(Se.max),minLength:cD(Se.minLength),maxLength:cD(Se.maxLength),pattern:cD(Se.pattern)}:{},name:ze,onChange:Qt,onBlur:Qt,ref:(Yt)=>{if(Yt){c.registerName.add(ze),bn(ze,Se),c.registerName.delete(ze),Pe=br(i,ze);let sr=ca(Yt.value)?Yt.querySelectorAll?Yt.querySelectorAll("input,select,textarea")[0]||Yt:Yt:Yt,Nt=FSt(sr),_t=Pe._f.refs||[];if(Nt?_t.find((Nr)=>Nr===sr):sr===Pe._f.ref)return;let Vt={...Pe._f};if(Nt)Vt.refs=[..._t.filter(IW),sr,...Array.isArray(br(f,ze))?[{}]:[]],Vt.ref={type:sr.type,name:ze};else Vt.ref=sr,delete Vt.refs;la(i,ze,{_f:Vt}),Fe(ze,!1,void 0,sr)}else{if(Pe=br(i,ze,{}),Pe._f)Pe._f.mount=!1;(r.shouldUnregister||Se.shouldUnregister)&&!(LSt(c.array,ze)&&l.action)&&c.unMount.add(ze)}}}},Xo=()=>r.shouldFocusError&&!r.shouldUseNativeValidation&&uD(i,Jt,c.mount),Yn=(ze)=>{if(KZ(ze))F.state.next({disabled:ze}),uD(i,(Se,Pe)=>{let Zt=br(i,Pe);if(Zt){if(Se.disabled=Zt._f.disabled||ze,Array.isArray(Zt._f.refs))Zt._f.refs.forEach((Ct)=>{Ct.disabled=Zt._f.disabled||ze})}},0,!1)},cn=(ze,Se)=>async(Pe)=>{let Zt=void 0,Ct=void 0;if(Pe)Pe.preventDefault&&Pe.preventDefault(),Pe.persist&&Pe.persist();let Yt=xn(s);if(F.state.next({isSubmitting:!0}),r.resolver){let{errors:sr,values:Nt}=await dt();X(),a.errors=sr,Yt=xn(Nt)}else await Bt({fields:i,eventType:MR.SUBMIT});if(c.disabled.size)for(let sr of c.disabled)oi(Yt,sr);if(oi(a.errors,z8e),ys(a.errors)){F.state.next({errors:{}});try{Zt=await ze(Yt,Pe)}catch(sr){Ct=sr}}else{if(Se)await Se({...a.errors},Pe);Xo(),setTimeout(Xo)}if(F.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ys(a.errors)&&!Ct,submitCount:a.submitCount+1,errors:a.errors}),Ct)throw Ct;return Zt},is=(ze,Se={})=>{if(br(i,ze)){if(ca(Se.defaultValue))tr(ze,xn(br(f,ze)));else tr(ze,Se.defaultValue),la(f,ze,xn(Se.defaultValue));if(!Se.keepTouched)oi(a.touchedFields,ze);if(!Se.keepDirty)oi(a.dirtyFields,ze),a.isDirty=Se.defaultValue?le(ze,xn(br(f,ze))):le();if(!Se.keepError)oi(a.errors,ze),_.isValid&&W();F.state.next({...a})}},$e=(ze,Se={})=>{let Pe=ze?xn(ze):f,Zt=xn(Pe),Ct=ys(ze),Yt=Zt,sr=i;if(!Se.keepDefaultValues)f=Pe;if(!Se.keepValues){if(Se.keepDirtyValues){let Nt=new Set([...c.mount,...R8e(ak(f,s,void 0,sr),a.dirtyFields)]);for(let _t of Nt){let Vt=br(a.dirtyFields,_t),Nr=br(s,_t),Wr=br(Yt,_t);if(Vt&&!ca(Nr))la(Yt,_t,Nr);else if(!Vt&&!ca(Wr))tr(_t,Wr)}}else{if(hF&&ca(ze))for(let Nt of c.mount){let _t=br(i,Nt);if(_t&&_t._f){let Vt=Array.isArray(_t._f.refs)?_t._f.refs[0]:_t._f.ref;if(ZF(Vt)){let Nr=Vt.closest("form");if(Nr){Nr.reset();break}}}}if(Se.keepFieldsRef)for(let Nt of c.mount)tr(Nt,br(Yt,Nt));else i={}}if(r.shouldUnregister){if(s=Se.keepDefaultValues?xn(f):{},Se.keepFieldsRef)for(let Nt of c.mount)la(s,Nt,br(Yt,Nt))}else s=xn(Yt);F.array.next({values:{...Yt}}),F.state.next({name:void 0,type:void 0,values:{...Yt}})}if(c={mount:Se.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||!!Se.keepIsValid||!!Se.keepDirtyValues||!r.shouldUnregister&&!ys(Yt),l.watch=!!r.shouldUnregister,l.keepIsValid=!!Se.keepIsValid,l.action=!1,l.actionArrayLengths.clear(),!Se.keepErrors)a.errors={};F.state.next({submitCount:Se.keepSubmitCount?a.submitCount:0,isDirty:Ct?!1:Se.keepDirty?a.isDirty:Se.keepValues?le():!!(Se.keepDefaultValues&&!ZZ(ze,f)),isSubmitted:Se.keepIsSubmitted?a.isSubmitted:!1,dirtyFields:Ct?{}:Se.keepDirtyValues?Se.keepDefaultValues&&s?ak(f,s,void 0,sr):a.dirtyFields:Se.keepDefaultValues&&ze?ak(f,ze,void 0,sr):Se.keepDirty?a.dirtyFields:{},touchedFields:Se.keepTouched?a.touchedFields:{},errors:Se.keepErrors?a.errors:{},isSubmitSuccessful:Se.keepIsSubmitSuccessful?a.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:f})},jt=(ze,Se)=>$e(Md(ze)?ze(s):ze,{...r.resetOptions,...Se}),wr=(ze,Se={})=>{let Pe=br(i,ze),Zt=Pe&&Pe._f;if(Zt){let Ct=Zt.refs?Zt.refs[0]:Zt.ref;if(Ct.focus)setTimeout(()=>{Ct.focus(),Se.shouldSelect&&Md(Ct.select)&&Ct.select()})}},Xr=(ze)=>{let{name:Se,type:Pe,values:Zt,...Ct}=ze;a={...a,...Ct}};F.state.subscribe({next:Xr});let Pa={control:{register:bn,unregister:_o,getFieldState:xr,handleSubmit:cn,setError:rr,_subscribe:go,_runSchema:dt,_updateIsValidating:X,_focusError:Xo,_getWatch:mt,_getDirty:le,_setValid:W,_setFieldArray:ee,_setDisabledField:ni,_setErrors:ne,_getFieldArray:Gt,_reset:$e,_resetDefaultValues:()=>Md(r.defaultValues)&&r.defaultValues().then((ze)=>{jt(ze,r.resetOptions),F.state.next({isLoading:!1})}),_removeUnmounted:Wt,_disableForm:Yn,_subjects:F,_proxyFormState:_,get _fields(){return i},get _formValues(){return s},get _state(){return l},set _state(ze){l=ze},get _defaultValues(){return f},get _names(){return c},set _names(ze){c=ze},get _formState(){return a},get _options(){return r},set _options(ze){r={...r,...ze},x=uF(r.mode),b=uF(r.reValidateMode)}},subscribe:Bo,trigger:vr,register:bn,handleSubmit:cn,watch:Qr,setValue:tr,setValues:Ur,getValues:Er,getErrors:Br,reset:jt,resetField:is,resetDefaultValues:(ze,Se={})=>{if(f=xn(ze),!Se.keepDirty){let Pe=ak(f,s,void 0,i);a.dirtyFields=Pe,a.isDirty=!ys(Pe)}if(!Se.keepIsValid)W();F.state.next({...a,defaultValues:f})},clearErrors:bo,unregister:_o,setError:rr,setFocus:wr,getFieldState:xr};return{...Pa,formControl:Pa}}function pl(e={}){let r=v(void 0),a=v(void 0),i=v(e.formControl),[f,s]=u(()=>({...xn(E8e),isLoading:Md(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Md(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&&!Md(e.defaultValues))e.formControl.reset(e.defaultValues,e.resetOptions)}else{let{formControl:g,...M}=JSt(e);r.current={...M,formState:f}}let l=r.current.control;l._options=e;let{resyncIfNeeded:c,snapshot:m}=ASt();return PSt(()=>{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((x)=>({...x,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&&!ZZ(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=O(()=>RSt(f,l),[l,f]),r.current}var O8e=(e,r,a)=>{if(e&&"reportValidity"in e){let i=br(a,r);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},MF=(e,r)=>{for(let a in r.fields){let i=r.fields[a];i&&i.ref&&"reportValidity"in i.ref?O8e(i.ref,a,e):i&&i.refs&&i.refs.forEach((f)=>O8e(f,a,e))}},OW=(e,r)=>{r.shouldUseNativeValidation&&MF(e,r);let a={};for(let i in e){let f=br(r.fields,i),s=Object.assign(e[i]||{},{ref:f&&f.refs?f.refs[0]:f&&f.ref});if($St(r.names||Object.keys(e),i)){let l=Object.assign({},br(a,i));la(l,"root",s),la(a,i,l)}else la(a,i,s)}return a},$St=(e,r)=>{let a=j8e(r).replace(/[.*+?^${}()|\\]/g,"\\$&");return e.some((i)=>j8e(i).match(`^${a}\\.\\d+`))};function j8e(e){return e.replace(/\[(\d+)]/g,".$1").replace(/[[\]]/g,"")}function jW(){return jW=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},jW.apply(null,arguments)}function N8e(e,r){try{var a=e()}catch(i){return r(i)}return a&&a.then?a.then(void 0,r):a}function eLt(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(b,y){return y.errors.length<b.errors.length?y:b}).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(b){return b.errors.forEach(function(y){return e.push(y)})}),r){var M=a[l].types,x=M&&M[i.code];a[l]=gF(l,r,a,f,x?[].concat(x,i.message):i.message)}e.shift()}return a}function tLt(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(y,_){return _.length<y.length?_:y})[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(y){return y.forEach(function(_){return e.push(jW({},_,{path:[].concat(f.path,_.path)}))})}),r){var x=a[c].types,b=x&&x[f.code];a[c]=gF(c,r,a,s,b?[].concat(b,f.message):f.message)}e.shift()};e.length;)i();return a}function ml(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(N8e(function(){function l(m){return s.shouldUseNativeValidation&&MF({},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:OW(tLt(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(N8e(function(){return Promise.resolve(e[a.mode==="sync"?"parse":"parseAsync"](i,r)).then(function(l){return s.shouldUseNativeValidation&&MF({},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:OW(eLt(l.errors,!s.shouldUseNativeValidation&&s.criteriaMode==="all"),s)};throw l}))}catch(l){return Promise.reject(l)}};throw Error("Invalid input: not a Zod schema")}C();var rLt=P({email:p().email(bfe()),password:p().min(3,Pf()),inviteCode:p().optional()});function oLt(){let e=Me(),a=NW.useSearch().inviteCode,[i,f]=u(null),[s,l]=u(!1),[c,m]=u(()=>n()==="zh"?"zh":"en"),g=(I)=>{m(I),ui(I)},{data:M}=L({queryKey:["invite",a],queryFn:async()=>{let I=await A.api.invite[":code"].$get({param:{code:a}});if(!I.ok)throw Error("Failed to fetch invite info");return await I.json()},enabled:!!a}),{data:x,isLoading:b}=L({queryKey:["/signup-info"],queryFn:async()=>{let I=await A.api["signup-info"].$get();if(!I.ok)throw Error("Failed to fetch signup info");return await I.json()}}),y=Ss((I)=>I.setUser),_=pl({resolver:ml(rLt),defaultValues:{inviteCode:a}}),z=async(I)=>{l(!0),f(null);let{data:Y,error:W}=await Vie.email({email:I.email,password:I.password,name:I.email,inviteCode:I.inviteCode,locale:c});if(l(!1),W){f(W.message||ult());return}if(Y)y(Y.user),e({to:"/"})};if(b)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(kM,{className:"h-16 w-16 animate-pulse mb-4 text-rose-500 shadow-xl rounded-2xl"}),t(Z,{className:"h-6 w-6 animate-spin text-rose-500/70"})]})});let F=x?.initialized===!1;if(!F&&!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(St,{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(kM,{className:"h-16 w-16 shadow-lg shadow-rose-500/10 rounded-2xl"})}),t(Pt,{className:"text-2xl font-bold tracking-tight bg-gradient-to-r from-rose-500 to-orange-500 bg-clip-text text-transparent",children:Fat()}),t(Ft,{className:"mt-2 text-zinc-600 dark:text-zinc-400",children:Uat()})]}),t(u8e,{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:[mfe()," ",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:[_Ve()," ",t(qn,{className:"w-3.5 h-3.5"})]})]})})]})]});return o(fl,{children:[o("div",{className:"mb-8",children:[t("h1",{className:"text-2xl font-bold tracking-tight text-zinc-900 dark:text-zinc-50",children:b5e()}),t("p",{className:"text-zinc-500 dark:text-zinc-400 text-sm mt-1 mb-4",children:plt()}),F&&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:ZUe()})]}),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:v9e({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(z),className:"space-y-5",children:[o("div",{className:"space-y-2",children:[t(G,{htmlFor:"email",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:Mfe()}),o("div",{className:"relative group",children:[t(Jz,{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(q,{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(G,{htmlFor:"password",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:kf()}),o("div",{className:"relative group",children:[t(Vr,{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(q,{id:"password",type:"password",..._.register("password"),placeholder:Zet(),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(S,{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(B,{children:[t(Z,{className:"h-4 w-4 animate-spin"}),f4e()]}):o(B,{children:[t(UP,{className:"w-4 h-4"}),kfe()]})})]}),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:[mfe()," "]}),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:[_fe()," ",t(qn,{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 NW=eo("/signup")({component:oLt,validateSearch:(e)=>({inviteCode:e.inviteCode||void 0}),beforeLoad:()=>{if(Ss.getState().user)throw ql({to:"/"})}});var aLt=P({token:p().catch("")}),F8e=eo("/reset-password")({validateSearch:(e)=>aLt.parse(e),beforeLoad:()=>{if(Ss.getState().user)throw ql({to:"/"})}});C();var nLt=P({email:p().email(bfe()),password:p().min(1,fet())});function iLt(){let e=Me(),r=Ss((x)=>x.setUser),[a,i]=u(null),[f,s]=u(!1),{data:l,isLoading:c}=L({queryKey:["/signup-info"],queryFn:async()=>{let x=await A.api["signup-info"].$get();if(!x.ok)throw Error("Failed to fetch signup info");return await x.json()}});h(()=>{if(l&&!l.initialized)e({to:"/signup",search:{inviteCode:""}})},[l,e]);let m=l?.demoMode===!0,g=pl({resolver:ml(nLt)}),M=async(x)=>{s(!0),i(null);let{data:b,error:y}=await qie.email({email:x.email,password:x.password});if(s(!1),y){i(y.message||c9e());return}if(b)r(b.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(kM,{className:"h-16 w-16 animate-pulse mb-4 text-rose-500 shadow-xl rounded-2xl"}),t(Z,{className:"h-6 w-6 animate-spin text-rose-500/70"})]})});return o(fl,{children:[o("div",{className:"mb-8",children:[t("h1",{className:"text-2xl font-bold tracking-tight text-zinc-900 dark:text-zinc-50",children:Lmt()}),t("p",{className:"text-zinc-500 dark:text-zinc-400 text-sm mt-1",children:SVe()})]}),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:o3e()})," ",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(G,{htmlFor:"email",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:Mfe()}),o("div",{className:"relative group",children:[t(Jz,{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(q,{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(G,{htmlFor:"password",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:kf()}),o("div",{className:"relative group",children:[t(Vr,{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(q,{id:"password",type:"password",...g.register("password"),placeholder:het(),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(S,{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(B,{children:[t(Z,{className:"h-4 w-4 animate-spin"}),MVe()]}):o(B,{children:[t(YP,{className:"w-4 h-4"}),_fe()]})})]}),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:PKe()}),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:[kfe()," ",t(qn,{className:"w-3.5 h-3.5"})]})]})]})}var B8e=eo("/login")({component:iLt,beforeLoad:()=>{if(Ss.getState().user)throw ql({to:"/"})}});C();function Y8e(){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:$u()});if(f)return null;return t(fe,{open:!0,children:o(ce,{children:[o(pe,{children:[t(ue,{children:eft()}),t(It,{children:Xft()})]}),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))})]})})}C();function fLt(){let e=Ss((a)=>a.user),r=Me();if(h(()=>{if(!e)r({to:"/login"})},[e,r]),!e)return null;return t(Y8e,{})}var U8e=eo("/")({component:fLt});function sLt(){return t(QM,{})}var q8e=eo("/share/$shareId")({component:sLt});var V8e=eo("/teams/$teamId/")({});var H8e=eo("/share/$shareId/")({});function ie({className:e,...r}){return t("div",{"data-slot":"skeleton",className:E("animate-pulse rounded-md bg-accent",e),...r})}function yt(){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(ie,{className:"h-4 w-24"}),t("span",{className:"text-muted-foreground",children:"/"}),t(ie,{className:"h-4 w-32"})]}),o("div",{className:"flex items-center gap-2",children:[t(ie,{className:"h-8 w-8 rounded-md"}),t(ie,{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(ie,{className:"h-4 w-4 rounded"}),t(ie,{className:"h-4 w-24"})]}),o("div",{className:"pl-4 space-y-3",children:[o("div",{className:"flex items-center gap-2",children:[t(ie,{className:"h-3 w-3 rounded"}),t(ie,{className:"h-3 w-28"})]}),o("div",{className:"flex items-center gap-2",children:[t(ie,{className:"h-3 w-3 rounded"}),t(ie,{className:"h-3 w-20"})]}),o("div",{className:"flex items-center gap-2",children:[t(ie,{className:"h-3 w-3 rounded"}),t(ie,{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(ie,{className:"h-5 w-40"}),t(ie,{className:"h-4 w-20"})]}),o("div",{className:"flex items-center gap-2",children:[t(ie,{className:"h-8 w-8 rounded"}),t(ie,{className:"h-8 w-8 rounded"}),t(ie,{className:"h-8 w-32 rounded"})]})]}),o("div",{className:"space-y-4",children:[t("div",{className:"flex items-center gap-2",children:t(ie,{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(ie,{className:"aspect-square w-full rounded-md"}),o("div",{className:"space-y-2",children:[t(ie,{className:"h-4 w-3/4"}),o("div",{className:"flex justify-between items-center",children:[t(ie,{className:"h-3 w-1/4"}),t(ie,{className:"h-3 w-1/3"})]})]})]},r))})]})]})]})]})}function kg(){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(ie,{className:"h-4 w-16"}),t("span",{className:"text-muted-foreground",children:"/"}),t(ie,{className:"h-4 w-28"}),t("span",{className:"text-muted-foreground",children:"/"}),t(ie,{className:"h-4 w-32"})]}),t("div",{className:"flex items-center gap-2",children:t(ie,{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(ie,{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(ie,{className:"h-12 w-12 rounded bg-muted shrink-0"}),o("div",{className:"space-y-2 flex-1",children:[t(ie,{className:"h-3 w-2/3"}),t(ie,{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(ie,{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(ie,{className:"h-8 w-8 rounded-full"}),t(ie,{className:"h-4 w-32"})]}),t(ie,{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(ie,{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(ie,{className:"h-3 w-20"}),t(ie,{className:"h-3 w-32"})]},r))})]}),o("div",{className:"flex-1 flex flex-col gap-4",children:[t(ie,{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(ie,{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(ie,{className:"h-3 w-24"}),t(ie,{className:"h-2 w-12"})]}),t(ie,{className:"h-3 w-full"}),t(ie,{className:"h-3 w-5/6"})]})]},r))})]})]})]})]})}function Pg({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(ie,{className:"h-4 w-4 rounded"}),t(ie,{className:"h-4 w-4 rounded"}),t(ie,{className:"h-4 w-48"}),o("div",{className:"ml-auto flex items-center gap-8",children:[t(ie,{className:"h-3 w-16"}),t(ie,{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(ie,{className:"aspect-square w-full rounded-md"}),o("div",{className:"space-y-2",children:[t(ie,{className:"h-4 w-3/4"}),o("div",{className:"flex justify-between items-center",children:[t(ie,{className:"h-3 w-1/4"}),t(ie,{className:"h-3 w-1/3"})]})]})]},a))})})}function Ng(){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(ie,{className:"h-10 w-10 rounded-md shrink-0"}),o("div",{className:"space-y-2 flex-1",children:[t(ie,{className:"h-4 w-3/4"}),t(ie,{className:"h-3 w-1/3"})]})]},r))})}var Ap=(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()}}),W8e=eo("/projects/$projectId/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Ap(r)),pendingComponent:()=>t(yt,{})});var G8e=eo("/teams/$teamId/settings")({});var lLt=P({taskId:p().optional()}),K8e=eo("/teams/$teamId/kanban")({validateSearch:(e)=>lLt.parse(e)});var X8e=eo("/teams/$teamId/dashboard")({});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()}}),Q8e=eo("/projects/$projectId/recents")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(yp(r)),pendingComponent:()=>t(yt,{})});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()}}),J8e=eo("/projects/$projectId/recently-deleted")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(_p(r)),pendingComponent:()=>t(yt,{})});var bp=(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()}}),$8e=eo("/projects/$projectId/agentsmd")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(bp(r)),pendingComponent:()=>t(yt,{})});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()}}),exe=eo("/projects/$projectId/shares/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(vp(r)),pendingComponent:()=>t(yt,{})});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()}}),txe=eo("/projects/$projectId/collections/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(wp(r)),pendingComponent:()=>t(yt,{})});var rxe=eo("/share/$shareId/folders/$folderId")({});var oxe=eo("/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 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()}}),axe=eo("/projects/$projectId/shares/$shareId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(xp(r)),pendingComponent:()=>t(yt,{})});var Sp=(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()}}),nxe=eo("/projects/$projectId/folders/$folderId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Sp(r)),pendingComponent:()=>t(yt,{})});var ixe=eo("/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 Cp=(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()}}),Og=(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()}}),fxe=eo("/projects/$projectId/collections/$collectionId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Cp(r)),pendingComponent:()=>t("div",{children:Xm()})});var Ep=(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()}}),sxe=eo("/projects/$projectId/folders/$folderId_/agentsmd")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Ep(r)),pendingComponent:()=>t(yt,{})});var cLt=NW.update({id:"/signup",path:"/signup",getParentRoute:()=>En}),uLt=F8e.update({id:"/reset-password",path:"/reset-password",getParentRoute:()=>En}).lazy(()=>import("./chunk-3a13dcs1.js").then((e)=>e.Route)),dLt=B8e.update({id:"/login",path:"/login",getParentRoute:()=>En}),ZLt=U8e.update({id:"/",path:"/",getParentRoute:()=>En}),vF=q8e.update({id:"/share/$shareId",path:"/share/$shareId",getParentRoute:()=>En}),pLt=V8e.update({id:"/teams/$teamId/",path:"/teams/$teamId/",getParentRoute:()=>En}).lazy(()=>import("./chunk-f15qyp41.js").then((e)=>e.Route)),mLt=H8e.update({id:"/",path:"/",getParentRoute:()=>vF}).lazy(()=>import("./chunk-ekfem7kf.js").then((e)=>e.Route)),hLt=W8e.update({id:"/projects/$projectId/",path:"/projects/$projectId/",getParentRoute:()=>En}).lazy(()=>import("./chunk-sk4e6rb1.js").then((e)=>e.Route)),gLt=G8e.update({id:"/teams/$teamId/settings",path:"/teams/$teamId/settings",getParentRoute:()=>En}).lazy(()=>import("./chunk-ce8m4zeg.js").then((e)=>e.Route)),MLt=K8e.update({id:"/teams/$teamId/kanban",path:"/teams/$teamId/kanban",getParentRoute:()=>En}).lazy(()=>import("./chunk-5a8nt4me.js").then((e)=>e.Route)),vLt=X8e.update({id:"/teams/$teamId/dashboard",path:"/teams/$teamId/dashboard",getParentRoute:()=>En}).lazy(()=>import("./chunk-g0vs7k2x.js").then((e)=>e.Route)),xLt=Q8e.update({id:"/projects/$projectId/recents",path:"/projects/$projectId/recents",getParentRoute:()=>En}).lazy(()=>import("./chunk-zh6fqq44.js").then((e)=>e.Route)),yLt=J8e.update({id:"/projects/$projectId/recently-deleted",path:"/projects/$projectId/recently-deleted",getParentRoute:()=>En}).lazy(()=>import("./chunk-a3dmtt2j.js").then((e)=>e.Route)),bLt=$8e.update({id:"/projects/$projectId/agentsmd",path:"/projects/$projectId/agentsmd",getParentRoute:()=>En}).lazy(()=>import("./chunk-etwkk0xh.js").then((e)=>e.Route)),_Lt=exe.update({id:"/projects/$projectId/shares/",path:"/projects/$projectId/shares/",getParentRoute:()=>En}).lazy(()=>import("./chunk-8zqgaxvv.js").then((e)=>e.Route)),wLt=txe.update({id:"/projects/$projectId/collections/",path:"/projects/$projectId/collections/",getParentRoute:()=>En}).lazy(()=>import("./chunk-n1jwdb0a.js").then((e)=>e.Route)),zLt=rxe.update({id:"/folders/$folderId",path:"/folders/$folderId",getParentRoute:()=>vF}).lazy(()=>import("./chunk-qh81zhg1.js").then((e)=>e.Route)),SLt=oxe.update({id:"/files/$fileId",path:"/files/$fileId",getParentRoute:()=>vF}).lazy(()=>import("./chunk-1kw2mbqb.js").then((e)=>e.Route)),LLt=axe.update({id:"/projects/$projectId/shares/$shareId",path:"/projects/$projectId/shares/$shareId",getParentRoute:()=>En}).lazy(()=>import("./chunk-aqbrzx9z.js").then((e)=>e.Route)),kLt=nxe.update({id:"/projects/$projectId/folders/$folderId",path:"/projects/$projectId/folders/$folderId",getParentRoute:()=>En}).lazy(()=>import("./chunk-3swpwb9v.js").then((e)=>e.Route)),ILt=ixe.update({id:"/projects/$projectId/files/$fileId",path:"/projects/$projectId/files/$fileId",getParentRoute:()=>En}).lazy(()=>import("./chunk-e2mvmq2m.js").then((e)=>e.Route)),CLt=fxe.update({id:"/projects/$projectId/collections/$collectionId",path:"/projects/$projectId/collections/$collectionId",getParentRoute:()=>En}).lazy(()=>import("./chunk-ejbvfj4r.js").then((e)=>e.Route)),RLt=sxe.update({id:"/projects/$projectId/folders/$folderId_/agentsmd",path:"/projects/$projectId/folders/$folderId/agentsmd",getParentRoute:()=>En}).lazy(()=>import("./chunk-1wm6ptdx.js").then((e)=>e.Route)),PLt={ShareShareIdIndexRoute:mLt,ShareShareIdFilesFileIdRoute:SLt,ShareShareIdFoldersFolderIdRoute:zLt},TLt=vF._addFileChildren(PLt),ALt={IndexRoute:ZLt,LoginRoute:dLt,ResetPasswordRoute:uLt,SignupRoute:cLt,ShareShareIdRoute:TLt,ProjectsProjectIdAgentsmdRoute:bLt,ProjectsProjectIdRecentlyDeletedRoute:yLt,ProjectsProjectIdRecentsRoute:xLt,TeamsTeamIdDashboardRoute:vLt,TeamsTeamIdKanbanRoute:MLt,TeamsTeamIdSettingsRoute:gLt,ProjectsProjectIdIndexRoute:hLt,TeamsTeamIdIndexRoute:pLt,ProjectsProjectIdCollectionsCollectionIdRoute:CLt,ProjectsProjectIdFilesFileIdRoute:ILt,ProjectsProjectIdFoldersFolderIdRoute:kLt,ProjectsProjectIdSharesShareIdRoute:LLt,ProjectsProjectIdCollectionsIndexRoute:wLt,ProjectsProjectIdSharesIndexRoute:_Lt,ProjectsProjectIdFoldersFolderIdAgentsmdRoute:RLt},lxe=En._addFileChildren(ALt)._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 cxe=new YF,DLt=b3({routeTree:lxe,context:{queryClient:cxe}});mee(document.getElementById("root")).render(t(IF,{children:t(RF,{client:cxe,children:t(Mee,{defaultTheme:"system",storageKey:"vite-ui-theme",children:t(_3,{router:DLt})})})}));export{H,da,dn,ja,Es,wt,j,D,rc,N,xt,h,fu,tn,He,O,so,v,u,Fn,fa,C,B,t,o,Q,pu,mu,cr,nc,Is,ai,io,zt,Do,hu,gu,Au,qp,yu,oc,_u,Fi,L,U,ct,ac,Me,Ts,Mn,Rn,Ue,jn,Ms,ji,pa,qi,Hi,Gi,bu,ma,$i,vu,Sr,A,T,gr,kn,Ar,or,Z,fn,vo,zr,Fr,qn,Rs,ks,bt,Pn,Te,_e,jr,ft,si,ur,vt,Nn,Kt,ii,ha,Xt,ga,Hn,Zo,Gn,Aa,wo,Vr,lo,li,de,Lt,ci,co,ve,Oe,E,Qo,ut,me,K,Et,yr,qa,Ot,oe,er,Ha,Ga,On,$a,Qi,Vi,Ki,wu,xu,Su,Cu,Eu,Iu,Tu,Mu,Ru,Qa,sc,S,pn,mn,hn,gn,Ce,Ee,Ie,he,Ps,ge,Ae,V,ic,Va,qr,qt,Ns,Os,Ds,Vo,Hp,n,ui,Lg,Bg,Ug,zg,Fg,jg,qg,jd,Hg,Gg,$g,Gp,qd,Qg,Vg,Kg,ku,Wg,Yg,Pu,$p,Qp,Vp,Jg,Xg,eA,tA,Hd,rA,Kp,nA,Wp,oA,aA,sA,iA,lA,cA,uA,dA,fA,pA,mA,hA,gA,AA,Yp,yA,Jp,_A,Xp,bA,em,vA,tm,wA,rm,xA,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