@shumai-one/shumai 0.4.7 → 0.4.9

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 (151) hide show
  1. package/bin/chunk-01v2xh5b.js +1 -0
  2. package/bin/{chunk-4m8gk79m.js → chunk-09367z2r.js} +2 -2
  3. package/bin/{chunk-781990k7.js → chunk-0g7ayjb5.js} +4 -4
  4. package/bin/{chunk-5wp37g6w.js → chunk-0mv8jp7h.js} +6 -6
  5. package/bin/{chunk-11c93g1m.js → chunk-0w3388vp.js} +2 -2
  6. package/bin/chunk-15n1v8mm.js +1 -0
  7. package/bin/chunk-17k9a427.js +211 -0
  8. package/bin/{chunk-dyq6h9ha.js → chunk-1kr1jsrt.js} +1 -1
  9. package/bin/{chunk-njabdtvb.js → chunk-1v11geh0.js} +2 -2
  10. package/bin/chunk-258tjpym.js +1 -0
  11. package/bin/chunk-2ar64j3z.js +2 -0
  12. package/bin/{chunk-ebf1r872.js → chunk-2j31y48k.js} +5 -5
  13. package/bin/{chunk-z9jpgxf1.js → chunk-2txahdj8.js} +2 -2
  14. package/bin/{chunk-gc6m7agb.js → chunk-315w58w6.js} +2 -2
  15. package/bin/{chunk-0ygtayqf.js → chunk-41fbx9mc.js} +1 -1
  16. package/bin/{chunk-zz0522zr.js → chunk-46brm12f.js} +4 -4
  17. package/bin/{chunk-q1d7x1cc.js → chunk-46hmh2ag.js} +1 -1
  18. package/bin/{chunk-zbt4h7n0.js → chunk-4cj3pz27.js} +1 -1
  19. package/bin/{chunk-camzbwqh.js → chunk-4sqbjvjt.js} +1 -1
  20. package/bin/{chunk-jde9r5mj.js → chunk-5e4de0a1.js} +1 -1
  21. package/bin/{chunk-b3aqmcps.js → chunk-5w7yxz6p.js} +2 -2
  22. package/bin/{chunk-ebx3bd4c.js → chunk-6m44n3ms.js} +1 -1
  23. package/bin/{chunk-hye75kp0.js → chunk-6mnj9adr.js} +2 -2
  24. package/bin/{chunk-twyxs4z2.js → chunk-6snwrej9.js} +1 -1
  25. package/bin/{chunk-mm1a0zja.js → chunk-6vqga3ma.js} +1 -1
  26. package/bin/{chunk-t3t7dcfq.js → chunk-6yayg55q.js} +1 -1
  27. package/bin/{chunk-9va1mzeq.js → chunk-7hmt2gs5.js} +2 -2
  28. package/bin/{chunk-3h9c5ak3.js → chunk-7zfyrt40.js} +1 -1
  29. package/bin/{chunk-fvgb6rps.js → chunk-82cg5497.js} +2 -2
  30. package/bin/{chunk-628k58ek.js → chunk-8mhj6r2q.js} +2 -2
  31. package/bin/{chunk-radcwage.js → chunk-8mjb093y.js} +2 -2
  32. package/bin/{chunk-h3wr8nnk.js → chunk-8r9q7xcv.js} +1 -1
  33. package/bin/{chunk-wvq717b5.js → chunk-9fe75ns9.js} +2 -2
  34. package/bin/{chunk-05tnmf8h.js → chunk-aant41bd.js} +2 -2
  35. package/bin/{chunk-v1sgrg0r.js → chunk-anky1dmg.js} +1 -1
  36. package/bin/{chunk-k810fstm.js → chunk-bg2vgnzt.js} +1 -1
  37. package/bin/{chunk-3tyk9xgf.js → chunk-c0wqfya9.js} +2 -2
  38. package/bin/{chunk-8b1w6bj9.js → chunk-c3010erf.js} +1 -1
  39. package/bin/{chunk-vdnmq163.js → chunk-c7hr2jga.js} +2 -2
  40. package/bin/chunk-c8aw8dye.js +2 -0
  41. package/bin/{chunk-zr11zfwc.js → chunk-ckd5hnd0.js} +2 -2
  42. package/bin/{chunk-dkzyv61a.js → chunk-cphwmdq5.js} +2 -2
  43. package/bin/{chunk-typ46eqd.js → chunk-d70acjwn.js} +5 -5
  44. package/bin/{chunk-xznabrt2.js → chunk-dzj91k6v.js} +1 -1
  45. package/bin/chunk-e2724ggn.js +2 -0
  46. package/bin/chunk-e2j3vwcv.js +2 -0
  47. package/bin/{chunk-k3qypq3x.js → chunk-e2qn4d57.js} +1 -1
  48. package/bin/{chunk-kg2c445x.js → chunk-eedhf8eb.js} +1 -1
  49. package/bin/chunk-ef3av8ay.js +1 -0
  50. package/bin/{chunk-j41mya13.js → chunk-f3f6cary.js} +3 -3
  51. package/bin/chunk-fjvbgahx.css +1 -0
  52. package/bin/chunk-fw0f45qw.js +2 -0
  53. package/bin/{chunk-s30fjvzs.js → chunk-fw5xzcnf.js} +4 -4
  54. package/bin/{chunk-8sf106rq.js → chunk-g6rw4jj5.js} +1 -1
  55. package/bin/{chunk-dscq4a4k.js → chunk-g7qejgap.js} +2 -2
  56. package/bin/{chunk-4jgq9m51.js → chunk-gj0yxtqz.js} +7 -7
  57. package/bin/{chunk-m2h7a172.js → chunk-gvbajsje.js} +1 -1
  58. package/bin/{chunk-s63vj79f.js → chunk-h29rwayb.js} +1 -1
  59. package/bin/chunk-h37zfvmp.js +3 -0
  60. package/bin/{chunk-m638fg4n.js → chunk-ht4chp45.js} +5 -5
  61. package/bin/{chunk-3g5pyw2e.js → chunk-jpjc44j6.js} +2 -2
  62. package/bin/{chunk-9v6eqa3n.js → chunk-jraqe5z0.js} +2 -2
  63. package/bin/{chunk-yqvhgtez.js → chunk-jxfz4h24.js} +2 -2
  64. package/bin/chunk-jy8by162.js +1 -0
  65. package/bin/{chunk-53vtc74g.js → chunk-jyg525f5.js} +2 -2
  66. package/bin/chunk-jz9mcrj6.js +1 -0
  67. package/bin/chunk-k4n9rdq3.js +1 -0
  68. package/bin/{chunk-e17daz1x.js → chunk-kemfwmyq.js} +2 -2
  69. package/bin/{chunk-6rjkbwz6.js → chunk-kmx350y5.js} +9 -9
  70. package/bin/{chunk-887pj9xd.js → chunk-kn82bccp.js} +2 -2
  71. package/bin/chunk-kx0qbs28.js +1 -0
  72. package/bin/{chunk-nnq8g9yy.js → chunk-m0xbfmf0.js} +3 -3
  73. package/bin/{chunk-rbagbd0e.js → chunk-n6sny5c8.js} +1 -1
  74. package/bin/{chunk-ayq8dskd.js → chunk-nhfbnqdr.js} +2 -2
  75. package/bin/{chunk-5qkwpy8c.js → chunk-nr80mrry.js} +2 -2
  76. package/bin/{chunk-4f5pnnah.js → chunk-ns8whqp6.js} +30 -30
  77. package/bin/{chunk-p5fwjk5c.js → chunk-nz16584e.js} +1 -1
  78. package/bin/{chunk-yr03tf5r.js → chunk-p46em0kf.js} +3 -3
  79. package/bin/{chunk-gf4n4ahk.js → chunk-p4nbgn3v.js} +1 -1
  80. package/bin/chunk-p7j6zgdg.js +2 -0
  81. package/bin/chunk-pbyp1xnb.js +2 -0
  82. package/bin/{chunk-r55htzxr.js → chunk-pw81eh3g.js} +2 -2
  83. package/bin/{chunk-rkafv27g.js → chunk-q6k1ctph.js} +2 -2
  84. package/bin/{chunk-fhazy8f9.js → chunk-qa7pphr5.js} +1 -1
  85. package/bin/chunk-qah2r4xa.js +2 -0
  86. package/bin/chunk-r4w1e3bd.js +2 -0
  87. package/bin/{chunk-6kdf411z.js → chunk-rbh4w2v2.js} +1 -1
  88. package/bin/{chunk-3p1bb08a.js → chunk-rd5ek2sk.js} +2 -2
  89. package/bin/{chunk-8ystwvdt.js → chunk-rv15x8aw.js} +2 -2
  90. package/bin/{chunk-b0rjvx5g.js → chunk-ryvq9pbw.js} +2 -2
  91. package/bin/{chunk-4a88wwg2.js → chunk-s9whhdb3.js} +2 -2
  92. package/bin/{chunk-ycw3rwhx.js → chunk-sby10fz6.js} +3 -3
  93. package/bin/{chunk-q45n02fs.js → chunk-sedbz4km.js} +1 -1
  94. package/bin/{chunk-ccvjwhqq.js → chunk-sfwmwrq3.js} +1 -1
  95. package/bin/{chunk-zmjtv19e.js → chunk-sg8hjkyg.js} +1 -1
  96. package/bin/{chunk-3r5yc5wm.js → chunk-snedd3at.js} +6 -6
  97. package/bin/{chunk-an6nsq1t.js → chunk-spm13ndr.js} +2 -2
  98. package/bin/chunk-ss1jchgx.js +1 -0
  99. package/bin/{chunk-rdscv38p.js → chunk-szjkmkwc.js} +1 -1
  100. package/bin/chunk-t0nktwrm.js +1 -0
  101. package/bin/{chunk-1ntn42d2.js → chunk-t9eb2mdq.js} +3 -3
  102. package/bin/{chunk-njqf50vw.js → chunk-tcyp8qtg.js} +2 -2
  103. package/bin/{chunk-nn5hyf6f.js → chunk-tefct00a.js} +1 -1
  104. package/bin/{chunk-xca338dw.js → chunk-thzf89fp.js} +3 -3
  105. package/bin/{chunk-pcspeqwq.js → chunk-tnv4ggx2.js} +4 -4
  106. package/bin/chunk-tptgxbqa.js +2 -0
  107. package/bin/{chunk-xzyfnfck.js → chunk-v2901ff5.js} +8 -8
  108. package/bin/{chunk-vx66rms0.js → chunk-v2vdm22x.js} +1 -1
  109. package/bin/{chunk-5rk7dyx9.js → chunk-v8ngtwzx.js} +53 -53
  110. package/bin/chunk-xex9v0rn.js +2 -0
  111. package/bin/chunk-xs2w45vp.js +1 -0
  112. package/bin/{chunk-s41mgkse.js → chunk-xw7jea6g.js} +1 -1
  113. package/bin/chunk-xza8wate.js +2 -0
  114. package/bin/{chunk-pa1fmskf.js → chunk-yet4fnab.js} +1 -1
  115. package/bin/{chunk-ny7qjn6s.js → chunk-yfjyjjpz.js} +1 -1
  116. package/bin/{chunk-5vvvgjvz.js → chunk-ytffpk7c.js} +2 -2
  117. package/bin/{chunk-kq2qbwx1.js → chunk-yyj21k15.js} +1 -1
  118. package/bin/{chunk-5v4s2kp4.js → chunk-zhtc1j3r.js} +1 -1
  119. package/bin/{chunk-8gna37dd.js → chunk-zpk482rb.js} +2 -2
  120. package/bin/{chunk-zcdqsp1e.js → chunk-zy32pf0s.js} +1 -1
  121. package/bin/shumai-app.html +1 -1
  122. package/bin/shumai-app.js +562 -317
  123. package/package.json +7 -7
  124. package/prisma/migrations/20260927092537_add_notification_email_status/migration.sql +11 -0
  125. package/prisma/schema.prisma +10 -0
  126. package/bin/chunk-0xsgx9ep.js +0 -1
  127. package/bin/chunk-1ajgdv26.js +0 -1
  128. package/bin/chunk-30dsxm8s.js +0 -1
  129. package/bin/chunk-3b6h719s.js +0 -3
  130. package/bin/chunk-3m5kwcj7.js +0 -2
  131. package/bin/chunk-58e1a3re.js +0 -2
  132. package/bin/chunk-6ksrrayx.css +0 -1
  133. package/bin/chunk-bgm76rzj.js +0 -1
  134. package/bin/chunk-btmxr226.js +0 -1
  135. package/bin/chunk-ee3mrvqp.js +0 -2
  136. package/bin/chunk-fg6zf2gb.js +0 -2
  137. package/bin/chunk-fk712d68.js +0 -2
  138. package/bin/chunk-g9gmht89.js +0 -2
  139. package/bin/chunk-htpjtarr.js +0 -2
  140. package/bin/chunk-j547gtag.js +0 -2
  141. package/bin/chunk-jf4kcad0.js +0 -1
  142. package/bin/chunk-jt04mf5s.js +0 -2
  143. package/bin/chunk-k5hnrtrt.js +0 -1
  144. package/bin/chunk-q6jsw0rr.js +0 -211
  145. package/bin/chunk-qjzyze00.js +0 -1
  146. package/bin/chunk-rfhmk32e.js +0 -1
  147. package/bin/chunk-rkqpnyzx.js +0 -2
  148. package/bin/chunk-xbge27m4.js +0 -1
  149. package/bin/chunk-xcsz1wp7.js +0 -1
  150. package/bin/chunk-zb0az2tq.js +0 -2
  151. package/bin/chunk-zej27b5c.js +0 -2
@@ -0,0 +1,211 @@
1
+ import{z,w,Me,ym,vm}from"./chunk-jxfz4h24.js";var V={};vm(V,{Activity:()=>tK,Children:()=>Jl,Component:()=>Rs,Fragment:()=>Cn,Profiler:()=>rK,PureComponent:()=>oK,StrictMode:()=>A3,Suspense:()=>ai,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:()=>Vi,__COMPILER_RUNTIME:()=>aK,cache:()=>nK,cacheSignal:()=>iK,cloneElement:()=>Tu,createContext:()=>it,createElement:()=>q,createRef:()=>fK,forwardRef:()=>O,isValidElement:()=>ts,lazy:()=>sK,memo:()=>Bn,startTransition:()=>jL,unstable_useCacheRefresh:()=>lK,use:()=>Sa,useActionState:()=>cK,useCallback:()=>D,useContext:()=>dt,useDebugValue:()=>li,useDeferredValue:()=>uK,useEffect:()=>h,useEffectEvent:()=>dK,useId:()=>Bu,useImperativeHandle:()=>dn,useInsertionEffect:()=>MO,useLayoutEffect:()=>$e,useMemo:()=>P,useOptimistic:()=>ZK,useReducer:()=>en,useRef:()=>b,useState:()=>u,useSyncExternalStore:()=>Yn,useTransition:()=>pK,version:()=>Ns},{Activity:(SIt)=>tK=SIt,Children:(SIt)=>Jl=SIt,Component:(SIt)=>Rs=SIt,Fragment:(SIt)=>Cn=SIt,Profiler:(SIt)=>rK=SIt,PureComponent:(SIt)=>oK=SIt,StrictMode:(SIt)=>A3=SIt,Suspense:(SIt)=>ai=SIt,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:(SIt)=>Vi=SIt,__COMPILER_RUNTIME:(SIt)=>aK=SIt,cache:(SIt)=>nK=SIt,cacheSignal:(SIt)=>iK=SIt,cloneElement:(SIt)=>Tu=SIt,createContext:(SIt)=>it=SIt,createElement:(SIt)=>q=SIt,createRef:(SIt)=>fK=SIt,forwardRef:(SIt)=>O=SIt,isValidElement:(SIt)=>ts=SIt,lazy:(SIt)=>sK=SIt,memo:(SIt)=>Bn=SIt,startTransition:(SIt)=>jL=SIt,unstable_useCacheRefresh:(SIt)=>lK=SIt,use:(SIt)=>Sa=SIt,useActionState:(SIt)=>cK=SIt,useCallback:(SIt)=>D=SIt,useContext:(SIt)=>dt=SIt,useDebugValue:(SIt)=>li=SIt,useDeferredValue:(SIt)=>uK=SIt,useEffect:(SIt)=>h=SIt,useEffectEvent:(SIt)=>dK=SIt,useId:(SIt)=>Bu=SIt,useImperativeHandle:(SIt)=>dn=SIt,useInsertionEffect:(SIt)=>MO=SIt,useLayoutEffect:(SIt)=>$e=SIt,useMemo:(SIt)=>P=SIt,useOptimistic:(SIt)=>ZK=SIt,useReducer:(SIt)=>en=SIt,useRef:(SIt)=>b=SIt,useState:(SIt)=>u=SIt,useSyncExternalStore:(SIt)=>Yn=SIt,useTransition:(SIt)=>pK=SIt,version:(SIt)=>Ns=SIt});function Cye(e){if(e===null||typeof e!=="object")return null;return e=HG&&e[HG]||e["@@iterator"],typeof e==="function"?e:null}function OL(e,r,a){this.props=e,this.context=r,this.refs=JG,this.updater=a||XG}function $G(){}function I3(e,r,a){this.props=e,this.context=r,this.refs=JG,this.updater=a||XG}function k3(){}function P3(e,r,a){var i=a.ref;return{$$typeof:C3,type:e,key:r,ref:i!==void 0?i:null,props:a}}function Iye(e,r){return P3(e.type,r,e.props)}function T3(e){return typeof e==="object"&&e!==null&&e.$$typeof===C3}function Rye(e){var r={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return r[a]})}function L3(e,r){return typeof e==="object"&&e!==null&&e.key!=null?Rye(""+e.key):r.toString(36)}function Pye(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status==="string"?e.then(k3,k3):(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 DL(e,r,a,i,s){var l=typeof e;if(l==="undefined"||l==="boolean")e=null;var c=!1;if(e===null)c=!0;else switch(l){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case C3:case vye:c=!0;break;case KG:return c=e._init,DL(c(e._payload),r,a,i,s)}}if(c)return s=s(e),c=i===""?"."+L3(e,0):i,VG(s)?(a="",c!=null&&(a=c.replace(WG,"$&/")+"/"),DL(s,r,a,"",function(g){return g})):s!=null&&(T3(s)&&(s=Iye(s,a+(s.key==null||e&&e.key===s.key?"":(""+s.key).replace(WG,"$&/")+"/")+c)),r.push(s)),1;c=0;var d=i===""?".":i+":";if(VG(e))for(var m=0;m<e.length;m++)i=e[m],l=d+L3(i,m),c+=DL(i,r,a,l,s);else if(m=Cye(e),typeof m==="function")for(e=m.call(e),m=0;!(i=e.next()).done;)i=i.value,l=d+L3(i,m++),c+=DL(i,r,a,l,s);else if(l==="object"){if(typeof e.then==="function")return DL(Pye(e),r,a,i,s);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 c}function gO(e,r,a){if(e==null)return e;var i=[],s=0;return DL(e,i,"","",function(l){return r.call(a,l,s++)}),i}function Tye(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 C3,vye,xye,yye,bye,_ye,wye,zye,Sye,Lye,KG,kye,HG,XG,QG,JG,R3,VG,Ha,eK,WG,GG,Aye,tK,Jl,Rs,Cn,rK,oK,A3,ai,Vi,aK,nK=function(e){return function(){return e.apply(null,arguments)}},iK=function(){return null},Tu=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=QG({},e.props),s=e.key;if(r!=null)for(l in r.key!==void 0&&(s=""+r.key),r)!eK.call(r,l)||l==="key"||l==="__self"||l==="__source"||l==="ref"&&r.ref===void 0||(i[l]=r[l]);var l=arguments.length-2;if(l===1)i.children=a;else if(1<l){for(var c=Array(l),d=0;d<l;d++)c[d]=arguments[d+2];i.children=c}return P3(e.type,s,i)},it=function(e){return e={$$typeof:wye,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:_ye,_context:e},e},q=function(e,r,a){var i,s={},l=null;if(r!=null)for(i in r.key!==void 0&&(l=""+r.key),r)eK.call(r,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(s[i]=r[i]);var c=arguments.length-2;if(c===1)s.children=a;else if(1<c){for(var d=Array(c),m=0;m<c;m++)d[m]=arguments[m+2];s.children=d}if(e&&e.defaultProps)for(i in c=e.defaultProps,c)s[i]===void 0&&(s[i]=c[i]);return P3(e,l,s)},fK=function(){return{current:null}},O=function(e){return{$$typeof:zye,render:e}},ts,sK=function(e){return{$$typeof:KG,_payload:{_status:-1,_result:e},_init:Tye}},Bn=function(e,r){return{$$typeof:Lye,type:e,compare:r===void 0?null:r}},jL=function(e){var r=Ha.T,a={};Ha.T=a;try{var i=e(),s=Ha.S;s!==null&&s(a,i),typeof i==="object"&&i!==null&&typeof i.then==="function"&&i.then(k3,GG)}catch(l){GG(l)}finally{r!==null&&a.types!==null&&(r.types=a.types),Ha.T=r}},lK=function(){return Ha.H.useCacheRefresh()},Sa=function(e){return Ha.H.use(e)},cK=function(e,r,a){return Ha.H.useActionState(e,r,a)},D=function(e,r){return Ha.H.useCallback(e,r)},dt=function(e){return Ha.H.useContext(e)},li=function(){},uK=function(e,r){return Ha.H.useDeferredValue(e,r)},h=function(e,r){return Ha.H.useEffect(e,r)},dK=function(e){return Ha.H.useEffectEvent(e)},Bu=function(){return Ha.H.useId()},dn=function(e,r,a){return Ha.H.useImperativeHandle(e,r,a)},MO=function(e,r){return Ha.H.useInsertionEffect(e,r)},$e=function(e,r){return Ha.H.useLayoutEffect(e,r)},P=function(e,r){return Ha.H.useMemo(e,r)},ZK=function(e,r){return Ha.H.useOptimistic(e,r)},en=function(e,r,a){return Ha.H.useReducer(e,r,a)},b=function(e){return Ha.H.useRef(e)},u=function(e){return Ha.H.useState(e)},Yn=function(e,r,a){return Ha.H.useSyncExternalStore(e,r,a)},pK=function(){return Ha.H.useTransition()},Ns="19.2.8";var S=ym(()=>{C3=Symbol.for("react.transitional.element"),vye=Symbol.for("react.portal"),xye=Symbol.for("react.fragment"),yye=Symbol.for("react.strict_mode"),bye=Symbol.for("react.profiler"),_ye=Symbol.for("react.consumer"),wye=Symbol.for("react.context"),zye=Symbol.for("react.forward_ref"),Sye=Symbol.for("react.suspense"),Lye=Symbol.for("react.memo"),KG=Symbol.for("react.lazy"),kye=Symbol.for("react.activity"),HG=Symbol.iterator;XG={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},QG=Object.assign,JG={};OL.prototype.isReactComponent={};OL.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")};OL.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};$G.prototype=OL.prototype;R3=I3.prototype=new $G;R3.constructor=I3;QG(R3,OL.prototype);R3.isPureReactComponent=!0;VG=Array.isArray;Ha={H:null,A:null,T:null,S:null},eK=Object.prototype.hasOwnProperty;WG=/\/+/g;GG=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)},Aye={map:gO,forEach:function(e,r,a){gO(e,function(){r.apply(this,arguments)},a)},count:function(e){var r=0;return gO(e,function(){r++}),r},toArray:function(e){return gO(e,function(r){return r})||[]},only:function(e){if(!T3(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};tK=kye,Jl=Aye,Rs=OL,Cn=xye,rK=bye,oK=I3,A3=yye,ai=Sye,Vi=Ha,aK={__proto__:null,c:function(e){return Ha.H.useMemoCache(e)}},ts=T3});var TX=w(function(Abe){S();function zbe(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Sbe=typeof Object.is==="function"?Object.is:zbe,Lbe=u,kbe=h,Cbe=$e,Ibe=li;function Rbe(e,r){var a=r(),i=Lbe({inst:{value:a,getSnapshot:r}}),s=i[0].inst,l=i[1];return Cbe(function(){s.value=a,s.getSnapshot=r,x6(s)&&l({inst:s})},[e,a,r]),kbe(function(){return x6(s)&&l({inst:s}),e(function(){x6(s)&&l({inst:s})})},[e]),Ibe(a),a}function x6(e){var r=e.getSnapshot;e=e.value;try{var a=r();return!Sbe(e,a)}catch(i){return!0}}function Pbe(e,r){return r()}var Tbe=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Pbe:Rbe;Abe.useSyncExternalStore=Yn!==void 0?Yn:Tbe});var rz={};vm(rz,{unstable_now:()=>Jn,unstable_IdlePriority:()=>Wi,unstable_ImmediatePriority:()=>cl,unstable_LowPriority:()=>rj,unstable_NormalPriority:()=>Ps,unstable_Profiling:()=>ZQ,unstable_UserBlockingPriority:()=>ul,unstable_cancelCallback:()=>dl,unstable_forceFrameRate:()=>pQ,unstable_getCurrentPriorityLevel:()=>oj,unstable_next:()=>mQ,unstable_requestPaint:()=>fl,unstable_runWithPriority:()=>Vu,unstable_scheduleCallback:()=>Ds,unstable_shouldYield:()=>pl,unstable_wrapCallback:()=>hQ},{unstable_now:(Njt)=>Jn=Njt,unstable_IdlePriority:(Njt)=>Wi=Njt,unstable_ImmediatePriority:(Njt)=>cl=Njt,unstable_LowPriority:(Njt)=>rj=Njt,unstable_NormalPriority:(Njt)=>Ps=Njt,unstable_Profiling:(Njt)=>ZQ=Njt,unstable_UserBlockingPriority:(Njt)=>ul=Njt,unstable_cancelCallback:(Njt)=>dl=Njt,unstable_forceFrameRate:(Njt)=>pQ=Njt,unstable_getCurrentPriorityLevel:(Njt)=>oj=Njt,unstable_next:(Njt)=>mQ=Njt,unstable_requestPaint:(Njt)=>fl=Njt,unstable_runWithPriority:(Njt)=>Vu=Njt,unstable_scheduleCallback:(Njt)=>Ds=Njt,unstable_shouldYield:(Njt)=>pl=Njt,unstable_wrapCallback:(Njt)=>hQ=Njt});function I6(e,r){var a=e.length;e.push(r);e:for(;0<a;){var i=a-1>>>1,s=e[i];if(0<QO(s,r))e[i]=r,e[a]=s,a=i;else break e}}function Nu(e){return e.length===0?null:e[0]}function tj(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,s=e.length,l=s>>>1;i<l;){var c=2*(i+1)-1,d=e[c],m=c+1,g=e[m];if(0>QO(d,a))m<s&&0>QO(g,d)?(e[i]=g,e[m]=a,i=m):(e[i]=d,e[c]=a,i=c);else if(m<s&&0>QO(g,a))e[i]=g,e[m]=a,i=m;else break e}}return r}function QO(e,r){var a=e.sortIndex-r.sortIndex;return a!==0?a:e.id-r.id}function $O(e){for(var r=Nu(RM);r!==null;){if(r.callback===null)tj(RM);else if(r.startTime<=e)tj(RM),r.sortIndex=r.expirationTime,I6(kZ,r);else break;r=Nu(RM)}}function D6(e){if(CP=!1,$O(e),!kP)if(Nu(kZ)!==null)kP=!0,rk||(rk=!0,tk());else{var r=Nu(RM);r!==null&&O6(D6,r.startTime-e)}}function dQ(){return E6?!0:rz.unstable_now()-uQ<cQ?!1:!0}function C6(){if(E6=!1,rk){var e=rz.unstable_now();uQ=e;var r=!0;try{e:{kP=!1,CP&&(CP=!1,lQ(IP),IP=-1),T6=!0;var a=df;try{t:{$O(e);for(ec=Nu(kZ);ec!==null&&!(ec.expirationTime>e&&dQ());){var i=ec.callback;if(typeof i==="function"){ec.callback=null,df=ec.priorityLevel;var s=i(ec.expirationTime<=e);if(e=rz.unstable_now(),typeof s==="function"){ec.callback=s,$O(e),r=!0;break t}ec===Nu(kZ)&&tj(kZ),$O(e)}else tj(kZ);ec=Nu(kZ)}if(ec!==null)r=!0;else{var l=Nu(RM);l!==null&&O6(D6,l.startTime-e),r=!1}}break e}finally{ec=null,df=a,T6=!1}r=void 0}}finally{r?tk():rk=!1}}}function O6(e,r){IP=sQ(function(){e(rz.unstable_now())},r)}var Jn=void 0,R6,JO,P6,kZ,RM,t_e=1,ec=null,df=3,T6=!1,kP=!1,CP=!1,E6=!1,sQ,lQ,fQ,rk=!1,IP=-1,cQ=5,uQ=-1,tk,ej,A6,Wi=5,cl=1,rj=4,Ps=3,ZQ=null,ul=2,dl=function(e){e.callback=null},pQ=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"):cQ=0<e?Math.floor(1000/e):5},oj=function(){return df},mQ=function(e){switch(df){case 1:case 2:case 3:var r=3;break;default:r=df}var a=df;df=r;try{return e()}finally{df=a}},fl=function(){E6=!0},Vu=function(e,r){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=df;df=e;try{return r()}finally{df=a}},Ds=function(e,r,a){var i=rz.unstable_now();switch(typeof a==="object"&&a!==null?(a=a.delay,a=typeof a==="number"&&0<a?i+a:i):a=i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5000}return s=a+s,e={id:t_e++,callback:r,priorityLevel:e,startTime:a,expirationTime:s,sortIndex:-1},a>i?(e.sortIndex=a,I6(RM,e),Nu(kZ)===null&&e===Nu(RM)&&(CP?(lQ(IP),IP=-1):CP=!0,O6(D6,a-i))):(e.sortIndex=s,I6(kZ,e),kP||T6||(kP=!0,rk||(rk=!0,tk()))),e},pl,hQ=function(e){var r=df;return function(){var a=df;df=r;try{return e.apply(this,arguments)}finally{df=a}}};var Qu=ym(()=>{if(typeof performance==="object"&&typeof performance.now==="function")R6=performance,Jn=function(){return R6.now()};else JO=Date,P6=JO.now(),Jn=function(){return JO.now()-P6};kZ=[],RM=[],sQ=typeof setTimeout==="function"?setTimeout:null,lQ=typeof clearTimeout==="function"?clearTimeout:null,fQ=typeof setImmediate<"u"?setImmediate:null;if(typeof fQ==="function")tk=function(){fQ(C6)};else if(typeof MessageChannel<"u")ej=new MessageChannel,A6=ej.port2,ej.port1.onmessage=C6,tk=function(){A6.postMessage(null)};else tk=function(){sQ(C6,0)};pl=dQ});var eve=w(function(hEn,$Me){var KMe=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,sSt=/\n/g,lSt=/^\s*/,cSt=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,uSt=/^:\s*/,dSt=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,ZSt=/^[;\s]*/,pSt=/^\s+|\s+$/g,mSt=`
2
+ `,XMe="/",QMe="*",LL="",hSt="comment",gSt="declaration";function MSt(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 s(_){var j=_.match(sSt);if(j)a+=j.length;var U=_.lastIndexOf(mSt);i=~U?_.length-U:i+_.length}function l(){var _={line:a,column:i};return function(j){return j.position=new c(_),g(),j}}function c(_){this.start=_,this.end={line:a,column:i},this.source=r.source}c.prototype.content=e;function d(_){var j=Error(r.source+":"+a+":"+i+": "+_);if(j.reason=_,j.filename=r.source,j.line=a,j.column=i,j.source=e,r.silent);else throw j}function m(_){var j=_.exec(e);if(!j)return;var U=j[0];return s(U),e=e.slice(U.length),j}function g(){m(lSt)}function M(_){var j;_=_||[];while(j=v())if(j!==!1)_.push(j);return _}function v(){var _=l();if(XMe!=e.charAt(0)||QMe!=e.charAt(1))return;var j=2;while(LL!=e.charAt(j)&&(QMe!=e.charAt(j)||XMe!=e.charAt(j+1)))++j;if(j+=2,LL===e.charAt(j-1))return d("End of comment missing");var U=e.slice(2,j-2);return i+=2,s(U),e=e.slice(j),i+=2,_({type:hSt,comment:U})}function y(){var _=l(),j=m(cSt);if(!j)return;if(v(),!m(uSt))return d("property missing ':'");var U=m(dSt),T=_({type:gSt,property:JMe(j[0].replace(KMe,LL)),value:U?JMe(U[0].replace(KMe,LL)):LL});return m(ZSt),T}function x(){var _=[];M(_);var j;while(j=y())if(j!==!1)_.push(j),M(_);return _}return g(),x()}function JMe(e){return e?e.replace(pSt,LL):LL}$Me.exports=MSt});var tve=w(function(WD){var vSt=WD&&WD.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(WD,"__esModule",{value:!0});WD.default=ySt;var xSt=vSt(eve());function ySt(e,r){let a=null;if(!e||typeof e!=="string")return a;let i=(0,xSt.default)(e),s=typeof r==="function";return i.forEach((l)=>{if(l.type!=="declaration")return;let{property:c,value:d}=l;if(s)r(c,d,l);else if(d)a=a||{},a[c]=d}),a}});var nve=w(function(ove){Object.defineProperty(ove,"__esModule",{value:!0});ove.camelCase=void 0;var bSt=/^--[a-zA-Z0-9_-]+$/,_St=/-([a-z])/g,wSt=/^[^-]+$/,zSt=/^-(webkit|moz|ms|o|khtml)-/,SSt=/^-(ms)-/,LSt=function(e){return!e||wSt.test(e)||bSt.test(e)},kSt=function(e,r){return r.toUpperCase()},rve=function(e,r){return"".concat(r,"-")},CSt=function(e,r){if(r===void 0)r={};if(LSt(e))return e;if(e=e.toLowerCase(),r.reactCompat)e=e.replace(SSt,rve);else e=e.replace(zSt,rve);return e.replace(_St,kSt)};ove.camelCase=CSt});var fve=w(function(CW,ive){var ISt=CW&&CW.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},RSt=ISt(tve()),PSt=nve();function kW(e,r){var a={};if(!e||typeof e!=="string")return a;return(0,RSt.default)(e,function(i,s){if(i&&s)a[(0,PSt.camelCase)(i,r)]=s}),a}kW.default=kW;ive.exports=kW});var P8e=w(function(i4n,R8e){var QF=Object.prototype.hasOwnProperty,I8e=Object.prototype.toString,{defineProperty:w8e,getOwnPropertyDescriptor:z8e}=Object,S8e=function(r){if(typeof Array.isArray==="function")return Array.isArray(r);return I8e.call(r)==="[object Array]"},L8e=function(r){if(!r||I8e.call(r)!=="[object Object]")return!1;var a=QF.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&QF.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!a&&!i)return!1;var s;for(s in r);return typeof s>"u"||QF.call(r,s)},k8e=function(r,a){if(w8e&&a.name==="__proto__")w8e(r,a.name,{enumerable:!0,configurable:!0,value:a.newValue,writable:!0});else r[a.name]=a.newValue},C8e=function(r,a){if(a==="__proto__"){if(!QF.call(r,a))return;else if(z8e)return z8e(r,a).value}return r[a]};R8e.exports=function e(){var r,a,i,s,l,c,d=arguments[0],m=1,g=arguments.length,M=!1;if(typeof d==="boolean")M=d,d=arguments[1]||{},m=2;if(d==null||typeof d!=="object"&&typeof d!=="function")d={};for(;m<g;++m)if(r=arguments[m],r!=null){for(a in r)if(i=C8e(d,a),s=C8e(r,a),d!==s){if(M&&s&&(L8e(s)||(l=S8e(s)))){if(l)l=!1,c=i&&S8e(i)?i:[];else c=i&&L8e(i)?i:{};k8e(d,{name:a,newValue:e(M,c,s)})}else if(typeof s<"u")k8e(d,{name:a,newValue:s})}}return d}});S();var Eye=Symbol.for("react.transitional.element"),Dye=Symbol.for("react.fragment");function mK(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 s in r)s!=="key"&&(a[s]=r[s])}else a=r;return r=a.ref,{$$typeof:Eye,type:e,key:i,ref:r!==void 0?r:null,props:a}}var L=Dye,t=mK,o=mK;var E3=it(void 0),Q=(e)=>{let r=dt(E3);if(e)return e;if(!r)throw Error("No QueryClient set, use QueryClientProvider to set one");return r},D3=({client:e,children:r})=>(h(()=>(e.mount(),()=>{e.unmount()}),[e]),t(E3.Provider,{value:e,children:r}));S();var hK=it(!1),Uu=()=>dt(hK),IIt=hK.Provider;S();function Oye(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var jye=it(Oye()),zu=()=>dt(jye);S();var Nye={setTimeout:(e,r)=>setTimeout(e,r),clearTimeout:(e)=>clearTimeout(e),setInterval:(e,r)=>setInterval(e,r),clearInterval:(e)=>clearInterval(e)},Fye=class{#e=Nye;#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)}},Au=new Fye;function gK(e){setTimeout(e,0)}var j3=typeof window>"u"||"Deno"in globalThis;function _r(){}function xK(e,r){return typeof e==="function"?e(r):e}function vO(e){return typeof e==="number"&&e>=0&&e!==1/0}function xO(e,r){return Math.max(e+(r||0)-Date.now(),0)}function Va(e,r){return typeof e==="function"?e(r):e}function yO(e,r){let{type:a="all",exact:i,fetchStatus:s,predicate:l,queryKey:c,stale:d}=e;if(c){if(i){if(r.queryHash!==pP(c,r.options))return!1}else if(!hM(r.queryKey,c))return!1}if(a!=="all"){let m=r.isActive();if(a==="active"&&!m)return!1;if(a==="inactive"&&m)return!1}if(typeof d==="boolean"&&r.isStale()!==d)return!1;if(s&&s!==r.state.fetchStatus)return!1;if(l&&!l(r))return!1;return!0}function bO(e,r){let{exact:a,status:i,predicate:s,mutationKey:l}=e;if(l){if(!r.options.mutationKey)return!1;if(a){if(Eu(r.options.mutationKey)!==Eu(l))return!1}else if(!hM(r.options.mutationKey,l))return!1}if(i&&r.state.status!==i)return!1;if(s&&!s(r))return!1;return!0}function pP(e,r){return(r?.queryKeyHashFn||Eu)(e)}function Eu(e){return JSON.stringify(e,(r,a)=>O3(a)?Object.keys(a).sort().reduce((i,s)=>(i[s]=a[s],i),{}):a)}function hM(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(!hM(e[i],r[i]))return!1;return!0}let a=Object.keys(r);for(let i of a)if(!hM(e[i],r[i]))return!1;return!0}return!1}var Bye=Object.prototype.hasOwnProperty;function Cc(e,r,a=0){if(e===r)return e;if(a>500)return r;let i=MK(e)&&MK(r);if(!i&&!(O3(e)&&O3(r)))return r;let s=(i?e:Object.keys(e)).length,l=i?r:Object.keys(r),c=l.length,d=i?Array(c):{},m=0;for(let g=0;g<c;g++){let M=i?g:l[g],v=e[M],y=r[M];if(v===y){if(d[M]=v,i?g<s:Bye.call(e,M))m++;continue}if(v===null||y===null||typeof v!=="object"||typeof y!=="object"){d[M]=y;continue}let x=Cc(v,y,a+1);if(d[M]=x,x===v)m++}return s===c&&m===s?e:d}function Qi(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 MK(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function O3(e){if(!vK(e))return!1;let r=e.constructor;if(r===void 0)return!0;let a=r.prototype;if(!vK(a))return!1;if(!a.hasOwnProperty("isPrototypeOf"))return!1;if(Object.getPrototypeOf(e)!==Object.prototype)return!1;return!0}function vK(e){return Object.prototype.toString.call(e)==="[object Object]"}function yK(e){return new Promise((r)=>{Au.setTimeout(r,e)})}function mP(e,r,a){if(typeof a.structuralSharing==="function")return a.structuralSharing(e,r);else if(a.structuralSharing!==!1)return Cc(e,r);return r}function Ea(e){return e}function bK(e,r,a=0){let i=[...e,r];return a&&i.length>a?i.slice(1):i}function _K(e,r,a=0){let i=[r,...e];return a&&i.length>a?i.slice(0,-1):i}var NL=Symbol();function _O(e,r){if(!e.queryFn&&r?.initialPromise)return()=>r.initialPromise;if(!e.queryFn||e.queryFn===NL)return()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`));return e.queryFn}function FL(e,r){if(typeof e==="function")return e(...r);return!!e}function wK(e,r,a){let i=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(s??=r(),i)return s;if(i=!0,s.aborted)a();else s.addEventListener("abort",a,{once:!0});return s}}),e}var Yye=()=>j3,BL=()=>Yye();var bo=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};var Uye=class extends bo{#e;#t;#r;constructor(){super();this.#r=(e)=>{if(typeof window<"u"&&window.addEventListener){let r=()=>e();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}}}onSubscribe(){if(!this.#t)this.setEventListener(this.#r)}onUnsubscribe(){if(!this.hasListeners())this.#t?.(),this.#t=void 0}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e((r)=>{if(typeof r==="boolean")this.setFocused(r);else this.onFocus()})}setFocused(e){if(this.#e!==e)this.#e=e,this.onFocus()}onFocus(){let e=this.isFocused();this.listeners.forEach((r)=>{r(e)})}isFocused(){if(typeof this.#e==="boolean")return this.#e;return globalThis.document?.visibilityState!=="hidden"}},YL=new Uye;var zK=gK;function qye(){let e=[],r=0,a=(d)=>{d()},i=(d)=>{d()},s=zK,l=(d)=>{if(r)e.push(d);else s(()=>{a(d)})},c=()=>{let d=e;if(e=[],d.length)s(()=>{i(()=>{d.forEach((m)=>{a(m)})})})};return{batch:(d)=>{let m;r++;try{m=d()}finally{if(r--,!r)c()}return m},batchCalls:(d)=>(...m)=>{l(()=>{d(...m)})},schedule:l,setNotifyFunction:(d)=>{a=d},setBatchNotifyFunction:(d)=>{i=d},setScheduler:(d)=>{s=d}}}var Ht=qye();var Hye=class extends bo{#e=!0;#t;#r;constructor(){super();this.#r=(e)=>{if(typeof window<"u"&&window.addEventListener){let r=()=>e(!0),a=()=>e(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",a)}}}}onSubscribe(){if(!this.#t)this.setEventListener(this.#r)}onUnsubscribe(){if(!this.hasListeners())this.#t?.(),this.#t=void 0}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){if(this.#e!==e)this.#e=e,this.listeners.forEach((r)=>{r(e)})}isOnline(){return this.#e}},UL=new Hye;function Vye(e){return Math.min(1000*2**e,30000)}function N3(e){return(e??"online")==="online"?UL.isOnline():!0}var wO=class extends Error{constructor(e){super("CancelledError");this.revert=e?.revert,this.silent=e?.silent}};function zO(e){let r=!1,a=0,i,s="pending",l,c,d=new Promise((N,G)=>{l=N,c=G});d.catch(_r);let m=()=>s!=="pending",g=(N)=>{if(!m()){let G=new wO(N);j(G),e.onCancel?.(G)}},M=()=>{r=!0},v=()=>{r=!1},y=()=>YL.isFocused()&&(e.networkMode==="always"||UL.isOnline())&&e.canRun(),x=()=>N3(e.networkMode)&&e.canRun(),_=(N)=>{if(!m())i?.(),s="resolved",l(N)},j=(N)=>{if(!m())i?.(),s="rejected",c(N)},U=()=>new Promise((N)=>{i=(G)=>{if(m()||y())N(G)},e.onPause?.()}).then(()=>{if(i=void 0,!m())e.onContinue?.()}),T=()=>{if(m())return;let N,G=a===0?e.initialPromise:void 0;try{N=G??e.fn()}catch(X){N=Promise.reject(X)}Promise.resolve(N).then(_).catch((X)=>{if(m())return;let J=e.retry??(BL()?0:3),ee=e.retryDelay??Vye,re=typeof ee==="function"?ee(a,X):ee,oe=J===!0||typeof J==="number"&&a<J||typeof J==="function"&&J(a,X);if(r||!oe){j(X);return}a++,e.onFail?.(a,X),yK(re).then(()=>y()?void 0:U()).then(()=>{if(r)j(X);else T()})})};return{promise:d,status:()=>s,cancel:g,continue:()=>(i?.(),d),cancelRetry:M,continueRetry:v,canStart:x,start:()=>{if(x())T();else U().then(T);return d}}}var SO=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){if(this.clearGcTimeout(),vO(this.gcTime))this.#e=Au.setTimeout(()=>{this.optionalRemove()},this.gcTime)}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(BL()?1/0:300000))}clearGcTimeout(){if(this.#e!==void 0)Au.clearTimeout(this.#e),this.#e=void 0}};function SK(e){return{onFetch:(r,a)=>{let i=r.options,s=r.fetchOptions?.meta?.fetchMore?.direction,l=r.state.data?.pages||[],c=r.state.data?.pageParams||[],d={pages:[],pageParams:[]},m=0,g=async()=>{let M=!1,v=(_)=>{wK(_,()=>r.signal,()=>M=!0)},y=_O(r.options,r.fetchOptions),x=async(_,j,U)=>{if(M)return Promise.reject(r.signal.reason);if(j==null&&_.pages.length)return Promise.resolve(_);let N=(()=>{let ee={client:r.client,queryKey:r.queryKey,pageParam:j,direction:U?"backward":"forward",meta:r.options.meta};return v(ee),ee})(),G=await y(N),{maxPages:X}=r.options,J=U?_K:bK;return{pages:J(_.pages,G,X),pageParams:J(_.pageParams,j,X)}};if(s&&l.length){let _=s==="backward",j=_?LK:F3,U={pages:l,pageParams:c};d=await x(U,j(i,U),_)}else{let _=e??l.length;do{let j=m===0?c[0]??i.initialPageParam:F3(i,d);if(m>0&&j==null)break;d=await x(d,j),m++}while(m<_)}return d};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 F3(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 LK(e,{pages:r,pageParams:a}){return r.length>0?e.getPreviousPageParam?.(r[0],r,a[0],a):void 0}function kK(e,r){if(!r)return!1;return F3(e,r)!=null}function CK(e,r){if(!r||!e.getPreviousPageParam)return!1;return LK(e,r)!=null}var PK=class extends SO{#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=RK(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=RK(this.options);if(r.data!==void 0)this.setState(IK(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=mP(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(_r).catch(_r):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)=>Va(e.options.enabled,this)!==!1)}isDisabled(){if(this.getObserversCount()>0)return!this.isActive();return this.options.queryFn===NL||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){if(this.getObserversCount()>0)return this.observers.some((e)=>Va(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!xO(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)})},s=()=>{let m=_O(this.options,r),M=(()=>{let v={client:this.#n,queryKey:this.queryKey,meta:this.meta};return i(v),v})();if(this.#s=!1,this.options.persister)return this.options.persister(m,M,this);return m(M)},c=(()=>{let m={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#n,state:this.state,fetchFn:s};return i(m),m})();if((this.#e==="infinite"?SK(this.options.pages):this.options.behavior)?.onFetch(c,this),this.#r=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==c.fetchOptions?.meta)this.#f({type:"fetch",meta:c.fetchOptions?.meta});let d=this.#a=zO({initialPromise:r?.initialPromise,fn:c.fetchFn,onCancel:(m)=>{if(m instanceof wO&&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:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0});try{let m=await d.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 wO){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===d)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,...B3(a.data,this.options),fetchMeta:e.meta??null};case"success":let i={...a,...IK(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 s=e.error;return{...a,error:s,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...e.state}}};this.state=r(this.state),Ht.batch(()=>{this.observers.slice().forEach((a)=>{a.onQueryUpdate()}),this.#o.notify({query:this,type:"updated",action:e})})}};function B3(e,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:N3(r.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function IK(e,r){return{data:e,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function RK(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 Ko=class extends bo{#e;#t=void 0;#r=void 0;#o=void 0;#n;#a;#i;#s;#f;#Z;#c;#u;#l;#p=new Set;constructor(e,r){super();this.options=r,this.#e=e,this.#i=null,this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){if(this.listeners.size===1){if(this.#t.addObserver(this),TK(this.#t,this.options))this.#d();else this.updateResult();this.#v()}}onUnsubscribe(){if(!this.hasListeners())this.destroy()}shouldFetchOnReconnect(){return Y3(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Y3(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 Va(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&&!Qi(this.options,r))this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});let i=this.hasListeners();if(i&&AK(this.#t,a,this.options,r))this.#d();if(this.updateResult(),i&&(this.#t!==a||Va(this.options.enabled,this.#t)!==Va(r.enabled,this.#t)||Va(this.options.staleTime,this.#t)!==Va(r.staleTime,this.#t)))this.#h();let s=this.#g();if(i&&(this.#t!==a||Va(this.options.enabled,this.#t)!==Va(r.enabled,this.#t)||s!==this.#l))this.#M(s)}getOptimisticResult(e){let r=this.#e.getQueryCache().build(this.#e,e),a=this.createResult(r,e);if(!Qi(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=()=>{},s,l=new Promise((c)=>{s=c,i=this.#e.getQueryCache().subscribe((d)=>{if(d.type==="updated"&&d.query.queryHash===a.queryHash&&a.state.data!==void 0)i(),c(this.createResult(a,r))})});return Promise.race([a.fetch().then(()=>{let c=this.createResult(a,r);return s?.(c),c}).finally(()=>{i()}),l])}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(_r);return r}#m(e){return!BL()&&Va(this.options.enabled,this.#t)!==!1&&vO(e)}#h(){this.#x();let e=Va(this.options.staleTime,this.#t);if(this.#o.isStale||!this.#m(e))return;let r=xO(this.#o.dataUpdatedAt,e)+1;this.#c=Au.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=Au.setInterval(()=>{if(this.options.refetchIntervalInBackground||YL.isFocused())this.#d()},this.#l)}#v(){this.#h(),this.#M(this.#g())}#x(){if(this.#c!==void 0)Au.clearTimeout(this.#c),this.#c=void 0}#y(){if(this.#u!==void 0)Au.clearInterval(this.#u),this.#u=void 0}createResult(e,r){let a=this.#t,i=this.options,s=this.#o,l=this.#n,c=this.#a,d=e!==a?e.state:this.#r,{state:m}=e,g={...m},M=!1,v;if(r._optimisticResults){let J=this.hasListeners(),ee=!J&&TK(e,r),re=J&&AK(e,a,r,i);if(ee||re)g={...g,...B3(m.data,e.options)};if(r._optimisticResults==="isRestoring")g.fetchStatus="idle"}let{error:y,errorUpdatedAt:x,status:_}=g;v=g.data;let j=!1;if(r.placeholderData!==void 0&&v===void 0&&_==="pending"){let J;if(s?.isPlaceholderData&&r.placeholderData===c?.placeholderData)J=s.data,j=!0;else J=typeof r.placeholderData==="function"?r.placeholderData(this.#Z?.state.data,this.#Z):r.placeholderData;if(J!==void 0)_="success",v=mP(s?.data,J,r),M=!0}if(r.select&&v!==void 0&&!j)if(s&&v===l?.data&&r.select===this.#s)v=this.#f;else try{this.#s=r.select,v=r.select(v),v=mP(s?.data,v,r),this.#f=v,this.#i=null}catch(J){this.#i=J}else if(v===void 0)this.#i=null;if(this.#i)y=this.#i,v=this.#f,x=Date.now(),_="error",M=!1;let U=g.fetchStatus==="fetching",T=_==="pending",N=_==="error",G=T&&U,X=v!==void 0;return{status:_,fetchStatus:g.fetchStatus,isPending:T,isSuccess:_==="success",isError:N,isInitialLoading:G,isLoading:G,data:v,dataUpdatedAt:g.dataUpdatedAt,error:y,errorUpdatedAt:x,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:g.dataUpdateCount>d.dataUpdateCount||g.errorUpdateCount>d.errorUpdateCount,isFetching:U,isRefetching:U&&!T,isLoadingError:N&&!X,isPaused:g.fetchStatus==="paused",isPlaceholderData:M,isRefetchError:N&&X,isStale:U3(e,r),refetch:this.refetch,isEnabled:Va(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(Qi(r,e))return;this.#o=r;let i=(()=>{if(!e)return!0;let{notifyOnChangeProps:s}=this.options,l=typeof s==="function"?s():s;if(l==="all"||!l&&!this.#p.size)return!0;let c=new Set(l??this.#p);if(this.options.throwOnError)c.add("error");return Object.keys(this.#o).some((d)=>{let m=d;return this.#o[m]!==e[m]&&c.has(m)})})();Ht.batch(()=>{if(i)this.listeners.forEach((s)=>{s(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 Wye(e,r){return Va(r.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&Va(r.retryOnMount,e)===!1)}function TK(e,r){return Wye(e,r)||e.state.data!==void 0&&Y3(e,r,r.refetchOnMount)}function Y3(e,r,a){if(Va(r.enabled,e)!==!1&&Va(r.staleTime,e)!=="static"){let i=typeof a==="function"?a(e):a;return i==="always"||i!==!1&&U3(e,r)}return!1}function AK(e,r,a,i){return(e!==r||Va(i.enabled,e)===!1)&&(!a.suspense||e.state.status!=="error")&&U3(e,a)}function U3(e,r){return Va(r.enabled,e)!==!1&&e.isStaleByTime(Va(r.staleTime,e))}var q3=class extends Ko{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:s,isRefetching:l,isError:c,isRefetchError:d}=i,m=a.fetchMeta?.fetchMore?.direction,g=c&&m==="forward",M=s&&m==="forward",v=c&&m==="backward",y=s&&m==="backward";return{...i,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:kK(r,a.data),hasPreviousPage:CK(r,a.data),isFetchNextPageError:g,isFetchingNextPage:M,isFetchPreviousPageError:v,isFetchingPreviousPage:y,isRefetchError:d&&!g&&!v,isRefetching:l&&!M&&!y}}};var EK=class extends SO{#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||H3(),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=zO({fn:()=>{if(!this.options.mutationFn)return Promise.reject(Error("No mutationFn found"));return this.options.mutationFn(e,a)},onFail:(c,d)=>{this.#n({type:"failed",failureCount:c,error:d})},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)}),s=this.state.status==="pending",l=!i.canStart();try{if(s)r();else{if(this.#n({type:"pending",variables:e,isPaused:l}),this.#r.config.onMutate)await this.#r.config.onMutate(e,this,a);let d=await this.options.onMutate?.(e,a);if(d!==this.state.context)this.#n({type:"pending",context:d,variables:e,isPaused:l})}let c=await i.start();return await this.#r.config.onSuccess?.(c,e,this.state.context,this,a),await this.options.onSuccess?.(c,e,this.state.context,a),await this.#r.config.onSettled?.(c,null,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(c,null,e,this.state.context,a),this.#n({type:"success",data:c}),c}catch(c){try{await this.#r.config.onError?.(c,e,this.state.context,this,a)}catch(d){Promise.reject(d)}try{await this.options.onError?.(c,e,this.state.context,a)}catch(d){Promise.reject(d)}try{await this.#r.config.onSettled?.(void 0,c,this.state.variables,this.state.context,this,a)}catch(d){Promise.reject(d)}try{await this.options.onSettled?.(void 0,c,e,this.state.context,a)}catch(d){Promise.reject(d)}throw this.#n({type:"error",error:c}),c}finally{if(this.#o===i)this.#o=void 0;this.#r.runNext(this)}}#n(e){let r=(a)=>{switch(e.type){case"failed":return{...a,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...a,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:e.error,failureCount:a.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=r(this.state),Ht.batch(()=>{this.#t.forEach((a)=>{a.onMutationUpdate(e)}),this.#r.notify({mutation:this,type:"updated",action:e})})}};function H3(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var DK=class extends bo{#e;#t;#r;constructor(e={}){super();this.config=e,this.#e=new Set,this.#t=new Map,this.#r=0}build(e,r,a){let i=new EK({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=LO(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=LO(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=LO(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=LO(e);if(typeof r==="string")return this.#t.get(r)?.find((a)=>a!==e&&a.state.isPaused)?.continue()??Promise.resolve();else return Promise.resolve()}clear(){Ht.batch(()=>{this.#e.forEach((e)=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let r={exact:!0,...e};return this.getAll().find((a)=>bO(r,a))}findAll(e={}){return this.getAll().filter((r)=>bO(e,r))}notify(e){Ht.batch(()=>{this.listeners.forEach((r)=>{r(e)})})}resumePausedMutations(){let e=this.getAll().filter((r)=>r.state.isPaused);return Ht.batch(()=>Promise.all(e.map((r)=>r.continue().catch(_r))))}};function LO(e){return e.options.scope?.id}var V3=class extends bo{#e;#t=void 0;#r;#o;constructor(e,r){super();this.#e=e,this.setOptions(r),this.bindMethods(),this.#n()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let r=this.options;if(this.options=this.#e.defaultMutationOptions(e),!Qi(this.options,r))this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#r,observer:this});if(r?.mutationKey&&this.options.mutationKey&&Eu(r.mutationKey)!==Eu(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??H3();this.#t={...e,isPending:e.status==="pending",isSuccess:e.status==="success",isError:e.status==="error",isIdle:e.status==="idle",mutate:this.mutate,reset:this.reset}}#a(e){Ht.batch(()=>{if(this.#o&&this.hasListeners()){let r=this.#t.variables,a=this.#t.context,i={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type==="success"){try{this.#o.onSuccess?.(e.data,r,a,i)}catch(s){Promise.reject(s)}try{this.#o.onSettled?.(e.data,null,r,a,i)}catch(s){Promise.reject(s)}}else if(e?.type==="error"){try{this.#o.onError?.(e.error,r,a,i)}catch(s){Promise.reject(s)}try{this.#o.onSettled?.(void 0,e.error,r,a,i)}catch(s){Promise.reject(s)}}}this.listeners.forEach((r)=>{r(this.#t)})})}};var OK=class extends bo{#e;constructor(e={}){super();this.config=e,this.#e=new Map}build(e,r,a){let i=r.queryKey,s=r.queryHash??pP(i,r),l=this.get(s);if(!l)l=new PK({client:e,queryKey:i,queryHash:s,options:e.defaultQueryOptions(r),state:a,defaultOptions:e.getQueryDefaults(i)}),this.add(l);return l}add(e){if(!this.#e.has(e.queryHash))this.#e.set(e.queryHash,e),this.notify({type:"added",query:e})}remove(e){let r=this.#e.get(e.queryHash);if(r){if(e.destroy(),r===e)this.#e.delete(e.queryHash);this.notify({type:"removed",query:e})}}clear(){Ht.batch(()=>{this.getAll().forEach((e)=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let r={exact:!0,...e};return this.getAll().find((a)=>yO(r,a))}findAll(e={}){let r=this.getAll();return Object.keys(e).length>0?r.filter((a)=>yO(e,a)):r}notify(e){Ht.batch(()=>{this.listeners.forEach((r)=>{r(e)})})}onFocus(){Ht.batch(()=>{this.getAll().forEach((e)=>{e.onFocus()})})}onOnline(){Ht.batch(()=>{this.getAll().forEach((e)=>{e.onOnline()})})}};var W3=class{#e;#t;#r;#o;#n;#a;#i;#s;constructor(e={}){this.#e=e.queryCache||new OK,this.#t=e.mutationCache||new DK,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=YL.subscribe(async(e)=>{if(e)await this.resumePausedMutations(),this.#e.onFocus()}),this.#s=UL.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(Va(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}),s=this.#e.get(i.queryHash)?.state.data,l=xK(r,s);if(l===void 0)return;return this.#e.build(this,i).setData(l,{...a,manual:!0})}setQueriesData(e,r,a){return Ht.batch(()=>this.#e.findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,r,a)]))}getQueryState(e){let r=this.defaultQueryOptions({queryKey:e});return this.#e.get(r.queryHash)?.state}removeQueries(e){let r=this.#e;Ht.batch(()=>{r.findAll(e).forEach((a)=>{r.remove(a)})})}resetQueries(e,r){let a=this.#e;return Ht.batch(()=>{let i=a.findAll(e),s=new Set(i);return i.forEach((l)=>{l.reset()}),this.refetchQueries({type:"active",predicate:(l)=>s.has(l)},r)})}cancelQueries(e,r={}){let a={revert:!0,...r},i=Ht.batch(()=>this.#e.findAll(e).map((s)=>s.cancel(a)));return Promise.all(i).then(_r).catch(_r)}invalidateQueries(e,r={}){return Ht.batch(()=>{if(this.#e.findAll(e).forEach((a)=>{a.invalidate()}),e?.refetchType==="none")return Promise.resolve();return this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},r)})}refetchQueries(e,r={}){let a={...r,cancelRefetch:r.cancelRefetch??!0},i=Ht.batch(()=>this.#e.findAll(e).filter((s)=>!s.isDisabled()&&!s.isStatic()).map((s)=>{let l=s.fetch(void 0,a);if(!a.throwOnError)l=l.catch(_r);return s.state.fetchStatus==="paused"?Promise.resolve():l}));return Promise.all(i).then(_r)}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(Va(r.staleTime,a))?await a.fetch(r):a.state.data,s=r.select;if(s)return s(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(Va(r.staleTime,a))?a.fetch(r):Promise.resolve(a.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(_r).catch(_r)}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(_r).catch(_r)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){if(UL.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(Eu(e),{queryKey:e,defaultOptions:r})}getQueryDefaults(e){let r=[...this.#o.values()],a={};return r.forEach((i)=>{if(hM(e,i.queryKey))Object.assign(a,i.defaultOptions)}),a}setMutationDefaults(e,r){this.#n.set(Eu(e),{mutationKey:e,defaultOptions:r})}getMutationDefaults(e){let r=[...this.#n.values()],a={};return r.forEach((i)=>{if(hM(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=pP(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===NL)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 ju=(e,r,a)=>{let i=a?.state.error&&typeof e.throwOnError==="function"?FL(e.throwOnError,[a.state.error,a]):e.throwOnError;if(e.suspense||i){if(!r.isReset())e.retryOnMount=!1}},qu=(e)=>{h(()=>{e.clearReset()},[e])},Hu=({result:e,errorResetBoundary:r,throwOnError:a,query:i,suspense:s})=>e.isError&&!r.isReset()&&!e.isFetching&&i&&(s&&e.data===void 0||FL(a,[e.error,i]));var wm=(e,r)=>r.state.data===void 0,$u=(e)=>{if(e.suspense){let a=(s)=>s==="static"?s:Math.max(s??1000,1000),i=e.staleTime;if(e.staleTime=typeof i==="function"?(...s)=>a(i(...s)):a(i),typeof e.gcTime==="number")e.gcTime=Math.max(e.gcTime,1000)}},Ic=(e,r)=>e?.suspense&&r.isPending,Gu=(e,r,a)=>r.fetchOptimistic(e).catch(()=>{a.clearReset()});S();function ll(e,r,a){let i=Uu(),s=zu(),l=Q(a),c=l.defaultQueryOptions(e),d=l.getQueryCache().get(c.queryHash),m=e.subscribed!==!1;c._optimisticResults=i?"isRestoring":m?"optimistic":void 0,$u(c),ju(c,s,d),qu(s);let[g]=u(()=>new r(l,c)),M=g.getOptimisticResult(c),v=!i&&m;if(Yn(D((y)=>{let x=v?g.subscribe(Ht.batchCalls(y)):_r;return g.updateResult(),x},[g,v]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),h(()=>{g.setOptions(c)},[c,g]),Ic(c,M))throw Gu(c,g,s);if(Hu({result:M,errorResetBoundary:s,throwOnError:c.throwOnError,query:d,suspense:c.suspense}))throw M.error;return!c.notifyOnChangeProps?g.trackResult(M):M}function Z(e,r){return ll(e,Ko,r)}S();function B(e,r){let a=Q(r),[i]=u(()=>new V3(a,e));h(()=>{i.setOptions(e)},[i,e]);let s=Yn(D((c)=>i.subscribe(Ht.batchCalls(c)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),l=D((...c)=>{i.mutate(c[0],c[1]).catch(_r)},[i]);if(s.error&&FL(i.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:l,mutateAsync:s.mutate}}function ft(e,r){return ll(e,q3,r)}S();var K8=it(void 0),jK=it(void 0);S();var kO=it(null);S();function ja(e){return dt(kO)}var Hr=!1;function gM(e){return e[e.length-1]}function Gye(e){return typeof e==="function"}function rs(e,r){if(Gye(e))return e(r);return e}var UK=Object.prototype.hasOwnProperty,NK=Object.prototype.propertyIsEnumerable;function MM(e){for(let r in e)if(UK.call(e,r))return!0;return!1}var Kye=()=>Object.create(null),vM=(e,r)=>Cs(e,r,Kye);function Cs(e,r,a=()=>({}),i=0){if(Hr)return r;if(e===r)return e;if(i>500)return r;let s=r,l=CO(e)&&CO(s);if(!l&&!(qL(e)&&qL(s)))return s;let c=l?e:FK(e);if(!c)return s;let d=l?s:FK(s);if(!d)return s;let m=c.length,g=d.length,M=l?Array(g):a(),v=0;for(let y=0;y<g;y++){let x=l?y:d[y],_=e[x],j=s[x];if(_===j){if(M[x]=_,l?y<m:UK.call(e,x))v++;continue}if(_===null||j===null||typeof _!=="object"||typeof j!=="object"){M[x]=j;continue}let U=Cs(_,j,a,i+1);if(M[x]=U,U===_)v++}return m===g&&v===m?e:M}function FK(e){let r=Object.getOwnPropertyNames(e);for(let s of r)if(!NK.call(e,s))return!1;let a=Object.getOwnPropertySymbols(e);if(a.length===0)return r;let i=r;for(let s of a){if(!NK.call(e,s))return!1;i.push(s)}return i}function qL(e){if(!BK(e))return!1;let r=e.constructor;if(typeof r>"u")return!0;let a=r.prototype;if(!BK(a))return!1;if(!a.hasOwnProperty("isPrototypeOf"))return!1;return!0}function BK(e){return Object.prototype.toString.call(e)==="[object Object]"}function CO(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function $l(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,s=e.length;i<s;i++)if(!$l(e[i],r[i],a))return!1;return!0}if(qL(e)&&qL(r)){let i=a?.ignoreUndefined??!0;if(a?.partial){for(let c in r)if(!i||r[c]!==void 0){if(!$l(e[c],r[c],a))return!1}return!0}let s=0;if(!i)s=Object.keys(e).length;else for(let c in e)if(e[c]!==void 0)s++;let l=0;for(let c in r)if(!i||r[c]!==void 0){if(l++,l>s||!$l(e[c],r[c],a))return!1}return s===l}return!1}function Ec(e){let r,a,i=new Promise((s,l)=>{r=s,a=l});return i.status="pending",i.resolve=(s)=>{i.status="resolved",i.value=s,r(s),e?.(s)},i.reject=(s)=>{i.status="rejected",a(s)},i}function xM(e){return Boolean(e&&typeof e==="object"&&typeof e.then==="function")}function Xye(e){return e.replace(/[\x00-\x1f\x7f]/g,"")}function YK(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 Xye(r)}var IO=["http:","https:","mailto:","tel:"];function Du(e,r){if(!e)return!1;try{let a=new URL(e);return!r.has(a.protocol)}catch{return!1}}function HL(e){if(!e)return{path:e,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(e)&&!e.startsWith("//"))return{path:e,handledProtocolRelativeURL:!1};let r=/%25|%5C/gi,a=0,i="",s;while((s=r.exec(e))!==null)i+=YK(e.slice(a,s.index))+s[0],a=r.lastIndex;i=i+YK(a?e.slice(a):e);let l=!1;if(i.startsWith("//"))l=!0,i="/"+i.replace(/^\/+/,"");return{path:i,handledProtocolRelativeURL:l}}function qK(e){if(!/\s|[^\u0000-\u007F]/.test(e))return e;return e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent)}function HK(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 ei(){throw Error("Invariant failed")}function yM(e){let r=new Map,a,i,s=(l)=>{if(!l.next)return;if(!l.prev){if(l.next.prev=void 0,a=l.next,l.next=void 0,i)l.prev=i,i.next=l}else if(l.prev.next=l.next,l.next.prev=l.prev,l.next=void 0,i)i.next=l,l.prev=i;i=l};return{get(l){let c=r.get(l);if(!c)return;return s(c),c.value},set(l,c){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 d=r.get(l);if(d)d.value=c,s(d);else{let m={key:l,value:c,prev:i};if(i)i.next=m;if(i=m,!a)a=m;r.set(l,m)}},clear(){r.clear(),a=void 0,i=void 0}}}var _M=4,WK=5;function Qye(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 X3(e,r,a=new Uint16Array(6)){let i=e.indexOf("/",r),s=i===-1?e.length:i,l=e.substring(r,s);if(!l||!l.includes("$"))return a[0]=0,a[1]=r,a[2]=r,a[3]=s,a[4]=s,a[5]=s,a;if(l==="$"){let d=e.length;return a[0]=2,a[1]=r,a[2]=r,a[3]=d,a[4]=d,a[5]=d,a}if(l.charCodeAt(0)===36)return a[0]=1,a[1]=r,a[2]=r+1,a[3]=s,a[4]=s,a[5]=s,a;let c=Qye(l);if(c){let[d,m]=c,g=l.charCodeAt(d+1);if(g===45){if(d+2<l.length&&l.charCodeAt(d+2)===36){let M=d+3,v=m;if(M<v)return a[0]=3,a[1]=r+d,a[2]=r+M,a[3]=r+v,a[4]=r+m+1,a[5]=s,a}}else if(g===36){let M=d+1,v=d+2;if(v===m)return a[0]=2,a[1]=r+d,a[2]=r+M,a[3]=r+v,a[4]=r+m+1,a[5]=e.length,a;return a[0]=1,a[1]=r+d,a[2]=r+v,a[3]=r+m,a[4]=r+m+1,a[5]=s,a}}return a[0]=0,a[1]=r,a[2]=r,a[3]=s,a[4]=s,a[5]=s,a}function TO(e,r,a,i,s,l,c){c?.(a);let d=i;{let m=a.fullPath??a.from,g=m.length,M=a.options?.caseSensitive??e,v=a.options?.params?.parse??a.options?.parseParams;while(d<g){let x=X3(m,d,r),_,j=d,U=x[5];switch(d=U+1,l++,x[0]){case 0:{let T=m.substring(x[2],x[3]);if(M){let N=s.static?.get(T);if(N)_=N;else{s.static??=new Map;let G=X8(a.fullPath??a.from);G.parent=s,G.depth=l,_=G,s.static.set(T,G)}}else{let N=T.toLowerCase(),G=s.staticInsensitive?.get(N);if(G)_=G;else{s.staticInsensitive??=new Map;let X=X8(a.fullPath??a.from);X.parent=s,X.depth=l,_=X,s.staticInsensitive.set(N,X)}}break}case 1:{let T=m.substring(j,x[1]),N=m.substring(x[4],U),G=M&&!!(T||N),X=!T?void 0:G?T:T.toLowerCase(),J=!N?void 0:G?N:N.toLowerCase(),ee=!v&&s.dynamic?.find((re)=>!re.parse&&re.caseSensitive===G&&re.prefix===X&&re.suffix===J);if(ee)_=ee;else{let re=K3(1,a.fullPath??a.from,G,X,J);_=re,re.depth=l,re.parent=s,s.dynamic??=[],s.dynamic.push(re)}break}case 3:{let T=m.substring(j,x[1]),N=m.substring(x[4],U),G=M&&!!(T||N),X=!T?void 0:G?T:T.toLowerCase(),J=!N?void 0:G?N:N.toLowerCase(),ee=!v&&s.optional?.find((re)=>!re.parse&&re.caseSensitive===G&&re.prefix===X&&re.suffix===J);if(ee)_=ee;else{let re=K3(3,a.fullPath??a.from,G,X,J);_=re,re.parent=s,re.depth=l,s.optional??=[],s.optional.push(re)}break}case 2:{let T=m.substring(j,x[1]),N=m.substring(x[4],U),G=M&&!!(T||N),X=!T?void 0:G?T:T.toLowerCase(),J=!N?void 0:G?N:N.toLowerCase(),ee=K3(2,a.fullPath??a.from,G,X,J);_=ee,ee.parent=s,ee.depth=l,s.wildcard??=[],s.wildcard.push(ee)}}s=_}if(v&&a.children&&!a.isRoot&&a.id&&a.id.charCodeAt(a.id.lastIndexOf("/")+1)===95){let x=X8(a.fullPath??a.from);x.kind=WK,x.parent=s,l++,x.depth=l,s.pathless??=[],s.pathless.push(x),s=x}let y=(a.path||!a.children)&&!a.isRoot;if(y&&m.endsWith("/")){let x=X8(a.fullPath??a.from);x.kind=_M,x.parent=s,l++,x.depth=l,s.index=x,s=x}if(s.parse=v??null,s.priority=a.options?.params?.priority??0,y&&!s.route)s.route=a,s.fullPath=a.fullPath??a.from}if(a.children)for(let m of a.children)TO(e,r,m,d,s,l,c)}function G3(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 bM(e){if(e.pathless)for(let r of e.pathless)bM(r);if(e.static)for(let r of e.static.values())bM(r);if(e.staticInsensitive)for(let r of e.staticInsensitive.values())bM(r);if(e.dynamic?.length){e.dynamic.sort(G3);for(let r of e.dynamic)bM(r)}if(e.optional?.length){e.optional.sort(G3);for(let r of e.optional)bM(r)}if(e.wildcard?.length){e.wildcard.sort(G3);for(let r of e.wildcard)bM(r)}}function X8(e){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,priority:0}}function K3(e,r,a,i,s){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:s}}function GK(e,r){let a=X8("/"),i=new Uint16Array(6);for(let s of e)TO(!1,i,s,1,a,0);bM(a),r.masksTree=a,r.flatCache=yM(1000)}function KK(e,r){e||="/";let a=r.flatCache.get(e);if(a)return a;let i=Q3(e,r.masksTree);return r.flatCache.set(e,i),i}function XK(e,r,a,i,s){e||="/",i||="/";let l=r?`case\x00${e}`:e,c=s.singleCache.get(l);if(!c)c=X8("/"),TO(r,new Uint16Array(6),{from:e},1,c,0),s.singleCache.set(l,c);return Q3(i,c,a)}function QK(e,r,a=!1){let i=a?e:`nofuzz\x00${e}`,s=r.matchCache.get(i);if(s!==void 0)return s;e||="/";let l;try{l=Q3(e,r.segmentTree,a)}catch(c){if(c instanceof URIError)l=null;else throw c}if(l)l.branch=J3(l.route);return r.matchCache.set(i,l),l}function Jye(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function JK(e,r=!1,a){let i=X8(e.fullPath),s=new Uint16Array(6),l={},c={},d=0;return TO(r,s,e,1,i,0,(m)=>{if(a?.(m,d),m.id in l)ei();if(l[m.id]=m,d!==0&&m.path){let g=Jye(m.fullPath);if(!c[g]||m.fullPath.endsWith("/"))c[g]=m}d++}),bM(i),{processedTree:{segmentTree:i,singleCache:yM(1000),matchCache:yM(1000),flatCache:null,masksTree:null},routesById:l,routesByPath:c}}function Q3(e,r,a=!1){let i=e.split("/"),s=ebe(e,i,r,a);if(!s)return null;let[l]=$K(e,i,s);return{route:s.node.route,rawParams:l}}function $K(e,r,a){let i=$ye(a.node),s=null,l=Object.create(null),c=a.extract?.part??0,d=a.extract?.node??0,m=a.extract?.path??0,g=a.extract?.segment??0;for(;d<i.length;c++,d++,m++,g++){let M=i[d];if(M.kind===_M)break;if(M.kind===WK){g--,c--,m--;continue}let v=r[c],y=m;if(v)m+=v.length;if(M.kind===1){s??=a.node.fullPath.split("/");let x=s[g],_=M.prefix?.length??0;if(x.charCodeAt(_)===123){let j=M.suffix?.length??0,U=x.substring(_+2,x.length-j-1),T=v.substring(_,v.length-j);l[U]=decodeURIComponent(T)}else{let j=x.substring(1);l[j]=decodeURIComponent(v)}}else if(M.kind===3){if(a.skipped&1<<d){c--,m=y-1;continue}s??=a.node.fullPath.split("/");let x=s[g],_=M.prefix?.length??0,j=M.suffix?.length??0,U=x.substring(_+3,x.length-j-1),T=M.suffix||M.prefix?v.substring(_,v.length-j):v;if(T)l[U]=decodeURIComponent(T)}else if(M.kind===2){let x=M,_=e.substring(y+(x.prefix?.length??0),e.length-(x.suffix?.length??0)),j=decodeURIComponent(_);l["*"]=j,l._splat=j;break}}if(a.rawParams)Object.assign(l,a.rawParams);return[l,{part:c,node:d,path:m,segment:g}]}function J3(e){let r=[e];while(e.parentRoute)e=e.parentRoute,r.push(e);return r.reverse(),r}function $ye(e){let r=Array(e.depth+1);do r[e.depth]=e,e=e.parent;while(e);return r}function ebe(e,r,a,i){if(e==="/"&&a.index)return{node:a.index,skipped:0};let s=!gM(r),l=s&&e!=="/",c=r.length-(s?1:0),d=[{node:a,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}],m=null,g=null;while(d.length){let M=d.pop(),{node:v,index:y,skipped:x,depth:_,statics:j,dynamics:U,optionals:T}=M,{extract:N,rawParams:G}=M;if(v.kind===2&&v.route&&!PO(g,M))continue;if(v.parse){if(!VK(e,r,M))continue;G=M.rawParams,N=M.extract}if(i&&v.route&&v.kind!==_M&&PO(m,M))m=M;let X=y===c;if(X){if(v.route&&(!l||v.kind===_M||v.kind===2)&&PO(g,M))g=M;if(!v.optional&&!v.wildcard&&!v.index&&!v.pathless)continue}let J=X?void 0:r[y],ee;if(X&&v.index){let re={node:v.index,index:y,skipped:x,depth:_+1,statics:j,dynamics:U,optionals:T,extract:N,rawParams:G},oe=!0;if(v.index.parse){if(!VK(e,r,re))oe=!1}if(oe){if(!U&&!T&&!x&&tbe(j,c))return re;if(PO(g,re))g=re}}if(v.wildcard)for(let re=v.wildcard.length-1;re>=0;re--){let oe=v.wildcard[re],{prefix:ie,suffix:ye}=oe;if(ie){if(X)continue;if(!(oe.caseSensitive?J:ee??=J.toLowerCase()).startsWith(ie))continue}if(ye){if(X)continue;let We=r.slice(y).join("/").slice(-ye.length);if((oe.caseSensitive?We:We.toLowerCase())!==ye)continue}d.push({node:oe,index:c,skipped:x,depth:_+1,statics:j,dynamics:U,optionals:T,extract:N,rawParams:G})}if(v.optional){let re=x|1<<_,oe=_+1;for(let ie=v.optional.length-1;ie>=0;ie--){let ye=v.optional[ie];d.push({node:ye,index:y,skipped:re,depth:oe,statics:j,dynamics:U,optionals:T,extract:N,rawParams:G})}if(!X)for(let ie=v.optional.length-1;ie>=0;ie--){let ye=v.optional[ie],{prefix:We,suffix:Ye}=ye;if(We||Ye){let Se=ye.caseSensitive?J:ee??=J.toLowerCase();if(We&&!Se.startsWith(We))continue;if(Ye&&!Se.endsWith(Ye))continue}d.push({node:ye,index:y+1,skipped:x,depth:oe,statics:j,dynamics:U,optionals:T+RO(c,y),extract:N,rawParams:G})}}if(!X&&v.dynamic&&J)for(let re=v.dynamic.length-1;re>=0;re--){let oe=v.dynamic[re],{prefix:ie,suffix:ye}=oe;if(ie||ye){let We=oe.caseSensitive?J:ee??=J.toLowerCase();if(ie&&!We.startsWith(ie))continue;if(ye&&!We.endsWith(ye))continue}d.push({node:oe,index:y+1,skipped:x,depth:_+1,statics:j,dynamics:U+RO(c,y),optionals:T,extract:N,rawParams:G})}if(!X&&v.staticInsensitive){let re=v.staticInsensitive.get(ee??=J.toLowerCase());if(re)d.push({node:re,index:y+1,skipped:x,depth:_+1,statics:j+RO(c,y),dynamics:U,optionals:T,extract:N,rawParams:G})}if(!X&&v.static){let re=v.static.get(J);if(re)d.push({node:re,index:y+1,skipped:x,depth:_+1,statics:j+RO(c,y),dynamics:U,optionals:T,extract:N,rawParams:G})}if(v.pathless){let re=_+1;for(let oe=v.pathless.length-1;oe>=0;oe--){let ie=v.pathless[oe];d.push({node:ie,index:y,skipped:x,depth:re,statics:j,dynamics:U,optionals:T,extract:N,rawParams:G})}}}if(g)return g;if(i&&m){let M=m.index;for(let y=0;y<m.index;y++)M+=r[y].length;let v=M===e.length?"/":e.slice(M);return m.rawParams??=Object.create(null),m.rawParams["**"]=decodeURIComponent(v),m}return null}function RO(e,r){return 2**(e-r-1)}function tbe(e,r){return e===2**(r-1)-1}function VK(e,r,a){let i,s;try{[i,s]=$K(e,r,a)}catch{return null}if(a.rawParams=i,a.extract=s,!a.node.parse)return!0;try{if(a.node.parse(i)===!1)return null}catch{}return!0}function PO(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===_M)>(e.node.kind===_M)||r.node.kind===_M===(e.node.kind===_M)&&r.depth>e.depth)))}function zM(e){return VL(e.filter((r)=>r!==void 0).join("/"))}function VL(e){return e.replace(/\/{2,}/g,"/")}function gP(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function Is(e){let r=e.length;return r>1&&e[r-1]==="/"?e.replace(/\/{1,}$/,""):e}function WL(e){return Is(gP(e))}function wM(e,r){if(e?.endsWith("/")&&e!=="/"&&e!==`${r}/`)return e.slice(0,-1);return e}function AO(e,r,a){return wM(e,a)===wM(r,a)}function EO({base:e,to:r,trailingSlash:a="never",cache:i}){let s=r.startsWith("/"),l=!s&&r===".",c;if(i){c=s?r:l?e:e+"\x00"+r;let g=i.get(c);if(g)return g}let d;if(l)d=e.split("/");else if(s)d=r.split("/");else{d=e.split("/");while(d.length>1&&gM(d)==="")d.pop();let g=r.split("/");for(let M=0,v=g.length;M<v;M++){let y=g[M];if(y===""){if(!M)d=[y];else if(M===v-1)d.push(y)}else if(y==="..")d.pop();else if(y===".");else d.push(y)}}if(d.length>1){if(gM(d)===""){if(a==="never")d.pop()}else if(a==="always")d.push("")}let m=VL(d.join("/"))||"/";if(c&&i)i.set(c,m);return m}function tX(e){let r=new Map(e.map((s)=>[encodeURIComponent(s),s])),a=Array.from(r.keys()).map((s)=>s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),i=new RegExp(a,"g");return(s)=>s.replace(i,(l)=>r.get(l)??l)}function hP(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((s)=>eX(s,a)).join("/")}else return eX(i,a)}function MP({path:e,params:r,decoder:a,...i}){let s=!1,l=Object.create(null);if(!e||e==="/")return{interpolatedPath:"/",usedParams:l,isMissingParams:s};if(!e.includes("$"))return{interpolatedPath:e,usedParams:l,isMissingParams:s};if(Hr??i.server){if(e.indexOf("{")===-1){let M=e.length,v=0,y="";while(v<M){while(v<M&&e.charCodeAt(v)===47)v++;if(v>=M)break;let x=v,_=e.indexOf("/",v);if(_===-1)_=M;v=_;let j=e.substring(x,_);if(!j)continue;if(j.charCodeAt(0)===36)if(j.length===1){let U=r._splat;if(l._splat=U,l["*"]=U,!U){s=!0;continue}let T=hP("_splat",r,a);y+="/"+T}else{let U=j.substring(1);if(!s&&!(U in r))s=!0;l[U]=r[U];let T=hP(U,r,a)??"undefined";y+="/"+T}else y+="/"+j}if(e.endsWith("/"))y+="/";return{usedParams:l,interpolatedPath:y||"/",isMissingParams:s}}}let c=e.length,d=0,m,g="";while(d<c){let M=d;m=X3(e,M,m);let v=m[5];if(d=v+1,M===v)continue;let y=m[0];if(y===0){g+="/"+e.substring(M,v);continue}if(y===2){let x=r._splat;l._splat=x,l["*"]=x;let _=e.substring(M,m[1]),j=e.substring(m[4],v);if(!x){if(s=!0,_||j)g+="/"+_+j;continue}let U=hP("_splat",r,a);g+="/"+_+U+j;continue}if(y===1){let x=e.substring(m[2],m[3]);if(!s&&!(x in r))s=!0;l[x]=r[x];let _=e.substring(M,m[1]),j=e.substring(m[4],v),U=hP(x,r,a)??"undefined";g+="/"+_+U+j;continue}if(y===3){let x=e.substring(m[2],m[3]),_=r[x];if(_==null)continue;l[x]=_;let j=e.substring(M,m[1]),U=e.substring(m[4],v),T=hP(x,r,a)??"";g+="/"+j+T+U;continue}}if(e.endsWith("/"))g+="/";return{usedParams:l,interpolatedPath:g||"/",isMissingParams:s}}function eX(e,r){let a=encodeURIComponent(e);return r?.(a)??a}function Wa(e){return e?.isNotFound===!0}function rX(e,r=String){let a=new URLSearchParams;for(let i in e){let s=e[i];if(s!==void 0)a.set(i,r(s))}return a.toString()}function $3(e){if(!e)return"";if(e==="false")return!1;if(e==="true")return!0;return+e*0===0&&+e+""===e?+e:e}function oX(e){let r=new URLSearchParams(e),a=Object.create(null);for(let[i,s]of r.entries()){let l=a[i];if(l==null)a[i]=$3(s);else if(Array.isArray(l))l.push($3(s));else a[i]=[l,$3(s)]}return a}var e6=aX(JSON.parse),t6=nX(JSON.stringify,JSON.parse);function aX(e){return(r)=>{if(r[0]==="?")r=r.substring(1);let a=oX(r);for(let i in a){let s=a[i];if(typeof s==="string")try{a[i]=e(s)}catch(l){}}return a}}function nX(e,r){let a=typeof r==="function";function i(s){if(typeof s==="object"&&s!==null)try{return e(s)}catch(l){}else if(a&&typeof s==="string")try{return r(s),e(s)}catch(l){}return s}return(s)=>{let l=rX(s,i);return l?`?${l}`:""}}var os="__root__";function al(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 ti(e){return e instanceof Response&&!!e.options}function r6(e){return{input:({url:r})=>{for(let a of e)r=DO(a,r);return r},output:({url:r})=>{for(let a=e.length-1;a>=0;a--)r=o6(e[a],r);return r}}}function iX(e){let r=WL(e.basepath),a=`/${r}`,i=e.caseSensitive?a:a.toLowerCase(),s=`${i}/`;return{input:({url:l})=>{let c=e.caseSensitive?l.pathname:l.pathname.toLowerCase();if(c===i)l.pathname="/";else if(c.startsWith(s))l.pathname=l.pathname.slice(a.length);return l},output:({url:l})=>(l.pathname=zM(["/",r,l.pathname]),l)}}function DO(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 o6(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 i6(e){let r=e;return{get(){return r},set(a){r=rs(a,r)}}}function f6(e){return{get(){return e()}}}function fX(e,r){let{createMutableStore:a,createReadonlyStore:i,batch:s,init:l}=r,c=new Map,d=new Map,m=new Map,g=a(e.status),M=a(e.loadedAt),v=a(e.isLoading),y=a(e.isTransitioning),x=a(e.location),_=a(e.resolvedLocation),j=a(e.statusCode),U=a(e.redirect),T=a([]),N=a([]),G=a([]),X=i(()=>a6(c,T.get())),J=i(()=>a6(d,N.get())),ee=i(()=>a6(m,G.get())),re=i(()=>T.get()[0]),oe=i(()=>T.get().some((yt)=>c.get(yt)?.get().status==="pending")),ie=i(()=>({locationHref:x.get().href,resolvedLocationHref:_.get()?.href,status:g.get()})),ye=i(()=>({status:g.get(),loadedAt:M.get(),isLoading:v.get(),isTransitioning:y.get(),matches:X.get(),location:x.get(),resolvedLocation:_.get(),statusCode:j.get(),redirect:U.get()})),We=yM(64);function Ye(yt){let At=We.get(yt);if(!At)At=i(()=>{let jt=T.get();for(let de of jt){let bt=c.get(de);if(bt&&bt.routeId===yt)return bt.get()}}),We.set(yt,At);return At}let Se={status:g,loadedAt:M,isLoading:v,isTransitioning:y,location:x,resolvedLocation:_,statusCode:j,redirect:U,matchesId:T,pendingIds:N,cachedIds:G,matches:X,pendingMatches:J,cachedMatches:ee,firstId:re,hasPending:oe,matchRouteDeps:ie,matchStores:c,pendingMatchStores:d,cachedMatchStores:m,__store:ye,getRouteMatchStore:Ye,setMatches:He,setPending:ut,setCached:Ke};He(e.matches),l?.(Se);function He(yt){n6(yt,c,T,a,s)}function ut(yt){n6(yt,d,N,a,s)}function Ke(yt){n6(yt,m,G,a,s)}return Se}function a6(e,r){let a=[];for(let i of r){let s=e.get(i);if(s)a.push(s.get())}return a}function n6(e,r,a,i,s){let l=e.map((d)=>d.id),c=new Set(l);s(()=>{for(let d of r.keys())if(!c.has(d))r.delete(d);for(let d of e){let m=r.get(d.id);if(!m){let g=i(d);g.routeId=d.routeId,r.set(d.id,g);continue}if(m.routeId=d.routeId,m.get()!==d)m.set(d)}if(!HK(a.get(),l))a.set(l)})}function rbe(){try{return sessionStorage}catch{return}}var obe="tsr-scroll-restoration-v1_3",cX=rbe();function abe(){try{return JSON.parse(cX?.getItem("tsr-scroll-restoration-v1_3")||"{}")}catch{return{}}}function nbe(){try{cX?.setItem(obe,JSON.stringify(GL))}catch{}}var GL=abe(),sX="data-scroll-restoration-id",ibe=(e)=>e.state.__TSR_key||e.href;function fbe(e){let r=e.getAttribute(sX);if(r)return`[${sX}="${r}"]`;let a="",i=e,s;while(s=i.parentNode){let l=1,c=i;while(c=c.previousElementSibling)l++;let d=`${i.localName}:nth-child(${l})`;a=a?`${d} > ${a}`:d,i=s}return a}var OO=!1,KL="window";function s6(e){try{return typeof e==="function"?e():document.querySelector(e)}catch{}}function lX(e){let r=[];for(let a of e){if(a===KL)continue;let i=s6(a);if(i)r.push(i)}return r}function uX(e,r){if(r??e.options.scrollRestoration)e.isScrollRestoring=!0;if((Hr??e.isServer)||e.isScrollRestorationSetup)return;e.isScrollRestorationSetup=!0,OO=!1;let a=e.options.getScrollRestorationKey||ibe,i=new Map,s=(d,m,g)=>{let M=i.get(d)||{};M.scrollX=m,M.scrollY=g,i.set(d,M)};history.scrollRestoration="manual";let l=(d)=>{if(OO||!e.isScrollRestoring)return;if(d.target===document)s(KL,scrollX,scrollY);else{let m=d.target;s(m,m.scrollLeft,m.scrollTop)}},c=(d)=>{if(!e.isScrollRestoring)return;let m=GL[d]||={};for(let[g,M]of i)if(g===KL)m[KL]=M;else if(g.isConnected)m[fbe(g)]=M};document.addEventListener("scroll",l,!0),e.subscribe("onBeforeLoad",(d)=>{if(d.fromLocation)c(a(d.fromLocation));i.clear()}),addEventListener("pagehide",()=>{c(a(e.stores.resolvedLocation.get()??e.stores.location.get())),nbe()}),e.subscribe("onRendered",(d)=>{let m=e.options.scrollRestorationBehavior,g=e.options.scrollToTopSelectors,M=e.resetNextScroll,v;if(i.clear(),!M)e.resetNextScroll=!0;if(typeof e.options.scrollRestoration==="function"&&!e.options.scrollRestoration({location:e.latestLocation}))return;let y=a(d.toLocation),x=d.fromLocation&&a(d.fromLocation);if(e.isScrollRestoring&&x&&x!==y){let _=GL[x];if(_){let j=GL[y];for(let U in _){if(U===KL){if(M)continue}else{let T=s6(U);if(!T)continue;if(M&&g){if(v??=lX(g),v.includes(T))continue}}if(!j)j=GL[y]={};j[U]??=_[U]}}}OO=!0;try{let _=d.toLocation.hash,j=d.toLocation.state.__hashScrollIntoViewOptions??!0,U=!1;if(M){let T=jO.get(d.toLocation),N=_&&j&&(T==="PUSH"||T==="REPLACE"),G=e.isScrollRestoring?GL[y]:void 0;if(G)for(let X in G){let{scrollX:J,scrollY:ee}=G[X];if(X===KL){if(N)continue;scrollTo({top:ee,left:J,behavior:m}),U=!0}else{let re=s6(X);if(re)re.scrollLeft=J,re.scrollTop=ee}}if(!U&&!_){let X={top:0,left:0,behavior:m};if(scrollTo(X),g){v??=lX(g);for(let J of v)J.scrollTo(X)}}}if(!U&&_&&j)document.getElementById(_)?.scrollIntoView(j)}finally{OO=!1}})}var l6=(e)=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},sbe=(e)=>e.stores.matchesId.get().some((r)=>e.stores.matchStores.get(r)?.get()._forcePending),BO=(e,r)=>!!(e.preload&&!e.router.stores.matchStores.has(r)),Q8=(e,r,a=!0)=>{let i={...e.router.options.context??{}},s=a?r:r-1;for(let l=0;l<=s;l++){let c=e.matches[l];if(!c)continue;let d=e.router.getMatch(c.id);if(!d)continue;Object.assign(i,d.__routeContext,d.__beforeLoadContext)}return i},dX=(e,r)=>{if(!e.matches.length)return;let a=r.routeId,i=e.matches.findIndex((c)=>c.routeId===e.router.routeTree.id),s=i>=0?i:0,l=a?e.matches.findIndex((c)=>c.routeId===a):e.firstBadMatchIndex??e.matches.length-1;if(l<0)l=s;for(let c=l;c>=0;c--){let d=e.matches[c];if(e.router.looseRoutesById[d.routeId].options.notFoundComponent)return c}return a?l:s},SM=(e,r,a)=>{if(!ti(a)&&!Wa(a))return;if(ti(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:ti(a)?"redirected":Wa(a)?"notFound":i.status==="pending"?"success":i.status,context:Q8(e,r.index),isFetching:!1,error:a})),Wa(a)&&!a.routeId)a.routeId=r.routeId;r._nonReactive.loadPromise?.resolve()}if(ti(a))e.rendered=!0,a.options._fromLocation=e.location,a.redirectHandled=!0,a=e.router.resolveRedirect(a);throw a},hX=(e,r)=>{let a=e.router.getMatch(r);if(!a)return!0;if(!(Hr??e.router.isServer)&&a._nonReactive.dehydrated)return!0;if((Hr??e.router.isServer)&&a.ssr===!1)return!0;return!1},ZX=(e,r,a)=>{let i=Q8(e,a);e.updateMatch(r,(s)=>({...s,context:i}))},vP=(e,r,a)=>{let{id:i,routeId:s}=e.matches[r],l=e.router.looseRoutesById[s];if(a instanceof Promise)throw a;e.firstBadMatchIndex??=r,SM(e,e.router.getMatch(i),a);try{l.options.onError?.(a)}catch(c){a=c,SM(e,e.router.getMatch(i),a)}if(e.updateMatch(i,(c)=>(c._nonReactive.beforeLoadPromise?.resolve(),c._nonReactive.beforeLoadPromise=void 0,c._nonReactive.loadPromise?.resolve(),{...c,error:a,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!ti(a)&&!Wa(a))e.serialError??=a},lbe=(e,r,a,i)=>{let s=e.router.getMatch(r),l=e.matches[a-1]?.id,c=l?e.router.getMatch(l):void 0;if(e.router.isShell()){s.ssr=i.id===os;return}if(c?.ssr===!1){s.ssr=!1;return}let d=(x)=>{if(x===!0&&c?.ssr==="data-only")return"data-only";return x},m=e.router.options.defaultSsr??!0;if(i.options.ssr===void 0){s.ssr=d(m);return}if(typeof i.options.ssr!=="function"){s.ssr=d(i.options.ssr);return}let{search:g,params:M}=s,v={search:NO(g,s.searchError),params:NO(M,s.paramsError),location:e.location,matches:e.matches.map((x)=>({index:x.index,pathname:x.pathname,fullPath:x.fullPath,staticData:x.staticData,id:x.id,routeId:x.routeId,search:NO(x.search,x.searchError),params:NO(x.params,x.paramsError),ssr:x.ssr}))},y=i.options.ssr(v);if(xM(y))return y.then((x)=>{s.ssr=d(x??m)});s.ssr=d(y??m)},gX=(e,r,a,i)=>{if(i._nonReactive.pendingTimeout!==void 0)return;let s=a.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!(Hr??e.router.isServer)&&!BO(e,r)&&(a.options.loader||a.options.beforeLoad||u6(a))&&typeof s==="number"&&s!==1/0&&(a.options.pendingComponent??e.router.options?.defaultPendingComponent)){let l=setTimeout(()=>{l6(e)},s);i._nonReactive.pendingTimeout=l}},cbe=(e,r,a)=>{let i=e.router.getMatch(r);if(!i._nonReactive.beforeLoadPromise&&!i._nonReactive.loaderPromise)return;gX(e,r,a,i);let s=()=>{let l=e.router.getMatch(r);if(l.preload&&(l.status==="redirected"||l.status==="notFound"))SM(e,l,l.error)};return i._nonReactive.beforeLoadPromise?i._nonReactive.beforeLoadPromise.then(s):s()},ube=(e,r,a,i)=>{let s=e.router.getMatch(r),l=s._nonReactive.loadPromise;s._nonReactive.loadPromise=Ec(()=>{l?.resolve(),l=void 0});let{paramsError:c,searchError:d}=s;if(c)vP(e,a,c);if(d)vP(e,a,d);gX(e,r,i,s);let m=new AbortController,g=!1,M=()=>{if(g)return;g=!0,e.updateMatch(r,(X)=>({...X,isFetching:"beforeLoad",fetchCount:X.fetchCount+1,abortController:m}))},v=()=>{s._nonReactive.beforeLoadPromise?.resolve(),s._nonReactive.beforeLoadPromise=void 0,e.updateMatch(r,(X)=>({...X,isFetching:!1}))};if(!i.options.beforeLoad){e.router.batch(()=>{M(),v()});return}s._nonReactive.beforeLoadPromise=Ec();let y={...Q8(e,a,!1),...s.__routeContext},{search:x,params:_,cause:j}=s,U=BO(e,r),T={search:x,abortController:m,params:_,preload:U,context:y,location:e.location,navigate:(X)=>e.router.navigate({...X,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:U?"preload":j,matches:e.matches,routeId:i.id,...e.router.options.additionalContext},N=(X)=>{if(X===void 0){e.router.batch(()=>{M(),v()});return}if(ti(X)||Wa(X))M(),vP(e,a,X);e.router.batch(()=>{M(),e.updateMatch(r,(J)=>({...J,__beforeLoadContext:X})),v()})},G;try{if(G=i.options.beforeLoad(T),xM(G))return M(),G.catch((X)=>{vP(e,a,X)}).then(N)}catch(X){M(),vP(e,a,X)}N(G)},dbe=(e,r)=>{let{id:a,routeId:i}=e.matches[r],s=e.router.looseRoutesById[i],l=()=>{if(Hr??e.router.isServer){let m=lbe(e,a,r,s);if(xM(m))return m.then(d)}return d()},c=()=>ube(e,a,r,s),d=()=>{if(hX(e,a))return;let m=cbe(e,a,s);return xM(m)?m.then(c):c()};return l()},Zbe=(e,r,a)=>{let i=e.router.getMatch(r);if(!i)return;if(!a.options.head&&!a.options.scripts&&!a.options.headers)return;let s={ssr:e.router.options.ssr,matches:e.matches,match:i,params:i.params,loaderData:i.loaderData};return Promise.all([a.options.head?.(s),a.options.scripts?.(s),a.options.headers?.(s)]).then(([l,c,d])=>({meta:l?.meta,links:l?.links,headScripts:l?.scripts,headers:d,scripts:c,styles:l?.styles}))},MX=(e,r,a,i,s)=>{let l=r[i-1],{params:c,loaderDeps:d,abortController:m,cause:g}=e.router.getMatch(a),M=Q8(e,i),v=BO(e,a);return{params:c,deps:d,preload:!!v,parentMatchPromise:l,abortController:m,context:M,location:e.location,navigate:(y)=>e.router.navigate({...y,_fromLocation:e.location}),cause:v?"preload":g,route:s,...e.router.options.additionalContext}},pX=async(e,r,a,i,s)=>{try{let l=e.router.getMatch(a);try{if(!(Hr??e.router.isServer)||l.ssr===!0)XL(s);let c=s.options.loader,d=typeof c==="function"?c:c?.handler,m=d?.(MX(e,r,a,i,s)),g=!!d&&xM(m);if(g||s._lazyPromise||s._componentsPromise||s.options.head||s.options.scripts||s.options.headers||l._nonReactive.minPendingPromise)e.updateMatch(a,(v)=>({...v,isFetching:"loader"}));if(d){let v=g?await m:m;if(SM(e,e.router.getMatch(a),v),v!==void 0)e.updateMatch(a,(y)=>({...y,loaderData:v}))}if(s._lazyPromise)await s._lazyPromise;let M=l._nonReactive.minPendingPromise;if(M)await M;if(s._componentsPromise)await s._componentsPromise;e.updateMatch(a,(v)=>({...v,error:void 0,context:Q8(e,i),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(c){let d=c;if(d?.name==="AbortError"){if(l.abortController.signal.aborted){l._nonReactive.loaderPromise?.resolve(),l._nonReactive.loaderPromise=void 0;return}e.updateMatch(a,(g)=>({...g,status:g.status==="pending"?"success":g.status,isFetching:!1,context:Q8(e,i)}));return}let m=l._nonReactive.minPendingPromise;if(m)await m;if(Wa(c))await s.options.notFoundComponent?.preload?.();SM(e,e.router.getMatch(a),c);try{s.options.onError?.(c)}catch(g){d=g,SM(e,e.router.getMatch(a),g)}if(!ti(d)&&!Wa(d))await XL(s,["errorComponent"]);e.updateMatch(a,(g)=>({...g,error:d,context:Q8(e,i),status:"error",isFetching:!1}))}}catch(l){let c=e.router.getMatch(a);if(c)c._nonReactive.loaderPromise=void 0;SM(e,c,l)}},pbe=async(e,r,a)=>{async function i(x,_,j,U,T){let N=Date.now()-_.updatedAt,G=x?T.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??30000:T.options.staleTime??e.router.options.defaultStaleTime??0,X=T.options.shouldReload,J=typeof X==="function"?X(MX(e,r,s,a,T)):X,{status:ee,invalid:re}=U,oe=N>=G&&(!!e.forceStaleReload||U.cause==="enter"||j!==void 0&&j!==U.id);if(c=ee==="success"&&(re||(J??oe)),x&&T.options.preload===!1);else if(c&&!e.sync&&M)d=!0,(async()=>{try{await pX(e,r,s,a,T);let ie=e.router.getMatch(s);ie._nonReactive.loaderPromise?.resolve(),ie._nonReactive.loadPromise?.resolve(),ie._nonReactive.loaderPromise=void 0,ie._nonReactive.loadPromise=void 0}catch(ie){if(ti(ie))await e.router.navigate(ie.options)}})();else if(ee!=="success"||c)await pX(e,r,s,a,T);else ZX(e,s,a)}let{id:s,routeId:l}=e.matches[a],c=!1,d=!1,m=e.router.looseRoutesById[l],g=m.options.loader,M=((typeof g==="function"?void 0:g?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!=="blocking";if(hX(e,s)){if(!e.router.getMatch(s))return e.matches[a];if(ZX(e,s,a),Hr??e.router.isServer)return e.router.getMatch(s)}else{let x=e.router.getMatch(s),_=e.router.stores.matchesId.get()[a],j=(_&&e.router.stores.matchStores.get(_)||null)?.routeId===l?_:e.router.stores.matches.get().find((T)=>T.routeId===l)?.id,U=BO(e,s);if(x._nonReactive.loaderPromise){if(x.status==="success"&&!e.sync&&!x.preload&&M)return x;await x._nonReactive.loaderPromise;let T=e.router.getMatch(s),N=T._nonReactive.error||T.error;if(N)SM(e,T,N);if(T.status==="pending")await i(U,x,j,T,m)}else{let T=U&&!e.router.stores.matchStores.has(s),N=e.router.getMatch(s);if(N._nonReactive.loaderPromise=Ec(),T!==N.preload)e.updateMatch(s,(G)=>({...G,preload:T}));await i(U,x,j,N,m)}}let v=e.router.getMatch(s);if(!d)v._nonReactive.loaderPromise?.resolve(),v._nonReactive.loadPromise?.resolve(),v._nonReactive.loadPromise=void 0;if(clearTimeout(v._nonReactive.pendingTimeout),v._nonReactive.pendingTimeout=void 0,!d)v._nonReactive.loaderPromise=void 0;v._nonReactive.dehydrated=void 0;let y=d?v.isFetching:!1;if(y!==v.isFetching||v.invalid!==!1)return e.updateMatch(s,(x)=>({...x,isFetching:y,invalid:!1})),e.router.getMatch(s);else return v};async function c6(e){let r=e,a=[];if(!(Hr??r.router.isServer)&&sbe(r.router))l6(r);let i;for(let y=0;y<r.matches.length;y++){try{let x=dbe(r,y);if(xM(x))await x}catch(x){if(ti(x))throw x;if(Wa(x))i=x;else if(!r.preload)throw x;break}if(r.serialError||r.firstBadMatchIndex!=null)break}let s=r.firstBadMatchIndex??r.matches.length,l=i&&!r.preload?dX(r,i):void 0,c=i&&r.preload?0:l!==void 0?Math.min(l+1,s):s,d,m;for(let y=0;y<c;y++)a.push(pbe(r,a,y));try{await Promise.all(a)}catch{let y=await Promise.allSettled(a);for(let x of y){if(x.status!=="rejected")continue;let _=x.reason;if(ti(_))throw _;if(Wa(_))d??=_;else m??=_}if(m!==void 0)throw m}let g=d??(i&&!r.preload?i:void 0),M=r.firstBadMatchIndex!==void 0?r.firstBadMatchIndex:r.matches.length-1;if(!g&&i&&r.preload)return r.matches;if(g){let y=dX(r,g);if(y===void 0)ei();let x=r.matches[y],_=r.router.looseRoutesById[x.routeId],j=r.router.options?.defaultNotFoundComponent;if(!_.options.notFoundComponent&&j)_.options.notFoundComponent=j;g.routeId=x.routeId;let U=x.routeId===r.router.routeTree.id;r.updateMatch(x.id,(T)=>({...T,...U?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:g},isFetching:!1})),M=y,await XL(_,["notFoundComponent"])}else if(!r.preload){let y=r.matches[0];if(!y.globalNotFound){if(r.router.getMatch(y.id)?.globalNotFound)r.updateMatch(y.id,(x)=>({...x,globalNotFound:!1,error:void 0}))}}if(r.serialError&&r.firstBadMatchIndex!==void 0){let y=r.router.looseRoutesById[r.matches[r.firstBadMatchIndex].routeId];await XL(y,["errorComponent"])}for(let y=0;y<=M;y++){let{id:x,routeId:_}=r.matches[y],j=r.router.looseRoutesById[_];try{let U=Zbe(r,x,j);if(U){let T=await U;r.updateMatch(x,(N)=>({...N,...T}))}}catch(U){console.error(`Error executing head for route ${_}:`,U)}}let v=l6(r);if(xM(v))await v;if(g)throw g;if(r.serialError&&!r.preload&&!r.onReady)throw r.serialError;return r.matches}function mX(e,r){let a=r.map((i)=>e.options[i]?.preload?.()).filter(Boolean);if(a.length===0)return;return Promise.all(a)}function XL(e,r=FO){if(!e._lazyLoaded&&e._lazyPromise===void 0)if(e.lazyFn)e._lazyPromise=e.lazyFn().then((i)=>{let{id:s,...l}=i.options;Object.assign(e.options,l),e._lazyLoaded=!0,e._lazyPromise=void 0});else e._lazyLoaded=!0;let a=()=>e._componentsLoaded?void 0:r===FO?(()=>{if(e._componentsPromise===void 0){let i=mX(e,FO);if(i)e._componentsPromise=i.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0});else e._componentsLoaded=!0}return e._componentsPromise})():mX(e,r);return e._lazyPromise?e._lazyPromise.then(a):a()}function NO(e,r){if(r)return{status:"error",error:r};return{status:"success",value:e}}function u6(e){for(let r of FO)if(e.options[r]?.preload)return!0;return!1}var FO=["component","errorComponent","pendingComponent","notFoundComponent"];var LM="__TSR_index",vX="popstate",xX="beforeunload";function mbe(e){let r=e.getLocation(),a=new Set,i=(c)=>{r=e.getLocation(),a.forEach((d)=>d({location:r,action:c}))},s=(c)=>{if(e.notifyOnIndexChange??!0)i(c);else r=e.getLocation()},l=async({task:c,navigateOpts:d,...m})=>{if(d?.ignoreBlocker??!1){c();return}let g=e.getBlockers?.()??[],M=m.type==="PUSH"||m.type==="REPLACE";if(typeof document<"u"&&g.length&&M)for(let v of g){let y=xP(m.path,m.state);if(await v.blockerFn({currentLocation:r,nextLocation:y,action:m.type})){e.onBlocked?.();return}}c()};return{get location(){return r},get length(){return e.getLength()},subscribers:a,subscribe:(c)=>(a.add(c),()=>{a.delete(c)}),push:(c,d,m)=>{let g=r.state[LM];d=yX(g+1,d),l({task:()=>{e.pushState(c,d),i({type:"PUSH"})},navigateOpts:m,type:"PUSH",path:c,state:d})},replace:(c,d,m)=>{let g=r.state[LM];d=yX(g,d),l({task:()=>{e.replaceState(c,d),i({type:"REPLACE"})},navigateOpts:m,type:"REPLACE",path:c,state:d})},go:(c,d)=>{l({task:()=>{e.go(c),s({type:"GO",index:c})},navigateOpts:d,type:"GO"})},back:(c)=>{l({task:()=>{e.back(c?.ignoreBlocker??!1),s({type:"BACK"})},navigateOpts:c,type:"BACK"})},forward:(c)=>{l({task:()=>{e.forward(c?.ignoreBlocker??!1),s({type:"FORWARD"})},navigateOpts:c,type:"FORWARD"})},canGoBack:()=>r.state[LM]!==0,createHref:(c)=>e.createHref(c),block:(c)=>{if(!e.setBlockers)return()=>{};let d=e.getBlockers?.()??[];return e.setBlockers([...d,c]),()=>{let m=e.getBlockers?.()??[];e.setBlockers?.(m.filter((g)=>g!==c))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:i}}function yX(e,r){if(!r)r={};let a=d6();return{...r,key:a,__TSR_key:a,[LM]:e}}function bX(e){let r=e?.window??(typeof document<"u"?window:void 0),a=r.history.pushState,i=r.history.replaceState,s=[],l=()=>s,c=(oe)=>s=oe,d=e?.createHref??((oe)=>oe),m=e?.parseLocation??(()=>xP(`${r.location.pathname}${r.location.search}${r.location.hash}`,r.history.state));if(!r.history.state?.__TSR_key&&!r.history.state?.key){let oe=d6();r.history.replaceState({[LM]:0,key:oe,__TSR_key:oe},"")}let g=m(),M,v=!1,y=!1,x=!1,_=!1,j=()=>g,U,T,N=()=>{if(!U)return;re._ignoreSubscribers=!0,(U.isPush?r.history.pushState:r.history.replaceState)(U.state,"",U.href),re._ignoreSubscribers=!1,U=void 0,T=void 0,M=void 0},G=(oe,ie,ye)=>{let We=d(ie);if(!T)M=g;if(g=xP(ie,ye),U={href:We,state:ye,isPush:U?.isPush||oe==="push"},!T)T=Promise.resolve().then(()=>N())},X=(oe)=>{g=m(),re.notify({type:oe})},J=async()=>{if(y){y=!1;return}let oe=m(),ie=oe.state[LM]-g.state[LM],ye=ie===1,We=ie===-1,Ye=!ye&&!We||v;v=!1;let Se=Ye?"GO":We?"BACK":"FORWARD",He=Ye?{type:"GO",index:ie}:{type:We?"BACK":"FORWARD"};if(x)x=!1;else{let ut=l();if(typeof document<"u"&&ut.length){for(let Ke of ut)if(await Ke.blockerFn({currentLocation:g,nextLocation:oe,action:Se})){y=!0,r.history.go(1),re.notify(He);return}}}g=m(),re.notify(He)},ee=(oe)=>{if(_){_=!1;return}let ie=!1,ye=l();if(typeof document<"u"&&ye.length)for(let We of ye){let Ye=We.enableBeforeUnload??!0;if(Ye===!0){ie=!0;break}if(typeof Ye==="function"&&Ye()===!0){ie=!0;break}}if(ie)return oe.preventDefault(),oe.returnValue=""},re=mbe({getLocation:j,getLength:()=>r.history.length,pushState:(oe,ie)=>G("push",oe,ie),replaceState:(oe,ie)=>G("replace",oe,ie),back:(oe)=>{if(oe)x=!0;return _=!0,r.history.back()},forward:(oe)=>{if(oe)x=!0;_=!0,r.history.forward()},go:(oe)=>{v=!0,r.history.go(oe)},createHref:(oe)=>d(oe),flush:N,destroy:()=>{r.history.pushState=a,r.history.replaceState=i,r.removeEventListener(xX,ee,{capture:!0}),r.removeEventListener(vX,J)},onBlocked:()=>{if(M&&g!==M)g=M},getBlockers:l,setBlockers:c,notifyOnIndexChange:!1});return r.addEventListener(xX,ee,{capture:!0}),r.addEventListener(vX,J),r.history.pushState=function(...oe){let ie=a.apply(r.history,oe);if(!re._ignoreSubscribers)X("PUSH");return ie},r.history.replaceState=function(...oe){let ie=i.apply(r.history,oe);if(!re._ignoreSubscribers)X("REPLACE");return ie},re}function hbe(e){let r=e.replace(/[\x00-\x1f\x7f]/g,"");if(r.startsWith("//"))r="/"+r.replace(/^\/+/,"");return r}function xP(e,r){let a=hbe(e),i=a.indexOf("#"),s=a.indexOf("?"),l=d6();return{href:a,pathname:a.substring(0,i>0?s>0?Math.min(i,s):i:s>0?s:a.length),hash:i>-1?a.substring(i):"",search:s>-1?a.slice(s,i===-1?void 0:i):"",state:r||{[LM]:0,key:l,__TSR_key:l}}}function d6(){return(Math.random()+1).toString(36).substring(7)}function LZ(e,r){let a=r,i=e;return{fromLocation:a,toLocation:i,pathChanged:a?.pathname!==i.pathname,hrefChanged:a?.href!==i.href,hashChanged:a?.hash!==i.hash}}var jO=new WeakMap,Z6=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,s=this.basepath??i?.basepath??"/",l=this.basepath===void 0,c=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=tX(this.options.pathParamsAllowedCharacters);if(!this.history||this.options.history&&this.options.history!==this.history)if(!this.options.history){if(!(Hr??this.isServer))this.history=bX()}else this.history=this.options.history;if(this.origin=this.options.origin,!this.origin)if(!(Hr??this.isServer)&&window?.origin&&window.origin!=="null")this.origin=window.origin;else this.origin="http://localhost";if(this.history)this.updateLatestLocation();if(this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let M;if((Hr??this.isServer)&&!0&&globalThis.__TSR_CACHE__&&globalThis.__TSR_CACHE__.routeTree===this.routeTree){let v=globalThis.__TSR_CACHE__;this.resolvePathCache=v.resolvePathCache,M=v.processRouteTreeResult}else if(this.resolvePathCache=yM(1000),M=this.buildRouteTree(),(Hr??this.isServer)&&!0&&globalThis.__TSR_CACHE__===void 0)globalThis.__TSR_CACHE__={routeTree:this.routeTree,processRouteTreeResult:M,resolvePathCache:this.resolvePathCache};this.setRoutes(M)}if(!this.stores&&this.latestLocation){let M=this.getStoreConfig(this);if(this.batch=M.batch,this.stores=fX(zX(this.latestLocation),M),!(Hr??this.isServer))uX(this)}let d=!1,m=this.options.basepath??"/",g=this.options.rewrite;if(l||s!==m||c!==g){this.basepath=m;let M=[],v=WL(m);if(v&&v!=="/")M.push(iX({basepath:m}));if(g)M.push(g);if(this.rewrite=M.length===0?void 0:M.length===1?M[0]:r6(M),this.history)this.updateLatestLocation();d=!0}if(d&&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=JK(this.routeTree,this.options.caseSensitive,(i,s)=>{i.init({originalIndex:s})});if(this.options.routeMasks)GK(this.options.routeMasks,a.processedTree);return a},this.subscribe=(a,i)=>{let s={eventType:a,fn:i};return this.subscribers.add(s),()=>{this.subscribers.delete(s)}},this.emit=(a)=>{this.subscribers.forEach((i)=>{if(i.eventType===a.type)i.fn(a)})},this.parseLocation=(a,i)=>{let s=({pathname:m,search:g,hash:M,href:v,state:y})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(m)){let T=this.options.parseSearch(g),N=this.options.stringifySearch(T);return{href:m+N+M,publicHref:m+N+M,pathname:HL(m).path,external:!1,searchStr:N,search:vM(i?.search,T),hash:HL(M.slice(1)).path,state:Cs(i?.state,y)}}let x=new URL(v,this.origin),_=DO(this.rewrite,x),j=this.options.parseSearch(_.search),U=this.options.stringifySearch(j);return _.search=U,{href:_.href.replace(_.origin,""),publicHref:v,pathname:HL(_.pathname).path,external:!!this.rewrite&&_.origin!==this.origin,searchStr:U,search:vM(i?.search,j),hash:HL(_.hash.slice(1)).path,state:Cs(i?.state,y)}},l=s(a),{__tempLocation:c,__tempKey:d}=l.state;if(c&&(!d||d===this.tempLocationKey)){let m=s(c);return m.state.key=l.state.key,m.state.__TSR_key=l.state.__TSR_key,delete m.state.__tempLocation,{...m,maskedLocation:l}}return l},this.resolvePathWithBase=(a,i)=>EO({base:a,to:i.includes("//")?VL(i):i,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(a,i,s)=>{if(typeof a==="string")return this.matchRoutesInternal({pathname:a,search:i},s);return this.matchRoutesInternal(a,i)},this.getMatchedRoutes=(a)=>SX({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=(l={})=>{let c=l._fromLocation||this.pendingBuiltLocation||this.latestLocation,d=this.matchRoutesLightweight(c);l.from;let m=l.unsafeRelative==="path"?c.pathname:l.from??d.fullPath,g=l.to?`${l.to}`:void 0,M=d.search,v=Object.assign(Object.create(null),d.params),y=g?.charCodeAt(0)===47?"/":this.resolvePathWithBase(m,"."),x=g?this.resolvePathWithBase(y,g):y,_=l.params===!1||l.params===null?Object.create(null):(l.params??!0)===!0?v:Object.assign(v,rs(l.params,v)),j=this.routesByPath[Is(x)],U;if(j)U=this.getRouteBranch(j);else if(x.includes("$"))U=[];else{let We=this.getMatchedRoutes(x);if(U=We.matchedRoutes,this.options.notFoundRoute&&(!We.foundRoute||We.foundRoute.path!=="/"&&We.routeParams["**"]))U=[...U,this.options.notFoundRoute]}if(U.length&&MM(_))for(let We of U){let Ye=We.options.params?.stringify??We.options.stringifyParams;if(Ye)try{Object.assign(_,Ye(_))}catch{}}let T=a.leaveParams?x:HL(MP({path:x,params:_,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path,N=M;if(a._includeValidateSearch&&this.options.search?.strict){let We={};U.forEach((Ye)=>{if(Ye.options.validateSearch)try{Object.assign(We,YO(Ye.options.validateSearch,{...We,...N}))}catch{}}),N=We}N=gbe({search:N,dest:l,destRoutes:U,_includeValidateSearch:a._includeValidateSearch}),N=vM(M,N);let G=this.options.stringifySearch(N),X=l.hash===!0?c.hash:l.hash?rs(l.hash,c.hash):void 0,J=X?`#${X}`:"",ee=l.state===!0?c.state:l.state?rs(l.state,c.state):{};ee=Cs(c.state,ee);let re=`${T}${G}${J}`,oe,ie,ye=!1;if(this.rewrite){let We=new URL(re,this.origin),Ye=o6(this.rewrite,We);if(oe=We.href.replace(We.origin,""),Ye.origin!==this.origin)ie=Ye.href,ye=!0;else ie=Ye.pathname+Ye.search+Ye.hash}else oe=qK(re),ie=oe;return{publicHref:ie,href:oe,pathname:T,search:N,searchStr:G,state:ee,hash:X??"",external:ye,unmaskOnReload:l.unmaskOnReload}},s=(l={},c)=>{let d=i(l),m=c?i(c):void 0;if(!m){let g=Object.create(null);if(this.options.routeMasks){let M=KK(d.pathname,this.processedTree);if(M){Object.assign(g,M.rawParams);let{from:v,params:y,...x}=M.route,_=y===!1||y===null?Object.create(null):(y??!0)===!0?g:Object.assign(g,rs(y,g));c={from:a.from,...x,params:_},m=i(c)}}}if(m)d.maskedLocation=m;return d};if(a.mask)return s(a,{from:a.from,...a.mask});return s(a)},this.commitLocation=async({viewTransition:a,ignoreBlocker:i,...s})=>{let l,c=()=>{let g=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];g.forEach((v)=>{s.state[v]=this.latestLocation.state[v]});let M=$l(s.state,this.latestLocation.state);return g.forEach((v)=>{delete s.state[v]}),M},d=Is(this.latestLocation.href)===Is(s.href),m=this.commitLocationPromise;if(this.commitLocationPromise=Ec(()=>{m?.resolve(),m=void 0}),d&&c())this.load();else{let{maskedLocation:g,hashScrollIntoView:M,...v}=s;if(g){if(v={...g,state:{...g.state,__tempKey:void 0,__tempLocation:{...v,search:v.searchStr,state:{...v.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},v.unmaskOnReload??this.options.unmaskOnReload??!1)v.state.__tempKey=this.tempLocationKey}v.state.__hashScrollIntoViewOptions=M??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=a,l=s.replace?"REPLACE":"PUSH",this.history[l==="REPLACE"?"replace":"push"](v.publicHref,v.state,{ignoreBlocker:i})}if(this.resetNextScroll=s.resetScroll??!0,!this.history.subscribers.size)this.load(l?{action:{type:l}}:void 0);return this.commitLocationPromise},this.buildAndCommitLocation=({replace:a,resetScroll:i,hashScrollIntoView:s,viewTransition:l,ignoreBlocker:c,href:d,...m}={})=>{if(d){let v=this.history.location.state.__TSR_index,y=xP(d,{__TSR_index:a?v:v+1}),x=new URL(y.pathname,this.origin);m.to=DO(this.rewrite,x).pathname,m.search=this.options.parseSearch(y.search),m.hash=y.hash.slice(1)}let g=this.buildLocation({...m,_includeValidateSearch:!0});this.pendingBuiltLocation=g;let M=this.commitLocation({...g,viewTransition:l,replace:a,resetScroll:i,hashScrollIntoView:s,ignoreBlocker:c});return Promise.resolve().then(()=>{if(this.pendingBuiltLocation===g)this.pendingBuiltLocation=void 0}),M},this.navigate=async({to:a,reloadDocument:i,href:s,publicHref:l,...c})=>{let d=!1;if(s)try{new URL(`${s}`),d=!0}catch{}if(d&&!i)i=!0;if(i){if(a!==void 0||!s){let g=this.buildLocation({to:a,...c});s=s??g.publicHref,l=l??g.publicHref}let m=!d&&l?l:s;if(Du(m,this.protocolAllowlist))return Promise.resolve();if(!c.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(c.replace)window.location.replace(m);else window.location.href=m;return Promise.resolve()}return this.buildAndCommitLocation({...c,href:s,to:a,_isNavigate:!0})},this.beforeLoad=()=>{if(this.cancelMatches(),this.updateLatestLocation(),Hr??this.isServer){let s=this.buildLocation({to:this.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(this.latestLocation.publicHref!==s.publicHref){let l=this.getParsedLocationHref(s);if(s.external)throw al({href:l});else throw al({href:l,_builtLocation:s})}}let a=this.matchRoutes(this.latestLocation),i=this.stores.cachedMatches.get().filter((s)=>!a.some((l)=>l.id===s.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,s,l,c,d=this.stores.resolvedLocation.get()??this.stores.location.get();c=new Promise((g)=>{this.startTransition(async()=>{try{if(this.beforeLoad(),i)jO.set(this.latestLocation,i);else jO.delete(this.latestLocation);let M=this.latestLocation,v=LZ(M,this.stores.resolvedLocation.get());if(!this.stores.redirect.get())this.emit({type:"onBeforeNavigate",...v});this.emit({type:"onBeforeLoad",...v}),await c6({router:this,sync:a?.sync,forceStaleReload:d.href===M.href,matches:this.stores.pendingMatches.get(),location:M,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let y=null,x=null,_=null,j=null;this.batch(()=>{let U=this.stores.pendingMatches.get(),T=U.length,N=this.stores.matches.get();y=T?N.filter((J)=>!this.stores.pendingMatchStores.has(J.id)):null;let G=new Set;for(let J of this.stores.pendingMatchStores.values())if(J.routeId)G.add(J.routeId);let X=new Set;for(let J of this.stores.matchStores.values())if(J.routeId)X.add(J.routeId);if(x=T?N.filter((J)=>!G.has(J.routeId)):null,_=T?U.filter((J)=>!X.has(J.routeId)):null,j=T?U.filter((J)=>X.has(J.routeId)):N,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),T)this.stores.setMatches(U),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...y.filter((J)=>J.status!=="error"&&J.status!=="notFound"&&J.status!=="redirected")]),this.clearExpiredCache()});for(let[U,T]of[[x,"onLeave"],[_,"onEnter"],[j,"onStay"]]){if(!U)continue;for(let N of U)this.looseRoutesById[N.routeId].options[T]?.(N)}})})}})}catch(M){if(ti(M)){if(s=M,!(Hr??this.isServer))this.navigate({...s.options,replace:!0,ignoreBlocker:!0})}else if(Wa(M))l=M;let v=s?s.status:l?404:this.stores.matches.get().some((y)=>y.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(v),this.stores.redirect.set(s)})}if(this.latestLoadPromise===c)this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0;g()})}),this.latestLoadPromise=c,await c;while(this.latestLoadPromise&&c!==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 s;if(typeof i==="object"&&this.isViewTransitionTypesSupported){let l=this.latestLocation,c=this.stores.resolvedLocation.get(),d=typeof i.types==="function"?i.types(LZ(l,c)):i.types;if(d===!1){a();return}s={update:a,types:d}}else s=a;document.startViewTransition(s)}else a()},this.updateMatch=(a,i)=>{this.startTransition(()=>{let s=this.stores.pendingMatchStores.get(a);if(s){s.set(i);return}let l=this.stores.matchStores.get(a);if(l){l.set(i);return}let c=this.stores.cachedMatchStores.get(a);if(c){let d=i(c.get());if(d.status==="redirected"){if(this.stores.cachedMatchStores.delete(a))this.stores.cachedIds.set((m)=>m.filter((g)=>g!==a))}else c.set(d)}})},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=(s)=>{if(a?.filter?.(s)??!0)return{...s,invalid:!0,...a?.forcePending||s.status==="error"||s.status==="notFound"?{status:"pending",error:void 0}:void 0};return s};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 s=a.options._builtLocation??this.buildLocation(a.options),l=this.getParsedLocationHref(s);a.options.href=l,a.headers.set("Location",l)}else if(i)try{let s=new URL(i);if(this.origin&&s.origin===this.origin){let l=s.pathname+s.search+s.hash;a.options.href=l,a.headers.set("Location",l)}}catch{}if(a.options.href&&!a.options._builtLocation&&Du(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((s)=>!i(s)));else this.stores.setCached([])},this.clearExpiredCache=()=>{let a=Date.now(),i=(s)=>{let l=this.looseRoutesById[s.routeId];if(!l.options.loader)return!0;let c=(s.preload?l.options.preloadGcTime??this.options.defaultPreloadGcTime:l.options.gcTime??this.options.defaultGcTime)??300000;if(s.status==="error")return!0;return a-s.updatedAt>=c};this.clearCache({filter:i})},this.loadRouteChunk=XL,this.preloadRoute=async(a)=>{let i=a._builtLocation??this.buildLocation(a),s=this.matchRoutes(i,{throwOnError:!0,preload:!0,dest:a}),l=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),c=new Set([...l,...this.stores.cachedIds.get()]),d=s.filter((m)=>!c.has(m.id));if(d.length){let m=this.stores.cachedMatches.get();this.stores.setCached([...m,...d])}try{return s=await c6({router:this,matches:s,location:i,preload:!0,updateMatch:(m,g)=>{if(l.has(m))s=s.map((M)=>M.id===m?g(M):M);else this.updateMatch(m,g)}}),s}catch(m){if(ti(m)){if(m.options.reloadDocument)return;return await this.preloadRoute({...m.options,_fromLocation:i})}if(!Wa(m))console.error(m);return}},this.matchRoute=(a,i)=>{let s={...a,to:a.to?this.resolvePathWithBase(a.from||"",a.to):void 0,params:a.params||{},leaveParams:!0},l=this.buildLocation(s);if(i?.pending&&this.stores.status.get()!=="pending")return!1;let c=(i?.pending===void 0?!this.stores.isLoading.get():i.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),d=XK(l.pathname,i?.caseSensitive??!1,i?.fuzzy??!1,c.pathname,this.processedTree);if(!d)return!1;if(a.params){if(!$l(d.rawParams,a.params,{partial:!0}))return!1}if(i?.includeSearch??!0)return $l(c.search,l.search,{partial:!0})?d.rawParams:!1;return d.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??t6,parseSearch:e.parseSearch??e6,protocolAllowlist:e.protocolAllowlist??IO}),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=J3(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:s}=a,{matchedRoutes:l}=a,c=!1;if(i?i.path!=="/"&&s["**"]:Is(e.pathname))if(this.options.notFoundRoute)l=[...l,this.options.notFoundRoute];else c=!0;let d=c?vbe(this.options.notFoundMode,l):void 0,m=Array(l.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<l.length;M++){let v=l[M],y=m[M-1],x,_,j;{let Ye=y?.search??e.search,Se=y?._strictSearch??void 0;try{let He=YO(v.options.validateSearch,{...Ye})??void 0;x={...Ye,...He},_={...Se,...He},j=void 0}catch(He){let ut=He;if(!(He instanceof QL))ut=new QL(He.message,{cause:He});if(r?.throwOnError)throw ut;x=Ye,_={},j=ut}}let U=v.options.loaderDeps?.({search:x})??"",T=U?JSON.stringify(U):"",{interpolatedPath:N,usedParams:G}=MP({path:v.fullPath,params:s,decoder:this.pathParamsDecoder,server:this.isServer}),X=v.id+N+T,J=this.getMatch(X),ee=g.get(v.id),re=J?._strictParams??G,oe=void 0;if(!J)try{_X(v,re)}catch(Ye){if(Wa(Ye)||ti(Ye))oe=Ye;else oe=new wX(Ye.message,{cause:Ye});if(r?.throwOnError)throw oe}Object.assign(s,re);let ie=ee?"stay":"enter",ye;if(J)ye={...J,cause:ie,params:ee?.params??s,_strictParams:re,search:ee?vM(ee.search,x):vM(J.search,x),_strictSearch:_};else{let Ye=v.options.loader||v.options.beforeLoad||v.lazyFn||u6(v)?"pending":"success";ye={id:X,ssr:Hr??this.isServer?void 0:v.options.ssr,index:M,routeId:v.id,params:ee?.params??s,_strictParams:re,pathname:N,updatedAt:Date.now(),search:ee?vM(ee.search,x):x,_strictSearch:_,searchError:void 0,status:Ye,isFetching:!1,error:void 0,paramsError:oe,__routeContext:void 0,_nonReactive:{loadPromise:Ec()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:ie,loaderDeps:ee?Cs(ee.loaderDeps,U):U,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:v.options.staticData||{},fullPath:v.fullPath}}if(!r?.preload)ye.globalNotFound=d===v.id;ye.searchError=j;let We=this.getParentContext(y);ye.context={...We,...ye.__routeContext,...ye.__beforeLoadContext},m[M]=ye}for(let M=0;M<m.length;M++){let v=m[M],y=this.looseRoutesById[v.routeId],x=this.getMatch(v.id),_=g.get(v.routeId);if(v.params=_?vM(_.params,s):s,!x){let j=m[M-1],U=this.getParentContext(j);if(y.options.context){let T={deps:v.loaderDeps,params:v.params,context:U??{},location:e,navigate:(N)=>this.navigate({...N,_fromLocation:e}),buildLocation:this.buildLocation,cause:v.cause,abortController:v.abortController,preload:!!v.preload,matches:m,routeId:y.id};v.__routeContext=y.options.context(T)??void 0}v.context={...U,...v.__routeContext,...v.__beforeLoadContext}}}return m}matchRoutesLightweight(e){let{matchedRoutes:r,routeParams:a}=this.getMatchedRoutes(e.pathname),i=gM(r),s={...e.search};for(let g of r)try{Object.assign(s,YO(g.options.validateSearch,s))}catch{}let l=gM(this.stores.matchesId.get()),c=l&&this.stores.matchStores.get(l)?.get(),d=c&&c.routeId===i.id&&c.pathname===e.pathname,m;if(d)m=c.params;else{let g=Object.assign(Object.create(null),a);for(let M of r)try{_X(M,g)}catch{}m=g}return{matchedRoutes:r,fullPath:i.fullPath,search:s,params:m}}},QL=class extends Error{},wX=class extends Error{};function zX(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function YO(e,r){if(e==null)return{};if("~standard"in e){let a=e["~standard"].validate(r);if(a instanceof Promise)throw new QL("Async validation not supported");if(a.issues)throw new QL(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 SX({pathname:e,routesById:r,processedTree:a}){let i=Object.create(null),s=Is(e),l=void 0,c=QK(s,a,!0);if(c)l=c.route,Object.assign(i,c.rawParams);return{matchedRoutes:c?.branch||[r.__root__],routeParams:i,foundRoute:l}}function gbe({search:e,dest:r,destRoutes:a,_includeValidateSearch:i}){return Mbe(a)(e,r,i??!1)}function Mbe(e){let r={dest:null,_includeValidateSearch:!1,middlewares:[]};for(let s of e){if("search"in s.options){if(s.options.search?.middlewares)r.middlewares.push(...s.options.search.middlewares)}else if(s.options.preSearchFilters||s.options.postSearchFilters){let l=({search:c,next:d})=>{let m=c;if("preSearchFilters"in s.options&&s.options.preSearchFilters)m=s.options.preSearchFilters.reduce((M,v)=>v(M),c);let g=d(m);if("postSearchFilters"in s.options&&s.options.postSearchFilters)return s.options.postSearchFilters.reduce((M,v)=>v(M),g);return g};r.middlewares.push(l)}if(s.options.validateSearch){let l=({search:c,next:d})=>{let m=d(c);if(!r._includeValidateSearch)return m;try{return{...m,...YO(s.options.validateSearch,m)??void 0}}catch{return m}};r.middlewares.push(l)}}let a=({search:s})=>{let l=r.dest;if(!l.search)return{};if(l.search===!0)return s;return rs(l.search,s)};r.middlewares.push(a);let i=(s,l,c)=>{if(s>=c.length)return l;let d=c[s];return d({search:l,next:(g)=>i(s+1,g,c)})};return function(l,c,d){return r.dest=c,r._includeValidateSearch=d,i(0,l,r.middlewares)}}function vbe(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 os}function _X(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 p6="Error preloading route! ☝️";var UO=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=os;else if(!this.parentRoute)ei();let s=i?os:a?.path;if(s&&s!=="/")s=gP(s);let l=a?.id||s,c=i?os:zM([this.parentRoute.id==="__root__"?"":this.parentRoute.id,l]);if(s==="__root__")s="/";if(c!=="__root__")c=zM(["/",c]);let d=c==="__root__"?"/":zM([this.parentRoute.fullPath,s]);this._path=s,this._id=c,this._fullPath=d,this._to=Is(d)},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)=>al({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 m6=class extends UO{constructor(e){super(e)}};S();var Ga=((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))(Ga||{});function kX({update:e,notify:r,unwatched:a}){return{link:i,unlink:s,propagate:l,checkDirty:c,shallowPropagate:d};function i(g,M,v){let y=M.depsTail;if(y!==void 0&&y.dep===g)return;let x=y!==void 0?y.nextDep:M.deps;if(x!==void 0&&x.dep===g){x.version=v,M.depsTail=x;return}let _=g.subsTail;if(_!==void 0&&_.version===v&&_.sub===M)return;let j=M.depsTail=g.subsTail={version:v,dep:g,sub:M,prevDep:y,nextDep:x,prevSub:_,nextSub:void 0};if(x!==void 0)x.prevDep=j;if(y!==void 0)y.nextDep=j;else M.deps=j;if(_!==void 0)_.nextSub=j;else g.subs=j}function s(g,M=g.sub){let{dep:v,prevDep:y,nextDep:x,nextSub:_,prevSub:j}=g;if(x!==void 0)x.prevDep=y;else M.depsTail=y;if(y!==void 0)y.nextDep=x;else M.deps=x;if(_!==void 0)_.prevSub=j;else v.subsTail=j;if(j!==void 0)j.nextSub=_;else if((v.subs=_)===void 0)a(v);return x}function l(g){let M=g.nextSub,v;e:do{let y=g.sub,x=y.flags;if(!(x&60))y.flags=x|32;else if(!(x&12))x=0;else if(!(x&4))y.flags=x&-9|32;else if(!(x&48)&&m(g,y))y.flags=x|40,x&=1;else x=0;if(x&2)r(y);if(x&1){let _=y.subs;if(_!==void 0){let j=(g=_).nextSub;if(j!==void 0)v={value:M,prev:v},M=j;continue}}if((g=M)!==void 0){M=g.nextSub;continue}while(v!==void 0)if(g=v.value,v=v.prev,g!==void 0){M=g.nextSub;continue e}break}while(!0)}function c(g,M){let v,y=0,x=!1;e:do{let _=g.dep,j=_.flags;if(M.flags&16)x=!0;else if((j&17)===17){if(e(_)){let U=_.subs;if(U.nextSub!==void 0)d(U);x=!0}}else if((j&33)===33){if(g.nextSub!==void 0||g.prevSub!==void 0)v={value:g,prev:v};g=_.deps,M=_,++y;continue}if(!x){let U=g.nextDep;if(U!==void 0){g=U;continue}}while(y--){let U=M.subs,T=U.nextSub!==void 0;if(T)g=v.value,v=v.prev;else g=U;if(x){if(e(M)){if(T)d(U);M=g.sub;continue}x=!1}else M.flags&=-33;M=g.sub;let N=g.nextDep;if(N!==void 0){g=N;continue e}}return x}while(!0)}function d(g){do{let M=g.sub,v=M.flags;if((v&48)===32){if(M.flags=v|16,(v&6)===2)r(M)}}while((g=g.nextSub)!==void 0)}function m(g,M){let v=M.depsTail;while(v!==void 0){if(v===g)return!0;v=v.prevDep}return!1}}function RX(e,r,a){let i=typeof e==="object",s=i?e:void 0;return{next:(i?e.next:e)?.bind(s),error:(i?e.error:r)?.bind(s),complete:(i?e.complete:a)?.bind(s)}}var h6=[],HO=0,{link:CX,unlink:bbe,propagate:_be,checkDirty:PX,shallowPropagate:IX}=kX({update(e){return e._update()},notify(e){h6[g6++]=e,e.flags&=~Ga.Watching},unwatched(e){if(e.depsTail!==void 0)e.depsTail=void 0,e.flags=Ga.Mutable|Ga.Dirty,VO(e)}}),qO=0,g6=0,Ou,M6=0;function yP(e){try{++M6,e()}finally{if(!--M6)v6()}}function VO(e){let r=e.depsTail,a=r!==void 0?r.nextDep:e.deps;while(a!==void 0)a=bbe(a,e)}function v6(){if(M6>0)return;while(qO<g6){let e=h6[qO];h6[qO++]=void 0,e.notify()}qO=0,g6=0}function WO(e,r){let a=typeof e==="function",i=e,s={_snapshot:a?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:a?Ga.None:Ga.Mutable,get(){if(Ou!==void 0)CX(s,Ou,HO);return s._snapshot},subscribe(l){let c=RX(l),d={current:!1},m=wbe(()=>{if(s.get(),!d.current)d.current=!0;else c.next?.(s._snapshot)});return{unsubscribe:()=>{m.stop()}}},_update(l){let c=Ou,d=r?.compare??Object.is;if(a)Ou=s,++HO,s.depsTail=void 0;else if(l===void 0)return!1;if(a)s.flags=Ga.Mutable|Ga.RecursedCheck;try{let m=s._snapshot,g=typeof l==="function"?l(m):l===void 0&&a?i(m):l;if(m===void 0||!d(m,g))return s._snapshot=g,!0;return!1}finally{if(Ou=c,a)s.flags&=~Ga.RecursedCheck;VO(s)}}};if(a)s.flags=Ga.Mutable|Ga.Dirty,s.get=function(){let l=s.flags;if(l&Ga.Dirty||l&Ga.Pending&&PX(s.deps,s)){if(s._update()){let c=s.subs;if(c!==void 0)IX(c)}}else if(l&Ga.Pending)s.flags=l&~Ga.Pending;if(Ou!==void 0)CX(s,Ou,HO);return s._snapshot};else s.set=function(l){if(s._update(l)){let c=s.subs;if(c!==void 0)_be(c),IX(c),v6()}};return s}function wbe(e){let r=()=>{let i=Ou;Ou=a,++HO,a.depsTail=void 0,a.flags=Ga.Watching|Ga.RecursedCheck;try{return e()}finally{Ou=i,a.flags&=~Ga.RecursedCheck,VO(a)}},a={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:Ga.Watching|Ga.RecursedCheck,notify(){let i=this.flags;if(i&Ga.Dirty||i&Ga.Pending&&PX(this.deps,this))r();else this.flags=Ga.Watching},stop(){this.flags=Ga.None,this.depsTail=void 0,VO(this)}};return r(),a}S();S();var Dbe=TX();function Obe(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var jbe=typeof Object.is==="function"?Object.is:Obe,Nbe=Dbe.useSyncExternalStore,Fbe=b,Bbe=h,Ybe=P,Ube=li;var Tc=function(e,r,a,i,s){var l=Fbe(null);if(l.current===null){var c={hasValue:!1,value:null};l.current=c}else c=l.current;l=Ybe(function(){function m(x){if(!g){if(g=!0,M=x,x=i(x),s!==void 0&&c.hasValue){var _=c.value;if(s(_,x))return v=_}return v=x}if(_=v,jbe(M,x))return _;var j=i(x);if(s!==void 0&&s(_,j))return M=x,_;return M=x,v=j}var g=!1,M,v,y=a===void 0?null:a;return[function(){return m(r())},y===null?void 0:function(){return m(y())}]},[r,a,i,s]);var d=Nbe(e,l[0],l[1]);return Bbe(function(){c.hasValue=!0,c.value=d},[d]),Ube(d),d};function qbe(e,r){return e===r}function vn(e,r,a=qbe){let i=D((c)=>{if(!e)return()=>{};let{unsubscribe:d}=e.subscribe(c);return d},[e]),s=D(()=>e?.get(),[e]);return Tc(i,s,s,r,a)}var Hbe={get:()=>{return},subscribe:()=>({unsubscribe:()=>{}})};function Mi(e){let r=ja(),a=dt(e.from?jK:K8),i=e.from??a,s=i?e.from?r.stores.getRouteMatchStore(i):r.stores.matchStores.get(i):void 0;if(Hr??r.isServer){let c=s?.get();if((e.shouldThrow??!0)&&!c)ei();if(c===void 0)return;return e.select?e.select(c):c}let l=b(void 0);return vn(s??Hbe,(c)=>{if((e.shouldThrow??!0)&&!c)ei();if(c===void 0)return;let d=e.select?e.select(c):c;if(e.structuralSharing??r.options.defaultStructuralSharing){let m=Cs(l.current,d);return l.current=m,m}return d})}function nl(e){return Mi({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:(r)=>{let a=e.strict===!1?r.params:r._strictParams;return e.select?e.select(a):a}})}S();var J8=typeof window<"u"?$e:h;function GO(e){let r=b({value:e,prev:null}),a=r.current.value;if(e!==a)r.current={value:e,prev:a};return r.current.prev}function AX(e,r,a={},i={}){h(()=>{if(!e.current||i.disabled||typeof IntersectionObserver!=="function")return;let s=new IntersectionObserver(([l])=>{r(l)},a);return s.observe(e.current),()=>{s.disconnect()}},[r,a,i.disabled,e])}function EX(e){let r=b(null);return dn(e,()=>r.current,[]),r}S();function ke(e){let r=ja();return D((a)=>r.navigate({...a,from:a.from??e?.from}),[e?.from,r])}S();function DX({children:e,fallback:r=null}){return y6()?t(Cn,{children:e}):t(Cn,{children:r})}function y6(){return Yn(Vbe,()=>!0,()=>!1)}function Vbe(){return()=>{}}S();function jX(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(jX)}catch(e){console.error(e)}}S();function OX(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 bP={d:{f:kM,r:function(){throw Error(OX(522))},D:kM,C:kM,L:kM,m:kM,X:kM,S:kM,M:kM},p:0,findDOMNode:null},Wbe=Symbol.for("react.portal");function Gbe(e,r,a){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Wbe,key:i==null?null:""+i,children:e,containerInfo:r,implementation:a}}var b6=Vi;var _6=bP,Ki=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(OX(299));return Gbe(e,r,null,a)},tn=function(e){var r=b6.T,a=bP.p;try{if(b6.T=null,bP.p=2,e)return e()}finally{b6.T=r,bP.p=a,bP.d.f()}};jX();function qX(e,r){let a=ja(),i=EX(r),s=Hr??a.isServer,{activeProps:l,inactiveProps:c,activeOptions:d,to:m,preload:g,preloadDelay:M,preloadIntentProximity:v,hashScrollIntoView:y,replace:x,startTransition:_,resetScroll:j,viewTransition:U,children:T,target:N,disabled:G,style:X,className:J,onClick:ee,onBlur:re,onFocus:oe,onMouseEnter:ie,onMouseLeave:ye,onTouchStart:We,ignoreBlocker:Ye,params:Se,search:He,hash:ut,state:Ke,mask:yt,reloadDocument:At,unsafeRelative:jt,from:de,_fromLocation:bt,...Wt}=e;if(s){let Ge=UX(m);if(typeof m==="string"&&!Ge&&m.indexOf(":")>-1)try{if(new URL(m),Du(m,a.protocolAllowlist))return{...Wt,ref:i,href:void 0,...T&&{children:T},...N&&{target:N},...G&&{disabled:G},...X&&{style:X},...J&&{className:J}};return{...Wt,ref:i,href:m,...T&&{children:T},...N&&{target:N},...G&&{disabled:G},...X&&{style:X},...J&&{className:J}}}catch{}let Pt=a.buildLocation({...e,from:e.from}),br=YX(Pt.maskedLocation?Pt.maskedLocation.publicHref:Pt.publicHref,Pt.maskedLocation?Pt.maskedLocation.external:Pt.external,a.history,G),Fr=(()=>{if(br?.external){if(Du(br.href,a.protocolAllowlist))return;return br.href}if(Ge)return;if(typeof m==="string"&&m.indexOf(":")>-1)try{if(new URL(m),Du(m,a.protocolAllowlist))return;return m}catch{}})(),ao=(()=>{if(Fr)return!1;let Fe=a.stores.location.get(),Zt=d?.exact??!1;if(Zt){if(!AO(Fe.pathname,Pt.pathname,a.basepath))return!1}else{let St=wM(Fe.pathname,a.basepath),Ot=wM(Pt.pathname,a.basepath);if(!(St.startsWith(Ot)&&(St.length===Ot.length||St[Ot.length]==="/")))return!1}if(d?.includeSearch??!0){if(Fe.search!==Pt.search){let St=!Fe.search||typeof Fe.search==="object"&&!MM(Fe.search),Ot=!Pt.search||typeof Pt.search==="object"&&!MM(Pt.search);if(!(St&&Ot)){if(!$l(Fe.search,Pt.search,{partial:!Zt,ignoreUndefined:!d?.explicitUndefined}))return!1}}}if(d?.includeHash)return!1;return!0})();if(Fr)return{...Wt,ref:i,href:Fr,...T&&{children:T},...N&&{target:N},...G&&{disabled:G},...X&&{style:X},...J&&{className:J}};let Vo=ao?rs(l,{})??NX:$L,Aa=ao?$L:rs(c,{})??$L,Ee=(()=>{let Fe=X,Zt=Vo.style,St=Aa.style;if(!Fe&&!Zt&&!St)return;if(Fe&&!Zt&&!St)return Fe;if(!Fe&&Zt&&!St)return Zt;if(!Fe&&!Zt&&St)return St;return{...Fe,...Zt,...St}})(),Oe=(()=>{let Fe=J,Zt=Vo.className,St=Aa.className;if(!Fe&&!Zt&&!St)return"";let Ot="";if(Fe)Ot=Fe;if(Zt)Ot=Ot?`${Ot} ${Zt}`:Zt;if(St)Ot=Ot?`${Ot} ${St}`:St;return Ot})();return{...Wt,...Vo,...Aa,href:br?.href,ref:i,disabled:!!G,target:N,...Ee&&{style:Ee},...Oe&&{className:Oe},...G&&FX,...ao&&BX}}let je=y6(),sr=P(()=>e,[a,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),cr=vn(a.stores.location,(Ge)=>Ge,(Ge,Pt)=>Ge.href===Pt.href),rr=P(()=>{let Ge={_fromLocation:cr,...sr};return a.buildLocation(Ge)},[a,cr,sr]),Or=rr.maskedLocation?rr.maskedLocation.publicHref:rr.publicHref,Gt=rr.maskedLocation?rr.maskedLocation.external:rr.external,Qt=P(()=>YX(Or,Gt,a.history,G),[G,Gt,Or,a.history]),Tr=P(()=>{if(Qt?.external){if(Du(Qt.href,a.protocolAllowlist))return;return Qt.href}if(UX(m))return;if(typeof m!=="string"||m.indexOf(":")===-1)return;try{if(new URL(m),Du(m,a.protocolAllowlist))return;return m}catch{}},[m,Qt,a.protocolAllowlist]),Cr=P(()=>{if(Tr)return!1;if(d?.exact){if(!AO(cr.pathname,rr.pathname,a.basepath))return!1}else{let Ge=wM(cr.pathname,a.basepath),Pt=wM(rr.pathname,a.basepath);if(!(Ge.startsWith(Pt)&&(Ge.length===Pt.length||Ge[Pt.length]==="/")))return!1}if(d?.includeSearch??!0){if(!$l(cr.search,rr.search,{partial:!d?.exact,ignoreUndefined:!d?.explicitUndefined}))return!1}if(d?.includeHash)return je&&cr.hash===rr.hash;return!0},[d?.exact,d?.explicitUndefined,d?.includeHash,d?.includeSearch,cr,Tr,je,rr.hash,rr.pathname,rr.search,a.basepath]),Ar=Cr?rs(l,{})??NX:$L,dr=Cr?$L:rs(c,{})??$L,uo=[J,Ar.className,dr.className].filter(Boolean).join(" "),lo=(X||Ar.style||dr.style)&&{...X,...Ar.style,...dr.style},[da,ir]=u(!1),io=b(!1),Yr=e.reloadDocument||Tr?!1:g??a.options.defaultPreload,To=M??a.options.defaultPreloadDelay??0,an=D(()=>{a.preloadRoute({...sr,_builtLocation:rr}).catch((Ge)=>{console.warn(Ge),console.warn(p6)})},[a,sr,rr]);AX(i,D((Ge)=>{if(Ge?.isIntersecting)an()},[an]),Xbe,{disabled:!!G||Yr!=="viewport"}),h(()=>{if(io.current)return;if(!G&&Yr==="render")an(),io.current=!0},[G,an,Yr]);let Ho=(Ge)=>{let Pt=Ge.currentTarget.getAttribute("target"),br=N!==void 0?N:Pt;if(!G&&!Qbe(Ge)&&!Ge.defaultPrevented&&(!br||br==="_self")&&Ge.button===0){Ge.preventDefault(),tn(()=>{ir(!0)});let Fr=a.subscribe("onResolved",()=>{Fr(),ir(!1)});a.navigate({...sr,replace:x,resetScroll:j,hashScrollIntoView:y,startTransition:_,viewTransition:U,ignoreBlocker:Ye})}};if(Tr)return{...Wt,ref:i,href:Tr,...T&&{children:T},...N&&{target:N},...G&&{disabled:G},...X&&{style:X},...J&&{className:J},...ee&&{onClick:ee},...re&&{onBlur:re},...oe&&{onFocus:oe},...ie&&{onMouseEnter:ie},...ye&&{onMouseLeave:ye},...We&&{onTouchStart:We}};let En=(Ge)=>{if(G||Yr!=="intent")return;if(!To){an();return}let Pt=Ge.currentTarget;if(_P.has(Pt))return;let br=setTimeout(()=>{_P.delete(Pt),an()},To);_P.set(Pt,br)},sn=(Ge)=>{if(G||Yr!=="intent")return;an()},Bi=(Ge)=>{if(G||!Yr||!To)return;let Pt=Ge.currentTarget,br=_P.get(Pt);if(br)clearTimeout(br),_P.delete(Pt)};return{...Wt,...Ar,...dr,href:Qt?.href,ref:i,onClick:ek([ee,Ho]),onBlur:ek([re,Bi]),onFocus:ek([oe,En]),onMouseEnter:ek([ie,En]),onMouseLeave:ek([ye,Bi]),onTouchStart:ek([We,sn]),disabled:!!G,target:N,...lo&&{style:lo},...uo&&{className:uo},...G&&FX,...Cr&&BX,...je&&da&&Kbe}}var $L={},NX={className:"active"},FX={role:"link","aria-disabled":!0},BX={"data-status":"active","aria-current":"page"},Kbe={"data-transitioning":"transitioning"},_P=new WeakMap,Xbe={rootMargin:"100px"},ek=(e)=>(r)=>{for(let a of e){if(!a)continue;if(r.defaultPrevented)return;a(r)}};function YX(e,r,a,i){if(i)return;if(r)return{href:e,external:!0};return{href:a.createHref(e)||"/",external:!1}}function UX(e){if(typeof e!=="string")return!1;let r=e.charCodeAt(0);if(r===47)return e.charCodeAt(1)!==47;return r===46}var Un=O((e,r)=>{let{_asChild:a,...i}=e,{type:s,...l}=qX(i,r),c=typeof i.children==="function"?i.children({isActive:l["data-status"]==="active"}):i.children;if(!a){let{disabled:d,...m}=l;return q("a",m,c)}return q(a,l,c)});function Qbe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function wP(e){return Mi({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:(r)=>e.select?e.select(r.loaderData):r.loaderData})}function zP(e){let{select:r,...a}=e;return Mi({...a,select:(i)=>r?r(i.loaderDeps):i.loaderDeps})}function SP(e){return Mi({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:(r)=>e.select?e.select(r.search):r.search})}function LP(e){return Mi({...e,select:(r)=>e.select?e.select(r.context):r.context})}S();var HX=class extends UO{constructor(e){super(e);this.useMatch=(r)=>Mi({select:r?.select,from:this.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>LP({...r,from:this.id}),this.useSearch=(r)=>SP({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useParams=(r)=>nl({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useLoaderDeps=(r)=>zP({...r,from:this.id}),this.useLoaderData=(r)=>wP({...r,from:this.id}),this.useNavigate=()=>ke({from:this.fullPath}),this.Link=O((r,a)=>t(Un,{ref:a,from:this.fullPath,...r}))}};function w6(e){return new HX(e)}function z6(){return(e)=>WX(e)}var VX=class extends m6{constructor(e){super(e);this.useMatch=(r)=>Mi({select:r?.select,from:this.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>LP({...r,from:this.id}),this.useSearch=(r)=>SP({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useParams=(r)=>nl({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useLoaderDeps=(r)=>zP({...r,from:this.id}),this.useLoaderData=(r)=>wP({...r,from:this.id}),this.useNavigate=()=>ke({from:this.fullPath}),this.Link=O((r,a)=>t(Un,{ref:a,from:this.fullPath,...r}))}};function WX(e){return new VX(e)}function Wr(e){return new GX(e,{silent:!0}).createRoute}var GX=class{constructor(e,r){this.path=e,this.createRoute=(a)=>{let i=w6(a);return i.isRoot=!1,i},this.silent=r?.silent}};var S6=class{constructor(e){this.useMatch=(r)=>Mi({select:r?.select,from:this.options.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>LP({...r,from:this.options.id}),this.useSearch=(r)=>SP({select:r?.select,structuralSharing:r?.structuralSharing,from:this.options.id}),this.useParams=(r)=>nl({select:r?.select,structuralSharing:r?.structuralSharing,from:this.options.id}),this.useLoaderDeps=(r)=>zP({...r,from:this.options.id}),this.useLoaderData=(r)=>wP({...r,from:this.options.id}),this.useNavigate=()=>ke({from:ja().routesById[this.options.id].fullPath}),this.options=e}};function ze(e){if(typeof e==="object")return new S6(e);return(r)=>new S6({id:e,...r})}S();function $8(e){let r=e.errorComponent??ez;return t(Jbe,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:a,reset:i})=>{if(a)return q(r,{error:a,reset:i});return e.children}})}var Jbe=class extends Rs{constructor(...e){super(...e);this.state={error:null}}static getDerivedStateFromProps(e,r){let a=e.getResetKey();if(r.error&&r.resetKey!==a)return{resetKey:a,error:null};return{resetKey:a}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,r){if(this.props.onCatch)this.props.onCatch(e,r)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function ez({error:e}){let[r,a]=u(!1);return o("div",{style:{padding:".5rem",maxWidth:"100%"},children:[o("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[t("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),t("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>a((i)=>!i),children:r?"Hide Error":"Show Error"})]}),t("div",{style:{height:".25rem"}}),r?t("div",{children:t("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e.message?t("code",{children:e.message}):null})}):null]})}S();function KX(e){let r=ja();if(Hr??r.isServer){let i=`not-found-${r.stores.location.get().pathname}-${r.stores.status.get()}`;return t($8,{getResetKey:()=>i,onCatch:(s,l)=>{if(Wa(s))e.onCatch?.(s,l);else throw s},errorComponent:({error:s})=>{if(Wa(s))return e.fallback?.(s);else throw s},children:e.children})}let a=`not-found-${vn(r.stores.location,(i)=>i.pathname)}-${vn(r.stores.status,(i)=>i)}`;return t($8,{getResetKey:()=>a,onCatch:(i,s)=>{if(Wa(i))e.onCatch?.(i,s);else throw i},errorComponent:({error:i})=>{if(Wa(i))return e.fallback?.(i);else throw i},children:e.children})}function XX(){return t("p",{children:"Not Found"})}S();function CM(e){return t(L,{children:e.children})}S();function KO(e,r,a){if(!r.options.notFoundComponent){if(e.options.defaultNotFoundComponent)return t(e.options.defaultNotFoundComponent,{...a});return t(XX,{})}return t(r.options.notFoundComponent,{...a})}function QX({children:e}){let r=ja();if(!(Hr??r.isServer))return null;return t("script",{nonce:r.options.ssr?.nonce,dangerouslySetInnerHTML:{__html:e+";document.currentScript.remove()"}})}function JX(e){return null}function $X(){let e=JX(ja());if(!e)return null;return t(QX,{children:e})}S();var XO=Bn(function({matchId:r}){let a=ja();if(Hr??a.isServer){let c=a.stores.matchStores.get(r)?.get();if(!c)ei();let d=c.routeId,m=a.routesById[d].parentRoute?.id;return t(eQ,{router:a,matchId:r,resetKey:a.stores.loadedAt.get(),matchState:{routeId:d,ssr:c.ssr,_displayPending:c._displayPending,parentRouteId:m}})}let i=a.stores.matchStores.get(r);if(!i)ei();let s=vn(a.stores.loadedAt,(c)=>c),l=vn(i,(c)=>c);return t(eQ,{router:a,matchId:r,resetKey:s,matchState:P(()=>{let c=l.routeId,d=a.routesById[c].parentRoute?.id;return{routeId:c,ssr:l.ssr,_displayPending:l._displayPending,parentRouteId:d}},[l._displayPending,l.routeId,l.ssr,a.routesById])})});function eQ({router:e,matchId:r,resetKey:a,matchState:i}){let s=e.routesById[i.routeId],l=s.options.pendingComponent??e.options.defaultPendingComponent,c=l?t(l,{}):null,d=s.options.errorComponent??e.options.defaultErrorComponent,m=s.options.onCatch??e.options.defaultOnCatch,g=s.isRoot?s.options.notFoundComponent??e.options.notFoundRoute?.options.component:s.options.notFoundComponent,M=i.ssr===!1||i.ssr==="data-only",v=(!s.isRoot||s.options.wrapInSuspense||M)&&(s.options.wrapInSuspense??l??(s.options.errorComponent?.preload||M))?ai:CM,y=d?$8:CM,x=g?KX:CM;return o(s.isRoot?s.options.shellComponent??CM:CM,{children:[t(K8.Provider,{value:r,children:t(v,{fallback:c,children:t(y,{getResetKey:()=>a,errorComponent:d||ez,onCatch:(_,j)=>{if(Wa(_))throw _.routeId??=i.routeId,_;m?.(_,j)},children:t(x,{fallback:(_)=>{if(_.routeId??=i.routeId,!g||_.routeId&&_.routeId!==i.routeId||!_.routeId&&!s.isRoot)throw _;return q(g,_)},children:M||i._displayPending?t(DX,{fallback:c,children:t(tQ,{matchId:r})}):t(tQ,{matchId:r})})})})}),i.parentRouteId===os?o(L,{children:[t($be,{resetKey:a}),e.options.scrollRestoration&&(Hr??e.isServer)?t($X,{}):null]}):null]})}function $be({resetKey:e}){let r=ja();if(Hr??r.isServer)return null;let a=b(void 0);return J8(()=>{let i=r.latestLocation.href;if(a.current===void 0||a.current!==i)r.emit({type:"onRendered",...LZ(r.stores.location.get(),r.stores.resolvedLocation.get())}),a.current=i},[r.latestLocation.state.__TSR_key,e,r]),null}var tQ=Bn(function({matchId:r}){let a=ja(),i=(M,v)=>a.getMatch(M.id)?._nonReactive[v]??M._nonReactive[v];if(Hr??a.isServer){let M=a.stores.matchStores.get(r)?.get();if(!M)ei();let v=M.routeId,y=a.routesById[v],x=(a.routesById[v].options.remountDeps??a.options.defaultRemountDeps)?.({routeId:v,loaderDeps:M.loaderDeps,params:M._strictParams,search:M._strictSearch}),_=x?JSON.stringify(x):void 0,j=y.options.component??a.options.defaultComponent,U=j?t(j,{},_):t(IM,{});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(!Wa(M.error))ei();return KO(a,y,M.error)}if(M.status==="redirected"){if(!ti(M.error))ei();throw i(M,"loadPromise")}if(M.status==="error")return t((y.options.errorComponent??a.options.defaultErrorComponent)||ez,{error:M.error,reset:void 0,info:{componentStack:""}});return U}let s=a.stores.matchStores.get(r);if(!s)ei();let l=vn(s,(M)=>M),c=l.routeId,d=a.routesById[c],m=P(()=>{let M=(a.routesById[c].options.remountDeps??a.options.defaultRemountDeps)?.({routeId:c,loaderDeps:l.loaderDeps,params:l._strictParams,search:l._strictSearch});return M?JSON.stringify(M):void 0},[c,l.loaderDeps,l._strictParams,l._strictSearch,a.options.defaultRemountDeps,a.routesById]),g=P(()=>{let M=d.options.component??a.options.defaultComponent;if(M)return t(M,{},m);return t(IM,{})},[m,d.options.component,a.options.defaultComponent]);if(l._displayPending)throw i(l,"displayPendingPromise");if(l._forcePending)throw i(l,"minPendingPromise");if(l.status==="pending"){let M=d.options.pendingMinMs??a.options.defaultPendingMinMs;if(M){let v=a.getMatch(l.id);if(v&&!v._nonReactive.minPendingPromise){if(!(Hr??a.isServer)){let y=Ec();v._nonReactive.minPendingPromise=y,setTimeout(()=>{y.resolve(),v._nonReactive.minPendingPromise=void 0},M)}}}throw i(l,"loadPromise")}if(l.status==="notFound"){if(!Wa(l.error))ei();return KO(a,d,l.error)}if(l.status==="redirected"){if(!ti(l.error))ei();throw i(l,"loadPromise")}if(l.status==="error"){if(Hr??a.isServer)return t((d.options.errorComponent??a.options.defaultErrorComponent)||ez,{error:l.error,reset:void 0,info:{componentStack:""}});throw l.error}return g}),IM=Bn(function(){let r=ja(),a=dt(K8),i,s=!1,l;if(Hr??r.isServer){let g=r.stores.matches.get(),M=a?g.findIndex((y)=>y.id===a):-1,v=M>=0?g[M]:void 0;i=v?.routeId,s=v?.globalNotFound??!1,l=M>=0?g[M+1]?.id:void 0}else{let g=a?r.stores.matchStores.get(a):void 0;[i,s]=vn(g,(M)=>[M?.routeId,M?.globalNotFound??!1]),l=vn(r.stores.matchesId,(M)=>M[M.findIndex((v)=>v===a)+1])}let c=i?r.routesById[i]:void 0,d=r.options.defaultPendingComponent?t(r.options.defaultPendingComponent,{}):null;if(s){if(!c)ei();return KO(r,c,void 0)}if(!l)return null;let m=t(XO,{matchId:l});if(i===os)return t(ai,{fallback:d,children:m});return m});var rQ=(e)=>{if(Hr??e.isServer)return{createMutableStore:i6,createReadonlyStore:f6,batch:(r)=>r()};return{createMutableStore:WO,createReadonlyStore:WO,batch:yP}};var L6=(e)=>new oQ(e),oQ=class extends Z6{constructor(e){super(e,rQ)}};S();function aQ(){let e=ja(),r=b({router:e,mounted:!1}),[a,i]=u(!1),s=vn(e.stores.isLoading,(v)=>v),l=vn(e.stores.hasPending,(v)=>v),c=GO(s),d=s||a||l,m=GO(d),g=s||l,M=GO(g);return e.startTransition=(v)=>{i(!0),jL(()=>{v(),i(!1)})},h(()=>{let v=e.history.subscribe(e.load),y=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(Is(e.latestLocation.publicHref)!==Is(y.publicHref))e.commitLocation({...y,replace:!0});return()=>{v()}},[e,e.history]),J8(()=>{if(typeof window<"u"&&e.ssr||r.current.router===e&&r.current.mounted)return;r.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(y){console.error(y)}})()},[e]),J8(()=>{if(c&&!s)e.emit({type:"onLoad",...LZ(e.stores.location.get(),e.stores.resolvedLocation.get())})},[c,e,s]),J8(()=>{if(M&&!g)e.emit({type:"onBeforeRouteMount",...LZ(e.stores.location.get(),e.stores.resolvedLocation.get())})},[g,M,e]),J8(()=>{if(m&&!d){let v=LZ(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:"onResolved",...v}),yP(()=>{e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())})}},[d,m,e]),null}S();function nQ(){let e=ja(),r=e.routesById[os].options.pendingComponent??e.options.defaultPendingComponent,a=r?t(r,{}):null,i=o((Hr??e.isServer)||typeof document<"u"&&e.ssr?CM:ai,{fallback:a,children:[!(Hr??e.isServer)&&t(aQ,{}),t(e_e,{})]});return e.options.InnerWrap?t(e.options.InnerWrap,{children:i}):i}function e_e(){let e=ja(),r=Hr??e.isServer,a=r?e.stores.firstId.get():vn(e.stores.firstId,(l)=>l),i=r?e.stores.loadedAt.get():vn(e.stores.loadedAt,(l)=>l),s=a?t(XO,{matchId:a}):null;return t(K8.Provider,{value:a,children:e.options.disableGlobalCatchBoundary?s:t($8,{getResetKey:()=>i,errorComponent:ez,onCatch:void 0,children:s})})}S();function iQ({router:e,children:r,...a}){if(MM(a))e.update({...e.options,...a,context:{...e.options.context,...a.context}});let i=t(kO.Provider,{value:e,children:r});if(e.options.Wrap)return t(e.options.Wrap,{children:i});return i}function k6({router:e,...r}){return t(iQ,{router:e,...r,children:t(nQ,{})})}S();function tz(e){let r=ja({warn:e?.router===void 0}),a=e?.router||r;if(Hr??a.isServer){let s=a.stores.__store.get();return e?.select?e.select(s):s}let i=b(void 0);return vn(a.stores.__store,(s)=>{if(e?.select){if(e.structuralSharing??a.options.defaultStructuralSharing){let l=Cs(i.current,e.select(s));return i.current=l,l}return e.select(s)}return s})}S();function yte(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(yte)}catch(e){console.error(e)}}Qu();S();function Yt(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 r_e(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function RT(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 FJ(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 BJ(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 gQ(e){if(RT(e)!==e)throw Error(Yt(188))}function o_e(e){var r=e.alternate;if(!r){if(r=RT(e),r===null)throw Error(Yt(188));return r!==e?null:e}for(var a=e,i=r;;){var s=a.return;if(s===null)break;var l=s.alternate;if(l===null){if(i=s.return,i!==null){a=i;continue}break}if(s.child===l.child){for(l=s.child;l;){if(l===a)return gQ(s),e;if(l===i)return gQ(s),r;l=l.sibling}throw Error(Yt(188))}if(a.return!==i.return)a=s,i=l;else{for(var c=!1,d=s.child;d;){if(d===a){c=!0,a=s,i=l;break}if(d===i){c=!0,i=s,a=l;break}d=d.sibling}if(!c){for(d=l.child;d;){if(d===a){c=!0,a=l,i=s;break}if(d===i){c=!0,i=l,a=s;break}d=d.sibling}if(!c)throw Error(Yt(189))}}if(a.alternate!==i)throw Error(Yt(190))}if(a.tag!==3)throw Error(Yt(188));return a.stateNode.current===a?e:r}function YJ(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e;for(e=e.child;e!==null;){if(r=YJ(e),r!==null)return r;e=e.sibling}return null}var Qa=Object.assign,a_e=Symbol.for("react.element"),aj=Symbol.for("react.transitional.element"),OP=Symbol.for("react.portal"),sk=Symbol.for("react.fragment"),UJ=Symbol.for("react.strict_mode"),hB=Symbol.for("react.profiler"),qJ=Symbol.for("react.consumer"),DZ=Symbol.for("react.context"),ZY=Symbol.for("react.forward_ref"),gB=Symbol.for("react.suspense"),MB=Symbol.for("react.suspense_list"),pY=Symbol.for("react.memo"),PM=Symbol.for("react.lazy"),vB=Symbol.for("react.activity"),n_e=Symbol.for("react.memo_cache_sentinel"),MQ=Symbol.iterator;function RP(e){if(e===null||typeof e!=="object")return null;return e=MQ&&e[MQ]||e["@@iterator"],typeof e==="function"?e:null}var i_e=Symbol.for("react.client.reference");function xB(e){if(e==null)return null;if(typeof e==="function")return e.$$typeof===i_e?null:e.displayName||e.name||null;if(typeof e==="string")return e;switch(e){case sk:return"Fragment";case hB:return"Profiler";case UJ:return"StrictMode";case gB:return"Suspense";case MB:return"SuspenseList";case vB:return"Activity"}if(typeof e==="object")switch(e.$$typeof){case OP:return"Portal";case DZ:return e.displayName||"Context";case qJ:return(e._context.displayName||"Context")+".Consumer";case ZY:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case pY:return r=e.displayName||null,r!==null?r:xB(e.type)||"Memo";case PM:r=e._payload,e=e._init;try{return xB(e(r))}catch(a){}}return null}var jP=Array.isArray,qr=Vi,Bo=_6,lz={pending:!1,data:null,method:null,action:null},yB=[],lk=-1;function oZ(e){return{current:e}}function Ri(e){0>lk||(e.current=yB[lk],yB[lk]=null,lk--)}function Ya(e,r){lk++,yB[lk]=e.current,e.current=r}var rZ=oZ(null),gT=oZ(null),UM=oZ(null),Aj=oZ(null);function Ej(e,r){switch(Ya(UM,r),Ya(gT,e),Ya(rZ,null),r.nodeType){case 9:case 11:e=(e=r.documentElement)?(e=e.namespaceURI)?_J(e):0:0;break;default:if(e=r.tagName,r=r.namespaceURI)r=_J(r),e=lte(r,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Ri(rZ),Ya(rZ,e)}function Lk(){Ri(rZ),Ri(gT),Ri(UM)}function bB(e){e.memoizedState!==null&&Ya(Aj,e);var r=rZ.current,a=lte(r,e.type);r!==a&&(Ya(gT,e),Ya(rZ,a))}function Dj(e){gT.current===e&&(Ri(rZ),Ri(gT)),Aj.current===e&&(Ri(Aj),kT._currentValue=lz)}var j6,vQ;function az(e){if(j6===void 0)try{throw Error()}catch(a){var r=a.stack.trim().match(/\n( *(at )?)/);j6=r&&r[1]||"",vQ=-1<a.stack.indexOf(`
3
+ at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
4
+ `+j6+e+vQ}var N6=!1;function F6(e,r){if(!e||N6)return"";N6=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(r){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(x){var y=x}Reflect.construct(e,[],v)}else{try{v.call()}catch(x){y=x}e.call(v.prototype)}}else{try{throw Error()}catch(x){y=x}(v=e())&&typeof v.catch==="function"&&v.catch(function(){})}}catch(x){if(x&&y&&typeof x.stack==="string")return[x.stack,y.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var l=i.DetermineComponentFrameRoot(),c=l[0],d=l[1];if(c&&d){var m=c.split(`
5
+ `),g=d.split(`
6
+ `);for(s=i=0;i<m.length&&!m[i].includes("DetermineComponentFrameRoot");)i++;for(;s<g.length&&!g[s].includes("DetermineComponentFrameRoot");)s++;if(i===m.length||s===g.length)for(i=m.length-1,s=g.length-1;1<=i&&0<=s&&m[i]!==g[s];)s--;for(;1<=i&&0<=s;i--,s--)if(m[i]!==g[s]){if(i!==1||s!==1)do if(i--,s--,0>s||m[i]!==g[s]){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<=s);break}}}finally{N6=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?az(a):""}function f_e(e,r){switch(e.tag){case 26:case 27:case 5:return az(e.type);case 16:return az("Lazy");case 13:return e.child!==r&&r!==null?az("Suspense Fallback"):az("Suspense");case 19:return az("SuspenseList");case 0:case 15:return F6(e.type,!1);case 11:return F6(e.type.render,!1);case 1:return F6(e.type,!0);case 31:return az("Activity");default:return""}}function xQ(e){try{var r="",a=null;do r+=f_e(e,a),a=e,e=e.return;while(e);return r}catch(i){return`
8
+ Error generating stack: `+i.message+`
9
+ `+i.stack}}var _B=Object.prototype.hasOwnProperty,mY=Ds,B6=dl,s_e=pl,l_e=fl,Ll=Jn,c_e=oj,HJ=cl,VJ=ul,Oj=Ps,u_e=rj,WJ=Wi,d_e=void 0,Z_e=void 0,PT=null,Ol=null;function jM(e){if(typeof d_e==="function"&&Z_e(e),Ol&&typeof Ol.setStrictMode==="function")try{Ol.setStrictMode(PT,e)}catch(r){}}var jl=Math.clz32?Math.clz32:h_e,{log:p_e,LN2:m_e}=Math;function h_e(e){return e>>>=0,e===0?32:31-(p_e(e)/m_e|0)|0}var nj=256,ij=262144,fj=4194304;function nz(e){var r=e&42;if(r!==0)return r;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function lN(e,r,a){var i=e.pendingLanes;if(i===0)return 0;var s=0,l=e.suspendedLanes,c=e.pingedLanes;e=e.warmLanes;var d=i&134217727;return d!==0?(i=d&~l,i!==0?s=nz(i):(c&=d,c!==0?s=nz(c):a||(a=d&~e,a!==0&&(s=nz(a))))):(d=i&~l,d!==0?s=nz(d):c!==0?s=nz(c):a||(a=i&~e,a!==0&&(s=nz(a)))),s===0?0:r!==0&&r!==s&&(r&l)===0&&(l=s&-s,a=r&-r,l>=a||l===32&&(a&4194048)!==0)?r:s}function TT(e,r){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&r)===0}function g_e(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 GJ(){var e=fj;return fj<<=1,(fj&62914560)===0&&(fj=4194304),e}function Y6(e){for(var r=[],a=0;31>a;a++)r.push(e);return r}function cN(e,r){e.pendingLanes|=r,r!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function M_e(e,r,a,i,s,l){var c=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:d,expirationTimes:m,hiddenUpdates:g}=e;for(a=c&~a;0<a;){var M=31-jl(a),v=1<<M;d[M]=0,m[M]=-1;var y=g[M];if(y!==null)for(g[M]=null,M=0;M<y.length;M++){var x=y[M];x!==null&&(x.lane&=-536870913)}a&=~v}i!==0&&KJ(e,i,0),l!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=l&~(c&~r))}function KJ(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 XJ(e,r){var a=e.entangledLanes|=r;for(e=e.entanglements;a;){var i=31-jl(a),s=1<<i;s&r|e[i]&r&&(e[i]|=r),a&=~s}}function QJ(e,r){var a=r&-r;return a=(a&42)!==0?1:JJ(a),(a&(e.suspendedLanes|r))!==0?0:a}function JJ(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 hY(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function $J(){var e=Bo.p;if(e!==0)return e;return e=window.event,e===void 0?32:Mte(e.type)}function yQ(e,r){var a=Bo.p;try{return Bo.p=e,r()}finally{Bo.p=a}}var e8=Math.random().toString(36).slice(2),qi="__reactFiber$"+e8,Vs="__reactProps$"+e8,AT="__reactContainer$"+e8,wB="__reactEvents$"+e8,v_e="__reactListeners$"+e8,x_e="__reactHandles$"+e8,bQ="__reactResources$"+e8,ET="__reactMarker$"+e8;function gY(e){delete e[qi],delete e[Vs],delete e[wB],delete e[v_e],delete e[x_e]}function ck(e){var r=e[qi];if(r)return r;for(var a=e.parentNode;a;){if(r=a[AT]||a[qi]){if(a=r.alternate,r.child!==null||a!==null&&a.child!==null)for(e=kJ(e);e!==null;){if(a=e[qi])return a;e=kJ(e)}return r}e=a,a=e.parentNode}return null}function jk(e){if(e=e[qi]||e[AT]){var r=e.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return e}return null}function NP(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e.stateNode;throw Error(Yt(33))}function xk(e){var r=e[bQ];return r||(r=e[bQ]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function Ii(e){e[ET]=!0}var e$=new Set,t$={};function yz(e,r){kk(e,r),kk(e+"Capture",r)}function kk(e,r){t$[e]=r;for(e=0;e<r.length;e++)e$.add(r[e])}var y_e=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]*$"),_Q={},wQ={};function b_e(e){if(_B.call(wQ,e))return!0;if(_B.call(_Q,e))return!1;if(y_e.test(e))return wQ[e]=!0;return _Q[e]=!0,!1}function Mj(e,r,a){if(b_e(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 sj(e,r,a){if(a===null)e.removeAttribute(r);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttribute(r,""+a)}}function CZ(e,r,a,i){if(i===null)e.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(r,a,""+i)}}function rc(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function r$(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function __e(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:s,set:l}=i;return Object.defineProperty(e,r,{configurable:!0,get:function(){return s.call(this)},set:function(c){a=""+c,l.call(this,c)}}),Object.defineProperty(e,r,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(c){a=""+c},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function zB(e){if(!e._valueTracker){var r=r$(e)?"checked":"value";e._valueTracker=__e(e,r,""+e[r])}}function o$(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var a=r.getValue(),i="";return e&&(i=r$(e)?e.checked?"true":"false":e.value),e=i,e!==a?(r.setValue(e),!0):!1}function jj(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 w_e=/[\n"\\]/g;function nc(e){return e.replace(w_e,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function SB(e,r,a,i,s,l,c,d){if(e.name="",c!=null&&typeof c!=="function"&&typeof c!=="symbol"&&typeof c!=="boolean"?e.type=c:e.removeAttribute("type"),r!=null)if(c==="number"){if(r===0&&e.value===""||e.value!=r)e.value=""+rc(r)}else e.value!==""+rc(r)&&(e.value=""+rc(r));else c!=="submit"&&c!=="reset"||e.removeAttribute("value");r!=null?LB(e,c,rc(r)):a!=null?LB(e,c,rc(a)):i!=null&&e.removeAttribute("value"),s==null&&l!=null&&(e.defaultChecked=!!l),s!=null&&(e.checked=s&&typeof s!=="function"&&typeof s!=="symbol"),d!=null&&typeof d!=="function"&&typeof d!=="symbol"&&typeof d!=="boolean"?e.name=""+rc(d):e.removeAttribute("name")}function a$(e,r,a,i,s,l,c,d){if(l!=null&&typeof l!=="function"&&typeof l!=="symbol"&&typeof l!=="boolean"&&(e.type=l),r!=null||a!=null){if(!(l!=="submit"&&l!=="reset"||r!==void 0&&r!==null)){zB(e);return}a=a!=null?""+rc(a):"",r=r!=null?""+rc(r):a,d||r===e.value||(e.value=r),e.defaultValue=r}i=i!=null?i:s,i=typeof i!=="function"&&typeof i!=="symbol"&&!!i,e.checked=d?e.checked:!!i,e.defaultChecked=!!i,c!=null&&typeof c!=="function"&&typeof c!=="symbol"&&typeof c!=="boolean"&&(e.name=c),zB(e)}function LB(e,r,a){r==="number"&&jj(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function yk(e,r,a,i){if(e=e.options,r){r={};for(var s=0;s<a.length;s++)r["$"+a[s]]=!0;for(a=0;a<e.length;a++)s=r.hasOwnProperty("$"+e[a].value),e[a].selected!==s&&(e[a].selected=s),s&&i&&(e[a].defaultSelected=!0)}else{a=""+rc(a),r=null;for(s=0;s<e.length;s++){if(e[s].value===a){e[s].selected=!0,i&&(e[s].defaultSelected=!0);return}r!==null||e[s].disabled||(r=e[s])}r!==null&&(r.selected=!0)}}function n$(e,r,a){if(r!=null&&(r=""+rc(r),r!==e.value&&(e.value=r),a==null)){e.defaultValue!==r&&(e.defaultValue=r);return}e.defaultValue=a!=null?""+rc(a):""}function i$(e,r,a,i){if(r==null){if(i!=null){if(a!=null)throw Error(Yt(92));if(jP(i)){if(1<i.length)throw Error(Yt(93));i=i[0]}a=i}a==null&&(a=""),r=a}a=rc(r),e.defaultValue=a,i=e.textContent,i===a&&i!==""&&i!==null&&(e.value=i),zB(e)}function Ck(e,r){if(r){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=r;return}}e.textContent=r}var z_e=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 zQ(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||z_e.has(r)?r==="float"?e.cssFloat=a:e[r]=(""+a).trim():e[r]=a+"px"}function f$(e,r,a){if(r!=null&&typeof r!=="object")throw Error(Yt(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 s in r)i=r[s],r.hasOwnProperty(s)&&a[s]!==i&&zQ(e,s,i)}else for(var l in r)r.hasOwnProperty(l)&&zQ(e,l,r[l])}function MY(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 S_e=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"]]),L_e=/^[\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 vj(e){return L_e.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function OZ(){}var kB=null;function vY(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var uk=null,bk=null;function SQ(e){var r=jk(e);if(r&&(e=r.stateNode)){var a=e[Vs]||null;e:switch(e=r.stateNode,r.type){case"input":if(SB(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="'+nc(""+r)+'"][type="radio"]');for(r=0;r<a.length;r++){var i=a[r];if(i!==e&&i.form===e.form){var s=i[Vs]||null;if(!s)throw Error(Yt(90));SB(i,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(r=0;r<a.length;r++)i=a[r],i.form===e.form&&o$(i)}break e;case"textarea":n$(e,a.value,a.defaultValue);break e;case"select":r=a.value,r!=null&&yk(e,!!a.multiple,r,!1)}}}var U6=!1;function s$(e,r,a){if(U6)return e(r,a);U6=!0;try{var i=e(r);return i}finally{if(U6=!1,uk!==null||bk!==null){if(bN(),uk&&(r=uk,e=bk,bk=uk=null,SQ(r),e))for(r=0;r<e.length;r++)SQ(e[r])}}}function MT(e,r){var a=e.stateNode;if(a===null)return null;var i=a[Vs]||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(Yt(231,r,typeof a));return a}var YZ=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),CB=!1;if(YZ)try{iz={},Object.defineProperty(iz,"passive",{get:function(){CB=!0}}),window.addEventListener("test",iz,iz),window.removeEventListener("test",iz,iz)}catch(e){CB=!1}var iz,NM=null,xY=null,xj=null;function l$(){if(xj)return xj;var e,r=xY,a=r.length,i,s="value"in NM?NM.value:NM.textContent,l=s.length;for(e=0;e<a&&r[e]===s[e];e++);var c=a-e;for(i=1;i<=c&&r[a-i]===s[l-i];i++);return xj=s.slice(e,1<i?1-i:void 0)}function yj(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 lj(){return!0}function LQ(){return!1}function Ws(e){function r(a,i,s,l,c){this._reactName=a,this._targetInst=s,this.type=i,this.nativeEvent=l,this.target=c,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(a=e[d],this[d]=a?a(l):l[d]);return this.isDefaultPrevented=(l.defaultPrevented!=null?l.defaultPrevented:l.returnValue===!1)?lj:LQ,this.isPropagationStopped=LQ,this}return Qa(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=lj)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!=="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=lj)},persist:function(){},isPersistent:lj}),r}var bz={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},uN=Ws(bz),DT=Qa({},bz,{view:0,detail:0}),k_e=Ws(DT),q6,H6,PP,dN=Qa({},DT,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yY,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!==PP&&(PP&&e.type==="mousemove"?(q6=e.screenX-PP.screenX,H6=e.screenY-PP.screenY):H6=q6=0,PP=e),q6},movementY:function(e){return"movementY"in e?e.movementY:H6}}),kQ=Ws(dN),C_e=Qa({},dN,{dataTransfer:0}),I_e=Ws(C_e),R_e=Qa({},DT,{relatedTarget:0}),V6=Ws(R_e),P_e=Qa({},bz,{animationName:0,elapsedTime:0,pseudoElement:0}),T_e=Ws(P_e),A_e=Qa({},bz,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),E_e=Ws(A_e),D_e=Qa({},bz,{data:0}),CQ=Ws(D_e),O_e={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},j_e={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"},N_e={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function F_e(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=N_e[e])?!!r[e]:!1}function yY(){return F_e}var B_e=Qa({},DT,{key:function(e){if(e.key){var r=O_e[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=yj(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?j_e[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yY,charCode:function(e){return e.type==="keypress"?yj(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?yj(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Y_e=Ws(B_e),U_e=Qa({},dN,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),IQ=Ws(U_e),q_e=Qa({},DT,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yY}),H_e=Ws(q_e),V_e=Qa({},bz,{propertyName:0,elapsedTime:0,pseudoElement:0}),W_e=Ws(V_e),G_e=Qa({},dN,{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}),K_e=Ws(G_e),X_e=Qa({},bz,{newState:0,oldState:0}),Q_e=Ws(X_e),J_e=[9,13,27,32],bY=YZ&&"CompositionEvent"in window,VP=null;YZ&&"documentMode"in document&&(VP=document.documentMode);var $_e=YZ&&"TextEvent"in window&&!VP,c$=YZ&&(!bY||VP&&8<VP&&11>=VP),RQ=String.fromCharCode(32),PQ=!1;function u$(e,r){switch(e){case"keyup":return J_e.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function d$(e){return e=e.detail,typeof e==="object"&&"data"in e?e.data:null}var dk=!1;function ewe(e,r){switch(e){case"compositionend":return d$(r);case"keypress":if(r.which!==32)return null;return PQ=!0,RQ;case"textInput":return e=r.data,e===RQ&&PQ?null:e;default:return null}}function twe(e,r){if(dk)return e==="compositionend"||!bY&&u$(e,r)?(e=l$(),xj=xY=NM=null,dk=!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 c$&&r.locale!=="ko"?null:r.data;default:return null}}var rwe={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 TQ(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!rwe[e.type]:r==="textarea"?!0:!1}function Z$(e,r,a,i){uk?bk?bk.push(i):bk=[i]:uk=i,r=rN(r,"onChange"),0<r.length&&(a=new uN("onChange","change",null,a,i),e.push({event:a,listeners:r}))}var WP=null,vT=null;function owe(e){nte(e,0)}function ZN(e){var r=NP(e);if(o$(r))return e}function AQ(e,r){if(e==="change")return r}var p$=!1;if(YZ){if(YZ){if(BP="oninput"in document,!BP)bj=document.createElement("div"),bj.setAttribute("oninput","return;"),BP=typeof bj.oninput==="function";FP=BP}else FP=!1;p$=FP&&(!document.documentMode||9<document.documentMode)}var FP,BP,bj;function EQ(){WP&&(WP.detachEvent("onpropertychange",m$),vT=WP=null)}function m$(e){if(e.propertyName==="value"&&ZN(vT)){var r=[];Z$(r,vT,e,vY(e)),s$(owe,r)}}function awe(e,r,a){e==="focusin"?(EQ(),WP=r,vT=a,WP.attachEvent("onpropertychange",m$)):e==="focusout"&&EQ()}function nwe(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ZN(vT)}function iwe(e,r){if(e==="click")return ZN(r)}function fwe(e,r){if(e==="input"||e==="change")return ZN(r)}function swe(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Fl=typeof Object.is==="function"?Object.is:swe;function xT(e,r){if(Fl(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 s=a[i];if(!_B.call(r,s)||!Fl(e[s],r[s]))return!1}return!0}function DQ(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function OQ(e,r){var a=DQ(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=DQ(a)}}function h$(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?h$(e,r.parentNode):("contains"in e)?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function g$(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var r=jj(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=jj(e.document)}return r}function _Y(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 lwe=YZ&&"documentMode"in document&&11>=document.documentMode,Zk=null,IB=null,GP=null,RB=!1;function jQ(e,r,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;RB||Zk==null||Zk!==jj(i)||(i=Zk,("selectionStart"in i)&&_Y(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}),GP&&xT(GP,i)||(GP=i,i=rN(IB,"onSelect"),0<i.length&&(r=new uN("onSelect","select",null,r,a),e.push({event:r,listeners:i}),r.target=Zk)))}function oz(e,r){var a={};return a[e.toLowerCase()]=r.toLowerCase(),a["Webkit"+e]="webkit"+r,a["Moz"+e]="moz"+r,a}var pk={animationend:oz("Animation","AnimationEnd"),animationiteration:oz("Animation","AnimationIteration"),animationstart:oz("Animation","AnimationStart"),transitionrun:oz("Transition","TransitionRun"),transitionstart:oz("Transition","TransitionStart"),transitioncancel:oz("Transition","TransitionCancel"),transitionend:oz("Transition","TransitionEnd")},W6={},M$={};YZ&&(M$=document.createElement("div").style,("AnimationEvent"in window)||(delete pk.animationend.animation,delete pk.animationiteration.animation,delete pk.animationstart.animation),("TransitionEvent"in window)||delete pk.transitionend.transition);function _z(e){if(W6[e])return W6[e];if(!pk[e])return e;var r=pk[e],a;for(a in r)if(r.hasOwnProperty(a)&&a in M$)return W6[e]=r[a];return e}var v$=_z("animationend"),x$=_z("animationiteration"),y$=_z("animationstart"),cwe=_z("transitionrun"),uwe=_z("transitionstart"),dwe=_z("transitioncancel"),b$=_z("transitionend"),_$=new Map,PB="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(" ");PB.push("scrollEnd");function au(e,r){_$.set(e,r),yz(r,[e])}var Nj=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)},tc=[],mk=0,wY=0;function pN(){for(var e=mk,r=wY=mk=0;r<e;){var a=tc[r];tc[r++]=null;var i=tc[r];tc[r++]=null;var s=tc[r];tc[r++]=null;var l=tc[r];if(tc[r++]=null,i!==null&&s!==null){var c=i.pending;c===null?s.next=s:(s.next=c.next,c.next=s),i.pending=s}l!==0&&w$(a,s,l)}}function mN(e,r,a,i){tc[mk++]=e,tc[mk++]=r,tc[mk++]=a,tc[mk++]=i,wY|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function zY(e,r,a,i){return mN(e,r,a,i),Fj(e)}function wz(e,r){return mN(e,null,null,r),Fj(e)}function w$(e,r,a){e.lanes|=a;var i=e.alternate;i!==null&&(i.lanes|=a);for(var s=!1,l=e.return;l!==null;)l.childLanes|=a,i=l.alternate,i!==null&&(i.childLanes|=a),l.tag===22&&(e=l.stateNode,e===null||e._visibility&1||(s=!0)),e=l,l=l.return;return e.tag===3?(l=e.stateNode,s&&r!==null&&(s=31-jl(a),e=l.hiddenUpdates,i=e[s],i===null?e[s]=[r]:i.push(r),r.lane=a|536870912),l):null}function Fj(e){if(50<mT)throw mT=0,$B=null,Error(Yt(185));for(var r=e.return;r!==null;)e=r,r=e.return;return e.tag===3?e.stateNode:null}var hk={};function Zwe(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 Zl(e,r,a,i){return new Zwe(e,r,a,i)}function SY(e){return e=e.prototype,!(!e||!e.isReactComponent)}function NZ(e,r){var a=e.alternate;return a===null?(a=Zl(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 z$(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 _j(e,r,a,i,s,l){var c=0;if(i=e,typeof e==="function")SY(e)&&(c=1);else if(typeof e==="string")c=v0e(e,a,rZ.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case vB:return e=Zl(31,a,r,s),e.elementType=vB,e.lanes=l,e;case sk:return cz(a.children,s,l,r);case UJ:c=8,s|=24;break;case hB:return e=Zl(12,a,r,s|2),e.elementType=hB,e.lanes=l,e;case gB:return e=Zl(13,a,r,s),e.elementType=gB,e.lanes=l,e;case MB:return e=Zl(19,a,r,s),e.elementType=MB,e.lanes=l,e;default:if(typeof e==="object"&&e!==null)switch(e.$$typeof){case DZ:c=10;break e;case qJ:c=9;break e;case ZY:c=11;break e;case pY:c=14;break e;case PM:c=16,i=null;break e}c=29,a=Error(Yt(130,e===null?"null":typeof e,"")),i=null}return r=Zl(c,a,r,s),r.elementType=e,r.type=i,r.lanes=l,r}function cz(e,r,a,i){return e=Zl(7,e,i,r),e.lanes=a,e}function G6(e,r,a){return e=Zl(6,e,null,r),e.lanes=a,e}function S$(e){var r=Zl(18,null,null,0);return r.stateNode=e,r}function K6(e,r,a){return r=Zl(4,e.children!==null?e.children:[],e.key,r),r.lanes=a,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}var NQ=new WeakMap;function ic(e,r){if(typeof e==="object"&&e!==null){var a=NQ.get(e);if(a!==void 0)return a;return r={value:e,source:r,stack:xQ(r)},NQ.set(e,r),r}return{value:e,source:r,stack:xQ(r)}}var gk=[],Mk=0,Bj=null,yT=0,oc=[],ac=0,XM=null,Fu=1,eZ="";function AZ(e,r){gk[Mk++]=yT,gk[Mk++]=Bj,Bj=e,yT=r}function L$(e,r,a){oc[ac++]=Fu,oc[ac++]=eZ,oc[ac++]=XM,XM=e;var i=Fu;e=eZ;var s=32-jl(i)-1;i&=~(1<<s),a+=1;var l=32-jl(r)+s;if(30<l){var c=s-s%5;l=(i&(1<<c)-1).toString(32),i>>=c,s-=c,Fu=1<<32-jl(r)+s|a<<s|i,eZ=l+e}else Fu=1<<l|a<<s|i,eZ=e}function LY(e){e.return!==null&&(AZ(e,1),L$(e,1,0))}function kY(e){for(;e===Bj;)Bj=gk[--Mk],gk[Mk]=null,yT=gk[--Mk],gk[Mk]=null;for(;e===XM;)XM=oc[--ac],oc[ac]=null,eZ=oc[--ac],oc[ac]=null,Fu=oc[--ac],oc[ac]=null}function k$(e,r){oc[ac++]=Fu,oc[ac++]=eZ,oc[ac++]=XM,Fu=r.id,eZ=r.overflow,XM=e}var Hi=null,Xa=null,zo=!1,qM=null,fc=!1,TB=Error(Yt(519));function QM(e){var r=Error(Yt(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw bT(ic(r,e)),TB}function FQ(e){var{stateNode:r,type:a,memoizedProps:i}=e;switch(r[qi]=e,r[Vs]=i,a){case"dialog":go("cancel",r),go("close",r);break;case"iframe":case"object":case"embed":go("load",r);break;case"video":case"audio":for(a=0;a<ST.length;a++)go(ST[a],r);break;case"source":go("error",r);break;case"img":case"image":case"link":go("error",r),go("load",r);break;case"details":go("toggle",r);break;case"input":go("invalid",r),a$(r,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":go("invalid",r);break;case"textarea":go("invalid",r),i$(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||ste(r.textContent,a)?(i.popover!=null&&(go("beforetoggle",r),go("toggle",r)),i.onScroll!=null&&go("scroll",r),i.onScrollEnd!=null&&go("scrollend",r),i.onClick!=null&&(r.onclick=OZ),r=!0):r=!1,r||QM(e,!0)}function BQ(e){for(Hi=e.return;Hi;)switch(Hi.tag){case 5:case 31:case 13:fc=!1;return;case 27:case 3:fc=!0;return;default:Hi=Hi.return}}function ok(e){if(e!==Hi)return!1;if(!zo)return BQ(e),zo=!0,!1;var r=e.tag,a;if(a=r!==3&&r!==27){if(a=r===5)a=e.type,a=!(a!=="form"&&a!=="button")||iY(e.type,e.memoizedProps);a=!a}if(a&&Xa&&QM(e),BQ(e),r===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Yt(317));Xa=LJ(e)}else if(r===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Yt(317));Xa=LJ(e)}else r===27?(r=Xa,t8(e.type)?(e=cY,cY=null,Xa=e):Xa=r):Xa=Hi?cc(e.stateNode.nextSibling):null;return!0}function hz(){Xa=Hi=null,zo=!1}function X6(){var e=qM;return e!==null&&(qs===null?qs=e:qs.push.apply(qs,e),qM=null),e}function bT(e){qM===null?qM=[e]:qM.push(e)}var AB=oZ(null),zz=null,jZ=null;function AM(e,r,a){Ya(AB,r._currentValue),r._currentValue=a}function FZ(e){e._currentValue=AB.current,Ri(AB)}function EB(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 DB(e,r,a,i){var s=e.child;s!==null&&(s.return=e);for(;s!==null;){var l=s.dependencies;if(l!==null){var c=s.child;l=l.firstContext;e:for(;l!==null;){var d=l;l=s;for(var m=0;m<r.length;m++)if(d.context===r[m]){l.lanes|=a,d=l.alternate,d!==null&&(d.lanes|=a),EB(l.return,a,e),i||(c=null);break e}l=d.next}}else if(s.tag===18){if(c=s.return,c===null)throw Error(Yt(341));c.lanes|=a,l=c.alternate,l!==null&&(l.lanes|=a),EB(c,a,e),c=null}else c=s.child;if(c!==null)c.return=s;else for(c=s;c!==null;){if(c===e){c=null;break}if(s=c.sibling,s!==null){s.return=c.return,c=s;break}c=c.return}s=c}}function Nk(e,r,a,i){e=null;for(var s=r,l=!1;s!==null;){if(!l){if((s.flags&524288)!==0)l=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var c=s.alternate;if(c===null)throw Error(Yt(387));if(c=c.memoizedProps,c!==null){var d=s.type;Fl(s.pendingProps.value,c.value)||(e!==null?e.push(d):e=[d])}}else if(s===Aj.current){if(c=s.alternate,c===null)throw Error(Yt(387));c.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(kT):e=[kT])}s=s.return}e!==null&&DB(r,e,a,i),r.flags|=262144}function Yj(e){for(e=e.firstContext;e!==null;){if(!Fl(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function gz(e){zz=e,jZ=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Gi(e){return C$(zz,e)}function cj(e,r){return zz===null&&gz(e),C$(e,r)}function C$(e,r){var a=r._currentValue;if(r={context:r,memoizedValue:a,next:null},jZ===null){if(e===null)throw Error(Yt(308));jZ=r,e.dependencies={lanes:0,firstContext:r},e.flags|=524288}else jZ=jZ.next=r;return a}var pwe=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()})}},mwe=Ds,hwe=Ps,ni={$$typeof:DZ,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function CY(){return{controller:new pwe,data:new Map,refCount:0}}function OT(e){e.refCount--,e.refCount===0&&mwe(hwe,function(){e.controller.abort()})}var KP=null,OB=0,Ik=0,_k=null;function gwe(e,r){if(KP===null){var a=KP=[];OB=0,Ik=e7(),_k={status:"pending",value:void 0,then:function(i){a.push(i)}}}return OB++,r.then(YQ,YQ),r}function YQ(){if(--OB===0&&KP!==null){_k!==null&&(_k.status="fulfilled");var e=KP;KP=null,Ik=0,_k=null;for(var r=0;r<e.length;r++)(0,e[r])()}}function Mwe(e,r){var a=[],i={status:"pending",value:null,reason:null,then:function(s){a.push(s)}};return e.then(function(){i.status="fulfilled",i.value=r;for(var s=0;s<a.length;s++)(0,a[s])(r)},function(s){i.status="rejected",i.reason=s;for(s=0;s<a.length;s++)(0,a[s])(void 0)}),i}var UQ=qr.S;qr.S=function(e,r){Fee=Ll(),typeof r==="object"&&r!==null&&typeof r.then==="function"&&gwe(e,r),UQ!==null&&UQ(e,r)};var uz=oZ(null);function IY(){var e=uz.current;return e!==null?e:wa.pooledCache}function wj(e,r){r===null?Ya(uz,uz.current):Ya(uz,r.pool)}function I$(){var e=IY();return e===null?null:{parent:ni._currentValue,pool:e}}var Fk=Error(Yt(460)),RY=Error(Yt(474)),hN=Error(Yt(542)),Uj={then:function(){}};function qQ(e){return e=e.status,e==="fulfilled"||e==="rejected"}function R$(e,r,a){switch(a=e[a],a===void 0?e.push(r):a!==r&&(r.then(OZ,OZ),r=a),r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,VQ(e),e;default:if(typeof r.status==="string")r.then(OZ,OZ);else{if(e=wa,e!==null&&100<e.shellSuspendCounter)throw Error(Yt(482));e=r,e.status="pending",e.then(function(i){if(r.status==="pending"){var s=r;s.status="fulfilled",s.value=i}},function(i){if(r.status==="pending"){var s=r;s.status="rejected",s.reason=i}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,VQ(e),e}throw dz=r,Fk}}function fz(e){try{var r=e._init;return r(e._payload)}catch(a){if(a!==null&&typeof a==="object"&&typeof a.then==="function")throw dz=a,Fk;throw a}}var dz=null;function HQ(){if(dz===null)throw Error(Yt(459));var e=dz;return dz=null,e}function VQ(e){if(e===Fk||e===hN)throw Error(Yt(483))}var wk=null,_T=0;function uj(e){var r=_T;return _T+=1,wk===null&&(wk=[]),R$(wk,e,r)}function TP(e,r){r=r.props.ref,e.ref=r!==void 0?r:null}function dj(e,r){if(r.$$typeof===a_e)throw Error(Yt(525));throw e=Object.prototype.toString.call(r),Error(Yt(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}function P$(e){function r(T,N){if(e){var G=T.deletions;G===null?(T.deletions=[N],T.flags|=16):G.push(N)}}function a(T,N){if(!e)return null;for(;N!==null;)r(T,N),N=N.sibling;return null}function i(T){for(var N=new Map;T!==null;)T.key!==null?N.set(T.key,T):N.set(T.index,T),T=T.sibling;return N}function s(T,N){return T=NZ(T,N),T.index=0,T.sibling=null,T}function l(T,N,G){if(T.index=G,!e)return T.flags|=1048576,N;if(G=T.alternate,G!==null)return G=G.index,G<N?(T.flags|=67108866,N):G;return T.flags|=67108866,N}function c(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function d(T,N,G,X){if(N===null||N.tag!==6)return N=G6(G,T.mode,X),N.return=T,N;return N=s(N,G),N.return=T,N}function m(T,N,G,X){var J=G.type;if(J===sk)return M(T,N,G.props.children,X,G.key);if(N!==null&&(N.elementType===J||typeof J==="object"&&J!==null&&J.$$typeof===PM&&fz(J)===N.type))return N=s(N,G.props),TP(N,G),N.return=T,N;return N=_j(G.type,G.key,G.props,null,T.mode,X),TP(N,G),N.return=T,N}function g(T,N,G,X){if(N===null||N.tag!==4||N.stateNode.containerInfo!==G.containerInfo||N.stateNode.implementation!==G.implementation)return N=K6(G,T.mode,X),N.return=T,N;return N=s(N,G.children||[]),N.return=T,N}function M(T,N,G,X,J){if(N===null||N.tag!==7)return N=cz(G,T.mode,X,J),N.return=T,N;return N=s(N,G),N.return=T,N}function v(T,N,G){if(typeof N==="string"&&N!==""||typeof N==="number"||typeof N==="bigint")return N=G6(""+N,T.mode,G),N.return=T,N;if(typeof N==="object"&&N!==null){switch(N.$$typeof){case aj:return G=_j(N.type,N.key,N.props,null,T.mode,G),TP(G,N),G.return=T,G;case OP:return N=K6(N,T.mode,G),N.return=T,N;case PM:return N=fz(N),v(T,N,G)}if(jP(N)||RP(N))return N=cz(N,T.mode,G,null),N.return=T,N;if(typeof N.then==="function")return v(T,uj(N),G);if(N.$$typeof===DZ)return v(T,cj(T,N),G);dj(T,N)}return null}function y(T,N,G,X){var J=N!==null?N.key:null;if(typeof G==="string"&&G!==""||typeof G==="number"||typeof G==="bigint")return J!==null?null:d(T,N,""+G,X);if(typeof G==="object"&&G!==null){switch(G.$$typeof){case aj:return G.key===J?m(T,N,G,X):null;case OP:return G.key===J?g(T,N,G,X):null;case PM:return G=fz(G),y(T,N,G,X)}if(jP(G)||RP(G))return J!==null?null:M(T,N,G,X,null);if(typeof G.then==="function")return y(T,N,uj(G),X);if(G.$$typeof===DZ)return y(T,N,cj(T,G),X);dj(T,G)}return null}function x(T,N,G,X,J){if(typeof X==="string"&&X!==""||typeof X==="number"||typeof X==="bigint")return T=T.get(G)||null,d(N,T,""+X,J);if(typeof X==="object"&&X!==null){switch(X.$$typeof){case aj:return T=T.get(X.key===null?G:X.key)||null,m(N,T,X,J);case OP:return T=T.get(X.key===null?G:X.key)||null,g(N,T,X,J);case PM:return X=fz(X),x(T,N,G,X,J)}if(jP(X)||RP(X))return T=T.get(G)||null,M(N,T,X,J,null);if(typeof X.then==="function")return x(T,N,G,uj(X),J);if(X.$$typeof===DZ)return x(T,N,G,cj(N,X),J);dj(N,X)}return null}function _(T,N,G,X){for(var J=null,ee=null,re=N,oe=N=0,ie=null;re!==null&&oe<G.length;oe++){re.index>oe?(ie=re,re=null):ie=re.sibling;var ye=y(T,re,G[oe],X);if(ye===null){re===null&&(re=ie);break}e&&re&&ye.alternate===null&&r(T,re),N=l(ye,N,oe),ee===null?J=ye:ee.sibling=ye,ee=ye,re=ie}if(oe===G.length)return a(T,re),zo&&AZ(T,oe),J;if(re===null){for(;oe<G.length;oe++)re=v(T,G[oe],X),re!==null&&(N=l(re,N,oe),ee===null?J=re:ee.sibling=re,ee=re);return zo&&AZ(T,oe),J}for(re=i(re);oe<G.length;oe++)ie=x(re,T,oe,G[oe],X),ie!==null&&(e&&ie.alternate!==null&&re.delete(ie.key===null?oe:ie.key),N=l(ie,N,oe),ee===null?J=ie:ee.sibling=ie,ee=ie);return e&&re.forEach(function(We){return r(T,We)}),zo&&AZ(T,oe),J}function j(T,N,G,X){if(G==null)throw Error(Yt(151));for(var J=null,ee=null,re=N,oe=N=0,ie=null,ye=G.next();re!==null&&!ye.done;oe++,ye=G.next()){re.index>oe?(ie=re,re=null):ie=re.sibling;var We=y(T,re,ye.value,X);if(We===null){re===null&&(re=ie);break}e&&re&&We.alternate===null&&r(T,re),N=l(We,N,oe),ee===null?J=We:ee.sibling=We,ee=We,re=ie}if(ye.done)return a(T,re),zo&&AZ(T,oe),J;if(re===null){for(;!ye.done;oe++,ye=G.next())ye=v(T,ye.value,X),ye!==null&&(N=l(ye,N,oe),ee===null?J=ye:ee.sibling=ye,ee=ye);return zo&&AZ(T,oe),J}for(re=i(re);!ye.done;oe++,ye=G.next())ye=x(re,T,oe,ye.value,X),ye!==null&&(e&&ye.alternate!==null&&re.delete(ye.key===null?oe:ye.key),N=l(ye,N,oe),ee===null?J=ye:ee.sibling=ye,ee=ye);return e&&re.forEach(function(Ye){return r(T,Ye)}),zo&&AZ(T,oe),J}function U(T,N,G,X){if(typeof G==="object"&&G!==null&&G.type===sk&&G.key===null&&(G=G.props.children),typeof G==="object"&&G!==null){switch(G.$$typeof){case aj:e:{for(var J=G.key;N!==null;){if(N.key===J){if(J=G.type,J===sk){if(N.tag===7){a(T,N.sibling),X=s(N,G.props.children),X.return=T,T=X;break e}}else if(N.elementType===J||typeof J==="object"&&J!==null&&J.$$typeof===PM&&fz(J)===N.type){a(T,N.sibling),X=s(N,G.props),TP(X,G),X.return=T,T=X;break e}a(T,N);break}else r(T,N);N=N.sibling}G.type===sk?(X=cz(G.props.children,T.mode,X,G.key),X.return=T,T=X):(X=_j(G.type,G.key,G.props,null,T.mode,X),TP(X,G),X.return=T,T=X)}return c(T);case OP:e:{for(J=G.key;N!==null;){if(N.key===J)if(N.tag===4&&N.stateNode.containerInfo===G.containerInfo&&N.stateNode.implementation===G.implementation){a(T,N.sibling),X=s(N,G.children||[]),X.return=T,T=X;break e}else{a(T,N);break}else r(T,N);N=N.sibling}X=K6(G,T.mode,X),X.return=T,T=X}return c(T);case PM:return G=fz(G),U(T,N,G,X)}if(jP(G))return _(T,N,G,X);if(RP(G)){if(J=RP(G),typeof J!=="function")throw Error(Yt(150));return G=J.call(G),j(T,N,G,X)}if(typeof G.then==="function")return U(T,N,uj(G),X);if(G.$$typeof===DZ)return U(T,N,cj(T,G),X);dj(T,G)}return typeof G==="string"&&G!==""||typeof G==="number"||typeof G==="bigint"?(G=""+G,N!==null&&N.tag===6?(a(T,N.sibling),X=s(N,G),X.return=T,T=X):(a(T,N),X=G6(G,T.mode,X),X.return=T,T=X),c(T)):a(T,N)}return function(T,N,G,X){try{_T=0;var J=U(T,N,G,X);return wk=null,J}catch(re){if(re===Fk||re===hN)throw re;var ee=Zl(29,re,null,T.mode);return ee.lanes=X,ee.return=T,ee}finally{}}}var Mz=P$(!0),T$=P$(!1),TM=!1;function PY(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function jB(e,r){e=e.updateQueue,r.updateQueue===e&&(r.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Zz(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function pz(e,r,a){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(No&2)!==0){var s=i.pending;return s===null?r.next=r:(r.next=s.next,s.next=r),i.pending=r,r=Fj(e),w$(e,null,a),r}return mN(e,i,r,a),Fj(e)}function XP(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,XJ(e,a)}}function Q6(e,r){var a=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,a===i)){var s=null,l=null;if(a=a.firstBaseUpdate,a!==null){do{var c={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};l===null?s=l=c:l=l.next=c,a=a.next}while(a!==null);l===null?s=l=r:l=l.next=r}else s=l=r;a={baseState:i.baseState,firstBaseUpdate:s,lastBaseUpdate:l,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 NB=!1;function QP(){if(NB){var e=_k;if(e!==null)throw e}}function JP(e,r,a,i){NB=!1;var s=e.updateQueue;TM=!1;var{firstBaseUpdate:l,lastBaseUpdate:c}=s,d=s.shared.pending;if(d!==null){s.shared.pending=null;var m=d,g=m.next;m.next=null,c===null?l=g:c.next=g,c=m;var M=e.alternate;M!==null&&(M=M.updateQueue,d=M.lastBaseUpdate,d!==c&&(d===null?M.firstBaseUpdate=g:d.next=g,M.lastBaseUpdate=m))}if(l!==null){var v=s.baseState;c=0,M=g=m=null,d=l;do{var y=d.lane&-536870913,x=y!==d.lane;if(x?(_o&y)===y:(i&y)===y){y!==0&&y===Ik&&(NB=!0),M!==null&&(M=M.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{var _=e,j=d;y=r;var U=a;switch(j.tag){case 1:if(_=j.payload,typeof _==="function"){v=_.call(U,v,y);break e}v=_;break e;case 3:_.flags=_.flags&-65537|128;case 0:if(_=j.payload,y=typeof _==="function"?_.call(U,v,y):_,y===null||y===void 0)break e;v=Qa({},v,y);break e;case 2:TM=!0}}y=d.callback,y!==null&&(e.flags|=64,x&&(e.flags|=8192),x=s.callbacks,x===null?s.callbacks=[y]:x.push(y))}else x={lane:y,tag:d.tag,payload:d.payload,callback:d.callback,next:null},M===null?(g=M=x,m=v):M=M.next=x,c|=y;if(d=d.next,d===null)if(d=s.shared.pending,d===null)break;else x=d,d=x.next,x.next=null,s.lastBaseUpdate=x,s.shared.pending=null}while(1);M===null&&(m=v),s.baseState=m,s.firstBaseUpdate=g,s.lastBaseUpdate=M,l===null&&(s.shared.lanes=0),$M|=c,e.lanes=c,e.memoizedState=v}}function A$(e,r){if(typeof e!=="function")throw Error(Yt(191,e));e.call(r)}function E$(e,r){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)A$(a[e],r)}var Rk=oZ(null),qj=oZ(0);function WQ(e,r){e=VZ,Ya(qj,e),Ya(Rk,r),VZ=e|r.baseLanes}function FB(){Ya(qj,VZ),Ya(Rk,Rk.current)}function TY(){VZ=qj.current,Ri(Rk),Ri(qj)}var Bl=oZ(null),sc=null;function EM(e){var r=e.alternate;Ya(Dn,Dn.current&1),Ya(Bl,e),sc===null&&(r===null||Rk.current!==null?sc=e:r.memoizedState!==null&&(sc=e))}function BB(e){Ya(Dn,Dn.current),Ya(Bl,e),sc===null&&(sc=e)}function D$(e){e.tag===22?(Ya(Dn,Dn.current),Ya(Bl,e),sc===null&&(sc=e)):DM(e)}function DM(){Ya(Dn,Dn.current),Ya(Bl,Bl.current)}function sl(e){Ri(Bl),sc===e&&(sc=null),Ri(Dn)}var Dn=oZ(0);function Hj(e){for(var r=e;r!==null;){if(r.tag===13){var a=r.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||sY(a)||lY(a)))return r}else if(r.tag===19&&(r.memoizedProps.revealOrder==="forwards"||r.memoizedProps.revealOrder==="backwards"||r.memoizedProps.revealOrder==="unstable_legacy-backwards"||r.memoizedProps.revealOrder==="together")){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var UZ=0,co=null,ha=null,ri=null,Vj=!1,zk=!1,vz=!1,Wj=0,wT=0,Sk=null,vwe=0;function xn(){throw Error(Yt(321))}function AY(e,r){if(r===null)return!1;for(var a=0;a<r.length&&a<e.length;a++)if(!Fl(e[a],r[a]))return!1;return!0}function EY(e,r,a,i,s,l){return UZ=l,co=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,qr.H=e===null||e.memoizedState===null?Zee:VY,vz=!1,l=a(i,s),vz=!1,zk&&(l=j$(r,a,i,s)),O$(e),l}function O$(e){qr.H=zT;var r=ha!==null&&ha.next!==null;if(UZ=0,ri=ha=co=null,Vj=!1,wT=0,Sk=null,r)throw Error(Yt(300));e===null||ii||(e=e.dependencies,e!==null&&Yj(e)&&(ii=!0))}function j$(e,r,a,i){co=e;var s=0;do{if(zk&&(Sk=null),wT=0,zk=!1,25<=s)throw Error(Yt(301));if(s+=1,ri=ha=null,e.updateQueue!=null){var l=e.updateQueue;l.lastEffect=null,l.events=null,l.stores=null,l.memoCache!=null&&(l.memoCache.index=0)}qr.H=pee,l=r(a,i)}while(zk);return l}function xwe(){var e=qr.H,r=e.useState()[0];return r=typeof r.then==="function"?jT(r):r,e=e.useState()[0],(ha!==null?ha.memoizedState:null)!==e&&(co.flags|=1024),r}function DY(){var e=Wj!==0;return Wj=0,e}function OY(e,r,a){r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~a}function jY(e){if(Vj){for(e=e.memoizedState;e!==null;){var r=e.queue;r!==null&&(r.pending=null),e=e.next}Vj=!1}UZ=0,ri=ha=co=null,zk=!1,wT=Wj=0,Sk=null}function as(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ri===null?co.memoizedState=ri=e:ri=ri.next=e,ri}function On(){if(ha===null){var e=co.alternate;e=e!==null?e.memoizedState:null}else e=ha.next;var r=ri===null?co.memoizedState:ri.next;if(r!==null)ri=r,ha=e;else{if(e===null){if(co.alternate===null)throw Error(Yt(467));throw Error(Yt(310))}ha=e,e={memoizedState:ha.memoizedState,baseState:ha.baseState,baseQueue:ha.baseQueue,queue:ha.queue,next:null},ri===null?co.memoizedState=ri=e:ri=ri.next=e}return ri}function gN(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function jT(e){var r=wT;return wT+=1,Sk===null&&(Sk=[]),e=R$(Sk,e,r),r=co,(ri===null?r.memoizedState:ri.next)===null&&(r=r.alternate,qr.H=r===null||r.memoizedState===null?Zee:VY),e}function MN(e){if(e!==null&&typeof e==="object"){if(typeof e.then==="function")return jT(e);if(e.$$typeof===DZ)return Gi(e)}throw Error(Yt(438,String(e)))}function NY(e){var r=null,a=co.updateQueue;if(a!==null&&(r=a.memoCache),r==null){var i=co.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(r={data:i.data.map(function(s){return s.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),a===null&&(a=gN(),co.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]=n_e;return r.index++,a}function qZ(e,r){return typeof r==="function"?r(e):r}function zj(e){var r=On();return FY(r,ha,e)}function FY(e,r,a){var i=e.queue;if(i===null)throw Error(Yt(311));i.lastRenderedReducer=a;var s=e.baseQueue,l=i.pending;if(l!==null){if(s!==null){var c=s.next;s.next=l.next,l.next=c}r.baseQueue=s=l,i.pending=null}if(l=e.baseState,s===null)e.memoizedState=l;else{r=s.next;var d=c=null,m=null,g=r,M=!1;do{var v=g.lane&-536870913;if(v!==g.lane?(_o&v)===v:(UZ&v)===v){var y=g.revertLane;if(y===0)m!==null&&(m=m.next={lane:0,revertLane:0,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null}),v===Ik&&(M=!0);else if((UZ&y)===y){g=g.next,y===Ik&&(M=!0);continue}else v={lane:0,revertLane:g.revertLane,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},m===null?(d=m=v,c=l):m=m.next=v,co.lanes|=y,$M|=y;v=g.action,vz&&a(l,v),l=g.hasEagerState?g.eagerState:a(l,v)}else y={lane:v,revertLane:g.revertLane,gesture:g.gesture,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},m===null?(d=m=y,c=l):m=m.next=y,co.lanes|=v,$M|=v;g=g.next}while(g!==null&&g!==r);if(m===null?c=l:m.next=d,!Fl(l,e.memoizedState)&&(ii=!0,M&&(a=_k,a!==null)))throw a;e.memoizedState=l,e.baseState=c,e.baseQueue=m,i.lastRenderedState=l}return s===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function J6(e){var r=On(),a=r.queue;if(a===null)throw Error(Yt(311));a.lastRenderedReducer=e;var{dispatch:i,pending:s}=a,l=r.memoizedState;if(s!==null){a.pending=null;var c=s=s.next;do l=e(l,c.action),c=c.next;while(c!==s);Fl(l,r.memoizedState)||(ii=!0),r.memoizedState=l,r.baseQueue===null&&(r.baseState=l),a.lastRenderedState=l}return[l,i]}function N$(e,r,a){var i=co,s=On(),l=zo;if(l){if(a===void 0)throw Error(Yt(407));a=a()}else a=r();var c=!Fl((ha||s).memoizedState,a);if(c&&(s.memoizedState=a,ii=!0),s=s.queue,BY(Y$.bind(null,i,s,e),[e]),s.getSnapshot!==r||c||ri!==null&&ri.memoizedState.tag&1){if(i.flags|=2048,Pk(9,{destroy:void 0},B$.bind(null,i,s,a,r),null),wa===null)throw Error(Yt(349));l||(UZ&127)!==0||F$(i,r,a)}return a}function F$(e,r,a){e.flags|=16384,e={getSnapshot:r,value:a},r=co.updateQueue,r===null?(r=gN(),co.updateQueue=r,r.stores=[e]):(a=r.stores,a===null?r.stores=[e]:a.push(e))}function B$(e,r,a,i){r.value=a,r.getSnapshot=i,U$(r)&&q$(e)}function Y$(e,r,a){return a(function(){U$(r)&&q$(e)})}function U$(e){var r=e.getSnapshot;e=e.value;try{var a=r();return!Fl(e,a)}catch(i){return!0}}function q$(e){var r=wz(e,2);r!==null&&Hs(r,e,2)}function YB(e){var r=as();if(typeof e==="function"){var a=e;if(e=a(),vz){jM(!0);try{a()}finally{jM(!1)}}}return r.memoizedState=r.baseState=e,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:qZ,lastRenderedState:e},r}function H$(e,r,a,i){return e.baseState=a,FY(e,ha,typeof i==="function"?i:qZ)}function ywe(e,r,a,i,s){if(xN(e))throw Error(Yt(485));if(e=r.action,e!==null){var l={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){l.listeners.push(c)}};qr.T!==null?a(!0):l.isTransition=!1,i(l),a=r.pending,a===null?(l.next=r.pending=l,V$(r,l)):(l.next=a.next,r.pending=a.next=l)}}function V$(e,r){var{action:a,payload:i}=r,s=e.state;if(r.isTransition){var l=qr.T,c={};qr.T=c;try{var d=a(s,i),m=qr.S;m!==null&&m(c,d),GQ(e,r,d)}catch(g){UB(e,r,g)}finally{l!==null&&c.types!==null&&(l.types=c.types),qr.T=l}}else try{l=a(s,i),GQ(e,r,l)}catch(g){UB(e,r,g)}}function GQ(e,r,a){a!==null&&typeof a==="object"&&typeof a.then==="function"?a.then(function(i){KQ(e,r,i)},function(i){return UB(e,r,i)}):KQ(e,r,a)}function KQ(e,r,a){r.status="fulfilled",r.value=a,W$(r),e.state=a,r=e.pending,r!==null&&(a=r.next,a===r?e.pending=null:(a=a.next,r.next=a,V$(e,a)))}function UB(e,r,a){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do r.status="rejected",r.reason=a,W$(r),r=r.next;while(r!==i)}e.action=null}function W$(e){e=e.listeners;for(var r=0;r<e.length;r++)(0,e[r])()}function G$(e,r){return r}function XQ(e,r){if(zo){var a=wa.formState;if(a!==null){e:{var i=co;if(zo){if(Xa){t:{var s=Xa;for(var l=fc;s.nodeType!==8;){if(!l){s=null;break t}if(s=cc(s.nextSibling),s===null){s=null;break t}}l=s.data,s=l==="F!"||l==="F"?s:null}if(s){Xa=cc(s.nextSibling),i=s.data==="F!";break e}}QM(i)}i=!1}i&&(r=a[0])}}return a=as(),a.memoizedState=a.baseState=r,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:G$,lastRenderedState:r},a.queue=i,a=cee.bind(null,co,i),i.dispatch=a,i=YB(!1),l=HY.bind(null,co,!1,i.queue),i=as(),s={state:r,dispatch:null,action:e,pending:null},i.queue=s,a=ywe.bind(null,co,s,l,a),s.dispatch=a,i.memoizedState=e,[r,a,!1]}function QQ(e){var r=On();return K$(r,ha,e)}function K$(e,r,a){if(r=FY(e,r,G$)[0],e=zj(qZ)[0],typeof r==="object"&&r!==null&&typeof r.then==="function")try{var i=jT(r)}catch(c){if(c===Fk)throw hN;throw c}else i=r;r=On();var s=r.queue,l=s.dispatch;return a!==r.memoizedState&&(co.flags|=2048,Pk(9,{destroy:void 0},bwe.bind(null,s,a),null)),[i,l,e]}function bwe(e,r){e.action=r}function JQ(e){var r=On(),a=ha;if(a!==null)return K$(r,a,e);On(),r=r.memoizedState,a=On();var i=a.queue.dispatch;return a.memoizedState=e,[r,i,!1]}function Pk(e,r,a,i){return e={tag:e,create:a,deps:i,inst:r,next:null},r=co.updateQueue,r===null&&(r=gN(),co.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 X$(){return On().memoizedState}function Sj(e,r,a,i){var s=as();co.flags|=e,s.memoizedState=Pk(1|r,{destroy:void 0},a,i===void 0?null:i)}function vN(e,r,a,i){var s=On();i=i===void 0?null:i;var l=s.memoizedState.inst;ha!==null&&i!==null&&AY(i,ha.memoizedState.deps)?s.memoizedState=Pk(r,l,a,i):(co.flags|=e,s.memoizedState=Pk(1|r,l,a,i))}function $Q(e,r){Sj(8390656,8,e,r)}function BY(e,r){vN(2048,8,e,r)}function _we(e){co.flags|=4;var r=co.updateQueue;if(r===null)r=gN(),co.updateQueue=r,r.events=[e];else{var a=r.events;a===null?r.events=[e]:a.push(e)}}function Q$(e){var r=On().memoizedState;return _we({ref:r,nextImpl:e}),function(){if((No&2)!==0)throw Error(Yt(440));return r.impl.apply(void 0,arguments)}}function J$(e,r){return vN(4,2,e,r)}function $$(e,r){return vN(4,4,e,r)}function eee(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 tee(e,r,a){a=a!==null&&a!==void 0?a.concat([e]):null,vN(4,4,eee.bind(null,r,e),a)}function YY(){}function ree(e,r){var a=On();r=r===void 0?null:r;var i=a.memoizedState;if(r!==null&&AY(r,i[1]))return i[0];return a.memoizedState=[e,r],e}function oee(e,r){var a=On();r=r===void 0?null:r;var i=a.memoizedState;if(r!==null&&AY(r,i[1]))return i[0];if(i=e(),vz){jM(!0);try{e()}finally{jM(!1)}}return a.memoizedState=[i,r],i}function UY(e,r,a){if(a===void 0||(UZ&1073741824)!==0&&(_o&261930)===0)return e.memoizedState=r;return e.memoizedState=a,e=Yee(),co.lanes|=e,$M|=e,a}function aee(e,r,a,i){if(Fl(a,r))return a;if(Rk.current!==null)return e=UY(e,a,i),Fl(e,r)||(ii=!0),e;if((UZ&42)===0||(UZ&1073741824)!==0&&(_o&261930)===0)return ii=!0,e.memoizedState=a;return e=Yee(),co.lanes|=e,$M|=e,r}function nee(e,r,a,i,s){var l=Bo.p;Bo.p=l!==0&&8>l?l:8;var c=qr.T,d={};qr.T=d,HY(e,!1,r,a);try{var m=s(),g=qr.S;if(g!==null&&g(d,m),m!==null&&typeof m==="object"&&typeof m.then==="function"){var M=Mwe(m,i);$P(e,r,M,lc(e))}else $P(e,r,i,lc(e))}catch(v){$P(e,r,{then:function(){},status:"rejected",reason:v},lc())}finally{Bo.p=l,c!==null&&d.types!==null&&(c.types=d.types),qr.T=c}}function wwe(){}function qB(e,r,a,i){if(e.tag!==5)throw Error(Yt(476));var s=iee(e).queue;nee(e,s,r,lz,a===null?wwe:function(){return fee(e),a(i)})}function iee(e){var r=e.memoizedState;if(r!==null)return r;r={memoizedState:lz,baseState:lz,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:qZ,lastRenderedState:lz},next:null};var a={};return r.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:qZ,lastRenderedState:a},next:null},e.memoizedState=r,e=e.alternate,e!==null&&(e.memoizedState=r),r}function fee(e){var r=iee(e);r.next===null&&(r=e.alternate.memoizedState),$P(e,r.next.queue,{},lc())}function qY(){return Gi(kT)}function see(){return On().memoizedState}function lee(){return On().memoizedState}function zwe(e){for(var r=e.return;r!==null;){switch(r.tag){case 24:case 3:var a=lc();e=Zz(a);var i=pz(r,e,a);i!==null&&(Hs(i,r,a),XP(i,r,a)),r={cache:CY()},e.payload=r;return}r=r.return}}function Swe(e,r,a){var i=lc();a={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},xN(e)?uee(r,a):(a=zY(e,r,a,i),a!==null&&(Hs(a,e,i),dee(a,r,i)))}function cee(e,r,a){var i=lc();$P(e,r,a,i)}function $P(e,r,a,i){var s={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(xN(e))uee(r,s);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=r.lastRenderedReducer,l!==null))try{var c=r.lastRenderedState,d=l(c,a);if(s.hasEagerState=!0,s.eagerState=d,Fl(d,c))return mN(e,r,s,0),wa===null&&pN(),!1}catch(m){}finally{}if(a=zY(e,r,s,i),a!==null)return Hs(a,e,i),dee(a,r,i),!0}return!1}function HY(e,r,a,i){if(i={lane:2,revertLane:e7(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},xN(e)){if(r)throw Error(Yt(479))}else r=zY(e,a,i,2),r!==null&&Hs(r,e,2)}function xN(e){var r=e.alternate;return e===co||r!==null&&r===co}function uee(e,r){zk=Vj=!0;var a=e.pending;a===null?r.next=r:(r.next=a.next,a.next=r),e.pending=r}function dee(e,r,a){if((a&4194048)!==0){var i=r.lanes;i&=e.pendingLanes,a|=i,r.lanes=a,XJ(e,a)}}var zT={readContext:Gi,use:MN,useCallback:xn,useContext:xn,useEffect:xn,useImperativeHandle:xn,useLayoutEffect:xn,useInsertionEffect:xn,useMemo:xn,useReducer:xn,useRef:xn,useState:xn,useDebugValue:xn,useDeferredValue:xn,useTransition:xn,useSyncExternalStore:xn,useId:xn,useHostTransitionStatus:xn,useFormState:xn,useActionState:xn,useOptimistic:xn,useMemoCache:xn,useCacheRefresh:xn};zT.useEffectEvent=xn;var Zee={readContext:Gi,use:MN,useCallback:function(e,r){return as().memoizedState=[e,r===void 0?null:r],e},useContext:Gi,useEffect:$Q,useImperativeHandle:function(e,r,a){a=a!==null&&a!==void 0?a.concat([e]):null,Sj(4194308,4,eee.bind(null,r,e),a)},useLayoutEffect:function(e,r){return Sj(4194308,4,e,r)},useInsertionEffect:function(e,r){Sj(4,2,e,r)},useMemo:function(e,r){var a=as();r=r===void 0?null:r;var i=e();if(vz){jM(!0);try{e()}finally{jM(!1)}}return a.memoizedState=[i,r],i},useReducer:function(e,r,a){var i=as();if(a!==void 0){var s=a(r);if(vz){jM(!0);try{a(r)}finally{jM(!1)}}}else s=r;return i.memoizedState=i.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},i.queue=e,e=e.dispatch=Swe.bind(null,co,e),[i.memoizedState,e]},useRef:function(e){var r=as();return e={current:e},r.memoizedState=e},useState:function(e){e=YB(e);var r=e.queue,a=cee.bind(null,co,r);return r.dispatch=a,[e.memoizedState,a]},useDebugValue:YY,useDeferredValue:function(e,r){var a=as();return UY(a,e,r)},useTransition:function(){var e=YB(!1);return e=nee.bind(null,co,e.queue,!0,!1),as().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,r,a){var i=co,s=as();if(zo){if(a===void 0)throw Error(Yt(407));a=a()}else{if(a=r(),wa===null)throw Error(Yt(349));(_o&127)!==0||F$(i,r,a)}s.memoizedState=a;var l={value:a,getSnapshot:r};return s.queue=l,$Q(Y$.bind(null,i,l,e),[e]),i.flags|=2048,Pk(9,{destroy:void 0},B$.bind(null,i,l,a,r),null),a},useId:function(){var e=as(),r=wa.identifierPrefix;if(zo){var a=eZ,i=Fu;a=(i&~(1<<32-jl(i)-1)).toString(32)+a,r="_"+r+"R_"+a,a=Wj++,0<a&&(r+="H"+a.toString(32)),r+="_"}else a=vwe++,r="_"+r+"r_"+a.toString(32)+"_";return e.memoizedState=r},useHostTransitionStatus:qY,useFormState:XQ,useActionState:XQ,useOptimistic:function(e){var r=as();r.memoizedState=r.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=a,r=HY.bind(null,co,!0,a),a.dispatch=r,[e,r]},useMemoCache:NY,useCacheRefresh:function(){return as().memoizedState=zwe.bind(null,co)},useEffectEvent:function(e){var r=as(),a={impl:e};return r.memoizedState=a,function(){if((No&2)!==0)throw Error(Yt(440));return a.impl.apply(void 0,arguments)}}},VY={readContext:Gi,use:MN,useCallback:ree,useContext:Gi,useEffect:BY,useImperativeHandle:tee,useInsertionEffect:J$,useLayoutEffect:$$,useMemo:oee,useReducer:zj,useRef:X$,useState:function(){return zj(qZ)},useDebugValue:YY,useDeferredValue:function(e,r){var a=On();return aee(a,ha.memoizedState,e,r)},useTransition:function(){var e=zj(qZ)[0],r=On().memoizedState;return[typeof e==="boolean"?e:jT(e),r]},useSyncExternalStore:N$,useId:see,useHostTransitionStatus:qY,useFormState:QQ,useActionState:QQ,useOptimistic:function(e,r){var a=On();return H$(a,ha,e,r)},useMemoCache:NY,useCacheRefresh:lee};VY.useEffectEvent=Q$;var pee={readContext:Gi,use:MN,useCallback:ree,useContext:Gi,useEffect:BY,useImperativeHandle:tee,useInsertionEffect:J$,useLayoutEffect:$$,useMemo:oee,useReducer:J6,useRef:X$,useState:function(){return J6(qZ)},useDebugValue:YY,useDeferredValue:function(e,r){var a=On();return ha===null?UY(a,e,r):aee(a,ha.memoizedState,e,r)},useTransition:function(){var e=J6(qZ)[0],r=On().memoizedState;return[typeof e==="boolean"?e:jT(e),r]},useSyncExternalStore:N$,useId:see,useHostTransitionStatus:qY,useFormState:JQ,useActionState:JQ,useOptimistic:function(e,r){var a=On();if(ha!==null)return H$(a,ha,e,r);return a.baseState=e,[e,a.queue.dispatch]},useMemoCache:NY,useCacheRefresh:lee};pee.useEffectEvent=Q$;function $6(e,r,a,i){r=e.memoizedState,a=a(i,r),a=a===null||a===void 0?r:Qa({},r,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var HB={enqueueSetState:function(e,r,a){e=e._reactInternals;var i=lc(),s=Zz(i);s.payload=r,a!==void 0&&a!==null&&(s.callback=a),r=pz(e,s,i),r!==null&&(Hs(r,e,i),XP(r,e,i))},enqueueReplaceState:function(e,r,a){e=e._reactInternals;var i=lc(),s=Zz(i);s.tag=1,s.payload=r,a!==void 0&&a!==null&&(s.callback=a),r=pz(e,s,i),r!==null&&(Hs(r,e,i),XP(r,e,i))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var a=lc(),i=Zz(a);i.tag=2,r!==void 0&&r!==null&&(i.callback=r),r=pz(e,i,a),r!==null&&(Hs(r,e,a),XP(r,e,a))}};function eJ(e,r,a,i,s,l,c){return e=e.stateNode,typeof e.shouldComponentUpdate==="function"?e.shouldComponentUpdate(i,l,c):r.prototype&&r.prototype.isPureReactComponent?!xT(a,i)||!xT(s,l):!0}function tJ(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&&HB.enqueueReplaceState(r,r.state,null)}function xz(e,r){var a=r;if("ref"in r){a={};for(var i in r)i!=="ref"&&(a[i]=r[i])}if(e=e.defaultProps){a===r&&(a=Qa({},a));for(var s in e)a[s]===void 0&&(a[s]=e[s])}return a}function Lwe(e){Nj(e)}function kwe(e){console.error(e)}function Cwe(e){Nj(e)}function Gj(e,r){try{var a=e.onUncaughtError;a(r.value,{componentStack:r.stack})}catch(i){setTimeout(function(){throw i})}}function rJ(e,r,a){try{var i=e.onCaughtError;i(a.value,{componentStack:a.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function VB(e,r,a){return a=Zz(a),a.tag=3,a.payload={element:null},a.callback=function(){Gj(e,r)},a}function mee(e){return e=Zz(e),e.tag=3,e}function hee(e,r,a,i){var s=a.type.getDerivedStateFromError;if(typeof s==="function"){var l=i.value;e.payload=function(){return s(l)},e.callback=function(){rJ(r,a,i)}}var c=a.stateNode;c!==null&&typeof c.componentDidCatch==="function"&&(e.callback=function(){rJ(r,a,i),typeof s!=="function"&&(HM===null?HM=new Set([this]):HM.add(this));var d=i.stack;this.componentDidCatch(i.value,{componentStack:d!==null?d:""})})}function Iwe(e,r,a,i,s){if(a.flags|=32768,i!==null&&typeof i==="object"&&typeof i.then==="function"){if(r=a.alternate,r!==null&&Nk(r,a,s,!0),a=Bl.current,a!==null){switch(a.tag){case 31:case 13:return sc===null?$j():a.alternate===null&&yn===0&&(yn=3),a.flags&=-257,a.flags|=65536,a.lanes=s,i===Uj?a.flags|=16384:(r=a.updateQueue,r===null?a.updateQueue=new Set([i]):r.add(i),cB(e,i,s)),!1;case 22:return a.flags|=65536,i===Uj?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)),cB(e,i,s)),!1}throw Error(Yt(435,a.tag))}return cB(e,i,s),$j(),!1}if(zo)return r=Bl.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=s,i!==TB&&(e=Error(Yt(422),{cause:i}),bT(ic(e,a)))):(i!==TB&&(r=Error(Yt(423),{cause:i}),bT(ic(r,a))),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,i=ic(i,a),s=VB(e.stateNode,i,s),Q6(e,s),yn!==4&&(yn=2)),!1;var l=Error(Yt(520),{cause:i});if(l=ic(l,a),pT===null?pT=[l]:pT.push(l),yn!==4&&(yn=2),r===null)return!0;i=ic(i,a),a=r;do{switch(a.tag){case 3:return a.flags|=65536,e=s&-s,a.lanes|=e,e=VB(a.stateNode,i,e),Q6(a,e),!1;case 1:if(r=a.type,l=a.stateNode,(a.flags&128)===0&&(typeof r.getDerivedStateFromError==="function"||l!==null&&typeof l.componentDidCatch==="function"&&(HM===null||!HM.has(l))))return a.flags|=65536,s&=-s,a.lanes|=s,s=mee(s),hee(s,e,a,i),Q6(a,s),!1}a=a.return}while(a!==null);return!1}var WY=Error(Yt(461)),ii=!1;function Ui(e,r,a,i){r.child=e===null?T$(r,null,a,i):Mz(r,e.child,a,i)}function oJ(e,r,a,i,s){a=a.render;var l=r.ref;if("ref"in i){var c={};for(var d in i)d!=="ref"&&(c[d]=i[d])}else c=i;if(gz(r),i=EY(e,r,a,c,l,s),d=DY(),e!==null&&!ii)return OY(e,r,s),HZ(e,r,s);return zo&&d&&LY(r),r.flags|=1,Ui(e,r,i,s),r.child}function aJ(e,r,a,i,s){if(e===null){var l=a.type;if(typeof l==="function"&&!SY(l)&&l.defaultProps===void 0&&a.compare===null)return r.tag=15,r.type=l,gee(e,r,l,i,s);return e=_j(a.type,null,i,r,r.mode,s),e.ref=r.ref,e.return=r,r.child=e}if(l=e.child,!GY(e,s)){var c=l.memoizedProps;if(a=a.compare,a=a!==null?a:xT,a(c,i)&&e.ref===r.ref)return HZ(e,r,s)}return r.flags|=1,e=NZ(l,i),e.ref=r.ref,e.return=r,r.child=e}function gee(e,r,a,i,s){if(e!==null){var l=e.memoizedProps;if(xT(l,i)&&e.ref===r.ref)if(ii=!1,r.pendingProps=i=l,GY(e,s))(e.flags&131072)!==0&&(ii=!0);else return r.lanes=e.lanes,HZ(e,r,s)}return WB(e,r,a,i,s)}function Mee(e,r,a,i){var s=i.children,l=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(l=l!==null?l.baseLanes|a:a,e!==null){i=r.child=e.child;for(s=0;i!==null;)s=s|i.lanes|i.childLanes,i=i.sibling;i=s&~l}else i=0,r.child=null;return nJ(e,r,l,a,i)}if((a&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},e!==null&&wj(r,l!==null?l.cachePool:null),l!==null?WQ(r,l):FB(),D$(r);else return i=r.lanes=536870912,nJ(e,r,l!==null?l.baseLanes|a:a,a,i)}else l!==null?(wj(r,l.cachePool),WQ(r,l),DM(r),r.memoizedState=null):(e!==null&&wj(r,null),FB(),DM(r));return Ui(e,r,s,a),r.child}function YP(e,r){return e!==null&&e.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function nJ(e,r,a,i,s){var l=IY();return l=l===null?null:{parent:ni._currentValue,pool:l},r.memoizedState={baseLanes:a,cachePool:l},e!==null&&wj(r,null),FB(),D$(r),e!==null&&Nk(e,r,i,!0),r.childLanes=s,null}function Lj(e,r){return r=Kj({mode:r.mode,children:r.children},e.mode),r.ref=e.ref,e.child=r,r.return=e,r}function iJ(e,r,a){return Mz(r,e.child,null,a),e=Lj(r,r.pendingProps),e.flags|=2,sl(r),r.memoizedState=null,e}function Rwe(e,r,a){var i=r.pendingProps,s=(r.flags&128)!==0;if(r.flags&=-129,e===null){if(zo){if(i.mode==="hidden")return e=Lj(r,i),r.lanes=536870912,YP(null,e);if(BB(r),(e=Xa)?(e=ute(e,fc),e=e!==null&&e.data==="&"?e:null,e!==null&&(r.memoizedState={dehydrated:e,treeContext:XM!==null?{id:Fu,overflow:eZ}:null,retryLane:536870912,hydrationErrors:null},a=S$(e),a.return=r,r.child=a,Hi=r,Xa=null)):e=null,e===null)throw QM(r);return r.lanes=536870912,null}return Lj(r,i)}var l=e.memoizedState;if(l!==null){var c=l.dehydrated;if(BB(r),s)if(r.flags&256)r.flags&=-257,r=iJ(e,r,a);else if(r.memoizedState!==null)r.child=e.child,r.flags|=128,r=null;else throw Error(Yt(558));else if(ii||Nk(e,r,a,!1),s=(a&e.childLanes)!==0,ii||s){if(i=wa,i!==null&&(c=QJ(i,a),c!==0&&c!==l.retryLane))throw l.retryLane=c,wz(e,c),Hs(i,e,c),WY;$j(),r=iJ(e,r,a)}else e=l.treeContext,Xa=cc(c.nextSibling),Hi=r,zo=!0,qM=null,fc=!1,e!==null&&k$(r,e),r=Lj(r,i),r.flags|=4096;return r}return e=NZ(e.child,{mode:i.mode,children:i.children}),e.ref=r.ref,r.child=e,e.return=r,e}function kj(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(Yt(284));if(e===null||e.ref!==a)r.flags|=4194816}}function WB(e,r,a,i,s){if(gz(r),a=EY(e,r,a,i,void 0,s),i=DY(),e!==null&&!ii)return OY(e,r,s),HZ(e,r,s);return zo&&i&&LY(r),r.flags|=1,Ui(e,r,a,s),r.child}function fJ(e,r,a,i,s,l){if(gz(r),r.updateQueue=null,a=j$(r,i,a,s),O$(e),i=DY(),e!==null&&!ii)return OY(e,r,l),HZ(e,r,l);return zo&&i&&LY(r),r.flags|=1,Ui(e,r,a,l),r.child}function sJ(e,r,a,i,s){if(gz(r),r.stateNode===null){var l=hk,c=a.contextType;typeof c==="object"&&c!==null&&(l=Gi(c)),l=new a(i,l),r.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,l.updater=HB,r.stateNode=l,l._reactInternals=r,l=r.stateNode,l.props=i,l.state=r.memoizedState,l.refs={},PY(r),c=a.contextType,l.context=typeof c==="object"&&c!==null?Gi(c):hk,l.state=r.memoizedState,c=a.getDerivedStateFromProps,typeof c==="function"&&($6(r,a,c,i),l.state=r.memoizedState),typeof a.getDerivedStateFromProps==="function"||typeof l.getSnapshotBeforeUpdate==="function"||typeof l.UNSAFE_componentWillMount!=="function"&&typeof l.componentWillMount!=="function"||(c=l.state,typeof l.componentWillMount==="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount==="function"&&l.UNSAFE_componentWillMount(),c!==l.state&&HB.enqueueReplaceState(l,l.state,null),JP(r,i,l,s),QP(),l.state=r.memoizedState),typeof l.componentDidMount==="function"&&(r.flags|=4194308),i=!0}else if(e===null){l=r.stateNode;var d=r.memoizedProps,m=xz(a,d);l.props=m;var g=l.context,M=a.contextType;c=hk,typeof M==="object"&&M!==null&&(c=Gi(M));var v=a.getDerivedStateFromProps;M=typeof v==="function"||typeof l.getSnapshotBeforeUpdate==="function",d=r.pendingProps!==d,M||typeof l.UNSAFE_componentWillReceiveProps!=="function"&&typeof l.componentWillReceiveProps!=="function"||(d||g!==c)&&tJ(r,l,i,c),TM=!1;var y=r.memoizedState;l.state=y,JP(r,i,l,s),QP(),g=r.memoizedState,d||y!==g||TM?(typeof v==="function"&&($6(r,a,v,i),g=r.memoizedState),(m=TM||eJ(r,a,m,i,y,g,c))?(M||typeof l.UNSAFE_componentWillMount!=="function"&&typeof l.componentWillMount!=="function"||(typeof l.componentWillMount==="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount==="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount==="function"&&(r.flags|=4194308)):(typeof l.componentDidMount==="function"&&(r.flags|=4194308),r.memoizedProps=i,r.memoizedState=g),l.props=i,l.state=g,l.context=c,i=m):(typeof l.componentDidMount==="function"&&(r.flags|=4194308),i=!1)}else{l=r.stateNode,jB(e,r),c=r.memoizedProps,M=xz(a,c),l.props=M,v=r.pendingProps,y=l.context,g=a.contextType,m=hk,typeof g==="object"&&g!==null&&(m=Gi(g)),d=a.getDerivedStateFromProps,(g=typeof d==="function"||typeof l.getSnapshotBeforeUpdate==="function")||typeof l.UNSAFE_componentWillReceiveProps!=="function"&&typeof l.componentWillReceiveProps!=="function"||(c!==v||y!==m)&&tJ(r,l,i,m),TM=!1,y=r.memoizedState,l.state=y,JP(r,i,l,s),QP();var x=r.memoizedState;c!==v||y!==x||TM||e!==null&&e.dependencies!==null&&Yj(e.dependencies)?(typeof d==="function"&&($6(r,a,d,i),x=r.memoizedState),(M=TM||eJ(r,a,M,i,y,x,m)||e!==null&&e.dependencies!==null&&Yj(e.dependencies))?(g||typeof l.UNSAFE_componentWillUpdate!=="function"&&typeof l.componentWillUpdate!=="function"||(typeof l.componentWillUpdate==="function"&&l.componentWillUpdate(i,x,m),typeof l.UNSAFE_componentWillUpdate==="function"&&l.UNSAFE_componentWillUpdate(i,x,m)),typeof l.componentDidUpdate==="function"&&(r.flags|=4),typeof l.getSnapshotBeforeUpdate==="function"&&(r.flags|=1024)):(typeof l.componentDidUpdate!=="function"||c===e.memoizedProps&&y===e.memoizedState||(r.flags|=4),typeof l.getSnapshotBeforeUpdate!=="function"||c===e.memoizedProps&&y===e.memoizedState||(r.flags|=1024),r.memoizedProps=i,r.memoizedState=x),l.props=i,l.state=x,l.context=m,i=M):(typeof l.componentDidUpdate!=="function"||c===e.memoizedProps&&y===e.memoizedState||(r.flags|=4),typeof l.getSnapshotBeforeUpdate!=="function"||c===e.memoizedProps&&y===e.memoizedState||(r.flags|=1024),i=!1)}return l=i,kj(e,r),i=(r.flags&128)!==0,l||i?(l=r.stateNode,a=i&&typeof a.getDerivedStateFromError!=="function"?null:l.render(),r.flags|=1,e!==null&&i?(r.child=Mz(r,e.child,null,s),r.child=Mz(r,null,a,s)):Ui(e,r,a,s),r.memoizedState=l.state,e=r.child):e=HZ(e,r,s),e}function lJ(e,r,a,i){return hz(),r.flags|=256,Ui(e,r,a,i),r.child}var eB={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function tB(e){return{baseLanes:e,cachePool:I$()}}function rB(e,r,a){return e=e!==null?e.childLanes&~a:0,r&&(e|=zl),e}function vee(e,r,a){var i=r.pendingProps,s=!1,l=(r.flags&128)!==0,c;if((c=l)||(c=e!==null&&e.memoizedState===null?!1:(Dn.current&2)!==0),c&&(s=!0,r.flags&=-129),c=(r.flags&32)!==0,r.flags&=-33,e===null){if(zo){if(s?EM(r):DM(r),(e=Xa)?(e=ute(e,fc),e=e!==null&&e.data!=="&"?e:null,e!==null&&(r.memoizedState={dehydrated:e,treeContext:XM!==null?{id:Fu,overflow:eZ}:null,retryLane:536870912,hydrationErrors:null},a=S$(e),a.return=r,r.child=a,Hi=r,Xa=null)):e=null,e===null)throw QM(r);return lY(e)?r.lanes=32:r.lanes=536870912,null}var d=i.children;if(i=i.fallback,s)return DM(r),s=r.mode,d=Kj({mode:"hidden",children:d},s),i=cz(i,s,a,null),d.return=r,i.return=r,d.sibling=i,r.child=d,i=r.child,i.memoizedState=tB(a),i.childLanes=rB(e,c,a),r.memoizedState=eB,YP(null,i);return EM(r),GB(r,d)}var m=e.memoizedState;if(m!==null&&(d=m.dehydrated,d!==null)){if(l)r.flags&256?(EM(r),r.flags&=-257,r=oB(e,r,a)):r.memoizedState!==null?(DM(r),r.child=e.child,r.flags|=128,r=null):(DM(r),d=i.fallback,s=r.mode,i=Kj({mode:"visible",children:i.children},s),d=cz(d,s,a,null),d.flags|=2,i.return=r,d.return=r,i.sibling=d,r.child=i,Mz(r,e.child,null,a),i=r.child,i.memoizedState=tB(a),i.childLanes=rB(e,c,a),r.memoizedState=eB,r=YP(null,i));else if(EM(r),lY(d)){if(c=d.nextSibling&&d.nextSibling.dataset,c)var g=c.dgst;c=g,i=Error(Yt(419)),i.stack="",i.digest=c,bT({value:i,source:null,stack:null}),r=oB(e,r,a)}else if(ii||Nk(e,r,a,!1),c=(a&e.childLanes)!==0,ii||c){if(c=wa,c!==null&&(i=QJ(c,a),i!==0&&i!==m.retryLane))throw m.retryLane=i,wz(e,i),Hs(c,e,i),WY;sY(d)||$j(),r=oB(e,r,a)}else sY(d)?(r.flags|=192,r.child=e.child,r=null):(e=m.treeContext,Xa=cc(d.nextSibling),Hi=r,zo=!0,qM=null,fc=!1,e!==null&&k$(r,e),r=GB(r,i.children),r.flags|=4096);return r}if(s)return DM(r),d=i.fallback,s=r.mode,m=e.child,g=m.sibling,i=NZ(m,{mode:"hidden",children:i.children}),i.subtreeFlags=m.subtreeFlags&65011712,g!==null?d=NZ(g,d):(d=cz(d,s,a,null),d.flags|=2),d.return=r,i.return=r,i.sibling=d,r.child=i,YP(null,i),i=r.child,d=e.child.memoizedState,d===null?d=tB(a):(s=d.cachePool,s!==null?(m=ni._currentValue,s=s.parent!==m?{parent:m,pool:m}:s):s=I$(),d={baseLanes:d.baseLanes|a,cachePool:s}),i.memoizedState=d,i.childLanes=rB(e,c,a),r.memoizedState=eB,YP(e.child,i);return EM(r),a=e.child,e=a.sibling,a=NZ(a,{mode:"visible",children:i.children}),a.return=r,a.sibling=null,e!==null&&(c=r.deletions,c===null?(r.deletions=[e],r.flags|=16):c.push(e)),r.child=a,r.memoizedState=null,a}function GB(e,r){return r=Kj({mode:"visible",children:r},e.mode),r.return=e,e.child=r}function Kj(e,r){return e=Zl(22,e,null,r),e.lanes=0,e}function oB(e,r,a){return Mz(r,e.child,null,a),e=GB(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function cJ(e,r,a){e.lanes|=r;var i=e.alternate;i!==null&&(i.lanes|=r),EB(e.return,r,a)}function aB(e,r,a,i,s,l){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:s,treeForkCount:l}:(c.isBackwards=r,c.rendering=null,c.renderingStartTime=0,c.last=i,c.tail=a,c.tailMode=s,c.treeForkCount=l)}function xee(e,r,a){var i=r.pendingProps,s=i.revealOrder,l=i.tail;i=i.children;var c=Dn.current,d=(c&2)!==0;if(d?(c=c&1|2,r.flags|=128):c&=1,Ya(Dn,c),Ui(e,r,i,a),i=zo?yT:0,!d&&e!==null&&(e.flags&128)!==0)e:for(e=r.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&cJ(e,a,r);else if(e.tag===19)cJ(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(s){case"forwards":a=r.child;for(s=null;a!==null;)e=a.alternate,e!==null&&Hj(e)===null&&(s=a),a=a.sibling;a=s,a===null?(s=r.child,r.child=null):(s=a.sibling,a.sibling=null),aB(r,!1,s,a,l,i);break;case"backwards":case"unstable_legacy-backwards":a=null,s=r.child;for(r.child=null;s!==null;){if(e=s.alternate,e!==null&&Hj(e)===null){r.child=s;break}e=s.sibling,s.sibling=a,a=s,s=e}aB(r,!0,a,null,l,i);break;case"together":aB(r,!1,null,null,void 0,i);break;default:r.memoizedState=null}return r.child}function HZ(e,r,a){if(e!==null&&(r.dependencies=e.dependencies),$M|=r.lanes,(a&r.childLanes)===0)if(e!==null){if(Nk(e,r,a,!1),(a&r.childLanes)===0)return null}else return null;if(e!==null&&r.child!==e.child)throw Error(Yt(153));if(r.child!==null){e=r.child,a=NZ(e,e.pendingProps),r.child=a;for(a.return=r;e.sibling!==null;)e=e.sibling,a=a.sibling=NZ(e,e.pendingProps),a.return=r;a.sibling=null}return r.child}function GY(e,r){if((e.lanes&r)!==0)return!0;return e=e.dependencies,e!==null&&Yj(e)?!0:!1}function Pwe(e,r,a){switch(r.tag){case 3:Ej(r,r.stateNode.containerInfo),AM(r,ni,e.memoizedState.cache),hz();break;case 27:case 5:bB(r);break;case 4:Ej(r,r.stateNode.containerInfo);break;case 10:AM(r,r.type,r.memoizedProps.value);break;case 31:if(r.memoizedState!==null)return r.flags|=128,BB(r),null;break;case 13:var i=r.memoizedState;if(i!==null){if(i.dehydrated!==null)return EM(r),r.flags|=128,null;if((a&r.child.childLanes)!==0)return vee(e,r,a);return EM(r),e=HZ(e,r,a),e!==null?e.sibling:null}EM(r);break;case 19:var s=(e.flags&128)!==0;if(i=(a&r.childLanes)!==0,i||(Nk(e,r,a,!1),i=(a&r.childLanes)!==0),s){if(i)return xee(e,r,a);r.flags|=128}if(s=r.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Ya(Dn,Dn.current),i)break;else return null;case 22:return r.lanes=0,Mee(e,r,a,r.pendingProps);case 24:AM(r,ni,e.memoizedState.cache)}return HZ(e,r,a)}function yee(e,r,a){if(e!==null)if(e.memoizedProps!==r.pendingProps)ii=!0;else{if(!GY(e,a)&&(r.flags&128)===0)return ii=!1,Pwe(e,r,a);ii=(e.flags&131072)!==0?!0:!1}else ii=!1,zo&&(r.flags&1048576)!==0&&L$(r,yT,r.index);switch(r.lanes=0,r.tag){case 16:e:{var i=r.pendingProps;if(e=fz(r.elementType),r.type=e,typeof e==="function")SY(e)?(i=xz(e,i),r.tag=1,r=sJ(null,r,e,i,a)):(r.tag=0,r=WB(null,r,e,i,a));else{if(e!==void 0&&e!==null){var s=e.$$typeof;if(s===ZY){r.tag=11,r=oJ(null,r,e,i,a);break e}else if(s===pY){r.tag=14,r=aJ(null,r,e,i,a);break e}}throw r=xB(e)||e,Error(Yt(306,r,""))}}return r;case 0:return WB(e,r,r.type,r.pendingProps,a);case 1:return i=r.type,s=xz(i,r.pendingProps),sJ(e,r,i,s,a);case 3:e:{if(Ej(r,r.stateNode.containerInfo),e===null)throw Error(Yt(387));i=r.pendingProps;var l=r.memoizedState;s=l.element,jB(e,r),JP(r,i,null,a);var c=r.memoizedState;if(i=c.cache,AM(r,ni,i),i!==l.cache&&DB(r,[ni],a,!0),QP(),i=c.element,l.isDehydrated)if(l={element:i,isDehydrated:!1,cache:c.cache},r.updateQueue.baseState=l,r.memoizedState=l,r.flags&256){r=lJ(e,r,i,a);break e}else if(i!==s){s=ic(Error(Yt(424)),r),bT(s),r=lJ(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}Xa=cc(e.firstChild),Hi=r,zo=!0,qM=null,fc=!0,a=T$(r,null,i,a);for(r.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(hz(),i===s){r=HZ(e,r,a);break e}Ui(e,r,i,a)}r=r.child}return r;case 26:return kj(e,r),e===null?(a=IJ(r.type,null,r.pendingProps,null))?r.memoizedState=a:zo||(a=r.type,e=r.pendingProps,i=oN(UM.current).createElement(a),i[qi]=r,i[Vs]=e,$i(i,a,e),Ii(i),r.stateNode=i):r.memoizedState=IJ(r.type,e.memoizedProps,r.pendingProps,e.memoizedState),null;case 27:return bB(r),e===null&&zo&&(i=r.stateNode=dte(r.type,r.pendingProps,UM.current),Hi=r,fc=!0,s=Xa,t8(r.type)?(cY=s,Xa=cc(i.firstChild)):Xa=s),Ui(e,r,r.pendingProps.children,a),kj(e,r),e===null&&(r.flags|=4194304),r.child;case 5:if(e===null&&zo){if(s=i=Xa)i=i0e(i,r.type,r.pendingProps,fc),i!==null?(r.stateNode=i,Hi=r,Xa=cc(i.firstChild),fc=!1,s=!0):s=!1;s||QM(r)}return bB(r),s=r.type,l=r.pendingProps,c=e!==null?e.memoizedProps:null,i=l.children,iY(s,l)?i=null:c!==null&&iY(s,c)&&(r.flags|=32),r.memoizedState!==null&&(s=EY(e,r,xwe,null,null,a),kT._currentValue=s),kj(e,r),Ui(e,r,i,a),r.child;case 6:if(e===null&&zo){if(e=a=Xa)a=f0e(a,r.pendingProps,fc),a!==null?(r.stateNode=a,Hi=r,Xa=null,e=!0):e=!1;e||QM(r)}return null;case 13:return vee(e,r,a);case 4:return Ej(r,r.stateNode.containerInfo),i=r.pendingProps,e===null?r.child=Mz(r,null,i,a):Ui(e,r,i,a),r.child;case 11:return oJ(e,r,r.type,r.pendingProps,a);case 7:return Ui(e,r,r.pendingProps,a),r.child;case 8:return Ui(e,r,r.pendingProps.children,a),r.child;case 12:return Ui(e,r,r.pendingProps.children,a),r.child;case 10:return i=r.pendingProps,AM(r,r.type,i.value),Ui(e,r,i.children,a),r.child;case 9:return s=r.type._context,i=r.pendingProps.children,gz(r),s=Gi(s),i=i(s),r.flags|=1,Ui(e,r,i,a),r.child;case 14:return aJ(e,r,r.type,r.pendingProps,a);case 15:return gee(e,r,r.type,r.pendingProps,a);case 19:return xee(e,r,a);case 31:return Rwe(e,r,a);case 22:return Mee(e,r,a,r.pendingProps);case 24:return gz(r),i=Gi(ni),e===null?(s=IY(),s===null&&(s=wa,l=CY(),s.pooledCache=l,l.refCount++,l!==null&&(s.pooledCacheLanes|=a),s=l),r.memoizedState={parent:i,cache:s},PY(r),AM(r,ni,s)):((e.lanes&a)!==0&&(jB(e,r),JP(r,null,null,a),QP()),s=e.memoizedState,l=r.memoizedState,s.parent!==i?(s={parent:i,cache:i},r.memoizedState=s,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=s),AM(r,ni,i)):(i=l.cache,AM(r,ni,i),i!==s.cache&&DB(r,[ni],a,!0))),Ui(e,r,r.pendingProps.children,a),r.child;case 29:throw r.pendingProps}throw Error(Yt(156,r.tag))}function IZ(e){e.flags|=4}function nB(e,r,a,i,s){if(r=(e.mode&32)!==0)r=!1;if(r){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(Hee())e.flags|=8192;else throw dz=Uj,RY}else e.flags&=-16777217}function uJ(e,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!mte(r))if(Hee())e.flags|=8192;else throw dz=Uj,RY}function Zj(e,r){r!==null&&(e.flags|=4),e.flags&16384&&(r=e.tag!==22?GJ():536870912,e.lanes|=r,Tk|=r)}function AP(e,r){if(!zo)switch(e.tailMode){case"hidden":r=e.tail;for(var a=null;r!==null;)r.alternate!==null&&(a=r),r=r.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?r||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Ka(e){var r=e.alternate!==null&&e.alternate.child===e.child,a=0,i=0;if(r)for(var s=e.child;s!==null;)a|=s.lanes|s.childLanes,i|=s.subtreeFlags&65011712,i|=s.flags&65011712,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)a|=s.lanes|s.childLanes,i|=s.subtreeFlags,i|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=i,e.childLanes=a,r}function Twe(e,r,a){var i=r.pendingProps;switch(kY(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ka(r),null;case 1:return Ka(r),null;case 3:if(a=r.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),r.memoizedState.cache!==i&&(r.flags|=2048),FZ(ni),Lk(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),e===null||e.child===null)ok(r)?IZ(r):e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,X6());return Ka(r),null;case 26:var{type:s,memoizedState:l}=r;return e===null?(IZ(r),l!==null?(Ka(r),uJ(r,l)):(Ka(r),nB(r,s,null,i,a))):l?l!==e.memoizedState?(IZ(r),Ka(r),uJ(r,l)):(Ka(r),r.flags&=-16777217):(e=e.memoizedProps,e!==i&&IZ(r),Ka(r),nB(r,s,e,i,a)),null;case 27:if(Dj(r),a=UM.current,s=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==i&&IZ(r);else{if(!i){if(r.stateNode===null)throw Error(Yt(166));return Ka(r),null}e=rZ.current,ok(r)?FQ(r,e):(e=dte(s,i,a),r.stateNode=e,IZ(r))}return Ka(r),null;case 5:if(Dj(r),s=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==i&&IZ(r);else{if(!i){if(r.stateNode===null)throw Error(Yt(166));return Ka(r),null}if(l=rZ.current,ok(r))FQ(r,l);else{var c=oN(UM.current);switch(l){case 1:l=c.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:l=c.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":l=c.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":l=c.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":l=c.createElement("div"),l.innerHTML="<script></script>",l=l.removeChild(l.firstChild);break;case"select":l=typeof i.is==="string"?c.createElement("select",{is:i.is}):c.createElement("select"),i.multiple?l.multiple=!0:i.size&&(l.size=i.size);break;default:l=typeof i.is==="string"?c.createElement(s,{is:i.is}):c.createElement(s)}}l[qi]=r,l[Vs]=i;e:for(c=r.child;c!==null;){if(c.tag===5||c.tag===6)l.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===r)break e;for(;c.sibling===null;){if(c.return===null||c.return===r)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r.stateNode=l;e:switch($i(l,s,i),s){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&IZ(r)}}return Ka(r),nB(r,r.type,e===null?null:e.memoizedProps,r.pendingProps,a),null;case 6:if(e&&r.stateNode!=null)e.memoizedProps!==i&&IZ(r);else{if(typeof i!=="string"&&r.stateNode===null)throw Error(Yt(166));if(e=UM.current,ok(r)){if(e=r.stateNode,a=r.memoizedProps,i=null,s=Hi,s!==null)switch(s.tag){case 27:case 5:i=s.memoizedProps}e[qi]=r,e=e.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||ste(e.nodeValue,a)?!0:!1,e||QM(r,!0)}else e=oN(e).createTextNode(i),e[qi]=r,r.stateNode=e}return Ka(r),null;case 31:if(a=r.memoizedState,e===null||e.memoizedState!==null){if(i=ok(r),a!==null){if(e===null){if(!i)throw Error(Yt(318));if(e=r.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Yt(557));e[qi]=r}else hz(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;Ka(r),e=!1}else a=X6(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e){if(r.flags&256)return sl(r),r;return sl(r),null}if((r.flags&128)!==0)throw Error(Yt(558))}return Ka(r),null;case 13:if(i=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=ok(r),i!==null&&i.dehydrated!==null){if(e===null){if(!s)throw Error(Yt(318));if(s=r.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(Yt(317));s[qi]=r}else hz(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;Ka(r),s=!1}else s=X6(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s){if(r.flags&256)return sl(r),r;return sl(r),null}}if(sl(r),(r.flags&128)!==0)return r.lanes=a,r;return a=i!==null,e=e!==null&&e.memoizedState!==null,a&&(i=r.child,s=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(s=i.alternate.memoizedState.cachePool.pool),l=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(l=i.memoizedState.cachePool.pool),l!==s&&(i.flags|=2048)),a!==e&&a&&(r.child.flags|=8192),Zj(r,r.updateQueue),Ka(r),null;case 4:return Lk(),e===null&&ite(r.stateNode.containerInfo),Ka(r),null;case 10:return FZ(r.type),Ka(r),null;case 19:if(Ri(Dn),i=r.memoizedState,i===null)return Ka(r),null;if(s=(r.flags&128)!==0,l=i.rendering,l===null)if(s)AP(i,!1);else{if(yn!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(l=Hj(e),l!==null){r.flags|=128,AP(i,!1),e=l.updateQueue,r.updateQueue=e,Zj(r,e),r.subtreeFlags=0,e=a;for(a=r.child;a!==null;)z$(a,e),a=a.sibling;return Ya(Dn,Dn.current&1|2),zo&&AZ(r,i.treeForkCount),r.child}e=e.sibling}i.tail!==null&&Ll()>Qj&&(r.flags|=128,s=!0,AP(i,!1),r.lanes=4194304)}else{if(!s)if(e=Hj(l),e!==null){if(r.flags|=128,s=!0,e=e.updateQueue,r.updateQueue=e,Zj(r,e),AP(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!zo)return Ka(r),null}else 2*Ll()-i.renderingStartTime>Qj&&a!==536870912&&(r.flags|=128,s=!0,AP(i,!1),r.lanes=4194304);i.isBackwards?(l.sibling=r.child,r.child=l):(e=i.last,e!==null?e.sibling=l:r.child=l,i.last=l)}if(i.tail!==null)return e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Ll(),e.sibling=null,a=Dn.current,Ya(Dn,s?a&1|2:a&1),zo&&AZ(r,i.treeForkCount),e;return Ka(r),null;case 22:case 23:return sl(r),TY(),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&&(Ka(r),r.subtreeFlags&6&&(r.flags|=8192)):Ka(r),a=r.updateQueue,a!==null&&Zj(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&&Ri(uz),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),r.memoizedState.cache!==a&&(r.flags|=2048),FZ(ni),Ka(r),null;case 25:return null;case 30:return null}throw Error(Yt(156,r.tag))}function Awe(e,r){switch(kY(r),r.tag){case 1:return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return FZ(ni),Lk(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 26:case 27:case 5:return Dj(r),null;case 31:if(r.memoizedState!==null){if(sl(r),r.alternate===null)throw Error(Yt(340));hz()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 13:if(sl(r),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(Yt(340));hz()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return Ri(Dn),null;case 4:return Lk(),null;case 10:return FZ(r.type),null;case 22:case 23:return sl(r),TY(),e!==null&&Ri(uz),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 24:return FZ(ni),null;case 25:return null;default:return null}}function bee(e,r){switch(kY(r),r.tag){case 3:FZ(ni),Lk();break;case 26:case 27:case 5:Dj(r);break;case 4:Lk();break;case 31:r.memoizedState!==null&&sl(r);break;case 13:sl(r);break;case 19:Ri(Dn);break;case 10:FZ(r.type);break;case 22:case 23:sl(r),TY(),e!==null&&Ri(uz);break;case 24:FZ(ni)}}function NT(e,r){try{var a=r.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var s=i.next;a=s;do{if((a.tag&e)===e){i=void 0;var l=a.create,c=a.inst;i=l(),c.destroy=i}a=a.next}while(a!==s)}}catch(d){fa(r,r.return,d)}}function JM(e,r,a){try{var i=r.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var l=s.next;i=l;do{if((i.tag&e)===e){var c=i.inst,d=c.destroy;if(d!==void 0){c.destroy=void 0,s=r;var m=a,g=d;try{g()}catch(M){fa(s,m,M)}}}i=i.next}while(i!==l)}}catch(M){fa(r,r.return,M)}}function _ee(e){var r=e.updateQueue;if(r!==null){var a=e.stateNode;try{E$(r,a)}catch(i){fa(e,e.return,i)}}}function wee(e,r,a){a.props=xz(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(i){fa(e,r,i)}}function fT(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(s){fa(e,r,s)}}function tZ(e,r){var a=e.ref,i=e.refCleanup;if(a!==null)if(typeof i==="function")try{i()}catch(s){fa(e,r,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a==="function")try{a(null)}catch(s){fa(e,r,s)}else a.current=null}function zee(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(s){fa(e,e.return,s)}}function iB(e,r,a){try{var i=e.stateNode;e0e(i,e.type,a,r),i[Vs]=r}catch(s){fa(e,e.return,s)}}function See(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&t8(e.type)||e.tag===4}function fB(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||See(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&&t8(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 KB(e,r,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,r?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,r):(r=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,r.appendChild(e),a=a._reactRootContainer,a!==null&&a!==void 0||r.onclick!==null||(r.onclick=OZ));else if(i!==4&&(i===27&&t8(e.type)&&(a=e.stateNode,r=null),e=e.child,e!==null))for(KB(e,r,a),e=e.sibling;e!==null;)KB(e,r,a),e=e.sibling}function Xj(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&&t8(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(Xj(e,r,a),e=e.sibling;e!==null;)Xj(e,r,a),e=e.sibling}function Lee(e){var{stateNode:r,memoizedProps:a}=e;try{for(var i=e.type,s=r.attributes;s.length;)r.removeAttributeNode(s[0]);$i(r,i,a),r[qi]=e,r[Vs]=a}catch(l){fa(e,e.return,l)}}var EZ=!1,oi=!1,sB=!1,dJ=typeof WeakSet==="function"?WeakSet:Set,Ci=null;function Ewe(e,r){if(e=e.containerInfo,aY=fN,e=g$(e),_Y(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 s=i.anchorOffset,l=i.focusNode;i=i.focusOffset;try{a.nodeType,l.nodeType}catch(j){a=null;break e}var c=0,d=-1,m=-1,g=0,M=0,v=e,y=null;t:for(;;){for(var x;;){if(v!==a||s!==0&&v.nodeType!==3||(d=c+s),v!==l||i!==0&&v.nodeType!==3||(m=c+i),v.nodeType===3&&(c+=v.nodeValue.length),(x=v.firstChild)===null)break;y=v,v=x}for(;;){if(v===e)break t;if(y===a&&++g===s&&(d=c),y===l&&++M===i&&(m=c),(x=v.nextSibling)!==null)break;v=y,y=v.parentNode}v=x}a=d===-1||m===-1?null:{start:d,end:m}}else a=null}a=a||{start:0,end:0}}else a=null;nY={focusedElem:e,selectionRange:a},fN=!1;for(Ci=r;Ci!==null;)if(r=Ci,e=r.child,(r.subtreeFlags&1028)!==0&&e!==null)e.return=r,Ci=e;else for(;Ci!==null;){switch(r=Ci,l=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++)s=e[a],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&l!==null){e=void 0,a=r,s=l.memoizedProps,l=l.memoizedState,i=a.stateNode;try{var _=xz(a.type,s);e=i.getSnapshotBeforeUpdate(_,l),i.__reactInternalSnapshotBeforeUpdate=e}catch(j){fa(a,a.return,j)}}break;case 3:if((e&1024)!==0){if(e=r.stateNode.containerInfo,a=e.nodeType,a===9)fY(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":fY(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(Yt(163))}if(e=r.sibling,e!==null){e.return=r.return,Ci=e;break}Ci=r.return}}function kee(e,r,a){var i=a.flags;switch(a.tag){case 0:case 11:case 15:PZ(e,a),i&4&&NT(5,a);break;case 1:if(PZ(e,a),i&4)if(e=a.stateNode,r===null)try{e.componentDidMount()}catch(c){fa(a,a.return,c)}else{var s=xz(a.type,r.memoizedProps);r=r.memoizedState;try{e.componentDidUpdate(s,r,e.__reactInternalSnapshotBeforeUpdate)}catch(c){fa(a,a.return,c)}}i&64&&_ee(a),i&512&&fT(a,a.return);break;case 3:if(PZ(e,a),i&64&&(e=a.updateQueue,e!==null)){if(r=null,a.child!==null)switch(a.child.tag){case 27:case 5:r=a.child.stateNode;break;case 1:r=a.child.stateNode}try{E$(e,r)}catch(c){fa(a,a.return,c)}}break;case 27:r===null&&i&4&&Lee(a);case 26:case 5:PZ(e,a),r===null&&i&4&&zee(a),i&512&&fT(a,a.return);break;case 12:PZ(e,a);break;case 31:PZ(e,a),i&4&&Ree(e,a);break;case 13:PZ(e,a),i&4&&Pee(e,a),i&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=qwe.bind(null,a),s0e(e,a))));break;case 22:if(i=a.memoizedState!==null||EZ,!i){r=r!==null&&r.memoizedState!==null||oi,s=EZ;var l=oi;EZ=i,(oi=r)&&!l?TZ(e,a,(a.subtreeFlags&8772)!==0):PZ(e,a),EZ=s,oi=l}break;case 30:break;default:PZ(e,a)}}function Cee(e){var r=e.alternate;r!==null&&(e.alternate=null,Cee(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&gY(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 ln=null,Ys=!1;function RZ(e,r,a){for(a=a.child;a!==null;)Iee(e,r,a),a=a.sibling}function Iee(e,r,a){if(Ol&&typeof Ol.onCommitFiberUnmount==="function")try{Ol.onCommitFiberUnmount(PT,a)}catch(l){}switch(a.tag){case 26:oi||tZ(a,r),RZ(e,r,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:oi||tZ(a,r);var i=ln,s=Ys;t8(a.type)&&(ln=a.stateNode,Ys=!1),RZ(e,r,a),hT(a.stateNode),ln=i,Ys=s;break;case 5:oi||tZ(a,r);case 6:if(i=ln,s=Ys,ln=null,RZ(e,r,a),ln=i,Ys=s,ln!==null)if(Ys)try{(ln.nodeType===9?ln.body:ln.nodeName==="HTML"?ln.ownerDocument.body:ln).removeChild(a.stateNode)}catch(l){fa(a,r,l)}else try{ln.removeChild(a.stateNode)}catch(l){fa(a,r,l)}break;case 18:ln!==null&&(Ys?(e=ln,zJ(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),Ok(e)):zJ(ln,a.stateNode));break;case 4:i=ln,s=Ys,ln=a.stateNode.containerInfo,Ys=!0,RZ(e,r,a),ln=i,Ys=s;break;case 0:case 11:case 14:case 15:JM(2,a,r),oi||JM(4,a,r),RZ(e,r,a);break;case 1:oi||(tZ(a,r),i=a.stateNode,typeof i.componentWillUnmount==="function"&&wee(a,r,i)),RZ(e,r,a);break;case 21:RZ(e,r,a);break;case 22:oi=(i=oi)||a.memoizedState!==null,RZ(e,r,a),oi=i;break;default:RZ(e,r,a)}}function Ree(e,r){if(r.memoizedState===null&&(e=r.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Ok(e)}catch(a){fa(r,r.return,a)}}}function Pee(e,r){if(r.memoizedState===null&&(e=r.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ok(e)}catch(a){fa(r,r.return,a)}}function Dwe(e){switch(e.tag){case 31:case 13:case 19:var r=e.stateNode;return r===null&&(r=e.stateNode=new dJ),r;case 22:return e=e.stateNode,r=e._retryCache,r===null&&(r=e._retryCache=new dJ),r;default:throw Error(Yt(435,e.tag))}}function pj(e,r){var a=Dwe(e);r.forEach(function(i){if(!a.has(i)){a.add(i);var s=Hwe.bind(null,e,i);i.then(s,s)}})}function Ts(e,r){var a=r.deletions;if(a!==null)for(var i=0;i<a.length;i++){var s=a[i],l=e,c=r,d=c;e:for(;d!==null;){switch(d.tag){case 27:if(t8(d.type)){ln=d.stateNode,Ys=!1;break e}break;case 5:ln=d.stateNode,Ys=!1;break e;case 3:case 4:ln=d.stateNode.containerInfo,Ys=!0;break e}d=d.return}if(ln===null)throw Error(Yt(160));Iee(l,c,s),ln=null,Ys=!1,l=s.alternate,l!==null&&(l.return=null),s.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)Tee(r,e),r=r.sibling}var ou=null;function Tee(e,r){var a=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ts(r,e),Es(e),i&4&&(JM(3,e,e.return),NT(3,e),JM(5,e,e.return));break;case 1:Ts(r,e),Es(e),i&512&&(oi||a===null||tZ(a,a.return)),i&64&&EZ&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?i:a.concat(i))));break;case 26:var s=ou;if(Ts(r,e),Es(e),i&512&&(oi||a===null||tZ(a,a.return)),i&4){var l=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,s=s.ownerDocument||s;t:switch(i){case"title":if(l=s.getElementsByTagName("title")[0],!l||l[ET]||l[qi]||l.namespaceURI==="http://www.w3.org/2000/svg"||l.hasAttribute("itemprop"))l=s.createElement(i),s.head.insertBefore(l,s.querySelector("head > title"));$i(l,i,a),l[qi]=e,Ii(l),i=l;break e;case"link":var c=PJ("link","href",s).get(i+(a.href||""));if(c){for(var d=0;d<c.length;d++)if(l=c[d],l.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&l.getAttribute("rel")===(a.rel==null?null:a.rel)&&l.getAttribute("title")===(a.title==null?null:a.title)&&l.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){c.splice(d,1);break t}}l=s.createElement(i),$i(l,i,a),s.head.appendChild(l);break;case"meta":if(c=PJ("meta","content",s).get(i+(a.content||""))){for(d=0;d<c.length;d++)if(l=c[d],l.getAttribute("content")===(a.content==null?null:""+a.content)&&l.getAttribute("name")===(a.name==null?null:a.name)&&l.getAttribute("property")===(a.property==null?null:a.property)&&l.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&l.getAttribute("charset")===(a.charSet==null?null:a.charSet)){c.splice(d,1);break t}}l=s.createElement(i),$i(l,i,a),s.head.appendChild(l);break;default:throw Error(Yt(468,i))}l[qi]=e,Ii(l),i=l}e.stateNode=i}else TJ(s,e.type,e.stateNode);else e.stateNode=RJ(s,i,e.memoizedProps);else l!==i?(l===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):l.count--,i===null?TJ(s,e.type,e.stateNode):RJ(s,i,e.memoizedProps)):i===null&&e.stateNode!==null&&iB(e,e.memoizedProps,a.memoizedProps)}break;case 27:Ts(r,e),Es(e),i&512&&(oi||a===null||tZ(a,a.return)),a!==null&&i&4&&iB(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Ts(r,e),Es(e),i&512&&(oi||a===null||tZ(a,a.return)),e.flags&32){s=e.stateNode;try{Ck(s,"")}catch(_){fa(e,e.return,_)}}i&4&&e.stateNode!=null&&(s=e.memoizedProps,iB(e,s,a!==null?a.memoizedProps:s)),i&1024&&(sB=!0);break;case 6:if(Ts(r,e),Es(e),i&4){if(e.stateNode===null)throw Error(Yt(162));i=e.memoizedProps,a=e.stateNode;try{a.nodeValue=i}catch(_){fa(e,e.return,_)}}break;case 3:if(Rj=null,s=ou,ou=aN(r.containerInfo),Ts(r,e),ou=s,Es(e),i&4&&a!==null&&a.memoizedState.isDehydrated)try{Ok(r.containerInfo)}catch(_){fa(e,e.return,_)}sB&&(sB=!1,Aee(e));break;case 4:i=ou,ou=aN(e.stateNode.containerInfo),Ts(r,e),Es(e),ou=i;break;case 12:Ts(r,e),Es(e);break;case 31:Ts(r,e),Es(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,pj(e,i)));break;case 13:Ts(r,e),Es(e),e.child.flags&8192&&e.memoizedState!==null!==(a!==null&&a.memoizedState!==null)&&(yN=Ll()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,pj(e,i)));break;case 22:s=e.memoizedState!==null;var m=a!==null&&a.memoizedState!==null,g=EZ,M=oi;if(EZ=g||s,oi=M||m,Ts(r,e),oi=M,EZ=g,Es(e),i&8192)e:for(r=e.stateNode,r._visibility=s?r._visibility&-2:r._visibility|1,s&&(a===null||m||EZ||oi||sz(e)),a=null,r=e;;){if(r.tag===5||r.tag===26){if(a===null){m=a=r;try{if(l=m.stateNode,s)c=l.style,typeof c.setProperty==="function"?c.setProperty("display","none","important"):c.display="none";else{d=m.stateNode;var v=m.memoizedProps.style,y=v!==void 0&&v!==null&&v.hasOwnProperty("display")?v.display:null;d.style.display=y==null||typeof y==="boolean"?"":(""+y).trim()}}catch(_){fa(m,m.return,_)}}}else if(r.tag===6){if(a===null){m=r;try{m.stateNode.nodeValue=s?"":m.memoizedProps}catch(_){fa(m,m.return,_)}}}else if(r.tag===18){if(a===null){m=r;try{var x=m.stateNode;s?SJ(x,!0):SJ(m.stateNode,!1)}catch(_){fa(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,pj(e,a))));break;case 19:Ts(r,e),Es(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,pj(e,i)));break;case 30:break;case 21:break;default:Ts(r,e),Es(e)}}function Es(e){var r=e.flags;if(r&2){try{for(var a,i=e.return;i!==null;){if(See(i)){a=i;break}i=i.return}if(a==null)throw Error(Yt(160));switch(a.tag){case 27:var s=a.stateNode,l=fB(e);Xj(e,l,s);break;case 5:var c=a.stateNode;a.flags&32&&(Ck(c,""),a.flags&=-33);var d=fB(e);Xj(e,d,c);break;case 3:case 4:var m=a.stateNode.containerInfo,g=fB(e);KB(e,g,m);break;default:throw Error(Yt(161))}}catch(M){fa(e,e.return,M)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function Aee(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var r=e;Aee(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),e=e.sibling}}function PZ(e,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)kee(e,r.alternate,r),r=r.sibling}function sz(e){for(e=e.child;e!==null;){var r=e;switch(r.tag){case 0:case 11:case 14:case 15:JM(4,r,r.return),sz(r);break;case 1:tZ(r,r.return);var a=r.stateNode;typeof a.componentWillUnmount==="function"&&wee(r,r.return,a),sz(r);break;case 27:hT(r.stateNode);case 26:case 5:tZ(r,r.return),sz(r);break;case 22:r.memoizedState===null&&sz(r);break;case 30:sz(r);break;default:sz(r)}e=e.sibling}}function TZ(e,r,a){a=a&&(r.subtreeFlags&8772)!==0;for(r=r.child;r!==null;){var i=r.alternate,s=e,l=r,c=l.flags;switch(l.tag){case 0:case 11:case 15:TZ(s,l,a),NT(4,l);break;case 1:if(TZ(s,l,a),i=l,s=i.stateNode,typeof s.componentDidMount==="function")try{s.componentDidMount()}catch(g){fa(i,i.return,g)}if(i=l,s=i.updateQueue,s!==null){var d=i.stateNode;try{var m=s.shared.hiddenCallbacks;if(m!==null)for(s.shared.hiddenCallbacks=null,s=0;s<m.length;s++)A$(m[s],d)}catch(g){fa(i,i.return,g)}}a&&c&64&&_ee(l),fT(l,l.return);break;case 27:Lee(l);case 26:case 5:TZ(s,l,a),a&&i===null&&c&4&&zee(l),fT(l,l.return);break;case 12:TZ(s,l,a);break;case 31:TZ(s,l,a),a&&c&4&&Ree(s,l);break;case 13:TZ(s,l,a),a&&c&4&&Pee(s,l);break;case 22:l.memoizedState===null&&TZ(s,l,a),fT(l,l.return);break;case 30:break;default:TZ(s,l,a)}r=r.sibling}}function KY(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&&OT(a))}function XY(e,r){e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&OT(e))}function ru(e,r,a,i){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)Eee(e,r,a,i),r=r.sibling}function Eee(e,r,a,i){var s=r.flags;switch(r.tag){case 0:case 11:case 15:ru(e,r,a,i),s&2048&&NT(9,r);break;case 1:ru(e,r,a,i);break;case 3:ru(e,r,a,i),s&2048&&(e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&OT(e)));break;case 12:if(s&2048){ru(e,r,a,i),e=r.stateNode;try{var l=r.memoizedProps,c=l.id,d=l.onPostCommit;typeof d==="function"&&d(c,r.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(m){fa(r,r.return,m)}}else ru(e,r,a,i);break;case 31:ru(e,r,a,i);break;case 13:ru(e,r,a,i);break;case 23:break;case 22:l=r.stateNode,c=r.alternate,r.memoizedState!==null?l._visibility&2?ru(e,r,a,i):ZT(e,r):l._visibility&2?ru(e,r,a,i):(l._visibility|=2,nk(e,r,a,i,(r.subtreeFlags&10256)!==0||!1)),s&2048&&KY(c,r);break;case 24:ru(e,r,a,i),s&2048&&XY(r.alternate,r);break;default:ru(e,r,a,i)}}function nk(e,r,a,i,s){s=s&&((r.subtreeFlags&10256)!==0||!1);for(r=r.child;r!==null;){var l=e,c=r,d=a,m=i,g=c.flags;switch(c.tag){case 0:case 11:case 15:nk(l,c,d,m,s),NT(8,c);break;case 23:break;case 22:var M=c.stateNode;c.memoizedState!==null?M._visibility&2?nk(l,c,d,m,s):ZT(l,c):(M._visibility|=2,nk(l,c,d,m,s)),s&&g&2048&&KY(c.alternate,c);break;case 24:nk(l,c,d,m,s),s&&g&2048&&XY(c.alternate,c);break;default:nk(l,c,d,m,s)}r=r.sibling}}function ZT(e,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var a=e,i=r,s=i.flags;switch(i.tag){case 22:ZT(a,i),s&2048&&KY(i.alternate,i);break;case 24:ZT(a,i),s&2048&&XY(i.alternate,i);break;default:ZT(a,i)}r=r.sibling}}var UP=8192;function ak(e,r,a){if(e.subtreeFlags&UP)for(e=e.child;e!==null;)Dee(e,r,a),e=e.sibling}function Dee(e,r,a){switch(e.tag){case 26:ak(e,r,a),e.flags&UP&&e.memoizedState!==null&&x0e(a,ou,e.memoizedState,e.memoizedProps);break;case 5:ak(e,r,a);break;case 3:case 4:var i=ou;ou=aN(e.stateNode.containerInfo),ak(e,r,a),ou=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=UP,UP=16777216,ak(e,r,a),UP=i):ak(e,r,a));break;default:ak(e,r,a)}}function Oee(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 EP(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];Ci=i,Nee(i,e)}Oee(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)jee(e),e=e.sibling}function jee(e){switch(e.tag){case 0:case 11:case 15:EP(e),e.flags&2048&&JM(9,e,e.return);break;case 3:EP(e);break;case 12:EP(e);break;case 22:var r=e.stateNode;e.memoizedState!==null&&r._visibility&2&&(e.return===null||e.return.tag!==13)?(r._visibility&=-3,Cj(e)):EP(e);break;default:EP(e)}}function Cj(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];Ci=i,Nee(i,e)}Oee(e)}for(e=e.child;e!==null;){switch(r=e,r.tag){case 0:case 11:case 15:JM(8,r,r.return),Cj(r);break;case 22:a=r.stateNode,a._visibility&2&&(a._visibility&=-3,Cj(r));break;default:Cj(r)}e=e.sibling}}function Nee(e,r){for(;Ci!==null;){var a=Ci;switch(a.tag){case 0:case 11:case 15:JM(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:OT(a.memoizedState.cache)}if(i=a.child,i!==null)i.return=a,Ci=i;else e:for(a=e;Ci!==null;){i=Ci;var s=i.sibling,l=i.return;if(Cee(i),i===a){Ci=null;break e}if(s!==null){s.return=l,Ci=s;break e}Ci=l}}}var Owe={getCacheForType:function(e){var r=Gi(ni),a=r.data.get(e);return a===void 0&&(a=e(),r.data.set(e,a)),a},cacheSignal:function(){return Gi(ni).controller.signal}},jwe=typeof WeakMap==="function"?WeakMap:Map,No=0,wa=null,Mo=null,_o=0,ia=0,il=null,FM=!1,Bk=!1,QY=!1,VZ=0,yn=0,$M=0,mz=0,JY=0,zl=0,Tk=0,pT=null,qs=null,XB=!1,yN=0,Fee=0,Qj=1/0,Jj=null,HM=null,xi=0,VM=null,Ak=null,BZ=0,QB=0,JB=null,Bee=null,mT=0,$B=null;function lc(){return(No&2)!==0&&_o!==0?_o&-_o:qr.T!==null?e7():$J()}function Yee(){if(zl===0)if((_o&536870912)===0||zo){var e=ij;ij<<=1,(ij&3932160)===0&&(ij=262144),zl=e}else zl=536870912;return e=Bl.current,e!==null&&(e.flags|=32),zl}function Hs(e,r,a){if(e===wa&&(ia===2||ia===9)||e.cancelPendingCommit!==null)Ek(e,0),BM(e,_o,zl,!1);if(cN(e,a),(No&2)===0||e!==wa)e===wa&&((No&2)===0&&(mz|=a),yn===4&&BM(e,_o,zl,!1)),WZ(e)}function Uee(e,r,a){if((No&6)!==0)throw Error(Yt(327));var i=!a&&(r&127)===0&&(r&e.expiredLanes)===0||TT(e,r),s=i?Bwe(e,r):lB(e,r,!0),l=i;do{if(s===0){Bk&&!i&&BM(e,r,0,!1);break}else{if(a=e.current.alternate,l&&!Nwe(a)){s=lB(e,r,!1),l=!1;continue}if(s===2){if(l=r,e.errorRecoveryDisabledLanes&l)var c=0;else c=e.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){r=c;e:{var d=e;s=pT;var m=d.current.memoizedState.isDehydrated;if(m&&(Ek(d,c).flags|=256),c=lB(d,c,!1),c!==2){if(QY&&!m){d.errorRecoveryDisabledLanes|=l,mz|=l,s=4;break e}l=qs,qs=s,l!==null&&(qs===null?qs=l:qs.push.apply(qs,l))}s=c}if(l=!1,s!==2)continue}}if(s===1){Ek(e,0),BM(e,r,0,!0);break}e:{switch(i=e,l=s,l){case 0:case 1:throw Error(Yt(345));case 4:if((r&4194048)!==r)break;case 6:BM(i,r,zl,!FM);break e;case 2:qs=null;break;case 3:case 5:break;default:throw Error(Yt(329))}if((r&62914560)===r&&(s=yN+300-Ll(),10<s)){if(BM(i,r,zl,!FM),lN(i,0,!0)!==0)break e;BZ=r,i.timeoutHandle=cte(ZJ.bind(null,i,a,qs,Jj,XB,r,zl,mz,Tk,FM,l,"Throttled",-0,0),s);break e}ZJ(i,a,qs,Jj,XB,r,zl,mz,Tk,FM,l,null,-0,0)}}break}while(1);WZ(e)}function ZJ(e,r,a,i,s,l,c,d,m,g,M,v,y,x){if(e.timeoutHandle=-1,v=r.subtreeFlags,v&8192||(v&16785408)===16785408){v={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:OZ},Dee(r,l,v);var _=(l&62914560)===l?yN-Ll():(l&4194048)===l?Fee-Ll():0;if(_=y0e(v,_),_!==null){BZ=l,e.cancelPendingCommit=_(mJ.bind(null,e,r,l,a,i,s,c,d,m,M,v,null,y,x)),BM(e,l,c,!g);return}}mJ(e,r,l,a,i,s,c,d,m)}function Nwe(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 s=a[i],l=s.getSnapshot;s=s.value;try{if(!Fl(l(),s))return!1}catch(c){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 BM(e,r,a,i){r&=~JY,r&=~mz,e.suspendedLanes|=r,e.pingedLanes&=~r,i&&(e.warmLanes|=r),i=e.expirationTimes;for(var s=r;0<s;){var l=31-jl(s),c=1<<l;i[l]=-1,s&=~c}a!==0&&KJ(e,a,r)}function bN(){return(No&6)===0?(FT(0,!1),!1):!0}function $Y(){if(Mo!==null){if(ia===0)var e=Mo.return;else e=Mo,jZ=zz=null,jY(e),wk=null,_T=0,e=Mo;for(;e!==null;)bee(e.alternate,e),e=e.return;Mo=null}}function Ek(e,r){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,o0e(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),BZ=0,$Y(),wa=e,Mo=a=NZ(e.current,null),_o=r,ia=0,il=null,FM=!1,Bk=TT(e,r),QY=!1,Tk=zl=JY=mz=$M=yn=0,qs=pT=null,XB=!1,(r&8)!==0&&(r|=r&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=r;0<i;){var s=31-jl(i),l=1<<s;r|=e[s],i&=~l}return VZ=r,pN(),a}function qee(e,r){co=null,qr.H=zT,r===Fk||r===hN?(r=HQ(),ia=3):r===RY?(r=HQ(),ia=4):ia=r===WY?8:r!==null&&typeof r==="object"&&typeof r.then==="function"?6:1,il=r,Mo===null&&(yn=1,Gj(e,ic(r,e.current)))}function Hee(){var e=Bl.current;return e===null?!0:(_o&4194048)===_o?sc===null?!0:!1:(_o&62914560)===_o||(_o&536870912)!==0?e===sc:!1}function Vee(){var e=qr.H;return qr.H=zT,e===null?zT:e}function Wee(){var e=qr.A;return qr.A=Owe,e}function $j(){yn=4,FM||(_o&4194048)!==_o&&Bl.current!==null||(Bk=!0),($M&134217727)===0&&(mz&134217727)===0||wa===null||BM(wa,_o,zl,!1)}function lB(e,r,a){var i=No;No|=2;var s=Vee(),l=Wee();if(wa!==e||_o!==r)Jj=null,Ek(e,r);r=!1;var c=yn;e:do try{if(ia!==0&&Mo!==null){var d=Mo,m=il;switch(ia){case 8:$Y(),c=6;break e;case 3:case 2:case 9:case 6:Bl.current===null&&(r=!0);var g=ia;if(ia=0,il=null,vk(e,d,m,g),a&&Bk){c=0;break e}break;default:g=ia,ia=0,il=null,vk(e,d,m,g)}}Fwe(),c=yn;break}catch(M){qee(e,M)}while(1);return r&&e.shellSuspendCounter++,jZ=zz=null,No=i,qr.H=s,qr.A=l,Mo===null&&(wa=null,_o=0,pN()),c}function Fwe(){for(;Mo!==null;)Gee(Mo)}function Bwe(e,r){var a=No;No|=2;var i=Vee(),s=Wee();wa!==e||_o!==r?(Jj=null,Qj=Ll()+500,Ek(e,r)):Bk=TT(e,r);e:do try{if(ia!==0&&Mo!==null){r=Mo;var l=il;t:switch(ia){case 1:ia=0,il=null,vk(e,r,l,1);break;case 2:case 9:if(qQ(l)){ia=0,il=null,pJ(r);break}r=function(){ia!==2&&ia!==9||wa!==e||(ia=7),WZ(e)},l.then(r,r);break e;case 3:ia=7;break e;case 4:ia=5;break e;case 7:qQ(l)?(ia=0,il=null,pJ(r)):(ia=0,il=null,vk(e,r,l,7));break;case 5:var c=null;switch(Mo.tag){case 26:c=Mo.memoizedState;case 5:case 27:var d=Mo;if(c?mte(c):d.stateNode.complete){ia=0,il=null;var m=d.sibling;if(m!==null)Mo=m;else{var g=d.return;g!==null?(Mo=g,_N(g)):Mo=null}break t}}ia=0,il=null,vk(e,r,l,5);break;case 6:ia=0,il=null,vk(e,r,l,6);break;case 8:$Y(),yn=6;break e;default:throw Error(Yt(462))}}Ywe();break}catch(M){qee(e,M)}while(1);if(jZ=zz=null,qr.H=i,qr.A=s,No=a,Mo!==null)return 0;return wa=null,_o=0,pN(),yn}function Ywe(){for(;Mo!==null&&!s_e();)Gee(Mo)}function Gee(e){var r=yee(e.alternate,e,VZ);e.memoizedProps=e.pendingProps,r===null?_N(e):Mo=r}function pJ(e){var r=e,a=r.alternate;switch(r.tag){case 15:case 0:r=fJ(a,r,r.pendingProps,r.type,void 0,_o);break;case 11:r=fJ(a,r,r.pendingProps,r.type.render,r.ref,_o);break;case 5:jY(r);default:bee(a,r),r=Mo=z$(r,VZ),r=yee(a,r,VZ)}e.memoizedProps=e.pendingProps,r===null?_N(e):Mo=r}function vk(e,r,a,i){jZ=zz=null,jY(r),wk=null,_T=0;var s=r.return;try{if(Iwe(e,s,r,a,_o)){yn=1,Gj(e,ic(a,e.current)),Mo=null;return}}catch(l){if(s!==null)throw Mo=s,l;yn=1,Gj(e,ic(a,e.current)),Mo=null;return}if(r.flags&32768){if(zo||i===1)e=!0;else if(Bk||(_o&536870912)!==0)e=!1;else if(FM=e=!0,i===2||i===9||i===3||i===6)i=Bl.current,i!==null&&i.tag===13&&(i.flags|=16384);Kee(r,e)}else _N(r)}function _N(e){var r=e;do{if((r.flags&32768)!==0){Kee(r,FM);return}e=r.return;var a=Twe(r.alternate,r,VZ);if(a!==null){Mo=a;return}if(r=r.sibling,r!==null){Mo=r;return}Mo=r=e}while(r!==null);yn===0&&(yn=5)}function Kee(e,r){do{var a=Awe(e.alternate,e);if(a!==null){a.flags&=32767,Mo=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!r&&(e=e.sibling,e!==null)){Mo=e;return}Mo=e=a}while(e!==null);yn=6,Mo=null}function mJ(e,r,a,i,s,l,c,d,m){e.cancelPendingCommit=null;do wN();while(xi!==0);if((No&6)!==0)throw Error(Yt(327));if(r!==null){if(r===e.current)throw Error(Yt(177));if(l=r.lanes|r.childLanes,l|=wY,M_e(e,a,l,c,d,m),e===wa&&(Mo=wa=null,_o=0),Ak=r,VM=e,BZ=a,QB=l,JB=s,Bee=i,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Vwe(Oj,function(){return ete(),null})):(e.callbackNode=null,e.callbackPriority=0),i=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||i){i=qr.T,qr.T=null,s=Bo.p,Bo.p=2,c=No,No|=4;try{Ewe(e,r,a)}finally{No=c,Bo.p=s,qr.T=i}}xi=1,Xee(),Qee(),Jee()}}function Xee(){if(xi===1){xi=0;var e=VM,r=Ak,a=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||a){a=qr.T,qr.T=null;var i=Bo.p;Bo.p=2;var s=No;No|=4;try{Tee(r,e);var l=nY,c=g$(e.containerInfo),{focusedElem:d,selectionRange:m}=l;if(c!==d&&d&&d.ownerDocument&&h$(d.ownerDocument.documentElement,d)){if(m!==null&&_Y(d)){var{start:g,end:M}=m;if(M===void 0&&(M=g),"selectionStart"in d)d.selectionStart=g,d.selectionEnd=Math.min(M,d.value.length);else{var v=d.ownerDocument||document,y=v&&v.defaultView||window;if(y.getSelection){var x=y.getSelection(),_=d.textContent.length,j=Math.min(m.start,_),U=m.end===void 0?j:Math.min(m.end,_);!x.extend&&j>U&&(c=U,U=j,j=c);var T=OQ(d,j),N=OQ(d,U);if(T&&N&&(x.rangeCount!==1||x.anchorNode!==T.node||x.anchorOffset!==T.offset||x.focusNode!==N.node||x.focusOffset!==N.offset)){var G=v.createRange();G.setStart(T.node,T.offset),x.removeAllRanges(),j>U?(x.addRange(G),x.extend(N.node,N.offset)):(G.setEnd(N.node,N.offset),x.addRange(G))}}}}v=[];for(x=d;x=x.parentNode;)x.nodeType===1&&v.push({element:x,left:x.scrollLeft,top:x.scrollTop});typeof d.focus==="function"&&d.focus();for(d=0;d<v.length;d++){var X=v[d];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}fN=!!aY,nY=aY=null}finally{No=s,Bo.p=i,qr.T=a}}e.current=r,xi=2}}function Qee(){if(xi===2){xi=0;var e=VM,r=Ak,a=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||a){a=qr.T,qr.T=null;var i=Bo.p;Bo.p=2;var s=No;No|=4;try{kee(e,r.alternate,r)}finally{No=s,Bo.p=i,qr.T=a}}xi=3}}function Jee(){if(xi===4||xi===3){xi=0,l_e();var e=VM,r=Ak,a=BZ,i=Bee;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?xi=5:(xi=0,Ak=VM=null,$ee(e,e.pendingLanes));var s=e.pendingLanes;if(s===0&&(HM=null),hY(a),r=r.stateNode,Ol&&typeof Ol.onCommitFiberRoot==="function")try{Ol.onCommitFiberRoot(PT,r,void 0,(r.current.flags&128)===128)}catch(m){}if(i!==null){r=qr.T,s=Bo.p,Bo.p=2,qr.T=null;try{for(var l=e.onRecoverableError,c=0;c<i.length;c++){var d=i[c];l(d.value,{componentStack:d.stack})}}finally{qr.T=r,Bo.p=s}}(BZ&3)!==0&&wN(),WZ(e),s=e.pendingLanes,(a&261930)!==0&&(s&42)!==0?e===$B?mT++:(mT=0,$B=e):mT=0,FT(0,!1)}}function $ee(e,r){(e.pooledCacheLanes&=r)===0&&(r=e.pooledCache,r!=null&&(e.pooledCache=null,OT(r)))}function wN(){return Xee(),Qee(),Jee(),ete()}function ete(){if(xi!==5)return!1;var e=VM,r=QB;QB=0;var a=hY(BZ),i=qr.T,s=Bo.p;try{Bo.p=32>a?32:a,qr.T=null,a=JB,JB=null;var l=VM,c=BZ;if(xi=0,Ak=VM=null,BZ=0,(No&6)!==0)throw Error(Yt(331));var d=No;if(No|=4,jee(l.current),Eee(l,l.current,c,a),No=d,FT(0,!1),Ol&&typeof Ol.onPostCommitFiberRoot==="function")try{Ol.onPostCommitFiberRoot(PT,l)}catch(m){}return!0}finally{Bo.p=s,qr.T=i,$ee(e,r)}}function hJ(e,r,a){r=ic(a,r),r=VB(e.stateNode,r,2),e=pz(e,r,2),e!==null&&(cN(e,2),WZ(e))}function fa(e,r,a){if(e.tag===3)hJ(e,e,a);else for(;r!==null;){if(r.tag===3){hJ(r,e,a);break}else if(r.tag===1){var i=r.stateNode;if(typeof r.type.getDerivedStateFromError==="function"||typeof i.componentDidCatch==="function"&&(HM===null||!HM.has(i))){e=ic(a,e),a=mee(2),i=pz(r,a,2),i!==null&&(hee(a,i,r,e),cN(i,2),WZ(i));break}}r=r.return}}function cB(e,r,a){var i=e.pingCache;if(i===null){i=e.pingCache=new jwe;var s=new Set;i.set(r,s)}else s=i.get(r),s===void 0&&(s=new Set,i.set(r,s));s.has(a)||(QY=!0,s.add(a),e=Uwe.bind(null,e,r,a),r.then(e,e))}function Uwe(e,r,a){var i=e.pingCache;i!==null&&i.delete(r),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,wa===e&&(_o&a)===a&&(yn===4||yn===3&&(_o&62914560)===_o&&300>Ll()-yN?(No&2)===0&&Ek(e,0):JY|=a,Tk===_o&&(Tk=0)),WZ(e)}function tte(e,r){r===0&&(r=GJ()),e=wz(e,r),e!==null&&(cN(e,r),WZ(e))}function qwe(e){var r=e.memoizedState,a=0;r!==null&&(a=r.retryLane),tte(e,a)}function Hwe(e,r){var a=0;switch(e.tag){case 31:case 13:var{stateNode:i,memoizedState:s}=e;s!==null&&(a=s.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(Yt(314))}i!==null&&i.delete(r),tte(e,a)}function Vwe(e,r){return mY(e,r)}var eN=null,ik=null,eY=!1,tN=!1,uB=!1,YM=0;function WZ(e){e!==ik&&e.next===null&&(ik===null?eN=ik=e:ik=ik.next=e),tN=!0,eY||(eY=!0,Gwe())}function FT(e,r){if(!uB&&tN){uB=!0;do{var a=!1;for(var i=eN;i!==null;){if(!r)if(e!==0){var s=i.pendingLanes;if(s===0)var l=0;else{var c=i.suspendedLanes,d=i.pingedLanes;l=(1<<31-jl(42|e)+1)-1,l&=s&~(c&~d),l=l&201326741?l&201326741|1:l?l|2:0}l!==0&&(a=!0,gJ(i,l))}else l=_o,l=lN(i,i===wa?l:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(l&3)===0||TT(i,l)||(a=!0,gJ(i,l));i=i.next}}while(a);uB=!1}}function Wwe(){rte()}function rte(){tN=eY=!1;var e=0;YM!==0&&r0e()&&(e=YM);for(var r=Ll(),a=null,i=eN;i!==null;){var s=i.next,l=ote(i,r);if(l===0)i.next=null,a===null?eN=s:a.next=s,s===null&&(ik=a);else if(a=i,e!==0||(l&3)!==0)tN=!0;i=s}xi!==0&&xi!==5||FT(e,!1),YM!==0&&(YM=0)}function ote(e,r){for(var{suspendedLanes:a,pingedLanes:i,expirationTimes:s}=e,l=e.pendingLanes&-62914561;0<l;){var c=31-jl(l),d=1<<c,m=s[c];if(m===-1){if((d&a)===0||(d&i)!==0)s[c]=g_e(d,r)}else m<=r&&(e.expiredLanes|=d);l&=~d}if(r=wa,a=_o,a=lN(e,e===r?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,a===0||e===r&&(ia===2||ia===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&B6(i),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||TT(e,a)){if(r=a&-a,r===e.callbackPriority)return r;switch(i!==null&&B6(i),hY(a)){case 2:case 8:a=VJ;break;case 32:a=Oj;break;case 268435456:a=WJ;break;default:a=Oj}return i=ate.bind(null,e),a=mY(a,i),e.callbackPriority=r,e.callbackNode=a,r}return i!==null&&i!==null&&B6(i),e.callbackPriority=2,e.callbackNode=null,2}function ate(e,r){if(xi!==0&&xi!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(wN()&&e.callbackNode!==a)return null;var i=_o;if(i=lN(e,e===wa?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0)return null;return Uee(e,i,r),ote(e,Ll()),e.callbackNode!=null&&e.callbackNode===a?ate.bind(null,e):null}function gJ(e,r){if(wN())return null;Uee(e,r,!0)}function Gwe(){a0e(function(){(No&6)!==0?mY(HJ,Wwe):rte()})}function e7(){if(YM===0){var e=Ik;e===0&&(e=nj,nj<<=1,(nj&261888)===0&&(nj=256)),YM=e}return YM}function MJ(e){return e==null||typeof e==="symbol"||typeof e==="boolean"?null:typeof e==="function"?e:vj(""+e)}function vJ(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 Kwe(e,r,a,i,s){if(r==="submit"&&a&&a.stateNode===s){var l=MJ((s[Vs]||null).action),c=i.submitter;c&&(r=(r=c[Vs]||null)?MJ(r.formAction):c.getAttribute("formAction"),r!==null&&(l=r,c=null));var d=new uN("action","action",null,i,s);e.push({event:d,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(YM!==0){var m=c?vJ(s,c):new FormData(s);qB(a,{pending:!0,data:m,method:s.method,action:l},null,m)}}else typeof l==="function"&&(d.preventDefault(),m=c?vJ(s,c):new FormData(s),qB(a,{pending:!0,data:m,method:s.method,action:l},l,m))},currentTarget:s}]})}}for(qP=0;qP<PB.length;qP++)HP=PB[qP],tY=HP.toLowerCase(),rY=HP[0].toUpperCase()+HP.slice(1),au(tY,"on"+rY);var HP,tY,rY,qP;au(v$,"onAnimationEnd");au(x$,"onAnimationIteration");au(y$,"onAnimationStart");au("dblclick","onDoubleClick");au("focusin","onFocus");au("focusout","onBlur");au(cwe,"onTransitionRun");au(uwe,"onTransitionStart");au(dwe,"onTransitionCancel");au(b$,"onTransitionEnd");kk("onMouseEnter",["mouseout","mouseover"]);kk("onMouseLeave",["mouseout","mouseover"]);kk("onPointerEnter",["pointerout","pointerover"]);kk("onPointerLeave",["pointerout","pointerover"]);yz("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));yz("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));yz("onBeforeInput",["compositionend","keypress","textInput","paste"]);yz("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));yz("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));yz("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ST="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(" "),Xwe=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ST));function nte(e,r){r=(r&4)!==0;for(var a=0;a<e.length;a++){var i=e[a],s=i.event;i=i.listeners;e:{var l=void 0;if(r)for(var c=i.length-1;0<=c;c--){var d=i[c],m=d.instance,g=d.currentTarget;if(d=d.listener,m!==l&&s.isPropagationStopped())break e;l=d,s.currentTarget=g;try{l(s)}catch(M){Nj(M)}s.currentTarget=null,l=m}else for(c=0;c<i.length;c++){if(d=i[c],m=d.instance,g=d.currentTarget,d=d.listener,m!==l&&s.isPropagationStopped())break e;l=d,s.currentTarget=g;try{l(s)}catch(M){Nj(M)}s.currentTarget=null,l=m}}}}function go(e,r){var a=r[wB];a===void 0&&(a=r[wB]=new Set);var i=e+"__bubble";a.has(i)||(fte(r,e,2,!1),a.add(i))}function dB(e,r,a){var i=0;r&&(i|=4),fte(a,e,i,r)}var mj="_reactListening"+Math.random().toString(36).slice(2);function ite(e){if(!e[mj]){e[mj]=!0,e$.forEach(function(a){a!=="selectionchange"&&(Xwe.has(a)||dB(a,!1,e),dB(a,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[mj]||(r[mj]=!0,dB("selectionchange",!1,r))}}function fte(e,r,a,i){switch(Mte(r)){case 2:var s=S0e;break;case 8:s=L0e;break;default:s=a7}a=s.bind(null,r,a,e),s=void 0,!CB||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(s=!0),i?s!==void 0?e.addEventListener(r,a,{capture:!0,passive:s}):e.addEventListener(r,a,!0):s!==void 0?e.addEventListener(r,a,{passive:s}):e.addEventListener(r,a,!1)}function ZB(e,r,a,i,s){var l=i;if((r&1)===0&&(r&2)===0&&i!==null)e:for(;;){if(i===null)return;var c=i.tag;if(c===3||c===4){var d=i.stateNode.containerInfo;if(d===s)break;if(c===4)for(c=i.return;c!==null;){var m=c.tag;if((m===3||m===4)&&c.stateNode.containerInfo===s)return;c=c.return}for(;d!==null;){if(c=ck(d),c===null)return;if(m=c.tag,m===5||m===6||m===26||m===27){i=l=c;continue e}d=d.parentNode}}i=i.return}s$(function(){var g=l,M=vY(a),v=[];e:{var y=_$.get(e);if(y!==void 0){var x=uN,_=e;switch(e){case"keypress":if(yj(a)===0)break e;case"keydown":case"keyup":x=Y_e;break;case"focusin":_="focus",x=V6;break;case"focusout":_="blur",x=V6;break;case"beforeblur":case"afterblur":x=V6;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=kQ;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=I_e;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=H_e;break;case v$:case x$:case y$:x=T_e;break;case b$:x=W_e;break;case"scroll":case"scrollend":x=k_e;break;case"wheel":x=K_e;break;case"copy":case"cut":case"paste":x=E_e;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=IQ;break;case"toggle":case"beforetoggle":x=Q_e}var j=(r&4)!==0,U=!j&&(e==="scroll"||e==="scrollend"),T=j?y!==null?y+"Capture":null:y;j=[];for(var N=g,G;N!==null;){var X=N;if(G=X.stateNode,X=X.tag,X!==5&&X!==26&&X!==27||G===null||T===null||(X=MT(N,T),X!=null&&j.push(LT(N,X,G))),U)break;N=N.return}0<j.length&&(y=new x(y,_,null,a,M),v.push({event:y,listeners:j}))}}if((r&7)===0){e:{if(y=e==="mouseover"||e==="pointerover",x=e==="mouseout"||e==="pointerout",y&&a!==kB&&(_=a.relatedTarget||a.fromElement)&&(ck(_)||_[AT]))break e;if(x||y){if(y=M.window===M?M:(y=M.ownerDocument)?y.defaultView||y.parentWindow:window,x){if(_=a.relatedTarget||a.toElement,x=g,_=_?ck(_):null,_!==null&&(U=RT(_),j=_.tag,_!==U||j!==5&&j!==27&&j!==6))_=null}else x=null,_=g;if(x!==_){if(j=kQ,X="onMouseLeave",T="onMouseEnter",N="mouse",e==="pointerout"||e==="pointerover")j=IQ,X="onPointerLeave",T="onPointerEnter",N="pointer";if(U=x==null?y:NP(x),G=_==null?y:NP(_),y=new j(X,N+"leave",x,a,M),y.target=U,y.relatedTarget=G,X=null,ck(M)===g&&(j=new j(T,N+"enter",_,a,M),j.target=G,j.relatedTarget=U,X=j),U=X,x&&_)t:{j=Qwe,T=x,N=_,G=0;for(X=T;X;X=j(X))G++;X=0;for(var J=N;J;J=j(J))X++;for(;0<G-X;)T=j(T),G--;for(;0<X-G;)N=j(N),X--;for(;G--;){if(T===N||N!==null&&T===N.alternate){j=T;break t}T=j(T),N=j(N)}j=null}else j=null;x!==null&&xJ(v,y,x,j,!1),_!==null&&U!==null&&xJ(v,U,_,j,!0)}}}e:{if(y=g?NP(g):window,x=y.nodeName&&y.nodeName.toLowerCase(),x==="select"||x==="input"&&y.type==="file")var ee=AQ;else if(TQ(y))if(p$)ee=fwe;else{ee=nwe;var re=awe}else x=y.nodeName,!x||x.toLowerCase()!=="input"||y.type!=="checkbox"&&y.type!=="radio"?g&&MY(g.elementType)&&(ee=AQ):ee=iwe;if(ee&&(ee=ee(e,g))){Z$(v,ee,a,M);break e}re&&re(e,y,g),e==="focusout"&&g&&y.type==="number"&&g.memoizedProps.value!=null&&LB(y,"number",y.value)}switch(re=g?NP(g):window,e){case"focusin":if(TQ(re)||re.contentEditable==="true")Zk=re,IB=g,GP=null;break;case"focusout":GP=IB=Zk=null;break;case"mousedown":RB=!0;break;case"contextmenu":case"mouseup":case"dragend":RB=!1,jQ(v,a,M);break;case"selectionchange":if(lwe)break;case"keydown":case"keyup":jQ(v,a,M)}var oe;if(bY)e:{switch(e){case"compositionstart":var ie="onCompositionStart";break e;case"compositionend":ie="onCompositionEnd";break e;case"compositionupdate":ie="onCompositionUpdate";break e}ie=void 0}else dk?u$(e,a)&&(ie="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(ie="onCompositionStart");if(ie&&(c$&&a.locale!=="ko"&&(dk||ie!=="onCompositionStart"?ie==="onCompositionEnd"&&dk&&(oe=l$()):(NM=M,xY=("value"in NM)?NM.value:NM.textContent,dk=!0)),re=rN(g,ie),0<re.length&&(ie=new CQ(ie,e,null,a,M),v.push({event:ie,listeners:re}),oe?ie.data=oe:(oe=d$(a),oe!==null&&(ie.data=oe)))),oe=$_e?ewe(e,a):twe(e,a))ie=rN(g,"onBeforeInput"),0<ie.length&&(re=new CQ("onBeforeInput","beforeinput",null,a,M),v.push({event:re,listeners:ie}),re.data=oe);Kwe(v,e,g,a,M)}nte(v,r)})}function LT(e,r,a){return{instance:e,listener:r,currentTarget:a}}function rN(e,r){for(var a=r+"Capture",i=[];e!==null;){var s=e,l=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||l===null||(s=MT(e,a),s!=null&&i.unshift(LT(e,s,l)),s=MT(e,r),s!=null&&i.push(LT(e,s,l))),e.tag===3)return i;e=e.return}return[]}function Qwe(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e?e:null}function xJ(e,r,a,i,s){for(var l=r._reactName,c=[];a!==null&&a!==i;){var d=a,m=d.alternate,g=d.stateNode;if(d=d.tag,m!==null&&m===i)break;d!==5&&d!==26&&d!==27||g===null||(m=g,s?(g=MT(a,l),g!=null&&c.unshift(LT(a,g,m))):s||(g=MT(a,l),g!=null&&c.push(LT(a,g,m)))),a=a.return}c.length!==0&&e.push({event:r,listeners:c})}var Jwe=/\r\n?/g,$we=/\u0000|\uFFFD/g;function yJ(e){return(typeof e==="string"?e:""+e).replace(Jwe,`
10
+ `).replace($we,"")}function ste(e,r){return r=yJ(r),yJ(e)===r?!0:!1}function ma(e,r,a,i,s,l){switch(a){case"children":typeof i==="string"?r==="body"||r==="textarea"&&i===""||Ck(e,i):(typeof i==="number"||typeof i==="bigint")&&r!=="body"&&Ck(e,""+i);break;case"className":sj(e,"class",i);break;case"tabIndex":sj(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":sj(e,a,i);break;case"style":f$(e,i,l);break;case"data":if(r!=="object"){sj(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=vj(""+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 l==="function"&&(a==="formAction"?(r!=="input"&&ma(e,r,"name",s.name,s,null),ma(e,r,"formEncType",s.formEncType,s,null),ma(e,r,"formMethod",s.formMethod,s,null),ma(e,r,"formTarget",s.formTarget,s,null)):(ma(e,r,"encType",s.encType,s,null),ma(e,r,"method",s.method,s,null),ma(e,r,"target",s.target,s,null)));if(i==null||typeof i==="symbol"||typeof i==="boolean"){e.removeAttribute(a);break}i=vj(""+i),e.setAttribute(a,i);break;case"onClick":i!=null&&(e.onclick=OZ);break;case"onScroll":i!=null&&go("scroll",e);break;case"onScrollEnd":i!=null&&go("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error(Yt(61));if(a=i.__html,a!=null){if(s.children!=null)throw Error(Yt(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=vj(""+i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!=="function"&&typeof i!=="symbol"?e.setAttribute(a,""+i):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!=="function"&&typeof i!=="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":i===!0?e.setAttribute(a,""):i!==!1&&i!=null&&typeof i!=="function"&&typeof i!=="symbol"?e.setAttribute(a,i):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!=="function"&&typeof i!=="symbol"&&!isNaN(i)&&1<=i?e.setAttribute(a,i):e.removeAttribute(a);break;case"rowSpan":case"start":i==null||typeof i==="function"||typeof i==="symbol"||isNaN(i)?e.removeAttribute(a):e.setAttribute(a,i);break;case"popover":go("beforetoggle",e),go("toggle",e),Mj(e,"popover",i);break;case"xlinkActuate":CZ(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":CZ(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":CZ(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":CZ(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":CZ(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":CZ(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":CZ(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":CZ(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":CZ(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Mj(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=S_e.get(a)||a,Mj(e,a,i)}}function oY(e,r,a,i,s,l){switch(a){case"style":f$(e,i,l);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error(Yt(61));if(a=i.__html,a!=null){if(s.children!=null)throw Error(Yt(60));e.innerHTML=a}}break;case"children":typeof i==="string"?Ck(e,i):(typeof i==="number"||typeof i==="bigint")&&Ck(e,""+i);break;case"onScroll":i!=null&&go("scroll",e);break;case"onScrollEnd":i!=null&&go("scrollend",e);break;case"onClick":i!=null&&(e.onclick=OZ);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!t$.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(s=a.endsWith("Capture"),r=a.slice(2,s?a.length-7:void 0),l=e[Vs]||null,l=l!=null?l[a]:null,typeof l==="function"&&e.removeEventListener(r,l,s),typeof i==="function")){typeof l!=="function"&&l!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(r,i,s);break e}a in e?e[a]=i:i===!0?e.setAttribute(a,""):Mj(e,a,i)}}}function $i(e,r,a){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":go("error",e),go("load",e);var i=!1,s=!1,l;for(l in a)if(a.hasOwnProperty(l)){var c=a[l];if(c!=null)switch(l){case"src":i=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(Yt(137,r));default:ma(e,r,l,c,a,null)}}s&&ma(e,r,"srcSet",a.srcSet,a,null),i&&ma(e,r,"src",a.src,a,null);return;case"input":go("invalid",e);var d=l=c=s=null,m=null,g=null;for(i in a)if(a.hasOwnProperty(i)){var M=a[i];if(M!=null)switch(i){case"name":s=M;break;case"type":c=M;break;case"checked":m=M;break;case"defaultChecked":g=M;break;case"value":l=M;break;case"defaultValue":d=M;break;case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(Yt(137,r));break;default:ma(e,r,i,M,a,null)}}a$(e,l,d,m,g,c,s,!1);return;case"select":go("invalid",e),i=c=l=null;for(s in a)if(a.hasOwnProperty(s)&&(d=a[s],d!=null))switch(s){case"value":l=d;break;case"defaultValue":c=d;break;case"multiple":i=d;default:ma(e,r,s,d,a,null)}r=l,a=c,e.multiple=!!i,r!=null?yk(e,!!i,r,!1):a!=null&&yk(e,!!i,a,!0);return;case"textarea":go("invalid",e),l=s=i=null;for(c in a)if(a.hasOwnProperty(c)&&(d=a[c],d!=null))switch(c){case"value":i=d;break;case"defaultValue":s=d;break;case"children":l=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(Yt(91));break;default:ma(e,r,c,d,a,null)}i$(e,i,s,l);return;case"option":for(m in a)if(a.hasOwnProperty(m)&&(i=a[m],i!=null))switch(m){case"selected":e.selected=i&&typeof i!=="function"&&typeof i!=="symbol";break;default:ma(e,r,m,i,a,null)}return;case"dialog":go("beforetoggle",e),go("toggle",e),go("cancel",e),go("close",e);break;case"iframe":case"object":go("load",e);break;case"video":case"audio":for(i=0;i<ST.length;i++)go(ST[i],e);break;case"image":go("error",e),go("load",e);break;case"details":go("toggle",e);break;case"embed":case"source":case"link":go("error",e),go("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(g in a)if(a.hasOwnProperty(g)&&(i=a[g],i!=null))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(Yt(137,r));default:ma(e,r,g,i,a,null)}return;default:if(MY(r)){for(M in a)a.hasOwnProperty(M)&&(i=a[M],i!==void 0&&oY(e,r,M,i,a,void 0));return}}for(d in a)a.hasOwnProperty(d)&&(i=a[d],i!=null&&ma(e,r,d,i,a,null))}function e0e(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 s=null,l=null,c=null,d=null,m=null,g=null,M=null;for(x in a){var v=a[x];if(a.hasOwnProperty(x)&&v!=null)switch(x){case"checked":break;case"value":break;case"defaultValue":m=v;default:i.hasOwnProperty(x)||ma(e,r,x,null,i,v)}}for(var y in i){var x=i[y];if(v=a[y],i.hasOwnProperty(y)&&(x!=null||v!=null))switch(y){case"type":l=x;break;case"name":s=x;break;case"checked":g=x;break;case"defaultChecked":M=x;break;case"value":c=x;break;case"defaultValue":d=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(Yt(137,r));break;default:x!==v&&ma(e,r,y,x,i,v)}}SB(e,c,d,m,g,M,l,s);return;case"select":x=c=d=y=null;for(l in a)if(m=a[l],a.hasOwnProperty(l)&&m!=null)switch(l){case"value":break;case"multiple":x=m;default:i.hasOwnProperty(l)||ma(e,r,l,null,i,m)}for(s in i)if(l=i[s],m=a[s],i.hasOwnProperty(s)&&(l!=null||m!=null))switch(s){case"value":y=l;break;case"defaultValue":d=l;break;case"multiple":c=l;default:l!==m&&ma(e,r,s,l,i,m)}r=d,a=c,i=x,y!=null?yk(e,!!a,y,!1):!!i!==!!a&&(r!=null?yk(e,!!a,r,!0):yk(e,!!a,a?[]:"",!1));return;case"textarea":x=y=null;for(d in a)if(s=a[d],a.hasOwnProperty(d)&&s!=null&&!i.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:ma(e,r,d,null,i,s)}for(c in i)if(s=i[c],l=a[c],i.hasOwnProperty(c)&&(s!=null||l!=null))switch(c){case"value":y=s;break;case"defaultValue":x=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(Yt(91));break;default:s!==l&&ma(e,r,c,s,i,l)}n$(e,y,x);return;case"option":for(var _ in a)if(y=a[_],a.hasOwnProperty(_)&&y!=null&&!i.hasOwnProperty(_))switch(_){case"selected":e.selected=!1;break;default:ma(e,r,_,null,i,y)}for(m in i)if(y=i[m],x=a[m],i.hasOwnProperty(m)&&y!==x&&(y!=null||x!=null))switch(m){case"selected":e.selected=y&&typeof y!=="function"&&typeof y!=="symbol";break;default:ma(e,r,m,y,i,x)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var j in a)y=a[j],a.hasOwnProperty(j)&&y!=null&&!i.hasOwnProperty(j)&&ma(e,r,j,null,i,y);for(g in i)if(y=i[g],x=a[g],i.hasOwnProperty(g)&&y!==x&&(y!=null||x!=null))switch(g){case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(Yt(137,r));break;default:ma(e,r,g,y,i,x)}return;default:if(MY(r)){for(var U in a)y=a[U],a.hasOwnProperty(U)&&y!==void 0&&!i.hasOwnProperty(U)&&oY(e,r,U,void 0,i,y);for(M in i)y=i[M],x=a[M],!i.hasOwnProperty(M)||y===x||y===void 0&&x===void 0||oY(e,r,M,y,i,x);return}}for(var T in a)y=a[T],a.hasOwnProperty(T)&&y!=null&&!i.hasOwnProperty(T)&&ma(e,r,T,null,i,y);for(v in i)y=i[v],x=a[v],!i.hasOwnProperty(v)||y===x||y==null&&x==null||ma(e,r,v,y,i,x)}function bJ(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function t0e(){if(typeof performance.getEntriesByType==="function"){for(var e=0,r=0,a=performance.getEntriesByType("resource"),i=0;i<a.length;i++){var s=a[i],{transferSize:l,initiatorType:c,duration:d}=s;if(l&&d&&bJ(c)){c=0,d=s.responseEnd;for(i+=1;i<a.length;i++){var m=a[i],g=m.startTime;if(g>d)break;var M=m.transferSize,v=m.initiatorType;M&&bJ(v)&&(m=m.responseEnd,c+=M*(m<d?1:(d-g)/(m-g)))}if(--i,r+=8*(l+c)/(s.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 aY=null,nY=null;function oN(e){return e.nodeType===9?e:e.ownerDocument}function _J(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 lte(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 iY(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 pB=null;function r0e(){var e=window.event;if(e&&e.type==="popstate"){if(e===pB)return!1;return pB=e,!0}return pB=null,!1}var cte=typeof setTimeout==="function"?setTimeout:void 0,o0e=typeof clearTimeout==="function"?clearTimeout:void 0,wJ=typeof Promise==="function"?Promise:void 0,a0e=typeof queueMicrotask==="function"?queueMicrotask:typeof wJ<"u"?function(e){return wJ.resolve(null).then(e).catch(n0e)}:cte;function n0e(e){setTimeout(function(){throw e})}function t8(e){return e==="head"}function zJ(e,r){var a=r,i=0;do{var s=a.nextSibling;if(e.removeChild(a),s&&s.nodeType===8)if(a=s.data,a==="/$"||a==="/&"){if(i===0){e.removeChild(s),Ok(r);return}i--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")i++;else if(a==="html")hT(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,hT(a);for(var l=a.firstChild;l;){var c=l.nextSibling,d=l.nodeName;l[ET]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&l.rel.toLowerCase()==="stylesheet"||a.removeChild(l),l=c}}else a==="body"&&hT(e.ownerDocument.body);a=s}while(a);Ok(r)}function SJ(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 fY(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":fY(a),gY(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function i0e(e,r,a,i){for(;e.nodeType===1;){var s=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 l=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===l)return e}else return e;else if(!e[ET])switch(r){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(l=e.getAttribute("rel"),l==="stylesheet"&&e.hasAttribute("data-precedence"))break;else if(l!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(l=e.getAttribute("src"),(l!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&l&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}if(e=cc(e.nextSibling),e===null)break}return null}function f0e(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=cc(e.nextSibling),e===null)return null}return e}function ute(e,r){for(;e.nodeType!==8;){if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r)return null;if(e=cc(e.nextSibling),e===null)return null}return e}function sY(e){return e.data==="$?"||e.data==="$~"}function lY(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function s0e(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 cc(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 cY=null;function LJ(e){e=e.nextSibling;for(var r=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(r===0)return cc(e.nextSibling);r--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||r++}e=e.nextSibling}return null}function kJ(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 dte(e,r,a){switch(r=oN(a),e){case"html":if(e=r.documentElement,!e)throw Error(Yt(452));return e;case"head":if(e=r.head,!e)throw Error(Yt(453));return e;case"body":if(e=r.body,!e)throw Error(Yt(454));return e;default:throw Error(Yt(451))}}function hT(e){for(var r=e.attributes;r.length;)e.removeAttributeNode(r[0]);gY(e)}var uc=new Map,CJ=new Set;function aN(e){return typeof e.getRootNode==="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var GZ=Bo.d;Bo.d={f:l0e,r:c0e,D:u0e,C:d0e,L:Z0e,m:p0e,X:h0e,S:m0e,M:g0e};function l0e(){var e=GZ.f(),r=bN();return e||r}function c0e(e){var r=jk(e);r!==null&&r.tag===5&&r.type==="form"?fee(r):GZ.r(e)}var Yk=typeof document>"u"?null:document;function Zte(e,r,a){var i=Yk;if(i&&typeof r==="string"&&r){var s=nc(r);s='link[rel="'+e+'"][href="'+s+'"]',typeof a==="string"&&(s+='[crossorigin="'+a+'"]'),CJ.has(s)||(CJ.add(s),e={rel:e,crossOrigin:a,href:r},i.querySelector(s)===null&&(r=i.createElement("link"),$i(r,"link",e),Ii(r),i.head.appendChild(r)))}}function u0e(e){GZ.D(e),Zte("dns-prefetch",e,null)}function d0e(e,r){GZ.C(e,r),Zte("preconnect",e,r)}function Z0e(e,r,a){GZ.L(e,r,a);var i=Yk;if(i&&e&&r){var s='link[rel="preload"][as="'+nc(r)+'"]';r==="image"?a&&a.imageSrcSet?(s+='[imagesrcset="'+nc(a.imageSrcSet)+'"]',typeof a.imageSizes==="string"&&(s+='[imagesizes="'+nc(a.imageSizes)+'"]')):s+='[href="'+nc(e)+'"]':s+='[href="'+nc(e)+'"]';var l=s;switch(r){case"style":l=Dk(e);break;case"script":l=Uk(e)}uc.has(l)||(e=Qa({rel:"preload",href:r==="image"&&a&&a.imageSrcSet?void 0:e,as:r},a),uc.set(l,e),i.querySelector(s)!==null||r==="style"&&i.querySelector(BT(l))||r==="script"&&i.querySelector(YT(l))||(r=i.createElement("link"),$i(r,"link",e),Ii(r),i.head.appendChild(r)))}}function p0e(e,r){GZ.m(e,r);var a=Yk;if(a&&e){var i=r&&typeof r.as==="string"?r.as:"script",s='link[rel="modulepreload"][as="'+nc(i)+'"][href="'+nc(e)+'"]',l=s;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":l=Uk(e)}if(!uc.has(l)&&(e=Qa({rel:"modulepreload",href:e},r),uc.set(l,e),a.querySelector(s)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(YT(l)))return}i=a.createElement("link"),$i(i,"link",e),Ii(i),a.head.appendChild(i)}}}function m0e(e,r,a){GZ.S(e,r,a);var i=Yk;if(i&&e){var s=xk(i).hoistableStyles,l=Dk(e);r=r||"default";var c=s.get(l);if(!c){var d={loading:0,preload:null};if(c=i.querySelector(BT(l)))d.loading=5;else{e=Qa({rel:"stylesheet",href:e,"data-precedence":r},a),(a=uc.get(l))&&t7(e,a);var m=c=i.createElement("link");Ii(m),$i(m,"link",e),m._p=new Promise(function(g,M){m.onload=g,m.onerror=M}),m.addEventListener("load",function(){d.loading|=1}),m.addEventListener("error",function(){d.loading|=2}),d.loading|=4,Ij(c,r,i)}c={type:"stylesheet",instance:c,count:1,state:d},s.set(l,c)}}}function h0e(e,r){GZ.X(e,r);var a=Yk;if(a&&e){var i=xk(a).hoistableScripts,s=Uk(e),l=i.get(s);l||(l=a.querySelector(YT(s)),l||(e=Qa({src:e,async:!0},r),(r=uc.get(s))&&r7(e,r),l=a.createElement("script"),Ii(l),$i(l,"link",e),a.head.appendChild(l)),l={type:"script",instance:l,count:1,state:null},i.set(s,l))}}function g0e(e,r){GZ.M(e,r);var a=Yk;if(a&&e){var i=xk(a).hoistableScripts,s=Uk(e),l=i.get(s);l||(l=a.querySelector(YT(s)),l||(e=Qa({src:e,async:!0,type:"module"},r),(r=uc.get(s))&&r7(e,r),l=a.createElement("script"),Ii(l),$i(l,"link",e),a.head.appendChild(l)),l={type:"script",instance:l,count:1,state:null},i.set(s,l))}}function IJ(e,r,a,i){var s=(s=UM.current)?aN(s):null;if(!s)throw Error(Yt(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence==="string"&&typeof a.href==="string"?(r=Dk(a.href),a=xk(s).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=Dk(a.href);var l=xk(s).hoistableStyles,c=l.get(e);if(c||(s=s.ownerDocument||s,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},l.set(e,c),(l=s.querySelector(BT(e)))&&!l._p&&(c.instance=l,c.state.loading=5),uc.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},uc.set(e,a),l||M0e(s,e,a,c.state))),r&&i===null)throw Error(Yt(528,""));return c}if(r&&i!==null)throw Error(Yt(529,""));return null;case"script":return r=a.async,a=a.src,typeof a==="string"&&r&&typeof r!=="function"&&typeof r!=="symbol"?(r=Uk(a),a=xk(s).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(Yt(444,e))}}function Dk(e){return'href="'+nc(e)+'"'}function BT(e){return'link[rel="stylesheet"]['+e+"]"}function pte(e){return Qa({},e,{"data-precedence":e.precedence,precedence:null})}function M0e(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}),$i(r,"link",a),Ii(r),e.head.appendChild(r))}function Uk(e){return'[src="'+nc(e)+'"]'}function YT(e){return"script[async]"+e}function RJ(e,r,a){if(r.count++,r.instance===null)switch(r.type){case"style":var i=e.querySelector('style[data-href~="'+nc(a.href)+'"]');if(i)return r.instance=i,Ii(i),i;var s=Qa({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),Ii(i),$i(i,"style",s),Ij(i,a.precedence,e),r.instance=i;case"stylesheet":s=Dk(a.href);var l=e.querySelector(BT(s));if(l)return r.state.loading|=4,r.instance=l,Ii(l),l;i=pte(a),(s=uc.get(s))&&t7(i,s),l=(e.ownerDocument||e).createElement("link"),Ii(l);var c=l;return c._p=new Promise(function(d,m){c.onload=d,c.onerror=m}),$i(l,"link",i),r.state.loading|=4,Ij(l,a.precedence,e),r.instance=l;case"script":if(l=Uk(a.src),s=e.querySelector(YT(l)))return r.instance=s,Ii(s),s;if(i=a,s=uc.get(l))i=Qa({},a),r7(i,s);return e=e.ownerDocument||e,s=e.createElement("script"),Ii(s),$i(s,"link",i),e.head.appendChild(s),r.instance=s;case"void":return null;default:throw Error(Yt(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(i=r.instance,r.state.loading|=4,Ij(i,a.precedence,e));return r.instance}function Ij(e,r,a){for(var i=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=i.length?i[i.length-1]:null,l=s,c=0;c<i.length;c++){var d=i[c];if(d.dataset.precedence===r)l=d;else if(l!==s)break}l?l.parentNode.insertBefore(e,l.nextSibling):(r=a.nodeType===9?a.head:a,r.insertBefore(e,r.firstChild))}function t7(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.title==null&&(e.title=r.title)}function r7(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.integrity==null&&(e.integrity=r.integrity)}var Rj=null;function PJ(e,r,a){if(Rj===null){var i=new Map,s=Rj=new Map;s.set(a,i)}else s=Rj,i=s.get(a),i||(i=new Map,s.set(a,i));if(i.has(e))return i;i.set(e,null),a=a.getElementsByTagName(e);for(s=0;s<a.length;s++){var l=a[s];if(!(l[ET]||l[qi]||e==="link"&&l.getAttribute("rel")==="stylesheet")&&l.namespaceURI!=="http://www.w3.org/2000/svg"){var c=l.getAttribute(r)||"";c=e+c;var d=i.get(c);d?d.push(l):i.set(c,[l])}}return i}function TJ(e,r,a){e=e.ownerDocument||e,e.head.insertBefore(a,r==="title"?e.querySelector("head > title"):null)}function v0e(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 mte(e){return e.type==="stylesheet"&&(e.state.loading&3)===0?!1:!0}function x0e(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 s=Dk(i.href),l=r.querySelector(BT(s));if(l){r=l._p,r!==null&&typeof r==="object"&&typeof r.then==="function"&&(e.count++,e=nN.bind(e),r.then(e,e)),a.state.loading|=4,a.instance=l,Ii(l);return}l=r.ownerDocument||r,i=pte(i),(s=uc.get(s))&&t7(i,s),l=l.createElement("link"),Ii(l);var c=l;c._p=new Promise(function(d,m){c.onload=d,c.onerror=m}),$i(l,"link",i),a.instance=l}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,r),(r=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=nN.bind(e),r.addEventListener("load",a),r.addEventListener("error",a))}}var mB=0;function y0e(e,r){return e.stylesheets&&e.count===0&&Pj(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var i=setTimeout(function(){if(e.stylesheets&&Pj(e,e.stylesheets),e.unsuspend){var l=e.unsuspend;e.unsuspend=null,l()}},60000+r);0<e.imgBytes&&mB===0&&(mB=62500*t0e());var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Pj(e,e.stylesheets),e.unsuspend)){var l=e.unsuspend;e.unsuspend=null,l()}},(e.imgBytes>mB?50:800)+r);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(s)}}:null}function nN(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Pj(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var iN=null;function Pj(e,r){e.stylesheets=null,e.unsuspend!==null&&(e.count++,iN=new Map,r.forEach(b0e,e),iN=null,nN.call(e))}function b0e(e,r){if(!(r.state.loading&4)){var a=iN.get(e);if(a)var i=a.get(null);else{a=new Map,iN.set(e,a);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),l=0;l<s.length;l++){var c=s[l];if(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")a.set(c.dataset.precedence,c),i=c}i&&a.set(null,i)}s=r.instance,c=s.getAttribute("data-precedence"),l=a.get(c)||i,l===i&&a.set(null,s),a.set(c,s),this.count++,i=nN.bind(this),s.addEventListener("load",i),s.addEventListener("error",i),l?l.parentNode.insertBefore(s,l.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),r.state.loading|=4}}var kT={$$typeof:DZ,Provider:null,Consumer:null,_currentValue:lz,_currentValue2:lz,_threadCount:0};function _0e(e,r,a,i,s,l,c,d,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=Y6(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Y6(0),this.hiddenUpdates=Y6(null),this.identifierPrefix=i,this.onUncaughtError=s,this.onCaughtError=l,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=m,this.incompleteTransitions=new Map}function w0e(e,r,a,i,s,l,c,d,m,g,M,v){return e=new _0e(e,r,a,c,m,g,M,v,d),r=1,l===!0&&(r|=24),l=Zl(3,null,null,r),e.current=l,l.stateNode=e,r=CY(),r.refCount++,e.pooledCache=r,r.refCount++,l.memoizedState={element:i,isDehydrated:a,cache:r},PY(l),e}function z0e(e){if(!e)return hk;return e=hk,e}function hte(e,r,a,i,s,l){s=z0e(s),i.context===null?i.context=s:i.pendingContext=s,i=Zz(r),i.payload={element:a},l=l===void 0?null:l,l!==null&&(i.callback=l),a=pz(e,i,r),a!==null&&(Hs(a,e,r),XP(a,e,r))}function AJ(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<r?a:r}}function o7(e,r){AJ(e,r),(e=e.alternate)&&AJ(e,r)}function gte(e){if(e.tag===13||e.tag===31){var r=wz(e,67108864);r!==null&&Hs(r,e,67108864),o7(e,67108864)}}function EJ(e){if(e.tag===13||e.tag===31){var r=lc();r=JJ(r);var a=wz(e,r);a!==null&&Hs(a,e,r),o7(e,r)}}var fN=!0;function S0e(e,r,a,i){var s=qr.T;qr.T=null;var l=Bo.p;try{Bo.p=2,a7(e,r,a,i)}finally{Bo.p=l,qr.T=s}}function L0e(e,r,a,i){var s=qr.T;qr.T=null;var l=Bo.p;try{Bo.p=8,a7(e,r,a,i)}finally{Bo.p=l,qr.T=s}}function a7(e,r,a,i){if(fN){var s=uY(i);if(s===null)ZB(e,r,i,sN,a),DJ(e,i);else if(C0e(s,e,r,a,i))i.stopPropagation();else if(DJ(e,i),r&4&&-1<k0e.indexOf(e)){for(;s!==null;){var l=jk(s);if(l!==null)switch(l.tag){case 3:if(l=l.stateNode,l.current.memoizedState.isDehydrated){var c=nz(l.pendingLanes);if(c!==0){var d=l;d.pendingLanes|=2;for(d.entangledLanes|=2;c;){var m=1<<31-jl(c);d.entanglements[1]|=m,c&=~m}WZ(l),(No&6)===0&&(Qj=Ll()+500,FT(0,!1))}}break;case 31:case 13:d=wz(l,2),d!==null&&Hs(d,l,2),bN(),o7(l,2)}if(l=uY(i),l===null&&ZB(e,r,i,sN,a),l===s)break;s=l}s!==null&&i.stopPropagation()}else ZB(e,r,i,null,a)}}function uY(e){return e=vY(e),n7(e)}var sN=null;function n7(e){if(sN=null,e=ck(e),e!==null){var r=RT(e);if(r===null)e=null;else{var a=r.tag;if(a===13){if(e=FJ(r),e!==null)return e;e=null}else if(a===31){if(e=BJ(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 sN=e,null}function Mte(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(c_e()){case HJ:return 2;case VJ:return 8;case Oj:case u_e:return 32;case WJ:return 268435456;default:return 32}default:return 32}}var dY=!1,WM=null,GM=null,KM=null,CT=new Map,IT=new Map,OM=[],k0e="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 DJ(e,r){switch(e){case"focusin":case"focusout":WM=null;break;case"dragenter":case"dragleave":GM=null;break;case"mouseover":case"mouseout":KM=null;break;case"pointerover":case"pointerout":CT.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":IT.delete(r.pointerId)}}function DP(e,r,a,i,s,l){if(e===null||e.nativeEvent!==l)return e={blockedOn:r,domEventName:a,eventSystemFlags:i,nativeEvent:l,targetContainers:[s]},r!==null&&(r=jk(r),r!==null&&gte(r)),e;return e.eventSystemFlags|=i,r=e.targetContainers,s!==null&&r.indexOf(s)===-1&&r.push(s),e}function C0e(e,r,a,i,s){switch(r){case"focusin":return WM=DP(WM,e,r,a,i,s),!0;case"dragenter":return GM=DP(GM,e,r,a,i,s),!0;case"mouseover":return KM=DP(KM,e,r,a,i,s),!0;case"pointerover":var l=s.pointerId;return CT.set(l,DP(CT.get(l)||null,e,r,a,i,s)),!0;case"gotpointercapture":return l=s.pointerId,IT.set(l,DP(IT.get(l)||null,e,r,a,i,s)),!0}return!1}function vte(e){var r=ck(e.target);if(r!==null){var a=RT(r);if(a!==null){if(r=a.tag,r===13){if(r=FJ(a),r!==null){e.blockedOn=r,yQ(e.priority,function(){EJ(a)});return}}else if(r===31){if(r=BJ(a),r!==null){e.blockedOn=r,yQ(e.priority,function(){EJ(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 Tj(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var a=uY(e.nativeEvent);if(a===null){a=e.nativeEvent;var i=new a.constructor(a.type,a);kB=i,a.target.dispatchEvent(i),kB=null}else return r=jk(a),r!==null&&gte(r),e.blockedOn=a,!1;r.shift()}return!0}function OJ(e,r,a){Tj(e)&&a.delete(r)}function I0e(){dY=!1,WM!==null&&Tj(WM)&&(WM=null),GM!==null&&Tj(GM)&&(GM=null),KM!==null&&Tj(KM)&&(KM=null),CT.forEach(OJ),IT.forEach(OJ)}function hj(e,r){e.blockedOn===r&&(e.blockedOn=null,dY||(dY=!0,Ds(Ps,I0e)))}var gj=null;function jJ(e){gj!==e&&(gj=e,Ds(Ps,function(){gj===e&&(gj=null);for(var r=0;r<e.length;r+=3){var a=e[r],i=e[r+1],s=e[r+2];if(typeof i!=="function")if(n7(i||a)===null)continue;else break;var l=jk(a);l!==null&&(e.splice(r,3),r-=3,qB(l,{pending:!0,data:s,method:a.method,action:i},i,s))}}))}function Ok(e){function r(m){return hj(m,e)}WM!==null&&hj(WM,e),GM!==null&&hj(GM,e),KM!==null&&hj(KM,e),CT.forEach(r),IT.forEach(r);for(var a=0;a<OM.length;a++){var i=OM[a];i.blockedOn===e&&(i.blockedOn=null)}for(;0<OM.length&&(a=OM[0],a.blockedOn===null);)vte(a),a.blockedOn===null&&OM.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var s=a[i],l=a[i+1],c=s[Vs]||null;if(typeof l==="function")c||jJ(a);else if(c){var d=null;if(l&&l.hasAttribute("formAction")){if(s=l,c=l[Vs]||null)d=c.formAction;else if(n7(s)!==null)continue}else d=c.action;typeof d==="function"?a[i+1]=d:(a.splice(i,3),i-=3),jJ(a)}}}function R0e(){function e(l){l.canIntercept&&l.info==="react-transition"&&l.intercept({handler:function(){return new Promise(function(c){return s=c})},focusReset:"manual",scroll:"manual"})}function r(){s!==null&&(s(),s=null),i||setTimeout(a,20)}function a(){if(!i&&!navigation.transition){var l=navigation.currentEntry;l&&l.url!=null&&navigation.navigate(l.url,{state:l.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var i=!1,s=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),s!==null&&(s(),s=null)}}}function i7(e){this._internalRoot=e}f7.prototype.render=i7.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(Yt(409));var a=r.current,i=lc();hte(a,i,e,r,null,null)};f7.prototype.unmount=i7.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;hte(e.current,2,null,e,null,null),bN(),r[AT]=null}};function f7(e){this._internalRoot=e}f7.prototype.unstable_scheduleHydration=function(e){if(e){var r=$J();e={blockedOn:null,target:e,priority:r};for(var a=0;a<OM.length&&r!==0&&r<OM[a].priority;a++);OM.splice(a,0,e),a===0&&vte(e)}};var NJ=Ns;if(NJ!=="19.2.8")throw Error(Yt(527,NJ,"19.2.8"));Bo.findDOMNode=function(e){var r=e._reactInternals;if(r===void 0){if(typeof e.render==="function")throw Error(Yt(188));throw e=Object.keys(e).join(","),Error(Yt(268,e))}return e=o_e(r),e=e!==null?YJ(e):null,e=e===null?null:e.stateNode,e};var P0e={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:qr,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){if(fk=__REACT_DEVTOOLS_GLOBAL_HOOK__,!fk.isDisabled&&fk.supportsFiber)try{PT=fk.inject(P0e),Ol=fk}catch(e){}}var fk;var xte=function(e,r){if(!r_e(e))throw Error(Yt(299));var a=!1,i="",s=Lwe,l=kwe,c=Cwe;return r!==null&&r!==void 0&&(r.unstable_strictMode===!0&&(a=!0),r.identifierPrefix!==void 0&&(i=r.identifierPrefix),r.onUncaughtError!==void 0&&(s=r.onUncaughtError),r.onCaughtError!==void 0&&(l=r.onCaughtError),r.onRecoverableError!==void 0&&(c=r.onRecoverableError)),r=w0e(e,1,!1,null,null,a,i,null,s,l,c,R0e),e[AT]=r.current,ite(e),new i7(r)};yte();S();var D0e={theme:"system",setTheme:()=>null},bte=it(D0e);function _te({children:e,defaultTheme:r="system",storageKey:a="vite-ui-theme",...i}){let[s,l]=u(()=>localStorage.getItem(a)||r);h(()=>{let d=window.document.documentElement;if(d.classList.remove("light","dark"),s==="system"){let m=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";d.classList.add(m);return}d.classList.add(s)},[s]);let c={theme:s,setTheme:(d)=>{localStorage.setItem(a,d),l(d)}};return t(bte.Provider,{...i,value:c,children:e})}var wte=()=>{let e=dt(bte);if(e===void 0)throw Error("useTheme must be used within a ThemeProvider");return e};var O0e=/^[\w!#$%&'*.^`|~+-]+$/;var j0e=(e,r,a={})=>{if(!O0e.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 s of["domain","path","sameSite","priority"])if(a[s]&&/[;\r\n]/.test(a[s]))throw Error(`${s} 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},zte=(e,r,a)=>(r=encodeURIComponent(r),j0e(e,r,a));var Ste=(e,r)=>(e=e.replace(/\/+$/,""),e=e+"/",r=r.replace(/^\/+/,""),e+r),SN=(e,r)=>{for(let[a,i]of Object.entries(r)){let s=new RegExp("/:"+a+"(?:{[^/]+})?\\??(?=/|$)");e=e.replace(s,()=>i?`/${i}`:"")}return e},Lte=(e)=>{let r=new URLSearchParams;for(let[a,i]of Object.entries(e)){if(i===void 0)continue;if(Array.isArray(i))for(let s of i){if(s===void 0)continue;r.append(a,s)}else r.set(a,i)}return r},kte=(e,r)=>{switch(r){case"ws":return e.replace(/^http/,"ws");case"http":return e.replace(/^ws/,"http")}},s7=(e)=>{if(/^https?:\/\/[^\/]+?\/index(?=\?|$)/.test(e))return e.replace(/\/index(?=\?|$)/,"/");return e.replace(/\/index(?=\?|$)/,"")};function zN(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}function l7(e,r){if(!zN(e)&&!zN(r))return r;let a={...e};for(let i in r){let s=r[i];if(zN(a[i])&&zN(s))a[i]=l7(a[i],s);else a[i]=s}return a}var Cte=(e,r)=>new Proxy(()=>{},{get(i,s){if(typeof s!=="string"||s==="then")return;return Cte(e,[...r,s])},apply(i,s,l){return e({path:r,args:l})}}),Ite=(e,r)=>{let a=r.toString();return a?`${e}?${a}`:e},F0e=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 d=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;d.append(m,M)}else d.append(m,g)}this.rBody=d}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 d=[];for(let[m,g]of Object.entries(e.cookie)){if(g===void 0)continue;d.push(zte(m,g))}if(d.length>0)i.Cookie=d.join("; ")}if(this.cType)i["Content-Type"]=this.cType;let s=new Headers;for(let[d,m]of Object.entries(i))if(m!==void 0)s.set(d,m);let l=this.url;if(l=s7(l),l=SN(l,this.pathParams),this.queryParams)l=Ite(l,this.queryParams);a=this.method.toUpperCase();let c=!(a==="GET"||a==="HEAD");return(r?.fetch||fetch)(l,{body:c?this.rBody:void 0,method:a,headers:s,...r?.init})}},c7=(e,r)=>Cte(function a(i){let s=r?.buildSearchParams??Lte,l=[...i.path],c=l.slice(-3).reverse();if(c[0]==="toString"){if(c[1]==="name")return c[2]||"";return a.toString()}if(c[0]==="valueOf"){if(c[1]==="name")return c[2]||"";return a}let d="";if(/^\$/.test(c[0])){let v=l.pop();if(v)d=v.replace(/^\$/,"")}let m=l.join("/"),g=Ste(e,m);if(d==="url"||d==="path"){let v=g;if(i.args[0]){if(i.args[0].param)v=SN(g,i.args[0].param);if(i.args[0].query)v=Ite(v,s(i.args[0].query))}if(v=s7(v),d==="url")return new URL(v);return v.slice(e.replace(/\/+$/,"").length).replace(/^\/?/,"/")}if(d==="ws"){let v=kte(i.args[0]?.param?SN(g,i.args[0].param):g,"ws"),y=new URL(v),x=i.args[0]?.query;if(x)s(x).forEach((U,T)=>{y.searchParams.append(T,U)});return((...j)=>{if(r?.webSocket!==void 0&&typeof r.webSocket==="function")return r.webSocket(...j);return new WebSocket(...j)})(y.toString())}let M=new F0e(g,d,{buildSearchParams:s});if(d){r??={};let v={...i.args[1]},y=r.headers,x=v.headers;if(y&&x)v.headers=async()=>({...typeof y==="function"?await y():y,...typeof x==="function"?await x():x});let _=l7(r,v);return M.fetch(i.args[0],_)}return M},[]);var Rte=(e)=>{let r,a=new Set,i=(g,M)=>{let v=typeof g==="function"?g(r):g;if(!Object.is(v,r)){let y=r;r=(M!=null?M:typeof v!=="object"||v===null)?v:Object.assign({},r,v),a.forEach((x)=>x(r,y))}},s=()=>r,d={setState:i,getState:s,getInitialState:()=>m,subscribe:(g)=>(a.add(g),()=>a.delete(g))},m=r=e(i,s,d);return d},Pte=(e)=>e?Rte(e):Rte;S();var B0e=(e)=>e;function Y0e(e,r=B0e){let a=Yn(e.subscribe,D(()=>r(e.getState()),[e,r]),D(()=>r(e.getInitialState()),[e,r]));return li(a),a}var Tte=(e)=>{let r=Pte(e),a=(i)=>Y0e(r,i);return Object.assign(a,r),a},Mr=(e)=>e?Tte(e):Tte;var Ate=(e)=>!!e.dispatchFromDevtools&&typeof e.dispatch==="function",UT=new Map,LN=(e)=>{let r=UT.get(e);if(!r)return{};return Object.fromEntries(Object.entries(r.stores).map(([a,i])=>[a,i.getState()]))},U0e=(e,r,a)=>{if(e===void 0)return{type:"untracked",connection:r.connect(a)};let i=UT.get(a.name);if(i)return{type:"tracked",store:e,...i};let s={connection:r.connect(a),stores:{}};return UT.set(a.name,s),{type:"tracked",store:e,...s}},q0e=(e,r)=>{if(r===void 0)return;let a=UT.get(e);if(!a)return;if(delete a.stores[r],Object.keys(a.stores).length===0)UT.delete(e)},H0e=/^at (?:new |async )?(.+?) \(/,V0e=/^([^@]+)@/;function W0e(e){var r,a,i;if(!e)return;let s=e.split(`
11
+ `),l=s.findIndex((d)=>d.includes("api.setState"));if(l<0)return;let c=((r=s[l+1])==null?void 0:r.trim())||"";return((a=H0e.exec(c))==null?void 0:a[1])||((i=V0e.exec(c))==null?void 0:i[1])}var G0e=(e,r={})=>(a,i,s)=>{let{enabled:l,anonymousActionType:c,store:d,...m}=r,g;try{g=(l!=null?l:(import.meta.env?import.meta.env.MODE:void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(j){}if(!g)return e(a,i,s);let{connection:M,...v}=U0e(d,g,m),y=!0;s.setState=(j,U,T)=>{let N=a(j,U);if(!y)return N;let G=T===void 0?{type:c||W0e(Error().stack)||"anonymous"}:typeof T==="string"?{type:T}:T;if(d===void 0)return M==null||M.send(G,i()),N;return M==null||M.send({...G,type:`${d}/${G.type}`},{...LN(m.name),[d]:s.getState()}),N},s.devtools={cleanup:()=>{if(M&&typeof M.unsubscribe==="function")M.unsubscribe();q0e(m.name,d)}};let x=(...j)=>{let U=y;y=!1,a(...j),y=U},_=e(s.setState,i,s);if(v.type==="untracked")M==null||M.init(_);else v.stores[v.store]=s,M==null||M.init(Object.fromEntries(Object.entries(v.stores).map(([j,U])=>[j,j===v.store?_:U.getState()])));if(Ate(s)){let j=!1,U=s.dispatch;s.dispatch=(...T)=>{if((import.meta.env?import.meta.env.MODE:void 0)!=="production"&&T[0].type==="__setState"&&!j)console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),j=!0;U(...T)}}return M.subscribe((j)=>{var U;switch(j.type){case"ACTION":if(typeof j.payload!=="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return u7(j.payload,(T)=>{if(T.type==="__setState"){if(d===void 0){x(T.state);return}if(Object.keys(T.state).length!==1)console.error(`
12
+ [zustand devtools middleware] Unsupported __setState action format.
13
+ When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
14
+ and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
15
+ `);let N=T.state[d];if(N===void 0||N===null)return;if(JSON.stringify(s.getState())!==JSON.stringify(N))x(N);return}if(Ate(s))s.dispatch(T)});case"DISPATCH":switch(j.payload.type){case"RESET":if(x(_),d===void 0)return M==null?void 0:M.init(s.getState());return M==null?void 0:M.init(LN(m.name));case"COMMIT":if(d===void 0){M==null||M.init(s.getState());return}return M==null?void 0:M.init(LN(m.name));case"ROLLBACK":return u7(j.state,(T)=>{if(d===void 0){x(T),M==null||M.init(s.getState());return}x(T[d]),M==null||M.init(LN(m.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return u7(j.state,(T)=>{if(d===void 0){x(T);return}if(JSON.stringify(s.getState())!==JSON.stringify(T[d]))x(T[d])});case"IMPORT_STATE":{let{nextLiftedState:T}=j.payload,N=(U=T.computedStates.slice(-1)[0])==null?void 0:U.state;if(!N)return;if(d===void 0)x(N);else x(N[d]);M==null||M.send(null,T);return}case"PAUSE_RECORDING":return y=!y}return}}),_},Ete=G0e,u7=(e,r)=>{let a;try{a=JSON.parse(e)}catch(i){console.error("[zustand devtools middleware] Could not parse the received json",i)}if(a!==void 0)r(a)};function Sz(e,r){let a;try{a=e()}catch(s){return}return{getItem:(s)=>{var l;let c=(m)=>{if(m===null)return null;return JSON.parse(m,r==null?void 0:r.reviver)},d=(l=a.getItem(s))!=null?l:null;if(d instanceof Promise)return d.then(c);return c(d)},setItem:(s,l)=>a.setItem(s,JSON.stringify(l,r==null?void 0:r.replacer)),removeItem:(s)=>a.removeItem(s)}}var d7=(e)=>(r)=>{try{let a=e(r);if(a instanceof Promise)return a;return{then(i){return d7(i)(a)},catch(i){return this}}}catch(a){return{then(i){return this},catch(i){return d7(i)(a)}}}},K0e=(e,r)=>(a,i,s)=>{let l={storage:Sz(()=>window.localStorage),partialize:(U)=>U,version:0,merge:(U,T)=>({...T,...U}),...r},c=!1,d=0,m=new Set,g=new Set,M=l.storage;if(!M)return e((...U)=>{console.warn(`[zustand persist middleware] Unable to update item '${l.name}', the given storage is currently unavailable.`),a(...U)},i,s);let v=()=>{let U=l.partialize({...i()});return M.setItem(l.name,{state:U,version:l.version})},y=s.setState;s.setState=(U,T)=>(y(U,T),v());let x=e((...U)=>(a(...U),v()),i,s);s.getInitialState=()=>x;let _,j=()=>{var U,T;if(!M)return;let N=++d;c=!1,m.forEach((X)=>{var J;return X((J=i())!=null?J:x)});let G=((T=l.onRehydrateStorage)==null?void 0:T.call(l,(U=i())!=null?U:x))||void 0;return d7(M.getItem.bind(M))(l.name).then((X)=>{if(X)if(typeof X.version==="number"&&X.version!==l.version){if(l.migrate){let J=l.migrate(X.state,X.version);if(J instanceof Promise)return J.then((ee)=>[!0,ee]);return[!0,J]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,X.state];return[!1,void 0]}).then((X)=>{var J;if(N!==d)return;let[ee,re]=X;if(_=l.merge(re,(J=i())!=null?J:x),a(_,!0),ee)return v()}).then(()=>{if(N!==d)return;G==null||G(i(),void 0),_=i(),c=!0,g.forEach((X)=>X(_))}).catch((X)=>{if(N!==d)return;G==null||G(void 0,X)})};if(s.persist={setOptions:(U)=>{if(l={...l,...U},U.storage)M=U.storage},clearStorage:()=>{++d,M==null||M.removeItem(l.name)},getOptions:()=>l,rehydrate:()=>j(),hasHydrated:()=>c,onHydrate:(U)=>(m.add(U),()=>{m.delete(U)}),onFinishHydration:(U)=>(g.add(U),()=>{g.delete(U)})},!l.skipHydration)j();return _||x},qk=K0e;var pf=Mr()(qk((e)=>({user:null,setUser:(r)=>e({user:r}),clearAuth:()=>e({user:null})}),{name:"auth-storage",storage:Sz(()=>localStorage)}));var X0e=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"))pf.getState().clearAuth(),window.location.href="/login"}return a},A=c7("/",{fetch:X0e,init:{credentials:"include"}});S();var kN=(...e)=>e.filter((r,a,i)=>Boolean(r)&&r.trim()!==""&&i.indexOf(r)===a).join(" ").trim();var Dte=(e)=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();var Ote=(e)=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,a,i)=>i?i.toUpperCase():a.toLowerCase());var Z7=(e)=>{let r=Ote(e);return r.charAt(0).toUpperCase()+r.slice(1)};S();var CN={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 jte=(e)=>{for(let r in e)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};S();var Q0e=it({});var Nte=()=>dt(Q0e);var Fte=O(({color:e,size:r,strokeWidth:a,absoluteStrokeWidth:i,className:s="",children:l,iconNode:c,...d},m)=>{let{size:g=24,strokeWidth:M=2,absoluteStrokeWidth:v=!1,color:y="currentColor",className:x=""}=Nte()??{},_=i??v?Number(a??M)*24/Number(r??g):a??M;return q("svg",{ref:m,...CN,width:r??g??CN.width,height:r??g??CN.height,stroke:e??y,strokeWidth:_,className:kN("lucide",x,s),...!l&&!jte(d)&&{"aria-hidden":"true"},...d},[...c.map(([j,U])=>q(j,U)),...Array.isArray(l)?l:[l]])});var I=(e,r)=>{let a=O(({className:i,...s},l)=>q(Fte,{ref:l,iconNode:r,className:kN(`lucide-${Dte(Z7(e))}`,`lucide-${e}`,i),...s}));return a.displayName=Z7(e),a};var J0e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],vr=I("circle-check",J0e);var $0e=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],zn=I("cloud-upload",$0e);var eze=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],r8=I("columns-2",eze);var tze=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],wr=I("ellipsis-vertical",tze);var rze=[["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"}]],nr=I("ellipsis",rze);var oze=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],F=I("loader-circle",oze);var aze=[["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"}]],o8=I("octagon-x",aze);var nze=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],In=I("rotate-ccw-clock",nze);var ize=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 7v7",key:"1x2jlm"}],["path",{d:"M12 7v4",key:"xawao1"}],["path",{d:"M16 7v9",key:"1hp2iy"}]],Do=I("square-kanban",ize);var fze=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],$r=I("square-pen",fze);var sze=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Gr=I("triangle-alert",sze);var lze=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Xn=I("arrow-right",lze);var cze=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],Yi=I("arrow-up",cze);var uze=[["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"}]],Ji=I("bookmark",uze);var dze=[["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"}]],Et=I("bot",dze);var Zze=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}]],jn=I("calendar",Zze);var pze=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],qT=I("check-check",pze);var mze=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Re=I("check",mze);var hze=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ve=I("chevron-down",hze);var gze=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],rn=I("chevron-left",gze);var Mze=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],vt=I("chevron-right",Mze);var vze=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Ca=I("chevron-up",vze);var xze=[["path",{d:"m7 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]],Lz=I("chevrons-down-up",xze);var yze=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],kz=I("chevrons-up-down",yze);var bze=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],HT=I("circle",bze);var _ze=[["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"}]],VT=I("clapperboard",_ze);var wze=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],Xt=I("clock",wze);var zze=[["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"}]],wt=I("download",zze);var Sze=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],qn=I("file-text",Sze);var Lze=[["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"}]],er=I("file",Lze);var kze=[["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"}]],Ia=I("files",kze);var Cze=[["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"}]],Os=I("folder-clock",Cze);var Ize=[["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"}]],tr=I("folder",Ize);var Rze=[["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"}]],Fs=I("grip-vertical",Rze);var Pze=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],eo=I("image",Pze);var Tze=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Wo=I("info",Tze);var Aze=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],to=I("layout-grid",Aze);var Eze=[["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"}]],Ls=I("link-2",Eze);var Dze=[["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"}]],Oo=I("list",Dze);var Oze=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],nn=I("lock",Oze);var jze=[["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"}]],WT=I("log-in",jze);var Nze=[["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"}]],ci=I("mail",Nze);var Fze=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],KZ=I("menu",Fze);var Bze=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],vo=I("message-square",Bze);var Yze=[["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"}]],Ta=I("paperclip",Yze);var Uze=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],pe=I("plus",Uze);var qze=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Bt=I("search",qze);var Hze=[["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"}]],Ma=I("share-2",Hze);var Vze=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],wo=I("target",Vze);var Wze=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],we=I("trash-2",Wze);var Gze=[["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"}]],GT=I("user-plus",Gze);var Kze=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ne=I("x",Kze);S();var Hk=Mr((e)=>({isMobileMenuOpen:!1,activeItem:null,activeItemId:null,openMobileMenu:(r=null)=>e({isMobileMenuOpen:!0,activeItemId:typeof r==="string"?r:null,activeItem:typeof r==="number"?r:null}),closeMobileMenu:()=>e({isMobileMenuOpen:!1,activeItem:null,activeItemId:null}),toggleMobileMenu:()=>e((r)=>({isMobileMenuOpen:!r.isMobileMenuOpen,activeItem:r.isMobileMenuOpen?null:r.activeItem,activeItemId:r.isMobileMenuOpen?null:r.activeItemId})),setActiveItem:(r)=>e({activeItem:r,activeItemId:null}),setActiveItemId:(r)=>e({activeItemId:r})}));function doe(e){var r,a,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(r=0;r<s;r++)e[r]&&(a=doe(e[r]))&&(i&&(i+=" "),i+=a)}else for(a in e)e[a]&&(i&&(i+=" "),i+=a);return i}function IN(){for(var e,r,a=0,i="",s=arguments.length;a<s;a++)(e=arguments[a])&&(r=doe(e))&&(i&&(i+=" "),i+=r);return i}var Xze=(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},Qze=(e,r)=>({classGroupId:e,validator:r}),Moe=(e=new Map,r=null,a)=>({nextPart:e,validators:r,classGroupId:a});var Zoe=[];var Jze=(e)=>{let r=eSe(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:(c)=>{if(c.startsWith("[")&&c.endsWith("]"))return $ze(c);let d=c.split("-"),m=d[0]===""&&d.length>1?1:0;return voe(d,m,r)},getConflictingClassGroupIds:(c,d)=>{if(d){let m=i[c],g=a[c];if(m){if(g)return Xze(g,m);return m}return g||Zoe}return a[c]||Zoe}}},voe=(e,r,a)=>{if(e.length-r===0)return a.classGroupId;let s=e[r],l=a.nextPart.get(s);if(l){let g=voe(e,r+1,l);if(g)return g}let c=a.validators;if(c===null)return;let d=r===0?e.join("-"):e.slice(r).join("-"),m=c.length;for(let g=0;g<m;g++){let M=c[g];if(M.validator(d))return M.classGroupId}return},$ze=(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})(),eSe=(e)=>{let{theme:r,classGroups:a}=e;return tSe(a,r)},tSe=(e,r)=>{let a=Moe();for(let i in e){let s=e[i];m7(s,a,i,r)}return a},m7=(e,r,a,i)=>{let s=e.length;for(let l=0;l<s;l++){let c=e[l];rSe(c,r,a,i)}},rSe=(e,r,a,i)=>{if(typeof e==="string"){oSe(e,r,a);return}if(typeof e==="function"){aSe(e,r,a,i);return}nSe(e,r,a,i)},oSe=(e,r,a)=>{let i=e===""?r:xoe(r,e);i.classGroupId=a},aSe=(e,r,a,i)=>{if(iSe(e)){m7(e(i),r,a,i);return}if(r.validators===null)r.validators=[];r.validators.push(Qze(a,e))},nSe=(e,r,a,i)=>{let s=Object.entries(e),l=s.length;for(let c=0;c<l;c++){let[d,m]=s[c];m7(m,xoe(r,d),a,i)}},xoe=(e,r)=>{let a=e,i=r.split("-"),s=i.length;for(let l=0;l<s;l++){let c=i[l],d=a.nextPart.get(c);if(!d)d=Moe(),a.nextPart.set(c,d);a=d}return a},iSe=(e)=>("isThemeGetter"in e)&&e.isThemeGetter===!0,fSe=(e)=>{if(e<1)return{get:()=>{return},set:()=>{}};let r=0,a=Object.create(null),i=Object.create(null),s=(l,c)=>{if(a[l]=c,r++,r>e)r=0,i=a,a=Object.create(null)};return{get(l){let c=a[l];if(c!==void 0)return c;if((c=i[l])!==void 0)return s(l,c),c},set(l,c){if(l in a)a[l]=c;else s(l,c)}}};var sSe=[],poe=(e,r,a,i,s)=>({modifiers:e,hasImportantModifier:r,baseClassName:a,maybePostfixModifierPosition:i,isExternal:s}),lSe=(e)=>{let{prefix:r,experimentalParseClassName:a}=e,i=(s)=>{let l=[],c=0,d=0,m=0,g,M=s.length;for(let j=0;j<M;j++){let U=s[j];if(c===0&&d===0){if(U===":"){l.push(s.slice(m,j)),m=j+1;continue}if(U==="/"){g=j;continue}}if(U==="[")c++;else if(U==="]")c--;else if(U==="(")d++;else if(U===")")d--}let v=l.length===0?s:s.slice(m),y=v,x=!1;if(v.endsWith("!"))y=v.slice(0,-1),x=!0;else if(v.startsWith("!"))y=v.slice(1),x=!0;let _=g&&g>m?g-m:void 0;return poe(l,x,y,_)};if(r){let s=r+":",l=i;i=(c)=>c.startsWith(s)?l(c.slice(s.length)):poe(sSe,!1,c,void 0,!0)}if(a){let s=i;i=(l)=>a({className:l,parseClassName:s})}return i},cSe=(e)=>{let r=new Map;return e.orderSensitiveModifiers.forEach((a,i)=>{r.set(a,1e6+i)}),(a)=>{let i=[],s=[];for(let l=0;l<a.length;l++){let c=a[l],d=c[0]==="[",m=r.has(c);if(d||m){if(s.length>0)s.sort(),i.push(...s),s=[];i.push(c)}else s.push(c)}if(s.length>0)s.sort(),i.push(...s);return i}},uSe=(e)=>({cache:fSe(e.cacheSize),parseClassName:lSe(e),sortModifiers:cSe(e),postfixLookupClassGroupIds:dSe(e),...Jze(e)}),dSe=(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},ZSe=/\s+/,pSe=(e,r)=>{let{parseClassName:a,getClassGroupId:i,getConflictingClassGroupIds:s,sortModifiers:l,postfixLookupClassGroupIds:c}=r,d=[],m=e.trim().split(ZSe),g="";for(let M=m.length-1;M>=0;M-=1){let v=m[M],{isExternal:y,modifiers:x,hasImportantModifier:_,baseClassName:j,maybePostfixModifierPosition:U}=a(v);if(y){g=v+(g.length>0?" "+g:g);continue}let T=!!U,N;if(T){let re=j.substring(0,U);N=i(re);let oe=N&&c[N]?i(j):void 0;if(oe&&oe!==N)N=oe,T=!1}else N=i(j);if(!N){if(!T){g=v+(g.length>0?" "+g:g);continue}if(N=i(j),!N){g=v+(g.length>0?" "+g:g);continue}T=!1}let G=x.length===0?"":x.length===1?x[0]:l(x).join(":"),X=_?G+"!":G,J=X+N;if(d.indexOf(J)>-1)continue;d.push(J);let ee=s(N,T);for(let re=0;re<ee.length;++re){let oe=ee[re];d.push(X+oe)}g=v+(g.length>0?" "+g:g)}return g},mSe=(...e)=>{let r=0,a,i,s="";while(r<e.length)if(a=e[r++]){if(i=yoe(a))s&&(s+=" "),s+=i}return s},yoe=(e)=>{if(typeof e==="string")return e;let r,a="";for(let i=0;i<e.length;i++)if(e[i]){if(r=yoe(e[i]))a&&(a+=" "),a+=r}return a},hSe=(e,...r)=>{let a,i,s,l,c=(m)=>{let g=r.reduce((M,v)=>v(M),e());return a=uSe(g),i=a.cache.get,s=a.cache.set,l=d,d(m)},d=(m)=>{let g=i(m);if(g)return g;let M=pSe(m,a);return s(m,M),M};return l=c,(...m)=>l(mSe(...m))},gSe=[],wi=(e)=>{let r=(a)=>a[e]||gSe;return r.isThemeGetter=!0,r},boe=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,_oe=/^\((?:(\w[\w-]*):)?(.+)\)$/i,MSe=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,vSe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,xSe=/\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$/,ySe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,bSe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,_Se=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,i8=(e)=>MSe.test(e),mo=(e)=>!!e&&!Number.isNaN(Number(e)),aZ=(e)=>!!e&&Number.isInteger(Number(e)),p7=(e)=>e.endsWith("%")&&mo(e.slice(0,-1)),XZ=(e)=>vSe.test(e),woe=()=>!0,wSe=(e)=>xSe.test(e)&&!ySe.test(e),h7=()=>!1,zSe=(e)=>bSe.test(e),SSe=(e)=>_Se.test(e),LSe=(e)=>!zr(e)&&!Ir(e),kSe=(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)),CSe=(e)=>f8(e,Loe,h7),zr=(e)=>boe.test(e),Cz=(e)=>f8(e,koe,wSe),moe=(e)=>f8(e,OSe,mo),ISe=(e)=>f8(e,Ioe,woe),RSe=(e)=>f8(e,Coe,h7),hoe=(e)=>f8(e,zoe,h7),PSe=(e)=>f8(e,Soe,SSe),RN=(e)=>f8(e,Roe,zSe),Ir=(e)=>_oe.test(e),o2=(e)=>Iz(e,koe),TSe=(e)=>Iz(e,Coe),goe=(e)=>Iz(e,zoe),ASe=(e)=>Iz(e,Loe),ESe=(e)=>Iz(e,Soe),PN=(e)=>Iz(e,Roe,!0),DSe=(e)=>Iz(e,Ioe,!0),f8=(e,r,a)=>{let i=boe.exec(e);if(i){if(i[1])return r(i[1]);return a(i[2])}return!1},Iz=(e,r,a=!1)=>{let i=_oe.exec(e);if(i){if(i[1])return r(i[1]);return a}return!1},zoe=(e)=>e==="position"||e==="percentage",Soe=(e)=>e==="image"||e==="url",Loe=(e)=>e==="length"||e==="size"||e==="bg-size",koe=(e)=>e==="length",OSe=(e)=>e==="number",Coe=(e)=>e==="family-name",Ioe=(e)=>e==="number"||e==="weight",Roe=(e)=>e==="shadow";var jSe=()=>{let e=wi("color"),r=wi("font"),a=wi("text"),i=wi("font-weight"),s=wi("tracking"),l=wi("leading"),c=wi("breakpoint"),d=wi("container"),m=wi("spacing"),g=wi("radius"),M=wi("shadow"),v=wi("inset-shadow"),y=wi("text-shadow"),x=wi("drop-shadow"),_=wi("blur"),j=wi("perspective"),U=wi("aspect"),T=wi("ease"),N=wi("animate"),G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],X=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],J=()=>[...X(),Ir,zr],ee=()=>["auto","hidden","clip","visible","scroll"],re=()=>["auto","contain","none"],oe=()=>[Ir,zr,m],ie=()=>[i8,"full","auto",...oe()],ye=()=>[aZ,"none","subgrid",Ir,zr],We=()=>["auto",{span:["full",aZ,Ir,zr]},aZ,Ir,zr],Ye=()=>[aZ,"auto",Ir,zr],Se=()=>["auto","min","max","fr",Ir,zr],He=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ut=()=>["start","end","center","stretch","center-safe","end-safe"],Ke=()=>["auto",...oe()],yt=()=>[i8,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...oe()],At=()=>[i8,"screen","full","dvw","lvw","svw","min","max","fit",...oe()],jt=()=>[i8,"screen","full","lh","dvh","lvh","svh","min","max","fit",...oe()],de=()=>[e,Ir,zr],bt=()=>[...X(),goe,hoe,{position:[Ir,zr]}],Wt=()=>["no-repeat",{repeat:["","x","y","space","round"]}],je=()=>["auto","cover","contain",ASe,CSe,{size:[Ir,zr]}],sr=()=>[p7,o2,Cz],cr=()=>["","none","full",g,Ir,zr],rr=()=>["",mo,o2,Cz],Or=()=>["solid","dashed","dotted","double"],Gt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Qt=()=>[mo,p7,goe,hoe],Tr=()=>["","none",_,Ir,zr],Cr=()=>["none",mo,Ir,zr],Ar=()=>["none",mo,Ir,zr],dr=()=>[mo,Ir,zr],uo=()=>[i8,"full",...oe()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[XZ],breakpoint:[XZ],color:[woe],container:[XZ],"drop-shadow":[XZ],ease:["in","out","in-out"],font:[LSe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[XZ],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[XZ],shadow:[XZ],spacing:["px",mo],text:[XZ],"text-shadow":[XZ],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",i8,zr,Ir,U]}],container:["container"],"container-type":[{"@container":["","normal","size",Ir,zr]}],"container-named":[kSe],columns:[{columns:[mo,zr,Ir,d]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:J()}],overflow:[{overflow:ee()}],"overflow-x":[{"overflow-x":ee()}],"overflow-y":[{"overflow-y":ee()}],overscroll:[{overscroll:re()}],"overscroll-x":[{"overscroll-x":re()}],"overscroll-y":[{"overscroll-y":re()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ie()}],"inset-x":[{"inset-x":ie()}],"inset-y":[{"inset-y":ie()}],start:[{"inset-s":ie(),start:ie()}],end:[{"inset-e":ie(),end:ie()}],"inset-bs":[{"inset-bs":ie()}],"inset-be":[{"inset-be":ie()}],top:[{top:ie()}],right:[{right:ie()}],bottom:[{bottom:ie()}],left:[{left:ie()}],visibility:["visible","invisible","collapse"],z:[{z:[aZ,"auto",Ir,zr]}],basis:[{basis:[i8,"full","auto",d,...oe()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[mo,i8,"auto","initial","none",zr]}],grow:[{grow:["",mo,Ir,zr]}],shrink:[{shrink:["",mo,Ir,zr]}],order:[{order:[aZ,"first","last","none",Ir,zr]}],"grid-cols":[{"grid-cols":ye()}],"col-start-end":[{col:We()}],"col-start":[{"col-start":Ye()}],"col-end":[{"col-end":Ye()}],"grid-rows":[{"grid-rows":ye()}],"row-start-end":[{row:We()}],"row-start":[{"row-start":Ye()}],"row-end":[{"row-end":Ye()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Se()}],"auto-rows":[{"auto-rows":Se()}],gap:[{gap:oe()}],"gap-x":[{"gap-x":oe()}],"gap-y":[{"gap-y":oe()}],"justify-content":[{justify:[...He(),"normal"]}],"justify-items":[{"justify-items":[...ut(),"normal"]}],"justify-self":[{"justify-self":["auto",...ut()]}],"align-content":[{content:["normal",...He()]}],"align-items":[{items:[...ut(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ut(),{baseline:["","last"]}]}],"place-content":[{"place-content":He()}],"place-items":[{"place-items":[...ut(),"baseline"]}],"place-self":[{"place-self":["auto",...ut()]}],p:[{p:oe()}],px:[{px:oe()}],py:[{py:oe()}],ps:[{ps:oe()}],pe:[{pe:oe()}],pbs:[{pbs:oe()}],pbe:[{pbe:oe()}],pt:[{pt:oe()}],pr:[{pr:oe()}],pb:[{pb:oe()}],pl:[{pl:oe()}],m:[{m:Ke()}],mx:[{mx:Ke()}],my:[{my:Ke()}],ms:[{ms:Ke()}],me:[{me:Ke()}],mbs:[{mbs:Ke()}],mbe:[{mbe:Ke()}],mt:[{mt:Ke()}],mr:[{mr:Ke()}],mb:[{mb:Ke()}],ml:[{ml:Ke()}],"space-x":[{"space-x":oe()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":oe()}],"space-y-reverse":["space-y-reverse"],size:[{size:yt()}],"inline-size":[{inline:["auto",...At()]}],"min-inline-size":[{"min-inline":["auto",...At()]}],"max-inline-size":[{"max-inline":["none",...At()]}],"block-size":[{block:["auto",...jt()]}],"min-block-size":[{"min-block":["auto",...jt()]}],"max-block-size":[{"max-block":["none",...jt()]}],w:[{w:[d,"screen",...yt()]}],"min-w":[{"min-w":[d,"screen","none",...yt()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[c]},...yt()]}],h:[{h:["screen","lh",...yt()]}],"min-h":[{"min-h":["screen","lh","none",...yt()]}],"max-h":[{"max-h":["screen","lh",...yt()]}],"font-size":[{text:["base",a,o2,Cz]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,DSe,ISe]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",p7,zr]}],"font-family":[{font:[TSe,RSe,r]}],"font-features":[{"font-features":[zr]}],"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:[s,Ir,zr]}],"line-clamp":[{"line-clamp":[mo,"none",Ir,moe]}],leading:[{leading:[l,...oe()]}],"list-image":[{"list-image":["none",Ir,zr]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ir,zr]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:de()}],"text-color":[{text:de()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Or(),"wavy"]}],"text-decoration-thickness":[{decoration:[mo,"from-font","auto",Ir,Cz]}],"text-decoration-color":[{decoration:de()}],"underline-offset":[{"underline-offset":[mo,"auto",Ir,zr]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:oe()}],"tab-size":[{tab:[aZ,Ir,zr]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ir,zr]}],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",Ir,zr]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:bt()}],"bg-repeat":[{bg:Wt()}],"bg-size":[{bg:je()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},aZ,Ir,zr],radial:["",Ir,zr],conic:[aZ,Ir,zr]},ESe,PSe]}],"bg-color":[{bg:de()}],"gradient-from-pos":[{from:sr()}],"gradient-via-pos":[{via:sr()}],"gradient-to-pos":[{to:sr()}],"gradient-from":[{from:de()}],"gradient-via":[{via:de()}],"gradient-to":[{to:de()}],rounded:[{rounded:cr()}],"rounded-s":[{"rounded-s":cr()}],"rounded-e":[{"rounded-e":cr()}],"rounded-t":[{"rounded-t":cr()}],"rounded-r":[{"rounded-r":cr()}],"rounded-b":[{"rounded-b":cr()}],"rounded-l":[{"rounded-l":cr()}],"rounded-ss":[{"rounded-ss":cr()}],"rounded-se":[{"rounded-se":cr()}],"rounded-ee":[{"rounded-ee":cr()}],"rounded-es":[{"rounded-es":cr()}],"rounded-tl":[{"rounded-tl":cr()}],"rounded-tr":[{"rounded-tr":cr()}],"rounded-br":[{"rounded-br":cr()}],"rounded-bl":[{"rounded-bl":cr()}],"border-w":[{border:rr()}],"border-w-x":[{"border-x":rr()}],"border-w-y":[{"border-y":rr()}],"border-w-s":[{"border-s":rr()}],"border-w-e":[{"border-e":rr()}],"border-w-bs":[{"border-bs":rr()}],"border-w-be":[{"border-be":rr()}],"border-w-t":[{"border-t":rr()}],"border-w-r":[{"border-r":rr()}],"border-w-b":[{"border-b":rr()}],"border-w-l":[{"border-l":rr()}],"divide-x":[{"divide-x":rr()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":rr()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Or(),"hidden","none"]}],"divide-style":[{divide:[...Or(),"hidden","none"]}],"border-color":[{border:de()}],"border-color-x":[{"border-x":de()}],"border-color-y":[{"border-y":de()}],"border-color-s":[{"border-s":de()}],"border-color-e":[{"border-e":de()}],"border-color-bs":[{"border-bs":de()}],"border-color-be":[{"border-be":de()}],"border-color-t":[{"border-t":de()}],"border-color-r":[{"border-r":de()}],"border-color-b":[{"border-b":de()}],"border-color-l":[{"border-l":de()}],"divide-color":[{divide:de()}],"outline-style":[{outline:[...Or(),"none","hidden"]}],"outline-offset":[{"outline-offset":[mo,Ir,zr]}],"outline-w":[{outline:["",mo,o2,Cz]}],"outline-color":[{outline:de()}],shadow:[{shadow:["","none",M,PN,RN]}],"shadow-color":[{shadow:de()}],"inset-shadow":[{"inset-shadow":["none",v,PN,RN]}],"inset-shadow-color":[{"inset-shadow":de()}],"ring-w":[{ring:rr()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:de()}],"ring-offset-w":[{"ring-offset":[mo,Cz]}],"ring-offset-color":[{"ring-offset":de()}],"inset-ring-w":[{"inset-ring":rr()}],"inset-ring-color":[{"inset-ring":de()}],"text-shadow":[{"text-shadow":["none",y,PN,RN]}],"text-shadow-color":[{"text-shadow":de()}],opacity:[{opacity:[mo,Ir,zr]}],"mix-blend":[{"mix-blend":[...Gt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Gt()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[mo]}],"mask-image-linear-from-pos":[{"mask-linear-from":Qt()}],"mask-image-linear-to-pos":[{"mask-linear-to":Qt()}],"mask-image-linear-from-color":[{"mask-linear-from":de()}],"mask-image-linear-to-color":[{"mask-linear-to":de()}],"mask-image-t-from-pos":[{"mask-t-from":Qt()}],"mask-image-t-to-pos":[{"mask-t-to":Qt()}],"mask-image-t-from-color":[{"mask-t-from":de()}],"mask-image-t-to-color":[{"mask-t-to":de()}],"mask-image-r-from-pos":[{"mask-r-from":Qt()}],"mask-image-r-to-pos":[{"mask-r-to":Qt()}],"mask-image-r-from-color":[{"mask-r-from":de()}],"mask-image-r-to-color":[{"mask-r-to":de()}],"mask-image-b-from-pos":[{"mask-b-from":Qt()}],"mask-image-b-to-pos":[{"mask-b-to":Qt()}],"mask-image-b-from-color":[{"mask-b-from":de()}],"mask-image-b-to-color":[{"mask-b-to":de()}],"mask-image-l-from-pos":[{"mask-l-from":Qt()}],"mask-image-l-to-pos":[{"mask-l-to":Qt()}],"mask-image-l-from-color":[{"mask-l-from":de()}],"mask-image-l-to-color":[{"mask-l-to":de()}],"mask-image-x-from-pos":[{"mask-x-from":Qt()}],"mask-image-x-to-pos":[{"mask-x-to":Qt()}],"mask-image-x-from-color":[{"mask-x-from":de()}],"mask-image-x-to-color":[{"mask-x-to":de()}],"mask-image-y-from-pos":[{"mask-y-from":Qt()}],"mask-image-y-to-pos":[{"mask-y-to":Qt()}],"mask-image-y-from-color":[{"mask-y-from":de()}],"mask-image-y-to-color":[{"mask-y-to":de()}],"mask-image-radial":[{"mask-radial":[Ir,zr]}],"mask-image-radial-from-pos":[{"mask-radial-from":Qt()}],"mask-image-radial-to-pos":[{"mask-radial-to":Qt()}],"mask-image-radial-from-color":[{"mask-radial-from":de()}],"mask-image-radial-to-color":[{"mask-radial-to":de()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":X()}],"mask-image-conic-pos":[{"mask-conic":[mo]}],"mask-image-conic-from-pos":[{"mask-conic-from":Qt()}],"mask-image-conic-to-pos":[{"mask-conic-to":Qt()}],"mask-image-conic-from-color":[{"mask-conic-from":de()}],"mask-image-conic-to-color":[{"mask-conic-to":de()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:bt()}],"mask-repeat":[{mask:Wt()}],"mask-size":[{mask:je()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ir,zr]}],filter:[{filter:["","none",Ir,zr]}],blur:[{blur:Tr()}],brightness:[{brightness:[mo,Ir,zr]}],contrast:[{contrast:[mo,Ir,zr]}],"drop-shadow":[{"drop-shadow":["","none",x,PN,RN]}],"drop-shadow-color":[{"drop-shadow":de()}],grayscale:[{grayscale:["",mo,Ir,zr]}],"hue-rotate":[{"hue-rotate":[mo,Ir,zr]}],invert:[{invert:["",mo,Ir,zr]}],saturate:[{saturate:[mo,Ir,zr]}],sepia:[{sepia:["",mo,Ir,zr]}],"backdrop-filter":[{"backdrop-filter":["","none",Ir,zr]}],"backdrop-blur":[{"backdrop-blur":Tr()}],"backdrop-brightness":[{"backdrop-brightness":[mo,Ir,zr]}],"backdrop-contrast":[{"backdrop-contrast":[mo,Ir,zr]}],"backdrop-grayscale":[{"backdrop-grayscale":["",mo,Ir,zr]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[mo,Ir,zr]}],"backdrop-invert":[{"backdrop-invert":["",mo,Ir,zr]}],"backdrop-opacity":[{"backdrop-opacity":[mo,Ir,zr]}],"backdrop-saturate":[{"backdrop-saturate":[mo,Ir,zr]}],"backdrop-sepia":[{"backdrop-sepia":["",mo,Ir,zr]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":oe()}],"border-spacing-x":[{"border-spacing-x":oe()}],"border-spacing-y":[{"border-spacing-y":oe()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ir,zr]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[mo,"initial",Ir,zr]}],ease:[{ease:["linear","initial",T,Ir,zr]}],delay:[{delay:[mo,Ir,zr]}],animate:[{animate:["none",N,Ir,zr]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[j,Ir,zr]}],"perspective-origin":[{"perspective-origin":J()}],rotate:[{rotate:Cr()}],"rotate-x":[{"rotate-x":Cr()}],"rotate-y":[{"rotate-y":Cr()}],"rotate-z":[{"rotate-z":Cr()}],scale:[{scale:Ar()}],"scale-x":[{"scale-x":Ar()}],"scale-y":[{"scale-y":Ar()}],"scale-z":[{"scale-z":Ar()}],"scale-3d":["scale-3d"],skew:[{skew:dr()}],"skew-x":[{"skew-x":dr()}],"skew-y":[{"skew-y":dr()}],transform:[{transform:[Ir,zr,"","none","gpu","cpu"]}],"transform-origin":[{origin:J()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:uo()}],"translate-x":[{"translate-x":uo()}],"translate-y":[{"translate-y":uo()}],"translate-z":[{"translate-z":uo()}],"translate-none":["translate-none"],zoom:[{zoom:[aZ,Ir,zr]}],accent:[{accent:de()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:de()}],"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",Ir,zr]}],"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":de()}],"scrollbar-track-color":[{"scrollbar-track":de()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":oe()}],"scroll-mx":[{"scroll-mx":oe()}],"scroll-my":[{"scroll-my":oe()}],"scroll-ms":[{"scroll-ms":oe()}],"scroll-me":[{"scroll-me":oe()}],"scroll-mbs":[{"scroll-mbs":oe()}],"scroll-mbe":[{"scroll-mbe":oe()}],"scroll-mt":[{"scroll-mt":oe()}],"scroll-mr":[{"scroll-mr":oe()}],"scroll-mb":[{"scroll-mb":oe()}],"scroll-ml":[{"scroll-ml":oe()}],"scroll-p":[{"scroll-p":oe()}],"scroll-px":[{"scroll-px":oe()}],"scroll-py":[{"scroll-py":oe()}],"scroll-ps":[{"scroll-ps":oe()}],"scroll-pe":[{"scroll-pe":oe()}],"scroll-pbs":[{"scroll-pbs":oe()}],"scroll-pbe":[{"scroll-pbe":oe()}],"scroll-pt":[{"scroll-pt":oe()}],"scroll-pr":[{"scroll-pr":oe()}],"scroll-pb":[{"scroll-pb":oe()}],"scroll-pl":[{"scroll-pl":oe()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ir,zr]}],fill:[{fill:["none",...de()]}],"stroke-w":[{stroke:[mo,o2,Cz,moe]}],stroke:[{stroke:["none",...de()]}],"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 Poe=hSe(jSe);function C(...e){return Poe(IN(e))}var Toe=(e)=>typeof e==="boolean"?`${e}`:e===0?"0":e,Aoe=IN,ds=(e,r)=>(a)=>{var i;if((r===null||r===void 0?void 0:r.variants)==null)return Aoe(e,a===null||a===void 0?void 0:a.class,a===null||a===void 0?void 0:a.className);let{variants:s,defaultVariants:l}=r,c=Object.keys(s).map((g)=>{let M=a===null||a===void 0?void 0:a[g],v=l===null||l===void 0?void 0:l[g];if(M===null)return null;let y=Toe(M)||Toe(v);return s[g][y]}),d=a&&Object.entries(a).reduce((g,M)=>{let[v,y]=M;if(y===void 0)return g;return g[v]=y,g},{}),m=r===null||r===void 0?void 0:(i=r.compoundVariants)===null||i===void 0?void 0:i.reduce((g,M)=>{let{class:v,className:y,...x}=M;return Object.entries(x).every((_)=>{let[j,U]=_;return Array.isArray(U)?U.includes({...l,...d}[j]):{...l,...d}[j]===U})?[...g,v,y]:g},[]);return Aoe(e,c,m,a===null||a===void 0?void 0:a.class,a===null||a===void 0?void 0:a.className)};S();S();var NSe=Object.defineProperty,dc=(e,r)=>NSe(e,"name",{value:r,configurable:!0});function FSe(e,r){let a=it(r);a.displayName=e+"Context";let i=dc((l)=>{let{children:c,...d}=l,m=P(()=>d,Object.values(d));return t(a.Provider,{value:m,children:c})},"Provider");i.displayName=e+"Provider";function s(l,c={}){let{optional:d=!1}=c,m=dt(a);if(m)return m;if(r!==void 0)return r;if(d)return;throw Error(`\`${l}\` must be used within \`${e}\``)}return dc(s,"useContext"),[i,s]}dc(FSe,"createContext");function pt(e,r=[]){let a=[];function i(l,c){let d=it(c);d.displayName=l+"Context";let m=a.length;a=[...a,c];let g=dc((v)=>{let{scope:y,children:x,..._}=v,j=y?.[e]?.[m]||d,U=P(()=>_,Object.values(_));return t(j.Provider,{value:U,children:x})},"Provider");g.displayName=l+"Provider";function M(v,y,x={}){let{optional:_=!1}=x,j=y?.[e]?.[m]||d,U=dt(j);if(U)return U;if(c!==void 0)return c;if(_)return;throw Error(`\`${v}\` must be used within \`${l}\``)}return dc(M,"useContext"),[g,M]}dc(i,"createContext");let s=dc(()=>{let l=a.map((c)=>it(c));return dc(function(d){let m=d?.[e]||l;return P(()=>({[`__scope${e}`]:{...d,[e]:m}}),[d,m])},"useScope")},"createScope");return s.scopeName=e,[i,Eoe(s,...r)]}dc(pt,"createContextScope");function Eoe(...e){let r=e[0];if(e.length===1)return r;let a=dc(()=>{let i=e.map((s)=>({useScope:s(),scopeName:s.scopeName}));return dc(function(l){let c=i.reduce((d,{useScope:m,scopeName:g})=>{let v=m(l)[`__scope${g}`];return{...d,...v}},{});return P(()=>({[`__scope${r.scopeName}`]:c}),[c])},"useComposedScopes")},"createScope");return a.scopeName=r.scopeName,a}dc(Eoe,"composeContextScopes");S();var BSe=Object.defineProperty,M7=(e,r)=>BSe(e,"name",{value:r,configurable:!0});function g7(e,r){if(typeof e==="function")return e(r);else if(e!==null&&e!==void 0)e.current=r}M7(g7,"setRef");function Doe(...e){return(r)=>{let a=!1,i=e.map((s)=>{let l=g7(s,r);if(!a&&typeof l=="function")a=!0;return l});if(a)return()=>{for(let s=0;s<i.length;s++){let l=i[s];if(typeof l=="function")l();else g7(e[s],null)}}}}M7(Doe,"composeRefs");function _e(...e){return D(Doe(...e),e)}M7(_e,"useComposedRefs");S();var YSe=Object.defineProperty,Vk=(e,r)=>YSe(e,"name",{value:r,configurable:!0}),Ooe=!!(typeof window<"u"&&window.document&&window.document.createElement);function Y(e,r,{checkForDefaultPrevented:a=!0}={}){return Vk(function(s){if(e?.(s),a===!1||!s||!s.defaultPrevented)return r?.(s)},"handleEvent")}Vk(Y,"composeEventHandlers");function USe(e){if(!Ooe)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window}Vk(USe,"getOwnerWindow");function v7(e){if(!Ooe)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}Vk(v7,"getOwnerDocument");function joe(e,r=!1){let{activeElement:a}=v7(e);if(!a?.nodeName)return null;if(Noe(a)&&a.contentDocument)return joe(a.contentDocument.body,r);if(r){let i=a.getAttribute("aria-activedescendant");if(i){let s=v7(a).getElementById(i);if(s)return s}}return a}Vk(joe,"getActiveElement");function Noe(e){return e.tagName==="IFRAME"}Vk(Noe,"isFrame");S();S();var Mt=globalThis?.document?$e:()=>{};var qSe=Object.defineProperty,HSe=(e,r)=>qSe(e,"name",{value:r,configurable:!0}),VSe=V[" useId ".trim().toString()]||(()=>{return}),WSe=0;function xr(e){let[r,a]=u(VSe());return Mt(()=>{if(!e)a((i)=>i??String(WSe++))},[e]),e||(r?`radix-${r}`:"")}HSe(xr,"useId");S();var ui=!1;S();S();var GSe=Object.defineProperty,KSe=(e,r)=>GSe(e,"name",{value:r,configurable:!0}),Foe=V[" useEffectEvent ".trim().toString()],Boe=V[" useInsertionEffect ".trim().toString()];function x7(e){if(typeof Foe==="function")return Foe(e);let r=b(()=>{throw Error("Cannot call an event handler while rendering.")});if(typeof Boe==="function")Boe(()=>{r.current=e});else Mt(()=>{r.current=e});return P(()=>(...a)=>r.current?.(...a),[])}KSe(x7,"useEffectEvent");var XSe=Object.defineProperty,a2=(e,r)=>XSe(e,"name",{value:r,configurable:!0}),QSe=V[" useInsertionEffect ".trim().toString()]||Mt;function Ft({prop:e,defaultProp:r,onChange:a=a2(()=>{},"onChange"),caller:i}){let[s,l,c]=Uoe({defaultProp:r,onChange:a}),d=e!==void 0,m=d?e:s;if(ui){let M=b(e!==void 0);h(()=>{let v=M.current;if(v!==d)console.warn(`${i} is changing from ${v?"controlled":"uncontrolled"} to ${d?"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=d},[d,i])}let g=D((M)=>{if(d){let v=qoe(M)?M(e):M;if(v!==e)c.current?.(v)}else l(M)},[d,e,l,c]);return[m,g]}a2(Ft,"useControllableState");function Uoe({defaultProp:e,onChange:r}){let[a,i]=u(e),s=b(a),l=b(r);return QSe(()=>{l.current=r},[r]),h(()=>{if(s.current!==a)l.current?.(a),s.current=a},[a,s]),[a,i,l]}a2(Uoe,"useUncontrolledState");function qoe(e){return typeof e==="function"}a2(qoe,"isFunction");var Yoe=Symbol("RADIX:SYNC_STATE");function JSe(e,r,a,i){let{prop:s,defaultProp:l,onChange:c,caller:d}=r,m=s!==void 0,g=x7(c);if(ui){let U=b(s!==void 0);h(()=>{let T=U.current;if(T!==m)console.warn(`${d} is changing from ${T?"controlled":"uncontrolled"} to ${m?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`);U.current=m},[m,d])}let M=[{...a,state:l}];if(i)M.push(i);let[v,y]=en((U,T)=>{if(T.type===Yoe)return{...U,state:T.state};let N=e(U,T);if(m&&!Object.is(N.state,U.state))g(N.state);return N},...M),x=v.state,_=b(x);h(()=>{if(_.current!==x){if(_.current=x,!m)g(x)}},[x,_,m]);let j=P(()=>{if(s!==void 0)return{...v,state:s};return v},[v,s]);return h(()=>{if(m&&!Object.is(s,v.state))y({type:Yoe,state:s})},[s,v.state,m]),[j,y]}a2(JSe,"useControllableStateReducer");S();S();S();var $Se=Object.defineProperty,nu=(e,r)=>$Se(e,"name",{value:r,configurable:!0});function Pi(e){let r=O((a,i)=>{let{children:s,...l}=a,c=null,d=!1,m=[];if(y7(s)&&typeof TN==="function")s=TN(s._payload);if(Jl.forEach(s,(y)=>{if(Koe(y)){d=!0;let x=y,_="child"in x.props?x.props.child:x.props.children;if(y7(_)&&typeof TN==="function")_=TN(_._payload);c=eLe(x,_),m.push(c?.props?.children)}else m.push(y)}),c)c=Tu(c,void 0,m);else if(!d&&Jl.count(s)===1&&ts(s))c=s;let g=c?Goe(c):void 0,M=_e(i,g);if(!c){if(s||s===0)throw Error(d?oLe(e):rLe(e));return s}let v=Woe(l,c.props??{});if(c.type!==Cn)v.ref=i?M:g;return Tu(c,v)});return r.displayName=`${e}.Slot`,r}nu(Pi,"createSlot");var Hoe=Pi("Slot"),Voe=Symbol.for("radix.slottable");function b7(e){let r=nu((a)=>("child"in a)?a.children(a.child):a.children,"Slottable");return r.displayName=`${e}.Slottable`,r.__radixId=Voe,r}nu(b7,"createSlottable");var eLe=nu((e,r)=>{if("child"in e.props){let a=e.props.child;if(!ts(a))return null;return Tu(a,void 0,e.props.children(a.props.children))}return ts(r)?r:null},"getSlottableElementFromSlottable");function Woe(e,r){let a={...r};for(let i in r){let s=e[i],l=r[i];if(/^on[A-Z]/.test(i)){if(s&&l)a[i]=(...d)=>{let m=l(...d);return s(...d),m};else if(s)a[i]=s}else if(i==="style")a[i]={...s,...l};else if(i==="className")a[i]=[s,l].filter(Boolean).join(" ")}return{...e,...a}}nu(Woe,"mergeProps");function Goe(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}nu(Goe,"getElementRef");function Koe(e){return ts(e)&&typeof e.type==="function"&&"__radixId"in e.type&&e.type.__radixId===Voe}nu(Koe,"isSlottable");var tLe=Symbol.for("react.lazy");function y7(e){return e!=null&&typeof e==="object"&&"$$typeof"in e&&e.$$typeof===tLe&&"_payload"in e&&Xoe(e._payload)}nu(y7,"isLazyComponent");function Xoe(e){return typeof e==="object"&&e!==null&&"then"in e}nu(Xoe,"isPromiseLike");var rLe=nu((e)=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),oLe=nu((e)=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),TN=V[" use ".trim().toString()];var aLe=Object.defineProperty,nLe=(e,r)=>aLe(e,"name",{value:r,configurable:!0}),iLe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],se=iLe.reduce((e,r)=>{let a=Pi(`Primitive.${r}`),i=O((s,l)=>{let{asChild:c,...d}=s,m=c?a:r;if(typeof window<"u")window[Symbol.for("radix-ui")]=!0;return t(m,{...d,ref:l})});return i.displayName=`Primitive.${r}`,{...e,[r]:i}},{});function n2(e,r){if(e)tn(()=>e.dispatchEvent(r))}nLe(n2,"dispatchDiscreteCustomEvent");S();var fLe=Object.defineProperty,sLe=(e,r)=>fLe(e,"name",{value:r,configurable:!0});function Xo(e){let r=b(e);return h(()=>{r.current=e}),P(()=>(...a)=>r.current?.(...a),[])}sLe(Xo,"useCallbackRef");var lLe=Object.defineProperty,Ti=(e,r)=>lLe(e,"name",{value:r,configurable:!0}),w7="dismissableLayer.update",cLe="dismissableLayer.pointerDownOutside",uLe="dismissableLayer.focusOutside",Qoe,Joe=it({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),nZ=O(Ti(function(r,a){let{disableOutsidePointerEvents:i=!1,deferPointerDownOutside:s=!1,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:m,onDismiss:g,...M}=r,v=dt(Joe),[y,x]=u(null),_=y?.ownerDocument??globalThis?.document,[,j]=u({}),U=_e(a,x),T=Array.from(v.layers),[N]=[...v.layersWithOutsidePointerEventsDisabled].slice(-1),G=N?T.indexOf(N):-1,X=y?T.indexOf(y):-1,J=v.layersWithOutsidePointerEventsDisabled.size>0,ee=X>=G,re=b(!1),oe=$oe((Ye)=>{if(c?.(Ye),m?.(Ye),!Ye.defaultPrevented)g?.()},{ownerDocument:_,deferPointerDownOutside:s,isDeferredPointerDownOutsideRef:re,dismissableSurfaces:v.dismissableSurfaces,shouldHandlePointerDownOutside:D((Ye)=>{if(!(Ye instanceof Node))return!1;let Se=[...v.branches].some((He)=>He.contains(Ye));return ee&&!Se},[v.branches,ee])}),ie=eae((Ye)=>{if(s&&re.current)return;let Se=Ye.target;if([...v.branches].some((ut)=>ut.contains(Se)))return;if(d?.(Ye),m?.(Ye),!Ye.defaultPrevented)g?.()},_),ye=y?X===T.length-1:!1,We=Xo((Ye)=>{if(Ye.key!=="Escape")return;if(l?.(Ye),!Ye.defaultPrevented&&g)Ye.preventDefault(),g()});return h(()=>{if(!ye)return;return _.addEventListener("keydown",We,{capture:!0}),()=>_.removeEventListener("keydown",We,{capture:!0})},[_,ye,We]),h(()=>{if(!y)return;if(i){if(v.layersWithOutsidePointerEventsDisabled.size===0)Qoe=_.body.style.pointerEvents,_.body.style.pointerEvents="none";v.layersWithOutsidePointerEventsDisabled.add(y)}return v.layers.add(y),z7(),()=>{if(i){if(v.layersWithOutsidePointerEventsDisabled.delete(y),v.layersWithOutsidePointerEventsDisabled.size===0)_.body.style.pointerEvents=Qoe}}},[y,_,i,v]),h(()=>()=>{if(!y)return;v.layers.delete(y),v.layersWithOutsidePointerEventsDisabled.delete(y),z7()},[y,v]),h(()=>{let Ye=Ti(()=>j({}),"handleUpdate");return document.addEventListener(w7,Ye),()=>document.removeEventListener(w7,Ye)},[]),t(se.div,{...M,ref:U,style:{pointerEvents:J?ee?"auto":"none":void 0,...r.style},onFocusCapture:Y(r.onFocusCapture,ie.onFocusCapture),onBlurCapture:Y(r.onBlurCapture,ie.onBlurCapture),onPointerDownCapture:Y(r.onPointerDownCapture,oe.onPointerDownCapture)})},"DismissableLayer"));function S7(){let e=dt(Joe),[r,a]=u(null);return h(()=>{if(!r)return;return e.dismissableSurfaces.add(r),()=>{e.dismissableSurfaces.delete(r)}},[r,e.dismissableSurfaces]),a}Ti(S7,"useDismissableLayerSurface");var dLe=Ti(()=>!0,"IS_TRUE");function $oe(e,r){let{ownerDocument:a=globalThis?.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:s,dismissableSurfaces:l,shouldHandlePointerDownOutside:c=dLe}=r,d=Xo(e),m=b(!1),g=b(!1),M=b(new Map),v=b(()=>{});return h(()=>{function y(){g.current=!1,s.current=!1,M.current.clear()}Ti(y,"resetOutsideInteraction");function x(){return Array.from(M.current.values()).some(Boolean)}Ti(x,"isOutsideInteractionIntercepted");function _(G){if(!g.current)return;let X=G.target;if(!(X instanceof Node&&[...l].some((ee)=>ee.contains(X))))M.current.set(G.type,!0);if(G.type==="click")window.setTimeout(()=>{if(g.current)v.current()},0)}Ti(_,"handleInteractionCapture");function j(G){if(g.current)M.current.set(G.type,!1)}Ti(j,"handleInteractionBubble");let U=Ti((G)=>{if(G.target&&!m.current){let J=function(){a.removeEventListener("click",v.current);let re=x();if(y(),!re)L7(cLe,d,ee,{discrete:!0})};var X=J;if(Ti(J,"handleAndDispatchPointerDownOutsideEvent"),!c(G.target)){a.removeEventListener("click",v.current),y(),m.current=!1;return}let ee={originalEvent:G};if(g.current=!0,s.current=i&&G.button===0,M.current.clear(),!i||G.button!==0)J();else a.removeEventListener("click",v.current),v.current=J,a.addEventListener("click",v.current,{once:!0})}else a.removeEventListener("click",v.current),y();m.current=!1},"handlePointerDown"),T=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let G of T)a.addEventListener(G,_,!0),a.addEventListener(G,j);let N=window.setTimeout(()=>{a.addEventListener("pointerdown",U)},0);return()=>{window.clearTimeout(N),a.removeEventListener("pointerdown",U),a.removeEventListener("click",v.current);for(let G of T)a.removeEventListener(G,_,!0),a.removeEventListener(G,j)}},[a,d,i,s,l,c]),{onPointerDownCapture:Ti(()=>m.current=!0,"onPointerDownCapture")}}Ti($oe,"usePointerDownOutside");function eae(e,r=globalThis?.document){let a=Xo(e),i=b(!1);return h(()=>{let s=Ti((l)=>{if(l.target&&!i.current)L7(uLe,a,{originalEvent:l},{discrete:!1})},"handleFocus");return r.addEventListener("focusin",s),()=>r.removeEventListener("focusin",s)},[r,a]),{onFocusCapture:Ti(()=>i.current=!0,"onFocusCapture"),onBlurCapture:Ti(()=>i.current=!1,"onBlurCapture")}}Ti(eae,"useFocusOutside");function z7(){let e=new CustomEvent(w7);document.dispatchEvent(e)}Ti(z7,"dispatchUpdate");function L7(e,r,a,{discrete:i}){let s=a.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:a});if(r)s.addEventListener(e,r,{once:!0});if(i)n2(s,l);else s.dispatchEvent(l)}Ti(L7,"handleAndDispatchCustomEvent");S();var ZLe=Object.defineProperty,ns=(e,r)=>ZLe(e,"name",{value:r,configurable:!0}),k7="focusScope.autoFocusOnMount",C7="focusScope.autoFocusOnUnmount",tae={bubbles:!1,cancelable:!0},s8=O(ns(function(r,a){let{loop:i=!1,trapped:s=!1,onMountAutoFocus:l,onUnmountAutoFocus:c,...d}=r,[m,g]=u(null),M=Xo(l),v=Xo(c),y=b(null),x=_e(a,g),_=b({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h(()=>{if(s){let G=function(re){if(_.paused||!m)return;let oe=re.target;if(m.contains(oe))y.current=oe;else QZ(y.current,{select:!0})},X=function(re){if(_.paused||!m)return;let oe=re.relatedTarget;if(oe===null)return;if(!m.contains(oe))QZ(y.current,{select:!0})},J=function(re){if(document.activeElement!==document.body)return;for(let ie of re)if(ie.removedNodes.length>0)QZ(m)};var U=G,T=X,N=J;ns(G,"handleFocusIn"),ns(X,"handleFocusOut"),ns(J,"handleMutations"),document.addEventListener("focusin",G),document.addEventListener("focusout",X);let ee=new MutationObserver(J);if(m)ee.observe(m,{childList:!0,subtree:!0});return()=>{document.removeEventListener("focusin",G),document.removeEventListener("focusout",X),ee.disconnect()}}},[s,m,_.paused]),h(()=>{if(m){rae.add(_);let U=document.activeElement;if(!m.contains(U)){let N=new CustomEvent(k7,tae);if(m.addEventListener(k7,M),m.dispatchEvent(N),!N.defaultPrevented){if(oae(sae(P7(m)),{select:!0}),document.activeElement===U)QZ(m)}}return()=>{m.removeEventListener(k7,M),setTimeout(()=>{let N=new CustomEvent(C7,tae);if(m.addEventListener(C7,v),m.dispatchEvent(N),!N.defaultPrevented)QZ(U??document.body,{select:!0});m.removeEventListener(C7,v),rae.remove(_)},0)}}},[m,M,v,_]);let j=D((U)=>{if(!i&&!s)return;if(_.paused)return;let T=U.key==="Tab"&&!U.altKey&&!U.ctrlKey&&!U.metaKey,N=document.activeElement;if(T&&N){let G=U.currentTarget,[X,J]=aae(G);if(!(X&&J)){if(N===G)U.preventDefault()}else if(!U.shiftKey&&N===J){if(U.preventDefault(),i)QZ(X,{select:!0})}else if(U.shiftKey&&N===X){if(U.preventDefault(),i)QZ(J,{select:!0})}}},[i,s,_.paused]);return t(se.div,{tabIndex:-1,...d,ref:x,onKeyDown:j})},"FocusScope"));function oae(e,{select:r=!1}={}){let a=document.activeElement;for(let i of e)if(QZ(i,{select:r}),document.activeElement!==a)return}ns(oae,"focusFirst");function aae(e){let r=P7(e),a=I7(r,e),i=I7(r.reverse(),e);return[a,i]}ns(aae,"getTabbableEdges");function P7(e){let r=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:ns((i)=>{let s=i.tagName==="INPUT"&&i.type==="hidden";if(i.disabled||i.hidden||s)return NodeFilter.FILTER_SKIP;return i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});while(a.nextNode())r.push(a.currentNode);return r}ns(P7,"getTabbableCandidates");function I7(e,r){let a=typeof r.checkVisibility==="function"&&r.checkVisibility({checkVisibilityCSS:!0});for(let i of e)if(!(a?!i.checkVisibility({checkVisibilityCSS:!0}):nae(i,{upTo:r})))return i}ns(I7,"findVisible");function nae(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}ns(nae,"isHidden");function iae(e){return e instanceof HTMLInputElement&&"select"in e}ns(iae,"isSelectableInput");function QZ(e,{select:r=!1}={}){if(e&&e.focus){let a=document.activeElement;if(e.focus({preventScroll:!0}),e!==a&&iae(e)&&r)e.select()}}ns(QZ,"focus");var rae=fae();function fae(){let e=[];return{add(r){let a=e[0];if(r!==a)a?.pause();e=R7(e,r),e.unshift(r)},remove(r){e=R7(e,r),e[0]?.resume()}}}ns(fae,"createFocusScopesStack");function R7(e,r){let a=[...e],i=a.indexOf(r);if(i!==-1)a.splice(i,1);return a}ns(R7,"arrayRemove");function sae(e){return e.filter((r)=>r.tagName!=="A")}ns(sae,"removeLinks");S();var pLe=Object.defineProperty,mLe=(e,r)=>pLe(e,"name",{value:r,configurable:!0}),iZ=O(mLe(function(r,a){let{container:i,...s}=r,[l,c]=u(!1);Mt(()=>c(!0),[]);let d=i||l&&globalThis?.document?.body;return d?Ki(t(se.div,{...s,ref:a}),d):null},"Portal"));S();S();var hLe=Object.defineProperty,JZ=(e,r)=>hLe(e,"name",{value:r,configurable:!0});function lae(e,r){return en((a,i)=>r[a][i]??a,e)}JZ(lae,"useStateMachine");var ar=JZ((e)=>{let{present:r,children:a}=e,i=cae(r),s=typeof a==="function"?a({present:i.isPresent}):Jl.only(a),l=uae(i.ref,dae(s));return typeof a==="function"||i.isPresent?Tu(s,{ref:l}):null},"Presence");function cae(e){let[r,a]=u(),i=b(null),s=b(e),l=b("none"),c=b(void 0),d=e?"mounted":"unmounted",[m,g]=lae(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h(()=>{if(m==="mounted")l.current=c.current??Wk(i.current),c.current=void 0;else l.current="none"},[m]),Mt(()=>{let M=i.current,v=s.current;if(v!==e){let x=l.current,_=Wk(M);if(e)c.current=_,g("MOUNT");else if(_==="none"||M?.display==="none")g("UNMOUNT");else if(v&&x!==_)g("ANIMATION_OUT");else g("UNMOUNT");s.current=e}},[e,g]),Mt(()=>{if(r){let M,v=r.ownerDocument.defaultView??window,y=JZ((_)=>{let U=Wk(i.current).includes(CSS.escape(_.animationName));if(_.target===r&&U){if(g("ANIMATION_END"),!s.current){let T=r.style.animationFillMode;r.style.animationFillMode="forwards",M=v.setTimeout(()=>{if(r.style.animationFillMode==="forwards")r.style.animationFillMode=T})}}},"handleAnimationEnd"),x=JZ((_)=>{if(_.target===r)l.current=Wk(i.current)},"handleAnimationStart");return r.addEventListener("animationstart",x),r.addEventListener("animationcancel",y),r.addEventListener("animationend",y),()=>{v.clearTimeout(M),r.removeEventListener("animationstart",x),r.removeEventListener("animationcancel",y),r.removeEventListener("animationend",y)}}else g("ANIMATION_END")},[r,g]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:D((M)=>{if(M){let v=getComputedStyle(M);i.current=v,c.current=Wk(v)}else i.current=null;a(M)},[])}}JZ(cae,"usePresence");function T7(e,r){if(typeof e==="function")return e(r);else if(e!==null&&e!==void 0)e.current=r}JZ(T7,"setRef");function uae(...e){let r=b(e);return r.current=e,D((a)=>{let i=r.current,s=!1,l=i.map((c)=>{let d=T7(c,a);if(!s&&typeof d==="function")s=!0;return d});if(s)return()=>{for(let c=0;c<l.length;c++){let d=l[c];if(typeof d==="function")d();else T7(i[c],null)}}},[])}JZ(uae,"useStableComposedRefs");function Wk(e){return e?.animationName||"none"}JZ(Wk,"getAnimationName");function dae(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=r&&"isReactWarning"in r&&r.isReactWarning;if(a)return e.ref;if(r=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=r&&"isReactWarning"in r&&r.isReactWarning,a)return e.props.ref;return e.props.ref||e.ref}JZ(dae,"getElementRef");S();var gLe=Object.defineProperty,E7=(e,r)=>gLe(e,"name",{value:r,configurable:!0}),AN=0,Gk=null;function MLe(e){return fZ(),e.children}E7(MLe,"FocusGuards");function fZ(){h(()=>{if(!Gk)Gk={start:A7(),end:A7()};let{start:e,end:r}=Gk;if(document.body.firstElementChild!==e)document.body.insertAdjacentElement("afterbegin",e);if(document.body.lastElementChild!==r)document.body.insertAdjacentElement("beforeend",r);return AN++,()=>{if(AN===1)Gk?.start.remove(),Gk?.end.remove(),Gk=null;AN=Math.max(0,AN-1)}},[])}E7(fZ,"useFocusGuards");function A7(){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}E7(A7,"createFocusGuard");var Gs=function(){return Gs=Object.assign||function(r){for(var a,i=1,s=arguments.length;i<s;i++){a=arguments[i];for(var l in a)if(Object.prototype.hasOwnProperty.call(a,l))r[l]=a[l]}return r},Gs.apply(this,arguments)};function EN(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 s=0,i=Object.getOwnPropertySymbols(e);s<i.length;s++)if(r.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(e,i[s]))a[i[s]]=e[i[s]]}return a}function Zae(e,r,a){if(a||arguments.length===2){for(var i=0,s=r.length,l;i<s;i++)if(l||!(i in r)){if(!l)l=Array.prototype.slice.call(r,0,i);l[i]=r[i]}}return e.concat(l||Array.prototype.slice.call(r))}S();S();var Rz="right-scroll-bar-position",Pz="width-before-scroll-bar",D7="with-scroll-bars-hidden",O7="--removed-body-scroll-bar-size";S();function DN(e,r){if(typeof e==="function")e(r);else if(e)e.current=r;return e}S();function pae(e,r){var a=u(function(){return{value:e,callback:r,facade:{get current(){return a.value},set current(i){var s=a.value;if(s!==i)a.value=i,a.callback(i,s)}}}})[0];return a.callback=r,a.facade}var vLe=typeof window<"u"?$e:h,mae=new WeakMap;function j7(e,r){var a=pae(r||null,function(i){return e.forEach(function(s){return DN(s,i)})});return vLe(function(){var i=mae.get(a);if(i){var s=new Set(i),l=new Set(e),c=a.current;s.forEach(function(d){if(!l.has(d))DN(d,null)}),l.forEach(function(d){if(!s.has(d))DN(d,c)})}mae.set(a,e)},[e]),a}function xLe(e){return e}function yLe(e,r){if(r===void 0)r=xLe;var a=[],i=!1,s={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(l){var c=r(l,i);return a.push(c),function(){a=a.filter(function(d){return d!==c})}},assignSyncMedium:function(l){i=!0;while(a.length){var c=a;a=[],c.forEach(l)}a={push:function(d){return l(d)},filter:function(){return a}}},assignMedium:function(l){i=!0;var c=[];if(a.length){var d=a;a=[],d.forEach(l),c=a}var m=function(){var M=c;c=[],M.forEach(l)},g=function(){return Promise.resolve().then(m)};g(),a={push:function(M){c.push(M),g()},filter:function(M){return c=c.filter(M),a}}}};return s}function N7(e){if(e===void 0)e={};var r=yLe(null);return r.options=Gs({async:!0,ssr:!1},e),r}S();var hae=function(e){var r=e.sideCar,a=EN(e,["sideCar"]);if(!r)throw Error("Sidecar: please provide `sideCar` property to import the right car");var i=r.read();if(!i)throw Error("Sidecar medium not found");return q(i,Gs({},a))};hae.isSideCarExport=!0;function F7(e,r){return e.useMedium(r),hae}var ON=N7();var B7=function(){return},i2=O(function(e,r){var a=b(null),i=u({onScrollCapture:B7,onWheelCapture:B7,onTouchMoveCapture:B7}),s=i[0],l=i[1],{forwardProps:c,children:d,className:m,removeScrollBar:g,enabled:M,shards:v,sideCar:y,noRelative:x,noIsolation:_,inert:j,allowPinchZoom:U,as:T}=e,N=T===void 0?"div":T,G=e.gapMode,X=EN(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),J=y,ee=j7([a,r]),re=Gs(Gs({},X),s);return q(Cn,null,M&&q(J,{sideCar:ON,removeScrollBar:g,shards:v,noRelative:x,noIsolation:_,inert:j,setCallbacks:l,allowPinchZoom:!!U,lockRef:a,gapMode:G}),c?Tu(Jl.only(d),Gs(Gs({},re),{ref:ee})):q(N,Gs({},re,{className:m,ref:ee}),d))});i2.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};i2.classNames={fullWidth:Pz,zeroRight:Rz};S();S();S();var gae;var Mae=function(){if(gae)return gae;if(typeof __webpack_nonce__<"u")return __webpack_nonce__;return};function bLe(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var r=Mae();if(r)e.setAttribute("nonce",r);return e}function _Le(e,r){if(e.styleSheet)e.styleSheet.cssText=r;else e.appendChild(document.createTextNode(r))}function wLe(e){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(e)}var Y7=function(){var e=0,r=null;return{add:function(a){if(e==0){if(r=bLe())_Le(r,a),wLe(r)}e++},remove:function(){if(e--,!e&&r)r.parentNode&&r.parentNode.removeChild(r),r=null}}};var U7=function(){var e=Y7();return function(r,a){h(function(){return e.add(r),function(){e.remove()}},[r&&a])}};var f2=function(){var e=U7(),r=function(a){var{styles:i,dynamic:s}=a;return e(i,s),null};return r};var zLe={left:0,top:0,right:0,gap:0},q7=function(e){return parseInt(e||"",10)||0},SLe=function(e){var r=window.getComputedStyle(document.body),a=r[e==="padding"?"paddingLeft":"marginLeft"],i=r[e==="padding"?"paddingTop":"marginTop"],s=r[e==="padding"?"paddingRight":"marginRight"];return[q7(a),q7(i),q7(s)]},H7=function(e){if(e===void 0)e="margin";if(typeof window>"u")return zLe;var r=SLe(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 LLe=f2(),Kk="data-scroll-locked",kLe=function(e,r,a,i){var{left:s,top:l,right:c,gap:d}=e;if(a===void 0)a="margin";return`
16
+ .`.concat(D7,` {
17
+ overflow: hidden `).concat(i,`;
18
+ padding-right: `).concat(d,"px ").concat(i,`;
19
+ }
20
+ body[`).concat(Kk,`] {
21
+ overflow: hidden `).concat(i,`;
22
+ overscroll-behavior: contain;
23
+ `).concat([r&&"position: relative ".concat(i,";"),a==="margin"&&`
24
+ padding-left: `.concat(s,`px;
25
+ padding-top: `).concat(l,`px;
26
+ padding-right: `).concat(c,`px;
27
+ margin-left:0;
28
+ margin-top:0;
29
+ margin-right: `).concat(d,"px ").concat(i,`;
30
+ `),a==="padding"&&"padding-right: ".concat(d,"px ").concat(i,";")].filter(Boolean).join(""),`
31
+ }
32
+
33
+ .`).concat(Rz,` {
34
+ right: `).concat(d,"px ").concat(i,`;
35
+ }
36
+
37
+ .`).concat(Pz,` {
38
+ margin-right: `).concat(d,"px ").concat(i,`;
39
+ }
40
+
41
+ .`).concat(Rz," .").concat(Rz,` {
42
+ right: 0 `).concat(i,`;
43
+ }
44
+
45
+ .`).concat(Pz," .").concat(Pz,` {
46
+ margin-right: 0 `).concat(i,`;
47
+ }
48
+
49
+ body[`).concat(Kk,`] {
50
+ `).concat(O7,": ").concat(d,`px;
51
+ }
52
+ `)},vae=function(){var e=parseInt(document.body.getAttribute(Kk)||"0",10);return isFinite(e)?e:0},CLe=function(){h(function(){return document.body.setAttribute(Kk,(vae()+1).toString()),function(){var e=vae()-1;if(e<=0)document.body.removeAttribute(Kk);else document.body.setAttribute(Kk,e.toString())}},[])},V7=function(e){var{noRelative:r,noImportant:a,gapMode:i}=e,s=i===void 0?"margin":i;CLe();var l=P(function(){return H7(s)},[s]);return q(LLe,{styles:kLe(l,!r,s,!a?"!important":"")})};var W7=!1;if(typeof window<"u")try{Xk=Object.defineProperty({},"passive",{get:function(){return W7=!0,!0}}),window.addEventListener("test",Xk,Xk),window.removeEventListener("test",Xk,Xk)}catch(e){W7=!1}var Xk,Tz=W7?{passive:!1}:!1;var ILe=function(e){return e.tagName==="TEXTAREA"},xae=function(e,r){if(!(e instanceof Element))return!1;var a=window.getComputedStyle(e);return a[r]!=="hidden"&&!(a.overflowY===a.overflowX&&!ILe(e)&&a[r]==="visible")},RLe=function(e){return xae(e,"overflowY")},PLe=function(e){return xae(e,"overflowX")},G7=function(e,r){var a=r.ownerDocument,i=r;do{if(typeof ShadowRoot<"u"&&i instanceof ShadowRoot)i=i.host;var s=yae(e,i);if(s){var l=bae(e,i),c=l[1],d=l[2];if(c>d)return!0}i=i.parentNode}while(i&&i!==a.body);return!1},TLe=function(e){var{scrollTop:r,scrollHeight:a,clientHeight:i}=e;return[r,a,i]},ALe=function(e){var{scrollLeft:r,scrollWidth:a,clientWidth:i}=e;return[r,a,i]},yae=function(e,r){return e==="v"?RLe(r):PLe(r)},bae=function(e,r){return e==="v"?TLe(r):ALe(r)},ELe=function(e,r){return e==="h"&&r==="rtl"?-1:1},_ae=function(e,r,a,i,s){var l=ELe(e,window.getComputedStyle(r).direction),c=l*i,d=a.target,m=r.contains(d),g=!1,M=c>0,v=0,y=0;do{if(!d)break;var x=bae(e,d),_=x[0],j=x[1],U=x[2],T=j-U-l*_;if(_||T){if(yae(e,d))v+=T,y+=_}var N=d.parentNode;d=N&&N.nodeType===Node.DOCUMENT_FRAGMENT_NODE?N.host:N}while(!m&&d!==document.body||m&&(r.contains(d)||r===d));if(M&&(s&&Math.abs(v)<1||!s&&c>v))g=!0;else if(!M&&(s&&Math.abs(y)<1||!s&&-c>y))g=!0;return g};var jN=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},wae=function(e){return[e.deltaX,e.deltaY]},zae=function(e){return e&&"current"in e?e.current:e},DLe=function(e,r){return e[0]===r[0]&&e[1]===r[1]},OLe=function(e){return`
53
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
54
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
55
+ `)},jLe=0,Qk=[];function Sae(e){var r=b([]),a=b([0,0]),i=b(),s=u(jLe++)[0],l=u(f2)[0],c=b(e);h(function(){c.current=e},[e]),h(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var j=Zae([e.lockRef.current],(e.shards||[]).map(zae),!0).filter(Boolean);return j.forEach(function(U){return U.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),j.forEach(function(U){return U.classList.remove("allow-interactivity-".concat(s))})}}return},[e.inert,e.lockRef.current,e.shards]);var d=D(function(j,U){if("touches"in j&&j.touches.length===2||j.type==="wheel"&&j.ctrlKey)return!c.current.allowPinchZoom;var T=jN(j),N=a.current,G="deltaX"in j?j.deltaX:N[0]-T[0],X="deltaY"in j?j.deltaY:N[1]-T[1],J,ee=j.target,re=Math.abs(G)>Math.abs(X)?"h":"v";if("touches"in j&&re==="h"&&ee.type==="range")return!1;var oe=window.getSelection(),ie=oe&&oe.anchorNode,ye=ie?ie===ee||ie.contains(ee):!1;if(ye)return!1;var We=G7(re,ee);if(!We)return!0;if(We)J=re;else J=re==="v"?"h":"v",We=G7(re,ee);if(!We)return!1;if(!i.current&&"changedTouches"in j&&(G||X))i.current=J;if(!J)return!0;var Ye=i.current||J;return _ae(Ye,U,j,Ye==="h"?G:X,!0)},[]),m=D(function(j){var U=j;if(!Qk.length||Qk[Qk.length-1]!==l)return;var T="deltaY"in U?wae(U):jN(U),N=r.current.filter(function(J){return J.name===U.type&&(J.target===U.target||U.target===J.shadowParent)&&DLe(J.delta,T)})[0];if(N&&N.should){if(U.cancelable)U.preventDefault();return}if(!N){var G=(c.current.shards||[]).map(zae).filter(Boolean).filter(function(J){return J.contains(U.target)}),X=G.length>0?d(U,G[0]):!c.current.noIsolation;if(X){if(U.cancelable)U.preventDefault()}}},[]),g=D(function(j,U,T,N){var G={name:j,delta:U,target:T,should:N,shadowParent:NLe(T)};r.current.push(G),setTimeout(function(){r.current=r.current.filter(function(X){return X!==G})},1)},[]),M=D(function(j){a.current=jN(j),i.current=void 0},[]),v=D(function(j){g(j.type,wae(j),j.target,d(j,e.lockRef.current))},[]),y=D(function(j){g(j.type,jN(j),j.target,d(j,e.lockRef.current))},[]);h(function(){return Qk.push(l),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:y}),document.addEventListener("wheel",m,Tz),document.addEventListener("touchmove",m,Tz),document.addEventListener("touchstart",M,Tz),function(){Qk=Qk.filter(function(j){return j!==l}),document.removeEventListener("wheel",m,Tz),document.removeEventListener("touchmove",m,Tz),document.removeEventListener("touchstart",M,Tz)}},[]);var{removeScrollBar:x,inert:_}=e;return q(Cn,null,_?q(l,{styles:OLe(s)}):null,x?q(V7,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function NLe(e){var r=null;while(e!==null){if(e instanceof ShadowRoot)r=e.host,e=e.host;e=e.parentNode}return r}var Lae=F7(ON,Sae);var kae=O(function(e,r){return q(i2,Gs({},e,{ref:r,sideCar:Lae}))});kae.classNames=i2.classNames;var $Z=kae;var FLe=function(e){if(typeof document>"u")return null;var r=Array.isArray(e)?e[0]:e;return r.ownerDocument.body},Jk=new WeakMap,NN=new WeakMap,FN={},K7=0,Cae=function(e){return e&&(e.host||Cae(e.parentNode))},BLe=function(e,r){return r.map(function(a){if(e.contains(a))return a;var i=Cae(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)})},YLe=function(e,r,a,i){var s=BLe(r,Array.isArray(e)?e:[e]);if(!FN[a])FN[a]=new WeakMap;var l=FN[a],c=[],d=new Set,m=new Set(s),g=function(v){if(!v||d.has(v))return;d.add(v),g(v.parentNode)};s.forEach(g);var M=function(v){if(!v||m.has(v))return;Array.prototype.forEach.call(v.children,function(y){if(d.has(y))M(y);else try{var x=y.getAttribute(i),_=x!==null&&x!=="false",j=(Jk.get(y)||0)+1,U=(l.get(y)||0)+1;if(Jk.set(y,j),l.set(y,U),c.push(y),j===1&&_)NN.set(y,!0);if(U===1)y.setAttribute(a,"true");if(!_)y.setAttribute(i,"true")}catch(T){console.error("aria-hidden: cannot operate on ",y,T)}})};return M(r),d.clear(),K7++,function(){if(c.forEach(function(v){var y=Jk.get(v)-1,x=l.get(v)-1;if(Jk.set(v,y),l.set(v,x),!y){if(!NN.has(v))v.removeAttribute(i);NN.delete(v)}if(!x)v.removeAttribute(a)}),K7--,!K7)Jk=new WeakMap,Jk=new WeakMap,NN=new WeakMap,FN={}}},l8=function(e,r,a){if(a===void 0)a="data-aria-hidden";var i=Array.from(Array.isArray(e)?e:[e]),s=r||FLe(e);if(!s)return function(){return null};return i.push.apply(i,Array.from(s.querySelectorAll("[aria-live], script"))),YLe(i,s,a,"aria-hidden")};var ULe=Object.defineProperty,Yl=(e,r)=>ULe(e,"name",{value:r,configurable:!0}),Q7="Dialog",[Iae,J7]=pt(Q7),[qLe,iu]=Iae(Q7),$7=Yl((e)=>{let{__scopeDialog:r,children:a,open:i,defaultOpen:s,onOpenChange:l,modal:c=!0}=e,d=b(null),m=b(null),[g,M]=Ft({prop:i,defaultProp:s??!1,onChange:l,caller:Q7}),[v,y]=u(0),[x,_]=u(0);return t(qLe,{scope:r,triggerRef:d,contentRef:m,contentId:xr(),titleId:xr(),descriptionId:xr(),titlePresent:v>0,descriptionPresent:x>0,setTitleCount:y,setDescriptionCount:_,open:g,onOpenChange:M,onOpenToggle:D(()=>M((j)=>!j),[M]),modal:c,children:a})},"Dialog"),HLe="DialogTrigger",eU=O(Yl(function(r,a){let{__scopeDialog:i,...s}=r,l=iu(HLe,i),c=_e(a,l.triggerRef);return t(se.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":BN(l.open),...s,ref:c,onClick:Y(r.onClick,l.onOpenToggle)})},"DialogTrigger")),Rae="DialogPortal",[VLe,Pae]=Iae(Rae,{forceMount:void 0}),tU=Yl((e)=>{let{__scopeDialog:r,forceMount:a,children:i,container:s}=e,l=iu(Rae,r);return t(VLe,{scope:r,forceMount:a,children:Jl.map(i,(c)=>t(ar,{present:a||l.open,children:t(iZ,{asChild:!0,container:s,children:c})}))})},"DialogPortal"),X7="DialogOverlay",rU=O(Yl(function(r,a){let i=Pae(X7,r.__scopeDialog),{forceMount:s=i.forceMount,...l}=r,c=iu(X7,r.__scopeDialog);return c.modal?t(ar,{present:s||c.open,children:t(GLe,{...l,ref:a})}):null},"DialogOverlay")),WLe=Pi("DialogOverlay.RemoveScroll"),GLe=O(Yl(function(r,a){let{__scopeDialog:i,...s}=r,l=iu(X7,i),c=S7(),d=_e(a,c);return t($Z,{as:WLe,allowPinchZoom:!0,shards:[l.contentRef],children:t(se.div,{"data-state":BN(l.open),...s,ref:d,style:{pointerEvents:"auto",...s.style}})})},"DialogOverlayImpl")),s2="DialogContent",oU=O(Yl(function(r,a){let i=Pae(s2,r.__scopeDialog),{forceMount:s=i.forceMount,...l}=r,c=iu(s2,r.__scopeDialog);return t(ar,{present:s||c.open,children:c.modal?t(KLe,{...l,ref:a}):t(XLe,{...l,ref:a})})},"DialogContent")),KLe=O(Yl(function(r,a){let i=iu(s2,r.__scopeDialog),s=b(null),l=_e(a,i.contentRef,s);return h(()=>{let c=s.current;if(c)return l8(c)},[]),t(Tae,{...r,ref:l,trapFocus:i.open,disableOutsidePointerEvents:i.open,onCloseAutoFocus:Y(r.onCloseAutoFocus,(c)=>{c.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:Y(r.onPointerDownOutside,(c)=>{let d=c.detail.originalEvent,m=d.button===0&&d.ctrlKey===!0;if(d.button===2||m)c.preventDefault()}),onFocusOutside:Y(r.onFocusOutside,(c)=>c.preventDefault())})},"DialogContentModal")),XLe=O(Yl(function(r,a){let i=iu(s2,r.__scopeDialog),s=b(!1),l=b(!1);return t(Tae,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:(c)=>{if(r.onCloseAutoFocus?.(c),!c.defaultPrevented){if(!s.current)i.triggerRef.current?.focus();c.preventDefault()}s.current=!1,l.current=!1},onInteractOutside:(c)=>{if(r.onInteractOutside?.(c),!c.defaultPrevented){if(s.current=!0,c.detail.originalEvent.type==="pointerdown")l.current=!0}let d=c.target;if(i.triggerRef.current?.contains(d))c.preventDefault();if(c.detail.originalEvent.type==="focusin"&&l.current)c.preventDefault()}})},"DialogContentNonModal")),Tae=O(Yl(function(r,a){let{__scopeDialog:i,trapFocus:s,onOpenAutoFocus:l,onCloseAutoFocus:c,...d}=r,m=iu(s2,i);return fZ(),t(L,{children:t(s8,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:l,onUnmountAutoFocus:c,children:t(nZ,{role:"dialog",id:m.contentId,"aria-describedby":m.descriptionPresent?m.descriptionId:void 0,"aria-labelledby":m.titlePresent?m.titleId:void 0,"data-state":BN(m.open),...d,ref:a,deferPointerDownOutside:!0,onDismiss:()=>m.onOpenChange(!1)})})})},"DialogContentImpl")),QLe="DialogTitle",aU=O(Yl(function(r,a){let{__scopeDialog:i,...s}=r,l=iu(QLe,i),{setTitleCount:c}=l;return Mt(()=>(c((d)=>d+1),()=>c((d)=>d-1)),[c]),t(se.h2,{id:l.titleId,...s,ref:a})},"DialogTitle")),JLe="DialogDescription",nU=O(Yl(function(r,a){let{__scopeDialog:i,...s}=r,l=iu(JLe,i),{setDescriptionCount:c}=l;return Mt(()=>(c((d)=>d+1),()=>c((d)=>d-1)),[c]),t(se.p,{id:l.descriptionId,...s,ref:a})},"DialogDescription")),$Le="DialogClose",l2=O(Yl(function(r,a){let{__scopeDialog:i,...s}=r,l=iu($Le,i);return t(se.button,{type:"button",...s,ref:a,onClick:Y(r.onClick,()=>l.onOpenChange(!1))})},"DialogClose"));function BN(e){return e?"open":"closed"}Yl(BN,"getState");var eke=Object.defineProperty,am=(e,r)=>eke(e,"name",{value:r,configurable:!0}),tke="AlertDialog",[rke,HWo]=pt(tke,[J7]),im=J7(),oke=am((e)=>{let{__scopeAlertDialog:r,...a}=e,i=im(r);return t($7,{...i,...a,modal:!0})},"AlertDialog"),VWo=O(am(function(r,a){let{__scopeAlertDialog:i,...s}=r,l=im(i);return t(eU,{...l,...s,ref:a})},"AlertDialogTrigger")),ake=am((e)=>{let{__scopeAlertDialog:r,...a}=e,i=im(r);return t(tU,{...i,...a})},"AlertDialogPortal"),nke=O(am(function(r,a){let{__scopeAlertDialog:i,...s}=r,l=im(i);return t(rU,{...l,...s,ref:a})},"AlertDialogOverlay")),ike="AlertDialogContent",[fke,ske]=rke(ike),lke=O(am(function(r,a){let{__scopeAlertDialog:i,children:s,...l}=r,c=im(i),d=b(null),m=_e(a,d),g=b(null);return t(fke,{scope:i,cancelRef:g,children:t(oU,{role:"alertdialog",...c,...l,ref:m,onOpenAutoFocus:Y(l.onOpenAutoFocus,(M)=>{M.preventDefault(),g.current?.focus({preventScroll:!0})}),onPointerDownOutside:(M)=>M.preventDefault(),onInteractOutside:(M)=>M.preventDefault(),children:s})})},"AlertDialogContent")),cke=O(am(function(r,a){let{__scopeAlertDialog:i,...s}=r,l=im(i);return t(aU,{...l,...s,ref:a})},"AlertDialogTitle")),uke=O(am(function(r,a){let{__scopeAlertDialog:i,...s}=r,l=im(i);return t(nU,{...l,...s,ref:a})},"AlertDialogDescription")),dke=O(am(function(r,a){let{__scopeAlertDialog:i,...s}=r,l=im(i);return t(l2,{...l,...s,ref:a})},"AlertDialogAction")),Zke="AlertDialogCancel",pke=O(am(function(r,a){let{__scopeAlertDialog:i,...s}=r,{cancelRef:l}=ske(Zke,i),c=im(i),d=_e(a,l);return t(l2,{...c,...s,ref:d})},"AlertDialogCancel")),mke=oke;var hke=ake,gke=nke,Mke=lke,vke=dke,xke=pke,yke=cke,bke=uke;S();var _ke=Object.defineProperty,fm=(e,r)=>_ke(e,"name",{value:r,configurable:!0}),Eae="Avatar",[wke,$Wo]=pt(Eae),zke=[0,()=>{return}],[Ske,Dae]=wke(Eae),Lke=O(fm(function(r,a){let{__scopeAvatar:i,...s}=r,[l,c]=u("idle"),[d,m]=jae();return t(Ske,{scope:i,imageLoadingStatus:l,setImageLoadingStatus:c,imageCount:d,setImageCount:m,children:t(se.span,{...s,ref:a})})},"Avatar")),kke="AvatarImage",Cke=O(fm(function(r,a){let{__scopeAvatar:i,src:s,onLoadingStatusChange:l,...c}=r,d=Dae(kke,i);Nae(d.setImageCount);let m=Oae(s,{referrerPolicy:c.referrerPolicy,crossOrigin:c.crossOrigin,loadingStatus:d.imageLoadingStatus,setLoadingStatus:d.setImageLoadingStatus}),g=Xo((v)=>{l?.(v)}),M=b(m);return Mt(()=>{let v=M.current;if(M.current=m,m!==v)g(m)},[m,g]),m==="loaded"?t(se.img,{...c,ref:a,src:s}):null},"AvatarImage")),Ike="AvatarFallback",Rke=O(fm(function(r,a){let{__scopeAvatar:i,delayMs:s,...l}=r,c=Dae(Ike,i),[d,m]=u(s===void 0);return h(()=>{if(s!==void 0){let g=window.setTimeout(()=>m(!0),s);return()=>window.clearTimeout(g)}},[s]),d&&c.imageLoadingStatus!=="loaded"?t(se.span,{...l,ref:a}):null},"AvatarFallback"));function Oae(e,{loadingStatus:r,setLoadingStatus:a,referrerPolicy:i,crossOrigin:s}){return Mt(()=>{if(!e){a("error");return}let l=new window.Image,c=fm((m)=>{let g=m.currentTarget;a(fU(g))},"handleLoad"),d=fm(()=>a("error"),"handleError");if(l.addEventListener("load",c),l.addEventListener("error",d),i)l.referrerPolicy=i;return l.crossOrigin=s??null,l.src=e,a(fU(l)),()=>{l.removeEventListener("load",c),l.removeEventListener("error",d),a("idle")}},[e,s,i,a]),r}fm(Oae,"useImageLoadingStatus");function fU(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}fm(fU,"getImageLoadingStatus");function jae(){let e=zke;if(ui){e=u(0);let[r]=e,a=b(!1);h(()=>{if(r>1&&!a.current)a.current=!0,console.warn("Avatar: Only one `Avatar.Image` component should be rendered per `Avatar.Root`, but multiple were detected. This will lead to unexpected behavior.")},[r])}return e}fm(jae,"useImageCount");function Nae(e){if(ui)h(()=>(e((r)=>r+1),()=>{e((r)=>r-1)}),[e])}fm(Nae,"useUpdateImageCount");S();S();var Pke=Object.defineProperty,Tke=(e,r)=>Pke(e,"name",{value:r,configurable:!0});function di(e){let[r,a]=u(void 0);return Mt(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});let i=new ResizeObserver((s)=>{if(!Array.isArray(s))return;if(!s.length)return;let l=s[0],c,d;if("borderBoxSize"in l){let m=l.borderBoxSize,g=Array.isArray(m)?m[0]:m;c=g.inlineSize,d=g.blockSize}else c=e.offsetWidth,d=e.offsetHeight;a({width:c,height:d})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else a(void 0)},[e]),r}Tke(di,"useSize");var Ake=Object.defineProperty,cm=(e,r)=>Ake(e,"name",{value:r,configurable:!0}),sU="Checkbox",[Eke,cGo]=pt(sU),[Dke,lU]=Eke(sU);function Bae(e){let{__scopeCheckbox:r,checked:a,children:i,defaultChecked:s,disabled:l,form:c,name:d,onCheckedChange:m,required:g,value:M="on",internal_do_not_use_render:v}=e,[y,x]=Ft({prop:a,defaultProp:s??!1,onChange:m,caller:sU}),[_,j]=u(null),[U,T]=u(null),N=b(!1),[G,X]=en((re)=>re+1,0),J=_?!!c||!!_.closest("form"):!0,ee={checked:y,disabled:l,setChecked:x,control:_,setControl:j,name:d,form:c,value:M,hasConsumerStoppedPropagationRef:N,userInteractionCount:G,onUserInteraction:X,required:g,defaultChecked:lm(s)?!1:s,isFormControl:J,bubbleInput:U,setBubbleInput:T};return t(Dke,{scope:r,...ee,children:Yae(v)?v(ee):i})}cm(Bae,"CheckboxProvider");var Oke="CheckboxTrigger",jke=O(cm(function({__scopeCheckbox:r,onKeyDown:a,onClick:i,...s},l){let{control:c,value:d,disabled:m,checked:g,required:M,setControl:v,setChecked:y,hasConsumerStoppedPropagationRef:x,onUserInteraction:_,isFormControl:j,bubbleInput:U}=lU(Oke,r),T=_e(l,v),N=b(g);return h(()=>{let G=c?.form;if(G){let X=cm(()=>y(N.current),"reset");return G.addEventListener("reset",X),()=>G.removeEventListener("reset",X)}},[c,y]),t(se.button,{type:"button",role:"checkbox","aria-checked":lm(g)?"mixed":g,"aria-required":M,"data-state":cU(g),"data-disabled":m?"":void 0,disabled:m,value:d,...s,ref:T,onKeyDown:Y(a,(G)=>{if(G.key==="Enter")G.preventDefault()}),onClick:Y(i,(G)=>{if(_(),y((X)=>lm(X)?!0:!X),U&&j){if(x.current=G.isPropagationStopped(),!x.current)G.stopPropagation()}})})},"CheckboxTrigger")),Nke=O(cm(function(r,a){let{__scopeCheckbox:i,name:s,checked:l,defaultChecked:c,required:d,disabled:m,value:g,onCheckedChange:M,form:v,...y}=r;return t(Bae,{__scopeCheckbox:i,checked:l,defaultChecked:c,disabled:m,required:d,onCheckedChange:M,name:s,form:v,value:g,internal_do_not_use_render:({isFormControl:x})=>o(L,{children:[t(jke,{...y,ref:a,__scopeCheckbox:i}),x&&t(Uke,{__scopeCheckbox:i})]})})},"Checkbox")),Fke="CheckboxIndicator",Bke=O(cm(function(r,a){let{__scopeCheckbox:i,forceMount:s,...l}=r,c=lU(Fke,i);return t(ar,{present:s||lm(c.checked)||c.checked===!0,children:t(se.span,{"data-state":cU(c.checked),"data-disabled":c.disabled?"":void 0,...l,ref:a,style:{pointerEvents:"none",...r.style}})})},"CheckboxIndicator")),Yke="CheckboxBubbleInput",Uke=O(cm(function({__scopeCheckbox:r,onClick:a,...i},s){let{control:l,hasConsumerStoppedPropagationRef:c,userInteractionCount:d,checked:m,defaultChecked:g,required:M,disabled:v,name:y,value:x,form:_,bubbleInput:j,setBubbleInput:U}=lU(Yke,r),T=_e(s,U),N=di(l),G=b(!1),X=b(m),J=b(d);h(()=>{let re=j;if(!re)return;let oe=window.HTMLInputElement.prototype,ye=Object.getOwnPropertyDescriptor(oe,"checked").set,We=d!==J.current;J.current=d;let Ye=X.current!==m;X.current=m;let Se=!(We&&c.current);if(Ye&&ye){G.current=!We;let He=new Event("click",{bubbles:Se});re.indeterminate=lm(m),ye.call(re,lm(m)?!1:m),re.dispatchEvent(He),G.current=!1}},[j,m,c,d]);let ee=b(lm(m)?!1:m);return t(se.input,{type:"checkbox","aria-hidden":!0,defaultChecked:g??ee.current,required:M,disabled:v,name:y,value:x,form:_,...i,tabIndex:-1,ref:T,onClick:Y(a,(re)=>{if(G.current)re.stopPropagation()}),style:{...i.style,...N,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"CheckboxBubbleInput"));function Yae(e){return typeof e==="function"}cm(Yae,"isFunction");function lm(e){return e==="indeterminate"}cm(lm,"isIndeterminate");function cU(e){return lm(e)?"indeterminate":e?"checked":"unchecked"}cm(cU,"getState");S();S();S();var qke=Object.defineProperty,Ei=(e,r)=>qke(e,"name",{value:r,configurable:!0});function fi(e){let r=e+"CollectionProvider",[a,i]=pt(r),[s,l]=a(r,{collectionRef:{current:null},itemMap:new Map}),c=Ei((j)=>{let{scope:U,children:T}=j,N=b(null),G=b(new Map).current;return t(s,{scope:U,itemMap:G,collectionRef:N,children:T})},"CollectionProvider");c.displayName=r;let d=e+"CollectionSlot",m=Pi(d),g=O((j,U)=>{let{scope:T,children:N}=j,G=l(d,T),X=_e(U,G.collectionRef);return t(m,{ref:X,children:N})});g.displayName=d;let M=e+"CollectionItemSlot",v="data-radix-collection-item",y=Pi(M),x=O((j,U)=>{let{scope:T,children:N,...G}=j,X=b(null),J=_e(U,X),ee=l(M,T);return h(()=>(ee.itemMap.set(X,{ref:X,...G}),()=>void ee.itemMap.delete(X))),t(y,{...{[v]:""},ref:J,children:N})});x.displayName=M;function _(j){let U=l(e+"CollectionConsumer",j);return D(()=>{let N=U.collectionRef.current;if(!N)return[];let G=Array.from(N.querySelectorAll(`[${v}]`));return Array.from(U.itemMap.values()).sort((ee,re)=>G.indexOf(ee.ref.current)-G.indexOf(re.ref.current))},[U.collectionRef,U.itemMap])}return Ei(_,"useCollection"),[{Provider:c,Slot:g,ItemSlot:x},_,i]}Ei(fi,"createCollection");var qae=new WeakMap,uU=class e extends Map{static{Ei(this,"OrderedDict")}#e;constructor(r){super(r);this.#e=[...super.keys()],qae.set(this,!0)}set(r,a){if(qae.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 s=this.has(a),l=this.#e.length,c=ZU(r),d=c>=0?c:l+c,m=d<0||d>=l?-1:d;if(m===this.size||s&&m===this.size-1||m===-1)return this.set(a,i),this;let g=this.size+(s?0:1);if(c<0)d++;let M=[...this.#e],v,y=!1;for(let x=d;x<g;x++)if(d===x){let _=M[x];if(M[x]===a)_=M[x+1];if(s)this.delete(a);v=this.get(_),this.set(a,i)}else{if(!y&&M[x-1]===a)y=!0;let _=M[y?x:x-1],j=v;v=this.get(_),this.delete(_),this.set(_,j)}return this}with(r,a,i){let s=new e(this);return s.insert(r,a,i),s}before(r){let a=this.#e.indexOf(r)-1;if(a<0)return;return this.entryAt(a)}setBefore(r,a,i){let s=this.#e.indexOf(r);if(s===-1)return this;return this.insert(s,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 s=this.#e.indexOf(r);if(s===-1)return this;return this.insert(s+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=YN(this.#e,r);if(a!==void 0)return this.get(a)}entryAt(r){let a=YN(this.#e,r);if(a!==void 0)return[a,this.get(a)]}indexOf(r){return this.#e.indexOf(r)}keyAt(r){return YN(this.#e,r)}from(r,a){let i=this.indexOf(r);if(i===-1)return;let s=i+a;if(s<0)s=0;if(s>=this.size)s=this.size-1;return this.at(s)}keyFrom(r,a){let i=this.indexOf(r);if(i===-1)return;let s=i+a;if(s<0)s=0;if(s>=this.size)s=this.size-1;return this.keyAt(s)}find(r,a){let i=0;for(let s of this){if(Reflect.apply(r,a,[s,i,this]))return s;i++}return}findIndex(r,a){let i=0;for(let s of this){if(Reflect.apply(r,a,[s,i,this]))return i;i++}return-1}filter(r,a){let i=[],s=0;for(let l of this){if(Reflect.apply(r,a,[l,s,this]))i.push(l);s++}return new e(i)}map(r,a){let i=[],s=0;for(let l of this)i.push([l[0],Reflect.apply(r,a,[l,s,this])]),s++;return new e(i)}reduce(...r){let[a,i]=r,s=0,l=i??this.at(0);for(let c of this){if(s===0&&r.length===1)l=c;else l=Reflect.apply(a,this,[l,c,s,this]);s++}return l}reduceRight(...r){let[a,i]=r,s=i??this.at(-1);for(let l=this.size-1;l>=0;l--){let c=this.at(l);if(l===this.size-1&&r.length===1)s=c;else s=Reflect.apply(a,this,[s,c,l,this])}return s}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),s=this.get(i);r.set(i,s)}return r}toSpliced(...r){let a=[...this.entries()];return a.splice(...r),new e(a)}slice(r,a){let i=new e,s=this.size-1;if(r===void 0)return i;if(r<0)r=r+this.size;if(a!==void 0&&a>0)s=a-1;for(let l=r;l<=s;l++){let c=this.keyAt(l),d=this.get(c);i.set(c,d)}return i}every(r,a){let i=0;for(let s of this){if(!Reflect.apply(r,a,[s,i,this]))return!1;i++}return!0}some(r,a){let i=0;for(let s of this){if(Reflect.apply(r,a,[s,i,this]))return!0;i++}return!1}};function YN(e,r){if("at"in Array.prototype)return Array.prototype.at.call(e,r);let a=Hae(e,r);return a===-1?void 0:e[a]}Ei(YN,"at");function Hae(e,r){let a=e.length,i=ZU(r),s=i>=0?i:a+i;return s<0||s>=a?-1:s}Ei(Hae,"toSafeIndex");function ZU(e){return e!==e||e===0?0:Math.trunc(e)}Ei(ZU,"toSafeInteger");function Hke(e){let r=e+"CollectionProvider",[a,i]=pt(r),[s,l]=a(r,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new uU,setItemMap:Ei(()=>{return},"setItemMap")}),c=Ei(({state:G,...X})=>G?t(m,{...X,state:G}):t(d,{...X}),"CollectionProvider");c.displayName=r;let d=Ei((G)=>{let X=U();return t(m,{...G,state:X})},"CollectionInit");d.displayName=r+"Init";let m=Ei((G)=>{let{scope:X,children:J,state:ee}=G,re=b(null),[oe,ie]=u(null),ye=_e(re,ie),[We,Ye]=ee;return h(()=>{if(!oe)return;let Se=Gae(()=>{});return Se.observe(oe,{childList:!0,subtree:!0}),()=>{Se.disconnect()}},[oe]),t(s,{scope:X,itemMap:We,setItemMap:Ye,collectionRef:ye,collectionRefObject:re,collectionElement:oe,children:J})},"CollectionProviderImpl");m.displayName=r+"Impl";let g=e+"CollectionSlot",M=Pi(g),v=O((G,X)=>{let{scope:J,children:ee}=G,re=l(g,J),oe=_e(X,re.collectionRef);return t(M,{ref:oe,children:ee})});v.displayName=g;let y=e+"CollectionItemSlot",x="data-radix-collection-item",_=Pi(y),j=O((G,X)=>{let{scope:J,children:ee,...re}=G,oe=b(null),[ie,ye]=u(null),We=_e(X,oe,ye),Ye=l(y,J),{setItemMap:Se}=Ye,He=b(re);if(!Vae(He.current,re))He.current=re;let ut=He.current;return h(()=>{let Ke=ut;return Se((yt)=>{if(!ie)return yt;if(!yt.has(ie))return yt.set(ie,{...Ke,element:ie}),yt.toSorted(dU);return yt.set(ie,{...Ke,element:ie}).toSorted(dU)}),()=>{Se((yt)=>{if(!ie||!yt.has(ie))return yt;return yt.delete(ie),new uU(yt)})}},[ie,ut,Se]),t(_,{...{[x]:""},ref:We,children:ee})});j.displayName=y;function U(){return u(new uU)}Ei(U,"useInitCollection");function T(G){let{itemMap:X}=l(e+"CollectionConsumer",G);return X}return Ei(T,"useCollection"),[{Provider:c,Slot:v,ItemSlot:j},{createCollectionScope:i,useCollection:T,useInitCollection:U}]}Ei(Hke,"createCollection");function Vae(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 s of a){if(!Object.prototype.hasOwnProperty.call(r,s))return!1;if(e[s]!==r[s])return!1}return!0}Ei(Vae,"shallowEqual");function Wae(e,r){return!!(r.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}Ei(Wae,"isElementPreceding");function dU(e,r){return!e[1].element||!r[1].element?0:Wae(e[1].element,r[1].element)?-1:1}Ei(dU,"sortByDocumentPosition");function Gae(e){return new MutationObserver((a)=>{for(let i of a)if(i.type==="childList"){e();return}})}Ei(Gae,"getChildListObserver");S();var Vke=Object.defineProperty,Wke=(e,r)=>Vke(e,"name",{value:r,configurable:!0}),Gke=it(void 0);function Hn(e){let r=dt(Gke);return e||r||"ltr"}Wke(Hn,"useDirection");S();var Qae=["top","right","bottom","left"];var{min:sZ,max:fu,round:u2,floor:d2}=Math,lZ=(e)=>({x:e,y:e}),Kke={left:"right",right:"left",bottom:"top",top:"bottom"};function pU(e,r,a){return fu(e,sZ(r,a))}function cZ(e,r){return typeof e==="function"?e(r):e}function um(e){return e.split("-")[0]}function Az(e){return e.split("-")[1]}function qN(e){return e==="x"?"y":"x"}function HN(e){return e==="y"?"height":"width"}function su(e){let r=e[0];return r==="t"||r==="b"?"y":"x"}function VN(e){return qN(su(e))}function Jae(e,r,a){if(a===void 0)a=!1;let i=Az(e),s=VN(e),l=HN(s),c=s==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";if(r.reference[l]>r.floating[l])c=c2(c);return[c,c2(c)]}function $ae(e){let r=c2(e);return[UN(e),r,UN(r)]}function UN(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var Kae=["left","right"],Xae=["right","left"],Xke=["top","bottom"],Qke=["bottom","top"];function Jke(e,r,a){switch(e){case"top":case"bottom":if(a)return r?Xae:Kae;return r?Kae:Xae;case"left":case"right":return r?Xke:Qke;default:return[]}}function ene(e,r,a,i){let s=Az(e),l=Jke(um(e),a==="start",i);if(s){if(l=l.map((c)=>c+"-"+s),r)l=l.concat(l.map(UN))}return l}function c2(e){let r=um(e);return Kke[r]+e.slice(r.length)}function $ke(e){var r,a,i,s;return{top:(r=e.top)!=null?r:0,right:(a=e.right)!=null?a:0,bottom:(i=e.bottom)!=null?i:0,left:(s=e.left)!=null?s:0}}function mU(e){return typeof e!=="number"?$ke(e):{top:e,right:e,bottom:e,left:e}}function Ez(e){let{x:r,y:a,width:i,height:s}=e;return{width:i,height:s,top:a,left:r,right:r+i,bottom:a+s,x:r,y:a}}function tne(e,r,a){let{reference:i,floating:s}=e,l=su(r),c=VN(r),d=HN(c),m=um(r),g=l==="y",M=i.x+i.width/2-s.width/2,v=i.y+i.height/2-s.height/2,y=i[d]/2-s[d]/2,x;switch(m){case"top":x={x:M,y:i.y-s.height};break;case"bottom":x={x:M,y:i.y+i.height};break;case"right":x={x:i.x+i.width,y:v};break;case"left":x={x:i.x-s.width,y:v};break;default:x={x:i.x,y:i.y}}let _=Az(r);if(_)x[c]+=y*(_==="end"?1:-1)*(a&&g?-1:1);return x}async function ane(e,r){var a;if(r===void 0)r={};let{x:i,y:s,platform:l,rects:c,elements:d,strategy:m}=e,{boundary:g="clippingAncestors",rootBoundary:M="viewport",elementContext:v="floating",altBoundary:y=!1,padding:x=0}=cZ(r,e),_=mU(x),U=d[y?v==="floating"?"reference":"floating":v],T=Ez(await l.getClippingRect({element:((a=await(l.isElement==null?void 0:l.isElement(U)))!=null?a:!0)?U:U.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(d.floating)),boundary:g,rootBoundary:M,strategy:m})),N=v==="floating"?{x:i,y:s,width:c.floating.width,height:c.floating.height}:c.reference,G=await(l.getOffsetParent==null?void 0:l.getOffsetParent(d.floating)),X=await(l.isElement==null?void 0:l.isElement(G))&&await(l.getScale==null?void 0:l.getScale(G))||{x:1,y:1},J=Ez(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:N,offsetParent:G,strategy:m}):N);return{top:(T.top-J.top+_.top)/X.y,bottom:(J.bottom-T.bottom+_.bottom)/X.y,left:(T.left-J.left+_.left)/X.x,right:(J.right-T.right+_.right)/X.x}}var e1e=50,nne=async(e,r,a)=>{let{placement:i="bottom",strategy:s="absolute",middleware:l=[],platform:c}=a,d=c.detectOverflow?c:{...c,detectOverflow:ane},m=await(c.isRTL==null?void 0:c.isRTL(r)),g=await c.getElementRects({reference:e,floating:r,strategy:s}),{x:M,y:v}=tne(g,i,m),y=i,x=0,_={};for(let j=0;j<l.length;j++){let U=l[j];if(!U)continue;let{name:T,fn:N}=U,{x:G,y:X,data:J,reset:ee}=await N({x:M,y:v,initialPlacement:i,placement:y,strategy:s,middlewareData:_,rects:g,platform:d,elements:{reference:e,floating:r}});if(M=G!=null?G:M,v=X!=null?X:v,_[T]={..._[T],...J},ee&&x<e1e){if(x++,typeof ee==="object"){if(ee.placement)y=ee.placement;if(ee.rects)g=ee.rects===!0?await c.getElementRects({reference:e,floating:r,strategy:s}):ee.rects;({x:M,y:v}=tne(g,y,m))}j=-1}}return{x:M,y:v,placement:y,strategy:s,middlewareData:_}},ine=(e)=>({name:"arrow",options:e,async fn(r){let{x:a,y:i,placement:s,rects:l,platform:c,elements:d,middlewareData:m}=r,{element:g,padding:M=0}=cZ(e,r)||{};if(g==null)return{};let v=mU(M),y={x:a,y:i},x=VN(s),_=HN(x),j=await c.getDimensions(g),U=x==="y",T=U?"top":"left",N=U?"bottom":"right",G=U?"clientHeight":"clientWidth",X=l.reference[_]+l.reference[x]-y[x]-l.floating[_],J=y[x]-l.reference[x],ee=await(c.getOffsetParent==null?void 0:c.getOffsetParent(g)),re=ee?ee[G]:0;if(!re||!await(c.isElement==null?void 0:c.isElement(ee)))re=d.floating[G]||l.floating[_];let oe=X/2-J/2,ie=re/2-j[_]/2-1,ye=sZ(v[T],ie),We=sZ(v[N],ie),Ye=re-j[_]-We,Se=re/2-j[_]/2+oe,He=pU(ye,Se,Ye),ut=!m.arrow&&Az(s)!=null&&Se!==He&&l.reference[_]/2-(Se<ye?ye:We)-j[_]/2<0,Ke=ut?Se<ye?Se-ye:Se-Ye:0;return{[x]:y[x]+Ke,data:{[x]:He,centerOffset:Se-He-Ke,...ut&&{alignmentOffset:Ke}},reset:ut}}});var fne=function(e){if(e===void 0)e={};return{name:"flip",options:e,async fn(r){var a,i;let{placement:s,middlewareData:l,rects:c,initialPlacement:d,platform:m,elements:g}=r,{mainAxis:M=!0,crossAxis:v=!0,fallbackPlacements:y,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:j=!0,...U}=cZ(e,r);if((a=l.arrow)!=null&&a.alignmentOffset)return{};let T=um(s),N=su(d),G=um(d)===d,X=await(m.isRTL==null?void 0:m.isRTL(g.floating)),J=y||(G||!j?[c2(d)]:$ae(d)),ee=_!=="none";if(!y&&ee)J.push(...ene(d,j,_,X));let re=[d,...J],oe=await m.detectOverflow(r,U),ie=[],ye=((i=l.flip)==null?void 0:i.overflows)||[];if(M)ie.push(oe[T]);if(v){let He=Jae(s,c,X);ie.push(oe[He[0]],oe[He[1]])}if(ye=[...ye,{placement:s,overflows:ie}],!ie.every((He)=>He<=0)){var We,Ye;let He=(((We=l.flip)==null?void 0:We.index)||0)+1,ut=re[He];if(ut){if(!(v==="alignment"?N!==su(ut):!1)||ye.every((At)=>su(At.placement)===N?At.overflows[0]>0:!0))return{data:{index:He,overflows:ye},reset:{placement:ut}}}let Ke=(Ye=ye.filter((yt)=>yt.overflows[0]<=0).sort((yt,At)=>yt.overflows[1]-At.overflows[1])[0])==null?void 0:Ye.placement;if(!Ke)switch(x){case"bestFit":{var Se;let yt=(Se=ye.filter((At)=>{if(ee){let jt=su(At.placement);return jt===N||jt==="y"}return!0}).map((At)=>[At.placement,At.overflows.filter((jt)=>jt>0).reduce((jt,de)=>jt+de,0)]).sort((At,jt)=>At[1]-jt[1])[0])==null?void 0:Se[0];if(yt)Ke=yt;break}case"initialPlacement":Ke=d;break}if(s!==Ke)return{reset:{placement:Ke}}}return{}}}};function rne(e,r){return{top:e.top-r.height,right:e.right-r.width,bottom:e.bottom-r.height,left:e.left-r.width}}function one(e){return Qae.some((r)=>e[r]>=0)}var sne=function(e){if(e===void 0)e={};return{name:"hide",options:e,async fn(r){let{rects:a,platform:i}=r,{strategy:s="referenceHidden",...l}=cZ(e,r);switch(s){case"referenceHidden":{let c=await i.detectOverflow(r,{...l,elementContext:"reference"}),d=rne(c,a.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:one(d)}}}case"escaped":{let c=await i.detectOverflow(r,{...l,altBoundary:!0}),d=rne(c,a.floating);return{data:{escapedOffsets:d,escaped:one(d)}}}default:return{}}}}};var lne=new Set(["left","top"]);async function t1e(e,r){let{placement:a,platform:i,elements:s}=e,l=await(i.isRTL==null?void 0:i.isRTL(s.floating)),c=um(a),d=Az(a),m=su(a)==="y",g=lne.has(c)?-1:1,M=l&&m?-1:1,v=cZ(r,e),{mainAxis:y,crossAxis:x,alignmentAxis:_}=typeof v==="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};if(d&&typeof _==="number")x=d==="end"?_*-1:_;return m?{x:x*M,y:y*g}:{x:y*g,y:x*M}}var cne=function(e){if(e===void 0)e=0;return{name:"offset",options:e,async fn(r){var a,i;let{x:s,y:l,placement:c,middlewareData:d}=r,m=await t1e(r,e);if(c===((a=d.offset)==null?void 0:a.placement)&&(i=d.arrow)!=null&&i.alignmentOffset)return{};return{x:s+m.x,y:l+m.y,data:{...m,placement:c}}}}},une=function(e){if(e===void 0)e={};return{name:"shift",options:e,async fn(r){let{x:a,y:i,placement:s,platform:l}=r,{mainAxis:c=!0,crossAxis:d=!1,limiter:m={fn:(N)=>{let{x:G,y:X}=N;return{x:G,y:X}}},...g}=cZ(e,r),M={x:a,y:i},v=await l.detectOverflow(r,g),y=su(s),x=qN(y),_=M[x],j=M[y],U=(N,G)=>pU(G+v[N==="y"?"top":"left"],G,G-v[N==="y"?"bottom":"right"]);if(c)_=U(x,_);if(d)j=U(y,j);let T=m.fn({...r,[x]:_,[y]:j});return{...T,data:{x:T.x-a,y:T.y-i,enabled:{[x]:c,[y]:d}}}}}},dne=function(e){if(e===void 0)e={};return{options:e,fn(r){var a,i;let{x:s,y:l,placement:c,rects:d,middlewareData:m}=r,{offset:g=0,mainAxis:M=!0,crossAxis:v=!0}=cZ(e,r),y={x:s,y:l},x=su(c),_=qN(x),j=y[_],U=y[x],T=cZ(g,r),N=typeof T==="number"?{mainAxis:T,crossAxis:0}:{mainAxis:(a=T.mainAxis)!=null?a:0,crossAxis:(i=T.crossAxis)!=null?i:0};if(M){let J=_==="y"?"height":"width",ee=d.reference[_]-d.floating[J]+N.mainAxis,re=d.reference[_]+d.reference[J]-N.mainAxis;if(j<ee)j=ee;else if(j>re)j=re}if(v){var G,X;let J=_==="y"?"width":"height",ee=lne.has(um(c)),re=d.reference[x]-d.floating[J]+(ee?((G=m.offset)==null?void 0:G[x])||0:0)+(ee?0:N.crossAxis),oe=d.reference[x]+d.reference[J]+(ee?0:((X=m.offset)==null?void 0:X[x])||0)-(ee?N.crossAxis:0);if(U<re)U=re;else if(U>oe)U=oe}return{[_]:j,[x]:U}}}},Zne=function(e){if(e===void 0)e={};return{name:"size",options:e,async fn(r){let{placement:a,rects:i,platform:s,elements:l}=r,{apply:c=()=>{},...d}=cZ(e,r),m=await s.detectOverflow(r,d),g=um(a),M=Az(a),v=su(a)==="y",{width:y,height:x}=i.floating,_,j;if(g==="top"||g==="bottom")_=g,j=M===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right";else j=g,_=M==="end"?"top":"bottom";let U=x-m.top-m.bottom,T=y-m.left-m.right,N=sZ(x-m[_],U),G=sZ(y-m[j],T),X=r.middlewareData.shift,J=!X,ee=N,re=G;if(X!=null&&X.enabled.x)re=T;if(X!=null&&X.enabled.y)ee=U;if(J&&!M)if(v)re=y-2*fu(m.left,m.right);else ee=x-2*fu(m.top,m.bottom);await c({...r,availableWidth:re,availableHeight:ee});let oe=await s.getDimensions(l.floating);if(y!==oe.width||x!==oe.height)return{reset:{rects:!0}};return{}}}};function WN(){return typeof window<"u"}function jz(e){if(mne(e))return(e.nodeName||"").toLowerCase();return"#document"}function is(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function uZ(e){var r;return(r=(mne(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function mne(e){if(!WN())return!1;return e instanceof Node||e instanceof is(e).Node}function lu(e){if(!WN())return!1;return e instanceof Element||e instanceof is(e).Element}function dm(e){if(!WN())return!1;return e instanceof HTMLElement||e instanceof is(e).HTMLElement}function pne(e){if(!WN()||typeof ShadowRoot>"u")return!1;return e instanceof ShadowRoot||e instanceof is(e).ShadowRoot}function Z2(e){let{overflow:r,overflowX:a,overflowY:i,display:s}=cu(e);return/auto|scroll|overlay|hidden|clip/.test(r+i+a)&&s!=="inline"&&s!=="contents"}function hne(e){return/^(table|td|th)$/.test(jz(e))}function p2(e){try{if(e.matches(":popover-open"))return!0}catch(r){}try{return e.matches(":modal")}catch(r){return!1}}var r1e=/transform|translate|scale|rotate|perspective|filter/,o1e=/paint|layout|strict|content/,Dz=(e)=>!!e&&e!=="none",hU;function GN(e){let r=lu(e)?cu(e):e;return Dz(r.transform)||Dz(r.translate)||Dz(r.scale)||Dz(r.rotate)||Dz(r.perspective)||!KN()&&(Dz(r.backdropFilter)||Dz(r.filter))||r1e.test(r.willChange||"")||o1e.test(r.contain||"")}function gne(e){let r=c8(e);while(dm(r)&&!$k(r)){if(GN(r))return r;else if(p2(r))return null;r=c8(r)}return null}function KN(){if(hU==null)hU=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none");return hU}function $k(e){return/^(html|body|#document)$/.test(jz(e))}function cu(e){return is(e).getComputedStyle(e)}function m2(e){if(lu(e))return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop};return{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function c8(e){if(jz(e)==="html")return e;let r=e.assignedSlot||e.parentNode||pne(e)&&e.host||uZ(e);return pne(r)?r.host:r}function Mne(e){let r=c8(e);if($k(r))return(e.ownerDocument||e).body;if(dm(r)&&Z2(r))return r;return Mne(r)}function Oz(e,r,a){var i;if(r===void 0)r=[];if(a===void 0)a=!0;let s=Mne(e),l=s===((i=e.ownerDocument)==null?void 0:i.body),c=is(s);if(l){let d=XN(c);return r.concat(c,c.visualViewport||[],Z2(s)?s:[],d&&a?Oz(d):[])}else return r.concat(s,Oz(s,[],a))}function XN(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yne(e){let r=cu(e),a=parseFloat(r.width)||0,i=parseFloat(r.height)||0,s=dm(e),l=s?e.offsetWidth:a,c=s?e.offsetHeight:i,d=u2(a)!==l||u2(i)!==c;if(d)a=l,i=c;return{width:a,height:i,$:d}}function MU(e){return!lu(e)?e.contextElement:e}function eR(e){let r=MU(e);if(!dm(r))return lZ(1);let a=r.getBoundingClientRect(),{width:i,height:s,$:l}=yne(r),c=(l?u2(a.width):a.width)/i,d=(l?u2(a.height):a.height)/s;if(!c||!Number.isFinite(c))c=1;if(!d||!Number.isFinite(d))d=1;return{x:c,y:d}}var a1e=lZ(0);function bne(e){let r=is(e);if(!KN()||!r.visualViewport)return a1e;return{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function n1e(e,r,a){if(r===void 0)r=!1;return!!a&&r&&a===is(e)}function Nz(e,r,a,i){if(r===void 0)r=!1;if(a===void 0)a=!1;let s=e.getBoundingClientRect(),l=MU(e),c=lZ(1);if(r)if(i){if(lu(i))c=eR(i)}else c=eR(e);let d=n1e(l,a,i)?bne(l):lZ(0),m=(s.left+d.x)/c.x,g=(s.top+d.y)/c.y,M=s.width/c.x,v=s.height/c.y;if(l&&i){let y=is(l),x=lu(i)?is(i):i,_=y,j=XN(_);while(j&&x!==_){let U=eR(j),T=j.getBoundingClientRect(),N=cu(j),G=T.left+(j.clientLeft+parseFloat(N.paddingLeft))*U.x,X=T.top+(j.clientTop+parseFloat(N.paddingTop))*U.y;m*=U.x,g*=U.y,M*=U.x,v*=U.y,m+=G,g+=X,_=is(j),j=XN(_)}}return Ez({width:M,height:v,x:m,y:g})}function QN(e,r){let a=m2(e).scrollLeft;if(!r)return Nz(uZ(e)).left+a;return r.left+a}function _ne(e,r){let a=e.getBoundingClientRect(),i=a.left+r.scrollLeft-QN(e,a),s=a.top+r.scrollTop;return{x:i,y:s}}function i1e(e){let{elements:r,rect:a,offsetParent:i,strategy:s}=e,l=s==="fixed",c=uZ(i),d=r?p2(r.floating):!1;if(i===c||d&&l)return a;let m={scrollLeft:0,scrollTop:0},g=lZ(1),M=lZ(0),v=dm(i);if(v||!l){if(jz(i)!=="body"||Z2(c))m=m2(i);if(v){let x=Nz(i);g=eR(i),M.x=x.x+i.clientLeft,M.y=x.y+i.clientTop}}let y=c&&!v&&!l?_ne(c,m):lZ(0);return{width:a.width*g.x,height:a.height*g.y,x:a.x*g.x-m.scrollLeft*g.x+M.x+y.x,y:a.y*g.y-m.scrollTop*g.y+M.y+y.y}}function f1e(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function s1e(e){let r=m2(e),a=e.ownerDocument.body,i=fu(e.scrollWidth,e.clientWidth,a.scrollWidth,a.clientWidth),s=fu(e.scrollHeight,e.clientHeight,a.scrollHeight,a.clientHeight),l=-r.scrollLeft+QN(e),c=-r.scrollTop;if(cu(a).direction==="rtl")l+=fu(e.clientWidth,a.clientWidth)-i;return{width:i,height:s,x:l,y:c}}var l1e=25;function c1e(e,r,a){if(a===void 0)a="viewport";let i=a==="layoutViewport",s=is(e),l=uZ(e),c=s.visualViewport,{clientWidth:d,clientHeight:m}=l,g=0,M=0;if(c){let y=!KN()||r==="fixed";if(i){if(!y)g=-c.offsetLeft,M=-c.offsetTop}else if(d=c.width,m=c.height,y)g=c.offsetLeft,M=c.offsetTop}if(QN(l)<=0){let y=l.ownerDocument,x=y.body,_=getComputedStyle(x),j=y.compatMode==="CSS1Compat"?parseFloat(_.marginLeft)+parseFloat(_.marginRight)||0:0,U=Math.abs(l.clientWidth-x.clientWidth-j),T=getComputedStyle(l).scrollbarGutter==="stable both-edges"?U/2:U;if(T<=l1e)d-=T}return{width:d,height:m,x:g,y:M}}function u1e(e,r){let a=Nz(e,!0,r==="fixed"),i=a.top+e.clientTop,s=a.left+e.clientLeft,l=eR(e),c=e.clientWidth*l.x,d=e.clientHeight*l.y,m=s*l.x,g=i*l.y;return{width:c,height:d,x:m,y:g}}function vne(e,r,a){let i;if(r==="viewport"||r==="layoutViewport")i=c1e(e,a,r);else if(r==="document")i=s1e(uZ(e));else if(lu(r))i=u1e(r,a);else{let s=bne(e);i={x:r.x-s.x,y:r.y-s.y,width:r.width,height:r.height}}return Ez(i)}function d1e(e,r){let a=r.get(e);if(a)return a;let i=Oz(e,[],!1).filter((d)=>lu(d)&&jz(d)!=="body"),s=null,l=cu(e).position==="fixed",c=l?c8(e):e;while(lu(c)&&!$k(c)){let d=cu(c),m=GN(c),g=s?s.position:l?"fixed":"";if(!m&&(g==="fixed"||g==="absolute"&&d.position==="static"))i=i.filter((v)=>v!==c);else s=d;c=c8(c)}return r.set(e,i),i}function Z1e(e){let{element:r,boundary:a,rootBoundary:i,strategy:s}=e,c=[...a==="clippingAncestors"?p2(r)?[]:d1e(r,this._c):[].concat(a),i],d=vne(r,c[0],s),{top:m,right:g,bottom:M,left:v}=d;for(let y=1;y<c.length;y++){let x=vne(r,c[y],s);m=fu(x.top,m),g=sZ(x.right,g),M=sZ(x.bottom,M),v=fu(x.left,v)}return{width:g-v,height:M-m,x:v,y:m}}function p1e(e){let{width:r,height:a}=yne(e);return{width:r,height:a}}function m1e(e,r,a){let i=dm(r),s=uZ(r),l=a==="fixed",c=Nz(e,!0,l,r),d={scrollLeft:0,scrollTop:0},m=lZ(0);if(i||!l){if(jz(r)!=="body"||Z2(s))d=m2(r);if(i){let y=Nz(r,!0,l,r);m.x=y.x+r.clientLeft,m.y=y.y+r.clientTop}}if(!i&&s)m.x=QN(s);let g=s&&!i&&!l?_ne(s,d):lZ(0),M=c.left+d.scrollLeft-m.x-g.x,v=c.top+d.scrollTop-m.y-g.y;return{x:M,y:v,width:c.width,height:c.height}}function gU(e){return cu(e).position==="static"}function xne(e,r){if(!dm(e)||cu(e).position==="fixed")return null;if(r)return r(e);let a=e.offsetParent;if(uZ(e)===a)a=a.ownerDocument.body;return a}function wne(e,r){let a=is(e);if(p2(e))return a;if(!dm(e)){let s=c8(e);while(s&&!$k(s)){if(lu(s)&&!gU(s))return s;s=c8(s)}return a}let i=xne(e,r);while(i&&hne(i)&&gU(i))i=xne(i,r);if(i&&$k(i)&&gU(i)&&!GN(i))return a;return i||gne(e)||a}var h1e=async function(e){let r=this.getOffsetParent||wne,a=this.getDimensions,i=await a(e.floating);return{reference:m1e(e.reference,await r(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function g1e(e){return cu(e).direction==="rtl"}var zne={convertOffsetParentRelativeRectToViewportRelativeRect:i1e,getDocumentElement:uZ,getClippingRect:Z1e,getOffsetParent:wne,getElementRects:h1e,getClientRects:f1e,getDimensions:p1e,getScale:eR,isElement:lu,isRTL:g1e};function Sne(e,r){return e.x===r.x&&e.y===r.y&&e.width===r.width&&e.height===r.height}function M1e(e,r,a){let i=null,s,l=uZ(e);function c(){var M;clearTimeout(s),(M=i)==null||M.disconnect(),i=null}function d(M,v){if(M===void 0)M=!1;if(v===void 0)v=1;c();let y=e.getBoundingClientRect(),{left:x,top:_,width:j,height:U}=y;if(!M)r();if(!j||!U)return;let T=d2(_),N=d2(l.clientWidth-(x+j)),G=d2(l.clientHeight-(_+U)),X=d2(x),ee={rootMargin:-T+"px "+-N+"px "+-G+"px "+-X+"px",threshold:fu(0,sZ(1,v))||1},re=!0;function oe(ie){let ye=ie[0].intersectionRatio;if(!Sne(y,e.getBoundingClientRect()))return d();if(ye!==v){if(!re)return d();if(!ye)s=setTimeout(()=>{d(!1,0.0000001)},1000);else d(!1,ye)}re=!1}try{i=new IntersectionObserver(oe,{...ee,root:l.ownerDocument})}catch(ie){i=new IntersectionObserver(oe,ee)}i.observe(e)}let m=is(e),g=()=>d(a);return m.addEventListener("resize",g),d(!0),()=>{m.removeEventListener("resize",g),c()}}function vU(e,r,a,i){if(i===void 0)i={};let{ancestorScroll:s=!0,ancestorResize:l=!0,elementResize:c=typeof ResizeObserver==="function",layoutShift:d=typeof IntersectionObserver==="function",animationFrame:m=!1}=i,g=MU(e),M=s||l?[...g?Oz(g):[],...r?Oz(r):[]]:[];M.forEach((T)=>{s&&T.addEventListener("scroll",a),l&&T.addEventListener("resize",a)});let v=g&&d?M1e(g,a,l):null,y=-1,x=null;if(c){if(x=new ResizeObserver((T)=>{let[N]=T;if(N&&N.target===g&&x&&r)x.unobserve(r),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var G;(G=x)==null||G.observe(r)});a()}),g&&!m)x.observe(g);if(r)x.observe(r)}let _,j=m?Nz(e):null;if(m)U();function U(){let T=Nz(e);if(j&&!Sne(j,T))a();j=T,_=requestAnimationFrame(U)}return a(),()=>{var T;if(M.forEach((N)=>{s&&N.removeEventListener("scroll",a),l&&N.removeEventListener("resize",a)}),v==null||v(),(T=x)==null||T.disconnect(),x=null,m)cancelAnimationFrame(_)}}var Lne=cne;var kne=une,Cne=fne,Ine=Zne,Rne=sne,xU=ine;var Pne=dne,yU=(e,r,a)=>{let i=new Map,s=a!=null?a:{},l={...zne,...s.platform,_c:i};return nne(e,r,{...s,platform:l})};S();S();var v1e=typeof document<"u",x1e=function(){},JN=v1e?$e:x1e;function $N(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,s;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(!$N(e[i],r[i]))return!1;return!0}if(s=Object.keys(e),a=s.length,a!==Object.keys(r).length)return!1;for(i=a;i--!==0;)if(!{}.hasOwnProperty.call(r,s[i]))return!1;for(i=a;i--!==0;){let l=s[i];if(l==="_owner"&&e.$$typeof)continue;if(!$N(e[l],r[l]))return!1}return!0}return e!==e&&r!==r}function Ane(e){if(typeof window>"u")return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Tne(e,r){let a=Ane(e);return Math.round(r*a)/a}function bU(e){let r=b(e);return JN(()=>{r.current=e}),r}function Ene(e){if(e===void 0)e={};let{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:s,elements:{reference:l,floating:c}={},transform:d=!0,whileElementsMounted:m,open:g}=e,[M,v]=u({x:0,y:0,strategy:a,placement:r,middlewareData:{},isPositioned:!1}),[y,x]=u(i);if(!$N(y,i))x(i);let[_,j]=u(null),[U,T]=u(null),N=D((At)=>{if(At!==ee.current)ee.current=At,j(At)},[]),G=D((At)=>{if(At!==re.current)re.current=At,T(At)},[]),X=l||_,J=c||U,ee=b(null),re=b(null),oe=b(M),ie=m!=null,ye=bU(m),We=bU(s),Ye=bU(g),Se=D(()=>{if(!ee.current||!re.current)return;let At={placement:r,strategy:a,middleware:y};if(We.current)At.platform=We.current;yU(ee.current,re.current,At).then((jt)=>{let de={...jt,isPositioned:Ye.current!==!1};if(He.current&&!$N(oe.current,de))oe.current=de,tn(()=>{v(de)})})},[y,r,a,We,Ye]);JN(()=>{if(g===!1&&oe.current.isPositioned)oe.current.isPositioned=!1,v((At)=>({...At,isPositioned:!1}))},[g]);let He=b(!1);JN(()=>(He.current=!0,()=>{He.current=!1}),[]),JN(()=>{if(X)ee.current=X;if(J)re.current=J;if(X&&J){if(ye.current)return ye.current(X,J,Se);Se()}},[X,J,Se,ye,ie]);let ut=P(()=>({reference:ee,floating:re,setReference:N,setFloating:G}),[N,G]),Ke=P(()=>({reference:X,floating:J}),[X,J]),yt=P(()=>{let At={position:a,left:0,top:0};if(!Ke.floating)return At;let jt=Tne(Ke.floating,M.x),de=Tne(Ke.floating,M.y);if(d)return{...At,transform:"translate("+jt+"px, "+de+"px)",...Ane(Ke.floating)>=1.5&&{willChange:"transform"}};return{position:a,left:jt,top:de}},[a,d,Ke.floating,M.x,M.y]);return P(()=>({...M,update:Se,refs:ut,elements:Ke,floatingStyles:yt}),[M,Se,ut,Ke,yt])}var y1e=(e)=>{function r(a){return{}.hasOwnProperty.call(a,"current")}return{name:"arrow",options:e,fn(a){let{element:i,padding:s}=typeof e==="function"?e(a):e;if(i&&r(i)){if(i.current!=null)return xU({element:i.current,padding:s}).fn(a);return{}}if(i)return xU({element:i,padding:s}).fn(a);return{}}}},Dne=(e,r)=>{let a=Lne(e);return{name:a.name,fn:a.fn,options:[e,r]}},One=(e,r)=>{let a=kne(e);return{name:a.name,fn:a.fn,options:[e,r]}},jne=(e,r)=>({fn:Pne(e).fn,options:[e,r]}),Nne=(e,r)=>{let a=Cne(e);return{name:a.name,fn:a.fn,options:[e,r]}},Fne=(e,r)=>{let a=Ine(e);return{name:a.name,fn:a.fn,options:[e,r]}};var Bne=(e,r)=>{let a=Rne(e);return{name:a.name,fn:a.fn,options:[e,r]}};var Yne=(e,r)=>{let a=y1e(e);return{name:a.name,fn:a.fn,options:[e,r]}};S();var b1e=Object.defineProperty,_1e=(e,r)=>b1e(e,"name",{value:r,configurable:!0}),w1e=O(_1e(function(r,a){let{children:i,width:s=10,height:l=5,...c}=r;return t(se.svg,{...c,ref:a,width:s,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:r.asChild?i:t("polygon",{points:"0,0 30,0 15,10"})})},"Arrow")),Une=w1e;var S1e=Object.defineProperty,pm=(e,r)=>S1e(e,"name",{value:r,configurable:!0});var qne="Popper",[Hne,pc]=pt(qne),[L1e,Vne]=Hne(qne),k1e=pm((e)=>{let{__scopePopper:r,children:a}=e,[i,s]=u(null),[l,c]=u(void 0);return t(L1e,{scope:r,anchor:i,onAnchorChange:s,placementState:l,setPlacementState:c,children:a})},"Popper"),C1e="PopperAnchor",I1e=O(pm(function(r,a){let{__scopePopper:i,virtualRef:s,...l}=r,c=Vne(C1e,i),d=b(null),m=c.onAnchorChange,g=D((j)=>{if(d.current=j,j)m(j)},[m]),M=_e(a,g),v=b(null);h(()=>{if(!s)return;let j=v.current;if(v.current=s.current,j!==v.current)m(v.current)});let y=c.placementState&&e5(c.placementState),x=y?.[0],_=y?.[1];return s?null:t(se.div,{"data-radix-popper-side":x,"data-radix-popper-align":_,...l,ref:M})},"PopperAnchor")),Wne="PopperContent",[R1e,P1e]=Hne(Wne),T1e=O(pm(function(r,a){let{__scopePopper:i,side:s="bottom",sideOffset:l=0,align:c="center",alignOffset:d=0,arrowPadding:m=0,avoidCollisions:g=!0,collisionBoundary:M=[],collisionPadding:v=0,sticky:y="partial",hideWhenDetached:x=!1,updatePositionStrategy:_="optimized",onPlaced:j,...U}=r,T=Vne(Wne,i),[N,G]=u(null),X=_e(a,G),[J,ee]=u(null),re=di(J),oe=re?.width??0,ie=re?.height??0,ye=s+(c!=="center"?"-"+c:""),We=typeof v==="number"?v:{top:0,right:0,bottom:0,left:0,...v},Ye=Array.isArray(M)?M:[M],Se=Ye.length>0,He={padding:We,boundary:Ye.filter(Gne),altBoundary:Se},{refs:ut,floatingStyles:Ke,placement:yt,isPositioned:At,middlewareData:jt}=Ene({strategy:"fixed",placement:ye,whileElementsMounted:pm((...Qt)=>vU(...Qt,{animationFrame:_==="always"}),"whileElementsMounted"),elements:{reference:T.anchor},middleware:[Dne({mainAxis:l+ie,alignmentAxis:d}),g&&One({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?jne():void 0,...He}),g&&Nne({...He}),Fne({...He,apply:pm(({elements:Qt,rects:Tr,availableWidth:Cr,availableHeight:Ar})=>{let{width:dr,height:uo}=Tr.reference,lo=Qt.floating.style;lo.setProperty("--radix-popper-available-width",`${Cr}px`),lo.setProperty("--radix-popper-available-height",`${Ar}px`),lo.setProperty("--radix-popper-anchor-width",`${dr}px`),lo.setProperty("--radix-popper-anchor-height",`${uo}px`)},"apply")}),J&&Yne({element:J,padding:m}),O1e({arrowWidth:oe,arrowHeight:ie}),x&&Bne({strategy:"referenceHidden",...He,boundary:Se?He.boundary:void 0})]}),de=T.setPlacementState;Mt(()=>(de(yt),()=>{de(void 0)}),[yt,de]);let[bt,Wt]=e5(yt),je=Xo(j);Mt(()=>{if(At)je?.()},[At,je]);let sr=jt.arrow?.x,cr=jt.arrow?.y,rr=jt.arrow?.centerOffset!==0,[Or,Gt]=u();return Mt(()=>{if(N)Gt(window.getComputedStyle(N).zIndex)},[N]),t("div",{ref:ut.setFloating,"data-radix-popper-content-wrapper":"",style:{...Ke,transform:At?Ke.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Or,"--radix-popper-transform-origin":[jt.transformOrigin?.x,jt.transformOrigin?.y].join(" "),...jt.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:r.dir,children:t(R1e,{scope:i,placedSide:bt,placedAlign:Wt,onArrowChange:ee,arrowX:sr,arrowY:cr,shouldHideArrow:rr,children:t(se.div,{"data-side":bt,"data-align":Wt,...U,ref:X,style:{...U.style,animation:!At?"none":U.style?.animation}})})})},"PopperContent")),A1e="PopperArrow",E1e={top:"bottom",right:"left",bottom:"top",left:"right"},D1e=O(pm(function(r,a){let{__scopePopper:i,...s}=r,l=P1e(A1e,i),c=E1e[l.placedSide];return t("span",{ref:l.onArrowChange,style:{position:"absolute",left:l.arrowX,top:l.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[l.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[l.placedSide],visibility:l.shouldHideArrow?"hidden":void 0},children:t(Une,{...s,ref:a,style:{...s.style,display:"block"}})})},"PopperArrow"));function Gne(e){return e!==null}pm(Gne,"isNotNull");var O1e=pm((e)=>({name:"transformOrigin",options:e,fn(r){let{placement:a,rects:i,middlewareData:s}=r,c=s.arrow?.centerOffset!==0,d=c?0:e.arrowWidth,m=c?0:e.arrowHeight,[g,M]=e5(a),v={start:"0%",center:"50%",end:"100%"}[M],y=(s.arrow?.x??0)+d/2,x=(s.arrow?.y??0)+m/2,_="",j="";if(g==="bottom")_=c?v:`${y}px`,j=`${-m}px`;else if(g==="top")_=c?v:`${y}px`,j=`${i.floating.height+m}px`;else if(g==="right")_=`${-m}px`,j=c?v:`${x}px`;else if(g==="left")_=`${i.floating.width+m}px`,j=c?v:`${x}px`;return{data:{x:_,y:j}}}}),"transformOrigin");function e5(e){let[r,a="center"]=e.split("-");return[r,a]}pm(e5,"getSideAndAlignFromPlacement");var mm=k1e,u8=I1e,d8=T1e,h2=D1e;S();S();S();var j1e=Object.defineProperty,wU=(e,r)=>j1e(e,"name",{value:r,configurable:!0}),_U=!1;function Kne(){let[e,r]=u(_U);return h(()=>{if(!_U)_U=!0,r(!0)},[]),e}wU(Kne,"useIsHydrated");var Xne=V[" useSyncExternalStore ".trim().toString()];function Qne(){return()=>{}}wU(Qne,"subscribe");function Jne(){return Xne(Qne,()=>!0,()=>!1)}wU(Jne,"useIsHydratedModern");var $ne=typeof Xne==="function"?Jne:Kne;var N1e=Object.defineProperty,Fz=(e,r)=>N1e(e,"name",{value:r,configurable:!0}),zU="rovingFocusGroup.onEntryFocus",F1e={bubbles:!1,cancelable:!0},r5="RovingFocusGroup",[SU,eie,B1e]=fi(r5),[Y1e,pi]=pt(r5,[B1e]),[U1e,q1e]=Y1e(r5),H1e=O(Fz(function(r,a){return t(SU.Provider,{scope:r.__scopeRovingFocusGroup,children:t(SU.Slot,{scope:r.__scopeRovingFocusGroup,children:t(V1e,{...r,ref:a})})})},"RovingFocusGroup")),V1e=O(Fz(function(r,a){let{__scopeRovingFocusGroup:i,orientation:s,loop:l=!1,dir:c,currentTabStopId:d,defaultCurrentTabStopId:m,onCurrentTabStopIdChange:g,onEntryFocus:M,preventScrollOnEntryFocus:v=!1,...y}=r,x=b(null),_=_e(a,x),j=Hn(c),[U,T]=Ft({prop:d,defaultProp:m??null,onChange:g,caller:r5}),[N,G]=u(!1),X=Xo(M),J=eie(i),ee=b(!1),[re,oe]=u(0);return h(()=>{let ie=x.current;if(ie)return ie.addEventListener(zU,X),()=>ie.removeEventListener(zU,X)},[X]),t(U1e,{scope:i,orientation:s,dir:j,loop:l,currentTabStopId:U,onItemFocus:D((ie)=>T(ie),[T]),onItemShiftTab:D(()=>G(!0),[]),onFocusableItemAdd:D(()=>oe((ie)=>ie+1),[]),onFocusableItemRemove:D(()=>oe((ie)=>ie-1),[]),children:t(se.div,{tabIndex:N||re===0?-1:0,"data-orientation":s,...y,ref:_,style:{outline:"none",...r.style},onMouseDown:Y(r.onMouseDown,()=>{ee.current=!0}),onFocus:Y(r.onFocus,(ie)=>{let ye=!ee.current;if(ie.target===ie.currentTarget&&ye&&!N){let We=new CustomEvent(zU,F1e);if(ie.currentTarget.dispatchEvent(We),!We.defaultPrevented){let Ye=J().filter((yt)=>yt.focusable),Se=Ye.find((yt)=>yt.active),He=Ye.find((yt)=>yt.id===U),Ke=[Se,He,...Ye].filter(Boolean).map((yt)=>yt.ref.current);LU(Ke,v)}}ee.current=!1}),onBlur:Y(r.onBlur,()=>G(!1))})})},"RovingFocusGroupImpl")),W1e="RovingFocusGroupItem",G1e=O(Fz(function(r,a){let{__scopeRovingFocusGroup:i,focusable:s=!0,active:l=!1,tabStopId:c,children:d,...m}=r,g=xr(),M=c||g,v=q1e(W1e,i),y=v.currentTabStopId===M,x=eie(i),{onFocusableItemAdd:_,onFocusableItemRemove:j,currentTabStopId:U}=v,T=$ne();return Mt(()=>{if(!T||!s)return;return _(),()=>j()},[T,s,_,j]),h(()=>{if(T||!s)return;return _(),()=>j()},[T,s,_,j]),t(SU.ItemSlot,{scope:i,id:M,focusable:s,active:l,children:t(se.span,{tabIndex:y?0:-1,"data-orientation":v.orientation,...m,ref:a,onMouseDown:Y(r.onMouseDown,(N)=>{if(!s)N.preventDefault();else v.onItemFocus(M)}),onFocus:Y(r.onFocus,()=>v.onItemFocus(M)),onKeyDown:Y(r.onKeyDown,(N)=>{if(N.key==="Tab"&&N.shiftKey){v.onItemShiftTab();return}if(N.target!==N.currentTarget)return;let G=rie(N,v.orientation,v.dir);if(G!==void 0){if(N.metaKey||N.ctrlKey||N.altKey||N.shiftKey)return;N.preventDefault();let J=x().filter((ee)=>ee.focusable).map((ee)=>ee.ref.current);if(G==="last")J.reverse();else if(G==="prev"||G==="next"){if(G==="prev")J.reverse();let ee=J.indexOf(N.currentTarget);J=v.loop?oie(J,ee+1):J.slice(ee+1)}setTimeout(()=>LU(J))}}),children:typeof d==="function"?d({isCurrentTabStop:y,hasTabStop:U!=null}):d})})},"RovingFocusGroupItem")),K1e={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function tie(e,r){if(r!=="rtl")return e;return e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}Fz(tie,"getDirectionAwareKey");function rie(e,r,a){let i=tie(e.key,a);if(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(i))return;if(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(i))return;return K1e[i]}Fz(rie,"getFocusIntent");function LU(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}}Fz(LU,"focusFirst");function oie(e,r){return e.map((a,i)=>e[(r+i)%e.length])}Fz(oie,"wrapArray");var ml=H1e,hl=G1e;var X1e=Object.defineProperty,Ro=(e,r)=>X1e(e,"name",{value:r,configurable:!0}),kU=["Enter"," "],Q1e=["ArrowDown","PageUp","Home"],iie=["ArrowUp","PageDown","End"],J1e=[...Q1e,...iie],$1e={ltr:[...kU,"ArrowRight"],rtl:[...kU,"ArrowLeft"]},eCe={ltr:["ArrowLeft"],rtl:["ArrowRight"]},a5="Menu",[g2,tCe,rCe]=fi(a5),[Bz,gl]=pt(a5,[rCe,pc,pi]),n5=pc(),fie=pi(),[sie,Z8]=Bz(a5),[oCe,M2]=Bz(a5),aCe=Ro((e)=>{let{__scopeMenu:r,open:a=!1,children:i,dir:s,onOpenChange:l,modal:c=!0}=e,d=n5(r),[m,g]=u(null),M=b(!1),v=Xo(l),y=Hn(s);return h(()=>{let x=Ro(()=>{M.current=!0,document.addEventListener("pointerdown",_,{capture:!0,once:!0}),document.addEventListener("pointermove",_,{capture:!0,once:!0})},"handleKeyDown"),_=Ro(()=>M.current=!1,"handlePointer");return document.addEventListener("keydown",x,{capture:!0}),()=>{document.removeEventListener("keydown",x,{capture:!0}),document.removeEventListener("pointerdown",_,{capture:!0}),document.removeEventListener("pointermove",_,{capture:!0})}},[]),h(()=>{if(!a)return;let x=Ro(()=>v(!1),"handleBlur");return window.addEventListener("blur",x),()=>window.removeEventListener("blur",x)},[a,v]),t(mm,{...d,children:t(sie,{scope:r,open:a,onOpenChange:v,content:m,onContentChange:g,children:t(oCe,{scope:r,onClose:D(()=>v(!1),[v]),isUsingKeyboardRef:M,dir:y,modal:c,children:i})})})},"Menu"),lie=O(Ro(function(r,a){let{__scopeMenu:i,...s}=r,l=n5(i);return t(u8,{...l,...s,ref:a})},"MenuAnchor")),cie="MenuPortal",[nCe,uie]=Bz(cie,{forceMount:void 0}),iCe=Ro((e)=>{let{__scopeMenu:r,forceMount:a,children:i,container:s}=e,l=Z8(cie,r);return t(nCe,{scope:r,forceMount:a,children:t(ar,{present:a||l.open,children:t(iZ,{asChild:!0,container:s,children:i})})})},"MenuPortal"),uu="MenuContent",[fCe,IU]=Bz(uu),sCe=O(Ro(function(r,a){let i=uie(uu,r.__scopeMenu),{forceMount:s=i.forceMount,...l}=r,c=Z8(uu,r.__scopeMenu),d=M2(uu,r.__scopeMenu);return t(g2.Provider,{scope:r.__scopeMenu,children:t(ar,{present:s||c.open,children:t(g2.Slot,{scope:r.__scopeMenu,children:d.modal?t(lCe,{...l,ref:a}):t(cCe,{...l,ref:a})})})})},"MenuContent")),lCe=O(Ro(function(r,a){let i=Z8(uu,r.__scopeMenu),s=b(null),l=_e(a,s);return h(()=>{let c=s.current;if(c)return l8(c)},[]),t(RU,{...r,ref:l,trapFocus:i.open,disableOutsidePointerEvents:i.open,disableOutsideScroll:!0,onFocusOutside:Y(r.onFocusOutside,(c)=>c.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>i.onOpenChange(!1)})},"MenuRootContentModal")),cCe=O(Ro(function(r,a){let i=Z8(uu,r.__scopeMenu);return t(RU,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>i.onOpenChange(!1)})},"MenuRootContentNonModal")),uCe=Pi("MenuContent.ScrollLock"),RU=O(Ro(function(r,a){let{__scopeMenu:i,loop:s=!1,trapFocus:l,onOpenAutoFocus:c,onCloseAutoFocus:d,disableOutsidePointerEvents:m,onEntryFocus:g,onEscapeKeyDown:M,onPointerDownOutside:v,onFocusOutside:y,onInteractOutside:x,onDismiss:_,disableOutsideScroll:j,...U}=r,T=Z8(uu,i),N=M2(uu,i),G=n5(i),X=fie(i),J=tCe(i),[ee,re]=u(null),oe=b(null),ie=_e(a,oe,T.onContentChange),ye=b(0),We=b(""),Ye=b(0),Se=b(null),He=b("right"),ut=b(0),Ke=j?$Z:Cn,yt=j?{as:uCe,allowPinchZoom:!0}:void 0,At=Ro((de)=>{let bt=We.current+de,Wt=J().filter((Gt)=>!Gt.disabled),je=document.activeElement,sr=Wt.find((Gt)=>Gt.ref.current===je)?.textValue,cr=Wt.map((Gt)=>Gt.textValue),rr=vie(cr,bt,sr),Or=Wt.find((Gt)=>Gt.textValue===rr)?.ref.current;if(Ro(function Gt(Qt){if(We.current=Qt,window.clearTimeout(ye.current),Qt!=="")ye.current=window.setTimeout(()=>Gt(""),1000)},"updateSearch")(bt),Or)setTimeout(()=>Or.focus())},"handleTypeaheadSearch");h(()=>()=>window.clearTimeout(ye.current),[]),fZ();let jt=D((de)=>He.current===Se.current?.side&&yie(de,Se.current?.area),[]);return t(fCe,{scope:i,searchRef:We,onItemEnter:D((de)=>{if(jt(de))de.preventDefault()},[jt]),onItemLeave:D((de)=>{if(jt(de))return;oe.current?.focus(),re(null)},[jt]),onTriggerLeave:D((de)=>{if(jt(de))de.preventDefault()},[jt]),pointerGraceTimerRef:Ye,onPointerGraceIntentChange:D((de)=>{Se.current=de},[]),children:t(Ke,{...yt,children:t(s8,{asChild:!0,trapped:l,onMountAutoFocus:Y(c,(de)=>{de.preventDefault(),oe.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:d,children:t(nZ,{asChild:!0,disableOutsidePointerEvents:m,onEscapeKeyDown:M,onPointerDownOutside:v,onFocusOutside:y,onInteractOutside:x,onDismiss:_,children:t(ml,{asChild:!0,...X,dir:N.dir,orientation:"vertical",loop:s,currentTabStopId:ee,onCurrentTabStopIdChange:re,onEntryFocus:Y(g,(de)=>{if(!N.isUsingKeyboardRef.current)de.preventDefault()}),preventScrollOnEntryFocus:!0,children:t(d8,{role:"menu","aria-orientation":"vertical","data-state":PU(T.open),"data-radix-menu-content":"",dir:N.dir,...G,...U,ref:ie,style:{outline:"none",...U.style},onKeyDown:Y(U.onKeyDown,(de)=>{let Wt=de.target.closest("[data-radix-menu-content]")===de.currentTarget,je=de.ctrlKey||de.altKey||de.metaKey,sr=de.key.length===1;if(Wt){if(de.key==="Tab")de.preventDefault();if(!je&&sr)At(de.key)}let cr=oe.current;if(de.target!==cr)return;if(!J1e.includes(de.key))return;de.preventDefault();let Or=J().filter((Gt)=>!Gt.disabled).map((Gt)=>Gt.ref.current);if(iie.includes(de.key))Or.reverse();gie(Or)}),onBlur:Y(r.onBlur,(de)=>{if(!de.currentTarget.contains(de.target))window.clearTimeout(ye.current),We.current=""}),onPointerMove:Y(r.onPointerMove,tR((de)=>{let bt=de.target,Wt=ut.current!==de.clientX;if(de.currentTarget.contains(bt)&&Wt){let je=de.clientX>ut.current?"right":"left";He.current=je,ut.current=de.clientX}}))})})})})})})},"MenuContentImpl")),dCe=O(Ro(function(r,a){let{__scopeMenu:i,...s}=r;return t(se.div,{role:"group",...s,ref:a})},"MenuGroup")),ZCe=O(Ro(function(r,a){let{__scopeMenu:i,...s}=r;return t(se.div,{...s,ref:a})},"MenuLabel")),CU="MenuItem",nie="menu.itemSelect",die=O(Ro(function(r,a){let{disabled:i=!1,onSelect:s,...l}=r,c=b(null),d=M2(CU,r.__scopeMenu),m=IU(CU,r.__scopeMenu),g=_e(a,c),M=b(!1),v=Ro(()=>{let y=c.current;if(!i&&y){let x=new CustomEvent(nie,{bubbles:!0,cancelable:!0});if(y.addEventListener(nie,(_)=>s?.(_),{once:!0}),n2(y,x),x.defaultPrevented)M.current=!1;else d.onClose()}},"handleSelect");return t(Zie,{...l,ref:g,disabled:i,onClick:Y(r.onClick,v),onPointerDown:(y)=>{r.onPointerDown?.(y),M.current=!0},onPointerUp:Y(r.onPointerUp,(y)=>{if(!M.current)y.currentTarget?.click()}),onKeyDown:Y(r.onKeyDown,(y)=>{if(i||y.target!==y.currentTarget)return;if(m.searchRef.current!==""&&y.key===" ")return;if(kU.includes(y.key))y.currentTarget.click(),y.preventDefault()})})},"MenuItem")),Zie=O(Ro(function(r,a){let{__scopeMenu:i,disabled:s=!1,textValue:l,...c}=r,d=IU(CU,i),m=fie(i),g=b(null),M=_e(a,g),[v,y]=u(!1),[x,_]=u("");return h(()=>{let j=g.current;if(j)_((j.textContent??"").trim())},[c.children]),t(g2.ItemSlot,{scope:i,disabled:s,textValue:l??x,children:t(hl,{asChild:!0,...m,focusable:!s,children:t(se.div,{role:"menuitem","data-highlighted":v?"":void 0,"aria-disabled":s||void 0,"data-disabled":s?"":void 0,...c,ref:M,onPointerMove:Y(r.onPointerMove,tR((j)=>{if(s)d.onItemLeave(j);else if(d.onItemEnter(j),!j.defaultPrevented)j.currentTarget.focus({preventScroll:!0})})),onPointerLeave:Y(r.onPointerLeave,tR((j)=>d.onItemLeave(j))),onFocus:Y(r.onFocus,()=>y(!0)),onBlur:Y(r.onBlur,()=>y(!1))})})})},"MenuItemImpl"));var pCe="MenuRadioGroup",[mCe,hCe]=Bz(pCe,{value:void 0,onValueChange:Ro(()=>{},"onValueChange")}),gCe=O(Ro(function(r,a){let{value:i,onValueChange:s,...l}=r,c=Xo(s);return t(mCe,{scope:r.__scopeMenu,value:i,onValueChange:c,children:t(dCe,{...l,ref:a})})},"MenuRadioGroup")),MCe="MenuRadioItem",vCe=O(Ro(function(r,a){let{value:i,...s}=r,l=hCe(MCe,r.__scopeMenu),c=i===l.value;return t(xCe,{scope:r.__scopeMenu,checked:c,children:t(die,{role:"menuitemradio","aria-checked":c,...s,ref:a,"data-state":AU(c),onSelect:Y(s.onSelect,()=>l.onValueChange?.(i),{checkForDefaultPrevented:!1})})})},"MenuRadioItem")),pie="MenuItemIndicator",[xCe,yCe]=Bz(pie,{checked:!1}),bCe=O(Ro(function(r,a){let{__scopeMenu:i,forceMount:s,...l}=r,c=yCe(pie,i);return t(ar,{present:s||TU(c.checked)||c.checked===!0,children:t(se.span,{...l,ref:a,"data-state":AU(c.checked)})})},"MenuItemIndicator")),_Ce=O(Ro(function(r,a){let{__scopeMenu:i,...s}=r;return t(se.div,{role:"separator","aria-orientation":"horizontal",...s,ref:a})},"MenuSeparator"));var mie="MenuSub",[wCe,hie]=Bz(mie),zCe=Ro((e)=>{let{__scopeMenu:r,children:a,open:i=!1,onOpenChange:s}=e,l=Z8(mie,r),c=n5(r),[d,m]=u(null),[g,M]=u(null),v=Xo(s);return h(()=>{if(l.open===!1)v(!1);return()=>v(!1)},[l.open,v]),t(mm,{...c,children:t(sie,{scope:r,open:i,onOpenChange:v,content:g,onContentChange:M,children:t(wCe,{scope:r,contentId:xr(),triggerId:xr(),trigger:d,onTriggerChange:m,children:a})})})},"MenuSub"),o5="MenuSubTrigger",SCe=O(Ro(function(r,a){let i=Z8(o5,r.__scopeMenu),s=M2(o5,r.__scopeMenu),l=hie(o5,r.__scopeMenu),c=IU(o5,r.__scopeMenu),d=b(null),{pointerGraceTimerRef:m,onPointerGraceIntentChange:g}=c,M={__scopeMenu:r.__scopeMenu},v=D(()=>{if(d.current)window.clearTimeout(d.current);d.current=null},[]);h(()=>v,[v]),h(()=>{let x=m.current;return()=>{window.clearTimeout(x),g(null)}},[m,g]);let y=_e(a,l.onTriggerChange);return t(lie,{asChild:!0,...M,children:t(Zie,{id:l.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?l.contentId:void 0,"data-state":PU(i.open),...r,ref:y,onClick:(x)=>{if(r.onClick?.(x),r.disabled||x.defaultPrevented)return;if(x.currentTarget.focus(),!i.open)i.onOpenChange(!0)},onPointerMove:Y(r.onPointerMove,tR((x)=>{if(c.onItemEnter(x),x.defaultPrevented)return;if(!r.disabled&&!i.open&&!d.current)c.onPointerGraceIntentChange(null),d.current=window.setTimeout(()=>{i.onOpenChange(!0),v()},100)})),onPointerLeave:Y(r.onPointerLeave,tR((x)=>{v();let _=i.content?.getBoundingClientRect();if(_){let j=i.content?.dataset.side,U=j==="right",T=U?-5:5,N=_[U?"left":"right"],G=_[U?"right":"left"];c.onPointerGraceIntentChange({area:[{x:x.clientX+T,y:x.clientY},{x:N,y:_.top},{x:G,y:_.top},{x:G,y:_.bottom},{x:N,y:_.bottom}],side:j}),window.clearTimeout(m.current),m.current=window.setTimeout(()=>c.onPointerGraceIntentChange(null),300)}else{if(c.onTriggerLeave(x),x.defaultPrevented)return;c.onPointerGraceIntentChange(null)}})),onKeyDown:Y(r.onKeyDown,(x)=>{if(r.disabled||x.target!==x.currentTarget)return;if(c.searchRef.current!==""&&x.key===" ")return;if($1e[s.dir].includes(x.key))i.onOpenChange(!0),i.content?.focus(),x.preventDefault()})})})},"MenuSubTrigger")),LCe="MenuSubContent",kCe=O(Ro(function(r,a){let i=uie(uu,r.__scopeMenu),{forceMount:s=i.forceMount,align:l="start",...c}=r,d=Z8(uu,r.__scopeMenu),m=M2(uu,r.__scopeMenu),g=hie(LCe,r.__scopeMenu),M=b(null),v=_e(a,M);return t(g2.Provider,{scope:r.__scopeMenu,children:t(ar,{present:s||d.open,children:t(g2.Slot,{scope:r.__scopeMenu,children:t(RU,{id:g.contentId,"aria-labelledby":g.triggerId,...c,ref:v,align:l,side:m.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:(y)=>{if(m.isUsingKeyboardRef.current)M.current?.focus();y.preventDefault()},onCloseAutoFocus:(y)=>y.preventDefault(),onFocusOutside:Y(r.onFocusOutside,(y)=>{if(y.target!==g.trigger)d.onOpenChange(!1)}),onEscapeKeyDown:Y(r.onEscapeKeyDown,(y)=>{m.onClose(),y.preventDefault()}),onKeyDown:Y(r.onKeyDown,(y)=>{let x=y.currentTarget.contains(y.target),_=eCe[m.dir].includes(y.key);if(x&&_)d.onOpenChange(!1),g.trigger?.focus(),y.preventDefault()})})})})})},"MenuSubContent"));function PU(e){return e?"open":"closed"}Ro(PU,"getOpenState");function TU(e){return e==="indeterminate"}Ro(TU,"isIndeterminate");function AU(e){return TU(e)?"indeterminate":e?"checked":"unchecked"}Ro(AU,"getCheckedState");function gie(e){let r=document.activeElement;for(let a of e){if(a===r)return;if(a.focus(),document.activeElement!==r)return}}Ro(gie,"focusFirst");function Mie(e,r){return e.map((a,i)=>e[(r+i)%e.length])}Ro(Mie,"wrapArray");function vie(e,r,a){let s=r.length>1&&Array.from(r).every((g)=>g===r[0])?r[0]:r,l=a?e.indexOf(a):-1,c=Mie(e,Math.max(l,0));if(s.length===1)c=c.filter((g)=>g!==a);let m=c.find((g)=>g.toLowerCase().startsWith(s.toLowerCase()));return m!==a?m:void 0}Ro(vie,"getNextMatch");function xie(e,r){let{x:a,y:i}=e,s=!1;for(let l=0,c=r.length-1;l<r.length;c=l++){let d=r[l],m=r[c],{x:g,y:M}=d,{x:v,y}=m;if(M>i!==y>i&&a<(v-g)*(i-M)/(y-M)+g)s=!s}return s}Ro(xie,"isPointInPolygon");function yie(e,r){if(!r)return!1;let a={x:e.clientX,y:e.clientY};return xie(a,r)}Ro(yie,"isPointerInGraceArea");function tR(e){return(r)=>r.pointerType==="mouse"?e(r):void 0}Ro(tR,"whenMouse");var Ku=aCe,Wu=lie,Yu=iCe,Ju=sCe;var bie=ZCe,Xu=die;var _ie=gCe,wie=vCe,zie=bCe,ed=_Ce;var td=zCe,rd=SCe,nd=kCe;S();var ICe=Object.defineProperty,Ul=(e,r)=>ICe(e,"name",{value:r,configurable:!0}),EU="DropdownMenu",[RCe,FKo]=pt(EU,[gl]),ql=gl(),[PCe,Sie]=RCe(EU),TCe=Ul((e)=>{let{__scopeDropdownMenu:r,children:a,dir:i,open:s,defaultOpen:l,onOpenChange:c,modal:d=!0}=e,m=ql(r),g=b(null),[M,v]=Ft({prop:s,defaultProp:l??!1,onChange:c,caller:EU});return t(PCe,{scope:r,triggerId:xr(),triggerRef:g,contentId:xr(),open:M,onOpenChange:v,onOpenToggle:D(()=>v((y)=>!y),[v]),modal:d,children:t(Ku,{...m,open:M,onOpenChange:v,dir:i,modal:d,children:a})})},"DropdownMenu"),ACe="DropdownMenuTrigger",ECe=O(Ul(function(r,a){let{__scopeDropdownMenu:i,disabled:s=!1,...l}=r,c=Sie(ACe,i),d=ql(i),m=_e(a,c.triggerRef);return t(Wu,{asChild:!0,...d,children:t(se.button,{type:"button",id:c.triggerId,"aria-haspopup":"menu","aria-expanded":c.open,"aria-controls":c.open?c.contentId:void 0,"data-state":c.open?"open":"closed","data-disabled":s?"":void 0,disabled:s,...l,ref:m,onPointerDown:Y(r.onPointerDown,(g)=>{if(!s&&g.button===0&&g.ctrlKey===!1){if(c.onOpenToggle(),!c.open)g.preventDefault()}}),onKeyDown:Y(r.onKeyDown,(g)=>{if(s)return;if(["Enter"," "].includes(g.key))c.onOpenToggle();if(g.key==="ArrowDown")c.onOpenChange(!0);if(["Enter"," ","ArrowDown"].includes(g.key))g.preventDefault()})})})},"DropdownMenuTrigger")),DCe=Ul((e)=>{let{__scopeDropdownMenu:r,...a}=e,i=ql(r);return t(Yu,{...i,...a})},"DropdownMenuPortal"),OCe="DropdownMenuContent",jCe=O(Ul(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=Sie(OCe,i),c=ql(i),d=b(!1);return t(Ju,{id:l.contentId,"aria-labelledby":l.triggerId,...c,...s,ref:a,onCloseAutoFocus:Y(r.onCloseAutoFocus,(m)=>{if(!d.current)l.triggerRef.current?.focus();d.current=!1,m.preventDefault()}),onInteractOutside:Y(r.onInteractOutside,(m)=>{let g=m.detail.originalEvent,M=g.button===0&&g.ctrlKey===!0,v=g.button===2||M;if(!l.modal||v)d.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 NCe=O(Ul(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=ql(i);return t(bie,{...l,...s,ref:a})},"DropdownMenuLabel")),FCe=O(Ul(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=ql(i);return t(Xu,{...l,...s,ref:a})},"DropdownMenuItem"));var BCe=O(Ul(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=ql(i);return t(_ie,{...l,...s,ref:a})},"DropdownMenuRadioGroup")),YCe=O(Ul(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=ql(i);return t(wie,{...l,...s,ref:a})},"DropdownMenuRadioItem")),UCe=O(Ul(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=ql(i);return t(zie,{...l,...s,ref:a})},"DropdownMenuItemIndicator")),qCe=O(Ul(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=ql(i);return t(ed,{...l,...s,ref:a})},"DropdownMenuSeparator"));var HCe=Ul((e)=>{let{__scopeDropdownMenu:r,children:a,open:i,onOpenChange:s,defaultOpen:l}=e,c=ql(r),[d,m]=Ft({prop:i,defaultProp:l??!1,onChange:s,caller:"DropdownMenuSub"});return t(td,{...c,open:d,onOpenChange:m,children:a})},"DropdownMenuSub"),VCe=O(Ul(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=ql(i);return t(rd,{...l,...s,ref:a})},"DropdownMenuSubTrigger")),WCe=O(Ul(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=ql(i);return t(nd,{...l,...s,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")),GCe=TCe,KCe=ECe,Lie=DCe,XCe=jCe;var QCe=NCe,JCe=FCe;var $Ce=BCe,eIe=YCe,tIe=UCe,rIe=qCe;var oIe=HCe,aIe=VCe,nIe=WCe;S();var iIe=Object.defineProperty,fIe=(e,r)=>iIe(e,"name",{value:r,configurable:!0}),sIe=O(fIe(function(r,a){return t(se.label,{...r,ref:a,onMouseDown:(i)=>{if(i.target.closest("button, input, select, textarea"))return;if(r.onMouseDown?.(i),!i.defaultPrevented&&i.detail>1)i.preventDefault()}})},"Label")),lIe=sIe;S();var cIe=Object.defineProperty,p8=(e,r)=>cIe(e,"name",{value:r,configurable:!0}),DU="Popover",[Iie,nXo]=pt(DU,[pc]),OU=pc(),[uIe,rR]=Iie(DU),dIe=p8((e)=>{let{__scopePopover:r,children:a,open:i,defaultOpen:s,onOpenChange:l,modal:c=!1}=e,d=OU(r),m=b(null),[g,M]=u(!1),[v,y]=Ft({prop:i,defaultProp:s??!1,onChange:l,caller:DU});return t(mm,{...d,children:t(uIe,{scope:r,contentId:xr(),triggerRef:m,open:v,onOpenChange:y,onOpenToggle:D(()=>y((x)=>!x),[y]),hasCustomAnchor:g,onCustomAnchorAdd:D(()=>M(!0),[]),onCustomAnchorRemove:D(()=>M(!1),[]),modal:c,children:a})})},"Popover");var ZIe="PopoverTrigger",pIe=O(p8(function(r,a){let{__scopePopover:i,...s}=r,l=rR(ZIe,i),c=OU(i),d=_e(a,l.triggerRef),m=t(se.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":jU(l.open),...s,ref:d,onClick:Y(r.onClick,l.onOpenToggle)});return l.hasCustomAnchor?m:t(u8,{asChild:!0,...c,children:m})},"PopoverTrigger")),Rie="PopoverPortal",[mIe,hIe]=Iie(Rie,{forceMount:void 0}),gIe=p8((e)=>{let{__scopePopover:r,forceMount:a,children:i,container:s}=e,l=rR(Rie,r);return t(mIe,{scope:r,forceMount:a,children:t(ar,{present:a||l.open,children:t(iZ,{asChild:!0,container:s,children:i})})})},"PopoverPortal"),v2="PopoverContent",MIe=O(p8(function(r,a){let i=hIe(v2,r.__scopePopover),{forceMount:s=i.forceMount,...l}=r,c=rR(v2,r.__scopePopover);return t(ar,{present:s||c.open,children:c.modal?t(xIe,{...l,ref:a}):t(yIe,{...l,ref:a})})},"PopoverContent")),vIe=Pi("PopoverContent.RemoveScroll"),xIe=O(p8(function(r,a){let i=rR(v2,r.__scopePopover),s=b(null),l=_e(a,s),c=b(!1);return h(()=>{let d=s.current;if(d)return l8(d)},[]),t($Z,{as:vIe,allowPinchZoom:!0,children:t(Pie,{...r,ref:l,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Y(r.onCloseAutoFocus,(d)=>{if(d.preventDefault(),!c.current)i.triggerRef.current?.focus()}),onPointerDownOutside:Y(r.onPointerDownOutside,(d)=>{let m=d.detail.originalEvent,g=m.button===0&&m.ctrlKey===!0,M=m.button===2||g;c.current=M},{checkForDefaultPrevented:!1}),onFocusOutside:Y(r.onFocusOutside,(d)=>d.preventDefault(),{checkForDefaultPrevented:!1})})})},"PopoverContentModal")),yIe=O(p8(function(r,a){let i=rR(v2,r.__scopePopover),s=b(!1),l=b(!1);return t(Pie,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:(c)=>{if(r.onCloseAutoFocus?.(c),!c.defaultPrevented){if(!s.current)i.triggerRef.current?.focus();c.preventDefault()}s.current=!1,l.current=!1},onInteractOutside:(c)=>{if(r.onInteractOutside?.(c),!c.defaultPrevented){if(s.current=!0,c.detail.originalEvent.type==="pointerdown")l.current=!0}let d=c.target;if(i.triggerRef.current?.contains(d))c.preventDefault();if(c.detail.originalEvent.type==="focusin"&&l.current)c.preventDefault()}})},"PopoverContentNonModal")),Pie=O(p8(function(r,a){let{__scopePopover:i,trapFocus:s,onOpenAutoFocus:l,onCloseAutoFocus:c,disableOutsidePointerEvents:d,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:M,onInteractOutside:v,...y}=r,x=rR(v2,i),_=OU(i);return fZ(),t(s8,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:l,onUnmountAutoFocus:c,children:t(nZ,{asChild:!0,disableOutsidePointerEvents:d,onInteractOutside:v,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:M,onDismiss:()=>x.onOpenChange(!1),deferPointerDownOutside:!0,children:t(d8,{"data-state":jU(x.open),role:"dialog",id:x.contentId,..._,...y,ref:a,style:{...y.style,...{"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}})})})},"PopoverContentImpl"));function jU(e){return e?"open":"closed"}p8(jU,"getState");var bIe=dIe;var _Ie=pIe,wIe=gIe,zIe=MIe;S();var SIe=Object.defineProperty,hm=(e,r)=>SIe(e,"name",{value:r,configurable:!0}),Aie="Progress",BU=100,[LIe,lXo]=pt(Aie),[kIe,CIe]=LIe(Aie),IIe=O(hm(function(r,a){let{__scopeProgress:i,value:s=null,max:l,getValueLabel:c=Eie,...d}=r;if((l||l===0)&&!NU(l))console.error(Die(`${l}`,"Progress"));let m=NU(l)?l:BU;if(s!==null&&!FU(s,m))console.error(Oie(`${s}`,"Progress"));let g=FU(s,m)?s:null,M=x2(g)?c(g,m):void 0;return t(kIe,{scope:i,value:g,max:m,children:t(se.div,{"aria-valuemax":m,"aria-valuemin":0,"aria-valuenow":x2(g)?g:void 0,"aria-valuetext":M,role:"progressbar","data-state":YU(g,m),"data-value":g??void 0,"data-max":m,...d,ref:a})})},"Progress")),RIe="ProgressIndicator",PIe=O(hm(function(r,a){let{__scopeProgress:i,...s}=r,l=CIe(RIe,i);return t(se.div,{"data-state":YU(l.value,l.max),"data-value":l.value??void 0,"data-max":l.max,...s,ref:a})},"ProgressIndicator"));function Eie(e,r){return`${Math.round(e/r*100)}%`}hm(Eie,"defaultGetValueLabel");function YU(e,r){return e==null?"indeterminate":e===r?"complete":"loading"}hm(YU,"getProgressState");function x2(e){return typeof e==="number"}hm(x2,"isNumber");function NU(e){return x2(e)&&!isNaN(e)&&e>0}hm(NU,"isValidMaxNumber");function FU(e,r){return x2(e)&&!isNaN(e)&&e<=r&&e>=0}hm(FU,"isValidValueNumber");function Die(e,r){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${r}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${BU}\`.`}hm(Die,"getInvalidMaxError");function Oie(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 ${BU} if no \`max\` prop is set)
58
+ - \`null\` or \`undefined\` if the progress is indeterminate.
59
+
60
+ Defaulting to \`null\`.`}hm(Oie,"getInvalidValueError");var TIe=IIe,AIe=PIe;S();var EIe=Object.defineProperty,DIe=(e,r)=>EIe(e,"name",{value:r,configurable:!0});function mi(e,[r,a]){return Math.min(a,Math.max(r,e))}DIe(mi,"clamp");S();var OIe=Object.defineProperty,yo=(e,r)=>OIe(e,"name",{value:r,configurable:!0});function Nie(e,r){return en((a,i)=>r[a][i]??a,e)}yo(Nie,"useStateMachine");var Fie="ScrollArea",[Bie,yXo]=pt(Fie),[jIe,mc]=Bie(Fie),NIe=O(yo(function(r,a){let{__scopeScrollArea:i,type:s="hover",dir:l,scrollHideDelay:c=600,...d}=r,[m,g]=u(null),[M,v]=u(null),[y,x]=u(null),[_,j]=u(null),[U,T]=u(null),[N,G]=u(0),[X,J]=u(0),[ee,re]=u(!1),[oe,ie]=u(!1),ye=_e(a,g),We=Hn(l);return t(jIe,{scope:i,type:s,dir:We,scrollHideDelay:c,scrollArea:m,viewport:M,onViewportChange:v,content:y,onContentChange:x,scrollbarX:_,onScrollbarXChange:j,scrollbarXEnabled:ee,onScrollbarXEnabledChange:re,scrollbarY:U,onScrollbarYChange:T,scrollbarYEnabled:oe,onScrollbarYEnabledChange:ie,onCornerWidthChange:G,onCornerHeightChange:J,children:t(se.div,{dir:We,...d,ref:ye,style:{position:"relative","--radix-scroll-area-corner-width":N+"px","--radix-scroll-area-corner-height":X+"px",...r.style}})})},"ScrollArea")),FIe="ScrollAreaViewport",BIe=O(yo(function(r,a){let{__scopeScrollArea:i,children:s,nonce:l,...c}=r,d=mc(FIe,i),m=b(null),g=_e(a,m,d.onViewportChange);return o(L,{children:[t(YIe,{nonce:l}),t(se.div,{"data-radix-scroll-area-viewport":"",...c,ref:g,style:{overflowX:d.scrollbarXEnabled?"scroll":"hidden",overflowY:d.scrollbarYEnabled?"scroll":"hidden",...r.style},children:t("div",{ref:d.onContentChange,style:{minWidth:"100%",display:"table"},children:s})})]})},"ScrollAreaViewport")),YIe=Bn(yo(function({nonce:r}){return t("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:r})},"ScrollAreaViewportStyle"),(e,r)=>e.nonce===r.nonce),gm="ScrollAreaScrollbar",UIe=O(yo(function(r,a){let{forceMount:i,...s}=r,l=mc(gm,r.__scopeScrollArea),{onScrollbarXEnabledChange:c,onScrollbarYEnabledChange:d}=l,m=r.orientation==="horizontal";return h(()=>(m?c(!0):d(!0),()=>{m?c(!1):d(!1)}),[m,c,d]),l.type==="hover"?t(qIe,{...s,ref:a,forceMount:i}):l.type==="scroll"?t(HIe,{...s,ref:a,forceMount:i}):l.type==="auto"?t(Yie,{...s,ref:a,forceMount:i}):l.type==="always"?t(HU,{...s,ref:a,"data-state":"visible"}):null},"ScrollAreaScrollbar")),qIe=O(yo(function(r,a){let{forceMount:i,...s}=r,l=mc(gm,r.__scopeScrollArea),[c,d]=u(!1);return h(()=>{let m=l.scrollArea,g=0;if(m){let M=yo(()=>{window.clearTimeout(g),d(!0)},"handlePointerEnter"),v=yo(()=>{g=window.setTimeout(()=>d(!1),l.scrollHideDelay)},"handlePointerLeave");return m.addEventListener("pointerenter",M),m.addEventListener("pointerleave",v),()=>{window.clearTimeout(g),m.removeEventListener("pointerenter",M),m.removeEventListener("pointerleave",v)}}},[l.scrollArea,l.scrollHideDelay]),t(ar,{present:i||c,children:t(Yie,{"data-state":c?"visible":"hidden",...s,ref:a})})},"ScrollAreaScrollbarHover")),HIe=O(yo(function(r,a){let{forceMount:i,...s}=r,l=mc(gm,r.__scopeScrollArea),c=r.orientation==="horizontal",d=_2(()=>g("SCROLL_END"),100),[m,g]=Nie("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"),l.scrollHideDelay);return()=>window.clearTimeout(M)}},[m,l.scrollHideDelay,g]),h(()=>{let M=l.viewport,v=c?"scrollLeft":"scrollTop";if(M){let y=M[v],x=yo(()=>{let _=M[v];if(y!==_)g("SCROLL"),d();y=_},"handleScroll");return M.addEventListener("scroll",x),()=>M.removeEventListener("scroll",x)}},[l.viewport,c,g,d]),t(ar,{present:i||m!=="hidden",children:t(HU,{"data-state":m==="hidden"?"hidden":"visible",...s,ref:a,onPointerEnter:Y(r.onPointerEnter,()=>g("POINTER_ENTER")),onPointerLeave:Y(r.onPointerLeave,()=>g("POINTER_LEAVE"))})})},"ScrollAreaScrollbarScroll")),Yie=O(yo(function(r,a){let i=mc(gm,r.__scopeScrollArea),{forceMount:s,...l}=r,[c,d]=u(!1),m=r.orientation==="horizontal",g=_2(()=>{if(i.viewport){let M=i.viewport.offsetWidth<i.viewport.scrollWidth,v=i.viewport.offsetHeight<i.viewport.scrollHeight;d(m?M:v)}},10);return Yz(i.viewport,g),Yz(i.content,g),t(ar,{present:s||c,children:t(HU,{"data-state":c?"visible":"hidden",...l,ref:a})})},"ScrollAreaScrollbarAuto")),HU=O(yo(function(r,a){let{orientation:i="vertical",...s}=r,l=mc(gm,r.__scopeScrollArea),c=b(null),d=b(0),[m,g]=u({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),M=VU(m.viewport,m.content),v={...s,sizes:m,onSizesChange:g,hasThumb:Boolean(M>0&&M<1),onThumbChange:yo((x)=>c.current=x,"onThumbChange"),onThumbPointerUp:yo(()=>d.current=0,"onThumbPointerUp"),onThumbPointerDown:yo((x)=>d.current=x,"onThumbPointerDown")};function y(x,_){return Vie(x,d.current,m,_)}if(yo(y,"getScrollPosition"),i==="horizontal")return t(VIe,{...v,ref:a,onThumbPositionChange:()=>{if(l.viewport&&c.current){let x=l.viewport.scrollLeft,_=qU(x,m,l.dir);c.current.style.transform=`translate3d(${_}px, 0, 0)`}},onWheelScroll:(x)=>{if(l.viewport)l.viewport.scrollLeft=x},onDragScroll:(x)=>{if(l.viewport)l.viewport.scrollLeft=y(x,l.dir)}});if(i==="vertical")return t(WIe,{...v,ref:a,onThumbPositionChange:()=>{if(l.viewport&&c.current){let x=l.viewport.scrollTop,_=qU(x,m);c.current.style.transform=`translate3d(0, ${_}px, 0)`}},onWheelScroll:(x)=>{if(l.viewport)l.viewport.scrollTop=x},onDragScroll:(x)=>{if(l.viewport)l.viewport.scrollTop=y(x)}});return null},"ScrollAreaScrollbarVisible")),VIe=O(yo(function(r,a){let{sizes:i,onSizesChange:s,...l}=r,c=mc(gm,r.__scopeScrollArea),[d,m]=u(),g=b(null),M=_e(a,g,c.onScrollbarXChange);return h(()=>{if(g.current)m(getComputedStyle(g.current))},[g]),t(qie,{"data-orientation":"horizontal",...l,ref:M,sizes:i,style:{bottom:0,left:c.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:c.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":b2(i)+"px",...r.style},onThumbPointerDown:(v)=>r.onThumbPointerDown(v.x),onDragScroll:(v)=>r.onDragScroll(v.x),onWheelScroll:(v,y)=>{if(c.viewport){let x=c.viewport.scrollLeft+v.deltaX;if(r.onWheelScroll(x),GU(x,y))v.preventDefault()}},onResize:()=>{if(g.current&&c.viewport&&d)s({content:c.viewport.scrollWidth,viewport:c.viewport.offsetWidth,scrollbar:{size:g.current.clientWidth,paddingStart:y2(d.paddingLeft),paddingEnd:y2(d.paddingRight)}})}})},"ScrollAreaScrollbarX")),WIe=O(yo(function(r,a){let{sizes:i,onSizesChange:s,...l}=r,c=mc(gm,r.__scopeScrollArea),[d,m]=u(),g=b(null),M=_e(a,g,c.onScrollbarYChange);return h(()=>{if(g.current)m(getComputedStyle(g.current))},[g]),t(qie,{"data-orientation":"vertical",...l,ref:M,sizes:i,style:{top:0,right:c.dir==="ltr"?0:void 0,left:c.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":b2(i)+"px",...r.style},onThumbPointerDown:(v)=>r.onThumbPointerDown(v.y),onDragScroll:(v)=>r.onDragScroll(v.y),onWheelScroll:(v,y)=>{if(c.viewport){let x=c.viewport.scrollTop+v.deltaY;if(r.onWheelScroll(x),GU(x,y))v.preventDefault()}},onResize:()=>{if(g.current&&c.viewport&&d)s({content:c.viewport.scrollHeight,viewport:c.viewport.offsetHeight,scrollbar:{size:g.current.clientHeight,paddingStart:y2(d.paddingTop),paddingEnd:y2(d.paddingBottom)}})}})},"ScrollAreaScrollbarY")),[GIe,Uie]=Bie(gm),qie=O(yo(function(r,a){let{__scopeScrollArea:i,sizes:s,hasThumb:l,onThumbChange:c,onThumbPointerUp:d,onThumbPointerDown:m,onThumbPositionChange:g,onDragScroll:M,onWheelScroll:v,onResize:y,...x}=r,_=mc(gm,i),[j,U]=u(null),T=_e(a,U),N=b(null),G=b(""),X=_.viewport,J=s.content-s.viewport,ee=Xo(v),re=Xo(g),oe=_2(y,10);function ie(ye){if(N.current){let We=ye.clientX-N.current.left,Ye=ye.clientY-N.current.top;M({x:We,y:Ye})}}return yo(ie,"handleDragScroll"),h(()=>{let ye=yo((We)=>{let Ye=We.target;if(j?.contains(Ye))ee(We,J)},"handleWheel");return document.addEventListener("wheel",ye,{passive:!1}),()=>document.removeEventListener("wheel",ye,{passive:!1})},[X,j,J,ee]),h(re,[s,re]),Yz(j,oe),Yz(_.content,oe),t(GIe,{scope:i,scrollbar:j,hasThumb:l,onThumbChange:Xo(c),onThumbPointerUp:Xo(d),onThumbPositionChange:re,onThumbPointerDown:Xo(m),children:t(se.div,{...x,ref:T,style:{position:"absolute",...x.style},onPointerDown:Y(r.onPointerDown,(ye)=>{if(ye.button===0){if(ye.target.setPointerCapture(ye.pointerId),N.current=j.getBoundingClientRect(),G.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",_.viewport)_.viewport.style.scrollBehavior="auto";ie(ye)}}),onPointerMove:Y(r.onPointerMove,ie),onPointerUp:Y(r.onPointerUp,(ye)=>{let We=ye.target;if(We.hasPointerCapture(ye.pointerId))We.releasePointerCapture(ye.pointerId);if(document.body.style.webkitUserSelect=G.current,_.viewport)_.viewport.style.scrollBehavior="";N.current=null})})})},"ScrollAreaScrollbarImpl")),UU="ScrollAreaThumb",KIe=O(yo(function(r,a){let{forceMount:i,...s}=r,l=Uie(UU,r.__scopeScrollArea);return t(ar,{present:i||l.hasThumb,children:t(XIe,{ref:a,...s})})},"ScrollAreaThumb")),XIe=O(yo(function(r,a){let{__scopeScrollArea:i,style:s,...l}=r,c=mc(UU,i),d=Uie(UU,i),{onThumbPositionChange:m}=d,g=_e(a,d.onThumbChange),M=b(void 0),v=_2(()=>{if(M.current)M.current(),M.current=void 0},100);return h(()=>{let y=c.viewport;if(y){let x=yo(()=>{if(v(),!M.current){let _=$Ie(y,m);M.current=_,m()}},"handleScroll");return m(),y.addEventListener("scroll",x),()=>y.removeEventListener("scroll",x)}},[c.viewport,v,m]),t(se.div,{"data-state":d.hasThumb?"visible":"hidden",...l,ref:g,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...s},onPointerDownCapture:Y(r.onPointerDownCapture,(y)=>{let _=y.target.getBoundingClientRect(),j=y.clientX-_.left,U=y.clientY-_.top;d.onThumbPointerDown({x:j,y:U})}),onPointerUp:Y(r.onPointerUp,d.onThumbPointerUp)})},"ScrollAreaThumbImpl")),Hie="ScrollAreaCorner",QIe=O(yo(function(r,a){let i=mc(Hie,r.__scopeScrollArea),s=Boolean(i.scrollbarX&&i.scrollbarY);return i.type!=="scroll"&&s?t(JIe,{...r,ref:a}):null},"ScrollAreaCorner")),JIe=O(yo(function(r,a){let{__scopeScrollArea:i,...s}=r,l=mc(Hie,i),[c,d]=u(0),[m,g]=u(0),M=Boolean(c&&m),{onCornerWidthChange:v,onCornerHeightChange:y}=l;return Yz(l.scrollbarX,()=>{let x=l.scrollbarX?.offsetHeight||0;l.onCornerHeightChange(x),g(x)}),Yz(l.scrollbarY,()=>{let x=l.scrollbarY?.offsetWidth||0;l.onCornerWidthChange(x),d(x)}),h(()=>()=>{v(0),y(0)},[v,y]),M?t(se.div,{...s,ref:a,style:{width:c,height:m,position:"absolute",right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:0,...r.style}}):null},"ScrollAreaCornerImpl"));function y2(e){return e?parseInt(e,10):0}yo(y2,"toInt");function VU(e,r){let a=e/r;return isNaN(a)?0:a}yo(VU,"getThumbRatio");function b2(e){let r=VU(e.viewport,e.content),a=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,i=(e.scrollbar.size-a)*r;return Math.max(i,18)}yo(b2,"getThumbSize");function Vie(e,r,a,i="ltr"){let s=b2(a),l=s/2,c=r||l,d=s-c,m=a.scrollbar.paddingStart+c,g=a.scrollbar.size-a.scrollbar.paddingEnd-d,M=a.content-a.viewport,v=i==="ltr"?[0,M]:[M*-1,0];return WU([m,g],v)(e)}yo(Vie,"getScrollPositionFromPointer");function qU(e,r,a="ltr"){let i=b2(r),s=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,l=r.scrollbar.size-s,c=r.content-r.viewport,d=l-i,m=a==="ltr"?[0,c]:[c*-1,0],g=mi(e,m);return WU([0,c],[0,d])(g)}yo(qU,"getThumbOffsetFromScroll");function WU(e,r){return(a)=>{if(e[0]===e[1]||r[0]===r[1])return r[0];let i=(r[1]-r[0])/(e[1]-e[0]);return r[0]+i*(a-e[0])}}yo(WU,"linearScale");function GU(e,r){return e>0&&e<r}yo(GU,"isScrollingWithinScrollbarBounds");var $Ie=yo((e,r=()=>{})=>{let a={left:e.scrollLeft,top:e.scrollTop},i=0;return yo(function s(){let l={left:e.scrollLeft,top:e.scrollTop},c=a.left!==l.left,d=a.top!==l.top;if(c||d)r();a=l,i=window.requestAnimationFrame(s)},"loop")(),()=>window.cancelAnimationFrame(i)},"addUnlinkedScrollListener");function _2(e,r){let a=Xo(e),i=b(0);return h(()=>()=>window.clearTimeout(i.current),[]),D(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(a,r)},[a,r])}yo(_2,"useDebounceCallback");function Yz(e,r){let a=Xo(r);Mt(()=>{let i=0;if(e){let s=new ResizeObserver(()=>{cancelAnimationFrame(i),i=window.requestAnimationFrame(a)});return s.observe(e),()=>{window.cancelAnimationFrame(i),s.unobserve(e)}}},[e,a])}yo(Yz,"useResizeObserver");var eRe=NIe,tRe=BIe;var rRe=QIe;S();S();var oRe=Object.defineProperty,aRe=(e,r)=>oRe(e,"name",{value:r,configurable:!0});function Mc(e){let r=b({value:e,previous:e});return P(()=>{if(r.current.value!==e)r.current.previous=r.current.value,r.current.value=e;return r.current.previous},[e])}aRe(Mc,"usePrevious");S();var nRe=Object.defineProperty,iRe=(e,r)=>nRe(e,"name",{value:r,configurable:!0}),KU=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"}),fRe=O(iRe(function(r,a){return t(se.span,{...r,ref:a,style:{...KU,...r.style}})},"VisuallyHidden")),Gie=fRe;var lRe=Object.defineProperty,Ao=(e,r)=>lRe(e,"name",{value:r,configurable:!0}),cRe=[" ","Enter","ArrowUp","ArrowDown"],uRe=[" ","Enter"],oR="Select",[f5,s5,dRe]=fi(oR),[qz,GXo]=pt(oR,[dRe,pc]),QU=pc(),[ZRe,m8]=qz(oR),[pRe,mRe]=qz(oR);function $ie(e){let{__scopeSelect:r,children:a,open:i,defaultOpen:s,onOpenChange:l,value:c,defaultValue:d,onValueChange:m,dir:g,name:M,autoComplete:v,disabled:y,required:x,form:_,internal_do_not_use_render:j}=e,U=QU(r),[T,N]=u(null),[G,X]=u(null),[J,ee]=u(!1),re=Hn(g),[oe,ie]=Ft({prop:i,defaultProp:s??!1,onChange:l,caller:oR}),[ye,We]=Ft({prop:c,defaultProp:d,onChange:m,caller:oR}),Ye=b(null),Se=b(ye);h(()=>{let Wt=_?T?.ownerDocument.getElementById(_):T?.form;if(Wt instanceof HTMLFormElement){let je=Ao(()=>We(Se.current),"reset");return Wt.addEventListener("reset",je),()=>Wt.removeEventListener("reset",je)}},[_,T,We]);let He=T?!!_||!!T.closest("form"):!0,[ut,Ke]=u(new Set),yt=xr(),At=Array.from(ut).map((Wt)=>Wt.props.value).join(";"),jt=D((Wt)=>{Ke((je)=>new Set(je).add(Wt))},[]),de=D((Wt)=>{Ke((je)=>{let sr=new Set(je);return sr.delete(Wt),sr})},[]),bt={required:x,trigger:T,onTriggerChange:N,valueNode:G,onValueNodeChange:X,valueNodeHasChildren:J,onValueNodeHasChildrenChange:ee,contentId:yt,value:ye,onValueChange:We,open:oe,onOpenChange:ie,dir:re,triggerPointerDownPosRef:Ye,disabled:y,name:M,autoComplete:v,form:_,nativeOptions:ut,nativeSelectKey:At,isFormControl:He};return t(mm,{...U,children:t(ZRe,{scope:r,...bt,children:t(f5.Provider,{scope:r,children:t(pRe,{scope:r,onNativeOptionAdd:jt,onNativeOptionRemove:de,children:ofe(j)?j(bt):a})})})})}Ao($ie,"SelectProvider");var hRe=Ao((e)=>{let{__scopeSelect:r,children:a,...i}=e;return t($ie,{__scopeSelect:r,...i,internal_do_not_use_render:({isFormControl:s})=>o(L,{children:[a,s?t(YRe,{__scopeSelect:r}):null]})})},"Select"),gRe="SelectTrigger",MRe=O(Ao(function(r,a){let{__scopeSelect:i,disabled:s=!1,...l}=r,c=QU(i),d=m8(gRe,i),m=d.disabled||s,g=_e(a,d.onTriggerChange),M=s5(i),v=b("touch"),[y,x,_]=$U((U)=>{let T=M().filter((X)=>!X.disabled),N=T.find((X)=>X.value===d.value),G=eq(T,U,N);if(G!==void 0)d.onValueChange(G.value)}),j=Ao((U)=>{if(!m)d.onOpenChange(!0),_();if(U)d.triggerPointerDownPosRef.current={x:Math.round(U.pageX),y:Math.round(U.pageY)}},"handleOpen");return t(u8,{asChild:!0,...c,children:t(se.button,{type:"button",role:"combobox","aria-controls":d.open?d.contentId:void 0,"aria-expanded":d.open,"aria-required":d.required,"aria-autocomplete":"none",dir:d.dir,"data-state":d.open?"open":"closed",disabled:m,"data-disabled":m?"":void 0,"data-placeholder":w2(d.value)?"":void 0,...l,ref:g,onClick:Y(l.onClick,(U)=>{if(U.currentTarget.focus(),v.current!=="mouse")j(U)}),onPointerDown:Y(l.onPointerDown,(U)=>{v.current=U.pointerType;let T=U.target;if(T.hasPointerCapture(U.pointerId))T.releasePointerCapture(U.pointerId);if(U.button===0&&U.ctrlKey===!1&&U.pointerType==="mouse")j(U),U.preventDefault()}),onKeyDown:Y(l.onKeyDown,(U)=>{let T=y.current!=="";if(!(U.ctrlKey||U.altKey||U.metaKey)&&U.key.length===1)x(U.key);if(T&&U.key===" ")return;if(cRe.includes(U.key))j(),U.preventDefault()})})})},"SelectTrigger")),vRe="SelectValue",xRe=O(Ao(function(r,a){let{__scopeSelect:i,className:s,style:l,children:c,placeholder:d="",...m}=r,g=m8(vRe,i),{onValueNodeHasChildrenChange:M}=g,v=c!==void 0,y=_e(a,g.onValueNodeChange);Mt(()=>{M(v)},[M,v]);let x=w2(g.value);return t(se.span,{...m,asChild:x?!1:m.asChild,ref:y,style:{pointerEvents:"none"},children:t(Cn,{children:x?d:c},x?"placeholder":"value")})},"SelectValue")),yRe=O(Ao(function(r,a){let{__scopeSelect:i,children:s,...l}=r;return t(se.span,{"aria-hidden":!0,...l,ref:a,children:s||"▼"})},"SelectIcon")),bRe="SelectPortal",[_Re,wRe]=qz(bRe,{forceMount:void 0}),zRe=Ao((e)=>{let{__scopeSelect:r,forceMount:a,...i}=e;return t(_Re,{scope:e.__scopeSelect,forceMount:a,children:t(iZ,{asChild:!0,...i})})},"SelectPortal"),Uz="SelectContent",SRe=O(Ao(function(r,a){let i=wRe(Uz,r.__scopeSelect),{forceMount:s=i.forceMount,...l}=r,c=m8(Uz,r.__scopeSelect),[d,m]=u();return Mt(()=>{m(new DocumentFragment)},[]),t(ar,{present:s||c.open,children:({present:g})=>g?t(CRe,{...l,ref:a}):t(LRe,{...l,fragment:d})})},"SelectContent")),LRe=O(Ao(function(r,a){let{__scopeSelect:i,children:s,fragment:l}=r;if(!l)return null;return Ki(t(efe,{scope:i,children:t(f5.Slot,{scope:i,children:t("div",{ref:a,children:s})})}),l)},"SelectContentFragment")),du=10,[efe,Hz]=qz(Uz),kRe=Pi("SelectContent.RemoveScroll"),CRe=O(Ao(function(r,a){let{__scopeSelect:i}=r,{position:s="item-aligned",onCloseAutoFocus:l,onEscapeKeyDown:c,onPointerDownOutside:d,side:m,sideOffset:g,align:M,alignOffset:v,arrowPadding:y,collisionBoundary:x,collisionPadding:_,sticky:j,hideWhenDetached:U,avoidCollisions:T,...N}=r,G=m8(Uz,i),[X,J]=u(null),[ee,re]=u(null),oe=_e(a,J),[ie,ye]=u(null),[We,Ye]=u(null),Se=s5(i),[He,ut]=u(!1),Ke=b(!1);h(()=>{if(X)return l8(X)},[X]),fZ();let yt=D((Gt)=>{let[Qt,...Tr]=Se().map((dr)=>dr.ref.current),[Cr]=Tr.slice(-1),Ar=document.activeElement;for(let dr of Gt){if(dr===Ar)return;if(dr?.scrollIntoView({block:"nearest"}),dr===Qt&&ee)ee.scrollTop=0;if(dr===Cr&&ee)ee.scrollTop=ee.scrollHeight;if(dr?.focus(),document.activeElement!==Ar)return}},[Se,ee]),At=D(()=>yt([ie,X]),[yt,ie,X]);h(()=>{if(He)At()},[He,At]);let{onOpenChange:jt,triggerPointerDownPosRef:de}=G;h(()=>{if(X){let Gt={x:0,y:0},Qt=Ao((Cr)=>{Gt={x:Math.abs(Math.round(Cr.pageX)-(de.current?.x??0)),y:Math.abs(Math.round(Cr.pageY)-(de.current?.y??0))}},"handlePointerMove"),Tr=Ao((Cr)=>{if(Gt.x<=10&&Gt.y<=10)Cr.preventDefault();else if(!Cr.composedPath().includes(X))jt(!1);document.removeEventListener("pointermove",Qt),de.current=null},"handlePointerUp");if(de.current!==null)document.addEventListener("pointermove",Qt),document.addEventListener("pointerup",Tr,{capture:!0,once:!0});return()=>{document.removeEventListener("pointermove",Qt),document.removeEventListener("pointerup",Tr,{capture:!0})}}},[X,jt,de]),h(()=>{let Gt=Ao(()=>jt(!1),"close");return window.addEventListener("blur",Gt),window.addEventListener("resize",Gt),()=>{window.removeEventListener("blur",Gt),window.removeEventListener("resize",Gt)}},[jt]);let[bt,Wt]=$U((Gt)=>{let Qt=Se().filter((Ar)=>!Ar.disabled),Tr=Qt.find((Ar)=>Ar.ref.current===document.activeElement),Cr=eq(Qt,Gt,Tr);if(Cr)setTimeout(()=>Cr.ref.current?.focus())}),je=D((Gt,Qt,Tr)=>{let Cr=!Ke.current&&!Tr;if(G.value!==void 0&&G.value===Qt||Cr){if(ye(Gt),Cr)Ke.current=!0}},[G.value]),sr=D(()=>X?.focus(),[X]),cr=D((Gt,Qt,Tr)=>{let Cr=!Ke.current&&!Tr;if(G.value!==void 0&&G.value===Qt||Cr)Ye(Gt)},[G.value]),rr=s==="popper"?Kie:IRe,Or=rr===Kie?{side:m,sideOffset:g,align:M,alignOffset:v,arrowPadding:y,collisionBoundary:x,collisionPadding:_,sticky:j,hideWhenDetached:U,avoidCollisions:T}:{};return t(efe,{scope:i,content:X,viewport:ee,onViewportChange:re,itemRefCallback:je,selectedItem:ie,onItemLeave:sr,itemTextRefCallback:cr,focusSelectedItem:At,selectedItemText:We,position:s,isPositioned:He,searchRef:bt,children:t($Z,{as:kRe,allowPinchZoom:!0,children:t(s8,{asChild:!0,trapped:G.open,onMountAutoFocus:(Gt)=>{Gt.preventDefault()},onUnmountAutoFocus:Y(l,(Gt)=>{G.trigger?.focus({preventScroll:!0}),Gt.preventDefault()}),children:t(nZ,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:(Gt)=>Gt.preventDefault(),onDismiss:()=>G.onOpenChange(!1),children:t(rr,{role:"listbox",id:G.contentId,"data-state":G.open?"open":"closed",dir:G.dir,onContextMenu:(Gt)=>Gt.preventDefault(),...N,...Or,onPlaced:()=>ut(!0),ref:oe,style:{display:"flex",flexDirection:"column",outline:"none",...N.style},onKeyDown:Y(N.onKeyDown,(Gt)=>{let Qt=Gt.ctrlKey||Gt.altKey||Gt.metaKey;if(Gt.key==="Tab")Gt.preventDefault();if(!Qt&&Gt.key.length===1)Wt(Gt.key);if(["ArrowUp","ArrowDown","Home","End"].includes(Gt.key)){let Cr=Se().filter((Ar)=>!Ar.disabled).map((Ar)=>Ar.ref.current);if(["ArrowUp","End"].includes(Gt.key))Cr=Cr.slice().reverse();if(["ArrowUp","ArrowDown"].includes(Gt.key)){let Ar=Gt.target,dr=Cr.indexOf(Ar);Cr=Cr.slice(dr+1)}setTimeout(()=>yt(Cr)),Gt.preventDefault()}})})})})})})},"SelectContentImpl")),IRe=O(Ao(function(r,a){let{__scopeSelect:i,onPlaced:s,...l}=r,c=m8(Uz,i),d=Hz(Uz,i),[m,g]=u(null),[M,v]=u(null),y=_e(a,v),x=s5(i),_=b(!1),j=b(!0),{viewport:U,selectedItem:T,selectedItemText:N,focusSelectedItem:G}=d,X=D(()=>{if(c.trigger&&c.valueNode&&m&&M&&U&&T&&N){let oe=c.trigger.getBoundingClientRect(),ie=M.getBoundingClientRect(),ye=c.valueNode.getBoundingClientRect(),We=N.getBoundingClientRect();if(c.dir!=="rtl"){let Ar=We.left-ie.left,dr=ye.left-Ar,uo=oe.left-dr,lo=oe.width+uo,da=Math.max(lo,ie.width),ir=window.innerWidth-du,io=mi(dr,[du,Math.max(du,ir-da)]);m.style.minWidth=lo+"px",m.style.left=io+"px"}else{let Ar=ie.right-We.right,dr=window.innerWidth-ye.right-Ar,uo=window.innerWidth-oe.right-dr,lo=oe.width+uo,da=Math.max(lo,ie.width),ir=window.innerWidth-du,io=mi(dr,[du,Math.max(du,ir-da)]);m.style.minWidth=lo+"px",m.style.right=io+"px"}let Ye=x(),Se=window.innerHeight-du*2,He=U.scrollHeight,ut=window.getComputedStyle(M),Ke=parseInt(ut.borderTopWidth,10),yt=parseInt(ut.paddingTop,10),At=parseInt(ut.borderBottomWidth,10),jt=parseInt(ut.paddingBottom,10),de=Ke+yt+He+jt+At,bt=Math.min(T.offsetHeight*5,de),Wt=window.getComputedStyle(U),je=parseInt(Wt.paddingTop,10),sr=parseInt(Wt.paddingBottom,10),cr=oe.top+oe.height/2-du,rr=Se-cr,Or=T.offsetHeight/2,Gt=T.offsetTop+Or,Qt=Ke+yt+Gt,Tr=de-Qt;if(Qt<=cr){let Ar=Ye.length>0&&T===Ye[Ye.length-1].ref.current;m.style.bottom="0px";let dr=M.clientHeight-U.offsetTop-U.offsetHeight,uo=Math.max(rr,Or+(Ar?sr:0)+dr+At),lo=Qt+uo;m.style.height=lo+"px"}else{let Ar=Ye.length>0&&T===Ye[0].ref.current;m.style.top="0px";let uo=Math.max(cr,Ke+U.offsetTop+(Ar?je:0)+Or)+Tr;m.style.height=uo+"px",U.scrollTop=Qt-cr+U.offsetTop}m.style.margin=`${du}px 0`,m.style.minHeight=bt+"px",m.style.maxHeight=Se+"px",s?.(),requestAnimationFrame(()=>_.current=!0)}},[x,c.trigger,c.valueNode,m,M,U,T,N,c.dir,s]);Mt(()=>X(),[X]);let[J,ee]=u();Mt(()=>{if(M)ee(window.getComputedStyle(M).zIndex)},[M]);let re=D((oe)=>{if(oe&&j.current===!0)X(),G?.(),j.current=!1},[X,G]);return t(RRe,{scope:i,contentWrapper:m,shouldExpandOnScrollRef:_,onScrollButtonChange:re,children:t("div",{ref:g,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:J},children:t(se.div,{...l,ref:y,style:{boxSizing:"border-box",maxHeight:"100%",...l.style}})})})},"SelectItemAlignedPosition")),Kie=O(Ao(function(r,a){let{__scopeSelect:i,align:s="start",collisionPadding:l=du,...c}=r,d=QU(i);return t(d8,{...d,...c,ref:a,align:s,collisionPadding:l,style:{boxSizing:"border-box",...c.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")),[RRe,JU]=qz(Uz,{}),Xie="SelectViewport",PRe=O(Ao(function(r,a){let{__scopeSelect:i,nonce:s,...l}=r,c=Hz(Xie,i),d=JU(Xie,i),m=_e(a,c.onViewportChange),g=b(0);return o(L,{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:s}),t(f5.Slot,{scope:i,children:t(se.div,{"data-radix-select-viewport":"",role:"presentation",...l,ref:m,style:{position:"relative",flex:1,overflow:"hidden auto",...l.style},onScroll:Y(l.onScroll,(M)=>{let v=M.currentTarget,{contentWrapper:y,shouldExpandOnScrollRef:x}=d;if(x?.current&&y){let _=Math.abs(g.current-v.scrollTop);if(_>0){let j=window.innerHeight-du*2,U=parseFloat(y.style.minHeight),T=parseFloat(y.style.height),N=Math.max(U,T);if(N<j){let G=N+_,X=Math.min(j,G),J=G-X;if(y.style.height=X+"px",y.style.bottom==="0px")v.scrollTop=J>0?J:0,y.style.justifyContent="flex-end"}}}g.current=v.scrollTop})})})]})},"SelectViewport")),TRe="SelectGroup",[KXo,XXo]=qz(TRe);var XU="SelectItem",[ARe,tfe]=qz(XU),ERe=O(Ao(function(r,a){let{__scopeSelect:i,value:s,disabled:l=!1,textValue:c,...d}=r,m=m8(XU,i),g=Hz(XU,i),M=m.value===s,[v,y]=u(c??""),[x,_]=u(!1),j=Xo((X)=>g.itemRefCallback?.(X,s,l)),U=_e(a,j),T=xr(),N=b("touch"),G=Ao(()=>{if(!l)m.onValueChange(s),m.onOpenChange(!1)},"handleSelect");return t(ARe,{scope:i,value:s,disabled:l,textId:T,isSelected:M,onItemTextChange:D((X)=>{y((J)=>J||(X?.textContent??"").trim())},[]),children:t(f5.ItemSlot,{scope:i,value:s,disabled:l,textValue:v,children:t(se.div,{role:"option","aria-labelledby":T,"data-highlighted":x?"":void 0,"aria-selected":M&&x,"data-state":M?"checked":"unchecked","aria-disabled":l||void 0,"data-disabled":l?"":void 0,tabIndex:l?void 0:-1,...d,ref:U,onFocus:Y(d.onFocus,()=>_(!0)),onBlur:Y(d.onBlur,()=>_(!1)),onClick:Y(d.onClick,()=>{if(N.current!=="mouse")G()}),onPointerUp:Y(d.onPointerUp,()=>{if(N.current==="mouse")G()}),onPointerDown:Y(d.onPointerDown,(X)=>{N.current=X.pointerType}),onPointerMove:Y(d.onPointerMove,(X)=>{if(N.current=X.pointerType,l)g.onItemLeave?.();else if(N.current==="mouse")X.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Y(d.onPointerLeave,(X)=>{if(X.currentTarget===document.activeElement)g.onItemLeave?.()}),onKeyDown:Y(d.onKeyDown,(X)=>{if(l||X.target!==X.currentTarget)return;if(g.searchRef?.current!==""&&X.key===" ")return;if(uRe.includes(X.key))G();if(X.key===" ")X.preventDefault()})})})})},"SelectItem")),i5="SelectItemText",DRe=O(Ao(function(r,a){let{__scopeSelect:i,className:s,style:l,...c}=r,d=m8(i5,i),m=Hz(i5,i),g=tfe(i5,i),M=mRe(i5,i),[v,y]=u(null),x=Xo((G)=>m.itemTextRefCallback?.(G,g.value,g.disabled)),_=_e(a,y,g.onItemTextChange,x),j=v?.textContent,U=P(()=>t("option",{value:g.value,disabled:g.disabled,children:j},g.value),[g.disabled,g.value,j]),{onNativeOptionAdd:T,onNativeOptionRemove:N}=M;return Mt(()=>(T(U),()=>N(U)),[T,N,U]),o(L,{children:[t(se.span,{id:g.textId,...c,ref:_}),g.isSelected&&d.valueNode&&!d.valueNodeHasChildren&&!w2(d.value)?Ki(c.children,d.valueNode):null]})},"SelectItemText")),ORe="SelectItemIndicator",jRe=O(Ao(function(r,a){let{__scopeSelect:i,...s}=r;return tfe(ORe,i).isSelected?t(se.span,{"aria-hidden":!0,...s,ref:a}):null},"SelectItemIndicator")),Qie="SelectScrollUpButton",NRe=O(Ao(function(r,a){let i=Hz(Qie,r.__scopeSelect),s=JU(Qie,r.__scopeSelect),[l,c]=u(!1),d=_e(a,s.onScrollButtonChange);return Mt(()=>{if(i.viewport&&i.isPositioned){let g=function(){let v=M.scrollTop>0;c(v)};var m=g;Ao(g,"handleScroll");let M=i.viewport;return g(),M.addEventListener("scroll",g),()=>M.removeEventListener("scroll",g)}},[i.viewport,i.isPositioned]),l?t(rfe,{...r,ref:d,onAutoScroll:()=>{let{viewport:m,selectedItem:g}=i;if(m&&g)m.scrollTop=m.scrollTop-g.offsetHeight}}):null},"SelectScrollUpButton")),Jie="SelectScrollDownButton",FRe=O(Ao(function(r,a){let i=Hz(Jie,r.__scopeSelect),s=JU(Jie,r.__scopeSelect),[l,c]=u(!1),d=_e(a,s.onScrollButtonChange);return Mt(()=>{if(i.viewport&&i.isPositioned){let g=function(){let v=M.scrollHeight-M.clientHeight,y=Math.ceil(M.scrollTop)<v;c(y)};var m=g;Ao(g,"handleScroll");let M=i.viewport;return g(),M.addEventListener("scroll",g),()=>M.removeEventListener("scroll",g)}},[i.viewport,i.isPositioned]),l?t(rfe,{...r,ref:d,onAutoScroll:()=>{let{viewport:m,selectedItem:g}=i;if(m&&g)m.scrollTop=m.scrollTop+g.offsetHeight}}):null},"SelectScrollDownButton")),rfe=O(Ao(function(r,a){let{__scopeSelect:i,onAutoScroll:s,...l}=r,c=Hz("SelectScrollButton",i),d=b(null),m=s5(i),g=D(()=>{if(d.current!==null)window.clearInterval(d.current),d.current=null},[]);return h(()=>()=>g(),[g]),Mt(()=>{m().find((v)=>v.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[m]),t(se.div,{"aria-hidden":!0,...l,ref:a,style:{flexShrink:0,...l.style},onPointerDown:Y(l.onPointerDown,()=>{if(d.current===null)d.current=window.setInterval(s,50)}),onPointerMove:Y(l.onPointerMove,()=>{if(c.onItemLeave?.(),d.current===null)d.current=window.setInterval(s,50)}),onPointerLeave:Y(l.onPointerLeave,()=>{g()})})},"SelectScrollButtonImpl"));var BRe="SelectBubbleInput",YRe=O(Ao(function({__scopeSelect:r,...a},i){let s=m8(BRe,r),{value:l,onValueChange:c,required:d,disabled:m,name:g,autoComplete:M,form:v}=s,{nativeOptions:y,nativeSelectKey:x}=s,_=b(null),j=_e(i,_),U=l??"",T=Mc(U),N=Array.from(y).some((G)=>(G.props.value??"")==="");return h(()=>{let G=_.current;if(!G)return;let X=window.HTMLSelectElement.prototype,ee=Object.getOwnPropertyDescriptor(X,"value").set;if(T!==U&&ee){let re=new Event("change",{bubbles:!0});ee.call(G,U),G.dispatchEvent(re)}},[T,U]),o(se.select,{"aria-hidden":!0,required:d,tabIndex:-1,name:g,autoComplete:M,disabled:m,form:v,onChange:(G)=>c(G.target.value),...a,style:{...KU,...a.style},ref:j,defaultValue:U,children:[w2(l)&&!N?t("option",{value:""}):null,Array.from(y)]},x)},"SelectBubbleInput"));function ofe(e){return typeof e==="function"}Ao(ofe,"isFunction");function w2(e){return e===""||e===void 0}Ao(w2,"shouldShowPlaceholder");function $U(e){let r=Xo(e),a=b(""),i=b(0),s=D((c)=>{let d=a.current+c;r(d),Ao(function m(g){if(a.current=g,window.clearTimeout(i.current),g!=="")i.current=window.setTimeout(()=>m(""),1000)},"updateSearch")(d)},[r]),l=D(()=>{a.current="",window.clearTimeout(i.current)},[]);return h(()=>()=>window.clearTimeout(i.current),[]),[a,s,l]}Ao($U,"useTypeaheadSearch");function eq(e,r,a){let s=r.length>1&&Array.from(r).every((g)=>g===r[0])?r[0]:r,l=a?e.indexOf(a):-1,c=afe(e,Math.max(l,0));if(s.length===1)c=c.filter((g)=>g!==a);let m=c.find((g)=>g.textValue.toLowerCase().startsWith(s.toLowerCase()));return m!==a?m:void 0}Ao(eq,"findNextItem");function afe(e,r){return e.map((a,i)=>e[(r+i)%e.length])}Ao(afe,"wrapArray");S();var URe=Object.defineProperty,ffe=(e,r)=>URe(e,"name",{value:r,configurable:!0}),ife="horizontal",qRe=["horizontal","vertical"],HRe=O(ffe(function(r,a){let{decorative:i,orientation:s=ife,...l}=r,c=sfe(s)?s:ife,m=i?{role:"none"}:{"aria-orientation":c==="vertical"?c:void 0,role:"separator"};return t(se.div,{"data-orientation":c,...m,...l,ref:a})},"Separator"));function sfe(e){return qRe.includes(e)}ffe(sfe,"isValidOrientation");var VRe=HRe;S();var WRe=Object.defineProperty,h8=(e,r)=>WRe(e,"name",{value:r,configurable:!0}),tq="Switch",[GRe,iQo]=pt(tq),[KRe,rq]=GRe(tq);function cfe(e){let{__scopeSwitch:r,checked:a,children:i,defaultChecked:s,disabled:l,form:c,name:d,onCheckedChange:m,required:g,value:M="on",internal_do_not_use_render:v}=e,[y,x]=Ft({prop:a,defaultProp:s??!1,onChange:m,caller:tq}),[_,j]=u(null),[U,T]=u(null),N=b(!1),[G,X]=en((re)=>re+1,0),J=_?!!c||!!_.closest("form"):!0,ee={checked:y,setChecked:x,disabled:l,control:_,setControl:j,name:d,form:c,value:M,hasConsumerStoppedPropagationRef:N,userInteractionCount:G,onUserInteraction:X,required:g,defaultChecked:s,isFormControl:J,bubbleInput:U,setBubbleInput:T};return t(KRe,{scope:r,...ee,children:ufe(v)?v(ee):i})}h8(cfe,"SwitchProvider");var XRe="SwitchTrigger",QRe=O(h8(function({__scopeSwitch:r,onClick:a,...i},s){let{control:l,form:c,value:d,disabled:m,checked:g,required:M,setControl:v,setChecked:y,hasConsumerStoppedPropagationRef:x,onUserInteraction:_,isFormControl:j,bubbleInput:U}=rq(XRe,r),T=_e(s,v),N=b(g);return h(()=>{let G=c?l?.ownerDocument.getElementById(c):l?.form;if(G instanceof HTMLFormElement){let X=h8(()=>y(N.current),"reset");return G.addEventListener("reset",X),()=>G.removeEventListener("reset",X)}},[l,c,y]),t(se.button,{type:"button",role:"switch","aria-checked":g,"aria-required":M,"data-state":oq(g),"data-disabled":m?"":void 0,disabled:m,value:d,...i,ref:T,onClick:Y(a,(G)=>{if(_(),y((X)=>!X),U&&j){if(x.current=G.isPropagationStopped(),!x.current)G.stopPropagation()}})})},"SwitchTrigger")),JRe=O(h8(function(r,a){let{__scopeSwitch:i,name:s,checked:l,defaultChecked:c,required:d,disabled:m,value:g,onCheckedChange:M,form:v,...y}=r;return t(cfe,{__scopeSwitch:i,checked:l,defaultChecked:c,disabled:m,required:d,onCheckedChange:M,name:s,form:v,value:g,internal_do_not_use_render:({isFormControl:x})=>o(L,{children:[t(QRe,{...y,ref:a,__scopeSwitch:i}),x&&t(rPe,{__scopeSwitch:i})]})})},"Switch")),$Re="SwitchThumb",ePe=O(h8(function(r,a){let{__scopeSwitch:i,...s}=r,l=rq($Re,i);return t(se.span,{"data-state":oq(l.checked),"data-disabled":l.disabled?"":void 0,...s,ref:a})},"SwitchThumb")),tPe="SwitchBubbleInput",rPe=O(h8(function({__scopeSwitch:r,onClick:a,...i},s){let{control:l,hasConsumerStoppedPropagationRef:c,userInteractionCount:d,checked:m,defaultChecked:g,required:M,disabled:v,name:y,value:x,form:_,bubbleInput:j,setBubbleInput:U}=rq(tPe,r),T=_e(s,U),N=di(l),G=b(!1),X=b(m),J=b(d);h(()=>{let re=j;if(!re)return;let oe=window.HTMLInputElement.prototype,ye=Object.getOwnPropertyDescriptor(oe,"checked").set,We=d!==J.current;J.current=d;let Ye=X.current!==m;X.current=m;let Se=!(We&&c.current);if(Ye&&ye){G.current=!We;let He=new Event("click",{bubbles:Se});ye.call(re,m),re.dispatchEvent(He),G.current=!1}},[j,m,c,d]);let ee=b(m);return t(se.input,{type:"checkbox","aria-hidden":!0,defaultChecked:g??ee.current,required:M,disabled:v,name:y,value:x,form:_,...i,tabIndex:-1,ref:T,onClick:Y(a,(re)=>{if(G.current)re.stopPropagation()}),style:{...i.style,...N,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"SwitchBubbleInput"));function ufe(e){return typeof e==="function"}h8(ufe,"isFunction");function oq(e){return e?"checked":"unchecked"}h8(oq,"getState");S();var oPe=Object.defineProperty,aR=(e,r)=>oPe(e,"name",{value:r,configurable:!0}),aq="Tabs",[aPe,hQo]=pt(aq,[pi]),Zfe=pi(),[nPe,nq]=aPe(aq),iPe=O(aR(function(r,a){let{__scopeTabs:i,value:s,onValueChange:l,defaultValue:c,orientation:d="horizontal",dir:m,activationMode:g="automatic",...M}=r,v=Hn(m),[y,x]=Ft({prop:s,onChange:l,defaultProp:c??"",caller:aq});return t(nPe,{scope:i,baseId:xr(),value:y,onValueChange:x,orientation:d,dir:v,activationMode:g,children:t(se.div,{dir:v,"data-orientation":d,...M,ref:a})})},"Tabs")),fPe="TabsList",sPe=O(aR(function(r,a){let{__scopeTabs:i,loop:s=!0,...l}=r,c=nq(fPe,i),d=Zfe(i);return t(ml,{asChild:!0,...d,orientation:c.orientation,dir:c.dir,loop:s,children:t(se.div,{role:"tablist","aria-orientation":c.orientation,...l,ref:a})})},"TabsList")),lPe="TabsTrigger",cPe=O(aR(function(r,a){let{__scopeTabs:i,value:s,disabled:l=!1,...c}=r,d=nq(lPe,i),m=Zfe(i),g=iq(d.baseId,s),M=fq(d.baseId,s),v=s===d.value;return t(hl,{asChild:!0,...m,focusable:!l,active:v,children:t(se.button,{type:"button",role:"tab","aria-selected":v,"aria-controls":M,"data-state":v?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:g,...c,ref:a,onMouseDown:Y(r.onMouseDown,(y)=>{if(!l&&y.button===0&&y.ctrlKey===!1)d.onValueChange(s);else y.preventDefault()}),onKeyDown:Y(r.onKeyDown,(y)=>{if(l||y.target!==y.currentTarget)return;if([" ","Enter"].includes(y.key))d.onValueChange(s)}),onFocus:Y(r.onFocus,()=>{let y=d.activationMode!=="manual";if(!v&&!l&&y)d.onValueChange(s)})})})},"TabsTrigger")),uPe="TabsContent",dPe=O(aR(function(r,a){let{__scopeTabs:i,value:s,forceMount:l,children:c,...d}=r,m=nq(uPe,i),g=iq(m.baseId,s),M=fq(m.baseId,s),v=s===m.value,y=b(v);return h(()=>{let x=requestAnimationFrame(()=>y.current=!1);return()=>cancelAnimationFrame(x)},[]),t(ar,{present:l||v,children:({present:x})=>t(se.div,{"data-state":v?"active":"inactive","data-orientation":m.orientation,role:"tabpanel","aria-labelledby":g,hidden:!x,id:M,tabIndex:0,...d,ref:a,style:{...r.style,animationDuration:y.current?"0s":void 0},children:x&&c})})},"TabsContent"));function iq(e,r){return`${e}-trigger-${r}`}aR(iq,"makeTriggerId");function fq(e,r){return`${e}-content-${r}`}aR(fq,"makeContentId");var ZPe=iPe,pPe=sPe,mPe=cPe,hPe=dPe;S();var gPe=Object.defineProperty,zi=(e,r)=>gPe(e,"name",{value:r,configurable:!0}),[cq,IQo]=pt("Tooltip",[pc]),l5=pc(),MPe="TooltipProvider",vPe=700,sq="tooltip.open",[xPe,uq]=cq(MPe),yPe=zi((e)=>{let{__scopeTooltip:r,delayDuration:a=vPe,skipDelayDuration:i=300,disableHoverableContent:s=!1,children:l}=e,c=b(!0),d=b(!1),m=b(0);return h(()=>{let g=m.current;return()=>window.clearTimeout(g)},[]),t(xPe,{scope:r,isOpenDelayedRef:c,delayDuration:a,onOpen:D(()=>{if(i<=0)return;window.clearTimeout(m.current),c.current=!1},[i]),onClose:D(()=>{if(i<=0)return;window.clearTimeout(m.current),m.current=window.setTimeout(()=>c.current=!0,i)},[i]),isPointerInTransitRef:d,onPointerInTransitChange:D((g)=>{d.current=g},[]),disableHoverableContent:s,children:l})},"TooltipProvider"),lq="Tooltip",[bPe,S2]=cq(lq),_Pe=zi((e)=>{let{__scopeTooltip:r,children:a,open:i,defaultOpen:s,onOpenChange:l,disableHoverableContent:c,delayDuration:d}=e,m=uq(lq,e.__scopeTooltip),g=l5(r),[M,v]=u(null),[y,x]=u(void 0),_=xr(),j=b(0),U=c??m.disableHoverableContent,T=d??m.delayDuration,N=b(!1),[G,X]=Ft({prop:i,defaultProp:s??!1,onChange:zi((ye)=>{if(ye)m.onOpen(),document.dispatchEvent(new CustomEvent(sq));else m.onClose();l?.(ye)},"onChange"),caller:lq}),J=P(()=>G?N.current?"delayed-open":"instant-open":"closed",[G]),ee=D(()=>{window.clearTimeout(j.current),j.current=0,N.current=!1,X(!0)},[X]),re=D(()=>{window.clearTimeout(j.current),j.current=0,X(!1)},[X]),oe=D(()=>{window.clearTimeout(j.current),j.current=window.setTimeout(()=>{N.current=!0,X(!0),j.current=0},T)},[T,X]);return h(()=>()=>{if(j.current)window.clearTimeout(j.current),j.current=0},[]),t(mm,{...g,children:t(bPe,{scope:r,contentId:y??_,setContentId:x,open:G,stateAttribute:J,trigger:M,onTriggerChange:v,onTriggerEnter:D(()=>{if(m.isOpenDelayedRef.current)oe();else ee()},[m.isOpenDelayedRef,oe,ee]),onTriggerLeave:D(()=>{if(U)re();else window.clearTimeout(j.current),j.current=0},[re,U]),onOpen:ee,onClose:re,disableHoverableContent:U,children:a})})},"Tooltip"),mfe="TooltipTrigger",wPe=O(zi(function(r,a){let{__scopeTooltip:i,...s}=r,l=S2(mfe,i),c=uq(mfe,i),d=l5(i),m=b(null),g=_e(a,m,l.onTriggerChange),M=b(!1),v=b(!1),y=D(()=>M.current=!1,[]);return h(()=>()=>document.removeEventListener("pointerup",y),[y]),t(u8,{asChild:!0,...d,children:t(se.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...s,ref:g,onPointerMove:Y(r.onPointerMove,(x)=>{if(x.pointerType==="touch")return;if(!v.current&&!c.isPointerInTransitRef.current)l.onTriggerEnter(),v.current=!0}),onPointerLeave:Y(r.onPointerLeave,()=>{l.onTriggerLeave(),v.current=!1}),onPointerDown:Y(r.onPointerDown,()=>{if(l.open)l.onClose();M.current=!0,document.addEventListener("pointerup",y,{once:!0})}),onFocus:Y(r.onFocus,()=>{if(!M.current)l.onOpen()}),onBlur:Y(r.onBlur,l.onClose),onClick:Y(r.onClick,l.onClose)})})},"TooltipTrigger")),hfe="TooltipPortal",[zPe,SPe]=cq(hfe,{forceMount:void 0}),LPe=zi((e)=>{let{__scopeTooltip:r,forceMount:a,children:i,container:s}=e,l=S2(hfe,r);return t(zPe,{scope:r,forceMount:a,children:t(ar,{present:a||l.open,children:t(iZ,{asChild:!0,container:s,children:i})})})},"TooltipPortal"),z2="TooltipContent",kPe=O(zi(function(r,a){let i=SPe(z2,r.__scopeTooltip),{forceMount:s=i.forceMount,side:l="top",...c}=r,d=S2(z2,r.__scopeTooltip);return t(ar,{present:s||d.open,children:d.disableHoverableContent?t(gfe,{side:l,...c,ref:a}):t(CPe,{side:l,...c,ref:a})})},"TooltipContent")),CPe=O(zi(function(r,a){let i=S2(z2,r.__scopeTooltip),s=uq(z2,r.__scopeTooltip),l=b(null),c=_e(a,l),[d,m]=u(null),{trigger:g,onClose:M}=i,v=l.current,{onPointerInTransitChange:y}=s,x=D(()=>{m(null),y(!1)},[y]),_=D((j,U)=>{let T=j.currentTarget,N={x:j.clientX,y:j.clientY},G=Mfe(N,T.getBoundingClientRect()),X=vfe(N,G),J=xfe(U.getBoundingClientRect()),ee=bfe([...X,...J]);m(ee),y(!0)},[y]);return h(()=>()=>x(),[x]),h(()=>{if(g&&v){let j=zi((T)=>_(T,v),"handleTriggerLeave"),U=zi((T)=>_(T,g),"handleContentLeave");return g.addEventListener("pointerleave",j),v.addEventListener("pointerleave",U),()=>{g.removeEventListener("pointerleave",j),v.removeEventListener("pointerleave",U)}}},[g,v,_,x]),h(()=>{if(d){let j=zi((U)=>{let T=U.target,N={x:U.clientX,y:U.clientY},G=g?.contains(T)||v?.contains(T),X=!yfe(N,d);if(G)x();else if(X)x(),M()},"handleTrackPointerGrace");return document.addEventListener("pointermove",j),()=>document.removeEventListener("pointermove",j)}},[g,v,d,M,x]),t(gfe,{...r,ref:c})},"TooltipContentHoverable")),IPe=b7("TooltipContent"),gfe=O(zi(function(r,a){let{__scopeTooltip:i,children:s,"aria-label":l,id:c,onEscapeKeyDown:d,onPointerDownOutside:m,...g}=r,M=S2(z2,i),v=l5(i),{onClose:y}=M;h(()=>(document.addEventListener(sq,y),()=>document.removeEventListener(sq,y)),[y]),h(()=>{if(M.trigger){let _=zi((j)=>{if(j.target instanceof Node&&j.target.contains(M.trigger))y()},"handleScroll");return window.addEventListener("scroll",_,{capture:!0}),()=>window.removeEventListener("scroll",_,{capture:!0})}},[M.trigger,y]);let{setContentId:x}=M;return Mt(()=>(x(c),()=>{x(void 0)}),[c,x]),t(nZ,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:d,onPointerDownOutside:m,onFocusOutside:(_)=>_.preventDefault(),onDismiss:y,children:o(d8,{"data-state":M.stateAttribute,role:l?void 0:"tooltip",id:l?void 0:M.contentId,...v,...g,ref:a,style:{...g.style,...{"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}},children:[t(IPe,{children:s}),l?t(Gie,{id:M.contentId,role:"tooltip",children:l}):null]})})},"TooltipContentImpl")),RPe=O(zi(function(r,a){let{__scopeTooltip:i,...s}=r,l=l5(i);return t(h2,{...l,...s,ref:a})},"TooltipArrow"));function Mfe(e,r){let a=Math.abs(r.top-e.y),i=Math.abs(r.bottom-e.y),s=Math.abs(r.right-e.x),l=Math.abs(r.left-e.x);switch(Math.min(a,i,s,l)){case l:return"left";case s:return"right";case a:return"top";case i:return"bottom";default:throw Error("unreachable")}}zi(Mfe,"getExitSideFromRect");function vfe(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}zi(vfe,"getPaddedExitPoints");function xfe(e){let{top:r,right:a,bottom:i,left:s}=e;return[{x:s,y:r},{x:a,y:r},{x:a,y:i},{x:s,y:i}]}zi(xfe,"getPointsFromRect");function yfe(e,r){let{x:a,y:i}=e,s=!1;for(let l=0,c=r.length-1;l<r.length;c=l++){let d=r[l],m=r[c],{x:g,y:M}=d,{x:v,y}=m;if(M>i!==y>i&&a<(v-g)*(i-M)/(y-M)+g)s=!s}return s}zi(yfe,"isPointInPolygon");function bfe(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}),_fe(r)}zi(bfe,"getHull");function _fe(e){if(e.length<=1)return e.slice();let r=[];for(let i=0;i<e.length;i++){let s=e[i];while(r.length>=2){let l=r[r.length-1],c=r[r.length-2];if((l.x-c.x)*(s.y-c.y)>=(l.y-c.y)*(s.x-c.x))r.pop();else break}r.push(s)}r.pop();let a=[];for(let i=e.length-1;i>=0;i--){let s=e[i];while(a.length>=2){let l=a[a.length-1],c=a[a.length-2];if((l.x-c.x)*(s.y-c.y)>=(l.y-c.y)*(s.x-c.x))a.pop();else break}a.push(s)}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)}zi(_fe,"getHullPresorted");var PPe=yPe,TPe=_Pe,APe=wPe,EPe=LPe,DPe=kPe,OPe=RPe;var c5=ds("inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap cursor-pointer transition-colors outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",xs:"h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-xs":"size-6 rounded-md [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function E({className:e,variant:r="default",size:a="default",asChild:i=!1,...s}){let l=i?Hoe:"button";return t(l,{"data-slot":"button","data-variant":r,"data-size":a,className:C(c5({variant:r,size:a,className:e})),...s})}function fn({delayDuration:e=0,...r}){return t(PPe,{"data-slot":"tooltip-provider",delayDuration:e,...r})}function pn({...e}){return t(TPe,{"data-slot":"tooltip",...e})}function mn({...e}){return t(APe,{"data-slot":"tooltip-trigger",...e})}function hn({className:e,sideOffset:r=0,children:a,...i}){return t(EPe,{children:o(DPe,{"data-slot":"tooltip-content",sideOffset:r,className:C("z-50 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in rounded-md bg-foreground px-3 py-1.5 text-xs text-balance text-background fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",e),...i,children:[a,t(OPe,{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(Lke,{"data-slot":"avatar","data-size":r,className:C("group/avatar relative flex size-8 shrink-0 overflow-hidden rounded-full select-none data-[size=lg]:size-10 data-[size=sm]:size-6",e),...a})}function Ie({className:e,...r}){return t(Cke,{"data-slot":"avatar-image",className:C("aspect-square size-full",e),...r})}function Te({className:e,...r}){return t(Rke,{"data-slot":"avatar-fallback",className:C("flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",e),...r})}function he({...e}){return t(GCe,{"data-slot":"dropdown-menu",...e})}function Xi({...e}){return t(Lie,{"data-slot":"dropdown-menu-portal",...e})}function ge({...e}){return t(KCe,{"data-slot":"dropdown-menu-trigger",...e})}function Ae({className:e,sideOffset:r=4,...a}){return t(Lie,{children:t(XCe,{"data-slot":"dropdown-menu-content",sideOffset:r,className:C("z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",e),...a})})}function W({className:e,inset:r,variant:a="default",...i}){return t(JCe,{"data-slot":"dropdown-menu-item","data-inset":r,"data-variant":a,className:C("relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground data-[variant=destructive]:*:[svg]:text-destructive!",e),...i})}function kc({...e}){return t($Ce,{"data-slot":"dropdown-menu-radio-group",...e})}function hi({className:e,children:r,...a}){return o(eIe,{"data-slot":"dropdown-menu-radio-item",className:C("relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...a,children:[t("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:t(tIe,{children:t(HT,{className:"size-2 fill-current"})})}),r]})}function Vr({className:e,inset:r,...a}){return t(QCe,{"data-slot":"dropdown-menu-label","data-inset":r,className:C("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...a})}function Vt({className:e,...r}){return t(rIe,{"data-slot":"dropdown-menu-separator",className:C("-mx-1 my-1 h-px bg-border",e),...r})}function fs({...e}){return t(oIe,{"data-slot":"dropdown-menu-sub",...e})}function ps({className:e,inset:r,children:a,...i}){return o(aIe,{"data-slot":"dropdown-menu-sub-trigger","data-inset":r,className:C("flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[inset]:pl-8 data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",e),...i,children:[a,t(vt,{className:"ml-auto size-4"})]})}function ms({className:e,...r}){return t(nIe,{"data-slot":"dropdown-menu-sub-content",className:C("z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",e),...r})}S();function jPe(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 hs(){let[e,r]=u(),a=tz({select:(c)=>c.location.pathname}),{teamId:i,projectId:s}=jPe(a),{data:l}=Z({queryKey:["projects",s,"team"],queryFn:async()=>{let c=await A.api.projects[":projectId"].team.$get({param:{projectId:s}});if(!c.ok)throw Error("failed to fetch project team");return await c.json()},enabled:!!s});return h(()=>{if(i)r(i);else if(l?.teamId)r(l.teamId)},[i,l]),e}var u5=Object.create(null),L2=(e)=>globalThis.process?.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?u5:globalThis),bm=new Proxy(u5,{get(e,r){return L2()[r]??u5[r]},has(e,r){return r in L2()||r in u5},set(e,r,a){let i=L2(!0);return i[r]=a,!0},deleteProperty(e,r){if(!r)return!1;let a=L2(!0);return delete a[r],!0},ownKeys(){let e=L2(!0);return Object.keys(e)}});var NPe=typeof process<"u"&&process.env&&"production"||"";function g8(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 FPe=Object.freeze({get BETTER_AUTH_SECRET(){return g8("BETTER_AUTH_SECRET")},get AUTH_SECRET(){return g8("AUTH_SECRET")},get BETTER_AUTH_TELEMETRY(){return g8("BETTER_AUTH_TELEMETRY")},get BETTER_AUTH_TELEMETRY_ID(){return g8("BETTER_AUTH_TELEMETRY_ID")},get NODE_ENV(){return g8("NODE_ENV","development")},get PACKAGE_VERSION(){return g8("PACKAGE_VERSION","0.0.0")},get BETTER_AUTH_TELEMETRY_ENDPOINT(){return g8("BETTER_AUTH_TELEMETRY_ENDPOINT","")}});function BPe(){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 YPe(e){let r=e.split(`
61
+ at `);if(r.length<=1)return e;return r.splice(1,1),r.join(`
62
+ at `)}function UPe(e,r){class a extends e{#e;constructor(...i){if(BPe()){let l=Error.stackTraceLimit;Error.stackTraceLimit=0;super(...i);Error.stackTraceLimit=l}else super(...i);let s=Error().stack;if(s)this.#e=YPe(s.replace(/^Error/,this.name))}get errorStack(){return this.#e}}return Object.defineProperty(a.prototype,"constructor",{get(){return r},enumerable:!1,configurable:!0}),a}var qPe={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},HPe=class extends Error{constructor(e="INTERNAL_SERVER_ERROR",r=void 0,a={},i=typeof e==="number"?e:qPe[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 VPe=UPe(HPe,Error);var nR=class extends Error{constructor(e,r){super(e,r);this.name="BetterAuthError",this.message=e,this.stack=""}};function WPe(e){try{return(new URL(e).pathname.replace(/\/+$/,"")||"/")!=="/"}catch{throw new nR(`Invalid base URL: ${e}. Please provide a valid base URL.`)}}function GPe(e){try{let r=new URL(e);if(r.protocol!=="http:"&&r.protocol!=="https:")throw new nR(`Invalid base URL: ${e}. URL must include 'http://' or 'https://'`)}catch(r){if(r instanceof nR)throw r;throw new nR(`Invalid base URL: ${e}. Please provide a valid base URL.`,{cause:r})}}function k2(e,r="/api/auth"){if(GPe(e),WPe(e))return e;let a=e.replace(/\/+$/,"");if(!r||r==="/")return a;return r=r.startsWith("/")?r:`/${r}`,`${a}${r}`}function zfe(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 Sfe(e,r,a,i,s){if(e)return k2(e,r);if(i!==!1){let d=bm.BETTER_AUTH_URL||bm.NEXT_PUBLIC_BETTER_AUTH_URL||bm.PUBLIC_BETTER_AUTH_URL||bm.NUXT_PUBLIC_BETTER_AUTH_URL||bm.NUXT_PUBLIC_AUTH_URL||(bm.BASE_URL!=="/"?bm.BASE_URL:void 0);if(d)return k2(d,r)}let l=a?.headers.get("x-forwarded-host"),c=a?.headers.get("x-forwarded-proto");if(l&&c&&s){if(zfe(c,"proto")&&zfe(l,"host"))try{return k2(`${c}://${l}`,r)}catch(d){}}if(a){let d=KPe(a.url);if(!d)throw new nR("Could not get origin from request. Please provide a valid base URL.");return k2(d,r)}if(typeof window<"u"&&window.location)return k2(window.location.origin,r)}function KPe(e){try{let r=new URL(e);return r.origin==="null"?null:r.origin}catch{return null}}var XPe={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*:/},QPe=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/,Lfe={true:!0,false:!1,null:null,undefined:void 0,nan:NaN,infinity:Number.POSITIVE_INFINITY,"-infinity":Number.NEGATIVE_INFINITY},JPe=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,7}))?(?:Z|([+-])(\d{2}):(\d{2}))$/;function $Pe(e){return e instanceof Date&&!isNaN(e.getTime())}function eTe(e){let r=JPe.exec(e);if(!r)return null;let[,a,i,s,l,c,d,m,g,M,v]=r,y=new Date(Date.UTC(parseInt(a,10),parseInt(i,10)-1,parseInt(s,10),parseInt(l,10),parseInt(c,10),parseInt(d,10),m?parseInt(m.padEnd(3,"0"),10):0));if(g){let x=(parseInt(M,10)*60+parseInt(v,10))*(g==="+"?-1:1);y.setUTCMinutes(y.getUTCMinutes()+x)}return $Pe(y)?y:null}function tTe(e,r={}){let{strict:a=!1,warnings:i=!1,reviver:s,parseDates:l=!0}=r;if(typeof e!=="string")return e;let c=e.trim();if(c.length>0&&c[0]==='"'&&c.endsWith('"')&&!c.slice(1,-1).includes('"'))return c.slice(1,-1);let d=c.toLowerCase();if(d.length<=9&&d in Lfe)return Lfe[d];if(!QPe.test(c)){if(a)throw SyntaxError("[better-json] Invalid JSON");return e}if(Object.entries(XPe).some(([m,g])=>{let M=g.test(c);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(c,(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(l&&typeof M==="string"){let v=eTe(M);if(v)return v}return s?s(g,M):M})}catch(m){if(a)throw m;return e}}function kfe(e,r={strict:!0}){return tTe(e,r)}var Cfe={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 Zu=[],M8=0,d5=null,Z5=4,rTe=globalThis.nanostoresGlobal||={epoch:0},oTe=()=>{let e;for(M8=0;M8<Zu.length;M8+=Z5)try{Zu[M8](Zu[M8+1].value,Zu[M8+2],Zu[M8+3])}catch(r){e=r}if(Zu.length=0,e)throw e};var C2=(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 l=M8+Z5;l<Zu.length;)if(Zu[l]===i)Zu.splice(l,Z5);else l+=Z5;let s=r.indexOf(i);if(~s){if(r.splice(s,1),!--a.lc)a.off()}}},notify(i,s){rTe.epoch++;let l=!Zu.length&&!d5;for(let c of r){if(d5?.has(c))continue;d5?.add(c),Zu.push(c,a,i,d5?void 0:s)}if(l)oTe()},off(){},set(i){let s=a.value;if(!a.eq(s,i))a.value=i,a.notify(s)},subscribe(i){let s=a.listen(i);return i(a.value),s},value:e};return a};var aTe=5,p5=6,m5=10,nTe=(e,r,a,i)=>{if(e.events=e.events||{},!e.events[a+m5])e.events[a+m5]=i((s)=>{e.events[a].reduceRight((l,c)=>(c(l),l),{shared:{},...s})});return e.events[a]=e.events[a]||[],e.events[a].push(r),()=>{let s=e.events[a],l=s.indexOf(r);if(s.splice(l,1),!s.length)delete e.events[a],e.events[a+m5](),delete e.events[a+m5]}};var Ife=1000,I2=(e,r)=>nTe(e,(i)=>{let s=r(i);if(s)e.events[p5].push(s)},aTe,(i)=>{let s=e.listen;e.listen=(...c)=>{if(!e.lc&&!e.active)e.active=!0,i();return s(...c)};let l=e.off;return e.events[p5]=[],e.off=()=>{l(),setTimeout(()=>{if(e.active&&!e.lc){e.active=!1;for(let c of e.events[p5])c();e.events[p5]=[]}},Ife)},()=>{e.listen=s,e.off=l}});function dq(e,r){let a=iTe(r),i=e;for(let s of a){if(i==null)return;i=i[s]}return i}var Rfe=/(.*)\[(\d+)\]/;function iTe(e){return e.split(".").flatMap((r)=>Pfe(r))}function Pfe(e){if(Rfe.test(e)){let[,r,a]=e.match(Rfe);return[...Pfe(r),a]}return[e]}function Zq(e,r,a){let i=new Set(r);return e.listen((s,l,c)=>{if(c===void 0?r.some((d)=>l===void 0||s[d]!==l[d]||dq(s,d)!==dq(l,d)):i.has(c)||i.has(c.split(/\.|\[/)[0]))a(s,l,c)})}var fTe=()=>typeof window>"u",Tfe=(e,r,a,i)=>{let s=C2({data:null,error:null,isPending:!0,isRefetching:!1,refetch:(d)=>l(d)}),l=async(d)=>new Promise((m)=>{let g=typeof i==="function"?i({data:s.get().data,error:s.get().error,isPending:s.get().isPending}):i;a(r,{...g,query:{...g?.query,...d?.query},async onSuccess(M){s.set({data:M.data,error:null,isPending:!1,isRefetching:!1,refetch:s.value.refetch}),await g?.onSuccess?.(M)},async onError(M){let{request:v}=M,y=typeof v.retry==="number"?v.retry:v.retry?.attempts,x=v.retryAttempt||0;if(y&&x<y)return;let _=M.error.status===401;s.set({error:M.error,data:_?null:s.get().data,isPending:!1,isRefetching:!1,refetch:s.value.refetch}),await g?.onError?.(M)},async onRequest(M){let v=s.get();s.set({isPending:v.data===null,data:v.data,error:null,isRefetching:!0,refetch:s.value.refetch}),await g?.onRequest?.(M)}}).catch((M)=>{s.set({error:M,data:s.get().data,isPending:!1,isRefetching:!1,refetch:s.value.refetch})}).finally(()=>{m(void 0)})});e=Array.isArray(e)?e:[e];let c=!1;for(let d of e)d.subscribe(async()=>{if(fTe())return;if(c)await l();else I2(s,()=>{let m=setTimeout(async()=>{if(!c)c=!0,await l()},0);return()=>{s.off(),d.off(),clearTimeout(m)}})});return s};var pq=Symbol.for("better-auth:broadcast-channel"),sTe=()=>Math.floor(Date.now()/1000),lTe=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:sTe()}))}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 h5(e="better-auth.message"){if(!globalThis[pq])globalThis[pq]=new lTe(e);return globalThis[pq]}var mq=Symbol.for("better-auth:focus-manager"),cTe=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 hq(){if(!globalThis[mq])globalThis[mq]=new cTe;return globalThis[mq]}var gq=Symbol.for("better-auth:online-manager"),uTe=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 g5(){if(!globalThis[gq])globalThis[gq]=new uTe;return globalThis[gq]}var iR=()=>Math.floor(Date.now()/1000);function Afe(e){if(typeof e==="object"&&e!==null&&"data"in e&&"error"in e)return e;return{data:e,error:null}}var dTe=5;function Efe(e){let{sessionAtom:r,sessionSignal:a,$fetch:i,options:s={}}=e,l=s.sessionOptions?.refetchInterval??0,c=s.sessionOptions?.refetchOnWindowFocus??!0,d=s.sessionOptions?.refetchWhenOffline??!1,m={lastSync:0,lastSessionRequest:0,cachedSession:void 0},g=()=>d||g5().isOnline,M=(N)=>{if(!g())return;if(N?.event==="storage"){m.lastSync=iR(),a.set(!a.get());return}let G=r.get(),X=()=>{m.lastSessionRequest=iR(),i("/get-session").then(async(J)=>{let{data:ee,error:re}=Afe(J);if(ee?.needsRefresh)try{let ie=await i("/get-session",{method:"POST"});({data:ee,error:re}=Afe(ie))}catch{}let oe=ee?.session&&ee?.user?ee:null;r.set({...G,data:oe,error:re}),m.lastSync=iR(),a.set(!a.get())}).catch(()=>{})};if(N?.event==="poll"){X();return}if(N?.event==="visibilitychange"){if(iR()-m.lastSessionRequest<dTe)return;m.lastSessionRequest=iR()}if(N?.event==="visibilitychange"){X();return}if(G?.data===null||G?.data===void 0)m.lastSync=iR(),a.set(!a.get())},v=(N)=>{h5().post({event:"session",data:{trigger:N},clientId:Math.random().toString(36).substring(7)})},y=()=>{if(l&&l>0)m.pollInterval=setInterval(()=>{if(r.get()?.data)M({event:"poll"})},l*1000)},x=()=>{m.unsubscribeBroadcast=h5().subscribe(()=>{M({event:"storage"})})},_=()=>{if(!c)return;m.unsubscribeFocus=hq().subscribe(()=>{M({event:"visibilitychange"})})},j=()=>{m.unsubscribeOnline=g5().subscribe((N)=>{if(N)M({event:"visibilitychange"})})};return{init:()=>{y(),x(),_(),j(),h5().setup(),hq().setup(),g5().setup()},cleanup:()=>{if(m.pollInterval)clearInterval(m.pollInterval),m.pollInterval=void 0;if(m.unsubscribeBroadcast)m.unsubscribeBroadcast(),m.unsubscribeBroadcast=void 0;if(m.unsubscribeFocus)m.unsubscribeFocus(),m.unsubscribeFocus=void 0;if(m.unsubscribeOnline)m.unsubscribeOnline(),m.unsubscribeOnline=void 0;m.lastSync=0,m.lastSessionRequest=0,m.cachedSession=void 0},triggerRefetch:M,broadcastSessionUpdate:v}}function Dfe(e,r){let a=C2(!1),i=Tfe(a,"/get-session",e,{method:"GET"}),s=()=>{};return I2(i,()=>{let l=Efe({sessionAtom:i,sessionSignal:a,$fetch:e,options:r});return l.init(),s=l.broadcastSessionUpdate,()=>{l.cleanup()}}),{session:i,$sessionSignal:a,broadcastSessionUpdate:(l)=>s(l)}}function Mq(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 vq(e,r,a=".",i){if(!Mq(r))return vq(e,{},a,i);let s={...r};for(let l of Object.keys(e)){if(l==="__proto__"||l==="constructor")continue;let c=e[l];if(c===null||c===void 0)continue;if(i&&i(s,l,c,a))continue;if(Array.isArray(c)&&Array.isArray(s[l]))s[l]=[...c,...s[l]];else if(Mq(c)&&Mq(s[l]))s[l]=vq(c,s[l],(a?`${a}.`:"")+l.toString(),i);else s[l]=c}return s}function xq(e){return(...r)=>r.reduce((a,i)=>vq(a,i,"",e),{})}var Ofe=xq(),G$o=xq((e,r,a)=>{if(e[r]!==void 0&&typeof a==="function")return e[r]=a(e[r]),!0}),K$o=xq((e,r,a)=>{if(Array.isArray(e[r])&&typeof a==="function")return e[r]=a(e[r]),!0});var{defineProperty:ZTe,defineProperties:pTe,getOwnPropertyDescriptors:mTe,getOwnPropertySymbols:jfe}=Object,hTe=Object.prototype.hasOwnProperty,gTe=Object.prototype.propertyIsEnumerable,Nfe=(e,r,a)=>(r in e)?ZTe(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,pu=(e,r)=>{for(var a in r||(r={}))if(hTe.call(r,a))Nfe(e,a,r[a]);if(jfe){for(var a of jfe(r))if(gTe.call(r,a))Nfe(e,a,r[a])}return e},dZ=(e,r)=>pTe(e,mTe(r)),MTe=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)}},vTe=async(e,r)=>{var a,i,s,l,c,d;let m=r||{},g={onRequest:[r==null?void 0:r.onRequest],onResponse:[r==null?void 0:r.onResponse],onSuccess:[r==null?void 0:r.onSuccess],onError:[r==null?void 0:r.onError],onRetry:[r==null?void 0:r.onRetry]};if(!r||!(r==null?void 0:r.plugins))return{url:e,options:m,hooks:g};for(let M of(r==null?void 0:r.plugins)||[]){if(M.init){let v=await((a=M.init)==null?void 0:a.call(M,e.toString(),r));m=v.options||m,e=v.url}g.onRequest.push((i=M.hooks)==null?void 0:i.onRequest),g.onResponse.push((s=M.hooks)==null?void 0:s.onResponse),g.onSuccess.push((l=M.hooks)==null?void 0:l.onSuccess),g.onError.push((c=M.hooks)==null?void 0:c.onError),g.onRetry.push((d=M.hooks)==null?void 0:d.onRetry)}return{url:e,options:m,hooks:g}},Ffe=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}},xTe=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 yTe(e){if(typeof e==="number")return new Ffe({type:"linear",attempts:e,delay:1000});switch(e.type){case"linear":return new Ffe(e);case"exponential":return new xTe(e);default:throw Error("Invalid retry strategy")}}var bTe=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,s]=await Promise.all([a(e.auth.username),a(e.auth.password)]);if(!i||!s)return r;r.authorization=`Basic ${btoa(`${i}:${s}`)}`}else if(e.auth.type==="Custom"){let[i,s]=await Promise.all([a(e.auth.prefix),a(e.auth.value)]);if(!s)return r;r.authorization=`${i!=null?i:""} ${s}`}}return r},_Te=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function wTe(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(_Te.test(i))return"json";if(a.has(i)||i.startsWith("text/"))return"text";return"blob"}function zTe(e){try{return JSON.parse(e),!0}catch(r){return!1}}function yq(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 Bfe(e){try{return JSON.parse(e)}catch(r){return e}}function Yfe(e){return typeof e==="function"}function STe(e){if(e==null?void 0:e.customFetchImpl)return e.customFetchImpl;if(typeof globalThis<"u"&&Yfe(globalThis.fetch))return globalThis.fetch;if(typeof window<"u"&&Yfe(window.fetch))return window.fetch;throw Error("No fetch implementation found")}async function LTe(e){let r=new Headers(e==null?void 0:e.headers),a=await bTe(e);for(let[i,s]of Object.entries(a||{}))r.set(i,s);if(!r.has("content-type")){let i=kTe(e==null?void 0:e.body);if(i)r.set("content-type",i)}return r}function kTe(e){if(yq(e))return"application/json";return null}function CTe(e){if(!(e==null?void 0:e.body))return null;let r=new Headers(e==null?void 0:e.headers);if(yq(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(yq(e.body))return new URLSearchParams(e.body).toString();return e.body}return e.body}function ITe(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(!Ufe.includes(i))return(r==null?void 0:r.body)?"POST":"GET";return i.toUpperCase()}return(r==null?void 0:r.body)?"POST":"GET"}function RTe(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 PTe=class e extends Error{constructor(r,a){super(a||JSON.stringify(r,null,2));this.issues=r,Object.setPrototypeOf(this,e.prototype)}};async function M5(e,r){let a=await e["~standard"].validate(r);if(a.issues)throw new PTe(a.issues);return a.value}var Ufe=["get","post","put","patch","delete"];var TTe=(e)=>({id:"apply-schema",name:"Apply Schema",version:"1.0.0",async init(r,a){var i,s,l,c;let d=((s=(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:s.schema)||e.schema;if(d){let m=r;if((l=d.config)==null?void 0:l.prefix){if(m.startsWith(d.config.prefix)){if(m=m.replace(d.config.prefix,""),d.config.baseURL)r=r.replace(d.config.prefix,d.config.baseURL)}}if((c=d.config)==null?void 0:c.baseURL){if(m.startsWith(d.config.baseURL))m=m.replace(d.config.baseURL,"")}let g=d.schema[m];if(g){let M=dZ(pu({},a),{method:g.method,output:g.output});if(!(a==null?void 0:a.disableValidation))M=dZ(pu({},M),{body:g.input?await M5(g.input,a==null?void 0:a.body):a==null?void 0:a.body,params:g.params?await M5(g.params,a==null?void 0:a.params):a==null?void 0:a.params,query:g.query?await M5(g.query,a==null?void 0:a.query):a==null?void 0:a.query});return{url:r,options:M}}}return{url:r,options:a}}}),qfe=(e)=>{async function r(a,i){let s=dZ(pu(pu({},e),i),{plugins:[...(e==null?void 0:e.plugins)||[],TTe(e||{}),...(i==null?void 0:i.plugins)||[]]});if(e==null?void 0:e.catchAllError)try{return await bq(a,s)}catch(l){return{data:null,error:{status:500,statusText:"Fetch Error",message:"Fetch related error. Captured by catchAllError option. See error property for more details.",error:l}}}return await bq(a,s)}return r};function ATe(e,r){let{baseURL:a,params:i,query:s}=r||{query:{},params:{},baseURL:""},l=e.startsWith("http")?e.split("/").slice(0,3).join("/"):a||"";if(e.startsWith("@")){let v=e.toString().split("@")[1].split("/")[0];if(Ufe.includes(v))e=e.replace(`@${v}/`,"/")}if(!l.endsWith("/"))l+="/";let[c,d]=e.replace(l,"").split("?"),m=new URLSearchParams(d);for(let[v,y]of Object.entries(s||{})){if(y==null)continue;let x;if(typeof y==="string")x=y;else if(Array.isArray(y)){for(let _ of y)m.append(v,_);continue}else x=JSON.stringify(y);m.set(v,x)}if(i)if(Array.isArray(i)){let v=c.split("/").filter((y)=>y.startsWith(":"));for(let[y,x]of v.entries()){let _=i[y];c=c.replace(x,_)}}else for(let[v,y]of Object.entries(i))c=c.replace(`:${v}`,String(y));if(c=c.split("/").map(encodeURIComponent).join("/"),c.startsWith("/"))c=c.slice(1);let g=m.toString();if(g=g.length>0?`?${g}`.replace(/\+/g,"%20"):"",!l.startsWith("http"))return`${l}${c}${g}`;return new URL(`${c}${g}`,l)}var bq=async(e,r)=>{var a,i,s,l,c,d,m,g;let{hooks:M,url:v,options:y}=await vTe(e,r),x=STe(y),_=new AbortController,j=(a=y.signal)!=null?a:_.signal,U=ATe(v,y),T=CTe(y),N=await LTe(y),G=ITe(v,y),X=dZ(pu({},y),{url:U,headers:N,body:T,method:G,signal:j});for(let Se of M.onRequest)if(Se){let He=await Se(X);if(typeof He==="object"&&He!==null)X=He}if("pipeTo"in X&&typeof X.pipeTo==="function"||typeof((i=r==null?void 0:r.body)==null?void 0:i.pipe)==="function"){if(!("duplex"in X))X.duplex="half"}let{clearTimeout:J}=RTe(y,_),ee=await x(X.url,X);J();let re={response:ee,request:X};for(let Se of M.onResponse)if(Se){let He=await Se(dZ(pu({},re),{response:((s=r==null?void 0:r.hookOptions)==null?void 0:s.cloneResponse)?ee.clone():ee}));if(He instanceof Response)ee=He;else if(typeof He==="object"&&He!==null)ee=He.response}if(ee.ok){if(X.method==="HEAD")return{data:"",error:null};let He=wTe(ee),ut={data:null,response:ee,request:X};if(He==="json"||He==="text"){let Ke=await ee.text(),yt=(l=X.jsonParser)!=null?l:Bfe;ut.data=await yt(Ke)}else ut.data=await ee[He]();if(X==null?void 0:X.output){if(X.output&&!X.disableValidation)ut.data=await M5(X.output,ut.data)}for(let Ke of M.onSuccess)if(Ke)await Ke(dZ(pu({},ut),{response:((c=r==null?void 0:r.hookOptions)==null?void 0:c.cloneResponse)?ee.clone():ee}));if(r==null?void 0:r.throw)return ut.data;return{data:ut.data,error:null}}let oe=(d=r==null?void 0:r.jsonParser)!=null?d:Bfe,ie=await ee.text(),ye=zTe(ie),We=ye?await oe(ie):null,Ye={response:ee,responseText:ie,request:X,error:dZ(pu({},We),{status:ee.status,statusText:ee.statusText})};for(let Se of M.onError)if(Se)await Se(dZ(pu({},Ye),{response:((m=r==null?void 0:r.hookOptions)==null?void 0:m.cloneResponse)?ee.clone():ee}));if(r==null?void 0:r.retry){let Se=yTe(r.retry),He=(g=r.retryAttempt)!=null?g:0;if(await Se.shouldAttemptRetry(He,ee)){for(let Ke of M.onRetry)if(Ke)await Ke(re);let ut=Se.getDelay(He);return await new Promise((Ke)=>setTimeout(Ke,ut)),await bq(e,dZ(pu({},r),{retryAttempt:He+1}))}}if(r==null?void 0:r.throw)throw new MTe(ee.status,ee.statusText,ye?We:ie);return{data:null,error:dZ(pu({},We),{status:ee.status,statusText:ee.statusText})}};var ETe=(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{}}},Hfe=(e,r)=>{let a="credentials"in Request.prototype,i=Sfe(e?.baseURL,e?.basePath,void 0,r)??ETe(e?.basePath)??"/api/auth",s=e?.plugins?.flatMap((J)=>J.fetchPlugins).filter((J)=>J!==void 0)||[],l={id:"lifecycle-hooks",name:"lifecycle-hooks",hooks:{onSuccess:e?.fetchOptions?.onSuccess,onError:e?.fetchOptions?.onError,onRequest:e?.fetchOptions?.onRequest,onResponse:e?.fetchOptions?.onResponse}},{onSuccess:c,onError:d,onRequest:m,onResponse:g,...M}=e?.fetchOptions||{},v=qfe({baseURL:i,...a?{credentials:"include"}:{},method:"GET",jsonParser(J){if(!J)return null;return kfe(J,{strict:!1})},customFetchImpl:fetch,...M,plugins:[l,...M.plugins||[],...e?.disableDefaultFetchPlugins?[]:[Cfe],...s]}),{$sessionSignal:y,session:x,broadcastSessionUpdate:_}=Dfe(v,e),j=e?.plugins||[],U={},T={$sessionSignal:y,session:x},N={"/sign-out":"POST","/revoke-sessions":"POST","/revoke-other-sessions":"POST","/delete-user":"POST"},G=[{signal:"$sessionSignal",matcher(J){return J==="/sign-out"||J==="/update-user"||J==="/update-session"||J==="/sign-up/email"||J==="/sign-in/email"||J==="/delete-user"||J==="/verify-email"||J==="/revoke-sessions"||J==="/revoke-session"||J==="/revoke-other-sessions"||J==="/change-email"||J==="/change-password"},callback(J){if(J==="/sign-out")_("signout");else if(J==="/update-user"||J==="/update-session")_("updateUser")}}];for(let J of j){if(J.getAtoms)Object.assign(T,J.getAtoms?.(v));if(J.pathMethods)Object.assign(N,J.pathMethods);if(J.atomListeners)G.push(...J.atomListeners)}let X={notify:(J)=>{T[J].set(!T[J].get())},listen:(J,ee)=>{T[J].subscribe(ee)},atoms:T};for(let J of j)if(J.getActions)U=Ofe(J.getActions?.(v,X,e)??{},U);return{get baseURL(){return i},pluginsActions:U,pluginsAtoms:T,pluginPathMethods:N,atomListeners:G,$fetch:v,$store:X}};function Vfe(e){return typeof e==="object"&&e!==null&&"get"in e&&typeof e.get==="function"&&"lc"in e&&typeof e.lc==="number"}function DTe(e,r,a){let i=r[e],{fetchOptions:s,query:l,...c}=a||{};if(i)return i;if(s?.method)return s.method;if(c&&Object.keys(c).length>0)return"POST";return"GET"}function Wfe(e,r,a,i,s){function l(c=[]){return new Proxy(function(){},{get(d,m){if(typeof m!=="string")return;if(m==="then"||m==="catch"||m==="finally")return;let g=[...c,m],M=e;for(let v of g)if(M&&typeof M==="object"&&v in M)M=M[v];else{M=void 0;break}if(typeof M==="function")return M;if(Vfe(M))return M;return l(g)},apply:async(d,m,g)=>{let M="/"+c.map((N)=>N.replace(/[A-Z]/g,(G)=>`-${G.toLowerCase()}`)).join("/"),v=g[0]||{},y=g[1]||{},{query:x,fetchOptions:_,...j}=v,U={...y,..._},T=DTe(M,a,v);return await r(M,{...U,body:T==="GET"?void 0:{...j,...U?.body||{}},query:x||U?.query,method:T,async onSuccess(N){if(await U?.onSuccess?.(N),!s||U.disableSignal)return;let G=s.filter((J)=>J.matcher(M));if(!G.length)return;let X=new Set;for(let J of G){let ee=i[J.signal];if(!ee)return;if(X.has(J.signal))continue;X.add(J.signal);let re=ee.get();setTimeout(()=>{ee.set(!re)},10),J.callback?.(M)}}})}})}return l()}S();function Gfe(e,r={}){let a=b(e.get()),{keys:i,deps:s=[e,i]}=r,l=D((d)=>{let m=(g)=>{if(a.current===g)return;a.current=g,d()};if(m(e.value),i?.length)return Zq(e,i,m);return e.listen(m)},s),c=()=>a.current;return Yn(l,c,c)}function Kfe(e){return e.charAt(0).toUpperCase()+e.slice(1)}function OTe(e){return`use${Kfe(e)}`}function Xfe(e){let{pluginPathMethods:r,pluginsActions:a,pluginsAtoms:i,$fetch:s,$store:l,atomListeners:c}=Hfe(e),d={};for(let[m,g]of Object.entries(i))d[OTe(m)]=()=>Gfe(g);return Wfe({...a,...d,$fetch:s,$store:l},s,r,i,c)}var jTe=Xfe({baseURL:window.location.origin}),{signIn:Qfe,signUp:Jfe,useSession:yea,signOut:$fe,resetPassword:xm}=jTe;var ese="0.4.9";var x5={};var lse=["en","zh"];var Sq=["cookie","globalVariable","baseLocale"],tse=[],Lq=[{pattern:":protocol://:domain(.*)::port?/:path(.*)?",localized:[["zh",":protocol://:domain(.*)::port?/zh/:path(.*)?"],["en",":protocol://:domain(.*)::port?/:path(.*)?"]]}];var y5=void 0;var Wz=typeof window>"u",p=void 0;var cse=!0,use=!1,dse=!0,NTe=!1,kq=!0,Zse=!1;globalThis.__paraglide=globalThis.__paraglide??{};globalThis.__paraglide.ssr=globalThis.__paraglide.ssr??{};var b5,rse=!1,n=()=>{if(p!==void 0)return p;if(y5){let a=y5?.getStore()?.locale;if(a)return a}let e=Sq;if(!Wz&&typeof window<"u"&&window.location?.href)e=vse(window.location.href);let r=FTe(e,typeof window<"u"?window.location?.href:void 0);if(r){if(!rse)b5=r,rse=!0,ka(r,{reload:!1});return r}throw Error("No locale found. Read the docs https://paraglidejs.com/errors#no-locale-found")};function FTe(e,r){let a;for(let i of e){if(cse&&i==="cookie")a=HTe();else if(i==="baseLocale")a="en";else if(use&&i==="url"&&!Wz&&typeof r==="string")a=hse(r);else if(dse&&i==="globalVariable"&&b5!==void 0)a=b5;else if(NTe&&i==="preferredLanguage"&&!Wz)a=VTe();else if(Zse&&i==="localStorage"&&!Wz)a=localStorage.getItem("PARAGLIDE_LOCALE")??void 0;else if(xse(i)&&C5.has(i)){let l=C5.get(i);if(l){let c=l.getLocale();if(c instanceof Promise)continue;if(c!==void 0)return mse(c)}}let s=v8(a);if(s)return s}return}var BTe=(e)=>{if(e)window.location.href=e;else window.location.reload()},ka=(e,r)=>{let a={reload:!0,...r};if(p!==void 0&&e!==p&&a.reload===!1)console.warn(`Paraglide: setLocale(${JSON.stringify(e)}, { reload: false }) cannot switch away from the statically built locale ${JSON.stringify(p)}. A document navigation is required; reload has been forced to true.`),a.reload=!0;let i;try{i=n()}catch{}let s=[],l=void 0,c=Sq;if(!Wz&&typeof window<"u"&&window.location?.href)c=vse(window.location.href);for(let m of c)if(dse&&m==="globalVariable")b5=e;else if(cse&&m==="cookie"){if(Wz||typeof document>"u"||typeof window>"u")continue;let g=`PARAGLIDE_LOCALE=${e}; path=/; max-age=34560000`;document.cookie=g,zq()}else if(m==="baseLocale")continue;else if(use&&m==="url"&&typeof window<"u")l=GTe(window.location.href,{locale:e}).href;else if(Zse&&m==="localStorage"&&typeof window<"u")localStorage.setItem("PARAGLIDE_LOCALE",e);else if(xse(m)&&C5.has(m)){let g=C5.get(m);if(g){let M=g.setLocale(e);if(M instanceof Promise)M=M.catch((v)=>{throw Error(`Custom strategy "${m}" setLocale failed.`,{cause:v})}),s.push(M)}}let d=()=>{if(!Wz&&a.reload&&window.location&&e!==i)BTe(l)};if(s.length)return Promise.all(s).then(()=>{d()});d();return};var pse=()=>{if(y5)return y5.getStore()?.origin??"http://fallback.com";else if(typeof window<"u")return window.location.origin;return"http://fallback.com"};function v8(e){if(typeof e!=="string")return;let r=e.toLowerCase();for(let a of lse)if(a.toLowerCase()===r)return a;return}function mse(e){let r=v8(e);if(r)return r;throw Error(`Invalid locale: ${e}. Expected one of: ${lse.join(", ")}`)}function hc(e){return e}function fR(e,r){return e.exec(r.href)}var YTe="PARAGLIDE_LOCALE".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),UTe=new RegExp(`(?:^|;\\s*)${YTe}=([^;]*)`),Cq=Symbol(),R2=Cq;function zq(){R2=Cq}function qTe(){if(typeof queueMicrotask==="function")queueMicrotask(zq);else Promise.resolve().then(zq)}function HTe(){if(typeof document>"u")return;if(R2!==Cq)return R2;let r=document.cookie.match(UTe)?.[1];return R2=v8(r),qTe(),R2}function VTe(){if(!navigator?.languages?.length)return;let e=navigator.languages.map((r)=>({fullTag:r,baseTag:r.split("-")[0]}));for(let r of e){let a=v8(r.fullTag);if(a)return a;let i=v8(r.baseTag);if(i)return i}return}var ose,ase;function hse(e){let r=typeof e==="string"?e:e.href;if(ose===r)return ase;let a;if(kq){let i=typeof e==="string"?new URL(e,"http://example.com"):new URL(e);a=WTe(hc(i))}else{let i=hc(typeof e==="string"?new URL(e):new URL(e));for(let s of Lq){for(let[l,c]of s.localized)if(fR(new x5(c,i.href),i)){a=l;break}if(a)break}}return ose=r,ase=a,a}function WTe(e){let a=new URL(e,"http://example.com").pathname.split("/").filter(Boolean);return v8(a[0])||"en"}function GTe(e,r){let a=r?.locale?mse(r?.locale):n();if(kq)return KTe(e,a);let i=typeof e==="string"?new URL(e):e,s=i;for(let l of Lq){let c=eAe(s,a,l);if(c!==void 0)return c;for(let[,m]of l.localized){let g=fR(S5(m,s),s);if(!g)continue;let M=l.localized.find(([y])=>y===a)?.[1];if(!M)continue;let v=w5(M,z5(g),s.origin);return hc(_5(v,g))}let d=fR(S5(l.pattern,s),s);if(d){let m=l.localized.find(([g])=>g===a)?.[1];if(m){let g=w5(m,z5(d),s.origin);return hc(_5(g,d))}}}return i}function KTe(e,r){let a=hc(typeof e==="string"?new URL(e,pse()):new URL(e));if(hse(a)===r)return hc(a);let s=a.pathname.split("/").filter(Boolean);if(s.length>0&&v8(s[0]))s.shift();if(r==="en")a.pathname="/"+s.join("/");else a.pathname="/"+r+"/"+s.join("/");return hc(a)}function XTe(e){if(kq)return QTe(e);let r=typeof e==="string"?new URL(e):e,a=r;for(let i of Lq){let s=tAe(a,i);if(s!==void 0)return s;for(let[,c]of i.localized){let d=fR(S5(c,a),a);if(d){let m=z5(d),g=w5(i.pattern,m,a.origin);return hc(_5(g,d))}}let l=fR(S5(i.pattern,a),a);if(l){let c=w5(i.pattern,z5(l),a.origin);return hc(_5(c,l))}}return r}function QTe(e){let r=hc(typeof e==="string"?new URL(e,pse()):new URL(e)),a=r.pathname.split("/").filter(Boolean);if(a.length>0&&v8(a[0]))r.pathname="/"+a.slice(1).join("/");return hc(r)}function _5(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 w5(e,r,a){let l=e.replace(/(https?:\/\/[^:/]+):(\d+)(\/|$)/g,(c,d,m,g)=>`${d}#PORT-${m}#${g}`).replace(/\{([^{}]*)\}([?+*]?)/g,(c,d,m)=>{if(m==="?")return d;return d}).replace(/(\/?):([a-zA-Z0-9_]+)(\([^)]*\))?([?+*]?)/g,(c,d,m,g,M)=>{let v=r[m];if(v===null)return"";if(M==="?")return v!==void 0?`${d}${v}`:"";if(M==="+"||M==="*"){if(v===void 0&&M==="+")throw Error(`Missing value for "${m}" (one or more required)`);return v?`${d}${v}`:""}if(v===void 0)throw Error(`Missing value for "${m}"`);return`${d}${v}`});return l=l.replace(/#PORT-(\d+)#/g,":$1"),new URL(l,a)}function z5(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 Vz=new Map,JTe=128,$Te=/^(?:[A-Za-z][A-Za-z\d+.-]*|:[A-Za-z][A-Za-z\d_-]*):\/\//;function S5(e,r){let a=$Te.test(e),i=e.startsWith("/");if(!a&&!i)return new x5(e,r.href);let s=a?e:JSON.stringify([r.origin,e]),l=Vz.get(s);if(l!==void 0)return Vz.delete(s),Vz.set(s,l),l;let c=new x5(e,r.href);if(Vz.size>=JTe){let d=Vz.keys().next().value;if(d!==void 0)Vz.delete(d)}return Vz.set(s,c),c}var v5=new WeakMap;function eAe(e,r,a){let i=gse(a);if(i===null)return;for(let l of i.localized){let c=L5(l.pattern,e);if(c===void 0)continue;let d=i.localized.find((m)=>m.locale===r)?.pattern;if(d===void 0)continue;return k5(d,c,e)}let s=L5(i.base,e);if(s!==void 0){let l=i.localized.find((c)=>c.locale===r)?.pattern;if(l!==void 0)return k5(l,s,e)}return}function tAe(e,r){let a=gse(r);if(a===null)return;for(let s of a.localized){let l=L5(s.pattern,e);if(l!==void 0)return k5(a.base,l,e)}let i=L5(a.base,e);if(i!==void 0)return k5(a.base,i,e);return}function gse(e){let r=v5.get(e);if(r!==void 0)return r;let a=nse(e.pattern);if(a===void 0)return v5.set(e,null),null;let i=[];for(let[l,c]of e.localized){let d=nse(c);if(d===void 0||d.pathMode!==a.pathMode)return v5.set(e,null),null;i.push({locale:l,pattern:d})}let s={base:a,localized:i};return v5.set(e,s),s}function nse(e){let r=e.match(/\/:path(?:\(\.\*\)(?:\?)?|\*)$/);if(r===null||r.index===void 0)return;let a=e.slice(0,r.index),i=rAe(a);if(i===void 0)return;let s=r[0].endsWith("*")?"segments":r[0].endsWith("?")?"catch-all-optional":"catch-all-required";return{...i,pathMode:s}}function rAe(e){if(e===""||e.startsWith("/")){if(_q(e))return;return{protocol:void 0,hostname:void 0,port:void 0,pathnamePrefix:wq(e),pathMode:"catch-all-optional"}}let r=e.match(/^:protocol:\/\/([^/]+)(\/.*)?$/),a=e.match(/^([A-Za-z][A-Za-z\d+.-]*):\/\/([^/]+)(\/.*)?$/);if(r!==null){let d=(r[1]??"").match(/^([^:(){}?*+]+)(?::(\d+))?$/);if(d===null||r[2]!==void 0&&_q(r[2]))return;return{protocol:void 0,hostname:(d[1]??"").toLowerCase(),port:d[2],pathnamePrefix:wq(r[2]??""),pathMode:"catch-all-optional"}}if(a===null)return;let i=a[2]??"",s=a[3],l=i.match(/^([^:(){}?*+]+)(?::(\d+))?$/);if(l===null||s!==void 0&&_q(s))return;return{protocol:`${a[1]}:`,hostname:(l[1]??"").toLowerCase(),port:oAe(l[2],`${a[1]}:`),pathnamePrefix:wq(s??""),pathMode:"catch-all-optional"}}function oAe(e,r){if(e==="80"&&r==="http:")return"";if(e==="443"&&r==="https:")return"";return e}function _q(e){return/[:(){}?*+]/.test(e)}function wq(e){if(e===""||e==="/")return"/";return e.endsWith("/")?e.slice(0,-1):e}function L5(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??Mse(e.protocol??r.protocol))!==r.port)return}let a=e.pathnamePrefix;if(a==="/"){if(r.pathname.startsWith("//"))return;if(e.pathMode==="segments")return ise(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"&&!ise(i))return;return i}return}function ise(e){return e.length>1&&!e.endsWith("/")&&!e.includes("//")}function Mse(e){if(e==="http:")return"";if(e==="https:")return"";return""}function k5(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??Mse(i.protocol);return i.pathname=aAe(e.pathnamePrefix,r),i}function aAe(e,r){if(e==="/")return r===""?"/":r;if(r==="")return e;return`${e}${r.startsWith("/")?r:`/${r}`}`}var fse,sse;function nAe(e){if(tse.length===0)return;let r=typeof e==="string"?e:e.href;if(fse===r)return sse;let a=hc(new URL(r,"http://example.com")),i=XTe(a),s=i.href===a.href?[a]:[a,i],l;for(let c of s){for(let d of tse){let m=new x5(d.match,c.href);if(fR(m,c)){l=d;break}}if(l)break}return fse=r,sse=l,l}function vse(e){let r=nAe(e);if(r&&r.exclude!==!0&&Array.isArray(r.strategy))return r.strategy;return Sq}var C5=new Map;function xse(e){return typeof e==="string"&&/^custom-[A-Za-z0-9_-]+$/.test(e)}var iAe=()=>"Access Denied",fAe=()=>"访问被拒绝",RA=(e={},r={})=>{if((p??r.locale??n())==="zh")return fAe(e);return iAe(e)};var sAe=()=>"Action",lAe=()=>"操作",NA=(e={},r={})=>{if((p??r.locale??n())==="zh")return lAe(e);return sAe(e)};var cAe=()=>"Actions",uAe=()=>"操作",PA=(e={},r={})=>{if((p??r.locale??n())==="zh")return uAe(e);return cAe(e)};var dAe=()=>"Active",ZAe=()=>"启用",DA=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZAe(e);return dAe(e)};var pAe=()=>"active",mAe=()=>"个激活",OA=(e={},r={})=>{if((p??r.locale??n())==="zh")return mAe(e);return pAe(e)};var hAe=()=>"Activity",gAe=()=>"活动",MAe=(e={},r={})=>{if((p??r.locale??n())==="zh")return gAe(e);return hAe(e)};var vAe=()=>"Activity Notifications",xAe=()=>"活动通知",FA=(e={},r={})=>{if((p??r.locale??n())==="zh")return xAe(e);return vAe(e)};var yAe=()=>"Receive in-app updates for comments, uploads, and automated background analysis tasks inside this project.",bAe=()=>"接收此项目中评论、上传及自动后台分析任务的应用内通知。",LA=(e={},r={})=>{if((p??r.locale??n())==="zh")return bAe(e);return yAe(e)};var _Ae=()=>"Add",wAe=()=>"添加",yf=(e={},r={})=>{if((p??r.locale??n())==="zh")return wAe(e);return _Ae(e)};var zAe=()=>"Add Assets",SAe=()=>"添加资产",yse=(e={},r={})=>{if((p??r.locale??n())==="zh")return SAe(e);return zAe(e)};var LAe=()=>"+ Add condition",kAe=()=>"+ 添加条件",ZA=(e={},r={})=>{if((p??r.locale??n())==="zh")return kAe(e);return LAe(e)};var CAe=()=>"Add Domain",IAe=()=>"添加域名",BA=(e={},r={})=>{if((p??r.locale??n())==="zh")return IAe(e);return CAe(e)};var RAe=()=>"Add your first AI provider to get started.",PAe=()=>"添加您的第一个 AI 提供商以开始使用。",UA=(e={},r={})=>{if((p??r.locale??n())==="zh")return PAe(e);return RAe(e)};var TAe=()=>"Add Image Block",AAe=()=>"添加图片块",Sm=(e={},r={})=>{if((p??r.locale??n())==="zh")return AAe(e);return TAe(e)};var EAe=()=>"Add MCP Server",DAe=()=>"添加 MCP 服务",bf=(e={},r={})=>{if((p??r.locale??n())==="zh")return DAe(e);return EAe(e)};var OAe=()=>"Add an MCP server to extend your AI agent tools.",jAe=()=>"添加 MCP 服务以扩展 AI Agent 的工具能力。",zA=(e={},r={})=>{if((p??r.locale??n())==="zh")return jAe(e);return OAe(e)};var NAe=()=>"Add Members from Other Projects",FAe=()=>"从其他项目添加成员",jA=(e={},r={})=>{if((p??r.locale??n())==="zh")return FAe(e);return NAe(e)};var BAe=()=>"Project-scoped members who currently do not have access to this project.",YAe=()=>"当前无权访问此项目的项目成员。",qA=(e={},r={})=>{if((p??r.locale??n())==="zh")return YAe(e);return BAe(e)};var UAe=()=>"Add Model",qAe=()=>"添加模型",od=(e={},r={})=>{if((p??r.locale??n())==="zh")return qAe(e);return UAe(e)};var HAe=()=>"Add New Provider",VAe=()=>"添加新提供商",HA=(e={},r={})=>{if((p??r.locale??n())==="zh")return VAe(e);return HAe(e)};var WAe=()=>"Add New Skill",GAe=()=>"添加新技能",$A=(e={},r={})=>{if((p??r.locale??n())==="zh")return GAe(e);return WAe(e)};var KAe=()=>"Add option",XAe=()=>"添加选项",sd=(e={},r={})=>{if((p??r.locale??n())==="zh")return XAe(e);return KAe(e)};var QAe=(e)=>`Add options: ${e?.name}`,JAe=(e)=>`添加选项:${e?.name}`,Em=(e,r={})=>{if((p??r.locale??n())==="zh")return JAe(e);return QAe(e)};var $Ae=()=>"Add Provider",e2e=()=>"添加提供商",Cm=(e={},r={})=>{if((p??r.locale??n())==="zh")return e2e(e);return $Ae(e)};var t2e=()=>"Add Quota",r2e=()=>"添加配额",Im=(e={},r={})=>{if((p??r.locale??n())==="zh")return r2e(e);return t2e(e)};var o2e=()=>"Add reaction",a2e=()=>"添加回应",GA=(e={},r={})=>{if((p??r.locale??n())==="zh")return a2e(e);return o2e(e)};var n2e=()=>"Add Skill",i2e=()=>"添加技能",VA=(e={},r={})=>{if((p??r.locale??n())==="zh")return i2e(e);return n2e(e)};var f2e=()=>"Add a skill via GitHub URL or upload a ZIP file to get started.",s2e=()=>"通过 GitHub URL 添加技能或上传 ZIP 文件以开始使用。",QA=(e={},r={})=>{if((p??r.locale??n())==="zh")return s2e(e);return f2e(e)};var l2e=()=>"Customize Team Member Role",c2e=()=>"自定义团队成员在项目的角色",KA=(e={},r={})=>{if((p??r.locale??n())==="zh")return c2e(e);return l2e(e)};var u2e=()=>"Team members already have access to all projects with their default team role. Set a custom role for this specific project here.",d2e=()=>"团队成员默认使用其团队角色访问所有项目。您可以在此为其设置独立的项目角色。",WA=(e={},r={})=>{if((p??r.locale??n())==="zh")return d2e(e);return u2e(e)};var Z2e=()=>"Add Text Block",p2e=()=>"添加文本块",vf=(e={},r={})=>{if((p??r.locale??n())==="zh")return p2e(e);return Z2e(e)};var m2e=()=>"Add to Project",h2e=()=>"添加到项目",YA=(e={},r={})=>{if((p??r.locale??n())==="zh")return h2e(e);return m2e(e)};var g2e=()=>"Add to Share Links",M2e=()=>"添加到分享链接",Tm=(e={},r={})=>{if((p??r.locale??n())==="zh")return M2e(e);return g2e(e)};var v2e=()=>"Add Variable",x2e=()=>"添加变量",JA=(e={},r={})=>{if((p??r.locale??n())==="zh")return x2e(e);return v2e(e)};var y2e=(e)=>`Added ${e?.name} successfully`,b2e=(e)=>`已成功添加 ${e?.name}`,Mm=(e,r={})=>{if((p??r.locale??n())==="zh")return b2e(e);return y2e(e)};var _2e=()=>"Agent Avatar",w2e=()=>"智能体头像",XA=(e={},r={})=>{if((p??r.locale??n())==="zh")return w2e(e);return _2e(e)};var z2e=()=>"Agent created successfully",S2e=()=>"智能体创建成功",e_=(e={},r={})=>{if((p??r.locale??n())==="zh")return S2e(e);return z2e(e)};var L2e=()=>"Agent deleted successfully",k2e=()=>"智能体删除成功",t_=(e={},r={})=>{if((p??r.locale??n())==="zh")return k2e(e);return L2e(e)};var C2e=()=>"Step-by-step execution trace of the agent's background tasks and tool calls.",I2e=()=>"智能体后台任务和工具调用的逐步执行跟踪。",r_=(e={},r={})=>{if((p??r.locale??n())==="zh")return I2e(e);return C2e(e)};var R2e=()=>"Agent Name",P2e=()=>"智能体名称",n_=(e={},r={})=>{if((p??r.locale??n())==="zh")return P2e(e);return R2e(e)};var T2e=()=>"e.g., Support Assistant",A2e=()=>"例如:支持助手",o_=(e={},r={})=>{if((p??r.locale??n())==="zh")return A2e(e);return T2e(e)};var E2e=()=>"Agent Sandbox",D2e=()=>"智能体沙箱",s_=(e={},r={})=>{if((p??r.locale??n())==="zh")return D2e(e);return E2e(e)};var O2e=()=>"Agent Sandbox Settings",j2e=()=>"智能体沙箱设置",i_=(e={},r={})=>{if((p??r.locale??n())==="zh")return j2e(e);return O2e(e)};var N2e=()=>"Agent Session Logs",F2e=()=>"智能体会话日志",a_=(e={},r={})=>{if((p??r.locale??n())==="zh")return F2e(e);return N2e(e)};var B2e=()=>"Agent Soul (Personality)",Y2e=()=>"智能体灵魂(个性)",l_=(e={},r={})=>{if((p??r.locale??n())==="zh")return Y2e(e);return B2e(e)};var U2e=()=>"Describe the agent's personality, tone, and behavior...",q2e=()=>"描述智能体的个性、语调和行为...",c_=(e={},r={})=>{if((p??r.locale??n())==="zh")return q2e(e);return U2e(e)};var H2e=()=>"Allows the agent to run terminal/shell commands in a highly isolated environment.",V2e=()=>"允许智能体在高度隔离的环境中运行终端/命令行命令。",u_=(e={},r={})=>{if((p??r.locale??n())==="zh")return V2e(e);return H2e(e)};var W2e=()=>"Sandboxed Terminal",G2e=()=>"沙箱终端",d_=(e={},r={})=>{if((p??r.locale??n())==="zh")return G2e(e);return W2e(e)};var K2e=()=>"Allows the agent to create files in Shumai, either by uploading a local file or by providing the file name and content directly.",X2e=()=>"允许智能体在 Shumai 中创建文件,既可以通过上传本地文件,也可以直接提供文件名和内容。",f_=(e={},r={})=>{if((p??r.locale??n())==="zh")return X2e(e);return K2e(e)};var Q2e=()=>"Create File",J2e=()=>"创建文件",km=(e={},r={})=>{if((p??r.locale??n())==="zh")return J2e(e);return Q2e(e)};var $2e=()=>"Allows the agent to create new folders in Shumai.",eEe=()=>"允许智能体在 Shumai 中创建新文件夹。",p_=(e={},r={})=>{if((p??r.locale??n())==="zh")return eEe(e);return $2e(e)};var tEe=()=>"Create Folder",rEe=()=>"创建文件夹",Rm=(e={},r={})=>{if((p??r.locale??n())==="zh")return rEe(e);return tEe(e)};var oEe=()=>"Allows the agent to upload and stack a new version of an existing file in Shumai.",aEe=()=>"允许智能体在 Shumai 中为已有文件上传并叠加新版本。",m_=(e={},r={})=>{if((p??r.locale??n())==="zh")return aEe(e);return oEe(e)};var nEe=()=>"Create Version",iEe=()=>"创建版本",Nm=(e={},r={})=>{if((p??r.locale??n())==="zh")return iEe(e);return nEe(e)};var fEe=()=>"Allows the agent to delete a single file or folder in Shumai.",sEe=()=>"允许智能体在 Shumai 中删除单个文件或文件夹。",h_=(e={},r={})=>{if((p??r.locale??n())==="zh")return sEe(e);return fEe(e)};var lEe=()=>"Delete Asset",cEe=()=>"删除资产",Pm=(e={},r={})=>{if((p??r.locale??n())==="zh")return cEe(e);return lEe(e)};var uEe=()=>"Allows the agent to generate images from prompts and reference images using configured AI image models.",dEe=()=>"允许智能体使用已配置的 AI 图片模型根据提示词和参考图片生成图片。",g_=(e={},r={})=>{if((p??r.locale??n())==="zh")return dEe(e);return uEe(e)};var ZEe=()=>"Generate Image",pEe=()=>"生成图片",Dm=(e={},r={})=>{if((p??r.locale??n())==="zh")return pEe(e);return ZEe(e)};var mEe=()=>"Allows the agent to generate videos from text, images, or frame sequences using configured AI video models.",hEe=()=>"允许智能体使用已配置的 AI 视频模型根据提示词、图片或首尾帧生成视频。",A_=(e={},r={})=>{if((p??r.locale??n())==="zh")return hEe(e);return mEe(e)};var gEe=()=>"Generate Video",MEe=()=>"生成视频",Om=(e={},r={})=>{if((p??r.locale??n())==="zh")return MEe(e);return gEe(e)};var vEe=()=>"Allows the agent to list folders and browse files in Shumai.",xEe=()=>"允许智能体列出文件夹并浏览 Shumai 中的文件。",__=(e={},r={})=>{if((p??r.locale??n())==="zh")return xEe(e);return vEe(e)};var yEe=()=>"Browse Shumai",bEe=()=>"浏览 Shumai",Fm=(e={},r={})=>{if((p??r.locale??n())==="zh")return bEe(e);return yEe(e)};var _Ee=()=>"Allows the agent to move one or more assets to another folder in Shumai.",wEe=()=>"允许智能体将一个或多个资产移动到 Shumai 中的其他文件夹。",y_=(e={},r={})=>{if((p??r.locale??n())==="zh")return wEe(e);return _Ee(e)};var zEe=()=>"Move Assets",SEe=()=>"移动资产",Lm=(e={},r={})=>{if((p??r.locale??n())==="zh")return SEe(e);return zEe(e)};var LEe=()=>"Allows the agent to view and inspect images, video frames, and document pages.",kEe=()=>"允许智能体查看和分析图片、视频画面和文档页面。",b_=(e={},r={})=>{if((p??r.locale??n())==="zh")return kEe(e);return LEe(e)};var CEe=()=>"Read Asset",IEe=()=>"读取资源",Zm=(e={},r={})=>{if((p??r.locale??n())==="zh")return IEe(e);return CEe(e)};var REe=()=>"Allows the agent to load and read skill definitions to perform specialized actions.",PEe=()=>"允许智能体加载和读取技能定义以执行特定操作。",v_=(e={},r={})=>{if((p??r.locale??n())==="zh")return PEe(e);return REe(e)};var TEe=()=>"Read Skills",AEe=()=>"读取技能",w_=(e={},r={})=>{if((p??r.locale??n())==="zh")return AEe(e);return TEe(e)};var EEe=()=>"Allows the agent to rename an existing file or folder in Shumai.",DEe=()=>"允许智能体在 Shumai 中重命名现有的文件或文件夹。",x_=(e={},r={})=>{if((p??r.locale??n())==="zh")return DEe(e);return EEe(e)};var OEe=()=>"Rename Asset",jEe=()=>"重命名资产",Bm=(e={},r={})=>{if((p??r.locale??n())==="zh")return jEe(e);return OEe(e)};var NEe=()=>"Tools",FEe=()=>"工具",S_=(e={},r={})=>{if((p??r.locale??n())==="zh")return FEe(e);return NEe(e)};var BEe=()=>"Configure which tools the agent is permitted to use.",YEe=()=>"配置允许智能体使用的工具。",E_=(e={},r={})=>{if((p??r.locale??n())==="zh")return YEe(e);return BEe(e)};var UEe=()=>"Agent Type",qEe=()=>"智能体类型",C_=(e={},r={})=>{if((p??r.locale??n())==="zh")return qEe(e);return UEe(e)};var HEe=()=>"Autofill",VEe=()=>"自动填充",Um=(e={},r={})=>{if((p??r.locale??n())==="zh")return VEe(e);return HEe(e)};var WEe=()=>"Chat",GEe=()=>"对话",zm=(e={},r={})=>{if((p??r.locale??n())==="zh")return GEe(e);return WEe(e)};var KEe=()=>"Embedding",XEe=()=>"嵌入",jm=(e={},r={})=>{if((p??r.locale??n())==="zh")return XEe(e);return KEe(e)};var QEe=()=>"Agent updated successfully",JEe=()=>"智能体更新成功",qm=(e={},r={})=>{if((p??r.locale??n())==="zh")return JEe(e);return QEe(e)};var $Ee=()=>"Agents",eDe=()=>"智能体",I_=(e={},r={})=>{if((p??r.locale??n())==="zh")return eDe(e);return $Ee(e)};var tDe=()=>"Manage AI agents and their personalities.",rDe=()=>"管理 AI 智能体及其个性。",T_=(e={},r={})=>{if((p??r.locale??n())==="zh")return rDe(e);return tDe(e)};var oDe=()=>"AGENTS.md",aDe=()=>"AGENTS.md",M_=(e={},r={})=>{if((p??r.locale??n())==="zh")return aDe(e);return oDe(e)};var nDe=()=>"Loading AGENTS.md...",iDe=()=>"正在加载 AGENTS.md...",k_=(e={},r={})=>{if((p??r.locale??n())==="zh")return iDe(e);return nDe(e)};var fDe=()=>`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`,sDe=()=>`为在此项目或文件夹中工作的 AI Agent 提供指引和上下文。
71
+
72
+ 当 Agent 在此处工作时,Shumai 会自动加载此文件以及向上追溯至项目根目录各级父文件夹中的 AGENTS.md 文件。
73
+
74
+ 您可以用它来定义:
75
+ - 此项目或文件夹包含的内容
76
+ - Agent 应当遵守的规则
77
+ - 术语、风格或工作流规范
78
+ - 元数据和自动填充的生成方式`,R_=(e={},r={})=>{if((p??r.locale??n())==="zh")return sDe(e);return fDe(e)};var lDe=()=>"Only team owners can edit this file.",cDe=()=>"只有团队所有者可以修改此文件。",Hm=(e={},r={})=>{if((p??r.locale??n())==="zh")return cDe(e);return lDe(e)};var uDe=()=>"Failed to save",dDe=()=>"保存失败",N_=(e={},r={})=>{if((p??r.locale??n())==="zh")return dDe(e);return uDe(e)};var ZDe=()=>"AI",pDe=()=>"AI",P_=(e={},r={})=>{if((p??r.locale??n())==="zh")return pDe(e);return ZDe(e)};var mDe=()=>"AI Agents",hDe=()=>"AI 智能体",D_=(e={},r={})=>{if((p??r.locale??n())==="zh")return hDe(e);return mDe(e)};var gDe=()=>"AI Providers",MDe=()=>"AI 提供商",O_=(e={},r={})=>{if((p??r.locale??n())==="zh")return MDe(e);return gDe(e)};var vDe=()=>"AI Settings",xDe=()=>"AI 设置",F_=(e={},r={})=>{if((p??r.locale??n())==="zh")return xDe(e);return vDe(e)};var yDe=()=>"AI Token Usage",bDe=()=>"AI Token 用量",L_=(e={},r={})=>{if((p??r.locale??n())==="zh")return bDe(e);return yDe(e)};var _De=()=>"Monitor AI token consumption and estimated costs for your team and members.",wDe=()=>"查看并监控团队及成员的 AI Token 消耗与预估费用。",Z_=(e={},r={})=>{if((p??r.locale??n())==="zh")return wDe(e);return _De(e)};var zDe=()=>"All",SDe=()=>"全部",LDe=(e={},r={})=>{if((p??r.locale??n())==="zh")return SDe(e);return zDe(e)};var kDe=()=>"All Collections",CDe=()=>"所有媒体合集",B_=(e={},r={})=>{if((p??r.locale??n())==="zh")return CDe(e);return kDe(e)};var IDe=(e)=>`All Collections (${e?.count})`,RDe=(e)=>`所有媒体合集 (${e?.count})`,PDe=(e,r={})=>{if((p??r.locale??n())==="zh")return RDe(e);return IDe(e)};var TDe=()=>"All comments",ADe=()=>"所有评论",wf=(e={},r={})=>{if((p??r.locale??n())==="zh")return ADe(e);return TDe(e)};var EDe=()=>"All",DDe=()=>"全部",U_=(e={},r={})=>{if((p??r.locale??n())==="zh")return DDe(e);return EDe(e)};var ODe=()=>"All Projects",jDe=()=>"所有项目",NDe=(e={},r={})=>{if((p??r.locale??n())==="zh")return jDe(e);return ODe(e)};var FDe=()=>"All resolutions",BDe=()=>"所有分辨率",z_=(e={},r={})=>{if((p??r.locale??n())==="zh")return BDe(e);return FDe(e)};var YDe=()=>"Generates all supported resolutions up to the source quality.",UDe=()=>"生成不超过源质量的所有支持分辨率。",j_=(e={},r={})=>{if((p??r.locale??n())==="zh")return UDe(e);return YDe(e)};var qDe=()=>"All Share Links",HDe=()=>"所有分享链接",q_=(e={},r={})=>{if((p??r.locale??n())==="zh")return HDe(e);return qDe(e)};var VDe=(e)=>`All Share Links (${e?.count})`,WDe=(e)=>`所有分享链接 (${e?.count})`,GDe=(e,r={})=>{if((p??r.locale??n())==="zh")return WDe(e);return VDe(e)};var KDe=()=>"All Tasks",XDe=()=>"所有任务",$m=(e={},r={})=>{if((p??r.locale??n())==="zh")return XDe(e);return KDe(e)};var QDe=()=>"Allow download",JDe=()=>"允许下载",H_=(e={},r={})=>{if((p??r.locale??n())==="zh")return JDe(e);return QDe(e)};var $De=()=>"Visitors can download files from this share link",eOe=()=>"访客可以从该分享链接下载文件",$_=(e={},r={})=>{if((p??r.locale??n())==="zh")return eOe(e);return $De(e)};var tOe=()=>"Allowed Domains",rOe=()=>"允许的域名",G_=(e={},r={})=>{if((p??r.locale??n())==="zh")return rOe(e);return tOe(e)};var oOe=()=>"Already have an account? ",aOe=()=>"已有账户?",bse=(e={},r={})=>{if((p??r.locale??n())==="zh")return aOe(e);return oOe(e)};var nOe=()=>"An unknown error occurred",iOe=()=>"发生了未知错误",id=(e={},r={})=>{if((p??r.locale??n())==="zh")return iOe(e);return nOe(e)};var fOe=()=>"API Key",sOe=()=>"API 密钥",ad=(e={},r={})=>{if((p??r.locale??n())==="zh")return sOe(e);return fOe(e)};var lOe=()=>"You can provide a literal value (e.g. sk-...) or an Environment variable name (e.g. MY_API_KEY).",cOe=()=>"您可以提供一个字面值(例如 sk-...)或环境变量名称(例如 MY_API_KEY)。",Gm=(e={},r={})=>{if((p??r.locale??n())==="zh")return cOe(e);return lOe(e)};var uOe=(e)=>`Enter an API key or an environment variable name (e.g. ${e?.envKey}). Leave empty to restore default environment variable.`,dOe=(e)=>`输入 API 密钥或环境变量名(例如 ${e?.envKey})。留空将恢复默认环境变量。`,V_=(e,r={})=>{if((p??r.locale??n())==="zh")return dOe(e);return uOe(e)};var ZOe=(e)=>`Leave empty to use default env var (${e?.envKey})`,pOe=(e)=>`留空以使用默认环境变量 (${e?.envKey})`,Q_=(e,r={})=>{if((p??r.locale??n())==="zh")return pOe(e);return ZOe(e)};var mOe=()=>"Enter API Key or Environment Variable",hOe=()=>"输入 API 密钥或环境变量",Vm=(e={},r={})=>{if((p??r.locale??n())==="zh")return hOe(e);return mOe(e)};var gOe=()=>"API token generated successfully",MOe=()=>"API 令牌生成成功",K_=(e={},r={})=>{if((p??r.locale??n())==="zh")return MOe(e);return gOe(e)};var vOe=()=>"API token revoked successfully",xOe=()=>"API 令牌已成功撤销",W_=(e={},r={})=>{if((p??r.locale??n())==="zh")return xOe(e);return vOe(e)};var yOe=()=>"API Tokens",bOe=()=>"API 令牌",Qm=(e={},r={})=>{if((p??r.locale??n())==="zh")return bOe(e);return yOe(e)};var _Oe=()=>"Generate and manage API tokens. These tokens allow you or your agents to run terminal commands via shumai-cli.",wOe=()=>"生成和管理 API 令牌。这些令牌允许您或您的智能体通过 shumai-cli 运行终端命令。",Y_=(e={},r={})=>{if((p??r.locale??n())==="zh")return wOe(e);return _Oe(e)};var zOe=()=>"Appearance",SOe=()=>"外观",xf=(e={},r={})=>{if((p??r.locale??n())==="zh")return SOe(e);return zOe(e)};var LOe=()=>"Appearance",kOe=()=>"外观",Km=(e={},r={})=>{if((p??r.locale??n())==="zh")return kOe(e);return LOe(e)};var COe=()=>"Manage visual appearance and interface display settings for your team.",IOe=()=>"管理团队的视觉外观与界面显示设置。",Wm=(e={},r={})=>{if((p??r.locale??n())==="zh")return IOe(e);return COe(e)};var ROe=()=>"Appearance settings updated",POe=()=>"外观设置已更新",J_=(e={},r={})=>{if((p??r.locale??n())==="zh")return POe(e);return ROe(e)};var TOe=()=>"Apply and Close",AOe=()=>"应用并关闭",X_=(e={},r={})=>{if((p??r.locale??n())==="zh")return AOe(e);return TOe(e)};var EOe=()=>"Approve",DOe=()=>"批准",e0=(e={},r={})=>{if((p??r.locale??n())==="zh")return DOe(e);return EOe(e)};var OOe=()=>"Are you absolutely sure?",jOe=()=>"你确定要这样做吗?",ld=(e={},r={})=>{if((p??r.locale??n())==="zh")return jOe(e);return OOe(e)};var NOe=()=>"Are you absolutely sure?",FOe=()=>"确定要执行此操作吗?",t0=(e={},r={})=>{if((p??r.locale??n())==="zh")return FOe(e);return NOe(e)};var BOe=()=>"Ascending",YOe=()=>"升序",Sf=(e={},r={})=>{if((p??r.locale??n())==="zh")return YOe(e);return BOe(e)};var UOe=()=>"Asset linked to task",qOe=()=>"资产已关联到任务",_se=(e={},r={})=>{if((p??r.locale??n())==="zh")return qOe(e);return UOe(e)};var HOe=()=>"Asset unlinked from task",VOe=()=>"资产已取消关联",wse=(e={},r={})=>{if((p??r.locale??n())==="zh")return VOe(e);return HOe(e)};var WOe=()=>"Assets",GOe=()=>"资源",r0=(e={},r={})=>{if((p??r.locale??n())==="zh")return GOe(e);return WOe(e)};var KOe=()=>"Assets added to context:",XOe=()=>"已添加至上下文的资源:",n0=(e={},r={})=>{if((p??r.locale??n())==="zh")return XOe(e);return KOe(e)};var QOe=()=>"Assets & Statuses",JOe=()=>"素材与状态",o0=(e={},r={})=>{if((p??r.locale??n())==="zh")return JOe(e);return QOe(e)};var $Oe=()=>"Manage notifications related to file uploads and metadata field status updates.",eje=()=>"管理与文件上传和元数据字段状态更新相关的通知。",s0=(e={},r={})=>{if((p??r.locale??n())==="zh")return eje(e);return $Oe(e)};var tje=()=>"Assignee",rje=()=>"负责人",Ym=(e={},r={})=>{if((p??r.locale??n())==="zh")return rje(e);return tje(e)};var oje=()=>"@Mentions",aje=()=>"@提及",i0=(e={},r={})=>{if((p??r.locale??n())==="zh")return aje(e);return oje(e)};var nje=()=>"Attach files",ije=()=>"附加文件",a0=(e={},r={})=>{if((p??r.locale??n())==="zh")return ije(e);return nje(e)};var fje=()=>"Attachments",sje=()=>"附件",l0=(e={},r={})=>{if((p??r.locale??n())==="zh")return sje(e);return fje(e)};var lje=()=>"Audit Logs",cje=()=>"审计日志",Ef=(e={},r={})=>{if((p??r.locale??n())==="zh")return cje(e);return lje(e)};var uje=()=>"View and monitor all audit logs of team actions.",dje=()=>"查看并监控团队操作的所有审计日志。",c0=(e={},r={})=>{if((p??r.locale??n())==="zh")return dje(e);return uje(e)};var Zje=()=>"Join our community of developers and designers.",pje=()=>"加入我们的开发者和设计师社区。",mje=(e={},r={})=>{if((p??r.locale??n())==="zh")return pje(e);return Zje(e)};var hje=()=>"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.",gje=()=>"上传您的创意资产,添加各种类型的自定义元数据,直接在图片或视频上绘制标注和添加评论,——这一切都在Shumai,一个为创作者打造的一站式平台上完成。",Mje=(e={},r={})=>{if((p??r.locale??n())==="zh")return gje(e);return hje(e)};var vje=()=>"Custom metadata schemas & drawing canvas reviews",xje=()=>"自定义元数据模式 & 画布标注审阅",yje=(e={},r={})=>{if((p??r.locale??n())==="zh")return xje(e);return vje(e)};var bje=()=>"Frictionless team workspaces & secure sharing",_je=()=>"无缝团队工作区 & 安全分享",wje=(e={},r={})=>{if((p??r.locale??n())==="zh")return _je(e);return bje(e)};var zje=()=>"Instant asset uploads & high-fidelity media players",Sje=()=>"即时资产上传 & 高保真媒体播放器",Lje=(e={},r={})=>{if((p??r.locale??n())==="zh")return Sje(e);return zje(e)};var kje=()=>"One workspace for all your creative assets.",Cje=()=>"一站式创意资产管理协作平台。",Ije=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cje(e);return kje(e)};var Rje=()=>"Autofill Agent",Pje=()=>"自动填充智能体",u0=(e={},r={})=>{if((p??r.locale??n())==="zh")return Pje(e);return Rje(e)};var Tje=()=>"Autofill Source",Aje=()=>"自动填充来源",cd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Aje(e);return Tje(e)};var Eje=()=>"Content",Dje=()=>"文件内容",Rc=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dje(e);return Eje(e)};var Oje=()=>"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.",jje=()=>"设置为“文件内容”的字段将在文件上传后,由 AI 自动分析并从文件的视觉或文本内容中提取填写。注意:需要团队 Owner 先在设置中创建并启用“Autofill Agent”(自动填充 Agent),上传后才会触发内容提取。",d0=(e={},r={})=>{if((p??r.locale??n())==="zh")return jje(e);return Oje(e)};var Nje=()=>"Example: Image subject category, visual color palette, document summary, auto-detected language.",Fje=()=>"示例:图片类别、主色调、文档摘要、自动识别语言。",f0=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fje(e);return Nje(e)};var Bje=()=>"Creation Context",Yje=()=>"创建上下文",Nc=(e={},r={})=>{if((p??r.locale??n())==="zh")return Yje(e);return Bje(e)};var Uje=()=>"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.",qje=()=>"设置为“创建上下文”的字段用于记录生成资产时的上下文信息(如 Prompt、模型或供应商)。若文件由 Shumai AI Agent 生成/创建,Agent 会在创建时刻自动填入这些字段(无需启用 Autofill Agent);若由真实用户手动上传,则需用户手动填写,不会自动提取。",p0=(e={},r={})=>{if((p??r.locale??n())==="zh")return qje(e);return Uje(e)};var Hje=()=>"Example: Generation prompt, AI model name, LLM provider, sampler seed parameters.",Vje=()=>"示例:生成 Prompt、AI 模型名称、LLM 供应商、采样种子参数。",m0=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vje(e);return Hje(e)};var Wje=()=>"Understand how each autofill source option works and when to use it.",Gje=()=>"了解每种自动填充来源的工作方式及适用场景。",h0=(e={},r={})=>{if((p??r.locale??n())==="zh")return Gje(e);return Wje(e)};var Kje=()=>"Autofill Source Guide",Xje=()=>"自动填充来源说明",Cf=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xje(e);return Kje(e)};var Qje=()=>"None",Jje=()=>"无",Pc=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jje(e);return Qje(e)};var $je=()=>"Metadata fields marked as 'None' will not be automatically populated by AI. They are meant for manual user entry.",eNe=()=>"设置为“无”的字段不会由 AI 自动填充,需由用户手动填写。",g0=(e={},r={})=>{if((p??r.locale??n())==="zh")return eNe(e);return $je(e)};var tNe=()=>"Example: Internal tags, manual notes, status tracking flags.",rNe=()=>"示例:内部标签、手动备注、状态标记。",A0=(e={},r={})=>{if((p??r.locale??n())==="zh")return rNe(e);return tNe(e)};var oNe=()=>"Avatar",aNe=()=>"头像",_0=(e={},r={})=>{if((p??r.locale??n())==="zh")return aNe(e);return oNe(e)};var nNe=()=>"Avatar removed successfully",iNe=()=>"头像已移除",y0=(e={},r={})=>{if((p??r.locale??n())==="zh")return iNe(e);return nNe(e)};var fNe=()=>"Avatar Source",sNe=()=>"头像来源",b0=(e={},r={})=>{if((p??r.locale??n())==="zh")return sNe(e);return fNe(e)};var lNe=()=>"Avatar updated successfully",cNe=()=>"头像更新成功",v0=(e={},r={})=>{if((p??r.locale??n())==="zh")return cNe(e);return lNe(e)};var uNe=()=>"Back to Chat",dNe=()=>"返回聊天",w0=(e={},r={})=>{if((p??r.locale??n())==="zh")return dNe(e);return uNe(e)};var ZNe=()=>"Base URL (Optional)",pNe=()=>"基础 URL(可选)",Jm=(e={},r={})=>{if((p??r.locale??n())==="zh")return pNe(e);return ZNe(e)};var mNe=()=>"Bash Match Wildcard",hNe=()=>"Bash 命令通配符",x0=(e={},r={})=>{if((p??r.locale??n())==="zh")return hNe(e);return mNe(e)};var gNe=()=>"e.g. * or npm*",MNe=()=>"例如 * 或 npm*",S0=(e={},r={})=>{if((p??r.locale??n())==="zh")return MNe(e);return gNe(e)};var vNe=()=>"Best match",xNe=()=>"最佳匹配",E0=(e={},r={})=>{if((p??r.locale??n())==="zh")return xNe(e);return vNe(e)};var yNe=()=>"Generates a single optimal resolution matching the source quality.",bNe=()=>"生成与源质量匹配的单一最优分辨率。",C0=(e={},r={})=>{if((p??r.locale??n())==="zh")return bNe(e);return yNe(e)};var _Ne=()=>"Cache Read Cost (1M)",wNe=()=>"缓存读取成本(每百万)",I0=(e={},r={})=>{if((p??r.locale??n())==="zh")return wNe(e);return _Ne(e)};var zNe=()=>"Cache Read Tokens",SNe=()=>"缓存读取 Token",Xm=(e={},r={})=>{if((p??r.locale??n())==="zh")return SNe(e);return zNe(e)};var LNe=()=>"Cache Write Cost (1M)",kNe=()=>"缓存写入成本(每百万)",T0=(e={},r={})=>{if((p??r.locale??n())==="zh")return kNe(e);return LNe(e)};var CNe=()=>"Calling Tool:",INe=()=>"调用工具:",If=(e={},r={})=>{if((p??r.locale??n())==="zh")return INe(e);return CNe(e)};var RNe=()=>"Cancel",PNe=()=>"取消",Pe=(e={},r={})=>{if((p??r.locale??n())==="zh")return PNe(e);return RNe(e)};var TNe=()=>"Only team owners, task reporters, or assignees can change task status",ANe=()=>"只有负责人、报告人或被指派人可以更改任务状态",M0=(e={},r={})=>{if((p??r.locale??n())==="zh")return ANe(e);return TNe(e)};var ENe=()=>"Change",DNe=()=>"更改",k0=(e={},r={})=>{if((p??r.locale??n())==="zh")return DNe(e);return ENe(e)};var ONe=()=>"Change time format",jNe=()=>"更改时间格式",R0=(e={},r={})=>{if((p??r.locale??n())==="zh")return jNe(e);return ONe(e)};var NNe=()=>"Chat Agents",FNe=()=>"对话智能体",N0=(e={},r={})=>{if((p??r.locale??n())==="zh")return FNe(e);return NNe(e)};var BNe=()=>"Drag and drop files or folders here to add them to chatbot context",YNe=()=>"拖拽文件或文件夹到此处以添加到聊天机器人上下文",eh=(e={},r={})=>{if((p??r.locale??n())==="zh")return YNe(e);return BNe(e)};var UNe=()=>"简体中文 (Chinese)",qNe=()=>"简体中文 (Chinese)",P0=(e={},r={})=>{if((p??r.locale??n())==="zh")return qNe(e);return UNe(e)};var HNe=()=>"Clear Custom Key",VNe=()=>"清除自定义密钥",D0=(e={},r={})=>{if((p??r.locale??n())==="zh")return VNe(e);return HNe(e)};var WNe=()=>"Clear",GNe=()=>"清除",O0=(e={},r={})=>{if((p??r.locale??n())==="zh")return GNe(e);return WNe(e)};var KNe=()=>"Clear search",XNe=()=>"清除搜索",F0=(e={},r={})=>{if((p??r.locale??n())==="zh")return XNe(e);return KNe(e)};var QNe=()=>"Click to copy link",JNe=()=>"点击复制链接",L0=(e={},r={})=>{if((p??r.locale??n())==="zh")return JNe(e);return QNe(e)};var $Ne=()=>"Close",e5e=()=>"关闭",Dc=(e={},r={})=>{if((p??r.locale??n())==="zh")return e5e(e);return $Ne(e)};var t5e=()=>"collection",r5e=()=>"媒体合集",o5e=(e={},r={})=>{if((p??r.locale??n())==="zh")return r5e(e);return t5e(e)};var a5e=()=>"Collection created",n5e=()=>"媒体合集已创建",i5e=(e={},r={})=>{if((p??r.locale??n())==="zh")return n5e(e);return a5e(e)};var f5e=()=>"Collection deleted",s5e=()=>"媒体合集已删除",l5e=(e={},r={})=>{if((p??r.locale??n())==="zh")return s5e(e);return f5e(e)};var c5e=()=>"Collection Name",u5e=()=>"媒体合集名称",Z0=(e={},r={})=>{if((p??r.locale??n())==="zh")return u5e(e);return c5e(e)};var d5e=()=>"Collection renamed",Z5e=()=>"媒体合集已重命名",p5e=(e={},r={})=>{if((p??r.locale??n())==="zh")return Z5e(e);return d5e(e)};var m5e=()=>"Collection saved",h5e=()=>"媒体合集已保存",B0=(e={},r={})=>{if((p??r.locale??n())==="zh")return h5e(e);return m5e(e)};var g5e=()=>"Collections",M5e=()=>"媒体合集",v5e=(e={},r={})=>{if((p??r.locale??n())==="zh")return M5e(e);return g5e(e)};var x5e=()=>"Color",y5e=()=>"颜色",U0=(e={},r={})=>{if((p??r.locale??n())==="zh")return y5e(e);return x5e(e)};var b5e=()=>"Write a comment...",_5e=()=>"写下评论...",w5e=(e={},r={})=>{if((p??r.locale??n())==="zh")return _5e(e);return b5e(e)};var z5e=()=>"Comment Replies",S5e=()=>"评论回复",z0=(e={},r={})=>{if((p??r.locale??n())==="zh")return S5e(e);return z5e(e)};var L5e=()=>"Comments",k5e=()=>"评论",ud=(e={},r={})=>{if((p??r.locale??n())==="zh")return k5e(e);return L5e(e)};var C5e=()=>"Comments & Replies",I5e=()=>"评论与回复",j0=(e={},r={})=>{if((p??r.locale??n())==="zh")return I5e(e);return C5e(e)};var R5e=()=>"Control notification preferences when other users comment on assets you collaborate on or mention you.",P5e=()=>"控制其他用户对您协作的素材评论或提及您时的通知偏好。",q0=(e={},r={})=>{if((p??r.locale??n())==="zh")return P5e(e);return R5e(e)};var T5e=()=>"Compare Versions",A5e=()=>"对比版本",E5e=(e={},r={})=>{if((p??r.locale??n())==="zh")return A5e(e);return T5e(e)};var D5e=()=>"Configure your AI agent's personality and capabilities.",O5e=()=>"配置 AI 智能体的个性和功能。",H0=(e={},r={})=>{if((p??r.locale??n())==="zh")return O5e(e);return D5e(e)};var j5e=()=>"Configure your new project workspace and appearance.",N5e=()=>"配置您的新项目工作区和外观。",$0=(e={},r={})=>{if((p??r.locale??n())==="zh")return N5e(e);return j5e(e)};var F5e=()=>"Configure authentication and model details for your AI provider.",B5e=()=>"配置 AI 提供商的身份验证和模型详情。",th=(e={},r={})=>{if((p??r.locale??n())==="zh")return B5e(e);return F5e(e)};var Y5e=(e)=>`Configure Skill: ${e?.name}`,U5e=(e)=>`配置技能:${e?.name}`,G0=(e,r={})=>{if((p??r.locale??n())==="zh")return U5e(e);return Y5e(e)};var q5e=()=>"Configured AI Providers",H5e=()=>"已配置的 AI 提供商",V0=(e={},r={})=>{if((p??r.locale??n())==="zh")return H5e(e);return q5e(e)};var V5e=()=>"Confirm",W5e=()=>"确认",ea=(e={},r={})=>{if((p??r.locale??n())==="zh")return W5e(e);return V5e(e)};var G5e=()=>"Are you sure you want to delete this field?",K5e=()=>"确定要删除此字段吗?",Q0=(e={},r={})=>{if((p??r.locale??n())==="zh")return K5e(e);return G5e(e)};var X5e=()=>"Confirm Download",Q5e=()=>"确认下载",rh=(e={},r={})=>{if((p??r.locale??n())==="zh")return Q5e(e);return X5e(e)};var J5e=()=>"Confirm Password",$5e=()=>"确认密码",K0=(e={},r={})=>{if((p??r.locale??n())==="zh")return $5e(e);return J5e(e)};var e4e=()=>"Confirm new password",t4e=()=>"确认新密码",W0=(e={},r={})=>{if((p??r.locale??n())==="zh")return t4e(e);return e4e(e)};var r4e=()=>"Contains drawing annotations",o4e=()=>"包含标注绘图",Y0=(e={},r={})=>{if((p??r.locale??n())==="zh")return o4e(e);return r4e(e)};var a4e=()=>"Context Window (tokens)",n4e=()=>"上下文窗口(令牌数)",J0=(e={},r={})=>{if((p??r.locale??n())==="zh")return n4e(e);return a4e(e)};var i4e=()=>"Copied!",f4e=()=>"已复制!",X0=(e={},r={})=>{if((p??r.locale??n())==="zh")return f4e(e);return i4e(e)};var s4e=()=>"Copied API token to clipboard",l4e=()=>"已将 API 令牌复制到剪贴板",ey=(e={},r={})=>{if((p??r.locale??n())==="zh")return l4e(e);return s4e(e)};var c4e=()=>"Copied name and download link to clipboard",u4e=()=>"已复制名称和下载链接到剪贴板",ty=(e={},r={})=>{if((p??r.locale??n())==="zh")return u4e(e);return c4e(e)};var d4e=()=>"Copied to clipboard",Z4e=()=>"已复制到剪贴板",ry=(e={},r={})=>{if((p??r.locale??n())==="zh")return Z4e(e);return d4e(e)};var p4e=()=>"Copy",m4e=()=>"复制",ny=(e={},r={})=>{if((p??r.locale??n())==="zh")return m4e(e);return p4e(e)};var h4e=()=>"Copy optimized image to clipboard",g4e=()=>"复制优化图片到剪贴板",oy=(e={},r={})=>{if((p??r.locale??n())==="zh")return g4e(e);return h4e(e)};var M4e=()=>"Copy Link",v4e=()=>"复制链接",sy=(e={},r={})=>{if((p??r.locale??n())==="zh")return v4e(e);return M4e(e)};var x4e=()=>"Copy name and download link",y4e=()=>"复制名称和下载链接",Tf=(e={},r={})=>{if((p??r.locale??n())==="zh")return y4e(e);return x4e(e)};var b4e=()=>"Copy to",_4e=()=>"复制到",nh=(e={},r={})=>{if((p??r.locale??n())==="zh")return _4e(e);return b4e(e)};var w4e=()=>"Cost",z4e=()=>"费用",oh=(e={},r={})=>{if((p??r.locale??n())==="zh")return z4e(e);return w4e(e)};var S4e=(e)=>`$${e?.input}/1M in · $${e?.output}/1M out`,L4e=(e)=>`$${e?.input}/1M 输入 · $${e?.output}/1M 输出`,sh=(e,r={})=>{if((p??r.locale??n())==="zh")return L4e(e);return S4e(e)};var k4e=()=>"10000+ Assets",C4e=()=>"10000+ 资源",iy=(e={},r={})=>{if((p??r.locale??n())==="zh")return C4e(e);return k4e(e)};var I4e=()=>"10000+ Folders",R4e=()=>"10000+ 文件夹",ay=(e={},r={})=>{if((p??r.locale??n())==="zh")return R4e(e);return I4e(e)};var P4e=()=>"Cover Preview",T4e=()=>"封面预览",ly=(e={},r={})=>{if((p??r.locale??n())==="zh")return T4e(e);return P4e(e)};var A4e=()=>"Create",E4e=()=>"创建",Oc=(e={},r={})=>{if((p??r.locale??n())==="zh")return E4e(e);return A4e(e)};var D4e=()=>"Create Account",O4e=()=>"创建账户",j4e=(e={},r={})=>{if((p??r.locale??n())==="zh")return O4e(e);return D4e(e)};var N4e=()=>"Create Agent",F4e=()=>"创建智能体",cy=(e={},r={})=>{if((p??r.locale??n())==="zh")return F4e(e);return N4e(e)};var B4e=()=>"Create your first goal to organize related tasks.",Y4e=()=>"创建第一个目标来组织相关任务。",uy=(e={},r={})=>{if((p??r.locale??n())==="zh")return Y4e(e);return B4e(e)};var U4e=()=>"Create Goal",q4e=()=>"创建目标",dy=(e={},r={})=>{if((p??r.locale??n())==="zh")return q4e(e);return U4e(e)};var H4e=()=>"Create New Project",V4e=()=>"创建新项目",fy=(e={},r={})=>{if((p??r.locale??n())==="zh")return V4e(e);return H4e(e)};var W4e=()=>"Create New Template",G4e=()=>"创建新模板",ih=(e={},r={})=>{if((p??r.locale??n())==="zh")return G4e(e);return W4e(e)};var K4e=()=>"Create new version",X4e=()=>"创建新版本",py=(e={},r={})=>{if((p??r.locale??n())==="zh")return X4e(e);return K4e(e)};var Q4e=()=>"Create one now",J4e=()=>"立即创建",my=(e={},r={})=>{if((p??r.locale??n())==="zh")return J4e(e);return Q4e(e)};var $4e=()=>"Create Project",eFe=()=>"创建项目",Mf=(e={},r={})=>{if((p??r.locale??n())==="zh")return eFe(e);return $4e(e)};var tFe=()=>"Create Quota Rule",rFe=()=>"创建配额规则",hy=(e={},r={})=>{if((p??r.locale??n())==="zh")return rFe(e);return tFe(e)};var oFe=()=>"Set up a new resource quota to prevent unexpected usage.",aFe=()=>"设置新的资源配额以防止意外的超量使用。",gy=(e={},r={})=>{if((p??r.locale??n())==="zh")return aFe(e);return oFe(e)};var nFe=()=>"Create Share Link",iFe=()=>"创建分享链接",ah=(e={},r={})=>{if((p??r.locale??n())==="zh")return iFe(e);return nFe(e)};var fFe=()=>"Create Task",sFe=()=>"创建任务",kf=(e={},r={})=>{if((p??r.locale??n())==="zh")return sFe(e);return fFe(e)};var lFe=()=>"Create Time",cFe=()=>"创建时间",Ay=(e={},r={})=>{if((p??r.locale??n())==="zh")return cFe(e);return lFe(e)};var uFe=(e)=>`Create ${e?.type} Agent`,dFe=(e)=>`创建${e?.type}智能体`,_y=(e,r={})=>{if((p??r.locale??n())==="zh")return dFe(e);return uFe(e)};var ZFe=()=>"Created At",pFe=()=>"创建时间",yy=(e={},r={})=>{if((p??r.locale??n())==="zh")return pFe(e);return ZFe(e)};var mFe=()=>"Created by Agent",hFe=()=>"由智能体创建",by=(e={},r={})=>{if((p??r.locale??n())==="zh")return hFe(e);return mFe(e)};var gFe=(e)=>`${e?.time} by ${e?.author}`,MFe=(e)=>`${e?.time} 由 ${e?.author} 创建`,vy=(e,r={})=>{if((p??r.locale??n())==="zh")return MFe(e);return gFe(e)};var vFe=()=>"Created Date",xFe=()=>"创建日期",Rf=(e={},r={})=>{if((p??r.locale??n())==="zh")return xFe(e);return vFe(e)};var yFe=()=>"Creating account...",bFe=()=>"创建账户中...",_Fe=(e={},r={})=>{if((p??r.locale??n())==="zh")return bFe(e);return yFe(e)};var wFe=()=>"Creator",zFe=()=>"创建者",Fc=(e={},r={})=>{if((p??r.locale??n())==="zh")return zFe(e);return wFe(e)};var SFe=()=>"Current Custom Avatar",LFe=()=>"当前自定义头像",wy=(e={},r={})=>{if((p??r.locale??n())==="zh")return LFe(e);return SFe(e)};var kFe=()=>"Current Project",CFe=()=>"当前项目",IFe=(e={},r={})=>{if((p??r.locale??n())==="zh")return CFe(e);return kFe(e)};var RFe=()=>"Custom Fields",PFe=()=>"自定义字段",xy=(e={},r={})=>{if((p??r.locale??n())==="zh")return PFe(e);return RFe(e)};var TFe=()=>"Custom Model...",AFe=()=>"自定义模型...",Sy=(e={},r={})=>{if((p??r.locale??n())==="zh")return AFe(e);return TFe(e)};var EFe=()=>"Dark",DFe=()=>"深色",OFe=(e={},r={})=>{if((p??r.locale??n())==="zh")return DFe(e);return EFe(e)};var jFe=()=>"Dashboard",NFe=()=>"仪表板",lh=(e={},r={})=>{if((p??r.locale??n())==="zh")return NFe(e);return jFe(e)};var FFe=()=>"MMMM d, yyyy",BFe=()=>"yyyy年M月d日",YFe=(e={},r={})=>{if((p??r.locale??n())==="zh")return BFe(e);return FFe(e)};var UFe=()=>"One month ago",qFe=()=>"一个月前",Ey=(e={},r={})=>{if((p??r.locale??n())==="zh")return qFe(e);return UFe(e)};var HFe=()=>"One month from now",VFe=()=>"一个月后",Cy=(e={},r={})=>{if((p??r.locale??n())==="zh")return VFe(e);return HFe(e)};var WFe=()=>"One week ago",GFe=()=>"一周前",Iy=(e={},r={})=>{if((p??r.locale??n())==="zh")return GFe(e);return WFe(e)};var KFe=()=>"One week from now",XFe=()=>"一周后",Ty=(e={},r={})=>{if((p??r.locale??n())==="zh")return XFe(e);return KFe(e)};var QFe=()=>"Today",JFe=()=>"今天",My=(e={},r={})=>{if((p??r.locale??n())==="zh")return JFe(e);return QFe(e)};var $Fe=()=>"Tomorrow",e3e=()=>"明天",ky=(e={},r={})=>{if((p??r.locale??n())==="zh")return e3e(e);return $Fe(e)};var t3e=()=>"Date type",r3e=()=>"日期类型",Ry=(e={},r={})=>{if((p??r.locale??n())==="zh")return r3e(e);return t3e(e)};var o3e=()=>"Yesterday",a3e=()=>"昨天",Ny=(e={},r={})=>{if((p??r.locale??n())==="zh")return a3e(e);return o3e(e)};var n3e=(e)=>`${e?.count}d`,i3e=(e)=>`${e?.count}天`,ch=(e,r={})=>{if((p??r.locale??n())==="zh")return i3e(e);return n3e(e)};var f3e=(e)=>`Default: ${e?.envKey}`,s3e=(e)=>`默认:${e?.envKey}`,Py=(e,r={})=>{if((p??r.locale??n())==="zh")return s3e(e);return f3e(e)};var l3e=()=>"Default Value",c3e=()=>"默认值",Dy=(e={},r={})=>{if((p??r.locale??n())==="zh")return c3e(e);return l3e(e)};var u3e=()=>"Delete",d3e=()=>"删除",at=(e={},r={})=>{if((p??r.locale??n())==="zh")return d3e(e);return u3e(e)};var Z3e=()=>"Delete Agent",p3e=()=>"删除智能体",Oy=(e={},r={})=>{if((p??r.locale??n())==="zh")return p3e(e);return Z3e(e)};var m3e=(e)=>`This action cannot be undone. This will permanently delete the agent "${e?.name}" and remove all its data from our servers.`,h3e=(e)=>`此操作无法撤销。这将永久删除智能体 "${e?.name}" 并从服务器上删除其所有数据。`,Fy=(e,r={})=>{if((p??r.locale??n())==="zh")return h3e(e);return m3e(e)};var g3e=()=>"Deleted items can be recovered for 30 days before being permanently deleted.",M3e=()=>"已删除的项目可在 30 天内恢复,之后将被永久删除。",Lc=(e={},r={})=>{if((p??r.locale??n())==="zh")return M3e(e);return g3e(e)};var v3e=()=>"Delete Asset?",x3e=()=>"删除资源?",Zc=(e={},r={})=>{if((p??r.locale??n())==="zh")return x3e(e);return v3e(e)};var y3e=()=>"Delete Collection?",b3e=()=>"删除媒体合集?",_3e=(e={},r={})=>{if((p??r.locale??n())==="zh")return b3e(e);return y3e(e)};var w3e=()=>"Delete Comment?",z3e=()=>"删除评论?",uh=(e={},r={})=>{if((p??r.locale??n())==="zh")return z3e(e);return w3e(e)};var S3e=()=>"Are you sure you want to delete this comment? This action cannot be undone.",L3e=()=>"您确定要删除这条评论吗?此操作将无法撤回。",dh=(e={},r={})=>{if((p??r.locale??n())==="zh")return L3e(e);return S3e(e)};var k3e=(e)=>`Are you sure you want to delete this ${e?.type}? This action cannot be undone.`,C3e=(e)=>`确定要删除此${e?.type}吗?此操作无法撤销。`,I3e=(e,r={})=>{if((p??r.locale??n())==="zh")return C3e(e);return k3e(e)};var R3e=()=>"Delete field",P3e=()=>"删除字段",Ly=(e={},r={})=>{if((p??r.locale??n())==="zh")return P3e(e);return R3e(e)};var T3e=()=>"Delete Folder?",A3e=()=>"删除文件夹?",E3e=(e={},r={})=>{if((p??r.locale??n())==="zh")return A3e(e);return T3e(e)};var D3e=()=>"Delete Goal",O3e=()=>"删除目标",Zy=(e={},r={})=>{if((p??r.locale??n())==="zh")return O3e(e);return D3e(e)};var j3e=(e)=>`Are you sure you want to delete goal "${e?.title}"? Associated tasks will remain but will no longer be linked to this goal.`,N3e=(e)=>`确定要删除目标"${e?.title}"吗?关联的任务仍将保留,但不再关联此目标。`,By=(e,r={})=>{if((p??r.locale??n())==="zh")return N3e(e);return j3e(e)};var F3e=()=>"Delete MCP Server",B3e=()=>"删除 MCP 服务",Uy=(e={},r={})=>{if((p??r.locale??n())==="zh")return B3e(e);return F3e(e)};var Y3e=(e)=>`This action cannot be undone. This will permanently delete the MCP server "${e?.name}".`,U3e=(e)=>`此操作无法撤销。这将永久删除 MCP 服务 "${e?.name}"。`,zy=(e,r={})=>{if((p??r.locale??n())==="zh")return U3e(e);return Y3e(e)};var q3e=(e)=>`This action cannot be undone. This will permanently delete the model "${e?.name}".`,H3e=(e)=>`此操作无法撤销。这将永久删除模型 "${e?.name}"。`,jy=(e,r={})=>{if((p??r.locale??n())==="zh")return H3e(e);return q3e(e)};var V3e=()=>"delete",W3e=()=>"delete",qy=(e={},r={})=>{if((p??r.locale??n())==="zh")return W3e(e);return V3e(e)};var G3e=(e)=>`This action cannot be undone. This will permanently delete the project "${e?.name}" and all its assets.`,K3e=(e)=>`此操作无法撤销。这将永久删除项目 "${e?.name}" 及其所有资产。`,Hy=(e,r={})=>{if((p??r.locale??n())==="zh")return K3e(e);return G3e(e)};var X3e=(e)=>`This action cannot be undone. This will permanently delete the provider "${e?.name}" and all associated model configurations.`,Q3e=(e)=>`此操作无法撤销。这将永久删除提供商 "${e?.name}" 及所有关联的模型配置。`,$y=(e,r={})=>{if((p??r.locale??n())==="zh")return Q3e(e);return X3e(e)};var J3e=()=>"Delete Quota",$3e=()=>"删除配额",Nf=(e={},r={})=>{if((p??r.locale??n())==="zh")return $3e(e);return J3e(e)};var e6e=()=>"Are you sure you want to delete this quota rule? This action cannot be undone.",t6e=()=>"确定要删除此配额规则吗?此操作无法撤销。",fh=(e={},r={})=>{if((p??r.locale??n())==="zh")return t6e(e);return e6e(e)};var r6e=()=>"Delete Session",o6e=()=>"删除会话",Gy=(e={},r={})=>{if((p??r.locale??n())==="zh")return o6e(e);return r6e(e)};var a6e=()=>"Are you sure you want to delete this chat session?",n6e=()=>"您确定要删除此会话记录吗?",Vy=(e={},r={})=>{if((p??r.locale??n())==="zh")return n6e(e);return a6e(e)};var i6e=()=>"Delete Share Link?",f6e=()=>"删除分享链接?",s6e=(e={},r={})=>{if((p??r.locale??n())==="zh")return f6e(e);return i6e(e)};var l6e=(e)=>`This action cannot be undone. This will permanently delete the skill "${e?.name}" and all its configurations.`,c6e=(e)=>`此操作无法撤销。这将永久删除技能 "${e?.name}" 及其所有配置。`,Qy=(e,r={})=>{if((p??r.locale??n())==="zh")return c6e(e);return l6e(e)};var u6e=()=>"Delete Task",d6e=()=>"删除任务",Ky=(e={},r={})=>{if((p??r.locale??n())==="zh")return d6e(e);return u6e(e)};var Z6e=(e)=>`Are you sure you want to delete task "${e?.title}"? This action cannot be undone.`,p6e=(e)=>`确定要删除任务"${e?.title}"吗?此操作无法撤销。`,Wy=(e,r={})=>{if((p??r.locale??n())==="zh")return p6e(e);return Z6e(e)};var m6e=()=>"Deleted",h6e=()=>"已删除",Yy=(e={},r={})=>{if((p??r.locale??n())==="zh")return h6e(e);return m6e(e)};var g6e=()=>"Deleting...",M6e=()=>"删除中...",Jy=(e={},r={})=>{if((p??r.locale??n())==="zh")return M6e(e);return g6e(e)};var v6e=()=>"Demo Access:",x6e=()=>"演示访问:",y6e=(e={},r={})=>{if((p??r.locale??n())==="zh")return x6e(e);return v6e(e)};var b6e=()=>'Use "foo@bar.com" as the email and "foo" as the password to login (this demo account is read-only).',_6e=()=>'使用 "foo@bar.com" 作为邮箱,"foo" 作为密码登录(该演示账户为只读)。',w6e=(e={},r={})=>{if((p??r.locale??n())==="zh")return _6e(e);return b6e(e)};var z6e=()=>"Descending",S6e=()=>"降序",Pf=(e={},r={})=>{if((p??r.locale??n())==="zh")return S6e(e);return z6e(e)};var L6e=()=>"Description",k6e=()=>"描述",Al=(e={},r={})=>{if((p??r.locale??n())==="zh")return k6e(e);return L6e(e)};var C6e=()=>"Optional, used for AI autofill",I6e=()=>"可选,用于 AI 自动填充",dd=(e={},r={})=>{if((p??r.locale??n())==="zh")return I6e(e);return C6e(e)};var R6e=()=>"Generate and manage API keys for developers and automated workflows.",P6e=()=>"为开发者和自动化工作流生成和管理 API 密钥。",Xy=(e={},r={})=>{if((p??r.locale??n())==="zh")return P6e(e);return R6e(e)};var T6e=()=>"Developer Settings",A6e=()=>"开发者设置",eb=(e={},r={})=>{if((p??r.locale??n())==="zh")return A6e(e);return T6e(e)};var E6e=()=>"Disable Timestamp",D6e=()=>"禁用时间戳",tb=(e={},r={})=>{if((p??r.locale??n())==="zh")return D6e(e);return E6e(e)};var O6e=()=>"Disabled",j6e=()=>"已禁用",Df=(e={},r={})=>{if((p??r.locale??n())==="zh")return j6e(e);return O6e(e)};var N6e=()=>"Display Name (Optional)",F6e=()=>"显示名称(可选)",rb=(e={},r={})=>{if((p??r.locale??n())==="zh")return F6e(e);return N6e(e)};var B6e=()=>"Domain already exists",Y6e=()=>"域名已存在",nb=(e={},r={})=>{if((p??r.locale??n())==="zh")return Y6e(e);return B6e(e)};var U6e=()=>"Done",q6e=()=>"完成",H6e=(e={},r={})=>{if((p??r.locale??n())==="zh")return q6e(e);return U6e(e)};var V6e=()=>"Download",W6e=()=>"下载",mr=(e={},r={})=>{if((p??r.locale??n())==="zh")return W6e(e);return V6e(e)};var G6e=(e)=>`This download will include ${e?.count} file(s).`,K6e=(e)=>`此下载将包含 ${e?.count} 个文件。`,ph=(e,r={})=>{if((p??r.locale??n())==="zh")return K6e(e);return G6e(e)};var X6e=()=>"Download original file",Q6e=()=>"下载原始文件",ob=(e={},r={})=>{if((p??r.locale??n())==="zh")return Q6e(e);return X6e(e)};var J6e=()=>"Download original image",$6e=()=>"下载原始图片",sb=(e={},r={})=>{if((p??r.locale??n())==="zh")return $6e(e);return J6e(e)};var eBe=()=>"Due Date",tBe=()=>"截止日期",fd=(e={},r={})=>{if((p??r.locale??n())==="zh")return tBe(e);return eBe(e)};var rBe=()=>"Edit",oBe=()=>"编辑",ib=(e={},r={})=>{if((p??r.locale??n())==="zh")return oBe(e);return rBe(e)};var aBe=()=>"Edit Goal",nBe=()=>"编辑目标",mh=(e={},r={})=>{if((p??r.locale??n())==="zh")return nBe(e);return aBe(e)};var iBe=(e)=>`Edit ${e?.name}`,fBe=(e)=>`编辑 ${e?.name}`,hh=(e,r={})=>{if((p??r.locale??n())==="zh")return fBe(e);return iBe(e)};var sBe=()=>"Edit MCP Server",lBe=()=>"编辑 MCP 服务",ab=(e={},r={})=>{if((p??r.locale??n())==="zh")return lBe(e);return sBe(e)};var cBe=()=>"Edit Model",uBe=()=>"编辑模型",gh=(e={},r={})=>{if((p??r.locale??n())==="zh")return uBe(e);return cBe(e)};var dBe=()=>"Edit Quota Rule",ZBe=()=>"编辑配额规则",lb=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZBe(e);return dBe(e)};var pBe=()=>"Configure resource limits, target scopes, and evaluation periods.",mBe=()=>"配置资源上限、目标范围以及评估周期。",cb=(e={},r={})=>{if((p??r.locale??n())==="zh")return mBe(e);return pBe(e)};var hBe=()=>"Edit Task",gBe=()=>"编辑任务",MBe=(e={},r={})=>{if((p??r.locale??n())==="zh")return gBe(e);return hBe(e)};var vBe=()=>"Edit Watermark",xBe=()=>"编辑水印",ub=(e={},r={})=>{if((p??r.locale??n())==="zh")return xBe(e);return vBe(e)};var yBe=()=>"Editor",bBe=()=>"创作者",Zs=(e={},r={})=>{if((p??r.locale??n())==="zh")return bBe(e);return yBe(e)};var _Be=()=>"Email",wBe=()=>"邮箱",Of=(e={},r={})=>{if((p??r.locale??n())==="zh")return wBe(e);return _Be(e)};var zBe=()=>"Email Address",SBe=()=>"邮箱地址",zse=(e={},r={})=>{if((p??r.locale??n())==="zh")return SBe(e);return zBe(e)};var LBe=()=>"john@example.com",kBe=()=>"zhangsan@example.com",db=(e={},r={})=>{if((p??r.locale??n())==="zh")return kBe(e);return LBe(e)};var CBe=()=>"Email address is managed by authentication provider.",IBe=()=>"邮箱地址由认证提供商管理。",fb=(e={},r={})=>{if((p??r.locale??n())==="zh")return IBe(e);return CBe(e)};var RBe=()=>"Email Notifications",PBe=()=>"邮件通知",Ah=(e={},r={})=>{if((p??r.locale??n())==="zh")return PBe(e);return RBe(e)};var TBe=()=>"Configure SMTP settings for sending email notifications to team members.",ABe=()=>"配置用于向团队成员发送邮件通知的 SMTP 设置。",pb=(e={},r={})=>{if((p??r.locale??n())==="zh")return ABe(e);return TBe(e)};var EBe=()=>"Email settings saved successfully",DBe=()=>"邮件设置已保存",_h=(e={},r={})=>{if((p??r.locale??n())==="zh")return DBe(e);return EBe(e)};var OBe=()=>"Embedding Agent",jBe=()=>"嵌入智能体",mb=(e={},r={})=>{if((p??r.locale??n())==="zh")return jBe(e);return OBe(e)};var NBe=()=>"All items in the recently deleted folder will be permanently removed both from the database and from storage. This action cannot be undone.",FBe=()=>"回收站中的所有项目将从数据库和存储中永久删除。此操作无法撤销。",hb=(e={},r={})=>{if((p??r.locale??n())==="zh")return FBe(e);return NBe(e)};var BBe=()=>"Empty Trash?",YBe=()=>"清空回收站?",gb=(e={},r={})=>{if((p??r.locale??n())==="zh")return YBe(e);return BBe(e)};var UBe=()=>"Enable Email Notifications",qBe=()=>"启用邮件通知",Ab=(e={},r={})=>{if((p??r.locale??n())==="zh")return qBe(e);return UBe(e)};var HBe=()=>"Send email notifications for comments, mentions, uploads, and other team activity.",VBe=()=>"当有评论、提及、上传及其他团队活动时发送邮件通知。",_b=(e={},r={})=>{if((p??r.locale??n())==="zh")return VBe(e);return HBe(e)};var WBe=()=>"Please create and enable an embedding agent in the team settings to use semantic search.",GBe=()=>"请在团队设置中创建并启用嵌入智能体以使用语义搜索。",yb=(e={},r={})=>{if((p??r.locale??n())==="zh")return GBe(e);return WBe(e)};var KBe=()=>"Enable Network Sandbox",XBe=()=>"启用网络沙箱",bb=(e={},r={})=>{if((p??r.locale??n())==="zh")return XBe(e);return KBe(e)};var QBe=()=>"Enable Timestamp",JBe=()=>"启用时间戳",vb=(e={},r={})=>{if((p??r.locale??n())==="zh")return JBe(e);return QBe(e)};var $Be=()=>"Enabled",eYe=()=>"已启用",Ff=(e={},r={})=>{if((p??r.locale??n())==="zh")return eYe(e);return $Be(e)};var tYe=()=>"English",rYe=()=>"English",wb=(e={},r={})=>{if((p??r.locale??n())==="zh")return rYe(e);return tYe(e)};var oYe=()=>"Enter a value",aYe=()=>"输入一个值",xb=(e={},r={})=>{if((p??r.locale??n())==="zh")return aYe(e);return oYe(e)};var nYe=()=>"Enter custom model ID",iYe=()=>"输入自定义模型 ID",Sb=(e={},r={})=>{if((p??r.locale??n())==="zh")return iYe(e);return nYe(e)};var fYe=()=>"Enter MCP Server ID",sYe=()=>"输入 MCP 服务 ID",yh=(e={},r={})=>{if((p??r.locale??n())==="zh")return sYe(e);return fYe(e)};var lYe=()=>"Enter new name",cYe=()=>"输入新名称",pd=(e={},r={})=>{if((p??r.locale??n())==="zh")return cYe(e);return lYe(e)};var uYe=()=>"Enter password",dYe=()=>"请输入密码",Eb=(e={},r={})=>{if((p??r.locale??n())==="zh")return dYe(e);return uYe(e)};var ZYe=()=>"Enter template name...",pYe=()=>"请输入模板名称...",bh=(e={},r={})=>{if((p??r.locale??n())==="zh")return pYe(e);return ZYe(e)};var mYe=()=>"Enter your details",hYe=()=>"输入您的信息",Cb=(e={},r={})=>{if((p??r.locale??n())==="zh")return hYe(e);return mYe(e)};var gYe=()=>"Enter your name",MYe=()=>"请输入您的名称",Ib=(e={},r={})=>{if((p??r.locale??n())==="zh")return MYe(e);return gYe(e)};var vYe=()=>"Entry ID",xYe=()=>"条目 ID",md=(e={},r={})=>{if((p??r.locale??n())==="zh")return xYe(e);return vYe(e)};var yYe=()=>"If left empty, the value will be read from the host machine's environment.",bYe=()=>"如果留空,将从主机的环境中读取值。",Tb=(e={},r={})=>{if((p??r.locale??n())==="zh")return bYe(e);return yYe(e)};var _Ye=()=>"Error",wYe=()=>"错误",Tn=(e={},r={})=>{if((p??r.locale??n())==="zh")return wYe(e);return _Ye(e)};var zYe=(e)=>`Error: ${e?.message}`,SYe=(e)=>`错误:${e?.message}`,Bs=(e,r={})=>{if((p??r.locale??n())==="zh")return SYe(e);return zYe(e)};var LYe=()=>"Essentials",kYe=()=>"基本信息",Mb=(e={},r={})=>{if((p??r.locale??n())==="zh")return kYe(e);return LYe(e)};var CYe=()=>"Exact date...",IYe=()=>"精确日期...",kb=(e={},r={})=>{if((p??r.locale??n())==="zh")return IYe(e);return CYe(e)};var RYe=()=>"Exit compare",PYe=()=>"退出对比",Rb=(e={},r={})=>{if((p??r.locale??n())==="zh")return PYe(e);return RYe(e)};var TYe=()=>"Expiration Date",AYe=()=>"过期日期",Nb=(e={},r={})=>{if((p??r.locale??n())==="zh")return AYe(e);return TYe(e)};var EYe=()=>"Export Comments",DYe=()=>"导出评论",Pb=(e={},r={})=>{if((p??r.locale??n())==="zh")return DYe(e);return EYe(e)};var OYe=()=>"Failed to create collection",jYe=()=>"创建媒体合集失败",NYe=(e={},r={})=>{if((p??r.locale??n())==="zh")return jYe(e);return OYe(e)};var FYe=()=>"Failed to create field",BYe=()=>"创建字段失败",Lf=(e={},r={})=>{if((p??r.locale??n())==="zh")return BYe(e);return FYe(e)};var YYe=()=>"Failed to create project",UYe=()=>"创建项目失败",Db=(e={},r={})=>{if((p??r.locale??n())==="zh")return UYe(e);return YYe(e)};var qYe=()=>"Failed to create share link",HYe=()=>"创建分享链接失败",VYe=(e={},r={})=>{if((p??r.locale??n())==="zh")return HYe(e);return qYe(e)};var WYe=()=>"Failed to delete collection",GYe=()=>"删除媒体合集失败",KYe=(e={},r={})=>{if((p??r.locale??n())==="zh")return GYe(e);return WYe(e)};var XYe=()=>"Failed to delete field",QYe=()=>"删除字段失败",Ob=(e={},r={})=>{if((p??r.locale??n())==="zh")return QYe(e);return XYe(e)};var JYe=()=>"Failed to delete folder",$Ye=()=>"删除文件夹失败",e7e=(e={},r={})=>{if((p??r.locale??n())==="zh")return $Ye(e);return JYe(e)};var t7e=()=>"Failed to delete share link",r7e=()=>"删除分享链接失败",o7e=(e={},r={})=>{if((p??r.locale??n())==="zh")return r7e(e);return t7e(e)};var a7e=()=>"Failed to fetch collections",n7e=()=>"获取媒体合集失败",i7e=(e={},r={})=>{if((p??r.locale??n())==="zh")return n7e(e);return a7e(e)};var f7e=()=>"Failed to fetch fields",s7e=()=>"获取字段列表失败",Fb=(e={},r={})=>{if((p??r.locale??n())==="zh")return s7e(e);return f7e(e)};var l7e=()=>"Failed to fetch files",c7e=()=>"获取文件失败",Lb=(e={},r={})=>{if((p??r.locale??n())==="zh")return c7e(e);return l7e(e)};var u7e=()=>"Failed to fetch folders",d7e=()=>"获取文件夹失败",Zb=(e={},r={})=>{if((p??r.locale??n())==="zh")return d7e(e);return u7e(e)};var Z7e=()=>"Failed to fetch share link",p7e=()=>"获取分享链接失败",Bb=(e={},r={})=>{if((p??r.locale??n())==="zh")return p7e(e);return Z7e(e)};var m7e=()=>"Failed to fetch share links",h7e=()=>"获取分享链接失败",g7e=(e={},r={})=>{if((p??r.locale??n())==="zh")return h7e(e);return m7e(e)};var M7e=()=>"Failed to load settings.",v7e=()=>"加载设置失败。",Yo=(e={},r={})=>{if((p??r.locale??n())==="zh")return v7e(e);return M7e(e)};var x7e=()=>"Failed to remove",y7e=()=>"移除失败",Ub=(e={},r={})=>{if((p??r.locale??n())==="zh")return y7e(e);return x7e(e)};var b7e=()=>"Failed to remove avatar",_7e=()=>"移除头像失败",zb=(e={},r={})=>{if((p??r.locale??n())==="zh")return _7e(e);return b7e(e)};var w7e=()=>"Failed to rename collection",z7e=()=>"重命名媒体合集失败",S7e=(e={},r={})=>{if((p??r.locale??n())==="zh")return z7e(e);return w7e(e)};var L7e=()=>"Failed to rename folder",k7e=()=>"重命名文件夹失败",C7e=(e={},r={})=>{if((p??r.locale??n())==="zh")return k7e(e);return L7e(e)};var I7e=()=>"Failed to rename share link",R7e=()=>"重命名分享链接失败",P7e=(e={},r={})=>{if((p??r.locale??n())==="zh")return R7e(e);return I7e(e)};var T7e=()=>"Failed to save collection",A7e=()=>"保存媒体合集失败",jb=(e={},r={})=>{if((p??r.locale??n())==="zh")return A7e(e);return T7e(e)};var E7e=(e)=>`Failed to add ${e?.name}`,D7e=(e)=>`添加 ${e?.name} 失败`,vh=(e,r={})=>{if((p??r.locale??n())==="zh")return D7e(e);return E7e(e)};var O7e=()=>"Failed to add model",j7e=()=>"添加模型失败",qb=(e={},r={})=>{if((p??r.locale??n())==="zh")return j7e(e);return O7e(e)};var N7e=()=>"Failed to create quota rule",F7e=()=>"创建配额规则失败",wh=(e={},r={})=>{if((p??r.locale??n())==="zh")return F7e(e);return N7e(e)};var B7e=()=>"Failed to delete",Y7e=()=>"删除失败",Ra=(e={},r={})=>{if((p??r.locale??n())==="zh")return Y7e(e);return B7e(e)};var U7e=()=>"Failed to delete quota rule",q7e=()=>"删除配额规则失败",hd=(e={},r={})=>{if((p??r.locale??n())==="zh")return q7e(e);return U7e(e)};var H7e=()=>"Failed to export comments",V7e=()=>"导出评论失败",Hb=(e={},r={})=>{if((p??r.locale??n())==="zh")return V7e(e);return H7e(e)};var W7e=()=>"Failed to fetch folder children",G7e=()=>"获取子文件夹失败",K7e=(e={},r={})=>{if((p??r.locale??n())==="zh")return G7e(e);return W7e(e)};var X7e=()=>"Failed to generate invite link",Q7e=()=>"生成邀请链接失败",$b=(e={},r={})=>{if((p??r.locale??n())==="zh")return Q7e(e);return X7e(e)};var J7e=()=>"Failed to generate token",$7e=()=>"生成令牌失败",Gb=(e={},r={})=>{if((p??r.locale??n())==="zh")return $7e(e);return J7e(e)};var eUe=()=>"Failed to install skill",tUe=()=>"安装技能失败",Vb=(e={},r={})=>{if((p??r.locale??n())==="zh")return tUe(e);return eUe(e)};var rUe=()=>"Failed to load email settings",oUe=()=>"加载邮件设置失败",xh=(e={},r={})=>{if((p??r.locale??n())==="zh")return oUe(e);return rUe(e)};var aUe=()=>"Failed to load quota usage",nUe=()=>"加载配额使用量失败",Sh=(e={},r={})=>{if((p??r.locale??n())==="zh")return nUe(e);return aUe(e)};var iUe=()=>"Failed to post comment",fUe=()=>"发送评论失败",Qb=(e={},r={})=>{if((p??r.locale??n())==="zh")return fUe(e);return iUe(e)};var sUe=()=>"Failed to prepare download links",lUe=()=>"准备下载链接失败",Sse=(e={},r={})=>{if((p??r.locale??n())==="zh")return lUe(e);return sUe(e)};var cUe=()=>"Failed to remove member",uUe=()=>"移除成员失败",Kb=(e={},r={})=>{if((p??r.locale??n())==="zh")return uUe(e);return cUe(e)};var dUe=()=>"Failed to remove version",ZUe=()=>"移除版本失败",pUe=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZUe(e);return dUe(e)};var mUe=()=>"Failed to rename",hUe=()=>"重命名失败",Wb=(e={},r={})=>{if((p??r.locale??n())==="zh")return hUe(e);return mUe(e)};var gUe=()=>"Failed to reorder versions",MUe=()=>"版本重新排序失败",vUe=(e={},r={})=>{if((p??r.locale??n())==="zh")return MUe(e);return gUe(e)};var xUe=()=>"Failed to reset quota usage",yUe=()=>"重置配额使用量失败",Eh=(e={},r={})=>{if((p??r.locale??n())==="zh")return yUe(e);return xUe(e)};var bUe=()=>"Failed to revoke token",_Ue=()=>"撤销令牌失败",Yb=(e={},r={})=>{if((p??r.locale??n())==="zh")return _Ue(e);return bUe(e)};var wUe=()=>"Failed to save email settings",zUe=()=>"保存邮件设置失败",Zf=(e={},r={})=>{if((p??r.locale??n())==="zh")return zUe(e);return wUe(e)};var SUe=()=>"Failed to send test email",LUe=()=>"发送测试邮件失败",Ch=(e={},r={})=>{if((p??r.locale??n())==="zh")return LUe(e);return SUe(e)};var kUe=()=>"Failed to update member role",CUe=()=>"更新成员角色失败",Jb=(e={},r={})=>{if((p??r.locale??n())==="zh")return CUe(e);return kUe(e)};var IUe=()=>"Failed to update notification settings",RUe=()=>"更新通知设置失败",Ih=(e={},r={})=>{if((p??r.locale??n())==="zh")return RUe(e);return IUe(e)};var PUe=()=>"Failed to update permission",TUe=()=>"更新权限失败",_l=(e={},r={})=>{if((p??r.locale??n())==="zh")return TUe(e);return PUe(e)};var AUe=()=>"Failed to update provider",EUe=()=>"更新提供商失败",Xb=(e={},r={})=>{if((p??r.locale??n())==="zh")return EUe(e);return AUe(e)};var DUe=()=>"Failed to update quota rule",OUe=()=>"更新配额规则失败",gd=(e={},r={})=>{if((p??r.locale??n())==="zh")return OUe(e);return DUe(e)};var jUe=()=>"Failed to update sandbox settings",NUe=()=>"更新沙箱设置失败",Th=(e={},r={})=>{if((p??r.locale??n())==="zh")return NUe(e);return jUe(e)};var FUe=()=>"Failed to upload",BUe=()=>"上传失败",ev=(e={},r={})=>{if((p??r.locale??n())==="zh")return BUe(e);return FUe(e)};var YUe=()=>"Failed to update",UUe=()=>"更新失败",gi=(e={},r={})=>{if((p??r.locale??n())==="zh")return UUe(e);return YUe(e)};var qUe=()=>"Failed to update appearance settings",HUe=()=>"更新外观设置失败",Mh=(e={},r={})=>{if((p??r.locale??n())==="zh")return HUe(e);return qUe(e)};var VUe=()=>"Failed to update avatar",WUe=()=>"头像更新失败",tv=(e={},r={})=>{if((p??r.locale??n())==="zh")return WUe(e);return VUe(e)};var GUe=()=>"Failed to update field",KUe=()=>"更新字段失败",yl=(e={},r={})=>{if((p??r.locale??n())==="zh")return KUe(e);return GUe(e)};var XUe=()=>"Failed to update fields order",QUe=()=>"更新字段排序失败",Bf=(e={},r={})=>{if((p??r.locale??n())==="zh")return QUe(e);return XUe(e)};var JUe=()=>"Failed to update language",$Ue=()=>"语言更新失败",rv=(e={},r={})=>{if((p??r.locale??n())==="zh")return $Ue(e);return JUe(e)};var eqe=()=>"Failed to update profile",tqe=()=>"更新个人资料失败",nv=(e={},r={})=>{if((p??r.locale??n())==="zh")return tqe(e);return eqe(e)};var rqe=()=>"Failed to update project",oqe=()=>"更新项目失败",ov=(e={},r={})=>{if((p??r.locale??n())==="zh")return oqe(e);return rqe(e)};var aqe=()=>"Failed to update project notification settings",nqe=()=>"更新项目通知设置失败",sv=(e={},r={})=>{if((p??r.locale??n())==="zh")return nqe(e);return aqe(e)};var iqe=()=>"Failed to upload file",fqe=()=>"上传文件失败",Bc=(e={},r={})=>{if((p??r.locale??n())==="zh")return fqe(e);return iqe(e)};var sqe=()=>"FFmpeg Threads",lqe=()=>"FFmpeg 线程数",iv=(e={},r={})=>{if((p??r.locale??n())==="zh")return lqe(e);return sqe(e)};var cqe=()=>"Maximum number of CPU threads used by FFmpeg during transcoding. Set to 0 for Auto.",uqe=()=>"FFmpeg 转码时使用的最大 CPU 线程数。设置为 0 表示自动。",av=(e={},r={})=>{if((p??r.locale??n())==="zh")return uqe(e);return cqe(e)};var dqe=()=>"Field",Zqe=()=>"字段",Uf=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zqe(e);return dqe(e)};var pqe=()=>"Created At",mqe=()=>"创建时间",lv=(e={},r={})=>{if((p??r.locale??n())==="zh")return mqe(e);return pqe(e)};var hqe=()=>"Field created successfully",gqe=()=>"字段创建成功",cv=(e={},r={})=>{if((p??r.locale??n())==="zh")return gqe(e);return hqe(e)};var Mqe=()=>"Field deleted successfully",vqe=()=>"字段删除成功",uv=(e={},r={})=>{if((p??r.locale??n())==="zh")return vqe(e);return Mqe(e)};var xqe=()=>"Field Name",yqe=()=>"字段名称",zf=(e={},r={})=>{if((p??r.locale??n())==="zh")return yqe(e);return xqe(e)};var bqe=()=>"e.g. Status",_qe=()=>"例如:状态",dv=(e={},r={})=>{if((p??r.locale??n())==="zh")return _qe(e);return bqe(e)};var wqe=()=>"Size",zqe=()=>"大小",fv=(e={},r={})=>{if((p??r.locale??n())==="zh")return zqe(e);return wqe(e)};var Sqe=()=>"Field Type",Lqe=()=>"字段类型",jf=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lqe(e);return Sqe(e)};var kqe=()=>"Updated At",Cqe=()=>"更新时间",pv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cqe(e);return kqe(e)};var Iqe=()=>"Field updated successfully",Rqe=()=>"字段更新成功",mv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rqe(e);return Iqe(e)};var Pqe=()=>"Fields",Tqe=()=>"字段",Na=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tqe(e);return Pqe(e)};var Aqe=()=>"File size exceeds the 1MB limit",Eqe=()=>"文件大小不能超过 1MB",hv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Eqe(e);return Aqe(e)};var Dqe=()=>"File not found.",Oqe=()=>"文件未找到。",kh=(e={},r={})=>{if((p??r.locale??n())==="zh")return Oqe(e);return Dqe(e)};var jqe=(e)=>`${e?.uploaded} / ${e?.total} files`,Nqe=(e)=>`${e?.uploaded} / ${e?.total} 个文件`,Lse=(e,r={})=>{if((p??r.locale??n())==="zh")return Nqe(e);return jqe(e)};var Fqe=()=>"Filesystem Restriction",Bqe=()=>"文件系统限制",gv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bqe(e);return Fqe(e)};var Yqe=()=>"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.",Uqe=()=>"沙箱 Shell 命令可以读取工作区文件,但环境变量、证书和密钥等敏感文件除外;可以写入项目的 .pi 文件夹和系统临时目录,以及少量由运行时管理的系统路径。这些文件系统规则目前出于安全考虑已硬编码。",Av=(e={},r={})=>{if((p??r.locale??n())==="zh")return Uqe(e);return Yqe(e)};var qqe=()=>"and",Hqe=()=>"且",_v=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hqe(e);return qqe(e)};var Vqe=()=>"Filter by Action",Wqe=()=>"按操作筛选",yv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wqe(e);return Vqe(e)};var Gqe=()=>"Filter by User",Kqe=()=>"按用户筛选",bv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kqe(e);return Gqe(e)};var Xqe=()=>"Search tasks in this status...",Qqe=()=>"搜索此状态下的任务...",Jqe=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qqe(e);return Xqe(e)};var $qe=()=>"Where",e9e=()=>"条件",vv=(e={},r={})=>{if((p??r.locale??n())==="zh")return e9e(e);return $qe(e)};var t9e=()=>"Filters",r9e=()=>"筛选条件",wv=(e={},r={})=>{if((p??r.locale??n())==="zh")return r9e(e);return t9e(e)};var o9e=()=>"You will be the owner of the default workspace as the first user!",a9e=()=>"作为第一位用户,您将成为默认工作空间的拥有者!",n9e=(e={},r={})=>{if((p??r.locale??n())==="zh")return a9e(e);return o9e(e)};var i9e=()=>"Fit",f9e=()=>"适应窗口",qf=(e={},r={})=>{if((p??r.locale??n())==="zh")return f9e(e);return i9e(e)};var s9e=()=>"Folder",l9e=()=>"文件夹",Rh=(e={},r={})=>{if((p??r.locale??n())==="zh")return l9e(e);return s9e(e)};var c9e=()=>"Folder deleted",u9e=()=>"文件夹已删除",d9e=(e={},r={})=>{if((p??r.locale??n())==="zh")return u9e(e);return c9e(e)};var Z9e=()=>"Selected folder files will be prepared for download.",p9e=()=>"所选文件夹中的文件将被准备下载。",Nh=(e={},r={})=>{if((p??r.locale??n())==="zh")return p9e(e);return Z9e(e)};var m9e=()=>"Folder name",h9e=()=>"文件夹名称",Ph=(e={},r={})=>{if((p??r.locale??n())==="zh")return h9e(e);return m9e(e)};var g9e=()=>"Folder renamed",M9e=()=>"文件夹已重命名",v9e=(e={},r={})=>{if((p??r.locale??n())==="zh")return M9e(e);return g9e(e)};var x9e=()=>"Folder hierarchy will be flattened. All nested files will be downloaded directly into your default download folder.",y9e=()=>"文件夹层级将被扁平化。所有嵌套文件将直接下载到您的默认下载文件夹中。",Dh=(e={},r={})=>{if((p??r.locale??n())==="zh")return y9e(e);return x9e(e)};var b9e=()=>"Assets",_9e=()=>"资产",kse=(e={},r={})=>{if((p??r.locale??n())==="zh")return _9e(e);return b9e(e)};var w9e=()=>"Font Size",z9e=()=>"字体大小",xv=(e={},r={})=>{if((p??r.locale??n())==="zh")return z9e(e);return w9e(e)};var S9e=()=>"Format",L9e=()=>"格式",Sv=(e={},r={})=>{if((p??r.locale??n())==="zh")return L9e(e);return S9e(e)};var k9e=()=>"Frames",C9e=()=>"帧数",Ev=(e={},r={})=>{if((p??r.locale??n())==="zh")return C9e(e);return k9e(e)};var I9e=()=>"From address is required",R9e=()=>"必须提供发件人地址",Cv=(e={},r={})=>{if((p??r.locale??n())==="zh")return R9e(e);return I9e(e)};var P9e=()=>"Fullscreen",T9e=()=>"全屏",Ad=(e={},r={})=>{if((p??r.locale??n())==="zh")return T9e(e);return P9e(e)};var A9e=()=>"General",E9e=()=>"通用",Iv=(e={},r={})=>{if((p??r.locale??n())==="zh")return E9e(e);return A9e(e)};var D9e=()=>"General Comments",O9e=()=>"普通评论",Tv=(e={},r={})=>{if((p??r.locale??n())==="zh")return O9e(e);return D9e(e)};var j9e=()=>"General Settings",N9e=()=>"通用设置",Oh=(e={},r={})=>{if((p??r.locale??n())==="zh")return N9e(e);return j9e(e)};var F9e=()=>"View your personal information and team role.",B9e=()=>"查看您的个人信息和团队角色。",Mv=(e={},r={})=>{if((p??r.locale??n())==="zh")return B9e(e);return F9e(e)};var Y9e=()=>"Generate",U9e=()=>"生成",kv=(e={},r={})=>{if((p??r.locale??n())==="zh")return U9e(e);return Y9e(e)};var q9e=()=>"Generate Link",H9e=()=>"生成链接",Rv=(e={},r={})=>{if((p??r.locale??n())==="zh")return H9e(e);return q9e(e)};var V9e=()=>"GitHub Repository URL",W9e=()=>"GitHub 仓库 URL",Nv=(e={},r={})=>{if((p??r.locale??n())==="zh")return W9e(e);return V9e(e)};var G9e=()=>"Example: https://github.com/google/gemini-cli",K9e=()=>"示例:https://github.com/google/gemini-cli",Pv=(e={},r={})=>{if((p??r.locale??n())==="zh")return K9e(e);return G9e(e)};var X9e=()=>"Global API Protocol",Q9e=()=>"全局 API 协议",Fh=(e={},r={})=>{if((p??r.locale??n())==="zh")return Q9e(e);return X9e(e)};var J9e=()=>"Go to Login",$9e=()=>"前往登录",Hf=(e={},r={})=>{if((p??r.locale??n())==="zh")return $9e(e);return J9e(e)};var eHe=()=>"Goal created",tHe=()=>"目标已创建",Dv=(e={},r={})=>{if((p??r.locale??n())==="zh")return tHe(e);return eHe(e)};var rHe=()=>"Goal deleted",oHe=()=>"目标已删除",Ov=(e={},r={})=>{if((p??r.locale??n())==="zh")return oHe(e);return rHe(e)};var aHe=()=>"Goal Description",nHe=()=>"目标描述",Fv=(e={},r={})=>{if((p??r.locale??n())==="zh")return nHe(e);return aHe(e)};var iHe=()=>"Describe the desired outcome and success criteria...",fHe=()=>"描述预期成果和衡量标准...",Lv=(e={},r={})=>{if((p??r.locale??n())==="zh")return fHe(e);return iHe(e)};var sHe=()=>"Goal Title",lHe=()=>"目标标题",Zv=(e={},r={})=>{if((p??r.locale??n())==="zh")return lHe(e);return sHe(e)};var cHe=()=>"e.g. Q3 Launch Deliverables",uHe=()=>"例如:Q3 发布交付物",Bv=(e={},r={})=>{if((p??r.locale??n())==="zh")return uHe(e);return cHe(e)};var dHe=()=>"Goal updated",ZHe=()=>"目标已更新",Uv=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZHe(e);return dHe(e)};var pHe=()=>"Goals",mHe=()=>"目标",_d=(e={},r={})=>{if((p??r.locale??n())==="zh")return mHe(e);return pHe(e)};var hHe=()=>"Grid",gHe=()=>"网格",zv=(e={},r={})=>{if((p??r.locale??n())==="zh")return gHe(e);return hHe(e)};var MHe=()=>"Groups",vHe=()=>"分组",jv=(e={},r={})=>{if((p??r.locale??n())==="zh")return vHe(e);return MHe(e)};var xHe=()=>"Hardware Acceleration",yHe=()=>"硬件加速",qv=(e={},r={})=>{if((p??r.locale??n())==="zh")return yHe(e);return xHe(e)};var bHe=()=>"Auto Detect",_He=()=>"自动检测",Hv=(e={},r={})=>{if((p??r.locale??n())==="zh")return _He(e);return bHe(e)};var wHe=()=>"Automatically probes and uses GPU/Hardware acceleration (NVENC, QSV, VA-API, AMF, VideoToolbox). If hardware acceleration is unsupported on the host, video transcoding may fail.",zHe=()=>"自动检测并使用 GPU/硬件加速(NVENC、QSV、VA-API、AMF、VideoToolbox)。若宿主硬件不支持加速,视频转码可能会失败。",$v=(e={},r={})=>{if((p??r.locale??n())==="zh")return zHe(e);return wHe(e)};var SHe=()=>"Disabled (Software)",LHe=()=>"已禁用 (软件编码)",Gv=(e={},r={})=>{if((p??r.locale??n())==="zh")return LHe(e);return SHe(e)};var kHe=()=>"Uses software libx264 encoder with constant rate factor (CRF).",CHe=()=>"使用 CPU 的 libx264 软件编码器及 CRF 恒定画质模式。",Vv=(e={},r={})=>{if((p??r.locale??n())==="zh")return CHe(e);return kHe(e)};var IHe=()=>"HDR",RHe=()=>"HDR",Uc=(e={},r={})=>{if((p??r.locale??n())==="zh")return RHe(e);return IHe(e)};var PHe=()=>"Hide Agent",THe=()=>"隐藏 Agent",Qv=(e={},r={})=>{if((p??r.locale??n())==="zh")return THe(e);return PHe(e)};var AHe=()=>"Hide the AGENTS.md button, agent-chat sidebar, and chatbot trigger button across the entire team.",EHe=()=>"在整个团队中隐藏 AGENTS.md 按钮、Agent 聊天侧边栏和触发按钮。",Kv=(e={},r={})=>{if((p??r.locale??n())==="zh")return EHe(e);return AHe(e)};var DHe=()=>"Hide Chatbot",OHe=()=>"隐藏聊天机器人",jHe=(e={},r={})=>{if((p??r.locale??n())==="zh")return OHe(e);return DHe(e)};var NHe=()=>"History",FHe=()=>"历史记录",Lh=(e={},r={})=>{if((p??r.locale??n())==="zh")return FHe(e);return NHe(e)};var BHe=()=>"Home",YHe=()=>"主页",UHe=(e={},r={})=>{if((p??r.locale??n())==="zh")return YHe(e);return BHe(e)};var qHe=()=>"Image Asset",HHe=()=>"图片资源",Wv=(e={},r={})=>{if((p??r.locale??n())==="zh")return HHe(e);return qHe(e)};var VHe=(e)=>`${e?.count} enabled`,WHe=(e)=>`${e?.count} 个已启用`,Yv=(e,r={})=>{if((p??r.locale??n())==="zh")return WHe(e);return VHe(e)};var GHe=()=>"[Image Object]",KHe=()=>"[图片对象]",$f=(e={},r={})=>{if((p??r.locale??n())==="zh")return KHe(e);return GHe(e)};var XHe=()=>"Image Size",QHe=()=>"图片大小",Jv=(e={},r={})=>{if((p??r.locale??n())==="zh")return QHe(e);return XHe(e)};var JHe=()=>"Image / Video Generation",$He=()=>"图像与视频生成",Zh=(e={},r={})=>{if((p??r.locale??n())==="zh")return $He(e);return JHe(e)};var eVe=()=>"Import a skill from a local ZIP archive or a GitHub repository.",tVe=()=>"从本地 ZIP 压缩包或 GitHub 仓库导入技能。",Xv=(e={},r={})=>{if((p??r.locale??n())==="zh")return tVe(e);return eVe(e)};var rVe=()=>"Input Cost (1M)",oVe=()=>"输入成本(每百万)",ew=(e={},r={})=>{if((p??r.locale??n())==="zh")return oVe(e);return rVe(e)};var aVe=()=>"Input Tokens",nVe=()=>"输入 Token",Bh=(e={},r={})=>{if((p??r.locale??n())==="zh")return nVe(e);return aVe(e)};var iVe=()=>"Install",fVe=()=>"安装",tw=(e={},r={})=>{if((p??r.locale??n())==="zh")return fVe(e);return iVe(e)};var sVe=()=>"Invalid credentials",lVe=()=>"凭证无效",cVe=(e={},r={})=>{if((p??r.locale??n())==="zh")return lVe(e);return sVe(e)};var uVe=()=>"Invalid email address",dVe=()=>"无效的邮箱地址",Cse=(e={},r={})=>{if((p??r.locale??n())==="zh")return dVe(e);return uVe(e)};var ZVe=()=>"Invalid or missing reset token.",pVe=()=>"无效或缺失的重置令牌。",Gf=(e={},r={})=>{if((p??r.locale??n())==="zh")return pVe(e);return ZVe(e)};var mVe=()=>"Please contact your administrator to generate a new password reset link.",hVe=()=>"请联系管理员生成新的密码重置链接。",rw=(e={},r={})=>{if((p??r.locale??n())==="zh")return hVe(e);return mVe(e)};var gVe=(e)=>`${e?.inviterName} invited you to join ${e?.targetName} as ${e?.role}.`,MVe=(e)=>`${e?.inviterName} 邀请您加入 ${e?.targetName},角色为 ${e?.role}。`,vVe=(e,r={})=>{if((p??r.locale??n())==="zh")return MVe(e);return gVe(e)};var xVe=()=>"Invite link copied to clipboard",yVe=()=>"邀请链接已复制到剪贴板",nw=(e={},r={})=>{if((p??r.locale??n())==="zh")return yVe(e);return xVe(e)};var bVe=()=>"Invite New Member",_Ve=()=>"邀请新成员",ow=(e={},r={})=>{if((p??r.locale??n())==="zh")return _Ve(e);return bVe(e)};var wVe=()=>"Item ID",zVe=()=>"条目 ID",sw=(e={},r={})=>{if((p??r.locale??n())==="zh")return zVe(e);return wVe(e)};var SVe=()=>"Kanban",LVe=()=>"看板",kVe=(e={},r={})=>{if((p??r.locale??n())==="zh")return LVe(e);return SVe(e)};var CVe=()=>"Kanban Comments",IVe=()=>"看板评论",iw=(e={},r={})=>{if((p??r.locale??n())==="zh")return IVe(e);return CVe(e)};var RVe=()=>"Manage notifications for Kanban board tasks and comments.",PVe=()=>"管理看板任务和评论相关的通知偏好。",aw=(e={},r={})=>{if((p??r.locale??n())==="zh")return PVe(e);return RVe(e)};var TVe=()=>"Kanban Notifications",AVe=()=>"看板通知",lw=(e={},r={})=>{if((p??r.locale??n())==="zh")return AVe(e);return TVe(e)};var EVe=()=>"Kanban Tasks",DVe=()=>"看板任务",cw=(e={},r={})=>{if((p??r.locale??n())==="zh")return DVe(e);return EVe(e)};var OVe=()=>"Language Settings",jVe=()=>"语言设置",uw=(e={},r={})=>{if((p??r.locale??n())==="zh")return jVe(e);return OVe(e)};var NVe=()=>"Language updated successfully",FVe=()=>"语言更新成功",dw=(e={},r={})=>{if((p??r.locale??n())==="zh")return FVe(e);return NVe(e)};var BVe=()=>"Light",YVe=()=>"浅色",UVe=(e={},r={})=>{if((p??r.locale??n())==="zh")return YVe(e);return BVe(e)};var qVe=()=>"Link copied to clipboard",HVe=()=>"链接已复制到剪贴板",fw=(e={},r={})=>{if((p??r.locale??n())==="zh")return HVe(e);return qVe(e)};var VVe=()=>"Link to Task",WVe=()=>"关联到任务",GVe=(e={},r={})=>{if((p??r.locale??n())==="zh")return WVe(e);return VVe(e)};var KVe=()=>"Link Visibility",XVe=()=>"链接可见性",pw=(e={},r={})=>{if((p??r.locale??n())==="zh")return XVe(e);return KVe(e)};var QVe=(e)=>`${e?.count} assets`,JVe=(e)=>`${e?.count} 个资产`,mw=(e,r={})=>{if((p??r.locale??n())==="zh")return JVe(e);return QVe(e)};var $Ve=()=>"Linked Tasks",eWe=()=>"关联任务",Vf=(e={},r={})=>{if((p??r.locale??n())==="zh")return eWe(e);return $Ve(e)};var tWe=()=>"List",rWe=()=>"列表",hw=(e={},r={})=>{if((p??r.locale??n())==="zh")return rWe(e);return tWe(e)};var oWe=()=>"Load Template",aWe=()=>"加载模板",gw=(e={},r={})=>{if((p??r.locale??n())==="zh")return aWe(e);return oWe(e)};var nWe=()=>"Loading...",iWe=()=>"加载中...",yd=(e={},r={})=>{if((p??r.locale??n())==="zh")return iWe(e);return nWe(e)};var fWe=()=>"Loading collection...",sWe=()=>"正在加载媒体合集...",Uh=(e={},r={})=>{if((p??r.locale??n())==="zh")return sWe(e);return fWe(e)};var lWe=()=>"Loading models...",cWe=()=>"正在加载模型...",Aw=(e={},r={})=>{if((p??r.locale??n())==="zh")return cWe(e);return lWe(e)};var uWe=()=>"Loading more...",dWe=()=>"加载更多...",_w=(e={},r={})=>{if((p??r.locale??n())==="zh")return dWe(e);return uWe(e)};var ZWe=()=>"Log out",pWe=()=>"退出登录",mWe=(e={},r={})=>{if((p??r.locale??n())==="zh")return pWe(e);return ZWe(e)};var hWe=()=>"Logging in...",gWe=()=>"登录中...",MWe=(e={},r={})=>{if((p??r.locale??n())==="zh")return gWe(e);return hWe(e)};var vWe=()=>"Login",xWe=()=>"登录",Ise=(e={},r={})=>{if((p??r.locale??n())==="zh")return xWe(e);return vWe(e)};var yWe=()=>"Login here",bWe=()=>"在此登录",_We=(e={},r={})=>{if((p??r.locale??n())==="zh")return bWe(e);return yWe(e)};var wWe=()=>"Enter your credentials to access your account.",zWe=()=>"输入您的凭证以访问您的账户。",SWe=(e={},r={})=>{if((p??r.locale??n())==="zh")return zWe(e);return wWe(e)};var LWe=()=>"Loop",kWe=()=>"循环",yw=(e={},r={})=>{if((p??r.locale??n())==="zh")return kWe(e);return LWe(e)};var CWe=()=>"Manage environment variables for this skill instance.",IWe=()=>"管理此技能实例的环境变量。",bw=(e={},r={})=>{if((p??r.locale??n())==="zh")return IWe(e);return CWe(e)};var RWe=()=>"Manage Fields",PWe=()=>"管理字段",Qf=(e={},r={})=>{if((p??r.locale??n())==="zh")return PWe(e);return RWe(e)};var TWe=()=>"Manage and update your project workspace configurations.",AWe=()=>"管理和更新您的项目工作区配置。",vw=(e={},r={})=>{if((p??r.locale??n())==="zh")return AWe(e);return TWe(e)};var EWe=()=>"Manage versions",DWe=()=>"管理版本",Kf=(e={},r={})=>{if((p??r.locale??n())==="zh")return DWe(e);return EWe(e)};var OWe=()=>"Manage versions",jWe=()=>"管理版本",NWe=(e={},r={})=>{if((p??r.locale??n())==="zh")return jWe(e);return OWe(e)};var FWe=()=>"Mark all as read",BWe=()=>"全部标记为已读",YWe=(e={},r={})=>{if((p??r.locale??n())==="zh")return BWe(e);return FWe(e)};var UWe=()=>"Mark as complete",qWe=()=>"标记为已完成",ww=(e={},r={})=>{if((p??r.locale??n())==="zh")return qWe(e);return UWe(e)};var HWe=()=>"Mark as incomplete",VWe=()=>"标记为未完成",xw=(e={},r={})=>{if((p??r.locale??n())==="zh")return VWe(e);return HWe(e)};var WWe=()=>"Markup is not supported for this file type",GWe=()=>"此文件类型不支持标注",Wf=(e={},r={})=>{if((p??r.locale??n())==="zh")return GWe(e);return WWe(e)};var KWe=()=>"Match found at",XWe=()=>"在以下位置找到匹配",Sw=(e={},r={})=>{if((p??r.locale??n())==="zh")return XWe(e);return KWe(e)};var QWe=(e)=>`Matched ${e?.count} items`,JWe=(e)=>`匹配了 ${e?.count} 项`,Ew=(e,r={})=>{if((p??r.locale??n())==="zh")return JWe(e);return QWe(e)};var $We=()=>"Max Output Tokens",eGe=()=>"最大输出令牌数",Cw=(e={},r={})=>{if((p??r.locale??n())==="zh")return eGe(e);return $We(e)};var tGe=(e)=>`max ${e?.count}`,rGe=(e)=>`最大 ${e?.count}`,Iw=(e,r={})=>{if((p??r.locale??n())==="zh")return rGe(e);return tGe(e)};var oGe=()=>"Auto-Detect (Default)",aGe=()=>"自动检测 (默认)",Tw=(e={},r={})=>{if((p??r.locale??n())==="zh")return aGe(e);return oGe(e)};var nGe=()=>"Bearer Token",iGe=()=>"Bearer 令牌",Mw=(e={},r={})=>{if((p??r.locale??n())==="zh")return iGe(e);return nGe(e)};var fGe=()=>"Failed to authenticate MCP server",sGe=()=>"MCP 服务身份验证失败",Yf=(e={},r={})=>{if((p??r.locale??n())==="zh")return sGe(e);return fGe(e)};var lGe=()=>"None",cGe=()=>"无",kw=(e={},r={})=>{if((p??r.locale??n())==="zh")return cGe(e);return lGe(e)};var uGe=()=>"OAuth 2.0",dGe=()=>"OAuth 2.0",Rw=(e={},r={})=>{if((p??r.locale??n())==="zh")return dGe(e);return uGe(e)};var ZGe=()=>"MCP server authenticated successfully",pGe=()=>"MCP 服务身份验证成功",zh=(e={},r={})=>{if((p??r.locale??n())==="zh")return pGe(e);return ZGe(e)};var mGe=()=>"Authentication Type",hGe=()=>"身份验证类型",Nw=(e={},r={})=>{if((p??r.locale??n())==="zh")return hGe(e);return mGe(e)};var gGe=()=>"Bearer Token",MGe=()=>"Bearer 令牌",Pw=(e={},r={})=>{if((p??r.locale??n())==="zh")return MGe(e);return gGe(e)};var vGe=()=>"All Direct",xGe=()=>"全部直连",Dw=(e={},r={})=>{if((p??r.locale??n())==="zh")return xGe(e);return vGe(e)};var yGe=()=>"All Off",bGe=()=>"全部关闭",Ow=(e={},r={})=>{if((p??r.locale??n())==="zh")return bGe(e);return yGe(e)};var _Ge=()=>"All Proxy",wGe=()=>"全部代理",Fw=(e={},r={})=>{if((p??r.locale??n())==="zh")return wGe(e);return _Ge(e)};var zGe=()=>"Connect Account",SGe=()=>"连接账号",jh=(e={},r={})=>{if((p??r.locale??n())==="zh")return SGe(e);return zGe(e)};var LGe=()=>"Disconnect Auth",kGe=()=>"断开身份验证",qh=(e={},r={})=>{if((p??r.locale??n())==="zh")return kGe(e);return LGe(e)};var CGe=()=>"Client ID",IGe=()=>"Client ID",Lw=(e={},r={})=>{if((p??r.locale??n())==="zh")return IGe(e);return CGe(e)};var RGe=()=>"Client Secret",PGe=()=>"Client Secret",Zw=(e={},r={})=>{if((p??r.locale??n())==="zh")return PGe(e);return RGe(e)};var TGe=()=>"Grant Type",AGe=()=>"授权模式 (Grant Type)",Bw=(e={},r={})=>{if((p??r.locale??n())==="zh")return AGe(e);return TGe(e)};var EGe=()=>"Scope",DGe=()=>"作用域 (Scope)",Uw=(e={},r={})=>{if((p??r.locale??n())==="zh")return DGe(e);return EGe(e)};var OGe=()=>"Refresh Server",jGe=()=>"刷新服务器",Hh=(e={},r={})=>{if((p??r.locale??n())==="zh")return jGe(e);return OGe(e)};var NGe=()=>"Server refreshed",FGe=()=>"服务器已刷新",zw=(e={},r={})=>{if((p??r.locale??n())==="zh")return FGe(e);return NGe(e)};var BGe=()=>"Name and description are auto-detected from the server after connecting.",YGe=()=>"连接后将自动从服务端获取名称和描述。",$h=(e={},r={})=>{if((p??r.locale??n())==="zh")return YGe(e);return BGe(e)};var UGe=()=>"Server Instructions",qGe=()=>"服务器说明",jw=(e={},r={})=>{if((p??r.locale??n())==="zh")return qGe(e);return UGe(e)};var HGe=()=>"Server Name",VGe=()=>"服务名称",qw=(e={},r={})=>{if((p??r.locale??n())==="zh")return VGe(e);return HGe(e)};var WGe=()=>"Endpoint URL",GGe=()=>"Endpoint URL",Gh=(e={},r={})=>{if((p??r.locale??n())==="zh")return GGe(e);return WGe(e)};var KGe=()=>"MCP Servers",XGe=()=>"MCP 服务",zc=(e={},r={})=>{if((p??r.locale??n())==="zh")return XGe(e);return KGe(e)};var QGe=()=>"Configure Model Context Protocol (MCP) servers and tools for your team.",JGe=()=>"为团队配置 Model Context Protocol (MCP) 服务与工具。",bd=(e={},r={})=>{if((p??r.locale??n())==="zh")return JGe(e);return QGe(e)};var $Ge=()=>"Connected",eKe=()=>"已连接",Hw=(e={},r={})=>{if((p??r.locale??n())==="zh")return eKe(e);return $Ge(e)};var tKe=()=>"Failed",rKe=()=>"连接失败",$w=(e={},r={})=>{if((p??r.locale??n())==="zh")return rKe(e);return tKe(e)};var oKe=()=>"Needs Authentication",aKe=()=>"需要身份验证",Vh=(e={},r={})=>{if((p??r.locale??n())==="zh")return aKe(e);return oKe(e)};var nKe=()=>"Not Connected",iKe=()=>"未连接",Gw=(e={},r={})=>{if((p??r.locale??n())==="zh")return iKe(e);return nKe(e)};var fKe=()=>"Direct",sKe=()=>"直连",Vw=(e={},r={})=>{if((p??r.locale??n())==="zh")return sKe(e);return fKe(e)};var lKe=()=>"Off",cKe=()=>"关闭",Qw=(e={},r={})=>{if((p??r.locale??n())==="zh")return cKe(e);return lKe(e)};var uKe=()=>"Proxy",dKe=()=>"代理",Kw=(e={},r={})=>{if((p??r.locale??n())==="zh")return dKe(e);return uKe(e)};var ZKe=()=>"MCP Tools",pKe=()=>"MCP 工具",Ww=(e={},r={})=>{if((p??r.locale??n())==="zh")return pKe(e);return ZKe(e)};var mKe=(e)=>`${e?.count} Tools`,hKe=(e)=>`${e?.count} 个工具`,Yw=(e,r={})=>{if((p??r.locale??n())==="zh")return hKe(e);return mKe(e)};var gKe=()=>"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.",MKe=()=>"配置 MCP 工具向 Agent 的暴露方式。代理模式通过 MCP 代理隐匿工具,以保持较低的上下文占用;直连模式将选定工具直接作为 Agent 原生工具暴露,便于更好地发现与更快地调用。建议对高频或关键工具使用直连模式,对于大型 MCP 服务保持代理模式以避免不必要的上下文开销。",Jw=(e={},r={})=>{if((p??r.locale??n())==="zh")return MKe(e);return gKe(e)};var vKe=()=>"Transport Protocol",xKe=()=>"传输协议",Xw=(e={},r={})=>{if((p??r.locale??n())==="zh")return xKe(e);return vKe(e)};var yKe=()=>"Configure providers and enabled models for built-in image and video generation tools.",bKe=()=>"配置内置图像和视频生成工具的提供商与已启用模型。",ex=(e={},r={})=>{if((p??r.locale??n())==="zh")return bKe(e);return yKe(e)};var _Ke=()=>"Media Processing",wKe=()=>"媒体处理",Qh=(e={},r={})=>{if((p??r.locale??n())==="zh")return wKe(e);return _Ke(e)};var zKe=()=>"Media Providers",SKe=()=>"媒体提供商",tx=(e={},r={})=>{if((p??r.locale??n())==="zh")return SKe(e);return zKe(e)};var LKe=()=>"Configure API keys for built-in media generation providers. Providers can use environment variables or custom keys.",kKe=()=>"为内置媒体生成提供商配置 API 密钥。提供商可以使用环境变量或自定义密钥。",rx=(e={},r={})=>{if((p??r.locale??n())==="zh")return kKe(e);return LKe(e)};var CKe=()=>"Image",IKe=()=>"图像",Jf=(e={},r={})=>{if((p??r.locale??n())==="zh")return IKe(e);return CKe(e)};var RKe=()=>"Video",PKe=()=>"视频",Xf=(e={},r={})=>{if((p??r.locale??n())==="zh")return PKe(e);return RKe(e)};var TKe=()=>"Member removed",AKe=()=>"成员已移除",nx=(e={},r={})=>{if((p??r.locale??n())==="zh")return AKe(e);return TKe(e)};var EKe=()=>"Member role updated",DKe=()=>"成员角色已更新",ox=(e={},r={})=>{if((p??r.locale??n())==="zh")return DKe(e);return EKe(e)};var OKe=()=>"Members",jKe=()=>"成员",sx=(e={},r={})=>{if((p??r.locale??n())==="zh")return jKe(e);return OKe(e)};var NKe=()=>"Members",FKe=()=>"成员",ix=(e={},r={})=>{if((p??r.locale??n())==="zh")return FKe(e);return NKe(e)};var BKe=()=>"Message...",YKe=()=>"发送消息...",ax=(e={},r={})=>{if((p??r.locale??n())==="zh")return YKe(e);return BKe(e)};var UKe=()=>"Model",qKe=()=>"模型",lx=(e={},r={})=>{if((p??r.locale??n())==="zh")return qKe(e);return UKe(e)};var HKe=()=>"Model created successfully",VKe=()=>"模型创建成功",cx=(e={},r={})=>{if((p??r.locale??n())==="zh")return VKe(e);return HKe(e)};var WKe=()=>"Model deleted successfully",GKe=()=>"模型删除成功",ux=(e={},r={})=>{if((p??r.locale??n())==="zh")return GKe(e);return WKe(e)};var KKe=()=>"Model ID",XKe=()=>"模型 ID",Kh=(e={},r={})=>{if((p??r.locale??n())==="zh")return XKe(e);return KKe(e)};var QKe=()=>"Model ID already exists for this provider",JKe=()=>"此提供商已存在该模型 ID",dx=(e={},r={})=>{if((p??r.locale??n())==="zh")return JKe(e);return QKe(e)};var $Ke=()=>"e.g., gpt-4o, claude-3-5-sonnet-20241022",eXe=()=>"例如:gpt-4o, claude-3-5-sonnet-20241022",fx=(e={},r={})=>{if((p??r.locale??n())==="zh")return eXe(e);return $Ke(e)};var tXe=()=>"Model is required",rXe=()=>"模型为必填项",px=(e={},r={})=>{if((p??r.locale??n())==="zh")return rXe(e);return tXe(e)};var oXe=()=>"e.g., GPT-4o",aXe=()=>"例如:GPT-4o",mx=(e={},r={})=>{if((p??r.locale??n())==="zh")return aXe(e);return oXe(e)};var nXe=()=>"Model updated successfully",iXe=()=>"模型更新成功",hx=(e={},r={})=>{if((p??r.locale??n())==="zh")return iXe(e);return nXe(e)};var fXe=()=>"Models",sXe=()=>"模型列表",vd=(e={},r={})=>{if((p??r.locale??n())==="zh")return sXe(e);return fXe(e)};var lXe=()=>"Models Configuration",cXe=()=>"模型配置",gx=(e={},r={})=>{if((p??r.locale??n())==="zh")return cXe(e);return lXe(e)};var uXe=()=>"More options",dXe=()=>"更多选项",ep=(e={},r={})=>{if((p??r.locale??n())==="zh")return dXe(e);return uXe(e)};var ZXe=()=>"Move to",pXe=()=>"移动到",Wh=(e={},r={})=>{if((p??r.locale??n())==="zh")return pXe(e);return ZXe(e)};var mXe=(e)=>`Moving ${e?.count} item(s)`,hXe=(e)=>`正在移动 ${e?.count} 个项目`,Ax=(e,r={})=>{if((p??r.locale??n())==="zh")return hXe(e);return mXe(e)};var gXe=()=>"My Tasks",MXe=()=>"我的任务",_x=(e={},r={})=>{if((p??r.locale??n())==="zh")return MXe(e);return gXe(e)};var vXe=(e)=>`${e?.count} Assets`,xXe=(e)=>`${e?.count} 个资源`,tp=(e,r={})=>{if((p??r.locale??n())==="zh")return xXe(e);return vXe(e)};var yXe=(e)=>`${e?.count} assets selected`,bXe=(e)=>`已选择 ${e?.count} 个资产`,_Xe=(e,r={})=>{if((p??r.locale??n())==="zh")return bXe(e);return yXe(e)};var wXe=(e)=>`${e?.count} Asset`,zXe=(e)=>`${e?.count} 个资源`,rp=(e,r={})=>{if((p??r.locale??n())==="zh")return zXe(e);return wXe(e)};var SXe=(e)=>`${e?.count} days ago`,LXe=(e)=>`${e?.count} 天前`,Rse=(e,r={})=>{if((p??r.locale??n())==="zh")return LXe(e);return SXe(e)};var kXe=(e)=>`${e?.count} day ago`,CXe=(e)=>`${e?.count} 天前`,Pse=(e,r={})=>{if((p??r.locale??n())==="zh")return CXe(e);return kXe(e)};var IXe=(e)=>`${e?.count} days left before permanent deletion`,RXe=(e)=>`永久删除前还剩 ${e?.count} 天`,Yh=(e,r={})=>{if((p??r.locale??n())==="zh")return RXe(e);return IXe(e)};var PXe=(e)=>`${e?.count} day left before permanent deletion`,TXe=(e)=>`永久删除前还剩 ${e?.count} 天`,Jh=(e,r={})=>{if((p??r.locale??n())==="zh")return TXe(e);return PXe(e)};var AXe=(e)=>`${e?.count} Folders`,EXe=(e)=>`${e?.count} 个文件夹`,np=(e,r={})=>{if((p??r.locale??n())==="zh")return EXe(e);return AXe(e)};var DXe=(e)=>`${e?.count} Folder`,OXe=(e)=>`${e?.count} 个文件夹`,op=(e,r={})=>{if((p??r.locale??n())==="zh")return OXe(e);return DXe(e)};var jXe=(e)=>`${e?.count} Items`,NXe=(e)=>`${e?.count} 个项目`,Xh=(e,r={})=>{if((p??r.locale??n())==="zh")return NXe(e);return jXe(e)};var FXe=(e)=>`${e?.count} Item`,BXe=(e)=>`${e?.count} 个项目`,eg=(e,r={})=>{if((p??r.locale??n())==="zh")return BXe(e);return FXe(e)};var YXe=(e)=>`${e?.count} Models`,UXe=(e)=>`${e?.count} 个模型`,yx=(e,r={})=>{if((p??r.locale??n())==="zh")return UXe(e);return YXe(e)};var qXe=(e)=>`${e?.count} tasks`,HXe=(e)=>`${e?.count} 个任务`,VXe=(e,r={})=>{if((p??r.locale??n())==="zh")return HXe(e);return qXe(e)};var WXe=(e)=>`${e?.count} task`,GXe=(e)=>`${e?.count} 个任务`,KXe=(e,r={})=>{if((p??r.locale??n())==="zh")return GXe(e);return WXe(e)};var XXe=()=>"Name",QXe=()=>"名称",bl=(e={},r={})=>{if((p??r.locale??n())==="zh")return QXe(e);return XXe(e)};var JXe=()=>"Name is required",$Xe=()=>"名称为必填项",bx=(e={},r={})=>{if((p??r.locale??n())==="zh")return $Xe(e);return JXe(e)};var eQe=()=>"John Doe",tQe=()=>"张三",vx=(e={},r={})=>{if((p??r.locale??n())==="zh")return tQe(e);return eQe(e)};var rQe=()=>"You need at least one project in your team to upload skills.",oQe=()=>"您的团队中至少需要一个项目才能上传技能。",wx=(e={},r={})=>{if((p??r.locale??n())==="zh")return oQe(e);return rQe(e)};var aQe=()=>"Network Sandbox",nQe=()=>"网络沙箱",xx=(e={},r={})=>{if((p??r.locale??n())==="zh")return nQe(e);return aQe(e)};var iQe=()=>"Configure domain access controls for the sandboxed agent.",fQe=()=>"配置沙箱智能体的域名访问控制。",Sx=(e={},r={})=>{if((p??r.locale??n())==="zh")return fQe(e);return iQe(e)};var sQe=()=>"Network Sandbox is currently OFF. All outbound network requests from agent scripts are permitted without restrictions.",lQe=()=>"网络沙箱目前处于关闭状态。智能体脚本的所有出站网络请求均不受限制。",Ex=(e={},r={})=>{if((p??r.locale??n())==="zh")return lQe(e);return sQe(e)};var cQe=()=>"When enabled, network requests from the agent are restricted to allowed domains. When disabled, all network requests are permitted.",uQe=()=>"启用后,智能体的网络请求将受限于允许的域名列表。禁用时,允许所有网络请求。",Cx=(e={},r={})=>{if((p??r.locale??n())==="zh")return uQe(e);return cQe(e)};var dQe=()=>"New Chat",ZQe=()=>"开启新会话",tg=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZQe(e);return dQe(e)};var pQe=()=>"New Field",mQe=()=>"新建字段",Ix=(e={},r={})=>{if((p??r.locale??n())==="zh")return mQe(e);return pQe(e)};var hQe=()=>"New Field",gQe=()=>"新字段",Tx=(e={},r={})=>{if((p??r.locale??n())==="zh")return gQe(e);return hQe(e)};var MQe=()=>"New Folder",vQe=()=>"新建文件夹",vl=(e={},r={})=>{if((p??r.locale??n())==="zh")return vQe(e);return MQe(e)};var xQe=()=>"New Goal",yQe=()=>"新建目标",rg=(e={},r={})=>{if((p??r.locale??n())==="zh")return yQe(e);return xQe(e)};var bQe=()=>"New",_Qe=()=>"新建",Mx=(e={},r={})=>{if((p??r.locale??n())==="zh")return _Qe(e);return bQe(e)};var wQe=()=>"New Option",zQe=()=>"新选项",wd=(e={},r={})=>{if((p??r.locale??n())==="zh")return zQe(e);return wQe(e)};var SQe=()=>"New Password",LQe=()=>"新密码",kx=(e={},r={})=>{if((p??r.locale??n())==="zh")return LQe(e);return SQe(e)};var kQe=()=>"Enter new password",CQe=()=>"输入新密码",Rx=(e={},r={})=>{if((p??r.locale??n())==="zh")return CQe(e);return kQe(e)};var IQe=()=>"Next file",RQe=()=>"下一个文件",ng=(e={},r={})=>{if((p??r.locale??n())==="zh")return RQe(e);return IQe(e)};var PQe=()=>"Next Page",TQe=()=>"下一页",Nx=(e={},r={})=>{if((p??r.locale??n())==="zh")return TQe(e);return PQe(e)};var AQe=()=>"Don't have an account? ",EQe=()=>"还没有账户?",DQe=(e={},r={})=>{if((p??r.locale??n())==="zh")return EQe(e);return AQe(e)};var OQe=()=>"No activity recorded yet",jQe=()=>"暂无活动记录",NQe=(e={},r={})=>{if((p??r.locale??n())==="zh")return jQe(e);return OQe(e)};var FQe=(e)=>`No ${e?.type} agents found`,BQe=(e)=>`未找到${e?.type}智能体`,Px=(e,r={})=>{if((p??r.locale??n())==="zh")return BQe(e);return FQe(e)};var YQe=()=>"No API tokens found. Generate one above to get started.",UQe=()=>"未找到 API 令牌。请在上方生成一个以开始使用。",Dx=(e={},r={})=>{if((p??r.locale??n())==="zh")return UQe(e);return YQe(e)};var qQe=()=>"No assets in this folder",HQe=()=>"此文件夹中没有资产",VQe=(e={},r={})=>{if((p??r.locale??n())==="zh")return HQe(e);return qQe(e)};var WQe=()=>"No audit logs found",GQe=()=>"未找到审计日志",Ox=(e={},r={})=>{if((p??r.locale??n())==="zh")return GQe(e);return WQe(e)};var KQe=()=>"No chat agents found. Please create a Chat Agent below first.",XQe=()=>"未找到聊天智能体。请先在下方创建聊天智能体。",Fx=(e={},r={})=>{if((p??r.locale??n())==="zh")return XQe(e);return KQe(e)};var QQe=()=>"No collections created yet.",JQe=()=>"暂无媒体合集。",Lx=(e={},r={})=>{if((p??r.locale??n())==="zh")return JQe(e);return QQe(e)};var $Qe=()=>"No comments yet",eJe=()=>"暂无评论",og=(e={},r={})=>{if((p??r.locale??n())==="zh")return eJe(e);return $Qe(e)};var tJe=()=>"No custom domains allowed",rJe=()=>"没有自定义允许域名",Zx=(e={},r={})=>{if((p??r.locale??n())==="zh")return rJe(e);return tJe(e)};var oJe=()=>"No description provided.",aJe=()=>"暂无描述。",sg=(e={},r={})=>{if((p??r.locale??n())==="zh")return aJe(e);return oJe(e)};var nJe=()=>'No environment variables found. Click "Add Variable" to create one.',iJe=()=>'未找到环境变量。点击"添加变量"创建一个。',Bx=(e={},r={})=>{if((p??r.locale??n())==="zh")return iJe(e);return nJe(e)};var fJe=()=>"No fields found",sJe=()=>"未找到字段",Ux=(e={},r={})=>{if((p??r.locale??n())==="zh")return sJe(e);return fJe(e)};var lJe=()=>"No folder selected",cJe=()=>"未选择文件夹",uJe=(e={},r={})=>{if((p??r.locale??n())==="zh")return cJe(e);return lJe(e)};var dJe=()=>"No Folder Structure",ZJe=()=>"无文件夹结构",ig=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZJe(e);return dJe(e)};var pJe=()=>"No goals yet",mJe=()=>"暂无目标",zx=(e={},r={})=>{if((p??r.locale??n())==="zh")return mJe(e);return pJe(e)};var hJe=()=>"No chat history found.",gJe=()=>"暂无历史会话记录",jx=(e={},r={})=>{if((p??r.locale??n())==="zh")return gJe(e);return hJe(e)};var MJe=()=>"No item selected",vJe=()=>"未选择项目",qx=(e={},r={})=>{if((p??r.locale??n())==="zh")return vJe(e);return MJe(e)};var xJe=()=>"No tasks linked to this asset",yJe=()=>"该资产暂无关联任务",bJe=(e={},r={})=>{if((p??r.locale??n())==="zh")return yJe(e);return xJe(e)};var _Je=()=>"No logs found for this session.",wJe=()=>"未找到此会话的日志。",Hx=(e={},r={})=>{if((p??r.locale??n())==="zh")return wJe(e);return _Je(e)};var zJe=()=>"No matches found",SJe=()=>"未找到匹配结果",ag=(e={},r={})=>{if((p??r.locale??n())==="zh")return SJe(e);return zJe(e)};var LJe=()=>"No matching tasks found",kJe=()=>"未找到匹配的任务",Tse=(e={},r={})=>{if((p??r.locale??n())==="zh")return kJe(e);return LJe(e)};var CJe=()=>"No MCP servers configured",IJe=()=>"暂未配置 MCP 服务",lg=(e={},r={})=>{if((p??r.locale??n())==="zh")return IJe(e);return CJe(e)};var RJe=()=>"No models found",PJe=()=>"未找到模型",xd=(e={},r={})=>{if((p??r.locale??n())==="zh")return PJe(e);return RJe(e)};var TJe=()=>"No notifications",AJe=()=>"暂无通知",EJe=(e={},r={})=>{if((p??r.locale??n())==="zh")return AJe(e);return TJe(e)};var DJe=()=>"No options found",OJe=()=>"未找到选项",cg=(e={},r={})=>{if((p??r.locale??n())==="zh")return OJe(e);return DJe(e)};var jJe=()=>"No pending domains requiring approval",NJe=()=>"没有待审核的域名",$x=(e={},r={})=>{if((p??r.locale??n())==="zh")return NJe(e);return jJe(e)};var FJe=()=>"No project selected",BJe=()=>"未选择项目",Ase=(e={},r={})=>{if((p??r.locale??n())==="zh")return BJe(e);return FJe(e)};var YJe=()=>"No Providers Configured",UJe=()=>"暂无已配置的提供商",Gx=(e={},r={})=>{if((p??r.locale??n())==="zh")return UJe(e);return YJe(e)};var qJe=()=>"No providers found",HJe=()=>"未找到提供商",Vx=(e={},r={})=>{if((p??r.locale??n())==="zh")return HJe(e);return qJe(e)};var VJe=()=>"Set limits on AI tokens, costs, skill executions, and agent tool calls to manage team usage.",WJe=()=>"为 AI Token、费用、MCP 服务和智能体工具调用设置限制,以便管理团队的使用情况。",sp=(e={},r={})=>{if((p??r.locale??n())==="zh")return WJe(e);return VJe(e)};var GJe=()=>"No resource quotas configured",KJe=()=>"暂未配置资源配额",ip=(e={},r={})=>{if((p??r.locale??n())==="zh")return KJe(e);return GJe(e)};var XJe=()=>"No recently viewed files",QJe=()=>"暂无最近浏览文件",ap=(e={},r={})=>{if((p??r.locale??n())==="zh")return QJe(e);return XJe(e)};var JJe=()=>"Files you view in this project will appear here.",$Je=()=>"您在此项目中查看的文件将显示在此处。",lp=(e={},r={})=>{if((p??r.locale??n())==="zh")return $Je(e);return JJe(e)};var e$e=()=>"No records matched your criteria",t$e=()=>"没有记录匹配您的条件",Qx=(e={},r={})=>{if((p??r.locale??n())==="zh")return t$e(e);return e$e(e)};var r$e=()=>"No related assets linked",o$e=()=>"暂无关联资产",a$e=(e={},r={})=>{if((p??r.locale??n())==="zh")return o$e(e);return r$e(e)};var n$e=()=>"No sessions found",i$e=()=>"未找到会话",Kx=(e={},r={})=>{if((p??r.locale??n())==="zh")return i$e(e);return n$e(e)};var f$e=()=>"No share links created yet.",s$e=()=>"暂无分享链接。",Wx=(e={},r={})=>{if((p??r.locale??n())==="zh")return s$e(e);return f$e(e)};var l$e=()=>"No skills available.",c$e=()=>"暂无可用技能。",Yx=(e={},r={})=>{if((p??r.locale??n())==="zh")return c$e(e);return l$e(e)};var u$e=()=>"No skills installed",d$e=()=>"暂无已安装的技能",Jx=(e={},r={})=>{if((p??r.locale??n())==="zh")return d$e(e);return u$e(e)};var Z$e=()=>"No tasks in this column",p$e=()=>"该列暂无任务",Xx=(e={},r={})=>{if((p??r.locale??n())==="zh")return p$e(e);return Z$e(e)};var m$e=()=>"No saved templates",h$e=()=>"没有保存的模板",eS=(e={},r={})=>{if((p??r.locale??n())==="zh")return h$e(e);return m$e(e)};var g$e=()=>"No tools found matching your search.",M$e=()=>"未找到符合搜索条件的工具。",tS=(e={},r={})=>{if((p??r.locale??n())==="zh")return M$e(e);return g$e(e)};var v$e=()=>"Upload files in the project view to track progress here.",x$e=()=>"在项目视图中上传文件以在此处跟踪进度。",y$e=(e={},r={})=>{if((p??r.locale??n())==="zh")return x$e(e);return v$e(e)};var b$e=()=>"No uploads yet",_$e=()=>"暂无上传",w$e=(e={},r={})=>{if((p??r.locale??n())==="zh")return _$e(e);return b$e(e)};var z$e=()=>"No versions found",S$e=()=>"暂无版本",L$e=(e={},r={})=>{if((p??r.locale??n())==="zh")return S$e(e);return z$e(e)};var k$e=()=>"No watermark blocks added yet",C$e=()=>"尚未添加水印块",rS=(e={},r={})=>{if((p??r.locale??n())==="zh")return C$e(e);return k$e(e)};var I$e=()=>"Notification",R$e=()=>"通知",nS=(e={},r={})=>{if((p??r.locale??n())==="zh")return R$e(e);return I$e(e)};var P$e=(e)=>`${e?.creator} commented on ${e?.asset}`,T$e=(e)=>`${e?.creator} 评论了 ${e?.asset}`,A$e=(e,r={})=>{if((p??r.locale??n())==="zh")return T$e(e);return P$e(e)};var E$e=(e)=>`New notification from ${e?.creator}`,D$e=(e)=>`来自 ${e?.creator} 的新通知`,O$e=(e,r={})=>{if((p??r.locale??n())==="zh")return D$e(e);return E$e(e)};var j$e=(e)=>`${e?.user} joined ${e?.project}`,N$e=(e)=>`${e?.user} 加入了 ${e?.project}`,F$e=(e,r={})=>{if((p??r.locale??n())==="zh")return N$e(e);return j$e(e)};var B$e=(e)=>`${e?.user} joined ${e?.team}`,Y$e=(e)=>`${e?.user} 加入了 ${e?.team}`,U$e=(e,r={})=>{if((p??r.locale??n())==="zh")return Y$e(e);return B$e(e)};var q$e=(e)=>`${e?.creator} assigned you to task ${e?.task}`,H$e=(e)=>`${e?.creator} 将任务 ${e?.task} 分配给了你`,V$e=(e,r={})=>{if((p??r.locale??n())==="zh")return H$e(e);return q$e(e)};var W$e=(e)=>`${e?.creator} commented on task ${e?.task}`,G$e=(e)=>`${e?.creator} 评论了任务 ${e?.task}`,K$e=(e,r={})=>{if((p??r.locale??n())==="zh")return G$e(e);return W$e(e)};var X$e=(e)=>`${e?.creator} created task ${e?.task}`,Q$e=(e)=>`${e?.creator} 创建了任务 ${e?.task}`,J$e=(e,r={})=>{if((p??r.locale??n())==="zh")return Q$e(e);return X$e(e)};var $$e=(e)=>`${e?.creator} deleted task ${e?.task}`,eet=(e)=>`${e?.creator} 删除了任务 ${e?.task}`,tet=(e,r={})=>{if((p??r.locale??n())==="zh")return eet(e);return $$e(e)};var ret=(e)=>`${e?.creator} updated status of task ${e?.task}`,oet=(e)=>`${e?.creator} 更新了任务 ${e?.task} 的状态`,aet=(e,r={})=>{if((p??r.locale??n())==="zh")return oet(e);return ret(e)};var net=(e)=>`${e?.creator} updated task ${e?.task}`,iet=(e)=>`${e?.creator} 更新了任务 ${e?.task}`,fet=(e,r={})=>{if((p??r.locale??n())==="zh")return iet(e);return net(e)};var set=(e)=>`${e?.creator} mentioned you in ${e?.asset}`,cet=(e)=>`${e?.creator} 在 ${e?.asset} 中提及了你`,uet=(e,r={})=>{if((p??r.locale??n())==="zh")return cet(e);return set(e)};var det=(e)=>`${e?.creator} mentioned you in task ${e?.task}`,Zet=(e)=>`${e?.creator} 在任务 ${e?.task} 中提及了你`,pet=(e,r={})=>{if((p??r.locale??n())==="zh")return Zet(e);return det(e)};var met=(e)=>`${e?.creator} replied to a comment on ${e?.asset}`,het=(e)=>`${e?.creator} 回复了 ${e?.asset} 上的评论`,get=(e,r={})=>{if((p??r.locale??n())==="zh")return het(e);return met(e)};var Met=()=>"Notification Settings",vet=()=>"通知设置",oS=(e={},r={})=>{if((p??r.locale??n())==="zh")return vet(e);return Met(e)};var xet=()=>"Notification settings updated",yet=()=>"通知设置已更新",sS=(e={},r={})=>{if((p??r.locale??n())==="zh")return yet(e);return xet(e)};var bet=(e)=>`${e?.creator} updated status of ${e?.asset}`,_et=(e)=>`${e?.creator} 更新了 ${e?.asset} 的状态`,wet=(e,r={})=>{if((p??r.locale??n())==="zh")return _et(e);return bet(e)};var zet=(e)=>`${e?.creator} uploaded ${e?.asset} to ${e?.project}`,Let=(e)=>`${e?.creator} 将 ${e?.asset} 上传到 ${e?.project}`,ket=(e,r={})=>{if((p??r.locale??n())==="zh")return Let(e);return zet(e)};var Cet=()=>"Notifications",Iet=()=>"通知",ug=(e={},r={})=>{if((p??r.locale??n())==="zh")return Iet(e);return Cet(e)};var Ret=()=>"Configure your personal notification preferences for this team.",Pet=()=>"配置您在此团队的个人通知偏好。",iS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Pet(e);return Ret(e)};var Tet=()=>"Only team owners can access the dashboard.",Aet=()=>"只有团队所有者才能访问仪表盘。",aS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Aet(e);return Tet(e)};var Eet=()=>"Only .zip files are supported.",Det=()=>"仅支持 .zip 文件。",lS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Det(e);return Eet(e)};var Oet=()=>"Opacity",jet=()=>"透明度",cS=(e={},r={})=>{if((p??r.locale??n())==="zh")return jet(e);return Oet(e)};var Net=()=>"Open a supported file to add markup",Fet=()=>"打开支持的文件以添加标注",uS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fet(e);return Net(e)};var Bet=()=>"Open Share Link",Yet=()=>"打开分享链接",dS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Yet(e);return Bet(e)};var Uet=()=>"Operator",qet=()=>"运算符",fS=(e={},r={})=>{if((p??r.locale??n())==="zh")return qet(e);return Uet(e)};var Het=()=>"contains",Vet=()=>"包含",pS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vet(e);return Het(e)};var Wet=()=>"does not contain",Get=()=>"不包含",mS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Get(e);return Wet(e)};var Ket=()=>"has all of",Xet=()=>"含有全部",hS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xet(e);return Ket(e)};var Qet=()=>"has any of",Jet=()=>"含有其中之一",gS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jet(e);return Qet(e)};var $et=()=>"has none of",ett=()=>"不含有其中任何",AS=(e={},r={})=>{if((p??r.locale??n())==="zh")return ett(e);return $et(e)};var ttt=()=>"is",rtt=()=>"是",wl=(e={},r={})=>{if((p??r.locale??n())==="zh")return rtt(e);return ttt(e)};var ott=()=>"is after",att=()=>"在之后",_S=(e={},r={})=>{if((p??r.locale??n())==="zh")return att(e);return ott(e)};var ntt=()=>"is any of",itt=()=>"是其中之一",yS=(e={},r={})=>{if((p??r.locale??n())==="zh")return itt(e);return ntt(e)};var ftt=()=>"is before",stt=()=>"在之前",bS=(e={},r={})=>{if((p??r.locale??n())==="zh")return stt(e);return ftt(e)};var ltt=()=>"is empty",ctt=()=>"为空",xl=(e={},r={})=>{if((p??r.locale??n())==="zh")return ctt(e);return ltt(e)};var utt=()=>"is exactly",dtt=()=>"完全匹配",vS=(e={},r={})=>{if((p??r.locale??n())==="zh")return dtt(e);return utt(e)};var Ztt=()=>"is none of",ptt=()=>"不在其中",wS=(e={},r={})=>{if((p??r.locale??n())==="zh")return ptt(e);return Ztt(e)};var mtt=()=>"is not",htt=()=>"不是",Sd=(e={},r={})=>{if((p??r.locale??n())==="zh")return htt(e);return mtt(e)};var gtt=()=>"is not empty",Mtt=()=>"不为空",Sl=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mtt(e);return gtt(e)};var vtt=()=>"is on or after",xtt=()=>"在当天或之后",xS=(e={},r={})=>{if((p??r.locale??n())==="zh")return xtt(e);return vtt(e)};var ytt=()=>"is on or before",btt=()=>"在当天或之前",SS=(e={},r={})=>{if((p??r.locale??n())==="zh")return btt(e);return ytt(e)};var _tt=()=>"is within",wtt=()=>"在范围内",ES=(e={},r={})=>{if((p??r.locale??n())==="zh")return wtt(e);return _tt(e)};var ztt=()=>"Option name",Stt=()=>"选项名称",cp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Stt(e);return ztt(e)};var Ltt=()=>"Optional default value...",ktt=()=>"可选默认值...",CS=(e={},r={})=>{if((p??r.locale??n())==="zh")return ktt(e);return Ltt(e)};var Ctt=()=>"Options",Itt=()=>"选项",Ed=(e={},r={})=>{if((p??r.locale??n())==="zh")return Itt(e);return Ctt(e)};var Rtt=()=>"OR",Ptt=()=>"或",IS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ptt(e);return Rtt(e)};var Ttt=()=>"Order",Att=()=>"顺序",up=(e={},r={})=>{if((p??r.locale??n())==="zh")return Att(e);return Ttt(e)};var Ett=()=>"Original",Dtt=()=>"原始",Pa=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dtt(e);return Ett(e)};var Ott=()=>"Other Uploads",jtt=()=>"其他上传",TS=(e={},r={})=>{if((p??r.locale??n())==="zh")return jtt(e);return Ott(e)};var Ntt=()=>"Output Cost (1M)",Ftt=()=>"输出成本(每百万)",MS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ftt(e);return Ntt(e)};var Btt=()=>"Output Tokens",Ytt=()=>"输出 Token",dg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ytt(e);return Btt(e)};var Utt=()=>"Override the default endpoint.",qtt=()=>"覆盖默认端点。",fg=(e={},r={})=>{if((p??r.locale??n())==="zh")return qtt(e);return Utt(e)};var Htt=()=>"Do you want to override the existing skill?",Vtt=()=>"你想覆盖现有技能吗?",kS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vtt(e);return Htt(e)};var Wtt=()=>"Overwrite Existing Template",Gtt=()=>"覆盖现有模板",pg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Gtt(e);return Wtt(e)};var Ktt=()=>"Owner",Xtt=()=>"管理员",jc=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xtt(e);return Ktt(e)};var Qtt=()=>"Package Upload",Jtt=()=>"包上传",RS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jtt(e);return Qtt(e)};var $tt=()=>"Packages must contain a SKILL.md",ert=()=>"包必须包含 SKILL.md",NS=(e={},r={})=>{if((p??r.locale??n())==="zh")return ert(e);return $tt(e)};var trt=(e)=>`Page ${e?.current} of ${e?.total}`,rrt=(e)=>`第 ${e?.current} / ${e?.total} 页`,PS=(e,r={})=>{if((p??r.locale??n())==="zh")return rrt(e);return trt(e)};var ort=(e)=>`Page ${e?.page}`,art=(e)=>`第 ${e?.page} 页`,mg=(e,r={})=>{if((p??r.locale??n())==="zh")return art(e);return ort(e)};var nrt=()=>"Parameters",irt=()=>"参数",DS=(e={},r={})=>{if((p??r.locale??n())==="zh")return irt(e);return nrt(e)};var frt=()=>"Parent Tasks",srt=()=>"前置任务",hg=(e={},r={})=>{if((p??r.locale??n())==="zh")return srt(e);return frt(e)};var lrt=()=>"Password",crt=()=>"密码",dp=(e={},r={})=>{if((p??r.locale??n())==="zh")return crt(e);return lrt(e)};var urt=()=>"Password is required",drt=()=>"密码为必填项",Zrt=(e={},r={})=>{if((p??r.locale??n())==="zh")return drt(e);return urt(e)};var prt=()=>"Password must be at least 3 characters",mrt=()=>"密码至少需要 3 个字符",fp=(e={},r={})=>{if((p??r.locale??n())==="zh")return mrt(e);return prt(e)};var hrt=()=>"At least 3 characters",grt=()=>"至少 3 个字符",Mrt=(e={},r={})=>{if((p??r.locale??n())==="zh")return grt(e);return hrt(e)};var vrt=()=>"Your password",xrt=()=>"请输入密码",yrt=(e={},r={})=>{if((p??r.locale??n())==="zh")return xrt(e);return vrt(e)};var brt=()=>"Password Protected",_rt=()=>"密码保护",OS=(e={},r={})=>{if((p??r.locale??n())==="zh")return _rt(e);return brt(e)};var wrt=()=>"Password reset successfully!",zrt=()=>"密码重置成功!",FS=(e={},r={})=>{if((p??r.locale??n())==="zh")return zrt(e);return wrt(e)};var Srt=()=>"You will be redirected to the login page shortly.",Lrt=()=>"您将很快被重定向到登录页面。",LS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lrt(e);return Srt(e)};var krt=()=>"Passwords do not match",Crt=()=>"两次输入的密码不一致",ZS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Crt(e);return krt(e)};var Irt=()=>"Pending Domain Approvals",Rrt=()=>"待审核域名",BS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rrt(e);return Irt(e)};var Prt=()=>"These domains were blocked during agent execution. You can approve them to allow future network requests, or delete them from this list.",Trt=()=>"这些域名在智能体执行期间被阻止。您可以批准它们以允许将来的网络请求,或从此列表中删除它们。",US=(e={},r={})=>{if((p??r.locale??n())==="zh")return Trt(e);return Prt(e)};var Art=()=>"All Users",Ert=()=>"所有成员",Da=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ert(e);return Art(e)};var Drt=()=>"Owner & Editor",Ort=()=>"管理员与编辑",Oa=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ort(e);return Drt(e)};var jrt=()=>"Owner Only",Nrt=()=>"仅管理员",Fa=(e={},r={})=>{if((p??r.locale??n())==="zh")return Nrt(e);return jrt(e)};var Frt=()=>"Personal Info",Brt=()=>"个人信息",zS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Brt(e);return Frt(e)};var Yrt=()=>"Manage your profile name and avatar image.",Urt=()=>"管理您的个人资料名称和头像图片。",jS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Urt(e);return Yrt(e)};var qrt=()=>"Personal Settings",Hrt=()=>"个人设置",qS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hrt(e);return qrt(e)};var Vrt=()=>"Playback Speed",Wrt=()=>"播放速度",HS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wrt(e);return Vrt(e)};var Grt=()=>"Position and resize",Krt=()=>"定位和调整大小",$S=(e={},r={})=>{if((p??r.locale??n())==="zh")return Krt(e);return Grt(e)};var Xrt=()=>"Position X (%)",Qrt=()=>"水平位置 (%)",GS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qrt(e);return Xrt(e)};var Jrt=()=>"Position Y (%)",$rt=()=>"垂直位置 (%)",VS=(e={},r={})=>{if((p??r.locale??n())==="zh")return $rt(e);return Jrt(e)};var eot=()=>"Preparing...",tot=()=>"准备中...",QS=(e={},r={})=>{if((p??r.locale??n())==="zh")return tot(e);return eot(e)};var rot=()=>"Preparing Download",oot=()=>"正在准备下载",gg=(e={},r={})=>{if((p??r.locale??n())==="zh")return oot(e);return rot(e)};var aot=()=>"Preparing download links...",not=()=>"正在准备下载链接...",Ag=(e={},r={})=>{if((p??r.locale??n())==="zh")return not(e);return aot(e)};var iot=()=>"Preset Avatar Option",fot=()=>"预设头像选项",KS=(e={},r={})=>{if((p??r.locale??n())==="zh")return fot(e);return iot(e)};var sot=()=>"Previous file",lot=()=>"上一个文件",_g=(e={},r={})=>{if((p??r.locale??n())==="zh")return lot(e);return sot(e)};var cot=()=>"Previous Page",uot=()=>"上一页",pp=(e={},r={})=>{if((p??r.locale??n())==="zh")return uot(e);return cot(e)};var dot=()=>"Pricing ($ per 1M tokens)",Zot=()=>"计费(每百万令牌美元)",WS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zot(e);return dot(e)};var pot=()=>"High",mot=()=>"高",hot=(e={},r={})=>{if((p??r.locale??n())==="zh")return mot(e);return pot(e)};var got=()=>"Low",Mot=()=>"低",vot=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mot(e);return got(e)};var xot=()=>"Medium",yot=()=>"中",bot=(e={},r={})=>{if((p??r.locale??n())==="zh")return yot(e);return xot(e)};var _ot=()=>"Urgent",wot=()=>"紧急",zot=(e={},r={})=>{if((p??r.locale??n())==="zh")return wot(e);return _ot(e)};var Sot=()=>"Processing...",Lot=()=>"处理中...",YS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lot(e);return Sot(e)};var kot=()=>"Processing package...",Cot=()=>"正在处理包...",JS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cot(e);return kot(e)};var Iot=()=>"Profile updated successfully",Rot=()=>"个人资料更新成功",yg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rot(e);return Iot(e)};var Pot=()=>"project",Tot=()=>"项目",XS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tot(e);return Pot(e)};var Aot=()=>"Project Cover",Eot=()=>"项目封面",eE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Eot(e);return Aot(e)};var Dot=()=>"Project ID",Oot=()=>"项目 ID",tE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Oot(e);return Dot(e)};var jot=()=>"Project Member",Not=()=>"项目成员",mp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Not(e);return jot(e)};var Fot=()=>"Project-scoped member roles are managed within individual project settings",Bot=()=>"项目成员的角色需在具体的项目设置中管理",rE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bot(e);return Fot(e)};var Yot=()=>"Project Members",Uot=()=>"项目成员",nE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Uot(e);return Yot(e)};var qot=()=>"Project Name",Hot=()=>"项目名称",oE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hot(e);return qot(e)};var Vot=()=>"A clear, concise name to identify your project space.",Wot=()=>"简洁明了的名称,用于标识您的项目空间。",sE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wot(e);return Vot(e)};var Got=()=>"e.g. Acme Marketing, Q3 Product Launch...",Kot=()=>"例如:品牌营销、第三季度产品发布...",iE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kot(e);return Got(e)};var Xot=()=>"Project notification settings updated",Qot=()=>"项目通知设置已更新",aE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qot(e);return Xot(e)};var Jot=()=>"Project Preferences",$ot=()=>"项目偏好设置",lE=(e={},r={})=>{if((p??r.locale??n())==="zh")return $ot(e);return Jot(e)};var eat=()=>"Project Settings",tat=()=>"项目设置",bg=(e={},r={})=>{if((p??r.locale??n())==="zh")return tat(e);return eat(e)};var rat=()=>"Projects",oat=()=>"项目",cE=(e={},r={})=>{if((p??r.locale??n())==="zh")return oat(e);return rat(e)};var aat=()=>"Please provide your name and email to add a comment.",nat=()=>"请提供您的姓名和邮箱以添加评论。",uE=(e={},r={})=>{if((p??r.locale??n())==="zh")return nat(e);return aat(e)};var iat=()=>"Provider",fat=()=>"提供商",dE=(e={},r={})=>{if((p??r.locale??n())==="zh")return fat(e);return iat(e)};var sat=()=>"Provider created successfully",lat=()=>"提供商创建成功",fE=(e={},r={})=>{if((p??r.locale??n())==="zh")return lat(e);return sat(e)};var cat=()=>"Provider deleted successfully",uat=()=>"提供商删除成功",pE=(e={},r={})=>{if((p??r.locale??n())==="zh")return uat(e);return cat(e)};var dat=()=>"Provider is required",Zat=()=>"提供商为必填项",mE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zat(e);return dat(e)};var pat=()=>"Provider Name",mat=()=>"提供商名称",vg=(e={},r={})=>{if((p??r.locale??n())==="zh")return mat(e);return pat(e)};var hat=()=>"Provider name is required",gat=()=>"提供商名称为必填项",wg=(e={},r={})=>{if((p??r.locale??n())==="zh")return gat(e);return hat(e)};var Mat=()=>"Provider name must be unique",vat=()=>"提供商名称必须唯一",xg=(e={},r={})=>{if((p??r.locale??n())==="zh")return vat(e);return Mat(e)};var xat=()=>"e.g., My OpenAI",yat=()=>"例如:我的 OpenAI",Sg=(e={},r={})=>{if((p??r.locale??n())==="zh")return yat(e);return xat(e)};var bat=()=>"This provider is not configured. Configure an API key in the API Key tab before using these models.",_at=()=>"此提供商尚未配置。在使用这些模型前,请在 API 密钥标签页中配置密钥。",hE=(e={},r={})=>{if((p??r.locale??n())==="zh")return _at(e);return bat(e)};var wat=()=>"Configured (Custom)",zat=()=>"已配置(自定义)",Eg=(e={},r={})=>{if((p??r.locale??n())==="zh")return zat(e);return wat(e)};var Sat=()=>"Configured (Environment)",Lat=()=>"已配置(环境变量)",Cg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lat(e);return Sat(e)};var kat=()=>"Not Configured",Cat=()=>"未配置",Ig=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cat(e);return kat(e)};var Iat=()=>"Provider updated successfully",Rat=()=>"提供商更新成功",Tg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rat(e);return Iat(e)};var Pat=()=>"Providers",Tat=()=>"提供商",gE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tat(e);return Pat(e)};var Aat=()=>"Configure AI providers and their models for this team.",Eat=()=>"为此团队配置 AI 提供商及其模型。",AE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Eat(e);return Aat(e)};var Dat=()=>"Public Link",Oat=()=>"公开链接",_E=(e={},r={})=>{if((p??r.locale??n())==="zh")return Oat(e);return Dat(e)};var jat=()=>"Quality",Nat=()=>"画质",Mg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Nat(e);return jat(e)};var Fat=()=>"Querying database...",Bat=()=>"正在查询数据库...",yE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bat(e);return Fat(e)};var Yat=()=>"Quota available",Uat=()=>"配额可用",kg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Uat(e);return Yat(e)};var qat=()=>"Supports wildcards (*). Examples: git *, npm test, curl *, python script.py (use * for all commands)",Hat=()=>"支持通配符 (*)。示例:git *、npm test、curl *、python script.py(使用 * 匹配所有命令)",bE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hat(e);return qat(e)};var Vat=()=>"Collapse quota rule",Wat=()=>"收起配额规则",vE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wat(e);return Vat(e)};var Gat=()=>"Quota rule created successfully",Kat=()=>"配额规则创建成功",wE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kat(e);return Gat(e)};var Xat=()=>"Monitor live quota usage and reset individual usage windows.",Qat=()=>"在仪表盘中监控实时配额使用情况,并重置单个使用窗口。",xE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qat(e);return Xat(e)};var Jat=()=>"Quota rule deleted successfully",$at=()=>"配额规则删除成功",Rg=(e={},r={})=>{if((p??r.locale??n())==="zh")return $at(e);return Jat(e)};var ent=()=>"Disabled",tnt=()=>"已禁用",hp=(e={},r={})=>{if((p??r.locale??n())==="zh")return tnt(e);return ent(e)};var rnt=()=>"Enabled",ont=()=>"已启用",SE=(e={},r={})=>{if((p??r.locale??n())==="zh")return ont(e);return rnt(e)};var ant=()=>"Expand quota rule",nnt=()=>"展开配额规则",EE=(e={},r={})=>{if((p??r.locale??n())==="zh")return nnt(e);return ant(e)};var int=()=>"Limit",fnt=()=>"上限",CE=(e={},r={})=>{if((p??r.locale??n())==="zh")return fnt(e);return int(e)};var snt=()=>"e.g. 100000",lnt=()=>"例如 100000",IE=(e={},r={})=>{if((p??r.locale??n())==="zh")return lnt(e);return snt(e)};var cnt=()=>"No usage records found",unt=()=>"暂无使用记录",TE=(e={},r={})=>{if((p??r.locale??n())==="zh")return unt(e);return cnt(e)};var dnt=()=>"Period Window",Znt=()=>"周期窗口",ME=(e={},r={})=>{if((p??r.locale??n())==="zh")return Znt(e);return dnt(e)};var pnt=()=>"1 Day",mnt=()=>"1 天",gp=(e={},r={})=>{if((p??r.locale??n())==="zh")return mnt(e);return pnt(e)};var hnt=()=>"1 Hour",gnt=()=>"1 小时",Ap=(e={},r={})=>{if((p??r.locale??n())==="zh")return gnt(e);return hnt(e)};var Mnt=()=>"5 Hours",vnt=()=>"5 小时",_p=(e={},r={})=>{if((p??r.locale??n())==="zh")return vnt(e);return Mnt(e)};var xnt=()=>"7 Days",ynt=()=>"7 天",yp=(e={},r={})=>{if((p??r.locale??n())==="zh")return ynt(e);return xnt(e)};var bnt=(e)=>`Refreshes in ${e?.time}`,_nt=(e)=>`${e?.time} 后重置`,Ng=(e,r={})=>{if((p??r.locale??n())==="zh")return _nt(e);return bnt(e)};var wnt=()=>"Remaining",znt=()=>"剩余额度",kE=(e={},r={})=>{if((p??r.locale??n())==="zh")return znt(e);return wnt(e)};var Snt=()=>"Quota usage reset successfully",Lnt=()=>"配额使用量重置成功",RE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lnt(e);return Snt(e)};var knt=()=>"Reset Usage",Cnt=()=>"重置使用量",Pg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cnt(e);return knt(e)};var Int=(e)=>`Reset usage for ${e?.target}? Consumption will be cleared and a new quota window will start now.`,Rnt=(e)=>`确定要重置 ${e?.target} 的使用量吗?当前消耗将被清零,并立即开始新的配额周期。`,NE=(e,r={})=>{if((p??r.locale??n())==="zh")return Rnt(e);return Int(e)};var Pnt=()=>"Resource",Tnt=()=>"资源类型",PE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tnt(e);return Pnt(e)};var Ant=()=>"Agent Bash Calls",Ent=()=>"智能体 Bash 执行次数",Cd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ent(e);return Ant(e)};var Dnt=()=>"AI Cost ($)",Ont=()=>"AI 费用 ($)",Id=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ont(e);return Dnt(e)};var jnt=()=>"MCP Server Calls",Nnt=()=>"MCP 服务调用次数",Td=(e={},r={})=>{if((p??r.locale??n())==="zh")return Nnt(e);return jnt(e)};var Fnt=()=>"Agent Tool Calls",Bnt=()=>"智能体工具调用次数",Md=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bnt(e);return Fnt(e)};var Ynt=()=>"AI Tokens",Unt=()=>"AI Token 总量",kd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Unt(e);return Ynt(e)};var qnt=()=>"Role Shared Pool",Hnt=()=>"角色共享配额池",DE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hnt(e);return qnt(e)};var Vnt=()=>"Scope",Wnt=()=>"范围",OE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wnt(e);return Vnt(e)};var Gnt=()=>"Target Mode",Knt=()=>"目标模式",FE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Knt(e);return Gnt(e)};var Xnt=()=>"All Members",Qnt=()=>"所有成员",Rd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qnt(e);return Xnt(e)};var Jnt=()=>"Shared pooled limit across all matching members",$nt=()=>"所有符合条件的成员共同享有总配额上限",LE=(e={},r={})=>{if((p??r.locale??n())==="zh")return $nt(e);return Jnt(e)};var eit=()=>"Each Member",tit=()=>"每个成员",Nd=(e={},r={})=>{if((p??r.locale??n())==="zh")return tit(e);return eit(e)};var rit=()=>"Individual limit for each matching member",oit=()=>"为每个符合条件的成员分别设定独立的配额上限",ZE=(e={},r={})=>{if((p??r.locale??n())==="zh")return oit(e);return rit(e)};var ait=()=>"Selected Members",nit=()=>"指定成员",Pd=(e={},r={})=>{if((p??r.locale??n())==="zh")return nit(e);return ait(e)};var iit=()=>"Individual limit for selected users",fit=()=>"为选定的成员分别设定独立的配额上限",BE=(e={},r={})=>{if((p??r.locale??n())==="zh")return fit(e);return iit(e)};var sit=()=>"Role-based",lit=()=>"按角色",bp=(e={},r={})=>{if((p??r.locale??n())==="zh")return lit(e);return sit(e)};var cit=()=>"Entire Team",uit=()=>"整个团队",El=(e={},r={})=>{if((p??r.locale??n())==="zh")return uit(e);return cit(e)};var dit=()=>"Search members...",Zit=()=>"搜索成员...",vp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zit(e);return dit(e)};var pit=(e)=>`${e?.count} members selected`,mit=(e)=>`已选择 ${e?.count} 位成员`,UE=(e,r={})=>{if((p??r.locale??n())==="zh")return mit(e);return pit(e)};var hit=()=>"Quota status updated",git=()=>"配额状态已更新",zE=(e={},r={})=>{if((p??r.locale??n())==="zh")return git(e);return hit(e)};var Mit=(e)=>`Match: ${e?.value}`,vit=(e)=>`匹配:${e?.value}`,jE=(e,r={})=>{if((p??r.locale??n())==="zh")return vit(e);return Mit(e)};var xit=(e)=>`Server: ${e?.value}`,yit=(e)=>`服务:${e?.value}`,qE=(e,r={})=>{if((p??r.locale??n())==="zh")return yit(e);return xit(e)};var bit=(e)=>`Tool: ${e?.value}`,_it=(e)=>`工具:${e?.value}`,HE=(e,r={})=>{if((p??r.locale??n())==="zh")return _it(e);return bit(e)};var wit=()=>"Team Shared Pool",zit=()=>"团队共享配额池",$E=(e={},r={})=>{if((p??r.locale??n())==="zh")return zit(e);return wit(e)};var Sit=()=>"Select a specific agent tool to configure its quota limit",Lit=()=>"选择特定的智能体工具以配置其配额限制",GE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lit(e);return Sit(e)};var kit=()=>"Quota rule updated successfully",Cit=()=>"配额规则更新成功",VE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cit(e);return kit(e)};var Iit=()=>"Quotas",Rit=()=>"配额",Dd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rit(e);return Iit(e)};var Pit=(e)=>`${e?.others} reacted with ${e?.emoji}`,Tit=(e)=>`${e?.others} 回应了 ${e?.emoji}`,QE=(e,r={})=>{if((p??r.locale??n())==="zh")return Tit(e);return Pit(e)};var Ait=(e)=>`You reacted with ${e?.emoji}`,Eit=(e)=>`你回应了 ${e?.emoji}`,KE=(e,r={})=>{if((p??r.locale??n())==="zh")return Eit(e);return Ait(e)};var Dit=(e)=>`You and ${e?.others} reacted with ${e?.emoji}`,Oit=(e)=>`你和 ${e?.others} 回应了 ${e?.emoji}`,WE=(e,r={})=>{if((p??r.locale??n())==="zh")return Oit(e);return Dit(e)};var jit=()=>"Ready to Search",Nit=()=>"准备搜索",YE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Nit(e);return jit(e)};var Fit=()=>"Reasoning Support",Bit=()=>"推理支持",wp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bit(e);return Fit(e)};var Yit=()=>"Recently Deleted",Uit=()=>"最近删除",Dg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Uit(e);return Yit(e)};var qit=()=>"Items are automatically deleted after 30 days.",Hit=()=>"项目将在 30 天后自动删除。",xp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hit(e);return qit(e)};var Vit=()=>"Recently Viewed",Wit=()=>"最近浏览",Og=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wit(e);return Vit(e)};var Git=()=>"This page displays the 100 most recent files you viewed in this project.",Kit=()=>"此页面显示您最近在当前项目中查看过的 100 个文件。",JE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kit(e);return Git(e)};var Xit=()=>"Registration Disabled",Qit=()=>"注册已关闭",Jit=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qit(e);return Xit(e)};var $it=()=>"Public registration is currently disabled. You will need an invite code to join this team.",eft=()=>"公开注册目前已关闭。您需要邀请码才能加入此团队。",tft=(e={},r={})=>{if((p??r.locale??n())==="zh")return eft(e);return $it(e)};var rft=()=>"Related Assets",oft=()=>"关联资产",aft=(e={},r={})=>{if((p??r.locale??n())==="zh")return oft(e);return rft(e)};var nft=()=>"Remove",ift=()=>"移除",Cl=(e={},r={})=>{if((p??r.locale??n())==="zh")return ift(e);return nft(e)};var fft=()=>"Remove Cover",sft=()=>"移除封面",XE=(e={},r={})=>{if((p??r.locale??n())==="zh")return sft(e);return fft(e)};var lft=()=>"Remove from context",cft=()=>"从上下文中移除",eC=(e={},r={})=>{if((p??r.locale??n())==="zh")return cft(e);return lft(e)};var uft=()=>"Remove from Share",dft=()=>"从分享中移除",Sp=(e={},r={})=>{if((p??r.locale??n())==="zh")return dft(e);return uft(e)};var Zft=()=>"Remove from stack",pft=()=>"从版本堆栈中移除",mft=(e={},r={})=>{if((p??r.locale??n())==="zh")return pft(e);return Zft(e)};var hft=()=>"Remove Member",gft=()=>"移除成员",tC=(e={},r={})=>{if((p??r.locale??n())==="zh")return gft(e);return hft(e)};var Mft=(e)=>`Are you sure you want to remove ${e?.name} from this ${e?.type}? This action cannot be undone.`,vft=(e)=>`确定要从此${e?.type}中移除 ${e?.name} 吗?此操作无法撤销。`,rC=(e,r={})=>{if((p??r.locale??n())==="zh")return vft(e);return Mft(e)};var xft=()=>"Removed from share",yft=()=>"已从分享中移除",nC=(e={},r={})=>{if((p??r.locale??n())==="zh")return yft(e);return xft(e)};var bft=()=>"Rename",_ft=()=>"重命名",Fo=(e={},r={})=>{if((p??r.locale??n())==="zh")return _ft(e);return bft(e)};var wft=()=>"Rename Collection",zft=()=>"重命名媒体合集",Sft=(e={},r={})=>{if((p??r.locale??n())==="zh")return zft(e);return wft(e)};var Lft=()=>"Rename Folder",kft=()=>"重命名文件夹",Cft=(e={},r={})=>{if((p??r.locale??n())==="zh")return kft(e);return Lft(e)};var Ift=()=>"Rename Share Link",Rft=()=>"重命名分享链接",Pft=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rft(e);return Ift(e)};var Tft=()=>"Renamed successfully",Aft=()=>"重命名成功",oC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Aft(e);return Tft(e)};var Eft=()=>"Reply",Dft=()=>"回复",sC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dft(e);return Eft(e)};var Oft=()=>"Reply...",jft=()=>"回复...",iC=(e={},r={})=>{if((p??r.locale??n())==="zh")return jft(e);return Oft(e)};var Nft=(e)=>`reply to: ${e?.message}`,Fft=(e)=>`回复:${e?.message}`,aC=(e,r={})=>{if((p??r.locale??n())==="zh")return Fft(e);return Nft(e)};var Bft=()=>"Reporter / Reviewer",Yft=()=>"报告人 / 审核人",Fg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Yft(e);return Bft(e)};var Uft=()=>"Reset",qft=()=>"重置",lC=(e={},r={})=>{if((p??r.locale??n())==="zh")return qft(e);return Uft(e)};var Hft=()=>"Reset Password",Vft=()=>"重置密码",Lg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vft(e);return Hft(e)};var Wft=()=>"Enter your new password below.",Gft=()=>"请在下方输入您的新密码。",cC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Gft(e);return Wft(e)};var Kft=()=>"Resetting password...",Xft=()=>"正在重置密码...",uC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xft(e);return Kft(e)};var Qft=()=>"Resolving all files and folders. Please wait...",Jft=()=>"正在解析所有文件和文件夹,请稍候...",Zg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jft(e);return Qft(e)};var $ft=()=>"Resource Quotas",est=()=>"资源配额",Bg=(e={},r={})=>{if((p??r.locale??n())==="zh")return est(e);return $ft(e)};var tst=()=>"Manage and limit resource usage across team members, roles, and AI operations.",rst=()=>"管理并限制团队成员、角色以及 AI 操作的资源使用。",Ug=(e={},r={})=>{if((p??r.locale??n())==="zh")return rst(e);return tst(e)};var ost=()=>"Restore",ast=()=>"恢复",Ep=(e={},r={})=>{if((p??r.locale??n())==="zh")return ast(e);return ost(e)};var nst=()=>"Reviewer",ist=()=>"评审员",Us=(e={},r={})=>{if((p??r.locale??n())==="zh")return ist(e);return nst(e)};var fst=()=>"Role",sst=()=>"角色",dC=(e={},r={})=>{if((p??r.locale??n())==="zh")return sst(e);return fst(e)};var lst=()=>"Agent",cst=()=>"智能体",fC=(e={},r={})=>{if((p??r.locale??n())==="zh")return cst(e);return lst(e)};var ust=()=>"Thinking",dst=()=>"思考中",Cp=(e={},r={})=>{if((p??r.locale??n())==="zh")return dst(e);return ust(e)};var Zst=()=>"User",pst=()=>"用户",zg=(e={},r={})=>{if((p??r.locale??n())==="zh")return pst(e);return Zst(e)};var mst=()=>"Rotation",hst=()=>"旋转角度",pC=(e={},r={})=>{if((p??r.locale??n())==="zh")return hst(e);return mst(e)};var gst=()=>"Configure security and network restrictions for the AI agent.",Mst=()=>"配置 AI 智能体的安全和网络限制。",mC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mst(e);return gst(e)};var vst=()=>"Sandbox settings updated",xst=()=>"沙箱设置已更新",hC=(e={},r={})=>{if((p??r.locale??n())==="zh")return xst(e);return vst(e)};var yst=()=>"Save",bst=()=>"保存",xo=(e={},r={})=>{if((p??r.locale??n())==="zh")return bst(e);return yst(e)};var _st=()=>"Save & Send Test Email",wst=()=>"保存并发送测试邮件",gC=(e={},r={})=>{if((p??r.locale??n())==="zh")return wst(e);return _st(e)};var zst=()=>"Save as collection",Sst=()=>"保存为媒体合集",AC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Sst(e);return zst(e)};var Lst=()=>"Save Changes",kst=()=>"保存更改",zs=(e={},r={})=>{if((p??r.locale??n())==="zh")return kst(e);return Lst(e)};var Cst=()=>"Save Watermark",Ist=()=>"保存水印",_C=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ist(e);return Cst(e)};var Rst=()=>"Saved",Pst=()=>"已保存",jg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Pst(e);return Rst(e)};var Tst=()=>"Saving...",Ast=()=>"保存中...",qg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ast(e);return Tst(e)};var Est=()=>"Saving...",Dst=()=>"保存中...",Ip=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dst(e);return Est(e)};var Ost=()=>"Search",jst=()=>"搜索",yC=(e={},r={})=>{if((p??r.locale??n())==="zh")return jst(e);return Ost(e)};var Nst=()=>"Search",Fst=()=>"搜索",bC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fst(e);return Nst(e)};var Bst=()=>"Search records by content...",Yst=()=>"按内容搜索记录...",vC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Yst(e);return Bst(e)};var Ust=()=>"Search records by name...",qst=()=>"按名称搜索记录...",wC=(e={},r={})=>{if((p??r.locale??n())==="zh")return qst(e);return Ust(e)};var Hst=()=>"Search",Vst=()=>"搜索",xC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vst(e);return Hst(e)};var Wst=()=>"Search emoji",Gst=()=>"搜索表情",SC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Gst(e);return Wst(e)};var Kst=()=>"Search failed",Xst=()=>"搜索失败",Hg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xst(e);return Kst(e)};var Qst=()=>"Search fields",Jst=()=>"搜索字段",EC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jst(e);return Qst(e)};var $st=()=>"Search Item ID...",elt=()=>"搜索条目 ID...",CC=(e={},r={})=>{if((p??r.locale??n())==="zh")return elt(e);return $st(e)};var tlt=()=>"Search models by ID or name...",rlt=()=>"按 ID 或名称搜索模型...",Tp=(e={},r={})=>{if((p??r.locale??n())==="zh")return rlt(e);return tlt(e)};var olt=()=>"Search options...",alt=()=>"搜索选项...",$g=(e={},r={})=>{if((p??r.locale??n())==="zh")return alt(e);return olt(e)};var nlt=()=>"Search providers...",ilt=()=>"搜索提供商...",Gg=(e={},r={})=>{if((p??r.locale??n())==="zh")return ilt(e);return nlt(e)};var flt=()=>"Search Results",slt=()=>"搜索结果",IC=(e={},r={})=>{if((p??r.locale??n())==="zh")return slt(e);return flt(e)};var llt=()=>"Search tasks...",clt=()=>"搜索任务...",ult=(e={},r={})=>{if((p??r.locale??n())==="zh")return clt(e);return llt(e)};var dlt=()=>"Security",Zlt=()=>"安全",TC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zlt(e);return dlt(e)};var plt=()=>"Select a Team",mlt=()=>"选择团队",hlt=(e={},r={})=>{if((p??r.locale??n())==="zh")return mlt(e);return plt(e)};var glt=()=>"Select Actions",Mlt=()=>"选择操作",MC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mlt(e);return glt(e)};var vlt=()=>"Select Agent",xlt=()=>"选择智能体",Od=(e={},r={})=>{if((p??r.locale??n())==="zh")return xlt(e);return vlt(e)};var ylt=()=>"Select API Protocol",blt=()=>"选择 API 协议",Vg=(e={},r={})=>{if((p??r.locale??n())==="zh")return blt(e);return ylt(e)};var _lt=()=>"Select an asset to view details",wlt=()=>"选择资产查看详情",kC=(e={},r={})=>{if((p??r.locale??n())==="zh")return wlt(e);return _lt(e)};var zlt=()=>"Select Assets",Slt=()=>"选择资产",Llt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Slt(e);return zlt(e)};var klt=()=>"Select a block to edit its properties",Clt=()=>"选择一个水印块以编辑其属性",RC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Clt(e);return klt(e)};var Ilt=()=>"Select Current Folder",Rlt=()=>"选择当前文件夹",Plt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rlt(e);return Ilt(e)};var Tlt=()=>"Select field",Alt=()=>"选择字段",NC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Alt(e);return Tlt(e)};var Elt=()=>"Select a field to edit options",Dlt=()=>"选择一个字段以编辑选项",PC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dlt(e);return Elt(e)};var Olt=()=>"Select field type",jlt=()=>"选择字段类型",DC=(e={},r={})=>{if((p??r.locale??n())==="zh")return jlt(e);return Olt(e)};var Nlt=()=>"Select a file to view its details and comments.",Flt=()=>"选择一个文件以查看其详情和评论。",OC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Flt(e);return Nlt(e)};var Blt=()=>"Select Language",Ylt=()=>"选择语言",FC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ylt(e);return Blt(e)};var Ult=()=>"Select MCP Server",qlt=()=>"选择 MCP 服务",Qg=(e={},r={})=>{if((p??r.locale??n())==="zh")return qlt(e);return Ult(e)};var Hlt=()=>"Select Members",Vlt=()=>"选择成员",Kg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vlt(e);return Hlt(e)};var Wlt=()=>"Select Model",Glt=()=>"选择模型",LC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Glt(e);return Wlt(e)};var Klt=()=>"Select option",Xlt=()=>"选择选项",ZC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xlt(e);return Klt(e)};var Qlt=()=>"Select options...",Jlt=()=>"选择选项...",BC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jlt(e);return Qlt(e)};var $lt=()=>"Select parent tasks...",ect=()=>"选择前置任务...",tct=(e={},r={})=>{if((p??r.locale??n())==="zh")return ect(e);return $lt(e)};var rct=()=>"Select your preferred display language.",oct=()=>"选择您首选的显示语言。",UC=(e={},r={})=>{if((p??r.locale??n())==="zh")return oct(e);return rct(e)};var act=()=>"Select Project",nct=()=>"选择项目",Iq=(e={},r={})=>{if((p??r.locale??n())==="zh")return nct(e);return act(e)};var ict=()=>"Select Provider",fct=()=>"选择提供商",zC=(e={},r={})=>{if((p??r.locale??n())==="zh")return fct(e);return ict(e)};var sct=()=>"Select Target Folder",lct=()=>"选择目标文件夹",Mp=(e={},r={})=>{if((p??r.locale??n())==="zh")return lct(e);return sct(e)};var cct=()=>"You are a member of multiple teams. Please select one to continue.",uct=()=>"您是多个团队的成员,请选择一个以继续。",dct=(e={},r={})=>{if((p??r.locale??n())==="zh")return uct(e);return cct(e)};var Zct=()=>"Select template to overwrite",pct=()=>"选择要覆盖的模板",Wg=(e={},r={})=>{if((p??r.locale??n())==="zh")return pct(e);return Zct(e)};var mct=()=>"Select Tool",hct=()=>"选择工具",Yg=(e={},r={})=>{if((p??r.locale??n())==="zh")return hct(e);return mct(e)};var gct=()=>"Select type",Mct=()=>"选择类型",jC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mct(e);return gct(e)};var vct=()=>"Select User",xct=()=>"选择用户",qC=(e={},r={})=>{if((p??r.locale??n())==="zh")return xct(e);return vct(e)};var yct=()=>"Select Users",bct=()=>"选择用户",HC=(e={},r={})=>{if((p??r.locale??n())==="zh")return bct(e);return yct(e)};var _ct=()=>"Select ZIP file",wct=()=>"选择 ZIP 文件",$C=(e={},r={})=>{if((p??r.locale??n())==="zh")return wct(e);return _ct(e)};var zct=()=>"Semantic Search",Sct=()=>"语义搜索",GC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Sct(e);return zct(e)};var Lct=()=>"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.",kct=()=>"语义搜索结果将按与搜索查询文本的相关性排序,但不会严格筛选。如果需要精确筛选,请添加筛选条件来控制。",VC=(e={},r={})=>{if((p??r.locale??n())==="zh")return kct(e);return Lct(e)};var Cct=()=>"* Semantic search requires an enabled embedding agent.",Ict=()=>"* 语义搜索需要启用嵌入智能体。",QC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ict(e);return Cct(e)};var Rct=()=>"Semantic search using media intelligence might be slow...",Pct=()=>"使用媒体智能的语义搜索可能较慢...",KC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Pct(e);return Rct(e)};var Tct=()=>"Send Test Email",Act=()=>"发送测试邮件",Jg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Act(e);return Tct(e)};var Ect=()=>`Sender email address, for example: "Shumai <noreply@example.com>". Make sure to use an address you're allowed to send emails from.`,Dct=()=>"发件人邮箱地址,例如:“Shumai <noreply@example.com>”。请确保使用您有权使用的邮箱地址进行发送。",WC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dct(e);return Ect(e)};var Oct=()=>"From Address",jct=()=>"发件人地址",Xg=(e={},r={})=>{if((p??r.locale??n())==="zh")return jct(e);return Oct(e)};var Nct=()=>`Sender email address, for example: "Shumai <noreply@example.com>". Make sure to use an address you're allowed to send emails from.`,Fct=()=>"发件人邮箱地址,例如:“Shumai <noreply@example.com>”。请确保使用您有权使用的邮箱地址进行发送。",YC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fct(e);return Nct(e)};var Bct=()=>"Reply-To Address",Yct=()=>"回复地址",JC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Yct(e);return Bct(e)};var Uct=()=>"Optional address where replies to notifications should be directed.",qct=()=>"通知邮件回复时指向的可选邮箱地址。",XC=(e={},r={})=>{if((p??r.locale??n())==="zh")return qct(e);return Uct(e)};var Hct=()=>"Sender Information",Vct=()=>"发件人信息",e1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vct(e);return Hct(e)};var Wct=()=>"Session Name",Gct=()=>"会话名称",t1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Gct(e);return Wct(e)};var Kct=()=>"The session might have been initialized but has not produced any entries yet.",Xct=()=>"该会话可能已初始化但尚未产生任何条目。",r1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xct(e);return Kct(e)};var Qct=()=>"Session Type",Jct=()=>"会话类型",n1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jct(e);return Qct(e)};var $ct=()=>"Chat",eut=()=>"对话",o1=(e={},r={})=>{if((p??r.locale??n())==="zh")return eut(e);return $ct(e)};var tut=()=>"Comment",rut=()=>"评论",s1=(e={},r={})=>{if((p??r.locale??n())==="zh")return rut(e);return tut(e)};var out=()=>"Naming",aut=()=>"命名",i1=(e={},r={})=>{if((p??r.locale??n())==="zh")return aut(e);return out(e)};var nut=()=>"Sessions",iut=()=>"会话列表",eA=(e={},r={})=>{if((p??r.locale??n())==="zh")return iut(e);return nut(e)};var fut=()=>"View and inspect all agent sessions created within the team.",sut=()=>"查看并检查团队内创建的所有 Agent 会话。",a1=(e={},r={})=>{if((p??r.locale??n())==="zh")return sut(e);return fut(e)};var lut=()=>"Set Role",cut=()=>"设置角色",l1=(e={},r={})=>{if((p??r.locale??n())==="zh")return cut(e);return lut(e)};var uut=()=>"Settings",dut=()=>"设置",kp=(e={},r={})=>{if((p??r.locale??n())==="zh")return dut(e);return uut(e)};var Zut=()=>"Settings updated",put=()=>"设置已更新",tA=(e={},r={})=>{if((p??r.locale??n())==="zh")return put(e);return Zut(e)};var mut=()=>"share link",hut=()=>"分享链接",gut=(e={},r={})=>{if((p??r.locale??n())==="zh")return hut(e);return mut(e)};var Mut=()=>"Share link created",vut=()=>"分享链接已创建",xut=(e={},r={})=>{if((p??r.locale??n())==="zh")return vut(e);return Mut(e)};var yut=()=>"Share link deleted",but=()=>"分享链接已删除",_ut=(e={},r={})=>{if((p??r.locale??n())==="zh")return but(e);return yut(e)};var wut=()=>"Share link renamed",zut=()=>"分享链接已重命名",Sut=(e={},r={})=>{if((p??r.locale??n())==="zh")return zut(e);return wut(e)};var Lut=()=>"Share link status updated",kut=()=>"分享链接状态已更新",c1=(e={},r={})=>{if((p??r.locale??n())==="zh")return kut(e);return Lut(e)};var Cut=()=>"Share Links",Iut=()=>"分享链接",Rut=(e={},r={})=>{if((p??r.locale??n())==="zh")return Iut(e);return Cut(e)};var Put=()=>"Show Chatbot",Tut=()=>"显示聊天机器人",Aut=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tut(e);return Put(e)};var Eut=()=>"Shumai Agent",Dut=()=>"数脉智能体",u1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dut(e);return Eut(e)};var Out=()=>"Sign up",jut=()=>"注册",Ese=(e={},r={})=>{if((p??r.locale??n())==="zh")return jut(e);return Out(e)};var Nut=()=>"Signup failed",Fut=()=>"注册失败",But=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fut(e);return Nut(e)};var Yut=()=>"Start building and organizing your space.",Uut=()=>"开始构建和整理您的空间。",qut=(e={},r={})=>{if((p??r.locale??n())==="zh")return Uut(e);return Yut(e)};var Hut=()=>"Size:",Vut=()=>"大小:",d1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vut(e);return Hut(e)};var Wut=()=>"Permission",Gut=()=>"权限",Rp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Gut(e);return Wut(e)};var Kut=()=>"Skills",Xut=()=>"技能",rA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xut(e);return Kut(e)};var Qut=(e)=>`${e?.count} Skills`,Jut=(e)=>`${e?.count} 个技能`,f1=(e,r={})=>{if((p??r.locale??n())==="zh")return Jut(e);return Qut(e)};var $ut=()=>"Add, update and configure AI skills for the team.",edt=()=>"为团队添加、更新和配置 AI 技能。",p1=(e={},r={})=>{if((p??r.locale??n())==="zh")return edt(e);return $ut(e)};var tdt=()=>"Skills Management",rdt=()=>"技能管理",nA=(e={},r={})=>{if((p??r.locale??n())==="zh")return rdt(e);return tdt(e)};var odt=()=>"Extend your chatbot's capabilities with custom skills.",adt=()=>"使用自定义技能扩展聊天机器人的功能。",m1=(e={},r={})=>{if((p??r.locale??n())==="zh")return adt(e);return odt(e)};var ndt=()=>"SMTP Host",idt=()=>"SMTP 主机",h1=(e={},r={})=>{if((p??r.locale??n())==="zh")return idt(e);return ndt(e)};var fdt=()=>"e.g. smtp.example.com",sdt=()=>"例如 smtp.example.com",g1=(e={},r={})=>{if((p??r.locale??n())==="zh")return sdt(e);return fdt(e)};var ldt=()=>"SMTP Host is required",cdt=()=>"必须提供 SMTP 主机",A1=(e={},r={})=>{if((p??r.locale??n())==="zh")return cdt(e);return ldt(e)};var udt=()=>"Ignore Certificate Errors",ddt=()=>"忽略证书错误",_1=(e={},r={})=>{if((p??r.locale??n())==="zh")return ddt(e);return udt(e)};var Zdt=()=>"Allow self-signed or unverified SSL/TLS certificates.",pdt=()=>"允许自签名或未验证的 SSL/TLS 证书。",y1=(e={},r={})=>{if((p??r.locale??n())==="zh")return pdt(e);return Zdt(e)};var mdt=()=>"Password",hdt=()=>"密码",b1=(e={},r={})=>{if((p??r.locale??n())==="zh")return hdt(e);return mdt(e)};var gdt=()=>"•••••••• (Leave blank to keep current)",Mdt=()=>"••••••••(留空以保持当前密码)",v1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mdt(e);return gdt(e)};var vdt=()=>"Enter SMTP password",xdt=()=>"输入 SMTP 密码",w1=(e={},r={})=>{if((p??r.locale??n())==="zh")return xdt(e);return vdt(e)};var ydt=()=>"SMTP Port",bdt=()=>"SMTP 端口",x1=(e={},r={})=>{if((p??r.locale??n())==="zh")return bdt(e);return ydt(e)};var _dt=()=>"SSL / TLS (SMTPS)",wdt=()=>"SSL / TLS (SMTPS)",S1=(e={},r={})=>{if((p??r.locale??n())==="zh")return wdt(e);return _dt(e)};var zdt=()=>"Connect directly over SSL/TLS (commonly used with port 465).",Sdt=()=>"直接使用 SSL/TLS 连接(通常用于 465 端口)。",E1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Sdt(e);return zdt(e)};var Ldt=()=>"SMTP Server Settings",kdt=()=>"SMTP 服务器设置",C1=(e={},r={})=>{if((p??r.locale??n())==="zh")return kdt(e);return Ldt(e)};var Cdt=()=>"Username",Idt=()=>"用户名",I1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Idt(e);return Cdt(e)};var Rdt=()=>"e.g. user@example.com",Pdt=()=>"例如 user@example.com",T1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Pdt(e);return Rdt(e)};var Tdt=()=>"Some downloads could not be started",Adt=()=>"部分下载无法启动",Edt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Adt(e);return Tdt(e)};var Ddt=()=>"A → Z",Odt=()=>"A → Z",qc=(e={},r={})=>{if((p??r.locale??n())==="zh")return Odt(e);return Ddt(e)};var jdt=()=>"Sort by",Ndt=()=>"排序",Il=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ndt(e);return jdt(e)};var Fdt=()=>"Created",Bdt=()=>"创建时间",M1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bdt(e);return Fdt(e)};var Ydt=()=>"Custom",Udt=()=>"自定义",Np=(e={},r={})=>{if((p??r.locale??n())==="zh")return Udt(e);return Ydt(e)};var qdt=()=>"Date Created",Hdt=()=>"创建日期",Pp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hdt(e);return qdt(e)};var Vdt=()=>"Date Modified",Wdt=()=>"修改日期",k1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wdt(e);return Vdt(e)};var Gdt=()=>"Largest → Smallest",Kdt=()=>"最大 → 最小",Dp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kdt(e);return Gdt(e)};var Xdt=()=>"Name",Qdt=()=>"名称",Tl=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qdt(e);return Xdt(e)};var Jdt=()=>"Newest → Oldest",$dt=()=>"最新 → 最旧",Hc=(e={},r={})=>{if((p??r.locale??n())==="zh")return $dt(e);return Jdt(e)};var eZt=()=>"Oldest → Newest",tZt=()=>"最旧 → 最新",$c=(e={},r={})=>{if((p??r.locale??n())==="zh")return tZt(e);return eZt(e)};var rZt=()=>"Size",oZt=()=>"大小",Op=(e={},r={})=>{if((p??r.locale??n())==="zh")return oZt(e);return rZt(e)};var aZt=()=>"Smallest → Largest",nZt=()=>"最小 → 最大",Fp=(e={},r={})=>{if((p??r.locale??n())==="zh")return nZt(e);return aZt(e)};var iZt=()=>"Updated",fZt=()=>"更新时间",R1=(e={},r={})=>{if((p??r.locale??n())==="zh")return fZt(e);return iZt(e)};var sZt=()=>"Z → A",lZt=()=>"Z → A",Gc=(e={},r={})=>{if((p??r.locale??n())==="zh")return lZt(e);return sZt(e)};var cZt=(e)=>`Sorted by ${e?.field}`,uZt=(e)=>`按${e?.field}排序`,N1=(e,r={})=>{if((p??r.locale??n())==="zh")return uZt(e);return cZt(e)};var dZt=()=>"Sorted by",ZZt=()=>"排序方式",P1=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZZt(e);return dZt(e)};var pZt=()=>"Standard Time",mZt=()=>"标准时间",D1=(e={},r={})=>{if((p??r.locale??n())==="zh")return mZt(e);return pZt(e)};var hZt=()=>"Start Date",gZt=()=>"开始日期",Fd=(e={},r={})=>{if((p??r.locale??n())==="zh")return gZt(e);return hZt(e)};var MZt=()=>"Start Download",vZt=()=>"开始下载",oA=(e={},r={})=>{if((p??r.locale??n())==="zh")return vZt(e);return MZt(e)};var xZt=(e)=>`Starting download of ${e?.count} files. Please allow multiple downloads if prompted by your browser.`,yZt=(e)=>`正在开始下载 ${e?.count} 个文件。如果浏览器提示,请允许多个下载。`,bZt=(e,r={})=>{if((p??r.locale??n())==="zh")return yZt(e);return xZt(e)};var _Zt=()=>"Blocked",wZt=()=>"已受阻",sA=(e={},r={})=>{if((p??r.locale??n())==="zh")return wZt(e);return _Zt(e)};var zZt=()=>"Done",SZt=()=>"已完成",LZt=(e={},r={})=>{if((p??r.locale??n())==="zh")return SZt(e);return zZt(e)};var kZt=()=>"In Progress",CZt=()=>"进行中",IZt=(e={},r={})=>{if((p??r.locale??n())==="zh")return CZt(e);return kZt(e)};var RZt=()=>"In Review",PZt=()=>"审核中",TZt=(e={},r={})=>{if((p??r.locale??n())==="zh")return PZt(e);return RZt(e)};var AZt=()=>"Ready",EZt=()=>"就绪",DZt=(e={},r={})=>{if((p??r.locale??n())==="zh")return EZt(e);return AZt(e)};var OZt=()=>"To Do",jZt=()=>"待办",NZt=(e={},r={})=>{if((p??r.locale??n())==="zh")return jZt(e);return OZt(e)};var FZt=()=>"Status Updates",BZt=()=>"状态更新",O1=(e={},r={})=>{if((p??r.locale??n())==="zh")return BZt(e);return FZt(e)};var YZt=()=>"Switch version",UZt=()=>"切换版本",Ld=(e={},r={})=>{if((p??r.locale??n())==="zh")return UZt(e);return YZt(e)};var qZt=()=>"Sync Providers",HZt=()=>"同步提供商",F1=(e={},r={})=>{if((p??r.locale??n())==="zh")return HZt(e);return qZt(e)};var VZt=(e)=>`Add Selected (${e?.count})`,WZt=(e)=>`添加所选 (${e?.count})`,L1=(e,r={})=>{if((p??r.locale??n())==="zh")return WZt(e);return VZt(e)};var GZt=()=>"Adding...",KZt=()=>"正在添加...",Z1=(e={},r={})=>{if((p??r.locale??n())==="zh")return KZt(e);return GZt(e)};var XZt=()=>"Checking for updates...",QZt=()=>"正在检查更新...",B1=(e={},r={})=>{if((p??r.locale??n())==="zh")return QZt(e);return XZt(e)};var JZt=()=>"Collapse All",$Zt=()=>"全部折叠",U1=(e={},r={})=>{if((p??r.locale??n())==="zh")return $Zt(e);return JZt(e)};var ept=(e)=>`${e?.count}k ctx`,tpt=(e)=>`${e?.count}k 上下文`,z1=(e,r={})=>{if((p??r.locale??n())==="zh")return tpt(e);return ept(e)};var rpt=()=>"Deselect All",opt=()=>"取消全选",j1=(e={},r={})=>{if((p??r.locale??n())==="zh")return opt(e);return rpt(e)};var apt=()=>"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.",npt=()=>"选择您希望添加的新提供商和模型。现有的提供商、自定义端点、API 密钥和模型配置绝不会被删除或修改。",q1=(e={},r={})=>{if((p??r.locale??n())==="zh")return npt(e);return apt(e)};var ipt=()=>"Sync Providers & Models",fpt=()=>"同步提供商与模型",H1=(e={},r={})=>{if((p??r.locale??n())==="zh")return fpt(e);return ipt(e)};var spt=()=>"Existing Provider",lpt=()=>"现有提供商",$1=(e={},r={})=>{if((p??r.locale??n())==="zh")return lpt(e);return spt(e)};var cpt=()=>"Expand All",upt=()=>"全部展开",G1=(e={},r={})=>{if((p??r.locale??n())==="zh")return upt(e);return cpt(e)};var dpt=(e)=>`${e?.count} new models`,Zpt=(e)=>`${e?.count} 个新模型`,V1=(e,r={})=>{if((p??r.locale??n())==="zh")return Zpt(e);return dpt(e)};var ppt=()=>"New Provider",mpt=()=>"新提供商",Q1=(e={},r={})=>{if((p??r.locale??n())==="zh")return mpt(e);return ppt(e)};var hpt=()=>"reasoning",gpt=()=>"深度思考",K1=(e={},r={})=>{if((p??r.locale??n())==="zh")return gpt(e);return hpt(e)};var Mpt=()=>"Filter new providers or models...",vpt=()=>"筛选新提供商或模型...",W1=(e={},r={})=>{if((p??r.locale??n())==="zh")return vpt(e);return Mpt(e)};var xpt=()=>"Select All",ypt=()=>"全选",Y1=(e={},r={})=>{if((p??r.locale??n())==="zh")return ypt(e);return xpt(e)};var bpt=(e)=>`${e?.modelCount} models selected across ${e?.providerCount} providers`,_pt=(e)=>`已选 ${e?.modelCount} 个模型,分布在 ${e?.providerCount} 个提供商中`,J1=(e,r={})=>{if((p??r.locale??n())==="zh")return _pt(e);return bpt(e)};var wpt=(e)=>`Successfully added ${e?.modelCount} models across ${e?.providerCount} providers.`,zpt=(e)=>`已成功添加 ${e?.providerCount} 个提供商中的 ${e?.modelCount} 个模型。`,X1=(e,r={})=>{if((p??r.locale??n())==="zh")return zpt(e);return wpt(e)};var Spt=()=>"All providers and models are already up to date.",Lpt=()=>"所有提供商和模型均已是最新状态。",eI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lpt(e);return Spt(e)};var kpt=()=>"System",Cpt=()=>"跟随系统",Ipt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cpt(e);return kpt(e)};var Rpt=()=>"Target Folder",Ppt=()=>"目标文件夹",Lp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ppt(e);return Rpt(e)};var Tpt=()=>"Task created",Apt=()=>"任务已创建",tI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Apt(e);return Tpt(e)};var Ept=()=>"Task deleted successfully",Dpt=()=>"任务已成功删除",rI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dpt(e);return Ept(e)};var Opt=()=>"Description",jpt=()=>"任务描述",iA=(e={},r={})=>{if((p??r.locale??n())==="zh")return jpt(e);return Opt(e)};var Npt=()=>"Add details, acceptance criteria, or context...",Fpt=()=>"添加详细说明、验收标准或背景信息...",aA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fpt(e);return Npt(e)};var Bpt=()=>"Priority",Ypt=()=>"优先级",lA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ypt(e);return Bpt(e)};var Upt=()=>"Task Title",qpt=()=>"任务标题",cA=(e={},r={})=>{if((p??r.locale??n())==="zh")return qpt(e);return Upt(e)};var Hpt=()=>"What needs to be done?",Vpt=()=>"需要完成什么任务?",uA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vpt(e);return Hpt(e)};var Wpt=()=>"Agent Task",Gpt=()=>"智能体任务",Zd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Gpt(e);return Wpt(e)};var Kpt=()=>"Executed autonomously by an AI agent",Xpt=()=>"由 AI 智能体自主执行",dA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xpt(e);return Kpt(e)};var Qpt=()=>"team",Jpt=()=>"团队",Bd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jpt(e);return Qpt(e)};var $pt=()=>"Team Attributes",emt=()=>"团队属性",nI=(e={},r={})=>{if((p??r.locale??n())==="zh")return emt(e);return $pt(e)};var tmt=()=>"Team",rmt=()=>"团队",oI=(e={},r={})=>{if((p??r.locale??n())==="zh")return rmt(e);return tmt(e)};var omt=()=>"Team Member",amt=()=>"团队成员",Zp=(e={},r={})=>{if((p??r.locale??n())==="zh")return amt(e);return omt(e)};var nmt=()=>"Team Members",imt=()=>"团队成员",sI=(e={},r={})=>{if((p??r.locale??n())==="zh")return imt(e);return nmt(e)};var fmt=()=>"Team Settings",smt=()=>"团队设置",iI=(e={},r={})=>{if((p??r.locale??n())==="zh")return smt(e);return fmt(e)};var lmt=()=>"Team Tasks",cmt=()=>"团队任务",aI=(e={},r={})=>{if((p??r.locale??n())==="zh")return cmt(e);return lmt(e)};var umt=()=>"Team",dmt=()=>"团队",lI=(e={},r={})=>{if((p??r.locale??n())==="zh")return dmt(e);return umt(e)};var Zmt=()=>"Template deleted successfully",pmt=()=>"模板删除成功",cI=(e={},r={})=>{if((p??r.locale??n())==="zh")return pmt(e);return Zmt(e)};var mmt=()=>"Template Name",hmt=()=>"模板名称",uI=(e={},r={})=>{if((p??r.locale??n())==="zh")return hmt(e);return mmt(e)};var gmt=()=>"Template saved successfully",Mmt=()=>"模板保存成功",dI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mmt(e);return gmt(e)};var vmt=()=>"Template updated successfully",xmt=()=>"模板更新成功",fI=(e={},r={})=>{if((p??r.locale??n())==="zh")return xmt(e);return vmt(e)};var ymt=()=>"Test email sent successfully",bmt=()=>"测试邮件发送成功",pI=(e={},r={})=>{if((p??r.locale??n())==="zh")return bmt(e);return ymt(e)};var _mt=()=>"Text Content",wmt=()=>"文本内容",mI=(e={},r={})=>{if((p??r.locale??n())==="zh")return wmt(e);return _mt(e)};var zmt=()=>"Theme",Smt=()=>"主题",Lmt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Smt(e);return zmt(e)};var kmt=()=>"Disable",Cmt=()=>"禁用",hI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cmt(e);return kmt(e)};var Imt=()=>"High",Rmt=()=>"高",gI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rmt(e);return Imt(e)};var Pmt=()=>"Thinking Level",Tmt=()=>"思考级别",AI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tmt(e);return Pmt(e)};var Amt=()=>"Low",Emt=()=>"低",_I=(e={},r={})=>{if((p??r.locale??n())==="zh")return Emt(e);return Amt(e)};var Dmt=()=>"Medium",Omt=()=>"中",yI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Omt(e);return Dmt(e)};var jmt=()=>"Thinking...",Nmt=()=>"思考中...",bI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Nmt(e);return jmt(e)};var Fmt=()=>"This folder is empty",Bmt=()=>"此文件夹为空",Bp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bmt(e);return Fmt(e)};var Ymt=()=>"Auto",Umt=()=>"自动",fA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Umt(e);return Ymt(e)};var qmt=(e)=>`${e?.count} threads`,Hmt=(e)=>`${e?.count} 线程`,vI=(e,r={})=>{if((p??r.locale??n())==="zh")return Hmt(e);return qmt(e)};var Vmt=()=>"Timecode",Wmt=()=>"时间码",wI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wmt(e);return Vmt(e)};var Gmt=()=>"Timestamp",Kmt=()=>"时间戳",xI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kmt(e);return Gmt(e)};var Xmt=()=>"Today",Qmt=()=>"今天",Dse=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qmt(e);return Xmt(e)};var Jmt=(e)=>`Today ${e?.time}`,$mt=(e)=>`今天 ${e?.time}`,eht=(e,r={})=>{if((p??r.locale??n())==="zh")return $mt(e);return Jmt(e)};var tht=()=>"Toggle Annotation",rht=()=>"切换标注",SI=(e={},r={})=>{if((p??r.locale??n())==="zh")return rht(e);return tht(e)};var oht=()=>"Checked",aht=()=>"已选中",EI=(e={},r={})=>{if((p??r.locale??n())==="zh")return aht(e);return oht(e)};var nht=()=>"Unchecked",iht=()=>"未选中",CI=(e={},r={})=>{if((p??r.locale??n())==="zh")return iht(e);return nht(e)};var fht=()=>"Token",sht=()=>"令牌",II=(e={},r={})=>{if((p??r.locale??n())==="zh")return sht(e);return fht(e)};var lht=()=>"Token Name",cht=()=>"令牌名称",TI=(e={},r={})=>{if((p??r.locale??n())==="zh")return cht(e);return lht(e)};var uht=()=>"e.g. My CLI token",dht=()=>"例如:我的 CLI 令牌",MI=(e={},r={})=>{if((p??r.locale??n())==="zh")return dht(e);return uht(e)};var Zht=()=>"tokens",pht=()=>"令牌",pA=(e={},r={})=>{if((p??r.locale??n())==="zh")return pht(e);return Zht(e)};var mht=()=>"Arguments",hht=()=>"参数",Up=(e={},r={})=>{if((p??r.locale??n())==="zh")return hht(e);return mht(e)};var ght=()=>"Parameters",Mht=()=>"参数列表",kI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mht(e);return ght(e)};var vht=(e)=>`Tool Result: ${e?.name}`,xht=(e)=>`工具结果:${e?.name}`,zp=(e,r={})=>{if((p??r.locale??n())==="zh")return xht(e);return vht(e)};var yht=()=>"Total Tokens",bht=()=>"总 Token",mA=(e={},r={})=>{if((p??r.locale??n())==="zh")return bht(e);return yht(e)};var _ht=()=>"Manage your team's media transcoding configurations.",wht=()=>"管理团队的媒体转码配置。",hA=(e={},r={})=>{if((p??r.locale??n())==="zh")return wht(e);return _ht(e)};var zht=()=>"Transcode Settings",Sht=()=>"转码设置",RI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Sht(e);return zht(e)};var Lht=()=>"Strategy: We select the best resolution from your list that supports the input quality. Content is never upscaled.",kht=()=>"策略:我们会从您的列表中选择支持输入质量的最佳分辨率。内容不会被放大。",NI=(e={},r={})=>{if((p??r.locale??n())==="zh")return kht(e);return Lht(e)};var Cht=()=>"Trash emptied successfully",Iht=()=>"回收站已清空",PI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Iht(e);return Cht(e)};var Rht=(e)=>`Try adjusting your search for "${e?.query}"`,Pht=(e)=>`请尝试调整搜索 "${e?.query}"`,DI=(e,r={})=>{if((p??r.locale??n())==="zh")return Pht(e);return Rht(e)};var Tht=()=>"Try adjusting spelling or removing filter rows.",Aht=()=>"请尝试调整拼写或移除筛选条件。",OI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Aht(e);return Tht(e)};var Eht=()=>"Type a message...",Dht=()=>"输入消息...",FI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dht(e);return Eht(e)};var Oht=()=>"Type **delete** to confirm:",jht=()=>"输入 **delete** 以确认:",LI=(e={},r={})=>{if((p??r.locale??n())==="zh")return jht(e);return Oht(e)};var Nht=()=>"Type:",Fht=()=>"类型:",ZI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fht(e);return Nht(e)};var Bht=()=>"Type your query above and click the Search button to display results.",Yht=()=>"在上方输入查询内容并点击搜索按钮以显示结果。",BI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Yht(e);return Bht(e)};var Uht=()=>"Unassigned",qht=()=>"未指派",gs=(e={},r={})=>{if((p??r.locale??n())==="zh")return qht(e);return Uht(e)};var Hht=()=>"Unknown",Vht=()=>"未知",gn=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vht(e);return Hht(e)};var Wht=()=>"unknown asset",Ght=()=>"未知资源",Kht=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ght(e);return Wht(e)};var Xht=()=>"Unknown Date",Qht=()=>"未知日期",Jht=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qht(e);return Xht(e)};var $ht=()=>"unknown project",egt=()=>"未知项目",tgt=(e={},r={})=>{if((p??r.locale??n())==="zh")return egt(e);return $ht(e)};var rgt=()=>"unknown task",ogt=()=>"未知任务",agt=(e={},r={})=>{if((p??r.locale??n())==="zh")return ogt(e);return rgt(e)};var ngt=()=>"unknown team",igt=()=>"未知团队",fgt=(e={},r={})=>{if((p??r.locale??n())==="zh")return igt(e);return ngt(e)};var sgt=()=>"Unknown User",lgt=()=>"未知用户",Ml=(e={},r={})=>{if((p??r.locale??n())==="zh")return lgt(e);return sgt(e)};var cgt=()=>"Unlink Asset",ugt=()=>"取消关联资产",dgt=(e={},r={})=>{if((p??r.locale??n())==="zh")return ugt(e);return cgt(e)};var Zgt=()=>"Unlink Task",pgt=()=>"取消关联",mgt=(e={},r={})=>{if((p??r.locale??n())==="zh")return pgt(e);return Zgt(e)};var hgt=()=>"Unread",ggt=()=>"未读",Mgt=(e={},r={})=>{if((p??r.locale??n())==="zh")return ggt(e);return hgt(e)};var vgt=()=>"Untitled Collection",xgt=()=>"未命名媒体合集",gA=(e={},r={})=>{if((p??r.locale??n())==="zh")return xgt(e);return vgt(e)};var ygt=()=>"Untitled Session",bgt=()=>"未命名会话",jp=(e={},r={})=>{if((p??r.locale??n())==="zh")return bgt(e);return ygt(e)};var _gt=()=>"Untitled Upload",wgt=()=>"未命名上传",zgt=(e={},r={})=>{if((p??r.locale??n())==="zh")return wgt(e);return _gt(e)};var Sgt=()=>"Updated",Lgt=()=>"更新于",UI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lgt(e);return Sgt(e)};var kgt=()=>"Updated",Cgt=()=>"更新于",AA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cgt(e);return kgt(e)};var Igt=()=>"Upload",Rgt=()=>"上传",zI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rgt(e);return Igt(e)};var Pgt=()=>"Upload cover",Tgt=()=>"上传封面",jI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tgt(e);return Pgt(e)};var Agt=()=>"Drag and drop, or browse. Recommended 1:1 (400×400px).",Egt=()=>"拖放或浏览文件。推荐比例 1:1(400×400像素)。",qI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Egt(e);return Agt(e)};var Dgt=()=>"Upload File",Ogt=()=>"上传文件",qp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ogt(e);return Dgt(e)};var jgt=()=>"Upload Folder",Ngt=()=>"上传文件夹",Hp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ngt(e);return jgt(e)};var Fgt=()=>"Upload Image",Bgt=()=>"上传图片",$p=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bgt(e);return Fgt(e)};var Ygt=()=>"Upload Watermark Image",Ugt=()=>"上传水印图片",HI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ugt(e);return Ygt(e)};var qgt=()=>"Drag and drop, or browse. Max 1MB.",Hgt=()=>"拖放或浏览文件。最大 1MB。",$I=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hgt(e);return qgt(e)};var Vgt=()=>"Uploading...",Wgt=()=>"上传中...",Vc=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wgt(e);return Vgt(e)};var Ggt=()=>"Uploading",Kgt=()=>"上传中",Xgt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kgt(e);return Ggt(e)};var Qgt=()=>"Uploads",Jgt=()=>"上传管理",$gt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jgt(e);return Qgt(e)};var eMt=()=>"Usage",tMt=()=>"用量",GI=(e={},r={})=>{if((p??r.locale??n())==="zh")return tMt(e);return eMt(e)};var rMt=()=>"User",oMt=()=>"用户",VI=(e={},r={})=>{if((p??r.locale??n())==="zh")return oMt(e);return rMt(e)};var aMt=(e)=>`${e?.user} via ${e?.agent}`,nMt=(e)=>`${e?.user} 通过 ${e?.agent}`,Qc=(e,r={})=>{if((p??r.locale??n())==="zh")return nMt(e);return aMt(e)};var iMt=()=>"Variable Name",fMt=()=>"变量名称",QI=(e={},r={})=>{if((p??r.locale??n())==="zh")return fMt(e);return iMt(e)};var sMt=(e)=>`Version ${e?.version}`,lMt=(e)=>`版本 ${e?.version}`,cMt=(e,r={})=>{if((p??r.locale??n())==="zh")return lMt(e);return sMt(e)};var uMt=()=>"Version removed from stack",dMt=()=>"已从版本堆栈中移除版本",ZMt=(e={},r={})=>{if((p??r.locale??n())==="zh")return dMt(e);return uMt(e)};var pMt=()=>"Version order updated",mMt=()=>"版本顺序已更新",hMt=(e={},r={})=>{if((p??r.locale??n())==="zh")return mMt(e);return pMt(e)};var gMt=(e)=>`${e?.count} enabled`,MMt=(e)=>`${e?.count} 个已启用`,KI=(e,r={})=>{if((p??r.locale??n())==="zh")return MMt(e);return gMt(e)};var vMt=()=>"Video Strategy",xMt=()=>"视频策略",WI=(e={},r={})=>{if((p??r.locale??n())==="zh")return xMt(e);return vMt(e)};var yMt=(e)=>`(${e?.count} visible)`,bMt=(e)=>`(${e?.count} 个可见)`,YI=(e,r={})=>{if((p??r.locale??n())==="zh")return bMt(e);return yMt(e)};var _Mt=()=>"Watermark",wMt=()=>"水印",_A=(e={},r={})=>{if((p??r.locale??n())==="zh")return wMt(e);return _Mt(e)};var zMt=()=>"Watermark disabled",SMt=()=>"水印已禁用",JI=(e={},r={})=>{if((p??r.locale??n())==="zh")return SMt(e);return zMt(e)};var LMt=()=>"Watermark Editor",kMt=()=>"水印编辑器",XI=(e={},r={})=>{if((p??r.locale??n())==="zh")return kMt(e);return LMt(e)};var CMt=()=>"Templates",IMt=()=>"水印模板",eT=(e={},r={})=>{if((p??r.locale??n())==="zh")return IMt(e);return CMt(e)};var RMt=()=>"Transcoding watermark media...",PMt=()=>"水印媒体转码处理中...",tT=(e={},r={})=>{if((p??r.locale??n())==="zh")return PMt(e);return RMt(e)};var TMt=()=>"Watermark updated successfully",AMt=()=>"水印更新成功",rT=(e={},r={})=>{if((p??r.locale??n())==="zh")return AMt(e);return TMt(e)};var EMt=()=>"Welcome Back",DMt=()=>"欢迎回来",OMt=(e={},r={})=>{if((p??r.locale??n())==="zh")return DMt(e);return EMt(e)};var jMt=()=>"When someone comments on a task",NMt=()=>"当有人在任务中发表评论时",nT=(e={},r={})=>{if((p??r.locale??n())==="zh")return NMt(e);return jMt(e)};var FMt=()=>"When tasks are created, assigned, updated, or deleted",BMt=()=>"当任务被创建、分配、更新或删除时",oT=(e={},r={})=>{if((p??r.locale??n())==="zh")return BMt(e);return FMt(e)};var YMt=()=>"When other users upload assets",UMt=()=>"当其他用户上传素材时",sT=(e={},r={})=>{if((p??r.locale??n())==="zh")return UMt(e);return YMt(e)};var qMt=()=>"When someone changes an asset's status",HMt=()=>"当有人更改素材的状态时",iT=(e={},r={})=>{if((p??r.locale??n())==="zh")return HMt(e);return qMt(e)};var VMt=()=>"When someone comments on an asset",WMt=()=>"当有人评论素材时",aT=(e={},r={})=>{if((p??r.locale??n())==="zh")return WMt(e);return VMt(e)};var GMt=()=>"When someone @mentions you in a comment",KMt=()=>"当有人在评论中 @提及你时",lT=(e={},r={})=>{if((p??r.locale??n())==="zh")return KMt(e);return GMt(e)};var XMt=()=>"When someone replies to your comment",QMt=()=>"当有人回复你的评论时",cT=(e={},r={})=>{if((p??r.locale??n())==="zh")return QMt(e);return XMt(e)};var JMt=()=>"When you upload assets",$Mt=()=>"当你上传素材时",uT=(e={},r={})=>{if((p??r.locale??n())==="zh")return $Mt(e);return JMt(e)};var evt=()=>"Yesterday",tvt=()=>"昨天",Ose=(e={},r={})=>{if((p??r.locale??n())==="zh")return tvt(e);return evt(e)};var rvt=(e)=>`Yesterday ${e?.time}`,ovt=(e)=>`昨天 ${e?.time}`,avt=(e,r={})=>{if((p??r.locale??n())==="zh")return ovt(e);return rvt(e)};var nvt=()=>"Your Uploads",ivt=()=>"你的上传",dT=(e={},r={})=>{if((p??r.locale??n())==="zh")return ivt(e);return nvt(e)};var fvt=()=>"Zoom In",svt=()=>"放大",Gp=(e={},r={})=>{if((p??r.locale??n())==="zh")return svt(e);return fvt(e)};var lvt=()=>"Zoom Out",cvt=()=>"缩小",Vp=(e={},r={})=>{if((p??r.locale??n())==="zh")return cvt(e);return lvt(e)};var uvt=(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 jse(){let{clearAuth:e}=pf(),r=hs(),a=(g)=>{if(!g)return"";switch(g.toLowerCase()){case"owner":return jc();case"editor":return Zs();case"reviewer":return Us();default:return g}},{data:i}=Z({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:s,theme:l}=wte(),c=ke(),d=async()=>{await $fe(),e(),c({to:"/login"})},m=(g)=>{if(!g)return"U";let M=g.split(" ");if(M.length>1)return`${M[0][0]}${M[M.length-1][0]}`.toUpperCase();return g.substring(0,2).toUpperCase()};return o(he,{children:[t(ge,{asChild:!0,children:o(Ce,{className:"rounded-lg w-10 h-10 cursor-pointer",children:[i?.image&&t(Ie,{src:i.image,alt:i.name,className:"object-cover rounded-lg w-10 h-10"}),t(Te,{className:"rounded-lg bg-primary/40 text-foreground",children:m(i?.name)})]})}),o(Ae,{className:"w-56",align:"end",forceMount:!0,children:[i&&o(L,{children:[t(Vr,{className:"font-normal",children:o("div",{className:"flex flex-col space-y-1",children:[t("p",{className:"text-sm font-medium leading-none",children:i.name}),t("p",{className:"text-xs leading-none text-muted-foreground",children:a(i.role)})]})}),t(Vt,{})]}),o(fs,{children:[t(ps,{children:Lmt()}),t(Xi,{children:o(ms,{children:[o(W,{className:"justify-between flex items-center",onClick:()=>s("light"),children:[t("span",{children:UVe()}),l==="light"&&t(Re,{className:"size-4"})]}),o(W,{className:"justify-between flex items-center",onClick:()=>s("dark"),children:[t("span",{children:OFe()}),l==="dark"&&t(Re,{className:"size-4"})]}),o(W,{className:"justify-between flex items-center",onClick:()=>s("system"),children:[t("span",{children:Ipt()}),l==="system"&&t(Re,{className:"size-4"})]})]})})]}),t(Vt,{}),t(W,{onClick:()=>c({to:"/teams/$teamId/settings",params:{teamId:r}}),disabled:!r,children:kp()}),t(Vt,{}),t(W,{className:"text-red-500 focus:text-red-500",onClick:d,children:mWe()}),t(Vt,{}),o(W,{className:"text-xs text-muted-foreground flex items-center gap-2 cursor-pointer focus:bg-accent focus:text-accent-foreground justify-center bg-accent border",onClick:()=>window.open("https://github.com/shumaiOne/shumai","_blank","noopener,noreferrer"),children:[t(uvt,{className:"size-3.5"}),t("span",{children:cMt({version:ese})})]})]})]})}var Gz=()=>null,Nse=({children:e,hideMobileButton:r=!1,defaultMobileContent:a})=>{let{isMobileMenuOpen:i,activeItem:s,setActiveItem:l,toggleMobileMenu:c,closeMobileMenu:d}=Hk(),m=tz({select:(j)=>j.location.pathname}),g=P(()=>Jl.toArray(e).filter((j)=>ts(j)&&j.type===Gz),[e]),M=b(m);h(()=>{if(M.current!==m)M.current=m,d()},[m,d]);let v=s!==null?g[s]?.props:null,y=v??(i?a:null),x=Boolean(v||i&&a),_=(j)=>{let U=g[j];if(!U.props.children){l(null),U.props.onItemClick?.();return}if(s===j)l(null);else{if(U&&U.props.onItemClick)U.props.onItemClick();l(j)}};return o(L,{children:[!r&&t(E,{variant:"ghost",size:"icon",onClick:c,className:"md:hidden fixed top-4 left-4 z-50 rounded-md bg-sidebar/50 backdrop-blur-sm text-sidebar-foreground focus:outline-none focus-visible:ring-2 focus-visible:ring-sidebar-ring","aria-label":"Open navigation menu","aria-expanded":i,children:t(KZ,{})}),i&&t("div",{onClick:d,className:"fixed inset-0 bg-black/60 z-30 md:hidden","aria-hidden":"true"}),s!==null&&t("div",{onClick:()=>l(null),className:"hidden md:block fixed inset-0 bg-black/20 z-30","aria-hidden":"true"}),o("aside",{className:`fixed inset-y-0 left-0 z-40 flex transition-transform duration-300 ease-in-out ${i?"translate-x-0":"-translate-x-full"} md:translate-x-0`,children:[t("div",{className:"absolute bottom-0 w-full h-[70dvh] bg-linear-to-t from-sidebar-primary/10 to-transparent"}),o("nav",{className:"w-16 bg-card border-r border-sidebar-border flex flex-col items-center pb-4 pt-0 space-y-2 flex-shrink-0",children:[t("div",{className:"flex-1 w-full flex flex-col items-center gap-5 pt-1",children:t(fn,{children:g.map((j,U)=>{let T=Boolean(j.props.active||s===U);return o(pn,{children:[t(mn,{asChild:!0,children:o(E,{variant:"ghost",size:"icon-lg",onClick:()=>_(U),"aria-label":j.props.label,"aria-expanded":s===U,className:`relative w-12 h-12 [&_svg:not([class*='size-'])]:size-6 transition-colors duration-200 ${T?"text-sidebar-primary hover:bg-sidebar-accent hover:text-sidebar-primary":"text-sidebar-foreground/60 hover:text-sidebar-foreground hover:bg-sidebar-accent"}`,children:[j.props.icon,j.props.badge]})}),t(hn,{side:"right",children:t("p",{children:j.props.label})})]},j.props.label)})})}),t("div",{className:"mt-auto w-full flex flex-col items-center pb-2",children:t(jse,{})})]}),t("div",{className:C("transition-all duration-300 ease-in-out bg-sidebar/95 backdrop-blur-sm shadow-lg overflow-hidden",x?"w-[calc(100vw-4rem)] border-r border-sidebar-border":"w-0",v?"md:w-100 md:border-r md:border-sidebar-border":"md:w-0 md:border-r-0"),children:t("div",{className:"w-[calc(100vw-4rem)] md:w-100 h-full flex flex-col",children:y&&o(L,{children:[o("header",{className:"h-16 flex items-center justify-between px-4 font-bold text-lg border-b border-sidebar-border flex-shrink-0",children:[t("h2",{className:"truncate",children:y.label}),t(E,{variant:"ghost",size:"icon",onClick:d,className:"h-8 w-8 text-sidebar-foreground hover:bg-sidebar-accent","aria-label":"Close navigation menu",children:t(Ne,{className:"h-5 w-5"})})]}),t("div",{className:"flex-1 overflow-y-auto p-2",children:y.children})]})})})]})]})};function Je({...e}){return t(mke,{"data-slot":"alert-dialog",...e})}function dvt({...e}){return t(hke,{"data-slot":"alert-dialog-portal",...e})}function Zvt({className:e,...r}){return t(gke,{"data-slot":"alert-dialog-overlay",className:C("fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",e),...r})}function Xe({className:e,size:r="default",...a}){return o(dvt,{children:[t(Zvt,{}),t(Mke,{"data-slot":"alert-dialog-content","data-size":r,className:C("group/alert-dialog-content fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg duration-200 data-[size=sm]:max-w-xs data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[size=default]:sm:max-w-lg",e),...a})]})}function et({className:e,...r}){return t("div",{"data-slot":"alert-dialog-header",className:C("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-6 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...r})}function tt({className:e,...r}){return t("div",{"data-slot":"alert-dialog-footer",className:C("flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...r})}function rt({className:e,...r}){return t(yke,{"data-slot":"alert-dialog-title",className:C("text-lg font-semibold sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...r})}function nt({className:e,...r}){return t(bke,{"data-slot":"alert-dialog-description",className:C("text-sm text-muted-foreground",e),...r})}function ot({className:e,variant:r="default",size:a="default",...i}){return t(E,{variant:r,size:a,asChild:!0,children:t(vke,{"data-slot":"alert-dialog-action",className:C(e),...i})})}function st({className:e,variant:r="outline",size:a="default",...i}){return t(E,{variant:r,size:a,asChild:!0,children:t(xke,{"data-slot":"alert-dialog-cancel",className:C(e),...i})})}function ue({...e}){return t($7,{"data-slot":"dialog",...e})}function yA({...e}){return t(eU,{"data-slot":"dialog-trigger",...e})}function pvt({...e}){return t(tU,{"data-slot":"dialog-portal",...e})}function mvt({className:e,...r}){return t(rU,{"data-slot":"dialog-overlay",className:C("fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",e),...r})}function ae({className:e,children:r,showCloseButton:a=!0,...i}){return o(pvt,{"data-slot":"dialog-portal",children:[t(mvt,{}),o(oU,{"data-slot":"dialog-content",className:C("fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg duration-200 outline-none data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:max-w-lg",e),...i,children:[r,a&&o(l2,{"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(Ne,{}),t("span",{className:"sr-only",children:"Close"})]})]})]})}function fe({className:e,...r}){return t("div",{"data-slot":"dialog-header",className:C("flex flex-col gap-2 text-center sm:text-left",e),...r})}function qe({className:e,showCloseButton:r=!1,children:a,...i}){return o("div",{"data-slot":"dialog-footer",className:C("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...i,children:[a,r&&t(l2,{asChild:!0,children:t(E,{variant:"outline",children:"Close"})})]})}function le({className:e,...r}){return t(aU,{"data-slot":"dialog-title",className:C("text-lg leading-none font-semibold",e),...r})}function Ct({className:e,...r}){return t(nU,{"data-slot":"dialog-description",className:C("text-sm text-muted-foreground",e),...r})}function H({className:e,type:r,...a}){return t("input",{type:r,"data-slot":"input",className:C("h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30","focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50","aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",e),...a})}function ce({className:e,children:r,...a}){return o(eRe,{"data-slot":"scroll-area",className:C("relative",e),...a,children:[t(tRe,{"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(I5,{}),t(rRe,{})]})}function I5({className:e,orientation:r="vertical",...a}){return t(UIe,{"data-slot":"scroll-area-scrollbar",orientation:r,className:C("flex touch-none p-px transition-colors select-none",r==="vertical"&&"h-full w-2.5 border-l border-l-transparent",r==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent",e),...a,children:t(KIe,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-border"})})}var lt=Mr()(qk((e,r)=>({teamId:null,projectTeamMap:{},setTeamId:(a)=>e({teamId:a}),ensureTeamIdForProject:async(a)=>{let i=r();if(i.projectTeamMap[a]){let s=i.projectTeamMap[a];if(i.teamId!==s)e({teamId:s});return s}try{let s=await A.api.projects[":projectId"].team.$get({param:{projectId:a}});if(!s.ok)throw Error("failed to fetch project team");let l=await s.json();if(l&&l.teamId)return e((c)=>({teamId:l.teamId,projectTeamMap:{...c.projectTeamMap,[a]:l.teamId}})),l.teamId}catch(s){console.error("Failed to fetch team ID for project",a,s)}return null}}),{name:"team-context-storage",storage:Sz(()=>localStorage)}));S();function Dt(e){let r=lt((i)=>i.teamId),{data:a}=Z({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 P(()=>({role:a?.role,canEdit:a?.role==="owner"||a?.role==="editor",canAdmin:a?.role==="owner"}),[a?.role])}S();var hvt=Symbol.for("preact-signals");function A5(){if(!(_m>1)){var e,r=!1;(function(){var s=P5;P5=void 0;while(s!==void 0){var l=s.S;if(l.v===s.v){for(var c=l.t;c!==void 0;c=c.x)if(c.i===s.i)c.i=l.i}s=s.o}})();while(T2!==void 0){var a=T2;T2=void 0,R5++;while(a!==void 0){var i=a.u;if(a.u=void 0,a.f&=-3,!(8&a.f)&&Bse(a))try{a.c()}catch(s){if(!r)e=s,r=!0}a=i}}if(R5=0,_m--,r)throw e}else _m--}function Qo(e){if(_m>0)return e();Rq=++gvt,_m++;try{return e()}finally{A5()}}var P2,cn=void 0;function ho(e){var r=cn,a=P2;cn=void 0,P2=void 0;try{return e()}finally{cn=r,P2=a}}var T2=void 0,_m=0,R5=0,gvt=0,Rq=0,P5=void 0,T5=0;function Fse(e){if(cn!==void 0){var r=e.n;if(r===void 0||r.t!==cn){if(r={i:0,S:e,p:cn.s,n:void 0,t:cn,e:void 0,x:void 0,r},cn.s!==void 0)cn.s.n=r;if(cn.s=r,e.n=r,32&cn.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=cn.s,r.n=void 0,cn.s.n=r,cn.s=r}return r}}}function mf(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}mf.prototype.brand=hvt;mf.prototype.h=function(){return!0};mf.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 ho(function(){var i;(i=r.W)==null||i.call(r)})};mf.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)ho(function(){var s;(s=r.Z)==null||s.call(r)})}}};mf.prototype.subscribe=function(e){var r=this;return Si(function(){var a=r.value;ho(function(){return e(a)})},{name:"sub"})};mf.prototype.valueOf=function(){return this.value};mf.prototype.toString=function(){return this.value+""};mf.prototype.toJSON=function(){return this.value};mf.prototype.peek=function(){var e=this;return ho(function(){return e.value})};Object.defineProperty(mf.prototype,"value",{get:function(){var e=Fse(this);if(e!==void 0)e.i=this.i;return this.v},set:function(e){if(e!==this.v){if(R5>100)throw Error("Cycle detected");(function(a){if(_m!==0&&R5===0){if(a.l!==Rq)a.l=Rq,P5={S:a,v:a.v,i:a.i,o:P5}}})(this),this.v=e,this.i++,T5++,_m++;try{for(var r=this.t;r!==void 0;r=r.x)r.t.N()}finally{A5()}}}});function ZZ(e,r){return new mf(e,r)}function Bse(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 Yse(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 Use(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 Kz(e,r){mf.call(this,void 0,r),this.x=e,this.s=void 0,this.g=T5-1,this.f=4}Kz.prototype=new mf;Kz.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===T5)return!0;if(this.g=T5,this.f|=1,this.i>0&&!Bse(this))return this.f&=-2,!0;var e=cn;try{Yse(this),cn=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 cn=e,Use(this),this.f&=-2,!0};Kz.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)}mf.prototype.S.call(this,e)};Kz.prototype.U=function(e){if(this.t!==void 0){if(mf.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)}}};Kz.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(Kz.prototype,"value",{get:function(){if(1&this.f)throw Error("Cycle detected");var e=Fse(this);if(this.h(),e!==void 0)e.i=this.i;if(16&this.f)throw this.v;return this.v}});function Pq(e,r){return new Kz(e,r)}function qse(e){var r=e.m;if(e.m=void 0,typeof r=="function"){_m++;var a=cn;cn=void 0;try{r()}catch(i){throw e.f&=-2,e.f|=8,Tq(e),i}finally{cn=a,A5()}}}function Tq(e){for(var r=e.s;r!==void 0;r=r.n)r.S.U(r);e.x=void 0,e.s=void 0,qse(e)}function Mvt(e){if(cn!==this)throw Error("Out-of-order effect");if(Use(this),cn=e,this.f&=-2,8&this.f)Tq(this);A5()}function sR(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,P2)P2.push(this)}sR.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()}};sR.prototype.S=function(){if(1&this.f)throw Error("Cycle detected");this.f|=1,this.f&=-9,qse(this),Yse(this),_m++;var e=cn;return cn=this,Mvt.bind(this,e)};sR.prototype.N=function(){if(!(2&this.f))this.f|=2,this.u=T2,T2=this};sR.prototype.d=function(){if(this.f|=8,!(1&this.f))Tq(this)};sR.prototype.dispose=function(){this.d()};function Si(e,r){var a=new sR(e,r);try{a.c()}catch(s){throw a.d(),s}var i=a.d.bind(a);return i[Symbol.dispose]=i,i}var{create:vvt,defineProperty:qq,defineProperties:xvt,getOwnPropertyDescriptor:yvt,getOwnPropertyDescriptors:bvt,getOwnPropertySymbols:Hse}=Object,_vt=Object.prototype.hasOwnProperty,wvt=Object.prototype.propertyIsEnumerable,Wse=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),lR=(e)=>{throw TypeError(e)},jq=(e,r,a)=>(r in e)?qq(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,zvt=(e,r)=>{for(var a in r||(r={}))if(_vt.call(r,a))jq(e,a,r[a]);if(Hse){for(var a of Hse(r))if(wvt.call(r,a))jq(e,a,r[a])}return e},Svt=(e,r)=>xvt(e,bvt(r)),Vse=(e,r)=>qq(e,"name",{value:r,configurable:!0}),Lvt=(e)=>{var r;return[,,,vvt((r=e==null?void 0:e[Wse("metadata")])!=null?r:null)]},Gse=["class","method","getter","setter","accessor","field","value","get","set"],A2=(e)=>e!==void 0&&typeof e!=="function"?lR("Function expected"):e,kvt=(e,r,a,i,s)=>({kind:Gse[e],name:r,metadata:i,addInitializer:(l)=>a._?lR("Already initialized"):s.push(A2(l||null))}),Kse=(e,r)=>jq(r,Wse("metadata"),e[3]),Xz=(e,r,a,i)=>{for(var s=0,l=e[r>>1],c=l&&l.length;s<c;s++)r&1?l[s].call(a):i=l[s].call(a,i);return i},cR=(e,r,a,i,s,l)=>{var c,d,m,g,M,v=r&7,y=!!(r&8),x=!!(r&16),_=v>3?e.length+1:v?y?1:2:0,j=Gse[v+5],U=v>3&&(e[_-1]=[]),T=e[_]||(e[_]=[]),N=v&&(!x&&!y&&(s=s.prototype),v<5&&(v>3||!x)&&yvt(v<4?s:{get[a](){return gc(this,l)},set[a](X){return x8(this,l,X)}},a));v?x&&v<4&&Vse(l,(v>2?"set ":v>1?"get ":"")+a):Vse(s,a);for(var G=i.length-1;G>=0;G--){if(g=kvt(v,a,m={},e[3],T),v){if(g.static=y,g.private=x,M=g.access={has:x?(X)=>Cvt(s,X):(X)=>(a in X)},v^3)M.get=x?(X)=>(v^1?gc:Ivt)(X,s,v^4?l:N.get):(X)=>X[a];if(v>2)M.set=x?(X,J)=>x8(X,s,J,v^4?l:N.set):(X,J)=>X[a]=J}if(d=(0,i[G])(v?v<4?x?l:N[j]:v>4?void 0:{get:N.get,set:N.set}:s,g),m._=1,v^4||d===void 0)A2(d)&&(v>4?U.unshift(d):v?x?l=d:N[j]=d:s=d);else if(typeof d!=="object"||d===null)lR("Object expected");else A2(c=d.get)&&(N.get=c),A2(c=d.set)&&(N.set=c),A2(c=d.init)&&U.unshift(c)}return v||Kse(e,s),N&&qq(s,a,N),x?v^4?l:N:s},Hq=(e,r,a)=>r.has(e)||lR("Cannot "+a),Cvt=(e,r)=>Object(r)!==r?lR('Cannot use the "in" operator on this value'):e.has(r),gc=(e,r,a)=>(Hq(e,r,"read from private field"),a?a.call(e):r.get(e)),E2=(e,r,a)=>r.has(e)?lR("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),x8=(e,r,a,i)=>(Hq(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),Ivt=(e,r,a)=>(Hq(e,r,"access private method"),a);function uR(e,r){if(r){let a;return Pq(()=>{let i=e();if(i&&a&&r(a,i))return a;return a=i,i})}return Pq(e)}function tf(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,s)=>!tf(i,r[s]))}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((l)=>!tf(e[l],r[l]))}return!1}function ko({get:e},r){return{init(a){return ZZ(a)},get(){return e.call(this).value},set(a){let i=e.call(this);if(i.peek()===a)return;i.value=a}}}function Ja(e,r){let a=new WeakMap;return function(){let i=a.get(this);if(!i)i=uR(e.bind(this)),a.set(this,i);return i.value}}function Aq(e=!0){return function(r,a){a.addInitializer(function(){let i=a.kind==="field"?this:a.static?this:Object.getPrototypeOf(this),s=Object.getOwnPropertyDescriptor(i,a.name);if(s)Object.defineProperty(i,a.name,Svt(zvt({},s),{enumerable:e}))})}}function Jz(...e){let r=e.map((a)=>Si(a));return()=>r.forEach((a)=>a())}var Xse,Qse,Jse,$se,ele,tle,ss,Vq,Eq,Nq,Fq,hf,Wq,Dq,rle,Bq,Gq,Oq,Yq,Uq;tle=[ko],ele=[ko],$se=[ko],Jse=[Aq()],Qse=[Aq()],Xse=[Aq()];var pZ=class{constructor(e,r=Object.is){this.defaultValue=e,this.equals=r,Xz(ss,5,this),E2(this,hf),E2(this,Vq,Xz(ss,8,this)),Xz(ss,11,this),E2(this,Wq,Xz(ss,12,this)),Xz(ss,15,this),E2(this,Gq,Xz(ss,16,this)),Xz(ss,19,this),this.reset=this.reset.bind(this),this.reset()}get current(){return gc(this,hf,Yq)}get initial(){return gc(this,hf,Nq)}get previous(){return gc(this,hf,rle)}set current(e){let r=ho(()=>gc(this,hf,Yq));if(e&&r&&this.equals(r,e))return;Qo(()=>{if(!gc(this,hf,Nq))x8(this,hf,e,Fq);x8(this,hf,r,Bq),x8(this,hf,e,Uq)})}reset(e=this.defaultValue){Qo(()=>{x8(this,hf,void 0,Bq),x8(this,hf,e,Fq),x8(this,hf,e,Uq)})}};ss=Lvt(null);Vq=new WeakMap;hf=new WeakSet;Wq=new WeakMap;Gq=new WeakMap;Eq=cR(ss,20,"#initial",tle,hf,Vq),Nq=Eq.get,Fq=Eq.set;Dq=cR(ss,20,"#previous",ele,hf,Wq),rle=Dq.get,Bq=Dq.set;Oq=cR(ss,20,"#current",$se,hf,Gq),Yq=Oq.get,Uq=Oq.set;cR(ss,2,"current",Jse,pZ);cR(ss,2,"initial",Qse,pZ);cR(ss,2,"previous",Xse,pZ);Kse(ss,pZ);function E5(e){return ho(()=>{let r={};for(let a in e)r[a]=e[a];return r})}var Qz,ole=class{constructor(){E2(this,Qz,new WeakMap)}get(e,r){var a;return e?(a=gc(this,Qz).get(e))==null?void 0:a.get(r):void 0}set(e,r,a){var i;if(!e)return;if(!gc(this,Qz).has(e))gc(this,Qz).set(e,new Map);return(i=gc(this,Qz).get(e))==null?void 0:i.set(r,a)}clear(e){var r;return e?(r=gc(this,Qz).get(e))==null?void 0:r.clear():void 0}};Qz=new WeakMap;var{create:Rvt,defineProperty:$q,getOwnPropertyDescriptor:Pvt,getOwnPropertySymbols:ale}=Object,Tvt=Object.prototype.hasOwnProperty,Avt=Object.prototype.propertyIsEnumerable,fle=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),dR=(e)=>{throw TypeError(e)},nle=Math.pow,Kq=(e,r,a)=>(r in e)?$q(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,Evt=(e,r)=>{for(var a in r||(r={}))if(Tvt.call(r,a))Kq(e,a,r[a]);if(ale){for(var a of ale(r))if(Avt.call(r,a))Kq(e,a,r[a])}return e},ile=(e,r)=>$q(e,"name",{value:r,configurable:!0}),Dvt=(e)=>{var r;return[,,,Rvt((r=e==null?void 0:e[fle("metadata")])!=null?r:null)]},sle=["class","method","getter","setter","accessor","field","value","get","set"],D2=(e)=>e!==void 0&&typeof e!=="function"?dR("Function expected"):e,Ovt=(e,r,a,i,s)=>({kind:sle[e],name:r,metadata:i,addInitializer:(l)=>a._?dR("Already initialized"):s.push(D2(l||null))}),lle=(e,r)=>Kq(r,fle("metadata"),e[3]),jvt=(e,r,a,i)=>{for(var s=0,l=e[r>>1],c=l&&l.length;s<c;s++)r&1?l[s].call(a):i=l[s].call(a,i);return i},cle=(e,r,a,i,s,l)=>{var c,d,m,g,M,v=r&7,y=!!(r&8),x=!!(r&16),_=v>3?e.length+1:v?y?1:2:0,j=sle[v+5],U=v>3&&(e[_-1]=[]),T=e[_]||(e[_]=[]),N=v&&(!x&&!y&&(s=s.prototype),v<5&&(v>3||!x)&&Pvt(v<4?s:{get[a](){return Xq(this,l)},set[a](X){return Qq(this,l,X)}},a));v?x&&v<4&&ile(l,(v>2?"set ":v>1?"get ":"")+a):ile(s,a);for(var G=i.length-1;G>=0;G--){if(g=Ovt(v,a,m={},e[3],T),v){if(g.static=y,g.private=x,M=g.access={has:x?(X)=>Nvt(s,X):(X)=>(a in X)},v^3)M.get=x?(X)=>(v^1?Xq:Bvt)(X,s,v^4?l:N.get):(X)=>X[a];if(v>2)M.set=x?(X,J)=>Qq(X,s,J,v^4?l:N.set):(X,J)=>X[a]=J}if(d=(0,i[G])(v?v<4?x?l:N[j]:v>4?void 0:{get:N.get,set:N.set}:s,g),m._=1,v^4||d===void 0)D2(d)&&(v>4?U.unshift(d):v?x?l=d:N[j]=d:s=d);else if(typeof d!=="object"||d===null)dR("Object expected");else D2(c=d.get)&&(N.get=c),D2(c=d.set)&&(N.set=c),D2(c=d.init)&&U.unshift(c)}return v||lle(e,s),N&&$q(s,a,N),x?v^4?l:N:s},e9=(e,r,a)=>r.has(e)||dR("Cannot "+a),Nvt=(e,r)=>Object(r)!==r?dR('Cannot use the "in" operator on this value'):e.has(r),Xq=(e,r,a)=>(e9(e,r,"read from private field"),a?a.call(e):r.get(e)),Fvt=(e,r,a)=>r.has(e)?dR("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Qq=(e,r,a,i)=>(e9(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),Bvt=(e,r,a)=>(e9(e,r,"access private method"),a),gf=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)}},Ks=class e{constructor(r,a,i,s){this.left=r,this.top=a,this.width=i,this.height=s,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:s,width:l,height:c,scale:d}=this,m=new e(s+r,i+a,l,c);return m.scale=Evt({},d),m}get boundingRectangle(){let{width:r,height:a,left:i,top:s,right:l,bottom:c}=this;return{width:r,height:a,left:i,top:s,right:l,bottom:c}}get center(){let{left:r,top:a,right:i,bottom:s}=this;return new gf((r+i)/2,(a+s)/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:s,height:l}=this;return a===r.left&&i===r.top&&s===r.width&&l===r.height}containsPoint(r){let{top:a,left:i,bottom:s,right:l}=this;return a<=r.y&&r.y<=s&&i<=r.x&&r.x<=l}intersectionArea(r){if(r instanceof e)return Yvt(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:s}){return new e(a,r,i,s)}static delta(r,a,i={x:"center",y:"center"}){let s=(l,c)=>{let d=i[c],m=c==="x"?l.left:l.top,g=c==="x"?l.width:l.height;if(d=="start")return m;if(d=="end")return m+g;return m+g/2};return gf.delta({x:s(r,"x"),y:s(r,"y")},{x:s(a,"x"),y:s(a,"y")})}static intersectionRatio(r,a){return e.from(r).intersectionRatio(e.from(a))}};function Yvt(e,r){let a=Math.max(r.top,e.top),i=Math.max(r.left,e.left),s=Math.min(r.left+r.width,e.left+e.width),l=Math.min(r.top+r.height,e.top+e.height),c=s-i,d=l-a;if(i<s&&a<l)return c*d;return 0}var ule,dle,Jq,D5,O2,j2=class extends(Jq=pZ,dle=[Ja],ule=[Ja],Jq){constructor(e){let r=gf.from(e);super(r,(a,i)=>gf.equals(a,i));jvt(O2,5,this),Fvt(this,D5,0),this.velocity={x:0,y:0}}get delta(){return gf.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=gf.from(e),i={x:a.x-r.x,y:a.y-r.y},s=Date.now(),l=s-Xq(this,D5),c=(d)=>Math.round(d/l*100);Qo(()=>{Qq(this,D5,s),this.velocity={x:c(i.x),y:c(i.y)},super.current=a})}reset(e=this.defaultValue){super.reset(gf.from(e)),this.velocity={x:0,y:0}}};O2=Dvt(Jq);D5=new WeakMap;cle(O2,2,"delta",dle,j2);cle(O2,2,"direction",ule,j2);lle(O2,j2);function O5({x:e,y:r},a){let i=Math.abs(e),s=Math.abs(r);if(typeof a==="number")return Math.sqrt(nle(i,2)+nle(s,2))>a;if("x"in a&&"y"in a)return i>a.x&&s>a.y;if("x"in a)return i>a.x;if("y"in a)return s>a.y;return!1}var Zle=((e)=>(e.Horizontal="x",e.Vertical="y",e))(Zle||{}),t9=Object.values(Zle);var{create:Uvt,defineProperty:i9,defineProperties:qvt,getOwnPropertyDescriptor:Hvt,getOwnPropertyDescriptors:Vvt,getOwnPropertySymbols:q5}=Object,hle=Object.prototype.hasOwnProperty,gle=Object.prototype.propertyIsEnumerable,Mle=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),MR=(e)=>{throw TypeError(e)},o9=(e,r,a)=>(r in e)?i9(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,f9=(e,r)=>{for(var a in r||(r={}))if(hle.call(r,a))o9(e,a,r[a]);if(q5){for(var a of q5(r))if(gle.call(r,a))o9(e,a,r[a])}return e},s9=(e,r)=>qvt(e,Vvt(r)),ple=(e,r)=>i9(e,"name",{value:r,configurable:!0}),vle=(e,r)=>{var a={};for(var i in e)if(hle.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&q5){for(var i of q5(e))if(r.indexOf(i)<0&&gle.call(e,i))a[i]=e[i]}return a},vR=(e)=>{var r;return[,,,Uvt((r=e==null?void 0:e[Mle("metadata")])!=null?r:null)]},xle=["class","method","getter","setter","accessor","field","value","get","set"],N2=(e)=>e!==void 0&&typeof e!=="function"?MR("Function expected"):e,Wvt=(e,r,a,i,s)=>({kind:xle[e],name:r,metadata:i,addInitializer:(l)=>a._?MR("Already initialized"):s.push(N2(l||null))}),eL=(e,r)=>o9(r,Mle("metadata"),e[3]),Zo=(e,r,a,i)=>{for(var s=0,l=e[r>>1],c=l&&l.length;s<c;s++)r&1?l[s].call(a):i=l[s].call(a,i);return i},jo=(e,r,a,i,s,l)=>{var c,d,m,g,M,v=r&7,y=!!(r&8),x=!!(r&16),_=v>3?e.length+1:v?y?1:2:0,j=xle[v+5],U=v>3&&(e[_-1]=[]),T=e[_]||(e[_]=[]),N=v&&(!x&&!y&&(s=s.prototype),v<5&&(v>3||!x)&&Hvt(v<4?s:{get[a](){return Nn(this,l)},set[a](X){return Hl(this,l,X)}},a));v?x&&v<4&&ple(l,(v>2?"set ":v>1?"get ":"")+a):ple(s,a);for(var G=i.length-1;G>=0;G--){if(g=Wvt(v,a,m={},e[3],T),v){if(g.static=y,g.private=x,M=g.access={has:x?(X)=>Gvt(s,X):(X)=>(a in X)},v^3)M.get=x?(X)=>(v^1?Nn:yle)(X,s,v^4?l:N.get):(X)=>X[a];if(v>2)M.set=x?(X,J)=>Hl(X,s,J,v^4?l:N.set):(X,J)=>X[a]=J}if(d=(0,i[G])(v?v<4?x?l:N[j]:v>4?void 0:{get:N.get,set:N.set}:s,g),m._=1,v^4||d===void 0)N2(d)&&(v>4?U.unshift(d):v?x?l=d:N[j]=d:s=d);else if(typeof d!=="object"||d===null)MR("Object expected");else N2(c=d.get)&&(N.get=c),N2(c=d.set)&&(N.set=c),N2(c=d.init)&&U.unshift(c)}return v||eL(e,s),N&&i9(s,a,N),x?v^4?l:N:s},l9=(e,r,a)=>r.has(e)||MR("Cannot "+a),Gvt=(e,r)=>Object(r)!==r?MR('Cannot use the "in" operator on this value'):e.has(r),Nn=(e,r,a)=>(l9(e,r,"read from private field"),a?a.call(e):r.get(e)),la=(e,r,a)=>r.has(e)?MR("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Hl=(e,r,a,i)=>(l9(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),yle=(e,r,a)=>(l9(e,r,"access private method"),a);function ble(e,r){return{plugin:e,options:r}}function ta(e){return(r)=>ble(e,r)}function gR(e){if(typeof e==="function")return{plugin:e,options:void 0};return e}var _le,Y2,c9,N5;_le=[ko];var Di=class{constructor(e,r){this.manager=e,this.options=r,la(this,c9,Zo(Y2,8,this,!1)),Zo(Y2,11,this),la(this,N5,new Set)}enable(){this.disabled=!1}disable(){this.disabled=!0}isDisabled(){return ho(()=>this.disabled)}configure(e){this.options=e}registerEffect(e){let r=Si(e.bind(this));return Nn(this,N5).add(r),r}destroy(){Nn(this,N5).forEach((e)=>e())}static configure(e){return ble(this,e)}};Y2=vR(null);c9=new WeakMap;N5=new WeakMap;jo(Y2,4,"disabled",_le,Di,c9);eL(Y2,Di);var xR=class extends Di{},F5,r9=class{constructor(e){this.manager=e,this.instances=new Map,la(this,F5,[])}get values(){return Array.from(this.instances.values())}set values(e){let r=e.map(gR).reduce((i,s)=>{let l=i.find(({plugin:c})=>c===s.plugin);if(l)return l.options=s.options,i;return[...i,s]},[]),a=r.map(({plugin:i})=>i);for(let i of Nn(this,F5))if(!a.includes(i)){if(i.prototype instanceof xR)continue;this.unregister(i)}for(let{plugin:i,options:s}of r)this.register(i,s);Hl(this,F5,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()}};F5=new WeakMap;function Kvt(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 j5=[],ZR,pR,Xvt=class extends Di{constructor(e){super(e);la(this,ZR),la(this,pR),this.computeCollisions=this.computeCollisions.bind(this),Hl(this,pR,ZZ(j5)),this.destroy=Jz(()=>{let r=this.computeCollisions(),a=ho(()=>this.manager.dragOperation.position.current);if(r!==j5){let i=Nn(this,ZR);if(Hl(this,ZR,a),i&&a.x==i.x&&a.y==i.y)return}else Hl(this,ZR,void 0);Nn(this,pR).value=r},()=>{let{dragOperation:r}=this.manager;if(r.status.initialized)this.forceUpdate()})}forceUpdate(e=!0){ho(()=>{if(e)Nn(this,pR).value=this.computeCollisions();else Hl(this,ZR,void 0)})}computeCollisions(e,r){let{registry:a,dragOperation:i}=this.manager,{source:s,shape:l,status:c}=i;if(!c.initialized||!l)return j5;let d=[],m=[];for(let g of e!=null?e:a.droppables){if(g.disabled)continue;if(s&&!g.accepts(s))continue;let M=r!=null?r:g.collisionDetector;if(!M)continue;m.push(g),g.shape;let v=ho(()=>M({droppable:g,dragOperation:i}));if(v){if(g.collisionPriority!=null)v.priority=g.collisionPriority;d.push(v)}}if(m.length===0)return j5;return d.sort(Kvt),d}get collisions(){return Nn(this,pR).value}};ZR=new WeakMap;pR=new WeakMap;var wle,zle,Sle,u9,Lle,mu,d9,hR,Z9,p9;Sle=[ko],zle=[ko],wle=[ko];var Am=class e{constructor(r,a){la(this,d9,Zo(mu,8,this)),Zo(mu,11,this),la(this,hR),la(this,Z9,Zo(mu,12,this)),Zo(mu,15,this),la(this,p9,Zo(mu,16,this)),Zo(mu,19,this);let{effects:i,id:s,data:l={},disabled:c=!1,register:d=!0}=r,m=s;if(Hl(this,hR,ZZ(s)),this.manager=a,this.data=l,this.disabled=c,this.effects=()=>{var g;return[()=>{let{id:M,manager:v}=this;if(M===m)return;return m=M,v==null||v.registry.register(this),()=>v==null?void 0:v.registry.unregister(this)},...(g=i==null?void 0:i())!=null?g:[]]},this.register=this.register.bind(this),this.unregister=this.unregister.bind(this),this.destroy=this.destroy.bind(this),a&&d)queueMicrotask(this.register)}get id(){var r,a;let i=Nn(this,hR).value;return(a=(r=e.pendingIdChanges)==null?void 0:r.get(this))!=null?a:i}set id(r){var a,i;let s=(i=(a=e.pendingIdChanges)==null?void 0:a.get(this))!=null?i:Nn(this,hR).peek();if(r===s)return;if(!e.pendingIdChanges)e.pendingIdChanges=new Map,queueMicrotask(()=>{var l;return yle(l=e,u9,Lle).call(l)});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)}};mu=vR(null);u9=new WeakSet;Lle=function(){let e=Am.pendingIdChanges;if(Am.pendingIdChanges=null,e)Qo(()=>{for(let[r,a]of e)Nn(r,hR).value=a})};d9=new WeakMap;hR=new WeakMap;Z9=new WeakMap;p9=new WeakMap;jo(mu,4,"manager",Sle,Am,d9);jo(mu,4,"data",zle,Am,Z9);jo(mu,4,"disabled",wle,Am,p9);la(Am,u9);eL(mu,Am);Am.pendingIdChanges=null;var H5=Am,mle=class{constructor(){this.map=ZZ(new Map),this.cleanupFunctions=new WeakMap,this.register=(e,r)=>{let a=this.map.peek(),i=a.get(e),s=()=>this.unregister(e,r);if(i===r)return s;if(i){if(i.id===e){let d=this.cleanupFunctions.get(i);d==null||d(),this.cleanupFunctions.delete(i)}}let l=new Map(a);for(let[d,m]of a)if(m===r&&d!==e){l.delete(d);break}l.set(e,r),this.map.value=l;let c=Jz(...r.effects());return this.cleanupFunctions.set(r,c),s},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 s=new Map(a);s.delete(e),this.map.value=s}}[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}},kle,Cle,Ile,Rle,Ple,Tle,a9,ls,m9,h9,g9,hu=class extends(a9=H5,Tle=[ko],Ple=[ko],Rle=[ko],Ile=[Ja],Cle=[Ja],kle=[Ja],a9){constructor(e,r){var a=e,{modifiers:i,type:s,sensors:l,plugins:c,effects:d}=a,m=vle(a,["modifiers","type","sensors","plugins","effects"]);super(s9(f9({},m),{effects:()=>{var g;return[...(g=d==null?void 0:d())!=null?g:[],()=>{let{manager:M,plugins:v}=this;if(!M||!v)return;for(let y of v){let{plugin:x}=gR(y);M.registry.plugins.register(x)}}]}}),r);Zo(ls,5,this),la(this,m9,Zo(ls,8,this)),Zo(ls,11,this),la(this,h9,Zo(ls,12,this)),Zo(ls,15,this),la(this,g9,Zo(ls,16,this,this.isDragSource?"dragging":"idle")),Zo(ls,19,this),this.type=s,this.sensors=l,this.modifiers=i,this.alignment=m.alignment,this.plugins=c}pluginConfig(e){if(!this.plugins)return;for(let r of this.plugins){let a=gR(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}};ls=vR(a9);m9=new WeakMap;h9=new WeakMap;g9=new WeakMap;jo(ls,4,"type",Tle,hu,m9);jo(ls,4,"modifiers",Ple,hu,h9);jo(ls,4,"status",Rle,hu,g9);jo(ls,2,"isDropping",Ile,hu);jo(ls,2,"isDragging",Cle,hu);jo(ls,2,"isDragSource",kle,hu);eL(ls,hu);var Ale,Ele,Dle,Ole,jle,Nle,n9,Li,M9,v9,x9,y9,b9,gu=class extends(n9=H5,Nle=[ko],jle=[ko],Ole=[ko],Dle=[ko],Ele=[ko],Ale=[Ja],n9){constructor(e,r){var a=e,{accept:i,collisionDetector:s,collisionPriority:l,type:c}=a,d=vle(a,["accept","collisionDetector","collisionPriority","type"]);super(d,r);Zo(Li,5,this),la(this,M9,Zo(Li,8,this)),Zo(Li,11,this),la(this,v9,Zo(Li,12,this)),Zo(Li,15,this),la(this,x9,Zo(Li,16,this)),Zo(Li,19,this),la(this,y9,Zo(Li,20,this)),Zo(Li,23,this),la(this,b9,Zo(Li,24,this)),Zo(Li,27,this),this.accept=i,this.collisionDetector=s,this.collisionPriority=l,this.type=c}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}};Li=vR(n9);M9=new WeakMap;v9=new WeakMap;x9=new WeakMap;y9=new WeakMap;b9=new WeakMap;jo(Li,4,"accept",Nle,gu,M9);jo(Li,4,"type",jle,gu,v9);jo(Li,4,"collisionDetector",Ole,gu,x9);jo(Li,4,"collisionPriority",Dle,gu,y9);jo(Li,4,"shape",Ele,gu,b9);jo(Li,2,"isDropTarget",Ale,gu);eL(Li,gu);var Qvt=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 s of i)s(...r)}},Jvt=class extends Qvt{constructor(e){super();this.manager=e}dispatch(e,r){let a=[r,this.manager];super.dispatch(e,...a)}};function B5(e,r=!0){let a=!1;return s9(f9({},e),{cancelable:r,get defaultPrevented(){return a},preventDefault(){if(!r)return;a=!0}})}var $vt=class extends xR{constructor(e){super(e);let r=(i,s)=>i.map(({id:l})=>l).join("")===s.map(({id:l})=>l).join(""),a=[];this.destroy=Jz(()=>{let{dragOperation:i,collisionObserver:s}=e;if(i.status.initializing)a=[],s.enable()},()=>{let{collisionObserver:i,monitor:s}=e,{collisions:l}=i;if(i.isDisabled())return;if(H5.pendingIdChanges)return;let c=B5({collisions:l});if(s.dispatch("collision",c),c.defaultPrevented)return;if(r(l,a))return;else a=l;let[d]=l;ho(()=>{var m;if((d==null?void 0:d.id)!==((m=e.dragOperation.target)==null?void 0:m.id))i.disable(),e.actions.setDropTarget(d==null?void 0:d.id).then(()=>{i.enable()})})})}},mZ=((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))(mZ||{}),hZ=((e)=>(e[e.Collision=0]="Collision",e[e.ShapeIntersection=1]="ShapeIntersection",e[e.PointerIntersection=2]="PointerIntersection",e))(hZ||{}),Fle,Ble,Yle,Ule,qle,Hle,Vle,vc,_9;Vle=[ko],Hle=[Ja],qle=[Ja],Ule=[Ja],Yle=[Ja],Ble=[Ja],Fle=[Ja];var eM=class{constructor(){Zo(vc,5,this),la(this,_9,Zo(vc,8,this,"idle")),Zo(vc,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}};vc=vR(null);_9=new WeakMap;jo(vc,4,"value",Vle,eM,_9);jo(vc,2,"current",Hle,eM);jo(vc,2,"idle",qle,eM);jo(vc,2,"initializing",Ule,eM);jo(vc,2,"initialized",Yle,eM);jo(vc,2,"dragging",Ble,eM);jo(vc,2,"dropped",Fle,eM);eL(vc,eM);var e8t=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 ho(()=>{let{dragOperation:r}=this.manager,a=e!=null?e:null;if(r.targetIdentifier===a)return Promise.resolve(!1);r.targetIdentifier=a;let i=B5({operation:r.snapshot()});if(r.status.dragging)this.manager.monitor.dispatch("dragover",i);return this.manager.renderer.rendering.then(()=>i.defaultPrevented)})}start(e){return ho(()=>{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:s,coordinates:l}=e;Qo(()=>{r.status.set("initialization-pending"),r.shape=null,r.canceled=!1,r.activatorEvent=s!=null?s:null,r.position.reset(l)});let c=B5({operation:r.snapshot()});if(this.manager.monitor.dispatch("beforedragstart",c),c.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:d}=r;if(d.current!=="initializing")return;Qo(()=>{r.status.set("dragging"),this.manager.monitor.dispatch("dragstart",{nativeEvent:s,operation:r.snapshot(),cancelable:!1})})}),i})}move(e){return ho(()=>{var r,a;let{dragOperation:i}=this.manager,{status:s,controller:l}=i;if(!s.dragging||!l||l.signal.aborted)return;let c=B5({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",c);queueMicrotask(()=>{var d,m,g,M,v;if(c.defaultPrevented)return;let y=(v=e.to)!=null?v:{x:i.position.current.x+((m=(d=e.by)==null?void 0:d.x)!=null?m:0),y:i.position.current.y+((M=(g=e.by)==null?void 0:g.y)!=null?M:0)};i.position.current=y})})}stop(e={}){return ho(()=>{var r,a;let{dragOperation:i}=this.manager,{controller:s}=i;if(!s||s.signal.aborted)return;let l,c=()=>{let m={resume:()=>{},abort:()=>{}};return l=new Promise((g,M)=>{m.resume=g,m.abort=M}),m};s.abort();let d=()=>{this.manager.renderer.rendering.then(()=>{i.status.set("dropped");let m=ho(()=>{var M;return((M=i.source)==null?void 0:M.status)==="dropping"}),g=()=>{if(i.controller===s)i.controller=void 0;i.reset()};if(m){let{source:M}=i,v=Si(()=>{if((M==null?void 0:M.status)==="idle")v(),g()})}else this.manager.renderer.rendering.then(g)})};if(i.canceled=(r=e.canceled)!=null?r:!1,this.manager.monitor.dispatch("dragend",{nativeEvent:e.event,operation:i.snapshot(),canceled:(a=e.canceled)!=null?a:!1,suspend:c}),l)l.then(d).catch(()=>i.reset());else d()})}},$z=class extends Di{constructor(e,r){super(e,r);this.manager=e,this.options=r}},Wle=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)}},Y5,w9=class{constructor(e){this.options=e,la(this,Y5)}set controller(e){Hl(this,Y5,e),e.signal.addEventListener("abort",()=>this.abort())}activate(e){var r;(r=Nn(this,Y5))==null||r.activate(e)}};Y5=new WeakMap;var Ud=class extends Di{constructor(e,r){super(e,r);this.manager=e,this.options=r}apply(e){return e.transform}},t8t=class{constructor(e){this.draggables=new mle,this.droppables=new mle,this.plugins=new r9(e),this.sensors=new r9(e),this.modifiers=new r9(e)}register(e,r){if(e instanceof hu)return this.draggables.register(e.id,e);if(e instanceof gu)return this.droppables.register(e.id,e);if(e.prototype instanceof Ud)return this.modifiers.register(e,r);if(e.prototype instanceof $z)return this.sensors.register(e,r);if(e.prototype instanceof Di)return this.plugins.register(e,r);throw Error("Invalid instance type")}unregister(e){if(e instanceof H5){if(e instanceof hu)return this.draggables.unregister(e.id,e);if(e instanceof gu)return this.droppables.unregister(e.id,e);return()=>{}}if(e.prototype instanceof Ud)return this.modifiers.unregister(e);if(e.prototype instanceof $z)return this.sensors.unregister(e);if(e.prototype instanceof Di)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()}},Gle,Kle,Xle,Qle,Jle,$le,ece,tce,rce,F2,U5,mR,bn,z9,S9,L9,k9,C9,B2;rce=[Ja],tce=[ko],ece=[ko],$le=[ko],Jle=[ko],Qle=[ko],Xle=[Ja],Kle=[Ja],Gle=[Ja];var Mu=class{constructor(e){Zo(bn,5,this),la(this,F2),la(this,U5),la(this,mR,new pZ(void 0,(r,a)=>r&&a?r.equals(a):r===a)),this.status=new eM,la(this,z9,Zo(bn,8,this,!1)),Zo(bn,11,this),la(this,S9,Zo(bn,12,this,null)),Zo(bn,15,this),la(this,L9,Zo(bn,16,this,null)),Zo(bn,19,this),la(this,k9,Zo(bn,20,this,null)),Zo(bn,23,this),la(this,C9,Zo(bn,24,this,[])),Zo(bn,27,this),this.position=new j2({x:0,y:0}),la(this,B2,{x:0,y:0}),Hl(this,F2,e)}get shape(){let{current:e,initial:r,previous:a}=Nn(this,mR);if(!e||!r)return null;return{current:e,initial:r,previous:a}}set shape(e){if(!e)Nn(this,mR).reset();else Nn(this,mR).current=e}get source(){var e;let r=this.sourceIdentifier;if(r==null)return null;let a=Nn(this,F2).registry.draggables.get(r);if(a)Hl(this,U5,a);return(e=a!=null?a:Nn(this,U5))!=null?e:null}get target(){var e;let r=this.targetIdentifier;return r!=null?(e=Nn(this,F2).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(s9(f9({},this.snapshot()),{transform:a}));return Hl(this,B2,a),a}snapshot(){return ho(()=>({source:this.source,target:this.target,activatorEvent:this.activatorEvent,transform:Nn(this,B2),shape:this.shape?E5(this.shape):null,position:E5(this.position),status:E5(this.status),canceled:this.canceled}))}reset(){Qo(()=>{this.status.set("idle"),this.sourceIdentifier=null,this.targetIdentifier=null,Nn(this,mR).reset(),this.position.reset({x:0,y:0}),Hl(this,B2,{x:0,y:0}),this.modifiers=[]})}};bn=vR(null);F2=new WeakMap;U5=new WeakMap;mR=new WeakMap;z9=new WeakMap;S9=new WeakMap;L9=new WeakMap;k9=new WeakMap;C9=new WeakMap;B2=new WeakMap;jo(bn,2,"shape",rce,Mu);jo(bn,4,"canceled",tce,Mu,z9);jo(bn,4,"activatorEvent",ece,Mu,S9);jo(bn,4,"sourceIdentifier",$le,Mu,L9);jo(bn,4,"targetIdentifier",Jle,Mu,k9);jo(bn,4,"modifiers",Qle,Mu,C9);jo(bn,2,"source",Xle,Mu);jo(bn,2,"target",Kle,Mu);jo(bn,2,"transform",Gle,Mu);eL(bn,Mu);var r8t={get rendering(){return Promise.resolve()}};function cs(e,r){if(typeof e==="function")return e(r);return e!=null?e:r}var oce=class{constructor(e){this.destroy=()=>{if(!this.dragOperation.status.idle)this.actions.stop({canceled:!0});this.dragOperation.modifiers.forEach((v)=>v.destroy()),this.registry.destroy(),this.collisionObserver.destroy()};var r;let a=e!=null?e:{},i=cs(a.plugins,[]),s=cs(a.sensors,[]),l=cs(a.modifiers,[]),c=(r=a.renderer)!=null?r:r8t,d=new Jvt(this),m=new t8t(this);this.registry=m,this.monitor=d,this.renderer=c,this.actions=new e8t(this),this.dragOperation=new Mu(this),this.collisionObserver=new Xvt(this),this.plugins=[$vt,...i],this.modifiers=l,this.sensors=s;let{destroy:g}=this,M=Jz(()=>{var v,y,x;let _=ho(()=>this.dragOperation.modifiers),j=this.modifiers;for(let U of _)if(!j.includes(U))U.destroy();this.dragOperation.modifiers=(x=(y=(v=this.dragOperation.source)==null?void 0:v.modifiers)==null?void 0:y.map((U)=>{let{plugin:T,options:N}=gR(U);return new T(this,N)}))!=null?x:j});this.destroy=()=>{M(),g()}}get plugins(){return this.registry.plugins.values}set plugins(e){this.registry.plugins.values=e}get modifiers(){return this.registry.modifiers.values}set modifiers(e){this.registry.modifiers.values=e}get sensors(){return this.registry.sensors.values}set sensors(e){this.registry.sensors.values=e}};var cce=(e)=>{throw TypeError(e)},P9=(e,r,a)=>r.has(e)||cce("Cannot "+a),po=(e,r,a)=>(P9(e,r,"read from private field"),r.get(e)),Xs=(e,r,a)=>r.has(e)?cce("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Vl=(e,r,a,i)=>(P9(e,r,"write to private field"),r.set(e,a),a),uce=(e,r,a)=>(P9(e,r,"access private method"),a);function e4(e){if(!e)return!1;if(e instanceof KeyframeEffect)return!0;return"getKeyframes"in e&&typeof e.getKeyframes==="function"}function T9(e,r){let a=e.getAnimations(),i=null;for(let s of a){if(s.playState!=="running")continue;let{effect:l}=s,d=(e4(l)?l.getKeyframes():[]).filter(r);if(d.length>0)i=[d[d.length-1],s]}return i}function t4(e){let{width:r,height:a,top:i,left:s,bottom:l,right:c}=e.getBoundingClientRect();return{width:r,height:a,top:i,left:s,bottom:l,right:c}}function A9(e){let r=Object.prototype.toString.call(e);return r==="[object Window]"||r==="[object global]"}function K2(e){return"nodeType"in e}function us(e){var r,a,i;if(!e)return window;if(A9(e))return e;if(!K2(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 r4(e){let{Document:r}=us(e);return e instanceof r||"nodeType"in e&&e.nodeType===Node.DOCUMENT_NODE}function tM(e){if(!e||A9(e))return!1;return e instanceof us(e).HTMLElement||"namespaceURI"in e&&typeof e.namespaceURI==="string"&&e.namespaceURI.endsWith("html")}function dce(e){return e instanceof us(e).SVGElement||"namespaceURI"in e&&typeof e.namespaceURI==="string"&&e.namespaceURI.endsWith("svg")}function aL(e){if(!e)return document;if(A9(e))return e.document;if(!K2(e))return document;if(r4(e))return e;if(tM(e)||dce(e))return e.ownerDocument;return document}function o8t(e){var r,a,i,s;let{documentElement:l}=aL(e),c=us(e).visualViewport,d=(r=c==null?void 0:c.width)!=null?r:l.clientWidth,m=(a=c==null?void 0:c.height)!=null?a:l.clientHeight,g=(i=c==null?void 0:c.offsetTop)!=null?i:0,M=(s=c==null?void 0:c.offsetLeft)!=null?s:0;return{top:g,left:M,right:M+d,bottom:g+m,width:d,height:m}}function a8t(e,r){if(n8t(e)&&e.open===!1)return!1;let{overflow:a,overflowX:i,overflowY:s}=getComputedStyle(e);return a==="visible"&&i==="visible"&&s==="visible"}function n8t(e){return e.tagName==="DETAILS"}function bR(e,r=e.getBoundingClientRect(),a=0){var i,s,l,c,d;let m=r,{ownerDocument:g}=e,M=(i=g.defaultView)!=null?i:window,v=e.parentElement;while(v&&v!==g.documentElement){if(!a8t(v)){let G=v.getBoundingClientRect(),X=a*(G.bottom-G.top),J=a*(G.right-G.left),ee=a*(G.bottom-G.top),re=a*(G.right-G.left);m={top:Math.max(m.top,G.top-X),right:Math.min(m.right,G.right+J),bottom:Math.min(m.bottom,G.bottom+ee),left:Math.max(m.left,G.left-re),width:0,height:0},m.width=m.right-m.left,m.height=m.bottom-m.top}v=v.parentElement}let y=M.visualViewport,x=(s=y==null?void 0:y.offsetTop)!=null?s:0,_=(l=y==null?void 0:y.offsetLeft)!=null?l:0,j=(c=y==null?void 0:y.width)!=null?c:M.innerWidth,U=(d=y==null?void 0:y.height)!=null?d:M.innerHeight,T=a*U,N=a*j;if(m={top:Math.max(m.top,x-T),right:Math.min(m.right,_+j+N),bottom:Math.min(m.bottom,x+U+T),left:Math.max(m.left,_-N),width:0,height:0},m.width=m.right-m.left,m.height=m.bottom-m.top,m.width<0)m.width=0;if(m.height<0)m.height=0;return m}function nL(e){return{x:e.clientX,y:e.clientY}}var Zce=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function X5(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 s=i.contentDocument;if(s&&!r.has(s))a.push(...X5(s,r))}catch(s){}try{let i=e.defaultView;if(i&&i!==window.top){let s=i.parent;if(s&&s.document&&s.document!==e)a.push(...X5(s.document,r))}}catch(i){}return a}function o4(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function E9(){var e,r;let a=o4()?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 a4(e){if(!e||!K2(e))return!1;return e instanceof us(e).ShadowRoot}function X2(e){if(e&&K2(e)){let r=e.getRootNode();if(a4(r))return r;else if(r instanceof Document)return r}return aL(e)}function Q2(e){return e.matchMedia("(prefers-reduced-motion: reduce)").matches}function pce(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((l,c)=>{let d=i[c];if(ace(l)&&ace(d)){if(l.type!=="file")l.value=d.value;if(l.type==="radio"&&l.name)l.name=`Cloned__${l.name}`}if(nce(l)&&nce(d)&&d.width>0&&d.height>0){let m=l.getContext("2d");m==null||m.drawImage(d,0,0)}}),a}function ace(e){return"value"in e}function nce(e){return e.tagName==="CANVAS"}function D9(e,{x:r,y:a}){let i=e.elementFromPoint(r,a);if(i8t(i)){let{contentDocument:s}=i;if(s){let{left:l,top:c}=i.getBoundingClientRect();return D9(s,{x:r-l,y:a-c})}}return i}function i8t(e){return(e==null?void 0:e.tagName)==="IFRAME"}var J2=new WeakMap;function mce(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 O9=class{constructor(){this.entries=new Set,this.clear=()=>{for(let e of this.entries){let[r,{type:a,listener:i,options:s}]=e;r.removeEventListener(a,i,s)}this.entries.clear()}}bind(e,r){let a=Array.isArray(e)?e:[e],i=Array.isArray(r)?r:[r],s=[];for(let c of a)for(let d of i){let{type:m,listener:g,options:M}=d,v=[c,d];c.addEventListener(m,g,M),this.entries.add(v),s.push(v)}let l=this.entries;return function(){for(let d of s){let[m,{type:g,listener:M,options:v}]=d;m.removeEventListener(g,M,v),l.delete(d)}}}};function oL(e){let r=e==null?void 0:e.ownerDocument.defaultView;if(r&&r.self!==r.parent)return r.frameElement}function f8t(e){let r=new Set,a=oL(e);while(a)r.add(a),a=oL(a);return r}function s8t(e,r){let a=setTimeout(e,r);return()=>clearTimeout(a)}function hce(e,r){let a=()=>performance.now(),i,s;return function(...l){let c=this;if(!s)e.apply(c,l),s=a();else i==null||i(),i=s8t(()=>{e.apply(c,l),s=a()},r-(a()-s))}}function l8t(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 c8t(e,r=e.getBoundingClientRect()){let{width:a,height:i}=bR(e,r);return a>0&&i>0}var u8t=Zce?ResizeObserver:class{observe(){}unobserve(){}disconnect(){}},G5,d8t=class extends u8t{constructor(e){super((r)=>{if(!po(this,G5)){Vl(this,G5,!0);return}e(r,this)});Xs(this,G5,!1)}};G5=new WeakMap;var ice=Array.from({length:100},(e,r)=>r/100),gce=75,tL,Q5,y8,rL,U2,rf,W2,q2,J5,Mce,vce,xce=class{constructor(e,r,a={debug:!1,skipInitial:!1}){this.element=e,this.callback=r,Xs(this,J5),this.disconnect=()=>{var l,c,d;Vl(this,W2,!0),(l=po(this,y8))==null||l.disconnect(),(c=po(this,rL))==null||c.disconnect(),po(this,U2).disconnect(),(d=po(this,rf))==null||d.remove()},Xs(this,tL,!0),Xs(this,Q5),Xs(this,y8),Xs(this,rL),Xs(this,U2),Xs(this,rf),Xs(this,W2,!1),Xs(this,q2,hce(()=>{var l,c,d;let{element:m}=this;if((l=po(this,rL))==null||l.disconnect(),po(this,W2)||!po(this,tL)||!m.isConnected)return;let g=(c=m.ownerDocument)!=null?c:document,{innerHeight:M,innerWidth:v}=(d=g.defaultView)!=null?d:window,y=m.getBoundingClientRect(),x=bR(m,y),{top:_,left:j,bottom:U,right:T}=x,N=-Math.floor(_),G=-Math.floor(j),X=-Math.floor(v-T),J=-Math.floor(M-U),ee=`${N}px ${X}px ${J}px ${G}px`;this.boundingClientRect=y,Vl(this,rL,new IntersectionObserver((re)=>{let[oe]=re,{intersectionRect:ie}=oe;if((oe.intersectionRatio!==1?oe.intersectionRatio:Ks.intersectionRatio(ie,bR(m)))!==1)po(this,q2).call(this)},{threshold:ice,rootMargin:ee,root:g})),po(this,rL).observe(m),uce(this,J5,Mce).call(this)},gce)),this.boundingClientRect=e.getBoundingClientRect(),Vl(this,tL,c8t(e,this.boundingClientRect));let i=!0;this.callback=(l)=>{if(i){if(i=!1,a.skipInitial)return}r(l)};let s=e.ownerDocument;if(a==null?void 0:a.debug)Vl(this,rf,document.createElement("div")),po(this,rf).style.background="rgba(0,0,0,0.15)",po(this,rf).style.position="fixed",po(this,rf).style.pointerEvents="none",s.body.appendChild(po(this,rf));if(Vl(this,U2,new IntersectionObserver((l)=>{var c,d;let m=l[l.length-1],{boundingClientRect:g,isIntersecting:M}=m,{width:v,height:y}=g,x=po(this,tL);if(Vl(this,tL,M),!v&&!y)return;if(x&&!M){if((c=po(this,rL))==null||c.disconnect(),this.callback(null),(d=po(this,y8))==null||d.disconnect(),Vl(this,y8,void 0),po(this,rf))po(this,rf).style.visibility="hidden"}else po(this,q2).call(this);if(M&&!po(this,y8))Vl(this,y8,new d8t(po(this,q2))),po(this,y8).observe(e)},{threshold:ice,root:s})),po(this,tL)&&!a.skipInitial)this.callback(this.boundingClientRect);po(this,U2).observe(e)}};tL=new WeakMap;Q5=new WeakMap;y8=new WeakMap;rL=new WeakMap;U2=new WeakMap;rf=new WeakMap;W2=new WeakMap;q2=new WeakMap;J5=new WeakSet;Mce=function(){if(po(this,W2))return;if(uce(this,J5,vce).call(this),l8t(this.boundingClientRect,po(this,Q5)))return;this.callback(this.boundingClientRect),Vl(this,Q5,this.boundingClientRect)};vce=function(){if(po(this,rf)){let{top:e,left:r,width:a,height:i}=bR(this.element);po(this,rf).style.overflow="hidden",po(this,rf).style.visibility="visible",po(this,rf).style.top=`${Math.floor(e)}px`,po(this,rf).style.left=`${Math.floor(r)}px`,po(this,rf).style.width=`${Math.floor(a)}px`,po(this,rf).style.height=`${Math.floor(i)}px`}};var V5=new WeakMap,W5=new WeakMap;function Z8t(e,r){let a=V5.get(e);if(!a)a={disconnect:new xce(e,(s)=>{let l=V5.get(e);if(!l)return;l.callbacks.forEach((c)=>c(s))},{skipInitial:!0}).disconnect,callbacks:new Set};return a.callbacks.add(r),V5.set(e,a),()=>{if(a.callbacks.delete(r),a.callbacks.size===0)V5.delete(e),a.disconnect()}}function p8t(e,r){let a=new Set;for(let i of e){let s=Z8t(i,r);a.add(s)}return()=>a.forEach((i)=>i())}function m8t(e,r){var a;let i=e.ownerDocument;if(!W5.has(i)){let c=new AbortController,d=new Set;document.addEventListener("scroll",(m)=>d.forEach((g)=>g(m)),{capture:!0,passive:!0,signal:c.signal}),W5.set(i,{disconnect:()=>c.abort(),listeners:d})}let{listeners:s,disconnect:l}=(a=W5.get(i))!=null?a:{};if(!s||!l)return()=>{};return s.add(r),()=>{if(s.delete(r),s.size===0)l(),W5.delete(i)}}var H2,V2,K5,R9,yce=class{constructor(e,r,a){this.callback=r,Xs(this,H2),Xs(this,V2,!1),Xs(this,K5),Xs(this,R9,hce((c)=>{if(po(this,V2))return;if(!c.target)return;if("contains"in c.target&&typeof c.target.contains==="function"){for(let d of po(this,K5))if(c.target.contains(d)){this.callback(po(this,H2).boundingClientRect);break}}},gce));let i=f8t(e),s=p8t(i,r),l=m8t(e,po(this,R9));Vl(this,K5,i),Vl(this,H2,new xce(e,r,a)),this.disconnect=()=>{if(po(this,V2))return;Vl(this,V2,!0),s(),l(),po(this,H2).disconnect()}}};H2=new WeakMap;V2=new WeakMap;K5=new WeakMap;R9=new WeakMap;function n4(e){return"showPopover"in e&&"hidePopover"in e&&typeof e.showPopover==="function"&&typeof e.hidePopover==="function"}function iL(e){try{if(n4(e)&&e.isConnected&&e.hasAttribute("popover")&&!e.matches(":popover-open"))e.showPopover()}catch(r){}}function fce(e){if(!Zce||!e)return!1;return e===aL(e).scrollingElement}function bce(e){var r,a;let i=us(e),s=fce(e)?o8t(e):t4(e),l=i.visualViewport,c=fce(e)?{height:(r=l==null?void 0:l.height)!=null?r:i.innerHeight,width:(a=l==null?void 0:l.width)!=null?a:i.innerWidth}:{height:e.clientHeight,width:e.clientWidth},d={current:{x:e.scrollLeft,y:e.scrollTop},max:{x:e.scrollWidth-c.width,y:e.scrollHeight-c.height}},m=d.current.y<=0,g=d.current.x<=0,M=d.current.y>=d.max.y,v=d.current.x>=d.max.x;return{rect:s,position:d,isTop:m,isLeft:g,isBottom:M,isRight:v}}function _ce(e,r){let{isTop:a,isBottom:i,isLeft:s,isRight:l,position:c}=bce(e),{x:d,y:m}=r!=null?r:{x:0,y:0},g=!a&&c.current.y+m>0,M=!i&&c.current.y+m<c.max.y,v=!s&&c.current.x+d>0,y=!l&&c.current.x+d<c.max.x;return{top:g,bottom:M,left:v,right:y,x:v||y,y:g||M}}var j9=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))}},$2=new j9((e)=>{if(typeof requestAnimationFrame==="function")requestAnimationFrame(e);else e()}),h8t=new j9((e)=>setTimeout(e,50)),$5=new Map,g8t=$5.clear.bind($5);function xc(e,r=!1){if(!r)return sce(e);let a=$5.get(e);if(a)return a;return a=sce(e),$5.set(e,a),h8t.schedule(g8t),a}function sce(e){return us(e).getComputedStyle(e)}function M8t(e,r=xc(e,!0)){return r.position==="fixed"||r.position==="sticky"}function v8t(e,r=xc(e,!0)){let a=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((s)=>{let l=r[s];return typeof l==="string"?a.test(l):!1})}var x8t={excludeElement:!0,escapeShadowDOM:!0};function i4(e,r=x8t){let{limit:a,excludeElement:i,escapeShadowDOM:s}=r,l=new Set;function c(d){if(a!=null&&l.size>=a)return l;if(!d)return l;if(r4(d)&&d.scrollingElement!=null&&!l.has(d.scrollingElement))return l.add(d.scrollingElement),l;if(s&&a4(d))return c(d.host);if(!tM(d)){if(dce(d))return c(d.parentElement);return l}if(l.has(d))return l;let m=xc(d,!0);if(i&&d===e);else if(v8t(d,m))l.add(d);if(M8t(d,m)){let{scrollingElement:g}=d.ownerDocument;if(g)l.add(g);return l}return c(d.parentNode)}if(!e)return l;return c(e)}function fL(e,r=window.frameElement){let a={x:0,y:0,scaleX:1,scaleY:1};if(!e)return a;let i=oL(e);while(i){if(i===r)return a;let s=t4(i),{x:l,y:c}=y8t(i,s);a.x=a.x+s.left,a.y=a.y+s.top,a.scaleX=a.scaleX*l,a.scaleY=a.scaleY*c,i=oL(i)}return a}function y8t(e,r=t4(e)){let a=Math.round(r.width),i=Math.round(r.height);if(tM(e))return{x:a/e.offsetWidth,y:i/e.offsetHeight};let s=xc(e,!0);return{x:(parseFloat(s.width)||a)/a,y:(parseFloat(s.height)||i)/i}}function b8t(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 _R(e){if(!e||e==="none")return null;let[r,a,i="0"]=e.split(" "),s={x:parseFloat(r),y:parseFloat(a),z:parseInt(i,10)};if(isNaN(s.x)&&isNaN(s.y))return null;return{x:isNaN(s.x)?0:s.x,y:isNaN(s.y)?0:s.y,z:isNaN(s.z)?0:s.z}}function eD(e){var r,a,i,s,l,c,d,m,g;let{scale:M,transform:v,translate:y}=e,x=b8t(M),_=_R(y),j=_8t(v);if(!j&&!x&&!_)return null;let U={x:(r=x==null?void 0:x.x)!=null?r:1,y:(a=x==null?void 0:x.y)!=null?a:1},T={x:(i=_==null?void 0:_.x)!=null?i:0,y:(s=_==null?void 0:_.y)!=null?s:0},N={x:(l=j==null?void 0:j.x)!=null?l:0,y:(c=j==null?void 0:j.y)!=null?c:0,scaleX:(d=j==null?void 0:j.scaleX)!=null?d:1,scaleY:(m=j==null?void 0:j.scaleY)!=null?m:1};return{x:T.x+N.x,y:T.y+N.y,z:(g=_==null?void 0:_.z)!=null?g:0,scaleX:U.x*N.scaleX,scaleY:U.y*N.scaleY}}function _8t(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 Wl=((e)=>(e[e.Idle=0]="Idle",e[e.Forward=1]="Forward",e[e.Reverse=-1]="Reverse",e))(Wl||{}),w8t={x:0.2,y:0.2},z8t={x:10,y:10};function wce(e,r,a,i=25,s=w8t,l=z8t){let{x:c,y:d}=r,{rect:m,isTop:g,isBottom:M,isLeft:v,isRight:y}=bce(e),x=fL(e),_=xc(e,!0),j=eD(_),U=j!==null?(j==null?void 0:j.scaleX)<0:!1,T=j!==null?(j==null?void 0:j.scaleY)<0:!1,N=new Ks(m.left*x.scaleX+x.x,m.top*x.scaleY+x.y,m.width*x.scaleX,m.height*x.scaleY),G={x:0,y:0},X={x:0,y:0},J={height:N.height*s.y,width:N.width*s.x};if(J.height>0&&(!g||T&&!M)&&d<=N.top+J.height&&(a==null?void 0:a.y)!==1&&c>=N.left-l.x&&c<=N.right+l.x)G.y=T?1:-1,X.y=i*Math.abs((N.top+J.height-d)/J.height);else if(J.height>0&&(!M||T&&!g)&&d>=N.bottom-J.height&&(a==null?void 0:a.y)!==-1&&c>=N.left-l.x&&c<=N.right+l.x)G.y=T?-1:1,X.y=i*Math.abs((N.bottom-J.height-d)/J.height);if(J.width>0&&(!y||U&&!v)&&c>=N.right-J.width&&(a==null?void 0:a.x)!==-1&&d>=N.top-l.y&&d<=N.bottom+l.y)G.x=U?-1:1,X.x=i*Math.abs((N.right-J.width-c)/J.width);else if(J.width>0&&(!v||U&&!y)&&c<=N.left+J.width&&(a==null?void 0:a.x)!==1&&d>=N.top-l.y&&d<=N.bottom+l.y)G.x=U?1:-1,X.x=i*Math.abs((N.left+J.width-c)/J.width);return{direction:G,speed:X}}function f4(e,{block:r="nearest",inline:a="nearest"}={}){if(!tM(e))return;let i=i4(e),s=[];for(let l of i){if(!tM(l))continue;let{top:c,left:d}=S8t(e,l),m=c,g=d;for(let M of s)m-=M.scrollTop,g-=M.scrollLeft;if(r!=="none"){let M=m<l.scrollTop,v=m+e.offsetHeight>l.scrollTop+l.clientHeight;if(M!==v)if(r==="center")l.scrollTop=m-l.clientHeight/2+e.offsetHeight/2;else if(M)l.scrollTop=m;else l.scrollTop=m+e.offsetHeight-l.clientHeight}if(a!=="none"){let M=g<l.scrollLeft,v=g+e.offsetWidth>l.scrollLeft+l.clientWidth;if(M!==v)if(a==="center")l.scrollLeft=g-l.clientWidth/2+e.offsetWidth/2;else if(M)l.scrollLeft=g;else l.scrollLeft=g+e.offsetWidth-l.clientWidth}s.push(l)}}function lce(e){let r=0,a=0,i=e;while(i){r+=i.offsetTop,a+=i.offsetLeft;let s=i.offsetParent;if(!tM(s))break;r+=s.clientTop,a+=s.clientLeft,i=s}return{top:r,left:a}}function S8t(e,r){let a=lce(e),i=lce(r);return{top:a.top-i.top-r.clientTop,left:a.left-i.left-r.clientLeft}}function L8t(e,r,a){let{scaleX:i,scaleY:s,x:l,y:c}=r,d=e.left+l+(1-i)*parseFloat(a),m=e.top+c+(1-s)*parseFloat(a.slice(a.indexOf(" ")+1)),g=i?e.width*i:e.width,M=s?e.height*s:e.height;return{width:g,height:M,top:m,right:d+g,bottom:m+M,left:d}}function k8t(e,r,a){let{scaleX:i,scaleY:s,x:l,y:c}=r,d=e.left-l-(1-i)*parseFloat(a),m=e.top-c-(1-s)*parseFloat(a.slice(a.indexOf(" ")+1)),g=i?e.width/i:e.width,M=s?e.height/s:e.height;return{width:g,height:M,top:m,right:d+g,bottom:m+M,left:d}}function s4({element:e,keyframes:r,options:a}){return e.animate(r,a).finished}function N9(e,r=xc(e).translate,a=!0){if(a){let i=T9(e,(s)=>("translate"in s));if(i){let{translate:s=""}=i[0];if(typeof s==="string"){let l=_R(s);if(l)return l}}}if(r){let i=_R(r);if(i)return i}return{x:0,y:0,z:0}}var C8t=new j9((e)=>setTimeout(e,0)),G2=new Map,I8t=G2.clear.bind(G2);function R8t(e){let r=e.ownerDocument,a=G2.get(r);if(a)return a;a=r.getAnimations(),G2.set(r,a),C8t.schedule(I8t);let i=a.filter((s)=>e4(s.effect)&&s.effect.target===e);return G2.set(e,i),a}function P8t(e,r){let a=R8t(e).filter((i)=>{var s,l;if(e4(i.effect)){let{target:c}=i.effect;if((l=c&&((s=r.isValidTarget)==null?void 0:s.call(r,c)))!=null?l:!0)return i.effect.getKeyframes().some((m)=>{for(let g of r.properties)if(m[g])return!0})}}).map((i)=>{let{effect:s,currentTime:l}=i,c=s==null?void 0:s.getComputedTiming().duration;if(i.pending||i.playState==="finished")return;if(typeof c=="number"&&typeof l=="number"&&l<c)return i.currentTime=c,()=>{i.currentTime=l}});if(a.length>0)return()=>a.forEach((i)=>i==null?void 0:i())}var yc=class extends Ks{constructor(e,r={}){var a,i,s,l;let{frameTransform:c=fL(e),ignoreTransforms:d,getBoundingClientRect:m=t4}=r,g=P8t(e,{properties:["transform","translate","scale","width","height"],isValidTarget:(J)=>(J!==e||o4())&&J.contains(e)}),M=m(e),{top:v,left:y,width:x,height:_}=M,j,U=xc(e),T=eD(U),N={x:(a=T==null?void 0:T.scaleX)!=null?a:1,y:(i=T==null?void 0:T.scaleY)!=null?i:1},G=T8t(e,U);if(g==null||g(),T){if(j=k8t(M,T,U.transformOrigin),d||G)v=j.top,y=j.left,x=j.width,_=j.height}let X={width:(s=j==null?void 0:j.width)!=null?s:x,height:(l=j==null?void 0:j.height)!=null?l:_};if(G&&!d&&j){let J=L8t(j,G,U.transformOrigin);v=J.top,y=J.left,x=J.width,_=J.height,N.x=G.scaleX,N.y=G.scaleY}if(c){if(!d)y*=c.scaleX,x*=c.scaleX,v*=c.scaleY,_*=c.scaleY;y+=c.x,v+=c.y}super(y,v,x,_);this.scale=N,this.intrinsicWidth=X.width,this.intrinsicHeight=X.height}};function T8t(e,r){let a=e.getAnimations();if(!a.length)return null;let i,s,l,c=!1;for(let d of a){if(d.playState!=="running")continue;let m=e4(d.effect)?d.effect.getKeyframes():[],g=m[m.length-1];if(!g)continue;let{transform:M,translate:v,scale:y}=g;if(typeof M==="string"&&M)i=M,c=!0;if(typeof v==="string"&&v)s=v,c=!0;if(typeof y==="string"&&y)l=y,c=!0}if(!c)return null;return eD({transform:i!=null?i:r.transform,translate:s!=null?s:r.translate,scale:l!=null?l:r.scale})}function yR(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 zce=class{constructor(e){this.element=e,this.initial=new Map}set(e,r=""){let{element:a}=this;if(!yR(a))return;for(let[i,s]of Object.entries(e)){let l=`${r}${i}`;if(!this.initial.has(l))this.initial.set(l,a.style.getPropertyValue(l));a.style.setProperty(l,typeof s==="string"?s:`${s}px`)}}remove(e,r=""){let{element:a}=this;if(!yR(a))return;for(let i of e){let s=`${r}${i}`;a.style.removeProperty(s)}}reset(){let{element:e}=this;if(!yR(e))return;for(let[r,a]of this.initial)e.style.setProperty(r,a);if(e.getAttribute("style")==="")e.removeAttribute("style")}};function b8(e){if(!e)return!1;return e instanceof us(e).Element||K2(e)&&e.nodeType===Node.ELEMENT_NODE}function sL(e){if(!e)return!1;let{KeyboardEvent:r}=us(e.target);return e instanceof r}function Sce(e){if(!e)return!1;let{PointerEvent:r}=us(e.target);return e instanceof r}function Lce(e){if(!b8(e))return!1;let{tagName:r}=e;return r==="INPUT"||r==="TEXTAREA"||A8t(e)}function A8t(e){return e.hasAttribute("contenteditable")&&e.getAttribute("contenteditable")!=="false"}var I9={};function l4(e){let r=I9[e]==null?0:I9[e]+1;return I9[e]=r,`${e}-${r}`}var E8t=({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 s=gf.distance(r.shape.center,a);return{id:i,value:1/s,type:hZ.PointerIntersection,priority:mZ.High}}return null},D8t=({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:s}=e,l=gf.distance(r.shape.center,s.current),d=i/(a.current.area+r.shape.area-i)/l;return{id:r.id,value:d,type:hZ.ShapeIntersection,priority:mZ.Normal}}return null},c4=(e)=>{var r;return(r=E8t(e))!=null?r:D8t(e)},kce=(e)=>{let{dragOperation:r,droppable:a}=e,{shape:i,position:s}=r;if(!a.shape)return null;let l=i?Ks.from(i.current.boundingRectangle).corners:void 0,d=Ks.from(a.shape.boundingRectangle).corners.reduce((m,g,M)=>{var v;return m+gf.distance(gf.from(g),(v=l==null?void 0:l[M])!=null?v:s.current)},0)/4;return{id:a.id,value:1/d,type:hZ.Collision,priority:mZ.Normal}};var{create:O8t,defineProperty:$9,defineProperties:j8t,getOwnPropertyDescriptor:N8t,getOwnPropertyDescriptors:F8t,getOwnPropertySymbols:Z4}=Object,Oce=Object.prototype.hasOwnProperty,jce=Object.prototype.propertyIsEnumerable,Nce=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),IR=(e)=>{throw TypeError(e)},Y9=(e,r,a)=>(r in e)?$9(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,fD=(e,r)=>{for(var a in r||(r={}))if(Oce.call(r,a))Y9(e,a,r[a]);if(Z4){for(var a of Z4(r))if(jce.call(r,a))Y9(e,a,r[a])}return e},eH=(e,r)=>j8t(e,F8t(r)),Cce=(e,r)=>$9(e,"name",{value:r,configurable:!0}),Fce=(e,r)=>{var a={};for(var i in e)if(Oce.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&Z4){for(var i of Z4(e))if(r.indexOf(i)<0&&jce.call(e,i))a[i]=e[i]}return a},RR=(e)=>{var r;return[,,,O8t((r=e==null?void 0:e[Nce("metadata")])!=null?r:null)]},Bce=["class","method","getter","setter","accessor","field","value","get","set"],rD=(e)=>e!==void 0&&typeof e!=="function"?IR("Function expected"):e,B8t=(e,r,a,i,s)=>({kind:Bce[e],name:r,metadata:i,addInitializer:(l)=>a._?IR("Already initialized"):s.push(rD(l||null))}),ZL=(e,r)=>Y9(r,Nce("metadata"),e[3]),ki=(e,r,a,i)=>{for(var s=0,l=e[r>>1],c=l&&l.length;s<c;s++)r&1?l[s].call(a):i=l[s].call(a,i);return i},bc=(e,r,a,i,s,l)=>{var c,d,m,g,M,v=r&7,y=!!(r&8),x=!!(r&16),_=v>3?e.length+1:v?y?1:2:0,j=Bce[v+5],U=v>3&&(e[_-1]=[]),T=e[_]||(e[_]=[]),N=v&&(!x&&!y&&(s=s.prototype),v<5&&(v>3||!x)&&N8t(v<4?s:{get[a](){return Ua(this,l)},set[a](X){return Ms(this,l,X)}},a));v?x&&v<4&&Cce(l,(v>2?"set ":v>1?"get ":"")+a):Cce(s,a);for(var G=i.length-1;G>=0;G--){if(g=B8t(v,a,m={},e[3],T),v){if(g.static=y,g.private=x,M=g.access={has:x?(X)=>Y8t(s,X):(X)=>(a in X)},v^3)M.get=x?(X)=>(v^1?Ua:dL)(X,s,v^4?l:N.get):(X)=>X[a];if(v>2)M.set=x?(X,J)=>Ms(X,s,J,v^4?l:N.set):(X,J)=>X[a]=J}if(d=(0,i[G])(v?v<4?x?l:N[j]:v>4?void 0:{get:N.get,set:N.set}:s,g),m._=1,v^4||d===void 0)rD(d)&&(v>4?U.unshift(d):v?x?l=d:N[j]=d:s=d);else if(typeof d!=="object"||d===null)IR("Object expected");else rD(c=d.get)&&(N.get=c),rD(c=d.set)&&(N.set=c),rD(c=d.init)&&U.unshift(c)}return v||ZL(e,s),N&&$9(s,a,N),x?v^4?l:N:s},tH=(e,r,a)=>r.has(e)||IR("Cannot "+a),Y8t=(e,r)=>Object(r)!==r?IR('Cannot use the "in" operator on this value'):e.has(r),Ua=(e,r,a)=>(tH(e,r,"read from private field"),a?a.call(e):r.get(e)),Fn=(e,r,a)=>r.has(e)?IR("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Ms=(e,r,a,i)=>(tH(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),dL=(e,r,a)=>(tH(e,r,"access private method"),a),Ice={role:"button",roleDescription:"draggable"},U8t="dnd-kit-description",q8t="dnd-kit-announcement",H8t={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."},V8t={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 W8t(e){let r=e.tagName.toLowerCase();return["input","select","textarea","a","button"].includes(r)}function G8t(e,r){let a=document.createElement("div");return a.id=e,a.style.setProperty("display","none"),a.textContent=r,a}function K8t(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 X8t=["dragover","dragmove"],Q8t=class extends Di{constructor(e,r){super(e);let{id:a,idPrefix:{description:i=U8t,announcement:s=q8t}={},announcements:l=V8t,screenReaderInstructions:c=H8t,debounce:d=500}=r!=null?r:{},m=a?`${i}-${a}`:l4(i),g=a?`${s}-${a}`:l4(s),M,v,y,x,_=(J=x)=>{if(!y||!J)return;if((y==null?void 0:y.nodeValue)!==J)y.nodeValue=J},j=()=>$2.schedule(_),U=J8t(j,d),T=Object.entries(l).map(([J,ee])=>this.manager.monitor.addEventListener(J,(re,oe)=>{let ie=y;if(!ie)return;let ye=ee==null?void 0:ee(re,oe);if(ye&&ie.nodeValue!==ye)if(x=ye,X8t.includes(J))U();else j(),U.cancel()})),N=()=>{let J=[];if(!(M==null?void 0:M.isConnected))M=G8t(m,c.draggable),J.push(M);if(!(v==null?void 0:v.isConnected))v=K8t(g),y=document.createTextNode(""),v.appendChild(y),J.push(v);if(J.length>0)document.body.append(...J)},G=new Set;function X(){for(let J of G)J()}this.registerEffect(()=>{var J;G.clear();for(let ee of this.manager.registry.draggables.value){let re=(J=ee.handle)!=null?J:ee.element;if(re){if(!M||!v)G.add(N);if((!W8t(re)||o4())&&!re.hasAttribute("tabindex"))G.add(()=>re.setAttribute("tabindex","0"));if(!re.hasAttribute("role")&&re.tagName.toLowerCase()!=="button")G.add(()=>re.setAttribute("role",Ice.role));if(!re.hasAttribute("aria-roledescription"))G.add(()=>re.setAttribute("aria-roledescription",Ice.roleDescription));if(!re.hasAttribute("aria-describedby"))G.add(()=>re.setAttribute("aria-describedby",m));for(let ie of["aria-pressed","aria-grabbed"]){let ye=String(ee.isDragging);if(re.getAttribute(ie)!==ye)G.add(()=>re.setAttribute(ie,ye))}let oe=String(ee.disabled);if(re.getAttribute("aria-disabled")!==oe)G.add(()=>re.setAttribute("aria-disabled",oe))}}if(G.size>0)$2.schedule(X)}),this.destroy=()=>{super.destroy(),M==null||M.remove(),v==null||v.remove(),T.forEach((J)=>J())}}};function J8t(e,r){let a,i=()=>{clearTimeout(a),a=setTimeout(e,r)};return i.cancel=()=>clearTimeout(a),i}var p4=new Map,Yce,Uce,qce,Hce,U9,nD,rM,rH,kR,Vce,Wce,Gce,Kce,L8=class extends(U9=xR,Hce=[ko],qce=[Ja],Uce=[Ja],Yce=[Ja],U9){constructor(r,a){super(r,a);ki(rM,5,this),Fn(this,kR),Fn(this,nD,new Set),Fn(this,rH,ki(rM,8,this,new Set)),ki(rM,11,this),this.registerEffect(dL(this,kR,Vce))}register(r){return Ua(this,nD).add(r),()=>{Ua(this,nD).delete(r)}}addRoot(r){return ho(()=>{let a=new Set(this.additionalRoots);a.add(r),this.additionalRoots=a}),()=>{ho(()=>{let a=new Set(this.additionalRoots);a.delete(r),this.additionalRoots=a})}}get sourceRoot(){var r;let{source:a}=this.manager.dragOperation;return X2((r=a==null?void 0:a.element)!=null?r:null)}get targetRoot(){var r;let{target:a}=this.manager.dragOperation;return X2((r=a==null?void 0:a.element)!=null?r:null)}get roots(){let{status:r}=this.manager.dragOperation;if(r.initializing||r.initialized){let a=[this.sourceRoot,this.targetRoot].filter((i)=>i!=null);return new Set([...a,...this.additionalRoots])}return new Set}};rM=RR(U9);nD=new WeakMap;rH=new WeakMap;kR=new WeakSet;Vce=function(){let{roots:e}=this,r=[];for(let a of e)for(let i of Ua(this,nD))r.push(dL(this,kR,Wce).call(this,a,i));return()=>{for(let a of r)a()}};Wce=function(e,r){let a=p4.get(e);if(!a)a=new Map,p4.set(e,a);let i=a.get(r);if(!i){let l=r4(e)?dL(this,kR,Gce).call(this,e,a,r):dL(this,kR,Kce).call(this,e,a,r);if(!l)return()=>{};i=l,a.set(r,i)}i.refCount++;let s=!1;return()=>{if(s)return;if(s=!0,i.refCount--,i.refCount===0)i.cleanup()}};Gce=function(e,r,a){var i;let s=e.createElement("style"),{nonce:l}=(i=this.options)!=null?i:{};if(l)s.setAttribute("nonce",l);s.textContent=a,e.head.prepend(s);let c=new MutationObserver((d)=>{for(let m of d)for(let g of Array.from(m.removedNodes))if(g===s){e.head.prepend(s);return}});return c.observe(e.head,{childList:!0}),{refCount:0,cleanup:()=>{if(c.disconnect(),s.remove(),r.delete(a),r.size===0)p4.delete(e)}}};Kce=function(e,r,a){"adoptedStyleSheets"in e&&Array.isArray(e.adoptedStyleSheets);let i=e.ownerDocument.defaultView,{CSSStyleSheet:s}=i!=null?i:{};if(!s)return null;let l=new s;return l.replaceSync(a),e.adoptedStyleSheets.push(l),{refCount:0,cleanup:()=>{var c;if(a4(e)&&((c=e.host)==null?void 0:c.isConnected)){let d=e.adoptedStyleSheets.indexOf(l);if(d!==-1)e.adoptedStyleSheets.splice(d,1)}if(r.delete(a),r.size===0)p4.delete(e)}}};bc(rM,4,"additionalRoots",Hce,L8,rH);bc(rM,2,"sourceRoot",qce,L8);bc(rM,2,"targetRoot",Uce,L8);bc(rM,2,"roots",Yce,L8);ZL(rM,L8);L8.configure=ta(L8);var M4=L8,$8t=class extends Di{constructor(e,r){super(e,r);this.manager=e;let{cursor:a="grabbing"}=r!=null?r:{},i=e.registry.plugins.get(M4),s=i==null?void 0:i.register(`* { cursor: ${a} !important; }`);if(s){let l=this.destroy.bind(this);this.destroy=()=>{s(),l()}}}},uD="data-dnd-",q9=`${uD}dropping`,of="--dnd-",gZ=`${uD}dragging`,m4=`${uD}placeholder`,ext=[gZ,m4,"popover","aria-pressed","aria-grabbing"],txt=["view-transition-name"],rxt=`
86
+ :is(:root,:host) [${gZ}] {
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(${of}top, 0px) !important;
93
+ left: var(${of}left, 0px) !important;
94
+ right: unset !important;
95
+ bottom: unset !important;
96
+ width: var(${of}width, auto);
97
+ max-width: var(${of}width, auto);
98
+ height: var(${of}height, auto);
99
+ max-height: var(${of}height, auto);
100
+ transform: var(${of}transform, none) !important;
101
+ transition: var(${of}transition) !important;
102
+ }
103
+
104
+ :is(:root,:host) [${m4}] {
105
+ transition: none;
106
+ }
107
+
108
+ :is(:root,:host) [${m4}='hidden'] {
109
+ visibility: hidden;
110
+ }
111
+
112
+ [${gZ}] * {
113
+ pointer-events: none !important;
114
+ }
115
+
116
+ [${gZ}]:not([${q9}]) {
117
+ translate: var(${of}translate) !important;
118
+ }
119
+
120
+ [${gZ}][style*='${of}scale'] {
121
+ scale: var(${of}scale) !important;
122
+ transform-origin: var(${of}transform-origin) !important;
123
+ }
124
+
125
+ @layer dnd-kit {
126
+ :where([${gZ}][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
+ [${gZ}]::backdrop, [${uD}overlay]:not([${gZ}]) {
141
+ display: none;
142
+ visibility: hidden;
143
+ }
144
+ `.replace(/\n+/g," ").replace(/\s+/g," ").trim();function oxt(e,r="hidden"){return ho(()=>{let{element:a,manager:i}=e;if(!a||!i)return;let s=axt(a,i.registry.droppables),l=[],c=pce(a),{remove:d}=c;return nxt(s,c,l),ixt(c,r),c.remove=()=>{l.forEach((m)=>m()),d.call(c)},c})}function axt(e,r){let a=new Map;for(let i of r){if(!i.element)continue;if(e===i.element||e.contains(i.element)){let s=`${uD}${l4("dom-id")}`;i.element.setAttribute(s,""),a.set(i,s)}}return a}function nxt(e,r,a){for(let[i,s]of e){if(!i.element)continue;let l=`[${s}]`,c=r.matches(l)?r:r.querySelector(l);if(i.element.removeAttribute(s),!c)continue;let d=i.element;i.proxy=c,c.removeAttribute(s),J2.set(d,c),a.push(()=>{J2.delete(d),i.proxy=void 0})}}function ixt(e,r="hidden"){e.setAttribute("inert","true"),e.setAttribute("tab-index","-1"),e.setAttribute("aria-hidden","true"),e.setAttribute(m4,r)}function Xce(e,r){if(e===r)return!0;return oL(e)===oL(r)}function Rce(e){let{target:r}=e;if("newState"in e&&e.newState==="closed"&&b8(r)&&r.hasAttribute("popover"))requestAnimationFrame(()=>iL(r))}function H9(e){return e.tagName==="TR"}function fxt(e,r,a){let i=new MutationObserver((s)=>{let l=!1;for(let c of s){if(c.target!==e){l=!0;continue}if(c.type!=="attributes")continue;let d=c.attributeName;if(d.startsWith("aria-")||ext.includes(d))continue;let m=e.getAttribute(d);if(d==="style"){if(yR(e)&&yR(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(txt.includes(M)||M.startsWith(of))continue;let v=g.getPropertyValue(M);r.style.setProperty(M,v)}}}else if(m!==null)r.setAttribute(d,m);else r.removeAttribute(d)}if(l&&a)r.replaceChildren(...e.cloneNode(!0).childNodes)});return i.observe(e,{attributes:!0,subtree:!0,childList:!0}),i}function sxt(e,r,a){let i=new MutationObserver((s)=>{for(let l of s){if(l.addedNodes.length===0)continue;for(let c of Array.from(l.addedNodes)){if(c.contains(e)&&e.nextElementSibling!==r){e.insertAdjacentElement("afterend",r),iL(a);return}if(c.contains(r)&&r.previousElementSibling!==e){r.insertAdjacentElement("beforebegin",e),iL(a);return}}}if(e.isConnected&&r.isConnected&&e.nextElementSibling!==r)e.insertAdjacentElement("afterend",r),iL(a)});return i.observe(e.ownerDocument.body,{childList:!0,subtree:!0}),i}function lxt(e){return new ResizeObserver(()=>{var r,a,i;let s=new yc(e.placeholder,{frameTransform:e.frameTransform,ignoreTransforms:!0}),l=(r=e.transformOrigin)!=null?r:{x:1,y:1},c=(e.width-s.width)*l.x+e.delta.x,d=(e.height-s.height)*l.y+e.delta.y,m=E9();if(e.styles.set({width:s.width-e.widthOffset,height:s.height-e.heightOffset,top:e.top+d+m.y,left:e.left+c+m.x},of),(a=e.getElementMutationObserver())==null||a.takeRecords(),H9(e.element)&&H9(e.placeholder)){let j=Array.from(e.element.cells),U=Array.from(e.placeholder.cells);if(!e.getSavedCellWidths())e.setSavedCellWidths(j.map((T)=>T.style.width));for(let[T,N]of j.entries()){let G=U[T];N.style.width=`${G.getBoundingClientRect().width}px`}}let g=(i=e.getTranslate())!=null?i:{x:0,y:0},M=e.left+c+m.x+g.x,v=e.top+d+m.y+g.y,y=s.width-e.widthOffset,x=s.height-e.heightOffset,_=e.frameTransform;e.dragOperation.shape=new Ks(M*_.scaleX+_.x,v*_.scaleY+_.y,y*_.scaleX,x*_.scaleY)})}var cxt=250,uxt="ease";function dxt(e){var r,a,i,s;let{animation:l}=e;if(typeof l==="function"){let N=l({source:e.source,element:e.element,feedbackElement:e.feedbackElement,placeholder:e.placeholder,translate:e.translate,moved:e.moved});Promise.resolve(N).then(()=>{e.cleanup(),requestAnimationFrame(e.restoreFocus)});return}let{duration:c=cxt,easing:d=uxt}=l!=null?l:{};iL(e.feedbackElement);let[,m]=(r=T9(e.feedbackElement,(N)=>("translate"in N)))!=null?r:[];m==null||m.pause();let g=(a=e.placeholder)!=null?a:e.element,M={frameTransform:Xce(e.feedbackElement,g)?null:void 0},v=new yc(e.feedbackElement,M),y=(i=_R(xc(e.feedbackElement).translate))!=null?i:e.translate,x=new yc(g,M),_=Ks.delta(v,x,e.alignment),j={x:y.x-_.x,y:y.y-_.y},U=Math.round(v.intrinsicHeight)!==Math.round(x.intrinsicHeight)?{minHeight:[`${v.intrinsicHeight}px`,`${x.intrinsicHeight}px`],maxHeight:[`${v.intrinsicHeight}px`,`${x.intrinsicHeight}px`]}:{},T=Math.round(v.intrinsicWidth)!==Math.round(x.intrinsicWidth)?{minWidth:[`${v.intrinsicWidth}px`,`${x.intrinsicWidth}px`],maxWidth:[`${v.intrinsicWidth}px`,`${x.intrinsicWidth}px`]}:{};e.styles.set({transition:e.transition},of),e.feedbackElement.setAttribute(q9,""),(s=e.getElementMutationObserver())==null||s.takeRecords(),s4({element:e.feedbackElement,keyframes:eH(fD(fD({},U),T),{translate:[`${y.x}px ${y.y}px 0`,`${j.x}px ${j.y}px 0`]}),options:{duration:Q2(us(e.feedbackElement))?0:e.moved||e.feedbackElement!==e.element?c:0,easing:d}}).then(()=>{e.feedbackElement.removeAttribute(q9),m==null||m.finish(),e.cleanup(),requestAnimationFrame(e.restoreFocus)})}var Qce,V9,sD,oH,d4,Jce,$ce,CR=class extends(V9=Di,Qce=[ko],V9){constructor(r,a){super(r,a);Fn(this,d4),Fn(this,oH,ki(sD,8,this)),ki(sD,11,this),this.state={initial:{},current:{}};let i=r.registry.plugins.get(M4),s=i==null?void 0:i.register(rxt);if(s){let l=this.destroy.bind(this);this.destroy=()=>{s(),l()}}this.registerEffect(dL(this,d4,Jce).bind(this,i)),this.registerEffect(dL(this,d4,$ce))}};sD=RR(V9);oH=new WeakMap;d4=new WeakSet;Jce=function(e){let{overlay:r}=this;if(!r||!e)return;let a=X2(r);if(!a)return;return e.addRoot(a)};$ce=function(){var e,r,a,i,s,l,c;let{state:d,manager:m,options:g}=this,{dragOperation:M}=m,{position:v,source:y,status:x}=M;if(x.idle){d.current={},d.initial={};return}if(!y)return;let{element:_}=y,j=y.pluginConfig(CR),U=(r=(e=j==null?void 0:j.feedback)!=null?e:g==null?void 0:g.feedback)!=null?r:"default",T=typeof U==="function"?U(y,m):U;if(!_||T==="none"||!x.initialized||x.initializing)return;let{initial:N}=d,G=(a=this.overlay)!=null?a:_,X=fL(G),J=fL(_),ee=!Xce(_,G),re=new yc(_,{frameTransform:ee?J:null,ignoreTransforms:!ee}),oe={x:J.scaleX/X.scaleX,y:J.scaleY/X.scaleY},{width:ie,height:ye,top:We,left:Ye}=re;if(ee)ie=ie/oe.x,ye=ye/oe.y;let Se=new zce(G),He=xc(_),{transition:ut,translate:Ke,boxSizing:yt,paddingBlockStart:At,paddingBlockEnd:jt,paddingInlineStart:de,paddingInlineEnd:bt,borderInlineStartWidth:Wt,borderInlineEndWidth:je,borderBlockStartWidth:sr,borderBlockEndWidth:cr}=He,rr=ut.split(",").filter((zt)=>!/^\s*(transform|translate|scale)\b/.test(zt)).join(","),Or=eD(He),Gt=He.transform,Qt=T==="clone",Tr=yt==="content-box",Cr=Tr?parseInt(de)+parseInt(bt)+parseInt(Wt)+parseInt(je):0,Ar=Tr?parseInt(At)+parseInt(jt)+parseInt(sr)+parseInt(cr):0,dr=T!=="move"&&!this.overlay?oxt(y,Qt?"clone":"hidden"):null,uo=ho(()=>sL(m.dragOperation.activatorEvent));if(!N.translate){if(this.overlay&&Or)N.translate={x:Or.x,y:Or.y};else if(Ke!=="none"){let zt=_R(Ke);if(zt)N.translate=zt}}if(!N.transformOrigin){let zt=ho(()=>v.current),qt=Ye+((i=Or==null?void 0:Or.x)!=null?i:0),Er=We+((s=Or==null?void 0:Or.y)!=null?s:0);N.transformOrigin={x:(zt.x-qt*X.scaleX-X.x)/(ie*X.scaleX),y:(zt.y-Er*X.scaleY-X.y)/(ye*X.scaleY)}}let{transformOrigin:lo}=N,da=We*X.scaleY+X.y,ir=Ye*X.scaleX+X.x;if(!N.coordinates){if(N.coordinates={x:ir,y:da},oe.x!==1||oe.y!==1){let{scaleX:zt,scaleY:qt}=J,{x:Er,y:jr}=lo;N.coordinates.x+=(ie*zt-ie)*Er,N.coordinates.y+=(ye*qt-ye)*jr}}if(!N.dimensions)N.dimensions={width:ie,height:ye};if(!N.frameTransform)N.frameTransform=X;let io={x:N.coordinates.x-ir,y:N.coordinates.y-da},Yr={width:(N.dimensions.width*N.frameTransform.scaleX-ie*X.scaleX)*lo.x,height:(N.dimensions.height*N.frameTransform.scaleY-ye*X.scaleY)*lo.y},To={x:io.x/X.scaleX+Yr.width,y:io.y/X.scaleY+Yr.height},an={left:Ye+To.x,top:We+To.y};G.setAttribute(gZ,"true");let Ho=ho(()=>M.transform),En=(l=N.translate)!=null?l:{x:0,y:0},sn=Ho.x*X.scaleX+En.x,Bi=Ho.y*X.scaleY+En.y,Ge=E9();if(Se.set({width:ie-Cr,height:ye-Ar,top:an.top+Ge.y,left:an.left+Ge.x,translate:`${sn}px ${Bi}px 0`,transform:this.overlay?"none":Gt,transition:rr?`${rr}, translate 0ms linear`:"translate 0ms linear",scale:ee?`${oe.x} ${oe.y}`:"","transform-origin":`${lo.x*100}% ${lo.y*100}%`},of),dr){if(_.insertAdjacentElement("afterend",dr),g==null?void 0:g.rootElement)(typeof g.rootElement==="function"?g.rootElement(y):g.rootElement).appendChild(_)}if(n4(G)){if(!G.hasAttribute("popover"))G.setAttribute("popover","manual");iL(G),G.addEventListener("beforetoggle",Rce)}let Pt,br,Fr,ao=lxt({placeholder:dr,element:_,feedbackElement:G,frameTransform:X,transformOrigin:lo,width:ie,height:ye,top:We,left:Ye,widthOffset:Cr,heightOffset:Ar,delta:To,styles:Se,dragOperation:M,getTranslate:()=>d.current.translate,getElementMutationObserver:()=>Pt,getSavedCellWidths:()=>Fr,setSavedCellWidths:(zt)=>{Fr=zt}}),Vo=new yc(G);ho(()=>M.shape=Vo);let Aa=us(G),Ee=(zt)=>{this.manager.actions.stop({event:zt})},Oe=Q2(Aa);if(uo)Aa.addEventListener("resize",Ee);if(ho(()=>y.status)==="idle")requestAnimationFrame(()=>y.status="dragging");if(dr)ao.observe(dr),Pt=fxt(_,dr,Qt),br=sxt(_,dr,G);let Fe=(c=m.dragOperation.source)==null?void 0:c.id,Zt=()=>{var zt;if(!uo||Fe==null)return;let qt=m.registry.draggables.get(Fe),Er=(zt=qt==null?void 0:qt.handle)!=null?zt:qt==null?void 0:qt.element;if(tM(Er))Er.focus()},St=()=>{if(Pt==null||Pt.disconnect(),br==null||br.disconnect(),ao.disconnect(),Aa.removeEventListener("resize",Ee),n4(G))G.removeEventListener("beforetoggle",Rce),G.removeAttribute("popover");G.removeAttribute(gZ),Se.reset();let zt=()=>{var qt;if(Fr&&H9(_)){let aa=Array.from(_.cells);for(let[or,Go]of aa.entries())Go.style.width=(qt=Fr[or])!=null?qt:""}y.status="idle";let Er=d.current.translate!=null,jr=M.status.dragging;if(dr&&(!jr&&Er||dr.parentElement!==G.parentElement)&&G.isConnected)dr.replaceWith(G);dr==null||dr.remove()};if(G===this.overlay)setTimeout(zt,0);else zt()},Ot=g==null?void 0:g.dropAnimation,fr=this,Tt=Jz(()=>{var zt,qt,Er;let{transform:jr,status:aa}=M;if(!jr.x&&!jr.y&&!d.current.translate)return;if(aa.dragging){let or=(zt=N.translate)!=null?zt:{x:0,y:0},Go={x:jr.x/X.scaleX+or.x,y:jr.y/X.scaleY+or.y},pa=d.current.translate,Qn=ho(()=>M.modifiers),cf=ho(()=>{var uf;return(uf=M.shape)==null?void 0:uf.current}),_a=g==null?void 0:g.keyboardTransition,es=uo&&!Oe&&_a!==null?`${(qt=_a==null?void 0:_a.duration)!=null?qt:250}ms ${(Er=_a==null?void 0:_a.easing)!=null?Er:"cubic-bezier(0.25, 1, 0.5, 1)"}`:"0ms linear";if(Se.set({transition:rr?`${rr}, translate ${es}`:`translate ${es}`,translate:`${Go.x}px ${Go.y}px 0`},of),Pt==null||Pt.takeRecords(),cf&&cf!==Vo&&pa&&!Qn.length){let uf=gf.delta(Go,pa);M.shape=Ks.from(cf.boundingRectangle).translate(uf.x*X.scaleX,uf.y*X.scaleY)}else M.shape=new yc(G);d.current.translate=Go}},function(){if(M.status.dropped){this.dispose(),y.status="dropping";let zt=(j==null?void 0:j.dropAnimation)!==void 0?j.dropAnimation:fr.dropAnimation!==void 0?fr.dropAnimation:Ot,qt=d.current.translate,Er=qt!=null;if(!qt&&_!==G)qt={x:0,y:0};if(!qt||zt===null){St();return}m.renderer.rendering.then(()=>{dxt({source:y,element:_,feedbackElement:G,placeholder:dr,translate:qt,moved:Er,transition:ut,alignment:y.alignment,styles:Se,animation:zt!=null?zt:void 0,getElementMutationObserver:()=>Pt,cleanup:St,restoreFocus:Zt})})}});return()=>{St(),Tt()}};bc(sD,4,"overlay",Qce,CR,oH);ZL(sD,CR);CR.configure=ta(CR);var As=CR,tD=!0,Zxt=!1,eue,tue,rue,oue,w8,aH,nH;oue=(rue=[ko],Wl.Forward),tue=(eue=[ko],Wl.Reverse);var lD=class{constructor(){Fn(this,aH,ki(w8,8,this,tD)),ki(w8,11,this),Fn(this,nH,ki(w8,12,this,tD)),ki(w8,15,this)}isLocked(e){if(e===Wl.Idle)return!1;if(e==null)return this[Wl.Forward]===tD&&this[Wl.Reverse]===tD;return this[e]===tD}unlock(e){if(e===Wl.Idle)return;this[e]=Zxt}};w8=RR(null);aH=new WeakMap;nH=new WeakMap;bc(w8,4,oue,rue,lD,aH);bc(w8,4,tue,eue,lD,nH);ZL(w8,lD);var pxt=[Wl.Forward,Wl.Reverse],Pce=class{constructor(){this.x=new lD,this.y=new lD}isLocked(){return this.x.isLocked()&&this.y.isLocked()}},mxt=class extends Di{constructor(e){super(e);let r=ZZ(new Pce),a=null;this.signal=r,Si(()=>{let{status:i}=e.dragOperation;if(!i.initialized){a=null,r.value=new Pce;return}let{delta:s}=e.dragOperation.position;if(a){let l={x:Tce(s.x,a.x),y:Tce(s.y,a.y)},c=r.peek();Qo(()=>{for(let d of t9)for(let m of pxt)if(l[d]===m)c[d].unlock(m);r.value=c})}a=s})}get current(){return this.signal.peek()}};function Tce(e,r){return Math.sign(e-r)}var aue,W9,cD,iH,_8,G9,PR=class extends(W9=xR,aue=[ko],W9){constructor(e){super(e);Fn(this,iH,ki(cD,8,this,!1)),ki(cD,11,this),Fn(this,_8),Fn(this,G9,()=>{if(!Ua(this,_8))return;let{element:l,by:c}=Ua(this,_8);if(c.y)l.scrollTop+=c.y;if(c.x)l.scrollLeft+=c.x}),this.scroll=(l,c)=>{var d;if(this.disabled)return!1;let m=this.getScrollableElements();if(!m)return Ms(this,_8,void 0),!1;let{position:g}=this.manager.dragOperation,M=g==null?void 0:g.current;if(M){let{by:v}=l!=null?l:{},y=v?{x:Ace(v.x),y:Ace(v.y)}:void 0,x=y?void 0:this.scrollIntentTracker.current;if(x==null?void 0:x.isLocked())return!1;for(let _ of m){let j=_ce(_,v);if(j.x||j.y){let{speed:U,direction:T}=wce(_,M,y,c==null?void 0:c.acceleration,c==null?void 0:c.threshold);if(x){for(let N of t9)if(x[N].isLocked(T[N]))U[N]=0,T[N]=0}if(T.x||T.y){let{x:N,y:G}=v!=null?v:T,X=N*U.x,J=G*U.y;if(X||J){let ee=(d=Ua(this,_8))==null?void 0:d.by;if(this.autoScrolling&&ee){if(ee.x&&!X||ee.y&&!J)continue}return Ms(this,_8,{element:_,by:{x:X,y:J}}),$2.schedule(Ua(this,G9)),!0}}}}}return Ms(this,_8,void 0),!1};let r=null,a=null,i=uR(()=>{let{position:l,source:c}=e.dragOperation;if(!l)return null;let d=D9(X2(c==null?void 0:c.element),l.current);if(d)r=d;return d!=null?d:r}),s=uR(()=>{let l=i.value,{documentElement:c}=aL(l);if(!l||l===c){let{target:d}=e.dragOperation,m=d==null?void 0:d.element;if(m){let g=i4(m,{excludeElement:!1});return a=g,g}}if(l){let d=i4(l,{excludeElement:!1});if(this.autoScrolling&&a&&d.size<(a==null?void 0:a.size))return a;return a=d,d}return a=null,null},tf);this.getScrollableElements=()=>s.value,this.scrollIntentTracker=new mxt(e),this.destroy=e.monitor.addEventListener("dragmove",(l)=>{if(this.disabled||l.defaultPrevented||!sL(e.dragOperation.activatorEvent)||!l.by)return;if(this.scroll({by:l.by}))l.preventDefault()})}};cD=RR(W9);iH=new WeakMap;_8=new WeakMap;G9=new WeakMap;bc(cD,4,"autoScrolling",aue,PR,iH);ZL(cD,PR);function Ace(e){if(e>0)return Wl.Forward;if(e<0)return Wl.Reverse;return Wl.Idle}var hxt=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))}},gxt=new hxt((e)=>{if(typeof requestAnimationFrame==="function")requestAnimationFrame(e);else e()}),Mxt=10,K9=class extends Di{constructor(r,a){super(r,a);let i=r.registry.plugins.get(PR);if(!i)throw Error("AutoScroller plugin depends on Scroller plugin");this.destroy=Si(()=>{var s,l,c;if(this.disabled)return;let{position:d,status:m}=r.dragOperation;if(m.dragging){let g={acceleration:(s=this.options)==null?void 0:s.acceleration,threshold:typeof((l=this.options)==null?void 0:l.threshold)==="number"?{x:this.options.threshold,y:this.options.threshold}:(c=this.options)==null?void 0:c.threshold};if(i.scroll(void 0,g)){i.autoScrolling=!0;let v=setInterval(()=>gxt.schedule(()=>i.scroll(void 0,g)),Mxt);return()=>{clearInterval(v)}}else i.autoScrolling=!1}})}};K9.configure=ta(K9);var nue=K9,Ece={capture:!0,passive:!0},oD,vxt=class extends xR{constructor(e){super(e);Fn(this,oD),this.handleScroll=()=>{if(Ua(this,oD)==null)Ms(this,oD,setTimeout(()=>{this.manager.collisionObserver.forceUpdate(!1),Ms(this,oD,void 0)},50))};let{dragOperation:r}=this.manager;this.destroy=Si(()=>{var a,i,s;if(r.status.dragging){let c=(s=(i=(a=r.source)==null?void 0:a.element)==null?void 0:i.ownerDocument)!=null?s:document;return c.addEventListener("scroll",this.handleScroll,Ece),()=>{c.removeEventListener("scroll",this.handleScroll,Ece)}}})}};oD=new WeakMap;var xxt="* { user-select: none !important; -webkit-user-select: none !important; }",yxt=class extends Di{constructor(e){super(e);this.manager=e;let r=e.registry.plugins.get(M4),a=r==null?void 0:r.register(xxt);if(this.destroy=Si(()=>{let{dragOperation:i}=this.manager;if(i.status.initialized)return F9(),document.addEventListener("selectionchange",F9,{capture:!0}),()=>{document.removeEventListener("selectionchange",F9,{capture:!0})}}),a){let i=this.destroy.bind(this);this.destroy=()=>{a(),i()}}}};function F9(){var e;(e=document.getSelection())==null||e.removeAllRanges()}var aD=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}}),zR,h4=class extends $z{constructor(r,a){super(r);this.manager=r,this.options=a,Fn(this,zR,[]),this.listeners=new O9,this.handleSourceKeyDown=(i,s,l)=>{if(this.disabled||i.defaultPrevented)return;if(!b8(i.target))return;if(s.disabled)return;let{keyboardCodes:c=aD.keyboardCodes,preventActivation:d=aD.preventActivation}=l!=null?l:{};if(!c.start.includes(i.code))return;if(!this.manager.dragOperation.status.idle)return;if(d==null?void 0:d(i,s))return;this.handleStart(i,s,l)}}bind(r,a=this.options){return Si(()=>{var s;let l=(s=r.handle)!=null?s:r.element,c=(d)=>{if(sL(d))this.handleSourceKeyDown(d,r,a)};if(l)return l.addEventListener("keydown",c),()=>{l.removeEventListener("keydown",c)}})}handleStart(r,a,i){let{element:s}=a;if(!s)throw Error("Source draggable does not have an associated element");r.preventDefault(),r.stopImmediatePropagation(),f4(s);let{center:l}=new yc(s);if(this.manager.actions.start({event:r,coordinates:{x:l.x,y:l.y},source:a}).signal.aborted)return this.cleanup();this.sideEffects();let d=aL(s),m=[this.listeners.bind(d,[{type:"keydown",listener:(g)=>this.handleKeyDown(g,a,i),options:{capture:!0}}])];Ua(this,zR).push(...m)}handleKeyDown(r,a,i){let{keyboardCodes:s=aD.keyboardCodes}=i!=null?i:{};if(wR(r,[...s.end,...s.cancel])){r.preventDefault();let l=wR(r,s.cancel);this.handleEnd(r,l);return}if(wR(r,s.up))this.handleMove("up",r);else if(wR(r,s.down))this.handleMove("down",r);if(wR(r,s.left))this.handleMove("left",r);else if(wR(r,s.right))this.handleMove("right",r)}handleEnd(r,a){this.manager.actions.stop({event:r,canceled:a}),this.cleanup()}handleMove(r,a){var i,s;let{shape:l}=this.manager.dragOperation,c=a.shiftKey?5:1,d={x:0,y:0},m=(s=(i=this.options)==null?void 0:i.offset)!=null?s:aD.offset;if(typeof m==="number")m={x:m,y:m};if(!l)return;switch(r){case"up":d={x:0,y:-m.y*c};break;case"down":d={x:0,y:m.y*c};break;case"left":d={x:-m.x*c,y:0};break;case"right":d={x:m.x*c,y:0};break}if(d.x||d.y)a.preventDefault(),this.manager.actions.move({event:a,by:d})}sideEffects(){let r=this.manager.registry.plugins.get(nue);if((r==null?void 0:r.disabled)===!1)r.disable(),Ua(this,zR).push(()=>{r.enable()})}cleanup(){Ua(this,zR).forEach((r)=>r()),Ms(this,zR,[])}destroy(){this.cleanup(),this.listeners.clear()}};zR=new WeakMap;h4.configure=ta(h4);h4.defaults=aD;var Jo=h4;function wR(e,r){return r.includes(e.code)}var lL,bxt=class extends w9{constructor(){super(...arguments);Fn(this,lL)}onEvent(e){switch(e.type){case"pointerdown":Ms(this,lL,nL(e));break;case"pointermove":if(!Ua(this,lL))return;let{x:r,y:a}=nL(e),i={x:r-Ua(this,lL).x,y:a-Ua(this,lL).y},{tolerance:s}=this.options;if(s&&O5(i,s)){this.abort();return}if(O5(i,this.options.value))this.activate(e);break;case"pointerup":this.abort();break}}abort(){Ms(this,lL,void 0)}};lL=new WeakMap;var SR,cL,_xt=class extends w9{constructor(){super(...arguments);Fn(this,SR),Fn(this,cL)}onEvent(e){switch(e.type){case"pointerdown":Ms(this,cL,nL(e)),Ms(this,SR,setTimeout(()=>this.activate(e),this.options.value));break;case"pointermove":if(!Ua(this,cL))return;let{x:r,y:a}=nL(e),i={x:r-Ua(this,cL).x,y:a-Ua(this,cL).y};if(O5(i,this.options.tolerance))this.abort();break;case"pointerup":this.abort();break}}abort(){if(Ua(this,SR))clearTimeout(Ua(this,SR)),Ms(this,cL,void 0),Ms(this,SR,void 0)}};SR=new WeakMap;cL=new WeakMap;var Nr=class{};Nr.Delay=_xt;Nr.Distance=bxt;var X9=Object.freeze({activationConstraints(e,r){var a;let{pointerType:i,target:s}=e;if(i==="mouse"&&b8(s)&&(r.handle===s||((a=r.handle)==null?void 0:a.contains(s))))return;if(i==="touch")return[new Nr.Delay({value:250,tolerance:5})];if(Lce(s)&&!e.defaultPrevented)return[new Nr.Delay({value:200,tolerance:0})];return[new Nr.Delay({value:200,tolerance:10}),new Nr.Distance({value:5})]},preventActivation(e,r){var a;let{target:i}=e;if(i===r.element)return!1;if(i===r.handle)return!1;if(!b8(i))return!1;if((a=r.handle)==null?void 0:a.contains(i))return!1;let s=mce(i);if(s===r.element)return!1;return Boolean(s)}}),LR,g4=class extends $z{constructor(r,a){super(r);this.manager=r,this.options=a,Fn(this,LR,new Set),this.listeners=new O9,this.latest={event:void 0,coordinates:void 0},this.handleMove=()=>{let{event:i,coordinates:s}=this.latest;if(!i||!s)return;this.manager.actions.move({event:i,to:s})},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:s=X9.activationConstraints}=i!=null?i:{};return typeof s==="function"?s(r,a):s}bind(r,a=this.options){return Si(()=>{var s;let l=new AbortController,{signal:c}=l,d=(g)=>{if(Sce(g))this.handlePointerDown(g,r,a)},m=[(s=r.handle)!=null?s: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;Sxt(g.ownerDocument.defaultView),g.addEventListener("pointerdown",d,{signal:c})}return()=>l.abort()})}handlePointerDown(r,a,i){if(this.disabled||!r.isPrimary||r.button!==0||!b8(r.target)||a.disabled||wxt(r)||!this.manager.dragOperation.status.idle)return;let{preventActivation:s=X9.preventActivation}=i!=null?i:{};if(s==null?void 0:s(r,a))return;let{target:l}=r,c=tM(l)&&l.draggable&&l.getAttribute("draggable")==="true",d=fL(a.element),{x:m,y:g}=nL(r);this.initialCoordinates={x:m*d.scaleX+d.x,y:g*d.scaleY+d.y};let M=this.activationConstraints(r,a,i);r.sensor=this;let v=new Wle(M,(j)=>this.handleStart(a,j));v.signal.onabort=()=>this.handleCancel(r),v.onEvent(r),this.controller=v;let y=X5(),x=this.listeners.bind(y,[{type:"pointermove",listener:(j)=>this.handlePointerMove(j,a)},{type:"pointerup",listener:this.handlePointerUp,options:{capture:!0}},{type:"pointercancel",listener:this.handleCancel},{type:"dragstart",listener:c?this.handleCancel:u4,options:{capture:!0}}]),_=()=>{x(),this.initialCoordinates=void 0};Ua(this,LR).add(_)}handlePointerMove(r,a){var i,s;if(((i=this.controller)==null?void 0:i.activated)===!1){(s=this.controller)==null||s.onEvent(r);return}if(this.manager.dragOperation.status.dragging){let l=nL(r),c=fL(a.element);l.x=l.x*c.scaleX+c.x,l.y=l.y*c.scaleY+c.y,r.preventDefault(),r.stopPropagation(),this.latest.event=r,this.latest.coordinates=l,$2.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:s}=this;if(!s||!i.dragOperation.status.idle)return;if(a.defaultPrevented)return;if(i.actions.start({coordinates:s,event:a,source:r}).signal.aborted)return this.cleanup();a.preventDefault();let d=aL(a.target).body;try{d.setPointerCapture(a.pointerId)}catch(M){this.handleCancel(a);return}let m=b8(a.target)?[a.target,d]:d,g=this.listeners.bind(m,[{type:"touchmove",listener:u4,options:{passive:!1}},{type:"click",listener:u4},{type:"contextmenu",listener:u4},{type:"keydown",listener:this.handleKeyDown}]);Ua(this,LR).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},Ua(this,LR).forEach((a)=>a()),Ua(this,LR).clear()}destroy(){this.cleanup(),this.listeners.clear()}};LR=new WeakMap;g4.configure=ta(g4);g4.defaults=X9;var An=g4;function wxt(e){return"sensor"in e}function u4(e){e.preventDefault()}function zxt(){}var Dce=new WeakSet;function Sxt(e){if(!e||Dce.has(e))return;e.addEventListener("touchmove",zxt,{capture:!1,passive:!1}),Dce.add(e)}var uL={modifiers:[],plugins:[Q8t,nue,$8t,As,yxt],sensors:[An,Jo]},fH=class extends oce{constructor(e={}){let r=cs(e.plugins,uL.plugins),a=cs(e.sensors,uL.sensors),i=cs(e.modifiers,uL.modifiers);super(eH(fD({},e),{plugins:[vxt,PR,M4,...r],sensors:a,modifiers:i}))}},iue,fue,Q9,z8,sH,lH,pL=class extends(Q9=hu,fue=[ko],iue=[ko],Q9){constructor(e,r){var a=e,{element:i,effects:s=()=>[],handle:l}=a,c=Fce(a,["element","effects","handle"]);super(fD({effects:()=>[...s(),()=>{var d,m;let{manager:g}=this;if(!g)return;let v=((m=(d=this.sensors)==null?void 0:d.map(gR))!=null?m:[...g.sensors]).map((y)=>{let x=y instanceof $z?y:g.registry.register(y.plugin),_=y instanceof $z?void 0:y.options;return x.bind(this,_)});return function(){v.forEach((x)=>x())}}]},c),r);Fn(this,sH,ki(z8,8,this)),ki(z8,11,this),Fn(this,lH,ki(z8,12,this)),ki(z8,15,this),this.element=i,this.handle=l}};z8=RR(Q9);sH=new WeakMap;lH=new WeakMap;bc(z8,4,"handle",fue,pL,sH);bc(z8,4,"element",iue,pL,lH);ZL(z8,pL);var sue,lue,J9,S8,cH,B9,cue,uue,iD,uH,TR=class extends(J9=gu,lue=[ko],sue=[ko],J9){constructor(e,r){var a=e,{element:i,effects:s=()=>[]}=a,l=Fce(a,["element","effects"]);let{collisionDetector:c=c4}=l,d=(g)=>{let{manager:M,element:v}=this;if(!v||g===null){this.shape=void 0;return}if(!M)return;let y=new yc(v),x=ho(()=>this.shape);if(y&&(x==null?void 0:x.equals(y)))return x;return this.shape=y,y},m=ZZ(!1);super(eH(fD({},l),{collisionDetector:c,effects:()=>[...s(),()=>{let{element:g,manager:M}=this;if(!M)return;let{dragOperation:v}=M,{source:y}=v;m.value=Boolean(y&&v.status.initialized&&g&&!this.disabled&&this.accepts(y))},()=>{let{element:g}=this;if(m.value&&g){let M=new yce(g,d);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);Fn(this,iD),Fn(this,cH,ki(S8,8,this)),ki(S8,11,this),Fn(this,uH,ki(S8,12,this)),ki(S8,15,this),this.element=i,this.refreshShape=()=>d()}set element(e){Ms(this,iD,e,uue)}get element(){var e;return(e=this.proxy)!=null?e:Ua(this,iD,cue)}};S8=RR(J9);cH=new WeakMap;iD=new WeakSet;uH=new WeakMap;B9=bc(S8,20,"#element",lue,iD,cH),cue=B9.get,uue=B9.set;bc(S8,4,"proxy",sue,TR,uH);ZL(S8,TR);S();function Lxt(e){return e!=null&&typeof e==="object"&&"current"in e}function vu(e){var r;if(e==null)return;if(Lxt(e))return(r=e.current)!=null?r:void 0;return e}var kxt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",oM=kxt?$e:h;function due(){let e=u(0)[1];return D(()=>{e((r)=>r+1)},[e])}function Cxt(e,r=!1){let a=b(e.peek()),i=b(!1),s=due();return oM(()=>Si(()=>{let l=a.current,c=e.value;if(l!==c){if(a.current=c,!i.current)return;if(r)tn(s);else s()}}),[e,r,s]),{get value(){return i.current=!0,e.peek()}}}function v4(e,r=[],a=!1){let i=b(e);return i.current=e,Cxt(P(()=>uR(()=>i.current()),r),a)}function AR(e,r){let a=b(new Map),i=due();return oM(()=>{if(!e){a.current.clear();return}return Si(()=>{var s;let l=!1,c=!1;for(let d of a.current){let[m]=d,g=ho(()=>d[1]),M=e[m];if(g!==M)l=!0,a.current.set(m,M),c=(s=r==null?void 0:r(m,g,M))!=null?s:!1}if(l)if(c)queueMicrotask(()=>tn(i));else i()})},[e]),P(()=>e?new Proxy(e,{get(s,l){let c=s[l];return a.current.set(l,c),c}}):e,[e])}function Zue(e,r){e()}function mL(e){let r=b(e);return oM(()=>{r.current=e},[e]),r}function Uo(e,r,a=h,i=Object.is){let s=b(e);a(()=>{let l=s.current;if(!i(e,l))s.current=e,r(e,l)},[r,e])}function k8(e,r){let a=b(vu(e));oM(()=>{let i=vu(e);if(i!==a.current)a.current=i,r(i)})}var{defineProperty:Ixt,defineProperties:Rxt,getOwnPropertyDescriptors:Pxt,getOwnPropertySymbols:y4}=Object,mue=Object.prototype.hasOwnProperty,hue=Object.prototype.propertyIsEnumerable,pue=(e,r,a)=>(r in e)?Ixt(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,gue=(e,r)=>{for(var a in r||(r={}))if(mue.call(r,a))pue(e,a,r[a]);if(y4){for(var a of y4(r))if(hue.call(r,a))pue(e,a,r[a])}return e},Mue=(e,r)=>Rxt(e,Pxt(r)),Txt=(e,r)=>{var a={};for(var i in e)if(mue.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&y4){for(var i of y4(e))if(r.indexOf(i)<0&&hue.call(e,i))a[i]=e[i]}return a},Axt=new fH,pH=it(Axt),Ext=Bn(O(({children:e},r)=>{let[a,i]=u(0),s=b(null),l=b(null),c=P(()=>({renderer:{get rendering(){var d;return(d=s.current)!=null?d:Promise.resolve()}},trackRendering(d){if(!s.current)s.current=new Promise((m)=>{l.current=m});jL(()=>{d(),i((m)=>m+1)})}}),[]);return oM(()=>{var d;(d=l.current)==null||d.call(l),s.current=null},[e,a]),dn(r,()=>c),null})),dH=[void 0,tf];function $n(e){var r=e,{children:a,onCollision:i,onBeforeDragStart:s,onDragStart:l,onDragMove:c,onDragOver:d,onDragEnd:m}=r,g=Txt(r,["children","onCollision","onBeforeDragStart","onDragStart","onDragMove","onDragOver","onDragEnd"]);let M=b(null),{plugins:v,modifiers:y,sensors:x}=g,_=cs(v,uL.plugins),j=cs(x,uL.sensors),U=cs(y,uL.modifiers),T=mL(s),N=mL(l),G=mL(d),X=mL(c),J=mL(m),ee=mL(i),re=Dxt(()=>{var oe;return(oe=g.manager)!=null?oe:new fH(g)});return h(()=>{if(!M.current)throw Error("Renderer not found");let{renderer:oe,trackRendering:ie}=M.current,{monitor:ye}=re;re.renderer=oe;let We=[ye.addEventListener("beforedragstart",(Ye)=>{let Se=T.current;if(Se)ie(()=>Se(Ye,re))}),ye.addEventListener("dragstart",(Ye)=>{var Se;return(Se=N.current)==null?void 0:Se.call(N,Ye,re)}),ye.addEventListener("dragover",(Ye)=>{let Se=G.current;if(Se)ie(()=>Se(Ye,re))}),ye.addEventListener("dragmove",(Ye)=>{let Se=X.current;if(Se)ie(()=>Se(Ye,re))}),ye.addEventListener("dragend",(Ye)=>{let Se=J.current;if(Se)ie(()=>Se(Ye,re))}),ye.addEventListener("collision",(Ye)=>{var Se;return(Se=ee.current)==null?void 0:Se.call(ee,Ye,re)})];return()=>We.forEach((Ye)=>Ye())},[re]),Uo(_,()=>re&&(re.plugins=_),...dH),Uo(j,()=>re&&(re.sensors=j),...dH),Uo(U,()=>re&&(re.modifiers=U),...dH),o(pH.Provider,{value:re,children:[t(Ext,{ref:M,children:a}),a]})}function Dxt(e){let r=b(null);if(!r.current)r.current=e();return MO(()=>()=>{var a;return(a=r.current)==null?void 0:a.destroy()},[]),r.current}function mH(){return dt(pH)}function b4(e){var r;let a=(r=mH())!=null?r:void 0,[i]=u(()=>e(a));if(i.manager!==a)i.manager=a;return oM(i.register,[a,i]),i}function _s(e){let{disabled:r,data:a,element:i,handle:s,id:l,modifiers:c,sensors:d,plugins:m}=e,g=b4((v)=>new pL(Mue(gue({},e),{register:!1,handle:vu(s),element:vu(i)}),v)),M=AR(g,Oxt);return Uo(l,()=>g.id=l),k8(s,(v)=>g.handle=v),k8(i,(v)=>g.element=v),Uo(a,()=>a&&(g.data=a)),Uo(r,()=>g.disabled=r===!0),Uo(d,()=>g.sensors=d,void 0,tf),Uo(c,()=>g.modifiers=c,void 0,tf),Uo(m,()=>g.plugins=m,void 0,tf),Uo(e.alignment,()=>g.alignment=e.alignment),{draggable:M,get isDragging(){return M.isDragging},get isDropping(){return M.isDropping},get isDragSource(){return M.isDragSource},handleRef:D((v)=>{g.handle=v!=null?v:void 0},[g]),ref:D((v)=>{var y,x;if(!v&&((y=g.element)==null?void 0:y.isConnected)&&!((x=g.manager)==null?void 0:x.dragOperation.status.idle))return;g.element=v!=null?v:void 0},[g])}}function Oxt(e,r,a){if(e==="isDragSource"&&!a&&r)return!0;return!1}function Kc({children:e,className:r,dropAnimation:a,style:i,tag:s,disabled:l}){var c;let d=b(null),m=mH(),g=(c=v4(()=>m==null?void 0:m.dragOperation.source,[m]).value)!=null?c:null,M=typeof l==="function"?l(g):l;h(()=>{if(!d.current||!m||M)return;let x=m.plugins.find((_)=>_ instanceof As);if(!x)return;return x.overlay=d.current,()=>{x.overlay=void 0}},[m,M]),h(()=>{if(!m)return;let x=m.plugins.find((_)=>_ instanceof As);if(!x)return;return x.dropAnimation=a,()=>{x.dropAnimation=void 0}},[m,a]);let v=P(()=>{if(!m)return null;let x=new Proxy(m.registry,{get(_,j){if(j==="register"||j==="unregister")return jxt;return _[j]}});return new Proxy(m,{get(_,j){if(j==="registry")return x;return _[j]}})},[m]);return t(pH.Provider,{value:v,children:q(s||"div",{ref:d,className:r,style:i,"data-dnd-overlay":!0},y())});function y(){if(!g||M)return null;if(typeof e==="function")return t(Nxt,{source:g,children:e});return e}}function jxt(){return()=>{}}function Nxt({children:e,source:r}){return e(AR(r))}var{create:Fxt,defineProperty:vue,getOwnPropertyDescriptor:Bxt}=Object,xue=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),_4=(e)=>{throw TypeError(e)},Yxt=(e,r,a)=>(r in e)?vue(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,Uxt=(e)=>{var r;return[,,,Fxt((r=e==null?void 0:e[xue("metadata")])!=null?r:null)]},yue=["class","method","getter","setter","accessor","field","value","get","set"],bue=(e)=>e!==void 0&&typeof e!=="function"?_4("Function expected"):e,qxt=(e,r,a,i,s)=>({kind:yue[e],name:r,metadata:i,addInitializer:(l)=>a._?_4("Already initialized"):s.push(bue(l||null))}),Hxt=(e,r)=>Yxt(r,xue("metadata"),e[3]),Vxt=(e,r,a,i)=>{for(var s=0,l=e[r>>1],c=l&&l.length;s<c;s++)l[s].call(a);return i},_ue=(e,r,a,i,s,l)=>{var c,d,m,g,M=r&7,v=!1,y=!1,x=2,_=yue[M+5],j=e[x]||(e[x]=[]),U=(s=s.prototype,Bxt(s,a));for(var T=i.length-1;T>=0;T--)m=qxt(M,a,d={},e[3],j),m.static=v,m.private=y,g=m.access={has:(N)=>(a in N)},g.get=(N)=>N[a],c=(0,i[T])(U[_],m),d._=1,bue(c)&&(U[_]=c);return U&&vue(s,a,U),s},wue=(e,r,a)=>r.has(e)||_4("Cannot "+a),Wxt=(e,r,a)=>(wue(e,r,"read from private field"),r.get(e)),Gxt=(e,r,a)=>r.has(e)?_4("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Kxt=(e,r,a,i)=>(wue(e,r,"write to private field"),r.set(e,a),a),hL=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)}},zue,Sue,ZH,x4,dD,hH=class extends(ZH=pZ,Sue=[Ja],zue=[Ja],ZH){constructor(e){let r=hL.from(e);super(r,(a,i)=>hL.equals(a,i));Vxt(dD,5,this),Gxt(this,x4,0),this.velocity={x:0,y:0}}get delta(){return hL.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=hL.from(e),i={x:a.x-r.x,y:a.y-r.y},s=Date.now(),l=s-Wxt(this,x4),c=(d)=>Math.round(d/l*100);Qo(()=>{Kxt(this,x4,s),this.velocity={x:c(i.x),y:c(i.y)},super.current=a})}reset(e=this.defaultValue){super.reset(hL.from(e)),this.velocity={x:0,y:0}}};dD=Uxt(ZH);x4=new WeakMap;_ue(dD,2,"delta",Sue,hH);_ue(dD,2,"direction",zue,hH);Hxt(dD,hH);var Lue=((e)=>(e.Horizontal="x",e.Vertical="y",e))(Lue||{});Object.values(Lue);var Xxt=({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 s=hL.distance(r.shape.center,a);return{id:i,value:1/s,type:hZ.PointerIntersection,priority:mZ.High}}return null},Qxt=({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:s}=e,l=hL.distance(r.shape.center,s.current),d=i/(a.current.area+r.shape.area-i)/l;return{id:r.id,value:d,type:hZ.ShapeIntersection,priority:mZ.Normal}}return null},Jxt=(e)=>{var r;return(r=Xxt(e))!=null?r:Qxt(e)};function Pr(e){let{collisionDetector:r,data:a,disabled:i,element:s,id:l,accept:c,type:d}=e,m=b4((M)=>new TR(Mue(gue({},e),{register:!1,element:vu(s)}),M)),g=AR(m);return Uo(l,()=>m.id=l),k8(s,(M)=>m.element=M),Uo(c,()=>m.accept=c,void 0,tf),Uo(r,()=>m.collisionDetector=r!=null?r:Jxt),Uo(a,()=>a&&(m.data=a)),Uo(i,()=>m.disabled=i===!0),Uo(d,()=>m.type=d),{droppable:g,get isDropTarget(){return g.isDropTarget},ref:D((M)=>{var v,y;if(!M&&((v=m.element)==null?void 0:v.isConnected)&&!((y=m.manager)==null?void 0:y.dragOperation.status.idle))return;m.element=M!=null?M:void 0},[m])}}function zd(){let e=mH(),r=v4(()=>e==null?void 0:e.dragOperation.source,[e]),a=v4(()=>e==null?void 0:e.dragOperation.target,[e]);return{get source(){return r.value},get target(){return a.value}}}S();S();S();S();var gH=new Map,w4=new WeakMap,kue=0,$xt;function eyt(e){if(!e)return"0";if(w4.has(e))return w4.get(e);return kue+=1,w4.set(e,kue.toString()),w4.get(e)}function tyt(e){return Object.keys(e).sort().filter((r)=>e[r]!==void 0).map((r)=>`${r}_${r==="root"?eyt(e.root):e[r]}`).toString()}function ryt(e){let r=tyt(e),a=gH.get(r);if(!a){let i=new Map,s,l=new IntersectionObserver((c)=>{c.forEach((d)=>{var m;let g=d.isIntersecting&&s.some((M)=>d.intersectionRatio>=M);if(e.trackVisibility&&typeof d.isVisible>"u")d.isVisible=g;[...(m=i.get(d.target))!=null?m:[]].forEach((M)=>{M(g,d)})})},e);s=l.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),a={id:r,observer:l,elements:i},gH.set(r,a)}return a}function oyt(e,r,a={},i=$xt){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:s,observer:l,elements:c}=ryt(a),d=c.get(e)||[];if(!c.has(e))c.set(e,d);d.push(r),l.observe(e);let m=!1;return function(){if(m)return;if(m=!0,d.splice(d.indexOf(r),1),d.length===0)c.delete(e),l.unobserve(e);if(c.size===0)l.disconnect(),gH.delete(s)}}var MH=Reflect.get(V,"useInsertionEffect"),ayt=MH!=null?MH:h;function nyt(e){return(e==null?void 0:e.startsWith("19."))||!1}var Cue=nyt(Ns);function iyt(e,{threshold:r,root:a,rootMargin:i,scrollMargin:s,trackVisibility:l,delay:c,fallbackInView:d,skip:m,triggerOnce:g}){let M=b(e),v=b({node:null,stop:void 0,owner:null});if(!MH)M.current=e;return ayt(()=>{M.current=e},[e]),D(function y(x){let _=v.current;if(!x&&_.owner!==y)return;if(x===_.node)return _.owner=y,Cue?_.stop:void 0;let j=_.stop;if(_.stop=void 0,j==null||j(),!x||m){_.node=null,_.owner=x?y:null;return}_.node=x,_.owner=y;let U,T;function N(){if(U==null||U(),_.stop===N)_.node=null,_.stop=void 0}if(_.stop=N,U=oyt(x,(G,X)=>{if(M.current(G,X,T),T=G,g&&G)N()},{threshold:r,root:a,rootMargin:i,scrollMargin:s,trackVisibility:l,delay:c},d),_.stop!==N)U();return Cue?_.stop:void 0},[Array.isArray(r)?r.toString():r,a,i,s,l,c,d,m,g])}var fyt=typeof window>"u"?h:$e;function Nt({threshold:e,delay:r,trackVisibility:a,rootMargin:i,scrollMargin:s,root:l,triggerOnce:c,skip:d,initialInView:m,fallbackInView:g,onChange:M}={}){let v=b(m),[y,x]=u({inView:!!m,entry:void 0}),_=iyt((N,G)=>{let X=v.current;if(v.current=N,X===void 0&&!N)return;x({inView:N,entry:G}),M==null||M(N,G)},{threshold:e,root:l,rootMargin:i,scrollMargin:s,trackVisibility:a,delay:r,fallbackInView:g,skip:d,triggerOnce:c}),j=b({node:null,reset:!1}),U=D(function(G){if(G)j.current.node=G,j.current.reset=!1;else if(j.current.node)j.current.node=null,j.current.reset=!0;let X=_(G);if(!X)return;return()=>{if(X(),j.current.node===G)j.current.node=null,j.current.reset=!0}},[_]);fyt(()=>{if(!j.current.reset)return;if(j.current.reset=!1,c||d)return;x({inView:!!m,entry:void 0}),v.current=m});let T=[U,y.inView,y.entry];return T.ref=T[0],T.inView=T[1],T.entry=T[2],T}S();function syt(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 lyt=(e)=>{switch(e){case"success":return dyt;case"info":return pyt;case"warning":return Zyt;case"error":return myt;default:return null}},cyt=Array(12).fill(0),uyt=({visible:e,className:r})=>q("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":e},q("div",{className:"sonner-spinner"},cyt.map((a,i)=>q("div",{className:"sonner-loading-bar",key:`spinner-bar-${i}`})))),dyt=q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20","aria-hidden":"true"},q("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Zyt=q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20","aria-hidden":"true"},q("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),pyt=q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20","aria-hidden":"true"},q("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),myt=q("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20","aria-hidden":"true"},q("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),hyt=q("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true"},q("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),q("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),gyt=()=>{let[e,r]=u(document.hidden);return h(()=>{let a=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",a),()=>document.removeEventListener("visibilitychange",a)},[]),e},Myt=1,vyt=100,Iue=(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:Myt++};class Tue{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-vyt;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=Iue(e),s=this.pendingDismissals.get(i);if(s!==void 0)cancelAnimationFrame(s),this.pendingDismissals.delete(i),this.dismissedToasts.delete(i);let l=this.dismissedToasts.has(i),c=e.dismissible===void 0?!0:e.dismissible;if(l)this.dismissedToasts.delete(i),this.toasts=this.toasts.filter((m)=>m.id!==i);if(l?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:c,title:r};return m});else this.addToast({title:r,...a,dismissible:c,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),s=a!==void 0,l,c=i.then(async(m)=>{if(l=["resolve",m],ts(m))s=!1,this.create({id:a,type:"default",message:m});else if(yyt(m)&&!m.ok){s=!1;let M=typeof r.error==="function"?await r.error(`HTTP error! status: ${m.status}`):r.error,v=typeof r.description==="function"?await r.description(`HTTP error! status: ${m.status}`):r.description,x=typeof M==="object"&&!ts(M)?M:{message:M};this.create({id:a,type:"error",description:v,...x})}else if(m instanceof Error){s=!1;let M=typeof r.error==="function"?await r.error(m):r.error,v=typeof r.description==="function"?await r.description(m):r.description,x=typeof M==="object"&&!ts(M)?M:{message:M};this.create({id:a,type:"error",description:v,...x})}else if(r.success!==void 0){s=!1;let M=typeof r.success==="function"?await r.success(m):r.success,v=typeof r.description==="function"?await r.description(m):r.description,x=typeof M==="object"&&!ts(M)?M:{message:M};this.create({id:a,type:"success",description:v,...x})}}).catch(async(m)=>{if(l=["reject",m],r.error!==void 0){s=!1;let g=typeof r.error==="function"?await r.error(m):r.error,M=typeof r.description==="function"?await r.description(m):r.description,y=typeof g==="object"&&!ts(g)?g:{message:g};this.create({id:a,type:"error",description:M,...y})}}).finally(()=>{if(s)this.dismiss(a),a=void 0;r.finally==null||r.finally.call(r)}),d=()=>new Promise((m,g)=>c.then(()=>l[0]==="reject"?g(l[1]):m(l[1])).catch(g));if(typeof a!=="string"&&typeof a!=="number")return{unwrap:d};else return Object.assign(a,{unwrap:d})},this.custom=(e,r)=>{let a=Iue(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 Qs=new Tue,xyt=(e,r)=>Qs.message(e,r),yyt=(e)=>e&&typeof e==="object"&&("ok"in e)&&typeof e.ok==="boolean"&&("status"in e)&&typeof e.status==="number",byt=xyt,_yt=()=>Qs.toasts,wyt=()=>Qs.getActiveToasts(),k=Object.assign(byt,{success:Qs.success,info:Qs.info,warning:Qs.warning,error:Qs.error,custom:Qs.custom,message:Qs.message,promise:Qs.promise,dismiss:Qs.dismiss,loading:Qs.loading},{getHistory:_yt,getToasts:wyt});syt("[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 z4(e){return e.label!==void 0}var zyt=3,Syt="24px",Lyt="16px",Rue=4000,kyt=356,Cyt=14,Iyt=45,Ryt=200;function MZ(...e){return e.filter(Boolean).join(" ")}function Pyt(e){let[r,a]=e.split("-"),i=[];if(r)i.push(r);if(a)i.push(a);return i}var Tyt=(e)=>{var r,a,i,s,l,c,d,m,g;let{invert:M,toast:v,unstyled:y,interacting:x,setHeights:_,visibleToasts:j,heights:U,index:T,toasts:N,expanded:G,removeToast:X,defaultRichColors:J,closeButton:ee,style:re,cancelButtonStyle:oe,actionButtonStyle:ie,className:ye="",descriptionClassName:We="",duration:Ye,position:Se,gap:He,expandByDefault:ut,classNames:Ke,icons:yt,closeButtonAriaLabel:At="Close toast"}=e,[jt,de]=u(null),[bt,Wt]=u(null),[je,sr]=u(!1),[cr,rr]=u(!1),[Or,Gt]=u(!1),[Qt,Tr]=u(!1),[Cr,Ar]=u(!1),[dr,uo]=u(0),[lo,da]=u(0),ir=b(v.duration||Ye||Rue),io=b(null),Yr=b(null),To=T===0,an=T+1<=j,Ho=v.type,En=Ho!=null?Ho:"default",sn=v.dismissible!==!1,Bi=v.className||"",Ge=v.descriptionClassName||"",Pt=P(()=>U.findIndex((or)=>or.toastId===v.id)||0,[U,v.id]),br=P(()=>{var or;return(or=v.closeButton)!=null?or:ee},[v.closeButton,ee]),Fr=P(()=>v.duration||Ye||Rue,[v.duration,Ye]),ao=b(0),Vo=b(0),Aa=b(0),Ee=b(null),[Oe,Fe]=Se.split("-"),Zt=P(()=>U.reduce((or,Go,pa)=>{if(pa>=Pt)return or;return or+Go.height},0),[U,Pt]),St=gyt(),Ot=P(()=>{var or;return(or=e.swipeDirections)!=null?or:Pyt(Se)},[e.swipeDirections,Se]),fr=v.invert||M,Tt=Ho==="loading";Vo.current=P(()=>Pt*He+Zt,[Pt,Zt]),h(()=>{ir.current=Fr},[Fr]),h(()=>{sr(!0)},[]),h(()=>{let or=Yr.current;if(or){let Go=or.getBoundingClientRect().height;return da(Go),_((pa)=>[{toastId:v.id,height:Go,position:v.position},...pa]),()=>_((pa)=>pa.filter((Qn)=>Qn.toastId!==v.id))}},[_,v.id]),$e(()=>{if(!je)return;let or=Yr.current,Go=or.style.height;or.style.height="auto";let pa=or.getBoundingClientRect().height;or.style.height=Go,da(pa),_((Qn)=>{if(!Qn.find((_a)=>_a.toastId===v.id))return[{toastId:v.id,height:pa,position:v.position},...Qn];else return Qn.map((_a)=>_a.toastId===v.id?{..._a,height:pa}:_a)})},[je,v.title,v.description,_,v.id,v.jsx,v.action,v.cancel]);let zt=D(()=>{rr(!0),uo(Vo.current),_((or)=>or.filter((Go)=>Go.toastId!==v.id)),setTimeout(()=>{X(v)},Ryt)},[v,X,_,Vo]);h(()=>{if(v.promise&&Ho==="loading"||v.duration===1/0||v.type==="loading")return;let or,Go=()=>{if(Aa.current<ao.current){let Qn=new Date().getTime()-ao.current;ir.current=ir.current-Qn}Aa.current=new Date().getTime()},pa=()=>{if(ir.current===1/0)return;ao.current=new Date().getTime(),or=setTimeout(()=>{v.onAutoClose==null||v.onAutoClose.call(v,v),zt()},ir.current)};if(G||x||St)Go();else pa();return()=>clearTimeout(or)},[G,x,v,Ho,St,zt]),h(()=>{if(v.delete)zt(),v.onDismiss==null||v.onDismiss.call(v,v)},[zt,v.delete]);function qt(){var or;if(yt==null?void 0:yt.loading){var Go;return q("div",{className:MZ(Ke==null?void 0:Ke.loader,v==null?void 0:(Go=v.classNames)==null?void 0:Go.loader,"sonner-loader"),"data-visible":Ho==="loading"},yt.loading)}return q(uyt,{className:MZ(Ke==null?void 0:Ke.loader,v==null?void 0:(or=v.classNames)==null?void 0:or.loader),visible:Ho==="loading"})}let Er=v.icon||(yt==null?void 0:yt[Ho])||lyt(Ho);var jr,aa;return q("li",{tabIndex:0,ref:Yr,className:MZ(ye,Bi,Ke==null?void 0:Ke.toast,v==null?void 0:(r=v.classNames)==null?void 0:r.toast,Ke==null?void 0:Ke[En],v==null?void 0:(a=v.classNames)==null?void 0:a[En]),"data-sonner-toast":"","data-rich-colors":(jr=v.richColors)!=null?jr:J,"data-styled":!Boolean(v.jsx||v.unstyled||y),"data-mounted":je,"data-promise":Boolean(v.promise),"data-swiped":Cr,"data-removed":cr,"data-visible":an,"data-y-position":Oe,"data-x-position":Fe,"data-index":T,"data-front":To,"data-swiping":Or,"data-dismissible":sn,"data-type":Ho,"data-invert":fr,"data-swipe-out":Qt,"data-swipe-direction":bt,"data-expanded":Boolean(G||ut&&je),"data-testid":v.testId,style:{"--index":T,"--toasts-before":T,"--z-index":N.length-T,"--offset":`${cr?dr:Vo.current}px`,"--initial-height":ut?"auto":`${lo}px`,...re,...v.style},onDragEnd:()=>{Gt(!1),de(null),Ee.current=null},onPointerDown:(or)=>{if(or.button===2)return;if(Tt||!sn)return;if(io.current=new Date,uo(Vo.current),or.target.setPointerCapture(or.pointerId),or.target.tagName==="BUTTON")return;Gt(!0),Ee.current={x:or.clientX,y:or.clientY}},onPointerUp:()=>{var or,Go,pa;if(Qt||!sn)return;Ee.current=null;let Qn=Number(((or=Yr.current)==null?void 0:or.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),cf=Number(((Go=Yr.current)==null?void 0:Go.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),_a=new Date().getTime()-((pa=io.current)==null?void 0:pa.getTime()),es=jt==="x"?Qn:cf,uf=Math.abs(es)/_a;if((jt==="x"?Ot.includes(Qn>0?"right":"left"):Ot.includes(cf>0?"bottom":"top"))&&(Math.abs(es)>=Iyt||uf>0.11)){if(uo(Vo.current),v.onDismiss==null||v.onDismiss.call(v,v),jt==="x")Wt(Qn>0?"right":"left");else Wt(cf>0?"down":"up");zt(),Tr(!0);return}else{var Pu,S3;(Pu=Yr.current)==null||Pu.style.setProperty("--swipe-amount-x","0px"),(S3=Yr.current)==null||S3.style.setProperty("--swipe-amount-y","0px")}Ar(!1),Gt(!1),de(null)},onPointerMove:(or)=>{var Go,pa,Qn;if(!Ee.current||!sn)return;if(((Go=window.getSelection())==null?void 0:Go.toString().length)>0)return;let _a=or.clientY-Ee.current.y,es=or.clientX-Ee.current.x;if(!jt&&(Math.abs(es)>1||Math.abs(_a)>1))de(Math.abs(es)>Math.abs(_a)?"x":"y");let uf={x:0,y:0},z3=(Pu)=>1/(1.5+Math.abs(Pu)/20);if(jt==="y"){if(Ot.includes("top")||Ot.includes("bottom"))if(Ot.includes("top")&&_a<0||Ot.includes("bottom")&&_a>0)uf.y=_a;else{let Pu=_a*z3(_a);uf.y=Math.abs(Pu)<Math.abs(_a)?Pu:_a}}else if(jt==="x"){if(Ot.includes("left")||Ot.includes("right"))if(Ot.includes("left")&&es<0||Ot.includes("right")&&es>0)uf.x=es;else{let Pu=es*z3(es);uf.x=Math.abs(Pu)<Math.abs(es)?Pu:es}}if(Math.abs(uf.x)>0||Math.abs(uf.y)>0)Ar(!0);(pa=Yr.current)==null||pa.style.setProperty("--swipe-amount-x",`${uf.x}px`),(Qn=Yr.current)==null||Qn.style.setProperty("--swipe-amount-y",`${uf.y}px`)}},br&&!v.jsx&&Ho!=="loading"?q("button",{"aria-label":At,"data-disabled":Tt,"data-close-button":!0,onClick:Tt||!sn?()=>{}:()=>{zt(),v.onDismiss==null||v.onDismiss.call(v,v)},className:MZ(Ke==null?void 0:Ke.closeButton,v==null?void 0:(i=v.classNames)==null?void 0:i.closeButton)},(aa=yt==null?void 0:yt.close)!=null?aa:hyt):null,(Ho||v.icon||v.promise)&&v.icon!==null&&((yt==null?void 0:yt[Ho])!==null||v.icon)?q("div",{"data-icon":"",className:MZ(Ke==null?void 0:Ke.icon,v==null?void 0:(s=v.classNames)==null?void 0:s.icon)},Ho==="loading"?v.icon||qt():v.promise?qt():null,Ho!=="loading"?Er:null):null,q("div",{"data-content":"",className:MZ(Ke==null?void 0:Ke.content,v==null?void 0:(l=v.classNames)==null?void 0:l.content)},q("div",{"data-title":"",className:MZ(Ke==null?void 0:Ke.title,v==null?void 0:(c=v.classNames)==null?void 0:c.title)},v.jsx?v.jsx:typeof v.title==="function"?v.title():v.title),v.description?q("div",{"data-description":"",className:MZ(We,Ge,Ke==null?void 0:Ke.description,v==null?void 0:(d=v.classNames)==null?void 0:d.description)},typeof v.description==="function"?v.description():v.description):null),ts(v.cancel)?v.cancel:v.cancel&&z4(v.cancel)?q("button",{"data-button":!0,"data-cancel":!0,style:v.cancelButtonStyle||oe,onClick:(or)=>{if(!z4(v.cancel))return;if(!sn)return;v.cancel.onClick==null||v.cancel.onClick.call(v.cancel,or),zt()},className:MZ(Ke==null?void 0:Ke.cancelButton,v==null?void 0:(m=v.classNames)==null?void 0:m.cancelButton)},v.cancel.label):null,ts(v.action)?v.action:v.action&&z4(v.action)?q("button",{"data-button":!0,"data-action":!0,style:v.actionButtonStyle||ie,onClick:(or)=>{if(!z4(v.action))return;if(v.action.onClick==null||v.action.onClick.call(v.action,or),or.defaultPrevented)return;zt()},className:MZ(Ke==null?void 0:Ke.actionButton,v==null?void 0:(g=v.classNames)==null?void 0:g.actionButton)},v.action.label):null)};function Pue(){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 Ayt(e,r){let a={};return[e,r].forEach((i,s)=>{let l=s===1,c=l?"--mobile-offset":"--offset",d=l?Lyt:Syt;function m(g){["top","right","bottom","left"].forEach((M)=>{a[`${c}-${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[`${c}-${g}`]=d;else a[`${c}-${g}`]=typeof i[g]==="number"?`${i[g]}px`:i[g]});else m(d)}),a}var Aue=O(function(r,a){let{id:i,invert:s,position:l="bottom-right",hotkey:c=["altKey","KeyT"],expand:d,closeButton:m,className:g,offset:M,mobileOffset:v,theme:y="light",richColors:x,duration:_,style:j,visibleToasts:U=zyt,toastOptions:T,dir:N=Pue(),gap:G=Cyt,icons:X,customAriaLabel:J,containerAriaLabel:ee="Notifications"}=r,[re,oe]=u([]),ie=P(()=>{if(i)return re.filter((sr)=>sr.toasterId===i);return re.filter((sr)=>!sr.toasterId)},[re,i]),ye=P(()=>Array.from(new Set([l].concat(ie.filter((sr)=>sr.position).map((sr)=>sr.position)))),[ie,l]),[We,Ye]=u([]),[Se,He]=u(!1),[ut,Ke]=u(!1),[yt,At]=u(y!=="system"?y:typeof window<"u"?window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":"light"),jt=b(null),de=c.join("+").replace(/Key/g,"").replace(/Digit/g,""),bt=b(null),Wt=b(!1),je=D((sr)=>{oe((cr)=>{var rr;if(!((rr=cr.find((Or)=>Or.id===sr.id))==null?void 0:rr.delete))Qs.dismiss(sr.id);return cr.filter(({id:Or})=>Or!==sr.id)})},[]);return h(()=>Qs.subscribe((sr)=>{if(sr.dismiss){requestAnimationFrame(()=>{oe((cr)=>cr.map((rr)=>rr.id===sr.id?{...rr,delete:!0}:rr))});return}setTimeout(()=>{tn(()=>{oe((cr)=>{let rr=cr.findIndex((Or)=>Or.id===sr.id);if(rr!==-1)return[...cr.slice(0,rr),{...cr[rr],...sr},...cr.slice(rr+1)];return[sr,...cr]})})})}),[]),h(()=>{if(y!=="system"){At(y);return}if(y==="system")if(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches)At("dark");else At("light");if(typeof window>"u")return;let sr=window.matchMedia("(prefers-color-scheme: dark)");try{sr.addEventListener("change",({matches:cr})=>{if(cr)At("dark");else At("light")})}catch(cr){sr.addListener(({matches:rr})=>{try{if(rr)At("dark");else At("light")}catch(Or){console.error(Or)}})}},[y]),h(()=>{if(re.length<=1)He(!1)},[re]),h(()=>{let sr=(cr)=>{var rr;if(c.length>0&&c.every((Qt)=>cr[Qt]||cr.code===Qt)){var Gt;He(!0),(Gt=jt.current)==null||Gt.focus()}if(cr.code==="Escape"&&(document.activeElement===jt.current||((rr=jt.current)==null?void 0:rr.contains(document.activeElement))))He(!1)};return document.addEventListener("keydown",sr),()=>document.removeEventListener("keydown",sr)},[c]),h(()=>{if(jt.current)return()=>{if(bt.current)bt.current.focus({preventScroll:!0}),bt.current=null,Wt.current=!1}},[jt.current]),q("section",{ref:a,"aria-label":J!=null?J:`${ee} ${de}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0,"data-react-aria-top-layer":!0},ye.map((sr,cr)=>{var rr;let[Or,Gt]=sr.split("-");if(!ie.length)return null;return q("ol",{key:sr,dir:N==="auto"?Pue():N,tabIndex:-1,ref:jt,className:g,"data-sonner-toaster":!0,"data-sonner-theme":yt,"data-y-position":Or,"data-x-position":Gt,style:{"--front-toast-height":`${((rr=We[0])==null?void 0:rr.height)||0}px`,"--width":`${kyt}px`,"--gap":`${G}px`,...j,...Ayt(M,v)},onBlur:(Qt)=>{if(Wt.current&&!Qt.currentTarget.contains(Qt.relatedTarget)){if(Wt.current=!1,bt.current)bt.current.focus({preventScroll:!0}),bt.current=null}},onFocus:(Qt)=>{if(Qt.target instanceof HTMLElement&&Qt.target.dataset.dismissible==="false")return;if(!Wt.current)Wt.current=!0,bt.current=Qt.relatedTarget},onMouseEnter:()=>He(!0),onMouseMove:()=>He(!0),onMouseLeave:()=>{if(!ut)He(!1)},onDragEnd:()=>He(!1),onPointerDown:(Qt)=>{if(Qt.target instanceof HTMLElement&&Qt.target.dataset.dismissible==="false")return;Ke(!0)},onPointerUp:()=>Ke(!1)},ie.filter((Qt)=>!Qt.position&&cr===0||Qt.position===sr).map((Qt,Tr)=>{var Cr,Ar;return q(Tyt,{key:Qt.id,icons:X,index:Tr,toast:Qt,defaultRichColors:x,duration:(Cr=T==null?void 0:T.duration)!=null?Cr:_,className:T==null?void 0:T.className,descriptionClassName:T==null?void 0:T.descriptionClassName,invert:s,visibleToasts:U,closeButton:(Ar=T==null?void 0:T.closeButton)!=null?Ar:m,interacting:ut,position:sr,style:T==null?void 0:T.style,unstyled:T==null?void 0:T.unstyled,classNames:T==null?void 0:T.classNames,cancelButtonStyle:T==null?void 0:T.cancelButtonStyle,actionButtonStyle:T==null?void 0:T.actionButtonStyle,closeButtonAriaLabel:T==null?void 0:T.closeButtonAriaLabel,removeToast:je,toasts:ie.filter((dr)=>dr.position==Qt.position),heights:We.filter((dr)=>dr.position==Qt.position),setHeights:Ye,expandByDefault:d,gap:G,expanded:Se,swipeDirections:r.swipeDirections})}))}))});function yr({teamId:e,projectId:r,projectName:a,rootFolderId:i,dragState:s,onSelect:l,selectedFolderId:c,hideCollections:d,hideShares:m,hideRecentlyDeleted:g,hideRecents:M,ancestorFolders:v}){let y=ke(),x=Q(),{canEdit:_}=Dt(r),j=Mi({from:"/projects/$projectId/recently-deleted",shouldThrow:!1}),U=Mi({from:"/projects/$projectId/recents",shouldThrow:!1}),[T,N]=u(!0),[G,X]=u(!0),[J,ee]=u(!0),{data:re,fetchNextPage:oe,hasNextPage:ie,isFetchingNextPage:ye}=ft({queryKey:["shares",r],queryFn:async({pageParam:Oe})=>{let Fe=await A.api.projects[":projectId"].shares.$get({param:{projectId:r},query:{first:"20",after:Oe}});if(!Fe.ok)throw Error(g7e());return await Fe.json()},initialPageParam:"",getNextPageParam:(Oe)=>Oe.pageInfo?.cursor||void 0,enabled:!!r}),{data:We,fetchNextPage:Ye,hasNextPage:Se,isFetchingNextPage:He}=ft({queryKey:["collections",r],queryFn:async({pageParam:Oe})=>{let Fe=await A.api.projects[":projectId"].collections.$get({param:{projectId:r},query:{first:"20",after:Oe}});if(!Fe.ok)throw Error(i7e());return await Fe.json()},initialPageParam:"",getNextPageParam:(Oe)=>Oe.pageInfo?.cursor||void 0,enabled:!!r}),{ref:ut,inView:Ke}=Nt(),{ref:yt,inView:At}=Nt();h(()=>{if(Ke&&Se&&!He)Ye()},[Ke,Se,He,Ye]),h(()=>{if(At&&ie&&!ye)oe()},[At,ie,ye,oe]);let jt=P(()=>We?.pages.flatMap((Oe)=>Oe.data)||[],[We]),de=P(()=>re?.pages.flatMap((Oe)=>Oe.data)||[],[re]),{mutate:bt}=B({mutationFn:async()=>{let Oe=await A.api.projects[":projectId"].collections.$post({param:{projectId:r},json:{name:gA(),filter:{sourceFolderId:i,searchFilter:{conditions:[],recursively:!0}}}});if(!Oe.ok)throw Error(NYe());return await Oe.json()},onSuccess:(Oe)=>{x.invalidateQueries({queryKey:["collections",r]}),k.success(i5e()),y({to:"/projects/$projectId/collections/$collectionId",params:{projectId:r,collectionId:Oe.id}})},onError:(Oe)=>{k.error(`Error: ${Oe.message}`)}}),{mutate:Wt}=B({mutationFn:async()=>{let Oe=await A.api.projects[":projectId"].shares.$post({param:{projectId:r},json:{name:new Date().toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}});if(!Oe.ok)throw Error(VYe());return await Oe.json()},onSuccess:(Oe)=>{x.invalidateQueries({queryKey:["shares",r]}),k.success(xut()),y({to:"/projects/$projectId/shares/$shareId",params:{projectId:r,shareId:Oe.id}})},onError:(Oe)=>{k.error(`Error: ${Oe.message}`)}}),je=nl({from:"/projects/$projectId/collections/$collectionId",shouldThrow:!1}),sr=nl({from:"/projects/$projectId/shares/$shareId",shouldThrow:!1}),cr=nl({from:"/projects/$projectId/folders/$folderId",shouldThrow:!1}),[rr,Or]=u(null),[Gt,Qt]=u("collection"),[Tr,Cr]=u(""),[Ar,dr]=u(!1),[uo,lo]=u(null),[da,ir]=u("collection"),[io,Yr]=u(!1),{mutate:To}=B({mutationFn:async({id:Oe,name:Fe})=>{let Zt=await A.api.folders[":folderId"].$put({param:{folderId:Oe},json:{name:Fe}});if(!Zt.ok)throw Error(C7e());return await Zt.json()},onSuccess:()=>{x.invalidateQueries({queryKey:["search",e]}),x.invalidateQueries({queryKey:["folders"]}),k.success(v9e()),dr(!1)},onError:(Oe)=>{k.error(`Error: ${Oe.message}`)}}),{mutate:an}=B({mutationFn:async(Oe)=>{if(!(await A.api.folders.$delete({json:{ids:[Oe]}})).ok)throw Error(e7e());return Oe},onSuccess:(Oe)=>{if(x.invalidateQueries({queryKey:["search",e]}),x.invalidateQueries({queryKey:["folders"]}),k.success(d9e()),Yr(!1),cr?.folderId===Oe)y({to:"/projects/$projectId",params:{projectId:r}})},onError:(Oe)=>{k.error(`Error: ${Oe.message}`)}}),[Ho,En]=u(!1),[sn,Bi]=u(!1),[Ge,Pt]=u([]),br=async(Oe)=>{En(!0),Bi(!0),Pt([]);try{let Fe=await A.api.files["download-links"].$post({json:{ids:[Oe]}});if(!Fe.ok)throw Error(Sse());let Zt=await Fe.json();Pt(Zt.files)}catch(Fe){k.error(Sse()),En(!1),console.error(Fe)}finally{Bi(!1)}},Fr=()=>{let Oe=[...Ge];if(En(!1),Oe.length===0)return;k.info(bZt({count:Oe.length}),{duration:5000});let Fe=(St)=>new Promise((Ot)=>setTimeout(Ot,St));(async()=>{for(let Ot=0;Ot<Oe.length;Ot+=5){let fr=Oe.slice(Ot,Ot+5);for(let Tt of fr){let zt=document.createElement("a");zt.href=Tt.url,zt.download=Tt.name,zt.target="_blank",document.body.appendChild(zt),zt.click(),zt.remove()}await Fe(1000)}})().catch((St)=>{console.error("Background downloads failed:",St),k.error(Edt())})},{mutate:ao}=B({mutationFn:async({id:Oe,name:Fe})=>{let Zt=await A.api.collections[":collectionId"].$patch({param:{collectionId:Oe},json:{name:Fe}});if(!Zt.ok)throw Error(S7e());return await Zt.json()},onSuccess:()=>{x.invalidateQueries({queryKey:["collections",r]}),k.success(p5e()),dr(!1)},onError:(Oe)=>{k.error(`Error: ${Oe.message}`)}}),{mutate:Vo}=B({mutationFn:async(Oe)=>{let Fe=await A.api.collections[":collectionId"].$delete({param:{collectionId:Oe}});if(!Fe.ok)throw Error(KYe());return await Fe.json()},onSuccess:(Oe,Fe)=>{if(x.invalidateQueries({queryKey:["collections",r]}),k.success(l5e()),Yr(!1),je?.collectionId===Fe)y({to:"/projects/$projectId",params:{projectId:r}})},onError:(Oe)=>{k.error(`Error: ${Oe.message}`)}}),{mutate:Aa}=B({mutationFn:async({id:Oe,name:Fe})=>{let Zt=await A.api.shares[":shareId"].$put({param:{shareId:Oe},json:{name:Fe}});if(!Zt.ok)throw Error(P7e());return await Zt.json()},onSuccess:()=>{x.invalidateQueries({queryKey:["shares",r]}),k.success(Sut()),dr(!1)},onError:(Oe)=>{k.error(`Error: ${Oe.message}`)}}),{mutate:Ee}=B({mutationFn:async(Oe)=>{if(!(await A.api.shares[":shareId"].$delete({param:{shareId:Oe}})).ok)throw Error(o7e());return Oe},onSuccess:(Oe)=>{if(x.invalidateQueries({queryKey:["shares",r]}),k.success(_ut()),Yr(!1),sr?.shareId===Oe)y({to:"/projects/$projectId",params:{projectId:r}})},onError:(Oe)=>{k.error(`Error: ${Oe.message}`)}});return o("div",{className:"flex flex-col h-full overflow-hidden p-3 gap-4 bg-background",children:[o("div",{className:C("flex flex-col overflow-hidden transition-all duration-300 ease-in-out border-b border-border pb-4",T?"flex-1 min-h-[50%] h-full":"flex-none h-[44px] max-h-[44px]"),children:[t("header",{className:"group flex items-center justify-between px-2 mb-1 flex-none",children:o("div",{className:"flex-1 flex items-center gap-1.5 cursor-pointer select-none text-muted-foreground hover:text-foreground transition-colors",onClick:()=>N(!T),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:kse()}),T?t(Lz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(kz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]})}),t(ce,{className:C("flex-1 min-h-0 transition-all duration-300 ease-in-out [&>div>div]:block!",T?"opacity-100 visible pointer-events-auto":"opacity-0 invisible pointer-events-none h-0"),children:o("div",{className:"space-y-0.5 pr-3",children:[!M&&o("div",{className:C("group flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",U&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium"),onClick:()=>y({to:"/projects/$projectId/recents",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(Os,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:Og()})]}),t(Eue,{teamId:e,projectId:r,folder:{id:i,name:a,type:"folder",sizeByte:0,fileCount:0,status:"processed",createdAt:"",updatedAt:""},level:0,isRoot:!0,dragState:s,onSelect:l,selectedFolderId:c,canEdit:_,onRenameTrigger:(Oe,Fe)=>{Or(Oe),Qt("folder"),Cr(Fe),dr(!0)},onDeleteTrigger:(Oe)=>{lo(Oe),ir("folder"),Yr(!0)},onDownloadTrigger:(Oe)=>{br(Oe)},ancestorFolders:v},i),_&&!g&&o("div",{className:C("group flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",j&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium"),onClick:()=>y({to:"/projects/$projectId/recently-deleted",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(we,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:Dg()})]})]})})]}),!d&&o("div",{className:C("flex flex-col overflow-hidden transition-all duration-300 ease-in-out border-b border-border pb-4",G?"flex-1 min-h-0 h-full":"flex-none h-[44px] max-h-[44px]"),children:[o("header",{className:"group flex items-center justify-between px-2 mb-1 flex-none",children:[o("div",{className:"flex-1 flex items-center gap-1.5 cursor-pointer select-none text-muted-foreground hover:text-foreground transition-colors",onClick:()=>X(!G),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:v5e()}),G?t(Lz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(kz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]}),_&&t("button",{"data-testid":"create-collection",onClick:()=>bt(),className:"text-muted-foreground hover:text-foreground flex-none",children:t(pe,{className:"h-3.5 w-3.5"})})]}),t(ce,{className:C("flex-1 min-h-0 transition-all duration-300 ease-in-out [&>div>div]:block!",G?"opacity-100 visible pointer-events-auto":"opacity-0 invisible pointer-events-none h-0"),children:o("div",{className:"space-y-0.5 pr-3",children:[o("div",{className:"group flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",onClick:()=>y({to:"/projects/$projectId/collections",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(to,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:PDe({count:We?.pages[0]?.pageInfo?.total||0})})]}),jt.map((Oe)=>{let Fe=je?.collectionId===Oe.id;return o("div",{className:C("group flex cursor-pointer items-center justify-between rounded-md px-2 py-1 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground min-w-0",Fe&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium"),onClick:()=>y({to:"/projects/$projectId/collections/$collectionId",params:{projectId:r,collectionId:Oe.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(Ji,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"truncate text-sidebar-foreground flex-1",children:Oe.name})]}),_&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity shrink-0",onClick:(Zt)=>Zt.stopPropagation(),children:o(he,{modal:!1,children:[t(ge,{asChild:!0,children:t(E,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(nr,{className:"h-3.5 w-3.5"})})}),o(Ae,{align:"end",className:"w-32",children:[t(W,{onClick:()=>{Or(Oe.id),Qt("collection"),Cr(Oe.name),dr(!0)},children:Fo()}),t(W,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{lo(Oe.id),ir("collection"),Yr(!0)},children:at()})]})]})})]},Oe.id)}),t("div",{ref:ut,className:"h-1"}),He&&t("div",{className:"flex justify-center p-2",children:t(F,{className:"h-4 w-4 animate-spin text-muted-foreground"})})]})})]}),!m&&o("div",{className:C("flex flex-col overflow-hidden transition-all duration-300 ease-in-out",J?"flex-1 min-h-0 h-full":"flex-none h-[44px] max-h-[44px]"),children:[o("header",{className:"group flex items-center justify-between px-2 mb-1 flex-none",children:[o("div",{className:"flex-1 flex items-center gap-1.5 cursor-pointer select-none text-muted-foreground hover:text-foreground transition-colors",onClick:()=>ee(!J),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:Rut()}),J?t(Lz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(kz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]}),_&&t("div",{className:"flex items-center gap-1 flex-none",children:t("button",{onClick:()=>Wt(),className:"text-muted-foreground hover:text-foreground",children:t(pe,{className:"h-3.5 w-3.5"})})})]}),t(ce,{className:C("flex-1 min-h-0 transition-all duration-300 ease-in-out [&>div>div]:block!",J?"opacity-100 visible pointer-events-auto":"opacity-0 invisible pointer-events-none h-0"),children:o("div",{className:"space-y-0.5 pr-3",children:[o("div",{className:"group flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",onClick:()=>y({to:"/projects/$projectId/shares",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(to,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:GDe({count:re?.pages[0]?.pageInfo?.total||0})})]}),de.map((Oe)=>t(Eyt,{link:Oe,projectId:r,dragState:s,canEdit:_,onRenameTrigger:(Fe,Zt)=>{Or(Fe),Qt("share"),Cr(Zt),dr(!0)},onDeleteTrigger:(Fe)=>{lo(Fe),ir("share"),Yr(!0)}},Oe.id)),t("div",{ref:yt,className:"h-1"}),ye&&t("div",{className:"flex justify-center p-2",children:t(F,{className:"h-4 w-4 animate-spin text-muted-foreground"})})]})})]}),t(ue,{open:Ar,onOpenChange:dr,children:o(ae,{onClick:(Oe)=>Oe.stopPropagation(),children:[t(fe,{children:t(le,{children:Gt==="collection"?Sft():Gt==="share"?Pft():Cft()})}),t("div",{className:"py-4",children:t(H,{value:Tr,onChange:(Oe)=>Cr(Oe.target.value),placeholder:pd(),onKeyDown:(Oe)=>{if(Oe.key==="Enter"&&Tr.trim()){if(Gt==="collection")ao({id:rr,name:Tr});else if(Gt==="share")Aa({id:rr,name:Tr});else if(Gt==="folder")To({id:rr,name:Tr})}}})}),o(qe,{children:[t(E,{variant:"ghost",onClick:()=>dr(!1),children:Pe()}),t(E,{disabled:!Tr.trim(),onClick:()=>{if(Gt==="collection")ao({id:rr,name:Tr});else if(Gt==="share")Aa({id:rr,name:Tr});else if(Gt==="folder")To({id:rr,name:Tr})},children:Fo()})]})]})}),t(Je,{open:io,onOpenChange:Yr,children:o(Xe,{onClick:(Oe)=>Oe.stopPropagation(),children:[o(et,{children:[t(rt,{children:da==="collection"?_3e():da==="share"?s6e():E3e()}),t(nt,{children:I3e({type:da==="collection"?o5e():da==="share"?gut():Rh().toLowerCase()})})]}),o(tt,{children:[t(st,{children:Pe()}),t(ot,{className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",onClick:()=>{if(da==="collection")Vo(uo);else if(da==="share")Ee(uo);else if(da==="folder")an(uo)},children:at()})]})]})}),t(ue,{open:Ho,onOpenChange:En,children:o(ae,{className:"sm:max-w-md",children:[o(fe,{children:[t(le,{children:sn?gg():rh()}),t(Ct,{children:sn?Zg():Nh()})]}),sn?o("div",{className:"space-y-4 py-6 flex flex-col items-center justify-center",children:[t(F,{className:"h-8 w-8 animate-spin text-primary"}),t("span",{className:"text-sm font-medium text-muted-foreground mt-2",children:Ag()})]}):o("div",{className:"space-y-4 py-2",children:[t("div",{className:"text-sm text-muted-foreground",children:ph({count:Ge.length})}),o("div",{className:"flex items-start gap-3 p-3 text-sm rounded-lg bg-amber-50 dark:bg-amber-950/30 text-amber-800 dark:text-amber-300 border border-amber-200 dark:border-amber-900/30",children:[t(Gr,{className:"h-5 w-5 shrink-0 mt-0.5"}),o("div",{children:[t("p",{className:"font-semibold",children:ig()}),t("p",{className:"mt-0.5 text-xs text-amber-700/90 dark:text-amber-400/90",children:Dh()})]})]})]}),t(qe,{children:!sn?o(L,{children:[t(E,{variant:"outline",onClick:()=>En(!1),children:Pe()}),o(E,{onClick:Fr,className:"gap-2",disabled:Ge.length===0,children:[t(wt,{className:"h-4 w-4"}),oA()]})]}):t(E,{disabled:!0,variant:"outline",children:Pe()})})]})})]})}function Eyt({link:e,projectId:r,dragState:a,canEdit:i,onRenameTrigger:s,onDeleteTrigger:l}){let c=ke(),m=nl({from:"/projects/$projectId/shares/$shareId",shouldThrow:!1})?.shareId===e.id,{ref:g,isDropTarget:M}=Pr({id:`share:${e.id}`,data:{type:"share-link",id:e.id}}),v=!!a?.isActive;return o("div",{ref:g,className:C("group flex cursor-pointer items-center justify-between rounded-md px-2 py-1 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground min-w-0",m&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium",M&&v&&"bg-sidebar-accent ring-2 ring-primary ring-inset"),onClick:()=>c({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(Ma,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"truncate text-sidebar-foreground flex-1",children:e.name})]}),i&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity shrink-0",onClick:(y)=>y.stopPropagation(),children:o(he,{modal:!1,children:[t(ge,{asChild:!0,children:t(E,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(nr,{className:"h-3.5 w-3.5"})})}),o(Ae,{align:"end",className:"w-32",children:[t(W,{onClick:()=>{s(e.id,e.name)},children:Fo()}),t(W,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{l(e.id)},children:at()})]})]})})]})}function Eue({teamId:e,projectId:r,folder:a,level:i,isRoot:s,dragState:l,onSelect:c,selectedFolderId:d,canEdit:m,onRenameTrigger:g,onDeleteTrigger:M,onDownloadTrigger:v,ancestorFolders:y}){let x=P(()=>y?.some((Wt)=>Wt.id===a.id)??!1,[y,a.id]),[_,j]=u(s||x);h(()=>{if(x)j(!0)},[x]);let U=ke(),T=nl({from:"/projects/$projectId/folders/$folderId",select:(Wt)=>({folderId:Wt.folderId}),shouldThrow:!1}),N=nl({from:"/projects/$projectId/",shouldThrow:!1}),G=s?!!N:T?.folderId===a.id,{data:X,fetchNextPage:J,hasNextPage:ee,isFetchingNextPage:re,isLoading:oe}=ft({queryKey:["folders",a.id,"children",{assetType:"folder"}],queryFn:async({pageParam:Wt})=>{let je=await A.api.folders[":folderId"].children.$get({param:{folderId:a.id},query:{assetType:"folder",after:Wt,first:"20"}});if(!je.ok)throw Error(K7e());return await je.json()},initialPageParam:"",getNextPageParam:(Wt)=>Wt.pageInfo?.cursor||void 0,enabled:_||!!s}),{ref:ie,inView:ye}=Nt();h(()=>{if(ye&&ee&&!re)J()},[ye,ee,re,J]);let We=X?.pages.flatMap((Wt)=>Wt.data??[])??[],Ye=(Wt)=>{Wt.stopPropagation(),j(!_)},Se=()=>{if(c){c(a);return}if(s)U({to:"/projects/$projectId",params:{projectId:r}});else U({to:"/projects/$projectId/folders/$folderId",params:{projectId:r,folderId:a.id}})},{ref:He,isDragging:ut}=_s({id:`tree:${a.id}`,data:{type:"folder",item:a},disabled:!!s||!!c||!m}),{ref:Ke,isDropTarget:yt}=Pr({id:`tree:${a.id}`,data:{type:"folder",item:a},disabled:l?.draggedIds.has(a.id)||!!c||!m}),At=(Wt)=>{He(Wt),Ke(Wt)},jt=P(()=>{if(c)return!1;if(!l?.isActive)return!1;if(l.draggedIds.has(a.id))return!1;return!0},[l,a.id,c]),de=yt&&jt,bt=d===a.id;return o("div",{children:[o("div",{ref:At,className:C("group flex cursor-pointer items-center gap-1 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground min-w-0",(G||bt)&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium",ut&&"opacity-50",de&&"bg-sidebar-accent ring-2 ring-primary ring-inset"),style:{...s?{}:{paddingLeft:`${i*12+8}px`}},onClick:Se,children:[!s&&t("button",{onClick:Ye,className:"flex h-4 w-4 items-center justify-center shrink-0",children:_?t(ve,{className:"h-3 w-3"}):t(vt,{className:"h-3 w-3"})}),s?t(VT,{className:"h-4 w-4 text-sidebar-primary shrink-0"}):t(tr,{className:"h-4 w-4 text-sidebar-primary shrink-0"}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:a.name}),m&&!s&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity shrink-0",onClick:(Wt)=>Wt.stopPropagation(),children:o(he,{modal:!1,children:[t(ge,{asChild:!0,children:t(E,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(nr,{className:"h-3.5 w-3.5"})})}),o(Ae,{align:"end",className:"w-32",children:[o(W,{onClick:()=>{g(a.id,a.name)},children:[t($r,{className:"mr-2 h-4 w-4"}),Fo()]}),o(W,{onClick:()=>{v(a.id)},children:[t(wt,{className:"mr-2 h-4 w-4"}),mr()]}),t(Vt,{}),o(W,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{M(a.id)},children:[t(we,{className:"mr-2 h-4 w-4"}),at()]})]})]})})]}),_&&o("div",{children:[oe&&t("div",{className:"flex items-center justify-center p-2",style:{paddingLeft:`${(i+1)*12+8}px`},children:t(F,{className:"h-4 w-4 animate-spin"})}),We.map((Wt)=>t(Eue,{teamId:e,projectId:r,folder:Wt,level:i+1,dragState:l,onSelect:c,selectedFolderId:d,canEdit:m,onRenameTrigger:g,onDeleteTrigger:M,onDownloadTrigger:v,ancestorFolders:y},Wt.id)),ee&&t("div",{ref:ie,className:"flex items-center justify-center p-2",style:{paddingLeft:`${(i+1)*12+8}px`},children:re&&t(F,{className:"h-4 w-4 animate-spin"})})]})]})}var Dyt=Math.pow(10,8)*24*60*60*1000,nMn=-Dyt,S4=604800000,Due=86400000,vH=60000,ZD=3600000;var xH=Symbol.for("constructDateFrom");function ct(e,r){if(typeof e==="function")return e(r);if(e&&typeof e==="object"&&xH in e)return e[xH](r);if(e instanceof Date)return new e.constructor(r);return new Date(r)}function xe(e,r){return ct(r||e,e)}function ER(e,r,a){let i=xe(e,a?.in);if(isNaN(r))return ct(a?.in||e,NaN);if(!r)return i;return i.setDate(i.getDate()+r),i}function La(e,r,a){let i=xe(e,a?.in);if(isNaN(r))return ct(a?.in||e,NaN);if(!r)return i;let s=i.getDate(),l=ct(a?.in||e,i.getTime());l.setMonth(i.getMonth()+r+1,0);let c=l.getDate();if(s>=c)return l;else return i.setFullYear(l.getFullYear(),l.getMonth(),s),i}function Oue(e,r,a){return ct(a?.in||e,+xe(e)+r)}function jue(e,r,a){return Oue(e,r*ZD,a)}var Oyt={};function vZ(){return Oyt}function xu(e,r){let a=vZ(),i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,s=xe(e,r?.in),l=s.getDay(),c=(l<i?7:0)+l-i;return s.setDate(s.getDate()-c),s.setHours(0,0,0,0),s}function aM(e,r){return xu(e,{...r,weekStartsOn:1})}function L4(e,r){let a=xe(e,r?.in),i=a.getFullYear(),s=ct(a,0);s.setFullYear(i+1,0,4),s.setHours(0,0,0,0);let l=aM(s),c=ct(a,0);c.setFullYear(i,0,4),c.setHours(0,0,0,0);let d=aM(c);if(a.getTime()>=l.getTime())return i+1;else if(a.getTime()>=d.getTime())return i;else return i-1}function yH(e){let r=xe(e),a=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return a.setUTCFullYear(r.getFullYear()),+e-+a}function Js(e,...r){let a=ct.bind(null,e||r.find((i)=>typeof i==="object"));return r.map(a)}function C8(e,r){let a=xe(e,r?.in);return a.setHours(0,0,0,0),a}function I8(e,r,a){let[i,s]=Js(a?.in,e,r),l=C8(i),c=C8(s),d=+l-yH(l),m=+c-yH(c);return Math.round((d-m)/Due)}function Nue(e,r){let a=L4(e,r),i=ct(r?.in||e,0);return i.setFullYear(a,0,4),i.setHours(0,0,0,0),aM(i)}function pD(e,r,a){return ER(e,r*7,a)}function Fue(e,r,a){return La(e,r*12,a)}function Bue(e,r){let a,i=r?.in;return e.forEach((s)=>{if(!i&&typeof s==="object")i=ct.bind(null,s);let l=xe(s,i);if(!a||a<l||isNaN(+l))a=l}),ct(i,a||NaN)}function Yue(e,r){let a,i=r?.in;return e.forEach((s)=>{if(!i&&typeof s==="object")i=ct.bind(null,s);let l=xe(s,i);if(!a||a>l||isNaN(+l))a=l}),ct(i,a||NaN)}function k4(e){return ct(e,Date.now())}function DR(e,r,a){let[i,s]=Js(a?.in,e,r);return+C8(i)===+C8(s)}function C4(e){return e instanceof Date||typeof e==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function ra(e){return!(!C4(e)&&typeof e!=="number"||isNaN(+xe(e)))}function I4(e,r,a){let[i,s]=Js(a?.in,e,r),l=i.getFullYear()-s.getFullYear(),c=i.getMonth()-s.getMonth();return l*12+c}function bH(e,r,a){let[i,s]=Js(a?.in,e,r),l=Uue(i,s),c=Math.abs(I8(i,s));i.setDate(i.getDate()-l*c);let d=Number(Uue(i,s)===-l),m=l*(c-d);return m===0?0:m}function Uue(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 jd(e,r){let a=xe(e,r?.in),i=a.getMonth();return a.setFullYear(a.getFullYear(),i+1,0),a.setHours(23,59,59,999),a}function kl(e,r){let[a,i]=Js(e,r.start,r.end);return{start:a,end:i}}function que(e,r){let{start:a,end:i}=kl(r?.in,e),s=+a>+i,l=s?+a:+i,c=s?i:a;c.setHours(0,0,0,0),c.setDate(1);let d=r?.step??1;if(!d)return[];if(d<0)d=-d,s=!s;let m=[];while(+c<=l)m.push(ct(a,c)),c.setMonth(c.getMonth()+d);return s?m.reverse():m}function Hue(e,r){let a=xe(e,r?.in);return a.setDate(1),a.setHours(0,0,0,0),a}function Vue(e,r){let a=xe(e,r?.in),i=a.getFullYear();return a.setFullYear(i+1,0,0),a.setHours(23,59,59,999),a}function R4(e,r){let a=xe(e,r?.in);return a.setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a}function Wue(e,r){let{start:a,end:i}=kl(r?.in,e),s=+a>+i,l=s?+a:+i,c=s?i:a;c.setHours(0,0,0,0),c.setMonth(0,1);let d=r?.step??1;if(!d)return[];if(d<0)d=-d,s=!s;let m=[];while(+c<=l)m.push(ct(a,c)),c.setFullYear(c.getFullYear()+d);return s?m.reverse():m}function P4(e,r){let a=vZ(),i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,s=xe(e,r?.in),l=s.getDay(),c=(l<i?-7:0)+6-(l-i);return s.setDate(s.getDate()+c),s.setHours(23,59,59,999),s}function Gue(e,r){return P4(e,{...r,weekStartsOn:1})}var jyt={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"}},Kue=(e,r,a)=>{let i,s=jyt[e];if(typeof s==="string")i=s;else if(r===1)i=s.one;else i=s.other.replace("{{count}}",r.toString());if(a?.addSuffix)if(a.comparison&&a.comparison>0)return"in "+i;else return i+" ago";return i};function T4(e){return(r={})=>{let a=r.width?String(r.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}var Nyt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Fyt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Byt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Xue={date:T4({formats:Nyt,defaultWidth:"full"}),time:T4({formats:Fyt,defaultWidth:"full"}),dateTime:T4({formats:Byt,defaultWidth:"full"})};var Yyt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Que=(e,r,a,i)=>Yyt[e];function OR(e){return(r,a)=>{let i=a?.context?String(a.context):"standalone",s;if(i==="formatting"&&e.formattingValues){let c=e.defaultFormattingWidth||e.defaultWidth,d=a?.width?String(a.width):c;s=e.formattingValues[d]||e.formattingValues[c]}else{let c=e.defaultWidth,d=a?.width?String(a.width):e.defaultWidth;s=e.values[d]||e.values[c]}let l=e.argumentCallback?e.argumentCallback(r):r;return s[l]}}var Uyt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},qyt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Hyt={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"]},Vyt={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"]},Wyt={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"}},Gyt={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"}},Kyt=(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"},Jue={ordinalNumber:Kyt,era:OR({values:Uyt,defaultWidth:"wide"}),quarter:OR({values:qyt,defaultWidth:"wide",argumentCallback:(e)=>e-1}),month:OR({values:Hyt,defaultWidth:"wide"}),day:OR({values:Vyt,defaultWidth:"wide"}),dayPeriod:OR({values:Wyt,defaultWidth:"wide",formattingValues:Gyt,defaultFormattingWidth:"wide"})};function jR(e){return(r,a={})=>{let i=a.width,s=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],l=r.match(s);if(!l)return null;let c=l[0],d=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],m=Array.isArray(d)?Qyt(d,(v)=>v.test(c)):Xyt(d,(v)=>v.test(c)),g;g=e.valueCallback?e.valueCallback(m):m,g=a.valueCallback?a.valueCallback(g):g;let M=r.slice(c.length);return{value:g,rest:M}}}function Xyt(e,r){for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&r(e[a]))return a;return}function Qyt(e,r){for(let a=0;a<e.length;a++)if(r(e[a]))return a;return}function $ue(e){return(r,a={})=>{let i=r.match(e.matchPattern);if(!i)return null;let s=i[0],l=r.match(e.parsePattern);if(!l)return null;let c=e.valueCallback?e.valueCallback(l[0]):l[0];c=a.valueCallback?a.valueCallback(c):c;let d=r.slice(s.length);return{value:c,rest:d}}}var Jyt=/^(\d+)(th|st|nd|rd)?/i,$yt=/\d+/i,ebt={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},tbt={any:[/^b/i,/^(a|c)/i]},rbt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},obt={any:[/1/i,/2/i,/3/i,/4/i]},abt={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},nbt={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]},ibt={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},fbt={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]},sbt={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},lbt={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}},ede={ordinalNumber:$ue({matchPattern:Jyt,parsePattern:$yt,valueCallback:(e)=>parseInt(e,10)}),era:jR({matchPatterns:ebt,defaultMatchWidth:"wide",parsePatterns:tbt,defaultParseWidth:"any"}),quarter:jR({matchPatterns:rbt,defaultMatchWidth:"wide",parsePatterns:obt,defaultParseWidth:"any",valueCallback:(e)=>e+1}),month:jR({matchPatterns:abt,defaultMatchWidth:"wide",parsePatterns:nbt,defaultParseWidth:"any"}),day:jR({matchPatterns:ibt,defaultMatchWidth:"wide",parsePatterns:fbt,defaultParseWidth:"any"}),dayPeriod:jR({matchPatterns:sbt,defaultMatchWidth:"any",parsePatterns:lbt,defaultParseWidth:"any"})};var nM={code:"en-US",formatDistance:Kue,formatLong:Xue,formatRelative:Que,localize:Jue,match:ede,options:{weekStartsOn:0,firstWeekContainsDate:1}};function tde(e,r){let a=xe(e,r?.in);return I8(a,R4(a))+1}function NR(e,r){let a=xe(e,r?.in),i=+aM(a)-+Nue(a);return Math.round(i/S4)+1}function A4(e,r){let a=xe(e,r?.in),i=a.getFullYear(),s=vZ(),l=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,c=ct(r?.in||e,0);c.setFullYear(i+1,0,l),c.setHours(0,0,0,0);let d=xu(c,r),m=ct(r?.in||e,0);m.setFullYear(i,0,l),m.setHours(0,0,0,0);let g=xu(m,r);if(+a>=+d)return i+1;else if(+a>=+g)return i;else return i-1}function rde(e,r){let a=vZ(),i=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,s=A4(e,r),l=ct(r?.in||e,0);return l.setFullYear(s,0,i),l.setHours(0,0,0,0),xu(l,r)}function FR(e,r){let a=xe(e,r?.in),i=+xu(a,r)-+rde(a,r);return Math.round(i/S4)+1}function qo(e,r){let a=e<0?"-":"",i=Math.abs(e).toString().padStart(r,"0");return a+i}var iM={y(e,r){let a=e.getFullYear(),i=a>0?a:1-a;return qo(r==="yy"?i%100:i,r.length)},M(e,r){let a=e.getMonth();return r==="M"?String(a+1):qo(a+1,2)},d(e,r){return qo(e.getDate(),r.length)},a(e,r){let a=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h(e,r){return qo(e.getHours()%12||12,r.length)},H(e,r){return qo(e.getHours(),r.length)},m(e,r){return qo(e.getMinutes(),r.length)},s(e,r){return qo(e.getSeconds(),r.length)},S(e,r){let a=r.length,i=e.getMilliseconds(),s=Math.trunc(i*Math.pow(10,a-3));return qo(s,r.length)}};var BR={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},_H={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(),s=i>0?i:1-i;return a.ordinalNumber(s,{unit:"year"})}return iM.y(e,r)},Y:function(e,r,a,i){let s=A4(e,i),l=s>0?s:1-s;if(r==="YY"){let c=l%100;return qo(c,2)}if(r==="Yo")return a.ordinalNumber(l,{unit:"year"});return qo(l,r.length)},R:function(e,r){let a=L4(e);return qo(a,r.length)},u:function(e,r){let a=e.getFullYear();return qo(a,r.length)},Q:function(e,r,a){let i=Math.ceil((e.getMonth()+1)/3);switch(r){case"Q":return String(i);case"QQ":return qo(i,2);case"Qo":return a.ordinalNumber(i,{unit:"quarter"});case"QQQ":return a.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,r,a){let i=Math.ceil((e.getMonth()+1)/3);switch(r){case"q":return String(i);case"qq":return qo(i,2);case"qo":return a.ordinalNumber(i,{unit:"quarter"});case"qqq":return a.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,r,a){let i=e.getMonth();switch(r){case"M":case"MM":return iM.M(e,r);case"Mo":return a.ordinalNumber(i+1,{unit:"month"});case"MMM":return a.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(i,{width:"wide",context:"formatting"})}},L:function(e,r,a){let i=e.getMonth();switch(r){case"L":return String(i+1);case"LL":return qo(i+1,2);case"Lo":return a.ordinalNumber(i+1,{unit:"month"});case"LLL":return a.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(i,{width:"wide",context:"standalone"})}},w:function(e,r,a,i){let s=FR(e,i);if(r==="wo")return a.ordinalNumber(s,{unit:"week"});return qo(s,r.length)},I:function(e,r,a){let i=NR(e);if(r==="Io")return a.ordinalNumber(i,{unit:"week"});return qo(i,r.length)},d:function(e,r,a){if(r==="do")return a.ordinalNumber(e.getDate(),{unit:"date"});return iM.d(e,r)},D:function(e,r,a){let i=tde(e);if(r==="Do")return a.ordinalNumber(i,{unit:"dayOfYear"});return qo(i,r.length)},E:function(e,r,a){let i=e.getDay();switch(r){case"E":case"EE":case"EEE":return a.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(i,{width:"short",context:"formatting"});case"EEEE":default:return a.day(i,{width:"wide",context:"formatting"})}},e:function(e,r,a,i){let s=e.getDay(),l=(s-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(l);case"ee":return qo(l,2);case"eo":return a.ordinalNumber(l,{unit:"day"});case"eee":return a.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(s,{width:"short",context:"formatting"});case"eeee":default:return a.day(s,{width:"wide",context:"formatting"})}},c:function(e,r,a,i){let s=e.getDay(),l=(s-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(l);case"cc":return qo(l,r.length);case"co":return a.ordinalNumber(l,{unit:"day"});case"ccc":return a.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(s,{width:"narrow",context:"standalone"});case"cccccc":return a.day(s,{width:"short",context:"standalone"});case"cccc":default:return a.day(s,{width:"wide",context:"standalone"})}},i:function(e,r,a){let i=e.getDay(),s=i===0?7:i;switch(r){case"i":return String(s);case"ii":return qo(s,r.length);case"io":return a.ordinalNumber(s,{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 s=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return a.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(e,r,a){let i=e.getHours(),s;if(i===12)s=BR.noon;else if(i===0)s=BR.midnight;else s=i/12>=1?"pm":"am";switch(r){case"b":case"bb":return a.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(e,r,a){let i=e.getHours(),s;if(i>=17)s=BR.evening;else if(i>=12)s=BR.afternoon;else if(i>=4)s=BR.morning;else s=BR.night;switch(r){case"B":case"BB":case"BBB":return a.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(e,r,a){if(r==="ho"){let i=e.getHours()%12;if(i===0)i=12;return a.ordinalNumber(i,{unit:"hour"})}return iM.h(e,r)},H:function(e,r,a){if(r==="Ho")return a.ordinalNumber(e.getHours(),{unit:"hour"});return iM.H(e,r)},K:function(e,r,a){let i=e.getHours()%12;if(r==="Ko")return a.ordinalNumber(i,{unit:"hour"});return qo(i,r.length)},k:function(e,r,a){let i=e.getHours();if(i===0)i=24;if(r==="ko")return a.ordinalNumber(i,{unit:"hour"});return qo(i,r.length)},m:function(e,r,a){if(r==="mo")return a.ordinalNumber(e.getMinutes(),{unit:"minute"});return iM.m(e,r)},s:function(e,r,a){if(r==="so")return a.ordinalNumber(e.getSeconds(),{unit:"second"});return iM.s(e,r)},S:function(e,r){return iM.S(e,r)},X:function(e,r,a){let i=e.getTimezoneOffset();if(i===0)return"Z";switch(r){case"X":return ade(i);case"XXXX":case"XX":return gL(i);case"XXXXX":case"XXX":default:return gL(i,":")}},x:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"x":return ade(i);case"xxxx":case"xx":return gL(i);case"xxxxx":case"xxx":default:return gL(i,":")}},O:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+ode(i,":");case"OOOO":default:return"GMT"+gL(i,":")}},z:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+ode(i,":");case"zzzz":default:return"GMT"+gL(i,":")}},t:function(e,r,a){let i=Math.trunc(+e/1000);return qo(i,r.length)},T:function(e,r,a){return qo(+e,r.length)}};function ode(e,r=""){let a=e>0?"-":"+",i=Math.abs(e),s=Math.trunc(i/60),l=i%60;if(l===0)return a+String(s);return a+String(s)+r+qo(l,2)}function ade(e,r){if(e%60===0)return(e>0?"-":"+")+qo(Math.abs(e)/60,2);return gL(e,r)}function gL(e,r=""){let a=e>0?"-":"+",i=Math.abs(e),s=qo(Math.trunc(i/60),2),l=qo(i%60,2);return a+s+r+l}var nde=(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"})}},ide=(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"})}},cbt=(e,r)=>{let a=e.match(/(P+)(p+)?/)||[],i=a[1],s=a[2];if(!s)return nde(e,r);let l;switch(i){case"P":l=r.dateTime({width:"short"});break;case"PP":l=r.dateTime({width:"medium"});break;case"PPP":l=r.dateTime({width:"long"});break;case"PPPP":default:l=r.dateTime({width:"full"});break}return l.replace("{{date}}",nde(i,r)).replace("{{time}}",ide(s,r))},fde={p:ide,P:cbt};var ubt=/^D+$/,dbt=/^Y+$/,Zbt=["D","DD","YY","YYYY"];function sde(e){return ubt.test(e)}function lde(e){return dbt.test(e)}function cde(e,r,a){let i=pbt(e,r,a);if(console.warn(i),Zbt.includes(e))throw RangeError(i)}function pbt(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 mbt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,hbt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,gbt=/^'([^]*?)'?$/,Mbt=/''/g,vbt=/[a-zA-Z]/;function hr(e,r,a){let i=vZ(),s=a?.locale??i.locale??nM,l=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,c=a?.weekStartsOn??a?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,d=xe(e,a?.in);if(!ra(d))throw RangeError("Invalid time value");let m=r.match(hbt).map((M)=>{let v=M[0];if(v==="p"||v==="P"){let y=fde[v];return y(M,s.formatLong)}return M}).join("").match(mbt).map((M)=>{if(M==="''")return{isToken:!1,value:"'"};let v=M[0];if(v==="'")return{isToken:!1,value:xbt(M)};if(_H[v])return{isToken:!0,value:M};if(v.match(vbt))throw RangeError("Format string contains an unescaped latin alphabet character `"+v+"`");return{isToken:!1,value:M}});if(s.localize.preprocessor)m=s.localize.preprocessor(d,m);let g={firstWeekContainsDate:l,weekStartsOn:c,locale:s};return m.map((M)=>{if(!M.isToken)return M.value;let v=M.value;if(!a?.useAdditionalWeekYearTokens&&lde(v)||!a?.useAdditionalDayOfYearTokens&&sde(v))cde(v,r,String(e));let y=_H[v[0]];return y(d,v,s.localize,g)}).join("")}function xbt(e){let r=e.match(gbt);if(!r)return e;return r[1].replace(Mbt,"'")}function ude(e,r){let a=xe(e,r?.in),i=a.getFullYear(),s=a.getMonth(),l=ct(a,0);return l.setFullYear(i,s+1,0),l.setHours(0,0,0,0),l.getDate()}function Wc(e,r){return xe(e,r?.in).getMonth()}function Yc(e,r){return xe(e,r?.in).getFullYear()}function dde(e,r){return+xe(e)>+xe(r)}function Zde(e,r){return+xe(e)<+xe(r)}function pde(e,r,a){let[i,s]=Js(a?.in,e,r);return i.getFullYear()===s.getFullYear()&&i.getMonth()===s.getMonth()}function mde(e,r,a){let[i,s]=Js(a?.in,e,r);return i.getFullYear()===s.getFullYear()}function mD(e,r){return DR(ct(r?.in||e,e),k4(r?.in||e))}function hde(e,r,a){return ER(e,-r,a)}function hD(e,r){return DR(ct(r?.in||e,e),hde(k4(r?.in||e),1))}function fM(e,r){let a=()=>ct(r?.in,NaN),i=r?.additionalDigits??2,s=wbt(e),l;if(s.date){let g=zbt(s.date,i);l=Sbt(g.restDateString,g.year)}if(!l||isNaN(+l))return a();let c=+l,d=0,m;if(s.time){if(d=Lbt(s.time),isNaN(d))return a()}if(s.timezone){if(m=kbt(s.timezone),isNaN(m))return a()}else{let g=new Date(c+d),M=xe(0,r?.in);return M.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),M.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),M}return xe(c+d+m,r?.in)}var E4={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},ybt=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,bbt=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,_bt=/^([+-])(\d{2})(?::?(\d{2}))?$/;function wbt(e){let r={},a=e.split(E4.dateTimeDelimiter),i;if(a.length>2)return r;if(/:/.test(a[0]))i=a[0];else if(r.date=a[0],i=a[1],E4.timeZoneDelimiter.test(r.date))r.date=e.split(E4.timeZoneDelimiter)[0],i=e.substr(r.date.length,e.length);if(i){let s=E4.timezone.exec(i);if(s)r.time=i.replace(s[1],""),r.timezone=s[1];else r.time=i}return r}function zbt(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 s=i[1]?parseInt(i[1]):null,l=i[2]?parseInt(i[2]):null;return{year:l===null?s:l*100,restDateString:e.slice((i[1]||i[2]).length)}}function Sbt(e,r){if(r===null)return new Date(NaN);let a=e.match(ybt);if(!a)return new Date(NaN);let i=!!a[4],s=gD(a[1]),l=gD(a[2])-1,c=gD(a[3]),d=gD(a[4]),m=gD(a[5])-1;if(i){if(!Tbt(r,d,m))return new Date(NaN);return Cbt(r,d,m)}else{let g=new Date(0);if(!Rbt(r,l,c)||!Pbt(r,s))return new Date(NaN);return g.setUTCFullYear(r,l,Math.max(s,c)),g}}function gD(e){return e?parseInt(e):1}function Lbt(e){let r=e.match(bbt);if(!r)return NaN;let a=wH(r[1]),i=wH(r[2]),s=wH(r[3]);if(!Abt(a,i,s))return NaN;return a*ZD+i*vH+s*1000}function wH(e){return e&&parseFloat(e.replace(",","."))||0}function kbt(e){if(e==="Z")return 0;let r=e.match(_bt);if(!r)return 0;let a=r[1]==="+"?-1:1,i=parseInt(r[2]),s=r[3]&&parseInt(r[3])||0;if(!Ebt(i,s))return NaN;return a*(i*ZD+s*vH)}function Cbt(e,r,a){let i=new Date(0);i.setUTCFullYear(e,0,4);let s=i.getUTCDay()||7,l=(r-1)*7+a+1-s;return i.setUTCDate(i.getUTCDate()+l),i}var Ibt=[31,null,31,30,31,30,31,31,30,31,30,31];function gde(e){return e%400===0||e%4===0&&e%100!==0}function Rbt(e,r,a){return r>=0&&r<=11&&a>=1&&a<=(Ibt[r]||(gde(e)?29:28))}function Pbt(e,r){return r>=1&&r<=(gde(e)?366:365)}function Tbt(e,r,a){return r>=1&&r<=53&&a>=0&&a<=6}function Abt(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 Ebt(e,r){return r>=0&&r<=59}function Mde(e,r,a){let i=xe(e,a?.in),s=i.getFullYear(),l=i.getDate(),c=ct(a?.in||e,0);c.setFullYear(s,r,15),c.setHours(0,0,0,0);let d=ude(c);return i.setMonth(r,Math.min(l,d)),i}function vde(e,r,a){let i=xe(e,a?.in);if(isNaN(+i))return ct(a?.in||e,NaN);return i.setFullYear(r),i}function D4(e){let r=Object.values(e).filter((i)=>typeof i==="number");return Object.entries(e).filter(([i,s])=>r.indexOf(+i)===-1).map(([i,s])=>s)}function SH(e,r="|"){return e.map((a)=>CH(a)).join(r)}function vD(e,r){if(typeof r==="bigint")return r.toString();return r}function xD(e){return{get value(){{let a=e();return Object.defineProperty(this,"value",{value:a}),a}throw Error("cached value already set")}}}function yde(e){return e===null||e===void 0}function O4(e){let r=e.startsWith("^")?1:0,a=e.endsWith("$")?e.length-1:e.length;return e.slice(r,a)}function bde(e,r){let a=e/r,i=Math.round(a),s=4*Number.EPSILON*Math.max(Math.abs(a),1);if(Math.abs(a-i)<s)return 0;return a-i}var xde=Symbol("evaluating");function _de(e,r,a){let i=void 0;Object.defineProperty(e,r,{get(){if(i===xde)return;if(i===void 0)i=xde,i=a();return i},set(s){Object.defineProperty(e,r,{value:s})},configurable:!0})}function Oi(e,r,a){Object.defineProperty(e,r,{value:a,writable:!0,enumerable:!0,configurable:!0})}function P8(...e){let r={};for(let a of e){let i=Object.getOwnPropertyDescriptors(a);Object.assign(r,i)}return Object.defineProperties({},r)}function wde(e){return JSON.stringify(e)}function zde(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var LH="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function YR(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}var Sde=xD(()=>{if($s.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(YR(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(YR(a)===!1)return!1;if(Object.prototype.hasOwnProperty.call(a,"isPrototypeOf")===!1)return!1;return!0}function kH(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 Lde=new Set(["string","number","symbol"]);function T8(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function xZ(e,r,a){let i=new e._zod.constr(r??e._zod.def);if(!r||a?.parent)i._zod.parent=e;return i}function Lr(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 CH(e){if(typeof e==="bigint")return e.toString()+"n";if(typeof e==="string")return`"${e}"`;return`${e}`}function kde(e){return Object.keys(e).filter((r)=>e[r]._zod.optin!==void 0&&e[r]._zod.optout==="optional")}var Cde=(()=>({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 Dbt(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 l=P8(e._zod.def,{get shape(){let c={};for(let d of Reflect.ownKeys(r)){if(!Object.prototype.hasOwnProperty.call(a.shape,d))throw Error(`Unrecognized key: "${String(d)}"`);if(!r[d])continue;Oi(c,d,a.shape[d])}return Oi(this,"shape",c),c},checks:[]});return xZ(e,l)}function Obt(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 l=P8(e._zod.def,{get shape(){let c={...e._zod.def.shape};for(let d of Reflect.ownKeys(r)){if(!Object.prototype.hasOwnProperty.call(a.shape,d))throw Error(`Unrecognized key: "${String(d)}"`);if(!r[d])continue;delete c[d]}return Oi(this,"shape",c),c},checks:[]});return xZ(e,l)}function jbt(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 l=e._zod.def.shape;for(let c of Reflect.ownKeys(r))if(Object.getOwnPropertyDescriptor(l,c)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let s=P8(e._zod.def,{get shape(){let l={...e._zod.def.shape,...r};return Oi(this,"shape",l),l}});return xZ(e,s)}function Nbt(e,r){if(!vL(r))throw Error("Invalid input to safeExtend: expected a plain object");let a=P8(e._zod.def,{get shape(){let i={...e._zod.def.shape,...r};return Oi(this,"shape",i),i}});return xZ(e,a)}function Fbt(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=P8(e._zod.def,{get shape(){let i={...e._zod.def.shape,...r._zod.def.shape};return Oi(this,"shape",i),i},get catchall(){return r._zod.def.catchall},checks:r._zod.def.checks??[]});return xZ(e,a)}function Ide(e,r,a,i="partial"){let l=r._zod.def.checks;if(l&&l.length>0)throw Error(`.${i}() cannot be used on object schemas containing refinements`);let d=P8(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 Oi(this,"shape",g),g},checks:[]});return xZ(r,d)}function Bbt(e,r,a){let i=P8(r._zod.def,{get shape(){let s=r._zod.def.shape,l={...s};if(a)for(let c of Reflect.ownKeys(a)){if(!Object.prototype.hasOwnProperty.call(l,c))throw Error(`Unrecognized key: "${String(c)}"`);if(!a[c])continue;l[c]=new e({type:"nonoptional",innerType:s[c]})}else for(let c of Reflect.ownKeys(s))l[c]=new e({type:"nonoptional",innerType:s[c]});return Oi(this,"shape",l),l}});return xZ(r,i)}function xL(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 A8(e,r){return r.map((a)=>{var i;return(i=a).path??(i.path=[]),a.path.unshift(e),a})}function MD(e){return typeof e==="string"?e:e?.message}function IH(e,r,a){var i;for(let s=r;s<e.length;s++)(i=e[s]).schema??(i.schema=a)}function yZ(e,r,a){var i;let s=e.inst?._zod?.traits;if(s?.has("$ZodType"))if(s.has("$ZodCheck"))(i=e).schema??(i.schema=e.inst);else e.schema=e.inst;let l=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,c=e.message?e.message:MD(e.inst?._zod.def?.error?.(e))??MD(l?.(e))??MD(r?.error?.(e))??MD(a.customError?.(e))??MD(a.localeError?.(e))??"Invalid input",{inst:d,schema:m,continue:g,input:M,...v}=e;if(v.path??(v.path=[]),v.message=c,r?.reportInput)v.input=M;return v}var Ybt=/[\uD800-\uDBFF]/;function j4(e){let r=e.length;if(!Ybt.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 N4(e){if(Array.isArray(e))return"array";if(typeof e==="string")return"string";return"unknown"}function Pde(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 yL(...e){let[r,a,i]=e;if(typeof r==="string")return{message:r,code:"custom",input:a,inst:i};return{...r}}function Tde(e,r){for(let a in r){let i=Object.getOwnPropertyDescriptor(r,a);if(i.get)Object.defineProperty(e,a,{...i,enumerable:!1});else Ubt(e,a,i.value)}}function ML(e,r,a,i=!0){return Object.defineProperty(e,r,{configurable:!0,writable:!0,enumerable:i,value:a}),a}function RH(e,r,a){return ML(e,r,a,!1)}function Ubt(e,r,a){Object.defineProperty(e,r,{configurable:!0,get(){return this==null?a:ML(this,r,a.bind(this))},set(i){ML(this,r,i)}})}function qbt(e,r){let a=Object.getPrototypeOf(e);return r in a?void 0:a}var zH,R8=!1,Hbt={configurable:!0,get(){R8=!0;return}};function Po(e,r,a){let i=Object.getPrototypeOf(e._zod);if(r in i&&zH!==e._zod){zH=void 0;return}zH=e._zod,Object.defineProperty(i,r,{configurable:!0,get(){Object.defineProperty(this,r,Hbt);let s=R8;R8=!1;try{let l=a(this);if(R8)delete this[r];else Object.defineProperty(this,r,{configurable:!0,writable:!0,value:l});return R8=R8||s,l}catch(l){throw delete this[r],R8=R8||s,l}},set(s){Object.defineProperty(this,r,{configurable:!0,writable:!0,value:s})}})}function Vbt(e,r,a,i){let s=qbt(e,r);if(!s)return;Object.defineProperty(s,r,{configurable:!0,get(){let l={configurable:!0,writable:!0,enumerable:i,value:void 0};return Object.defineProperty(this,r,l),l.value=a(this),Object.defineProperty(this,r,l),l.value},set(l){Object.defineProperty(this,r,{configurable:!0,writable:!0,enumerable:i,value:l})}})}var Wbt="~constantCatch";function Ade(e){let r=()=>e;return r[Wbt]=!0,r}var Ede;var PH={value:void 0,enumerable:!1},Dde="captureStackTrace"in Error?Error:null;function Gbt(e){let r=Dde;if(r){let a=r.stackTraceLimit;if(typeof a==="number"){try{r.stackTraceLimit=0}catch{return Dde=null,new e}try{return new e}finally{r.stackTraceLimit=a}}}return new e}function Lt(e,r,a,i){let s={};function l(y){this.def=y,this.constr=v,this.traits=new Set}l.prototype=s;let c=a,d=c&&new WeakSet;function m(y,x){if(!y._zod){PH.value=new l(x);try{Object.defineProperty(y,"_zod",PH)}finally{PH.value=void 0}}if(y._zod.traits.has(e))return;if(y._zod.traits.add(e),r(y,x),d){let j=Object.getPrototypeOf(y),U=y._zod.constr.prototype,T=j;while(T&&T!==U)T=Object.getPrototypeOf(T);let N=T??j;if(!d.has(N))d.add(N),Tde(N,c)}let _=v.prototype;for(let j in _){if(!Object.prototype.hasOwnProperty.call(_,j))continue;if(!(j in y))y[j]=_[j].bind(y)}}let g=i?.Parent??Object;class M extends g{}Object.defineProperty(M,"name",{value:e});function v(y){let x=i?.Parent?Gbt(M):this;m(x,y);let _=x._zod.deferred;if(_){for(let U of _)U();x._zod.deferred=void 0}let j=globalThis.__zod_globalConfig?.postProcessor;if(j)j(x);return x}return Object.defineProperty(v,"init",{value:m}),Object.defineProperty(v,Symbol.hasInstance,{value:(y)=>{if(i?.Parent&&y instanceof i.Parent)return!0;return y?._zod?.traits?.has(e)}}),Object.defineProperty(v,"name",{value:e}),v}class sM extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class yD extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`);this.name="ZodEncodeError"}}(Ede=globalThis).__zod_globalConfig??(Ede.__zod_globalConfig={});var $s=globalThis.__zod_globalConfig;function Gl(e){if(e)Object.assign($s,e);return $s}function Kbt(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,vD,2)),e.message}function Xbt(e){this._zod.message=e}var Qbt={get:Kbt,set:Xbt,enumerable:!0,configurable:!0},AH={value:void 0,enumerable:!1},EH={value:void 0,enumerable:!1},Ode=new WeakSet([Object.prototype,Error.prototype]),jde=(e,r)=>{e.name="$ZodError",AH.value=e._zod,Object.defineProperty(e,"_zod",AH),EH.value=r,Object.defineProperty(e,"issues",EH),AH.value=void 0,EH.value=void 0,Object.defineProperty(e,"message",Qbt);let a=Object.getPrototypeOf(e);if(!Ode.has(a))Ode.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})}})},F4=Lt("$ZodError",jde),DH=Lt("$ZodError",jde,void 0,{Parent:Error});function Jbt(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 Nde(e,r=(a)=>a.message){let a={},i=[];for(let s of e.issues)if(s.path.length>0)Jbt(a,s.path[0],()=>[]).push(r(s));else i.push(r(s));return{formErrors:i,fieldErrors:a}}function Fde(e,r=(a)=>a.message){let a={_errors:[]},i=(s,l=[])=>{for(let c of s.issues)if(c.code==="invalid_union"&&c.errors.length)c.errors.map((d)=>i({issues:d},[...l,...c.path]));else if(c.code==="invalid_key")i({issues:c.issues},[...l,...c.path]);else if(c.code==="invalid_element")i({issues:c.issues},[...l,...c.path]);else{let d=[...l,...c.path];if(d.length===0)a._errors.push(r(c));else{let m=a,g=0;while(g<d.length){let M=d[g],v=g===d.length-1;if(M==="_errors"){if(v)m._errors.push(r(c));g++;continue}if(!Object.prototype.hasOwnProperty.call(m,M))Object.defineProperty(m,M,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let y=m[M];if(v)y._errors.push(r(c));m=y,g++}}}};return i(e),a}function B4(e,r){return{callee:r?.callee??e,Err:r?.Err}}var Y4=(e)=>{let r=(a,i,s,l)=>{let c=s?{...s,async:!1}:{async:!1},d=a._zod.run({value:i,issues:[]},c);if(d instanceof Promise)throw new sM;if(d.issues.length){let m=new(l?.Err??e)(d.issues.map((g)=>yZ(g,c,Gl())));throw LH(m,l?.callee??r),m}return d.value};return r};var U4=(e)=>{let r=async(a,i,s,l)=>{let c=s?{...s,async:!0}:{async:!0},d=a._zod.run({value:i,issues:[]},c);if(d instanceof Promise)d=await d;if(d.issues.length){let m=new(l?.Err??e)(d.issues.map((g)=>yZ(g,c,Gl())));throw LH(m,l?.callee??r),m}return d.value};return r};var bD=(e)=>(r,a,i)=>{let s=i?{...i,async:!1}:{async:!1},l=r._zod.run({value:a,issues:[]},s);if(l instanceof Promise)throw new sM;return l.issues.length?{success:!1,error:new(e??F4)(l.issues.map((c)=>yZ(c,s,Gl())))}:{success:!0,data:l.value}},Bde=bD(DH),_D=(e)=>async(r,a,i)=>{let s=i?{...i,async:!0}:{async:!0},l=r._zod.run({value:a,issues:[]},s);if(l instanceof Promise)l=await l;return l.issues.length?{success:!1,error:new e(l.issues.map((c)=>yZ(c,s,Gl())))}:{success:!0,data:l.value}},Yde=_D(DH);var Ude=(e)=>{let r=Y4(e),a=(i,s,l,c)=>{let d=l?{...l,direction:"backward"}:{direction:"backward"};return r(i,s,d,B4(a,c))};return a};var qde=(e)=>{let r=Y4(e),a=(i,s,l,c)=>r(i,s,l,B4(a,c));return a};var Hde=(e)=>{let r=U4(e),a=async(i,s,l,c)=>{let d=l?{...l,direction:"backward"}:{direction:"backward"};return await r(i,s,d,B4(a,c))};return a};var Vde=(e)=>{let r=U4(e),a=async(i,s,l,c)=>await r(i,s,l,B4(a,c));return a};var Wde=(e)=>(r,a,i)=>{let s=i?{...i,direction:"backward"}:{direction:"backward"};return bD(e)(r,a,s)};var Gde=(e)=>(r,a,i)=>bD(e)(r,a,i);var Kde=(e)=>async(r,a,i)=>{let s=i?{...i,direction:"backward"}:{direction:"backward"};return _D(e)(r,a,s)};var Xde=(e)=>async(r,a,i)=>_D(e)(r,a,i);var Qde=/^[cC][0-9a-z]{6,}$/,Jde=/^[0-9a-z]+$/,$de=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,eZe=/^[0-9a-vA-V]{20}$/,tZe=/^[A-Za-z0-9]{27}$/,rZe=/^[a-zA-Z0-9_-]{21}$/;function oZe(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var aZe=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;var nZe=/^([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})$/,jH=(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 iZe=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;var e_t="^[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function f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^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,NH=/^[A-Za-z0-9_-]*$/;var ZZe=/^https?$/,pZe=/^\+[1-9]\d{6,14}$/;var mZe="(?:(?:\\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 t_t(e){return new RegExp(`^${e}$`)}var hZe=t_t(mZe);function OH(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 gZe(e){return new RegExp(`^${OH(e)}$`)}function MZe(e){let r=["Z"];if(e.offset)r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let a=`${OH({precision:e.precision,seconds:!0})}(?:${r.join("|")})`,i=e.local?`${a}|${OH({precision:e.precision})}`:a;return new RegExp(`^${mZe}T(?:${i})$`)}var vZe=(e)=>{let r=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${r}$`)},xZe=/^-?\d+n?$/,q4=/^-?\d+$/,wD=/^-?\d+(?:\.\d+)?$/,yZe=/^(?:true|false)$/i;var bZe=/^[^A-Z]*$/,_Ze=/^[^a-z]*$/;var af=Lt("$ZodCheck",(e,r)=>{var a;e._zod??(e._zod={}),e._zod.def=r,(a=e._zod).onattach??(a.onattach=[])});var FH=(e)=>{let r=e.value;return!yde(r)&&r.length!==void 0},H4={number:"number",bigint:"bigint",object:"date"},BH=Lt("$ZodCheckLessThan",(e,r)=>{af.init(e,r);let a=H4[typeof r.value];e._zod.onattach.push((i)=>{let s=i._zod.bag,l=(r.inclusive?s.maximum:s.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(r.value<l)if(r.inclusive)s.maximum=r.value;else s.exclusiveMaximum=r.value}),e._zod.check=(i)=>{if(r.inclusive?i.value<=r.value:i.value<r.value)return;i.issues.push({origin:H4[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})}}),YH=Lt("$ZodCheckGreaterThan",(e,r)=>{af.init(e,r);let a=H4[typeof r.value];e._zod.onattach.push((i)=>{let s=i._zod.bag,l=(r.inclusive?s.minimum:s.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(r.value>l)if(r.inclusive)s.minimum=r.value;else s.exclusiveMinimum=r.value}),e._zod.check=(i)=>{if(r.inclusive?i.value>=r.value:i.value>r.value)return;i.issues.push({origin:H4[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})}}),wZe=Lt("$ZodCheckMultipleOf",(e,r)=>{af.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):bde(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})}}),zZe=Lt("$ZodCheckNumberFormat",(e,r)=>{af.init(e,r),r.format=r.format||"float64";let a=r.format?.includes("int"),i=a?"int":"number",[s,l]=Cde[r.format];e._zod.onattach.push((c)=>{let d=c._zod.bag;if(d.format=r.format,d.minimum=s,d.maximum=l,a)d.pattern=q4}),e._zod.check=(c)=>{let d=c.value;if(a){if(!Number.isInteger(d)){c.issues.push({expected:i,format:r.format,code:"invalid_type",continue:!1,input:d,inst:e});return}if(!Number.isSafeInteger(d)){if(d>0)c.issues.push({input:d,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 c.issues.push({input:d,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(d<s)c.issues.push({origin:"number",input:d,code:"too_small",minimum:s,inclusive:!0,inst:e,continue:!r.abort});if(d>l)c.issues.push({origin:"number",input:d,code:"too_big",maximum:l,inclusive:!0,inst:e,continue:!r.abort})}});var SZe=Lt("$ZodCheckMaxLength",(e,r)=>{var a;af.init(e,r),(a=e._zod.def).when??(a.when=FH),e._zod.onattach.push((i)=>{let s=i._zod.bag.maximum??Number.POSITIVE_INFINITY;if(r.maximum<s)i._zod.bag.maximum=r.maximum}),e._zod.check=(i)=>{let s=i.value,l=s.length;if((typeof s==="string"&&l>r.maximum?j4(s):l)<=r.maximum)return;let d=N4(s);i.issues.push({origin:d,code:"too_big",maximum:r.maximum,inclusive:!0,input:s,inst:e,continue:!r.abort})}}),LZe=Lt("$ZodCheckMinLength",(e,r)=>{var a;af.init(e,r),(a=e._zod.def).when??(a.when=FH),e._zod.onattach.push((i)=>{let s=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(r.minimum>s)i._zod.bag.minimum=r.minimum}),e._zod.check=(i)=>{let s=i.value,l=s.length;if((typeof s==="string"&&l>=r.minimum&&l<r.minimum*2?j4(s):l)>=r.minimum)return;let d=N4(s);i.issues.push({origin:d,code:"too_small",minimum:r.minimum,inclusive:!0,input:s,inst:e,continue:!r.abort})}}),kZe=Lt("$ZodCheckLengthEquals",(e,r)=>{var a;af.init(e,r),(a=e._zod.def).when??(a.when=FH),e._zod.onattach.push((i)=>{let s=i._zod.bag;s.minimum=r.length,s.maximum=r.length,s.length=r.length}),e._zod.check=(i)=>{let s=i.value,l=s.length,c=typeof s==="string"&&l>=r.length&&l<=r.length*2?j4(s):l;if(c===r.length)return;let d=N4(s),m=c>r.length;i.issues.push({origin:d,...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})}}),SD=Lt("$ZodCheckStringFormat",(e,r)=>{var a,i;if(af.init(e,r),e._zod.onattach.push((s)=>{let l=s._zod.bag;if(l.format=r.format,r.pattern)l.patterns??(l.patterns=new Set),l.patterns.add(r.pattern)}),r.pattern)(a=e._zod).check??(a.check=(s)=>{if(r.pattern.lastIndex=0,r.pattern.test(s.value))return;s.issues.push({origin:"string",code:"invalid_format",format:r.format,input:s.value,...r.pattern?{pattern:r.pattern.toString()}:{},inst:e,continue:!r.abort})});else(i=e._zod).check??(i.check=()=>{})}),CZe=Lt("$ZodCheckRegex",(e,r)=>{SD.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})}}),IZe=Lt("$ZodCheckLowerCase",(e,r)=>{r.pattern??(r.pattern=bZe),SD.init(e,r)}),RZe=Lt("$ZodCheckUpperCase",(e,r)=>{r.pattern??(r.pattern=_Ze),SD.init(e,r)}),PZe=Lt("$ZodCheckIncludes",(e,r)=>{af.init(e,r);let a=T8(r.includes),i=new RegExp(typeof r.position==="number"?`^.{${r.position},}${a}`:a);r.pattern=i,e._zod.onattach.push((s)=>{let l=s._zod.bag;l.patterns??(l.patterns=new Set),l.patterns.add(i)}),e._zod.check=(s)=>{if(s.value.includes(r.includes,r.position))return;s.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:r.includes,input:s.value,inst:e,continue:!r.abort})}}),TZe=Lt("$ZodCheckStartsWith",(e,r)=>{af.init(e,r);let a=new RegExp(`^${T8(r.prefix)}.*`);r.pattern??(r.pattern=a),e._zod.onattach.push((i)=>{let s=i._zod.bag;s.patterns??(s.patterns=new Set),s.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})}}),AZe=Lt("$ZodCheckEndsWith",(e,r)=>{af.init(e,r);let a=new RegExp(`.*${T8(r.suffix)}$`);r.pattern??(r.pattern=a),e._zod.onattach.push((i)=>{let s=i._zod.bag;s.patterns??(s.patterns=new Set),s.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 EZe=Lt("$ZodCheckOverwrite",(e,r)=>{af.init(e,r),e._zod.check=(a)=>{a.value=r.tx(a.value)}});class UH{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((l)=>l),i=Math.min(...a.map((l)=>l.length-l.trimStart().length)),s=a.map((l)=>l.slice(i)).map((l)=>" ".repeat(this.indent*2)+l);for(let l of s)this.content.push(l)}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 OZe={major:4,minor:5,patch:4};var va=Lt("$ZodType",(e,r)=>{var a;e??(e={}),e._zod.def=r,e._zod.bag=e._zod.bag||{},e._zod.version=OZe;let i=e._zod.def.checks,s=e._zod.traits.has("$ZodCheck")?[e,...i??[]]:i?.length?[...i]:[];for(let l of s)for(let c of l._zod.onattach)c(e);if(s.length===0)(a=e._zod).deferred??(a.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let l=(d,m,g)=>{if(d.memo)return d;let M=xL(d),v;for(let y of m){if(y._zod.def.when){if(Rde(d))continue;if(!y._zod.def.when(d))continue}else if(M)continue;let x=d.issues.length,_=y._zod.check(d);if(_ instanceof Promise&&g?.async===!1)throw new sM;if(v||_ instanceof Promise)v=(v??Promise.resolve()).then(async()=>{if(await _,d.issues.length===x)return;if(IH(d.issues,x,e),!M)M=xL(d,x)});else{if(d.issues.length===x)continue;if(IH(d.issues,x,e),!M)M=xL(d,x)}}if(v)return v.then(()=>d);return d},c=(d,m,g)=>{if(xL(d))return d.aborted=!0,d;let M=l(m,s,g);if(M instanceof Promise){if(g.async===!1)throw new sM;return M.then((v)=>e._zod.parse(v,g))}return e._zod.parse(M,g)};e._zod.run=(d,m)=>{if(m.skipChecks)return e._zod.parse(d,m);if(m.direction==="backward"){let M=e._zod.parse({value:d.value,issues:[]},{...m,skipChecks:!0});if(M instanceof Promise)return M.then((v)=>c(v,d,m));return c(M,d,m)}let g=e._zod.parse(d,m);if(g instanceof Promise){if(m.async===!1)throw new sM;return g.then((M)=>l(M,s,m))}return l(g,s,m)}}},{get "~standard"(){return RH(this,"~standard",VH(this))},set "~standard"(e){ML(this,"~standard",e)}}),jZe=(e)=>e.success?{value:e.data}:{issues:e.error?.issues};function VH(e){return{validate:(r)=>{try{return jZe(Bde(e,r))}catch(a){return Yde(e,r).then(jZe)}},vendor:"zod",version:1}}var G4=Lt("$ZodString",(e,r)=>{va.init(e,r),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??vZe(e._zod.bag),e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=String(a.value)}catch(s){}if(typeof a.value==="string")return a;return a.issues.push({expected:"string",code:"invalid_type",input:a.value,inst:e}),a}}),$a=Lt("$ZodStringFormat",(e,r)=>{SD.init(e,r),G4.init(e,r)}),GZe=Lt("$ZodGUID",(e,r)=>{r.pattern??(r.pattern=nZe),$a.init(e,r)}),KZe=Lt("$ZodUUID",(e,r)=>{if(r.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[r.version];if(i===void 0)throw Error(`Invalid UUID version: "${r.version}"`);r.pattern??(r.pattern=jH(i))}else r.pattern??(r.pattern=jH());$a.init(e,r)}),XZe=Lt("$ZodEmail",(e,r)=>{r.pattern??(r.pattern=iZe),$a.init(e,r)}),QZe=1,JZe=2;function r_t(e,r){if(!r.normalize&&r.protocol?.source===ZZe.source&&!/^https?:\/\//i.test(e))return QZe;try{return new URL(e)}catch{return JZe}}var o_t=/[\t\n\r]/g;function a_t(e){return e.replace(o_t,"")}function n_t(e,r){return r.lastIndex=0,r.test(e.hostname)}function i_t(e,r){return r.lastIndex=0,r.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var $Ze=Lt("$ZodURL",(e,r)=>{$a.init(e,r),e._zod.check=(a)=>{try{let i=a.value.trim(),s=r_t(i,r);if(s===QZe){a.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:a.value,inst:e,continue:!r.abort});return}if(s===JZe){a.issues.push({code:"invalid_format",format:"url",input:a.value,inst:e,continue:!r.abort});return}if(r.hostname&&!n_t(s,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&&!i_t(s,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?s.href:a_t(i);return}catch(i){a.issues.push({code:"invalid_format",format:"url",input:a.value,inst:e,continue:!r.abort})}}}),epe=Lt("$ZodEmoji",(e,r)=>{r.pattern??(r.pattern=fZe()),$a.init(e,r)}),tpe=Lt("$ZodNanoID",(e,r)=>{if(r.length!==void 0&&(!Number.isInteger(r.length)||r.length<1))throw Error(`Invalid nanoid length: ${r.length}`);r.pattern??(r.pattern=r.length===void 0?rZe:oZe(r.length)),$a.init(e,r)}),rpe=Lt("$ZodCUID",(e,r)=>{r.pattern??(r.pattern=Qde),$a.init(e,r)}),ope=Lt("$ZodCUID2",(e,r)=>{r.pattern??(r.pattern=Jde),$a.init(e,r)}),ape=Lt("$ZodULID",(e,r)=>{r.pattern??(r.pattern=$de),$a.init(e,r)}),npe=Lt("$ZodXID",(e,r)=>{r.pattern??(r.pattern=eZe),$a.init(e,r)}),ipe=Lt("$ZodKSUID",(e,r)=>{r.pattern??(r.pattern=tZe),$a.init(e,r)}),fpe=Lt("$ZodISODateTime",(e,r)=>{if(r.pattern??(r.pattern=MZe(r)),$a.init(e,r),r.local||r.precision===-1)e._zod.bag.laxFormat=!0,e._zod.onattach.push((a)=>{a._zod.bag.laxFormat=!0})}),spe=Lt("$ZodISODate",(e,r)=>{r.pattern??(r.pattern=hZe),$a.init(e,r)}),lpe=Lt("$ZodISOTime",(e,r)=>{r.pattern??(r.pattern=gZe(r)),$a.init(e,r)}),cpe=Lt("$ZodISODuration",(e,r)=>{r.pattern??(r.pattern=aZe),$a.init(e,r)}),upe=Lt("$ZodIPv4",(e,r)=>{r.pattern??(r.pattern=sZe),$a.init(e,r),e._zod.bag.format="ipv4"}),f_t=/^[0-9a-fA-F:.]+$/;function dpe(e){if(!f_t.test(e))return!1;try{return new URL(`http://[${e}]`),!0}catch{return!1}}var Zpe=Lt("$ZodIPv6",(e,r)=>{r.pattern??(r.pattern=lZe),$a.init(e,r),e._zod.bag.format="ipv6",e._zod.check=(a)=>{if(!dpe(a.value))a.issues.push({code:"invalid_format",format:"ipv6",input:a.value,inst:e,continue:!r.abort})}});var ppe=Lt("$ZodCIDRv4",(e,r)=>{r.pattern??(r.pattern=cZe),$a.init(e,r)});function s_t(e){let r=e.split("/");if(r.length!==2)return!1;let[a,i]=r;if(!i)return!1;let s=Number(i);if(`${s}`!==i)return!1;if(s<0||s>128)return!1;return dpe(a)}var mpe=Lt("$ZodCIDRv6",(e,r)=>{r.pattern??(r.pattern=uZe),$a.init(e,r),e._zod.check=(a)=>{if(!s_t(a.value))a.issues.push({code:"invalid_format",format:"cidrv6",input:a.value,inst:e,continue:!r.abort})}});function hpe(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 gpe=Lt("$ZodBase64",(e,r)=>{r.pattern??(r.pattern=dZe),$a.init(e,r),e._zod.bag.contentEncoding="base64",e._zod.check=(a)=>{if(hpe(a.value))return;a.issues.push({code:"invalid_format",format:"base64",input:a.value,inst:e,continue:!r.abort})}});function l_t(e){if(!NH.test(e))return!1;let r=e.replace(/[-_]/g,(i)=>i==="-"?"+":"/"),a=r.padEnd(Math.ceil(r.length/4)*4,"=");return hpe(a)}var Mpe=Lt("$ZodBase64URL",(e,r)=>{r.pattern??(r.pattern=NH),$a.init(e,r),e._zod.bag.contentEncoding="base64url",e._zod.check=(a)=>{if(l_t(a.value))return;a.issues.push({code:"invalid_format",format:"base64url",input:a.value,inst:e,continue:!r.abort})}}),vpe=Lt("$ZodE164",(e,r)=>{r.pattern??(r.pattern=pZe),$a.init(e,r)});function c_t(e,r=null){try{let a=e.split(".");if(a.length!==3)return!1;let[i]=a;if(!i)return!1;let s=JSON.parse(atob(i));if("typ"in s&&s?.typ!=="JWT")return!1;if(!s.alg)return!1;if(r&&(!("alg"in s)||s.alg!==r))return!1;return!0}catch{return!1}}var xpe=Lt("$ZodJWT",(e,r)=>{$a.init(e,r),e._zod.check=(a)=>{if(c_t(a.value,r.alg))return;a.issues.push({code:"invalid_format",format:"jwt",input:a.value,inst:e,continue:!r.abort})}});var WH=Lt("$ZodNumber",(e,r)=>{va.init(e,r),e._zod.pattern=e._zod.bag.pattern??wD,e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=Number(a.value)}catch(c){}let s=a.value;if(typeof s==="number"&&!Number.isNaN(s)&&Number.isFinite(s))return a;let l=typeof s==="number"?Number.isNaN(s)?"NaN":!Number.isFinite(s)?String(s):void 0:void 0;return a.issues.push({expected:"number",code:"invalid_type",input:s,inst:e,...l?{received:l}:{}}),a}}),ype=Lt("$ZodNumberFormat",(e,r)=>{zZe.init(e,r),WH.init(e,r)}),bpe=Lt("$ZodBoolean",(e,r)=>{va.init(e,r),e._zod.pattern=yZe,e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=Boolean(a.value)}catch(l){}let s=a.value;if(typeof s==="boolean")return a;return a.issues.push({expected:"boolean",code:"invalid_type",input:s,inst:e}),a}}),_pe=Lt("$ZodBigInt",(e,r)=>{va.init(e,r),e._zod.pattern=xZe,e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=BigInt(a.value)}catch(s){}if(typeof a.value==="bigint")return a;return a.issues.push({expected:"bigint",code:"invalid_type",input:a.value,inst:e}),a}});var wpe=Lt("$ZodAny",(e,r)=>{va.init(e,r),e._zod.parse=(a)=>a}),zpe=Lt("$ZodUnknown",(e,r)=>{va.init(e,r),e._zod.parse=(a)=>a}),Spe=Lt("$ZodNever",(e,r)=>{va.init(e,r),e._zod.parse=(a,i)=>(a.issues.push({expected:"never",code:"invalid_type",input:a.value,inst:e}),a)});var Lpe=Lt("$ZodDate",(e,r)=>{va.init(e,r),e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=new Date(a.value)}catch(d){}let s=a.value,l=s instanceof Date;if(l&&!Number.isNaN(s.getTime()))return a;return a.issues.push({expected:"date",code:"invalid_type",input:s,...l?{received:"Invalid Date"}:{},inst:e}),a}});function NZe(e,r,a){if(e.issues.length)r.issues.push(...A8(a,e.issues));r.value[a]=e.value}var kpe=Lt("$ZodArray",(e,r)=>{va.init(e,r);let a=$s.memoizer;a?.attach(e),e._zod.parse=(i,s)=>{let l=i.value;if(!Array.isArray(l))return i.issues.push({expected:"array",code:"invalid_type",input:l,inst:e}),i;i.value=a?a.alloc(e,i,Array(l.length),s):Array(l.length);let c=[];for(let d=0;d<l.length;d++){let m=l[d],g=r.element._zod.run({value:m,issues:[]},s);if(g instanceof Promise)c.push(g.then((M)=>NZe(M,i,d)));else NZe(g,i,d)}if(c.length)return Promise.all(c).then(()=>i);return i}});function W4(e,r,a,i,s,l){let c=a in i,d=l==="optional";if(!c&&d&&s==="optional")return;if(e.issues.length){if(s!==void 0&&d&&!c)return;r.issues.push(...A8(a,e.issues))}if(!c&&s===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(c)r.value[a]=void 0}else r.value[a]=e.value}var u_t=[];function Cpe(e){let r=Object.keys(e.shape),a=Object.getOwnPropertySymbols(e.shape),i=a.length?a:u_t,s=i.length?[...r,...i]:r;for(let c of s)if(!e.shape?.[c]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${String(c)}": expected a Zod schema`);let l=kde(e.shape);return{...e,allKeys:s,symbolKeys:i,keySet:new Set(r),numKeys:r.length,optionalKeys:new Set(l)}}function Ipe(e,r,a,i,s,l){let c=[],d=s.keySet,m=s.catchall._zod,g=m.def.type,{optin:M,optout:v}=m;for(let y in r){if(d.has(y))continue;if(y==="__proto__"){if(g==="never")c.push(y);continue}if(g==="never"){c.push(y);continue}let x=m.run({value:r[y],issues:[]},i);if(x instanceof Promise)e.push(x.then((_)=>W4(_,a,y,r,M,v)));else W4(x,a,y,r,M,v)}if(c.length)a.issues.push({code:"unrecognized_keys",keys:c,input:r,inst:l,continue:!0});if(!e.length)return a;return Promise.all(e).then(()=>a)}var qH=new WeakMap,d_t=Lt("$ZodObject",(e,r)=>{if(va.init(e,r),!Object.getOwnPropertyDescriptor(r,"shape")?.get){let m=r.shape;qH.set(r,m),Object.defineProperty(r,"shape",{get:()=>{let g={...m};return Object.defineProperty(r,"shape",{value:g}),qH.set(r,g),g}})}let i=xD(()=>Cpe(r));Po(e,"propValues",(m)=>{let g=m.def.shape,M={};for(let v in g){let y=g[v]._zod;if(y.values){if(!Object.prototype.hasOwnProperty.call(M,v))Oi(M,v,new Set);for(let x of y.values)M[v].add(x);if(y.optin!==void 0)M[v].add(void 0)}}return M});let s=YR,l=r.catchall,c,d=$s.memoizer;d?.attach(e),e._zod.parse=(m,g)=>{c??(c=i.value);let M=m.value;if(!s(M))return m.issues.push({expected:"object",code:"invalid_type",input:M,inst:e}),m;m.value=d?d.alloc(e,m,{},g):{};let v=[],y=c.shape;for(let x of c.allKeys){if(x==="__proto__")continue;let _=y[x],j=_._zod.optin,U=_._zod.optout,T=_._zod.run({value:M[x],issues:[]},g);if(T instanceof Promise)v.push(T.then((N)=>W4(N,m,x,M,j,U)));else W4(T,m,x,M,j,U)}if(!l)return v.length?Promise.all(v).then(()=>m):m;return Ipe(v,M,m,g,i.value,e)}}),Rpe=Lt("$ZodObjectJIT",(e,r)=>{d_t.init(e,r);let a=e._zod.parse,i=xD(()=>Cpe(r)),s=$s.memoizer,l=(x)=>{let _=i.value,j=_.symbolKeys,U=new UH(["payload","ctx"],{shape:x,inst:e,memo:s,syms:j}),T=(J)=>`shape[${J}]._zod.run({ value: input[${J}], issues: [] }, ctx)`,N=(J,ee)=>`
149
+ for (let i = 0; i < ${J}.issues.length; i++) {
150
+ const iss = ${J}.issues[i];
151
+ iss.path = iss.path ? [${ee}, ...iss.path] : [${ee}];
152
+ payload.issues.push(iss);
153
+ }`;U.write("const input = payload.value;");let G=Object.create(null),X=0;for(let J of _.allKeys)G[J]=`key_${X++}`;U.write(s?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(let J of _.allKeys){if(J==="__proto__")continue;let ee=G[J],re=typeof J==="symbol"?`syms[${j.indexOf(J)}]`:wde(J),oe=`${re} in input`,ie=x[J],ye=ie?._zod?.optin,We=ye!==void 0,Ye=ie?._zod?.optout==="optional";if(U.write(`const ${ee} = ${T(re)};`),We&&Ye){let Se=ye==="optional"?`${ee}_present`:`${ee}.value !== undefined || ${ee}_present`;U.write(`
154
+ const ${ee}_present = ${oe};
155
+ if (!${ee}.issues.length || ${ee}_present) {
156
+ if (${ee}.issues.length) {${N(ee,re)}
157
+ }
158
+
159
+ if (${Se}) {
160
+ newResult[${re}] = ${ee}.value;
161
+ }
162
+ }
163
+
164
+ `)}else if(!We)U.write(`
165
+ const ${ee}_present = ${oe};
166
+ if (${ee}.issues.length) {${N(ee,re)}
167
+ }
168
+ if (!${ee}_present && !${ee}.issues.length) {
169
+ payload.issues.push({
170
+ code: "invalid_type",
171
+ expected: "nonoptional",
172
+ input: undefined,
173
+ path: [${re}]
174
+ });
175
+ }
176
+
177
+ if (${ee}_present) {
178
+ newResult[${re}] = ${ee}.value;
179
+ }
180
+
181
+ `);else U.write(`
182
+ if (${ee}.issues.length) {${N(ee,re)}
183
+ }
184
+
185
+ if (${ee}.value === undefined) {
186
+ if (${oe}) {
187
+ newResult[${re}] = undefined;
188
+ }
189
+ } else {
190
+ newResult[${re}] = ${ee}.value;
191
+ }
192
+
193
+ `)}return U.write("payload.value = newResult;"),U.write("return payload;"),U.compile()},c,d=YR,m=!$s.jitless,M=m&&Sde.value,v=r.catchall,y;e._zod.parse=(x,_)=>{y??(y=i.value);let j=x.value;if(!d(j))return x.issues.push({expected:"object",code:"invalid_type",input:j,inst:e}),x;if(m&&M&&_?.async===!1&&_.jitless!==!0){if(!c)c=l(r.shape);if(x=c(x,_),!v)return x;return Ipe([],j,x,_,y,e)}return a(x,_)}});function FZe(e,r,a,i){for(let l of e)if(l.issues.length===0)return r.value=l.value,r;let s=e.filter((l)=>!xL(l));if(s.length===1)return r.value=s[0].value,s[0];return r.issues.push({code:"invalid_union",input:r.value,inst:a,errors:e.map((l)=>l.issues.map((c)=>yZ(c,i,Gl())))}),r}var GH=Lt("$ZodUnion",(e,r)=>{va.init(e,r),Po(e,"optin",(i)=>i.def.options.some((s)=>s._zod.optin==="defaulted")?"defaulted":i.def.options.some((s)=>s._zod.optin!==void 0)?"optional":void 0),Po(e,"optout",(i)=>i.def.options.some((s)=>s._zod.optout==="optional")?"optional":void 0),Po(e,"values",(i)=>{if(i.def.options.every((s)=>s._zod.values))return new Set(i.def.options.flatMap((s)=>Array.from(s._zod.values)));return}),Po(e,"pattern",(i)=>{if(i.def.options.every((s)=>s._zod.pattern)){let s=i.def.options.map((l)=>l._zod.pattern);return new RegExp(`^(${s.map((l)=>O4(l.source)).join("|")})$`)}return});let a=r.options.length===1?r.options[0]._zod.run:null;e._zod.parse=(i,s)=>{if(a)return a(i,s);let l=!1,c=[];for(let d of r.options){let m=d._zod.run({value:i.value,issues:[]},s);if(m instanceof Promise)c.push(m),l=!0;else{if(m.issues.length===0)return m;c.push(m)}}if(!l)return FZe(c,i,e,s);return Promise.all(c).then((d)=>FZe(d,i,e,s))}});var Ppe=Lt("$ZodDiscriminatedUnion",(e,r)=>{r.inclusive=!1,GH.init(e,r);let a=e._zod.parse;Po(e,"propValues",(s)=>{let l={};for(let c of s.def.options){let d=c._zod.propValues;if(!d||Object.keys(d).length===0)throw Error(`Invalid discriminated union option at index "${s.def.options.indexOf(c)}"`);for(let[m,g]of Object.entries(d)){if(!Object.prototype.hasOwnProperty.call(l,m))Oi(l,m,new Set);for(let M of g)l[m].add(M)}}return l}),r.options.forEach((s,l)=>{let c=qH.get(s._zod.def);if(c&&!Object.prototype.hasOwnProperty.call(c,r.discriminator))throw Error(`Invalid discriminated union option at index "${l}"`)});let i=xD(()=>{let s=r.options,l=new Map;for(let c of s){let d=c._zod.propValues?.[r.discriminator];if(!d||d.size===0)throw Error(`Invalid discriminated union option at index "${r.options.indexOf(c)}"`);for(let m of d){if(l.has(m))throw Error(`Duplicate discriminator value "${String(m)}"`);l.set(m,c)}}return l});e._zod.parse=(s,l)=>{let c=s.value;if(!YR(c))return s.issues.push({code:"invalid_type",expected:"object",input:c,inst:e}),s;let d=i.value.get(c?.[r.discriminator]);if(d)return d._zod.run(s,l);if(r.unionFallback||l.direction==="backward")return a(s,l);return s.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:r.discriminator,options:Array.from(i.value.keys()),input:c,path:[r.discriminator],inst:e}),s}}),Tpe=Lt("$ZodIntersection",(e,r)=>{va.init(e,r),e._zod.parse=(a,i)=>{let s=a.value,l=r.left._zod.run({value:s,issues:[]},i),c=r.right._zod.run({value:s,issues:[]},i);if(l instanceof Promise||c instanceof Promise)return Promise.all([l,c]).then(([m,g])=>BZe(a,m,g));return BZe(a,l,c)}});function HH(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((l)=>a.indexOf(l)!==-1),s={...e,...r};if(Object.prototype.hasOwnProperty.call(s,"__proto__"))delete s.__proto__;for(let l of i){if(l==="__proto__")continue;let c=HH(e[l],r[l]);if(!c.valid)return{valid:!1,mergeErrorPath:[l,...c.mergeErrorPath]};s[l]=c.data}return{valid:!0,data:s}}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 s=e[i],l=r[i],c=HH(s,l);if(!c.valid)return{valid:!1,mergeErrorPath:[i,...c.mergeErrorPath]};a.push(c.data)}return{valid:!0,data:a}}return{valid:!1,mergeErrorPath:[]}}function BZe(e,r,a){let i=new Map,s,l=new Map,c=(g,M)=>{let v;if(g.code==="unrecognized_keys"&&!g.path?.length)s??(s=g),v=g.keys;else if(g.code==="invalid_key"&&g.origin==="record"&&g.path?.length===1){let y=String(g.path[0]);if(!l.has(y))l.set(y,g);v=[y]}else return!1;for(let y of v){if(!i.has(y))i.set(y,{});i.get(y)[M]=!0}return!0};for(let g of r.issues)if(!c(g,"l"))e.issues.push(g);for(let g of a.issues)if(!c(g,"r"))e.issues.push(g);let d=[...i].filter(([,g])=>g.l&&g.r).map(([g])=>g);if(d.length){let g=s?d.filter((M)=>s.keys.includes(M)):[];if(g.length)e.issues.push({...s,keys:g});for(let M of d)if(!g.includes(M)&&l.has(M))e.issues.push(l.get(M))}let m=HH(r.value,a.value);if(!m.valid){if(xL(e))return e;throw Error(`Unmergable intersection. Error path: ${JSON.stringify(m.mergeErrorPath)}`)}return e.value=m.data,e}var Ape=Lt("$ZodRecord",(e,r)=>{va.init(e,r);let a=$s.memoizer;a?.attach(e),e._zod.parse=(i,s)=>{let l=i.value;if(!vL(l))return i.issues.push({expected:"record",code:"invalid_type",input:l,inst:e}),i;let c=[],d=r.keyType._zod.values;if(d&&!r.partial){i.value=a?a.alloc(e,i,{},s):{};let m=new Set;for(let M of d)if(typeof M==="string"||typeof M==="number"||typeof M==="symbol"){if(m.add(typeof M==="number"?M.toString():M),M==="__proto__")continue;let v=r.keyType._zod.run({value:M,issues:[]},s);if(v instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(v.issues.length){i.issues.push({code:"invalid_key",origin:"record",issues:v.issues.map((_)=>yZ(_,s,Gl())),input:M,path:[M],inst:e});continue}let y=v.value;if(y==="__proto__")continue;let x=r.valueType._zod.run({value:l[M],issues:[]},s);if(x instanceof Promise)c.push(x.then((_)=>{if(_.issues.length)i.issues.push(...A8(M,_.issues));i.value[y]=_.value}));else{if(x.issues.length)i.issues.push(...A8(M,x.issues));i.value[y]=x.value}}let g;for(let M in l)if(!m.has(M))if(r.mode==="loose"){if(M==="__proto__")continue;i.value[M]=l[M]}else g=g??[],g.push(M);if(g&&g.length>0)i.issues.push({code:"unrecognized_keys",input:l,inst:e,keys:g,continue:!0})}else{i.value=a?a.alloc(e,i,{},s):{};let m;for(let g of Reflect.ownKeys(l)){if(g==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(l,g))continue;let M=r.keyType._zod.run({value:g,issues:[]},s);if(M instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof g==="string"&&wD.test(g)&&M.issues.length){let _=r.keyType._zod.run({value:Number(g),issues:[]},s);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]=l[g];else if(d)m=m??[],m.push(g);else i.issues.push({code:"invalid_key",origin:"record",issues:M.issues.map((_)=>yZ(_,s,Gl())),input:g,path:[g],inst:e});continue}let y=M.value;if(y==="__proto__")continue;let x=r.valueType._zod.run({value:l[g],issues:[]},s);if(x instanceof Promise)c.push(x.then((_)=>{if(_.issues.length)i.issues.push(...A8(g,_.issues));i.value[y]=_.value}));else{if(x.issues.length)i.issues.push(...A8(g,x.issues));i.value[y]=x.value}}if(m&&m.length>0)i.issues.push({code:"unrecognized_keys",input:l,inst:e,keys:m,continue:!0})}if(c.length)return Promise.all(c).then(()=>i);return i}});var Epe=Lt("$ZodEnum",(e,r)=>{va.init(e,r);let a=D4(r.entries),i=new Set(a);e._zod.values=i;let s=a.filter((l)=>Lde.has(typeof l));e._zod.pattern=new RegExp(s.length?`^(${s.map((l)=>T8(l.toString())).join("|")})$`:"^[^\\s\\S]$"),e._zod.parse=(l,c)=>{let d=l.value;if(i.has(d))return l;return l.issues.push({code:"invalid_value",values:a,input:d,inst:e}),l}}),Dpe=Lt("$ZodLiteral",(e,r)=>{va.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"?T8(i):i?T8(i.toString()):String(i)).join("|")})$`:"^[^\\s\\S]$"),e._zod.parse=(i,s)=>{let l=i.value;if(a.has(l))return i;return i.issues.push({code:"invalid_value",values:r.values,input:l,inst:e}),i}});var Ope=Lt("$ZodTransform",(e,r)=>{va.init(e,r),e._zod.optin="optional",$s.memoizer?.guard(e),e._zod.parse=(a,i)=>{if(i.direction==="backward")throw new yD(e.constructor.name);let s=r.transform(a.value,a);if(i.async)return(s instanceof Promise?s:Promise.resolve(s)).then((c)=>(a.value=c,a));if(s instanceof Promise)throw new sM;return a.value=s,a}});function YZe(e,r){return e.value=r.issues.length?void 0:r.value,e}var KH=Lt("$ZodOptional",(e,r)=>{va.init(e,r),Po(e,"optin",(a)=>a.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",Po(e,"values",(a)=>{let i=a.def.innerType._zod.values;return i?new Set([...i,void 0]):void 0}),Po(e,"pattern",(a)=>{let i=a.def.innerType._zod.pattern;return i?new RegExp(`^(${O4(i.source)})?$`):void 0}),e._zod.parse=(a,i)=>{if(a.value===void 0){if(r.innerType._zod.optin!=="defaulted")return a;let s=r.innerType._zod.run({value:a.value,issues:[]},i);if(s instanceof Promise)return s.then((l)=>YZe(a,l));return YZe(a,s)}return r.innerType._zod.run(a,i)}}),jpe=Lt("$ZodExactOptional",(e,r)=>{KH.init(e,r),Po(e,"values",(a)=>a.def.innerType._zod.values),Po(e,"pattern",(a)=>a.def.innerType._zod.pattern),e._zod.parse=(a,i)=>r.innerType._zod.run(a,i)}),Npe=Lt("$ZodNullable",(e,r)=>{va.init(e,r),Po(e,"optin",(a)=>a.def.innerType._zod.optin),Po(e,"optout",(a)=>a.def.innerType._zod.optout),Po(e,"pattern",(a)=>{let i=a.def.innerType._zod.pattern;return i?new RegExp(`^(${O4(i.source)}|null)$`):void 0}),Po(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)}}),Fpe=Lt("$ZodDefault",(e,r)=>{va.init(e,r),e._zod.optin="defaulted",Po(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 s=r.innerType._zod.run(a,i);if(s instanceof Promise)return s.then((l)=>UZe(l,r));return UZe(s,r)}});function UZe(e,r){if(e.value===void 0)e.value=r.defaultValue;return e}var Bpe=Lt("$ZodPrefault",(e,r)=>{va.init(e,r),e._zod.optin="defaulted",Po(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)}}),Ype=Lt("$ZodNonOptional",(e,r)=>{va.init(e,r),Po(e,"values",(a)=>{let i=a.def.innerType._zod.values;return i?new Set([...i].filter((s)=>s!==void 0)):void 0}),e._zod.parse=(a,i)=>{let s=r.innerType._zod.run(a,i);if(s instanceof Promise)return s.then((l)=>qZe(l,e));return qZe(s,e)}});function qZe(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((s)=>yZ(s,i,Gl()))},input:e.value}),e}var Upe=Lt("$ZodCatch",(e,r)=>{va.init(e,r),Po(e,"optin",(a)=>a.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),Po(e,"optout",(a)=>a.def.innerType._zod.optout),Po(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 s=r.innerType._zod.run({value:a.value,issues:[]},i);if(s instanceof Promise)return s.then((l)=>HZe(a,l,r,i));return HZe(a,s,r,i)}});var qpe=Lt("$ZodPipe",(e,r)=>{va.init(e,r),Po(e,"values",(a)=>a.def.in._zod.values),Po(e,"optin",(a)=>a.def.in._zod.optin),Po(e,"optout",(a)=>a.def.out._zod.optout),Po(e,"propValues",(a)=>a.def.in._zod.propValues),e._zod.parse=(a,i)=>{if(i.direction==="backward"){let l=r.out._zod.run(a,i);if(l instanceof Promise)return l.then((c)=>V4(c,r.in,i));return V4(l,r.in,i)}let s=r.in._zod.run(a,i);if(s instanceof Promise)return s.then((l)=>V4(l,r.out,i));return V4(s,r.out,i)}});function V4(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=Lt("$ZodReadonly",(e,r)=>{va.init(e,r),Po(e,"propValues",(a)=>a.def.innerType._zod.propValues),Po(e,"values",(a)=>a.def.innerType._zod.values),Po(e,"optin",(a)=>a.def.innerType?._zod?.optin),Po(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 s=r.innerType._zod.run(a,i);if(s instanceof Promise)return s.then(VZe);return VZe(s)}});function VZe(e){if(!e.memo)e.value=Object.freeze(e.value);return e}var Vpe=Lt("$ZodLazy",(e,r)=>{va.init(e,r),_de(e._zod,"innerType",()=>{let a=r;if(!a._cachedInner)a._cachedInner=r.getter();return a._cachedInner}),Po(e,"pattern",(a)=>a.innerType?._zod?.pattern),Po(e,"propValues",(a)=>a.innerType?._zod?.propValues),Po(e,"optin",(a)=>a.innerType?._zod?.optin??void 0),Po(e,"optout",(a)=>a.innerType?._zod?.optout??void 0),e._zod.parse=(a,i)=>e._zod.innerType._zod.run(a,i)}),Wpe=Lt("$ZodCustom",(e,r)=>{af.init(e,r),va.init(e,r),e._zod.parse=(a,i)=>a,e._zod.check=(a)=>{let i=a.value,s=r.fn(i);if(s instanceof Promise)return s.then((l)=>WZe(l,a,i,e));WZe(s,a,i,e);return}});function WZe(e,r,a,i){if(!e){let s={code:"custom",input:a,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};if(i._zod.def.params)s.params=i._zod.def.params;r.issues.push(yL(s))}}class Xpe extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform");this.name="ZodCyclicError"}}var QH="~memo",Gpe=[];function XH(e){return e.map((r)=>r.path?{...r,path:r.path.slice()}:{...r})}var Kpe=new WeakMap;function Qpe(e,r){let a=Kpe.get(e);if(a!==void 0)return a;if(r.has(e))return!0;r.add(e);let i=!1,s=(d)=>{if(!i&&d?._zod&&Qpe(d,r))i=!0},l=e._zod.def,c=l.type;switch(c){case"object":{for(let d of Reflect.ownKeys(l.shape))s(l.shape[d]);s(l.catchall);break}case"array":s(l.element);break;case"tuple":for(let d of l.items)s(d);s(l.rest);break;case"record":case"map":s(l.keyType),s(l.valueType);break;case"set":s(l.valueType);break;case"union":for(let d of l.options)s(d);break;case"intersection":s(l.left),s(l.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":s(l.innerType);break;case"pipe":s(l.in),s(l.out);break;case"function":s(l.input),s(l.output);break;case"lazy":s(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 d in l){let m=Object.getOwnPropertyDescriptor(l,d);if(!m||m.get)continue;let g=m.value;if(!g||typeof g!=="object")continue;if(g._zod)s(g);else if(Array.isArray(g))for(let M of g)s(M)}}return r.delete(e),Kpe.set(e,i),i}function Z_t(e,r){let a=e.buckets.get(r);if(!a)a=new Map,e.buckets.set(r,a);return a}var K4,X4=[],p_t={alloc(e,r,a){let i=K4;if(!i)return a;K4=void 0;let s={value:a,issues:null};return i.set(r.value,s),X4.push(s),a},guard(e){var r;(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred.push(()=>{let a=e._zod.parse,i=(s,l)=>{if(l.direction!=="backward"&&m_t(l,s.value))throw new Xpe;return a(s,l)};if(e._zod.parse=i,e._zod.run===a)e._zod.run=i})},attach(e){var r;let a,i,s;(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred.push(()=>{let l=e._zod.parse,c=(d,m)=>{if(a===void 0){if(a=Qpe(e,new Set),!a){if(e._zod.parse=l,e._zod.run===c)e._zod.run=l;return l(d,m)}}let g=d.value;if(g===null||typeof g!=="object")return l(d,m);let M=m[QH];if(!M)M={buckets:new Map,backEdges:void 0},m[QH]=M;let v;if(i===m)v=s;else v=Z_t(M,e),i=m,s=v;let y=v.get(g);if(y){if(d.value=y.value,y.issues){if(y.issues.length)d.issues.push(...XH(y.issues))}else d.memo=!0,M.backEdges??(M.backEdges=new Set),M.backEdges.add(y.value);return d}K4=v;let x=X4.length,_=l(d,m);K4=void 0;let j=X4.length>x?X4.pop():void 0;if(_ instanceof Promise)return _.then((U)=>{if(j)j.issues=U.issues.length?XH(U.issues):Gpe;return U});if(j)j.issues=_.issues.length?XH(_.issues):Gpe;return _};if(e._zod.parse=c,e._zod.run===l)e._zod.run=c})}};function Jpe(){return p_t}function m_t(e,r){let a=e[QH]?.backEdges;return a!==void 0&&r!==null&&typeof r==="object"&&a.has(r)}var h_t=()=>{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(l){return e[l]??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 s(l,c){if(l==="number"&&typeof c==="number"&&!Number.isFinite(c))return String(c);return i[l]??l}return(l)=>{switch(l.code){case"invalid_type":{let c=s(l.expected),d=Pde(l.input),m=s(d,l.input);return`Invalid input: expected ${c}, received ${m}`}case"invalid_value":if(l.values.length===1)return`Invalid input: expected ${CH(l.values[0])}`;return`Invalid option: expected one of ${SH(l.values,"|")}`;case"too_big":{let c=l.exact?"exactly ":l.inclusive?"<=":"<",d=r(l.origin);if(d)return`Too big: expected ${l.origin??"value"} to have ${c}${l.maximum.toString()} ${d.unit??"elements"}`;return`Too big: expected ${l.origin??"value"} to be ${c}${l.maximum.toString()}`}case"too_small":{let c=l.exact?"exactly ":l.inclusive?">=":">",d=r(l.origin);if(d)return`Too small: expected ${l.origin} to have ${c}${l.minimum.toString()} ${d.unit}`;return`Too small: expected ${l.origin} to be ${c}${l.minimum.toString()}`}case"invalid_format":{let c=l;if(c.format==="starts_with")return`Invalid string: must start with "${c.prefix}"`;if(c.format==="ends_with")return`Invalid string: must end with "${c.suffix}"`;if(c.format==="includes")return`Invalid string: must include "${c.includes}"`;if(c.format==="regex")return`Invalid string: must match pattern ${c.pattern}`;return`Invalid ${a[c.format]??l.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${l.divisor}`;case"unrecognized_keys":return`Unrecognized key${l.keys.length>1?"s":""}: ${SH(l.keys,", ")}`;case"invalid_key":return`Invalid key in ${l.origin}`;case"invalid_union":if(l.options&&Array.isArray(l.options)&&l.options.length>0)return`Invalid discriminator value. Expected ${l.options.map((d)=>`'${d}'`).join(" | ")}`;if(l.inclusive===!1)return"Invalid input: more than one option matched";return"Invalid input";case"invalid_element":return`Invalid value in ${l.origin}`;default:return"Invalid input"}}};function JH(){return{localeError:h_t()}}var $pe;class eme{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 g_t(){return new eme}($pe=globalThis).__zod_globalRegistry??($pe.__zod_globalRegistry=g_t());var bL=globalThis.__zod_globalRegistry;function tme(e,r){return new e({type:"string",...Lr(r)})}function rme(e,r){return new e({type:"string",coerce:!0,...Lr(r)})}function ome(e,r){return new e({type:"string",format:"email",check:"string_format",abort:!1,...Lr(r)})}function ame(e,r){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...Lr(r)})}function nme(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...Lr(r)})}function ime(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Lr(r)})}function fme(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Lr(r)})}function sme(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Lr(r)})}function lme(e,r){return new e({type:"string",format:"url",check:"string_format",abort:!1,...Lr(r)})}function cme(e,r){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...Lr(r)})}function ume(e,r){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...Lr(r)})}function dme(e,r){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...Lr(r)})}function Zme(e,r){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...Lr(r)})}function pme(e,r){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...Lr(r)})}function mme(e,r){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...Lr(r)})}function hme(e,r){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...Lr(r)})}function gme(e,r){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...Lr(r)})}function Mme(e,r){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...Lr(r)})}function vme(e,r){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Lr(r)})}function xme(e,r){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Lr(r)})}function yme(e,r){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...Lr(r)})}function bme(e,r){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...Lr(r)})}function _me(e,r){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...Lr(r)})}function wme(e,r){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...Lr(r)})}function zme(e,r){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Lr(r)})}function Sme(e,r){return new e({type:"string",format:"date",check:"string_format",...Lr(r)})}function Lme(e,r){return new e({type:"string",format:"time",check:"string_format",precision:null,...Lr(r)})}function kme(e,r){return new e({type:"string",format:"duration",check:"string_format",...Lr(r)})}function Cme(e,r){return new e({type:"number",checks:[],...Lr(r)})}function Ime(e,r){return new e({type:"number",coerce:!0,checks:[],...Lr(r)})}function Rme(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...Lr(r)})}function Pme(e,r){return new e({type:"boolean",...Lr(r)})}function Tme(e,r){return new e({type:"boolean",coerce:!0,...Lr(r)})}function Ame(e,r){return new e({type:"bigint",coerce:!0,...Lr(r)})}function Eme(e){return new e({type:"any"})}function Dme(e){return new e({type:"unknown"})}function Ome(e,r){return new e({type:"never",...Lr(r)})}function jme(e,r){return new e({type:"date",...Lr(r)})}function Nme(e,r){return new e({type:"date",coerce:!0,...Lr(r)})}function UR(e,r){return new BH({check:"less_than",...Lr(r),value:e,inclusive:!1})}function lM(e,r){return new BH({check:"less_than",...Lr(r),value:e,inclusive:!0})}function qR(e,r){return new YH({check:"greater_than",...Lr(r),value:e,inclusive:!1})}function cM(e,r){return new YH({check:"greater_than",...Lr(r),value:e,inclusive:!0})}function LD(e,r){return new wZe({check:"multiple_of",...Lr(r),value:e})}function Q4(e,r){return new SZe({check:"max_length",...Lr(r),maximum:e})}function HR(e,r){return new LZe({check:"min_length",...Lr(r),minimum:e})}function J4(e,r){return new kZe({check:"length_equals",...Lr(r),length:e})}function $H(e,r){return new CZe({check:"string_format",format:"regex",...Lr(r),pattern:e})}function eV(e){return new IZe({check:"string_format",format:"lowercase",...Lr(e)})}function tV(e){return new RZe({check:"string_format",format:"uppercase",...Lr(e)})}function rV(e,r){return new PZe({check:"string_format",format:"includes",...Lr(r),includes:e})}function oV(e,r){return new TZe({check:"string_format",format:"starts_with",...Lr(r),prefix:e})}function aV(e,r){return new AZe({check:"string_format",format:"ends_with",...Lr(r),suffix:e})}function E8(e){return new EZe({check:"overwrite",tx:e})}function nV(e){return E8((r)=>r.normalize(e))}function iV(){return E8((e)=>e.trim())}function fV(){return E8((e)=>e.toLowerCase())}function sV(){return E8((e)=>e.toUpperCase())}function lV(){return E8((e)=>zde(e))}function Fme(e,r,a){return new e({type:"array",element:r,...Lr(a)})}function Bme(e,r,a){return new e({type:"custom",check:"custom",fn:r,...Lr(a)})}function Yme(e,r){let a=M_t((i)=>(i.addIssue=(s)=>{if(typeof s==="string")i.issues.push(yL(s,i.value,a._zod.def));else{let l=s;if(l.fatal)l.continue=!1;if(l.code??(l.code="custom"),!("input"in l))l.input=i.value;l.inst??(l.inst=a),l.continue??(l.continue=!a._zod.def.abort),i.issues.push(yL(l))}},e(i.value,i)),r);return a}function M_t(e,r){let a=new af({check:"custom",...Lr(r)});return a._zod.check=e,a}function kD(e,...r){for(let a of r)for(let i of Reflect.ownKeys(a))if(Object.prototype.propertyIsEnumerable.call(a,i))Oi(e,i,a[i]);return e}function uV(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??bL,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 yu(e,r,a,i,s){let l=typeof r.unrepresentable==="function"?r.unrepresentable({zodSchema:e,path:i.path,message:s}):r.unrepresentable;if(l==="any")return!1;if(l===void 0||l==="throw")throw Error(s);return Object.assign(a,l),!0}function wn(e,r,a={path:[],schemaPath:[]}){var i;let s=e._zod.def,l=r.seen.get(e);if(l){if(l.count++,a.schemaPath.includes(e))l.cycle=a.path;return l.schema}let c={schema:{},count:1,cycle:void 0,path:a.path};r.seen.set(e,c),r.sharedDefsExtractedFor=void 0,r.sharedEmitDoneFor=void 0;let d=e._zod.toJSONSchema?.();if(d)c.schema=d;else{let M={...a,schemaPath:[...a.schemaPath,e],path:a.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(r,c.schema,M);else{let y=c.schema,x=r.processors[s.type];if(!x)throw Error(`[toJSONSchema]: Non-representable type encountered: ${s.type}`);x(e,r,y,M)}let v=e._zod.parent;if(v){if(!c.ref)c.ref=v;wn(v,r,M),r.seen.get(v).isParent=!0}}let m=r.metadataRegistry.get(e);if(m)kD(c.schema,m);if(r.io==="input"&&vs(e))delete c.schema.examples,delete c.schema.default;if(r.io==="input"&&"_prefault"in c.schema)(i=c.schema).default??(i.default=c.schema._prefault);return delete c.schema._prefault,r.seen.get(e).schema}function Ume(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function dV(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 c of e.seen.entries()){let d=e.metadataRegistry.get(c[0])?.id;if(d){let m=i.get(d);if(m&&m!==c[0])throw Error(`Duplicate schema id "${d}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(d,c[0])}}let s=(c)=>{let d=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let v=e.external.registry.get(c[0])?.id,y=e.external.uri??((_)=>_);if(v)return{ref:y(v)};let x=c[1].defId??c[1].schema.id??`schema${e.counter++}`;return c[1].defId=x,{defId:x,ref:`${y("__shared")}#/${d}/${Ume(x)}`}}let m="#",g=`${m}/${d}/`;if(c[1]===a&&!c[1].schema.id)return{ref:m};let M=c[1].schema.id??`__schema${e.counter++}`;return{defId:M,ref:g+Ume(M)}},l=(c)=>{if(c[1].schema.$ref)return;let d=c[1],{ref:m,defId:g}=s(c);if(d.def={...d.schema},g)d.defId=g;let M=d.schema;for(let v in M)delete M[v];M.$ref=m};if(e.cycles==="throw")for(let c of e.seen.entries()){let d=c[1];if(d.cycle)throw Error(`Cycle detected: #/${d.cycle?.join("/")}/<root>
194
+
195
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let c of e.seen.entries()){let d=c[1];if(r===c[0]){l(c);continue}if(e.external){let g=e.external.registry.get(c[0])?.id;if(r!==c[0]&&g){l(c);continue}}if(e.metadataRegistry.get(c[0])?.id){l(c);continue}if(d.cycle){l(c);continue}if(d.count>1){if(e.reused==="ref"){l(c);continue}}}if(e.external)e.sharedDefsExtractedFor=e.external}function Vme(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;Vme(i);let s=Object.keys(i);if(s.length!==1||s[0]!=="type")return;let l=i.type;for(let c of Array.isArray(l)?l:[l]){if(typeof c!=="string")return;if(!a.includes(c))a.push(c)}}delete e.anyOf,e.type=a.length===1?a[0]:a}var Wme=new Set(["type","properties","required","additionalProperties"]),qme=["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 cV(e){let r=[];for(let l of e){if(typeof l!=="object"||l.type!=="object")return null;for(let c in l)if(!Wme.has(c))return null;r.push(l)}let a={},i=new Set;for(let l of r){for(let c in l.properties){if(Object.prototype.hasOwnProperty.call(a,c))continue;let d=[];for(let g of r){let M=g.properties?.[c]??Hme(g);if(M===null||M===void 0)continue;if(!d.some((v)=>JSON.stringify(v)===JSON.stringify(M)))d.push(M)}let m=d.length===1?d[0]:cV(d)??{allOf:d};Oi(a,c,m)}for(let c of l.required??[])i.add(c)}let s={type:"object",properties:a};if(i.size)s.required=[...i];if(r.every((l)=>l.additionalProperties===!1))s.additionalProperties=!1;else{let l=[];for(let c of r){let d=Hme(c);if(d&&!l.some((m)=>JSON.stringify(m)===JSON.stringify(d)))l.push(d)}if(l.length===1)s.additionalProperties=l[0];else if(l.length>1)s.additionalProperties={allOf:l}}return s}function v_t(e){let r=e.allOf;if(!Array.isArray(r)||r.length<2)return;for(let s of Wme)if(s in e)return;let a=r.filter((s)=>qme.some((l)=>Array.isArray(s[l]))),i=null;if(!a.length)i=cV(r);else{let s=a[0],l=qme.find((m)=>Array.isArray(s[m]));if(Object.keys(s).length!==1)return;let c=r.filter((m)=>m!==s),d=s[l].map((m)=>cV([...c,m]));if(d.some((m)=>!m))return;i={[l]:d}}if(!i)return;delete e.allOf,kD(e,i)}function ZV(e,r){let a=e.seen.get(r);if(!a)throw Error("Unprocessed schema. This is a bug in Zod.");let i=(d)=>{let m=e.seen.get(d);if(m.ref===null)return;let g=m.def??m.schema,M={...g},v=m.ref;if(m.ref=null,v){i(v);let x=e.seen.get(v),_=x.schema;if(_.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0"))g.allOf=g.allOf??[],g.allOf.push(_);else kD(g,_);if(kD(g,M),d._zod.parent===v)for(let U in g){if(U==="$ref"||U==="allOf")continue;if(!(U in M))delete g[U]}if(_.$ref&&x.def)for(let U in g){if(U==="$ref"||U==="allOf")continue;if(U in x.def&&JSON.stringify(g[U])===JSON.stringify(x.def[U]))delete g[U]}}let y=d._zod.parent;if(y&&y!==v){i(y);let x=e.seen.get(y);if(x?.schema.$ref){if(g.$ref=x.schema.$ref,x.def)for(let _ in g){if(_==="$ref"||_==="allOf")continue;if(_ in x.def&&JSON.stringify(g[_])===JSON.stringify(x.def[_]))delete g[_]}}}e.override({zodSchema:d,jsonSchema:g,path:m.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let d of[...e.seen.entries()].reverse())i(d[0]);if(e.target!=="openapi-3.0")for(let d of e.seen.entries())Vme(d[1].def??d[1].schema);for(let d of e.deferred)d();if(e.intersections.length){let d=new Map;for(let m of e.seen.values())for(let g of[m.schema,m.def]){let M=g?.allOf;if(!Array.isArray(M))continue;let v=d.get(M);if(v)v.push(g);else d.set(M,[g])}for(let m of e.intersections)for(let g of d.get(m)??[])v_t(g)}}let s={};if(e.target==="draft-2020-12")s.$schema="https://json-schema.org/draft/2020-12/schema";else if(e.target==="draft-07")s.$schema="http://json-schema.org/draft-07/schema#";else if(e.target==="draft-04")s.$schema="http://json-schema.org/draft-04/schema#";else if(e.target==="openapi-3.0");if(e.external?.uri){let d=e.external.registry.get(r)?.id;if(!d)throw Error("Schema is missing an `id` property");s.$id=e.external.uri(d)}kD(s,a.defId?a.schema:a.def??a.schema);let l=e.metadataRegistry.get(r)?.id;if(l!==void 0&&s.id===l)delete s.id;let c=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let d of e.seen.entries()){let m=d[1];if(m.def&&m.defId){if(m.def.id===m.defId)delete m.def.id;Oi(c,m.defId,m.def)}}if(e.external)e.sharedEmitDoneFor=e.external;if(e.external);else if(Object.keys(c).length>0)if(e.target==="draft-2020-12")s.$defs=c;else s.definitions=c;try{let d=JSON.parse(JSON.stringify(s));return Object.defineProperty(d,"~standard",{value:{...r["~standard"],jsonSchema:{input:CD(r,"input",e.processors),output:CD(r,"output",e.processors)}},enumerable:!1,writable:!1}),d}catch(d){throw Error("Error converting schema to JSON.")}}function vs(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 vs(i.element,a);if(i.type==="set")return vs(i.valueType,a);if(i.type==="lazy")return vs(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 vs(i.innerType,a);if(i.type==="intersection")return vs(i.left,a)||vs(i.right,a);if(i.type==="record"||i.type==="map")return vs(i.keyType,a)||vs(i.valueType,a);if(i.type==="pipe"){if(e._zod.traits.has("$ZodCodec"))return!0;return vs(i.in,a)||vs(i.out,a)}if(i.type==="object"){for(let s in i.shape)if(vs(i.shape[s],a))return!0;return!1}if(i.type==="union"){for(let s of i.options)if(vs(s,a))return!0;return!1}if(i.type==="tuple"){for(let s of i.items)if(vs(s,a))return!0;if(i.rest&&vs(i.rest,a))return!0;return!1}return!1}var Gme=(e,r={})=>(a)=>{let i=uV({...a,processors:r});return wn(e,i),dV(i,e),ZV(i,e)},CD=(e,r,a={})=>(i)=>{let{libraryOptions:s,target:l}=i??{},c=uV({...s??{},target:l,io:r,processors:a});return wn(e,c),dV(c,e),ZV(c,e)};var x_t={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Kme=(e,r,a,i)=>{let s=a;s.type="string";let{minimum:l,maximum:c,format:d,patterns:m,contentEncoding:g,laxFormat:M}=e._zod.bag;if(typeof l==="number")s.minLength=l;if(typeof c==="number")s.maxLength=c;if(d){if(s.format=x_t[d]??d,s.format==="")delete s.format;if(d==="time"||M)delete s.format}if(g)s.contentEncoding=g;if(m&&m.size>0){let v=[...m];if(v.length===1)s.pattern=v[0].source;else if(v.length>1)s.allOf=[...v.map((y)=>({...r.target==="draft-07"||r.target==="draft-04"||r.target==="openapi-3.0"?{type:"string"}:{},pattern:y.source}))]}},Xme=(e,r,a,i)=>{let s=a,{minimum:l,maximum:c,format:d,multipleOf:m,exclusiveMaximum:g,exclusiveMinimum:M}=e._zod.bag;if(typeof d==="string"&&d.includes("int"))s.type="integer";else s.type="number";let v=typeof M==="number"&&M>=(l??Number.NEGATIVE_INFINITY),y=typeof g==="number"&&g<=(c??Number.POSITIVE_INFINITY),x=r.target==="draft-04"||r.target==="openapi-3.0";if(v)if(x)s.minimum=M,s.exclusiveMinimum=!0;else s.exclusiveMinimum=M;else if(typeof l==="number")s.minimum=l;if(y)if(x)s.maximum=g,s.exclusiveMaximum=!0;else s.exclusiveMaximum=g;else if(typeof c==="number")s.maximum=c;if(typeof m==="number")if(Number.isFinite(m)&&m!==0)s.multipleOf=Math.abs(m);else yu(e,r,s,i,`A multipleOf divisor of ${m} cannot be represented in JSON Schema`)},Qme=(e,r,a,i)=>{a.type="boolean"},Jme=(e,r,a,i)=>{yu(e,r,a,i,"BigInt cannot be represented in JSON Schema")};var $me=(e,r,a,i)=>{a.not={}},ehe=(e,r,a,i)=>{},the=(e,r,a,i)=>{},rhe=(e,r,a,i)=>{yu(e,r,a,i,"Date cannot be represented in JSON Schema")},ohe=(e,r,a,i)=>{let s=e._zod.def,l=D4(s.entries);if(l.length===0){a.not={};return}if(l.every((c)=>typeof c==="number"))a.type="number";if(l.every((c)=>typeof c==="string"))a.type="string";a.enum=l},ahe=(e,r,a,i)=>{let s=e._zod.def;if(s.values.length===0){a.not={};return}let l=[];for(let c of s.values)if(c===void 0){if(yu(e,r,a,i,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof c==="bigint"){if(yu(e,r,a,i,"BigInt literals cannot be represented in JSON Schema"))return;l.push(Number(c))}else l.push(c);if(l.length===0);else if(l.length===1){let c=l[0];if(a.type=c===null?"null":typeof c,r.target==="draft-04"||r.target==="openapi-3.0")a.enum=[c];else a.const=c}else{if(l.every((c)=>typeof c==="number"))a.type="number";if(l.every((c)=>typeof c==="string"))a.type="string";if(l.every((c)=>typeof c==="boolean"))a.type="boolean";if(l.every((c)=>c===null))a.type="null";a.enum=l}};var nhe=(e,r,a,i)=>{yu(e,r,a,i,"Custom types cannot be represented in JSON Schema")};var ihe=(e,r,a,i)=>{yu(e,r,a,i,"Transforms cannot be represented in JSON Schema")};var fhe=(e,r,a,i)=>{let s=a,l=e._zod.def,{minimum:c,maximum:d}=e._zod.bag;if(typeof c==="number")s.minItems=c;if(typeof d==="number")s.maxItems=d;s.type="array",s.items=wn(l.element,r,{...i,path:[...i.path,"items"]})};function $4(e){let r=e._zod.def;if(r.type==="pipe"&&r.in._zod.traits.has("$ZodTransform"))return $4(r.out);if(r.type==="catch")return $4(r.innerType);return e._zod.optin}var she=(e,r,a,i)=>{let s=a,l=e._zod.def,c=l.shape;if(Object.getOwnPropertySymbols(c).length&&yu(e,r,s,i,"Symbol keys cannot be represented in JSON Schema"))return;s.type="object",s.properties={};for(let M in c)Oi(s.properties,M,wn(c[M],r,{...i,path:[...i.path,"properties",M]}));let m=new Set(Object.keys(c)),g=new Set([...m].filter((M)=>{let v=l.shape[M];if(r.io==="input")return $4(v)===void 0;else return v._zod.optout===void 0}));if(g.size>0)s.required=Array.from(g);if(l.catchall?._zod.def.type==="never")s.additionalProperties=!1;else if(!l.catchall){if(r.io==="output")s.additionalProperties=!1}else if(l.catchall)s.additionalProperties=wn(l.catchall,r,{...i,path:[...i.path,"additionalProperties"]})},lhe=(e,r,a,i)=>{let s=e._zod.def,l=s.inclusive===!1,c=s.options.map((d,m)=>wn(d,r,{...i,path:[...i.path,l?"oneOf":"anyOf",m]}));if(l)a.oneOf=c;else a.anyOf=c},che=(e,r,a,i)=>{let s=e._zod.def,l=wn(s.left,r,{...i,path:[...i.path,"allOf",0]}),c=wn(s.right,r,{...i,path:[...i.path,"allOf",1]}),d=(g)=>("allOf"in g)&&Object.keys(g).length===1,m=[...d(l)?l.allOf:[l],...d(c)?c.allOf:[c]];a.allOf=m,r.intersections.push(m)};function pV(e,r,a){if(r.$ref){if(a.has(r))return r;a.add(r);let _=e.get(r)?.def;if(!_)return r;let j=pV(e,_,a);return j===_?r:j}for(let _ of["anyOf","oneOf"]){let j=r[_];if(!Array.isArray(j))continue;let U=j.map((T)=>pV(e,T,a));if(U.some((T,N)=>T!==j[N]))r={...r,[_]:U}}let i=Array.isArray(r.type)?r.type:[r.type],s=!i.includes("string")&&i.some((_)=>_==="number"||_==="integer"),l=r.enum??(r.const!==void 0?[r.const]:void 0);if(!s&&!l?.some((_)=>typeof _==="number"))return r;let{minimum:c,maximum:d,exclusiveMinimum:m,exclusiveMaximum:g,multipleOf:M,format:v,id:y,...x}=r;if(x.enum)x.enum=x.enum.map((_)=>typeof _==="number"?String(_):_);else if(typeof x.const==="number")x.const=String(x.const);if(!s)return x;if(x.type="string",!l)x.pattern=(i.includes("number")?wD:q4).source;return x}var mV=new WeakMap;function y_t(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 mV.get(e)??[]){let s=e.seen.get(i),l=(s?.def??s?.schema)?.propertyNames;if(!l||l===!0||a.has(l))continue;let c=pV(r,l,new Set);if(c!==l)a.set(l,c)}if(!a.size)return;for(let i of e.seen.values())for(let s of[i.schema,i.def]){let l=s&&a.get(s.propertyNames);if(l)s.propertyNames=l}}var uhe=(e,r,a,i)=>{let s=a,l=e._zod.def;s.type="object";let c=l.keyType,m=c._zod.bag?.patterns;if(l.mode==="loose"&&m&&m.size>0){let v=wn(l.valueType,r,{...i,path:[...i.path,"patternProperties","*"]});s.patternProperties={};for(let y of m)Oi(s.patternProperties,y.source,v)}else{if(r.target==="draft-07"||r.target==="draft-2020-12"){s.propertyNames=wn(l.keyType,r,{...i,path:[...i.path,"propertyNames"]});let v=mV.get(r);if(!v)v=[],mV.set(r,v),r.deferred.push(()=>y_t(r));v.push(e)}s.additionalProperties=wn(l.valueType,r,{...i,path:[...i.path,"additionalProperties"]})}let g=c._zod.values,M=r.io==="input"&&$4(l.valueType)!==void 0;if(g&&!l.partial&&!M){let v=[...g].filter((y)=>typeof y==="string"||typeof y==="number");if(v.length>0)s.required=v.map(String)}},dhe=(e,r,a,i)=>{let s=e._zod.def,l=wn(s.innerType,r,i),c=r.seen.get(e);if(r.target==="openapi-3.0")c.ref=s.innerType,a.nullable=!0;else a.anyOf=[l,{type:"null"}]},Zhe=(e,r,a,i)=>{let s=e._zod.def;wn(s.innerType,r,i);let l=r.seen.get(e);l.ref=s.innerType},hV=Symbol();function phe(e,r,a,i,s){let l=!1,c=JSON.stringify(e,(d,m)=>{if(typeof m!=="bigint")return m;return l=!0,null});if(!l)return JSON.parse(c);return yu(r,a,i,s,"BigInt defaults cannot be represented in JSON Schema"),hV}var mhe=(e,r,a,i)=>{let s=e._zod.def;wn(s.innerType,r,i);let l=r.seen.get(e);l.ref=s.innerType;let c=phe(s.defaultValue,e,r,a,i);if(c!==hV)a.default=c},hhe=(e,r,a,i)=>{let s=e._zod.def;wn(s.innerType,r,i);let l=r.seen.get(e);if(l.ref=s.innerType,r.io!=="input")return;let c=phe(s.defaultValue,e,r,a,i);if(c!==hV)a._prefault=c},ghe=(e,r,a,i)=>{let s=e._zod.def;wn(s.innerType,r,i);let l=r.seen.get(e);l.ref=s.innerType;let c;try{c=s.catchValue(void 0)}catch{yu(e,r,a,i,"Dynamic catch values are not supported in JSON Schema");return}a.default=c},Mhe=(e,r,a,i)=>{let s=e._zod.def,l=s.in._zod.traits.has("$ZodTransform"),c=r.io==="input"?l?s.out:s.in:s.out;wn(c,r,i);let d=r.seen.get(e);d.ref=c},vhe=(e,r,a,i)=>{let s=e._zod.def;wn(s.innerType,r,i);let l=r.seen.get(e);l.ref=s.innerType,a.readOnly=!0};var gV=(e,r,a,i)=>{let s=e._zod.def;wn(s.innerType,r,i);let l=r.seen.get(e);l.ref=s.innerType},xhe=(e,r,a,i)=>{let s=e._zod.innerType;wn(s,r,i);let l=r.seen.get(e);l.ref=s};var yhe=new WeakSet([Object.prototype,Error.prototype]);function eF(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 C_t=(e,r)=>{F4.init(e,r),e.name="ZodError";let a=Object.getPrototypeOf(e);if(yhe.has(a))return;yhe.add(a),eF(a,"format",(i)=>(s)=>Fde(i,s)),eF(a,"flatten",(i)=>(s)=>Nde(i,s)),eF(a,"addIssue",(i)=>(s)=>{i.issues.push(s),i.message=JSON.stringify(i.issues,vD,2)}),eF(a,"addIssues",(i)=>(s)=>{i.issues.push(...s),i.message=JSON.stringify(i.issues,vD,2)}),Object.defineProperty(a,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}})};var Kl=Lt("ZodError",C_t,void 0,{Parent:Error});var bhe=Y4(Kl),_he=U4(Kl),whe=bD(Kl),zhe=_D(Kl),She=Ude(Kl),Lhe=qde(Kl),khe=Hde(Kl),Che=Vde(Kl),Ihe=Wde(Kl),Rhe=Gde(Kl),Phe=Kde(Kl),The=Xde(Kl);function R_t(){if(!$s.localeError)Gl(JH())}function oF(){if(!$s.memoizer)Gl({memoizer:Jpe()})}var za=Lt("ZodType",(e,r)=>(R_t(),va.init(e,r),e.def=r,e.type=r.type,e),{check(...e){let r=this.def;return this.clone(P8(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 xZ(this,e,r)},brand(){return this},register(e,r){return e.add(this,r),this},refine(e,r){return this.check(zwt(e,r))},superRefine(e,r){return this.check(Swt(e,r))},overwrite(e){return this.check(E8(e))},optional(){return Dhe(this)},exactOptional(){return dwt(this)},nullable(){return Ohe(this)},nullish(){return Dhe(Ohe(this))},nonoptional(e){return Mwt(this,e)},array(){return te(this)},or(e){return qa([this,e])},and(e){return Uhe(this,e)},transform(e){return jhe(this,uwt(e))},default(e){return mwt(this,e)},prefault(e){return gwt(this,e)},catch(e){return xwt(this,e)},pipe(e){return jhe(this,e)},readonly(){return _wt(this)},describe(e){let r=this.clone();return bL.add(r,{description:e}),r},meta(...e){if(e.length===0)return bL.get(this);let r=this.clone();return bL.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 RH(this,"~standard",{...VH(this),jsonSchema:{input:CD(this,"input"),output:CD(this,"output")}})},set "~standard"(e){ML(this,"~standard",e)},parse:function e(r,a){return bhe(this,r,a,{callee:e})},parseAsync:async function e(r,a){return await _he(this,r,a,{callee:e})},safeParse(e,r){return whe(this,e,r)},async safeParseAsync(e,r){return zhe(this,e,r)},get spa(){return this?.safeParseAsync},set spa(e){ML(this,"spa",e)},encode:function e(r,a){return She(this,r,a,{callee:e})},decode:function e(r,a){return Lhe(this,r,a,{callee:e})},encodeAsync:async function e(r,a){return await khe(this,r,a,{callee:e})},decodeAsync:async function e(r,a){return await Che(this,r,a,{callee:e})},safeEncode(e,r){return Ihe(this,e,r)},safeDecode(e,r){return Rhe(this,e,r)},async safeEncodeAsync(e,r){return Phe(this,e,r)},async safeDecodeAsync(e,r){return The(this,e,r)},toJSONSchema(e){return Gme(this,{})(e)},get description(){return bL.get(this)?.description},get _def(){return this._zod.def}}),Nhe=Lt("_ZodString",(e,r)=>{G4.init(e,r),za.init(e,r),e._zod.processJSONSchema=(i,s,l)=>Kme(e,i,s,l);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($H(...e))},includes(...e){return this.check(rV(...e))},startsWith(...e){return this.check(oV(...e))},endsWith(...e){return this.check(aV(...e))},min(...e){return this.check(HR(...e))},max(...e){return this.check(Q4(...e))},length(...e){return this.check(J4(...e))},nonempty(...e){return this.check(HR(1,...e))},lowercase(e){return this.check(eV(e))},uppercase(e){return this.check(tV(e))},trim(){return this.check(iV())},normalize(...e){return this.check(nV(...e))},toLowerCase(){return this.check(fV())},toUpperCase(){return this.check(sV())},slugify(){return this.check(lV())}}),MV=Lt("ZodString",(e,r)=>{G4.init(e,r),Nhe.init(e,r)},{email(e){return this.check(ome(D_t,e))},url(e){return this.check(lme(j_t,e))},jwt(e){return this.check(wme($_t,e))},emoji(e){return this.check(cme(N_t,e))},guid(e){return this.check(ame(O_t,e))},uuid(e){return this.check(nme(tF,e))},uuidv4(e){return this.check(ime(tF,e))},uuidv6(e){return this.check(fme(tF,e))},uuidv7(e){return this.check(sme(tF,e))},nanoid(e){return this.check(ume(F_t,e))},cuid(e){return this.check(dme(B_t,e))},cuid2(e){return this.check(Zme(Y_t,e))},ulid(e){return this.check(pme(U_t,e))},base64(e){return this.check(yme(X_t,e))},base64url(e){return this.check(bme(Q_t,e))},xid(e){return this.check(mme(q_t,e))},ksuid(e){return this.check(hme(H_t,e))},ipv4(e){return this.check(gme(V_t,e))},ipv6(e){return this.check(Mme(W_t,e))},cidrv4(e){return this.check(vme(G_t,e))},cidrv6(e){return this.check(xme(K_t,e))},e164(e){return this.check(_me(J_t,e))},datetime(e){return this.check(zme(P_t,e))},date(e){return this.check(Sme(T_t,e))},time(e){return this.check(Lme(A_t,e))},duration(e){return this.check(kme(E_t,e))}});function f(e){return tme(MV,e)}var un=Lt("ZodStringFormat",(e,r)=>{$a.init(e,r),Nhe.init(e,r)}),P_t=Lt("ZodISODateTime",(e,r)=>{fpe.init(e,r),un.init(e,r)}),T_t=Lt("ZodISODate",(e,r)=>{spe.init(e,r),un.init(e,r)}),A_t=Lt("ZodISOTime",(e,r)=>{lpe.init(e,r),un.init(e,r)}),E_t=Lt("ZodISODuration",(e,r)=>{cpe.init(e,r),un.init(e,r)}),D_t=Lt("ZodEmail",(e,r)=>{XZe.init(e,r),un.init(e,r)});var O_t=Lt("ZodGUID",(e,r)=>{GZe.init(e,r),un.init(e,r)});var tF=Lt("ZodUUID",(e,r)=>{KZe.init(e,r),un.init(e,r)});var j_t=Lt("ZodURL",(e,r)=>{$Ze.init(e,r),un.init(e,r)});var N_t=Lt("ZodEmoji",(e,r)=>{epe.init(e,r),un.init(e,r)});var F_t=Lt("ZodNanoID",(e,r)=>{tpe.init(e,r),un.init(e,r)});var B_t=Lt("ZodCUID",(e,r)=>{rpe.init(e,r),un.init(e,r)});var Y_t=Lt("ZodCUID2",(e,r)=>{ope.init(e,r),un.init(e,r)});var U_t=Lt("ZodULID",(e,r)=>{ape.init(e,r),un.init(e,r)});var q_t=Lt("ZodXID",(e,r)=>{npe.init(e,r),un.init(e,r)});var H_t=Lt("ZodKSUID",(e,r)=>{ipe.init(e,r),un.init(e,r)});var V_t=Lt("ZodIPv4",(e,r)=>{upe.init(e,r),un.init(e,r)});var W_t=Lt("ZodIPv6",(e,r)=>{Zpe.init(e,r),un.init(e,r)});var G_t=Lt("ZodCIDRv4",(e,r)=>{ppe.init(e,r),un.init(e,r)});var K_t=Lt("ZodCIDRv6",(e,r)=>{mpe.init(e,r),un.init(e,r)});var X_t=Lt("ZodBase64",(e,r)=>{gpe.init(e,r),un.init(e,r)});var Q_t=Lt("ZodBase64URL",(e,r)=>{Mpe.init(e,r),un.init(e,r)});var J_t=Lt("ZodE164",(e,r)=>{vpe.init(e,r),un.init(e,r)});var $_t=Lt("ZodJWT",(e,r)=>{xpe.init(e,r),un.init(e,r)});var aF=Lt("ZodNumber",(e,r)=>{WH.init(e,r),za.init(e,r),e._zod.processJSONSchema=(i,s,l)=>Xme(e,i,s,l);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(qR(e,r))},gte(e,r){return this.check(cM(e,r))},min(e,r){return this.check(cM(e,r))},lt(e,r){return this.check(UR(e,r))},lte(e,r){return this.check(lM(e,r))},max(e,r){return this.check(lM(e,r))},int(e){return this.check(Ahe(e))},safe(e){return this.check(Ahe(e))},positive(e){return this.check(qR(0,e))},nonnegative(e){return this.check(cM(0,e))},negative(e){return this.check(UR(0,e))},nonpositive(e){return this.check(lM(0,e))},multipleOf(e,r){return this.check(LD(e,r))},step(e,r){return this.check(LD(e,r))},finite(){return this}});function Kt(e){return Cme(aF,e)}var ewt=Lt("ZodNumberFormat",(e,r)=>{ype.init(e,r),aF.init(e,r)});function Ahe(e){return Rme(ewt,e)}var vV=Lt("ZodBoolean",(e,r)=>{bpe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Qme(e,a,i,s)});function Zr(e){return Pme(vV,e)}var Fhe=Lt("ZodBigInt",(e,r)=>{_pe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(i,s,l)=>Jme(e,i,s,l);let a=e._zod.bag;e.minValue=a.minimum??null,e.maxValue=a.maximum??null,e.format=a.format??null},{gte(e,r){return this.check(cM(e,r))},min(e,r){return this.check(cM(e,r))},gt(e,r){return this.check(qR(e,r))},lt(e,r){return this.check(UR(e,r))},lte(e,r){return this.check(lM(e,r))},max(e,r){return this.check(lM(e,r))},positive(e){return this.check(qR(BigInt(0),e))},negative(e){return this.check(UR(BigInt(0),e))},nonpositive(e){return this.check(lM(BigInt(0),e))},nonnegative(e){return this.check(cM(BigInt(0),e))},multipleOf(e,r){return this.check(LD(e,r))}});var twt=Lt("ZodAny",(e,r)=>{wpe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>ehe(e,a,i,s)});function xs(){return Eme(twt)}var rwt=Lt("ZodUnknown",(e,r)=>{zpe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>the(e,a,i,s)});function _Z(){return Dme(rwt)}var owt=Lt("ZodNever",(e,r)=>{Spe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>$me(e,a,i,s)});function awt(e){return Ome(owt,e)}var xV=Lt("ZodDate",(e,r)=>{Lpe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(i,s,l)=>rhe(e,i,s,l),e.min=(i,s)=>e.check(cM(i,s)),e.max=(i,s)=>e.check(lM(i,s));let a=e._zod.bag;e.minDate=a.minimum?new Date(a.minimum):null,e.maxDate=a.maximum?new Date(a.maximum):null});function Vn(e){return jme(xV,e)}var nwt=Lt("ZodArray",(e,r)=>{oF(),kpe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>fhe(e,a,i,s),e.element=r.element},{min(e,r){return this.check(HR(e,r))},nonempty(e){return this.check(HR(1,e))},max(e,r){return this.check(Q4(e,r))},length(e,r){return this.check(J4(e,r))},unwrap(){return this.element}});function te(e,r){return Fme(nwt,e,r)}var iwt=Lt("ZodObject",(e,r)=>{oF(),Rpe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>she(e,a,i,s),Vbt(e,"shape",(a)=>a._zod.def.shape,!1)},{keyof(){return Ve(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:_Z()})},loose(){return this.clone({...this._zod.def,catchall:_Z()})},strict(){return this.clone({...this._zod.def,catchall:awt()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return jbt(this,e)},safeExtend(e){return Nbt(this,e)},merge(e){return Fbt(this,e)},pick(e){return Dbt(this,e)},omit(e){return Obt(this,e)},partial(...e){return Ide(qhe,this,e[0])},exactPartial(...e){return Ide(Hhe,this,e[0],"exactPartial")},required(...e){return Bbt(Vhe,this,e[0])}});function R(e,r){let a={type:"object",shape:e??{},...Lr(r)};return new iwt(a)}var Bhe=Lt("ZodUnion",(e,r)=>{GH.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>lhe(e,a,i,s),e.options=r.options});function qa(e,r){return new Bhe({type:"union",options:e,...Lr(r)})}var fwt=Lt("ZodDiscriminatedUnion",(e,r)=>{Bhe.init(e,r),Ppe.init(e,r)});function Yhe(e,r,a){return new fwt({type:"union",options:r,discriminator:e,...Lr(a)})}var swt=Lt("ZodIntersection",(e,r)=>{Tpe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>che(e,a,i,s)});function Uhe(e,r){return new swt({type:"intersection",left:e,right:r})}var Ehe=Lt("ZodRecord",(e,r)=>{oF(),Ape.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>uhe(e,a,i,s),e.keyType=r.keyType,e.valueType=r.valueType});function _L(e,r,a){if(!r||!r._zod)return new Ehe({type:"record",keyType:f(),valueType:e,...Lr(r)});return new Ehe({type:"record",keyType:e,valueType:r,...Lr(a)})}var rF=Lt("ZodEnum",(e,r)=>{Epe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(i,s,l)=>ohe(e,i,s,l),e.enum=r.entries,e.options=Object.values(r.entries);let a=new Set(Object.keys(r.entries));e.extract=(i,s)=>{let l={};for(let c of i)if(a.has(c))l[c]=r.entries[c];else throw Error(`Key ${c} not found in enum`);return new rF({...r,checks:[],...Lr(s),entries:l})},e.exclude=(i,s)=>{let l={...r.entries};for(let c of i)if(a.has(c))delete l[c];else throw Error(`Key ${c} not found in enum`);return new rF({...r,checks:[],...Lr(s),entries:l})}});function Ve(e,r){let a=Array.isArray(e)?Object.fromEntries(e.map((i)=>[i,i])):e;return new rF({type:"enum",entries:a,...Lr(r)})}function xa(e,r){return new rF({type:"enum",entries:e,...Lr(r)})}var lwt=Lt("ZodLiteral",(e,r)=>{Dpe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>ahe(e,a,i,s),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 bu(e,r){return new lwt({type:"literal",values:Array.isArray(e)?e:[e],...Lr(r)})}var cwt=Lt("ZodTransform",(e,r)=>{oF(),Ope.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>ihe(e,a,i,s),e._zod.parse=(a,i)=>{if(i.direction==="backward")throw new yD(e.constructor.name);a.addIssue=(l)=>{if(typeof l==="string")a.issues.push(yL(l,a.value,r));else{let c=l;if(c.fatal)c.continue=!1;if(c.code??(c.code="custom"),!("input"in c))c.input=a.value;c.inst??(c.inst=e),a.issues.push(yL(c))}};let s=r.transform(a.value,a);if(s instanceof Promise)return s.then((l)=>(a.value=l,a));return a.value=s,a}});function uwt(e){return new cwt({type:"transform",transform:e})}var qhe=Lt("ZodOptional",(e,r)=>{KH.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>gV(e,a,i,s),e.unwrap=()=>e._zod.def.innerType});function Dhe(e){return new qhe({type:"optional",innerType:e})}var Hhe=Lt("ZodExactOptional",(e,r)=>{jpe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>gV(e,a,i,s),e.unwrap=()=>e._zod.def.innerType});function dwt(e){return new Hhe({type:"optional",innerType:e})}var Zwt=Lt("ZodNullable",(e,r)=>{Npe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>dhe(e,a,i,s),e.unwrap=()=>e._zod.def.innerType});function Ohe(e){return new Zwt({type:"nullable",innerType:e})}var pwt=Lt("ZodDefault",(e,r)=>{Fpe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>mhe(e,a,i,s),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function mwt(e,r){return new pwt({type:"default",innerType:e,get defaultValue(){return typeof r==="function"?r():kH(r)}})}var hwt=Lt("ZodPrefault",(e,r)=>{Bpe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>hhe(e,a,i,s),e.unwrap=()=>e._zod.def.innerType});function gwt(e,r){return new hwt({type:"prefault",innerType:e,get defaultValue(){return typeof r==="function"?r():kH(r)}})}var Vhe=Lt("ZodNonOptional",(e,r)=>{Ype.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Zhe(e,a,i,s),e.unwrap=()=>e._zod.def.innerType});function Mwt(e,r){return new Vhe({type:"nonoptional",innerType:e,...Lr(r)})}var vwt=Lt("ZodCatch",(e,r)=>{Upe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>ghe(e,a,i,s),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function xwt(e,r){return new vwt({type:"catch",innerType:e,catchValue:typeof r==="function"?r:Ade(r)})}var ywt=Lt("ZodPipe",(e,r)=>{qpe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Mhe(e,a,i,s),e.in=r.in,e.out=r.out});function jhe(e,r){return new ywt({type:"pipe",in:e,out:r})}var bwt=Lt("ZodReadonly",(e,r)=>{Hpe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>vhe(e,a,i,s),e.unwrap=()=>e._zod.def.innerType});function _wt(e){return new bwt({type:"readonly",innerType:e})}var wwt=Lt("ZodLazy",(e,r)=>{Vpe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>xhe(e,a,i,s),e.unwrap=()=>e._zod.def.getter()});function yV(e){return new wwt({type:"lazy",getter:e})}var Whe=Lt("ZodCustom",(e,r)=>{Wpe.init(e,r),za.init(e,r),e._zod.processJSONSchema=(a,i,s)=>nhe(e,a,i,s)});function zwt(e,r={}){return Bme(Whe,e,r)}function Swt(e,r){return Yme(e,r)}function Ghe(e,r={}){let a=new Whe({type:"custom",check:"custom",fn:(i)=>i instanceof e,abort:!0,...Lr(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 ro={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 Khe;(function(e){})(Khe||(Khe={}));var RD={};Me(RD,{bigint:()=>Rwt,boolean:()=>Iwt,date:()=>Pwt,number:()=>Cwt,string:()=>kwt});function kwt(e){return rme(MV,e)}function Cwt(e){return Ime(aF,e)}function Iwt(e){return Tme(vV,e)}function Rwt(e){return Ame(Fhe,e)}function Pwt(e){return Nme(xV,e)}var nF={human:"human",agent:"agent"};var bV={editor:"editor",reviewer:"reviewer"};var Xhe={team:"team",project:"project"};var Qhe={all_members:"all_members",each_member:"each_member",selected_members:"selected_members"};var Jhe={agent_total_tokens:"agent_total_tokens",agent_cost:"agent_cost",agent_mcp_call_count:"agent_mcp_call_count",agent_bash_call_count:"agent_bash_call_count",agent_tool_call_count:"agent_tool_call_count"},Qe={TODO:"TODO",READY:"READY",IN_PROGRESS:"IN_PROGRESS",BLOCKED:"BLOCKED",IN_REVIEW:"IN_REVIEW",DONE:"DONE"},Br={LOW:"LOW",MEDIUM:"MEDIUM",HIGH:"HIGH",URGENT:"URGENT"},nf={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"},$he={chat:"chat",autofill:"autofill",embedding:"embedding"};var Twt=["avatar-1","avatar-2","avatar-3","avatar-4","avatar-5","avatar-6","avatar-7","avatar-8"];var Awt={"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/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0S0UJuN1KK2ZWrt3jSW9GtYzf/4p/Wte+gT0BeWuuGk8CWJhTwcjrkF8bzYCm3Sht9Av1I8sC7HI1yRwa1wBybvlrPjWRR6Jfkyb0YxACVUzGy678cj/fDKSBH/7hlbS4hB6It3rJbQTz8zCfQ2WdhV7n27w4n5o3cyZK2PDXtRnQqBXpHxIxrxRPcUB/GO9z8TzlY2e0cexQbZ3HkD/bupeupZVrpjIq1k9/EwyB+EEGeNHb63rBnxbgSVuEWo0b3WihxMTaZTyre7jogHA2nw8INlzaWrb2Is+v9I5xQN5elt2+hXPAyR160GZ6Ij6NAJPHLEMhw5M7JszydIJxX6bekzNdInyXDwLp5B/pGOIBmgYqQj3NERx5UzJGwruLTFZvHgUj42OMzurfF7niHyu6gM//+uZn94CG5+kMmCCldqOGMrVqWosLAAAAA=="},Jc=Twt.map((e)=>({id:e,preview:`data:image/webp;base64,${Awt[e]}`}));var ege=xa($he),Xc=Ve(["off","minimal","low","medium","high","xhigh"]),_V=Ve(["owner","editor","reviewer"]),bA=["delete_asset"],Ewt=R({id:f().optional(),skillId:f(),skill:R({id:f(),name:f()}).optional()}),$bn=R({id:f(),name:f(),type:ege,enabled:Zr(),permission:_V.optional().default("reviewer"),avatar:f().optional(),avatarPreset:f().optional(),providerId:f().optional(),modelId:f().optional(),thinkingLevel:Xc.optional().default("off"),systemPrompt:f().optional(),soul:f().optional(),skills:te(Ewt).optional(),mcpServerIds:te(f()).optional(),deniedTools:te(f()).optional()}),tge=R({name:f().min(1),type:ege,enabled:Zr().optional().default(!0),permission:_V.optional(),avatar:f().optional(),providerId:f().optional(),modelId:f().optional(),thinkingLevel:Xc.optional().default("off"),systemPrompt:f().optional(),soul:f().optional(),skills:te(f()).optional(),mcpServerIds:te(f()).optional(),deniedTools:te(f()).optional()}),e_n=tge.superRefine((e,r)=>{if(e.type==="chat"||e.type==="autofill"){if(!e.providerId)r.addIssue({code:ro.custom,message:"providerId is required for chat/autofill agents",path:["providerId"]});if(!e.modelId)r.addIssue({code:ro.custom,message:"modelId is required for chat/autofill agents",path:["modelId"]})}}),t_n=tge.superRefine((e,r)=>{if(e.type==="chat"||e.type==="autofill"){if(!e.providerId)r.addIssue({code:ro.custom,message:"providerId is required for chat/autofill agents",path:["providerId"]});if(!e.modelId)r.addIssue({code:ro.custom,message:"modelId is required for chat/autofill agents",path:["modelId"]})}}),r_n=R({permission:_V}),o_n=R({id:f(),sessionId:f(),entry:_Z()}),a_n=R({id:f(),name:f().nullable().optional(),type:f(),createdAt:f(),creator:R({id:f(),name:f().nullable().optional(),email:f().nullable().optional(),image:f().nullable().optional()}).nullable().optional(),agentId:f().optional()});var s_n=R({apiKey:f().optional(),baseUrl:f().optional(),chatModels:te(f()).optional()}),Dwt=Ve(["1h","24h","7d","30d"]),l_n=R({timeframe:Dwt.default("30d"),userId:f().optional()});var D8=R({cursor:f().optional(),total:Kt().optional(),totalSize:Kt().optional()}),ys=R({first:RD.number().optional(),after:f().optional()});var oge=30,m_n=R({data:te(yV(()=>Bwt)),pageInfo:D8}),age=R({proxyType:Ve(["image","video","audio","pdf"]).nullable().optional(),thumbnailUrl:f().optional(),originalHeight:Kt().optional(),originalWidth:Kt().optional(),rotation:Kt().optional(),spriteUrl:f().optional(),duration:Kt().optional(),pageCount:Kt().optional()}),Owt=R({type:f().nullable(),preview:age.nullable()}),iF=R({id:f(),name:f(),image:f().optional()}),rge=R({id:f(),name:f()}),jwt=R({fieldId:f(),value:xs()}),Nwt=R({id:f(),name:f()}),Fwt=R({duration:Kt().optional(),originalWidth:Kt().optional(),originalHeight:Kt().optional(),rotation:Kt().optional(),frameRate:Kt().optional(),totalFrames:Kt().optional(),startTimecode:f().optional()}),Bwt=R({id:f(),name:f(),sizeByte:Kt(),fileCount:Kt(),type:f(),targetType:f().optional().nullable(),status:f(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional(),latestChildren:te(Owt).optional(),preview:age.nullable().optional(),createdAt:f(),updatedAt:f(),deletedAt:f().nullable().optional(),projectId:f().optional().nullable(),creator:iF.nullable().optional(),agentId:f().optional().nullable(),agent:rge.optional().nullable(),fieldValues:te(jwt).optional(),sortIndex:f().optional().nullable(),startTime:Kt().optional().nullable(),endTime:Kt().optional().nullable(),hasAgentsMd:Zr().optional(),commentsCount:Kt().optional(),media:R({original:R({key:f().optional()}).optional(),videoTranscodes:te(R({id:f(),url:f(),key:f(),width:Kt(),height:Kt(),size:Kt(),hdr:Zr().optional()})).optional(),imageTranscodes:te(R({id:f(),url:f(),key:f(),width:Kt(),height:Kt(),size:Kt()})).optional(),videoPreview:R({url:f(),key:f().optional()}).optional(),pdfTranscode:R({url:f(),key:f().optional()}).optional(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional(),metadata:Fwt.optional()}).optional(),ancestorFolders:te(Nwt).optional(),versionStack:R({id:f(),versions:te(R({version:Kt(),current:Zr(),id:f(),name:f().optional().nullable(),previewUrl:f().optional().nullable(),createdAt:f().optional().nullable(),creator:R({id:f(),name:f().nullable(),image:f().optional().nullable()}).nullable().optional(),agent:rge.optional().nullable()}))}).optional().nullable()}),h_n=R({name:f(),type:f(),projectId:f().optional(),parentId:f().optional(),key:f().optional(),sizeByte:Kt().optional(),contentType:f().optional(),creatorId:f().optional(),agentId:f().optional()}),g_n=R({assetId:f()}),M_n=R({id:f(),name:f()}),wV=Ve(["file","folder","all"]),v_n=R({assetId:f().optional(),assetType:wV.optional().default("all"),projectId:f().optional(),showDeleted:Zr().optional(),prefix:f().optional(),sort:f().optional(),order:f().optional(),...ys.shape}),x_n=R({assetId:f(),userId:f(),replyToId:f().optional(),message:f(),annotations:xs().optional(),second:Kt().optional(),attachmentIds:te(f())}),Ywt=R({id:f(),assetId:f(),url:f(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional()}),Uwt=R({code:f(),count:Kt(),requestingUserReacted:Zr(),creatorNames:te(f())}),y_n=R({code:f().min(1)}),b_n=R({code:f().min(1)}),qwt=R({id:f(),assetId:f(),message:f().nullable(),annotations:xs(),second:Kt().nullable(),creator:iF,replies:te(yV(()=>qwt)),attachments:te(Ywt),mentions:te(iF),createdAt:f(),updatedAt:f(),sessionId:f().nullable(),isCompleted:Zr(),completionLastChangedBy:iF.nullable(),reactionCounts:te(Uwt)}),__n=R({isCompleted:Zr()}),w_n=R({newParentId:f(),assetIds:te(f()),creatorId:f().optional()}),z_n=R({newParentId:f(),assetIds:te(f()),withComments:Zr().default(!1),creatorId:f().optional()}),S_n=R({name:f()}),L_n=R({beforeIndex:f().optional(),afterIndex:f().optional()}),k_n=R({ids:te(f())}),C_n=R({ids:te(f())}),I_n=R({file:Ghe(File)}),R_n=R({key:f()}),P_n=R({fileName:f(),contentType:f(),size:Kt()}),T_n=R({id:f(),uploadUrl:f()}),A_n=R({ids:te(f())}),Hwt=R({id:f(),name:f(),url:f()}),E_n=R({files:te(Hwt)}),Vwt=Ve(["fcp-fiojson","media-composer-xml","premiere-xml","resolve-edl"]),D_n=R({format:Vwt,timeZone:f().refine((e)=>{try{return Intl.DateTimeFormat(void 0,{timeZone:e}),!0}catch{return!1}},{message:"Invalid IANA time zone identifier"}).optional()});var N_n=R({userCount:Kt()}),F_n=R({name:f().min(1,"Name is required").max(100,"Name is too long")}),B_n=R({id:f(),token:f(),name:f(),createdAt:f()});var Wwt=Ve(["is","eq","neq","gt","gte","lt","lte","contains","notContains","isEmpty","isNotEmpty","in","notIn","hasAny","hasAll","hasNone","isWithin"]),Gwt=R({field:f(),operator:Wwt,value:xs()}),Kwt=Ve(["asc","desc"]),Xwt=R({field:f(),order:Kwt}),Qwt=Ve(["AND","OR"]),Jwt=Ve(["file","folder"]),fF=Ve(["jpeg","webp"]),zV=R({operator:Qwt.optional().default("AND"),conditions:te(Gwt).optional().default([]),sort:Xwt.optional(),assetType:Jwt.optional(),showSymlink:Zr().optional(),recursively:Zr().optional().default(!0),query:f().optional(),isSemantic:Zr().optional().default(!1),previewFormat:fF.optional()}),H_n=zV.extend(ys.shape);var SV=R({sourceFolderId:f(),searchFilter:zV}),$wt=R({id:f(),name:f(),filter:SV,projectId:f(),createdAt:f(),updatedAt:f(),creator:R({id:f(),name:f(),image:f().optional().nullable()}).optional().nullable()}),X_n=R({name:f(),filter:SV}),Q_n=R({name:f().optional(),filter:SV.optional()});var J_n=R({data:te($wt),pageInfo:R({cursor:f().optional(),total:Kt().optional()})});var twn=R({name:f(),parentId:f()}),rwn=R({name:f()}),own=R({ids:te(f())}),awn=R({ids:te(f())}),nwn=R({content:f().max(1e5)});var lwn=R({code:f(),role:f(),teamId:f(),teamName:f(),projectId:f().optional(),projectName:f().optional(),inviterName:f(),isUsed:Zr()}),cwn=R({role:xa(bV)}),uwn=R({role:xa(bV)}),dwn=R({code:f()});var kr={text:"text",longText:"longText",select:"select",selectMulti:"selectMulti",rating:"rating",number:"number",toggle:"toggle",date:"date",user:"user",userMulti:"userMulti"},Sr={NONE:"NONE",CONTENT:"CONTENT",CREATION_CONTEXT:"CREATION_CONTEXT"},gwn=R({id:f(),displayName:f(),color:f().optional()}),LV=R({name:f(),type:Ve(["text","longText","select","selectMulti","rating","number","toggle","date","user","userMulti"]),autofillSource:xa(Sr).optional(),text:xs().optional(),longText:xs().optional(),select:xs().optional(),selectMulti:xs().optional(),rating:xs().optional(),number:xs().optional(),toggle:xs().optional(),date:xs().optional(),user:xs().optional(),userMulti:xs().optional()}),Mwn=R({key:f().optional(),label:f().optional(),scope:f().optional(),config:LV,description:f().default("")}),vwn=R({label:f().optional(),config:LV,description:f().optional()}),e0t=R({fieldId:f(),visible:Zr()}),xwn=te(e0t),t0t=R({key:f(),value:xs()}),ywn=te(t0t),bwn=R({id:f(),config:LV,scope:f(),readOnly:Zr(),visible:Zr(),description:f()});var nge=Ve(["auto","none","bearer","oauth"]),kV=Ve(["streamable_http","sse"]),sF=Ve(["owner","editor","reviewer"]),r0t=R({grantType:Ve(["authorization_code","client_credentials"]).optional(),clientId:f().optional(),clientSecret:f().optional(),scope:f().optional(),authorizationParams:_L(f(),f()).optional(),redirectUri:f().optional(),clientName:f().optional(),clientUri:f().optional(),skipIssuerMetadataValidation:Zr().optional()}),ige=R({type:nge.optional(),bearerToken:f().optional(),headers:_L(f(),f()).optional(),oauth:r0t.optional()}),CV=R({excludeTools:te(f()).optional(),requestTimeoutMs:Kt().int().positive().optional(),idleTimeoutMs:Kt().int().positive().optional(),keepAlive:Zr().optional(),protocolVersion:Ve(["legacy","auto","2026-07-28"]).optional(),directTools:te(f()).optional()}),o0t=R({name:f(),title:f().optional(),description:f().optional(),inputSchema:_Z().optional()}),zwn=R({url:f().url(),transport:kV.optional(),authConfig:ige.optional(),config:CV.optional(),permission:sF.optional()}),Swn=R({transport:kV.optional(),authConfig:ige.optional(),config:CV.optional(),permission:sF.optional()}),Lwn=R({permission:sF}),a0t=R({id:f(),name:f(),description:f().optional(),instructions:f().optional(),url:f(),transport:kV,authType:nge,config:CV.optional(),permission:sF,status:f(),lastError:f().nullable().optional(),toolCount:Kt(),hasCredential:Zr(),createdAt:f(),updatedAt:f()}),kwn=R({servers:te(a0t)}),Cwn=R({}),Iwn=R({tools:te(o0t)}),fge=Ve(["authenticated","expired","not_authenticated","in_progress"]),Rwn=R({status:fge}),Pwn=R({authorizationUrl:f().optional(),status:fge}),Twn=R({code:f(),iss:f().optional()}),Awn=R({ok:Zr(),toolCount:Kt(),message:f().optional()});var sge=R({id:f().optional(),name:f().optional(),role:f().optional()}),lge=R({id:f().optional(),name:f().optional()}),n0t=R({id:f().optional(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional(),name:f().optional(),preview:f().optional(),thumbnailUrl:f().optional(),originalWidth:Kt().optional(),originalHeight:Kt().optional()}),i0t=R({id:f().optional(),title:f().optional(),status:f().optional()}),Own=R({id:f().optional(),creator:sge.optional(),type:f().optional(),team:lge.optional(),project:lge.optional(),asset:n0t.optional(),kanbanTask:i0t.optional(),user:sge.optional(),createdAt:f().optional(),isRead:Zr().optional()}),jwn=R({unreadOnly:qa([Zr(),f()]).transform((e)=>e===!0||e==="true").optional(),after:f().optional(),pageSize:RD.number().optional()}),Nwn=R({notificationId:f().min(1)}),Fwn=R({comments:Zr().default(!0),replies:Zr().default(!0),mentions:Zr().default(!0),yourUploads:Zr().default(!1),otherUploads:Zr().default(!0),statusUpdates:Zr().default(!0),kanbanTasks:Zr().default(!0),kanbanComments:Zr().default(!0)}),Bwn=R({enabled:Zr(),host:f().default(""),port:Kt().int().min(1).max(65535).default(587),username:f().optional(),password:f().optional(),smtps:Zr().default(!1),ignoreCert:Zr().default(!1),from:f().default(""),replyTo:f().optional()}),Ywn=R({enabled:Zr(),host:f().default(""),port:Kt().int().min(1).max(65535).default(587),username:f().optional(),password:f().optional(),smtps:Zr().default(!1),ignoreCert:Zr().default(!1),from:f().default(""),replyTo:f().optional()}),Uwn=R({host:f().optional(),port:Kt().int().min(1).max(65535).optional(),username:f().optional(),password:f().optional(),smtps:Zr().optional(),ignoreCert:Zr().optional(),from:f().optional(),replyTo:f().optional()}),qwn=R({success:Zr(),messageId:f()});var Xwn=R({name:f(),coverImageKey:f().optional(),enableNotification:Zr().default(!0)}),Qwn=R({name:f().optional(),coverImageKey:f().optional(),enableNotification:Zr().optional()}),f0t=R({id:f(),name:f(),teamId:f(),rootFolder:f().optional(),coverImage:f().optional(),coverImageKey:f().optional(),enableNotification:Zr(),updatedAt:qa([f(),Vn()])}),$wn=R({sortBy:f().optional(),sortDirection:Ve(["asc","desc"]).optional(),previewFormat:fF.optional()}).merge(ys),e0n=R({previewFormat:fF.optional()}).merge(ys),t0n=R({data:te(f0t),pageInfo:D8}),r0n=R({teamId:f()}),o0n=R({id:f(),name:f(),role:Ve(["owner","editor","reviewer","bot","unknown"]),type:xa(nF).optional(),image:f().optional(),scope:Ve(["team","project"]).optional(),hasCustomRole:Zr().optional()}),a0n=R({assetType:wV.optional().default("all"),sort:Ve(["createdAt","name","size"]).optional(),order:Ve(["asc","desc"]).optional()}).merge(ys),n0n=R({role:Ve(["editor","reviewer"])}),i0n=R({userId:f(),role:Ve(["owner","editor","reviewer"])}),f0n=R({id:f(),name:f(),role:Ve(["owner","editor","reviewer","bot","unknown"]),image:f().optional()});var eu=["openai-completions","mistral-conversations","openai-responses","azure-openai-responses","openai-codex-responses","anthropic-messages","bedrock-converse-stream","google-generative-ai","google-vertex"],lF=R({api:Ve(eu).optional(),reasoning:Zr().default(!1),input:te(Ve(["text","image"])).default(["text"]),contextWindow:Kt().int().positive().default(128000),maxTokens:Kt().int().positive().default(4096),cost:R({input:Kt().nonnegative().default(0),output:Kt().nonnegative().default(0),cacheRead:Kt().nonnegative().default(0),cacheWrite:Kt().nonnegative().default(0)})}),IV=R({id:f().optional(),modelId:f().min(1,"Model ID is required"),name:f().min(0).default(""),config:lF}),na=R({baseUrl:f().url("Must be a valid URL").optional().or(bu("")),apiKey:f().optional().or(bu("")),api:Ve(eu),headers:_L(f(),f()).optional(),authHeader:Zr().optional()}),c0n=R({name:f().min(1,"Provider name is required"),config:na,models:te(IV).default([])}),u0n=R({name:f().min(1,"Provider name is required").optional(),config:na,models:te(IV).optional()}),vA=R({modelId:f().min(1,"Model ID is required"),name:f().min(0).default(""),config:lF}),d0n=R({modelId:f().min(1,"Model ID is required").optional(),name:f().min(0).optional(),config:lF.optional()}),Z0n=R({id:f(),name:f(),isBuiltin:Zr(),config:na,models:te(IV).optional(),modelsCount:Kt().optional(),createdAt:Vn(),updatedAt:Vn()}),cge=R({modelId:f().min(1),name:f().default(""),config:lF}),s0t=R({name:f(),isNewProvider:Zr(),config:na,models:te(cge)}),p0n=R({providers:te(s0t),totalNewProviders:Kt(),totalNewModels:Kt()}),m0n=R({providers:te(R({name:f(),isNewProvider:Zr(),config:na,models:te(cge)}))}),h0n=R({addedProviders:Kt(),addedModels:Kt()});var x0n=R({name:f().min(1),expireAt:f().datetime().optional(),password:f().optional(),isDisabled:Zr().optional(),allowDownload:Zr().optional(),defaultSortOrder:f().optional(),viewMode:f().optional()}),y0n=R({name:f().min(1).optional(),expireAt:f().datetime().optional().nullable(),password:f().optional().nullable(),isDisabled:Zr().optional(),allowDownload:Zr().optional(),defaultSortOrder:f().optional().nullable(),viewMode:f().optional().nullable(),fieldVisibility:_L(f(),Zr()).optional().nullable()}),b0n=ys.extend({projectId:f().optional()}),_0n=R({assetIds:te(f().min(1)).min(1)});var S0n=R({assetId:f().optional(),githubUrl:f().optional(),override:Zr().optional()}),L0n=R({config:R({environmentVariables:te(R({name:f(),default:f().optional()}))})}),k0n=R({permission:Ve(["owner","editor","reviewer"])});var T0n=R({name:f()}),l0t=R({id:f(),name:f(),rootFolder:f().optional(),updatedAt:qa([f(),Vn()])});var A0n=R({data:te(l0t),pageInfo:D8}),E0n=R({teamId:f(),userId:f()}),D0n=R({id:f(),name:f(),email:f().optional(),role:Ve(["owner","editor","reviewer","bot","unknown"]),image:f().optional(),unreadNotificationCount:Kt().optional()}),O0n=R({name:f().optional(),imageKey:f().nullable().optional()}),j0n=R({id:f(),name:f(),role:Ve(["owner","editor","reviewer","bot","unknown"]),email:f().optional(),type:xa(nF).optional(),image:f().optional(),scope:xa(Xhe).optional()}),N0n=R({includeAgents:f().optional().transform((e)=>e==="true")}),Ai={best_match:"best_match",all:"all"},Za={off:"off",auto:"auto"},F0n=qa([R({key:bu("transcode.videoStrategy"),value:xa(Ai)}),R({key:bu("transcode.hardwareAcceleration"),value:xa(Za)}),R({key:bu("transcode.threads"),value:Kt().int().min(0).max(32)}),R({key:bu("appearance.hideAgent"),value:Zr()})]),B0n=R({networkSandboxEnabled:Zr(),allowedDomains:te(f()),pendingDomains:te(f()).default([])}),Y0n=R({networkSandboxEnabled:Zr().optional(),allowedDomains:te(f()).optional(),pendingDomains:te(f()).optional()}),U0n=R({role:Ve(["editor","reviewer"])});var uge=yV(()=>R({name:f(),id:f(),size:Kt(),children:te(uge),type:f(),mediaType:f().optional()})),V0n=R({parentId:f(),files:te(uge)}),c0t=R({id:f(),fileId:f(),url:f()}),W0n=R({taskId:f(),presignedUrls:te(c0t),storageBackend:Ve(["s3","local"]).default("local"),createdAssets:te(R({tempId:f(),assetId:f(),key:f().optional()})).optional()}),G0n=R({key:f().min(1),method:Ve(["PUT","POST","GET","DELETE"]),uploadId:f().optional(),partNumber:Kt().int().positive().optional(),fileId:f().min(1)}),K0n=R({url:f()}),X0n=R({fileId:f().min(1),uploadId:f().optional(),key:f().optional()}),Q0n=R({success:Zr()}),J0n=R({fileId:f(),errorMessage:f().optional()}),$0n=R({id:f(),name:f(),total:Kt(),uploaded:Kt(),createdAt:f()}),ezn=R({bucket:f(),key:f(),Signature:f()}),tzn=R({file:Ghe(File)});var u0t=R({key:f(),value:_Z()}),azn=R({value:_Z()}),nzn=te(u0t);var szn=R({fileIds:te(f())}),lzn=R({fileId:f(),beforeId:f()}),czn=R({id:f(),version:Kt(),name:f().optional().nullable(),previewUrl:f().optional().nullable(),createdAt:f().optional().nullable(),creator:R({id:f(),name:f().nullable(),image:f().optional().nullable()}).nullable().optional(),agent:R({id:f(),name:f()}).nullable().optional()});var Zzn=R({agentId:f(),textPrompt:f().optional(),attachedFiles:te(f()).optional(),assetIds:te(f()).optional(),sessionId:f().optional(),contextAssetId:f().optional(),projectId:f().optional(),second:Kt().nullable().optional(),annotations:te(_L(f(),_Z())).optional()}).superRefine((e,r)=>{let a=e.textPrompt&&e.textPrompt.trim().length>0,i=e.attachedFiles&&e.attachedFiles.length>0,s=e.assetIds&&e.assetIds.length>0,l=e.annotations&&e.annotations.length>0;if(!a&&!i&&!s&&!l)r.addIssue({code:ro.custom,message:"At least one of textPrompt, attachedFiles, assetIds, or annotations must be provided.",path:["textPrompt"]})}),pzn=R({id:f(),agentId:f(),userId:f().nullable(),assetId:f().nullable(),userCommentId:f().nullable(),name:f().nullable().optional(),createdAt:f(),updatedAt:f()}),d0t=R({id:f(),name:f(),type:f(),mediaType:Ve(["image","video","pdf","audio","other"]).optional(),mimeType:f().optional(),parentId:f().optional(),path:f().optional(),durationSeconds:Kt().optional(),totalFrames:Kt().optional(),totalPages:Kt().optional(),navigated:Zr().optional(),ancestors:te(R({id:f(),name:f()})).optional()}),dge=R({id:f(),name:f(),type:f(),mediaType:Ve(["image","video","pdf","audio","other"]).optional(),mimeType:f().optional(),path:f().optional(),url:f().optional()}),Z0t=Yhe("type",[R({type:bu("time"),seconds:Kt()}),R({type:bu("page"),page:Kt()})]),p0t=R({id:f(),replyCount:Kt().optional()}),mzn=R({id:f().optional(),user:R({id:f(),name:f(),role:f()}).optional(),thread:p0t.optional(),currentAsset:d0t.optional(),position:Z0t.optional(),annotation:Zr().optional(),annotations:te(_L(f(),_Z())).optional(),attachedFiles:te(dge).optional(),referencedAssets:te(dge).optional()}),hzn=Uhe(R({id:f()}),_Z());var Rl;((Ge)=>{Ge.team_create="team_create";Ge.team_update="team_update";Ge.team_delete="team_delete";Ge.team_member_add="team_member_add";Ge.team_member_update="team_member_update";Ge.team_member_remove="team_member_remove";Ge.project_create="project_create";Ge.project_update="project_update";Ge.project_delete="project_delete";Ge.project_empty_trash="project_empty_trash";Ge.project_member_add="project_member_add";Ge.project_member_update="project_member_update";Ge.project_member_remove="project_member_remove";Ge.file_create="file_create";Ge.file_update="file_update";Ge.file_delete="file_delete";Ge.folder_create="folder_create";Ge.folder_update="folder_update";Ge.folder_delete="folder_delete";Ge.asset_reparent="asset_reparent";Ge.asset_copy="asset_copy";Ge.share_create="share_create";Ge.share_update="share_update";Ge.share_delete="share_delete";Ge.agent_create="agent_create";Ge.agent_update="agent_update";Ge.agent_delete="agent_delete";Ge.skill_create="skill_create";Ge.skill_update="skill_update";Ge.skill_delete="skill_delete";Ge.mcp_server_create="mcp_server_create";Ge.mcp_server_update="mcp_server_update";Ge.mcp_server_delete="mcp_server_delete";Ge.provider_create="provider_create";Ge.provider_update="provider_update";Ge.provider_delete="provider_delete";Ge.invite_create="invite_create";Ge.invite_revoke="invite_revoke";Ge.metadata_field_create="metadata_field_create";Ge.metadata_field_update="metadata_field_update";Ge.metadata_field_delete="metadata_field_delete";Ge.comment_create="comment_create";Ge.comment_update="comment_update";Ge.comment_delete="comment_delete";Ge.comment_complete="comment_complete";Ge.quota_rule_create="quota_rule_create";Ge.quota_rule_update="quota_rule_update";Ge.quota_rule_delete="quota_rule_delete";Ge.quota_record_reset="quota_record_reset";Ge.quota_policy_create="quota_policy_create";Ge.quota_policy_update="quota_policy_update";Ge.quota_policy_delete="quota_policy_delete";Ge.kanban_goal_create="kanban_goal_create";Ge.kanban_goal_update="kanban_goal_update";Ge.kanban_goal_delete="kanban_goal_delete";Ge.kanban_task_create="kanban_task_create";Ge.kanban_task_update="kanban_task_update";Ge.kanban_task_delete="kanban_task_delete";Ge.kanban_comment_create="kanban_comment_create";Ge.kanban_comment_delete="kanban_comment_delete";Ge.kanban_dependency_add="kanban_dependency_add";Ge.kanban_dependency_remove="kanban_dependency_remove"})(Rl||={});var m0t=R({id:f(),action:xa(Rl),teamId:f(),userId:f().nullable().optional(),agentId:f().nullable().optional(),agent:R({id:f(),name:f()}).nullable().optional(),projectId:f().nullable().optional(),itemId:f().nullable().optional(),createdAt:f()}),vzn=R({first:RD.number().optional(),after:f().optional(),actions:qa([xa(Rl),te(xa(Rl))]).transform((e)=>Array.isArray(e)?e:[e]).optional(),userIds:qa([f(),te(f())]).transform((e)=>Array.isArray(e)?e:[e]).optional(),agentIds:qa([f(),te(f())]).transform((e)=>Array.isArray(e)?e:[e]).optional(),itemId:f().optional()}),xzn=R({nodes:te(m0t),pageInfo:R({hasNextPage:Zr(),endCursor:f().nullable()}),total:Kt()});var h0t=R({id:f(),type:bu("text"),x:Kt().min(0).max(1),y:Kt().min(0).max(1),opacity:Kt().min(0).max(1),rotation:Kt().min(-180).max(180),text:f(),size:Kt().positive().max(1),color:f()}),g0t=R({id:f(),type:bu("image"),x:Kt().min(0).max(1),y:Kt().min(0).max(1),opacity:Kt().min(0).max(1),rotation:Kt().min(-180).max(180),imageAssetKey:f().min(1),imageAssetUrl:f().optional(),size:Kt().positive().max(1)}),M0t=Yhe("type",[h0t,g0t]),RV=R({blocks:te(M0t)}),_zn=R({name:f().min(1),teamId:f().optional(),config:RV}),wzn=R({name:f().min(1).optional(),config:RV.optional()}),zzn=R({enabled:Zr(),config:RV.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 PV=xa(Qhe),TV=Ve(["1hour","5hour","1day","7day","one_hour","five_hours","one_day","seven_days"]);function tu(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 AV=xa(Jhe),EV=Ve(["owner","editor","reviewer"]),Zge=R({id:f().min(1,"MCP server ID is required")}),pge=R({match:f().min(1,"Bash match wildcard is required")}),mge=R({name:f().min(1,"Tool name is required")}),DV=_L(f(),_Z()),v0t=R({id:f().nullable(),ruleId:f(),teamId:f(),userId:f().nullable().optional(),user:R({id:f(),name:f(),email:f(),image:f().nullable().optional()}).nullable().optional(),periodStart:f().nullable().optional(),periodEnd:f().nullable().optional(),consumed:Kt(),remaining:Kt(),percent:Kt(),isWindowActive:Zr()}),Izn=R({records:te(v0t),total:Kt()}),x0t=R({id:f(),teamId:f(),scopeMode:PV,role:EV.nullable().optional(),userIds:te(f()).nullable().optional(),resource:AV,resourceData:DV.nullable().optional(),limit:Kt(),period:TV,enabled:Zr(),recordsCount:Kt().optional(),createdAt:f(),updatedAt:f()}),Rzn=R({rules:te(x0t),total:Kt()}),Pzn=R({scopeMode:PV,role:EV.optional().nullable(),userIds:te(f()).optional().nullable(),resource:AV,resourceData:DV.optional().nullable(),limit:Kt().positive("Limit must be greater than 0"),period:TV,enabled:Zr().optional().default(!0)}).superRefine((e,r)=>{if(e.scopeMode==="selected_members"){if(!e.userIds||e.userIds.length===0)r.addIssue({code:ro.custom,message:'userIds must contain at least one user when scopeMode is "selected_members"',path:["userIds"]})}if(e.resource==="agent_mcp_call_count"){if(!Zge.safeParse(e.resourceData).success)r.addIssue({code:ro.custom,message:"resourceData.id is required for agent_mcp_call_count",path:["resourceData","id"]})}else if(e.resource==="agent_bash_call_count"){if(!pge.safeParse(e.resourceData).success)r.addIssue({code:ro.custom,message:"resourceData.match is required for agent_bash_call_count",path:["resourceData","match"]})}else if(e.resource==="agent_tool_call_count"){if(!mge.safeParse(e.resourceData).success)r.addIssue({code:ro.custom,message:"resourceData.name is required for agent_tool_call_count",path:["resourceData","name"]})}}),Tzn=R({userId:f().nullable()}),Azn=R({scopeMode:PV.optional(),role:EV.optional().nullable(),userIds:te(f()).optional().nullable(),resource:AV.optional(),resourceData:DV.optional().nullable(),limit:Kt().positive("Limit must be greater than 0").optional(),period:TV.optional(),enabled:Zr().optional()}).superRefine((e,r)=>{if(e.scopeMode==="selected_members"&&e.userIds!==void 0){if(!e.userIds||e.userIds.length===0)r.addIssue({code:ro.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(!Zge.safeParse(e.resourceData).success)r.addIssue({code:ro.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(!pge.safeParse(e.resourceData).success)r.addIssue({code:ro.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(!mge.safeParse(e.resourceData).success)r.addIssue({code:ro.custom,message:"resourceData.name is required for agent_tool_call_count",path:["resourceData","name"]})}});var _i="unassigned",Ozn=R({title:f().min(1),description:f().optional()}),jzn=R({title:f().min(1).optional(),description:f().nullable().optional()}),y0t=R({id:f(),title:f(),description:f().nullable().optional(),teamId:f(),creatorId:f().nullable().optional(),taskCount:Kt().optional(),createdAt:qa([f(),Vn()]),updatedAt:qa([f(),Vn()])}),Nzn=R({}),Fzn=R({data:te(y0t)});var uM=R({id:f(),name:f(),image:f().optional()}),b0t=R({summary:f().optional(),blockReason:f().optional(),blockKind:f().optional(),reason:f().optional(),assets:te(R({id:f(),type:f().optional(),name:f().optional(),description:f().optional()})).optional()}).passthrough(),OV=R({id:f(),taskId:f(),actor:uM.nullable().optional(),type:xa(nf),fromStatus:xa(Qe).nullable().optional(),toStatus:xa(Qe).nullable().optional(),data:b0t.nullable().optional(),createdAt:qa([f(),Vn()])}),qzn=R({data:te(OV)});var _0t=R({id:f(),name:f(),key:f(),sizeByte:Kt(),contentType:f().nullable().optional(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional()}),w0t=R({id:f(),name:f(),sizeByte:Kt(),contentType:f().nullable().optional(),url:f(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional()}),Gzn=R({id:f(),name:f(),key:f(),sizeByte:Kt(),contentType:f().nullable().optional(),uploadUrl:f(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional()}),Kzn=R({body:f().default(""),attachments:te(_0t).optional()}).refine((e)=>e.body.trim().length>0||e.attachments&&e.attachments.length>0,{message:"Comment body or attachments required"}),jV=R({id:f(),taskId:f(),author:uM,body:f(),attachments:te(w0t).default([]),createdAt:qa([f(),Vn()]),updatedAt:qa([f(),Vn()])}),Xzn=R({data:te(jV)});var oSn=R({title:f().min(1),description:f().optional(),isAgentTask:Zr().optional(),priority:xa(Br).optional(),startDate:qa([f(),Vn()]).optional(),dueDate:qa([f(),Vn()]).optional(),goalId:f().optional(),projectId:f().optional(),reporterId:f().optional(),assigneeId:f().optional(),targetFolderId:f().optional(),parentIds:te(f()).optional(),assetIds:te(f()).optional()}),aSn=R({fromStatus:xa(Qe).optional(),title:f().min(1).optional(),description:f().nullable().optional(),status:xa(Qe).optional(),reason:f().optional(),priority:xa(Br).optional(),startDate:qa([f(),Vn()]).nullable().optional(),dueDate:qa([f(),Vn()]).nullable().optional(),goalId:f().nullable().optional(),projectId:f().nullable().optional(),reporterId:f().nullable().optional(),assigneeId:f().nullable().optional(),targetFolderId:f().nullable().optional(),beforeIndex:f().optional(),afterIndex:f().optional(),parentIds:te(f()).optional(),assetIds:te(f()).optional()}),nSn=R({status:xa(Qe).optional(),isAgentTask:qa([Zr(),f()]).transform((e)=>e===!0||e==="true").optional(),goalId:f().optional(),projectId:f().optional(),priority:xa(Br).optional(),assigneeId:f().optional(),reporterId:f().optional()}).merge(ys),z0t=R({id:f(),type:xa(nf),actor:uM.nullable().optional(),summary:f().optional(),blockReason:f().optional(),blockKind:f().optional(),reason:f().optional(),createdAt:qa([f(),Vn()])}),S0t=R({id:f(),title:f()}),hge=R({id:f(),title:f(),isAgentTask:Zr(),status:xa(Qe),priority:xa(Br),sortIndex:f().nullable().optional()}),L0t=R({id:f(),name:f(),type:f(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional(),thumbnailUrl:f().nullable().optional(),path:f(),creator:uM.nullable().optional(),sizeByte:Kt().optional(),fileCount:Kt().optional(),projectId:f().nullable().optional(),createdAt:qa([f(),Vn()])}),NV=R({id:f(),title:f(),description:f().nullable().optional(),isAgentTask:Zr(),status:xa(Qe),priority:xa(Br),startDate:qa([f(),Vn()]).nullable().optional(),dueDate:qa([f(),Vn()]).nullable().optional(),startedAt:qa([f(),Vn()]).nullable().optional(),completedAt:qa([f(),Vn()]).nullable().optional(),teamId:f(),projectId:f().nullable().optional(),sortIndex:f().nullable().optional(),creator:uM,reporter:uM.nullable().optional(),assignee:uM.nullable().optional(),goal:S0t.nullable().optional(),targetFolderId:f().nullable().optional(),latestStatusEvent:z0t.nullable().optional(),commentCount:Kt().default(0),dependencyCount:Kt().default(0),dependentCount:Kt().default(0),assetCount:Kt().default(0),createdAt:qa([f(),Vn()]),updatedAt:qa([f(),Vn()])}),iSn=NV.extend({dependencies:te(hge),dependents:te(hge),assets:te(L0t),comments:te(jV),events:te(OV)}),fSn=R({data:te(NV),pageInfo:D8}),sSn=R({taskId:f()}),lSn=R({assetIds:te(f())}),cSn=R({data:te(NV),total:Kt()});var vSn=R({assetId:f()});function gge(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function ya(e,r){if(r===void 0||r===null)return"";return` ${e}="${gge(r)}"`}function wA(e){if(!e)return"";let r=[];if(e.user){let a="";if(e.user.id!==void 0)a+=ya("id",e.user.id);if(e.user.name!==void 0)a+=ya("name",e.user.name);if(e.user.role!==void 0)a+=ya("role",e.user.role);if(a)r.push(` <user${a} />`)}if(e.thread){let a="";if(e.thread.id!==void 0)a+=ya("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+=ya("id",a.id);if(a.name!==void 0)i+=ya("name",a.name);if(a.type!==void 0)i+=ya("type",a.type);if(a.mediaType!==void 0)i+=ya("media_type",a.mediaType);if(a.mimeType!==void 0)i+=ya("mime_type",a.mimeType);if(a.parentId!==void 0)i+=ya("parent_id",a.parentId);if(a.path!==void 0)i+=ya("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 s of a.ancestors){let l="";if(s.id!==void 0)l+=ya("id",s.id);if(s.name!==void 0)l+=ya("name",s.name);r.push(` <folder${l} />`)}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="${gge(e.id)}" />`);else r.push(" <annotation />");if(e.attachedFiles&&e.attachedFiles.length>0){let a=[...e.attachedFiles].sort((i,s)=>i.id.localeCompare(s.id));r.push(" <attached_files>");for(let i of a){let s="";if(i.id!==void 0)s+=ya("id",i.id);if(i.name!==void 0)s+=ya("name",i.name);if(i.type!==void 0)s+=ya("type",i.type);if(i.mediaType!==void 0)s+=ya("media_type",i.mediaType);if(i.mimeType!==void 0)s+=ya("mime_type",i.mimeType);if(i.path!==void 0)s+=ya("path",i.path);r.push(` <file${s} />`)}r.push(" </attached_files>")}if(e.referencedAssets&&e.referencedAssets.length>0){let a=[...e.referencedAssets].sort((i,s)=>i.id.localeCompare(s.id));r.push(" <referenced_assets>");for(let i of a)if(i.type==="folder"){let s="";if(i.id!==void 0)s+=ya("id",i.id);if(i.name!==void 0)s+=ya("name",i.name);if(i.path!==void 0)s+=ya("path",i.path);r.push(` <folder${s} />`)}else{let s="";if(i.id!==void 0)s+=ya("id",i.id);if(i.name!==void 0)s+=ya("name",i.name);if(i.type!==void 0)s+=ya("type",i.type);if(i.mediaType!==void 0)s+=ya("media_type",i.mediaType);if(i.mimeType!==void 0)s+=ya("mime_type",i.mimeType);if(i.path!==void 0)s+=ya("path",i.path);r.push(` <asset${s} />`)}r.push(" </referenced_assets>")}if(r.length===0)return"";return`<context>
196
+ ${r.join(`
197
+ `)}
198
+ </context>`}var VR=Ve(["image","video"]),k0t=Ve(["configured_custom","configured_env","not_configured"]),_Sn=R({apiKey:f().optional().or(bu("")),models:te(R({type:VR,modelId:f().min(1,"Model ID is required"),name:f().optional()})).optional()});var wSn=R({type:VR,provider:f().min(1,"Provider is required"),modelId:f().min(1,"Model ID is required"),name:f().optional()}),C0t=R({id:f(),type:VR,provider:f(),modelId:f(),name:f(),createdAt:f()}),I0t=R({provider:f(),defaultEnvKey:f(),apiKeyConfigured:Zr(),status:k0t,customApiKeyOrEnv:f().optional(),supportedTypes:te(VR)}),zSn=R({providers:te(I0t),enabledModels:te(C0t)}),SSn=R({modelId:f(),name:f(),type:VR}),LSn=R({provider:f().optional(),type:VR.optional()});var Mge=86400000,Mn=(e)=>{let r=fM(e),a=new Date;if(isNaN(r.getTime()))return e;let i=hr(r,"HH:mm");if(mD(r))return eht({time:i});if(hD(r))return avt({time:i});let s=bH(a,r),l=s>=0?s:0;return l===1?Pse({count:l}):Rse({count:l})},xA=(e)=>{let r=fM(e),a=new Date;if(isNaN(r.getTime()))return e;if(mD(r))return Dse();if(hD(r))return Ose();let i=bH(a,r),s=i>=0?i:0;return s===1?Pse({count:s}):Rse({count:s})},Qp=(e,r=new Date)=>{let a=typeof e==="string"?fM(e).getTime():e instanceof Date?e.getTime():NaN;if(isNaN(a))return"< 1m";let i=a-r.getTime();if(i<=0)return"< 1m";let s=Math.floor(i/1000),l=Math.floor(s/86400),c=Math.floor(s%86400/3600),d=Math.floor(s%3600/60);if(l>0)return c>0?`${l}d ${c}h`:`${l}d`;if(c>0)return d>0?`${c}h ${d}m`:`${c}h`;return d>0?`${d}m`:"< 1m"},qd=(e,r=new Date)=>{if(!e)return null;let a=fM(e);if(isNaN(a.getTime()))return null;let i=a.getTime()+oge*Mge;return Math.max(0,Math.ceil((i-r.getTime())/Mge))};S();var PD=10,FV=10,vge=PD*FV,Hd=({spriteUrl:e,thumbnailUrl:r,videoWidth:a,videoHeight:i,className:s=""})=>{let l=b(null),[c,d]=u({width:0,height:0}),[m,g]=u({width:0,height:0}),[M,v]=u(!1),[y,x]=u(!1),[_,j]=u(!1),[U,T]=u(0),[N,G]=u(0);h(()=>{if(!l.current)return;let ie=new ResizeObserver((ye)=>{for(let We of ye)d({width:We.contentRect.width,height:We.contentRect.height})});return ie.observe(l.current),()=>ie.disconnect()},[]);let X=D(()=>{if(y||_)return;j(!0);let ie=new Image;ie.src=e,ie.onload=()=>{g({width:ie.naturalWidth,height:ie.naturalHeight}),x(!0),j(!1)},ie.onerror=()=>{console.error("Failed to load sprite image"),j(!1)}},[e,y,_]),J=()=>{v(!0),X()},ee=()=>{v(!1)},re=(ie)=>{if(!l.current)return;let ye=l.current.getBoundingClientRect(),We=ie.clientX-ye.left,Ye=Math.max(0,Math.min(We,ye.width));G(Ye);let Se=Ye/ye.width,He=Math.min(Math.floor(Se*vge),vge-1);T(He)},oe=P(()=>{if(c.width===0||c.height===0)return{};let ie=a/i;if(m.width>0&&m.height>0){let bt=m.width/PD,Wt=m.height/FV;ie=bt/Wt}let ye=c.width/c.height,We,Ye;if(ye>ie)Ye=c.height,We=Ye*ie;else We=c.width,Ye=We/ie;let Se=Math.ceil(We),He=Math.ceil(Ye),ut=Se*PD,Ke=He*FV,yt=U%PD,At=Math.floor(U/PD),jt=-(yt*Se),de=-(At*He);return{backgroundImage:`url(${e})`,backgroundSize:`${ut}px ${Ke}px`,backgroundPosition:`${jt}px ${de}px`,backgroundRepeat:"no-repeat",width:`${Se}px`,height:`${He}px`,imageRendering:"auto"}},[c,a,i,U,e,m]);return o("div",{ref:l,className:`relative w-full h-full overflow-hidden cursor-crosshair group bg-black select-none ${s}`,onMouseEnter:J,onMouseLeave:ee,onMouseMove:re,children:[t("img",{src:r,alt:"Thumbnail",className:`absolute inset-0 w-full h-full object-contain transition-opacity duration-200 ${M&&y?"opacity-0":"opacity-100"}`,draggable:!1}),M&&!y&&t("div",{className:"absolute inset-0 flex items-center justify-center bg-black/50 z-10",children:t("div",{className:"w-6 h-6 border-2 border-white/30 border-t-white rounded-full animate-spin"})}),y&&t("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-75 ${M?"opacity-100":"opacity-0"}`,children:t("div",{style:oe})}),M&&t("div",{className:"absolute top-0 bottom-0 w-0.5 bg-red-500 shadow-[0_0_4px_rgba(255,0,0,0.8)] z-20 pointer-events-none",style:{transform:`translateX(${N}px)`}})]})};S();var el=(e,r)=>{let a=new RegExp(`(${Object.keys(r).map((i)=>`\\{${i}\\}`).join("|")})`,"g");return t("span",{children:e.split(a).map((i,s)=>{let l=i.match(/^\{(.+)\}$/);if(l&&r[l[1]])return t(Cn,{children:r[l[1]]},s);return i})})},xge=({notification:e})=>{let r=ke(),{creator:a,createdAt:i,isRead:s,type:l,asset:c,project:d,team:m,user:g,kanbanTask:M}=e,v=(()=>{let j=a?.name||Ml(),U=c?.name||Kht(),T=M?.title||agt(),N=d?.name||tgt(),G=m?.name||fgt(),X=g?.name||Ml(),J={creator:t("span",{className:"font-semibold",children:j}),asset:t("span",{className:"font-semibold",children:U}),task:t("span",{className:"font-semibold",children:T}),project:t("span",{className:"font-semibold",children:N}),team:t("span",{className:"font-semibold",children:G}),user:t("span",{className:"font-semibold",children:X})};switch(l){case"comment_created":return el(A$e({creator:"{creator}",asset:"{asset}"}),J);case"reply_created":return el(get({creator:"{creator}",asset:"{asset}"}),J);case"mention":return el(M?pet({creator:"{creator}",task:"{task}"}):uet({creator:"{creator}",asset:"{asset}"}),J);case"successful_file_uploaded":return el(ket({creator:"{creator}",asset:"{asset}",project:"{project}"}),J);case"metadata_field_updated_status":return el(wet({creator:"{creator}",asset:"{asset}"}),J);case"new_user_join_team":return el(U$e({user:"{user}",team:"{team}"}),J);case"new_user_join_project":return el(F$e({user:"{user}",project:"{project}"}),J);case"kanban_task_created":return el(J$e({creator:"{creator}",task:"{task}"}),J);case"kanban_task_assigned":return el(V$e({creator:"{creator}",task:"{task}"}),J);case"kanban_task_status_updated":return el(aet({creator:"{creator}",task:"{task}"}),J);case"kanban_task_updated":return el(fet({creator:"{creator}",task:"{task}"}),J);case"kanban_task_deleted":return el(tet({creator:"{creator}",task:"{task}"}),J);case"kanban_task_comment_created":return el(K$e({creator:"{creator}",task:"{task}"}),J);default:return el(O$e({creator:"{creator}"}),J)}})(),y=c?.proxyType==="video"&&c.preview&&c.thumbnailUrl&&c.originalWidth&&c.originalHeight,x=c?.preview&&(c.proxyType==="image"||c.proxyType==="video");return o("div",{onClick:()=>{if(M?.id&&m?.id)r({to:"/teams/$teamId/kanban",params:{teamId:m.id},search:{taskId:M.id}})},className:"flex py-2 cursor-pointer group border border-transparent items-center justify-center hover:bg-muted/50 rounded-md px-1 transition-colors",children:[t("div",{className:C("w-1.5 h-1.5 rounded-full shadow-xs",s?"bg-transparent":"bg-destructive")}),o("div",{className:"flex-1 min-w-0 flex flex-col justify-center pl-2",children:[t("div",{className:"text-sm text-foreground break-all leading-snug",children:v}),t("div",{className:"text-[11px] text-muted-foreground mt-1",children:Mn(i||"")})]}),x&&t("div",{className:"w-18 h-18 ml-2 rounded-md overflow-hidden flex-shrink-0 bg-muted border border-border flex items-center justify-center mt-0.5",children:y?t(Hd,{spriteUrl:c.preview,thumbnailUrl:c.thumbnailUrl,videoWidth:c.originalWidth,videoHeight:c.originalHeight}):t("img",{src:c.preview,alt:c.name,className:"w-full h-full object-cover"})})]})};function So({className:e,orientation:r="horizontal",...a}){return t(ZPe,{"data-slot":"tabs","data-orientation":r,orientation:r,className:C("group/tabs flex gap-2 data-[orientation=horizontal]:flex-col",e),...a})}var R0t=ds("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 Eo({className:e,variant:r="default",...a}){return t(pPe,{"data-slot":"tabs-list","data-variant":r,className:C(R0t({variant:r}),e),...a})}function Qr({className:e,...r}){return t(mPe,{"data-slot":"tabs-trigger",className:C("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:border-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent","data-[state=active]:bg-background data-[state=active]:text-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground","after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100",e),...r})}function kn({className:e,...r}){return t(hPe,{"data-slot":"tabs-content",className:C("flex-1 outline-none",e),...r})}S();var yge=()=>{let{teamId:e}=lt(),[r,a]=u("all"),i=Q(),{ref:s,inView:l}=Nt(),c=(T,N)=>["notifications",T,{unreadOnly:N}],{data:d,fetchNextPage:m,hasNextPage:g,isFetchingNextPage:M,isLoading:v,refetch:y}=ft({queryKey:c(e??null,r==="unread"),queryFn:async({pageParam:T})=>{let N=await A.api.teams[":teamId"].notifications.$get({param:{teamId:e},query:{unreadOnly:r==="unread"?"true":"false",...T?{after:T}:{},pageSize:"20"}});if(!N.ok)throw Error("failed to fetch notifications");return N.json()},initialPageParam:void 0,getNextPageParam:(T)=>T.pageInfo?.cursor||void 0,enabled:!!e});h(()=>{if(l&&g)m()},[l,g,m]);let x=P(()=>d?.pages.flatMap((T)=>T.data||[])||[],[d]);h(()=>{if(e)i.invalidateQueries({queryKey:["teams",e,"me"]})},[e,x.length,i]);let _=A.api.teams[":teamId"].notifications.read.$post,j=B({mutationFn:async({teamId:T,notificationId:N})=>{if(!(await _({param:{teamId:T},json:{notificationId:N}})).ok)throw Error("failed to mark read");return null}}),U=async()=>{if(x.length>0&&e){let T=x[0].id;if(T){i.setQueryData(["teams",e,"me"],(N)=>{if(!N)return N;return{...N,unreadNotificationCount:0}});try{await j.mutateAsync({teamId:e,notificationId:T})}catch(N){console.error("Failed to mark all as read:",N)}i.invalidateQueries({queryKey:["notifications",e]}),i.invalidateQueries({queryKey:["teams",e,"me"]}),y()}}};return o("div",{className:"flex flex-col h-full w-full bg-transparent",children:[t("div",{className:"flex-none pb-1",children:t(So,{value:r,onValueChange:(T)=>a(T),className:"w-full",children:o("div",{className:"flex items-center justify-between mb-2",children:[o(Eo,{className:"h-8",children:[t(Qr,{value:"all",className:"text-xs px-3 h-6",children:LDe()}),t(Qr,{value:"unread",className:"text-xs px-3 h-6",children:Mgt()})]}),t(E,{variant:"ghost",size:"sm",className:"h-8 px-2 text-muted-foreground hover:text-foreground",onClick:U,disabled:x.length===0||j.isPending,title:YWe(),children:t(qT,{className:"w-4 h-4"})})]})})}),o("div",{className:"flex-1 overflow-y-auto p-2 min-h-0",children:[v&&t("div",{className:"flex justify-center p-4",children:t(F,{className:"w-6 h-6 animate-spin text-muted-foreground"})}),!v&&x.length===0&&t("div",{className:"flex flex-col items-center justify-center h-40 text-muted-foreground",children:t("p",{className:"text-sm",children:EJe()})}),t("div",{className:"space-y-1",children:x.map((T)=>t(xge,{notification:T},T.id))}),t("div",{ref:s,className:"h-4 w-full flex justify-center p-1",children:M&&t(F,{className:"w-4 h-4 animate-spin text-muted-foreground"})})]})]})};var wL=null,on=Mr((e)=>({projectState:null,setProjectState:(r)=>{if(wL)clearTimeout(wL),wL=null;e({projectState:r})},clearProjectState:()=>{if(wL)clearTimeout(wL);wL=setTimeout(()=>{e({projectState:null}),wL=null},10)}}));var P0t=ds("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 s=a?Hoe:"span";return t(s,{"data-slot":"badge","data-variant":r,className:C(P0t({variant:r}),e),...i})}var cF={viewBox:"0 -960 960 960",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},bge=(e)=>t("svg",{...cF,...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"})}),_ge=(e)=>t("svg",{...cF,...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"})}),wge=(e)=>t("svg",{...cF,...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"})}),zge=(e)=>t("svg",{...cF,...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"})}),Sge=(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"})]}),Lge=(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"})}),yi=(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"})]}),dM=(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"})]}),kge=(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 Cge({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 Ige=({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"})}),Rge=(e)=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",fill:"currentColor","aria-hidden":"true",focusable:"false",...e,children:t("path",{d:"M520-600v-240h320v240H520ZM120-440v-400h320v400H120Zm400 320v-400h320v400H520Zm-400 0v-240h320v240H120Z"})});S();S();var{create:T0t,defineProperty:Fge,defineProperties:A0t,getOwnPropertyDescriptor:E0t,getOwnPropertyDescriptors:D0t,getOwnPropertySymbols:hF}=Object,Bge=Object.prototype.hasOwnProperty,Yge=Object.prototype.propertyIsEnumerable,O0t=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),jD=(e)=>{throw TypeError(e)},qV=(e,r,a)=>(r in e)?Fge(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,BV=(e,r)=>{for(var a in r||(r={}))if(Bge.call(r,a))qV(e,a,r[a]);if(hF){for(var a of hF(r))if(Yge.call(r,a))qV(e,a,r[a])}return e},YV=(e,r)=>A0t(e,D0t(r)),j0t=(e,r)=>{var a={};for(var i in e)if(Bge.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&hF){for(var i of hF(e))if(r.indexOf(i)<0&&Yge.call(e,i))a[i]=e[i]}return a},N0t=(e)=>{var r;return[,,,T0t((r=void 0)!=null?r:null)]},Uge=["class","method","getter","setter","accessor","field","value","get","set"],AD=(e)=>e!==void 0&&typeof e!=="function"?jD("Function expected"):e,F0t=(e,r,a,i,s)=>({kind:Uge[e],name:r,metadata:i,addInitializer:(l)=>a._?jD("Already initialized"):s.push(AD(l||null))}),B0t=(e,r)=>qV(r,O0t("metadata"),e[3]),uF=(e,r,a,i)=>{for(var s=0,l=e[r>>1],c=l&&l.length;s<c;s++)r&1?l[s].call(a):i=l[s].call(a,i);return i},qge=(e,r,a,i,s,l)=>{var c,d,m,g,M,v=r&7,y=!1,x=!1,_=e.length+1,j=Uge[v+5],U=e[_-1]=[],T=e[_]||(e[_]=[]),N=(s=s.prototype,E0t({get[a](){return ED(this,l)},set[a](X){return zL(this,l,X)}},a));for(var G=i.length-1;G>=0;G--)if(g=F0t(v,a,m={},e[3],T),g.static=y,g.private=x,M=g.access={has:(X)=>(a in X)},M.get=(X)=>X[a],M.set=(X,J)=>X[a]=J,d=(0,i[G])({get:N.get,set:N.set},g),m._=1,d===void 0)AD(d)&&(N[j]=d);else if(typeof d!=="object"||d===null)jD("Object expected");else AD(c=d.get)&&(N.get=c),AD(c=d.set)&&(N.set=c),AD(c=d.init)&&U.unshift(c);return N&&Fge(s,a,N),s},Hge=(e,r,a)=>r.has(e)||jD("Cannot "+a),ED=(e,r,a)=>(Hge(e,r,"read from private field"),r.get(e)),TD=(e,r,a)=>r.has(e)?jD("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),zL=(e,r,a,i)=>(Hge(e,r,"write to private field"),r.set(e,a),a);function no(e){return e instanceof GV||e instanceof Gge}var dF=10,Y0t=class extends Di{constructor(e){super(e);let r=Si(()=>{let{dragOperation:i}=e;if(!sL(i.activatorEvent))return;if(!no(i.source))return;if(i.status.initialized){let s=e.registry.plugins.get(PR);if(s)return s.disable(),()=>s.enable()}}),a=e.monitor.addEventListener("dragmove",(i,s)=>{queueMicrotask(()=>{if(this.disabled||i.defaultPrevented||!i.nativeEvent)return;let{dragOperation:l}=s;if(!sL(i.nativeEvent))return;if(!no(l.source))return;if(!l.shape)return;let{actions:c,collisionObserver:d,registry:m}=s,{by:g}=i;if(!g)return;let M=U0t(g),{source:v,target:y}=l,{center:x}=l.shape.current,_=[],j=[];Qo(()=>{for(let J of m.droppables){let{id:ee}=J;if(!J.accepts(v)||ee===(y==null?void 0:y.id)&&no(J)||!J.element)continue;let re=J.shape,oe=new yc(J.element,{getBoundingClientRect:(ie)=>bR(ie,void 0,0.2)});if(!oe.height||!oe.width)continue;if(M=="down"&&x.y+dF<oe.center.y||M=="up"&&x.y-dF>oe.center.y||M=="left"&&x.x-dF>oe.center.x||M=="right"&&x.x+dF<oe.center.x)_.push(J),J.shape=oe,j.push(()=>J.shape=re)}}),i.preventDefault(),d.disable();let U=d.computeCollisions(_,kce);Qo(()=>j.forEach((J)=>J()));let[T]=U;if(!T)return;let{id:N}=T,{index:G,group:X}=v.sortable;c.setDropTarget(N).then(()=>{let{source:J,target:ee,shape:re}=l;if(!J||!no(J)||!re)return;let{index:oe,group:ie,target:ye}=J.sortable,We=G!==oe||X!==ie,Ye=We?ye:ee==null?void 0:ee.element;if(!Ye)return;f4(Ye);let Se=new yc(Ye);if(!Se)return;let He=Ks.delta(Se,Ks.from(re.current.boundingRectangle),J.alignment);if(c.move({by:He}),We)c.setDropTarget(J.id).then(()=>d.enable());else d.enable()})})});this.destroy=()=>{a(),r()}}};function U0t(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:q0t,defineProperties:H0t,getOwnPropertyDescriptors:V0t,getOwnPropertySymbols:Pge}=Object,W0t=Object.prototype.hasOwnProperty,G0t=Object.prototype.propertyIsEnumerable,Tge=(e,r,a)=>(r in e)?q0t(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,WR=(e,r)=>{for(var a in r||(r={}))if(W0t.call(r,a))Tge(e,a,r[a]);if(Pge){for(var a of Pge(r))if(G0t.call(r,a))Tge(e,a,r[a])}return e},GR=(e,r)=>H0t(e,V0t(r));function K0t(e,r,a){if(r===a)return e;let i=e.slice();return i.splice(a,0,i.splice(r,1)[0]),i}function ZF(e,r){let a=String(r);return Object.prototype.hasOwnProperty.call(e,a)?a:void 0}function UV(e){return"initialIndex"in e&&typeof e.initialIndex==="number"&&"index"in e&&typeof e.index==="number"}function X0t(e,r,a){var i,s;let{source:l,target:c,canceled:d}=r.operation;if(!l||!c||d){if("preventDefault"in r)r.preventDefault();return e}let m=(G,X)=>G===X||G!==null&&typeof G==="object"&&("id"in G)&&G.id===X;if(Array.isArray(e)){let G=e.findIndex((J)=>m(J,l.id)),X=e.findIndex((J)=>m(J,c.id));if(G===-1||X===-1){if(UV(l)){let{initialIndex:J,index:ee}=l;if(J===ee||J<0||J>=e.length){if("preventDefault"in r)r.preventDefault();return e}return a(e,J,ee)}return e}if(!d&&"index"in l&&typeof l.index==="number"){let J=l.index;if(J!==G)return a(e,G,J)}return a(e,G,X)}let g=Object.entries(e),M=-1,v,y=-1,x;for(let[G,X]of g){if(M===-1){if(M=X.findIndex((J)=>m(J,l.id)),M!==-1)v=G}if(y===-1){if(y=X.findIndex((J)=>m(J,c.id)),y!==-1)x=G}if(M!==-1&&y!==-1)break}if(M===-1&&UV(l)){let G=l.initialGroup==null?void 0:ZF(e,l.initialGroup),X=l.initialIndex,J=l.group==null?void 0:ZF(e,l.group),ee=l.index;if(G==null||J==null){if("preventDefault"in r)r.preventDefault();return e}if(G===J&&X===ee){if("preventDefault"in r)r.preventDefault();return e}if(G===J)return GR(WR({},e),{[G]:a(e[G],X,ee)});let re=e[G][X];return GR(WR({},e),{[G]:[...e[G].slice(0,X),...e[G].slice(X+1)],[J]:[...e[J].slice(0,ee),re,...e[J].slice(ee)]})}if(!l.manager)return e;let{dragOperation:_}=l.manager,j=(s=(i=_.shape)==null?void 0:i.current.center)!=null?s:_.position.current;if(x==null){let G=ZF(e,c.id);if(G!=null){let X=c.shape&&j.y>c.shape.center.y?e[G].length:0;x=G,y=X}}if(v==null||x==null||v===x&&M===y){if(v!=null&&v===x&&M===y&&UV(l)){let G=l.group==null?void 0:ZF(e,l.group),X=l.group!=null&&G!==v,J=l.index!==M;if(X||J){let ee=l.group==null?v:G;if(ee!=null){if(v===ee)return GR(WR({},e),{[v]:a(e[v],M,l.index)});let re=e[v][M];return GR(WR({},e),{[v]:[...e[v].slice(0,M),...e[v].slice(M+1)],[ee]:[...e[ee].slice(0,l.index),re,...e[ee].slice(l.index)]})}}}if("preventDefault"in r)r.preventDefault();return e}if(v===x)return GR(WR({},e),{[v]:a(e[v],M,y)});let T=c.shape&&Math.round(j.y)>Math.round(c.shape.center.y)?1:0,N=e[v][M];return GR(WR({},e),{[v]:[...e[v].slice(0,M),...e[v].slice(M+1)],[x]:[...e[x].slice(0,y+T),N,...e[x].slice(y+T)]})}function Q0t(e,r){return X0t(e,r,K0t)}function Age(e){let r=new Map;for(let[,a]of e)for(let i of a)r.set(i.id,i.index);return r}function Ege(e,r,a){var i;for(let[s,l]of r)for(let c of l){let d=e.get(c.id);if(c.index!==d||c.group!==s||!((i=a.get(s))==null?void 0:i.has(c)))return!0}return!1}var Dge="__default__",J0t=class extends Di{constructor(e){super(e);let r=()=>{let i=new Map;for(let s of e.registry.droppables)if(s instanceof GV){let{sortable:l}=s,{group:c}=l,d=i.get(c);if(!d)d=new Set,i.set(c,d);d.add(l)}return i},a=[e.monitor.addEventListener("dragover",(i,s)=>{if(this.disabled)return;let{dragOperation:l}=s,{source:c,target:d}=l;if(!no(c)||!no(d))return;if(c.sortable===d.sortable)return;let m=r(),g=Age(m),M=c.sortable.group===d.sortable.group,v=m.get(c.sortable.group),y=M?v:m.get(d.sortable.group);if(!v||!y)return;queueMicrotask(()=>{if(i.defaultPrevented)return;s.renderer.rendering.then(()=>{var x,_;let j=r();if(Ege(g,m,j))return;let U=c.sortable.element,T=d.sortable.element;if(!T||!U)return;if(!M&&d.id===c.sortable.group)return;let N=pF(v),G=M?N:pF(y),X=(x=c.sortable.group)!=null?x:Dge,J=(_=d.sortable.group)!=null?_:Dge,ee={[X]:N,[J]:G},re=Q0t(ee,i);if(ee===re)return;let oe=re[J].indexOf(c.sortable),ie=re[J].indexOf(d.sortable);s.collisionObserver.disable(),Oge(U,oe,T,ie),Qo(()=>{for(let[ye,We]of re[X].entries())We.index=ye;if(!M)for(let[ye,We]of re[J].entries())We.group=d.sortable.group,We.index=ye}),s.actions.setDropTarget(c.id).then(()=>s.collisionObserver.enable())})})}),e.monitor.addEventListener("dragend",(i,s)=>{if(!i.canceled)return;let{dragOperation:l}=s,{source:c}=l;if(!no(c))return;if(c.sortable.initialIndex===c.sortable.index&&c.sortable.initialGroup===c.sortable.group)return;queueMicrotask(()=>{let d=r(),m=Age(d),g=d.get(c.sortable.initialGroup);if(!g)return;s.renderer.rendering.then(()=>{let M=r();if(Ege(m,d,M))return;let v=pF(g),y=pF(g,ezt),x=c.sortable.element,_=y.indexOf(c.sortable),j=v[_],U=j==null?void 0:j.element;if(!j||!U||!x)return;Oge(x,j.index,U,c.index),Qo(()=>{for(let T of d.values()){let N=Array.from(T).values();for(let G of N)G.index=G.initialIndex,G.group=G.initialGroup}})})})})];this.destroy=()=>{for(let i of a)i()}}};function Oge(e,r,a,i){let s=i<r?"afterend":"beforebegin";a.insertAdjacentElement(s,e)}function $0t(e,r){return e.index-r.index}function ezt(e,r){return e.initialIndex-r.initialIndex}function pF(e,r=$0t){return Array.from(e).sort(r)}var jge=[Y0t,J0t],HV={duration:250,easing:"cubic-bezier(0.25, 1, 0.5, 1)",idle:!1};function Nge(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 mF=new ole,Vge,Wge,O8,VV,DD,OD,WV,KR;Wge=[ko],Vge=[ko];var ND=class{constructor(e,r){TD(this,VV,uF(O8,8,this)),uF(O8,11,this),TD(this,DD),TD(this,OD),TD(this,WV,uF(O8,12,this)),uF(O8,15,this),TD(this,KR),this.register=()=>(Qo(()=>{var _,j;(_=this.manager)==null||_.registry.register(this.droppable),(j=this.manager)==null||j.registry.register(this.draggable)}),()=>this.unregister()),this.unregister=()=>{Qo(()=>{var _,j;(_=this.manager)==null||_.registry.unregister(this.droppable),(j=this.manager)==null||j.registry.unregister(this.draggable)})},this.destroy=()=>{Qo(()=>{this.droppable.destroy(),this.draggable.destroy()})};var a=e,{effects:i=()=>[],disabled:s,group:l,index:c,sensors:d,type:m,transition:g=HV,plugins:M}=a,v=j0t(a,["effects","disabled","group","index","sensors","type","transition","plugins"]);let y=cs(M,jge),x=Nge(s);this.droppable=new GV(YV(BV({},v),{disabled:x.droppable}),r,this),this.draggable=new Gge(YV(BV({},v),{disabled:x.draggable,plugins:y,effects:()=>[()=>{var _,j,U;let T=(_=this.manager)==null?void 0:_.dragOperation.status;if((T==null?void 0:T.initializing)&&this.id===((U=(j=this.manager)==null?void 0:j.dragOperation.source)==null?void 0:U.id))mF.clear(this.manager);if(T==null?void 0:T.dragging)mF.set(this.manager,this.id,ho(()=>({initialIndex:this.index,initialGroup:this.group})))},()=>{let{index:_,group:j,manager:U}=this,T=ED(this,OD),N=ED(this,DD);if(_!==T||j!==N)zL(this,OD,_),zL(this,DD,j),this.animate()},()=>{var _,j;let{target:U}=this,{isDragSource:T}=this.draggable;if(((j=(_=this.draggable.pluginConfig(As))==null?void 0:_.feedback)!=null?j:"default")==="move"&&T)this.droppable.disabled=!U},...i()],type:m,sensors:d}),r,this),zL(this,KR,v.element),this.manager=r,this.index=c,zL(this,OD,c),this.group=l,zL(this,DD,l),this.type=m,this.transition=g}get initialIndex(){var e,r;return(r=(e=mF.get(this.manager,this.id))==null?void 0:e.initialIndex)!=null?r:this.index}get initialGroup(){var e,r;return(r=(e=mF.get(this.manager,this.id))==null?void 0:e.initialGroup)!=null?r:this.group}animate(){ho(()=>{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:s}=this;if(!s)return;for(let M of s.getAnimations())if("transitionProperty"in M&&(M.transitionProperty==="transform"||M.transitionProperty==="translate"||M.transitionProperty==="scale"))M.cancel();let l=this.refreshShape();if(!l)return;let c={x:a.boundingRectangle.left-l.boundingRectangle.left,y:a.boundingRectangle.top-l.boundingRectangle.top},{translate:d}=xc(s),m=N9(s,d,!1),g=N9(s,d);if(c.x||c.y){let M=Q2(us(s))?YV(BV({},r),{duration:0}):r;s4({element:s,keyframes:{translate:[`${m.x+c.x}px ${m.y+c.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){Qo(()=>{this.draggable.manager=e,this.droppable.manager=e})}set element(e){Qo(()=>{let r=ED(this,KR),a=this.droppable.element,i=this.draggable.element;if(!a||a===r)this.droppable.element=e;if(!i||i===r)this.draggable.element=e;zL(this,KR,e)})}get element(){var e,r;let a=ED(this,KR);if(!a)return;return(r=(e=J2.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=cs(e,jge)}set disabled(e){let r=Nge(e);Qo(()=>{this.droppable.disabled=r.droppable,this.draggable.disabled=r.draggable})}set data(e){Qo(()=>{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:c4}set alignment(e){this.draggable.alignment=e}get alignment(){return this.draggable.alignment}set type(e){Qo(()=>{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)}};O8=N0t();VV=new WeakMap;DD=new WeakMap;OD=new WeakMap;WV=new WeakMap;KR=new WeakMap;qge(O8,4,"index",Wge,ND,VV);qge(O8,4,"group",Vge,ND,WV);B0t(O8,ND);var Gge=class extends pL{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}},GV=class extends TR{constructor(e,r,a){super(e,r);this.sortable=a}get index(){return this.sortable.index}get group(){return this.sortable.group}};var{defineProperty:tzt,defineProperties:rzt,getOwnPropertyDescriptors:ozt,getOwnPropertySymbols:Kge}=Object,azt=Object.prototype.hasOwnProperty,nzt=Object.prototype.propertyIsEnumerable,Xge=(e,r,a)=>(r in e)?tzt(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,KV=(e,r)=>{for(var a in r||(r={}))if(azt.call(r,a))Xge(e,a,r[a]);if(Kge){for(var a of Kge(r))if(nzt.call(r,a))Xge(e,a,r[a])}return e},izt=(e,r)=>rzt(e,ozt(r));function Ba(e){let{accept:r,collisionDetector:a,collisionPriority:i,id:s,data:l,element:c,handle:d,index:m,group:g,disabled:M,modifiers:v,sensors:y,target:x,type:_,plugins:j}=e,U=KV(KV({},HV),e.transition),T=b4((G)=>new ND(izt(KV({},e),{transition:U,register:!1,handle:vu(d),element:vu(c),target:vu(x)}),G)),N=AR(T,fzt);return Uo(s,()=>T.id=s),oM(()=>{Qo(()=>{T.group=g,T.index=m})},[T,g,m]),Uo(_,()=>T.type=_),Uo(r,()=>T.accept=r,void 0,tf),Uo(l,()=>l&&(T.data=l)),Uo(m,()=>{var G;if(((G=T.manager)==null?void 0:G.dragOperation.status.idle)&&(U==null?void 0:U.idle))T.refreshShape()},Zue),k8(d,(G)=>T.handle=G),k8(c,(G)=>T.element=G),k8(x,(G)=>T.target=G),Uo(M,()=>T.disabled=M!=null?M:!1,void 0,tf),Uo(y,()=>T.sensors=y,void 0,tf),Uo(a,()=>T.collisionDetector=a),Uo(i,()=>T.collisionPriority=i),Uo(j,()=>T.plugins=j,void 0,tf),Uo(U,()=>T.transition=U,void 0,tf),Uo(v,()=>T.modifiers=v,void 0,tf),Uo(e.alignment,()=>T.alignment=e.alignment),{sortable:N,get isDragging(){return N.isDragging},get isDropping(){return N.isDropping},get isDragSource(){return N.isDragSource},get isDropTarget(){return N.isDropTarget},handleRef:D((G)=>{T.handle=G!=null?G:void 0},[T]),ref:D((G)=>{var X,J;if(!G&&((X=T.element)==null?void 0:X.isConnected)&&!((J=T.manager)==null?void 0:J.dragOperation.status.idle))return;T.element=G!=null?G:void 0},[T]),sourceRef:D((G)=>{var X,J;if(!G&&((X=T.source)==null?void 0:X.isConnected)&&!((J=T.manager)==null?void 0:J.dragOperation.status.idle))return;T.source=G!=null?G:void 0},[T]),targetRef:D((G)=>{var X,J;if(!G&&((X=T.target)==null?void 0:X.isConnected)&&!((J=T.manager)==null?void 0:J.dragOperation.status.idle))return;T.target=G!=null?G:void 0},[T])}}function fzt(e,r,a){if(e==="isDragSource"&&!a&&r)return!0;return!1}S();function szt(e){if(!e)return null;try{let r=fM(e);if(isNaN(r.getTime()))return null;return hr(r,"MMM d, yyyy")}catch{return null}}function lzt({version:e,displayVersionNumber:r,index:a,canEdit:i,onRemove:s}){let[l,c]=u(!1),{ref:d,handleRef:m}=Ba({id:e.id,index:a,disabled:!i}),g=szt(e.createdAt);return o("div",{ref:d,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(Fs,{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(er,{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(Et,{className:"h-3 w-3 shrink-0"}),t("span",{className:"truncate",children:Qc({user:e.creator?.name||gn(),agent:e.agent.name})})]}):t("span",{children:e.creator?.name||gn()}),g&&o(L,{children:[t("span",{children:"•"}),t("span",{children:g})]})]})]}),i&&o(he,{modal:!1,open:l,onOpenChange:c,children:[t(ge,{asChild:!0,children:t(E,{variant:"ghost",size:"icon","aria-label":"More options",className:C("h-8 w-8 text-muted-foreground hover:text-foreground transition-opacity flex-shrink-0",l?"opacity-100":"opacity-0 group-hover:opacity-100 focus:opacity-100"),children:t(wr,{className:"h-4 w-4"})})}),t(Ae,{align:"end",children:o(W,{onClick:()=>s(e.id),className:"text-destructive focus:text-destructive cursor-pointer",children:[t(we,{className:"h-4 w-4 mr-2"}),t("span",{children:mft()})]})})]})]})}function $d({open:e,onOpenChange:r,stackId:a,canEdit:i=!0,onVersionRemoved:s,onStackDissolved:l}){let c=Q(),[d,m]=u([]),{data:g,isLoading:M}=Z({queryKey:["version_stacks",a,"versions"],queryFn:async()=>{let U=await A.api.version_stacks[":stackId"].versions.$get({param:{stackId:a}});if(!U.ok)throw Error("Failed to fetch versions");return await U.json()},enabled:e&&!!a});h(()=>{if(g)m(g)},[g]);let{mutate:v}=B({mutationFn:async({fileId:U,beforeId:T})=>{if(!(await A.api.version_stacks[":stackId"].order.$post({param:{stackId:a},json:{fileId:U,beforeId:T}})).ok)throw Error("Failed to reorder versions")},onSuccess:()=>{c.invalidateQueries({queryKey:["version_stacks"]}),c.invalidateQueries({queryKey:["files"]}),c.invalidateQueries({queryKey:["file"]}),c.invalidateQueries({queryKey:["search"]}),c.invalidateQueries({queryKey:["folders"]}),c.invalidateQueries({queryKey:["projects"]}),k.success(hMt())},onError:()=>{if(k.error(vUe()),g)m(g)}}),{mutate:y,isPending:x}=B({mutationFn:async(U)=>{if(!(await A.api.version_stacks[":stackId"].versions[":versionId"].$delete({param:{stackId:a,versionId:U}})).ok)throw Error("Failed to remove version from stack");return U},onSuccess:(U)=>{k.success(ZMt());let T=d.filter((N)=>N.id!==U);if(m(T),c.invalidateQueries({queryKey:["version_stacks"]}),c.invalidateQueries({queryKey:["files"]}),c.invalidateQueries({queryKey:["file"]}),c.invalidateQueries({queryKey:["search"]}),c.invalidateQueries({queryKey:["folders"]}),c.invalidateQueries({queryKey:["projects"]}),T.length<=1){let N=T[0];if(r(!1),N)l?.(N.id)}else s?.(U,T)},onError:()=>{k.error(pUe())}}),_=(U)=>{if(U.canceled)return;let{source:T}=U.operation;if(!no(T))return;let{initialIndex:N,index:G}=T;if(N===G)return;let X=[...d],[J]=X.splice(N,1);X.splice(G,0,J),m(X);let ee=G===X.length-1?"-1":X[G+1].id;v({fileId:J.id,beforeId:ee})},j=(U)=>{if(x)return;y(U)};return t(ue,{open:e,onOpenChange:r,children:o(ae,{className:"max-w-lg p-0 gap-0 overflow-hidden",children:[t(fe,{className:"p-4 pb-3 border-b border-border",children:t(le,{className:"text-base font-semibold",children:NWe()})}),t(ce,{className:"max-h-[60vh] p-4",children:M?t("div",{className:"py-8 text-center text-sm text-muted-foreground",children:yd?.()||"Loading..."}):d.length===0?t("div",{className:"py-8 text-center text-sm text-muted-foreground",children:L$e()}):t("div",{className:"space-y-2",children:t($n,{sensors:[An.configure({activationConstraints:[new Nr.Distance({value:6})]}),Jo],onDragEnd:_,children:d.map((U,T)=>t(lzt,{version:U,displayVersionNumber:d.length-T,index:T,canEdit:i,onRemove:j},U.id))})})})]})})}S();function mt({...e}){return t(bIe,{"data-slot":"popover",...e})}function ht({...e}){return t(_Ie,{"data-slot":"popover-trigger",...e})}function gt({className:e,align:r="center",sideOffset:a=4,...i}){return t(wIe,{children:t(zIe,{"data-slot":"popover-content",align:r,sideOffset:a,className:C("z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",e),...i})})}var SA=[Qe.TODO,Qe.READY,Qe.IN_PROGRESS,Qe.BLOCKED,Qe.IN_REVIEW,Qe.DONE];function oo(e){switch(e){case Qe.TODO:return NZt();case Qe.READY:return DZt();case Qe.IN_PROGRESS:return IZt();case Qe.BLOCKED:return sA();case Qe.IN_REVIEW:return TZt();case Qe.DONE:return LZt();default:return e}}function Kp(e){switch(e){case Qe.TODO:return{badge:"bg-muted text-muted-foreground border-border",border:"border-border",dot:"bg-muted-foreground",bg:"bg-muted/30"};case Qe.READY:return{badge:"bg-blue-500/10 text-blue-600 dark:text-blue-400 border-blue-500/20",border:"border-blue-500/30",dot:"bg-blue-500",bg:"bg-blue-500/5"};case Qe.IN_PROGRESS:return{badge:"bg-amber-500/10 text-amber-600 dark:text-amber-400 border-amber-500/20",border:"border-amber-500/30",dot:"bg-amber-500",bg:"bg-amber-500/5"};case Qe.BLOCKED:return{badge:"bg-red-500/10 text-red-600 dark:text-red-400 border-red-500/20",border:"border-red-500/30",dot:"bg-red-500",bg:"bg-red-500/5"};case Qe.IN_REVIEW:return{badge:"bg-purple-500/10 text-purple-600 dark:text-purple-400 border-purple-500/20",border:"border-purple-500/30",dot:"bg-purple-500",bg:"bg-purple-500/5"};case Qe.DONE:return{badge:"bg-emerald-500/10 text-emerald-600 dark:text-emerald-400 border-emerald-500/20",border:"border-emerald-500/30",dot:"bg-emerald-500",bg:"bg-emerald-500/5"}}}function j8(e){return Kp(e).badge}function oa(e){switch(e){case Br.LOW:return vot();case Br.MEDIUM:return bot();case Br.HIGH:return hot();case Br.URGENT:return zot();default:return e}}function sa(e){switch(e){case Br.LOW:return"bg-muted text-muted-foreground border-border";case Br.MEDIUM:return"bg-blue-500/10 text-blue-600 dark:text-blue-400 border-blue-500/20";case Br.HIGH:return"bg-amber-500/10 text-amber-600 dark:text-amber-400 border-amber-500/20";case Br.URGENT:return"bg-red-500/10 text-red-600 dark:text-red-400 border-red-500/20 font-semibold";default:return"bg-muted text-muted-foreground border-border"}}S();function bi({className:e,...r}){return t("textarea",{"data-slot":"textarea",className:C("flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:ring-destructive/40",e),...r})}function K({className:e,...r}){return t(lIe,{"data-slot":"label",className:C("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...r})}function De({className:e,size:r="default",...a}){return t(JRe,{"data-slot":"switch","data-size":r,className:C("peer group/switch inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-[1.15rem] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input dark:data-[state=unchecked]:bg-input/80",e),...a,children:t(ePe,{"data-slot":"switch-thumb",className:C("pointer-events-none block rounded-full bg-background ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0 dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground")})})}function Le({...e}){return t(hRe,{"data-slot":"select",...e})}function Ze({...e}){return t(xRe,{"data-slot":"select-value",...e})}function Be({className:e,size:r="default",children:a,...i}){return o(MRe,{"data-slot":"select-trigger","data-size":r,className:C("flex w-fit items-center justify-between gap-2 rounded-md border border-input bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[placeholder]:text-muted-foreground data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",e),...i,children:[a,t(yRe,{asChild:!0,children:t(ve,{className:"size-4 opacity-50"})})]})}function Ue({className:e,children:r,position:a="item-aligned",align:i="center",...s}){return t(zRe,{children:o(SRe,{"data-slot":"select-content",className:C("relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",a==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:a,align:i,...s,children:[t(czt,{}),t(PRe,{className:C("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:r}),t(uzt,{})]})})}function ne({className:e,children:r,...a}){return o(ERe,{"data-slot":"select-item",className:C("relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...a,children:[t("span",{"data-slot":"select-item-indicator",className:"absolute right-2 flex size-3.5 items-center justify-center",children:t(jRe,{children:t(Re,{className:"size-4"})})}),t(DRe,{children:r})]})}function czt({className:e,...r}){return t(NRe,{"data-slot":"select-scroll-up-button",className:C("flex cursor-default items-center justify-center py-1",e),...r,children:t(Ca,{className:"size-4"})})}function uzt({className:e,...r}){return t(FRe,{"data-slot":"select-scroll-down-button",className:C("flex cursor-default items-center justify-center py-1",e),...r,children:t(ve,{className:"size-4"})})}S();function Qge(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 dzt={},FD={};function _u(e,r){try{let i=(dzt[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(r).split("GMT")[1];if(i in FD)return FD[i];return Jge(i,i.split(":"))}catch{if(e in FD)return FD[e];let a=e?.match(Zzt);if(a)return Jge(e,a.slice(1));return NaN}}var Zzt=/([+-]\d\d):?(\d\d)?/;function Jge(e,r){let a=+(r[0]||0),i=+(r[1]||0),s=+(r[2]||0)/60;return FD[e]=a*60+i>0?a*60+i+s:a*60-i-s}class wu 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(_u(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)),tMe(this,e)}static tz(e,...r){return r.length?new wu(...r,e):new wu(Date.now(),e)}withTimeZone(e){return new wu(+this,e)}getTimezoneOffset(){let e=-_u(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),gF(this),+this}[Symbol.for("constructDateFrom")](e){return new wu(+new Date(e),this.timeZone)}}var $ge=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach((e)=>{if(!$ge.test(e))return;let r=e.replace($ge,"$1UTC");if(!wu.prototype[r])return;if(e.startsWith("get"))wu.prototype[e]=function(){return this.internal[r]()};else wu.prototype[e]=function(){return Date.prototype[r].apply(this.internal,arguments),pzt(this),+this},wu.prototype[r]=function(){return Date.prototype[r].apply(this,arguments),gF(this),+this}});function gF(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-_u(e.timeZone,e)*60))}function pzt(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()),tMe(e)}function tMe(e,r){let a=Array.isArray(r)?mzt(r):+e.internal,i=_u(e.timeZone,e),s=i>0?Math.floor(i):Math.ceil(i),l=new Date(+e);l.setUTCHours(l.getUTCHours()-1);let c=-new Date(+e).getTimezoneOffset(),d=-new Date(+l).getTimezoneOffset(),m=c-d,g=c;if(m&&c!==s){let ie=Date.prototype.getHours.apply(e),ye=Array.isArray(r)?r[3]||0:e.internal.getUTCHours();if(ie!==ye){let We=new Date(+e),Ye=c-s;if(Ye)We.setUTCMinutes(We.getUTCMinutes()+Ye);let Se=_u(e.timeZone,We);if((Se>0?Math.floor(Se):Math.ceil(Se))===s)g=d}}let M=g-s;if(M)Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+M);let v=new Date(+e);v.setUTCSeconds(0);let y=c>0?v.getSeconds():(v.getSeconds()-60)%60,x=Math.round(-(_u(e.timeZone,e)*60))%60;if(x||y)Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+x+y);let _=_u(e.timeZone,e),j=_>0?Math.floor(_):Math.ceil(_),T=-new Date(+e).getTimezoneOffset()-j,N=j!==s,G=T-M,X=j-s,J=a-j*60*1000,ee=X>0&&eMe(e)-a===X*60*1000&&eMe(e,J)!==a;if(N&&G&&!ee){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+G);let ie=_u(e.timeZone,e),ye=ie>0?Math.floor(ie):Math.ceil(ie),We=j-ye;if(We&&G<0)Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+We)}gF(e);let oe=(r?a:a+x*1000)-+e.internal;if(oe&&Math.abs(oe)<1800000)Date.prototype.setTime.call(e,+e+oe),gF(e)}function mzt(e){return Date.UTC(e[0],e.length>1?e[1]:0,e.length>2?e[2]:1,...e.slice(3))}function eMe(e,r){let a=new Date(r??+e);return a.setUTCSeconds(a.getUTCSeconds()-Math.round(-_u(e.timeZone,a)*60)),+a}class Sn extends wu{static tz(e,...r){return r.length?new Sn(...r,e):new Sn(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} (${Qge(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 Sn(+this,e)}[Symbol.for("constructDateFrom")](e){return new Sn(+new Date(e),this.timeZone)}}function rMe(e,r){let a=r.startOfMonth(e),i=a.getDay()>0?a.getDay():7,s=r.addDays(e,-i+1),l=r.addDays(s,34);return r.getMonth(e)===r.getMonth(l)?5:4}function MF(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 oMe(e,r){let a=MF(e,r),i=rMe(e,r);return r.addDays(a,i*7-1)}var BD={...nM,labels:{labelDayButton:(e,r,a,i)=>{let s;if(i&&typeof i.format==="function")s=i.format.bind(i);else s=(c,d)=>hr(c,d,{locale:nM,...a});let l=s(e,"PPPP");if(r.today)l=`Today, ${l}`;if(r.selected)l=`${l}, selected`;return l},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=(s,l)=>hr(s,l,{locale:nM,...r});return i(e,"LLLL yyyy")},labelGridcell:(e,r,a,i)=>{let s;if(i&&typeof i.format==="function")s=i.format.bind(i);else s=(c,d)=>hr(c,d,{locale:nM,...a});let l=s(e,"PPPP");if(r?.today)l=`Today, ${l}`;return l},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=(s,l)=>hr(s,l,{locale:nM,...r});return i(e,"cccc")}}};class Wn{constructor(e,r){this.today=()=>{if(this.overrides?.today)return this.overrides.today();if(this.options.timeZone)return Sn.tz(this.options.timeZone);return new(this.options.Date??Date)},this.newDate=(a,i,s)=>{if(this.overrides?.newDate)return this.overrides.newDate(a,i,s);if(this.options.timeZone)return new Sn(a,i,s,this.options.timeZone);return new Date(a,i,s)},this.addDays=(a,i)=>this.overrides?.addDays?this.overrides.addDays(a,i):ER(a,i),this.addMonths=(a,i)=>this.overrides?.addMonths?this.overrides.addMonths(a,i):La(a,i),this.addWeeks=(a,i)=>this.overrides?.addWeeks?this.overrides.addWeeks(a,i):pD(a,i),this.addYears=(a,i)=>this.overrides?.addYears?this.overrides.addYears(a,i):Fue(a,i),this.differenceInCalendarDays=(a,i)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(a,i):I8(a,i),this.differenceInCalendarMonths=(a,i)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(a,i):I4(a,i),this.eachMonthOfInterval=(a)=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(a):que(a),this.eachYearOfInterval=(a)=>{let i=this.overrides?.eachYearOfInterval?this.overrides.eachYearOfInterval(a):Wue(a),s=new Set(i.map((c)=>this.getYear(c)));if(s.size===i.length)return i;let l=[];return s.forEach((c)=>{l.push(new Date(c,0,1))}),l},this.endOfBroadcastWeek=(a)=>this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(a):oMe(a,this),this.endOfISOWeek=(a)=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(a):Gue(a),this.endOfMonth=(a)=>this.overrides?.endOfMonth?this.overrides.endOfMonth(a):jd(a),this.endOfWeek=(a,i)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(a,i):P4(a,this.options),this.endOfYear=(a)=>this.overrides?.endOfYear?this.overrides.endOfYear(a):Vue(a),this.format=(a,i,s)=>{let l=this.overrides?.format?this.overrides.format(a,i,this.options):hr(a,i,this.options);if(this.options.numerals&&this.options.numerals!=="latn")return this.replaceDigits(l);return l},this.getISOWeek=(a)=>this.overrides?.getISOWeek?this.overrides.getISOWeek(a):NR(a),this.getMonth=(a,i)=>this.overrides?.getMonth?this.overrides.getMonth(a,this.options):Wc(a,this.options),this.getYear=(a,i)=>this.overrides?.getYear?this.overrides.getYear(a,this.options):Yc(a,this.options),this.getWeek=(a,i)=>this.overrides?.getWeek?this.overrides.getWeek(a,this.options):FR(a,this.options),this.isAfter=(a,i)=>this.overrides?.isAfter?this.overrides.isAfter(a,i):dde(a,i),this.isBefore=(a,i)=>this.overrides?.isBefore?this.overrides.isBefore(a,i):Zde(a,i),this.isDate=(a)=>this.overrides?.isDate?this.overrides.isDate(a):C4(a),this.isSameDay=(a,i)=>this.overrides?.isSameDay?this.overrides.isSameDay(a,i):DR(a,i),this.isSameMonth=(a,i)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(a,i):pde(a,i),this.isSameYear=(a,i)=>this.overrides?.isSameYear?this.overrides.isSameYear(a,i):mde(a,i),this.max=(a)=>this.overrides?.max?this.overrides.max(a):Bue(a),this.min=(a)=>this.overrides?.min?this.overrides.min(a):Yue(a),this.setMonth=(a,i)=>this.overrides?.setMonth?this.overrides.setMonth(a,i):Mde(a,i),this.setYear=(a,i)=>this.overrides?.setYear?this.overrides.setYear(a,i):vde(a,i),this.startOfBroadcastWeek=(a,i)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(a,this):MF(a,this),this.startOfDay=(a)=>this.overrides?.startOfDay?this.overrides.startOfDay(a):C8(a),this.startOfISOWeek=(a)=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(a):aM(a),this.startOfMonth=(a)=>this.overrides?.startOfMonth?this.overrides.startOfMonth(a):Hue(a),this.startOfWeek=(a,i)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(a,this.options):xu(a,this.options),this.startOfYear=(a)=>this.overrides?.startOfYear?this.overrides.startOfYear(a):R4(a),this.options={locale:BD,...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 Wn.yearFirstLocales.has(e)?"year-first":"month-first"}formatMonthYear(e){let{locale:r,timeZone:a,numerals:i}=this.options,s=r?.code;if(s&&Wn.yearFirstLocales.has(s))try{return new Intl.DateTimeFormat(s,{month:"long",year:"numeric",timeZone:a,numberingSystem:i}).format(e)}catch{}let l=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(e,l)}}Wn.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 si=new Wn;class YD{constructor(e,r,a=si){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 XV{constructor(e,r){this.date=e,this.weeks=r}}class QV{constructor(e,r){this.days=r,this.weekNumber=e}}var $V={};Me($V,{CaptionLabel:()=>hzt,Chevron:()=>gzt,Day:()=>Mzt,DayButton:()=>vzt,Dropdown:()=>xzt,DropdownNav:()=>yzt,Footer:()=>bzt,Month:()=>_zt,MonthCaption:()=>wzt,MonthGrid:()=>zzt,Months:()=>Szt,MonthsDropdown:()=>Lzt,Nav:()=>kzt,NextMonthButton:()=>Czt,Option:()=>Izt,PreviousMonthButton:()=>Rzt,Root:()=>Pzt,Select:()=>Tzt,Week:()=>Azt,WeekNumber:()=>Ozt,WeekNumberHeader:()=>jzt,Weekday:()=>Ezt,Weekdays:()=>Dzt,Weeks:()=>Nzt,YearsDropdown:()=>Fzt});S();function hzt(e){return q("span",{...e})}S();function gzt(e){let{size:r=24,orientation:a="left",className:i,style:s}=e;return q("svg",{className:i,style:s,width:r,height:r,viewBox:"0 0 24 24"},a==="up"&&q("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),a==="down"&&q("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),a==="left"&&q("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),a==="right"&&q("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}S();function Mzt(e){let{day:r,modifiers:a,...i}=e;return q("td",{...i})}S();function vzt(e){let{day:r,modifiers:a,...i}=e,s=b(null);return h(()=>{if(a.focused)s.current?.focus()},[a.focused]),q("button",{ref:s,...i})}S();var ur;(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"})(ur||(ur={}));var ba;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(ba||(ba={}));var tl;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(tl||(tl={}));var bs;(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"})(bs||(bs={}));S();var JV=it(void 0);function N8(){let e=dt(JV);if(e===void 0)throw Error("useDayPicker() must be used within a custom component.");return e}function xzt(e){let{options:r,className:a,...i}=e,{classNames:s,components:l,styles:c}=N8(),d=[s[ur.Dropdown],a].join(" "),m=r?.find(({value:g})=>g===i.value);return q("span",{"data-disabled":i.disabled,className:s[ur.DropdownRoot],style:c?.[ur.DropdownRoot]},q(l.Select,{className:d,...i},r?.map(({value:g,label:M,disabled:v})=>q(l.Option,{key:g,value:g,disabled:v},M))),q("span",{className:s[ur.CaptionLabel],style:c?.[ur.CaptionLabel],"aria-hidden":!0},m?.label,q(l.Chevron,{orientation:"down",size:18,className:s[ur.Chevron],style:c?.[ur.Chevron]})))}S();function yzt(e){return q("div",{...e})}S();function bzt(e){return q("div",{...e})}S();function _zt(e){let{calendarMonth:r,displayIndex:a,...i}=e;return q("div",{...i},e.children)}S();function wzt(e){let{calendarMonth:r,displayIndex:a,...i}=e;return q("div",{...i})}S();function zzt(e){return q("table",{...e})}S();function Szt(e){return q("div",{...e})}S();function Lzt(e){let{components:r}=N8();return q(r.Dropdown,{...e})}S();function kzt(e){let{onPreviousClick:r,onNextClick:a,previousMonth:i,nextMonth:s,...l}=e,{components:c,classNames:d,styles:m,labels:{labelPrevious:g,labelNext:M}}=N8(),v=D((x)=>{if(s)a?.(x)},[s,a]),y=D((x)=>{if(i)r?.(x)},[i,r]);return q("nav",{...l},q(c.PreviousMonthButton,{type:"button",className:d[ur.PreviousMonthButton],style:m?.[ur.PreviousMonthButton],tabIndex:i?void 0:-1,"aria-disabled":i?void 0:!0,"aria-label":g(i),onClick:y},q(c.Chevron,{disabled:i?void 0:!0,className:d[ur.Chevron],style:m?.[ur.Chevron],orientation:"left"})),q(c.NextMonthButton,{type:"button",className:d[ur.NextMonthButton],style:m?.[ur.NextMonthButton],tabIndex:s?void 0:-1,"aria-disabled":s?void 0:!0,"aria-label":M(s),onClick:v},q(c.Chevron,{disabled:s?void 0:!0,orientation:"right",className:d[ur.Chevron],style:m?.[ur.Chevron]})))}S();function Czt(e){return q("button",{...e})}S();function Izt(e){return q("option",{...e})}S();function Rzt(e){return q("button",{...e})}S();function Pzt(e){let{rootRef:r,...a}=e;return q("div",{...a,ref:r})}S();function Tzt(e){return q("select",{...e})}S();function Azt(e){let{week:r,...a}=e;return q("tr",{...a})}S();function Ezt(e){return q("th",{...e})}S();function Dzt(e){return q("thead",{"aria-hidden":!0},q("tr",{...e}))}S();function Ozt(e){let{week:r,...a}=e;return q("th",{...a})}S();function jzt(e){return q("th",{...e})}S();function Nzt(e){return q("tbody",{...e})}S();function Fzt(e){let{components:r}=N8();return q(r.Dropdown,{...e})}S();function rl(e,r,a=!1,i=si){let{from:s,to:l}=e,{differenceInCalendarDays:c,isSameDay:d}=i;if(s&&l){if(c(l,s)<0)[s,l]=[l,s];return c(r,s)>=(a?1:0)&&c(l,r)>=(a?1:0)}if(!a&&l)return d(l,r);if(!a&&s)return d(s,r);return!1}function XR(e){return Boolean(e&&typeof e==="object"&&"before"in e&&"after"in e)}function F8(e){return Boolean(e&&typeof e==="object"&&"from"in e)}function QR(e){return Boolean(e&&typeof e==="object"&&"after"in e)}function JR(e){return Boolean(e&&typeof e==="object"&&"before"in e)}function vF(e){return Boolean(e&&typeof e==="object"&&"dayOfWeek"in e)}function xF(e,r){return Array.isArray(e)&&e.every(r.isDate)}function _c(e,r,a=si){let i=!Array.isArray(r)?[r]:r,{isSameDay:s,differenceInCalendarDays:l,isAfter:c}=a;return i.some((d)=>{if(typeof d==="boolean")return d;if(a.isDate(d))return s(e,d);if(xF(d,a))return d.some((m)=>s(e,m));if(F8(d))return rl(d,e,!1,a);if(vF(d)){if(!Array.isArray(d.dayOfWeek))return d.dayOfWeek===e.getDay();return d.dayOfWeek.includes(e.getDay())}if(XR(d)){let m=l(d.before,e),g=l(d.after,e),M=m>0,v=g<0;if(c(d.before,d.after))return v&&M;else return M||v}if(QR(d))return l(e,d.after)>0;if(JR(d))return l(d.before,e)>0;if(typeof d==="function")return d(e);return!1})}function aMe(e,r,a,i,s){let{disabled:l,hidden:c,modifiers:d,showOutsideDays:m,broadcastCalendar:g,today:M=s.today()}=r,{isSameDay:v,isSameMonth:y,startOfMonth:x,isBefore:_,endOfMonth:j,isAfter:U}=s,T=a&&x(a),N=i&&j(i),G={[ba.focused]:[],[ba.outside]:[],[ba.disabled]:[],[ba.hidden]:[],[ba.today]:[]},X={};for(let J of e){let{date:ee,displayMonth:re}=J,oe=Boolean(re&&!y(ee,re)),ie=Boolean(T&&_(ee,T)),ye=Boolean(N&&U(ee,N)),We=Boolean(l&&_c(ee,l,s)),Ye=Boolean(c&&_c(ee,c,s))||ie||ye||!g&&!m&&oe||g&&m===!1&&oe,Se=v(ee,M);if(oe)G.outside.push(J);if(We)G.disabled.push(J);if(Ye)G.hidden.push(J);if(Se)G.today.push(J);if(d)Object.keys(d).forEach((He)=>{let ut=d?.[He];if(!(ut?_c(ee,ut,s):!1))return;if(X[He])X[He].push(J);else X[He]=[J]})}return(J)=>{let ee={[ba.focused]:!1,[ba.disabled]:!1,[ba.hidden]:!1,[ba.outside]:!1,[ba.today]:!1},re={};for(let oe in G){let ie=G[oe];ee[oe]=ie.some((ye)=>ye===J)}for(let oe in X)re[oe]=X[oe].some((ie)=>ie===J);return{...ee,...re}}}function nMe(e,r,a={}){return Object.entries(e).filter(([,s])=>s===!0).reduce((s,[l])=>{if(a[l])s.push(a[l]);else if(r[ba[l]])s.push(r[ba[l]]);else if(r[tl[l]])s.push(r[tl[l]]);return s},[r[ur.Day]])}function iMe(e){return{...$V,...e}}function fMe(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 UD(){let e={};for(let r in ur)e[ur[r]]=`rdp-${ur[r]}`;for(let r in ba)e[ba[r]]=`rdp-${ba[r]}`;for(let r in tl)e[tl[r]]=`rdp-${tl[r]}`;for(let r in bs)e[bs[r]]=`rdp-${bs[r]}`;return e}var eW={};Me(eW,{formatCaption:()=>Bzt,formatDay:()=>Yzt,formatMonthDropdown:()=>Uzt,formatWeekNumber:()=>Hzt,formatWeekNumberHeader:()=>Vzt,formatWeekdayName:()=>qzt,formatYearDropdown:()=>Wzt});function Bzt(e,r,a){return(a??new Wn(r)).formatMonthYear(e)}function Yzt(e,r,a){return(a??new Wn(r)).format(e,"d")}function Uzt(e,r=si){return r.format(e,"LLLL")}function qzt(e,r,a){return(a??new Wn(r)).format(e,"cccccc")}function Hzt(e,r=si){if(e<10)return r.formatNumber(`0${e.toLocaleString()}`);return r.formatNumber(`${e.toLocaleString()}`)}function Vzt(){return""}function Wzt(e,r=si){return r.format(e,"yyyy")}function sMe(e){return{...eW,...e}}var dW={};Me(dW,{labelDayButton:()=>tW,labelGrid:()=>rW,labelGridcell:()=>oW,labelMonthDropdown:()=>aW,labelNav:()=>nW,labelNext:()=>iW,labelPrevious:()=>fW,labelWeekNumber:()=>lW,labelWeekNumberHeader:()=>cW,labelWeekday:()=>sW,labelYearDropdown:()=>uW});function tW(e,r,a,i){let s=(i??new Wn(a)).format(e,"PPPP");if(r.today)s=`Today, ${s}`;if(r.selected)s=`${s}, selected`;return s}function rW(e,r,a){return(a??new Wn(r)).formatMonthYear(e)}function oW(e,r,a,i){let s=(i??new Wn(a)).format(e,"PPPP");if(r?.today)s=`Today, ${s}`;return s}function aW(e){return"Choose the Month"}function nW(){return""}function iW(e,r){return"Go to the Next Month"}function fW(e){return"Go to the Previous Month"}function sW(e,r,a){return(a??new Wn(r)).format(e,"cccc")}function lW(e,r){return`Week ${e}`}function cW(e){return"Week Number"}function uW(e){return"Choose the Year"}var Su=(e,r,a)=>{if(r)return r;if(a)return typeof a==="function"?a:(...i)=>a;return e};function lMe(e,r){let a=r.locale?.labels??{};return{...dW,...e??{},labelDayButton:Su(tW,e?.labelDayButton,a.labelDayButton),labelMonthDropdown:Su(aW,e?.labelMonthDropdown,a.labelMonthDropdown),labelNext:Su(iW,e?.labelNext,a.labelNext),labelPrevious:Su(fW,e?.labelPrevious,a.labelPrevious),labelWeekNumber:Su(lW,e?.labelWeekNumber,a.labelWeekNumber),labelYearDropdown:Su(uW,e?.labelYearDropdown,a.labelYearDropdown),labelGrid:Su(rW,e?.labelGrid,a.labelGrid),labelGridcell:Su(oW,e?.labelGridcell,a.labelGridcell),labelNav:Su(nW,e?.labelNav,a.labelNav),labelWeekNumberHeader:Su(cW,e?.labelWeekNumberHeader,a.labelWeekNumberHeader),labelWeekday:Su(sW,e?.labelWeekday,a.labelWeekday)}}function cMe(e,r,a,i,s){let{startOfMonth:l,startOfYear:c,endOfYear:d,eachMonthOfInterval:m,getMonth:g}=s;return m({start:c(e),end:d(e)}).map((y)=>{let x=i.formatMonthDropdown(y,s),_=g(y),j=r&&y<l(r)||a&&y>l(a)||!1;return{value:_,label:x,disabled:j}})}function uMe(e,r={},a={}){let i={...r?.[ur.Day]};return Object.entries(e).filter(([,s])=>s===!0).forEach(([s])=>{i={...i,...a?.[s]}}),i}function dMe(e,r,a,i){let s=i??e.today(),l=a?e.startOfBroadcastWeek(s,e):r?e.startOfISOWeek(s):e.startOfWeek(s),c=[];for(let d=0;d<7;d++){let m=e.addDays(l,d);c.push(m)}return c}function ZMe(e,r,a,i,s=!1){if(!e)return;if(!r)return;let{startOfYear:l,endOfYear:c,eachYearOfInterval:d,getYear:m}=i,g=l(e),M=c(r),v=d({start:g,end:M});if(s)v.reverse();return v.map((y)=>{let x=a.formatYearDropdown(y,i);return{value:m(y),label:x,disabled:!1}})}function pMe(e,r={}){let{weekStartsOn:a,locale:i}=r,s=a??i?.options?.weekStartsOn??0,l=(d)=>{let m=typeof d==="number"||typeof d==="string"?new Date(d):d;return new Sn(m.getFullYear(),m.getMonth(),m.getDate(),12,0,0,e)},c=(d)=>{let m=l(d);return new Date(m.getFullYear(),m.getMonth(),m.getDate(),0,0,0,0)};return{today:()=>l(Sn.tz(e)),newDate:(d,m,g)=>new Sn(d,m,g,12,0,0,e),startOfDay:(d)=>l(d),startOfWeek:(d,m)=>{let g=l(d),M=m?.weekStartsOn??s,v=(g.getDay()-M+7)%7;return g.setDate(g.getDate()-v),g},startOfISOWeek:(d)=>{let m=l(d),g=(m.getDay()-1+7)%7;return m.setDate(m.getDate()-g),m},startOfMonth:(d)=>{let m=l(d);return m.setDate(1),m},startOfYear:(d)=>{let m=l(d);return m.setMonth(0,1),m},endOfWeek:(d,m)=>{let g=l(d),y=(((m?.weekStartsOn??s)+6)%7-g.getDay()+7)%7;return g.setDate(g.getDate()+y),g},endOfISOWeek:(d)=>{let m=l(d),g=(7-m.getDay())%7;return m.setDate(m.getDate()+g),m},endOfMonth:(d)=>{let m=l(d);return m.setMonth(m.getMonth()+1,0),m},endOfYear:(d)=>{let m=l(d);return m.setMonth(11,31),m},eachMonthOfInterval:(d)=>{let m=l(d.start),g=l(d.end),M=[],v=new Sn(m.getFullYear(),m.getMonth(),1,12,0,0,e),y=g.getFullYear()*12+g.getMonth();while(v.getFullYear()*12+v.getMonth()<=y)M.push(new Sn(v,e)),v.setMonth(v.getMonth()+1,1);return M},addDays:(d,m)=>{let g=l(d);return g.setDate(g.getDate()+m),g},addWeeks:(d,m)=>{let g=l(d);return g.setDate(g.getDate()+m*7),g},addMonths:(d,m)=>{let g=l(d);return g.setMonth(g.getMonth()+m),g},addYears:(d,m)=>{let g=l(d);return g.setFullYear(g.getFullYear()+m),g},eachYearOfInterval:(d)=>{let m=l(d.start),g=l(d.end),M=[],v=new Sn(m.getFullYear(),0,1,12,0,0,e);while(v.getFullYear()<=g.getFullYear())M.push(new Sn(v,e)),v.setFullYear(v.getFullYear()+1,0,1);return M},getWeek:(d,m)=>{let g=c(d);return FR(g,{weekStartsOn:m?.weekStartsOn??s,firstWeekContainsDate:m?.firstWeekContainsDate??i?.options?.firstWeekContainsDate??1})},getISOWeek:(d)=>{let m=c(d);return NR(m)},differenceInCalendarDays:(d,m)=>{let g=c(d),M=c(m);return I8(g,M)},differenceInCalendarMonths:(d,m)=>{let g=c(d),M=c(m);return I4(g,M)}}}S();var qD=(e)=>{if(e instanceof HTMLElement)return e;return null},ZW=(e)=>[...e.querySelectorAll("[data-animated-month]")??[]],Gzt=(e)=>qD(e.querySelector("[data-animated-month]")),pW=(e)=>qD(e.querySelector("[data-animated-caption]")),mW=(e)=>qD(e.querySelector("[data-animated-weeks]")),Kzt=(e)=>qD(e.querySelector("[data-animated-nav]")),Xzt=(e)=>qD(e.querySelector("[data-animated-weekdays]"));function mMe(e,r,{classNames:a,months:i,focused:s,dateLib:l}){let c=b(null),d=b(i),m=b(!1);$e(()=>{let g=d.current;if(d.current=i,!r||!e.current||!(e.current instanceof HTMLElement)||i.length===0||g.length===0||i.length!==g.length)return;let M=l.isSameMonth(i[0].date,g[0].date),v=l.isAfter(i[0].date,g[0].date),y=v?a[bs.caption_after_enter]:a[bs.caption_before_enter],x=v?a[bs.weeks_after_enter]:a[bs.weeks_before_enter],_=c.current,j=e.current.cloneNode(!0);if(j instanceof HTMLElement)ZW(j).forEach((G)=>{if(!(G instanceof HTMLElement))return;let X=Gzt(G);if(X&&G.contains(X))G.removeChild(X);let J=pW(G);if(J)J.classList.remove(y);let ee=mW(G);if(ee)ee.classList.remove(x)}),c.current=j;else c.current=null;if(m.current||M||s)return;let U=_ instanceof HTMLElement?ZW(_):[],T=ZW(e.current);if(T?.every((N)=>N instanceof HTMLElement)&&U?.every((N)=>N instanceof HTMLElement)){m.current=!0;let N=[];e.current.style.isolation="isolate";let G=Kzt(e.current);if(G)G.style.zIndex="1";T.forEach((X,J)=>{let ee=U[J];if(!ee)return;X.style.position="relative",X.style.overflow="hidden";let re=pW(X);if(re)re.classList.add(y);let oe=mW(X);if(oe)oe.classList.add(x);let ie=()=>{if(m.current=!1,e.current)e.current.style.isolation="";if(G)G.style.zIndex="";if(re)re.classList.remove(y);if(oe)oe.classList.remove(x);if(X.style.position="",X.style.overflow="",X.contains(ee))X.removeChild(ee)};N.push(ie),ee.style.pointerEvents="none",ee.style.position="absolute",ee.style.overflow="hidden",ee.setAttribute("aria-hidden","true");let ye=Xzt(ee);if(ye)ye.style.opacity="0";let We=pW(ee);if(We)We.classList.add(v?a[bs.caption_before_exit]:a[bs.caption_after_exit]),We.addEventListener("animationend",ie);let Ye=mW(ee);if(Ye)Ye.classList.add(v?a[bs.weeks_before_exit]:a[bs.weeks_after_exit]);X.insertBefore(ee,X.firstChild)})}})}S();function hMe(e,r,a,i){let s=e[0],l=e[e.length-1],{ISOWeek:c,fixedWeeks:d,broadcastCalendar:m}=a??{},{addDays:g,differenceInCalendarDays:M,differenceInCalendarMonths:v,endOfBroadcastWeek:y,endOfISOWeek:x,endOfMonth:_,endOfWeek:j,isAfter:U,startOfBroadcastWeek:T,startOfISOWeek:N,startOfWeek:G}=i,X=m?T(s,i):c?N(s):G(s),J=m?y(l):c?x(_(l)):j(_(l)),ee=r&&(m?y(r):c?x(r):j(r)),re=ee&&U(J,ee)?ee:J,oe=M(re,X),ie=v(l,s)+1,ye=[];for(let Se=0;Se<=oe;Se++){let He=g(X,Se);ye.push(He)}let Ye=(m?35:42)*ie;if(d&&ye.length<Ye){let Se=Ye-ye.length;for(let He=0;He<Se;He++){let ut=g(ye[ye.length-1],1);ye.push(ut)}}return ye}function gMe(e){let r=[];return e.reduce((a,i)=>{let s=i.weeks.reduce((l,c)=>l.concat(c.days.slice()),r.slice());return a.concat(s.slice())},r.slice())}function MMe(e,r,a,i){let{numberOfMonths:s=1}=a,l=[];for(let c=0;c<s;c++){let d=i.addMonths(e,c);if(r&&d>r)break;l.push(d)}return l}function hW(e,r,a,i){let{month:s,defaultMonth:l,today:c=i.today(),numberOfMonths:d=1}=e,m=s||l||c,{differenceInCalendarMonths:g,addMonths:M,startOfMonth:v}=i;if(a&&g(a,m)<d-1){let y=-1*(d-1);m=M(a,y)}if(r&&g(m,r)<0)m=r;return v(m)}function vMe(e,r,a,i){let{addDays:s,endOfBroadcastWeek:l,endOfISOWeek:c,endOfMonth:d,endOfWeek:m,getISOWeek:g,getWeek:M,startOfBroadcastWeek:v,startOfISOWeek:y,startOfWeek:x}=i,_=e.reduce((j,U)=>{let T=a.broadcastCalendar?v(U,i):a.ISOWeek?y(U):x(U),N=a.broadcastCalendar?l(U):a.ISOWeek?c(d(U)):m(d(U)),G=r.filter((re)=>re>=T&&re<=N),X=a.broadcastCalendar?35:42;if(a.fixedWeeks&&G.length<X){let re=r.filter((oe)=>{let ie=X-G.length;return oe>N&&oe<=s(N,ie)});G.push(...re)}let J=G.reduce((re,oe)=>{let ie=a.ISOWeek?g(oe):M(oe),ye=re.find((Ye)=>Ye.weekNumber===ie),We=new YD(oe,U,i);if(!ye)re.push(new QV(ie,[We]));else ye.days.push(We);return re},[]),ee=new XV(U,J);return j.push(ee),j},[]);if(!a.reverseMonths)return _;else return _.reverse()}function xMe(e,r){let{startMonth:a,endMonth:i}=e,{startOfYear:s,startOfDay:l,startOfMonth:c,endOfMonth:d,addYears:m,endOfYear:g,today:M}=r,v=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";if(a)a=c(a);else if(!a&&v)a=s(m(e.today??M(),-100));if(i)i=d(i);else if(!i&&v)i=g(e.today??M());return[a?l(a):a,i?l(i):i]}function yMe(e,r,a,i){if(a.disableNavigation)return;let{pagedNavigation:s,numberOfMonths:l=1}=a,{startOfMonth:c,addMonths:d,differenceInCalendarMonths:m}=i,g=s?l:1,M=c(e);if(!r)return d(M,g);if(m(r,e)<l)return;return d(M,g)}function bMe(e,r,a,i){if(a.disableNavigation)return;let{pagedNavigation:s,numberOfMonths:l}=a,{startOfMonth:c,addMonths:d,differenceInCalendarMonths:m}=i,g=s?l??1:1,M=c(e);if(!r)return d(M,-g);if(m(M,r)<=0)return;return d(M,-g)}function _Me(e){let r=[];return e.reduce((a,i)=>a.concat(i.weeks.slice()),r.slice())}S();function B8(e,r){let[a,i]=u(e);return[r===void 0?a:r,i]}function wMe(e,r){let[a,i]=xMe(e,r),{startOfMonth:s,endOfMonth:l}=r,c=hW(e,a,i,r),[d,m]=B8(c,e.month?c:void 0);h(()=>{let X=hW(e,a,i,r);m(X)},[e.timeZone]);let{months:g,weeks:M,days:v,previousMonth:y,nextMonth:x}=P(()=>{let X=MMe(d,i,{numberOfMonths:e.numberOfMonths},r),J=hMe(X,e.endMonth?l(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},r),ee=vMe(X,J,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},r),re=_Me(ee),oe=gMe(ee),ie=bMe(d,a,e,r),ye=yMe(d,i,e,r);return{months:ee,weeks:re,days:oe,previousMonth:ie,nextMonth:ye}},[r,d.getTime(),i?.getTime(),a?.getTime(),e.disableNavigation,e.broadcastCalendar,e.endMonth?.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:_,onMonthChange:j}=e,U=(X)=>M.some((J)=>J.days.some((ee)=>ee.isEqualTo(X))),T=(X)=>{if(_)return;let J=s(X);if(a&&J<s(a))J=s(a);if(i&&J>s(i))J=s(i);m(J),j?.(J)};return{months:g,weeks:M,days:v,navStart:a,navEnd:i,previousMonth:y,nextMonth:x,goToMonth:T,goToDay:(X)=>{if(U(X))return;T(X.date)}}}S();var wZ;(function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"})(wZ||(wZ={}));function zMe(e){return!e[ba.disabled]&&!e[ba.hidden]&&!e[ba.outside]}function SMe(e,r,a,i){let s,l=-1;for(let c of e){let d=r(c);if(zMe(d)){if(d[ba.focused]&&l<wZ.FocusedModifier)s=c,l=wZ.FocusedModifier;else if(i?.isEqualTo(c)&&l<wZ.LastFocused)s=c,l=wZ.LastFocused;else if(a(c.date)&&l<wZ.Selected)s=c,l=wZ.Selected;else if(d[ba.today]&&l<wZ.Today)s=c,l=wZ.Today}}if(!s)s=e.find((c)=>zMe(r(c)));return s}function LMe(e,r,a,i,s,l,c){let{ISOWeek:d,broadcastCalendar:m}=l,{addDays:g,addMonths:M,addWeeks:v,addYears:y,endOfBroadcastWeek:x,endOfISOWeek:_,endOfWeek:j,max:U,min:T,startOfBroadcastWeek:N,startOfISOWeek:G,startOfWeek:X}=c,ee={day:g,week:v,month:M,year:y,startOfWeek:(re)=>m?N(re,c):d?G(re):X(re),endOfWeek:(re)=>m?x(re):d?_(re):j(re)}[e](a,r==="after"?1:-1);if(r==="before"&&i)ee=U([i,ee]);else if(r==="after"&&s)ee=T([s,ee]);return ee}function gW(e,r,a,i,s,l,c,d=0){if(d>365)return;let m=LMe(e,r,a.date,i,s,l,c),g=Boolean(l.disabled&&_c(m,l.disabled,c)),M=Boolean(l.hidden&&_c(m,l.hidden,c)),y=new YD(m,m,c);if(!g&&!M)return y;return gW(e,r,y,i,s,l,c,d+1)}function kMe(e,r,a,i,s){let{autoFocus:l}=e,[c,d]=u(),m=SMe(r.days,a,i||(()=>!1),c),[g,M]=u(l?m:void 0);return{isFocusTarget:(j)=>Boolean(m?.isEqualTo(j)),setFocused:M,focused:g,blur:()=>{d(g),M(void 0)},moveFocus:(j,U)=>{if(!g)return;let T=gW(j,U,g,r.navStart,r.navEnd,e,s);if(!T)return;if(e.disableNavigation){if(!r.days.some((G)=>G.isEqualTo(T)))return}r.goToDay(T),M(T)}}}function CMe(e,r){let{selected:a,required:i,onSelect:s}=e,[l,c]=B8(a,s?a:void 0),d=!s?l:a,{isSameDay:m}=r,g=(x)=>d?.some((_)=>m(_,x))??!1,{min:M,max:v}=e;return{selected:d,select:(x,_,j)=>{let U=[...d??[]];if(g(x)){if(d?.length===M)return;if(i&&d?.length===1)return;U=d?.filter((T)=>!m(T,x))}else if(d?.length===v)U=[x];else U=[...U,x];if(!s)c(U);return s?.(U,x,_,j),U},isSelected:g}}function IMe(e,r,a=0,i=0,s=!1,l=si){let{from:c,to:d}=r||{},{isSameDay:m,isAfter:g,isBefore:M}=l,v;if(!c&&!d)v={from:e,to:a>0?void 0:e};else if(c&&!d)if(m(c,e))if(a===0)v={from:c,to:e};else if(s)v={from:c,to:void 0};else v=void 0;else if(M(e,c))v={from:e,to:c};else v={from:c,to:e};else if(c&&d)if(m(c,e)&&m(d,e))if(s)v={from:c,to:d};else v=void 0;else if(m(c,e))v={from:c,to:a>0?void 0:e};else if(m(d,e))v={from:e,to:a>0?void 0:e};else if(M(e,c))v={from:e,to:d};else if(g(e,c))v={from:c,to:e};else if(g(e,d))v={from:c,to:e};else throw Error("Invalid range");if(v?.from&&v?.to){let y=l.differenceInCalendarDays(v.to,v.from);if(i>0&&y>i)v={from:e,to:void 0};else if(a>1&&y<a)v={from:e,to:void 0}}return v}function RMe(e,r,a=si){let i=!Array.isArray(r)?[r]:r,s=e.from,l=a.differenceInCalendarDays(e.to,e.from),c=Math.min(l,6);for(let d=0;d<=c;d++){if(i.includes(s.getDay()))return!0;s=a.addDays(s,1)}return!1}function MW(e,r,a=si){return rl(e,r.from,!1,a)||rl(e,r.to,!1,a)||rl(r,e.from,!1,a)||rl(r,e.to,!1,a)}function PMe(e,r,a=si){let i=Array.isArray(r)?r:[r];if(i.filter((d)=>typeof d!=="function").some((d)=>{if(typeof d==="boolean")return d;if(a.isDate(d))return rl(e,d,!1,a);if(xF(d,a))return d.some((m)=>rl(e,m,!1,a));if(F8(d)){if(d.from&&d.to)return MW(e,{from:d.from,to:d.to},a);return!1}if(vF(d))return RMe(e,d.dayOfWeek,a);if(XR(d)){if(a.isAfter(d.before,d.after))return MW(e,{from:a.addDays(d.after,1),to:a.addDays(d.before,-1)},a);return _c(e.from,d,a)||_c(e.to,d,a)}if(QR(d)||JR(d))return _c(e.from,d,a)||_c(e.to,d,a);return!1}))return!0;let c=i.filter((d)=>typeof d==="function");if(c.length){let d=e.from,m=a.differenceInCalendarDays(e.to,e.from);for(let g=0;g<=m;g++){if(c.some((M)=>M(d)))return!0;d=a.addDays(d,1)}}return!1}function TMe(e,r){let{disabled:a,excludeDisabled:i,resetOnSelect:s,selected:l,required:c,onSelect:d}=e,[m,g]=B8(l,d?l:void 0),M=!d?m:l;return{selected:M,select:(x,_,j)=>{let{min:U,max:T}=e,N;if(x){let G=M?.from,X=M?.to,J=!!G&&!!X,ee=!!G&&!!X&&r.isSameDay(G,X)&&r.isSameDay(x,G);if(s&&(J||!M?.from))if(!c&&ee)N=void 0;else N={from:x,to:void 0};else N=IMe(x,M,U,T,c,r)}if(i&&a&&N?.from&&N.to){if(PMe({from:N.from,to:N.to},a,r))N.from=x,N.to=void 0}if(!d)g(N);return d?.(N,x,_,j),N},isSelected:(x)=>M&&rl(M,x,!1,r)}}function AMe(e,r){let{selected:a,required:i,onSelect:s}=e,[l,c]=B8(a,s?a:void 0),d=!s?l:a,{isSameDay:m}=r;return{selected:d,select:(v,y,x)=>{let _=v;if(!i&&d&&d&&m(v,d))_=void 0;if(!s)c(_);if(i)s?.(_,v,y,x);else s?.(_,v,y,x);return _},isSelected:(v)=>d?m(d,v):!1}}function EMe(e,r){let a=AMe(e,r),i=CMe(e,r),s=TMe(e,r);switch(e.mode){case"single":return a;case"multiple":return i;case"range":return s;default:return}}function ws(e,r){if(e instanceof Sn&&e.timeZone===r)return e;return new Sn(e,r)}function $R(e,r,a){if(!a)return ws(e,r);let i=ws(e,r),s=new Sn(i.getFullYear(),i.getMonth(),i.getDate(),12,0,0,r);return new Date(s.getTime())}function DMe(e,r,a){if(typeof e==="boolean"||typeof e==="function")return e;if(e instanceof Date)return $R(e,r,a);if(Array.isArray(e))return e.map((i)=>i instanceof Date?$R(i,r,a):i);if(F8(e))return{...e,from:e.from?ws(e.from,r):e.from,to:e.to?ws(e.to,r):e.to};if(XR(e))return{before:$R(e.before,r,a),after:$R(e.after,r,a)};if(QR(e))return{after:$R(e.after,r,a)};if(JR(e))return{before:$R(e.before,r,a)};return e}function yF(e,r,a){if(!e)return e;if(Array.isArray(e))return e.map((i)=>DMe(i,r,a));return DMe(e,r,a)}function OMe(e){let r=e,a=r.timeZone;if(a){if(r={...e,timeZone:a},r.today)r.today=ws(r.today,a);if(r.month)r.month=ws(r.month,a);if(r.defaultMonth)r.defaultMonth=ws(r.defaultMonth,a);if(r.startMonth)r.startMonth=ws(r.startMonth,a);if(r.endMonth)r.endMonth=ws(r.endMonth,a);if(r.mode==="single"&&r.selected)r.selected=ws(r.selected,a);else if(r.mode==="multiple"&&r.selected)r.selected=r.selected?.map((Tt)=>ws(Tt,a));else if(r.mode==="range"&&r.selected)r.selected={from:r.selected.from?ws(r.selected.from,a):r.selected.from,to:r.selected.to?ws(r.selected.to,a):r.selected.to};if(r.disabled!==void 0)r.disabled=yF(r.disabled,a);if(r.hidden!==void 0)r.hidden=yF(r.hidden,a);if(r.modifiers){let Tt={};Object.keys(r.modifiers).forEach((zt)=>{Tt[zt]=yF(r.modifiers?.[zt],a)}),r.modifiers=Tt}}let{components:i,formatters:s,labels:l,dateLib:c,locale:d,classNames:m}=P(()=>{let Tt={...BD,...r.locale},zt=r.broadcastCalendar?1:r.weekStartsOn,qt=r.noonSafe&&r.timeZone?pMe(r.timeZone,{weekStartsOn:zt,locale:Tt}):void 0,Er=r.dateLib&&qt?{...qt,...r.dateLib}:r.dateLib??qt,jr=new Wn({locale:Tt,weekStartsOn:zt,firstWeekContainsDate:r.firstWeekContainsDate,useAdditionalWeekYearTokens:r.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:r.useAdditionalDayOfYearTokens,timeZone:r.timeZone,numerals:r.numerals},Er);return{dateLib:jr,components:iMe(r.components),formatters:sMe(r.formatters),labels:lMe(r.labels,jr.options),locale:Tt,classNames:{...UD(),...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:c.today()};let{captionLayout:g,mode:M,navLayout:v,numberOfMonths:y=1,onDayBlur:x,onDayClick:_,onDayFocus:j,onDayKeyDown:U,onDayMouseEnter:T,onDayMouseLeave:N,onNextClick:G,onPrevClick:X,showWeekNumber:J,styles:ee}=r,{formatCaption:re,formatDay:oe,formatMonthDropdown:ie,formatWeekNumber:ye,formatWeekNumberHeader:We,formatWeekdayName:Ye,formatYearDropdown:Se}=s,He=wMe(r,c),{days:ut,months:Ke,navStart:yt,navEnd:At,previousMonth:jt,nextMonth:de,goToMonth:bt}=He,Wt=aMe(ut,r,yt,At,c),{isSelected:je,select:sr,selected:cr}=EMe(r,c)??{},{blur:rr,focused:Or,isFocusTarget:Gt,moveFocus:Qt,setFocused:Tr}=kMe(r,He,Wt,je??(()=>!1),c),{labelDayButton:Cr,labelGridcell:Ar,labelGrid:dr,labelMonthDropdown:uo,labelNav:lo,labelPrevious:da,labelNext:ir,labelWeekday:io,labelWeekNumber:Yr,labelWeekNumberHeader:To,labelYearDropdown:an}=l,Ho=P(()=>dMe(c,r.ISOWeek,r.broadcastCalendar,r.today),[c,r.ISOWeek,r.broadcastCalendar,r.today]),En=M!==void 0||_!==void 0,sn=D(()=>{if(!jt)return;bt(jt),X?.(jt)},[jt,bt,X]),Bi=D(()=>{if(!de)return;bt(de),G?.(de)},[bt,de,G]),Ge=D((Tt,zt)=>(qt)=>{if(qt.preventDefault(),qt.stopPropagation(),Tr(Tt),zt.disabled)return;sr?.(Tt.date,zt,qt),_?.(Tt.date,zt,qt)},[sr,_,Tr]),Pt=D((Tt,zt)=>(qt)=>{Tr(Tt),j?.(Tt.date,zt,qt)},[j,Tr]),br=D((Tt,zt)=>(qt)=>{rr(),x?.(Tt.date,zt,qt)},[rr,x]),Fr=D((Tt,zt)=>(qt)=>{let Er={ArrowLeft:[qt.shiftKey?"month":"day",r.dir==="rtl"?"after":"before"],ArrowRight:[qt.shiftKey?"month":"day",r.dir==="rtl"?"before":"after"],ArrowDown:[qt.shiftKey?"year":"week","after"],ArrowUp:[qt.shiftKey?"year":"week","before"],PageUp:[qt.shiftKey?"year":"month","before"],PageDown:[qt.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(Er[qt.key]){qt.preventDefault(),qt.stopPropagation();let[jr,aa]=Er[qt.key];Qt(jr,aa)}U?.(Tt.date,zt,qt)},[Qt,U,r.dir]),ao=D((Tt,zt)=>(qt)=>{T?.(Tt.date,zt,qt)},[T]),Vo=D((Tt,zt)=>(qt)=>{N?.(Tt.date,zt,qt)},[N]),Aa=D((Tt,zt)=>(qt)=>{let Er=Number(qt.target.value),jr=c.setMonth(c.startOfMonth(Tt),Er);bt(c.addMonths(jr,-zt))},[c,bt]),Ee=D((Tt,zt)=>(qt)=>{let Er=Number(qt.target.value),jr=c.setYear(c.startOfMonth(Tt),Er);bt(c.addMonths(jr,-zt))},[c,bt]),{className:Oe,style:Fe}=P(()=>({className:[m[ur.Root],r.className].filter(Boolean).join(" "),style:{...ee?.[ur.Root],...r.style}}),[m,r.className,r.style,ee]),Zt=fMe(r),St=(Tt)=>{let zt=ee?.[ur.Dropdown],qt=ee?.[Tt];if(!zt&&!qt)return;return{...zt,...qt}},Ot=b(null);mMe(Ot,Boolean(r.animate),{classNames:m,months:Ke,focused:Or,dateLib:c});let fr={dayPickerProps:r,selected:cr,select:sr,isSelected:je,months:Ke,nextMonth:de,previousMonth:jt,goToMonth:bt,getModifiers:Wt,components:i,classNames:m,styles:ee,labels:l,formatters:s};return q(JV.Provider,{value:fr},q(i.Root,{rootRef:r.animate?Ot:void 0,className:Oe,style:Fe,dir:r.dir,id:r.id,lang:r.lang??d.code,nonce:r.nonce,title:r.title,role:r.role,"aria-label":r["aria-label"],"aria-labelledby":r["aria-labelledby"],...Zt},q(i.Months,{className:m[ur.Months],style:ee?.[ur.Months]},!r.hideNavigation&&!v&&q(i.Nav,{"data-animated-nav":r.animate?"true":void 0,className:m[ur.Nav],style:ee?.[ur.Nav],"aria-label":lo(),onPreviousClick:sn,onNextClick:Bi,previousMonth:jt,nextMonth:de}),Ke.map((Tt,zt)=>{let qt=r.reverseMonths?Ke.length-1-zt:zt;return q(i.Month,{"data-animated-month":r.animate?"true":void 0,className:m[ur.Month],style:ee?.[ur.Month],key:zt,displayIndex:zt,calendarMonth:Tt},v==="around"&&!r.hideNavigation&&zt===0&&q(i.PreviousMonthButton,{type:"button",className:m[ur.PreviousMonthButton],style:ee?.[ur.PreviousMonthButton],tabIndex:jt?void 0:-1,"aria-disabled":jt?void 0:!0,"aria-label":da(jt),onClick:sn,"data-animated-button":r.animate?"true":void 0},q(i.Chevron,{disabled:jt?void 0:!0,className:m[ur.Chevron],style:ee?.[ur.Chevron],orientation:r.dir==="rtl"?"right":"left"})),q(i.MonthCaption,{"data-animated-caption":r.animate?"true":void 0,className:m[ur.MonthCaption],style:ee?.[ur.MonthCaption],calendarMonth:Tt,displayIndex:zt},g?.startsWith("dropdown")?q(i.DropdownNav,{className:m[ur.Dropdowns],style:ee?.[ur.Dropdowns]},(()=>{let Er=g==="dropdown"||g==="dropdown-months"?q(i.MonthsDropdown,{key:"month",className:m[ur.MonthsDropdown],"aria-label":uo(),disabled:Boolean(r.disableNavigation),onChange:Aa(Tt.date,qt),options:cMe(Tt.date,yt,At,s,c),style:St(ur.MonthsDropdown),value:c.getMonth(Tt.date)}):q("span",{key:"month"},ie(Tt.date,c)),jr=g==="dropdown"||g==="dropdown-years"?q(i.YearsDropdown,{key:"year",className:m[ur.YearsDropdown],"aria-label":an(c.options),disabled:Boolean(r.disableNavigation),onChange:Ee(Tt.date,qt),options:ZMe(yt,At,s,c,Boolean(r.reverseYears)),style:St(ur.YearsDropdown),value:c.getYear(Tt.date)}):q("span",{key:"year"},Se(Tt.date,c));return c.getMonthYearOrder()==="year-first"?[jr,Er]:[Er,jr]})(),q("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},re(Tt.date,c.options,c))):q(i.CaptionLabel,{className:m[ur.CaptionLabel],style:ee?.[ur.CaptionLabel],role:"status","aria-live":"polite"},re(Tt.date,c.options,c))),v==="around"&&!r.hideNavigation&&zt===y-1&&q(i.NextMonthButton,{type:"button",className:m[ur.NextMonthButton],style:ee?.[ur.NextMonthButton],tabIndex:de?void 0:-1,"aria-disabled":de?void 0:!0,"aria-label":ir(de),onClick:Bi,"data-animated-button":r.animate?"true":void 0},q(i.Chevron,{disabled:de?void 0:!0,className:m[ur.Chevron],style:ee?.[ur.Chevron],orientation:r.dir==="rtl"?"left":"right"})),zt===y-1&&v==="after"&&!r.hideNavigation&&q(i.Nav,{"data-animated-nav":r.animate?"true":void 0,className:m[ur.Nav],style:ee?.[ur.Nav],"aria-label":lo(),onPreviousClick:sn,onNextClick:Bi,previousMonth:jt,nextMonth:de}),q(i.MonthGrid,{role:"grid","aria-multiselectable":M==="multiple"||M==="range","aria-label":dr(Tt.date,c.options,c)||void 0,className:m[ur.MonthGrid],style:ee?.[ur.MonthGrid]},!r.hideWeekdays&&q(i.Weekdays,{"data-animated-weekdays":r.animate?"true":void 0,className:m[ur.Weekdays],style:ee?.[ur.Weekdays]},J&&q(i.WeekNumberHeader,{"aria-label":To(c.options),className:m[ur.WeekNumberHeader],style:ee?.[ur.WeekNumberHeader],scope:"col"},We()),Ho.map((Er)=>q(i.Weekday,{"aria-label":io(Er,c.options,c),className:m[ur.Weekday],key:String(Er),style:ee?.[ur.Weekday],scope:"col"},Ye(Er,c.options,c)))),q(i.Weeks,{"data-animated-weeks":r.animate?"true":void 0,className:m[ur.Weeks],style:ee?.[ur.Weeks]},Tt.weeks.map((Er)=>q(i.Week,{className:m[ur.Week],key:Er.weekNumber,style:ee?.[ur.Week],week:Er},J&&q(i.WeekNumber,{week:Er,style:ee?.[ur.WeekNumber],"aria-label":Yr(Er.weekNumber,{locale:d}),className:m[ur.WeekNumber],scope:"row",role:"rowheader"},ye(Er.weekNumber,c)),Er.days.map((jr)=>{let{date:aa}=jr,or=Wt(jr);if(or[ba.focused]=!or.hidden&&Boolean(Or?.isEqualTo(jr)),or[tl.selected]=je?.(aa)||or.selected,F8(cr)){let{from:cf,to:_a}=cr;or[tl.range_start]=Boolean(cf&&_a&&c.isSameDay(aa,cf)),or[tl.range_end]=Boolean(cf&&_a&&c.isSameDay(aa,_a)),or[tl.range_middle]=rl(cr,aa,!0,c)}let Go=uMe(or,ee,r.modifiersStyles),pa=nMe(or,m,r.modifiersClassNames),Qn=!En&&!or.hidden?Ar(aa,or,c.options,c):void 0;return q(i.Day,{key:`${jr.isoDate}_${jr.displayMonthId}`,day:jr,modifiers:or,className:pa.join(" "),style:Go,role:"gridcell","aria-selected":or.selected||void 0,"aria-label":Qn,"data-day":jr.isoDate,"data-month":jr.outside?jr.dateMonthId:void 0,"data-selected":or.selected||void 0,"data-disabled":or.disabled||void 0,"data-hidden":or.hidden||void 0,"data-outside":jr.outside||void 0,"data-focused":or.focused||void 0,"data-today":or.today||void 0},!or.hidden&&En?q(i.DayButton,{className:m[ur.DayButton],style:ee?.[ur.DayButton],type:"button",day:jr,modifiers:or,disabled:!or.focused&&or.disabled||void 0,"aria-disabled":or.focused&&or.disabled||void 0,tabIndex:Gt(jr)?0:-1,"aria-label":Cr(aa,or,c.options,c),onClick:Ge(jr,or),onBlur:br(jr,or),onFocus:Pt(jr,or),onKeyDown:Fr(jr,or),onMouseEnter:ao(jr,or),onMouseLeave:Vo(jr,or)},oe(aa,c.options,c)):!or.hidden&&oe(jr.date,c.options,c))}))))))})),r.footer&&q(i.Footer,{className:m[ur.Footer],style:ee?.[ur.Footer],role:"status","aria-live":"polite"},r.footer)))}function jMe({className:e,classNames:r,showOutsideDays:a=!0,captionLayout:i="label",buttonVariant:s="ghost",formatters:l,components:c,...d}){let m=UD();return t(OMe,{showOutsideDays:a,className:C("group/calendar bg-background p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,e),captionLayout:i,formatters:{formatMonthDropdown:(g)=>g.toLocaleString("default",{month:"short"}),...l},classNames:{root:C("w-fit",m.root),months:C("relative flex flex-col gap-4 md:flex-row",m.months),month:C("flex w-full flex-col gap-4",m.month),nav:C("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",m.nav),button_previous:C(c5({variant:s}),"size-(--cell-size) p-0 select-none aria-disabled:opacity-50",m.button_previous),button_next:C(c5({variant:s}),"size-(--cell-size) p-0 select-none aria-disabled:opacity-50",m.button_next),month_caption:C("flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)",m.month_caption),dropdowns:C("flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium",m.dropdowns),dropdown_root:C("relative rounded-md border border-input shadow-xs has-focus:border-ring has-focus:ring-[3px] has-focus:ring-ring/50",m.dropdown_root),dropdown:C("absolute inset-0 bg-popover opacity-0",m.dropdown),caption_label:C("font-medium select-none",i==="label"?"text-sm":"flex h-8 items-center gap-1 rounded-md pr-1 pl-2 text-sm [&>svg]:size-3.5 [&>svg]:text-muted-foreground",m.caption_label),month_grid:"w-full border-collapse",weekdays:C("flex",m.weekdays),weekday:C("flex-1 rounded-md text-[0.8rem] font-normal text-muted-foreground select-none",m.weekday),week:C("mt-2 flex w-full",m.week),week_number_header:C("w-(--cell-size) select-none",m.week_number_header),week_number:C("text-[0.8rem] text-muted-foreground select-none",m.week_number),day:C("group/day relative aspect-square h-full w-full p-0 text-center select-none [&:last-child[data-selected=true]_button]:rounded-r-md",d.showWeekNumber?"[&:nth-child(2)[data-selected=true]_button]:rounded-l-md":"[&:first-child[data-selected=true]_button]:rounded-l-md",m.day),range_start:C("rounded-l-md bg-accent",m.range_start),range_middle:C("rounded-none",m.range_middle),range_end:C("rounded-r-md bg-accent",m.range_end),today:C("rounded-md bg-accent text-accent-foreground data-[selected=true]:rounded-none",m.today),outside:C("text-muted-foreground aria-selected:text-muted-foreground",m.outside),disabled:C("text-muted-foreground opacity-50",m.disabled),hidden:C("invisible",m.hidden),...r},components:{Root:({className:g,rootRef:M,...v})=>t("div",{"data-slot":"calendar",ref:M,className:C(g),...v}),Chevron:({className:g,orientation:M,...v})=>{if(M==="left")return t(rn,{className:C("size-4",g),...v});if(M==="right")return t(vt,{className:C("size-4",g),...v});return t(ve,{className:C("size-4",g),...v})},DayButton:Qzt,WeekNumber:({children:g,...M})=>t("td",{...M,children:t("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:g})}),...c},...d})}function Qzt({className:e,day:r,modifiers:a,...i}){let s=UD(),l=b(null);return h(()=>{if(a.focused)l.current?.focus()},[a.focused]),t(E,{ref:l,variant:"ghost",size:"icon","data-day":r.date.toLocaleDateString(),"data-selected-single":a.selected&&!a.range_start&&!a.range_end&&!a.range_middle,"data-range-start":a.range_start,"data-range-end":a.range_end,"data-range-middle":a.range_middle,className:C("flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground dark:hover:text-accent-foreground [&>span]:text-xs [&>span]:opacity-70",s.day,e),...i})}function so({className:e,orientation:r="horizontal",decorative:a=!0,...i}){return t(VRe,{"data-slot":"separator",decorative:a,orientation:r,className:C("shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e),...i})}S();function vi({value:e,onChange:r,placeholder:a="Pick a date",disabled:i,className:s}){let[l,c]=u(!1),[d,m]=u(e);h(()=>{if(l)m(e)},[l,e]);let g=Array.from({length:24},(j,U)=>U),M=Array.from({length:12},(j,U)=>U*5),v=(j)=>{if(j){let U=d?new Date(d):new Date;U.setFullYear(j.getFullYear()),U.setMonth(j.getMonth()),U.setDate(j.getDate()),m(U)}else m(void 0)},y=(j,U)=>{let T=d?new Date(d):new Date;if(j==="hour")T.setHours(U);else T.setMinutes(U);m(T)},x=(j)=>{let U=new Date;if(j==="24h")U=jue(U,24);else if(j==="1w")U=pD(U,1);else if(j==="2w")U=pD(U,2);m(U)},_=()=>{r?.(d),c(!1)};return o(mt,{open:l,onOpenChange:c,children:[t(ht,{asChild:!0,children:o(E,{variant:"outline",disabled:i,className:C("w-full justify-start text-left font-normal h-9",!e&&"text-muted-foreground",s),children:[t(jn,{className:"mr-2 h-4 w-4"}),e?hr(e,"yyyy/MM/dd HH:mm"):t("span",{children:a})]})}),t(gt,{className:"w-[22rem] p-0",align:"start",children:o("div",{className:"flex flex-col w-full",children:[o("div",{className:"flex w-full",children:[t(jMe,{mode:"single",selected:d,onSelect:v,className:"grow"}),o("div",{className:"flex flex-col sm:flex-row sm:h-[300px] divide-y sm:divide-y-0 sm:divide-x border-t sm:border-t-0 border-l",children:[o(ce,{className:"w-64 sm:w-auto [&_[data-orientation=vertical]]:hidden",children:[t("div",{className:"flex sm:flex-col p-2",children:g.map((j)=>t(E,{size:"icon",variant:d&&d.getHours()===j?"default":"ghost",className:"sm:w-full shrink-0 aspect-square text-xs h-8 w-8",onClick:()=>y("hour",j),children:j.toString().padStart(2,"0")},j))}),t(I5,{orientation:"horizontal",className:"sm:hidden"})]}),o(ce,{className:"w-64 sm:w-auto [&_[data-orientation=vertical]]:hidden",children:[t("div",{className:"flex sm:flex-col p-2",children:M.map((j)=>t(E,{size:"icon",variant:d&&d.getMinutes()===j?"default":"ghost",className:"sm:w-full shrink-0 aspect-square text-xs h-8 w-8",onClick:()=>y("minute",j),children:j.toString().padStart(2,"0")},j))}),t(I5,{orientation:"horizontal",className:"sm:hidden"})]})]})]}),t(so,{}),o("div",{className:"p-2 flex items-center justify-between bg-muted/50",children:[o("div",{className:"flex gap-2",children:[t(E,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2",onClick:()=>x("24h"),children:"24 Hours"}),t(E,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2",onClick:()=>x("1w"),children:"1 Week"}),t(E,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2",onClick:()=>x("2w"),children:"2 Weeks"})]}),t(E,{size:"sm",className:"h-7 px-4",onClick:_,children:"Save"})]})]})})]})}S();var Jzt=[Qe.TODO,Qe.READY,Qe.IN_PROGRESS,Qe.IN_REVIEW,Qe.DONE,Qe.BLOCKED];function Gd({teamId:e,currentTaskId:r,excludeTaskIds:a=[],value:i=[],knownTasks:s=[],onChange:l,disabled:c=!1,canEdit:d=!0,className:m}){let[g,M]=u(!1),[v,y]=u(Qe.TODO),[x,_]=u(""),[j,U]=u(()=>{let ie={};for(let ye of s)ie[ye.id]={title:ye.title,status:ye.status};return ie}),{data:T,isLoading:N}=Z({queryKey:["teams",e,"kanban","tasks","status",v],queryFn:async()=>{let ie=await A.api.teams[":teamId"].kanban.tasks.$get({param:{teamId:e},query:{status:v,first:"100"}});if(!ie.ok)return{data:[]};return await ie.json()},enabled:!!e&&g}),G=T?.data||[];P(()=>{if(G.length>0)U((ie)=>{let ye=!1,We={...ie};for(let Ye of G)if(!We[Ye.id]||We[Ye.id].title!==Ye.title||We[Ye.id].status!==Ye.status)We[Ye.id]={title:Ye.title,status:Ye.status},ye=!0;return ye?We:ie})},[G]);let X=P(()=>{let ie=new Set(a);if(r)ie.add(r);return ie},[r,a]),J=P(()=>{let ie=x.trim().toLowerCase();return G.filter((ye)=>{if(X.has(ye.id))return!1;if(!ie)return!0;return ye.title.toLowerCase().includes(ie)})},[G,X,x]),ee=(ie)=>{if(!d||c)return;let We=i.includes(ie)?i.filter((Ye)=>Ye!==ie):[...i,ie];l?.(We)},re=(ie,ye)=>{if(ye.stopPropagation(),!d||c)return;l?.(i.filter((We)=>We!==ie))},oe=d&&!c;return o(mt,{open:g&&oe,onOpenChange:(ie)=>oe&&M(ie),children:[t(ht,{asChild:!0,children:t("div",{role:"button",tabIndex:oe?0:-1,className:C("w-full min-h-[36px] px-2.5 py-1.5 flex flex-wrap items-center gap-1.5 rounded-md border border-input bg-background text-xs transition-colors",oe?"cursor-pointer hover:border-ring/60 focus:outline-none focus:ring-2 focus:ring-ring/50":"cursor-not-allowed opacity-70",m),children:i.length===0?o("div",{className:"flex items-center gap-1.5 text-muted-foreground",children:[t(Ls,{className:"w-3.5 h-3.5 text-muted-foreground/70"}),t("span",{children:tct()})]}):i.map((ie)=>{let ye=j[ie];return o("span",{className:"inline-flex items-center gap-1.5 px-2 py-0.5 rounded-md text-[11px] bg-muted text-foreground border border-border/80 shrink-0 max-w-[220px]",children:[ye?.status&&t("span",{className:C("px-1 py-0.2 rounded text-[9px] uppercase font-semibold shrink-0",j8(ye.status)),children:oo(ye.status)}),t("span",{className:"truncate font-medium",children:ye?.title||ie}),oe&&t("button",{type:"button",onClick:(We)=>re(ie,We),className:"text-muted-foreground hover:text-destructive shrink-0 p-0.5 -mr-1",children:t(Ne,{className:"w-3 h-3"})})]},ie)})})}),o(gt,{align:"start",sideOffset:4,className:"w-[var(--radix-popover-trigger-width)] min-w-[320px] sm:min-w-[420px] max-w-[500px] p-2.5 space-y-2 bg-popover border border-border rounded-lg shadow-lg",children:[t("div",{className:"flex flex-wrap gap-1.5 pb-0.5",children:Jzt.map((ie)=>t("button",{type:"button",onClick:()=>y(ie),className:C("text-[11px] h-7 px-2.5 rounded-md font-medium transition-colors border shrink-0",v===ie?"bg-primary text-primary-foreground border-primary shadow-xs":"bg-muted/50 hover:bg-accent text-muted-foreground hover:text-foreground border-border/60"),children:oo(ie)},ie))}),o("div",{className:"relative",children:[t(Bt,{className:"w-3.5 h-3.5 absolute left-2.5 top-1/2 -translate-y-1/2 text-muted-foreground pointer-events-none"}),t(H,{value:x,onChange:(ie)=>_(ie.target.value),placeholder:Jqe(),className:"h-8 pl-8 text-xs bg-muted/40",autoFocus:!0})]}),t("div",{className:"border rounded-md overflow-hidden bg-background/50",children:t(ce,{className:"h-48 p-1",children:N?t("div",{className:"flex items-center justify-center py-8",children:t(F,{className:"w-4 h-4 animate-spin text-muted-foreground"})}):J.length===0?t("div",{className:"py-8 text-center text-xs text-muted-foreground italic",children:Tse()}):t("div",{className:"space-y-1",children:J.map((ie)=>{let ye=i.includes(ie.id);return o("div",{onClick:()=>ee(ie.id),className:C("flex items-center justify-between p-2 rounded-md hover:bg-accent cursor-pointer transition-colors text-xs border border-transparent",ye&&"bg-accent/50 border-border/50"),children:[o("div",{className:"flex items-center gap-2 min-w-0 flex-1 pr-2",children:[t("div",{className:C("w-4 h-4 rounded border flex items-center justify-center shrink-0 transition-colors",ye?"bg-primary border-primary text-primary-foreground":"border-input bg-background"),children:ye&&t(Re,{className:"w-3 h-3 stroke-[3]"})}),t("span",{className:C("px-1.5 py-0.5 rounded text-[10px] uppercase font-medium shrink-0",j8(ie.status)),children:oo(ie.status)}),t("span",{className:"font-medium text-foreground truncate",children:ie.title})]}),ie.assignee&&t("span",{className:"text-[10px] text-muted-foreground truncate shrink-0",children:ie.assignee.name})]},ie.id)})})})})]})]})}S();function Dr({className:e,...r}){return t(Nke,{"data-slot":"checkbox",className:C("peer size-4 shrink-0 rounded-[4px] border border-input shadow-xs transition-shadow outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:bg-input/30 dark:aria-invalid:ring-destructive/40 dark:data-[state=checked]:bg-primary",e),...r,children:t(Bke,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none",children:t(Re,{className:"size-3.5"})})})}function Kr(e){if(!e||e<=0)return"0 B";let r=1000,a=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.floor(Math.log(e)/Math.log(r));if(i<0)i=0;if(i>=a.length)i=a.length-1;let s=e/Math.pow(r,i);if(i===0)return`${Math.round(s)} B`;let l=parseFloat(s.toFixed(2));if(l>=1000&&i<a.length-1)return parseFloat((e/Math.pow(r,i+1)).toFixed(2))+" "+a[i+1];return`${l} ${a[i]}`}S();function NMe({teamId:e,initialProjectId:r,excludeAssetIds:a=[],isOpen:i,onClose:s,onConfirm:l}){let[c,d]=u(r||""),[m,g]=u(null),[M,v]=u(new Map),{data:y,isLoading:x}=Z({queryKey:["teams",e,"projects"],queryFn:async()=>{let bt=await A.api.teams[":teamId"].projects.$get({param:{teamId:e},query:{first:"100"}});if(!bt.ok)throw Error("Failed to fetch projects");return await bt.json()},enabled:!!e&&i}),_=y?.data||[],j=c||(_[0]?.id??""),U=_.find((bt)=>bt.id===j),T=m?.id||U?.rootFolder||"",N=T===U?.rootFolder,{data:G,fetchNextPage:X,hasNextPage:J,isFetchingNextPage:ee,isLoading:re}=ft({queryKey:["folders",T,"children","folder","picker"],queryFn:async({pageParam:bt})=>{let Wt=await A.api.folders[":folderId"].children.$get({param:{folderId:T},query:{assetType:"folder",after:bt,first:"20"}});if(!Wt.ok)throw Error("Failed to fetch folders");return await Wt.json()},initialPageParam:"",getNextPageParam:(bt)=>bt.pageInfo?.cursor||void 0,enabled:!!T&&i}),{data:oe,fetchNextPage:ie,hasNextPage:ye,isFetchingNextPage:We,isLoading:Ye}=ft({queryKey:["folders",T,"children","file","picker"],queryFn:async({pageParam:bt})=>{let Wt=await A.api.folders[":folderId"].children.$get({param:{folderId:T},query:{assetType:"file",after:bt,first:"20"}});if(!Wt.ok)throw Error("Failed to fetch files");return await Wt.json()},initialPageParam:"",getNextPageParam:(bt)=>bt.pageInfo?.cursor||void 0,enabled:!!T&&i}),{ref:Se,inView:He}=Nt();h(()=>{if(He){if(J&&!ee)X();else if(ye&&!We)ie()}},[He,J,ee,X,ye,We,ie]);let ut=re&&!G||Ye&&!oe,Ke=ee||We,yt=P(()=>{let bt=G?.pages.flatMap((je)=>je.data??[])??[],Wt=oe?.pages.flatMap((je)=>je.data??[])??[];return[...bt,...Wt]},[G,oe]),At=(bt)=>{let Wt=new Map(M);if(Wt.has(bt.id))Wt.delete(bt.id);else{let je=U?`/${[U.name,...(bt.ancestorFolders||[]).map((sr)=>sr.name)].filter(Boolean).join("/")}`:"/";Wt.set(bt.id,{id:bt.id,name:bt.name,type:bt.type,proxyType:bt.proxyType??null,thumbnailUrl:bt.preview?.thumbnailUrl??null,path:je,creator:bt.creator?{id:bt.creator.id,name:bt.creator.name,image:bt.creator.image??void 0}:null,sizeByte:bt.sizeByte??0,fileCount:bt.fileCount??null,projectId:bt.projectId??U?.id??null,createdAt:bt.createdAt??new Date().toISOString()})}v(Wt)},jt=()=>{if(!m||N)return;let bt=new Map(M);if(bt.has(m.id))bt.delete(m.id);else{let Wt=U?`/${[U.name,...(m.ancestorFolders||[]).map((je)=>je.name)].filter(Boolean).join("/")}`:"/";bt.set(m.id,{id:m.id,name:m.name,type:"folder",proxyType:null,thumbnailUrl:null,path:Wt,creator:m.creator?{id:m.creator.id,name:m.creator.name,image:m.creator.image??void 0}:null,sizeByte:m.sizeByte??0,fileCount:m.fileCount??null,projectId:m.projectId??U?.id??null,createdAt:m.createdAt??new Date().toISOString()})}v(bt)},de=()=>{l(Array.from(M.values())),s()};return t(ue,{open:i,onOpenChange:(bt)=>{if(!bt)s()},children:o(ae,{className:"sm:max-w-4xl flex flex-col h-[650px] p-0 overflow-hidden gap-1",children:[t(fe,{className:"px-4 py-3 border-b shrink-0",children:o("div",{className:"flex items-center gap-2",children:[t(tr,{className:"w-5 h-5 text-primary"}),t(le,{children:Llt()})]})}),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:[IFe(),":"]}),t("div",{className:"w-64",children:o(Le,{value:j,onValueChange:(bt)=>{d(bt),g(null)},children:[t(Be,{className:"h-8 text-xs bg-background",children:t(Ze,{placeholder:Iq()})}),t(Ue,{children:_.map((bt)=>t(ne,{value:bt.id,className:"text-xs",children:bt.name},bt.id))})]})})]}),o("div",{className:"flex-1 min-h-0 flex overflow-hidden",children:[t("div",{className:"w-1/3 min-h-0 border-r bg-sidebar/30 flex flex-col overflow-hidden",children:t(ce,{className:"flex-1 min-h-0 [&>div>div]:block!",children:U&&U.rootFolder?t("div",{className:"p-2",children:t(yr,{teamId:e,projectId:U.id,projectName:U.name,rootFolderId:U.rootFolder,onSelect:(bt)=>g(bt),selectedFolderId:T,hideCollections:!0,hideShares:!0,hideRecentlyDeleted:!0})}):t("div",{className:"flex items-center justify-center h-full p-6 text-xs text-muted-foreground",children:x?t(F,{className:"w-5 h-5 animate-spin text-muted-foreground"}):Ase()})})}),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(tr,{className:"w-4 h-4 text-muted-foreground shrink-0"}),t("span",{className:"truncate",children:m?m.name:U?.name||""}),N&&t("span",{className:"text-[10px] text-muted-foreground/70 bg-muted px-1.5 py-0.5 rounded",children:"Root"})]}),!N&&m&&t(E,{size:"sm",variant:M.has(m.id)?"secondary":"outline",className:"h-7 text-xs gap-1.5",onClick:jt,disabled:a.includes(m.id),children:M.has(m.id)?o(L,{children:[t(Re,{className:"w-3.5 h-3.5 text-primary"}),jg()]}):o(L,{children:[t(pe,{className:"w-3.5 h-3.5"}),Plt()]})})]}),t(ce,{className:"flex-1 min-h-0 [&>div>div]:block!",children:ut?t("div",{className:"flex items-center justify-center p-12",children:t(F,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):yt.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(tr,{className:"w-8 h-8 opacity-30"}),t("p",{children:VQe()})]}):o("div",{className:"divide-y divide-border/40",children:[yt.map((bt)=>{let Wt=a.includes(bt.id),je=M.has(bt.id),sr=bt.type==="folder";return o("div",{onClick:()=>{if(!Wt)At(bt)},className:`flex items-center gap-3 px-4 py-2.5 hover:bg-muted/40 cursor-pointer transition-colors ${je?"bg-primary/5":""} ${Wt?"opacity-50 cursor-not-allowed":""}`,children:[t(Dr,{checked:je,disabled:Wt,onCheckedChange:()=>{if(!Wt)At(bt)},onClick:(cr)=>cr.stopPropagation()}),t("div",{className:"w-9 h-9 rounded bg-muted/60 border shrink-0 flex items-center justify-center overflow-hidden",children:bt.preview?.thumbnailUrl?t("img",{src:bt.preview.thumbnailUrl,alt:bt.name,className:"w-full h-full object-cover"}):sr?t(tr,{className:"w-5 h-5 text-primary fill-primary/20"}):t(er,{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:bt.name}),o("p",{className:"text-[11px] text-muted-foreground truncate",children:[sr?`${bt.fileCount??0} items`:Kr(bt.sizeByte||0),bt.creator?.name?` • ${bt.creator.name}`:""]})]})]},bt.id)}),t("div",{ref:Se,className:"h-1"}),Ke&&t("div",{className:"flex items-center justify-center p-3",children:t(F,{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&&_Xe({count:M.size})}),o("div",{className:"flex items-center gap-2",children:[t(E,{variant:"outline",size:"sm",onClick:s,children:Pe()}),t(E,{size:"sm",onClick:de,disabled:M.size===0,children:yse()})]})]})]})})}function Vd({teamId:e,projectId:r,assets:a,onAddAssets:i,onRemoveAsset:s,disabled:l=!1}){let[c,d]=u(!1),m=(g)=>{let M=new Set(a.map((y)=>y.id)),v=g.filter((y)=>!M.has(y.id));if(v.length>0)i(v)};return o("div",{className:"space-y-2",children:[o("div",{className:"flex items-center justify-between",children:[o("div",{className:"flex items-center gap-1.5 text-xs font-semibold text-foreground",children:[t(Ia,{className:"w-3.5 h-3.5 text-muted-foreground"}),t("span",{children:aft()}),a.length>0&&o("span",{className:"text-[11px] text-muted-foreground font-normal",children:["(",a.length,")"]})]}),!l&&t(E,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted",onClick:()=>d(!0),title:yse(),children:t(pe,{className:"w-3.5 h-3.5"})})]}),t(so,{}),a.length===0?t("p",{className:"text-xs text-muted-foreground/70 py-1 italic",children:a$e()}):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(tr,{className:"w-4 h-4 text-primary fill-primary/20"}):t(er,{className:"w-4 h-4 text-muted-foreground"})}),o("div",{className:"flex-1 min-w-0",children:[t("p",{className:"font-medium truncate text-foreground leading-snug",children:g.name}),t("p",{className:"text-[10px] text-muted-foreground truncate leading-none mt-0.5",children:g.path||"/"})]})]}),o("div",{className:"flex items-center gap-2 shrink-0",children:[g.creator&&o("div",{className:"flex items-center gap-1 text-[11px] text-muted-foreground",title:g.creator.name,children:[o(Ce,{className:"w-4 h-4 text-[9px]",children:[t(Ie,{src:g.creator.image||void 0}),t(Te,{children:g.creator.name.slice(0,1).toUpperCase()})]}),t("span",{className:"hidden sm:inline text-[11px] max-w-[80px] truncate",children:g.creator.name})]}),!l&&t(E,{type:"button",variant:"ghost",size:"sm",className:"h-5 w-5 p-0 text-muted-foreground hover:text-destructive hover:bg-destructive/10",onClick:()=>s(g.id),title:dgt(),children:t(Ne,{className:"w-3 h-3"})})]})]},g.id)})}),c&&t(NMe,{teamId:e,initialProjectId:r,excludeAssetIds:a.map((g)=>g.id),isOpen:c,onClose:()=>d(!1),onConfirm:m})]})}S();function Qd({teamId:e,currentProjectId:r,currentTargetFolderId:a,isOpen:i,onClose:s,onSelect:l}){let[c,d]=u(r||""),[m,g]=u(null),{data:M,isLoading:v}=Z({queryKey:["teams",e,"projects"],queryFn:async()=>{let U=await A.api.teams[":teamId"].projects.$get({param:{teamId:e},query:{first:"100"}});if(!U.ok)throw Error("Failed to fetch projects");return await U.json()},enabled:!!e&&i}),y=M?.data||[],x=c||(y[0]?.id??""),_=y.find((U)=>U.id===x),j=()=>{if(!x)return;let U=m?.id||_?.rootFolder;if(U)l(x,U,m?.name||_?.name),s()};return t(ue,{open:i,onOpenChange:(U)=>!U&&s(),children:o(ae,{className:"sm:max-w-2xl flex flex-col h-[580px]",children:[t(fe,{children:o("div",{className:"flex items-center gap-2",children:[t(tr,{className:"w-5 h-5 text-primary"}),t(le,{children:Mp()})]})}),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:Iq()}),o(Le,{value:x,onValueChange:(U)=>{d(U),g(null)},children:[t(Be,{className:"h-9",children:t(Ze,{placeholder:Iq()})}),t(Ue,{children:y.map((U)=>t(ne,{value:U.id,children:U.name},U.id))})]})]}),o("div",{className:"space-y-1.5 flex-1 flex flex-col overflow-hidden",children:[t("label",{className:"text-xs font-medium text-muted-foreground",children:Lp()}),t("div",{className:"border rounded-md flex-1 overflow-hidden bg-sidebar/50",children:t(ce,{className:"h-full",children:_&&_.rootFolder?t(yr,{teamId:e,projectId:_.id,projectName:_.name,rootFolderId:_.rootFolder,onSelect:g,selectedFolderId:m?.id||a||_.rootFolder,hideCollections:!0,hideShares:!0,hideRecentlyDeleted:!0}):t("div",{className:"flex items-center justify-center h-full p-6 text-xs text-muted-foreground",children:v?t(F,{className:"w-5 h-5 animate-spin text-muted-foreground"}):Ase()})})})]})]}),o(qe,{children:[t(E,{variant:"outline",onClick:s,children:Pe()}),t(E,{onClick:j,disabled:!x,children:ea()})]})]})})}function FMe({teamId:e,task:r,canEdit:a=!0}){let i=Q(),[s,l]=u(r.title),[c,d]=u(r.description||""),[m,g]=u(!1),[M,v]=u(null),y=b(null);h(()=>{l(r.title),d(r.description||"")},[r.id,r.title,r.description]);let{data:x=[]}=Z({queryKey:["teams",e,"members","human"],queryFn:async()=>{let re=await A.api.teams[":teamId"].members.$get({param:{teamId:e},query:{includeAgents:"false"}});if(!re.ok)return[];let oe=await re.json();return Array.isArray(oe)?oe:[]},enabled:!!e}),{data:_=[]}=Z({queryKey:["teams",e,"agents"],queryFn:async()=>{let re=await A.api.teams[":teamId"].agents.$get({param:{teamId:e}});if(!re.ok)return[];return await re.json()||[]},enabled:!!e}),{data:j}=Z({queryKey:["teams",e,"kanban","goals"],queryFn:async()=>{let re=await A.api.teams[":teamId"].kanban.goals.$get({param:{teamId:e},query:{}});if(!re.ok)return{data:[]};return await re.json()},enabled:!!e}),U=j?.data||[],{mutate:T,isPending:N}=B({mutationFn:async(re)=>{let oe=await A.api.teams[":teamId"].kanban.tasks[":taskId"].$patch({param:{teamId:e,taskId:r.id},json:re});if(!oe.ok){let ie=await oe.json().catch(()=>({message:Tn()}));throw Error(ie.message||Tn())}return await oe.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","task",r.id]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]})},onError:(re)=>{k.error(re.message)}}),{mutate:G}=B({mutationFn:async(re)=>{let oe=await A.api.teams[":teamId"].kanban.tasks[":taskId"].assets.$post({param:{teamId:e,taskId:r.id},json:{assetIds:re.map((ie)=>ie.id)}});if(!oe.ok)throw Error("Failed to link assets");return await oe.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","task",r.id]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]}),k.success(_se())},onError:(re)=>{k.error(re.message)}}),{mutate:X}=B({mutationFn:async(re)=>{let oe=await A.api.teams[":teamId"].kanban.tasks[":taskId"].assets[":assetId"].$delete({param:{teamId:e,taskId:r.id,assetId:re}});if(!oe.ok)throw Error("Failed to unlink asset");return await oe.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","task",r.id]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]}),k.success(wse())},onError:(re)=>{k.error(re.message)}}),J=(re,oe)=>{if(re==="title")l(oe);if(re==="description")d(oe);if(y.current)clearTimeout(y.current);y.current=setTimeout(()=>{if(re==="title"&&oe.trim()&&oe.trim()!==r.title)T({title:oe.trim()});else if(re==="description"&&oe!==(r.description||""))T({description:oe.trim()||null})},600)},ee=r.isAgentTask;return o(ce,{className:"h-full p-5",children:[o("div",{className:"space-y-6 w-full pr-3",children:[o("div",{className:"space-y-1.5",children:[o("div",{className:"flex items-center justify-between",children:[t(K,{htmlFor:"task-title",className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:cA()}),N&&o("span",{className:"flex items-center gap-1 text-[11px] text-muted-foreground animate-pulse",children:[t(F,{className:"w-3 h-3 animate-spin"}),qg()]})]}),t(H,{id:"task-title",value:s,onChange:(re)=>J("title",re.target.value),disabled:!a,className:"text-base font-semibold h-10 bg-background",placeholder:uA()})]}),o("div",{className:"space-y-1.5",children:[t(K,{htmlFor:"task-description",className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:iA()}),t(bi,{id:"task-description",value:c,onChange:(re)=>J("description",re.target.value),disabled:!a,rows:5,className:"text-xs leading-relaxed bg-background",placeholder:aA()})]}),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(K,{className:"text-xs font-medium text-muted-foreground flex items-center gap-1.5",children:[t(Et,{className:"w-3.5 h-3.5 text-orange-500"}),t("span",{children:Zd()})]}),t("p",{className:"text-[11px] text-muted-foreground/80 line-clamp-1",children:dA()})]}),t(De,{checked:r.isAgentTask,disabled:!0})]}),o("div",{className:"space-y-1.5",children:[t(K,{className:"text-xs font-medium text-muted-foreground",children:lA()}),o(Le,{value:r.priority,onValueChange:(re)=>T({priority:re}),disabled:!a,children:[t(Be,{className:"w-full h-8 text-xs bg-background",children:t(Ze,{})}),t(Ue,{children:Object.values(Br).map((re)=>t(ne,{value:re,children:t("span",{className:C("px-1.5 py-0.5 rounded text-[10px] uppercase font-medium",sa(re)),children:oa(re)})},re))})]})]}),o("div",{className:"space-y-1.5",children:[t(K,{className:"text-xs font-medium text-muted-foreground",children:_d()}),o(Le,{value:r.goal?.id||"none",onValueChange:(re)=>T({goalId:re==="none"?null:re}),disabled:!a,children:[t(Be,{className:"w-full h-8 text-xs bg-background",children:t(Ze,{placeholder:uJe()})}),o(Ue,{children:[t(ne,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:"None"})}),U.filter((re)=>re.id!==_i).map((re)=>t(ne,{value:re.id,children:o("div",{className:"flex items-center gap-2",children:[t(wo,{className:"w-3.5 h-3.5 text-primary"}),t("span",{children:re.title})]})},re.id))]})]})]}),o("div",{className:"space-y-1.5",children:[t(K,{className:"text-xs font-medium text-muted-foreground",children:ee?Od():Ym()}),o(Le,{value:r.assignee?.id||"none",onValueChange:(re)=>T({assigneeId:re==="none"?null:re}),disabled:!a,children:[t(Be,{className:"w-full h-8 text-xs bg-background",children:t(Ze,{placeholder:gs()})}),o(Ue,{children:[t(ne,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:gs()})}),ee?_.map((re)=>t(ne,{value:re.id,children:o("div",{className:"flex items-center gap-2",children:[t(Et,{className:"w-3.5 h-3.5 text-purple-500"}),t("span",{children:re.name})]})},re.id)):x.map((re)=>t(ne,{value:re.id,children:o("div",{className:"flex items-center gap-2",children:[o(Ce,{size:"sm",className:"w-4 h-4",children:[t(Ie,{src:re.image}),t(Te,{className:"text-[8px]",children:re.name.slice(0,2).toUpperCase()})]}),t("span",{children:re.name})]})},re.id))]})]})]}),o("div",{className:"space-y-1.5",children:[t(K,{className:"text-xs font-medium text-muted-foreground",children:Fg()}),o(Le,{value:r.reporter?.id||"none",onValueChange:(re)=>T({reporterId:re==="none"?null:re}),disabled:!a,children:[t(Be,{className:"w-full h-8 text-xs bg-background",children:t(Ze,{placeholder:gs()})}),o(Ue,{children:[t(ne,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:gs()})}),x.map((re)=>t(ne,{value:re.id,children:o("div",{className:"flex items-center gap-2",children:[o(Ce,{size:"sm",className:"w-4 h-4",children:[t(Ie,{src:re.image}),t(Te,{className:"text-[8px]",children:re.name.slice(0,2).toUpperCase()})]}),t("span",{children:re.name})]})},re.id))]})]})]}),ee&&o("div",{className:"sm:col-span-2 space-y-1.5",children:[t(K,{className:"text-xs font-medium text-muted-foreground",children:Lp()}),t("div",{className:"flex items-center gap-2",children:o(E,{type:"button",variant:"outline",size:"sm",onClick:()=>g(!0),disabled:!a,className:"w-full justify-start h-8 text-xs bg-background truncate font-normal",children:[t(tr,{className:"w-3.5 h-3.5 mr-2 text-primary shrink-0"}),t("span",{className:"truncate",children:M||(r.targetFolderId?"Selected Folder":Mp())})]})})]}),o("div",{className:"space-y-1.5",children:[t(K,{className:"text-xs font-medium text-muted-foreground",children:Fd()}),t(vi,{value:r.startDate?new Date(r.startDate):void 0,onChange:(re)=>T({startDate:re?re.toISOString():null}),disabled:!a,placeholder:Fd(),className:"h-8 text-xs bg-background"})]}),o("div",{className:"space-y-1.5",children:[t(K,{className:"text-xs font-medium text-muted-foreground",children:fd()}),t(vi,{value:r.dueDate?new Date(r.dueDate):void 0,onChange:(re)=>T({dueDate:re?re.toISOString():null}),disabled:!a,placeholder:fd(),className:"h-8 text-xs bg-background"})]}),o("div",{className:"sm:col-span-2 space-y-1.5",children:[t(K,{className:"text-xs font-medium text-muted-foreground",children:hg()}),t(Gd,{teamId:e,currentTaskId:r.id,excludeTaskIds:r.dependents.map((re)=>re.id),value:r.dependencies.map((re)=>re.id),knownTasks:[...r.dependencies,...r.dependents],onChange:(re)=>T({parentIds:re}),canEdit:a})]}),t("div",{className:"sm:col-span-2 pt-1",children:t(Vd,{teamId:e,projectId:r.projectId,assets:r.assets||[],onAddAssets:(re)=>G(re),onRemoveAsset:(re)=>X(re),disabled:!a})})]})]}),m&&t(Qd,{teamId:e,currentProjectId:r.projectId,currentTargetFolderId:r.targetFolderId,isOpen:m,onClose:()=>g(!1),onSelect:(re,oe,ie)=>{v(ie||"Selected Folder"),T({projectId:re,targetFolderId:oe})}})]})}S();S();function Ss(){}function bF(){}function BMe(e,r){let a=r||{};return(e[e.length-1]===""?[...e,""]:e).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}var $zt=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,eSt=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,tSt={};function _F(e,r){return((r||tSt).jsx?eSt:$zt).test(e)}var rSt=/[ \t\n\f\r]/g;function vW(e){return typeof e==="object"?e.type==="text"?YMe(e.value):!1:YMe(e)}function YMe(e){return e.replace(rSt,"")===""}class Y8{constructor(e,r,a){if(this.normal=r,this.property=e,a)this.space=a}}Y8.prototype.normal={};Y8.prototype.property={};Y8.prototype.space=void 0;function xW(e,r){let a={},i={};for(let s of e)Object.assign(a,s.property),Object.assign(i,s.normal);return new Y8(a,i,r)}function HD(e){return e.toLowerCase()}class ff{constructor(e,r){this.attribute=r,this.property=e}}ff.prototype.attribute="";ff.prototype.booleanish=!1;ff.prototype.boolean=!1;ff.prototype.commaOrSpaceSeparated=!1;ff.prototype.commaSeparated=!1;ff.prototype.defined=!1;ff.prototype.mustUseProperty=!1;ff.prototype.number=!1;ff.prototype.overloadedBoolean=!1;ff.prototype.property="";ff.prototype.spaceSeparated=!1;ff.prototype.space=void 0;var VD={};Me(VD,{boolean:()=>Xr,booleanish:()=>Ln,commaOrSpaceSeparated:()=>ol,commaSeparated:()=>ZM,number:()=>Jt,overloadedBoolean:()=>wF,spaceSeparated:()=>$o});var oSt=0,Xr=SL(),Ln=SL(),wF=SL(),Jt=SL(),$o=SL(),ZM=SL(),ol=SL();function SL(){return 2**++oSt}var yW=Object.keys(VD);class eP extends ff{constructor(e,r,a,i){let s=-1;super(e,r);if(UMe(this,"space",i),typeof a==="number")while(++s<yW.length){let l=yW[s];UMe(this,yW[s],(a&VD[l])===VD[l])}}}eP.prototype.defined=!0;function UMe(e,r,a){if(a)e[r]=a}function wc(e){let r={},a={};for(let[i,s]of Object.entries(e.properties)){let l=new eP(i,e.transform(e.attributes||{},i),s,e.space);if(e.mustUseProperty&&e.mustUseProperty.includes(i))l.mustUseProperty=!0;r[i]=l,a[HD(i)]=i,a[HD(l.attribute)]=i}return new Y8(r,a,e.space)}var bW=wc({properties:{ariaActiveDescendant:null,ariaAtomic:Ln,ariaAutoComplete:null,ariaBusy:Ln,ariaChecked:Ln,ariaColCount:Jt,ariaColIndex:Jt,ariaColSpan:Jt,ariaControls:$o,ariaCurrent:null,ariaDescribedBy:$o,ariaDetails:null,ariaDisabled:Ln,ariaDropEffect:$o,ariaErrorMessage:null,ariaExpanded:Ln,ariaFlowTo:$o,ariaGrabbed:Ln,ariaHasPopup:null,ariaHidden:Ln,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:$o,ariaLevel:Jt,ariaLive:null,ariaModal:Ln,ariaMultiLine:Ln,ariaMultiSelectable:Ln,ariaOrientation:null,ariaOwns:$o,ariaPlaceholder:null,ariaPosInSet:Jt,ariaPressed:Ln,ariaReadOnly:Ln,ariaRelevant:null,ariaRequired:Ln,ariaRoleDescription:$o,ariaRowCount:Jt,ariaRowIndex:Jt,ariaRowSpan:Jt,ariaSelected:Ln,ariaSetSize:Jt,ariaSort:null,ariaValueMax:Jt,ariaValueMin:Jt,ariaValueNow:Jt,ariaValueText:null,role:null},transform(e,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()}});function zF(e,r){return r in e?e[r]:r}function SF(e,r){return zF(e,r.toLowerCase())}var qMe=wc({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ZM,acceptCharset:$o,accessKey:$o,action:null,allow:null,allowFullScreen:Xr,allowPaymentRequest:Xr,allowUserMedia:Xr,alpha:Xr,alt:null,as:null,async:Xr,autoCapitalize:null,autoComplete:$o,autoFocus:Xr,autoPlay:Xr,blocking:$o,capture:null,charSet:null,checked:Xr,cite:null,className:$o,closedBy:null,colorSpace:null,cols:Jt,colSpan:Jt,command:null,commandFor:null,content:null,contentEditable:Ln,controls:Xr,controlsList:$o,coords:Jt|ZM,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Xr,defer:Xr,dir:null,dirName:null,disabled:Xr,download:wF,draggable:Ln,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Xr,formTarget:null,headers:$o,height:Jt,hidden:wF,high:Jt,href:null,hrefLang:null,htmlFor:$o,httpEquiv:$o,id:null,imageSizes:null,imageSrcSet:null,inert:Xr,inputMode:null,integrity:null,is:null,isMap:Xr,itemId:null,itemProp:$o,itemRef:$o,itemScope:Xr,itemType:$o,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Xr,low:Jt,manifest:null,max:null,maxLength:Jt,media:null,method:null,min:null,minLength:Jt,multiple:Xr,muted:Xr,name:null,nonce:null,noModule:Xr,noValidate:Xr,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Xr,optimum:Jt,pattern:null,ping:$o,placeholder:null,playsInline:Xr,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Xr,referrerPolicy:null,rel:$o,required:Xr,reversed:Xr,rows:Jt,rowSpan:Jt,sandbox:$o,scope:null,scoped:Xr,seamless:Xr,selected:Xr,shadowRootClonable:Xr,shadowRootCustomElementRegistry:Xr,shadowRootDelegatesFocus:Xr,shadowRootMode:null,shadowRootSerializable:Xr,shape:null,size:Jt,sizes:null,slot:null,span:Jt,spellCheck:Ln,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Jt,step:null,style:null,tabIndex:Jt,target:null,title:null,translate:null,type:null,typeMustMatch:Xr,useMap:null,value:Ln,width:Jt,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:$o,axis:null,background:null,bgColor:null,border:Jt,borderColor:null,bottomMargin:Jt,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Xr,declare:Xr,event:null,face:null,frame:null,frameBorder:null,hSpace:Jt,leftMargin:Jt,link:null,longDesc:null,lowSrc:null,marginHeight:Jt,marginWidth:Jt,noResize:Xr,noHref:Xr,noShade:Xr,noWrap:Xr,object:null,profile:null,prompt:null,rev:null,rightMargin:Jt,rules:null,scheme:null,scrolling:Ln,standby:null,summary:null,text:null,topMargin:Jt,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Jt,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:Xr,disablePictureInPicture:Xr,disableRemotePlayback:Xr,exportParts:ZM,part:$o,prefix:null,property:null,results:Jt,security:null,unselectable:null},space:"html",transform:SF});var HMe=wc({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:ol,accentHeight:Jt,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Jt,amplitude:Jt,arabicForm:null,ascent:Jt,attributeName:null,attributeType:null,azimuth:Jt,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Jt,by:null,calcMode:null,capHeight:Jt,className:$o,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Jt,diffuseConstant:Jt,direction:null,display:null,dur:null,divisor:Jt,dominantBaseline:null,download:Xr,dx:null,dy:null,edgeMode:null,editable:null,elevation:Jt,enableBackground:null,end:null,event:null,exponent:Jt,externalResourcesRequired:null,fill:null,fillOpacity:Jt,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:ZM,g2:ZM,glyphName:ZM,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Jt,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Jt,horizOriginX:Jt,horizOriginY:Jt,id:null,ideographic:Jt,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Jt,k:Jt,k1:Jt,k2:Jt,k3:Jt,k4:Jt,kernelMatrix:ol,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Jt,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:Jt,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:Jt,overlineThickness:Jt,paintOrder:null,panose1:null,path:null,pathLength:Jt,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:$o,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Jt,pointsAtY:Jt,pointsAtZ:Jt,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ol,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ol,rev:ol,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ol,requiredFeatures:ol,requiredFonts:ol,requiredFormats:ol,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:Jt,specularExponent:Jt,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Jt,strikethroughThickness:Jt,string:null,stroke:null,strokeDashArray:ol,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Jt,strokeOpacity:Jt,strokeWidth:null,style:null,surfaceScale:Jt,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ol,tabIndex:Jt,tableValues:null,target:null,targetX:Jt,targetY:Jt,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ol,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Jt,underlineThickness:Jt,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Jt,values:null,vAlphabetic:Jt,vMathematical:Jt,vectorEffect:null,vHanging:Jt,vIdeographic:Jt,version:null,vertAdvY:Jt,vertOriginX:Jt,vertOriginY:Jt,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Jt,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:zF});var _W=wc({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 wW=wc({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:SF});var zW=wc({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,r){return"xml:"+r.slice(3).toLowerCase()}});var SW={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 aSt=/[A-Z]/g,VMe=/-[a-z]/g,nSt=/^data[-\w.:]+$/i;function LW(e,r){let a=HD(r),i=r,s=ff;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&nSt.test(r)){if(r.charAt(4)==="-"){let l=r.slice(5).replace(VMe,fSt);i="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{let l=r.slice(4);if(!VMe.test(l)){let c=l.replace(aSt,iSt);if(c.charAt(0)!=="-")c="-"+c;r="data"+c}}s=eP}return new s(i,r)}function iSt(e){return"-"+e.toLowerCase()}function fSt(e){return e.charAt(1).toUpperCase()}var WMe=xW([bW,qMe,_W,wW,zW],"html"),LF=xW([bW,HMe,_W,wW,zW],"svg");function GMe(e){return e.join(" ").trim()}var uve=z(fve(),1);var kF=sve("end"),tP=sve("start");function sve(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 IW(e){let r=tP(e),a=kF(e);if(r&&a)return{start:r,end:a}}function U8(e){if(!e||typeof e!=="object")return"";if("position"in e||"type"in e)return lve(e.position);if("start"in e||"end"in e)return lve(e);if("line"in e||"column"in e)return RW(e);return""}function RW(e){return cve(e&&e.line)+":"+cve(e&&e.column)}function lve(e){return RW(e&&e.start)+"-"+RW(e&&e.end)}function cve(e){return e&&typeof e==="number"?e:1}class Zi extends Error{constructor(e,r,a){super();if(typeof r==="string")a=r,r=void 0;let i="",s={},l=!1;if(r)if("line"in r&&"column"in r)s={place:r};else if("start"in r&&"end"in r)s={place:r};else if("type"in r)s={ancestors:[r],place:r.position};else s={...r};if(typeof e==="string")i=e;else if(!s.cause&&e)l=!0,i=e.message,s.cause=e;if(!s.ruleId&&!s.source&&typeof a==="string"){let d=a.indexOf(":");if(d===-1)s.ruleId=a;else s.source=a.slice(0,d),s.ruleId=a.slice(d+1)}if(!s.place&&s.ancestors&&s.ancestors){let d=s.ancestors[s.ancestors.length-1];if(d)s.place=d.position}let c=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=c?c.line:void 0,this.name=U8(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=l&&s.cause&&typeof s.cause.stack==="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Zi.prototype.file="";Zi.prototype.name="";Zi.prototype.reason="";Zi.prototype.message="";Zi.prototype.stack="";Zi.prototype.column=void 0;Zi.prototype.line=void 0;Zi.prototype.ancestors=void 0;Zi.prototype.cause=void 0;Zi.prototype.fatal=void 0;Zi.prototype.place=void 0;Zi.prototype.ruleId=void 0;Zi.prototype.source=void 0;var PW={}.hasOwnProperty,TSt=new Map,ASt=/[A-Z]/g,ESt=new Set(["table","tbody","thead","tfoot","tr"]),DSt=new Set(["td","th"]),dve="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function TW(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=qSt(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=USt(a,r.jsx,r.jsxs)}let s={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"?LF:WMe,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},l=Zve(s,e,void 0);if(l&&typeof l!=="string")return l;return s.create(e,s.Fragment,{children:l||void 0},void 0)}function Zve(e,r,a){if(r.type==="element")return OSt(e,r,a);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return jSt(e,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return FSt(e,r,a);if(r.type==="mdxjsEsm")return NSt(e,r);if(r.type==="root")return BSt(e,r,a);if(r.type==="text")return YSt(e,r)}function OSt(e,r,a){let i=e.schema,s=i;if(r.tagName.toLowerCase()==="svg"&&i.space==="html")s=LF,e.schema=s;e.ancestors.push(r);let l=mve(e,r.tagName,!1),c=HSt(e,r),d=EW(e,r);if(ESt.has(r.tagName))d=d.filter(function(m){return typeof m==="string"?!vW(m):!0});return pve(e,c,l,r),AW(c,d),e.ancestors.pop(),e.schema=i,e.create(r,l,c,a)}function jSt(e,r){if(r.data&&r.data.estree&&e.evaluater){let i=r.data.estree.body[0];return Ss(i.type==="ExpressionStatement"),e.evaluater.evaluateExpression(i.expression)}GD(e,r.position)}function NSt(e,r){if(r.data&&r.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(r.data.estree);GD(e,r.position)}function FSt(e,r,a){let i=e.schema,s=i;if(r.name==="svg"&&i.space==="html")s=LF,e.schema=s;e.ancestors.push(r);let l=r.name===null?e.Fragment:mve(e,r.name,!0),c=VSt(e,r),d=EW(e,r);return pve(e,c,l,r),AW(c,d),e.ancestors.pop(),e.schema=i,e.create(r,l,c,a)}function BSt(e,r,a){let i={};return AW(i,EW(e,r)),e.create(r,e.Fragment,i,a)}function YSt(e,r){return r.value}function pve(e,r,a,i){if(typeof a!=="string"&&a!==e.Fragment&&e.passNode)r.node=i}function AW(e,r){if(r.length>0){let a=r.length>1?r:r[0];if(a)e.children=a}}function USt(e,r,a){return i;function i(s,l,c,d){let g=Array.isArray(c.children)?a:r;return d?g(l,c,d):g(l,c)}}function qSt(e,r){return a;function a(i,s,l,c){let d=Array.isArray(l.children),m=tP(i);return r(s,l,c,d,{columnNumber:m?m.column-1:void 0,fileName:e,lineNumber:m?m.line:void 0},void 0)}}function HSt(e,r){let a={},i,s;for(s in r.properties)if(s!=="children"&&PW.call(r.properties,s)){let l=WSt(e,s,r.properties[s]);if(l){let[c,d]=l;if(e.tableCellAlignToStyle&&c==="align"&&typeof d==="string"&&DSt.has(r.tagName))i=d;else a[c]=d}}if(i){let l=a.style||(a.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=i}return a}function VSt(e,r){let a={};for(let i of r.attributes)if(i.type==="mdxJsxExpressionAttribute")if(i.data&&i.data.estree&&e.evaluater){let l=i.data.estree.body[0];Ss(l.type==="ExpressionStatement");let c=l.expression;Ss(c.type==="ObjectExpression");let d=c.properties[0];Ss(d.type==="SpreadElement"),Object.assign(a,e.evaluater.evaluateExpression(d.argument))}else GD(e,r.position);else{let s=i.name,l;if(i.value&&typeof i.value==="object")if(i.value.data&&i.value.data.estree&&e.evaluater){let d=i.value.data.estree.body[0];Ss(d.type==="ExpressionStatement"),l=e.evaluater.evaluateExpression(d.expression)}else GD(e,r.position);else l=i.value===null?!0:i.value;a[s]=l}return a}function EW(e,r){let a=[],i=-1,s=e.passKeys?new Map:TSt;while(++i<r.children.length){let l=r.children[i],c;if(e.passKeys){let m=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(m){let g=s.get(m)||0;c=m+"-"+g,s.set(m,g+1)}}let d=Zve(e,l,c);if(d!==void 0)a.push(d)}return a}function WSt(e,r,a){let i=LW(e.schema,r);if(a===null||a===void 0||typeof a==="number"&&Number.isNaN(a))return;if(Array.isArray(a))a=i.commaSeparated?BMe(a):GMe(a);if(i.property==="style"){let s=typeof a==="object"?a:GSt(e,String(a));if(e.stylePropertyNameCase==="css")s=KSt(s);return["style",s]}return[e.elementAttributeNameCase==="react"&&i.space?SW[i.property]||i.property:i.attribute,a]}function GSt(e,r){try{return uve.default(r,{reactCompat:!0})}catch(a){if(e.ignoreInvalidStyle)return{};let i=a,s=new Zi("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=dve+"#cannot-parse-style-attribute",s}}function mve(e,r,a){let i;if(!a)i={type:"Literal",value:r};else if(r.includes(".")){let s=r.split("."),l=-1,c;while(++l<s.length){let d=_F(s[l])?{type:"Identifier",name:s[l]}:{type:"Literal",value:s[l]};c=c?{type:"MemberExpression",object:c,property:d,computed:Boolean(l&&d.type==="Literal"),optional:!1}:d}Ss(c,"always a result"),i=c}else i=_F(r)&&!/^[a-z]/.test(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};if(i.type==="Literal"){let s=i.value;return PW.call(e.components,s)?e.components[s]:s}if(e.evaluater)return e.evaluater.evaluateExpression(i);GD(e)}function GD(e,r){let a=new Zi("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=dve+"#cannot-handle-mdx-estrees-without-createevaluater",a}function KSt(e){let r={},a;for(a in e)if(PW.call(e,a))r[XSt(a)]=e[a];return r}function XSt(e){let r=e.replace(ASt,QSt);if(r.slice(0,3)==="ms-")r="-"+r;return r}function QSt(e){return"-"+e.toLowerCase()}var KD={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};S();var JSt={};function DW(e,r){let a=r||JSt,i=typeof a.includeImageAlt==="boolean"?a.includeImageAlt:!0,s=typeof a.includeHtml==="boolean"?a.includeHtml:!0;return gve(e,i,s)}function gve(e,r,a){if($St(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 hve(e.children,r,a)}if(Array.isArray(e))return hve(e,r,a);return""}function hve(e,r,a){let i=[],s=-1;while(++s<e.length)i[s]=gve(e[s],r,a);return i.join("")}function $St(e){return Boolean(e&&typeof e==="object")}var Mve=document.createElement("i");function rP(e){let r="&"+e+";";Mve.innerHTML=r;let a=Mve.textContent;if(a.charCodeAt(a.length-1)===59&&e!=="semi")return!1;return a===r?!1:a}function sf(e,r,a,i){let s=e.length,l=0,c;if(r<0)r=-r>s?0:s+r;else r=r>s?s:r;if(a=a>0?a:0,i.length<1e4)c=Array.from(i),c.unshift(r,a),e.splice(...c);else{if(a)e.splice(r,a);while(l<i.length)c=i.slice(l,l+1e4),c.unshift(r,0),e.splice(...c),l+=1e4,r+=1e4}}function ks(e,r){if(e.length>0)return sf(e,e.length,0,r),e;return r}var vve={}.hasOwnProperty;function xve(e){let r={},a=-1;while(++a<e.length)eLt(r,e[a]);return r}function eLt(e,r){let a;for(a in r){let s=(vve.call(e,a)?e[a]:void 0)||(e[a]={}),l=r[a],c;if(l)for(c in l){if(!vve.call(s,c))s[c]=[];let d=l[c];tLt(s[c],Array.isArray(d)?d:d?[d]:[])}}}function tLt(e,r){let a=-1,i=[];while(++a<r.length)(r[a].add==="after"?e:i).push(r[a]);sf(e,0,0,i)}function CF(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 pM(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var Xl=q8(/[A-Za-z]/),ji=q8(/[\dA-Za-z]/),yve=q8(/[#-'*+\--9=?A-Z^-~]/);function XD(e){return e!==null&&(e<32||e===127)}var QD=q8(/\d/),bve=q8(/[\dA-Fa-f]/),_ve=q8(/[!-/:-@[-`{-~]/);function Rr(e){return e!==null&&e<-2}function Gn(e){return e!==null&&(e<0||e===32)}function Jr(e){return e===-2||e===-1||e===32}var wve=q8(/\p{P}|\p{S}/u),zve=q8(/\s/);function q8(e){return r;function r(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function Sc(e){let r=[],a=-1,i=0,s=0;while(++a<e.length){let l=e.charCodeAt(a),c="";if(l===37&&ji(e.charCodeAt(a+1))&&ji(e.charCodeAt(a+2)))s=2;else if(l<128){if(!/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l)))c=String.fromCharCode(l)}else if(l>55295&&l<57344){let d=e.charCodeAt(a+1);if(l<56320&&d>56319&&d<57344)c=String.fromCharCode(l,d),s=1;else c="�"}else c=String.fromCharCode(l);if(c)r.push(e.slice(i,a),encodeURIComponent(c)),i=a+s+1,c="";if(s)a+=s,s=0}return r.join("")+e.slice(i)}function fo(e,r,a,i){let s=i?i-1:Number.POSITIVE_INFINITY,l=0;return c;function c(m){if(Jr(m))return e.enter(a),d(m);return r(m)}function d(m){if(Jr(m)&&l++<s)return e.consume(m),d;return e.exit(a),r(m)}}var Sve={tokenize:rLt};function rLt(e){let r=e.attempt(this.parser.constructs.contentInitial,i,s),a;return r;function i(d){if(d===null){e.consume(d);return}return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),fo(e,r,"linePrefix")}function s(d){return e.enter("paragraph"),l(d)}function l(d){let m=e.enter("chunkText",{contentType:"text",previous:a});if(a)a.next=m;return a=m,c(d)}function c(d){if(d===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(d);return}if(Rr(d))return e.consume(d),e.exit("chunkText"),l;return e.consume(d),c}}var kve={tokenize:oLt},Lve={tokenize:aLt};function oLt(e){let r=this,a=[],i=0,s,l,c;return d;function d(G){if(i<a.length){let X=a[i];return r.containerState=X[1],e.attempt(X[0].continuation,m,g)(G)}return g(G)}function m(G){if(i++,r.containerState._closeFlow){if(r.containerState._closeFlow=void 0,s)N();let X=r.events.length,J=X,ee;while(J--)if(r.events[J][0]==="exit"&&r.events[J][1].type==="chunkFlow"){ee=r.events[J][1].end;break}T(i);let re=X;while(re<r.events.length)r.events[re][1].end={...ee},re++;return sf(r.events,J+1,0,r.events.slice(X)),r.events.length=re,g(G)}return d(G)}function g(G){if(i===a.length){if(!s)return y(G);if(s.currentConstruct&&s.currentConstruct.concrete)return _(G);r.interrupt=Boolean(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return r.containerState={},e.check(Lve,M,v)(G)}function M(G){if(s)N();return T(i),y(G)}function v(G){return r.parser.lazy[r.now().line]=i!==a.length,c=r.now().offset,_(G)}function y(G){return r.containerState={},e.attempt(Lve,x,_)(G)}function x(G){return i++,a.push([r.currentConstruct,r.containerState]),y(G)}function _(G){if(G===null){if(s)N();T(0),e.consume(G);return}return s=s||r.parser.flow(r.now()),e.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:l}),j(G)}function j(G){if(G===null){U(e.exit("chunkFlow"),!0),T(0),e.consume(G);return}if(Rr(G))return e.consume(G),U(e.exit("chunkFlow")),i=0,r.interrupt=void 0,d;return e.consume(G),j}function U(G,X){let J=r.sliceStream(G);if(X)J.push(null);if(G.previous=l,l)l.next=G;if(l=G,s.defineSkip(G.start),s.write(J),r.parser.lazy[G.start.line]){let ee=s.events.length;while(ee--)if(s.events[ee][1].start.offset<c&&(!s.events[ee][1].end||s.events[ee][1].end.offset>c))return;let re=r.events.length,oe=re,ie,ye;while(oe--)if(r.events[oe][0]==="exit"&&r.events[oe][1].type==="chunkFlow"){if(ie){ye=r.events[oe][1].end;break}ie=!0}T(i),ee=re;while(ee<r.events.length)r.events[ee][1].end={...ye},ee++;sf(r.events,oe+1,0,r.events.slice(re)),r.events.length=ee}}function T(G){let X=a.length;while(X-- >G){let J=a[X];r.containerState=J[1],J[0].exit.call(r,e)}a.length=G}function N(){s.write([null]),l=void 0,s=void 0,r.containerState._closeFlow=void 0}}function aLt(e,r,a){return fo(e,e.attempt(this.parser.constructs.document,r,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function OW(e){if(e===null||Gn(e)||zve(e))return 1;if(wve(e))return 2}function oP(e,r,a){let i=[],s=-1;while(++s<e.length){let l=e[s].resolveAll;if(l&&!i.includes(l))r=l(r,a),i.push(l)}return r}var JD={name:"attention",resolveAll:nLt,tokenize:iLt};function nLt(e,r){let a=-1,i,s,l,c,d,m,g,M;while(++a<e.length)if(e[a][0]==="enter"&&e[a][1].type==="attentionSequence"&&e[a][1]._close){i=a;while(i--)if(e[i][0]==="exit"&&e[i][1].type==="attentionSequence"&&e[i][1]._open&&r.sliceSerialize(e[i][1]).charCodeAt(0)===r.sliceSerialize(e[a][1]).charCodeAt(0)){if((e[i][1]._close||e[a][1]._open)&&(e[a][1].end.offset-e[a][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[a][1].end.offset-e[a][1].start.offset)%3))continue;m=e[i][1].end.offset-e[i][1].start.offset>1&&e[a][1].end.offset-e[a][1].start.offset>1?2:1;let v={...e[i][1].end},y={...e[a][1].start};if(Cve(v,-m),Cve(y,m),c={type:m>1?"strongSequence":"emphasisSequence",start:v,end:{...e[i][1].end}},d={type:m>1?"strongSequence":"emphasisSequence",start:{...e[a][1].start},end:y},l={type:m>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[a][1].start}},s={type:m>1?"strong":"emphasis",start:{...c.start},end:{...d.end}},e[i][1].end={...c.start},e[a][1].start={...d.end},g=[],e[i][1].end.offset-e[i][1].start.offset)g=ks(g,[["enter",e[i][1],r],["exit",e[i][1],r]]);if(g=ks(g,[["enter",s,r],["enter",c,r],["exit",c,r],["enter",l,r]]),g=ks(g,oP(r.parser.constructs.insideSpan.null,e.slice(i+1,a),r)),g=ks(g,[["exit",l,r],["enter",d,r],["exit",d,r],["exit",s,r]]),e[a][1].end.offset-e[a][1].start.offset)M=2,g=ks(g,[["enter",e[a][1],r],["exit",e[a][1],r]]);else M=0;sf(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 iLt(e,r){let a=this.parser.constructs.attentionMarkers.null,i=this.previous,s=OW(i),l;return c;function c(m){return l=m,e.enter("attentionSequence"),d(m)}function d(m){if(m===l)return e.consume(m),d;let g=e.exit("attentionSequence"),M=OW(m),v=!M||M===2&&s||a.includes(m),y=!s||s===2&&M||a.includes(i);return g._open=Boolean(l===42?v:v&&(s||!y)),g._close=Boolean(l===42?y:y&&(M||!v)),r(m)}}function Cve(e,r){e.column+=r,e.offset+=r,e._bufferIndex+=r}var jW={name:"autolink",tokenize:fLt};function fLt(e,r,a){let i=0;return s;function s(x){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(x),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(x){if(Xl(x))return e.consume(x),c;if(x===64)return a(x);return g(x)}function c(x){if(x===43||x===45||x===46||ji(x))return i=1,d(x);return g(x)}function d(x){if(x===58)return e.consume(x),i=0,m;if((x===43||x===45||x===46||ji(x))&&i++<32)return e.consume(x),d;return i=0,g(x)}function m(x){if(x===62)return e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(x),e.exit("autolinkMarker"),e.exit("autolink"),r;if(x===null||x===32||x===60||XD(x))return a(x);return e.consume(x),m}function g(x){if(x===64)return e.consume(x),M;if(yve(x))return e.consume(x),g;return a(x)}function M(x){return ji(x)?v(x):a(x)}function v(x){if(x===46)return e.consume(x),i=0,M;if(x===62)return e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(x),e.exit("autolinkMarker"),e.exit("autolink"),r;return y(x)}function y(x){if((x===45||ji(x))&&i++<63){let _=x===45?y:v;return e.consume(x),_}return a(x)}}var H8={partial:!0,tokenize:sLt};function sLt(e,r,a){return i;function i(l){return Jr(l)?fo(e,s,"linePrefix")(l):s(l)}function s(l){return l===null||Rr(l)?r(l):a(l)}}var IF={continuation:{tokenize:cLt},exit:uLt,name:"blockQuote",tokenize:lLt};function lLt(e,r,a){let i=this;return s;function s(c){if(c===62){let d=i.containerState;if(!d.open)e.enter("blockQuote",{_container:!0}),d.open=!0;return e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(c),e.exit("blockQuoteMarker"),l}return a(c)}function l(c){if(Jr(c))return e.enter("blockQuotePrefixWhitespace"),e.consume(c),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),r;return e.exit("blockQuotePrefix"),r(c)}}function cLt(e,r,a){let i=this;return s;function s(c){if(Jr(c))return fo(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c);return l(c)}function l(c){return e.attempt(IF,r,a)(c)}}function uLt(e){e.exit("blockQuote")}var RF={name:"characterEscape",tokenize:dLt};function dLt(e,r,a){return i;function i(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),s}function s(l){if(_ve(l))return e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),r;return a(l)}}var PF={name:"characterReference",tokenize:ZLt};function ZLt(e,r,a){let i=this,s=0,l,c;return d;function d(v){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(v),e.exit("characterReferenceMarker"),m}function m(v){if(v===35)return e.enter("characterReferenceMarkerNumeric"),e.consume(v),e.exit("characterReferenceMarkerNumeric"),g;return e.enter("characterReferenceValue"),l=31,c=ji,M(v)}function g(v){if(v===88||v===120)return e.enter("characterReferenceMarkerHexadecimal"),e.consume(v),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,c=bve,M;return e.enter("characterReferenceValue"),l=7,c=QD,M(v)}function M(v){if(v===59&&s){let y=e.exit("characterReferenceValue");if(c===ji&&!rP(i.sliceSerialize(y)))return a(v);return e.enter("characterReferenceMarker"),e.consume(v),e.exit("characterReferenceMarker"),e.exit("characterReference"),r}if(c(v)&&s++<l)return e.consume(v),M;return a(v)}}var Ive={partial:!0,tokenize:mLt},TF={concrete:!0,name:"codeFenced",tokenize:pLt};function pLt(e,r,a){let i=this,s={partial:!0,tokenize:J},l=0,c=0,d;return m;function m(ee){return g(ee)}function g(ee){let re=i.events[i.events.length-1];return l=re&&re[1].type==="linePrefix"?re[2].sliceSerialize(re[1],!0).length:0,d=ee,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),M(ee)}function M(ee){if(ee===d)return c++,e.consume(ee),M;if(c<3)return a(ee);return e.exit("codeFencedFenceSequence"),Jr(ee)?fo(e,v,"whitespace")(ee):v(ee)}function v(ee){if(ee===null||Rr(ee))return e.exit("codeFencedFence"),i.interrupt?r(ee):e.check(Ive,j,X)(ee);return e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),y(ee)}function y(ee){if(ee===null||Rr(ee))return e.exit("chunkString"),e.exit("codeFencedFenceInfo"),v(ee);if(Jr(ee))return e.exit("chunkString"),e.exit("codeFencedFenceInfo"),fo(e,x,"whitespace")(ee);if(ee===96&&ee===d)return a(ee);return e.consume(ee),y}function x(ee){if(ee===null||Rr(ee))return v(ee);return e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),_(ee)}function _(ee){if(ee===null||Rr(ee))return e.exit("chunkString"),e.exit("codeFencedFenceMeta"),v(ee);if(ee===96&&ee===d)return a(ee);return e.consume(ee),_}function j(ee){return e.attempt(s,X,U)(ee)}function U(ee){return e.enter("lineEnding"),e.consume(ee),e.exit("lineEnding"),T}function T(ee){return l>0&&Jr(ee)?fo(e,N,"linePrefix",l+1)(ee):N(ee)}function N(ee){if(ee===null||Rr(ee))return e.check(Ive,j,X)(ee);return e.enter("codeFlowValue"),G(ee)}function G(ee){if(ee===null||Rr(ee))return e.exit("codeFlowValue"),N(ee);return e.consume(ee),G}function X(ee){return e.exit("codeFenced"),r(ee)}function J(ee,re,oe){let ie=0;return ye;function ye(ut){return ee.enter("lineEnding"),ee.consume(ut),ee.exit("lineEnding"),We}function We(ut){return ee.enter("codeFencedFence"),Jr(ut)?fo(ee,Ye,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ut):Ye(ut)}function Ye(ut){if(ut===d)return ee.enter("codeFencedFenceSequence"),Se(ut);return oe(ut)}function Se(ut){if(ut===d)return ie++,ee.consume(ut),Se;if(ie>=c)return ee.exit("codeFencedFenceSequence"),Jr(ut)?fo(ee,He,"whitespace")(ut):He(ut);return oe(ut)}function He(ut){if(ut===null||Rr(ut))return ee.exit("codeFencedFence"),re(ut);return oe(ut)}}}function mLt(e,r,a){let i=this;return s;function s(c){if(c===null)return a(c);return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),l}function l(c){return i.parser.lazy[i.now().line]?a(c):r(c)}}var $D={name:"codeIndented",tokenize:gLt},hLt={partial:!0,tokenize:MLt};function gLt(e,r,a){let i=this;return s;function s(g){return e.enter("codeIndented"),fo(e,l,"linePrefix",5)(g)}function l(g){let M=i.events[i.events.length-1];return M&&M[1].type==="linePrefix"&&M[2].sliceSerialize(M[1],!0).length>=4?c(g):a(g)}function c(g){if(g===null)return m(g);if(Rr(g))return e.attempt(hLt,c,m)(g);return e.enter("codeFlowValue"),d(g)}function d(g){if(g===null||Rr(g))return e.exit("codeFlowValue"),c(g);return e.consume(g),d}function m(g){return e.exit("codeIndented"),r(g)}}function MLt(e,r,a){let i=this;return s;function s(c){if(i.parser.lazy[i.now().line])return a(c);if(Rr(c))return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),s;return fo(e,l,"linePrefix",5)(c)}function l(c){let d=i.events[i.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?r(c):Rr(c)?s(c):a(c)}}var NW={name:"codeText",previous:xLt,resolve:vLt,tokenize:yLt};function vLt(e){let r=e.length-4,a=3,i,s;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(s===void 0){if(i!==r&&e[i][1].type!=="lineEnding")s=i}else if(i===r||e[i][1].type==="lineEnding"){if(e[s][1].type="codeTextData",i!==s+2)e[s][1].end=e[i-1][1].end,e.splice(s+2,i-s-2),r-=i-s-2,i=s+2;s=void 0}return e}function xLt(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function yLt(e,r,a){let i=this,s=0,l,c;return d;function d(y){return e.enter("codeText"),e.enter("codeTextSequence"),m(y)}function m(y){if(y===96)return e.consume(y),s++,m;return e.exit("codeTextSequence"),g(y)}function g(y){if(y===null)return a(y);if(y===32)return e.enter("space"),e.consume(y),e.exit("space"),g;if(y===96)return c=e.enter("codeTextSequence"),l=0,v(y);if(Rr(y))return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),g;return e.enter("codeTextData"),M(y)}function M(y){if(y===null||y===32||y===96||Rr(y))return e.exit("codeTextData"),g(y);return e.consume(y),M}function v(y){if(y===96)return e.consume(y),l++,v;if(l===s)return e.exit("codeTextSequence"),e.exit("codeText"),r(y);return c.type="codeTextData",M(y)}}class FW{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 s=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);if(a)eO(this.left,a);return s.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),eO(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),eO(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);eO(this.right,r.reverse())}else{let r=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);eO(this.left,r.reverse())}}}function eO(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 AF(e){let r={},a=-1,i,s,l,c,d,m,g,M=new FW(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,l=0,l<m.length&&m[l][1].type==="lineEndingBlank")l+=2;if(l<m.length&&m[l][1].type==="content")while(++l<m.length){if(m[l][1].type==="content")break;if(m[l][1].type==="chunkText")m[l][1]._isInFirstContentOfListItem=!0,l++}}if(i[0]==="enter"){if(i[1].contentType)Object.assign(r,bLt(M,a)),a=r[a],g=!0}else if(i[1]._container){l=a,s=void 0;while(l--)if(c=M.get(l),c[1].type==="lineEnding"||c[1].type==="lineEndingBlank"){if(c[0]==="enter"){if(s)M.get(s)[1].type="lineEndingBlank";c[1].type="lineEnding",s=l}}else if(c[1].type==="linePrefix"||c[1].type==="listItemIndent");else break;if(s)i[1].end={...M.get(s)[1].start},d=M.slice(s,a),d.unshift(i),M.splice(s,a-s+1,d)}}return sf(e,0,Number.POSITIVE_INFINITY,M.slice(0)),!g}function bLt(e,r){let a=e.get(r)[1],i=e.get(r)[2],s=r-1,l=[],c=a._tokenizer;if(!c){if(c=i.parser[a.contentType](a.start),a._contentTypeTextTrailing)c._contentTypeTextTrailing=!0}let d=c.events,m=[],g={},M,v,y=-1,x=a,_=0,j=0,U=[j];while(x){while(e.get(++s)[1]!==x);if(l.push(s),!x._tokenizer){if(M=i.sliceStream(x),!x.next)M.push(null);if(v)c.defineSkip(x.start);if(x._isInFirstContentOfListItem)c._gfmTasklistFirstContentOfListItem=!0;if(c.write(M),x._isInFirstContentOfListItem)c._gfmTasklistFirstContentOfListItem=void 0}v=x,x=x.next}x=a;while(++y<d.length)if(d[y][0]==="exit"&&d[y-1][0]==="enter"&&d[y][1].type===d[y-1][1].type&&d[y][1].start.line!==d[y][1].end.line)j=y+1,U.push(j),x._tokenizer=void 0,x.previous=void 0,x=x.next;if(c.events=[],x)x._tokenizer=void 0,x.previous=void 0;else U.pop();y=U.length;while(y--){let T=d.slice(U[y],U[y+1]),N=l.pop();m.push([N,N+T.length-1]),e.splice(N,2,T)}m.reverse(),y=-1;while(++y<m.length)g[_+m[y][0]]=_+m[y][1],_+=m[y][1]-m[y][0]-1;return g}var BW={resolve:wLt,tokenize:zLt},_Lt={partial:!0,tokenize:SLt};function wLt(e){return AF(e),e}function zLt(e,r){let a;return i;function i(d){return e.enter("content"),a=e.enter("chunkContent",{contentType:"content"}),s(d)}function s(d){if(d===null)return l(d);if(Rr(d))return e.check(_Lt,c,l)(d);return e.consume(d),s}function l(d){return e.exit("chunkContent"),e.exit("content"),r(d)}function c(d){return e.consume(d),e.exit("chunkContent"),a.next=e.enter("chunkContent",{contentType:"content",previous:a}),a=a.next,s}}function SLt(e,r,a){let i=this;return s;function s(c){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),fo(e,l,"linePrefix")}function l(c){if(c===null||Rr(c))return a(c);let d=i.events[i.events.length-1];if(!i.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4)return r(c);return e.interrupt(i.parser.constructs.flow,a,r)(c)}}function EF(e,r,a,i,s,l,c,d,m){let g=m||Number.POSITIVE_INFINITY,M=0;return v;function v(T){if(T===60)return e.enter(i),e.enter(s),e.enter(l),e.consume(T),e.exit(l),y;if(T===null||T===32||T===41||XD(T))return a(T);return e.enter(i),e.enter(c),e.enter(d),e.enter("chunkString",{contentType:"string"}),j(T)}function y(T){if(T===62)return e.enter(l),e.consume(T),e.exit(l),e.exit(s),e.exit(i),r;return e.enter(d),e.enter("chunkString",{contentType:"string"}),x(T)}function x(T){if(T===62)return e.exit("chunkString"),e.exit(d),y(T);if(T===null||T===60||Rr(T))return a(T);return e.consume(T),T===92?_:x}function _(T){if(T===60||T===62||T===92)return e.consume(T),x;return x(T)}function j(T){if(!M&&(T===null||T===41||Gn(T)))return e.exit("chunkString"),e.exit(d),e.exit(c),e.exit(i),r(T);if(M<g&&T===40)return e.consume(T),M++,j;if(T===41)return e.consume(T),M--,j;if(T===null||T===32||T===40||XD(T))return a(T);return e.consume(T),T===92?U:j}function U(T){if(T===40||T===41||T===92)return e.consume(T),j;return j(T)}}function DF(e,r,a,i,s,l){let c=this,d=0,m;return g;function g(x){return e.enter(i),e.enter(s),e.consume(x),e.exit(s),e.enter(l),M}function M(x){if(d>999||x===null||x===91||x===93&&!m||x===94&&!d&&"_hiddenFootnoteSupport"in c.parser.constructs)return a(x);if(x===93)return e.exit(l),e.enter(s),e.consume(x),e.exit(s),e.exit(i),r;if(Rr(x))return e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),M;return e.enter("chunkString",{contentType:"string"}),v(x)}function v(x){if(x===null||x===91||x===93||Rr(x)||d++>999)return e.exit("chunkString"),M(x);if(e.consume(x),!m)m=!Jr(x);return x===92?y:v}function y(x){if(x===91||x===92||x===93)return e.consume(x),d++,v;return v(x)}}function OF(e,r,a,i,s,l){let c;return d;function d(y){if(y===34||y===39||y===40)return e.enter(i),e.enter(s),e.consume(y),e.exit(s),c=y===40?41:y,m;return a(y)}function m(y){if(y===c)return e.enter(s),e.consume(y),e.exit(s),e.exit(i),r;return e.enter(l),g(y)}function g(y){if(y===c)return e.exit(l),m(c);if(y===null)return a(y);if(Rr(y))return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),fo(e,g,"linePrefix");return e.enter("chunkString",{contentType:"string"}),M(y)}function M(y){if(y===c||y===null||Rr(y))return e.exit("chunkString"),g(y);return e.consume(y),y===92?v:M}function v(y){if(y===c||y===92)return e.consume(y),M;return M(y)}}function kL(e,r){let a;return i;function i(s){if(Rr(s))return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a=!0,i;if(Jr(s))return fo(e,i,a?"linePrefix":"lineSuffix")(s);return r(s)}}var YW={name:"definition",tokenize:kLt},LLt={partial:!0,tokenize:CLt};function kLt(e,r,a){let i=this,s;return l;function l(x){return e.enter("definition"),c(x)}function c(x){return DF.call(i,e,d,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(x)}function d(x){if(s=pM(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),x===58)return e.enter("definitionMarker"),e.consume(x),e.exit("definitionMarker"),m;return a(x)}function m(x){return Gn(x)?kL(e,g)(x):g(x)}function g(x){return EF(e,M,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(x)}function M(x){return e.attempt(LLt,v,v)(x)}function v(x){return Jr(x)?fo(e,y,"whitespace")(x):y(x)}function y(x){if(x===null||Rr(x))return e.exit("definition"),i.parser.defined.push(s),r(x);return a(x)}}function CLt(e,r,a){return i;function i(d){return Gn(d)?kL(e,s)(d):a(d)}function s(d){return OF(e,l,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function l(d){return Jr(d)?fo(e,c,"whitespace")(d):c(d)}function c(d){return d===null||Rr(d)?r(d):a(d)}}var UW={name:"hardBreakEscape",tokenize:ILt};function ILt(e,r,a){return i;function i(l){return e.enter("hardBreakEscape"),e.consume(l),s}function s(l){if(Rr(l))return e.exit("hardBreakEscape"),r(l);return a(l)}}var qW={name:"headingAtx",resolve:RLt,tokenize:PLt};function RLt(e,r){let a=e.length-2,i=3,s,l;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)s={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},l={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},sf(e,i,a-i+1,[["enter",s,r],["enter",l,r],["exit",l,r],["exit",s,r]]);return e}function PLt(e,r,a){let i=0;return s;function s(M){return e.enter("atxHeading"),l(M)}function l(M){return e.enter("atxHeadingSequence"),c(M)}function c(M){if(M===35&&i++<6)return e.consume(M),c;if(M===null||Gn(M))return e.exit("atxHeadingSequence"),d(M);return a(M)}function d(M){if(M===35)return e.enter("atxHeadingSequence"),m(M);if(M===null||Rr(M))return e.exit("atxHeading"),r(M);if(Jr(M))return fo(e,d,"whitespace")(M);return e.enter("atxHeadingText"),g(M)}function m(M){if(M===35)return e.consume(M),m;return e.exit("atxHeadingSequence"),d(M)}function g(M){if(M===null||M===35||Gn(M))return e.exit("atxHeadingText"),d(M);return e.consume(M),g}}var Rve=["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"],HW=["pre","script","style","textarea"];var VW={concrete:!0,name:"htmlFlow",resolveTo:ELt,tokenize:DLt},TLt={partial:!0,tokenize:jLt},ALt={partial:!0,tokenize:OLt};function ELt(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 DLt(e,r,a){let i=this,s,l,c,d,m;return g;function g(je){return M(je)}function M(je){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(je),v}function v(je){if(je===33)return e.consume(je),y;if(je===47)return e.consume(je),l=!0,j;if(je===63)return e.consume(je),s=3,i.interrupt?r:de;if(Xl(je))return e.consume(je),c=String.fromCharCode(je),U;return a(je)}function y(je){if(je===45)return e.consume(je),s=2,x;if(je===91)return e.consume(je),s=5,d=0,_;if(Xl(je))return e.consume(je),s=4,i.interrupt?r:de;return a(je)}function x(je){if(je===45)return e.consume(je),i.interrupt?r:de;return a(je)}function _(je){if(je==="CDATA[".charCodeAt(d++)){if(e.consume(je),d===6)return i.interrupt?r:Ye;return _}return a(je)}function j(je){if(Xl(je))return e.consume(je),c=String.fromCharCode(je),U;return a(je)}function U(je){if(je===null||je===47||je===62||Gn(je)){let sr=je===47,cr=c.toLowerCase();if(!sr&&!l&&HW.includes(cr))return s=1,i.interrupt?r(je):Ye(je);if(Rve.includes(c.toLowerCase())){if(s=6,sr)return e.consume(je),T;return i.interrupt?r(je):Ye(je)}return s=7,i.interrupt&&!i.parser.lazy[i.now().line]?a(je):l?N(je):G(je)}if(je===45||ji(je))return e.consume(je),c+=String.fromCharCode(je),U;return a(je)}function T(je){if(je===62)return e.consume(je),i.interrupt?r:Ye;return a(je)}function N(je){if(Jr(je))return e.consume(je),N;return ye(je)}function G(je){if(je===47)return e.consume(je),ye;if(je===58||je===95||Xl(je))return e.consume(je),X;if(Jr(je))return e.consume(je),G;return ye(je)}function X(je){if(je===45||je===46||je===58||je===95||ji(je))return e.consume(je),X;return J(je)}function J(je){if(je===61)return e.consume(je),ee;if(Jr(je))return e.consume(je),J;return G(je)}function ee(je){if(je===null||je===60||je===61||je===62||je===96)return a(je);if(je===34||je===39)return e.consume(je),m=je,re;if(Jr(je))return e.consume(je),ee;return oe(je)}function re(je){if(je===m)return e.consume(je),m=null,ie;if(je===null||Rr(je))return a(je);return e.consume(je),re}function oe(je){if(je===null||je===34||je===39||je===47||je===60||je===61||je===62||je===96||Gn(je))return J(je);return e.consume(je),oe}function ie(je){if(je===47||je===62||Jr(je))return G(je);return a(je)}function ye(je){if(je===62)return e.consume(je),We;return a(je)}function We(je){if(je===null||Rr(je))return Ye(je);if(Jr(je))return e.consume(je),We;return a(je)}function Ye(je){if(je===45&&s===2)return e.consume(je),Ke;if(je===60&&s===1)return e.consume(je),yt;if(je===62&&s===4)return e.consume(je),bt;if(je===63&&s===3)return e.consume(je),de;if(je===93&&s===5)return e.consume(je),jt;if(Rr(je)&&(s===6||s===7))return e.exit("htmlFlowData"),e.check(TLt,Wt,Se)(je);if(je===null||Rr(je))return e.exit("htmlFlowData"),Se(je);return e.consume(je),Ye}function Se(je){return e.check(ALt,He,Wt)(je)}function He(je){return e.enter("lineEnding"),e.consume(je),e.exit("lineEnding"),ut}function ut(je){if(je===null||Rr(je))return Se(je);return e.enter("htmlFlowData"),Ye(je)}function Ke(je){if(je===45)return e.consume(je),de;return Ye(je)}function yt(je){if(je===47)return e.consume(je),c="",At;return Ye(je)}function At(je){if(je===62){let sr=c.toLowerCase();if(HW.includes(sr))return e.consume(je),bt;return Ye(je)}if(Xl(je)&&c.length<8)return e.consume(je),c+=String.fromCharCode(je),At;return Ye(je)}function jt(je){if(je===93)return e.consume(je),de;return Ye(je)}function de(je){if(je===62)return e.consume(je),bt;if(je===45&&s===2)return e.consume(je),de;return Ye(je)}function bt(je){if(je===null||Rr(je))return e.exit("htmlFlowData"),Wt(je);return e.consume(je),bt}function Wt(je){return e.exit("htmlFlow"),r(je)}}function OLt(e,r,a){let i=this;return s;function s(c){if(Rr(c))return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),l;return a(c)}function l(c){return i.parser.lazy[i.now().line]?a(c):r(c)}}function jLt(e,r,a){return i;function i(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),e.attempt(H8,r,a)}}var WW={name:"htmlText",tokenize:NLt};function NLt(e,r,a){let i=this,s,l,c;return d;function d(de){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(de),m}function m(de){if(de===33)return e.consume(de),g;if(de===47)return e.consume(de),J;if(de===63)return e.consume(de),G;if(Xl(de))return e.consume(de),oe;return a(de)}function g(de){if(de===45)return e.consume(de),M;if(de===91)return e.consume(de),l=0,_;if(Xl(de))return e.consume(de),N;return a(de)}function M(de){if(de===45)return e.consume(de),x;return a(de)}function v(de){if(de===null)return a(de);if(de===45)return e.consume(de),y;if(Rr(de))return c=v,yt(de);return e.consume(de),v}function y(de){if(de===45)return e.consume(de),x;return v(de)}function x(de){return de===62?Ke(de):de===45?y(de):v(de)}function _(de){if(de==="CDATA[".charCodeAt(l++))return e.consume(de),l===6?j:_;return a(de)}function j(de){if(de===null)return a(de);if(de===93)return e.consume(de),U;if(Rr(de))return c=j,yt(de);return e.consume(de),j}function U(de){if(de===93)return e.consume(de),T;return j(de)}function T(de){if(de===62)return Ke(de);if(de===93)return e.consume(de),T;return j(de)}function N(de){if(de===null||de===62)return Ke(de);if(Rr(de))return c=N,yt(de);return e.consume(de),N}function G(de){if(de===null)return a(de);if(de===63)return e.consume(de),X;if(Rr(de))return c=G,yt(de);return e.consume(de),G}function X(de){return de===62?Ke(de):G(de)}function J(de){if(Xl(de))return e.consume(de),ee;return a(de)}function ee(de){if(de===45||ji(de))return e.consume(de),ee;return re(de)}function re(de){if(Rr(de))return c=re,yt(de);if(Jr(de))return e.consume(de),re;return Ke(de)}function oe(de){if(de===45||ji(de))return e.consume(de),oe;if(de===47||de===62||Gn(de))return ie(de);return a(de)}function ie(de){if(de===47)return e.consume(de),Ke;if(de===58||de===95||Xl(de))return e.consume(de),ye;if(Rr(de))return c=ie,yt(de);if(Jr(de))return e.consume(de),ie;return Ke(de)}function ye(de){if(de===45||de===46||de===58||de===95||ji(de))return e.consume(de),ye;return We(de)}function We(de){if(de===61)return e.consume(de),Ye;if(Rr(de))return c=We,yt(de);if(Jr(de))return e.consume(de),We;return ie(de)}function Ye(de){if(de===null||de===60||de===61||de===62||de===96)return a(de);if(de===34||de===39)return e.consume(de),s=de,Se;if(Rr(de))return c=Ye,yt(de);if(Jr(de))return e.consume(de),Ye;return e.consume(de),He}function Se(de){if(de===s)return e.consume(de),s=void 0,ut;if(de===null)return a(de);if(Rr(de))return c=Se,yt(de);return e.consume(de),Se}function He(de){if(de===null||de===34||de===39||de===60||de===61||de===96)return a(de);if(de===47||de===62||Gn(de))return ie(de);return e.consume(de),He}function ut(de){if(de===47||de===62||Gn(de))return ie(de);return a(de)}function Ke(de){if(de===62)return e.consume(de),e.exit("htmlTextData"),e.exit("htmlText"),r;return a(de)}function yt(de){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(de),e.exit("lineEnding"),At}function At(de){return Jr(de)?fo(e,jt,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(de):jt(de)}function jt(de){return e.enter("htmlTextData"),c(de)}}var CL={name:"labelEnd",resolveAll:ULt,resolveTo:qLt,tokenize:HLt},FLt={tokenize:VLt},BLt={tokenize:WLt},YLt={tokenize:GLt};function ULt(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 s=i.type==="labelImage"?4:2;i.type="data",r+=s}}if(e.length!==a.length)sf(e,0,e.length,a);return e}function qLt(e,r){let a=e.length,i=0,s,l,c,d;while(a--)if(s=e[a][1],l){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;if(e[a][0]==="enter"&&s.type==="labelLink")s._inactive=!0}else if(c){if(e[a][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced){if(l=a,s.type!=="labelLink"){i=2;break}}}else if(s.type==="labelEnd")c=a;let m={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},g={type:"label",start:{...e[l][1].start},end:{...e[c][1].end}},M={type:"labelText",start:{...e[l+i+2][1].end},end:{...e[c-2][1].start}};return d=[["enter",m,r],["enter",g,r]],d=ks(d,e.slice(l+1,l+i+3)),d=ks(d,[["enter",M,r]]),d=ks(d,oP(r.parser.constructs.insideSpan.null,e.slice(l+i+4,c-3),r)),d=ks(d,[["exit",M,r],e[c-2],e[c-1],["exit",g,r]]),d=ks(d,e.slice(c+1)),d=ks(d,[["exit",m,r]]),sf(e,l,e.length,d),e}function HLt(e,r,a){let i=this,s=i.events.length,l,c;while(s--)if((i.events[s][1].type==="labelImage"||i.events[s][1].type==="labelLink")&&!i.events[s][1]._balanced){l=i.events[s][1];break}return d;function d(y){if(!l)return a(y);if(l._inactive)return v(y);return c=i.parser.defined.includes(pM(i.sliceSerialize({start:l.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(y),e.exit("labelMarker"),e.exit("labelEnd"),m}function m(y){if(y===40)return e.attempt(FLt,M,c?M:v)(y);if(y===91)return e.attempt(BLt,M,c?g:v)(y);return c?M(y):v(y)}function g(y){return e.attempt(YLt,M,v)(y)}function M(y){return r(y)}function v(y){return l._balanced=!0,a(y)}}function VLt(e,r,a){return i;function i(v){return e.enter("resource"),e.enter("resourceMarker"),e.consume(v),e.exit("resourceMarker"),s}function s(v){return Gn(v)?kL(e,l)(v):l(v)}function l(v){if(v===41)return M(v);return EF(e,c,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(v)}function c(v){return Gn(v)?kL(e,m)(v):M(v)}function d(v){return a(v)}function m(v){if(v===34||v===39||v===40)return OF(e,g,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(v);return M(v)}function g(v){return Gn(v)?kL(e,M)(v):M(v)}function M(v){if(v===41)return e.enter("resourceMarker"),e.consume(v),e.exit("resourceMarker"),e.exit("resource"),r;return a(v)}}function WLt(e,r,a){let i=this;return s;function s(d){return DF.call(i,e,l,c,"reference","referenceMarker","referenceString")(d)}function l(d){return i.parser.defined.includes(pM(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?r(d):a(d)}function c(d){return a(d)}}function GLt(e,r,a){return i;function i(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),s}function s(l){if(l===93)return e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),r;return a(l)}}var GW={name:"labelStartImage",resolveAll:CL.resolveAll,tokenize:KLt};function KLt(e,r,a){let i=this;return s;function s(d){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(d),e.exit("labelImageMarker"),l}function l(d){if(d===91)return e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelImage"),c;return a(d)}function c(d){return d===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(d):r(d)}}var KW={name:"labelStartLink",resolveAll:CL.resolveAll,tokenize:XLt};function XLt(e,r,a){let i=this;return s;function s(c){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelLink"),l}function l(c){return c===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(c):r(c)}}var tO={name:"lineEnding",tokenize:QLt};function QLt(e,r){return a;function a(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),fo(e,r,"linePrefix")}}var IL={name:"thematicBreak",tokenize:JLt};function JLt(e,r,a){let i=0,s;return l;function l(g){return e.enter("thematicBreak"),c(g)}function c(g){return s=g,d(g)}function d(g){if(g===s)return e.enter("thematicBreakSequence"),m(g);if(i>=3&&(g===null||Rr(g)))return e.exit("thematicBreak"),r(g);return a(g)}function m(g){if(g===s)return e.consume(g),i++,m;return e.exit("thematicBreakSequence"),Jr(g)?fo(e,d,"whitespace")(g):d(g)}}var _f={continuation:{tokenize:rkt},exit:akt,name:"list",tokenize:tkt},$Lt={partial:!0,tokenize:nkt},ekt={partial:!0,tokenize:okt};function tkt(e,r,a){let i=this,s=i.events[i.events.length-1],l=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,c=0;return d;function d(x){let _=i.containerState.type||(x===42||x===43||x===45?"listUnordered":"listOrdered");if(_==="listUnordered"?!i.containerState.marker||x===i.containerState.marker:QD(x)){if(!i.containerState.type)i.containerState.type=_,e.enter(_,{_container:!0});if(_==="listUnordered")return e.enter("listItemPrefix"),x===42||x===45?e.check(IL,a,g)(x):g(x);if(!i.interrupt||x===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),m(x)}return a(x)}function m(x){if(QD(x)&&++c<10)return e.consume(x),m;if((!i.interrupt||c<2)&&(i.containerState.marker?x===i.containerState.marker:x===41||x===46))return e.exit("listItemValue"),g(x);return a(x)}function g(x){return e.enter("listItemMarker"),e.consume(x),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||x,e.check(H8,i.interrupt?a:M,e.attempt($Lt,y,v))}function M(x){return i.containerState.initialBlankLine=!0,l++,y(x)}function v(x){if(Jr(x))return e.enter("listItemPrefixWhitespace"),e.consume(x),e.exit("listItemPrefixWhitespace"),y;return a(x)}function y(x){return i.containerState.size=l+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,r(x)}}function rkt(e,r,a){let i=this;return i.containerState._closeFlow=void 0,e.check(H8,s,l);function s(d){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,fo(e,r,"listItemIndent",i.containerState.size+1)(d)}function l(d){if(i.containerState.furtherBlankLines||!Jr(d))return i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,c(d);return i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(ekt,r,c)(d)}function c(d){return i.containerState._closeFlow=!0,i.interrupt=void 0,fo(e,e.attempt(_f,r,a),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function okt(e,r,a){let i=this;return fo(e,s,"listItemIndent",i.containerState.size+1);function s(l){let c=i.events[i.events.length-1];return c&&c[1].type==="listItemIndent"&&c[2].sliceSerialize(c[1],!0).length===i.containerState.size?r(l):a(l)}}function akt(e){e.exit(this.containerState.type)}function nkt(e,r,a){let i=this;return fo(e,s,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(l){let c=i.events[i.events.length-1];return!Jr(l)&&c&&c[1].type==="listItemPrefixWhitespace"?r(l):a(l)}}var jF={name:"setextUnderline",resolveTo:ikt,tokenize:fkt};function ikt(e,r){let a=e.length,i,s,l;while(a--)if(e[a][0]==="enter"){if(e[a][1].type==="content"){i=a;break}if(e[a][1].type==="paragraph")s=a}else{if(e[a][1].type==="content")e.splice(a,1);if(!l&&e[a][1].type==="definition")l=a}let c={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};if(e[s][1].type="setextHeadingText",l)e.splice(s,0,["enter",c,r]),e.splice(l+1,0,["exit",e[i][1],r]),e[i][1].end={...e[l][1].end};else e[i][1]=c;return e.push(["exit",c,r]),e}function fkt(e,r,a){let i=this,s;return l;function l(g){let M=i.events.length,v;while(M--)if(i.events[M][1].type!=="lineEnding"&&i.events[M][1].type!=="linePrefix"&&i.events[M][1].type!=="content"){v=i.events[M][1].type==="paragraph";break}if(!i.parser.lazy[i.now().line]&&(i.interrupt||v))return e.enter("setextHeadingLine"),s=g,c(g);return a(g)}function c(g){return e.enter("setextHeadingLineSequence"),d(g)}function d(g){if(g===s)return e.consume(g),d;return e.exit("setextHeadingLineSequence"),Jr(g)?fo(e,m,"lineSuffix")(g):m(g)}function m(g){if(g===null||Rr(g))return e.exit("setextHeadingLine"),r(g);return a(g)}}var Pve={tokenize:skt};function skt(e){let r=this,a=e.attempt(H8,i,e.attempt(this.parser.constructs.flowInitial,s,fo(e,e.attempt(this.parser.constructs.flow,s,e.attempt(BW,s)),"linePrefix")));return a;function i(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),r.currentConstruct=void 0,a}function s(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),r.currentConstruct=void 0,a}}var Tve={resolveAll:Ove()},Ave=Dve("string"),Eve=Dve("text");function Dve(e){return{resolveAll:Ove(e==="text"?lkt:void 0),tokenize:r};function r(a){let i=this,s=this.parser.constructs[e],l=a.attempt(s,c,d);return c;function c(M){return g(M)?l(M):d(M)}function d(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"),l(M);return a.consume(M),m}function g(M){if(M===null)return!0;let v=s[M],y=-1;if(v)while(++y<v.length){let x=v[y];if(!x.previous||x.previous.call(i,i.previous))return!0}return!1}}}function Ove(e){return r;function r(a,i){let s=-1,l;while(++s<=a.length)if(l===void 0){if(a[s]&&a[s][1].type==="data")l=s,s++}else if(!a[s]||a[s][1].type!=="data"){if(s!==l+2)a[l][1].end=a[s-1][1].end,a.splice(l+2,s-l-2),s=l+2;l=void 0}return e?e(a,i):a}}function lkt(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],s=r.sliceStream(i),l=s.length,c=-1,d=0,m;while(l--){let g=s[l];if(typeof g==="string"){c=g.length;while(g.charCodeAt(c-1)===32)d++,c--;if(c)break;c=-1}else if(g===-2)m=!0,d++;else if(g===-1);else{l++;break}}if(r._contentTypeTextTrailing&&a===e.length)d=0;if(d){let g={type:a===e.length||m||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?c:i.start._bufferIndex+c,_index:i.start._index+l,line:i.end.line,column:i.end.column-d,offset:i.end.offset-d},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 XW={};Me(XW,{attentionMarkers:()=>gkt,contentInitial:()=>ukt,disable:()=>Mkt,document:()=>ckt,flow:()=>Zkt,flowInitial:()=>dkt,insideSpan:()=>hkt,string:()=>pkt,text:()=>mkt});var ckt={[42]:_f,[43]:_f,[45]:_f,[48]:_f,[49]:_f,[50]:_f,[51]:_f,[52]:_f,[53]:_f,[54]:_f,[55]:_f,[56]:_f,[57]:_f,[62]:IF},ukt={[91]:YW},dkt={[-2]:$D,[-1]:$D,[32]:$D},Zkt={[35]:qW,[42]:IL,[45]:[jF,IL],[60]:VW,[61]:jF,[95]:IL,[96]:TF,[126]:TF},pkt={[38]:PF,[92]:RF},mkt={[-5]:tO,[-4]:tO,[-3]:tO,[33]:GW,[38]:PF,[42]:JD,[60]:[jW,WW],[91]:KW,[92]:[UW,RF],[93]:CL,[95]:JD,[96]:NW},hkt={null:[JD,Tve]},gkt={null:[42,95]},Mkt={null:[]};function jve(e,r,a){let i={_bufferIndex:-1,_index:0,line:a&&a.line||1,column:a&&a.column||1,offset:a&&a.offset||0},s={},l=[],c=[],d=[],m=!0,g={attempt:ie(re),check:ie(oe),consume:X,enter:J,exit:ee,interrupt:ie(oe,{interrupt:!0})},M={code:null,containerState:{},defineSkip:T,events:[],now:U,parser:e,previous:null,sliceSerialize:_,sliceStream:j,write:x},v=r.tokenize.call(M,g),y;if(r.resolveAll)l.push(r);return M;function x(Se){if(c=ks(c,Se),N(),c[c.length-1]!==null)return[];return ye(r,0),M.events=oP(l,M.events,M),M.events}function _(Se,He){return xkt(j(Se),He)}function j(Se){return vkt(c,Se)}function U(){let{_bufferIndex:Se,_index:He,line:ut,column:Ke,offset:yt}=i;return{_bufferIndex:Se,_index:He,line:ut,column:Ke,offset:yt}}function T(Se){s[Se.line]=Se.column,Ye()}function N(){let Se;while(i._index<c.length){let He=c[i._index];if(typeof He==="string"){if(Se=i._index,i._bufferIndex<0)i._bufferIndex=0;while(i._index===Se&&i._bufferIndex<He.length)G(He.charCodeAt(i._bufferIndex))}else G(He)}}function G(Se){m=void 0,y=Se,v=v(Se)}function X(Se){if(Rr(Se))i.line++,i.column=1,i.offset+=Se===-3?2:1,Ye();else if(Se!==-1)i.column++,i.offset++;if(i._bufferIndex<0)i._index++;else if(i._bufferIndex++,i._bufferIndex===c[i._index].length)i._bufferIndex=-1,i._index++;M.previous=Se,m=!0}function J(Se,He){let ut=He||{};return ut.type=Se,ut.start=U(),M.events.push(["enter",ut,M]),d.push(ut),ut}function ee(Se){let He=d.pop();return He.end=U(),M.events.push(["exit",He,M]),He}function re(Se,He){ye(Se,He.from)}function oe(Se,He){He.restore()}function ie(Se,He){return ut;function ut(Ke,yt,At){let jt,de,bt,Wt;return Array.isArray(Ke)?sr(Ke):("tokenize"in Ke)?sr([Ke]):je(Ke);function je(Gt){return Qt;function Qt(Tr){let Cr=Tr!==null&&Gt[Tr],Ar=Tr!==null&&Gt.null,dr=[...Array.isArray(Cr)?Cr:Cr?[Cr]:[],...Array.isArray(Ar)?Ar:Ar?[Ar]:[]];return sr(dr)(Tr)}}function sr(Gt){if(jt=Gt,de=0,Gt.length===0)return At;return cr(Gt[de])}function cr(Gt){return Qt;function Qt(Tr){if(Wt=We(),bt=Gt,!Gt.partial)M.currentConstruct=Gt;if(Gt.name&&M.parser.constructs.disable.null.includes(Gt.name))return Or(Tr);return Gt.tokenize.call(He?Object.assign(Object.create(M),He):M,g,rr,Or)(Tr)}}function rr(Gt){return m=!0,Se(bt,Wt),yt}function Or(Gt){if(m=!0,Wt.restore(),++de<jt.length)return cr(jt[de]);return At}}}function ye(Se,He){if(Se.resolveAll&&!l.includes(Se))l.push(Se);if(Se.resolve)sf(M.events,He,M.events.length-He,Se.resolve(M.events.slice(He),M));if(Se.resolveTo)M.events=Se.resolveTo(M.events,M)}function We(){let Se=U(),{previous:He,currentConstruct:ut}=M,Ke=M.events.length,yt=Array.from(d);return{from:Ke,restore:At};function At(){i=Se,M.previous=He,M.currentConstruct=ut,M.events.length=Ke,d=yt,Ye()}}function Ye(){if(i.line in s&&i.column<2)i.column=s[i.line],i.offset+=s[i.line]-1}}function vkt(e,r){let a=r.start._index,i=r.start._bufferIndex,s=r.end._index,l=r.end._bufferIndex,c;if(a===s)c=[e[a].slice(i,l)];else{if(c=e.slice(a,s),i>-1){let d=c[0];if(typeof d==="string")c[0]=d.slice(i);else c.shift()}if(l>0)c.push(e[s].slice(0,l))}return c}function xkt(e,r){let a=-1,i=[],s;while(++a<e.length){let l=e[a],c;if(typeof l==="string")c=l;else switch(l){case-5:{c="\r";break}case-4:{c=`
199
+ `;break}case-3:{c=`\r
200
+ `;break}case-2:{c=r?" ":"\t";break}case-1:{if(!r&&s)continue;c=" ";break}default:c=String.fromCharCode(l)}s=l===-2,i.push(c)}return i.join("")}function QW(e){let i={constructs:xve([XW,...(e||{}).extensions||[]]),content:s(Sve),defined:[],document:s(kve),flow:s(Pve),lazy:{},string:s(Ave),text:s(Eve)};return i;function s(l){return c;function c(d){return jve(i,l,d)}}}function JW(e){while(!AF(e));return e}var Nve=/[\0\t\n\r]/g;function $W(){let e=1,r="",a=!0,i;return s;function s(l,c,d){let m=[],g,M,v,y,x;if(l=r+(typeof l==="string"?l.toString():new TextDecoder(c||void 0).decode(l)),v=0,r="",a){if(l.charCodeAt(0)===65279)v++;a=void 0}while(v<l.length){if(Nve.lastIndex=v,g=Nve.exec(l),y=g&&g.index!==void 0?g.index:l.length,x=l.charCodeAt(y),!g){r=l.slice(v);break}if(x===10&&v===y&&i)m.push(-3),i=void 0;else{if(i)m.push(-5),i=void 0;if(v<y)m.push(l.slice(v,y)),e+=y-v;switch(x){case 0:{m.push(65533),e++;break}case 9:{M=Math.ceil(e/4)*4,m.push(-2);while(e++<M)m.push(-1);break}case 10:{m.push(-4),e=1;break}default:i=!0,e=1}}v=y+1}if(d){if(i)m.push(-5);if(r)m.push(r);m.push(null)}return m}}var ykt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Fve(e){return e.replace(ykt,bkt)}function bkt(e,r,a){if(r)return r;if(a.charCodeAt(0)===35){let s=a.charCodeAt(1),l=s===120||s===88;return CF(a.slice(l?2:1),l?16:10)}return rP(a)||e}var Yve={}.hasOwnProperty;function eG(e,r,a){if(r&&typeof r==="object")a=r,r=void 0;return _kt(a)(JW(QW(a).document().write($W()(e,r,!0))))}function _kt(e){let r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(Yr),autolinkProtocol:ie,autolinkEmail:ie,atxHeading:l(lo),blockQuote:l(Tr),characterEscape:ie,characterReference:ie,codeFenced:l(Cr),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:l(Cr,c),codeText:l(Ar,c),codeTextData:ie,data:ie,codeFlowValue:ie,definition:l(dr),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:l(uo),hardBreakEscape:l(da),hardBreakTrailing:l(da),htmlFlow:l(ir,c),htmlFlowData:ie,htmlText:l(ir,c),htmlTextData:ie,image:l(io),label:c,link:l(Yr),listItem:l(an),listItemValue:y,listOrdered:l(To,v),listUnordered:l(To),paragraph:l(Ho),reference:je,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:l(lo),strong:l(En),thematicBreak:l(Bi)},exit:{atxHeading:m(),atxHeadingSequence:J,autolink:m(),autolinkEmail:Qt,autolinkProtocol:Gt,blockQuote:m(),characterEscapeValue:ye,characterReferenceMarkerHexadecimal:cr,characterReferenceMarkerNumeric:cr,characterReferenceValue:rr,characterReference:Or,codeFenced:m(U),codeFencedFence:j,codeFencedFenceInfo:x,codeFencedFenceMeta:_,codeFlowValue:ye,codeIndented:m(T),codeText:m(ut),codeTextData:ye,data:ye,definition:m(),definitionDestinationString:X,definitionLabelString:N,definitionTitleString:G,emphasis:m(),hardBreakEscape:m(Ye),hardBreakTrailing:m(Ye),htmlFlow:m(Se),htmlFlowData:ye,htmlText:m(He),htmlTextData:ye,image:m(yt),label:jt,labelText:At,lineEnding:We,link:m(Ke),listItem:m(),listOrdered:m(),listUnordered:m(),paragraph:m(),referenceString:sr,resourceDestinationString:de,resourceTitleString:bt,resource:Wt,setextHeading:m(oe),setextHeadingLineSequence:re,setextHeadingText:ee,strong:m(),thematicBreak:m()}};Uve(r,(e||{}).mdastExtensions||[]);let a={};return i;function i(Ge){let Pt={type:"root",children:[]},br={stack:[Pt],tokenStack:[],config:r,enter:d,exit:g,buffer:c,resume:M,data:a},Fr=[],ao=-1;while(++ao<Ge.length)if(Ge[ao][1].type==="listOrdered"||Ge[ao][1].type==="listUnordered")if(Ge[ao][0]==="enter")Fr.push(ao);else{let Vo=Fr.pop();ao=s(Ge,Vo,ao)}ao=-1;while(++ao<Ge.length){let Vo=r[Ge[ao][0]];if(Yve.call(Vo,Ge[ao][1].type))Vo[Ge[ao][1].type].call(Object.assign({sliceSerialize:Ge[ao][2].sliceSerialize},br),Ge[ao][1])}if(br.tokenStack.length>0){let Vo=br.tokenStack[br.tokenStack.length-1];(Vo[1]||Bve).call(br,void 0,Vo[0])}Pt.position={start:V8(Ge.length>0?Ge[0][1].start:{line:1,column:1,offset:0}),end:V8(Ge.length>0?Ge[Ge.length-2][1].end:{line:1,column:1,offset:0})},ao=-1;while(++ao<r.transforms.length)Pt=r.transforms[ao](Pt)||Pt;return Pt}function s(Ge,Pt,br){let Fr=Pt-1,ao=-1,Vo=!1,Aa,Ee,Oe,Fe;while(++Fr<=br){let Zt=Ge[Fr];switch(Zt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{if(Zt[0]==="enter")ao++;else ao--;Fe=void 0;break}case"lineEndingBlank":{if(Zt[0]==="enter"){if(Aa&&!Fe&&!ao&&!Oe)Oe=Fr;Fe=void 0}break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Fe=void 0}if(!ao&&Zt[0]==="enter"&&Zt[1].type==="listItemPrefix"||ao===-1&&Zt[0]==="exit"&&(Zt[1].type==="listUnordered"||Zt[1].type==="listOrdered")){if(Aa){let St=Fr;Ee=void 0;while(St--){let Ot=Ge[St];if(Ot[1].type==="lineEnding"||Ot[1].type==="lineEndingBlank"){if(Ot[0]==="exit")continue;if(Ee)Ge[Ee][1].type="lineEndingBlank",Vo=!0;Ot[1].type="lineEnding",Ee=St}else if(Ot[1].type==="linePrefix"||Ot[1].type==="blockQuotePrefix"||Ot[1].type==="blockQuotePrefixWhitespace"||Ot[1].type==="blockQuoteMarker"||Ot[1].type==="listItemIndent");else break}if(Oe&&(!Ee||Oe<Ee))Aa._spread=!0;Aa.end=Object.assign({},Ee?Ge[Ee][1].start:Zt[1].end),Ge.splice(Ee||Fr,0,["exit",Aa,Zt[2]]),Fr++,br++}if(Zt[1].type==="listItemPrefix"){let St={type:"listItem",_spread:!1,start:Object.assign({},Zt[1].start),end:void 0};Aa=St,Ge.splice(Fr,0,["enter",St,Zt[2]]),Fr++,br++,Oe=void 0,Fe=!0}}}return Ge[Pt][1]._spread=Vo,br}function l(Ge,Pt){return br;function br(Fr){if(d.call(this,Ge(Fr),Fr),Pt)Pt.call(this,Fr)}}function c(){this.stack.push({type:"fragment",children:[]})}function d(Ge,Pt,br){this.stack[this.stack.length-1].children.push(Ge),this.stack.push(Ge),this.tokenStack.push([Pt,br||void 0]),Ge.position={start:V8(Pt.start),end:void 0}}function m(Ge){return Pt;function Pt(br){if(Ge)Ge.call(this,br);g.call(this,br)}}function g(Ge,Pt){let br=this.stack.pop(),Fr=this.tokenStack.pop();if(!Fr)throw Error("Cannot close `"+Ge.type+"` ("+U8({start:Ge.start,end:Ge.end})+"): it’s not open");else if(Fr[0].type!==Ge.type)if(Pt)Pt.call(this,Ge,Fr[0]);else(Fr[1]||Bve).call(this,Ge,Fr[0]);br.position.end=V8(Ge.end)}function M(){return DW(this.stack.pop())}function v(){this.data.expectingFirstListItemValue=!0}function y(Ge){if(this.data.expectingFirstListItemValue){let Pt=this.stack[this.stack.length-2];Pt.start=Number.parseInt(this.sliceSerialize(Ge),10),this.data.expectingFirstListItemValue=void 0}}function x(){let Ge=this.resume(),Pt=this.stack[this.stack.length-1];Pt.lang=Ge}function _(){let Ge=this.resume(),Pt=this.stack[this.stack.length-1];Pt.meta=Ge}function j(){if(this.data.flowCodeInside)return;this.buffer(),this.data.flowCodeInside=!0}function U(){let Ge=this.resume(),Pt=this.stack[this.stack.length-1];Pt.value=Ge.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function T(){let Ge=this.resume(),Pt=this.stack[this.stack.length-1];Pt.value=Ge.replace(/(\r?\n|\r)$/g,"")}function N(Ge){let Pt=this.resume(),br=this.stack[this.stack.length-1];br.label=Pt,br.identifier=pM(this.sliceSerialize(Ge)).toLowerCase()}function G(){let Ge=this.resume(),Pt=this.stack[this.stack.length-1];Pt.title=Ge}function X(){let Ge=this.resume(),Pt=this.stack[this.stack.length-1];Pt.url=Ge}function J(Ge){let Pt=this.stack[this.stack.length-1];if(!Pt.depth){let br=this.sliceSerialize(Ge).length;Pt.depth=br}}function ee(){this.data.setextHeadingSlurpLineEnding=!0}function re(Ge){let Pt=this.stack[this.stack.length-1];Pt.depth=this.sliceSerialize(Ge).codePointAt(0)===61?1:2}function oe(){this.data.setextHeadingSlurpLineEnding=void 0}function ie(Ge){let br=this.stack[this.stack.length-1].children,Fr=br[br.length-1];if(!Fr||Fr.type!=="text")Fr=sn(),Fr.position={start:V8(Ge.start),end:void 0},br.push(Fr);this.stack.push(Fr)}function ye(Ge){let Pt=this.stack.pop();Pt.value+=this.sliceSerialize(Ge),Pt.position.end=V8(Ge.end)}function We(Ge){let Pt=this.stack[this.stack.length-1];if(this.data.atHardBreak){let br=Pt.children[Pt.children.length-1];br.position.end=V8(Ge.end),this.data.atHardBreak=void 0;return}if(!this.data.setextHeadingSlurpLineEnding&&r.canContainEols.includes(Pt.type))ie.call(this,Ge),ye.call(this,Ge)}function Ye(){this.data.atHardBreak=!0}function Se(){let Ge=this.resume(),Pt=this.stack[this.stack.length-1];Pt.value=Ge}function He(){let Ge=this.resume(),Pt=this.stack[this.stack.length-1];Pt.value=Ge}function ut(){let Ge=this.resume(),Pt=this.stack[this.stack.length-1];Pt.value=Ge}function Ke(){let Ge=this.stack[this.stack.length-1];if(this.data.inReference){let Pt=this.data.referenceType||"shortcut";Ge.type+="Reference",Ge.referenceType=Pt,delete Ge.url,delete Ge.title}else delete Ge.identifier,delete Ge.label;this.data.referenceType=void 0}function yt(){let Ge=this.stack[this.stack.length-1];if(this.data.inReference){let Pt=this.data.referenceType||"shortcut";Ge.type+="Reference",Ge.referenceType=Pt,delete Ge.url,delete Ge.title}else delete Ge.identifier,delete Ge.label;this.data.referenceType=void 0}function At(Ge){let Pt=this.sliceSerialize(Ge),br=this.stack[this.stack.length-2];br.label=Fve(Pt),br.identifier=pM(Pt).toLowerCase()}function jt(){let Ge=this.stack[this.stack.length-1],Pt=this.resume(),br=this.stack[this.stack.length-1];if(this.data.inReference=!0,br.type==="link"){let Fr=Ge.children;br.children=Fr}else br.alt=Pt}function de(){let Ge=this.resume(),Pt=this.stack[this.stack.length-1];Pt.url=Ge}function bt(){let Ge=this.resume(),Pt=this.stack[this.stack.length-1];Pt.title=Ge}function Wt(){this.data.inReference=void 0}function je(){this.data.referenceType="collapsed"}function sr(Ge){let Pt=this.resume(),br=this.stack[this.stack.length-1];br.label=Pt,br.identifier=pM(this.sliceSerialize(Ge)).toLowerCase(),this.data.referenceType="full"}function cr(Ge){this.data.characterReferenceType=Ge.type}function rr(Ge){let Pt=this.sliceSerialize(Ge),br=this.data.characterReferenceType,Fr;if(br)Fr=CF(Pt,br==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0;else Fr=rP(Pt);let ao=this.stack[this.stack.length-1];ao.value+=Fr}function Or(Ge){let Pt=this.stack.pop();Pt.position.end=V8(Ge.end)}function Gt(Ge){ye.call(this,Ge);let Pt=this.stack[this.stack.length-1];Pt.url=this.sliceSerialize(Ge)}function Qt(Ge){ye.call(this,Ge);let Pt=this.stack[this.stack.length-1];Pt.url="mailto:"+this.sliceSerialize(Ge)}function Tr(){return{type:"blockquote",children:[]}}function Cr(){return{type:"code",lang:null,meta:null,value:""}}function Ar(){return{type:"inlineCode",value:""}}function dr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function uo(){return{type:"emphasis",children:[]}}function lo(){return{type:"heading",depth:0,children:[]}}function da(){return{type:"break"}}function ir(){return{type:"html",value:""}}function io(){return{type:"image",title:null,url:"",alt:null}}function Yr(){return{type:"link",title:null,url:"",children:[]}}function To(Ge){return{type:"list",ordered:Ge.type==="listOrdered",start:null,spread:Ge._spread,children:[]}}function an(Ge){return{type:"listItem",spread:Ge._spread,checked:null,children:[]}}function Ho(){return{type:"paragraph",children:[]}}function En(){return{type:"strong",children:[]}}function sn(){return{type:"text",value:""}}function Bi(){return{type:"thematicBreak"}}}function V8(e){return{line:e.line,column:e.column,offset:e.offset}}function Uve(e,r){let a=-1;while(++a<r.length){let i=r[a];if(Array.isArray(i))Uve(e,i);else wkt(e,i)}}function wkt(e,r){let a;for(a in r)if(Yve.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 Bve(e,r){if(e)throw Error("Cannot close `"+e.type+"` ("+U8({start:e.start,end:e.end})+"): a different token (`"+r.type+"`, "+U8({start:r.start,end:r.end})+") is open");else throw Error("Cannot close document, a token (`"+r.type+"`, "+U8({start:r.start,end:r.end})+") is still open")}function NF(e){let r=this;r.parser=a;function a(i){return eG(i,{...r.data("settings"),...e,extensions:r.data("micromarkExtensions")||[],mdastExtensions:r.data("fromMarkdownExtensions")||[]})}}var FF=-1,aP=0,RL=1,nP=2,rO=3,oO=4,aO=5,nO=6,BF=7,YF=8;var{defineProperty:zkt}=Object,Hve=typeof self==="object"?self:globalThis,qve=(e,r)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw TypeError("unable to deserialize "+e)}return new Hve[e](r)},Skt=(e,r)=>{let a=(s,l)=>(e.set(l,s),s),i=(s)=>{if(e.has(s))return e.get(s);let[l,c]=r[s];switch(l){case aP:case FF:return a(c,s);case RL:{let d=a([],s);for(let m of c)d.push(i(m));return d}case nP:{let d=a({},s);for(let[m,g]of c){let M=i(m),v=i(g);if(M==="__proto__")zkt(d,M,{value:v,configurable:!0,enumerable:!0,writable:!0});else d[M]=v}return d}case rO:return a(new Date(c),s);case oO:{let{source:d,flags:m}=c;return a(new RegExp(d,m),s)}case aO:{let d=a(new Map,s);for(let[m,g]of c)d.set(i(m),i(g));return d}case nO:{let d=a(new Set,s);for(let m of c)d.add(i(m));return d}case BF:{let{name:d,message:m}=c;return a(typeof Hve[d]==="function"?qve(d,m):Error(m),s)}case YF:return a(BigInt(c),s);case"BigInt":return a(Object(BigInt(c)),s);case"ArrayBuffer":return a(new Uint8Array(c).buffer,c);case"DataView":{let{buffer:d}=new Uint8Array(c);return a(new DataView(d),c)}case"-0":return-0}return a(qve(l,c),s)};return i},tG=(e)=>Skt(new Map,e)(0);var PL="",{toString:Lkt}={},{keys:kkt,is:Ckt}=Object,iO=(e)=>{let r=typeof e;if(r!=="object"||!e)return[aP,r];let a=Lkt.call(e).slice(8,-1);switch(a){case"Array":return[RL,PL];case"Object":return[nP,PL];case"Date":return[rO,PL];case"RegExp":return[oO,PL];case"Map":return[aO,PL];case"Set":return[nO,PL];case"DataView":return[RL,a]}if(a.includes("Array"))return[RL,a];if(e instanceof Error)return[BF,e.name||"Error"];return[nP,a]},UF=([e,r])=>e===aP&&(r==="function"||r==="symbol"),Ikt=(e,r,a,i)=>{let s=(c,d)=>{let m=i.push(c)-1;return a.set(d,m),m},l=(c)=>{if(a.has(c))return a.get(c);let[d,m]=iO(c);switch(d){case aP:{let M=c;switch(m){case"bigint":d=YF,M=c.toString();break;case"number":if(!c&&Ckt(c,-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 s([FF],c)}return s([d,M],c)}case RL:{if(m){let y=c;if(m==="DataView")y=new Uint8Array(c.buffer);else if(m==="ArrayBuffer")y=new Uint8Array(c);return s([m,[...y]],c)}let M=[],v=s([d,M],c);for(let y of c)M.push(l(y));return v}case nP:{if(m)switch(m){case"BigInt":return s([m,c.toString()],c);case"Boolean":case"Number":case"String":return s([m,c.valueOf()],c)}if(r&&"toJSON"in c)return l(c.toJSON());let M=[],v=s([d,M],c);for(let y of kkt(c))if(e||!UF(iO(c[y])))M.push([l(y),l(c[y])]);return v}case rO:return s([d,isNaN(c.getTime())?PL:c.toISOString()],c);case oO:{let{source:M,flags:v}=c;return s([d,{source:M,flags:v}],c)}case aO:{let M=[],v=s([d,M],c);for(let[y,x]of c)if(e||!(UF(iO(y))||UF(iO(x))))M.push([l(y),l(x)]);return v}case nO:{let M=[],v=s([d,M],c);for(let y of c)if(e||!UF(iO(y)))M.push(l(y));return v}}let{message:g}=c;return s([d,{name:m,message:g}],c)};return l},rG=(e,{json:r,lossy:a}={})=>{let i=[];return Ikt(!(r||a),!!r,new Map,i)(e),i};var iP=typeof structuredClone==="function"?(e,r)=>r&&(("json"in r)||("lossy"in r))?tG(rG(e,r)):structuredClone(e):(e,r)=>tG(rG(e,r));function Rkt(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 Pkt(e,r){return"Back to reference "+(e+1)+(r>1?"-"+r:"")}function Vve(e){let r=typeof e.options.clobberPrefix==="string"?e.options.clobberPrefix:"user-content-",a=e.options.footnoteBackContent||Rkt,i=e.options.footnoteBackLabel||Pkt,s=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",c=e.options.footnoteLabelProperties||{className:["sr-only"]},d=[],m=-1;while(++m<e.footnoteOrder.length){let g=e.footnoteById.get(e.footnoteOrder[m]);if(!g)continue;let M=e.all(g),v=String(g.identifier).toUpperCase(),y=Sc(v.toLowerCase()),x=0,_=[],j=e.footnoteCounts.get(v);while(j!==void 0&&++x<=j){if(_.length>0)_.push({type:"text",value:" "});let N=typeof a==="string"?a:a(m,x);if(typeof N==="string")N={type:"text",value:N};_.push({type:"element",tagName:"a",properties:{href:"#"+r+"fnref-"+y+(x>1?"-"+x:""),dataFootnoteBackref:"",ariaLabel:typeof i==="string"?i:i(m,x),className:["data-footnote-backref"]},children:Array.isArray(N)?N:[N]})}let U=M[M.length-1];if(U&&U.type==="element"&&U.tagName==="p"){let N=U.children[U.children.length-1];if(N&&N.type==="text")N.value+=" ";else U.children.push({type:"text",value:" "});U.children.push(..._)}else M.push(..._);let T={type:"element",tagName:"li",properties:{id:r+"fn-"+y},children:e.wrap(M,!0)};e.patch(g,T),d.push(T)}if(d.length===0)return;return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...iP(c),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
201
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(d,!0)},{type:"text",value:`
202
+ `}]}}var qF=function(e){if(e===null||e===void 0)return Dkt;if(typeof e==="function")return HF(e);if(typeof e==="object")return Array.isArray(e)?Tkt(e):Akt(e);if(typeof e==="string")return Ekt(e);throw Error("Expected function, string, or object as test")};function Tkt(e){let r=[],a=-1;while(++a<e.length)r[a]=qF(e[a]);return HF(i);function i(...s){let l=-1;while(++l<r.length)if(r[l].apply(this,s))return!0;return!1}}function Akt(e){let r=e;return HF(a);function a(i){let s=i,l;for(l in e)if(s[l]!==r[l])return!1;return!0}}function Ekt(e){return HF(r);function r(a){return a&&a.type===e}}function HF(e){return r;function r(a,i,s){return Boolean(Okt(a)&&e.call(this,a,typeof i==="number"?i:void 0,s||void 0))}}function Dkt(){return!0}function Okt(e){return e!==null&&typeof e==="object"&&"type"in e}function Wve(e){return e}var Gve=[],oG=!0,VF=!1,aG="skip";function nG(e,r,a,i){let s;if(typeof r==="function"&&typeof a!=="function")i=a,a=r;else s=r;let l=qF(s),c=i?-1:1;d(e,void 0,[])();function d(m,g,M){let v=m&&typeof m==="object"?m:{};if(typeof v.type==="string"){let x=typeof v.tagName==="string"?v.tagName:typeof v.name==="string"?v.name:void 0;Object.defineProperty(y,"name",{value:"node ("+Wve(m.type+(x?"<"+x+">":""))+")"})}return y;function y(){let x=Gve,_,j,U;if(!r||l(m,g,M[M.length-1]||void 0)){if(x=jkt(a(m,M)),x[0]===VF)return x}if("children"in m&&m.children){let T=m;if(T.children&&x[0]!==aG){j=(i?T.children.length:-1)+c,U=M.concat(T);while(j>-1&&j<T.children.length){let N=T.children[j];if(_=d(N,j,U)(),_[0]===VF)return _;j=typeof _[1]==="number"?_[1]:j+c}}}return x}}}function jkt(e){if(Array.isArray(e))return e;if(typeof e==="number")return[oG,e];return e===null||e===void 0?Gve:[e]}function fO(e,r,a,i){let s,l,c;if(typeof r==="function"&&typeof a!=="function")l=void 0,c=r,s=a;else l=r,c=a,s=i;nG(e,l,d,s);function d(m,g){let M=g[g.length-1],v=M?M.children.indexOf(m):void 0;return c(m,v,M)}}function Kve(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 Xve(e,r){let a={type:"element",tagName:"br",properties:{},children:[]};return e.patch(r,a),[e.applyData(r,a),{type:"text",value:`
203
+ `}]}function Qve(e,r){let a=r.value?r.value+`
204
+ `:"",i={},s=r.lang?r.lang.split(/\s+/):[];if(s.length>0)i.className=["language-"+s[0]];let l={type:"element",tagName:"code",properties:i,children:[{type:"text",value:a}]};if(r.meta)l.data={meta:r.meta};return e.patch(r,l),l=e.applyData(r,l),l={type:"element",tagName:"pre",properties:{},children:[l]},e.patch(r,l),l}function Jve(e,r){let a={type:"element",tagName:"del",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function $ve(e,r){let a={type:"element",tagName:"em",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function e8e(e,r){let a=typeof e.options.clobberPrefix==="string"?e.options.clobberPrefix:"user-content-",i=String(r.identifier).toUpperCase(),s=Sc(i.toLowerCase()),l=e.footnoteOrder.indexOf(i),c,d=e.footnoteCounts.get(i);if(d===void 0)d=0,e.footnoteOrder.push(i),c=e.footnoteOrder.length;else c=l+1;d+=1,e.footnoteCounts.set(i,d);let m={type:"element",tagName:"a",properties:{href:"#"+a+"fn-"+s,id:a+"fnref-"+s+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(c)}]};e.patch(r,m);let g={type:"element",tagName:"sup",properties:{},children:[m]};return e.patch(r,g),e.applyData(r,g)}function t8e(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 r8e(e,r){if(e.options.allowDangerousHtml){let a={type:"raw",value:r.value};return e.patch(r,a),e.applyData(r,a)}return}function WF(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 s=e.all(r),l=s[0];if(l&&l.type==="text")l.value="["+l.value;else s.unshift({type:"text",value:"["});let c=s[s.length-1];if(c&&c.type==="text")c.value+=i;else s.push({type:"text",value:i});return s}function o8e(e,r){let a=String(r.identifier).toUpperCase(),i=e.definitionById.get(a);if(!i)return WF(e,r);let s={src:Sc(i.url||""),alt:r.alt};if(i.title!==null&&i.title!==void 0)s.title=i.title;let l={type:"element",tagName:"img",properties:s,children:[]};return e.patch(r,l),e.applyData(r,l)}function a8e(e,r){let a={src:Sc(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 n8e(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 i8e(e,r){let a=String(r.identifier).toUpperCase(),i=e.definitionById.get(a);if(!i)return WF(e,r);let s={href:Sc(i.url||"")};if(i.title!==null&&i.title!==void 0)s.title=i.title;let l={type:"element",tagName:"a",properties:s,children:e.all(r)};return e.patch(r,l),e.applyData(r,l)}function f8e(e,r){let a={href:Sc(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 s8e(e,r,a){let i=e.all(r),s=a?Nkt(a):l8e(r),l={},c=[];if(typeof r.checked==="boolean"){let M=i[0],v;if(M&&M.type==="element"&&M.tagName==="p")v=M;else v={type:"element",tagName:"p",properties:{},children:[]},i.unshift(v);if(v.children.length>0)v.children.unshift({type:"text",value:" "});v.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:r.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let d=-1;while(++d<i.length){let M=i[d];if(s||d!==0||M.type!=="element"||M.tagName!=="p")c.push({type:"text",value:`
205
+ `});if(M.type==="element"&&M.tagName==="p"&&!s)c.push(...M.children);else c.push(M)}let m=i[i.length-1];if(m&&(s||m.type!=="element"||m.tagName!=="p"))c.push({type:"text",value:`
206
+ `});let g={type:"element",tagName:"li",properties:l,children:c};return e.patch(r,g),e.applyData(r,g)}function Nkt(e){let r=!1;if(e.type==="list"){r=e.spread||!1;let a=e.children,i=-1;while(!r&&++i<a.length)r=l8e(a[i])}return r}function l8e(e){let r=e.spread;return r===null||r===void 0?e.children.length>1:r}function c8e(e,r){let a={},i=e.all(r),s=-1;if(typeof r.start==="number"&&r.start!==1)a.start=r.start;while(++s<i.length){let c=i[s];if(c.type==="element"&&c.tagName==="li"&&c.properties&&Array.isArray(c.properties.className)&&c.properties.className.includes("task-list-item")){a.className=["contains-task-list"];break}}let l={type:"element",tagName:r.ordered?"ol":"ul",properties:a,children:e.wrap(i,!0)};return e.patch(r,l),e.applyData(r,l)}function u8e(e,r){let a={type:"element",tagName:"p",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function d8e(e,r){let a={type:"root",children:e.wrap(e.all(r))};return e.patch(r,a),e.applyData(r,a)}function Z8e(e,r){let a={type:"element",tagName:"strong",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function p8e(e,r){let a=e.all(r),i=a.shift(),s=[];if(i){let c={type:"element",tagName:"thead",properties:{},children:e.wrap([i],!0)};e.patch(r.children[0],c),s.push(c)}if(a.length>0){let c={type:"element",tagName:"tbody",properties:{},children:e.wrap(a,!0)},d=tP(r.children[1]),m=kF(r.children[r.children.length-1]);if(d&&m)c.position={start:d,end:m};s.push(c)}let l={type:"element",tagName:"table",properties:{},children:e.wrap(s,!0)};return e.patch(r,l),e.applyData(r,l)}function m8e(e,r,a){let i=a?a.children:void 0,l=(i?i.indexOf(r):1)===0?"th":"td",c=a&&a.type==="table"?a.align:void 0,d=c?c.length:r.children.length,m=-1,g=[];while(++m<d){let v=r.children[m],y={},x=c?c[m]:void 0;if(x)y.align=x;let _={type:"element",tagName:l,properties:y,children:[]};if(v)_.children=e.all(v),e.patch(v,_),_=e.applyData(v,_);g.push(_)}let M={type:"element",tagName:"tr",properties:{},children:e.wrap(g,!0)};return e.patch(r,M),e.applyData(r,M)}function h8e(e,r){let a={type:"element",tagName:"td",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function M8e(e){let r=String(e),a=/\r?\n|\r/g,i=a.exec(r),s=0,l=[];while(i)l.push(g8e(r.slice(s,i.index),s>0,!0),i[0]),s=i.index+i[0].length,i=a.exec(r);return l.push(g8e(r.slice(s),s>0,!1)),l.join("")}function g8e(e,r,a){let i=0,s=e.length;if(r){let l=e.codePointAt(i);while(l===9||l===32)i++,l=e.codePointAt(i)}if(a){let l=e.codePointAt(s-1);while(l===9||l===32)s--,l=e.codePointAt(s-1)}return s>i?e.slice(i,s):""}function v8e(e,r){let a={type:"text",value:M8e(String(r.value))};return e.patch(r,a),e.applyData(r,a)}function x8e(e,r){let a={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(r,a),e.applyData(r,a)}var y8e={blockquote:Kve,break:Xve,code:Qve,delete:Jve,emphasis:$ve,footnoteReference:e8e,heading:t8e,html:r8e,imageReference:o8e,image:a8e,inlineCode:n8e,linkReference:i8e,link:f8e,listItem:s8e,list:c8e,paragraph:u8e,root:d8e,strong:Z8e,table:p8e,tableCell:h8e,tableRow:m8e,text:v8e,thematicBreak:x8e,toml:GF,yaml:GF,definition:GF,footnoteDefinition:GF};function GF(){return}var iG={}.hasOwnProperty,Fkt={};function _8e(e,r){let a=r||Fkt,i=new Map,s=new Map,l=new Map,c={...y8e,...a.handlers},d={all:g,applyData:Ykt,definitionById:i,footnoteById:s,footnoteCounts:l,footnoteOrder:[],handlers:c,one:m,options:a,patch:Bkt,wrap:qkt};return fO(e,function(M){if(M.type==="definition"||M.type==="footnoteDefinition"){let v=M.type==="definition"?i:s,y=String(M.identifier).toUpperCase();if(!v.has(y))v.set(y,M)}}),d;function m(M,v){let y=M.type,x=d.handlers[y];if(iG.call(d.handlers,y)&&x)return x(d,M,v);if(d.options.passThrough&&d.options.passThrough.includes(y)){if("children"in M){let{children:j,...U}=M,T=iP(U);return T.children=d.all(M),T}return iP(M)}return(d.options.unknownHandler||Ukt)(d,M,v)}function g(M){let v=[];if("children"in M){let y=M.children,x=-1;while(++x<y.length){let _=d.one(y[x],M);if(_){if(x&&y[x-1].type==="break"){if(!Array.isArray(_)&&_.type==="text")_.value=b8e(_.value);if(!Array.isArray(_)&&_.type==="element"){let j=_.children[0];if(j&&j.type==="text")j.value=b8e(j.value)}}if(Array.isArray(_))v.push(..._);else v.push(_)}}}return v}}function Bkt(e,r){if(e.position)r.position=IW(e)}function Ykt(e,r){let a=r;if(e&&e.data){let i=e.data.hName,s=e.data.hChildren,l=e.data.hProperties;if(typeof i==="string")if(a.type==="element")a.tagName=i;else{let c="children"in a?a.children:[a];a={type:"element",tagName:i,properties:{},children:c}}if(a.type==="element"&&l)Object.assign(a.properties,iP(l));if("children"in a&&a.children&&s!==null&&s!==void 0)a.children=s}return a}function Ukt(e,r){let a=r.data||{},i="value"in r&&!(iG.call(a,"hProperties")||iG.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 qkt(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 b8e(e){let r=0,a=e.charCodeAt(r);while(a===9||a===32)r++,a=e.charCodeAt(r);return e.slice(r)}function KF(e,r){let a=_8e(e,r),i=a.one(e,void 0),s=Vve(a),l=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};if(s)Ss("children"in l),l.children.push({type:"text",value:`
210
+ `},s);return l}function XF(e,r){if(e&&"run"in e)return async function(a,i){let s=KF(a,{file:i,...r});await e.run(s,i)};return function(a,i){return KF(a,{file:i,...e||r})}}function fG(e){if(e)throw e}var $F=z(P8e(),1);function sO(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 sG(){let e=[],r={run:a,use:i};return r;function a(...s){let l=-1,c=s.pop();if(typeof c!=="function")throw TypeError("Expected function as last argument, not "+c);d(null,...s);function d(m,...g){let M=e[++l],v=-1;if(m){c(m);return}while(++v<s.length)if(g[v]===null||g[v]===void 0)g[v]=s[v];if(s=g,M)T8e(M,d)(...g);else c(null,...g)}}function i(s){if(typeof s!=="function")throw TypeError("Expected `middelware` to be a function, not "+s);return e.push(s),r}}function T8e(e,r){let a;return i;function i(...c){let d=e.length>c.length,m;if(d)c.push(s);try{m=e.apply(this,c)}catch(g){let M=g;if(d&&a)throw M;return s(M)}if(!d)if(m&&m.then&&typeof m.then==="function")m.then(l,s);else if(m instanceof Error)s(m);else l(m)}function s(c,...d){if(!a)a=!0,r(c,...d)}function l(c){s(null,c)}}var Lu={basename:Hkt,dirname:Vkt,extname:Wkt,join:Gkt,sep:"/"};function Hkt(e,r){if(r!==void 0&&typeof r!=="string")throw TypeError('"ext" argument must be a string');lO(e);let a=0,i=-1,s=e.length,l;if(r===void 0||r.length===0||r.length>e.length){while(s--)if(e.codePointAt(s)===47){if(l){a=s+1;break}}else if(i<0)l=!0,i=s+1;return i<0?"":e.slice(a,i)}if(r===e)return"";let c=-1,d=r.length-1;while(s--)if(e.codePointAt(s)===47){if(l){a=s+1;break}}else{if(c<0)l=!0,c=s+1;if(d>-1)if(e.codePointAt(s)===r.codePointAt(d--)){if(d<0)i=s}else d=-1,i=c}if(a===i)i=c;else if(i<0)i=e.length;return e.slice(a,i)}function Vkt(e){if(lO(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 Wkt(e){lO(e);let r=e.length,a=-1,i=0,s=-1,l=0,c;while(r--){let d=e.codePointAt(r);if(d===47){if(c){i=r+1;break}continue}if(a<0)c=!0,a=r+1;if(d===46){if(s<0)s=r;else if(l!==1)l=1}else if(s>-1)l=-1}if(s<0||a<0||l===0||l===1&&s===a-1&&s===i+1)return"";return e.slice(s,a)}function Gkt(...e){let r=-1,a;while(++r<e.length)if(lO(e[r]),e[r])a=a===void 0?e[r]:a+"/"+e[r];return a===void 0?".":Kkt(a)}function Kkt(e){lO(e);let r=e.codePointAt(0)===47,a=Xkt(e,!r);if(a.length===0&&!r)a=".";if(a.length>0&&e.codePointAt(e.length-1)===47)a+="/";return r?"/"+a:a}function Xkt(e,r){let a="",i=0,s=-1,l=0,c=-1,d,m;while(++c<=e.length){if(c<e.length)d=e.codePointAt(c);else if(d===47)break;else d=47;if(d===47){if(s===c-1||l===1);else if(s!==c-1&&l===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("/");s=c,l=0;continue}}else if(a.length>0){a="",i=0,s=c,l=0;continue}}if(r)a=a.length>0?a+"/..":"..",i=2}else{if(a.length>0)a+="/"+e.slice(s+1,c);else a=e.slice(s+1,c);i=c-s-1}s=c,l=0}else if(d===46&&l>-1)l++;else l=-1}return a}function lO(e){if(typeof e!=="string")throw TypeError("Path must be a string. Received "+JSON.stringify(e))}var A8e={cwd:Qkt};function Qkt(){return"/"}function fP(e){return Boolean(e!==null&&typeof e==="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function E8e(e){if(typeof e==="string")e=new URL(e);else if(!fP(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 Jkt(e)}function Jkt(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 s=TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(r)}var lG=["history","path","basename","stem","extname","dirname"];class sP{constructor(e){let r;if(!e)r={};else if(fP(e))r={path:e};else if(typeof e==="string"||$kt(e))r={value:e};else r=e;this.cwd="cwd"in r?"":A8e.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;while(++a<lG.length){let s=lG[a];if(s in r&&r[s]!==void 0&&r[s]!==null)this[s]=s==="history"?[...r[s]]:r[s]}let i;for(i in r)if(!lG.includes(i))this[i]=r[i]}get basename(){return typeof this.path==="string"?Lu.basename(this.path):void 0}set basename(e){uG(e,"basename"),cG(e,"basename"),this.path=Lu.join(this.dirname||"",e)}get dirname(){return typeof this.path==="string"?Lu.dirname(this.path):void 0}set dirname(e){D8e(this.basename,"dirname"),this.path=Lu.join(e||"",this.basename)}get extname(){return typeof this.path==="string"?Lu.extname(this.path):void 0}set extname(e){if(cG(e,"extname"),D8e(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=Lu.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){if(fP(e))e=E8e(e);if(uG(e,"path"),this.path!==e)this.history.push(e)}get stem(){return typeof this.path==="string"?Lu.basename(this.path,this.extname):void 0}set stem(e){uG(e,"stem"),cG(e,"stem"),this.path=Lu.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 Zi(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 cG(e,r){if(e&&e.includes(Lu.sep))throw Error("`"+r+"` cannot be a path: did not expect `"+Lu.sep+"`")}function uG(e,r){if(!e)throw Error("`"+r+"` cannot be empty")}function D8e(e,r){if(!e)throw Error("Setting `"+r+"` requires `path` to be set too")}function $kt(e){return Boolean(e&&typeof e==="object"&&"byteLength"in e&&"byteOffset"in e)}var O8e=function(e){let i=this.constructor.prototype,s=i[e],l=function(){return s.apply(l,arguments)};return Object.setPrototypeOf(l,i),l};var e1t={}.hasOwnProperty;class mG extends O8e{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=sG()}copy(){let e=new mG,r=-1;while(++r<this.attachers.length){let a=this.attachers[r];e.use(...a)}return e.data($F.default(!0,{},this.namespace)),e}data(e,r){if(typeof e==="string"){if(arguments.length===2)return pG("data",this.frozen),this.namespace[e]=r,this;return e1t.call(this.namespace,e)&&this.namespace[e]||void 0}if(e)return pG("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=JF(e),a=this.parser||this.Parser;return dG("parse",a),a(String(r),r)}process(e,r){let a=this;return this.freeze(),dG("process",this.parser||this.Parser),ZG("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(s,l){let c=JF(e),d=a.parse(c);a.run(d,c,function(g,M,v){if(g||!M||!v)return m(g);let y=M,x=a.stringify(y,v);if(r1t(x))v.value=x;else v.result=x;m(g,v)});function m(g,M){if(g||!M)l(g);else if(s)s(M);else Ss(r,"`done` is defined if `resolve` is not"),r(void 0,M)}}}processSync(e){let r=!1,a;return this.freeze(),dG("processSync",this.parser||this.Parser),ZG("processSync",this.compiler||this.Compiler),this.process(e,i),N8e("processSync","process",r),Ss(a,"we either bailed on an error or have a tree"),a;function i(s,l){r=!0,fG(s),a=l}}run(e,r,a){j8e(e),this.freeze();let i=this.transformers;if(!a&&typeof r==="function")a=r,r=void 0;return a?s(void 0,a):new Promise(s);function s(l,c){Ss(typeof r!=="function","`file` can’t be a `done` anymore, we checked");let d=JF(r);i.run(e,d,m);function m(g,M,v){let y=M||e;if(g)c(g);else if(l)l(y);else Ss(a,"`done` is defined if `resolve` is not"),a(void 0,y,v)}}}runSync(e,r){let a=!1,i;return this.run(e,r,s),N8e("runSync","run",a),Ss(i,"we either bailed on an error or have a tree"),i;function s(l,c){fG(l),i=c,a=!0}}stringify(e,r){this.freeze();let a=JF(r),i=this.compiler||this.Compiler;return ZG("stringify",i),j8e(e),i(e,a)}use(e,...r){let a=this.attachers,i=this.namespace;if(pG("use",this.frozen),e===null||e===void 0);else if(typeof e==="function")d(e,r);else if(typeof e==="object")if(Array.isArray(e))c(e);else l(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function s(m){if(typeof m==="function")d(m,[]);else if(typeof m==="object")if(Array.isArray(m)){let[g,...M]=m;d(g,M)}else l(m);else throw TypeError("Expected usable value, not `"+m+"`")}function l(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(c(m.plugins),m.settings)i.settings=$F.default(!0,i.settings,m.settings)}function c(m){let g=-1;if(m===null||m===void 0);else if(Array.isArray(m))while(++g<m.length){let M=m[g];s(M)}else throw TypeError("Expected a list of plugins, not `"+m+"`")}function d(m,g){let M=-1,v=-1;while(++M<a.length)if(a[M][0]===m){v=M;break}if(v===-1)a.push([m,...g]);else if(g.length>0){let[y,...x]=g,_=a[v][1];if(sO(_)&&sO(y))y=$F.default(!0,_,y);a[v]=[m,y,...x]}}}}var hG=new mG().freeze();function dG(e,r){if(typeof r!=="function")throw TypeError("Cannot `"+e+"` without `parser`")}function ZG(e,r){if(typeof r!=="function")throw TypeError("Cannot `"+e+"` without `compiler`")}function pG(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 j8e(e){if(!sO(e)||typeof e.type!=="string")throw TypeError("Expected node, got `"+e+"`")}function N8e(e,r,a){if(!a)throw Error("`"+e+"` finished async. Use `"+r+"` instead")}function JF(e){return t1t(e)?e:new sP(e)}function t1t(e){return Boolean(e&&typeof e==="object"&&"message"in e&&"messages"in e)}function r1t(e){return typeof e==="string"||o1t(e)}function o1t(e){return Boolean(e&&typeof e==="object"&&"byteLength"in e&&"byteOffset"in e)}var a1t="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",F8e=[],B8e={allowDangerousHtml:!0},n1t=/^(https?|ircs?|mailto|xmpp)$/i,i1t=[{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 Co(e){let r=f1t(e),a=s1t(e);return l1t(r.runSync(r.parse(a),a),e)}function f1t(e){let r=e.rehypePlugins||F8e,a=e.remarkPlugins||F8e,i=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...B8e}:B8e;return hG().use(NF).use(a).use(XF,i).use(r)}function s1t(e){let r=e.children||"",a=new sP;if(typeof r==="string")a.value=r;else bF("Unexpected value `"+r+"` for `children` prop, expected `string`");return a}function l1t(e,r){let{allowedElements:a,allowElement:i,components:s,disallowedElements:l,skipHtml:c,unwrapDisallowed:d}=r,m=r.urlTransform||Y8e;for(let M of i1t)if(Object.hasOwn(r,M.from))bF("Unexpected `"+M.from+"` prop, "+(M.to?"use `"+M.to+"` instead":"remove it")+" (see <"+a1t+"#"+M.id+"> for more info)");if(a&&l)bF("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other");return fO(e,g),TW(e,{Fragment:L,components:s,ignoreInvalidStyle:!0,jsx:t,jsxs:o,passKeys:!0,passNode:!0});function g(M,v,y){if(M.type==="raw"&&y&&typeof v==="number"){if(c)y.children.splice(v,1);else y.children[v]={type:"text",value:M.value};return v}if(M.type==="element"){let x;for(x in KD)if(Object.hasOwn(KD,x)&&Object.hasOwn(M.properties,x)){let _=M.properties[x],j=KD[x];if(j===null||j.includes(M.tagName))M.properties[x]=m(String(_||""),x,M)}}if(M.type==="element"){let x=a?!a.includes(M.tagName):l?l.includes(M.tagName):!1;if(!x&&i&&typeof v==="number")x=!i(M,v,y);if(x&&y&&typeof v==="number"){if(d&&M.children)y.children.splice(v,1,...M.children);else y.children.splice(v,1);return v}}}}function Y8e(e){let r=e.indexOf(":"),a=e.indexOf("?"),i=e.indexOf("#"),s=e.indexOf("/");if(r===-1||s!==-1&&r>s||a!==-1&&r>a||i!==-1&&r>i||n1t.test(e.slice(0,r)))return e;return""}var c1t=/\.(png|jpe?g|webp|gif|svg|avif|bmp|ico)$/i;function js(e){if(!e)return!1;return c1t.test(e)}function Kd(e,r){if(!e||e.length===0)return null;let a=[...e].sort((s,l)=>{let c=s.width??0;return(l.width??0)-c}),i=a.filter((s)=>(s.width??0)>=r);if(i.length>0)return i.sort((s,l)=>{let c=s.width??0,d=l.width??0;return c-d}),i[0];return a[0]}function U8e({teamId:e,taskId:r,comment:a,currentUserId:i,isOwnerOrAdmin:s}){let l=Q(),[c,d]=u(!1),[m,g]=u(null),M=s||a.author.id===i,{mutate:v,isPending:y}=B({mutationFn:async()=>{let _=await A.api.teams[":teamId"].kanban.tasks[":taskId"].comments[":commentId"].$delete({param:{teamId:e,taskId:r,commentId:a.id}});if(!_.ok){let j=await _.json().catch(()=>({message:Tn()}));throw Error(j.message||Tn())}return await _.json()},onSuccess:()=>{l.invalidateQueries({queryKey:["teams",e,"kanban","tasks",r,"comments"]}),l.invalidateQueries({queryKey:["teams",e,"kanban","task",r]}),l.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]}),k.success("Comment deleted"),d(!1)},onError:(_)=>{k.error(_.message)}}),x=(a.author.name||"U").split(" ").map((_)=>_[0]).slice(0,2).join("").toUpperCase();return o("div",{className:"relative flex gap-3 p-3 rounded-xl border border-transparent bg-foreground/[0.03] dark:bg-foreground/[0.08] hover:bg-foreground/[0.06] dark:hover:bg-foreground/[0.12] transition-colors group w-full max-w-full overflow-hidden",children:[o(Ce,{className:"w-7 h-7 shrink-0 mt-0.5 border border-border",children:[a.author.image&&t(Ie,{src:a.author.image,alt:a.author.name}),t(Te,{className:"text-[10px] font-medium bg-muted text-muted-foreground",children:x})]}),o("div",{className:"flex-1 min-w-0 space-y-1.5 overflow-hidden",children:[o("div",{className:"flex items-center justify-between gap-2",children:[o("div",{className:"flex items-center gap-2 min-w-0",children:[t("span",{className:"font-semibold text-xs text-foreground truncate",children:a.author.name}),t("span",{className:"text-[10px] text-muted-foreground shrink-0 font-mono",children:hr(new Date(a.createdAt),"MMM d, h:mm a")})]}),M&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity",children:o(he,{modal:!1,children:[t(ge,{asChild:!0,children:t(E,{size:"icon-xs",variant:"ghost",className:"h-5 w-5 text-muted-foreground",children:t(nr,{className:"h-3.5 w-3.5"})})}),t(Ae,{align:"end",children:o(W,{className:"text-destructive focus:text-destructive cursor-pointer text-xs",onClick:()=>d(!0),children:[t(we,{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(Co,{children:a.body})}),a.attachments&&a.attachments.length>0&&t("div",{className:"flex flex-col gap-1.5 pt-1.5 w-full max-w-full overflow-hidden",children:a.attachments.map((_)=>{let j=js(_.name||_.url);return o("div",{className:`group/att relative flex items-center w-full max-w-full rounded-lg border border-border bg-card hover:bg-muted/40 transition-colors overflow-hidden ${j?"h-18 p-1.5 gap-2.5 cursor-pointer":"h-9 px-2.5 gap-2.5"}`,onClick:()=>{if(j)g({url:_.url,name:_.name});else window.open(_.url,"_blank","noreferrer")},children:[j?t("div",{className:"h-full aspect-square rounded-md overflow-hidden bg-muted/40 shrink-0",children:t("img",{src:_.url,alt:_.name,className:"w-full h-full object-cover group-hover/att:scale-105 transition-transform duration-200"})}):t(qn,{className:"w-4 h-4 text-muted-foreground shrink-0"}),o("div",{className:"min-w-0 flex-1 overflow-hidden",children:[t("p",{className:"text-xs font-medium text-foreground truncate block w-full",title:_.name,children:_.name}),_.sizeByte!==void 0&&_.sizeByte>0&&t("p",{className:"text-[10px] text-muted-foreground font-mono truncate",children:Kr(_.sizeByte)})]}),t("a",{href:_.url,download:_.name,target:"_blank",rel:"noreferrer",className:"p-1 text-muted-foreground hover:text-foreground shrink-0 rounded-md hover:bg-muted transition-colors opacity-0 group-hover/att:opacity-100",onClick:(U)=>U.stopPropagation(),title:mr(),children:t(wt,{className:"w-3.5 h-3.5"})})]},_.id)})})]}),t(Je,{open:c,onOpenChange:d,children:o(Xe,{children:[o(et,{children:[t(rt,{children:uh()}),t(nt,{children:dh()})]}),o(tt,{children:[t(st,{disabled:y,children:Pe()}),t(ot,{className:"bg-destructive hover:bg-destructive/90 text-white",disabled:y,onClick:()=>v(),children:at()})]})]})}),t(ue,{open:!!m,onOpenChange:(_)=>!_&&g(null),children:o(ae,{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(fe,{className:"sr-only",children:t(le,{children:m?.name||"Image Preview"})}),m&&o("div",{className:"flex flex-col items-center justify-center max-w-[80vw] max-h-[80vh] overflow-hidden",children:[t("img",{src:m.url,alt:m.name,className:"max-w-[80vw] max-h-[calc(80vh-2.5rem)] w-auto h-auto object-contain rounded-md"}),t("p",{className:"text-xs text-muted-foreground truncate max-w-full px-2 pt-1.5 text-center",children:m.name})]})]})})]})}S();var J8e=Symbol.for("immer-nothing"),q8e=Symbol.for("immer-draftable"),Af=Symbol.for("immer-state");function ku(e,...r){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Ql=Object,cP=Ql.getPrototypeOf,o3="constructor",l3="prototype",xG="configurable",a3="enumerable",t3="writable",cO="value",W8=(e)=>!!e&&!!e[Af];function zZ(e){if(!e)return!1;return $8e(e)||u3(e)||!!e[q8e]||!!e[o3]?.[q8e]||d3(e)||Z3(e)}var u1t=Ql[l3][o3].toString(),H8e=new WeakMap;function $8e(e){if(!e||!kG(e))return!1;let r=cP(e);if(r===null||r===Ql[l3])return!0;let a=Ql.hasOwnProperty.call(r,o3)&&r[o3];if(a===Object)return!0;if(!lP(a))return!1;let i=H8e.get(a);if(i===void 0)i=Function.toString.call(a),H8e.set(a,i);return i===u1t}function c3(e,r,a=!0){if(ZO(e)===0)(a?Reflect.ownKeys(e):Ql.keys(e)).forEach((s)=>{r(s,e[s],e)});else e.forEach((i,s)=>r(s,i,e))}function ZO(e){let r=e[Af];return r?r.type_:u3(e)?1:d3(e)?2:Z3(e)?3:0}var gG=(e,r,a=ZO(e))=>a===2?e.has(r):Ql[l3].hasOwnProperty.call(e,r),yG=(e,r,a=ZO(e))=>a===2?e.get(r):e[r],n3=(e,r,a,i=ZO(e))=>{if(i===2)e.set(r,a);else if(i===3)e.add(a);else e[r]=a};function d1t(e,r){if(e===r)return e!==0||1/e===1/r;else return e!==e&&r!==r}var u3=Array.isArray,d3=(e)=>e instanceof Map,Z3=(e)=>e instanceof Set,kG=(e)=>typeof e==="object",lP=(e)=>typeof e==="function",MG=(e)=>typeof e==="boolean";function Z1t(e){let r=+e;return Number.isInteger(r)&&String(r)===e}var mM=(e)=>e.copy_||e.base_;var CG=(e)=>e.modified_?e.copy_:e.base_;function bG(e,r){if(d3(e))return new Map(e);if(Z3(e))return new Set(e);if(u3(e))return Array[l3].slice.call(e);let a=$8e(e);if(r===!0||r==="class_only"&&!a){let i=Ql.getOwnPropertyDescriptors(e);delete i[Af];let s=Reflect.ownKeys(i);for(let l=0;l<s.length;l++){let c=s[l],d=i[c];if(d[t3]===!1)d[t3]=!0,d[xG]=!0;if(d.get||d.set)i[c]={[xG]:!0,[t3]:!0,[a3]:d[a3],[cO]:e[c]}}return Ql.create(cP(e),i)}else{let i=cP(e);if(i!==null&&a)return{...e};let s=Ql.create(i);return Ql.assign(s,e)}}function IG(e,r=!1){if(p3(e)||W8(e)||!zZ(e))return e;if(ZO(e)>1)Ql.defineProperties(e,{set:e3,add:e3,clear:e3,delete:e3});if(Ql.freeze(e),r)c3(e,(a,i)=>{IG(i,!0)},!1);return e}function p1t(){ku(2)}var e3={[cO]:p1t};function p3(e){if(e===null||!kG(e))return!0;return Ql.isFrozen(e)}var i3="MapSet",_G="Patches",V8e="ArrayMethods",exe={};function TL(e){let r=exe[e];if(!r)ku(0,e);return r}var W8e=(e)=>!!exe[e];var uO,txe=()=>uO,m1t=(e,r)=>({drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:W8e(i3)?TL(i3):void 0,arrayMethodsPlugin_:W8e(V8e)?TL(V8e):void 0});function G8e(e,r){if(r)e.patchPlugin_=TL(_G),e.patches_=[],e.inversePatches_=[],e.patchListener_=r}function wG(e){zG(e),e.drafts_.forEach(h1t),e.drafts_=null}function zG(e){if(e===uO)uO=e.parent_}var K8e=(e)=>uO=m1t(uO,e);function h1t(e){let r=e[Af];if(r.type_===0||r.type_===1)r.revoke_();else r.revoked_=!0}function X8e(e,r){r.unfinalizedDrafts_=r.drafts_.length;let a=r.drafts_[0];if(e!==void 0&&e!==a){if(a[Af].modified_)wG(r),ku(4);if(zZ(e))e=Q8e(r,e);let{patchPlugin_:s}=r;if(s)s.generateReplacementPatches_(a[Af].base_,e,r)}else e=Q8e(r,a);if(g1t(r,e,!0),wG(r),r.patches_)r.patchListener_(r.patches_,r.inversePatches_);return e!==J8e?e:void 0}function Q8e(e,r){if(p3(r))return r;let a=r[Af];if(!a)return f3(r,e.handledSet_,e);if(!m3(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);axe(a,e)}return a.copy_}function g1t(e,r,a=!1){if(!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_)IG(r,a)}function rxe(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var m3=(e,r)=>e.scope_===r,M1t=[];function oxe(e,r,a,i){let s=mM(e),l=e.type_;if(i!==void 0){if(yG(s,i,l)===r){n3(s,i,a,l);return}}if(!e.draftLocations_){let d=e.draftLocations_=new Map;c3(s,(m,g)=>{if(W8(g)){let M=d.get(g)||[];M.push(m),d.set(g,M)}})}let c=e.draftLocations_.get(r)??M1t;for(let d of c)n3(s,d,a,l)}function v1t(e,r,a){e.callbacks_.push(function(s){let l=r;if(!l||!m3(l,s))return;s.mapSetPlugin_?.fixSetContents(l);let c=CG(l);oxe(e,l.draft_??l,c,a),axe(l,s)})}function axe(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 s=i.getPath(e);if(s)i.generatePatches_(e,s,r)}rxe(e)}}function x1t(e,r,a){let{scope_:i}=e;if(W8(a)){let s=a[Af];if(m3(s,i))s.callbacks_.push(function(){r3(e);let c=CG(s);oxe(e,a,c,r)})}else if(zZ(a))e.callbacks_.push(function(){let l=mM(e);if(e.type_===3){if(l.has(a))f3(a,i.handledSet_,i)}else if(yG(l,r,e.type_)===a){if(i.drafts_.length>1&&(e.assigned_.get(r)??!1)===!0&&e.copy_)f3(yG(e.copy_,r,e.type_),i.handledSet_,i)}})}function f3(e,r,a){if(!a.immer_.autoFreeze_&&a.unfinalizedDrafts_<1)return e;if(W8(e)||r.has(e)||!zZ(e)||p3(e))return e;return r.add(e),c3(e,(i,s)=>{if(W8(s)){let l=s[Af];if(m3(l,a)){let c=CG(l);n3(e,i,c,e.type_),rxe(l)}}else if(zZ(s))f3(s,r,a)}),e}function y1t(e,r){let a=u3(e),i={type_:a?1:0,scope_:r?r.scope_:txe(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},s=i,l=s3;if(a)s=[i],l=dO;let{revoke:c,proxy:d}=Proxy.revocable(s,l);return i.draft_=d,i.revoke_=c,[d,i]}var s3={get(e,r){if(r===Af)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 s=mM(e);if(!gG(s,r,e.type_))return _1t(e,s,r);let l=s[r];if(e.finalized_||!zZ(l))return l;if(i&&e.operationMethod&&a?.isMutatingArrayMethod(e.operationMethod)&&Z1t(r))return l;if(l===vG(e.base_,r)||b1t(e,r,l)){r3(e);let c=e.type_===1?+r:r,d=LG(e.scope_,l,e,c);return e.copy_[c]=d}return l},has(e,r){return r in mM(e)},ownKeys(e){return Reflect.ownKeys(mM(e))},set(e,r,a){let i=nxe(mM(e),r);if(i?.set)return i.set.call(e.draft_,a),!0;if(!e.modified_){let s=vG(mM(e),r),l=s?.[Af];if(l&&l.base_===a)return e.copy_[r]=a,e.assigned_.set(r,!1),!0;if(d1t(a,s)&&(a!==void 0||gG(e.base_,r,e.type_)))return!0;r3(e),SG(e)}if(e.copy_[r]===a&&(a!==void 0||gG(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),x1t(e,r,a),!0},deleteProperty(e,r){if(r3(e),vG(e.base_,r)!==void 0||r in e.base_)e.assigned_.set(r,!1),SG(e);else e.assigned_.delete(r);if(e.copy_)delete e.copy_[r];return!0},getOwnPropertyDescriptor(e,r){let a=mM(e),i=Reflect.getOwnPropertyDescriptor(a,r);if(!i)return i;return{[t3]:!0,[xG]:e.type_!==1||r!=="length",[a3]:i[a3],[cO]:a[r]}},defineProperty(){ku(11)},getPrototypeOf(e){return cP(e.base_)},setPrototypeOf(){ku(12)}},dO={};for(let e in s3){let r=s3[e];dO[e]=function(){let a=arguments;return a[0]=a[0][0],r.apply(this,a)}}dO.deleteProperty=function(e,r){return dO.set.call(this,e,r,void 0)};dO.set=function(e,r,a){return s3.set.call(this,e[0],r,a,e[0])};function vG(e,r){let a=e[Af];return(a?mM(a):e)[r]}function b1t(e,r,a){if(e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(r)||!zZ(a)||a[Af])return!1;return e.baseRefs_.has(a)}function _1t(e,r,a){let i=nxe(r,a);return i?cO in i?i[cO]:i.get?.call(e.draft_):void 0}function nxe(e,r){if(!(r in e))return;let a=cP(e);while(a){let i=Object.getOwnPropertyDescriptor(a,r);if(i)return i;a=cP(a)}return}function SG(e){if(!e.modified_){if(e.modified_=!0,e.parent_)SG(e.parent_)}}function r3(e){if(!e.copy_)e.assigned_=new Map,e.copy_=bG(e.base_,e.scope_.immer_.useStrictShallowCopy_)}var w1t=class{constructor(e){if(this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(r,a,i)=>{if(lP(r)&&!lP(a)){let l=a;a=r;let c=this;return function(m=l,...g){return c.produce(m,(M)=>a.call(this,M,...g))}}if(!lP(a))ku(6);if(i!==void 0&&!lP(i))ku(7);let s;if(zZ(r)){let l=K8e(this),c=LG(l,r,void 0),d=!0;try{s=a(c),d=!1}finally{if(d)wG(l);else zG(l)}return G8e(l,i),X8e(s,l)}else if(!r||!kG(r)){if(s=a(r),s===void 0)s=r;if(s===J8e)s=void 0;if(this.autoFreeze_)IG(s,!0);if(i){let l=[],c=[];TL(_G).generateReplacementPatches_(r,s,{patches_:l,inversePatches_:c}),i(l,c)}return s}else ku(1,r)},this.produceWithPatches=(r,a)=>{if(lP(r))return(c,...d)=>this.produceWithPatches(c,(m)=>r(m,...d));let i,s;return[this.produce(r,a,(c,d)=>{i=c,s=d}),i,s]},MG(e?.autoFreeze))this.setAutoFreeze(e.autoFreeze);if(MG(e?.useStrictShallowCopy))this.setUseStrictShallowCopy(e.useStrictShallowCopy);if(MG(e?.useStrictIteration))this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){if(!zZ(e))ku(8);if(W8(e))e=z1t(e);let r=K8e(this),a=LG(r,e,void 0);return a[Af].isManual_=!0,zG(r),a}finishDraft(e,r){let a=e&&e[Af];if(!a||!a.isManual_)ku(9);let{scope_:i}=a;return G8e(i,r),X8e(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 s=r[a];if(s.path.length===0&&s.op==="replace"){e=s.value;break}}if(a>-1)r=r.slice(a+1);let i=TL(_G).applyPatches_;if(W8(e))return i(e,r);return this.produce(e,(s)=>i(s,r))}};function LG(e,r,a,i){let[s,l]=d3(r)?TL(i3).proxyMap_(r,a):Z3(r)?TL(i3).proxySet_(r,a):y1t(r,a);if((a?.scope_??txe()).drafts_.push(s),l.callbacks_=a?.callbacks_??[],l.key_=i,a&&i!==void 0)v1t(a,l,i);else l.callbacks_.push(function(m){m.mapSetPlugin_?.fixSetContents(l);let{patchPlugin_:g}=m;if(l.modified_&&g)g.generatePatches_(l,[],m)});return s}function z1t(e){if(!W8(e))ku(10,e);return ixe(e)}function ixe(e){if(!zZ(e)||p3(e))return e;let r=e[Af],a,i=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,a=bG(e,r.scope_.immer_.useStrictShallowCopy_),i=r.scope_.immer_.shouldUseStrictIteration()}else a=bG(e,!0);if(c3(a,(s,l)=>{n3(a,s,ixe(l))},i),r)r.finalized_=!1;return a}var S1t=globalThis.Iterator,pFn=typeof S1t?.from==="function";var L1t=new w1t,fxe=L1t.produce;var k1t=(e)=>(r,a,i)=>(i.setState=(s,l,...c)=>{let d=typeof s==="function"?fxe(s):s;return r(d,l,...c)},e(i.setState,a,i)),sxe=k1t;var Ur=Mr()(Ete(sxe((e,r)=>({members:[],loading:!1,fetchMembers:async(a,i,s)=>{if(!s&&r().loadedTeamId===a&&r().loadedWithAgents===i)return;e({loading:!0});try{let l=await A.api.teams[":teamId"].members.$get({param:{teamId:a},query:{includeAgents:i?"true":"false"}});if(!l.ok)throw Error("failed to fetch members");let c=await l.json();e({members:c||[],loadedTeamId:a,loadedProjectId:void 0,loadedWithAgents:i,loading:!1})}catch{e({loading:!1})}},fetchProjectMembers:async(a,i,s)=>{if(!s&&r().loadedProjectId===a&&r().loadedWithAgents===i)return;e({loading:!0});try{let l=await A.api.projects[":projectId"].members.$get({param:{projectId:a},query:{includeAgents:i?"true":"false"}});if(!l.ok)throw Error("failed to fetch project members");let c=await l.json();e({members:c||[],loadedProjectId:a,loadedTeamId:void 0,loadedWithAgents:i,loading:!1})}catch{e({loading:!1})}}}))));function lxe({teamId:e,onSendMessage:r,isSubmitting:a}){let[i,s]=u(""),[l,c]=u([]),[d,m]=u(!1),[g,M]=u(""),[v,y]=u(0),x=b(null),_=b(null),j=b(null),{members:U,fetchMembers:T}=Ur();h(()=>{if(e)T(e,!0,!0)},[e,T]);let{mutateAsync:N}=B({mutationFn:async(Se)=>{let He=await A.api.teams[":teamId"].kanban.attachments.$post({param:{teamId:e},json:Se});if(!He.ok)throw Error("Failed to get attachment upload url");return await He.json()}}),G=(Se)=>{let He=Se.target.value;if(s(He),x.current)x.current.style.height="auto",x.current.style.height=`${Math.min(x.current.scrollHeight,160)}px`;let ut=Se.target.selectionStart||0,Ke=He.slice(0,ut),yt=Ke.lastIndexOf("@");if(yt!==-1){let At=yt===0,jt=Ke[yt-1];if(At||/\s/.test(jt)){let bt=Ke.slice(yt+1);if(!/\s/.test(bt)){M(bt),m(!0);return}}}m(!1)},X=U.filter((Se)=>Se.name?.toLowerCase().includes(g.toLowerCase()));h(()=>{y(0)},[g,d]);let J=(Se)=>{if(!x.current)return;let He=x.current.selectionStart||0,ut=i.slice(0,He),Ke=i.slice(He),yt=ut.lastIndexOf("@");if(yt!==-1){let At=`${i.slice(0,yt)}@${Se.name} ${Ke}`;s(At),m(!1),setTimeout(()=>{if(x.current){x.current.focus();let jt=yt+Se.name.length+2;x.current.setSelectionRange(jt,jt)}},0)}},ee=async(Se)=>{let He=Array.from(Se.target.files||[]);if(He.length===0)return;let ut=He.map((Ke)=>({id:`${Date.now()}-${Ke.name}-${Math.random()}`,file:Ke,isUploading:!0}));c((Ke)=>[...Ke,...ut]);for(let Ke of ut)try{let yt=await N({fileName:Ke.file.name,size:Ke.file.size,contentType:Ke.file.type||"application/octet-stream"});if(!(await fetch(yt.uploadUrl,{method:"PUT",body:Ke.file,headers:{"Content-Type":Ke.file.type||"application/octet-stream"}})).ok)throw Error("Failed to upload file to storage");c((jt)=>jt.map((de)=>de.id===Ke.id?{...de,isUploading:!1,payload:{id:yt.id,name:yt.name,key:yt.key,sizeByte:yt.sizeByte,contentType:yt.contentType,proxyType:yt.proxyType}}:de))}catch(yt){let At=yt instanceof Error?yt.message:"Upload failed";k.error(`${Ke.file.name}: ${At}`),c((jt)=>jt.map((de)=>de.id===Ke.id?{...de,isUploading:!1,error:At}:de))}if(_.current)_.current.value=""},re=(Se)=>{c((He)=>He.filter((ut)=>ut.id!==Se))},oe=l.some((Se)=>Se.isUploading),ie=l.map((Se)=>Se.payload).filter((Se)=>!!Se),ye=(i.trim().length>0||ie.length>0)&&!oe,We=async()=>{if(!ye||a)return;try{if(await r(i.trim(),ie.length>0?ie:void 0),s(""),c([]),x.current)x.current.style.height="auto"}catch{}},Ye=(Se)=>{if(d&&X.length>0){if(Se.key==="ArrowDown"){Se.preventDefault(),y((He)=>(He+1)%X.length);return}if(Se.key==="ArrowUp"){Se.preventDefault(),y((He)=>(He-1+X.length)%X.length);return}if(Se.key==="Enter"||Se.key==="Tab"){Se.preventDefault();let He=X[v];if(He)J(He);return}if(Se.key==="Escape"){m(!1);return}}if(Se.key==="Enter"&&(Se.metaKey||Se.ctrlKey))Se.preventDefault(),We()};return o("div",{className:"relative flex flex-col w-full border border-border focus-within:border-foreground/40 bg-card rounded-2xl p-2.5 shadow-2xs transition-all",children:[d&&X.length>0&&t("div",{ref:j,className:"absolute bottom-full left-0 mb-2 w-64 max-h-48 overflow-y-auto rounded-xl border border-border bg-popover p-1 shadow-lg z-50",children:X.map((Se,He)=>o("button",{type:"button",onClick:()=>J(Se),className:`w-full flex items-center gap-2 px-2.5 py-1.5 rounded-lg text-xs transition-colors text-left ${He===v?"bg-primary text-primary-foreground font-medium":"hover:bg-muted text-foreground"}`,children:[o(Ce,{className:"w-5 h-5",children:[Se.image&&t(Ie,{src:Se.image}),t(Te,{className:"text-[9px]",children:Se.name?.slice(0,2).toUpperCase()})]}),t("span",{className:"truncate",children:Se.name})]},Se.id))}),l.length>0&&t("div",{className:"flex flex-wrap gap-1.5 pb-2 mb-1.5 border-b border-border/50",children:l.map((Se)=>{let He=Se.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:[Se.isUploading?t(F,{className:"w-3.5 h-3.5 animate-spin text-primary shrink-0"}):He?t(eo,{className:"w-3.5 h-3.5 text-primary shrink-0"}):t(qn,{className:"w-3.5 h-3.5 text-muted-foreground shrink-0"}),o("div",{className:"min-w-0 flex-1 truncate",children:[t("span",{className:"truncate block font-medium text-[11px]",children:Se.file.name}),t("span",{className:"text-[9px] text-muted-foreground font-mono",children:Kr(Se.file.size)})]}),t("button",{type:"button",onClick:()=>re(Se.id),className:"p-0.5 rounded-md text-muted-foreground hover:text-foreground hover:bg-muted shrink-0",children:t(Ne,{className:"w-3 h-3"})})]},Se.id)})}),t("textarea",{ref:x,value:i,onChange:G,onKeyDown:Ye,placeholder:w5e(),rows:1,className:"w-full min-h-[44px] max-h-[160px] bg-transparent border-0 focus:outline-hidden focus-visible:ring-0 resize-none text-xs text-foreground placeholder:text-muted-foreground/70 p-1 font-sans leading-relaxed"}),o("div",{className:"flex items-center justify-between pt-1 mt-1 border-t border-border/40",children:[o("div",{className:"flex items-center gap-1",children:[t("input",{ref:_,type:"file",multiple:!0,className:"hidden",onChange:ee}),t(E,{type:"button",variant:"ghost",size:"icon-xs",onClick:()=>_.current?.click(),className:"h-7 w-7 rounded-lg text-muted-foreground hover:text-foreground hover:bg-muted",title:"Attach files",disabled:a,children:t(Ta,{className:"w-3.5 h-3.5"})}),t("span",{className:"text-[10px] text-muted-foreground/60 hidden sm:inline pl-1",children:"Cmd+Enter to send"})]}),t(E,{type:"button",size:"icon-xs",onClick:We,disabled:!ye||a,className:"h-7 w-7 rounded-full shadow-xs bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-40 transition-all shrink-0",title:"Send comment",children:a||oe?t(F,{className:"w-3.5 h-3.5 animate-spin"}):t(Yi,{className:"w-3.5 h-3.5 stroke-[2.5]"})})]})]})}function cxe({teamId:e,taskId:r,initialComments:a}){let i=Q(),{data:s}=Z({queryKey:["teams",e,"me"],queryFn:async()=>{let y=await A.api.teams[":teamId"].me.$get({param:{teamId:e}});if(!y.ok)throw Error("Failed to fetch me");return await y.json()},enabled:!!e}),l=s?.role?.toLowerCase()==="owner"||s?.role?.toLowerCase()==="editor",{data:c,isLoading:d}=Z({queryKey:["teams",e,"kanban","tasks",r,"comments"],queryFn:async()=>{let y=await A.api.teams[":teamId"].kanban.tasks[":taskId"].comments.$get({param:{teamId:e,taskId:r}});if(!y.ok)throw Error("Failed to fetch comments");return await y.json()},initialData:a?{data:a}:void 0,enabled:!!e&&!!r,refetchInterval:4000}),m=c?.data||[],{mutateAsync:g,isPending:M}=B({mutationFn:async({body:y,attachments:x})=>{let _=await A.api.teams[":teamId"].kanban.tasks[":taskId"].comments.$post({param:{teamId:e,taskId:r},json:{body:y,attachments:x}});if(!_.ok){let j=await _.json().catch(()=>({message:Tn()}));throw Error(j.message||Tn())}return await _.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","tasks",r,"comments"]}),i.invalidateQueries({queryKey:["teams",e,"kanban","task",r]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]})},onError:(y)=>{k.error(y.message)}}),v=async(y,x)=>{await g({body:y,attachments:x})};return o("div",{className:"flex flex-col h-full overflow-hidden bg-background",children:[t(ce,{className:"flex-1 min-h-0 p-3.5 [&>div>div]:block!",children:t("div",{className:"space-y-3 pr-1 pb-2 w-full max-w-full",children:d?t("div",{className:"flex items-center justify-center py-12",children:t(F,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):m.length===0?o("div",{className:"flex flex-col items-center justify-center py-16 text-center text-xs text-muted-foreground/80 space-y-2",children:[t("div",{className:"w-10 h-10 rounded-full bg-muted/60 flex items-center justify-center",children:t(vo,{className:"w-5 h-5 opacity-40"})}),t("p",{className:"font-medium",children:og()})]}):m.map((y)=>t(U8e,{teamId:e,taskId:r,comment:y,currentUserId:s?.id,isOwnerOrAdmin:l},y.id))})}),t("div",{className:"p-3 border-t border-border/60 bg-card/60 shrink-0",children:t(lxe,{teamId:e,onSendMessage:v,isSubmitting:M})})]})}function C1t(e){let r=e.data||{};switch(e.type){case nf.CREATED:return"Created task";case nf.STATUS_CHANGED:return`Changed status from ${e.fromStatus?oo(e.fromStatus):"None"} to ${e.toStatus?oo(e.toStatus):"None"}`;case nf.ASSIGNED:return"Assigned task";case nf.UNASSIGNED:return"Unassigned task";case nf.PRIORITY_CHANGED:return`Changed priority to ${String(r.to||"")}`;case nf.GOAL_CHANGED:return"Updated goal association";case nf.DEPENDENCY_ADDED:return"Added prerequisite dependency";case nf.DEPENDENCY_REMOVED:return"Removed prerequisite dependency";case nf.CHANGES_REQUESTED:return`Requested changes: "${String(r.reason||"")}"`;case nf.BLOCKED:return`Task blocked: "${String(r.reason||r.blockReason||"")}"`;case nf.UNBLOCKED:return"Task unblocked";case nf.COMMENTED:return"Added a comment";default:return e.type}}function uxe({teamId:e,taskId:r,initialEvents:a}){let{data:i,isLoading:s}=Z({queryKey:["teams",e,"kanban","tasks",r,"events"],queryFn:async()=>{let c=await A.api.teams[":teamId"].kanban.tasks[":taskId"].events.$get({param:{teamId:e,taskId:r}});if(!c.ok)throw Error("Failed to fetch events");return await c.json()},initialData:a?{data:a}:void 0,enabled:!!e&&!!r}),l=i?.data||[];return t(ce,{className:"h-full p-3",children:t("div",{className:"space-y-4 pr-2",children:t("div",{className:"space-y-2",children:s?t("div",{className:"flex items-center justify-center py-6",children:t(F,{className:"w-4 h-4 animate-spin text-muted-foreground"})}):l.length===0?t("div",{className:"py-6 text-center text-xs text-muted-foreground",children:NQe()}):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:l.map((c)=>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:c.actor?.name||"System"}),t("span",{className:"text-[10px] text-muted-foreground font-mono shrink-0",children:hr(new Date(c.createdAt),"MM/dd HH:mm")})]}),t("p",{className:"text-[11px] text-muted-foreground leading-snug mt-0.5",children:C1t(c)})]})]},c.id))})})})})}function dxe({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(So,{value:a,onValueChange:(s)=>i(s),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(Eo,{className:"w-full grid grid-cols-2 h-8 bg-muted/60",children:[o(Qr,{value:"comments",className:"text-xs h-7",children:[t("span",{children:ud()}),r.comments.length>0&&o("span",{className:"text-[10px] font-mono text-muted-foreground ml-1",children:["(",r.comments.length,")"]})]}),t(Qr,{value:"activity",className:"text-xs h-7",children:t("span",{children:MAe()})})]})}),o("div",{className:"flex-1 overflow-hidden",children:[t(kn,{value:"comments",className:"h-full m-0 data-[state=active]:flex data-[state=active]:flex-col",children:t(cxe,{teamId:e,taskId:r.id,initialComments:r.comments})}),t(kn,{value:"activity",className:"h-full m-0 data-[state=active]:block",children:t(uxe,{teamId:e,taskId:r.id,initialEvents:r.events})})]})]})})}function Wd({teamId:e,taskId:r,isOpen:a,onClose:i,canEdit:s=!0}){let{data:l,isLoading:c,error:d}=Z({queryKey:["teams",e,"kanban","task",r],queryFn:async()=>{if(!r)return null;let m=await A.api.teams[":teamId"].kanban.tasks[":taskId"].$get({param:{teamId:e,taskId:r}});if(!m.ok)throw Error("Failed to fetch task details");return await m.json()},enabled:!!e&&!!r&&a});return t(ue,{open:a,onOpenChange:(m)=>!m&&i(),children:o(ae,{className:"sm:max-w-5xl w-[95vw] h-[88vh] p-0 gap-0 flex flex-col overflow-hidden bg-background",children:[t(fe,{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:[l?.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(Et,{className:"w-3.5 h-3.5"}),t("span",{children:Zd()})]}),l?.status&&t("span",{className:C("px-2 py-0.5 rounded text-[11px] font-medium border uppercase shrink-0",j8(l.status)),children:oo(l.status)}),t(le,{className:"text-sm font-semibold truncate text-foreground",children:l?.title||MBe()})]})}),t("div",{className:"flex-1 flex flex-col md:flex-row overflow-hidden",children:c?t("div",{className:"flex-1 flex items-center justify-center p-12",children:t(F,{className:"w-8 h-8 animate-spin text-muted-foreground"})}):d||!l?t("div",{className:"flex-1 flex items-center justify-center p-12 text-xs text-muted-foreground",children:kh()}):o(L,{children:[t("div",{className:"flex-1 md:w-2/3 h-full overflow-hidden flex flex-col",children:t(FMe,{teamId:e,task:l,canEdit:s})}),t("div",{className:"md:w-1/3 h-full overflow-hidden flex flex-col",children:t(dxe,{teamId:e,task:l})})]})})]})})}var I1t=[Qe.TODO,Qe.READY,Qe.IN_PROGRESS,Qe.IN_REVIEW,Qe.DONE,Qe.BLOCKED];function Yd({teamId:e,assetId:r,assetName:a,isOpen:i,onClose:s}){let l=Q(),[c,d]=u(null),[m,g]=u(!1),[M,v]=u(Qe.TODO),[y,x]=u(""),{data:_,isLoading:j}=Z({queryKey:["teams",e,"kanban","assets",r,"tasks"],queryFn:async()=>{let oe=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$get({param:{teamId:e,assetId:r}});if(!oe.ok)throw Error("Failed to fetch linked tasks");return await oe.json()},enabled:!!e&&!!r&&i}),U=_?.data||[],T=P(()=>new Set(U.map((oe)=>oe.id)),[U]),{data:N,isLoading:G}=Z({queryKey:["teams",e,"kanban","tasks","status",M],queryFn:async()=>{let oe=await A.api.teams[":teamId"].kanban.tasks.$get({param:{teamId:e},query:{status:M,first:"100"}});if(!oe.ok)return{data:[]};return await oe.json()},enabled:!!e&&m&&i}),X=N?.data||[],J=P(()=>{let oe=y.trim().toLowerCase();return X.filter((ie)=>{if(T.has(ie.id))return!1;if(!oe)return!0;return ie.title.toLowerCase().includes(oe)})},[X,T,y]),ee=B({mutationFn:async(oe)=>{let ie=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$post({param:{teamId:e,assetId:r},json:{taskId:oe}});if(!ie.ok)throw Error("Failed to link task");return await ie.json()},onSuccess:()=>{l.invalidateQueries({queryKey:["teams",e,"kanban","assets",r,"tasks"]}),l.invalidateQueries({queryKey:["teams",e,"kanban"]}),k.success(_se())}}),re=B({mutationFn:async(oe)=>{let ie=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks[":taskId"].$delete({param:{teamId:e,assetId:r,taskId:oe}});if(!ie.ok)throw Error("Failed to unlink task");return await ie.json()},onSuccess:()=>{l.invalidateQueries({queryKey:["teams",e,"kanban","assets",r,"tasks"]}),l.invalidateQueries({queryKey:["teams",e,"kanban"]}),k.success(wse())}});return o(L,{children:[t(ue,{open:i,onOpenChange:(oe)=>!oe&&s(),children:o(ae,{className:"sm:max-w-2xl flex flex-col h-[520px] p-0 overflow-hidden",children:[t(fe,{className:"p-4 border-b flex flex-row items-center justify-between space-y-0 shrink-0",children:o("div",{className:"flex items-center gap-2 min-w-0 pr-4",children:[t(Do,{className:"w-5 h-5 text-primary shrink-0"}),o("div",{className:"min-w-0",children:[t(le,{className:"text-sm font-semibold truncate",children:Vf()}),a&&t("p",{className:"text-xs text-muted-foreground truncate mt-0.5",children:a})]})]})}),t("div",{className:"flex-1 min-h-0 flex flex-col overflow-hidden bg-background",children:t(ce,{className:"flex-1 min-h-0 p-4 [&>div>div]:block!",children:j?t("div",{className:"flex items-center justify-center p-12",children:t(F,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):U.length===0?o("div",{className:"flex flex-col items-center justify-center p-12 text-center text-xs text-muted-foreground gap-2",children:[t(Do,{className:"w-8 h-8 opacity-30"}),t("p",{children:bJe()})]}):t("div",{className:"space-y-2",children:U.map((oe)=>o("div",{onClick:()=>d(oe.id),className:"flex items-center justify-between gap-3 p-2.5 rounded-lg border border-border/60 bg-muted/20 hover:bg-muted/50 cursor-pointer transition-all hover:border-border",children:[o("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[oe.isAgentTask&&t("span",{className:"p-1 rounded bg-orange-500/15 text-orange-600 dark:text-orange-400 shrink-0",children:t(Et,{className:"w-3.5 h-3.5"})}),t("span",{className:C("text-[10px] px-1.5 py-0.5 rounded border uppercase font-medium shrink-0",j8(oe.status)),children:oo(oe.status)}),t("span",{className:C("text-[10px] px-1.5 py-0.5 rounded border uppercase font-medium shrink-0",sa(oe.priority)),children:oa(oe.priority)}),t("span",{className:"text-xs font-medium text-foreground truncate flex-1",children:oe.title})]}),o("div",{className:"flex items-center gap-2 shrink-0",children:[oe.assignee&&o("div",{className:"flex items-center gap-1 text-[11px] text-muted-foreground",title:oe.assignee.name,children:[o(Ce,{className:"w-4 h-4 text-[9px]",children:[t(Ie,{src:oe.assignee.image||void 0}),t(Te,{children:oe.assignee.name.slice(0,1).toUpperCase()})]}),t("span",{className:"hidden sm:inline text-[11px] max-w-[70px] truncate",children:oe.assignee.name})]}),t(E,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0 text-muted-foreground hover:text-destructive hover:bg-destructive/10",onClick:(ie)=>{ie.stopPropagation(),re.mutate(oe.id)},title:mgt(),children:t(Ne,{className:"w-3.5 h-3.5"})})]})]},oe.id))})})}),o("div",{className:"p-3 px-4 border-t bg-muted/10 flex items-center justify-between shrink-0",children:[o(mt,{open:m,onOpenChange:g,children:[t(ht,{asChild:!0,children:o(E,{variant:"outline",size:"sm",className:"gap-1.5 text-xs h-8",children:[t(pe,{className:"w-3.5 h-3.5"}),t("span",{children:GVe()})]})}),o(gt,{className:"w-80 sm:w-96 p-0",align:"start",children:[t("div",{className:"p-2 border-b",children:o("div",{className:"relative",children:[t(Bt,{className:"w-3.5 h-3.5 absolute left-2.5 top-2.5 text-muted-foreground"}),t(H,{placeholder:ult(),value:y,onChange:(oe)=>x(oe.target.value),className:"pl-8 h-8 text-xs bg-muted/30",autoFocus:!0})]})}),t("div",{className:"flex border-b overflow-x-auto p-1 gap-1 bg-muted/20",children:I1t.map((oe)=>t("button",{type:"button",onClick:()=>v(oe),className:C("px-2 py-1 text-[11px] font-medium rounded transition-colors whitespace-nowrap",M===oe?"bg-background shadow-xs text-foreground font-semibold":"text-muted-foreground hover:text-foreground hover:bg-muted/50"),children:oo(oe)},oe))}),t(ce,{className:"h-56",children:G?o("div",{className:"flex items-center justify-center p-6 text-xs text-muted-foreground",children:[t(F,{className:"w-4 h-4 animate-spin mr-1.5"}),t("span",{children:yd()})]}):J.length===0?t("div",{className:"p-6 text-center text-xs text-muted-foreground",children:Tse()}):t("div",{className:"p-1 space-y-0.5",children:J.map((oe)=>o("button",{type:"button",onClick:()=>{ee.mutate(oe.id),g(!1)},className:"w-full text-left p-2 rounded hover:bg-muted/60 transition-colors flex items-center justify-between gap-2 text-xs group",children:[t("span",{className:"truncate flex-1 font-medium text-foreground",children:oe.title}),t("span",{className:C("text-[10px] px-1.5 py-0.5 rounded border uppercase shrink-0",j8(oe.status)),children:oo(oe.status)})]},oe.id))})})]})]}),t(E,{variant:"ghost",size:"sm",onClick:s,className:"text-xs h-8",children:Dc()})]})]})}),c&&t(Wd,{teamId:e,taskId:c,isOpen:!0,onClose:()=>d(null)})]})}function Zxe({teamId:e,projectId:r,projectName:a,ancestorFolders:i,currentAsset:s,isRootFolder:l,customTerminalBreadcrumb:c,displayStyle:d,onDisplayStyleChange:m,isLeftSidebarCollapsed:g,onLeftSidebarToggle:M,isRightSidebarCollapsed:v,onRightSidebarToggle:y,isChatbotOpen:x=!1,onChatbotToggle:_,isPublic:j=!1,onFolderClick:U,onRename:T,onDelete:N,fileId:G,shareId:X,allowDownload:J=!0,downloadInfo:ee,versions:re,compareMode:oe=!1,canCompareVersions:ie=!1,onCompareVersions:ye}){let We=ke(),{canEdit:Ye}=Dt(r),{openMobileMenu:Se}=Hk(),[He,ut]=u(!1),[Ke,yt]=u(!1),[At,jt]=u(!1),de=G||s.id,bt=s.name==="Recently Deleted",Wt=s.name==="All Collections",je=!j&&!l&&!bt&&!Wt&&!oe&&!!de,{data:sr}=Z({queryKey:["teams",e,"kanban","assets",de,"tasks"],queryFn:async()=>{if(!e||!de)return{data:[],total:0};let ir=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$get({param:{teamId:e,assetId:de}});if(!ir.ok)return{data:[],total:0};return await ir.json()},enabled:!!e&&!!de&&je}),cr=sr?.total??sr?.data?.length??0,rr=!1,Or=(ir)=>{if(!G)return;if(j&&X){We({to:"/share/$shareId/files/$fileId",params:{shareId:X,fileId:G},search:(io)=>({...io,version:ir})});return}if(!r)return;We({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:G},search:(io)=>({...io,version:ir})})},Gt=async(ir)=>{if(!G)return;try{let io=X?await A.api.shares[":shareId"].files[":fileId"]["download-url"].$post({param:{shareId:X,fileId:G},json:{key:ir}}):await A.api.files["download-url"].$post({json:{key:ir,assetId:G}});if(!io.ok)return;let{url:Yr}=await io.json(),To=document.createElement("a");To.href=Yr,To.download="",document.body.appendChild(To),To.click(),document.body.removeChild(To)}catch{}},Tr=s.proxyType!=="audio"&&(ee?.videoTranscodes?.length??0)>0,Cr=Boolean(c||!l&&!oe),Ar={name:a,path:j?void 0:`/projects/${r}`,id:"root"},dr=i.slice().reverse().map((ir)=>({name:ir.name||"",path:j?void 0:`/projects/${r}/folders/${ir.id}`,id:ir.id})),uo=Cr?dr:dr.slice(0,-1),lo=!Cr&&dr.length>0?dr[dr.length-1]:null,da=()=>{if(c)return t("span",{className:"truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:c});if(!l&&!oe){if(s.type==="folder")return t("span",{className:"truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:s.name});return o(he,{modal:!1,open:At,onOpenChange:jt,children:[o("div",{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 cursor-pointer select-none",onClick:()=>jt((ir)=>!ir),children:[t("span",{className:"truncate",children:s.name}),s.version!==void 0&&o(be,{variant:"outline",className:"px-1 py-0 text-xs shrink-0",children:["v",s.version]}),t(ge,{asChild:!0,onClick:(ir)=>ir.stopPropagation(),onPointerDown:(ir)=>ir.stopPropagation(),children:t("button",{type:"button","aria-label":s.name,className:"flex items-center justify-center p-0.5 rounded shrink-0 focus:outline-none",children:t(ve,{className:"h-4 w-4 shrink-0"})})})]}),o(Ae,{className:"w-56",align:"center",children:[J&&(Tr?o(fs,{children:[t(ps,{className:"flex items-center gap-2",children:t("span",{children:mr()})}),t(Xi,{children:o(ms,{className:"w-48",children:[t(Vr,{children:mr()}),ee?.videoTranscodes?.map((ir)=>{let io=Math.max(ir.width,ir.height),Yr=`${ir.height}p`;if(io>=3840)Yr="2160p";else if(io>=1920)Yr="1080p";else if(io>=1280)Yr="720p";else if(io>=960)Yr="540p";else if(io>=640)Yr="360p";else if(io>=320)Yr="180p";let To=ir.hdr?`${Yr} (HDR)`:Yr;return o(W,{onClick:()=>Gt(ir.key),className:"flex items-center justify-between",children:[t("span",{children:To}),t("span",{className:"text-xs text-muted-foreground",children:"MP4"})]},ir.key||`${Yr}-${ir.hdr?"hdr":"sdr"}`)}),ee?.originalKey&&o(L,{children:[t(Vt,{}),o(W,{onClick:()=>Gt(ee.originalKey),className:"flex items-center justify-between",children:[t("span",{children:"Original"}),t("span",{className:"text-xs text-muted-foreground",children:s.name?.split(".").pop()?.toUpperCase()||"RAW"})]})]})]})})]}):t(W,{onClick:()=>ee?.originalKey&&Gt(ee.originalKey),disabled:!ee?.originalKey,children:mr()})),Ye&&T&&t(W,{onClick:T,children:Fo()}),Ye&&N&&t(W,{onClick:N,className:"text-destructive focus:text-destructive",children:at()}),ie&&ye&&o(L,{children:[t(Vt,{}),o(W,{onClick:()=>ye(),children:[t(r8,{className:"h-4 w-4"}),t("span",{children:E5e()})]})]}),re&&re.length>0&&o(L,{children:[t(Vt,{}),o(fs,{children:[o(ps,{className:"flex items-center gap-2",children:[t(In,{className:"h-4 w-4"}),t("span",{children:"Versions"})]}),t(Xi,{children:o(ms,{className:"w-80 p-1",children:[t("div",{className:"flex flex-col gap-1 max-h-96 overflow-y-auto",children:re.map((ir)=>{let io=s.version===ir.version;return o(W,{onClick:()=>Or(ir.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",ir.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:ir.previewUrl?t("img",{src:ir.previewUrl,alt:ir.name||void 0,className:"h-full w-full object-cover"}):t(er,{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:ir.name}),t("span",{className:"truncate text-xs text-muted-foreground flex items-center gap-1",children:ir.agent?o(L,{children:[t(Et,{className:"h-3 w-3 shrink-0"}),t("span",{className:"truncate",children:Qc({user:ir.creator?.name||Ml(),agent:ir.agent.name})})]}):ir.creator?.name||Ml()})]}),io&&t(Re,{className:"h-4 w-4 text-primary ml-auto flex-shrink-0"})]},ir.id)})}),t(Vt,{}),t("div",{className:"p-1",children:t("button",{className:"w-full text-center text-xs font-medium py-2 px-3 rounded-md bg-muted/80 hover:bg-muted text-foreground transition-colors cursor-pointer",onClick:()=>ut(!0),children:Kf()})})]})})]})]})]})]})}return null};return o("div",{className:"flex h-14 flex-nowrap items-center justify-between gap-2 border-b border-border bg-card px-4 py-2 overflow-hidden",children:[o("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-hidden",children:[!j&&t(E,{variant:"ghost",size:"icon",onClick:()=>Se(),className:"md:hidden h-8 w-8 text-foreground hover:bg-accent shrink-0 -ml-2 mr-1","aria-label":"Open navigation menu",children:t(KZ,{className:"h-5 w-5"})}),!j&&o("div",{className:"hidden md:flex items-center gap-1 shrink-0",children:[t(Un,{to:`/teams/${e}`,className:"truncate rounded px-2 py-1 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground text-muted-foreground",children:NDe()}),t("span",{className:"text-muted-foreground",children:"/"})]}),Cr||i.length>0?Ar.path?t(Un,{to:Ar.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:Ar.name}):t("button",{onClick:()=>Ar.id&&U?.(Ar.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:Ar.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:Ar.name}),uo.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:uo.map((ir,io)=>t(W,{asChild:!0,children:ir.path?t(Un,{to:ir.path,className:"cursor-pointer",children:ir.name}):t("button",{onClick:()=>ir.id&&U?.(ir.id),className:"cursor-pointer w-full text-left",children:ir.name})},io))})]}),t("span",{className:"text-muted-foreground shrink-0",children:"/"})]}),i.slice().reverse().map((ir)=>{let io=j?void 0:`/projects/${r}/folders/${ir.id}`;return o("div",{className:"hidden md:flex items-center gap-1",children:[t("span",{className:"text-muted-foreground",children:"/"}),io?t(Un,{to:io,className:"truncate rounded px-2 py-1 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground text-foreground",children:ir.name}):t("button",{onClick:()=>ir.id&&U?.(ir.id),className:"truncate rounded px-2 py-1 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground text-foreground",children:ir.name})]},ir.id)}),(Cr||!Cr&&i.length>0)&&o("div",{className:"flex items-center gap-1 min-w-0 shrink overflow-hidden",children:[t("span",{className:C("text-muted-foreground shrink-0",uo.length>0?"hidden md:inline":"inline"),children:"/"}),Cr?da():lo&&t("span",{className:"min-w-0 truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:lo.name})]}),je&&o(E,{variant:"ghost",size:"sm",className:"h-7 px-2 text-xs gap-1.5 text-muted-foreground hover:text-foreground hover:bg-muted ml-1 cursor-pointer shrink-0",onClick:()=>yt(!0),title:Vf(),children:[t(Do,{className:"w-4 h-4"}),cr>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:cr})]})]}),je&&Ke&&de&&t(Yd,{teamId:e,assetId:de,assetName:s.name,isOpen:Ke,onClose:()=>yt(!1)}),G&&re&&re.length>0&&t($d,{open:He,onOpenChange:ut,stackId:G,canEdit:Ye,onStackDissolved:(ir)=>{ut(!1),We({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:ir}})},onVersionRemoved:(ir,io)=>{if((s.version?re.find((To)=>To.version===s.version)?.id:void 0)===ir){let To=io[0];if(To)We({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:G},search:(an)=>({...an,version:To.id})})}}}),o("div",{className:"hidden md:flex items-center gap-2",children:[o("div",{className:"flex flex-shrink-0 items-center gap-1 rounded-md border border-border bg-background p-1",children:[!G&&!j&&M&&t("button",{onClick:M,className:"rounded p-1.5 text-muted-foreground transition-colors hover:bg-accent/50 hover:text-foreground",title:g?"Show Left Sidebar":"Hide Left Sidebar",children:g?t(bge,{className:"h-4 w-4"}):t(wge,{className:"h-4 w-4 fill-primary stroke-0"})}),!G&&!j&&d&&m&&o(L,{children:[t("button",{onClick:()=>m("card"),className:`rounded p-1.5 transition-colors ${d==="card"?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:"Card View",children:t(to,{className:"h-4 w-4"})}),t("button",{onClick:()=>m("list"),className:`rounded p-1.5 transition-colors ${d==="list"?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:"List View",children:t(Oo,{className:"h-4 w-4"})})]}),t("button",{onClick:y,className:`rounded p-1.5 transition-colors ${!v&&!x?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:v?"Show Right Sidebar":"Hide Right Sidebar",children:!v&&!x?t(zge,{className:"h-4 w-4 fill-primary stroke-0"}):t(_ge,{className:"h-4 w-4"})})]}),!j&&_&&t(fn,{children:o(pn,{children:[t(mn,{asChild:!0,children:t("span",{children:t("button",{disabled:!1,onClick:_,className:C("h-9 w-9 flex items-center justify-center rounded-full border border-border bg-background transition-colors",x?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent hover:text-foreground",!1),children:x?t(Sge,{className:"h-6 w-6 text-primary transition-colors"}):t(Et,{className:"h-6 w-6 text-muted-foreground transition-colors"})})})}),t(hn,{children:t("p",{children:x?jHe():Aut()})})]})})]})]})}var $t=Mr()(qk((e)=>({fileViewLeftSidebarCollapsed:!0,setFileViewLeftSidebarCollapsed:(r)=>e({fileViewLeftSidebarCollapsed:r}),fileViewRightSidebarCollapsed:!1,setFileViewRightSidebarCollapsed:(r)=>e({fileViewRightSidebarCollapsed:r}),fileListLeftSidebarCollapsed:!1,setFileListLeftSidebarCollapsed:(r)=>e({fileListLeftSidebarCollapsed:r}),fileListRightSidebarCollapsed:!0,setFileListRightSidebarCollapsed:(r)=>e({fileListRightSidebarCollapsed:r}),shareConfigLeftSidebarCollapsed:!1,setShareConfigLeftSidebarCollapsed:(r)=>e({shareConfigLeftSidebarCollapsed:r}),shareConfigRightSidebarCollapsed:!1,setShareConfigRightSidebarCollapsed:(r)=>e({shareConfigRightSidebarCollapsed:r}),viewModes:{},setViewMode:(r,a)=>e((i)=>({viewModes:{...i.viewModes,[r]:a}})),videoTimeDisplayMode:"standard",setVideoTimeDisplayMode:(r)=>e({videoTimeDisplayMode:r})}),{name:"ui-storage",storage:Sz(()=>localStorage)}));var RG="shumai_selected_agent_id",pxe=()=>{if(typeof window<"u"&&window.localStorage)return localStorage.getItem(RG);return null},lr=Mr((e)=>({isChatbotOpen:!1,setIsChatbotOpen:(r)=>e({isChatbotOpen:r}),isHistoryMode:!1,setIsHistoryMode:(r)=>e({isHistoryMode:r}),currentSessionId:null,setCurrentSessionId:(r)=>e({currentSessionId:r}),chatAssets:[],addAssets:(r)=>e((a)=>{let i=new Set(a.chatAssets.map((l)=>l.id)),s=r.filter((l)=>!i.has(l.id));return{chatAssets:[...a.chatAssets,...s]}}),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:pxe(),setSelectedAgentId:(r)=>{if(typeof window<"u"&&window.localStorage)if(r)localStorage.setItem(RG,r);else localStorage.removeItem(RG);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 s=await i.json(),c=lr.getState().historySessions.find((d)=>d.id===a)?.agentId||null;e({currentSessionId:a,messages:s,isHistoryMode:!1,scrollTop:0,isAtBottom:!0,...c?{selectedAgentId:c}:{}})}else throw Error("Failed to load session messages")}catch(i){let s=i instanceof Error?i.message:"Failed to load session";k.error(s)}},deleteSession:async(r,a)=>{try{if((await A.api.teams[":teamId"].chat.sessions[":sessionId"].$delete({param:{teamId:r,sessionId:a}})).ok)k.success("Session deleted successfully"),e((s)=>({historySessions:s.historySessions.filter((l)=>l.id!==a),currentSessionId:s.currentSessionId===a?null:s.currentSessionId,messages:s.currentSessionId===a?[]:s.messages}));else throw Error("Failed to delete session")}catch(i){let s=i instanceof Error?i.message:"Failed to delete session";k.error(s)}},startNewSession:()=>{let r=pxe();e({currentSessionId:null,messages:[],chatAssets:[],inputText:"",scrollTop:0,isAtBottom:!0,...r?{selectedAgentId:r}:{}})},sendMessage:async(r,a,i,s,l,c,d,m,g)=>{let M=lr.getState();if(M.isStreaming)return;let v=`temp-${Date.now()}`,y={id:v,role:"custom",customType:"shumai_message",content:a,display:!0,details:{currentAsset:s?{id:s,name:"",type:"file"}:void 0,position:m!==void 0&&m!==null?{type:"time",seconds:m}:void 0,annotation:!!(d&&d.length>0),annotations:d||void 0,attachedFiles:g||void 0,referencedAssets:M.chatAssets.length>0?M.chatAssets.map((U)=>({id:U.id,name:U.name,type:U.type})):void 0},timestamp:Date.now()},x=[...M.messages,y];e({messages:x,isStreaming:!0,chatAssets:[],isAtBottom:!0});let _=M.chatAssets.map((U)=>U.id),j=M.selectedAgentId;if(!j){k.error("No agent selected");return}try{let U=await A.api.teams[":teamId"].chat.$post({param:{teamId:r},json:{agentId:j,textPrompt:a||void 0,attachedFiles:c&&c.length>0?c:void 0,assetIds:_&&_.length>0?_:void 0,sessionId:M.currentSessionId||void 0,contextAssetId:s,projectId:i,second:m??void 0,annotations:d&&d.length>0?d:void 0}});if(!U.ok)throw Error("Failed to start chat");let T=U.headers.get("x-session-id");if(T&&!M.currentSessionId)e({currentSessionId:T});let N=U.body?.getReader();if(!N)throw Error("No stream body");let G=new TextDecoder,X="";while(!0){let{done:ee,value:re}=await N.read();if(ee)break;X+=G.decode(re,{stream:!0});let oe=X.split(`
211
+ `);X=oe.pop()||"";for(let ie of oe){let ye=ie.trim();if(!ye)continue;if(ye.startsWith("data: ")){let We=ye.slice(6);try{let Ye=JSON.parse(We);if(Ye.type==="session"){if(!lr.getState().currentSessionId)e({currentSessionId:Ye.sessionId})}else if(Ye.type==="entry"){let Se=Ye.entry,He=Se;if(He.role==="toolResult"&&typeof He.toolName==="string"&&["create_file","create_folder","create_version","rename_asset","move_assets","delete_asset"].includes(He.toolName)&&!He.isError)l?.();e((ut)=>{let Ke=ut.messages.some((de)=>de.id===Se.id),yt=(Se.role==="user"||Se.role==="custom"&&Se.customType==="shumai_message")&&!Ke,At=ut.messages.filter((de)=>{if(yt)return!de.id.startsWith("temp-");if(Se.role==="custom"&&Se.customType==="context_display_info"&&!Ke)return!de.id.startsWith("temp-context-");return!0}),jt=At.findIndex((de)=>de.id===Se.id);if(jt!==-1){let de=[...At];return de[jt]=Se,{messages:de}}else return{messages:[...At,Se]}})}else if(Ye.type==="done"){if(Ye.status==="failed")k.error(Ye.error||"Workflow failed")}}catch(Ye){console.error("Error parsing SSE line:",Ye)}}}}lr.getState().fetchHistorySessions(r)}catch(U){let T=U instanceof Error?U.message:"Failed to send message";k.error(T),e((N)=>({messages:N.messages.filter((G)=>G.id!==v)}))}finally{e({isStreaming:!1})}},abortActiveSession:async(r)=>{let{currentSessionId:a,isStreaming:i}=lr.getState();if(!a||!i)return;try{if((await A.api.teams[":teamId"].chat.sessions[":sessionId"].abort.$post({param:{teamId:r,sessionId:a}})).ok)k.success("Agent execution stopped");else throw Error("Failed to abort agent execution")}catch(s){let l=s instanceof Error?s.message:"Failed to abort execution";k.error(l)}}}));var gr=Mr((e,r)=>({metadata:{},isLoading:!1,error:null,fetchMetadata:async(a)=>{e({isLoading:!0,error:null});try{let i=await A.api.teams[":teamId"]["user-metadata"].$get({param:{teamId:a}});if(!i.ok)throw Error("failed to fetch user metadata");let l=(await i.json()).reduce((c,d)=>(c[d.key]=d.value,c),{});e({metadata:l,isLoading:!1})}catch(i){e({error:i instanceof Error?i.message:String(i),isLoading:!1})}},setMetadata:async(a,i,s)=>{let l=r().metadata;e((c)=>({metadata:{...c.metadata,[i]:s}}));try{if(!(await A.api.teams[":teamId"]["user-metadata"][":key"].$put({param:{teamId:a,key:i},json:{value:s}})).ok)throw Error("failed to update user metadata")}catch(c){e({metadata:l}),console.error(c)}},getMetadata:(a,i)=>{let s=r().metadata[a];return s!==void 0?s:i}}));S();var PG=768;function Lo(){let[e,r]=u(void 0);return h(()=>{let a=window.matchMedia(`(max-width: ${PG-1}px)`),i=()=>{r(window.innerWidth<PG)};return a.addEventListener("change",i),r(window.innerWidth<PG),()=>a.removeEventListener("change",i)},[]),!!e}function Jd(){let{projectState:e}=on(),r=$t(),{isChatbotOpen:a,setIsChatbotOpen:i}=lr(),s=gr((jt)=>Boolean(jt.metadata["appearance.hideAgent"]));if(Lo()&&e?.fileId)return null;if(!e)return t(R1t,{});let{teamId:c,projectId:d,projectName:m,ancestorFolders:g,currentAsset:M,isRootFolder:v,customTerminalBreadcrumb:y,fileId:x,downloadInfo:_,versions:j,isPublic:U,shareId:T,allowDownload:N,onFolderClick:G,onRename:X,onDelete:J,compareMode:ee,canCompareVersions:re,onCompareVersions:oe}=e,ie=!!x,ye=!!y,We=!!T&&!ie,Ye=ie?r.fileViewLeftSidebarCollapsed:We?r.shareConfigLeftSidebarCollapsed:r.fileListLeftSidebarCollapsed,Se=U?void 0:()=>ie?r.setFileViewLeftSidebarCollapsed(!r.fileViewLeftSidebarCollapsed):We?r.setShareConfigLeftSidebarCollapsed(!r.shareConfigLeftSidebarCollapsed):r.setFileListLeftSidebarCollapsed(!r.fileListLeftSidebarCollapsed),He=U&&e.isRightSidebarCollapsed!==void 0?e.isRightSidebarCollapsed:ie?r.fileViewRightSidebarCollapsed:We?r.shareConfigRightSidebarCollapsed:r.fileListRightSidebarCollapsed,ut=U&&e.onRightSidebarToggle?e.onRightSidebarToggle:()=>{if(!U&&a&&!s)if(i(!1),ie)r.setFileViewRightSidebarCollapsed(!1);else if(We)r.setShareConfigRightSidebarCollapsed(!1);else r.setFileListRightSidebarCollapsed(!1);else if(ie)r.setFileViewRightSidebarCollapsed(!r.fileViewRightSidebarCollapsed);else if(We)r.setShareConfigRightSidebarCollapsed(!r.shareConfigRightSidebarCollapsed);else r.setFileListRightSidebarCollapsed(!r.fileListRightSidebarCollapsed)},Ke=U||s?void 0:()=>{i(!a)},yt=d?r.viewModes[d]??"card":"card";return t(Zxe,{teamId:c,projectId:d,projectName:m,ancestorFolders:g,currentAsset:M,isRootFolder:v,customTerminalBreadcrumb:y,displayStyle:ie||We||ye?void 0:yt,onDisplayStyleChange:ie||We||ye?void 0:U?void 0:(jt)=>{if(d)r.setViewMode(d,jt)},isLeftSidebarCollapsed:Ye,onLeftSidebarToggle:Se,isRightSidebarCollapsed:He,onRightSidebarToggle:ut,isChatbotOpen:!U&&!s&&a,onChatbotToggle:s?void 0:Ke,isPublic:U,shareId:T,allowDownload:N,fileId:x,downloadInfo:_,versions:j,onFolderClick:G,onRename:X,onDelete:J,compareMode:ee,canCompareVersions:re,onCompareVersions:oe})}function R1t(){let{toggleMobileMenu:e}=Hk();return o("div",{className:"flex h-14 items-center justify-between border-b border-border bg-card px-4 py-2 flex-shrink-0",children:[t(E,{variant:"ghost",size:"icon",onClick:e,className:"md:hidden text-foreground hover:bg-accent -ml-2","aria-label":"Open navigation menu",children:t(KZ,{className:"h-5 w-5"})}),t("div",{className:"flex flex-1 items-center justify-center",children:t(dM,{className:"w-10 h-10 text-orange-600"})}),t("div",{className:"w-9 md:hidden"})]})}S();var P1t=(e,r,a,i,s,l,c,d)=>{let m=document.documentElement,g=["light","dark"];function M(x){(Array.isArray(e)?e:[e]).forEach((_)=>{let j=_==="class",U=j&&l?s.map((T)=>l[T]||T):s;j?(m.classList.remove(...U),m.classList.add(l&&l[x]?l[x]:x)):m.setAttribute(_,x)}),v(x)}function v(x){d&&g.includes(x)&&(m.style.colorScheme=x)}function y(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(i)M(i);else try{let x=localStorage.getItem(r)||a,_=c&&x==="system"?y():x;M(_)}catch(x){}};var T1t=it(void 0),A1t={setTheme:(e)=>{},themes:[]},mxe=()=>{var e;return(e=dt(T1t))!=null?e:A1t};var S6n=Bn(({forcedTheme:e,storageKey:r,attribute:a,enableSystem:i,enableColorScheme:s,defaultTheme:l,value:c,themes:d,nonce:m,scriptProps:g})=>{let M=JSON.stringify([a,r,l,e,d,c,i,s]).slice(1,-1);return q("script",{...g,suppressHydrationWarning:!0,nonce:typeof window>"u"?m:"",dangerouslySetInnerHTML:{__html:`(${P1t.toString()})(${M})`}})});var hxe=({...e})=>{let{theme:r="system"}=mxe();return t(Aue,{theme:r,className:"toaster group",icons:{success:t(vr,{className:"size-4"}),info:t(Wo,{className:"size-4"}),warning:t(Gr,{className:"size-4"}),error:t(o8,{className:"size-4"}),loading:t(F,{className:"size-4 animate-spin"})},style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)","--border-radius":"var(--radius)"},...e})};var _n=Mr((e)=>({uploading:0,tasks:{},fileProgress:{},increment:()=>e((r)=>({uploading:r.uploading+1})),decrement:()=>e((r)=>({uploading:r.uploading-1})),startTask:(r,a,i)=>e((s)=>{let l={},c=0;i.forEach((g)=>{l[g.fileId]={fileId:g.fileId,name:g.name,loaded:0,total:g.size,status:"uploading"},c+=g.size});let d={...s.tasks,[r]:{taskId:r,name:a,loaded:0,total:c,files:l}},m={...s.fileProgress};return i.forEach((g)=>{m[g.fileId]=l[g.fileId]}),{tasks:d,fileProgress:m}}),updateFileProgress:(r,a,i)=>e((s)=>{let l=s.tasks[r];if(!l)return{};let c=l.files[a];if(!c)return{};let d={...c,loaded:i},m={...l.files,[a]:d},g=Object.values(m).reduce((M,v)=>M+v.loaded,0);return{tasks:{...s.tasks,[r]:{...l,loaded:g,files:m}},fileProgress:{...s.fileProgress,[a]:d}}}),completeFile:(r,a)=>e((i)=>{let s=i.tasks[r];if(!s)return{};let l=s.files[a];if(!l)return{};let c={...l,status:"completed",loaded:l.total},d={...s.files,[a]:c},m=Object.values(d).reduce((g,M)=>g+M.loaded,0);return{tasks:{...i.tasks,[r]:{...s,loaded:m,files:d}},fileProgress:{...i.fileProgress,[a]:c}}}),failFile:(r,a)=>e((i)=>{let s=i.tasks[r];if(!s)return{};let l=s.files[a];if(!l)return{};let c={...l,status:"failed"},d={...s.files,[a]:c},m=Object.values(d).reduce((g,M)=>g+M.loaded,0);return{tasks:{...i.tasks,[r]:{...s,loaded:m,files:d}},fileProgress:{...i.fileProgress,[a]:c}}})}));S();function Xd({className:e,value:r,...a}){return t(TIe,{"data-slot":"progress",className:C("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",e),...a,children:t(AIe,{"data-slot":"progress-indicator",className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(r||0)}%)`}})})}function E1t(e){let r=fM(e);if(isNaN(r.getTime()))return Jht();if(mD(r))return Dse();if(hD(r))return Ose();return hr(r,YFe())}function gxe(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 D1t({task:e}){let r=_n((l)=>l.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,s;try{s=Mn(e.createdAt)}catch{s=gn()}return o("div",{className:"group relative flex flex-col p-4 rounded-xl border border-sidebar-border bg-sidebar-accent/30 text-sidebar-foreground shadow-xs transition-all duration-200 hover:shadow-md hover:border-sidebar-foreground/20 hover:bg-sidebar-accent/50",children:[o("div",{className:"flex items-start justify-between gap-2 mb-2",children:[t("div",{className:"min-w-0 flex-1",children:t("span",{className:"text-sm font-semibold tracking-tight text-sidebar-foreground truncate block",title:e.name,children:e.name||zgt()})}),t("div",{className:"flex-shrink-0",children:a?o("span",{className:"inline-flex items-center gap-1 text-xs font-semibold text-muted-foreground bg-muted px-2 py-0.5 rounded-full transition-colors",children:[t(vr,{className:"w-3.5 h-3.5"}),H6e()]}):o("span",{className:"inline-flex items-center gap-1 text-xs font-semibold text-sidebar-primary bg-sidebar-primary/10 px-2 py-0.5 rounded-full animate-pulse",children:[t(F,{className:"w-3.5 h-3.5 animate-spin"}),Xgt()]})})]}),o("div",{className:"flex items-center gap-1.5 text-xs text-muted-foreground mb-3 font-medium",children:[t(Xt,{className:"w-3.5 h-3.5 text-muted-foreground/75"}),t("span",{children:s})]}),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?`${gxe(r.loaded)} / ${gxe(r.total)} (${Lse({uploaded:e.uploaded,total:e.total})})`:Lse({uploaded:e.uploaded,total:e.total})}),!a&&o("span",{className:"text-sidebar-primary font-mono font-bold",children:[Math.round(i),"%"]})]}),t(Xd,{value:i,className:"h-1.5 w-full bg-muted"})]})]})}function Mxe(){let e=hs(),r=_n((x)=>x.uploading),a=_n((x)=>x.tasks),{data:i,fetchNextPage:s,hasNextPage:l,isFetchingNextPage:c,isLoading:d}=ft({queryKey:["teams",e,"upload","tasks"],queryFn:async({pageParam:x})=>{let _=await A.api.teams[":teamId"].upload.tasks.$get({param:{teamId:e},query:{after:x}});if(!_.ok)throw Error("Failed to fetch upload tasks");return await _.json()},initialPageParam:"",getNextPageParam:(x)=>x.pageInfo?.cursor||void 0,enabled:!!e,refetchInterval:r>0?2000:!1}),{ref:m,inView:g}=Nt();h(()=>{if(g&&l&&!c)s()},[g,l,c,s]);let M=i?.pages.flatMap((x)=>x.data??[])??[],v=P(()=>{let x=new Set(M.map((j)=>j.id));return[...Object.values(a).filter((j)=>!x.has(j.taskId)).map((j)=>{let U=Object.values(j.files).filter((T)=>T.status==="completed"||T.status==="failed").length;return{id:j.taskId,name:j.name,total:Object.keys(j.files).length,uploaded:U,createdAt:new Date().toISOString()}}),...M].sort((j,U)=>U.id.localeCompare(j.id))},[M,a]);if(d)return t("div",{className:"flex items-center justify-center p-8",children:t(F,{className:"h-6 w-6 animate-spin text-muted-foreground"})});if(v.length===0)return o("div",{className:"flex flex-col items-center justify-center p-8 text-center border border-dashed border-border rounded-xl bg-muted/10 my-4",children:[t(zn,{className:"h-8 w-8 text-muted-foreground/50 mb-3"}),t("p",{className:"text-sm font-semibold text-muted-foreground",children:w$e()}),t("p",{className:"text-xs text-muted-foreground/60 mt-1 max-w-[180px]",children:y$e()})]});let y=[];return v.forEach((x)=>{let _=E1t(x.createdAt),j=y.find((U)=>U.day===_);if(!j)j={day:_,tasks:[]},y.push(j);j.tasks.push(x)}),o("div",{className:"flex flex-col space-y-4",children:[y.map((x)=>o("div",{className:"relative flex flex-col",children:[o("div",{className:"sticky top-0 bg-sidebar/95 backdrop-blur-sm z-10 py-2 px-1 flex items-center justify-between border-b border-border/40",children:[t("span",{className:"text-xs font-bold uppercase tracking-wider text-muted-foreground/80",children:x.day}),t("span",{className:"text-[10px] font-semibold text-muted-foreground/60 bg-muted px-2 py-0.5 rounded-full",children:x.tasks.length===1?KXe({count:x.tasks.length}):VXe({count:x.tasks.length})})]}),t("div",{className:"mt-3 space-y-3",children:x.tasks.map((_)=>t(D1t,{task:_},_.id))})]},x.day)),l&&t("div",{ref:m,className:"flex items-center justify-center p-4",children:c&&t(F,{className:"h-5 w-5 animate-spin text-muted-foreground"})})]})}S();async function vxe(e){let r=e.match(/^\/teams\/([^/]+)/),a=r?r[1]:null;if(a)return a;let i=e.match(/^\/projects\/([^/]+)/),s=i?i[1]:null;if(s){let{ensureTeamIdForProject:l}=lt.getState();return await l(s)}return null}function O1t(){let e=pf((_)=>_.user),{uploading:r}=_n(),a=tz({select:(_)=>_.location.pathname}),i=ke(),{teamId:s,setTeamId:l}=lt(),{projectState:c}=on(),d=e&&(a.startsWith("/teams/")||a.startsWith("/projects/"));h(()=>{vxe(a).then((_)=>{if(_&&_!==s)l(_)})},[a,s,l]);let{data:m}=Z({queryKey:["teams",s,"me"],queryFn:async()=>{if(!s)return null;let _=await A.api.teams[":teamId"].me.$get({param:{teamId:s}});if(!_.ok)throw Error("Failed to fetch me");return await _.json()},enabled:!!s});if(!d)return t(IM,{});let g=m?.unreadNotificationCount??0,M=g>99?"99+":g,v=g>0?t("span",{className:"absolute justify-center top-0 -right-1 mt-1 inline-flex items-center px-1.5 py-0.5 rounded-full text-xs leading-4 bg-red-400 dark:bg-red-500 text-white pointer-events-none h-5 min-w-5",children:M}):null,y=a.includes("/kanban"),x=a.includes("/dashboard");return o("div",{className:"flex h-[100dvh] w-full bg-background overflow-hidden",children:[t(hxe,{}),o(Nse,{hideMobileButton:!0,defaultMobileContent:c?.projectId?{label:kse(),children:t(yr,{teamId:c.teamId,projectId:c.projectId,projectName:c.projectName,rootFolderId:c.rootFolderId||"",ancestorFolders:c.ancestorFolders})}:void 0,children:[t(Gz,{icon:t(kge,{}),label:UHe(),onItemClick:()=>{if(s)i({to:"/teams/$teamId",params:{teamId:s}})}}),t(Gz,{icon:t(Lge,{}),label:ug(),badge:v,children:t(yge,{})}),t(Gz,{icon:t(Cge,{uploading:r>0,className:r>0?"text-blue-500":""}),label:$gt(),children:t(Mxe,{})}),t(Gz,{icon:t(Ige,{}),label:kVe(),active:y,onItemClick:()=>{if(s)i({to:"/teams/$teamId/kanban",params:{teamId:s}})}}),m?.role?.toLowerCase()==="owner"&&t(Gz,{icon:t(Rge,{}),label:lh(),active:x,onItemClick:()=>{if(s)i({to:"/teams/$teamId/dashboard",params:{teamId:s}})}})]}),o("div",{className:"flex flex-col flex-1 md:pl-16 overflow-hidden relative",children:[t(Jd,{}),t("main",{className:"flex-1 overflow-hidden relative flex flex-col",children:t(IM,{})})]})]})}var Rn=z6()({beforeLoad:async({location:e})=>{if(typeof window<"u"){let r=e.pathname,a=await vxe(r);if(a){let{fetchMetadata:i,getMetadata:s}=gr.getState();try{await i(a);let l=s("locale");if((l==="en"||l==="zh")&&l!==n())ka(l,{reload:!1})}catch(l){console.error("Failed to load user locale metadata:",l)}}document.documentElement.setAttribute("lang",n())}},component:O1t});function Nl({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(dM,{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:Ije()}),t("p",{className:"text-zinc-600 dark:text-zinc-400 text-sm leading-relaxed max-w-sm",children:Mje()}),t("ul",{className:"space-y-3.5 pt-4",children:[Lje(),yje(),wje()].map((r,a)=>o("li",{className:"flex items-center gap-3 text-sm text-zinc-700 dark:text-zinc-300 font-medium",children:[t(vr,{className:"w-5 h-5 text-rose-500 flex-shrink-0"}),t("span",{children:r})]},a))})]}),t("div",{className:"relative pt-4 border-t border-zinc-200/30 dark:border-zinc-800/30",children:t("p",{className:"text-xs text-zinc-500 dark:text-zinc-400 font-medium",children:mje()})})]}),t("div",{className:"w-full md:w-1/2 p-8 md:p-12 flex flex-col justify-center",children:e})]})]})}function _t({className:e,...r}){return t("div",{"data-slot":"card",className:C("flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm",e),...r})}function kt({className:e,...r}){return t("div",{"data-slot":"card-header",className:C("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...r})}function Rt({className:e,...r}){return t("div",{"data-slot":"card-title",className:C("leading-none font-semibold",e),...r})}function Ut({className:e,...r}){return t("div",{"data-slot":"card-description",className:C("text-sm text-muted-foreground",e),...r})}function It({className:e,...r}){return t("div",{"data-slot":"card-content",className:C("px-6",e),...r})}function ef({className:e,...r}){return t("div",{"data-slot":"card-footer",className:C("flex items-center px-6 [.border-t]:pt-6",e),...r})}S();var hO=(e)=>e.type==="checkbox",x3=(e)=>e.type==="file",G8=(e)=>e instanceof Date,Ni=(e)=>e==null,NG=(e)=>typeof e==="object",Pn=(e)=>!Ni(e)&&!Array.isArray(e)&&NG(e)&&!G8(e),j1t=(e)=>Pn(e)&&e.target?hO(e.target)?e.target.checked:x3(e.target)?e.target.files:e.target.value:e,N1t=(e,r)=>r.split(".").some((a,i,s)=>!isNaN(Number(a))&&e.has(s.slice(0,i).join("."))),y3=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Zn(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(y3&&(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 s in e)if(Object.prototype.hasOwnProperty.call(e,s))i[s]=Zn(e[s]);return i}var uP={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},Ru={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Cu={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},Txe="root",FG=["__proto__","constructor","prototype"],F1t=/^\w*$/,EL=(e)=>F1t.test(e),ua=(e)=>e===void 0,B1t=/[.[\]'"]/,ZP=(e)=>e.split(B1t).filter(Boolean),pr=(e,r,a)=>{if(!r||!Pn(e))return a;let i=EL(r)?[r]:ZP(r);if(i.some((l)=>FG.includes(l)))return a;let s=i.reduce((l,c)=>Ni(l)?void 0:l[c],e);return ua(s)||s===e?ua(e[r])?a:e[r]:s},SZ=(e)=>typeof e==="boolean",Ac=(e)=>typeof e==="function",ca=(e,r,a)=>{let i=-1,s=EL(r)?[r]:ZP(r),l=s.length,c=l-1;while(++i<l){let d=s[i],m=a;if(i!==c){let g=e[d];m=Pn(g)||Array.isArray(g)?g:!isNaN(+s[i+1])?[]:{}}if(FG.includes(d))return;e[d]=m,e=e[d]}},Y1t=it(null);Y1t.displayName="HookFormControlContext";var U1t=(e,r,a,i=!0)=>{let s={};for(let l in e)Object.defineProperty(s,l,{get:()=>{let c=l;if(r._proxyFormState[c]!==Ru.all)r._proxyFormState[c]=!i||Ru.all;return a&&(a[c]=!0),e[c]}});return s},q1t=y3?$e:h,H1t=(e)=>{let r=e.constructor&&e.constructor.prototype;return Pn(r)&&r.hasOwnProperty("isPrototypeOf")},DG=(e)=>Ni(e)||!NG(e),xxe=(e,r)=>r.length===0&&!Array.isArray(e)&&!H1t(e);function Iu(e,r,a=new WeakMap){if(e===r)return!0;if(DG(e)||DG(r))return Object.is(e,r);if(G8(e)&&G8(r))return Object.is(e.getTime(),r.getTime());let i=Object.keys(e),s=Object.keys(r);if(i.length!==s.length)return!1;if(xxe(e,i)||xxe(r,s))return Object.is(e,r);if(!i.length&&Array.isArray(e)!==Array.isArray(r))return!1;let l=a.get(e);if(l&&l.has(r))return!0;if(l)l.add(r);else{let c=new WeakSet;c.add(r),a.set(e,c)}for(let c of i){let d=e[c];if(!(c in r))return!1;if(c!=="ref"){let m=r[c];if(G8(d)&&G8(m)||(Pn(d)||Array.isArray(d))&&(Pn(m)||Array.isArray(m))?!Iu(d,m,a):!Object.is(d,m))return!1}}return!0}function V1t(){let e=b(!1),r=b(void 0),a=D((s,l,c)=>{if(s&&e.current){let d=l();if(!Iu(r.current,d))c(d)}e.current=!0},[]),i=D((s,l)=>{if(s)r.current=Zn(l())},[]);return{resyncIfNeeded:a,snapshot:i}}var Fi=(e)=>typeof e==="string",W1t=(e,r,a,i,s)=>{if(Fi(e))return i&&r.watch.add(e),pr(a,e,s);if(Array.isArray(e))return e.map((l)=>(i&&r.watch.add(l),pr(a,l)));return i&&(r.watchAll=!0),a};var h3=(e)=>({isOnSubmit:!e||e===Ru.onSubmit,isOnBlur:e===Ru.onBlur,isOnChange:e===Ru.onChange,isOnAll:e===Ru.all,isOnTouch:e===Ru.onTouched}),TG=(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},mO=(e,r,a,i)=>{for(let s of a||Object.keys(e)){if(s==="_f")continue;let l=a?pr(e,s):e[s];if(l){let{_f:c}=l;if(c){if(c.refs&&c.refs[0]&&r(c.refs[0],s)&&!i)return!0;else if(c.ref&&r(c.ref,c.name)&&!i)return!0;else if(mO(l,r))break}else if(Pn(l)||Array.isArray(l)){if(mO(l,r))break}}}return},yxe=(e,r,a)=>{let i=pr(e,a),s=Array.isArray(i)?i:[];return ca(s,Txe,r[a]),ca(e,a,s),e},lf=(e)=>Pn(e)&&!Object.keys(e).length,M3=(e)=>{if(!y3)return!1;let r=e?e.ownerDocument:0;return e instanceof(r&&r.defaultView?r.defaultView.HTMLElement:HTMLElement)},BG=(e)=>e.type==="radio",v3=(e)=>e instanceof RegExp,b3=(e,r,a,i,s)=>r?{...a[e],types:{...a[e]&&a[e].types?a[e].types:{},[i]:s||!0}}:{},bxe={value:!1,isValid:!1},_xe={value:!0,isValid:!0},Axe=(e)=>{if(!Array.isArray(e))return bxe;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 bxe;if(!r.attributes||!("value"in r.attributes))return _xe;return ua(r.value)||r.value===""?_xe:{value:r.value,isValid:!0}},wxe={isValid:!1,value:null},Exe=(e)=>Array.isArray(e)?e.reduce((r,a)=>a&&a.checked&&!a.disabled?{isValid:!0,value:a.value}:r,wxe):wxe;function zxe(e,r,a="validate"){if(Fi(e)||Array.isArray(e)&&e.every(Fi)||SZ(e)&&!e)return{type:a,message:Fi(e)?e:"",ref:r}}var dP=(e)=>Pn(e)&&!v3(e)?e:{value:e,message:""},Sxe=async(e,r,a,i,s,l)=>{let{ref:c,refs:d,required:m,maxLength:g,minLength:M,min:v,max:y,pattern:x,validate:_,name:j,valueAsNumber:U,mount:T}=e._f,N=pr(a,j);if(!T||r.has(j))return{};let G=d?d[0]:c,X=(Se)=>{if(s&&G.reportValidity){let He=SZ(Se)?"":Se||"";if(d)d.forEach((ut)=>ut.setCustomValidity(He));else G.setCustomValidity(He);G.reportValidity()}},J={},ee=BG(c),re=hO(c),oe=ee||re,ie=(U||x3(c))&&ua(c.value)&&ua(N)||M3(c)&&c.value===""||N===""||Array.isArray(N)&&!N.length,ye=b3.bind(null,j,i,J),We=(Se,He,ut,Ke=Cu.maxLength,yt=Cu.minLength)=>{let At=Se?He:ut;J[j]={type:Se?Ke:yt,message:At,ref:c,...ye(Se?Ke:yt,At)}};if(l?!Array.isArray(N)||!N.length:m&&(!oe&&(ie||Ni(N))||SZ(N)&&!N||re&&!Axe(d).isValid||ee&&!Exe(d).isValid)){let{value:Se,message:He}=Fi(m)?{value:!!m,message:m}:dP(m);if(Se){if(J[j]={type:Cu.required,message:He,ref:G,...ye(Cu.required,He)},!i)return X(He),J}}if(!ie&&(!Ni(v)||!Ni(y))){let Se,He,ut=dP(y),Ke=dP(v);if(!Ni(N)&&!G8(N)&&!isNaN(N)){let yt=c.valueAsNumber||(N?+N:N);if(!Ni(ut.value))Se=yt>ut.value;if(!Ni(Ke.value))He=yt<Ke.value}else{let yt=c.valueAsDate||new Date(N),At=(bt)=>new Date(new Date().toDateString()+" "+bt),jt=c.type=="time",de=c.type=="week";if(Fi(ut.value)&&N)Se=jt?At(N)>At(ut.value):de?N>ut.value:yt>new Date(ut.value);if(Fi(Ke.value)&&N)He=jt?At(N)<At(Ke.value):de?N<Ke.value:yt<new Date(Ke.value)}if(Se||He){if(We(!!Se,ut.message,Ke.message,Cu.max,Cu.min),!i)return X(J[j].message),J}}if((g||M)&&!ie&&(Fi(N)||l&&Array.isArray(N))){let Se=dP(g),He=dP(M),ut=!Ni(Se.value)&&N.length>+Se.value,Ke=!Ni(He.value)&&N.length<+He.value;if(ut||Ke){if(We(ut,Se.message,He.message),!i)return X(J[j].message),J}}if(x&&!ie&&Fi(N)){let{value:Se,message:He}=dP(x);if(v3(Se)&&!N.match(Se)){if(J[j]={type:Cu.pattern,message:He,ref:c,...ye(Cu.pattern,He)},!i)return X(He),J}}if(_){if(Ac(_)){let Se=await _(N,a),He=zxe(Se,G);if(He){if(J[j]={...He,...ye(Cu.validate,He.message)},!i)return X(He.message),J}}else if(Pn(_)){let Se={};for(let He in _){if(!lf(Se)&&!i)break;let ut=zxe(await _[He](N,a),G,He);if(ut){if(Se={...ut,...ye(He,ut.message)},X(ut.message),i)J[j]=Se}}if(!lf(Se)){if(J[j]={ref:G,...Se},!i)return J}}}let Ye=J[j];return X(Ye?Ye.message:!0),J},g3=(e)=>Array.isArray(e)?e:[e];var Dxe=(e)=>Array.isArray(e)?e.filter(Boolean):[];function G1t(e,r){let a=r.length-1,i=0;while(i<a){if(Ni(e)){e=void 0;break}e=e[r[i]],i++}return e}function K1t(e){for(let r in e)if(e.hasOwnProperty(r)&&!ua(e[r]))return!1;return!0}function Kn(e,r){if(Fi(r)&&Object.prototype.hasOwnProperty.call(e,r))return delete e[r],e;let a=Array.isArray(r)?r:EL(r)?[r]:ZP(r);if(a.some((c)=>FG.includes(String(c))))return e;let i=a.length===1?e:G1t(e,a),s=a.length-1,l=a[s];if(i)delete i[l];if(s!==0&&(Pn(i)&&lf(i)||Array.isArray(i)&&K1t(i)))Kn(e,a.slice(0,-1));return e}var X1t=it(null);X1t.displayName="HookFormContext";var Lxe=()=>{let e=[];return{get observers(){return e},next:(s)=>{for(let l of e)l.next&&l.next(s)},subscribe:(s)=>(e.push(s),{unsubscribe:()=>{e=e.filter((l)=>l!==s)}}),unsubscribe:()=>{e=[]}}};function Oxe(e,r){let a={};for(let i in e)if(e.hasOwnProperty(i)){let s=e[i],l=r[i];if(s&&Pn(s)&&l){let c=Oxe(s,l);if(Pn(c))a[i]=c}else if(e[i])a[i]=l}return a}var kxe=(e,r)=>e!==null&&NG(e)&&Object.prototype.hasOwnProperty.call(e,r),Q1t=(e,r)=>{if(!r)return!1;let a=e;for(let i of EL(r)?[r]:ZP(r)){if(!kxe(a,i))return kxe(e,r);a=a[i]}return!0},jxe=(e)=>e.type==="select-multiple",J1t=(e)=>BG(e)||hO(e),AG=(e)=>M3(e)&&e.isConnected;function Cxe(e){return Array.isArray(e)||Pn(e)}function Nxe(e,r,a="",i=[]){for(let s in e){let l=a?`${a}.${s}`:s,c=e[s];if(Cxe(c)&&Cxe(pr(r,l)))Nxe(c,r,l,i);else i.push(l)}return i}var $1t=(e)=>{for(let r in e)if(Ac(e[r]))return!0;return!1};function Fxe(e){return Array.isArray(e)||Pn(e)&&!$1t(e)}function Bxe(e){return!!(e&&("_f"in e))}function Yxe(e){return Array.isArray(e)?!e.some((r)=>!ua(r)):!Object.keys(e).length}function OG(e,r){if(Array.isArray(e))e[r]=void 0;else delete e[r]}function jG(e,r={},a){for(let i in e){let s=e[i],l=a&&a[i];if(Fxe(s)&&(!Array.isArray(s)||!Bxe(l))){if(r[i]=Array.isArray(s)?[]:{},jG(s,r[i],l),Yxe(r[i]))OG(r,i)}else if(!ua(s))r[i]=!0}return r}function AL(e,r,a,i){if(!a)a=jG(r,{},i);for(let s in e){let l=e[s],c=i&&i[s];if(Fxe(l)&&(!Array.isArray(l)||!Bxe(c))){if(ua(r)||DG(a[s]))a[s]=jG(l,Array.isArray(l)?[]:{},c);else AL(l,Ni(r)?{}:r[s],a[s],c);if(Yxe(a[s]))OG(a,s)}else if(Iu(l,r[s]))OG(a,s);else a[s]=!0}return a}var eCt=(e,r)=>{let a=r.split("."),i=[],s=a[0];for(let l=1;l<a.length;s+="."+a[l++])if(!isNaN(+a[l])&&e.has(s))i.push(`${s}.${a[l]}`);return i},Uxe=(e,{valueAsNumber:r,valueAsDate:a,setValueAs:i})=>ua(e)?e:r?e===""?NaN:e?+e:e:a&&Fi(e)?new Date(e):i?i(e):e;function Ixe(e){let r=e.ref;if(x3(r))return r.files;if(BG(r))return Exe(e.refs).value;if(jxe(r))return[...r.selectedOptions].map(({value:a})=>a);if(hO(r))return Axe(e.refs).value;return Uxe(r.value,e)}var tCt=(e,r,a,i)=>{let s={};for(let l of e){let c=pr(r,l);c&&ca(s,l,c._f)}return{criteriaMode:a,names:[...e],fields:s,shouldUseNativeValidation:i}},pO=(e)=>ua(e)?e:v3(e)?e.source:Pn(e)?v3(e.value)?e.value.source:e.value:e,Rxe="AsyncFunction",rCt=(e)=>{if(!e||!e.validate)return!1;if(Ac(e.validate))return e.validate.constructor.name===Rxe;if(Pn(e.validate)){for(let r in e.validate)if(e.validate[r].constructor.name===Rxe)return!0}return!1},oCt=(e)=>e.mount&&(e.required||!ua(e.required)&&e.required!==!1||!ua(e.min)||!ua(e.max)||!ua(e.maxLength)||!ua(e.minLength)||e.pattern||e.validate);function Pxe(e,r,a){let i=pr(e,a);if(i||EL(a))return{error:i,name:a};let s=a.split(".");while(s.length){let l=s.join("."),c=pr(r,l),d=pr(e,l);if(c&&!Array.isArray(c)&&a!==l)return{name:a};if(d&&d.type)return{name:l,error:d};if(d&&d.root&&d.root.type)return{name:`${l}.root`,error:d.root};s.pop()}return{name:a}}var aCt=(e,r,a,i)=>{a(e);let s=Object.keys(e).filter((l)=>l!=="name");return!s.length||i&&s.length>=Object.keys(r).length||s.find((l)=>r[l]===(!i||Ru.all))},nCt=(e,r,a)=>!e||!r||e===r||g3(e).some((i)=>i&&(a?i===r||i.startsWith(r+"."):i.startsWith(r)||r.startsWith(i))),iCt=(e,r,a,i,s)=>{if(s.isOnAll)return!1;else if(!a&&s.isOnTouch)return!(r||e);else if(a?i.isOnBlur:s.isOnBlur)return!e;else if(a?i.isOnChange:s.isOnChange)return e;return!0},fCt=(e,r)=>{let a=pr(e,r);!Dxe(a).length&&!(a===null||a===void 0?void 0:a.root)&&Kn(e,r)},sCt={mode:Ru.onSubmit,reValidateMode:Ru.onChange,shouldFocusError:!0},EG="form",lCt=(e,r)=>{for(let a in e)if(!(a in r))delete e[a];Object.assign(e,r)},qxe={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function cCt(e={}){let r={...sCt,...e},a={...Zn(qxe),isLoading:Ac(r.defaultValues),errors:r.errors||{},disabled:r.disabled||!1},i={},s=Pn(r.defaultValues)||Pn(r.values)?Zn(r.defaultValues||r.values)||{}:{},l=r.shouldUnregister?{}:Zn(s),c={action:!1,actionArrayLengths:new Map,mount:!1,watch:!1,keepIsValid:!1},d={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},m={},g={},M=0,v=h3(r.mode),y=h3(r.reValidateMode),x={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},_={...x},j={..._},U={array:Lxe(),state:Lxe()},T=0,N=r.criteriaMode===Ru.all,G=(Ee,Oe)=>(Fe)=>{clearTimeout(g[Ee]),g[Ee]=setTimeout(Oe,Fe)},X=async(Ee)=>{if(c.keepIsValid)return;if(!r.disabled&&(_.isValid||j.isValid||Ee)){let Oe=++T,Fe;if(r.resolver)Fe=lf((await ut()).errors),Oe===T&&J();else Fe=await At({fields:i,onlyCheckValid:!0,eventType:uP.VALID});if(Oe===T&&Fe!==a.isValid)U.state.next({isValid:Fe})}},J=(Ee,Oe)=>{if(!r.disabled&&(_.isValidating||_.validatingFields||j.isValidating||j.validatingFields))(Ee||d.mount).forEach((Fe)=>{if(Fe)Oe?ca(a.validatingFields,Fe,Oe):Kn(a.validatingFields,Fe)}),U.state.next({validatingFields:a.validatingFields,isValidating:!lf(a.validatingFields)})},ee=()=>{a.dirtyFields=AL(s,l,void 0,i)},re=(Ee,Oe=[],Fe,Zt,St=!0,Ot=!0)=>{if(Zt&&Fe&&!r.disabled){c.action=!0;let fr=pr(i,Ee);if(!c.actionArrayLengths.has(Ee))c.actionArrayLengths.set(Ee,Array.isArray(fr)?fr.length:0);if(Ot&&Array.isArray(fr)){let qt=Fe(fr,Zt.argA,Zt.argB);St&&ca(i,Ee,qt)}let Tt=pr(a.errors,Ee);if(Ot&&Array.isArray(Tt)){let qt=Tt.root,Er=Fe(Tt,Zt.argA,Zt.argB)||Tt;if(qt)Er.root=qt;St&&ca(a.errors,Ee,Er),fCt(a.errors,Ee)}let zt=pr(a.touchedFields,Ee);if((_.touchedFields||j.touchedFields)&&Ot&&Array.isArray(zt)){let qt=Fe(zt,Zt.argA,Zt.argB);St&&ca(a.touchedFields,Ee,qt)}if(_.dirtyFields||j.dirtyFields)ee();U.state.next({name:Ee,isDirty:de(Ee,Oe),dirtyFields:a.dirtyFields,errors:a.errors,isValid:a.isValid})}else ca(l,Ee,Oe)},oe=(Ee,Oe)=>{ca(a.errors,Ee,Oe),a.errors={...a.errors},U.state.next({errors:a.errors})},ie=(Ee)=>{a.errors=Ee,U.state.next({errors:a.errors,isValid:!1})},ye=(Ee)=>{let Oe=EL(Ee)?[Ee]:ZP(Ee),Fe=l,Zt=s;for(let St=0;St<Oe.length-1;St++){let Ot=Oe[St];if(Fe=Ni(Fe)?Fe:Fe[Ot],Zt=Ni(Zt)?Zt:Zt[Ot],Fe===null&&Zt!==null)return!0}return!1},We=(Ee)=>{if(!c.actionArrayLengths.size)return!1;let Oe=EL(Ee)?[Ee]:ZP(Ee),Fe=l,Zt="",St=-1,Ot=0;for(let fr=0;fr<Oe.length;fr++){if(Ni(Fe))return!1;let Tt=Oe[fr];if(Zt=Zt?`${Zt}.${Tt}`:Tt,Array.isArray(Fe)&&+Tt>=Fe.length)return St===-1?!1:fr===St?+Tt<Ot:!0;if(c.actionArrayLengths.has(Zt))St=fr+1,Ot=c.actionArrayLengths.get(Zt);Fe=Fe[Tt]}return!1},Ye=(Ee,Oe,Fe,Zt)=>{let St=pr(i,Ee);if(St){if(ye(Ee)||We(Ee))return;let Ot=ua(pr(l,Ee)),fr=pr(l,Ee,ua(Fe)?pr(s,Ee):Fe);if(ua(fr)||Zt&&Zt.defaultChecked||Oe?ca(l,Ee,Oe?fr:Ixe(St._f)):je(Ee,fr),c.mount&&!c.action){if(X(),Ot&&a.isDirty&&(_.isDirty||j.isDirty)){if(!de())a.isDirty=!1,U.state.next({...a})}if(e.shouldUnregister&&Ot&&!ua(pr(l,Ee))&&TG(Ee,d))c.watch=!0}}},Se=(Ee,Oe,Fe,Zt,St)=>{let Ot=!1,fr=!1,Tt={name:Ee};if(!r.disabled||Zt===!0){if(!Fe||Zt){let zt=Iu(pr(s,Ee),Oe);if(_.isDirty||j.isDirty)fr=a.isDirty,a.isDirty=Tt.isDirty=!zt||de(),Ot=fr!==Tt.isDirty;if(fr=!!pr(a.dirtyFields,Ee),zt!==a.isDirty)lCt(a.dirtyFields,AL(s,l,void 0,i));else zt?Kn(a.dirtyFields,Ee):ca(a.dirtyFields,Ee,!0);Tt.dirtyFields=a.dirtyFields,Ot=Ot||(_.dirtyFields||j.dirtyFields)&&fr!==!zt}if(Fe){let zt=pr(a.touchedFields,Ee);if(!zt)ca(a.touchedFields,Ee,Fe),Tt.touchedFields=a.touchedFields,Ot=Ot||(_.touchedFields||j.touchedFields)&&zt!==Fe}Ot&&St&&U.state.next(Tt)}return Ot?Tt:{}},He=(Ee,Oe,Fe,Zt)=>{let St=pr(a.errors,Ee),Ot=(_.isValid||j.isValid)&&SZ(Oe)&&a.isValid!==Oe;if(r.delayError&&Fe)m[Ee]=G(Ee,()=>oe(Ee,Fe)),m[Ee](r.delayError);else clearTimeout(g[Ee]),delete m[Ee],Fe?ca(a.errors,Ee,Fe):Kn(a.errors,Ee),a.errors={...a.errors};if((Fe?!Iu(St,Fe):St)||!lf(Zt)||Ot){let fr={...Zt,...Ot&&SZ(Oe)?{isValid:Oe}:{},errors:a.errors,name:Ee};U.state.next(fr)}},ut=async(Ee)=>(J(Ee,!0),await r.resolver(l,r.context,tCt(Ee||d.mount,i,r.criteriaMode,r.shouldUseNativeValidation))),Ke=async(Ee)=>{let{errors:Oe}=await ut(Ee);if(J(Ee),Ee){for(let Fe of Ee){let Zt=pr(Oe,Fe);Zt?d.array.has(Fe)&&Pn(Zt)&&!Object.keys(Zt).some((St)=>!Number.isNaN(Number(St)))?yxe(a.errors,{[Fe]:Zt},Fe):ca(a.errors,Fe,Zt):Kn(a.errors,Fe)}a.errors={...a.errors}}else a.errors=Oe;return Oe},yt=async({name:Ee,eventType:Oe})=>{if(e.validate){let Fe=await e.validate({formValues:l,formState:a,name:Ee,eventType:Oe});if(Pn(Fe))for(let Zt in Fe){let St=Fe[Zt];if(St)lo(`${EG}.${Zt}`,{message:Fi(St.message)?St.message:"",type:St.type||Cu.validate})}else if(Fi(Fe)||!Fe)lo(EG,{message:Fe||"",type:Cu.validate});else uo(EG);return Fe}return!0},At=async({fields:Ee,onlyCheckValid:Oe,name:Fe,eventType:Zt,context:St={valid:!0,runRootValidation:!1}})=>{if(e.validate){if(St.runRootValidation=!0,!await yt({name:Fe,eventType:Zt})){if(St.valid=!1,Oe)return St.valid}}for(let Ot in Ee){let fr=Ee[Ot];if(fr){let{_f:Tt,...zt}=fr;if(Tt){let qt=d.array.has(Tt.name),Er=fr._f&&rCt(fr._f),jr=_.validatingFields||_.isValidating||j.validatingFields||j.isValidating;if(Er&&jr)J([Tt.name],!0);let aa=await Sxe(fr,d.disabled,l,N,r.shouldUseNativeValidation&&!Oe,qt);if(Er&&jr)J([Tt.name]);if(aa[Tt.name]){if(St.valid=!1,Oe)break}if(!Oe&&(pr(aa,Tt.name)?qt?yxe(a.errors,aa,Tt.name):ca(a.errors,Tt.name,aa[Tt.name]):Kn(a.errors,Tt.name)),e.shouldUseNativeValidation&&aa[Tt.name])break}!lf(zt)&&await At({context:St,onlyCheckValid:Oe,fields:zt,name:Ot,eventType:Zt})}}return St.valid},jt=()=>{for(let Ee of d.unMount){let Oe=pr(i,Ee);Oe&&(Oe._f.refs?Oe._f.refs.every((Fe)=>!AG(Fe)):!AG(Oe._f.ref))&&Yr(Ee)}d.unMount=new Set},de=(Ee,Oe)=>(Ee&&Oe&&ca(l,Ee,Oe),!Iu(c.mount?l:s,s)),bt=(Ee,Oe,Fe)=>W1t(Ee,d,{...c.mount?l:ua(Oe)||Fi(Ee)?s:Oe},Fe,Oe),Wt=(Ee)=>Dxe(pr(c.mount?l:s,Ee,r.shouldUnregister?pr(s,Ee,[]):[])),je=(Ee,Oe,Fe={},Zt=!1,St=!1,Ot=!1)=>{let fr=pr(i,Ee),Tt=Oe;if(fr){let zt=fr._f;if(zt){if(!zt.disabled&&ca(l,Ee,Uxe(Oe,zt)),Tt=M3(zt.ref)&&Ni(Oe)?"":Oe,jxe(zt.ref))[...zt.ref.options].forEach((qt)=>qt.selected=Tt.includes(qt.value));else if(zt.refs)if(hO(zt.ref))zt.refs.forEach((qt)=>{if(!qt.defaultChecked||!qt.disabled)if(Array.isArray(Tt))qt.checked=!!Tt.find((Er)=>Er===qt.value);else qt.checked=Tt===qt.value||!!Tt});else zt.refs.forEach((qt)=>qt.checked=qt.value===Tt);else if(x3(zt.ref))zt.ref.value="";else if(zt.ref.value=Tt,!zt.ref.type&&!St&&!Ot)U.state.next({name:Ee,values:Zt?l:Zn(l)})}}(Fe.shouldDirty||Fe.shouldTouch)&&Se(Ee,Tt,Fe.shouldTouch,Fe.shouldDirty,!St),Fe.shouldValidate&&Tr(Ee,{delayError:Fe.delayError})},sr=(Ee,Oe,Fe,Zt=!1,St=!1,Ot=!1)=>{if(d.array.has(Ee))U.array.next({name:Ee,values:Zt?l:Zn(l)});for(let fr in Oe){if(!Oe.hasOwnProperty(fr))return;let Tt=Oe[fr],zt=Ee+"."+fr,qt=pr(i,zt);(d.array.has(Ee)||Pn(Tt)||qt&&!qt._f)&&!G8(Tt)?sr(zt,Tt,Fe,Zt,St,Ot):je(zt,Tt,Fe,Zt,St,Ot)}},cr=(Ee,Oe,Fe,Zt,St=!1)=>{let Ot=pr(i,Ee),fr=d.array.has(Ee),Tt=Zt?Oe:Zn(Oe),zt=pr(l,Ee),qt=Iu(zt,Tt);if(!qt)ca(l,Ee,Tt);if(fr){if(U.array.next({name:Ee,values:Zt?l:Zn(l)}),(_.isDirty||_.dirtyFields||j.isDirty||j.dirtyFields)&&Fe.shouldDirty){if(ee(),!St)U.state.next({name:Ee,dirtyFields:a.dirtyFields,isDirty:de(Ee,Tt)})}}else{let Er=Array.isArray(Tt)&&!Tt.length||lf(Tt),jr=!qt&&!St;if(!Ot||Ot._f||Ni(Tt)||Er)je(Ee,Tt,Fe,Zt,St,jr);else sr(Ee,Tt,Fe,Zt,St,jr)}if(!qt&&!St){let Er=TG(Ee,d),jr=Zt?l:Zn(l);if(U.state.next({...Er&&a,name:c.mount||Er?Ee:void 0,values:jr}),!fr)for(let aa of eCt(d.array,Ee))U.state.next({name:aa,values:jr})}},rr=(Ee,Oe,Fe={})=>cr(Ee,Oe,Fe,!1),Or=(Ee,Oe={})=>{let Fe=Ac(Ee)?Ee(l):Ee;if(!Iu(l,Fe)){l={...l,...Fe};for(let Zt of d.mount)if(Q1t(Fe,Zt))cr(Zt,pr(Fe,Zt),Oe,!0,!0);if(U.state.next({...a,name:void 0,type:void 0,...M?{values:l}:{}}),Oe.shouldValidate)X()}},Gt=async(Ee)=>{c.mount=!0;let Oe=Ee.target,Fe=Oe.name,Zt=!0,St=pr(i,Fe),Ot=(fr)=>{Zt=Number.isNaN(fr)||G8(fr)&&isNaN(fr.getTime())||Iu(fr,pr(l,Fe,fr))};if(St){let fr,Tt,zt=Oe.type?Ixe(St._f):j1t(Ee),qt=Ee.type===uP.BLUR||Ee.type===uP.FOCUS_OUT,Er=!oCt(St._f)&&!e.validate&&!r.resolver&&!pr(a.errors,Fe)&&!St._f.deps,jr=Er||iCt(qt,pr(a.touchedFields,Fe),a.isSubmitted,y,v),aa=TG(Fe,d,qt);if(ca(l,Fe,zt),qt){if(!Oe||!Oe.readOnly){St._f.onBlur&&St._f.onBlur(Ee);let pa=m[Fe];pa&&pa(0)}}else if(St._f.onChange)St._f.onChange(Ee);let or=Se(Fe,zt,qt),Go=!lf(or)||aa;if(!qt&&U.state.next({name:Fe,type:Ee.type,...M?{values:Zn(l)}:{}}),jr){if((!Er||!a.isValid)&&(_.isValid||j.isValid)){if(r.mode==="onBlur"){if(qt)X()}else if(!qt)X()}return Go&&U.state.next({name:Fe,...aa?{}:or})}if(!r.resolver&&e.validate)await yt({name:Fe,eventType:Ee.type});if(!qt&&aa&&U.state.next({...a}),r.resolver){let{errors:pa}=await ut([Fe]);if(J([Fe]),Ot(zt),!Zt){!lf(or)&&U.state.next(or);return}let Qn=Pxe(a.errors,i,Fe),cf=Pxe(pa,i,Qn.name||Fe);fr=cf.error,Fe=cf.name,Tt=lf(pa)}else if(J([Fe],!0),fr=(await Sxe(St,d.disabled,l,N,r.shouldUseNativeValidation))[Fe],J([Fe]),Ot(zt),Zt){if(fr)Tt=!1;else if(_.isValid||j.isValid)Tt=await At({fields:i,onlyCheckValid:!0,name:Fe,eventType:Ee.type})}if(Zt)St._f.deps&&(!Array.isArray(St._f.deps)||St._f.deps.length>0)&&Tr(St._f.deps),He(Fe,Tt,fr,or)}},Qt=(Ee,Oe)=>{if(pr(a.errors,Oe)&&Ee.focus)return Ee.focus(),1;return},Tr=async(Ee,Oe={})=>{let Fe,Zt,St=g3(Ee);if(r.resolver){let Ot=await Ke(ua(Ee)?Ee:St);Fe=lf(Ot),Zt=Ee?!St.some((fr)=>pr(Ot,fr)):Fe}else if(Ee)Zt=(await Promise.all(St.map(async(Ot)=>{let fr=pr(i,Ot);return await At({fields:fr&&fr._f?{[Ot]:fr}:fr,eventType:uP.TRIGGER})}))).every(Boolean),!(!Zt&&!a.isValid)&&X();else Zt=Fe=await At({fields:i,name:Ee,eventType:uP.TRIGGER});if(Oe.delayError&&r.delayError&&Fi(Ee)){let Ot=pr(a.errors,Ee);if(Ot)Kn(a.errors,Ee),m[Ee]=G(Ee,()=>oe(Ee,Ot)),m[Ee](r.delayError);else clearTimeout(g[Ee]),delete m[Ee]}return U.state.next({...!Fi(Ee)||(_.isValid||j.isValid)&&Fe!==a.isValid?{}:{name:Ee},...r.resolver||!Ee?{isValid:Fe}:{},errors:a.errors}),Oe.shouldFocus&&!Zt&&mO(i,Qt,Ee?St:d.mount),Zt},Cr=(Ee,Oe)=>{let Fe={...c.mount?l:s};if(Oe)Fe=Oxe(Oe.dirtyFields?a.dirtyFields:a.touchedFields,Fe);return ua(Ee)?Fe:Fi(Ee)?pr(Fe,Ee):Ee.map((Zt)=>pr(Fe,Zt))},Ar=(Ee)=>ua(Ee)?{...a.errors}:Fi(Ee)?pr(a.errors,Ee):Ee.map((Oe)=>pr(a.errors,Oe)),dr=(Ee,Oe)=>{let Fe=Oe||a,Zt=pr(Fe.errors,Ee);return{invalid:!!Zt,isDirty:!!pr(Fe.dirtyFields,Ee),error:Zt,isValidating:!!pr(a.validatingFields,Ee),isTouched:!!pr(Fe.touchedFields,Ee)}},uo=(Ee)=>{let Oe=Ee?g3(Ee):void 0;if(Oe===null||Oe===void 0||Oe.forEach((Fe)=>Kn(a.errors,Fe)),Oe)Oe.forEach((Fe)=>{U.state.next({name:Fe,errors:a.errors})});else a.errors={},U.state.next({errors:a.errors})},lo=(Ee,Oe,Fe)=>{let Zt=(pr(i,Ee,{_f:{}})._f||{}).ref,St=pr(a.errors,Ee)||{},{ref:Ot,message:fr,type:Tt,...zt}=St;ca(a.errors,Ee,{...zt,...Oe,ref:Zt}),U.state.next({name:Ee,errors:a.errors,isValid:!1}),Fe&&Fe.shouldFocus&&Zt&&Zt.focus&&Zt.focus()},da=(Ee,Oe)=>{if(Ac(Ee)){M++;let{unsubscribe:Fe}=U.state.subscribe({next:(St)=>("values"in St)&&Ee(St.values||bt(void 0,Oe),St)}),Zt=!1;return{unsubscribe:()=>{if(Zt)return;Zt=!0,M--,Fe()}}}return bt(Ee,Oe,!0)},ir=(Ee)=>{var Oe;let Fe=!!((Oe=Ee.formState)===null||Oe===void 0?void 0:Oe.values);if(Fe)M++;let{unsubscribe:Zt}=U.state.subscribe({next:(Ot)=>{if(nCt(Ee.name,Ot.name,Ee.exact)&&aCt(Ot,Ee.formState||_,Fr,Ee.reRenderRoot)){let fr={...l};Ee.callback({values:fr,...a,...Ot,defaultValues:s})}}});if(!Fe)return Zt;let St=!1;return()=>{if(St)return;St=!0,M--,Zt()}},io=(Ee)=>(c.mount=!0,j={...j,...Ee.formState},ir({...Ee,formState:{...x,...Ee.formState}})),Yr=(Ee,Oe={})=>{for(let Fe of Ee?g3(Ee):d.mount){if(d.mount.delete(Fe),d.array.delete(Fe),!Oe.keepValue)Kn(i,Fe),Kn(l,Fe);!Oe.keepError&&Kn(a.errors,Fe),!Oe.keepDirty&&Kn(a.dirtyFields,Fe),!Oe.keepTouched&&Kn(a.touchedFields,Fe),!Oe.keepIsValidating&&Kn(a.validatingFields,Fe),!r.shouldUnregister&&!Oe.keepDefaultValue&&Kn(s,Fe)}M&&U.state.next({values:Zn(l)}),U.state.next({...a,...Oe.keepDirty?{}:{isDirty:de()}}),!Oe.keepIsValid&&X()},To=({disabled:Ee,name:Oe})=>{if(SZ(Ee)&&c.mount||!!Ee||d.disabled.has(Oe)){let St=d.disabled.has(Oe)!==!!Ee;Ee?d.disabled.add(Oe):d.disabled.delete(Oe),St&&c.mount&&!c.action&&X()}},an=(Ee,Oe={})=>{let Fe=pr(i,Ee),Zt=SZ(Oe.disabled)||SZ(r.disabled),St=!d.registerName.has(Ee)&&Fe&&Fe._f&&!Fe._f.mount;if(ca(i,Ee,{...Fe||{},_f:{...Fe&&Fe._f?Fe._f:{ref:{name:Ee}},name:Ee,mount:!0,...Oe}}),d.mount.add(Ee),Fe&&!St)To({disabled:SZ(Oe.disabled)?Oe.disabled:r.disabled,name:Ee});else Ye(Ee,!0,Oe.value);return{...Zt?{disabled:Oe.disabled||r.disabled}:{},...r.progressive?{required:!!Oe.required,min:pO(Oe.min),max:pO(Oe.max),minLength:pO(Oe.minLength),maxLength:pO(Oe.maxLength),pattern:pO(Oe.pattern)}:{},name:Ee,onChange:Gt,onBlur:Gt,ref:(Ot)=>{if(Ot){d.registerName.add(Ee),an(Ee,Oe),d.registerName.delete(Ee),Fe=pr(i,Ee);let fr=ua(Ot.value)?Ot.querySelectorAll?Ot.querySelectorAll("input,select,textarea")[0]||Ot:Ot:Ot,Tt=J1t(fr),zt=Fe._f.refs||[];if(Tt?zt.find((Er)=>Er===fr):fr===Fe._f.ref)return;let qt={...Fe._f};if(Tt)qt.refs=[...zt.filter(AG),fr,...Array.isArray(pr(s,Ee))?[{}]:[]],qt.ref={type:fr.type,name:Ee};else qt.ref=fr,delete qt.refs;ca(i,Ee,{_f:qt}),Ye(Ee,!1,void 0,fr)}else{if(Fe=pr(i,Ee,{}),Fe._f)Fe._f.mount=!1;(r.shouldUnregister||Oe.shouldUnregister)&&!(N1t(d.array,Ee)&&c.action)&&d.unMount.add(Ee)}}}},Ho=()=>r.shouldFocusError&&!r.shouldUseNativeValidation&&mO(i,Qt,d.mount),En=(Ee)=>{if(SZ(Ee))U.state.next({disabled:Ee}),mO(i,(Oe,Fe)=>{let Zt=pr(i,Fe);if(Zt){if(Oe.disabled=Zt._f.disabled||Ee,Array.isArray(Zt._f.refs))Zt._f.refs.forEach((St)=>{St.disabled=Zt._f.disabled||Ee})}},0,!1)},sn=(Ee,Oe)=>async(Fe)=>{let Zt=void 0,St=void 0;if(Fe)Fe.preventDefault&&Fe.preventDefault(),Fe.persist&&Fe.persist();let Ot=Zn(l);if(U.state.next({isSubmitting:!0}),r.resolver){let{errors:fr,values:Tt}=await ut();J(),a.errors=fr,Ot=Zn(Tt)}else await At({fields:i,eventType:uP.SUBMIT});if(d.disabled.size)for(let fr of d.disabled)Kn(Ot,fr);if(Kn(a.errors,Txe),lf(a.errors)){U.state.next({errors:{}});try{Zt=await Ee(Ot,Fe)}catch(fr){St=fr}}else{if(Oe)await Oe({...a.errors},Fe);Ho(),setTimeout(Ho)}if(U.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:lf(a.errors)&&!St,submitCount:a.submitCount+1,errors:a.errors}),St)throw St;return Zt},Bi=(Ee,Oe={})=>{if(pr(i,Ee)){if(ua(Oe.defaultValue))rr(Ee,Zn(pr(s,Ee)));else rr(Ee,Oe.defaultValue),ca(s,Ee,Zn(Oe.defaultValue));if(!Oe.keepTouched)Kn(a.touchedFields,Ee);if(!Oe.keepDirty)Kn(a.dirtyFields,Ee),a.isDirty=Oe.defaultValue?de(Ee,Zn(pr(s,Ee))):de();if(!Oe.keepError)Kn(a.errors,Ee),_.isValid&&X();U.state.next({...a})}},Ge=(Ee,Oe={})=>{let Fe=Ee?Zn(Ee):s,Zt=Zn(Fe),St=lf(Ee),Ot=Zt,fr=i;if(!Oe.keepDefaultValues)s=Fe;if(!Oe.keepValues){if(Oe.keepDirtyValues){let Tt=new Set([...d.mount,...Nxe(AL(s,l,void 0,fr),a.dirtyFields)]);for(let zt of Tt){let qt=pr(a.dirtyFields,zt),Er=pr(l,zt),jr=pr(Ot,zt);if(qt&&!ua(Er))ca(Ot,zt,Er);else if(!qt&&!ua(jr))rr(zt,jr)}}else{if(y3&&ua(Ee))for(let Tt of d.mount){let zt=pr(i,Tt);if(zt&&zt._f){let qt=Array.isArray(zt._f.refs)?zt._f.refs[0]:zt._f.ref;if(M3(qt)){let Er=qt.closest("form");if(Er){Er.reset();break}}}}if(Oe.keepFieldsRef)for(let Tt of d.mount)rr(Tt,pr(Ot,Tt));else i={}}if(r.shouldUnregister){if(l=Oe.keepDefaultValues?Zn(s):{},Oe.keepFieldsRef)for(let Tt of d.mount)ca(l,Tt,pr(Ot,Tt))}else l=Zn(Ot);U.array.next({values:{...Ot}}),U.state.next({name:void 0,type:void 0,values:{...Ot}})}if(d={mount:Oe.keepDirtyValues?d.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},c.mount=!_.isValid||!!Oe.keepIsValid||!!Oe.keepDirtyValues||!r.shouldUnregister&&!lf(Ot),c.watch=!!r.shouldUnregister,c.keepIsValid=!!Oe.keepIsValid,c.action=!1,c.actionArrayLengths.clear(),!Oe.keepErrors)a.errors={};U.state.next({submitCount:Oe.keepSubmitCount?a.submitCount:0,isDirty:St?!1:Oe.keepDirty?a.isDirty:Oe.keepValues?de():!!(Oe.keepDefaultValues&&!Iu(Ee,s)),isSubmitted:Oe.keepIsSubmitted?a.isSubmitted:!1,dirtyFields:St?{}:Oe.keepDirtyValues?Oe.keepDefaultValues&&l?AL(s,l,void 0,fr):a.dirtyFields:Oe.keepDefaultValues&&Ee?AL(s,Ee,void 0,fr):Oe.keepDirty?a.dirtyFields:{},touchedFields:Oe.keepTouched?a.touchedFields:{},errors:Oe.keepErrors?a.errors:{},isSubmitSuccessful:Oe.keepIsSubmitSuccessful?a.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:s})},Pt=(Ee,Oe)=>Ge(Ac(Ee)?Ee(l):Ee,{...r.resetOptions,...Oe}),br=(Ee,Oe={})=>{let Fe=pr(i,Ee),Zt=Fe&&Fe._f;if(Zt){let St=Zt.refs?Zt.refs[0]:Zt.ref;if(St.focus)setTimeout(()=>{St.focus(),Oe.shouldSelect&&Ac(St.select)&&St.select()})}},Fr=(Ee)=>{let{name:Oe,type:Fe,values:Zt,...St}=Ee;a={...a,...St}};U.state.subscribe({next:Fr});let Aa={control:{register:an,unregister:Yr,getFieldState:dr,handleSubmit:sn,setError:lo,_subscribe:ir,_runSchema:ut,_updateIsValidating:J,_focusError:Ho,_getWatch:bt,_getDirty:de,_setValid:X,_setFieldArray:re,_setDisabledField:To,_setErrors:ie,_getFieldArray:Wt,_reset:Ge,_resetDefaultValues:()=>Ac(r.defaultValues)&&r.defaultValues().then((Ee)=>{Pt(Ee,r.resetOptions),U.state.next({isLoading:!1})}),_removeUnmounted:jt,_disableForm:En,_subjects:U,_proxyFormState:_,get _fields(){return i},get _formValues(){return l},get _state(){return c},set _state(Ee){c=Ee},get _defaultValues(){return s},get _names(){return d},set _names(Ee){d=Ee},get _formState(){return a},get _options(){return r},set _options(Ee){r={...r,...Ee},v=h3(r.mode),y=h3(r.reValidateMode)}},subscribe:io,trigger:Tr,register:an,handleSubmit:sn,watch:da,setValue:rr,setValues:Or,getValues:Cr,getErrors:Ar,reset:Pt,resetField:Bi,resetDefaultValues:(Ee,Oe={})=>{if(s=Zn(Ee),!Oe.keepDirty){let Fe=AL(s,l,void 0,i);a.dirtyFields=Fe,a.isDirty=!lf(Fe)}if(!Oe.keepIsValid)X();U.state.next({...a,defaultValues:s})},clearErrors:uo,unregister:Yr,setError:lo,setFocus:br,getFieldState:dr};return{...Aa,formControl:Aa}}function Pl(e={}){let r=b(void 0),a=b(void 0),i=b(e.formControl),[s,l]=u(()=>({...Zn(qxe),isLoading:Ac(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Ac(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:s},e.defaultValues&&!Ac(e.defaultValues))e.formControl.reset(e.defaultValues,e.resetOptions)}else{let{formControl:g,...M}=cCt(e);r.current={...M,formState:s}}let c=r.current.control;c._options=e;let{resyncIfNeeded:d,snapshot:m}=V1t();return q1t(()=>{let g=()=>({...c._formState,defaultValues:c._defaultValues});d(!0,g,l);let M=c._subscribe({formState:c._proxyFormState,callback:()=>l({...c._formState,defaultValues:c._defaultValues}),reRenderRoot:!0});return l((v)=>({...v,isReady:!0})),c._formState.isReady=!0,()=>{M(),m(!0,g)}},[c,d,m]),h(()=>c._disableForm(e.disabled),[c,e.disabled]),h(()=>{if(e.mode)c._options.mode=e.mode;if(e.reValidateMode)c._options.reValidateMode=e.reValidateMode},[c,e.mode,e.reValidateMode]),h(()=>{if(e.errors)c._setErrors(e.errors),c._focusError()},[c,e.errors]),h(()=>{e.shouldUnregister&&c._subjects.state.next({values:c._getWatch()})},[c,e.shouldUnregister]),h(()=>{if(c._proxyFormState.isDirty){let g=c._getDirty();if(g!==s.isDirty)c._subjects.state.next({isDirty:g})}},[c,s.isDirty]),h(()=>{var g;if(e.values&&!Iu(e.values,a.current)){if(c._reset(e.values,{keepFieldsRef:!0,...c._options.resetOptions}),!((g=c._options.resetOptions)===null||g===void 0?void 0:g.keepIsValid))c._setValid();a.current=e.values,l((M)=>({...M}))}else c._resetDefaultValues()},[c,e.values]),h(()=>{if(!c._state.mount)c._setValid(),c._state.mount=!0;if(c._state.watch)c._state.watch=!1,c._subjects.state.next({...c._formState});c._removeUnmounted()}),r.current.formState=P(()=>U1t(s,c),[c,s]),r.current}var Hxe=(e,r,a)=>{if(e&&"reportValidity"in e){let i=pr(a,r);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},_3=(e,r)=>{for(let a in r.fields){let i=r.fields[a];i&&i.ref&&"reportValidity"in i.ref?Hxe(i.ref,a,e):i&&i.refs&&i.refs.forEach((s)=>Hxe(s,a,e))}},YG=(e,r)=>{r.shouldUseNativeValidation&&_3(e,r);let a={};for(let i in e){let s=pr(r.fields,i),l=Object.assign(e[i]||{},{ref:s&&s.refs?s.refs[0]:s&&s.ref});if(uCt(r.names||Object.keys(e),i)){let c=Object.assign({},pr(a,i));ca(c,"root",l),ca(a,i,c)}else ca(a,i,l)}return a},uCt=(e,r)=>{let a=Vxe(r).replace(/[.*+?^${}()|\\]/g,"\\$&");return e.some((i)=>Vxe(i).match(`^${a}\\.\\d+`))};function Vxe(e){return e.replace(/\[(\d+)]/g,".$1").replace(/[[\]]/g,"")}function UG(){return UG=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},UG.apply(null,arguments)}function Wxe(e,r){try{var a=e()}catch(i){return r(i)}return a&&a.then?a.then(void 0,r):a}function dCt(e,r){for(var a=Object.create(null);e.length;){var i=e[0],{code:s,message:l}=i,c=i.path.join(".");if(!a[c])if("unionErrors"in i){var d,m,g=i.unionErrors.reduce(function(y,x){return x.errors.length<y.errors.length?x:y}).errors[0];a[c]={message:(d=g==null?void 0:g.message)!=null?d:l,type:(m=g==null?void 0:g.code)!=null?m:s}}else a[c]={message:l,type:s};if("unionErrors"in i&&i.unionErrors.forEach(function(y){return y.errors.forEach(function(x){return e.push(x)})}),r){var M=a[c].types,v=M&&M[i.code];a[c]=b3(c,r,a,s,v?[].concat(v,i.message):i.message)}e.shift()}return a}function ZCt(e,r){for(var a=Object.create(null),i=function(){var s=e[0],{code:l,message:c}=s,d=s.path.join(".");if(!a[d])if(s.code==="invalid_union"&&s.errors.length>0){var m,g,M=s.errors.reduce(function(x,_){return _.length<x.length?_:x})[0];a[d]={message:(m=M==null?void 0:M.message)!=null?m:c,type:(g=M==null?void 0:M.code)!=null?g:l}}else a[d]={message:c,type:l};if(s.code==="invalid_union"&&s.errors.forEach(function(x){return x.forEach(function(_){return e.push(UG({},_,{path:[].concat(s.path,_.path)}))})}),r){var v=a[d].types,y=v&&v[s.code];a[d]=b3(d,r,a,l,y?[].concat(y,s.message):s.message)}e.shift()};e.length;)i();return a}function Dl(e,r,a){if(a===void 0&&(a={}),function(i){return"_zod"in i&&typeof i._zod=="object"}(e))return function(i,s,l){try{return Promise.resolve(Wxe(function(){function c(m){return l.shouldUseNativeValidation&&_3({},l),{errors:{},values:a.raw?Object.assign({},i):m}}var d=e;return a.mode==="sync"?c(d.parse(i,r)):Promise.resolve(d.parseAsync(i,r)).then(c)},function(c){if(function(d){var m;return!(d==null||(m=d._zod)==null||(m=m.traits)==null||!m.has("$ZodError"))}(c))return{values:{},errors:YG(ZCt(c.issues,!l.shouldUseNativeValidation&&l.criteriaMode==="all"),l)};throw c}))}catch(c){return Promise.reject(c)}};if(function(i){return"_def"in i&&typeof i._def=="object"}(e))return function(i,s,l){try{return Promise.resolve(Wxe(function(){return Promise.resolve(e[a.mode==="sync"?"parse":"parseAsync"](i,r)).then(function(c){return l.shouldUseNativeValidation&&_3({},l),{errors:{},values:a.raw?Object.assign({},i):c}})},function(c){if(function(d){return Array.isArray(d==null?void 0:d.issues)}(c))return{values:{},errors:YG(dCt(c.errors,!l.shouldUseNativeValidation&&l.criteriaMode==="all"),l)};throw c}))}catch(c){return Promise.reject(c)}};throw Error("Invalid input: not a Zod schema")}S();var pCt=R({email:f().email(Cse()),password:f().min(3,fp()),inviteCode:f().optional()});function mCt(){let e=ke(),a=qG.useSearch().inviteCode,[i,s]=u(null),[l,c]=u(!1),[d,m]=u(()=>n()==="zh"?"zh":"en"),g=(N)=>{m(N),ka(N)},{data:M}=Z({queryKey:["invite",a],queryFn:async()=>{let N=await A.api.invite[":code"].$get({param:{code:a}});if(!N.ok)throw Error("Failed to fetch invite info");return await N.json()},enabled:!!a}),{data:v,isLoading:y}=Z({queryKey:["/signup-info"],queryFn:async()=>{let N=await A.api["signup-info"].$get();if(!N.ok)throw Error("Failed to fetch signup info");return await N.json()}}),x=pf((N)=>N.setUser),_=Pl({resolver:Dl(pCt),defaultValues:{inviteCode:a}}),j=async(N)=>{c(!0),s(null);let{data:G,error:X}=await Jfe.email({email:N.email,password:N.password,name:N.email,inviteCode:N.inviteCode,locale:d});if(c(!1),X){s(X.message||But());return}if(G)x(G.user),e({to:"/"})};if(y)return t("div",{className:"flex items-center justify-center min-h-screen bg-zinc-100/80 dark:bg-black",children:o("div",{className:"relative flex flex-col items-center",children:[t(dM,{className:"h-16 w-16 animate-pulse mb-4 text-rose-500 shadow-xl rounded-2xl"}),t(F,{className:"h-6 w-6 animate-spin text-rose-500/70"})]})});let U=v?.initialized===!1;if(!U&&!a)return o("div",{className:"min-h-screen w-full flex items-center justify-center p-4 md:p-8 bg-zinc-100/80 dark:bg-black font-sans overflow-hidden relative",children:[t("div",{className:"bg-rose-500/10 dark:bg-rose-600/5 w-[500px] h-[500px] rounded-full blur-[120px] absolute top-[-10%] left-[-10%] animate-drift-slow"}),t("div",{className:"bg-orange-500/10 dark:bg-orange-600/5 w-[500px] h-[500px] rounded-full blur-[120px] absolute bottom-[-10%] right-[-10%] animate-drift-medium"}),o(_t,{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(dM,{className:"h-16 w-16 shadow-lg shadow-rose-500/10 rounded-2xl"})}),t(Rt,{className:"text-2xl font-bold tracking-tight bg-gradient-to-r from-rose-500 to-orange-500 bg-clip-text text-transparent",children:Jit()}),t(Ut,{className:"mt-2 text-zinc-600 dark:text-zinc-400",children:tft()})]}),t(ef,{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:[bse()," ",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:[_We()," ",t(Xn,{className:"w-3.5 h-3.5"})]})]})})]})]});return o(Nl,{children:[o("div",{className:"mb-8",children:[t("h1",{className:"text-2xl font-bold tracking-tight text-zinc-900 dark:text-zinc-50",children:j4e()}),t("p",{className:"text-zinc-500 dark:text-zinc-400 text-sm mt-1 mb-4",children:qut()}),U&&o("div",{className:"flex items-start gap-3 p-3 bg-amber-500/10 border border-amber-500/20 text-amber-800 dark:text-amber-300 rounded-2xl text-xs leading-relaxed font-medium",children:[t("span",{children:"\uD83C\uDF89"}),t("span",{children:n9e()})]}),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:vVe({inviterName:M.inviterName,targetName:M.projectName||M.teamName,role:M.role})})]})]}),i&&t("div",{className:"mb-6 p-3 bg-red-500/10 border border-red-500/20 text-red-600 dark:text-red-400 rounded-xl text-sm text-center font-medium",children:i}),o("form",{onSubmit:_.handleSubmit(j),className:"space-y-5",children:[o("div",{className:"space-y-2",children:[t(K,{htmlFor:"email",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:zse()}),o("div",{className:"relative group",children:[t(ci,{className:"absolute left-3.5 top-1/2 -translate-y-1/2 w-4 h-4 text-zinc-400 dark:text-zinc-600 transition-colors group-focus-within:text-rose-500"}),t(H,{id:"email",..._.register("email"),placeholder:"you@example.com",type:"email",className:"pl-10.5 h-11 border-zinc-200 dark:border-zinc-800 focus-visible:ring-rose-500/50 focus-visible:border-rose-500 rounded-xl transition-all shadow-sm"})]}),_.formState.errors.email&&t("p",{className:"text-red-500 text-xs font-medium",children:_.formState.errors.email.message})]}),o("div",{className:"space-y-2",children:[t(K,{htmlFor:"password",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:dp()}),o("div",{className:"relative group",children:[t(nn,{className:"absolute left-3.5 top-1/2 -translate-y-1/2 w-4 h-4 text-zinc-400 dark:text-zinc-600 transition-colors group-focus-within:text-rose-500"}),t(H,{id:"password",type:"password",..._.register("password"),placeholder:Mrt(),className:"pl-10.5 h-11 border-zinc-200 dark:border-zinc-800 focus-visible:ring-rose-500/50 focus-visible:border-rose-500 rounded-xl transition-all shadow-sm"})]}),_.formState.errors.password&&t("p",{className:"text-red-500 text-xs font-medium",children:_.formState.errors.password.message})]}),t(E,{type:"submit",className:"w-full h-11 bg-gradient-to-r from-rose-500 to-orange-500 hover:from-rose-600 hover:to-orange-600 text-white font-semibold rounded-xl shadow-md shadow-rose-500/10 hover:shadow-rose-500/20 active:scale-[0.98] transition-all flex items-center justify-center gap-2 border-0",disabled:l,children:l?o(L,{children:[t(F,{className:"h-4 w-4 animate-spin"}),_Fe()]}):o(L,{children:[t(GT,{className:"w-4 h-4"}),Ese()]})})]}),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:[bse()," "]}),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:[Ise()," ",t(Xn,{className:"w-3.5 h-3.5"})]})]}),o("div",{className:"flex items-center gap-2 text-xs text-zinc-400 dark:text-zinc-500",children:[t("button",{type:"button",onClick:()=>g("en"),className:`cursor-pointer hover:text-zinc-800 dark:hover:text-zinc-200 transition-colors ${d==="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 ${d==="zh"?"font-bold text-rose-500 dark:text-rose-400":""}`,children:"中文"})]})]})]})}var qG=Wr("/signup")({component:mCt,validateSearch:(e)=>({inviteCode:e.inviteCode||void 0}),beforeLoad:()=>{if(pf.getState().user)throw al({to:"/"})}});var hCt=R({token:f().catch("")}),Gxe=Wr("/reset-password")({validateSearch:(e)=>hCt.parse(e),beforeLoad:()=>{if(pf.getState().user)throw al({to:"/"})}});S();var gCt=R({email:f().email(Cse()),password:f().min(1,Zrt())});function MCt(){let e=ke(),r=pf((v)=>v.setUser),[a,i]=u(null),[s,l]=u(!1),{data:c,isLoading:d}=Z({queryKey:["/signup-info"],queryFn:async()=>{let v=await A.api["signup-info"].$get();if(!v.ok)throw Error("Failed to fetch signup info");return await v.json()}});h(()=>{if(c&&!c.initialized)e({to:"/signup",search:{inviteCode:""}})},[c,e]);let m=c?.demoMode===!0,g=Pl({resolver:Dl(gCt)}),M=async(v)=>{l(!0),i(null);let{data:y,error:x}=await Qfe.email({email:v.email,password:v.password});if(l(!1),x){i(x.message||cVe());return}if(y)r(y.user),e({to:"/"})};if(d)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(dM,{className:"h-16 w-16 animate-pulse mb-4 text-rose-500 shadow-xl rounded-2xl"}),t(F,{className:"h-6 w-6 animate-spin text-rose-500/70"})]})});return o(Nl,{children:[o("div",{className:"mb-8",children:[t("h1",{className:"text-2xl font-bold tracking-tight text-zinc-900 dark:text-zinc-50",children:OMt()}),t("p",{className:"text-zinc-500 dark:text-zinc-400 text-sm mt-1",children:SWe()})]}),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:y6e()})," ",w6e()]})}),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(K,{htmlFor:"email",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:zse()}),o("div",{className:"relative group",children:[t(ci,{className:"absolute left-3.5 top-1/2 -translate-y-1/2 w-4 h-4 text-zinc-400 dark:text-zinc-600 transition-colors group-focus-within:text-rose-500"}),t(H,{id:"email",...g.register("email"),placeholder:"you@example.com",type:"email",className:"pl-10.5 h-11 border-zinc-200 dark:border-zinc-800 focus-visible:ring-rose-500/50 focus-visible:border-rose-500 rounded-xl transition-all shadow-sm"})]}),g.formState.errors.email&&t("p",{className:"text-red-500 text-xs font-medium",children:g.formState.errors.email.message})]}),o("div",{className:"space-y-2",children:[t(K,{htmlFor:"password",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:dp()}),o("div",{className:"relative group",children:[t(nn,{className:"absolute left-3.5 top-1/2 -translate-y-1/2 w-4 h-4 text-zinc-400 dark:text-zinc-600 transition-colors group-focus-within:text-rose-500"}),t(H,{id:"password",type:"password",...g.register("password"),placeholder:yrt(),className:"pl-10.5 h-11 border-zinc-200 dark:border-zinc-800 focus-visible:ring-rose-500/50 focus-visible:border-rose-500 rounded-xl transition-all shadow-sm"})]}),g.formState.errors.password&&t("p",{className:"text-red-500 text-xs font-medium",children:g.formState.errors.password.message})]}),t(E,{type:"submit",className:"w-full h-11 bg-gradient-to-r from-rose-500 to-orange-500 hover:from-rose-600 hover:to-orange-600 text-white font-semibold rounded-xl shadow-md shadow-rose-500/10 hover:shadow-rose-500/20 active:scale-[0.98] transition-all flex items-center justify-center gap-2 border-0",disabled:s,children:s?o(L,{children:[t(F,{className:"h-4 w-4 animate-spin"}),MWe()]}):o(L,{children:[t(WT,{className:"w-4 h-4"}),Ise()]})})]}),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:DQe()}),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:[Ese()," ",t(Xn,{className:"w-3.5 h-3.5"})]})]})]})}var Kxe=Wr("/login")({component:MCt,beforeLoad:()=>{if(pf.getState().user)throw al({to:"/"})}});S();function Xxe(){let e=ke(),{data:r,isLoading:a}=Z({queryKey:["teams"],queryFn:async()=>{let l=await A.api.teams.$get({query:{}});if(!l.ok)throw Error("Failed to get teams");return await l.json()}}),i=r?.data,s=i?.length===1?i[0].id:null;if(h(()=>{if(s)e({to:`/teams/${s}`})},[s,e]),a)return t("div",{children:yd()});if(s)return null;return t(ue,{open:!0,children:o(ae,{children:[o(fe,{children:[t(le,{children:hlt()}),t(Ct,{children:dct()})]}),t("div",{className:"space-y-2",children:i?.map((l)=>t("div",{className:"p-2 border rounded-md cursor-pointer hover:bg-gray-100",onClick:()=>e({to:`/teams/${l.id}`}),children:l.name},l.id))})]})})}S();function vCt(){let e=pf((a)=>a.user),r=ke();if(h(()=>{if(!e)r({to:"/login"})},[e,r]),!e)return null;return t(Xxe,{})}var Qxe=Wr("/")({component:vCt});function xCt(){return t(IM,{})}var Jxe=Wr("/share/$shareId")({component:xCt});var $xe=Wr("/teams/$teamId/")({});var eye=Wr("/share/$shareId/")({});function me({className:e,...r}){return t("div",{"data-slot":"skeleton",className:C("animate-pulse rounded-md bg-accent",e),...r})}function xt(){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(me,{className:"h-4 w-24"}),t("span",{className:"text-muted-foreground",children:"/"}),t(me,{className:"h-4 w-32"})]}),o("div",{className:"flex items-center gap-2",children:[t(me,{className:"h-8 w-8 rounded-md"}),t(me,{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(me,{className:"h-4 w-4 rounded"}),t(me,{className:"h-4 w-24"})]}),o("div",{className:"pl-4 space-y-3",children:[o("div",{className:"flex items-center gap-2",children:[t(me,{className:"h-3 w-3 rounded"}),t(me,{className:"h-3 w-28"})]}),o("div",{className:"flex items-center gap-2",children:[t(me,{className:"h-3 w-3 rounded"}),t(me,{className:"h-3 w-20"})]}),o("div",{className:"flex items-center gap-2",children:[t(me,{className:"h-3 w-3 rounded"}),t(me,{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(me,{className:"h-5 w-40"}),t(me,{className:"h-4 w-20"})]}),o("div",{className:"flex items-center gap-2",children:[t(me,{className:"h-8 w-8 rounded"}),t(me,{className:"h-8 w-8 rounded"}),t(me,{className:"h-8 w-32 rounded"})]})]}),o("div",{className:"space-y-4",children:[t("div",{className:"flex items-center gap-2",children:t(me,{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(me,{className:"aspect-square w-full rounded-md"}),o("div",{className:"space-y-2",children:[t(me,{className:"h-4 w-3/4"}),o("div",{className:"flex justify-between items-center",children:[t(me,{className:"h-3 w-1/4"}),t(me,{className:"h-3 w-1/3"})]})]})]},r))})]})]})]})]})}function EA(){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(me,{className:"h-4 w-16"}),t("span",{className:"text-muted-foreground",children:"/"}),t(me,{className:"h-4 w-28"}),t("span",{className:"text-muted-foreground",children:"/"}),t(me,{className:"h-4 w-32"})]}),t("div",{className:"flex items-center gap-2",children:t(me,{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(me,{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(me,{className:"h-12 w-12 rounded bg-muted shrink-0"}),o("div",{className:"space-y-2 flex-1",children:[t(me,{className:"h-3 w-2/3"}),t(me,{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(me,{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(me,{className:"h-8 w-8 rounded-full"}),t(me,{className:"h-4 w-32"})]}),t(me,{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(me,{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(me,{className:"h-3 w-20"}),t(me,{className:"h-3 w-32"})]},r))})]}),o("div",{className:"flex-1 flex flex-col gap-4",children:[t(me,{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(me,{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(me,{className:"h-3 w-24"}),t(me,{className:"h-2 w-12"})]}),t(me,{className:"h-3 w-full"}),t(me,{className:"h-3 w-5/6"})]})]},r))})]})]})]})]})}function CA({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(me,{className:"h-4 w-4 rounded"}),t(me,{className:"h-4 w-4 rounded"}),t(me,{className:"h-4 w-48"}),o("div",{className:"ml-auto flex items-center gap-8",children:[t(me,{className:"h-3 w-16"}),t(me,{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(me,{className:"aspect-square w-full rounded-md"}),o("div",{className:"space-y-2",children:[t(me,{className:"h-4 w-3/4"}),o("div",{className:"flex justify-between items-center",children:[t(me,{className:"h-3 w-1/4"}),t(me,{className:"h-3 w-1/3"})]})]})]},a))})})}function IA(){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(me,{className:"h-10 w-10 rounded-md shrink-0"}),o("div",{className:"space-y-2 flex-1",children:[t(me,{className:"h-4 w-3/4"}),t(me,{className:"h-3 w-1/3"})]})]},r))})}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()}}),tye=Wr("/projects/$projectId/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Wp(r)),pendingComponent:()=>t(xt,{})});var rye=Wr("/teams/$teamId/settings")({});var yCt=R({taskId:f().optional()}),oye=Wr("/teams/$teamId/kanban")({validateSearch:(e)=>yCt.parse(e)});var aye=Wr("/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()}}),nye=Wr("/projects/$projectId/recents")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Yp(r)),pendingComponent:()=>t(xt,{})});var Jp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),iye=Wr("/projects/$projectId/recently-deleted")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Jp(r)),pendingComponent:()=>t(xt,{})});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()}}),fye=Wr("/projects/$projectId/agentsmd")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Xp(r)),pendingComponent:()=>t(xt,{})});var em=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),sye=Wr("/projects/$projectId/shares/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(em(r)),pendingComponent:()=>t(xt,{})});var tm=(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()}}),lye=Wr("/projects/$projectId/collections/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(tm(r)),pendingComponent:()=>t(xt,{})});var cye=Wr("/share/$shareId/folders/$folderId")({});var uye=Wr("/share/$shareId/files/$fileId")({validateSearch:(e)=>({start:e.start?Number(e.start):void 0,version:e.version||void 0,compare:e.compare===!0||e.compare==="true"||void 0,cmpLeft:e.cmpLeft||void 0,cmpRight:e.cmpRight||void 0,cmpActive:e.cmpActive==="right"?"right":void 0})});var rm=(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()}}),dye=Wr("/projects/$projectId/shares/$shareId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(rm(r)),pendingComponent:()=>t(xt,{})});var nm=(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()}}),Zye=Wr("/projects/$projectId/folders/$folderId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(nm(r)),pendingComponent:()=>t(xt,{})});var pye=Wr("/projects/$projectId/files/$fileId")({validateSearch:(e)=>({version:e.version||void 0,start:e.start?Number(e.start):void 0,compare:e.compare===!0||e.compare==="true"||void 0,cmpLeft:e.cmpLeft||void 0,cmpRight:e.cmpRight||void 0,cmpActive:e.cmpActive==="right"?"right":void 0})});var om=(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()}}),TA=(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()}}),mye=Wr("/projects/$projectId/collections/$collectionId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(om(r)),pendingComponent:()=>t("div",{children:Uh()})});var sm=(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()}}),hye=Wr("/projects/$projectId/folders/$folderId_/agentsmd")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(sm(r)),pendingComponent:()=>t(xt,{})});var bCt=qG.update({id:"/signup",path:"/signup",getParentRoute:()=>Rn}),_Ct=Gxe.update({id:"/reset-password",path:"/reset-password",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-sg8hjkyg.js").then((e)=>e.Route)),wCt=Kxe.update({id:"/login",path:"/login",getParentRoute:()=>Rn}),zCt=Qxe.update({id:"/",path:"/",getParentRoute:()=>Rn}),w3=Jxe.update({id:"/share/$shareId",path:"/share/$shareId",getParentRoute:()=>Rn}),SCt=$xe.update({id:"/teams/$teamId/",path:"/teams/$teamId/",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-sedbz4km.js").then((e)=>e.Route)),LCt=eye.update({id:"/",path:"/",getParentRoute:()=>w3}).lazy(()=>import("./chunk-ef3av8ay.js").then((e)=>e.Route)),kCt=tye.update({id:"/projects/$projectId/",path:"/projects/$projectId/",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-01v2xh5b.js").then((e)=>e.Route)),CCt=rye.update({id:"/teams/$teamId/settings",path:"/teams/$teamId/settings",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-h37zfvmp.js").then((e)=>e.Route)),ICt=oye.update({id:"/teams/$teamId/kanban",path:"/teams/$teamId/kanban",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-zy32pf0s.js").then((e)=>e.Route)),RCt=aye.update({id:"/teams/$teamId/dashboard",path:"/teams/$teamId/dashboard",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-h29rwayb.js").then((e)=>e.Route)),PCt=nye.update({id:"/projects/$projectId/recents",path:"/projects/$projectId/recents",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-kx0qbs28.js").then((e)=>e.Route)),TCt=iye.update({id:"/projects/$projectId/recently-deleted",path:"/projects/$projectId/recently-deleted",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-ss1jchgx.js").then((e)=>e.Route)),ACt=fye.update({id:"/projects/$projectId/agentsmd",path:"/projects/$projectId/agentsmd",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-15n1v8mm.js").then((e)=>e.Route)),ECt=sye.update({id:"/projects/$projectId/shares/",path:"/projects/$projectId/shares/",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-n6sny5c8.js").then((e)=>e.Route)),DCt=lye.update({id:"/projects/$projectId/collections/",path:"/projects/$projectId/collections/",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-gvbajsje.js").then((e)=>e.Route)),OCt=cye.update({id:"/folders/$folderId",path:"/folders/$folderId",getParentRoute:()=>w3}).lazy(()=>import("./chunk-k4n9rdq3.js").then((e)=>e.Route)),jCt=uye.update({id:"/files/$fileId",path:"/files/$fileId",getParentRoute:()=>w3}).lazy(()=>import("./chunk-258tjpym.js").then((e)=>e.Route)),NCt=dye.update({id:"/projects/$projectId/shares/$shareId",path:"/projects/$projectId/shares/$shareId",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-anky1dmg.js").then((e)=>e.Route)),FCt=Zye.update({id:"/projects/$projectId/folders/$folderId",path:"/projects/$projectId/folders/$folderId",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-jz9mcrj6.js").then((e)=>e.Route)),BCt=pye.update({id:"/projects/$projectId/files/$fileId",path:"/projects/$projectId/files/$fileId",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-jy8by162.js").then((e)=>e.Route)),YCt=mye.update({id:"/projects/$projectId/collections/$collectionId",path:"/projects/$projectId/collections/$collectionId",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-t0nktwrm.js").then((e)=>e.Route)),UCt=hye.update({id:"/projects/$projectId/folders/$folderId_/agentsmd",path:"/projects/$projectId/folders/$folderId/agentsmd",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-xs2w45vp.js").then((e)=>e.Route)),qCt={ShareShareIdIndexRoute:LCt,ShareShareIdFilesFileIdRoute:jCt,ShareShareIdFoldersFolderIdRoute:OCt},HCt=w3._addFileChildren(qCt),VCt={IndexRoute:zCt,LoginRoute:wCt,ResetPasswordRoute:_Ct,SignupRoute:bCt,ShareShareIdRoute:HCt,ProjectsProjectIdAgentsmdRoute:ACt,ProjectsProjectIdRecentlyDeletedRoute:TCt,ProjectsProjectIdRecentsRoute:PCt,TeamsTeamIdDashboardRoute:RCt,TeamsTeamIdKanbanRoute:ICt,TeamsTeamIdSettingsRoute:CCt,ProjectsProjectIdIndexRoute:kCt,TeamsTeamIdIndexRoute:SCt,ProjectsProjectIdCollectionsCollectionIdRoute:YCt,ProjectsProjectIdFilesFileIdRoute:BCt,ProjectsProjectIdFoldersFolderIdRoute:FCt,ProjectsProjectIdSharesShareIdRoute:NCt,ProjectsProjectIdCollectionsIndexRoute:DCt,ProjectsProjectIdSharesIndexRoute:ECt,ProjectsProjectIdFoldersFolderIdAgentsmdRoute:UCt},gye=Rn._addFileChildren(VCt)._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 Mye=new W3,WCt=L6({routeTree:gye,context:{queryClient:Mye}});xte(document.getElementById("root")).render(t(A3,{children:t(D3,{client:Mye,children:t(_te,{defaultTheme:"system",storageKey:"vite-ui-theme",children:t(k6,{router:WCt})})})}));export{V,Rs,Cn,ai,Vi,it,q,O,Bn,Sa,D,dt,li,h,Bu,dn,$e,P,en,b,u,Yn,Ns,S,L,t,o,Q,Uu,zu,_r,Cc,Qi,Ea,bo,Ht,Ko,ju,qu,Hu,wm,$u,Ic,Gu,ll,Z,B,ft,Tc,ke,Ki,tn,Un,ze,Jn,Wi,cl,Ps,ul,dl,fl,Vu,Ds,pl,Qu,Mr,A,I,vr,zn,wr,nr,F,In,Do,$r,Gr,Xn,Yi,Ji,Et,jn,Re,ve,rn,vt,Ca,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