@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.
- package/bin/chunk-01v2xh5b.js +1 -0
- package/bin/{chunk-4m8gk79m.js → chunk-09367z2r.js} +2 -2
- package/bin/{chunk-781990k7.js → chunk-0g7ayjb5.js} +4 -4
- package/bin/{chunk-5wp37g6w.js → chunk-0mv8jp7h.js} +6 -6
- package/bin/{chunk-11c93g1m.js → chunk-0w3388vp.js} +2 -2
- package/bin/chunk-15n1v8mm.js +1 -0
- package/bin/chunk-17k9a427.js +211 -0
- package/bin/{chunk-dyq6h9ha.js → chunk-1kr1jsrt.js} +1 -1
- package/bin/{chunk-njabdtvb.js → chunk-1v11geh0.js} +2 -2
- package/bin/chunk-258tjpym.js +1 -0
- package/bin/chunk-2ar64j3z.js +2 -0
- package/bin/{chunk-ebf1r872.js → chunk-2j31y48k.js} +5 -5
- package/bin/{chunk-z9jpgxf1.js → chunk-2txahdj8.js} +2 -2
- package/bin/{chunk-gc6m7agb.js → chunk-315w58w6.js} +2 -2
- package/bin/{chunk-0ygtayqf.js → chunk-41fbx9mc.js} +1 -1
- package/bin/{chunk-zz0522zr.js → chunk-46brm12f.js} +4 -4
- package/bin/{chunk-q1d7x1cc.js → chunk-46hmh2ag.js} +1 -1
- package/bin/{chunk-zbt4h7n0.js → chunk-4cj3pz27.js} +1 -1
- package/bin/{chunk-camzbwqh.js → chunk-4sqbjvjt.js} +1 -1
- package/bin/{chunk-jde9r5mj.js → chunk-5e4de0a1.js} +1 -1
- package/bin/{chunk-b3aqmcps.js → chunk-5w7yxz6p.js} +2 -2
- package/bin/{chunk-ebx3bd4c.js → chunk-6m44n3ms.js} +1 -1
- package/bin/{chunk-hye75kp0.js → chunk-6mnj9adr.js} +2 -2
- package/bin/{chunk-twyxs4z2.js → chunk-6snwrej9.js} +1 -1
- package/bin/{chunk-mm1a0zja.js → chunk-6vqga3ma.js} +1 -1
- package/bin/{chunk-t3t7dcfq.js → chunk-6yayg55q.js} +1 -1
- package/bin/{chunk-9va1mzeq.js → chunk-7hmt2gs5.js} +2 -2
- package/bin/{chunk-3h9c5ak3.js → chunk-7zfyrt40.js} +1 -1
- package/bin/{chunk-fvgb6rps.js → chunk-82cg5497.js} +2 -2
- package/bin/{chunk-628k58ek.js → chunk-8mhj6r2q.js} +2 -2
- package/bin/{chunk-radcwage.js → chunk-8mjb093y.js} +2 -2
- package/bin/{chunk-h3wr8nnk.js → chunk-8r9q7xcv.js} +1 -1
- package/bin/{chunk-wvq717b5.js → chunk-9fe75ns9.js} +2 -2
- package/bin/{chunk-05tnmf8h.js → chunk-aant41bd.js} +2 -2
- package/bin/{chunk-v1sgrg0r.js → chunk-anky1dmg.js} +1 -1
- package/bin/{chunk-k810fstm.js → chunk-bg2vgnzt.js} +1 -1
- package/bin/{chunk-3tyk9xgf.js → chunk-c0wqfya9.js} +2 -2
- package/bin/{chunk-8b1w6bj9.js → chunk-c3010erf.js} +1 -1
- package/bin/{chunk-vdnmq163.js → chunk-c7hr2jga.js} +2 -2
- package/bin/chunk-c8aw8dye.js +2 -0
- package/bin/{chunk-zr11zfwc.js → chunk-ckd5hnd0.js} +2 -2
- package/bin/{chunk-dkzyv61a.js → chunk-cphwmdq5.js} +2 -2
- package/bin/{chunk-typ46eqd.js → chunk-d70acjwn.js} +5 -5
- package/bin/{chunk-xznabrt2.js → chunk-dzj91k6v.js} +1 -1
- package/bin/chunk-e2724ggn.js +2 -0
- package/bin/chunk-e2j3vwcv.js +2 -0
- package/bin/{chunk-k3qypq3x.js → chunk-e2qn4d57.js} +1 -1
- package/bin/{chunk-kg2c445x.js → chunk-eedhf8eb.js} +1 -1
- package/bin/chunk-ef3av8ay.js +1 -0
- package/bin/{chunk-j41mya13.js → chunk-f3f6cary.js} +3 -3
- package/bin/chunk-fjvbgahx.css +1 -0
- package/bin/chunk-fw0f45qw.js +2 -0
- package/bin/{chunk-s30fjvzs.js → chunk-fw5xzcnf.js} +4 -4
- package/bin/{chunk-8sf106rq.js → chunk-g6rw4jj5.js} +1 -1
- package/bin/{chunk-dscq4a4k.js → chunk-g7qejgap.js} +2 -2
- package/bin/{chunk-4jgq9m51.js → chunk-gj0yxtqz.js} +7 -7
- package/bin/{chunk-m2h7a172.js → chunk-gvbajsje.js} +1 -1
- package/bin/{chunk-s63vj79f.js → chunk-h29rwayb.js} +1 -1
- package/bin/chunk-h37zfvmp.js +3 -0
- package/bin/{chunk-m638fg4n.js → chunk-ht4chp45.js} +5 -5
- package/bin/{chunk-3g5pyw2e.js → chunk-jpjc44j6.js} +2 -2
- package/bin/{chunk-9v6eqa3n.js → chunk-jraqe5z0.js} +2 -2
- package/bin/{chunk-yqvhgtez.js → chunk-jxfz4h24.js} +2 -2
- package/bin/chunk-jy8by162.js +1 -0
- package/bin/{chunk-53vtc74g.js → chunk-jyg525f5.js} +2 -2
- package/bin/chunk-jz9mcrj6.js +1 -0
- package/bin/chunk-k4n9rdq3.js +1 -0
- package/bin/{chunk-e17daz1x.js → chunk-kemfwmyq.js} +2 -2
- package/bin/{chunk-6rjkbwz6.js → chunk-kmx350y5.js} +9 -9
- package/bin/{chunk-887pj9xd.js → chunk-kn82bccp.js} +2 -2
- package/bin/chunk-kx0qbs28.js +1 -0
- package/bin/{chunk-nnq8g9yy.js → chunk-m0xbfmf0.js} +3 -3
- package/bin/{chunk-rbagbd0e.js → chunk-n6sny5c8.js} +1 -1
- package/bin/{chunk-ayq8dskd.js → chunk-nhfbnqdr.js} +2 -2
- package/bin/{chunk-5qkwpy8c.js → chunk-nr80mrry.js} +2 -2
- package/bin/{chunk-4f5pnnah.js → chunk-ns8whqp6.js} +30 -30
- package/bin/{chunk-p5fwjk5c.js → chunk-nz16584e.js} +1 -1
- package/bin/{chunk-yr03tf5r.js → chunk-p46em0kf.js} +3 -3
- package/bin/{chunk-gf4n4ahk.js → chunk-p4nbgn3v.js} +1 -1
- package/bin/chunk-p7j6zgdg.js +2 -0
- package/bin/chunk-pbyp1xnb.js +2 -0
- package/bin/{chunk-r55htzxr.js → chunk-pw81eh3g.js} +2 -2
- package/bin/{chunk-rkafv27g.js → chunk-q6k1ctph.js} +2 -2
- package/bin/{chunk-fhazy8f9.js → chunk-qa7pphr5.js} +1 -1
- package/bin/chunk-qah2r4xa.js +2 -0
- package/bin/chunk-r4w1e3bd.js +2 -0
- package/bin/{chunk-6kdf411z.js → chunk-rbh4w2v2.js} +1 -1
- package/bin/{chunk-3p1bb08a.js → chunk-rd5ek2sk.js} +2 -2
- package/bin/{chunk-8ystwvdt.js → chunk-rv15x8aw.js} +2 -2
- package/bin/{chunk-b0rjvx5g.js → chunk-ryvq9pbw.js} +2 -2
- package/bin/{chunk-4a88wwg2.js → chunk-s9whhdb3.js} +2 -2
- package/bin/{chunk-ycw3rwhx.js → chunk-sby10fz6.js} +3 -3
- package/bin/{chunk-q45n02fs.js → chunk-sedbz4km.js} +1 -1
- package/bin/{chunk-ccvjwhqq.js → chunk-sfwmwrq3.js} +1 -1
- package/bin/{chunk-zmjtv19e.js → chunk-sg8hjkyg.js} +1 -1
- package/bin/{chunk-3r5yc5wm.js → chunk-snedd3at.js} +6 -6
- package/bin/{chunk-an6nsq1t.js → chunk-spm13ndr.js} +2 -2
- package/bin/chunk-ss1jchgx.js +1 -0
- package/bin/{chunk-rdscv38p.js → chunk-szjkmkwc.js} +1 -1
- package/bin/chunk-t0nktwrm.js +1 -0
- package/bin/{chunk-1ntn42d2.js → chunk-t9eb2mdq.js} +3 -3
- package/bin/{chunk-njqf50vw.js → chunk-tcyp8qtg.js} +2 -2
- package/bin/{chunk-nn5hyf6f.js → chunk-tefct00a.js} +1 -1
- package/bin/{chunk-xca338dw.js → chunk-thzf89fp.js} +3 -3
- package/bin/{chunk-pcspeqwq.js → chunk-tnv4ggx2.js} +4 -4
- package/bin/chunk-tptgxbqa.js +2 -0
- package/bin/{chunk-xzyfnfck.js → chunk-v2901ff5.js} +8 -8
- package/bin/{chunk-vx66rms0.js → chunk-v2vdm22x.js} +1 -1
- package/bin/{chunk-5rk7dyx9.js → chunk-v8ngtwzx.js} +53 -53
- package/bin/chunk-xex9v0rn.js +2 -0
- package/bin/chunk-xs2w45vp.js +1 -0
- package/bin/{chunk-s41mgkse.js → chunk-xw7jea6g.js} +1 -1
- package/bin/chunk-xza8wate.js +2 -0
- package/bin/{chunk-pa1fmskf.js → chunk-yet4fnab.js} +1 -1
- package/bin/{chunk-ny7qjn6s.js → chunk-yfjyjjpz.js} +1 -1
- package/bin/{chunk-5vvvgjvz.js → chunk-ytffpk7c.js} +2 -2
- package/bin/{chunk-kq2qbwx1.js → chunk-yyj21k15.js} +1 -1
- package/bin/{chunk-5v4s2kp4.js → chunk-zhtc1j3r.js} +1 -1
- package/bin/{chunk-8gna37dd.js → chunk-zpk482rb.js} +2 -2
- package/bin/{chunk-zcdqsp1e.js → chunk-zy32pf0s.js} +1 -1
- package/bin/shumai-app.html +1 -1
- package/bin/shumai-app.js +562 -317
- package/package.json +7 -7
- package/prisma/migrations/20260927092537_add_notification_email_status/migration.sql +11 -0
- package/prisma/schema.prisma +10 -0
- package/bin/chunk-0xsgx9ep.js +0 -1
- package/bin/chunk-1ajgdv26.js +0 -1
- package/bin/chunk-30dsxm8s.js +0 -1
- package/bin/chunk-3b6h719s.js +0 -3
- package/bin/chunk-3m5kwcj7.js +0 -2
- package/bin/chunk-58e1a3re.js +0 -2
- package/bin/chunk-6ksrrayx.css +0 -1
- package/bin/chunk-bgm76rzj.js +0 -1
- package/bin/chunk-btmxr226.js +0 -1
- package/bin/chunk-ee3mrvqp.js +0 -2
- package/bin/chunk-fg6zf2gb.js +0 -2
- package/bin/chunk-fk712d68.js +0 -2
- package/bin/chunk-g9gmht89.js +0 -2
- package/bin/chunk-htpjtarr.js +0 -2
- package/bin/chunk-j547gtag.js +0 -2
- package/bin/chunk-jf4kcad0.js +0 -1
- package/bin/chunk-jt04mf5s.js +0 -2
- package/bin/chunk-k5hnrtrt.js +0 -1
- package/bin/chunk-q6jsw0rr.js +0 -211
- package/bin/chunk-qjzyze00.js +0 -1
- package/bin/chunk-rfhmk32e.js +0 -1
- package/bin/chunk-rkqpnyzx.js +0 -2
- package/bin/chunk-xbge27m4.js +0 -1
- package/bin/chunk-xcsz1wp7.js +0 -1
- package/bin/chunk-zb0az2tq.js +0 -2
- package/bin/chunk-zej27b5c.js +0 -2
package/bin/chunk-q6jsw0rr.js
DELETED
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
import{z,w,Oe,hm,Am}from"./chunk-yqvhgtez.js";var V={};Am(V,{Activity:()=>yG,Children:()=>$l,Component:()=>Rs,Fragment:()=>Cn,Profiler:()=>bG,PureComponent:()=>_G,StrictMode:()=>e3,Suspense:()=>ia,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:()=>Ga,__COMPILER_RUNTIME:()=>wG,cache:()=>zG,cacheSignal:()=>SG,cloneElement:()=>Du,createContext:()=>at,createElement:()=>q,createRef:()=>LG,forwardRef:()=>O,isValidElement:()=>ts,lazy:()=>kG,memo:()=>Bn,startTransition:()=>NL,unstable_useCacheRefresh:()=>CG,use:()=>xi,useActionState:()=>IG,useCallback:()=>P,useContext:()=>dt,useDebugValue:()=>la,useDeferredValue:()=>RG,useEffect:()=>h,useEffectEvent:()=>PG,useId:()=>Lu,useImperativeHandle:()=>dn,useInsertionEffect:()=>jD,useLayoutEffect:()=>He,useMemo:()=>D,useOptimistic:()=>TG,useReducer:()=>en,useRef:()=>b,useState:()=>u,useSyncExternalStore:()=>Yn,useTransition:()=>AG,version:()=>Ns},{Activity:(A1t)=>yG=A1t,Children:(A1t)=>$l=A1t,Component:(A1t)=>Rs=A1t,Fragment:(A1t)=>Cn=A1t,Profiler:(A1t)=>bG=A1t,PureComponent:(A1t)=>_G=A1t,StrictMode:(A1t)=>e3=A1t,Suspense:(A1t)=>ia=A1t,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:(A1t)=>Ga=A1t,__COMPILER_RUNTIME:(A1t)=>wG=A1t,cache:(A1t)=>zG=A1t,cacheSignal:(A1t)=>SG=A1t,cloneElement:(A1t)=>Du=A1t,createContext:(A1t)=>at=A1t,createElement:(A1t)=>q=A1t,createRef:(A1t)=>LG=A1t,forwardRef:(A1t)=>O=A1t,isValidElement:(A1t)=>ts=A1t,lazy:(A1t)=>kG=A1t,memo:(A1t)=>Bn=A1t,startTransition:(A1t)=>NL=A1t,unstable_useCacheRefresh:(A1t)=>CG=A1t,use:(A1t)=>xi=A1t,useActionState:(A1t)=>IG=A1t,useCallback:(A1t)=>P=A1t,useContext:(A1t)=>dt=A1t,useDebugValue:(A1t)=>la=A1t,useDeferredValue:(A1t)=>RG=A1t,useEffect:(A1t)=>h=A1t,useEffectEvent:(A1t)=>PG=A1t,useId:(A1t)=>Lu=A1t,useImperativeHandle:(A1t)=>dn=A1t,useInsertionEffect:(A1t)=>jD=A1t,useLayoutEffect:(A1t)=>He=A1t,useMemo:(A1t)=>D=A1t,useOptimistic:(A1t)=>TG=A1t,useReducer:(A1t)=>en=A1t,useRef:(A1t)=>b=A1t,useState:(A1t)=>u=A1t,useSyncExternalStore:(A1t)=>Yn=A1t,useTransition:(A1t)=>AG=A1t,version:(A1t)=>Ns=A1t});function Kxe(e){if(e===null||typeof e!=="object")return null;return e=uG&&e[uG]||e["@@iterator"],typeof e==="function"?e:null}function jL(e,r,a){this.props=e,this.context=r,this.refs=MG,this.updater=a||hG}function vG(){}function XF(e,r,a){this.props=e,this.context=r,this.refs=MG,this.updater=a||hG}function GF(){}function JF(e,r,a){var i=a.ref;return{$$typeof:KF,type:e,key:r,ref:i!==void 0?i:null,props:a}}function Xxe(e,r){return JF(e.type,r,e.props)}function $F(e){return typeof e==="object"&&e!==null&&e.$$typeof===KF}function Qxe(e){var r={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return r[a]})}function WF(e,r){return typeof e==="object"&&e!==null&&e.key!=null?Qxe(""+e.key):r.toString(36)}function Jxe(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status==="string"?e.then(GF,GF):(e.status="pending",e.then(function(r){e.status==="pending"&&(e.status="fulfilled",e.value=r)},function(r){e.status==="pending"&&(e.status="rejected",e.reason=r)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function OL(e,r,a,i,f){var s=typeof e;if(s==="undefined"||s==="boolean")e=null;var l=!1;if(e===null)l=!0;else switch(s){case"bigint":case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case KF:case Nxe:l=!0;break;case mG:return l=e._init,OL(l(e._payload),r,a,i,f)}}if(l)return f=f(e),l=i===""?"."+WF(e,0):i,dG(f)?(a="",l!=null&&(a=l.replace(ZG,"$&/")+"/"),OL(f,r,a,"",function(g){return g})):f!=null&&($F(f)&&(f=Xxe(f,a+(f.key==null||e&&e.key===f.key?"":(""+f.key).replace(ZG,"$&/")+"/")+l)),r.push(f)),1;l=0;var c=i===""?".":i+":";if(dG(e))for(var m=0;m<e.length;m++)i=e[m],s=c+WF(i,m),l+=OL(i,r,a,s,f);else if(m=Kxe(e),typeof m==="function")for(e=m.call(e),m=0;!(i=e.next()).done;)i=i.value,s=c+WF(i,m++),l+=OL(i,r,a,s,f);else if(s==="object"){if(typeof e.then==="function")return OL(Jxe(e),r,a,i,f);throw r=String(e),Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return l}function OD(e,r,a){if(e==null)return e;var i=[],f=0;return OL(e,i,"","",function(s){return r.call(a,s,f++)}),i}function $xe(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 KF,Nxe,Fxe,Bxe,Yxe,Uxe,qxe,Hxe,Vxe,Wxe,mG,Gxe,uG,hG,gG,MG,QF,dG,Oa,xG,ZG,pG,eye,yG,$l,Rs,Cn,bG,_G,e3,ia,Ga,wG,zG=function(e){return function(){return e.apply(null,arguments)}},SG=function(){return null},Du=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=gG({},e.props),f=e.key;if(r!=null)for(s in r.key!==void 0&&(f=""+r.key),r)!xG.call(r,s)||s==="key"||s==="__self"||s==="__source"||s==="ref"&&r.ref===void 0||(i[s]=r[s]);var s=arguments.length-2;if(s===1)i.children=a;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];i.children=l}return JF(e.type,f,i)},at=function(e){return e={$$typeof:qxe,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:Uxe,_context:e},e},q=function(e,r,a){var i,f={},s=null;if(r!=null)for(i in r.key!==void 0&&(s=""+r.key),r)xG.call(r,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(f[i]=r[i]);var l=arguments.length-2;if(l===1)f.children=a;else if(1<l){for(var c=Array(l),m=0;m<l;m++)c[m]=arguments[m+2];f.children=c}if(e&&e.defaultProps)for(i in l=e.defaultProps,l)f[i]===void 0&&(f[i]=l[i]);return JF(e,s,f)},LG=function(){return{current:null}},O=function(e){return{$$typeof:Hxe,render:e}},ts,kG=function(e){return{$$typeof:mG,_payload:{_status:-1,_result:e},_init:$xe}},Bn=function(e,r){return{$$typeof:Wxe,type:e,compare:r===void 0?null:r}},NL=function(e){var r=Oa.T,a={};Oa.T=a;try{var i=e(),f=Oa.S;f!==null&&f(a,i),typeof i==="object"&&i!==null&&typeof i.then==="function"&&i.then(GF,pG)}catch(s){pG(s)}finally{r!==null&&a.types!==null&&(r.types=a.types),Oa.T=r}},CG=function(){return Oa.H.useCacheRefresh()},xi=function(e){return Oa.H.use(e)},IG=function(e,r,a){return Oa.H.useActionState(e,r,a)},P=function(e,r){return Oa.H.useCallback(e,r)},dt=function(e){return Oa.H.useContext(e)},la=function(){},RG=function(e,r){return Oa.H.useDeferredValue(e,r)},h=function(e,r){return Oa.H.useEffect(e,r)},PG=function(e){return Oa.H.useEffectEvent(e)},Lu=function(){return Oa.H.useId()},dn=function(e,r,a){return Oa.H.useImperativeHandle(e,r,a)},jD=function(e,r){return Oa.H.useInsertionEffect(e,r)},He=function(e,r){return Oa.H.useLayoutEffect(e,r)},D=function(e,r){return Oa.H.useMemo(e,r)},TG=function(e,r){return Oa.H.useOptimistic(e,r)},en=function(e,r,a){return Oa.H.useReducer(e,r,a)},b=function(e){return Oa.H.useRef(e)},u=function(e){return Oa.H.useState(e)},Yn=function(e,r,a){return Oa.H.useSyncExternalStore(e,r,a)},AG=function(){return Oa.H.useTransition()},Ns="19.2.8";var S=hm(()=>{KF=Symbol.for("react.transitional.element"),Nxe=Symbol.for("react.portal"),Fxe=Symbol.for("react.fragment"),Bxe=Symbol.for("react.strict_mode"),Yxe=Symbol.for("react.profiler"),Uxe=Symbol.for("react.consumer"),qxe=Symbol.for("react.context"),Hxe=Symbol.for("react.forward_ref"),Vxe=Symbol.for("react.suspense"),Wxe=Symbol.for("react.memo"),mG=Symbol.for("react.lazy"),Gxe=Symbol.for("react.activity"),uG=Symbol.iterator;hG={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},gG=Object.assign,MG={};jL.prototype.isReactComponent={};jL.prototype.setState=function(e,r){if(typeof e!=="object"&&typeof e!=="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,r,"setState")};jL.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};vG.prototype=jL.prototype;QF=XF.prototype=new vG;QF.constructor=XF;gG(QF,jL.prototype);QF.isPureReactComponent=!0;dG=Array.isArray;Oa={H:null,A:null,T:null,S:null},xG=Object.prototype.hasOwnProperty;ZG=/\/+/g;pG=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)},eye={map:OD,forEach:function(e,r,a){OD(e,function(){r.apply(this,arguments)},a)},count:function(e){var r=0;return OD(e,function(){r++}),r},toArray:function(e){return OD(e,function(r){return r})||[]},only:function(e){if(!$F(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};yG=Gxe,$l=eye,Rs=jL,Cn=Fxe,bG=Yxe,_G=XF,e3=Bxe,ia=Vxe,Ga=Oa,wG={__proto__:null,c:function(e){return Oa.H.useMemoCache(e)}},ts=$F});var $K=w(function(ebe){S();function Hye(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Vye=typeof Object.is==="function"?Object.is:Hye,Wye=u,Gye=h,Kye=He,Xye=la;function Qye(e,r){var a=r(),i=Wye({inst:{value:a,getSnapshot:r}}),f=i[0].inst,s=i[1];return Kye(function(){f.value=a,f.getSnapshot=r,F3(f)&&s({inst:f})},[e,a,r]),Gye(function(){return F3(f)&&s({inst:f}),e(function(){F3(f)&&s({inst:f})})},[e]),Xye(a),a}function F3(e){var r=e.getSnapshot;e=e.value;try{var a=r();return!Vye(e,a)}catch(i){return!0}}function Jye(e,r){return r()}var $ye=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Jye:Qye;ebe.useSyncExternalStore=Yn!==void 0?Yn:$ye});var rz={};Am(rz,{unstable_now:()=>Jn,unstable_IdlePriority:()=>Ka,unstable_ImmediatePriority:()=>il,unstable_LowPriority:()=>bO,unstable_NormalPriority:()=>Ds,unstable_Profiling:()=>TX,unstable_UserBlockingPriority:()=>ll,unstable_cancelCallback:()=>cl,unstable_forceFrameRate:()=>AX,unstable_getCurrentPriorityLevel:()=>_O,unstable_next:()=>DX,unstable_requestPaint:()=>ul,unstable_runWithPriority:()=>$u,unstable_scheduleCallback:()=>Ps,unstable_shouldYield:()=>dl,unstable_wrapCallback:()=>EX},{unstable_now:(WEt)=>Jn=WEt,unstable_IdlePriority:(WEt)=>Ka=WEt,unstable_ImmediatePriority:(WEt)=>il=WEt,unstable_LowPriority:(WEt)=>bO=WEt,unstable_NormalPriority:(WEt)=>Ds=WEt,unstable_Profiling:(WEt)=>TX=WEt,unstable_UserBlockingPriority:(WEt)=>ll=WEt,unstable_cancelCallback:(WEt)=>cl=WEt,unstable_forceFrameRate:(WEt)=>AX=WEt,unstable_getCurrentPriorityLevel:(WEt)=>_O=WEt,unstable_next:(WEt)=>DX=WEt,unstable_requestPaint:(WEt)=>ul=WEt,unstable_runWithPriority:(WEt)=>$u=WEt,unstable_scheduleCallback:(WEt)=>Ps=WEt,unstable_shouldYield:(WEt)=>dl=WEt,unstable_wrapCallback:(WEt)=>EX=WEt});function X3(e,r){var a=e.length;e.push(r);e:for(;0<a;){var i=a-1>>>1,f=e[i];if(0<gO(f,r))e[i]=r,e[a]=f,a=i;else break e}}function Xd(e){return e.length===0?null:e[0]}function yO(e){if(e.length===0)return null;var r=e[0],a=e.pop();if(a!==r){e[0]=a;e:for(var i=0,f=e.length,s=f>>>1;i<s;){var l=2*(i+1)-1,c=e[l],m=l+1,g=e[m];if(0>gO(c,a))m<f&&0>gO(g,c)?(e[i]=g,e[m]=a,i=m):(e[i]=c,e[l]=a,i=l);else if(m<f&&0>gO(g,a))e[i]=g,e[m]=a,i=m;else break e}}return r}function gO(e,r){var a=e.sortIndex-r.sortIndex;return a!==0?a:e.id-r.id}function vO(e){for(var r=Xd(RM);r!==null;){if(r.callback===null)yO(RM);else if(r.startTime<=e)yO(RM),r.sortIndex=r.expirationTime,X3(kZ,r);else break;r=Xd(RM)}}function r6(e){if(fP=!1,vO(e),!iP)if(Xd(kZ)!==null)iP=!0,ok||(ok=!0,rk());else{var r=Xd(RM);r!==null&&o6(r6,r.startTime-e)}}function PX(){return t6?!0:rz.unstable_now()-RX<IX?!1:!0}function K3(){if(t6=!1,ok){var e=rz.unstable_now();RX=e;var r=!0;try{e:{iP=!1,fP&&(fP=!1,CX(sP),sP=-1),$3=!0;var a=lf;try{t:{vO(e);for(tc=Xd(kZ);tc!==null&&!(tc.expirationTime>e&&PX());){var i=tc.callback;if(typeof i==="function"){tc.callback=null,lf=tc.priorityLevel;var f=i(tc.expirationTime<=e);if(e=rz.unstable_now(),typeof f==="function"){tc.callback=f,vO(e),r=!0;break t}tc===Xd(kZ)&&yO(kZ),vO(e)}else yO(kZ);tc=Xd(kZ)}if(tc!==null)r=!0;else{var s=Xd(RM);s!==null&&o6(r6,s.startTime-e),r=!1}}break e}finally{tc=null,lf=a,$3=!1}r=void 0}}finally{r?rk():ok=!1}}}function o6(e,r){sP=kX(function(){e(rz.unstable_now())},r)}var Jn=void 0,Q3,MO,J3,kZ,RM,ybe=1,tc=null,lf=3,$3=!1,iP=!1,fP=!1,t6=!1,kX,CX,LX,ok=!1,sP=-1,IX=5,RX=-1,rk,xO,e6,Ka=5,il=1,bO=4,Ds=3,TX=null,ll=2,cl=function(e){e.callback=null},AX=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"):IX=0<e?Math.floor(1000/e):5},_O=function(){return lf},DX=function(e){switch(lf){case 1:case 2:case 3:var r=3;break;default:r=lf}var a=lf;lf=r;try{return e()}finally{lf=a}},ul=function(){t6=!0},$u=function(e,r){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=lf;lf=e;try{return r()}finally{lf=a}},Ps=function(e,r,a){var i=rz.unstable_now();switch(typeof a==="object"&&a!==null?(a=a.delay,a=typeof a==="number"&&0<a?i+a:i):a=i,e){case 1:var f=-1;break;case 2:f=250;break;case 5:f=1073741823;break;case 4:f=1e4;break;default:f=5000}return f=a+f,e={id:ybe++,callback:r,priorityLevel:e,startTime:a,expirationTime:f,sortIndex:-1},a>i?(e.sortIndex=a,X3(RM,e),Xd(kZ)===null&&e===Xd(RM)&&(fP?(CX(sP),sP=-1):fP=!0,o6(r6,a-i))):(e.sortIndex=f,X3(kZ,e),iP||$3||(iP=!0,ok||(ok=!0,rk()))),e},dl,EX=function(e){var r=lf;return function(){var a=lf;lf=r;try{return e.apply(this,arguments)}finally{lf=a}}};var Gu=hm(()=>{if(typeof performance==="object"&&typeof performance.now==="function")Q3=performance,Jn=function(){return Q3.now()};else MO=Date,J3=MO.now(),Jn=function(){return MO.now()-J3};kZ=[],RM=[],kX=typeof setTimeout==="function"?setTimeout:null,CX=typeof clearTimeout==="function"?clearTimeout:null,LX=typeof setImmediate<"u"?setImmediate:null;if(typeof LX==="function")rk=function(){LX(K3)};else if(typeof MessageChannel<"u")xO=new MessageChannel,e6=xO.port2,xO.port1.onmessage=K3,rk=function(){e6.postMessage(null)};else rk=function(){kX(K3,0)};dl=PX});var vMe=w(function(CPn,MMe){var pMe=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,h0t=/\n/g,g0t=/^\s*/,M0t=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,v0t=/^:\s*/,x0t=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,y0t=/^[;\s]*/,b0t=/^\s+|\s+$/g,_0t=`
|
|
2
|
-
`,mMe="/",hMe="*",kL="",w0t="comment",z0t="declaration";function S0t(e,r){if(typeof e!=="string")throw TypeError("First argument must be a string");if(!e)return[];r=r||{};var a=1,i=1;function f(_){var j=_.match(h0t);if(j)a+=j.length;var U=_.lastIndexOf(_0t);i=~U?_.length-U:i+_.length}function s(){var _={line:a,column:i};return function(j){return j.position=new l(_),g(),j}}function l(_){this.start=_,this.end={line:a,column:i},this.source=r.source}l.prototype.content=e;function c(_){var j=Error(r.source+":"+a+":"+i+": "+_);if(j.reason=_,j.filename=r.source,j.line=a,j.column=i,j.source=e,r.silent);else throw j}function m(_){var j=_.exec(e);if(!j)return;var U=j[0];return f(U),e=e.slice(U.length),j}function g(){m(g0t)}function M(_){var j;_=_||[];while(j=v())if(j!==!1)_.push(j);return _}function v(){var _=s();if(mMe!=e.charAt(0)||hMe!=e.charAt(1))return;var j=2;while(kL!=e.charAt(j)&&(hMe!=e.charAt(j)||mMe!=e.charAt(j+1)))++j;if(j+=2,kL===e.charAt(j-1))return c("End of comment missing");var U=e.slice(2,j-2);return i+=2,f(U),e=e.slice(j),i+=2,_({type:w0t,comment:U})}function y(){var _=s(),j=m(M0t);if(!j)return;if(v(),!m(v0t))return c("property missing ':'");var U=m(x0t),T=_({type:z0t,property:gMe(j[0].replace(pMe,kL)),value:U?gMe(U[0].replace(pMe,kL)):kL});return m(y0t),T}function x(){var _=[];M(_);var j;while(j=y())if(j!==!1)_.push(j),M(_);return _}return g(),x()}function gMe(e){return e?e.replace(b0t,kL):kL}MMe.exports=S0t});var xMe=w(function(ZD){var L0t=ZD&&ZD.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ZD,"__esModule",{value:!0});ZD.default=C0t;var k0t=L0t(vMe());function C0t(e,r){let a=null;if(!e||typeof e!=="string")return a;let i=(0,k0t.default)(e),f=typeof r==="function";return i.forEach((s)=>{if(s.type!=="declaration")return;let{property:l,value:c}=s;if(f)r(l,c,s);else if(c)a=a||{},a[l]=c}),a}});var wMe=w(function(bMe){Object.defineProperty(bMe,"__esModule",{value:!0});bMe.camelCase=void 0;var I0t=/^--[a-zA-Z0-9_-]+$/,R0t=/-([a-z])/g,P0t=/^[^-]+$/,T0t=/^-(webkit|moz|ms|o|khtml)-/,A0t=/^-(ms)-/,D0t=function(e){return!e||P0t.test(e)||I0t.test(e)},E0t=function(e,r){return r.toUpperCase()},yMe=function(e,r){return"".concat(r,"-")},O0t=function(e,r){if(r===void 0)r={};if(D0t(e))return e;if(e=e.toLowerCase(),r.reactCompat)e=e.replace(A0t,yMe);else e=e.replace(T0t,yMe);return e.replace(R0t,E0t)};bMe.camelCase=O0t});var SMe=w(function(KV,zMe){var j0t=KV&&KV.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},N0t=j0t(xMe()),F0t=wMe();function GV(e,r){var a={};if(!e||typeof e!=="string")return a;return(0,N0t.default)(e,function(i,f){if(i&&f)a[(0,F0t.camelCase)(i,r)]=f}),a}GV.default=GV;zMe.exports=GV});var Qve=w(function(vOn,Xve){var gF=Object.prototype.hasOwnProperty,Kve=Object.prototype.toString,{defineProperty:Uve,getOwnPropertyDescriptor:qve}=Object,Hve=function(r){if(typeof Array.isArray==="function")return Array.isArray(r);return Kve.call(r)==="[object Array]"},Vve=function(r){if(!r||Kve.call(r)!=="[object Object]")return!1;var a=gF.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&gF.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!a&&!i)return!1;var f;for(f in r);return typeof f>"u"||gF.call(r,f)},Wve=function(r,a){if(Uve&&a.name==="__proto__")Uve(r,a.name,{enumerable:!0,configurable:!0,value:a.newValue,writable:!0});else r[a.name]=a.newValue},Gve=function(r,a){if(a==="__proto__"){if(!gF.call(r,a))return;else if(qve)return qve(r,a).value}return r[a]};Xve.exports=function e(){var r,a,i,f,s,l,c=arguments[0],m=1,g=arguments.length,M=!1;if(typeof c==="boolean")M=c,c=arguments[1]||{},m=2;if(c==null||typeof c!=="object"&&typeof c!=="function")c={};for(;m<g;++m)if(r=arguments[m],r!=null){for(a in r)if(i=Gve(c,a),f=Gve(r,a),c!==f){if(M&&f&&(Vve(f)||(s=Hve(f)))){if(s)s=!1,l=i&&Hve(i)?i:[];else l=i&&Vve(i)?i:{};Wve(c,{name:a,newValue:e(M,l,f)})}else if(typeof f<"u")Wve(c,{name:a,newValue:f})}}return c}});S();var tye=Symbol.for("react.transitional.element"),rye=Symbol.for("react.fragment");function DG(e,r,a){var i=null;if(a!==void 0&&(i=""+a),r.key!==void 0&&(i=""+r.key),"key"in r){a={};for(var f in r)f!=="key"&&(a[f]=r[f])}else a=r;return r=a.ref,{$$typeof:tye,type:e,key:i,ref:r!==void 0?r:null,props:a}}var L=rye,t=DG,o=DG;var t3=at(void 0),K=(e)=>{let r=dt(t3);if(e)return e;if(!r)throw Error("No QueryClient set, use QueryClientProvider to set one");return r},r3=({client:e,children:r})=>(h(()=>(e.mount(),()=>{e.unmount()}),[e]),t(t3.Provider,{value:e,children:r}));S();var EG=at(!1),Zu=()=>dt(EG),j1t=EG.Provider;S();function oye(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var aye=at(oye()),Bu=()=>dt(aye);S();var nye={setTimeout:(e,r)=>setTimeout(e,r),clearTimeout:(e)=>clearTimeout(e),setInterval:(e,r)=>setInterval(e,r),clearInterval:(e)=>clearInterval(e)},iye=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)}},Eu=new iye;function OG(e){setTimeout(e,0)}var a3=typeof window>"u"||"Deno"in globalThis;function _r(){}function FG(e,r){return typeof e==="function"?e(r):e}function ND(e){return typeof e==="number"&&e>=0&&e!==1/0}function FD(e,r){return Math.max(e+(r||0)-Date.now(),0)}function ja(e,r){return typeof e==="function"?e(r):e}function BD(e,r){let{type:a="all",exact:i,fetchStatus:f,predicate:s,queryKey:l,stale:c}=e;if(l){if(i){if(r.queryHash!==VR(l,r.options))return!1}else if(!hM(r.queryKey,l))return!1}if(a!=="all"){let m=r.isActive();if(a==="active"&&!m)return!1;if(a==="inactive"&&m)return!1}if(typeof c==="boolean"&&r.isStale()!==c)return!1;if(f&&f!==r.state.fetchStatus)return!1;if(s&&!s(r))return!1;return!0}function YD(e,r){let{exact:a,status:i,predicate:f,mutationKey:s}=e;if(s){if(!r.options.mutationKey)return!1;if(a){if(Ou(r.options.mutationKey)!==Ou(s))return!1}else if(!hM(r.options.mutationKey,s))return!1}if(i&&r.state.status!==i)return!1;if(f&&!f(r))return!1;return!0}function VR(e,r){return(r?.queryKeyHashFn||Ou)(e)}function Ou(e){return JSON.stringify(e,(r,a)=>o3(a)?Object.keys(a).sort().reduce((i,f)=>(i[f]=a[f],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 fye=Object.prototype.hasOwnProperty;function Ec(e,r,a=0){if(e===r)return e;if(a>500)return r;let i=jG(e)&&jG(r);if(!i&&!(o3(e)&&o3(r)))return r;let f=(i?e:Object.keys(e)).length,s=i?r:Object.keys(r),l=s.length,c=i?Array(l):{},m=0;for(let g=0;g<l;g++){let M=i?g:s[g],v=e[M],y=r[M];if(v===y){if(c[M]=v,i?g<f:fye.call(e,M))m++;continue}if(v===null||y===null||typeof v!=="object"||typeof y!=="object"){c[M]=y;continue}let x=Ec(v,y,a+1);if(c[M]=x,x===v)m++}return f===l&&m===f?e:c}function Va(e,r){if(!r||Object.keys(e).length!==Object.keys(r).length)return!1;for(let a in e)if(e[a]!==r[a])return!1;return!0}function jG(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function o3(e){if(!NG(e))return!1;let r=e.constructor;if(r===void 0)return!0;let a=r.prototype;if(!NG(a))return!1;if(!a.hasOwnProperty("isPrototypeOf"))return!1;if(Object.getPrototypeOf(e)!==Object.prototype)return!1;return!0}function NG(e){return Object.prototype.toString.call(e)==="[object Object]"}function BG(e){return new Promise((r)=>{Eu.setTimeout(r,e)})}function WR(e,r,a){if(typeof a.structuralSharing==="function")return a.structuralSharing(e,r);else if(a.structuralSharing!==!1)return Ec(e,r);return r}function Si(e){return e}function YG(e,r,a=0){let i=[...e,r];return a&&i.length>a?i.slice(1):i}function UG(e,r,a=0){let i=[r,...e];return a&&i.length>a?i.slice(0,-1):i}var FL=Symbol();function UD(e,r){if(!e.queryFn&&r?.initialPromise)return()=>r.initialPromise;if(!e.queryFn||e.queryFn===FL)return()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`));return e.queryFn}function BL(e,r){if(typeof e==="function")return e(...r);return!!e}function qG(e,r,a){let i=!1,f;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(f??=r(),i)return f;if(i=!0,f.aborted)a();else f.addEventListener("abort",a,{once:!0});return f}}),e}var sye=()=>a3,YL=()=>sye();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 lye=class extends bo{#e;#t;#r;constructor(){super();this.#r=(e)=>{if(typeof window<"u"&&window.addEventListener){let r=()=>e();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}}}onSubscribe(){if(!this.#t)this.setEventListener(this.#r)}onUnsubscribe(){if(!this.hasListeners())this.#t?.(),this.#t=void 0}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e((r)=>{if(typeof r==="boolean")this.setFocused(r);else this.onFocus()})}setFocused(e){if(this.#e!==e)this.#e=e,this.onFocus()}onFocus(){let e=this.isFocused();this.listeners.forEach((r)=>{r(e)})}isFocused(){if(typeof this.#e==="boolean")return this.#e;return globalThis.document?.visibilityState!=="hidden"}},UL=new lye;var HG=OG;function cye(){let e=[],r=0,a=(c)=>{c()},i=(c)=>{c()},f=HG,s=(c)=>{if(r)e.push(c);else f(()=>{a(c)})},l=()=>{let c=e;if(e=[],c.length)f(()=>{i(()=>{c.forEach((m)=>{a(m)})})})};return{batch:(c)=>{let m;r++;try{m=c()}finally{if(r--,!r)l()}return m},batchCalls:(c)=>(...m)=>{s(()=>{c(...m)})},schedule:s,setNotifyFunction:(c)=>{a=c},setBatchNotifyFunction:(c)=>{i=c},setScheduler:(c)=>{f=c}}}var Ht=cye();var uye=class extends bo{#e=!0;#t;#r;constructor(){super();this.#r=(e)=>{if(typeof window<"u"&&window.addEventListener){let r=()=>e(!0),a=()=>e(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",a)}}}}onSubscribe(){if(!this.#t)this.setEventListener(this.#r)}onUnsubscribe(){if(!this.hasListeners())this.#t?.(),this.#t=void 0}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){if(this.#e!==e)this.#e=e,this.listeners.forEach((r)=>{r(e)})}isOnline(){return this.#e}},qL=new uye;function dye(e){return Math.min(1000*2**e,30000)}function n3(e){return(e??"online")==="online"?qL.isOnline():!0}var qD=class extends Error{constructor(e){super("CancelledError");this.revert=e?.revert,this.silent=e?.silent}};function HD(e){let r=!1,a=0,i,f="pending",s,l,c=new Promise((N,G)=>{s=N,l=G});c.catch(_r);let m=()=>f!=="pending",g=(N)=>{if(!m()){let G=new qD(N);j(G),e.onCancel?.(G)}},M=()=>{r=!0},v=()=>{r=!1},y=()=>UL.isFocused()&&(e.networkMode==="always"||qL.isOnline())&&e.canRun(),x=()=>n3(e.networkMode)&&e.canRun(),_=(N)=>{if(!m())i?.(),f="resolved",s(N)},j=(N)=>{if(!m())i?.(),f="rejected",l(N)},U=()=>new Promise((N)=>{i=(G)=>{if(m()||y())N(G)},e.onPause?.()}).then(()=>{if(i=void 0,!m())e.onContinue?.()}),T=()=>{if(m())return;let N,G=a===0?e.initialPromise:void 0;try{N=G??e.fn()}catch(X){N=Promise.reject(X)}Promise.resolve(N).then(_).catch((X)=>{if(m())return;let J=e.retry??(YL()?0:3),ee=e.retryDelay??dye,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),BG(re).then(()=>y()?void 0:U()).then(()=>{if(r)j(X);else T()})})};return{promise:c,status:()=>f,cancel:g,continue:()=>(i?.(),c),cancelRetry:M,continueRetry:v,canStart:x,start:()=>{if(x())T();else U().then(T);return c}}}var VD=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){if(this.clearGcTimeout(),ND(this.gcTime))this.#e=Eu.setTimeout(()=>{this.optionalRemove()},this.gcTime)}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(YL()?1/0:300000))}clearGcTimeout(){if(this.#e!==void 0)Eu.clearTimeout(this.#e),this.#e=void 0}};function VG(e){return{onFetch:(r,a)=>{let i=r.options,f=r.fetchOptions?.meta?.fetchMore?.direction,s=r.state.data?.pages||[],l=r.state.data?.pageParams||[],c={pages:[],pageParams:[]},m=0,g=async()=>{let M=!1,v=(_)=>{qG(_,()=>r.signal,()=>M=!0)},y=UD(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?UG:YG;return{pages:J(_.pages,G,X),pageParams:J(_.pageParams,j,X)}};if(f&&s.length){let _=f==="backward",j=_?WG:i3,U={pages:s,pageParams:l};c=await x(U,j(i,U),_)}else{let _=e??s.length;do{let j=m===0?l[0]??i.initialPageParam:i3(i,c);if(m>0&&j==null)break;c=await x(c,j),m++}while(m<_)}return c};if(r.options.persister)r.fetchFn=()=>r.options.persister?.(g,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},a);else r.fetchFn=g}}}function i3(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 WG(e,{pages:r,pageParams:a}){return r.length>0?e.getPreviousPageParam?.(r[0],r,a[0],a):void 0}function GG(e,r){if(!r)return!1;return i3(e,r)!=null}function KG(e,r){if(!r||!e.getPreviousPageParam)return!1;return WG(e,r)!=null}var JG=class extends VD{#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=QG(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=QG(this.options);if(r.data!==void 0)this.setState(XG(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=WR(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)=>ja(e.options.enabled,this)!==!1)}isDisabled(){if(this.getObserversCount()>0)return!this.isActive();return this.options.queryFn===FL||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){if(this.getObserversCount()>0)return this.observers.some((e)=>ja(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!FD(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find((e)=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find((e)=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){if(!this.observers.includes(e))this.observers.push(e),this.clearGcTimeout(),this.#o.notify({type:"observerAdded",query:this,observer:e})}removeObserver(e){let r=this.observers.indexOf(e);if(r!==-1){if(this.observers.splice(r,1),!this.observers.length){if(this.#a)if(this.#s||this.state.fetchStatus==="paused"&&this.state.status==="pending")this.#a.cancel({revert:!0});else this.#a.cancelRetry();this.scheduleGc()}this.#o.notify({type:"observerRemoved",query:this,observer:e})}}getObserversCount(){return this.observers.length}invalidate(){if(!this.state.isInvalidated)this.#f({type:"invalidate"})}async fetch(e,r){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&r?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e)this.setOptions(e);if(!this.options.queryFn){let m=this.observers.find((g)=>g.options.queryFn);if(m)this.setOptions(m.options)}let a=new AbortController,i=(m)=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(this.#s=!0,a.signal)})},f=()=>{let m=UD(this.options,r),M=(()=>{let v={client:this.#n,queryKey:this.queryKey,meta:this.meta};return i(v),v})();if(this.#s=!1,this.options.persister)return this.options.persister(m,M,this);return m(M)},l=(()=>{let m={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#n,state:this.state,fetchFn:f};return i(m),m})();if((this.#e==="infinite"?VG(this.options.pages):this.options.behavior)?.onFetch(l,this),this.#r=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)this.#f({type:"fetch",meta:l.fetchOptions?.meta});let c=this.#a=HD({initialPromise:r?.initialPromise,fn:l.fetchFn,onCancel:(m)=>{if(m instanceof qD&&m.revert)this.setState({...this.#r,fetchStatus:"idle"});a.abort()},onFail:(m,g)=>{this.#f({type:"failed",failureCount:m,error:g})},onPause:()=>{this.#f({type:"pause"})},onContinue:()=>{this.#f({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{let m=await c.start();if(m===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(m),this.#o.config.onSuccess?.(m,this),this.#o.config.onSettled?.(m,this.state.error,this),m}catch(m){if(m instanceof qD){if(m.silent)return this.#a.promise;else if(m.revert){if(this.state.data===void 0)throw m;return this.state.data}}throw this.#f({type:"error",error:m}),this.#o.config.onError?.(m,this),this.#o.config.onSettled?.(this.state.data,m,this),m}finally{if(this.#a===c)this.#a=void 0;this.scheduleGc()}}#f(e){let r=(a)=>{switch(e.type){case"failed":return{...a,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...f3(a.data,this.options),fetchMeta:e.meta??null};case"success":let i={...a,...XG(e.data,e.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#r=e.manual?i:void 0,i;case"error":let f=e.error;return{...a,error:f,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:f,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...e.state}}};this.state=r(this.state),Ht.batch(()=>{this.observers.slice().forEach((a)=>{a.onQueryUpdate()}),this.#o.notify({query:this,type:"updated",action:e})})}};function f3(e,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:n3(r.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function XG(e,r){return{data:e,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function QG(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),$G(this.#t,this.options))this.#d();else this.updateResult();this.#v()}}onUnsubscribe(){if(!this.hasListeners())this.destroy()}shouldFetchOnReconnect(){return s3(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return s3(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 ja(this.options.enabled,this.#t)!=="boolean")throw Error("Expected enabled to be a boolean or a callback that returns a boolean");if(this.#b(),this.#t.setOptions(this.options),r._defaulted&&!Va(this.options,r))this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});let i=this.hasListeners();if(i&&eK(this.#t,a,this.options,r))this.#d();if(this.updateResult(),i&&(this.#t!==a||ja(this.options.enabled,this.#t)!==ja(r.enabled,this.#t)||ja(this.options.staleTime,this.#t)!==ja(r.staleTime,this.#t)))this.#h();let f=this.#g();if(i&&(this.#t!==a||ja(this.options.enabled,this.#t)!==ja(r.enabled,this.#t)||f!==this.#l))this.#M(f)}getOptimisticResult(e){let r=this.#e.getQueryCache().build(this.#e,e),a=this.createResult(r,e);if(!Va(this.getCurrentResult(),a))this.#o=a,this.#a=this.options,this.#n=this.#t.state;return a}getCurrentResult(){return this.#o}trackResult(e,r){return new Proxy(e,{get:(a,i)=>(this.trackProp(i),r?.(i),Reflect.get(a,i))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let r=this.#e.defaultQueryOptions(e),a=this.#e.getQueryCache().build(this.#e,r),i=()=>{},f,s=new Promise((l)=>{f=l,i=this.#e.getQueryCache().subscribe((c)=>{if(c.type==="updated"&&c.query.queryHash===a.queryHash&&a.state.data!==void 0)i(),l(this.createResult(a,r))})});return Promise.race([a.fetch().then(()=>{let l=this.createResult(a,r);return f?.(l),l}).finally(()=>{i()}),s])}fetch(e){return this.#d({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#o))}#d(e){this.#b();let r=this.#t.fetch(this.options,e);if(!e?.throwOnError)r=r.catch(_r);return r}#m(e){return!YL()&&ja(this.options.enabled,this.#t)!==!1&&ND(e)}#h(){this.#x();let e=ja(this.options.staleTime,this.#t);if(this.#o.isStale||!this.#m(e))return;let r=FD(this.#o.dataUpdatedAt,e)+1;this.#c=Eu.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=Eu.setInterval(()=>{if(this.options.refetchIntervalInBackground||UL.isFocused())this.#d()},this.#l)}#v(){this.#h(),this.#M(this.#g())}#x(){if(this.#c!==void 0)Eu.clearTimeout(this.#c),this.#c=void 0}#y(){if(this.#u!==void 0)Eu.clearInterval(this.#u),this.#u=void 0}createResult(e,r){let a=this.#t,i=this.options,f=this.#o,s=this.#n,l=this.#a,c=e!==a?e.state:this.#r,{state:m}=e,g={...m},M=!1,v;if(r._optimisticResults){let J=this.hasListeners(),ee=!J&&$G(e,r),re=J&&eK(e,a,r,i);if(ee||re)g={...g,...f3(m.data,e.options)};if(r._optimisticResults==="isRestoring")g.fetchStatus="idle"}let{error:y,errorUpdatedAt:x,status:_}=g;v=g.data;let j=!1;if(r.placeholderData!==void 0&&v===void 0&&_==="pending"){let J;if(f?.isPlaceholderData&&r.placeholderData===l?.placeholderData)J=f.data,j=!0;else J=typeof r.placeholderData==="function"?r.placeholderData(this.#Z?.state.data,this.#Z):r.placeholderData;if(J!==void 0)_="success",v=WR(f?.data,J,r),M=!0}if(r.select&&v!==void 0&&!j)if(f&&v===s?.data&&r.select===this.#s)v=this.#f;else try{this.#s=r.select,v=r.select(v),v=WR(f?.data,v,r),this.#f=v,this.#i=null}catch(J){this.#i=J}else if(v===void 0)this.#i=null;if(this.#i)y=this.#i,v=this.#f,x=Date.now(),_="error",M=!1;let U=g.fetchStatus==="fetching",T=_==="pending",N=_==="error",G=T&&U,X=v!==void 0;return{status:_,fetchStatus:g.fetchStatus,isPending:T,isSuccess:_==="success",isError:N,isInitialLoading:G,isLoading:G,data:v,dataUpdatedAt:g.dataUpdatedAt,error:y,errorUpdatedAt:x,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:g.dataUpdateCount>c.dataUpdateCount||g.errorUpdateCount>c.errorUpdateCount,isFetching:U,isRefetching:U&&!T,isLoadingError:N&&!X,isPaused:g.fetchStatus==="paused",isPlaceholderData:M,isRefetchError:N&&X,isStale:l3(e,r),refetch:this.refetch,isEnabled:ja(r.enabled,e)!==!1}}updateResult(){let e=this.#o,r=this.createResult(this.#t,this.options);if(this.#n=this.#t.state,this.#a=this.options,this.#n.data!==void 0)this.#Z=this.#t;if(Va(r,e))return;this.#o=r;let i=(()=>{if(!e)return!0;let{notifyOnChangeProps:f}=this.options,s=typeof f==="function"?f():f;if(s==="all"||!s&&!this.#p.size)return!0;let l=new Set(s??this.#p);if(this.options.throwOnError)l.add("error");return Object.keys(this.#o).some((c)=>{let m=c;return this.#o[m]!==e[m]&&l.has(m)})})();Ht.batch(()=>{if(i)this.listeners.forEach((f)=>{f(this.#o)});this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}#b(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let r=this.#t;if(this.#t=e,this.#r=e.state,this.hasListeners())r?.removeObserver(this),e.addObserver(this)}onQueryUpdate(){if(this.updateResult(),this.hasListeners())this.#v()}};function Zye(e,r){return ja(r.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&ja(r.retryOnMount,e)===!1)}function $G(e,r){return Zye(e,r)||e.state.data!==void 0&&s3(e,r,r.refetchOnMount)}function s3(e,r,a){if(ja(r.enabled,e)!==!1&&ja(r.staleTime,e)!=="static"){let i=typeof a==="function"?a(e):a;return i==="always"||i!==!1&&l3(e,r)}return!1}function eK(e,r,a,i){return(e!==r||ja(i.enabled,e)===!1)&&(!a.suspense||e.state.status!=="error")&&l3(e,a)}function l3(e,r){return ja(r.enabled,e)!==!1&&e.isStaleByTime(ja(r.staleTime,e))}var c3=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:f,isRefetching:s,isError:l,isRefetchError:c}=i,m=a.fetchMeta?.fetchMore?.direction,g=l&&m==="forward",M=f&&m==="forward",v=l&&m==="backward",y=f&&m==="backward";return{...i,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:GG(r,a.data),hasPreviousPage:KG(r,a.data),isFetchNextPageError:g,isFetchingNextPage:M,isFetchPreviousPageError:v,isFetchingPreviousPage:y,isRefetchError:c&&!g&&!v,isRefetching:s&&!M&&!y}}};var tK=class extends VD{#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||u3(),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=HD({fn:()=>{if(!this.options.mutationFn)return Promise.reject(Error("No mutationFn found"));return this.options.mutationFn(e,a)},onFail:(l,c)=>{this.#n({type:"failed",failureCount:l,error:c})},onPause:()=>{this.#n({type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#r.canRun(this)}),f=this.state.status==="pending",s=!i.canStart();try{if(f)r();else{if(this.#n({type:"pending",variables:e,isPaused:s}),this.#r.config.onMutate)await this.#r.config.onMutate(e,this,a);let c=await this.options.onMutate?.(e,a);if(c!==this.state.context)this.#n({type:"pending",context:c,variables:e,isPaused:s})}let l=await i.start();return await this.#r.config.onSuccess?.(l,e,this.state.context,this,a),await this.options.onSuccess?.(l,e,this.state.context,a),await this.#r.config.onSettled?.(l,null,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(l,null,e,this.state.context,a),this.#n({type:"success",data:l}),l}catch(l){try{await this.#r.config.onError?.(l,e,this.state.context,this,a)}catch(c){Promise.reject(c)}try{await this.options.onError?.(l,e,this.state.context,a)}catch(c){Promise.reject(c)}try{await this.#r.config.onSettled?.(void 0,l,this.state.variables,this.state.context,this,a)}catch(c){Promise.reject(c)}try{await this.options.onSettled?.(void 0,l,e,this.state.context,a)}catch(c){Promise.reject(c)}throw this.#n({type:"error",error:l}),l}finally{if(this.#o===i)this.#o=void 0;this.#r.runNext(this)}}#n(e){let r=(a)=>{switch(e.type){case"failed":return{...a,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...a,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:e.error,failureCount:a.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=r(this.state),Ht.batch(()=>{this.#t.forEach((a)=>{a.onMutationUpdate(e)}),this.#r.notify({mutation:this,type:"updated",action:e})})}};function u3(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var rK=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 tK({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=WD(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=WD(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=WD(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=WD(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)=>YD(r,a))}findAll(e={}){return this.getAll().filter((r)=>YD(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 WD(e){return e.options.scope?.id}var d3=class extends bo{#e;#t=void 0;#r;#o;constructor(e,r){super();this.#e=e,this.setOptions(r),this.bindMethods(),this.#n()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let r=this.options;if(this.options=this.#e.defaultMutationOptions(e),!Va(this.options,r))this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#r,observer:this});if(r?.mutationKey&&this.options.mutationKey&&Ou(r.mutationKey)!==Ou(this.options.mutationKey))this.reset();else if(this.#r?.state.status==="pending")this.#r.setOptions(this.options)}onSubscribe(){if(this.listeners.size===1&&this.#r)this.#r.addObserver(this),this.#n()}onUnsubscribe(){if(!this.hasListeners())this.#r?.removeObserver(this)}onMutationUpdate(e){this.#n(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#r?.removeObserver(this),this.#r=void 0,this.#n(),this.#a()}mutate(e,r){return this.#o=r,this.#r?.removeObserver(this),this.#r=this.#e.getMutationCache().build(this.#e,this.options),this.#r.addObserver(this),this.#r.execute(e)}#n(){let e=this.#r?.state??u3();this.#t={...e,isPending:e.status==="pending",isSuccess:e.status==="success",isError:e.status==="error",isIdle:e.status==="idle",mutate:this.mutate,reset:this.reset}}#a(e){Ht.batch(()=>{if(this.#o&&this.hasListeners()){let r=this.#t.variables,a=this.#t.context,i={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type==="success"){try{this.#o.onSuccess?.(e.data,r,a,i)}catch(f){Promise.reject(f)}try{this.#o.onSettled?.(e.data,null,r,a,i)}catch(f){Promise.reject(f)}}else if(e?.type==="error"){try{this.#o.onError?.(e.error,r,a,i)}catch(f){Promise.reject(f)}try{this.#o.onSettled?.(void 0,e.error,r,a,i)}catch(f){Promise.reject(f)}}}this.listeners.forEach((r)=>{r(this.#t)})})}};var oK=class extends bo{#e;constructor(e={}){super();this.config=e,this.#e=new Map}build(e,r,a){let i=r.queryKey,f=r.queryHash??VR(i,r),s=this.get(f);if(!s)s=new JG({client:e,queryKey:i,queryHash:f,options:e.defaultQueryOptions(r),state:a,defaultOptions:e.getQueryDefaults(i)}),this.add(s);return s}add(e){if(!this.#e.has(e.queryHash))this.#e.set(e.queryHash,e),this.notify({type:"added",query:e})}remove(e){let r=this.#e.get(e.queryHash);if(r){if(e.destroy(),r===e)this.#e.delete(e.queryHash);this.notify({type:"removed",query:e})}}clear(){Ht.batch(()=>{this.getAll().forEach((e)=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let r={exact:!0,...e};return this.getAll().find((a)=>BD(r,a))}findAll(e={}){let r=this.getAll();return Object.keys(e).length>0?r.filter((a)=>BD(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 Z3=class{#e;#t;#r;#o;#n;#a;#i;#s;constructor(e={}){this.#e=e.queryCache||new oK,this.#t=e.mutationCache||new rK,this.#r=e.defaultOptions||{},this.#o=new Map,this.#n=new Map,this.#a=0}mount(){if(this.#a++,this.#a!==1)return;this.#i=UL.subscribe(async(e)=>{if(e)await this.resumePausedMutations(),this.#e.onFocus()}),this.#s=qL.subscribe(async(e)=>{if(e)await this.resumePausedMutations(),this.#e.onOnline()})}unmount(){if(this.#a--,this.#a!==0)return;this.#i?.(),this.#i=void 0,this.#s?.(),this.#s=void 0}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){let r=this.defaultQueryOptions({queryKey:e});return this.#e.get(r.queryHash)?.state.data}ensureQueryData(e){let r=this.defaultQueryOptions(e),a=this.#e.build(this,r),i=a.state.data;if(i===void 0)return this.fetchQuery(e);if(e.revalidateIfStale&&a.isStaleByTime(ja(r.staleTime,a)))this.prefetchQuery(r);return Promise.resolve(i)}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:r,state:a})=>[r,a.data])}setQueryData(e,r,a){let i=this.defaultQueryOptions({queryKey:e}),f=this.#e.get(i.queryHash)?.state.data,s=FG(r,f);if(s===void 0)return;return this.#e.build(this,i).setData(s,{...a,manual:!0})}setQueriesData(e,r,a){return Ht.batch(()=>this.#e.findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,r,a)]))}getQueryState(e){let r=this.defaultQueryOptions({queryKey:e});return this.#e.get(r.queryHash)?.state}removeQueries(e){let r=this.#e;Ht.batch(()=>{r.findAll(e).forEach((a)=>{r.remove(a)})})}resetQueries(e,r){let a=this.#e;return Ht.batch(()=>{let i=a.findAll(e),f=new Set(i);return i.forEach((s)=>{s.reset()}),this.refetchQueries({type:"active",predicate:(s)=>f.has(s)},r)})}cancelQueries(e,r={}){let a={revert:!0,...r},i=Ht.batch(()=>this.#e.findAll(e).map((f)=>f.cancel(a)));return Promise.all(i).then(_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((f)=>!f.isDisabled()&&!f.isStatic()).map((f)=>{let s=f.fetch(void 0,a);if(!a.throwOnError)s=s.catch(_r);return f.state.fetchStatus==="paused"?Promise.resolve():s}));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(ja(r.staleTime,a))?await a.fetch(r):a.state.data,f=r.select;if(f)return f(i);return i}fetchQuery(e){let r=this.defaultQueryOptions(e);if(r.retry===void 0)r.retry=!1;let a=this.#e.build(this,r);return a.isStaleByTime(ja(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(qL.isOnline())return this.#t.resumePausedMutations();return Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#r}setDefaultOptions(e){this.#r=e}setQueryDefaults(e,r){this.#o.set(Ou(e),{queryKey:e,defaultOptions:r})}getQueryDefaults(e){let r=[...this.#o.values()],a={};return r.forEach((i)=>{if(hM(e,i.queryKey))Object.assign(a,i.defaultOptions)}),a}setMutationDefaults(e,r){this.#n.set(Ou(e),{mutationKey:e,defaultOptions:r})}getMutationDefaults(e){let r=[...this.#n.values()],a={};return r.forEach((i)=>{if(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=VR(r.queryKey,r);if(r.refetchOnReconnect===void 0)r.refetchOnReconnect=r.networkMode!=="always";if(r.throwOnError===void 0)r.throwOnError=!!r.suspense;if(!r.networkMode&&r.persister)r.networkMode="offlineFirst";if(r.queryFn===FL)r.enabled=!1;return r}defaultMutationOptions(e){if(e?._defaulted)return e;return{...this.#r.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}};var Uu=(e,r,a)=>{let i=a?.state.error&&typeof e.throwOnError==="function"?BL(e.throwOnError,[a.state.error,a]):e.throwOnError;if(e.suspense||i){if(!r.isReset())e.retryOnMount=!1}},zu=(e)=>{h(()=>{e.clearReset()},[e])},ju=({result:e,errorResetBoundary:r,throwOnError:a,query:i,suspense:f})=>e.isError&&!r.isReset()&&!e.isFetching&&i&&(f&&e.data===void 0||BL(a,[e.error,i]));var _m=(e,r)=>r.state.data===void 0,qu=(e)=>{if(e.suspense){let a=(f)=>f==="static"?f:Math.max(f??1000,1000),i=e.staleTime;if(e.staleTime=typeof i==="function"?(...f)=>a(i(...f)):a(i),typeof e.gcTime==="number")e.gcTime=Math.max(e.gcTime,1000)}},Cc=(e,r)=>e?.suspense&&r.isPending,Hu=(e,r,a)=>r.fetchOptimistic(e).catch(()=>{a.clearReset()});S();function al(e,r,a){let i=Zu(),f=Bu(),s=K(a),l=s.defaultQueryOptions(e),c=s.getQueryCache().get(l.queryHash),m=e.subscribed!==!1;l._optimisticResults=i?"isRestoring":m?"optimistic":void 0,qu(l),Uu(l,f,c),zu(f);let[g]=u(()=>new r(s,l)),M=g.getOptimisticResult(l),v=!i&&m;if(Yn(P((y)=>{let x=v?g.subscribe(Ht.batchCalls(y)):_r;return g.updateResult(),x},[g,v]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),h(()=>{g.setOptions(l)},[l,g]),Cc(l,M))throw Hu(l,g,f);if(ju({result:M,errorResetBoundary:f,throwOnError:l.throwOnError,query:c,suspense:l.suspense}))throw M.error;return!l.notifyOnChangeProps?g.trackResult(M):M}function Z(e,r){return al(e,Ko,r)}S();function B(e,r){let a=K(r),[i]=u(()=>new d3(a,e));h(()=>{i.setOptions(e)},[i,e]);let f=Yn(P((l)=>i.subscribe(Ht.batchCalls(l)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),s=P((...l)=>{i.mutate(l[0],l[1]).catch(_r)},[i]);if(f.error&&BL(i.options.throwOnError,[f.error]))throw f.error;return{...f,mutate:s,mutateAsync:f.mutate}}function ft(e,r){return al(e,c3,r)}S();var K8=at(void 0),aK=at(void 0);S();var GD=at(null);S();function Pa(e){return dt(GD)}var Hr=!1;function gM(e){return e[e.length-1]}function pye(e){return typeof e==="function"}function rs(e,r){if(pye(e))return e(r);return e}var lK=Object.prototype.hasOwnProperty,nK=Object.prototype.propertyIsEnumerable;function MM(e){for(let r in e)if(lK.call(e,r))return!0;return!1}var mye=()=>Object.create(null),vM=(e,r)=>Cs(e,r,mye);function Cs(e,r,a=()=>({}),i=0){if(Hr)return r;if(e===r)return e;if(i>500)return r;let f=r,s=KD(e)&&KD(f);if(!s&&!(HL(e)&&HL(f)))return f;let l=s?e:iK(e);if(!l)return f;let c=s?f:iK(f);if(!c)return f;let m=l.length,g=c.length,M=s?Array(g):a(),v=0;for(let y=0;y<g;y++){let x=s?y:c[y],_=e[x],j=f[x];if(_===j){if(M[x]=_,s?y<m:lK.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 iK(e){let r=Object.getOwnPropertyNames(e);for(let f of r)if(!nK.call(e,f))return!1;let a=Object.getOwnPropertySymbols(e);if(a.length===0)return r;let i=r;for(let f of a){if(!nK.call(e,f))return!1;i.push(f)}return i}function HL(e){if(!fK(e))return!1;let r=e.constructor;if(typeof r>"u")return!0;let a=r.prototype;if(!fK(a))return!1;if(!a.hasOwnProperty("isPrototypeOf"))return!1;return!0}function fK(e){return Object.prototype.toString.call(e)==="[object Object]"}function KD(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ec(e,r,a){if(e===r)return!0;if(typeof e!==typeof r)return!1;if(Array.isArray(e)&&Array.isArray(r)){if(e.length!==r.length)return!1;for(let i=0,f=e.length;i<f;i++)if(!ec(e[i],r[i],a))return!1;return!0}if(HL(e)&&HL(r)){let i=a?.ignoreUndefined??!0;if(a?.partial){for(let l in r)if(!i||r[l]!==void 0){if(!ec(e[l],r[l],a))return!1}return!0}let f=0;if(!i)f=Object.keys(e).length;else for(let l in e)if(e[l]!==void 0)f++;let s=0;for(let l in r)if(!i||r[l]!==void 0){if(s++,s>f||!ec(e[l],r[l],a))return!1}return f===s}return!1}function tu(e){let r,a,i=new Promise((f,s)=>{r=f,a=s});return i.status="pending",i.resolve=(f)=>{i.status="resolved",i.value=f,r(f),e?.(f)},i.reject=(f)=>{i.status="rejected",a(f)},i}function xM(e){return Boolean(e&&typeof e==="object"&&typeof e.then==="function")}function hye(e){return e.replace(/[\x00-\x1f\x7f]/g,"")}function sK(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 hye(r)}var XD=["http:","https:","mailto:","tel:"];function Nu(e,r){if(!e)return!1;try{let a=new URL(e);return!r.has(a.protocol)}catch{return!1}}function VL(e){if(!e)return{path:e,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(e)&&!e.startsWith("//"))return{path:e,handledProtocolRelativeURL:!1};let r=/%25|%5C/gi,a=0,i="",f;while((f=r.exec(e))!==null)i+=sK(e.slice(a,f.index))+f[0],a=r.lastIndex;i=i+sK(a?e.slice(a):e);let s=!1;if(i.startsWith("//"))s=!0,i="/"+i.replace(/^\/+/,"");return{path:i,handledProtocolRelativeURL:s}}function cK(e){if(!/\s|[^\u0000-\u007F]/.test(e))return e;return e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent)}function uK(e,r){if(e===r)return!0;if(e.length!==r.length)return!1;for(let a=0;a<e.length;a++)if(e[a]!==r[a])return!1;return!0}function ai(){throw Error("Invariant failed")}function yM(e){let r=new Map,a,i,f=(s)=>{if(!s.next)return;if(!s.prev){if(s.next.prev=void 0,a=s.next,s.next=void 0,i)s.prev=i,i.next=s}else if(s.prev.next=s.next,s.next.prev=s.prev,s.next=void 0,i)i.next=s,s.prev=i;i=s};return{get(s){let l=r.get(s);if(!l)return;return f(l),l.value},set(s,l){if(r.size>=e&&a){let m=a;if(r.delete(m.key),m.next)a=m.next,m.next.prev=void 0;if(m===i)i=void 0}let c=r.get(s);if(c)c.value=l,f(c);else{let m={key:s,value:l,prev:i};if(i)i.next=m;if(i=m,!a)a=m;r.set(s,m)}},clear(){r.clear(),a=void 0,i=void 0}}}var _M=4,ZK=5;function gye(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 h3(e,r,a=new Uint16Array(6)){let i=e.indexOf("/",r),f=i===-1?e.length:i,s=e.substring(r,f);if(!s||!s.includes("$"))return a[0]=0,a[1]=r,a[2]=r,a[3]=f,a[4]=f,a[5]=f,a;if(s==="$"){let c=e.length;return a[0]=2,a[1]=r,a[2]=r,a[3]=c,a[4]=c,a[5]=c,a}if(s.charCodeAt(0)===36)return a[0]=1,a[1]=r,a[2]=r+1,a[3]=f,a[4]=f,a[5]=f,a;let l=gye(s);if(l){let[c,m]=l,g=s.charCodeAt(c+1);if(g===45){if(c+2<s.length&&s.charCodeAt(c+2)===36){let M=c+3,v=m;if(M<v)return a[0]=3,a[1]=r+c,a[2]=r+M,a[3]=r+v,a[4]=r+m+1,a[5]=f,a}}else if(g===36){let M=c+1,v=c+2;if(v===m)return a[0]=2,a[1]=r+c,a[2]=r+M,a[3]=r+v,a[4]=r+m+1,a[5]=e.length,a;return a[0]=1,a[1]=r+c,a[2]=r+v,a[3]=r+m,a[4]=r+m+1,a[5]=f,a}}return a[0]=0,a[1]=r,a[2]=r,a[3]=f,a[4]=f,a[5]=f,a}function $D(e,r,a,i,f,s,l){l?.(a);let c=i;{let m=a.fullPath??a.from,g=m.length,M=a.options?.caseSensitive??e,v=a.options?.params?.parse??a.options?.parseParams;while(c<g){let x=h3(m,c,r),_,j=c,U=x[5];switch(c=U+1,s++,x[0]){case 0:{let T=m.substring(x[2],x[3]);if(M){let N=f.static?.get(T);if(N)_=N;else{f.static??=new Map;let G=X8(a.fullPath??a.from);G.parent=f,G.depth=s,_=G,f.static.set(T,G)}}else{let N=T.toLowerCase(),G=f.staticInsensitive?.get(N);if(G)_=G;else{f.staticInsensitive??=new Map;let X=X8(a.fullPath??a.from);X.parent=f,X.depth=s,_=X,f.staticInsensitive.set(N,X)}}break}case 1:{let T=m.substring(j,x[1]),N=m.substring(x[4],U),G=M&&!!(T||N),X=!T?void 0:G?T:T.toLowerCase(),J=!N?void 0:G?N:N.toLowerCase(),ee=!v&&f.dynamic?.find((re)=>!re.parse&&re.caseSensitive===G&&re.prefix===X&&re.suffix===J);if(ee)_=ee;else{let re=m3(1,a.fullPath??a.from,G,X,J);_=re,re.depth=s,re.parent=f,f.dynamic??=[],f.dynamic.push(re)}break}case 3:{let T=m.substring(j,x[1]),N=m.substring(x[4],U),G=M&&!!(T||N),X=!T?void 0:G?T:T.toLowerCase(),J=!N?void 0:G?N:N.toLowerCase(),ee=!v&&f.optional?.find((re)=>!re.parse&&re.caseSensitive===G&&re.prefix===X&&re.suffix===J);if(ee)_=ee;else{let re=m3(3,a.fullPath??a.from,G,X,J);_=re,re.parent=f,re.depth=s,f.optional??=[],f.optional.push(re)}break}case 2:{let T=m.substring(j,x[1]),N=m.substring(x[4],U),G=M&&!!(T||N),X=!T?void 0:G?T:T.toLowerCase(),J=!N?void 0:G?N:N.toLowerCase(),ee=m3(2,a.fullPath??a.from,G,X,J);_=ee,ee.parent=f,ee.depth=s,f.wildcard??=[],f.wildcard.push(ee)}}f=_}if(v&&a.children&&!a.isRoot&&a.id&&a.id.charCodeAt(a.id.lastIndexOf("/")+1)===95){let x=X8(a.fullPath??a.from);x.kind=ZK,x.parent=f,s++,x.depth=s,f.pathless??=[],f.pathless.push(x),f=x}let y=(a.path||!a.children)&&!a.isRoot;if(y&&m.endsWith("/")){let x=X8(a.fullPath??a.from);x.kind=_M,x.parent=f,s++,x.depth=s,f.index=x,f=x}if(f.parse=v??null,f.priority=a.options?.params?.priority??0,y&&!f.route)f.route=a,f.fullPath=a.fullPath??a.from}if(a.children)for(let m of a.children)$D(e,r,m,c,f,s,l)}function p3(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(p3);for(let r of e.dynamic)bM(r)}if(e.optional?.length){e.optional.sort(p3);for(let r of e.optional)bM(r)}if(e.wildcard?.length){e.wildcard.sort(p3);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 m3(e,r,a,i,f){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:r,parent:null,parse:null,priority:0,caseSensitive:a,prefix:i,suffix:f}}function pK(e,r){let a=X8("/"),i=new Uint16Array(6);for(let f of e)$D(!1,i,f,1,a,0);bM(a),r.masksTree=a,r.flatCache=yM(1000)}function mK(e,r){e||="/";let a=r.flatCache.get(e);if(a)return a;let i=g3(e,r.masksTree);return r.flatCache.set(e,i),i}function hK(e,r,a,i,f){e||="/",i||="/";let s=r?`case\x00${e}`:e,l=f.singleCache.get(s);if(!l)l=X8("/"),$D(r,new Uint16Array(6),{from:e},1,l,0),f.singleCache.set(s,l);return g3(i,l,a)}function gK(e,r,a=!1){let i=a?e:`nofuzz\x00${e}`,f=r.matchCache.get(i);if(f!==void 0)return f;e||="/";let s;try{s=g3(e,r.segmentTree,a)}catch(l){if(l instanceof URIError)s=null;else throw l}if(s)s.branch=M3(s.route);return r.matchCache.set(i,s),s}function Mye(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function MK(e,r=!1,a){let i=X8(e.fullPath),f=new Uint16Array(6),s={},l={},c=0;return $D(r,f,e,1,i,0,(m)=>{if(a?.(m,c),m.id in s)ai();if(s[m.id]=m,c!==0&&m.path){let g=Mye(m.fullPath);if(!l[g]||m.fullPath.endsWith("/"))l[g]=m}c++}),bM(i),{processedTree:{segmentTree:i,singleCache:yM(1000),matchCache:yM(1000),flatCache:null,masksTree:null},routesById:s,routesByPath:l}}function g3(e,r,a=!1){let i=e.split("/"),f=xye(e,i,r,a);if(!f)return null;let[s]=vK(e,i,f);return{route:f.node.route,rawParams:s}}function vK(e,r,a){let i=vye(a.node),f=null,s=Object.create(null),l=a.extract?.part??0,c=a.extract?.node??0,m=a.extract?.path??0,g=a.extract?.segment??0;for(;c<i.length;l++,c++,m++,g++){let M=i[c];if(M.kind===_M)break;if(M.kind===ZK){g--,l--,m--;continue}let v=r[l],y=m;if(v)m+=v.length;if(M.kind===1){f??=a.node.fullPath.split("/");let x=f[g],_=M.prefix?.length??0;if(x.charCodeAt(_)===123){let j=M.suffix?.length??0,U=x.substring(_+2,x.length-j-1),T=v.substring(_,v.length-j);s[U]=decodeURIComponent(T)}else{let j=x.substring(1);s[j]=decodeURIComponent(v)}}else if(M.kind===3){if(a.skipped&1<<c){l--,m=y-1;continue}f??=a.node.fullPath.split("/");let x=f[g],_=M.prefix?.length??0,j=M.suffix?.length??0,U=x.substring(_+3,x.length-j-1),T=M.suffix||M.prefix?v.substring(_,v.length-j):v;if(T)s[U]=decodeURIComponent(T)}else if(M.kind===2){let x=M,_=e.substring(y+(x.prefix?.length??0),e.length-(x.suffix?.length??0)),j=decodeURIComponent(_);s["*"]=j,s._splat=j;break}}if(a.rawParams)Object.assign(s,a.rawParams);return[s,{part:l,node:c,path:m,segment:g}]}function M3(e){let r=[e];while(e.parentRoute)e=e.parentRoute,r.push(e);return r.reverse(),r}function vye(e){let r=Array(e.depth+1);do r[e.depth]=e,e=e.parent;while(e);return r}function xye(e,r,a,i){if(e==="/"&&a.index)return{node:a.index,skipped:0};let f=!gM(r),s=f&&e!=="/",l=r.length-(f?1:0),c=[{node:a,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}],m=null,g=null;while(c.length){let M=c.pop(),{node:v,index:y,skipped:x,depth:_,statics:j,dynamics:U,optionals:T}=M,{extract:N,rawParams:G}=M;if(v.kind===2&&v.route&&!JD(g,M))continue;if(v.parse){if(!dK(e,r,M))continue;G=M.rawParams,N=M.extract}if(i&&v.route&&v.kind!==_M&&JD(m,M))m=M;let X=y===l;if(X){if(v.route&&(!s||v.kind===_M||v.kind===2)&&JD(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(!dK(e,r,re))oe=!1}if(oe){if(!U&&!T&&!x&&yye(j,l))return re;if(JD(g,re))g=re}}if(v.wildcard)for(let re=v.wildcard.length-1;re>=0;re--){let oe=v.wildcard[re],{prefix:ae,suffix:ye}=oe;if(ae){if(X)continue;if(!(oe.caseSensitive?J:ee??=J.toLowerCase()).startsWith(ae))continue}if(ye){if(X)continue;let We=r.slice(y).join("/").slice(-ye.length);if((oe.caseSensitive?We:We.toLowerCase())!==ye)continue}c.push({node:oe,index:l,skipped:x,depth:_+1,statics:j,dynamics:U,optionals:T,extract:N,rawParams:G})}if(v.optional){let re=x|1<<_,oe=_+1;for(let ae=v.optional.length-1;ae>=0;ae--){let ye=v.optional[ae];c.push({node:ye,index:y,skipped:re,depth:oe,statics:j,dynamics:U,optionals:T,extract:N,rawParams:G})}if(!X)for(let ae=v.optional.length-1;ae>=0;ae--){let ye=v.optional[ae],{prefix:We,suffix:Ye}=ye;if(We||Ye){let ze=ye.caseSensitive?J:ee??=J.toLowerCase();if(We&&!ze.startsWith(We))continue;if(Ye&&!ze.endsWith(Ye))continue}c.push({node:ye,index:y+1,skipped:x,depth:oe,statics:j,dynamics:U,optionals:T+QD(l,y),extract:N,rawParams:G})}}if(!X&&v.dynamic&&J)for(let re=v.dynamic.length-1;re>=0;re--){let oe=v.dynamic[re],{prefix:ae,suffix:ye}=oe;if(ae||ye){let We=oe.caseSensitive?J:ee??=J.toLowerCase();if(ae&&!We.startsWith(ae))continue;if(ye&&!We.endsWith(ye))continue}c.push({node:oe,index:y+1,skipped:x,depth:_+1,statics:j,dynamics:U+QD(l,y),optionals:T,extract:N,rawParams:G})}if(!X&&v.staticInsensitive){let re=v.staticInsensitive.get(ee??=J.toLowerCase());if(re)c.push({node:re,index:y+1,skipped:x,depth:_+1,statics:j+QD(l,y),dynamics:U,optionals:T,extract:N,rawParams:G})}if(!X&&v.static){let re=v.static.get(J);if(re)c.push({node:re,index:y+1,skipped:x,depth:_+1,statics:j+QD(l,y),dynamics:U,optionals:T,extract:N,rawParams:G})}if(v.pathless){let re=_+1;for(let oe=v.pathless.length-1;oe>=0;oe--){let ae=v.pathless[oe];c.push({node:ae,index:y,skipped:x,depth:re,statics:j,dynamics:U,optionals:T,extract:N,rawParams:G})}}}if(g)return g;if(i&&m){let M=m.index;for(let y=0;y<m.index;y++)M+=r[y].length;let v=M===e.length?"/":e.slice(M);return m.rawParams??=Object.create(null),m.rawParams["**"]=decodeURIComponent(v),m}return null}function QD(e,r){return 2**(e-r-1)}function yye(e,r){return e===2**(r-1)-1}function dK(e,r,a){let i,f;try{[i,f]=vK(e,r,a)}catch{return null}if(a.rawParams=i,a.extract=f,!a.node.parse)return!0;try{if(a.node.parse(i)===!1)return null}catch{}return!0}function JD(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 WL(e.filter((r)=>r!==void 0).join("/"))}function WL(e){return e.replace(/\/{2,}/g,"/")}function KR(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 GL(e){return Is(KR(e))}function wM(e,r){if(e?.endsWith("/")&&e!=="/"&&e!==`${r}/`)return e.slice(0,-1);return e}function eO(e,r,a){return wM(e,a)===wM(r,a)}function tO({base:e,to:r,trailingSlash:a="never",cache:i}){let f=r.startsWith("/"),s=!f&&r===".",l;if(i){l=f?r:s?e:e+"\x00"+r;let g=i.get(l);if(g)return g}let c;if(s)c=e.split("/");else if(f)c=r.split("/");else{c=e.split("/");while(c.length>1&&gM(c)==="")c.pop();let g=r.split("/");for(let M=0,v=g.length;M<v;M++){let y=g[M];if(y===""){if(!M)c=[y];else if(M===v-1)c.push(y)}else if(y==="..")c.pop();else if(y===".");else c.push(y)}}if(c.length>1){if(gM(c)===""){if(a==="never")c.pop()}else if(a==="always")c.push("")}let m=WL(c.join("/"))||"/";if(l&&i)i.set(l,m);return m}function yK(e){let r=new Map(e.map((f)=>[encodeURIComponent(f),f])),a=Array.from(r.keys()).map((f)=>f.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),i=new RegExp(a,"g");return(f)=>f.replace(i,(s)=>r.get(s)??s)}function GR(e,r,a){let i=r[e];if(typeof i!=="string")return i;if(e==="_splat"){if(/^[a-zA-Z0-9\-._~!/]*$/.test(i))return i;return i.split("/").map((f)=>xK(f,a)).join("/")}else return xK(i,a)}function XR({path:e,params:r,decoder:a,...i}){let f=!1,s=Object.create(null);if(!e||e==="/")return{interpolatedPath:"/",usedParams:s,isMissingParams:f};if(!e.includes("$"))return{interpolatedPath:e,usedParams:s,isMissingParams:f};if(Hr??i.server){if(e.indexOf("{")===-1){let M=e.length,v=0,y="";while(v<M){while(v<M&&e.charCodeAt(v)===47)v++;if(v>=M)break;let x=v,_=e.indexOf("/",v);if(_===-1)_=M;v=_;let j=e.substring(x,_);if(!j)continue;if(j.charCodeAt(0)===36)if(j.length===1){let U=r._splat;if(s._splat=U,s["*"]=U,!U){f=!0;continue}let T=GR("_splat",r,a);y+="/"+T}else{let U=j.substring(1);if(!f&&!(U in r))f=!0;s[U]=r[U];let T=GR(U,r,a)??"undefined";y+="/"+T}else y+="/"+j}if(e.endsWith("/"))y+="/";return{usedParams:s,interpolatedPath:y||"/",isMissingParams:f}}}let l=e.length,c=0,m,g="";while(c<l){let M=c;m=h3(e,M,m);let v=m[5];if(c=v+1,M===v)continue;let y=m[0];if(y===0){g+="/"+e.substring(M,v);continue}if(y===2){let x=r._splat;s._splat=x,s["*"]=x;let _=e.substring(M,m[1]),j=e.substring(m[4],v);if(!x){if(f=!0,_||j)g+="/"+_+j;continue}let U=GR("_splat",r,a);g+="/"+_+U+j;continue}if(y===1){let x=e.substring(m[2],m[3]);if(!f&&!(x in r))f=!0;s[x]=r[x];let _=e.substring(M,m[1]),j=e.substring(m[4],v),U=GR(x,r,a)??"undefined";g+="/"+_+U+j;continue}if(y===3){let x=e.substring(m[2],m[3]),_=r[x];if(_==null)continue;s[x]=_;let j=e.substring(M,m[1]),U=e.substring(m[4],v),T=GR(x,r,a)??"";g+="/"+j+T+U;continue}}if(e.endsWith("/"))g+="/";return{usedParams:s,interpolatedPath:g||"/",isMissingParams:f}}function xK(e,r){let a=encodeURIComponent(e);return r?.(a)??a}function Na(e){return e?.isNotFound===!0}function bK(e,r=String){let a=new URLSearchParams;for(let i in e){let f=e[i];if(f!==void 0)a.set(i,r(f))}return a.toString()}function v3(e){if(!e)return"";if(e==="false")return!1;if(e==="true")return!0;return+e*0===0&&+e+""===e?+e:e}function _K(e){let r=new URLSearchParams(e),a=Object.create(null);for(let[i,f]of r.entries()){let s=a[i];if(s==null)a[i]=v3(f);else if(Array.isArray(s))s.push(v3(f));else a[i]=[s,v3(f)]}return a}var x3=wK(JSON.parse),y3=zK(JSON.stringify,JSON.parse);function wK(e){return(r)=>{if(r[0]==="?")r=r.substring(1);let a=_K(r);for(let i in a){let f=a[i];if(typeof f==="string")try{a[i]=e(f)}catch(s){}}return a}}function zK(e,r){let a=typeof r==="function";function i(f){if(typeof f==="object"&&f!==null)try{return e(f)}catch(s){}else if(a&&typeof f==="string")try{return r(f),e(f)}catch(s){}return f}return(f)=>{let s=bK(f,i);return s?`?${s}`:""}}var os="__root__";function nl(e){if(e.statusCode=e.statusCode||e.code||307,!e._builtLocation&&!e.reloadDocument&&typeof e.href==="string")try{new URL(e.href),e.reloadDocument=!0}catch{}let r=new Headers(e.headers);if(e.href&&r.get("Location")===null)r.set("Location",e.href);let a=new Response(null,{status:e.statusCode,headers:r});if(a.options=e,e.throw)throw a;return a}function ii(e){return e instanceof Response&&!!e.options}function b3(e){return{input:({url:r})=>{for(let a of e)r=rO(a,r);return r},output:({url:r})=>{for(let a=e.length-1;a>=0;a--)r=_3(e[a],r);return r}}}function SK(e){let r=GL(e.basepath),a=`/${r}`,i=e.caseSensitive?a:a.toLowerCase(),f=`${i}/`;return{input:({url:s})=>{let l=e.caseSensitive?s.pathname:s.pathname.toLowerCase();if(l===i)s.pathname="/";else if(l.startsWith(f))s.pathname=s.pathname.slice(a.length);return s},output:({url:s})=>(s.pathname=zM(["/",r,s.pathname]),s)}}function rO(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 _3(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 S3(e){let r=e;return{get(){return r},set(a){r=rs(a,r)}}}function L3(e){return{get(){return e()}}}function LK(e,r){let{createMutableStore:a,createReadonlyStore:i,batch:f,init:s}=r,l=new Map,c=new Map,m=new Map,g=a(e.status),M=a(e.loadedAt),v=a(e.isLoading),y=a(e.isTransitioning),x=a(e.location),_=a(e.resolvedLocation),j=a(e.statusCode),U=a(e.redirect),T=a([]),N=a([]),G=a([]),X=i(()=>w3(l,T.get())),J=i(()=>w3(c,N.get())),ee=i(()=>w3(m,G.get())),re=i(()=>T.get()[0]),oe=i(()=>T.get().some((xt)=>l.get(xt)?.get().status==="pending")),ae=i(()=>({locationHref:x.get().href,resolvedLocationHref:_.get()?.href,status:g.get()})),ye=i(()=>({status:g.get(),loadedAt:M.get(),isLoading:v.get(),isTransitioning:y.get(),matches:X.get(),location:x.get(),resolvedLocation:_.get(),statusCode:j.get(),redirect:U.get()})),We=yM(64);function Ye(xt){let Dt=We.get(xt);if(!Dt)Dt=i(()=>{let jt=T.get();for(let de of jt){let yt=l.get(de);if(yt&&yt.routeId===xt)return yt.get()}}),We.set(xt,Dt);return Dt}let ze={status:g,loadedAt:M,isLoading:v,isTransitioning:y,location:x,resolvedLocation:_,statusCode:j,redirect:U,matchesId:T,pendingIds:N,cachedIds:G,matches:X,pendingMatches:J,cachedMatches:ee,firstId:re,hasPending:oe,matchRouteDeps:ae,matchStores:l,pendingMatchStores:c,cachedMatchStores:m,__store:ye,getRouteMatchStore:Ye,setMatches:qe,setPending:ut,setCached:$e};qe(e.matches),s?.(ze);function qe(xt){z3(xt,l,T,a,f)}function ut(xt){z3(xt,c,N,a,f)}function $e(xt){z3(xt,m,G,a,f)}return ze}function w3(e,r){let a=[];for(let i of r){let f=e.get(i);if(f)a.push(f.get())}return a}function z3(e,r,a,i,f){let s=e.map((c)=>c.id),l=new Set(s);f(()=>{for(let c of r.keys())if(!l.has(c))r.delete(c);for(let c of e){let m=r.get(c.id);if(!m){let g=i(c);g.routeId=c.routeId,r.set(c.id,g);continue}if(m.routeId=c.routeId,m.get()!==c)m.set(c)}if(!uK(a.get(),s))a.set(s)})}function bye(){try{return sessionStorage}catch{return}}var _ye="tsr-scroll-restoration-v1_3",IK=bye();function wye(){try{return JSON.parse(IK?.getItem("tsr-scroll-restoration-v1_3")||"{}")}catch{return{}}}function zye(){try{IK?.setItem(_ye,JSON.stringify(KL))}catch{}}var KL=wye(),kK="data-scroll-restoration-id",Sye=(e)=>e.state.__TSR_key||e.href;function Lye(e){let r=e.getAttribute(kK);if(r)return`[${kK}="${r}"]`;let a="",i=e,f;while(f=i.parentNode){let s=1,l=i;while(l=l.previousElementSibling)s++;let c=`${i.localName}:nth-child(${s})`;a=a?`${c} > ${a}`:c,i=f}return a}var oO=!1,XL="window";function k3(e){try{return typeof e==="function"?e():document.querySelector(e)}catch{}}function CK(e){let r=[];for(let a of e){if(a===XL)continue;let i=k3(a);if(i)r.push(i)}return r}function RK(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||Sye,i=new Map,f=(c,m,g)=>{let M=i.get(c)||{};M.scrollX=m,M.scrollY=g,i.set(c,M)};history.scrollRestoration="manual";let s=(c)=>{if(oO||!e.isScrollRestoring)return;if(c.target===document)f(XL,scrollX,scrollY);else{let m=c.target;f(m,m.scrollLeft,m.scrollTop)}},l=(c)=>{if(!e.isScrollRestoring)return;let m=KL[c]||={};for(let[g,M]of i)if(g===XL)m[XL]=M;else if(g.isConnected)m[Lye(g)]=M};document.addEventListener("scroll",s,!0),e.subscribe("onBeforeLoad",(c)=>{if(c.fromLocation)l(a(c.fromLocation));i.clear()}),addEventListener("pagehide",()=>{l(a(e.stores.resolvedLocation.get()??e.stores.location.get())),zye()}),e.subscribe("onRendered",(c)=>{let m=e.options.scrollRestorationBehavior,g=e.options.scrollToTopSelectors,M=e.resetNextScroll,v;if(i.clear(),!M)e.resetNextScroll=!0;if(typeof e.options.scrollRestoration==="function"&&!e.options.scrollRestoration({location:e.latestLocation}))return;let y=a(c.toLocation),x=c.fromLocation&&a(c.fromLocation);if(e.isScrollRestoring&&x&&x!==y){let _=KL[x];if(_){let j=KL[y];for(let U in _){if(U===XL){if(M)continue}else{let T=k3(U);if(!T)continue;if(M&&g){if(v??=CK(g),v.includes(T))continue}}if(!j)j=KL[y]={};j[U]??=_[U]}}}oO=!0;try{let _=c.toLocation.hash,j=c.toLocation.state.__hashScrollIntoViewOptions??!0,U=!1;if(M){let T=aO.get(c.toLocation),N=_&&j&&(T==="PUSH"||T==="REPLACE"),G=e.isScrollRestoring?KL[y]:void 0;if(G)for(let X in G){let{scrollX:J,scrollY:ee}=G[X];if(X===XL){if(N)continue;scrollTo({top:ee,left:J,behavior:m}),U=!0}else{let re=k3(X);if(re)re.scrollLeft=J,re.scrollTop=ee}}if(!U&&!_){let X={top:0,left:0,behavior:m};if(scrollTo(X),g){v??=CK(g);for(let J of v)J.scrollTo(X)}}}if(!U&&_&&j)document.getElementById(_)?.scrollIntoView(j)}finally{oO=!1}})}var C3=(e)=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},kye=(e)=>e.stores.matchesId.get().some((r)=>e.stores.matchStores.get(r)?.get()._forcePending),fO=(e,r)=>!!(e.preload&&!e.router.stores.matchStores.has(r)),Q8=(e,r,a=!0)=>{let i={...e.router.options.context??{}},f=a?r:r-1;for(let s=0;s<=f;s++){let l=e.matches[s];if(!l)continue;let c=e.router.getMatch(l.id);if(!c)continue;Object.assign(i,c.__routeContext,c.__beforeLoadContext)}return i},PK=(e,r)=>{if(!e.matches.length)return;let a=r.routeId,i=e.matches.findIndex((l)=>l.routeId===e.router.routeTree.id),f=i>=0?i:0,s=a?e.matches.findIndex((l)=>l.routeId===a):e.firstBadMatchIndex??e.matches.length-1;if(s<0)s=f;for(let l=s;l>=0;l--){let c=e.matches[l];if(e.router.looseRoutesById[c.routeId].options.notFoundComponent)return l}return a?s:f},SM=(e,r,a)=>{if(!ii(a)&&!Na(a))return;if(ii(a)&&a.redirectHandled&&!a.options.reloadDocument)throw a;if(r){if(r._nonReactive.beforeLoadPromise?.resolve(),r._nonReactive.loaderPromise?.resolve(),r._nonReactive.beforeLoadPromise=void 0,r._nonReactive.loaderPromise=void 0,r._nonReactive.error=a,e.updateMatch(r.id,(i)=>({...i,status:ii(a)?"redirected":Na(a)?"notFound":i.status==="pending"?"success":i.status,context:Q8(e,r.index),isFetching:!1,error:a})),Na(a)&&!a.routeId)a.routeId=r.routeId;r._nonReactive.loadPromise?.resolve()}if(ii(a))e.rendered=!0,a.options._fromLocation=e.location,a.redirectHandled=!0,a=e.router.resolveRedirect(a);throw a},EK=(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},TK=(e,r,a)=>{let i=Q8(e,a);e.updateMatch(r,(f)=>({...f,context:i}))},QR=(e,r,a)=>{let{id:i,routeId:f}=e.matches[r],s=e.router.looseRoutesById[f];if(a instanceof Promise)throw a;e.firstBadMatchIndex??=r,SM(e,e.router.getMatch(i),a);try{s.options.onError?.(a)}catch(l){a=l,SM(e,e.router.getMatch(i),a)}if(e.updateMatch(i,(l)=>(l._nonReactive.beforeLoadPromise?.resolve(),l._nonReactive.beforeLoadPromise=void 0,l._nonReactive.loadPromise?.resolve(),{...l,error:a,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!ii(a)&&!Na(a))e.serialError??=a},Cye=(e,r,a,i)=>{let f=e.router.getMatch(r),s=e.matches[a-1]?.id,l=s?e.router.getMatch(s):void 0;if(e.router.isShell()){f.ssr=i.id===os;return}if(l?.ssr===!1){f.ssr=!1;return}let c=(x)=>{if(x===!0&&l?.ssr==="data-only")return"data-only";return x},m=e.router.options.defaultSsr??!0;if(i.options.ssr===void 0){f.ssr=c(m);return}if(typeof i.options.ssr!=="function"){f.ssr=c(i.options.ssr);return}let{search:g,params:M}=f,v={search:nO(g,f.searchError),params:nO(M,f.paramsError),location:e.location,matches:e.matches.map((x)=>({index:x.index,pathname:x.pathname,fullPath:x.fullPath,staticData:x.staticData,id:x.id,routeId:x.routeId,search: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)=>{f.ssr=c(x??m)});f.ssr=c(y??m)},OK=(e,r,a,i)=>{if(i._nonReactive.pendingTimeout!==void 0)return;let f=a.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!(Hr??e.router.isServer)&&!fO(e,r)&&(a.options.loader||a.options.beforeLoad||R3(a))&&typeof f==="number"&&f!==1/0&&(a.options.pendingComponent??e.router.options?.defaultPendingComponent)){let s=setTimeout(()=>{C3(e)},f);i._nonReactive.pendingTimeout=s}},Iye=(e,r,a)=>{let i=e.router.getMatch(r);if(!i._nonReactive.beforeLoadPromise&&!i._nonReactive.loaderPromise)return;OK(e,r,a,i);let f=()=>{let s=e.router.getMatch(r);if(s.preload&&(s.status==="redirected"||s.status==="notFound"))SM(e,s,s.error)};return i._nonReactive.beforeLoadPromise?i._nonReactive.beforeLoadPromise.then(f):f()},Rye=(e,r,a,i)=>{let f=e.router.getMatch(r),s=f._nonReactive.loadPromise;f._nonReactive.loadPromise=tu(()=>{s?.resolve(),s=void 0});let{paramsError:l,searchError:c}=f;if(l)QR(e,a,l);if(c)QR(e,a,c);OK(e,r,i,f);let m=new AbortController,g=!1,M=()=>{if(g)return;g=!0,e.updateMatch(r,(X)=>({...X,isFetching:"beforeLoad",fetchCount:X.fetchCount+1,abortController:m}))},v=()=>{f._nonReactive.beforeLoadPromise?.resolve(),f._nonReactive.beforeLoadPromise=void 0,e.updateMatch(r,(X)=>({...X,isFetching:!1}))};if(!i.options.beforeLoad){e.router.batch(()=>{M(),v()});return}f._nonReactive.beforeLoadPromise=tu();let y={...Q8(e,a,!1),...f.__routeContext},{search:x,params:_,cause:j}=f,U=fO(e,r),T={search:x,abortController:m,params:_,preload:U,context:y,location:e.location,navigate:(X)=>e.router.navigate({...X,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:U?"preload":j,matches:e.matches,routeId:i.id,...e.router.options.additionalContext},N=(X)=>{if(X===void 0){e.router.batch(()=>{M(),v()});return}if(ii(X)||Na(X))M(),QR(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)=>{QR(e,a,X)}).then(N)}catch(X){M(),QR(e,a,X)}N(G)},Pye=(e,r)=>{let{id:a,routeId:i}=e.matches[r],f=e.router.looseRoutesById[i],s=()=>{if(Hr??e.router.isServer){let m=Cye(e,a,r,f);if(xM(m))return m.then(c)}return c()},l=()=>Rye(e,a,r,f),c=()=>{if(EK(e,a))return;let m=Iye(e,a,f);return xM(m)?m.then(l):l()};return s()},Tye=(e,r,a)=>{let i=e.router.getMatch(r);if(!i)return;if(!a.options.head&&!a.options.scripts&&!a.options.headers)return;let f={ssr:e.router.options.ssr,matches:e.matches,match:i,params:i.params,loaderData:i.loaderData};return Promise.all([a.options.head?.(f),a.options.scripts?.(f),a.options.headers?.(f)]).then(([s,l,c])=>({meta:s?.meta,links:s?.links,headScripts:s?.scripts,headers:c,scripts:l,styles:s?.styles}))},jK=(e,r,a,i,f)=>{let s=r[i-1],{params:l,loaderDeps:c,abortController:m,cause:g}=e.router.getMatch(a),M=Q8(e,i),v=fO(e,a);return{params:l,deps:c,preload:!!v,parentMatchPromise:s,abortController:m,context:M,location:e.location,navigate:(y)=>e.router.navigate({...y,_fromLocation:e.location}),cause:v?"preload":g,route:f,...e.router.options.additionalContext}},AK=async(e,r,a,i,f)=>{try{let s=e.router.getMatch(a);try{if(!(Hr??e.router.isServer)||s.ssr===!0)QL(f);let l=f.options.loader,c=typeof l==="function"?l:l?.handler,m=c?.(jK(e,r,a,i,f)),g=!!c&&xM(m);if(g||f._lazyPromise||f._componentsPromise||f.options.head||f.options.scripts||f.options.headers||s._nonReactive.minPendingPromise)e.updateMatch(a,(v)=>({...v,isFetching:"loader"}));if(c){let v=g?await m:m;if(SM(e,e.router.getMatch(a),v),v!==void 0)e.updateMatch(a,(y)=>({...y,loaderData:v}))}if(f._lazyPromise)await f._lazyPromise;let M=s._nonReactive.minPendingPromise;if(M)await M;if(f._componentsPromise)await f._componentsPromise;e.updateMatch(a,(v)=>({...v,error:void 0,context:Q8(e,i),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(l){let c=l;if(c?.name==="AbortError"){if(s.abortController.signal.aborted){s._nonReactive.loaderPromise?.resolve(),s._nonReactive.loaderPromise=void 0;return}e.updateMatch(a,(g)=>({...g,status:g.status==="pending"?"success":g.status,isFetching:!1,context:Q8(e,i)}));return}let m=s._nonReactive.minPendingPromise;if(m)await m;if(Na(l))await f.options.notFoundComponent?.preload?.();SM(e,e.router.getMatch(a),l);try{f.options.onError?.(l)}catch(g){c=g,SM(e,e.router.getMatch(a),g)}if(!ii(c)&&!Na(c))await QL(f,["errorComponent"]);e.updateMatch(a,(g)=>({...g,error:c,context:Q8(e,i),status:"error",isFetching:!1}))}}catch(s){let l=e.router.getMatch(a);if(l)l._nonReactive.loaderPromise=void 0;SM(e,l,s)}},Aye=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(jK(e,r,f,a,T)):X,{status:ee,invalid:re}=U,oe=N>=G&&(!!e.forceStaleReload||U.cause==="enter"||j!==void 0&&j!==U.id);if(l=ee==="success"&&(re||(J??oe)),x&&T.options.preload===!1);else if(l&&!e.sync&&M)c=!0,(async()=>{try{await AK(e,r,f,a,T);let ae=e.router.getMatch(f);ae._nonReactive.loaderPromise?.resolve(),ae._nonReactive.loadPromise?.resolve(),ae._nonReactive.loaderPromise=void 0,ae._nonReactive.loadPromise=void 0}catch(ae){if(ii(ae))await e.router.navigate(ae.options)}})();else if(ee!=="success"||l)await AK(e,r,f,a,T);else TK(e,f,a)}let{id:f,routeId:s}=e.matches[a],l=!1,c=!1,m=e.router.looseRoutesById[s],g=m.options.loader,M=((typeof g==="function"?void 0:g?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!=="blocking";if(EK(e,f)){if(!e.router.getMatch(f))return e.matches[a];if(TK(e,f,a),Hr??e.router.isServer)return e.router.getMatch(f)}else{let x=e.router.getMatch(f),_=e.router.stores.matchesId.get()[a],j=(_&&e.router.stores.matchStores.get(_)||null)?.routeId===s?_:e.router.stores.matches.get().find((T)=>T.routeId===s)?.id,U=fO(e,f);if(x._nonReactive.loaderPromise){if(x.status==="success"&&!e.sync&&!x.preload&&M)return x;await x._nonReactive.loaderPromise;let T=e.router.getMatch(f),N=T._nonReactive.error||T.error;if(N)SM(e,T,N);if(T.status==="pending")await i(U,x,j,T,m)}else{let T=U&&!e.router.stores.matchStores.has(f),N=e.router.getMatch(f);if(N._nonReactive.loaderPromise=tu(),T!==N.preload)e.updateMatch(f,(G)=>({...G,preload:T}));await i(U,x,j,N,m)}}let v=e.router.getMatch(f);if(!c)v._nonReactive.loaderPromise?.resolve(),v._nonReactive.loadPromise?.resolve(),v._nonReactive.loadPromise=void 0;if(clearTimeout(v._nonReactive.pendingTimeout),v._nonReactive.pendingTimeout=void 0,!c)v._nonReactive.loaderPromise=void 0;v._nonReactive.dehydrated=void 0;let y=c?v.isFetching:!1;if(y!==v.isFetching||v.invalid!==!1)return e.updateMatch(f,(x)=>({...x,isFetching:y,invalid:!1})),e.router.getMatch(f);else return v};async function I3(e){let r=e,a=[];if(!(Hr??r.router.isServer)&&kye(r.router))C3(r);let i;for(let y=0;y<r.matches.length;y++){try{let x=Pye(r,y);if(xM(x))await x}catch(x){if(ii(x))throw x;if(Na(x))i=x;else if(!r.preload)throw x;break}if(r.serialError||r.firstBadMatchIndex!=null)break}let f=r.firstBadMatchIndex??r.matches.length,s=i&&!r.preload?PK(r,i):void 0,l=i&&r.preload?0:s!==void 0?Math.min(s+1,f):f,c,m;for(let y=0;y<l;y++)a.push(Aye(r,a,y));try{await Promise.all(a)}catch{let y=await Promise.allSettled(a);for(let x of y){if(x.status!=="rejected")continue;let _=x.reason;if(ii(_))throw _;if(Na(_))c??=_;else m??=_}if(m!==void 0)throw m}let g=c??(i&&!r.preload?i:void 0),M=r.firstBadMatchIndex!==void 0?r.firstBadMatchIndex:r.matches.length-1;if(!g&&i&&r.preload)return r.matches;if(g){let y=PK(r,g);if(y===void 0)ai();let x=r.matches[y],_=r.router.looseRoutesById[x.routeId],j=r.router.options?.defaultNotFoundComponent;if(!_.options.notFoundComponent&&j)_.options.notFoundComponent=j;g.routeId=x.routeId;let U=x.routeId===r.router.routeTree.id;r.updateMatch(x.id,(T)=>({...T,...U?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:g},isFetching:!1})),M=y,await QL(_,["notFoundComponent"])}else if(!r.preload){let y=r.matches[0];if(!y.globalNotFound){if(r.router.getMatch(y.id)?.globalNotFound)r.updateMatch(y.id,(x)=>({...x,globalNotFound:!1,error:void 0}))}}if(r.serialError&&r.firstBadMatchIndex!==void 0){let y=r.router.looseRoutesById[r.matches[r.firstBadMatchIndex].routeId];await QL(y,["errorComponent"])}for(let y=0;y<=M;y++){let{id:x,routeId:_}=r.matches[y],j=r.router.looseRoutesById[_];try{let U=Tye(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=C3(r);if(xM(v))await v;if(g)throw g;if(r.serialError&&!r.preload&&!r.onReady)throw r.serialError;return r.matches}function DK(e,r){let a=r.map((i)=>e.options[i]?.preload?.()).filter(Boolean);if(a.length===0)return;return Promise.all(a)}function QL(e,r=iO){if(!e._lazyLoaded&&e._lazyPromise===void 0)if(e.lazyFn)e._lazyPromise=e.lazyFn().then((i)=>{let{id:f,...s}=i.options;Object.assign(e.options,s),e._lazyLoaded=!0,e._lazyPromise=void 0});else e._lazyLoaded=!0;let a=()=>e._componentsLoaded?void 0:r===iO?(()=>{if(e._componentsPromise===void 0){let i=DK(e,iO);if(i)e._componentsPromise=i.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0});else e._componentsLoaded=!0}return e._componentsPromise})():DK(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 R3(e){for(let r of iO)if(e.options[r]?.preload)return!0;return!1}var iO=["component","errorComponent","pendingComponent","notFoundComponent"];var LM="__TSR_index",NK="popstate",FK="beforeunload";function Dye(e){let r=e.getLocation(),a=new Set,i=(l)=>{r=e.getLocation(),a.forEach((c)=>c({location:r,action:l}))},f=(l)=>{if(e.notifyOnIndexChange??!0)i(l);else r=e.getLocation()},s=async({task:l,navigateOpts:c,...m})=>{if(c?.ignoreBlocker??!1){l();return}let g=e.getBlockers?.()??[],M=m.type==="PUSH"||m.type==="REPLACE";if(typeof document<"u"&&g.length&&M)for(let v of g){let y=JR(m.path,m.state);if(await v.blockerFn({currentLocation:r,nextLocation:y,action:m.type})){e.onBlocked?.();return}}l()};return{get location(){return r},get length(){return e.getLength()},subscribers:a,subscribe:(l)=>(a.add(l),()=>{a.delete(l)}),push:(l,c,m)=>{let g=r.state[LM];c=BK(g+1,c),s({task:()=>{e.pushState(l,c),i({type:"PUSH"})},navigateOpts:m,type:"PUSH",path:l,state:c})},replace:(l,c,m)=>{let g=r.state[LM];c=BK(g,c),s({task:()=>{e.replaceState(l,c),i({type:"REPLACE"})},navigateOpts:m,type:"REPLACE",path:l,state:c})},go:(l,c)=>{s({task:()=>{e.go(l),f({type:"GO",index:l})},navigateOpts:c,type:"GO"})},back:(l)=>{s({task:()=>{e.back(l?.ignoreBlocker??!1),f({type:"BACK"})},navigateOpts:l,type:"BACK"})},forward:(l)=>{s({task:()=>{e.forward(l?.ignoreBlocker??!1),f({type:"FORWARD"})},navigateOpts:l,type:"FORWARD"})},canGoBack:()=>r.state[LM]!==0,createHref:(l)=>e.createHref(l),block:(l)=>{if(!e.setBlockers)return()=>{};let c=e.getBlockers?.()??[];return e.setBlockers([...c,l]),()=>{let m=e.getBlockers?.()??[];e.setBlockers?.(m.filter((g)=>g!==l))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:i}}function BK(e,r){if(!r)r={};let a=P3();return{...r,key:a,__TSR_key:a,[LM]:e}}function YK(e){let r=e?.window??(typeof document<"u"?window:void 0),a=r.history.pushState,i=r.history.replaceState,f=[],s=()=>f,l=(oe)=>f=oe,c=e?.createHref??((oe)=>oe),m=e?.parseLocation??(()=>JR(`${r.location.pathname}${r.location.search}${r.location.hash}`,r.history.state));if(!r.history.state?.__TSR_key&&!r.history.state?.key){let oe=P3();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,ae,ye)=>{let We=c(ae);if(!T)M=g;if(g=JR(ae,ye),U={href:We,state:ye,isPush:U?.isPush||oe==="push"},!T)T=Promise.resolve().then(()=>N())},X=(oe)=>{g=m(),re.notify({type:oe})},J=async()=>{if(y){y=!1;return}let oe=m(),ae=oe.state[LM]-g.state[LM],ye=ae===1,We=ae===-1,Ye=!ye&&!We||v;v=!1;let ze=Ye?"GO":We?"BACK":"FORWARD",qe=Ye?{type:"GO",index:ae}:{type:We?"BACK":"FORWARD"};if(x)x=!1;else{let ut=s();if(typeof document<"u"&&ut.length){for(let $e of ut)if(await $e.blockerFn({currentLocation:g,nextLocation:oe,action:ze})){y=!0,r.history.go(1),re.notify(qe);return}}}g=m(),re.notify(qe)},ee=(oe)=>{if(_){_=!1;return}let ae=!1,ye=s();if(typeof document<"u"&&ye.length)for(let We of ye){let Ye=We.enableBeforeUnload??!0;if(Ye===!0){ae=!0;break}if(typeof Ye==="function"&&Ye()===!0){ae=!0;break}}if(ae)return oe.preventDefault(),oe.returnValue=""},re=Dye({getLocation:j,getLength:()=>r.history.length,pushState:(oe,ae)=>G("push",oe,ae),replaceState:(oe,ae)=>G("replace",oe,ae),back:(oe)=>{if(oe)x=!0;return _=!0,r.history.back()},forward:(oe)=>{if(oe)x=!0;_=!0,r.history.forward()},go:(oe)=>{v=!0,r.history.go(oe)},createHref:(oe)=>c(oe),flush:N,destroy:()=>{r.history.pushState=a,r.history.replaceState=i,r.removeEventListener(FK,ee,{capture:!0}),r.removeEventListener(NK,J)},onBlocked:()=>{if(M&&g!==M)g=M},getBlockers:s,setBlockers:l,notifyOnIndexChange:!1});return r.addEventListener(FK,ee,{capture:!0}),r.addEventListener(NK,J),r.history.pushState=function(...oe){let ae=a.apply(r.history,oe);if(!re._ignoreSubscribers)X("PUSH");return ae},r.history.replaceState=function(...oe){let ae=i.apply(r.history,oe);if(!re._ignoreSubscribers)X("REPLACE");return ae},re}function Eye(e){let r=e.replace(/[\x00-\x1f\x7f]/g,"");if(r.startsWith("//"))r="/"+r.replace(/^\/+/,"");return r}function JR(e,r){let a=Eye(e),i=a.indexOf("#"),f=a.indexOf("?"),s=P3();return{href:a,pathname:a.substring(0,i>0?f>0?Math.min(i,f):i:f>0?f:a.length),hash:i>-1?a.substring(i):"",search:f>-1?a.slice(f,i===-1?void 0:i):"",state:r||{[LM]:0,key:s,__TSR_key:s}}}function P3(){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 aO=new WeakMap,T3=class{constructor(e,r){if(this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.routeBranchCache=new WeakMap,this.startTransition=(a)=>a(),this.update=(a)=>{let i=this.options,f=this.basepath??i?.basepath??"/",s=this.basepath===void 0,l=i?.rewrite;if(this.options={...i,...a},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters)this.pathParamsDecoder=yK(this.options.pathParamsAllowedCharacters);if(!this.history||this.options.history&&this.options.history!==this.history)if(!this.options.history){if(!(Hr??this.isServer))this.history=YK()}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=LK(HK(this.latestLocation),M),!(Hr??this.isServer))RK(this)}let c=!1,m=this.options.basepath??"/",g=this.options.rewrite;if(s||f!==m||l!==g){this.basepath=m;let M=[],v=GL(m);if(v&&v!=="/")M.push(SK({basepath:m}));if(g)M.push(g);if(this.rewrite=M.length===0?void 0:M.length===1?M[0]:b3(M),this.history)this.updateLatestLocation();c=!0}if(c&&this.stores)this.stores.location.set(this.latestLocation);if(typeof window<"u"&&"CSS"in window&&typeof window.CSS?.supports==="function")this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a))")},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{let a=MK(this.routeTree,this.options.caseSensitive,(i,f)=>{i.init({originalIndex:f})});if(this.options.routeMasks)pK(this.options.routeMasks,a.processedTree);return a},this.subscribe=(a,i)=>{let f={eventType:a,fn:i};return this.subscribers.add(f),()=>{this.subscribers.delete(f)}},this.emit=(a)=>{this.subscribers.forEach((i)=>{if(i.eventType===a.type)i.fn(a)})},this.parseLocation=(a,i)=>{let f=({pathname:m,search:g,hash:M,href:v,state:y})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(m)){let T=this.options.parseSearch(g),N=this.options.stringifySearch(T);return{href:m+N+M,publicHref:m+N+M,pathname:VL(m).path,external:!1,searchStr:N,search:vM(i?.search,T),hash:VL(M.slice(1)).path,state:Cs(i?.state,y)}}let x=new URL(v,this.origin),_=rO(this.rewrite,x),j=this.options.parseSearch(_.search),U=this.options.stringifySearch(j);return _.search=U,{href:_.href.replace(_.origin,""),publicHref:v,pathname:VL(_.pathname).path,external:!!this.rewrite&&_.origin!==this.origin,searchStr:U,search:vM(i?.search,j),hash:VL(_.hash.slice(1)).path,state:Cs(i?.state,y)}},s=f(a),{__tempLocation:l,__tempKey:c}=s.state;if(l&&(!c||c===this.tempLocationKey)){let m=f(l);return m.state.key=s.state.key,m.state.__TSR_key=s.state.__TSR_key,delete m.state.__tempLocation,{...m,maskedLocation:s}}return s},this.resolvePathWithBase=(a,i)=>tO({base:a,to:i.includes("//")?WL(i):i,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(a,i,f)=>{if(typeof a==="string")return this.matchRoutesInternal({pathname:a,search:i},f);return this.matchRoutesInternal(a,i)},this.getMatchedRoutes=(a)=>VK({pathname:a,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=(a)=>{let i=this.getMatch(a);if(!i)return;i.abortController.abort(),clearTimeout(i._nonReactive.pendingTimeout),i._nonReactive.pendingTimeout=void 0},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach((a)=>{this.cancelMatch(a)}),this.stores.matchesId.get().forEach((a)=>{if(this.stores.pendingMatchStores.has(a))return;let i=this.stores.matchStores.get(a)?.get();if(!i)return;if(i.status==="pending"||i.isFetching==="loader")this.cancelMatch(a)})},this.buildLocation=(a)=>{let i=(s={})=>{let l=s._fromLocation||this.pendingBuiltLocation||this.latestLocation,c=this.matchRoutesLightweight(l);s.from;let m=s.unsafeRelative==="path"?l.pathname:s.from??c.fullPath,g=s.to?`${s.to}`:void 0,M=c.search,v=Object.assign(Object.create(null),c.params),y=g?.charCodeAt(0)===47?"/":this.resolvePathWithBase(m,"."),x=g?this.resolvePathWithBase(y,g):y,_=s.params===!1||s.params===null?Object.create(null):(s.params??!0)===!0?v:Object.assign(v,rs(s.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:VL(XR({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,sO(Ye.options.validateSearch,{...We,...N}))}catch{}}),N=We}N=Oye({search:N,dest:s,destRoutes:U,_includeValidateSearch:a._includeValidateSearch}),N=vM(M,N);let G=this.options.stringifySearch(N),X=s.hash===!0?l.hash:s.hash?rs(s.hash,l.hash):void 0,J=X?`#${X}`:"",ee=s.state===!0?l.state:s.state?rs(s.state,l.state):{};ee=Cs(l.state,ee);let re=`${T}${G}${J}`,oe,ae,ye=!1;if(this.rewrite){let We=new URL(re,this.origin),Ye=_3(this.rewrite,We);if(oe=We.href.replace(We.origin,""),Ye.origin!==this.origin)ae=Ye.href,ye=!0;else ae=Ye.pathname+Ye.search+Ye.hash}else oe=cK(re),ae=oe;return{publicHref:ae,href:oe,pathname:T,search:N,searchStr:G,state:ee,hash:X??"",external:ye,unmaskOnReload:s.unmaskOnReload}},f=(s={},l)=>{let c=i(s),m=l?i(l):void 0;if(!m){let g=Object.create(null);if(this.options.routeMasks){let M=mK(c.pathname,this.processedTree);if(M){Object.assign(g,M.rawParams);let{from:v,params:y,...x}=M.route,_=y===!1||y===null?Object.create(null):(y??!0)===!0?g:Object.assign(g,rs(y,g));l={from:a.from,...x,params:_},m=i(l)}}}if(m)c.maskedLocation=m;return c};if(a.mask)return f(a,{from:a.from,...a.mask});return f(a)},this.commitLocation=async({viewTransition:a,ignoreBlocker:i,...f})=>{let s,l=()=>{let g=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];g.forEach((v)=>{f.state[v]=this.latestLocation.state[v]});let M=ec(f.state,this.latestLocation.state);return g.forEach((v)=>{delete f.state[v]}),M},c=Is(this.latestLocation.href)===Is(f.href),m=this.commitLocationPromise;if(this.commitLocationPromise=tu(()=>{m?.resolve(),m=void 0}),c&&l())this.load();else{let{maskedLocation:g,hashScrollIntoView:M,...v}=f;if(g){if(v={...g,state:{...g.state,__tempKey:void 0,__tempLocation:{...v,search:v.searchStr,state:{...v.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},v.unmaskOnReload??this.options.unmaskOnReload??!1)v.state.__tempKey=this.tempLocationKey}v.state.__hashScrollIntoViewOptions=M??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=a,s=f.replace?"REPLACE":"PUSH",this.history[s==="REPLACE"?"replace":"push"](v.publicHref,v.state,{ignoreBlocker:i})}if(this.resetNextScroll=f.resetScroll??!0,!this.history.subscribers.size)this.load(s?{action:{type:s}}:void 0);return this.commitLocationPromise},this.buildAndCommitLocation=({replace:a,resetScroll:i,hashScrollIntoView:f,viewTransition:s,ignoreBlocker:l,href:c,...m}={})=>{if(c){let v=this.history.location.state.__TSR_index,y=JR(c,{__TSR_index:a?v:v+1}),x=new URL(y.pathname,this.origin);m.to=rO(this.rewrite,x).pathname,m.search=this.options.parseSearch(y.search),m.hash=y.hash.slice(1)}let g=this.buildLocation({...m,_includeValidateSearch:!0});this.pendingBuiltLocation=g;let M=this.commitLocation({...g,viewTransition:s,replace:a,resetScroll:i,hashScrollIntoView:f,ignoreBlocker:l});return Promise.resolve().then(()=>{if(this.pendingBuiltLocation===g)this.pendingBuiltLocation=void 0}),M},this.navigate=async({to:a,reloadDocument:i,href:f,publicHref:s,...l})=>{let c=!1;if(f)try{new URL(`${f}`),c=!0}catch{}if(c&&!i)i=!0;if(i){if(a!==void 0||!f){let g=this.buildLocation({to:a,...l});f=f??g.publicHref,s=s??g.publicHref}let m=!c&&s?s:f;if(Nu(m,this.protocolAllowlist))return Promise.resolve();if(!l.ignoreBlocker){let g=this.history.getBlockers?.()??[];for(let M of g)if(M?.blockerFn){if(await M.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return Promise.resolve()}}if(l.replace)window.location.replace(m);else window.location.href=m;return Promise.resolve()}return this.buildAndCommitLocation({...l,href:f,to:a,_isNavigate:!0})},this.beforeLoad=()=>{if(this.cancelMatches(),this.updateLatestLocation(),Hr??this.isServer){let f=this.buildLocation({to:this.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(this.latestLocation.publicHref!==f.publicHref){let s=this.getParsedLocationHref(f);if(f.external)throw nl({href:s});else throw nl({href:s,_builtLocation:f})}}let a=this.matchRoutes(this.latestLocation),i=this.stores.cachedMatches.get().filter((f)=>!a.some((s)=>s.id===f.id));this.batch(()=>{this.stores.status.set("pending"),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(a),this.stores.setCached(i)})},this.load=async(a)=>{let i=a?.action?.type,f,s,l,c=this.stores.resolvedLocation.get()??this.stores.location.get();l=new Promise((g)=>{this.startTransition(async()=>{try{if(this.beforeLoad(),i)aO.set(this.latestLocation,i);else aO.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 I3({router:this,sync:a?.sync,forceStaleReload:c.href===M.href,matches:this.stores.pendingMatches.get(),location:M,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let y=null,x=null,_=null,j=null;this.batch(()=>{let U=this.stores.pendingMatches.get(),T=U.length,N=this.stores.matches.get();y=T?N.filter((J)=>!this.stores.pendingMatchStores.has(J.id)):null;let G=new Set;for(let J of this.stores.pendingMatchStores.values())if(J.routeId)G.add(J.routeId);let X=new Set;for(let J of this.stores.matchStores.values())if(J.routeId)X.add(J.routeId);if(x=T?N.filter((J)=>!G.has(J.routeId)):null,_=T?U.filter((J)=>!X.has(J.routeId)):null,j=T?U.filter((J)=>X.has(J.routeId)):N,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),T)this.stores.setMatches(U),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...y.filter((J)=>J.status!=="error"&&J.status!=="notFound"&&J.status!=="redirected")]),this.clearExpiredCache()});for(let[U,T]of[[x,"onLeave"],[_,"onEnter"],[j,"onStay"]]){if(!U)continue;for(let N of U)this.looseRoutesById[N.routeId].options[T]?.(N)}})})}})}catch(M){if(ii(M)){if(f=M,!(Hr??this.isServer))this.navigate({...f.options,replace:!0,ignoreBlocker:!0})}else if(Na(M))s=M;let v=f?f.status:s?404:this.stores.matches.get().some((y)=>y.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(v),this.stores.redirect.set(f)})}if(this.latestLoadPromise===l)this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0;g()})}),this.latestLoadPromise=l,await l;while(this.latestLoadPromise&&l!==this.latestLoadPromise)await this.latestLoadPromise;let m=void 0;if(this.hasNotFoundMatch())m=404;else if(this.stores.matches.get().some((g)=>g.status==="error"))m=500;if(m!==void 0)this.stores.statusCode.set(m)},this.startViewTransition=(a)=>{let i=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,i&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition==="function"){let f;if(typeof i==="object"&&this.isViewTransitionTypesSupported){let s=this.latestLocation,l=this.stores.resolvedLocation.get(),c=typeof i.types==="function"?i.types(LZ(s,l)):i.types;if(c===!1){a();return}f={update:a,types:c}}else f=a;document.startViewTransition(f)}else a()},this.updateMatch=(a,i)=>{this.startTransition(()=>{let f=this.stores.pendingMatchStores.get(a);if(f){f.set(i);return}let s=this.stores.matchStores.get(a);if(s){s.set(i);return}let l=this.stores.cachedMatchStores.get(a);if(l){let c=i(l.get());if(c.status==="redirected"){if(this.stores.cachedMatchStores.delete(a))this.stores.cachedIds.set((m)=>m.filter((g)=>g!==a))}else l.set(c)}})},this.getMatch=(a)=>this.stores.cachedMatchStores.get(a)?.get()??this.stores.pendingMatchStores.get(a)?.get()??this.stores.matchStores.get(a)?.get(),this.invalidate=(a)=>{let i=(f)=>{if(a?.filter?.(f)??!0)return{...f,invalid:!0,...a?.forcePending||f.status==="error"||f.status==="notFound"?{status:"pending",error:void 0}:void 0};return f};return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(i)),this.stores.setCached(this.stores.cachedMatches.get().map(i)),this.stores.setPending(this.stores.pendingMatches.get().map(i))}),this.shouldViewTransition=!1,this.load({sync:a?.sync})},this.getParsedLocationHref=(a)=>a.publicHref||"/",this.resolveRedirect=(a)=>{let i=a.headers.get("Location");if(!a.options.href||a.options._builtLocation){let f=a.options._builtLocation??this.buildLocation(a.options),s=this.getParsedLocationHref(f);a.options.href=s,a.headers.set("Location",s)}else if(i)try{let f=new URL(i);if(this.origin&&f.origin===this.origin){let s=f.pathname+f.search+f.hash;a.options.href=s,a.headers.set("Location",s)}}catch{}if(a.options.href&&!a.options._builtLocation&&Nu(a.options.href,this.protocolAllowlist))throw Error("Redirect blocked: unsafe protocol");if(!a.headers.get("Location"))a.headers.set("Location",a.options.href);return a},this.clearCache=(a)=>{let i=a?.filter;if(i!==void 0)this.stores.setCached(this.stores.cachedMatches.get().filter((f)=>!i(f)));else this.stores.setCached([])},this.clearExpiredCache=()=>{let a=Date.now(),i=(f)=>{let s=this.looseRoutesById[f.routeId];if(!s.options.loader)return!0;let l=(f.preload?s.options.preloadGcTime??this.options.defaultPreloadGcTime:s.options.gcTime??this.options.defaultGcTime)??300000;if(f.status==="error")return!0;return a-f.updatedAt>=l};this.clearCache({filter:i})},this.loadRouteChunk=QL,this.preloadRoute=async(a)=>{let i=a._builtLocation??this.buildLocation(a),f=this.matchRoutes(i,{throwOnError:!0,preload:!0,dest:a}),s=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),l=new Set([...s,...this.stores.cachedIds.get()]),c=f.filter((m)=>!l.has(m.id));if(c.length){let m=this.stores.cachedMatches.get();this.stores.setCached([...m,...c])}try{return f=await I3({router:this,matches:f,location:i,preload:!0,updateMatch:(m,g)=>{if(s.has(m))f=f.map((M)=>M.id===m?g(M):M);else this.updateMatch(m,g)}}),f}catch(m){if(ii(m)){if(m.options.reloadDocument)return;return await this.preloadRoute({...m.options,_fromLocation:i})}if(!Na(m))console.error(m);return}},this.matchRoute=(a,i)=>{let f={...a,to:a.to?this.resolvePathWithBase(a.from||"",a.to):void 0,params:a.params||{},leaveParams:!0},s=this.buildLocation(f);if(i?.pending&&this.stores.status.get()!=="pending")return!1;let l=(i?.pending===void 0?!this.stores.isLoading.get():i.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),c=hK(s.pathname,i?.caseSensitive??!1,i?.fuzzy??!1,l.pathname,this.processedTree);if(!c)return!1;if(a.params){if(!ec(c.rawParams,a.params,{partial:!0}))return!1}if(i?.includeSearch??!0)return ec(l.search,s.search,{partial:!0})?c.rawParams:!1;return c.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some((a)=>a.status==="notFound"||a.globalNotFound),this.getStoreConfig=r,this.update({defaultPreloadDelay:50,defaultPendingMs:1000,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??"fuzzy",stringifySearch:e.stringifySearch??y3,parseSearch:e.parseSearch??x3,protocolAllowlist:e.protocolAllowlist??XD}),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=M3(e),this.routeBranchCache.set(e,r);return r}get looseRoutesById(){return this.routesById}getParentContext(e){return!e?.id?this.options.context??void 0:e.context??this.options.context??void 0}matchRoutesInternal(e,r){let a=this.getMatchedRoutes(e.pathname),{foundRoute:i,routeParams:f}=a,{matchedRoutes:s}=a,l=!1;if(i?i.path!=="/"&&f["**"]:Is(e.pathname))if(this.options.notFoundRoute)s=[...s,this.options.notFoundRoute];else l=!0;let c=l?Nye(this.options.notFoundMode,s):void 0,m=Array(s.length),g=new Map;for(let M of this.stores.matchStores.values())if(M.routeId)g.set(M.routeId,M.get());for(let M=0;M<s.length;M++){let v=s[M],y=m[M-1],x,_,j;{let Ye=y?.search??e.search,ze=y?._strictSearch??void 0;try{let qe=sO(v.options.validateSearch,{...Ye})??void 0;x={...Ye,...qe},_={...ze,...qe},j=void 0}catch(qe){let ut=qe;if(!(qe instanceof JL))ut=new JL(qe.message,{cause:qe});if(r?.throwOnError)throw ut;x=Ye,_={},j=ut}}let U=v.options.loaderDeps?.({search:x})??"",T=U?JSON.stringify(U):"",{interpolatedPath:N,usedParams:G}=XR({path:v.fullPath,params:f,decoder:this.pathParamsDecoder,server:this.isServer}),X=v.id+N+T,J=this.getMatch(X),ee=g.get(v.id),re=J?._strictParams??G,oe=void 0;if(!J)try{UK(v,re)}catch(Ye){if(Na(Ye)||ii(Ye))oe=Ye;else oe=new qK(Ye.message,{cause:Ye});if(r?.throwOnError)throw oe}Object.assign(f,re);let ae=ee?"stay":"enter",ye;if(J)ye={...J,cause:ae,params:ee?.params??f,_strictParams:re,search:ee?vM(ee.search,x):vM(J.search,x),_strictSearch:_};else{let Ye=v.options.loader||v.options.beforeLoad||v.lazyFn||R3(v)?"pending":"success";ye={id:X,ssr:Hr??this.isServer?void 0:v.options.ssr,index:M,routeId:v.id,params:ee?.params??f,_strictParams:re,pathname:N,updatedAt:Date.now(),search:ee?vM(ee.search,x):x,_strictSearch:_,searchError:void 0,status:Ye,isFetching:!1,error:void 0,paramsError:oe,__routeContext:void 0,_nonReactive:{loadPromise:tu()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:ae,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=c===v.id;ye.searchError=j;let We=this.getParentContext(y);ye.context={...We,...ye.__routeContext,...ye.__beforeLoadContext},m[M]=ye}for(let M=0;M<m.length;M++){let v=m[M],y=this.looseRoutesById[v.routeId],x=this.getMatch(v.id),_=g.get(v.routeId);if(v.params=_?vM(_.params,f):f,!x){let j=m[M-1],U=this.getParentContext(j);if(y.options.context){let T={deps:v.loaderDeps,params:v.params,context:U??{},location:e,navigate:(N)=>this.navigate({...N,_fromLocation:e}),buildLocation:this.buildLocation,cause:v.cause,abortController:v.abortController,preload:!!v.preload,matches:m,routeId:y.id};v.__routeContext=y.options.context(T)??void 0}v.context={...U,...v.__routeContext,...v.__beforeLoadContext}}}return m}matchRoutesLightweight(e){let{matchedRoutes:r,routeParams:a}=this.getMatchedRoutes(e.pathname),i=gM(r),f={...e.search};for(let g of r)try{Object.assign(f,sO(g.options.validateSearch,f))}catch{}let s=gM(this.stores.matchesId.get()),l=s&&this.stores.matchStores.get(s)?.get(),c=l&&l.routeId===i.id&&l.pathname===e.pathname,m;if(c)m=l.params;else{let g=Object.assign(Object.create(null),a);for(let M of r)try{UK(M,g)}catch{}m=g}return{matchedRoutes:r,fullPath:i.fullPath,search:f,params:m}}},JL=class extends Error{},qK=class extends Error{};function HK(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function sO(e,r){if(e==null)return{};if("~standard"in e){let a=e["~standard"].validate(r);if(a instanceof Promise)throw new JL("Async validation not supported");if(a.issues)throw new JL(JSON.stringify(a.issues,void 0,2),{cause:a});return a.value}if("parse"in e)return e.parse(r);if(typeof e==="function")return e(r);return{}}function VK({pathname:e,routesById:r,processedTree:a}){let i=Object.create(null),f=Is(e),s=void 0,l=gK(f,a,!0);if(l)s=l.route,Object.assign(i,l.rawParams);return{matchedRoutes:l?.branch||[r.__root__],routeParams:i,foundRoute:s}}function Oye({search:e,dest:r,destRoutes:a,_includeValidateSearch:i}){return jye(a)(e,r,i??!1)}function jye(e){let r={dest:null,_includeValidateSearch:!1,middlewares:[]};for(let f of e){if("search"in f.options){if(f.options.search?.middlewares)r.middlewares.push(...f.options.search.middlewares)}else if(f.options.preSearchFilters||f.options.postSearchFilters){let s=({search:l,next:c})=>{let m=l;if("preSearchFilters"in f.options&&f.options.preSearchFilters)m=f.options.preSearchFilters.reduce((M,v)=>v(M),l);let g=c(m);if("postSearchFilters"in f.options&&f.options.postSearchFilters)return f.options.postSearchFilters.reduce((M,v)=>v(M),g);return g};r.middlewares.push(s)}if(f.options.validateSearch){let s=({search:l,next:c})=>{let m=c(l);if(!r._includeValidateSearch)return m;try{return{...m,...sO(f.options.validateSearch,m)??void 0}}catch{return m}};r.middlewares.push(s)}}let a=({search:f})=>{let s=r.dest;if(!s.search)return{};if(s.search===!0)return f;return rs(s.search,f)};r.middlewares.push(a);let i=(f,s,l)=>{if(f>=l.length)return s;let c=l[f];return c({search:s,next:(g)=>i(f+1,g,l)})};return function(s,l,c){return r.dest=l,r._includeValidateSearch=c,i(0,s,r.middlewares)}}function Nye(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 UK(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 A3="Error preloading route! ☝️";var lO=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)ai();let f=i?os:a?.path;if(f&&f!=="/")f=KR(f);let s=a?.id||f,l=i?os:zM([this.parentRoute.id==="__root__"?"":this.parentRoute.id,s]);if(f==="__root__")f="/";if(l!=="__root__")l=zM(["/",l]);let c=l==="__root__"?"/":zM([this.parentRoute.fullPath,f]);this._path=f,this._id=l,this._fullPath=c,this._to=Is(c)},this.addChildren=(r)=>this._addFileChildren(r),this._addFileChildren=(r)=>{if(Array.isArray(r))this.children=r;if(typeof r==="object"&&r!==null)this.children=Object.values(r);return this},this._addFileTypes=()=>this,this.updateLoader=(r)=>(Object.assign(this.options,r),this),this.update=(r)=>(Object.assign(this.options,r),this),this.lazy=(r)=>(this.lazyFn=r,this),this.redirect=(r)=>nl({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 D3=class extends lO{constructor(e){super(e)}};S();var Fa=((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))(Fa||{});function GK({update:e,notify:r,unwatched:a}){return{link:i,unlink:f,propagate:s,checkDirty:l,shallowPropagate:c};function i(g,M,v){let y=M.depsTail;if(y!==void 0&&y.dep===g)return;let x=y!==void 0?y.nextDep:M.deps;if(x!==void 0&&x.dep===g){x.version=v,M.depsTail=x;return}let _=g.subsTail;if(_!==void 0&&_.version===v&&_.sub===M)return;let j=M.depsTail=g.subsTail={version:v,dep:g,sub:M,prevDep:y,nextDep:x,prevSub:_,nextSub:void 0};if(x!==void 0)x.prevDep=j;if(y!==void 0)y.nextDep=j;else M.deps=j;if(_!==void 0)_.nextSub=j;else g.subs=j}function f(g,M=g.sub){let{dep:v,prevDep:y,nextDep:x,nextSub:_,prevSub:j}=g;if(x!==void 0)x.prevDep=y;else M.depsTail=y;if(y!==void 0)y.nextDep=x;else M.deps=x;if(_!==void 0)_.prevSub=j;else v.subsTail=j;if(j!==void 0)j.nextSub=_;else if((v.subs=_)===void 0)a(v);return x}function s(g){let M=g.nextSub,v;e:do{let y=g.sub,x=y.flags;if(!(x&60))y.flags=x|32;else if(!(x&12))x=0;else if(!(x&4))y.flags=x&-9|32;else if(!(x&48)&&m(g,y))y.flags=x|40,x&=1;else x=0;if(x&2)r(y);if(x&1){let _=y.subs;if(_!==void 0){let j=(g=_).nextSub;if(j!==void 0)v={value:M,prev:v},M=j;continue}}if((g=M)!==void 0){M=g.nextSub;continue}while(v!==void 0)if(g=v.value,v=v.prev,g!==void 0){M=g.nextSub;continue e}break}while(!0)}function l(g,M){let v,y=0,x=!1;e:do{let _=g.dep,j=_.flags;if(M.flags&16)x=!0;else if((j&17)===17){if(e(_)){let U=_.subs;if(U.nextSub!==void 0)c(U);x=!0}}else if((j&33)===33){if(g.nextSub!==void 0||g.prevSub!==void 0)v={value:g,prev:v};g=_.deps,M=_,++y;continue}if(!x){let U=g.nextDep;if(U!==void 0){g=U;continue}}while(y--){let U=M.subs,T=U.nextSub!==void 0;if(T)g=v.value,v=v.prev;else g=U;if(x){if(e(M)){if(T)c(U);M=g.sub;continue}x=!1}else M.flags&=-33;M=g.sub;let N=g.nextDep;if(N!==void 0){g=N;continue e}}return x}while(!0)}function c(g){do{let M=g.sub,v=M.flags;if((v&48)===32){if(M.flags=v|16,(v&6)===2)r(M)}}while((g=g.nextSub)!==void 0)}function m(g,M){let v=M.depsTail;while(v!==void 0){if(v===g)return!0;v=v.prevDep}return!1}}function QK(e,r,a){let i=typeof e==="object",f=i?e:void 0;return{next:(i?e.next:e)?.bind(f),error:(i?e.error:r)?.bind(f),complete:(i?e.complete:a)?.bind(f)}}var E3=[],uO=0,{link:KK,unlink:Yye,propagate:Uye,checkDirty:JK,shallowPropagate:XK}=GK({update(e){return e._update()},notify(e){E3[O3++]=e,e.flags&=~Fa.Watching},unwatched(e){if(e.depsTail!==void 0)e.depsTail=void 0,e.flags=Fa.Mutable|Fa.Dirty,dO(e)}}),cO=0,O3=0,Fu,j3=0;function $R(e){try{++j3,e()}finally{if(!--j3)N3()}}function dO(e){let r=e.depsTail,a=r!==void 0?r.nextDep:e.deps;while(a!==void 0)a=Yye(a,e)}function N3(){if(j3>0)return;while(cO<O3){let e=E3[cO];E3[cO++]=void 0,e.notify()}cO=0,O3=0}function ZO(e,r){let a=typeof e==="function",i=e,f={_snapshot:a?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:a?Fa.None:Fa.Mutable,get(){if(Fu!==void 0)KK(f,Fu,uO);return f._snapshot},subscribe(s){let l=QK(s),c={current:!1},m=qye(()=>{if(f.get(),!c.current)c.current=!0;else l.next?.(f._snapshot)});return{unsubscribe:()=>{m.stop()}}},_update(s){let l=Fu,c=r?.compare??Object.is;if(a)Fu=f,++uO,f.depsTail=void 0;else if(s===void 0)return!1;if(a)f.flags=Fa.Mutable|Fa.RecursedCheck;try{let m=f._snapshot,g=typeof s==="function"?s(m):s===void 0&&a?i(m):s;if(m===void 0||!c(m,g))return f._snapshot=g,!0;return!1}finally{if(Fu=l,a)f.flags&=~Fa.RecursedCheck;dO(f)}}};if(a)f.flags=Fa.Mutable|Fa.Dirty,f.get=function(){let s=f.flags;if(s&Fa.Dirty||s&Fa.Pending&&JK(f.deps,f)){if(f._update()){let l=f.subs;if(l!==void 0)XK(l)}}else if(s&Fa.Pending)f.flags=s&~Fa.Pending;if(Fu!==void 0)KK(f,Fu,uO);return f._snapshot};else f.set=function(s){if(f._update(s)){let l=f.subs;if(l!==void 0)Uye(l),XK(l),N3()}};return f}function qye(e){let r=()=>{let i=Fu;Fu=a,++uO,a.depsTail=void 0,a.flags=Fa.Watching|Fa.RecursedCheck;try{return e()}finally{Fu=i,a.flags&=~Fa.RecursedCheck,dO(a)}},a={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:Fa.Watching|Fa.RecursedCheck,notify(){let i=this.flags;if(i&Fa.Dirty||i&Fa.Pending&&JK(this.deps,this))r();else this.flags=Fa.Watching},stop(){this.flags=Fa.None,this.depsTail=void 0,dO(this)}};return r(),a}S();S();var rbe=$K();function obe(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var abe=typeof Object.is==="function"?Object.is:obe,nbe=rbe.useSyncExternalStore,ibe=b,fbe=h,sbe=D,lbe=la;var Ic=function(e,r,a,i,f){var s=ibe(null);if(s.current===null){var l={hasValue:!1,value:null};s.current=l}else l=s.current;s=sbe(function(){function m(x){if(!g){if(g=!0,M=x,x=i(x),f!==void 0&&l.hasValue){var _=l.value;if(f(_,x))return v=_}return v=x}if(_=v,abe(M,x))return _;var j=i(x);if(f!==void 0&&f(_,j))return M=x,_;return M=x,v=j}var g=!1,M,v,y=a===void 0?null:a;return[function(){return m(r())},y===null?void 0:function(){return m(y())}]},[r,a,i,f]);var c=nbe(e,s[0],s[1]);return fbe(function(){l.hasValue=!0,l.value=c},[c]),lbe(c),c};function cbe(e,r){return e===r}function vn(e,r,a=cbe){let i=P((l)=>{if(!e)return()=>{};let{unsubscribe:c}=e.subscribe(l);return c},[e]),f=P(()=>e?.get(),[e]);return Ic(i,f,f,r,a)}var ube={get:()=>{return},subscribe:()=>({unsubscribe:()=>{}})};function Zi(e){let r=Pa(),a=dt(e.from?aK:K8),i=e.from??a,f=i?e.from?r.stores.getRouteMatchStore(i):r.stores.matchStores.get(i):void 0;if(Hr??r.isServer){let l=f?.get();if((e.shouldThrow??!0)&&!l)ai();if(l===void 0)return;return e.select?e.select(l):l}let s=b(void 0);return vn(f??ube,(l)=>{if((e.shouldThrow??!0)&&!l)ai();if(l===void 0)return;let c=e.select?e.select(l):l;if(e.structuralSharing??r.options.defaultStructuralSharing){let m=Cs(s.current,c);return s.current=m,m}return c})}function sl(e){return Zi({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:(r)=>{let a=e.strict===!1?r.params:r._strictParams;return e.select?e.select(a):a}})}S();var J8=typeof window<"u"?He:h;function pO(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 eX(e,r,a={},i={}){h(()=>{if(!e.current||i.disabled||typeof IntersectionObserver!=="function")return;let f=new IntersectionObserver(([s])=>{r(s)},a);return f.observe(e.current),()=>{f.disconnect()}},[r,a,i.disabled,e])}function tX(e){let r=b(null);return dn(e,()=>r.current,[]),r}S();function Me(e){let r=Pa();return P((a)=>r.navigate({...a,from:a.from??e?.from}),[e?.from,r])}S();function rX({children:e,fallback:r=null}){return B3()?t(Cn,{children:e}):t(Cn,{children:r})}function B3(){return Yn(dbe,()=>!0,()=>!1)}function dbe(){return()=>{}}S();function aX(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(aX)}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 eP={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},Zbe=Symbol.for("react.portal");function pbe(e,r,a){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Zbe,key:i==null?null:""+i,children:e,containerInfo:r,implementation:a}}var Y3=Ga;var U3=eP,Qa=function(e,r){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)throw Error(oX(299));return pbe(e,r,null,a)},tn=function(e){var r=Y3.T,a=eP.p;try{if(Y3.T=null,eP.p=2,e)return e()}finally{Y3.T=r,eP.p=a,eP.d.f()}};aX();function cX(e,r){let a=Pa(),i=tX(r),f=Hr??a.isServer,{activeProps:s,inactiveProps:l,activeOptions:c,to:m,preload:g,preloadDelay:M,preloadIntentProximity:v,hashScrollIntoView:y,replace:x,startTransition:_,resetScroll:j,viewTransition:U,children:T,target:N,disabled:G,style:X,className:J,onClick:ee,onBlur:re,onFocus:oe,onMouseEnter:ae,onMouseLeave:ye,onTouchStart:We,ignoreBlocker:Ye,params:ze,search:qe,hash:ut,state:$e,mask:xt,reloadDocument:Dt,unsafeRelative:jt,from:de,_fromLocation:yt,...Wt}=e;if(f){let Ke=lX(m);if(typeof m==="string"&&!Ke&&m.indexOf(":")>-1)try{if(new URL(m),Nu(m,a.protocolAllowlist))return{...Wt,ref:i,href:void 0,...T&&{children:T},...N&&{target:N},...G&&{disabled:G},...X&&{style:X},...J&&{className:J}};return{...Wt,ref:i,href:m,...T&&{children:T},...N&&{target:N},...G&&{disabled:G},...X&&{style:X},...J&&{className:J}}}catch{}let Ct=a.buildLocation({...e,from:e.from}),pr=sX(Ct.maskedLocation?Ct.maskedLocation.publicHref:Ct.publicHref,Ct.maskedLocation?Ct.maskedLocation.external:Ct.external,a.history,G),Fr=(()=>{if(pr?.external){if(Nu(pr.href,a.protocolAllowlist))return;return pr.href}if(Ke)return;if(typeof m==="string"&&m.indexOf(":")>-1)try{if(new URL(m),Nu(m,a.protocolAllowlist))return;return m}catch{}})(),ao=(()=>{if(Fr)return!1;let Ee=a.stores.location.get(),Zt=c?.exact??!1;if(Zt){if(!eO(Ee.pathname,Ct.pathname,a.basepath))return!1}else{let zt=wM(Ee.pathname,a.basepath),Ot=wM(Ct.pathname,a.basepath);if(!(zt.startsWith(Ot)&&(zt.length===Ot.length||zt[Ot.length]==="/")))return!1}if(c?.includeSearch??!0){if(Ee.search!==Ct.search){let zt=!Ee.search||typeof Ee.search==="object"&&!MM(Ee.search),Ot=!Ct.search||typeof Ct.search==="object"&&!MM(Ct.search);if(!(zt&&Ot)){if(!ec(Ee.search,Ct.search,{partial:!Zt,ignoreUndefined:!c?.explicitUndefined}))return!1}}}if(c?.includeHash)return!1;return!0})();if(Fr)return{...Wt,ref:i,href:Fr,...T&&{children:T},...N&&{target:N},...G&&{disabled:G},...X&&{style:X},...J&&{className:J}};let Vo=ao?rs(s,{})??nX:ek,Ra=ao?ek:rs(l,{})??ek,Se=(()=>{let Ee=X,Zt=Vo.style,zt=Ra.style;if(!Ee&&!Zt&&!zt)return;if(Ee&&!Zt&&!zt)return Ee;if(!Ee&&Zt&&!zt)return Zt;if(!Ee&&!Zt&&zt)return zt;return{...Ee,...Zt,...zt}})(),Pe=(()=>{let Ee=J,Zt=Vo.className,zt=Ra.className;if(!Ee&&!Zt&&!zt)return"";let Ot="";if(Ee)Ot=Ee;if(Zt)Ot=Ot?`${Ot} ${Zt}`:Zt;if(zt)Ot=Ot?`${Ot} ${zt}`:zt;return Ot})();return{...Wt,...Vo,...Ra,href:pr?.href,ref:i,disabled:!!G,target:N,...Se&&{style:Se},...Pe&&{className:Pe},...G&&iX,...ao&&fX}}let De=B3(),fr=D(()=>e,[a,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),sr=vn(a.stores.location,(Ke)=>Ke,(Ke,Ct)=>Ke.href===Ct.href),rr=D(()=>{let Ke={_fromLocation:sr,...fr};return a.buildLocation(Ke)},[a,sr,fr]),Or=rr.maskedLocation?rr.maskedLocation.publicHref:rr.publicHref,Gt=rr.maskedLocation?rr.maskedLocation.external:rr.external,Kt=D(()=>sX(Or,Gt,a.history,G),[G,Gt,Or,a.history]),Rr=D(()=>{if(Kt?.external){if(Nu(Kt.href,a.protocolAllowlist))return;return Kt.href}if(lX(m))return;if(typeof m!=="string"||m.indexOf(":")===-1)return;try{if(new URL(m),Nu(m,a.protocolAllowlist))return;return m}catch{}},[m,Kt,a.protocolAllowlist]),Lr=D(()=>{if(Rr)return!1;if(c?.exact){if(!eO(sr.pathname,rr.pathname,a.basepath))return!1}else{let Ke=wM(sr.pathname,a.basepath),Ct=wM(rr.pathname,a.basepath);if(!(Ke.startsWith(Ct)&&(Ke.length===Ct.length||Ke[Ct.length]==="/")))return!1}if(c?.includeSearch??!0){if(!ec(sr.search,rr.search,{partial:!c?.exact,ignoreUndefined:!c?.explicitUndefined}))return!1}if(c?.includeHash)return De&&sr.hash===rr.hash;return!0},[c?.exact,c?.explicitUndefined,c?.includeHash,c?.includeSearch,sr,Rr,De,rr.hash,rr.pathname,rr.search,a.basepath]),Tr=Lr?rs(s,{})??nX:ek,dr=Lr?ek:rs(l,{})??ek,uo=[J,Tr.className,dr.className].filter(Boolean).join(" "),lo=(X||Tr.style||dr.style)&&{...X,...Tr.style,...dr.style},[sa,cr]=u(!1),io=b(!1),Yr=e.reloadDocument||Rr?!1:g??a.options.defaultPreload,jo=M??a.options.defaultPreloadDelay??0,an=P(()=>{a.preloadRoute({...fr,_builtLocation:rr}).catch((Ke)=>{console.warn(Ke),console.warn(A3)})},[a,fr,rr]);eX(i,P((Ke)=>{if(Ke?.isIntersecting)an()},[an]),hbe,{disabled:!!G||Yr!=="viewport"}),h(()=>{if(io.current)return;if(!G&&Yr==="render")an(),io.current=!0},[G,an,Yr]);let Ho=(Ke)=>{let Ct=Ke.currentTarget.getAttribute("target"),pr=N!==void 0?N:Ct;if(!G&&!gbe(Ke)&&!Ke.defaultPrevented&&(!pr||pr==="_self")&&Ke.button===0){Ke.preventDefault(),tn(()=>{cr(!0)});let Fr=a.subscribe("onResolved",()=>{Fr(),cr(!1)});a.navigate({...fr,replace:x,resetScroll:j,hashScrollIntoView:y,startTransition:_,viewTransition:U,ignoreBlocker:Ye})}};if(Rr)return{...Wt,ref:i,href:Rr,...T&&{children:T},...N&&{target:N},...G&&{disabled:G},...X&&{style:X},...J&&{className:J},...ee&&{onClick:ee},...re&&{onBlur:re},...oe&&{onFocus:oe},...ae&&{onMouseEnter:ae},...ye&&{onMouseLeave:ye},...We&&{onTouchStart:We}};let Dn=(Ke)=>{if(G||Yr!=="intent")return;if(!jo){an();return}let Ct=Ke.currentTarget;if(tP.has(Ct))return;let pr=setTimeout(()=>{tP.delete(Ct),an()},jo);tP.set(Ct,pr)},sn=(Ke)=>{if(G||Yr!=="intent")return;an()},Vi=(Ke)=>{if(G||!Yr||!jo)return;let Ct=Ke.currentTarget,pr=tP.get(Ct);if(pr)clearTimeout(pr),tP.delete(Ct)};return{...Wt,...Tr,...dr,href:Kt?.href,ref:i,onClick:tk([ee,Ho]),onBlur:tk([re,Vi]),onFocus:tk([oe,Dn]),onMouseEnter:tk([ae,Dn]),onMouseLeave:tk([ye,Vi]),onTouchStart:tk([We,sn]),disabled:!!G,target:N,...lo&&{style:lo},...uo&&{className:uo},...G&&iX,...Lr&&fX,...De&&sa&&mbe}}var ek={},nX={className:"active"},iX={role:"link","aria-disabled":!0},fX={"data-status":"active","aria-current":"page"},mbe={"data-transitioning":"transitioning"},tP=new WeakMap,hbe={rootMargin:"100px"},tk=(e)=>(r)=>{for(let a of e){if(!a)continue;if(r.defaultPrevented)return;a(r)}};function sX(e,r,a,i){if(i)return;if(r)return{href:e,external:!0};return{href:a.createHref(e)||"/",external:!1}}function lX(e){if(typeof e!=="string")return!1;let r=e.charCodeAt(0);if(r===47)return e.charCodeAt(1)!==47;return r===46}var Un=O((e,r)=>{let{_asChild:a,...i}=e,{type:f,...s}=cX(i,r),l=typeof i.children==="function"?i.children({isActive:s["data-status"]==="active"}):i.children;if(!a){let{disabled:c,...m}=s;return q("a",m,l)}return q(a,s,l)});function gbe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function rP(e){return Zi({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:(r)=>e.select?e.select(r.loaderData):r.loaderData})}function oP(e){let{select:r,...a}=e;return Zi({...a,select:(i)=>r?r(i.loaderDeps):i.loaderDeps})}function aP(e){return Zi({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:(r)=>e.select?e.select(r.search):r.search})}function nP(e){return Zi({...e,select:(r)=>e.select?e.select(r.context):r.context})}S();var uX=class extends lO{constructor(e){super(e);this.useMatch=(r)=>Zi({select:r?.select,from:this.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>nP({...r,from:this.id}),this.useSearch=(r)=>aP({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useParams=(r)=>sl({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useLoaderDeps=(r)=>oP({...r,from:this.id}),this.useLoaderData=(r)=>rP({...r,from:this.id}),this.useNavigate=()=>Me({from:this.fullPath}),this.Link=O((r,a)=>t(Un,{ref:a,from:this.fullPath,...r}))}};function q3(e){return new uX(e)}function H3(){return(e)=>ZX(e)}var dX=class extends D3{constructor(e){super(e);this.useMatch=(r)=>Zi({select:r?.select,from:this.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>nP({...r,from:this.id}),this.useSearch=(r)=>aP({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useParams=(r)=>sl({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useLoaderDeps=(r)=>oP({...r,from:this.id}),this.useLoaderData=(r)=>rP({...r,from:this.id}),this.useNavigate=()=>Me({from:this.fullPath}),this.Link=O((r,a)=>t(Un,{ref:a,from:this.fullPath,...r}))}};function ZX(e){return new dX(e)}function Wr(e){return new pX(e,{silent:!0}).createRoute}var pX=class{constructor(e,r){this.path=e,this.createRoute=(a)=>{let i=q3(a);return i.isRoot=!1,i},this.silent=r?.silent}};var V3=class{constructor(e){this.useMatch=(r)=>Zi({select:r?.select,from:this.options.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>nP({...r,from:this.options.id}),this.useSearch=(r)=>aP({select:r?.select,structuralSharing:r?.structuralSharing,from:this.options.id}),this.useParams=(r)=>sl({select:r?.select,structuralSharing:r?.structuralSharing,from:this.options.id}),this.useLoaderDeps=(r)=>oP({...r,from:this.options.id}),this.useLoaderData=(r)=>rP({...r,from:this.options.id}),this.useNavigate=()=>Me({from:Pa().routesById[this.options.id].fullPath}),this.options=e}};function Ue(e){if(typeof e==="object")return new V3(e);return(r)=>new V3({id:e,...r})}S();function $8(e){let r=e.errorComponent??ez;return t(Mbe,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:a,reset:i})=>{if(a)return q(r,{error:a,reset:i});return e.children}})}var Mbe=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 mX(e){let r=Pa();if(Hr??r.isServer){let i=`not-found-${r.stores.location.get().pathname}-${r.stores.status.get()}`;return t($8,{getResetKey:()=>i,onCatch:(f,s)=>{if(Na(f))e.onCatch?.(f,s);else throw f},errorComponent:({error:f})=>{if(Na(f))return e.fallback?.(f);else throw f},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,f)=>{if(Na(i))e.onCatch?.(i,f);else throw i},errorComponent:({error:i})=>{if(Na(i))return e.fallback?.(i);else throw i},children:e.children})}function hX(){return t("p",{children:"Not Found"})}S();function CM(e){return t(L,{children:e.children})}S();function mO(e,r,a){if(!r.options.notFoundComponent){if(e.options.defaultNotFoundComponent)return t(e.options.defaultNotFoundComponent,{...a});return t(hX,{})}return t(r.options.notFoundComponent,{...a})}function gX({children:e}){let r=Pa();if(!(Hr??r.isServer))return null;return t("script",{nonce:r.options.ssr?.nonce,dangerouslySetInnerHTML:{__html:e+";document.currentScript.remove()"}})}function MX(e){return null}function vX(){let e=MX(Pa());if(!e)return null;return t(gX,{children:e})}S();var hO=Bn(function({matchId:r}){let a=Pa();if(Hr??a.isServer){let l=a.stores.matchStores.get(r)?.get();if(!l)ai();let c=l.routeId,m=a.routesById[c].parentRoute?.id;return t(xX,{router:a,matchId:r,resetKey:a.stores.loadedAt.get(),matchState:{routeId:c,ssr:l.ssr,_displayPending:l._displayPending,parentRouteId:m}})}let i=a.stores.matchStores.get(r);if(!i)ai();let f=vn(a.stores.loadedAt,(l)=>l),s=vn(i,(l)=>l);return t(xX,{router:a,matchId:r,resetKey:f,matchState:D(()=>{let l=s.routeId,c=a.routesById[l].parentRoute?.id;return{routeId:l,ssr:s.ssr,_displayPending:s._displayPending,parentRouteId:c}},[s._displayPending,s.routeId,s.ssr,a.routesById])})});function xX({router:e,matchId:r,resetKey:a,matchState:i}){let f=e.routesById[i.routeId],s=f.options.pendingComponent??e.options.defaultPendingComponent,l=s?t(s,{}):null,c=f.options.errorComponent??e.options.defaultErrorComponent,m=f.options.onCatch??e.options.defaultOnCatch,g=f.isRoot?f.options.notFoundComponent??e.options.notFoundRoute?.options.component:f.options.notFoundComponent,M=i.ssr===!1||i.ssr==="data-only",v=(!f.isRoot||f.options.wrapInSuspense||M)&&(f.options.wrapInSuspense??s??(f.options.errorComponent?.preload||M))?ia:CM,y=c?$8:CM,x=g?mX:CM;return o(f.isRoot?f.options.shellComponent??CM:CM,{children:[t(K8.Provider,{value:r,children:t(v,{fallback:l,children:t(y,{getResetKey:()=>a,errorComponent:c||ez,onCatch:(_,j)=>{if(Na(_))throw _.routeId??=i.routeId,_;m?.(_,j)},children:t(x,{fallback:(_)=>{if(_.routeId??=i.routeId,!g||_.routeId&&_.routeId!==i.routeId||!_.routeId&&!f.isRoot)throw _;return q(g,_)},children:M||i._displayPending?t(rX,{fallback:l,children:t(yX,{matchId:r})}):t(yX,{matchId:r})})})})}),i.parentRouteId===os?o(L,{children:[t(vbe,{resetKey:a}),e.options.scrollRestoration&&(Hr??e.isServer)?t(vX,{}):null]}):null]})}function vbe({resetKey:e}){let r=Pa();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 yX=Bn(function({matchId:r}){let a=Pa(),i=(M,v)=>a.getMatch(M.id)?._nonReactive[v]??M._nonReactive[v];if(Hr??a.isServer){let M=a.stores.matchStores.get(r)?.get();if(!M)ai();let v=M.routeId,y=a.routesById[v],x=(a.routesById[v].options.remountDeps??a.options.defaultRemountDeps)?.({routeId:v,loaderDeps:M.loaderDeps,params:M._strictParams,search:M._strictSearch}),_=x?JSON.stringify(x):void 0,j=y.options.component??a.options.defaultComponent,U=j?t(j,{},_):t(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(!Na(M.error))ai();return mO(a,y,M.error)}if(M.status==="redirected"){if(!ii(M.error))ai();throw i(M,"loadPromise")}if(M.status==="error")return t((y.options.errorComponent??a.options.defaultErrorComponent)||ez,{error:M.error,reset:void 0,info:{componentStack:""}});return U}let f=a.stores.matchStores.get(r);if(!f)ai();let s=vn(f,(M)=>M),l=s.routeId,c=a.routesById[l],m=D(()=>{let M=(a.routesById[l].options.remountDeps??a.options.defaultRemountDeps)?.({routeId:l,loaderDeps:s.loaderDeps,params:s._strictParams,search:s._strictSearch});return M?JSON.stringify(M):void 0},[l,s.loaderDeps,s._strictParams,s._strictSearch,a.options.defaultRemountDeps,a.routesById]),g=D(()=>{let M=c.options.component??a.options.defaultComponent;if(M)return t(M,{},m);return t(IM,{})},[m,c.options.component,a.options.defaultComponent]);if(s._displayPending)throw i(s,"displayPendingPromise");if(s._forcePending)throw i(s,"minPendingPromise");if(s.status==="pending"){let M=c.options.pendingMinMs??a.options.defaultPendingMinMs;if(M){let v=a.getMatch(s.id);if(v&&!v._nonReactive.minPendingPromise){if(!(Hr??a.isServer)){let y=tu();v._nonReactive.minPendingPromise=y,setTimeout(()=>{y.resolve(),v._nonReactive.minPendingPromise=void 0},M)}}}throw i(s,"loadPromise")}if(s.status==="notFound"){if(!Na(s.error))ai();return mO(a,c,s.error)}if(s.status==="redirected"){if(!ii(s.error))ai();throw i(s,"loadPromise")}if(s.status==="error"){if(Hr??a.isServer)return t((c.options.errorComponent??a.options.defaultErrorComponent)||ez,{error:s.error,reset:void 0,info:{componentStack:""}});throw s.error}return g}),IM=Bn(function(){let r=Pa(),a=dt(K8),i,f=!1,s;if(Hr??r.isServer){let g=r.stores.matches.get(),M=a?g.findIndex((y)=>y.id===a):-1,v=M>=0?g[M]:void 0;i=v?.routeId,f=v?.globalNotFound??!1,s=M>=0?g[M+1]?.id:void 0}else{let g=a?r.stores.matchStores.get(a):void 0;[i,f]=vn(g,(M)=>[M?.routeId,M?.globalNotFound??!1]),s=vn(r.stores.matchesId,(M)=>M[M.findIndex((v)=>v===a)+1])}let l=i?r.routesById[i]:void 0,c=r.options.defaultPendingComponent?t(r.options.defaultPendingComponent,{}):null;if(f){if(!l)ai();return mO(r,l,void 0)}if(!s)return null;let m=t(hO,{matchId:s});if(i===os)return t(ia,{fallback:c,children:m});return m});var bX=(e)=>{if(Hr??e.isServer)return{createMutableStore:S3,createReadonlyStore:L3,batch:(r)=>r()};return{createMutableStore:ZO,createReadonlyStore:ZO,batch:$R}};var W3=(e)=>new _X(e),_X=class extends T3{constructor(e){super(e,bX)}};S();function wX(){let e=Pa(),r=b({router:e,mounted:!1}),[a,i]=u(!1),f=vn(e.stores.isLoading,(v)=>v),s=vn(e.stores.hasPending,(v)=>v),l=pO(f),c=f||a||s,m=pO(c),g=f||s,M=pO(g);return e.startTransition=(v)=>{i(!0),NL(()=>{v(),i(!1)})},h(()=>{let v=e.history.subscribe(e.load),y=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(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(l&&!f)e.emit({type:"onLoad",...LZ(e.stores.location.get(),e.stores.resolvedLocation.get())})},[l,e,f]),J8(()=>{if(M&&!g)e.emit({type:"onBeforeRouteMount",...LZ(e.stores.location.get(),e.stores.resolvedLocation.get())})},[g,M,e]),J8(()=>{if(m&&!c){let v=LZ(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:"onResolved",...v}),$R(()=>{e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())})}},[c,m,e]),null}S();function zX(){let e=Pa(),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:ia,{fallback:a,children:[!(Hr??e.isServer)&&t(wX,{}),t(xbe,{})]});return e.options.InnerWrap?t(e.options.InnerWrap,{children:i}):i}function xbe(){let e=Pa(),r=Hr??e.isServer,a=r?e.stores.firstId.get():vn(e.stores.firstId,(s)=>s),i=r?e.stores.loadedAt.get():vn(e.stores.loadedAt,(s)=>s),f=a?t(hO,{matchId:a}):null;return t(K8.Provider,{value:a,children:e.options.disableGlobalCatchBoundary?f:t($8,{getResetKey:()=>i,errorComponent:ez,onCatch:void 0,children:f})})}S();function SX({router:e,children:r,...a}){if(MM(a))e.update({...e.options,...a,context:{...e.options.context,...a.context}});let i=t(GD.Provider,{value:e,children:r});if(e.options.Wrap)return t(e.options.Wrap,{children:i});return i}function G3({router:e,...r}){return t(SX,{router:e,...r,children:t(zX,{})})}S();function tz(e){let r=Pa({warn:e?.router===void 0}),a=e?.router||r;if(Hr??a.isServer){let f=a.stores.__store.get();return e?.select?e.select(f):f}let i=b(void 0);return vn(a.stores.__store,(f)=>{if(e?.select){if(e.structuralSharing??a.options.defaultStructuralSharing){let s=Cs(i.current,e.select(f));return i.current=s,s}return e.select(f)}return f})}S();function Bee(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Bee)}catch(e){console.error(e)}}Gu();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 bbe(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function QP(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 iJ(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 fJ(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 OX(e){if(QP(e)!==e)throw Error(Yt(188))}function _be(e){var r=e.alternate;if(!r){if(r=QP(e),r===null)throw Error(Yt(188));return r!==e?null:e}for(var a=e,i=r;;){var f=a.return;if(f===null)break;var s=f.alternate;if(s===null){if(i=f.return,i!==null){a=i;continue}break}if(f.child===s.child){for(s=f.child;s;){if(s===a)return OX(f),e;if(s===i)return OX(f),r;s=s.sibling}throw Error(Yt(188))}if(a.return!==i.return)a=f,i=s;else{for(var l=!1,c=f.child;c;){if(c===a){l=!0,a=f,i=s;break}if(c===i){l=!0,i=f,a=s;break}c=c.sibling}if(!l){for(c=s.child;c;){if(c===a){l=!0,a=s,i=f;break}if(c===i){l=!0,i=s,a=f;break}c=c.sibling}if(!l)throw Error(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 sJ(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e;for(e=e.child;e!==null;){if(r=sJ(e),r!==null)return r;e=e.sibling}return null}var qa=Object.assign,wbe=Symbol.for("react.element"),wO=Symbol.for("react.transitional.element"),mP=Symbol.for("react.portal"),lk=Symbol.for("react.fragment"),lJ=Symbol.for("react.strict_mode"),E6=Symbol.for("react.profiler"),cJ=Symbol.for("react.consumer"),EZ=Symbol.for("react.context"),TB=Symbol.for("react.forward_ref"),O6=Symbol.for("react.suspense"),j6=Symbol.for("react.suspense_list"),AB=Symbol.for("react.memo"),PM=Symbol.for("react.lazy"),N6=Symbol.for("react.activity"),zbe=Symbol.for("react.memo_cache_sentinel"),jX=Symbol.iterator;function lP(e){if(e===null||typeof e!=="object")return null;return e=jX&&e[jX]||e["@@iterator"],typeof e==="function"?e:null}var Sbe=Symbol.for("react.client.reference");function F6(e){if(e==null)return null;if(typeof e==="function")return e.$$typeof===Sbe?null:e.displayName||e.name||null;if(typeof e==="string")return e;switch(e){case lk:return"Fragment";case E6:return"Profiler";case lJ:return"StrictMode";case O6:return"Suspense";case j6:return"SuspenseList";case N6:return"Activity"}if(typeof e==="object")switch(e.$$typeof){case mP:return"Portal";case EZ:return e.displayName||"Context";case cJ:return(e._context.displayName||"Context")+".Consumer";case TB:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case AB:return r=e.displayName||null,r!==null?r:F6(e.type)||"Memo";case PM:r=e._payload,e=e._init;try{return F6(e(r))}catch(a){}}return null}var hP=Array.isArray,qr=Ga,Bo=U3,lz={pending:!1,data:null,method:null,action:null},B6=[],ck=-1;function oZ(e){return{current:e}}function wi(e){0>ck||(e.current=B6[ck],B6[ck]=null,ck--)}function Ta(e,r){ck++,B6[ck]=e.current,e.current=r}var rZ=oZ(null),OP=oZ(null),UM=oZ(null),ej=oZ(null);function tj(e,r){switch(Ta(UM,r),Ta(OP,e),Ta(rZ,null),r.nodeType){case 9:case 11:e=(e=r.documentElement)?(e=e.namespaceURI)?UQ(e):0:0;break;default:if(e=r.tagName,r=r.namespaceURI)r=UQ(r),e=Cee(r,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}wi(rZ),Ta(rZ,e)}function kk(){wi(rZ),wi(OP),wi(UM)}function Y6(e){e.memoizedState!==null&&Ta(ej,e);var r=rZ.current,a=Cee(r,e.type);r!==a&&(Ta(OP,e),Ta(rZ,a))}function rj(e){OP.current===e&&(wi(rZ),wi(OP)),ej.current===e&&(wi(ej),GP._currentValue=lz)}var a6,NX;function az(e){if(a6===void 0)try{throw Error()}catch(a){var r=a.stack.trim().match(/\n( *(at )?)/);a6=r&&r[1]||"",NX=-1<a.stack.indexOf(`
|
|
3
|
-
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
4
|
-
`+a6+e+NX}var n6=!1;function i6(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 f=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=i.DetermineComponentFrameRoot(),l=s[0],c=s[1];if(l&&c){var m=l.split(`
|
|
5
|
-
`),g=c.split(`
|
|
6
|
-
`);for(f=i=0;i<m.length&&!m[i].includes("DetermineComponentFrameRoot");)i++;for(;f<g.length&&!g[f].includes("DetermineComponentFrameRoot");)f++;if(i===m.length||f===g.length)for(i=m.length-1,f=g.length-1;1<=i&&0<=f&&m[i]!==g[f];)f--;for(;1<=i&&0<=f;i--,f--)if(m[i]!==g[f]){if(i!==1||f!==1)do if(i--,f--,0>f||m[i]!==g[f]){var M=`
|
|
7
|
-
`+m[i].replace(" at new "," at ");return e.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",e.displayName)),M}while(1<=i&&0<=f);break}}}finally{n6=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?az(a):""}function Lbe(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 i6(e.type,!1);case 11:return i6(e.type.render,!1);case 1:return i6(e.type,!0);case 31:return az("Activity");default:return""}}function FX(e){try{var r="",a=null;do r+=Lbe(e,a),a=e,e=e.return;while(e);return r}catch(i){return`
|
|
8
|
-
Error generating stack: `+i.message+`
|
|
9
|
-
`+i.stack}}var U6=Object.prototype.hasOwnProperty,DB=Ps,f6=cl,kbe=dl,Cbe=ul,Ol=Jn,Ibe=_O,uJ=il,dJ=ll,oj=Ds,Rbe=bO,ZJ=Ka,Pbe=void 0,Tbe=void 0,JP=null,jl=null;function jM(e){if(typeof Pbe==="function"&&Tbe(e),jl&&typeof jl.setStrictMode==="function")try{jl.setStrictMode(JP,e)}catch(r){}}var Fl=Math.clz32?Math.clz32:Ebe,{log:Abe,LN2:Dbe}=Math;function Ebe(e){return e>>>=0,e===0?32:31-(Abe(e)/Dbe|0)|0}var zO=256,SO=262144,LO=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 Cj(e,r,a){var i=e.pendingLanes;if(i===0)return 0;var f=0,s=e.suspendedLanes,l=e.pingedLanes;e=e.warmLanes;var c=i&134217727;return c!==0?(i=c&~s,i!==0?f=nz(i):(l&=c,l!==0?f=nz(l):a||(a=c&~e,a!==0&&(f=nz(a))))):(c=i&~s,c!==0?f=nz(c):l!==0?f=nz(l):a||(a=i&~e,a!==0&&(f=nz(a)))),f===0?0:r!==0&&r!==f&&(r&s)===0&&(s=f&-f,a=r&-r,s>=a||s===32&&(a&4194048)!==0)?r:f}function $P(e,r){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&r)===0}function Obe(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 pJ(){var e=LO;return LO<<=1,(LO&62914560)===0&&(LO=4194304),e}function s6(e){for(var r=[],a=0;31>a;a++)r.push(e);return r}function Ij(e,r){e.pendingLanes|=r,r!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function jbe(e,r,a,i,f,s){var l=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var{entanglements:c,expirationTimes:m,hiddenUpdates:g}=e;for(a=l&~a;0<a;){var M=31-Fl(a),v=1<<M;c[M]=0,m[M]=-1;var y=g[M];if(y!==null)for(g[M]=null,M=0;M<y.length;M++){var x=y[M];x!==null&&(x.lane&=-536870913)}a&=~v}i!==0&&mJ(e,i,0),s!==0&&f===0&&e.tag!==0&&(e.suspendedLanes|=s&~(l&~r))}function mJ(e,r,a){e.pendingLanes|=r,e.suspendedLanes&=~r;var i=31-Fl(r);e.entangledLanes|=r,e.entanglements[i]=e.entanglements[i]|1073741824|a&261930}function hJ(e,r){var a=e.entangledLanes|=r;for(e=e.entanglements;a;){var i=31-Fl(a),f=1<<i;f&r|e[i]&r&&(e[i]|=r),a&=~f}}function gJ(e,r){var a=r&-r;return a=(a&42)!==0?1:MJ(a),(a&(e.suspendedLanes|r))!==0?0:a}function MJ(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 EB(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function vJ(){var e=Bo.p;if(e!==0)return e;return e=window.event,e===void 0?32:jee(e.type)}function BX(e,r){var a=Bo.p;try{return Bo.p=e,r()}finally{Bo.p=a}}var e8=Math.random().toString(36).slice(2),Gi="__reactFiber$"+e8,Vs="__reactProps$"+e8,eT="__reactContainer$"+e8,q6="__reactEvents$"+e8,Nbe="__reactListeners$"+e8,Fbe="__reactHandles$"+e8,YX="__reactResources$"+e8,tT="__reactMarker$"+e8;function OB(e){delete e[Gi],delete e[Vs],delete e[q6],delete e[Nbe],delete e[Fbe]}function uk(e){var r=e[Gi];if(r)return r;for(var a=e.parentNode;a;){if(r=a[eT]||a[Gi]){if(a=r.alternate,r.child!==null||a!==null&&a.child!==null)for(e=GQ(e);e!==null;){if(a=e[Gi])return a;e=GQ(e)}return r}e=a,a=e.parentNode}return null}function Nk(e){if(e=e[Gi]||e[eT]){var r=e.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return e}return null}function gP(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e.stateNode;throw Error(Yt(33))}function yk(e){var r=e[YX];return r||(r=e[YX]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function _i(e){e[tT]=!0}var xJ=new Set,yJ={};function yz(e,r){Ck(e,r),Ck(e+"Capture",r)}function Ck(e,r){yJ[e]=r;for(e=0;e<r.length;e++)xJ.add(r[e])}var Bbe=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]*$"),UX={},qX={};function Ybe(e){if(U6.call(qX,e))return!0;if(U6.call(UX,e))return!1;if(Bbe.test(e))return qX[e]=!0;return UX[e]=!0,!1}function jO(e,r,a){if(Ybe(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 kO(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 oc(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function bJ(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Ube(e,r,a){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,r);if(!e.hasOwnProperty(r)&&typeof i<"u"&&typeof i.get==="function"&&typeof i.set==="function"){var{get:f,set:s}=i;return Object.defineProperty(e,r,{configurable:!0,get:function(){return f.call(this)},set:function(l){a=""+l,s.call(this,l)}}),Object.defineProperty(e,r,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(l){a=""+l},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function H6(e){if(!e._valueTracker){var r=bJ(e)?"checked":"value";e._valueTracker=Ube(e,r,""+e[r])}}function _J(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var a=r.getValue(),i="";return e&&(i=bJ(e)?e.checked?"true":"false":e.value),e=i,e!==a?(r.setValue(e),!0):!1}function aj(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 qbe=/[\n"\\]/g;function ic(e){return e.replace(qbe,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function V6(e,r,a,i,f,s,l,c){if(e.name="",l!=null&&typeof l!=="function"&&typeof l!=="symbol"&&typeof l!=="boolean"?e.type=l:e.removeAttribute("type"),r!=null)if(l==="number"){if(r===0&&e.value===""||e.value!=r)e.value=""+oc(r)}else e.value!==""+oc(r)&&(e.value=""+oc(r));else l!=="submit"&&l!=="reset"||e.removeAttribute("value");r!=null?W6(e,l,oc(r)):a!=null?W6(e,l,oc(a)):i!=null&&e.removeAttribute("value"),f==null&&s!=null&&(e.defaultChecked=!!s),f!=null&&(e.checked=f&&typeof f!=="function"&&typeof f!=="symbol"),c!=null&&typeof c!=="function"&&typeof c!=="symbol"&&typeof c!=="boolean"?e.name=""+oc(c):e.removeAttribute("name")}function wJ(e,r,a,i,f,s,l,c){if(s!=null&&typeof s!=="function"&&typeof s!=="symbol"&&typeof s!=="boolean"&&(e.type=s),r!=null||a!=null){if(!(s!=="submit"&&s!=="reset"||r!==void 0&&r!==null)){H6(e);return}a=a!=null?""+oc(a):"",r=r!=null?""+oc(r):a,c||r===e.value||(e.value=r),e.defaultValue=r}i=i!=null?i:f,i=typeof i!=="function"&&typeof i!=="symbol"&&!!i,e.checked=c?e.checked:!!i,e.defaultChecked=!!i,l!=null&&typeof l!=="function"&&typeof l!=="symbol"&&typeof l!=="boolean"&&(e.name=l),H6(e)}function W6(e,r,a){r==="number"&&aj(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function bk(e,r,a,i){if(e=e.options,r){r={};for(var f=0;f<a.length;f++)r["$"+a[f]]=!0;for(a=0;a<e.length;a++)f=r.hasOwnProperty("$"+e[a].value),e[a].selected!==f&&(e[a].selected=f),f&&i&&(e[a].defaultSelected=!0)}else{a=""+oc(a),r=null;for(f=0;f<e.length;f++){if(e[f].value===a){e[f].selected=!0,i&&(e[f].defaultSelected=!0);return}r!==null||e[f].disabled||(r=e[f])}r!==null&&(r.selected=!0)}}function zJ(e,r,a){if(r!=null&&(r=""+oc(r),r!==e.value&&(e.value=r),a==null)){e.defaultValue!==r&&(e.defaultValue=r);return}e.defaultValue=a!=null?""+oc(a):""}function SJ(e,r,a,i){if(r==null){if(i!=null){if(a!=null)throw Error(Yt(92));if(hP(i)){if(1<i.length)throw Error(Yt(93));i=i[0]}a=i}a==null&&(a=""),r=a}a=oc(r),e.defaultValue=a,i=e.textContent,i===a&&i!==""&&i!==null&&(e.value=i),H6(e)}function Ik(e,r){if(r){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=r;return}}e.textContent=r}var Hbe=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 HX(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||Hbe.has(r)?r==="float"?e.cssFloat=a:e[r]=(""+a).trim():e[r]=a+"px"}function LJ(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 f in r)i=r[f],r.hasOwnProperty(f)&&a[f]!==i&&HX(e,f,i)}else for(var s in r)r.hasOwnProperty(s)&&HX(e,s,r[s])}function jB(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 Vbe=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"]]),Wbe=/^[\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 NO(e){return Wbe.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function OZ(){}var G6=null;function NB(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var dk=null,_k=null;function VX(e){var r=Nk(e);if(r&&(e=r.stateNode)){var a=e[Vs]||null;e:switch(e=r.stateNode,r.type){case"input":if(V6(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="'+ic(""+r)+'"][type="radio"]');for(r=0;r<a.length;r++){var i=a[r];if(i!==e&&i.form===e.form){var f=i[Vs]||null;if(!f)throw Error(Yt(90));V6(i,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(r=0;r<a.length;r++)i=a[r],i.form===e.form&&_J(i)}break e;case"textarea":zJ(e,a.value,a.defaultValue);break e;case"select":r=a.value,r!=null&&bk(e,!!a.multiple,r,!1)}}}var l6=!1;function kJ(e,r,a){if(l6)return e(r,a);l6=!0;try{var i=e(r);return i}finally{if(l6=!1,dk!==null||_k!==null){if(Yj(),dk&&(r=dk,e=_k,_k=dk=null,VX(r),e))for(r=0;r<e.length;r++)VX(e[r])}}}function jP(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"),K6=!1;if(YZ)try{iz={},Object.defineProperty(iz,"passive",{get:function(){K6=!0}}),window.addEventListener("test",iz,iz),window.removeEventListener("test",iz,iz)}catch(e){K6=!1}var iz,NM=null,FB=null,FO=null;function CJ(){if(FO)return FO;var e,r=FB,a=r.length,i,f="value"in NM?NM.value:NM.textContent,s=f.length;for(e=0;e<a&&r[e]===f[e];e++);var l=a-e;for(i=1;i<=l&&r[a-i]===f[s-i];i++);return FO=f.slice(e,1<i?1-i:void 0)}function BO(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 CO(){return!0}function WX(){return!1}function Ws(e){function r(a,i,f,s,l){this._reactName=a,this._targetInst=f,this.type=i,this.nativeEvent=s,this.target=l,this.currentTarget=null;for(var c in e)e.hasOwnProperty(c)&&(a=e[c],this[c]=a?a(s):s[c]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?CO:WX,this.isPropagationStopped=WX,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=CO)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!=="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=CO)},persist:function(){},isPersistent:CO}),r}var bz={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Rj=Ws(bz),rT=qa({},bz,{view:0,detail:0}),Gbe=Ws(rT),c6,u6,cP,Pj=qa({},rT,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:BB,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!==cP&&(cP&&e.type==="mousemove"?(c6=e.screenX-cP.screenX,u6=e.screenY-cP.screenY):u6=c6=0,cP=e),c6},movementY:function(e){return"movementY"in e?e.movementY:u6}}),GX=Ws(Pj),Kbe=qa({},Pj,{dataTransfer:0}),Xbe=Ws(Kbe),Qbe=qa({},rT,{relatedTarget:0}),d6=Ws(Qbe),Jbe=qa({},bz,{animationName:0,elapsedTime:0,pseudoElement:0}),$be=Ws(Jbe),e_e=qa({},bz,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),t_e=Ws(e_e),r_e=qa({},bz,{data:0}),KX=Ws(r_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"},a_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 i_e(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=n_e[e])?!!r[e]:!1}function BB(){return i_e}var f_e=qa({},rT,{key:function(e){if(e.key){var r=o_e[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=BO(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?a_e[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:BB,charCode:function(e){return e.type==="keypress"?BO(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?BO(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),s_e=Ws(f_e),l_e=qa({},Pj,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),XX=Ws(l_e),c_e=qa({},rT,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:BB}),u_e=Ws(c_e),d_e=qa({},bz,{propertyName:0,elapsedTime:0,pseudoElement:0}),Z_e=Ws(d_e),p_e=qa({},Pj,{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}),m_e=Ws(p_e),h_e=qa({},bz,{newState:0,oldState:0}),g_e=Ws(h_e),M_e=[9,13,27,32],YB=YZ&&"CompositionEvent"in window,wP=null;YZ&&"documentMode"in document&&(wP=document.documentMode);var v_e=YZ&&"TextEvent"in window&&!wP,IJ=YZ&&(!YB||wP&&8<wP&&11>=wP),QX=String.fromCharCode(32),JX=!1;function RJ(e,r){switch(e){case"keyup":return M_e.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function PJ(e){return e=e.detail,typeof e==="object"&&"data"in e?e.data:null}var Zk=!1;function x_e(e,r){switch(e){case"compositionend":return PJ(r);case"keypress":if(r.which!==32)return null;return JX=!0,QX;case"textInput":return e=r.data,e===QX&&JX?null:e;default:return null}}function y_e(e,r){if(Zk)return e==="compositionend"||!YB&&RJ(e,r)?(e=CJ(),FO=FB=NM=null,Zk=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return IJ&&r.locale!=="ko"?null:r.data;default:return null}}var b_e={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $X(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!b_e[e.type]:r==="textarea"?!0:!1}function TJ(e,r,a,i){dk?_k?_k.push(i):_k=[i]:dk=i,r=bj(r,"onChange"),0<r.length&&(a=new Rj("onChange","change",null,a,i),e.push({event:a,listeners:r}))}var zP=null,NP=null;function __e(e){zee(e,0)}function Tj(e){var r=gP(e);if(_J(r))return e}function eQ(e,r){if(e==="change")return r}var AJ=!1;if(YZ){if(YZ){if(vP="oninput"in document,!vP)YO=document.createElement("div"),YO.setAttribute("oninput","return;"),vP=typeof YO.oninput==="function";MP=vP}else MP=!1;AJ=MP&&(!document.documentMode||9<document.documentMode)}var MP,vP,YO;function tQ(){zP&&(zP.detachEvent("onpropertychange",DJ),NP=zP=null)}function DJ(e){if(e.propertyName==="value"&&Tj(NP)){var r=[];TJ(r,NP,e,NB(e)),kJ(__e,r)}}function w_e(e,r,a){e==="focusin"?(tQ(),zP=r,NP=a,zP.attachEvent("onpropertychange",DJ)):e==="focusout"&&tQ()}function z_e(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Tj(NP)}function S_e(e,r){if(e==="click")return Tj(r)}function L_e(e,r){if(e==="input"||e==="change")return Tj(r)}function k_e(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Bl=typeof Object.is==="function"?Object.is:k_e;function FP(e,r){if(Bl(e,r))return!0;if(typeof e!=="object"||e===null||typeof r!=="object"||r===null)return!1;var a=Object.keys(e),i=Object.keys(r);if(a.length!==i.length)return!1;for(i=0;i<a.length;i++){var f=a[i];if(!U6.call(r,f)||!Bl(e[f],r[f]))return!1}return!0}function rQ(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function oQ(e,r){var a=rQ(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=rQ(a)}}function EJ(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?EJ(e,r.parentNode):("contains"in e)?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function OJ(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var r=aj(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=aj(e.document)}return r}function UB(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 C_e=YZ&&"documentMode"in document&&11>=document.documentMode,pk=null,X6=null,SP=null,Q6=!1;function aQ(e,r,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Q6||pk==null||pk!==aj(i)||(i=pk,("selectionStart"in i)&&UB(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}),SP&&FP(SP,i)||(SP=i,i=bj(X6,"onSelect"),0<i.length&&(r=new Rj("onSelect","select",null,r,a),e.push({event:r,listeners:i}),r.target=pk)))}function oz(e,r){var a={};return a[e.toLowerCase()]=r.toLowerCase(),a["Webkit"+e]="webkit"+r,a["Moz"+e]="moz"+r,a}var mk={animationend:oz("Animation","AnimationEnd"),animationiteration:oz("Animation","AnimationIteration"),animationstart:oz("Animation","AnimationStart"),transitionrun:oz("Transition","TransitionRun"),transitionstart:oz("Transition","TransitionStart"),transitioncancel:oz("Transition","TransitionCancel"),transitionend:oz("Transition","TransitionEnd")},Z6={},jJ={};YZ&&(jJ=document.createElement("div").style,("AnimationEvent"in window)||(delete mk.animationend.animation,delete mk.animationiteration.animation,delete mk.animationstart.animation),("TransitionEvent"in window)||delete mk.transitionend.transition);function _z(e){if(Z6[e])return Z6[e];if(!mk[e])return e;var r=mk[e],a;for(a in r)if(r.hasOwnProperty(a)&&a in jJ)return Z6[e]=r[a];return e}var NJ=_z("animationend"),FJ=_z("animationiteration"),BJ=_z("animationstart"),I_e=_z("transitionrun"),R_e=_z("transitionstart"),P_e=_z("transitioncancel"),YJ=_z("transitionend"),UJ=new Map,J6="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(" ");J6.push("scrollEnd");function au(e,r){UJ.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)},rc=[],hk=0,qB=0;function Aj(){for(var e=hk,r=qB=hk=0;r<e;){var a=rc[r];rc[r++]=null;var i=rc[r];rc[r++]=null;var f=rc[r];rc[r++]=null;var s=rc[r];if(rc[r++]=null,i!==null&&f!==null){var l=i.pending;l===null?f.next=f:(f.next=l.next,l.next=f),i.pending=f}s!==0&&qJ(a,f,s)}}function Dj(e,r,a,i){rc[hk++]=e,rc[hk++]=r,rc[hk++]=a,rc[hk++]=i,qB|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function HB(e,r,a,i){return Dj(e,r,a,i),ij(e)}function wz(e,r){return Dj(e,null,null,r),ij(e)}function qJ(e,r,a){e.lanes|=a;var i=e.alternate;i!==null&&(i.lanes|=a);for(var f=!1,s=e.return;s!==null;)s.childLanes|=a,i=s.alternate,i!==null&&(i.childLanes|=a),s.tag===22&&(e=s.stateNode,e===null||e._visibility&1||(f=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,f&&r!==null&&(f=31-Fl(a),e=s.hiddenUpdates,i=e[f],i===null?e[f]=[r]:i.push(r),r.lane=a|536870912),s):null}function ij(e){if(50<DP)throw DP=0,vB=null,Error(Yt(185));for(var r=e.return;r!==null;)e=r,r=e.return;return e.tag===3?e.stateNode:null}var gk={};function T_e(e,r,a,i){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ll(e,r,a,i){return new T_e(e,r,a,i)}function VB(e){return e=e.prototype,!(!e||!e.isReactComponent)}function NZ(e,r){var a=e.alternate;return a===null?(a=Ll(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 HJ(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 UO(e,r,a,i,f,s){var l=0;if(i=e,typeof e==="function")VB(e)&&(l=1);else if(typeof e==="string")l=Nwe(e,a,rZ.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case N6:return e=Ll(31,a,r,f),e.elementType=N6,e.lanes=s,e;case lk:return cz(a.children,f,s,r);case lJ:l=8,f|=24;break;case E6:return e=Ll(12,a,r,f|2),e.elementType=E6,e.lanes=s,e;case O6:return e=Ll(13,a,r,f),e.elementType=O6,e.lanes=s,e;case j6:return e=Ll(19,a,r,f),e.elementType=j6,e.lanes=s,e;default:if(typeof e==="object"&&e!==null)switch(e.$$typeof){case EZ:l=10;break e;case cJ:l=9;break e;case TB:l=11;break e;case AB:l=14;break e;case PM:l=16,i=null;break e}l=29,a=Error(Yt(130,e===null?"null":typeof e,"")),i=null}return r=Ll(l,a,r,f),r.elementType=e,r.type=i,r.lanes=s,r}function cz(e,r,a,i){return e=Ll(7,e,i,r),e.lanes=a,e}function p6(e,r,a){return e=Ll(6,e,null,r),e.lanes=a,e}function VJ(e){var r=Ll(18,null,null,0);return r.stateNode=e,r}function m6(e,r,a){return r=Ll(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 fc(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:FX(r)},nQ.set(e,r),r}return{value:e,source:r,stack:FX(r)}}var Mk=[],vk=0,fj=null,BP=0,ac=[],nc=0,XM=null,Jd=1,eZ="";function AZ(e,r){Mk[vk++]=BP,Mk[vk++]=fj,fj=e,BP=r}function WJ(e,r,a){ac[nc++]=Jd,ac[nc++]=eZ,ac[nc++]=XM,XM=e;var i=Jd;e=eZ;var f=32-Fl(i)-1;i&=~(1<<f),a+=1;var s=32-Fl(r)+f;if(30<s){var l=f-f%5;s=(i&(1<<l)-1).toString(32),i>>=l,f-=l,Jd=1<<32-Fl(r)+f|a<<f|i,eZ=s+e}else Jd=1<<s|a<<f|i,eZ=e}function WB(e){e.return!==null&&(AZ(e,1),WJ(e,1,0))}function GB(e){for(;e===fj;)fj=Mk[--vk],Mk[vk]=null,BP=Mk[--vk],Mk[vk]=null;for(;e===XM;)XM=ac[--nc],ac[nc]=null,eZ=ac[--nc],ac[nc]=null,Jd=ac[--nc],ac[nc]=null}function GJ(e,r){ac[nc++]=Jd,ac[nc++]=eZ,ac[nc++]=XM,Jd=r.id,eZ=r.overflow,XM=e}var Ki=null,Ua=null,zo=!1,qM=null,sc=!1,$6=Error(Yt(519));function QM(e){var r=Error(Yt(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw YP(fc(r,e)),$6}function iQ(e){var{stateNode:r,type:a,memoizedProps:i}=e;switch(r[Gi]=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<VP.length;a++)go(VP[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),wJ(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),SJ(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||kee(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 fQ(e){for(Ki=e.return;Ki;)switch(Ki.tag){case 5:case 31:case 13:sc=!1;return;case 27:case 3:sc=!0;return;default:Ki=Ki.return}}function ak(e){if(e!==Ki)return!1;if(!zo)return fQ(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")||SB(e.type,e.memoizedProps);a=!a}if(a&&Ua&&QM(e),fQ(e),r===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Yt(317));Ua=WQ(e)}else if(r===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Yt(317));Ua=WQ(e)}else r===27?(r=Ua,t8(e.type)?(e=IB,IB=null,Ua=e):Ua=r):Ua=Ki?uc(e.stateNode.nextSibling):null;return!0}function hz(){Ua=Ki=null,zo=!1}function h6(){var e=qM;return e!==null&&(qs===null?qs=e:qs.push.apply(qs,e),qM=null),e}function YP(e){qM===null?qM=[e]:qM.push(e)}var eB=oZ(null),zz=null,jZ=null;function AM(e,r,a){Ta(eB,r._currentValue),r._currentValue=a}function FZ(e){e._currentValue=eB.current,wi(eB)}function tB(e,r,a){for(;e!==null;){var i=e.alternate;if((e.childLanes&r)!==r?(e.childLanes|=r,i!==null&&(i.childLanes|=r)):i!==null&&(i.childLanes&r)!==r&&(i.childLanes|=r),e===a)break;e=e.return}}function rB(e,r,a,i){var f=e.child;f!==null&&(f.return=e);for(;f!==null;){var s=f.dependencies;if(s!==null){var l=f.child;s=s.firstContext;e:for(;s!==null;){var c=s;s=f;for(var m=0;m<r.length;m++)if(c.context===r[m]){s.lanes|=a,c=s.alternate,c!==null&&(c.lanes|=a),tB(s.return,a,e),i||(l=null);break e}s=c.next}}else if(f.tag===18){if(l=f.return,l===null)throw Error(Yt(341));l.lanes|=a,s=l.alternate,s!==null&&(s.lanes|=a),tB(l,a,e),l=null}else l=f.child;if(l!==null)l.return=f;else for(l=f;l!==null;){if(l===e){l=null;break}if(f=l.sibling,f!==null){f.return=l.return,l=f;break}l=l.return}f=l}}function Fk(e,r,a,i){e=null;for(var f=r,s=!1;f!==null;){if(!s){if((f.flags&524288)!==0)s=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var l=f.alternate;if(l===null)throw Error(Yt(387));if(l=l.memoizedProps,l!==null){var c=f.type;Bl(f.pendingProps.value,l.value)||(e!==null?e.push(c):e=[c])}}else if(f===ej.current){if(l=f.alternate,l===null)throw Error(Yt(387));l.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(e!==null?e.push(GP):e=[GP])}f=f.return}e!==null&&rB(r,e,a,i),r.flags|=262144}function sj(e){for(e=e.firstContext;e!==null;){if(!Bl(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function gz(e){zz=e,jZ=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Xi(e){return KJ(zz,e)}function IO(e,r){return zz===null&&gz(e),KJ(e,r)}function KJ(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 A_e=typeof AbortController<"u"?AbortController:function(){var e=[],r=this.signal={aborted:!1,addEventListener:function(a,i){e.push(i)}};this.abort=function(){r.aborted=!0,e.forEach(function(a){return a()})}},D_e=Ps,E_e=Ds,li={$$typeof:EZ,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function KB(){return{controller:new A_e,data:new Map,refCount:0}}function oT(e){e.refCount--,e.refCount===0&&D_e(E_e,function(){e.controller.abort()})}var LP=null,oB=0,Rk=0,wk=null;function O_e(e,r){if(LP===null){var a=LP=[];oB=0,Rk=xY(),wk={status:"pending",value:void 0,then:function(i){a.push(i)}}}return oB++,r.then(sQ,sQ),r}function sQ(){if(--oB===0&&LP!==null){wk!==null&&(wk.status="fulfilled");var e=LP;LP=null,Rk=0,wk=null;for(var r=0;r<e.length;r++)(0,e[r])()}}function j_e(e,r){var a=[],i={status:"pending",value:null,reason:null,then:function(f){a.push(f)}};return e.then(function(){i.status="fulfilled",i.value=r;for(var f=0;f<a.length;f++)(0,a[f])(r)},function(f){i.status="rejected",i.reason=f;for(f=0;f<a.length;f++)(0,a[f])(void 0)}),i}var lQ=qr.S;qr.S=function(e,r){iee=Ol(),typeof r==="object"&&r!==null&&typeof r.then==="function"&&O_e(e,r),lQ!==null&&lQ(e,r)};var uz=oZ(null);function XB(){var e=uz.current;return e!==null?e:Ca.pooledCache}function qO(e,r){r===null?Ta(uz,uz.current):Ta(uz,r.pool)}function XJ(){var e=XB();return e===null?null:{parent:li._currentValue,pool:e}}var Bk=Error(Yt(460)),QB=Error(Yt(474)),Ej=Error(Yt(542)),lj={then:function(){}};function cQ(e){return e=e.status,e==="fulfilled"||e==="rejected"}function QJ(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,dQ(e),e;default:if(typeof r.status==="string")r.then(OZ,OZ);else{if(e=Ca,e!==null&&100<e.shellSuspendCounter)throw Error(Yt(482));e=r,e.status="pending",e.then(function(i){if(r.status==="pending"){var f=r;f.status="fulfilled",f.value=i}},function(i){if(r.status==="pending"){var f=r;f.status="rejected",f.reason=i}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,dQ(e),e}throw dz=r,Bk}}function fz(e){try{var r=e._init;return r(e._payload)}catch(a){if(a!==null&&typeof a==="object"&&typeof a.then==="function")throw dz=a,Bk;throw a}}var dz=null;function uQ(){if(dz===null)throw Error(Yt(459));var e=dz;return dz=null,e}function dQ(e){if(e===Bk||e===Ej)throw Error(Yt(483))}var zk=null,UP=0;function RO(e){var r=UP;return UP+=1,zk===null&&(zk=[]),QJ(zk,e,r)}function uP(e,r){r=r.props.ref,e.ref=r!==void 0?r:null}function PO(e,r){if(r.$$typeof===wbe)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 JJ(e){function r(T,N){if(e){var G=T.deletions;G===null?(T.deletions=[N],T.flags|=16):G.push(N)}}function a(T,N){if(!e)return null;for(;N!==null;)r(T,N),N=N.sibling;return null}function i(T){for(var N=new Map;T!==null;)T.key!==null?N.set(T.key,T):N.set(T.index,T),T=T.sibling;return N}function f(T,N){return T=NZ(T,N),T.index=0,T.sibling=null,T}function s(T,N,G){if(T.index=G,!e)return T.flags|=1048576,N;if(G=T.alternate,G!==null)return G=G.index,G<N?(T.flags|=67108866,N):G;return T.flags|=67108866,N}function l(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function c(T,N,G,X){if(N===null||N.tag!==6)return N=p6(G,T.mode,X),N.return=T,N;return N=f(N,G),N.return=T,N}function m(T,N,G,X){var J=G.type;if(J===lk)return M(T,N,G.props.children,X,G.key);if(N!==null&&(N.elementType===J||typeof J==="object"&&J!==null&&J.$$typeof===PM&&fz(J)===N.type))return N=f(N,G.props),uP(N,G),N.return=T,N;return N=UO(G.type,G.key,G.props,null,T.mode,X),uP(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=m6(G,T.mode,X),N.return=T,N;return N=f(N,G.children||[]),N.return=T,N}function M(T,N,G,X,J){if(N===null||N.tag!==7)return N=cz(G,T.mode,X,J),N.return=T,N;return N=f(N,G),N.return=T,N}function v(T,N,G){if(typeof N==="string"&&N!==""||typeof N==="number"||typeof N==="bigint")return N=p6(""+N,T.mode,G),N.return=T,N;if(typeof N==="object"&&N!==null){switch(N.$$typeof){case wO:return G=UO(N.type,N.key,N.props,null,T.mode,G),uP(G,N),G.return=T,G;case mP:return N=m6(N,T.mode,G),N.return=T,N;case PM:return N=fz(N),v(T,N,G)}if(hP(N)||lP(N))return N=cz(N,T.mode,G,null),N.return=T,N;if(typeof N.then==="function")return v(T,RO(N),G);if(N.$$typeof===EZ)return v(T,IO(T,N),G);PO(T,N)}return null}function y(T,N,G,X){var J=N!==null?N.key:null;if(typeof G==="string"&&G!==""||typeof G==="number"||typeof G==="bigint")return J!==null?null:c(T,N,""+G,X);if(typeof G==="object"&&G!==null){switch(G.$$typeof){case wO:return G.key===J?m(T,N,G,X):null;case mP:return G.key===J?g(T,N,G,X):null;case PM:return G=fz(G),y(T,N,G,X)}if(hP(G)||lP(G))return J!==null?null:M(T,N,G,X,null);if(typeof G.then==="function")return y(T,N,RO(G),X);if(G.$$typeof===EZ)return y(T,N,IO(T,G),X);PO(T,G)}return null}function x(T,N,G,X,J){if(typeof X==="string"&&X!==""||typeof X==="number"||typeof X==="bigint")return T=T.get(G)||null,c(N,T,""+X,J);if(typeof X==="object"&&X!==null){switch(X.$$typeof){case wO:return T=T.get(X.key===null?G:X.key)||null,m(N,T,X,J);case mP: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(hP(X)||lP(X))return T=T.get(G)||null,M(N,T,X,J,null);if(typeof X.then==="function")return x(T,N,G,RO(X),J);if(X.$$typeof===EZ)return x(T,N,G,IO(N,X),J);PO(N,X)}return null}function _(T,N,G,X){for(var J=null,ee=null,re=N,oe=N=0,ae=null;re!==null&&oe<G.length;oe++){re.index>oe?(ae=re,re=null):ae=re.sibling;var ye=y(T,re,G[oe],X);if(ye===null){re===null&&(re=ae);break}e&&re&&ye.alternate===null&&r(T,re),N=s(ye,N,oe),ee===null?J=ye:ee.sibling=ye,ee=ye,re=ae}if(oe===G.length)return a(T,re),zo&&AZ(T,oe),J;if(re===null){for(;oe<G.length;oe++)re=v(T,G[oe],X),re!==null&&(N=s(re,N,oe),ee===null?J=re:ee.sibling=re,ee=re);return zo&&AZ(T,oe),J}for(re=i(re);oe<G.length;oe++)ae=x(re,T,oe,G[oe],X),ae!==null&&(e&&ae.alternate!==null&&re.delete(ae.key===null?oe:ae.key),N=s(ae,N,oe),ee===null?J=ae:ee.sibling=ae,ee=ae);return e&&re.forEach(function(We){return r(T,We)}),zo&&AZ(T,oe),J}function j(T,N,G,X){if(G==null)throw Error(Yt(151));for(var J=null,ee=null,re=N,oe=N=0,ae=null,ye=G.next();re!==null&&!ye.done;oe++,ye=G.next()){re.index>oe?(ae=re,re=null):ae=re.sibling;var We=y(T,re,ye.value,X);if(We===null){re===null&&(re=ae);break}e&&re&&We.alternate===null&&r(T,re),N=s(We,N,oe),ee===null?J=We:ee.sibling=We,ee=We,re=ae}if(ye.done)return a(T,re),zo&&AZ(T,oe),J;if(re===null){for(;!ye.done;oe++,ye=G.next())ye=v(T,ye.value,X),ye!==null&&(N=s(ye,N,oe),ee===null?J=ye:ee.sibling=ye,ee=ye);return zo&&AZ(T,oe),J}for(re=i(re);!ye.done;oe++,ye=G.next())ye=x(re,T,oe,ye.value,X),ye!==null&&(e&&ye.alternate!==null&&re.delete(ye.key===null?oe:ye.key),N=s(ye,N,oe),ee===null?J=ye:ee.sibling=ye,ee=ye);return e&&re.forEach(function(Ye){return r(T,Ye)}),zo&&AZ(T,oe),J}function U(T,N,G,X){if(typeof G==="object"&&G!==null&&G.type===lk&&G.key===null&&(G=G.props.children),typeof G==="object"&&G!==null){switch(G.$$typeof){case wO:e:{for(var J=G.key;N!==null;){if(N.key===J){if(J=G.type,J===lk){if(N.tag===7){a(T,N.sibling),X=f(N,G.props.children),X.return=T,T=X;break e}}else if(N.elementType===J||typeof J==="object"&&J!==null&&J.$$typeof===PM&&fz(J)===N.type){a(T,N.sibling),X=f(N,G.props),uP(X,G),X.return=T,T=X;break e}a(T,N);break}else r(T,N);N=N.sibling}G.type===lk?(X=cz(G.props.children,T.mode,X,G.key),X.return=T,T=X):(X=UO(G.type,G.key,G.props,null,T.mode,X),uP(X,G),X.return=T,T=X)}return l(T);case mP:e:{for(J=G.key;N!==null;){if(N.key===J)if(N.tag===4&&N.stateNode.containerInfo===G.containerInfo&&N.stateNode.implementation===G.implementation){a(T,N.sibling),X=f(N,G.children||[]),X.return=T,T=X;break e}else{a(T,N);break}else r(T,N);N=N.sibling}X=m6(G,T.mode,X),X.return=T,T=X}return l(T);case PM:return G=fz(G),U(T,N,G,X)}if(hP(G))return _(T,N,G,X);if(lP(G)){if(J=lP(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,RO(G),X);if(G.$$typeof===EZ)return U(T,N,IO(T,G),X);PO(T,G)}return typeof G==="string"&&G!==""||typeof G==="number"||typeof G==="bigint"?(G=""+G,N!==null&&N.tag===6?(a(T,N.sibling),X=f(N,G),X.return=T,T=X):(a(T,N),X=p6(G,T.mode,X),X.return=T,T=X),l(T)):a(T,N)}return function(T,N,G,X){try{UP=0;var J=U(T,N,G,X);return zk=null,J}catch(re){if(re===Bk||re===Ej)throw re;var ee=Ll(29,re,null,T.mode);return ee.lanes=X,ee.return=T,ee}finally{}}}var Mz=JJ(!0),$J=JJ(!1),TM=!1;function JB(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function aB(e,r){e=e.updateQueue,r.updateQueue===e&&(r.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Zz(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function pz(e,r,a){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(No&2)!==0){var f=i.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),i.pending=r,r=ij(e),qJ(e,null,a),r}return Dj(e,i,r,a),ij(e)}function kP(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,hJ(e,a)}}function g6(e,r){var a=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,a===i)){var f=null,s=null;if(a=a.firstBaseUpdate,a!==null){do{var l={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};s===null?f=s=l:s=s.next=l,a=a.next}while(a!==null);s===null?f=s=r:s=s.next=r}else f=s=r;a={baseState:i.baseState,firstBaseUpdate:f,lastBaseUpdate:s,shared:i.shared,callbacks:i.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=r:e.next=r,a.lastBaseUpdate=r}var nB=!1;function CP(){if(nB){var e=wk;if(e!==null)throw e}}function IP(e,r,a,i){nB=!1;var f=e.updateQueue;TM=!1;var{firstBaseUpdate:s,lastBaseUpdate:l}=f,c=f.shared.pending;if(c!==null){f.shared.pending=null;var m=c,g=m.next;m.next=null,l===null?s=g:l.next=g,l=m;var M=e.alternate;M!==null&&(M=M.updateQueue,c=M.lastBaseUpdate,c!==l&&(c===null?M.firstBaseUpdate=g:c.next=g,M.lastBaseUpdate=m))}if(s!==null){var v=f.baseState;l=0,M=g=m=null,c=s;do{var y=c.lane&-536870913,x=y!==c.lane;if(x?(_o&y)===y:(i&y)===y){y!==0&&y===Rk&&(nB=!0),M!==null&&(M=M.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});e:{var _=e,j=c;y=r;var U=a;switch(j.tag){case 1:if(_=j.payload,typeof _==="function"){v=_.call(U,v,y);break e}v=_;break e;case 3:_.flags=_.flags&-65537|128;case 0:if(_=j.payload,y=typeof _==="function"?_.call(U,v,y):_,y===null||y===void 0)break e;v=qa({},v,y);break e;case 2:TM=!0}}y=c.callback,y!==null&&(e.flags|=64,x&&(e.flags|=8192),x=f.callbacks,x===null?f.callbacks=[y]:x.push(y))}else x={lane:y,tag:c.tag,payload:c.payload,callback:c.callback,next:null},M===null?(g=M=x,m=v):M=M.next=x,l|=y;if(c=c.next,c===null)if(c=f.shared.pending,c===null)break;else x=c,c=x.next,x.next=null,f.lastBaseUpdate=x,f.shared.pending=null}while(1);M===null&&(m=v),f.baseState=m,f.firstBaseUpdate=g,f.lastBaseUpdate=M,s===null&&(f.shared.lanes=0),$M|=l,e.lanes=l,e.memoizedState=v}}function e$(e,r){if(typeof e!=="function")throw Error(Yt(191,e));e.call(r)}function t$(e,r){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)e$(a[e],r)}var Pk=oZ(null),cj=oZ(0);function ZQ(e,r){e=VZ,Ta(cj,e),Ta(Pk,r),VZ=e|r.baseLanes}function iB(){Ta(cj,VZ),Ta(Pk,Pk.current)}function $B(){VZ=cj.current,wi(Pk),wi(cj)}var Yl=oZ(null),lc=null;function DM(e){var r=e.alternate;Ta(En,En.current&1),Ta(Yl,e),lc===null&&(r===null||Pk.current!==null?lc=e:r.memoizedState!==null&&(lc=e))}function fB(e){Ta(En,En.current),Ta(Yl,e),lc===null&&(lc=e)}function r$(e){e.tag===22?(Ta(En,En.current),Ta(Yl,e),lc===null&&(lc=e)):EM(e)}function EM(){Ta(En,En.current),Ta(Yl,Yl.current)}function zl(e){wi(Yl),lc===e&&(lc=null),wi(En)}var En=oZ(0);function uj(e){for(var r=e;r!==null;){if(r.tag===13){var a=r.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||kB(a)||CB(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,va=null,fi=null,dj=!1,Sk=!1,vz=!1,Zj=0,qP=0,Lk=null,N_e=0;function xn(){throw Error(Yt(321))}function eY(e,r){if(r===null)return!1;for(var a=0;a<r.length&&a<e.length;a++)if(!Bl(e[a],r[a]))return!1;return!0}function tY(e,r,a,i,f,s){return UZ=s,co=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,qr.H=e===null||e.memoizedState===null?T$:dY,vz=!1,s=a(i,f),vz=!1,Sk&&(s=a$(r,a,i,f)),o$(e),s}function o$(e){qr.H=HP;var r=va!==null&&va.next!==null;if(UZ=0,fi=va=co=null,dj=!1,qP=0,Lk=null,r)throw Error(Yt(300));e===null||ci||(e=e.dependencies,e!==null&&sj(e)&&(ci=!0))}function a$(e,r,a,i){co=e;var f=0;do{if(Sk&&(Lk=null),qP=0,Sk=!1,25<=f)throw Error(Yt(301));if(f+=1,fi=va=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}qr.H=A$,s=r(a,i)}while(Sk);return s}function F_e(){var e=qr.H,r=e.useState()[0];return r=typeof r.then==="function"?aT(r):r,e=e.useState()[0],(va!==null?va.memoizedState:null)!==e&&(co.flags|=1024),r}function rY(){var e=Zj!==0;return Zj=0,e}function oY(e,r,a){r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~a}function aY(e){if(dj){for(e=e.memoizedState;e!==null;){var r=e.queue;r!==null&&(r.pending=null),e=e.next}dj=!1}UZ=0,fi=va=co=null,Sk=!1,qP=Zj=0,Lk=null}function as(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return fi===null?co.memoizedState=fi=e:fi=fi.next=e,fi}function On(){if(va===null){var e=co.alternate;e=e!==null?e.memoizedState:null}else e=va.next;var r=fi===null?co.memoizedState:fi.next;if(r!==null)fi=r,va=e;else{if(e===null){if(co.alternate===null)throw Error(Yt(467));throw Error(Yt(310))}va=e,e={memoizedState:va.memoizedState,baseState:va.baseState,baseQueue:va.baseQueue,queue:va.queue,next:null},fi===null?co.memoizedState=fi=e:fi=fi.next=e}return fi}function Oj(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function aT(e){var r=qP;return qP+=1,Lk===null&&(Lk=[]),e=QJ(Lk,e,r),r=co,(fi===null?r.memoizedState:fi.next)===null&&(r=r.alternate,qr.H=r===null||r.memoizedState===null?T$:dY),e}function jj(e){if(e!==null&&typeof e==="object"){if(typeof e.then==="function")return aT(e);if(e.$$typeof===EZ)return Xi(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(f){return f.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),a===null&&(a=Oj(),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]=zbe;return r.index++,a}function qZ(e,r){return typeof r==="function"?r(e):r}function HO(e){var r=On();return iY(r,va,e)}function iY(e,r,a){var i=e.queue;if(i===null)throw Error(Yt(311));i.lastRenderedReducer=a;var f=e.baseQueue,s=i.pending;if(s!==null){if(f!==null){var l=f.next;f.next=s.next,s.next=l}r.baseQueue=f=s,i.pending=null}if(s=e.baseState,f===null)e.memoizedState=s;else{r=f.next;var c=l=null,m=null,g=r,M=!1;do{var v=g.lane&-536870913;if(v!==g.lane?(_o&v)===v:(UZ&v)===v){var y=g.revertLane;if(y===0)m!==null&&(m=m.next={lane:0,revertLane:0,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null}),v===Rk&&(M=!0);else if((UZ&y)===y){g=g.next,y===Rk&&(M=!0);continue}else v={lane:0,revertLane:g.revertLane,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},m===null?(c=m=v,l=s):m=m.next=v,co.lanes|=y,$M|=y;v=g.action,vz&&a(s,v),s=g.hasEagerState?g.eagerState:a(s,v)}else y={lane:v,revertLane:g.revertLane,gesture:g.gesture,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},m===null?(c=m=y,l=s):m=m.next=y,co.lanes|=v,$M|=v;g=g.next}while(g!==null&&g!==r);if(m===null?l=s:m.next=c,!Bl(s,e.memoizedState)&&(ci=!0,M&&(a=wk,a!==null)))throw a;e.memoizedState=s,e.baseState=l,e.baseQueue=m,i.lastRenderedState=s}return f===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function M6(e){var r=On(),a=r.queue;if(a===null)throw Error(Yt(311));a.lastRenderedReducer=e;var{dispatch:i,pending:f}=a,s=r.memoizedState;if(f!==null){a.pending=null;var l=f=f.next;do s=e(s,l.action),l=l.next;while(l!==f);Bl(s,r.memoizedState)||(ci=!0),r.memoizedState=s,r.baseQueue===null&&(r.baseState=s),a.lastRenderedState=s}return[s,i]}function n$(e,r,a){var i=co,f=On(),s=zo;if(s){if(a===void 0)throw Error(Yt(407));a=a()}else a=r();var l=!Bl((va||f).memoizedState,a);if(l&&(f.memoizedState=a,ci=!0),f=f.queue,fY(s$.bind(null,i,f,e),[e]),f.getSnapshot!==r||l||fi!==null&&fi.memoizedState.tag&1){if(i.flags|=2048,Tk(9,{destroy:void 0},f$.bind(null,i,f,a,r),null),Ca===null)throw Error(Yt(349));s||(UZ&127)!==0||i$(i,r,a)}return a}function i$(e,r,a){e.flags|=16384,e={getSnapshot:r,value:a},r=co.updateQueue,r===null?(r=Oj(),co.updateQueue=r,r.stores=[e]):(a=r.stores,a===null?r.stores=[e]:a.push(e))}function f$(e,r,a,i){r.value=a,r.getSnapshot=i,l$(r)&&c$(e)}function s$(e,r,a){return a(function(){l$(r)&&c$(e)})}function l$(e){var r=e.getSnapshot;e=e.value;try{var a=r();return!Bl(e,a)}catch(i){return!0}}function c$(e){var r=wz(e,2);r!==null&&Hs(r,e,2)}function sB(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 u$(e,r,a,i){return e.baseState=a,iY(e,va,typeof i==="function"?i:qZ)}function B_e(e,r,a,i,f){if(Fj(e))throw Error(Yt(485));if(e=r.action,e!==null){var s={payload:f,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(l){s.listeners.push(l)}};qr.T!==null?a(!0):s.isTransition=!1,i(s),a=r.pending,a===null?(s.next=r.pending=s,d$(r,s)):(s.next=a.next,r.pending=a.next=s)}}function d$(e,r){var{action:a,payload:i}=r,f=e.state;if(r.isTransition){var s=qr.T,l={};qr.T=l;try{var c=a(f,i),m=qr.S;m!==null&&m(l,c),pQ(e,r,c)}catch(g){lB(e,r,g)}finally{s!==null&&l.types!==null&&(s.types=l.types),qr.T=s}}else try{s=a(f,i),pQ(e,r,s)}catch(g){lB(e,r,g)}}function pQ(e,r,a){a!==null&&typeof a==="object"&&typeof a.then==="function"?a.then(function(i){mQ(e,r,i)},function(i){return lB(e,r,i)}):mQ(e,r,a)}function mQ(e,r,a){r.status="fulfilled",r.value=a,Z$(r),e.state=a,r=e.pending,r!==null&&(a=r.next,a===r?e.pending=null:(a=a.next,r.next=a,d$(e,a)))}function lB(e,r,a){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do r.status="rejected",r.reason=a,Z$(r),r=r.next;while(r!==i)}e.action=null}function Z$(e){e=e.listeners;for(var r=0;r<e.length;r++)(0,e[r])()}function p$(e,r){return r}function hQ(e,r){if(zo){var a=Ca.formState;if(a!==null){e:{var i=co;if(zo){if(Ua){t:{var f=Ua;for(var s=sc;f.nodeType!==8;){if(!s){f=null;break t}if(f=uc(f.nextSibling),f===null){f=null;break t}}s=f.data,f=s==="F!"||s==="F"?f:null}if(f){Ua=uc(f.nextSibling),i=f.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:p$,lastRenderedState:r},a.queue=i,a=I$.bind(null,co,i),i.dispatch=a,i=sB(!1),s=uY.bind(null,co,!1,i.queue),i=as(),f={state:r,dispatch:null,action:e,pending:null},i.queue=f,a=B_e.bind(null,co,f,s,a),f.dispatch=a,i.memoizedState=e,[r,a,!1]}function gQ(e){var r=On();return m$(r,va,e)}function m$(e,r,a){if(r=iY(e,r,p$)[0],e=HO(qZ)[0],typeof r==="object"&&r!==null&&typeof r.then==="function")try{var i=aT(r)}catch(l){if(l===Bk)throw Ej;throw l}else i=r;r=On();var f=r.queue,s=f.dispatch;return a!==r.memoizedState&&(co.flags|=2048,Tk(9,{destroy:void 0},Y_e.bind(null,f,a),null)),[i,s,e]}function Y_e(e,r){e.action=r}function MQ(e){var r=On(),a=va;if(a!==null)return m$(r,a,e);On(),r=r.memoizedState,a=On();var i=a.queue.dispatch;return a.memoizedState=e,[r,i,!1]}function Tk(e,r,a,i){return e={tag:e,create:a,deps:i,inst:r,next:null},r=co.updateQueue,r===null&&(r=Oj(),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 h$(){return On().memoizedState}function VO(e,r,a,i){var f=as();co.flags|=e,f.memoizedState=Tk(1|r,{destroy:void 0},a,i===void 0?null:i)}function Nj(e,r,a,i){var f=On();i=i===void 0?null:i;var s=f.memoizedState.inst;va!==null&&i!==null&&eY(i,va.memoizedState.deps)?f.memoizedState=Tk(r,s,a,i):(co.flags|=e,f.memoizedState=Tk(1|r,s,a,i))}function vQ(e,r){VO(8390656,8,e,r)}function fY(e,r){Nj(2048,8,e,r)}function U_e(e){co.flags|=4;var r=co.updateQueue;if(r===null)r=Oj(),co.updateQueue=r,r.events=[e];else{var a=r.events;a===null?r.events=[e]:a.push(e)}}function g$(e){var r=On().memoizedState;return U_e({ref:r,nextImpl:e}),function(){if((No&2)!==0)throw Error(Yt(440));return r.impl.apply(void 0,arguments)}}function M$(e,r){return Nj(4,2,e,r)}function v$(e,r){return Nj(4,4,e,r)}function x$(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 y$(e,r,a){a=a!==null&&a!==void 0?a.concat([e]):null,Nj(4,4,x$.bind(null,r,e),a)}function sY(){}function b$(e,r){var a=On();r=r===void 0?null:r;var i=a.memoizedState;if(r!==null&&eY(r,i[1]))return i[0];return a.memoizedState=[e,r],e}function _$(e,r){var a=On();r=r===void 0?null:r;var i=a.memoizedState;if(r!==null&&eY(r,i[1]))return i[0];if(i=e(),vz){jM(!0);try{e()}finally{jM(!1)}}return a.memoizedState=[i,r],i}function lY(e,r,a){if(a===void 0||(UZ&1073741824)!==0&&(_o&261930)===0)return e.memoizedState=r;return e.memoizedState=a,e=see(),co.lanes|=e,$M|=e,a}function w$(e,r,a,i){if(Bl(a,r))return a;if(Pk.current!==null)return e=lY(e,a,i),Bl(e,r)||(ci=!0),e;if((UZ&42)===0||(UZ&1073741824)!==0&&(_o&261930)===0)return ci=!0,e.memoizedState=a;return e=see(),co.lanes|=e,$M|=e,r}function z$(e,r,a,i,f){var s=Bo.p;Bo.p=s!==0&&8>s?s:8;var l=qr.T,c={};qr.T=c,uY(e,!1,r,a);try{var m=f(),g=qr.S;if(g!==null&&g(c,m),m!==null&&typeof m==="object"&&typeof m.then==="function"){var M=j_e(m,i);RP(e,r,M,cc(e))}else RP(e,r,i,cc(e))}catch(v){RP(e,r,{then:function(){},status:"rejected",reason:v},cc())}finally{Bo.p=s,l!==null&&c.types!==null&&(l.types=c.types),qr.T=l}}function q_e(){}function cB(e,r,a,i){if(e.tag!==5)throw Error(Yt(476));var f=S$(e).queue;z$(e,f,r,lz,a===null?q_e:function(){return L$(e),a(i)})}function S$(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 L$(e){var r=S$(e);r.next===null&&(r=e.alternate.memoizedState),RP(e,r.next.queue,{},cc())}function cY(){return Xi(GP)}function k$(){return On().memoizedState}function C$(){return On().memoizedState}function H_e(e){for(var r=e.return;r!==null;){switch(r.tag){case 24:case 3:var a=cc();e=Zz(a);var i=pz(r,e,a);i!==null&&(Hs(i,r,a),kP(i,r,a)),r={cache:KB()},e.payload=r;return}r=r.return}}function V_e(e,r,a){var i=cc();a={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Fj(e)?R$(r,a):(a=HB(e,r,a,i),a!==null&&(Hs(a,e,i),P$(a,r,i)))}function I$(e,r,a){var i=cc();RP(e,r,a,i)}function RP(e,r,a,i){var f={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Fj(e))R$(r,f);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=r.lastRenderedReducer,s!==null))try{var l=r.lastRenderedState,c=s(l,a);if(f.hasEagerState=!0,f.eagerState=c,Bl(c,l))return Dj(e,r,f,0),Ca===null&&Aj(),!1}catch(m){}finally{}if(a=HB(e,r,f,i),a!==null)return Hs(a,e,i),P$(a,r,i),!0}return!1}function uY(e,r,a,i){if(i={lane:2,revertLane:xY(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Fj(e)){if(r)throw Error(Yt(479))}else r=HB(e,a,i,2),r!==null&&Hs(r,e,2)}function Fj(e){var r=e.alternate;return e===co||r!==null&&r===co}function R$(e,r){Sk=dj=!0;var a=e.pending;a===null?r.next=r:(r.next=a.next,a.next=r),e.pending=r}function P$(e,r,a){if((a&4194048)!==0){var i=r.lanes;i&=e.pendingLanes,a|=i,r.lanes=a,hJ(e,a)}}var HP={readContext:Xi,use:jj,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};HP.useEffectEvent=xn;var T$={readContext:Xi,use:jj,useCallback:function(e,r){return as().memoizedState=[e,r===void 0?null:r],e},useContext:Xi,useEffect:vQ,useImperativeHandle:function(e,r,a){a=a!==null&&a!==void 0?a.concat([e]):null,VO(4194308,4,x$.bind(null,r,e),a)},useLayoutEffect:function(e,r){return VO(4194308,4,e,r)},useInsertionEffect:function(e,r){VO(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 f=a(r);if(vz){jM(!0);try{a(r)}finally{jM(!1)}}}else f=r;return i.memoizedState=i.baseState=f,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:f},i.queue=e,e=e.dispatch=V_e.bind(null,co,e),[i.memoizedState,e]},useRef:function(e){var r=as();return e={current:e},r.memoizedState=e},useState:function(e){e=sB(e);var r=e.queue,a=I$.bind(null,co,r);return r.dispatch=a,[e.memoizedState,a]},useDebugValue:sY,useDeferredValue:function(e,r){var a=as();return lY(a,e,r)},useTransition:function(){var e=sB(!1);return e=z$.bind(null,co,e.queue,!0,!1),as().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,r,a){var i=co,f=as();if(zo){if(a===void 0)throw Error(Yt(407));a=a()}else{if(a=r(),Ca===null)throw Error(Yt(349));(_o&127)!==0||i$(i,r,a)}f.memoizedState=a;var s={value:a,getSnapshot:r};return f.queue=s,vQ(s$.bind(null,i,s,e),[e]),i.flags|=2048,Tk(9,{destroy:void 0},f$.bind(null,i,s,a,r),null),a},useId:function(){var e=as(),r=Ca.identifierPrefix;if(zo){var a=eZ,i=Jd;a=(i&~(1<<32-Fl(i)-1)).toString(32)+a,r="_"+r+"R_"+a,a=Zj++,0<a&&(r+="H"+a.toString(32)),r+="_"}else a=N_e++,r="_"+r+"r_"+a.toString(32)+"_";return e.memoizedState=r},useHostTransitionStatus:cY,useFormState:hQ,useActionState:hQ,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=uY.bind(null,co,!0,a),a.dispatch=r,[e,r]},useMemoCache:nY,useCacheRefresh:function(){return as().memoizedState=H_e.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)}}},dY={readContext:Xi,use:jj,useCallback:b$,useContext:Xi,useEffect:fY,useImperativeHandle:y$,useInsertionEffect:M$,useLayoutEffect:v$,useMemo:_$,useReducer:HO,useRef:h$,useState:function(){return HO(qZ)},useDebugValue:sY,useDeferredValue:function(e,r){var a=On();return w$(a,va.memoizedState,e,r)},useTransition:function(){var e=HO(qZ)[0],r=On().memoizedState;return[typeof e==="boolean"?e:aT(e),r]},useSyncExternalStore:n$,useId:k$,useHostTransitionStatus:cY,useFormState:gQ,useActionState:gQ,useOptimistic:function(e,r){var a=On();return u$(a,va,e,r)},useMemoCache:nY,useCacheRefresh:C$};dY.useEffectEvent=g$;var A$={readContext:Xi,use:jj,useCallback:b$,useContext:Xi,useEffect:fY,useImperativeHandle:y$,useInsertionEffect:M$,useLayoutEffect:v$,useMemo:_$,useReducer:M6,useRef:h$,useState:function(){return M6(qZ)},useDebugValue:sY,useDeferredValue:function(e,r){var a=On();return va===null?lY(a,e,r):w$(a,va.memoizedState,e,r)},useTransition:function(){var e=M6(qZ)[0],r=On().memoizedState;return[typeof e==="boolean"?e:aT(e),r]},useSyncExternalStore:n$,useId:k$,useHostTransitionStatus:cY,useFormState:MQ,useActionState:MQ,useOptimistic:function(e,r){var a=On();if(va!==null)return u$(a,va,e,r);return a.baseState=e,[e,a.queue.dispatch]},useMemoCache:nY,useCacheRefresh:C$};A$.useEffectEvent=g$;function v6(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 uB={enqueueSetState:function(e,r,a){e=e._reactInternals;var i=cc(),f=Zz(i);f.payload=r,a!==void 0&&a!==null&&(f.callback=a),r=pz(e,f,i),r!==null&&(Hs(r,e,i),kP(r,e,i))},enqueueReplaceState:function(e,r,a){e=e._reactInternals;var i=cc(),f=Zz(i);f.tag=1,f.payload=r,a!==void 0&&a!==null&&(f.callback=a),r=pz(e,f,i),r!==null&&(Hs(r,e,i),kP(r,e,i))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var a=cc(),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),kP(r,e,a))}};function xQ(e,r,a,i,f,s,l){return e=e.stateNode,typeof e.shouldComponentUpdate==="function"?e.shouldComponentUpdate(i,s,l):r.prototype&&r.prototype.isPureReactComponent?!FP(a,i)||!FP(f,s):!0}function yQ(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&&uB.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 f in e)a[f]===void 0&&(a[f]=e[f])}return a}function W_e(e){nj(e)}function G_e(e){console.error(e)}function K_e(e){nj(e)}function pj(e,r){try{var a=e.onUncaughtError;a(r.value,{componentStack:r.stack})}catch(i){setTimeout(function(){throw i})}}function bQ(e,r,a){try{var i=e.onCaughtError;i(a.value,{componentStack:a.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function dB(e,r,a){return a=Zz(a),a.tag=3,a.payload={element:null},a.callback=function(){pj(e,r)},a}function D$(e){return e=Zz(e),e.tag=3,e}function E$(e,r,a,i){var f=a.type.getDerivedStateFromError;if(typeof f==="function"){var s=i.value;e.payload=function(){return f(s)},e.callback=function(){bQ(r,a,i)}}var l=a.stateNode;l!==null&&typeof l.componentDidCatch==="function"&&(e.callback=function(){bQ(r,a,i),typeof f!=="function"&&(HM===null?HM=new Set([this]):HM.add(this));var c=i.stack;this.componentDidCatch(i.value,{componentStack:c!==null?c:""})})}function X_e(e,r,a,i,f){if(a.flags|=32768,i!==null&&typeof i==="object"&&typeof i.then==="function"){if(r=a.alternate,r!==null&&Fk(r,a,f,!0),a=Yl.current,a!==null){switch(a.tag){case 31:case 13:return lc===null?vj():a.alternate===null&&yn===0&&(yn=3),a.flags&=-257,a.flags|=65536,a.lanes=f,i===lj?a.flags|=16384:(r=a.updateQueue,r===null?a.updateQueue=new Set([i]):r.add(i),I6(e,i,f)),!1;case 22:return a.flags|=65536,i===lj?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)),I6(e,i,f)),!1}throw Error(Yt(435,a.tag))}return I6(e,i,f),vj(),!1}if(zo)return r=Yl.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=f,i!==$6&&(e=Error(Yt(422),{cause:i}),YP(fc(e,a)))):(i!==$6&&(r=Error(Yt(423),{cause:i}),YP(fc(r,a))),e=e.current.alternate,e.flags|=65536,f&=-f,e.lanes|=f,i=fc(i,a),f=dB(e.stateNode,i,f),g6(e,f),yn!==4&&(yn=2)),!1;var s=Error(Yt(520),{cause:i});if(s=fc(s,a),AP===null?AP=[s]:AP.push(s),yn!==4&&(yn=2),r===null)return!0;i=fc(i,a),a=r;do{switch(a.tag){case 3:return a.flags|=65536,e=f&-f,a.lanes|=e,e=dB(a.stateNode,i,e),g6(a,e),!1;case 1:if(r=a.type,s=a.stateNode,(a.flags&128)===0&&(typeof r.getDerivedStateFromError==="function"||s!==null&&typeof s.componentDidCatch==="function"&&(HM===null||!HM.has(s))))return a.flags|=65536,f&=-f,a.lanes|=f,f=D$(f),E$(f,e,a,i),g6(a,f),!1}a=a.return}while(a!==null);return!1}var ZY=Error(Yt(461)),ci=!1;function Wi(e,r,a,i){r.child=e===null?$J(r,null,a,i):Mz(r,e.child,a,i)}function _Q(e,r,a,i,f){a=a.render;var s=r.ref;if("ref"in i){var l={};for(var c in i)c!=="ref"&&(l[c]=i[c])}else l=i;if(gz(r),i=tY(e,r,a,l,s,f),c=rY(),e!==null&&!ci)return oY(e,r,f),HZ(e,r,f);return zo&&c&&WB(r),r.flags|=1,Wi(e,r,i,f),r.child}function wQ(e,r,a,i,f){if(e===null){var s=a.type;if(typeof s==="function"&&!VB(s)&&s.defaultProps===void 0&&a.compare===null)return r.tag=15,r.type=s,O$(e,r,s,i,f);return e=UO(a.type,null,i,r,r.mode,f),e.ref=r.ref,e.return=r,r.child=e}if(s=e.child,!pY(e,f)){var l=s.memoizedProps;if(a=a.compare,a=a!==null?a:FP,a(l,i)&&e.ref===r.ref)return HZ(e,r,f)}return r.flags|=1,e=NZ(s,i),e.ref=r.ref,e.return=r,r.child=e}function O$(e,r,a,i,f){if(e!==null){var s=e.memoizedProps;if(FP(s,i)&&e.ref===r.ref)if(ci=!1,r.pendingProps=i=s,pY(e,f))(e.flags&131072)!==0&&(ci=!0);else return r.lanes=e.lanes,HZ(e,r,f)}return ZB(e,r,a,i,f)}function j$(e,r,a,i){var f=i.children,s=e!==null?e.memoizedState:null;if(e===null&&r.stateNode===null&&(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((r.flags&128)!==0){if(s=s!==null?s.baseLanes|a:a,e!==null){i=r.child=e.child;for(f=0;i!==null;)f=f|i.lanes|i.childLanes,i=i.sibling;i=f&~s}else i=0,r.child=null;return zQ(e,r,s,a,i)}if((a&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},e!==null&&qO(r,s!==null?s.cachePool:null),s!==null?ZQ(r,s):iB(),r$(r);else return i=r.lanes=536870912,zQ(e,r,s!==null?s.baseLanes|a:a,a,i)}else s!==null?(qO(r,s.cachePool),ZQ(r,s),EM(r),r.memoizedState=null):(e!==null&&qO(r,null),iB(),EM(r));return Wi(e,r,f,a),r.child}function xP(e,r){return e!==null&&e.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function zQ(e,r,a,i,f){var s=XB();return s=s===null?null:{parent:li._currentValue,pool:s},r.memoizedState={baseLanes:a,cachePool:s},e!==null&&qO(r,null),iB(),r$(r),e!==null&&Fk(e,r,i,!0),r.childLanes=f,null}function WO(e,r){return r=mj({mode:r.mode,children:r.children},e.mode),r.ref=e.ref,e.child=r,r.return=e,r}function SQ(e,r,a){return Mz(r,e.child,null,a),e=WO(r,r.pendingProps),e.flags|=2,zl(r),r.memoizedState=null,e}function Q_e(e,r,a){var i=r.pendingProps,f=(r.flags&128)!==0;if(r.flags&=-129,e===null){if(zo){if(i.mode==="hidden")return e=WO(r,i),r.lanes=536870912,xP(null,e);if(fB(r),(e=Ua)?(e=Ree(e,sc),e=e!==null&&e.data==="&"?e:null,e!==null&&(r.memoizedState={dehydrated:e,treeContext:XM!==null?{id:Jd,overflow:eZ}:null,retryLane:536870912,hydrationErrors:null},a=VJ(e),a.return=r,r.child=a,Ki=r,Ua=null)):e=null,e===null)throw QM(r);return r.lanes=536870912,null}return WO(r,i)}var s=e.memoizedState;if(s!==null){var l=s.dehydrated;if(fB(r),f)if(r.flags&256)r.flags&=-257,r=SQ(e,r,a);else if(r.memoizedState!==null)r.child=e.child,r.flags|=128,r=null;else throw Error(Yt(558));else if(ci||Fk(e,r,a,!1),f=(a&e.childLanes)!==0,ci||f){if(i=Ca,i!==null&&(l=gJ(i,a),l!==0&&l!==s.retryLane))throw s.retryLane=l,wz(e,l),Hs(i,e,l),ZY;vj(),r=SQ(e,r,a)}else e=s.treeContext,Ua=uc(l.nextSibling),Ki=r,zo=!0,qM=null,sc=!1,e!==null&&GJ(r,e),r=WO(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 GO(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 ZB(e,r,a,i,f){if(gz(r),a=tY(e,r,a,i,void 0,f),i=rY(),e!==null&&!ci)return oY(e,r,f),HZ(e,r,f);return zo&&i&&WB(r),r.flags|=1,Wi(e,r,a,f),r.child}function LQ(e,r,a,i,f,s){if(gz(r),r.updateQueue=null,a=a$(r,i,a,f),o$(e),i=rY(),e!==null&&!ci)return oY(e,r,s),HZ(e,r,s);return zo&&i&&WB(r),r.flags|=1,Wi(e,r,a,s),r.child}function kQ(e,r,a,i,f){if(gz(r),r.stateNode===null){var s=gk,l=a.contextType;typeof l==="object"&&l!==null&&(s=Xi(l)),s=new a(i,s),r.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=uB,r.stateNode=s,s._reactInternals=r,s=r.stateNode,s.props=i,s.state=r.memoizedState,s.refs={},JB(r),l=a.contextType,s.context=typeof l==="object"&&l!==null?Xi(l):gk,s.state=r.memoizedState,l=a.getDerivedStateFromProps,typeof l==="function"&&(v6(r,a,l,i),s.state=r.memoizedState),typeof a.getDerivedStateFromProps==="function"||typeof s.getSnapshotBeforeUpdate==="function"||typeof s.UNSAFE_componentWillMount!=="function"&&typeof s.componentWillMount!=="function"||(l=s.state,typeof s.componentWillMount==="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount==="function"&&s.UNSAFE_componentWillMount(),l!==s.state&&uB.enqueueReplaceState(s,s.state,null),IP(r,i,s,f),CP(),s.state=r.memoizedState),typeof s.componentDidMount==="function"&&(r.flags|=4194308),i=!0}else if(e===null){s=r.stateNode;var c=r.memoizedProps,m=xz(a,c);s.props=m;var g=s.context,M=a.contextType;l=gk,typeof M==="object"&&M!==null&&(l=Xi(M));var v=a.getDerivedStateFromProps;M=typeof v==="function"||typeof s.getSnapshotBeforeUpdate==="function",c=r.pendingProps!==c,M||typeof s.UNSAFE_componentWillReceiveProps!=="function"&&typeof s.componentWillReceiveProps!=="function"||(c||g!==l)&&yQ(r,s,i,l),TM=!1;var y=r.memoizedState;s.state=y,IP(r,i,s,f),CP(),g=r.memoizedState,c||y!==g||TM?(typeof v==="function"&&(v6(r,a,v,i),g=r.memoizedState),(m=TM||xQ(r,a,m,i,y,g,l))?(M||typeof s.UNSAFE_componentWillMount!=="function"&&typeof s.componentWillMount!=="function"||(typeof s.componentWillMount==="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount==="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount==="function"&&(r.flags|=4194308)):(typeof s.componentDidMount==="function"&&(r.flags|=4194308),r.memoizedProps=i,r.memoizedState=g),s.props=i,s.state=g,s.context=l,i=m):(typeof s.componentDidMount==="function"&&(r.flags|=4194308),i=!1)}else{s=r.stateNode,aB(e,r),l=r.memoizedProps,M=xz(a,l),s.props=M,v=r.pendingProps,y=s.context,g=a.contextType,m=gk,typeof g==="object"&&g!==null&&(m=Xi(g)),c=a.getDerivedStateFromProps,(g=typeof c==="function"||typeof s.getSnapshotBeforeUpdate==="function")||typeof s.UNSAFE_componentWillReceiveProps!=="function"&&typeof s.componentWillReceiveProps!=="function"||(l!==v||y!==m)&&yQ(r,s,i,m),TM=!1,y=r.memoizedState,s.state=y,IP(r,i,s,f),CP();var x=r.memoizedState;l!==v||y!==x||TM||e!==null&&e.dependencies!==null&&sj(e.dependencies)?(typeof c==="function"&&(v6(r,a,c,i),x=r.memoizedState),(M=TM||xQ(r,a,M,i,y,x,m)||e!==null&&e.dependencies!==null&&sj(e.dependencies))?(g||typeof s.UNSAFE_componentWillUpdate!=="function"&&typeof s.componentWillUpdate!=="function"||(typeof s.componentWillUpdate==="function"&&s.componentWillUpdate(i,x,m),typeof s.UNSAFE_componentWillUpdate==="function"&&s.UNSAFE_componentWillUpdate(i,x,m)),typeof s.componentDidUpdate==="function"&&(r.flags|=4),typeof s.getSnapshotBeforeUpdate==="function"&&(r.flags|=1024)):(typeof s.componentDidUpdate!=="function"||l===e.memoizedProps&&y===e.memoizedState||(r.flags|=4),typeof s.getSnapshotBeforeUpdate!=="function"||l===e.memoizedProps&&y===e.memoizedState||(r.flags|=1024),r.memoizedProps=i,r.memoizedState=x),s.props=i,s.state=x,s.context=m,i=M):(typeof s.componentDidUpdate!=="function"||l===e.memoizedProps&&y===e.memoizedState||(r.flags|=4),typeof s.getSnapshotBeforeUpdate!=="function"||l===e.memoizedProps&&y===e.memoizedState||(r.flags|=1024),i=!1)}return s=i,GO(e,r),i=(r.flags&128)!==0,s||i?(s=r.stateNode,a=i&&typeof a.getDerivedStateFromError!=="function"?null:s.render(),r.flags|=1,e!==null&&i?(r.child=Mz(r,e.child,null,f),r.child=Mz(r,null,a,f)):Wi(e,r,a,f),r.memoizedState=s.state,e=r.child):e=HZ(e,r,f),e}function CQ(e,r,a,i){return hz(),r.flags|=256,Wi(e,r,a,i),r.child}var x6={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function y6(e){return{baseLanes:e,cachePool:XJ()}}function b6(e,r,a){return e=e!==null?e.childLanes&~a:0,r&&(e|=Pl),e}function N$(e,r,a){var i=r.pendingProps,f=!1,s=(r.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(En.current&2)!==0),l&&(f=!0,r.flags&=-129),l=(r.flags&32)!==0,r.flags&=-33,e===null){if(zo){if(f?DM(r):EM(r),(e=Ua)?(e=Ree(e,sc),e=e!==null&&e.data!=="&"?e:null,e!==null&&(r.memoizedState={dehydrated:e,treeContext:XM!==null?{id:Jd,overflow:eZ}:null,retryLane:536870912,hydrationErrors:null},a=VJ(e),a.return=r,r.child=a,Ki=r,Ua=null)):e=null,e===null)throw QM(r);return CB(e)?r.lanes=32:r.lanes=536870912,null}var c=i.children;if(i=i.fallback,f)return EM(r),f=r.mode,c=mj({mode:"hidden",children:c},f),i=cz(i,f,a,null),c.return=r,i.return=r,c.sibling=i,r.child=c,i=r.child,i.memoizedState=y6(a),i.childLanes=b6(e,l,a),r.memoizedState=x6,xP(null,i);return DM(r),pB(r,c)}var m=e.memoizedState;if(m!==null&&(c=m.dehydrated,c!==null)){if(s)r.flags&256?(DM(r),r.flags&=-257,r=_6(e,r,a)):r.memoizedState!==null?(EM(r),r.child=e.child,r.flags|=128,r=null):(EM(r),c=i.fallback,f=r.mode,i=mj({mode:"visible",children:i.children},f),c=cz(c,f,a,null),c.flags|=2,i.return=r,c.return=r,i.sibling=c,r.child=i,Mz(r,e.child,null,a),i=r.child,i.memoizedState=y6(a),i.childLanes=b6(e,l,a),r.memoizedState=x6,r=xP(null,i));else if(DM(r),CB(c)){if(l=c.nextSibling&&c.nextSibling.dataset,l)var g=l.dgst;l=g,i=Error(Yt(419)),i.stack="",i.digest=l,YP({value:i,source:null,stack:null}),r=_6(e,r,a)}else if(ci||Fk(e,r,a,!1),l=(a&e.childLanes)!==0,ci||l){if(l=Ca,l!==null&&(i=gJ(l,a),i!==0&&i!==m.retryLane))throw m.retryLane=i,wz(e,i),Hs(l,e,i),ZY;kB(c)||vj(),r=_6(e,r,a)}else kB(c)?(r.flags|=192,r.child=e.child,r=null):(e=m.treeContext,Ua=uc(c.nextSibling),Ki=r,zo=!0,qM=null,sc=!1,e!==null&&GJ(r,e),r=pB(r,i.children),r.flags|=4096);return r}if(f)return EM(r),c=i.fallback,f=r.mode,m=e.child,g=m.sibling,i=NZ(m,{mode:"hidden",children:i.children}),i.subtreeFlags=m.subtreeFlags&65011712,g!==null?c=NZ(g,c):(c=cz(c,f,a,null),c.flags|=2),c.return=r,i.return=r,i.sibling=c,r.child=i,xP(null,i),i=r.child,c=e.child.memoizedState,c===null?c=y6(a):(f=c.cachePool,f!==null?(m=li._currentValue,f=f.parent!==m?{parent:m,pool:m}:f):f=XJ(),c={baseLanes:c.baseLanes|a,cachePool:f}),i.memoizedState=c,i.childLanes=b6(e,l,a),r.memoizedState=x6,xP(e.child,i);return DM(r),a=e.child,e=a.sibling,a=NZ(a,{mode:"visible",children:i.children}),a.return=r,a.sibling=null,e!==null&&(l=r.deletions,l===null?(r.deletions=[e],r.flags|=16):l.push(e)),r.child=a,r.memoizedState=null,a}function pB(e,r){return r=mj({mode:"visible",children:r},e.mode),r.return=e,e.child=r}function mj(e,r){return e=Ll(22,e,null,r),e.lanes=0,e}function _6(e,r,a){return Mz(r,e.child,null,a),e=pB(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function IQ(e,r,a){e.lanes|=r;var i=e.alternate;i!==null&&(i.lanes|=r),tB(e.return,r,a)}function w6(e,r,a,i,f,s){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:f,treeForkCount:s}:(l.isBackwards=r,l.rendering=null,l.renderingStartTime=0,l.last=i,l.tail=a,l.tailMode=f,l.treeForkCount=s)}function F$(e,r,a){var i=r.pendingProps,f=i.revealOrder,s=i.tail;i=i.children;var l=En.current,c=(l&2)!==0;if(c?(l=l&1|2,r.flags|=128):l&=1,Ta(En,l),Wi(e,r,i,a),i=zo?BP:0,!c&&e!==null&&(e.flags&128)!==0)e:for(e=r.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&IQ(e,a,r);else if(e.tag===19)IQ(e,a,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===r)break e;for(;e.sibling===null;){if(e.return===null||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(f){case"forwards":a=r.child;for(f=null;a!==null;)e=a.alternate,e!==null&&uj(e)===null&&(f=a),a=a.sibling;a=f,a===null?(f=r.child,r.child=null):(f=a.sibling,a.sibling=null),w6(r,!1,f,a,s,i);break;case"backwards":case"unstable_legacy-backwards":a=null,f=r.child;for(r.child=null;f!==null;){if(e=f.alternate,e!==null&&uj(e)===null){r.child=f;break}e=f.sibling,f.sibling=a,a=f,f=e}w6(r,!0,a,null,s,i);break;case"together":w6(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(Fk(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 pY(e,r){if((e.lanes&r)!==0)return!0;return e=e.dependencies,e!==null&&sj(e)?!0:!1}function J_e(e,r,a){switch(r.tag){case 3:tj(r,r.stateNode.containerInfo),AM(r,li,e.memoizedState.cache),hz();break;case 27:case 5:Y6(r);break;case 4:tj(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,fB(r),null;break;case 13:var i=r.memoizedState;if(i!==null){if(i.dehydrated!==null)return DM(r),r.flags|=128,null;if((a&r.child.childLanes)!==0)return N$(e,r,a);return DM(r),e=HZ(e,r,a),e!==null?e.sibling:null}DM(r);break;case 19:var f=(e.flags&128)!==0;if(i=(a&r.childLanes)!==0,i||(Fk(e,r,a,!1),i=(a&r.childLanes)!==0),f){if(i)return F$(e,r,a);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Ta(En,En.current),i)break;else return null;case 22:return r.lanes=0,j$(e,r,a,r.pendingProps);case 24:AM(r,li,e.memoizedState.cache)}return HZ(e,r,a)}function B$(e,r,a){if(e!==null)if(e.memoizedProps!==r.pendingProps)ci=!0;else{if(!pY(e,a)&&(r.flags&128)===0)return ci=!1,J_e(e,r,a);ci=(e.flags&131072)!==0?!0:!1}else ci=!1,zo&&(r.flags&1048576)!==0&&WJ(r,BP,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")VB(e)?(i=xz(e,i),r.tag=1,r=kQ(null,r,e,i,a)):(r.tag=0,r=ZB(null,r,e,i,a));else{if(e!==void 0&&e!==null){var f=e.$$typeof;if(f===TB){r.tag=11,r=_Q(null,r,e,i,a);break e}else if(f===AB){r.tag=14,r=wQ(null,r,e,i,a);break e}}throw r=F6(e)||e,Error(Yt(306,r,""))}}return r;case 0:return ZB(e,r,r.type,r.pendingProps,a);case 1:return i=r.type,f=xz(i,r.pendingProps),kQ(e,r,i,f,a);case 3:e:{if(tj(r,r.stateNode.containerInfo),e===null)throw Error(Yt(387));i=r.pendingProps;var s=r.memoizedState;f=s.element,aB(e,r),IP(r,i,null,a);var l=r.memoizedState;if(i=l.cache,AM(r,li,i),i!==s.cache&&rB(r,[li],a,!0),CP(),i=l.element,s.isDehydrated)if(s={element:i,isDehydrated:!1,cache:l.cache},r.updateQueue.baseState=s,r.memoizedState=s,r.flags&256){r=CQ(e,r,i,a);break e}else if(i!==f){f=fc(Error(Yt(424)),r),YP(f),r=CQ(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}Ua=uc(e.firstChild),Ki=r,zo=!0,qM=null,sc=!0,a=$J(r,null,i,a);for(r.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(hz(),i===f){r=HZ(e,r,a);break e}Wi(e,r,i,a)}r=r.child}return r;case 26:return GO(e,r),e===null?(a=XQ(r.type,null,r.pendingProps,null))?r.memoizedState=a:zo||(a=r.type,e=r.pendingProps,i=_j(UM.current).createElement(a),i[Gi]=r,i[Vs]=e,Qi(i,a,e),_i(i),r.stateNode=i):r.memoizedState=XQ(r.type,e.memoizedProps,r.pendingProps,e.memoizedState),null;case 27:return Y6(r),e===null&&zo&&(i=r.stateNode=Pee(r.type,r.pendingProps,UM.current),Ki=r,sc=!0,f=Ua,t8(r.type)?(IB=f,Ua=uc(i.firstChild)):Ua=f),Wi(e,r,r.pendingProps.children,a),GO(e,r),e===null&&(r.flags|=4194304),r.child;case 5:if(e===null&&zo){if(f=i=Ua)i=Swe(i,r.type,r.pendingProps,sc),i!==null?(r.stateNode=i,Ki=r,Ua=uc(i.firstChild),sc=!1,f=!0):f=!1;f||QM(r)}return Y6(r),f=r.type,s=r.pendingProps,l=e!==null?e.memoizedProps:null,i=s.children,SB(f,s)?i=null:l!==null&&SB(f,l)&&(r.flags|=32),r.memoizedState!==null&&(f=tY(e,r,F_e,null,null,a),GP._currentValue=f),GO(e,r),Wi(e,r,i,a),r.child;case 6:if(e===null&&zo){if(e=a=Ua)a=Lwe(a,r.pendingProps,sc),a!==null?(r.stateNode=a,Ki=r,Ua=null,e=!0):e=!1;e||QM(r)}return null;case 13:return N$(e,r,a);case 4:return tj(r,r.stateNode.containerInfo),i=r.pendingProps,e===null?r.child=Mz(r,null,i,a):Wi(e,r,i,a),r.child;case 11:return _Q(e,r,r.type,r.pendingProps,a);case 7:return Wi(e,r,r.pendingProps,a),r.child;case 8:return Wi(e,r,r.pendingProps.children,a),r.child;case 12:return Wi(e,r,r.pendingProps.children,a),r.child;case 10:return i=r.pendingProps,AM(r,r.type,i.value),Wi(e,r,i.children,a),r.child;case 9:return f=r.type._context,i=r.pendingProps.children,gz(r),f=Xi(f),i=i(f),r.flags|=1,Wi(e,r,i,a),r.child;case 14:return wQ(e,r,r.type,r.pendingProps,a);case 15:return O$(e,r,r.type,r.pendingProps,a);case 19:return F$(e,r,a);case 31:return Q_e(e,r,a);case 22:return j$(e,r,a,r.pendingProps);case 24:return gz(r),i=Xi(li),e===null?(f=XB(),f===null&&(f=Ca,s=KB(),f.pooledCache=s,s.refCount++,s!==null&&(f.pooledCacheLanes|=a),f=s),r.memoizedState={parent:i,cache:f},JB(r),AM(r,li,f)):((e.lanes&a)!==0&&(aB(e,r),IP(r,null,null,a),CP()),f=e.memoizedState,s=r.memoizedState,f.parent!==i?(f={parent:i,cache:i},r.memoizedState=f,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=f),AM(r,li,i)):(i=s.cache,AM(r,li,i),i!==f.cache&&rB(r,[li],a,!0))),Wi(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 z6(e,r,a,i,f){if(r=(e.mode&32)!==0)r=!1;if(r){if(e.flags|=16777216,(f&335544128)===f)if(e.stateNode.complete)e.flags|=8192;else if(uee())e.flags|=8192;else throw dz=lj,QB}else e.flags&=-16777217}function RQ(e,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Dee(r))if(uee())e.flags|=8192;else throw dz=lj,QB}function TO(e,r){r!==null&&(e.flags|=4),e.flags&16384&&(r=e.tag!==22?pJ():536870912,e.lanes|=r,Ak|=r)}function dP(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 Ba(e){var r=e.alternate!==null&&e.alternate.child===e.child,a=0,i=0;if(r)for(var f=e.child;f!==null;)a|=f.lanes|f.childLanes,i|=f.subtreeFlags&65011712,i|=f.flags&65011712,f.return=e,f=f.sibling;else for(f=e.child;f!==null;)a|=f.lanes|f.childLanes,i|=f.subtreeFlags,i|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=i,e.childLanes=a,r}function $_e(e,r,a){var i=r.pendingProps;switch(GB(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ba(r),null;case 1:return Ba(r),null;case 3:if(a=r.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),r.memoizedState.cache!==i&&(r.flags|=2048),FZ(li),kk(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),e===null||e.child===null)ak(r)?IZ(r):e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,h6());return Ba(r),null;case 26:var{type:f,memoizedState:s}=r;return e===null?(IZ(r),s!==null?(Ba(r),RQ(r,s)):(Ba(r),z6(r,f,null,i,a))):s?s!==e.memoizedState?(IZ(r),Ba(r),RQ(r,s)):(Ba(r),r.flags&=-16777217):(e=e.memoizedProps,e!==i&&IZ(r),Ba(r),z6(r,f,e,i,a)),null;case 27:if(rj(r),a=UM.current,f=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==i&&IZ(r);else{if(!i){if(r.stateNode===null)throw Error(Yt(166));return Ba(r),null}e=rZ.current,ak(r)?iQ(r,e):(e=Pee(f,i,a),r.stateNode=e,IZ(r))}return Ba(r),null;case 5:if(rj(r),f=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==i&&IZ(r);else{if(!i){if(r.stateNode===null)throw Error(Yt(166));return Ba(r),null}if(s=rZ.current,ak(r))iQ(r,s);else{var l=_j(UM.current);switch(s){case 1:s=l.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:s=l.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":s=l.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":s=l.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":s=l.createElement("div"),s.innerHTML="<script></script>",s=s.removeChild(s.firstChild);break;case"select":s=typeof i.is==="string"?l.createElement("select",{is:i.is}):l.createElement("select"),i.multiple?s.multiple=!0:i.size&&(s.size=i.size);break;default:s=typeof i.is==="string"?l.createElement(f,{is:i.is}):l.createElement(f)}}s[Gi]=r,s[Vs]=i;e:for(l=r.child;l!==null;){if(l.tag===5||l.tag===6)s.appendChild(l.stateNode);else if(l.tag!==4&&l.tag!==27&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break e;for(;l.sibling===null;){if(l.return===null||l.return===r)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}r.stateNode=s;e:switch(Qi(s,f,i),f){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&IZ(r)}}return Ba(r),z6(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,ak(r)){if(e=r.stateNode,a=r.memoizedProps,i=null,f=Ki,f!==null)switch(f.tag){case 27:case 5:i=f.memoizedProps}e[Gi]=r,e=e.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||kee(e.nodeValue,a)?!0:!1,e||QM(r,!0)}else e=_j(e).createTextNode(i),e[Gi]=r,r.stateNode=e}return Ba(r),null;case 31:if(a=r.memoizedState,e===null||e.memoizedState!==null){if(i=ak(r),a!==null){if(e===null){if(!i)throw Error(Yt(318));if(e=r.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Yt(557));e[Gi]=r}else hz(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;Ba(r),e=!1}else a=h6(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e){if(r.flags&256)return zl(r),r;return zl(r),null}if((r.flags&128)!==0)throw Error(Yt(558))}return Ba(r),null;case 13:if(i=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=ak(r),i!==null&&i.dehydrated!==null){if(e===null){if(!f)throw Error(Yt(318));if(f=r.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(Yt(317));f[Gi]=r}else hz(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;Ba(r),f=!1}else f=h6(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=f),f=!0;if(!f){if(r.flags&256)return zl(r),r;return zl(r),null}}if(zl(r),(r.flags&128)!==0)return r.lanes=a,r;return a=i!==null,e=e!==null&&e.memoizedState!==null,a&&(i=r.child,f=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(f=i.alternate.memoizedState.cachePool.pool),s=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(s=i.memoizedState.cachePool.pool),s!==f&&(i.flags|=2048)),a!==e&&a&&(r.child.flags|=8192),TO(r,r.updateQueue),Ba(r),null;case 4:return kk(),e===null&&See(r.stateNode.containerInfo),Ba(r),null;case 10:return FZ(r.type),Ba(r),null;case 19:if(wi(En),i=r.memoizedState,i===null)return Ba(r),null;if(f=(r.flags&128)!==0,s=i.rendering,s===null)if(f)dP(i,!1);else{if(yn!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(s=uj(e),s!==null){r.flags|=128,dP(i,!1),e=s.updateQueue,r.updateQueue=e,TO(r,e),r.subtreeFlags=0,e=a;for(a=r.child;a!==null;)HJ(a,e),a=a.sibling;return Ta(En,En.current&1|2),zo&&AZ(r,i.treeForkCount),r.child}e=e.sibling}i.tail!==null&&Ol()>gj&&(r.flags|=128,f=!0,dP(i,!1),r.lanes=4194304)}else{if(!f)if(e=uj(s),e!==null){if(r.flags|=128,f=!0,e=e.updateQueue,r.updateQueue=e,TO(r,e),dP(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!zo)return Ba(r),null}else 2*Ol()-i.renderingStartTime>gj&&a!==536870912&&(r.flags|=128,f=!0,dP(i,!1),r.lanes=4194304);i.isBackwards?(s.sibling=r.child,r.child=s):(e=i.last,e!==null?e.sibling=s:r.child=s,i.last=s)}if(i.tail!==null)return e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Ol(),e.sibling=null,a=En.current,Ta(En,f?a&1|2:a&1),zo&&AZ(r,i.treeForkCount),e;return Ba(r),null;case 22:case 23:return zl(r),$B(),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&&(Ba(r),r.subtreeFlags&6&&(r.flags|=8192)):Ba(r),a=r.updateQueue,a!==null&&TO(r,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),i=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(i=r.memoizedState.cachePool.pool),i!==a&&(r.flags|=2048),e!==null&&wi(uz),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),r.memoizedState.cache!==a&&(r.flags|=2048),FZ(li),Ba(r),null;case 25:return null;case 30:return null}throw Error(Yt(156,r.tag))}function ewe(e,r){switch(GB(r),r.tag){case 1:return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return FZ(li),kk(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 26:case 27:case 5:return rj(r),null;case 31:if(r.memoizedState!==null){if(zl(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(zl(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 wi(En),null;case 4:return kk(),null;case 10:return FZ(r.type),null;case 22:case 23:return zl(r),$B(),e!==null&&wi(uz),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 24:return FZ(li),null;case 25:return null;default:return null}}function Y$(e,r){switch(GB(r),r.tag){case 3:FZ(li),kk();break;case 26:case 27:case 5:rj(r);break;case 4:kk();break;case 31:r.memoizedState!==null&&zl(r);break;case 13:zl(r);break;case 19:wi(En);break;case 10:FZ(r.type);break;case 22:case 23:zl(r),$B(),e!==null&&wi(uz);break;case 24:FZ(li)}}function nT(e,r){try{var a=r.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var f=i.next;a=f;do{if((a.tag&e)===e){i=void 0;var s=a.create,l=a.inst;i=s(),l.destroy=i}a=a.next}while(a!==f)}}catch(c){ra(r,r.return,c)}}function JM(e,r,a){try{var i=r.updateQueue,f=i!==null?i.lastEffect:null;if(f!==null){var s=f.next;i=s;do{if((i.tag&e)===e){var l=i.inst,c=l.destroy;if(c!==void 0){l.destroy=void 0,f=r;var m=a,g=c;try{g()}catch(M){ra(f,m,M)}}}i=i.next}while(i!==s)}}catch(M){ra(r,r.return,M)}}function U$(e){var r=e.updateQueue;if(r!==null){var a=e.stateNode;try{t$(r,a)}catch(i){ra(e,e.return,i)}}}function q$(e,r,a){a.props=xz(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(i){ra(e,r,i)}}function PP(e,r){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof a==="function"?e.refCleanup=a(i):a.current=i}}catch(f){ra(e,r,f)}}function tZ(e,r){var a=e.ref,i=e.refCleanup;if(a!==null)if(typeof i==="function")try{i()}catch(f){ra(e,r,f)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a==="function")try{a(null)}catch(f){ra(e,r,f)}else a.current=null}function H$(e){var{type:r,memoizedProps:a,stateNode:i}=e;try{e:switch(r){case"button":case"input":case"select":case"textarea":a.autoFocus&&i.focus();break e;case"img":a.src?i.src=a.src:a.srcSet&&(i.srcset=a.srcSet)}}catch(f){ra(e,e.return,f)}}function S6(e,r,a){try{var i=e.stateNode;xwe(i,e.type,a,r),i[Vs]=r}catch(f){ra(e,e.return,f)}}function V$(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&t8(e.type)||e.tag===4}function L6(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||V$(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 mB(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(mB(e,r,a),e=e.sibling;e!==null;)mB(e,r,a),e=e.sibling}function hj(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(hj(e,r,a),e=e.sibling;e!==null;)hj(e,r,a),e=e.sibling}function W$(e){var{stateNode:r,memoizedProps:a}=e;try{for(var i=e.type,f=r.attributes;f.length;)r.removeAttributeNode(f[0]);Qi(r,i,a),r[Gi]=e,r[Vs]=a}catch(s){ra(e,e.return,s)}}var DZ=!1,si=!1,k6=!1,PQ=typeof WeakSet==="function"?WeakSet:Set,bi=null;function twe(e,r){if(e=e.containerInfo,wB=Lj,e=OJ(e),UB(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var i=a.getSelection&&a.getSelection();if(i&&i.rangeCount!==0){a=i.anchorNode;var f=i.anchorOffset,s=i.focusNode;i=i.focusOffset;try{a.nodeType,s.nodeType}catch(j){a=null;break e}var l=0,c=-1,m=-1,g=0,M=0,v=e,y=null;t:for(;;){for(var x;;){if(v!==a||f!==0&&v.nodeType!==3||(c=l+f),v!==s||i!==0&&v.nodeType!==3||(m=l+i),v.nodeType===3&&(l+=v.nodeValue.length),(x=v.firstChild)===null)break;y=v,v=x}for(;;){if(v===e)break t;if(y===a&&++g===f&&(c=l),y===s&&++M===i&&(m=l),(x=v.nextSibling)!==null)break;v=y,y=v.parentNode}v=x}a=c===-1||m===-1?null:{start:c,end:m}}else a=null}a=a||{start:0,end:0}}else a=null;zB={focusedElem:e,selectionRange:a},Lj=!1;for(bi=r;bi!==null;)if(r=bi,e=r.child,(r.subtreeFlags&1028)!==0&&e!==null)e.return=r,bi=e;else for(;bi!==null;){switch(r=bi,s=r.alternate,e=r.flags,r.tag){case 0:if((e&4)!==0&&(e=r.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)f=e[a],f.ref.impl=f.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&s!==null){e=void 0,a=r,f=s.memoizedProps,s=s.memoizedState,i=a.stateNode;try{var _=xz(a.type,f);e=i.getSnapshotBeforeUpdate(_,s),i.__reactInternalSnapshotBeforeUpdate=e}catch(j){ra(a,a.return,j)}}break;case 3:if((e&1024)!==0){if(e=r.stateNode.containerInfo,a=e.nodeType,a===9)LB(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":LB(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,bi=e;break}bi=r.return}}function G$(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(l){ra(a,a.return,l)}else{var f=xz(a.type,r.memoizedProps);r=r.memoizedState;try{e.componentDidUpdate(f,r,e.__reactInternalSnapshotBeforeUpdate)}catch(l){ra(a,a.return,l)}}i&64&&U$(a),i&512&&PP(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{t$(e,r)}catch(l){ra(a,a.return,l)}}break;case 27:r===null&&i&4&&W$(a);case 26:case 5:PZ(e,a),r===null&&i&4&&H$(a),i&512&&PP(a,a.return);break;case 12:PZ(e,a);break;case 31:PZ(e,a),i&4&&Q$(e,a);break;case 13:PZ(e,a),i&4&&J$(e,a),i&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=cwe.bind(null,a),kwe(e,a))));break;case 22:if(i=a.memoizedState!==null||DZ,!i){r=r!==null&&r.memoizedState!==null||si,f=DZ;var s=si;DZ=i,(si=r)&&!s?TZ(e,a,(a.subtreeFlags&8772)!==0):PZ(e,a),DZ=f,si=s}break;case 30:break;default:PZ(e,a)}}function K$(e){var r=e.alternate;r!==null&&(e.alternate=null,K$(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&OB(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;)X$(e,r,a),a=a.sibling}function X$(e,r,a){if(jl&&typeof jl.onCommitFiberUnmount==="function")try{jl.onCommitFiberUnmount(JP,a)}catch(s){}switch(a.tag){case 26:si||tZ(a,r),RZ(e,r,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:si||tZ(a,r);var i=ln,f=Ys;t8(a.type)&&(ln=a.stateNode,Ys=!1),RZ(e,r,a),EP(a.stateNode),ln=i,Ys=f;break;case 5:si||tZ(a,r);case 6:if(i=ln,f=Ys,ln=null,RZ(e,r,a),ln=i,Ys=f,ln!==null)if(Ys)try{(ln.nodeType===9?ln.body:ln.nodeName==="HTML"?ln.ownerDocument.body:ln).removeChild(a.stateNode)}catch(s){ra(a,r,s)}else try{ln.removeChild(a.stateNode)}catch(s){ra(a,r,s)}break;case 18:ln!==null&&(Ys?(e=ln,HQ(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),jk(e)):HQ(ln,a.stateNode));break;case 4:i=ln,f=Ys,ln=a.stateNode.containerInfo,Ys=!0,RZ(e,r,a),ln=i,Ys=f;break;case 0:case 11:case 14:case 15:JM(2,a,r),si||JM(4,a,r),RZ(e,r,a);break;case 1:si||(tZ(a,r),i=a.stateNode,typeof i.componentWillUnmount==="function"&&q$(a,r,i)),RZ(e,r,a);break;case 21:RZ(e,r,a);break;case 22:si=(i=si)||a.memoizedState!==null,RZ(e,r,a),si=i;break;default:RZ(e,r,a)}}function Q$(e,r){if(r.memoizedState===null&&(e=r.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{jk(e)}catch(a){ra(r,r.return,a)}}}function J$(e,r){if(r.memoizedState===null&&(e=r.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{jk(e)}catch(a){ra(r,r.return,a)}}function rwe(e){switch(e.tag){case 31:case 13:case 19:var r=e.stateNode;return r===null&&(r=e.stateNode=new PQ),r;case 22:return e=e.stateNode,r=e._retryCache,r===null&&(r=e._retryCache=new PQ),r;default:throw Error(Yt(435,e.tag))}}function AO(e,r){var a=rwe(e);r.forEach(function(i){if(!a.has(i)){a.add(i);var f=uwe.bind(null,e,i);i.then(f,f)}})}function Ts(e,r){var a=r.deletions;if(a!==null)for(var i=0;i<a.length;i++){var f=a[i],s=e,l=r,c=l;e:for(;c!==null;){switch(c.tag){case 27:if(t8(c.type)){ln=c.stateNode,Ys=!1;break e}break;case 5:ln=c.stateNode,Ys=!1;break e;case 3:case 4:ln=c.stateNode.containerInfo,Ys=!0;break e}c=c.return}if(ln===null)throw Error(Yt(160));X$(s,l,f),ln=null,Ys=!1,s=f.alternate,s!==null&&(s.return=null),f.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)$$(r,e),r=r.sibling}var ou=null;function $$(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&&(si||a===null||tZ(a,a.return)),i&64&&DZ&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?i:a.concat(i))));break;case 26:var f=ou;if(Ts(r,e),Es(e),i&512&&(si||a===null||tZ(a,a.return)),i&4){var s=a!==null?a.memoizedState:null;if(i=e.memoizedState,a===null)if(i===null)if(e.stateNode===null){e:{i=e.type,a=e.memoizedProps,f=f.ownerDocument||f;t:switch(i){case"title":if(s=f.getElementsByTagName("title")[0],!s||s[tT]||s[Gi]||s.namespaceURI==="http://www.w3.org/2000/svg"||s.hasAttribute("itemprop"))s=f.createElement(i),f.head.insertBefore(s,f.querySelector("head > title"));Qi(s,i,a),s[Gi]=e,_i(s),i=s;break e;case"link":var l=JQ("link","href",f).get(i+(a.href||""));if(l){for(var c=0;c<l.length;c++)if(s=l[c],s.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&s.getAttribute("rel")===(a.rel==null?null:a.rel)&&s.getAttribute("title")===(a.title==null?null:a.title)&&s.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){l.splice(c,1);break t}}s=f.createElement(i),Qi(s,i,a),f.head.appendChild(s);break;case"meta":if(l=JQ("meta","content",f).get(i+(a.content||""))){for(c=0;c<l.length;c++)if(s=l[c],s.getAttribute("content")===(a.content==null?null:""+a.content)&&s.getAttribute("name")===(a.name==null?null:a.name)&&s.getAttribute("property")===(a.property==null?null:a.property)&&s.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&s.getAttribute("charset")===(a.charSet==null?null:a.charSet)){l.splice(c,1);break t}}s=f.createElement(i),Qi(s,i,a),f.head.appendChild(s);break;default:throw Error(Yt(468,i))}s[Gi]=e,_i(s),i=s}e.stateNode=i}else $Q(f,e.type,e.stateNode);else e.stateNode=QQ(f,i,e.memoizedProps);else s!==i?(s===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):s.count--,i===null?$Q(f,e.type,e.stateNode):QQ(f,i,e.memoizedProps)):i===null&&e.stateNode!==null&&S6(e,e.memoizedProps,a.memoizedProps)}break;case 27:Ts(r,e),Es(e),i&512&&(si||a===null||tZ(a,a.return)),a!==null&&i&4&&S6(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Ts(r,e),Es(e),i&512&&(si||a===null||tZ(a,a.return)),e.flags&32){f=e.stateNode;try{Ik(f,"")}catch(_){ra(e,e.return,_)}}i&4&&e.stateNode!=null&&(f=e.memoizedProps,S6(e,f,a!==null?a.memoizedProps:f)),i&1024&&(k6=!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(_){ra(e,e.return,_)}}break;case 3:if(QO=null,f=ou,ou=wj(r.containerInfo),Ts(r,e),ou=f,Es(e),i&4&&a!==null&&a.memoizedState.isDehydrated)try{jk(r.containerInfo)}catch(_){ra(e,e.return,_)}k6&&(k6=!1,eee(e));break;case 4:i=ou,ou=wj(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,AO(e,i)));break;case 13:Ts(r,e),Es(e),e.child.flags&8192&&e.memoizedState!==null!==(a!==null&&a.memoizedState!==null)&&(Bj=Ol()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,AO(e,i)));break;case 22:f=e.memoizedState!==null;var m=a!==null&&a.memoizedState!==null,g=DZ,M=si;if(DZ=g||f,si=M||m,Ts(r,e),si=M,DZ=g,Es(e),i&8192)e:for(r=e.stateNode,r._visibility=f?r._visibility&-2:r._visibility|1,f&&(a===null||m||DZ||si||sz(e)),a=null,r=e;;){if(r.tag===5||r.tag===26){if(a===null){m=a=r;try{if(s=m.stateNode,f)l=s.style,typeof l.setProperty==="function"?l.setProperty("display","none","important"):l.display="none";else{c=m.stateNode;var v=m.memoizedProps.style,y=v!==void 0&&v!==null&&v.hasOwnProperty("display")?v.display:null;c.style.display=y==null||typeof y==="boolean"?"":(""+y).trim()}}catch(_){ra(m,m.return,_)}}}else if(r.tag===6){if(a===null){m=r;try{m.stateNode.nodeValue=f?"":m.memoizedProps}catch(_){ra(m,m.return,_)}}}else if(r.tag===18){if(a===null){m=r;try{var x=m.stateNode;f?VQ(x,!0):VQ(m.stateNode,!1)}catch(_){ra(m,m.return,_)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break e;for(;r.sibling===null;){if(r.return===null||r.return===e)break e;a===r&&(a=null),r=r.return}a===r&&(a=null),r.sibling.return=r.return,r=r.sibling}i&4&&(i=e.updateQueue,i!==null&&(a=i.retryQueue,a!==null&&(i.retryQueue=null,AO(e,a))));break;case 19:Ts(r,e),Es(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,AO(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(V$(i)){a=i;break}i=i.return}if(a==null)throw Error(Yt(160));switch(a.tag){case 27:var f=a.stateNode,s=L6(e);hj(e,s,f);break;case 5:var l=a.stateNode;a.flags&32&&(Ik(l,""),a.flags&=-33);var c=L6(e);hj(e,c,l);break;case 3:case 4:var m=a.stateNode.containerInfo,g=L6(e);mB(e,g,m);break;default:throw Error(Yt(161))}}catch(M){ra(e,e.return,M)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function eee(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var r=e;eee(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;)G$(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"&&q$(r,r.return,a),sz(r);break;case 27:EP(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,f=e,s=r,l=s.flags;switch(s.tag){case 0:case 11:case 15:TZ(f,s,a),nT(4,s);break;case 1:if(TZ(f,s,a),i=s,f=i.stateNode,typeof f.componentDidMount==="function")try{f.componentDidMount()}catch(g){ra(i,i.return,g)}if(i=s,f=i.updateQueue,f!==null){var c=i.stateNode;try{var m=f.shared.hiddenCallbacks;if(m!==null)for(f.shared.hiddenCallbacks=null,f=0;f<m.length;f++)e$(m[f],c)}catch(g){ra(i,i.return,g)}}a&&l&64&&U$(s),PP(s,s.return);break;case 27:W$(s);case 26:case 5:TZ(f,s,a),a&&i===null&&l&4&&H$(s),PP(s,s.return);break;case 12:TZ(f,s,a);break;case 31:TZ(f,s,a),a&&l&4&&Q$(f,s);break;case 13:TZ(f,s,a),a&&l&4&&J$(f,s);break;case 22:s.memoizedState===null&&TZ(f,s,a),PP(s,s.return);break;case 30:break;default:TZ(f,s,a)}r=r.sibling}}function mY(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 hY(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;)tee(e,r,a,i),r=r.sibling}function tee(e,r,a,i){var f=r.flags;switch(r.tag){case 0:case 11:case 15:ru(e,r,a,i),f&2048&&nT(9,r);break;case 1:ru(e,r,a,i);break;case 3:ru(e,r,a,i),f&2048&&(e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&oT(e)));break;case 12:if(f&2048){ru(e,r,a,i),e=r.stateNode;try{var s=r.memoizedProps,l=s.id,c=s.onPostCommit;typeof c==="function"&&c(l,r.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(m){ra(r,r.return,m)}}else 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:s=r.stateNode,l=r.alternate,r.memoizedState!==null?s._visibility&2?ru(e,r,a,i):TP(e,r):s._visibility&2?ru(e,r,a,i):(s._visibility|=2,ik(e,r,a,i,(r.subtreeFlags&10256)!==0||!1)),f&2048&&mY(l,r);break;case 24:ru(e,r,a,i),f&2048&&hY(r.alternate,r);break;default:ru(e,r,a,i)}}function ik(e,r,a,i,f){f=f&&((r.subtreeFlags&10256)!==0||!1);for(r=r.child;r!==null;){var s=e,l=r,c=a,m=i,g=l.flags;switch(l.tag){case 0:case 11:case 15:ik(s,l,c,m,f),nT(8,l);break;case 23:break;case 22:var M=l.stateNode;l.memoizedState!==null?M._visibility&2?ik(s,l,c,m,f):TP(s,l):(M._visibility|=2,ik(s,l,c,m,f)),f&&g&2048&&mY(l.alternate,l);break;case 24:ik(s,l,c,m,f),f&&g&2048&&hY(l.alternate,l);break;default:ik(s,l,c,m,f)}r=r.sibling}}function TP(e,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var a=e,i=r,f=i.flags;switch(i.tag){case 22:TP(a,i),f&2048&&mY(i.alternate,i);break;case 24:TP(a,i),f&2048&&hY(i.alternate,i);break;default:TP(a,i)}r=r.sibling}}var yP=8192;function nk(e,r,a){if(e.subtreeFlags&yP)for(e=e.child;e!==null;)ree(e,r,a),e=e.sibling}function ree(e,r,a){switch(e.tag){case 26:nk(e,r,a),e.flags&yP&&e.memoizedState!==null&&Fwe(a,ou,e.memoizedState,e.memoizedProps);break;case 5:nk(e,r,a);break;case 3:case 4:var i=ou;ou=wj(e.stateNode.containerInfo),nk(e,r,a),ou=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=yP,yP=16777216,nk(e,r,a),yP=i):nk(e,r,a));break;default:nk(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 ZP(e){var r=e.deletions;if((e.flags&16)!==0){if(r!==null)for(var a=0;a<r.length;a++){var i=r[a];bi=i,nee(i,e)}oee(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)aee(e),e=e.sibling}function aee(e){switch(e.tag){case 0:case 11:case 15:ZP(e),e.flags&2048&&JM(9,e,e.return);break;case 3:ZP(e);break;case 12:ZP(e);break;case 22:var r=e.stateNode;e.memoizedState!==null&&r._visibility&2&&(e.return===null||e.return.tag!==13)?(r._visibility&=-3,KO(e)):ZP(e);break;default:ZP(e)}}function KO(e){var r=e.deletions;if((e.flags&16)!==0){if(r!==null)for(var a=0;a<r.length;a++){var i=r[a];bi=i,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),KO(r);break;case 22:a=r.stateNode,a._visibility&2&&(a._visibility&=-3,KO(r));break;default:KO(r)}e=e.sibling}}function nee(e,r){for(;bi!==null;){var a=bi;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,bi=i;else e:for(a=e;bi!==null;){i=bi;var f=i.sibling,s=i.return;if(K$(i),i===a){bi=null;break e}if(f!==null){f.return=s,bi=f;break e}bi=s}}}var owe={getCacheForType:function(e){var r=Xi(li),a=r.data.get(e);return a===void 0&&(a=e(),r.data.set(e,a)),a},cacheSignal:function(){return Xi(li).controller.signal}},awe=typeof WeakMap==="function"?WeakMap:Map,No=0,Ca=null,Mo=null,_o=0,ta=0,Zl=null,FM=!1,Yk=!1,gY=!1,VZ=0,yn=0,$M=0,mz=0,MY=0,Pl=0,Ak=0,AP=null,qs=null,hB=!1,Bj=0,iee=0,gj=1/0,Mj=null,HM=null,pi=0,VM=null,Dk=null,BZ=0,gB=0,MB=null,fee=null,DP=0,vB=null;function cc(){return(No&2)!==0&&_o!==0?_o&-_o:qr.T!==null?xY():vJ()}function see(){if(Pl===0)if((_o&536870912)===0||zo){var e=SO;SO<<=1,(SO&3932160)===0&&(SO=262144),Pl=e}else Pl=536870912;return e=Yl.current,e!==null&&(e.flags|=32),Pl}function Hs(e,r,a){if(e===Ca&&(ta===2||ta===9)||e.cancelPendingCommit!==null)Ek(e,0),BM(e,_o,Pl,!1);if(Ij(e,a),(No&2)===0||e!==Ca)e===Ca&&((No&2)===0&&(mz|=a),yn===4&&BM(e,_o,Pl,!1)),WZ(e)}function lee(e,r,a){if((No&6)!==0)throw Error(Yt(327));var i=!a&&(r&127)===0&&(r&e.expiredLanes)===0||$P(e,r),f=i?fwe(e,r):C6(e,r,!0),s=i;do{if(f===0){Yk&&!i&&BM(e,r,0,!1);break}else{if(a=e.current.alternate,s&&!nwe(a)){f=C6(e,r,!1),s=!1;continue}if(f===2){if(s=r,e.errorRecoveryDisabledLanes&s)var l=0;else l=e.pendingLanes&-536870913,l=l!==0?l:l&536870912?536870912:0;if(l!==0){r=l;e:{var c=e;f=AP;var m=c.current.memoizedState.isDehydrated;if(m&&(Ek(c,l).flags|=256),l=C6(c,l,!1),l!==2){if(gY&&!m){c.errorRecoveryDisabledLanes|=s,mz|=s,f=4;break e}s=qs,qs=f,s!==null&&(qs===null?qs=s:qs.push.apply(qs,s))}f=l}if(s=!1,f!==2)continue}}if(f===1){Ek(e,0),BM(e,r,0,!0);break}e:{switch(i=e,s=f,s){case 0:case 1:throw Error(Yt(345));case 4:if((r&4194048)!==r)break;case 6:BM(i,r,Pl,!FM);break e;case 2:qs=null;break;case 3:case 5:break;default:throw Error(Yt(329))}if((r&62914560)===r&&(f=Bj+300-Ol(),10<f)){if(BM(i,r,Pl,!FM),Cj(i,0,!0)!==0)break e;BZ=r,i.timeoutHandle=Iee(TQ.bind(null,i,a,qs,Mj,hB,r,Pl,mz,Ak,FM,s,"Throttled",-0,0),f);break e}TQ(i,a,qs,Mj,hB,r,Pl,mz,Ak,FM,s,null,-0,0)}}break}while(1);WZ(e)}function TQ(e,r,a,i,f,s,l,c,m,g,M,v,y,x){if(e.timeoutHandle=-1,v=r.subtreeFlags,v&8192||(v&16785408)===16785408){v={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:OZ},ree(r,s,v);var _=(s&62914560)===s?Bj-Ol():(s&4194048)===s?iee-Ol():0;if(_=Bwe(v,_),_!==null){BZ=s,e.cancelPendingCommit=_(DQ.bind(null,e,r,s,a,i,f,l,c,m,M,v,null,y,x)),BM(e,s,l,!g);return}}DQ(e,r,s,a,i,f,l,c,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 f=a[i],s=f.getSnapshot;f=f.value;try{if(!Bl(s(),f))return!1}catch(l){return!1}}if(a=r.child,r.subtreeFlags&16384&&a!==null)a.return=r,r=a;else{if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function BM(e,r,a,i){r&=~MY,r&=~mz,e.suspendedLanes|=r,e.pingedLanes&=~r,i&&(e.warmLanes|=r),i=e.expirationTimes;for(var f=r;0<f;){var s=31-Fl(f),l=1<<s;i[s]=-1,f&=~l}a!==0&&mJ(e,a,r)}function Yj(){return(No&6)===0?(iT(0,!1),!1):!0}function vY(){if(Mo!==null){if(ta===0)var e=Mo.return;else e=Mo,jZ=zz=null,aY(e),zk=null,UP=0,e=Mo;for(;e!==null;)Y$(e.alternate,e),e=e.return;Mo=null}}function Ek(e,r){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,_we(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),BZ=0,vY(),Ca=e,Mo=a=NZ(e.current,null),_o=r,ta=0,Zl=null,FM=!1,Yk=$P(e,r),gY=!1,Ak=Pl=MY=mz=$M=yn=0,qs=AP=null,hB=!1,(r&8)!==0&&(r|=r&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=r;0<i;){var f=31-Fl(i),s=1<<f;r|=e[f],i&=~s}return VZ=r,Aj(),a}function cee(e,r){co=null,qr.H=HP,r===Bk||r===Ej?(r=uQ(),ta=3):r===QB?(r=uQ(),ta=4):ta=r===ZY?8:r!==null&&typeof r==="object"&&typeof r.then==="function"?6:1,Zl=r,Mo===null&&(yn=1,pj(e,fc(r,e.current)))}function uee(){var e=Yl.current;return e===null?!0:(_o&4194048)===_o?lc===null?!0:!1:(_o&62914560)===_o||(_o&536870912)!==0?e===lc:!1}function dee(){var e=qr.H;return qr.H=HP,e===null?HP:e}function Zee(){var e=qr.A;return qr.A=owe,e}function vj(){yn=4,FM||(_o&4194048)!==_o&&Yl.current!==null||(Yk=!0),($M&134217727)===0&&(mz&134217727)===0||Ca===null||BM(Ca,_o,Pl,!1)}function C6(e,r,a){var i=No;No|=2;var f=dee(),s=Zee();if(Ca!==e||_o!==r)Mj=null,Ek(e,r);r=!1;var l=yn;e:do try{if(ta!==0&&Mo!==null){var c=Mo,m=Zl;switch(ta){case 8:vY(),l=6;break e;case 3:case 2:case 9:case 6:Yl.current===null&&(r=!0);var g=ta;if(ta=0,Zl=null,xk(e,c,m,g),a&&Yk){l=0;break e}break;default:g=ta,ta=0,Zl=null,xk(e,c,m,g)}}iwe(),l=yn;break}catch(M){cee(e,M)}while(1);return r&&e.shellSuspendCounter++,jZ=zz=null,No=i,qr.H=f,qr.A=s,Mo===null&&(Ca=null,_o=0,Aj()),l}function iwe(){for(;Mo!==null;)pee(Mo)}function fwe(e,r){var a=No;No|=2;var i=dee(),f=Zee();Ca!==e||_o!==r?(Mj=null,gj=Ol()+500,Ek(e,r)):Yk=$P(e,r);e:do try{if(ta!==0&&Mo!==null){r=Mo;var s=Zl;t:switch(ta){case 1:ta=0,Zl=null,xk(e,r,s,1);break;case 2:case 9:if(cQ(s)){ta=0,Zl=null,AQ(r);break}r=function(){ta!==2&&ta!==9||Ca!==e||(ta=7),WZ(e)},s.then(r,r);break e;case 3:ta=7;break e;case 4:ta=5;break e;case 7:cQ(s)?(ta=0,Zl=null,AQ(r)):(ta=0,Zl=null,xk(e,r,s,7));break;case 5:var l=null;switch(Mo.tag){case 26:l=Mo.memoizedState;case 5:case 27:var c=Mo;if(l?Dee(l):c.stateNode.complete){ta=0,Zl=null;var m=c.sibling;if(m!==null)Mo=m;else{var g=c.return;g!==null?(Mo=g,Uj(g)):Mo=null}break t}}ta=0,Zl=null,xk(e,r,s,5);break;case 6:ta=0,Zl=null,xk(e,r,s,6);break;case 8:vY(),yn=6;break e;default:throw Error(Yt(462))}}swe();break}catch(M){cee(e,M)}while(1);if(jZ=zz=null,qr.H=i,qr.A=f,No=a,Mo!==null)return 0;return Ca=null,_o=0,Aj(),yn}function swe(){for(;Mo!==null&&!kbe();)pee(Mo)}function pee(e){var r=B$(e.alternate,e,VZ);e.memoizedProps=e.pendingProps,r===null?Uj(e):Mo=r}function AQ(e){var r=e,a=r.alternate;switch(r.tag){case 15:case 0:r=LQ(a,r,r.pendingProps,r.type,void 0,_o);break;case 11:r=LQ(a,r,r.pendingProps,r.type.render,r.ref,_o);break;case 5:aY(r);default:Y$(a,r),r=Mo=HJ(r,VZ),r=B$(a,r,VZ)}e.memoizedProps=e.pendingProps,r===null?Uj(e):Mo=r}function xk(e,r,a,i){jZ=zz=null,aY(r),zk=null,UP=0;var f=r.return;try{if(X_e(e,f,r,a,_o)){yn=1,pj(e,fc(a,e.current)),Mo=null;return}}catch(s){if(f!==null)throw Mo=f,s;yn=1,pj(e,fc(a,e.current)),Mo=null;return}if(r.flags&32768){if(zo||i===1)e=!0;else if(Yk||(_o&536870912)!==0)e=!1;else if(FM=e=!0,i===2||i===9||i===3||i===6)i=Yl.current,i!==null&&i.tag===13&&(i.flags|=16384);mee(r,e)}else Uj(r)}function Uj(e){var r=e;do{if((r.flags&32768)!==0){mee(r,FM);return}e=r.return;var a=$_e(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 mee(e,r){do{var a=ewe(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 DQ(e,r,a,i,f,s,l,c,m){e.cancelPendingCommit=null;do qj();while(pi!==0);if((No&6)!==0)throw Error(Yt(327));if(r!==null){if(r===e.current)throw Error(Yt(177));if(s=r.lanes|r.childLanes,s|=qB,jbe(e,a,s,l,c,m),e===Ca&&(Mo=Ca=null,_o=0),Dk=r,VM=e,BZ=a,gB=s,MB=f,fee=i,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,dwe(oj,function(){return xee(),null})):(e.callbackNode=null,e.callbackPriority=0),i=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||i){i=qr.T,qr.T=null,f=Bo.p,Bo.p=2,l=No,No|=4;try{twe(e,r,a)}finally{No=l,Bo.p=f,qr.T=i}}pi=1,hee(),gee(),Mee()}}function hee(){if(pi===1){pi=0;var e=VM,r=Dk,a=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||a){a=qr.T,qr.T=null;var i=Bo.p;Bo.p=2;var f=No;No|=4;try{$$(r,e);var s=zB,l=OJ(e.containerInfo),{focusedElem:c,selectionRange:m}=s;if(l!==c&&c&&c.ownerDocument&&EJ(c.ownerDocument.documentElement,c)){if(m!==null&&UB(c)){var{start:g,end:M}=m;if(M===void 0&&(M=g),"selectionStart"in c)c.selectionStart=g,c.selectionEnd=Math.min(M,c.value.length);else{var v=c.ownerDocument||document,y=v&&v.defaultView||window;if(y.getSelection){var x=y.getSelection(),_=c.textContent.length,j=Math.min(m.start,_),U=m.end===void 0?j:Math.min(m.end,_);!x.extend&&j>U&&(l=U,U=j,j=l);var T=oQ(c,j),N=oQ(c,U);if(T&&N&&(x.rangeCount!==1||x.anchorNode!==T.node||x.anchorOffset!==T.offset||x.focusNode!==N.node||x.focusOffset!==N.offset)){var G=v.createRange();G.setStart(T.node,T.offset),x.removeAllRanges(),j>U?(x.addRange(G),x.extend(N.node,N.offset)):(G.setEnd(N.node,N.offset),x.addRange(G))}}}}v=[];for(x=c;x=x.parentNode;)x.nodeType===1&&v.push({element:x,left:x.scrollLeft,top:x.scrollTop});typeof c.focus==="function"&&c.focus();for(c=0;c<v.length;c++){var X=v[c];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}Lj=!!wB,zB=wB=null}finally{No=f,Bo.p=i,qr.T=a}}e.current=r,pi=2}}function gee(){if(pi===2){pi=0;var e=VM,r=Dk,a=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||a){a=qr.T,qr.T=null;var i=Bo.p;Bo.p=2;var f=No;No|=4;try{G$(e,r.alternate,r)}finally{No=f,Bo.p=i,qr.T=a}}pi=3}}function Mee(){if(pi===4||pi===3){pi=0,Cbe();var e=VM,r=Dk,a=BZ,i=fee;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?pi=5:(pi=0,Dk=VM=null,vee(e,e.pendingLanes));var f=e.pendingLanes;if(f===0&&(HM=null),EB(a),r=r.stateNode,jl&&typeof jl.onCommitFiberRoot==="function")try{jl.onCommitFiberRoot(JP,r,void 0,(r.current.flags&128)===128)}catch(m){}if(i!==null){r=qr.T,f=Bo.p,Bo.p=2,qr.T=null;try{for(var s=e.onRecoverableError,l=0;l<i.length;l++){var c=i[l];s(c.value,{componentStack:c.stack})}}finally{qr.T=r,Bo.p=f}}(BZ&3)!==0&&qj(),WZ(e),f=e.pendingLanes,(a&261930)!==0&&(f&42)!==0?e===vB?DP++:(DP=0,vB=e):DP=0,iT(0,!1)}}function vee(e,r){(e.pooledCacheLanes&=r)===0&&(r=e.pooledCache,r!=null&&(e.pooledCache=null,oT(r)))}function qj(){return hee(),gee(),Mee(),xee()}function xee(){if(pi!==5)return!1;var e=VM,r=gB;gB=0;var a=EB(BZ),i=qr.T,f=Bo.p;try{Bo.p=32>a?32:a,qr.T=null,a=MB,MB=null;var s=VM,l=BZ;if(pi=0,Dk=VM=null,BZ=0,(No&6)!==0)throw Error(Yt(331));var c=No;if(No|=4,aee(s.current),tee(s,s.current,l,a),No=c,iT(0,!1),jl&&typeof jl.onPostCommitFiberRoot==="function")try{jl.onPostCommitFiberRoot(JP,s)}catch(m){}return!0}finally{Bo.p=f,qr.T=i,vee(e,r)}}function EQ(e,r,a){r=fc(a,r),r=dB(e.stateNode,r,2),e=pz(e,r,2),e!==null&&(Ij(e,2),WZ(e))}function ra(e,r,a){if(e.tag===3)EQ(e,e,a);else for(;r!==null;){if(r.tag===3){EQ(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=fc(a,e),a=D$(2),i=pz(r,a,2),i!==null&&(E$(a,i,r,e),Ij(i,2),WZ(i));break}}r=r.return}}function I6(e,r,a){var i=e.pingCache;if(i===null){i=e.pingCache=new awe;var f=new Set;i.set(r,f)}else f=i.get(r),f===void 0&&(f=new Set,i.set(r,f));f.has(a)||(gY=!0,f.add(a),e=lwe.bind(null,e,r,a),r.then(e,e))}function lwe(e,r,a){var i=e.pingCache;i!==null&&i.delete(r),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Ca===e&&(_o&a)===a&&(yn===4||yn===3&&(_o&62914560)===_o&&300>Ol()-Bj?(No&2)===0&&Ek(e,0):MY|=a,Ak===_o&&(Ak=0)),WZ(e)}function yee(e,r){r===0&&(r=pJ()),e=wz(e,r),e!==null&&(Ij(e,r),WZ(e))}function cwe(e){var r=e.memoizedState,a=0;r!==null&&(a=r.retryLane),yee(e,a)}function uwe(e,r){var a=0;switch(e.tag){case 31:case 13:var{stateNode:i,memoizedState:f}=e;f!==null&&(a=f.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(Yt(314))}i!==null&&i.delete(r),yee(e,a)}function dwe(e,r){return DB(e,r)}var xj=null,fk=null,xB=!1,yj=!1,R6=!1,YM=0;function WZ(e){e!==fk&&e.next===null&&(fk===null?xj=fk=e:fk=fk.next=e),yj=!0,xB||(xB=!0,pwe())}function iT(e,r){if(!R6&&yj){R6=!0;do{var a=!1;for(var i=xj;i!==null;){if(!r)if(e!==0){var f=i.pendingLanes;if(f===0)var s=0;else{var l=i.suspendedLanes,c=i.pingedLanes;s=(1<<31-Fl(42|e)+1)-1,s&=f&~(l&~c),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(a=!0,OQ(i,s))}else s=_o,s=Cj(i,i===Ca?s:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(s&3)===0||$P(i,s)||(a=!0,OQ(i,s));i=i.next}}while(a);R6=!1}}function Zwe(){bee()}function bee(){yj=xB=!1;var e=0;YM!==0&&bwe()&&(e=YM);for(var r=Ol(),a=null,i=xj;i!==null;){var f=i.next,s=_ee(i,r);if(s===0)i.next=null,a===null?xj=f:a.next=f,f===null&&(fk=a);else if(a=i,e!==0||(s&3)!==0)yj=!0;i=f}pi!==0&&pi!==5||iT(e,!1),YM!==0&&(YM=0)}function _ee(e,r){for(var{suspendedLanes:a,pingedLanes:i,expirationTimes:f}=e,s=e.pendingLanes&-62914561;0<s;){var l=31-Fl(s),c=1<<l,m=f[l];if(m===-1){if((c&a)===0||(c&i)!==0)f[l]=Obe(c,r)}else m<=r&&(e.expiredLanes|=c);s&=~c}if(r=Ca,a=_o,a=Cj(e,e===r?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,a===0||e===r&&(ta===2||ta===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&f6(i),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||$P(e,a)){if(r=a&-a,r===e.callbackPriority)return r;switch(i!==null&&f6(i),EB(a)){case 2:case 8:a=dJ;break;case 32:a=oj;break;case 268435456:a=ZJ;break;default:a=oj}return i=wee.bind(null,e),a=DB(a,i),e.callbackPriority=r,e.callbackNode=a,r}return i!==null&&i!==null&&f6(i),e.callbackPriority=2,e.callbackNode=null,2}function wee(e,r){if(pi!==0&&pi!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(qj()&&e.callbackNode!==a)return null;var i=_o;if(i=Cj(e,e===Ca?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0)return null;return lee(e,i,r),_ee(e,Ol()),e.callbackNode!=null&&e.callbackNode===a?wee.bind(null,e):null}function OQ(e,r){if(qj())return null;lee(e,r,!0)}function pwe(){wwe(function(){(No&6)!==0?DB(uJ,Zwe):bee()})}function xY(){if(YM===0){var e=Rk;e===0&&(e=zO,zO<<=1,(zO&261888)===0&&(zO=256)),YM=e}return YM}function jQ(e){return e==null||typeof e==="symbol"||typeof e==="boolean"?null:typeof e==="function"?e:NO(""+e)}function NQ(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 mwe(e,r,a,i,f){if(r==="submit"&&a&&a.stateNode===f){var s=jQ((f[Vs]||null).action),l=i.submitter;l&&(r=(r=l[Vs]||null)?jQ(r.formAction):l.getAttribute("formAction"),r!==null&&(s=r,l=null));var c=new Rj("action","action",null,i,f);e.push({event:c,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(YM!==0){var m=l?NQ(f,l):new FormData(f);cB(a,{pending:!0,data:m,method:f.method,action:s},null,m)}}else typeof s==="function"&&(c.preventDefault(),m=l?NQ(f,l):new FormData(f),cB(a,{pending:!0,data:m,method:f.method,action:s},s,m))},currentTarget:f}]})}}for(bP=0;bP<J6.length;bP++)_P=J6[bP],yB=_P.toLowerCase(),bB=_P[0].toUpperCase()+_P.slice(1),au(yB,"on"+bB);var _P,yB,bB,bP;au(NJ,"onAnimationEnd");au(FJ,"onAnimationIteration");au(BJ,"onAnimationStart");au("dblclick","onDoubleClick");au("focusin","onFocus");au("focusout","onBlur");au(I_e,"onTransitionRun");au(R_e,"onTransitionStart");au(P_e,"onTransitionCancel");au(YJ,"onTransitionEnd");Ck("onMouseEnter",["mouseout","mouseover"]);Ck("onMouseLeave",["mouseout","mouseover"]);Ck("onPointerEnter",["pointerout","pointerover"]);Ck("onPointerLeave",["pointerout","pointerover"]);yz("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));yz("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));yz("onBeforeInput",["compositionend","keypress","textInput","paste"]);yz("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));yz("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));yz("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var VP="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(" "),hwe=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(VP));function zee(e,r){r=(r&4)!==0;for(var a=0;a<e.length;a++){var i=e[a],f=i.event;i=i.listeners;e:{var s=void 0;if(r)for(var l=i.length-1;0<=l;l--){var c=i[l],m=c.instance,g=c.currentTarget;if(c=c.listener,m!==s&&f.isPropagationStopped())break e;s=c,f.currentTarget=g;try{s(f)}catch(M){nj(M)}f.currentTarget=null,s=m}else for(l=0;l<i.length;l++){if(c=i[l],m=c.instance,g=c.currentTarget,c=c.listener,m!==s&&f.isPropagationStopped())break e;s=c,f.currentTarget=g;try{s(f)}catch(M){nj(M)}f.currentTarget=null,s=m}}}}function go(e,r){var a=r[q6];a===void 0&&(a=r[q6]=new Set);var i=e+"__bubble";a.has(i)||(Lee(r,e,2,!1),a.add(i))}function P6(e,r,a){var i=0;r&&(i|=4),Lee(a,e,i,r)}var DO="_reactListening"+Math.random().toString(36).slice(2);function See(e){if(!e[DO]){e[DO]=!0,xJ.forEach(function(a){a!=="selectionchange"&&(hwe.has(a)||P6(a,!1,e),P6(a,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[DO]||(r[DO]=!0,P6("selectionchange",!1,r))}}function Lee(e,r,a,i){switch(jee(r)){case 2:var f=Vwe;break;case 8:f=Wwe;break;default:f=wY}a=f.bind(null,r,a,e),f=void 0,!K6||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(f=!0),i?f!==void 0?e.addEventListener(r,a,{capture:!0,passive:f}):e.addEventListener(r,a,!0):f!==void 0?e.addEventListener(r,a,{passive:f}):e.addEventListener(r,a,!1)}function T6(e,r,a,i,f){var s=i;if((r&1)===0&&(r&2)===0&&i!==null)e:for(;;){if(i===null)return;var l=i.tag;if(l===3||l===4){var c=i.stateNode.containerInfo;if(c===f)break;if(l===4)for(l=i.return;l!==null;){var m=l.tag;if((m===3||m===4)&&l.stateNode.containerInfo===f)return;l=l.return}for(;c!==null;){if(l=uk(c),l===null)return;if(m=l.tag,m===5||m===6||m===26||m===27){i=s=l;continue e}c=c.parentNode}}i=i.return}kJ(function(){var g=s,M=NB(a),v=[];e:{var y=UJ.get(e);if(y!==void 0){var x=Rj,_=e;switch(e){case"keypress":if(BO(a)===0)break e;case"keydown":case"keyup":x=s_e;break;case"focusin":_="focus",x=d6;break;case"focusout":_="blur",x=d6;break;case"beforeblur":case"afterblur":x=d6;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=GX;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=Xbe;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=u_e;break;case NJ:case FJ:case BJ:x=$be;break;case YJ:x=Z_e;break;case"scroll":case"scrollend":x=Gbe;break;case"wheel":x=m_e;break;case"copy":case"cut":case"paste":x=t_e;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=XX;break;case"toggle":case"beforetoggle":x=g_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=jP(N,T),X!=null&&j.push(WP(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!==G6&&(_=a.relatedTarget||a.fromElement)&&(uk(_)||_[eT]))break e;if(x||y){if(y=M.window===M?M:(y=M.ownerDocument)?y.defaultView||y.parentWindow:window,x){if(_=a.relatedTarget||a.toElement,x=g,_=_?uk(_):null,_!==null&&(U=QP(_),j=_.tag,_!==U||j!==5&&j!==27&&j!==6))_=null}else x=null,_=g;if(x!==_){if(j=GX,X="onMouseLeave",T="onMouseEnter",N="mouse",e==="pointerout"||e==="pointerover")j=XX,X="onPointerLeave",T="onPointerEnter",N="pointer";if(U=x==null?y:gP(x),G=_==null?y:gP(_),y=new j(X,N+"leave",x,a,M),y.target=U,y.relatedTarget=G,X=null,uk(M)===g&&(j=new j(T,N+"enter",_,a,M),j.target=G,j.relatedTarget=U,X=j),U=X,x&&_)t:{j=gwe,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&&FQ(v,y,x,j,!1),_!==null&&U!==null&&FQ(v,U,_,j,!0)}}}e:{if(y=g?gP(g):window,x=y.nodeName&&y.nodeName.toLowerCase(),x==="select"||x==="input"&&y.type==="file")var ee=eQ;else if($X(y))if(AJ)ee=L_e;else{ee=z_e;var re=w_e}else x=y.nodeName,!x||x.toLowerCase()!=="input"||y.type!=="checkbox"&&y.type!=="radio"?g&&jB(g.elementType)&&(ee=eQ):ee=S_e;if(ee&&(ee=ee(e,g))){TJ(v,ee,a,M);break e}re&&re(e,y,g),e==="focusout"&&g&&y.type==="number"&&g.memoizedProps.value!=null&&W6(y,"number",y.value)}switch(re=g?gP(g):window,e){case"focusin":if($X(re)||re.contentEditable==="true")pk=re,X6=g,SP=null;break;case"focusout":SP=X6=pk=null;break;case"mousedown":Q6=!0;break;case"contextmenu":case"mouseup":case"dragend":Q6=!1,aQ(v,a,M);break;case"selectionchange":if(C_e)break;case"keydown":case"keyup":aQ(v,a,M)}var oe;if(YB)e:{switch(e){case"compositionstart":var ae="onCompositionStart";break e;case"compositionend":ae="onCompositionEnd";break e;case"compositionupdate":ae="onCompositionUpdate";break e}ae=void 0}else Zk?RJ(e,a)&&(ae="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(ae="onCompositionStart");if(ae&&(IJ&&a.locale!=="ko"&&(Zk||ae!=="onCompositionStart"?ae==="onCompositionEnd"&&Zk&&(oe=CJ()):(NM=M,FB=("value"in NM)?NM.value:NM.textContent,Zk=!0)),re=bj(g,ae),0<re.length&&(ae=new KX(ae,e,null,a,M),v.push({event:ae,listeners:re}),oe?ae.data=oe:(oe=PJ(a),oe!==null&&(ae.data=oe)))),oe=v_e?x_e(e,a):y_e(e,a))ae=bj(g,"onBeforeInput"),0<ae.length&&(re=new KX("onBeforeInput","beforeinput",null,a,M),v.push({event:re,listeners:ae}),re.data=oe);mwe(v,e,g,a,M)}zee(v,r)})}function WP(e,r,a){return{instance:e,listener:r,currentTarget:a}}function bj(e,r){for(var a=r+"Capture",i=[];e!==null;){var f=e,s=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||s===null||(f=jP(e,a),f!=null&&i.unshift(WP(e,f,s)),f=jP(e,r),f!=null&&i.push(WP(e,f,s))),e.tag===3)return i;e=e.return}return[]}function gwe(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e?e:null}function FQ(e,r,a,i,f){for(var s=r._reactName,l=[];a!==null&&a!==i;){var c=a,m=c.alternate,g=c.stateNode;if(c=c.tag,m!==null&&m===i)break;c!==5&&c!==26&&c!==27||g===null||(m=g,f?(g=jP(a,s),g!=null&&l.unshift(WP(a,g,m))):f||(g=jP(a,s),g!=null&&l.push(WP(a,g,m)))),a=a.return}l.length!==0&&e.push({event:r,listeners:l})}var Mwe=/\r\n?/g,vwe=/\u0000|\uFFFD/g;function BQ(e){return(typeof e==="string"?e:""+e).replace(Mwe,`
|
|
10
|
-
`).replace(vwe,"")}function kee(e,r){return r=BQ(r),BQ(e)===r?!0:!1}function Ma(e,r,a,i,f,s){switch(a){case"children":typeof i==="string"?r==="body"||r==="textarea"&&i===""||Ik(e,i):(typeof i==="number"||typeof i==="bigint")&&r!=="body"&&Ik(e,""+i);break;case"className":kO(e,"class",i);break;case"tabIndex":kO(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":kO(e,a,i);break;case"style":LJ(e,i,s);break;case"data":if(r!=="object"){kO(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=NO(""+i),e.setAttribute(a,i);break;case"action":case"formAction":if(typeof i==="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof s==="function"&&(a==="formAction"?(r!=="input"&&Ma(e,r,"name",f.name,f,null),Ma(e,r,"formEncType",f.formEncType,f,null),Ma(e,r,"formMethod",f.formMethod,f,null),Ma(e,r,"formTarget",f.formTarget,f,null)):(Ma(e,r,"encType",f.encType,f,null),Ma(e,r,"method",f.method,f,null),Ma(e,r,"target",f.target,f,null)));if(i==null||typeof i==="symbol"||typeof i==="boolean"){e.removeAttribute(a);break}i=NO(""+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(f.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=NO(""+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),jO(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":jO(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=Vbe.get(a)||a,jO(e,a,i)}}function _B(e,r,a,i,f,s){switch(a){case"style":LJ(e,i,s);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error(Yt(61));if(a=i.__html,a!=null){if(f.children!=null)throw Error(Yt(60));e.innerHTML=a}}break;case"children":typeof i==="string"?Ik(e,i):(typeof i==="number"||typeof i==="bigint")&&Ik(e,""+i);break;case"onScroll":i!=null&&go("scroll",e);break;case"onScrollEnd":i!=null&&go("scrollend",e);break;case"onClick":i!=null&&(e.onclick=OZ);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!yJ.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(f=a.endsWith("Capture"),r=a.slice(2,f?a.length-7:void 0),s=e[Vs]||null,s=s!=null?s[a]:null,typeof s==="function"&&e.removeEventListener(r,s,f),typeof i==="function")){typeof s!=="function"&&s!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(r,i,f);break e}a in e?e[a]=i:i===!0?e.setAttribute(a,""):jO(e,a,i)}}}function Qi(e,r,a){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":go("error",e),go("load",e);var i=!1,f=!1,s;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];if(l!=null)switch(s){case"src":i=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(Yt(137,r));default:Ma(e,r,s,l,a,null)}}f&&Ma(e,r,"srcSet",a.srcSet,a,null),i&&Ma(e,r,"src",a.src,a,null);return;case"input":go("invalid",e);var c=s=l=f=null,m=null,g=null;for(i in a)if(a.hasOwnProperty(i)){var M=a[i];if(M!=null)switch(i){case"name":f=M;break;case"type":l=M;break;case"checked":m=M;break;case"defaultChecked":g=M;break;case"value":s=M;break;case"defaultValue":c=M;break;case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(Yt(137,r));break;default:Ma(e,r,i,M,a,null)}}wJ(e,s,c,m,g,l,f,!1);return;case"select":go("invalid",e),i=l=s=null;for(f in a)if(a.hasOwnProperty(f)&&(c=a[f],c!=null))switch(f){case"value":s=c;break;case"defaultValue":l=c;break;case"multiple":i=c;default:Ma(e,r,f,c,a,null)}r=s,a=l,e.multiple=!!i,r!=null?bk(e,!!i,r,!1):a!=null&&bk(e,!!i,a,!0);return;case"textarea":go("invalid",e),s=f=i=null;for(l in a)if(a.hasOwnProperty(l)&&(c=a[l],c!=null))switch(l){case"value":i=c;break;case"defaultValue":f=c;break;case"children":s=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(Yt(91));break;default:Ma(e,r,l,c,a,null)}SJ(e,i,f,s);return;case"option":for(m in a)if(a.hasOwnProperty(m)&&(i=a[m],i!=null))switch(m){case"selected":e.selected=i&&typeof i!=="function"&&typeof i!=="symbol";break;default:Ma(e,r,m,i,a,null)}return;case"dialog":go("beforetoggle",e),go("toggle",e),go("cancel",e),go("close",e);break;case"iframe":case"object":go("load",e);break;case"video":case"audio":for(i=0;i<VP.length;i++)go(VP[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(jB(r)){for(M in a)a.hasOwnProperty(M)&&(i=a[M],i!==void 0&&_B(e,r,M,i,a,void 0));return}}for(c in a)a.hasOwnProperty(c)&&(i=a[c],i!=null&&Ma(e,r,c,i,a,null))}function xwe(e,r,a,i){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,s=null,l=null,c=null,m=null,g=null,M=null;for(x in a){var v=a[x];if(a.hasOwnProperty(x)&&v!=null)switch(x){case"checked":break;case"value":break;case"defaultValue":m=v;default:i.hasOwnProperty(x)||Ma(e,r,x,null,i,v)}}for(var y in i){var x=i[y];if(v=a[y],i.hasOwnProperty(y)&&(x!=null||v!=null))switch(y){case"type":s=x;break;case"name":f=x;break;case"checked":g=x;break;case"defaultChecked":M=x;break;case"value":l=x;break;case"defaultValue":c=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(Yt(137,r));break;default:x!==v&&Ma(e,r,y,x,i,v)}}V6(e,l,c,m,g,M,s,f);return;case"select":x=l=c=y=null;for(s in a)if(m=a[s],a.hasOwnProperty(s)&&m!=null)switch(s){case"value":break;case"multiple":x=m;default:i.hasOwnProperty(s)||Ma(e,r,s,null,i,m)}for(f in i)if(s=i[f],m=a[f],i.hasOwnProperty(f)&&(s!=null||m!=null))switch(f){case"value":y=s;break;case"defaultValue":c=s;break;case"multiple":l=s;default:s!==m&&Ma(e,r,f,s,i,m)}r=c,a=l,i=x,y!=null?bk(e,!!a,y,!1):!!i!==!!a&&(r!=null?bk(e,!!a,r,!0):bk(e,!!a,a?[]:"",!1));return;case"textarea":x=y=null;for(c in a)if(f=a[c],a.hasOwnProperty(c)&&f!=null&&!i.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:Ma(e,r,c,null,i,f)}for(l in i)if(f=i[l],s=a[l],i.hasOwnProperty(l)&&(f!=null||s!=null))switch(l){case"value":y=f;break;case"defaultValue":x=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(Yt(91));break;default:f!==s&&Ma(e,r,l,f,i,s)}zJ(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(jB(r)){for(var U in a)y=a[U],a.hasOwnProperty(U)&&y!==void 0&&!i.hasOwnProperty(U)&&_B(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||_B(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 YQ(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function ywe(){if(typeof performance.getEntriesByType==="function"){for(var e=0,r=0,a=performance.getEntriesByType("resource"),i=0;i<a.length;i++){var f=a[i],{transferSize:s,initiatorType:l,duration:c}=f;if(s&&c&&YQ(l)){l=0,c=f.responseEnd;for(i+=1;i<a.length;i++){var m=a[i],g=m.startTime;if(g>c)break;var M=m.transferSize,v=m.initiatorType;M&&YQ(v)&&(m=m.responseEnd,l+=M*(m<c?1:(c-g)/(m-g)))}if(--i,r+=8*(s+l)/(f.duration/1000),e++,10<e)break}}if(0<e)return r/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==="number")?e:5}var wB=null,zB=null;function _j(e){return e.nodeType===9?e:e.ownerDocument}function UQ(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 Cee(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 SB(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 A6=null;function bwe(){var e=window.event;if(e&&e.type==="popstate"){if(e===A6)return!1;return A6=e,!0}return A6=null,!1}var Iee=typeof setTimeout==="function"?setTimeout:void 0,_we=typeof clearTimeout==="function"?clearTimeout:void 0,qQ=typeof Promise==="function"?Promise:void 0,wwe=typeof queueMicrotask==="function"?queueMicrotask:typeof qQ<"u"?function(e){return qQ.resolve(null).then(e).catch(zwe)}:Iee;function zwe(e){setTimeout(function(){throw e})}function t8(e){return e==="head"}function HQ(e,r){var a=r,i=0;do{var f=a.nextSibling;if(e.removeChild(a),f&&f.nodeType===8)if(a=f.data,a==="/$"||a==="/&"){if(i===0){e.removeChild(f),jk(r);return}i--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")i++;else if(a==="html")EP(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,EP(a);for(var s=a.firstChild;s;){var l=s.nextSibling,c=s.nodeName;s[tT]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&s.rel.toLowerCase()==="stylesheet"||a.removeChild(s),s=l}}else a==="body"&&EP(e.ownerDocument.body);a=f}while(a);jk(r)}function VQ(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 LB(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":LB(a),OB(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function Swe(e,r,a,i){for(;e.nodeType===1;){var f=a;if(e.nodeName.toLowerCase()!==r.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(!i)if(r==="input"&&e.type==="hidden"){var s=f.name==null?null:""+f.name;if(f.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;else if(!e[tT])switch(r){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;else if(s!==f.rel||e.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||e.getAttribute("title")!==(f.title==null?null:f.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(f.src==null?null:f.src)||e.getAttribute("type")!==(f.type==null?null:f.type)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}if(e=uc(e.nextSibling),e===null)break}return null}function Lwe(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=uc(e.nextSibling),e===null)return null}return e}function Ree(e,r){for(;e.nodeType!==8;){if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r)return null;if(e=uc(e.nextSibling),e===null)return null}return e}function kB(e){return e.data==="$?"||e.data==="$~"}function CB(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function kwe(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 uc(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 IB=null;function WQ(e){e=e.nextSibling;for(var r=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(r===0)return uc(e.nextSibling);r--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||r++}e=e.nextSibling}return null}function GQ(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 Pee(e,r,a){switch(r=_j(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 EP(e){for(var r=e.attributes;r.length;)e.removeAttributeNode(r[0]);OB(e)}var dc=new Map,KQ=new Set;function wj(e){return typeof e.getRootNode==="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var GZ=Bo.d;Bo.d={f:Cwe,r:Iwe,D:Rwe,C:Pwe,L:Twe,m:Awe,X:Ewe,S:Dwe,M:Owe};function Cwe(){var e=GZ.f(),r=Yj();return e||r}function Iwe(e){var r=Nk(e);r!==null&&r.tag===5&&r.type==="form"?L$(r):GZ.r(e)}var Uk=typeof document>"u"?null:document;function Tee(e,r,a){var i=Uk;if(i&&typeof r==="string"&&r){var f=ic(r);f='link[rel="'+e+'"][href="'+f+'"]',typeof a==="string"&&(f+='[crossorigin="'+a+'"]'),KQ.has(f)||(KQ.add(f),e={rel:e,crossOrigin:a,href:r},i.querySelector(f)===null&&(r=i.createElement("link"),Qi(r,"link",e),_i(r),i.head.appendChild(r)))}}function Rwe(e){GZ.D(e),Tee("dns-prefetch",e,null)}function Pwe(e,r){GZ.C(e,r),Tee("preconnect",e,r)}function Twe(e,r,a){GZ.L(e,r,a);var i=Uk;if(i&&e&&r){var f='link[rel="preload"][as="'+ic(r)+'"]';r==="image"?a&&a.imageSrcSet?(f+='[imagesrcset="'+ic(a.imageSrcSet)+'"]',typeof a.imageSizes==="string"&&(f+='[imagesizes="'+ic(a.imageSizes)+'"]')):f+='[href="'+ic(e)+'"]':f+='[href="'+ic(e)+'"]';var s=f;switch(r){case"style":s=Ok(e);break;case"script":s=qk(e)}dc.has(s)||(e=qa({rel:"preload",href:r==="image"&&a&&a.imageSrcSet?void 0:e,as:r},a),dc.set(s,e),i.querySelector(f)!==null||r==="style"&&i.querySelector(fT(s))||r==="script"&&i.querySelector(sT(s))||(r=i.createElement("link"),Qi(r,"link",e),_i(r),i.head.appendChild(r)))}}function Awe(e,r){GZ.m(e,r);var a=Uk;if(a&&e){var i=r&&typeof r.as==="string"?r.as:"script",f='link[rel="modulepreload"][as="'+ic(i)+'"][href="'+ic(e)+'"]',s=f;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=qk(e)}if(!dc.has(s)&&(e=qa({rel:"modulepreload",href:e},r),dc.set(s,e),a.querySelector(f)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(sT(s)))return}i=a.createElement("link"),Qi(i,"link",e),_i(i),a.head.appendChild(i)}}}function Dwe(e,r,a){GZ.S(e,r,a);var i=Uk;if(i&&e){var f=yk(i).hoistableStyles,s=Ok(e);r=r||"default";var l=f.get(s);if(!l){var c={loading:0,preload:null};if(l=i.querySelector(fT(s)))c.loading=5;else{e=qa({rel:"stylesheet",href:e,"data-precedence":r},a),(a=dc.get(s))&&yY(e,a);var m=l=i.createElement("link");_i(m),Qi(m,"link",e),m._p=new Promise(function(g,M){m.onload=g,m.onerror=M}),m.addEventListener("load",function(){c.loading|=1}),m.addEventListener("error",function(){c.loading|=2}),c.loading|=4,XO(l,r,i)}l={type:"stylesheet",instance:l,count:1,state:c},f.set(s,l)}}}function Ewe(e,r){GZ.X(e,r);var a=Uk;if(a&&e){var i=yk(a).hoistableScripts,f=qk(e),s=i.get(f);s||(s=a.querySelector(sT(f)),s||(e=qa({src:e,async:!0},r),(r=dc.get(f))&&bY(e,r),s=a.createElement("script"),_i(s),Qi(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(f,s))}}function Owe(e,r){GZ.M(e,r);var a=Uk;if(a&&e){var i=yk(a).hoistableScripts,f=qk(e),s=i.get(f);s||(s=a.querySelector(sT(f)),s||(e=qa({src:e,async:!0,type:"module"},r),(r=dc.get(f))&&bY(e,r),s=a.createElement("script"),_i(s),Qi(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(f,s))}}function XQ(e,r,a,i){var f=(f=UM.current)?wj(f):null;if(!f)throw Error(Yt(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence==="string"&&typeof a.href==="string"?(r=Ok(a.href),a=yk(f).hoistableStyles,i=a.get(r),i||(i={type:"style",instance:null,count:0,state:null},a.set(r,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href==="string"&&typeof a.precedence==="string"){e=Ok(a.href);var s=yk(f).hoistableStyles,l=s.get(e);if(l||(f=f.ownerDocument||f,l={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(e,l),(s=f.querySelector(fT(e)))&&!s._p&&(l.instance=s,l.state.loading=5),dc.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},dc.set(e,a),s||jwe(f,e,a,l.state))),r&&i===null)throw Error(Yt(528,""));return l}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=qk(a),a=yk(f).hoistableScripts,i=a.get(r),i||(i={type:"script",instance:null,count:0,state:null},a.set(r,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(Yt(444,e))}}function Ok(e){return'href="'+ic(e)+'"'}function fT(e){return'link[rel="stylesheet"]['+e+"]"}function Aee(e){return qa({},e,{"data-precedence":e.precedence,precedence:null})}function jwe(e,r,a,i){e.querySelector('link[rel="preload"][as="style"]['+r+"]")?i.loading=1:(r=e.createElement("link"),i.preload=r,r.addEventListener("load",function(){return i.loading|=1}),r.addEventListener("error",function(){return i.loading|=2}),Qi(r,"link",a),_i(r),e.head.appendChild(r))}function qk(e){return'[src="'+ic(e)+'"]'}function sT(e){return"script[async]"+e}function QQ(e,r,a){if(r.count++,r.instance===null)switch(r.type){case"style":var i=e.querySelector('style[data-href~="'+ic(a.href)+'"]');if(i)return r.instance=i,_i(i),i;var f=qa({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),_i(i),Qi(i,"style",f),XO(i,a.precedence,e),r.instance=i;case"stylesheet":f=Ok(a.href);var s=e.querySelector(fT(f));if(s)return r.state.loading|=4,r.instance=s,_i(s),s;i=Aee(a),(f=dc.get(f))&&yY(i,f),s=(e.ownerDocument||e).createElement("link"),_i(s);var l=s;return l._p=new Promise(function(c,m){l.onload=c,l.onerror=m}),Qi(s,"link",i),r.state.loading|=4,XO(s,a.precedence,e),r.instance=s;case"script":if(s=qk(a.src),f=e.querySelector(sT(s)))return r.instance=f,_i(f),f;if(i=a,f=dc.get(s))i=qa({},a),bY(i,f);return e=e.ownerDocument||e,f=e.createElement("script"),_i(f),Qi(f,"link",i),e.head.appendChild(f),r.instance=f;case"void":return null;default:throw Error(Yt(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(i=r.instance,r.state.loading|=4,XO(i,a.precedence,e));return r.instance}function XO(e,r,a){for(var i=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=i.length?i[i.length-1]:null,s=f,l=0;l<i.length;l++){var c=i[l];if(c.dataset.precedence===r)s=c;else if(s!==f)break}s?s.parentNode.insertBefore(e,s.nextSibling):(r=a.nodeType===9?a.head:a,r.insertBefore(e,r.firstChild))}function yY(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.title==null&&(e.title=r.title)}function bY(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.integrity==null&&(e.integrity=r.integrity)}var QO=null;function JQ(e,r,a){if(QO===null){var i=new Map,f=QO=new Map;f.set(a,i)}else f=QO,i=f.get(a),i||(i=new Map,f.set(a,i));if(i.has(e))return i;i.set(e,null),a=a.getElementsByTagName(e);for(f=0;f<a.length;f++){var s=a[f];if(!(s[tT]||s[Gi]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!=="http://www.w3.org/2000/svg"){var l=s.getAttribute(r)||"";l=e+l;var c=i.get(l);c?c.push(s):i.set(l,[s])}}return i}function $Q(e,r,a){e=e.ownerDocument||e,e.head.insertBefore(a,r==="title"?e.querySelector("head > title"):null)}function Nwe(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 Dee(e){return e.type==="stylesheet"&&(e.state.loading&3)===0?!1:!0}function Fwe(e,r,a,i){if(a.type==="stylesheet"&&(typeof i.media!=="string"||matchMedia(i.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var f=Ok(i.href),s=r.querySelector(fT(f));if(s){r=s._p,r!==null&&typeof r==="object"&&typeof r.then==="function"&&(e.count++,e=zj.bind(e),r.then(e,e)),a.state.loading|=4,a.instance=s,_i(s);return}s=r.ownerDocument||r,i=Aee(i),(f=dc.get(f))&&yY(i,f),s=s.createElement("link"),_i(s);var l=s;l._p=new Promise(function(c,m){l.onload=c,l.onerror=m}),Qi(s,"link",i),a.instance=s}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,r),(r=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=zj.bind(e),r.addEventListener("load",a),r.addEventListener("error",a))}}var D6=0;function Bwe(e,r){return e.stylesheets&&e.count===0&&JO(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var i=setTimeout(function(){if(e.stylesheets&&JO(e,e.stylesheets),e.unsuspend){var s=e.unsuspend;e.unsuspend=null,s()}},60000+r);0<e.imgBytes&&D6===0&&(D6=62500*ywe());var f=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&JO(e,e.stylesheets),e.unsuspend)){var s=e.unsuspend;e.unsuspend=null,s()}},(e.imgBytes>D6?50:800)+r);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(f)}}:null}function zj(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)JO(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Sj=null;function JO(e,r){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Sj=new Map,r.forEach(Ywe,e),Sj=null,zj.call(e))}function Ywe(e,r){if(!(r.state.loading&4)){var a=Sj.get(e);if(a)var i=a.get(null);else{a=new Map,Sj.set(e,a);for(var f=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<f.length;s++){var l=f[s];if(l.nodeName==="LINK"||l.getAttribute("media")!=="not all")a.set(l.dataset.precedence,l),i=l}i&&a.set(null,i)}f=r.instance,l=f.getAttribute("data-precedence"),s=a.get(l)||i,s===i&&a.set(null,f),a.set(l,f),this.count++,i=zj.bind(this),f.addEventListener("load",i),f.addEventListener("error",i),s?s.parentNode.insertBefore(f,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(f,e.firstChild)),r.state.loading|=4}}var GP={$$typeof:EZ,Provider:null,Consumer:null,_currentValue:lz,_currentValue2:lz,_threadCount:0};function Uwe(e,r,a,i,f,s,l,c,m){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=s6(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=s6(0),this.hiddenUpdates=s6(null),this.identifierPrefix=i,this.onUncaughtError=f,this.onCaughtError=s,this.onRecoverableError=l,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=m,this.incompleteTransitions=new Map}function qwe(e,r,a,i,f,s,l,c,m,g,M,v){return e=new Uwe(e,r,a,l,m,g,M,v,c),r=1,s===!0&&(r|=24),s=Ll(3,null,null,r),e.current=s,s.stateNode=e,r=KB(),r.refCount++,e.pooledCache=r,r.refCount++,s.memoizedState={element:i,isDehydrated:a,cache:r},JB(s),e}function Hwe(e){if(!e)return gk;return e=gk,e}function Eee(e,r,a,i,f,s){f=Hwe(f),i.context===null?i.context=f:i.pendingContext=f,i=Zz(r),i.payload={element:a},s=s===void 0?null:s,s!==null&&(i.callback=s),a=pz(e,i,r),a!==null&&(Hs(a,e,r),kP(a,e,r))}function eJ(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<r?a:r}}function _Y(e,r){eJ(e,r),(e=e.alternate)&&eJ(e,r)}function Oee(e){if(e.tag===13||e.tag===31){var r=wz(e,67108864);r!==null&&Hs(r,e,67108864),_Y(e,67108864)}}function tJ(e){if(e.tag===13||e.tag===31){var r=cc();r=MJ(r);var a=wz(e,r);a!==null&&Hs(a,e,r),_Y(e,r)}}var Lj=!0;function Vwe(e,r,a,i){var f=qr.T;qr.T=null;var s=Bo.p;try{Bo.p=2,wY(e,r,a,i)}finally{Bo.p=s,qr.T=f}}function Wwe(e,r,a,i){var f=qr.T;qr.T=null;var s=Bo.p;try{Bo.p=8,wY(e,r,a,i)}finally{Bo.p=s,qr.T=f}}function wY(e,r,a,i){if(Lj){var f=RB(i);if(f===null)T6(e,r,i,kj,a),rJ(e,i);else if(Kwe(f,e,r,a,i))i.stopPropagation();else if(rJ(e,i),r&4&&-1<Gwe.indexOf(e)){for(;f!==null;){var s=Nk(f);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var l=nz(s.pendingLanes);if(l!==0){var c=s;c.pendingLanes|=2;for(c.entangledLanes|=2;l;){var m=1<<31-Fl(l);c.entanglements[1]|=m,l&=~m}WZ(s),(No&6)===0&&(gj=Ol()+500,iT(0,!1))}}break;case 31:case 13:c=wz(s,2),c!==null&&Hs(c,s,2),Yj(),_Y(s,2)}if(s=RB(i),s===null&&T6(e,r,i,kj,a),s===f)break;f=s}f!==null&&i.stopPropagation()}else T6(e,r,i,null,a)}}function RB(e){return e=NB(e),zY(e)}var kj=null;function zY(e){if(kj=null,e=uk(e),e!==null){var r=QP(e);if(r===null)e=null;else{var a=r.tag;if(a===13){if(e=iJ(r),e!==null)return e;e=null}else if(a===31){if(e=fJ(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 kj=e,null}function jee(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(Ibe()){case uJ:return 2;case dJ:return 8;case oj:case Rbe:return 32;case ZJ:return 268435456;default:return 32}default:return 32}}var PB=!1,WM=null,GM=null,KM=null,KP=new Map,XP=new Map,OM=[],Gwe="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 rJ(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":KP.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":XP.delete(r.pointerId)}}function pP(e,r,a,i,f,s){if(e===null||e.nativeEvent!==s)return e={blockedOn:r,domEventName:a,eventSystemFlags:i,nativeEvent:s,targetContainers:[f]},r!==null&&(r=Nk(r),r!==null&&Oee(r)),e;return e.eventSystemFlags|=i,r=e.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),e}function Kwe(e,r,a,i,f){switch(r){case"focusin":return WM=pP(WM,e,r,a,i,f),!0;case"dragenter":return GM=pP(GM,e,r,a,i,f),!0;case"mouseover":return KM=pP(KM,e,r,a,i,f),!0;case"pointerover":var s=f.pointerId;return KP.set(s,pP(KP.get(s)||null,e,r,a,i,f)),!0;case"gotpointercapture":return s=f.pointerId,XP.set(s,pP(XP.get(s)||null,e,r,a,i,f)),!0}return!1}function Nee(e){var r=uk(e.target);if(r!==null){var a=QP(r);if(a!==null){if(r=a.tag,r===13){if(r=iJ(a),r!==null){e.blockedOn=r,BX(e.priority,function(){tJ(a)});return}}else if(r===31){if(r=fJ(a),r!==null){e.blockedOn=r,BX(e.priority,function(){tJ(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 $O(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var a=RB(e.nativeEvent);if(a===null){a=e.nativeEvent;var i=new a.constructor(a.type,a);G6=i,a.target.dispatchEvent(i),G6=null}else return r=Nk(a),r!==null&&Oee(r),e.blockedOn=a,!1;r.shift()}return!0}function oJ(e,r,a){$O(e)&&a.delete(r)}function Xwe(){PB=!1,WM!==null&&$O(WM)&&(WM=null),GM!==null&&$O(GM)&&(GM=null),KM!==null&&$O(KM)&&(KM=null),KP.forEach(oJ),XP.forEach(oJ)}function EO(e,r){e.blockedOn===r&&(e.blockedOn=null,PB||(PB=!0,Ps(Ds,Xwe)))}var OO=null;function aJ(e){OO!==e&&(OO=e,Ps(Ds,function(){OO===e&&(OO=null);for(var r=0;r<e.length;r+=3){var a=e[r],i=e[r+1],f=e[r+2];if(typeof i!=="function")if(zY(i||a)===null)continue;else break;var s=Nk(a);s!==null&&(e.splice(r,3),r-=3,cB(s,{pending:!0,data:f,method:a.method,action:i},i,f))}}))}function jk(e){function r(m){return EO(m,e)}WM!==null&&EO(WM,e),GM!==null&&EO(GM,e),KM!==null&&EO(KM,e),KP.forEach(r),XP.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);)Nee(a),a.blockedOn===null&&OM.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var f=a[i],s=a[i+1],l=f[Vs]||null;if(typeof s==="function")l||aJ(a);else if(l){var c=null;if(s&&s.hasAttribute("formAction")){if(f=s,l=s[Vs]||null)c=l.formAction;else if(zY(f)!==null)continue}else c=l.action;typeof c==="function"?a[i+1]=c:(a.splice(i,3),i-=3),aJ(a)}}}function Qwe(){function e(s){s.canIntercept&&s.info==="react-transition"&&s.intercept({handler:function(){return new Promise(function(l){return f=l})},focusReset:"manual",scroll:"manual"})}function r(){f!==null&&(f(),f=null),i||setTimeout(a,20)}function a(){if(!i&&!navigation.transition){var s=navigation.currentEntry;s&&s.url!=null&&navigation.navigate(s.url,{state:s.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var i=!1,f=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",r),navigation.addEventListener("navigateerror",r),setTimeout(a,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",r),navigation.removeEventListener("navigateerror",r),f!==null&&(f(),f=null)}}}function SY(e){this._internalRoot=e}LY.prototype.render=SY.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(Yt(409));var a=r.current,i=cc();Eee(a,i,e,r,null,null)};LY.prototype.unmount=SY.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;Eee(e.current,2,null,e,null,null),Yj(),r[eT]=null}};function LY(e){this._internalRoot=e}LY.prototype.unstable_scheduleHydration=function(e){if(e){var r=vJ();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&&Nee(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=_be(r),e=e!==null?sJ(e):null,e=e===null?null:e.stateNode,e};var Jwe={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:qr,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){if(sk=__REACT_DEVTOOLS_GLOBAL_HOOK__,!sk.isDisabled&&sk.supportsFiber)try{JP=sk.inject(Jwe),jl=sk}catch(e){}}var sk;var Fee=function(e,r){if(!bbe(e))throw Error(Yt(299));var a=!1,i="",f=W_e,s=G_e,l=K_e;return r!==null&&r!==void 0&&(r.unstable_strictMode===!0&&(a=!0),r.identifierPrefix!==void 0&&(i=r.identifierPrefix),r.onUncaughtError!==void 0&&(f=r.onUncaughtError),r.onCaughtError!==void 0&&(s=r.onCaughtError),r.onRecoverableError!==void 0&&(l=r.onRecoverableError)),r=qwe(e,1,!1,null,null,a,i,null,f,s,l,Qwe),e[eT]=r.current,See(e),new SY(r)};Bee();S();var r0e={theme:"system",setTheme:()=>null},Yee=at(r0e);function Uee({children:e,defaultTheme:r="system",storageKey:a="vite-ui-theme",...i}){let[f,s]=u(()=>localStorage.getItem(a)||r);h(()=>{let c=window.document.documentElement;if(c.classList.remove("light","dark"),f==="system"){let m=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";c.classList.add(m);return}c.classList.add(f)},[f]);let l={theme:f,setTheme:(c)=>{localStorage.setItem(a,c),s(c)}};return t(Yee.Provider,{...i,value:l,children:e})}var qee=()=>{let e=dt(Yee);if(e===void 0)throw Error("useTheme must be used within a ThemeProvider");return e};var o0e=/^[\w!#$%&'*.^`|~+-]+$/;var a0e=(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 f of["domain","path","sameSite","priority"])if(a[f]&&/[;\r\n]/.test(a[f]))throw Error(`${f} must not contain ";", "\\r", or "\\n"`);if(a&&typeof a.maxAge==="number"&&a.maxAge>=0){if(a.maxAge>34560000)throw Error("Cookies Max-Age SHOULD NOT be greater than 400 days (34560000 seconds) in duration.");i+=`; Max-Age=${a.maxAge|0}`}if(a.domain&&a.prefix!=="host")i+=`; Domain=${a.domain}`;if(a.path)i+=`; Path=${a.path}`;if(a.expires){if(a.expires.getTime()-Date.now()>34560000000)throw Error("Cookies Expires SHOULD NOT be greater than 400 days (34560000 seconds) in the future.");i+=`; Expires=${a.expires.toUTCString()}`}if(a.httpOnly)i+="; HttpOnly";if(a.secure)i+="; Secure";if(a.sameSite)i+=`; SameSite=${a.sameSite.charAt(0).toUpperCase()+a.sameSite.slice(1)}`;if(a.priority)i+=`; Priority=${a.priority.charAt(0).toUpperCase()+a.priority.slice(1)}`;if(a.partitioned){if(!a.secure)throw Error("Partitioned Cookie must have Secure attributes");i+="; Partitioned"}return i},Hee=(e,r,a)=>(r=encodeURIComponent(r),a0e(e,r,a));var Vee=(e,r)=>(e=e.replace(/\/+$/,""),e=e+"/",r=r.replace(/^\/+/,""),e+r),Vj=(e,r)=>{for(let[a,i]of Object.entries(r)){let f=new RegExp("/:"+a+"(?:{[^/]+})?\\??(?=/|$)");e=e.replace(f,()=>i?`/${i}`:"")}return e},Wee=(e)=>{let r=new URLSearchParams;for(let[a,i]of Object.entries(e)){if(i===void 0)continue;if(Array.isArray(i))for(let f of i){if(f===void 0)continue;r.append(a,f)}else r.set(a,i)}return r},Gee=(e,r)=>{switch(r){case"ws":return e.replace(/^http/,"ws");case"http":return e.replace(/^ws/,"http")}},kY=(e)=>{if(/^https?:\/\/[^\/]+?\/index(?=\?|$)/.test(e))return e.replace(/\/index(?=\?|$)/,"/");return e.replace(/\/index(?=\?|$)/,"")};function Hj(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}function CY(e,r){if(!Hj(e)&&!Hj(r))return r;let a={...e};for(let i in r){let f=r[i];if(Hj(a[i])&&Hj(f))a[i]=CY(a[i],f);else a[i]=f}return a}var Kee=(e,r)=>new Proxy(()=>{},{get(i,f){if(typeof f!=="string"||f==="then")return;return Kee(e,[...r,f])},apply(i,f,s){return e({path:r,args:s})}}),Xee=(e,r)=>{let a=r.toString();return a?`${e}?${a}`:e},i0e=class{url;method;buildSearchParams;queryParams=void 0;pathParams={};rBody;cType=void 0;constructor(e,r,a){this.url=e,this.method=r,this.buildSearchParams=a.buildSearchParams}fetch=async(e,r)=>{if(e){if(e.query)this.queryParams=this.buildSearchParams(e.query);if(e.form){let c=new FormData;for(let[m,g]of Object.entries(e.form)){if(g===void 0)continue;if(Array.isArray(g))for(let M of g){if(M===void 0)continue;c.append(m,M)}else c.append(m,g)}this.rBody=c}if(e.json!==void 0)this.rBody=JSON.stringify(e.json),this.cType="application/json";if(e.param)this.pathParams=e.param}let a=this.method.toUpperCase(),i={...e?.header,...typeof r?.headers==="function"?await r.headers():r?.headers};if(e?.cookie){let c=[];for(let[m,g]of Object.entries(e.cookie)){if(g===void 0)continue;c.push(Hee(m,g))}if(c.length>0)i.Cookie=c.join("; ")}if(this.cType)i["Content-Type"]=this.cType;let f=new Headers;for(let[c,m]of Object.entries(i))if(m!==void 0)f.set(c,m);let s=this.url;if(s=kY(s),s=Vj(s,this.pathParams),this.queryParams)s=Xee(s,this.queryParams);a=this.method.toUpperCase();let l=!(a==="GET"||a==="HEAD");return(r?.fetch||fetch)(s,{body:l?this.rBody:void 0,method:a,headers:f,...r?.init})}},IY=(e,r)=>Kee(function a(i){let f=r?.buildSearchParams??Wee,s=[...i.path],l=s.slice(-3).reverse();if(l[0]==="toString"){if(l[1]==="name")return l[2]||"";return a.toString()}if(l[0]==="valueOf"){if(l[1]==="name")return l[2]||"";return a}let c="";if(/^\$/.test(l[0])){let v=s.pop();if(v)c=v.replace(/^\$/,"")}let m=s.join("/"),g=Vee(e,m);if(c==="url"||c==="path"){let v=g;if(i.args[0]){if(i.args[0].param)v=Vj(g,i.args[0].param);if(i.args[0].query)v=Xee(v,f(i.args[0].query))}if(v=kY(v),c==="url")return new URL(v);return v.slice(e.replace(/\/+$/,"").length).replace(/^\/?/,"/")}if(c==="ws"){let v=Gee(i.args[0]?.param?Vj(g,i.args[0].param):g,"ws"),y=new URL(v),x=i.args[0]?.query;if(x)f(x).forEach((U,T)=>{y.searchParams.append(T,U)});return((...j)=>{if(r?.webSocket!==void 0&&typeof r.webSocket==="function")return r.webSocket(...j);return new WebSocket(...j)})(y.toString())}let M=new i0e(g,c,{buildSearchParams:f});if(c){r??={};let v={...i.args[1]},y=r.headers,x=v.headers;if(y&&x)v.headers=async()=>({...typeof y==="function"?await y():y,...typeof x==="function"?await x():x});let _=CY(r,v);return M.fetch(i.args[0],_)}return M},[]);var Qee=(e)=>{let r,a=new Set,i=(g,M)=>{let v=typeof g==="function"?g(r):g;if(!Object.is(v,r)){let y=r;r=(M!=null?M:typeof v!=="object"||v===null)?v:Object.assign({},r,v),a.forEach((x)=>x(r,y))}},f=()=>r,c={setState:i,getState:f,getInitialState:()=>m,subscribe:(g)=>(a.add(g),()=>a.delete(g))},m=r=e(i,f,c);return c},Jee=(e)=>e?Qee(e):Qee;S();var f0e=(e)=>e;function s0e(e,r=f0e){let a=Yn(e.subscribe,P(()=>r(e.getState()),[e,r]),P(()=>r(e.getInitialState()),[e,r]));return la(a),a}var $ee=(e)=>{let r=Jee(e),a=(i)=>s0e(r,i);return Object.assign(a,r),a},Mr=(e)=>e?$ee(e):$ee;var ete=(e)=>!!e.dispatchFromDevtools&&typeof e.dispatch==="function",lT=new Map,Wj=(e)=>{let r=lT.get(e);if(!r)return{};return Object.fromEntries(Object.entries(r.stores).map(([a,i])=>[a,i.getState()]))},l0e=(e,r,a)=>{if(e===void 0)return{type:"untracked",connection:r.connect(a)};let i=lT.get(a.name);if(i)return{type:"tracked",store:e,...i};let f={connection:r.connect(a),stores:{}};return lT.set(a.name,f),{type:"tracked",store:e,...f}},c0e=(e,r)=>{if(r===void 0)return;let a=lT.get(e);if(!a)return;if(delete a.stores[r],Object.keys(a.stores).length===0)lT.delete(e)},u0e=/^at (?:new |async )?(.+?) \(/,d0e=/^([^@]+)@/;function Z0e(e){var r,a,i;if(!e)return;let f=e.split(`
|
|
11
|
-
`),s=f.findIndex((c)=>c.includes("api.setState"));if(s<0)return;let l=((r=f[s+1])==null?void 0:r.trim())||"";return((a=u0e.exec(l))==null?void 0:a[1])||((i=d0e.exec(l))==null?void 0:i[1])}var p0e=(e,r={})=>(a,i,f)=>{let{enabled:s,anonymousActionType:l,store:c,...m}=r,g;try{g=(s!=null?s:(import.meta.env?import.meta.env.MODE:void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(j){}if(!g)return e(a,i,f);let{connection:M,...v}=l0e(c,g,m),y=!0;f.setState=(j,U,T)=>{let N=a(j,U);if(!y)return N;let G=T===void 0?{type:l||Z0e(Error().stack)||"anonymous"}:typeof T==="string"?{type:T}:T;if(c===void 0)return M==null||M.send(G,i()),N;return M==null||M.send({...G,type:`${c}/${G.type}`},{...Wj(m.name),[c]:f.getState()}),N},f.devtools={cleanup:()=>{if(M&&typeof M.unsubscribe==="function")M.unsubscribe();c0e(m.name,c)}};let x=(...j)=>{let U=y;y=!1,a(...j),y=U},_=e(f.setState,i,f);if(v.type==="untracked")M==null||M.init(_);else v.stores[v.store]=f,M==null||M.init(Object.fromEntries(Object.entries(v.stores).map(([j,U])=>[j,j===v.store?_:U.getState()])));if(ete(f)){let j=!1,U=f.dispatch;f.dispatch=(...T)=>{if((import.meta.env?import.meta.env.MODE:void 0)!=="production"&&T[0].type==="__setState"&&!j)console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),j=!0;U(...T)}}return M.subscribe((j)=>{var U;switch(j.type){case"ACTION":if(typeof j.payload!=="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return RY(j.payload,(T)=>{if(T.type==="__setState"){if(c===void 0){x(T.state);return}if(Object.keys(T.state).length!==1)console.error(`
|
|
12
|
-
[zustand devtools middleware] Unsupported __setState action format.
|
|
13
|
-
When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
|
|
14
|
-
and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
|
|
15
|
-
`);let N=T.state[c];if(N===void 0||N===null)return;if(JSON.stringify(f.getState())!==JSON.stringify(N))x(N);return}if(ete(f))f.dispatch(T)});case"DISPATCH":switch(j.payload.type){case"RESET":if(x(_),c===void 0)return M==null?void 0:M.init(f.getState());return M==null?void 0:M.init(Wj(m.name));case"COMMIT":if(c===void 0){M==null||M.init(f.getState());return}return M==null?void 0:M.init(Wj(m.name));case"ROLLBACK":return RY(j.state,(T)=>{if(c===void 0){x(T),M==null||M.init(f.getState());return}x(T[c]),M==null||M.init(Wj(m.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return RY(j.state,(T)=>{if(c===void 0){x(T);return}if(JSON.stringify(f.getState())!==JSON.stringify(T[c]))x(T[c])});case"IMPORT_STATE":{let{nextLiftedState:T}=j.payload,N=(U=T.computedStates.slice(-1)[0])==null?void 0:U.state;if(!N)return;if(c===void 0)x(N);else x(N[c]);M==null||M.send(null,T);return}case"PAUSE_RECORDING":return y=!y}return}}),_},tte=p0e,RY=(e,r)=>{let a;try{a=JSON.parse(e)}catch(i){console.error("[zustand devtools middleware] Could not parse the received json",i)}if(a!==void 0)r(a)};function Sz(e,r){let a;try{a=e()}catch(f){return}return{getItem:(f)=>{var s;let l=(m)=>{if(m===null)return null;return JSON.parse(m,r==null?void 0:r.reviver)},c=(s=a.getItem(f))!=null?s:null;if(c instanceof Promise)return c.then(l);return l(c)},setItem:(f,s)=>a.setItem(f,JSON.stringify(s,r==null?void 0:r.replacer)),removeItem:(f)=>a.removeItem(f)}}var PY=(e)=>(r)=>{try{let a=e(r);if(a instanceof Promise)return a;return{then(i){return PY(i)(a)},catch(i){return this}}}catch(a){return{then(i){return this},catch(i){return PY(i)(a)}}}},m0e=(e,r)=>(a,i,f)=>{let s={storage:Sz(()=>window.localStorage),partialize:(U)=>U,version:0,merge:(U,T)=>({...T,...U}),...r},l=!1,c=0,m=new Set,g=new Set,M=s.storage;if(!M)return e((...U)=>{console.warn(`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`),a(...U)},i,f);let v=()=>{let U=s.partialize({...i()});return M.setItem(s.name,{state:U,version:s.version})},y=f.setState;f.setState=(U,T)=>(y(U,T),v());let x=e((...U)=>(a(...U),v()),i,f);f.getInitialState=()=>x;let _,j=()=>{var U,T;if(!M)return;let N=++c;l=!1,m.forEach((X)=>{var J;return X((J=i())!=null?J:x)});let G=((T=s.onRehydrateStorage)==null?void 0:T.call(s,(U=i())!=null?U:x))||void 0;return PY(M.getItem.bind(M))(s.name).then((X)=>{if(X)if(typeof X.version==="number"&&X.version!==s.version){if(s.migrate){let J=s.migrate(X.state,X.version);if(J instanceof Promise)return J.then((ee)=>[!0,ee]);return[!0,J]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,X.state];return[!1,void 0]}).then((X)=>{var J;if(N!==c)return;let[ee,re]=X;if(_=s.merge(re,(J=i())!=null?J:x),a(_,!0),ee)return v()}).then(()=>{if(N!==c)return;G==null||G(i(),void 0),_=i(),l=!0,g.forEach((X)=>X(_))}).catch((X)=>{if(N!==c)return;G==null||G(void 0,X)})};if(f.persist={setOptions:(U)=>{if(s={...s,...U},U.storage)M=U.storage},clearStorage:()=>{++c,M==null||M.removeItem(s.name)},getOptions:()=>s,rehydrate:()=>j(),hasHydrated:()=>l,onHydrate:(U)=>(m.add(U),()=>{m.delete(U)}),onFinishHydration:(U)=>(g.add(U),()=>{g.delete(U)})},!s.skipHydration)j();return _||x},Hk=m0e;var cf=Mr()(Hk((e)=>({user:null,setUser:(r)=>e({user:r}),clearAuth:()=>e({user:null})}),{name:"auth-storage",storage:Sz(()=>localStorage)}));var h0e=async(e,r)=>{let a=await fetch(e,r);if(a.status===401){let i=e.toString();if(!window.location.pathname.includes("/login")&&!window.location.pathname.includes("/signup")&&!window.location.pathname.startsWith("/share/")&&!i.includes("/api/authn"))cf.getState().clearAuth(),window.location.href="/login"}return a},A=IY("/",{fetch:h0e,init:{credentials:"include"}});S();var Gj=(...e)=>e.filter((r,a,i)=>Boolean(r)&&r.trim()!==""&&i.indexOf(r)===a).join(" ").trim();var rte=(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 TY=(e)=>{let r=ote(e);return r.charAt(0).toUpperCase()+r.slice(1)};S();var Kj={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 ate=(e)=>{for(let r in e)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};S();var g0e=at({});var nte=()=>dt(g0e);var ite=O(({color:e,size:r,strokeWidth:a,absoluteStrokeWidth:i,className:f="",children:s,iconNode:l,...c},m)=>{let{size:g=24,strokeWidth:M=2,absoluteStrokeWidth:v=!1,color:y="currentColor",className:x=""}=nte()??{},_=i??v?Number(a??M)*24/Number(r??g):a??M;return q("svg",{ref:m,...Kj,width:r??g??Kj.width,height:r??g??Kj.height,stroke:e??y,strokeWidth:_,className:Gj("lucide",x,f),...!s&&!ate(c)&&{"aria-hidden":"true"},...c},[...l.map(([j,U])=>q(j,U)),...Array.isArray(s)?s:[s]])});var I=(e,r)=>{let a=O(({className:i,...f},s)=>q(ite,{ref:s,iconNode:r,className:Gj(`lucide-${rte(TY(e))}`,`lucide-${e}`,i),...f}));return a.displayName=TY(e),a};var M0e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],vr=I("circle-check",M0e);var v0e=[["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",v0e);var x0e=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],r8=I("columns-2",x0e);var y0e=[["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",y0e);var b0e=[["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",b0e);var _0e=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],F=I("loader-circle",_0e);var w0e=[["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",w0e);var z0e=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],In=I("rotate-ccw-clock",z0e);var S0e=[["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",S0e);var L0e=[["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",L0e);var k0e=[["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",k0e);var C0e=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Xn=I("arrow-right",C0e);var I0e=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],Wa=I("arrow-up",I0e);var R0e=[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]],Ya=I("bookmark",R0e);var P0e=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],St=I("bot",P0e);var T0e=[["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",T0e);var A0e=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],cT=I("check-check",A0e);var D0e=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],ke=I("check",D0e);var E0e=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ve=I("chevron-down",E0e);var O0e=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],rn=I("chevron-left",O0e);var j0e=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],bt=I("chevron-right",j0e);var N0e=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Ei=I("chevron-up",N0e);var F0e=[["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",F0e);var B0e=[["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",B0e);var Y0e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],uT=I("circle",Y0e);var U0e=[["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"}]],dT=I("clapperboard",U0e);var q0e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],Xt=I("clock",q0e);var H0e=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],vt=I("download",H0e);var V0e=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],qn=I("file-text",V0e);var W0e=[["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",W0e);var G0e=[["path",{d:"M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"14sh0y"}],["path",{d:"M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706z",key:"1970lx"}],["path",{d:"M5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1",key:"l4dndm"}]],Ci=I("files",G0e);var K0e=[["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",K0e);var X0e=[["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",X0e);var Q0e=[["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",Q0e);var J0e=[["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",J0e);var $0e=[["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",$0e);var eze=[["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",eze);var tze=[["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",tze);var rze=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],Po=I("list",rze);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 aze=[["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"}]],ZT=I("log-in",aze);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"}]],Cz=I("mail",nze);var ize=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],KZ=I("menu",ize);var fze=[["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",fze);var sze=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],Ii=I("paperclip",sze);var lze=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],fe=I("plus",lze);var cze=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Bt=I("search",cze);var uze=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],Ti=I("share-2",uze);var dze=[["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",dze);var Zze=[["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",Zze);var pze=[["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"}]],pT=I("user-plus",pze);var mze=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Re=I("x",mze);S();var Vk=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 Rre(e){var r,a,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var f=e.length;for(r=0;r<f;r++)e[r]&&(a=Rre(e[r]))&&(i&&(i+=" "),i+=a)}else for(a in e)e[a]&&(i&&(i+=" "),i+=a);return i}function Xj(){for(var e,r,a=0,i="",f=arguments.length;a<f;a++)(e=arguments[a])&&(r=Rre(e))&&(i&&(i+=" "),i+=r);return i}var hze=(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},gze=(e,r)=>({classGroupId:e,validator:r}),Ore=(e=new Map,r=null,a)=>({nextPart:e,validators:r,classGroupId:a});var Pre=[];var Mze=(e)=>{let r=xze(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:(l)=>{if(l.startsWith("[")&&l.endsWith("]"))return vze(l);let c=l.split("-"),m=c[0]===""&&c.length>1?1:0;return jre(c,m,r)},getConflictingClassGroupIds:(l,c)=>{if(c){let m=i[l],g=a[l];if(m){if(g)return hze(g,m);return m}return g||Pre}return a[l]||Pre}}},jre=(e,r,a)=>{if(e.length-r===0)return a.classGroupId;let f=e[r],s=a.nextPart.get(f);if(s){let g=jre(e,r+1,s);if(g)return g}let l=a.validators;if(l===null)return;let c=r===0?e.join("-"):e.slice(r).join("-"),m=l.length;for(let g=0;g<m;g++){let M=l[g];if(M.validator(c))return M.classGroupId}return},vze=(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})(),xze=(e)=>{let{theme:r,classGroups:a}=e;return yze(a,r)},yze=(e,r)=>{let a=Ore();for(let i in e){let f=e[i];DY(f,a,i,r)}return a},DY=(e,r,a,i)=>{let f=e.length;for(let s=0;s<f;s++){let l=e[s];bze(l,r,a,i)}},bze=(e,r,a,i)=>{if(typeof e==="string"){_ze(e,r,a);return}if(typeof e==="function"){wze(e,r,a,i);return}zze(e,r,a,i)},_ze=(e,r,a)=>{let i=e===""?r:Nre(r,e);i.classGroupId=a},wze=(e,r,a,i)=>{if(Sze(e)){DY(e(i),r,a,i);return}if(r.validators===null)r.validators=[];r.validators.push(gze(a,e))},zze=(e,r,a,i)=>{let f=Object.entries(e),s=f.length;for(let l=0;l<s;l++){let[c,m]=f[l];DY(m,Nre(r,c),a,i)}},Nre=(e,r)=>{let a=e,i=r.split("-"),f=i.length;for(let s=0;s<f;s++){let l=i[s],c=a.nextPart.get(l);if(!c)c=Ore(),a.nextPart.set(l,c);a=c}return a},Sze=(e)=>("isThemeGetter"in e)&&e.isThemeGetter===!0,Lze=(e)=>{if(e<1)return{get:()=>{return},set:()=>{}};let r=0,a=Object.create(null),i=Object.create(null),f=(s,l)=>{if(a[s]=l,r++,r>e)r=0,i=a,a=Object.create(null)};return{get(s){let l=a[s];if(l!==void 0)return l;if((l=i[s])!==void 0)return f(s,l),l},set(s,l){if(s in a)a[s]=l;else f(s,l)}}};var kze=[],Tre=(e,r,a,i,f)=>({modifiers:e,hasImportantModifier:r,baseClassName:a,maybePostfixModifierPosition:i,isExternal:f}),Cze=(e)=>{let{prefix:r,experimentalParseClassName:a}=e,i=(f)=>{let s=[],l=0,c=0,m=0,g,M=f.length;for(let j=0;j<M;j++){let U=f[j];if(l===0&&c===0){if(U===":"){s.push(f.slice(m,j)),m=j+1;continue}if(U==="/"){g=j;continue}}if(U==="[")l++;else if(U==="]")l--;else if(U==="(")c++;else if(U===")")c--}let v=s.length===0?f:f.slice(m),y=v,x=!1;if(v.endsWith("!"))y=v.slice(0,-1),x=!0;else if(v.startsWith("!"))y=v.slice(1),x=!0;let _=g&&g>m?g-m:void 0;return Tre(s,x,y,_)};if(r){let f=r+":",s=i;i=(l)=>l.startsWith(f)?s(l.slice(f.length)):Tre(kze,!1,l,void 0,!0)}if(a){let f=i;i=(s)=>a({className:s,parseClassName:f})}return i},Ize=(e)=>{let r=new Map;return e.orderSensitiveModifiers.forEach((a,i)=>{r.set(a,1e6+i)}),(a)=>{let i=[],f=[];for(let s=0;s<a.length;s++){let l=a[s],c=l[0]==="[",m=r.has(l);if(c||m){if(f.length>0)f.sort(),i.push(...f),f=[];i.push(l)}else f.push(l)}if(f.length>0)f.sort(),i.push(...f);return i}},Rze=(e)=>({cache:Lze(e.cacheSize),parseClassName:Cze(e),sortModifiers:Ize(e),postfixLookupClassGroupIds:Pze(e),...Mze(e)}),Pze=(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},Tze=/\s+/,Aze=(e,r)=>{let{parseClassName:a,getClassGroupId:i,getConflictingClassGroupIds:f,sortModifiers:s,postfixLookupClassGroupIds:l}=r,c=[],m=e.trim().split(Tze),g="";for(let M=m.length-1;M>=0;M-=1){let v=m[M],{isExternal:y,modifiers:x,hasImportantModifier:_,baseClassName:j,maybePostfixModifierPosition:U}=a(v);if(y){g=v+(g.length>0?" "+g:g);continue}let T=!!U,N;if(T){let re=j.substring(0,U);N=i(re);let oe=N&&l[N]?i(j):void 0;if(oe&&oe!==N)N=oe,T=!1}else N=i(j);if(!N){if(!T){g=v+(g.length>0?" "+g:g);continue}if(N=i(j),!N){g=v+(g.length>0?" "+g:g);continue}T=!1}let G=x.length===0?"":x.length===1?x[0]:s(x).join(":"),X=_?G+"!":G,J=X+N;if(c.indexOf(J)>-1)continue;c.push(J);let ee=f(N,T);for(let re=0;re<ee.length;++re){let oe=ee[re];c.push(X+oe)}g=v+(g.length>0?" "+g:g)}return g},Dze=(...e)=>{let r=0,a,i,f="";while(r<e.length)if(a=e[r++]){if(i=Fre(a))f&&(f+=" "),f+=i}return f},Fre=(e)=>{if(typeof e==="string")return e;let r,a="";for(let i=0;i<e.length;i++)if(e[i]){if(r=Fre(e[i]))a&&(a+=" "),a+=r}return a},Eze=(e,...r)=>{let a,i,f,s,l=(m)=>{let g=r.reduce((M,v)=>v(M),e());return a=Rze(g),i=a.cache.get,f=a.cache.set,s=c,c(m)},c=(m)=>{let g=i(m);if(g)return g;let M=Aze(m,a);return f(m,M),M};return s=l,(...m)=>s(Dze(...m))},Oze=[],mi=(e)=>{let r=(a)=>a[e]||Oze;return r.isThemeGetter=!0,r},Bre=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Yre=/^\((?:(\w[\w-]*):)?(.+)\)$/i,jze=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Nze=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Fze=/\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$/,Bze=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Yze=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Uze=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,i8=(e)=>jze.test(e),mo=(e)=>!!e&&!Number.isNaN(Number(e)),aZ=(e)=>!!e&&Number.isInteger(Number(e)),AY=(e)=>e.endsWith("%")&&mo(e.slice(0,-1)),XZ=(e)=>Nze.test(e),Ure=()=>!0,qze=(e)=>Fze.test(e)&&!Bze.test(e),EY=()=>!1,Hze=(e)=>Yze.test(e),Vze=(e)=>Uze.test(e),Wze=(e)=>!br(e)&&!Cr(e),Gze=(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)),Kze=(e)=>f8(e,Vre,EY),br=(e)=>Bre.test(e),Iz=(e)=>f8(e,Wre,qze),Are=(e)=>f8(e,oSe,mo),Xze=(e)=>f8(e,Kre,Ure),Qze=(e)=>f8(e,Gre,EY),Dre=(e)=>f8(e,qre,EY),Jze=(e)=>f8(e,Hre,Vze),Qj=(e)=>f8(e,Xre,Hze),Cr=(e)=>Yre.test(e),zT=(e)=>Rz(e,Wre),$ze=(e)=>Rz(e,Gre),Ere=(e)=>Rz(e,qre),eSe=(e)=>Rz(e,Vre),tSe=(e)=>Rz(e,Hre),Jj=(e)=>Rz(e,Xre,!0),rSe=(e)=>Rz(e,Kre,!0),f8=(e,r,a)=>{let i=Bre.exec(e);if(i){if(i[1])return r(i[1]);return a(i[2])}return!1},Rz=(e,r,a=!1)=>{let i=Yre.exec(e);if(i){if(i[1])return r(i[1]);return a}return!1},qre=(e)=>e==="position"||e==="percentage",Hre=(e)=>e==="image"||e==="url",Vre=(e)=>e==="length"||e==="size"||e==="bg-size",Wre=(e)=>e==="length",oSe=(e)=>e==="number",Gre=(e)=>e==="family-name",Kre=(e)=>e==="number"||e==="weight",Xre=(e)=>e==="shadow";var aSe=()=>{let e=mi("color"),r=mi("font"),a=mi("text"),i=mi("font-weight"),f=mi("tracking"),s=mi("leading"),l=mi("breakpoint"),c=mi("container"),m=mi("spacing"),g=mi("radius"),M=mi("shadow"),v=mi("inset-shadow"),y=mi("text-shadow"),x=mi("drop-shadow"),_=mi("blur"),j=mi("perspective"),U=mi("aspect"),T=mi("ease"),N=mi("animate"),G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],X=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],J=()=>[...X(),Cr,br],ee=()=>["auto","hidden","clip","visible","scroll"],re=()=>["auto","contain","none"],oe=()=>[Cr,br,m],ae=()=>[i8,"full","auto",...oe()],ye=()=>[aZ,"none","subgrid",Cr,br],We=()=>["auto",{span:["full",aZ,Cr,br]},aZ,Cr,br],Ye=()=>[aZ,"auto",Cr,br],ze=()=>["auto","min","max","fr",Cr,br],qe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ut=()=>["start","end","center","stretch","center-safe","end-safe"],$e=()=>["auto",...oe()],xt=()=>[i8,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...oe()],Dt=()=>[i8,"screen","full","dvw","lvw","svw","min","max","fit",...oe()],jt=()=>[i8,"screen","full","lh","dvh","lvh","svh","min","max","fit",...oe()],de=()=>[e,Cr,br],yt=()=>[...X(),Ere,Dre,{position:[Cr,br]}],Wt=()=>["no-repeat",{repeat:["","x","y","space","round"]}],De=()=>["auto","cover","contain",eSe,Kze,{size:[Cr,br]}],fr=()=>[AY,zT,Iz],sr=()=>["","none","full",g,Cr,br],rr=()=>["",mo,zT,Iz],Or=()=>["solid","dashed","dotted","double"],Gt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Kt=()=>[mo,AY,Ere,Dre],Rr=()=>["","none",_,Cr,br],Lr=()=>["none",mo,Cr,br],Tr=()=>["none",mo,Cr,br],dr=()=>[mo,Cr,br],uo=()=>[i8,"full",...oe()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[XZ],breakpoint:[XZ],color:[Ure],container:[XZ],"drop-shadow":[XZ],ease:["in","out","in-out"],font:[Wze],"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,br,Cr,U]}],container:["container"],"container-type":[{"@container":["","normal","size",Cr,br]}],"container-named":[Gze],columns:[{columns:[mo,br,Cr,c]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:J()}],overflow:[{overflow:ee()}],"overflow-x":[{"overflow-x":ee()}],"overflow-y":[{"overflow-y":ee()}],overscroll:[{overscroll:re()}],"overscroll-x":[{"overscroll-x":re()}],"overscroll-y":[{"overscroll-y":re()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ae()}],"inset-x":[{"inset-x":ae()}],"inset-y":[{"inset-y":ae()}],start:[{"inset-s":ae(),start:ae()}],end:[{"inset-e":ae(),end:ae()}],"inset-bs":[{"inset-bs":ae()}],"inset-be":[{"inset-be":ae()}],top:[{top:ae()}],right:[{right:ae()}],bottom:[{bottom:ae()}],left:[{left:ae()}],visibility:["visible","invisible","collapse"],z:[{z:[aZ,"auto",Cr,br]}],basis:[{basis:[i8,"full","auto",c,...oe()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[mo,i8,"auto","initial","none",br]}],grow:[{grow:["",mo,Cr,br]}],shrink:[{shrink:["",mo,Cr,br]}],order:[{order:[aZ,"first","last","none",Cr,br]}],"grid-cols":[{"grid-cols":ye()}],"col-start-end":[{col:We()}],"col-start":[{"col-start":Ye()}],"col-end":[{"col-end":Ye()}],"grid-rows":[{"grid-rows":ye()}],"row-start-end":[{row:We()}],"row-start":[{"row-start":Ye()}],"row-end":[{"row-end":Ye()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ze()}],"auto-rows":[{"auto-rows":ze()}],gap:[{gap:oe()}],"gap-x":[{"gap-x":oe()}],"gap-y":[{"gap-y":oe()}],"justify-content":[{justify:[...qe(),"normal"]}],"justify-items":[{"justify-items":[...ut(),"normal"]}],"justify-self":[{"justify-self":["auto",...ut()]}],"align-content":[{content:["normal",...qe()]}],"align-items":[{items:[...ut(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ut(),{baseline:["","last"]}]}],"place-content":[{"place-content":qe()}],"place-items":[{"place-items":[...ut(),"baseline"]}],"place-self":[{"place-self":["auto",...ut()]}],p:[{p:oe()}],px:[{px:oe()}],py:[{py:oe()}],ps:[{ps:oe()}],pe:[{pe:oe()}],pbs:[{pbs:oe()}],pbe:[{pbe:oe()}],pt:[{pt:oe()}],pr:[{pr:oe()}],pb:[{pb:oe()}],pl:[{pl:oe()}],m:[{m:$e()}],mx:[{mx:$e()}],my:[{my:$e()}],ms:[{ms:$e()}],me:[{me:$e()}],mbs:[{mbs:$e()}],mbe:[{mbe:$e()}],mt:[{mt:$e()}],mr:[{mr:$e()}],mb:[{mb:$e()}],ml:[{ml:$e()}],"space-x":[{"space-x":oe()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":oe()}],"space-y-reverse":["space-y-reverse"],size:[{size:xt()}],"inline-size":[{inline:["auto",...Dt()]}],"min-inline-size":[{"min-inline":["auto",...Dt()]}],"max-inline-size":[{"max-inline":["none",...Dt()]}],"block-size":[{block:["auto",...jt()]}],"min-block-size":[{"min-block":["auto",...jt()]}],"max-block-size":[{"max-block":["none",...jt()]}],w:[{w:[c,"screen",...xt()]}],"min-w":[{"min-w":[c,"screen","none",...xt()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[l]},...xt()]}],h:[{h:["screen","lh",...xt()]}],"min-h":[{"min-h":["screen","lh","none",...xt()]}],"max-h":[{"max-h":["screen","lh",...xt()]}],"font-size":[{text:["base",a,zT,Iz]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,rSe,Xze]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",AY,br]}],"font-family":[{font:[$ze,Qze,r]}],"font-features":[{"font-features":[br]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[f,Cr,br]}],"line-clamp":[{"line-clamp":[mo,"none",Cr,Are]}],leading:[{leading:[s,...oe()]}],"list-image":[{"list-image":["none",Cr,br]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Cr,br]}],"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",Cr,Iz]}],"text-decoration-color":[{decoration:de()}],"underline-offset":[{"underline-offset":[mo,"auto",Cr,br]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:oe()}],"tab-size":[{tab:[aZ,Cr,br]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Cr,br]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Cr,br]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:yt()}],"bg-repeat":[{bg:Wt()}],"bg-size":[{bg:De()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},aZ,Cr,br],radial:["",Cr,br],conic:[aZ,Cr,br]},tSe,Jze]}],"bg-color":[{bg:de()}],"gradient-from-pos":[{from:fr()}],"gradient-via-pos":[{via:fr()}],"gradient-to-pos":[{to:fr()}],"gradient-from":[{from:de()}],"gradient-via":[{via:de()}],"gradient-to":[{to:de()}],rounded:[{rounded:sr()}],"rounded-s":[{"rounded-s":sr()}],"rounded-e":[{"rounded-e":sr()}],"rounded-t":[{"rounded-t":sr()}],"rounded-r":[{"rounded-r":sr()}],"rounded-b":[{"rounded-b":sr()}],"rounded-l":[{"rounded-l":sr()}],"rounded-ss":[{"rounded-ss":sr()}],"rounded-se":[{"rounded-se":sr()}],"rounded-ee":[{"rounded-ee":sr()}],"rounded-es":[{"rounded-es":sr()}],"rounded-tl":[{"rounded-tl":sr()}],"rounded-tr":[{"rounded-tr":sr()}],"rounded-br":[{"rounded-br":sr()}],"rounded-bl":[{"rounded-bl":sr()}],"border-w":[{border: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,Cr,br]}],"outline-w":[{outline:["",mo,zT,Iz]}],"outline-color":[{outline:de()}],shadow:[{shadow:["","none",M,Jj,Qj]}],"shadow-color":[{shadow:de()}],"inset-shadow":[{"inset-shadow":["none",v,Jj,Qj]}],"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,Iz]}],"ring-offset-color":[{"ring-offset":de()}],"inset-ring-w":[{"inset-ring":rr()}],"inset-ring-color":[{"inset-ring":de()}],"text-shadow":[{"text-shadow":["none",y,Jj,Qj]}],"text-shadow-color":[{"text-shadow":de()}],opacity:[{opacity:[mo,Cr,br]}],"mix-blend":[{"mix-blend":[...Gt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Gt()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[mo]}],"mask-image-linear-from-pos":[{"mask-linear-from":Kt()}],"mask-image-linear-to-pos":[{"mask-linear-to":Kt()}],"mask-image-linear-from-color":[{"mask-linear-from":de()}],"mask-image-linear-to-color":[{"mask-linear-to":de()}],"mask-image-t-from-pos":[{"mask-t-from":Kt()}],"mask-image-t-to-pos":[{"mask-t-to":Kt()}],"mask-image-t-from-color":[{"mask-t-from":de()}],"mask-image-t-to-color":[{"mask-t-to":de()}],"mask-image-r-from-pos":[{"mask-r-from":Kt()}],"mask-image-r-to-pos":[{"mask-r-to":Kt()}],"mask-image-r-from-color":[{"mask-r-from":de()}],"mask-image-r-to-color":[{"mask-r-to":de()}],"mask-image-b-from-pos":[{"mask-b-from":Kt()}],"mask-image-b-to-pos":[{"mask-b-to":Kt()}],"mask-image-b-from-color":[{"mask-b-from":de()}],"mask-image-b-to-color":[{"mask-b-to":de()}],"mask-image-l-from-pos":[{"mask-l-from":Kt()}],"mask-image-l-to-pos":[{"mask-l-to":Kt()}],"mask-image-l-from-color":[{"mask-l-from":de()}],"mask-image-l-to-color":[{"mask-l-to":de()}],"mask-image-x-from-pos":[{"mask-x-from":Kt()}],"mask-image-x-to-pos":[{"mask-x-to":Kt()}],"mask-image-x-from-color":[{"mask-x-from":de()}],"mask-image-x-to-color":[{"mask-x-to":de()}],"mask-image-y-from-pos":[{"mask-y-from":Kt()}],"mask-image-y-to-pos":[{"mask-y-to":Kt()}],"mask-image-y-from-color":[{"mask-y-from":de()}],"mask-image-y-to-color":[{"mask-y-to":de()}],"mask-image-radial":[{"mask-radial":[Cr,br]}],"mask-image-radial-from-pos":[{"mask-radial-from":Kt()}],"mask-image-radial-to-pos":[{"mask-radial-to":Kt()}],"mask-image-radial-from-color":[{"mask-radial-from":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":Kt()}],"mask-image-conic-to-pos":[{"mask-conic-to":Kt()}],"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:yt()}],"mask-repeat":[{mask:Wt()}],"mask-size":[{mask:De()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Cr,br]}],filter:[{filter:["","none",Cr,br]}],blur:[{blur:Rr()}],brightness:[{brightness:[mo,Cr,br]}],contrast:[{contrast:[mo,Cr,br]}],"drop-shadow":[{"drop-shadow":["","none",x,Jj,Qj]}],"drop-shadow-color":[{"drop-shadow":de()}],grayscale:[{grayscale:["",mo,Cr,br]}],"hue-rotate":[{"hue-rotate":[mo,Cr,br]}],invert:[{invert:["",mo,Cr,br]}],saturate:[{saturate:[mo,Cr,br]}],sepia:[{sepia:["",mo,Cr,br]}],"backdrop-filter":[{"backdrop-filter":["","none",Cr,br]}],"backdrop-blur":[{"backdrop-blur":Rr()}],"backdrop-brightness":[{"backdrop-brightness":[mo,Cr,br]}],"backdrop-contrast":[{"backdrop-contrast":[mo,Cr,br]}],"backdrop-grayscale":[{"backdrop-grayscale":["",mo,Cr,br]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[mo,Cr,br]}],"backdrop-invert":[{"backdrop-invert":["",mo,Cr,br]}],"backdrop-opacity":[{"backdrop-opacity":[mo,Cr,br]}],"backdrop-saturate":[{"backdrop-saturate":[mo,Cr,br]}],"backdrop-sepia":[{"backdrop-sepia":["",mo,Cr,br]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":oe()}],"border-spacing-x":[{"border-spacing-x":oe()}],"border-spacing-y":[{"border-spacing-y":oe()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Cr,br]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[mo,"initial",Cr,br]}],ease:[{ease:["linear","initial",T,Cr,br]}],delay:[{delay:[mo,Cr,br]}],animate:[{animate:["none",N,Cr,br]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[j,Cr,br]}],"perspective-origin":[{"perspective-origin":J()}],rotate:[{rotate:Lr()}],"rotate-x":[{"rotate-x":Lr()}],"rotate-y":[{"rotate-y":Lr()}],"rotate-z":[{"rotate-z":Lr()}],scale:[{scale:Tr()}],"scale-x":[{"scale-x":Tr()}],"scale-y":[{"scale-y":Tr()}],"scale-z":[{"scale-z":Tr()}],"scale-3d":["scale-3d"],skew:[{skew:dr()}],"skew-x":[{"skew-x":dr()}],"skew-y":[{"skew-y":dr()}],transform:[{transform:[Cr,br,"","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,Cr,br]}],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",Cr,br]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":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",Cr,br]}],fill:[{fill:["none",...de()]}],"stroke-w":[{stroke:[mo,zT,Iz,Are]}],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 Qre=Eze(aSe);function C(...e){return Qre(Xj(e))}var Jre=(e)=>typeof e==="boolean"?`${e}`:e===0?"0":e,$re=Xj,ds=(e,r)=>(a)=>{var i;if((r===null||r===void 0?void 0:r.variants)==null)return $re(e,a===null||a===void 0?void 0:a.class,a===null||a===void 0?void 0:a.className);let{variants:f,defaultVariants:s}=r,l=Object.keys(f).map((g)=>{let M=a===null||a===void 0?void 0:a[g],v=s===null||s===void 0?void 0:s[g];if(M===null)return null;let y=Jre(M)||Jre(v);return f[g][y]}),c=a&&Object.entries(a).reduce((g,M)=>{let[v,y]=M;if(y===void 0)return g;return g[v]=y,g},{}),m=r===null||r===void 0?void 0:(i=r.compoundVariants)===null||i===void 0?void 0:i.reduce((g,M)=>{let{class:v,className:y,...x}=M;return Object.entries(x).every((_)=>{let[j,U]=_;return Array.isArray(U)?U.includes({...s,...c}[j]):{...s,...c}[j]===U})?[...g,v,y]:g},[]);return $re(e,l,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,pc=(e,r)=>nSe(e,"name",{value:r,configurable:!0});function iSe(e,r){let a=at(r);a.displayName=e+"Context";let i=pc((s)=>{let{children:l,...c}=s,m=D(()=>c,Object.values(c));return t(a.Provider,{value:m,children:l})},"Provider");i.displayName=e+"Provider";function f(s,l={}){let{optional:c=!1}=l,m=dt(a);if(m)return m;if(r!==void 0)return r;if(c)return;throw Error(`\`${s}\` must be used within \`${e}\``)}return pc(f,"useContext"),[i,f]}pc(iSe,"createContext");function pt(e,r=[]){let a=[];function i(s,l){let c=at(l);c.displayName=s+"Context";let m=a.length;a=[...a,l];let g=pc((v)=>{let{scope:y,children:x,..._}=v,j=y?.[e]?.[m]||c,U=D(()=>_,Object.values(_));return t(j.Provider,{value:U,children:x})},"Provider");g.displayName=s+"Provider";function M(v,y,x={}){let{optional:_=!1}=x,j=y?.[e]?.[m]||c,U=dt(j);if(U)return U;if(l!==void 0)return l;if(_)return;throw Error(`\`${v}\` must be used within \`${s}\``)}return pc(M,"useContext"),[g,M]}pc(i,"createContext");let f=pc(()=>{let s=a.map((l)=>at(l));return pc(function(c){let m=c?.[e]||s;return D(()=>({[`__scope${e}`]:{...c,[e]:m}}),[c,m])},"useScope")},"createScope");return f.scopeName=e,[i,eoe(f,...r)]}pc(pt,"createContextScope");function eoe(...e){let r=e[0];if(e.length===1)return r;let a=pc(()=>{let i=e.map((f)=>({useScope:f(),scopeName:f.scopeName}));return pc(function(s){let l=i.reduce((c,{useScope:m,scopeName:g})=>{let v=m(s)[`__scope${g}`];return{...c,...v}},{});return D(()=>({[`__scope${r.scopeName}`]:l}),[l])},"useComposedScopes")},"createScope");return a.scopeName=r.scopeName,a}pc(eoe,"composeContextScopes");S();var fSe=Object.defineProperty,jY=(e,r)=>fSe(e,"name",{value:r,configurable:!0});function OY(e,r){if(typeof e==="function")return e(r);else if(e!==null&&e!==void 0)e.current=r}jY(OY,"setRef");function toe(...e){return(r)=>{let a=!1,i=e.map((f)=>{let s=OY(f,r);if(!a&&typeof s=="function")a=!0;return s});if(a)return()=>{for(let f=0;f<i.length;f++){let s=i[f];if(typeof s=="function")s();else OY(e[f],null)}}}}jY(toe,"composeRefs");function _e(...e){return P(toe(...e),e)}jY(_e,"useComposedRefs");S();var sSe=Object.defineProperty,Wk=(e,r)=>sSe(e,"name",{value:r,configurable:!0}),roe=!!(typeof window<"u"&&window.document&&window.document.createElement);function Y(e,r,{checkForDefaultPrevented:a=!0}={}){return Wk(function(f){if(e?.(f),a===!1||!f||!f.defaultPrevented)return r?.(f)},"handleEvent")}Wk(Y,"composeEventHandlers");function lSe(e){if(!roe)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window}Wk(lSe,"getOwnerWindow");function NY(e){if(!roe)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}Wk(NY,"getOwnerDocument");function ooe(e,r=!1){let{activeElement:a}=NY(e);if(!a?.nodeName)return null;if(aoe(a)&&a.contentDocument)return ooe(a.contentDocument.body,r);if(r){let i=a.getAttribute("aria-activedescendant");if(i){let f=NY(a).getElementById(i);if(f)return f}}return a}Wk(ooe,"getActiveElement");function aoe(e){return e.tagName==="IFRAME"}Wk(aoe,"isFrame");S();S();var It=globalThis?.document?He:()=>{};var cSe=Object.defineProperty,uSe=(e,r)=>cSe(e,"name",{value:r,configurable:!0}),dSe=V[" useId ".trim().toString()]||(()=>{return}),ZSe=0;function xr(e){let[r,a]=u(dSe());return It(()=>{if(!e)a((i)=>i??String(ZSe++))},[e]),e||(r?`radix-${r}`:"")}uSe(xr,"useId");S();var ca=!1;S();S();var pSe=Object.defineProperty,mSe=(e,r)=>pSe(e,"name",{value:r,configurable:!0}),noe=V[" useEffectEvent ".trim().toString()],ioe=V[" useInsertionEffect ".trim().toString()];function FY(e){if(typeof noe==="function")return noe(e);let r=b(()=>{throw Error("Cannot call an event handler while rendering.")});if(typeof ioe==="function")ioe(()=>{r.current=e});else It(()=>{r.current=e});return D(()=>(...a)=>r.current?.(...a),[])}mSe(FY,"useEffectEvent");var hSe=Object.defineProperty,ST=(e,r)=>hSe(e,"name",{value:r,configurable:!0}),gSe=V[" useInsertionEffect ".trim().toString()]||It;function Ft({prop:e,defaultProp:r,onChange:a=ST(()=>{},"onChange"),caller:i}){let[f,s,l]=soe({defaultProp:r,onChange:a}),c=e!==void 0,m=c?e:f;if(ca){let M=b(e!==void 0);h(()=>{let v=M.current;if(v!==c)console.warn(`${i} is changing from ${v?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`);M.current=c},[c,i])}let g=P((M)=>{if(c){let v=loe(M)?M(e):M;if(v!==e)l.current?.(v)}else s(M)},[c,e,s,l]);return[m,g]}ST(Ft,"useControllableState");function soe({defaultProp:e,onChange:r}){let[a,i]=u(e),f=b(a),s=b(r);return gSe(()=>{s.current=r},[r]),h(()=>{if(f.current!==a)s.current?.(a),f.current=a},[a,f]),[a,i,s]}ST(soe,"useUncontrolledState");function loe(e){return typeof e==="function"}ST(loe,"isFunction");var foe=Symbol("RADIX:SYNC_STATE");function MSe(e,r,a,i){let{prop:f,defaultProp:s,onChange:l,caller:c}=r,m=f!==void 0,g=FY(l);if(ca){let U=b(f!==void 0);h(()=>{let T=U.current;if(T!==m)console.warn(`${c} is changing from ${T?"controlled":"uncontrolled"} to ${m?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`);U.current=m},[m,c])}let M=[{...a,state:s}];if(i)M.push(i);let[v,y]=en((U,T)=>{if(T.type===foe)return{...U,state:T.state};let N=e(U,T);if(m&&!Object.is(N.state,U.state))g(N.state);return N},...M),x=v.state,_=b(x);h(()=>{if(_.current!==x){if(_.current=x,!m)g(x)}},[x,_,m]);let j=D(()=>{if(f!==void 0)return{...v,state:f};return v},[v,f]);return h(()=>{if(m&&!Object.is(f,v.state))y({type:foe,state:f})},[f,v.state,m]),[j,y]}ST(MSe,"useControllableStateReducer");S();S();S();var vSe=Object.defineProperty,nu=(e,r)=>vSe(e,"name",{value:r,configurable:!0});function zi(e){let r=O((a,i)=>{let{children:f,...s}=a,l=null,c=!1,m=[];if(BY(f)&&typeof $j==="function")f=$j(f._payload);if($l.forEach(f,(y)=>{if(poe(y)){c=!0;let x=y,_="child"in x.props?x.props.child:x.props.children;if(BY(_)&&typeof $j==="function")_=$j(_._payload);l=xSe(x,_),m.push(l?.props?.children)}else m.push(y)}),l)l=Du(l,void 0,m);else if(!c&&$l.count(f)===1&&ts(f))l=f;let g=l?Zoe(l):void 0,M=_e(i,g);if(!l){if(f||f===0)throw Error(c?_Se(e):bSe(e));return f}let v=doe(s,l.props??{});if(l.type!==Cn)v.ref=i?M:g;return Du(l,v)});return r.displayName=`${e}.Slot`,r}nu(zi,"createSlot");var coe=zi("Slot"),uoe=Symbol.for("radix.slottable");function YY(e){let r=nu((a)=>("child"in a)?a.children(a.child):a.children,"Slottable");return r.displayName=`${e}.Slottable`,r.__radixId=uoe,r}nu(YY,"createSlottable");var xSe=nu((e,r)=>{if("child"in e.props){let a=e.props.child;if(!ts(a))return null;return Du(a,void 0,e.props.children(a.props.children))}return ts(r)?r:null},"getSlottableElementFromSlottable");function doe(e,r){let a={...r};for(let i in r){let f=e[i],s=r[i];if(/^on[A-Z]/.test(i)){if(f&&s)a[i]=(...c)=>{let m=s(...c);return f(...c),m};else if(f)a[i]=f}else if(i==="style")a[i]={...f,...s};else if(i==="className")a[i]=[f,s].filter(Boolean).join(" ")}return{...e,...a}}nu(doe,"mergeProps");function Zoe(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(Zoe,"getElementRef");function poe(e){return ts(e)&&typeof e.type==="function"&&"__radixId"in e.type&&e.type.__radixId===uoe}nu(poe,"isSlottable");var ySe=Symbol.for("react.lazy");function BY(e){return e!=null&&typeof e==="object"&&"$$typeof"in e&&e.$$typeof===ySe&&"_payload"in e&&moe(e._payload)}nu(BY,"isLazyComponent");function moe(e){return typeof e==="object"&&e!==null&&"then"in e}nu(moe,"isPromiseLike");var bSe=nu((e)=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),_Se=nu((e)=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),$j=V[" use ".trim().toString()];var wSe=Object.defineProperty,zSe=(e,r)=>wSe(e,"name",{value:r,configurable:!0}),SSe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],se=SSe.reduce((e,r)=>{let a=zi(`Primitive.${r}`),i=O((f,s)=>{let{asChild:l,...c}=f,m=l?a:r;if(typeof window<"u")window[Symbol.for("radix-ui")]=!0;return t(m,{...c,ref:s})});return i.displayName=`Primitive.${r}`,{...e,[r]:i}},{});function LT(e,r){if(e)tn(()=>e.dispatchEvent(r))}zSe(LT,"dispatchDiscreteCustomEvent");S();var LSe=Object.defineProperty,kSe=(e,r)=>LSe(e,"name",{value:r,configurable:!0});function Xo(e){let r=b(e);return h(()=>{r.current=e}),D(()=>(...a)=>r.current?.(...a),[])}kSe(Xo,"useCallbackRef");var CSe=Object.defineProperty,Ai=(e,r)=>CSe(e,"name",{value:r,configurable:!0}),qY="dismissableLayer.update",ISe="dismissableLayer.pointerDownOutside",RSe="dismissableLayer.focusOutside",hoe,goe=at({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),nZ=O(Ai(function(r,a){let{disableOutsidePointerEvents:i=!1,deferPointerDownOutside:f=!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:m,onDismiss:g,...M}=r,v=dt(goe),[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=Moe((Ye)=>{if(l?.(Ye),m?.(Ye),!Ye.defaultPrevented)g?.()},{ownerDocument:_,deferPointerDownOutside:f,isDeferredPointerDownOutsideRef:re,dismissableSurfaces:v.dismissableSurfaces,shouldHandlePointerDownOutside:P((Ye)=>{if(!(Ye instanceof Node))return!1;let ze=[...v.branches].some((qe)=>qe.contains(Ye));return ee&&!ze},[v.branches,ee])}),ae=voe((Ye)=>{if(f&&re.current)return;let ze=Ye.target;if([...v.branches].some((ut)=>ut.contains(ze)))return;if(c?.(Ye),m?.(Ye),!Ye.defaultPrevented)g?.()},_),ye=y?X===T.length-1:!1,We=Xo((Ye)=>{if(Ye.key!=="Escape")return;if(s?.(Ye),!Ye.defaultPrevented&&g)Ye.preventDefault(),g()});return h(()=>{if(!ye)return;return _.addEventListener("keydown",We,{capture:!0}),()=>_.removeEventListener("keydown",We,{capture:!0})},[_,ye,We]),h(()=>{if(!y)return;if(i){if(v.layersWithOutsidePointerEventsDisabled.size===0)hoe=_.body.style.pointerEvents,_.body.style.pointerEvents="none";v.layersWithOutsidePointerEventsDisabled.add(y)}return v.layers.add(y),HY(),()=>{if(i){if(v.layersWithOutsidePointerEventsDisabled.delete(y),v.layersWithOutsidePointerEventsDisabled.size===0)_.body.style.pointerEvents=hoe}}},[y,_,i,v]),h(()=>()=>{if(!y)return;v.layers.delete(y),v.layersWithOutsidePointerEventsDisabled.delete(y),HY()},[y,v]),h(()=>{let Ye=Ai(()=>j({}),"handleUpdate");return document.addEventListener(qY,Ye),()=>document.removeEventListener(qY,Ye)},[]),t(se.div,{...M,ref:U,style:{pointerEvents:J?ee?"auto":"none":void 0,...r.style},onFocusCapture:Y(r.onFocusCapture,ae.onFocusCapture),onBlurCapture:Y(r.onBlurCapture,ae.onBlurCapture),onPointerDownCapture:Y(r.onPointerDownCapture,oe.onPointerDownCapture)})},"DismissableLayer"));function VY(){let e=dt(goe),[r,a]=u(null);return h(()=>{if(!r)return;return e.dismissableSurfaces.add(r),()=>{e.dismissableSurfaces.delete(r)}},[r,e.dismissableSurfaces]),a}Ai(VY,"useDismissableLayerSurface");var PSe=Ai(()=>!0,"IS_TRUE");function Moe(e,r){let{ownerDocument:a=globalThis?.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:f,dismissableSurfaces:s,shouldHandlePointerDownOutside:l=PSe}=r,c=Xo(e),m=b(!1),g=b(!1),M=b(new Map),v=b(()=>{});return h(()=>{function y(){g.current=!1,f.current=!1,M.current.clear()}Ai(y,"resetOutsideInteraction");function x(){return Array.from(M.current.values()).some(Boolean)}Ai(x,"isOutsideInteractionIntercepted");function _(G){if(!g.current)return;let X=G.target;if(!(X instanceof Node&&[...s].some((ee)=>ee.contains(X))))M.current.set(G.type,!0);if(G.type==="click")window.setTimeout(()=>{if(g.current)v.current()},0)}Ai(_,"handleInteractionCapture");function j(G){if(g.current)M.current.set(G.type,!1)}Ai(j,"handleInteractionBubble");let U=Ai((G)=>{if(G.target&&!m.current){let J=function(){a.removeEventListener("click",v.current);let re=x();if(y(),!re)WY(ISe,c,ee,{discrete:!0})};var X=J;if(Ai(J,"handleAndDispatchPointerDownOutsideEvent"),!l(G.target)){a.removeEventListener("click",v.current),y(),m.current=!1;return}let ee={originalEvent:G};if(g.current=!0,f.current=i&&G.button===0,M.current.clear(),!i||G.button!==0)J();else a.removeEventListener("click",v.current),v.current=J,a.addEventListener("click",v.current,{once:!0})}else a.removeEventListener("click",v.current),y();m.current=!1},"handlePointerDown"),T=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let G of T)a.addEventListener(G,_,!0),a.addEventListener(G,j);let N=window.setTimeout(()=>{a.addEventListener("pointerdown",U)},0);return()=>{window.clearTimeout(N),a.removeEventListener("pointerdown",U),a.removeEventListener("click",v.current);for(let G of T)a.removeEventListener(G,_,!0),a.removeEventListener(G,j)}},[a,c,i,f,s,l]),{onPointerDownCapture:Ai(()=>m.current=!0,"onPointerDownCapture")}}Ai(Moe,"usePointerDownOutside");function voe(e,r=globalThis?.document){let a=Xo(e),i=b(!1);return h(()=>{let f=Ai((s)=>{if(s.target&&!i.current)WY(RSe,a,{originalEvent:s},{discrete:!1})},"handleFocus");return r.addEventListener("focusin",f),()=>r.removeEventListener("focusin",f)},[r,a]),{onFocusCapture:Ai(()=>i.current=!0,"onFocusCapture"),onBlurCapture:Ai(()=>i.current=!1,"onBlurCapture")}}Ai(voe,"useFocusOutside");function HY(){let e=new CustomEvent(qY);document.dispatchEvent(e)}Ai(HY,"dispatchUpdate");function WY(e,r,a,{discrete:i}){let f=a.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:a});if(r)f.addEventListener(e,r,{once:!0});if(i)LT(f,s);else f.dispatchEvent(s)}Ai(WY,"handleAndDispatchCustomEvent");S();var TSe=Object.defineProperty,ns=(e,r)=>TSe(e,"name",{value:r,configurable:!0}),GY="focusScope.autoFocusOnMount",KY="focusScope.autoFocusOnUnmount",xoe={bubbles:!1,cancelable:!0},s8=O(ns(function(r,a){let{loop:i=!1,trapped:f=!1,onMountAutoFocus:s,onUnmountAutoFocus:l,...c}=r,[m,g]=u(null),M=Xo(s),v=Xo(l),y=b(null),x=_e(a,g),_=b({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h(()=>{if(f){let G=function(re){if(_.paused||!m)return;let oe=re.target;if(m.contains(oe))y.current=oe;else QZ(y.current,{select:!0})},X=function(re){if(_.paused||!m)return;let oe=re.relatedTarget;if(oe===null)return;if(!m.contains(oe))QZ(y.current,{select:!0})},J=function(re){if(document.activeElement!==document.body)return;for(let ae of re)if(ae.removedNodes.length>0)QZ(m)};var U=G,T=X,N=J;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()}}},[f,m,_.paused]),h(()=>{if(m){yoe.add(_);let U=document.activeElement;if(!m.contains(U)){let N=new CustomEvent(GY,xoe);if(m.addEventListener(GY,M),m.dispatchEvent(N),!N.defaultPrevented){if(boe(Loe(JY(m)),{select:!0}),document.activeElement===U)QZ(m)}}return()=>{m.removeEventListener(GY,M),setTimeout(()=>{let N=new CustomEvent(KY,xoe);if(m.addEventListener(KY,v),m.dispatchEvent(N),!N.defaultPrevented)QZ(U??document.body,{select:!0});m.removeEventListener(KY,v),yoe.remove(_)},0)}}},[m,M,v,_]);let j=P((U)=>{if(!i&&!f)return;if(_.paused)return;let T=U.key==="Tab"&&!U.altKey&&!U.ctrlKey&&!U.metaKey,N=document.activeElement;if(T&&N){let G=U.currentTarget,[X,J]=_oe(G);if(!(X&&J)){if(N===G)U.preventDefault()}else if(!U.shiftKey&&N===J){if(U.preventDefault(),i)QZ(X,{select:!0})}else if(U.shiftKey&&N===X){if(U.preventDefault(),i)QZ(J,{select:!0})}}},[i,f,_.paused]);return t(se.div,{tabIndex:-1,...c,ref:x,onKeyDown:j})},"FocusScope"));function boe(e,{select:r=!1}={}){let a=document.activeElement;for(let i of e)if(QZ(i,{select:r}),document.activeElement!==a)return}ns(boe,"focusFirst");function _oe(e){let r=JY(e),a=XY(r,e),i=XY(r.reverse(),e);return[a,i]}ns(_oe,"getTabbableEdges");function JY(e){let r=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:ns((i)=>{let f=i.tagName==="INPUT"&&i.type==="hidden";if(i.disabled||i.hidden||f)return NodeFilter.FILTER_SKIP;return i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});while(a.nextNode())r.push(a.currentNode);return r}ns(JY,"getTabbableCandidates");function XY(e,r){let a=typeof r.checkVisibility==="function"&&r.checkVisibility({checkVisibilityCSS:!0});for(let i of e)if(!(a?!i.checkVisibility({checkVisibilityCSS:!0}):woe(i,{upTo:r})))return i}ns(XY,"findVisible");function woe(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(woe,"isHidden");function zoe(e){return e instanceof HTMLInputElement&&"select"in e}ns(zoe,"isSelectableInput");function QZ(e,{select:r=!1}={}){if(e&&e.focus){let a=document.activeElement;if(e.focus({preventScroll:!0}),e!==a&&zoe(e)&&r)e.select()}}ns(QZ,"focus");var yoe=Soe();function Soe(){let e=[];return{add(r){let a=e[0];if(r!==a)a?.pause();e=QY(e,r),e.unshift(r)},remove(r){e=QY(e,r),e[0]?.resume()}}}ns(Soe,"createFocusScopesStack");function QY(e,r){let a=[...e],i=a.indexOf(r);if(i!==-1)a.splice(i,1);return a}ns(QY,"arrayRemove");function Loe(e){return e.filter((r)=>r.tagName!=="A")}ns(Loe,"removeLinks");S();var ASe=Object.defineProperty,DSe=(e,r)=>ASe(e,"name",{value:r,configurable:!0}),iZ=O(DSe(function(r,a){let{container:i,...f}=r,[s,l]=u(!1);It(()=>l(!0),[]);let c=i||s&&globalThis?.document?.body;return c?Qa(t(se.div,{...f,ref:a}),c):null},"Portal"));S();S();var ESe=Object.defineProperty,JZ=(e,r)=>ESe(e,"name",{value:r,configurable:!0});function koe(e,r){return en((a,i)=>r[a][i]??a,e)}JZ(koe,"useStateMachine");var ir=JZ((e)=>{let{present:r,children:a}=e,i=Coe(r),f=typeof a==="function"?a({present:i.isPresent}):$l.only(a),s=Ioe(i.ref,Roe(f));return typeof a==="function"||i.isPresent?Du(f,{ref:s}):null},"Presence");function Coe(e){let[r,a]=u(),i=b(null),f=b(e),s=b("none"),l=b(void 0),c=e?"mounted":"unmounted",[m,g]=koe(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h(()=>{if(m==="mounted")s.current=l.current??Gk(i.current),l.current=void 0;else s.current="none"},[m]),It(()=>{let M=i.current,v=f.current;if(v!==e){let x=s.current,_=Gk(M);if(e)l.current=_,g("MOUNT");else if(_==="none"||M?.display==="none")g("UNMOUNT");else if(v&&x!==_)g("ANIMATION_OUT");else g("UNMOUNT");f.current=e}},[e,g]),It(()=>{if(r){let M,v=r.ownerDocument.defaultView??window,y=JZ((_)=>{let U=Gk(i.current).includes(CSS.escape(_.animationName));if(_.target===r&&U){if(g("ANIMATION_END"),!f.current){let T=r.style.animationFillMode;r.style.animationFillMode="forwards",M=v.setTimeout(()=>{if(r.style.animationFillMode==="forwards")r.style.animationFillMode=T})}}},"handleAnimationEnd"),x=JZ((_)=>{if(_.target===r)s.current=Gk(i.current)},"handleAnimationStart");return r.addEventListener("animationstart",x),r.addEventListener("animationcancel",y),r.addEventListener("animationend",y),()=>{v.clearTimeout(M),r.removeEventListener("animationstart",x),r.removeEventListener("animationcancel",y),r.removeEventListener("animationend",y)}}else g("ANIMATION_END")},[r,g]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:P((M)=>{if(M){let v=getComputedStyle(M);i.current=v,l.current=Gk(v)}else i.current=null;a(M)},[])}}JZ(Coe,"usePresence");function $Y(e,r){if(typeof e==="function")return e(r);else if(e!==null&&e!==void 0)e.current=r}JZ($Y,"setRef");function Ioe(...e){let r=b(e);return r.current=e,P((a)=>{let i=r.current,f=!1,s=i.map((l)=>{let c=$Y(l,a);if(!f&&typeof c==="function")f=!0;return c});if(f)return()=>{for(let l=0;l<s.length;l++){let c=s[l];if(typeof c==="function")c();else $Y(i[l],null)}}},[])}JZ(Ioe,"useStableComposedRefs");function Gk(e){return e?.animationName||"none"}JZ(Gk,"getAnimationName");function Roe(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(Roe,"getElementRef");S();var OSe=Object.defineProperty,t7=(e,r)=>OSe(e,"name",{value:r,configurable:!0}),eN=0,Kk=null;function jSe(e){return fZ(),e.children}t7(jSe,"FocusGuards");function fZ(){h(()=>{if(!Kk)Kk={start:e7(),end:e7()};let{start:e,end:r}=Kk;if(document.body.firstElementChild!==e)document.body.insertAdjacentElement("afterbegin",e);if(document.body.lastElementChild!==r)document.body.insertAdjacentElement("beforeend",r);return eN++,()=>{if(eN===1)Kk?.start.remove(),Kk?.end.remove(),Kk=null;eN=Math.max(0,eN-1)}},[])}t7(fZ,"useFocusGuards");function e7(){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}t7(e7,"createFocusGuard");var Gs=function(){return Gs=Object.assign||function(r){for(var a,i=1,f=arguments.length;i<f;i++){a=arguments[i];for(var s in a)if(Object.prototype.hasOwnProperty.call(a,s))r[s]=a[s]}return r},Gs.apply(this,arguments)};function tN(e,r){var a={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var f=0,i=Object.getOwnPropertySymbols(e);f<i.length;f++)if(r.indexOf(i[f])<0&&Object.prototype.propertyIsEnumerable.call(e,i[f]))a[i[f]]=e[i[f]]}return a}function Poe(e,r,a){if(a||arguments.length===2){for(var i=0,f=r.length,s;i<f;i++)if(s||!(i in r)){if(!s)s=Array.prototype.slice.call(r,0,i);s[i]=r[i]}}return e.concat(s||Array.prototype.slice.call(r))}S();S();var Pz="right-scroll-bar-position",Tz="width-before-scroll-bar",r7="with-scroll-bars-hidden",o7="--removed-body-scroll-bar-size";S();function rN(e,r){if(typeof e==="function")e(r);else if(e)e.current=r;return e}S();function Toe(e,r){var a=u(function(){return{value:e,callback:r,facade:{get current(){return a.value},set current(i){var f=a.value;if(f!==i)a.value=i,a.callback(i,f)}}}})[0];return a.callback=r,a.facade}var NSe=typeof window<"u"?He:h,Aoe=new WeakMap;function a7(e,r){var a=Toe(r||null,function(i){return e.forEach(function(f){return rN(f,i)})});return NSe(function(){var i=Aoe.get(a);if(i){var f=new Set(i),s=new Set(e),l=a.current;f.forEach(function(c){if(!s.has(c))rN(c,null)}),s.forEach(function(c){if(!f.has(c))rN(c,l)})}Aoe.set(a,e)},[e]),a}function FSe(e){return e}function BSe(e,r){if(r===void 0)r=FSe;var a=[],i=!1,f={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");if(a.length)return a[a.length-1];return e},useMedium:function(s){var l=r(s,i);return a.push(l),function(){a=a.filter(function(c){return c!==l})}},assignSyncMedium:function(s){i=!0;while(a.length){var l=a;a=[],l.forEach(s)}a={push:function(c){return s(c)},filter:function(){return a}}},assignMedium:function(s){i=!0;var l=[];if(a.length){var c=a;a=[],c.forEach(s),l=a}var m=function(){var M=l;l=[],M.forEach(s)},g=function(){return Promise.resolve().then(m)};g(),a={push:function(M){l.push(M),g()},filter:function(M){return l=l.filter(M),a}}}};return f}function n7(e){if(e===void 0)e={};var r=BSe(null);return r.options=Gs({async:!0,ssr:!1},e),r}S();var Doe=function(e){var r=e.sideCar,a=tN(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))};Doe.isSideCarExport=!0;function i7(e,r){return e.useMedium(r),Doe}var oN=n7();var f7=function(){return},kT=O(function(e,r){var a=b(null),i=u({onScrollCapture:f7,onWheelCapture:f7,onTouchMoveCapture:f7}),f=i[0],s=i[1],{forwardProps:l,children:c,className:m,removeScrollBar:g,enabled:M,shards:v,sideCar:y,noRelative:x,noIsolation:_,inert:j,allowPinchZoom:U,as:T}=e,N=T===void 0?"div":T,G=e.gapMode,X=tN(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),J=y,ee=a7([a,r]),re=Gs(Gs({},X),f);return q(Cn,null,M&&q(J,{sideCar:oN,removeScrollBar:g,shards:v,noRelative:x,noIsolation:_,inert:j,setCallbacks:s,allowPinchZoom:!!U,lockRef:a,gapMode:G}),l?Du($l.only(c),Gs(Gs({},re),{ref:ee})):q(N,Gs({},re,{className:m,ref:ee}),c))});kT.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};kT.classNames={fullWidth:Tz,zeroRight:Pz};S();S();S();var Eoe;var Ooe=function(){if(Eoe)return Eoe;if(typeof __webpack_nonce__<"u")return __webpack_nonce__;return};function YSe(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var r=Ooe();if(r)e.setAttribute("nonce",r);return e}function USe(e,r){if(e.styleSheet)e.styleSheet.cssText=r;else e.appendChild(document.createTextNode(r))}function qSe(e){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(e)}var s7=function(){var e=0,r=null;return{add:function(a){if(e==0){if(r=YSe())USe(r,a),qSe(r)}e++},remove:function(){if(e--,!e&&r)r.parentNode&&r.parentNode.removeChild(r),r=null}}};var l7=function(){var e=s7();return function(r,a){h(function(){return e.add(r),function(){e.remove()}},[r&&a])}};var CT=function(){var e=l7(),r=function(a){var{styles:i,dynamic:f}=a;return e(i,f),null};return r};var HSe={left:0,top:0,right:0,gap:0},c7=function(e){return parseInt(e||"",10)||0},VSe=function(e){var r=window.getComputedStyle(document.body),a=r[e==="padding"?"paddingLeft":"marginLeft"],i=r[e==="padding"?"paddingTop":"marginTop"],f=r[e==="padding"?"paddingRight":"marginRight"];return[c7(a),c7(i),c7(f)]},u7=function(e){if(e===void 0)e="margin";if(typeof window>"u")return HSe;var r=VSe(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 WSe=CT(),Xk="data-scroll-locked",GSe=function(e,r,a,i){var{left:f,top:s,right:l,gap:c}=e;if(a===void 0)a="margin";return`
|
|
16
|
-
.`.concat(r7,` {
|
|
17
|
-
overflow: hidden `).concat(i,`;
|
|
18
|
-
padding-right: `).concat(c,"px ").concat(i,`;
|
|
19
|
-
}
|
|
20
|
-
body[`).concat(Xk,`] {
|
|
21
|
-
overflow: hidden `).concat(i,`;
|
|
22
|
-
overscroll-behavior: contain;
|
|
23
|
-
`).concat([r&&"position: relative ".concat(i,";"),a==="margin"&&`
|
|
24
|
-
padding-left: `.concat(f,`px;
|
|
25
|
-
padding-top: `).concat(s,`px;
|
|
26
|
-
padding-right: `).concat(l,`px;
|
|
27
|
-
margin-left:0;
|
|
28
|
-
margin-top:0;
|
|
29
|
-
margin-right: `).concat(c,"px ").concat(i,`;
|
|
30
|
-
`),a==="padding"&&"padding-right: ".concat(c,"px ").concat(i,";")].filter(Boolean).join(""),`
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.`).concat(Pz,` {
|
|
34
|
-
right: `).concat(c,"px ").concat(i,`;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.`).concat(Tz,` {
|
|
38
|
-
margin-right: `).concat(c,"px ").concat(i,`;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.`).concat(Pz," .").concat(Pz,` {
|
|
42
|
-
right: 0 `).concat(i,`;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.`).concat(Tz," .").concat(Tz,` {
|
|
46
|
-
margin-right: 0 `).concat(i,`;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
body[`).concat(Xk,`] {
|
|
50
|
-
`).concat(o7,": ").concat(c,`px;
|
|
51
|
-
}
|
|
52
|
-
`)},joe=function(){var e=parseInt(document.body.getAttribute(Xk)||"0",10);return isFinite(e)?e:0},KSe=function(){h(function(){return document.body.setAttribute(Xk,(joe()+1).toString()),function(){var e=joe()-1;if(e<=0)document.body.removeAttribute(Xk);else document.body.setAttribute(Xk,e.toString())}},[])},d7=function(e){var{noRelative:r,noImportant:a,gapMode:i}=e,f=i===void 0?"margin":i;KSe();var s=D(function(){return u7(f)},[f]);return q(WSe,{styles:GSe(s,!r,f,!a?"!important":"")})};var Z7=!1;if(typeof window<"u")try{Qk=Object.defineProperty({},"passive",{get:function(){return Z7=!0,!0}}),window.addEventListener("test",Qk,Qk),window.removeEventListener("test",Qk,Qk)}catch(e){Z7=!1}var Qk,Az=Z7?{passive:!1}:!1;var XSe=function(e){return e.tagName==="TEXTAREA"},Noe=function(e,r){if(!(e instanceof Element))return!1;var a=window.getComputedStyle(e);return a[r]!=="hidden"&&!(a.overflowY===a.overflowX&&!XSe(e)&&a[r]==="visible")},QSe=function(e){return Noe(e,"overflowY")},JSe=function(e){return Noe(e,"overflowX")},p7=function(e,r){var a=r.ownerDocument,i=r;do{if(typeof ShadowRoot<"u"&&i instanceof ShadowRoot)i=i.host;var f=Foe(e,i);if(f){var s=Boe(e,i),l=s[1],c=s[2];if(l>c)return!0}i=i.parentNode}while(i&&i!==a.body);return!1},$Se=function(e){var{scrollTop:r,scrollHeight:a,clientHeight:i}=e;return[r,a,i]},eLe=function(e){var{scrollLeft:r,scrollWidth:a,clientWidth:i}=e;return[r,a,i]},Foe=function(e,r){return e==="v"?QSe(r):JSe(r)},Boe=function(e,r){return e==="v"?$Se(r):eLe(r)},tLe=function(e,r){return e==="h"&&r==="rtl"?-1:1},Yoe=function(e,r,a,i,f){var s=tLe(e,window.getComputedStyle(r).direction),l=s*i,c=a.target,m=r.contains(c),g=!1,M=l>0,v=0,y=0;do{if(!c)break;var x=Boe(e,c),_=x[0],j=x[1],U=x[2],T=j-U-s*_;if(_||T){if(Foe(e,c))v+=T,y+=_}var N=c.parentNode;c=N&&N.nodeType===Node.DOCUMENT_FRAGMENT_NODE?N.host:N}while(!m&&c!==document.body||m&&(r.contains(c)||r===c));if(M&&(f&&Math.abs(v)<1||!f&&l>v))g=!0;else if(!M&&(f&&Math.abs(y)<1||!f&&-l>y))g=!0;return g};var aN=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Uoe=function(e){return[e.deltaX,e.deltaY]},qoe=function(e){return e&&"current"in e?e.current:e},rLe=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
|
-
`)},aLe=0,Jk=[];function Hoe(e){var r=b([]),a=b([0,0]),i=b(),f=u(aLe++)[0],s=u(CT)[0],l=b(e);h(function(){l.current=e},[e]),h(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(f));var j=Poe([e.lockRef.current],(e.shards||[]).map(qoe),!0).filter(Boolean);return j.forEach(function(U){return U.classList.add("allow-interactivity-".concat(f))}),function(){document.body.classList.remove("block-interactivity-".concat(f)),j.forEach(function(U){return U.classList.remove("allow-interactivity-".concat(f))})}}return},[e.inert,e.lockRef.current,e.shards]);var c=P(function(j,U){if("touches"in j&&j.touches.length===2||j.type==="wheel"&&j.ctrlKey)return!l.current.allowPinchZoom;var T=aN(j),N=a.current,G="deltaX"in j?j.deltaX:N[0]-T[0],X="deltaY"in j?j.deltaY:N[1]-T[1],J,ee=j.target,re=Math.abs(G)>Math.abs(X)?"h":"v";if("touches"in j&&re==="h"&&ee.type==="range")return!1;var oe=window.getSelection(),ae=oe&&oe.anchorNode,ye=ae?ae===ee||ae.contains(ee):!1;if(ye)return!1;var We=p7(re,ee);if(!We)return!0;if(We)J=re;else J=re==="v"?"h":"v",We=p7(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 Yoe(Ye,U,j,Ye==="h"?G:X,!0)},[]),m=P(function(j){var U=j;if(!Jk.length||Jk[Jk.length-1]!==s)return;var T="deltaY"in U?Uoe(U):aN(U),N=r.current.filter(function(J){return J.name===U.type&&(J.target===U.target||U.target===J.shadowParent)&&rLe(J.delta,T)})[0];if(N&&N.should){if(U.cancelable)U.preventDefault();return}if(!N){var G=(l.current.shards||[]).map(qoe).filter(Boolean).filter(function(J){return J.contains(U.target)}),X=G.length>0?c(U,G[0]):!l.current.noIsolation;if(X){if(U.cancelable)U.preventDefault()}}},[]),g=P(function(j,U,T,N){var G={name:j,delta:U,target:T,should:N,shadowParent:nLe(T)};r.current.push(G),setTimeout(function(){r.current=r.current.filter(function(X){return X!==G})},1)},[]),M=P(function(j){a.current=aN(j),i.current=void 0},[]),v=P(function(j){g(j.type,Uoe(j),j.target,c(j,e.lockRef.current))},[]),y=P(function(j){g(j.type,aN(j),j.target,c(j,e.lockRef.current))},[]);h(function(){return Jk.push(s),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:y}),document.addEventListener("wheel",m,Az),document.addEventListener("touchmove",m,Az),document.addEventListener("touchstart",M,Az),function(){Jk=Jk.filter(function(j){return j!==s}),document.removeEventListener("wheel",m,Az),document.removeEventListener("touchmove",m,Az),document.removeEventListener("touchstart",M,Az)}},[]);var{removeScrollBar:x,inert:_}=e;return q(Cn,null,_?q(s,{styles:oLe(f)}):null,x?q(d7,{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 Voe=i7(oN,Hoe);var Woe=O(function(e,r){return q(kT,Gs({},e,{ref:r,sideCar:Voe}))});Woe.classNames=kT.classNames;var $Z=Woe;var iLe=function(e){if(typeof document>"u")return null;var r=Array.isArray(e)?e[0]:e;return r.ownerDocument.body},$k=new WeakMap,nN=new WeakMap,iN={},m7=0,Goe=function(e){return e&&(e.host||Goe(e.parentNode))},fLe=function(e,r){return r.map(function(a){if(e.contains(a))return a;var i=Goe(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)})},sLe=function(e,r,a,i){var f=fLe(r,Array.isArray(e)?e:[e]);if(!iN[a])iN[a]=new WeakMap;var s=iN[a],l=[],c=new Set,m=new Set(f),g=function(v){if(!v||c.has(v))return;c.add(v),g(v.parentNode)};f.forEach(g);var M=function(v){if(!v||m.has(v))return;Array.prototype.forEach.call(v.children,function(y){if(c.has(y))M(y);else try{var x=y.getAttribute(i),_=x!==null&&x!=="false",j=($k.get(y)||0)+1,U=(s.get(y)||0)+1;if($k.set(y,j),s.set(y,U),l.push(y),j===1&&_)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),c.clear(),m7++,function(){if(l.forEach(function(v){var y=$k.get(v)-1,x=s.get(v)-1;if($k.set(v,y),s.set(v,x),!y){if(!nN.has(v))v.removeAttribute(i);nN.delete(v)}if(!x)v.removeAttribute(a)}),m7--,!m7)$k=new WeakMap,$k=new WeakMap,nN=new WeakMap,iN={}}},l8=function(e,r,a){if(a===void 0)a="data-aria-hidden";var i=Array.from(Array.isArray(e)?e:[e]),f=r||iLe(e);if(!f)return function(){return null};return i.push.apply(i,Array.from(f.querySelectorAll("[aria-live], script"))),sLe(i,f,a,"aria-hidden")};var lLe=Object.defineProperty,Ul=(e,r)=>lLe(e,"name",{value:r,configurable:!0}),g7="Dialog",[Koe,M7]=pt(g7),[cLe,iu]=Koe(g7),v7=Ul((e)=>{let{__scopeDialog:r,children:a,open:i,defaultOpen:f,onOpenChange:s,modal:l=!0}=e,c=b(null),m=b(null),[g,M]=Ft({prop:i,defaultProp:f??!1,onChange:s,caller:g7}),[v,y]=u(0),[x,_]=u(0);return t(cLe,{scope:r,triggerRef:c,contentRef:m,contentId:xr(),titleId:xr(),descriptionId:xr(),titlePresent:v>0,descriptionPresent:x>0,setTitleCount:y,setDescriptionCount:_,open:g,onOpenChange:M,onOpenToggle:P(()=>M((j)=>!j),[M]),modal:l,children:a})},"Dialog"),uLe="DialogTrigger",x7=O(Ul(function(r,a){let{__scopeDialog:i,...f}=r,s=iu(uLe,i),l=_e(a,s.triggerRef);return t(se.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":fN(s.open),...f,ref:l,onClick:Y(r.onClick,s.onOpenToggle)})},"DialogTrigger")),Xoe="DialogPortal",[dLe,Qoe]=Koe(Xoe,{forceMount:void 0}),y7=Ul((e)=>{let{__scopeDialog:r,forceMount:a,children:i,container:f}=e,s=iu(Xoe,r);return t(dLe,{scope:r,forceMount:a,children:$l.map(i,(l)=>t(ir,{present:a||s.open,children:t(iZ,{asChild:!0,container:f,children:l})}))})},"DialogPortal"),h7="DialogOverlay",b7=O(Ul(function(r,a){let i=Qoe(h7,r.__scopeDialog),{forceMount:f=i.forceMount,...s}=r,l=iu(h7,r.__scopeDialog);return l.modal?t(ir,{present:f||l.open,children:t(pLe,{...s,ref:a})}):null},"DialogOverlay")),ZLe=zi("DialogOverlay.RemoveScroll"),pLe=O(Ul(function(r,a){let{__scopeDialog:i,...f}=r,s=iu(h7,i),l=VY(),c=_e(a,l);return t($Z,{as:ZLe,allowPinchZoom:!0,shards:[s.contentRef],children:t(se.div,{"data-state":fN(s.open),...f,ref:c,style:{pointerEvents:"auto",...f.style}})})},"DialogOverlayImpl")),IT="DialogContent",_7=O(Ul(function(r,a){let i=Qoe(IT,r.__scopeDialog),{forceMount:f=i.forceMount,...s}=r,l=iu(IT,r.__scopeDialog);return t(ir,{present:f||l.open,children:l.modal?t(mLe,{...s,ref:a}):t(hLe,{...s,ref:a})})},"DialogContent")),mLe=O(Ul(function(r,a){let i=iu(IT,r.__scopeDialog),f=b(null),s=_e(a,i.contentRef,f);return h(()=>{let l=f.current;if(l)return l8(l)},[]),t(Joe,{...r,ref:s,trapFocus:i.open,disableOutsidePointerEvents:i.open,onCloseAutoFocus:Y(r.onCloseAutoFocus,(l)=>{l.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:Y(r.onPointerDownOutside,(l)=>{let c=l.detail.originalEvent,m=c.button===0&&c.ctrlKey===!0;if(c.button===2||m)l.preventDefault()}),onFocusOutside:Y(r.onFocusOutside,(l)=>l.preventDefault())})},"DialogContentModal")),hLe=O(Ul(function(r,a){let i=iu(IT,r.__scopeDialog),f=b(!1),s=b(!1);return t(Joe,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:(l)=>{if(r.onCloseAutoFocus?.(l),!l.defaultPrevented){if(!f.current)i.triggerRef.current?.focus();l.preventDefault()}f.current=!1,s.current=!1},onInteractOutside:(l)=>{if(r.onInteractOutside?.(l),!l.defaultPrevented){if(f.current=!0,l.detail.originalEvent.type==="pointerdown")s.current=!0}let c=l.target;if(i.triggerRef.current?.contains(c))l.preventDefault();if(l.detail.originalEvent.type==="focusin"&&s.current)l.preventDefault()}})},"DialogContentNonModal")),Joe=O(Ul(function(r,a){let{__scopeDialog:i,trapFocus:f,onOpenAutoFocus:s,onCloseAutoFocus:l,...c}=r,m=iu(IT,i);return fZ(),t(L,{children:t(s8,{asChild:!0,loop:!0,trapped:f,onMountAutoFocus:s,onUnmountAutoFocus:l,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":fN(m.open),...c,ref:a,deferPointerDownOutside:!0,onDismiss:()=>m.onOpenChange(!1)})})})},"DialogContentImpl")),gLe="DialogTitle",w7=O(Ul(function(r,a){let{__scopeDialog:i,...f}=r,s=iu(gLe,i),{setTitleCount:l}=s;return It(()=>(l((c)=>c+1),()=>l((c)=>c-1)),[l]),t(se.h2,{id:s.titleId,...f,ref:a})},"DialogTitle")),MLe="DialogDescription",z7=O(Ul(function(r,a){let{__scopeDialog:i,...f}=r,s=iu(MLe,i),{setDescriptionCount:l}=s;return It(()=>(l((c)=>c+1),()=>l((c)=>c-1)),[l]),t(se.p,{id:s.descriptionId,...f,ref:a})},"DialogDescription")),vLe="DialogClose",RT=O(Ul(function(r,a){let{__scopeDialog:i,...f}=r,s=iu(vLe,i);return t(se.button,{type:"button",...f,ref:a,onClick:Y(r.onClick,()=>s.onOpenChange(!1))})},"DialogClose"));function fN(e){return e?"open":"closed"}Ul(fN,"getState");var xLe=Object.defineProperty,rm=(e,r)=>xLe(e,"name",{value:r,configurable:!0}),yLe="AlertDialog",[bLe,rVo]=pt(yLe,[M7]),om=M7(),_Le=rm((e)=>{let{__scopeAlertDialog:r,...a}=e,i=om(r);return t(v7,{...i,...a,modal:!0})},"AlertDialog"),oVo=O(rm(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=om(i);return t(x7,{...s,...f,ref:a})},"AlertDialogTrigger")),wLe=rm((e)=>{let{__scopeAlertDialog:r,...a}=e,i=om(r);return t(y7,{...i,...a})},"AlertDialogPortal"),zLe=O(rm(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=om(i);return t(b7,{...s,...f,ref:a})},"AlertDialogOverlay")),SLe="AlertDialogContent",[LLe,kLe]=bLe(SLe),CLe=O(rm(function(r,a){let{__scopeAlertDialog:i,children:f,...s}=r,l=om(i),c=b(null),m=_e(a,c),g=b(null);return t(LLe,{scope:i,cancelRef:g,children:t(_7,{role:"alertdialog",...l,...s,ref:m,onOpenAutoFocus:Y(s.onOpenAutoFocus,(M)=>{M.preventDefault(),g.current?.focus({preventScroll:!0})}),onPointerDownOutside:(M)=>M.preventDefault(),onInteractOutside:(M)=>M.preventDefault(),children:f})})},"AlertDialogContent")),ILe=O(rm(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=om(i);return t(w7,{...s,...f,ref:a})},"AlertDialogTitle")),RLe=O(rm(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=om(i);return t(z7,{...s,...f,ref:a})},"AlertDialogDescription")),PLe=O(rm(function(r,a){let{__scopeAlertDialog:i,...f}=r,s=om(i);return t(RT,{...s,...f,ref:a})},"AlertDialogAction")),TLe="AlertDialogCancel",ALe=O(rm(function(r,a){let{__scopeAlertDialog:i,...f}=r,{cancelRef:s}=kLe(TLe,i),l=om(i),c=_e(a,s);return t(RT,{...l,...f,ref:c})},"AlertDialogCancel")),DLe=_Le;var ELe=wLe,OLe=zLe,jLe=CLe,NLe=PLe,FLe=ALe,BLe=ILe,YLe=RLe;S();var ULe=Object.defineProperty,am=(e,r)=>ULe(e,"name",{value:r,configurable:!0}),eae="Avatar",[qLe,cVo]=pt(eae),HLe=[0,()=>{return}],[VLe,tae]=qLe(eae),WLe=O(am(function(r,a){let{__scopeAvatar:i,...f}=r,[s,l]=u("idle"),[c,m]=oae();return t(VLe,{scope:i,imageLoadingStatus:s,setImageLoadingStatus:l,imageCount:c,setImageCount:m,children:t(se.span,{...f,ref:a})})},"Avatar")),GLe="AvatarImage",KLe=O(am(function(r,a){let{__scopeAvatar:i,src:f,onLoadingStatusChange:s,...l}=r,c=tae(GLe,i);aae(c.setImageCount);let m=rae(f,{referrerPolicy:l.referrerPolicy,crossOrigin:l.crossOrigin,loadingStatus:c.imageLoadingStatus,setLoadingStatus:c.setImageLoadingStatus}),g=Xo((v)=>{s?.(v)}),M=b(m);return It(()=>{let v=M.current;if(M.current=m,m!==v)g(m)},[m,g]),m==="loaded"?t(se.img,{...l,ref:a,src:f}):null},"AvatarImage")),XLe="AvatarFallback",QLe=O(am(function(r,a){let{__scopeAvatar:i,delayMs:f,...s}=r,l=tae(XLe,i),[c,m]=u(f===void 0);return h(()=>{if(f!==void 0){let g=window.setTimeout(()=>m(!0),f);return()=>window.clearTimeout(g)}},[f]),c&&l.imageLoadingStatus!=="loaded"?t(se.span,{...s,ref:a}):null},"AvatarFallback"));function rae(e,{loadingStatus:r,setLoadingStatus:a,referrerPolicy:i,crossOrigin:f}){return It(()=>{if(!e){a("error");return}let s=new window.Image,l=am((m)=>{let g=m.currentTarget;a(L7(g))},"handleLoad"),c=am(()=>a("error"),"handleError");if(s.addEventListener("load",l),s.addEventListener("error",c),i)s.referrerPolicy=i;return s.crossOrigin=f??null,s.src=e,a(L7(s)),()=>{s.removeEventListener("load",l),s.removeEventListener("error",c),a("idle")}},[e,f,i,a]),r}am(rae,"useImageLoadingStatus");function L7(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}am(L7,"getImageLoadingStatus");function oae(){let e=HLe;if(ca){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}am(oae,"useImageCount");function aae(e){if(ca)h(()=>(e((r)=>r+1),()=>{e((r)=>r-1)}),[e])}am(aae,"useUpdateImageCount");S();S();var JLe=Object.defineProperty,$Le=(e,r)=>JLe(e,"name",{value:r,configurable:!0});function ua(e){let[r,a]=u(void 0);return It(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});let i=new ResizeObserver((f)=>{if(!Array.isArray(f))return;if(!f.length)return;let s=f[0],l,c;if("borderBoxSize"in s){let m=s.borderBoxSize,g=Array.isArray(m)?m[0]:m;l=g.inlineSize,c=g.blockSize}else l=e.offsetWidth,c=e.offsetHeight;a({width:l,height:c})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else a(void 0)},[e]),r}$Le(ua,"useSize");var eke=Object.defineProperty,im=(e,r)=>eke(e,"name",{value:r,configurable:!0}),k7="Checkbox",[tke,yVo]=pt(k7),[rke,C7]=tke(k7);function iae(e){let{__scopeCheckbox:r,checked:a,children:i,defaultChecked:f,disabled:s,form:l,name:c,onCheckedChange:m,required:g,value:M="on",internal_do_not_use_render:v}=e,[y,x]=Ft({prop:a,defaultProp:f??!1,onChange:m,caller:k7}),[_,j]=u(null),[U,T]=u(null),N=b(!1),[G,X]=en((re)=>re+1,0),J=_?!!l||!!_.closest("form"):!0,ee={checked:y,disabled:s,setChecked:x,control:_,setControl:j,name:c,form:l,value:M,hasConsumerStoppedPropagationRef:N,userInteractionCount:G,onUserInteraction:X,required:g,defaultChecked:nm(f)?!1:f,isFormControl:J,bubbleInput:U,setBubbleInput:T};return t(rke,{scope:r,...ee,children:fae(v)?v(ee):i})}im(iae,"CheckboxProvider");var oke="CheckboxTrigger",ake=O(im(function({__scopeCheckbox:r,onKeyDown:a,onClick:i,...f},s){let{control:l,value:c,disabled:m,checked:g,required:M,setControl:v,setChecked:y,hasConsumerStoppedPropagationRef:x,onUserInteraction:_,isFormControl:j,bubbleInput:U}=C7(oke,r),T=_e(s,v),N=b(g);return h(()=>{let G=l?.form;if(G){let X=im(()=>y(N.current),"reset");return G.addEventListener("reset",X),()=>G.removeEventListener("reset",X)}},[l,y]),t(se.button,{type:"button",role:"checkbox","aria-checked":nm(g)?"mixed":g,"aria-required":M,"data-state":I7(g),"data-disabled":m?"":void 0,disabled:m,value:c,...f,ref:T,onKeyDown:Y(a,(G)=>{if(G.key==="Enter")G.preventDefault()}),onClick:Y(i,(G)=>{if(_(),y((X)=>nm(X)?!0:!X),U&&j){if(x.current=G.isPropagationStopped(),!x.current)G.stopPropagation()}})})},"CheckboxTrigger")),nke=O(im(function(r,a){let{__scopeCheckbox:i,name:f,checked:s,defaultChecked:l,required:c,disabled:m,value:g,onCheckedChange:M,form:v,...y}=r;return t(iae,{__scopeCheckbox:i,checked:s,defaultChecked:l,disabled:m,required:c,onCheckedChange:M,name:f,form:v,value:g,internal_do_not_use_render:({isFormControl:x})=>o(L,{children:[t(ake,{...y,ref:a,__scopeCheckbox:i}),x&&t(lke,{__scopeCheckbox:i})]})})},"Checkbox")),ike="CheckboxIndicator",fke=O(im(function(r,a){let{__scopeCheckbox:i,forceMount:f,...s}=r,l=C7(ike,i);return t(ir,{present:f||nm(l.checked)||l.checked===!0,children:t(se.span,{"data-state":I7(l.checked),"data-disabled":l.disabled?"":void 0,...s,ref:a,style:{pointerEvents:"none",...r.style}})})},"CheckboxIndicator")),ske="CheckboxBubbleInput",lke=O(im(function({__scopeCheckbox:r,onClick:a,...i},f){let{control:s,hasConsumerStoppedPropagationRef:l,userInteractionCount:c,checked:m,defaultChecked:g,required:M,disabled:v,name:y,value:x,form:_,bubbleInput:j,setBubbleInput:U}=C7(ske,r),T=_e(f,U),N=ua(s),G=b(!1),X=b(m),J=b(c);h(()=>{let re=j;if(!re)return;let oe=window.HTMLInputElement.prototype,ye=Object.getOwnPropertyDescriptor(oe,"checked").set,We=c!==J.current;J.current=c;let Ye=X.current!==m;X.current=m;let ze=!(We&&l.current);if(Ye&&ye){G.current=!We;let qe=new Event("click",{bubbles:ze});re.indeterminate=nm(m),ye.call(re,nm(m)?!1:m),re.dispatchEvent(qe),G.current=!1}},[j,m,l,c]);let ee=b(nm(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 fae(e){return typeof e==="function"}im(fae,"isFunction");function nm(e){return e==="indeterminate"}im(nm,"isIndeterminate");function I7(e){return nm(e)?"indeterminate":e?"checked":"unchecked"}im(I7,"getState");S();S();S();var cke=Object.defineProperty,ji=(e,r)=>cke(e,"name",{value:r,configurable:!0});function da(e){let r=e+"CollectionProvider",[a,i]=pt(r),[f,s]=a(r,{collectionRef:{current:null},itemMap:new Map}),l=ji((j)=>{let{scope:U,children:T}=j,N=b(null),G=b(new Map).current;return t(f,{scope:U,itemMap:G,collectionRef:N,children:T})},"CollectionProvider");l.displayName=r;let c=e+"CollectionSlot",m=zi(c),g=O((j,U)=>{let{scope:T,children:N}=j,G=s(c,T),X=_e(U,G.collectionRef);return t(m,{ref:X,children:N})});g.displayName=c;let M=e+"CollectionItemSlot",v="data-radix-collection-item",y=zi(M),x=O((j,U)=>{let{scope:T,children:N,...G}=j,X=b(null),J=_e(U,X),ee=s(M,T);return h(()=>(ee.itemMap.set(X,{ref:X,...G}),()=>void ee.itemMap.delete(X))),t(y,{...{[v]:""},ref:J,children:N})});x.displayName=M;function _(j){let U=s(e+"CollectionConsumer",j);return P(()=>{let N=U.collectionRef.current;if(!N)return[];let G=Array.from(N.querySelectorAll(`[${v}]`));return Array.from(U.itemMap.values()).sort((ee,re)=>G.indexOf(ee.ref.current)-G.indexOf(re.ref.current))},[U.collectionRef,U.itemMap])}return ji(_,"useCollection"),[{Provider:l,Slot:g,ItemSlot:x},_,i]}ji(da,"createCollection");var lae=new WeakMap,R7=class e extends Map{static{ji(this,"OrderedDict")}#e;constructor(r){super(r);this.#e=[...super.keys()],lae.set(this,!0)}set(r,a){if(lae.get(this))if(this.has(r))this.#e[this.#e.indexOf(r)]=r;else this.#e.push(r);return super.set(r,a),this}insert(r,a,i){let f=this.has(a),s=this.#e.length,l=T7(r),c=l>=0?l:s+l,m=c<0||c>=s?-1:c;if(m===this.size||f&&m===this.size-1||m===-1)return this.set(a,i),this;let g=this.size+(f?0:1);if(l<0)c++;let M=[...this.#e],v,y=!1;for(let x=c;x<g;x++)if(c===x){let _=M[x];if(M[x]===a)_=M[x+1];if(f)this.delete(a);v=this.get(_),this.set(a,i)}else{if(!y&&M[x-1]===a)y=!0;let _=M[y?x:x-1],j=v;v=this.get(_),this.delete(_),this.set(_,j)}return this}with(r,a,i){let f=new e(this);return f.insert(r,a,i),f}before(r){let a=this.#e.indexOf(r)-1;if(a<0)return;return this.entryAt(a)}setBefore(r,a,i){let f=this.#e.indexOf(r);if(f===-1)return this;return this.insert(f,a,i)}after(r){let a=this.#e.indexOf(r);if(a=a===-1||a===this.size-1?-1:a+1,a===-1)return;return this.entryAt(a)}setAfter(r,a,i){let f=this.#e.indexOf(r);if(f===-1)return this;return this.insert(f+1,a,i)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(r){let a=super.delete(r);if(a)this.#e.splice(this.#e.indexOf(r),1);return a}deleteAt(r){let a=this.keyAt(r);if(a!==void 0)return this.delete(a);return!1}at(r){let a=sN(this.#e,r);if(a!==void 0)return this.get(a)}entryAt(r){let a=sN(this.#e,r);if(a!==void 0)return[a,this.get(a)]}indexOf(r){return this.#e.indexOf(r)}keyAt(r){return sN(this.#e,r)}from(r,a){let i=this.indexOf(r);if(i===-1)return;let f=i+a;if(f<0)f=0;if(f>=this.size)f=this.size-1;return this.at(f)}keyFrom(r,a){let i=this.indexOf(r);if(i===-1)return;let f=i+a;if(f<0)f=0;if(f>=this.size)f=this.size-1;return this.keyAt(f)}find(r,a){let i=0;for(let f of this){if(Reflect.apply(r,a,[f,i,this]))return f;i++}return}findIndex(r,a){let i=0;for(let f of this){if(Reflect.apply(r,a,[f,i,this]))return i;i++}return-1}filter(r,a){let i=[],f=0;for(let s of this){if(Reflect.apply(r,a,[s,f,this]))i.push(s);f++}return new e(i)}map(r,a){let i=[],f=0;for(let s of this)i.push([s[0],Reflect.apply(r,a,[s,f,this])]),f++;return new e(i)}reduce(...r){let[a,i]=r,f=0,s=i??this.at(0);for(let l of this){if(f===0&&r.length===1)s=l;else s=Reflect.apply(a,this,[s,l,f,this]);f++}return s}reduceRight(...r){let[a,i]=r,f=i??this.at(-1);for(let s=this.size-1;s>=0;s--){let l=this.at(s);if(s===this.size-1&&r.length===1)f=l;else f=Reflect.apply(a,this,[f,l,s,this])}return f}toSorted(r){let a=[...this.entries()].sort(r);return new e(a)}toReversed(){let r=new e;for(let a=this.size-1;a>=0;a--){let i=this.keyAt(a),f=this.get(i);r.set(i,f)}return r}toSpliced(...r){let a=[...this.entries()];return a.splice(...r),new e(a)}slice(r,a){let i=new e,f=this.size-1;if(r===void 0)return i;if(r<0)r=r+this.size;if(a!==void 0&&a>0)f=a-1;for(let s=r;s<=f;s++){let l=this.keyAt(s),c=this.get(l);i.set(l,c)}return i}every(r,a){let i=0;for(let f of this){if(!Reflect.apply(r,a,[f,i,this]))return!1;i++}return!0}some(r,a){let i=0;for(let f of this){if(Reflect.apply(r,a,[f,i,this]))return!0;i++}return!1}};function sN(e,r){if("at"in Array.prototype)return Array.prototype.at.call(e,r);let a=cae(e,r);return a===-1?void 0:e[a]}ji(sN,"at");function cae(e,r){let a=e.length,i=T7(r),f=i>=0?i:a+i;return f<0||f>=a?-1:f}ji(cae,"toSafeIndex");function T7(e){return e!==e||e===0?0:Math.trunc(e)}ji(T7,"toSafeInteger");function uke(e){let r=e+"CollectionProvider",[a,i]=pt(r),[f,s]=a(r,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new R7,setItemMap:ji(()=>{return},"setItemMap")}),l=ji(({state:G,...X})=>G?t(m,{...X,state:G}):t(c,{...X}),"CollectionProvider");l.displayName=r;let c=ji((G)=>{let X=U();return t(m,{...G,state:X})},"CollectionInit");c.displayName=r+"Init";let m=ji((G)=>{let{scope:X,children:J,state:ee}=G,re=b(null),[oe,ae]=u(null),ye=_e(re,ae),[We,Ye]=ee;return h(()=>{if(!oe)return;let ze=Zae(()=>{});return ze.observe(oe,{childList:!0,subtree:!0}),()=>{ze.disconnect()}},[oe]),t(f,{scope:X,itemMap:We,setItemMap:Ye,collectionRef:ye,collectionRefObject:re,collectionElement:oe,children:J})},"CollectionProviderImpl");m.displayName=r+"Impl";let g=e+"CollectionSlot",M=zi(g),v=O((G,X)=>{let{scope:J,children:ee}=G,re=s(g,J),oe=_e(X,re.collectionRef);return t(M,{ref:oe,children:ee})});v.displayName=g;let y=e+"CollectionItemSlot",x="data-radix-collection-item",_=zi(y),j=O((G,X)=>{let{scope:J,children:ee,...re}=G,oe=b(null),[ae,ye]=u(null),We=_e(X,oe,ye),Ye=s(y,J),{setItemMap:ze}=Ye,qe=b(re);if(!uae(qe.current,re))qe.current=re;let ut=qe.current;return h(()=>{let $e=ut;return ze((xt)=>{if(!ae)return xt;if(!xt.has(ae))return xt.set(ae,{...$e,element:ae}),xt.toSorted(P7);return xt.set(ae,{...$e,element:ae}).toSorted(P7)}),()=>{ze((xt)=>{if(!ae||!xt.has(ae))return xt;return xt.delete(ae),new R7(xt)})}},[ae,ut,ze]),t(_,{...{[x]:""},ref:We,children:ee})});j.displayName=y;function U(){return u(new R7)}ji(U,"useInitCollection");function T(G){let{itemMap:X}=s(e+"CollectionConsumer",G);return X}return ji(T,"useCollection"),[{Provider:l,Slot:v,ItemSlot:j},{createCollectionScope:i,useCollection:T,useInitCollection:U}]}ji(uke,"createCollection");function uae(e,r){if(e===r)return!0;if(typeof e!=="object"||typeof r!=="object")return!1;if(e==null||r==null)return!1;let a=Object.keys(e),i=Object.keys(r);if(a.length!==i.length)return!1;for(let f of a){if(!Object.prototype.hasOwnProperty.call(r,f))return!1;if(e[f]!==r[f])return!1}return!0}ji(uae,"shallowEqual");function dae(e,r){return!!(r.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}ji(dae,"isElementPreceding");function P7(e,r){return!e[1].element||!r[1].element?0:dae(e[1].element,r[1].element)?-1:1}ji(P7,"sortByDocumentPosition");function Zae(e){return new MutationObserver((a)=>{for(let i of a)if(i.type==="childList"){e();return}})}ji(Zae,"getChildListObserver");S();var dke=Object.defineProperty,Zke=(e,r)=>dke(e,"name",{value:r,configurable:!0}),pke=at(void 0);function Hn(e){let r=dt(pke);return e||r||"ltr"}Zke(Hn,"useDirection");S();var hae=["top","right","bottom","left"];var{min:sZ,max:fu,round:TT,floor:AT}=Math,lZ=(e)=>({x:e,y:e}),mke={left:"right",right:"left",bottom:"top",top:"bottom"};function A7(e,r,a){return fu(e,sZ(r,a))}function cZ(e,r){return typeof e==="function"?e(r):e}function fm(e){return e.split("-")[0]}function Dz(e){return e.split("-")[1]}function cN(e){return e==="x"?"y":"x"}function uN(e){return e==="y"?"height":"width"}function su(e){let r=e[0];return r==="t"||r==="b"?"y":"x"}function dN(e){return cN(su(e))}function gae(e,r,a){if(a===void 0)a=!1;let i=Dz(e),f=dN(e),s=uN(f),l=f==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";if(r.reference[s]>r.floating[s])l=PT(l);return[l,PT(l)]}function Mae(e){let r=PT(e);return[lN(e),r,lN(r)]}function lN(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var pae=["left","right"],mae=["right","left"],hke=["top","bottom"],gke=["bottom","top"];function Mke(e,r,a){switch(e){case"top":case"bottom":if(a)return r?mae:pae;return r?pae:mae;case"left":case"right":return r?hke:gke;default:return[]}}function vae(e,r,a,i){let f=Dz(e),s=Mke(fm(e),a==="start",i);if(f){if(s=s.map((l)=>l+"-"+f),r)s=s.concat(s.map(lN))}return s}function PT(e){let r=fm(e);return mke[r]+e.slice(r.length)}function vke(e){var r,a,i,f;return{top:(r=e.top)!=null?r:0,right:(a=e.right)!=null?a:0,bottom:(i=e.bottom)!=null?i:0,left:(f=e.left)!=null?f:0}}function D7(e){return typeof e!=="number"?vke(e):{top:e,right:e,bottom:e,left:e}}function Ez(e){let{x:r,y:a,width:i,height:f}=e;return{width:i,height:f,top:a,left:r,right:r+i,bottom:a+f,x:r,y:a}}function xae(e,r,a){let{reference:i,floating:f}=e,s=su(r),l=dN(r),c=uN(l),m=fm(r),g=s==="y",M=i.x+i.width/2-f.width/2,v=i.y+i.height/2-f.height/2,y=i[c]/2-f[c]/2,x;switch(m){case"top":x={x:M,y:i.y-f.height};break;case"bottom":x={x:M,y:i.y+i.height};break;case"right":x={x:i.x+i.width,y:v};break;case"left":x={x:i.x-f.width,y:v};break;default:x={x:i.x,y:i.y}}let _=Dz(r);if(_)x[l]+=y*(_==="end"?1:-1)*(a&&g?-1:1);return x}async function _ae(e,r){var a;if(r===void 0)r={};let{x:i,y:f,platform:s,rects:l,elements:c,strategy:m}=e,{boundary:g="clippingAncestors",rootBoundary:M="viewport",elementContext:v="floating",altBoundary:y=!1,padding:x=0}=cZ(r,e),_=D7(x),U=c[y?v==="floating"?"reference":"floating":v],T=Ez(await s.getClippingRect({element:((a=await(s.isElement==null?void 0:s.isElement(U)))!=null?a:!0)?U:U.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:g,rootBoundary:M,strategy:m})),N=v==="floating"?{x:i,y:f,width:l.floating.width,height:l.floating.height}:l.reference,G=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),X=await(s.isElement==null?void 0:s.isElement(G))&&await(s.getScale==null?void 0:s.getScale(G))||{x:1,y:1},J=Ez(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:N,offsetParent:G,strategy:m}):N);return{top:(T.top-J.top+_.top)/X.y,bottom:(J.bottom-T.bottom+_.bottom)/X.y,left:(T.left-J.left+_.left)/X.x,right:(J.right-T.right+_.right)/X.x}}var xke=50,wae=async(e,r,a)=>{let{placement:i="bottom",strategy:f="absolute",middleware:s=[],platform:l}=a,c=l.detectOverflow?l:{...l,detectOverflow:_ae},m=await(l.isRTL==null?void 0:l.isRTL(r)),g=await l.getElementRects({reference:e,floating:r,strategy:f}),{x:M,y:v}=xae(g,i,m),y=i,x=0,_={};for(let j=0;j<s.length;j++){let U=s[j];if(!U)continue;let{name:T,fn:N}=U,{x:G,y:X,data:J,reset:ee}=await N({x:M,y:v,initialPlacement:i,placement:y,strategy:f,middlewareData:_,rects:g,platform:c,elements:{reference:e,floating:r}});if(M=G!=null?G:M,v=X!=null?X:v,_[T]={..._[T],...J},ee&&x<xke){if(x++,typeof ee==="object"){if(ee.placement)y=ee.placement;if(ee.rects)g=ee.rects===!0?await l.getElementRects({reference:e,floating:r,strategy:f}):ee.rects;({x:M,y:v}=xae(g,y,m))}j=-1}}return{x:M,y:v,placement:y,strategy:f,middlewareData:_}},zae=(e)=>({name:"arrow",options:e,async fn(r){let{x:a,y:i,placement:f,rects:s,platform:l,elements:c,middlewareData:m}=r,{element:g,padding:M=0}=cZ(e,r)||{};if(g==null)return{};let v=D7(M),y={x:a,y:i},x=dN(f),_=uN(x),j=await l.getDimensions(g),U=x==="y",T=U?"top":"left",N=U?"bottom":"right",G=U?"clientHeight":"clientWidth",X=s.reference[_]+s.reference[x]-y[x]-s.floating[_],J=y[x]-s.reference[x],ee=await(l.getOffsetParent==null?void 0:l.getOffsetParent(g)),re=ee?ee[G]:0;if(!re||!await(l.isElement==null?void 0:l.isElement(ee)))re=c.floating[G]||s.floating[_];let oe=X/2-J/2,ae=re/2-j[_]/2-1,ye=sZ(v[T],ae),We=sZ(v[N],ae),Ye=re-j[_]-We,ze=re/2-j[_]/2+oe,qe=A7(ye,ze,Ye),ut=!m.arrow&&Dz(f)!=null&&ze!==qe&&s.reference[_]/2-(ze<ye?ye:We)-j[_]/2<0,$e=ut?ze<ye?ze-ye:ze-Ye:0;return{[x]:y[x]+$e,data:{[x]:qe,centerOffset:ze-qe-$e,...ut&&{alignmentOffset:$e}},reset:ut}}});var Sae=function(e){if(e===void 0)e={};return{name:"flip",options:e,async fn(r){var a,i;let{placement:f,middlewareData:s,rects:l,initialPlacement:c,platform:m,elements:g}=r,{mainAxis:M=!0,crossAxis:v=!0,fallbackPlacements:y,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:j=!0,...U}=cZ(e,r);if((a=s.arrow)!=null&&a.alignmentOffset)return{};let T=fm(f),N=su(c),G=fm(c)===c,X=await(m.isRTL==null?void 0:m.isRTL(g.floating)),J=y||(G||!j?[PT(c)]:Mae(c)),ee=_!=="none";if(!y&&ee)J.push(...vae(c,j,_,X));let re=[c,...J],oe=await m.detectOverflow(r,U),ae=[],ye=((i=s.flip)==null?void 0:i.overflows)||[];if(M)ae.push(oe[T]);if(v){let qe=gae(f,l,X);ae.push(oe[qe[0]],oe[qe[1]])}if(ye=[...ye,{placement:f,overflows:ae}],!ae.every((qe)=>qe<=0)){var We,Ye;let qe=(((We=s.flip)==null?void 0:We.index)||0)+1,ut=re[qe];if(ut){if(!(v==="alignment"?N!==su(ut):!1)||ye.every((Dt)=>su(Dt.placement)===N?Dt.overflows[0]>0:!0))return{data:{index:qe,overflows:ye},reset:{placement:ut}}}let $e=(Ye=ye.filter((xt)=>xt.overflows[0]<=0).sort((xt,Dt)=>xt.overflows[1]-Dt.overflows[1])[0])==null?void 0:Ye.placement;if(!$e)switch(x){case"bestFit":{var ze;let xt=(ze=ye.filter((Dt)=>{if(ee){let jt=su(Dt.placement);return jt===N||jt==="y"}return!0}).map((Dt)=>[Dt.placement,Dt.overflows.filter((jt)=>jt>0).reduce((jt,de)=>jt+de,0)]).sort((Dt,jt)=>Dt[1]-jt[1])[0])==null?void 0:ze[0];if(xt)$e=xt;break}case"initialPlacement":$e=c;break}if(f!==$e)return{reset:{placement:$e}}}return{}}}};function yae(e,r){return{top:e.top-r.height,right:e.right-r.width,bottom:e.bottom-r.height,left:e.left-r.width}}function bae(e){return hae.some((r)=>e[r]>=0)}var Lae=function(e){if(e===void 0)e={};return{name:"hide",options:e,async fn(r){let{rects:a,platform:i}=r,{strategy:f="referenceHidden",...s}=cZ(e,r);switch(f){case"referenceHidden":{let l=await i.detectOverflow(r,{...s,elementContext:"reference"}),c=yae(l,a.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:bae(c)}}}case"escaped":{let l=await i.detectOverflow(r,{...s,altBoundary:!0}),c=yae(l,a.floating);return{data:{escapedOffsets:c,escaped:bae(c)}}}default:return{}}}}};var kae=new Set(["left","top"]);async function yke(e,r){let{placement:a,platform:i,elements:f}=e,s=await(i.isRTL==null?void 0:i.isRTL(f.floating)),l=fm(a),c=Dz(a),m=su(a)==="y",g=kae.has(l)?-1:1,M=s&&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(c&&typeof _==="number")x=c==="end"?_*-1:_;return m?{x:x*M,y:y*g}:{x:y*g,y:x*M}}var Cae=function(e){if(e===void 0)e=0;return{name:"offset",options:e,async fn(r){var a,i;let{x:f,y:s,placement:l,middlewareData:c}=r,m=await yke(r,e);if(l===((a=c.offset)==null?void 0:a.placement)&&(i=c.arrow)!=null&&i.alignmentOffset)return{};return{x:f+m.x,y:s+m.y,data:{...m,placement:l}}}}},Iae=function(e){if(e===void 0)e={};return{name:"shift",options:e,async fn(r){let{x:a,y:i,placement:f,platform:s}=r,{mainAxis:l=!0,crossAxis:c=!1,limiter:m={fn:(N)=>{let{x:G,y:X}=N;return{x:G,y:X}}},...g}=cZ(e,r),M={x:a,y:i},v=await s.detectOverflow(r,g),y=su(f),x=cN(y),_=M[x],j=M[y],U=(N,G)=>A7(G+v[N==="y"?"top":"left"],G,G-v[N==="y"?"bottom":"right"]);if(l)_=U(x,_);if(c)j=U(y,j);let T=m.fn({...r,[x]:_,[y]:j});return{...T,data:{x:T.x-a,y:T.y-i,enabled:{[x]:l,[y]:c}}}}}},Rae=function(e){if(e===void 0)e={};return{options:e,fn(r){var a,i;let{x:f,y:s,placement:l,rects:c,middlewareData:m}=r,{offset:g=0,mainAxis:M=!0,crossAxis:v=!0}=cZ(e,r),y={x:f,y:s},x=su(l),_=cN(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=c.reference[_]-c.floating[J]+N.mainAxis,re=c.reference[_]+c.reference[J]-N.mainAxis;if(j<ee)j=ee;else if(j>re)j=re}if(v){var G,X;let J=_==="y"?"width":"height",ee=kae.has(fm(l)),re=c.reference[x]-c.floating[J]+(ee?((G=m.offset)==null?void 0:G[x])||0:0)+(ee?0:N.crossAxis),oe=c.reference[x]+c.reference[J]+(ee?0:((X=m.offset)==null?void 0:X[x])||0)-(ee?N.crossAxis:0);if(U<re)U=re;else if(U>oe)U=oe}return{[_]:j,[x]:U}}}},Pae=function(e){if(e===void 0)e={};return{name:"size",options:e,async fn(r){let{placement:a,rects:i,platform:f,elements:s}=r,{apply:l=()=>{},...c}=cZ(e,r),m=await f.detectOverflow(r,c),g=fm(a),M=Dz(a),v=su(a)==="y",{width:y,height:x}=i.floating,_,j;if(g==="top"||g==="bottom")_=g,j=M===(await(f.isRTL==null?void 0:f.isRTL(s.floating))?"start":"end")?"left":"right";else j=g,_=M==="end"?"top":"bottom";let U=x-m.top-m.bottom,T=y-m.left-m.right,N=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 l({...r,availableWidth:re,availableHeight:ee});let oe=await f.getDimensions(s.floating);if(y!==oe.width||x!==oe.height)return{reset:{rects:!0}};return{}}}};function ZN(){return typeof window<"u"}function Nz(e){if(Aae(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=(Aae(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function Aae(e){if(!ZN())return!1;return e instanceof Node||e instanceof is(e).Node}function lu(e){if(!ZN())return!1;return e instanceof Element||e instanceof is(e).Element}function sm(e){if(!ZN())return!1;return e instanceof HTMLElement||e instanceof is(e).HTMLElement}function Tae(e){if(!ZN()||typeof ShadowRoot>"u")return!1;return e instanceof ShadowRoot||e instanceof is(e).ShadowRoot}function DT(e){let{overflow:r,overflowX:a,overflowY:i,display:f}=cu(e);return/auto|scroll|overlay|hidden|clip/.test(r+i+a)&&f!=="inline"&&f!=="contents"}function Dae(e){return/^(table|td|th)$/.test(Nz(e))}function ET(e){try{if(e.matches(":popover-open"))return!0}catch(r){}try{return e.matches(":modal")}catch(r){return!1}}var bke=/transform|translate|scale|rotate|perspective|filter/,_ke=/paint|layout|strict|content/,Oz=(e)=>!!e&&e!=="none",E7;function pN(e){let r=lu(e)?cu(e):e;return Oz(r.transform)||Oz(r.translate)||Oz(r.scale)||Oz(r.rotate)||Oz(r.perspective)||!mN()&&(Oz(r.backdropFilter)||Oz(r.filter))||bke.test(r.willChange||"")||_ke.test(r.contain||"")}function Eae(e){let r=c8(e);while(sm(r)&&!ZI(r)){if(pN(r))return r;else if(ET(r))return null;r=c8(r)}return null}function mN(){if(E7==null)E7=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none");return E7}function ZI(e){return/^(html|body|#document)$/.test(Nz(e))}function cu(e){return is(e).getComputedStyle(e)}function OT(e){if(lu(e))return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop};return{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function c8(e){if(Nz(e)==="html")return e;let r=e.assignedSlot||e.parentNode||Tae(e)&&e.host||uZ(e);return Tae(r)?r.host:r}function Oae(e){let r=c8(e);if(ZI(r))return(e.ownerDocument||e).body;if(sm(r)&&DT(r))return r;return Oae(r)}function jz(e,r,a){var i;if(r===void 0)r=[];if(a===void 0)a=!0;let f=Oae(e),s=f===((i=e.ownerDocument)==null?void 0:i.body),l=is(f);if(s){let c=hN(l);return r.concat(l,l.visualViewport||[],DT(f)?f:[],c&&a?jz(c):[])}else return r.concat(f,jz(f,[],a))}function hN(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Fae(e){let r=cu(e),a=parseFloat(r.width)||0,i=parseFloat(r.height)||0,f=sm(e),s=f?e.offsetWidth:a,l=f?e.offsetHeight:i,c=TT(a)!==s||TT(i)!==l;if(c)a=s,i=l;return{width:a,height:i,$:c}}function j7(e){return!lu(e)?e.contextElement:e}function zI(e){let r=j7(e);if(!sm(r))return lZ(1);let a=r.getBoundingClientRect(),{width:i,height:f,$:s}=Fae(r),l=(s?TT(a.width):a.width)/i,c=(s?TT(a.height):a.height)/f;if(!l||!Number.isFinite(l))l=1;if(!c||!Number.isFinite(c))c=1;return{x:l,y:c}}var wke=lZ(0);function Bae(e){let r=is(e);if(!mN()||!r.visualViewport)return wke;return{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function zke(e,r,a){if(r===void 0)r=!1;return!!a&&r&&a===is(e)}function Fz(e,r,a,i){if(r===void 0)r=!1;if(a===void 0)a=!1;let f=e.getBoundingClientRect(),s=j7(e),l=lZ(1);if(r)if(i){if(lu(i))l=zI(i)}else l=zI(e);let c=zke(s,a,i)?Bae(s):lZ(0),m=(f.left+c.x)/l.x,g=(f.top+c.y)/l.y,M=f.width/l.x,v=f.height/l.y;if(s&&i){let y=is(s),x=lu(i)?is(i):i,_=y,j=hN(_);while(j&&x!==_){let U=zI(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=hN(_)}}return Ez({width:M,height:v,x:m,y:g})}function gN(e,r){let a=OT(e).scrollLeft;if(!r)return Fz(uZ(e)).left+a;return r.left+a}function Yae(e,r){let a=e.getBoundingClientRect(),i=a.left+r.scrollLeft-gN(e,a),f=a.top+r.scrollTop;return{x:i,y:f}}function Ske(e){let{elements:r,rect:a,offsetParent:i,strategy:f}=e,s=f==="fixed",l=uZ(i),c=r?ET(r.floating):!1;if(i===l||c&&s)return a;let m={scrollLeft:0,scrollTop:0},g=lZ(1),M=lZ(0),v=sm(i);if(v||!s){if(Nz(i)!=="body"||DT(l))m=OT(i);if(v){let x=Fz(i);g=zI(i),M.x=x.x+i.clientLeft,M.y=x.y+i.clientTop}}let y=l&&!v&&!s?Yae(l,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 Lke(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function kke(e){let r=OT(e),a=e.ownerDocument.body,i=fu(e.scrollWidth,e.clientWidth,a.scrollWidth,a.clientWidth),f=fu(e.scrollHeight,e.clientHeight,a.scrollHeight,a.clientHeight),s=-r.scrollLeft+gN(e),l=-r.scrollTop;if(cu(a).direction==="rtl")s+=fu(e.clientWidth,a.clientWidth)-i;return{width:i,height:f,x:s,y:l}}var Cke=25;function Ike(e,r,a){if(a===void 0)a="viewport";let i=a==="layoutViewport",f=is(e),s=uZ(e),l=f.visualViewport,{clientWidth:c,clientHeight:m}=s,g=0,M=0;if(l){let y=!mN()||r==="fixed";if(i){if(!y)g=-l.offsetLeft,M=-l.offsetTop}else if(c=l.width,m=l.height,y)g=l.offsetLeft,M=l.offsetTop}if(gN(s)<=0){let y=s.ownerDocument,x=y.body,_=getComputedStyle(x),j=y.compatMode==="CSS1Compat"?parseFloat(_.marginLeft)+parseFloat(_.marginRight)||0:0,U=Math.abs(s.clientWidth-x.clientWidth-j),T=getComputedStyle(s).scrollbarGutter==="stable both-edges"?U/2:U;if(T<=Cke)c-=T}return{width:c,height:m,x:g,y:M}}function Rke(e,r){let a=Fz(e,!0,r==="fixed"),i=a.top+e.clientTop,f=a.left+e.clientLeft,s=zI(e),l=e.clientWidth*s.x,c=e.clientHeight*s.y,m=f*s.x,g=i*s.y;return{width:l,height:c,x:m,y:g}}function jae(e,r,a){let i;if(r==="viewport"||r==="layoutViewport")i=Ike(e,a,r);else if(r==="document")i=kke(uZ(e));else if(lu(r))i=Rke(r,a);else{let f=Bae(e);i={x:r.x-f.x,y:r.y-f.y,width:r.width,height:r.height}}return Ez(i)}function Pke(e,r){let a=r.get(e);if(a)return a;let i=jz(e,[],!1).filter((c)=>lu(c)&&Nz(c)!=="body"),f=null,s=cu(e).position==="fixed",l=s?c8(e):e;while(lu(l)&&!ZI(l)){let c=cu(l),m=pN(l),g=f?f.position:s?"fixed":"";if(!m&&(g==="fixed"||g==="absolute"&&c.position==="static"))i=i.filter((v)=>v!==l);else f=c;l=c8(l)}return r.set(e,i),i}function Tke(e){let{element:r,boundary:a,rootBoundary:i,strategy:f}=e,l=[...a==="clippingAncestors"?ET(r)?[]:Pke(r,this._c):[].concat(a),i],c=jae(r,l[0],f),{top:m,right:g,bottom:M,left:v}=c;for(let y=1;y<l.length;y++){let x=jae(r,l[y],f);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 Ake(e){let{width:r,height:a}=Fae(e);return{width:r,height:a}}function Dke(e,r,a){let i=sm(r),f=uZ(r),s=a==="fixed",l=Fz(e,!0,s,r),c={scrollLeft:0,scrollTop:0},m=lZ(0);if(i||!s){if(Nz(r)!=="body"||DT(f))c=OT(r);if(i){let y=Fz(r,!0,s,r);m.x=y.x+r.clientLeft,m.y=y.y+r.clientTop}}if(!i&&f)m.x=gN(f);let g=f&&!i&&!s?Yae(f,c):lZ(0),M=l.left+c.scrollLeft-m.x-g.x,v=l.top+c.scrollTop-m.y-g.y;return{x:M,y:v,width:l.width,height:l.height}}function O7(e){return cu(e).position==="static"}function Nae(e,r){if(!sm(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 Uae(e,r){let a=is(e);if(ET(e))return a;if(!sm(e)){let f=c8(e);while(f&&!ZI(f)){if(lu(f)&&!O7(f))return f;f=c8(f)}return a}let i=Nae(e,r);while(i&&Dae(i)&&O7(i))i=Nae(i,r);if(i&&ZI(i)&&O7(i)&&!pN(i))return a;return i||Eae(e)||a}var Eke=async function(e){let r=this.getOffsetParent||Uae,a=this.getDimensions,i=await a(e.floating);return{reference:Dke(e.reference,await r(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Oke(e){return cu(e).direction==="rtl"}var qae={convertOffsetParentRelativeRectToViewportRelativeRect:Ske,getDocumentElement:uZ,getClippingRect:Tke,getOffsetParent:Uae,getElementRects:Eke,getClientRects:Lke,getDimensions:Ake,getScale:zI,isElement:lu,isRTL:Oke};function Hae(e,r){return e.x===r.x&&e.y===r.y&&e.width===r.width&&e.height===r.height}function jke(e,r,a){let i=null,f,s=uZ(e);function l(){var M;clearTimeout(f),(M=i)==null||M.disconnect(),i=null}function c(M,v){if(M===void 0)M=!1;if(v===void 0)v=1;l();let y=e.getBoundingClientRect(),{left:x,top:_,width:j,height:U}=y;if(!M)r();if(!j||!U)return;let T=AT(_),N=AT(s.clientWidth-(x+j)),G=AT(s.clientHeight-(_+U)),X=AT(x),ee={rootMargin:-T+"px "+-N+"px "+-G+"px "+-X+"px",threshold:fu(0,sZ(1,v))||1},re=!0;function oe(ae){let ye=ae[0].intersectionRatio;if(!Hae(y,e.getBoundingClientRect()))return c();if(ye!==v){if(!re)return c();if(!ye)f=setTimeout(()=>{c(!1,0.0000001)},1000);else c(!1,ye)}re=!1}try{i=new IntersectionObserver(oe,{...ee,root:s.ownerDocument})}catch(ae){i=new IntersectionObserver(oe,ee)}i.observe(e)}let m=is(e),g=()=>c(a);return m.addEventListener("resize",g),c(!0),()=>{m.removeEventListener("resize",g),l()}}function N7(e,r,a,i){if(i===void 0)i={};let{ancestorScroll:f=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver==="function",layoutShift:c=typeof IntersectionObserver==="function",animationFrame:m=!1}=i,g=j7(e),M=f||s?[...g?jz(g):[],...r?jz(r):[]]:[];M.forEach((T)=>{f&&T.addEventListener("scroll",a),s&&T.addEventListener("resize",a)});let v=g&&c?jke(g,a,s):null,y=-1,x=null;if(l){if(x=new ResizeObserver((T)=>{let[N]=T;if(N&&N.target===g&&x&&r)x.unobserve(r),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var G;(G=x)==null||G.observe(r)});a()}),g&&!m)x.observe(g);if(r)x.observe(r)}let _,j=m?Fz(e):null;if(m)U();function U(){let T=Fz(e);if(j&&!Hae(j,T))a();j=T,_=requestAnimationFrame(U)}return a(),()=>{var T;if(M.forEach((N)=>{f&&N.removeEventListener("scroll",a),s&&N.removeEventListener("resize",a)}),v==null||v(),(T=x)==null||T.disconnect(),x=null,m)cancelAnimationFrame(_)}}var Vae=Cae;var Wae=Iae,Gae=Sae,Kae=Pae,Xae=Lae,F7=zae;var Qae=Rae,B7=(e,r,a)=>{let i=new Map,f=a!=null?a:{},s={...qae,...f.platform,_c:i};return wae(e,r,{...f,platform:s})};S();S();var Nke=typeof document<"u",Fke=function(){},MN=Nke?He:Fke;function vN(e,r){if(e===r)return!0;if(typeof e!==typeof r)return!1;if(typeof e==="function"&&e.toString()===r.toString())return!0;let a,i,f;if(e&&r&&typeof e==="object"){if(Array.isArray(e)){if(a=e.length,a!==r.length)return!1;for(i=a;i--!==0;)if(!vN(e[i],r[i]))return!1;return!0}if(f=Object.keys(e),a=f.length,a!==Object.keys(r).length)return!1;for(i=a;i--!==0;)if(!{}.hasOwnProperty.call(r,f[i]))return!1;for(i=a;i--!==0;){let s=f[i];if(s==="_owner"&&e.$$typeof)continue;if(!vN(e[s],r[s]))return!1}return!0}return e!==e&&r!==r}function $ae(e){if(typeof window>"u")return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Jae(e,r){let a=$ae(e);return Math.round(r*a)/a}function Y7(e){let r=b(e);return MN(()=>{r.current=e}),r}function ene(e){if(e===void 0)e={};let{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:f,elements:{reference:s,floating:l}={},transform:c=!0,whileElementsMounted:m,open:g}=e,[M,v]=u({x:0,y:0,strategy:a,placement:r,middlewareData:{},isPositioned:!1}),[y,x]=u(i);if(!vN(y,i))x(i);let[_,j]=u(null),[U,T]=u(null),N=P((Dt)=>{if(Dt!==ee.current)ee.current=Dt,j(Dt)},[]),G=P((Dt)=>{if(Dt!==re.current)re.current=Dt,T(Dt)},[]),X=s||_,J=l||U,ee=b(null),re=b(null),oe=b(M),ae=m!=null,ye=Y7(m),We=Y7(f),Ye=Y7(g),ze=P(()=>{if(!ee.current||!re.current)return;let Dt={placement:r,strategy:a,middleware:y};if(We.current)Dt.platform=We.current;B7(ee.current,re.current,Dt).then((jt)=>{let de={...jt,isPositioned:Ye.current!==!1};if(qe.current&&!vN(oe.current,de))oe.current=de,tn(()=>{v(de)})})},[y,r,a,We,Ye]);MN(()=>{if(g===!1&&oe.current.isPositioned)oe.current.isPositioned=!1,v((Dt)=>({...Dt,isPositioned:!1}))},[g]);let qe=b(!1);MN(()=>(qe.current=!0,()=>{qe.current=!1}),[]),MN(()=>{if(X)ee.current=X;if(J)re.current=J;if(X&&J){if(ye.current)return ye.current(X,J,ze);ze()}},[X,J,ze,ye,ae]);let ut=D(()=>({reference:ee,floating:re,setReference:N,setFloating:G}),[N,G]),$e=D(()=>({reference:X,floating:J}),[X,J]),xt=D(()=>{let Dt={position:a,left:0,top:0};if(!$e.floating)return Dt;let jt=Jae($e.floating,M.x),de=Jae($e.floating,M.y);if(c)return{...Dt,transform:"translate("+jt+"px, "+de+"px)",...$ae($e.floating)>=1.5&&{willChange:"transform"}};return{position:a,left:jt,top:de}},[a,c,$e.floating,M.x,M.y]);return D(()=>({...M,update:ze,refs:ut,elements:$e,floatingStyles:xt}),[M,ze,ut,$e,xt])}var Bke=(e)=>{function r(a){return{}.hasOwnProperty.call(a,"current")}return{name:"arrow",options:e,fn(a){let{element:i,padding:f}=typeof e==="function"?e(a):e;if(i&&r(i)){if(i.current!=null)return F7({element:i.current,padding:f}).fn(a);return{}}if(i)return F7({element:i,padding:f}).fn(a);return{}}}},tne=(e,r)=>{let a=Vae(e);return{name:a.name,fn:a.fn,options:[e,r]}},rne=(e,r)=>{let a=Wae(e);return{name:a.name,fn:a.fn,options:[e,r]}},one=(e,r)=>({fn:Qae(e).fn,options:[e,r]}),ane=(e,r)=>{let a=Gae(e);return{name:a.name,fn:a.fn,options:[e,r]}},nne=(e,r)=>{let a=Kae(e);return{name:a.name,fn:a.fn,options:[e,r]}};var ine=(e,r)=>{let a=Xae(e);return{name:a.name,fn:a.fn,options:[e,r]}};var fne=(e,r)=>{let a=Bke(e);return{name:a.name,fn:a.fn,options:[e,r]}};S();var Yke=Object.defineProperty,Uke=(e,r)=>Yke(e,"name",{value:r,configurable:!0}),qke=O(Uke(function(r,a){let{children:i,width:f=10,height:s=5,...l}=r;return t(se.svg,{...l,ref:a,width:f,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:r.asChild?i:t("polygon",{points:"0,0 30,0 15,10"})})},"Arrow")),sne=qke;var Vke=Object.defineProperty,lm=(e,r)=>Vke(e,"name",{value:r,configurable:!0});var lne="Popper",[cne,mc]=pt(lne),[Wke,une]=cne(lne),Gke=lm((e)=>{let{__scopePopper:r,children:a}=e,[i,f]=u(null),[s,l]=u(void 0);return t(Wke,{scope:r,anchor:i,onAnchorChange:f,placementState:s,setPlacementState:l,children:a})},"Popper"),Kke="PopperAnchor",Xke=O(lm(function(r,a){let{__scopePopper:i,virtualRef:f,...s}=r,l=une(Kke,i),c=b(null),m=l.onAnchorChange,g=P((j)=>{if(c.current=j,j)m(j)},[m]),M=_e(a,g),v=b(null);h(()=>{if(!f)return;let j=v.current;if(v.current=f.current,j!==v.current)m(v.current)});let y=l.placementState&&xN(l.placementState),x=y?.[0],_=y?.[1];return f?null:t(se.div,{"data-radix-popper-side":x,"data-radix-popper-align":_,...s,ref:M})},"PopperAnchor")),dne="PopperContent",[Qke,Jke]=cne(dne),$ke=O(lm(function(r,a){let{__scopePopper:i,side:f="bottom",sideOffset:s=0,align:l="center",alignOffset:c=0,arrowPadding:m=0,avoidCollisions:g=!0,collisionBoundary:M=[],collisionPadding:v=0,sticky:y="partial",hideWhenDetached:x=!1,updatePositionStrategy:_="optimized",onPlaced:j,...U}=r,T=une(dne,i),[N,G]=u(null),X=_e(a,G),[J,ee]=u(null),re=ua(J),oe=re?.width??0,ae=re?.height??0,ye=f+(l!=="center"?"-"+l:""),We=typeof v==="number"?v:{top:0,right:0,bottom:0,left:0,...v},Ye=Array.isArray(M)?M:[M],ze=Ye.length>0,qe={padding:We,boundary:Ye.filter(Zne),altBoundary:ze},{refs:ut,floatingStyles:$e,placement:xt,isPositioned:Dt,middlewareData:jt}=ene({strategy:"fixed",placement:ye,whileElementsMounted:lm((...Kt)=>N7(...Kt,{animationFrame:_==="always"}),"whileElementsMounted"),elements:{reference:T.anchor},middleware:[tne({mainAxis:s+ae,alignmentAxis:c}),g&&rne({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?one():void 0,...qe}),g&&ane({...qe}),nne({...qe,apply:lm(({elements:Kt,rects:Rr,availableWidth:Lr,availableHeight:Tr})=>{let{width:dr,height:uo}=Rr.reference,lo=Kt.floating.style;lo.setProperty("--radix-popper-available-width",`${Lr}px`),lo.setProperty("--radix-popper-available-height",`${Tr}px`),lo.setProperty("--radix-popper-anchor-width",`${dr}px`),lo.setProperty("--radix-popper-anchor-height",`${uo}px`)},"apply")}),J&&fne({element:J,padding:m}),o1e({arrowWidth:oe,arrowHeight:ae}),x&&ine({strategy:"referenceHidden",...qe,boundary:ze?qe.boundary:void 0})]}),de=T.setPlacementState;It(()=>(de(xt),()=>{de(void 0)}),[xt,de]);let[yt,Wt]=xN(xt),De=Xo(j);It(()=>{if(Dt)De?.()},[Dt,De]);let fr=jt.arrow?.x,sr=jt.arrow?.y,rr=jt.arrow?.centerOffset!==0,[Or,Gt]=u();return It(()=>{if(N)Gt(window.getComputedStyle(N).zIndex)},[N]),t("div",{ref:ut.setFloating,"data-radix-popper-content-wrapper":"",style:{...$e,transform:Dt?$e.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Or,"--radix-popper-transform-origin":[jt.transformOrigin?.x,jt.transformOrigin?.y].join(" "),...jt.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:r.dir,children:t(Qke,{scope:i,placedSide:yt,placedAlign:Wt,onArrowChange:ee,arrowX:fr,arrowY:sr,shouldHideArrow:rr,children:t(se.div,{"data-side":yt,"data-align":Wt,...U,ref:X,style:{...U.style,animation:!Dt?"none":U.style?.animation}})})})},"PopperContent")),e1e="PopperArrow",t1e={top:"bottom",right:"left",bottom:"top",left:"right"},r1e=O(lm(function(r,a){let{__scopePopper:i,...f}=r,s=Jke(e1e,i),l=t1e[s.placedSide];return t("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:t(sne,{...f,ref:a,style:{...f.style,display:"block"}})})},"PopperArrow"));function Zne(e){return e!==null}lm(Zne,"isNotNull");var o1e=lm((e)=>({name:"transformOrigin",options:e,fn(r){let{placement:a,rects:i,middlewareData:f}=r,l=f.arrow?.centerOffset!==0,c=l?0:e.arrowWidth,m=l?0:e.arrowHeight,[g,M]=xN(a),v={start:"0%",center:"50%",end:"100%"}[M],y=(f.arrow?.x??0)+c/2,x=(f.arrow?.y??0)+m/2,_="",j="";if(g==="bottom")_=l?v:`${y}px`,j=`${-m}px`;else if(g==="top")_=l?v:`${y}px`,j=`${i.floating.height+m}px`;else if(g==="right")_=`${-m}px`,j=l?v:`${x}px`;else if(g==="left")_=`${i.floating.width+m}px`,j=l?v:`${x}px`;return{data:{x:_,y:j}}}}),"transformOrigin");function xN(e){let[r,a="center"]=e.split("-");return[r,a]}lm(xN,"getSideAndAlignFromPlacement");var cm=Gke,u8=Xke,d8=$ke,jT=r1e;S();S();S();var a1e=Object.defineProperty,q7=(e,r)=>a1e(e,"name",{value:r,configurable:!0}),U7=!1;function pne(){let[e,r]=u(U7);return h(()=>{if(!U7)U7=!0,r(!0)},[]),e}q7(pne,"useIsHydrated");var mne=V[" useSyncExternalStore ".trim().toString()];function hne(){return()=>{}}q7(hne,"subscribe");function gne(){return mne(hne,()=>!0,()=>!1)}q7(gne,"useIsHydratedModern");var Mne=typeof mne==="function"?gne:pne;var n1e=Object.defineProperty,Bz=(e,r)=>n1e(e,"name",{value:r,configurable:!0}),H7="rovingFocusGroup.onEntryFocus",i1e={bubbles:!1,cancelable:!0},bN="RovingFocusGroup",[V7,vne,f1e]=da(bN),[s1e,fa]=pt(bN,[f1e]),[l1e,c1e]=s1e(bN),u1e=O(Bz(function(r,a){return t(V7.Provider,{scope:r.__scopeRovingFocusGroup,children:t(V7.Slot,{scope:r.__scopeRovingFocusGroup,children:t(d1e,{...r,ref:a})})})},"RovingFocusGroup")),d1e=O(Bz(function(r,a){let{__scopeRovingFocusGroup:i,orientation:f,loop:s=!1,dir:l,currentTabStopId:c,defaultCurrentTabStopId:m,onCurrentTabStopIdChange:g,onEntryFocus:M,preventScrollOnEntryFocus:v=!1,...y}=r,x=b(null),_=_e(a,x),j=Hn(l),[U,T]=Ft({prop:c,defaultProp:m??null,onChange:g,caller:bN}),[N,G]=u(!1),X=Xo(M),J=vne(i),ee=b(!1),[re,oe]=u(0);return h(()=>{let ae=x.current;if(ae)return ae.addEventListener(H7,X),()=>ae.removeEventListener(H7,X)},[X]),t(l1e,{scope:i,orientation:f,dir:j,loop:s,currentTabStopId:U,onItemFocus:P((ae)=>T(ae),[T]),onItemShiftTab:P(()=>G(!0),[]),onFocusableItemAdd:P(()=>oe((ae)=>ae+1),[]),onFocusableItemRemove:P(()=>oe((ae)=>ae-1),[]),children:t(se.div,{tabIndex:N||re===0?-1:0,"data-orientation":f,...y,ref:_,style:{outline:"none",...r.style},onMouseDown:Y(r.onMouseDown,()=>{ee.current=!0}),onFocus:Y(r.onFocus,(ae)=>{let ye=!ee.current;if(ae.target===ae.currentTarget&&ye&&!N){let We=new CustomEvent(H7,i1e);if(ae.currentTarget.dispatchEvent(We),!We.defaultPrevented){let Ye=J().filter((xt)=>xt.focusable),ze=Ye.find((xt)=>xt.active),qe=Ye.find((xt)=>xt.id===U),$e=[ze,qe,...Ye].filter(Boolean).map((xt)=>xt.ref.current);W7($e,v)}}ee.current=!1}),onBlur:Y(r.onBlur,()=>G(!1))})})},"RovingFocusGroupImpl")),Z1e="RovingFocusGroupItem",p1e=O(Bz(function(r,a){let{__scopeRovingFocusGroup:i,focusable:f=!0,active:s=!1,tabStopId:l,children:c,...m}=r,g=xr(),M=l||g,v=c1e(Z1e,i),y=v.currentTabStopId===M,x=vne(i),{onFocusableItemAdd:_,onFocusableItemRemove:j,currentTabStopId:U}=v,T=Mne();return It(()=>{if(!T||!f)return;return _(),()=>j()},[T,f,_,j]),h(()=>{if(T||!f)return;return _(),()=>j()},[T,f,_,j]),t(V7.ItemSlot,{scope:i,id:M,focusable:f,active:s,children:t(se.span,{tabIndex:y?0:-1,"data-orientation":v.orientation,...m,ref:a,onMouseDown:Y(r.onMouseDown,(N)=>{if(!f)N.preventDefault();else v.onItemFocus(M)}),onFocus:Y(r.onFocus,()=>v.onItemFocus(M)),onKeyDown:Y(r.onKeyDown,(N)=>{if(N.key==="Tab"&&N.shiftKey){v.onItemShiftTab();return}if(N.target!==N.currentTarget)return;let G=yne(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?bne(J,ee+1):J.slice(ee+1)}setTimeout(()=>W7(J))}}),children:typeof c==="function"?c({isCurrentTabStop:y,hasTabStop:U!=null}):c})})},"RovingFocusGroupItem")),m1e={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function xne(e,r){if(r!=="rtl")return e;return e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}Bz(xne,"getDirectionAwareKey");function yne(e,r,a){let i=xne(e.key,a);if(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(i))return;if(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(i))return;return m1e[i]}Bz(yne,"getFocusIntent");function W7(e,r=!1){let a=document.activeElement;for(let i of e){if(i===a)return;if(i.focus({preventScroll:r}),document.activeElement!==a)return}}Bz(W7,"focusFirst");function bne(e,r){return e.map((a,i)=>e[(r+i)%e.length])}Bz(bne,"wrapArray");var fl=u1e,pl=p1e;var h1e=Object.defineProperty,Io=(e,r)=>h1e(e,"name",{value:r,configurable:!0}),G7=["Enter"," "],g1e=["ArrowDown","PageUp","Home"],zne=["ArrowUp","PageDown","End"],M1e=[...g1e,...zne],v1e={ltr:[...G7,"ArrowRight"],rtl:[...G7,"ArrowLeft"]},x1e={ltr:["ArrowLeft"],rtl:["ArrowRight"]},wN="Menu",[NT,y1e,b1e]=da(wN),[Yz,ml]=pt(wN,[b1e,mc,fa]),zN=mc(),Sne=fa(),[Lne,Z8]=Yz(wN),[_1e,FT]=Yz(wN),w1e=Io((e)=>{let{__scopeMenu:r,open:a=!1,children:i,dir:f,onOpenChange:s,modal:l=!0}=e,c=zN(r),[m,g]=u(null),M=b(!1),v=Xo(s),y=Hn(f);return h(()=>{let x=Io(()=>{M.current=!0,document.addEventListener("pointerdown",_,{capture:!0,once:!0}),document.addEventListener("pointermove",_,{capture:!0,once:!0})},"handleKeyDown"),_=Io(()=>M.current=!1,"handlePointer");return document.addEventListener("keydown",x,{capture:!0}),()=>{document.removeEventListener("keydown",x,{capture:!0}),document.removeEventListener("pointerdown",_,{capture:!0}),document.removeEventListener("pointermove",_,{capture:!0})}},[]),h(()=>{if(!a)return;let x=Io(()=>v(!1),"handleBlur");return window.addEventListener("blur",x),()=>window.removeEventListener("blur",x)},[a,v]),t(cm,{...c,children:t(Lne,{scope:r,open:a,onOpenChange:v,content:m,onContentChange:g,children:t(_1e,{scope:r,onClose:P(()=>v(!1),[v]),isUsingKeyboardRef:M,dir:y,modal:l,children:i})})})},"Menu"),kne=O(Io(function(r,a){let{__scopeMenu:i,...f}=r,s=zN(i);return t(u8,{...s,...f,ref:a})},"MenuAnchor")),Cne="MenuPortal",[z1e,Ine]=Yz(Cne,{forceMount:void 0}),S1e=Io((e)=>{let{__scopeMenu:r,forceMount:a,children:i,container:f}=e,s=Z8(Cne,r);return t(z1e,{scope:r,forceMount:a,children:t(ir,{present:a||s.open,children:t(iZ,{asChild:!0,container:f,children:i})})})},"MenuPortal"),uu="MenuContent",[L1e,X7]=Yz(uu),k1e=O(Io(function(r,a){let i=Ine(uu,r.__scopeMenu),{forceMount:f=i.forceMount,...s}=r,l=Z8(uu,r.__scopeMenu),c=FT(uu,r.__scopeMenu);return t(NT.Provider,{scope:r.__scopeMenu,children:t(ir,{present:f||l.open,children:t(NT.Slot,{scope:r.__scopeMenu,children:c.modal?t(C1e,{...s,ref:a}):t(I1e,{...s,ref:a})})})})},"MenuContent")),C1e=O(Io(function(r,a){let i=Z8(uu,r.__scopeMenu),f=b(null),s=_e(a,f);return h(()=>{let l=f.current;if(l)return l8(l)},[]),t(Q7,{...r,ref:s,trapFocus:i.open,disableOutsidePointerEvents:i.open,disableOutsideScroll:!0,onFocusOutside:Y(r.onFocusOutside,(l)=>l.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>i.onOpenChange(!1)})},"MenuRootContentModal")),I1e=O(Io(function(r,a){let i=Z8(uu,r.__scopeMenu);return t(Q7,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>i.onOpenChange(!1)})},"MenuRootContentNonModal")),R1e=zi("MenuContent.ScrollLock"),Q7=O(Io(function(r,a){let{__scopeMenu:i,loop:f=!1,trapFocus:s,onOpenAutoFocus:l,onCloseAutoFocus:c,disableOutsidePointerEvents:m,onEntryFocus:g,onEscapeKeyDown:M,onPointerDownOutside:v,onFocusOutside:y,onInteractOutside:x,onDismiss:_,disableOutsideScroll:j,...U}=r,T=Z8(uu,i),N=FT(uu,i),G=zN(i),X=Sne(i),J=y1e(i),[ee,re]=u(null),oe=b(null),ae=_e(a,oe,T.onContentChange),ye=b(0),We=b(""),Ye=b(0),ze=b(null),qe=b("right"),ut=b(0),$e=j?$Z:Cn,xt=j?{as:R1e,allowPinchZoom:!0}:void 0,Dt=Io((de)=>{let yt=We.current+de,Wt=J().filter((Gt)=>!Gt.disabled),De=document.activeElement,fr=Wt.find((Gt)=>Gt.ref.current===De)?.textValue,sr=Wt.map((Gt)=>Gt.textValue),rr=jne(sr,yt,fr),Or=Wt.find((Gt)=>Gt.textValue===rr)?.ref.current;if(Io(function Gt(Kt){if(We.current=Kt,window.clearTimeout(ye.current),Kt!=="")ye.current=window.setTimeout(()=>Gt(""),1000)},"updateSearch")(yt),Or)setTimeout(()=>Or.focus())},"handleTypeaheadSearch");h(()=>()=>window.clearTimeout(ye.current),[]),fZ();let jt=P((de)=>qe.current===ze.current?.side&&Fne(de,ze.current?.area),[]);return t(L1e,{scope:i,searchRef:We,onItemEnter:P((de)=>{if(jt(de))de.preventDefault()},[jt]),onItemLeave:P((de)=>{if(jt(de))return;oe.current?.focus(),re(null)},[jt]),onTriggerLeave:P((de)=>{if(jt(de))de.preventDefault()},[jt]),pointerGraceTimerRef:Ye,onPointerGraceIntentChange:P((de)=>{ze.current=de},[]),children:t($e,{...xt,children:t(s8,{asChild:!0,trapped:s,onMountAutoFocus:Y(l,(de)=>{de.preventDefault(),oe.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:t(nZ,{asChild:!0,disableOutsidePointerEvents:m,onEscapeKeyDown:M,onPointerDownOutside:v,onFocusOutside:y,onInteractOutside:x,onDismiss:_,children:t(fl,{asChild:!0,...X,dir:N.dir,orientation:"vertical",loop:f,currentTabStopId:ee,onCurrentTabStopIdChange:re,onEntryFocus:Y(g,(de)=>{if(!N.isUsingKeyboardRef.current)de.preventDefault()}),preventScrollOnEntryFocus:!0,children:t(d8,{role:"menu","aria-orientation":"vertical","data-state":J7(T.open),"data-radix-menu-content":"",dir:N.dir,...G,...U,ref:ae,style:{outline:"none",...U.style},onKeyDown:Y(U.onKeyDown,(de)=>{let Wt=de.target.closest("[data-radix-menu-content]")===de.currentTarget,De=de.ctrlKey||de.altKey||de.metaKey,fr=de.key.length===1;if(Wt){if(de.key==="Tab")de.preventDefault();if(!De&&fr)Dt(de.key)}let sr=oe.current;if(de.target!==sr)return;if(!M1e.includes(de.key))return;de.preventDefault();let Or=J().filter((Gt)=>!Gt.disabled).map((Gt)=>Gt.ref.current);if(zne.includes(de.key))Or.reverse();Ene(Or)}),onBlur:Y(r.onBlur,(de)=>{if(!de.currentTarget.contains(de.target))window.clearTimeout(ye.current),We.current=""}),onPointerMove:Y(r.onPointerMove,LI((de)=>{let yt=de.target,Wt=ut.current!==de.clientX;if(de.currentTarget.contains(yt)&&Wt){let De=de.clientX>ut.current?"right":"left";qe.current=De,ut.current=de.clientX}}))})})})})})})},"MenuContentImpl")),P1e=O(Io(function(r,a){let{__scopeMenu:i,...f}=r;return t(se.div,{role:"group",...f,ref:a})},"MenuGroup")),T1e=O(Io(function(r,a){let{__scopeMenu:i,...f}=r;return t(se.div,{...f,ref:a})},"MenuLabel")),K7="MenuItem",wne="menu.itemSelect",Rne=O(Io(function(r,a){let{disabled:i=!1,onSelect:f,...s}=r,l=b(null),c=FT(K7,r.__scopeMenu),m=X7(K7,r.__scopeMenu),g=_e(a,l),M=b(!1),v=Io(()=>{let y=l.current;if(!i&&y){let x=new CustomEvent(wne,{bubbles:!0,cancelable:!0});if(y.addEventListener(wne,(_)=>f?.(_),{once:!0}),LT(y,x),x.defaultPrevented)M.current=!1;else c.onClose()}},"handleSelect");return t(Pne,{...s,ref:g,disabled:i,onClick:Y(r.onClick,v),onPointerDown:(y)=>{r.onPointerDown?.(y),M.current=!0},onPointerUp:Y(r.onPointerUp,(y)=>{if(!M.current)y.currentTarget?.click()}),onKeyDown:Y(r.onKeyDown,(y)=>{if(i||y.target!==y.currentTarget)return;if(m.searchRef.current!==""&&y.key===" ")return;if(G7.includes(y.key))y.currentTarget.click(),y.preventDefault()})})},"MenuItem")),Pne=O(Io(function(r,a){let{__scopeMenu:i,disabled:f=!1,textValue:s,...l}=r,c=X7(K7,i),m=Sne(i),g=b(null),M=_e(a,g),[v,y]=u(!1),[x,_]=u("");return h(()=>{let j=g.current;if(j)_((j.textContent??"").trim())},[l.children]),t(NT.ItemSlot,{scope:i,disabled:f,textValue:s??x,children:t(pl,{asChild:!0,...m,focusable:!f,children:t(se.div,{role:"menuitem","data-highlighted":v?"":void 0,"aria-disabled":f||void 0,"data-disabled":f?"":void 0,...l,ref:M,onPointerMove:Y(r.onPointerMove,LI((j)=>{if(f)c.onItemLeave(j);else if(c.onItemEnter(j),!j.defaultPrevented)j.currentTarget.focus({preventScroll:!0})})),onPointerLeave:Y(r.onPointerLeave,LI((j)=>c.onItemLeave(j))),onFocus:Y(r.onFocus,()=>y(!0)),onBlur:Y(r.onBlur,()=>y(!1))})})})},"MenuItemImpl"));var A1e="MenuRadioGroup",[D1e,E1e]=Yz(A1e,{value:void 0,onValueChange:Io(()=>{},"onValueChange")}),O1e=O(Io(function(r,a){let{value:i,onValueChange:f,...s}=r,l=Xo(f);return t(D1e,{scope:r.__scopeMenu,value:i,onValueChange:l,children:t(P1e,{...s,ref:a})})},"MenuRadioGroup")),j1e="MenuRadioItem",N1e=O(Io(function(r,a){let{value:i,...f}=r,s=E1e(j1e,r.__scopeMenu),l=i===s.value;return t(F1e,{scope:r.__scopeMenu,checked:l,children:t(Rne,{role:"menuitemradio","aria-checked":l,...f,ref:a,"data-state":eU(l),onSelect:Y(f.onSelect,()=>s.onValueChange?.(i),{checkForDefaultPrevented:!1})})})},"MenuRadioItem")),Tne="MenuItemIndicator",[F1e,B1e]=Yz(Tne,{checked:!1}),Y1e=O(Io(function(r,a){let{__scopeMenu:i,forceMount:f,...s}=r,l=B1e(Tne,i);return t(ir,{present:f||$7(l.checked)||l.checked===!0,children:t(se.span,{...s,ref:a,"data-state":eU(l.checked)})})},"MenuItemIndicator")),U1e=O(Io(function(r,a){let{__scopeMenu:i,...f}=r;return t(se.div,{role:"separator","aria-orientation":"horizontal",...f,ref:a})},"MenuSeparator"));var Ane="MenuSub",[q1e,Dne]=Yz(Ane),H1e=Io((e)=>{let{__scopeMenu:r,children:a,open:i=!1,onOpenChange:f}=e,s=Z8(Ane,r),l=zN(r),[c,m]=u(null),[g,M]=u(null),v=Xo(f);return h(()=>{if(s.open===!1)v(!1);return()=>v(!1)},[s.open,v]),t(cm,{...l,children:t(Lne,{scope:r,open:i,onOpenChange:v,content:g,onContentChange:M,children:t(q1e,{scope:r,contentId:xr(),triggerId:xr(),trigger:c,onTriggerChange:m,children:a})})})},"MenuSub"),_N="MenuSubTrigger",V1e=O(Io(function(r,a){let i=Z8(_N,r.__scopeMenu),f=FT(_N,r.__scopeMenu),s=Dne(_N,r.__scopeMenu),l=X7(_N,r.__scopeMenu),c=b(null),{pointerGraceTimerRef:m,onPointerGraceIntentChange:g}=l,M={__scopeMenu:r.__scopeMenu},v=P(()=>{if(c.current)window.clearTimeout(c.current);c.current=null},[]);h(()=>v,[v]),h(()=>{let x=m.current;return()=>{window.clearTimeout(x),g(null)}},[m,g]);let y=_e(a,s.onTriggerChange);return t(kne,{asChild:!0,...M,children:t(Pne,{id:s.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?s.contentId:void 0,"data-state":J7(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,LI((x)=>{if(l.onItemEnter(x),x.defaultPrevented)return;if(!r.disabled&&!i.open&&!c.current)l.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{i.onOpenChange(!0),v()},100)})),onPointerLeave:Y(r.onPointerLeave,LI((x)=>{v();let _=i.content?.getBoundingClientRect();if(_){let j=i.content?.dataset.side,U=j==="right",T=U?-5:5,N=_[U?"left":"right"],G=_[U?"right":"left"];l.onPointerGraceIntentChange({area:[{x:x.clientX+T,y:x.clientY},{x:N,y:_.top},{x:G,y:_.top},{x:G,y:_.bottom},{x:N,y:_.bottom}],side:j}),window.clearTimeout(m.current),m.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(x),x.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:Y(r.onKeyDown,(x)=>{if(r.disabled||x.target!==x.currentTarget)return;if(l.searchRef.current!==""&&x.key===" ")return;if(v1e[f.dir].includes(x.key))i.onOpenChange(!0),i.content?.focus(),x.preventDefault()})})})},"MenuSubTrigger")),W1e="MenuSubContent",G1e=O(Io(function(r,a){let i=Ine(uu,r.__scopeMenu),{forceMount:f=i.forceMount,align:s="start",...l}=r,c=Z8(uu,r.__scopeMenu),m=FT(uu,r.__scopeMenu),g=Dne(W1e,r.__scopeMenu),M=b(null),v=_e(a,M);return t(NT.Provider,{scope:r.__scopeMenu,children:t(ir,{present:f||c.open,children:t(NT.Slot,{scope:r.__scopeMenu,children:t(Q7,{id:g.contentId,"aria-labelledby":g.triggerId,...l,ref:v,align:s,side:m.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:(y)=>{if(m.isUsingKeyboardRef.current)M.current?.focus();y.preventDefault()},onCloseAutoFocus:(y)=>y.preventDefault(),onFocusOutside:Y(r.onFocusOutside,(y)=>{if(y.target!==g.trigger)c.onOpenChange(!1)}),onEscapeKeyDown:Y(r.onEscapeKeyDown,(y)=>{m.onClose(),y.preventDefault()}),onKeyDown:Y(r.onKeyDown,(y)=>{let x=y.currentTarget.contains(y.target),_=x1e[m.dir].includes(y.key);if(x&&_)c.onOpenChange(!1),g.trigger?.focus(),y.preventDefault()})})})})})},"MenuSubContent"));function J7(e){return e?"open":"closed"}Io(J7,"getOpenState");function $7(e){return e==="indeterminate"}Io($7,"isIndeterminate");function eU(e){return $7(e)?"indeterminate":e?"checked":"unchecked"}Io(eU,"getCheckedState");function Ene(e){let r=document.activeElement;for(let a of e){if(a===r)return;if(a.focus(),document.activeElement!==r)return}}Io(Ene,"focusFirst");function One(e,r){return e.map((a,i)=>e[(r+i)%e.length])}Io(One,"wrapArray");function jne(e,r,a){let f=r.length>1&&Array.from(r).every((g)=>g===r[0])?r[0]:r,s=a?e.indexOf(a):-1,l=One(e,Math.max(s,0));if(f.length===1)l=l.filter((g)=>g!==a);let m=l.find((g)=>g.toLowerCase().startsWith(f.toLowerCase()));return m!==a?m:void 0}Io(jne,"getNextMatch");function Nne(e,r){let{x:a,y:i}=e,f=!1;for(let s=0,l=r.length-1;s<r.length;l=s++){let c=r[s],m=r[l],{x:g,y:M}=c,{x:v,y}=m;if(M>i!==y>i&&a<(v-g)*(i-M)/(y-M)+g)f=!f}return f}Io(Nne,"isPointInPolygon");function Fne(e,r){if(!r)return!1;let a={x:e.clientX,y:e.clientY};return Nne(a,r)}Io(Fne,"isPointerInGraceArea");function LI(e){return(r)=>r.pointerType==="mouse"?e(r):void 0}Io(LI,"whenMouse");var Vu=w1e,Qu=kne,Ku=S1e,Wu=k1e;var Bne=T1e,Yu=Rne;var Yne=O1e,Une=N1e,qne=Y1e,Ju=U1e;var Xu=H1e,ed=V1e,td=G1e;S();var X1e=Object.defineProperty,ql=(e,r)=>X1e(e,"name",{value:r,configurable:!0}),tU="DropdownMenu",[Q1e,QWo]=pt(tU,[ml]),Hl=ml(),[J1e,Hne]=Q1e(tU),$1e=ql((e)=>{let{__scopeDropdownMenu:r,children:a,dir:i,open:f,defaultOpen:s,onOpenChange:l,modal:c=!0}=e,m=Hl(r),g=b(null),[M,v]=Ft({prop:f,defaultProp:s??!1,onChange:l,caller:tU});return t(J1e,{scope:r,triggerId:xr(),triggerRef:g,contentId:xr(),open:M,onOpenChange:v,onOpenToggle:P(()=>v((y)=>!y),[v]),modal:c,children:t(Vu,{...m,open:M,onOpenChange:v,dir:i,modal:c,children:a})})},"DropdownMenu"),eCe="DropdownMenuTrigger",tCe=O(ql(function(r,a){let{__scopeDropdownMenu:i,disabled:f=!1,...s}=r,l=Hne(eCe,i),c=Hl(i),m=_e(a,l.triggerRef);return t(Qu,{asChild:!0,...c,children:t(se.button,{type:"button",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":l.open?"open":"closed","data-disabled":f?"":void 0,disabled:f,...s,ref:m,onPointerDown:Y(r.onPointerDown,(g)=>{if(!f&&g.button===0&&g.ctrlKey===!1){if(l.onOpenToggle(),!l.open)g.preventDefault()}}),onKeyDown:Y(r.onKeyDown,(g)=>{if(f)return;if(["Enter"," "].includes(g.key))l.onOpenToggle();if(g.key==="ArrowDown")l.onOpenChange(!0);if(["Enter"," ","ArrowDown"].includes(g.key))g.preventDefault()})})})},"DropdownMenuTrigger")),rCe=ql((e)=>{let{__scopeDropdownMenu:r,...a}=e,i=Hl(r);return t(Ku,{...i,...a})},"DropdownMenuPortal"),oCe="DropdownMenuContent",aCe=O(ql(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Hne(oCe,i),l=Hl(i),c=b(!1);return t(Wu,{id:s.contentId,"aria-labelledby":s.triggerId,...l,...f,ref:a,onCloseAutoFocus:Y(r.onCloseAutoFocus,(m)=>{if(!c.current)s.triggerRef.current?.focus();c.current=!1,m.preventDefault()}),onInteractOutside:Y(r.onInteractOutside,(m)=>{let g=m.detail.originalEvent,M=g.button===0&&g.ctrlKey===!0,v=g.button===2||M;if(!s.modal||v)c.current=!0}),style:{...r.style,...{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}})},"DropdownMenuContent"));var nCe=O(ql(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Hl(i);return t(Bne,{...s,...f,ref:a})},"DropdownMenuLabel")),iCe=O(ql(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Hl(i);return t(Yu,{...s,...f,ref:a})},"DropdownMenuItem"));var fCe=O(ql(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Hl(i);return t(Yne,{...s,...f,ref:a})},"DropdownMenuRadioGroup")),sCe=O(ql(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Hl(i);return t(Une,{...s,...f,ref:a})},"DropdownMenuRadioItem")),lCe=O(ql(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Hl(i);return t(qne,{...s,...f,ref:a})},"DropdownMenuItemIndicator")),cCe=O(ql(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Hl(i);return t(Ju,{...s,...f,ref:a})},"DropdownMenuSeparator"));var uCe=ql((e)=>{let{__scopeDropdownMenu:r,children:a,open:i,onOpenChange:f,defaultOpen:s}=e,l=Hl(r),[c,m]=Ft({prop:i,defaultProp:s??!1,onChange:f,caller:"DropdownMenuSub"});return t(Xu,{...l,open:c,onOpenChange:m,children:a})},"DropdownMenuSub"),dCe=O(ql(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Hl(i);return t(ed,{...s,...f,ref:a})},"DropdownMenuSubTrigger")),ZCe=O(ql(function(r,a){let{__scopeDropdownMenu:i,...f}=r,s=Hl(i);return t(td,{...s,...f,ref:a,style:{...r.style,...{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}})},"DropdownMenuSubContent")),pCe=$1e,mCe=tCe,Vne=rCe,hCe=aCe;var gCe=nCe,MCe=iCe;var vCe=fCe,xCe=sCe,yCe=lCe,bCe=cCe;var _Ce=uCe,wCe=dCe,zCe=ZCe;S();var SCe=Object.defineProperty,LCe=(e,r)=>SCe(e,"name",{value:r,configurable:!0}),kCe=O(LCe(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")),CCe=kCe;S();var ICe=Object.defineProperty,p8=(e,r)=>ICe(e,"name",{value:r,configurable:!0}),rU="Popover",[Kne,hGo]=pt(rU,[mc]),oU=mc(),[RCe,RI]=Kne(rU),PCe=p8((e)=>{let{__scopePopover:r,children:a,open:i,defaultOpen:f,onOpenChange:s,modal:l=!1}=e,c=oU(r),m=b(null),[g,M]=u(!1),[v,y]=Ft({prop:i,defaultProp:f??!1,onChange:s,caller:rU});return t(cm,{...c,children:t(RCe,{scope:r,contentId:xr(),triggerRef:m,open:v,onOpenChange:y,onOpenToggle:P(()=>y((x)=>!x),[y]),hasCustomAnchor:g,onCustomAnchorAdd:P(()=>M(!0),[]),onCustomAnchorRemove:P(()=>M(!1),[]),modal:l,children:a})})},"Popover");var TCe="PopoverTrigger",ACe=O(p8(function(r,a){let{__scopePopover:i,...f}=r,s=RI(TCe,i),l=oU(i),c=_e(a,s.triggerRef),m=t(se.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":aU(s.open),...f,ref:c,onClick:Y(r.onClick,s.onOpenToggle)});return s.hasCustomAnchor?m:t(u8,{asChild:!0,...l,children:m})},"PopoverTrigger")),Xne="PopoverPortal",[DCe,ECe]=Kne(Xne,{forceMount:void 0}),OCe=p8((e)=>{let{__scopePopover:r,forceMount:a,children:i,container:f}=e,s=RI(Xne,r);return t(DCe,{scope:r,forceMount:a,children:t(ir,{present:a||s.open,children:t(iZ,{asChild:!0,container:f,children:i})})})},"PopoverPortal"),BT="PopoverContent",jCe=O(p8(function(r,a){let i=ECe(BT,r.__scopePopover),{forceMount:f=i.forceMount,...s}=r,l=RI(BT,r.__scopePopover);return t(ir,{present:f||l.open,children:l.modal?t(FCe,{...s,ref:a}):t(BCe,{...s,ref:a})})},"PopoverContent")),NCe=zi("PopoverContent.RemoveScroll"),FCe=O(p8(function(r,a){let i=RI(BT,r.__scopePopover),f=b(null),s=_e(a,f),l=b(!1);return h(()=>{let c=f.current;if(c)return l8(c)},[]),t($Z,{as:NCe,allowPinchZoom:!0,children:t(Qne,{...r,ref:s,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Y(r.onCloseAutoFocus,(c)=>{if(c.preventDefault(),!l.current)i.triggerRef.current?.focus()}),onPointerDownOutside:Y(r.onPointerDownOutside,(c)=>{let m=c.detail.originalEvent,g=m.button===0&&m.ctrlKey===!0,M=m.button===2||g;l.current=M},{checkForDefaultPrevented:!1}),onFocusOutside:Y(r.onFocusOutside,(c)=>c.preventDefault(),{checkForDefaultPrevented:!1})})})},"PopoverContentModal")),BCe=O(p8(function(r,a){let i=RI(BT,r.__scopePopover),f=b(!1),s=b(!1);return t(Qne,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:(l)=>{if(r.onCloseAutoFocus?.(l),!l.defaultPrevented){if(!f.current)i.triggerRef.current?.focus();l.preventDefault()}f.current=!1,s.current=!1},onInteractOutside:(l)=>{if(r.onInteractOutside?.(l),!l.defaultPrevented){if(f.current=!0,l.detail.originalEvent.type==="pointerdown")s.current=!0}let c=l.target;if(i.triggerRef.current?.contains(c))l.preventDefault();if(l.detail.originalEvent.type==="focusin"&&s.current)l.preventDefault()}})},"PopoverContentNonModal")),Qne=O(p8(function(r,a){let{__scopePopover:i,trapFocus:f,onOpenAutoFocus:s,onCloseAutoFocus:l,disableOutsidePointerEvents:c,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:M,onInteractOutside:v,...y}=r,x=RI(BT,i),_=oU(i);return fZ(),t(s8,{asChild:!0,loop:!0,trapped:f,onMountAutoFocus:s,onUnmountAutoFocus:l,children:t(nZ,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:v,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:M,onDismiss:()=>x.onOpenChange(!1),deferPointerDownOutside:!0,children:t(d8,{"data-state":aU(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 aU(e){return e?"open":"closed"}p8(aU,"getState");var YCe=PCe;var UCe=ACe,qCe=OCe,HCe=jCe;S();var VCe=Object.defineProperty,um=(e,r)=>VCe(e,"name",{value:r,configurable:!0}),$ne="Progress",fU=100,[WCe,xGo]=pt($ne),[GCe,KCe]=WCe($ne),XCe=O(um(function(r,a){let{__scopeProgress:i,value:f=null,max:s,getValueLabel:l=eie,...c}=r;if((s||s===0)&&!nU(s))console.error(tie(`${s}`,"Progress"));let m=nU(s)?s:fU;if(f!==null&&!iU(f,m))console.error(rie(`${f}`,"Progress"));let g=iU(f,m)?f:null,M=YT(g)?l(g,m):void 0;return t(GCe,{scope:i,value:g,max:m,children:t(se.div,{"aria-valuemax":m,"aria-valuemin":0,"aria-valuenow":YT(g)?g:void 0,"aria-valuetext":M,role:"progressbar","data-state":sU(g,m),"data-value":g??void 0,"data-max":m,...c,ref:a})})},"Progress")),QCe="ProgressIndicator",JCe=O(um(function(r,a){let{__scopeProgress:i,...f}=r,s=KCe(QCe,i);return t(se.div,{"data-state":sU(s.value,s.max),"data-value":s.value??void 0,"data-max":s.max,...f,ref:a})},"ProgressIndicator"));function eie(e,r){return`${Math.round(e/r*100)}%`}um(eie,"defaultGetValueLabel");function sU(e,r){return e==null?"indeterminate":e===r?"complete":"loading"}um(sU,"getProgressState");function YT(e){return typeof e==="number"}um(YT,"isNumber");function nU(e){return YT(e)&&!isNaN(e)&&e>0}um(nU,"isValidMaxNumber");function iU(e,r){return YT(e)&&!isNaN(e)&&e<=r&&e>=0}um(iU,"isValidValueNumber");function tie(e,r){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${r}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${fU}\`.`}um(tie,"getInvalidMaxError");function rie(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 ${fU} if no \`max\` prop is set)
|
|
58
|
-
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
59
|
-
|
|
60
|
-
Defaulting to \`null\`.`}um(rie,"getInvalidValueError");var $Ce=XCe,eIe=JCe;S();var tIe=Object.defineProperty,rIe=(e,r)=>tIe(e,"name",{value:r,configurable:!0});function pa(e,[r,a]){return Math.min(a,Math.max(r,e))}rIe(pa,"clamp");S();var oIe=Object.defineProperty,yo=(e,r)=>oIe(e,"name",{value:r,configurable:!0});function aie(e,r){return en((a,i)=>r[a][i]??a,e)}yo(aie,"useStateMachine");var nie="ScrollArea",[iie,PGo]=pt(nie),[aIe,hc]=iie(nie),nIe=O(yo(function(r,a){let{__scopeScrollArea:i,type:f="hover",dir:s,scrollHideDelay:l=600,...c}=r,[m,g]=u(null),[M,v]=u(null),[y,x]=u(null),[_,j]=u(null),[U,T]=u(null),[N,G]=u(0),[X,J]=u(0),[ee,re]=u(!1),[oe,ae]=u(!1),ye=_e(a,g),We=Hn(s);return t(aIe,{scope:i,type:f,dir:We,scrollHideDelay:l,scrollArea:m,viewport:M,onViewportChange:v,content:y,onContentChange:x,scrollbarX:_,onScrollbarXChange:j,scrollbarXEnabled:ee,onScrollbarXEnabledChange:re,scrollbarY:U,onScrollbarYChange:T,scrollbarYEnabled:oe,onScrollbarYEnabledChange:ae,onCornerWidthChange:G,onCornerHeightChange:J,children:t(se.div,{dir:We,...c,ref:ye,style:{position:"relative","--radix-scroll-area-corner-width":N+"px","--radix-scroll-area-corner-height":X+"px",...r.style}})})},"ScrollArea")),iIe="ScrollAreaViewport",fIe=O(yo(function(r,a){let{__scopeScrollArea:i,children:f,nonce:s,...l}=r,c=hc(iIe,i),m=b(null),g=_e(a,m,c.onViewportChange);return o(L,{children:[t(sIe,{nonce:s}),t(se.div,{"data-radix-scroll-area-viewport":"",...l,ref:g,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...r.style},children:t("div",{ref:c.onContentChange,style:{minWidth:"100%",display:"table"},children:f})})]})},"ScrollAreaViewport")),sIe=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),dm="ScrollAreaScrollbar",lIe=O(yo(function(r,a){let{forceMount:i,...f}=r,s=hc(dm,r.__scopeScrollArea),{onScrollbarXEnabledChange:l,onScrollbarYEnabledChange:c}=s,m=r.orientation==="horizontal";return h(()=>(m?l(!0):c(!0),()=>{m?l(!1):c(!1)}),[m,l,c]),s.type==="hover"?t(cIe,{...f,ref:a,forceMount:i}):s.type==="scroll"?t(uIe,{...f,ref:a,forceMount:i}):s.type==="auto"?t(fie,{...f,ref:a,forceMount:i}):s.type==="always"?t(uU,{...f,ref:a,"data-state":"visible"}):null},"ScrollAreaScrollbar")),cIe=O(yo(function(r,a){let{forceMount:i,...f}=r,s=hc(dm,r.__scopeScrollArea),[l,c]=u(!1);return h(()=>{let m=s.scrollArea,g=0;if(m){let M=yo(()=>{window.clearTimeout(g),c(!0)},"handlePointerEnter"),v=yo(()=>{g=window.setTimeout(()=>c(!1),s.scrollHideDelay)},"handlePointerLeave");return m.addEventListener("pointerenter",M),m.addEventListener("pointerleave",v),()=>{window.clearTimeout(g),m.removeEventListener("pointerenter",M),m.removeEventListener("pointerleave",v)}}},[s.scrollArea,s.scrollHideDelay]),t(ir,{present:i||l,children:t(fie,{"data-state":l?"visible":"hidden",...f,ref:a})})},"ScrollAreaScrollbarHover")),uIe=O(yo(function(r,a){let{forceMount:i,...f}=r,s=hc(dm,r.__scopeScrollArea),l=r.orientation==="horizontal",c=HT(()=>g("SCROLL_END"),100),[m,g]=aie("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return h(()=>{if(m==="idle"){let M=window.setTimeout(()=>g("HIDE"),s.scrollHideDelay);return()=>window.clearTimeout(M)}},[m,s.scrollHideDelay,g]),h(()=>{let M=s.viewport,v=l?"scrollLeft":"scrollTop";if(M){let y=M[v],x=yo(()=>{let _=M[v];if(y!==_)g("SCROLL"),c();y=_},"handleScroll");return M.addEventListener("scroll",x),()=>M.removeEventListener("scroll",x)}},[s.viewport,l,g,c]),t(ir,{present:i||m!=="hidden",children:t(uU,{"data-state":m==="hidden"?"hidden":"visible",...f,ref:a,onPointerEnter:Y(r.onPointerEnter,()=>g("POINTER_ENTER")),onPointerLeave:Y(r.onPointerLeave,()=>g("POINTER_LEAVE"))})})},"ScrollAreaScrollbarScroll")),fie=O(yo(function(r,a){let i=hc(dm,r.__scopeScrollArea),{forceMount:f,...s}=r,[l,c]=u(!1),m=r.orientation==="horizontal",g=HT(()=>{if(i.viewport){let M=i.viewport.offsetWidth<i.viewport.scrollWidth,v=i.viewport.offsetHeight<i.viewport.scrollHeight;c(m?M:v)}},10);return Uz(i.viewport,g),Uz(i.content,g),t(ir,{present:f||l,children:t(uU,{"data-state":l?"visible":"hidden",...s,ref:a})})},"ScrollAreaScrollbarAuto")),uU=O(yo(function(r,a){let{orientation:i="vertical",...f}=r,s=hc(dm,r.__scopeScrollArea),l=b(null),c=b(0),[m,g]=u({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),M=dU(m.viewport,m.content),v={...f,sizes:m,onSizesChange:g,hasThumb:Boolean(M>0&&M<1),onThumbChange:yo((x)=>l.current=x,"onThumbChange"),onThumbPointerUp:yo(()=>c.current=0,"onThumbPointerUp"),onThumbPointerDown:yo((x)=>c.current=x,"onThumbPointerDown")};function y(x,_){return uie(x,c.current,m,_)}if(yo(y,"getScrollPosition"),i==="horizontal")return t(dIe,{...v,ref:a,onThumbPositionChange:()=>{if(s.viewport&&l.current){let x=s.viewport.scrollLeft,_=cU(x,m,s.dir);l.current.style.transform=`translate3d(${_}px, 0, 0)`}},onWheelScroll:(x)=>{if(s.viewport)s.viewport.scrollLeft=x},onDragScroll:(x)=>{if(s.viewport)s.viewport.scrollLeft=y(x,s.dir)}});if(i==="vertical")return t(ZIe,{...v,ref:a,onThumbPositionChange:()=>{if(s.viewport&&l.current){let x=s.viewport.scrollTop,_=cU(x,m);l.current.style.transform=`translate3d(0, ${_}px, 0)`}},onWheelScroll:(x)=>{if(s.viewport)s.viewport.scrollTop=x},onDragScroll:(x)=>{if(s.viewport)s.viewport.scrollTop=y(x)}});return null},"ScrollAreaScrollbarVisible")),dIe=O(yo(function(r,a){let{sizes:i,onSizesChange:f,...s}=r,l=hc(dm,r.__scopeScrollArea),[c,m]=u(),g=b(null),M=_e(a,g,l.onScrollbarXChange);return h(()=>{if(g.current)m(getComputedStyle(g.current))},[g]),t(lie,{"data-orientation":"horizontal",...s,ref:M,sizes:i,style:{bottom:0,left:l.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:l.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":qT(i)+"px",...r.style},onThumbPointerDown:(v)=>r.onThumbPointerDown(v.x),onDragScroll:(v)=>r.onDragScroll(v.x),onWheelScroll:(v,y)=>{if(l.viewport){let x=l.viewport.scrollLeft+v.deltaX;if(r.onWheelScroll(x),pU(x,y))v.preventDefault()}},onResize:()=>{if(g.current&&l.viewport&&c)f({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:g.current.clientWidth,paddingStart:UT(c.paddingLeft),paddingEnd:UT(c.paddingRight)}})}})},"ScrollAreaScrollbarX")),ZIe=O(yo(function(r,a){let{sizes:i,onSizesChange:f,...s}=r,l=hc(dm,r.__scopeScrollArea),[c,m]=u(),g=b(null),M=_e(a,g,l.onScrollbarYChange);return h(()=>{if(g.current)m(getComputedStyle(g.current))},[g]),t(lie,{"data-orientation":"vertical",...s,ref:M,sizes:i,style:{top:0,right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":qT(i)+"px",...r.style},onThumbPointerDown:(v)=>r.onThumbPointerDown(v.y),onDragScroll:(v)=>r.onDragScroll(v.y),onWheelScroll:(v,y)=>{if(l.viewport){let x=l.viewport.scrollTop+v.deltaY;if(r.onWheelScroll(x),pU(x,y))v.preventDefault()}},onResize:()=>{if(g.current&&l.viewport&&c)f({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:g.current.clientHeight,paddingStart:UT(c.paddingTop),paddingEnd:UT(c.paddingBottom)}})}})},"ScrollAreaScrollbarY")),[pIe,sie]=iie(dm),lie=O(yo(function(r,a){let{__scopeScrollArea:i,sizes:f,hasThumb:s,onThumbChange:l,onThumbPointerUp:c,onThumbPointerDown:m,onThumbPositionChange:g,onDragScroll:M,onWheelScroll:v,onResize:y,...x}=r,_=hc(dm,i),[j,U]=u(null),T=_e(a,U),N=b(null),G=b(""),X=_.viewport,J=f.content-f.viewport,ee=Xo(v),re=Xo(g),oe=HT(y,10);function ae(ye){if(N.current){let We=ye.clientX-N.current.left,Ye=ye.clientY-N.current.top;M({x:We,y:Ye})}}return yo(ae,"handleDragScroll"),h(()=>{let ye=yo((We)=>{let Ye=We.target;if(j?.contains(Ye))ee(We,J)},"handleWheel");return document.addEventListener("wheel",ye,{passive:!1}),()=>document.removeEventListener("wheel",ye,{passive:!1})},[X,j,J,ee]),h(re,[f,re]),Uz(j,oe),Uz(_.content,oe),t(pIe,{scope:i,scrollbar:j,hasThumb:s,onThumbChange:Xo(l),onThumbPointerUp:Xo(c),onThumbPositionChange:re,onThumbPointerDown:Xo(m),children:t(se.div,{...x,ref:T,style:{position:"absolute",...x.style},onPointerDown:Y(r.onPointerDown,(ye)=>{if(ye.button===0){if(ye.target.setPointerCapture(ye.pointerId),N.current=j.getBoundingClientRect(),G.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",_.viewport)_.viewport.style.scrollBehavior="auto";ae(ye)}}),onPointerMove:Y(r.onPointerMove,ae),onPointerUp:Y(r.onPointerUp,(ye)=>{let We=ye.target;if(We.hasPointerCapture(ye.pointerId))We.releasePointerCapture(ye.pointerId);if(document.body.style.webkitUserSelect=G.current,_.viewport)_.viewport.style.scrollBehavior="";N.current=null})})})},"ScrollAreaScrollbarImpl")),lU="ScrollAreaThumb",mIe=O(yo(function(r,a){let{forceMount:i,...f}=r,s=sie(lU,r.__scopeScrollArea);return t(ir,{present:i||s.hasThumb,children:t(hIe,{ref:a,...f})})},"ScrollAreaThumb")),hIe=O(yo(function(r,a){let{__scopeScrollArea:i,style:f,...s}=r,l=hc(lU,i),c=sie(lU,i),{onThumbPositionChange:m}=c,g=_e(a,c.onThumbChange),M=b(void 0),v=HT(()=>{if(M.current)M.current(),M.current=void 0},100);return h(()=>{let y=l.viewport;if(y){let x=yo(()=>{if(v(),!M.current){let _=vIe(y,m);M.current=_,m()}},"handleScroll");return m(),y.addEventListener("scroll",x),()=>y.removeEventListener("scroll",x)}},[l.viewport,v,m]),t(se.div,{"data-state":c.hasThumb?"visible":"hidden",...s,ref:g,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...f},onPointerDownCapture:Y(r.onPointerDownCapture,(y)=>{let _=y.target.getBoundingClientRect(),j=y.clientX-_.left,U=y.clientY-_.top;c.onThumbPointerDown({x:j,y:U})}),onPointerUp:Y(r.onPointerUp,c.onThumbPointerUp)})},"ScrollAreaThumbImpl")),cie="ScrollAreaCorner",gIe=O(yo(function(r,a){let i=hc(cie,r.__scopeScrollArea),f=Boolean(i.scrollbarX&&i.scrollbarY);return i.type!=="scroll"&&f?t(MIe,{...r,ref:a}):null},"ScrollAreaCorner")),MIe=O(yo(function(r,a){let{__scopeScrollArea:i,...f}=r,s=hc(cie,i),[l,c]=u(0),[m,g]=u(0),M=Boolean(l&&m),{onCornerWidthChange:v,onCornerHeightChange:y}=s;return Uz(s.scrollbarX,()=>{let x=s.scrollbarX?.offsetHeight||0;s.onCornerHeightChange(x),g(x)}),Uz(s.scrollbarY,()=>{let x=s.scrollbarY?.offsetWidth||0;s.onCornerWidthChange(x),c(x)}),h(()=>()=>{v(0),y(0)},[v,y]),M?t(se.div,{...f,ref:a,style:{width:l,height:m,position:"absolute",right:s.dir==="ltr"?0:void 0,left:s.dir==="rtl"?0:void 0,bottom:0,...r.style}}):null},"ScrollAreaCornerImpl"));function UT(e){return e?parseInt(e,10):0}yo(UT,"toInt");function dU(e,r){let a=e/r;return isNaN(a)?0:a}yo(dU,"getThumbRatio");function qT(e){let r=dU(e.viewport,e.content),a=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,i=(e.scrollbar.size-a)*r;return Math.max(i,18)}yo(qT,"getThumbSize");function uie(e,r,a,i="ltr"){let f=qT(a),s=f/2,l=r||s,c=f-l,m=a.scrollbar.paddingStart+l,g=a.scrollbar.size-a.scrollbar.paddingEnd-c,M=a.content-a.viewport,v=i==="ltr"?[0,M]:[M*-1,0];return ZU([m,g],v)(e)}yo(uie,"getScrollPositionFromPointer");function cU(e,r,a="ltr"){let i=qT(r),f=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,s=r.scrollbar.size-f,l=r.content-r.viewport,c=s-i,m=a==="ltr"?[0,l]:[l*-1,0],g=pa(e,m);return ZU([0,l],[0,c])(g)}yo(cU,"getThumbOffsetFromScroll");function ZU(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(ZU,"linearScale");function pU(e,r){return e>0&&e<r}yo(pU,"isScrollingWithinScrollbarBounds");var vIe=yo((e,r=()=>{})=>{let a={left:e.scrollLeft,top:e.scrollTop},i=0;return yo(function f(){let s={left:e.scrollLeft,top:e.scrollTop},l=a.left!==s.left,c=a.top!==s.top;if(l||c)r();a=s,i=window.requestAnimationFrame(f)},"loop")(),()=>window.cancelAnimationFrame(i)},"addUnlinkedScrollListener");function HT(e,r){let a=Xo(e),i=b(0);return h(()=>()=>window.clearTimeout(i.current),[]),P(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(a,r)},[a,r])}yo(HT,"useDebounceCallback");function Uz(e,r){let a=Xo(r);It(()=>{let i=0;if(e){let f=new ResizeObserver(()=>{cancelAnimationFrame(i),i=window.requestAnimationFrame(a)});return f.observe(e),()=>{window.cancelAnimationFrame(i),f.unobserve(e)}}},[e,a])}yo(Uz,"useResizeObserver");var xIe=nIe,yIe=fIe;var bIe=gIe;S();S();var _Ie=Object.defineProperty,wIe=(e,r)=>_Ie(e,"name",{value:r,configurable:!0});function Tc(e){let r=b({value:e,previous:e});return D(()=>{if(r.current.value!==e)r.current.previous=r.current.value,r.current.value=e;return r.current.previous},[e])}wIe(Tc,"usePrevious");S();var zIe=Object.defineProperty,SIe=(e,r)=>zIe(e,"name",{value:r,configurable:!0}),mU=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"}),LIe=O(SIe(function(r,a){return t(se.span,{...r,ref:a,style:{...mU,...r.style}})},"VisuallyHidden")),Zie=LIe;var CIe=Object.defineProperty,To=(e,r)=>CIe(e,"name",{value:r,configurable:!0}),IIe=[" ","Enter","ArrowUp","ArrowDown"],RIe=[" ","Enter"],PI="Select",[LN,kN,PIe]=da(PI),[Hz,nKo]=pt(PI,[PIe,mc]),gU=mc(),[TIe,m8]=Hz(PI),[AIe,DIe]=Hz(PI);function Mie(e){let{__scopeSelect:r,children:a,open:i,defaultOpen:f,onOpenChange:s,value:l,defaultValue:c,onValueChange:m,dir:g,name:M,autoComplete:v,disabled:y,required:x,form:_,internal_do_not_use_render:j}=e,U=gU(r),[T,N]=u(null),[G,X]=u(null),[J,ee]=u(!1),re=Hn(g),[oe,ae]=Ft({prop:i,defaultProp:f??!1,onChange:s,caller:PI}),[ye,We]=Ft({prop:l,defaultProp:c,onChange:m,caller:PI}),Ye=b(null),ze=b(ye);h(()=>{let Wt=_?T?.ownerDocument.getElementById(_):T?.form;if(Wt instanceof HTMLFormElement){let De=To(()=>We(ze.current),"reset");return Wt.addEventListener("reset",De),()=>Wt.removeEventListener("reset",De)}},[_,T,We]);let qe=T?!!_||!!T.closest("form"):!0,[ut,$e]=u(new Set),xt=xr(),Dt=Array.from(ut).map((Wt)=>Wt.props.value).join(";"),jt=P((Wt)=>{$e((De)=>new Set(De).add(Wt))},[]),de=P((Wt)=>{$e((De)=>{let fr=new Set(De);return fr.delete(Wt),fr})},[]),yt={required:x,trigger:T,onTriggerChange:N,valueNode:G,onValueNodeChange:X,valueNodeHasChildren:J,onValueNodeHasChildrenChange:ee,contentId:xt,value:ye,onValueChange:We,open:oe,onOpenChange:ae,dir:re,triggerPointerDownPosRef:Ye,disabled:y,name:M,autoComplete:v,form:_,nativeOptions:ut,nativeSelectKey:Dt,isFormControl:qe};return t(cm,{...U,children:t(TIe,{scope:r,...yt,children:t(LN.Provider,{scope:r,children:t(AIe,{scope:r,onNativeOptionAdd:jt,onNativeOptionRemove:de,children:bie(j)?j(yt):a})})})})}To(Mie,"SelectProvider");var EIe=To((e)=>{let{__scopeSelect:r,children:a,...i}=e;return t(Mie,{__scopeSelect:r,...i,internal_do_not_use_render:({isFormControl:f})=>o(L,{children:[a,f?t(sRe,{__scopeSelect:r}):null]})})},"Select"),OIe="SelectTrigger",jIe=O(To(function(r,a){let{__scopeSelect:i,disabled:f=!1,...s}=r,l=gU(i),c=m8(OIe,i),m=c.disabled||f,g=_e(a,c.onTriggerChange),M=kN(i),v=b("touch"),[y,x,_]=vU((U)=>{let T=M().filter((X)=>!X.disabled),N=T.find((X)=>X.value===c.value),G=xU(T,U,N);if(G!==void 0)c.onValueChange(G.value)}),j=To((U)=>{if(!m)c.onOpenChange(!0),_();if(U)c.triggerPointerDownPosRef.current={x:Math.round(U.pageX),y:Math.round(U.pageY)}},"handleOpen");return t(u8,{asChild:!0,...l,children:t(se.button,{type:"button",role:"combobox","aria-controls":c.open?c.contentId:void 0,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:m,"data-disabled":m?"":void 0,"data-placeholder":VT(c.value)?"":void 0,...s,ref:g,onClick:Y(s.onClick,(U)=>{if(U.currentTarget.focus(),v.current!=="mouse")j(U)}),onPointerDown:Y(s.onPointerDown,(U)=>{v.current=U.pointerType;let T=U.target;if(T.hasPointerCapture(U.pointerId))T.releasePointerCapture(U.pointerId);if(U.button===0&&U.ctrlKey===!1&&U.pointerType==="mouse")j(U),U.preventDefault()}),onKeyDown:Y(s.onKeyDown,(U)=>{let T=y.current!=="";if(!(U.ctrlKey||U.altKey||U.metaKey)&&U.key.length===1)x(U.key);if(T&&U.key===" ")return;if(IIe.includes(U.key))j(),U.preventDefault()})})})},"SelectTrigger")),NIe="SelectValue",FIe=O(To(function(r,a){let{__scopeSelect:i,className:f,style:s,children:l,placeholder:c="",...m}=r,g=m8(NIe,i),{onValueNodeHasChildrenChange:M}=g,v=l!==void 0,y=_e(a,g.onValueNodeChange);It(()=>{M(v)},[M,v]);let x=VT(g.value);return t(se.span,{...m,asChild:x?!1:m.asChild,ref:y,style:{pointerEvents:"none"},children:t(Cn,{children:x?c:l},x?"placeholder":"value")})},"SelectValue")),BIe=O(To(function(r,a){let{__scopeSelect:i,children:f,...s}=r;return t(se.span,{"aria-hidden":!0,...s,ref:a,children:f||"▼"})},"SelectIcon")),YIe="SelectPortal",[UIe,qIe]=Hz(YIe,{forceMount:void 0}),HIe=To((e)=>{let{__scopeSelect:r,forceMount:a,...i}=e;return t(UIe,{scope:e.__scopeSelect,forceMount:a,children:t(iZ,{asChild:!0,...i})})},"SelectPortal"),qz="SelectContent",VIe=O(To(function(r,a){let i=qIe(qz,r.__scopeSelect),{forceMount:f=i.forceMount,...s}=r,l=m8(qz,r.__scopeSelect),[c,m]=u();return It(()=>{m(new DocumentFragment)},[]),t(ir,{present:f||l.open,children:({present:g})=>g?t(KIe,{...s,ref:a}):t(WIe,{...s,fragment:c})})},"SelectContent")),WIe=O(To(function(r,a){let{__scopeSelect:i,children:f,fragment:s}=r;if(!s)return null;return Qa(t(vie,{scope:i,children:t(LN.Slot,{scope:i,children:t("div",{ref:a,children:f})})}),s)},"SelectContentFragment")),du=10,[vie,Vz]=Hz(qz),GIe=zi("SelectContent.RemoveScroll"),KIe=O(To(function(r,a){let{__scopeSelect:i}=r,{position:f="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:l,onPointerDownOutside:c,side:m,sideOffset:g,align:M,alignOffset:v,arrowPadding:y,collisionBoundary:x,collisionPadding:_,sticky:j,hideWhenDetached:U,avoidCollisions:T,...N}=r,G=m8(qz,i),[X,J]=u(null),[ee,re]=u(null),oe=_e(a,J),[ae,ye]=u(null),[We,Ye]=u(null),ze=kN(i),[qe,ut]=u(!1),$e=b(!1);h(()=>{if(X)return l8(X)},[X]),fZ();let xt=P((Gt)=>{let[Kt,...Rr]=ze().map((dr)=>dr.ref.current),[Lr]=Rr.slice(-1),Tr=document.activeElement;for(let dr of Gt){if(dr===Tr)return;if(dr?.scrollIntoView({block:"nearest"}),dr===Kt&&ee)ee.scrollTop=0;if(dr===Lr&&ee)ee.scrollTop=ee.scrollHeight;if(dr?.focus(),document.activeElement!==Tr)return}},[ze,ee]),Dt=P(()=>xt([ae,X]),[xt,ae,X]);h(()=>{if(qe)Dt()},[qe,Dt]);let{onOpenChange:jt,triggerPointerDownPosRef:de}=G;h(()=>{if(X){let Gt={x:0,y:0},Kt=To((Lr)=>{Gt={x:Math.abs(Math.round(Lr.pageX)-(de.current?.x??0)),y:Math.abs(Math.round(Lr.pageY)-(de.current?.y??0))}},"handlePointerMove"),Rr=To((Lr)=>{if(Gt.x<=10&&Gt.y<=10)Lr.preventDefault();else if(!Lr.composedPath().includes(X))jt(!1);document.removeEventListener("pointermove",Kt),de.current=null},"handlePointerUp");if(de.current!==null)document.addEventListener("pointermove",Kt),document.addEventListener("pointerup",Rr,{capture:!0,once:!0});return()=>{document.removeEventListener("pointermove",Kt),document.removeEventListener("pointerup",Rr,{capture:!0})}}},[X,jt,de]),h(()=>{let Gt=To(()=>jt(!1),"close");return window.addEventListener("blur",Gt),window.addEventListener("resize",Gt),()=>{window.removeEventListener("blur",Gt),window.removeEventListener("resize",Gt)}},[jt]);let[yt,Wt]=vU((Gt)=>{let Kt=ze().filter((Tr)=>!Tr.disabled),Rr=Kt.find((Tr)=>Tr.ref.current===document.activeElement),Lr=xU(Kt,Gt,Rr);if(Lr)setTimeout(()=>Lr.ref.current?.focus())}),De=P((Gt,Kt,Rr)=>{let Lr=!$e.current&&!Rr;if(G.value!==void 0&&G.value===Kt||Lr){if(ye(Gt),Lr)$e.current=!0}},[G.value]),fr=P(()=>X?.focus(),[X]),sr=P((Gt,Kt,Rr)=>{let Lr=!$e.current&&!Rr;if(G.value!==void 0&&G.value===Kt||Lr)Ye(Gt)},[G.value]),rr=f==="popper"?pie:XIe,Or=rr===pie?{side:m,sideOffset:g,align:M,alignOffset:v,arrowPadding:y,collisionBoundary:x,collisionPadding:_,sticky:j,hideWhenDetached:U,avoidCollisions:T}:{};return t(vie,{scope:i,content:X,viewport:ee,onViewportChange:re,itemRefCallback:De,selectedItem:ae,onItemLeave:fr,itemTextRefCallback:sr,focusSelectedItem:Dt,selectedItemText:We,position:f,isPositioned:qe,searchRef:yt,children:t($Z,{as:GIe,allowPinchZoom:!0,children:t(s8,{asChild:!0,trapped:G.open,onMountAutoFocus:(Gt)=>{Gt.preventDefault()},onUnmountAutoFocus:Y(s,(Gt)=>{G.trigger?.focus({preventScroll:!0}),Gt.preventDefault()}),children:t(nZ,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:l,onPointerDownOutside:c,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 Kt=Gt.ctrlKey||Gt.altKey||Gt.metaKey;if(Gt.key==="Tab")Gt.preventDefault();if(!Kt&&Gt.key.length===1)Wt(Gt.key);if(["ArrowUp","ArrowDown","Home","End"].includes(Gt.key)){let Lr=ze().filter((Tr)=>!Tr.disabled).map((Tr)=>Tr.ref.current);if(["ArrowUp","End"].includes(Gt.key))Lr=Lr.slice().reverse();if(["ArrowUp","ArrowDown"].includes(Gt.key)){let Tr=Gt.target,dr=Lr.indexOf(Tr);Lr=Lr.slice(dr+1)}setTimeout(()=>xt(Lr)),Gt.preventDefault()}})})})})})})},"SelectContentImpl")),XIe=O(To(function(r,a){let{__scopeSelect:i,onPlaced:f,...s}=r,l=m8(qz,i),c=Vz(qz,i),[m,g]=u(null),[M,v]=u(null),y=_e(a,v),x=kN(i),_=b(!1),j=b(!0),{viewport:U,selectedItem:T,selectedItemText:N,focusSelectedItem:G}=c,X=P(()=>{if(l.trigger&&l.valueNode&&m&&M&&U&&T&&N){let oe=l.trigger.getBoundingClientRect(),ae=M.getBoundingClientRect(),ye=l.valueNode.getBoundingClientRect(),We=N.getBoundingClientRect();if(l.dir!=="rtl"){let Tr=We.left-ae.left,dr=ye.left-Tr,uo=oe.left-dr,lo=oe.width+uo,sa=Math.max(lo,ae.width),cr=window.innerWidth-du,io=pa(dr,[du,Math.max(du,cr-sa)]);m.style.minWidth=lo+"px",m.style.left=io+"px"}else{let Tr=ae.right-We.right,dr=window.innerWidth-ye.right-Tr,uo=window.innerWidth-oe.right-dr,lo=oe.width+uo,sa=Math.max(lo,ae.width),cr=window.innerWidth-du,io=pa(dr,[du,Math.max(du,cr-sa)]);m.style.minWidth=lo+"px",m.style.right=io+"px"}let Ye=x(),ze=window.innerHeight-du*2,qe=U.scrollHeight,ut=window.getComputedStyle(M),$e=parseInt(ut.borderTopWidth,10),xt=parseInt(ut.paddingTop,10),Dt=parseInt(ut.borderBottomWidth,10),jt=parseInt(ut.paddingBottom,10),de=$e+xt+qe+jt+Dt,yt=Math.min(T.offsetHeight*5,de),Wt=window.getComputedStyle(U),De=parseInt(Wt.paddingTop,10),fr=parseInt(Wt.paddingBottom,10),sr=oe.top+oe.height/2-du,rr=ze-sr,Or=T.offsetHeight/2,Gt=T.offsetTop+Or,Kt=$e+xt+Gt,Rr=de-Kt;if(Kt<=sr){let Tr=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+(Tr?fr:0)+dr+Dt),lo=Kt+uo;m.style.height=lo+"px"}else{let Tr=Ye.length>0&&T===Ye[0].ref.current;m.style.top="0px";let uo=Math.max(sr,$e+U.offsetTop+(Tr?De:0)+Or)+Rr;m.style.height=uo+"px",U.scrollTop=Kt-sr+U.offsetTop}m.style.margin=`${du}px 0`,m.style.minHeight=yt+"px",m.style.maxHeight=ze+"px",f?.(),requestAnimationFrame(()=>_.current=!0)}},[x,l.trigger,l.valueNode,m,M,U,T,N,l.dir,f]);It(()=>X(),[X]);let[J,ee]=u();It(()=>{if(M)ee(window.getComputedStyle(M).zIndex)},[M]);let re=P((oe)=>{if(oe&&j.current===!0)X(),G?.(),j.current=!1},[X,G]);return t(QIe,{scope:i,contentWrapper:m,shouldExpandOnScrollRef:_,onScrollButtonChange:re,children:t("div",{ref:g,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:J},children:t(se.div,{...s,ref:y,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})},"SelectItemAlignedPosition")),pie=O(To(function(r,a){let{__scopeSelect:i,align:f="start",collisionPadding:s=du,...l}=r,c=gU(i);return t(d8,{...c,...l,ref:a,align:f,collisionPadding:s,style:{boxSizing:"border-box",...l.style,...{"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}})},"SelectPopperPosition")),[QIe,MU]=Hz(qz,{}),mie="SelectViewport",JIe=O(To(function(r,a){let{__scopeSelect:i,nonce:f,...s}=r,l=Vz(mie,i),c=MU(mie,i),m=_e(a,l.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:f}),t(LN.Slot,{scope:i,children:t(se.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:m,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:Y(s.onScroll,(M)=>{let v=M.currentTarget,{contentWrapper:y,shouldExpandOnScrollRef:x}=c;if(x?.current&&y){let _=Math.abs(g.current-v.scrollTop);if(_>0){let j=window.innerHeight-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")),$Ie="SelectGroup",[iKo,fKo]=Hz($Ie);var hU="SelectItem",[eRe,xie]=Hz(hU),tRe=O(To(function(r,a){let{__scopeSelect:i,value:f,disabled:s=!1,textValue:l,...c}=r,m=m8(hU,i),g=Vz(hU,i),M=m.value===f,[v,y]=u(l??""),[x,_]=u(!1),j=Xo((X)=>g.itemRefCallback?.(X,f,s)),U=_e(a,j),T=xr(),N=b("touch"),G=To(()=>{if(!s)m.onValueChange(f),m.onOpenChange(!1)},"handleSelect");return t(eRe,{scope:i,value:f,disabled:s,textId:T,isSelected:M,onItemTextChange:P((X)=>{y((J)=>J||(X?.textContent??"").trim())},[]),children:t(LN.ItemSlot,{scope:i,value:f,disabled:s,textValue:v,children:t(se.div,{role:"option","aria-labelledby":T,"data-highlighted":x?"":void 0,"aria-selected":M&&x,"data-state":M?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...c,ref:U,onFocus:Y(c.onFocus,()=>_(!0)),onBlur:Y(c.onBlur,()=>_(!1)),onClick:Y(c.onClick,()=>{if(N.current!=="mouse")G()}),onPointerUp:Y(c.onPointerUp,()=>{if(N.current==="mouse")G()}),onPointerDown:Y(c.onPointerDown,(X)=>{N.current=X.pointerType}),onPointerMove:Y(c.onPointerMove,(X)=>{if(N.current=X.pointerType,s)g.onItemLeave?.();else if(N.current==="mouse")X.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Y(c.onPointerLeave,(X)=>{if(X.currentTarget===document.activeElement)g.onItemLeave?.()}),onKeyDown:Y(c.onKeyDown,(X)=>{if(s||X.target!==X.currentTarget)return;if(g.searchRef?.current!==""&&X.key===" ")return;if(RIe.includes(X.key))G();if(X.key===" ")X.preventDefault()})})})})},"SelectItem")),SN="SelectItemText",rRe=O(To(function(r,a){let{__scopeSelect:i,className:f,style:s,...l}=r,c=m8(SN,i),m=Vz(SN,i),g=xie(SN,i),M=DIe(SN,i),[v,y]=u(null),x=Xo((G)=>m.itemTextRefCallback?.(G,g.value,g.disabled)),_=_e(a,y,g.onItemTextChange,x),j=v?.textContent,U=D(()=>t("option",{value:g.value,disabled:g.disabled,children:j},g.value),[g.disabled,g.value,j]),{onNativeOptionAdd:T,onNativeOptionRemove:N}=M;return It(()=>(T(U),()=>N(U)),[T,N,U]),o(L,{children:[t(se.span,{id:g.textId,...l,ref:_}),g.isSelected&&c.valueNode&&!c.valueNodeHasChildren&&!VT(c.value)?Qa(l.children,c.valueNode):null]})},"SelectItemText")),oRe="SelectItemIndicator",aRe=O(To(function(r,a){let{__scopeSelect:i,...f}=r;return xie(oRe,i).isSelected?t(se.span,{"aria-hidden":!0,...f,ref:a}):null},"SelectItemIndicator")),hie="SelectScrollUpButton",nRe=O(To(function(r,a){let i=Vz(hie,r.__scopeSelect),f=MU(hie,r.__scopeSelect),[s,l]=u(!1),c=_e(a,f.onScrollButtonChange);return It(()=>{if(i.viewport&&i.isPositioned){let g=function(){let v=M.scrollTop>0;l(v)};var m=g;To(g,"handleScroll");let M=i.viewport;return g(),M.addEventListener("scroll",g),()=>M.removeEventListener("scroll",g)}},[i.viewport,i.isPositioned]),s?t(yie,{...r,ref:c,onAutoScroll:()=>{let{viewport:m,selectedItem:g}=i;if(m&&g)m.scrollTop=m.scrollTop-g.offsetHeight}}):null},"SelectScrollUpButton")),gie="SelectScrollDownButton",iRe=O(To(function(r,a){let i=Vz(gie,r.__scopeSelect),f=MU(gie,r.__scopeSelect),[s,l]=u(!1),c=_e(a,f.onScrollButtonChange);return It(()=>{if(i.viewport&&i.isPositioned){let g=function(){let v=M.scrollHeight-M.clientHeight,y=Math.ceil(M.scrollTop)<v;l(y)};var m=g;To(g,"handleScroll");let M=i.viewport;return g(),M.addEventListener("scroll",g),()=>M.removeEventListener("scroll",g)}},[i.viewport,i.isPositioned]),s?t(yie,{...r,ref:c,onAutoScroll:()=>{let{viewport:m,selectedItem:g}=i;if(m&&g)m.scrollTop=m.scrollTop+g.offsetHeight}}):null},"SelectScrollDownButton")),yie=O(To(function(r,a){let{__scopeSelect:i,onAutoScroll:f,...s}=r,l=Vz("SelectScrollButton",i),c=b(null),m=kN(i),g=P(()=>{if(c.current!==null)window.clearInterval(c.current),c.current=null},[]);return h(()=>()=>g(),[g]),It(()=>{m().find((v)=>v.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[m]),t(se.div,{"aria-hidden":!0,...s,ref:a,style:{flexShrink:0,...s.style},onPointerDown:Y(s.onPointerDown,()=>{if(c.current===null)c.current=window.setInterval(f,50)}),onPointerMove:Y(s.onPointerMove,()=>{if(l.onItemLeave?.(),c.current===null)c.current=window.setInterval(f,50)}),onPointerLeave:Y(s.onPointerLeave,()=>{g()})})},"SelectScrollButtonImpl"));var fRe="SelectBubbleInput",sRe=O(To(function({__scopeSelect:r,...a},i){let f=m8(fRe,r),{value:s,onValueChange:l,required:c,disabled:m,name:g,autoComplete:M,form:v}=f,{nativeOptions:y,nativeSelectKey:x}=f,_=b(null),j=_e(i,_),U=s??"",T=Tc(U),N=Array.from(y).some((G)=>(G.props.value??"")==="");return h(()=>{let G=_.current;if(!G)return;let X=window.HTMLSelectElement.prototype,ee=Object.getOwnPropertyDescriptor(X,"value").set;if(T!==U&&ee){let re=new Event("change",{bubbles:!0});ee.call(G,U),G.dispatchEvent(re)}},[T,U]),o(se.select,{"aria-hidden":!0,required:c,tabIndex:-1,name:g,autoComplete:M,disabled:m,form:v,onChange:(G)=>l(G.target.value),...a,style:{...mU,...a.style},ref:j,defaultValue:U,children:[VT(s)&&!N?t("option",{value:""}):null,Array.from(y)]},x)},"SelectBubbleInput"));function bie(e){return typeof e==="function"}To(bie,"isFunction");function VT(e){return e===""||e===void 0}To(VT,"shouldShowPlaceholder");function vU(e){let r=Xo(e),a=b(""),i=b(0),f=P((l)=>{let c=a.current+l;r(c),To(function m(g){if(a.current=g,window.clearTimeout(i.current),g!=="")i.current=window.setTimeout(()=>m(""),1000)},"updateSearch")(c)},[r]),s=P(()=>{a.current="",window.clearTimeout(i.current)},[]);return h(()=>()=>window.clearTimeout(i.current),[]),[a,f,s]}To(vU,"useTypeaheadSearch");function xU(e,r,a){let f=r.length>1&&Array.from(r).every((g)=>g===r[0])?r[0]:r,s=a?e.indexOf(a):-1,l=_ie(e,Math.max(s,0));if(f.length===1)l=l.filter((g)=>g!==a);let m=l.find((g)=>g.textValue.toLowerCase().startsWith(f.toLowerCase()));return m!==a?m:void 0}To(xU,"findNextItem");function _ie(e,r){return e.map((a,i)=>e[(r+i)%e.length])}To(_ie,"wrapArray");S();var lRe=Object.defineProperty,Sie=(e,r)=>lRe(e,"name",{value:r,configurable:!0}),zie="horizontal",cRe=["horizontal","vertical"],uRe=O(Sie(function(r,a){let{decorative:i,orientation:f=zie,...s}=r,l=Lie(f)?f:zie,m=i?{role:"none"}:{"aria-orientation":l==="vertical"?l:void 0,role:"separator"};return t(se.div,{"data-orientation":l,...m,...s,ref:a})},"Separator"));function Lie(e){return cRe.includes(e)}Sie(Lie,"isValidOrientation");var dRe=uRe;S();var ZRe=Object.defineProperty,h8=(e,r)=>ZRe(e,"name",{value:r,configurable:!0}),yU="Switch",[pRe,gKo]=pt(yU),[mRe,bU]=pRe(yU);function Cie(e){let{__scopeSwitch:r,checked:a,children:i,defaultChecked:f,disabled:s,form:l,name:c,onCheckedChange:m,required:g,value:M="on",internal_do_not_use_render:v}=e,[y,x]=Ft({prop:a,defaultProp:f??!1,onChange:m,caller:yU}),[_,j]=u(null),[U,T]=u(null),N=b(!1),[G,X]=en((re)=>re+1,0),J=_?!!l||!!_.closest("form"):!0,ee={checked:y,setChecked:x,disabled:s,control:_,setControl:j,name:c,form:l,value:M,hasConsumerStoppedPropagationRef:N,userInteractionCount:G,onUserInteraction:X,required:g,defaultChecked:f,isFormControl:J,bubbleInput:U,setBubbleInput:T};return t(mRe,{scope:r,...ee,children:Iie(v)?v(ee):i})}h8(Cie,"SwitchProvider");var hRe="SwitchTrigger",gRe=O(h8(function({__scopeSwitch:r,onClick:a,...i},f){let{control:s,form:l,value:c,disabled:m,checked:g,required:M,setControl:v,setChecked:y,hasConsumerStoppedPropagationRef:x,onUserInteraction:_,isFormControl:j,bubbleInput:U}=bU(hRe,r),T=_e(f,v),N=b(g);return h(()=>{let G=l?s?.ownerDocument.getElementById(l):s?.form;if(G instanceof HTMLFormElement){let X=h8(()=>y(N.current),"reset");return G.addEventListener("reset",X),()=>G.removeEventListener("reset",X)}},[s,l,y]),t(se.button,{type:"button",role:"switch","aria-checked":g,"aria-required":M,"data-state":_U(g),"data-disabled":m?"":void 0,disabled:m,value:c,...i,ref:T,onClick:Y(a,(G)=>{if(_(),y((X)=>!X),U&&j){if(x.current=G.isPropagationStopped(),!x.current)G.stopPropagation()}})})},"SwitchTrigger")),MRe=O(h8(function(r,a){let{__scopeSwitch:i,name:f,checked:s,defaultChecked:l,required:c,disabled:m,value:g,onCheckedChange:M,form:v,...y}=r;return t(Cie,{__scopeSwitch:i,checked:s,defaultChecked:l,disabled:m,required:c,onCheckedChange:M,name:f,form:v,value:g,internal_do_not_use_render:({isFormControl:x})=>o(L,{children:[t(gRe,{...y,ref:a,__scopeSwitch:i}),x&&t(bRe,{__scopeSwitch:i})]})})},"Switch")),vRe="SwitchThumb",xRe=O(h8(function(r,a){let{__scopeSwitch:i,...f}=r,s=bU(vRe,i);return t(se.span,{"data-state":_U(s.checked),"data-disabled":s.disabled?"":void 0,...f,ref:a})},"SwitchThumb")),yRe="SwitchBubbleInput",bRe=O(h8(function({__scopeSwitch:r,onClick:a,...i},f){let{control:s,hasConsumerStoppedPropagationRef:l,userInteractionCount:c,checked:m,defaultChecked:g,required:M,disabled:v,name:y,value:x,form:_,bubbleInput:j,setBubbleInput:U}=bU(yRe,r),T=_e(f,U),N=ua(s),G=b(!1),X=b(m),J=b(c);h(()=>{let re=j;if(!re)return;let oe=window.HTMLInputElement.prototype,ye=Object.getOwnPropertyDescriptor(oe,"checked").set,We=c!==J.current;J.current=c;let Ye=X.current!==m;X.current=m;let ze=!(We&&l.current);if(Ye&&ye){G.current=!We;let qe=new Event("click",{bubbles:ze});ye.call(re,m),re.dispatchEvent(qe),G.current=!1}},[j,m,l,c]);let ee=b(m);return t(se.input,{type:"checkbox","aria-hidden":!0,defaultChecked:g??ee.current,required:M,disabled:v,name:y,value:x,form:_,...i,tabIndex:-1,ref:T,onClick:Y(a,(re)=>{if(G.current)re.stopPropagation()}),style:{...i.style,...N,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"SwitchBubbleInput"));function Iie(e){return typeof e==="function"}h8(Iie,"isFunction");function _U(e){return e?"checked":"unchecked"}h8(_U,"getState");S();var _Re=Object.defineProperty,DI=(e,r)=>_Re(e,"name",{value:r,configurable:!0}),wU="Tabs",[wRe,LKo]=pt(wU,[fa]),Pie=fa(),[zRe,zU]=wRe(wU),SRe=O(DI(function(r,a){let{__scopeTabs:i,value:f,onValueChange:s,defaultValue:l,orientation:c="horizontal",dir:m,activationMode:g="automatic",...M}=r,v=Hn(m),[y,x]=Ft({prop:f,onChange:s,defaultProp:l??"",caller:wU});return t(zRe,{scope:i,baseId:xr(),value:y,onValueChange:x,orientation:c,dir:v,activationMode:g,children:t(se.div,{dir:v,"data-orientation":c,...M,ref:a})})},"Tabs")),LRe="TabsList",kRe=O(DI(function(r,a){let{__scopeTabs:i,loop:f=!0,...s}=r,l=zU(LRe,i),c=Pie(i);return t(fl,{asChild:!0,...c,orientation:l.orientation,dir:l.dir,loop:f,children:t(se.div,{role:"tablist","aria-orientation":l.orientation,...s,ref:a})})},"TabsList")),CRe="TabsTrigger",IRe=O(DI(function(r,a){let{__scopeTabs:i,value:f,disabled:s=!1,...l}=r,c=zU(CRe,i),m=Pie(i),g=SU(c.baseId,f),M=LU(c.baseId,f),v=f===c.value;return t(pl,{asChild:!0,...m,focusable:!s,active:v,children:t(se.button,{type:"button",role:"tab","aria-selected":v,"aria-controls":M,"data-state":v?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:g,...l,ref:a,onMouseDown:Y(r.onMouseDown,(y)=>{if(!s&&y.button===0&&y.ctrlKey===!1)c.onValueChange(f);else y.preventDefault()}),onKeyDown:Y(r.onKeyDown,(y)=>{if(s||y.target!==y.currentTarget)return;if([" ","Enter"].includes(y.key))c.onValueChange(f)}),onFocus:Y(r.onFocus,()=>{let y=c.activationMode!=="manual";if(!v&&!s&&y)c.onValueChange(f)})})})},"TabsTrigger")),RRe="TabsContent",PRe=O(DI(function(r,a){let{__scopeTabs:i,value:f,forceMount:s,children:l,...c}=r,m=zU(RRe,i),g=SU(m.baseId,f),M=LU(m.baseId,f),v=f===m.value,y=b(v);return h(()=>{let x=requestAnimationFrame(()=>y.current=!1);return()=>cancelAnimationFrame(x)},[]),t(ir,{present:s||v,children:({present:x})=>t(se.div,{"data-state":v?"active":"inactive","data-orientation":m.orientation,role:"tabpanel","aria-labelledby":g,hidden:!x,id:M,tabIndex:0,...c,ref:a,style:{...r.style,animationDuration:y.current?"0s":void 0},children:x&&l})})},"TabsContent"));function SU(e,r){return`${e}-trigger-${r}`}DI(SU,"makeTriggerId");function LU(e,r){return`${e}-content-${r}`}DI(LU,"makeContentId");var TRe=SRe,ARe=kRe,DRe=IRe,ERe=PRe;S();var ORe=Object.defineProperty,hi=(e,r)=>ORe(e,"name",{value:r,configurable:!0}),[IU,BKo]=pt("Tooltip",[mc]),CN=mc(),jRe="TooltipProvider",NRe=700,kU="tooltip.open",[FRe,RU]=IU(jRe),BRe=hi((e)=>{let{__scopeTooltip:r,delayDuration:a=NRe,skipDelayDuration:i=300,disableHoverableContent:f=!1,children:s}=e,l=b(!0),c=b(!1),m=b(0);return h(()=>{let g=m.current;return()=>window.clearTimeout(g)},[]),t(FRe,{scope:r,isOpenDelayedRef:l,delayDuration:a,onOpen:P(()=>{if(i<=0)return;window.clearTimeout(m.current),l.current=!1},[i]),onClose:P(()=>{if(i<=0)return;window.clearTimeout(m.current),m.current=window.setTimeout(()=>l.current=!0,i)},[i]),isPointerInTransitRef:c,onPointerInTransitChange:P((g)=>{c.current=g},[]),disableHoverableContent:f,children:s})},"TooltipProvider"),CU="Tooltip",[YRe,GT]=IU(CU),URe=hi((e)=>{let{__scopeTooltip:r,children:a,open:i,defaultOpen:f,onOpenChange:s,disableHoverableContent:l,delayDuration:c}=e,m=RU(CU,e.__scopeTooltip),g=CN(r),[M,v]=u(null),[y,x]=u(void 0),_=xr(),j=b(0),U=l??m.disableHoverableContent,T=c??m.delayDuration,N=b(!1),[G,X]=Ft({prop:i,defaultProp:f??!1,onChange:hi((ye)=>{if(ye)m.onOpen(),document.dispatchEvent(new CustomEvent(kU));else m.onClose();s?.(ye)},"onChange"),caller:CU}),J=D(()=>G?N.current?"delayed-open":"instant-open":"closed",[G]),ee=P(()=>{window.clearTimeout(j.current),j.current=0,N.current=!1,X(!0)},[X]),re=P(()=>{window.clearTimeout(j.current),j.current=0,X(!1)},[X]),oe=P(()=>{window.clearTimeout(j.current),j.current=window.setTimeout(()=>{N.current=!0,X(!0),j.current=0},T)},[T,X]);return h(()=>()=>{if(j.current)window.clearTimeout(j.current),j.current=0},[]),t(cm,{...g,children:t(YRe,{scope:r,contentId:y??_,setContentId:x,open:G,stateAttribute:J,trigger:M,onTriggerChange:v,onTriggerEnter:P(()=>{if(m.isOpenDelayedRef.current)oe();else ee()},[m.isOpenDelayedRef,oe,ee]),onTriggerLeave:P(()=>{if(U)re();else window.clearTimeout(j.current),j.current=0},[re,U]),onOpen:ee,onClose:re,disableHoverableContent:U,children:a})})},"Tooltip"),Aie="TooltipTrigger",qRe=O(hi(function(r,a){let{__scopeTooltip:i,...f}=r,s=GT(Aie,i),l=RU(Aie,i),c=CN(i),m=b(null),g=_e(a,m,s.onTriggerChange),M=b(!1),v=b(!1),y=P(()=>M.current=!1,[]);return h(()=>()=>document.removeEventListener("pointerup",y),[y]),t(u8,{asChild:!0,...c,children:t(se.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...f,ref:g,onPointerMove:Y(r.onPointerMove,(x)=>{if(x.pointerType==="touch")return;if(!v.current&&!l.isPointerInTransitRef.current)s.onTriggerEnter(),v.current=!0}),onPointerLeave:Y(r.onPointerLeave,()=>{s.onTriggerLeave(),v.current=!1}),onPointerDown:Y(r.onPointerDown,()=>{if(s.open)s.onClose();M.current=!0,document.addEventListener("pointerup",y,{once:!0})}),onFocus:Y(r.onFocus,()=>{if(!M.current)s.onOpen()}),onBlur:Y(r.onBlur,s.onClose),onClick:Y(r.onClick,s.onClose)})})},"TooltipTrigger")),Die="TooltipPortal",[HRe,VRe]=IU(Die,{forceMount:void 0}),WRe=hi((e)=>{let{__scopeTooltip:r,forceMount:a,children:i,container:f}=e,s=GT(Die,r);return t(HRe,{scope:r,forceMount:a,children:t(ir,{present:a||s.open,children:t(iZ,{asChild:!0,container:f,children:i})})})},"TooltipPortal"),WT="TooltipContent",GRe=O(hi(function(r,a){let i=VRe(WT,r.__scopeTooltip),{forceMount:f=i.forceMount,side:s="top",...l}=r,c=GT(WT,r.__scopeTooltip);return t(ir,{present:f||c.open,children:c.disableHoverableContent?t(Eie,{side:s,...l,ref:a}):t(KRe,{side:s,...l,ref:a})})},"TooltipContent")),KRe=O(hi(function(r,a){let i=GT(WT,r.__scopeTooltip),f=RU(WT,r.__scopeTooltip),s=b(null),l=_e(a,s),[c,m]=u(null),{trigger:g,onClose:M}=i,v=s.current,{onPointerInTransitChange:y}=f,x=P(()=>{m(null),y(!1)},[y]),_=P((j,U)=>{let T=j.currentTarget,N={x:j.clientX,y:j.clientY},G=Oie(N,T.getBoundingClientRect()),X=jie(N,G),J=Nie(U.getBoundingClientRect()),ee=Bie([...X,...J]);m(ee),y(!0)},[y]);return h(()=>()=>x(),[x]),h(()=>{if(g&&v){let j=hi((T)=>_(T,v),"handleTriggerLeave"),U=hi((T)=>_(T,g),"handleContentLeave");return g.addEventListener("pointerleave",j),v.addEventListener("pointerleave",U),()=>{g.removeEventListener("pointerleave",j),v.removeEventListener("pointerleave",U)}}},[g,v,_,x]),h(()=>{if(c){let j=hi((U)=>{let T=U.target,N={x:U.clientX,y:U.clientY},G=g?.contains(T)||v?.contains(T),X=!Fie(N,c);if(G)x();else if(X)x(),M()},"handleTrackPointerGrace");return document.addEventListener("pointermove",j),()=>document.removeEventListener("pointermove",j)}},[g,v,c,M,x]),t(Eie,{...r,ref:l})},"TooltipContentHoverable")),XRe=YY("TooltipContent"),Eie=O(hi(function(r,a){let{__scopeTooltip:i,children:f,"aria-label":s,id:l,onEscapeKeyDown:c,onPointerDownOutside:m,...g}=r,M=GT(WT,i),v=CN(i),{onClose:y}=M;h(()=>(document.addEventListener(kU,y),()=>document.removeEventListener(kU,y)),[y]),h(()=>{if(M.trigger){let _=hi((j)=>{if(j.target instanceof Node&&j.target.contains(M.trigger))y()},"handleScroll");return window.addEventListener("scroll",_,{capture:!0}),()=>window.removeEventListener("scroll",_,{capture:!0})}},[M.trigger,y]);let{setContentId:x}=M;return It(()=>(x(l),()=>{x(void 0)}),[l,x]),t(nZ,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:m,onFocusOutside:(_)=>_.preventDefault(),onDismiss:y,children:o(d8,{"data-state":M.stateAttribute,role:s?void 0:"tooltip",id:s?void 0:M.contentId,...v,...g,ref:a,style:{...g.style,...{"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}},children:[t(XRe,{children:f}),s?t(Zie,{id:M.contentId,role:"tooltip",children:s}):null]})})},"TooltipContentImpl")),QRe=O(hi(function(r,a){let{__scopeTooltip:i,...f}=r,s=CN(i);return t(jT,{...s,...f,ref:a})},"TooltipArrow"));function Oie(e,r){let a=Math.abs(r.top-e.y),i=Math.abs(r.bottom-e.y),f=Math.abs(r.right-e.x),s=Math.abs(r.left-e.x);switch(Math.min(a,i,f,s)){case s:return"left";case f:return"right";case a:return"top";case i:return"bottom";default:throw Error("unreachable")}}hi(Oie,"getExitSideFromRect");function jie(e,r,a=5){let i=[];switch(r){case"top":i.push({x:e.x-a,y:e.y+a},{x:e.x+a,y:e.y+a});break;case"bottom":i.push({x:e.x-a,y:e.y-a},{x:e.x+a,y:e.y-a});break;case"left":i.push({x:e.x+a,y:e.y-a},{x:e.x+a,y:e.y+a});break;case"right":i.push({x:e.x-a,y:e.y-a},{x:e.x-a,y:e.y+a});break}return i}hi(jie,"getPaddedExitPoints");function Nie(e){let{top:r,right:a,bottom:i,left:f}=e;return[{x:f,y:r},{x:a,y:r},{x:a,y:i},{x:f,y:i}]}hi(Nie,"getPointsFromRect");function Fie(e,r){let{x:a,y:i}=e,f=!1;for(let s=0,l=r.length-1;s<r.length;l=s++){let c=r[s],m=r[l],{x:g,y:M}=c,{x:v,y}=m;if(M>i!==y>i&&a<(v-g)*(i-M)/(y-M)+g)f=!f}return f}hi(Fie,"isPointInPolygon");function Bie(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}),Yie(r)}hi(Bie,"getHull");function Yie(e){if(e.length<=1)return e.slice();let r=[];for(let i=0;i<e.length;i++){let f=e[i];while(r.length>=2){let s=r[r.length-1],l=r[r.length-2];if((s.x-l.x)*(f.y-l.y)>=(s.y-l.y)*(f.x-l.x))r.pop();else break}r.push(f)}r.pop();let a=[];for(let i=e.length-1;i>=0;i--){let f=e[i];while(a.length>=2){let s=a[a.length-1],l=a[a.length-2];if((s.x-l.x)*(f.y-l.y)>=(s.y-l.y)*(f.x-l.x))a.pop();else break}a.push(f)}if(a.pop(),r.length===1&&a.length===1&&r[0].x===a[0].x&&r[0].y===a[0].y)return r;else return r.concat(a)}hi(Yie,"getHullPresorted");var JRe=BRe,$Re=URe,ePe=qRe,tPe=WRe,rPe=GRe,oPe=QRe;var IN=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,...f}){let s=i?coe:"button";return t(s,{"data-slot":"button","data-variant":r,"data-size":a,className:C(IN({variant:r,size:a,className:e})),...f})}function fn({delayDuration:e=0,...r}){return t(JRe,{"data-slot":"tooltip-provider",delayDuration:e,...r})}function pn({...e}){return t($Re,{"data-slot":"tooltip",...e})}function mn({...e}){return t(ePe,{"data-slot":"tooltip-trigger",...e})}function hn({className:e,sideOffset:r=0,children:a,...i}){return t(tPe,{children:o(rPe,{"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(WLe,{"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(KLe,{"data-slot":"avatar-image",className:C("aspect-square size-full",e),...r})}function Te({className:e,...r}){return t(QLe,{"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(pCe,{"data-slot":"dropdown-menu",...e})}function Ja({...e}){return t(Vne,{"data-slot":"dropdown-menu-portal",...e})}function ge({...e}){return t(mCe,{"data-slot":"dropdown-menu-trigger",...e})}function Ae({className:e,sideOffset:r=4,...a}){return t(Vne,{children:t(hCe,{"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(MCe,{"data-slot":"dropdown-menu-item","data-inset":r,"data-variant":a,className:C("relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground data-[variant=destructive]:*:[svg]:text-destructive!",e),...i})}function Mc({...e}){return t(vCe,{"data-slot":"dropdown-menu-radio-group",...e})}function ma({className:e,children:r,...a}){return o(xCe,{"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(yCe,{children:t(uT,{className:"size-2 fill-current"})})}),r]})}function Vr({className:e,inset:r,...a}){return t(gCe,{"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(bCe,{"data-slot":"dropdown-menu-separator",className:C("-mx-1 my-1 h-px bg-border",e),...r})}function fs({...e}){return t(_Ce,{"data-slot":"dropdown-menu-sub",...e})}function ps({className:e,inset:r,children:a,...i}){return o(wCe,{"data-slot":"dropdown-menu-sub-trigger","data-inset":r,className:C("flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[inset]:pl-8 data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",e),...i,children:[a,t(bt,{className:"ml-auto size-4"})]})}function ms({className:e,...r}){return t(zCe,{"data-slot":"dropdown-menu-sub-content",className:C("z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",e),...r})}S();function aPe(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:(l)=>l.location.pathname}),{teamId:i,projectId:f}=aPe(a),{data:s}=Z({queryKey:["projects",f,"team"],queryFn:async()=>{let l=await A.api.projects[":projectId"].team.$get({param:{projectId:f}});if(!l.ok)throw Error("failed to fetch project team");return await l.json()},enabled:!!f});return h(()=>{if(i)r(i);else if(s?.teamId)r(s.teamId)},[i,s]),e}var RN=Object.create(null),KT=(e)=>globalThis.process?.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?RN:globalThis),pm=new Proxy(RN,{get(e,r){return KT()[r]??RN[r]},has(e,r){return r in KT()||r in RN},set(e,r,a){let i=KT(!0);return i[r]=a,!0},deleteProperty(e,r){if(!r)return!1;let a=KT(!0);return delete a[r],!0},ownKeys(){let e=KT(!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 iPe=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 fPe(){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 sPe(e){let r=e.split(`
|
|
61
|
-
at `);if(r.length<=1)return e;return r.splice(1,1),r.join(`
|
|
62
|
-
at `)}function lPe(e,r){class a extends e{#e;constructor(...i){if(fPe()){let s=Error.stackTraceLimit;Error.stackTraceLimit=0;super(...i);Error.stackTraceLimit=s}else super(...i);let f=Error().stack;if(f)this.#e=sPe(f.replace(/^Error/,this.name))}get errorStack(){return this.#e}}return Object.defineProperty(a.prototype,"constructor",{get(){return r},enumerable:!1,configurable:!0}),a}var cPe={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},uPe=class extends Error{constructor(e="INTERNAL_SERVER_ERROR",r=void 0,a={},i=typeof e==="number"?e:cPe[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 dPe=lPe(uPe,Error);var OI=class extends Error{constructor(e,r){super(e,r);this.name="BetterAuthError",this.message=e,this.stack=""}};function ZPe(e){try{return(new URL(e).pathname.replace(/\/+$/,"")||"/")!=="/"}catch{throw new OI(`Invalid base URL: ${e}. Please provide a valid base URL.`)}}function pPe(e){try{let r=new URL(e);if(r.protocol!=="http:"&&r.protocol!=="https:")throw new OI(`Invalid base URL: ${e}. URL must include 'http://' or 'https://'`)}catch(r){if(r instanceof OI)throw r;throw new OI(`Invalid base URL: ${e}. Please provide a valid base URL.`,{cause:r})}}function XT(e,r="/api/auth"){if(pPe(e),ZPe(e))return e;let a=e.replace(/\/+$/,"");if(!r||r==="/")return a;return r=r.startsWith("/")?r:`/${r}`,`${a}${r}`}function qie(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 Hie(e,r,a,i,f){if(e)return XT(e,r);if(i!==!1){let c=pm.BETTER_AUTH_URL||pm.NEXT_PUBLIC_BETTER_AUTH_URL||pm.PUBLIC_BETTER_AUTH_URL||pm.NUXT_PUBLIC_BETTER_AUTH_URL||pm.NUXT_PUBLIC_AUTH_URL||(pm.BASE_URL!=="/"?pm.BASE_URL:void 0);if(c)return XT(c,r)}let s=a?.headers.get("x-forwarded-host"),l=a?.headers.get("x-forwarded-proto");if(s&&l&&f){if(qie(l,"proto")&&qie(s,"host"))try{return XT(`${l}://${s}`,r)}catch(c){}}if(a){let c=mPe(a.url);if(!c)throw new OI("Could not get origin from request. Please provide a valid base URL.");return XT(c,r)}if(typeof window<"u"&&window.location)return XT(window.location.origin,r)}function mPe(e){try{let r=new URL(e);return r.origin==="null"?null:r.origin}catch{return null}}var hPe={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*:/},gPe=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/,Vie={true:!0,false:!1,null:null,undefined:void 0,nan:NaN,infinity:Number.POSITIVE_INFINITY,"-infinity":Number.NEGATIVE_INFINITY},MPe=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,7}))?(?:Z|([+-])(\d{2}):(\d{2}))$/;function vPe(e){return e instanceof Date&&!isNaN(e.getTime())}function xPe(e){let r=MPe.exec(e);if(!r)return null;let[,a,i,f,s,l,c,m,g,M,v]=r,y=new Date(Date.UTC(parseInt(a,10),parseInt(i,10)-1,parseInt(f,10),parseInt(s,10),parseInt(l,10),parseInt(c,10),m?parseInt(m.padEnd(3,"0"),10):0));if(g){let x=(parseInt(M,10)*60+parseInt(v,10))*(g==="+"?-1:1);y.setUTCMinutes(y.getUTCMinutes()+x)}return vPe(y)?y:null}function yPe(e,r={}){let{strict:a=!1,warnings:i=!1,reviver:f,parseDates:s=!0}=r;if(typeof e!=="string")return e;let l=e.trim();if(l.length>0&&l[0]==='"'&&l.endsWith('"')&&!l.slice(1,-1).includes('"'))return l.slice(1,-1);let c=l.toLowerCase();if(c.length<=9&&c in Vie)return Vie[c];if(!gPe.test(l)){if(a)throw SyntaxError("[better-json] Invalid JSON");return e}if(Object.entries(hPe).some(([m,g])=>{let M=g.test(l);if(M&&i)console.warn(`[better-json] Detected potential prototype pollution attempt using ${m} pattern`);return M})&&a)throw Error("[better-json] Potential prototype pollution attempt detected");try{return JSON.parse(l,(g,M)=>{if(g==="__proto__"||g==="constructor"&&M&&typeof M==="object"&&"prototype"in M){if(i)console.warn(`[better-json] Dropping "${g}" key to prevent prototype pollution`);return}if(s&&typeof M==="string"){let v=xPe(M);if(v)return v}return f?f(g,M):M})}catch(m){if(a)throw m;return e}}function Wie(e,r={strict:!0}){return yPe(e,r)}var Gie={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 pu=[],M8=0,PN=null,TN=4,bPe=globalThis.nanostoresGlobal||={epoch:0},_Pe=()=>{let e;for(M8=0;M8<pu.length;M8+=TN)try{pu[M8](pu[M8+1].value,pu[M8+2],pu[M8+3])}catch(r){e=r}if(pu.length=0,e)throw e};var QT=(e)=>{let r=[],a={eq:Object.is,get(){if(!a.lc)a.listen(()=>{})();return a.value},init:e,lc:0,listen(i){return a.lc=r.push(i),()=>{for(let s=M8+TN;s<pu.length;)if(pu[s]===i)pu.splice(s,TN);else s+=TN;let f=r.indexOf(i);if(~f){if(r.splice(f,1),!--a.lc)a.off()}}},notify(i,f){bPe.epoch++;let s=!pu.length&&!PN;for(let l of r){if(PN?.has(l))continue;PN?.add(l),pu.push(l,a,i,PN?void 0:f)}if(s)_Pe()},off(){},set(i){let f=a.value;if(!a.eq(f,i))a.value=i,a.notify(f)},subscribe(i){let f=a.listen(i);return i(a.value),f},value:e};return a};var wPe=5,AN=6,DN=10,zPe=(e,r,a,i)=>{if(e.events=e.events||{},!e.events[a+DN])e.events[a+DN]=i((f)=>{e.events[a].reduceRight((s,l)=>(l(s),s),{shared:{},...f})});return e.events[a]=e.events[a]||[],e.events[a].push(r),()=>{let f=e.events[a],s=f.indexOf(r);if(f.splice(s,1),!f.length)delete e.events[a],e.events[a+DN](),delete e.events[a+DN]}};var Kie=1000,JT=(e,r)=>zPe(e,(i)=>{let f=r(i);if(f)e.events[AN].push(f)},wPe,(i)=>{let f=e.listen;e.listen=(...l)=>{if(!e.lc&&!e.active)e.active=!0,i();return f(...l)};let s=e.off;return e.events[AN]=[],e.off=()=>{s(),setTimeout(()=>{if(e.active&&!e.lc){e.active=!1;for(let l of e.events[AN])l();e.events[AN]=[]}},Kie)},()=>{e.listen=f,e.off=s}});function PU(e,r){let a=SPe(r),i=e;for(let f of a){if(i==null)return;i=i[f]}return i}var Xie=/(.*)\[(\d+)\]/;function SPe(e){return e.split(".").flatMap((r)=>Qie(r))}function Qie(e){if(Xie.test(e)){let[,r,a]=e.match(Xie);return[...Qie(r),a]}return[e]}function TU(e,r,a){let i=new Set(r);return e.listen((f,s,l)=>{if(l===void 0?r.some((c)=>s===void 0||f[c]!==s[c]||PU(f,c)!==PU(s,c)):i.has(l)||i.has(l.split(/\.|\[/)[0]))a(f,s,l)})}var LPe=()=>typeof window>"u",Jie=(e,r,a,i)=>{let f=QT({data:null,error:null,isPending:!0,isRefetching:!1,refetch:(c)=>s(c)}),s=async(c)=>new Promise((m)=>{let g=typeof i==="function"?i({data:f.get().data,error:f.get().error,isPending:f.get().isPending}):i;a(r,{...g,query:{...g?.query,...c?.query},async onSuccess(M){f.set({data:M.data,error:null,isPending:!1,isRefetching:!1,refetch:f.value.refetch}),await g?.onSuccess?.(M)},async onError(M){let{request:v}=M,y=typeof v.retry==="number"?v.retry:v.retry?.attempts,x=v.retryAttempt||0;if(y&&x<y)return;let _=M.error.status===401;f.set({error:M.error,data:_?null:f.get().data,isPending:!1,isRefetching:!1,refetch:f.value.refetch}),await g?.onError?.(M)},async onRequest(M){let v=f.get();f.set({isPending:v.data===null,data:v.data,error:null,isRefetching:!0,refetch:f.value.refetch}),await g?.onRequest?.(M)}}).catch((M)=>{f.set({error:M,data:f.get().data,isPending:!1,isRefetching:!1,refetch:f.value.refetch})}).finally(()=>{m(void 0)})});e=Array.isArray(e)?e:[e];let l=!1;for(let c of e)c.subscribe(async()=>{if(LPe())return;if(l)await s();else JT(f,()=>{let m=setTimeout(async()=>{if(!l)l=!0,await s()},0);return()=>{f.off(),c.off(),clearTimeout(m)}})});return f};var AU=Symbol.for("better-auth:broadcast-channel"),kPe=()=>Math.floor(Date.now()/1000),CPe=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:kPe()}))}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 EN(e="better-auth.message"){if(!globalThis[AU])globalThis[AU]=new CPe(e);return globalThis[AU]}var DU=Symbol.for("better-auth:focus-manager"),IPe=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 EU(){if(!globalThis[DU])globalThis[DU]=new IPe;return globalThis[DU]}var OU=Symbol.for("better-auth:online-manager"),RPe=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 ON(){if(!globalThis[OU])globalThis[OU]=new RPe;return globalThis[OU]}var jI=()=>Math.floor(Date.now()/1000);function $ie(e){if(typeof e==="object"&&e!==null&&"data"in e&&"error"in e)return e;return{data:e,error:null}}var PPe=5;function efe(e){let{sessionAtom:r,sessionSignal:a,$fetch:i,options:f={}}=e,s=f.sessionOptions?.refetchInterval??0,l=f.sessionOptions?.refetchOnWindowFocus??!0,c=f.sessionOptions?.refetchWhenOffline??!1,m={lastSync:0,lastSessionRequest:0,cachedSession:void 0},g=()=>c||ON().isOnline,M=(N)=>{if(!g())return;if(N?.event==="storage"){m.lastSync=jI(),a.set(!a.get());return}let G=r.get(),X=()=>{m.lastSessionRequest=jI(),i("/get-session").then(async(J)=>{let{data:ee,error:re}=$ie(J);if(ee?.needsRefresh)try{let ae=await i("/get-session",{method:"POST"});({data:ee,error:re}=$ie(ae))}catch{}let oe=ee?.session&&ee?.user?ee:null;r.set({...G,data:oe,error:re}),m.lastSync=jI(),a.set(!a.get())}).catch(()=>{})};if(N?.event==="poll"){X();return}if(N?.event==="visibilitychange"){if(jI()-m.lastSessionRequest<PPe)return;m.lastSessionRequest=jI()}if(N?.event==="visibilitychange"){X();return}if(G?.data===null||G?.data===void 0)m.lastSync=jI(),a.set(!a.get())},v=(N)=>{EN().post({event:"session",data:{trigger:N},clientId:Math.random().toString(36).substring(7)})},y=()=>{if(s&&s>0)m.pollInterval=setInterval(()=>{if(r.get()?.data)M({event:"poll"})},s*1000)},x=()=>{m.unsubscribeBroadcast=EN().subscribe(()=>{M({event:"storage"})})},_=()=>{if(!l)return;m.unsubscribeFocus=EU().subscribe(()=>{M({event:"visibilitychange"})})},j=()=>{m.unsubscribeOnline=ON().subscribe((N)=>{if(N)M({event:"visibilitychange"})})};return{init:()=>{y(),x(),_(),j(),EN().setup(),EU().setup(),ON().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 tfe(e,r){let a=QT(!1),i=Jie(a,"/get-session",e,{method:"GET"}),f=()=>{};return JT(i,()=>{let s=efe({sessionAtom:i,sessionSignal:a,$fetch:e,options:r});return s.init(),f=s.broadcastSessionUpdate,()=>{s.cleanup()}}),{session:i,$sessionSignal:a,broadcastSessionUpdate:(s)=>f(s)}}function jU(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 NU(e,r,a=".",i){if(!jU(r))return NU(e,{},a,i);let f={...r};for(let s of Object.keys(e)){if(s==="__proto__"||s==="constructor")continue;let l=e[s];if(l===null||l===void 0)continue;if(i&&i(f,s,l,a))continue;if(Array.isArray(l)&&Array.isArray(f[s]))f[s]=[...l,...f[s]];else if(jU(l)&&jU(f[s]))f[s]=NU(l,f[s],(a?`${a}.`:"")+s.toString(),i);else f[s]=l}return f}function FU(e){return(...r)=>r.reduce((a,i)=>NU(a,i,"",e),{})}var rfe=FU(),nJo=FU((e,r,a)=>{if(e[r]!==void 0&&typeof a==="function")return e[r]=a(e[r]),!0}),iJo=FU((e,r,a)=>{if(Array.isArray(e[r])&&typeof a==="function")return e[r]=a(e[r]),!0});var{defineProperty:TPe,defineProperties:APe,getOwnPropertyDescriptors:DPe,getOwnPropertySymbols:ofe}=Object,EPe=Object.prototype.hasOwnProperty,OPe=Object.prototype.propertyIsEnumerable,afe=(e,r,a)=>(r in e)?TPe(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,mu=(e,r)=>{for(var a in r||(r={}))if(EPe.call(r,a))afe(e,a,r[a]);if(ofe){for(var a of ofe(r))if(OPe.call(r,a))afe(e,a,r[a])}return e},dZ=(e,r)=>APe(e,DPe(r)),jPe=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)}},NPe=async(e,r)=>{var a,i,f,s,l,c;let m=r||{},g={onRequest:[r==null?void 0:r.onRequest],onResponse:[r==null?void 0:r.onResponse],onSuccess:[r==null?void 0:r.onSuccess],onError:[r==null?void 0:r.onError],onRetry:[r==null?void 0:r.onRetry]};if(!r||!(r==null?void 0:r.plugins))return{url:e,options:m,hooks:g};for(let M of(r==null?void 0:r.plugins)||[]){if(M.init){let v=await((a=M.init)==null?void 0:a.call(M,e.toString(),r));m=v.options||m,e=v.url}g.onRequest.push((i=M.hooks)==null?void 0:i.onRequest),g.onResponse.push((f=M.hooks)==null?void 0:f.onResponse),g.onSuccess.push((s=M.hooks)==null?void 0:s.onSuccess),g.onError.push((l=M.hooks)==null?void 0:l.onError),g.onRetry.push((c=M.hooks)==null?void 0:c.onRetry)}return{url:e,options:m,hooks:g}},nfe=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}},FPe=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 BPe(e){if(typeof e==="number")return new nfe({type:"linear",attempts:e,delay:1000});switch(e.type){case"linear":return new nfe(e);case"exponential":return new FPe(e);default:throw Error("Invalid retry strategy")}}var YPe=async(e)=>{let r={},a=async(i)=>typeof i==="function"?await i():i;if(e==null?void 0:e.auth){if(e.auth.type==="Bearer"){let i=await a(e.auth.token);if(!i)return r;r.authorization=`Bearer ${i}`}else if(e.auth.type==="Basic"){let[i,f]=await Promise.all([a(e.auth.username),a(e.auth.password)]);if(!i||!f)return r;r.authorization=`Basic ${btoa(`${i}:${f}`)}`}else if(e.auth.type==="Custom"){let[i,f]=await Promise.all([a(e.auth.prefix),a(e.auth.value)]);if(!f)return r;r.authorization=`${i!=null?i:""} ${f}`}}return r},UPe=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function qPe(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(UPe.test(i))return"json";if(a.has(i)||i.startsWith("text/"))return"text";return"blob"}function HPe(e){try{return JSON.parse(e),!0}catch(r){return!1}}function BU(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 ife(e){try{return JSON.parse(e)}catch(r){return e}}function ffe(e){return typeof e==="function"}function VPe(e){if(e==null?void 0:e.customFetchImpl)return e.customFetchImpl;if(typeof globalThis<"u"&&ffe(globalThis.fetch))return globalThis.fetch;if(typeof window<"u"&&ffe(window.fetch))return window.fetch;throw Error("No fetch implementation found")}async function WPe(e){let r=new Headers(e==null?void 0:e.headers),a=await YPe(e);for(let[i,f]of Object.entries(a||{}))r.set(i,f);if(!r.has("content-type")){let i=GPe(e==null?void 0:e.body);if(i)r.set("content-type",i)}return r}function GPe(e){if(BU(e))return"application/json";return null}function KPe(e){if(!(e==null?void 0:e.body))return null;let r=new Headers(e==null?void 0:e.headers);if(BU(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(BU(e.body))return new URLSearchParams(e.body).toString();return e.body}return e.body}function XPe(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(!sfe.includes(i))return(r==null?void 0:r.body)?"POST":"GET";return i.toUpperCase()}return(r==null?void 0:r.body)?"POST":"GET"}function QPe(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 JPe=class e extends Error{constructor(r,a){super(a||JSON.stringify(r,null,2));this.issues=r,Object.setPrototypeOf(this,e.prototype)}};async function jN(e,r){let a=await e["~standard"].validate(r);if(a.issues)throw new JPe(a.issues);return a.value}var sfe=["get","post","put","patch","delete"];var $Pe=(e)=>({id:"apply-schema",name:"Apply Schema",version:"1.0.0",async init(r,a){var i,f,s,l;let c=((f=(i=e.plugins)==null?void 0:i.find((m)=>{var g;return((g=m.schema)==null?void 0:g.config)?r.startsWith(m.schema.config.baseURL||"")||r.startsWith(m.schema.config.prefix||""):!1}))==null?void 0:f.schema)||e.schema;if(c){let m=r;if((s=c.config)==null?void 0:s.prefix){if(m.startsWith(c.config.prefix)){if(m=m.replace(c.config.prefix,""),c.config.baseURL)r=r.replace(c.config.prefix,c.config.baseURL)}}if((l=c.config)==null?void 0:l.baseURL){if(m.startsWith(c.config.baseURL))m=m.replace(c.config.baseURL,"")}let g=c.schema[m];if(g){let M=dZ(mu({},a),{method:g.method,output:g.output});if(!(a==null?void 0:a.disableValidation))M=dZ(mu({},M),{body:g.input?await jN(g.input,a==null?void 0:a.body):a==null?void 0:a.body,params:g.params?await jN(g.params,a==null?void 0:a.params):a==null?void 0:a.params,query:g.query?await jN(g.query,a==null?void 0:a.query):a==null?void 0:a.query});return{url:r,options:M}}}return{url:r,options:a}}}),lfe=(e)=>{async function r(a,i){let f=dZ(mu(mu({},e),i),{plugins:[...(e==null?void 0:e.plugins)||[],$Pe(e||{}),...(i==null?void 0:i.plugins)||[]]});if(e==null?void 0:e.catchAllError)try{return await YU(a,f)}catch(s){return{data:null,error:{status:500,statusText:"Fetch Error",message:"Fetch related error. Captured by catchAllError option. See error property for more details.",error:s}}}return await YU(a,f)}return r};function eTe(e,r){let{baseURL:a,params:i,query:f}=r||{query:{},params:{},baseURL:""},s=e.startsWith("http")?e.split("/").slice(0,3).join("/"):a||"";if(e.startsWith("@")){let v=e.toString().split("@")[1].split("/")[0];if(sfe.includes(v))e=e.replace(`@${v}/`,"/")}if(!s.endsWith("/"))s+="/";let[l,c]=e.replace(s,"").split("?"),m=new URLSearchParams(c);for(let[v,y]of Object.entries(f||{})){if(y==null)continue;let x;if(typeof y==="string")x=y;else if(Array.isArray(y)){for(let _ of y)m.append(v,_);continue}else x=JSON.stringify(y);m.set(v,x)}if(i)if(Array.isArray(i)){let v=l.split("/").filter((y)=>y.startsWith(":"));for(let[y,x]of v.entries()){let _=i[y];l=l.replace(x,_)}}else for(let[v,y]of Object.entries(i))l=l.replace(`:${v}`,String(y));if(l=l.split("/").map(encodeURIComponent).join("/"),l.startsWith("/"))l=l.slice(1);let g=m.toString();if(g=g.length>0?`?${g}`.replace(/\+/g,"%20"):"",!s.startsWith("http"))return`${s}${l}${g}`;return new URL(`${l}${g}`,s)}var YU=async(e,r)=>{var a,i,f,s,l,c,m,g;let{hooks:M,url:v,options:y}=await NPe(e,r),x=VPe(y),_=new AbortController,j=(a=y.signal)!=null?a:_.signal,U=eTe(v,y),T=KPe(y),N=await WPe(y),G=XPe(v,y),X=dZ(mu({},y),{url:U,headers:N,body:T,method:G,signal:j});for(let ze of M.onRequest)if(ze){let qe=await ze(X);if(typeof qe==="object"&&qe!==null)X=qe}if("pipeTo"in X&&typeof X.pipeTo==="function"||typeof((i=r==null?void 0:r.body)==null?void 0:i.pipe)==="function"){if(!("duplex"in X))X.duplex="half"}let{clearTimeout:J}=QPe(y,_),ee=await x(X.url,X);J();let re={response:ee,request:X};for(let ze of M.onResponse)if(ze){let qe=await ze(dZ(mu({},re),{response:((f=r==null?void 0:r.hookOptions)==null?void 0:f.cloneResponse)?ee.clone():ee}));if(qe instanceof Response)ee=qe;else if(typeof qe==="object"&&qe!==null)ee=qe.response}if(ee.ok){if(X.method==="HEAD")return{data:"",error:null};let qe=qPe(ee),ut={data:null,response:ee,request:X};if(qe==="json"||qe==="text"){let $e=await ee.text(),xt=(s=X.jsonParser)!=null?s:ife;ut.data=await xt($e)}else ut.data=await ee[qe]();if(X==null?void 0:X.output){if(X.output&&!X.disableValidation)ut.data=await jN(X.output,ut.data)}for(let $e of M.onSuccess)if($e)await $e(dZ(mu({},ut),{response:((l=r==null?void 0:r.hookOptions)==null?void 0:l.cloneResponse)?ee.clone():ee}));if(r==null?void 0:r.throw)return ut.data;return{data:ut.data,error:null}}let oe=(c=r==null?void 0:r.jsonParser)!=null?c:ife,ae=await ee.text(),ye=HPe(ae),We=ye?await oe(ae):null,Ye={response:ee,responseText:ae,request:X,error:dZ(mu({},We),{status:ee.status,statusText:ee.statusText})};for(let ze of M.onError)if(ze)await ze(dZ(mu({},Ye),{response:((m=r==null?void 0:r.hookOptions)==null?void 0:m.cloneResponse)?ee.clone():ee}));if(r==null?void 0:r.retry){let ze=BPe(r.retry),qe=(g=r.retryAttempt)!=null?g:0;if(await ze.shouldAttemptRetry(qe,ee)){for(let $e of M.onRetry)if($e)await $e(re);let ut=ze.getDelay(qe);return await new Promise(($e)=>setTimeout($e,ut)),await YU(e,dZ(mu({},r),{retryAttempt:qe+1}))}}if(r==null?void 0:r.throw)throw new jPe(ee.status,ee.statusText,ye?We:ae);return{data:null,error:dZ(mu({},We),{status:ee.status,statusText:ee.statusText})}};var tTe=(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{}}},cfe=(e,r)=>{let a="credentials"in Request.prototype,i=Hie(e?.baseURL,e?.basePath,void 0,r)??tTe(e?.basePath)??"/api/auth",f=e?.plugins?.flatMap((J)=>J.fetchPlugins).filter((J)=>J!==void 0)||[],s={id:"lifecycle-hooks",name:"lifecycle-hooks",hooks:{onSuccess:e?.fetchOptions?.onSuccess,onError:e?.fetchOptions?.onError,onRequest:e?.fetchOptions?.onRequest,onResponse:e?.fetchOptions?.onResponse}},{onSuccess:l,onError:c,onRequest:m,onResponse:g,...M}=e?.fetchOptions||{},v=lfe({baseURL:i,...a?{credentials:"include"}:{},method:"GET",jsonParser(J){if(!J)return null;return Wie(J,{strict:!1})},customFetchImpl:fetch,...M,plugins:[s,...M.plugins||[],...e?.disableDefaultFetchPlugins?[]:[Gie],...f]}),{$sessionSignal:y,session:x,broadcastSessionUpdate:_}=tfe(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=rfe(J.getActions?.(v,X,e)??{},U);return{get baseURL(){return i},pluginsActions:U,pluginsAtoms:T,pluginPathMethods:N,atomListeners:G,$fetch:v,$store:X}};function ufe(e){return typeof e==="object"&&e!==null&&"get"in e&&typeof e.get==="function"&&"lc"in e&&typeof e.lc==="number"}function rTe(e,r,a){let i=r[e],{fetchOptions:f,query:s,...l}=a||{};if(i)return i;if(f?.method)return f.method;if(l&&Object.keys(l).length>0)return"POST";return"GET"}function dfe(e,r,a,i,f){function s(l=[]){return new Proxy(function(){},{get(c,m){if(typeof m!=="string")return;if(m==="then"||m==="catch"||m==="finally")return;let g=[...l,m],M=e;for(let v of g)if(M&&typeof M==="object"&&v in M)M=M[v];else{M=void 0;break}if(typeof M==="function")return M;if(ufe(M))return M;return s(g)},apply:async(c,m,g)=>{let M="/"+l.map((N)=>N.replace(/[A-Z]/g,(G)=>`-${G.toLowerCase()}`)).join("/"),v=g[0]||{},y=g[1]||{},{query:x,fetchOptions:_,...j}=v,U={...y,..._},T=rTe(M,a,v);return await r(M,{...U,body:T==="GET"?void 0:{...j,...U?.body||{}},query:x||U?.query,method:T,async onSuccess(N){if(await U?.onSuccess?.(N),!f||U.disableSignal)return;let G=f.filter((J)=>J.matcher(M));if(!G.length)return;let X=new Set;for(let J of G){let ee=i[J.signal];if(!ee)return;if(X.has(J.signal))continue;X.add(J.signal);let re=ee.get();setTimeout(()=>{ee.set(!re)},10),J.callback?.(M)}}})}})}return s()}S();function Zfe(e,r={}){let a=b(e.get()),{keys:i,deps:f=[e,i]}=r,s=P((c)=>{let m=(g)=>{if(a.current===g)return;a.current=g,c()};if(m(e.value),i?.length)return TU(e,i,m);return e.listen(m)},f),l=()=>a.current;return Yn(s,l,l)}function pfe(e){return e.charAt(0).toUpperCase()+e.slice(1)}function oTe(e){return`use${pfe(e)}`}function mfe(e){let{pluginPathMethods:r,pluginsActions:a,pluginsAtoms:i,$fetch:f,$store:s,atomListeners:l}=cfe(e),c={};for(let[m,g]of Object.entries(i))c[oTe(m)]=()=>Zfe(g);return dfe({...a,...c,$fetch:f,$store:s},f,r,i,l)}var aTe=mfe({baseURL:window.location.origin}),{signIn:hfe,signUp:gfe,useSession:PJo,signOut:Mfe,resetPassword:ym}=aTe;var vfe="0.4.7";var FN={};var kfe=["en","zh"];var VU=["cookie","globalVariable","baseLocale"],xfe=[],WU=[{pattern:":protocol://:domain(.*)::port?/:path(.*)?",localized:[["zh",":protocol://:domain(.*)::port?/zh/:path(.*)?"],["en",":protocol://:domain(.*)::port?/:path(.*)?"]]}];var BN=void 0;var Gz=typeof window>"u",d=void 0;var Cfe=!0,Ife=!1,Rfe=!0,nTe=!1,GU=!0,Pfe=!1;globalThis.__paraglide=globalThis.__paraglide??{};globalThis.__paraglide.ssr=globalThis.__paraglide.ssr??{};var YN,yfe=!1,n=()=>{if(d!==void 0)return d;if(BN){let a=BN?.getStore()?.locale;if(a)return a}let e=VU;if(!Gz&&typeof window<"u"&&window.location?.href)e=jfe(window.location.href);let r=iTe(e,typeof window<"u"?window.location?.href:void 0);if(r){if(!yfe)YN=r,yfe=!0,Mi(r,{reload:!1});return r}throw Error("No locale found. Read the docs https://paraglidejs.com/errors#no-locale-found")};function iTe(e,r){let a;for(let i of e){if(Cfe&&i==="cookie")a=uTe();else if(i==="baseLocale")a="en";else if(Ife&&i==="url"&&!Gz&&typeof r==="string")a=Dfe(r);else if(Rfe&&i==="globalVariable"&&YN!==void 0)a=YN;else if(nTe&&i==="preferredLanguage"&&!Gz)a=dTe();else if(Pfe&&i==="localStorage"&&!Gz)a=localStorage.getItem("PARAGLIDE_LOCALE")??void 0;else if(Nfe(i)&&KN.has(i)){let s=KN.get(i);if(s){let l=s.getLocale();if(l instanceof Promise)continue;if(l!==void 0)return Afe(l)}}let f=v8(a);if(f)return f}return}var fTe=(e)=>{if(e)window.location.href=e;else window.location.reload()},Mi=(e,r)=>{let a={reload:!0,...r};if(d!==void 0&&e!==d&&a.reload===!1)console.warn(`Paraglide: setLocale(${JSON.stringify(e)}, { reload: false }) cannot switch away from the statically built locale ${JSON.stringify(d)}. A document navigation is required; reload has been forced to true.`),a.reload=!0;let i;try{i=n()}catch{}let f=[],s=void 0,l=VU;if(!Gz&&typeof window<"u"&&window.location?.href)l=jfe(window.location.href);for(let m of l)if(Rfe&&m==="globalVariable")YN=e;else if(Cfe&&m==="cookie"){if(Gz||typeof document>"u"||typeof window>"u")continue;let g=`PARAGLIDE_LOCALE=${e}; path=/; max-age=34560000`;document.cookie=g,HU()}else if(m==="baseLocale")continue;else if(Ife&&m==="url"&&typeof window<"u")s=pTe(window.location.href,{locale:e}).href;else if(Pfe&&m==="localStorage"&&typeof window<"u")localStorage.setItem("PARAGLIDE_LOCALE",e);else if(Nfe(m)&&KN.has(m)){let g=KN.get(m);if(g){let M=g.setLocale(e);if(M instanceof Promise)M=M.catch((v)=>{throw Error(`Custom strategy "${m}" setLocale failed.`,{cause:v})}),f.push(M)}}let c=()=>{if(!Gz&&a.reload&&window.location&&e!==i)fTe(s)};if(f.length)return Promise.all(f).then(()=>{c()});c();return};var Tfe=()=>{if(BN)return BN.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 kfe)if(a.toLowerCase()===r)return a;return}function Afe(e){let r=v8(e);if(r)return r;throw Error(`Invalid locale: ${e}. Expected one of: ${kfe.join(", ")}`)}function gc(e){return e}function NI(e,r){return e.exec(r.href)}var sTe="PARAGLIDE_LOCALE".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),lTe=new RegExp(`(?:^|;\\s*)${sTe}=([^;]*)`),KU=Symbol(),$T=KU;function HU(){$T=KU}function cTe(){if(typeof queueMicrotask==="function")queueMicrotask(HU);else Promise.resolve().then(HU)}function uTe(){if(typeof document>"u")return;if($T!==KU)return $T;let r=document.cookie.match(lTe)?.[1];return $T=v8(r),cTe(),$T}function dTe(){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 bfe,_fe;function Dfe(e){let r=typeof e==="string"?e:e.href;if(bfe===r)return _fe;let a;if(GU){let i=typeof e==="string"?new URL(e,"http://example.com"):new URL(e);a=ZTe(gc(i))}else{let i=gc(typeof e==="string"?new URL(e):new URL(e));for(let f of WU){for(let[s,l]of f.localized)if(NI(new FN(l,i.href),i)){a=s;break}if(a)break}}return bfe=r,_fe=a,a}function ZTe(e){let a=new URL(e,"http://example.com").pathname.split("/").filter(Boolean);return v8(a[0])||"en"}function pTe(e,r){let a=r?.locale?Afe(r?.locale):n();if(GU)return mTe(e,a);let i=typeof e==="string"?new URL(e):e,f=i;for(let s of WU){let l=xTe(f,a,s);if(l!==void 0)return l;for(let[,m]of s.localized){let g=NI(VN(m,f),f);if(!g)continue;let M=s.localized.find(([y])=>y===a)?.[1];if(!M)continue;let v=qN(M,HN(g),f.origin);return gc(UN(v,g))}let c=NI(VN(s.pattern,f),f);if(c){let m=s.localized.find(([g])=>g===a)?.[1];if(m){let g=qN(m,HN(c),f.origin);return gc(UN(g,c))}}}return i}function mTe(e,r){let a=gc(typeof e==="string"?new URL(e,Tfe()):new URL(e));if(Dfe(a)===r)return gc(a);let f=a.pathname.split("/").filter(Boolean);if(f.length>0&&v8(f[0]))f.shift();if(r==="en")a.pathname="/"+f.join("/");else a.pathname="/"+r+"/"+f.join("/");return gc(a)}function hTe(e){if(GU)return gTe(e);let r=typeof e==="string"?new URL(e):e,a=r;for(let i of WU){let f=yTe(a,i);if(f!==void 0)return f;for(let[,l]of i.localized){let c=NI(VN(l,a),a);if(c){let m=HN(c),g=qN(i.pattern,m,a.origin);return gc(UN(g,c))}}let s=NI(VN(i.pattern,a),a);if(s){let l=qN(i.pattern,HN(s),a.origin);return gc(UN(l,s))}}return r}function gTe(e){let r=gc(typeof e==="string"?new URL(e,Tfe()):new URL(e)),a=r.pathname.split("/").filter(Boolean);if(a.length>0&&v8(a[0]))r.pathname="/"+a.slice(1).join("/");return gc(r)}function UN(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 qN(e,r,a){let s=e.replace(/(https?:\/\/[^:/]+):(\d+)(\/|$)/g,(l,c,m,g)=>`${c}#PORT-${m}#${g}`).replace(/\{([^{}]*)\}([?+*]?)/g,(l,c,m)=>{if(m==="?")return c;return c}).replace(/(\/?):([a-zA-Z0-9_]+)(\([^)]*\))?([?+*]?)/g,(l,c,m,g,M)=>{let v=r[m];if(v===null)return"";if(M==="?")return v!==void 0?`${c}${v}`:"";if(M==="+"||M==="*"){if(v===void 0&&M==="+")throw Error(`Missing value for "${m}" (one or more required)`);return v?`${c}${v}`:""}if(v===void 0)throw Error(`Missing value for "${m}"`);return`${c}${v}`});return s=s.replace(/#PORT-(\d+)#/g,":$1"),new URL(s,a)}function HN(e){return{...e.hash.groups,...e.hostname.groups,...e.password.groups,...e.pathname.groups,...e.port.groups,...e.protocol.groups,...e.search.groups,...e.username.groups}}var Wz=new Map,MTe=128,vTe=/^(?:[A-Za-z][A-Za-z\d+.-]*|:[A-Za-z][A-Za-z\d_-]*):\/\//;function VN(e,r){let a=vTe.test(e),i=e.startsWith("/");if(!a&&!i)return new FN(e,r.href);let f=a?e:JSON.stringify([r.origin,e]),s=Wz.get(f);if(s!==void 0)return Wz.delete(f),Wz.set(f,s),s;let l=new FN(e,r.href);if(Wz.size>=MTe){let c=Wz.keys().next().value;if(c!==void 0)Wz.delete(c)}return Wz.set(f,l),l}var NN=new WeakMap;function xTe(e,r,a){let i=Efe(a);if(i===null)return;for(let s of i.localized){let l=WN(s.pattern,e);if(l===void 0)continue;let c=i.localized.find((m)=>m.locale===r)?.pattern;if(c===void 0)continue;return GN(c,l,e)}let f=WN(i.base,e);if(f!==void 0){let s=i.localized.find((l)=>l.locale===r)?.pattern;if(s!==void 0)return GN(s,f,e)}return}function yTe(e,r){let a=Efe(r);if(a===null)return;for(let f of a.localized){let s=WN(f.pattern,e);if(s!==void 0)return GN(a.base,s,e)}let i=WN(a.base,e);if(i!==void 0)return GN(a.base,i,e);return}function Efe(e){let r=NN.get(e);if(r!==void 0)return r;let a=wfe(e.pattern);if(a===void 0)return NN.set(e,null),null;let i=[];for(let[s,l]of e.localized){let c=wfe(l);if(c===void 0||c.pathMode!==a.pathMode)return NN.set(e,null),null;i.push({locale:s,pattern:c})}let f={base:a,localized:i};return NN.set(e,f),f}function wfe(e){let r=e.match(/\/:path(?:\(\.\*\)(?:\?)?|\*)$/);if(r===null||r.index===void 0)return;let a=e.slice(0,r.index),i=bTe(a);if(i===void 0)return;let f=r[0].endsWith("*")?"segments":r[0].endsWith("?")?"catch-all-optional":"catch-all-required";return{...i,pathMode:f}}function bTe(e){if(e===""||e.startsWith("/")){if(UU(e))return;return{protocol:void 0,hostname:void 0,port:void 0,pathnamePrefix:qU(e),pathMode:"catch-all-optional"}}let r=e.match(/^:protocol:\/\/([^/]+)(\/.*)?$/),a=e.match(/^([A-Za-z][A-Za-z\d+.-]*):\/\/([^/]+)(\/.*)?$/);if(r!==null){let c=(r[1]??"").match(/^([^:(){}?*+]+)(?::(\d+))?$/);if(c===null||r[2]!==void 0&&UU(r[2]))return;return{protocol:void 0,hostname:(c[1]??"").toLowerCase(),port:c[2],pathnamePrefix:qU(r[2]??""),pathMode:"catch-all-optional"}}if(a===null)return;let i=a[2]??"",f=a[3],s=i.match(/^([^:(){}?*+]+)(?::(\d+))?$/);if(s===null||f!==void 0&&UU(f))return;return{protocol:`${a[1]}:`,hostname:(s[1]??"").toLowerCase(),port:_Te(s[2],`${a[1]}:`),pathnamePrefix:qU(f??""),pathMode:"catch-all-optional"}}function _Te(e,r){if(e==="80"&&r==="http:")return"";if(e==="443"&&r==="https:")return"";return e}function UU(e){return/[:(){}?*+]/.test(e)}function qU(e){if(e===""||e==="/")return"/";return e.endsWith("/")?e.slice(0,-1):e}function WN(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??Ofe(e.protocol??r.protocol))!==r.port)return}let a=e.pathnamePrefix;if(a==="/"){if(r.pathname.startsWith("//"))return;if(e.pathMode==="segments")return zfe(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"&&!zfe(i))return;return i}return}function zfe(e){return e.length>1&&!e.endsWith("/")&&!e.includes("//")}function Ofe(e){if(e==="http:")return"";if(e==="https:")return"";return""}function GN(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??Ofe(i.protocol);return i.pathname=wTe(e.pathnamePrefix,r),i}function wTe(e,r){if(e==="/")return r===""?"/":r;if(r==="")return e;return`${e}${r.startsWith("/")?r:`/${r}`}`}var Sfe,Lfe;function zTe(e){if(xfe.length===0)return;let r=typeof e==="string"?e:e.href;if(Sfe===r)return Lfe;let a=gc(new URL(r,"http://example.com")),i=hTe(a),f=i.href===a.href?[a]:[a,i],s;for(let l of f){for(let c of xfe){let m=new FN(c.match,l.href);if(NI(m,l)){s=c;break}}if(s)break}return Sfe=r,Lfe=s,s}function jfe(e){let r=zTe(e);if(r&&r.exclude!==!0&&Array.isArray(r.strategy))return r.strategy;return VU}var KN=new Map;function Nfe(e){return typeof e==="string"&&/^custom-[A-Za-z0-9_-]+$/.test(e)}var STe=()=>"Access Denied",LTe=()=>"访问被拒绝",vA=(e={},r={})=>{if((d??r.locale??n())==="zh")return LTe(e);return STe(e)};var kTe=()=>"Action",CTe=()=>"操作",wA=(e={},r={})=>{if((d??r.locale??n())==="zh")return CTe(e);return kTe(e)};var ITe=()=>"Actions",RTe=()=>"操作",xA=(e={},r={})=>{if((d??r.locale??n())==="zh")return RTe(e);return ITe(e)};var PTe=()=>"Active",TTe=()=>"启用",SA=(e={},r={})=>{if((d??r.locale??n())==="zh")return TTe(e);return PTe(e)};var ATe=()=>"active",DTe=()=>"个激活",EA=(e={},r={})=>{if((d??r.locale??n())==="zh")return DTe(e);return ATe(e)};var ETe=()=>"Activity",OTe=()=>"活动",jTe=(e={},r={})=>{if((d??r.locale??n())==="zh")return OTe(e);return ETe(e)};var NTe=()=>"Activity Notifications",FTe=()=>"活动通知",CA=(e={},r={})=>{if((d??r.locale??n())==="zh")return FTe(e);return NTe(e)};var BTe=()=>"Receive in-app updates for comments, uploads, and automated background analysis tasks inside this project.",YTe=()=>"接收此项目中评论、上传及自动后台分析任务的应用内通知。",IA=(e={},r={})=>{if((d??r.locale??n())==="zh")return YTe(e);return BTe(e)};var UTe=()=>"Add",qTe=()=>"添加",gf=(e={},r={})=>{if((d??r.locale??n())==="zh")return qTe(e);return UTe(e)};var HTe=()=>"Add Assets",VTe=()=>"添加资产",Ffe=(e={},r={})=>{if((d??r.locale??n())==="zh")return VTe(e);return HTe(e)};var WTe=()=>"+ Add condition",GTe=()=>"+ 添加条件",TA=(e={},r={})=>{if((d??r.locale??n())==="zh")return GTe(e);return WTe(e)};var KTe=()=>"Add Domain",XTe=()=>"添加域名",MA=(e={},r={})=>{if((d??r.locale??n())==="zh")return XTe(e);return KTe(e)};var QTe=()=>"Add your first AI provider to get started.",JTe=()=>"添加您的第一个 AI 提供商以开始使用。",kA=(e={},r={})=>{if((d??r.locale??n())==="zh")return JTe(e);return QTe(e)};var $Te=()=>"Add Image Block",eAe=()=>"添加图片块",bm=(e={},r={})=>{if((d??r.locale??n())==="zh")return eAe(e);return $Te(e)};var tAe=()=>"Add MCP Server",rAe=()=>"添加 MCP 服务",Af=(e={},r={})=>{if((d??r.locale??n())==="zh")return rAe(e);return tAe(e)};var oAe=()=>"Add an MCP server to extend your AI agent tools.",aAe=()=>"添加 MCP 服务以扩展 AI Agent 的工具能力。",RA=(e={},r={})=>{if((d??r.locale??n())==="zh")return aAe(e);return oAe(e)};var nAe=()=>"Add Members from Other Projects",iAe=()=>"从其他项目添加成员",NA=(e={},r={})=>{if((d??r.locale??n())==="zh")return iAe(e);return nAe(e)};var fAe=()=>"Project-scoped members who currently do not have access to this project.",sAe=()=>"当前无权访问此项目的项目成员。",DA=(e={},r={})=>{if((d??r.locale??n())==="zh")return sAe(e);return fAe(e)};var lAe=()=>"Add Model",cAe=()=>"添加模型",rd=(e={},r={})=>{if((d??r.locale??n())==="zh")return cAe(e);return lAe(e)};var uAe=()=>"Add New Provider",dAe=()=>"添加新提供商",PA=(e={},r={})=>{if((d??r.locale??n())==="zh")return dAe(e);return uAe(e)};var ZAe=()=>"Add New Skill",pAe=()=>"添加新技能",OA=(e={},r={})=>{if((d??r.locale??n())==="zh")return pAe(e);return ZAe(e)};var mAe=()=>"Add option",hAe=()=>"添加选项",nd=(e={},r={})=>{if((d??r.locale??n())==="zh")return hAe(e);return mAe(e)};var gAe=(e)=>`Add options: ${e?.name}`,MAe=(e)=>`添加选项:${e?.name}`,vm=(e,r={})=>{if((d??r.locale??n())==="zh")return MAe(e);return gAe(e)};var vAe=()=>"Add Provider",xAe=()=>"添加提供商",wm=(e={},r={})=>{if((d??r.locale??n())==="zh")return xAe(e);return vAe(e)};var yAe=()=>"Add Quota",bAe=()=>"添加配额",xm=(e={},r={})=>{if((d??r.locale??n())==="zh")return bAe(e);return yAe(e)};var _Ae=()=>"Add reaction",wAe=()=>"添加回应",FA=(e={},r={})=>{if((d??r.locale??n())==="zh")return wAe(e);return _Ae(e)};var zAe=()=>"Add Skill",SAe=()=>"添加技能",LA=(e={},r={})=>{if((d??r.locale??n())==="zh")return SAe(e);return zAe(e)};var LAe=()=>"Add a skill via GitHub URL or upload a ZIP file to get started.",kAe=()=>"通过 GitHub URL 添加技能或上传 ZIP 文件以开始使用。",ZA=(e={},r={})=>{if((d??r.locale??n())==="zh")return kAe(e);return LAe(e)};var CAe=()=>"Customize Team Member Role",IAe=()=>"自定义团队成员在项目的角色",BA=(e={},r={})=>{if((d??r.locale??n())==="zh")return IAe(e);return CAe(e)};var RAe=()=>"Team members already have access to all projects with their default team role. Set a custom role for this specific project here.",PAe=()=>"团队成员默认使用其团队角色访问所有项目。您可以在此为其设置独立的项目角色。",UA=(e={},r={})=>{if((d??r.locale??n())==="zh")return PAe(e);return RAe(e)};var TAe=()=>"Add Text Block",AAe=()=>"添加文本块",_f=(e={},r={})=>{if((d??r.locale??n())==="zh")return AAe(e);return TAe(e)};var DAe=()=>"Add to Project",EAe=()=>"添加到项目",zA=(e={},r={})=>{if((d??r.locale??n())==="zh")return EAe(e);return DAe(e)};var OAe=()=>"Add to Share Links",jAe=()=>"添加到分享链接",Sm=(e={},r={})=>{if((d??r.locale??n())==="zh")return jAe(e);return OAe(e)};var NAe=()=>"Add Variable",FAe=()=>"添加变量",jA=(e={},r={})=>{if((d??r.locale??n())==="zh")return FAe(e);return NAe(e)};var BAe=(e)=>`Added ${e?.name} successfully`,YAe=(e)=>`已成功添加 ${e?.name}`,Em=(e,r={})=>{if((d??r.locale??n())==="zh")return YAe(e);return BAe(e)};var UAe=()=>"Agent Avatar",qAe=()=>"智能体头像",qA=(e={},r={})=>{if((d??r.locale??n())==="zh")return qAe(e);return UAe(e)};var HAe=()=>"Agent created successfully",VAe=()=>"智能体创建成功",HA=(e={},r={})=>{if((d??r.locale??n())==="zh")return VAe(e);return HAe(e)};var WAe=()=>"Agent deleted successfully",GAe=()=>"智能体删除成功",$A=(e={},r={})=>{if((d??r.locale??n())==="zh")return GAe(e);return WAe(e)};var KAe=()=>"Step-by-step execution trace of the agent's background tasks and tool calls.",XAe=()=>"智能体后台任务和工具调用的逐步执行跟踪。",GA=(e={},r={})=>{if((d??r.locale??n())==="zh")return XAe(e);return KAe(e)};var QAe=()=>"Agent Name",JAe=()=>"智能体名称",VA=(e={},r={})=>{if((d??r.locale??n())==="zh")return JAe(e);return QAe(e)};var $Ae=()=>"e.g., Support Assistant",e2e=()=>"例如:支持助手",QA=(e={},r={})=>{if((d??r.locale??n())==="zh")return e2e(e);return $Ae(e)};var t2e=()=>"Agent Sandbox",r2e=()=>"智能体沙箱",KA=(e={},r={})=>{if((d??r.locale??n())==="zh")return r2e(e);return t2e(e)};var o2e=()=>"Agent Sandbox Settings",a2e=()=>"智能体沙箱设置",WA=(e={},r={})=>{if((d??r.locale??n())==="zh")return a2e(e);return o2e(e)};var n2e=()=>"Agent Session Logs",i2e=()=>"智能体会话日志",YA=(e={},r={})=>{if((d??r.locale??n())==="zh")return i2e(e);return n2e(e)};var f2e=()=>"Agent Soul (Personality)",s2e=()=>"智能体灵魂(个性)",JA=(e={},r={})=>{if((d??r.locale??n())==="zh")return s2e(e);return f2e(e)};var l2e=()=>"Describe the agent's personality, tone, and behavior...",c2e=()=>"描述智能体的个性、语调和行为...",XA=(e={},r={})=>{if((d??r.locale??n())==="zh")return c2e(e);return l2e(e)};var u2e=()=>"Allows the agent to run terminal/shell commands in a highly isolated environment.",d2e=()=>"允许智能体在高度隔离的环境中运行终端/命令行命令。",e0=(e={},r={})=>{if((d??r.locale??n())==="zh")return d2e(e);return u2e(e)};var Z2e=()=>"Sandboxed Terminal",p2e=()=>"沙箱终端",t0=(e={},r={})=>{if((d??r.locale??n())==="zh")return p2e(e);return Z2e(e)};var m2e=()=>"Allows the agent to create files in Shumai, either by uploading a local file or by providing the file name and content directly.",h2e=()=>"允许智能体在 Shumai 中创建文件,既可以通过上传本地文件,也可以直接提供文件名和内容。",r0=(e={},r={})=>{if((d??r.locale??n())==="zh")return h2e(e);return m2e(e)};var g2e=()=>"Create File",M2e=()=>"创建文件",Cm=(e={},r={})=>{if((d??r.locale??n())==="zh")return M2e(e);return g2e(e)};var v2e=()=>"Allows the agent to create new folders in Shumai.",x2e=()=>"允许智能体在 Shumai 中创建新文件夹。",n0=(e={},r={})=>{if((d??r.locale??n())==="zh")return x2e(e);return v2e(e)};var y2e=()=>"Create Folder",b2e=()=>"创建文件夹",Im=(e={},r={})=>{if((d??r.locale??n())==="zh")return b2e(e);return y2e(e)};var _2e=()=>"Allows the agent to upload and stack a new version of an existing file in Shumai.",w2e=()=>"允许智能体在 Shumai 中为已有文件上传并叠加新版本。",o0=(e={},r={})=>{if((d??r.locale??n())==="zh")return w2e(e);return _2e(e)};var z2e=()=>"Create Version",S2e=()=>"创建版本",Tm=(e={},r={})=>{if((d??r.locale??n())==="zh")return S2e(e);return z2e(e)};var L2e=()=>"Allows the agent to delete a single file or folder in Shumai.",k2e=()=>"允许智能体在 Shumai 中删除单个文件或文件夹。",s0=(e={},r={})=>{if((d??r.locale??n())==="zh")return k2e(e);return L2e(e)};var C2e=()=>"Delete Asset",I2e=()=>"删除资产",Mm=(e={},r={})=>{if((d??r.locale??n())==="zh")return I2e(e);return C2e(e)};var R2e=()=>"Allows the agent to generate images from prompts and reference images using configured AI image models.",P2e=()=>"允许智能体使用已配置的 AI 图片模型根据提示词和参考图片生成图片。",a0=(e={},r={})=>{if((d??r.locale??n())==="zh")return P2e(e);return R2e(e)};var T2e=()=>"Generate Image",A2e=()=>"生成图片",km=(e={},r={})=>{if((d??r.locale??n())==="zh")return A2e(e);return T2e(e)};var D2e=()=>"Allows the agent to generate videos from text, images, or frame sequences using configured AI video models.",E2e=()=>"允许智能体使用已配置的 AI 视频模型根据提示词、图片或首尾帧生成视频。",i0=(e={},r={})=>{if((d??r.locale??n())==="zh")return E2e(e);return D2e(e)};var O2e=()=>"Generate Video",j2e=()=>"生成视频",Rm=(e={},r={})=>{if((d??r.locale??n())==="zh")return j2e(e);return O2e(e)};var N2e=()=>"Allows the agent to list folders and browse files in Shumai.",F2e=()=>"允许智能体列出文件夹并浏览 Shumai 中的文件。",l0=(e={},r={})=>{if((d??r.locale??n())==="zh")return F2e(e);return N2e(e)};var B2e=()=>"Browse Shumai",Y2e=()=>"浏览 Shumai",Nm=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y2e(e);return B2e(e)};var U2e=()=>"Allows the agent to move one or more assets to another folder in Shumai.",q2e=()=>"允许智能体将一个或多个资产移动到 Shumai 中的其他文件夹。",c0=(e={},r={})=>{if((d??r.locale??n())==="zh")return q2e(e);return U2e(e)};var H2e=()=>"Move Assets",V2e=()=>"移动资产",Dm=(e={},r={})=>{if((d??r.locale??n())==="zh")return V2e(e);return H2e(e)};var W2e=()=>"Allows the agent to view and inspect images, video frames, and document pages.",G2e=()=>"允许智能体查看和分析图片、视频画面和文档页面。",u0=(e={},r={})=>{if((d??r.locale??n())==="zh")return G2e(e);return W2e(e)};var K2e=()=>"Read Asset",X2e=()=>"读取资源",Pm=(e={},r={})=>{if((d??r.locale??n())==="zh")return X2e(e);return K2e(e)};var Q2e=()=>"Allows the agent to load and read skill definitions to perform specialized actions.",J2e=()=>"允许智能体加载和读取技能定义以执行特定操作。",d0=(e={},r={})=>{if((d??r.locale??n())==="zh")return J2e(e);return Q2e(e)};var $2e=()=>"Read Skills",eDe=()=>"读取技能",f0=(e={},r={})=>{if((d??r.locale??n())==="zh")return eDe(e);return $2e(e)};var tDe=()=>"Allows the agent to rename an existing file or folder in Shumai.",rDe=()=>"允许智能体在 Shumai 中重命名现有的文件或文件夹。",p0=(e={},r={})=>{if((d??r.locale??n())==="zh")return rDe(e);return tDe(e)};var oDe=()=>"Rename Asset",aDe=()=>"重命名资产",Om=(e={},r={})=>{if((d??r.locale??n())==="zh")return aDe(e);return oDe(e)};var nDe=()=>"Tools",iDe=()=>"工具",m0=(e={},r={})=>{if((d??r.locale??n())==="zh")return iDe(e);return nDe(e)};var fDe=()=>"Configure which tools the agent is permitted to use.",sDe=()=>"配置允许智能体使用的工具。",h0=(e={},r={})=>{if((d??r.locale??n())==="zh")return sDe(e);return fDe(e)};var lDe=()=>"Agent Type",cDe=()=>"智能体类型",g0=(e={},r={})=>{if((d??r.locale??n())==="zh")return cDe(e);return lDe(e)};var uDe=()=>"Autofill",dDe=()=>"自动填充",Fm=(e={},r={})=>{if((d??r.locale??n())==="zh")return dDe(e);return uDe(e)};var ZDe=()=>"Chat",pDe=()=>"对话",Lm=(e={},r={})=>{if((d??r.locale??n())==="zh")return pDe(e);return ZDe(e)};var mDe=()=>"Embedding",hDe=()=>"嵌入",Zm=(e={},r={})=>{if((d??r.locale??n())==="zh")return hDe(e);return mDe(e)};var gDe=()=>"Agent updated successfully",MDe=()=>"智能体更新成功",Bm=(e={},r={})=>{if((d??r.locale??n())==="zh")return MDe(e);return gDe(e)};var vDe=()=>"Agents",xDe=()=>"智能体",A0=(e={},r={})=>{if((d??r.locale??n())==="zh")return xDe(e);return vDe(e)};var yDe=()=>"Manage AI agents and their personalities.",bDe=()=>"管理 AI 智能体及其个性。",_0=(e={},r={})=>{if((d??r.locale??n())==="zh")return bDe(e);return yDe(e)};var _De=()=>"AGENTS.md",wDe=()=>"AGENTS.md",y0=(e={},r={})=>{if((d??r.locale??n())==="zh")return wDe(e);return _De(e)};var zDe=()=>"Loading AGENTS.md...",SDe=()=>"正在加载 AGENTS.md...",b0=(e={},r={})=>{if((d??r.locale??n())==="zh")return SDe(e);return zDe(e)};var LDe=()=>`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`,kDe=()=>`为在此项目或文件夹中工作的 AI Agent 提供指引和上下文。
|
|
71
|
-
|
|
72
|
-
当 Agent 在此处工作时,Shumai 会自动加载此文件以及向上追溯至项目根目录各级父文件夹中的 AGENTS.md 文件。
|
|
73
|
-
|
|
74
|
-
您可以用它来定义:
|
|
75
|
-
- 此项目或文件夹包含的内容
|
|
76
|
-
- Agent 应当遵守的规则
|
|
77
|
-
- 术语、风格或工作流规范
|
|
78
|
-
- 元数据和自动填充的生成方式`,v0=(e={},r={})=>{if((d??r.locale??n())==="zh")return kDe(e);return LDe(e)};var CDe=()=>"Only team owners can edit this file.",IDe=()=>"只有团队所有者可以修改此文件。",Um=(e={},r={})=>{if((d??r.locale??n())==="zh")return IDe(e);return CDe(e)};var RDe=()=>"Failed to save",PDe=()=>"保存失败",w0=(e={},r={})=>{if((d??r.locale??n())==="zh")return PDe(e);return RDe(e)};var TDe=()=>"AI",ADe=()=>"AI",x0=(e={},r={})=>{if((d??r.locale??n())==="zh")return ADe(e);return TDe(e)};var DDe=()=>"AI Agents",EDe=()=>"AI 智能体",S0=(e={},r={})=>{if((d??r.locale??n())==="zh")return EDe(e);return DDe(e)};var ODe=()=>"AI Providers",jDe=()=>"AI 提供商",E0=(e={},r={})=>{if((d??r.locale??n())==="zh")return jDe(e);return ODe(e)};var NDe=()=>"AI Settings",FDe=()=>"AI 设置",C0=(e={},r={})=>{if((d??r.locale??n())==="zh")return FDe(e);return NDe(e)};var BDe=()=>"AI Token Usage",YDe=()=>"AI Token 用量",I0=(e={},r={})=>{if((d??r.locale??n())==="zh")return YDe(e);return BDe(e)};var UDe=()=>"Monitor AI token consumption and estimated costs for your team and members.",qDe=()=>"查看并监控团队及成员的 AI Token 消耗与预估费用。",T0=(e={},r={})=>{if((d??r.locale??n())==="zh")return qDe(e);return UDe(e)};var HDe=()=>"All",VDe=()=>"全部",WDe=(e={},r={})=>{if((d??r.locale??n())==="zh")return VDe(e);return HDe(e)};var GDe=()=>"All Collections",KDe=()=>"所有媒体合集",M0=(e={},r={})=>{if((d??r.locale??n())==="zh")return KDe(e);return GDe(e)};var XDe=(e)=>`All Collections (${e?.count})`,QDe=(e)=>`所有媒体合集 (${e?.count})`,JDe=(e,r={})=>{if((d??r.locale??n())==="zh")return QDe(e);return XDe(e)};var $De=()=>"All comments",eEe=()=>"所有评论",yf=(e={},r={})=>{if((d??r.locale??n())==="zh")return eEe(e);return $De(e)};var tEe=()=>"All",rEe=()=>"全部",k0=(e={},r={})=>{if((d??r.locale??n())==="zh")return rEe(e);return tEe(e)};var oEe=()=>"All Projects",aEe=()=>"所有项目",nEe=(e={},r={})=>{if((d??r.locale??n())==="zh")return aEe(e);return oEe(e)};var iEe=()=>"All resolutions",fEe=()=>"所有分辨率",R0=(e={},r={})=>{if((d??r.locale??n())==="zh")return fEe(e);return iEe(e)};var sEe=()=>"Generates all supported resolutions up to the source quality.",lEe=()=>"生成不超过源质量的所有支持分辨率。",N0=(e={},r={})=>{if((d??r.locale??n())==="zh")return lEe(e);return sEe(e)};var cEe=()=>"All Share Links",uEe=()=>"所有分享链接",D0=(e={},r={})=>{if((d??r.locale??n())==="zh")return uEe(e);return cEe(e)};var dEe=(e)=>`All Share Links (${e?.count})`,ZEe=(e)=>`所有分享链接 (${e?.count})`,pEe=(e,r={})=>{if((d??r.locale??n())==="zh")return ZEe(e);return dEe(e)};var mEe=()=>"All Tasks",hEe=()=>"所有任务",zm=(e={},r={})=>{if((d??r.locale??n())==="zh")return hEe(e);return mEe(e)};var gEe=()=>"Allow download",MEe=()=>"允许下载",P0=(e={},r={})=>{if((d??r.locale??n())==="zh")return MEe(e);return gEe(e)};var vEe=()=>"Visitors can download files from this share link",xEe=()=>"访客可以从该分享链接下载文件",O0=(e={},r={})=>{if((d??r.locale??n())==="zh")return xEe(e);return vEe(e)};var yEe=()=>"Allowed Domains",bEe=()=>"允许的域名",F0=(e={},r={})=>{if((d??r.locale??n())==="zh")return bEe(e);return yEe(e)};var _Ee=()=>"Already have an account? ",wEe=()=>"已有账户?",Bfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return wEe(e);return _Ee(e)};var zEe=()=>"An unknown error occurred",SEe=()=>"发生了未知错误",od=(e={},r={})=>{if((d??r.locale??n())==="zh")return SEe(e);return zEe(e)};var LEe=()=>"API Key",kEe=()=>"API 密钥",sd=(e={},r={})=>{if((d??r.locale??n())==="zh")return kEe(e);return LEe(e)};var CEe=()=>"You can provide a literal value (e.g. sk-...) or an Environment variable name (e.g. MY_API_KEY).",IEe=()=>"您可以提供一个字面值(例如 sk-...)或环境变量名称(例如 MY_API_KEY)。",jm=(e={},r={})=>{if((d??r.locale??n())==="zh")return IEe(e);return CEe(e)};var REe=(e)=>`Enter an API key or an environment variable name (e.g. ${e?.envKey}). Leave empty to restore default environment variable.`,PEe=(e)=>`输入 API 密钥或环境变量名(例如 ${e?.envKey})。留空将恢复默认环境变量。`,L0=(e,r={})=>{if((d??r.locale??n())==="zh")return PEe(e);return REe(e)};var TEe=(e)=>`Leave empty to use default env var (${e?.envKey})`,AEe=(e)=>`留空以使用默认环境变量 (${e?.envKey})`,Z0=(e,r={})=>{if((d??r.locale??n())==="zh")return AEe(e);return TEe(e)};var DEe=()=>"Enter API Key or Environment Variable",EEe=()=>"输入 API 密钥或环境变量",qm=(e={},r={})=>{if((d??r.locale??n())==="zh")return EEe(e);return DEe(e)};var OEe=()=>"API token generated successfully",jEe=()=>"API 令牌生成成功",B0=(e={},r={})=>{if((d??r.locale??n())==="zh")return jEe(e);return OEe(e)};var NEe=()=>"API token revoked successfully",FEe=()=>"API 令牌已成功撤销",U0=(e={},r={})=>{if((d??r.locale??n())==="zh")return FEe(e);return NEe(e)};var BEe=()=>"API Tokens",YEe=()=>"API 令牌",Hm=(e={},r={})=>{if((d??r.locale??n())==="zh")return YEe(e);return BEe(e)};var UEe=()=>"Generate and manage API tokens. These tokens allow you or your agents to run terminal commands via shumai-cli.",qEe=()=>"生成和管理 API 令牌。这些令牌允许您或您的智能体通过 shumai-cli 运行终端命令。",z0=(e={},r={})=>{if((d??r.locale??n())==="zh")return qEe(e);return UEe(e)};var HEe=()=>"Appearance",VEe=()=>"外观",bf=(e={},r={})=>{if((d??r.locale??n())==="zh")return VEe(e);return HEe(e)};var WEe=()=>"Appearance",GEe=()=>"外观",$m=(e={},r={})=>{if((d??r.locale??n())==="zh")return GEe(e);return WEe(e)};var KEe=()=>"Manage visual appearance and interface display settings for your team.",XEe=()=>"管理团队的视觉外观与界面显示设置。",Gm=(e={},r={})=>{if((d??r.locale??n())==="zh")return XEe(e);return KEe(e)};var QEe=()=>"Appearance settings updated",JEe=()=>"外观设置已更新",j0=(e={},r={})=>{if((d??r.locale??n())==="zh")return JEe(e);return QEe(e)};var $Ee=()=>"Apply and Close",eOe=()=>"应用并关闭",q0=(e={},r={})=>{if((d??r.locale??n())==="zh")return eOe(e);return $Ee(e)};var tOe=()=>"Approve",rOe=()=>"批准",H0=(e={},r={})=>{if((d??r.locale??n())==="zh")return rOe(e);return tOe(e)};var oOe=()=>"Are you absolutely sure?",aOe=()=>"你确定要这样做吗?",ad=(e={},r={})=>{if((d??r.locale??n())==="zh")return aOe(e);return oOe(e)};var nOe=()=>"Are you absolutely sure?",iOe=()=>"确定要执行此操作吗?",$0=(e={},r={})=>{if((d??r.locale??n())==="zh")return iOe(e);return nOe(e)};var fOe=()=>"Ascending",sOe=()=>"升序",vf=(e={},r={})=>{if((d??r.locale??n())==="zh")return sOe(e);return fOe(e)};var lOe=()=>"Asset linked to task",cOe=()=>"资产已关联到任务",Yfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return cOe(e);return lOe(e)};var uOe=()=>"Asset unlinked from task",dOe=()=>"资产已取消关联",Ufe=(e={},r={})=>{if((d??r.locale??n())==="zh")return dOe(e);return uOe(e)};var ZOe=()=>"Assets",pOe=()=>"资源",G0=(e={},r={})=>{if((d??r.locale??n())==="zh")return pOe(e);return ZOe(e)};var mOe=()=>"Assets added to context:",hOe=()=>"已添加至上下文的资源:",V0=(e={},r={})=>{if((d??r.locale??n())==="zh")return hOe(e);return mOe(e)};var gOe=()=>"Assets & Statuses",MOe=()=>"素材与状态",Q0=(e={},r={})=>{if((d??r.locale??n())==="zh")return MOe(e);return gOe(e)};var vOe=()=>"Manage notifications related to file uploads and metadata field status updates.",xOe=()=>"管理与文件上传和元数据字段状态更新相关的通知。",K0=(e={},r={})=>{if((d??r.locale??n())==="zh")return xOe(e);return vOe(e)};var yOe=()=>"Assignee",bOe=()=>"负责人",Vm=(e={},r={})=>{if((d??r.locale??n())==="zh")return bOe(e);return yOe(e)};var _Oe=()=>"@Mentions",wOe=()=>"@提及",W0=(e={},r={})=>{if((d??r.locale??n())==="zh")return wOe(e);return _Oe(e)};var zOe=()=>"Attach files",SOe=()=>"附加文件",Y0=(e={},r={})=>{if((d??r.locale??n())==="zh")return SOe(e);return zOe(e)};var LOe=()=>"Attachments",kOe=()=>"附件",J0=(e={},r={})=>{if((d??r.locale??n())==="zh")return kOe(e);return LOe(e)};var COe=()=>"Audit Logs",IOe=()=>"审计日志",wf=(e={},r={})=>{if((d??r.locale??n())==="zh")return IOe(e);return COe(e)};var ROe=()=>"View and monitor all audit logs of team actions.",POe=()=>"查看并监控团队操作的所有审计日志。",X0=(e={},r={})=>{if((d??r.locale??n())==="zh")return POe(e);return ROe(e)};var TOe=()=>"Join our community of developers and designers.",AOe=()=>"加入我们的开发者和设计师社区。",DOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return AOe(e);return TOe(e)};var EOe=()=>"Upload and index your files, enrich them with custom metadata schemas, draw annotations directly on media, and gather instant feedback — all in one modern workspace built for creators.",OOe=()=>"上传您的创意资产,添加各种类型的自定义元数据,直接在图片或视频上绘制标注和添加评论,——这一切都在Shumai,一个为创作者打造的一站式平台上完成。",jOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return OOe(e);return EOe(e)};var NOe=()=>"Custom metadata schemas & drawing canvas reviews",FOe=()=>"自定义元数据模式 & 画布标注审阅",BOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return FOe(e);return NOe(e)};var YOe=()=>"Frictionless team workspaces & secure sharing",UOe=()=>"无缝团队工作区 & 安全分享",qOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return UOe(e);return YOe(e)};var HOe=()=>"Instant asset uploads & high-fidelity media players",VOe=()=>"即时资产上传 & 高保真媒体播放器",WOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return VOe(e);return HOe(e)};var GOe=()=>"One workspace for all your creative assets.",KOe=()=>"一站式创意资产管理协作平台。",XOe=(e={},r={})=>{if((d??r.locale??n())==="zh")return KOe(e);return GOe(e)};var QOe=()=>"Autofill Agent",JOe=()=>"自动填充智能体",e_=(e={},r={})=>{if((d??r.locale??n())==="zh")return JOe(e);return QOe(e)};var $Oe=()=>"Autofill Source",eje=()=>"自动填充来源",id=(e={},r={})=>{if((d??r.locale??n())==="zh")return eje(e);return $Oe(e)};var tje=()=>"Content",rje=()=>"文件内容",kc=(e={},r={})=>{if((d??r.locale??n())==="zh")return rje(e);return tje(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.",aje=()=>"设置为“文件内容”的字段将在文件上传后,由 AI 自动分析并从文件的视觉或文本内容中提取填写。注意:需要团队 Owner 先在设置中创建并启用“Autofill Agent”(自动填充 Agent),上传后才会触发内容提取。",t_=(e={},r={})=>{if((d??r.locale??n())==="zh")return aje(e);return oje(e)};var nje=()=>"Example: Image subject category, visual color palette, document summary, auto-detected language.",ije=()=>"示例:图片类别、主色调、文档摘要、自动识别语言。",r_=(e={},r={})=>{if((d??r.locale??n())==="zh")return ije(e);return nje(e)};var fje=()=>"Creation Context",sje=()=>"创建上下文",Rc=(e={},r={})=>{if((d??r.locale??n())==="zh")return sje(e);return fje(e)};var lje=()=>"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.",cje=()=>"设置为“创建上下文”的字段用于记录生成资产时的上下文信息(如 Prompt、模型或供应商)。若文件由 Shumai AI Agent 生成/创建,Agent 会在创建时刻自动填入这些字段(无需启用 Autofill Agent);若由真实用户手动上传,则需用户手动填写,不会自动提取。",n_=(e={},r={})=>{if((d??r.locale??n())==="zh")return cje(e);return lje(e)};var uje=()=>"Example: Generation prompt, AI model name, LLM provider, sampler seed parameters.",dje=()=>"示例:生成 Prompt、AI 模型名称、LLM 供应商、采样种子参数。",o_=(e={},r={})=>{if((d??r.locale??n())==="zh")return dje(e);return uje(e)};var Zje=()=>"Understand how each autofill source option works and when to use it.",pje=()=>"了解每种自动填充来源的工作方式及适用场景。",s_=(e={},r={})=>{if((d??r.locale??n())==="zh")return pje(e);return Zje(e)};var mje=()=>"Autofill Source Guide",hje=()=>"自动填充来源说明",xf=(e={},r={})=>{if((d??r.locale??n())==="zh")return hje(e);return mje(e)};var gje=()=>"None",Mje=()=>"无",Nc=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mje(e);return gje(e)};var vje=()=>"Metadata fields marked as 'None' will not be automatically populated by AI. They are meant for manual user entry.",xje=()=>"设置为“无”的字段不会由 AI 自动填充,需由用户手动填写。",a_=(e={},r={})=>{if((d??r.locale??n())==="zh")return xje(e);return vje(e)};var yje=()=>"Example: Internal tags, manual notes, status tracking flags.",bje=()=>"示例:内部标签、手动备注、状态标记。",i_=(e={},r={})=>{if((d??r.locale??n())==="zh")return bje(e);return yje(e)};var _je=()=>"Avatar",wje=()=>"头像",l_=(e={},r={})=>{if((d??r.locale??n())==="zh")return wje(e);return _je(e)};var zje=()=>"Avatar removed successfully",Sje=()=>"头像已移除",c_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Sje(e);return zje(e)};var Lje=()=>"Avatar Source",kje=()=>"头像来源",u_=(e={},r={})=>{if((d??r.locale??n())==="zh")return kje(e);return Lje(e)};var Cje=()=>"Avatar updated successfully",Ije=()=>"头像更新成功",d_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ije(e);return Cje(e)};var Rje=()=>"Back to Chat",Pje=()=>"返回聊天",f_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pje(e);return Rje(e)};var Tje=()=>"Base URL (Optional)",Aje=()=>"基础 URL(可选)",Qm=(e={},r={})=>{if((d??r.locale??n())==="zh")return Aje(e);return Tje(e)};var Dje=()=>"Bash Match Wildcard",Eje=()=>"Bash 命令通配符",p_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Eje(e);return Dje(e)};var Oje=()=>"e.g. * or npm*",jje=()=>"例如 * 或 npm*",m_=(e={},r={})=>{if((d??r.locale??n())==="zh")return jje(e);return Oje(e)};var Nje=()=>"Best match",Fje=()=>"最佳匹配",h_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fje(e);return Nje(e)};var Bje=()=>"Generates a single optimal resolution matching the source quality.",Yje=()=>"生成与源质量匹配的单一最优分辨率。",g_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yje(e);return Bje(e)};var Uje=()=>"Cache Read Cost (1M)",qje=()=>"缓存读取成本(每百万)",A_=(e={},r={})=>{if((d??r.locale??n())==="zh")return qje(e);return Uje(e)};var Hje=()=>"Cache Read Tokens",Vje=()=>"缓存读取 Token",Km=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vje(e);return Hje(e)};var Wje=()=>"Cache Write Cost (1M)",Gje=()=>"缓存写入成本(每百万)",__=(e={},r={})=>{if((d??r.locale??n())==="zh")return Gje(e);return Wje(e)};var Kje=()=>"Calling Tool:",Xje=()=>"调用工具:",Sf=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xje(e);return Kje(e)};var Qje=()=>"Cancel",Jje=()=>"取消",Ne=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jje(e);return Qje(e)};var $je=()=>"Only team owners, task reporters, or assignees can change task status",eNe=()=>"只有负责人、报告人或被指派人可以更改任务状态",y_=(e={},r={})=>{if((d??r.locale??n())==="zh")return eNe(e);return $je(e)};var tNe=()=>"Change",rNe=()=>"更改",b_=(e={},r={})=>{if((d??r.locale??n())==="zh")return rNe(e);return tNe(e)};var oNe=()=>"Change time format",aNe=()=>"更改时间格式",v_=(e={},r={})=>{if((d??r.locale??n())==="zh")return aNe(e);return oNe(e)};var nNe=()=>"Chat Agents",iNe=()=>"对话智能体",w_=(e={},r={})=>{if((d??r.locale??n())==="zh")return iNe(e);return nNe(e)};var fNe=()=>"Drag and drop files or folders here to add them to chatbot context",sNe=()=>"拖拽文件或文件夹到此处以添加到聊天机器人上下文",Wm=(e={},r={})=>{if((d??r.locale??n())==="zh")return sNe(e);return fNe(e)};var lNe=()=>"简体中文 (Chinese)",cNe=()=>"简体中文 (Chinese)",x_=(e={},r={})=>{if((d??r.locale??n())==="zh")return cNe(e);return lNe(e)};var uNe=()=>"Clear Custom Key",dNe=()=>"清除自定义密钥",S_=(e={},r={})=>{if((d??r.locale??n())==="zh")return dNe(e);return uNe(e)};var ZNe=()=>"Clear",pNe=()=>"清除",E_=(e={},r={})=>{if((d??r.locale??n())==="zh")return pNe(e);return ZNe(e)};var mNe=()=>"Clear search",hNe=()=>"清除搜索",C_=(e={},r={})=>{if((d??r.locale??n())==="zh")return hNe(e);return mNe(e)};var gNe=()=>"Click to copy link",MNe=()=>"点击复制链接",I_=(e={},r={})=>{if((d??r.locale??n())==="zh")return MNe(e);return gNe(e)};var vNe=()=>"Close",xNe=()=>"关闭",Dc=(e={},r={})=>{if((d??r.locale??n())==="zh")return xNe(e);return vNe(e)};var yNe=()=>"collection",bNe=()=>"媒体合集",_Ne=(e={},r={})=>{if((d??r.locale??n())==="zh")return bNe(e);return yNe(e)};var wNe=()=>"Collection created",zNe=()=>"媒体合集已创建",SNe=(e={},r={})=>{if((d??r.locale??n())==="zh")return zNe(e);return wNe(e)};var LNe=()=>"Collection deleted",kNe=()=>"媒体合集已删除",CNe=(e={},r={})=>{if((d??r.locale??n())==="zh")return kNe(e);return LNe(e)};var INe=()=>"Collection Name",RNe=()=>"媒体合集名称",T_=(e={},r={})=>{if((d??r.locale??n())==="zh")return RNe(e);return INe(e)};var PNe=()=>"Collection renamed",TNe=()=>"媒体合集已重命名",ANe=(e={},r={})=>{if((d??r.locale??n())==="zh")return TNe(e);return PNe(e)};var DNe=()=>"Collection saved",ENe=()=>"媒体合集已保存",M_=(e={},r={})=>{if((d??r.locale??n())==="zh")return ENe(e);return DNe(e)};var ONe=()=>"Collections",jNe=()=>"媒体合集",NNe=(e={},r={})=>{if((d??r.locale??n())==="zh")return jNe(e);return ONe(e)};var FNe=()=>"Color",BNe=()=>"颜色",k_=(e={},r={})=>{if((d??r.locale??n())==="zh")return BNe(e);return FNe(e)};var YNe=()=>"Write a comment...",UNe=()=>"写下评论...",qNe=(e={},r={})=>{if((d??r.locale??n())==="zh")return UNe(e);return YNe(e)};var HNe=()=>"Comment Replies",VNe=()=>"评论回复",R_=(e={},r={})=>{if((d??r.locale??n())==="zh")return VNe(e);return HNe(e)};var WNe=()=>"Comments",GNe=()=>"评论",ld=(e={},r={})=>{if((d??r.locale??n())==="zh")return GNe(e);return WNe(e)};var KNe=()=>"Comments & Replies",XNe=()=>"评论与回复",N_=(e={},r={})=>{if((d??r.locale??n())==="zh")return XNe(e);return KNe(e)};var QNe=()=>"Control notification preferences when other users comment on assets you collaborate on or mention you.",JNe=()=>"控制其他用户对您协作的素材评论或提及您时的通知偏好。",D_=(e={},r={})=>{if((d??r.locale??n())==="zh")return JNe(e);return QNe(e)};var $Ne=()=>"Compare Versions",e5e=()=>"对比版本",t5e=(e={},r={})=>{if((d??r.locale??n())==="zh")return e5e(e);return $Ne(e)};var r5e=()=>"Configure your AI agent's personality and capabilities.",o5e=()=>"配置 AI 智能体的个性和功能。",P_=(e={},r={})=>{if((d??r.locale??n())==="zh")return o5e(e);return r5e(e)};var a5e=()=>"Configure your new project workspace and appearance.",n5e=()=>"配置您的新项目工作区和外观。",O_=(e={},r={})=>{if((d??r.locale??n())==="zh")return n5e(e);return a5e(e)};var i5e=()=>"Configure authentication and model details for your AI provider.",f5e=()=>"配置 AI 提供商的身份验证和模型详情。",Ym=(e={},r={})=>{if((d??r.locale??n())==="zh")return f5e(e);return i5e(e)};var s5e=(e)=>`Configure Skill: ${e?.name}`,l5e=(e)=>`配置技能:${e?.name}`,F_=(e,r={})=>{if((d??r.locale??n())==="zh")return l5e(e);return s5e(e)};var c5e=()=>"Configured AI Providers",u5e=()=>"已配置的 AI 提供商",L_=(e={},r={})=>{if((d??r.locale??n())==="zh")return u5e(e);return c5e(e)};var d5e=()=>"Confirm",Z5e=()=>"确认",Xa=(e={},r={})=>{if((d??r.locale??n())==="zh")return Z5e(e);return d5e(e)};var p5e=()=>"Are you sure you want to delete this field?",m5e=()=>"确定要删除此字段吗?",Z_=(e={},r={})=>{if((d??r.locale??n())==="zh")return m5e(e);return p5e(e)};var h5e=()=>"Confirm Download",g5e=()=>"确认下载",Jm=(e={},r={})=>{if((d??r.locale??n())==="zh")return g5e(e);return h5e(e)};var M5e=()=>"Confirm Password",v5e=()=>"确认密码",B_=(e={},r={})=>{if((d??r.locale??n())==="zh")return v5e(e);return M5e(e)};var x5e=()=>"Confirm new password",y5e=()=>"确认新密码",U_=(e={},r={})=>{if((d??r.locale??n())==="zh")return y5e(e);return x5e(e)};var b5e=()=>"Contains drawing annotations",_5e=()=>"包含标注绘图",z_=(e={},r={})=>{if((d??r.locale??n())==="zh")return _5e(e);return b5e(e)};var w5e=()=>"Context Window (tokens)",z5e=()=>"上下文窗口(令牌数)",j_=(e={},r={})=>{if((d??r.locale??n())==="zh")return z5e(e);return w5e(e)};var S5e=()=>"Copied!",L5e=()=>"已复制!",q_=(e={},r={})=>{if((d??r.locale??n())==="zh")return L5e(e);return S5e(e)};var k5e=()=>"Copied API token to clipboard",C5e=()=>"已将 API 令牌复制到剪贴板",H_=(e={},r={})=>{if((d??r.locale??n())==="zh")return C5e(e);return k5e(e)};var I5e=()=>"Copied name and download link to clipboard",R5e=()=>"已复制名称和下载链接到剪贴板",$_=(e={},r={})=>{if((d??r.locale??n())==="zh")return R5e(e);return I5e(e)};var P5e=()=>"Copied to clipboard",T5e=()=>"已复制到剪贴板",G_=(e={},r={})=>{if((d??r.locale??n())==="zh")return T5e(e);return P5e(e)};var A5e=()=>"Copy",D5e=()=>"复制",V_=(e={},r={})=>{if((d??r.locale??n())==="zh")return D5e(e);return A5e(e)};var E5e=()=>"Copy optimized image to clipboard",O5e=()=>"复制优化图片到剪贴板",Q_=(e={},r={})=>{if((d??r.locale??n())==="zh")return O5e(e);return E5e(e)};var j5e=()=>"Copy Link",N5e=()=>"复制链接",K_=(e={},r={})=>{if((d??r.locale??n())==="zh")return N5e(e);return j5e(e)};var F5e=()=>"Copy name and download link",B5e=()=>"复制名称和下载链接",Ef=(e={},r={})=>{if((d??r.locale??n())==="zh")return B5e(e);return F5e(e)};var Y5e=()=>"Copy to",U5e=()=>"复制到",Xm=(e={},r={})=>{if((d??r.locale??n())==="zh")return U5e(e);return Y5e(e)};var q5e=()=>"Cost",H5e=()=>"费用",eh=(e={},r={})=>{if((d??r.locale??n())==="zh")return H5e(e);return q5e(e)};var V5e=(e)=>`$${e?.input}/1M in · $${e?.output}/1M out`,W5e=(e)=>`$${e?.input}/1M 输入 · $${e?.output}/1M 输出`,th=(e,r={})=>{if((d??r.locale??n())==="zh")return W5e(e);return V5e(e)};var G5e=()=>"10000+ Assets",K5e=()=>"10000+ 资源",W_=(e={},r={})=>{if((d??r.locale??n())==="zh")return K5e(e);return G5e(e)};var X5e=()=>"10000+ Folders",Q5e=()=>"10000+ 文件夹",Y_=(e={},r={})=>{if((d??r.locale??n())==="zh")return Q5e(e);return X5e(e)};var J5e=()=>"Cover Preview",$5e=()=>"封面预览",J_=(e={},r={})=>{if((d??r.locale??n())==="zh")return $5e(e);return J5e(e)};var e4e=()=>"Create",t4e=()=>"创建",Pc=(e={},r={})=>{if((d??r.locale??n())==="zh")return t4e(e);return e4e(e)};var r4e=()=>"Create Account",o4e=()=>"创建账户",a4e=(e={},r={})=>{if((d??r.locale??n())==="zh")return o4e(e);return r4e(e)};var n4e=()=>"Create Agent",i4e=()=>"创建智能体",X_=(e={},r={})=>{if((d??r.locale??n())==="zh")return i4e(e);return n4e(e)};var f4e=()=>"Create your first goal to organize related tasks.",s4e=()=>"创建第一个目标来组织相关任务。",ey=(e={},r={})=>{if((d??r.locale??n())==="zh")return s4e(e);return f4e(e)};var l4e=()=>"Create Goal",c4e=()=>"创建目标",ty=(e={},r={})=>{if((d??r.locale??n())==="zh")return c4e(e);return l4e(e)};var u4e=()=>"Create New Project",d4e=()=>"创建新项目",ry=(e={},r={})=>{if((d??r.locale??n())==="zh")return d4e(e);return u4e(e)};var Z4e=()=>"Create New Template",p4e=()=>"创建新模板",rh=(e={},r={})=>{if((d??r.locale??n())==="zh")return p4e(e);return Z4e(e)};var m4e=()=>"Create new version",h4e=()=>"创建新版本",ny=(e={},r={})=>{if((d??r.locale??n())==="zh")return h4e(e);return m4e(e)};var g4e=()=>"Create one now",M4e=()=>"立即创建",oy=(e={},r={})=>{if((d??r.locale??n())==="zh")return M4e(e);return g4e(e)};var v4e=()=>"Create Project",x4e=()=>"创建项目",Cf=(e={},r={})=>{if((d??r.locale??n())==="zh")return x4e(e);return v4e(e)};var y4e=()=>"Create Quota Rule",b4e=()=>"创建配额规则",sy=(e={},r={})=>{if((d??r.locale??n())==="zh")return b4e(e);return y4e(e)};var _4e=()=>"Set up a new resource quota to prevent unexpected usage.",w4e=()=>"设置新的资源配额以防止意外的超量使用。",ay=(e={},r={})=>{if((d??r.locale??n())==="zh")return w4e(e);return _4e(e)};var z4e=()=>"Create Share Link",S4e=()=>"创建分享链接",nh=(e={},r={})=>{if((d??r.locale??n())==="zh")return S4e(e);return z4e(e)};var L4e=()=>"Create Task",k4e=()=>"创建任务",If=(e={},r={})=>{if((d??r.locale??n())==="zh")return k4e(e);return L4e(e)};var C4e=()=>"Create Time",I4e=()=>"创建时间",iy=(e={},r={})=>{if((d??r.locale??n())==="zh")return I4e(e);return C4e(e)};var R4e=(e)=>`Create ${e?.type} Agent`,P4e=(e)=>`创建${e?.type}智能体`,ly=(e,r={})=>{if((d??r.locale??n())==="zh")return P4e(e);return R4e(e)};var T4e=()=>"Created At",A4e=()=>"创建时间",cy=(e={},r={})=>{if((d??r.locale??n())==="zh")return A4e(e);return T4e(e)};var D4e=()=>"Created by Agent",E4e=()=>"由智能体创建",uy=(e={},r={})=>{if((d??r.locale??n())==="zh")return E4e(e);return D4e(e)};var O4e=(e)=>`${e?.time} by ${e?.author}`,j4e=(e)=>`${e?.time} 由 ${e?.author} 创建`,dy=(e,r={})=>{if((d??r.locale??n())==="zh")return j4e(e);return O4e(e)};var N4e=()=>"Created Date",F4e=()=>"创建日期",Tf=(e={},r={})=>{if((d??r.locale??n())==="zh")return F4e(e);return N4e(e)};var B4e=()=>"Creating account...",Y4e=()=>"创建账户中...",U4e=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y4e(e);return B4e(e)};var q4e=()=>"Creator",H4e=()=>"创建者",Oc=(e={},r={})=>{if((d??r.locale??n())==="zh")return H4e(e);return q4e(e)};var V4e=()=>"Current Custom Avatar",W4e=()=>"当前自定义头像",fy=(e={},r={})=>{if((d??r.locale??n())==="zh")return W4e(e);return V4e(e)};var G4e=()=>"Current Project",K4e=()=>"当前项目",X4e=(e={},r={})=>{if((d??r.locale??n())==="zh")return K4e(e);return G4e(e)};var Q4e=()=>"Custom Fields",J4e=()=>"自定义字段",py=(e={},r={})=>{if((d??r.locale??n())==="zh")return J4e(e);return Q4e(e)};var $4e=()=>"Custom Model...",eFe=()=>"自定义模型...",my=(e={},r={})=>{if((d??r.locale??n())==="zh")return eFe(e);return $4e(e)};var tFe=()=>"Dark",rFe=()=>"深色",oFe=(e={},r={})=>{if((d??r.locale??n())==="zh")return rFe(e);return tFe(e)};var aFe=()=>"Dashboard",nFe=()=>"仪表板",oh=(e={},r={})=>{if((d??r.locale??n())==="zh")return nFe(e);return aFe(e)};var iFe=()=>"MMMM d, yyyy",fFe=()=>"yyyy年M月d日",sFe=(e={},r={})=>{if((d??r.locale??n())==="zh")return fFe(e);return iFe(e)};var lFe=()=>"One month ago",cFe=()=>"一个月前",hy=(e={},r={})=>{if((d??r.locale??n())==="zh")return cFe(e);return lFe(e)};var uFe=()=>"One month from now",dFe=()=>"一个月后",gy=(e={},r={})=>{if((d??r.locale??n())==="zh")return dFe(e);return uFe(e)};var ZFe=()=>"One week ago",pFe=()=>"一周前",Ay=(e={},r={})=>{if((d??r.locale??n())==="zh")return pFe(e);return ZFe(e)};var mFe=()=>"One week from now",hFe=()=>"一周后",_y=(e={},r={})=>{if((d??r.locale??n())==="zh")return hFe(e);return mFe(e)};var gFe=()=>"Today",MFe=()=>"今天",yy=(e={},r={})=>{if((d??r.locale??n())==="zh")return MFe(e);return gFe(e)};var vFe=()=>"Tomorrow",xFe=()=>"明天",by=(e={},r={})=>{if((d??r.locale??n())==="zh")return xFe(e);return vFe(e)};var yFe=()=>"Date type",bFe=()=>"日期类型",vy=(e={},r={})=>{if((d??r.locale??n())==="zh")return bFe(e);return yFe(e)};var _Fe=()=>"Yesterday",wFe=()=>"昨天",wy=(e={},r={})=>{if((d??r.locale??n())==="zh")return wFe(e);return _Fe(e)};var zFe=(e)=>`${e?.count}d`,SFe=(e)=>`${e?.count}天`,sh=(e,r={})=>{if((d??r.locale??n())==="zh")return SFe(e);return zFe(e)};var LFe=(e)=>`Default: ${e?.envKey}`,kFe=(e)=>`默认:${e?.envKey}`,xy=(e,r={})=>{if((d??r.locale??n())==="zh")return kFe(e);return LFe(e)};var CFe=()=>"Default Value",IFe=()=>"默认值",Sy=(e={},r={})=>{if((d??r.locale??n())==="zh")return IFe(e);return CFe(e)};var RFe=()=>"Delete",PFe=()=>"删除",it=(e={},r={})=>{if((d??r.locale??n())==="zh")return PFe(e);return RFe(e)};var TFe=()=>"Delete Agent",AFe=()=>"删除智能体",Ey=(e={},r={})=>{if((d??r.locale??n())==="zh")return AFe(e);return TFe(e)};var DFe=(e)=>`This action cannot be undone. This will permanently delete the agent "${e?.name}" and remove all its data from our servers.`,EFe=(e)=>`此操作无法撤销。这将永久删除智能体 "${e?.name}" 并从服务器上删除其所有数据。`,Cy=(e,r={})=>{if((d??r.locale??n())==="zh")return EFe(e);return DFe(e)};var OFe=()=>"Deleted items can be recovered for 30 days before being permanently deleted.",jFe=()=>"已删除的项目可在 30 天内恢复,之后将被永久删除。",Fc=(e={},r={})=>{if((d??r.locale??n())==="zh")return jFe(e);return OFe(e)};var NFe=()=>"Delete Asset?",FFe=()=>"删除资源?",Lc=(e={},r={})=>{if((d??r.locale??n())==="zh")return FFe(e);return NFe(e)};var BFe=()=>"Delete Collection?",YFe=()=>"删除媒体合集?",UFe=(e={},r={})=>{if((d??r.locale??n())==="zh")return YFe(e);return BFe(e)};var qFe=()=>"Delete Comment?",HFe=()=>"删除评论?",ah=(e={},r={})=>{if((d??r.locale??n())==="zh")return HFe(e);return qFe(e)};var VFe=()=>"Are you sure you want to delete this comment? This action cannot be undone.",WFe=()=>"您确定要删除这条评论吗?此操作将无法撤回。",ih=(e={},r={})=>{if((d??r.locale??n())==="zh")return WFe(e);return VFe(e)};var GFe=(e)=>`Are you sure you want to delete this ${e?.type}? This action cannot be undone.`,KFe=(e)=>`确定要删除此${e?.type}吗?此操作无法撤销。`,XFe=(e,r={})=>{if((d??r.locale??n())==="zh")return KFe(e);return GFe(e)};var QFe=()=>"Delete field",JFe=()=>"删除字段",Iy=(e={},r={})=>{if((d??r.locale??n())==="zh")return JFe(e);return QFe(e)};var $Fe=()=>"Delete Folder?",e3e=()=>"删除文件夹?",t3e=(e={},r={})=>{if((d??r.locale??n())==="zh")return e3e(e);return $Fe(e)};var r3e=()=>"Delete Goal",o3e=()=>"删除目标",Ty=(e={},r={})=>{if((d??r.locale??n())==="zh")return o3e(e);return r3e(e)};var a3e=(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}"吗?关联的任务仍将保留,但不再关联此目标。`,My=(e,r={})=>{if((d??r.locale??n())==="zh")return n3e(e);return a3e(e)};var i3e=()=>"Delete MCP Server",f3e=()=>"删除 MCP 服务",ky=(e={},r={})=>{if((d??r.locale??n())==="zh")return f3e(e);return i3e(e)};var s3e=(e)=>`This action cannot be undone. This will permanently delete the MCP server "${e?.name}".`,l3e=(e)=>`此操作无法撤销。这将永久删除 MCP 服务 "${e?.name}"。`,Ry=(e,r={})=>{if((d??r.locale??n())==="zh")return l3e(e);return s3e(e)};var c3e=(e)=>`This action cannot be undone. This will permanently delete the model "${e?.name}".`,u3e=(e)=>`此操作无法撤销。这将永久删除模型 "${e?.name}"。`,Ny=(e,r={})=>{if((d??r.locale??n())==="zh")return u3e(e);return c3e(e)};var d3e=()=>"delete",Z3e=()=>"delete",Dy=(e={},r={})=>{if((d??r.locale??n())==="zh")return Z3e(e);return d3e(e)};var p3e=(e)=>`This action cannot be undone. This will permanently delete the project "${e?.name}" and all its assets.`,m3e=(e)=>`此操作无法撤销。这将永久删除项目 "${e?.name}" 及其所有资产。`,Py=(e,r={})=>{if((d??r.locale??n())==="zh")return m3e(e);return p3e(e)};var h3e=(e)=>`This action cannot be undone. This will permanently delete the provider "${e?.name}" and all associated model configurations.`,g3e=(e)=>`此操作无法撤销。这将永久删除提供商 "${e?.name}" 及所有关联的模型配置。`,Oy=(e,r={})=>{if((d??r.locale??n())==="zh")return g3e(e);return h3e(e)};var M3e=()=>"Delete Quota",v3e=()=>"删除配额",Mf=(e={},r={})=>{if((d??r.locale??n())==="zh")return v3e(e);return M3e(e)};var x3e=()=>"Are you sure you want to delete this quota rule? This action cannot be undone.",y3e=()=>"确定要删除此配额规则吗?此操作无法撤销。",lh=(e={},r={})=>{if((d??r.locale??n())==="zh")return y3e(e);return x3e(e)};var b3e=()=>"Delete Session",_3e=()=>"删除会话",Fy=(e={},r={})=>{if((d??r.locale??n())==="zh")return _3e(e);return b3e(e)};var w3e=()=>"Are you sure you want to delete this chat session?",z3e=()=>"您确定要删除此会话记录吗?",Ly=(e={},r={})=>{if((d??r.locale??n())==="zh")return z3e(e);return w3e(e)};var S3e=()=>"Delete Share Link?",L3e=()=>"删除分享链接?",k3e=(e={},r={})=>{if((d??r.locale??n())==="zh")return L3e(e);return S3e(e)};var C3e=(e)=>`This action cannot be undone. This will permanently delete the skill "${e?.name}" and all its configurations.`,I3e=(e)=>`此操作无法撤销。这将永久删除技能 "${e?.name}" 及其所有配置。`,Zy=(e,r={})=>{if((d??r.locale??n())==="zh")return I3e(e);return C3e(e)};var R3e=()=>"Delete Task",P3e=()=>"删除任务",By=(e={},r={})=>{if((d??r.locale??n())==="zh")return P3e(e);return R3e(e)};var T3e=(e)=>`Are you sure you want to delete task "${e?.title}"? This action cannot be undone.`,A3e=(e)=>`确定要删除任务"${e?.title}"吗?此操作无法撤销。`,Uy=(e,r={})=>{if((d??r.locale??n())==="zh")return A3e(e);return T3e(e)};var D3e=()=>"Deleted",E3e=()=>"已删除",zy=(e={},r={})=>{if((d??r.locale??n())==="zh")return E3e(e);return D3e(e)};var O3e=()=>"Deleting...",j3e=()=>"删除中...",jy=(e={},r={})=>{if((d??r.locale??n())==="zh")return j3e(e);return O3e(e)};var N3e=()=>"Demo Access:",F3e=()=>"演示访问:",B3e=(e={},r={})=>{if((d??r.locale??n())==="zh")return F3e(e);return N3e(e)};var Y3e=()=>'Use "foo@bar.com" as the email and "foo" as the password to login (this demo account is read-only).',U3e=()=>'使用 "foo@bar.com" 作为邮箱,"foo" 作为密码登录(该演示账户为只读)。',q3e=(e={},r={})=>{if((d??r.locale??n())==="zh")return U3e(e);return Y3e(e)};var H3e=()=>"Descending",V3e=()=>"降序",kf=(e={},r={})=>{if((d??r.locale??n())==="zh")return V3e(e);return H3e(e)};var W3e=()=>"Description",G3e=()=>"描述",hl=(e={},r={})=>{if((d??r.locale??n())==="zh")return G3e(e);return W3e(e)};var K3e=()=>"Optional, used for AI autofill",X3e=()=>"可选,用于 AI 自动填充",cd=(e={},r={})=>{if((d??r.locale??n())==="zh")return X3e(e);return K3e(e)};var Q3e=()=>"Generate and manage API keys for developers and automated workflows.",J3e=()=>"为开发者和自动化工作流生成和管理 API 密钥。",qy=(e={},r={})=>{if((d??r.locale??n())==="zh")return J3e(e);return Q3e(e)};var $3e=()=>"Developer Settings",e6e=()=>"开发者设置",Hy=(e={},r={})=>{if((d??r.locale??n())==="zh")return e6e(e);return $3e(e)};var t6e=()=>"Disable Timestamp",r6e=()=>"禁用时间戳",$y=(e={},r={})=>{if((d??r.locale??n())==="zh")return r6e(e);return t6e(e)};var o6e=()=>"Disabled",a6e=()=>"已禁用",Rf=(e={},r={})=>{if((d??r.locale??n())==="zh")return a6e(e);return o6e(e)};var n6e=()=>"Display Name (Optional)",i6e=()=>"显示名称(可选)",Gy=(e={},r={})=>{if((d??r.locale??n())==="zh")return i6e(e);return n6e(e)};var f6e=()=>"Domain already exists",s6e=()=>"域名已存在",Vy=(e={},r={})=>{if((d??r.locale??n())==="zh")return s6e(e);return f6e(e)};var l6e=()=>"Done",c6e=()=>"完成",u6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return c6e(e);return l6e(e)};var d6e=()=>"Download",Z6e=()=>"下载",mr=(e={},r={})=>{if((d??r.locale??n())==="zh")return Z6e(e);return d6e(e)};var p6e=(e)=>`This download will include ${e?.count} file(s).`,m6e=(e)=>`此下载将包含 ${e?.count} 个文件。`,ch=(e,r={})=>{if((d??r.locale??n())==="zh")return m6e(e);return p6e(e)};var h6e=()=>"Download original file",g6e=()=>"下载原始文件",Qy=(e={},r={})=>{if((d??r.locale??n())==="zh")return g6e(e);return h6e(e)};var M6e=()=>"Download original image",v6e=()=>"下载原始图片",Ky=(e={},r={})=>{if((d??r.locale??n())==="zh")return v6e(e);return M6e(e)};var x6e=()=>"Due Date",y6e=()=>"截止日期",ud=(e={},r={})=>{if((d??r.locale??n())==="zh")return y6e(e);return x6e(e)};var b6e=()=>"Edit",_6e=()=>"编辑",Wy=(e={},r={})=>{if((d??r.locale??n())==="zh")return _6e(e);return b6e(e)};var w6e=()=>"Edit Goal",z6e=()=>"编辑目标",uh=(e={},r={})=>{if((d??r.locale??n())==="zh")return z6e(e);return w6e(e)};var S6e=(e)=>`Edit ${e?.name}`,L6e=(e)=>`编辑 ${e?.name}`,dh=(e,r={})=>{if((d??r.locale??n())==="zh")return L6e(e);return S6e(e)};var k6e=()=>"Edit MCP Server",C6e=()=>"编辑 MCP 服务",Yy=(e={},r={})=>{if((d??r.locale??n())==="zh")return C6e(e);return k6e(e)};var I6e=()=>"Edit Model",R6e=()=>"编辑模型",fh=(e={},r={})=>{if((d??r.locale??n())==="zh")return R6e(e);return I6e(e)};var P6e=()=>"Edit Quota Rule",T6e=()=>"编辑配额规则",Jy=(e={},r={})=>{if((d??r.locale??n())==="zh")return T6e(e);return P6e(e)};var A6e=()=>"Configure resource limits, target scopes, and evaluation periods.",D6e=()=>"配置资源上限、目标范围以及评估周期。",Xy=(e={},r={})=>{if((d??r.locale??n())==="zh")return D6e(e);return A6e(e)};var E6e=()=>"Edit Task",O6e=()=>"编辑任务",j6e=(e={},r={})=>{if((d??r.locale??n())==="zh")return O6e(e);return E6e(e)};var N6e=()=>"Edit Watermark",F6e=()=>"编辑水印",eb=(e={},r={})=>{if((d??r.locale??n())==="zh")return F6e(e);return N6e(e)};var B6e=()=>"Editor",Y6e=()=>"创作者",Zs=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y6e(e);return B6e(e)};var U6e=()=>"Email",q6e=()=>"邮箱",Nf=(e={},r={})=>{if((d??r.locale??n())==="zh")return q6e(e);return U6e(e)};var H6e=()=>"Email Address",V6e=()=>"邮箱地址",qfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return V6e(e);return H6e(e)};var W6e=()=>"john@example.com",G6e=()=>"zhangsan@example.com",tb=(e={},r={})=>{if((d??r.locale??n())==="zh")return G6e(e);return W6e(e)};var K6e=()=>"Email address is managed by authentication provider.",X6e=()=>"邮箱地址由认证提供商管理。",rb=(e={},r={})=>{if((d??r.locale??n())==="zh")return X6e(e);return K6e(e)};var Q6e=()=>"Embedding Agent",J6e=()=>"嵌入智能体",nb=(e={},r={})=>{if((d??r.locale??n())==="zh")return J6e(e);return Q6e(e)};var $6e=()=>"All items in the recently deleted folder will be permanently removed both from the database and from storage. This action cannot be undone.",eBe=()=>"回收站中的所有项目将从数据库和存储中永久删除。此操作无法撤销。",ob=(e={},r={})=>{if((d??r.locale??n())==="zh")return eBe(e);return $6e(e)};var tBe=()=>"Empty Trash?",rBe=()=>"清空回收站?",sb=(e={},r={})=>{if((d??r.locale??n())==="zh")return rBe(e);return tBe(e)};var oBe=()=>"Please create and enable an embedding agent in the team settings to use semantic search.",aBe=()=>"请在团队设置中创建并启用嵌入智能体以使用语义搜索。",ab=(e={},r={})=>{if((d??r.locale??n())==="zh")return aBe(e);return oBe(e)};var nBe=()=>"Enable Network Sandbox",iBe=()=>"启用网络沙箱",ib=(e={},r={})=>{if((d??r.locale??n())==="zh")return iBe(e);return nBe(e)};var fBe=()=>"Enable Timestamp",sBe=()=>"启用时间戳",lb=(e={},r={})=>{if((d??r.locale??n())==="zh")return sBe(e);return fBe(e)};var lBe=()=>"Enabled",cBe=()=>"已启用",Df=(e={},r={})=>{if((d??r.locale??n())==="zh")return cBe(e);return lBe(e)};var uBe=()=>"English",dBe=()=>"English",cb=(e={},r={})=>{if((d??r.locale??n())==="zh")return dBe(e);return uBe(e)};var ZBe=()=>"Enter a value",pBe=()=>"输入一个值",ub=(e={},r={})=>{if((d??r.locale??n())==="zh")return pBe(e);return ZBe(e)};var mBe=()=>"Enter custom model ID",hBe=()=>"输入自定义模型 ID",db=(e={},r={})=>{if((d??r.locale??n())==="zh")return hBe(e);return mBe(e)};var gBe=()=>"Enter MCP Server ID",MBe=()=>"输入 MCP 服务 ID",ph=(e={},r={})=>{if((d??r.locale??n())==="zh")return MBe(e);return gBe(e)};var vBe=()=>"Enter new name",xBe=()=>"输入新名称",dd=(e={},r={})=>{if((d??r.locale??n())==="zh")return xBe(e);return vBe(e)};var yBe=()=>"Enter password",bBe=()=>"请输入密码",fb=(e={},r={})=>{if((d??r.locale??n())==="zh")return bBe(e);return yBe(e)};var _Be=()=>"Enter template name...",wBe=()=>"请输入模板名称...",mh=(e={},r={})=>{if((d??r.locale??n())==="zh")return wBe(e);return _Be(e)};var zBe=()=>"Enter your details",SBe=()=>"输入您的信息",pb=(e={},r={})=>{if((d??r.locale??n())==="zh")return SBe(e);return zBe(e)};var LBe=()=>"Enter your name",kBe=()=>"请输入您的名称",mb=(e={},r={})=>{if((d??r.locale??n())==="zh")return kBe(e);return LBe(e)};var CBe=()=>"Entry ID",IBe=()=>"条目 ID",fd=(e={},r={})=>{if((d??r.locale??n())==="zh")return IBe(e);return CBe(e)};var RBe=()=>"If left empty, the value will be read from the host machine's environment.",PBe=()=>"如果留空,将从主机的环境中读取值。",hb=(e={},r={})=>{if((d??r.locale??n())==="zh")return PBe(e);return RBe(e)};var TBe=()=>"Error",ABe=()=>"错误",Tn=(e={},r={})=>{if((d??r.locale??n())==="zh")return ABe(e);return TBe(e)};var DBe=(e)=>`Error: ${e?.message}`,EBe=(e)=>`错误:${e?.message}`,Bs=(e,r={})=>{if((d??r.locale??n())==="zh")return EBe(e);return DBe(e)};var OBe=()=>"Essentials",jBe=()=>"基本信息",gb=(e={},r={})=>{if((d??r.locale??n())==="zh")return jBe(e);return OBe(e)};var NBe=()=>"Exact date...",FBe=()=>"精确日期...",Ab=(e={},r={})=>{if((d??r.locale??n())==="zh")return FBe(e);return NBe(e)};var BBe=()=>"Exit compare",YBe=()=>"退出对比",_b=(e={},r={})=>{if((d??r.locale??n())==="zh")return YBe(e);return BBe(e)};var UBe=()=>"Expiration Date",qBe=()=>"过期日期",yb=(e={},r={})=>{if((d??r.locale??n())==="zh")return qBe(e);return UBe(e)};var HBe=()=>"Export Comments",VBe=()=>"导出评论",bb=(e={},r={})=>{if((d??r.locale??n())==="zh")return VBe(e);return HBe(e)};var WBe=()=>"Failed to create collection",GBe=()=>"创建媒体合集失败",KBe=(e={},r={})=>{if((d??r.locale??n())==="zh")return GBe(e);return WBe(e)};var XBe=()=>"Failed to create field",QBe=()=>"创建字段失败",Pf=(e={},r={})=>{if((d??r.locale??n())==="zh")return QBe(e);return XBe(e)};var JBe=()=>"Failed to create project",$Be=()=>"创建项目失败",vb=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Be(e);return JBe(e)};var eYe=()=>"Failed to create share link",tYe=()=>"创建分享链接失败",rYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return tYe(e);return eYe(e)};var oYe=()=>"Failed to delete collection",aYe=()=>"删除媒体合集失败",nYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return aYe(e);return oYe(e)};var iYe=()=>"Failed to delete field",fYe=()=>"删除字段失败",wb=(e={},r={})=>{if((d??r.locale??n())==="zh")return fYe(e);return iYe(e)};var sYe=()=>"Failed to delete folder",lYe=()=>"删除文件夹失败",cYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return lYe(e);return sYe(e)};var uYe=()=>"Failed to delete share link",dYe=()=>"删除分享链接失败",ZYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return dYe(e);return uYe(e)};var pYe=()=>"Failed to fetch collections",mYe=()=>"获取媒体合集失败",hYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return mYe(e);return pYe(e)};var gYe=()=>"Failed to fetch fields",MYe=()=>"获取字段列表失败",xb=(e={},r={})=>{if((d??r.locale??n())==="zh")return MYe(e);return gYe(e)};var vYe=()=>"Failed to fetch files",xYe=()=>"获取文件失败",Sb=(e={},r={})=>{if((d??r.locale??n())==="zh")return xYe(e);return vYe(e)};var yYe=()=>"Failed to fetch folders",bYe=()=>"获取文件夹失败",Eb=(e={},r={})=>{if((d??r.locale??n())==="zh")return bYe(e);return yYe(e)};var _Ye=()=>"Failed to fetch share link",wYe=()=>"获取分享链接失败",Cb=(e={},r={})=>{if((d??r.locale??n())==="zh")return wYe(e);return _Ye(e)};var zYe=()=>"Failed to fetch share links",SYe=()=>"获取分享链接失败",LYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return SYe(e);return zYe(e)};var kYe=()=>"Failed to load settings.",CYe=()=>"加载设置失败。",Yo=(e={},r={})=>{if((d??r.locale??n())==="zh")return CYe(e);return kYe(e)};var IYe=()=>"Failed to remove",RYe=()=>"移除失败",Ib=(e={},r={})=>{if((d??r.locale??n())==="zh")return RYe(e);return IYe(e)};var PYe=()=>"Failed to remove avatar",TYe=()=>"移除头像失败",Tb=(e={},r={})=>{if((d??r.locale??n())==="zh")return TYe(e);return PYe(e)};var AYe=()=>"Failed to rename collection",DYe=()=>"重命名媒体合集失败",EYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return DYe(e);return AYe(e)};var OYe=()=>"Failed to rename folder",jYe=()=>"重命名文件夹失败",NYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return jYe(e);return OYe(e)};var FYe=()=>"Failed to rename share link",BYe=()=>"重命名分享链接失败",YYe=(e={},r={})=>{if((d??r.locale??n())==="zh")return BYe(e);return FYe(e)};var UYe=()=>"Failed to save collection",qYe=()=>"保存媒体合集失败",Mb=(e={},r={})=>{if((d??r.locale??n())==="zh")return qYe(e);return UYe(e)};var HYe=(e)=>`Failed to add ${e?.name}`,VYe=(e)=>`添加 ${e?.name} 失败`,hh=(e,r={})=>{if((d??r.locale??n())==="zh")return VYe(e);return HYe(e)};var WYe=()=>"Failed to add model",GYe=()=>"添加模型失败",kb=(e={},r={})=>{if((d??r.locale??n())==="zh")return GYe(e);return WYe(e)};var KYe=()=>"Failed to create quota rule",XYe=()=>"创建配额规则失败",gh=(e={},r={})=>{if((d??r.locale??n())==="zh")return XYe(e);return KYe(e)};var QYe=()=>"Failed to delete",JYe=()=>"删除失败",ki=(e={},r={})=>{if((d??r.locale??n())==="zh")return JYe(e);return QYe(e)};var $Ye=()=>"Failed to delete quota rule",e7e=()=>"删除配额规则失败",pd=(e={},r={})=>{if((d??r.locale??n())==="zh")return e7e(e);return $Ye(e)};var t7e=()=>"Failed to export comments",r7e=()=>"导出评论失败",Rb=(e={},r={})=>{if((d??r.locale??n())==="zh")return r7e(e);return t7e(e)};var o7e=()=>"Failed to fetch folder children",a7e=()=>"获取子文件夹失败",n7e=(e={},r={})=>{if((d??r.locale??n())==="zh")return a7e(e);return o7e(e)};var i7e=()=>"Failed to generate invite link",f7e=()=>"生成邀请链接失败",Nb=(e={},r={})=>{if((d??r.locale??n())==="zh")return f7e(e);return i7e(e)};var s7e=()=>"Failed to generate token",l7e=()=>"生成令牌失败",Db=(e={},r={})=>{if((d??r.locale??n())==="zh")return l7e(e);return s7e(e)};var c7e=()=>"Failed to install skill",u7e=()=>"安装技能失败",Pb=(e={},r={})=>{if((d??r.locale??n())==="zh")return u7e(e);return c7e(e)};var d7e=()=>"Failed to load quota usage",Z7e=()=>"加载配额使用量失败",Ah=(e={},r={})=>{if((d??r.locale??n())==="zh")return Z7e(e);return d7e(e)};var p7e=()=>"Failed to post comment",m7e=()=>"发送评论失败",Ob=(e={},r={})=>{if((d??r.locale??n())==="zh")return m7e(e);return p7e(e)};var h7e=()=>"Failed to prepare download links",g7e=()=>"准备下载链接失败",Hfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return g7e(e);return h7e(e)};var M7e=()=>"Failed to remove member",v7e=()=>"移除成员失败",Fb=(e={},r={})=>{if((d??r.locale??n())==="zh")return v7e(e);return M7e(e)};var x7e=()=>"Failed to remove version",y7e=()=>"移除版本失败",b7e=(e={},r={})=>{if((d??r.locale??n())==="zh")return y7e(e);return x7e(e)};var _7e=()=>"Failed to rename",w7e=()=>"重命名失败",Lb=(e={},r={})=>{if((d??r.locale??n())==="zh")return w7e(e);return _7e(e)};var z7e=()=>"Failed to reorder versions",S7e=()=>"版本重新排序失败",L7e=(e={},r={})=>{if((d??r.locale??n())==="zh")return S7e(e);return z7e(e)};var k7e=()=>"Failed to reset quota usage",C7e=()=>"重置配额使用量失败",_h=(e={},r={})=>{if((d??r.locale??n())==="zh")return C7e(e);return k7e(e)};var I7e=()=>"Failed to revoke token",R7e=()=>"撤销令牌失败",Zb=(e={},r={})=>{if((d??r.locale??n())==="zh")return R7e(e);return I7e(e)};var P7e=()=>"Failed to update member role",T7e=()=>"更新成员角色失败",Bb=(e={},r={})=>{if((d??r.locale??n())==="zh")return T7e(e);return P7e(e)};var A7e=()=>"Failed to update notification settings",D7e=()=>"更新通知设置失败",yh=(e={},r={})=>{if((d??r.locale??n())==="zh")return D7e(e);return A7e(e)};var E7e=()=>"Failed to update permission",O7e=()=>"更新权限失败",gl=(e={},r={})=>{if((d??r.locale??n())==="zh")return O7e(e);return E7e(e)};var j7e=()=>"Failed to update provider",N7e=()=>"更新提供商失败",Ub=(e={},r={})=>{if((d??r.locale??n())==="zh")return N7e(e);return j7e(e)};var F7e=()=>"Failed to update quota rule",B7e=()=>"更新配额规则失败",md=(e={},r={})=>{if((d??r.locale??n())==="zh")return B7e(e);return F7e(e)};var Y7e=()=>"Failed to update sandbox settings",U7e=()=>"更新沙箱设置失败",bh=(e={},r={})=>{if((d??r.locale??n())==="zh")return U7e(e);return Y7e(e)};var q7e=()=>"Failed to upload",H7e=()=>"上传失败",zb=(e={},r={})=>{if((d??r.locale??n())==="zh")return H7e(e);return q7e(e)};var V7e=()=>"Failed to update",W7e=()=>"更新失败",ha=(e={},r={})=>{if((d??r.locale??n())==="zh")return W7e(e);return V7e(e)};var G7e=()=>"Failed to update appearance settings",K7e=()=>"更新外观设置失败",vh=(e={},r={})=>{if((d??r.locale??n())==="zh")return K7e(e);return G7e(e)};var X7e=()=>"Failed to update avatar",Q7e=()=>"头像更新失败",jb=(e={},r={})=>{if((d??r.locale??n())==="zh")return Q7e(e);return X7e(e)};var J7e=()=>"Failed to update field",$7e=()=>"更新字段失败",Al=(e={},r={})=>{if((d??r.locale??n())==="zh")return $7e(e);return J7e(e)};var eUe=()=>"Failed to update fields order",tUe=()=>"更新字段排序失败",Of=(e={},r={})=>{if((d??r.locale??n())==="zh")return tUe(e);return eUe(e)};var rUe=()=>"Failed to update language",oUe=()=>"语言更新失败",qb=(e={},r={})=>{if((d??r.locale??n())==="zh")return oUe(e);return rUe(e)};var aUe=()=>"Failed to update profile",nUe=()=>"更新个人资料失败",Hb=(e={},r={})=>{if((d??r.locale??n())==="zh")return nUe(e);return aUe(e)};var iUe=()=>"Failed to update project",fUe=()=>"更新项目失败",$b=(e={},r={})=>{if((d??r.locale??n())==="zh")return fUe(e);return iUe(e)};var sUe=()=>"Failed to update project notification settings",lUe=()=>"更新项目通知设置失败",Gb=(e={},r={})=>{if((d??r.locale??n())==="zh")return lUe(e);return sUe(e)};var cUe=()=>"Failed to upload file",uUe=()=>"上传文件失败",Zc=(e={},r={})=>{if((d??r.locale??n())==="zh")return uUe(e);return cUe(e)};var dUe=()=>"FFmpeg Threads",ZUe=()=>"FFmpeg 线程数",Vb=(e={},r={})=>{if((d??r.locale??n())==="zh")return ZUe(e);return dUe(e)};var pUe=()=>"Maximum number of CPU threads used by FFmpeg during transcoding. Set to 0 for Auto.",mUe=()=>"FFmpeg 转码时使用的最大 CPU 线程数。设置为 0 表示自动。",Qb=(e={},r={})=>{if((d??r.locale??n())==="zh")return mUe(e);return pUe(e)};var hUe=()=>"Field",gUe=()=>"字段",Ff=(e={},r={})=>{if((d??r.locale??n())==="zh")return gUe(e);return hUe(e)};var MUe=()=>"Created At",vUe=()=>"创建时间",Kb=(e={},r={})=>{if((d??r.locale??n())==="zh")return vUe(e);return MUe(e)};var xUe=()=>"Field created successfully",yUe=()=>"字段创建成功",Wb=(e={},r={})=>{if((d??r.locale??n())==="zh")return yUe(e);return xUe(e)};var bUe=()=>"Field deleted successfully",_Ue=()=>"字段删除成功",Yb=(e={},r={})=>{if((d??r.locale??n())==="zh")return _Ue(e);return bUe(e)};var wUe=()=>"Field Name",zUe=()=>"字段名称",Lf=(e={},r={})=>{if((d??r.locale??n())==="zh")return zUe(e);return wUe(e)};var SUe=()=>"e.g. Status",LUe=()=>"例如:状态",Jb=(e={},r={})=>{if((d??r.locale??n())==="zh")return LUe(e);return SUe(e)};var kUe=()=>"Size",CUe=()=>"大小",Xb=(e={},r={})=>{if((d??r.locale??n())==="zh")return CUe(e);return kUe(e)};var IUe=()=>"Field Type",RUe=()=>"字段类型",Zf=(e={},r={})=>{if((d??r.locale??n())==="zh")return RUe(e);return IUe(e)};var PUe=()=>"Updated At",TUe=()=>"更新时间",ev=(e={},r={})=>{if((d??r.locale??n())==="zh")return TUe(e);return PUe(e)};var AUe=()=>"Field updated successfully",DUe=()=>"字段更新成功",tv=(e={},r={})=>{if((d??r.locale??n())==="zh")return DUe(e);return AUe(e)};var EUe=()=>"Fields",OUe=()=>"字段",Ri=(e={},r={})=>{if((d??r.locale??n())==="zh")return OUe(e);return EUe(e)};var jUe=()=>"File size exceeds the 1MB limit",NUe=()=>"文件大小不能超过 1MB",rv=(e={},r={})=>{if((d??r.locale??n())==="zh")return NUe(e);return jUe(e)};var FUe=()=>"File not found.",BUe=()=>"文件未找到。",wh=(e={},r={})=>{if((d??r.locale??n())==="zh")return BUe(e);return FUe(e)};var YUe=(e)=>`${e?.uploaded} / ${e?.total} files`,UUe=(e)=>`${e?.uploaded} / ${e?.total} 个文件`,Vfe=(e,r={})=>{if((d??r.locale??n())==="zh")return UUe(e);return YUe(e)};var qUe=()=>"Filesystem Restriction",HUe=()=>"文件系统限制",nv=(e={},r={})=>{if((d??r.locale??n())==="zh")return HUe(e);return qUe(e)};var VUe=()=>"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.",WUe=()=>"沙箱 Shell 命令可以读取工作区文件,但环境变量、证书和密钥等敏感文件除外;可以写入项目的 .pi 文件夹和系统临时目录,以及少量由运行时管理的系统路径。这些文件系统规则目前出于安全考虑已硬编码。",ov=(e={},r={})=>{if((d??r.locale??n())==="zh")return WUe(e);return VUe(e)};var GUe=()=>"and",KUe=()=>"且",sv=(e={},r={})=>{if((d??r.locale??n())==="zh")return KUe(e);return GUe(e)};var XUe=()=>"Filter by Action",QUe=()=>"按操作筛选",av=(e={},r={})=>{if((d??r.locale??n())==="zh")return QUe(e);return XUe(e)};var JUe=()=>"Filter by User",$Ue=()=>"按用户筛选",iv=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Ue(e);return JUe(e)};var eqe=()=>"Search tasks in this status...",tqe=()=>"搜索此状态下的任务...",rqe=(e={},r={})=>{if((d??r.locale??n())==="zh")return tqe(e);return eqe(e)};var oqe=()=>"Where",aqe=()=>"条件",lv=(e={},r={})=>{if((d??r.locale??n())==="zh")return aqe(e);return oqe(e)};var nqe=()=>"Filters",iqe=()=>"筛选条件",cv=(e={},r={})=>{if((d??r.locale??n())==="zh")return iqe(e);return nqe(e)};var fqe=()=>"You will be the owner of the default workspace as the first user!",sqe=()=>"作为第一位用户,您将成为默认工作空间的拥有者!",lqe=(e={},r={})=>{if((d??r.locale??n())==="zh")return sqe(e);return fqe(e)};var cqe=()=>"Fit",uqe=()=>"适应窗口",Bf=(e={},r={})=>{if((d??r.locale??n())==="zh")return uqe(e);return cqe(e)};var dqe=()=>"Folder",Zqe=()=>"文件夹",xh=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zqe(e);return dqe(e)};var pqe=()=>"Folder deleted",mqe=()=>"文件夹已删除",hqe=(e={},r={})=>{if((d??r.locale??n())==="zh")return mqe(e);return pqe(e)};var gqe=()=>"Selected folder files will be prepared for download.",Mqe=()=>"所选文件夹中的文件将被准备下载。",Sh=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mqe(e);return gqe(e)};var vqe=()=>"Folder name",xqe=()=>"文件夹名称",Eh=(e={},r={})=>{if((d??r.locale??n())==="zh")return xqe(e);return vqe(e)};var yqe=()=>"Folder renamed",bqe=()=>"文件夹已重命名",_qe=(e={},r={})=>{if((d??r.locale??n())==="zh")return bqe(e);return yqe(e)};var wqe=()=>"Folder hierarchy will be flattened. All nested files will be downloaded directly into your default download folder.",zqe=()=>"文件夹层级将被扁平化。所有嵌套文件将直接下载到您的默认下载文件夹中。",Ch=(e={},r={})=>{if((d??r.locale??n())==="zh")return zqe(e);return wqe(e)};var Sqe=()=>"Assets",Lqe=()=>"资产",Wfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lqe(e);return Sqe(e)};var kqe=()=>"Font Size",Cqe=()=>"字体大小",uv=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cqe(e);return kqe(e)};var Iqe=()=>"Format",Rqe=()=>"格式",dv=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rqe(e);return Iqe(e)};var Pqe=()=>"Frames",Tqe=()=>"帧数",fv=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tqe(e);return Pqe(e)};var Aqe=()=>"Fullscreen",Dqe=()=>"全屏",hd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dqe(e);return Aqe(e)};var Eqe=()=>"General",Oqe=()=>"通用",pv=(e={},r={})=>{if((d??r.locale??n())==="zh")return Oqe(e);return Eqe(e)};var jqe=()=>"General Comments",Nqe=()=>"普通评论",mv=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nqe(e);return jqe(e)};var Fqe=()=>"General Settings",Bqe=()=>"通用设置",Ih=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bqe(e);return Fqe(e)};var Yqe=()=>"View your personal information and team role.",Uqe=()=>"查看您的个人信息和团队角色。",hv=(e={},r={})=>{if((d??r.locale??n())==="zh")return Uqe(e);return Yqe(e)};var qqe=()=>"Generate",Hqe=()=>"生成",gv=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hqe(e);return qqe(e)};var Vqe=()=>"Generate Link",Wqe=()=>"生成链接",Av=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wqe(e);return Vqe(e)};var Gqe=()=>"GitHub Repository URL",Kqe=()=>"GitHub 仓库 URL",_v=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kqe(e);return Gqe(e)};var Xqe=()=>"Example: https://github.com/google/gemini-cli",Qqe=()=>"示例:https://github.com/google/gemini-cli",yv=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qqe(e);return Xqe(e)};var Jqe=()=>"Global API Protocol",$qe=()=>"全局 API 协议",Th=(e={},r={})=>{if((d??r.locale??n())==="zh")return $qe(e);return Jqe(e)};var e9e=()=>"Go to Login",t9e=()=>"前往登录",Uf=(e={},r={})=>{if((d??r.locale??n())==="zh")return t9e(e);return e9e(e)};var r9e=()=>"Goal created",o9e=()=>"目标已创建",bv=(e={},r={})=>{if((d??r.locale??n())==="zh")return o9e(e);return r9e(e)};var a9e=()=>"Goal deleted",n9e=()=>"目标已删除",vv=(e={},r={})=>{if((d??r.locale??n())==="zh")return n9e(e);return a9e(e)};var i9e=()=>"Goal Description",f9e=()=>"目标描述",wv=(e={},r={})=>{if((d??r.locale??n())==="zh")return f9e(e);return i9e(e)};var s9e=()=>"Describe the desired outcome and success criteria...",l9e=()=>"描述预期成果和衡量标准...",xv=(e={},r={})=>{if((d??r.locale??n())==="zh")return l9e(e);return s9e(e)};var c9e=()=>"Goal Title",u9e=()=>"目标标题",Sv=(e={},r={})=>{if((d??r.locale??n())==="zh")return u9e(e);return c9e(e)};var d9e=()=>"e.g. Q3 Launch Deliverables",Z9e=()=>"例如:Q3 发布交付物",Ev=(e={},r={})=>{if((d??r.locale??n())==="zh")return Z9e(e);return d9e(e)};var p9e=()=>"Goal updated",m9e=()=>"目标已更新",Cv=(e={},r={})=>{if((d??r.locale??n())==="zh")return m9e(e);return p9e(e)};var h9e=()=>"Goals",g9e=()=>"目标",gd=(e={},r={})=>{if((d??r.locale??n())==="zh")return g9e(e);return h9e(e)};var M9e=()=>"Grid",v9e=()=>"网格",Iv=(e={},r={})=>{if((d??r.locale??n())==="zh")return v9e(e);return M9e(e)};var x9e=()=>"Groups",y9e=()=>"分组",Tv=(e={},r={})=>{if((d??r.locale??n())==="zh")return y9e(e);return x9e(e)};var b9e=()=>"Hardware Acceleration",_9e=()=>"硬件加速",Mv=(e={},r={})=>{if((d??r.locale??n())==="zh")return _9e(e);return b9e(e)};var w9e=()=>"Auto Detect",z9e=()=>"自动检测",kv=(e={},r={})=>{if((d??r.locale??n())==="zh")return z9e(e);return w9e(e)};var S9e=()=>"Automatically probes and uses GPU/Hardware acceleration (NVENC, QSV, AMF, VideoToolbox). If hardware acceleration is unsupported on the host, video transcoding may fail.",L9e=()=>"自动检测并使用 GPU/硬件加速(NVENC、QSV、AMF、VideoToolbox)。若宿主硬件不支持加速,视频转码可能会失败。",Rv=(e={},r={})=>{if((d??r.locale??n())==="zh")return L9e(e);return S9e(e)};var k9e=()=>"Disabled (Software)",C9e=()=>"已禁用 (软件编码)",Nv=(e={},r={})=>{if((d??r.locale??n())==="zh")return C9e(e);return k9e(e)};var I9e=()=>"Uses software libx264 encoder with constant rate factor (CRF).",R9e=()=>"使用 CPU 的 libx264 软件编码器及 CRF 恒定画质模式。",Dv=(e={},r={})=>{if((d??r.locale??n())==="zh")return R9e(e);return I9e(e)};var P9e=()=>"Hide Agent",T9e=()=>"隐藏 Agent",Pv=(e={},r={})=>{if((d??r.locale??n())==="zh")return T9e(e);return P9e(e)};var A9e=()=>"Hide the AGENTS.md button, agent-chat sidebar, and chatbot trigger button across the entire team.",D9e=()=>"在整个团队中隐藏 AGENTS.md 按钮、Agent 聊天侧边栏和触发按钮。",Ov=(e={},r={})=>{if((d??r.locale??n())==="zh")return D9e(e);return A9e(e)};var E9e=()=>"Hide Chatbot",O9e=()=>"隐藏聊天机器人",j9e=(e={},r={})=>{if((d??r.locale??n())==="zh")return O9e(e);return E9e(e)};var N9e=()=>"History",F9e=()=>"历史记录",Mh=(e={},r={})=>{if((d??r.locale??n())==="zh")return F9e(e);return N9e(e)};var B9e=()=>"Home",Y9e=()=>"主页",U9e=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y9e(e);return B9e(e)};var q9e=()=>"Image Asset",H9e=()=>"图片资源",Fv=(e={},r={})=>{if((d??r.locale??n())==="zh")return H9e(e);return q9e(e)};var V9e=(e)=>`${e?.count} enabled`,W9e=(e)=>`${e?.count} 个已启用`,Lv=(e,r={})=>{if((d??r.locale??n())==="zh")return W9e(e);return V9e(e)};var G9e=()=>"[Image Object]",K9e=()=>"[图片对象]",zf=(e={},r={})=>{if((d??r.locale??n())==="zh")return K9e(e);return G9e(e)};var X9e=()=>"Image Size",Q9e=()=>"图片大小",Zv=(e={},r={})=>{if((d??r.locale??n())==="zh")return Q9e(e);return X9e(e)};var J9e=()=>"Image / Video Generation",$9e=()=>"图像与视频生成",kh=(e={},r={})=>{if((d??r.locale??n())==="zh")return $9e(e);return J9e(e)};var eHe=()=>"Import a skill from a local ZIP archive or a GitHub repository.",tHe=()=>"从本地 ZIP 压缩包或 GitHub 仓库导入技能。",Bv=(e={},r={})=>{if((d??r.locale??n())==="zh")return tHe(e);return eHe(e)};var rHe=()=>"Input Cost (1M)",oHe=()=>"输入成本(每百万)",Uv=(e={},r={})=>{if((d??r.locale??n())==="zh")return oHe(e);return rHe(e)};var aHe=()=>"Input Tokens",nHe=()=>"输入 Token",Rh=(e={},r={})=>{if((d??r.locale??n())==="zh")return nHe(e);return aHe(e)};var iHe=()=>"Install",fHe=()=>"安装",zv=(e={},r={})=>{if((d??r.locale??n())==="zh")return fHe(e);return iHe(e)};var sHe=()=>"Invalid credentials",lHe=()=>"凭证无效",cHe=(e={},r={})=>{if((d??r.locale??n())==="zh")return lHe(e);return sHe(e)};var uHe=()=>"Invalid email address",dHe=()=>"无效的邮箱地址",Gfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return dHe(e);return uHe(e)};var ZHe=()=>"Invalid or missing reset token.",pHe=()=>"无效或缺失的重置令牌。",jf=(e={},r={})=>{if((d??r.locale??n())==="zh")return pHe(e);return ZHe(e)};var mHe=()=>"Please contact your administrator to generate a new password reset link.",hHe=()=>"请联系管理员生成新的密码重置链接。",jv=(e={},r={})=>{if((d??r.locale??n())==="zh")return hHe(e);return mHe(e)};var gHe=(e)=>`${e?.inviterName} invited you to join ${e?.targetName} as ${e?.role}.`,MHe=(e)=>`${e?.inviterName} 邀请您加入 ${e?.targetName},角色为 ${e?.role}。`,vHe=(e,r={})=>{if((d??r.locale??n())==="zh")return MHe(e);return gHe(e)};var xHe=()=>"Invite link copied to clipboard",yHe=()=>"邀请链接已复制到剪贴板",qv=(e={},r={})=>{if((d??r.locale??n())==="zh")return yHe(e);return xHe(e)};var bHe=()=>"Invite New Member",_He=()=>"邀请新成员",Hv=(e={},r={})=>{if((d??r.locale??n())==="zh")return _He(e);return bHe(e)};var wHe=()=>"Item ID",zHe=()=>"条目 ID",$v=(e={},r={})=>{if((d??r.locale??n())==="zh")return zHe(e);return wHe(e)};var SHe=()=>"Kanban",LHe=()=>"看板",kHe=(e={},r={})=>{if((d??r.locale??n())==="zh")return LHe(e);return SHe(e)};var CHe=()=>"Kanban Comments",IHe=()=>"看板评论",Gv=(e={},r={})=>{if((d??r.locale??n())==="zh")return IHe(e);return CHe(e)};var RHe=()=>"Manage notifications for Kanban board tasks and comments.",PHe=()=>"管理看板任务和评论相关的通知偏好。",Vv=(e={},r={})=>{if((d??r.locale??n())==="zh")return PHe(e);return RHe(e)};var THe=()=>"Kanban Notifications",AHe=()=>"看板通知",Qv=(e={},r={})=>{if((d??r.locale??n())==="zh")return AHe(e);return THe(e)};var DHe=()=>"Kanban Tasks",EHe=()=>"看板任务",Kv=(e={},r={})=>{if((d??r.locale??n())==="zh")return EHe(e);return DHe(e)};var OHe=()=>"Language Settings",jHe=()=>"语言设置",Wv=(e={},r={})=>{if((d??r.locale??n())==="zh")return jHe(e);return OHe(e)};var NHe=()=>"Language updated successfully",FHe=()=>"语言更新成功",Yv=(e={},r={})=>{if((d??r.locale??n())==="zh")return FHe(e);return NHe(e)};var BHe=()=>"Light",YHe=()=>"浅色",UHe=(e={},r={})=>{if((d??r.locale??n())==="zh")return YHe(e);return BHe(e)};var qHe=()=>"Link copied to clipboard",HHe=()=>"链接已复制到剪贴板",Jv=(e={},r={})=>{if((d??r.locale??n())==="zh")return HHe(e);return qHe(e)};var VHe=()=>"Link to Task",WHe=()=>"关联到任务",GHe=(e={},r={})=>{if((d??r.locale??n())==="zh")return WHe(e);return VHe(e)};var KHe=()=>"Link Visibility",XHe=()=>"链接可见性",Xv=(e={},r={})=>{if((d??r.locale??n())==="zh")return XHe(e);return KHe(e)};var QHe=(e)=>`${e?.count} assets`,JHe=(e)=>`${e?.count} 个资产`,ew=(e,r={})=>{if((d??r.locale??n())==="zh")return JHe(e);return QHe(e)};var $He=()=>"Linked Tasks",eVe=()=>"关联任务",qf=(e={},r={})=>{if((d??r.locale??n())==="zh")return eVe(e);return $He(e)};var tVe=()=>"List",rVe=()=>"列表",tw=(e={},r={})=>{if((d??r.locale??n())==="zh")return rVe(e);return tVe(e)};var oVe=()=>"Load Template",aVe=()=>"加载模板",rw=(e={},r={})=>{if((d??r.locale??n())==="zh")return aVe(e);return oVe(e)};var nVe=()=>"Loading...",iVe=()=>"加载中...",Ad=(e={},r={})=>{if((d??r.locale??n())==="zh")return iVe(e);return nVe(e)};var fVe=()=>"Loading collection...",sVe=()=>"正在加载媒体合集...",Nh=(e={},r={})=>{if((d??r.locale??n())==="zh")return sVe(e);return fVe(e)};var lVe=()=>"Loading models...",cVe=()=>"正在加载模型...",nw=(e={},r={})=>{if((d??r.locale??n())==="zh")return cVe(e);return lVe(e)};var uVe=()=>"Loading more...",dVe=()=>"加载更多...",ow=(e={},r={})=>{if((d??r.locale??n())==="zh")return dVe(e);return uVe(e)};var ZVe=()=>"Log out",pVe=()=>"退出登录",mVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return pVe(e);return ZVe(e)};var hVe=()=>"Logging in...",gVe=()=>"登录中...",MVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return gVe(e);return hVe(e)};var vVe=()=>"Login",xVe=()=>"登录",Kfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return xVe(e);return vVe(e)};var yVe=()=>"Login here",bVe=()=>"在此登录",_Ve=(e={},r={})=>{if((d??r.locale??n())==="zh")return bVe(e);return yVe(e)};var wVe=()=>"Enter your credentials to access your account.",zVe=()=>"输入您的凭证以访问您的账户。",SVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return zVe(e);return wVe(e)};var LVe=()=>"Loop",kVe=()=>"循环",sw=(e={},r={})=>{if((d??r.locale??n())==="zh")return kVe(e);return LVe(e)};var CVe=()=>"Manage environment variables for this skill instance.",IVe=()=>"管理此技能实例的环境变量。",aw=(e={},r={})=>{if((d??r.locale??n())==="zh")return IVe(e);return CVe(e)};var RVe=()=>"Manage Fields",PVe=()=>"管理字段",Hf=(e={},r={})=>{if((d??r.locale??n())==="zh")return PVe(e);return RVe(e)};var TVe=()=>"Manage and update your project workspace configurations.",AVe=()=>"管理和更新您的项目工作区配置。",iw=(e={},r={})=>{if((d??r.locale??n())==="zh")return AVe(e);return TVe(e)};var DVe=()=>"Manage versions",EVe=()=>"管理版本",$f=(e={},r={})=>{if((d??r.locale??n())==="zh")return EVe(e);return DVe(e)};var OVe=()=>"Manage versions",jVe=()=>"管理版本",NVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return jVe(e);return OVe(e)};var FVe=()=>"Mark all as read",BVe=()=>"全部标记为已读",YVe=(e={},r={})=>{if((d??r.locale??n())==="zh")return BVe(e);return FVe(e)};var UVe=()=>"Mark as complete",qVe=()=>"标记为已完成",lw=(e={},r={})=>{if((d??r.locale??n())==="zh")return qVe(e);return UVe(e)};var HVe=()=>"Mark as incomplete",VVe=()=>"标记为未完成",cw=(e={},r={})=>{if((d??r.locale??n())==="zh")return VVe(e);return HVe(e)};var WVe=()=>"Markup is not supported for this file type",GVe=()=>"此文件类型不支持标注",Gf=(e={},r={})=>{if((d??r.locale??n())==="zh")return GVe(e);return WVe(e)};var KVe=()=>"Match found at",XVe=()=>"在以下位置找到匹配",uw=(e={},r={})=>{if((d??r.locale??n())==="zh")return XVe(e);return KVe(e)};var QVe=(e)=>`Matched ${e?.count} items`,JVe=(e)=>`匹配了 ${e?.count} 项`,dw=(e,r={})=>{if((d??r.locale??n())==="zh")return JVe(e);return QVe(e)};var $Ve=()=>"Max Output Tokens",eWe=()=>"最大输出令牌数",fw=(e={},r={})=>{if((d??r.locale??n())==="zh")return eWe(e);return $Ve(e)};var tWe=(e)=>`max ${e?.count}`,rWe=(e)=>`最大 ${e?.count}`,pw=(e,r={})=>{if((d??r.locale??n())==="zh")return rWe(e);return tWe(e)};var oWe=()=>"Auto-Detect (Default)",aWe=()=>"自动检测 (默认)",mw=(e={},r={})=>{if((d??r.locale??n())==="zh")return aWe(e);return oWe(e)};var nWe=()=>"Bearer Token",iWe=()=>"Bearer 令牌",hw=(e={},r={})=>{if((d??r.locale??n())==="zh")return iWe(e);return nWe(e)};var fWe=()=>"Failed to authenticate MCP server",sWe=()=>"MCP 服务身份验证失败",Vf=(e={},r={})=>{if((d??r.locale??n())==="zh")return sWe(e);return fWe(e)};var lWe=()=>"None",cWe=()=>"无",gw=(e={},r={})=>{if((d??r.locale??n())==="zh")return cWe(e);return lWe(e)};var uWe=()=>"OAuth 2.0",dWe=()=>"OAuth 2.0",Aw=(e={},r={})=>{if((d??r.locale??n())==="zh")return dWe(e);return uWe(e)};var ZWe=()=>"MCP server authenticated successfully",pWe=()=>"MCP 服务身份验证成功",Dh=(e={},r={})=>{if((d??r.locale??n())==="zh")return pWe(e);return ZWe(e)};var mWe=()=>"Authentication Type",hWe=()=>"身份验证类型",_w=(e={},r={})=>{if((d??r.locale??n())==="zh")return hWe(e);return mWe(e)};var gWe=()=>"Bearer Token",MWe=()=>"Bearer 令牌",yw=(e={},r={})=>{if((d??r.locale??n())==="zh")return MWe(e);return gWe(e)};var vWe=()=>"All Direct",xWe=()=>"全部直连",bw=(e={},r={})=>{if((d??r.locale??n())==="zh")return xWe(e);return vWe(e)};var yWe=()=>"All Off",bWe=()=>"全部关闭",vw=(e={},r={})=>{if((d??r.locale??n())==="zh")return bWe(e);return yWe(e)};var _We=()=>"All Proxy",wWe=()=>"全部代理",ww=(e={},r={})=>{if((d??r.locale??n())==="zh")return wWe(e);return _We(e)};var zWe=()=>"Connect Account",SWe=()=>"连接账号",Ph=(e={},r={})=>{if((d??r.locale??n())==="zh")return SWe(e);return zWe(e)};var LWe=()=>"Disconnect Auth",kWe=()=>"断开身份验证",Oh=(e={},r={})=>{if((d??r.locale??n())==="zh")return kWe(e);return LWe(e)};var CWe=()=>"Client ID",IWe=()=>"Client ID",xw=(e={},r={})=>{if((d??r.locale??n())==="zh")return IWe(e);return CWe(e)};var RWe=()=>"Client Secret",PWe=()=>"Client Secret",Sw=(e={},r={})=>{if((d??r.locale??n())==="zh")return PWe(e);return RWe(e)};var TWe=()=>"Grant Type",AWe=()=>"授权模式 (Grant Type)",Ew=(e={},r={})=>{if((d??r.locale??n())==="zh")return AWe(e);return TWe(e)};var DWe=()=>"Scope",EWe=()=>"作用域 (Scope)",Cw=(e={},r={})=>{if((d??r.locale??n())==="zh")return EWe(e);return DWe(e)};var OWe=()=>"Refresh Server",jWe=()=>"刷新服务器",Fh=(e={},r={})=>{if((d??r.locale??n())==="zh")return jWe(e);return OWe(e)};var NWe=()=>"Server refreshed",FWe=()=>"服务器已刷新",Iw=(e={},r={})=>{if((d??r.locale??n())==="zh")return FWe(e);return NWe(e)};var BWe=()=>"Name and description are auto-detected from the server after connecting.",YWe=()=>"连接后将自动从服务端获取名称和描述。",Lh=(e={},r={})=>{if((d??r.locale??n())==="zh")return YWe(e);return BWe(e)};var UWe=()=>"Server Instructions",qWe=()=>"服务器说明",Tw=(e={},r={})=>{if((d??r.locale??n())==="zh")return qWe(e);return UWe(e)};var HWe=()=>"Server Name",VWe=()=>"服务名称",Mw=(e={},r={})=>{if((d??r.locale??n())==="zh")return VWe(e);return HWe(e)};var WWe=()=>"Endpoint URL",GWe=()=>"Endpoint URL",Zh=(e={},r={})=>{if((d??r.locale??n())==="zh")return GWe(e);return WWe(e)};var KWe=()=>"MCP Servers",XWe=()=>"MCP 服务",Bc=(e={},r={})=>{if((d??r.locale??n())==="zh")return XWe(e);return KWe(e)};var QWe=()=>"Configure Model Context Protocol (MCP) servers and tools for your team.",JWe=()=>"为团队配置 Model Context Protocol (MCP) 服务与工具。",_d=(e={},r={})=>{if((d??r.locale??n())==="zh")return JWe(e);return QWe(e)};var $We=()=>"Connected",eGe=()=>"已连接",kw=(e={},r={})=>{if((d??r.locale??n())==="zh")return eGe(e);return $We(e)};var tGe=()=>"Failed",rGe=()=>"连接失败",Rw=(e={},r={})=>{if((d??r.locale??n())==="zh")return rGe(e);return tGe(e)};var oGe=()=>"Needs Authentication",aGe=()=>"需要身份验证",Bh=(e={},r={})=>{if((d??r.locale??n())==="zh")return aGe(e);return oGe(e)};var nGe=()=>"Not Connected",iGe=()=>"未连接",Nw=(e={},r={})=>{if((d??r.locale??n())==="zh")return iGe(e);return nGe(e)};var fGe=()=>"Direct",sGe=()=>"直连",Dw=(e={},r={})=>{if((d??r.locale??n())==="zh")return sGe(e);return fGe(e)};var lGe=()=>"Off",cGe=()=>"关闭",Pw=(e={},r={})=>{if((d??r.locale??n())==="zh")return cGe(e);return lGe(e)};var uGe=()=>"Proxy",dGe=()=>"代理",Ow=(e={},r={})=>{if((d??r.locale??n())==="zh")return dGe(e);return uGe(e)};var ZGe=()=>"MCP Tools",pGe=()=>"MCP 工具",Fw=(e={},r={})=>{if((d??r.locale??n())==="zh")return pGe(e);return ZGe(e)};var mGe=(e)=>`${e?.count} Tools`,hGe=(e)=>`${e?.count} 个工具`,Lw=(e,r={})=>{if((d??r.locale??n())==="zh")return hGe(e);return mGe(e)};var gGe=()=>"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.",MGe=()=>"配置 MCP 工具向 Agent 的暴露方式。代理模式通过 MCP 代理隐匿工具,以保持较低的上下文占用;直连模式将选定工具直接作为 Agent 原生工具暴露,便于更好地发现与更快地调用。建议对高频或关键工具使用直连模式,对于大型 MCP 服务保持代理模式以避免不必要的上下文开销。",Zw=(e={},r={})=>{if((d??r.locale??n())==="zh")return MGe(e);return gGe(e)};var vGe=()=>"Transport Protocol",xGe=()=>"传输协议",Bw=(e={},r={})=>{if((d??r.locale??n())==="zh")return xGe(e);return vGe(e)};var yGe=()=>"Configure providers and enabled models for built-in image and video generation tools.",bGe=()=>"配置内置图像和视频生成工具的提供商与已启用模型。",Uw=(e={},r={})=>{if((d??r.locale??n())==="zh")return bGe(e);return yGe(e)};var _Ge=()=>"Media Processing",wGe=()=>"媒体处理",Uh=(e={},r={})=>{if((d??r.locale??n())==="zh")return wGe(e);return _Ge(e)};var zGe=()=>"Media Providers",SGe=()=>"媒体提供商",zw=(e={},r={})=>{if((d??r.locale??n())==="zh")return SGe(e);return zGe(e)};var LGe=()=>"Configure API keys for built-in media generation providers. Providers can use environment variables or custom keys.",kGe=()=>"为内置媒体生成提供商配置 API 密钥。提供商可以使用环境变量或自定义密钥。",jw=(e={},r={})=>{if((d??r.locale??n())==="zh")return kGe(e);return LGe(e)};var CGe=()=>"Image",IGe=()=>"图像",Qf=(e={},r={})=>{if((d??r.locale??n())==="zh")return IGe(e);return CGe(e)};var RGe=()=>"Video",PGe=()=>"视频",Kf=(e={},r={})=>{if((d??r.locale??n())==="zh")return PGe(e);return RGe(e)};var TGe=()=>"Member removed",AGe=()=>"成员已移除",qw=(e={},r={})=>{if((d??r.locale??n())==="zh")return AGe(e);return TGe(e)};var DGe=()=>"Member role updated",EGe=()=>"成员角色已更新",Hw=(e={},r={})=>{if((d??r.locale??n())==="zh")return EGe(e);return DGe(e)};var OGe=()=>"Members",jGe=()=>"成员",$w=(e={},r={})=>{if((d??r.locale??n())==="zh")return jGe(e);return OGe(e)};var NGe=()=>"Members",FGe=()=>"成员",Gw=(e={},r={})=>{if((d??r.locale??n())==="zh")return FGe(e);return NGe(e)};var BGe=()=>"Message...",YGe=()=>"发送消息...",Vw=(e={},r={})=>{if((d??r.locale??n())==="zh")return YGe(e);return BGe(e)};var UGe=()=>"Model",qGe=()=>"模型",Qw=(e={},r={})=>{if((d??r.locale??n())==="zh")return qGe(e);return UGe(e)};var HGe=()=>"Model created successfully",VGe=()=>"模型创建成功",Kw=(e={},r={})=>{if((d??r.locale??n())==="zh")return VGe(e);return HGe(e)};var WGe=()=>"Model deleted successfully",GGe=()=>"模型删除成功",Ww=(e={},r={})=>{if((d??r.locale??n())==="zh")return GGe(e);return WGe(e)};var KGe=()=>"Model ID",XGe=()=>"模型 ID",zh=(e={},r={})=>{if((d??r.locale??n())==="zh")return XGe(e);return KGe(e)};var QGe=()=>"Model ID already exists for this provider",JGe=()=>"此提供商已存在该模型 ID",Yw=(e={},r={})=>{if((d??r.locale??n())==="zh")return JGe(e);return QGe(e)};var $Ge=()=>"e.g., gpt-4o, claude-3-5-sonnet-20241022",eKe=()=>"例如:gpt-4o, claude-3-5-sonnet-20241022",Jw=(e={},r={})=>{if((d??r.locale??n())==="zh")return eKe(e);return $Ge(e)};var tKe=()=>"Model is required",rKe=()=>"模型为必填项",Xw=(e={},r={})=>{if((d??r.locale??n())==="zh")return rKe(e);return tKe(e)};var oKe=()=>"e.g., GPT-4o",aKe=()=>"例如:GPT-4o",ex=(e={},r={})=>{if((d??r.locale??n())==="zh")return aKe(e);return oKe(e)};var nKe=()=>"Model updated successfully",iKe=()=>"模型更新成功",tx=(e={},r={})=>{if((d??r.locale??n())==="zh")return iKe(e);return nKe(e)};var fKe=()=>"Models",sKe=()=>"模型列表",yd=(e={},r={})=>{if((d??r.locale??n())==="zh")return sKe(e);return fKe(e)};var lKe=()=>"Models Configuration",cKe=()=>"模型配置",rx=(e={},r={})=>{if((d??r.locale??n())==="zh")return cKe(e);return lKe(e)};var uKe=()=>"More options",dKe=()=>"更多选项",Wf=(e={},r={})=>{if((d??r.locale??n())==="zh")return dKe(e);return uKe(e)};var ZKe=()=>"Move to",pKe=()=>"移动到",jh=(e={},r={})=>{if((d??r.locale??n())==="zh")return pKe(e);return ZKe(e)};var mKe=(e)=>`Moving ${e?.count} item(s)`,hKe=(e)=>`正在移动 ${e?.count} 个项目`,nx=(e,r={})=>{if((d??r.locale??n())==="zh")return hKe(e);return mKe(e)};var gKe=()=>"My Tasks",MKe=()=>"我的任务",ox=(e={},r={})=>{if((d??r.locale??n())==="zh")return MKe(e);return gKe(e)};var vKe=(e)=>`${e?.count} Assets`,xKe=(e)=>`${e?.count} 个资源`,Yf=(e,r={})=>{if((d??r.locale??n())==="zh")return xKe(e);return vKe(e)};var yKe=(e)=>`${e?.count} assets selected`,bKe=(e)=>`已选择 ${e?.count} 个资产`,_Ke=(e,r={})=>{if((d??r.locale??n())==="zh")return bKe(e);return yKe(e)};var wKe=(e)=>`${e?.count} Asset`,zKe=(e)=>`${e?.count} 个资源`,Jf=(e,r={})=>{if((d??r.locale??n())==="zh")return zKe(e);return wKe(e)};var SKe=(e)=>`${e?.count} days ago`,LKe=(e)=>`${e?.count} 天前`,Xfe=(e,r={})=>{if((d??r.locale??n())==="zh")return LKe(e);return SKe(e)};var kKe=(e)=>`${e?.count} day ago`,CKe=(e)=>`${e?.count} 天前`,Qfe=(e,r={})=>{if((d??r.locale??n())==="zh")return CKe(e);return kKe(e)};var IKe=(e)=>`${e?.count} days left before permanent deletion`,RKe=(e)=>`永久删除前还剩 ${e?.count} 天`,qh=(e,r={})=>{if((d??r.locale??n())==="zh")return RKe(e);return IKe(e)};var PKe=(e)=>`${e?.count} day left before permanent deletion`,TKe=(e)=>`永久删除前还剩 ${e?.count} 天`,Hh=(e,r={})=>{if((d??r.locale??n())==="zh")return TKe(e);return PKe(e)};var AKe=(e)=>`${e?.count} Folders`,DKe=(e)=>`${e?.count} 个文件夹`,Xf=(e,r={})=>{if((d??r.locale??n())==="zh")return DKe(e);return AKe(e)};var EKe=(e)=>`${e?.count} Folder`,OKe=(e)=>`${e?.count} 个文件夹`,ep=(e,r={})=>{if((d??r.locale??n())==="zh")return OKe(e);return EKe(e)};var jKe=(e)=>`${e?.count} Items`,NKe=(e)=>`${e?.count} 个项目`,$h=(e,r={})=>{if((d??r.locale??n())==="zh")return NKe(e);return jKe(e)};var FKe=(e)=>`${e?.count} Item`,BKe=(e)=>`${e?.count} 个项目`,Gh=(e,r={})=>{if((d??r.locale??n())==="zh")return BKe(e);return FKe(e)};var YKe=(e)=>`${e?.count} Models`,UKe=(e)=>`${e?.count} 个模型`,sx=(e,r={})=>{if((d??r.locale??n())==="zh")return UKe(e);return YKe(e)};var qKe=(e)=>`${e?.count} tasks`,HKe=(e)=>`${e?.count} 个任务`,VKe=(e,r={})=>{if((d??r.locale??n())==="zh")return HKe(e);return qKe(e)};var WKe=(e)=>`${e?.count} task`,GKe=(e)=>`${e?.count} 个任务`,KKe=(e,r={})=>{if((d??r.locale??n())==="zh")return GKe(e);return WKe(e)};var XKe=()=>"Name",QKe=()=>"名称",_l=(e={},r={})=>{if((d??r.locale??n())==="zh")return QKe(e);return XKe(e)};var JKe=()=>"Name is required",$Ke=()=>"名称为必填项",ax=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Ke(e);return JKe(e)};var eXe=()=>"John Doe",tXe=()=>"张三",ix=(e={},r={})=>{if((d??r.locale??n())==="zh")return tXe(e);return eXe(e)};var rXe=()=>"You need at least one project in your team to upload skills.",oXe=()=>"您的团队中至少需要一个项目才能上传技能。",lx=(e={},r={})=>{if((d??r.locale??n())==="zh")return oXe(e);return rXe(e)};var aXe=()=>"Network Sandbox",nXe=()=>"网络沙箱",cx=(e={},r={})=>{if((d??r.locale??n())==="zh")return nXe(e);return aXe(e)};var iXe=()=>"Configure domain access controls for the sandboxed agent.",fXe=()=>"配置沙箱智能体的域名访问控制。",ux=(e={},r={})=>{if((d??r.locale??n())==="zh")return fXe(e);return iXe(e)};var sXe=()=>"Network Sandbox is currently OFF. All outbound network requests from agent scripts are permitted without restrictions.",lXe=()=>"网络沙箱目前处于关闭状态。智能体脚本的所有出站网络请求均不受限制。",dx=(e={},r={})=>{if((d??r.locale??n())==="zh")return lXe(e);return sXe(e)};var cXe=()=>"When enabled, network requests from the agent are restricted to allowed domains. When disabled, all network requests are permitted.",uXe=()=>"启用后,智能体的网络请求将受限于允许的域名列表。禁用时,允许所有网络请求。",fx=(e={},r={})=>{if((d??r.locale??n())==="zh")return uXe(e);return cXe(e)};var dXe=()=>"New Chat",ZXe=()=>"开启新会话",Vh=(e={},r={})=>{if((d??r.locale??n())==="zh")return ZXe(e);return dXe(e)};var pXe=()=>"New Field",mXe=()=>"新建字段",px=(e={},r={})=>{if((d??r.locale??n())==="zh")return mXe(e);return pXe(e)};var hXe=()=>"New Field",gXe=()=>"新字段",mx=(e={},r={})=>{if((d??r.locale??n())==="zh")return gXe(e);return hXe(e)};var MXe=()=>"New Folder",vXe=()=>"新建文件夹",yl=(e={},r={})=>{if((d??r.locale??n())==="zh")return vXe(e);return MXe(e)};var xXe=()=>"New Goal",yXe=()=>"新建目标",Qh=(e={},r={})=>{if((d??r.locale??n())==="zh")return yXe(e);return xXe(e)};var bXe=()=>"New",_Xe=()=>"新建",hx=(e={},r={})=>{if((d??r.locale??n())==="zh")return _Xe(e);return bXe(e)};var wXe=()=>"New Option",zXe=()=>"新选项",bd=(e={},r={})=>{if((d??r.locale??n())==="zh")return zXe(e);return wXe(e)};var SXe=()=>"New Password",LXe=()=>"新密码",gx=(e={},r={})=>{if((d??r.locale??n())==="zh")return LXe(e);return SXe(e)};var kXe=()=>"Enter new password",CXe=()=>"输入新密码",Ax=(e={},r={})=>{if((d??r.locale??n())==="zh")return CXe(e);return kXe(e)};var IXe=()=>"Next file",RXe=()=>"下一个文件",Kh=(e={},r={})=>{if((d??r.locale??n())==="zh")return RXe(e);return IXe(e)};var PXe=()=>"Next Page",TXe=()=>"下一页",_x=(e={},r={})=>{if((d??r.locale??n())==="zh")return TXe(e);return PXe(e)};var AXe=()=>"Don't have an account? ",DXe=()=>"还没有账户?",EXe=(e={},r={})=>{if((d??r.locale??n())==="zh")return DXe(e);return AXe(e)};var OXe=()=>"No activity recorded yet",jXe=()=>"暂无活动记录",NXe=(e={},r={})=>{if((d??r.locale??n())==="zh")return jXe(e);return OXe(e)};var FXe=(e)=>`No ${e?.type} agents found`,BXe=(e)=>`未找到${e?.type}智能体`,yx=(e,r={})=>{if((d??r.locale??n())==="zh")return BXe(e);return FXe(e)};var YXe=()=>"No API tokens found. Generate one above to get started.",UXe=()=>"未找到 API 令牌。请在上方生成一个以开始使用。",bx=(e={},r={})=>{if((d??r.locale??n())==="zh")return UXe(e);return YXe(e)};var qXe=()=>"No assets in this folder",HXe=()=>"此文件夹中没有资产",VXe=(e={},r={})=>{if((d??r.locale??n())==="zh")return HXe(e);return qXe(e)};var WXe=()=>"No audit logs found",GXe=()=>"未找到审计日志",vx=(e={},r={})=>{if((d??r.locale??n())==="zh")return GXe(e);return WXe(e)};var KXe=()=>"No chat agents found. Please create a Chat Agent below first.",XXe=()=>"未找到聊天智能体。请先在下方创建聊天智能体。",wx=(e={},r={})=>{if((d??r.locale??n())==="zh")return XXe(e);return KXe(e)};var QXe=()=>"No collections created yet.",JXe=()=>"暂无媒体合集。",xx=(e={},r={})=>{if((d??r.locale??n())==="zh")return JXe(e);return QXe(e)};var $Xe=()=>"No comments yet",eQe=()=>"暂无评论",Wh=(e={},r={})=>{if((d??r.locale??n())==="zh")return eQe(e);return $Xe(e)};var tQe=()=>"No custom domains allowed",rQe=()=>"没有自定义允许域名",Sx=(e={},r={})=>{if((d??r.locale??n())==="zh")return rQe(e);return tQe(e)};var oQe=()=>"No description provided.",aQe=()=>"暂无描述。",Yh=(e={},r={})=>{if((d??r.locale??n())==="zh")return aQe(e);return oQe(e)};var nQe=()=>'No environment variables found. Click "Add Variable" to create one.',iQe=()=>'未找到环境变量。点击"添加变量"创建一个。',Ex=(e={},r={})=>{if((d??r.locale??n())==="zh")return iQe(e);return nQe(e)};var fQe=()=>"No fields found",sQe=()=>"未找到字段",Cx=(e={},r={})=>{if((d??r.locale??n())==="zh")return sQe(e);return fQe(e)};var lQe=()=>"No folder selected",cQe=()=>"未选择文件夹",uQe=(e={},r={})=>{if((d??r.locale??n())==="zh")return cQe(e);return lQe(e)};var dQe=()=>"No Folder Structure",ZQe=()=>"无文件夹结构",Jh=(e={},r={})=>{if((d??r.locale??n())==="zh")return ZQe(e);return dQe(e)};var pQe=()=>"No goals yet",mQe=()=>"暂无目标",Ix=(e={},r={})=>{if((d??r.locale??n())==="zh")return mQe(e);return pQe(e)};var hQe=()=>"No chat history found.",gQe=()=>"暂无历史会话记录",Tx=(e={},r={})=>{if((d??r.locale??n())==="zh")return gQe(e);return hQe(e)};var MQe=()=>"No item selected",vQe=()=>"未选择项目",Mx=(e={},r={})=>{if((d??r.locale??n())==="zh")return vQe(e);return MQe(e)};var xQe=()=>"No tasks linked to this asset",yQe=()=>"该资产暂无关联任务",bQe=(e={},r={})=>{if((d??r.locale??n())==="zh")return yQe(e);return xQe(e)};var _Qe=()=>"No logs found for this session.",wQe=()=>"未找到此会话的日志。",kx=(e={},r={})=>{if((d??r.locale??n())==="zh")return wQe(e);return _Qe(e)};var zQe=()=>"No matches found",SQe=()=>"未找到匹配结果",Xh=(e={},r={})=>{if((d??r.locale??n())==="zh")return SQe(e);return zQe(e)};var LQe=()=>"No matching tasks found",kQe=()=>"未找到匹配的任务",Jfe=(e={},r={})=>{if((d??r.locale??n())==="zh")return kQe(e);return LQe(e)};var CQe=()=>"No MCP servers configured",IQe=()=>"暂未配置 MCP 服务",eg=(e={},r={})=>{if((d??r.locale??n())==="zh")return IQe(e);return CQe(e)};var RQe=()=>"No models found",PQe=()=>"未找到模型",vd=(e={},r={})=>{if((d??r.locale??n())==="zh")return PQe(e);return RQe(e)};var TQe=()=>"No notifications",AQe=()=>"暂无通知",DQe=(e={},r={})=>{if((d??r.locale??n())==="zh")return AQe(e);return TQe(e)};var EQe=()=>"No options found",OQe=()=>"未找到选项",tg=(e={},r={})=>{if((d??r.locale??n())==="zh")return OQe(e);return EQe(e)};var jQe=()=>"No pending domains requiring approval",NQe=()=>"没有待审核的域名",Rx=(e={},r={})=>{if((d??r.locale??n())==="zh")return NQe(e);return jQe(e)};var FQe=()=>"No project selected",BQe=()=>"未选择项目",$fe=(e={},r={})=>{if((d??r.locale??n())==="zh")return BQe(e);return FQe(e)};var YQe=()=>"No Providers Configured",UQe=()=>"暂无已配置的提供商",Nx=(e={},r={})=>{if((d??r.locale??n())==="zh")return UQe(e);return YQe(e)};var qQe=()=>"No providers found",HQe=()=>"未找到提供商",Dx=(e={},r={})=>{if((d??r.locale??n())==="zh")return HQe(e);return qQe(e)};var VQe=()=>"Set limits on AI tokens, costs, skill executions, and agent tool calls to manage team usage.",WQe=()=>"为 AI Token、费用、MCP 服务和智能体工具调用设置限制,以便管理团队的使用情况。",tp=(e={},r={})=>{if((d??r.locale??n())==="zh")return WQe(e);return VQe(e)};var GQe=()=>"No resource quotas configured",KQe=()=>"暂未配置资源配额",rp=(e={},r={})=>{if((d??r.locale??n())==="zh")return KQe(e);return GQe(e)};var XQe=()=>"No recently viewed files",QQe=()=>"暂无最近浏览文件",np=(e={},r={})=>{if((d??r.locale??n())==="zh")return QQe(e);return XQe(e)};var JQe=()=>"Files you view in this project will appear here.",$Qe=()=>"您在此项目中查看的文件将显示在此处。",op=(e={},r={})=>{if((d??r.locale??n())==="zh")return $Qe(e);return JQe(e)};var eJe=()=>"No records matched your criteria",tJe=()=>"没有记录匹配您的条件",Px=(e={},r={})=>{if((d??r.locale??n())==="zh")return tJe(e);return eJe(e)};var rJe=()=>"No related assets linked",oJe=()=>"暂无关联资产",aJe=(e={},r={})=>{if((d??r.locale??n())==="zh")return oJe(e);return rJe(e)};var nJe=()=>"No sessions found",iJe=()=>"未找到会话",Ox=(e={},r={})=>{if((d??r.locale??n())==="zh")return iJe(e);return nJe(e)};var fJe=()=>"No share links created yet.",sJe=()=>"暂无分享链接。",Fx=(e={},r={})=>{if((d??r.locale??n())==="zh")return sJe(e);return fJe(e)};var lJe=()=>"No skills available.",cJe=()=>"暂无可用技能。",Lx=(e={},r={})=>{if((d??r.locale??n())==="zh")return cJe(e);return lJe(e)};var uJe=()=>"No skills installed",dJe=()=>"暂无已安装的技能",Zx=(e={},r={})=>{if((d??r.locale??n())==="zh")return dJe(e);return uJe(e)};var ZJe=()=>"No tasks in this column",pJe=()=>"该列暂无任务",Bx=(e={},r={})=>{if((d??r.locale??n())==="zh")return pJe(e);return ZJe(e)};var mJe=()=>"No saved templates",hJe=()=>"没有保存的模板",Ux=(e={},r={})=>{if((d??r.locale??n())==="zh")return hJe(e);return mJe(e)};var gJe=()=>"No tools found matching your search.",MJe=()=>"未找到符合搜索条件的工具。",zx=(e={},r={})=>{if((d??r.locale??n())==="zh")return MJe(e);return gJe(e)};var vJe=()=>"Upload files in the project view to track progress here.",xJe=()=>"在项目视图中上传文件以在此处跟踪进度。",yJe=(e={},r={})=>{if((d??r.locale??n())==="zh")return xJe(e);return vJe(e)};var bJe=()=>"No uploads yet",_Je=()=>"暂无上传",wJe=(e={},r={})=>{if((d??r.locale??n())==="zh")return _Je(e);return bJe(e)};var zJe=()=>"No versions found",SJe=()=>"暂无版本",LJe=(e={},r={})=>{if((d??r.locale??n())==="zh")return SJe(e);return zJe(e)};var kJe=()=>"No watermark blocks added yet",CJe=()=>"尚未添加水印块",jx=(e={},r={})=>{if((d??r.locale??n())==="zh")return CJe(e);return kJe(e)};var IJe=()=>"Notification",RJe=()=>"通知",qx=(e={},r={})=>{if((d??r.locale??n())==="zh")return RJe(e);return IJe(e)};var PJe=(e)=>`${e?.creator} commented on ${e?.asset}`,TJe=(e)=>`${e?.creator} 评论了 ${e?.asset}`,AJe=(e,r={})=>{if((d??r.locale??n())==="zh")return TJe(e);return PJe(e)};var DJe=(e)=>`New notification from ${e?.creator}`,EJe=(e)=>`来自 ${e?.creator} 的新通知`,OJe=(e,r={})=>{if((d??r.locale??n())==="zh")return EJe(e);return DJe(e)};var jJe=(e)=>`${e?.user} joined ${e?.project}`,NJe=(e)=>`${e?.user} 加入了 ${e?.project}`,FJe=(e,r={})=>{if((d??r.locale??n())==="zh")return NJe(e);return jJe(e)};var BJe=(e)=>`${e?.user} joined ${e?.team}`,YJe=(e)=>`${e?.user} 加入了 ${e?.team}`,UJe=(e,r={})=>{if((d??r.locale??n())==="zh")return YJe(e);return BJe(e)};var qJe=(e)=>`${e?.creator} assigned you to task ${e?.task}`,HJe=(e)=>`${e?.creator} 将任务 ${e?.task} 分配给了你`,VJe=(e,r={})=>{if((d??r.locale??n())==="zh")return HJe(e);return qJe(e)};var WJe=(e)=>`${e?.creator} commented on task ${e?.task}`,GJe=(e)=>`${e?.creator} 评论了任务 ${e?.task}`,KJe=(e,r={})=>{if((d??r.locale??n())==="zh")return GJe(e);return WJe(e)};var XJe=(e)=>`${e?.creator} created task ${e?.task}`,QJe=(e)=>`${e?.creator} 创建了任务 ${e?.task}`,JJe=(e,r={})=>{if((d??r.locale??n())==="zh")return QJe(e);return XJe(e)};var $Je=(e)=>`${e?.creator} deleted task ${e?.task}`,e$e=(e)=>`${e?.creator} 删除了任务 ${e?.task}`,t$e=(e,r={})=>{if((d??r.locale??n())==="zh")return e$e(e);return $Je(e)};var r$e=(e)=>`${e?.creator} updated status of task ${e?.task}`,o$e=(e)=>`${e?.creator} 更新了任务 ${e?.task} 的状态`,a$e=(e,r={})=>{if((d??r.locale??n())==="zh")return o$e(e);return r$e(e)};var n$e=(e)=>`${e?.creator} updated task ${e?.task}`,i$e=(e)=>`${e?.creator} 更新了任务 ${e?.task}`,f$e=(e,r={})=>{if((d??r.locale??n())==="zh")return i$e(e);return n$e(e)};var s$e=(e)=>`${e?.creator} mentioned you in ${e?.asset}`,l$e=(e)=>`${e?.creator} 在 ${e?.asset} 中提及了你`,c$e=(e,r={})=>{if((d??r.locale??n())==="zh")return l$e(e);return s$e(e)};var u$e=(e)=>`${e?.creator} mentioned you in task ${e?.task}`,d$e=(e)=>`${e?.creator} 在任务 ${e?.task} 中提及了你`,Z$e=(e,r={})=>{if((d??r.locale??n())==="zh")return d$e(e);return u$e(e)};var p$e=(e)=>`${e?.creator} replied to a comment on ${e?.asset}`,m$e=(e)=>`${e?.creator} 回复了 ${e?.asset} 上的评论`,h$e=(e,r={})=>{if((d??r.locale??n())==="zh")return m$e(e);return p$e(e)};var g$e=()=>"Notification Settings",M$e=()=>"通知设置",Hx=(e={},r={})=>{if((d??r.locale??n())==="zh")return M$e(e);return g$e(e)};var v$e=()=>"Notification settings updated",x$e=()=>"通知设置已更新",$x=(e={},r={})=>{if((d??r.locale??n())==="zh")return x$e(e);return v$e(e)};var y$e=(e)=>`${e?.creator} updated status of ${e?.asset}`,b$e=(e)=>`${e?.creator} 更新了 ${e?.asset} 的状态`,_$e=(e,r={})=>{if((d??r.locale??n())==="zh")return b$e(e);return y$e(e)};var w$e=(e)=>`${e?.creator} uploaded ${e?.asset} to ${e?.project}`,z$e=(e)=>`${e?.creator} 将 ${e?.asset} 上传到 ${e?.project}`,S$e=(e,r={})=>{if((d??r.locale??n())==="zh")return z$e(e);return w$e(e)};var L$e=()=>"Notifications",k$e=()=>"通知",rg=(e={},r={})=>{if((d??r.locale??n())==="zh")return k$e(e);return L$e(e)};var C$e=()=>"Configure your personal notification preferences for this team.",I$e=()=>"配置您在此团队的个人通知偏好。",Gx=(e={},r={})=>{if((d??r.locale??n())==="zh")return I$e(e);return C$e(e)};var R$e=()=>"Only team owners can access the dashboard.",P$e=()=>"只有团队所有者才能访问仪表盘。",Vx=(e={},r={})=>{if((d??r.locale??n())==="zh")return P$e(e);return R$e(e)};var T$e=()=>"Only .zip files are supported.",A$e=()=>"仅支持 .zip 文件。",Qx=(e={},r={})=>{if((d??r.locale??n())==="zh")return A$e(e);return T$e(e)};var D$e=()=>"Opacity",E$e=()=>"透明度",Kx=(e={},r={})=>{if((d??r.locale??n())==="zh")return E$e(e);return D$e(e)};var O$e=()=>"Open a supported file to add markup",j$e=()=>"打开支持的文件以添加标注",Wx=(e={},r={})=>{if((d??r.locale??n())==="zh")return j$e(e);return O$e(e)};var N$e=()=>"Open Share Link",F$e=()=>"打开分享链接",Yx=(e={},r={})=>{if((d??r.locale??n())==="zh")return F$e(e);return N$e(e)};var B$e=()=>"Operator",Y$e=()=>"运算符",Jx=(e={},r={})=>{if((d??r.locale??n())==="zh")return Y$e(e);return B$e(e)};var U$e=()=>"contains",q$e=()=>"包含",Xx=(e={},r={})=>{if((d??r.locale??n())==="zh")return q$e(e);return U$e(e)};var H$e=()=>"does not contain",V$e=()=>"不包含",eS=(e={},r={})=>{if((d??r.locale??n())==="zh")return V$e(e);return H$e(e)};var W$e=()=>"has all of",G$e=()=>"含有全部",tS=(e={},r={})=>{if((d??r.locale??n())==="zh")return G$e(e);return W$e(e)};var K$e=()=>"has any of",X$e=()=>"含有其中之一",rS=(e={},r={})=>{if((d??r.locale??n())==="zh")return X$e(e);return K$e(e)};var Q$e=()=>"has none of",J$e=()=>"不含有其中任何",nS=(e={},r={})=>{if((d??r.locale??n())==="zh")return J$e(e);return Q$e(e)};var $$e=()=>"is",eet=()=>"是",bl=(e={},r={})=>{if((d??r.locale??n())==="zh")return eet(e);return $$e(e)};var tet=()=>"is after",ret=()=>"在之后",oS=(e={},r={})=>{if((d??r.locale??n())==="zh")return ret(e);return tet(e)};var oet=()=>"is any of",aet=()=>"是其中之一",sS=(e={},r={})=>{if((d??r.locale??n())==="zh")return aet(e);return oet(e)};var net=()=>"is before",iet=()=>"在之前",aS=(e={},r={})=>{if((d??r.locale??n())==="zh")return iet(e);return net(e)};var fet=()=>"is empty",set=()=>"为空",vl=(e={},r={})=>{if((d??r.locale??n())==="zh")return set(e);return fet(e)};var cet=()=>"is exactly",uet=()=>"完全匹配",iS=(e={},r={})=>{if((d??r.locale??n())==="zh")return uet(e);return cet(e)};var det=()=>"is none of",Zet=()=>"不在其中",lS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zet(e);return det(e)};var pet=()=>"is not",met=()=>"不是",wd=(e={},r={})=>{if((d??r.locale??n())==="zh")return met(e);return pet(e)};var het=()=>"is not empty",get=()=>"不为空",wl=(e={},r={})=>{if((d??r.locale??n())==="zh")return get(e);return het(e)};var Met=()=>"is on or after",vet=()=>"在当天或之后",cS=(e={},r={})=>{if((d??r.locale??n())==="zh")return vet(e);return Met(e)};var xet=()=>"is on or before",yet=()=>"在当天或之前",uS=(e={},r={})=>{if((d??r.locale??n())==="zh")return yet(e);return xet(e)};var bet=()=>"is within",_et=()=>"在范围内",dS=(e={},r={})=>{if((d??r.locale??n())==="zh")return _et(e);return bet(e)};var wet=()=>"Option name",zet=()=>"选项名称",sp=(e={},r={})=>{if((d??r.locale??n())==="zh")return zet(e);return wet(e)};var Let=()=>"Optional default value...",ket=()=>"可选默认值...",fS=(e={},r={})=>{if((d??r.locale??n())==="zh")return ket(e);return Let(e)};var Cet=()=>"Options",Iet=()=>"选项",xd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Iet(e);return Cet(e)};var Ret=()=>"OR",Pet=()=>"或",pS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pet(e);return Ret(e)};var Tet=()=>"Order",Aet=()=>"顺序",ap=(e={},r={})=>{if((d??r.locale??n())==="zh")return Aet(e);return Tet(e)};var Det=()=>"Original",Eet=()=>"原始",xl=(e={},r={})=>{if((d??r.locale??n())==="zh")return Eet(e);return Det(e)};var Oet=()=>"Other Uploads",jet=()=>"其他上传",mS=(e={},r={})=>{if((d??r.locale??n())==="zh")return jet(e);return Oet(e)};var Net=()=>"Output Cost (1M)",Fet=()=>"输出成本(每百万)",hS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fet(e);return Net(e)};var Bet=()=>"Output Tokens",Yet=()=>"输出 Token",ng=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yet(e);return Bet(e)};var Uet=()=>"Override the default endpoint.",qet=()=>"覆盖默认端点。",og=(e={},r={})=>{if((d??r.locale??n())==="zh")return qet(e);return Uet(e)};var Het=()=>"Do you want to override the existing skill?",Vet=()=>"你想覆盖现有技能吗?",gS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vet(e);return Het(e)};var Wet=()=>"Overwrite Existing Template",Get=()=>"覆盖现有模板",sg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Get(e);return Wet(e)};var Ket=()=>"Owner",Xet=()=>"管理员",Uc=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xet(e);return Ket(e)};var Qet=()=>"Package Upload",Jet=()=>"包上传",AS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jet(e);return Qet(e)};var $et=()=>"Packages must contain a SKILL.md",ett=()=>"包必须包含 SKILL.md",_S=(e={},r={})=>{if((d??r.locale??n())==="zh")return ett(e);return $et(e)};var ttt=(e)=>`Page ${e?.current} of ${e?.total}`,rtt=(e)=>`第 ${e?.current} / ${e?.total} 页`,yS=(e,r={})=>{if((d??r.locale??n())==="zh")return rtt(e);return ttt(e)};var ott=(e)=>`Page ${e?.page}`,att=(e)=>`第 ${e?.page} 页`,ag=(e,r={})=>{if((d??r.locale??n())==="zh")return att(e);return ott(e)};var ntt=()=>"Parameters",itt=()=>"参数",bS=(e={},r={})=>{if((d??r.locale??n())==="zh")return itt(e);return ntt(e)};var ftt=()=>"Parent Tasks",stt=()=>"前置任务",ig=(e={},r={})=>{if((d??r.locale??n())==="zh")return stt(e);return ftt(e)};var ltt=()=>"Password",ctt=()=>"密码",ip=(e={},r={})=>{if((d??r.locale??n())==="zh")return ctt(e);return ltt(e)};var utt=()=>"Password is required",dtt=()=>"密码为必填项",Ztt=(e={},r={})=>{if((d??r.locale??n())==="zh")return dtt(e);return utt(e)};var ptt=()=>"Password must be at least 3 characters",mtt=()=>"密码至少需要 3 个字符",lp=(e={},r={})=>{if((d??r.locale??n())==="zh")return mtt(e);return ptt(e)};var htt=()=>"At least 3 characters",gtt=()=>"至少 3 个字符",Mtt=(e={},r={})=>{if((d??r.locale??n())==="zh")return gtt(e);return htt(e)};var vtt=()=>"Your password",xtt=()=>"请输入密码",ytt=(e={},r={})=>{if((d??r.locale??n())==="zh")return xtt(e);return vtt(e)};var btt=()=>"Password Protected",_tt=()=>"密码保护",vS=(e={},r={})=>{if((d??r.locale??n())==="zh")return _tt(e);return btt(e)};var wtt=()=>"Password reset successfully!",ztt=()=>"密码重置成功!",wS=(e={},r={})=>{if((d??r.locale??n())==="zh")return ztt(e);return wtt(e)};var Stt=()=>"You will be redirected to the login page shortly.",Ltt=()=>"您将很快被重定向到登录页面。",xS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ltt(e);return Stt(e)};var ktt=()=>"Passwords do not match",Ctt=()=>"两次输入的密码不一致",SS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ctt(e);return ktt(e)};var Itt=()=>"Pending Domain Approvals",Rtt=()=>"待审核域名",ES=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rtt(e);return Itt(e)};var Ptt=()=>"These domains were blocked during agent execution. You can approve them to allow future network requests, or delete them from this list.",Ttt=()=>"这些域名在智能体执行期间被阻止。您可以批准它们以允许将来的网络请求,或从此列表中删除它们。",CS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ttt(e);return Ptt(e)};var Att=()=>"All Users",Dtt=()=>"所有成员",Ni=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dtt(e);return Att(e)};var Ett=()=>"Owner & Editor",Ott=()=>"管理员与编辑",Di=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ott(e);return Ett(e)};var jtt=()=>"Owner Only",Ntt=()=>"仅管理员",Pi=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ntt(e);return jtt(e)};var Ftt=()=>"Personal Info",Btt=()=>"个人信息",IS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Btt(e);return Ftt(e)};var Ytt=()=>"Manage your profile name and avatar image.",Utt=()=>"管理您的个人资料名称和头像图片。",TS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Utt(e);return Ytt(e)};var qtt=()=>"Personal Settings",Htt=()=>"个人设置",MS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Htt(e);return qtt(e)};var Vtt=()=>"Playback Speed",Wtt=()=>"播放速度",kS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wtt(e);return Vtt(e)};var Gtt=()=>"Position and resize",Ktt=()=>"定位和调整大小",RS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ktt(e);return Gtt(e)};var Xtt=()=>"Position X (%)",Qtt=()=>"水平位置 (%)",NS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qtt(e);return Xtt(e)};var Jtt=()=>"Position Y (%)",$tt=()=>"垂直位置 (%)",DS=(e={},r={})=>{if((d??r.locale??n())==="zh")return $tt(e);return Jtt(e)};var ert=()=>"Preparing...",trt=()=>"准备中...",PS=(e={},r={})=>{if((d??r.locale??n())==="zh")return trt(e);return ert(e)};var rrt=()=>"Preparing Download",ort=()=>"正在准备下载",lg=(e={},r={})=>{if((d??r.locale??n())==="zh")return ort(e);return rrt(e)};var art=()=>"Preparing download links...",nrt=()=>"正在准备下载链接...",cg=(e={},r={})=>{if((d??r.locale??n())==="zh")return nrt(e);return art(e)};var irt=()=>"Preset Avatar Option",frt=()=>"预设头像选项",OS=(e={},r={})=>{if((d??r.locale??n())==="zh")return frt(e);return irt(e)};var srt=()=>"Previous file",lrt=()=>"上一个文件",ug=(e={},r={})=>{if((d??r.locale??n())==="zh")return lrt(e);return srt(e)};var crt=()=>"Previous Page",urt=()=>"上一页",cp=(e={},r={})=>{if((d??r.locale??n())==="zh")return urt(e);return crt(e)};var drt=()=>"Pricing ($ per 1M tokens)",Zrt=()=>"计费(每百万令牌美元)",FS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zrt(e);return drt(e)};var prt=()=>"High",mrt=()=>"高",hrt=(e={},r={})=>{if((d??r.locale??n())==="zh")return mrt(e);return prt(e)};var grt=()=>"Low",Mrt=()=>"低",vrt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mrt(e);return grt(e)};var xrt=()=>"Medium",yrt=()=>"中",brt=(e={},r={})=>{if((d??r.locale??n())==="zh")return yrt(e);return xrt(e)};var _rt=()=>"Urgent",wrt=()=>"紧急",zrt=(e={},r={})=>{if((d??r.locale??n())==="zh")return wrt(e);return _rt(e)};var Srt=()=>"Processing...",Lrt=()=>"处理中...",LS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lrt(e);return Srt(e)};var krt=()=>"Processing package...",Crt=()=>"正在处理包...",ZS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Crt(e);return krt(e)};var Irt=()=>"Profile updated successfully",Rrt=()=>"个人资料更新成功",dg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rrt(e);return Irt(e)};var Prt=()=>"project",Trt=()=>"项目",BS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Trt(e);return Prt(e)};var Art=()=>"Project Cover",Drt=()=>"项目封面",US=(e={},r={})=>{if((d??r.locale??n())==="zh")return Drt(e);return Art(e)};var Ert=()=>"Project ID",Ort=()=>"项目 ID",zS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ort(e);return Ert(e)};var jrt=()=>"Project Member",Nrt=()=>"项目成员",up=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nrt(e);return jrt(e)};var Frt=()=>"Project-scoped member roles are managed within individual project settings",Brt=()=>"项目成员的角色需在具体的项目设置中管理",jS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Brt(e);return Frt(e)};var Yrt=()=>"Project Members",Urt=()=>"项目成员",qS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Urt(e);return Yrt(e)};var qrt=()=>"Project Name",Hrt=()=>"项目名称",HS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hrt(e);return qrt(e)};var Vrt=()=>"A clear, concise name to identify your project space.",Wrt=()=>"简洁明了的名称,用于标识您的项目空间。",$S=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wrt(e);return Vrt(e)};var Grt=()=>"e.g. Acme Marketing, Q3 Product Launch...",Krt=()=>"例如:品牌营销、第三季度产品发布...",GS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Krt(e);return Grt(e)};var Xrt=()=>"Project notification settings updated",Qrt=()=>"项目通知设置已更新",VS=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qrt(e);return Xrt(e)};var Jrt=()=>"Project Preferences",$rt=()=>"项目偏好设置",QS=(e={},r={})=>{if((d??r.locale??n())==="zh")return $rt(e);return Jrt(e)};var eot=()=>"Project Settings",tot=()=>"项目设置",fg=(e={},r={})=>{if((d??r.locale??n())==="zh")return tot(e);return eot(e)};var rot=()=>"Projects",oot=()=>"项目",KS=(e={},r={})=>{if((d??r.locale??n())==="zh")return oot(e);return rot(e)};var aot=()=>"Please provide your name and email to add a comment.",not=()=>"请提供您的姓名和邮箱以添加评论。",WS=(e={},r={})=>{if((d??r.locale??n())==="zh")return not(e);return aot(e)};var iot=()=>"Provider",fot=()=>"提供商",YS=(e={},r={})=>{if((d??r.locale??n())==="zh")return fot(e);return iot(e)};var sot=()=>"Provider created successfully",lot=()=>"提供商创建成功",JS=(e={},r={})=>{if((d??r.locale??n())==="zh")return lot(e);return sot(e)};var cot=()=>"Provider deleted successfully",uot=()=>"提供商删除成功",XS=(e={},r={})=>{if((d??r.locale??n())==="zh")return uot(e);return cot(e)};var dot=()=>"Provider is required",Zot=()=>"提供商为必填项",eE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zot(e);return dot(e)};var pot=()=>"Provider Name",mot=()=>"提供商名称",pg=(e={},r={})=>{if((d??r.locale??n())==="zh")return mot(e);return pot(e)};var hot=()=>"Provider name is required",got=()=>"提供商名称为必填项",mg=(e={},r={})=>{if((d??r.locale??n())==="zh")return got(e);return hot(e)};var Mot=()=>"Provider name must be unique",vot=()=>"提供商名称必须唯一",hg=(e={},r={})=>{if((d??r.locale??n())==="zh")return vot(e);return Mot(e)};var xot=()=>"e.g., My OpenAI",yot=()=>"例如:我的 OpenAI",gg=(e={},r={})=>{if((d??r.locale??n())==="zh")return yot(e);return xot(e)};var bot=()=>"This provider is not configured. Configure an API key in the API Key tab before using these models.",_ot=()=>"此提供商尚未配置。在使用这些模型前,请在 API 密钥标签页中配置密钥。",tE=(e={},r={})=>{if((d??r.locale??n())==="zh")return _ot(e);return bot(e)};var wot=()=>"Configured (Custom)",zot=()=>"已配置(自定义)",Ag=(e={},r={})=>{if((d??r.locale??n())==="zh")return zot(e);return wot(e)};var Sot=()=>"Configured (Environment)",Lot=()=>"已配置(环境变量)",_g=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lot(e);return Sot(e)};var kot=()=>"Not Configured",Cot=()=>"未配置",yg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cot(e);return kot(e)};var Iot=()=>"Provider updated successfully",Rot=()=>"提供商更新成功",bg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rot(e);return Iot(e)};var Pot=()=>"Providers",Tot=()=>"提供商",rE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tot(e);return Pot(e)};var Aot=()=>"Configure AI providers and their models for this team.",Dot=()=>"为此团队配置 AI 提供商及其模型。",nE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dot(e);return Aot(e)};var Eot=()=>"Public Link",Oot=()=>"公开链接",oE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Oot(e);return Eot(e)};var jot=()=>"Quality",Not=()=>"画质",vg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Not(e);return jot(e)};var Fot=()=>"Querying database...",Bot=()=>"正在查询数据库...",sE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bot(e);return Fot(e)};var Yot=()=>"Quota available",Uot=()=>"配额可用",wg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Uot(e);return Yot(e)};var qot=()=>"Supports wildcards (*). Examples: git *, npm test, curl *, python script.py (use * for all commands)",Hot=()=>"支持通配符 (*)。示例:git *、npm test、curl *、python script.py(使用 * 匹配所有命令)",aE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hot(e);return qot(e)};var Vot=()=>"Collapse quota rule",Wot=()=>"收起配额规则",iE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wot(e);return Vot(e)};var Got=()=>"Quota rule created successfully",Kot=()=>"配额规则创建成功",lE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kot(e);return Got(e)};var Xot=()=>"Monitor live quota usage and reset individual usage windows.",Qot=()=>"在仪表盘中监控实时配额使用情况,并重置单个使用窗口。",cE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qot(e);return Xot(e)};var Jot=()=>"Quota rule deleted successfully",$ot=()=>"配额规则删除成功",xg=(e={},r={})=>{if((d??r.locale??n())==="zh")return $ot(e);return Jot(e)};var eat=()=>"Disabled",tat=()=>"已禁用",dp=(e={},r={})=>{if((d??r.locale??n())==="zh")return tat(e);return eat(e)};var rat=()=>"Enabled",oat=()=>"已启用",uE=(e={},r={})=>{if((d??r.locale??n())==="zh")return oat(e);return rat(e)};var aat=()=>"Expand quota rule",nat=()=>"展开配额规则",dE=(e={},r={})=>{if((d??r.locale??n())==="zh")return nat(e);return aat(e)};var iat=()=>"Limit",fat=()=>"上限",fE=(e={},r={})=>{if((d??r.locale??n())==="zh")return fat(e);return iat(e)};var sat=()=>"e.g. 100000",lat=()=>"例如 100000",pE=(e={},r={})=>{if((d??r.locale??n())==="zh")return lat(e);return sat(e)};var cat=()=>"No usage records found",uat=()=>"暂无使用记录",mE=(e={},r={})=>{if((d??r.locale??n())==="zh")return uat(e);return cat(e)};var dat=()=>"Period Window",Zat=()=>"周期窗口",hE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zat(e);return dat(e)};var pat=()=>"1 Day",mat=()=>"1 天",fp=(e={},r={})=>{if((d??r.locale??n())==="zh")return mat(e);return pat(e)};var hat=()=>"1 Hour",gat=()=>"1 小时",pp=(e={},r={})=>{if((d??r.locale??n())==="zh")return gat(e);return hat(e)};var Mat=()=>"5 Hours",vat=()=>"5 小时",mp=(e={},r={})=>{if((d??r.locale??n())==="zh")return vat(e);return Mat(e)};var xat=()=>"7 Days",yat=()=>"7 天",hp=(e={},r={})=>{if((d??r.locale??n())==="zh")return yat(e);return xat(e)};var bat=(e)=>`Refreshes in ${e?.time}`,_at=(e)=>`${e?.time} 后重置`,Sg=(e,r={})=>{if((d??r.locale??n())==="zh")return _at(e);return bat(e)};var wat=()=>"Remaining",zat=()=>"剩余额度",gE=(e={},r={})=>{if((d??r.locale??n())==="zh")return zat(e);return wat(e)};var Sat=()=>"Quota usage reset successfully",Lat=()=>"配额使用量重置成功",AE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lat(e);return Sat(e)};var kat=()=>"Reset Usage",Cat=()=>"重置使用量",Eg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cat(e);return kat(e)};var Iat=(e)=>`Reset usage for ${e?.target}? Consumption will be cleared and a new quota window will start now.`,Rat=(e)=>`确定要重置 ${e?.target} 的使用量吗?当前消耗将被清零,并立即开始新的配额周期。`,_E=(e,r={})=>{if((d??r.locale??n())==="zh")return Rat(e);return Iat(e)};var Pat=()=>"Resource",Tat=()=>"资源类型",yE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Tat(e);return Pat(e)};var Aat=()=>"Agent Bash Calls",Dat=()=>"智能体 Bash 执行次数",Sd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dat(e);return Aat(e)};var Eat=()=>"AI Cost ($)",Oat=()=>"AI 费用 ($)",Ed=(e={},r={})=>{if((d??r.locale??n())==="zh")return Oat(e);return Eat(e)};var jat=()=>"MCP Server Calls",Nat=()=>"MCP 服务调用次数",Cd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nat(e);return jat(e)};var Fat=()=>"Agent Tool Calls",Bat=()=>"智能体工具调用次数",Id=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bat(e);return Fat(e)};var Yat=()=>"AI Tokens",Uat=()=>"AI Token 总量",Td=(e={},r={})=>{if((d??r.locale??n())==="zh")return Uat(e);return Yat(e)};var qat=()=>"Role Shared Pool",Hat=()=>"角色共享配额池",bE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hat(e);return qat(e)};var Vat=()=>"Scope",Wat=()=>"范围",vE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wat(e);return Vat(e)};var Gat=()=>"Target Mode",Kat=()=>"目标模式",wE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kat(e);return Gat(e)};var Xat=()=>"All Members",Qat=()=>"所有成员",Md=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qat(e);return Xat(e)};var Jat=()=>"Shared pooled limit across all matching members",$at=()=>"所有符合条件的成员共同享有总配额上限",xE=(e={},r={})=>{if((d??r.locale??n())==="zh")return $at(e);return Jat(e)};var ent=()=>"Each Member",tnt=()=>"每个成员",kd=(e={},r={})=>{if((d??r.locale??n())==="zh")return tnt(e);return ent(e)};var rnt=()=>"Individual limit for each matching member",ont=()=>"为每个符合条件的成员分别设定独立的配额上限",SE=(e={},r={})=>{if((d??r.locale??n())==="zh")return ont(e);return rnt(e)};var ant=()=>"Selected Members",nnt=()=>"指定成员",Rd=(e={},r={})=>{if((d??r.locale??n())==="zh")return nnt(e);return ant(e)};var int=()=>"Individual limit for selected users",fnt=()=>"为选定的成员分别设定独立的配额上限",EE=(e={},r={})=>{if((d??r.locale??n())==="zh")return fnt(e);return int(e)};var snt=()=>"Role-based",lnt=()=>"按角色",gp=(e={},r={})=>{if((d??r.locale??n())==="zh")return lnt(e);return snt(e)};var cnt=()=>"Entire Team",unt=()=>"整个团队",Sl=(e={},r={})=>{if((d??r.locale??n())==="zh")return unt(e);return cnt(e)};var dnt=()=>"Search members...",Znt=()=>"搜索成员...",Ap=(e={},r={})=>{if((d??r.locale??n())==="zh")return Znt(e);return dnt(e)};var pnt=(e)=>`${e?.count} members selected`,mnt=(e)=>`已选择 ${e?.count} 位成员`,CE=(e,r={})=>{if((d??r.locale??n())==="zh")return mnt(e);return pnt(e)};var hnt=()=>"Quota status updated",gnt=()=>"配额状态已更新",IE=(e={},r={})=>{if((d??r.locale??n())==="zh")return gnt(e);return hnt(e)};var Mnt=(e)=>`Match: ${e?.value}`,vnt=(e)=>`匹配:${e?.value}`,TE=(e,r={})=>{if((d??r.locale??n())==="zh")return vnt(e);return Mnt(e)};var xnt=(e)=>`Server: ${e?.value}`,ynt=(e)=>`服务:${e?.value}`,ME=(e,r={})=>{if((d??r.locale??n())==="zh")return ynt(e);return xnt(e)};var bnt=(e)=>`Tool: ${e?.value}`,_nt=(e)=>`工具:${e?.value}`,kE=(e,r={})=>{if((d??r.locale??n())==="zh")return _nt(e);return bnt(e)};var wnt=()=>"Team Shared Pool",znt=()=>"团队共享配额池",RE=(e={},r={})=>{if((d??r.locale??n())==="zh")return znt(e);return wnt(e)};var Snt=()=>"Select a specific agent tool to configure its quota limit",Lnt=()=>"选择特定的智能体工具以配置其配额限制",NE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lnt(e);return Snt(e)};var knt=()=>"Quota rule updated successfully",Cnt=()=>"配额规则更新成功",DE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cnt(e);return knt(e)};var Int=()=>"Quotas",Rnt=()=>"配额",Nd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rnt(e);return Int(e)};var Pnt=(e)=>`${e?.others} reacted with ${e?.emoji}`,Tnt=(e)=>`${e?.others} 回应了 ${e?.emoji}`,PE=(e,r={})=>{if((d??r.locale??n())==="zh")return Tnt(e);return Pnt(e)};var Ant=(e)=>`You reacted with ${e?.emoji}`,Dnt=(e)=>`你回应了 ${e?.emoji}`,OE=(e,r={})=>{if((d??r.locale??n())==="zh")return Dnt(e);return Ant(e)};var Ent=(e)=>`You and ${e?.others} reacted with ${e?.emoji}`,Ont=(e)=>`你和 ${e?.others} 回应了 ${e?.emoji}`,FE=(e,r={})=>{if((d??r.locale??n())==="zh")return Ont(e);return Ent(e)};var jnt=()=>"Ready to Search",Nnt=()=>"准备搜索",LE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nnt(e);return jnt(e)};var Fnt=()=>"Reasoning Support",Bnt=()=>"推理支持",_p=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bnt(e);return Fnt(e)};var Ynt=()=>"Recently Deleted",Unt=()=>"最近删除",Cg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Unt(e);return Ynt(e)};var qnt=()=>"Items are automatically deleted after 30 days.",Hnt=()=>"项目将在 30 天后自动删除。",yp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hnt(e);return qnt(e)};var Vnt=()=>"Recently Viewed",Wnt=()=>"最近浏览",Ig=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wnt(e);return Vnt(e)};var Gnt=()=>"This page displays the 100 most recent files you viewed in this project.",Knt=()=>"此页面显示您最近在当前项目中查看过的 100 个文件。",ZE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Knt(e);return Gnt(e)};var Xnt=()=>"Registration Disabled",Qnt=()=>"注册已关闭",Jnt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qnt(e);return Xnt(e)};var $nt=()=>"Public registration is currently disabled. You will need an invite code to join this team.",eit=()=>"公开注册目前已关闭。您需要邀请码才能加入此团队。",tit=(e={},r={})=>{if((d??r.locale??n())==="zh")return eit(e);return $nt(e)};var rit=()=>"Related Assets",oit=()=>"关联资产",ait=(e={},r={})=>{if((d??r.locale??n())==="zh")return oit(e);return rit(e)};var nit=()=>"Remove",iit=()=>"移除",El=(e={},r={})=>{if((d??r.locale??n())==="zh")return iit(e);return nit(e)};var fit=()=>"Remove Cover",sit=()=>"移除封面",BE=(e={},r={})=>{if((d??r.locale??n())==="zh")return sit(e);return fit(e)};var lit=()=>"Remove from context",cit=()=>"从上下文中移除",UE=(e={},r={})=>{if((d??r.locale??n())==="zh")return cit(e);return lit(e)};var uit=()=>"Remove from Share",dit=()=>"从分享中移除",bp=(e={},r={})=>{if((d??r.locale??n())==="zh")return dit(e);return uit(e)};var Zit=()=>"Remove from stack",pit=()=>"从版本堆栈中移除",mit=(e={},r={})=>{if((d??r.locale??n())==="zh")return pit(e);return Zit(e)};var hit=()=>"Remove Member",git=()=>"移除成员",zE=(e={},r={})=>{if((d??r.locale??n())==="zh")return git(e);return hit(e)};var Mit=(e)=>`Are you sure you want to remove ${e?.name} from this ${e?.type}? This action cannot be undone.`,vit=(e)=>`确定要从此${e?.type}中移除 ${e?.name} 吗?此操作无法撤销。`,jE=(e,r={})=>{if((d??r.locale??n())==="zh")return vit(e);return Mit(e)};var xit=()=>"Removed from share",yit=()=>"已从分享中移除",qE=(e={},r={})=>{if((d??r.locale??n())==="zh")return yit(e);return xit(e)};var bit=()=>"Rename",_it=()=>"重命名",Oo=(e={},r={})=>{if((d??r.locale??n())==="zh")return _it(e);return bit(e)};var wit=()=>"Rename Collection",zit=()=>"重命名媒体合集",Sit=(e={},r={})=>{if((d??r.locale??n())==="zh")return zit(e);return wit(e)};var Lit=()=>"Rename Folder",kit=()=>"重命名文件夹",Cit=(e={},r={})=>{if((d??r.locale??n())==="zh")return kit(e);return Lit(e)};var Iit=()=>"Rename Share Link",Rit=()=>"重命名分享链接",Pit=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rit(e);return Iit(e)};var Tit=()=>"Renamed successfully",Ait=()=>"重命名成功",HE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ait(e);return Tit(e)};var Dit=()=>"Reply",Eit=()=>"回复",$E=(e={},r={})=>{if((d??r.locale??n())==="zh")return Eit(e);return Dit(e)};var Oit=()=>"Reply...",jit=()=>"回复...",GE=(e={},r={})=>{if((d??r.locale??n())==="zh")return jit(e);return Oit(e)};var Nit=(e)=>`reply to: ${e?.message}`,Fit=(e)=>`回复:${e?.message}`,VE=(e,r={})=>{if((d??r.locale??n())==="zh")return Fit(e);return Nit(e)};var Bit=()=>"Reporter / Reviewer",Yit=()=>"报告人 / 审核人",Tg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yit(e);return Bit(e)};var Uit=()=>"Reset",qit=()=>"重置",QE=(e={},r={})=>{if((d??r.locale??n())==="zh")return qit(e);return Uit(e)};var Hit=()=>"Reset Password",Vit=()=>"重置密码",Mg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vit(e);return Hit(e)};var Wit=()=>"Enter your new password below.",Git=()=>"请在下方输入您的新密码。",KE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Git(e);return Wit(e)};var Kit=()=>"Resetting password...",Xit=()=>"正在重置密码...",WE=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xit(e);return Kit(e)};var Qit=()=>"Resolving all files and folders. Please wait...",Jit=()=>"正在解析所有文件和文件夹,请稍候...",kg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jit(e);return Qit(e)};var $it=()=>"Resource Quotas",eft=()=>"资源配额",Rg=(e={},r={})=>{if((d??r.locale??n())==="zh")return eft(e);return $it(e)};var tft=()=>"Manage and limit resource usage across team members, roles, and AI operations.",rft=()=>"管理并限制团队成员、角色以及 AI 操作的资源使用。",Ng=(e={},r={})=>{if((d??r.locale??n())==="zh")return rft(e);return tft(e)};var oft=()=>"Restore",aft=()=>"恢复",vp=(e={},r={})=>{if((d??r.locale??n())==="zh")return aft(e);return oft(e)};var nft=()=>"Reviewer",ift=()=>"评审员",Us=(e={},r={})=>{if((d??r.locale??n())==="zh")return ift(e);return nft(e)};var fft=()=>"Role",sft=()=>"角色",YE=(e={},r={})=>{if((d??r.locale??n())==="zh")return sft(e);return fft(e)};var lft=()=>"Agent",cft=()=>"智能体",JE=(e={},r={})=>{if((d??r.locale??n())==="zh")return cft(e);return lft(e)};var uft=()=>"Thinking",dft=()=>"思考中",wp=(e={},r={})=>{if((d??r.locale??n())==="zh")return dft(e);return uft(e)};var Zft=()=>"User",pft=()=>"用户",Dg=(e={},r={})=>{if((d??r.locale??n())==="zh")return pft(e);return Zft(e)};var mft=()=>"Rotation",hft=()=>"旋转角度",XE=(e={},r={})=>{if((d??r.locale??n())==="zh")return hft(e);return mft(e)};var gft=()=>"Configure security and network restrictions for the AI agent.",Mft=()=>"配置 AI 智能体的安全和网络限制。",eC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mft(e);return gft(e)};var vft=()=>"Sandbox settings updated",xft=()=>"沙箱设置已更新",tC=(e={},r={})=>{if((d??r.locale??n())==="zh")return xft(e);return vft(e)};var yft=()=>"Save",bft=()=>"保存",Fo=(e={},r={})=>{if((d??r.locale??n())==="zh")return bft(e);return yft(e)};var _ft=()=>"Save as collection",wft=()=>"保存为媒体合集",rC=(e={},r={})=>{if((d??r.locale??n())==="zh")return wft(e);return _ft(e)};var zft=()=>"Save Changes",Sft=()=>"保存更改",zs=(e={},r={})=>{if((d??r.locale??n())==="zh")return Sft(e);return zft(e)};var Lft=()=>"Save Watermark",kft=()=>"保存水印",nC=(e={},r={})=>{if((d??r.locale??n())==="zh")return kft(e);return Lft(e)};var Cft=()=>"Saved",Ift=()=>"已保存",Pg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ift(e);return Cft(e)};var Rft=()=>"Saving...",Pft=()=>"保存中...",Og=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pft(e);return Rft(e)};var Tft=()=>"Saving...",Aft=()=>"保存中...",xp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Aft(e);return Tft(e)};var Dft=()=>"Search",Eft=()=>"搜索",oC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Eft(e);return Dft(e)};var Oft=()=>"Search",jft=()=>"搜索",sC=(e={},r={})=>{if((d??r.locale??n())==="zh")return jft(e);return Oft(e)};var Nft=()=>"Search records by content...",Fft=()=>"按内容搜索记录...",aC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fft(e);return Nft(e)};var Bft=()=>"Search records by name...",Yft=()=>"按名称搜索记录...",iC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yft(e);return Bft(e)};var Uft=()=>"Search",qft=()=>"搜索",lC=(e={},r={})=>{if((d??r.locale??n())==="zh")return qft(e);return Uft(e)};var Hft=()=>"Search emoji",Vft=()=>"搜索表情",cC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vft(e);return Hft(e)};var Wft=()=>"Search failed",Gft=()=>"搜索失败",Fg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Gft(e);return Wft(e)};var Kft=()=>"Search fields",Xft=()=>"搜索字段",uC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xft(e);return Kft(e)};var Qft=()=>"Search Item ID...",Jft=()=>"搜索条目 ID...",dC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jft(e);return Qft(e)};var $ft=()=>"Search models by ID or name...",est=()=>"按 ID 或名称搜索模型...",Sp=(e={},r={})=>{if((d??r.locale??n())==="zh")return est(e);return $ft(e)};var tst=()=>"Search options...",rst=()=>"搜索选项...",Lg=(e={},r={})=>{if((d??r.locale??n())==="zh")return rst(e);return tst(e)};var ost=()=>"Search providers...",ast=()=>"搜索提供商...",Zg=(e={},r={})=>{if((d??r.locale??n())==="zh")return ast(e);return ost(e)};var nst=()=>"Search Results",ist=()=>"搜索结果",fC=(e={},r={})=>{if((d??r.locale??n())==="zh")return ist(e);return nst(e)};var fst=()=>"Search tasks...",sst=()=>"搜索任务...",lst=(e={},r={})=>{if((d??r.locale??n())==="zh")return sst(e);return fst(e)};var cst=()=>"Security",ust=()=>"安全",pC=(e={},r={})=>{if((d??r.locale??n())==="zh")return ust(e);return cst(e)};var dst=()=>"Select a Team",Zst=()=>"选择团队",pst=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zst(e);return dst(e)};var mst=()=>"Select Actions",hst=()=>"选择操作",mC=(e={},r={})=>{if((d??r.locale??n())==="zh")return hst(e);return mst(e)};var gst=()=>"Select Agent",Mst=()=>"选择智能体",Dd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mst(e);return gst(e)};var vst=()=>"Select API Protocol",xst=()=>"选择 API 协议",Bg=(e={},r={})=>{if((d??r.locale??n())==="zh")return xst(e);return vst(e)};var yst=()=>"Select an asset to view details",bst=()=>"选择资产查看详情",hC=(e={},r={})=>{if((d??r.locale??n())==="zh")return bst(e);return yst(e)};var _st=()=>"Select Assets",wst=()=>"选择资产",zst=(e={},r={})=>{if((d??r.locale??n())==="zh")return wst(e);return _st(e)};var Sst=()=>"Select a block to edit its properties",Lst=()=>"选择一个水印块以编辑其属性",gC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lst(e);return Sst(e)};var kst=()=>"Select Current Folder",Cst=()=>"选择当前文件夹",Ist=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cst(e);return kst(e)};var Rst=()=>"Select field",Pst=()=>"选择字段",AC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pst(e);return Rst(e)};var Tst=()=>"Select a field to edit options",Ast=()=>"选择一个字段以编辑选项",_C=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ast(e);return Tst(e)};var Dst=()=>"Select field type",Est=()=>"选择字段类型",yC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Est(e);return Dst(e)};var Ost=()=>"Select a file to view its details and comments.",jst=()=>"选择一个文件以查看其详情和评论。",bC=(e={},r={})=>{if((d??r.locale??n())==="zh")return jst(e);return Ost(e)};var Nst=()=>"Select Language",Fst=()=>"选择语言",vC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fst(e);return Nst(e)};var Bst=()=>"Select MCP Server",Yst=()=>"选择 MCP 服务",Ug=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yst(e);return Bst(e)};var Ust=()=>"Select Members",qst=()=>"选择成员",zg=(e={},r={})=>{if((d??r.locale??n())==="zh")return qst(e);return Ust(e)};var Hst=()=>"Select Model",Vst=()=>"选择模型",wC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vst(e);return Hst(e)};var Wst=()=>"Select option",Gst=()=>"选择选项",xC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Gst(e);return Wst(e)};var Kst=()=>"Select options...",Xst=()=>"选择选项...",SC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xst(e);return Kst(e)};var Qst=()=>"Select parent tasks...",Jst=()=>"选择前置任务...",$st=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jst(e);return Qst(e)};var elt=()=>"Select your preferred display language.",tlt=()=>"选择您首选的显示语言。",EC=(e={},r={})=>{if((d??r.locale??n())==="zh")return tlt(e);return elt(e)};var rlt=()=>"Select Project",olt=()=>"选择项目",XU=(e={},r={})=>{if((d??r.locale??n())==="zh")return olt(e);return rlt(e)};var alt=()=>"Select Provider",nlt=()=>"选择提供商",CC=(e={},r={})=>{if((d??r.locale??n())==="zh")return nlt(e);return alt(e)};var ilt=()=>"Select Target Folder",flt=()=>"选择目标文件夹",Ep=(e={},r={})=>{if((d??r.locale??n())==="zh")return flt(e);return ilt(e)};var slt=()=>"You are a member of multiple teams. Please select one to continue.",llt=()=>"您是多个团队的成员,请选择一个以继续。",clt=(e={},r={})=>{if((d??r.locale??n())==="zh")return llt(e);return slt(e)};var ult=()=>"Select template to overwrite",dlt=()=>"选择要覆盖的模板",jg=(e={},r={})=>{if((d??r.locale??n())==="zh")return dlt(e);return ult(e)};var Zlt=()=>"Select Tool",plt=()=>"选择工具",qg=(e={},r={})=>{if((d??r.locale??n())==="zh")return plt(e);return Zlt(e)};var mlt=()=>"Select type",hlt=()=>"选择类型",IC=(e={},r={})=>{if((d??r.locale??n())==="zh")return hlt(e);return mlt(e)};var glt=()=>"Select User",Mlt=()=>"选择用户",TC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mlt(e);return glt(e)};var vlt=()=>"Select Users",xlt=()=>"选择用户",MC=(e={},r={})=>{if((d??r.locale??n())==="zh")return xlt(e);return vlt(e)};var ylt=()=>"Select ZIP file",blt=()=>"选择 ZIP 文件",kC=(e={},r={})=>{if((d??r.locale??n())==="zh")return blt(e);return ylt(e)};var _lt=()=>"Semantic Search",wlt=()=>"语义搜索",RC=(e={},r={})=>{if((d??r.locale??n())==="zh")return wlt(e);return _lt(e)};var zlt=()=>"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.",Slt=()=>"语义搜索结果将按与搜索查询文本的相关性排序,但不会严格筛选。如果需要精确筛选,请添加筛选条件来控制。",NC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Slt(e);return zlt(e)};var Llt=()=>"* Semantic search requires an enabled embedding agent.",klt=()=>"* 语义搜索需要启用嵌入智能体。",DC=(e={},r={})=>{if((d??r.locale??n())==="zh")return klt(e);return Llt(e)};var Clt=()=>"Semantic search using media intelligence might be slow...",Ilt=()=>"使用媒体智能的语义搜索可能较慢...",PC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ilt(e);return Clt(e)};var Rlt=()=>"Session Name",Plt=()=>"会话名称",OC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Plt(e);return Rlt(e)};var Tlt=()=>"The session might have been initialized but has not produced any entries yet.",Alt=()=>"该会话可能已初始化但尚未产生任何条目。",FC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Alt(e);return Tlt(e)};var Dlt=()=>"Session Type",Elt=()=>"会话类型",LC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Elt(e);return Dlt(e)};var Olt=()=>"Chat",jlt=()=>"对话",ZC=(e={},r={})=>{if((d??r.locale??n())==="zh")return jlt(e);return Olt(e)};var Nlt=()=>"Comment",Flt=()=>"评论",BC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Flt(e);return Nlt(e)};var Blt=()=>"Naming",Ylt=()=>"命名",UC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ylt(e);return Blt(e)};var Ult=()=>"Sessions",qlt=()=>"会话列表",Hg=(e={},r={})=>{if((d??r.locale??n())==="zh")return qlt(e);return Ult(e)};var Hlt=()=>"View and inspect all agent sessions created within the team.",Vlt=()=>"查看并检查团队内创建的所有 Agent 会话。",zC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vlt(e);return Hlt(e)};var Wlt=()=>"Set Role",Glt=()=>"设置角色",jC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Glt(e);return Wlt(e)};var Klt=()=>"Settings",Xlt=()=>"设置",Cp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xlt(e);return Klt(e)};var Qlt=()=>"Settings updated",Jlt=()=>"设置已更新",$g=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jlt(e);return Qlt(e)};var $lt=()=>"share link",ect=()=>"分享链接",tct=(e={},r={})=>{if((d??r.locale??n())==="zh")return ect(e);return $lt(e)};var rct=()=>"Share link created",oct=()=>"分享链接已创建",act=(e={},r={})=>{if((d??r.locale??n())==="zh")return oct(e);return rct(e)};var nct=()=>"Share link deleted",ict=()=>"分享链接已删除",fct=(e={},r={})=>{if((d??r.locale??n())==="zh")return ict(e);return nct(e)};var sct=()=>"Share link renamed",lct=()=>"分享链接已重命名",cct=(e={},r={})=>{if((d??r.locale??n())==="zh")return lct(e);return sct(e)};var uct=()=>"Share link status updated",dct=()=>"分享链接状态已更新",qC=(e={},r={})=>{if((d??r.locale??n())==="zh")return dct(e);return uct(e)};var Zct=()=>"Share Links",pct=()=>"分享链接",mct=(e={},r={})=>{if((d??r.locale??n())==="zh")return pct(e);return Zct(e)};var hct=()=>"Show Chatbot",gct=()=>"显示聊天机器人",Mct=(e={},r={})=>{if((d??r.locale??n())==="zh")return gct(e);return hct(e)};var vct=()=>"Shumai Agent",xct=()=>"数脉智能体",HC=(e={},r={})=>{if((d??r.locale??n())==="zh")return xct(e);return vct(e)};var yct=()=>"Sign up",bct=()=>"注册",ese=(e={},r={})=>{if((d??r.locale??n())==="zh")return bct(e);return yct(e)};var _ct=()=>"Signup failed",wct=()=>"注册失败",zct=(e={},r={})=>{if((d??r.locale??n())==="zh")return wct(e);return _ct(e)};var Sct=()=>"Start building and organizing your space.",Lct=()=>"开始构建和整理您的空间。",kct=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lct(e);return Sct(e)};var Cct=()=>"Size:",Ict=()=>"大小:",$C=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ict(e);return Cct(e)};var Rct=()=>"Permission",Pct=()=>"权限",Ip=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pct(e);return Rct(e)};var Tct=()=>"Skills",Act=()=>"技能",Gg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Act(e);return Tct(e)};var Dct=(e)=>`${e?.count} Skills`,Ect=(e)=>`${e?.count} 个技能`,GC=(e,r={})=>{if((d??r.locale??n())==="zh")return Ect(e);return Dct(e)};var Oct=()=>"Add, update and configure AI skills for the team.",jct=()=>"为团队添加、更新和配置 AI 技能。",VC=(e={},r={})=>{if((d??r.locale??n())==="zh")return jct(e);return Oct(e)};var Nct=()=>"Skills Management",Fct=()=>"技能管理",Vg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fct(e);return Nct(e)};var Bct=()=>"Extend your chatbot's capabilities with custom skills.",Yct=()=>"使用自定义技能扩展聊天机器人的功能。",QC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yct(e);return Bct(e)};var Uct=()=>"Some downloads could not be started",qct=()=>"部分下载无法启动",Hct=(e={},r={})=>{if((d??r.locale??n())==="zh")return qct(e);return Uct(e)};var Vct=()=>"A → Z",Wct=()=>"A → Z",zc=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wct(e);return Vct(e)};var Gct=()=>"Sort by",Kct=()=>"排序",Cl=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kct(e);return Gct(e)};var Xct=()=>"Created",Qct=()=>"创建时间",KC=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qct(e);return Xct(e)};var Jct=()=>"Custom",$ct=()=>"自定义",Tp=(e={},r={})=>{if((d??r.locale??n())==="zh")return $ct(e);return Jct(e)};var eut=()=>"Date Created",tut=()=>"创建日期",Mp=(e={},r={})=>{if((d??r.locale??n())==="zh")return tut(e);return eut(e)};var rut=()=>"Date Modified",out=()=>"修改日期",WC=(e={},r={})=>{if((d??r.locale??n())==="zh")return out(e);return rut(e)};var aut=()=>"Largest → Smallest",nut=()=>"最大 → 最小",kp=(e={},r={})=>{if((d??r.locale??n())==="zh")return nut(e);return aut(e)};var iut=()=>"Name",fut=()=>"名称",Il=(e={},r={})=>{if((d??r.locale??n())==="zh")return fut(e);return iut(e)};var sut=()=>"Newest → Oldest",lut=()=>"最新 → 最旧",jc=(e={},r={})=>{if((d??r.locale??n())==="zh")return lut(e);return sut(e)};var cut=()=>"Oldest → Newest",uut=()=>"最旧 → 最新",qc=(e={},r={})=>{if((d??r.locale??n())==="zh")return uut(e);return cut(e)};var dut=()=>"Size",Zut=()=>"大小",Rp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zut(e);return dut(e)};var put=()=>"Smallest → Largest",mut=()=>"最小 → 最大",Np=(e={},r={})=>{if((d??r.locale??n())==="zh")return mut(e);return put(e)};var hut=()=>"Updated",gut=()=>"更新时间",YC=(e={},r={})=>{if((d??r.locale??n())==="zh")return gut(e);return hut(e)};var Mut=()=>"Z → A",vut=()=>"Z → A",Hc=(e={},r={})=>{if((d??r.locale??n())==="zh")return vut(e);return Mut(e)};var xut=(e)=>`Sorted by ${e?.field}`,yut=(e)=>`按${e?.field}排序`,JC=(e,r={})=>{if((d??r.locale??n())==="zh")return yut(e);return xut(e)};var but=()=>"Sorted by",_ut=()=>"排序方式",XC=(e={},r={})=>{if((d??r.locale??n())==="zh")return _ut(e);return but(e)};var wut=()=>"Standard Time",zut=()=>"标准时间",e1=(e={},r={})=>{if((d??r.locale??n())==="zh")return zut(e);return wut(e)};var Sut=()=>"Start Date",Lut=()=>"开始日期",Pd=(e={},r={})=>{if((d??r.locale??n())==="zh")return Lut(e);return Sut(e)};var kut=()=>"Start Download",Cut=()=>"开始下载",Qg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cut(e);return kut(e)};var Iut=(e)=>`Starting download of ${e?.count} files. Please allow multiple downloads if prompted by your browser.`,Rut=(e)=>`正在开始下载 ${e?.count} 个文件。如果浏览器提示,请允许多个下载。`,Put=(e,r={})=>{if((d??r.locale??n())==="zh")return Rut(e);return Iut(e)};var Tut=()=>"Blocked",Aut=()=>"已受阻",Kg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Aut(e);return Tut(e)};var Dut=()=>"Done",Eut=()=>"已完成",Out=(e={},r={})=>{if((d??r.locale??n())==="zh")return Eut(e);return Dut(e)};var jut=()=>"In Progress",Nut=()=>"进行中",Fut=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nut(e);return jut(e)};var But=()=>"In Review",Yut=()=>"审核中",Uut=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yut(e);return But(e)};var qut=()=>"Ready",Hut=()=>"就绪",Vut=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hut(e);return qut(e)};var Wut=()=>"To Do",Gut=()=>"待办",Kut=(e={},r={})=>{if((d??r.locale??n())==="zh")return Gut(e);return Wut(e)};var Xut=()=>"Status Updates",Qut=()=>"状态更新",t1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qut(e);return Xut(e)};var Jut=()=>"Switch version",$ut=()=>"切换版本",Od=(e={},r={})=>{if((d??r.locale??n())==="zh")return $ut(e);return Jut(e)};var edt=()=>"Sync Providers",tdt=()=>"同步提供商",r1=(e={},r={})=>{if((d??r.locale??n())==="zh")return tdt(e);return edt(e)};var rdt=(e)=>`Add Selected (${e?.count})`,odt=(e)=>`添加所选 (${e?.count})`,n1=(e,r={})=>{if((d??r.locale??n())==="zh")return odt(e);return rdt(e)};var adt=()=>"Adding...",ndt=()=>"正在添加...",o1=(e={},r={})=>{if((d??r.locale??n())==="zh")return ndt(e);return adt(e)};var idt=()=>"Checking for updates...",fdt=()=>"正在检查更新...",s1=(e={},r={})=>{if((d??r.locale??n())==="zh")return fdt(e);return idt(e)};var sdt=()=>"Collapse All",ldt=()=>"全部折叠",a1=(e={},r={})=>{if((d??r.locale??n())==="zh")return ldt(e);return sdt(e)};var cdt=(e)=>`${e?.count}k ctx`,udt=(e)=>`${e?.count}k 上下文`,i1=(e,r={})=>{if((d??r.locale??n())==="zh")return udt(e);return cdt(e)};var ddt=()=>"Deselect All",Zdt=()=>"取消全选",l1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Zdt(e);return ddt(e)};var pdt=()=>"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.",mdt=()=>"选择您希望添加的新提供商和模型。现有的提供商、自定义端点、API 密钥和模型配置绝不会被删除或修改。",c1=(e={},r={})=>{if((d??r.locale??n())==="zh")return mdt(e);return pdt(e)};var hdt=()=>"Sync Providers & Models",gdt=()=>"同步提供商与模型",u1=(e={},r={})=>{if((d??r.locale??n())==="zh")return gdt(e);return hdt(e)};var Mdt=()=>"Existing Provider",vdt=()=>"现有提供商",d1=(e={},r={})=>{if((d??r.locale??n())==="zh")return vdt(e);return Mdt(e)};var xdt=()=>"Expand All",ydt=()=>"全部展开",f1=(e={},r={})=>{if((d??r.locale??n())==="zh")return ydt(e);return xdt(e)};var bdt=(e)=>`${e?.count} new models`,_dt=(e)=>`${e?.count} 个新模型`,p1=(e,r={})=>{if((d??r.locale??n())==="zh")return _dt(e);return bdt(e)};var wdt=()=>"New Provider",zdt=()=>"新提供商",m1=(e={},r={})=>{if((d??r.locale??n())==="zh")return zdt(e);return wdt(e)};var Sdt=()=>"reasoning",Ldt=()=>"深度思考",h1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ldt(e);return Sdt(e)};var kdt=()=>"Filter new providers or models...",Cdt=()=>"筛选新提供商或模型...",g1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Cdt(e);return kdt(e)};var Idt=()=>"Select All",Rdt=()=>"全选",A1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Rdt(e);return Idt(e)};var Pdt=(e)=>`${e?.modelCount} models selected across ${e?.providerCount} providers`,Tdt=(e)=>`已选 ${e?.modelCount} 个模型,分布在 ${e?.providerCount} 个提供商中`,_1=(e,r={})=>{if((d??r.locale??n())==="zh")return Tdt(e);return Pdt(e)};var Adt=(e)=>`Successfully added ${e?.modelCount} models across ${e?.providerCount} providers.`,Ddt=(e)=>`已成功添加 ${e?.providerCount} 个提供商中的 ${e?.modelCount} 个模型。`,y1=(e,r={})=>{if((d??r.locale??n())==="zh")return Ddt(e);return Adt(e)};var Edt=()=>"All providers and models are already up to date.",Odt=()=>"所有提供商和模型均已是最新状态。",b1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Odt(e);return Edt(e)};var jdt=()=>"System",Ndt=()=>"跟随系统",Fdt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ndt(e);return jdt(e)};var Bdt=()=>"Target Folder",Ydt=()=>"目标文件夹",Dp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ydt(e);return Bdt(e)};var Udt=()=>"Task created",qdt=()=>"任务已创建",v1=(e={},r={})=>{if((d??r.locale??n())==="zh")return qdt(e);return Udt(e)};var Hdt=()=>"Task deleted successfully",Vdt=()=>"任务已成功删除",w1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vdt(e);return Hdt(e)};var Wdt=()=>"Description",Gdt=()=>"任务描述",Wg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Gdt(e);return Wdt(e)};var Kdt=()=>"Add details, acceptance criteria, or context...",Xdt=()=>"添加详细说明、验收标准或背景信息...",Yg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xdt(e);return Kdt(e)};var Qdt=()=>"Priority",Jdt=()=>"优先级",Jg=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jdt(e);return Qdt(e)};var $dt=()=>"Task Title",eZt=()=>"任务标题",Xg=(e={},r={})=>{if((d??r.locale??n())==="zh")return eZt(e);return $dt(e)};var tZt=()=>"What needs to be done?",rZt=()=>"需要完成什么任务?",eA=(e={},r={})=>{if((d??r.locale??n())==="zh")return rZt(e);return tZt(e)};var oZt=()=>"Agent Task",aZt=()=>"智能体任务",Fd=(e={},r={})=>{if((d??r.locale??n())==="zh")return aZt(e);return oZt(e)};var nZt=()=>"Executed autonomously by an AI agent",iZt=()=>"由 AI 智能体自主执行",tA=(e={},r={})=>{if((d??r.locale??n())==="zh")return iZt(e);return nZt(e)};var fZt=()=>"team",sZt=()=>"团队",Ld=(e={},r={})=>{if((d??r.locale??n())==="zh")return sZt(e);return fZt(e)};var lZt=()=>"Team Attributes",cZt=()=>"团队属性",x1=(e={},r={})=>{if((d??r.locale??n())==="zh")return cZt(e);return lZt(e)};var uZt=()=>"Team",dZt=()=>"团队",S1=(e={},r={})=>{if((d??r.locale??n())==="zh")return dZt(e);return uZt(e)};var ZZt=()=>"Team Member",pZt=()=>"团队成员",Pp=(e={},r={})=>{if((d??r.locale??n())==="zh")return pZt(e);return ZZt(e)};var mZt=()=>"Team Members",hZt=()=>"团队成员",E1=(e={},r={})=>{if((d??r.locale??n())==="zh")return hZt(e);return mZt(e)};var gZt=()=>"Team Settings",MZt=()=>"团队设置",C1=(e={},r={})=>{if((d??r.locale??n())==="zh")return MZt(e);return gZt(e)};var vZt=()=>"Team Tasks",xZt=()=>"团队任务",I1=(e={},r={})=>{if((d??r.locale??n())==="zh")return xZt(e);return vZt(e)};var yZt=()=>"Team",bZt=()=>"团队",T1=(e={},r={})=>{if((d??r.locale??n())==="zh")return bZt(e);return yZt(e)};var _Zt=()=>"Template deleted successfully",wZt=()=>"模板删除成功",M1=(e={},r={})=>{if((d??r.locale??n())==="zh")return wZt(e);return _Zt(e)};var zZt=()=>"Template Name",SZt=()=>"模板名称",k1=(e={},r={})=>{if((d??r.locale??n())==="zh")return SZt(e);return zZt(e)};var LZt=()=>"Template saved successfully",kZt=()=>"模板保存成功",R1=(e={},r={})=>{if((d??r.locale??n())==="zh")return kZt(e);return LZt(e)};var CZt=()=>"Template updated successfully",IZt=()=>"模板更新成功",N1=(e={},r={})=>{if((d??r.locale??n())==="zh")return IZt(e);return CZt(e)};var RZt=()=>"Text Content",PZt=()=>"文本内容",D1=(e={},r={})=>{if((d??r.locale??n())==="zh")return PZt(e);return RZt(e)};var TZt=()=>"Theme",AZt=()=>"主题",DZt=(e={},r={})=>{if((d??r.locale??n())==="zh")return AZt(e);return TZt(e)};var EZt=()=>"Disable",OZt=()=>"禁用",P1=(e={},r={})=>{if((d??r.locale??n())==="zh")return OZt(e);return EZt(e)};var jZt=()=>"High",NZt=()=>"高",O1=(e={},r={})=>{if((d??r.locale??n())==="zh")return NZt(e);return jZt(e)};var FZt=()=>"Thinking Level",BZt=()=>"思考级别",F1=(e={},r={})=>{if((d??r.locale??n())==="zh")return BZt(e);return FZt(e)};var YZt=()=>"Low",UZt=()=>"低",L1=(e={},r={})=>{if((d??r.locale??n())==="zh")return UZt(e);return YZt(e)};var qZt=()=>"Medium",HZt=()=>"中",Z1=(e={},r={})=>{if((d??r.locale??n())==="zh")return HZt(e);return qZt(e)};var VZt=()=>"Thinking...",WZt=()=>"思考中...",B1=(e={},r={})=>{if((d??r.locale??n())==="zh")return WZt(e);return VZt(e)};var GZt=()=>"This folder is empty",KZt=()=>"此文件夹为空",Op=(e={},r={})=>{if((d??r.locale??n())==="zh")return KZt(e);return GZt(e)};var XZt=()=>"Auto",QZt=()=>"自动",rA=(e={},r={})=>{if((d??r.locale??n())==="zh")return QZt(e);return XZt(e)};var JZt=(e)=>`${e?.count} threads`,$Zt=(e)=>`${e?.count} 线程`,U1=(e,r={})=>{if((d??r.locale??n())==="zh")return $Zt(e);return JZt(e)};var ept=()=>"Timecode",tpt=()=>"时间码",z1=(e={},r={})=>{if((d??r.locale??n())==="zh")return tpt(e);return ept(e)};var rpt=()=>"Timestamp",opt=()=>"时间戳",j1=(e={},r={})=>{if((d??r.locale??n())==="zh")return opt(e);return rpt(e)};var apt=()=>"Today",npt=()=>"今天",tse=(e={},r={})=>{if((d??r.locale??n())==="zh")return npt(e);return apt(e)};var ipt=(e)=>`Today ${e?.time}`,fpt=(e)=>`今天 ${e?.time}`,spt=(e,r={})=>{if((d??r.locale??n())==="zh")return fpt(e);return ipt(e)};var lpt=()=>"Toggle Annotation",cpt=()=>"切换标注",q1=(e={},r={})=>{if((d??r.locale??n())==="zh")return cpt(e);return lpt(e)};var upt=()=>"Checked",dpt=()=>"已选中",H1=(e={},r={})=>{if((d??r.locale??n())==="zh")return dpt(e);return upt(e)};var Zpt=()=>"Unchecked",ppt=()=>"未选中",$1=(e={},r={})=>{if((d??r.locale??n())==="zh")return ppt(e);return Zpt(e)};var mpt=()=>"Token",hpt=()=>"令牌",G1=(e={},r={})=>{if((d??r.locale??n())==="zh")return hpt(e);return mpt(e)};var gpt=()=>"Token Name",Mpt=()=>"令牌名称",V1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mpt(e);return gpt(e)};var vpt=()=>"e.g. My CLI token",xpt=()=>"例如:我的 CLI 令牌",Q1=(e={},r={})=>{if((d??r.locale??n())==="zh")return xpt(e);return vpt(e)};var ypt=()=>"tokens",bpt=()=>"令牌",nA=(e={},r={})=>{if((d??r.locale??n())==="zh")return bpt(e);return ypt(e)};var _pt=()=>"Arguments",wpt=()=>"参数",Fp=(e={},r={})=>{if((d??r.locale??n())==="zh")return wpt(e);return _pt(e)};var zpt=()=>"Parameters",Spt=()=>"参数列表",K1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Spt(e);return zpt(e)};var Lpt=(e)=>`Tool Result: ${e?.name}`,kpt=(e)=>`工具结果:${e?.name}`,Lp=(e,r={})=>{if((d??r.locale??n())==="zh")return kpt(e);return Lpt(e)};var Cpt=()=>"Total Tokens",Ipt=()=>"总 Token",oA=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ipt(e);return Cpt(e)};var Rpt=()=>"Manage your team's media transcoding configurations.",Ppt=()=>"管理团队的媒体转码配置。",sA=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ppt(e);return Rpt(e)};var Tpt=()=>"Transcode Settings",Apt=()=>"转码设置",W1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Apt(e);return Tpt(e)};var Dpt=()=>"Strategy: We select the best resolution from your list that supports the input quality. Content is never upscaled.",Ept=()=>"策略:我们会从您的列表中选择支持输入质量的最佳分辨率。内容不会被放大。",Y1=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ept(e);return Dpt(e)};var Opt=()=>"Trash emptied successfully",jpt=()=>"回收站已清空",J1=(e={},r={})=>{if((d??r.locale??n())==="zh")return jpt(e);return Opt(e)};var Npt=(e)=>`Try adjusting your search for "${e?.query}"`,Fpt=(e)=>`请尝试调整搜索 "${e?.query}"`,X1=(e,r={})=>{if((d??r.locale??n())==="zh")return Fpt(e);return Npt(e)};var Bpt=()=>"Try adjusting spelling or removing filter rows.",Ypt=()=>"请尝试调整拼写或移除筛选条件。",eI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Ypt(e);return Bpt(e)};var Upt=()=>"Type a message...",qpt=()=>"输入消息...",tI=(e={},r={})=>{if((d??r.locale??n())==="zh")return qpt(e);return Upt(e)};var Hpt=()=>"Type **delete** to confirm:",Vpt=()=>"输入 **delete** 以确认:",rI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Vpt(e);return Hpt(e)};var Wpt=()=>"Type:",Gpt=()=>"类型:",nI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Gpt(e);return Wpt(e)};var Kpt=()=>"Type your query above and click the Search button to display results.",Xpt=()=>"在上方输入查询内容并点击搜索按钮以显示结果。",oI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Xpt(e);return Kpt(e)};var Qpt=()=>"Unassigned",Jpt=()=>"未指派",gs=(e={},r={})=>{if((d??r.locale??n())==="zh")return Jpt(e);return Qpt(e)};var $pt=()=>"Unknown",emt=()=>"未知",gn=(e={},r={})=>{if((d??r.locale??n())==="zh")return emt(e);return $pt(e)};var tmt=()=>"unknown asset",rmt=()=>"未知资源",omt=(e={},r={})=>{if((d??r.locale??n())==="zh")return rmt(e);return tmt(e)};var amt=()=>"Unknown Date",nmt=()=>"未知日期",imt=(e={},r={})=>{if((d??r.locale??n())==="zh")return nmt(e);return amt(e)};var fmt=()=>"unknown project",smt=()=>"未知项目",lmt=(e={},r={})=>{if((d??r.locale??n())==="zh")return smt(e);return fmt(e)};var cmt=()=>"unknown task",umt=()=>"未知任务",dmt=(e={},r={})=>{if((d??r.locale??n())==="zh")return umt(e);return cmt(e)};var Zmt=()=>"unknown team",pmt=()=>"未知团队",mmt=(e={},r={})=>{if((d??r.locale??n())==="zh")return pmt(e);return Zmt(e)};var hmt=()=>"Unknown User",gmt=()=>"未知用户",Tl=(e={},r={})=>{if((d??r.locale??n())==="zh")return gmt(e);return hmt(e)};var Mmt=()=>"Unlink Asset",vmt=()=>"取消关联资产",xmt=(e={},r={})=>{if((d??r.locale??n())==="zh")return vmt(e);return Mmt(e)};var ymt=()=>"Unlink Task",bmt=()=>"取消关联",_mt=(e={},r={})=>{if((d??r.locale??n())==="zh")return bmt(e);return ymt(e)};var wmt=()=>"Unread",zmt=()=>"未读",Smt=(e={},r={})=>{if((d??r.locale??n())==="zh")return zmt(e);return wmt(e)};var Lmt=()=>"Untitled Collection",kmt=()=>"未命名媒体合集",aA=(e={},r={})=>{if((d??r.locale??n())==="zh")return kmt(e);return Lmt(e)};var Cmt=()=>"Untitled Session",Imt=()=>"未命名会话",Zp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Imt(e);return Cmt(e)};var Rmt=()=>"Untitled Upload",Pmt=()=>"未命名上传",Tmt=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pmt(e);return Rmt(e)};var Amt=()=>"Updated",Dmt=()=>"更新于",sI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Dmt(e);return Amt(e)};var Emt=()=>"Updated",Omt=()=>"更新于",iA=(e={},r={})=>{if((d??r.locale??n())==="zh")return Omt(e);return Emt(e)};var jmt=()=>"Upload",Nmt=()=>"上传",aI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Nmt(e);return jmt(e)};var Fmt=()=>"Upload cover",Bmt=()=>"上传封面",iI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Bmt(e);return Fmt(e)};var Ymt=()=>"Drag and drop, or browse. Recommended 1:1 (400×400px).",Umt=()=>"拖放或浏览文件。推荐比例 1:1(400×400像素)。",lI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Umt(e);return Ymt(e)};var qmt=()=>"Upload File",Hmt=()=>"上传文件",Bp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Hmt(e);return qmt(e)};var Vmt=()=>"Upload Folder",Wmt=()=>"上传文件夹",Up=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wmt(e);return Vmt(e)};var Gmt=()=>"Upload Image",Kmt=()=>"上传图片",zp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kmt(e);return Gmt(e)};var Xmt=()=>"Upload Watermark Image",Qmt=()=>"上传水印图片",cI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qmt(e);return Xmt(e)};var Jmt=()=>"Drag and drop, or browse. Max 1MB.",$mt=()=>"拖放或浏览文件。最大 1MB。",uI=(e={},r={})=>{if((d??r.locale??n())==="zh")return $mt(e);return Jmt(e)};var eht=()=>"Uploading...",tht=()=>"上传中...",$c=(e={},r={})=>{if((d??r.locale??n())==="zh")return tht(e);return eht(e)};var rht=()=>"Uploading",oht=()=>"上传中",aht=(e={},r={})=>{if((d??r.locale??n())==="zh")return oht(e);return rht(e)};var nht=()=>"Uploads",iht=()=>"上传管理",fht=(e={},r={})=>{if((d??r.locale??n())==="zh")return iht(e);return nht(e)};var sht=()=>"Usage",lht=()=>"用量",dI=(e={},r={})=>{if((d??r.locale??n())==="zh")return lht(e);return sht(e)};var cht=()=>"User",uht=()=>"用户",fI=(e={},r={})=>{if((d??r.locale??n())==="zh")return uht(e);return cht(e)};var dht=(e)=>`${e?.user} via ${e?.agent}`,Zht=(e)=>`${e?.user} 通过 ${e?.agent}`,Gc=(e,r={})=>{if((d??r.locale??n())==="zh")return Zht(e);return dht(e)};var pht=()=>"Variable Name",mht=()=>"变量名称",pI=(e={},r={})=>{if((d??r.locale??n())==="zh")return mht(e);return pht(e)};var hht=(e)=>`Version ${e?.version}`,ght=(e)=>`版本 ${e?.version}`,Mht=(e,r={})=>{if((d??r.locale??n())==="zh")return ght(e);return hht(e)};var vht=()=>"Version removed from stack",xht=()=>"已从版本堆栈中移除版本",yht=(e={},r={})=>{if((d??r.locale??n())==="zh")return xht(e);return vht(e)};var bht=()=>"Version order updated",_ht=()=>"版本顺序已更新",wht=(e={},r={})=>{if((d??r.locale??n())==="zh")return _ht(e);return bht(e)};var zht=(e)=>`${e?.count} enabled`,Sht=(e)=>`${e?.count} 个已启用`,mI=(e,r={})=>{if((d??r.locale??n())==="zh")return Sht(e);return zht(e)};var Lht=()=>"Video Strategy",kht=()=>"视频策略",hI=(e={},r={})=>{if((d??r.locale??n())==="zh")return kht(e);return Lht(e)};var Cht=(e)=>`(${e?.count} visible)`,Iht=(e)=>`(${e?.count} 个可见)`,gI=(e,r={})=>{if((d??r.locale??n())==="zh")return Iht(e);return Cht(e)};var Rht=()=>"Watermark",Pht=()=>"水印",lA=(e={},r={})=>{if((d??r.locale??n())==="zh")return Pht(e);return Rht(e)};var Tht=()=>"Watermark disabled",Aht=()=>"水印已禁用",AI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Aht(e);return Tht(e)};var Dht=()=>"Watermark Editor",Eht=()=>"水印编辑器",_I=(e={},r={})=>{if((d??r.locale??n())==="zh")return Eht(e);return Dht(e)};var Oht=()=>"Templates",jht=()=>"水印模板",yI=(e={},r={})=>{if((d??r.locale??n())==="zh")return jht(e);return Oht(e)};var Nht=()=>"Transcoding watermark media...",Fht=()=>"水印媒体转码处理中...",bI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Fht(e);return Nht(e)};var Bht=()=>"Watermark updated successfully",Yht=()=>"水印更新成功",vI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Yht(e);return Bht(e)};var Uht=()=>"Welcome Back",qht=()=>"欢迎回来",Hht=(e={},r={})=>{if((d??r.locale??n())==="zh")return qht(e);return Uht(e)};var Vht=()=>"When someone comments on a task",Wht=()=>"当有人在任务中发表评论时",wI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Wht(e);return Vht(e)};var Ght=()=>"When tasks are created, assigned, updated, or deleted",Kht=()=>"当任务被创建、分配、更新或删除时",xI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Kht(e);return Ght(e)};var Xht=()=>"When other users upload assets",Qht=()=>"当其他用户上传素材时",SI=(e={},r={})=>{if((d??r.locale??n())==="zh")return Qht(e);return Xht(e)};var Jht=()=>"When someone changes an asset's status",$ht=()=>"当有人更改素材的状态时",EI=(e={},r={})=>{if((d??r.locale??n())==="zh")return $ht(e);return Jht(e)};var egt=()=>"When someone comments on an asset",tgt=()=>"当有人评论素材时",CI=(e={},r={})=>{if((d??r.locale??n())==="zh")return tgt(e);return egt(e)};var rgt=()=>"When someone @mentions you in a comment",ogt=()=>"当有人在评论中 @提及你时",II=(e={},r={})=>{if((d??r.locale??n())==="zh")return ogt(e);return rgt(e)};var agt=()=>"When someone replies to your comment",ngt=()=>"当有人回复你的评论时",TI=(e={},r={})=>{if((d??r.locale??n())==="zh")return ngt(e);return agt(e)};var igt=()=>"When you upload assets",fgt=()=>"当你上传素材时",MI=(e={},r={})=>{if((d??r.locale??n())==="zh")return fgt(e);return igt(e)};var sgt=()=>"Yesterday",lgt=()=>"昨天",rse=(e={},r={})=>{if((d??r.locale??n())==="zh")return lgt(e);return sgt(e)};var cgt=(e)=>`Yesterday ${e?.time}`,ugt=(e)=>`昨天 ${e?.time}`,dgt=(e,r={})=>{if((d??r.locale??n())==="zh")return ugt(e);return cgt(e)};var Zgt=()=>"Your Uploads",pgt=()=>"你的上传",kI=(e={},r={})=>{if((d??r.locale??n())==="zh")return pgt(e);return Zgt(e)};var mgt=()=>"Zoom In",hgt=()=>"放大",jp=(e={},r={})=>{if((d??r.locale??n())==="zh")return hgt(e);return mgt(e)};var ggt=()=>"Zoom Out",Mgt=()=>"缩小",qp=(e={},r={})=>{if((d??r.locale??n())==="zh")return Mgt(e);return ggt(e)};var vgt=(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 ose(){let{clearAuth:e}=cf(),r=hs(),a=(g)=>{if(!g)return"";switch(g.toLowerCase()){case"owner":return Uc();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:f,theme:s}=qee(),l=Me(),c=async()=>{await Mfe(),e(),l({to:"/login"})},m=(g)=>{if(!g)return"U";let M=g.split(" ");if(M.length>1)return`${M[0][0]}${M[M.length-1][0]}`.toUpperCase();return g.substring(0,2).toUpperCase()};return o(he,{children:[t(ge,{asChild:!0,children:o(Ce,{className:"rounded-lg w-10 h-10 cursor-pointer",children:[i?.image&&t(Ie,{src:i.image,alt:i.name,className:"object-cover rounded-lg w-10 h-10"}),t(Te,{className:"rounded-lg bg-primary/40 text-foreground",children:m(i?.name)})]})}),o(Ae,{className:"w-56",align:"end",forceMount:!0,children:[i&&o(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:DZt()}),t(Ja,{children:o(ms,{children:[o(W,{className:"justify-between flex items-center",onClick:()=>f("light"),children:[t("span",{children:UHe()}),s==="light"&&t(ke,{className:"size-4"})]}),o(W,{className:"justify-between flex items-center",onClick:()=>f("dark"),children:[t("span",{children:oFe()}),s==="dark"&&t(ke,{className:"size-4"})]}),o(W,{className:"justify-between flex items-center",onClick:()=>f("system"),children:[t("span",{children:Fdt()}),s==="system"&&t(ke,{className:"size-4"})]})]})})]}),t(Vt,{}),t(W,{onClick:()=>l({to:"/teams/$teamId/settings",params:{teamId:r}}),disabled:!r,children:Cp()}),t(Vt,{}),t(W,{className:"text-red-500 focus:text-red-500",onClick:c,children:mVe()}),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(vgt,{className:"size-3.5"}),t("span",{children:Mht({version:vfe})})]})]})]})}var Kz=()=>null,ase=({children:e,hideMobileButton:r=!1,defaultMobileContent:a})=>{let{isMobileMenuOpen:i,activeItem:f,setActiveItem:s,toggleMobileMenu:l,closeMobileMenu:c}=Vk(),m=tz({select:(j)=>j.location.pathname}),g=D(()=>$l.toArray(e).filter((j)=>ts(j)&&j.type===Kz),[e]),M=b(m);h(()=>{if(M.current!==m)M.current=m,c()},[m,c]);let v=f!==null?g[f]?.props:null,y=v??(i?a:null),x=Boolean(v||i&&a),_=(j)=>{let U=g[j];if(!U.props.children){s(null),U.props.onItemClick?.();return}if(f===j)s(null);else{if(U&&U.props.onItemClick)U.props.onItemClick();s(j)}};return o(L,{children:[!r&&t(E,{variant:"ghost",size:"icon",onClick:l,className:"md:hidden fixed top-4 left-4 z-50 rounded-md bg-sidebar/50 backdrop-blur-sm text-sidebar-foreground focus:outline-none focus-visible:ring-2 focus-visible:ring-sidebar-ring","aria-label":"Open navigation menu","aria-expanded":i,children:t(KZ,{})}),i&&t("div",{onClick:c,className:"fixed inset-0 bg-black/60 z-30 md:hidden","aria-hidden":"true"}),f!==null&&t("div",{onClick:()=>s(null),className:"hidden md:block fixed inset-0 bg-black/20 z-30","aria-hidden":"true"}),o("aside",{className:`fixed inset-y-0 left-0 z-40 flex transition-transform duration-300 ease-in-out ${i?"translate-x-0":"-translate-x-full"} md:translate-x-0`,children:[t("div",{className:"absolute bottom-0 w-full h-[70dvh] bg-linear-to-t from-sidebar-primary/10 to-transparent"}),o("nav",{className:"w-16 bg-card border-r border-sidebar-border flex flex-col items-center pb-4 pt-0 space-y-2 flex-shrink-0",children:[t("div",{className:"flex-1 w-full flex flex-col items-center gap-5 pt-1",children:t(fn,{children:g.map((j,U)=>{let T=Boolean(j.props.active||f===U);return o(pn,{children:[t(mn,{asChild:!0,children:o(E,{variant:"ghost",size:"icon-lg",onClick:()=>_(U),"aria-label":j.props.label,"aria-expanded":f===U,className:`relative w-12 h-12 [&_svg:not([class*='size-'])]:size-6 transition-colors duration-200 ${T?"text-sidebar-primary hover:bg-sidebar-accent hover:text-sidebar-primary":"text-sidebar-foreground/60 hover:text-sidebar-foreground hover:bg-sidebar-accent"}`,children:[j.props.icon,j.props.badge]})}),t(hn,{side:"right",children:t("p",{children:j.props.label})})]},j.props.label)})})}),t("div",{className:"mt-auto w-full flex flex-col items-center pb-2",children:t(ose,{})})]}),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:c,className:"h-8 w-8 text-sidebar-foreground hover:bg-sidebar-accent","aria-label":"Close navigation menu",children:t(Re,{className:"h-5 w-5"})})]}),t("div",{className:"flex-1 overflow-y-auto p-2",children:y.children})]})})})]})]})};function Je({...e}){return t(DLe,{"data-slot":"alert-dialog",...e})}function xgt({...e}){return t(ELe,{"data-slot":"alert-dialog-portal",...e})}function ygt({className:e,...r}){return t(OLe,{"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(xgt,{children:[t(ygt,{}),t(jLe,{"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(BLe,{"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(YLe,{"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(NLe,{"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(FLe,{"data-slot":"alert-dialog-cancel",className:C(e),...i})})}function ue({...e}){return t(v7,{"data-slot":"dialog",...e})}function cA({...e}){return t(x7,{"data-slot":"dialog-trigger",...e})}function bgt({...e}){return t(y7,{"data-slot":"dialog-portal",...e})}function _gt({className:e,...r}){return t(b7,{"data-slot":"dialog-overlay",className:C("fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",e),...r})}function ie({className:e,children:r,showCloseButton:a=!0,...i}){return o(bgt,{"data-slot":"dialog-portal",children:[t(_gt,{}),o(_7,{"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(RT,{"data-slot":"dialog-close",className:"absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[t(Re,{}),t("span",{className:"sr-only",children:"Close"})]})]})]})}function me({className:e,...r}){return t("div",{"data-slot":"dialog-header",className:C("flex flex-col gap-2 text-center sm:text-left",e),...r})}function Ge({className:e,showCloseButton:r=!1,children:a,...i}){return o("div",{"data-slot":"dialog-footer",className:C("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...i,children:[a,r&&t(RT,{asChild:!0,children:t(E,{variant:"outline",children:"Close"})})]})}function le({className:e,...r}){return t(w7,{"data-slot":"dialog-title",className:C("text-lg leading-none font-semibold",e),...r})}function Tt({className:e,...r}){return t(z7,{"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(xIe,{"data-slot":"scroll-area",className:C("relative",e),...a,children:[t(yIe,{"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(XN,{}),t(bIe,{})]})}function XN({className:e,orientation:r="vertical",...a}){return t(lIe,{"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(mIe,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-border"})})}var lt=Mr()(Hk((e,r)=>({teamId:null,projectTeamMap:{},setTeamId:(a)=>e({teamId:a}),ensureTeamIdForProject:async(a)=>{let i=r();if(i.projectTeamMap[a]){let f=i.projectTeamMap[a];if(i.teamId!==f)e({teamId:f});return f}try{let f=await A.api.projects[":projectId"].team.$get({param:{projectId:a}});if(!f.ok)throw Error("failed to fetch project team");let s=await f.json();if(s&&s.teamId)return e((l)=>({teamId:s.teamId,projectTeamMap:{...l.projectTeamMap,[a]:s.teamId}})),s.teamId}catch(f){console.error("Failed to fetch team ID for project",a,f)}return null}}),{name:"team-context-storage",storage:Sz(()=>localStorage)}));S();function Pt(e){let r=lt((i)=>i.teamId),{data:a}=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 D(()=>({role:a?.role,canEdit:a?.role==="owner"||a?.role==="editor",canAdmin:a?.role==="owner"}),[a?.role])}S();var wgt=Symbol.for("preact-signals");function e5(){if(!(mm>1)){var e,r=!1;(function(){var f=JN;JN=void 0;while(f!==void 0){var s=f.S;if(s.v===f.v){for(var l=s.t;l!==void 0;l=l.x)if(l.i===f.i)l.i=s.i}f=f.o}})();while(bA!==void 0){var a=bA;bA=void 0,QN++;while(a!==void 0){var i=a.u;if(a.u=void 0,a.f&=-3,!(8&a.f)&&ise(a))try{a.c()}catch(f){if(!r)e=f,r=!0}a=i}}if(QN=0,mm--,r)throw e}else mm--}function Qo(e){if(mm>0)return e();QU=++zgt,mm++;try{return e()}finally{e5()}}var yA,cn=void 0;function ho(e){var r=cn,a=yA;cn=void 0,yA=void 0;try{return e()}finally{cn=r,yA=a}}var bA=void 0,mm=0,QN=0,zgt=0,QU=0,JN=void 0,$N=0;function nse(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 uf(e,r){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=r==null?void 0:r.watched,this.Z=r==null?void 0:r.unwatched,this.name=r==null?void 0:r.name}uf.prototype.brand=wgt;uf.prototype.h=function(){return!0};uf.prototype.S=function(e){var r=this,a=this.t;if(a!==e&&e.e===void 0)if(e.x=a,this.t=e,a!==void 0)a.e=e;else ho(function(){var i;(i=r.W)==null||i.call(r)})};uf.prototype.U=function(e){var r=this;if(this.t!==void 0){var{e:a,x:i}=e;if(a!==void 0)a.x=i,e.e=void 0;if(i!==void 0)i.e=a,e.x=void 0;if(e===this.t){if(this.t=i,i===void 0)ho(function(){var f;(f=r.Z)==null||f.call(r)})}}};uf.prototype.subscribe=function(e){var r=this;return gi(function(){var a=r.value;ho(function(){return e(a)})},{name:"sub"})};uf.prototype.valueOf=function(){return this.value};uf.prototype.toString=function(){return this.value+""};uf.prototype.toJSON=function(){return this.value};uf.prototype.peek=function(){var e=this;return ho(function(){return e.value})};Object.defineProperty(uf.prototype,"value",{get:function(){var e=nse(this);if(e!==void 0)e.i=this.i;return this.v},set:function(e){if(e!==this.v){if(QN>100)throw Error("Cycle detected");(function(a){if(mm!==0&&QN===0){if(a.l!==QU)a.l=QU,JN={S:a,v:a.v,i:a.i,o:JN}}})(this),this.v=e,this.i++,$N++,mm++;try{for(var r=this.t;r!==void 0;r=r.x)r.t.N()}finally{e5()}}}});function ZZ(e,r){return new uf(e,r)}function ise(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 fse(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 sse(e){var r=e.s,a=void 0;while(r!==void 0){var i=r.p;if(r.i===-1){if(r.S.U(r),i!==void 0)i.n=r.n;if(r.n!==void 0)r.n.p=i}else a=r;if(r.S.n=r.r,r.r!==void 0)r.r=void 0;r=i}e.s=a}function Xz(e,r){uf.call(this,void 0,r),this.x=e,this.s=void 0,this.g=$N-1,this.f=4}Xz.prototype=new uf;Xz.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32)return!0;if(this.f&=-5,this.g===$N)return!0;if(this.g=$N,this.f|=1,this.i>0&&!ise(this))return this.f&=-2,!0;var e=cn;try{fse(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,sse(this),this.f&=-2,!0};Xz.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var r=this.s;r!==void 0;r=r.n)r.S.S(r)}uf.prototype.S.call(this,e)};Xz.prototype.U=function(e){if(this.t!==void 0){if(uf.prototype.U.call(this,e),this.t===void 0){this.f&=-33;for(var r=this.s;r!==void 0;r=r.n)r.S.U(r)}}};Xz.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}};Object.defineProperty(Xz.prototype,"value",{get:function(){if(1&this.f)throw Error("Cycle detected");var e=nse(this);if(this.h(),e!==void 0)e.i=this.i;if(16&this.f)throw this.v;return this.v}});function JU(e,r){return new Xz(e,r)}function lse(e){var r=e.m;if(e.m=void 0,typeof r=="function"){mm++;var a=cn;cn=void 0;try{r()}catch(i){throw e.f&=-2,e.f|=8,$U(e),i}finally{cn=a,e5()}}}function $U(e){for(var r=e.s;r!==void 0;r=r.n)r.S.U(r);e.x=void 0,e.s=void 0,lse(e)}function Sgt(e){if(cn!==this)throw Error("Out-of-order effect");if(sse(this),cn=e,this.f&=-2,8&this.f)$U(this);e5()}function FI(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,yA)yA.push(this)}FI.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()}};FI.prototype.S=function(){if(1&this.f)throw Error("Cycle detected");this.f|=1,this.f&=-9,lse(this),fse(this),mm++;var e=cn;return cn=this,Sgt.bind(this,e)};FI.prototype.N=function(){if(!(2&this.f))this.f|=2,this.u=bA,bA=this};FI.prototype.d=function(){if(this.f|=8,!(1&this.f))$U(this)};FI.prototype.dispose=function(){this.d()};function gi(e,r){var a=new FI(e,r);try{a.c()}catch(f){throw a.d(),f}var i=a.d.bind(a);return i[Symbol.dispose]=i,i}var{create:Lgt,defineProperty:cq,defineProperties:kgt,getOwnPropertyDescriptor:Cgt,getOwnPropertyDescriptors:Igt,getOwnPropertySymbols:cse}=Object,Rgt=Object.prototype.hasOwnProperty,Pgt=Object.prototype.propertyIsEnumerable,dse=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),BI=(e)=>{throw TypeError(e)},aq=(e,r,a)=>(r in e)?cq(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,Tgt=(e,r)=>{for(var a in r||(r={}))if(Rgt.call(r,a))aq(e,a,r[a]);if(cse){for(var a of cse(r))if(Pgt.call(r,a))aq(e,a,r[a])}return e},Agt=(e,r)=>kgt(e,Igt(r)),use=(e,r)=>cq(e,"name",{value:r,configurable:!0}),Dgt=(e)=>{var r;return[,,,Lgt((r=e==null?void 0:e[dse("metadata")])!=null?r:null)]},Zse=["class","method","getter","setter","accessor","field","value","get","set"],e2=(e)=>e!==void 0&&typeof e!=="function"?BI("Function expected"):e,Egt=(e,r,a,i,f)=>({kind:Zse[e],name:r,metadata:i,addInitializer:(s)=>a._?BI("Already initialized"):f.push(e2(s||null))}),pse=(e,r)=>aq(r,dse("metadata"),e[3]),Qz=(e,r,a,i)=>{for(var f=0,s=e[r>>1],l=s&&s.length;f<l;f++)r&1?s[f].call(a):i=s[f].call(a,i);return i},YI=(e,r,a,i,f,s)=>{var l,c,m,g,M,v=r&7,y=!!(r&8),x=!!(r&16),_=v>3?e.length+1:v?y?1:2:0,j=Zse[v+5],U=v>3&&(e[_-1]=[]),T=e[_]||(e[_]=[]),N=v&&(!x&&!y&&(f=f.prototype),v<5&&(v>3||!x)&&Cgt(v<4?f:{get[a](){return vc(this,s)},set[a](X){return x8(this,s,X)}},a));v?x&&v<4&&use(s,(v>2?"set ":v>1?"get ":"")+a):use(f,a);for(var G=i.length-1;G>=0;G--){if(g=Egt(v,a,m={},e[3],T),v){if(g.static=y,g.private=x,M=g.access={has:x?(X)=>Ogt(f,X):(X)=>(a in X)},v^3)M.get=x?(X)=>(v^1?vc:jgt)(X,f,v^4?s:N.get):(X)=>X[a];if(v>2)M.set=x?(X,J)=>x8(X,f,J,v^4?s:N.set):(X,J)=>X[a]=J}if(c=(0,i[G])(v?v<4?x?s:N[j]:v>4?void 0:{get:N.get,set:N.set}:f,g),m._=1,v^4||c===void 0)e2(c)&&(v>4?U.unshift(c):v?x?s=c:N[j]=c:f=c);else if(typeof c!=="object"||c===null)BI("Object expected");else e2(l=c.get)&&(N.get=l),e2(l=c.set)&&(N.set=l),e2(l=c.init)&&U.unshift(l)}return v||pse(e,f),N&&cq(f,a,N),x?v^4?s:N:f},uq=(e,r,a)=>r.has(e)||BI("Cannot "+a),Ogt=(e,r)=>Object(r)!==r?BI('Cannot use the "in" operator on this value'):e.has(r),vc=(e,r,a)=>(uq(e,r,"read from private field"),a?a.call(e):r.get(e)),t2=(e,r,a)=>r.has(e)?BI("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),x8=(e,r,a,i)=>(uq(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),jgt=(e,r,a)=>(uq(e,r,"access private method"),a);function UI(e,r){if(r){let a;return JU(()=>{let i=e();if(i&&a&&r(a,i))return a;return a=i,i})}return JU(e)}function Ji(e,r){if(Object.is(e,r))return!0;if(e===null||r===null)return!1;if(typeof e==="function"&&typeof r==="function")return e===r;if(e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(let a of e)if(!r.has(a))return!1;return!0}if(Array.isArray(e)){if(!Array.isArray(r)||e.length!==r.length)return!1;return!e.some((i,f)=>!Ji(i,r[f]))}if(typeof e==="object"&&typeof r==="object"){let a=Object.keys(e),i=Object.keys(r);if(a.length!==i.length)return!1;return!a.some((s)=>!Ji(e[s],r[s]))}return!1}function ko({get:e},r){return{init(a){return ZZ(a)},get(){return e.call(this).value},set(a){let i=e.call(this);if(i.peek()===a)return;i.value=a}}}function Ha(e,r){let a=new WeakMap;return function(){let i=a.get(this);if(!i)i=UI(e.bind(this)),a.set(this,i);return i.value}}function eq(e=!0){return function(r,a){a.addInitializer(function(){let i=a.kind==="field"?this:a.static?this:Object.getPrototypeOf(this),f=Object.getOwnPropertyDescriptor(i,a.name);if(f)Object.defineProperty(i,a.name,Agt(Tgt({},f),{enumerable:e}))})}}function $z(...e){let r=e.map((a)=>gi(a));return()=>r.forEach((a)=>a())}var mse,hse,gse,Mse,vse,xse,ss,dq,tq,nq,iq,df,Zq,rq,yse,fq,pq,oq,sq,lq;xse=[ko],vse=[ko],Mse=[ko],gse=[eq()],hse=[eq()],mse=[eq()];var pZ=class{constructor(e,r=Object.is){this.defaultValue=e,this.equals=r,Qz(ss,5,this),t2(this,df),t2(this,dq,Qz(ss,8,this)),Qz(ss,11,this),t2(this,Zq,Qz(ss,12,this)),Qz(ss,15,this),t2(this,pq,Qz(ss,16,this)),Qz(ss,19,this),this.reset=this.reset.bind(this),this.reset()}get current(){return vc(this,df,sq)}get initial(){return vc(this,df,nq)}get previous(){return vc(this,df,yse)}set current(e){let r=ho(()=>vc(this,df,sq));if(e&&r&&this.equals(r,e))return;Qo(()=>{if(!vc(this,df,nq))x8(this,df,e,iq);x8(this,df,r,fq),x8(this,df,e,lq)})}reset(e=this.defaultValue){Qo(()=>{x8(this,df,void 0,fq),x8(this,df,e,iq),x8(this,df,e,lq)})}};ss=Dgt(null);dq=new WeakMap;df=new WeakSet;Zq=new WeakMap;pq=new WeakMap;tq=YI(ss,20,"#initial",xse,df,dq),nq=tq.get,iq=tq.set;rq=YI(ss,20,"#previous",vse,df,Zq),yse=rq.get,fq=rq.set;oq=YI(ss,20,"#current",Mse,df,pq),sq=oq.get,lq=oq.set;YI(ss,2,"current",gse,pZ);YI(ss,2,"initial",hse,pZ);YI(ss,2,"previous",mse,pZ);pse(ss,pZ);function t5(e){return ho(()=>{let r={};for(let a in e)r[a]=e[a];return r})}var Jz,bse=class{constructor(){t2(this,Jz,new WeakMap)}get(e,r){var a;return e?(a=vc(this,Jz).get(e))==null?void 0:a.get(r):void 0}set(e,r,a){var i;if(!e)return;if(!vc(this,Jz).has(e))vc(this,Jz).set(e,new Map);return(i=vc(this,Jz).get(e))==null?void 0:i.set(r,a)}clear(e){var r;return e?(r=vc(this,Jz).get(e))==null?void 0:r.clear():void 0}};Jz=new WeakMap;var{create:Ngt,defineProperty:vq,getOwnPropertyDescriptor:Fgt,getOwnPropertySymbols:_se}=Object,Bgt=Object.prototype.hasOwnProperty,Ygt=Object.prototype.propertyIsEnumerable,Sse=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),qI=(e)=>{throw TypeError(e)},wse=Math.pow,mq=(e,r,a)=>(r in e)?vq(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,Ugt=(e,r)=>{for(var a in r||(r={}))if(Bgt.call(r,a))mq(e,a,r[a]);if(_se){for(var a of _se(r))if(Ygt.call(r,a))mq(e,a,r[a])}return e},zse=(e,r)=>vq(e,"name",{value:r,configurable:!0}),qgt=(e)=>{var r;return[,,,Ngt((r=e==null?void 0:e[Sse("metadata")])!=null?r:null)]},Lse=["class","method","getter","setter","accessor","field","value","get","set"],r2=(e)=>e!==void 0&&typeof e!=="function"?qI("Function expected"):e,Hgt=(e,r,a,i,f)=>({kind:Lse[e],name:r,metadata:i,addInitializer:(s)=>a._?qI("Already initialized"):f.push(r2(s||null))}),kse=(e,r)=>mq(r,Sse("metadata"),e[3]),Vgt=(e,r,a,i)=>{for(var f=0,s=e[r>>1],l=s&&s.length;f<l;f++)r&1?s[f].call(a):i=s[f].call(a,i);return i},Cse=(e,r,a,i,f,s)=>{var l,c,m,g,M,v=r&7,y=!!(r&8),x=!!(r&16),_=v>3?e.length+1:v?y?1:2:0,j=Lse[v+5],U=v>3&&(e[_-1]=[]),T=e[_]||(e[_]=[]),N=v&&(!x&&!y&&(f=f.prototype),v<5&&(v>3||!x)&&Fgt(v<4?f:{get[a](){return hq(this,s)},set[a](X){return gq(this,s,X)}},a));v?x&&v<4&&zse(s,(v>2?"set ":v>1?"get ":"")+a):zse(f,a);for(var G=i.length-1;G>=0;G--){if(g=Hgt(v,a,m={},e[3],T),v){if(g.static=y,g.private=x,M=g.access={has:x?(X)=>Wgt(f,X):(X)=>(a in X)},v^3)M.get=x?(X)=>(v^1?hq:Kgt)(X,f,v^4?s:N.get):(X)=>X[a];if(v>2)M.set=x?(X,J)=>gq(X,f,J,v^4?s:N.set):(X,J)=>X[a]=J}if(c=(0,i[G])(v?v<4?x?s:N[j]:v>4?void 0:{get:N.get,set:N.set}:f,g),m._=1,v^4||c===void 0)r2(c)&&(v>4?U.unshift(c):v?x?s=c:N[j]=c:f=c);else if(typeof c!=="object"||c===null)qI("Object expected");else r2(l=c.get)&&(N.get=l),r2(l=c.set)&&(N.set=l),r2(l=c.init)&&U.unshift(l)}return v||kse(e,f),N&&vq(f,a,N),x?v^4?s:N:f},xq=(e,r,a)=>r.has(e)||qI("Cannot "+a),Wgt=(e,r)=>Object(r)!==r?qI('Cannot use the "in" operator on this value'):e.has(r),hq=(e,r,a)=>(xq(e,r,"read from private field"),a?a.call(e):r.get(e)),Ggt=(e,r,a)=>r.has(e)?qI("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),gq=(e,r,a,i)=>(xq(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),Kgt=(e,r,a)=>(xq(e,r,"access private method"),a),pf=class e{constructor(r,a){this.x=r,this.y=a}static delta(r,a){return new e(r.x-a.x,r.y-a.y)}static distance(r,a){return Math.hypot(r.x-a.x,r.y-a.y)}static equals(r,a){return r.x===a.x&&r.y===a.y}static from({x:r,y:a}){return new e(r,a)}},Ks=class e{constructor(r,a,i,f){this.left=r,this.top=a,this.width=i,this.height=f,this.scale={x:1,y:1}}get inverseScale(){return{x:1/this.scale.x,y:1/this.scale.y}}translate(r,a){let{top:i,left:f,width:s,height:l,scale:c}=this,m=new e(f+r,i+a,s,l);return m.scale=Ugt({},c),m}get boundingRectangle(){let{width:r,height:a,left:i,top:f,right:s,bottom:l}=this;return{width:r,height:a,left:i,top:f,right:s,bottom:l}}get center(){let{left:r,top:a,right:i,bottom:f}=this;return new pf((r+i)/2,(a+f)/2)}get area(){let{width:r,height:a}=this;return r*a}equals(r){if(!(r instanceof e))return!1;let{left:a,top:i,width:f,height:s}=this;return a===r.left&&i===r.top&&f===r.width&&s===r.height}containsPoint(r){let{top:a,left:i,bottom:f,right:s}=this;return a<=r.y&&r.y<=f&&i<=r.x&&r.x<=s}intersectionArea(r){if(r instanceof e)return Xgt(this,r);return 0}intersectionRatio(r){let{area:a}=this,i=this.intersectionArea(r);return i/(r.area+a-i)}get bottom(){let{top:r,height:a}=this;return r+a}get right(){let{left:r,width:a}=this;return r+a}get aspectRatio(){let{width:r,height:a}=this;return r/a}get corners(){return[{x:this.left,y:this.top},{x:this.right,y:this.top},{x:this.left,y:this.bottom},{x:this.right,y:this.bottom}]}static from({top:r,left:a,width:i,height:f}){return new e(a,r,i,f)}static delta(r,a,i={x:"center",y:"center"}){let f=(s,l)=>{let c=i[l],m=l==="x"?s.left:s.top,g=l==="x"?s.width:s.height;if(c=="start")return m;if(c=="end")return m+g;return m+g/2};return pf.delta({x:f(r,"x"),y:f(r,"y")},{x:f(a,"x"),y:f(a,"y")})}static intersectionRatio(r,a){return e.from(r).intersectionRatio(e.from(a))}};function Xgt(e,r){let a=Math.max(r.top,e.top),i=Math.max(r.left,e.left),f=Math.min(r.left+r.width,e.left+e.width),s=Math.min(r.top+r.height,e.top+e.height),l=f-i,c=s-a;if(i<f&&a<s)return l*c;return 0}var Ise,Rse,Mq,r5,o2,a2=class extends(Mq=pZ,Rse=[Ha],Ise=[Ha],Mq){constructor(e){let r=pf.from(e);super(r,(a,i)=>pf.equals(a,i));Vgt(o2,5,this),Ggt(this,r5,0),this.velocity={x:0,y:0}}get delta(){return pf.delta(this.current,this.initial)}get direction(){let{current:e,previous:r}=this;if(!r)return null;let a={x:e.x-r.x,y:e.y-r.y};if(!a.x&&!a.y)return null;if(Math.abs(a.x)>Math.abs(a.y))return a.x>0?"right":"left";return a.y>0?"down":"up"}get current(){return super.current}set current(e){let{current:r}=this,a=pf.from(e),i={x:a.x-r.x,y:a.y-r.y},f=Date.now(),s=f-hq(this,r5),l=(c)=>Math.round(c/s*100);Qo(()=>{gq(this,r5,f),this.velocity={x:l(i.x),y:l(i.y)},super.current=a})}reset(e=this.defaultValue){super.reset(pf.from(e)),this.velocity={x:0,y:0}}};o2=qgt(Mq);r5=new WeakMap;Cse(o2,2,"delta",Rse,a2);Cse(o2,2,"direction",Ise,a2);kse(o2,a2);function o5({x:e,y:r},a){let i=Math.abs(e),f=Math.abs(r);if(typeof a==="number")return Math.sqrt(wse(i,2)+wse(f,2))>a;if("x"in a&&"y"in a)return i>a.x&&f>a.y;if("x"in a)return i>a.x;if("y"in a)return f>a.y;return!1}var Pse=((e)=>(e.Horizontal="x",e.Vertical="y",e))(Pse||{}),yq=Object.values(Pse);var{create:Qgt,defineProperty:Sq,defineProperties:Jgt,getOwnPropertyDescriptor:$gt,getOwnPropertyDescriptors:eMt,getOwnPropertySymbols:c5}=Object,Dse=Object.prototype.hasOwnProperty,Ese=Object.prototype.propertyIsEnumerable,Ose=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),XI=(e)=>{throw TypeError(e)},_q=(e,r,a)=>(r in e)?Sq(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,Lq=(e,r)=>{for(var a in r||(r={}))if(Dse.call(r,a))_q(e,a,r[a]);if(c5){for(var a of c5(r))if(Ese.call(r,a))_q(e,a,r[a])}return e},kq=(e,r)=>Jgt(e,eMt(r)),Tse=(e,r)=>Sq(e,"name",{value:r,configurable:!0}),jse=(e,r)=>{var a={};for(var i in e)if(Dse.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&c5){for(var i of c5(e))if(r.indexOf(i)<0&&Ese.call(e,i))a[i]=e[i]}return a},QI=(e)=>{var r;return[,,,Qgt((r=e==null?void 0:e[Ose("metadata")])!=null?r:null)]},Nse=["class","method","getter","setter","accessor","field","value","get","set"],n2=(e)=>e!==void 0&&typeof e!=="function"?XI("Function expected"):e,tMt=(e,r,a,i,f)=>({kind:Nse[e],name:r,metadata:i,addInitializer:(s)=>a._?XI("Already initialized"):f.push(n2(s||null))}),tL=(e,r)=>_q(r,Ose("metadata"),e[3]),Zo=(e,r,a,i)=>{for(var f=0,s=e[r>>1],l=s&&s.length;f<l;f++)r&1?s[f].call(a):i=s[f].call(a,i);return i},Ao=(e,r,a,i,f,s)=>{var l,c,m,g,M,v=r&7,y=!!(r&8),x=!!(r&16),_=v>3?e.length+1:v?y?1:2:0,j=Nse[v+5],U=v>3&&(e[_-1]=[]),T=e[_]||(e[_]=[]),N=v&&(!x&&!y&&(f=f.prototype),v<5&&(v>3||!x)&&$gt(v<4?f:{get[a](){return Nn(this,s)},set[a](X){return Vl(this,s,X)}},a));v?x&&v<4&&Tse(s,(v>2?"set ":v>1?"get ":"")+a):Tse(f,a);for(var G=i.length-1;G>=0;G--){if(g=tMt(v,a,m={},e[3],T),v){if(g.static=y,g.private=x,M=g.access={has:x?(X)=>rMt(f,X):(X)=>(a in X)},v^3)M.get=x?(X)=>(v^1?Nn:Fse)(X,f,v^4?s:N.get):(X)=>X[a];if(v>2)M.set=x?(X,J)=>Vl(X,f,J,v^4?s:N.set):(X,J)=>X[a]=J}if(c=(0,i[G])(v?v<4?x?s:N[j]:v>4?void 0:{get:N.get,set:N.set}:f,g),m._=1,v^4||c===void 0)n2(c)&&(v>4?U.unshift(c):v?x?s=c:N[j]=c:f=c);else if(typeof c!=="object"||c===null)XI("Object expected");else n2(l=c.get)&&(N.get=l),n2(l=c.set)&&(N.set=l),n2(l=c.init)&&U.unshift(l)}return v||tL(e,f),N&&Sq(f,a,N),x?v^4?s:N:f},Cq=(e,r,a)=>r.has(e)||XI("Cannot "+a),rMt=(e,r)=>Object(r)!==r?XI('Cannot use the "in" operator on this value'):e.has(r),Nn=(e,r,a)=>(Cq(e,r,"read from private field"),a?a.call(e):r.get(e)),oa=(e,r,a)=>r.has(e)?XI("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Vl=(e,r,a,i)=>(Cq(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),Fse=(e,r,a)=>(Cq(e,r,"access private method"),a);function Bse(e,r){return{plugin:e,options:r}}function ei(e){return(r)=>Bse(e,r)}function KI(e){if(typeof e==="function")return{plugin:e,options:void 0};return e}var Yse,s2,Iq,n5;Yse=[ko];var Bi=class{constructor(e,r){this.manager=e,this.options=r,oa(this,Iq,Zo(s2,8,this,!1)),Zo(s2,11,this),oa(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=gi(e.bind(this));return Nn(this,n5).add(r),r}destroy(){Nn(this,n5).forEach((e)=>e())}static configure(e){return Bse(this,e)}};s2=QI(null);Iq=new WeakMap;n5=new WeakMap;Ao(s2,4,"disabled",Yse,Bi,Iq);tL(s2,Bi);var JI=class extends Bi{},i5,bq=class{constructor(e){this.manager=e,this.instances=new Map,oa(this,i5,[])}get values(){return Array.from(this.instances.values())}set values(e){let r=e.map(KI).reduce((i,f)=>{let s=i.find(({plugin:l})=>l===f.plugin);if(s)return s.options=f.options,i;return[...i,f]},[]),a=r.map(({plugin:i})=>i);for(let i of Nn(this,i5))if(!a.includes(i)){if(i.prototype instanceof JI)continue;this.unregister(i)}for(let{plugin:i,options:f}of r)this.register(i,f);Vl(this,i5,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()}};i5=new WeakMap;function oMt(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 a5=[],HI,VI,aMt=class extends Bi{constructor(e){super(e);oa(this,HI),oa(this,VI),this.computeCollisions=this.computeCollisions.bind(this),Vl(this,VI,ZZ(a5)),this.destroy=$z(()=>{let r=this.computeCollisions(),a=ho(()=>this.manager.dragOperation.position.current);if(r!==a5){let i=Nn(this,HI);if(Vl(this,HI,a),i&&a.x==i.x&&a.y==i.y)return}else Vl(this,HI,void 0);Nn(this,VI).value=r},()=>{let{dragOperation:r}=this.manager;if(r.status.initialized)this.forceUpdate()})}forceUpdate(e=!0){ho(()=>{if(e)Nn(this,VI).value=this.computeCollisions();else Vl(this,HI,void 0)})}computeCollisions(e,r){let{registry:a,dragOperation:i}=this.manager,{source:f,shape:s,status:l}=i;if(!l.initialized||!s)return a5;let c=[],m=[];for(let g of e!=null?e:a.droppables){if(g.disabled)continue;if(f&&!g.accepts(f))continue;let M=r!=null?r:g.collisionDetector;if(!M)continue;m.push(g),g.shape;let v=ho(()=>M({droppable:g,dragOperation:i}));if(v){if(g.collisionPriority!=null)v.priority=g.collisionPriority;c.push(v)}}if(m.length===0)return a5;return c.sort(oMt),c}get collisions(){return Nn(this,VI).value}};HI=new WeakMap;VI=new WeakMap;var Use,qse,Hse,Rq,Vse,hu,Pq,GI,Tq,Aq;Hse=[ko],qse=[ko],Use=[ko];var gm=class e{constructor(r,a){oa(this,Pq,Zo(hu,8,this)),Zo(hu,11,this),oa(this,GI),oa(this,Tq,Zo(hu,12,this)),Zo(hu,15,this),oa(this,Aq,Zo(hu,16,this)),Zo(hu,19,this);let{effects:i,id:f,data:s={},disabled:l=!1,register:c=!0}=r,m=f;if(Vl(this,GI,ZZ(f)),this.manager=a,this.data=s,this.disabled=l,this.effects=()=>{var g;return[()=>{let{id:M,manager:v}=this;if(M===m)return;return m=M,v==null||v.registry.register(this),()=>v==null?void 0:v.registry.unregister(this)},...(g=i==null?void 0:i())!=null?g:[]]},this.register=this.register.bind(this),this.unregister=this.unregister.bind(this),this.destroy=this.destroy.bind(this),a&&c)queueMicrotask(this.register)}get id(){var r,a;let i=Nn(this,GI).value;return(a=(r=e.pendingIdChanges)==null?void 0:r.get(this))!=null?a:i}set id(r){var a,i;let f=(i=(a=e.pendingIdChanges)==null?void 0:a.get(this))!=null?i:Nn(this,GI).peek();if(r===f)return;if(!e.pendingIdChanges)e.pendingIdChanges=new Map,queueMicrotask(()=>{var s;return Fse(s=e,Rq,Vse).call(s)});e.pendingIdChanges.set(this,r)}register(){var r;return(r=this.manager)==null?void 0:r.registry.register(this)}unregister(){var r;(r=this.manager)==null||r.registry.unregister(this)}destroy(){var r;(r=this.manager)==null||r.registry.unregister(this)}};hu=QI(null);Rq=new WeakSet;Vse=function(){let e=gm.pendingIdChanges;if(gm.pendingIdChanges=null,e)Qo(()=>{for(let[r,a]of e)Nn(r,GI).value=a})};Pq=new WeakMap;GI=new WeakMap;Tq=new WeakMap;Aq=new WeakMap;Ao(hu,4,"manager",Hse,gm,Pq);Ao(hu,4,"data",qse,gm,Tq);Ao(hu,4,"disabled",Use,gm,Aq);oa(gm,Rq);tL(hu,gm);gm.pendingIdChanges=null;var u5=gm,Ase=class{constructor(){this.map=ZZ(new Map),this.cleanupFunctions=new WeakMap,this.register=(e,r)=>{let a=this.map.peek(),i=a.get(e),f=()=>this.unregister(e,r);if(i===r)return f;if(i){if(i.id===e){let c=this.cleanupFunctions.get(i);c==null||c(),this.cleanupFunctions.delete(i)}}let s=new Map(a);for(let[c,m]of a)if(m===r&&c!==e){s.delete(c);break}s.set(e,r),this.map.value=s;let l=$z(...r.effects());return this.cleanupFunctions.set(r,l),f},this.unregister=(e,r)=>{let a=this.map.peek();if(a.get(e)!==r)return;let i=this.cleanupFunctions.get(r);i==null||i(),this.cleanupFunctions.delete(r);let f=new Map(a);f.delete(e),this.map.value=f}}[Symbol.iterator](){return this.map.peek().values()}get value(){return this.map.value.values()}has(e){return this.map.value.has(e)}get(e){return this.map.value.get(e)}destroy(){for(let e of this){let r=this.cleanupFunctions.get(e);r==null||r(),e.destroy()}this.map.value=new Map}},Wse,Gse,Kse,Xse,Qse,Jse,wq,ls,Dq,Eq,Oq,gu=class extends(wq=u5,Jse=[ko],Qse=[ko],Xse=[ko],Kse=[Ha],Gse=[Ha],Wse=[Ha],wq){constructor(e,r){var a=e,{modifiers:i,type:f,sensors:s,plugins:l,effects:c}=a,m=jse(a,["modifiers","type","sensors","plugins","effects"]);super(kq(Lq({},m),{effects:()=>{var g;return[...(g=c==null?void 0:c())!=null?g:[],()=>{let{manager:M,plugins:v}=this;if(!M||!v)return;for(let y of v){let{plugin:x}=KI(y);M.registry.plugins.register(x)}}]}}),r);Zo(ls,5,this),oa(this,Dq,Zo(ls,8,this)),Zo(ls,11,this),oa(this,Eq,Zo(ls,12,this)),Zo(ls,15,this),oa(this,Oq,Zo(ls,16,this,this.isDragSource?"dragging":"idle")),Zo(ls,19,this),this.type=f,this.sensors=s,this.modifiers=i,this.alignment=m.alignment,this.plugins=l}pluginConfig(e){if(!this.plugins)return;for(let r of this.plugins){let a=KI(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=QI(wq);Dq=new WeakMap;Eq=new WeakMap;Oq=new WeakMap;Ao(ls,4,"type",Jse,gu,Dq);Ao(ls,4,"modifiers",Qse,gu,Eq);Ao(ls,4,"status",Xse,gu,Oq);Ao(ls,2,"isDropping",Kse,gu);Ao(ls,2,"isDragging",Gse,gu);Ao(ls,2,"isDragSource",Wse,gu);tL(ls,gu);var $se,ele,tle,rle,ole,ale,zq,vi,jq,Nq,Fq,Bq,Yq,Mu=class extends(zq=u5,ale=[ko],ole=[ko],rle=[ko],tle=[ko],ele=[ko],$se=[Ha],zq){constructor(e,r){var a=e,{accept:i,collisionDetector:f,collisionPriority:s,type:l}=a,c=jse(a,["accept","collisionDetector","collisionPriority","type"]);super(c,r);Zo(vi,5,this),oa(this,jq,Zo(vi,8,this)),Zo(vi,11,this),oa(this,Nq,Zo(vi,12,this)),Zo(vi,15,this),oa(this,Fq,Zo(vi,16,this)),Zo(vi,19,this),oa(this,Bq,Zo(vi,20,this)),Zo(vi,23,this),oa(this,Yq,Zo(vi,24,this)),Zo(vi,27,this),this.accept=i,this.collisionDetector=f,this.collisionPriority=s,this.type=l}accepts(e){let{accept:r}=this;if(!r)return!0;if(typeof r==="function")return r(e);if(!e.type)return!1;if(Array.isArray(r))return r.includes(e.type);return e.type===r}get isDropTarget(){var e,r;return((r=(e=this.manager)==null?void 0:e.dragOperation.target)==null?void 0:r.id)===this.id}};vi=QI(zq);jq=new WeakMap;Nq=new WeakMap;Fq=new WeakMap;Bq=new WeakMap;Yq=new WeakMap;Ao(vi,4,"accept",ale,Mu,jq);Ao(vi,4,"type",ole,Mu,Nq);Ao(vi,4,"collisionDetector",rle,Mu,Fq);Ao(vi,4,"collisionPriority",tle,Mu,Bq);Ao(vi,4,"shape",ele,Mu,Yq);Ao(vi,2,"isDropTarget",$se,Mu);tL(vi,Mu);var nMt=class{constructor(){this.registry=new Map}addEventListener(e,r){let{registry:a}=this,i=new Set(a.get(e));return i.add(r),a.set(e,i),()=>this.removeEventListener(e,r)}removeEventListener(e,r){let{registry:a}=this,i=new Set(a.get(e));i.delete(r),a.set(e,i)}dispatch(e,...r){let{registry:a}=this,i=a.get(e);if(!i)return;for(let f of i)f(...r)}},iMt=class extends nMt{constructor(e){super();this.manager=e}dispatch(e,r){let a=[r,this.manager];super.dispatch(e,...a)}};function f5(e,r=!0){let a=!1;return kq(Lq({},e),{cancelable:r,get defaultPrevented(){return a},preventDefault(){if(!r)return;a=!0}})}var fMt=class extends JI{constructor(e){super(e);let r=(i,f)=>i.map(({id:s})=>s).join("")===f.map(({id:s})=>s).join(""),a=[];this.destroy=$z(()=>{let{dragOperation:i,collisionObserver:f}=e;if(i.status.initializing)a=[],f.enable()},()=>{let{collisionObserver:i,monitor:f}=e,{collisions:s}=i;if(i.isDisabled())return;if(u5.pendingIdChanges)return;let l=f5({collisions:s});if(f.dispatch("collision",l),l.defaultPrevented)return;if(r(s,a))return;else a=s;let[c]=s;ho(()=>{var m;if((c==null?void 0:c.id)!==((m=e.dragOperation.target)==null?void 0:m.id))i.disable(),e.actions.setDropTarget(c==null?void 0:c.id).then(()=>{i.enable()})})})}},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||{}),nle,ile,fle,sle,lle,cle,ule,xc,Uq;ule=[ko],cle=[Ha],lle=[Ha],sle=[Ha],fle=[Ha],ile=[Ha],nle=[Ha];var eM=class{constructor(){Zo(xc,5,this),oa(this,Uq,Zo(xc,8,this,"idle")),Zo(xc,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}};xc=QI(null);Uq=new WeakMap;Ao(xc,4,"value",ule,eM,Uq);Ao(xc,2,"current",cle,eM);Ao(xc,2,"idle",lle,eM);Ao(xc,2,"initializing",sle,eM);Ao(xc,2,"initialized",fle,eM);Ao(xc,2,"dragging",ile,eM);Ao(xc,2,"dropped",nle,eM);tL(xc,eM);var sMt=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=f5({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:f,coordinates:s}=e;Qo(()=>{r.status.set("initialization-pending"),r.shape=null,r.canceled=!1,r.activatorEvent=f!=null?f:null,r.position.reset(s)});let l=f5({operation:r.snapshot()});if(this.manager.monitor.dispatch("beforedragstart",l),l.defaultPrevented)return r.reset(),i.abort(),i;return r.status.set("initializing"),r.controller=i,this.manager.renderer.rendering.then(()=>{if(i.signal.aborted)return;let{status:c}=r;if(c.current!=="initializing")return;Qo(()=>{r.status.set("dragging"),this.manager.monitor.dispatch("dragstart",{nativeEvent:f,operation:r.snapshot(),cancelable:!1})})}),i})}move(e){return ho(()=>{var r,a;let{dragOperation:i}=this.manager,{status:f,controller:s}=i;if(!f.dragging||!s||s.signal.aborted)return;let l=f5({nativeEvent:e.event,operation:i.snapshot(),by:e.by,to:e.to},(r=e.cancelable)!=null?r:!0);if((a=e.propagate)!=null?a:!0)this.manager.monitor.dispatch("dragmove",l);queueMicrotask(()=>{var c,m,g,M,v;if(l.defaultPrevented)return;let y=(v=e.to)!=null?v:{x:i.position.current.x+((m=(c=e.by)==null?void 0:c.x)!=null?m:0),y:i.position.current.y+((M=(g=e.by)==null?void 0:g.y)!=null?M:0)};i.position.current=y})})}stop(e={}){return ho(()=>{var r,a;let{dragOperation:i}=this.manager,{controller:f}=i;if(!f||f.signal.aborted)return;let s,l=()=>{let m={resume:()=>{},abort:()=>{}};return s=new Promise((g,M)=>{m.resume=g,m.abort=M}),m};f.abort();let c=()=>{this.manager.renderer.rendering.then(()=>{i.status.set("dropped");let m=ho(()=>{var M;return((M=i.source)==null?void 0:M.status)==="dropping"}),g=()=>{if(i.controller===f)i.controller=void 0;i.reset()};if(m){let{source:M}=i,v=gi(()=>{if((M==null?void 0:M.status)==="idle")v(),g()})}else this.manager.renderer.rendering.then(g)})};if(i.canceled=(r=e.canceled)!=null?r:!1,this.manager.monitor.dispatch("dragend",{nativeEvent:e.event,operation:i.snapshot(),canceled:(a=e.canceled)!=null?a:!1,suspend:l}),s)s.then(c).catch(()=>i.reset());else c()})}},eL=class extends Bi{constructor(e,r){super(e,r);this.manager=e,this.options=r}},dle=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)}},s5,qq=class{constructor(e){this.options=e,oa(this,s5)}set controller(e){Vl(this,s5,e),e.signal.addEventListener("abort",()=>this.abort())}activate(e){var r;(r=Nn(this,s5))==null||r.activate(e)}};s5=new WeakMap;var Zd=class extends Bi{constructor(e,r){super(e,r);this.manager=e,this.options=r}apply(e){return e.transform}},lMt=class{constructor(e){this.draggables=new Ase,this.droppables=new Ase,this.plugins=new bq(e),this.sensors=new bq(e),this.modifiers=new bq(e)}register(e,r){if(e instanceof gu)return this.draggables.register(e.id,e);if(e instanceof Mu)return this.droppables.register(e.id,e);if(e.prototype instanceof Zd)return this.modifiers.register(e,r);if(e.prototype instanceof eL)return this.sensors.register(e,r);if(e.prototype instanceof Bi)return this.plugins.register(e,r);throw Error("Invalid instance type")}unregister(e){if(e instanceof u5){if(e instanceof gu)return this.draggables.unregister(e.id,e);if(e instanceof Mu)return this.droppables.unregister(e.id,e);return()=>{}}if(e.prototype instanceof Zd)return this.modifiers.unregister(e);if(e.prototype instanceof eL)return this.sensors.unregister(e);if(e.prototype instanceof Bi)return this.plugins.unregister(e);throw Error("Invalid instance type")}destroy(){this.draggables.destroy(),this.droppables.destroy(),this.plugins.destroy(),this.sensors.destroy(),this.modifiers.destroy()}},Zle,ple,mle,hle,gle,Mle,vle,xle,yle,i2,l5,WI,bn,Hq,Vq,Wq,Gq,Kq,f2;yle=[Ha],xle=[ko],vle=[ko],Mle=[ko],gle=[ko],hle=[ko],mle=[Ha],ple=[Ha],Zle=[Ha];var vu=class{constructor(e){Zo(bn,5,this),oa(this,i2),oa(this,l5),oa(this,WI,new pZ(void 0,(r,a)=>r&&a?r.equals(a):r===a)),this.status=new eM,oa(this,Hq,Zo(bn,8,this,!1)),Zo(bn,11,this),oa(this,Vq,Zo(bn,12,this,null)),Zo(bn,15,this),oa(this,Wq,Zo(bn,16,this,null)),Zo(bn,19,this),oa(this,Gq,Zo(bn,20,this,null)),Zo(bn,23,this),oa(this,Kq,Zo(bn,24,this,[])),Zo(bn,27,this),this.position=new a2({x:0,y:0}),oa(this,f2,{x:0,y:0}),Vl(this,i2,e)}get shape(){let{current:e,initial:r,previous:a}=Nn(this,WI);if(!e||!r)return null;return{current:e,initial:r,previous:a}}set shape(e){if(!e)Nn(this,WI).reset();else Nn(this,WI).current=e}get source(){var e;let r=this.sourceIdentifier;if(r==null)return null;let a=Nn(this,i2).registry.draggables.get(r);if(a)Vl(this,l5,a);return(e=a!=null?a:Nn(this,l5))!=null?e:null}get target(){var e;let r=this.targetIdentifier;return r!=null?(e=Nn(this,i2).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(kq(Lq({},this.snapshot()),{transform:a}));return Vl(this,f2,a),a}snapshot(){return ho(()=>({source:this.source,target:this.target,activatorEvent:this.activatorEvent,transform:Nn(this,f2),shape:this.shape?t5(this.shape):null,position:t5(this.position),status:t5(this.status),canceled:this.canceled}))}reset(){Qo(()=>{this.status.set("idle"),this.sourceIdentifier=null,this.targetIdentifier=null,Nn(this,WI).reset(),this.position.reset({x:0,y:0}),Vl(this,f2,{x:0,y:0}),this.modifiers=[]})}};bn=QI(null);i2=new WeakMap;l5=new WeakMap;WI=new WeakMap;Hq=new WeakMap;Vq=new WeakMap;Wq=new WeakMap;Gq=new WeakMap;Kq=new WeakMap;f2=new WeakMap;Ao(bn,2,"shape",yle,vu);Ao(bn,4,"canceled",xle,vu,Hq);Ao(bn,4,"activatorEvent",vle,vu,Vq);Ao(bn,4,"sourceIdentifier",Mle,vu,Wq);Ao(bn,4,"targetIdentifier",gle,vu,Gq);Ao(bn,4,"modifiers",hle,vu,Kq);Ao(bn,2,"source",mle,vu);Ao(bn,2,"target",ple,vu);Ao(bn,2,"transform",Zle,vu);tL(bn,vu);var cMt={get rendering(){return Promise.resolve()}};function cs(e,r){if(typeof e==="function")return e(r);return e!=null?e:r}var ble=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,[]),f=cs(a.sensors,[]),s=cs(a.modifiers,[]),l=(r=a.renderer)!=null?r:cMt,c=new iMt(this),m=new lMt(this);this.registry=m,this.monitor=c,this.renderer=l,this.actions=new sMt(this),this.dragOperation=new vu(this),this.collisionObserver=new aMt(this),this.plugins=[fMt,...i],this.modifiers=s,this.sensors=f;let{destroy:g}=this,M=$z(()=>{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}=KI(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 Cle=(e)=>{throw TypeError(e)},Jq=(e,r,a)=>r.has(e)||Cle("Cannot "+a),po=(e,r,a)=>(Jq(e,r,"read from private field"),r.get(e)),Xs=(e,r,a)=>r.has(e)?Cle("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Wl=(e,r,a,i)=>(Jq(e,r,"write to private field"),r.set(e,a),a),Ile=(e,r,a)=>(Jq(e,r,"access private method"),a);function x5(e){if(!e)return!1;if(e instanceof KeyframeEffect)return!0;return"getKeyframes"in e&&typeof e.getKeyframes==="function"}function $q(e,r){let a=e.getAnimations(),i=null;for(let f of a){if(f.playState!=="running")continue;let{effect:s}=f,c=(x5(s)?s.getKeyframes():[]).filter(r);if(c.length>0)i=[c[c.length-1],f]}return i}function y5(e){let{width:r,height:a,top:i,left:f,bottom:s,right:l}=e.getBoundingClientRect();return{width:r,height:a,top:i,left:f,bottom:s,right:l}}function e9(e){let r=Object.prototype.toString.call(e);return r==="[object Window]"||r==="[object global]"}function m2(e){return"nodeType"in e}function us(e){var r,a,i;if(!e)return window;if(e9(e))return e;if(!m2(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 b5(e){let{Document:r}=us(e);return e instanceof r||"nodeType"in e&&e.nodeType===Node.DOCUMENT_NODE}function tM(e){if(!e||e9(e))return!1;return e instanceof us(e).HTMLElement||"namespaceURI"in e&&typeof e.namespaceURI==="string"&&e.namespaceURI.endsWith("html")}function Rle(e){return e instanceof us(e).SVGElement||"namespaceURI"in e&&typeof e.namespaceURI==="string"&&e.namespaceURI.endsWith("svg")}function nL(e){if(!e)return document;if(e9(e))return e.document;if(!m2(e))return document;if(b5(e))return e;if(tM(e)||Rle(e))return e.ownerDocument;return document}function uMt(e){var r,a,i,f;let{documentElement:s}=nL(e),l=us(e).visualViewport,c=(r=l==null?void 0:l.width)!=null?r:s.clientWidth,m=(a=l==null?void 0:l.height)!=null?a:s.clientHeight,g=(i=l==null?void 0:l.offsetTop)!=null?i:0,M=(f=l==null?void 0:l.offsetLeft)!=null?f:0;return{top:g,left:M,right:M+c,bottom:g+m,width:c,height:m}}function dMt(e,r){if(ZMt(e)&&e.open===!1)return!1;let{overflow:a,overflowX:i,overflowY:f}=getComputedStyle(e);return a==="visible"&&i==="visible"&&f==="visible"}function ZMt(e){return e.tagName==="DETAILS"}function eR(e,r=e.getBoundingClientRect(),a=0){var i,f,s,l,c;let m=r,{ownerDocument:g}=e,M=(i=g.defaultView)!=null?i:window,v=e.parentElement;while(v&&v!==g.documentElement){if(!dMt(v)){let G=v.getBoundingClientRect(),X=a*(G.bottom-G.top),J=a*(G.right-G.left),ee=a*(G.bottom-G.top),re=a*(G.right-G.left);m={top:Math.max(m.top,G.top-X),right:Math.min(m.right,G.right+J),bottom:Math.min(m.bottom,G.bottom+ee),left:Math.max(m.left,G.left-re),width:0,height:0},m.width=m.right-m.left,m.height=m.bottom-m.top}v=v.parentElement}let y=M.visualViewport,x=(f=y==null?void 0:y.offsetTop)!=null?f:0,_=(s=y==null?void 0:y.offsetLeft)!=null?s:0,j=(l=y==null?void 0:y.width)!=null?l:M.innerWidth,U=(c=y==null?void 0:y.height)!=null?c:M.innerHeight,T=a*U,N=a*j;if(m={top:Math.max(m.top,x-T),right:Math.min(m.right,_+j+N),bottom:Math.min(m.bottom,x+U+T),left:Math.max(m.left,_-N),width:0,height:0},m.width=m.right-m.left,m.height=m.bottom-m.top,m.width<0)m.width=0;if(m.height<0)m.height=0;return m}function iL(e){return{x:e.clientX,y:e.clientY}}var Ple=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function h5(e=document,r=new Set){if(r.has(e))return[];r.add(e);let a=[e];for(let i of Array.from(e.querySelectorAll("iframe, frame")))try{let f=i.contentDocument;if(f&&!r.has(f))a.push(...h5(f,r))}catch(f){}try{let i=e.defaultView;if(i&&i!==window.top){let f=i.parent;if(f&&f.document&&f.document!==e)a.push(...h5(f.document,r))}}catch(i){}return a}function _5(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function t9(){var e,r;let a=_5()?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 w5(e){if(!e||!m2(e))return!1;return e instanceof us(e).ShadowRoot}function h2(e){if(e&&m2(e)){let r=e.getRootNode();if(w5(r))return r;else if(r instanceof Document)return r}return nL(e)}function g2(e){return e.matchMedia("(prefers-reduced-motion: reduce)").matches}function Tle(e){let a=e.cloneNode(!0),i=Array.from(e.querySelectorAll("input, textarea, select, canvas, [contenteditable]"));return Array.from(a.querySelectorAll("input, textarea, select, canvas, [contenteditable]")).forEach((s,l)=>{let c=i[l];if(_le(s)&&_le(c)){if(s.type!=="file")s.value=c.value;if(s.type==="radio"&&s.name)s.name=`Cloned__${s.name}`}if(wle(s)&&wle(c)&&c.width>0&&c.height>0){let m=s.getContext("2d");m==null||m.drawImage(c,0,0)}}),a}function _le(e){return"value"in e}function wle(e){return e.tagName==="CANVAS"}function r9(e,{x:r,y:a}){let i=e.elementFromPoint(r,a);if(pMt(i)){let{contentDocument:f}=i;if(f){let{left:s,top:l}=i.getBoundingClientRect();return r9(f,{x:r-s,y:a-l})}}return i}function pMt(e){return(e==null?void 0:e.tagName)==="IFRAME"}var M2=new WeakMap;function Ale(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:f}]=e;r.removeEventListener(a,i,f)}this.entries.clear()}}bind(e,r){let a=Array.isArray(e)?e:[e],i=Array.isArray(r)?r:[r],f=[];for(let l of a)for(let c of i){let{type:m,listener:g,options:M}=c,v=[l,c];l.addEventListener(m,g,M),this.entries.add(v),f.push(v)}let s=this.entries;return function(){for(let c of f){let[m,{type:g,listener:M,options:v}]=c;m.removeEventListener(g,M,v),s.delete(c)}}}};function aL(e){let r=e==null?void 0:e.ownerDocument.defaultView;if(r&&r.self!==r.parent)return r.frameElement}function mMt(e){let r=new Set,a=aL(e);while(a)r.add(a),a=aL(a);return r}function hMt(e,r){let a=setTimeout(e,r);return()=>clearTimeout(a)}function Dle(e,r){let a=()=>performance.now(),i,f;return function(...s){let l=this;if(!f)e.apply(l,s),f=a();else i==null||i(),i=hMt(()=>{e.apply(l,s),f=a()},r-(a()-f))}}function gMt(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 MMt(e,r=e.getBoundingClientRect()){let{width:a,height:i}=eR(e,r);return a>0&&i>0}var vMt=Ple?ResizeObserver:class{observe(){}unobserve(){}disconnect(){}},p5,xMt=class extends vMt{constructor(e){super((r)=>{if(!po(this,p5)){Wl(this,p5,!0);return}e(r,this)});Xs(this,p5,!1)}};p5=new WeakMap;var zle=Array.from({length:100},(e,r)=>r/100),Ele=75,rL,g5,y8,oL,l2,$i,Z2,c2,M5,Ole,jle,Nle=class{constructor(e,r,a={debug:!1,skipInitial:!1}){this.element=e,this.callback=r,Xs(this,M5),this.disconnect=()=>{var s,l,c;Wl(this,Z2,!0),(s=po(this,y8))==null||s.disconnect(),(l=po(this,oL))==null||l.disconnect(),po(this,l2).disconnect(),(c=po(this,$i))==null||c.remove()},Xs(this,rL,!0),Xs(this,g5),Xs(this,y8),Xs(this,oL),Xs(this,l2),Xs(this,$i),Xs(this,Z2,!1),Xs(this,c2,Dle(()=>{var s,l,c;let{element:m}=this;if((s=po(this,oL))==null||s.disconnect(),po(this,Z2)||!po(this,rL)||!m.isConnected)return;let g=(l=m.ownerDocument)!=null?l:document,{innerHeight:M,innerWidth:v}=(c=g.defaultView)!=null?c:window,y=m.getBoundingClientRect(),x=eR(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,Wl(this,oL,new IntersectionObserver((re)=>{let[oe]=re,{intersectionRect:ae}=oe;if((oe.intersectionRatio!==1?oe.intersectionRatio:Ks.intersectionRatio(ae,eR(m)))!==1)po(this,c2).call(this)},{threshold:zle,rootMargin:ee,root:g})),po(this,oL).observe(m),Ile(this,M5,Ole).call(this)},Ele)),this.boundingClientRect=e.getBoundingClientRect(),Wl(this,rL,MMt(e,this.boundingClientRect));let i=!0;this.callback=(s)=>{if(i){if(i=!1,a.skipInitial)return}r(s)};let f=e.ownerDocument;if(a==null?void 0:a.debug)Wl(this,$i,document.createElement("div")),po(this,$i).style.background="rgba(0,0,0,0.15)",po(this,$i).style.position="fixed",po(this,$i).style.pointerEvents="none",f.body.appendChild(po(this,$i));if(Wl(this,l2,new IntersectionObserver((s)=>{var l,c;let m=s[s.length-1],{boundingClientRect:g,isIntersecting:M}=m,{width:v,height:y}=g,x=po(this,rL);if(Wl(this,rL,M),!v&&!y)return;if(x&&!M){if((l=po(this,oL))==null||l.disconnect(),this.callback(null),(c=po(this,y8))==null||c.disconnect(),Wl(this,y8,void 0),po(this,$i))po(this,$i).style.visibility="hidden"}else po(this,c2).call(this);if(M&&!po(this,y8))Wl(this,y8,new xMt(po(this,c2))),po(this,y8).observe(e)},{threshold:zle,root:f})),po(this,rL)&&!a.skipInitial)this.callback(this.boundingClientRect);po(this,l2).observe(e)}};rL=new WeakMap;g5=new WeakMap;y8=new WeakMap;oL=new WeakMap;l2=new WeakMap;$i=new WeakMap;Z2=new WeakMap;c2=new WeakMap;M5=new WeakSet;Ole=function(){if(po(this,Z2))return;if(Ile(this,M5,jle).call(this),gMt(this.boundingClientRect,po(this,g5)))return;this.callback(this.boundingClientRect),Wl(this,g5,this.boundingClientRect)};jle=function(){if(po(this,$i)){let{top:e,left:r,width:a,height:i}=eR(this.element);po(this,$i).style.overflow="hidden",po(this,$i).style.visibility="visible",po(this,$i).style.top=`${Math.floor(e)}px`,po(this,$i).style.left=`${Math.floor(r)}px`,po(this,$i).style.width=`${Math.floor(a)}px`,po(this,$i).style.height=`${Math.floor(i)}px`}};var d5=new WeakMap,Z5=new WeakMap;function yMt(e,r){let a=d5.get(e);if(!a)a={disconnect:new Nle(e,(f)=>{let s=d5.get(e);if(!s)return;s.callbacks.forEach((l)=>l(f))},{skipInitial:!0}).disconnect,callbacks:new Set};return a.callbacks.add(r),d5.set(e,a),()=>{if(a.callbacks.delete(r),a.callbacks.size===0)d5.delete(e),a.disconnect()}}function bMt(e,r){let a=new Set;for(let i of e){let f=yMt(i,r);a.add(f)}return()=>a.forEach((i)=>i())}function _Mt(e,r){var a;let i=e.ownerDocument;if(!Z5.has(i)){let l=new AbortController,c=new Set;document.addEventListener("scroll",(m)=>c.forEach((g)=>g(m)),{capture:!0,passive:!0,signal:l.signal}),Z5.set(i,{disconnect:()=>l.abort(),listeners:c})}let{listeners:f,disconnect:s}=(a=Z5.get(i))!=null?a:{};if(!f||!s)return()=>{};return f.add(r),()=>{if(f.delete(r),f.size===0)s(),Z5.delete(i)}}var u2,d2,m5,Qq,Fle=class{constructor(e,r,a){this.callback=r,Xs(this,u2),Xs(this,d2,!1),Xs(this,m5),Xs(this,Qq,Dle((l)=>{if(po(this,d2))return;if(!l.target)return;if("contains"in l.target&&typeof l.target.contains==="function"){for(let c of po(this,m5))if(l.target.contains(c)){this.callback(po(this,u2).boundingClientRect);break}}},Ele));let i=mMt(e),f=bMt(i,r),s=_Mt(e,po(this,Qq));Wl(this,m5,i),Wl(this,u2,new Nle(e,r,a)),this.disconnect=()=>{if(po(this,d2))return;Wl(this,d2,!0),f(),s(),po(this,u2).disconnect()}}};u2=new WeakMap;d2=new WeakMap;m5=new WeakMap;Qq=new WeakMap;function z5(e){return"showPopover"in e&&"hidePopover"in e&&typeof e.showPopover==="function"&&typeof e.hidePopover==="function"}function fL(e){try{if(z5(e)&&e.isConnected&&e.hasAttribute("popover")&&!e.matches(":popover-open"))e.showPopover()}catch(r){}}function Sle(e){if(!Ple||!e)return!1;return e===nL(e).scrollingElement}function Ble(e){var r,a;let i=us(e),f=Sle(e)?uMt(e):y5(e),s=i.visualViewport,l=Sle(e)?{height:(r=s==null?void 0:s.height)!=null?r:i.innerHeight,width:(a=s==null?void 0:s.width)!=null?a:i.innerWidth}:{height:e.clientHeight,width:e.clientWidth},c={current:{x:e.scrollLeft,y:e.scrollTop},max:{x:e.scrollWidth-l.width,y:e.scrollHeight-l.height}},m=c.current.y<=0,g=c.current.x<=0,M=c.current.y>=c.max.y,v=c.current.x>=c.max.x;return{rect:f,position:c,isTop:m,isLeft:g,isBottom:M,isRight:v}}function Yle(e,r){let{isTop:a,isBottom:i,isLeft:f,isRight:s,position:l}=Ble(e),{x:c,y:m}=r!=null?r:{x:0,y:0},g=!a&&l.current.y+m>0,M=!i&&l.current.y+m<l.max.y,v=!f&&l.current.x+c>0,y=!s&&l.current.x+c<l.max.x;return{top:g,bottom:M,left:v,right:y,x:v||y,y:g||M}}var a9=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))}},v2=new a9((e)=>{if(typeof requestAnimationFrame==="function")requestAnimationFrame(e);else e()}),wMt=new a9((e)=>setTimeout(e,50)),v5=new Map,zMt=v5.clear.bind(v5);function yc(e,r=!1){if(!r)return Lle(e);let a=v5.get(e);if(a)return a;return a=Lle(e),v5.set(e,a),wMt.schedule(zMt),a}function Lle(e){return us(e).getComputedStyle(e)}function SMt(e,r=yc(e,!0)){return r.position==="fixed"||r.position==="sticky"}function LMt(e,r=yc(e,!0)){let a=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((f)=>{let s=r[f];return typeof s==="string"?a.test(s):!1})}var kMt={excludeElement:!0,escapeShadowDOM:!0};function S5(e,r=kMt){let{limit:a,excludeElement:i,escapeShadowDOM:f}=r,s=new Set;function l(c){if(a!=null&&s.size>=a)return s;if(!c)return s;if(b5(c)&&c.scrollingElement!=null&&!s.has(c.scrollingElement))return s.add(c.scrollingElement),s;if(f&&w5(c))return l(c.host);if(!tM(c)){if(Rle(c))return l(c.parentElement);return s}if(s.has(c))return s;let m=yc(c,!0);if(i&&c===e);else if(LMt(c,m))s.add(c);if(SMt(c,m)){let{scrollingElement:g}=c.ownerDocument;if(g)s.add(g);return s}return l(c.parentNode)}if(!e)return s;return l(e)}function sL(e,r=window.frameElement){let a={x:0,y:0,scaleX:1,scaleY:1};if(!e)return a;let i=aL(e);while(i){if(i===r)return a;let f=y5(i),{x:s,y:l}=CMt(i,f);a.x=a.x+f.left,a.y=a.y+f.top,a.scaleX=a.scaleX*s,a.scaleY=a.scaleY*l,i=aL(i)}return a}function CMt(e,r=y5(e)){let a=Math.round(r.width),i=Math.round(r.height);if(tM(e))return{x:a/e.offsetWidth,y:i/e.offsetHeight};let f=yc(e,!0);return{x:(parseFloat(f.width)||a)/a,y:(parseFloat(f.height)||i)/i}}function IMt(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 tR(e){if(!e||e==="none")return null;let[r,a,i="0"]=e.split(" "),f={x:parseFloat(r),y:parseFloat(a),z:parseInt(i,10)};if(isNaN(f.x)&&isNaN(f.y))return null;return{x:isNaN(f.x)?0:f.x,y:isNaN(f.y)?0:f.y,z:isNaN(f.z)?0:f.z}}function x2(e){var r,a,i,f,s,l,c,m,g;let{scale:M,transform:v,translate:y}=e,x=IMt(M),_=tR(y),j=RMt(v);if(!j&&!x&&!_)return null;let U={x:(r=x==null?void 0:x.x)!=null?r:1,y:(a=x==null?void 0:x.y)!=null?a:1},T={x:(i=_==null?void 0:_.x)!=null?i:0,y:(f=_==null?void 0:_.y)!=null?f:0},N={x:(s=j==null?void 0:j.x)!=null?s:0,y:(l=j==null?void 0:j.y)!=null?l:0,scaleX:(c=j==null?void 0:j.scaleX)!=null?c:1,scaleY:(m=j==null?void 0:j.scaleY)!=null?m:1};return{x:T.x+N.x,y:T.y+N.y,z:(g=_==null?void 0:_.z)!=null?g:0,scaleX:U.x*N.scaleX,scaleY:U.y*N.scaleY}}function RMt(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 Gl=((e)=>(e[e.Idle=0]="Idle",e[e.Forward=1]="Forward",e[e.Reverse=-1]="Reverse",e))(Gl||{}),PMt={x:0.2,y:0.2},TMt={x:10,y:10};function Ule(e,r,a,i=25,f=PMt,s=TMt){let{x:l,y:c}=r,{rect:m,isTop:g,isBottom:M,isLeft:v,isRight:y}=Ble(e),x=sL(e),_=yc(e,!0),j=x2(_),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*f.y,width:N.width*f.x};if(J.height>0&&(!g||T&&!M)&&c<=N.top+J.height&&(a==null?void 0:a.y)!==1&&l>=N.left-s.x&&l<=N.right+s.x)G.y=T?1:-1,X.y=i*Math.abs((N.top+J.height-c)/J.height);else if(J.height>0&&(!M||T&&!g)&&c>=N.bottom-J.height&&(a==null?void 0:a.y)!==-1&&l>=N.left-s.x&&l<=N.right+s.x)G.y=T?-1:1,X.y=i*Math.abs((N.bottom-J.height-c)/J.height);if(J.width>0&&(!y||U&&!v)&&l>=N.right-J.width&&(a==null?void 0:a.x)!==-1&&c>=N.top-s.y&&c<=N.bottom+s.y)G.x=U?-1:1,X.x=i*Math.abs((N.right-J.width-l)/J.width);else if(J.width>0&&(!v||U&&!y)&&l<=N.left+J.width&&(a==null?void 0:a.x)!==1&&c>=N.top-s.y&&c<=N.bottom+s.y)G.x=U?1:-1,X.x=i*Math.abs((N.left+J.width-l)/J.width);return{direction:G,speed:X}}function L5(e,{block:r="nearest",inline:a="nearest"}={}){if(!tM(e))return;let i=S5(e),f=[];for(let s of i){if(!tM(s))continue;let{top:l,left:c}=AMt(e,s),m=l,g=c;for(let M of f)m-=M.scrollTop,g-=M.scrollLeft;if(r!=="none"){let M=m<s.scrollTop,v=m+e.offsetHeight>s.scrollTop+s.clientHeight;if(M!==v)if(r==="center")s.scrollTop=m-s.clientHeight/2+e.offsetHeight/2;else if(M)s.scrollTop=m;else s.scrollTop=m+e.offsetHeight-s.clientHeight}if(a!=="none"){let M=g<s.scrollLeft,v=g+e.offsetWidth>s.scrollLeft+s.clientWidth;if(M!==v)if(a==="center")s.scrollLeft=g-s.clientWidth/2+e.offsetWidth/2;else if(M)s.scrollLeft=g;else s.scrollLeft=g+e.offsetWidth-s.clientWidth}f.push(s)}}function kle(e){let r=0,a=0,i=e;while(i){r+=i.offsetTop,a+=i.offsetLeft;let f=i.offsetParent;if(!tM(f))break;r+=f.clientTop,a+=f.clientLeft,i=f}return{top:r,left:a}}function AMt(e,r){let a=kle(e),i=kle(r);return{top:a.top-i.top-r.clientTop,left:a.left-i.left-r.clientLeft}}function DMt(e,r,a){let{scaleX:i,scaleY:f,x:s,y:l}=r,c=e.left+s+(1-i)*parseFloat(a),m=e.top+l+(1-f)*parseFloat(a.slice(a.indexOf(" ")+1)),g=i?e.width*i:e.width,M=f?e.height*f:e.height;return{width:g,height:M,top:m,right:c+g,bottom:m+M,left:c}}function EMt(e,r,a){let{scaleX:i,scaleY:f,x:s,y:l}=r,c=e.left-s-(1-i)*parseFloat(a),m=e.top-l-(1-f)*parseFloat(a.slice(a.indexOf(" ")+1)),g=i?e.width/i:e.width,M=f?e.height/f:e.height;return{width:g,height:M,top:m,right:c+g,bottom:m+M,left:c}}function k5({element:e,keyframes:r,options:a}){return e.animate(r,a).finished}function n9(e,r=yc(e).translate,a=!0){if(a){let i=$q(e,(f)=>("translate"in f));if(i){let{translate:f=""}=i[0];if(typeof f==="string"){let s=tR(f);if(s)return s}}}if(r){let i=tR(r);if(i)return i}return{x:0,y:0,z:0}}var OMt=new a9((e)=>setTimeout(e,0)),p2=new Map,jMt=p2.clear.bind(p2);function NMt(e){let r=e.ownerDocument,a=p2.get(r);if(a)return a;a=r.getAnimations(),p2.set(r,a),OMt.schedule(jMt);let i=a.filter((f)=>x5(f.effect)&&f.effect.target===e);return p2.set(e,i),a}function FMt(e,r){let a=NMt(e).filter((i)=>{var f,s;if(x5(i.effect)){let{target:l}=i.effect;if((s=l&&((f=r.isValidTarget)==null?void 0:f.call(r,l)))!=null?s:!0)return i.effect.getKeyframes().some((m)=>{for(let g of r.properties)if(m[g])return!0})}}).map((i)=>{let{effect:f,currentTime:s}=i,l=f==null?void 0:f.getComputedTiming().duration;if(i.pending||i.playState==="finished")return;if(typeof l=="number"&&typeof s=="number"&&s<l)return i.currentTime=l,()=>{i.currentTime=s}});if(a.length>0)return()=>a.forEach((i)=>i==null?void 0:i())}var bc=class extends Ks{constructor(e,r={}){var a,i,f,s;let{frameTransform:l=sL(e),ignoreTransforms:c,getBoundingClientRect:m=y5}=r,g=FMt(e,{properties:["transform","translate","scale","width","height"],isValidTarget:(J)=>(J!==e||_5())&&J.contains(e)}),M=m(e),{top:v,left:y,width:x,height:_}=M,j,U=yc(e),T=x2(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=BMt(e,U);if(g==null||g(),T){if(j=EMt(M,T,U.transformOrigin),c||G)v=j.top,y=j.left,x=j.width,_=j.height}let X={width:(f=j==null?void 0:j.width)!=null?f:x,height:(s=j==null?void 0:j.height)!=null?s:_};if(G&&!c&&j){let J=DMt(j,G,U.transformOrigin);v=J.top,y=J.left,x=J.width,_=J.height,N.x=G.scaleX,N.y=G.scaleY}if(l){if(!c)y*=l.scaleX,x*=l.scaleX,v*=l.scaleY,_*=l.scaleY;y+=l.x,v+=l.y}super(y,v,x,_);this.scale=N,this.intrinsicWidth=X.width,this.intrinsicHeight=X.height}};function BMt(e,r){let a=e.getAnimations();if(!a.length)return null;let i,f,s,l=!1;for(let c of a){if(c.playState!=="running")continue;let m=x5(c.effect)?c.effect.getKeyframes():[],g=m[m.length-1];if(!g)continue;let{transform:M,translate:v,scale:y}=g;if(typeof M==="string"&&M)i=M,l=!0;if(typeof v==="string"&&v)f=v,l=!0;if(typeof y==="string"&&y)s=y,l=!0}if(!l)return null;return x2({transform:i!=null?i:r.transform,translate:f!=null?f:r.translate,scale:s!=null?s:r.scale})}function $I(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 qle=class{constructor(e){this.element=e,this.initial=new Map}set(e,r=""){let{element:a}=this;if(!$I(a))return;for(let[i,f]of Object.entries(e)){let s=`${r}${i}`;if(!this.initial.has(s))this.initial.set(s,a.style.getPropertyValue(s));a.style.setProperty(s,typeof f==="string"?f:`${f}px`)}}remove(e,r=""){let{element:a}=this;if(!$I(a))return;for(let i of e){let f=`${r}${i}`;a.style.removeProperty(f)}}reset(){let{element:e}=this;if(!$I(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||m2(e)&&e.nodeType===Node.ELEMENT_NODE}function lL(e){if(!e)return!1;let{KeyboardEvent:r}=us(e.target);return e instanceof r}function Hle(e){if(!e)return!1;let{PointerEvent:r}=us(e.target);return e instanceof r}function Vle(e){if(!b8(e))return!1;let{tagName:r}=e;return r==="INPUT"||r==="TEXTAREA"||YMt(e)}function YMt(e){return e.hasAttribute("contenteditable")&&e.getAttribute("contenteditable")!=="false"}var Xq={};function C5(e){let r=Xq[e]==null?0:Xq[e]+1;return Xq[e]=r,`${e}-${r}`}var UMt=({dragOperation:e,droppable:r})=>{let a=e.position.current;if(!a)return null;let{id:i}=r;if(!r.shape)return null;if(r.shape.containsPoint(a)){let f=pf.distance(r.shape.center,a);return{id:i,value:1/f,type:hZ.PointerIntersection,priority:mZ.High}}return null},qMt=({dragOperation:e,droppable:r})=>{let{shape:a}=e;if(!r.shape||!(a==null?void 0:a.current))return null;let i=a.current.intersectionArea(r.shape);if(i){let{position:f}=e,s=pf.distance(r.shape.center,f.current),c=i/(a.current.area+r.shape.area-i)/s;return{id:r.id,value:c,type:hZ.ShapeIntersection,priority:mZ.Normal}}return null},I5=(e)=>{var r;return(r=UMt(e))!=null?r:qMt(e)},Wle=(e)=>{let{dragOperation:r,droppable:a}=e,{shape:i,position:f}=r;if(!a.shape)return null;let s=i?Ks.from(i.current.boundingRectangle).corners:void 0,c=Ks.from(a.shape.boundingRectangle).corners.reduce((m,g,M)=>{var v;return m+pf.distance(pf.from(g),(v=s==null?void 0:s[M])!=null?v:f.current)},0)/4;return{id:a.id,value:1/c,type:hZ.Collision,priority:mZ.Normal}};var{create:HMt,defineProperty:v9,defineProperties:VMt,getOwnPropertyDescriptor:WMt,getOwnPropertyDescriptors:GMt,getOwnPropertySymbols:T5}=Object,rce=Object.prototype.hasOwnProperty,oce=Object.prototype.propertyIsEnumerable,ace=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),sR=(e)=>{throw TypeError(e)},s9=(e,r,a)=>(r in e)?v9(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,L2=(e,r)=>{for(var a in r||(r={}))if(rce.call(r,a))s9(e,a,r[a]);if(T5){for(var a of T5(r))if(oce.call(r,a))s9(e,a,r[a])}return e},x9=(e,r)=>VMt(e,GMt(r)),Gle=(e,r)=>v9(e,"name",{value:r,configurable:!0}),nce=(e,r)=>{var a={};for(var i in e)if(rce.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&T5){for(var i of T5(e))if(r.indexOf(i)<0&&oce.call(e,i))a[i]=e[i]}return a},lR=(e)=>{var r;return[,,,HMt((r=e==null?void 0:e[ace("metadata")])!=null?r:null)]},ice=["class","method","getter","setter","accessor","field","value","get","set"],b2=(e)=>e!==void 0&&typeof e!=="function"?sR("Function expected"):e,KMt=(e,r,a,i,f)=>({kind:ice[e],name:r,metadata:i,addInitializer:(s)=>a._?sR("Already initialized"):f.push(b2(s||null))}),pL=(e,r)=>s9(r,ace("metadata"),e[3]),yi=(e,r,a,i)=>{for(var f=0,s=e[r>>1],l=s&&s.length;f<l;f++)r&1?s[f].call(a):i=s[f].call(a,i);return i},_c=(e,r,a,i,f,s)=>{var l,c,m,g,M,v=r&7,y=!!(r&8),x=!!(r&16),_=v>3?e.length+1:v?y?1:2:0,j=ice[v+5],U=v>3&&(e[_-1]=[]),T=e[_]||(e[_]=[]),N=v&&(!x&&!y&&(f=f.prototype),v<5&&(v>3||!x)&&WMt(v<4?f:{get[a](){return Da(this,s)},set[a](X){return Ms(this,s,X)}},a));v?x&&v<4&&Gle(s,(v>2?"set ":v>1?"get ":"")+a):Gle(f,a);for(var G=i.length-1;G>=0;G--){if(g=KMt(v,a,m={},e[3],T),v){if(g.static=y,g.private=x,M=g.access={has:x?(X)=>XMt(f,X):(X)=>(a in X)},v^3)M.get=x?(X)=>(v^1?Da:ZL)(X,f,v^4?s:N.get):(X)=>X[a];if(v>2)M.set=x?(X,J)=>Ms(X,f,J,v^4?s:N.set):(X,J)=>X[a]=J}if(c=(0,i[G])(v?v<4?x?s:N[j]:v>4?void 0:{get:N.get,set:N.set}:f,g),m._=1,v^4||c===void 0)b2(c)&&(v>4?U.unshift(c):v?x?s=c:N[j]=c:f=c);else if(typeof c!=="object"||c===null)sR("Object expected");else b2(l=c.get)&&(N.get=l),b2(l=c.set)&&(N.set=l),b2(l=c.init)&&U.unshift(l)}return v||pL(e,f),N&&v9(f,a,N),x?v^4?s:N:f},y9=(e,r,a)=>r.has(e)||sR("Cannot "+a),XMt=(e,r)=>Object(r)!==r?sR('Cannot use the "in" operator on this value'):e.has(r),Da=(e,r,a)=>(y9(e,r,"read from private field"),a?a.call(e):r.get(e)),Fn=(e,r,a)=>r.has(e)?sR("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Ms=(e,r,a,i)=>(y9(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),ZL=(e,r,a)=>(y9(e,r,"access private method"),a),Kle={role:"button",roleDescription:"draggable"},QMt="dnd-kit-description",JMt="dnd-kit-announcement",$Mt={draggable:"To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item in a given direction. Press space again to drop the item in its new position, or press escape to cancel."},evt={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 tvt(e){let r=e.tagName.toLowerCase();return["input","select","textarea","a","button"].includes(r)}function rvt(e,r){let a=document.createElement("div");return a.id=e,a.style.setProperty("display","none"),a.textContent=r,a}function ovt(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 avt=["dragover","dragmove"],nvt=class extends Bi{constructor(e,r){super(e);let{id:a,idPrefix:{description:i=QMt,announcement:f=JMt}={},announcements:s=evt,screenReaderInstructions:l=$Mt,debounce:c=500}=r!=null?r:{},m=a?`${i}-${a}`:C5(i),g=a?`${f}-${a}`:C5(f),M,v,y,x,_=(J=x)=>{if(!y||!J)return;if((y==null?void 0:y.nodeValue)!==J)y.nodeValue=J},j=()=>v2.schedule(_),U=ivt(j,c),T=Object.entries(s).map(([J,ee])=>this.manager.monitor.addEventListener(J,(re,oe)=>{let ae=y;if(!ae)return;let ye=ee==null?void 0:ee(re,oe);if(ye&&ae.nodeValue!==ye)if(x=ye,avt.includes(J))U();else j(),U.cancel()})),N=()=>{let J=[];if(!(M==null?void 0:M.isConnected))M=rvt(m,l.draggable),J.push(M);if(!(v==null?void 0:v.isConnected))v=ovt(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((!tvt(re)||_5())&&!re.hasAttribute("tabindex"))G.add(()=>re.setAttribute("tabindex","0"));if(!re.hasAttribute("role")&&re.tagName.toLowerCase()!=="button")G.add(()=>re.setAttribute("role",Kle.role));if(!re.hasAttribute("aria-roledescription"))G.add(()=>re.setAttribute("aria-roledescription",Kle.roleDescription));if(!re.hasAttribute("aria-describedby"))G.add(()=>re.setAttribute("aria-describedby",m));for(let ae of["aria-pressed","aria-grabbed"]){let ye=String(ee.isDragging);if(re.getAttribute(ae)!==ye)G.add(()=>re.setAttribute(ae,ye))}let oe=String(ee.disabled);if(re.getAttribute("aria-disabled")!==oe)G.add(()=>re.setAttribute("aria-disabled",oe))}}if(G.size>0)v2.schedule(X)}),this.destroy=()=>{super.destroy(),M==null||M.remove(),v==null||v.remove(),T.forEach((J)=>J())}}};function ivt(e,r){let a,i=()=>{clearTimeout(a),a=setTimeout(e,r)};return i.cancel=()=>clearTimeout(a),i}var A5=new Map,fce,sce,lce,cce,l9,z2,rM,b9,iR,uce,dce,Zce,pce,L8=class extends(l9=JI,cce=[ko],lce=[Ha],sce=[Ha],fce=[Ha],l9){constructor(r,a){super(r,a);yi(rM,5,this),Fn(this,iR),Fn(this,z2,new Set),Fn(this,b9,yi(rM,8,this,new Set)),yi(rM,11,this),this.registerEffect(ZL(this,iR,uce))}register(r){return Da(this,z2).add(r),()=>{Da(this,z2).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 h2((r=a==null?void 0:a.element)!=null?r:null)}get targetRoot(){var r;let{target:a}=this.manager.dragOperation;return h2((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=lR(l9);z2=new WeakMap;b9=new WeakMap;iR=new WeakSet;uce=function(){let{roots:e}=this,r=[];for(let a of e)for(let i of Da(this,z2))r.push(ZL(this,iR,dce).call(this,a,i));return()=>{for(let a of r)a()}};dce=function(e,r){let a=A5.get(e);if(!a)a=new Map,A5.set(e,a);let i=a.get(r);if(!i){let s=b5(e)?ZL(this,iR,Zce).call(this,e,a,r):ZL(this,iR,pce).call(this,e,a,r);if(!s)return()=>{};i=s,a.set(r,i)}i.refCount++;let f=!1;return()=>{if(f)return;if(f=!0,i.refCount--,i.refCount===0)i.cleanup()}};Zce=function(e,r,a){var i;let f=e.createElement("style"),{nonce:s}=(i=this.options)!=null?i:{};if(s)f.setAttribute("nonce",s);f.textContent=a,e.head.prepend(f);let l=new MutationObserver((c)=>{for(let m of c)for(let g of Array.from(m.removedNodes))if(g===f){e.head.prepend(f);return}});return l.observe(e.head,{childList:!0}),{refCount:0,cleanup:()=>{if(l.disconnect(),f.remove(),r.delete(a),r.size===0)A5.delete(e)}}};pce=function(e,r,a){"adoptedStyleSheets"in e&&Array.isArray(e.adoptedStyleSheets);let i=e.ownerDocument.defaultView,{CSSStyleSheet:f}=i!=null?i:{};if(!f)return null;let s=new f;return s.replaceSync(a),e.adoptedStyleSheets.push(s),{refCount:0,cleanup:()=>{var l;if(w5(e)&&((l=e.host)==null?void 0:l.isConnected)){let c=e.adoptedStyleSheets.indexOf(s);if(c!==-1)e.adoptedStyleSheets.splice(c,1)}if(r.delete(a),r.size===0)A5.delete(e)}}};_c(rM,4,"additionalRoots",cce,L8,b9);_c(rM,2,"sourceRoot",lce,L8);_c(rM,2,"targetRoot",sce,L8);_c(rM,2,"roots",fce,L8);pL(rM,L8);L8.configure=ei(L8);var j5=L8,fvt=class extends Bi{constructor(e,r){super(e,r);this.manager=e;let{cursor:a="grabbing"}=r!=null?r:{},i=e.registry.plugins.get(j5),f=i==null?void 0:i.register(`* { cursor: ${a} !important; }`);if(f){let s=this.destroy.bind(this);this.destroy=()=>{f(),s()}}}},R2="data-dnd-",c9=`${R2}dropping`,ef="--dnd-",gZ=`${R2}dragging`,D5=`${R2}placeholder`,svt=[gZ,D5,"popover","aria-pressed","aria-grabbing"],lvt=["view-transition-name"],cvt=`
|
|
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(${ef}top, 0px) !important;
|
|
93
|
-
left: var(${ef}left, 0px) !important;
|
|
94
|
-
right: unset !important;
|
|
95
|
-
bottom: unset !important;
|
|
96
|
-
width: var(${ef}width, auto);
|
|
97
|
-
max-width: var(${ef}width, auto);
|
|
98
|
-
height: var(${ef}height, auto);
|
|
99
|
-
max-height: var(${ef}height, auto);
|
|
100
|
-
transform: var(${ef}transform, none) !important;
|
|
101
|
-
transition: var(${ef}transition) !important;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
:is(:root,:host) [${D5}] {
|
|
105
|
-
transition: none;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
:is(:root,:host) [${D5}='hidden'] {
|
|
109
|
-
visibility: hidden;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
[${gZ}] * {
|
|
113
|
-
pointer-events: none !important;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
[${gZ}]:not([${c9}]) {
|
|
117
|
-
translate: var(${ef}translate) !important;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
[${gZ}][style*='${ef}scale'] {
|
|
121
|
-
scale: var(${ef}scale) !important;
|
|
122
|
-
transform-origin: var(${ef}transform-origin) !important;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
@layer dnd-kit {
|
|
126
|
-
:where([${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, [${R2}overlay]:not([${gZ}]) {
|
|
141
|
-
display: none;
|
|
142
|
-
visibility: hidden;
|
|
143
|
-
}
|
|
144
|
-
`.replace(/\n+/g," ").replace(/\s+/g," ").trim();function uvt(e,r="hidden"){return ho(()=>{let{element:a,manager:i}=e;if(!a||!i)return;let f=dvt(a,i.registry.droppables),s=[],l=Tle(a),{remove:c}=l;return Zvt(f,l,s),pvt(l,r),l.remove=()=>{s.forEach((m)=>m()),c.call(l)},l})}function dvt(e,r){let a=new Map;for(let i of r){if(!i.element)continue;if(e===i.element||e.contains(i.element)){let f=`${R2}${C5("dom-id")}`;i.element.setAttribute(f,""),a.set(i,f)}}return a}function Zvt(e,r,a){for(let[i,f]of e){if(!i.element)continue;let s=`[${f}]`,l=r.matches(s)?r:r.querySelector(s);if(i.element.removeAttribute(f),!l)continue;let c=i.element;i.proxy=l,l.removeAttribute(f),M2.set(c,l),a.push(()=>{M2.delete(c),i.proxy=void 0})}}function pvt(e,r="hidden"){e.setAttribute("inert","true"),e.setAttribute("tab-index","-1"),e.setAttribute("aria-hidden","true"),e.setAttribute(D5,r)}function mce(e,r){if(e===r)return!0;return aL(e)===aL(r)}function Xle(e){let{target:r}=e;if("newState"in e&&e.newState==="closed"&&b8(r)&&r.hasAttribute("popover"))requestAnimationFrame(()=>fL(r))}function u9(e){return e.tagName==="TR"}function mvt(e,r,a){let i=new MutationObserver((f)=>{let s=!1;for(let l of f){if(l.target!==e){s=!0;continue}if(l.type!=="attributes")continue;let c=l.attributeName;if(c.startsWith("aria-")||svt.includes(c))continue;let m=e.getAttribute(c);if(c==="style"){if($I(e)&&$I(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(lvt.includes(M)||M.startsWith(ef))continue;let v=g.getPropertyValue(M);r.style.setProperty(M,v)}}}else if(m!==null)r.setAttribute(c,m);else r.removeAttribute(c)}if(s&&a)r.replaceChildren(...e.cloneNode(!0).childNodes)});return i.observe(e,{attributes:!0,subtree:!0,childList:!0}),i}function hvt(e,r,a){let i=new MutationObserver((f)=>{for(let s of f){if(s.addedNodes.length===0)continue;for(let l of Array.from(s.addedNodes)){if(l.contains(e)&&e.nextElementSibling!==r){e.insertAdjacentElement("afterend",r),fL(a);return}if(l.contains(r)&&r.previousElementSibling!==e){r.insertAdjacentElement("beforebegin",e),fL(a);return}}}if(e.isConnected&&r.isConnected&&e.nextElementSibling!==r)e.insertAdjacentElement("afterend",r),fL(a)});return i.observe(e.ownerDocument.body,{childList:!0,subtree:!0}),i}function gvt(e){return new ResizeObserver(()=>{var r,a,i;let f=new bc(e.placeholder,{frameTransform:e.frameTransform,ignoreTransforms:!0}),s=(r=e.transformOrigin)!=null?r:{x:1,y:1},l=(e.width-f.width)*s.x+e.delta.x,c=(e.height-f.height)*s.y+e.delta.y,m=t9();if(e.styles.set({width:f.width-e.widthOffset,height:f.height-e.heightOffset,top:e.top+c+m.y,left:e.left+l+m.x},ef),(a=e.getElementMutationObserver())==null||a.takeRecords(),u9(e.element)&&u9(e.placeholder)){let j=Array.from(e.element.cells),U=Array.from(e.placeholder.cells);if(!e.getSavedCellWidths())e.setSavedCellWidths(j.map((T)=>T.style.width));for(let[T,N]of j.entries()){let G=U[T];N.style.width=`${G.getBoundingClientRect().width}px`}}let g=(i=e.getTranslate())!=null?i:{x:0,y:0},M=e.left+l+m.x+g.x,v=e.top+c+m.y+g.y,y=f.width-e.widthOffset,x=f.height-e.heightOffset,_=e.frameTransform;e.dragOperation.shape=new Ks(M*_.scaleX+_.x,v*_.scaleY+_.y,y*_.scaleX,x*_.scaleY)})}var Mvt=250,vvt="ease";function xvt(e){var r,a,i,f;let{animation:s}=e;if(typeof s==="function"){let N=s({source:e.source,element:e.element,feedbackElement:e.feedbackElement,placeholder:e.placeholder,translate:e.translate,moved:e.moved});Promise.resolve(N).then(()=>{e.cleanup(),requestAnimationFrame(e.restoreFocus)});return}let{duration:l=Mvt,easing:c=vvt}=s!=null?s:{};fL(e.feedbackElement);let[,m]=(r=$q(e.feedbackElement,(N)=>("translate"in N)))!=null?r:[];m==null||m.pause();let g=(a=e.placeholder)!=null?a:e.element,M={frameTransform:mce(e.feedbackElement,g)?null:void 0},v=new bc(e.feedbackElement,M),y=(i=tR(yc(e.feedbackElement).translate))!=null?i:e.translate,x=new bc(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},ef),e.feedbackElement.setAttribute(c9,""),(f=e.getElementMutationObserver())==null||f.takeRecords(),k5({element:e.feedbackElement,keyframes:x9(L2(L2({},U),T),{translate:[`${y.x}px ${y.y}px 0`,`${j.x}px ${j.y}px 0`]}),options:{duration:g2(us(e.feedbackElement))?0:e.moved||e.feedbackElement!==e.element?l:0,easing:c}}).then(()=>{e.feedbackElement.removeAttribute(c9),m==null||m.finish(),e.cleanup(),requestAnimationFrame(e.restoreFocus)})}var hce,d9,k2,_9,P5,gce,Mce,fR=class extends(d9=Bi,hce=[ko],d9){constructor(r,a){super(r,a);Fn(this,P5),Fn(this,_9,yi(k2,8,this)),yi(k2,11,this),this.state={initial:{},current:{}};let i=r.registry.plugins.get(j5),f=i==null?void 0:i.register(cvt);if(f){let s=this.destroy.bind(this);this.destroy=()=>{f(),s()}}this.registerEffect(ZL(this,P5,gce).bind(this,i)),this.registerEffect(ZL(this,P5,Mce))}};k2=lR(d9);_9=new WeakMap;P5=new WeakSet;gce=function(e){let{overlay:r}=this;if(!r||!e)return;let a=h2(r);if(!a)return;return e.addRoot(a)};Mce=function(){var e,r,a,i,f,s,l;let{state:c,manager:m,options:g}=this,{dragOperation:M}=m,{position:v,source:y,status:x}=M;if(x.idle){c.current={},c.initial={};return}if(!y)return;let{element:_}=y,j=y.pluginConfig(fR),U=(r=(e=j==null?void 0:j.feedback)!=null?e:g==null?void 0:g.feedback)!=null?r:"default",T=typeof U==="function"?U(y,m):U;if(!_||T==="none"||!x.initialized||x.initializing)return;let{initial:N}=c,G=(a=this.overlay)!=null?a:_,X=sL(G),J=sL(_),ee=!mce(_,G),re=new bc(_,{frameTransform:ee?J:null,ignoreTransforms:!ee}),oe={x:J.scaleX/X.scaleX,y:J.scaleY/X.scaleY},{width:ae,height:ye,top:We,left:Ye}=re;if(ee)ae=ae/oe.x,ye=ye/oe.y;let ze=new qle(G),qe=yc(_),{transition:ut,translate:$e,boxSizing:xt,paddingBlockStart:Dt,paddingBlockEnd:jt,paddingInlineStart:de,paddingInlineEnd:yt,borderInlineStartWidth:Wt,borderInlineEndWidth:De,borderBlockStartWidth:fr,borderBlockEndWidth:sr}=qe,rr=ut.split(",").filter((_t)=>!/^\s*(transform|translate|scale)\b/.test(_t)).join(","),Or=x2(qe),Gt=qe.transform,Kt=T==="clone",Rr=xt==="content-box",Lr=Rr?parseInt(de)+parseInt(yt)+parseInt(Wt)+parseInt(De):0,Tr=Rr?parseInt(Dt)+parseInt(jt)+parseInt(fr)+parseInt(sr):0,dr=T!=="move"&&!this.overlay?uvt(y,Kt?"clone":"hidden"):null,uo=ho(()=>lL(m.dragOperation.activatorEvent));if(!N.translate){if(this.overlay&&Or)N.translate={x:Or.x,y:Or.y};else if($e!=="none"){let _t=tR($e);if(_t)N.translate=_t}}if(!N.transformOrigin){let _t=ho(()=>v.current),qt=Ye+((i=Or==null?void 0:Or.x)!=null?i:0),Ar=We+((f=Or==null?void 0:Or.y)!=null?f:0);N.transformOrigin={x:(_t.x-qt*X.scaleX-X.x)/(ae*X.scaleX),y:(_t.y-Ar*X.scaleY-X.y)/(ye*X.scaleY)}}let{transformOrigin:lo}=N,sa=We*X.scaleY+X.y,cr=Ye*X.scaleX+X.x;if(!N.coordinates){if(N.coordinates={x:cr,y:sa},oe.x!==1||oe.y!==1){let{scaleX:_t,scaleY:qt}=J,{x:Ar,y:jr}=lo;N.coordinates.x+=(ae*_t-ae)*Ar,N.coordinates.y+=(ye*qt-ye)*jr}}if(!N.dimensions)N.dimensions={width:ae,height:ye};if(!N.frameTransform)N.frameTransform=X;let io={x:N.coordinates.x-cr,y:N.coordinates.y-sa},Yr={width:(N.dimensions.width*N.frameTransform.scaleX-ae*X.scaleX)*lo.x,height:(N.dimensions.height*N.frameTransform.scaleY-ye*X.scaleY)*lo.y},jo={x:io.x/X.scaleX+Yr.width,y:io.y/X.scaleY+Yr.height},an={left:Ye+jo.x,top:We+jo.y};G.setAttribute(gZ,"true");let Ho=ho(()=>M.transform),Dn=(s=N.translate)!=null?s:{x:0,y:0},sn=Ho.x*X.scaleX+Dn.x,Vi=Ho.y*X.scaleY+Dn.y,Ke=t9();if(ze.set({width:ae-Lr,height:ye-Tr,top:an.top+Ke.y,left:an.left+Ke.x,translate:`${sn}px ${Vi}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}%`},ef),dr){if(_.insertAdjacentElement("afterend",dr),g==null?void 0:g.rootElement)(typeof g.rootElement==="function"?g.rootElement(y):g.rootElement).appendChild(_)}if(z5(G)){if(!G.hasAttribute("popover"))G.setAttribute("popover","manual");fL(G),G.addEventListener("beforetoggle",Xle)}let Ct,pr,Fr,ao=gvt({placeholder:dr,element:_,feedbackElement:G,frameTransform:X,transformOrigin:lo,width:ae,height:ye,top:We,left:Ye,widthOffset:Lr,heightOffset:Tr,delta:jo,styles:ze,dragOperation:M,getTranslate:()=>c.current.translate,getElementMutationObserver:()=>Ct,getSavedCellWidths:()=>Fr,setSavedCellWidths:(_t)=>{Fr=_t}}),Vo=new bc(G);ho(()=>M.shape=Vo);let Ra=us(G),Se=(_t)=>{this.manager.actions.stop({event:_t})},Pe=g2(Ra);if(uo)Ra.addEventListener("resize",Se);if(ho(()=>y.status)==="idle")requestAnimationFrame(()=>y.status="dragging");if(dr)ao.observe(dr),Ct=mvt(_,dr,Kt),pr=hvt(_,dr,G);let Ee=(l=m.dragOperation.source)==null?void 0:l.id,Zt=()=>{var _t;if(!uo||Ee==null)return;let qt=m.registry.draggables.get(Ee),Ar=(_t=qt==null?void 0:qt.handle)!=null?_t:qt==null?void 0:qt.element;if(tM(Ar))Ar.focus()},zt=()=>{if(Ct==null||Ct.disconnect(),pr==null||pr.disconnect(),ao.disconnect(),Ra.removeEventListener("resize",Se),z5(G))G.removeEventListener("beforetoggle",Xle),G.removeAttribute("popover");G.removeAttribute(gZ),ze.reset();let _t=()=>{var qt;if(Fr&&u9(_)){let ea=Array.from(_.cells);for(let[or,Go]of ea.entries())Go.style.width=(qt=Fr[or])!=null?qt:""}y.status="idle";let Ar=c.current.translate!=null,jr=M.status.dragging;if(dr&&(!jr&&Ar||dr.parentElement!==G.parentElement)&&G.isConnected)dr.replaceWith(G);dr==null||dr.remove()};if(G===this.overlay)setTimeout(_t,0);else _t()},Ot=g==null?void 0:g.dropAnimation,ar=this,At=$z(()=>{var _t,qt,Ar;let{transform:jr,status:ea}=M;if(!jr.x&&!jr.y&&!c.current.translate)return;if(ea.dragging){let or=(_t=N.translate)!=null?_t:{x:0,y:0},Go={x:jr.x/X.scaleX+or.x,y:jr.y/X.scaleY+or.y},Za=c.current.translate,Qn=ho(()=>M.modifiers),ff=ho(()=>{var sf;return(sf=M.shape)==null?void 0:sf.current}),ka=g==null?void 0:g.keyboardTransition,es=uo&&!Pe&&ka!==null?`${(qt=ka==null?void 0:ka.duration)!=null?qt:250}ms ${(Ar=ka==null?void 0:ka.easing)!=null?Ar:"cubic-bezier(0.25, 1, 0.5, 1)"}`:"0ms linear";if(ze.set({transition:rr?`${rr}, translate ${es}`:`translate ${es}`,translate:`${Go.x}px ${Go.y}px 0`},ef),Ct==null||Ct.takeRecords(),ff&&ff!==Vo&&Za&&!Qn.length){let sf=pf.delta(Go,Za);M.shape=Ks.from(ff.boundingRectangle).translate(sf.x*X.scaleX,sf.y*X.scaleY)}else M.shape=new bc(G);c.current.translate=Go}},function(){if(M.status.dropped){this.dispose(),y.status="dropping";let _t=(j==null?void 0:j.dropAnimation)!==void 0?j.dropAnimation:ar.dropAnimation!==void 0?ar.dropAnimation:Ot,qt=c.current.translate,Ar=qt!=null;if(!qt&&_!==G)qt={x:0,y:0};if(!qt||_t===null){zt();return}m.renderer.rendering.then(()=>{xvt({source:y,element:_,feedbackElement:G,placeholder:dr,translate:qt,moved:Ar,transition:ut,alignment:y.alignment,styles:ze,animation:_t!=null?_t:void 0,getElementMutationObserver:()=>Ct,cleanup:zt,restoreFocus:Zt})})}});return()=>{zt(),At()}};_c(k2,4,"overlay",hce,fR,_9);pL(k2,fR);fR.configure=ei(fR);var As=fR,y2=!0,yvt=!1,vce,xce,yce,bce,w8,w9,z9;bce=(yce=[ko],Gl.Forward),xce=(vce=[ko],Gl.Reverse);var C2=class{constructor(){Fn(this,w9,yi(w8,8,this,y2)),yi(w8,11,this),Fn(this,z9,yi(w8,12,this,y2)),yi(w8,15,this)}isLocked(e){if(e===Gl.Idle)return!1;if(e==null)return this[Gl.Forward]===y2&&this[Gl.Reverse]===y2;return this[e]===y2}unlock(e){if(e===Gl.Idle)return;this[e]=yvt}};w8=lR(null);w9=new WeakMap;z9=new WeakMap;_c(w8,4,bce,yce,C2,w9);_c(w8,4,xce,vce,C2,z9);pL(w8,C2);var bvt=[Gl.Forward,Gl.Reverse],Qle=class{constructor(){this.x=new C2,this.y=new C2}isLocked(){return this.x.isLocked()&&this.y.isLocked()}},_vt=class extends Bi{constructor(e){super(e);let r=ZZ(new Qle),a=null;this.signal=r,gi(()=>{let{status:i}=e.dragOperation;if(!i.initialized){a=null,r.value=new Qle;return}let{delta:f}=e.dragOperation.position;if(a){let s={x:Jle(f.x,a.x),y:Jle(f.y,a.y)},l=r.peek();Qo(()=>{for(let c of yq)for(let m of bvt)if(s[c]===m)l[c].unlock(m);r.value=l})}a=f})}get current(){return this.signal.peek()}};function Jle(e,r){return Math.sign(e-r)}var _ce,Z9,I2,S9,_8,p9,cR=class extends(Z9=JI,_ce=[ko],Z9){constructor(e){super(e);Fn(this,S9,yi(I2,8,this,!1)),yi(I2,11,this),Fn(this,_8),Fn(this,p9,()=>{if(!Da(this,_8))return;let{element:s,by:l}=Da(this,_8);if(l.y)s.scrollTop+=l.y;if(l.x)s.scrollLeft+=l.x}),this.scroll=(s,l)=>{var c;if(this.disabled)return!1;let m=this.getScrollableElements();if(!m)return Ms(this,_8,void 0),!1;let{position:g}=this.manager.dragOperation,M=g==null?void 0:g.current;if(M){let{by:v}=s!=null?s:{},y=v?{x:$le(v.x),y:$le(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=Yle(_,v);if(j.x||j.y){let{speed:U,direction:T}=Ule(_,M,y,l==null?void 0:l.acceleration,l==null?void 0:l.threshold);if(x){for(let N of yq)if(x[N].isLocked(T[N]))U[N]=0,T[N]=0}if(T.x||T.y){let{x:N,y:G}=v!=null?v:T,X=N*U.x,J=G*U.y;if(X||J){let ee=(c=Da(this,_8))==null?void 0:c.by;if(this.autoScrolling&&ee){if(ee.x&&!X||ee.y&&!J)continue}return Ms(this,_8,{element:_,by:{x:X,y:J}}),v2.schedule(Da(this,p9)),!0}}}}}return Ms(this,_8,void 0),!1};let r=null,a=null,i=UI(()=>{let{position:s,source:l}=e.dragOperation;if(!s)return null;let c=r9(h2(l==null?void 0:l.element),s.current);if(c)r=c;return c!=null?c:r}),f=UI(()=>{let s=i.value,{documentElement:l}=nL(s);if(!s||s===l){let{target:c}=e.dragOperation,m=c==null?void 0:c.element;if(m){let g=S5(m,{excludeElement:!1});return a=g,g}}if(s){let c=S5(s,{excludeElement:!1});if(this.autoScrolling&&a&&c.size<(a==null?void 0:a.size))return a;return a=c,c}return a=null,null},Ji);this.getScrollableElements=()=>f.value,this.scrollIntentTracker=new _vt(e),this.destroy=e.monitor.addEventListener("dragmove",(s)=>{if(this.disabled||s.defaultPrevented||!lL(e.dragOperation.activatorEvent)||!s.by)return;if(this.scroll({by:s.by}))s.preventDefault()})}};I2=lR(Z9);S9=new WeakMap;_8=new WeakMap;p9=new WeakMap;_c(I2,4,"autoScrolling",_ce,cR,S9);pL(I2,cR);function $le(e){if(e>0)return Gl.Forward;if(e<0)return Gl.Reverse;return Gl.Idle}var wvt=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))}},zvt=new wvt((e)=>{if(typeof requestAnimationFrame==="function")requestAnimationFrame(e);else e()}),Svt=10,m9=class extends Bi{constructor(r,a){super(r,a);let i=r.registry.plugins.get(cR);if(!i)throw Error("AutoScroller plugin depends on Scroller plugin");this.destroy=gi(()=>{var f,s,l;if(this.disabled)return;let{position:c,status:m}=r.dragOperation;if(m.dragging){let g={acceleration:(f=this.options)==null?void 0:f.acceleration,threshold:typeof((s=this.options)==null?void 0:s.threshold)==="number"?{x:this.options.threshold,y:this.options.threshold}:(l=this.options)==null?void 0:l.threshold};if(i.scroll(void 0,g)){i.autoScrolling=!0;let v=setInterval(()=>zvt.schedule(()=>i.scroll(void 0,g)),Svt);return()=>{clearInterval(v)}}else i.autoScrolling=!1}})}};m9.configure=ei(m9);var wce=m9,ece={capture:!0,passive:!0},_2,Lvt=class extends JI{constructor(e){super(e);Fn(this,_2),this.handleScroll=()=>{if(Da(this,_2)==null)Ms(this,_2,setTimeout(()=>{this.manager.collisionObserver.forceUpdate(!1),Ms(this,_2,void 0)},50))};let{dragOperation:r}=this.manager;this.destroy=gi(()=>{var a,i,f;if(r.status.dragging){let l=(f=(i=(a=r.source)==null?void 0:a.element)==null?void 0:i.ownerDocument)!=null?f:document;return l.addEventListener("scroll",this.handleScroll,ece),()=>{l.removeEventListener("scroll",this.handleScroll,ece)}}})}};_2=new WeakMap;var kvt="* { user-select: none !important; -webkit-user-select: none !important; }",Cvt=class extends Bi{constructor(e){super(e);this.manager=e;let r=e.registry.plugins.get(j5),a=r==null?void 0:r.register(kvt);if(this.destroy=gi(()=>{let{dragOperation:i}=this.manager;if(i.status.initialized)return i9(),document.addEventListener("selectionchange",i9,{capture:!0}),()=>{document.removeEventListener("selectionchange",i9,{capture:!0})}}),a){let i=this.destroy.bind(this);this.destroy=()=>{a(),i()}}}};function i9(){var e;(e=document.getSelection())==null||e.removeAllRanges()}var w2=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}}),oR,E5=class extends eL{constructor(r,a){super(r);this.manager=r,this.options=a,Fn(this,oR,[]),this.listeners=new o9,this.handleSourceKeyDown=(i,f,s)=>{if(this.disabled||i.defaultPrevented)return;if(!b8(i.target))return;if(f.disabled)return;let{keyboardCodes:l=w2.keyboardCodes,preventActivation:c=w2.preventActivation}=s!=null?s:{};if(!l.start.includes(i.code))return;if(!this.manager.dragOperation.status.idle)return;if(c==null?void 0:c(i,f))return;this.handleStart(i,f,s)}}bind(r,a=this.options){return gi(()=>{var f;let s=(f=r.handle)!=null?f:r.element,l=(c)=>{if(lL(c))this.handleSourceKeyDown(c,r,a)};if(s)return s.addEventListener("keydown",l),()=>{s.removeEventListener("keydown",l)}})}handleStart(r,a,i){let{element:f}=a;if(!f)throw Error("Source draggable does not have an associated element");r.preventDefault(),r.stopImmediatePropagation(),L5(f);let{center:s}=new bc(f);if(this.manager.actions.start({event:r,coordinates:{x:s.x,y:s.y},source:a}).signal.aborted)return this.cleanup();this.sideEffects();let c=nL(f),m=[this.listeners.bind(c,[{type:"keydown",listener:(g)=>this.handleKeyDown(g,a,i),options:{capture:!0}}])];Da(this,oR).push(...m)}handleKeyDown(r,a,i){let{keyboardCodes:f=w2.keyboardCodes}=i!=null?i:{};if(rR(r,[...f.end,...f.cancel])){r.preventDefault();let s=rR(r,f.cancel);this.handleEnd(r,s);return}if(rR(r,f.up))this.handleMove("up",r);else if(rR(r,f.down))this.handleMove("down",r);if(rR(r,f.left))this.handleMove("left",r);else if(rR(r,f.right))this.handleMove("right",r)}handleEnd(r,a){this.manager.actions.stop({event:r,canceled:a}),this.cleanup()}handleMove(r,a){var i,f;let{shape:s}=this.manager.dragOperation,l=a.shiftKey?5:1,c={x:0,y:0},m=(f=(i=this.options)==null?void 0:i.offset)!=null?f:w2.offset;if(typeof m==="number")m={x:m,y:m};if(!s)return;switch(r){case"up":c={x:0,y:-m.y*l};break;case"down":c={x:0,y:m.y*l};break;case"left":c={x:-m.x*l,y:0};break;case"right":c={x:m.x*l,y:0};break}if(c.x||c.y)a.preventDefault(),this.manager.actions.move({event:a,by:c})}sideEffects(){let r=this.manager.registry.plugins.get(wce);if((r==null?void 0:r.disabled)===!1)r.disable(),Da(this,oR).push(()=>{r.enable()})}cleanup(){Da(this,oR).forEach((r)=>r()),Ms(this,oR,[])}destroy(){this.cleanup(),this.listeners.clear()}};oR=new WeakMap;E5.configure=ei(E5);E5.defaults=w2;var Jo=E5;function rR(e,r){return r.includes(e.code)}var cL,Ivt=class extends qq{constructor(){super(...arguments);Fn(this,cL)}onEvent(e){switch(e.type){case"pointerdown":Ms(this,cL,iL(e));break;case"pointermove":if(!Da(this,cL))return;let{x:r,y:a}=iL(e),i={x:r-Da(this,cL).x,y:a-Da(this,cL).y},{tolerance:f}=this.options;if(f&&o5(i,f)){this.abort();return}if(o5(i,this.options.value))this.activate(e);break;case"pointerup":this.abort();break}}abort(){Ms(this,cL,void 0)}};cL=new WeakMap;var aR,uL,Rvt=class extends qq{constructor(){super(...arguments);Fn(this,aR),Fn(this,uL)}onEvent(e){switch(e.type){case"pointerdown":Ms(this,uL,iL(e)),Ms(this,aR,setTimeout(()=>this.activate(e),this.options.value));break;case"pointermove":if(!Da(this,uL))return;let{x:r,y:a}=iL(e),i={x:r-Da(this,uL).x,y:a-Da(this,uL).y};if(o5(i,this.options.tolerance))this.abort();break;case"pointerup":this.abort();break}}abort(){if(Da(this,aR))clearTimeout(Da(this,aR)),Ms(this,uL,void 0),Ms(this,aR,void 0)}};aR=new WeakMap;uL=new WeakMap;var Nr=class{};Nr.Delay=Rvt;Nr.Distance=Ivt;var h9=Object.freeze({activationConstraints(e,r){var a;let{pointerType:i,target:f}=e;if(i==="mouse"&&b8(f)&&(r.handle===f||((a=r.handle)==null?void 0:a.contains(f))))return;if(i==="touch")return[new Nr.Delay({value:250,tolerance:5})];if(Vle(f)&&!e.defaultPrevented)return[new Nr.Delay({value:200,tolerance:0})];return[new Nr.Delay({value:200,tolerance:10}),new Nr.Distance({value:5})]},preventActivation(e,r){var a;let{target:i}=e;if(i===r.element)return!1;if(i===r.handle)return!1;if(!b8(i))return!1;if((a=r.handle)==null?void 0:a.contains(i))return!1;let f=Ale(i);if(f===r.element)return!1;return Boolean(f)}}),nR,O5=class extends eL{constructor(r,a){super(r);this.manager=r,this.options=a,Fn(this,nR,new Set),this.listeners=new o9,this.latest={event:void 0,coordinates:void 0},this.handleMove=()=>{let{event:i,coordinates:f}=this.latest;if(!i||!f)return;this.manager.actions.move({event:i,to:f})},this.handleCancel=this.handleCancel.bind(this),this.handlePointerUp=this.handlePointerUp.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}activationConstraints(r,a,i=this.options){let{activationConstraints:f=h9.activationConstraints}=i!=null?i:{};return typeof f==="function"?f(r,a):f}bind(r,a=this.options){return gi(()=>{var f;let s=new AbortController,{signal:l}=s,c=(g)=>{if(Hle(g))this.handlePointerDown(g,r,a)},m=[(f=r.handle)!=null?f:r.element];if(a==null?void 0:a.activatorElements)if(Array.isArray(a.activatorElements))m=a.activatorElements;else m=a.activatorElements(r);for(let g of m){if(!g)continue;Avt(g.ownerDocument.defaultView),g.addEventListener("pointerdown",c,{signal:l})}return()=>s.abort()})}handlePointerDown(r,a,i){if(this.disabled||!r.isPrimary||r.button!==0||!b8(r.target)||a.disabled||Pvt(r)||!this.manager.dragOperation.status.idle)return;let{preventActivation:f=h9.preventActivation}=i!=null?i:{};if(f==null?void 0:f(r,a))return;let{target:s}=r,l=tM(s)&&s.draggable&&s.getAttribute("draggable")==="true",c=sL(a.element),{x:m,y:g}=iL(r);this.initialCoordinates={x:m*c.scaleX+c.x,y:g*c.scaleY+c.y};let M=this.activationConstraints(r,a,i);r.sensor=this;let v=new dle(M,(j)=>this.handleStart(a,j));v.signal.onabort=()=>this.handleCancel(r),v.onEvent(r),this.controller=v;let y=h5(),x=this.listeners.bind(y,[{type:"pointermove",listener:(j)=>this.handlePointerMove(j,a)},{type:"pointerup",listener:this.handlePointerUp,options:{capture:!0}},{type:"pointercancel",listener:this.handleCancel},{type:"dragstart",listener:l?this.handleCancel:R5,options:{capture:!0}}]),_=()=>{x(),this.initialCoordinates=void 0};Da(this,nR).add(_)}handlePointerMove(r,a){var i,f;if(((i=this.controller)==null?void 0:i.activated)===!1){(f=this.controller)==null||f.onEvent(r);return}if(this.manager.dragOperation.status.dragging){let s=iL(r),l=sL(a.element);s.x=s.x*l.scaleX+l.x,s.y=s.y*l.scaleY+l.y,r.preventDefault(),r.stopPropagation(),this.latest.event=r,this.latest.coordinates=s,v2.schedule(this.handleMove)}}handlePointerUp(r){let{status:a}=this.manager.dragOperation;if(!a.idle){r.preventDefault(),r.stopPropagation();let i=!a.initialized;this.manager.actions.stop({event:r,canceled:i})}this.cleanup()}handleKeyDown(r){if(r.key==="Escape")r.preventDefault(),this.handleCancel(r)}handleStart(r,a){let{manager:i,initialCoordinates:f}=this;if(!f||!i.dragOperation.status.idle)return;if(a.defaultPrevented)return;if(i.actions.start({coordinates:f,event:a,source:r}).signal.aborted)return this.cleanup();a.preventDefault();let c=nL(a.target).body;try{c.setPointerCapture(a.pointerId)}catch(M){this.handleCancel(a);return}let m=b8(a.target)?[a.target,c]:c,g=this.listeners.bind(m,[{type:"touchmove",listener:R5,options:{passive:!1}},{type:"click",listener:R5},{type:"contextmenu",listener:R5},{type:"keydown",listener:this.handleKeyDown}]);Da(this,nR).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},Da(this,nR).forEach((a)=>a()),Da(this,nR).clear()}destroy(){this.cleanup(),this.listeners.clear()}};nR=new WeakMap;O5.configure=ei(O5);O5.defaults=h9;var An=O5;function Pvt(e){return"sensor"in e}function R5(e){e.preventDefault()}function Tvt(){}var tce=new WeakSet;function Avt(e){if(!e||tce.has(e))return;e.addEventListener("touchmove",Tvt,{capture:!1,passive:!1}),tce.add(e)}var dL={modifiers:[],plugins:[nvt,wce,fvt,As,Cvt],sensors:[An,Jo]},L9=class extends ble{constructor(e={}){let r=cs(e.plugins,dL.plugins),a=cs(e.sensors,dL.sensors),i=cs(e.modifiers,dL.modifiers);super(x9(L2({},e),{plugins:[Lvt,cR,j5,...r],sensors:a,modifiers:i}))}},zce,Sce,g9,z8,k9,C9,mL=class extends(g9=gu,Sce=[ko],zce=[ko],g9){constructor(e,r){var a=e,{element:i,effects:f=()=>[],handle:s}=a,l=nce(a,["element","effects","handle"]);super(L2({effects:()=>[...f(),()=>{var c,m;let{manager:g}=this;if(!g)return;let v=((m=(c=this.sensors)==null?void 0:c.map(KI))!=null?m:[...g.sensors]).map((y)=>{let x=y instanceof eL?y:g.registry.register(y.plugin),_=y instanceof eL?void 0:y.options;return x.bind(this,_)});return function(){v.forEach((x)=>x())}}]},l),r);Fn(this,k9,yi(z8,8,this)),yi(z8,11,this),Fn(this,C9,yi(z8,12,this)),yi(z8,15,this),this.element=i,this.handle=s}};z8=lR(g9);k9=new WeakMap;C9=new WeakMap;_c(z8,4,"handle",Sce,mL,k9);_c(z8,4,"element",zce,mL,C9);pL(z8,mL);var Lce,kce,M9,S8,I9,f9,Cce,Ice,S2,R9,uR=class extends(M9=Mu,kce=[ko],Lce=[ko],M9){constructor(e,r){var a=e,{element:i,effects:f=()=>[]}=a,s=nce(a,["element","effects"]);let{collisionDetector:l=I5}=s,c=(g)=>{let{manager:M,element:v}=this;if(!v||g===null){this.shape=void 0;return}if(!M)return;let y=new bc(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(x9(L2({},s),{collisionDetector:l,effects:()=>[...f(),()=>{let{element:g,manager:M}=this;if(!M)return;let{dragOperation:v}=M,{source:y}=v;m.value=Boolean(y&&v.status.initialized&&g&&!this.disabled&&this.accepts(y))},()=>{let{element:g}=this;if(m.value&&g){let M=new Fle(g,c);return()=>{M.disconnect(),this.shape=void 0}}},()=>{var g;if((g=this.manager)==null?void 0:g.dragOperation.status.initialized)return()=>{this.shape=void 0}}]}),r);Fn(this,S2),Fn(this,I9,yi(S8,8,this)),yi(S8,11,this),Fn(this,R9,yi(S8,12,this)),yi(S8,15,this),this.element=i,this.refreshShape=()=>c()}set element(e){Ms(this,S2,e,Ice)}get element(){var e;return(e=this.proxy)!=null?e:Da(this,S2,Cce)}};S8=lR(M9);I9=new WeakMap;S2=new WeakSet;R9=new WeakMap;f9=_c(S8,20,"#element",kce,S2,I9),Cce=f9.get,Ice=f9.set;_c(S8,4,"proxy",Lce,uR,R9);pL(S8,uR);S();function Dvt(e){return e!=null&&typeof e==="object"&&"current"in e}function xu(e){var r;if(e==null)return;if(Dvt(e))return(r=e.current)!=null?r:void 0;return e}var Evt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",oM=Evt?He:h;function Rce(){let e=u(0)[1];return P(()=>{e((r)=>r+1)},[e])}function Ovt(e,r=!1){let a=b(e.peek()),i=b(!1),f=Rce();return oM(()=>gi(()=>{let s=a.current,l=e.value;if(s!==l){if(a.current=l,!i.current)return;if(r)tn(f);else f()}}),[e,r,f]),{get value(){return i.current=!0,e.peek()}}}function N5(e,r=[],a=!1){let i=b(e);return i.current=e,Ovt(D(()=>UI(()=>i.current()),r),a)}function dR(e,r){let a=b(new Map),i=Rce();return oM(()=>{if(!e){a.current.clear();return}return gi(()=>{var f;let s=!1,l=!1;for(let c of a.current){let[m]=c,g=ho(()=>c[1]),M=e[m];if(g!==M)s=!0,a.current.set(m,M),l=(f=r==null?void 0:r(m,g,M))!=null?f:!1}if(s)if(l)queueMicrotask(()=>tn(i));else i()})},[e]),D(()=>e?new Proxy(e,{get(f,s){let l=f[s];return a.current.set(s,l),l}}):e,[e])}function Pce(e,r){e()}function hL(e){let r=b(e);return oM(()=>{r.current=e},[e]),r}function Uo(e,r,a=h,i=Object.is){let f=b(e);a(()=>{let s=f.current;if(!i(e,s))f.current=e,r(e,s)},[r,e])}function k8(e,r){let a=b(xu(e));oM(()=>{let i=xu(e);if(i!==a.current)a.current=i,r(i)})}var{defineProperty:jvt,defineProperties:Nvt,getOwnPropertyDescriptors:Fvt,getOwnPropertySymbols:B5}=Object,Ace=Object.prototype.hasOwnProperty,Dce=Object.prototype.propertyIsEnumerable,Tce=(e,r,a)=>(r in e)?jvt(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,Ece=(e,r)=>{for(var a in r||(r={}))if(Ace.call(r,a))Tce(e,a,r[a]);if(B5){for(var a of B5(r))if(Dce.call(r,a))Tce(e,a,r[a])}return e},Oce=(e,r)=>Nvt(e,Fvt(r)),Bvt=(e,r)=>{var a={};for(var i in e)if(Ace.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&B5){for(var i of B5(e))if(r.indexOf(i)<0&&Dce.call(e,i))a[i]=e[i]}return a},Yvt=new L9,A9=at(Yvt),Uvt=Bn(O(({children:e},r)=>{let[a,i]=u(0),f=b(null),s=b(null),l=D(()=>({renderer:{get rendering(){var c;return(c=f.current)!=null?c:Promise.resolve()}},trackRendering(c){if(!f.current)f.current=new Promise((m)=>{s.current=m});NL(()=>{c(),i((m)=>m+1)})}}),[]);return oM(()=>{var c;(c=s.current)==null||c.call(s),f.current=null},[e,a]),dn(r,()=>l),null})),P9=[void 0,Ji];function $n(e){var r=e,{children:a,onCollision:i,onBeforeDragStart:f,onDragStart:s,onDragMove:l,onDragOver:c,onDragEnd:m}=r,g=Bvt(r,["children","onCollision","onBeforeDragStart","onDragStart","onDragMove","onDragOver","onDragEnd"]);let M=b(null),{plugins:v,modifiers:y,sensors:x}=g,_=cs(v,dL.plugins),j=cs(x,dL.sensors),U=cs(y,dL.modifiers),T=hL(f),N=hL(s),G=hL(c),X=hL(l),J=hL(m),ee=hL(i),re=qvt(()=>{var oe;return(oe=g.manager)!=null?oe:new L9(g)});return h(()=>{if(!M.current)throw Error("Renderer not found");let{renderer:oe,trackRendering:ae}=M.current,{monitor:ye}=re;re.renderer=oe;let We=[ye.addEventListener("beforedragstart",(Ye)=>{let ze=T.current;if(ze)ae(()=>ze(Ye,re))}),ye.addEventListener("dragstart",(Ye)=>{var ze;return(ze=N.current)==null?void 0:ze.call(N,Ye,re)}),ye.addEventListener("dragover",(Ye)=>{let ze=G.current;if(ze)ae(()=>ze(Ye,re))}),ye.addEventListener("dragmove",(Ye)=>{let ze=X.current;if(ze)ae(()=>ze(Ye,re))}),ye.addEventListener("dragend",(Ye)=>{let ze=J.current;if(ze)ae(()=>ze(Ye,re))}),ye.addEventListener("collision",(Ye)=>{var ze;return(ze=ee.current)==null?void 0:ze.call(ee,Ye,re)})];return()=>We.forEach((Ye)=>Ye())},[re]),Uo(_,()=>re&&(re.plugins=_),...P9),Uo(j,()=>re&&(re.sensors=j),...P9),Uo(U,()=>re&&(re.modifiers=U),...P9),o(A9.Provider,{value:re,children:[t(Uvt,{ref:M,children:a}),a]})}function qvt(e){let r=b(null);if(!r.current)r.current=e();return jD(()=>()=>{var a;return(a=r.current)==null?void 0:a.destroy()},[]),r.current}function D9(){return dt(A9)}function Y5(e){var r;let a=(r=D9())!=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:f,id:s,modifiers:l,sensors:c,plugins:m}=e,g=Y5((v)=>new mL(Oce(Ece({},e),{register:!1,handle:xu(f),element:xu(i)}),v)),M=dR(g,Hvt);return Uo(s,()=>g.id=s),k8(f,(v)=>g.handle=v),k8(i,(v)=>g.element=v),Uo(a,()=>a&&(g.data=a)),Uo(r,()=>g.disabled=r===!0),Uo(c,()=>g.sensors=c,void 0,Ji),Uo(l,()=>g.modifiers=l,void 0,Ji),Uo(m,()=>g.plugins=m,void 0,Ji),Uo(e.alignment,()=>g.alignment=e.alignment),{draggable:M,get isDragging(){return M.isDragging},get isDropping(){return M.isDropping},get isDragSource(){return M.isDragSource},handleRef:P((v)=>{g.handle=v!=null?v:void 0},[g]),ref:P((v)=>{var y,x;if(!v&&((y=g.element)==null?void 0:y.isConnected)&&!((x=g.manager)==null?void 0:x.dragOperation.status.idle))return;g.element=v!=null?v:void 0},[g])}}function Hvt(e,r,a){if(e==="isDragSource"&&!a&&r)return!0;return!1}function Vc({children:e,className:r,dropAnimation:a,style:i,tag:f,disabled:s}){var l;let c=b(null),m=D9(),g=(l=N5(()=>m==null?void 0:m.dragOperation.source,[m]).value)!=null?l:null,M=typeof s==="function"?s(g):s;h(()=>{if(!c.current||!m||M)return;let x=m.plugins.find((_)=>_ instanceof As);if(!x)return;return x.overlay=c.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=D(()=>{if(!m)return null;let x=new Proxy(m.registry,{get(_,j){if(j==="register"||j==="unregister")return Vvt;return _[j]}});return new Proxy(m,{get(_,j){if(j==="registry")return x;return _[j]}})},[m]);return t(A9.Provider,{value:v,children:q(f||"div",{ref:c,className:r,style:i,"data-dnd-overlay":!0},y())});function y(){if(!g||M)return null;if(typeof e==="function")return t(Wvt,{source:g,children:e});return e}}function Vvt(){return()=>{}}function Wvt({children:e,source:r}){return e(dR(r))}var{create:Gvt,defineProperty:jce,getOwnPropertyDescriptor:Kvt}=Object,Nce=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),U5=(e)=>{throw TypeError(e)},Xvt=(e,r,a)=>(r in e)?jce(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,Qvt=(e)=>{var r;return[,,,Gvt((r=e==null?void 0:e[Nce("metadata")])!=null?r:null)]},Fce=["class","method","getter","setter","accessor","field","value","get","set"],Bce=(e)=>e!==void 0&&typeof e!=="function"?U5("Function expected"):e,Jvt=(e,r,a,i,f)=>({kind:Fce[e],name:r,metadata:i,addInitializer:(s)=>a._?U5("Already initialized"):f.push(Bce(s||null))}),$vt=(e,r)=>Xvt(r,Nce("metadata"),e[3]),e8t=(e,r,a,i)=>{for(var f=0,s=e[r>>1],l=s&&s.length;f<l;f++)s[f].call(a);return i},Yce=(e,r,a,i,f,s)=>{var l,c,m,g,M=r&7,v=!1,y=!1,x=2,_=Fce[M+5],j=e[x]||(e[x]=[]),U=(f=f.prototype,Kvt(f,a));for(var T=i.length-1;T>=0;T--)m=Jvt(M,a,c={},e[3],j),m.static=v,m.private=y,g=m.access={has:(N)=>(a in N)},g.get=(N)=>N[a],l=(0,i[T])(U[_],m),c._=1,Bce(l)&&(U[_]=l);return U&&jce(f,a,U),f},Uce=(e,r,a)=>r.has(e)||U5("Cannot "+a),t8t=(e,r,a)=>(Uce(e,r,"read from private field"),r.get(e)),r8t=(e,r,a)=>r.has(e)?U5("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),o8t=(e,r,a,i)=>(Uce(e,r,"write to private field"),r.set(e,a),a),gL=class e{constructor(r,a){this.x=r,this.y=a}static delta(r,a){return new e(r.x-a.x,r.y-a.y)}static distance(r,a){return Math.hypot(r.x-a.x,r.y-a.y)}static equals(r,a){return r.x===a.x&&r.y===a.y}static from({x:r,y:a}){return new e(r,a)}},qce,Hce,T9,F5,P2,E9=class extends(T9=pZ,Hce=[Ha],qce=[Ha],T9){constructor(e){let r=gL.from(e);super(r,(a,i)=>gL.equals(a,i));e8t(P2,5,this),r8t(this,F5,0),this.velocity={x:0,y:0}}get delta(){return gL.delta(this.current,this.initial)}get direction(){let{current:e,previous:r}=this;if(!r)return null;let a={x:e.x-r.x,y:e.y-r.y};if(!a.x&&!a.y)return null;if(Math.abs(a.x)>Math.abs(a.y))return a.x>0?"right":"left";return a.y>0?"down":"up"}get current(){return super.current}set current(e){let{current:r}=this,a=gL.from(e),i={x:a.x-r.x,y:a.y-r.y},f=Date.now(),s=f-t8t(this,F5),l=(c)=>Math.round(c/s*100);Qo(()=>{o8t(this,F5,f),this.velocity={x:l(i.x),y:l(i.y)},super.current=a})}reset(e=this.defaultValue){super.reset(gL.from(e)),this.velocity={x:0,y:0}}};P2=Qvt(T9);F5=new WeakMap;Yce(P2,2,"delta",Hce,E9);Yce(P2,2,"direction",qce,E9);$vt(P2,E9);var Vce=((e)=>(e.Horizontal="x",e.Vertical="y",e))(Vce||{});Object.values(Vce);var a8t=({dragOperation:e,droppable:r})=>{let a=e.position.current;if(!a)return null;let{id:i}=r;if(!r.shape)return null;if(r.shape.containsPoint(a)){let f=gL.distance(r.shape.center,a);return{id:i,value:1/f,type:hZ.PointerIntersection,priority:mZ.High}}return null},n8t=({dragOperation:e,droppable:r})=>{let{shape:a}=e;if(!r.shape||!(a==null?void 0:a.current))return null;let i=a.current.intersectionArea(r.shape);if(i){let{position:f}=e,s=gL.distance(r.shape.center,f.current),c=i/(a.current.area+r.shape.area-i)/s;return{id:r.id,value:c,type:hZ.ShapeIntersection,priority:mZ.Normal}}return null},i8t=(e)=>{var r;return(r=a8t(e))!=null?r:n8t(e)};function Dr(e){let{collisionDetector:r,data:a,disabled:i,element:f,id:s,accept:l,type:c}=e,m=Y5((M)=>new uR(Oce(Ece({},e),{register:!1,element:xu(f)}),M)),g=dR(m);return Uo(s,()=>m.id=s),k8(f,(M)=>m.element=M),Uo(l,()=>m.accept=l,void 0,Ji),Uo(r,()=>m.collisionDetector=r!=null?r:i8t),Uo(a,()=>a&&(m.data=a)),Uo(i,()=>m.disabled=i===!0),Uo(c,()=>m.type=c),{droppable:g,get isDropTarget(){return g.isDropTarget},ref:P((M)=>{var v,y;if(!M&&((v=m.element)==null?void 0:v.isConnected)&&!((y=m.manager)==null?void 0:y.dragOperation.status.idle))return;m.element=M!=null?M:void 0},[m])}}function Bd(){let e=D9(),r=N5(()=>e==null?void 0:e.dragOperation.source,[e]),a=N5(()=>e==null?void 0:e.dragOperation.target,[e]);return{get source(){return r.value},get target(){return a.value}}}S();S();S();S();var O9=new Map,q5=new WeakMap,Wce=0,f8t;function s8t(e){if(!e)return"0";if(q5.has(e))return q5.get(e);return Wce+=1,q5.set(e,Wce.toString()),q5.get(e)}function l8t(e){return Object.keys(e).sort().filter((r)=>e[r]!==void 0).map((r)=>`${r}_${r==="root"?s8t(e.root):e[r]}`).toString()}function c8t(e){let r=l8t(e),a=O9.get(r);if(!a){let i=new Map,f,s=new IntersectionObserver((l)=>{l.forEach((c)=>{var m;let g=c.isIntersecting&&f.some((M)=>c.intersectionRatio>=M);if(e.trackVisibility&&typeof c.isVisible>"u")c.isVisible=g;[...(m=i.get(c.target))!=null?m:[]].forEach((M)=>{M(g,c)})})},e);f=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),a={id:r,observer:s,elements:i},O9.set(r,a)}return a}function u8t(e,r,a={},i=f8t){if(typeof window.IntersectionObserver>"u"&&i!==void 0){let g=e.getBoundingClientRect();return r(i,{isIntersecting:i,target:e,intersectionRatio:typeof a.threshold==="number"?a.threshold:0,time:0,boundingClientRect:g,intersectionRect:g,rootBounds:g}),()=>{}}let{id:f,observer:s,elements:l}=c8t(a),c=l.get(e)||[];if(!l.has(e))l.set(e,c);c.push(r),s.observe(e);let m=!1;return function(){if(m)return;if(m=!0,c.splice(c.indexOf(r),1),c.length===0)l.delete(e),s.unobserve(e);if(l.size===0)s.disconnect(),O9.delete(f)}}var j9=Reflect.get(V,"useInsertionEffect"),d8t=j9!=null?j9:h;function Z8t(e){return(e==null?void 0:e.startsWith("19."))||!1}var Gce=Z8t(Ns);function p8t(e,{threshold:r,root:a,rootMargin:i,scrollMargin:f,trackVisibility:s,delay:l,fallbackInView:c,skip:m,triggerOnce:g}){let M=b(e),v=b({node:null,stop:void 0,owner:null});if(!j9)M.current=e;return d8t(()=>{M.current=e},[e]),P(function y(x){let _=v.current;if(!x&&_.owner!==y)return;if(x===_.node)return _.owner=y,Gce?_.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=u8t(x,(G,X)=>{if(M.current(G,X,T),T=G,g&&G)N()},{threshold:r,root:a,rootMargin:i,scrollMargin:f,trackVisibility:s,delay:l},c),_.stop!==N)U();return Gce?_.stop:void 0},[Array.isArray(r)?r.toString():r,a,i,f,s,l,c,m,g])}var m8t=typeof window>"u"?h:He;function Nt({threshold:e,delay:r,trackVisibility:a,rootMargin:i,scrollMargin:f,root:s,triggerOnce:l,skip:c,initialInView:m,fallbackInView:g,onChange:M}={}){let v=b(m),[y,x]=u({inView:!!m,entry:void 0}),_=p8t((N,G)=>{let X=v.current;if(v.current=N,X===void 0&&!N)return;x({inView:N,entry:G}),M==null||M(N,G)},{threshold:e,root:s,rootMargin:i,scrollMargin:f,trackVisibility:a,delay:r,fallbackInView:g,skip:c,triggerOnce:l}),j=b({node:null,reset:!1}),U=P(function(G){if(G)j.current.node=G,j.current.reset=!1;else if(j.current.node)j.current.node=null,j.current.reset=!0;let X=_(G);if(!X)return;return()=>{if(X(),j.current.node===G)j.current.node=null,j.current.reset=!0}},[_]);m8t(()=>{if(!j.current.reset)return;if(j.current.reset=!1,l||c)return;x({inView:!!m,entry:void 0}),v.current=m});let T=[U,y.inView,y.entry];return T.ref=T[0],T.inView=T[1],T.entry=T[2],T}S();function h8t(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 g8t=(e)=>{switch(e){case"success":return x8t;case"info":return b8t;case"warning":return y8t;case"error":return _8t;default:return null}},M8t=Array(12).fill(0),v8t=({visible:e,className:r})=>q("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":e},q("div",{className:"sonner-spinner"},M8t.map((a,i)=>q("div",{className:"sonner-loading-bar",key:`spinner-bar-${i}`})))),x8t=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"})),y8t=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"})),b8t=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"})),_8t=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"})),w8t=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"})),z8t=()=>{let[e,r]=u(document.hidden);return h(()=>{let a=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",a),()=>document.removeEventListener("visibilitychange",a)},[]),e},S8t=1,L8t=100,Kce=(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:S8t++};class Jce{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-L8t;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=Kce(e),f=this.pendingDismissals.get(i);if(f!==void 0)cancelAnimationFrame(f),this.pendingDismissals.delete(i),this.dismissedToasts.delete(i);let s=this.dismissedToasts.has(i),l=e.dismissible===void 0?!0:e.dismissible;if(s)this.dismissedToasts.delete(i),this.toasts=this.toasts.filter((m)=>m.id!==i);if(s?void 0:this.toasts.find((m)=>m.id===i))this.toasts=this.toasts.map((m)=>{if(m.id===i)return this.publish({...m,...e,id:i,title:r}),{...m,...e,id:i,dismissible:l,title:r};return m});else this.addToast({title:r,...a,dismissible:l,id:i});return i},this.dismiss=(e)=>{if(e===void 0||e===null)return this.getActiveToasts().forEach((a)=>{this.dismissedToasts.add(a.id),this.subscribers.forEach((i)=>i({id:a.id,dismiss:!0}))}),e;this.dismissedToasts.add(e);let r=this.pendingDismissals.get(e);if(r!==void 0)cancelAnimationFrame(r);return this.pendingDismissals.set(e,requestAnimationFrame(()=>{this.pendingDismissals.delete(e),this.subscribers.forEach((a)=>a({id:e,dismiss:!0}))})),e},this.message=(e,r)=>this.create({...r,message:e,type:void 0}),this.error=(e,r)=>this.create({...r,message:e,type:"error"}),this.success=(e,r)=>this.create({...r,type:"success",message:e}),this.info=(e,r)=>this.create({...r,type:"info",message:e}),this.warning=(e,r)=>this.create({...r,type:"warning",message:e}),this.loading=(e,r)=>this.create({...r,type:"loading",message:e}),this.promise=(e,r)=>{if(!r)return;let a=void 0;if(r.loading!==void 0)a=this.create({...r,promise:e,type:"loading",message:r.loading,description:typeof r.description!=="function"?r.description:void 0});let i=Promise.resolve(e instanceof Function?e():e),f=a!==void 0,s,l=i.then(async(m)=>{if(s=["resolve",m],ts(m))f=!1,this.create({id:a,type:"default",message:m});else if(C8t(m)&&!m.ok){f=!1;let M=typeof r.error==="function"?await r.error(`HTTP error! status: ${m.status}`):r.error,v=typeof r.description==="function"?await r.description(`HTTP error! status: ${m.status}`):r.description,x=typeof M==="object"&&!ts(M)?M:{message:M};this.create({id:a,type:"error",description:v,...x})}else if(m instanceof Error){f=!1;let M=typeof r.error==="function"?await r.error(m):r.error,v=typeof r.description==="function"?await r.description(m):r.description,x=typeof M==="object"&&!ts(M)?M:{message:M};this.create({id:a,type:"error",description:v,...x})}else if(r.success!==void 0){f=!1;let M=typeof r.success==="function"?await r.success(m):r.success,v=typeof r.description==="function"?await r.description(m):r.description,x=typeof M==="object"&&!ts(M)?M:{message:M};this.create({id:a,type:"success",description:v,...x})}}).catch(async(m)=>{if(s=["reject",m],r.error!==void 0){f=!1;let g=typeof r.error==="function"?await r.error(m):r.error,M=typeof r.description==="function"?await r.description(m):r.description,y=typeof g==="object"&&!ts(g)?g:{message:g};this.create({id:a,type:"error",description:M,...y})}}).finally(()=>{if(f)this.dismiss(a),a=void 0;r.finally==null||r.finally.call(r)}),c=()=>new Promise((m,g)=>l.then(()=>s[0]==="reject"?g(s[1]):m(s[1])).catch(g));if(typeof a!=="string"&&typeof a!=="number")return{unwrap:c};else return Object.assign(a,{unwrap:c})},this.custom=(e,r)=>{let a=Kce(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 Jce,k8t=(e,r)=>Qs.message(e,r),C8t=(e)=>e&&typeof e==="object"&&("ok"in e)&&typeof e.ok==="boolean"&&("status"in e)&&typeof e.status==="number",I8t=k8t,R8t=()=>Qs.toasts,P8t=()=>Qs.getActiveToasts(),k=Object.assign(I8t,{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:R8t,getToasts:P8t});h8t("[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 H5(e){return e.label!==void 0}var T8t=3,A8t="24px",D8t="16px",Xce=4000,E8t=356,O8t=14,j8t=45,N8t=200;function MZ(...e){return e.filter(Boolean).join(" ")}function F8t(e){let[r,a]=e.split("-"),i=[];if(r)i.push(r);if(a)i.push(a);return i}var B8t=(e)=>{var r,a,i,f,s,l,c,m,g;let{invert:M,toast:v,unstyled:y,interacting:x,setHeights:_,visibleToasts:j,heights:U,index:T,toasts:N,expanded:G,removeToast:X,defaultRichColors:J,closeButton:ee,style:re,cancelButtonStyle:oe,actionButtonStyle:ae,className:ye="",descriptionClassName:We="",duration:Ye,position:ze,gap:qe,expandByDefault:ut,classNames:$e,icons:xt,closeButtonAriaLabel:Dt="Close toast"}=e,[jt,de]=u(null),[yt,Wt]=u(null),[De,fr]=u(!1),[sr,rr]=u(!1),[Or,Gt]=u(!1),[Kt,Rr]=u(!1),[Lr,Tr]=u(!1),[dr,uo]=u(0),[lo,sa]=u(0),cr=b(v.duration||Ye||Xce),io=b(null),Yr=b(null),jo=T===0,an=T+1<=j,Ho=v.type,Dn=Ho!=null?Ho:"default",sn=v.dismissible!==!1,Vi=v.className||"",Ke=v.descriptionClassName||"",Ct=D(()=>U.findIndex((or)=>or.toastId===v.id)||0,[U,v.id]),pr=D(()=>{var or;return(or=v.closeButton)!=null?or:ee},[v.closeButton,ee]),Fr=D(()=>v.duration||Ye||Xce,[v.duration,Ye]),ao=b(0),Vo=b(0),Ra=b(0),Se=b(null),[Pe,Ee]=ze.split("-"),Zt=D(()=>U.reduce((or,Go,Za)=>{if(Za>=Ct)return or;return or+Go.height},0),[U,Ct]),zt=z8t(),Ot=D(()=>{var or;return(or=e.swipeDirections)!=null?or:F8t(ze)},[e.swipeDirections,ze]),ar=v.invert||M,At=Ho==="loading";Vo.current=D(()=>Ct*qe+Zt,[Ct,Zt]),h(()=>{cr.current=Fr},[Fr]),h(()=>{fr(!0)},[]),h(()=>{let or=Yr.current;if(or){let Go=or.getBoundingClientRect().height;return sa(Go),_((Za)=>[{toastId:v.id,height:Go,position:v.position},...Za]),()=>_((Za)=>Za.filter((Qn)=>Qn.toastId!==v.id))}},[_,v.id]),He(()=>{if(!De)return;let or=Yr.current,Go=or.style.height;or.style.height="auto";let Za=or.getBoundingClientRect().height;or.style.height=Go,sa(Za),_((Qn)=>{if(!Qn.find((ka)=>ka.toastId===v.id))return[{toastId:v.id,height:Za,position:v.position},...Qn];else return Qn.map((ka)=>ka.toastId===v.id?{...ka,height:Za}:ka)})},[De,v.title,v.description,_,v.id,v.jsx,v.action,v.cancel]);let _t=P(()=>{rr(!0),uo(Vo.current),_((or)=>or.filter((Go)=>Go.toastId!==v.id)),setTimeout(()=>{X(v)},N8t)},[v,X,_,Vo]);h(()=>{if(v.promise&&Ho==="loading"||v.duration===1/0||v.type==="loading")return;let or,Go=()=>{if(Ra.current<ao.current){let Qn=new Date().getTime()-ao.current;cr.current=cr.current-Qn}Ra.current=new Date().getTime()},Za=()=>{if(cr.current===1/0)return;ao.current=new Date().getTime(),or=setTimeout(()=>{v.onAutoClose==null||v.onAutoClose.call(v,v),_t()},cr.current)};if(G||x||zt)Go();else Za();return()=>clearTimeout(or)},[G,x,v,Ho,zt,_t]),h(()=>{if(v.delete)_t(),v.onDismiss==null||v.onDismiss.call(v,v)},[_t,v.delete]);function qt(){var or;if(xt==null?void 0:xt.loading){var Go;return q("div",{className:MZ($e==null?void 0:$e.loader,v==null?void 0:(Go=v.classNames)==null?void 0:Go.loader,"sonner-loader"),"data-visible":Ho==="loading"},xt.loading)}return q(v8t,{className:MZ($e==null?void 0:$e.loader,v==null?void 0:(or=v.classNames)==null?void 0:or.loader),visible:Ho==="loading"})}let Ar=v.icon||(xt==null?void 0:xt[Ho])||g8t(Ho);var jr,ea;return q("li",{tabIndex:0,ref:Yr,className:MZ(ye,Vi,$e==null?void 0:$e.toast,v==null?void 0:(r=v.classNames)==null?void 0:r.toast,$e==null?void 0:$e[Dn],v==null?void 0:(a=v.classNames)==null?void 0:a[Dn]),"data-sonner-toast":"","data-rich-colors":(jr=v.richColors)!=null?jr:J,"data-styled":!Boolean(v.jsx||v.unstyled||y),"data-mounted":De,"data-promise":Boolean(v.promise),"data-swiped":Lr,"data-removed":sr,"data-visible":an,"data-y-position":Pe,"data-x-position":Ee,"data-index":T,"data-front":jo,"data-swiping":Or,"data-dismissible":sn,"data-type":Ho,"data-invert":ar,"data-swipe-out":Kt,"data-swipe-direction":yt,"data-expanded":Boolean(G||ut&&De),"data-testid":v.testId,style:{"--index":T,"--toasts-before":T,"--z-index":N.length-T,"--offset":`${sr?dr:Vo.current}px`,"--initial-height":ut?"auto":`${lo}px`,...re,...v.style},onDragEnd:()=>{Gt(!1),de(null),Se.current=null},onPointerDown:(or)=>{if(or.button===2)return;if(At||!sn)return;if(io.current=new Date,uo(Vo.current),or.target.setPointerCapture(or.pointerId),or.target.tagName==="BUTTON")return;Gt(!0),Se.current={x:or.clientX,y:or.clientY}},onPointerUp:()=>{var or,Go,Za;if(Kt||!sn)return;Se.current=null;let Qn=Number(((or=Yr.current)==null?void 0:or.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),ff=Number(((Go=Yr.current)==null?void 0:Go.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),ka=new Date().getTime()-((Za=io.current)==null?void 0:Za.getTime()),es=jt==="x"?Qn:ff,sf=Math.abs(es)/ka;if((jt==="x"?Ot.includes(Qn>0?"right":"left"):Ot.includes(ff>0?"bottom":"top"))&&(Math.abs(es)>=j8t||sf>0.11)){if(uo(Vo.current),v.onDismiss==null||v.onDismiss.call(v,v),jt==="x")Wt(Qn>0?"right":"left");else Wt(ff>0?"down":"up");_t(),Rr(!0);return}else{var Au,VF;(Au=Yr.current)==null||Au.style.setProperty("--swipe-amount-x","0px"),(VF=Yr.current)==null||VF.style.setProperty("--swipe-amount-y","0px")}Tr(!1),Gt(!1),de(null)},onPointerMove:(or)=>{var Go,Za,Qn;if(!Se.current||!sn)return;if(((Go=window.getSelection())==null?void 0:Go.toString().length)>0)return;let ka=or.clientY-Se.current.y,es=or.clientX-Se.current.x;if(!jt&&(Math.abs(es)>1||Math.abs(ka)>1))de(Math.abs(es)>Math.abs(ka)?"x":"y");let sf={x:0,y:0},HF=(Au)=>1/(1.5+Math.abs(Au)/20);if(jt==="y"){if(Ot.includes("top")||Ot.includes("bottom"))if(Ot.includes("top")&&ka<0||Ot.includes("bottom")&&ka>0)sf.y=ka;else{let Au=ka*HF(ka);sf.y=Math.abs(Au)<Math.abs(ka)?Au:ka}}else if(jt==="x"){if(Ot.includes("left")||Ot.includes("right"))if(Ot.includes("left")&&es<0||Ot.includes("right")&&es>0)sf.x=es;else{let Au=es*HF(es);sf.x=Math.abs(Au)<Math.abs(es)?Au:es}}if(Math.abs(sf.x)>0||Math.abs(sf.y)>0)Tr(!0);(Za=Yr.current)==null||Za.style.setProperty("--swipe-amount-x",`${sf.x}px`),(Qn=Yr.current)==null||Qn.style.setProperty("--swipe-amount-y",`${sf.y}px`)}},pr&&!v.jsx&&Ho!=="loading"?q("button",{"aria-label":Dt,"data-disabled":At,"data-close-button":!0,onClick:At||!sn?()=>{}:()=>{_t(),v.onDismiss==null||v.onDismiss.call(v,v)},className:MZ($e==null?void 0:$e.closeButton,v==null?void 0:(i=v.classNames)==null?void 0:i.closeButton)},(ea=xt==null?void 0:xt.close)!=null?ea:w8t):null,(Ho||v.icon||v.promise)&&v.icon!==null&&((xt==null?void 0:xt[Ho])!==null||v.icon)?q("div",{"data-icon":"",className:MZ($e==null?void 0:$e.icon,v==null?void 0:(f=v.classNames)==null?void 0:f.icon)},Ho==="loading"?v.icon||qt():v.promise?qt():null,Ho!=="loading"?Ar:null):null,q("div",{"data-content":"",className:MZ($e==null?void 0:$e.content,v==null?void 0:(s=v.classNames)==null?void 0:s.content)},q("div",{"data-title":"",className:MZ($e==null?void 0:$e.title,v==null?void 0:(l=v.classNames)==null?void 0:l.title)},v.jsx?v.jsx:typeof v.title==="function"?v.title():v.title),v.description?q("div",{"data-description":"",className:MZ(We,Ke,$e==null?void 0:$e.description,v==null?void 0:(c=v.classNames)==null?void 0:c.description)},typeof v.description==="function"?v.description():v.description):null),ts(v.cancel)?v.cancel:v.cancel&&H5(v.cancel)?q("button",{"data-button":!0,"data-cancel":!0,style:v.cancelButtonStyle||oe,onClick:(or)=>{if(!H5(v.cancel))return;if(!sn)return;v.cancel.onClick==null||v.cancel.onClick.call(v.cancel,or),_t()},className:MZ($e==null?void 0:$e.cancelButton,v==null?void 0:(m=v.classNames)==null?void 0:m.cancelButton)},v.cancel.label):null,ts(v.action)?v.action:v.action&&H5(v.action)?q("button",{"data-button":!0,"data-action":!0,style:v.actionButtonStyle||ae,onClick:(or)=>{if(!H5(v.action))return;if(v.action.onClick==null||v.action.onClick.call(v.action,or),or.defaultPrevented)return;_t()},className:MZ($e==null?void 0:$e.actionButton,v==null?void 0:(g=v.classNames)==null?void 0:g.actionButton)},v.action.label):null)};function Qce(){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 Y8t(e,r){let a={};return[e,r].forEach((i,f)=>{let s=f===1,l=s?"--mobile-offset":"--offset",c=s?D8t:A8t;function m(g){["top","right","bottom","left"].forEach((M)=>{a[`${l}-${M}`]=typeof g==="number"?`${g}px`:g})}if(typeof i==="number"||typeof i==="string")m(i);else if(typeof i==="object")["top","right","bottom","left"].forEach((g)=>{if(i[g]===void 0)a[`${l}-${g}`]=c;else a[`${l}-${g}`]=typeof i[g]==="number"?`${i[g]}px`:i[g]});else m(c)}),a}var $ce=O(function(r,a){let{id:i,invert:f,position:s="bottom-right",hotkey:l=["altKey","KeyT"],expand:c,closeButton:m,className:g,offset:M,mobileOffset:v,theme:y="light",richColors:x,duration:_,style:j,visibleToasts:U=T8t,toastOptions:T,dir:N=Qce(),gap:G=O8t,icons:X,customAriaLabel:J,containerAriaLabel:ee="Notifications"}=r,[re,oe]=u([]),ae=D(()=>{if(i)return re.filter((fr)=>fr.toasterId===i);return re.filter((fr)=>!fr.toasterId)},[re,i]),ye=D(()=>Array.from(new Set([s].concat(ae.filter((fr)=>fr.position).map((fr)=>fr.position)))),[ae,s]),[We,Ye]=u([]),[ze,qe]=u(!1),[ut,$e]=u(!1),[xt,Dt]=u(y!=="system"?y:typeof window<"u"?window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":"light"),jt=b(null),de=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),yt=b(null),Wt=b(!1),De=P((fr)=>{oe((sr)=>{var rr;if(!((rr=sr.find((Or)=>Or.id===fr.id))==null?void 0:rr.delete))Qs.dismiss(fr.id);return sr.filter(({id:Or})=>Or!==fr.id)})},[]);return h(()=>Qs.subscribe((fr)=>{if(fr.dismiss){requestAnimationFrame(()=>{oe((sr)=>sr.map((rr)=>rr.id===fr.id?{...rr,delete:!0}:rr))});return}setTimeout(()=>{tn(()=>{oe((sr)=>{let rr=sr.findIndex((Or)=>Or.id===fr.id);if(rr!==-1)return[...sr.slice(0,rr),{...sr[rr],...fr},...sr.slice(rr+1)];return[fr,...sr]})})})}),[]),h(()=>{if(y!=="system"){Dt(y);return}if(y==="system")if(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches)Dt("dark");else Dt("light");if(typeof window>"u")return;let fr=window.matchMedia("(prefers-color-scheme: dark)");try{fr.addEventListener("change",({matches:sr})=>{if(sr)Dt("dark");else Dt("light")})}catch(sr){fr.addListener(({matches:rr})=>{try{if(rr)Dt("dark");else Dt("light")}catch(Or){console.error(Or)}})}},[y]),h(()=>{if(re.length<=1)qe(!1)},[re]),h(()=>{let fr=(sr)=>{var rr;if(l.length>0&&l.every((Kt)=>sr[Kt]||sr.code===Kt)){var Gt;qe(!0),(Gt=jt.current)==null||Gt.focus()}if(sr.code==="Escape"&&(document.activeElement===jt.current||((rr=jt.current)==null?void 0:rr.contains(document.activeElement))))qe(!1)};return document.addEventListener("keydown",fr),()=>document.removeEventListener("keydown",fr)},[l]),h(()=>{if(jt.current)return()=>{if(yt.current)yt.current.focus({preventScroll:!0}),yt.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((fr,sr)=>{var rr;let[Or,Gt]=fr.split("-");if(!ae.length)return null;return q("ol",{key:fr,dir:N==="auto"?Qce():N,tabIndex:-1,ref:jt,className:g,"data-sonner-toaster":!0,"data-sonner-theme":xt,"data-y-position":Or,"data-x-position":Gt,style:{"--front-toast-height":`${((rr=We[0])==null?void 0:rr.height)||0}px`,"--width":`${E8t}px`,"--gap":`${G}px`,...j,...Y8t(M,v)},onBlur:(Kt)=>{if(Wt.current&&!Kt.currentTarget.contains(Kt.relatedTarget)){if(Wt.current=!1,yt.current)yt.current.focus({preventScroll:!0}),yt.current=null}},onFocus:(Kt)=>{if(Kt.target instanceof HTMLElement&&Kt.target.dataset.dismissible==="false")return;if(!Wt.current)Wt.current=!0,yt.current=Kt.relatedTarget},onMouseEnter:()=>qe(!0),onMouseMove:()=>qe(!0),onMouseLeave:()=>{if(!ut)qe(!1)},onDragEnd:()=>qe(!1),onPointerDown:(Kt)=>{if(Kt.target instanceof HTMLElement&&Kt.target.dataset.dismissible==="false")return;$e(!0)},onPointerUp:()=>$e(!1)},ae.filter((Kt)=>!Kt.position&&sr===0||Kt.position===fr).map((Kt,Rr)=>{var Lr,Tr;return q(B8t,{key:Kt.id,icons:X,index:Rr,toast:Kt,defaultRichColors:x,duration:(Lr=T==null?void 0:T.duration)!=null?Lr:_,className:T==null?void 0:T.className,descriptionClassName:T==null?void 0:T.descriptionClassName,invert:f,visibleToasts:U,closeButton:(Tr=T==null?void 0:T.closeButton)!=null?Tr:m,interacting:ut,position:fr,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:De,toasts:ae.filter((dr)=>dr.position==Kt.position),heights:We.filter((dr)=>dr.position==Kt.position),setHeights:Ye,expandByDefault:c,gap:G,expanded:ze,swipeDirections:r.swipeDirections})}))}))});function yr({teamId:e,projectId:r,projectName:a,rootFolderId:i,dragState:f,onSelect:s,selectedFolderId:l,hideCollections:c,hideShares:m,hideRecentlyDeleted:g,hideRecents:M,ancestorFolders:v}){let y=Me(),x=K(),{canEdit:_}=Pt(r),j=Zi({from:"/projects/$projectId/recently-deleted",shouldThrow:!1}),U=Zi({from:"/projects/$projectId/recents",shouldThrow:!1}),[T,N]=u(!0),[G,X]=u(!0),[J,ee]=u(!0),{data:re,fetchNextPage:oe,hasNextPage:ae,isFetchingNextPage:ye}=ft({queryKey:["shares",r],queryFn:async({pageParam:Pe})=>{let Ee=await A.api.projects[":projectId"].shares.$get({param:{projectId:r},query:{first:"20",after:Pe}});if(!Ee.ok)throw Error(LYe());return await Ee.json()},initialPageParam:"",getNextPageParam:(Pe)=>Pe.pageInfo?.cursor||void 0,enabled:!!r}),{data:We,fetchNextPage:Ye,hasNextPage:ze,isFetchingNextPage:qe}=ft({queryKey:["collections",r],queryFn:async({pageParam:Pe})=>{let Ee=await A.api.projects[":projectId"].collections.$get({param:{projectId:r},query:{first:"20",after:Pe}});if(!Ee.ok)throw Error(hYe());return await Ee.json()},initialPageParam:"",getNextPageParam:(Pe)=>Pe.pageInfo?.cursor||void 0,enabled:!!r}),{ref:ut,inView:$e}=Nt(),{ref:xt,inView:Dt}=Nt();h(()=>{if($e&&ze&&!qe)Ye()},[$e,ze,qe,Ye]),h(()=>{if(Dt&&ae&&!ye)oe()},[Dt,ae,ye,oe]);let jt=D(()=>We?.pages.flatMap((Pe)=>Pe.data)||[],[We]),de=D(()=>re?.pages.flatMap((Pe)=>Pe.data)||[],[re]),{mutate:yt}=B({mutationFn:async()=>{let Pe=await A.api.projects[":projectId"].collections.$post({param:{projectId:r},json:{name:aA(),filter:{sourceFolderId:i,searchFilter:{conditions:[],recursively:!0}}}});if(!Pe.ok)throw Error(KBe());return await Pe.json()},onSuccess:(Pe)=>{x.invalidateQueries({queryKey:["collections",r]}),k.success(SNe()),y({to:"/projects/$projectId/collections/$collectionId",params:{projectId:r,collectionId:Pe.id}})},onError:(Pe)=>{k.error(`Error: ${Pe.message}`)}}),{mutate:Wt}=B({mutationFn:async()=>{let Pe=await A.api.projects[":projectId"].shares.$post({param:{projectId:r},json:{name:new Date().toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}});if(!Pe.ok)throw Error(rYe());return await Pe.json()},onSuccess:(Pe)=>{x.invalidateQueries({queryKey:["shares",r]}),k.success(act()),y({to:"/projects/$projectId/shares/$shareId",params:{projectId:r,shareId:Pe.id}})},onError:(Pe)=>{k.error(`Error: ${Pe.message}`)}}),De=sl({from:"/projects/$projectId/collections/$collectionId",shouldThrow:!1}),fr=sl({from:"/projects/$projectId/shares/$shareId",shouldThrow:!1}),sr=sl({from:"/projects/$projectId/folders/$folderId",shouldThrow:!1}),[rr,Or]=u(null),[Gt,Kt]=u("collection"),[Rr,Lr]=u(""),[Tr,dr]=u(!1),[uo,lo]=u(null),[sa,cr]=u("collection"),[io,Yr]=u(!1),{mutate:jo}=B({mutationFn:async({id:Pe,name:Ee})=>{let Zt=await A.api.folders[":folderId"].$put({param:{folderId:Pe},json:{name:Ee}});if(!Zt.ok)throw Error(NYe());return await Zt.json()},onSuccess:()=>{x.invalidateQueries({queryKey:["search",e]}),x.invalidateQueries({queryKey:["folders"]}),k.success(_qe()),dr(!1)},onError:(Pe)=>{k.error(`Error: ${Pe.message}`)}}),{mutate:an}=B({mutationFn:async(Pe)=>{if(!(await A.api.folders.$delete({json:{ids:[Pe]}})).ok)throw Error(cYe());return Pe},onSuccess:(Pe)=>{if(x.invalidateQueries({queryKey:["search",e]}),x.invalidateQueries({queryKey:["folders"]}),k.success(hqe()),Yr(!1),sr?.folderId===Pe)y({to:"/projects/$projectId",params:{projectId:r}})},onError:(Pe)=>{k.error(`Error: ${Pe.message}`)}}),[Ho,Dn]=u(!1),[sn,Vi]=u(!1),[Ke,Ct]=u([]),pr=async(Pe)=>{Dn(!0),Vi(!0),Ct([]);try{let Ee=await A.api.files["download-links"].$post({json:{ids:[Pe]}});if(!Ee.ok)throw Error(Hfe());let Zt=await Ee.json();Ct(Zt.files)}catch(Ee){k.error(Hfe()),Dn(!1),console.error(Ee)}finally{Vi(!1)}},Fr=()=>{let Pe=[...Ke];if(Dn(!1),Pe.length===0)return;k.info(Put({count:Pe.length}),{duration:5000});let Ee=(zt)=>new Promise((Ot)=>setTimeout(Ot,zt));(async()=>{for(let Ot=0;Ot<Pe.length;Ot+=5){let ar=Pe.slice(Ot,Ot+5);for(let At of ar){let _t=document.createElement("a");_t.href=At.url,_t.download=At.name,_t.target="_blank",document.body.appendChild(_t),_t.click(),_t.remove()}await Ee(1000)}})().catch((zt)=>{console.error("Background downloads failed:",zt),k.error(Hct())})},{mutate:ao}=B({mutationFn:async({id:Pe,name:Ee})=>{let Zt=await A.api.collections[":collectionId"].$patch({param:{collectionId:Pe},json:{name:Ee}});if(!Zt.ok)throw Error(EYe());return await Zt.json()},onSuccess:()=>{x.invalidateQueries({queryKey:["collections",r]}),k.success(ANe()),dr(!1)},onError:(Pe)=>{k.error(`Error: ${Pe.message}`)}}),{mutate:Vo}=B({mutationFn:async(Pe)=>{let Ee=await A.api.collections[":collectionId"].$delete({param:{collectionId:Pe}});if(!Ee.ok)throw Error(nYe());return await Ee.json()},onSuccess:(Pe,Ee)=>{if(x.invalidateQueries({queryKey:["collections",r]}),k.success(CNe()),Yr(!1),De?.collectionId===Ee)y({to:"/projects/$projectId",params:{projectId:r}})},onError:(Pe)=>{k.error(`Error: ${Pe.message}`)}}),{mutate:Ra}=B({mutationFn:async({id:Pe,name:Ee})=>{let Zt=await A.api.shares[":shareId"].$put({param:{shareId:Pe},json:{name:Ee}});if(!Zt.ok)throw Error(YYe());return await Zt.json()},onSuccess:()=>{x.invalidateQueries({queryKey:["shares",r]}),k.success(cct()),dr(!1)},onError:(Pe)=>{k.error(`Error: ${Pe.message}`)}}),{mutate:Se}=B({mutationFn:async(Pe)=>{if(!(await A.api.shares[":shareId"].$delete({param:{shareId:Pe}})).ok)throw Error(ZYe());return Pe},onSuccess:(Pe)=>{if(x.invalidateQueries({queryKey:["shares",r]}),k.success(fct()),Yr(!1),fr?.shareId===Pe)y({to:"/projects/$projectId",params:{projectId:r}})},onError:(Pe)=>{k.error(`Error: ${Pe.message}`)}});return o("div",{className:"flex flex-col h-full overflow-hidden p-3 gap-4 bg-background",children:[o("div",{className:C("flex flex-col overflow-hidden transition-all duration-300 ease-in-out border-b border-border pb-4",T?"flex-1 min-h-[50%] h-full":"flex-none h-[44px] max-h-[44px]"),children:[t("header",{className:"group flex items-center justify-between px-2 mb-1 flex-none",children:o("div",{className:"flex-1 flex items-center gap-1.5 cursor-pointer select-none text-muted-foreground hover:text-foreground transition-colors",onClick:()=>N(!T),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:Wfe()}),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:Ig()})]}),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:f,onSelect:s,selectedFolderId:l,canEdit:_,onRenameTrigger:(Pe,Ee)=>{Or(Pe),Kt("folder"),Lr(Ee),dr(!0)},onDeleteTrigger:(Pe)=>{lo(Pe),cr("folder"),Yr(!0)},onDownloadTrigger:(Pe)=>{pr(Pe)},ancestorFolders:v},i),_&&!g&&o("div",{className:C("group flex cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",j&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium"),onClick:()=>y({to:"/projects/$projectId/recently-deleted",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(we,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:Cg()})]})]})})]}),!c&&o("div",{className:C("flex flex-col overflow-hidden transition-all duration-300 ease-in-out border-b border-border pb-4",G?"flex-1 min-h-0 h-full":"flex-none h-[44px] max-h-[44px]"),children:[o("header",{className:"group flex items-center justify-between px-2 mb-1 flex-none",children:[o("div",{className:"flex-1 flex items-center gap-1.5 cursor-pointer select-none text-muted-foreground hover:text-foreground transition-colors",onClick:()=>X(!G),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:NNe()}),G?t(Lz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(kz,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]}),_&&t("button",{"data-testid":"create-collection",onClick:()=>yt(),className:"text-muted-foreground hover:text-foreground flex-none",children:t(fe,{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:JDe({count:We?.pages[0]?.pageInfo?.total||0})})]}),jt.map((Pe)=>{let Ee=De?.collectionId===Pe.id;return o("div",{className:C("group flex cursor-pointer items-center justify-between rounded-md px-2 py-1 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground min-w-0",Ee&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium"),onClick:()=>y({to:"/projects/$projectId/collections/$collectionId",params:{projectId:r,collectionId:Pe.id}}),children:[o("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[t("div",{className:"flex h-4 w-4 items-center justify-center shrink-0",children:t(Ya,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"truncate text-sidebar-foreground flex-1",children:Pe.name})]}),_&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity shrink-0",onClick:(Zt)=>Zt.stopPropagation(),children:o(he,{modal:!1,children:[t(ge,{asChild:!0,children:t(E,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(nr,{className:"h-3.5 w-3.5"})})}),o(Ae,{align:"end",className:"w-32",children:[t(W,{onClick:()=>{Or(Pe.id),Kt("collection"),Lr(Pe.name),dr(!0)},children:Oo()}),t(W,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{lo(Pe.id),cr("collection"),Yr(!0)},children:it()})]})]})})]},Pe.id)}),t("div",{ref:ut,className:"h-1"}),qe&&t("div",{className:"flex justify-center p-2",children:t(F,{className:"h-4 w-4 animate-spin text-muted-foreground"})})]})})]}),!m&&o("div",{className:C("flex flex-col overflow-hidden transition-all duration-300 ease-in-out",J?"flex-1 min-h-0 h-full":"flex-none h-[44px] max-h-[44px]"),children:[o("header",{className:"group flex items-center justify-between px-2 mb-1 flex-none",children:[o("div",{className:"flex-1 flex items-center gap-1.5 cursor-pointer select-none text-muted-foreground hover:text-foreground transition-colors",onClick:()=>ee(!J),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:mct()}),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(fe,{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:pEe({count:re?.pages[0]?.pageInfo?.total||0})})]}),de.map((Pe)=>t(U8t,{link:Pe,projectId:r,dragState:f,canEdit:_,onRenameTrigger:(Ee,Zt)=>{Or(Ee),Kt("share"),Lr(Zt),dr(!0)},onDeleteTrigger:(Ee)=>{lo(Ee),cr("share"),Yr(!0)}},Pe.id)),t("div",{ref:xt,className:"h-1"}),ye&&t("div",{className:"flex justify-center p-2",children:t(F,{className:"h-4 w-4 animate-spin text-muted-foreground"})})]})})]}),t(ue,{open:Tr,onOpenChange:dr,children:o(ie,{onClick:(Pe)=>Pe.stopPropagation(),children:[t(me,{children:t(le,{children:Gt==="collection"?Sit():Gt==="share"?Pit():Cit()})}),t("div",{className:"py-4",children:t(H,{value:Rr,onChange:(Pe)=>Lr(Pe.target.value),placeholder:dd(),onKeyDown:(Pe)=>{if(Pe.key==="Enter"&&Rr.trim()){if(Gt==="collection")ao({id:rr,name:Rr});else if(Gt==="share")Ra({id:rr,name:Rr});else if(Gt==="folder")jo({id:rr,name:Rr})}}})}),o(Ge,{children:[t(E,{variant:"ghost",onClick:()=>dr(!1),children:Ne()}),t(E,{disabled:!Rr.trim(),onClick:()=>{if(Gt==="collection")ao({id:rr,name:Rr});else if(Gt==="share")Ra({id:rr,name:Rr});else if(Gt==="folder")jo({id:rr,name:Rr})},children:Oo()})]})]})}),t(Je,{open:io,onOpenChange:Yr,children:o(Xe,{onClick:(Pe)=>Pe.stopPropagation(),children:[o(et,{children:[t(rt,{children:sa==="collection"?UFe():sa==="share"?k3e():t3e()}),t(nt,{children:XFe({type:sa==="collection"?_Ne():sa==="share"?tct():xh().toLowerCase()})})]}),o(tt,{children:[t(st,{children:Ne()}),t(ot,{className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",onClick:()=>{if(sa==="collection")Vo(uo);else if(sa==="share")Se(uo);else if(sa==="folder")an(uo)},children:it()})]})]})}),t(ue,{open:Ho,onOpenChange:Dn,children:o(ie,{className:"sm:max-w-md",children:[o(me,{children:[t(le,{children:sn?lg():Jm()}),t(Tt,{children:sn?kg():Sh()})]}),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:cg()})]}):o("div",{className:"space-y-4 py-2",children:[t("div",{className:"text-sm text-muted-foreground",children:ch({count:Ke.length})}),o("div",{className:"flex items-start gap-3 p-3 text-sm rounded-lg bg-amber-50 dark:bg-amber-950/30 text-amber-800 dark:text-amber-300 border border-amber-200 dark:border-amber-900/30",children:[t(Gr,{className:"h-5 w-5 shrink-0 mt-0.5"}),o("div",{children:[t("p",{className:"font-semibold",children:Jh()}),t("p",{className:"mt-0.5 text-xs text-amber-700/90 dark:text-amber-400/90",children:Ch()})]})]})]}),t(Ge,{children:!sn?o(L,{children:[t(E,{variant:"outline",onClick:()=>Dn(!1),children:Ne()}),o(E,{onClick:Fr,className:"gap-2",disabled:Ke.length===0,children:[t(vt,{className:"h-4 w-4"}),Qg()]})]}):t(E,{disabled:!0,variant:"outline",children:Ne()})})]})})]})}function U8t({link:e,projectId:r,dragState:a,canEdit:i,onRenameTrigger:f,onDeleteTrigger:s}){let l=Me(),m=sl({from:"/projects/$projectId/shares/$shareId",shouldThrow:!1})?.shareId===e.id,{ref:g,isDropTarget:M}=Dr({id:`share:${e.id}`,data:{type:"share-link",id:e.id}}),v=!!a?.isActive;return o("div",{ref:g,className:C("group flex cursor-pointer items-center justify-between rounded-md px-2 py-1 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground min-w-0",m&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium",M&&v&&"bg-sidebar-accent ring-2 ring-primary ring-inset"),onClick:()=>l({to:"/projects/$projectId/shares/$shareId",params:{projectId:r,shareId:e.id}}),children:[o("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[t("div",{className:"flex h-4 w-4 items-center justify-center shrink-0",children:t(Ti,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"truncate text-sidebar-foreground flex-1",children:e.name})]}),i&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity shrink-0",onClick:(y)=>y.stopPropagation(),children:o(he,{modal:!1,children:[t(ge,{asChild:!0,children:t(E,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(nr,{className:"h-3.5 w-3.5"})})}),o(Ae,{align:"end",className:"w-32",children:[t(W,{onClick:()=>{f(e.id,e.name)},children:Oo()}),t(W,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{s(e.id)},children:it()})]})]})})]})}function eue({teamId:e,projectId:r,folder:a,level:i,isRoot:f,dragState:s,onSelect:l,selectedFolderId:c,canEdit:m,onRenameTrigger:g,onDeleteTrigger:M,onDownloadTrigger:v,ancestorFolders:y}){let x=D(()=>y?.some((Wt)=>Wt.id===a.id)??!1,[y,a.id]),[_,j]=u(f||x);h(()=>{if(x)j(!0)},[x]);let U=Me(),T=sl({from:"/projects/$projectId/folders/$folderId",select:(Wt)=>({folderId:Wt.folderId}),shouldThrow:!1}),N=sl({from:"/projects/$projectId/",shouldThrow:!1}),G=f?!!N:T?.folderId===a.id,{data:X,fetchNextPage:J,hasNextPage:ee,isFetchingNextPage:re,isLoading:oe}=ft({queryKey:["folders",a.id,"children",{assetType:"folder"}],queryFn:async({pageParam:Wt})=>{let De=await A.api.folders[":folderId"].children.$get({param:{folderId:a.id},query:{assetType:"folder",after:Wt,first:"20"}});if(!De.ok)throw Error(n7e());return await De.json()},initialPageParam:"",getNextPageParam:(Wt)=>Wt.pageInfo?.cursor||void 0,enabled:_||!!f}),{ref:ae,inView:ye}=Nt();h(()=>{if(ye&&ee&&!re)J()},[ye,ee,re,J]);let We=X?.pages.flatMap((Wt)=>Wt.data??[])??[],Ye=(Wt)=>{Wt.stopPropagation(),j(!_)},ze=()=>{if(l){l(a);return}if(f)U({to:"/projects/$projectId",params:{projectId:r}});else U({to:"/projects/$projectId/folders/$folderId",params:{projectId:r,folderId:a.id}})},{ref:qe,isDragging:ut}=_s({id:`tree:${a.id}`,data:{type:"folder",item:a},disabled:!!f||!!l||!m}),{ref:$e,isDropTarget:xt}=Dr({id:`tree:${a.id}`,data:{type:"folder",item:a},disabled:s?.draggedIds.has(a.id)||!!l||!m}),Dt=(Wt)=>{qe(Wt),$e(Wt)},jt=D(()=>{if(l)return!1;if(!s?.isActive)return!1;if(s.draggedIds.has(a.id))return!1;return!0},[s,a.id,l]),de=xt&&jt,yt=c===a.id;return o("div",{children:[o("div",{ref:Dt,className:C("group flex cursor-pointer items-center gap-1 rounded-md px-2 py-1.5 text-sm transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground min-w-0",(G||yt)&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium",ut&&"opacity-50",de&&"bg-sidebar-accent ring-2 ring-primary ring-inset"),style:{...f?{}:{paddingLeft:`${i*12+8}px`}},onClick:ze,children:[!f&&t("button",{onClick:Ye,className:"flex h-4 w-4 items-center justify-center shrink-0",children:_?t(ve,{className:"h-3 w-3"}):t(bt,{className:"h-3 w-3"})}),f?t(dT,{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&&!f&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity shrink-0",onClick:(Wt)=>Wt.stopPropagation(),children:o(he,{modal:!1,children:[t(ge,{asChild:!0,children:t(E,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(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"}),Oo()]}),o(W,{onClick:()=>{v(a.id)},children:[t(vt,{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"}),it()]})]})]})})]}),_&&o("div",{children:[oe&&t("div",{className:"flex items-center justify-center p-2",style:{paddingLeft:`${(i+1)*12+8}px`},children:t(F,{className:"h-4 w-4 animate-spin"})}),We.map((Wt)=>t(eue,{teamId:e,projectId:r,folder:Wt,level:i+1,dragState:s,onSelect:l,selectedFolderId:c,canEdit:m,onRenameTrigger:g,onDeleteTrigger:M,onDownloadTrigger:v,ancestorFolders:y},Wt.id)),ee&&t("div",{ref:ae,className:"flex items-center justify-center p-2",style:{paddingLeft:`${(i+1)*12+8}px`},children:re&&t(F,{className:"h-4 w-4 animate-spin"})})]})]})}var q8t=Math.pow(10,8)*24*60*60*1000,bpn=-q8t,V5=604800000,tue=86400000,N9=60000,T2=3600000;var F9=Symbol.for("constructDateFrom");function ct(e,r){if(typeof e==="function")return e(r);if(e&&typeof e==="object"&&F9 in e)return e[F9](r);if(e instanceof Date)return new e.constructor(r);return new Date(r)}function xe(e,r){return ct(r||e,e)}function ZR(e,r,a){let i=xe(e,a?.in);if(isNaN(r))return ct(a?.in||e,NaN);if(!r)return i;return i.setDate(i.getDate()+r),i}function Oi(e,r,a){let i=xe(e,a?.in);if(isNaN(r))return ct(a?.in||e,NaN);if(!r)return i;let f=i.getDate(),s=ct(a?.in||e,i.getTime());s.setMonth(i.getMonth()+r+1,0);let l=s.getDate();if(f>=l)return s;else return i.setFullYear(s.getFullYear(),s.getMonth(),f),i}function rue(e,r,a){return ct(a?.in||e,+xe(e)+r)}function oue(e,r,a){return rue(e,r*T2,a)}var H8t={};function vZ(){return H8t}function yu(e,r){let a=vZ(),i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,f=xe(e,r?.in),s=f.getDay(),l=(s<i?7:0)+s-i;return f.setDate(f.getDate()-l),f.setHours(0,0,0,0),f}function aM(e,r){return yu(e,{...r,weekStartsOn:1})}function W5(e,r){let a=xe(e,r?.in),i=a.getFullYear(),f=ct(a,0);f.setFullYear(i+1,0,4),f.setHours(0,0,0,0);let s=aM(f),l=ct(a,0);l.setFullYear(i,0,4),l.setHours(0,0,0,0);let c=aM(l);if(a.getTime()>=s.getTime())return i+1;else if(a.getTime()>=c.getTime())return i;else return i-1}function B9(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,f]=Js(a?.in,e,r),s=C8(i),l=C8(f),c=+s-B9(s),m=+l-B9(l);return Math.round((c-m)/tue)}function aue(e,r){let a=W5(e,r),i=ct(r?.in||e,0);return i.setFullYear(a,0,4),i.setHours(0,0,0,0),aM(i)}function A2(e,r,a){return ZR(e,r*7,a)}function nue(e,r,a){return Oi(e,r*12,a)}function iue(e,r){let a,i=r?.in;return e.forEach((f)=>{if(!i&&typeof f==="object")i=ct.bind(null,f);let s=xe(f,i);if(!a||a<s||isNaN(+s))a=s}),ct(i,a||NaN)}function fue(e,r){let a,i=r?.in;return e.forEach((f)=>{if(!i&&typeof f==="object")i=ct.bind(null,f);let s=xe(f,i);if(!a||a>s||isNaN(+s))a=s}),ct(i,a||NaN)}function G5(e){return ct(e,Date.now())}function pR(e,r,a){let[i,f]=Js(a?.in,e,r);return+C8(i)===+C8(f)}function K5(e){return e instanceof Date||typeof e==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function ti(e){return!(!K5(e)&&typeof e!=="number"||isNaN(+xe(e)))}function X5(e,r,a){let[i,f]=Js(a?.in,e,r),s=i.getFullYear()-f.getFullYear(),l=i.getMonth()-f.getMonth();return s*12+l}function Y9(e,r,a){let[i,f]=Js(a?.in,e,r),s=sue(i,f),l=Math.abs(I8(i,f));i.setDate(i.getDate()-s*l);let c=Number(sue(i,f)===-s),m=s*(l-c);return m===0?0:m}function sue(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 Ud(e,r){let a=xe(e,r?.in),i=a.getMonth();return a.setFullYear(a.getFullYear(),i+1,0),a.setHours(23,59,59,999),a}function Ml(e,r){let[a,i]=Js(e,r.start,r.end);return{start:a,end:i}}function lue(e,r){let{start:a,end:i}=Ml(r?.in,e),f=+a>+i,s=f?+a:+i,l=f?i:a;l.setHours(0,0,0,0),l.setDate(1);let c=r?.step??1;if(!c)return[];if(c<0)c=-c,f=!f;let m=[];while(+l<=s)m.push(ct(a,l)),l.setMonth(l.getMonth()+c);return f?m.reverse():m}function cue(e,r){let a=xe(e,r?.in);return a.setDate(1),a.setHours(0,0,0,0),a}function uue(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 Q5(e,r){let a=xe(e,r?.in);return a.setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a}function due(e,r){let{start:a,end:i}=Ml(r?.in,e),f=+a>+i,s=f?+a:+i,l=f?i:a;l.setHours(0,0,0,0),l.setMonth(0,1);let c=r?.step??1;if(!c)return[];if(c<0)c=-c,f=!f;let m=[];while(+l<=s)m.push(ct(a,l)),l.setFullYear(l.getFullYear()+c);return f?m.reverse():m}function J5(e,r){let a=vZ(),i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,f=xe(e,r?.in),s=f.getDay(),l=(s<i?-7:0)+6-(s-i);return f.setDate(f.getDate()+l),f.setHours(23,59,59,999),f}function Zue(e,r){return J5(e,{...r,weekStartsOn:1})}var V8t={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"}},pue=(e,r,a)=>{let i,f=V8t[e];if(typeof f==="string")i=f;else if(r===1)i=f.one;else i=f.other.replace("{{count}}",r.toString());if(a?.addSuffix)if(a.comparison&&a.comparison>0)return"in "+i;else return i+" ago";return i};function $5(e){return(r={})=>{let a=r.width?String(r.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}var W8t={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},G8t={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},K8t={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},mue={date:$5({formats:W8t,defaultWidth:"full"}),time:$5({formats:G8t,defaultWidth:"full"}),dateTime:$5({formats:K8t,defaultWidth:"full"})};var X8t={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},hue=(e,r,a,i)=>X8t[e];function mR(e){return(r,a)=>{let i=a?.context?String(a.context):"standalone",f;if(i==="formatting"&&e.formattingValues){let l=e.defaultFormattingWidth||e.defaultWidth,c=a?.width?String(a.width):l;f=e.formattingValues[c]||e.formattingValues[l]}else{let l=e.defaultWidth,c=a?.width?String(a.width):e.defaultWidth;f=e.values[c]||e.values[l]}let s=e.argumentCallback?e.argumentCallback(r):r;return f[s]}}var Q8t={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},J8t={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},$8t={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ext={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"]},txt={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"}},rxt={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"}},oxt=(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"},gue={ordinalNumber:oxt,era:mR({values:Q8t,defaultWidth:"wide"}),quarter:mR({values:J8t,defaultWidth:"wide",argumentCallback:(e)=>e-1}),month:mR({values:$8t,defaultWidth:"wide"}),day:mR({values:ext,defaultWidth:"wide"}),dayPeriod:mR({values:txt,defaultWidth:"wide",formattingValues:rxt,defaultFormattingWidth:"wide"})};function hR(e){return(r,a={})=>{let i=a.width,f=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],s=r.match(f);if(!s)return null;let l=s[0],c=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],m=Array.isArray(c)?nxt(c,(v)=>v.test(l)):axt(c,(v)=>v.test(l)),g;g=e.valueCallback?e.valueCallback(m):m,g=a.valueCallback?a.valueCallback(g):g;let M=r.slice(l.length);return{value:g,rest:M}}}function axt(e,r){for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&r(e[a]))return a;return}function nxt(e,r){for(let a=0;a<e.length;a++)if(r(e[a]))return a;return}function Mue(e){return(r,a={})=>{let i=r.match(e.matchPattern);if(!i)return null;let f=i[0],s=r.match(e.parsePattern);if(!s)return null;let l=e.valueCallback?e.valueCallback(s[0]):s[0];l=a.valueCallback?a.valueCallback(l):l;let c=r.slice(f.length);return{value:l,rest:c}}}var ixt=/^(\d+)(th|st|nd|rd)?/i,fxt=/\d+/i,sxt={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},lxt={any:[/^b/i,/^(a|c)/i]},cxt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},uxt={any:[/1/i,/2/i,/3/i,/4/i]},dxt={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},Zxt={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]},pxt={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},mxt={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]},hxt={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},gxt={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}},vue={ordinalNumber:Mue({matchPattern:ixt,parsePattern:fxt,valueCallback:(e)=>parseInt(e,10)}),era:hR({matchPatterns:sxt,defaultMatchWidth:"wide",parsePatterns:lxt,defaultParseWidth:"any"}),quarter:hR({matchPatterns:cxt,defaultMatchWidth:"wide",parsePatterns:uxt,defaultParseWidth:"any",valueCallback:(e)=>e+1}),month:hR({matchPatterns:dxt,defaultMatchWidth:"wide",parsePatterns:Zxt,defaultParseWidth:"any"}),day:hR({matchPatterns:pxt,defaultMatchWidth:"wide",parsePatterns:mxt,defaultParseWidth:"any"}),dayPeriod:hR({matchPatterns:hxt,defaultMatchWidth:"any",parsePatterns:gxt,defaultParseWidth:"any"})};var nM={code:"en-US",formatDistance:pue,formatLong:mue,formatRelative:hue,localize:gue,match:vue,options:{weekStartsOn:0,firstWeekContainsDate:1}};function xue(e,r){let a=xe(e,r?.in);return I8(a,Q5(a))+1}function gR(e,r){let a=xe(e,r?.in),i=+aM(a)-+aue(a);return Math.round(i/V5)+1}function e4(e,r){let a=xe(e,r?.in),i=a.getFullYear(),f=vZ(),s=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??f.firstWeekContainsDate??f.locale?.options?.firstWeekContainsDate??1,l=ct(r?.in||e,0);l.setFullYear(i+1,0,s),l.setHours(0,0,0,0);let c=yu(l,r),m=ct(r?.in||e,0);m.setFullYear(i,0,s),m.setHours(0,0,0,0);let g=yu(m,r);if(+a>=+c)return i+1;else if(+a>=+g)return i;else return i-1}function yue(e,r){let a=vZ(),i=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,f=e4(e,r),s=ct(r?.in||e,0);return s.setFullYear(f,0,i),s.setHours(0,0,0,0),yu(s,r)}function MR(e,r){let a=xe(e,r?.in),i=+yu(a,r)-+yue(a,r);return Math.round(i/V5)+1}function qo(e,r){let a=e<0?"-":"",i=Math.abs(e).toString().padStart(r,"0");return a+i}var iM={y(e,r){let a=e.getFullYear(),i=a>0?a:1-a;return qo(r==="yy"?i%100:i,r.length)},M(e,r){let a=e.getMonth();return r==="M"?String(a+1):qo(a+1,2)},d(e,r){return qo(e.getDate(),r.length)},a(e,r){let a=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h(e,r){return qo(e.getHours()%12||12,r.length)},H(e,r){return qo(e.getHours(),r.length)},m(e,r){return qo(e.getMinutes(),r.length)},s(e,r){return qo(e.getSeconds(),r.length)},S(e,r){let a=r.length,i=e.getMilliseconds(),f=Math.trunc(i*Math.pow(10,a-3));return qo(f,r.length)}};var vR={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},U9={G:function(e,r,a){let i=e.getFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return a.era(i,{width:"abbreviated"});case"GGGGG":return a.era(i,{width:"narrow"});case"GGGG":default:return a.era(i,{width:"wide"})}},y:function(e,r,a){if(r==="yo"){let i=e.getFullYear(),f=i>0?i:1-i;return a.ordinalNumber(f,{unit:"year"})}return iM.y(e,r)},Y:function(e,r,a,i){let f=e4(e,i),s=f>0?f:1-f;if(r==="YY"){let l=s%100;return qo(l,2)}if(r==="Yo")return a.ordinalNumber(s,{unit:"year"});return qo(s,r.length)},R:function(e,r){let a=W5(e);return qo(a,r.length)},u:function(e,r){let a=e.getFullYear();return qo(a,r.length)},Q:function(e,r,a){let i=Math.ceil((e.getMonth()+1)/3);switch(r){case"Q":return String(i);case"QQ":return qo(i,2);case"Qo":return a.ordinalNumber(i,{unit:"quarter"});case"QQQ":return a.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,r,a){let i=Math.ceil((e.getMonth()+1)/3);switch(r){case"q":return String(i);case"qq":return qo(i,2);case"qo":return a.ordinalNumber(i,{unit:"quarter"});case"qqq":return a.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,r,a){let i=e.getMonth();switch(r){case"M":case"MM":return iM.M(e,r);case"Mo":return a.ordinalNumber(i+1,{unit:"month"});case"MMM":return a.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(i,{width:"wide",context:"formatting"})}},L:function(e,r,a){let i=e.getMonth();switch(r){case"L":return String(i+1);case"LL":return qo(i+1,2);case"Lo":return a.ordinalNumber(i+1,{unit:"month"});case"LLL":return a.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(i,{width:"wide",context:"standalone"})}},w:function(e,r,a,i){let f=MR(e,i);if(r==="wo")return a.ordinalNumber(f,{unit:"week"});return qo(f,r.length)},I:function(e,r,a){let i=gR(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=xue(e);if(r==="Do")return a.ordinalNumber(i,{unit:"dayOfYear"});return qo(i,r.length)},E:function(e,r,a){let i=e.getDay();switch(r){case"E":case"EE":case"EEE":return a.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(i,{width:"short",context:"formatting"});case"EEEE":default:return a.day(i,{width:"wide",context:"formatting"})}},e:function(e,r,a,i){let f=e.getDay(),s=(f-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(s);case"ee":return qo(s,2);case"eo":return a.ordinalNumber(s,{unit:"day"});case"eee":return a.day(f,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(f,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(f,{width:"short",context:"formatting"});case"eeee":default:return a.day(f,{width:"wide",context:"formatting"})}},c:function(e,r,a,i){let f=e.getDay(),s=(f-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(s);case"cc":return qo(s,r.length);case"co":return a.ordinalNumber(s,{unit:"day"});case"ccc":return a.day(f,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(f,{width:"narrow",context:"standalone"});case"cccccc":return a.day(f,{width:"short",context:"standalone"});case"cccc":default:return a.day(f,{width:"wide",context:"standalone"})}},i:function(e,r,a){let i=e.getDay(),f=i===0?7:i;switch(r){case"i":return String(f);case"ii":return qo(f,r.length);case"io":return a.ordinalNumber(f,{unit:"day"});case"iii":return a.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(i,{width:"short",context:"formatting"});case"iiii":default:return a.day(i,{width:"wide",context:"formatting"})}},a:function(e,r,a){let f=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return a.dayPeriod(f,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(f,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(f,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(f,{width:"wide",context:"formatting"})}},b:function(e,r,a){let i=e.getHours(),f;if(i===12)f=vR.noon;else if(i===0)f=vR.midnight;else f=i/12>=1?"pm":"am";switch(r){case"b":case"bb":return a.dayPeriod(f,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(f,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(f,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(f,{width:"wide",context:"formatting"})}},B:function(e,r,a){let i=e.getHours(),f;if(i>=17)f=vR.evening;else if(i>=12)f=vR.afternoon;else if(i>=4)f=vR.morning;else f=vR.night;switch(r){case"B":case"BB":case"BBB":return a.dayPeriod(f,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(f,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(f,{width:"wide",context:"formatting"})}},h:function(e,r,a){if(r==="ho"){let i=e.getHours()%12;if(i===0)i=12;return a.ordinalNumber(i,{unit:"hour"})}return iM.h(e,r)},H:function(e,r,a){if(r==="Ho")return a.ordinalNumber(e.getHours(),{unit:"hour"});return iM.H(e,r)},K:function(e,r,a){let i=e.getHours()%12;if(r==="Ko")return a.ordinalNumber(i,{unit:"hour"});return qo(i,r.length)},k:function(e,r,a){let i=e.getHours();if(i===0)i=24;if(r==="ko")return a.ordinalNumber(i,{unit:"hour"});return qo(i,r.length)},m:function(e,r,a){if(r==="mo")return a.ordinalNumber(e.getMinutes(),{unit:"minute"});return iM.m(e,r)},s:function(e,r,a){if(r==="so")return a.ordinalNumber(e.getSeconds(),{unit:"second"});return iM.s(e,r)},S:function(e,r){return iM.S(e,r)},X:function(e,r,a){let i=e.getTimezoneOffset();if(i===0)return"Z";switch(r){case"X":return _ue(i);case"XXXX":case"XX":return ML(i);case"XXXXX":case"XXX":default:return ML(i,":")}},x:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"x":return _ue(i);case"xxxx":case"xx":return ML(i);case"xxxxx":case"xxx":default:return ML(i,":")}},O:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+bue(i,":");case"OOOO":default:return"GMT"+ML(i,":")}},z:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+bue(i,":");case"zzzz":default:return"GMT"+ML(i,":")}},t:function(e,r,a){let i=Math.trunc(+e/1000);return qo(i,r.length)},T:function(e,r,a){return qo(+e,r.length)}};function bue(e,r=""){let a=e>0?"-":"+",i=Math.abs(e),f=Math.trunc(i/60),s=i%60;if(s===0)return a+String(f);return a+String(f)+r+qo(s,2)}function _ue(e,r){if(e%60===0)return(e>0?"-":"+")+qo(Math.abs(e)/60,2);return ML(e,r)}function ML(e,r=""){let a=e>0?"-":"+",i=Math.abs(e),f=qo(Math.trunc(i/60),2),s=qo(i%60,2);return a+f+r+s}var wue=(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"})}},zue=(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"})}},Mxt=(e,r)=>{let a=e.match(/(P+)(p+)?/)||[],i=a[1],f=a[2];if(!f)return wue(e,r);let s;switch(i){case"P":s=r.dateTime({width:"short"});break;case"PP":s=r.dateTime({width:"medium"});break;case"PPP":s=r.dateTime({width:"long"});break;case"PPPP":default:s=r.dateTime({width:"full"});break}return s.replace("{{date}}",wue(i,r)).replace("{{time}}",zue(f,r))},Sue={p:zue,P:Mxt};var vxt=/^D+$/,xxt=/^Y+$/,yxt=["D","DD","YY","YYYY"];function Lue(e){return vxt.test(e)}function kue(e){return xxt.test(e)}function Cue(e,r,a){let i=bxt(e,r,a);if(console.warn(i),yxt.includes(e))throw RangeError(i)}function bxt(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 _xt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,wxt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,zxt=/^'([^]*?)'?$/,Sxt=/''/g,Lxt=/[a-zA-Z]/;function hr(e,r,a){let i=vZ(),f=a?.locale??i.locale??nM,s=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,l=a?.weekStartsOn??a?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,c=xe(e,a?.in);if(!ti(c))throw RangeError("Invalid time value");let m=r.match(wxt).map((M)=>{let v=M[0];if(v==="p"||v==="P"){let y=Sue[v];return y(M,f.formatLong)}return M}).join("").match(_xt).map((M)=>{if(M==="''")return{isToken:!1,value:"'"};let v=M[0];if(v==="'")return{isToken:!1,value:kxt(M)};if(U9[v])return{isToken:!0,value:M};if(v.match(Lxt))throw RangeError("Format string contains an unescaped latin alphabet character `"+v+"`");return{isToken:!1,value:M}});if(f.localize.preprocessor)m=f.localize.preprocessor(c,m);let g={firstWeekContainsDate:s,weekStartsOn:l,locale:f};return m.map((M)=>{if(!M.isToken)return M.value;let v=M.value;if(!a?.useAdditionalWeekYearTokens&&kue(v)||!a?.useAdditionalDayOfYearTokens&&Lue(v))Cue(v,r,String(e));let y=U9[v[0]];return y(c,v,f.localize,g)}).join("")}function kxt(e){let r=e.match(zxt);if(!r)return e;return r[1].replace(Sxt,"'")}function Iue(e,r){let a=xe(e,r?.in),i=a.getFullYear(),f=a.getMonth(),s=ct(a,0);return s.setFullYear(i,f+1,0),s.setHours(0,0,0,0),s.getDate()}function Qc(e,r){return xe(e,r?.in).getMonth()}function Kc(e,r){return xe(e,r?.in).getFullYear()}function Rue(e,r){return+xe(e)>+xe(r)}function Pue(e,r){return+xe(e)<+xe(r)}function Tue(e,r,a){let[i,f]=Js(a?.in,e,r);return i.getFullYear()===f.getFullYear()&&i.getMonth()===f.getMonth()}function Aue(e,r,a){let[i,f]=Js(a?.in,e,r);return i.getFullYear()===f.getFullYear()}function D2(e,r){return pR(ct(r?.in||e,e),G5(r?.in||e))}function Due(e,r,a){return ZR(e,-r,a)}function E2(e,r){return pR(ct(r?.in||e,e),Due(G5(r?.in||e),1))}function fM(e,r){let a=()=>ct(r?.in,NaN),i=r?.additionalDigits??2,f=Pxt(e),s;if(f.date){let g=Txt(f.date,i);s=Axt(g.restDateString,g.year)}if(!s||isNaN(+s))return a();let l=+s,c=0,m;if(f.time){if(c=Dxt(f.time),isNaN(c))return a()}if(f.timezone){if(m=Ext(f.timezone),isNaN(m))return a()}else{let g=new Date(l+c),M=xe(0,r?.in);return M.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),M.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),M}return xe(l+c+m,r?.in)}var t4={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Cxt=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Ixt=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Rxt=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Pxt(e){let r={},a=e.split(t4.dateTimeDelimiter),i;if(a.length>2)return r;if(/:/.test(a[0]))i=a[0];else if(r.date=a[0],i=a[1],t4.timeZoneDelimiter.test(r.date))r.date=e.split(t4.timeZoneDelimiter)[0],i=e.substr(r.date.length,e.length);if(i){let f=t4.timezone.exec(i);if(f)r.time=i.replace(f[1],""),r.timezone=f[1];else r.time=i}return r}function Txt(e,r){let a=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+r)+"})|(\\d{2}|[+-]\\d{"+(2+r)+"})$)"),i=e.match(a);if(!i)return{year:NaN,restDateString:""};let f=i[1]?parseInt(i[1]):null,s=i[2]?parseInt(i[2]):null;return{year:s===null?f:s*100,restDateString:e.slice((i[1]||i[2]).length)}}function Axt(e,r){if(r===null)return new Date(NaN);let a=e.match(Cxt);if(!a)return new Date(NaN);let i=!!a[4],f=O2(a[1]),s=O2(a[2])-1,l=O2(a[3]),c=O2(a[4]),m=O2(a[5])-1;if(i){if(!Bxt(r,c,m))return new Date(NaN);return Oxt(r,c,m)}else{let g=new Date(0);if(!Nxt(r,s,l)||!Fxt(r,f))return new Date(NaN);return g.setUTCFullYear(r,s,Math.max(f,l)),g}}function O2(e){return e?parseInt(e):1}function Dxt(e){let r=e.match(Ixt);if(!r)return NaN;let a=q9(r[1]),i=q9(r[2]),f=q9(r[3]);if(!Yxt(a,i,f))return NaN;return a*T2+i*N9+f*1000}function q9(e){return e&&parseFloat(e.replace(",","."))||0}function Ext(e){if(e==="Z")return 0;let r=e.match(Rxt);if(!r)return 0;let a=r[1]==="+"?-1:1,i=parseInt(r[2]),f=r[3]&&parseInt(r[3])||0;if(!Uxt(i,f))return NaN;return a*(i*T2+f*N9)}function Oxt(e,r,a){let i=new Date(0);i.setUTCFullYear(e,0,4);let f=i.getUTCDay()||7,s=(r-1)*7+a+1-f;return i.setUTCDate(i.getUTCDate()+s),i}var jxt=[31,null,31,30,31,30,31,31,30,31,30,31];function Eue(e){return e%400===0||e%4===0&&e%100!==0}function Nxt(e,r,a){return r>=0&&r<=11&&a>=1&&a<=(jxt[r]||(Eue(e)?29:28))}function Fxt(e,r){return r>=1&&r<=(Eue(e)?366:365)}function Bxt(e,r,a){return r>=1&&r<=53&&a>=0&&a<=6}function Yxt(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 Uxt(e,r){return r>=0&&r<=59}function Oue(e,r,a){let i=xe(e,a?.in),f=i.getFullYear(),s=i.getDate(),l=ct(a?.in||e,0);l.setFullYear(f,r,15),l.setHours(0,0,0,0);let c=Iue(l);return i.setMonth(r,Math.min(s,c)),i}function jue(e,r,a){let i=xe(e,a?.in);if(isNaN(+i))return ct(a?.in||e,NaN);return i.setFullYear(r),i}function r4(e){let r=Object.values(e).filter((i)=>typeof i==="number");return Object.entries(e).filter(([i,f])=>r.indexOf(+i)===-1).map(([i,f])=>f)}function V9(e,r="|"){return e.map((a)=>K9(a)).join(r)}function N2(e,r){if(typeof r==="bigint")return r.toString();return r}function F2(e){return{get value(){{let a=e();return Object.defineProperty(this,"value",{value:a}),a}throw Error("cached value already set")}}}function Fue(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 Bue(e,r){let a=e/r,i=Math.round(a),f=4*Number.EPSILON*Math.max(Math.abs(a),1);if(Math.abs(a-i)<f)return 0;return a-i}var Nue=Symbol("evaluating");function Yue(e,r,a){let i=void 0;Object.defineProperty(e,r,{get(){if(i===Nue)return;if(i===void 0)i=Nue,i=a();return i},set(f){Object.defineProperty(e,r,{value:f})},configurable:!0})}function Yi(e,r,a){Object.defineProperty(e,r,{value:a,writable:!0,enumerable:!0,configurable:!0})}function P8(...e){let r={};for(let a of e){let i=Object.getOwnPropertyDescriptors(a);Object.assign(r,i)}return Object.defineProperties({},r)}function Uue(e){return JSON.stringify(e)}function que(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var W9="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function xR(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}var Hue=F2(()=>{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 xL(e){if(xR(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(xR(a)===!1)return!1;if(Object.prototype.hasOwnProperty.call(a,"isPrototypeOf")===!1)return!1;return!0}function G9(e){if(xL(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 Vue=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 zr(e){let r=e;if(!r)return{};if(typeof r==="string")return{error:()=>r};if(r?.message!==void 0){if(r?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");r.error=r.message}if(delete r.message,typeof r.error==="string")return{...r,error:()=>r.error};return r}function K9(e){if(typeof e==="bigint")return e.toString()+"n";if(typeof e==="string")return`"${e}"`;return`${e}`}function Wue(e){return Object.keys(e).filter((r)=>e[r]._zod.optin!==void 0&&e[r]._zod.optout==="optional")}var Gue=(()=>({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 qxt(e,r){let a=e._zod.def,i=a.checks;if(i&&i.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let s=P8(e._zod.def,{get shape(){let l={};for(let c of Reflect.ownKeys(r)){if(!Object.prototype.hasOwnProperty.call(a.shape,c))throw Error(`Unrecognized key: "${String(c)}"`);if(!r[c])continue;Yi(l,c,a.shape[c])}return Yi(this,"shape",l),l},checks:[]});return xZ(e,s)}function Hxt(e,r){let a=e._zod.def,i=a.checks;if(i&&i.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let s=P8(e._zod.def,{get shape(){let l={...e._zod.def.shape};for(let c of Reflect.ownKeys(r)){if(!Object.prototype.hasOwnProperty.call(a.shape,c))throw Error(`Unrecognized key: "${String(c)}"`);if(!r[c])continue;delete l[c]}return Yi(this,"shape",l),l},checks:[]});return xZ(e,s)}function Vxt(e,r){if(!xL(r))throw Error("Invalid input to extend: expected a plain object");let a=e._zod.def.checks;if(a&&a.length>0){let s=e._zod.def.shape;for(let l of Reflect.ownKeys(r))if(Object.getOwnPropertyDescriptor(s,l)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let f=P8(e._zod.def,{get shape(){let s={...e._zod.def.shape,...r};return Yi(this,"shape",s),s}});return xZ(e,f)}function Wxt(e,r){if(!xL(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 Yi(this,"shape",i),i}});return xZ(e,a)}function Gxt(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 Yi(this,"shape",i),i},get catchall(){return r._zod.def.catchall},checks:r._zod.def.checks??[]});return xZ(e,a)}function Kue(e,r,a,i="partial"){let s=r._zod.def.checks;if(s&&s.length>0)throw Error(`.${i}() cannot be used on object schemas containing refinements`);let c=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 Yi(this,"shape",g),g},checks:[]});return xZ(r,c)}function Kxt(e,r,a){let i=P8(r._zod.def,{get shape(){let f=r._zod.def.shape,s={...f};if(a)for(let l of Reflect.ownKeys(a)){if(!Object.prototype.hasOwnProperty.call(s,l))throw Error(`Unrecognized key: "${String(l)}"`);if(!a[l])continue;s[l]=new e({type:"nonoptional",innerType:f[l]})}else for(let l of Reflect.ownKeys(f))s[l]=new e({type:"nonoptional",innerType:f[l]});return Yi(this,"shape",s),s}});return xZ(r,i)}function yL(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 Xue(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 j2(e){return typeof e==="string"?e:e?.message}function X9(e,r,a){var i;for(let f=r;f<e.length;f++)(i=e[f]).schema??(i.schema=a)}function yZ(e,r,a){var i;let f=e.inst?._zod?.traits;if(f?.has("$ZodType"))if(f.has("$ZodCheck"))(i=e).schema??(i.schema=e.inst);else e.schema=e.inst;let s=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,l=e.message?e.message:j2(e.inst?._zod.def?.error?.(e))??j2(s?.(e))??j2(r?.error?.(e))??j2(a.customError?.(e))??j2(a.localeError?.(e))??"Invalid input",{inst:c,schema:m,continue:g,input:M,...v}=e;if(v.path??(v.path=[]),v.message=l,r?.reportInput)v.input=M;return v}var Xxt=/[\uD800-\uDBFF]/;function a4(e){let r=e.length;if(!Xxt.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 Que(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 bL(...e){let[r,a,i]=e;if(typeof r==="string")return{message:r,code:"custom",input:a,inst:i};return{...r}}function Jue(e,r){for(let a in r){let i=Object.getOwnPropertyDescriptor(r,a);if(i.get)Object.defineProperty(e,a,{...i,enumerable:!1});else Qxt(e,a,i.value)}}function vL(e,r,a,i=!0){return Object.defineProperty(e,r,{configurable:!0,writable:!0,enumerable:i,value:a}),a}function Q9(e,r,a){return vL(e,r,a,!1)}function Qxt(e,r,a){Object.defineProperty(e,r,{configurable:!0,get(){return this==null?a:vL(this,r,a.bind(this))},set(i){vL(this,r,i)}})}function Jxt(e,r){let a=Object.getPrototypeOf(e);return r in a?void 0:a}var H9,R8=!1,$xt={configurable:!0,get(){R8=!0;return}};function Ro(e,r,a){let i=Object.getPrototypeOf(e._zod);if(r in i&&H9!==e._zod){H9=void 0;return}H9=e._zod,Object.defineProperty(i,r,{configurable:!0,get(){Object.defineProperty(this,r,$xt);let f=R8;R8=!1;try{let s=a(this);if(R8)delete this[r];else Object.defineProperty(this,r,{configurable:!0,writable:!0,value:s});return R8=R8||f,s}catch(s){throw delete this[r],R8=R8||f,s}},set(f){Object.defineProperty(this,r,{configurable:!0,writable:!0,value:f})}})}function eyt(e,r,a,i){let f=Jxt(e,r);if(!f)return;Object.defineProperty(f,r,{configurable:!0,get(){let s={configurable:!0,writable:!0,enumerable:i,value:void 0};return Object.defineProperty(this,r,s),s.value=a(this),Object.defineProperty(this,r,s),s.value},set(s){Object.defineProperty(this,r,{configurable:!0,writable:!0,enumerable:i,value:s})}})}var tyt="~constantCatch";function $ue(e){let r=()=>e;return r[tyt]=!0,r}var ede;var J9={value:void 0,enumerable:!1},tde="captureStackTrace"in Error?Error:null;function ryt(e){let r=tde;if(r){let a=r.stackTraceLimit;if(typeof a==="number"){try{r.stackTraceLimit=0}catch{return tde=null,new e}try{return new e}finally{r.stackTraceLimit=a}}}return new e}function Lt(e,r,a,i){let f={};function s(y){this.def=y,this.constr=v,this.traits=new Set}s.prototype=f;let l=a,c=l&&new WeakSet;function m(y,x){if(!y._zod){J9.value=new s(x);try{Object.defineProperty(y,"_zod",J9)}finally{J9.value=void 0}}if(y._zod.traits.has(e))return;if(y._zod.traits.add(e),r(y,x),c){let j=Object.getPrototypeOf(y),U=y._zod.constr.prototype,T=j;while(T&&T!==U)T=Object.getPrototypeOf(T);let N=T??j;if(!c.has(N))c.add(N),Jue(N,l)}let _=v.prototype;for(let j in _){if(!Object.prototype.hasOwnProperty.call(_,j))continue;if(!(j in y))y[j]=_[j].bind(y)}}let g=i?.Parent??Object;class M extends g{}Object.defineProperty(M,"name",{value:e});function v(y){let x=i?.Parent?ryt(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 B2 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 Kl(e){if(e)Object.assign($s,e);return $s}function oyt(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,N2,2)),e.message}function ayt(e){this._zod.message=e}var nyt={get:oyt,set:ayt,enumerable:!0,configurable:!0},eH={value:void 0,enumerable:!1},tH={value:void 0,enumerable:!1},rde=new WeakSet([Object.prototype,Error.prototype]),ode=(e,r)=>{e.name="$ZodError",eH.value=e._zod,Object.defineProperty(e,"_zod",eH),tH.value=r,Object.defineProperty(e,"issues",tH),eH.value=void 0,tH.value=void 0,Object.defineProperty(e,"message",nyt);let a=Object.getPrototypeOf(e);if(!rde.has(a))rde.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})}})},i4=Lt("$ZodError",ode),rH=Lt("$ZodError",ode,void 0,{Parent:Error});function iyt(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 ade(e,r=(a)=>a.message){let a={},i=[];for(let f of e.issues)if(f.path.length>0)iyt(a,f.path[0],()=>[]).push(r(f));else i.push(r(f));return{formErrors:i,fieldErrors:a}}function nde(e,r=(a)=>a.message){let a={_errors:[]},i=(f,s=[])=>{for(let l of f.issues)if(l.code==="invalid_union"&&l.errors.length)l.errors.map((c)=>i({issues:c},[...s,...l.path]));else if(l.code==="invalid_key")i({issues:l.issues},[...s,...l.path]);else if(l.code==="invalid_element")i({issues:l.issues},[...s,...l.path]);else{let c=[...s,...l.path];if(c.length===0)a._errors.push(r(l));else{let m=a,g=0;while(g<c.length){let M=c[g],v=g===c.length-1;if(M==="_errors"){if(v)m._errors.push(r(l));g++;continue}if(!Object.prototype.hasOwnProperty.call(m,M))Object.defineProperty(m,M,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let y=m[M];if(v)y._errors.push(r(l));m=y,g++}}}};return i(e),a}function f4(e,r){return{callee:r?.callee??e,Err:r?.Err}}var s4=(e)=>{let r=(a,i,f,s)=>{let l=f?{...f,async:!1}:{async:!1},c=a._zod.run({value:i,issues:[]},l);if(c instanceof Promise)throw new sM;if(c.issues.length){let m=new(s?.Err??e)(c.issues.map((g)=>yZ(g,l,Kl())));throw W9(m,s?.callee??r),m}return c.value};return r};var l4=(e)=>{let r=async(a,i,f,s)=>{let l=f?{...f,async:!0}:{async:!0},c=a._zod.run({value:i,issues:[]},l);if(c instanceof Promise)c=await c;if(c.issues.length){let m=new(s?.Err??e)(c.issues.map((g)=>yZ(g,l,Kl())));throw W9(m,s?.callee??r),m}return c.value};return r};var Y2=(e)=>(r,a,i)=>{let f=i?{...i,async:!1}:{async:!1},s=r._zod.run({value:a,issues:[]},f);if(s instanceof Promise)throw new sM;return s.issues.length?{success:!1,error:new(e??i4)(s.issues.map((l)=>yZ(l,f,Kl())))}:{success:!0,data:s.value}},ide=Y2(rH),U2=(e)=>async(r,a,i)=>{let f=i?{...i,async:!0}:{async:!0},s=r._zod.run({value:a,issues:[]},f);if(s instanceof Promise)s=await s;return s.issues.length?{success:!1,error:new e(s.issues.map((l)=>yZ(l,f,Kl())))}:{success:!0,data:s.value}},fde=U2(rH);var sde=(e)=>{let r=s4(e),a=(i,f,s,l)=>{let c=s?{...s,direction:"backward"}:{direction:"backward"};return r(i,f,c,f4(a,l))};return a};var lde=(e)=>{let r=s4(e),a=(i,f,s,l)=>r(i,f,s,f4(a,l));return a};var cde=(e)=>{let r=l4(e),a=async(i,f,s,l)=>{let c=s?{...s,direction:"backward"}:{direction:"backward"};return await r(i,f,c,f4(a,l))};return a};var ude=(e)=>{let r=l4(e),a=async(i,f,s,l)=>await r(i,f,s,f4(a,l));return a};var dde=(e)=>(r,a,i)=>{let f=i?{...i,direction:"backward"}:{direction:"backward"};return Y2(e)(r,a,f)};var Zde=(e)=>(r,a,i)=>Y2(e)(r,a,i);var pde=(e)=>async(r,a,i)=>{let f=i?{...i,direction:"backward"}:{direction:"backward"};return U2(e)(r,a,f)};var mde=(e)=>async(r,a,i)=>U2(e)(r,a,i);var hde=/^[cC][0-9a-z]{6,}$/,gde=/^[0-9a-z]+$/,Mde=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,vde=/^[0-9a-vA-V]{20}$/,xde=/^[A-Za-z0-9]{27}$/,yde=/^[a-zA-Z0-9_-]{21}$/;function bde(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var _de=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;var wde=/^([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})$/,aH=(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 zde=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;var syt="^[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function Sde(){return new RegExp(syt,"u")}var Lde=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,kde=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/;var Cde=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Ide=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Rde=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,nH=/^[A-Za-z0-9_-]*$/;var Pde=/^https?$/,Tde=/^\+[1-9]\d{6,14}$/;var Ade="(?:(?:\\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 lyt(e){return new RegExp(`^${e}$`)}var Dde=lyt(Ade);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 Ede(e){return new RegExp(`^${oH(e)}$`)}function Ode(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(`^${Ade}T(?:${i})$`)}var jde=(e)=>{let r=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${r}$`)},Nde=/^-?\d+n?$/,c4=/^-?\d+$/,q2=/^-?\d+(?:\.\d+)?$/,Fde=/^(?:true|false)$/i;var Bde=/^[^A-Z]*$/,Yde=/^[^a-z]*$/;var tf=Lt("$ZodCheck",(e,r)=>{var a;e._zod??(e._zod={}),e._zod.def=r,(a=e._zod).onattach??(a.onattach=[])});var iH=(e)=>{let r=e.value;return!Fue(r)&&r.length!==void 0},u4={number:"number",bigint:"bigint",object:"date"},fH=Lt("$ZodCheckLessThan",(e,r)=>{tf.init(e,r);let a=u4[typeof r.value];e._zod.onattach.push((i)=>{let f=i._zod.bag,s=(r.inclusive?f.maximum:f.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(r.value<s)if(r.inclusive)f.maximum=r.value;else f.exclusiveMaximum=r.value}),e._zod.check=(i)=>{if(r.inclusive?i.value<=r.value:i.value<r.value)return;i.issues.push({origin:u4[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})}}),sH=Lt("$ZodCheckGreaterThan",(e,r)=>{tf.init(e,r);let a=u4[typeof r.value];e._zod.onattach.push((i)=>{let f=i._zod.bag,s=(r.inclusive?f.minimum:f.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(r.value>s)if(r.inclusive)f.minimum=r.value;else f.exclusiveMinimum=r.value}),e._zod.check=(i)=>{if(r.inclusive?i.value>=r.value:i.value>r.value)return;i.issues.push({origin:u4[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})}}),Ude=Lt("$ZodCheckMultipleOf",(e,r)=>{tf.init(e,r),e._zod.onattach.push((a)=>{var i;(i=a._zod.bag).multipleOf??(i.multipleOf=r.value)}),e._zod.check=(a)=>{if(typeof a.value!==typeof r.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof a.value==="bigint"?r.value!==BigInt(0)&&a.value%r.value===BigInt(0):Bue(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})}}),qde=Lt("$ZodCheckNumberFormat",(e,r)=>{tf.init(e,r),r.format=r.format||"float64";let a=r.format?.includes("int"),i=a?"int":"number",[f,s]=Gue[r.format];e._zod.onattach.push((l)=>{let c=l._zod.bag;if(c.format=r.format,c.minimum=f,c.maximum=s,a)c.pattern=c4}),e._zod.check=(l)=>{let c=l.value;if(a){if(!Number.isInteger(c)){l.issues.push({expected:i,format:r.format,code:"invalid_type",continue:!1,input:c,inst:e});return}if(!Number.isSafeInteger(c)){if(c>0)l.issues.push({input:c,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!r.abort});else l.issues.push({input:c,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!r.abort});return}}if(c<f)l.issues.push({origin:"number",input:c,code:"too_small",minimum:f,inclusive:!0,inst:e,continue:!r.abort});if(c>s)l.issues.push({origin:"number",input:c,code:"too_big",maximum:s,inclusive:!0,inst:e,continue:!r.abort})}});var Hde=Lt("$ZodCheckMaxLength",(e,r)=>{var a;tf.init(e,r),(a=e._zod.def).when??(a.when=iH),e._zod.onattach.push((i)=>{let f=i._zod.bag.maximum??Number.POSITIVE_INFINITY;if(r.maximum<f)i._zod.bag.maximum=r.maximum}),e._zod.check=(i)=>{let f=i.value,s=f.length;if((typeof f==="string"&&s>r.maximum?a4(f):s)<=r.maximum)return;let c=n4(f);i.issues.push({origin:c,code:"too_big",maximum:r.maximum,inclusive:!0,input:f,inst:e,continue:!r.abort})}}),Vde=Lt("$ZodCheckMinLength",(e,r)=>{var a;tf.init(e,r),(a=e._zod.def).when??(a.when=iH),e._zod.onattach.push((i)=>{let f=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(r.minimum>f)i._zod.bag.minimum=r.minimum}),e._zod.check=(i)=>{let f=i.value,s=f.length;if((typeof f==="string"&&s>=r.minimum&&s<r.minimum*2?a4(f):s)>=r.minimum)return;let c=n4(f);i.issues.push({origin:c,code:"too_small",minimum:r.minimum,inclusive:!0,input:f,inst:e,continue:!r.abort})}}),Wde=Lt("$ZodCheckLengthEquals",(e,r)=>{var a;tf.init(e,r),(a=e._zod.def).when??(a.when=iH),e._zod.onattach.push((i)=>{let f=i._zod.bag;f.minimum=r.length,f.maximum=r.length,f.length=r.length}),e._zod.check=(i)=>{let f=i.value,s=f.length,l=typeof f==="string"&&s>=r.length&&s<=r.length*2?a4(f):s;if(l===r.length)return;let c=n4(f),m=l>r.length;i.issues.push({origin:c,...m?{code:"too_big",maximum:r.length}:{code:"too_small",minimum:r.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!r.abort})}}),V2=Lt("$ZodCheckStringFormat",(e,r)=>{var a,i;if(tf.init(e,r),e._zod.onattach.push((f)=>{let s=f._zod.bag;if(s.format=r.format,r.pattern)s.patterns??(s.patterns=new Set),s.patterns.add(r.pattern)}),r.pattern)(a=e._zod).check??(a.check=(f)=>{if(r.pattern.lastIndex=0,r.pattern.test(f.value))return;f.issues.push({origin:"string",code:"invalid_format",format:r.format,input:f.value,...r.pattern?{pattern:r.pattern.toString()}:{},inst:e,continue:!r.abort})});else(i=e._zod).check??(i.check=()=>{})}),Gde=Lt("$ZodCheckRegex",(e,r)=>{V2.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})}}),Kde=Lt("$ZodCheckLowerCase",(e,r)=>{r.pattern??(r.pattern=Bde),V2.init(e,r)}),Xde=Lt("$ZodCheckUpperCase",(e,r)=>{r.pattern??(r.pattern=Yde),V2.init(e,r)}),Qde=Lt("$ZodCheckIncludes",(e,r)=>{tf.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((f)=>{let s=f._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(i)}),e._zod.check=(f)=>{if(f.value.includes(r.includes,r.position))return;f.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:r.includes,input:f.value,inst:e,continue:!r.abort})}}),Jde=Lt("$ZodCheckStartsWith",(e,r)=>{tf.init(e,r);let a=new RegExp(`^${T8(r.prefix)}.*`);r.pattern??(r.pattern=a),e._zod.onattach.push((i)=>{let f=i._zod.bag;f.patterns??(f.patterns=new Set),f.patterns.add(a)}),e._zod.check=(i)=>{if(i.value.startsWith(r.prefix))return;i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:r.prefix,input:i.value,inst:e,continue:!r.abort})}}),$de=Lt("$ZodCheckEndsWith",(e,r)=>{tf.init(e,r);let a=new RegExp(`.*${T8(r.suffix)}$`);r.pattern??(r.pattern=a),e._zod.onattach.push((i)=>{let f=i._zod.bag;f.patterns??(f.patterns=new Set),f.patterns.add(a)}),e._zod.check=(i)=>{if(i.value.endsWith(r.suffix))return;i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:r.suffix,input:i.value,inst:e,continue:!r.abort})}});var eZe=Lt("$ZodCheckOverwrite",(e,r)=>{tf.init(e,r),e._zod.check=(a)=>{a.value=r.tx(a.value)}});class lH{constructor(e=[],r={}){this.content=[],this.indent=0,this.args=e,this.closed=r}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if(typeof e==="function"){e(this,{execution:"sync"}),e(this,{execution:"async"});return}let a=e.split(`
|
|
145
|
-
`).filter((s)=>s),i=Math.min(...a.map((s)=>s.length-s.trimStart().length)),f=a.map((s)=>s.slice(i)).map((s)=>" ".repeat(this.indent*2)+s);for(let s of f)this.content.push(s)}compile(){let e=Function,r=this?.content??[""];return new e(...Object.keys(this.closed),`return function (${this.args.join(", ")}) {
|
|
146
|
-
${r.join(`
|
|
147
|
-
`)}
|
|
148
|
-
};`)(...Object.values(this.closed))}}var rZe={major:4,minor:5,patch:4};var wa=Lt("$ZodType",(e,r)=>{var a;e??(e={}),e._zod.def=r,e._zod.bag=e._zod.bag||{},e._zod.version=rZe;let i=e._zod.def.checks,f=e._zod.traits.has("$ZodCheck")?[e,...i??[]]:i?.length?[...i]:[];for(let s of f)for(let l of s._zod.onattach)l(e);if(f.length===0)(a=e._zod).deferred??(a.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let s=(c,m,g)=>{if(c.memo)return c;let M=yL(c),v;for(let y of m){if(y._zod.def.when){if(Xue(c))continue;if(!y._zod.def.when(c))continue}else if(M)continue;let x=c.issues.length,_=y._zod.check(c);if(_ instanceof Promise&&g?.async===!1)throw new sM;if(v||_ instanceof Promise)v=(v??Promise.resolve()).then(async()=>{if(await _,c.issues.length===x)return;if(X9(c.issues,x,e),!M)M=yL(c,x)});else{if(c.issues.length===x)continue;if(X9(c.issues,x,e),!M)M=yL(c,x)}}if(v)return v.then(()=>c);return c},l=(c,m,g)=>{if(yL(c))return c.aborted=!0,c;let M=s(m,f,g);if(M instanceof Promise){if(g.async===!1)throw new sM;return M.then((v)=>e._zod.parse(v,g))}return e._zod.parse(M,g)};e._zod.run=(c,m)=>{if(m.skipChecks)return e._zod.parse(c,m);if(m.direction==="backward"){let M=e._zod.parse({value:c.value,issues:[]},{...m,skipChecks:!0});if(M instanceof Promise)return M.then((v)=>l(v,c,m));return l(M,c,m)}let g=e._zod.parse(c,m);if(g instanceof Promise){if(m.async===!1)throw new sM;return g.then((M)=>s(M,f,m))}return s(g,f,m)}}},{get "~standard"(){return Q9(this,"~standard",dH(this))},set "~standard"(e){vL(this,"~standard",e)}}),oZe=(e)=>e.success?{value:e.data}:{issues:e.error?.issues};function dH(e){return{validate:(r)=>{try{return oZe(ide(e,r))}catch(a){return fde(e,r).then(oZe)}},vendor:"zod",version:1}}var p4=Lt("$ZodString",(e,r)=>{wa.init(e,r),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??jde(e._zod.bag),e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=String(a.value)}catch(f){}if(typeof a.value==="string")return a;return a.issues.push({expected:"string",code:"invalid_type",input:a.value,inst:e}),a}}),$a=Lt("$ZodStringFormat",(e,r)=>{V2.init(e,r),p4.init(e,r)}),ZZe=Lt("$ZodGUID",(e,r)=>{r.pattern??(r.pattern=wde),$a.init(e,r)}),pZe=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=aH(i))}else r.pattern??(r.pattern=aH());$a.init(e,r)}),mZe=Lt("$ZodEmail",(e,r)=>{r.pattern??(r.pattern=zde),$a.init(e,r)}),hZe=1,gZe=2;function cyt(e,r){if(!r.normalize&&r.protocol?.source===Pde.source&&!/^https?:\/\//i.test(e))return hZe;try{return new URL(e)}catch{return gZe}}var uyt=/[\t\n\r]/g;function dyt(e){return e.replace(uyt,"")}function Zyt(e,r){return r.lastIndex=0,r.test(e.hostname)}function pyt(e,r){return r.lastIndex=0,r.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var MZe=Lt("$ZodURL",(e,r)=>{$a.init(e,r),e._zod.check=(a)=>{try{let i=a.value.trim(),f=cyt(i,r);if(f===hZe){a.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:a.value,inst:e,continue:!r.abort});return}if(f===gZe){a.issues.push({code:"invalid_format",format:"url",input:a.value,inst:e,continue:!r.abort});return}if(r.hostname&&!Zyt(f,r.hostname))a.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:r.hostname.source,input:a.value,inst:e,continue:!r.abort});if(r.protocol&&!pyt(f,r.protocol))a.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:r.protocol.source,input:a.value,inst:e,continue:!r.abort});a.value=r.normalize?f.href:dyt(i);return}catch(i){a.issues.push({code:"invalid_format",format:"url",input:a.value,inst:e,continue:!r.abort})}}}),vZe=Lt("$ZodEmoji",(e,r)=>{r.pattern??(r.pattern=Sde()),$a.init(e,r)}),xZe=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?yde:bde(r.length)),$a.init(e,r)}),yZe=Lt("$ZodCUID",(e,r)=>{r.pattern??(r.pattern=hde),$a.init(e,r)}),bZe=Lt("$ZodCUID2",(e,r)=>{r.pattern??(r.pattern=gde),$a.init(e,r)}),_Ze=Lt("$ZodULID",(e,r)=>{r.pattern??(r.pattern=Mde),$a.init(e,r)}),wZe=Lt("$ZodXID",(e,r)=>{r.pattern??(r.pattern=vde),$a.init(e,r)}),zZe=Lt("$ZodKSUID",(e,r)=>{r.pattern??(r.pattern=xde),$a.init(e,r)}),SZe=Lt("$ZodISODateTime",(e,r)=>{if(r.pattern??(r.pattern=Ode(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})}),LZe=Lt("$ZodISODate",(e,r)=>{r.pattern??(r.pattern=Dde),$a.init(e,r)}),kZe=Lt("$ZodISOTime",(e,r)=>{r.pattern??(r.pattern=Ede(r)),$a.init(e,r)}),CZe=Lt("$ZodISODuration",(e,r)=>{r.pattern??(r.pattern=_de),$a.init(e,r)}),IZe=Lt("$ZodIPv4",(e,r)=>{r.pattern??(r.pattern=Lde),$a.init(e,r),e._zod.bag.format="ipv4"}),myt=/^[0-9a-fA-F:.]+$/;function RZe(e){if(!myt.test(e))return!1;try{return new URL(`http://[${e}]`),!0}catch{return!1}}var PZe=Lt("$ZodIPv6",(e,r)=>{r.pattern??(r.pattern=kde),$a.init(e,r),e._zod.bag.format="ipv6",e._zod.check=(a)=>{if(!RZe(a.value))a.issues.push({code:"invalid_format",format:"ipv6",input:a.value,inst:e,continue:!r.abort})}});var TZe=Lt("$ZodCIDRv4",(e,r)=>{r.pattern??(r.pattern=Cde),$a.init(e,r)});function hyt(e){let r=e.split("/");if(r.length!==2)return!1;let[a,i]=r;if(!i)return!1;let f=Number(i);if(`${f}`!==i)return!1;if(f<0||f>128)return!1;return RZe(a)}var AZe=Lt("$ZodCIDRv6",(e,r)=>{r.pattern??(r.pattern=Ide),$a.init(e,r),e._zod.check=(a)=>{if(!hyt(a.value))a.issues.push({code:"invalid_format",format:"cidrv6",input:a.value,inst:e,continue:!r.abort})}});function DZe(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 EZe=Lt("$ZodBase64",(e,r)=>{r.pattern??(r.pattern=Rde),$a.init(e,r),e._zod.bag.contentEncoding="base64",e._zod.check=(a)=>{if(DZe(a.value))return;a.issues.push({code:"invalid_format",format:"base64",input:a.value,inst:e,continue:!r.abort})}});function gyt(e){if(!nH.test(e))return!1;let r=e.replace(/[-_]/g,(i)=>i==="-"?"+":"/"),a=r.padEnd(Math.ceil(r.length/4)*4,"=");return DZe(a)}var OZe=Lt("$ZodBase64URL",(e,r)=>{r.pattern??(r.pattern=nH),$a.init(e,r),e._zod.bag.contentEncoding="base64url",e._zod.check=(a)=>{if(gyt(a.value))return;a.issues.push({code:"invalid_format",format:"base64url",input:a.value,inst:e,continue:!r.abort})}}),jZe=Lt("$ZodE164",(e,r)=>{r.pattern??(r.pattern=Tde),$a.init(e,r)});function Myt(e,r=null){try{let a=e.split(".");if(a.length!==3)return!1;let[i]=a;if(!i)return!1;let f=JSON.parse(atob(i));if("typ"in f&&f?.typ!=="JWT")return!1;if(!f.alg)return!1;if(r&&(!("alg"in f)||f.alg!==r))return!1;return!0}catch{return!1}}var NZe=Lt("$ZodJWT",(e,r)=>{$a.init(e,r),e._zod.check=(a)=>{if(Myt(a.value,r.alg))return;a.issues.push({code:"invalid_format",format:"jwt",input:a.value,inst:e,continue:!r.abort})}});var ZH=Lt("$ZodNumber",(e,r)=>{wa.init(e,r),e._zod.pattern=e._zod.bag.pattern??q2,e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=Number(a.value)}catch(l){}let f=a.value;if(typeof f==="number"&&!Number.isNaN(f)&&Number.isFinite(f))return a;let s=typeof f==="number"?Number.isNaN(f)?"NaN":!Number.isFinite(f)?String(f):void 0:void 0;return a.issues.push({expected:"number",code:"invalid_type",input:f,inst:e,...s?{received:s}:{}}),a}}),FZe=Lt("$ZodNumberFormat",(e,r)=>{qde.init(e,r),ZH.init(e,r)}),BZe=Lt("$ZodBoolean",(e,r)=>{wa.init(e,r),e._zod.pattern=Fde,e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=Boolean(a.value)}catch(s){}let f=a.value;if(typeof f==="boolean")return a;return a.issues.push({expected:"boolean",code:"invalid_type",input:f,inst:e}),a}}),YZe=Lt("$ZodBigInt",(e,r)=>{wa.init(e,r),e._zod.pattern=Nde,e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=BigInt(a.value)}catch(f){}if(typeof a.value==="bigint")return a;return a.issues.push({expected:"bigint",code:"invalid_type",input:a.value,inst:e}),a}});var UZe=Lt("$ZodAny",(e,r)=>{wa.init(e,r),e._zod.parse=(a)=>a}),qZe=Lt("$ZodUnknown",(e,r)=>{wa.init(e,r),e._zod.parse=(a)=>a}),HZe=Lt("$ZodNever",(e,r)=>{wa.init(e,r),e._zod.parse=(a,i)=>(a.issues.push({expected:"never",code:"invalid_type",input:a.value,inst:e}),a)});var VZe=Lt("$ZodDate",(e,r)=>{wa.init(e,r),e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=new Date(a.value)}catch(c){}let f=a.value,s=f instanceof Date;if(s&&!Number.isNaN(f.getTime()))return a;return a.issues.push({expected:"date",code:"invalid_type",input:f,...s?{received:"Invalid Date"}:{},inst:e}),a}});function aZe(e,r,a){if(e.issues.length)r.issues.push(...A8(a,e.issues));r.value[a]=e.value}var WZe=Lt("$ZodArray",(e,r)=>{wa.init(e,r);let a=$s.memoizer;a?.attach(e),e._zod.parse=(i,f)=>{let s=i.value;if(!Array.isArray(s))return i.issues.push({expected:"array",code:"invalid_type",input:s,inst:e}),i;i.value=a?a.alloc(e,i,Array(s.length),f):Array(s.length);let l=[];for(let c=0;c<s.length;c++){let m=s[c],g=r.element._zod.run({value:m,issues:[]},f);if(g instanceof Promise)l.push(g.then((M)=>aZe(M,i,c)));else aZe(g,i,c)}if(l.length)return Promise.all(l).then(()=>i);return i}});function Z4(e,r,a,i,f,s){let l=a in i,c=s==="optional";if(!l&&c&&f==="optional")return;if(e.issues.length){if(f!==void 0&&c&&!l)return;r.issues.push(...A8(a,e.issues))}if(!l&&f===void 0){if(!e.issues.length)r.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[a]});return}if(e.value===void 0){if(l)r.value[a]=void 0}else r.value[a]=e.value}var vyt=[];function GZe(e){let r=Object.keys(e.shape),a=Object.getOwnPropertySymbols(e.shape),i=a.length?a:vyt,f=i.length?[...r,...i]:r;for(let l of f)if(!e.shape?.[l]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${String(l)}": expected a Zod schema`);let s=Wue(e.shape);return{...e,allKeys:f,symbolKeys:i,keySet:new Set(r),numKeys:r.length,optionalKeys:new Set(s)}}function KZe(e,r,a,i,f,s){let l=[],c=f.keySet,m=f.catchall._zod,g=m.def.type,{optin:M,optout:v}=m;for(let y in r){if(c.has(y))continue;if(y==="__proto__"){if(g==="never")l.push(y);continue}if(g==="never"){l.push(y);continue}let x=m.run({value:r[y],issues:[]},i);if(x instanceof Promise)e.push(x.then((_)=>Z4(_,a,y,r,M,v)));else Z4(x,a,y,r,M,v)}if(l.length)a.issues.push({code:"unrecognized_keys",keys:l,input:r,inst:s,continue:!0});if(!e.length)return a;return Promise.all(e).then(()=>a)}var cH=new WeakMap,xyt=Lt("$ZodObject",(e,r)=>{if(wa.init(e,r),!Object.getOwnPropertyDescriptor(r,"shape")?.get){let m=r.shape;cH.set(r,m),Object.defineProperty(r,"shape",{get:()=>{let g={...m};return Object.defineProperty(r,"shape",{value:g}),cH.set(r,g),g}})}let i=F2(()=>GZe(r));Ro(e,"propValues",(m)=>{let g=m.def.shape,M={};for(let v in g){let y=g[v]._zod;if(y.values){if(!Object.prototype.hasOwnProperty.call(M,v))Yi(M,v,new Set);for(let x of y.values)M[v].add(x);if(y.optin!==void 0)M[v].add(void 0)}}return M});let f=xR,s=r.catchall,l,c=$s.memoizer;c?.attach(e),e._zod.parse=(m,g)=>{l??(l=i.value);let M=m.value;if(!f(M))return m.issues.push({expected:"object",code:"invalid_type",input:M,inst:e}),m;m.value=c?c.alloc(e,m,{},g):{};let v=[],y=l.shape;for(let x of l.allKeys){if(x==="__proto__")continue;let _=y[x],j=_._zod.optin,U=_._zod.optout,T=_._zod.run({value:M[x],issues:[]},g);if(T instanceof Promise)v.push(T.then((N)=>Z4(N,m,x,M,j,U)));else Z4(T,m,x,M,j,U)}if(!s)return v.length?Promise.all(v).then(()=>m):m;return KZe(v,M,m,g,i.value,e)}}),XZe=Lt("$ZodObjectJIT",(e,r)=>{xyt.init(e,r);let a=e._zod.parse,i=F2(()=>GZe(r)),f=$s.memoizer,s=(x)=>{let _=i.value,j=_.symbolKeys,U=new lH(["payload","ctx"],{shape:x,inst:e,memo:f,syms:j}),T=(J)=>`shape[${J}]._zod.run({ value: input[${J}], issues: [] }, ctx)`,N=(J,ee)=>`
|
|
149
|
-
for (let i = 0; i < ${J}.issues.length; i++) {
|
|
150
|
-
const iss = ${J}.issues[i];
|
|
151
|
-
iss.path = iss.path ? [${ee}, ...iss.path] : [${ee}];
|
|
152
|
-
payload.issues.push(iss);
|
|
153
|
-
}`;U.write("const input = payload.value;");let G=Object.create(null),X=0;for(let J of _.allKeys)G[J]=`key_${X++}`;U.write(f?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(let J of _.allKeys){if(J==="__proto__")continue;let ee=G[J],re=typeof J==="symbol"?`syms[${j.indexOf(J)}]`:Uue(J),oe=`${re} in input`,ae=x[J],ye=ae?._zod?.optin,We=ye!==void 0,Ye=ae?._zod?.optout==="optional";if(U.write(`const ${ee} = ${T(re)};`),We&&Ye){let ze=ye==="optional"?`${ee}_present`:`${ee}.value !== undefined || ${ee}_present`;U.write(`
|
|
154
|
-
const ${ee}_present = ${oe};
|
|
155
|
-
if (!${ee}.issues.length || ${ee}_present) {
|
|
156
|
-
if (${ee}.issues.length) {${N(ee,re)}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
if (${ze}) {
|
|
160
|
-
newResult[${re}] = ${ee}.value;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
`)}else if(!We)U.write(`
|
|
165
|
-
const ${ee}_present = ${oe};
|
|
166
|
-
if (${ee}.issues.length) {${N(ee,re)}
|
|
167
|
-
}
|
|
168
|
-
if (!${ee}_present && !${ee}.issues.length) {
|
|
169
|
-
payload.issues.push({
|
|
170
|
-
code: "invalid_type",
|
|
171
|
-
expected: "nonoptional",
|
|
172
|
-
input: undefined,
|
|
173
|
-
path: [${re}]
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
if (${ee}_present) {
|
|
178
|
-
newResult[${re}] = ${ee}.value;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
`);else U.write(`
|
|
182
|
-
if (${ee}.issues.length) {${N(ee,re)}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
if (${ee}.value === undefined) {
|
|
186
|
-
if (${oe}) {
|
|
187
|
-
newResult[${re}] = undefined;
|
|
188
|
-
}
|
|
189
|
-
} else {
|
|
190
|
-
newResult[${re}] = ${ee}.value;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
`)}return U.write("payload.value = newResult;"),U.write("return payload;"),U.compile()},l,c=xR,m=!$s.jitless,M=m&&Hue.value,v=r.catchall,y;e._zod.parse=(x,_)=>{y??(y=i.value);let j=x.value;if(!c(j))return x.issues.push({expected:"object",code:"invalid_type",input:j,inst:e}),x;if(m&&M&&_?.async===!1&&_.jitless!==!0){if(!l)l=s(r.shape);if(x=l(x,_),!v)return x;return KZe([],j,x,_,y,e)}return a(x,_)}});function nZe(e,r,a,i){for(let s of e)if(s.issues.length===0)return r.value=s.value,r;let f=e.filter((s)=>!yL(s));if(f.length===1)return r.value=f[0].value,f[0];return r.issues.push({code:"invalid_union",input:r.value,inst:a,errors:e.map((s)=>s.issues.map((l)=>yZ(l,i,Kl())))}),r}var pH=Lt("$ZodUnion",(e,r)=>{wa.init(e,r),Ro(e,"optin",(i)=>i.def.options.some((f)=>f._zod.optin==="defaulted")?"defaulted":i.def.options.some((f)=>f._zod.optin!==void 0)?"optional":void 0),Ro(e,"optout",(i)=>i.def.options.some((f)=>f._zod.optout==="optional")?"optional":void 0),Ro(e,"values",(i)=>{if(i.def.options.every((f)=>f._zod.values))return new Set(i.def.options.flatMap((f)=>Array.from(f._zod.values)));return}),Ro(e,"pattern",(i)=>{if(i.def.options.every((f)=>f._zod.pattern)){let f=i.def.options.map((s)=>s._zod.pattern);return new RegExp(`^(${f.map((s)=>o4(s.source)).join("|")})$`)}return});let a=r.options.length===1?r.options[0]._zod.run:null;e._zod.parse=(i,f)=>{if(a)return a(i,f);let s=!1,l=[];for(let c of r.options){let m=c._zod.run({value:i.value,issues:[]},f);if(m instanceof Promise)l.push(m),s=!0;else{if(m.issues.length===0)return m;l.push(m)}}if(!s)return nZe(l,i,e,f);return Promise.all(l).then((c)=>nZe(c,i,e,f))}});var QZe=Lt("$ZodDiscriminatedUnion",(e,r)=>{r.inclusive=!1,pH.init(e,r);let a=e._zod.parse;Ro(e,"propValues",(f)=>{let s={};for(let l of f.def.options){let c=l._zod.propValues;if(!c||Object.keys(c).length===0)throw Error(`Invalid discriminated union option at index "${f.def.options.indexOf(l)}"`);for(let[m,g]of Object.entries(c)){if(!Object.prototype.hasOwnProperty.call(s,m))Yi(s,m,new Set);for(let M of g)s[m].add(M)}}return s}),r.options.forEach((f,s)=>{let l=cH.get(f._zod.def);if(l&&!Object.prototype.hasOwnProperty.call(l,r.discriminator))throw Error(`Invalid discriminated union option at index "${s}"`)});let i=F2(()=>{let f=r.options,s=new Map;for(let l of f){let c=l._zod.propValues?.[r.discriminator];if(!c||c.size===0)throw Error(`Invalid discriminated union option at index "${r.options.indexOf(l)}"`);for(let m of c){if(s.has(m))throw Error(`Duplicate discriminator value "${String(m)}"`);s.set(m,l)}}return s});e._zod.parse=(f,s)=>{let l=f.value;if(!xR(l))return f.issues.push({code:"invalid_type",expected:"object",input:l,inst:e}),f;let c=i.value.get(l?.[r.discriminator]);if(c)return c._zod.run(f,s);if(r.unionFallback||s.direction==="backward")return a(f,s);return f.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:r.discriminator,options:Array.from(i.value.keys()),input:l,path:[r.discriminator],inst:e}),f}}),JZe=Lt("$ZodIntersection",(e,r)=>{wa.init(e,r),e._zod.parse=(a,i)=>{let f=a.value,s=r.left._zod.run({value:f,issues:[]},i),l=r.right._zod.run({value:f,issues:[]},i);if(s instanceof Promise||l instanceof Promise)return Promise.all([s,l]).then(([m,g])=>iZe(a,m,g));return iZe(a,s,l)}});function uH(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(xL(e)&&xL(r)){let a=Object.keys(r),i=Object.keys(e).filter((s)=>a.indexOf(s)!==-1),f={...e,...r};if(Object.prototype.hasOwnProperty.call(f,"__proto__"))delete f.__proto__;for(let s of i){if(s==="__proto__")continue;let l=uH(e[s],r[s]);if(!l.valid)return{valid:!1,mergeErrorPath:[s,...l.mergeErrorPath]};f[s]=l.data}return{valid:!0,data:f}}if(Array.isArray(e)&&Array.isArray(r)){if(e.length!==r.length)return{valid:!1,mergeErrorPath:[]};let a=[];for(let i=0;i<e.length;i++){let f=e[i],s=r[i],l=uH(f,s);if(!l.valid)return{valid:!1,mergeErrorPath:[i,...l.mergeErrorPath]};a.push(l.data)}return{valid:!0,data:a}}return{valid:!1,mergeErrorPath:[]}}function iZe(e,r,a){let i=new Map,f,s=new Map,l=(g,M)=>{let v;if(g.code==="unrecognized_keys"&&!g.path?.length)f??(f=g),v=g.keys;else if(g.code==="invalid_key"&&g.origin==="record"&&g.path?.length===1){let y=String(g.path[0]);if(!s.has(y))s.set(y,g);v=[y]}else return!1;for(let y of v){if(!i.has(y))i.set(y,{});i.get(y)[M]=!0}return!0};for(let g of r.issues)if(!l(g,"l"))e.issues.push(g);for(let g of a.issues)if(!l(g,"r"))e.issues.push(g);let c=[...i].filter(([,g])=>g.l&&g.r).map(([g])=>g);if(c.length){let g=f?c.filter((M)=>f.keys.includes(M)):[];if(g.length)e.issues.push({...f,keys:g});for(let M of c)if(!g.includes(M)&&s.has(M))e.issues.push(s.get(M))}let m=uH(r.value,a.value);if(!m.valid){if(yL(e))return e;throw Error(`Unmergable intersection. Error path: ${JSON.stringify(m.mergeErrorPath)}`)}return e.value=m.data,e}var $Ze=Lt("$ZodRecord",(e,r)=>{wa.init(e,r);let a=$s.memoizer;a?.attach(e),e._zod.parse=(i,f)=>{let s=i.value;if(!xL(s))return i.issues.push({expected:"record",code:"invalid_type",input:s,inst:e}),i;let l=[],c=r.keyType._zod.values;if(c&&!r.partial){i.value=a?a.alloc(e,i,{},f):{};let m=new Set;for(let M of c)if(typeof M==="string"||typeof M==="number"||typeof M==="symbol"){if(m.add(typeof M==="number"?M.toString():M),M==="__proto__")continue;let v=r.keyType._zod.run({value:M,issues:[]},f);if(v instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(v.issues.length){i.issues.push({code:"invalid_key",origin:"record",issues:v.issues.map((_)=>yZ(_,f,Kl())),input:M,path:[M],inst:e});continue}let y=v.value;if(y==="__proto__")continue;let x=r.valueType._zod.run({value:s[M],issues:[]},f);if(x instanceof Promise)l.push(x.then((_)=>{if(_.issues.length)i.issues.push(...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 s)if(!m.has(M))if(r.mode==="loose"){if(M==="__proto__")continue;i.value[M]=s[M]}else g=g??[],g.push(M);if(g&&g.length>0)i.issues.push({code:"unrecognized_keys",input:s,inst:e,keys:g,continue:!0})}else{i.value=a?a.alloc(e,i,{},f):{};let m;for(let g of Reflect.ownKeys(s)){if(g==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(s,g))continue;let M=r.keyType._zod.run({value:g,issues:[]},f);if(M instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof g==="string"&&q2.test(g)&&M.issues.length){let _=r.keyType._zod.run({value:Number(g),issues:[]},f);if(_ instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(_.issues.length===0)M=_}if(M.issues.length){if(r.mode==="loose")i.value[g]=s[g];else if(c)m=m??[],m.push(g);else i.issues.push({code:"invalid_key",origin:"record",issues:M.issues.map((_)=>yZ(_,f,Kl())),input:g,path:[g],inst:e});continue}let y=M.value;if(y==="__proto__")continue;let x=r.valueType._zod.run({value:s[g],issues:[]},f);if(x instanceof Promise)l.push(x.then((_)=>{if(_.issues.length)i.issues.push(...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:s,inst:e,keys:m,continue:!0})}if(l.length)return Promise.all(l).then(()=>i);return i}});var epe=Lt("$ZodEnum",(e,r)=>{wa.init(e,r);let a=r4(r.entries),i=new Set(a);e._zod.values=i;let f=a.filter((s)=>Vue.has(typeof s));e._zod.pattern=new RegExp(f.length?`^(${f.map((s)=>T8(s.toString())).join("|")})$`:"^[^\\s\\S]$"),e._zod.parse=(s,l)=>{let c=s.value;if(i.has(c))return s;return s.issues.push({code:"invalid_value",values:a,input:c,inst:e}),s}}),tpe=Lt("$ZodLiteral",(e,r)=>{wa.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,f)=>{let s=i.value;if(a.has(s))return i;return i.issues.push({code:"invalid_value",values:r.values,input:s,inst:e}),i}});var rpe=Lt("$ZodTransform",(e,r)=>{wa.init(e,r),e._zod.optin="optional",$s.memoizer?.guard(e),e._zod.parse=(a,i)=>{if(i.direction==="backward")throw new B2(e.constructor.name);let f=r.transform(a.value,a);if(i.async)return(f instanceof Promise?f:Promise.resolve(f)).then((l)=>(a.value=l,a));if(f instanceof Promise)throw new sM;return a.value=f,a}});function fZe(e,r){return e.value=r.issues.length?void 0:r.value,e}var mH=Lt("$ZodOptional",(e,r)=>{wa.init(e,r),Ro(e,"optin",(a)=>a.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",Ro(e,"values",(a)=>{let i=a.def.innerType._zod.values;return i?new Set([...i,void 0]):void 0}),Ro(e,"pattern",(a)=>{let i=a.def.innerType._zod.pattern;return i?new RegExp(`^(${o4(i.source)})?$`):void 0}),e._zod.parse=(a,i)=>{if(a.value===void 0){if(r.innerType._zod.optin!=="defaulted")return a;let f=r.innerType._zod.run({value:a.value,issues:[]},i);if(f instanceof Promise)return f.then((s)=>fZe(a,s));return fZe(a,f)}return r.innerType._zod.run(a,i)}}),ope=Lt("$ZodExactOptional",(e,r)=>{mH.init(e,r),Ro(e,"values",(a)=>a.def.innerType._zod.values),Ro(e,"pattern",(a)=>a.def.innerType._zod.pattern),e._zod.parse=(a,i)=>r.innerType._zod.run(a,i)}),ape=Lt("$ZodNullable",(e,r)=>{wa.init(e,r),Ro(e,"optin",(a)=>a.def.innerType._zod.optin),Ro(e,"optout",(a)=>a.def.innerType._zod.optout),Ro(e,"pattern",(a)=>{let i=a.def.innerType._zod.pattern;return i?new RegExp(`^(${o4(i.source)}|null)$`):void 0}),Ro(e,"values",(a)=>a.def.innerType._zod.values?new Set([...a.def.innerType._zod.values,null]):void 0),e._zod.parse=(a,i)=>{if(a.value===null)return a;return r.innerType._zod.run(a,i)}}),npe=Lt("$ZodDefault",(e,r)=>{wa.init(e,r),e._zod.optin="defaulted",Ro(e,"values",(a)=>a.def.innerType._zod.values),e._zod.parse=(a,i)=>{if(i.direction==="backward")return r.innerType._zod.run(a,i);if(a.value===void 0)return a.value=r.defaultValue,a;let f=r.innerType._zod.run(a,i);if(f instanceof Promise)return f.then((s)=>sZe(s,r));return sZe(f,r)}});function sZe(e,r){if(e.value===void 0)e.value=r.defaultValue;return e}var ipe=Lt("$ZodPrefault",(e,r)=>{wa.init(e,r),e._zod.optin="defaulted",Ro(e,"values",(a)=>a.def.innerType._zod.values),e._zod.parse=(a,i)=>{if(i.direction==="backward")return r.innerType._zod.run(a,i);if(a.value===void 0)a.value=r.defaultValue;return r.innerType._zod.run(a,i)}}),fpe=Lt("$ZodNonOptional",(e,r)=>{wa.init(e,r),Ro(e,"values",(a)=>{let i=a.def.innerType._zod.values;return i?new Set([...i].filter((f)=>f!==void 0)):void 0}),e._zod.parse=(a,i)=>{let f=r.innerType._zod.run(a,i);if(f instanceof Promise)return f.then((s)=>lZe(s,e));return lZe(f,e)}});function lZe(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 cZe(e,r,a,i){if(!r.issues.length){if(e.value=r.value,r.memo)e.memo=!0;return e}return e.value=a.catchValue({...r,value:e.value,error:{issues:r.issues.map((f)=>yZ(f,i,Kl()))},input:e.value}),e}var spe=Lt("$ZodCatch",(e,r)=>{wa.init(e,r),Ro(e,"optin",(a)=>a.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),Ro(e,"optout",(a)=>a.def.innerType._zod.optout),Ro(e,"values",(a)=>a.def.innerType._zod.values),e._zod.parse=(a,i)=>{if(i.direction==="backward")return r.innerType._zod.run(a,i);let f=r.innerType._zod.run({value:a.value,issues:[]},i);if(f instanceof Promise)return f.then((s)=>cZe(a,s,r,i));return cZe(a,f,r,i)}});var lpe=Lt("$ZodPipe",(e,r)=>{wa.init(e,r),Ro(e,"values",(a)=>a.def.in._zod.values),Ro(e,"optin",(a)=>a.def.in._zod.optin),Ro(e,"optout",(a)=>a.def.out._zod.optout),Ro(e,"propValues",(a)=>a.def.in._zod.propValues),e._zod.parse=(a,i)=>{if(i.direction==="backward"){let s=r.out._zod.run(a,i);if(s instanceof Promise)return s.then((l)=>d4(l,r.in,i));return d4(s,r.in,i)}let f=r.in._zod.run(a,i);if(f instanceof Promise)return f.then((s)=>d4(s,r.out,i));return d4(f,r.out,i)}});function d4(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 cpe=Lt("$ZodReadonly",(e,r)=>{wa.init(e,r),Ro(e,"propValues",(a)=>a.def.innerType._zod.propValues),Ro(e,"values",(a)=>a.def.innerType._zod.values),Ro(e,"optin",(a)=>a.def.innerType?._zod?.optin),Ro(e,"optout",(a)=>a.def.innerType?._zod?.optout),e._zod.parse=(a,i)=>{if(i.direction==="backward")return r.innerType._zod.run(a,i);let f=r.innerType._zod.run(a,i);if(f instanceof Promise)return f.then(uZe);return uZe(f)}});function uZe(e){if(!e.memo)e.value=Object.freeze(e.value);return e}var upe=Lt("$ZodLazy",(e,r)=>{wa.init(e,r),Yue(e._zod,"innerType",()=>{let a=r;if(!a._cachedInner)a._cachedInner=r.getter();return a._cachedInner}),Ro(e,"pattern",(a)=>a.innerType?._zod?.pattern),Ro(e,"propValues",(a)=>a.innerType?._zod?.propValues),Ro(e,"optin",(a)=>a.innerType?._zod?.optin??void 0),Ro(e,"optout",(a)=>a.innerType?._zod?.optout??void 0),e._zod.parse=(a,i)=>e._zod.innerType._zod.run(a,i)}),dpe=Lt("$ZodCustom",(e,r)=>{tf.init(e,r),wa.init(e,r),e._zod.parse=(a,i)=>a,e._zod.check=(a)=>{let i=a.value,f=r.fn(i);if(f instanceof Promise)return f.then((s)=>dZe(s,a,i,e));dZe(f,a,i,e);return}});function dZe(e,r,a,i){if(!e){let f={code:"custom",input:a,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};if(i._zod.def.params)f.params=i._zod.def.params;r.issues.push(bL(f))}}class mpe extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform");this.name="ZodCyclicError"}}var gH="~memo",Zpe=[];function hH(e){return e.map((r)=>r.path?{...r,path:r.path.slice()}:{...r})}var ppe=new WeakMap;function hpe(e,r){let a=ppe.get(e);if(a!==void 0)return a;if(r.has(e))return!0;r.add(e);let i=!1,f=(c)=>{if(!i&&c?._zod&&hpe(c,r))i=!0},s=e._zod.def,l=s.type;switch(l){case"object":{for(let c of Reflect.ownKeys(s.shape))f(s.shape[c]);f(s.catchall);break}case"array":f(s.element);break;case"tuple":for(let c of s.items)f(c);f(s.rest);break;case"record":case"map":f(s.keyType),f(s.valueType);break;case"set":f(s.valueType);break;case"union":for(let c of s.options)f(c);break;case"intersection":f(s.left),f(s.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":f(s.innerType);break;case"pipe":f(s.in),f(s.out);break;case"function":f(s.input),f(s.output);break;case"lazy":f(e._zod.innerType);break;case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":break;default:for(let c in s){let m=Object.getOwnPropertyDescriptor(s,c);if(!m||m.get)continue;let g=m.value;if(!g||typeof g!=="object")continue;if(g._zod)f(g);else if(Array.isArray(g))for(let M of g)f(M)}}return r.delete(e),ppe.set(e,i),i}function yyt(e,r){let a=e.buckets.get(r);if(!a)a=new Map,e.buckets.set(r,a);return a}var m4,h4=[],byt={alloc(e,r,a){let i=m4;if(!i)return a;m4=void 0;let f={value:a,issues:null};return i.set(r.value,f),h4.push(f),a},guard(e){var r;(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred.push(()=>{let a=e._zod.parse,i=(f,s)=>{if(s.direction!=="backward"&&_yt(s,f.value))throw new mpe;return a(f,s)};if(e._zod.parse=i,e._zod.run===a)e._zod.run=i})},attach(e){var r;let a,i,f;(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred.push(()=>{let s=e._zod.parse,l=(c,m)=>{if(a===void 0){if(a=hpe(e,new Set),!a){if(e._zod.parse=s,e._zod.run===l)e._zod.run=s;return s(c,m)}}let g=c.value;if(g===null||typeof g!=="object")return s(c,m);let M=m[gH];if(!M)M={buckets:new Map,backEdges:void 0},m[gH]=M;let v;if(i===m)v=f;else v=yyt(M,e),i=m,f=v;let y=v.get(g);if(y){if(c.value=y.value,y.issues){if(y.issues.length)c.issues.push(...hH(y.issues))}else c.memo=!0,M.backEdges??(M.backEdges=new Set),M.backEdges.add(y.value);return c}m4=v;let x=h4.length,_=s(c,m);m4=void 0;let j=h4.length>x?h4.pop():void 0;if(_ instanceof Promise)return _.then((U)=>{if(j)j.issues=U.issues.length?hH(U.issues):Zpe;return U});if(j)j.issues=_.issues.length?hH(_.issues):Zpe;return _};if(e._zod.parse=l,e._zod.run===s)e._zod.run=l})}};function gpe(){return byt}function _yt(e,r){let a=e[gH]?.backEdges;return a!==void 0&&r!==null&&typeof r==="object"&&a.has(r)}var wyt=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function r(s){return e[s]??null}let a={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",credit_card:"credit card number",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};function f(s,l){if(s==="number"&&typeof l==="number"&&!Number.isFinite(l))return String(l);return i[s]??s}return(s)=>{switch(s.code){case"invalid_type":{let l=f(s.expected),c=Que(s.input),m=f(c,s.input);return`Invalid input: expected ${l}, received ${m}`}case"invalid_value":if(s.values.length===1)return`Invalid input: expected ${K9(s.values[0])}`;return`Invalid option: expected one of ${V9(s.values,"|")}`;case"too_big":{let l=s.exact?"exactly ":s.inclusive?"<=":"<",c=r(s.origin);if(c)return`Too big: expected ${s.origin??"value"} to have ${l}${s.maximum.toString()} ${c.unit??"elements"}`;return`Too big: expected ${s.origin??"value"} to be ${l}${s.maximum.toString()}`}case"too_small":{let l=s.exact?"exactly ":s.inclusive?">=":">",c=r(s.origin);if(c)return`Too small: expected ${s.origin} to have ${l}${s.minimum.toString()} ${c.unit}`;return`Too small: expected ${s.origin} to be ${l}${s.minimum.toString()}`}case"invalid_format":{let l=s;if(l.format==="starts_with")return`Invalid string: must start with "${l.prefix}"`;if(l.format==="ends_with")return`Invalid string: must end with "${l.suffix}"`;if(l.format==="includes")return`Invalid string: must include "${l.includes}"`;if(l.format==="regex")return`Invalid string: must match pattern ${l.pattern}`;return`Invalid ${a[l.format]??s.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${s.divisor}`;case"unrecognized_keys":return`Unrecognized key${s.keys.length>1?"s":""}: ${V9(s.keys,", ")}`;case"invalid_key":return`Invalid key in ${s.origin}`;case"invalid_union":if(s.options&&Array.isArray(s.options)&&s.options.length>0)return`Invalid discriminator value. Expected ${s.options.map((c)=>`'${c}'`).join(" | ")}`;if(s.inclusive===!1)return"Invalid input: more than one option matched";return"Invalid input";case"invalid_element":return`Invalid value in ${s.origin}`;default:return"Invalid input"}}};function MH(){return{localeError:wyt()}}var Mpe;class vpe{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 zyt(){return new vpe}(Mpe=globalThis).__zod_globalRegistry??(Mpe.__zod_globalRegistry=zyt());var _L=globalThis.__zod_globalRegistry;function xpe(e,r){return new e({type:"string",...zr(r)})}function ype(e,r){return new e({type:"string",coerce:!0,...zr(r)})}function bpe(e,r){return new e({type:"string",format:"email",check:"string_format",abort:!1,...zr(r)})}function _pe(e,r){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...zr(r)})}function wpe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...zr(r)})}function zpe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...zr(r)})}function Spe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...zr(r)})}function Lpe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...zr(r)})}function kpe(e,r){return new e({type:"string",format:"url",check:"string_format",abort:!1,...zr(r)})}function Cpe(e,r){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...zr(r)})}function Ipe(e,r){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...zr(r)})}function Rpe(e,r){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...zr(r)})}function Ppe(e,r){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...zr(r)})}function Tpe(e,r){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...zr(r)})}function Ape(e,r){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...zr(r)})}function Dpe(e,r){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...zr(r)})}function Epe(e,r){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...zr(r)})}function Ope(e,r){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...zr(r)})}function jpe(e,r){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...zr(r)})}function Npe(e,r){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...zr(r)})}function Fpe(e,r){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...zr(r)})}function Bpe(e,r){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...zr(r)})}function Ype(e,r){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...zr(r)})}function Upe(e,r){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...zr(r)})}function qpe(e,r){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...zr(r)})}function Hpe(e,r){return new e({type:"string",format:"date",check:"string_format",...zr(r)})}function Vpe(e,r){return new e({type:"string",format:"time",check:"string_format",precision:null,...zr(r)})}function Wpe(e,r){return new e({type:"string",format:"duration",check:"string_format",...zr(r)})}function Gpe(e,r){return new e({type:"number",checks:[],...zr(r)})}function Kpe(e,r){return new e({type:"number",coerce:!0,checks:[],...zr(r)})}function Xpe(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...zr(r)})}function Qpe(e,r){return new e({type:"boolean",...zr(r)})}function Jpe(e,r){return new e({type:"boolean",coerce:!0,...zr(r)})}function $pe(e,r){return new e({type:"bigint",coerce:!0,...zr(r)})}function eme(e){return new e({type:"any"})}function tme(e){return new e({type:"unknown"})}function rme(e,r){return new e({type:"never",...zr(r)})}function ome(e,r){return new e({type:"date",...zr(r)})}function ame(e,r){return new e({type:"date",coerce:!0,...zr(r)})}function yR(e,r){return new fH({check:"less_than",...zr(r),value:e,inclusive:!1})}function lM(e,r){return new fH({check:"less_than",...zr(r),value:e,inclusive:!0})}function bR(e,r){return new sH({check:"greater_than",...zr(r),value:e,inclusive:!1})}function cM(e,r){return new sH({check:"greater_than",...zr(r),value:e,inclusive:!0})}function W2(e,r){return new Ude({check:"multiple_of",...zr(r),value:e})}function g4(e,r){return new Hde({check:"max_length",...zr(r),maximum:e})}function _R(e,r){return new Vde({check:"min_length",...zr(r),minimum:e})}function M4(e,r){return new Wde({check:"length_equals",...zr(r),length:e})}function vH(e,r){return new Gde({check:"string_format",format:"regex",...zr(r),pattern:e})}function xH(e){return new Kde({check:"string_format",format:"lowercase",...zr(e)})}function yH(e){return new Xde({check:"string_format",format:"uppercase",...zr(e)})}function bH(e,r){return new Qde({check:"string_format",format:"includes",...zr(r),includes:e})}function _H(e,r){return new Jde({check:"string_format",format:"starts_with",...zr(r),prefix:e})}function wH(e,r){return new $de({check:"string_format",format:"ends_with",...zr(r),suffix:e})}function D8(e){return new eZe({check:"overwrite",tx:e})}function zH(e){return D8((r)=>r.normalize(e))}function SH(){return D8((e)=>e.trim())}function LH(){return D8((e)=>e.toLowerCase())}function kH(){return D8((e)=>e.toUpperCase())}function CH(){return D8((e)=>que(e))}function nme(e,r,a){return new e({type:"array",element:r,...zr(a)})}function ime(e,r,a){return new e({type:"custom",check:"custom",fn:r,...zr(a)})}function fme(e,r){let a=Syt((i)=>(i.addIssue=(f)=>{if(typeof f==="string")i.issues.push(bL(f,i.value,a._zod.def));else{let s=f;if(s.fatal)s.continue=!1;if(s.code??(s.code="custom"),!("input"in s))s.input=i.value;s.inst??(s.inst=a),s.continue??(s.continue=!a._zod.def.abort),i.issues.push(bL(s))}},e(i.value,i)),r);return a}function Syt(e,r){let a=new tf({check:"custom",...zr(r)});return a._zod.check=e,a}function G2(e,...r){for(let a of r)for(let i of Reflect.ownKeys(a))if(Object.prototype.propertyIsEnumerable.call(a,i))Yi(e,i,a[i]);return e}function RH(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??_L,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 bu(e,r,a,i,f){let s=typeof r.unrepresentable==="function"?r.unrepresentable({zodSchema:e,path:i.path,message:f}):r.unrepresentable;if(s==="any")return!1;if(s===void 0||s==="throw")throw Error(f);return Object.assign(a,s),!0}function wn(e,r,a={path:[],schemaPath:[]}){var i;let f=e._zod.def,s=r.seen.get(e);if(s){if(s.count++,a.schemaPath.includes(e))s.cycle=a.path;return s.schema}let l={schema:{},count:1,cycle:void 0,path:a.path};r.seen.set(e,l),r.sharedDefsExtractedFor=void 0,r.sharedEmitDoneFor=void 0;let c=e._zod.toJSONSchema?.();if(c)l.schema=c;else{let M={...a,schemaPath:[...a.schemaPath,e],path:a.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(r,l.schema,M);else{let y=l.schema,x=r.processors[f.type];if(!x)throw Error(`[toJSONSchema]: Non-representable type encountered: ${f.type}`);x(e,r,y,M)}let v=e._zod.parent;if(v){if(!l.ref)l.ref=v;wn(v,r,M),r.seen.get(v).isParent=!0}}let m=r.metadataRegistry.get(e);if(m)G2(l.schema,m);if(r.io==="input"&&vs(e))delete l.schema.examples,delete l.schema.default;if(r.io==="input"&&"_prefault"in l.schema)(i=l.schema).default??(i.default=l.schema._prefault);return delete l.schema._prefault,r.seen.get(e).schema}function sme(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function PH(e,r){let a=e.seen.get(r);if(!a)throw Error("Unprocessed schema. This is a bug in Zod.");if(e.external&&e.sharedDefsExtractedFor===e.external)return;let i=new Map;for(let l of e.seen.entries()){let c=e.metadataRegistry.get(l[0])?.id;if(c){let m=i.get(c);if(m&&m!==l[0])throw Error(`Duplicate schema id "${c}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(c,l[0])}}let f=(l)=>{let c=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let v=e.external.registry.get(l[0])?.id,y=e.external.uri??((_)=>_);if(v)return{ref:y(v)};let x=l[1].defId??l[1].schema.id??`schema${e.counter++}`;return l[1].defId=x,{defId:x,ref:`${y("__shared")}#/${c}/${sme(x)}`}}let m="#",g=`${m}/${c}/`;if(l[1]===a&&!l[1].schema.id)return{ref:m};let M=l[1].schema.id??`__schema${e.counter++}`;return{defId:M,ref:g+sme(M)}},s=(l)=>{if(l[1].schema.$ref)return;let c=l[1],{ref:m,defId:g}=f(l);if(c.def={...c.schema},g)c.defId=g;let M=c.schema;for(let v in M)delete M[v];M.$ref=m};if(e.cycles==="throw")for(let l of e.seen.entries()){let c=l[1];if(c.cycle)throw Error(`Cycle detected: #/${c.cycle?.join("/")}/<root>
|
|
194
|
-
|
|
195
|
-
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let l of e.seen.entries()){let c=l[1];if(r===l[0]){s(l);continue}if(e.external){let g=e.external.registry.get(l[0])?.id;if(r!==l[0]&&g){s(l);continue}}if(e.metadataRegistry.get(l[0])?.id){s(l);continue}if(c.cycle){s(l);continue}if(c.count>1){if(e.reused==="ref"){s(l);continue}}}if(e.external)e.sharedDefsExtractedFor=e.external}function ume(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;ume(i);let f=Object.keys(i);if(f.length!==1||f[0]!=="type")return;let s=i.type;for(let l of Array.isArray(s)?s:[s]){if(typeof l!=="string")return;if(!a.includes(l))a.push(l)}}delete e.anyOf,e.type=a.length===1?a[0]:a}var dme=new Set(["type","properties","required","additionalProperties"]),lme=["oneOf","anyOf"];function cme(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 IH(e){let r=[];for(let s of e){if(typeof s!=="object"||s.type!=="object")return null;for(let l in s)if(!dme.has(l))return null;r.push(s)}let a={},i=new Set;for(let s of r){for(let l in s.properties){if(Object.prototype.hasOwnProperty.call(a,l))continue;let c=[];for(let g of r){let M=g.properties?.[l]??cme(g);if(M===null||M===void 0)continue;if(!c.some((v)=>JSON.stringify(v)===JSON.stringify(M)))c.push(M)}let m=c.length===1?c[0]:IH(c)??{allOf:c};Yi(a,l,m)}for(let l of s.required??[])i.add(l)}let f={type:"object",properties:a};if(i.size)f.required=[...i];if(r.every((s)=>s.additionalProperties===!1))f.additionalProperties=!1;else{let s=[];for(let l of r){let c=cme(l);if(c&&!s.some((m)=>JSON.stringify(m)===JSON.stringify(c)))s.push(c)}if(s.length===1)f.additionalProperties=s[0];else if(s.length>1)f.additionalProperties={allOf:s}}return f}function Lyt(e){let r=e.allOf;if(!Array.isArray(r)||r.length<2)return;for(let f of dme)if(f in e)return;let a=r.filter((f)=>lme.some((s)=>Array.isArray(f[s]))),i=null;if(!a.length)i=IH(r);else{let f=a[0],s=lme.find((m)=>Array.isArray(f[m]));if(Object.keys(f).length!==1)return;let l=r.filter((m)=>m!==f),c=f[s].map((m)=>IH([...l,m]));if(c.some((m)=>!m))return;i={[s]:c}}if(!i)return;delete e.allOf,G2(e,i)}function TH(e,r){let a=e.seen.get(r);if(!a)throw Error("Unprocessed schema. This is a bug in Zod.");let i=(c)=>{let m=e.seen.get(c);if(m.ref===null)return;let g=m.def??m.schema,M={...g},v=m.ref;if(m.ref=null,v){i(v);let x=e.seen.get(v),_=x.schema;if(_.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0"))g.allOf=g.allOf??[],g.allOf.push(_);else G2(g,_);if(G2(g,M),c._zod.parent===v)for(let U in g){if(U==="$ref"||U==="allOf")continue;if(!(U in M))delete g[U]}if(_.$ref&&x.def)for(let U in g){if(U==="$ref"||U==="allOf")continue;if(U in x.def&&JSON.stringify(g[U])===JSON.stringify(x.def[U]))delete g[U]}}let y=c._zod.parent;if(y&&y!==v){i(y);let x=e.seen.get(y);if(x?.schema.$ref){if(g.$ref=x.schema.$ref,x.def)for(let _ in g){if(_==="$ref"||_==="allOf")continue;if(_ in x.def&&JSON.stringify(g[_])===JSON.stringify(x.def[_]))delete g[_]}}}e.override({zodSchema:c,jsonSchema:g,path:m.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let c of[...e.seen.entries()].reverse())i(c[0]);if(e.target!=="openapi-3.0")for(let c of e.seen.entries())ume(c[1].def??c[1].schema);for(let c of e.deferred)c();if(e.intersections.length){let c=new Map;for(let m of e.seen.values())for(let g of[m.schema,m.def]){let M=g?.allOf;if(!Array.isArray(M))continue;let v=c.get(M);if(v)v.push(g);else c.set(M,[g])}for(let m of e.intersections)for(let g of c.get(m)??[])Lyt(g)}}let f={};if(e.target==="draft-2020-12")f.$schema="https://json-schema.org/draft/2020-12/schema";else if(e.target==="draft-07")f.$schema="http://json-schema.org/draft-07/schema#";else if(e.target==="draft-04")f.$schema="http://json-schema.org/draft-04/schema#";else if(e.target==="openapi-3.0");if(e.external?.uri){let c=e.external.registry.get(r)?.id;if(!c)throw Error("Schema is missing an `id` property");f.$id=e.external.uri(c)}G2(f,a.defId?a.schema:a.def??a.schema);let s=e.metadataRegistry.get(r)?.id;if(s!==void 0&&f.id===s)delete f.id;let l=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let c of e.seen.entries()){let m=c[1];if(m.def&&m.defId){if(m.def.id===m.defId)delete m.def.id;Yi(l,m.defId,m.def)}}if(e.external)e.sharedEmitDoneFor=e.external;if(e.external);else if(Object.keys(l).length>0)if(e.target==="draft-2020-12")f.$defs=l;else f.definitions=l;try{let c=JSON.parse(JSON.stringify(f));return Object.defineProperty(c,"~standard",{value:{...r["~standard"],jsonSchema:{input:K2(r,"input",e.processors),output:K2(r,"output",e.processors)}},enumerable:!1,writable:!1}),c}catch(c){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 f in i.shape)if(vs(i.shape[f],a))return!0;return!1}if(i.type==="union"){for(let f of i.options)if(vs(f,a))return!0;return!1}if(i.type==="tuple"){for(let f of i.items)if(vs(f,a))return!0;if(i.rest&&vs(i.rest,a))return!0;return!1}return!1}var Zme=(e,r={})=>(a)=>{let i=RH({...a,processors:r});return wn(e,i),PH(i,e),TH(i,e)},K2=(e,r,a={})=>(i)=>{let{libraryOptions:f,target:s}=i??{},l=RH({...f??{},target:s,io:r,processors:a});return wn(e,l),PH(l,e),TH(l,e)};var kyt={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},pme=(e,r,a,i)=>{let f=a;f.type="string";let{minimum:s,maximum:l,format:c,patterns:m,contentEncoding:g,laxFormat:M}=e._zod.bag;if(typeof s==="number")f.minLength=s;if(typeof l==="number")f.maxLength=l;if(c){if(f.format=kyt[c]??c,f.format==="")delete f.format;if(c==="time"||M)delete f.format}if(g)f.contentEncoding=g;if(m&&m.size>0){let v=[...m];if(v.length===1)f.pattern=v[0].source;else if(v.length>1)f.allOf=[...v.map((y)=>({...r.target==="draft-07"||r.target==="draft-04"||r.target==="openapi-3.0"?{type:"string"}:{},pattern:y.source}))]}},mme=(e,r,a,i)=>{let f=a,{minimum:s,maximum:l,format:c,multipleOf:m,exclusiveMaximum:g,exclusiveMinimum:M}=e._zod.bag;if(typeof c==="string"&&c.includes("int"))f.type="integer";else f.type="number";let v=typeof M==="number"&&M>=(s??Number.NEGATIVE_INFINITY),y=typeof g==="number"&&g<=(l??Number.POSITIVE_INFINITY),x=r.target==="draft-04"||r.target==="openapi-3.0";if(v)if(x)f.minimum=M,f.exclusiveMinimum=!0;else f.exclusiveMinimum=M;else if(typeof s==="number")f.minimum=s;if(y)if(x)f.maximum=g,f.exclusiveMaximum=!0;else f.exclusiveMaximum=g;else if(typeof l==="number")f.maximum=l;if(typeof m==="number")if(Number.isFinite(m)&&m!==0)f.multipleOf=Math.abs(m);else bu(e,r,f,i,`A multipleOf divisor of ${m} cannot be represented in JSON Schema`)},hme=(e,r,a,i)=>{a.type="boolean"},gme=(e,r,a,i)=>{bu(e,r,a,i,"BigInt cannot be represented in JSON Schema")};var Mme=(e,r,a,i)=>{a.not={}},vme=(e,r,a,i)=>{},xme=(e,r,a,i)=>{},yme=(e,r,a,i)=>{bu(e,r,a,i,"Date cannot be represented in JSON Schema")},bme=(e,r,a,i)=>{let f=e._zod.def,s=r4(f.entries);if(s.length===0){a.not={};return}if(s.every((l)=>typeof l==="number"))a.type="number";if(s.every((l)=>typeof l==="string"))a.type="string";a.enum=s},_me=(e,r,a,i)=>{let f=e._zod.def;if(f.values.length===0){a.not={};return}let s=[];for(let l of f.values)if(l===void 0){if(bu(e,r,a,i,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof l==="bigint"){if(bu(e,r,a,i,"BigInt literals cannot be represented in JSON Schema"))return;s.push(Number(l))}else s.push(l);if(s.length===0);else if(s.length===1){let l=s[0];if(a.type=l===null?"null":typeof l,r.target==="draft-04"||r.target==="openapi-3.0")a.enum=[l];else a.const=l}else{if(s.every((l)=>typeof l==="number"))a.type="number";if(s.every((l)=>typeof l==="string"))a.type="string";if(s.every((l)=>typeof l==="boolean"))a.type="boolean";if(s.every((l)=>l===null))a.type="null";a.enum=s}};var wme=(e,r,a,i)=>{bu(e,r,a,i,"Custom types cannot be represented in JSON Schema")};var zme=(e,r,a,i)=>{bu(e,r,a,i,"Transforms cannot be represented in JSON Schema")};var Sme=(e,r,a,i)=>{let f=a,s=e._zod.def,{minimum:l,maximum:c}=e._zod.bag;if(typeof l==="number")f.minItems=l;if(typeof c==="number")f.maxItems=c;f.type="array",f.items=wn(s.element,r,{...i,path:[...i.path,"items"]})};function v4(e){let r=e._zod.def;if(r.type==="pipe"&&r.in._zod.traits.has("$ZodTransform"))return v4(r.out);if(r.type==="catch")return v4(r.innerType);return e._zod.optin}var Lme=(e,r,a,i)=>{let f=a,s=e._zod.def,l=s.shape;if(Object.getOwnPropertySymbols(l).length&&bu(e,r,f,i,"Symbol keys cannot be represented in JSON Schema"))return;f.type="object",f.properties={};for(let M in l)Yi(f.properties,M,wn(l[M],r,{...i,path:[...i.path,"properties",M]}));let m=new Set(Object.keys(l)),g=new Set([...m].filter((M)=>{let v=s.shape[M];if(r.io==="input")return v4(v)===void 0;else return v._zod.optout===void 0}));if(g.size>0)f.required=Array.from(g);if(s.catchall?._zod.def.type==="never")f.additionalProperties=!1;else if(!s.catchall){if(r.io==="output")f.additionalProperties=!1}else if(s.catchall)f.additionalProperties=wn(s.catchall,r,{...i,path:[...i.path,"additionalProperties"]})},kme=(e,r,a,i)=>{let f=e._zod.def,s=f.inclusive===!1,l=f.options.map((c,m)=>wn(c,r,{...i,path:[...i.path,s?"oneOf":"anyOf",m]}));if(s)a.oneOf=l;else a.anyOf=l},Cme=(e,r,a,i)=>{let f=e._zod.def,s=wn(f.left,r,{...i,path:[...i.path,"allOf",0]}),l=wn(f.right,r,{...i,path:[...i.path,"allOf",1]}),c=(g)=>("allOf"in g)&&Object.keys(g).length===1,m=[...c(s)?s.allOf:[s],...c(l)?l.allOf:[l]];a.allOf=m,r.intersections.push(m)};function AH(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=AH(e,_,a);return j===_?r:j}for(let _ of["anyOf","oneOf"]){let j=r[_];if(!Array.isArray(j))continue;let U=j.map((T)=>AH(e,T,a));if(U.some((T,N)=>T!==j[N]))r={...r,[_]:U}}let i=Array.isArray(r.type)?r.type:[r.type],f=!i.includes("string")&&i.some((_)=>_==="number"||_==="integer"),s=r.enum??(r.const!==void 0?[r.const]:void 0);if(!f&&!s?.some((_)=>typeof _==="number"))return r;let{minimum:l,maximum:c,exclusiveMinimum:m,exclusiveMaximum:g,multipleOf:M,format:v,id:y,...x}=r;if(x.enum)x.enum=x.enum.map((_)=>typeof _==="number"?String(_):_);else if(typeof x.const==="number")x.const=String(x.const);if(!f)return x;if(x.type="string",!s)x.pattern=(i.includes("number")?q2:c4).source;return x}var DH=new WeakMap;function Cyt(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 DH.get(e)??[]){let f=e.seen.get(i),s=(f?.def??f?.schema)?.propertyNames;if(!s||s===!0||a.has(s))continue;let l=AH(r,s,new Set);if(l!==s)a.set(s,l)}if(!a.size)return;for(let i of e.seen.values())for(let f of[i.schema,i.def]){let s=f&&a.get(f.propertyNames);if(s)f.propertyNames=s}}var Ime=(e,r,a,i)=>{let f=a,s=e._zod.def;f.type="object";let l=s.keyType,m=l._zod.bag?.patterns;if(s.mode==="loose"&&m&&m.size>0){let v=wn(s.valueType,r,{...i,path:[...i.path,"patternProperties","*"]});f.patternProperties={};for(let y of m)Yi(f.patternProperties,y.source,v)}else{if(r.target==="draft-07"||r.target==="draft-2020-12"){f.propertyNames=wn(s.keyType,r,{...i,path:[...i.path,"propertyNames"]});let v=DH.get(r);if(!v)v=[],DH.set(r,v),r.deferred.push(()=>Cyt(r));v.push(e)}f.additionalProperties=wn(s.valueType,r,{...i,path:[...i.path,"additionalProperties"]})}let g=l._zod.values,M=r.io==="input"&&v4(s.valueType)!==void 0;if(g&&!s.partial&&!M){let v=[...g].filter((y)=>typeof y==="string"||typeof y==="number");if(v.length>0)f.required=v.map(String)}},Rme=(e,r,a,i)=>{let f=e._zod.def,s=wn(f.innerType,r,i),l=r.seen.get(e);if(r.target==="openapi-3.0")l.ref=f.innerType,a.nullable=!0;else a.anyOf=[s,{type:"null"}]},Pme=(e,r,a,i)=>{let f=e._zod.def;wn(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType},EH=Symbol();function Tme(e,r,a,i,f){let s=!1,l=JSON.stringify(e,(c,m)=>{if(typeof m!=="bigint")return m;return s=!0,null});if(!s)return JSON.parse(l);return bu(r,a,i,f,"BigInt defaults cannot be represented in JSON Schema"),EH}var Ame=(e,r,a,i)=>{let f=e._zod.def;wn(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType;let l=Tme(f.defaultValue,e,r,a,i);if(l!==EH)a.default=l},Dme=(e,r,a,i)=>{let f=e._zod.def;wn(f.innerType,r,i);let s=r.seen.get(e);if(s.ref=f.innerType,r.io!=="input")return;let l=Tme(f.defaultValue,e,r,a,i);if(l!==EH)a._prefault=l},Eme=(e,r,a,i)=>{let f=e._zod.def;wn(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType;let l;try{l=f.catchValue(void 0)}catch{bu(e,r,a,i,"Dynamic catch values are not supported in JSON Schema");return}a.default=l},Ome=(e,r,a,i)=>{let f=e._zod.def,s=f.in._zod.traits.has("$ZodTransform"),l=r.io==="input"?s?f.out:f.in:f.out;wn(l,r,i);let c=r.seen.get(e);c.ref=l},jme=(e,r,a,i)=>{let f=e._zod.def;wn(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType,a.readOnly=!0};var OH=(e,r,a,i)=>{let f=e._zod.def;wn(f.innerType,r,i);let s=r.seen.get(e);s.ref=f.innerType},Nme=(e,r,a,i)=>{let f=e._zod.innerType;wn(f,r,i);let s=r.seen.get(e);s.ref=f};var Fme=new WeakSet([Object.prototype,Error.prototype]);function x4(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 Oyt=(e,r)=>{i4.init(e,r),e.name="ZodError";let a=Object.getPrototypeOf(e);if(Fme.has(a))return;Fme.add(a),x4(a,"format",(i)=>(f)=>nde(i,f)),x4(a,"flatten",(i)=>(f)=>ade(i,f)),x4(a,"addIssue",(i)=>(f)=>{i.issues.push(f),i.message=JSON.stringify(i.issues,N2,2)}),x4(a,"addIssues",(i)=>(f)=>{i.issues.push(...f),i.message=JSON.stringify(i.issues,N2,2)}),Object.defineProperty(a,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}})};var Xl=Lt("ZodError",Oyt,void 0,{Parent:Error});var Bme=s4(Xl),Yme=l4(Xl),Ume=Y2(Xl),qme=U2(Xl),Hme=sde(Xl),Vme=lde(Xl),Wme=cde(Xl),Gme=ude(Xl),Kme=dde(Xl),Xme=Zde(Xl),Qme=pde(Xl),Jme=mde(Xl);function Nyt(){if(!$s.localeError)Kl(MH())}function _4(){if(!$s.memoizer)Kl({memoizer:gpe()})}var Ia=Lt("ZodType",(e,r)=>(Nyt(),wa.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(Tbt(e,r))},superRefine(e,r){return this.check(Abt(e,r))},overwrite(e){return this.check(D8(e))},optional(){return the(this)},exactOptional(){return xbt(this)},nullable(){return rhe(this)},nullish(){return the(rhe(this))},nonoptional(e){return Sbt(this,e)},array(){return te(this)},or(e){return Ea([this,e])},and(e){return she(this,e)},transform(e){return ohe(this,vbt(e))},default(e){return _bt(this,e)},prefault(e){return zbt(this,e)},catch(e){return kbt(this,e)},pipe(e){return ohe(this,e)},readonly(){return Rbt(this)},describe(e){let r=this.clone();return _L.add(r,{description:e}),r},meta(...e){if(e.length===0)return _L.get(this);let r=this.clone();return _L.add(r,e[0]),r},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...r){return r.length===0?e(this):e(this,...r)},get "~standard"(){return Q9(this,"~standard",{...dH(this),jsonSchema:{input:K2(this,"input"),output:K2(this,"output")}})},set "~standard"(e){vL(this,"~standard",e)},parse:function e(r,a){return Bme(this,r,a,{callee:e})},parseAsync:async function e(r,a){return await Yme(this,r,a,{callee:e})},safeParse(e,r){return Ume(this,e,r)},async safeParseAsync(e,r){return qme(this,e,r)},get spa(){return this?.safeParseAsync},set spa(e){vL(this,"spa",e)},encode:function e(r,a){return Hme(this,r,a,{callee:e})},decode:function e(r,a){return Vme(this,r,a,{callee:e})},encodeAsync:async function e(r,a){return await Wme(this,r,a,{callee:e})},decodeAsync:async function e(r,a){return await Gme(this,r,a,{callee:e})},safeEncode(e,r){return Kme(this,e,r)},safeDecode(e,r){return Xme(this,e,r)},async safeEncodeAsync(e,r){return Qme(this,e,r)},async safeDecodeAsync(e,r){return Jme(this,e,r)},toJSONSchema(e){return Zme(this,{})(e)},get description(){return _L.get(this)?.description},get _def(){return this._zod.def}}),ahe=Lt("_ZodString",(e,r)=>{p4.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(i,f,s)=>pme(e,i,f,s);let a=e._zod.bag;e.format=a.format??null,e.minLength=a.minimum??null,e.maxLength=a.maximum??null},{regex(...e){return this.check(vH(...e))},includes(...e){return this.check(bH(...e))},startsWith(...e){return this.check(_H(...e))},endsWith(...e){return this.check(wH(...e))},min(...e){return this.check(_R(...e))},max(...e){return this.check(g4(...e))},length(...e){return this.check(M4(...e))},nonempty(...e){return this.check(_R(1,...e))},lowercase(e){return this.check(xH(e))},uppercase(e){return this.check(yH(e))},trim(){return this.check(SH())},normalize(...e){return this.check(zH(...e))},toLowerCase(){return this.check(LH())},toUpperCase(){return this.check(kH())},slugify(){return this.check(CH())}}),jH=Lt("ZodString",(e,r)=>{p4.init(e,r),ahe.init(e,r)},{email(e){return this.check(bpe(qyt,e))},url(e){return this.check(kpe(Vyt,e))},jwt(e){return this.check(Upe(fbt,e))},emoji(e){return this.check(Cpe(Wyt,e))},guid(e){return this.check(_pe(Hyt,e))},uuid(e){return this.check(wpe(y4,e))},uuidv4(e){return this.check(zpe(y4,e))},uuidv6(e){return this.check(Spe(y4,e))},uuidv7(e){return this.check(Lpe(y4,e))},nanoid(e){return this.check(Ipe(Gyt,e))},cuid(e){return this.check(Rpe(Kyt,e))},cuid2(e){return this.check(Ppe(Xyt,e))},ulid(e){return this.check(Tpe(Qyt,e))},base64(e){return this.check(Fpe(abt,e))},base64url(e){return this.check(Bpe(nbt,e))},xid(e){return this.check(Ape(Jyt,e))},ksuid(e){return this.check(Dpe($yt,e))},ipv4(e){return this.check(Epe(ebt,e))},ipv6(e){return this.check(Ope(tbt,e))},cidrv4(e){return this.check(jpe(rbt,e))},cidrv6(e){return this.check(Npe(obt,e))},e164(e){return this.check(Ype(ibt,e))},datetime(e){return this.check(qpe(Fyt,e))},date(e){return this.check(Hpe(Byt,e))},time(e){return this.check(Vpe(Yyt,e))},duration(e){return this.check(Wpe(Uyt,e))}});function p(e){return xpe(jH,e)}var un=Lt("ZodStringFormat",(e,r)=>{$a.init(e,r),ahe.init(e,r)}),Fyt=Lt("ZodISODateTime",(e,r)=>{SZe.init(e,r),un.init(e,r)}),Byt=Lt("ZodISODate",(e,r)=>{LZe.init(e,r),un.init(e,r)}),Yyt=Lt("ZodISOTime",(e,r)=>{kZe.init(e,r),un.init(e,r)}),Uyt=Lt("ZodISODuration",(e,r)=>{CZe.init(e,r),un.init(e,r)}),qyt=Lt("ZodEmail",(e,r)=>{mZe.init(e,r),un.init(e,r)});var Hyt=Lt("ZodGUID",(e,r)=>{ZZe.init(e,r),un.init(e,r)});var y4=Lt("ZodUUID",(e,r)=>{pZe.init(e,r),un.init(e,r)});var Vyt=Lt("ZodURL",(e,r)=>{MZe.init(e,r),un.init(e,r)});var Wyt=Lt("ZodEmoji",(e,r)=>{vZe.init(e,r),un.init(e,r)});var Gyt=Lt("ZodNanoID",(e,r)=>{xZe.init(e,r),un.init(e,r)});var Kyt=Lt("ZodCUID",(e,r)=>{yZe.init(e,r),un.init(e,r)});var Xyt=Lt("ZodCUID2",(e,r)=>{bZe.init(e,r),un.init(e,r)});var Qyt=Lt("ZodULID",(e,r)=>{_Ze.init(e,r),un.init(e,r)});var Jyt=Lt("ZodXID",(e,r)=>{wZe.init(e,r),un.init(e,r)});var $yt=Lt("ZodKSUID",(e,r)=>{zZe.init(e,r),un.init(e,r)});var ebt=Lt("ZodIPv4",(e,r)=>{IZe.init(e,r),un.init(e,r)});var tbt=Lt("ZodIPv6",(e,r)=>{PZe.init(e,r),un.init(e,r)});var rbt=Lt("ZodCIDRv4",(e,r)=>{TZe.init(e,r),un.init(e,r)});var obt=Lt("ZodCIDRv6",(e,r)=>{AZe.init(e,r),un.init(e,r)});var abt=Lt("ZodBase64",(e,r)=>{EZe.init(e,r),un.init(e,r)});var nbt=Lt("ZodBase64URL",(e,r)=>{OZe.init(e,r),un.init(e,r)});var ibt=Lt("ZodE164",(e,r)=>{jZe.init(e,r),un.init(e,r)});var fbt=Lt("ZodJWT",(e,r)=>{NZe.init(e,r),un.init(e,r)});var w4=Lt("ZodNumber",(e,r)=>{ZH.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(i,f,s)=>mme(e,i,f,s);let a=e._zod.bag;e.minValue=Math.max(a.minimum??Number.NEGATIVE_INFINITY,a.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(a.maximum??Number.POSITIVE_INFINITY,a.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(a.format??"").includes("int")||Number.isSafeInteger(a.multipleOf??0.5),e.isFinite=!0,e.format=a.format??null},{gt(e,r){return this.check(bR(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(yR(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($me(e))},safe(e){return this.check($me(e))},positive(e){return this.check(bR(0,e))},nonnegative(e){return this.check(cM(0,e))},negative(e){return this.check(yR(0,e))},nonpositive(e){return this.check(lM(0,e))},multipleOf(e,r){return this.check(W2(e,r))},step(e,r){return this.check(W2(e,r))},finite(){return this}});function Jt(e){return Gpe(w4,e)}var sbt=Lt("ZodNumberFormat",(e,r)=>{FZe.init(e,r),w4.init(e,r)});function $me(e){return Xpe(sbt,e)}var NH=Lt("ZodBoolean",(e,r)=>{BZe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>hme(e,a,i,f)});function Er(e){return Qpe(NH,e)}var nhe=Lt("ZodBigInt",(e,r)=>{YZe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(i,f,s)=>gme(e,i,f,s);let a=e._zod.bag;e.minValue=a.minimum??null,e.maxValue=a.maximum??null,e.format=a.format??null},{gte(e,r){return this.check(cM(e,r))},min(e,r){return this.check(cM(e,r))},gt(e,r){return this.check(bR(e,r))},lt(e,r){return this.check(yR(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(bR(BigInt(0),e))},negative(e){return this.check(yR(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(W2(e,r))}});var lbt=Lt("ZodAny",(e,r)=>{UZe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>vme(e,a,i,f)});function xs(){return eme(lbt)}var cbt=Lt("ZodUnknown",(e,r)=>{qZe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>xme(e,a,i,f)});function _Z(){return tme(cbt)}var ubt=Lt("ZodNever",(e,r)=>{HZe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Mme(e,a,i,f)});function dbt(e){return rme(ubt,e)}var FH=Lt("ZodDate",(e,r)=>{VZe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(i,f,s)=>yme(e,i,f,s),e.min=(i,f)=>e.check(cM(i,f)),e.max=(i,f)=>e.check(lM(i,f));let a=e._zod.bag;e.minDate=a.minimum?new Date(a.minimum):null,e.maxDate=a.maximum?new Date(a.maximum):null});function Vn(e){return ome(FH,e)}var Zbt=Lt("ZodArray",(e,r)=>{_4(),WZe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Sme(e,a,i,f),e.element=r.element},{min(e,r){return this.check(_R(e,r))},nonempty(e){return this.check(_R(1,e))},max(e,r){return this.check(g4(e,r))},length(e,r){return this.check(M4(e,r))},unwrap(){return this.element}});function te(e,r){return nme(Zbt,e,r)}var pbt=Lt("ZodObject",(e,r)=>{_4(),XZe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Lme(e,a,i,f),eyt(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:dbt()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return Vxt(this,e)},safeExtend(e){return Wxt(this,e)},merge(e){return Gxt(this,e)},pick(e){return qxt(this,e)},omit(e){return Hxt(this,e)},partial(...e){return Kue(lhe,this,e[0])},exactPartial(...e){return Kue(che,this,e[0],"exactPartial")},required(...e){return Kxt(uhe,this,e[0])}});function R(e,r){let a={type:"object",shape:e??{},...zr(r)};return new pbt(a)}var ihe=Lt("ZodUnion",(e,r)=>{pH.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>kme(e,a,i,f),e.options=r.options});function Ea(e,r){return new ihe({type:"union",options:e,...zr(r)})}var mbt=Lt("ZodDiscriminatedUnion",(e,r)=>{ihe.init(e,r),QZe.init(e,r)});function fhe(e,r,a){return new mbt({type:"union",options:r,discriminator:e,...zr(a)})}var hbt=Lt("ZodIntersection",(e,r)=>{JZe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Cme(e,a,i,f)});function she(e,r){return new hbt({type:"intersection",left:e,right:r})}var ehe=Lt("ZodRecord",(e,r)=>{_4(),$Ze.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Ime(e,a,i,f),e.keyType=r.keyType,e.valueType=r.valueType});function wL(e,r,a){if(!r||!r._zod)return new ehe({type:"record",keyType:p(),valueType:e,...zr(r)});return new ehe({type:"record",keyType:e,valueType:r,...zr(a)})}var b4=Lt("ZodEnum",(e,r)=>{epe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(i,f,s)=>bme(e,i,f,s),e.enum=r.entries,e.options=Object.values(r.entries);let a=new Set(Object.keys(r.entries));e.extract=(i,f)=>{let s={};for(let l of i)if(a.has(l))s[l]=r.entries[l];else throw Error(`Key ${l} not found in enum`);return new b4({...r,checks:[],...zr(f),entries:s})},e.exclude=(i,f)=>{let s={...r.entries};for(let l of i)if(a.has(l))delete s[l];else throw Error(`Key ${l} not found in enum`);return new b4({...r,checks:[],...zr(f),entries:s})}});function Ve(e,r){let a=Array.isArray(e)?Object.fromEntries(e.map((i)=>[i,i])):e;return new b4({type:"enum",entries:a,...zr(r)})}function za(e,r){return new b4({type:"enum",entries:e,...zr(r)})}var gbt=Lt("ZodLiteral",(e,r)=>{tpe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>_me(e,a,i,f),e.values=new Set(r.values),Object.defineProperty(e,"value",{get(){if(r.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return r.values[0]}})});function _u(e,r){return new gbt({type:"literal",values:Array.isArray(e)?e:[e],...zr(r)})}var Mbt=Lt("ZodTransform",(e,r)=>{_4(),rpe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>zme(e,a,i,f),e._zod.parse=(a,i)=>{if(i.direction==="backward")throw new B2(e.constructor.name);a.addIssue=(s)=>{if(typeof s==="string")a.issues.push(bL(s,a.value,r));else{let l=s;if(l.fatal)l.continue=!1;if(l.code??(l.code="custom"),!("input"in l))l.input=a.value;l.inst??(l.inst=e),a.issues.push(bL(l))}};let f=r.transform(a.value,a);if(f instanceof Promise)return f.then((s)=>(a.value=s,a));return a.value=f,a}});function vbt(e){return new Mbt({type:"transform",transform:e})}var lhe=Lt("ZodOptional",(e,r)=>{mH.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>OH(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function the(e){return new lhe({type:"optional",innerType:e})}var che=Lt("ZodExactOptional",(e,r)=>{ope.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>OH(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function xbt(e){return new che({type:"optional",innerType:e})}var ybt=Lt("ZodNullable",(e,r)=>{ape.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Rme(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function rhe(e){return new ybt({type:"nullable",innerType:e})}var bbt=Lt("ZodDefault",(e,r)=>{npe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Ame(e,a,i,f),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function _bt(e,r){return new bbt({type:"default",innerType:e,get defaultValue(){return typeof r==="function"?r():G9(r)}})}var wbt=Lt("ZodPrefault",(e,r)=>{ipe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Dme(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function zbt(e,r){return new wbt({type:"prefault",innerType:e,get defaultValue(){return typeof r==="function"?r():G9(r)}})}var uhe=Lt("ZodNonOptional",(e,r)=>{fpe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Pme(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function Sbt(e,r){return new uhe({type:"nonoptional",innerType:e,...zr(r)})}var Lbt=Lt("ZodCatch",(e,r)=>{spe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Eme(e,a,i,f),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function kbt(e,r){return new Lbt({type:"catch",innerType:e,catchValue:typeof r==="function"?r:$ue(r)})}var Cbt=Lt("ZodPipe",(e,r)=>{lpe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Ome(e,a,i,f),e.in=r.in,e.out=r.out});function ohe(e,r){return new Cbt({type:"pipe",in:e,out:r})}var Ibt=Lt("ZodReadonly",(e,r)=>{cpe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>jme(e,a,i,f),e.unwrap=()=>e._zod.def.innerType});function Rbt(e){return new Ibt({type:"readonly",innerType:e})}var Pbt=Lt("ZodLazy",(e,r)=>{upe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>Nme(e,a,i,f),e.unwrap=()=>e._zod.def.getter()});function BH(e){return new Pbt({type:"lazy",getter:e})}var dhe=Lt("ZodCustom",(e,r)=>{dpe.init(e,r),Ia.init(e,r),e._zod.processJSONSchema=(a,i,f)=>wme(e,a,i,f)});function Tbt(e,r={}){return ime(dhe,e,r)}function Abt(e,r){return fme(e,r)}function Zhe(e,r={}){let a=new dhe({type:"custom",check:"custom",fn:(i)=>i instanceof e,abort:!0,...zr(r)});return a._zod.bag.Class=e,a._zod.check=(i)=>{if(!(i.value instanceof e))i.issues.push({code:"invalid_type",expected:e.name,input:i.value,inst:a,path:[...a._zod.def.path??[]]})},a}var 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 phe;(function(e){})(phe||(phe={}));var Q2={};Oe(Q2,{bigint:()=>Nbt,boolean:()=>jbt,date:()=>Fbt,number:()=>Obt,string:()=>Ebt});function Ebt(e){return ype(jH,e)}function Obt(e){return Kpe(w4,e)}function jbt(e){return Jpe(NH,e)}function Nbt(e){return $pe(nhe,e)}function Fbt(e){return ame(FH,e)}var z4={human:"human",agent:"agent"};var YH={editor:"editor",reviewer:"reviewer"};var mhe={team:"team",project:"project"};var hhe={all_members:"all_members",each_member:"each_member",selected_members:"selected_members"};var ghe={agent_total_tokens:"agent_total_tokens",agent_cost:"agent_cost",agent_mcp_call_count:"agent_mcp_call_count",agent_bash_call_count:"agent_bash_call_count",agent_tool_call_count:"agent_tool_call_count"},Qe={TODO:"TODO",READY:"READY",IN_PROGRESS:"IN_PROGRESS",BLOCKED:"BLOCKED",IN_REVIEW:"IN_REVIEW",DONE:"DONE"},Br={LOW:"LOW",MEDIUM:"MEDIUM",HIGH:"HIGH",URGENT:"URGENT"},rf={CREATED:"CREATED",STATUS_CHANGED:"STATUS_CHANGED",ASSIGNED:"ASSIGNED",UNASSIGNED:"UNASSIGNED",COMMENTED:"COMMENTED",CHANGES_REQUESTED:"CHANGES_REQUESTED",BLOCKED:"BLOCKED",UNBLOCKED:"UNBLOCKED",PRIORITY_CHANGED:"PRIORITY_CHANGED",GOAL_CHANGED:"GOAL_CHANGED",DEPENDENCY_ADDED:"DEPENDENCY_ADDED",DEPENDENCY_REMOVED:"DEPENDENCY_REMOVED"},Mhe={chat:"chat",autofill:"autofill",embedding:"embedding"};var Bbt=["avatar-1","avatar-2","avatar-3","avatar-4","avatar-5","avatar-6","avatar-7","avatar-8"];var Ybt={"avatar-1":"UklGRtInAABXRUJQVlA4IMYnAACwmACdASosASwBPm0ylUekIyIhp1L7UIANiWVu3P6nGjxxkZZTIvmXwJRUeg/Jf+ndPZ0L4H6mVI3YJ/D/tH5j9vT9C/6f3AP1d/Xz+79l/zDfsj6yP+59R39j/y/sAf3r/VdZ36EXly+0Z+6/peaqTMC4q/u/7z45+fr5VuB3l+xvUg7u/5f+G9tH9D3q/Lv/a9Qj25/vvGH2lFyP2J9gX3F+8f9H1AfzfM/+G/0nsBfrb/0PZDvp/yf/H9gP+nf4j9lPeL/2PKX+yf8H2F/6D1Of3o9pv9uzXj2UCILxSqTJtnLrjF0IFB27Vo5QPaRJKEf73CFDiYb46kQh9ZimTAfOlbMytbJDx1VHoVO115vAHuMthHxJoOL/D/OOWk7DrZTEtbvTiXzvmXoZSFox8u7pVGZ4TmovMKAMAZtbdgS8p6MNEYUl2x4pPMe0bPqCNISczDauiMeOe/Bgos4oXilTgIe/4FB/KBRUIV0FiVRnmPndzO7QLVRnyoYI+oKPA/heN/n2wfElNcnOExdS6iaO/IIjkYWljnuIe8akKIWAkomDcGMr2fPIiNFXCNFxgRCTPFdGc+T/b2dMMLNdN3KjGjeGMzQe4UURLfl5oiFEw5Pu5y0fFhDnYhvS7Ezpsb54rvwP+ycBblMc5VRkMxpWgi7zlkUUOIzcsp8rJvOWHryMg36mIXa1xMNyp2rhlY3Vgul9+8VfT412zRHaz12VW/qh9l67/CDtCsnUBGO/e8J1mT9RAmfZTCKX+ecvAjhxyIeUEAg5olYzZSkgLNrAf+HFBHtihqoNZNUgRB+NKEfWCXPqAmsILE+/Ap/wD2FlHj0Q1Qk8PrAN9C/fyX/qgkJyQGu9cAmoYw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hlbS4hB6It3rJbQTz8zCfQ2WdhV7n27w4n5o3cyZK2PDXtRnQqBXpHxIxrxRPcUB/GO9z8TzlY2e0cexQbZ3HkD/bupeupZVrpjIq1k9/EwyB+EEGeNHb63rBnxbgSVuEWo0b3WihxMTaZTyre7jogHA2nw8INlzaWrb2Is+v9I5xQN5elt2+hXPAyR160GZ6Ij6NAJPHLEMhw5M7JszydIJxX6bekzNdInyXDwLp5B/pGOIBmgYqQj3NERx5UzJGwruLTFZvHgUj42OMzurfF7niHyu6gM//+uZn94CG5+kMmCCldqOGMrVqWosLAAAAA=="},Wc=Bbt.map((e)=>({id:e,preview:`data:image/webp;base64,${Ybt[e]}`}));var vhe=za(Mhe),Yc=Ve(["off","minimal","low","medium","high","xhigh"]),UH=Ve(["owner","editor","reviewer"]),uA=["delete_asset"],Ubt=R({id:p().optional(),skillId:p(),skill:R({id:p(),name:p()}).optional()}),h8n=R({id:p(),name:p(),type:vhe,enabled:Er(),permission:UH.optional().default("reviewer"),avatar:p().optional(),avatarPreset:p().optional(),providerId:p().optional(),modelId:p().optional(),thinkingLevel:Yc.optional().default("off"),systemPrompt:p().optional(),soul:p().optional(),skills:te(Ubt).optional(),mcpServerIds:te(p()).optional(),deniedTools:te(p()).optional()}),xhe=R({name:p().min(1),type:vhe,enabled:Er().optional().default(!0),permission:UH.optional(),avatar:p().optional(),providerId:p().optional(),modelId:p().optional(),thinkingLevel:Yc.optional().default("off"),systemPrompt:p().optional(),soul:p().optional(),skills:te(p()).optional(),mcpServerIds:te(p()).optional(),deniedTools:te(p()).optional()}),g8n=xhe.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"]})}}),M8n=xhe.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"]})}}),v8n=R({permission:UH}),x8n=R({id:p(),sessionId:p(),entry:_Z()}),y8n=R({id:p(),name:p().nullable().optional(),type:p(),createdAt:p(),creator:R({id:p(),name:p().nullable().optional(),email:p().nullable().optional(),image:p().nullable().optional()}).nullable().optional(),agentId:p().optional()});var z8n=R({apiKey:p().optional(),baseUrl:p().optional(),chatModels:te(p()).optional()}),qbt=Ve(["1h","24h","7d","30d"]),S8n=R({timeframe:qbt.default("30d"),userId:p().optional()});var E8=R({cursor:p().optional(),total:Jt().optional(),totalSize:Jt().optional()}),ys=R({first:Q2.number().optional(),after:p().optional()});var bhe=30,P8n=R({data:te(BH(()=>Kbt)),pageInfo:E8}),_he=R({proxyType:Ve(["image","video","audio","pdf"]).nullable().optional(),thumbnailUrl:p().optional(),originalHeight:Jt().optional(),originalWidth:Jt().optional(),spriteUrl:p().optional(),duration:Jt().optional(),pageCount:Jt().optional()}),Hbt=R({type:p().nullable(),preview:_he.nullable()}),S4=R({id:p(),name:p(),image:p().optional()}),yhe=R({id:p(),name:p()}),Vbt=R({fieldId:p(),value:xs()}),Wbt=R({id:p(),name:p()}),Gbt=R({duration:Jt().optional(),originalWidth:Jt().optional(),originalHeight:Jt().optional(),frameRate:Jt().optional(),totalFrames:Jt().optional(),startTimecode:p().optional()}),Kbt=R({id:p(),name:p(),sizeByte:Jt(),fileCount:Jt(),type:p(),targetType:p().optional().nullable(),status:p(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional(),latestChildren:te(Hbt).optional(),preview:_he.nullable().optional(),createdAt:p(),updatedAt:p(),deletedAt:p().nullable().optional(),projectId:p().optional().nullable(),creator:S4.nullable().optional(),agentId:p().optional().nullable(),agent:yhe.optional().nullable(),fieldValues:te(Vbt).optional(),sortIndex:p().optional().nullable(),startTime:Jt().optional().nullable(),endTime:Jt().optional().nullable(),hasAgentsMd:Er().optional(),commentsCount:Jt().optional(),media:R({original:R({key:p().optional()}).optional(),videoTranscodes:te(R({id:p(),url:p(),key:p(),width:Jt(),height:Jt(),size:Jt()})).optional(),imageTranscodes:te(R({id:p(),url:p(),key:p(),width:Jt(),height:Jt(),size:Jt()})).optional(),videoPreview:R({url:p(),key:p().optional()}).optional(),pdfTranscode:R({url:p(),key:p().optional()}).optional(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional(),metadata:Gbt.optional()}).optional(),ancestorFolders:te(Wbt).optional(),versionStack:R({id:p(),versions:te(R({version:Jt(),current:Er(),id:p(),name:p().optional().nullable(),previewUrl:p().optional().nullable(),createdAt:p().optional().nullable(),creator:R({id:p(),name:p().nullable(),image:p().optional().nullable()}).nullable().optional(),agent:yhe.optional().nullable()}))}).optional().nullable()}),T8n=R({name:p(),type:p(),projectId:p().optional(),parentId:p().optional(),key:p().optional(),sizeByte:Jt().optional(),contentType:p().optional(),creatorId:p().optional(),agentId:p().optional()}),A8n=R({assetId:p()}),D8n=R({id:p(),name:p()}),qH=Ve(["file","folder","all"]),E8n=R({assetId:p().optional(),assetType:qH.optional().default("all"),projectId:p().optional(),showDeleted:Er().optional(),prefix:p().optional(),sort:p().optional(),order:p().optional(),...ys.shape}),O8n=R({assetId:p(),userId:p(),replyToId:p().optional(),message:p(),annotations:xs().optional(),second:Jt().optional(),attachmentIds:te(p())}),Xbt=R({id:p(),assetId:p(),url:p(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional()}),Qbt=R({code:p(),count:Jt(),requestingUserReacted:Er(),creatorNames:te(p())}),j8n=R({code:p().min(1)}),N8n=R({code:p().min(1)}),Jbt=R({id:p(),assetId:p(),message:p().nullable(),annotations:xs(),second:Jt().nullable(),creator:S4,replies:te(BH(()=>Jbt)),attachments:te(Xbt),mentions:te(S4),createdAt:p(),updatedAt:p(),sessionId:p().nullable(),isCompleted:Er(),completionLastChangedBy:S4.nullable(),reactionCounts:te(Qbt)}),F8n=R({isCompleted:Er()}),B8n=R({newParentId:p(),assetIds:te(p()),creatorId:p().optional()}),Y8n=R({newParentId:p(),assetIds:te(p()),withComments:Er().default(!1),creatorId:p().optional()}),U8n=R({name:p()}),q8n=R({beforeIndex:p().optional(),afterIndex:p().optional()}),H8n=R({ids:te(p())}),V8n=R({ids:te(p())}),W8n=R({file:Zhe(File)}),G8n=R({key:p()}),K8n=R({fileName:p(),contentType:p(),size:Jt()}),X8n=R({id:p(),uploadUrl:p()}),Q8n=R({ids:te(p())}),$bt=R({id:p(),name:p(),url:p()}),J8n=R({files:te($bt)}),e_t=Ve(["fcp-fiojson","media-composer-xml","premiere-xml","resolve-edl"]),$8n=R({format:e_t,timeZone:p().refine((e)=>{try{return Intl.DateTimeFormat(void 0,{timeZone:e}),!0}catch{return!1}},{message:"Invalid IANA time zone identifier"}).optional()});var rxn=R({userCount:Jt()}),oxn=R({name:p().min(1,"Name is required").max(100,"Name is too long")}),axn=R({id:p(),token:p(),name:p(),createdAt:p()});var t_t=Ve(["is","eq","neq","gt","gte","lt","lte","contains","notContains","isEmpty","isNotEmpty","in","notIn","hasAny","hasAll","hasNone","isWithin"]),r_t=R({field:p(),operator:t_t,value:xs()}),o_t=Ve(["asc","desc"]),a_t=R({field:p(),order:o_t}),n_t=Ve(["AND","OR"]),i_t=Ve(["file","folder"]),L4=Ve(["jpeg","webp"]),HH=R({operator:n_t.optional().default("AND"),conditions:te(r_t).optional().default([]),sort:a_t.optional(),assetType:i_t.optional(),showSymlink:Er().optional(),recursively:Er().optional().default(!0),query:p().optional(),isSemantic:Er().optional().default(!1),previewFormat:L4.optional()}),sxn=HH.extend(ys.shape);var VH=R({sourceFolderId:p(),searchFilter:HH}),f_t=R({id:p(),name:p(),filter:VH,projectId:p(),createdAt:p(),updatedAt:p(),creator:R({id:p(),name:p(),image:p().optional().nullable()}).optional().nullable()}),Zxn=R({name:p(),filter:VH}),pxn=R({name:p().optional(),filter:VH.optional()});var mxn=R({data:te(f_t),pageInfo:R({cursor:p().optional(),total:Jt().optional()})});var Mxn=R({name:p(),parentId:p()}),vxn=R({name:p()}),xxn=R({ids:te(p())}),yxn=R({ids:te(p())}),bxn=R({content:p().max(1e5)});var Sxn=R({code:p(),role:p(),teamId:p(),teamName:p(),projectId:p().optional(),projectName:p().optional(),inviterName:p(),isUsed:Er()}),Lxn=R({role:za(YH)}),kxn=R({role:za(YH)}),Cxn=R({code:p()});var kr={text:"text",longText:"longText",select:"select",selectMulti:"selectMulti",rating:"rating",number:"number",toggle:"toggle",date:"date",user:"user",userMulti:"userMulti"},Sr={NONE:"NONE",CONTENT:"CONTENT",CREATION_CONTEXT:"CREATION_CONTEXT"},Axn=R({id:p(),displayName:p(),color:p().optional()}),WH=R({name:p(),type:Ve(["text","longText","select","selectMulti","rating","number","toggle","date","user","userMulti"]),autofillSource:za(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()}),Dxn=R({key:p().optional(),label:p().optional(),scope:p().optional(),config:WH,description:p().default("")}),Exn=R({label:p().optional(),config:WH,description:p().optional()}),s_t=R({fieldId:p(),visible:Er()}),Oxn=te(s_t),l_t=R({key:p(),value:xs()}),jxn=te(l_t),Nxn=R({id:p(),config:WH,scope:p(),readOnly:Er(),visible:Er(),description:p()});var whe=Ve(["auto","none","bearer","oauth"]),GH=Ve(["streamable_http","sse"]),k4=Ve(["owner","editor","reviewer"]),c_t=R({grantType:Ve(["authorization_code","client_credentials"]).optional(),clientId:p().optional(),clientSecret:p().optional(),scope:p().optional(),authorizationParams:wL(p(),p()).optional(),redirectUri:p().optional(),clientName:p().optional(),clientUri:p().optional(),skipIssuerMetadataValidation:Er().optional()}),zhe=R({type:whe.optional(),bearerToken:p().optional(),headers:wL(p(),p()).optional(),oauth:c_t.optional()}),KH=R({excludeTools:te(p()).optional(),requestTimeoutMs:Jt().int().positive().optional(),idleTimeoutMs:Jt().int().positive().optional(),keepAlive:Er().optional(),protocolVersion:Ve(["legacy","auto","2026-07-28"]).optional(),directTools:te(p()).optional()}),u_t=R({name:p(),title:p().optional(),description:p().optional(),inputSchema:_Z().optional()}),Yxn=R({url:p().url(),transport:GH.optional(),authConfig:zhe.optional(),config:KH.optional(),permission:k4.optional()}),Uxn=R({transport:GH.optional(),authConfig:zhe.optional(),config:KH.optional(),permission:k4.optional()}),qxn=R({permission:k4}),d_t=R({id:p(),name:p(),description:p().optional(),instructions:p().optional(),url:p(),transport:GH,authType:whe,config:KH.optional(),permission:k4,status:p(),lastError:p().nullable().optional(),toolCount:Jt(),hasCredential:Er(),createdAt:p(),updatedAt:p()}),Hxn=R({servers:te(d_t)}),Vxn=R({}),Wxn=R({tools:te(u_t)}),She=Ve(["authenticated","expired","not_authenticated","in_progress"]),Gxn=R({status:She}),Kxn=R({authorizationUrl:p().optional(),status:She}),Xxn=R({code:p(),iss:p().optional()}),Qxn=R({ok:Er(),toolCount:Jt(),message:p().optional()});var Lhe=R({id:p().optional(),name:p().optional(),role:p().optional()}),khe=R({id:p().optional(),name:p().optional()}),Z_t=R({id:p().optional(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional(),name:p().optional(),preview:p().optional(),thumbnailUrl:p().optional(),originalWidth:Jt().optional(),originalHeight:Jt().optional()}),p_t=R({id:p().optional(),title:p().optional(),status:p().optional()}),eyn=R({id:p().optional(),creator:Lhe.optional(),type:p().optional(),team:khe.optional(),project:khe.optional(),asset:Z_t.optional(),kanbanTask:p_t.optional(),user:Lhe.optional(),createdAt:p().optional(),isRead:Er().optional()}),tyn=R({unreadOnly:Ea([Er(),p()]).transform((e)=>e===!0||e==="true").optional(),after:p().optional(),pageSize:Q2.number().optional()}),ryn=R({notificationId:p().min(1)}),oyn=R({comments:Er().default(!0),replies:Er().default(!0),mentions:Er().default(!0),yourUploads:Er().default(!1),otherUploads:Er().default(!0),statusUpdates:Er().default(!0),kanbanTasks:Er().default(!0),kanbanComments:Er().default(!0)});var lyn=R({name:p(),coverImageKey:p().optional(),enableNotification:Er().default(!0)}),cyn=R({name:p().optional(),coverImageKey:p().optional(),enableNotification:Er().optional()}),m_t=R({id:p(),name:p(),teamId:p(),rootFolder:p().optional(),coverImage:p().optional(),coverImageKey:p().optional(),enableNotification:Er(),updatedAt:Ea([p(),Vn()])}),dyn=R({sortBy:p().optional(),sortDirection:Ve(["asc","desc"]).optional(),previewFormat:L4.optional()}).merge(ys),Zyn=R({previewFormat:L4.optional()}).merge(ys),pyn=R({data:te(m_t),pageInfo:E8}),myn=R({teamId:p()}),hyn=R({id:p(),name:p(),role:Ve(["owner","editor","reviewer","bot","unknown"]),type:za(z4).optional(),image:p().optional(),scope:Ve(["team","project"]).optional(),hasCustomRole:Er().optional()}),gyn=R({assetType:qH.optional().default("all"),sort:Ve(["createdAt","name","size"]).optional(),order:Ve(["asc","desc"]).optional()}).merge(ys),Myn=R({role:Ve(["editor","reviewer"])}),vyn=R({userId:p(),role:Ve(["owner","editor","reviewer"])}),xyn=R({id:p(),name:p(),role:Ve(["owner","editor","reviewer","bot","unknown"]),image:p().optional()});var Jc=["openai-completions","mistral-conversations","openai-responses","azure-openai-responses","openai-codex-responses","anthropic-messages","bedrock-converse-stream","google-generative-ai","google-vertex"],C4=R({api:Ve(Jc).optional(),reasoning:Er().default(!1),input:te(Ve(["text","image"])).default(["text"]),contextWindow:Jt().int().positive().default(128000),maxTokens:Jt().int().positive().default(4096),cost:R({input:Jt().nonnegative().default(0),output:Jt().nonnegative().default(0),cacheRead:Jt().nonnegative().default(0),cacheWrite:Jt().nonnegative().default(0)})}),XH=R({id:p().optional(),modelId:p().min(1,"Model ID is required"),name:p().min(0).default(""),config:C4}),ri=R({baseUrl:p().url("Must be a valid URL").optional().or(_u("")),apiKey:p().optional().or(_u("")),api:Ve(Jc),headers:wL(p(),p()).optional(),authHeader:Er().optional()}),_yn=R({name:p().min(1,"Provider name is required"),config:ri,models:te(XH).default([])}),wyn=R({name:p().min(1,"Provider name is required").optional(),config:ri,models:te(XH).optional()}),dA=R({modelId:p().min(1,"Model ID is required"),name:p().min(0).default(""),config:C4}),zyn=R({modelId:p().min(1,"Model ID is required").optional(),name:p().min(0).optional(),config:C4.optional()}),Syn=R({id:p(),name:p(),isBuiltin:Er(),config:ri,models:te(XH).optional(),modelsCount:Jt().optional(),createdAt:Vn(),updatedAt:Vn()}),Che=R({modelId:p().min(1),name:p().default(""),config:C4}),h_t=R({name:p(),isNewProvider:Er(),config:ri,models:te(Che)}),Lyn=R({providers:te(h_t),totalNewProviders:Jt(),totalNewModels:Jt()}),kyn=R({providers:te(R({name:p(),isNewProvider:Er(),config:ri,models:te(Che)}))}),Cyn=R({addedProviders:Jt(),addedModels:Jt()});var Tyn=R({name:p().min(1),expireAt:p().datetime().optional(),password:p().optional(),isDisabled:Er().optional(),allowDownload:Er().optional(),defaultSortOrder:p().optional(),viewMode:p().optional()}),Ayn=R({name:p().min(1).optional(),expireAt:p().datetime().optional().nullable(),password:p().optional().nullable(),isDisabled:Er().optional(),allowDownload:Er().optional(),defaultSortOrder:p().optional().nullable(),viewMode:p().optional().nullable(),fieldVisibility:wL(p(),Er()).optional().nullable()}),Dyn=ys.extend({projectId:p().optional()}),Eyn=R({assetIds:te(p().min(1)).min(1)});var Nyn=R({assetId:p().optional(),githubUrl:p().optional(),override:Er().optional()}),Fyn=R({config:R({environmentVariables:te(R({name:p(),default:p().optional()}))})}),Byn=R({permission:Ve(["owner","editor","reviewer"])});var Vyn=R({name:p()}),g_t=R({id:p(),name:p(),rootFolder:p().optional(),updatedAt:Ea([p(),Vn()])});var Wyn=R({data:te(g_t),pageInfo:E8}),Gyn=R({teamId:p(),userId:p()}),Kyn=R({id:p(),name:p(),email:p().optional(),role:Ve(["owner","editor","reviewer","bot","unknown"]),image:p().optional(),unreadNotificationCount:Jt().optional()}),Xyn=R({name:p().optional(),imageKey:p().nullable().optional()}),Qyn=R({id:p(),name:p(),role:Ve(["owner","editor","reviewer","bot","unknown"]),email:p().optional(),type:za(z4).optional(),image:p().optional(),scope:za(mhe).optional()}),Jyn=R({includeAgents:p().optional().transform((e)=>e==="true")}),ga={best_match:"best_match",all:"all"},Fi={off:"off",auto:"auto"},$yn=Ea([R({key:_u("transcode.videoStrategy"),value:za(ga)}),R({key:_u("transcode.hardwareAcceleration"),value:za(Fi)}),R({key:_u("transcode.threads"),value:Jt().int().min(0).max(32)}),R({key:_u("appearance.hideAgent"),value:Er()})]),ebn=R({networkSandboxEnabled:Er(),allowedDomains:te(p()),pendingDomains:te(p()).default([])}),tbn=R({networkSandboxEnabled:Er().optional(),allowedDomains:te(p()).optional(),pendingDomains:te(p()).optional()}),rbn=R({role:Ve(["editor","reviewer"])});var Ihe=BH(()=>R({name:p(),id:p(),size:Jt(),children:te(Ihe),type:p(),mediaType:p().optional()})),nbn=R({parentId:p(),files:te(Ihe)}),M_t=R({id:p(),fileId:p(),url:p()}),ibn=R({taskId:p(),presignedUrls:te(M_t),storageBackend:Ve(["s3","local"]).default("local"),createdAssets:te(R({tempId:p(),assetId:p(),key:p().optional()})).optional()}),fbn=R({key:p().min(1),method:Ve(["PUT","POST","GET","DELETE"]),uploadId:p().optional(),partNumber:Jt().int().positive().optional(),fileId:p().min(1)}),sbn=R({url:p()}),lbn=R({fileId:p().min(1),uploadId:p().optional(),key:p().optional()}),cbn=R({success:Er()}),ubn=R({fileId:p(),errorMessage:p().optional()}),dbn=R({id:p(),name:p(),total:Jt(),uploaded:Jt(),createdAt:p()}),Zbn=R({bucket:p(),key:p(),Signature:p()}),pbn=R({file:Zhe(File)});var v_t=R({key:p(),value:_Z()}),gbn=R({value:_Z()}),Mbn=te(v_t);var ybn=R({fileIds:te(p())}),bbn=R({fileId:p(),beforeId:p()}),_bn=R({id:p(),version:Jt(),name:p().optional().nullable(),previewUrl:p().optional().nullable(),createdAt:p().optional().nullable(),creator:R({id:p(),name:p().nullable(),image:p().optional().nullable()}).nullable().optional(),agent:R({id:p(),name:p()}).nullable().optional()});var Sbn=R({agentId:p(),textPrompt:p().optional(),attachedFiles:te(p()).optional(),assetIds:te(p()).optional(),sessionId:p().optional(),contextAssetId:p().optional(),projectId:p().optional(),second:Jt().nullable().optional(),annotations:te(wL(p(),_Z())).optional()}).superRefine((e,r)=>{let a=e.textPrompt&&e.textPrompt.trim().length>0,i=e.attachedFiles&&e.attachedFiles.length>0,f=e.assetIds&&e.assetIds.length>0,s=e.annotations&&e.annotations.length>0;if(!a&&!i&&!f&&!s)r.addIssue({code:ro.custom,message:"At least one of textPrompt, attachedFiles, assetIds, or annotations must be provided.",path:["textPrompt"]})}),Lbn=R({id:p(),agentId:p(),userId:p().nullable(),assetId:p().nullable(),userCommentId:p().nullable(),name:p().nullable().optional(),createdAt:p(),updatedAt:p()}),x_t=R({id:p(),name:p(),type:p(),mediaType:Ve(["image","video","pdf","audio","other"]).optional(),mimeType:p().optional(),parentId:p().optional(),path:p().optional(),durationSeconds:Jt().optional(),totalFrames:Jt().optional(),totalPages:Jt().optional(),navigated:Er().optional(),ancestors:te(R({id:p(),name:p()})).optional()}),Rhe=R({id:p(),name:p(),type:p(),mediaType:Ve(["image","video","pdf","audio","other"]).optional(),mimeType:p().optional(),path:p().optional(),url:p().optional()}),y_t=fhe("type",[R({type:_u("time"),seconds:Jt()}),R({type:_u("page"),page:Jt()})]),b_t=R({id:p(),replyCount:Jt().optional()}),kbn=R({id:p().optional(),user:R({id:p(),name:p(),role:p()}).optional(),thread:b_t.optional(),currentAsset:x_t.optional(),position:y_t.optional(),annotation:Er().optional(),annotations:te(wL(p(),_Z())).optional(),attachedFiles:te(Rhe).optional(),referencedAssets:te(Rhe).optional()}),Cbn=she(R({id:p()}),_Z());var kl;((Ke)=>{Ke.team_create="team_create";Ke.team_update="team_update";Ke.team_delete="team_delete";Ke.team_member_add="team_member_add";Ke.team_member_update="team_member_update";Ke.team_member_remove="team_member_remove";Ke.project_create="project_create";Ke.project_update="project_update";Ke.project_delete="project_delete";Ke.project_empty_trash="project_empty_trash";Ke.project_member_add="project_member_add";Ke.project_member_update="project_member_update";Ke.project_member_remove="project_member_remove";Ke.file_create="file_create";Ke.file_update="file_update";Ke.file_delete="file_delete";Ke.folder_create="folder_create";Ke.folder_update="folder_update";Ke.folder_delete="folder_delete";Ke.asset_reparent="asset_reparent";Ke.asset_copy="asset_copy";Ke.share_create="share_create";Ke.share_update="share_update";Ke.share_delete="share_delete";Ke.agent_create="agent_create";Ke.agent_update="agent_update";Ke.agent_delete="agent_delete";Ke.skill_create="skill_create";Ke.skill_update="skill_update";Ke.skill_delete="skill_delete";Ke.mcp_server_create="mcp_server_create";Ke.mcp_server_update="mcp_server_update";Ke.mcp_server_delete="mcp_server_delete";Ke.provider_create="provider_create";Ke.provider_update="provider_update";Ke.provider_delete="provider_delete";Ke.invite_create="invite_create";Ke.invite_revoke="invite_revoke";Ke.metadata_field_create="metadata_field_create";Ke.metadata_field_update="metadata_field_update";Ke.metadata_field_delete="metadata_field_delete";Ke.comment_create="comment_create";Ke.comment_update="comment_update";Ke.comment_delete="comment_delete";Ke.comment_complete="comment_complete";Ke.quota_rule_create="quota_rule_create";Ke.quota_rule_update="quota_rule_update";Ke.quota_rule_delete="quota_rule_delete";Ke.quota_record_reset="quota_record_reset";Ke.quota_policy_create="quota_policy_create";Ke.quota_policy_update="quota_policy_update";Ke.quota_policy_delete="quota_policy_delete";Ke.kanban_goal_create="kanban_goal_create";Ke.kanban_goal_update="kanban_goal_update";Ke.kanban_goal_delete="kanban_goal_delete";Ke.kanban_task_create="kanban_task_create";Ke.kanban_task_update="kanban_task_update";Ke.kanban_task_delete="kanban_task_delete";Ke.kanban_comment_create="kanban_comment_create";Ke.kanban_comment_delete="kanban_comment_delete";Ke.kanban_dependency_add="kanban_dependency_add";Ke.kanban_dependency_remove="kanban_dependency_remove"})(kl||={});var __t=R({id:p(),action:za(kl),teamId:p(),userId:p().nullable().optional(),agentId:p().nullable().optional(),agent:R({id:p(),name:p()}).nullable().optional(),projectId:p().nullable().optional(),itemId:p().nullable().optional(),createdAt:p()}),Pbn=R({first:Q2.number().optional(),after:p().optional(),actions:Ea([za(kl),te(za(kl))]).transform((e)=>Array.isArray(e)?e:[e]).optional(),userIds:Ea([p(),te(p())]).transform((e)=>Array.isArray(e)?e:[e]).optional(),agentIds:Ea([p(),te(p())]).transform((e)=>Array.isArray(e)?e:[e]).optional(),itemId:p().optional()}),Tbn=R({nodes:te(__t),pageInfo:R({hasNextPage:Er(),endCursor:p().nullable()}),total:Jt()});var w_t=R({id:p(),type:_u("text"),x:Jt().min(0).max(1),y:Jt().min(0).max(1),opacity:Jt().min(0).max(1),rotation:Jt().min(-180).max(180),text:p(),size:Jt().positive().max(1),color:p()}),z_t=R({id:p(),type:_u("image"),x:Jt().min(0).max(1),y:Jt().min(0).max(1),opacity:Jt().min(0).max(1),rotation:Jt().min(-180).max(180),imageAssetKey:p().min(1),imageAssetUrl:p().optional(),size:Jt().positive().max(1)}),S_t=fhe("type",[w_t,z_t]),QH=R({blocks:te(S_t)}),Ebn=R({name:p().min(1),teamId:p().optional(),config:QH}),Obn=R({name:p().min(1).optional(),config:QH.optional()}),jbn=R({enabled:Er(),config:QH.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 JH=za(hhe),$H=Ve(["1hour","5hour","1day","7day","one_hour","five_hours","one_day","seven_days"]);function Xc(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 eV=za(ghe),tV=Ve(["owner","editor","reviewer"]),Phe=R({id:p().min(1,"MCP server ID is required")}),The=R({match:p().min(1,"Bash match wildcard is required")}),Ahe=R({name:p().min(1,"Tool name is required")}),rV=wL(p(),_Z()),L_t=R({id:p().nullable(),ruleId:p(),teamId:p(),userId:p().nullable().optional(),user:R({id:p(),name:p(),email:p(),image:p().nullable().optional()}).nullable().optional(),periodStart:p().nullable().optional(),periodEnd:p().nullable().optional(),consumed:Jt(),remaining:Jt(),percent:Jt(),isWindowActive:Er()}),Ubn=R({records:te(L_t),total:Jt()}),k_t=R({id:p(),teamId:p(),scopeMode:JH,role:tV.nullable().optional(),userIds:te(p()).nullable().optional(),resource:eV,resourceData:rV.nullable().optional(),limit:Jt(),period:$H,enabled:Er(),recordsCount:Jt().optional(),createdAt:p(),updatedAt:p()}),qbn=R({rules:te(k_t),total:Jt()}),Hbn=R({scopeMode:JH,role:tV.optional().nullable(),userIds:te(p()).optional().nullable(),resource:eV,resourceData:rV.optional().nullable(),limit:Jt().positive("Limit must be greater than 0"),period:$H,enabled:Er().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(!Phe.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(!The.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(!Ahe.safeParse(e.resourceData).success)r.addIssue({code:ro.custom,message:"resourceData.name is required for agent_tool_call_count",path:["resourceData","name"]})}}),Vbn=R({userId:p().nullable()}),Wbn=R({scopeMode:JH.optional(),role:tV.optional().nullable(),userIds:te(p()).optional().nullable(),resource:eV.optional(),resourceData:rV.optional().nullable(),limit:Jt().positive("Limit must be greater than 0").optional(),period:$H.optional(),enabled:Er().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(!Phe.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(!The.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(!Ahe.safeParse(e.resourceData).success)r.addIssue({code:ro.custom,message:"resourceData.name is required for agent_tool_call_count",path:["resourceData","name"]})}});var Aa="unassigned",Xbn=R({title:p().min(1),description:p().optional()}),Qbn=R({title:p().min(1).optional(),description:p().nullable().optional()}),C_t=R({id:p(),title:p(),description:p().nullable().optional(),teamId:p(),creatorId:p().nullable().optional(),taskCount:Jt().optional(),createdAt:Ea([p(),Vn()]),updatedAt:Ea([p(),Vn()])}),Jbn=R({}),$bn=R({data:te(C_t)});var uM=R({id:p(),name:p(),image:p().optional()}),I_t=R({summary:p().optional(),blockReason:p().optional(),blockKind:p().optional(),reason:p().optional(),assets:te(R({id:p(),type:p().optional(),name:p().optional(),description:p().optional()})).optional()}).passthrough(),oV=R({id:p(),taskId:p(),actor:uM.nullable().optional(),type:za(rf),fromStatus:za(Qe).nullable().optional(),toStatus:za(Qe).nullable().optional(),data:I_t.nullable().optional(),createdAt:Ea([p(),Vn()])}),o_n=R({data:te(oV)});var R_t=R({id:p(),name:p(),key:p(),sizeByte:Jt(),contentType:p().nullable().optional(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional()}),P_t=R({id:p(),name:p(),sizeByte:Jt(),contentType:p().nullable().optional(),url:p(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional()}),f_n=R({id:p(),name:p(),key:p(),sizeByte:Jt(),contentType:p().nullable().optional(),uploadUrl:p(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional()}),s_n=R({body:p().default(""),attachments:te(R_t).optional()}).refine((e)=>e.body.trim().length>0||e.attachments&&e.attachments.length>0,{message:"Comment body or attachments required"}),aV=R({id:p(),taskId:p(),author:uM,body:p(),attachments:te(P_t).default([]),createdAt:Ea([p(),Vn()]),updatedAt:Ea([p(),Vn()])}),l_n=R({data:te(aV)});var h_n=R({title:p().min(1),description:p().optional(),isAgentTask:Er().optional(),priority:za(Br).optional(),startDate:Ea([p(),Vn()]).optional(),dueDate:Ea([p(),Vn()]).optional(),goalId:p().optional(),projectId:p().optional(),reporterId:p().optional(),assigneeId:p().optional(),targetFolderId:p().optional(),parentIds:te(p()).optional(),assetIds:te(p()).optional()}),g_n=R({fromStatus:za(Qe).optional(),title:p().min(1).optional(),description:p().nullable().optional(),status:za(Qe).optional(),reason:p().optional(),priority:za(Br).optional(),startDate:Ea([p(),Vn()]).nullable().optional(),dueDate:Ea([p(),Vn()]).nullable().optional(),goalId:p().nullable().optional(),projectId:p().nullable().optional(),reporterId:p().nullable().optional(),assigneeId:p().nullable().optional(),targetFolderId:p().nullable().optional(),beforeIndex:p().optional(),afterIndex:p().optional(),parentIds:te(p()).optional(),assetIds:te(p()).optional()}),M_n=R({status:za(Qe).optional(),isAgentTask:Ea([Er(),p()]).transform((e)=>e===!0||e==="true").optional(),goalId:p().optional(),projectId:p().optional(),priority:za(Br).optional(),assigneeId:p().optional(),reporterId:p().optional()}).merge(ys),T_t=R({id:p(),type:za(rf),actor:uM.nullable().optional(),summary:p().optional(),blockReason:p().optional(),blockKind:p().optional(),reason:p().optional(),createdAt:Ea([p(),Vn()])}),A_t=R({id:p(),title:p()}),Dhe=R({id:p(),title:p(),isAgentTask:Er(),status:za(Qe),priority:za(Br),sortIndex:p().nullable().optional()}),D_t=R({id:p(),name:p(),type:p(),proxyType:Ve(["image","video","audio","pdf"]).nullable().optional(),thumbnailUrl:p().nullable().optional(),path:p(),creator:uM.nullable().optional(),sizeByte:Jt().optional(),fileCount:Jt().optional(),projectId:p().nullable().optional(),createdAt:Ea([p(),Vn()])}),nV=R({id:p(),title:p(),description:p().nullable().optional(),isAgentTask:Er(),status:za(Qe),priority:za(Br),startDate:Ea([p(),Vn()]).nullable().optional(),dueDate:Ea([p(),Vn()]).nullable().optional(),startedAt:Ea([p(),Vn()]).nullable().optional(),completedAt:Ea([p(),Vn()]).nullable().optional(),teamId:p(),projectId:p().nullable().optional(),sortIndex:p().nullable().optional(),creator:uM,reporter:uM.nullable().optional(),assignee:uM.nullable().optional(),goal:A_t.nullable().optional(),targetFolderId:p().nullable().optional(),latestStatusEvent:T_t.nullable().optional(),commentCount:Jt().default(0),dependencyCount:Jt().default(0),dependentCount:Jt().default(0),assetCount:Jt().default(0),createdAt:Ea([p(),Vn()]),updatedAt:Ea([p(),Vn()])}),v_n=nV.extend({dependencies:te(Dhe),dependents:te(Dhe),assets:te(D_t),comments:te(aV),events:te(oV)}),x_n=R({data:te(nV),pageInfo:E8}),y_n=R({taskId:p()}),b_n=R({assetIds:te(p())}),__n=R({data:te(nV),total:Jt()});var P_n=R({assetId:p()});function Ehe(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Sa(e,r){if(r===void 0||r===null)return"";return` ${e}="${Ehe(r)}"`}function fA(e){if(!e)return"";let r=[];if(e.user){let a="";if(e.user.id!==void 0)a+=Sa("id",e.user.id);if(e.user.name!==void 0)a+=Sa("name",e.user.name);if(e.user.role!==void 0)a+=Sa("role",e.user.role);if(a)r.push(` <user${a} />`)}if(e.thread){let a="";if(e.thread.id!==void 0)a+=Sa("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+=Sa("id",a.id);if(a.name!==void 0)i+=Sa("name",a.name);if(a.type!==void 0)i+=Sa("type",a.type);if(a.mediaType!==void 0)i+=Sa("media_type",a.mediaType);if(a.mimeType!==void 0)i+=Sa("mime_type",a.mimeType);if(a.parentId!==void 0)i+=Sa("parent_id",a.parentId);if(a.path!==void 0)i+=Sa("path",a.path);if(a.durationSeconds!==void 0)i+=` duration_seconds="${a.durationSeconds.toFixed(2)}"`;if(a.totalFrames!==void 0)i+=` total_frames="${Math.round(a.totalFrames)}"`;if(a.totalPages!==void 0)i+=` total_pages="${Math.round(a.totalPages)}"`;if(a.navigated!==void 0)i+=` navigated="${String(a.navigated)}"`;if(a.ancestors&&a.ancestors.length>0){r.push(` <current_asset${i}>`),r.push(" <ancestors>");for(let f of a.ancestors){let s="";if(f.id!==void 0)s+=Sa("id",f.id);if(f.name!==void 0)s+=Sa("name",f.name);r.push(` <folder${s} />`)}r.push(" </ancestors>"),r.push(" </current_asset>")}else r.push(` <current_asset${i} />`)}if(e.position){if(e.position.type==="time")r.push(` <position type="time" seconds="${e.position.seconds.toFixed(4)}" />`);else if(e.position.type==="page")r.push(` <position type="page" page="${Math.round(e.position.page)}" />`)}if(e.annotation)if(e.id!==void 0)r.push(` <annotation id="${Ehe(e.id)}" />`);else r.push(" <annotation />");if(e.attachedFiles&&e.attachedFiles.length>0){let a=[...e.attachedFiles].sort((i,f)=>i.id.localeCompare(f.id));r.push(" <attached_files>");for(let i of a){let f="";if(i.id!==void 0)f+=Sa("id",i.id);if(i.name!==void 0)f+=Sa("name",i.name);if(i.type!==void 0)f+=Sa("type",i.type);if(i.mediaType!==void 0)f+=Sa("media_type",i.mediaType);if(i.mimeType!==void 0)f+=Sa("mime_type",i.mimeType);if(i.path!==void 0)f+=Sa("path",i.path);r.push(` <file${f} />`)}r.push(" </attached_files>")}if(e.referencedAssets&&e.referencedAssets.length>0){let a=[...e.referencedAssets].sort((i,f)=>i.id.localeCompare(f.id));r.push(" <referenced_assets>");for(let i of a)if(i.type==="folder"){let f="";if(i.id!==void 0)f+=Sa("id",i.id);if(i.name!==void 0)f+=Sa("name",i.name);if(i.path!==void 0)f+=Sa("path",i.path);r.push(` <folder${f} />`)}else{let f="";if(i.id!==void 0)f+=Sa("id",i.id);if(i.name!==void 0)f+=Sa("name",i.name);if(i.type!==void 0)f+=Sa("type",i.type);if(i.mediaType!==void 0)f+=Sa("media_type",i.mediaType);if(i.mimeType!==void 0)f+=Sa("mime_type",i.mimeType);if(i.path!==void 0)f+=Sa("path",i.path);r.push(` <asset${f} />`)}r.push(" </referenced_assets>")}if(r.length===0)return"";return`<context>
|
|
196
|
-
${r.join(`
|
|
197
|
-
`)}
|
|
198
|
-
</context>`}var wR=Ve(["image","video"]),E_t=Ve(["configured_custom","configured_env","not_configured"]),E_n=R({apiKey:p().optional().or(_u("")),models:te(R({type:wR,modelId:p().min(1,"Model ID is required"),name:p().optional()})).optional()});var O_n=R({type:wR,provider:p().min(1,"Provider is required"),modelId:p().min(1,"Model ID is required"),name:p().optional()}),O_t=R({id:p(),type:wR,provider:p(),modelId:p(),name:p(),createdAt:p()}),j_t=R({provider:p(),defaultEnvKey:p(),apiKeyConfigured:Er(),status:E_t,customApiKeyOrEnv:p().optional(),supportedTypes:te(wR)}),j_n=R({providers:te(j_t),enabledModels:te(O_t)}),N_n=R({modelId:p(),name:p(),type:wR}),F_n=R({provider:p().optional(),type:wR.optional()});var Ohe=86400000,Mn=(e)=>{let r=fM(e),a=new Date;if(isNaN(r.getTime()))return e;let i=hr(r,"HH:mm");if(D2(r))return spt({time:i});if(E2(r))return dgt({time:i});let f=Y9(a,r),s=f>=0?f:0;return s===1?Qfe({count:s}):Xfe({count:s})},pA=(e)=>{let r=fM(e),a=new Date;if(isNaN(r.getTime()))return e;if(D2(r))return tse();if(E2(r))return rse();let i=Y9(a,r),f=i>=0?i:0;return f===1?Qfe({count:f}):Xfe({count:f})},Hp=(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 f=Math.floor(i/1000),s=Math.floor(f/86400),l=Math.floor(f%86400/3600),c=Math.floor(f%3600/60);if(s>0)return l>0?`${s}d ${l}h`:`${s}d`;if(l>0)return c>0?`${l}h ${c}m`:`${l}h`;return c>0?`${c}m`:"< 1m"},zd=(e,r=new Date)=>{if(!e)return null;let a=fM(e);if(isNaN(a.getTime()))return null;let i=a.getTime()+bhe*Ohe;return Math.max(0,Math.ceil((i-r.getTime())/Ohe))};S();var J2=10,iV=10,jhe=J2*iV,jd=({spriteUrl:e,thumbnailUrl:r,videoWidth:a,videoHeight:i,className:f=""})=>{let s=b(null),[l,c]=u({width:0,height:0}),[m,g]=u({width:0,height:0}),[M,v]=u(!1),[y,x]=u(!1),[_,j]=u(!1),[U,T]=u(0),[N,G]=u(0);h(()=>{if(!s.current)return;let ae=new ResizeObserver((ye)=>{for(let We of ye)c({width:We.contentRect.width,height:We.contentRect.height})});return ae.observe(s.current),()=>ae.disconnect()},[]);let X=P(()=>{if(y||_)return;j(!0);let ae=new Image;ae.src=e,ae.onload=()=>{g({width:ae.naturalWidth,height:ae.naturalHeight}),x(!0),j(!1)},ae.onerror=()=>{console.error("Failed to load sprite image"),j(!1)}},[e,y,_]),J=()=>{v(!0),X()},ee=()=>{v(!1)},re=(ae)=>{if(!s.current)return;let ye=s.current.getBoundingClientRect(),We=ae.clientX-ye.left,Ye=Math.max(0,Math.min(We,ye.width));G(Ye);let ze=Ye/ye.width,qe=Math.min(Math.floor(ze*jhe),jhe-1);T(qe)},oe=D(()=>{if(l.width===0||l.height===0)return{};let ae=a/i;if(m.width>0&&m.height>0){let yt=m.width/J2,Wt=m.height/iV;ae=yt/Wt}let ye=l.width/l.height,We,Ye;if(ye>ae)Ye=l.height,We=Ye*ae;else We=l.width,Ye=We/ae;let ze=Math.ceil(We),qe=Math.ceil(Ye),ut=ze*J2,$e=qe*iV,xt=U%J2,Dt=Math.floor(U/J2),jt=-(xt*ze),de=-(Dt*qe);return{backgroundImage:`url(${e})`,backgroundSize:`${ut}px ${$e}px`,backgroundPosition:`${jt}px ${de}px`,backgroundRepeat:"no-repeat",width:`${ze}px`,height:`${qe}px`,imageRendering:"auto"}},[l,a,i,U,e,m]);return o("div",{ref:s,className:`relative w-full h-full overflow-hidden cursor-crosshair group bg-black select-none ${f}`,onMouseEnter:J,onMouseLeave:ee,onMouseMove:re,children:[t("img",{src:r,alt:"Thumbnail",className:`absolute inset-0 w-full h-full object-contain transition-opacity duration-200 ${M&&y?"opacity-0":"opacity-100"}`,draggable:!1}),M&&!y&&t("div",{className:"absolute inset-0 flex items-center justify-center bg-black/50 z-10",children:t("div",{className:"w-6 h-6 border-2 border-white/30 border-t-white rounded-full animate-spin"})}),y&&t("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-75 ${M?"opacity-100":"opacity-0"}`,children:t("div",{style:oe})}),M&&t("div",{className:"absolute top-0 bottom-0 w-0.5 bg-red-500 shadow-[0_0_4px_rgba(255,0,0,0.8)] z-20 pointer-events-none",style:{transform:`translateX(${N}px)`}})]})};S();var el=(e,r)=>{let a=new RegExp(`(${Object.keys(r).map((i)=>`\\{${i}\\}`).join("|")})`,"g");return t("span",{children:e.split(a).map((i,f)=>{let s=i.match(/^\{(.+)\}$/);if(s&&r[s[1]])return t(Cn,{children:r[s[1]]},f);return i})})},Nhe=({notification:e})=>{let r=Me(),{creator:a,createdAt:i,isRead:f,type:s,asset:l,project:c,team:m,user:g,kanbanTask:M}=e,v=(()=>{let j=a?.name||Tl(),U=l?.name||omt(),T=M?.title||dmt(),N=c?.name||lmt(),G=m?.name||mmt(),X=g?.name||Tl(),J={creator:t("span",{className:"font-semibold",children:j}),asset:t("span",{className:"font-semibold",children:U}),task:t("span",{className:"font-semibold",children:T}),project:t("span",{className:"font-semibold",children:N}),team:t("span",{className:"font-semibold",children:G}),user:t("span",{className:"font-semibold",children:X})};switch(s){case"comment_created":return el(AJe({creator:"{creator}",asset:"{asset}"}),J);case"reply_created":return el(h$e({creator:"{creator}",asset:"{asset}"}),J);case"mention":return el(M?Z$e({creator:"{creator}",task:"{task}"}):c$e({creator:"{creator}",asset:"{asset}"}),J);case"successful_file_uploaded":return el(S$e({creator:"{creator}",asset:"{asset}",project:"{project}"}),J);case"metadata_field_updated_status":return el(_$e({creator:"{creator}",asset:"{asset}"}),J);case"new_user_join_team":return el(UJe({user:"{user}",team:"{team}"}),J);case"new_user_join_project":return el(FJe({user:"{user}",project:"{project}"}),J);case"kanban_task_created":return el(JJe({creator:"{creator}",task:"{task}"}),J);case"kanban_task_assigned":return el(VJe({creator:"{creator}",task:"{task}"}),J);case"kanban_task_status_updated":return el(a$e({creator:"{creator}",task:"{task}"}),J);case"kanban_task_updated":return el(f$e({creator:"{creator}",task:"{task}"}),J);case"kanban_task_deleted":return el(t$e({creator:"{creator}",task:"{task}"}),J);case"kanban_task_comment_created":return el(KJe({creator:"{creator}",task:"{task}"}),J);default:return el(OJe({creator:"{creator}"}),J)}})(),y=l?.proxyType==="video"&&l.preview&&l.thumbnailUrl&&l.originalWidth&&l.originalHeight,x=l?.preview&&(l.proxyType==="image"||l.proxyType==="video");return o("div",{onClick:()=>{if(M?.id&&m?.id)r({to:"/teams/$teamId/kanban",params:{teamId:m.id},search:{taskId:M.id}})},className:"flex py-2 cursor-pointer group border border-transparent items-center justify-center hover:bg-muted/50 rounded-md px-1 transition-colors",children:[t("div",{className:C("w-1.5 h-1.5 rounded-full shadow-xs",f?"bg-transparent":"bg-destructive")}),o("div",{className:"flex-1 min-w-0 flex flex-col justify-center pl-2",children:[t("div",{className:"text-sm text-foreground break-all leading-snug",children:v}),t("div",{className:"text-[11px] text-muted-foreground mt-1",children:Mn(i||"")})]}),x&&t("div",{className:"w-18 h-18 ml-2 rounded-md overflow-hidden flex-shrink-0 bg-muted border border-border flex items-center justify-center mt-0.5",children:y?t(jd,{spriteUrl:l.preview,thumbnailUrl:l.thumbnailUrl,videoWidth:l.originalWidth,videoHeight:l.originalHeight}):t("img",{src:l.preview,alt:l.name,className:"w-full h-full object-cover"})})]})};function xo({className:e,orientation:r="horizontal",...a}){return t(TRe,{"data-slot":"tabs","data-orientation":r,orientation:r,className:C("group/tabs flex gap-2 data-[orientation=horizontal]:flex-col",e),...a})}var N_t=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 So({className:e,variant:r="default",...a}){return t(ARe,{"data-slot":"tabs-list","data-variant":r,className:C(N_t({variant:r}),e),...a})}function Qr({className:e,...r}){return t(DRe,{"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(ERe,{"data-slot":"tabs-content",className:C("flex-1 outline-none",e),...r})}S();var Fhe=()=>{let{teamId:e}=lt(),[r,a]=u("all"),i=K(),{ref:f,inView:s}=Nt(),l=(T,N)=>["notifications",T,{unreadOnly:N}],{data:c,fetchNextPage:m,hasNextPage:g,isFetchingNextPage:M,isLoading:v,refetch:y}=ft({queryKey:l(e??null,r==="unread"),queryFn:async({pageParam:T})=>{let N=await A.api.teams[":teamId"].notifications.$get({param:{teamId:e},query:{unreadOnly:r==="unread"?"true":"false",...T?{after:T}:{},pageSize:"20"}});if(!N.ok)throw Error("failed to fetch notifications");return N.json()},initialPageParam:void 0,getNextPageParam:(T)=>T.pageInfo?.cursor||void 0,enabled:!!e});h(()=>{if(s&&g)m()},[s,g,m]);let x=D(()=>c?.pages.flatMap((T)=>T.data||[])||[],[c]);h(()=>{if(e)i.invalidateQueries({queryKey:["teams",e,"me"]})},[e,x.length,i]);let _=A.api.teams[":teamId"].notifications.read.$post,j=B({mutationFn:async({teamId:T,notificationId:N})=>{if(!(await _({param:{teamId:T},json:{notificationId:N}})).ok)throw Error("failed to mark read");return null}}),U=async()=>{if(x.length>0&&e){let T=x[0].id;if(T){i.setQueryData(["teams",e,"me"],(N)=>{if(!N)return N;return{...N,unreadNotificationCount:0}});try{await j.mutateAsync({teamId:e,notificationId:T})}catch(N){console.error("Failed to mark all as read:",N)}i.invalidateQueries({queryKey:["notifications",e]}),i.invalidateQueries({queryKey:["teams",e,"me"]}),y()}}};return o("div",{className:"flex flex-col h-full w-full bg-transparent",children:[t("div",{className:"flex-none pb-1",children:t(xo,{value:r,onValueChange:(T)=>a(T),className:"w-full",children:o("div",{className:"flex items-center justify-between mb-2",children:[o(So,{className:"h-8",children:[t(Qr,{value:"all",className:"text-xs px-3 h-6",children:WDe()}),t(Qr,{value:"unread",className:"text-xs px-3 h-6",children:Smt()})]}),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:YVe(),children:t(cT,{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:DQe()})}),t("div",{className:"space-y-1",children:x.map((T)=>t(Nhe,{notification:T},T.id))}),t("div",{ref:f,className:"h-4 w-full flex justify-center p-1",children:M&&t(F,{className:"w-4 h-4 animate-spin text-muted-foreground"})})]})]})};var zL=null,on=Mr((e)=>({projectState:null,setProjectState:(r)=>{if(zL)clearTimeout(zL),zL=null;e({projectState:r})},clearProjectState:()=>{if(zL)clearTimeout(zL);zL=setTimeout(()=>{e({projectState:null}),zL=null},10)}}));var F_t=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 f=a?coe:"span";return t(f,{"data-slot":"badge","data-variant":r,className:C(F_t({variant:r}),e),...i})}var I4={viewBox:"0 -960 960 960",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},Bhe=(e)=>t("svg",{...I4,...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"})}),Yhe=(e)=>t("svg",{...I4,...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"})}),Uhe=(e)=>t("svg",{...I4,...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"})}),qhe=(e)=>t("svg",{...I4,...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"})}),Hhe=(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"})]}),Vhe=(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"})}),_a=(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"})]}),Whe=(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 Ghe({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 Khe=({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"})}),Xhe=(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:B_t,defineProperty:nge,defineProperties:Y_t,getOwnPropertyDescriptor:U_t,getOwnPropertyDescriptors:q_t,getOwnPropertySymbols:E4}=Object,ige=Object.prototype.hasOwnProperty,fge=Object.prototype.propertyIsEnumerable,H_t=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),aD=(e)=>{throw TypeError(e)},cV=(e,r,a)=>(r in e)?nge(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,fV=(e,r)=>{for(var a in r||(r={}))if(ige.call(r,a))cV(e,a,r[a]);if(E4){for(var a of E4(r))if(fge.call(r,a))cV(e,a,r[a])}return e},sV=(e,r)=>Y_t(e,q_t(r)),V_t=(e,r)=>{var a={};for(var i in e)if(ige.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&E4){for(var i of E4(e))if(r.indexOf(i)<0&&fge.call(e,i))a[i]=e[i]}return a},W_t=(e)=>{var r;return[,,,B_t((r=void 0)!=null?r:null)]},sge=["class","method","getter","setter","accessor","field","value","get","set"],eD=(e)=>e!==void 0&&typeof e!=="function"?aD("Function expected"):e,G_t=(e,r,a,i,f)=>({kind:sge[e],name:r,metadata:i,addInitializer:(s)=>a._?aD("Already initialized"):f.push(eD(s||null))}),K_t=(e,r)=>cV(r,H_t("metadata"),e[3]),R4=(e,r,a,i)=>{for(var f=0,s=e[r>>1],l=s&&s.length;f<l;f++)r&1?s[f].call(a):i=s[f].call(a,i);return i},lge=(e,r,a,i,f,s)=>{var l,c,m,g,M,v=r&7,y=!1,x=!1,_=e.length+1,j=sge[v+5],U=e[_-1]=[],T=e[_]||(e[_]=[]),N=(f=f.prototype,U_t({get[a](){return tD(this,s)},set[a](X){return SL(this,s,X)}},a));for(var G=i.length-1;G>=0;G--)if(g=G_t(v,a,m={},e[3],T),g.static=y,g.private=x,M=g.access={has:(X)=>(a in X)},M.get=(X)=>X[a],M.set=(X,J)=>X[a]=J,c=(0,i[G])({get:N.get,set:N.set},g),m._=1,c===void 0)eD(c)&&(N[j]=c);else if(typeof c!=="object"||c===null)aD("Object expected");else eD(l=c.get)&&(N.get=l),eD(l=c.set)&&(N.set=l),eD(l=c.init)&&U.unshift(l);return N&&nge(f,a,N),f},cge=(e,r,a)=>r.has(e)||aD("Cannot "+a),tD=(e,r,a)=>(cge(e,r,"read from private field"),r.get(e)),$2=(e,r,a)=>r.has(e)?aD("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),SL=(e,r,a,i)=>(cge(e,r,"write to private field"),r.set(e,a),a);function no(e){return e instanceof pV||e instanceof Zge}var P4=10,X_t=class extends Bi{constructor(e){super(e);let r=gi(()=>{let{dragOperation:i}=e;if(!lL(i.activatorEvent))return;if(!no(i.source))return;if(i.status.initialized){let f=e.registry.plugins.get(cR);if(f)return f.disable(),()=>f.enable()}}),a=e.monitor.addEventListener("dragmove",(i,f)=>{queueMicrotask(()=>{if(this.disabled||i.defaultPrevented||!i.nativeEvent)return;let{dragOperation:s}=f;if(!lL(i.nativeEvent))return;if(!no(s.source))return;if(!s.shape)return;let{actions:l,collisionObserver:c,registry:m}=f,{by:g}=i;if(!g)return;let M=Q_t(g),{source:v,target:y}=s,{center:x}=s.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 bc(J.element,{getBoundingClientRect:(ae)=>eR(ae,void 0,0.2)});if(!oe.height||!oe.width)continue;if(M=="down"&&x.y+P4<oe.center.y||M=="up"&&x.y-P4>oe.center.y||M=="left"&&x.x-P4>oe.center.x||M=="right"&&x.x+P4<oe.center.x)_.push(J),J.shape=oe,j.push(()=>J.shape=re)}}),i.preventDefault(),c.disable();let U=c.computeCollisions(_,Wle);Qo(()=>j.forEach((J)=>J()));let[T]=U;if(!T)return;let{id:N}=T,{index:G,group:X}=v.sortable;l.setDropTarget(N).then(()=>{let{source:J,target:ee,shape:re}=s;if(!J||!no(J)||!re)return;let{index:oe,group:ae,target:ye}=J.sortable,We=G!==oe||X!==ae,Ye=We?ye:ee==null?void 0:ee.element;if(!Ye)return;L5(Ye);let ze=new bc(Ye);if(!ze)return;let qe=Ks.delta(ze,Ks.from(re.current.boundingRectangle),J.alignment);if(l.move({by:qe}),We)l.setDropTarget(J.id).then(()=>c.enable());else c.enable()})})});this.destroy=()=>{a(),r()}}};function Q_t(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:J_t,defineProperties:$_t,getOwnPropertyDescriptors:ewt,getOwnPropertySymbols:Qhe}=Object,twt=Object.prototype.hasOwnProperty,rwt=Object.prototype.propertyIsEnumerable,Jhe=(e,r,a)=>(r in e)?J_t(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,zR=(e,r)=>{for(var a in r||(r={}))if(twt.call(r,a))Jhe(e,a,r[a]);if(Qhe){for(var a of Qhe(r))if(rwt.call(r,a))Jhe(e,a,r[a])}return e},SR=(e,r)=>$_t(e,ewt(r));function owt(e,r,a){if(r===a)return e;let i=e.slice();return i.splice(a,0,i.splice(r,1)[0]),i}function T4(e,r){let a=String(r);return Object.prototype.hasOwnProperty.call(e,a)?a:void 0}function lV(e){return"initialIndex"in e&&typeof e.initialIndex==="number"&&"index"in e&&typeof e.index==="number"}function awt(e,r,a){var i,f;let{source:s,target:l,canceled:c}=r.operation;if(!s||!l||c){if("preventDefault"in r)r.preventDefault();return e}let m=(G,X)=>G===X||G!==null&&typeof G==="object"&&("id"in G)&&G.id===X;if(Array.isArray(e)){let G=e.findIndex((J)=>m(J,s.id)),X=e.findIndex((J)=>m(J,l.id));if(G===-1||X===-1){if(lV(s)){let{initialIndex:J,index:ee}=s;if(J===ee||J<0||J>=e.length){if("preventDefault"in r)r.preventDefault();return e}return a(e,J,ee)}return e}if(!c&&"index"in s&&typeof s.index==="number"){let J=s.index;if(J!==G)return a(e,G,J)}return a(e,G,X)}let g=Object.entries(e),M=-1,v,y=-1,x;for(let[G,X]of g){if(M===-1){if(M=X.findIndex((J)=>m(J,s.id)),M!==-1)v=G}if(y===-1){if(y=X.findIndex((J)=>m(J,l.id)),y!==-1)x=G}if(M!==-1&&y!==-1)break}if(M===-1&&lV(s)){let G=s.initialGroup==null?void 0:T4(e,s.initialGroup),X=s.initialIndex,J=s.group==null?void 0:T4(e,s.group),ee=s.index;if(G==null||J==null){if("preventDefault"in r)r.preventDefault();return e}if(G===J&&X===ee){if("preventDefault"in r)r.preventDefault();return e}if(G===J)return SR(zR({},e),{[G]:a(e[G],X,ee)});let re=e[G][X];return SR(zR({},e),{[G]:[...e[G].slice(0,X),...e[G].slice(X+1)],[J]:[...e[J].slice(0,ee),re,...e[J].slice(ee)]})}if(!s.manager)return e;let{dragOperation:_}=s.manager,j=(f=(i=_.shape)==null?void 0:i.current.center)!=null?f:_.position.current;if(x==null){let G=T4(e,l.id);if(G!=null){let X=l.shape&&j.y>l.shape.center.y?e[G].length:0;x=G,y=X}}if(v==null||x==null||v===x&&M===y){if(v!=null&&v===x&&M===y&&lV(s)){let G=s.group==null?void 0:T4(e,s.group),X=s.group!=null&&G!==v,J=s.index!==M;if(X||J){let ee=s.group==null?v:G;if(ee!=null){if(v===ee)return SR(zR({},e),{[v]:a(e[v],M,s.index)});let re=e[v][M];return SR(zR({},e),{[v]:[...e[v].slice(0,M),...e[v].slice(M+1)],[ee]:[...e[ee].slice(0,s.index),re,...e[ee].slice(s.index)]})}}}if("preventDefault"in r)r.preventDefault();return e}if(v===x)return SR(zR({},e),{[v]:a(e[v],M,y)});let T=l.shape&&Math.round(j.y)>Math.round(l.shape.center.y)?1:0,N=e[v][M];return SR(zR({},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 nwt(e,r){return awt(e,r,owt)}function $he(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[f,s]of r)for(let l of s){let c=e.get(l.id);if(l.index!==c||l.group!==f||!((i=a.get(f))==null?void 0:i.has(l)))return!0}return!1}var tge="__default__",iwt=class extends Bi{constructor(e){super(e);let r=()=>{let i=new Map;for(let f of e.registry.droppables)if(f instanceof pV){let{sortable:s}=f,{group:l}=s,c=i.get(l);if(!c)c=new Set,i.set(l,c);c.add(s)}return i},a=[e.monitor.addEventListener("dragover",(i,f)=>{if(this.disabled)return;let{dragOperation:s}=f,{source:l,target:c}=s;if(!no(l)||!no(c))return;if(l.sortable===c.sortable)return;let m=r(),g=$he(m),M=l.sortable.group===c.sortable.group,v=m.get(l.sortable.group),y=M?v:m.get(c.sortable.group);if(!v||!y)return;queueMicrotask(()=>{if(i.defaultPrevented)return;f.renderer.rendering.then(()=>{var x,_;let j=r();if(ege(g,m,j))return;let U=l.sortable.element,T=c.sortable.element;if(!T||!U)return;if(!M&&c.id===l.sortable.group)return;let N=A4(v),G=M?N:A4(y),X=(x=l.sortable.group)!=null?x:tge,J=(_=c.sortable.group)!=null?_:tge,ee={[X]:N,[J]:G},re=nwt(ee,i);if(ee===re)return;let oe=re[J].indexOf(l.sortable),ae=re[J].indexOf(c.sortable);f.collisionObserver.disable(),rge(U,oe,T,ae),Qo(()=>{for(let[ye,We]of re[X].entries())We.index=ye;if(!M)for(let[ye,We]of re[J].entries())We.group=c.sortable.group,We.index=ye}),f.actions.setDropTarget(l.id).then(()=>f.collisionObserver.enable())})})}),e.monitor.addEventListener("dragend",(i,f)=>{if(!i.canceled)return;let{dragOperation:s}=f,{source:l}=s;if(!no(l))return;if(l.sortable.initialIndex===l.sortable.index&&l.sortable.initialGroup===l.sortable.group)return;queueMicrotask(()=>{let c=r(),m=$he(c),g=c.get(l.sortable.initialGroup);if(!g)return;f.renderer.rendering.then(()=>{let M=r();if(ege(m,c,M))return;let v=A4(g),y=A4(g,swt),x=l.sortable.element,_=y.indexOf(l.sortable),j=v[_],U=j==null?void 0:j.element;if(!j||!U||!x)return;rge(x,j.index,U,l.index),Qo(()=>{for(let T of c.values()){let N=Array.from(T).values();for(let G of N)G.index=G.initialIndex,G.group=G.initialGroup}})})})})];this.destroy=()=>{for(let i of a)i()}}};function rge(e,r,a,i){let f=i<r?"afterend":"beforebegin";a.insertAdjacentElement(f,e)}function fwt(e,r){return e.index-r.index}function swt(e,r){return e.initialIndex-r.initialIndex}function A4(e,r=fwt){return Array.from(e).sort(r)}var oge=[X_t,iwt],uV={duration:250,easing:"cubic-bezier(0.25, 1, 0.5, 1)",idle:!1};function age(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 D4=new bse,uge,dge,O8,dV,rD,oD,ZV,LR;dge=[ko],uge=[ko];var nD=class{constructor(e,r){$2(this,dV,R4(O8,8,this)),R4(O8,11,this),$2(this,rD),$2(this,oD),$2(this,ZV,R4(O8,12,this)),R4(O8,15,this),$2(this,LR),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:f,group:s,index:l,sensors:c,type:m,transition:g=uV,plugins:M}=a,v=V_t(a,["effects","disabled","group","index","sensors","type","transition","plugins"]);let y=cs(M,oge),x=age(f);this.droppable=new pV(sV(fV({},v),{disabled:x.droppable}),r,this),this.draggable=new Zge(sV(fV({},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))D4.clear(this.manager);if(T==null?void 0:T.dragging)D4.set(this.manager,this.id,ho(()=>({initialIndex:this.index,initialGroup:this.group})))},()=>{let{index:_,group:j,manager:U}=this,T=tD(this,oD),N=tD(this,rD);if(_!==T||j!==N)SL(this,oD,_),SL(this,rD,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:c}),r,this),SL(this,LR,v.element),this.manager=r,this.index=l,SL(this,oD,l),this.group=s,SL(this,rD,s),this.type=m,this.transition=g}get initialIndex(){var e,r;return(r=(e=D4.get(this.manager,this.id))==null?void 0:e.initialIndex)!=null?r:this.index}get initialGroup(){var e,r;return(r=(e=D4.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:f}=this;if(!f)return;for(let M of f.getAnimations())if("transitionProperty"in M&&(M.transitionProperty==="transform"||M.transitionProperty==="translate"||M.transitionProperty==="scale"))M.cancel();let s=this.refreshShape();if(!s)return;let l={x:a.boundingRectangle.left-s.boundingRectangle.left,y:a.boundingRectangle.top-s.boundingRectangle.top},{translate:c}=yc(f),m=n9(f,c,!1),g=n9(f,c);if(l.x||l.y){let M=g2(us(f))?sV(fV({},r),{duration:0}):r;k5({element:f,keyframes:{translate:[`${m.x+l.x}px ${m.y+l.y}px ${m.z}`,`${g.x}px ${g.y}px ${g.z}`]},options:M}).then(()=>{if(!e.dragOperation.status.dragging)this.droppable.shape=void 0})}})})}get manager(){return this.draggable.manager}set manager(e){Qo(()=>{this.draggable.manager=e,this.droppable.manager=e})}set element(e){Qo(()=>{let r=tD(this,LR),a=this.droppable.element,i=this.draggable.element;if(!a||a===r)this.droppable.element=e;if(!i||i===r)this.draggable.element=e;SL(this,LR,e)})}get element(){var e,r;let a=tD(this,LR);if(!a)return;return(r=(e=M2.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,oge)}set disabled(e){let r=age(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:I5}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=W_t();dV=new WeakMap;rD=new WeakMap;oD=new WeakMap;ZV=new WeakMap;LR=new WeakMap;lge(O8,4,"index",dge,nD,dV);lge(O8,4,"group",uge,nD,ZV);K_t(O8,nD);var Zge=class extends mL{constructor(e,r,a){super(e,r);this.sortable=a}get index(){return this.sortable.index}get initialIndex(){return this.sortable.initialIndex}get group(){return this.sortable.group}get initialGroup(){return this.sortable.initialGroup}},pV=class extends uR{constructor(e,r,a){super(e,r);this.sortable=a}get index(){return this.sortable.index}get group(){return this.sortable.group}};var{defineProperty:lwt,defineProperties:cwt,getOwnPropertyDescriptors:uwt,getOwnPropertySymbols:pge}=Object,dwt=Object.prototype.hasOwnProperty,Zwt=Object.prototype.propertyIsEnumerable,mge=(e,r,a)=>(r in e)?lwt(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,mV=(e,r)=>{for(var a in r||(r={}))if(dwt.call(r,a))mge(e,a,r[a]);if(pge){for(var a of pge(r))if(Zwt.call(r,a))mge(e,a,r[a])}return e},pwt=(e,r)=>cwt(e,uwt(r));function Li(e){let{accept:r,collisionDetector:a,collisionPriority:i,id:f,data:s,element:l,handle:c,index:m,group:g,disabled:M,modifiers:v,sensors:y,target:x,type:_,plugins:j}=e,U=mV(mV({},uV),e.transition),T=Y5((G)=>new nD(pwt(mV({},e),{transition:U,register:!1,handle:xu(c),element:xu(l),target:xu(x)}),G)),N=dR(T,mwt);return Uo(f,()=>T.id=f),oM(()=>{Qo(()=>{T.group=g,T.index=m})},[T,g,m]),Uo(_,()=>T.type=_),Uo(r,()=>T.accept=r,void 0,Ji),Uo(s,()=>s&&(T.data=s)),Uo(m,()=>{var G;if(((G=T.manager)==null?void 0:G.dragOperation.status.idle)&&(U==null?void 0:U.idle))T.refreshShape()},Pce),k8(c,(G)=>T.handle=G),k8(l,(G)=>T.element=G),k8(x,(G)=>T.target=G),Uo(M,()=>T.disabled=M!=null?M:!1,void 0,Ji),Uo(y,()=>T.sensors=y,void 0,Ji),Uo(a,()=>T.collisionDetector=a),Uo(i,()=>T.collisionPriority=i),Uo(j,()=>T.plugins=j,void 0,Ji),Uo(U,()=>T.transition=U,void 0,Ji),Uo(v,()=>T.modifiers=v,void 0,Ji),Uo(e.alignment,()=>T.alignment=e.alignment),{sortable:N,get isDragging(){return N.isDragging},get isDropping(){return N.isDropping},get isDragSource(){return N.isDragSource},get isDropTarget(){return N.isDropTarget},handleRef:P((G)=>{T.handle=G!=null?G:void 0},[T]),ref:P((G)=>{var X,J;if(!G&&((X=T.element)==null?void 0:X.isConnected)&&!((J=T.manager)==null?void 0:J.dragOperation.status.idle))return;T.element=G!=null?G:void 0},[T]),sourceRef:P((G)=>{var X,J;if(!G&&((X=T.source)==null?void 0:X.isConnected)&&!((J=T.manager)==null?void 0:J.dragOperation.status.idle))return;T.source=G!=null?G:void 0},[T]),targetRef:P((G)=>{var X,J;if(!G&&((X=T.target)==null?void 0:X.isConnected)&&!((J=T.manager)==null?void 0:J.dragOperation.status.idle))return;T.target=G!=null?G:void 0},[T])}}function mwt(e,r,a){if(e==="isDragSource"&&!a&&r)return!0;return!1}S();function hwt(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 gwt({version:e,displayVersionNumber:r,index:a,canEdit:i,onRemove:f}){let[s,l]=u(!1),{ref:c,handleRef:m}=Li({id:e.id,index:a,disabled:!i}),g=hwt(e.createdAt);return o("div",{ref:c,className:"group flex items-center gap-3 p-2.5 rounded-lg border border-border bg-card hover:bg-accent/40 transition-colors",children:[o("div",{className:"flex-shrink-0 flex items-center justify-center bg-muted text-muted-foreground rounded-full px-2.5 py-0.5 text-xs font-semibold select-none min-w-[2.25rem]",children:["v",r]}),i?t("div",{ref:m,className:"cursor-grab active:cursor-grabbing text-muted-foreground hover:text-foreground p-1 -m-1 rounded touch-none flex items-center justify-center",children:t(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(St,{className:"h-3 w-3 shrink-0"}),t("span",{className:"truncate",children:Gc({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:s,onOpenChange:l,children:[t(ge,{asChild:!0,children:t(E,{variant:"ghost",size:"icon","aria-label":"More options",className:C("h-8 w-8 text-muted-foreground hover:text-foreground transition-opacity flex-shrink-0",s?"opacity-100":"opacity-0 group-hover:opacity-100 focus:opacity-100"),children:t(wr,{className:"h-4 w-4"})})}),t(Ae,{align:"end",children:o(W,{onClick:()=>f(e.id),className:"text-destructive focus:text-destructive cursor-pointer",children:[t(we,{className:"h-4 w-4 mr-2"}),t("span",{children:mit()})]})})]})]})}function qd({open:e,onOpenChange:r,stackId:a,canEdit:i=!0,onVersionRemoved:f,onStackDissolved:s}){let l=K(),[c,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:()=>{l.invalidateQueries({queryKey:["version_stacks"]}),l.invalidateQueries({queryKey:["files"]}),l.invalidateQueries({queryKey:["file"]}),l.invalidateQueries({queryKey:["search"]}),l.invalidateQueries({queryKey:["folders"]}),l.invalidateQueries({queryKey:["projects"]}),k.success(wht())},onError:()=>{if(k.error(L7e()),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(yht());let T=c.filter((N)=>N.id!==U);if(m(T),l.invalidateQueries({queryKey:["version_stacks"]}),l.invalidateQueries({queryKey:["files"]}),l.invalidateQueries({queryKey:["file"]}),l.invalidateQueries({queryKey:["search"]}),l.invalidateQueries({queryKey:["folders"]}),l.invalidateQueries({queryKey:["projects"]}),T.length<=1){let N=T[0];if(r(!1),N)s?.(N.id)}else f?.(U,T)},onError:()=>{k.error(b7e())}}),_=(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=[...c],[J]=X.splice(N,1);X.splice(G,0,J),m(X);let ee=G===X.length-1?"-1":X[G+1].id;v({fileId:J.id,beforeId:ee})},j=(U)=>{if(x)return;y(U)};return t(ue,{open:e,onOpenChange:r,children:o(ie,{className:"max-w-lg p-0 gap-0 overflow-hidden",children:[t(me,{className:"p-4 pb-3 border-b border-border",children:t(le,{className:"text-base font-semibold",children:NVe()})}),t(ce,{className:"max-h-[60vh] p-4",children:M?t("div",{className:"py-8 text-center text-sm text-muted-foreground",children:Ad?.()||"Loading..."}):c.length===0?t("div",{className:"py-8 text-center text-sm text-muted-foreground",children:LJe()}):t("div",{className:"space-y-2",children:t($n,{sensors:[An.configure({activationConstraints:[new Nr.Distance({value:6})]}),Jo],onDragEnd:_,children:c.map((U,T)=>t(gwt,{version:U,displayVersionNumber:c.length-T,index:T,canEdit:i,onRemove:j},U.id))})})})]})})}S();function mt({...e}){return t(YCe,{"data-slot":"popover",...e})}function ht({...e}){return t(UCe,{"data-slot":"popover-trigger",...e})}function gt({className:e,align:r="center",sideOffset:a=4,...i}){return t(qCe,{children:t(HCe,{"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 mA=[Qe.TODO,Qe.READY,Qe.IN_PROGRESS,Qe.BLOCKED,Qe.IN_REVIEW,Qe.DONE];function oo(e){switch(e){case Qe.TODO:return Kut();case Qe.READY:return Vut();case Qe.IN_PROGRESS:return Fut();case Qe.BLOCKED:return Kg();case Qe.IN_REVIEW:return Uut();case Qe.DONE:return Out();default:return e}}function $p(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 $p(e).badge}function ni(e){switch(e){case Br.LOW:return vrt();case Br.MEDIUM:return brt();case Br.HIGH:return hrt();case Br.URGENT:return zrt();default:return e}}function oi(e){switch(e){case Br.LOW:return"bg-muted text-muted-foreground border-border";case Br.MEDIUM:return"bg-blue-500/10 text-blue-600 dark:text-blue-400 border-blue-500/20";case Br.HIGH:return"bg-amber-500/10 text-amber-600 dark:text-amber-400 border-amber-500/20";case Br.URGENT:return"bg-red-500/10 text-red-600 dark:text-red-400 border-red-500/20 font-semibold";default:return"bg-muted text-muted-foreground border-border"}}S();function ya({className:e,...r}){return t("textarea",{"data-slot":"textarea",className:C("flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:ring-destructive/40",e),...r})}function Q({className:e,...r}){return t(CCe,{"data-slot":"label",className:C("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...r})}function je({className:e,size:r="default",...a}){return t(MRe,{"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(xRe,{"data-slot":"switch-thumb",className:C("pointer-events-none block rounded-full bg-background ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0 dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground")})})}function Fe({...e}){return t(EIe,{"data-slot":"select",...e})}function Le({...e}){return t(FIe,{"data-slot":"select-value",...e})}function Ze({className:e,size:r="default",children:a,...i}){return o(jIe,{"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(BIe,{asChild:!0,children:t(ve,{className:"size-4 opacity-50"})})]})}function Be({className:e,children:r,position:a="item-aligned",align:i="center",...f}){return t(HIe,{children:o(VIe,{"data-slot":"select-content",className:C("relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",a==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:a,align:i,...f,children:[t(Mwt,{}),t(JIe,{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(vwt,{})]})})}function ne({className:e,children:r,...a}){return o(tRe,{"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(aRe,{children:t(ke,{className:"size-4"})})}),t(rRe,{children:r})]})}function Mwt({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(Ei,{className:"size-4"})})}function vwt({className:e,...r}){return t(iRe,{"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 hge(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 xwt={},iD={};function wu(e,r){try{let i=(xwt[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(r).split("GMT")[1];if(i in iD)return iD[i];return gge(i,i.split(":"))}catch{if(e in iD)return iD[e];let a=e?.match(ywt);if(a)return gge(e,a.slice(1));return NaN}}var ywt=/([+-]\d\d):?(\d\d)?/;function gge(e,r){let a=+(r[0]||0),i=+(r[1]||0),f=+(r[2]||0)/60;return iD[e]=a*60+i>0?a*60+i+f:a*60-i-f}class Su extends Date{constructor(...e){super();if(e.length>1&&typeof e[e.length-1]==="string")this.timeZone=e.pop();if(this.internal=new Date,isNaN(wu(this.timeZone,this)))this.setTime(NaN);else if(!e.length)this.setTime(Date.now());else if(typeof e[0]==="number"&&(e.length===1||e.length===2&&typeof e[1]!=="number"))this.setTime(e[0]);else if(typeof e[0]==="string")this.setTime(+new Date(e[0]));else if(e[0]instanceof Date)this.setTime(+e[0]);else this.setTime(+new Date(...e)),xge(this,e)}static tz(e,...r){return r.length?new Su(...r,e):new Su(Date.now(),e)}withTimeZone(e){return new Su(+this,e)}getTimezoneOffset(){let e=-wu(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),O4(this),+this}[Symbol.for("constructDateFrom")](e){return new Su(+new Date(e),this.timeZone)}}var Mge=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach((e)=>{if(!Mge.test(e))return;let r=e.replace(Mge,"$1UTC");if(!Su.prototype[r])return;if(e.startsWith("get"))Su.prototype[e]=function(){return this.internal[r]()};else Su.prototype[e]=function(){return Date.prototype[r].apply(this.internal,arguments),bwt(this),+this},Su.prototype[r]=function(){return Date.prototype[r].apply(this,arguments),O4(this),+this}});function O4(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-wu(e.timeZone,e)*60))}function bwt(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()),xge(e)}function xge(e,r){let a=Array.isArray(r)?_wt(r):+e.internal,i=wu(e.timeZone,e),f=i>0?Math.floor(i):Math.ceil(i),s=new Date(+e);s.setUTCHours(s.getUTCHours()-1);let l=-new Date(+e).getTimezoneOffset(),c=-new Date(+s).getTimezoneOffset(),m=l-c,g=l;if(m&&l!==f){let ae=Date.prototype.getHours.apply(e),ye=Array.isArray(r)?r[3]||0:e.internal.getUTCHours();if(ae!==ye){let We=new Date(+e),Ye=l-f;if(Ye)We.setUTCMinutes(We.getUTCMinutes()+Ye);let ze=wu(e.timeZone,We);if((ze>0?Math.floor(ze):Math.ceil(ze))===f)g=c}}let M=g-f;if(M)Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+M);let v=new Date(+e);v.setUTCSeconds(0);let y=l>0?v.getSeconds():(v.getSeconds()-60)%60,x=Math.round(-(wu(e.timeZone,e)*60))%60;if(x||y)Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+x+y);let _=wu(e.timeZone,e),j=_>0?Math.floor(_):Math.ceil(_),T=-new Date(+e).getTimezoneOffset()-j,N=j!==f,G=T-M,X=j-f,J=a-j*60*1000,ee=X>0&&vge(e)-a===X*60*1000&&vge(e,J)!==a;if(N&&G&&!ee){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+G);let ae=wu(e.timeZone,e),ye=ae>0?Math.floor(ae):Math.ceil(ae),We=j-ye;if(We&&G<0)Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+We)}O4(e);let oe=(r?a:a+x*1000)-+e.internal;if(oe&&Math.abs(oe)<1800000)Date.prototype.setTime.call(e,+e+oe),O4(e)}function _wt(e){return Date.UTC(e[0],e.length>1?e[1]:0,e.length>2?e[2]:1,...e.slice(3))}function vge(e,r){let a=new Date(r??+e);return a.setUTCSeconds(a.getUTCSeconds()-Math.round(-wu(e.timeZone,a)*60)),+a}class Sn extends Su{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} (${hge(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 yge(e,r){let a=r.startOfMonth(e),i=a.getDay()>0?a.getDay():7,f=r.addDays(e,-i+1),s=r.addDays(f,34);return r.getMonth(e)===r.getMonth(s)?5:4}function j4(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 bge(e,r){let a=j4(e,r),i=yge(e,r);return r.addDays(a,i*7-1)}var fD={...nM,labels:{labelDayButton:(e,r,a,i)=>{let f;if(i&&typeof i.format==="function")f=i.format.bind(i);else f=(l,c)=>hr(l,c,{locale:nM,...a});let s=f(e,"PPPP");if(r.today)s=`Today, ${s}`;if(r.selected)s=`${s}, selected`;return s},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:(e)=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,r,a)=>{let i;if(a&&typeof a.format==="function")i=a.format.bind(a);else i=(f,s)=>hr(f,s,{locale:nM,...r});return i(e,"LLLL yyyy")},labelGridcell:(e,r,a,i)=>{let f;if(i&&typeof i.format==="function")f=i.format.bind(i);else f=(l,c)=>hr(l,c,{locale:nM,...a});let s=f(e,"PPPP");if(r?.today)s=`Today, ${s}`;return s},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,r,a)=>{let i;if(a&&typeof a.format==="function")i=a.format.bind(a);else i=(f,s)=>hr(f,s,{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,f)=>{if(this.overrides?.newDate)return this.overrides.newDate(a,i,f);if(this.options.timeZone)return new Sn(a,i,f,this.options.timeZone);return new Date(a,i,f)},this.addDays=(a,i)=>this.overrides?.addDays?this.overrides.addDays(a,i):ZR(a,i),this.addMonths=(a,i)=>this.overrides?.addMonths?this.overrides.addMonths(a,i):Oi(a,i),this.addWeeks=(a,i)=>this.overrides?.addWeeks?this.overrides.addWeeks(a,i):A2(a,i),this.addYears=(a,i)=>this.overrides?.addYears?this.overrides.addYears(a,i):nue(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):X5(a,i),this.eachMonthOfInterval=(a)=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(a):lue(a),this.eachYearOfInterval=(a)=>{let i=this.overrides?.eachYearOfInterval?this.overrides.eachYearOfInterval(a):due(a),f=new Set(i.map((l)=>this.getYear(l)));if(f.size===i.length)return i;let s=[];return f.forEach((l)=>{s.push(new Date(l,0,1))}),s},this.endOfBroadcastWeek=(a)=>this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(a):bge(a,this),this.endOfISOWeek=(a)=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(a):Zue(a),this.endOfMonth=(a)=>this.overrides?.endOfMonth?this.overrides.endOfMonth(a):Ud(a),this.endOfWeek=(a,i)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(a,i):J5(a,this.options),this.endOfYear=(a)=>this.overrides?.endOfYear?this.overrides.endOfYear(a):uue(a),this.format=(a,i,f)=>{let s=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(s);return s},this.getISOWeek=(a)=>this.overrides?.getISOWeek?this.overrides.getISOWeek(a):gR(a),this.getMonth=(a,i)=>this.overrides?.getMonth?this.overrides.getMonth(a,this.options):Qc(a,this.options),this.getYear=(a,i)=>this.overrides?.getYear?this.overrides.getYear(a,this.options):Kc(a,this.options),this.getWeek=(a,i)=>this.overrides?.getWeek?this.overrides.getWeek(a,this.options):MR(a,this.options),this.isAfter=(a,i)=>this.overrides?.isAfter?this.overrides.isAfter(a,i):Rue(a,i),this.isBefore=(a,i)=>this.overrides?.isBefore?this.overrides.isBefore(a,i):Pue(a,i),this.isDate=(a)=>this.overrides?.isDate?this.overrides.isDate(a):K5(a),this.isSameDay=(a,i)=>this.overrides?.isSameDay?this.overrides.isSameDay(a,i):pR(a,i),this.isSameMonth=(a,i)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(a,i):Tue(a,i),this.isSameYear=(a,i)=>this.overrides?.isSameYear?this.overrides.isSameYear(a,i):Aue(a,i),this.max=(a)=>this.overrides?.max?this.overrides.max(a):iue(a),this.min=(a)=>this.overrides?.min?this.overrides.min(a):fue(a),this.setMonth=(a,i)=>this.overrides?.setMonth?this.overrides.setMonth(a,i):Oue(a,i),this.setYear=(a,i)=>this.overrides?.setYear?this.overrides.setYear(a,i):jue(a,i),this.startOfBroadcastWeek=(a,i)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(a,this):j4(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):cue(a),this.startOfWeek=(a,i)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(a,this.options):yu(a,this.options),this.startOfYear=(a)=>this.overrides?.startOfYear?this.overrides.startOfYear(a):Q5(a),this.options={locale:fD,...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,f=r?.code;if(f&&Wn.yearFirstLocales.has(f))try{return new Intl.DateTimeFormat(f,{month:"long",year:"numeric",timeZone:a,numberingSystem:i}).format(e)}catch{}let s=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(e,s)}}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 ui=new Wn;class sD{constructor(e,r,a=ui){this.date=e,this.displayMonth=r,this.outside=Boolean(r&&!a.isSameMonth(e,r)),this.dateLib=a,this.isoDate=a.format(e,"yyyy-MM-dd"),this.displayMonthId=a.format(r,"yyyy-MM"),this.dateMonthId=a.format(e,"yyyy-MM")}isEqualTo(e){return this.dateLib.isSameDay(e.date,this.date)&&this.dateLib.isSameMonth(e.displayMonth,this.displayMonth)}}class hV{constructor(e,r){this.date=e,this.weeks=r}}class gV{constructor(e,r){this.days=r,this.weekNumber=e}}var vV={};Oe(vV,{CaptionLabel:()=>wwt,Chevron:()=>zwt,Day:()=>Swt,DayButton:()=>Lwt,Dropdown:()=>kwt,DropdownNav:()=>Cwt,Footer:()=>Iwt,Month:()=>Rwt,MonthCaption:()=>Pwt,MonthGrid:()=>Twt,Months:()=>Awt,MonthsDropdown:()=>Dwt,Nav:()=>Ewt,NextMonthButton:()=>Owt,Option:()=>jwt,PreviousMonthButton:()=>Nwt,Root:()=>Fwt,Select:()=>Bwt,Week:()=>Ywt,WeekNumber:()=>Hwt,WeekNumberHeader:()=>Vwt,Weekday:()=>Uwt,Weekdays:()=>qwt,Weeks:()=>Wwt,YearsDropdown:()=>Gwt});S();function wwt(e){return q("span",{...e})}S();function zwt(e){let{size:r=24,orientation:a="left",className:i,style:f}=e;return q("svg",{className:i,style:f,width:r,height:r,viewBox:"0 0 24 24"},a==="up"&&q("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),a==="down"&&q("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),a==="left"&&q("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),a==="right"&&q("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}S();function Swt(e){let{day:r,modifiers:a,...i}=e;return q("td",{...i})}S();function Lwt(e){let{day:r,modifiers:a,...i}=e,f=b(null);return h(()=>{if(a.focused)f.current?.focus()},[a.focused]),q("button",{ref:f,...i})}S();var 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 La;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(La||(La={}));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 MV=at(void 0);function N8(){let e=dt(MV);if(e===void 0)throw Error("useDayPicker() must be used within a custom component.");return e}function kwt(e){let{options:r,className:a,...i}=e,{classNames:f,components:s,styles:l}=N8(),c=[f[ur.Dropdown],a].join(" "),m=r?.find(({value:g})=>g===i.value);return q("span",{"data-disabled":i.disabled,className:f[ur.DropdownRoot],style:l?.[ur.DropdownRoot]},q(s.Select,{className:c,...i},r?.map(({value:g,label:M,disabled:v})=>q(s.Option,{key:g,value:g,disabled:v},M))),q("span",{className:f[ur.CaptionLabel],style:l?.[ur.CaptionLabel],"aria-hidden":!0},m?.label,q(s.Chevron,{orientation:"down",size:18,className:f[ur.Chevron],style:l?.[ur.Chevron]})))}S();function Cwt(e){return q("div",{...e})}S();function Iwt(e){return q("div",{...e})}S();function Rwt(e){let{calendarMonth:r,displayIndex:a,...i}=e;return q("div",{...i},e.children)}S();function Pwt(e){let{calendarMonth:r,displayIndex:a,...i}=e;return q("div",{...i})}S();function Twt(e){return q("table",{...e})}S();function Awt(e){return q("div",{...e})}S();function Dwt(e){let{components:r}=N8();return q(r.Dropdown,{...e})}S();function Ewt(e){let{onPreviousClick:r,onNextClick:a,previousMonth:i,nextMonth:f,...s}=e,{components:l,classNames:c,styles:m,labels:{labelPrevious:g,labelNext:M}}=N8(),v=P((x)=>{if(f)a?.(x)},[f,a]),y=P((x)=>{if(i)r?.(x)},[i,r]);return q("nav",{...s},q(l.PreviousMonthButton,{type:"button",className:c[ur.PreviousMonthButton],style:m?.[ur.PreviousMonthButton],tabIndex:i?void 0:-1,"aria-disabled":i?void 0:!0,"aria-label":g(i),onClick:y},q(l.Chevron,{disabled:i?void 0:!0,className:c[ur.Chevron],style:m?.[ur.Chevron],orientation:"left"})),q(l.NextMonthButton,{type:"button",className:c[ur.NextMonthButton],style:m?.[ur.NextMonthButton],tabIndex:f?void 0:-1,"aria-disabled":f?void 0:!0,"aria-label":M(f),onClick:v},q(l.Chevron,{disabled:f?void 0:!0,orientation:"right",className:c[ur.Chevron],style:m?.[ur.Chevron]})))}S();function Owt(e){return q("button",{...e})}S();function jwt(e){return q("option",{...e})}S();function Nwt(e){return q("button",{...e})}S();function Fwt(e){let{rootRef:r,...a}=e;return q("div",{...a,ref:r})}S();function Bwt(e){return q("select",{...e})}S();function Ywt(e){let{week:r,...a}=e;return q("tr",{...a})}S();function Uwt(e){return q("th",{...e})}S();function qwt(e){return q("thead",{"aria-hidden":!0},q("tr",{...e}))}S();function Hwt(e){let{week:r,...a}=e;return q("th",{...a})}S();function Vwt(e){return q("th",{...e})}S();function Wwt(e){return q("tbody",{...e})}S();function Gwt(e){let{components:r}=N8();return q(r.Dropdown,{...e})}S();function rl(e,r,a=!1,i=ui){let{from:f,to:s}=e,{differenceInCalendarDays:l,isSameDay:c}=i;if(f&&s){if(l(s,f)<0)[f,s]=[s,f];return l(r,f)>=(a?1:0)&&l(s,r)>=(a?1:0)}if(!a&&s)return c(s,r);if(!a&&f)return c(f,r);return!1}function kR(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 CR(e){return Boolean(e&&typeof e==="object"&&"after"in e)}function IR(e){return Boolean(e&&typeof e==="object"&&"before"in e)}function N4(e){return Boolean(e&&typeof e==="object"&&"dayOfWeek"in e)}function F4(e,r){return Array.isArray(e)&&e.every(r.isDate)}function wc(e,r,a=ui){let i=!Array.isArray(r)?[r]:r,{isSameDay:f,differenceInCalendarDays:s,isAfter:l}=a;return i.some((c)=>{if(typeof c==="boolean")return c;if(a.isDate(c))return f(e,c);if(F4(c,a))return c.some((m)=>f(e,m));if(F8(c))return rl(c,e,!1,a);if(N4(c)){if(!Array.isArray(c.dayOfWeek))return c.dayOfWeek===e.getDay();return c.dayOfWeek.includes(e.getDay())}if(kR(c)){let m=s(c.before,e),g=s(c.after,e),M=m>0,v=g<0;if(l(c.before,c.after))return v&&M;else return M||v}if(CR(c))return s(e,c.after)>0;if(IR(c))return s(c.before,e)>0;if(typeof c==="function")return c(e);return!1})}function _ge(e,r,a,i,f){let{disabled:s,hidden:l,modifiers:c,showOutsideDays:m,broadcastCalendar:g,today:M=f.today()}=r,{isSameDay:v,isSameMonth:y,startOfMonth:x,isBefore:_,endOfMonth:j,isAfter:U}=f,T=a&&x(a),N=i&&j(i),G={[La.focused]:[],[La.outside]:[],[La.disabled]:[],[La.hidden]:[],[La.today]:[]},X={};for(let J of e){let{date:ee,displayMonth:re}=J,oe=Boolean(re&&!y(ee,re)),ae=Boolean(T&&_(ee,T)),ye=Boolean(N&&U(ee,N)),We=Boolean(s&&wc(ee,s,f)),Ye=Boolean(l&&wc(ee,l,f))||ae||ye||!g&&!m&&oe||g&&m===!1&&oe,ze=v(ee,M);if(oe)G.outside.push(J);if(We)G.disabled.push(J);if(Ye)G.hidden.push(J);if(ze)G.today.push(J);if(c)Object.keys(c).forEach((qe)=>{let ut=c?.[qe];if(!(ut?wc(ee,ut,f):!1))return;if(X[qe])X[qe].push(J);else X[qe]=[J]})}return(J)=>{let ee={[La.focused]:!1,[La.disabled]:!1,[La.hidden]:!1,[La.outside]:!1,[La.today]:!1},re={};for(let oe in G){let ae=G[oe];ee[oe]=ae.some((ye)=>ye===J)}for(let oe in X)re[oe]=X[oe].some((ae)=>ae===J);return{...ee,...re}}}function wge(e,r,a={}){return Object.entries(e).filter(([,f])=>f===!0).reduce((f,[s])=>{if(a[s])f.push(a[s]);else if(r[La[s]])f.push(r[La[s]]);else if(r[tl[s]])f.push(r[tl[s]]);return f},[r[ur.Day]])}function zge(e){return{...vV,...e}}function Sge(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 lD(){let e={};for(let r in ur)e[ur[r]]=`rdp-${ur[r]}`;for(let r in La)e[La[r]]=`rdp-${La[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 xV={};Oe(xV,{formatCaption:()=>Kwt,formatDay:()=>Xwt,formatMonthDropdown:()=>Qwt,formatWeekNumber:()=>$wt,formatWeekNumberHeader:()=>e0t,formatWeekdayName:()=>Jwt,formatYearDropdown:()=>t0t});function Kwt(e,r,a){return(a??new Wn(r)).formatMonthYear(e)}function Xwt(e,r,a){return(a??new Wn(r)).format(e,"d")}function Qwt(e,r=ui){return r.format(e,"LLLL")}function Jwt(e,r,a){return(a??new Wn(r)).format(e,"cccccc")}function $wt(e,r=ui){if(e<10)return r.formatNumber(`0${e.toLocaleString()}`);return r.formatNumber(`${e.toLocaleString()}`)}function e0t(){return""}function t0t(e,r=ui){return r.format(e,"yyyy")}function Lge(e){return{...xV,...e}}var PV={};Oe(PV,{labelDayButton:()=>yV,labelGrid:()=>bV,labelGridcell:()=>_V,labelMonthDropdown:()=>wV,labelNav:()=>zV,labelNext:()=>SV,labelPrevious:()=>LV,labelWeekNumber:()=>CV,labelWeekNumberHeader:()=>IV,labelWeekday:()=>kV,labelYearDropdown:()=>RV});function yV(e,r,a,i){let f=(i??new Wn(a)).format(e,"PPPP");if(r.today)f=`Today, ${f}`;if(r.selected)f=`${f}, selected`;return f}function bV(e,r,a){return(a??new Wn(r)).formatMonthYear(e)}function _V(e,r,a,i){let f=(i??new Wn(a)).format(e,"PPPP");if(r?.today)f=`Today, ${f}`;return f}function wV(e){return"Choose the Month"}function zV(){return""}function SV(e,r){return"Go to the Next Month"}function LV(e){return"Go to the Previous Month"}function kV(e,r,a){return(a??new Wn(r)).format(e,"cccc")}function CV(e,r){return`Week ${e}`}function IV(e){return"Week Number"}function RV(e){return"Choose the Year"}var ku=(e,r,a)=>{if(r)return r;if(a)return typeof a==="function"?a:(...i)=>a;return e};function kge(e,r){let a=r.locale?.labels??{};return{...PV,...e??{},labelDayButton:ku(yV,e?.labelDayButton,a.labelDayButton),labelMonthDropdown:ku(wV,e?.labelMonthDropdown,a.labelMonthDropdown),labelNext:ku(SV,e?.labelNext,a.labelNext),labelPrevious:ku(LV,e?.labelPrevious,a.labelPrevious),labelWeekNumber:ku(CV,e?.labelWeekNumber,a.labelWeekNumber),labelYearDropdown:ku(RV,e?.labelYearDropdown,a.labelYearDropdown),labelGrid:ku(bV,e?.labelGrid,a.labelGrid),labelGridcell:ku(_V,e?.labelGridcell,a.labelGridcell),labelNav:ku(zV,e?.labelNav,a.labelNav),labelWeekNumberHeader:ku(IV,e?.labelWeekNumberHeader,a.labelWeekNumberHeader),labelWeekday:ku(kV,e?.labelWeekday,a.labelWeekday)}}function Cge(e,r,a,i,f){let{startOfMonth:s,startOfYear:l,endOfYear:c,eachMonthOfInterval:m,getMonth:g}=f;return m({start:l(e),end:c(e)}).map((y)=>{let x=i.formatMonthDropdown(y,f),_=g(y),j=r&&y<s(r)||a&&y>s(a)||!1;return{value:_,label:x,disabled:j}})}function Ige(e,r={},a={}){let i={...r?.[ur.Day]};return Object.entries(e).filter(([,f])=>f===!0).forEach(([f])=>{i={...i,...a?.[f]}}),i}function Rge(e,r,a,i){let f=i??e.today(),s=a?e.startOfBroadcastWeek(f,e):r?e.startOfISOWeek(f):e.startOfWeek(f),l=[];for(let c=0;c<7;c++){let m=e.addDays(s,c);l.push(m)}return l}function Pge(e,r,a,i,f=!1){if(!e)return;if(!r)return;let{startOfYear:s,endOfYear:l,eachYearOfInterval:c,getYear:m}=i,g=s(e),M=l(r),v=c({start:g,end:M});if(f)v.reverse();return v.map((y)=>{let x=a.formatYearDropdown(y,i);return{value:m(y),label:x,disabled:!1}})}function Tge(e,r={}){let{weekStartsOn:a,locale:i}=r,f=a??i?.options?.weekStartsOn??0,s=(c)=>{let m=typeof c==="number"||typeof c==="string"?new Date(c):c;return new Sn(m.getFullYear(),m.getMonth(),m.getDate(),12,0,0,e)},l=(c)=>{let m=s(c);return new Date(m.getFullYear(),m.getMonth(),m.getDate(),0,0,0,0)};return{today:()=>s(Sn.tz(e)),newDate:(c,m,g)=>new Sn(c,m,g,12,0,0,e),startOfDay:(c)=>s(c),startOfWeek:(c,m)=>{let g=s(c),M=m?.weekStartsOn??f,v=(g.getDay()-M+7)%7;return g.setDate(g.getDate()-v),g},startOfISOWeek:(c)=>{let m=s(c),g=(m.getDay()-1+7)%7;return m.setDate(m.getDate()-g),m},startOfMonth:(c)=>{let m=s(c);return m.setDate(1),m},startOfYear:(c)=>{let m=s(c);return m.setMonth(0,1),m},endOfWeek:(c,m)=>{let g=s(c),y=(((m?.weekStartsOn??f)+6)%7-g.getDay()+7)%7;return g.setDate(g.getDate()+y),g},endOfISOWeek:(c)=>{let m=s(c),g=(7-m.getDay())%7;return m.setDate(m.getDate()+g),m},endOfMonth:(c)=>{let m=s(c);return m.setMonth(m.getMonth()+1,0),m},endOfYear:(c)=>{let m=s(c);return m.setMonth(11,31),m},eachMonthOfInterval:(c)=>{let m=s(c.start),g=s(c.end),M=[],v=new 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:(c,m)=>{let g=s(c);return g.setDate(g.getDate()+m),g},addWeeks:(c,m)=>{let g=s(c);return g.setDate(g.getDate()+m*7),g},addMonths:(c,m)=>{let g=s(c);return g.setMonth(g.getMonth()+m),g},addYears:(c,m)=>{let g=s(c);return g.setFullYear(g.getFullYear()+m),g},eachYearOfInterval:(c)=>{let m=s(c.start),g=s(c.end),M=[],v=new 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:(c,m)=>{let g=l(c);return MR(g,{weekStartsOn:m?.weekStartsOn??f,firstWeekContainsDate:m?.firstWeekContainsDate??i?.options?.firstWeekContainsDate??1})},getISOWeek:(c)=>{let m=l(c);return gR(m)},differenceInCalendarDays:(c,m)=>{let g=l(c),M=l(m);return I8(g,M)},differenceInCalendarMonths:(c,m)=>{let g=l(c),M=l(m);return X5(g,M)}}}S();var cD=(e)=>{if(e instanceof HTMLElement)return e;return null},TV=(e)=>[...e.querySelectorAll("[data-animated-month]")??[]],r0t=(e)=>cD(e.querySelector("[data-animated-month]")),AV=(e)=>cD(e.querySelector("[data-animated-caption]")),DV=(e)=>cD(e.querySelector("[data-animated-weeks]")),o0t=(e)=>cD(e.querySelector("[data-animated-nav]")),a0t=(e)=>cD(e.querySelector("[data-animated-weekdays]"));function Age(e,r,{classNames:a,months:i,focused:f,dateLib:s}){let l=b(null),c=b(i),m=b(!1);He(()=>{let g=c.current;if(c.current=i,!r||!e.current||!(e.current instanceof HTMLElement)||i.length===0||g.length===0||i.length!==g.length)return;let M=s.isSameMonth(i[0].date,g[0].date),v=s.isAfter(i[0].date,g[0].date),y=v?a[bs.caption_after_enter]:a[bs.caption_before_enter],x=v?a[bs.weeks_after_enter]:a[bs.weeks_before_enter],_=l.current,j=e.current.cloneNode(!0);if(j instanceof HTMLElement)TV(j).forEach((G)=>{if(!(G instanceof HTMLElement))return;let X=r0t(G);if(X&&G.contains(X))G.removeChild(X);let J=AV(G);if(J)J.classList.remove(y);let ee=DV(G);if(ee)ee.classList.remove(x)}),l.current=j;else l.current=null;if(m.current||M||f)return;let U=_ instanceof HTMLElement?TV(_):[],T=TV(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=o0t(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=AV(X);if(re)re.classList.add(y);let oe=DV(X);if(oe)oe.classList.add(x);let ae=()=>{if(m.current=!1,e.current)e.current.style.isolation="";if(G)G.style.zIndex="";if(re)re.classList.remove(y);if(oe)oe.classList.remove(x);if(X.style.position="",X.style.overflow="",X.contains(ee))X.removeChild(ee)};N.push(ae),ee.style.pointerEvents="none",ee.style.position="absolute",ee.style.overflow="hidden",ee.setAttribute("aria-hidden","true");let ye=a0t(ee);if(ye)ye.style.opacity="0";let We=AV(ee);if(We)We.classList.add(v?a[bs.caption_before_exit]:a[bs.caption_after_exit]),We.addEventListener("animationend",ae);let Ye=DV(ee);if(Ye)Ye.classList.add(v?a[bs.weeks_before_exit]:a[bs.weeks_after_exit]);X.insertBefore(ee,X.firstChild)})}})}S();function Dge(e,r,a,i){let f=e[0],s=e[e.length-1],{ISOWeek:l,fixedWeeks:c,broadcastCalendar:m}=a??{},{addDays:g,differenceInCalendarDays:M,differenceInCalendarMonths:v,endOfBroadcastWeek:y,endOfISOWeek:x,endOfMonth:_,endOfWeek:j,isAfter:U,startOfBroadcastWeek:T,startOfISOWeek:N,startOfWeek:G}=i,X=m?T(f,i):l?N(f):G(f),J=m?y(s):l?x(_(s)):j(_(s)),ee=r&&(m?y(r):l?x(r):j(r)),re=ee&&U(J,ee)?ee:J,oe=M(re,X),ae=v(s,f)+1,ye=[];for(let ze=0;ze<=oe;ze++){let qe=g(X,ze);ye.push(qe)}let Ye=(m?35:42)*ae;if(c&&ye.length<Ye){let ze=Ye-ye.length;for(let qe=0;qe<ze;qe++){let ut=g(ye[ye.length-1],1);ye.push(ut)}}return ye}function Ege(e){let r=[];return e.reduce((a,i)=>{let f=i.weeks.reduce((s,l)=>s.concat(l.days.slice()),r.slice());return a.concat(f.slice())},r.slice())}function Oge(e,r,a,i){let{numberOfMonths:f=1}=a,s=[];for(let l=0;l<f;l++){let c=i.addMonths(e,l);if(r&&c>r)break;s.push(c)}return s}function EV(e,r,a,i){let{month:f,defaultMonth:s,today:l=i.today(),numberOfMonths:c=1}=e,m=f||s||l,{differenceInCalendarMonths:g,addMonths:M,startOfMonth:v}=i;if(a&&g(a,m)<c-1){let y=-1*(c-1);m=M(a,y)}if(r&&g(m,r)<0)m=r;return v(m)}function jge(e,r,a,i){let{addDays:f,endOfBroadcastWeek:s,endOfISOWeek:l,endOfMonth:c,endOfWeek:m,getISOWeek:g,getWeek:M,startOfBroadcastWeek:v,startOfISOWeek:y,startOfWeek:x}=i,_=e.reduce((j,U)=>{let T=a.broadcastCalendar?v(U,i):a.ISOWeek?y(U):x(U),N=a.broadcastCalendar?s(U):a.ISOWeek?l(c(U)):m(c(U)),G=r.filter((re)=>re>=T&&re<=N),X=a.broadcastCalendar?35:42;if(a.fixedWeeks&&G.length<X){let re=r.filter((oe)=>{let ae=X-G.length;return oe>N&&oe<=f(N,ae)});G.push(...re)}let J=G.reduce((re,oe)=>{let ae=a.ISOWeek?g(oe):M(oe),ye=re.find((Ye)=>Ye.weekNumber===ae),We=new sD(oe,U,i);if(!ye)re.push(new gV(ae,[We]));else ye.days.push(We);return re},[]),ee=new hV(U,J);return j.push(ee),j},[]);if(!a.reverseMonths)return _;else return _.reverse()}function Nge(e,r){let{startMonth:a,endMonth:i}=e,{startOfYear:f,startOfDay:s,startOfMonth:l,endOfMonth:c,addYears:m,endOfYear:g,today:M}=r,v=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";if(a)a=l(a);else if(!a&&v)a=f(m(e.today??M(),-100));if(i)i=c(i);else if(!i&&v)i=g(e.today??M());return[a?s(a):a,i?s(i):i]}function Fge(e,r,a,i){if(a.disableNavigation)return;let{pagedNavigation:f,numberOfMonths:s=1}=a,{startOfMonth:l,addMonths:c,differenceInCalendarMonths:m}=i,g=f?s:1,M=l(e);if(!r)return c(M,g);if(m(r,e)<s)return;return c(M,g)}function Bge(e,r,a,i){if(a.disableNavigation)return;let{pagedNavigation:f,numberOfMonths:s}=a,{startOfMonth:l,addMonths:c,differenceInCalendarMonths:m}=i,g=f?s??1:1,M=l(e);if(!r)return c(M,-g);if(m(M,r)<=0)return;return c(M,-g)}function Yge(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 Uge(e,r){let[a,i]=Nge(e,r),{startOfMonth:f,endOfMonth:s}=r,l=EV(e,a,i,r),[c,m]=B8(l,e.month?l:void 0);h(()=>{let X=EV(e,a,i,r);m(X)},[e.timeZone]);let{months:g,weeks:M,days:v,previousMonth:y,nextMonth:x}=D(()=>{let X=Oge(c,i,{numberOfMonths:e.numberOfMonths},r),J=Dge(X,e.endMonth?s(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},r),ee=jge(X,J,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},r),re=Yge(ee),oe=Ege(ee),ae=Bge(c,a,e,r),ye=Fge(c,i,e,r);return{months:ee,weeks:re,days:oe,previousMonth:ae,nextMonth:ye}},[r,c.getTime(),i?.getTime(),a?.getTime(),e.disableNavigation,e.broadcastCalendar,e.endMonth?.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:_,onMonthChange:j}=e,U=(X)=>M.some((J)=>J.days.some((ee)=>ee.isEqualTo(X))),T=(X)=>{if(_)return;let J=f(X);if(a&&J<f(a))J=f(a);if(i&&J>f(i))J=f(i);m(J),j?.(J)};return{months:g,weeks:M,days:v,navStart:a,navEnd:i,previousMonth:y,nextMonth:x,goToMonth:T,goToDay:(X)=>{if(U(X))return;T(X.date)}}}S();var wZ;(function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"})(wZ||(wZ={}));function qge(e){return!e[La.disabled]&&!e[La.hidden]&&!e[La.outside]}function Hge(e,r,a,i){let f,s=-1;for(let l of e){let c=r(l);if(qge(c)){if(c[La.focused]&&s<wZ.FocusedModifier)f=l,s=wZ.FocusedModifier;else if(i?.isEqualTo(l)&&s<wZ.LastFocused)f=l,s=wZ.LastFocused;else if(a(l.date)&&s<wZ.Selected)f=l,s=wZ.Selected;else if(c[La.today]&&s<wZ.Today)f=l,s=wZ.Today}}if(!f)f=e.find((l)=>qge(r(l)));return f}function Vge(e,r,a,i,f,s,l){let{ISOWeek:c,broadcastCalendar:m}=s,{addDays:g,addMonths:M,addWeeks:v,addYears:y,endOfBroadcastWeek:x,endOfISOWeek:_,endOfWeek:j,max:U,min:T,startOfBroadcastWeek:N,startOfISOWeek:G,startOfWeek:X}=l,ee={day:g,week:v,month:M,year:y,startOfWeek:(re)=>m?N(re,l):c?G(re):X(re),endOfWeek:(re)=>m?x(re):c?_(re):j(re)}[e](a,r==="after"?1:-1);if(r==="before"&&i)ee=U([i,ee]);else if(r==="after"&&f)ee=T([f,ee]);return ee}function OV(e,r,a,i,f,s,l,c=0){if(c>365)return;let m=Vge(e,r,a.date,i,f,s,l),g=Boolean(s.disabled&&wc(m,s.disabled,l)),M=Boolean(s.hidden&&wc(m,s.hidden,l)),y=new sD(m,m,l);if(!g&&!M)return y;return OV(e,r,y,i,f,s,l,c+1)}function Wge(e,r,a,i,f){let{autoFocus:s}=e,[l,c]=u(),m=Hge(r.days,a,i||(()=>!1),l),[g,M]=u(s?m:void 0);return{isFocusTarget:(j)=>Boolean(m?.isEqualTo(j)),setFocused:M,focused:g,blur:()=>{c(g),M(void 0)},moveFocus:(j,U)=>{if(!g)return;let T=OV(j,U,g,r.navStart,r.navEnd,e,f);if(!T)return;if(e.disableNavigation){if(!r.days.some((G)=>G.isEqualTo(T)))return}r.goToDay(T),M(T)}}}function Gge(e,r){let{selected:a,required:i,onSelect:f}=e,[s,l]=B8(a,f?a:void 0),c=!f?s:a,{isSameDay:m}=r,g=(x)=>c?.some((_)=>m(_,x))??!1,{min:M,max:v}=e;return{selected:c,select:(x,_,j)=>{let U=[...c??[]];if(g(x)){if(c?.length===M)return;if(i&&c?.length===1)return;U=c?.filter((T)=>!m(T,x))}else if(c?.length===v)U=[x];else U=[...U,x];if(!f)l(U);return f?.(U,x,_,j),U},isSelected:g}}function Kge(e,r,a=0,i=0,f=!1,s=ui){let{from:l,to:c}=r||{},{isSameDay:m,isAfter:g,isBefore:M}=s,v;if(!l&&!c)v={from:e,to:a>0?void 0:e};else if(l&&!c)if(m(l,e))if(a===0)v={from:l,to:e};else if(f)v={from:l,to:void 0};else v=void 0;else if(M(e,l))v={from:e,to:l};else v={from:l,to:e};else if(l&&c)if(m(l,e)&&m(c,e))if(f)v={from:l,to:c};else v=void 0;else if(m(l,e))v={from:l,to:a>0?void 0:e};else if(m(c,e))v={from:e,to:a>0?void 0:e};else if(M(e,l))v={from:e,to:c};else if(g(e,l))v={from:l,to:e};else if(g(e,c))v={from:l,to:e};else throw Error("Invalid range");if(v?.from&&v?.to){let y=s.differenceInCalendarDays(v.to,v.from);if(i>0&&y>i)v={from:e,to:void 0};else if(a>1&&y<a)v={from:e,to:void 0}}return v}function Xge(e,r,a=ui){let i=!Array.isArray(r)?[r]:r,f=e.from,s=a.differenceInCalendarDays(e.to,e.from),l=Math.min(s,6);for(let c=0;c<=l;c++){if(i.includes(f.getDay()))return!0;f=a.addDays(f,1)}return!1}function jV(e,r,a=ui){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 Qge(e,r,a=ui){let i=Array.isArray(r)?r:[r];if(i.filter((c)=>typeof c!=="function").some((c)=>{if(typeof c==="boolean")return c;if(a.isDate(c))return rl(e,c,!1,a);if(F4(c,a))return c.some((m)=>rl(e,m,!1,a));if(F8(c)){if(c.from&&c.to)return jV(e,{from:c.from,to:c.to},a);return!1}if(N4(c))return Xge(e,c.dayOfWeek,a);if(kR(c)){if(a.isAfter(c.before,c.after))return jV(e,{from:a.addDays(c.after,1),to:a.addDays(c.before,-1)},a);return wc(e.from,c,a)||wc(e.to,c,a)}if(CR(c)||IR(c))return wc(e.from,c,a)||wc(e.to,c,a);return!1}))return!0;let l=i.filter((c)=>typeof c==="function");if(l.length){let c=e.from,m=a.differenceInCalendarDays(e.to,e.from);for(let g=0;g<=m;g++){if(l.some((M)=>M(c)))return!0;c=a.addDays(c,1)}}return!1}function Jge(e,r){let{disabled:a,excludeDisabled:i,resetOnSelect:f,selected:s,required:l,onSelect:c}=e,[m,g]=B8(s,c?s:void 0),M=!c?m:s;return{selected:M,select:(x,_,j)=>{let{min:U,max:T}=e,N;if(x){let G=M?.from,X=M?.to,J=!!G&&!!X,ee=!!G&&!!X&&r.isSameDay(G,X)&&r.isSameDay(x,G);if(f&&(J||!M?.from))if(!l&&ee)N=void 0;else N={from:x,to:void 0};else N=Kge(x,M,U,T,l,r)}if(i&&a&&N?.from&&N.to){if(Qge({from:N.from,to:N.to},a,r))N.from=x,N.to=void 0}if(!c)g(N);return c?.(N,x,_,j),N},isSelected:(x)=>M&&rl(M,x,!1,r)}}function $ge(e,r){let{selected:a,required:i,onSelect:f}=e,[s,l]=B8(a,f?a:void 0),c=!f?s:a,{isSameDay:m}=r;return{selected:c,select:(v,y,x)=>{let _=v;if(!i&&c&&c&&m(v,c))_=void 0;if(!f)l(_);if(i)f?.(_,v,y,x);else f?.(_,v,y,x);return _},isSelected:(v)=>c?m(c,v):!1}}function eMe(e,r){let a=$ge(e,r),i=Gge(e,r),f=Jge(e,r);switch(e.mode){case"single":return a;case"multiple":return i;case"range":return f;default:return}}function ws(e,r){if(e instanceof Sn&&e.timeZone===r)return e;return new Sn(e,r)}function RR(e,r,a){if(!a)return ws(e,r);let i=ws(e,r),f=new Sn(i.getFullYear(),i.getMonth(),i.getDate(),12,0,0,r);return new Date(f.getTime())}function tMe(e,r,a){if(typeof e==="boolean"||typeof e==="function")return e;if(e instanceof Date)return RR(e,r,a);if(Array.isArray(e))return e.map((i)=>i instanceof Date?RR(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(kR(e))return{before:RR(e.before,r,a),after:RR(e.after,r,a)};if(CR(e))return{after:RR(e.after,r,a)};if(IR(e))return{before:RR(e.before,r,a)};return e}function B4(e,r,a){if(!e)return e;if(Array.isArray(e))return e.map((i)=>tMe(i,r,a));return tMe(e,r,a)}function rMe(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((At)=>ws(At,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=B4(r.disabled,a);if(r.hidden!==void 0)r.hidden=B4(r.hidden,a);if(r.modifiers){let At={};Object.keys(r.modifiers).forEach((_t)=>{At[_t]=B4(r.modifiers?.[_t],a)}),r.modifiers=At}}let{components:i,formatters:f,labels:s,dateLib:l,locale:c,classNames:m}=D(()=>{let At={...fD,...r.locale},_t=r.broadcastCalendar?1:r.weekStartsOn,qt=r.noonSafe&&r.timeZone?Tge(r.timeZone,{weekStartsOn:_t,locale:At}):void 0,Ar=r.dateLib&&qt?{...qt,...r.dateLib}:r.dateLib??qt,jr=new Wn({locale:At,weekStartsOn:_t,firstWeekContainsDate:r.firstWeekContainsDate,useAdditionalWeekYearTokens:r.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:r.useAdditionalDayOfYearTokens,timeZone:r.timeZone,numerals:r.numerals},Ar);return{dateLib:jr,components:zge(r.components),formatters:Lge(r.formatters),labels:kge(r.labels,jr.options),locale:At,classNames:{...lD(),...r.classNames}}},[r.locale,r.broadcastCalendar,r.weekStartsOn,r.firstWeekContainsDate,r.useAdditionalWeekYearTokens,r.useAdditionalDayOfYearTokens,r.timeZone,r.numerals,r.dateLib,r.noonSafe,r.components,r.formatters,r.labels,r.classNames]);if(!r.today)r={...r,today:l.today()};let{captionLayout:g,mode:M,navLayout:v,numberOfMonths:y=1,onDayBlur:x,onDayClick:_,onDayFocus:j,onDayKeyDown:U,onDayMouseEnter:T,onDayMouseLeave:N,onNextClick:G,onPrevClick:X,showWeekNumber:J,styles:ee}=r,{formatCaption:re,formatDay:oe,formatMonthDropdown:ae,formatWeekNumber:ye,formatWeekNumberHeader:We,formatWeekdayName:Ye,formatYearDropdown:ze}=f,qe=Uge(r,l),{days:ut,months:$e,navStart:xt,navEnd:Dt,previousMonth:jt,nextMonth:de,goToMonth:yt}=qe,Wt=_ge(ut,r,xt,Dt,l),{isSelected:De,select:fr,selected:sr}=eMe(r,l)??{},{blur:rr,focused:Or,isFocusTarget:Gt,moveFocus:Kt,setFocused:Rr}=Wge(r,qe,Wt,De??(()=>!1),l),{labelDayButton:Lr,labelGridcell:Tr,labelGrid:dr,labelMonthDropdown:uo,labelNav:lo,labelPrevious:sa,labelNext:cr,labelWeekday:io,labelWeekNumber:Yr,labelWeekNumberHeader:jo,labelYearDropdown:an}=s,Ho=D(()=>Rge(l,r.ISOWeek,r.broadcastCalendar,r.today),[l,r.ISOWeek,r.broadcastCalendar,r.today]),Dn=M!==void 0||_!==void 0,sn=P(()=>{if(!jt)return;yt(jt),X?.(jt)},[jt,yt,X]),Vi=P(()=>{if(!de)return;yt(de),G?.(de)},[yt,de,G]),Ke=P((At,_t)=>(qt)=>{if(qt.preventDefault(),qt.stopPropagation(),Rr(At),_t.disabled)return;fr?.(At.date,_t,qt),_?.(At.date,_t,qt)},[fr,_,Rr]),Ct=P((At,_t)=>(qt)=>{Rr(At),j?.(At.date,_t,qt)},[j,Rr]),pr=P((At,_t)=>(qt)=>{rr(),x?.(At.date,_t,qt)},[rr,x]),Fr=P((At,_t)=>(qt)=>{let Ar={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(Ar[qt.key]){qt.preventDefault(),qt.stopPropagation();let[jr,ea]=Ar[qt.key];Kt(jr,ea)}U?.(At.date,_t,qt)},[Kt,U,r.dir]),ao=P((At,_t)=>(qt)=>{T?.(At.date,_t,qt)},[T]),Vo=P((At,_t)=>(qt)=>{N?.(At.date,_t,qt)},[N]),Ra=P((At,_t)=>(qt)=>{let Ar=Number(qt.target.value),jr=l.setMonth(l.startOfMonth(At),Ar);yt(l.addMonths(jr,-_t))},[l,yt]),Se=P((At,_t)=>(qt)=>{let Ar=Number(qt.target.value),jr=l.setYear(l.startOfMonth(At),Ar);yt(l.addMonths(jr,-_t))},[l,yt]),{className:Pe,style:Ee}=D(()=>({className:[m[ur.Root],r.className].filter(Boolean).join(" "),style:{...ee?.[ur.Root],...r.style}}),[m,r.className,r.style,ee]),Zt=Sge(r),zt=(At)=>{let _t=ee?.[ur.Dropdown],qt=ee?.[At];if(!_t&&!qt)return;return{..._t,...qt}},Ot=b(null);Age(Ot,Boolean(r.animate),{classNames:m,months:$e,focused:Or,dateLib:l});let ar={dayPickerProps:r,selected:sr,select:fr,isSelected:De,months:$e,nextMonth:de,previousMonth:jt,goToMonth:yt,getModifiers:Wt,components:i,classNames:m,styles:ee,labels:s,formatters:f};return q(MV.Provider,{value:ar},q(i.Root,{rootRef:r.animate?Ot:void 0,className:Pe,style:Ee,dir:r.dir,id:r.id,lang:r.lang??c.code,nonce:r.nonce,title:r.title,role:r.role,"aria-label":r["aria-label"],"aria-labelledby":r["aria-labelledby"],...Zt},q(i.Months,{className:m[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:Vi,previousMonth:jt,nextMonth:de}),$e.map((At,_t)=>{let qt=r.reverseMonths?$e.length-1-_t:_t;return q(i.Month,{"data-animated-month":r.animate?"true":void 0,className:m[ur.Month],style:ee?.[ur.Month],key:_t,displayIndex:_t,calendarMonth:At},v==="around"&&!r.hideNavigation&&_t===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":sa(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:At,displayIndex:_t},g?.startsWith("dropdown")?q(i.DropdownNav,{className:m[ur.Dropdowns],style:ee?.[ur.Dropdowns]},(()=>{let Ar=g==="dropdown"||g==="dropdown-months"?q(i.MonthsDropdown,{key:"month",className:m[ur.MonthsDropdown],"aria-label":uo(),disabled:Boolean(r.disableNavigation),onChange:Ra(At.date,qt),options:Cge(At.date,xt,Dt,f,l),style:zt(ur.MonthsDropdown),value:l.getMonth(At.date)}):q("span",{key:"month"},ae(At.date,l)),jr=g==="dropdown"||g==="dropdown-years"?q(i.YearsDropdown,{key:"year",className:m[ur.YearsDropdown],"aria-label":an(l.options),disabled:Boolean(r.disableNavigation),onChange:Se(At.date,qt),options:Pge(xt,Dt,f,l,Boolean(r.reverseYears)),style:zt(ur.YearsDropdown),value:l.getYear(At.date)}):q("span",{key:"year"},ze(At.date,l));return l.getMonthYearOrder()==="year-first"?[jr,Ar]:[Ar,jr]})(),q("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},re(At.date,l.options,l))):q(i.CaptionLabel,{className:m[ur.CaptionLabel],style:ee?.[ur.CaptionLabel],role:"status","aria-live":"polite"},re(At.date,l.options,l))),v==="around"&&!r.hideNavigation&&_t===y-1&&q(i.NextMonthButton,{type:"button",className:m[ur.NextMonthButton],style:ee?.[ur.NextMonthButton],tabIndex:de?void 0:-1,"aria-disabled":de?void 0:!0,"aria-label":cr(de),onClick:Vi,"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"})),_t===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:Vi,previousMonth:jt,nextMonth:de}),q(i.MonthGrid,{role:"grid","aria-multiselectable":M==="multiple"||M==="range","aria-label":dr(At.date,l.options,l)||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":jo(l.options),className:m[ur.WeekNumberHeader],style:ee?.[ur.WeekNumberHeader],scope:"col"},We()),Ho.map((Ar)=>q(i.Weekday,{"aria-label":io(Ar,l.options,l),className:m[ur.Weekday],key:String(Ar),style:ee?.[ur.Weekday],scope:"col"},Ye(Ar,l.options,l)))),q(i.Weeks,{"data-animated-weeks":r.animate?"true":void 0,className:m[ur.Weeks],style:ee?.[ur.Weeks]},At.weeks.map((Ar)=>q(i.Week,{className:m[ur.Week],key:Ar.weekNumber,style:ee?.[ur.Week],week:Ar},J&&q(i.WeekNumber,{week:Ar,style:ee?.[ur.WeekNumber],"aria-label":Yr(Ar.weekNumber,{locale:c}),className:m[ur.WeekNumber],scope:"row",role:"rowheader"},ye(Ar.weekNumber,l)),Ar.days.map((jr)=>{let{date:ea}=jr,or=Wt(jr);if(or[La.focused]=!or.hidden&&Boolean(Or?.isEqualTo(jr)),or[tl.selected]=De?.(ea)||or.selected,F8(sr)){let{from:ff,to:ka}=sr;or[tl.range_start]=Boolean(ff&&ka&&l.isSameDay(ea,ff)),or[tl.range_end]=Boolean(ff&&ka&&l.isSameDay(ea,ka)),or[tl.range_middle]=rl(sr,ea,!0,l)}let Go=Ige(or,ee,r.modifiersStyles),Za=wge(or,m,r.modifiersClassNames),Qn=!Dn&&!or.hidden?Tr(ea,or,l.options,l):void 0;return q(i.Day,{key:`${jr.isoDate}_${jr.displayMonthId}`,day:jr,modifiers:or,className:Za.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&&Dn?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":Lr(ea,or,l.options,l),onClick:Ke(jr,or),onBlur:pr(jr,or),onFocus:Ct(jr,or),onKeyDown:Fr(jr,or),onMouseEnter:ao(jr,or),onMouseLeave:Vo(jr,or)},oe(ea,l.options,l)):!or.hidden&&oe(jr.date,l.options,l))}))))))})),r.footer&&q(i.Footer,{className:m[ur.Footer],style:ee?.[ur.Footer],role:"status","aria-live":"polite"},r.footer)))}function oMe({className:e,classNames:r,showOutsideDays:a=!0,captionLayout:i="label",buttonVariant:f="ghost",formatters:s,components:l,...c}){let m=lD();return t(rMe,{showOutsideDays:a,className:C("group/calendar bg-background p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,e),captionLayout:i,formatters:{formatMonthDropdown:(g)=>g.toLocaleString("default",{month:"short"}),...s},classNames:{root:C("w-fit",m.root),months:C("relative flex flex-col gap-4 md:flex-row",m.months),month:C("flex w-full flex-col gap-4",m.month),nav:C("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",m.nav),button_previous:C(IN({variant:f}),"size-(--cell-size) p-0 select-none aria-disabled:opacity-50",m.button_previous),button_next:C(IN({variant:f}),"size-(--cell-size) p-0 select-none aria-disabled:opacity-50",m.button_next),month_caption:C("flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)",m.month_caption),dropdowns:C("flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium",m.dropdowns),dropdown_root:C("relative rounded-md border border-input shadow-xs has-focus:border-ring has-focus:ring-[3px] has-focus:ring-ring/50",m.dropdown_root),dropdown:C("absolute inset-0 bg-popover opacity-0",m.dropdown),caption_label:C("font-medium select-none",i==="label"?"text-sm":"flex h-8 items-center gap-1 rounded-md pr-1 pl-2 text-sm [&>svg]:size-3.5 [&>svg]:text-muted-foreground",m.caption_label),month_grid:"w-full border-collapse",weekdays:C("flex",m.weekdays),weekday:C("flex-1 rounded-md text-[0.8rem] font-normal text-muted-foreground select-none",m.weekday),week:C("mt-2 flex w-full",m.week),week_number_header:C("w-(--cell-size) select-none",m.week_number_header),week_number:C("text-[0.8rem] text-muted-foreground select-none",m.week_number),day:C("group/day relative aspect-square h-full w-full p-0 text-center select-none [&:last-child[data-selected=true]_button]:rounded-r-md",c.showWeekNumber?"[&:nth-child(2)[data-selected=true]_button]:rounded-l-md":"[&:first-child[data-selected=true]_button]:rounded-l-md",m.day),range_start:C("rounded-l-md bg-accent",m.range_start),range_middle:C("rounded-none",m.range_middle),range_end:C("rounded-r-md bg-accent",m.range_end),today:C("rounded-md bg-accent text-accent-foreground data-[selected=true]:rounded-none",m.today),outside:C("text-muted-foreground aria-selected:text-muted-foreground",m.outside),disabled:C("text-muted-foreground opacity-50",m.disabled),hidden:C("invisible",m.hidden),...r},components:{Root:({className:g,rootRef:M,...v})=>t("div",{"data-slot":"calendar",ref:M,className:C(g),...v}),Chevron:({className:g,orientation:M,...v})=>{if(M==="left")return t(rn,{className:C("size-4",g),...v});if(M==="right")return t(bt,{className:C("size-4",g),...v});return t(ve,{className:C("size-4",g),...v})},DayButton:n0t,WeekNumber:({children:g,...M})=>t("td",{...M,children:t("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:g})}),...l},...c})}function n0t({className:e,day:r,modifiers:a,...i}){let f=lD(),s=b(null);return h(()=>{if(a.focused)s.current?.focus()},[a.focused]),t(E,{ref:s,variant:"ghost",size:"icon","data-day":r.date.toLocaleDateString(),"data-selected-single":a.selected&&!a.range_start&&!a.range_end&&!a.range_middle,"data-range-start":a.range_start,"data-range-end":a.range_end,"data-range-middle":a.range_middle,className:C("flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground dark:hover:text-accent-foreground [&>span]:text-xs [&>span]:opacity-70",f.day,e),...i})}function so({className:e,orientation:r="horizontal",decorative:a=!0,...i}){return t(dRe,{"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 ba({value:e,onChange:r,placeholder:a="Pick a date",disabled:i,className:f}){let[s,l]=u(!1),[c,m]=u(e);h(()=>{if(s)m(e)},[s,e]);let g=Array.from({length:24},(j,U)=>U),M=Array.from({length:12},(j,U)=>U*5),v=(j)=>{if(j){let U=c?new Date(c):new Date;U.setFullYear(j.getFullYear()),U.setMonth(j.getMonth()),U.setDate(j.getDate()),m(U)}else m(void 0)},y=(j,U)=>{let T=c?new Date(c):new Date;if(j==="hour")T.setHours(U);else T.setMinutes(U);m(T)},x=(j)=>{let U=new Date;if(j==="24h")U=oue(U,24);else if(j==="1w")U=A2(U,1);else if(j==="2w")U=A2(U,2);m(U)},_=()=>{r?.(c),l(!1)};return o(mt,{open:s,onOpenChange:l,children:[t(ht,{asChild:!0,children:o(E,{variant:"outline",disabled:i,className:C("w-full justify-start text-left font-normal h-9",!e&&"text-muted-foreground",f),children:[t(jn,{className:"mr-2 h-4 w-4"}),e?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(oMe,{mode:"single",selected:c,onSelect:v,className:"grow"}),o("div",{className:"flex flex-col sm:flex-row sm:h-[300px] divide-y sm:divide-y-0 sm:divide-x border-t sm:border-t-0 border-l",children:[o(ce,{className:"w-64 sm:w-auto [&_[data-orientation=vertical]]:hidden",children:[t("div",{className:"flex sm:flex-col p-2",children:g.map((j)=>t(E,{size:"icon",variant:c&&c.getHours()===j?"default":"ghost",className:"sm:w-full shrink-0 aspect-square text-xs h-8 w-8",onClick:()=>y("hour",j),children:j.toString().padStart(2,"0")},j))}),t(XN,{orientation:"horizontal",className:"sm:hidden"})]}),o(ce,{className:"w-64 sm:w-auto [&_[data-orientation=vertical]]:hidden",children:[t("div",{className:"flex sm:flex-col p-2",children:M.map((j)=>t(E,{size:"icon",variant:c&&c.getMinutes()===j?"default":"ghost",className:"sm:w-full shrink-0 aspect-square text-xs h-8 w-8",onClick:()=>y("minute",j),children:j.toString().padStart(2,"0")},j))}),t(XN,{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 i0t=[Qe.TODO,Qe.READY,Qe.IN_PROGRESS,Qe.IN_REVIEW,Qe.DONE,Qe.BLOCKED];function Hd({teamId:e,currentTaskId:r,excludeTaskIds:a=[],value:i=[],knownTasks:f=[],onChange:s,disabled:l=!1,canEdit:c=!0,className:m}){let[g,M]=u(!1),[v,y]=u(Qe.TODO),[x,_]=u(""),[j,U]=u(()=>{let ae={};for(let ye of f)ae[ye.id]={title:ye.title,status:ye.status};return ae}),{data:T,isLoading:N}=Z({queryKey:["teams",e,"kanban","tasks","status",v],queryFn:async()=>{let ae=await A.api.teams[":teamId"].kanban.tasks.$get({param:{teamId:e},query:{status:v,first:"100"}});if(!ae.ok)return{data:[]};return await ae.json()},enabled:!!e&&g}),G=T?.data||[];D(()=>{if(G.length>0)U((ae)=>{let ye=!1,We={...ae};for(let Ye of G)if(!We[Ye.id]||We[Ye.id].title!==Ye.title||We[Ye.id].status!==Ye.status)We[Ye.id]={title:Ye.title,status:Ye.status},ye=!0;return ye?We:ae})},[G]);let X=D(()=>{let ae=new Set(a);if(r)ae.add(r);return ae},[r,a]),J=D(()=>{let ae=x.trim().toLowerCase();return G.filter((ye)=>{if(X.has(ye.id))return!1;if(!ae)return!0;return ye.title.toLowerCase().includes(ae)})},[G,X,x]),ee=(ae)=>{if(!c||l)return;let We=i.includes(ae)?i.filter((Ye)=>Ye!==ae):[...i,ae];s?.(We)},re=(ae,ye)=>{if(ye.stopPropagation(),!c||l)return;s?.(i.filter((We)=>We!==ae))},oe=c&&!l;return o(mt,{open:g&&oe,onOpenChange:(ae)=>oe&&M(ae),children:[t(ht,{asChild:!0,children:t("div",{role:"button",tabIndex:oe?0:-1,className:C("w-full min-h-[36px] px-2.5 py-1.5 flex flex-wrap items-center gap-1.5 rounded-md border border-input bg-background text-xs transition-colors",oe?"cursor-pointer hover:border-ring/60 focus:outline-none focus:ring-2 focus:ring-ring/50":"cursor-not-allowed opacity-70",m),children:i.length===0?o("div",{className:"flex items-center gap-1.5 text-muted-foreground",children:[t(Ls,{className:"w-3.5 h-3.5 text-muted-foreground/70"}),t("span",{children:$st()})]}):i.map((ae)=>{let ye=j[ae];return o("span",{className:"inline-flex items-center gap-1.5 px-2 py-0.5 rounded-md text-[11px] bg-muted text-foreground border border-border/80 shrink-0 max-w-[220px]",children:[ye?.status&&t("span",{className:C("px-1 py-0.2 rounded text-[9px] uppercase font-semibold shrink-0",j8(ye.status)),children:oo(ye.status)}),t("span",{className:"truncate font-medium",children:ye?.title||ae}),oe&&t("button",{type:"button",onClick:(We)=>re(ae,We),className:"text-muted-foreground hover:text-destructive shrink-0 p-0.5 -mr-1",children:t(Re,{className:"w-3 h-3"})})]},ae)})})}),o(gt,{align:"start",sideOffset:4,className:"w-[var(--radix-popover-trigger-width)] min-w-[320px] sm:min-w-[420px] max-w-[500px] p-2.5 space-y-2 bg-popover border border-border rounded-lg shadow-lg",children:[t("div",{className:"flex flex-wrap gap-1.5 pb-0.5",children:i0t.map((ae)=>t("button",{type:"button",onClick:()=>y(ae),className:C("text-[11px] h-7 px-2.5 rounded-md font-medium transition-colors border shrink-0",v===ae?"bg-primary text-primary-foreground border-primary shadow-xs":"bg-muted/50 hover:bg-accent text-muted-foreground hover:text-foreground border-border/60"),children:oo(ae)},ae))}),o("div",{className:"relative",children:[t(Bt,{className:"w-3.5 h-3.5 absolute left-2.5 top-1/2 -translate-y-1/2 text-muted-foreground pointer-events-none"}),t(H,{value:x,onChange:(ae)=>_(ae.target.value),placeholder:rqe(),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:Jfe()}):t("div",{className:"space-y-1",children:J.map((ae)=>{let ye=i.includes(ae.id);return o("div",{onClick:()=>ee(ae.id),className:C("flex items-center justify-between p-2 rounded-md hover:bg-accent cursor-pointer transition-colors text-xs border border-transparent",ye&&"bg-accent/50 border-border/50"),children:[o("div",{className:"flex items-center gap-2 min-w-0 flex-1 pr-2",children:[t("div",{className:C("w-4 h-4 rounded border flex items-center justify-center shrink-0 transition-colors",ye?"bg-primary border-primary text-primary-foreground":"border-input bg-background"),children:ye&&t(ke,{className:"w-3 h-3 stroke-[3]"})}),t("span",{className:C("px-1.5 py-0.5 rounded text-[10px] uppercase font-medium shrink-0",j8(ae.status)),children:oo(ae.status)}),t("span",{className:"font-medium text-foreground truncate",children:ae.title})]}),ae.assignee&&t("span",{className:"text-[10px] text-muted-foreground truncate shrink-0",children:ae.assignee.name})]},ae.id)})})})})]})]})}S();function Pr({className:e,...r}){return t(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(fke,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none",children:t(ke,{className:"size-3.5"})})})}function Kr(e){if(!e||e<=0)return"0 B";let r=1000,a=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.floor(Math.log(e)/Math.log(r));if(i<0)i=0;if(i>=a.length)i=a.length-1;let f=e/Math.pow(r,i);if(i===0)return`${Math.round(f)} B`;let s=parseFloat(f.toFixed(2));if(s>=1000&&i<a.length-1)return parseFloat((e/Math.pow(r,i+1)).toFixed(2))+" "+a[i+1];return`${s} ${a[i]}`}S();function aMe({teamId:e,initialProjectId:r,excludeAssetIds:a=[],isOpen:i,onClose:f,onConfirm:s}){let[l,c]=u(r||""),[m,g]=u(null),[M,v]=u(new Map),{data:y,isLoading:x}=Z({queryKey:["teams",e,"projects"],queryFn:async()=>{let yt=await A.api.teams[":teamId"].projects.$get({param:{teamId:e},query:{first:"100"}});if(!yt.ok)throw Error("Failed to fetch projects");return await yt.json()},enabled:!!e&&i}),_=y?.data||[],j=l||(_[0]?.id??""),U=_.find((yt)=>yt.id===j),T=m?.id||U?.rootFolder||"",N=T===U?.rootFolder,{data:G,fetchNextPage:X,hasNextPage:J,isFetchingNextPage:ee,isLoading:re}=ft({queryKey:["folders",T,"children","folder","picker"],queryFn:async({pageParam:yt})=>{let Wt=await A.api.folders[":folderId"].children.$get({param:{folderId:T},query:{assetType:"folder",after:yt,first:"20"}});if(!Wt.ok)throw Error("Failed to fetch folders");return await Wt.json()},initialPageParam:"",getNextPageParam:(yt)=>yt.pageInfo?.cursor||void 0,enabled:!!T&&i}),{data:oe,fetchNextPage:ae,hasNextPage:ye,isFetchingNextPage:We,isLoading:Ye}=ft({queryKey:["folders",T,"children","file","picker"],queryFn:async({pageParam:yt})=>{let Wt=await A.api.folders[":folderId"].children.$get({param:{folderId:T},query:{assetType:"file",after:yt,first:"20"}});if(!Wt.ok)throw Error("Failed to fetch files");return await Wt.json()},initialPageParam:"",getNextPageParam:(yt)=>yt.pageInfo?.cursor||void 0,enabled:!!T&&i}),{ref:ze,inView:qe}=Nt();h(()=>{if(qe){if(J&&!ee)X();else if(ye&&!We)ae()}},[qe,J,ee,X,ye,We,ae]);let ut=re&&!G||Ye&&!oe,$e=ee||We,xt=D(()=>{let yt=G?.pages.flatMap((De)=>De.data??[])??[],Wt=oe?.pages.flatMap((De)=>De.data??[])??[];return[...yt,...Wt]},[G,oe]),Dt=(yt)=>{let Wt=new Map(M);if(Wt.has(yt.id))Wt.delete(yt.id);else{let De=U?`/${[U.name,...(yt.ancestorFolders||[]).map((fr)=>fr.name)].filter(Boolean).join("/")}`:"/";Wt.set(yt.id,{id:yt.id,name:yt.name,type:yt.type,proxyType:yt.proxyType??null,thumbnailUrl:yt.preview?.thumbnailUrl??null,path:De,creator:yt.creator?{id:yt.creator.id,name:yt.creator.name,image:yt.creator.image??void 0}:null,sizeByte:yt.sizeByte??0,fileCount:yt.fileCount??null,projectId:yt.projectId??U?.id??null,createdAt:yt.createdAt??new Date().toISOString()})}v(Wt)},jt=()=>{if(!m||N)return;let yt=new Map(M);if(yt.has(m.id))yt.delete(m.id);else{let Wt=U?`/${[U.name,...(m.ancestorFolders||[]).map((De)=>De.name)].filter(Boolean).join("/")}`:"/";yt.set(m.id,{id:m.id,name:m.name,type:"folder",proxyType:null,thumbnailUrl:null,path:Wt,creator:m.creator?{id:m.creator.id,name:m.creator.name,image:m.creator.image??void 0}:null,sizeByte:m.sizeByte??0,fileCount:m.fileCount??null,projectId:m.projectId??U?.id??null,createdAt:m.createdAt??new Date().toISOString()})}v(yt)},de=()=>{s(Array.from(M.values())),f()};return t(ue,{open:i,onOpenChange:(yt)=>{if(!yt)f()},children:o(ie,{className:"sm:max-w-4xl flex flex-col h-[650px] p-0 overflow-hidden gap-1",children:[t(me,{className:"px-4 py-3 border-b shrink-0",children:o("div",{className:"flex items-center gap-2",children:[t(tr,{className:"w-5 h-5 text-primary"}),t(le,{children:zst()})]})}),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:[X4e(),":"]}),t("div",{className:"w-64",children:o(Fe,{value:j,onValueChange:(yt)=>{c(yt),g(null)},children:[t(Ze,{className:"h-8 text-xs bg-background",children:t(Le,{placeholder:XU()})}),t(Be,{children:_.map((yt)=>t(ne,{value:yt.id,className:"text-xs",children:yt.name},yt.id))})]})})]}),o("div",{className:"flex-1 min-h-0 flex overflow-hidden",children:[t("div",{className:"w-1/3 min-h-0 border-r bg-sidebar/30 flex flex-col overflow-hidden",children:t(ce,{className:"flex-1 min-h-0 [&>div>div]:block!",children:U&&U.rootFolder?t("div",{className:"p-2",children:t(yr,{teamId:e,projectId:U.id,projectName:U.name,rootFolderId:U.rootFolder,onSelect:(yt)=>g(yt),selectedFolderId:T,hideCollections:!0,hideShares:!0,hideRecentlyDeleted:!0})}):t("div",{className:"flex items-center justify-center h-full p-6 text-xs text-muted-foreground",children:x?t(F,{className:"w-5 h-5 animate-spin text-muted-foreground"}):$fe()})})}),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(ke,{className:"w-3.5 h-3.5 text-primary"}),Pg()]}):o(L,{children:[t(fe,{className:"w-3.5 h-3.5"}),Ist()]})})]}),t(ce,{className:"flex-1 min-h-0 [&>div>div]:block!",children:ut?t("div",{className:"flex items-center justify-center p-12",children:t(F,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):xt.length===0?o("div",{className:"flex flex-col items-center justify-center p-12 text-center text-xs text-muted-foreground gap-2",children:[t(tr,{className:"w-8 h-8 opacity-30"}),t("p",{children:VXe()})]}):o("div",{className:"divide-y divide-border/40",children:[xt.map((yt)=>{let Wt=a.includes(yt.id),De=M.has(yt.id),fr=yt.type==="folder";return o("div",{onClick:()=>{if(!Wt)Dt(yt)},className:`flex items-center gap-3 px-4 py-2.5 hover:bg-muted/40 cursor-pointer transition-colors ${De?"bg-primary/5":""} ${Wt?"opacity-50 cursor-not-allowed":""}`,children:[t(Pr,{checked:De,disabled:Wt,onCheckedChange:()=>{if(!Wt)Dt(yt)},onClick:(sr)=>sr.stopPropagation()}),t("div",{className:"w-9 h-9 rounded bg-muted/60 border shrink-0 flex items-center justify-center overflow-hidden",children:yt.preview?.thumbnailUrl?t("img",{src:yt.preview.thumbnailUrl,alt:yt.name,className:"w-full h-full object-cover"}):fr?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:yt.name}),o("p",{className:"text-[11px] text-muted-foreground truncate",children:[fr?`${yt.fileCount??0} items`:Kr(yt.sizeByte||0),yt.creator?.name?` • ${yt.creator.name}`:""]})]})]},yt.id)}),t("div",{ref:ze,className:"h-1"}),$e&&t("div",{className:"flex items-center justify-center p-3",children:t(F,{className:"w-4 h-4 animate-spin text-muted-foreground"})})]})})]})]}),o(Ge,{className:"p-3 px-4 border-t flex items-center justify-between sm:justify-between bg-muted/10 shrink-0",children:[t("div",{className:"text-xs text-muted-foreground",children:M.size>0&&_Ke({count:M.size})}),o("div",{className:"flex items-center gap-2",children:[t(E,{variant:"outline",size:"sm",onClick:f,children:Ne()}),t(E,{size:"sm",onClick:de,disabled:M.size===0,children:Ffe()})]})]})]})})}function $d({teamId:e,projectId:r,assets:a,onAddAssets:i,onRemoveAsset:f,disabled:s=!1}){let[l,c]=u(!1),m=(g)=>{let M=new Set(a.map((y)=>y.id)),v=g.filter((y)=>!M.has(y.id));if(v.length>0)i(v)};return o("div",{className:"space-y-2",children:[o("div",{className:"flex items-center justify-between",children:[o("div",{className:"flex items-center gap-1.5 text-xs font-semibold text-foreground",children:[t(Ci,{className:"w-3.5 h-3.5 text-muted-foreground"}),t("span",{children:ait()}),a.length>0&&o("span",{className:"text-[11px] text-muted-foreground font-normal",children:["(",a.length,")"]})]}),!s&&t(E,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted",onClick:()=>c(!0),title:Ffe(),children:t(fe,{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:aJe()}):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})]}),!s&&t(E,{type:"button",variant:"ghost",size:"sm",className:"h-5 w-5 p-0 text-muted-foreground hover:text-destructive hover:bg-destructive/10",onClick:()=>f(g.id),title:xmt(),children:t(Re,{className:"w-3 h-3"})})]})]},g.id)})}),l&&t(aMe,{teamId:e,initialProjectId:r,excludeAssetIds:a.map((g)=>g.id),isOpen:l,onClose:()=>c(!1),onConfirm:m})]})}S();function Gd({teamId:e,currentProjectId:r,currentTargetFolderId:a,isOpen:i,onClose:f,onSelect:s}){let[l,c]=u(r||""),[m,g]=u(null),{data:M,isLoading:v}=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=l||(y[0]?.id??""),_=y.find((U)=>U.id===x),j=()=>{if(!x)return;let U=m?.id||_?.rootFolder;if(U)s(x,U,m?.name||_?.name),f()};return t(ue,{open:i,onOpenChange:(U)=>!U&&f(),children:o(ie,{className:"sm:max-w-2xl flex flex-col h-[580px]",children:[t(me,{children:o("div",{className:"flex items-center gap-2",children:[t(tr,{className:"w-5 h-5 text-primary"}),t(le,{children:Ep()})]})}),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:XU()}),o(Fe,{value:x,onValueChange:(U)=>{c(U),g(null)},children:[t(Ze,{className:"h-9",children:t(Le,{placeholder:XU()})}),t(Be,{children:y.map((U)=>t(ne,{value:U.id,children:U.name},U.id))})]})]}),o("div",{className:"space-y-1.5 flex-1 flex flex-col overflow-hidden",children:[t("label",{className:"text-xs font-medium text-muted-foreground",children:Dp()}),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"}):$fe()})})})]})]}),o(Ge,{children:[t(E,{variant:"outline",onClick:f,children:Ne()}),t(E,{onClick:j,disabled:!x,children:Xa()})]})]})})}function nMe({teamId:e,task:r,canEdit:a=!0}){let i=K(),[f,s]=u(r.title),[l,c]=u(r.description||""),[m,g]=u(!1),[M,v]=u(null),y=b(null);h(()=>{s(r.title),c(r.description||"")},[r.id,r.title,r.description]);let{data:x=[]}=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 ae=await oe.json().catch(()=>({message:Tn()}));throw Error(ae.message||Tn())}return await oe.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","task",r.id]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]})},onError:(re)=>{k.error(re.message)}}),{mutate:G}=B({mutationFn:async(re)=>{let oe=await A.api.teams[":teamId"].kanban.tasks[":taskId"].assets.$post({param:{teamId:e,taskId:r.id},json:{assetIds:re.map((ae)=>ae.id)}});if(!oe.ok)throw Error("Failed to link assets");return await oe.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","task",r.id]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]}),k.success(Yfe())},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(Ufe())},onError:(re)=>{k.error(re.message)}}),J=(re,oe)=>{if(re==="title")s(oe);if(re==="description")c(oe);if(y.current)clearTimeout(y.current);y.current=setTimeout(()=>{if(re==="title"&&oe.trim()&&oe.trim()!==r.title)T({title:oe.trim()});else if(re==="description"&&oe!==(r.description||""))T({description:oe.trim()||null})},600)},ee=r.isAgentTask;return o(ce,{className:"h-full p-5",children:[o("div",{className:"space-y-6 w-full pr-3",children:[o("div",{className:"space-y-1.5",children:[o("div",{className:"flex items-center justify-between",children:[t(Q,{htmlFor:"task-title",className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:Xg()}),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"}),Og()]})]}),t(H,{id:"task-title",value:f,onChange:(re)=>J("title",re.target.value),disabled:!a,className:"text-base font-semibold h-10 bg-background",placeholder:eA()})]}),o("div",{className:"space-y-1.5",children:[t(Q,{htmlFor:"task-description",className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:Wg()}),t(ya,{id:"task-description",value:l,onChange:(re)=>J("description",re.target.value),disabled:!a,rows:5,className:"text-xs leading-relaxed bg-background",placeholder:Yg()})]}),o("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 p-4 rounded-lg bg-muted/20 border border-border/60",children:[o("div",{className:"sm:col-span-2 flex items-center justify-between space-x-2 rounded-md border border-border/60 bg-background/50 px-3 py-2 h-14",children:[o("div",{className:"space-y-0.5 min-w-0 pr-2",children:[o(Q,{className:"text-xs font-medium text-muted-foreground flex items-center gap-1.5",children:[t(St,{className:"w-3.5 h-3.5 text-orange-500"}),t("span",{children:Fd()})]}),t("p",{className:"text-[11px] text-muted-foreground/80 line-clamp-1",children:tA()})]}),t(je,{checked:r.isAgentTask,disabled:!0})]}),o("div",{className:"space-y-1.5",children:[t(Q,{className:"text-xs font-medium text-muted-foreground",children:Jg()}),o(Fe,{value:r.priority,onValueChange:(re)=>T({priority:re}),disabled:!a,children:[t(Ze,{className:"w-full h-8 text-xs bg-background",children:t(Le,{})}),t(Be,{children:Object.values(Br).map((re)=>t(ne,{value:re,children:t("span",{className:C("px-1.5 py-0.5 rounded text-[10px] uppercase font-medium",oi(re)),children:ni(re)})},re))})]})]}),o("div",{className:"space-y-1.5",children:[t(Q,{className:"text-xs font-medium text-muted-foreground",children:gd()}),o(Fe,{value:r.goal?.id||"none",onValueChange:(re)=>T({goalId:re==="none"?null:re}),disabled:!a,children:[t(Ze,{className:"w-full h-8 text-xs bg-background",children:t(Le,{placeholder:uQe()})}),o(Be,{children:[t(ne,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:"None"})}),U.filter((re)=>re.id!==Aa).map((re)=>t(ne,{value:re.id,children:o("div",{className:"flex items-center gap-2",children:[t(wo,{className:"w-3.5 h-3.5 text-primary"}),t("span",{children:re.title})]})},re.id))]})]})]}),o("div",{className:"space-y-1.5",children:[t(Q,{className:"text-xs font-medium text-muted-foreground",children:ee?Dd():Vm()}),o(Fe,{value:r.assignee?.id||"none",onValueChange:(re)=>T({assigneeId:re==="none"?null:re}),disabled:!a,children:[t(Ze,{className:"w-full h-8 text-xs bg-background",children:t(Le,{placeholder:gs()})}),o(Be,{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(St,{className:"w-3.5 h-3.5 text-purple-500"}),t("span",{children:re.name})]})},re.id)):x.map((re)=>t(ne,{value:re.id,children:o("div",{className:"flex items-center gap-2",children:[o(Ce,{size:"sm",className:"w-4 h-4",children:[t(Ie,{src:re.image}),t(Te,{className:"text-[8px]",children:re.name.slice(0,2).toUpperCase()})]}),t("span",{children:re.name})]})},re.id))]})]})]}),o("div",{className:"space-y-1.5",children:[t(Q,{className:"text-xs font-medium text-muted-foreground",children:Tg()}),o(Fe,{value:r.reporter?.id||"none",onValueChange:(re)=>T({reporterId:re==="none"?null:re}),disabled:!a,children:[t(Ze,{className:"w-full h-8 text-xs bg-background",children:t(Le,{placeholder:gs()})}),o(Be,{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(Q,{className:"text-xs font-medium text-muted-foreground",children:Dp()}),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":Ep())})]})})]}),o("div",{className:"space-y-1.5",children:[t(Q,{className:"text-xs font-medium text-muted-foreground",children:Pd()}),t(ba,{value:r.startDate?new Date(r.startDate):void 0,onChange:(re)=>T({startDate:re?re.toISOString():null}),disabled:!a,placeholder:Pd(),className:"h-8 text-xs bg-background"})]}),o("div",{className:"space-y-1.5",children:[t(Q,{className:"text-xs font-medium text-muted-foreground",children:ud()}),t(ba,{value:r.dueDate?new Date(r.dueDate):void 0,onChange:(re)=>T({dueDate:re?re.toISOString():null}),disabled:!a,placeholder:ud(),className:"h-8 text-xs bg-background"})]}),o("div",{className:"sm:col-span-2 space-y-1.5",children:[t(Q,{className:"text-xs font-medium text-muted-foreground",children:ig()}),t(Hd,{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($d,{teamId:e,projectId:r.projectId,assets:r.assets||[],onAddAssets:(re)=>G(re),onRemoveAsset:(re)=>X(re),disabled:!a})})]})]}),m&&t(Gd,{teamId:e,currentProjectId:r.projectId,currentTargetFolderId:r.targetFolderId,isOpen:m,onClose:()=>g(!1),onSelect:(re,oe,ae)=>{v(ae||"Selected Folder"),T({projectId:re,targetFolderId:oe})}})]})}S();S();function Ss(){}function Y4(){}function iMe(e,r){let a=r||{};return(e[e.length-1]===""?[...e,""]:e).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}var f0t=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s0t=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l0t={};function U4(e,r){return((r||l0t).jsx?s0t:f0t).test(e)}var c0t=/[ \t\n\f\r]/g;function NV(e){return typeof e==="object"?e.type==="text"?fMe(e.value):!1:fMe(e)}function fMe(e){return e.replace(c0t,"")===""}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 FV(e,r){let a={},i={};for(let f of e)Object.assign(a,f.property),Object.assign(i,f.normal);return new Y8(a,i,r)}function uD(e){return e.toLowerCase()}class of{constructor(e,r){this.attribute=r,this.property=e}}of.prototype.attribute="";of.prototype.booleanish=!1;of.prototype.boolean=!1;of.prototype.commaOrSpaceSeparated=!1;of.prototype.commaSeparated=!1;of.prototype.defined=!1;of.prototype.mustUseProperty=!1;of.prototype.number=!1;of.prototype.overloadedBoolean=!1;of.prototype.property="";of.prototype.spaceSeparated=!1;of.prototype.space=void 0;var dD={};Oe(dD,{boolean:()=>Xr,booleanish:()=>Ln,commaOrSpaceSeparated:()=>ol,commaSeparated:()=>ZM,number:()=>Qt,overloadedBoolean:()=>q4,spaceSeparated:()=>$o});var u0t=0,Xr=LL(),Ln=LL(),q4=LL(),Qt=LL(),$o=LL(),ZM=LL(),ol=LL();function LL(){return 2**++u0t}var BV=Object.keys(dD);class PR extends of{constructor(e,r,a,i){let f=-1;super(e,r);if(sMe(this,"space",i),typeof a==="number")while(++f<BV.length){let s=BV[f];sMe(this,BV[f],(a&dD[s])===dD[s])}}}PR.prototype.defined=!0;function sMe(e,r,a){if(a)e[r]=a}function Sc(e){let r={},a={};for(let[i,f]of Object.entries(e.properties)){let s=new PR(i,e.transform(e.attributes||{},i),f,e.space);if(e.mustUseProperty&&e.mustUseProperty.includes(i))s.mustUseProperty=!0;r[i]=s,a[uD(i)]=i,a[uD(s.attribute)]=i}return new Y8(r,a,e.space)}var YV=Sc({properties:{ariaActiveDescendant:null,ariaAtomic:Ln,ariaAutoComplete:null,ariaBusy:Ln,ariaChecked:Ln,ariaColCount:Qt,ariaColIndex:Qt,ariaColSpan:Qt,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:Qt,ariaLive:null,ariaModal:Ln,ariaMultiLine:Ln,ariaMultiSelectable:Ln,ariaOrientation:null,ariaOwns:$o,ariaPlaceholder:null,ariaPosInSet:Qt,ariaPressed:Ln,ariaReadOnly:Ln,ariaRelevant:null,ariaRequired:Ln,ariaRoleDescription:$o,ariaRowCount:Qt,ariaRowIndex:Qt,ariaRowSpan:Qt,ariaSelected:Ln,ariaSetSize:Qt,ariaSort:null,ariaValueMax:Qt,ariaValueMin:Qt,ariaValueNow:Qt,ariaValueText:null,role:null},transform(e,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()}});function H4(e,r){return r in e?e[r]:r}function V4(e,r){return H4(e,r.toLowerCase())}var lMe=Sc({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:Qt,colSpan:Qt,command:null,commandFor:null,content:null,contentEditable:Ln,controls:Xr,controlsList:$o,coords:Qt|ZM,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Xr,defer:Xr,dir:null,dirName:null,disabled:Xr,download:q4,draggable:Ln,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Xr,formTarget:null,headers:$o,height:Qt,hidden:q4,high:Qt,href:null,hrefLang:null,htmlFor:$o,httpEquiv:$o,id:null,imageSizes:null,imageSrcSet:null,inert:Xr,inputMode:null,integrity:null,is:null,isMap:Xr,itemId:null,itemProp:$o,itemRef:$o,itemScope:Xr,itemType:$o,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Xr,low:Qt,manifest:null,max:null,maxLength:Qt,media:null,method:null,min:null,minLength:Qt,multiple:Xr,muted:Xr,name:null,nonce:null,noModule:Xr,noValidate:Xr,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Xr,optimum:Qt,pattern:null,ping:$o,placeholder:null,playsInline:Xr,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Xr,referrerPolicy:null,rel:$o,required:Xr,reversed:Xr,rows:Qt,rowSpan:Qt,sandbox:$o,scope:null,scoped:Xr,seamless:Xr,selected:Xr,shadowRootClonable:Xr,shadowRootCustomElementRegistry:Xr,shadowRootDelegatesFocus:Xr,shadowRootMode:null,shadowRootSerializable:Xr,shape:null,size:Qt,sizes:null,slot:null,span:Qt,spellCheck:Ln,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Qt,step:null,style:null,tabIndex:Qt,target:null,title:null,translate:null,type:null,typeMustMatch:Xr,useMap:null,value:Ln,width:Qt,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:$o,axis:null,background:null,bgColor:null,border:Qt,borderColor:null,bottomMargin:Qt,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Xr,declare:Xr,event:null,face:null,frame:null,frameBorder:null,hSpace:Qt,leftMargin:Qt,link:null,longDesc:null,lowSrc:null,marginHeight:Qt,marginWidth:Qt,noResize:Xr,noHref:Xr,noShade:Xr,noWrap:Xr,object:null,profile:null,prompt:null,rev:null,rightMargin:Qt,rules:null,scheme:null,scrolling:Ln,standby:null,summary:null,text:null,topMargin:Qt,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Qt,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:Xr,disablePictureInPicture:Xr,disableRemotePlayback:Xr,exportParts:ZM,part:$o,prefix:null,property:null,results:Qt,security:null,unselectable:null},space:"html",transform:V4});var cMe=Sc({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:Qt,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Qt,amplitude:Qt,arabicForm:null,ascent:Qt,attributeName:null,attributeType:null,azimuth:Qt,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Qt,by:null,calcMode:null,capHeight:Qt,className:$o,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Qt,diffuseConstant:Qt,direction:null,display:null,dur:null,divisor:Qt,dominantBaseline:null,download:Xr,dx:null,dy:null,edgeMode:null,editable:null,elevation:Qt,enableBackground:null,end:null,event:null,exponent:Qt,externalResourcesRequired:null,fill:null,fillOpacity:Qt,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ZM,g2:ZM,glyphName:ZM,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Qt,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Qt,horizOriginX:Qt,horizOriginY:Qt,id:null,ideographic:Qt,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Qt,k:Qt,k1:Qt,k2:Qt,k3:Qt,k4:Qt,kernelMatrix:ol,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Qt,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Qt,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Qt,overlineThickness:Qt,paintOrder:null,panose1:null,path:null,pathLength:Qt,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:$o,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Qt,pointsAtY:Qt,pointsAtZ:Qt,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property: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:Qt,specularExponent:Qt,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Qt,strikethroughThickness:Qt,string:null,stroke:null,strokeDashArray:ol,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Qt,strokeOpacity:Qt,strokeWidth:null,style:null,surfaceScale:Qt,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ol,tabIndex:Qt,tableValues:null,target:null,targetX:Qt,targetY:Qt,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ol,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Qt,underlineThickness:Qt,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Qt,values:null,vAlphabetic:Qt,vMathematical:Qt,vectorEffect:null,vHanging:Qt,vIdeographic:Qt,version:null,vertAdvY:Qt,vertOriginX:Qt,vertOriginY:Qt,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Qt,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:H4});var UV=Sc({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 qV=Sc({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:V4});var HV=Sc({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,r){return"xml:"+r.slice(3).toLowerCase()}});var VV={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 d0t=/[A-Z]/g,uMe=/-[a-z]/g,Z0t=/^data[-\w.:]+$/i;function WV(e,r){let a=uD(r),i=r,f=of;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&Z0t.test(r)){if(r.charAt(4)==="-"){let s=r.slice(5).replace(uMe,m0t);i="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{let s=r.slice(4);if(!uMe.test(s)){let l=s.replace(d0t,p0t);if(l.charAt(0)!=="-")l="-"+l;r="data"+l}}f=PR}return new f(i,r)}function p0t(e){return"-"+e.toLowerCase()}function m0t(e){return e.charAt(1).toUpperCase()}var dMe=FV([YV,lMe,UV,qV,HV],"html"),W4=FV([YV,cMe,UV,qV,HV],"svg");function ZMe(e){return e.join(" ").trim()}var IMe=z(SMe(),1);var G4=LMe("end"),TR=LMe("start");function LMe(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 XV(e){let r=TR(e),a=G4(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 kMe(e.position);if("start"in e||"end"in e)return kMe(e);if("line"in e||"column"in e)return QV(e);return""}function QV(e){return CMe(e&&e.line)+":"+CMe(e&&e.column)}function kMe(e){return QV(e&&e.start)+"-"+QV(e&&e.end)}function CMe(e){return e&&typeof e==="number"?e:1}class di extends Error{constructor(e,r,a){super();if(typeof r==="string")a=r,r=void 0;let i="",f={},s=!1;if(r)if("line"in r&&"column"in r)f={place:r};else if("start"in r&&"end"in r)f={place:r};else if("type"in r)f={ancestors:[r],place:r.position};else f={...r};if(typeof e==="string")i=e;else if(!f.cause&&e)s=!0,i=e.message,f.cause=e;if(!f.ruleId&&!f.source&&typeof a==="string"){let c=a.indexOf(":");if(c===-1)f.ruleId=a;else f.source=a.slice(0,c),f.ruleId=a.slice(c+1)}if(!f.place&&f.ancestors&&f.ancestors){let c=f.ancestors[f.ancestors.length-1];if(c)f.place=c.position}let l=f.place&&"start"in f.place?f.place.start:f.place;this.ancestors=f.ancestors||void 0,this.cause=f.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=l?l.line:void 0,this.name=U8(f.place)||"1:1",this.place=f.place||void 0,this.reason=this.message,this.ruleId=f.ruleId||void 0,this.source=f.source||void 0,this.stack=s&&f.cause&&typeof f.cause.stack==="string"?f.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}di.prototype.file="";di.prototype.name="";di.prototype.reason="";di.prototype.message="";di.prototype.stack="";di.prototype.column=void 0;di.prototype.line=void 0;di.prototype.ancestors=void 0;di.prototype.cause=void 0;di.prototype.fatal=void 0;di.prototype.place=void 0;di.prototype.ruleId=void 0;di.prototype.source=void 0;var JV={}.hasOwnProperty,B0t=new Map,Y0t=/[A-Z]/g,U0t=new Set(["table","tbody","thead","tfoot","tr"]),q0t=new Set(["td","th"]),RMe="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function $V(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=J0t(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=Q0t(a,r.jsx,r.jsxs)}let f={Fragment:r.Fragment,ancestors:[],components:r.components||{},create:i,elementAttributeNameCase:r.elementAttributeNameCase||"react",evaluater:r.createEvaluater?r.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:r.ignoreInvalidStyle||!1,passKeys:r.passKeys!==!1,passNode:r.passNode||!1,schema:r.space==="svg"?W4:dMe,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},s=PMe(f,e,void 0);if(s&&typeof s!=="string")return s;return f.create(e,f.Fragment,{children:s||void 0},void 0)}function PMe(e,r,a){if(r.type==="element")return H0t(e,r,a);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return V0t(e,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return G0t(e,r,a);if(r.type==="mdxjsEsm")return W0t(e,r);if(r.type==="root")return K0t(e,r,a);if(r.type==="text")return X0t(e,r)}function H0t(e,r,a){let i=e.schema,f=i;if(r.tagName.toLowerCase()==="svg"&&i.space==="html")f=W4,e.schema=f;e.ancestors.push(r);let s=AMe(e,r.tagName,!1),l=$0t(e,r),c=tW(e,r);if(U0t.has(r.tagName))c=c.filter(function(m){return typeof m==="string"?!NV(m):!0});return TMe(e,l,s,r),eW(l,c),e.ancestors.pop(),e.schema=i,e.create(r,s,l,a)}function V0t(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)}pD(e,r.position)}function W0t(e,r){if(r.data&&r.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(r.data.estree);pD(e,r.position)}function G0t(e,r,a){let i=e.schema,f=i;if(r.name==="svg"&&i.space==="html")f=W4,e.schema=f;e.ancestors.push(r);let s=r.name===null?e.Fragment:AMe(e,r.name,!0),l=ezt(e,r),c=tW(e,r);return TMe(e,l,s,r),eW(l,c),e.ancestors.pop(),e.schema=i,e.create(r,s,l,a)}function K0t(e,r,a){let i={};return eW(i,tW(e,r)),e.create(r,e.Fragment,i,a)}function X0t(e,r){return r.value}function TMe(e,r,a,i){if(typeof a!=="string"&&a!==e.Fragment&&e.passNode)r.node=i}function eW(e,r){if(r.length>0){let a=r.length>1?r:r[0];if(a)e.children=a}}function Q0t(e,r,a){return i;function i(f,s,l,c){let g=Array.isArray(l.children)?a:r;return c?g(s,l,c):g(s,l)}}function J0t(e,r){return a;function a(i,f,s,l){let c=Array.isArray(s.children),m=TR(i);return r(f,s,l,c,{columnNumber:m?m.column-1:void 0,fileName:e,lineNumber:m?m.line:void 0},void 0)}}function $0t(e,r){let a={},i,f;for(f in r.properties)if(f!=="children"&&JV.call(r.properties,f)){let s=tzt(e,f,r.properties[f]);if(s){let[l,c]=s;if(e.tableCellAlignToStyle&&l==="align"&&typeof c==="string"&&q0t.has(r.tagName))i=c;else a[l]=c}}if(i){let s=a.style||(a.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=i}return a}function ezt(e,r){let a={};for(let i of r.attributes)if(i.type==="mdxJsxExpressionAttribute")if(i.data&&i.data.estree&&e.evaluater){let s=i.data.estree.body[0];Ss(s.type==="ExpressionStatement");let l=s.expression;Ss(l.type==="ObjectExpression");let c=l.properties[0];Ss(c.type==="SpreadElement"),Object.assign(a,e.evaluater.evaluateExpression(c.argument))}else pD(e,r.position);else{let f=i.name,s;if(i.value&&typeof i.value==="object")if(i.value.data&&i.value.data.estree&&e.evaluater){let c=i.value.data.estree.body[0];Ss(c.type==="ExpressionStatement"),s=e.evaluater.evaluateExpression(c.expression)}else pD(e,r.position);else s=i.value===null?!0:i.value;a[f]=s}return a}function tW(e,r){let a=[],i=-1,f=e.passKeys?new Map:B0t;while(++i<r.children.length){let s=r.children[i],l;if(e.passKeys){let m=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(m){let g=f.get(m)||0;l=m+"-"+g,f.set(m,g+1)}}let c=PMe(e,s,l);if(c!==void 0)a.push(c)}return a}function tzt(e,r,a){let i=WV(e.schema,r);if(a===null||a===void 0||typeof a==="number"&&Number.isNaN(a))return;if(Array.isArray(a))a=i.commaSeparated?iMe(a):ZMe(a);if(i.property==="style"){let f=typeof a==="object"?a:rzt(e,String(a));if(e.stylePropertyNameCase==="css")f=ozt(f);return["style",f]}return[e.elementAttributeNameCase==="react"&&i.space?VV[i.property]||i.property:i.attribute,a]}function rzt(e,r){try{return IMe.default(r,{reactCompat:!0})}catch(a){if(e.ignoreInvalidStyle)return{};let i=a,f=new di("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw f.file=e.filePath||void 0,f.url=RMe+"#cannot-parse-style-attribute",f}}function AMe(e,r,a){let i;if(!a)i={type:"Literal",value:r};else if(r.includes(".")){let f=r.split("."),s=-1,l;while(++s<f.length){let c=U4(f[s])?{type:"Identifier",name:f[s]}:{type:"Literal",value:f[s]};l=l?{type:"MemberExpression",object:l,property:c,computed:Boolean(s&&c.type==="Literal"),optional:!1}:c}Ss(l,"always a result"),i=l}else i=U4(r)&&!/^[a-z]/.test(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};if(i.type==="Literal"){let f=i.value;return JV.call(e.components,f)?e.components[f]:f}if(e.evaluater)return e.evaluater.evaluateExpression(i);pD(e)}function pD(e,r){let a=new di("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:r,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=RMe+"#cannot-handle-mdx-estrees-without-createevaluater",a}function ozt(e){let r={},a;for(a in e)if(JV.call(e,a))r[azt(a)]=e[a];return r}function azt(e){let r=e.replace(Y0t,nzt);if(r.slice(0,3)==="ms-")r="-"+r;return r}function nzt(e){return"-"+e.toLowerCase()}var mD={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 izt={};function rW(e,r){let a=r||izt,i=typeof a.includeImageAlt==="boolean"?a.includeImageAlt:!0,f=typeof a.includeHtml==="boolean"?a.includeHtml:!0;return EMe(e,i,f)}function EMe(e,r,a){if(fzt(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 DMe(e.children,r,a)}if(Array.isArray(e))return DMe(e,r,a);return""}function DMe(e,r,a){let i=[],f=-1;while(++f<e.length)i[f]=EMe(e[f],r,a);return i.join("")}function fzt(e){return Boolean(e&&typeof e==="object")}var OMe=document.createElement("i");function AR(e){let r="&"+e+";";OMe.innerHTML=r;let a=OMe.textContent;if(a.charCodeAt(a.length-1)===59&&e!=="semi")return!1;return a===r?!1:a}function af(e,r,a,i){let f=e.length,s=0,l;if(r<0)r=-r>f?0:f+r;else r=r>f?f:r;if(a=a>0?a:0,i.length<1e4)l=Array.from(i),l.unshift(r,a),e.splice(...l);else{if(a)e.splice(r,a);while(s<i.length)l=i.slice(s,s+1e4),l.unshift(r,0),e.splice(...l),s+=1e4,r+=1e4}}function ks(e,r){if(e.length>0)return af(e,e.length,0,r),e;return r}var jMe={}.hasOwnProperty;function NMe(e){let r={},a=-1;while(++a<e.length)szt(r,e[a]);return r}function szt(e,r){let a;for(a in r){let f=(jMe.call(e,a)?e[a]:void 0)||(e[a]={}),s=r[a],l;if(s)for(l in s){if(!jMe.call(f,l))f[l]=[];let c=s[l];lzt(f[l],Array.isArray(c)?c:c?[c]:[])}}}function lzt(e,r){let a=-1,i=[];while(++a<r.length)(r[a].add==="after"?e:i).push(r[a]);af(e,0,0,i)}function K4(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 Ql=q8(/[A-Za-z]/),Ui=q8(/[\dA-Za-z]/),FMe=q8(/[#-'*+\--9=?A-Z^-~]/);function hD(e){return e!==null&&(e<32||e===127)}var gD=q8(/\d/),BMe=q8(/[\dA-Fa-f]/),YMe=q8(/[!-/:-@[-`{-~]/);function Ir(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 UMe=q8(/\p{P}|\p{S}/u),qMe=q8(/\s/);function q8(e){return r;function r(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function Ac(e){let r=[],a=-1,i=0,f=0;while(++a<e.length){let s=e.charCodeAt(a),l="";if(s===37&&Ui(e.charCodeAt(a+1))&&Ui(e.charCodeAt(a+2)))f=2;else if(s<128){if(!/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s)))l=String.fromCharCode(s)}else if(s>55295&&s<57344){let c=e.charCodeAt(a+1);if(s<56320&&c>56319&&c<57344)l=String.fromCharCode(s,c),f=1;else l="�"}else l=String.fromCharCode(s);if(l)r.push(e.slice(i,a),encodeURIComponent(l)),i=a+f+1,l="";if(f)a+=f,f=0}return r.join("")+e.slice(i)}function fo(e,r,a,i){let f=i?i-1:Number.POSITIVE_INFINITY,s=0;return l;function l(m){if(Jr(m))return e.enter(a),c(m);return r(m)}function c(m){if(Jr(m)&&s++<f)return e.consume(m),c;return e.exit(a),r(m)}}var HMe={tokenize:czt};function czt(e){let r=e.attempt(this.parser.constructs.contentInitial,i,f),a;return r;function i(c){if(c===null){e.consume(c);return}return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),fo(e,r,"linePrefix")}function f(c){return e.enter("paragraph"),s(c)}function s(c){let m=e.enter("chunkText",{contentType:"text",previous:a});if(a)a.next=m;return a=m,l(c)}function l(c){if(c===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(c);return}if(Ir(c))return e.consume(c),e.exit("chunkText"),s;return e.consume(c),l}}var WMe={tokenize:uzt},VMe={tokenize:dzt};function uzt(e){let r=this,a=[],i=0,f,s,l;return c;function c(G){if(i<a.length){let X=a[i];return r.containerState=X[1],e.attempt(X[0].continuation,m,g)(G)}return g(G)}function m(G){if(i++,r.containerState._closeFlow){if(r.containerState._closeFlow=void 0,f)N();let X=r.events.length,J=X,ee;while(J--)if(r.events[J][0]==="exit"&&r.events[J][1].type==="chunkFlow"){ee=r.events[J][1].end;break}T(i);let re=X;while(re<r.events.length)r.events[re][1].end={...ee},re++;return af(r.events,J+1,0,r.events.slice(X)),r.events.length=re,g(G)}return c(G)}function g(G){if(i===a.length){if(!f)return y(G);if(f.currentConstruct&&f.currentConstruct.concrete)return _(G);r.interrupt=Boolean(f.currentConstruct&&!f._gfmTableDynamicInterruptHack)}return r.containerState={},e.check(VMe,M,v)(G)}function M(G){if(f)N();return T(i),y(G)}function v(G){return r.parser.lazy[r.now().line]=i!==a.length,l=r.now().offset,_(G)}function y(G){return r.containerState={},e.attempt(VMe,x,_)(G)}function x(G){return i++,a.push([r.currentConstruct,r.containerState]),y(G)}function _(G){if(G===null){if(f)N();T(0),e.consume(G);return}return f=f||r.parser.flow(r.now()),e.enter("chunkFlow",{_tokenizer:f,contentType:"flow",previous:s}),j(G)}function j(G){if(G===null){U(e.exit("chunkFlow"),!0),T(0),e.consume(G);return}if(Ir(G))return e.consume(G),U(e.exit("chunkFlow")),i=0,r.interrupt=void 0,c;return e.consume(G),j}function U(G,X){let J=r.sliceStream(G);if(X)J.push(null);if(G.previous=s,s)s.next=G;if(s=G,f.defineSkip(G.start),f.write(J),r.parser.lazy[G.start.line]){let ee=f.events.length;while(ee--)if(f.events[ee][1].start.offset<l&&(!f.events[ee][1].end||f.events[ee][1].end.offset>l))return;let re=r.events.length,oe=re,ae,ye;while(oe--)if(r.events[oe][0]==="exit"&&r.events[oe][1].type==="chunkFlow"){if(ae){ye=r.events[oe][1].end;break}ae=!0}T(i),ee=re;while(ee<r.events.length)r.events[ee][1].end={...ye},ee++;af(r.events,oe+1,0,r.events.slice(re)),r.events.length=ee}}function T(G){let X=a.length;while(X-- >G){let J=a[X];r.containerState=J[1],J[0].exit.call(r,e)}a.length=G}function N(){f.write([null]),s=void 0,f=void 0,r.containerState._closeFlow=void 0}}function dzt(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)||qMe(e))return 1;if(UMe(e))return 2}function DR(e,r,a){let i=[],f=-1;while(++f<e.length){let s=e[f].resolveAll;if(s&&!i.includes(s))r=s(r,a),i.push(s)}return r}var MD={name:"attention",resolveAll:Zzt,tokenize:pzt};function Zzt(e,r){let a=-1,i,f,s,l,c,m,g,M;while(++a<e.length)if(e[a][0]==="enter"&&e[a][1].type==="attentionSequence"&&e[a][1]._close){i=a;while(i--)if(e[i][0]==="exit"&&e[i][1].type==="attentionSequence"&&e[i][1]._open&&r.sliceSerialize(e[i][1]).charCodeAt(0)===r.sliceSerialize(e[a][1]).charCodeAt(0)){if((e[i][1]._close||e[a][1]._open)&&(e[a][1].end.offset-e[a][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[a][1].end.offset-e[a][1].start.offset)%3))continue;m=e[i][1].end.offset-e[i][1].start.offset>1&&e[a][1].end.offset-e[a][1].start.offset>1?2:1;let v={...e[i][1].end},y={...e[a][1].start};if(GMe(v,-m),GMe(y,m),l={type:m>1?"strongSequence":"emphasisSequence",start:v,end:{...e[i][1].end}},c={type:m>1?"strongSequence":"emphasisSequence",start:{...e[a][1].start},end:y},s={type:m>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[a][1].start}},f={type:m>1?"strong":"emphasis",start:{...l.start},end:{...c.end}},e[i][1].end={...l.start},e[a][1].start={...c.end},g=[],e[i][1].end.offset-e[i][1].start.offset)g=ks(g,[["enter",e[i][1],r],["exit",e[i][1],r]]);if(g=ks(g,[["enter",f,r],["enter",l,r],["exit",l,r],["enter",s,r]]),g=ks(g,DR(r.parser.constructs.insideSpan.null,e.slice(i+1,a),r)),g=ks(g,[["exit",s,r],["enter",c,r],["exit",c,r],["exit",f,r]]),e[a][1].end.offset-e[a][1].start.offset)M=2,g=ks(g,[["enter",e[a][1],r],["exit",e[a][1],r]]);else M=0;af(e,i-1,a-i+3,g),a=i+g.length-M-2;break}}a=-1;while(++a<e.length)if(e[a][1].type==="attentionSequence")e[a][1].type="data";return e}function pzt(e,r){let a=this.parser.constructs.attentionMarkers.null,i=this.previous,f=oW(i),s;return l;function l(m){return s=m,e.enter("attentionSequence"),c(m)}function c(m){if(m===s)return e.consume(m),c;let g=e.exit("attentionSequence"),M=oW(m),v=!M||M===2&&f||a.includes(m),y=!f||f===2&&M||a.includes(i);return g._open=Boolean(s===42?v:v&&(f||!y)),g._close=Boolean(s===42?y:y&&(M||!v)),r(m)}}function GMe(e,r){e.column+=r,e.offset+=r,e._bufferIndex+=r}var aW={name:"autolink",tokenize:mzt};function mzt(e,r,a){let i=0;return f;function f(x){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(x),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(x){if(Ql(x))return e.consume(x),l;if(x===64)return a(x);return g(x)}function l(x){if(x===43||x===45||x===46||Ui(x))return i=1,c(x);return g(x)}function c(x){if(x===58)return e.consume(x),i=0,m;if((x===43||x===45||x===46||Ui(x))&&i++<32)return e.consume(x),c;return i=0,g(x)}function m(x){if(x===62)return e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(x),e.exit("autolinkMarker"),e.exit("autolink"),r;if(x===null||x===32||x===60||hD(x))return a(x);return e.consume(x),m}function g(x){if(x===64)return e.consume(x),M;if(FMe(x))return e.consume(x),g;return a(x)}function M(x){return Ui(x)?v(x):a(x)}function v(x){if(x===46)return e.consume(x),i=0,M;if(x===62)return e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(x),e.exit("autolinkMarker"),e.exit("autolink"),r;return y(x)}function y(x){if((x===45||Ui(x))&&i++<63){let _=x===45?y:v;return e.consume(x),_}return a(x)}}var H8={partial:!0,tokenize:hzt};function hzt(e,r,a){return i;function i(s){return Jr(s)?fo(e,f,"linePrefix")(s):f(s)}function f(s){return s===null||Ir(s)?r(s):a(s)}}var X4={continuation:{tokenize:Mzt},exit:vzt,name:"blockQuote",tokenize:gzt};function gzt(e,r,a){let i=this;return f;function f(l){if(l===62){let c=i.containerState;if(!c.open)e.enter("blockQuote",{_container:!0}),c.open=!0;return e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),s}return a(l)}function s(l){if(Jr(l))return e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),r;return e.exit("blockQuotePrefix"),r(l)}}function Mzt(e,r,a){let i=this;return f;function f(l){if(Jr(l))return fo(e,s,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l);return s(l)}function s(l){return e.attempt(X4,r,a)(l)}}function vzt(e){e.exit("blockQuote")}var Q4={name:"characterEscape",tokenize:xzt};function xzt(e,r,a){return i;function i(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),f}function f(s){if(YMe(s))return e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),r;return a(s)}}var J4={name:"characterReference",tokenize:yzt};function yzt(e,r,a){let i=this,f=0,s,l;return c;function c(v){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(v),e.exit("characterReferenceMarker"),m}function m(v){if(v===35)return e.enter("characterReferenceMarkerNumeric"),e.consume(v),e.exit("characterReferenceMarkerNumeric"),g;return e.enter("characterReferenceValue"),s=31,l=Ui,M(v)}function g(v){if(v===88||v===120)return e.enter("characterReferenceMarkerHexadecimal"),e.consume(v),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,l=BMe,M;return e.enter("characterReferenceValue"),s=7,l=gD,M(v)}function M(v){if(v===59&&f){let y=e.exit("characterReferenceValue");if(l===Ui&&!AR(i.sliceSerialize(y)))return a(v);return e.enter("characterReferenceMarker"),e.consume(v),e.exit("characterReferenceMarker"),e.exit("characterReference"),r}if(l(v)&&f++<s)return e.consume(v),M;return a(v)}}var KMe={partial:!0,tokenize:_zt},$4={concrete:!0,name:"codeFenced",tokenize:bzt};function bzt(e,r,a){let i=this,f={partial:!0,tokenize:J},s=0,l=0,c;return m;function m(ee){return g(ee)}function g(ee){let re=i.events[i.events.length-1];return s=re&&re[1].type==="linePrefix"?re[2].sliceSerialize(re[1],!0).length:0,c=ee,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),M(ee)}function M(ee){if(ee===c)return l++,e.consume(ee),M;if(l<3)return a(ee);return e.exit("codeFencedFenceSequence"),Jr(ee)?fo(e,v,"whitespace")(ee):v(ee)}function v(ee){if(ee===null||Ir(ee))return e.exit("codeFencedFence"),i.interrupt?r(ee):e.check(KMe,j,X)(ee);return e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),y(ee)}function y(ee){if(ee===null||Ir(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===c)return a(ee);return e.consume(ee),y}function x(ee){if(ee===null||Ir(ee))return v(ee);return e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),_(ee)}function _(ee){if(ee===null||Ir(ee))return e.exit("chunkString"),e.exit("codeFencedFenceMeta"),v(ee);if(ee===96&&ee===c)return a(ee);return e.consume(ee),_}function j(ee){return e.attempt(f,X,U)(ee)}function U(ee){return e.enter("lineEnding"),e.consume(ee),e.exit("lineEnding"),T}function T(ee){return s>0&&Jr(ee)?fo(e,N,"linePrefix",s+1)(ee):N(ee)}function N(ee){if(ee===null||Ir(ee))return e.check(KMe,j,X)(ee);return e.enter("codeFlowValue"),G(ee)}function G(ee){if(ee===null||Ir(ee))return e.exit("codeFlowValue"),N(ee);return e.consume(ee),G}function X(ee){return e.exit("codeFenced"),r(ee)}function J(ee,re,oe){let ae=0;return ye;function ye(ut){return ee.enter("lineEnding"),ee.consume(ut),ee.exit("lineEnding"),We}function We(ut){return ee.enter("codeFencedFence"),Jr(ut)?fo(ee,Ye,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ut):Ye(ut)}function Ye(ut){if(ut===c)return ee.enter("codeFencedFenceSequence"),ze(ut);return oe(ut)}function ze(ut){if(ut===c)return ae++,ee.consume(ut),ze;if(ae>=l)return ee.exit("codeFencedFenceSequence"),Jr(ut)?fo(ee,qe,"whitespace")(ut):qe(ut);return oe(ut)}function qe(ut){if(ut===null||Ir(ut))return ee.exit("codeFencedFence"),re(ut);return oe(ut)}}}function _zt(e,r,a){let i=this;return f;function f(l){if(l===null)return a(l);return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s}function s(l){return i.parser.lazy[i.now().line]?a(l):r(l)}}var vD={name:"codeIndented",tokenize:zzt},wzt={partial:!0,tokenize:Szt};function zzt(e,r,a){let i=this;return f;function f(g){return e.enter("codeIndented"),fo(e,s,"linePrefix",5)(g)}function s(g){let M=i.events[i.events.length-1];return M&&M[1].type==="linePrefix"&&M[2].sliceSerialize(M[1],!0).length>=4?l(g):a(g)}function l(g){if(g===null)return m(g);if(Ir(g))return e.attempt(wzt,l,m)(g);return e.enter("codeFlowValue"),c(g)}function c(g){if(g===null||Ir(g))return e.exit("codeFlowValue"),l(g);return e.consume(g),c}function m(g){return e.exit("codeIndented"),r(g)}}function Szt(e,r,a){let i=this;return f;function f(l){if(i.parser.lazy[i.now().line])return a(l);if(Ir(l))return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),f;return fo(e,s,"linePrefix",5)(l)}function s(l){let c=i.events[i.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?r(l):Ir(l)?f(l):a(l)}}var nW={name:"codeText",previous:kzt,resolve:Lzt,tokenize:Czt};function Lzt(e){let r=e.length-4,a=3,i,f;if((e[a][1].type==="lineEnding"||e[a][1].type==="space")&&(e[r][1].type==="lineEnding"||e[r][1].type==="space")){i=a;while(++i<r)if(e[i][1].type==="codeTextData"){e[a][1].type="codeTextPadding",e[r][1].type="codeTextPadding",a+=2,r-=2;break}}i=a-1,r++;while(++i<=r)if(f===void 0){if(i!==r&&e[i][1].type!=="lineEnding")f=i}else if(i===r||e[i][1].type==="lineEnding"){if(e[f][1].type="codeTextData",i!==f+2)e[f][1].end=e[i-1][1].end,e.splice(f+2,i-f-2),r-=i-f-2,i=f+2;f=void 0}return e}function kzt(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Czt(e,r,a){let i=this,f=0,s,l;return c;function c(y){return e.enter("codeText"),e.enter("codeTextSequence"),m(y)}function m(y){if(y===96)return e.consume(y),f++,m;return e.exit("codeTextSequence"),g(y)}function g(y){if(y===null)return a(y);if(y===32)return e.enter("space"),e.consume(y),e.exit("space"),g;if(y===96)return l=e.enter("codeTextSequence"),s=0,v(y);if(Ir(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||Ir(y))return e.exit("codeTextData"),g(y);return e.consume(y),M}function v(y){if(y===96)return e.consume(y),s++,v;if(s===f)return e.exit("codeTextSequence"),e.exit("codeText"),r(y);return l.type="codeTextData",M(y)}}class iW{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");if(e<this.left.length)return this.left[e];return this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,r){let a=r===null||r===void 0?Number.POSITIVE_INFINITY:r;if(a<this.left.length)return this.left.slice(e,a);if(e>this.left.length)return this.right.slice(this.right.length-a+this.left.length,this.right.length-e+this.left.length).reverse();return this.left.slice(e).concat(this.right.slice(this.right.length-a+this.left.length).reverse())}splice(e,r,a){let i=r||0;this.setCursor(Math.trunc(e));let f=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);if(a)xD(this.left,a);return f.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),xD(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),xD(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);xD(this.right,r.reverse())}else{let r=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);xD(this.left,r.reverse())}}}function xD(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 eF(e){let r={},a=-1,i,f,s,l,c,m,g,M=new iW(e);while(++a<M.length){while(a in r)a=r[a];if(i=M.get(a),a&&i[1].type==="chunkFlow"&&M.get(a-1)[1].type==="listItemPrefix"){if(m=i[1]._tokenizer.events,s=0,s<m.length&&m[s][1].type==="lineEndingBlank")s+=2;if(s<m.length&&m[s][1].type==="content")while(++s<m.length){if(m[s][1].type==="content")break;if(m[s][1].type==="chunkText")m[s][1]._isInFirstContentOfListItem=!0,s++}}if(i[0]==="enter"){if(i[1].contentType)Object.assign(r,Izt(M,a)),a=r[a],g=!0}else if(i[1]._container){s=a,f=void 0;while(s--)if(l=M.get(s),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank"){if(l[0]==="enter"){if(f)M.get(f)[1].type="lineEndingBlank";l[1].type="lineEnding",f=s}}else if(l[1].type==="linePrefix"||l[1].type==="listItemIndent");else break;if(f)i[1].end={...M.get(f)[1].start},c=M.slice(f,a),c.unshift(i),M.splice(f,a-f+1,c)}}return af(e,0,Number.POSITIVE_INFINITY,M.slice(0)),!g}function Izt(e,r){let a=e.get(r)[1],i=e.get(r)[2],f=r-1,s=[],l=a._tokenizer;if(!l){if(l=i.parser[a.contentType](a.start),a._contentTypeTextTrailing)l._contentTypeTextTrailing=!0}let c=l.events,m=[],g={},M,v,y=-1,x=a,_=0,j=0,U=[j];while(x){while(e.get(++f)[1]!==x);if(s.push(f),!x._tokenizer){if(M=i.sliceStream(x),!x.next)M.push(null);if(v)l.defineSkip(x.start);if(x._isInFirstContentOfListItem)l._gfmTasklistFirstContentOfListItem=!0;if(l.write(M),x._isInFirstContentOfListItem)l._gfmTasklistFirstContentOfListItem=void 0}v=x,x=x.next}x=a;while(++y<c.length)if(c[y][0]==="exit"&&c[y-1][0]==="enter"&&c[y][1].type===c[y-1][1].type&&c[y][1].start.line!==c[y][1].end.line)j=y+1,U.push(j),x._tokenizer=void 0,x.previous=void 0,x=x.next;if(l.events=[],x)x._tokenizer=void 0,x.previous=void 0;else U.pop();y=U.length;while(y--){let T=c.slice(U[y],U[y+1]),N=s.pop();m.push([N,N+T.length-1]),e.splice(N,2,T)}m.reverse(),y=-1;while(++y<m.length)g[_+m[y][0]]=_+m[y][1],_+=m[y][1]-m[y][0]-1;return g}var fW={resolve:Pzt,tokenize:Tzt},Rzt={partial:!0,tokenize:Azt};function Pzt(e){return eF(e),e}function Tzt(e,r){let a;return i;function i(c){return e.enter("content"),a=e.enter("chunkContent",{contentType:"content"}),f(c)}function f(c){if(c===null)return s(c);if(Ir(c))return e.check(Rzt,l,s)(c);return e.consume(c),f}function s(c){return e.exit("chunkContent"),e.exit("content"),r(c)}function l(c){return e.consume(c),e.exit("chunkContent"),a.next=e.enter("chunkContent",{contentType:"content",previous:a}),a=a.next,f}}function Azt(e,r,a){let i=this;return f;function f(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),fo(e,s,"linePrefix")}function s(l){if(l===null||Ir(l))return a(l);let c=i.events[i.events.length-1];if(!i.parser.constructs.disable.null.includes("codeIndented")&&c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4)return r(l);return e.interrupt(i.parser.constructs.flow,a,r)(l)}}function tF(e,r,a,i,f,s,l,c,m){let g=m||Number.POSITIVE_INFINITY,M=0;return v;function v(T){if(T===60)return e.enter(i),e.enter(f),e.enter(s),e.consume(T),e.exit(s),y;if(T===null||T===32||T===41||hD(T))return a(T);return e.enter(i),e.enter(l),e.enter(c),e.enter("chunkString",{contentType:"string"}),j(T)}function y(T){if(T===62)return e.enter(s),e.consume(T),e.exit(s),e.exit(f),e.exit(i),r;return e.enter(c),e.enter("chunkString",{contentType:"string"}),x(T)}function x(T){if(T===62)return e.exit("chunkString"),e.exit(c),y(T);if(T===null||T===60||Ir(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(c),e.exit(l),e.exit(i),r(T);if(M<g&&T===40)return e.consume(T),M++,j;if(T===41)return e.consume(T),M--,j;if(T===null||T===32||T===40||hD(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 rF(e,r,a,i,f,s){let l=this,c=0,m;return g;function g(x){return e.enter(i),e.enter(f),e.consume(x),e.exit(f),e.enter(s),M}function M(x){if(c>999||x===null||x===91||x===93&&!m||x===94&&!c&&"_hiddenFootnoteSupport"in l.parser.constructs)return a(x);if(x===93)return e.exit(s),e.enter(f),e.consume(x),e.exit(f),e.exit(i),r;if(Ir(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||Ir(x)||c++>999)return e.exit("chunkString"),M(x);if(e.consume(x),!m)m=!Jr(x);return x===92?y:v}function y(x){if(x===91||x===92||x===93)return e.consume(x),c++,v;return v(x)}}function oF(e,r,a,i,f,s){let l;return c;function c(y){if(y===34||y===39||y===40)return e.enter(i),e.enter(f),e.consume(y),e.exit(f),l=y===40?41:y,m;return a(y)}function m(y){if(y===l)return e.enter(f),e.consume(y),e.exit(f),e.exit(i),r;return e.enter(s),g(y)}function g(y){if(y===l)return e.exit(s),m(l);if(y===null)return a(y);if(Ir(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===l||y===null||Ir(y))return e.exit("chunkString"),g(y);return e.consume(y),y===92?v:M}function v(y){if(y===l||y===92)return e.consume(y),M;return M(y)}}function CL(e,r){let a;return i;function i(f){if(Ir(f))return e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),a=!0,i;if(Jr(f))return fo(e,i,a?"linePrefix":"lineSuffix")(f);return r(f)}}var sW={name:"definition",tokenize:Ezt},Dzt={partial:!0,tokenize:Ozt};function Ezt(e,r,a){let i=this,f;return s;function s(x){return e.enter("definition"),l(x)}function l(x){return rF.call(i,e,c,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(x)}function c(x){if(f=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)?CL(e,g)(x):g(x)}function g(x){return tF(e,M,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(x)}function M(x){return e.attempt(Dzt,v,v)(x)}function v(x){return Jr(x)?fo(e,y,"whitespace")(x):y(x)}function y(x){if(x===null||Ir(x))return e.exit("definition"),i.parser.defined.push(f),r(x);return a(x)}}function Ozt(e,r,a){return i;function i(c){return Gn(c)?CL(e,f)(c):a(c)}function f(c){return oF(e,s,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function s(c){return Jr(c)?fo(e,l,"whitespace")(c):l(c)}function l(c){return c===null||Ir(c)?r(c):a(c)}}var lW={name:"hardBreakEscape",tokenize:jzt};function jzt(e,r,a){return i;function i(s){return e.enter("hardBreakEscape"),e.consume(s),f}function f(s){if(Ir(s))return e.exit("hardBreakEscape"),r(s);return a(s)}}var cW={name:"headingAtx",resolve:Nzt,tokenize:Fzt};function Nzt(e,r){let a=e.length-2,i=3,f,s;if(e[i][1].type==="whitespace")i+=2;if(a-2>i&&e[a][1].type==="whitespace")a-=2;if(e[a][1].type==="atxHeadingSequence"&&(i===a-1||a-4>i&&e[a-2][1].type==="whitespace"))a-=i+1===a?2:4;if(a>i)f={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},s={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},af(e,i,a-i+1,[["enter",f,r],["enter",s,r],["exit",s,r],["exit",f,r]]);return e}function Fzt(e,r,a){let i=0;return f;function f(M){return e.enter("atxHeading"),s(M)}function s(M){return e.enter("atxHeadingSequence"),l(M)}function l(M){if(M===35&&i++<6)return e.consume(M),l;if(M===null||Gn(M))return e.exit("atxHeadingSequence"),c(M);return a(M)}function c(M){if(M===35)return e.enter("atxHeadingSequence"),m(M);if(M===null||Ir(M))return e.exit("atxHeading"),r(M);if(Jr(M))return fo(e,c,"whitespace")(M);return e.enter("atxHeadingText"),g(M)}function m(M){if(M===35)return e.consume(M),m;return e.exit("atxHeadingSequence"),c(M)}function g(M){if(M===null||M===35||Gn(M))return e.exit("atxHeadingText"),c(M);return e.consume(M),g}}var XMe=["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"],uW=["pre","script","style","textarea"];var dW={concrete:!0,name:"htmlFlow",resolveTo:Uzt,tokenize:qzt},Bzt={partial:!0,tokenize:Vzt},Yzt={partial:!0,tokenize:Hzt};function Uzt(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 qzt(e,r,a){let i=this,f,s,l,c,m;return g;function g(De){return M(De)}function M(De){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(De),v}function v(De){if(De===33)return e.consume(De),y;if(De===47)return e.consume(De),s=!0,j;if(De===63)return e.consume(De),f=3,i.interrupt?r:de;if(Ql(De))return e.consume(De),l=String.fromCharCode(De),U;return a(De)}function y(De){if(De===45)return e.consume(De),f=2,x;if(De===91)return e.consume(De),f=5,c=0,_;if(Ql(De))return e.consume(De),f=4,i.interrupt?r:de;return a(De)}function x(De){if(De===45)return e.consume(De),i.interrupt?r:de;return a(De)}function _(De){if(De==="CDATA[".charCodeAt(c++)){if(e.consume(De),c===6)return i.interrupt?r:Ye;return _}return a(De)}function j(De){if(Ql(De))return e.consume(De),l=String.fromCharCode(De),U;return a(De)}function U(De){if(De===null||De===47||De===62||Gn(De)){let fr=De===47,sr=l.toLowerCase();if(!fr&&!s&&uW.includes(sr))return f=1,i.interrupt?r(De):Ye(De);if(XMe.includes(l.toLowerCase())){if(f=6,fr)return e.consume(De),T;return i.interrupt?r(De):Ye(De)}return f=7,i.interrupt&&!i.parser.lazy[i.now().line]?a(De):s?N(De):G(De)}if(De===45||Ui(De))return e.consume(De),l+=String.fromCharCode(De),U;return a(De)}function T(De){if(De===62)return e.consume(De),i.interrupt?r:Ye;return a(De)}function N(De){if(Jr(De))return e.consume(De),N;return ye(De)}function G(De){if(De===47)return e.consume(De),ye;if(De===58||De===95||Ql(De))return e.consume(De),X;if(Jr(De))return e.consume(De),G;return ye(De)}function X(De){if(De===45||De===46||De===58||De===95||Ui(De))return e.consume(De),X;return J(De)}function J(De){if(De===61)return e.consume(De),ee;if(Jr(De))return e.consume(De),J;return G(De)}function ee(De){if(De===null||De===60||De===61||De===62||De===96)return a(De);if(De===34||De===39)return e.consume(De),m=De,re;if(Jr(De))return e.consume(De),ee;return oe(De)}function re(De){if(De===m)return e.consume(De),m=null,ae;if(De===null||Ir(De))return a(De);return e.consume(De),re}function oe(De){if(De===null||De===34||De===39||De===47||De===60||De===61||De===62||De===96||Gn(De))return J(De);return e.consume(De),oe}function ae(De){if(De===47||De===62||Jr(De))return G(De);return a(De)}function ye(De){if(De===62)return e.consume(De),We;return a(De)}function We(De){if(De===null||Ir(De))return Ye(De);if(Jr(De))return e.consume(De),We;return a(De)}function Ye(De){if(De===45&&f===2)return e.consume(De),$e;if(De===60&&f===1)return e.consume(De),xt;if(De===62&&f===4)return e.consume(De),yt;if(De===63&&f===3)return e.consume(De),de;if(De===93&&f===5)return e.consume(De),jt;if(Ir(De)&&(f===6||f===7))return e.exit("htmlFlowData"),e.check(Bzt,Wt,ze)(De);if(De===null||Ir(De))return e.exit("htmlFlowData"),ze(De);return e.consume(De),Ye}function ze(De){return e.check(Yzt,qe,Wt)(De)}function qe(De){return e.enter("lineEnding"),e.consume(De),e.exit("lineEnding"),ut}function ut(De){if(De===null||Ir(De))return ze(De);return e.enter("htmlFlowData"),Ye(De)}function $e(De){if(De===45)return e.consume(De),de;return Ye(De)}function xt(De){if(De===47)return e.consume(De),l="",Dt;return Ye(De)}function Dt(De){if(De===62){let fr=l.toLowerCase();if(uW.includes(fr))return e.consume(De),yt;return Ye(De)}if(Ql(De)&&l.length<8)return e.consume(De),l+=String.fromCharCode(De),Dt;return Ye(De)}function jt(De){if(De===93)return e.consume(De),de;return Ye(De)}function de(De){if(De===62)return e.consume(De),yt;if(De===45&&f===2)return e.consume(De),de;return Ye(De)}function yt(De){if(De===null||Ir(De))return e.exit("htmlFlowData"),Wt(De);return e.consume(De),yt}function Wt(De){return e.exit("htmlFlow"),r(De)}}function Hzt(e,r,a){let i=this;return f;function f(l){if(Ir(l))return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s;return a(l)}function s(l){return i.parser.lazy[i.now().line]?a(l):r(l)}}function Vzt(e,r,a){return i;function i(f){return e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),e.attempt(H8,r,a)}}var ZW={name:"htmlText",tokenize:Wzt};function Wzt(e,r,a){let i=this,f,s,l;return c;function c(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(Ql(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),s=0,_;if(Ql(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(Ir(de))return l=v,xt(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?$e(de):de===45?y(de):v(de)}function _(de){if(de==="CDATA[".charCodeAt(s++))return e.consume(de),s===6?j:_;return a(de)}function j(de){if(de===null)return a(de);if(de===93)return e.consume(de),U;if(Ir(de))return l=j,xt(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 $e(de);if(de===93)return e.consume(de),T;return j(de)}function N(de){if(de===null||de===62)return $e(de);if(Ir(de))return l=N,xt(de);return e.consume(de),N}function G(de){if(de===null)return a(de);if(de===63)return e.consume(de),X;if(Ir(de))return l=G,xt(de);return e.consume(de),G}function X(de){return de===62?$e(de):G(de)}function J(de){if(Ql(de))return e.consume(de),ee;return a(de)}function ee(de){if(de===45||Ui(de))return e.consume(de),ee;return re(de)}function re(de){if(Ir(de))return l=re,xt(de);if(Jr(de))return e.consume(de),re;return $e(de)}function oe(de){if(de===45||Ui(de))return e.consume(de),oe;if(de===47||de===62||Gn(de))return ae(de);return a(de)}function ae(de){if(de===47)return e.consume(de),$e;if(de===58||de===95||Ql(de))return e.consume(de),ye;if(Ir(de))return l=ae,xt(de);if(Jr(de))return e.consume(de),ae;return $e(de)}function ye(de){if(de===45||de===46||de===58||de===95||Ui(de))return e.consume(de),ye;return We(de)}function We(de){if(de===61)return e.consume(de),Ye;if(Ir(de))return l=We,xt(de);if(Jr(de))return e.consume(de),We;return ae(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),f=de,ze;if(Ir(de))return l=Ye,xt(de);if(Jr(de))return e.consume(de),Ye;return e.consume(de),qe}function ze(de){if(de===f)return e.consume(de),f=void 0,ut;if(de===null)return a(de);if(Ir(de))return l=ze,xt(de);return e.consume(de),ze}function qe(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 ae(de);return e.consume(de),qe}function ut(de){if(de===47||de===62||Gn(de))return ae(de);return a(de)}function $e(de){if(de===62)return e.consume(de),e.exit("htmlTextData"),e.exit("htmlText"),r;return a(de)}function xt(de){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(de),e.exit("lineEnding"),Dt}function Dt(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"),l(de)}}var IL={name:"labelEnd",resolveAll:Qzt,resolveTo:Jzt,tokenize:$zt},Gzt={tokenize:eSt},Kzt={tokenize:tSt},Xzt={tokenize:rSt};function Qzt(e){let r=-1,a=[];while(++r<e.length){let i=e[r][1];if(a.push(e[r]),i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd"){let f=i.type==="labelImage"?4:2;i.type="data",r+=f}}if(e.length!==a.length)af(e,0,e.length,a);return e}function Jzt(e,r){let a=e.length,i=0,f,s,l,c;while(a--)if(f=e[a][1],s){if(f.type==="link"||f.type==="labelLink"&&f._inactive)break;if(e[a][0]==="enter"&&f.type==="labelLink")f._inactive=!0}else if(l){if(e[a][0]==="enter"&&(f.type==="labelImage"||f.type==="labelLink")&&!f._balanced){if(s=a,f.type!=="labelLink"){i=2;break}}}else if(f.type==="labelEnd")l=a;let m={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},g={type:"label",start:{...e[s][1].start},end:{...e[l][1].end}},M={type:"labelText",start:{...e[s+i+2][1].end},end:{...e[l-2][1].start}};return c=[["enter",m,r],["enter",g,r]],c=ks(c,e.slice(s+1,s+i+3)),c=ks(c,[["enter",M,r]]),c=ks(c,DR(r.parser.constructs.insideSpan.null,e.slice(s+i+4,l-3),r)),c=ks(c,[["exit",M,r],e[l-2],e[l-1],["exit",g,r]]),c=ks(c,e.slice(l+1)),c=ks(c,[["exit",m,r]]),af(e,s,e.length,c),e}function $zt(e,r,a){let i=this,f=i.events.length,s,l;while(f--)if((i.events[f][1].type==="labelImage"||i.events[f][1].type==="labelLink")&&!i.events[f][1]._balanced){s=i.events[f][1];break}return c;function c(y){if(!s)return a(y);if(s._inactive)return v(y);return l=i.parser.defined.includes(pM(i.sliceSerialize({start:s.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(y),e.exit("labelMarker"),e.exit("labelEnd"),m}function m(y){if(y===40)return e.attempt(Gzt,M,l?M:v)(y);if(y===91)return e.attempt(Kzt,M,l?g:v)(y);return l?M(y):v(y)}function g(y){return e.attempt(Xzt,M,v)(y)}function M(y){return r(y)}function v(y){return s._balanced=!0,a(y)}}function eSt(e,r,a){return i;function i(v){return e.enter("resource"),e.enter("resourceMarker"),e.consume(v),e.exit("resourceMarker"),f}function f(v){return Gn(v)?CL(e,s)(v):s(v)}function s(v){if(v===41)return M(v);return tF(e,l,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(v)}function l(v){return Gn(v)?CL(e,m)(v):M(v)}function c(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)?CL(e,M)(v):M(v)}function M(v){if(v===41)return e.enter("resourceMarker"),e.consume(v),e.exit("resourceMarker"),e.exit("resource"),r;return a(v)}}function tSt(e,r,a){let i=this;return f;function f(c){return rF.call(i,e,s,l,"reference","referenceMarker","referenceString")(c)}function s(c){return i.parser.defined.includes(pM(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?r(c):a(c)}function l(c){return a(c)}}function rSt(e,r,a){return i;function i(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),f}function f(s){if(s===93)return e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),r;return a(s)}}var pW={name:"labelStartImage",resolveAll:IL.resolveAll,tokenize:oSt};function oSt(e,r,a){let i=this;return f;function f(c){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(c),e.exit("labelImageMarker"),s}function s(c){if(c===91)return e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelImage"),l;return a(c)}function l(c){return c===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(c):r(c)}}var mW={name:"labelStartLink",resolveAll:IL.resolveAll,tokenize:aSt};function aSt(e,r,a){let i=this;return f;function f(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),s}function s(l){return l===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(l):r(l)}}var yD={name:"lineEnding",tokenize:nSt};function nSt(e,r){return a;function a(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),fo(e,r,"linePrefix")}}var RL={name:"thematicBreak",tokenize:iSt};function iSt(e,r,a){let i=0,f;return s;function s(g){return e.enter("thematicBreak"),l(g)}function l(g){return f=g,c(g)}function c(g){if(g===f)return e.enter("thematicBreakSequence"),m(g);if(i>=3&&(g===null||Ir(g)))return e.exit("thematicBreak"),r(g);return a(g)}function m(g){if(g===f)return e.consume(g),i++,m;return e.exit("thematicBreakSequence"),Jr(g)?fo(e,c,"whitespace")(g):c(g)}}var mf={continuation:{tokenize:cSt},exit:dSt,name:"list",tokenize:lSt},fSt={partial:!0,tokenize:ZSt},sSt={partial:!0,tokenize:uSt};function lSt(e,r,a){let i=this,f=i.events[i.events.length-1],s=f&&f[1].type==="linePrefix"?f[2].sliceSerialize(f[1],!0).length:0,l=0;return c;function c(x){let _=i.containerState.type||(x===42||x===43||x===45?"listUnordered":"listOrdered");if(_==="listUnordered"?!i.containerState.marker||x===i.containerState.marker:gD(x)){if(!i.containerState.type)i.containerState.type=_,e.enter(_,{_container:!0});if(_==="listUnordered")return e.enter("listItemPrefix"),x===42||x===45?e.check(RL,a,g)(x):g(x);if(!i.interrupt||x===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),m(x)}return a(x)}function m(x){if(gD(x)&&++l<10)return e.consume(x),m;if((!i.interrupt||l<2)&&(i.containerState.marker?x===i.containerState.marker:x===41||x===46))return e.exit("listItemValue"),g(x);return a(x)}function g(x){return e.enter("listItemMarker"),e.consume(x),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||x,e.check(H8,i.interrupt?a:M,e.attempt(fSt,y,v))}function M(x){return i.containerState.initialBlankLine=!0,s++,y(x)}function v(x){if(Jr(x))return e.enter("listItemPrefixWhitespace"),e.consume(x),e.exit("listItemPrefixWhitespace"),y;return a(x)}function y(x){return i.containerState.size=s+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,r(x)}}function cSt(e,r,a){let i=this;return i.containerState._closeFlow=void 0,e.check(H8,f,s);function f(c){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,fo(e,r,"listItemIndent",i.containerState.size+1)(c)}function s(c){if(i.containerState.furtherBlankLines||!Jr(c))return i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,l(c);return i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(sSt,r,l)(c)}function l(c){return i.containerState._closeFlow=!0,i.interrupt=void 0,fo(e,e.attempt(mf,r,a),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function uSt(e,r,a){let i=this;return fo(e,f,"listItemIndent",i.containerState.size+1);function f(s){let l=i.events[i.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===i.containerState.size?r(s):a(s)}}function dSt(e){e.exit(this.containerState.type)}function ZSt(e,r,a){let i=this;return fo(e,f,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function f(s){let l=i.events[i.events.length-1];return!Jr(s)&&l&&l[1].type==="listItemPrefixWhitespace"?r(s):a(s)}}var aF={name:"setextUnderline",resolveTo:pSt,tokenize:mSt};function pSt(e,r){let a=e.length,i,f,s;while(a--)if(e[a][0]==="enter"){if(e[a][1].type==="content"){i=a;break}if(e[a][1].type==="paragraph")f=a}else{if(e[a][1].type==="content")e.splice(a,1);if(!s&&e[a][1].type==="definition")s=a}let l={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};if(e[f][1].type="setextHeadingText",s)e.splice(f,0,["enter",l,r]),e.splice(s+1,0,["exit",e[i][1],r]),e[i][1].end={...e[s][1].end};else e[i][1]=l;return e.push(["exit",l,r]),e}function mSt(e,r,a){let i=this,f;return s;function s(g){let M=i.events.length,v;while(M--)if(i.events[M][1].type!=="lineEnding"&&i.events[M][1].type!=="linePrefix"&&i.events[M][1].type!=="content"){v=i.events[M][1].type==="paragraph";break}if(!i.parser.lazy[i.now().line]&&(i.interrupt||v))return e.enter("setextHeadingLine"),f=g,l(g);return a(g)}function l(g){return e.enter("setextHeadingLineSequence"),c(g)}function c(g){if(g===f)return e.consume(g),c;return e.exit("setextHeadingLineSequence"),Jr(g)?fo(e,m,"lineSuffix")(g):m(g)}function m(g){if(g===null||Ir(g))return e.exit("setextHeadingLine"),r(g);return a(g)}}var QMe={tokenize:hSt};function hSt(e){let r=this,a=e.attempt(H8,i,e.attempt(this.parser.constructs.flowInitial,f,fo(e,e.attempt(this.parser.constructs.flow,f,e.attempt(fW,f)),"linePrefix")));return a;function i(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),r.currentConstruct=void 0,a}function f(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),r.currentConstruct=void 0,a}}var JMe={resolveAll:rve()},$Me=tve("string"),eve=tve("text");function tve(e){return{resolveAll:rve(e==="text"?gSt:void 0),tokenize:r};function r(a){let i=this,f=this.parser.constructs[e],s=a.attempt(f,l,c);return l;function l(M){return g(M)?s(M):c(M)}function c(M){if(M===null){a.consume(M);return}return a.enter("data"),a.consume(M),m}function m(M){if(g(M))return a.exit("data"),s(M);return a.consume(M),m}function g(M){if(M===null)return!0;let v=f[M],y=-1;if(v)while(++y<v.length){let x=v[y];if(!x.previous||x.previous.call(i,i.previous))return!0}return!1}}}function rve(e){return r;function r(a,i){let f=-1,s;while(++f<=a.length)if(s===void 0){if(a[f]&&a[f][1].type==="data")s=f,f++}else if(!a[f]||a[f][1].type!=="data"){if(f!==s+2)a[s][1].end=a[f-1][1].end,a.splice(s+2,f-s-2),f=s+2;s=void 0}return e?e(a,i):a}}function gSt(e,r){let a=0;while(++a<=e.length)if((a===e.length||e[a][1].type==="lineEnding")&&e[a-1][1].type==="data"){let i=e[a-1][1],f=r.sliceStream(i),s=f.length,l=-1,c=0,m;while(s--){let g=f[s];if(typeof g==="string"){l=g.length;while(g.charCodeAt(l-1)===32)c++,l--;if(l)break;l=-1}else if(g===-2)m=!0,c++;else if(g===-1);else{s++;break}}if(r._contentTypeTextTrailing&&a===e.length)c=0;if(c){let g={type:a===e.length||m||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?l:i.start._bufferIndex+l,_index:i.start._index+s,line:i.end.line,column:i.end.column-c,offset:i.end.offset-c},end:{...i.end}};if(i.end={...g.start},i.start.offset===i.end.offset)Object.assign(i,g);else e.splice(a,0,["enter",g,r],["exit",g,r]),a+=2}a++}return e}var hW={};Oe(hW,{attentionMarkers:()=>zSt,contentInitial:()=>vSt,disable:()=>SSt,document:()=>MSt,flow:()=>ySt,flowInitial:()=>xSt,insideSpan:()=>wSt,string:()=>bSt,text:()=>_St});var MSt={[42]:mf,[43]:mf,[45]:mf,[48]:mf,[49]:mf,[50]:mf,[51]:mf,[52]:mf,[53]:mf,[54]:mf,[55]:mf,[56]:mf,[57]:mf,[62]:X4},vSt={[91]:sW},xSt={[-2]:vD,[-1]:vD,[32]:vD},ySt={[35]:cW,[42]:RL,[45]:[aF,RL],[60]:dW,[61]:aF,[95]:RL,[96]:$4,[126]:$4},bSt={[38]:J4,[92]:Q4},_St={[-5]:yD,[-4]:yD,[-3]:yD,[33]:pW,[38]:J4,[42]:MD,[60]:[aW,ZW],[91]:mW,[92]:[lW,Q4],[93]:IL,[95]:MD,[96]:nW},wSt={null:[MD,JMe]},zSt={null:[42,95]},SSt={null:[]};function ove(e,r,a){let i={_bufferIndex:-1,_index:0,line:a&&a.line||1,column:a&&a.column||1,offset:a&&a.offset||0},f={},s=[],l=[],c=[],m=!0,g={attempt:ae(re),check:ae(oe),consume:X,enter:J,exit:ee,interrupt:ae(oe,{interrupt:!0})},M={code:null,containerState:{},defineSkip:T,events:[],now:U,parser:e,previous:null,sliceSerialize:_,sliceStream:j,write:x},v=r.tokenize.call(M,g),y;if(r.resolveAll)s.push(r);return M;function x(ze){if(l=ks(l,ze),N(),l[l.length-1]!==null)return[];return ye(r,0),M.events=DR(s,M.events,M),M.events}function _(ze,qe){return kSt(j(ze),qe)}function j(ze){return LSt(l,ze)}function U(){let{_bufferIndex:ze,_index:qe,line:ut,column:$e,offset:xt}=i;return{_bufferIndex:ze,_index:qe,line:ut,column:$e,offset:xt}}function T(ze){f[ze.line]=ze.column,Ye()}function N(){let ze;while(i._index<l.length){let qe=l[i._index];if(typeof qe==="string"){if(ze=i._index,i._bufferIndex<0)i._bufferIndex=0;while(i._index===ze&&i._bufferIndex<qe.length)G(qe.charCodeAt(i._bufferIndex))}else G(qe)}}function G(ze){m=void 0,y=ze,v=v(ze)}function X(ze){if(Ir(ze))i.line++,i.column=1,i.offset+=ze===-3?2:1,Ye();else if(ze!==-1)i.column++,i.offset++;if(i._bufferIndex<0)i._index++;else if(i._bufferIndex++,i._bufferIndex===l[i._index].length)i._bufferIndex=-1,i._index++;M.previous=ze,m=!0}function J(ze,qe){let ut=qe||{};return ut.type=ze,ut.start=U(),M.events.push(["enter",ut,M]),c.push(ut),ut}function ee(ze){let qe=c.pop();return qe.end=U(),M.events.push(["exit",qe,M]),qe}function re(ze,qe){ye(ze,qe.from)}function oe(ze,qe){qe.restore()}function ae(ze,qe){return ut;function ut($e,xt,Dt){let jt,de,yt,Wt;return Array.isArray($e)?fr($e):("tokenize"in $e)?fr([$e]):De($e);function De(Gt){return Kt;function Kt(Rr){let Lr=Rr!==null&&Gt[Rr],Tr=Rr!==null&&Gt.null,dr=[...Array.isArray(Lr)?Lr:Lr?[Lr]:[],...Array.isArray(Tr)?Tr:Tr?[Tr]:[]];return fr(dr)(Rr)}}function fr(Gt){if(jt=Gt,de=0,Gt.length===0)return Dt;return sr(Gt[de])}function sr(Gt){return Kt;function Kt(Rr){if(Wt=We(),yt=Gt,!Gt.partial)M.currentConstruct=Gt;if(Gt.name&&M.parser.constructs.disable.null.includes(Gt.name))return Or(Rr);return Gt.tokenize.call(qe?Object.assign(Object.create(M),qe):M,g,rr,Or)(Rr)}}function rr(Gt){return m=!0,ze(yt,Wt),xt}function Or(Gt){if(m=!0,Wt.restore(),++de<jt.length)return sr(jt[de]);return Dt}}}function ye(ze,qe){if(ze.resolveAll&&!s.includes(ze))s.push(ze);if(ze.resolve)af(M.events,qe,M.events.length-qe,ze.resolve(M.events.slice(qe),M));if(ze.resolveTo)M.events=ze.resolveTo(M.events,M)}function We(){let ze=U(),{previous:qe,currentConstruct:ut}=M,$e=M.events.length,xt=Array.from(c);return{from:$e,restore:Dt};function Dt(){i=ze,M.previous=qe,M.currentConstruct=ut,M.events.length=$e,c=xt,Ye()}}function Ye(){if(i.line in f&&i.column<2)i.column=f[i.line],i.offset+=f[i.line]-1}}function LSt(e,r){let a=r.start._index,i=r.start._bufferIndex,f=r.end._index,s=r.end._bufferIndex,l;if(a===f)l=[e[a].slice(i,s)];else{if(l=e.slice(a,f),i>-1){let c=l[0];if(typeof c==="string")l[0]=c.slice(i);else l.shift()}if(s>0)l.push(e[f].slice(0,s))}return l}function kSt(e,r){let a=-1,i=[],f;while(++a<e.length){let s=e[a],l;if(typeof s==="string")l=s;else switch(s){case-5:{l="\r";break}case-4:{l=`
|
|
199
|
-
`;break}case-3:{l=`\r
|
|
200
|
-
`;break}case-2:{l=r?" ":"\t";break}case-1:{if(!r&&f)continue;l=" ";break}default:l=String.fromCharCode(s)}f=s===-2,i.push(l)}return i.join("")}function gW(e){let i={constructs:NMe([hW,...(e||{}).extensions||[]]),content:f(HMe),defined:[],document:f(WMe),flow:f(QMe),lazy:{},string:f($Me),text:f(eve)};return i;function f(s){return l;function l(c){return ove(i,s,c)}}}function MW(e){while(!eF(e));return e}var ave=/[\0\t\n\r]/g;function vW(){let e=1,r="",a=!0,i;return f;function f(s,l,c){let m=[],g,M,v,y,x;if(s=r+(typeof s==="string"?s.toString():new TextDecoder(l||void 0).decode(s)),v=0,r="",a){if(s.charCodeAt(0)===65279)v++;a=void 0}while(v<s.length){if(ave.lastIndex=v,g=ave.exec(s),y=g&&g.index!==void 0?g.index:s.length,x=s.charCodeAt(y),!g){r=s.slice(v);break}if(x===10&&v===y&&i)m.push(-3),i=void 0;else{if(i)m.push(-5),i=void 0;if(v<y)m.push(s.slice(v,y)),e+=y-v;switch(x){case 0:{m.push(65533),e++;break}case 9:{M=Math.ceil(e/4)*4,m.push(-2);while(e++<M)m.push(-1);break}case 10:{m.push(-4),e=1;break}default:i=!0,e=1}}v=y+1}if(c){if(i)m.push(-5);if(r)m.push(r);m.push(null)}return m}}var CSt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function nve(e){return e.replace(CSt,ISt)}function ISt(e,r,a){if(r)return r;if(a.charCodeAt(0)===35){let f=a.charCodeAt(1),s=f===120||f===88;return K4(a.slice(s?2:1),s?16:10)}return AR(a)||e}var fve={}.hasOwnProperty;function xW(e,r,a){if(r&&typeof r==="object")a=r,r=void 0;return RSt(a)(MW(gW(a).document().write(vW()(e,r,!0))))}function RSt(e){let r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(Yr),autolinkProtocol:ae,autolinkEmail:ae,atxHeading:s(lo),blockQuote:s(Rr),characterEscape:ae,characterReference:ae,codeFenced:s(Lr),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(Lr,l),codeText:s(Tr,l),codeTextData:ae,data:ae,codeFlowValue:ae,definition:s(dr),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(uo),hardBreakEscape:s(sa),hardBreakTrailing:s(sa),htmlFlow:s(cr,l),htmlFlowData:ae,htmlText:s(cr,l),htmlTextData:ae,image:s(io),label:l,link:s(Yr),listItem:s(an),listItemValue:y,listOrdered:s(jo,v),listUnordered:s(jo),paragraph:s(Ho),reference:De,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(lo),strong:s(Dn),thematicBreak:s(Vi)},exit:{atxHeading:m(),atxHeadingSequence:J,autolink:m(),autolinkEmail:Kt,autolinkProtocol:Gt,blockQuote:m(),characterEscapeValue:ye,characterReferenceMarkerHexadecimal:sr,characterReferenceMarkerNumeric:sr,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(ze),htmlFlowData:ye,htmlText:m(qe),htmlTextData:ye,image:m(xt),label:jt,labelText:Dt,lineEnding:We,link:m($e),listItem:m(),listOrdered:m(),listUnordered:m(),paragraph:m(),referenceString:fr,resourceDestinationString:de,resourceTitleString:yt,resource:Wt,setextHeading:m(oe),setextHeadingLineSequence:re,setextHeadingText:ee,strong:m(),thematicBreak:m()}};sve(r,(e||{}).mdastExtensions||[]);let a={};return i;function i(Ke){let Ct={type:"root",children:[]},pr={stack:[Ct],tokenStack:[],config:r,enter:c,exit:g,buffer:l,resume:M,data:a},Fr=[],ao=-1;while(++ao<Ke.length)if(Ke[ao][1].type==="listOrdered"||Ke[ao][1].type==="listUnordered")if(Ke[ao][0]==="enter")Fr.push(ao);else{let Vo=Fr.pop();ao=f(Ke,Vo,ao)}ao=-1;while(++ao<Ke.length){let Vo=r[Ke[ao][0]];if(fve.call(Vo,Ke[ao][1].type))Vo[Ke[ao][1].type].call(Object.assign({sliceSerialize:Ke[ao][2].sliceSerialize},pr),Ke[ao][1])}if(pr.tokenStack.length>0){let Vo=pr.tokenStack[pr.tokenStack.length-1];(Vo[1]||ive).call(pr,void 0,Vo[0])}Ct.position={start:V8(Ke.length>0?Ke[0][1].start:{line:1,column:1,offset:0}),end:V8(Ke.length>0?Ke[Ke.length-2][1].end:{line:1,column:1,offset:0})},ao=-1;while(++ao<r.transforms.length)Ct=r.transforms[ao](Ct)||Ct;return Ct}function f(Ke,Ct,pr){let Fr=Ct-1,ao=-1,Vo=!1,Ra,Se,Pe,Ee;while(++Fr<=pr){let Zt=Ke[Fr];switch(Zt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{if(Zt[0]==="enter")ao++;else ao--;Ee=void 0;break}case"lineEndingBlank":{if(Zt[0]==="enter"){if(Ra&&!Ee&&!ao&&!Pe)Pe=Fr;Ee=void 0}break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ee=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(Ra){let zt=Fr;Se=void 0;while(zt--){let Ot=Ke[zt];if(Ot[1].type==="lineEnding"||Ot[1].type==="lineEndingBlank"){if(Ot[0]==="exit")continue;if(Se)Ke[Se][1].type="lineEndingBlank",Vo=!0;Ot[1].type="lineEnding",Se=zt}else if(Ot[1].type==="linePrefix"||Ot[1].type==="blockQuotePrefix"||Ot[1].type==="blockQuotePrefixWhitespace"||Ot[1].type==="blockQuoteMarker"||Ot[1].type==="listItemIndent");else break}if(Pe&&(!Se||Pe<Se))Ra._spread=!0;Ra.end=Object.assign({},Se?Ke[Se][1].start:Zt[1].end),Ke.splice(Se||Fr,0,["exit",Ra,Zt[2]]),Fr++,pr++}if(Zt[1].type==="listItemPrefix"){let zt={type:"listItem",_spread:!1,start:Object.assign({},Zt[1].start),end:void 0};Ra=zt,Ke.splice(Fr,0,["enter",zt,Zt[2]]),Fr++,pr++,Pe=void 0,Ee=!0}}}return Ke[Ct][1]._spread=Vo,pr}function s(Ke,Ct){return pr;function pr(Fr){if(c.call(this,Ke(Fr),Fr),Ct)Ct.call(this,Fr)}}function l(){this.stack.push({type:"fragment",children:[]})}function c(Ke,Ct,pr){this.stack[this.stack.length-1].children.push(Ke),this.stack.push(Ke),this.tokenStack.push([Ct,pr||void 0]),Ke.position={start:V8(Ct.start),end:void 0}}function m(Ke){return Ct;function Ct(pr){if(Ke)Ke.call(this,pr);g.call(this,pr)}}function g(Ke,Ct){let pr=this.stack.pop(),Fr=this.tokenStack.pop();if(!Fr)throw Error("Cannot close `"+Ke.type+"` ("+U8({start:Ke.start,end:Ke.end})+"): it’s not open");else if(Fr[0].type!==Ke.type)if(Ct)Ct.call(this,Ke,Fr[0]);else(Fr[1]||ive).call(this,Ke,Fr[0]);pr.position.end=V8(Ke.end)}function M(){return rW(this.stack.pop())}function v(){this.data.expectingFirstListItemValue=!0}function y(Ke){if(this.data.expectingFirstListItemValue){let Ct=this.stack[this.stack.length-2];Ct.start=Number.parseInt(this.sliceSerialize(Ke),10),this.data.expectingFirstListItemValue=void 0}}function x(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.lang=Ke}function _(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.meta=Ke}function j(){if(this.data.flowCodeInside)return;this.buffer(),this.data.flowCodeInside=!0}function U(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.value=Ke.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function T(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.value=Ke.replace(/(\r?\n|\r)$/g,"")}function N(Ke){let Ct=this.resume(),pr=this.stack[this.stack.length-1];pr.label=Ct,pr.identifier=pM(this.sliceSerialize(Ke)).toLowerCase()}function G(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.title=Ke}function X(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.url=Ke}function J(Ke){let Ct=this.stack[this.stack.length-1];if(!Ct.depth){let pr=this.sliceSerialize(Ke).length;Ct.depth=pr}}function ee(){this.data.setextHeadingSlurpLineEnding=!0}function re(Ke){let Ct=this.stack[this.stack.length-1];Ct.depth=this.sliceSerialize(Ke).codePointAt(0)===61?1:2}function oe(){this.data.setextHeadingSlurpLineEnding=void 0}function ae(Ke){let pr=this.stack[this.stack.length-1].children,Fr=pr[pr.length-1];if(!Fr||Fr.type!=="text")Fr=sn(),Fr.position={start:V8(Ke.start),end:void 0},pr.push(Fr);this.stack.push(Fr)}function ye(Ke){let Ct=this.stack.pop();Ct.value+=this.sliceSerialize(Ke),Ct.position.end=V8(Ke.end)}function We(Ke){let Ct=this.stack[this.stack.length-1];if(this.data.atHardBreak){let pr=Ct.children[Ct.children.length-1];pr.position.end=V8(Ke.end),this.data.atHardBreak=void 0;return}if(!this.data.setextHeadingSlurpLineEnding&&r.canContainEols.includes(Ct.type))ae.call(this,Ke),ye.call(this,Ke)}function Ye(){this.data.atHardBreak=!0}function ze(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.value=Ke}function qe(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.value=Ke}function ut(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.value=Ke}function $e(){let Ke=this.stack[this.stack.length-1];if(this.data.inReference){let Ct=this.data.referenceType||"shortcut";Ke.type+="Reference",Ke.referenceType=Ct,delete Ke.url,delete Ke.title}else delete Ke.identifier,delete Ke.label;this.data.referenceType=void 0}function xt(){let Ke=this.stack[this.stack.length-1];if(this.data.inReference){let Ct=this.data.referenceType||"shortcut";Ke.type+="Reference",Ke.referenceType=Ct,delete Ke.url,delete Ke.title}else delete Ke.identifier,delete Ke.label;this.data.referenceType=void 0}function Dt(Ke){let Ct=this.sliceSerialize(Ke),pr=this.stack[this.stack.length-2];pr.label=nve(Ct),pr.identifier=pM(Ct).toLowerCase()}function jt(){let Ke=this.stack[this.stack.length-1],Ct=this.resume(),pr=this.stack[this.stack.length-1];if(this.data.inReference=!0,pr.type==="link"){let Fr=Ke.children;pr.children=Fr}else pr.alt=Ct}function de(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.url=Ke}function yt(){let Ke=this.resume(),Ct=this.stack[this.stack.length-1];Ct.title=Ke}function Wt(){this.data.inReference=void 0}function De(){this.data.referenceType="collapsed"}function fr(Ke){let Ct=this.resume(),pr=this.stack[this.stack.length-1];pr.label=Ct,pr.identifier=pM(this.sliceSerialize(Ke)).toLowerCase(),this.data.referenceType="full"}function sr(Ke){this.data.characterReferenceType=Ke.type}function rr(Ke){let Ct=this.sliceSerialize(Ke),pr=this.data.characterReferenceType,Fr;if(pr)Fr=K4(Ct,pr==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0;else Fr=AR(Ct);let ao=this.stack[this.stack.length-1];ao.value+=Fr}function Or(Ke){let Ct=this.stack.pop();Ct.position.end=V8(Ke.end)}function Gt(Ke){ye.call(this,Ke);let Ct=this.stack[this.stack.length-1];Ct.url=this.sliceSerialize(Ke)}function Kt(Ke){ye.call(this,Ke);let Ct=this.stack[this.stack.length-1];Ct.url="mailto:"+this.sliceSerialize(Ke)}function Rr(){return{type:"blockquote",children:[]}}function Lr(){return{type:"code",lang:null,meta:null,value:""}}function Tr(){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 sa(){return{type:"break"}}function cr(){return{type:"html",value:""}}function io(){return{type:"image",title:null,url:"",alt:null}}function Yr(){return{type:"link",title:null,url:"",children:[]}}function jo(Ke){return{type:"list",ordered:Ke.type==="listOrdered",start:null,spread:Ke._spread,children:[]}}function an(Ke){return{type:"listItem",spread:Ke._spread,checked:null,children:[]}}function Ho(){return{type:"paragraph",children:[]}}function Dn(){return{type:"strong",children:[]}}function sn(){return{type:"text",value:""}}function Vi(){return{type:"thematicBreak"}}}function V8(e){return{line:e.line,column:e.column,offset:e.offset}}function sve(e,r){let a=-1;while(++a<r.length){let i=r[a];if(Array.isArray(i))sve(e,i);else PSt(e,i)}}function PSt(e,r){let a;for(a in r)if(fve.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 ive(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 xW(i,{...r.data("settings"),...e,extensions:r.data("micromarkExtensions")||[],mdastExtensions:r.data("fromMarkdownExtensions")||[]})}}var iF=-1,ER=0,PL=1,OR=2,bD=3,_D=4,wD=5,zD=6,fF=7,sF=8;var{defineProperty:TSt}=Object,cve=typeof self==="object"?self:globalThis,lve=(e,r)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw TypeError("unable to deserialize "+e)}return new cve[e](r)},ASt=(e,r)=>{let a=(f,s)=>(e.set(s,f),f),i=(f)=>{if(e.has(f))return e.get(f);let[s,l]=r[f];switch(s){case ER:case iF:return a(l,f);case PL:{let c=a([],f);for(let m of l)c.push(i(m));return c}case OR:{let c=a({},f);for(let[m,g]of l){let M=i(m),v=i(g);if(M==="__proto__")TSt(c,M,{value:v,configurable:!0,enumerable:!0,writable:!0});else c[M]=v}return c}case bD:return a(new Date(l),f);case _D:{let{source:c,flags:m}=l;return a(new RegExp(c,m),f)}case wD:{let c=a(new Map,f);for(let[m,g]of l)c.set(i(m),i(g));return c}case zD:{let c=a(new Set,f);for(let m of l)c.add(i(m));return c}case fF:{let{name:c,message:m}=l;return a(typeof cve[c]==="function"?lve(c,m):Error(m),f)}case sF:return a(BigInt(l),f);case"BigInt":return a(Object(BigInt(l)),f);case"ArrayBuffer":return a(new Uint8Array(l).buffer,l);case"DataView":{let{buffer:c}=new Uint8Array(l);return a(new DataView(c),l)}case"-0":return-0}return a(lve(s,l),f)};return i},yW=(e)=>ASt(new Map,e)(0);var TL="",{toString:DSt}={},{keys:ESt,is:OSt}=Object,SD=(e)=>{let r=typeof e;if(r!=="object"||!e)return[ER,r];let a=DSt.call(e).slice(8,-1);switch(a){case"Array":return[PL,TL];case"Object":return[OR,TL];case"Date":return[bD,TL];case"RegExp":return[_D,TL];case"Map":return[wD,TL];case"Set":return[zD,TL];case"DataView":return[PL,a]}if(a.includes("Array"))return[PL,a];if(e instanceof Error)return[fF,e.name||"Error"];return[OR,a]},lF=([e,r])=>e===ER&&(r==="function"||r==="symbol"),jSt=(e,r,a,i)=>{let f=(l,c)=>{let m=i.push(l)-1;return a.set(c,m),m},s=(l)=>{if(a.has(l))return a.get(l);let[c,m]=SD(l);switch(c){case ER:{let M=l;switch(m){case"bigint":c=sF,M=l.toString();break;case"number":if(!l&&OSt(l,-0))return i.push(["-0"])-1;break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+m);M=null;break;case"undefined":return f([iF],l)}return f([c,M],l)}case PL:{if(m){let y=l;if(m==="DataView")y=new Uint8Array(l.buffer);else if(m==="ArrayBuffer")y=new Uint8Array(l);return f([m,[...y]],l)}let M=[],v=f([c,M],l);for(let y of l)M.push(s(y));return v}case OR:{if(m)switch(m){case"BigInt":return f([m,l.toString()],l);case"Boolean":case"Number":case"String":return f([m,l.valueOf()],l)}if(r&&"toJSON"in l)return s(l.toJSON());let M=[],v=f([c,M],l);for(let y of ESt(l))if(e||!lF(SD(l[y])))M.push([s(y),s(l[y])]);return v}case bD:return f([c,isNaN(l.getTime())?TL:l.toISOString()],l);case _D:{let{source:M,flags:v}=l;return f([c,{source:M,flags:v}],l)}case wD:{let M=[],v=f([c,M],l);for(let[y,x]of l)if(e||!(lF(SD(y))||lF(SD(x))))M.push([s(y),s(x)]);return v}case zD:{let M=[],v=f([c,M],l);for(let y of l)if(e||!lF(SD(y)))M.push(s(y));return v}}let{message:g}=l;return f([c,{name:m,message:g}],l)};return s},bW=(e,{json:r,lossy:a}={})=>{let i=[];return jSt(!(r||a),!!r,new Map,i)(e),i};var jR=typeof structuredClone==="function"?(e,r)=>r&&(("json"in r)||("lossy"in r))?yW(bW(e,r)):structuredClone(e):(e,r)=>yW(bW(e,r));function NSt(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 FSt(e,r){return"Back to reference "+(e+1)+(r>1?"-"+r:"")}function uve(e){let r=typeof e.options.clobberPrefix==="string"?e.options.clobberPrefix:"user-content-",a=e.options.footnoteBackContent||NSt,i=e.options.footnoteBackLabel||FSt,f=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},c=[],m=-1;while(++m<e.footnoteOrder.length){let g=e.footnoteById.get(e.footnoteOrder[m]);if(!g)continue;let M=e.all(g),v=String(g.identifier).toUpperCase(),y=Ac(v.toLowerCase()),x=0,_=[],j=e.footnoteCounts.get(v);while(j!==void 0&&++x<=j){if(_.length>0)_.push({type:"text",value:" "});let N=typeof a==="string"?a:a(m,x);if(typeof N==="string")N={type:"text",value:N};_.push({type:"element",tagName:"a",properties:{href:"#"+r+"fnref-"+y+(x>1?"-"+x:""),dataFootnoteBackref:"",ariaLabel:typeof i==="string"?i:i(m,x),className:["data-footnote-backref"]},children:Array.isArray(N)?N:[N]})}let U=M[M.length-1];if(U&&U.type==="element"&&U.tagName==="p"){let N=U.children[U.children.length-1];if(N&&N.type==="text")N.value+=" ";else U.children.push({type:"text",value:" "});U.children.push(..._)}else M.push(..._);let T={type:"element",tagName:"li",properties:{id:r+"fn-"+y},children:e.wrap(M,!0)};e.patch(g,T),c.push(T)}if(c.length===0)return;return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...jR(l),id:"footnote-label"},children:[{type:"text",value:f}]},{type:"text",value:`
|
|
201
|
-
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(c,!0)},{type:"text",value:`
|
|
202
|
-
`}]}}var cF=function(e){if(e===null||e===void 0)return qSt;if(typeof e==="function")return uF(e);if(typeof e==="object")return Array.isArray(e)?BSt(e):YSt(e);if(typeof e==="string")return USt(e);throw Error("Expected function, string, or object as test")};function BSt(e){let r=[],a=-1;while(++a<e.length)r[a]=cF(e[a]);return uF(i);function i(...f){let s=-1;while(++s<r.length)if(r[s].apply(this,f))return!0;return!1}}function YSt(e){let r=e;return uF(a);function a(i){let f=i,s;for(s in e)if(f[s]!==r[s])return!1;return!0}}function USt(e){return uF(r);function r(a){return a&&a.type===e}}function uF(e){return r;function r(a,i,f){return Boolean(HSt(a)&&e.call(this,a,typeof i==="number"?i:void 0,f||void 0))}}function qSt(){return!0}function HSt(e){return e!==null&&typeof e==="object"&&"type"in e}function dve(e){return e}var Zve=[],_W=!0,dF=!1,wW="skip";function zW(e,r,a,i){let f;if(typeof r==="function"&&typeof a!=="function")i=a,a=r;else f=r;let s=cF(f),l=i?-1:1;c(e,void 0,[])();function c(m,g,M){let v=m&&typeof m==="object"?m:{};if(typeof v.type==="string"){let x=typeof v.tagName==="string"?v.tagName:typeof v.name==="string"?v.name:void 0;Object.defineProperty(y,"name",{value:"node ("+dve(m.type+(x?"<"+x+">":""))+")"})}return y;function y(){let x=Zve,_,j,U;if(!r||s(m,g,M[M.length-1]||void 0)){if(x=VSt(a(m,M)),x[0]===dF)return x}if("children"in m&&m.children){let T=m;if(T.children&&x[0]!==wW){j=(i?T.children.length:-1)+l,U=M.concat(T);while(j>-1&&j<T.children.length){let N=T.children[j];if(_=c(N,j,U)(),_[0]===dF)return _;j=typeof _[1]==="number"?_[1]:j+l}}}return x}}}function VSt(e){if(Array.isArray(e))return e;if(typeof e==="number")return[_W,e];return e===null||e===void 0?Zve:[e]}function LD(e,r,a,i){let f,s,l;if(typeof r==="function"&&typeof a!=="function")s=void 0,l=r,f=a;else s=r,l=a,f=i;zW(e,s,c,f);function c(m,g){let M=g[g.length-1],v=M?M.children.indexOf(m):void 0;return l(m,v,M)}}function pve(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 mve(e,r){let a={type:"element",tagName:"br",properties:{},children:[]};return e.patch(r,a),[e.applyData(r,a),{type:"text",value:`
|
|
203
|
-
`}]}function hve(e,r){let a=r.value?r.value+`
|
|
204
|
-
`:"",i={},f=r.lang?r.lang.split(/\s+/):[];if(f.length>0)i.className=["language-"+f[0]];let s={type:"element",tagName:"code",properties:i,children:[{type:"text",value:a}]};if(r.meta)s.data={meta:r.meta};return e.patch(r,s),s=e.applyData(r,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(r,s),s}function gve(e,r){let a={type:"element",tagName:"del",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function Mve(e,r){let a={type:"element",tagName:"em",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function vve(e,r){let a=typeof e.options.clobberPrefix==="string"?e.options.clobberPrefix:"user-content-",i=String(r.identifier).toUpperCase(),f=Ac(i.toLowerCase()),s=e.footnoteOrder.indexOf(i),l,c=e.footnoteCounts.get(i);if(c===void 0)c=0,e.footnoteOrder.push(i),l=e.footnoteOrder.length;else l=s+1;c+=1,e.footnoteCounts.set(i,c);let m={type:"element",tagName:"a",properties:{href:"#"+a+"fn-"+f,id:a+"fnref-"+f+(c>1?"-"+c:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(r,m);let g={type:"element",tagName:"sup",properties:{},children:[m]};return e.patch(r,g),e.applyData(r,g)}function xve(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 yve(e,r){if(e.options.allowDangerousHtml){let a={type:"raw",value:r.value};return e.patch(r,a),e.applyData(r,a)}return}function ZF(e,r){let a=r.referenceType,i="]";if(a==="collapsed")i+="[]";else if(a==="full")i+="["+(r.label||r.identifier)+"]";if(r.type==="imageReference")return[{type:"text",value:"!["+r.alt+i}];let f=e.all(r),s=f[0];if(s&&s.type==="text")s.value="["+s.value;else f.unshift({type:"text",value:"["});let l=f[f.length-1];if(l&&l.type==="text")l.value+=i;else f.push({type:"text",value:i});return f}function bve(e,r){let a=String(r.identifier).toUpperCase(),i=e.definitionById.get(a);if(!i)return ZF(e,r);let f={src:Ac(i.url||""),alt:r.alt};if(i.title!==null&&i.title!==void 0)f.title=i.title;let s={type:"element",tagName:"img",properties:f,children:[]};return e.patch(r,s),e.applyData(r,s)}function _ve(e,r){let a={src:Ac(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 wve(e,r){let a={type:"text",value:r.value.replace(/\r?\n|\r/g," ")};e.patch(r,a);let i={type:"element",tagName:"code",properties:{},children:[a]};return e.patch(r,i),e.applyData(r,i)}function zve(e,r){let a=String(r.identifier).toUpperCase(),i=e.definitionById.get(a);if(!i)return ZF(e,r);let f={href:Ac(i.url||"")};if(i.title!==null&&i.title!==void 0)f.title=i.title;let s={type:"element",tagName:"a",properties:f,children:e.all(r)};return e.patch(r,s),e.applyData(r,s)}function Sve(e,r){let a={href:Ac(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 Lve(e,r,a){let i=e.all(r),f=a?WSt(a):kve(r),s={},l=[];if(typeof r.checked==="boolean"){let M=i[0],v;if(M&&M.type==="element"&&M.tagName==="p")v=M;else v={type:"element",tagName:"p",properties:{},children:[]},i.unshift(v);if(v.children.length>0)v.children.unshift({type:"text",value:" "});v.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:r.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let c=-1;while(++c<i.length){let M=i[c];if(f||c!==0||M.type!=="element"||M.tagName!=="p")l.push({type:"text",value:`
|
|
205
|
-
`});if(M.type==="element"&&M.tagName==="p"&&!f)l.push(...M.children);else l.push(M)}let m=i[i.length-1];if(m&&(f||m.type!=="element"||m.tagName!=="p"))l.push({type:"text",value:`
|
|
206
|
-
`});let g={type:"element",tagName:"li",properties:s,children:l};return e.patch(r,g),e.applyData(r,g)}function WSt(e){let r=!1;if(e.type==="list"){r=e.spread||!1;let a=e.children,i=-1;while(!r&&++i<a.length)r=kve(a[i])}return r}function kve(e){let r=e.spread;return r===null||r===void 0?e.children.length>1:r}function Cve(e,r){let a={},i=e.all(r),f=-1;if(typeof r.start==="number"&&r.start!==1)a.start=r.start;while(++f<i.length){let l=i[f];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){a.className=["contains-task-list"];break}}let s={type:"element",tagName:r.ordered?"ol":"ul",properties:a,children:e.wrap(i,!0)};return e.patch(r,s),e.applyData(r,s)}function Ive(e,r){let a={type:"element",tagName:"p",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function Rve(e,r){let a={type:"root",children:e.wrap(e.all(r))};return e.patch(r,a),e.applyData(r,a)}function Pve(e,r){let a={type:"element",tagName:"strong",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function Tve(e,r){let a=e.all(r),i=a.shift(),f=[];if(i){let l={type:"element",tagName:"thead",properties:{},children:e.wrap([i],!0)};e.patch(r.children[0],l),f.push(l)}if(a.length>0){let l={type:"element",tagName:"tbody",properties:{},children:e.wrap(a,!0)},c=TR(r.children[1]),m=G4(r.children[r.children.length-1]);if(c&&m)l.position={start:c,end:m};f.push(l)}let s={type:"element",tagName:"table",properties:{},children:e.wrap(f,!0)};return e.patch(r,s),e.applyData(r,s)}function Ave(e,r,a){let i=a?a.children:void 0,s=(i?i.indexOf(r):1)===0?"th":"td",l=a&&a.type==="table"?a.align:void 0,c=l?l.length:r.children.length,m=-1,g=[];while(++m<c){let v=r.children[m],y={},x=l?l[m]:void 0;if(x)y.align=x;let _={type:"element",tagName:s,properties:y,children:[]};if(v)_.children=e.all(v),e.patch(v,_),_=e.applyData(v,_);g.push(_)}let M={type:"element",tagName:"tr",properties:{},children:e.wrap(g,!0)};return e.patch(r,M),e.applyData(r,M)}function Dve(e,r){let a={type:"element",tagName:"td",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function Ove(e){let r=String(e),a=/\r?\n|\r/g,i=a.exec(r),f=0,s=[];while(i)s.push(Eve(r.slice(f,i.index),f>0,!0),i[0]),f=i.index+i[0].length,i=a.exec(r);return s.push(Eve(r.slice(f),f>0,!1)),s.join("")}function Eve(e,r,a){let i=0,f=e.length;if(r){let s=e.codePointAt(i);while(s===9||s===32)i++,s=e.codePointAt(i)}if(a){let s=e.codePointAt(f-1);while(s===9||s===32)f--,s=e.codePointAt(f-1)}return f>i?e.slice(i,f):""}function jve(e,r){let a={type:"text",value:Ove(String(r.value))};return e.patch(r,a),e.applyData(r,a)}function Nve(e,r){let a={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(r,a),e.applyData(r,a)}var Fve={blockquote:pve,break:mve,code:hve,delete:gve,emphasis:Mve,footnoteReference:vve,heading:xve,html:yve,imageReference:bve,image:_ve,inlineCode:wve,linkReference:zve,link:Sve,listItem:Lve,list:Cve,paragraph:Ive,root:Rve,strong:Pve,table:Tve,tableCell:Dve,tableRow:Ave,text:jve,thematicBreak:Nve,toml:pF,yaml:pF,definition:pF,footnoteDefinition:pF};function pF(){return}var SW={}.hasOwnProperty,GSt={};function Yve(e,r){let a=r||GSt,i=new Map,f=new Map,s=new Map,l={...Fve,...a.handlers},c={all:g,applyData:XSt,definitionById:i,footnoteById:f,footnoteCounts:s,footnoteOrder:[],handlers:l,one:m,options:a,patch:KSt,wrap:JSt};return LD(e,function(M){if(M.type==="definition"||M.type==="footnoteDefinition"){let v=M.type==="definition"?i:f,y=String(M.identifier).toUpperCase();if(!v.has(y))v.set(y,M)}}),c;function m(M,v){let y=M.type,x=c.handlers[y];if(SW.call(c.handlers,y)&&x)return x(c,M,v);if(c.options.passThrough&&c.options.passThrough.includes(y)){if("children"in M){let{children:j,...U}=M,T=jR(U);return T.children=c.all(M),T}return jR(M)}return(c.options.unknownHandler||QSt)(c,M,v)}function g(M){let v=[];if("children"in M){let y=M.children,x=-1;while(++x<y.length){let _=c.one(y[x],M);if(_){if(x&&y[x-1].type==="break"){if(!Array.isArray(_)&&_.type==="text")_.value=Bve(_.value);if(!Array.isArray(_)&&_.type==="element"){let j=_.children[0];if(j&&j.type==="text")j.value=Bve(j.value)}}if(Array.isArray(_))v.push(..._);else v.push(_)}}}return v}}function KSt(e,r){if(e.position)r.position=XV(e)}function XSt(e,r){let a=r;if(e&&e.data){let i=e.data.hName,f=e.data.hChildren,s=e.data.hProperties;if(typeof i==="string")if(a.type==="element")a.tagName=i;else{let l="children"in a?a.children:[a];a={type:"element",tagName:i,properties:{},children:l}}if(a.type==="element"&&s)Object.assign(a.properties,jR(s));if("children"in a&&a.children&&f!==null&&f!==void 0)a.children=f}return a}function QSt(e,r){let a=r.data||{},i="value"in r&&!(SW.call(a,"hProperties")||SW.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 JSt(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 Bve(e){let r=0,a=e.charCodeAt(r);while(a===9||a===32)r++,a=e.charCodeAt(r);return e.slice(r)}function mF(e,r){let a=Yve(e,r),i=a.one(e,void 0),f=uve(a),s=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};if(f)Ss("children"in s),s.children.push({type:"text",value:`
|
|
210
|
-
`},f);return s}function hF(e,r){if(e&&"run"in e)return async function(a,i){let f=mF(a,{file:i,...r});await e.run(f,i)};return function(a,i){return mF(a,{file:i,...e||r})}}function LW(e){if(e)throw e}var vF=z(Qve(),1);function kD(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 kW(){let e=[],r={run:a,use:i};return r;function a(...f){let s=-1,l=f.pop();if(typeof l!=="function")throw TypeError("Expected function as last argument, not "+l);c(null,...f);function c(m,...g){let M=e[++s],v=-1;if(m){l(m);return}while(++v<f.length)if(g[v]===null||g[v]===void 0)g[v]=f[v];if(f=g,M)Jve(M,c)(...g);else l(null,...g)}}function i(f){if(typeof f!=="function")throw TypeError("Expected `middelware` to be a function, not "+f);return e.push(f),r}}function Jve(e,r){let a;return i;function i(...l){let c=e.length>l.length,m;if(c)l.push(f);try{m=e.apply(this,l)}catch(g){let M=g;if(c&&a)throw M;return f(M)}if(!c)if(m&&m.then&&typeof m.then==="function")m.then(s,f);else if(m instanceof Error)f(m);else s(m)}function f(l,...c){if(!a)a=!0,r(l,...c)}function s(l){f(null,l)}}var Cu={basename:$St,dirname:eLt,extname:tLt,join:rLt,sep:"/"};function $St(e,r){if(r!==void 0&&typeof r!=="string")throw TypeError('"ext" argument must be a string');CD(e);let a=0,i=-1,f=e.length,s;if(r===void 0||r.length===0||r.length>e.length){while(f--)if(e.codePointAt(f)===47){if(s){a=f+1;break}}else if(i<0)s=!0,i=f+1;return i<0?"":e.slice(a,i)}if(r===e)return"";let l=-1,c=r.length-1;while(f--)if(e.codePointAt(f)===47){if(s){a=f+1;break}}else{if(l<0)s=!0,l=f+1;if(c>-1)if(e.codePointAt(f)===r.codePointAt(c--)){if(c<0)i=f}else c=-1,i=l}if(a===i)i=l;else if(i<0)i=e.length;return e.slice(a,i)}function eLt(e){if(CD(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 tLt(e){CD(e);let r=e.length,a=-1,i=0,f=-1,s=0,l;while(r--){let c=e.codePointAt(r);if(c===47){if(l){i=r+1;break}continue}if(a<0)l=!0,a=r+1;if(c===46){if(f<0)f=r;else if(s!==1)s=1}else if(f>-1)s=-1}if(f<0||a<0||s===0||s===1&&f===a-1&&f===i+1)return"";return e.slice(f,a)}function rLt(...e){let r=-1,a;while(++r<e.length)if(CD(e[r]),e[r])a=a===void 0?e[r]:a+"/"+e[r];return a===void 0?".":oLt(a)}function oLt(e){CD(e);let r=e.codePointAt(0)===47,a=aLt(e,!r);if(a.length===0&&!r)a=".";if(a.length>0&&e.codePointAt(e.length-1)===47)a+="/";return r?"/"+a:a}function aLt(e,r){let a="",i=0,f=-1,s=0,l=-1,c,m;while(++l<=e.length){if(l<e.length)c=e.codePointAt(l);else if(c===47)break;else c=47;if(c===47){if(f===l-1||s===1);else if(f!==l-1&&s===2){if(a.length<2||i!==2||a.codePointAt(a.length-1)!==46||a.codePointAt(a.length-2)!==46){if(a.length>2){if(m=a.lastIndexOf("/"),m!==a.length-1){if(m<0)a="",i=0;else a=a.slice(0,m),i=a.length-1-a.lastIndexOf("/");f=l,s=0;continue}}else if(a.length>0){a="",i=0,f=l,s=0;continue}}if(r)a=a.length>0?a+"/..":"..",i=2}else{if(a.length>0)a+="/"+e.slice(f+1,l);else a=e.slice(f+1,l);i=l-f-1}f=l,s=0}else if(c===46&&s>-1)s++;else s=-1}return a}function CD(e){if(typeof e!=="string")throw TypeError("Path must be a string. Received "+JSON.stringify(e))}var $ve={cwd:nLt};function nLt(){return"/"}function NR(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(!NR(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 iLt(e)}function iLt(e){if(e.hostname!==""){let i=TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}let r=e.pathname,a=-1;while(++a<r.length)if(r.codePointAt(a)===37&&r.codePointAt(a+1)===50){let i=r.codePointAt(a+2);if(i===70||i===102){let f=TypeError("File URL path must not include encoded / characters");throw f.code="ERR_INVALID_FILE_URL_PATH",f}}return decodeURIComponent(r)}var CW=["history","path","basename","stem","extname","dirname"];class FR{constructor(e){let r;if(!e)r={};else if(NR(e))r={path:e};else if(typeof e==="string"||fLt(e))r={value:e};else r=e;this.cwd="cwd"in r?"":$ve.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;while(++a<CW.length){let f=CW[a];if(f in r&&r[f]!==void 0&&r[f]!==null)this[f]=f==="history"?[...r[f]]:r[f]}let i;for(i in r)if(!CW.includes(i))this[i]=r[i]}get basename(){return typeof this.path==="string"?Cu.basename(this.path):void 0}set basename(e){RW(e,"basename"),IW(e,"basename"),this.path=Cu.join(this.dirname||"",e)}get dirname(){return typeof this.path==="string"?Cu.dirname(this.path):void 0}set dirname(e){t8e(this.basename,"dirname"),this.path=Cu.join(e||"",this.basename)}get extname(){return typeof this.path==="string"?Cu.extname(this.path):void 0}set extname(e){if(IW(e,"extname"),t8e(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=Cu.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){if(NR(e))e=e8e(e);if(RW(e,"path"),this.path!==e)this.history.push(e)}get stem(){return typeof this.path==="string"?Cu.basename(this.path,this.extname):void 0}set stem(e){RW(e,"stem"),IW(e,"stem"),this.path=Cu.join(this.dirname||"",e+(this.extname||""))}fail(e,r,a){let i=this.message(e,r,a);throw i.fatal=!0,i}info(e,r,a){let i=this.message(e,r,a);return i.fatal=void 0,i}message(e,r,a){let i=new di(e,r,a);if(this.path)i.name=this.path+":"+i.name,i.file=this.path;return i.fatal=!1,this.messages.push(i),i}toString(e){if(this.value===void 0)return"";if(typeof this.value==="string")return this.value;return new TextDecoder(e||void 0).decode(this.value)}}function IW(e,r){if(e&&e.includes(Cu.sep))throw Error("`"+r+"` cannot be a path: did not expect `"+Cu.sep+"`")}function RW(e,r){if(!e)throw Error("`"+r+"` cannot be empty")}function t8e(e,r){if(!e)throw Error("Setting `"+r+"` requires `path` to be set too")}function fLt(e){return Boolean(e&&typeof e==="object"&&"byteLength"in e&&"byteOffset"in e)}var r8e=function(e){let i=this.constructor.prototype,f=i[e],s=function(){return f.apply(s,arguments)};return Object.setPrototypeOf(s,i),s};var sLt={}.hasOwnProperty;class DW extends r8e{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=kW()}copy(){let e=new DW,r=-1;while(++r<this.attachers.length){let a=this.attachers[r];e.use(...a)}return e.data(vF.default(!0,{},this.namespace)),e}data(e,r){if(typeof e==="string"){if(arguments.length===2)return AW("data",this.frozen),this.namespace[e]=r,this;return sLt.call(this.namespace,e)&&this.namespace[e]||void 0}if(e)return AW("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=MF(e),a=this.parser||this.Parser;return PW("parse",a),a(String(r),r)}process(e,r){let a=this;return this.freeze(),PW("process",this.parser||this.Parser),TW("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(f,s){let l=MF(e),c=a.parse(l);a.run(c,l,function(g,M,v){if(g||!M||!v)return m(g);let y=M,x=a.stringify(y,v);if(cLt(x))v.value=x;else v.result=x;m(g,v)});function m(g,M){if(g||!M)s(g);else if(f)f(M);else Ss(r,"`done` is defined if `resolve` is not"),r(void 0,M)}}}processSync(e){let r=!1,a;return this.freeze(),PW("processSync",this.parser||this.Parser),TW("processSync",this.compiler||this.Compiler),this.process(e,i),a8e("processSync","process",r),Ss(a,"we either bailed on an error or have a tree"),a;function i(f,s){r=!0,LW(f),a=s}}run(e,r,a){o8e(e),this.freeze();let i=this.transformers;if(!a&&typeof r==="function")a=r,r=void 0;return a?f(void 0,a):new Promise(f);function f(s,l){Ss(typeof r!=="function","`file` can’t be a `done` anymore, we checked");let c=MF(r);i.run(e,c,m);function m(g,M,v){let y=M||e;if(g)l(g);else if(s)s(y);else 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,f),a8e("runSync","run",a),Ss(i,"we either bailed on an error or have a tree"),i;function f(s,l){LW(s),i=l,a=!0}}stringify(e,r){this.freeze();let a=MF(r),i=this.compiler||this.Compiler;return TW("stringify",i),o8e(e),i(e,a)}use(e,...r){let a=this.attachers,i=this.namespace;if(AW("use",this.frozen),e===null||e===void 0);else if(typeof e==="function")c(e,r);else if(typeof e==="object")if(Array.isArray(e))l(e);else s(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function f(m){if(typeof m==="function")c(m,[]);else if(typeof m==="object")if(Array.isArray(m)){let[g,...M]=m;c(g,M)}else s(m);else throw TypeError("Expected usable value, not `"+m+"`")}function s(m){if(!("plugins"in m)&&!("settings"in m))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");if(l(m.plugins),m.settings)i.settings=vF.default(!0,i.settings,m.settings)}function l(m){let g=-1;if(m===null||m===void 0);else if(Array.isArray(m))while(++g<m.length){let M=m[g];f(M)}else throw TypeError("Expected a list of plugins, not `"+m+"`")}function c(m,g){let M=-1,v=-1;while(++M<a.length)if(a[M][0]===m){v=M;break}if(v===-1)a.push([m,...g]);else if(g.length>0){let[y,...x]=g,_=a[v][1];if(kD(_)&&kD(y))y=vF.default(!0,_,y);a[v]=[m,y,...x]}}}}var EW=new DW().freeze();function PW(e,r){if(typeof r!=="function")throw TypeError("Cannot `"+e+"` without `parser`")}function TW(e,r){if(typeof r!=="function")throw TypeError("Cannot `"+e+"` without `compiler`")}function AW(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 o8e(e){if(!kD(e)||typeof e.type!=="string")throw TypeError("Expected node, got `"+e+"`")}function a8e(e,r,a){if(!a)throw Error("`"+e+"` finished async. Use `"+r+"` instead")}function MF(e){return lLt(e)?e:new FR(e)}function lLt(e){return Boolean(e&&typeof e==="object"&&"message"in e&&"messages"in e)}function cLt(e){return typeof e==="string"||uLt(e)}function uLt(e){return Boolean(e&&typeof e==="object"&&"byteLength"in e&&"byteOffset"in e)}var dLt="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",n8e=[],i8e={allowDangerousHtml:!0},ZLt=/^(https?|ircs?|mailto|xmpp)$/i,pLt=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Eo(e){let r=mLt(e),a=hLt(e);return gLt(r.runSync(r.parse(a),a),e)}function mLt(e){let r=e.rehypePlugins||n8e,a=e.remarkPlugins||n8e,i=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...i8e}:i8e;return EW().use(nF).use(a).use(hF,i).use(r)}function hLt(e){let r=e.children||"",a=new FR;if(typeof r==="string")a.value=r;else Y4("Unexpected value `"+r+"` for `children` prop, expected `string`");return a}function gLt(e,r){let{allowedElements:a,allowElement:i,components:f,disallowedElements:s,skipHtml:l,unwrapDisallowed:c}=r,m=r.urlTransform||f8e;for(let M of pLt)if(Object.hasOwn(r,M.from))Y4("Unexpected `"+M.from+"` prop, "+(M.to?"use `"+M.to+"` instead":"remove it")+" (see <"+dLt+"#"+M.id+"> for more info)");if(a&&s)Y4("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other");return LD(e,g),$V(e,{Fragment:L,components:f,ignoreInvalidStyle:!0,jsx:t,jsxs:o,passKeys:!0,passNode:!0});function g(M,v,y){if(M.type==="raw"&&y&&typeof v==="number"){if(l)y.children.splice(v,1);else y.children[v]={type:"text",value:M.value};return v}if(M.type==="element"){let x;for(x in mD)if(Object.hasOwn(mD,x)&&Object.hasOwn(M.properties,x)){let _=M.properties[x],j=mD[x];if(j===null||j.includes(M.tagName))M.properties[x]=m(String(_||""),x,M)}}if(M.type==="element"){let x=a?!a.includes(M.tagName):s?s.includes(M.tagName):!1;if(!x&&i&&typeof v==="number")x=!i(M,v,y);if(x&&y&&typeof v==="number"){if(c&&M.children)y.children.splice(v,1,...M.children);else y.children.splice(v,1);return v}}}}function f8e(e){let r=e.indexOf(":"),a=e.indexOf("?"),i=e.indexOf("#"),f=e.indexOf("/");if(r===-1||f!==-1&&r>f||a!==-1&&r>a||i!==-1&&r>i||ZLt.test(e.slice(0,r)))return e;return""}var MLt=/\.(png|jpe?g|webp|gif|svg|avif|bmp|ico)$/i;function js(e){if(!e)return!1;return MLt.test(e)}function Vd(e,r){if(!e||e.length===0)return null;let a=[...e].sort((f,s)=>{let l=f.width??0;return(s.width??0)-l}),i=a.filter((f)=>(f.width??0)>=r);if(i.length>0)return i.sort((f,s)=>{let l=f.width??0,c=s.width??0;return l-c}),i[0];return a[0]}function s8e({teamId:e,taskId:r,comment:a,currentUserId:i,isOwnerOrAdmin:f}){let s=K(),[l,c]=u(!1),[m,g]=u(null),M=f||a.author.id===i,{mutate:v,isPending:y}=B({mutationFn:async()=>{let _=await A.api.teams[":teamId"].kanban.tasks[":taskId"].comments[":commentId"].$delete({param:{teamId:e,taskId:r,commentId:a.id}});if(!_.ok){let j=await _.json().catch(()=>({message:Tn()}));throw Error(j.message||Tn())}return await _.json()},onSuccess:()=>{s.invalidateQueries({queryKey:["teams",e,"kanban","tasks",r,"comments"]}),s.invalidateQueries({queryKey:["teams",e,"kanban","task",r]}),s.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]}),k.success("Comment deleted"),c(!1)},onError:(_)=>{k.error(_.message)}}),x=(a.author.name||"U").split(" ").map((_)=>_[0]).slice(0,2).join("").toUpperCase();return o("div",{className:"relative flex gap-3 p-3 rounded-xl border border-transparent bg-foreground/[0.03] dark:bg-foreground/[0.08] hover:bg-foreground/[0.06] dark:hover:bg-foreground/[0.12] transition-colors group w-full max-w-full overflow-hidden",children:[o(Ce,{className:"w-7 h-7 shrink-0 mt-0.5 border border-border",children:[a.author.image&&t(Ie,{src:a.author.image,alt:a.author.name}),t(Te,{className:"text-[10px] font-medium bg-muted text-muted-foreground",children:x})]}),o("div",{className:"flex-1 min-w-0 space-y-1.5 overflow-hidden",children:[o("div",{className:"flex items-center justify-between gap-2",children:[o("div",{className:"flex items-center gap-2 min-w-0",children:[t("span",{className:"font-semibold text-xs text-foreground truncate",children:a.author.name}),t("span",{className:"text-[10px] text-muted-foreground shrink-0 font-mono",children: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:()=>c(!0),children:[t(we,{className:"mr-1.5 h-3.5 w-3.5"}),t("span",{children:it()})]})})]})})]}),a.body&&t("div",{className:"text-xs leading-relaxed prose prose-xs dark:prose-invert max-w-none break-words text-foreground/90 font-sans",children:t(Eo,{children:a.body})}),a.attachments&&a.attachments.length>0&&t("div",{className:"flex flex-col gap-1.5 pt-1.5 w-full max-w-full overflow-hidden",children:a.attachments.map((_)=>{let j=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(vt,{className:"w-3.5 h-3.5"})})]},_.id)})})]}),t(Je,{open:l,onOpenChange:c,children:o(Xe,{children:[o(et,{children:[t(rt,{children:ah()}),t(nt,{children:ih()})]}),o(tt,{children:[t(st,{disabled:y,children:Ne()}),t(ot,{className:"bg-destructive hover:bg-destructive/90 text-white",disabled:y,onClick:()=>v(),children:it()})]})]})}),t(ue,{open:!!m,onOpenChange:(_)=>!_&&g(null),children:o(ie,{className:"w-auto max-w-[80vw] sm:max-w-[80vw] max-h-[80vh] p-2 sm:p-3 bg-background/95 backdrop-blur-sm border-border flex flex-col items-center justify-center overflow-hidden",onClick:(_)=>_.stopPropagation(),children:[t(me,{className:"sr-only",children:t(le,{children:m?.name||"Image Preview"})}),m&&o("div",{className:"flex flex-col items-center justify-center max-w-[80vw] max-h-[80vh] overflow-hidden",children:[t("img",{src:m.url,alt:m.name,className:"max-w-[80vw] max-h-[calc(80vh-2.5rem)] w-auto h-auto object-contain rounded-md"}),t("p",{className:"text-xs text-muted-foreground truncate max-w-full px-2 pt-1.5 text-center",children:m.name})]})]})})]})}S();var g8e=Symbol.for("immer-nothing"),l8e=Symbol.for("immer-draftable"),hf=Symbol.for("immer-state");function Iu(e,...r){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Jl=Object,YR=Jl.getPrototypeOf,_F="constructor",CF="prototype",FW="configurable",wF="enumerable",yF="writable",ID="value",W8=(e)=>!!e&&!!e[hf];function zZ(e){if(!e)return!1;return M8e(e)||RF(e)||!!e[l8e]||!!e[_F]?.[l8e]||PF(e)||TF(e)}var vLt=Jl[CF][_F].toString(),c8e=new WeakMap;function M8e(e){if(!e||!GW(e))return!1;let r=YR(e);if(r===null||r===Jl[CF])return!0;let a=Jl.hasOwnProperty.call(r,_F)&&r[_F];if(a===Object)return!0;if(!BR(a))return!1;let i=c8e.get(a);if(i===void 0)i=Function.toString.call(a),c8e.set(a,i);return i===vLt}function IF(e,r,a=!0){if(TD(e)===0)(a?Reflect.ownKeys(e):Jl.keys(e)).forEach((f)=>{r(f,e[f],e)});else e.forEach((i,f)=>r(f,i,e))}function TD(e){let r=e[hf];return r?r.type_:RF(e)?1:PF(e)?2:TF(e)?3:0}var OW=(e,r,a=TD(e))=>a===2?e.has(r):Jl[CF].hasOwnProperty.call(e,r),BW=(e,r,a=TD(e))=>a===2?e.get(r):e[r],zF=(e,r,a,i=TD(e))=>{if(i===2)e.set(r,a);else if(i===3)e.add(a);else e[r]=a};function xLt(e,r){if(e===r)return e!==0||1/e===1/r;else return e!==e&&r!==r}var RF=Array.isArray,PF=(e)=>e instanceof Map,TF=(e)=>e instanceof Set,GW=(e)=>typeof e==="object",BR=(e)=>typeof e==="function",jW=(e)=>typeof e==="boolean";function yLt(e){let r=+e;return Number.isInteger(r)&&String(r)===e}var mM=(e)=>e.copy_||e.base_;var KW=(e)=>e.modified_?e.copy_:e.base_;function YW(e,r){if(PF(e))return new Map(e);if(TF(e))return new Set(e);if(RF(e))return Array[CF].slice.call(e);let a=M8e(e);if(r===!0||r==="class_only"&&!a){let i=Jl.getOwnPropertyDescriptors(e);delete i[hf];let f=Reflect.ownKeys(i);for(let s=0;s<f.length;s++){let l=f[s],c=i[l];if(c[yF]===!1)c[yF]=!0,c[FW]=!0;if(c.get||c.set)i[l]={[FW]:!0,[yF]:!0,[wF]:c[wF],[ID]:e[l]}}return Jl.create(YR(e),i)}else{let i=YR(e);if(i!==null&&a)return{...e};let f=Jl.create(i);return Jl.assign(f,e)}}function XW(e,r=!1){if(AF(e)||W8(e)||!zZ(e))return e;if(TD(e)>1)Jl.defineProperties(e,{set:xF,add:xF,clear:xF,delete:xF});if(Jl.freeze(e),r)IF(e,(a,i)=>{XW(i,!0)},!1);return e}function bLt(){Iu(2)}var xF={[ID]:bLt};function AF(e){if(e===null||!GW(e))return!0;return Jl.isFrozen(e)}var SF="MapSet",UW="Patches",u8e="ArrayMethods",v8e={};function AL(e){let r=v8e[e];if(!r)Iu(0,e);return r}var d8e=(e)=>!!v8e[e];var RD,x8e=()=>RD,_Lt=(e,r)=>({drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:d8e(SF)?AL(SF):void 0,arrayMethodsPlugin_:d8e(u8e)?AL(u8e):void 0});function Z8e(e,r){if(r)e.patchPlugin_=AL(UW),e.patches_=[],e.inversePatches_=[],e.patchListener_=r}function qW(e){HW(e),e.drafts_.forEach(wLt),e.drafts_=null}function HW(e){if(e===RD)RD=e.parent_}var p8e=(e)=>RD=_Lt(RD,e);function wLt(e){let r=e[hf];if(r.type_===0||r.type_===1)r.revoke_();else r.revoked_=!0}function m8e(e,r){r.unfinalizedDrafts_=r.drafts_.length;let a=r.drafts_[0];if(e!==void 0&&e!==a){if(a[hf].modified_)qW(r),Iu(4);if(zZ(e))e=h8e(r,e);let{patchPlugin_:f}=r;if(f)f.generateReplacementPatches_(a[hf].base_,e,r)}else e=h8e(r,a);if(zLt(r,e,!0),qW(r),r.patches_)r.patchListener_(r.patches_,r.inversePatches_);return e!==g8e?e:void 0}function h8e(e,r){if(AF(r))return r;let a=r[hf];if(!a)return LF(r,e.handledSet_,e);if(!DF(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);_8e(a,e)}return a.copy_}function zLt(e,r,a=!1){if(!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_)XW(r,a)}function y8e(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var DF=(e,r)=>e.scope_===r,SLt=[];function b8e(e,r,a,i){let f=mM(e),s=e.type_;if(i!==void 0){if(BW(f,i,s)===r){zF(f,i,a,s);return}}if(!e.draftLocations_){let c=e.draftLocations_=new Map;IF(f,(m,g)=>{if(W8(g)){let M=c.get(g)||[];M.push(m),c.set(g,M)}})}let l=e.draftLocations_.get(r)??SLt;for(let c of l)zF(f,c,a,s)}function LLt(e,r,a){e.callbacks_.push(function(f){let s=r;if(!s||!DF(s,f))return;f.mapSetPlugin_?.fixSetContents(s);let l=KW(s);b8e(e,s.draft_??s,l,a),_8e(s,f)})}function _8e(e,r){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:i}=r;if(i){let f=i.getPath(e);if(f)i.generatePatches_(e,f,r)}y8e(e)}}function kLt(e,r,a){let{scope_:i}=e;if(W8(a)){let f=a[hf];if(DF(f,i))f.callbacks_.push(function(){bF(e);let l=KW(f);b8e(e,a,l,r)})}else if(zZ(a))e.callbacks_.push(function(){let s=mM(e);if(e.type_===3){if(s.has(a))LF(a,i.handledSet_,i)}else if(BW(s,r,e.type_)===a){if(i.drafts_.length>1&&(e.assigned_.get(r)??!1)===!0&&e.copy_)LF(BW(e.copy_,r,e.type_),i.handledSet_,i)}})}function LF(e,r,a){if(!a.immer_.autoFreeze_&&a.unfinalizedDrafts_<1)return e;if(W8(e)||r.has(e)||!zZ(e)||AF(e))return e;return r.add(e),IF(e,(i,f)=>{if(W8(f)){let s=f[hf];if(DF(s,a)){let l=KW(s);zF(e,i,l,e.type_),y8e(s)}}else if(zZ(f))LF(f,r,a)}),e}function CLt(e,r){let a=RF(e),i={type_:a?1:0,scope_:r?r.scope_:x8e(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},f=i,s=kF;if(a)f=[i],s=PD;let{revoke:l,proxy:c}=Proxy.revocable(f,s);return i.draft_=c,i.revoke_=l,[c,i]}var kF={get(e,r){if(r===hf)return e;let a=e.scope_.arrayMethodsPlugin_,i=e.type_===1&&typeof r==="string";if(i){if(a?.isArrayOperationMethod(r))return a.createMethodInterceptor(e,r)}let f=mM(e);if(!OW(f,r,e.type_))return RLt(e,f,r);let s=f[r];if(e.finalized_||!zZ(s))return s;if(i&&e.operationMethod&&a?.isMutatingArrayMethod(e.operationMethod)&&yLt(r))return s;if(s===NW(e.base_,r)||ILt(e,r,s)){bF(e);let l=e.type_===1?+r:r,c=WW(e.scope_,s,e,l);return e.copy_[l]=c}return s},has(e,r){return r in mM(e)},ownKeys(e){return Reflect.ownKeys(mM(e))},set(e,r,a){let i=w8e(mM(e),r);if(i?.set)return i.set.call(e.draft_,a),!0;if(!e.modified_){let f=NW(mM(e),r),s=f?.[hf];if(s&&s.base_===a)return e.copy_[r]=a,e.assigned_.set(r,!1),!0;if(xLt(a,f)&&(a!==void 0||OW(e.base_,r,e.type_)))return!0;bF(e),VW(e)}if(e.copy_[r]===a&&(a!==void 0||OW(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),kLt(e,r,a),!0},deleteProperty(e,r){if(bF(e),NW(e.base_,r)!==void 0||r in e.base_)e.assigned_.set(r,!1),VW(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{[yF]:!0,[FW]:e.type_!==1||r!=="length",[wF]:i[wF],[ID]:a[r]}},defineProperty(){Iu(11)},getPrototypeOf(e){return YR(e.base_)},setPrototypeOf(){Iu(12)}},PD={};for(let e in kF){let r=kF[e];PD[e]=function(){let a=arguments;return a[0]=a[0][0],r.apply(this,a)}}PD.deleteProperty=function(e,r){return PD.set.call(this,e,r,void 0)};PD.set=function(e,r,a){return kF.set.call(this,e[0],r,a,e[0])};function NW(e,r){let a=e[hf];return(a?mM(a):e)[r]}function ILt(e,r,a){if(e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(r)||!zZ(a)||a[hf])return!1;return e.baseRefs_.has(a)}function RLt(e,r,a){let i=w8e(r,a);return i?ID in i?i[ID]:i.get?.call(e.draft_):void 0}function w8e(e,r){if(!(r in e))return;let a=YR(e);while(a){let i=Object.getOwnPropertyDescriptor(a,r);if(i)return i;a=YR(a)}return}function VW(e){if(!e.modified_){if(e.modified_=!0,e.parent_)VW(e.parent_)}}function bF(e){if(!e.copy_)e.assigned_=new Map,e.copy_=YW(e.base_,e.scope_.immer_.useStrictShallowCopy_)}var PLt=class{constructor(e){if(this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(r,a,i)=>{if(BR(r)&&!BR(a)){let s=a;a=r;let l=this;return function(m=s,...g){return l.produce(m,(M)=>a.call(this,M,...g))}}if(!BR(a))Iu(6);if(i!==void 0&&!BR(i))Iu(7);let f;if(zZ(r)){let s=p8e(this),l=WW(s,r,void 0),c=!0;try{f=a(l),c=!1}finally{if(c)qW(s);else HW(s)}return Z8e(s,i),m8e(f,s)}else if(!r||!GW(r)){if(f=a(r),f===void 0)f=r;if(f===g8e)f=void 0;if(this.autoFreeze_)XW(f,!0);if(i){let s=[],l=[];AL(UW).generateReplacementPatches_(r,f,{patches_:s,inversePatches_:l}),i(s,l)}return f}else Iu(1,r)},this.produceWithPatches=(r,a)=>{if(BR(r))return(l,...c)=>this.produceWithPatches(l,(m)=>r(m,...c));let i,f;return[this.produce(r,a,(l,c)=>{i=l,f=c}),i,f]},jW(e?.autoFreeze))this.setAutoFreeze(e.autoFreeze);if(jW(e?.useStrictShallowCopy))this.setUseStrictShallowCopy(e.useStrictShallowCopy);if(jW(e?.useStrictIteration))this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){if(!zZ(e))Iu(8);if(W8(e))e=TLt(e);let r=p8e(this),a=WW(r,e,void 0);return a[hf].isManual_=!0,HW(r),a}finishDraft(e,r){let a=e&&e[hf];if(!a||!a.isManual_)Iu(9);let{scope_:i}=a;return Z8e(i,r),m8e(void 0,i)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,r){let a;for(a=r.length-1;a>=0;a--){let f=r[a];if(f.path.length===0&&f.op==="replace"){e=f.value;break}}if(a>-1)r=r.slice(a+1);let i=AL(UW).applyPatches_;if(W8(e))return i(e,r);return this.produce(e,(f)=>i(f,r))}};function WW(e,r,a,i){let[f,s]=PF(r)?AL(SF).proxyMap_(r,a):TF(r)?AL(SF).proxySet_(r,a):CLt(r,a);if((a?.scope_??x8e()).drafts_.push(f),s.callbacks_=a?.callbacks_??[],s.key_=i,a&&i!==void 0)LLt(a,s,i);else s.callbacks_.push(function(m){m.mapSetPlugin_?.fixSetContents(s);let{patchPlugin_:g}=m;if(s.modified_&&g)g.generatePatches_(s,[],m)});return f}function TLt(e){if(!W8(e))Iu(10,e);return z8e(e)}function z8e(e){if(!zZ(e)||AF(e))return e;let r=e[hf],a,i=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,a=YW(e,r.scope_.immer_.useStrictShallowCopy_),i=r.scope_.immer_.shouldUseStrictIteration()}else a=YW(e,!0);if(IF(a,(f,s)=>{zF(a,f,z8e(s))},i),r)r.finalized_=!1;return a}var ALt=globalThis.Iterator,Ljn=typeof ALt?.from==="function";var DLt=new PLt,S8e=DLt.produce;var ELt=(e)=>(r,a,i)=>(i.setState=(f,s,...l)=>{let c=typeof f==="function"?S8e(f):f;return r(c,s,...l)},e(i.setState,a,i)),L8e=ELt;var Ur=Mr()(tte(L8e((e,r)=>({members:[],loading:!1,fetchMembers:async(a,i,f)=>{if(!f&&r().loadedTeamId===a&&r().loadedWithAgents===i)return;e({loading:!0});try{let s=await A.api.teams[":teamId"].members.$get({param:{teamId:a},query:{includeAgents:i?"true":"false"}});if(!s.ok)throw Error("failed to fetch members");let l=await s.json();e({members:l||[],loadedTeamId:a,loadedProjectId:void 0,loadedWithAgents:i,loading:!1})}catch{e({loading:!1})}},fetchProjectMembers:async(a,i,f)=>{if(!f&&r().loadedProjectId===a&&r().loadedWithAgents===i)return;e({loading:!0});try{let s=await A.api.projects[":projectId"].members.$get({param:{projectId:a},query:{includeAgents:i?"true":"false"}});if(!s.ok)throw Error("failed to fetch project members");let l=await s.json();e({members:l||[],loadedProjectId:a,loadedTeamId:void 0,loadedWithAgents:i,loading:!1})}catch{e({loading:!1})}}}))));function k8e({teamId:e,onSendMessage:r,isSubmitting:a}){let[i,f]=u(""),[s,l]=u([]),[c,m]=u(!1),[g,M]=u(""),[v,y]=u(0),x=b(null),_=b(null),j=b(null),{members:U,fetchMembers:T}=Ur();h(()=>{if(e)T(e,!0,!0)},[e,T]);let{mutateAsync:N}=B({mutationFn:async(ze)=>{let qe=await A.api.teams[":teamId"].kanban.attachments.$post({param:{teamId:e},json:ze});if(!qe.ok)throw Error("Failed to get attachment upload url");return await qe.json()}}),G=(ze)=>{let qe=ze.target.value;if(f(qe),x.current)x.current.style.height="auto",x.current.style.height=`${Math.min(x.current.scrollHeight,160)}px`;let ut=ze.target.selectionStart||0,$e=qe.slice(0,ut),xt=$e.lastIndexOf("@");if(xt!==-1){let Dt=xt===0,jt=$e[xt-1];if(Dt||/\s/.test(jt)){let yt=$e.slice(xt+1);if(!/\s/.test(yt)){M(yt),m(!0);return}}}m(!1)},X=U.filter((ze)=>ze.name?.toLowerCase().includes(g.toLowerCase()));h(()=>{y(0)},[g,c]);let J=(ze)=>{if(!x.current)return;let qe=x.current.selectionStart||0,ut=i.slice(0,qe),$e=i.slice(qe),xt=ut.lastIndexOf("@");if(xt!==-1){let Dt=`${i.slice(0,xt)}@${ze.name} ${$e}`;f(Dt),m(!1),setTimeout(()=>{if(x.current){x.current.focus();let jt=xt+ze.name.length+2;x.current.setSelectionRange(jt,jt)}},0)}},ee=async(ze)=>{let qe=Array.from(ze.target.files||[]);if(qe.length===0)return;let ut=qe.map(($e)=>({id:`${Date.now()}-${$e.name}-${Math.random()}`,file:$e,isUploading:!0}));l(($e)=>[...$e,...ut]);for(let $e of ut)try{let xt=await N({fileName:$e.file.name,size:$e.file.size,contentType:$e.file.type||"application/octet-stream"});if(!(await fetch(xt.uploadUrl,{method:"PUT",body:$e.file,headers:{"Content-Type":$e.file.type||"application/octet-stream"}})).ok)throw Error("Failed to upload file to storage");l((jt)=>jt.map((de)=>de.id===$e.id?{...de,isUploading:!1,payload:{id:xt.id,name:xt.name,key:xt.key,sizeByte:xt.sizeByte,contentType:xt.contentType,proxyType:xt.proxyType}}:de))}catch(xt){let Dt=xt instanceof Error?xt.message:"Upload failed";k.error(`${$e.file.name}: ${Dt}`),l((jt)=>jt.map((de)=>de.id===$e.id?{...de,isUploading:!1,error:Dt}:de))}if(_.current)_.current.value=""},re=(ze)=>{l((qe)=>qe.filter((ut)=>ut.id!==ze))},oe=s.some((ze)=>ze.isUploading),ae=s.map((ze)=>ze.payload).filter((ze)=>!!ze),ye=(i.trim().length>0||ae.length>0)&&!oe,We=async()=>{if(!ye||a)return;try{if(await r(i.trim(),ae.length>0?ae:void 0),f(""),l([]),x.current)x.current.style.height="auto"}catch{}},Ye=(ze)=>{if(c&&X.length>0){if(ze.key==="ArrowDown"){ze.preventDefault(),y((qe)=>(qe+1)%X.length);return}if(ze.key==="ArrowUp"){ze.preventDefault(),y((qe)=>(qe-1+X.length)%X.length);return}if(ze.key==="Enter"||ze.key==="Tab"){ze.preventDefault();let qe=X[v];if(qe)J(qe);return}if(ze.key==="Escape"){m(!1);return}}if(ze.key==="Enter"&&(ze.metaKey||ze.ctrlKey))ze.preventDefault(),We()};return o("div",{className:"relative flex flex-col w-full border border-border focus-within:border-foreground/40 bg-card rounded-2xl p-2.5 shadow-2xs transition-all",children:[c&&X.length>0&&t("div",{ref:j,className:"absolute bottom-full left-0 mb-2 w-64 max-h-48 overflow-y-auto rounded-xl border border-border bg-popover p-1 shadow-lg z-50",children:X.map((ze,qe)=>o("button",{type:"button",onClick:()=>J(ze),className:`w-full flex items-center gap-2 px-2.5 py-1.5 rounded-lg text-xs transition-colors text-left ${qe===v?"bg-primary text-primary-foreground font-medium":"hover:bg-muted text-foreground"}`,children:[o(Ce,{className:"w-5 h-5",children:[ze.image&&t(Ie,{src:ze.image}),t(Te,{className:"text-[9px]",children:ze.name?.slice(0,2).toUpperCase()})]}),t("span",{className:"truncate",children:ze.name})]},ze.id))}),s.length>0&&t("div",{className:"flex flex-wrap gap-1.5 pb-2 mb-1.5 border-b border-border/50",children:s.map((ze)=>{let qe=ze.file.type.startsWith("image/");return o("div",{className:"flex items-center gap-1.5 pl-2 pr-1.5 py-1 rounded-lg bg-muted/60 border border-border text-xs max-w-[200px]",children:[ze.isUploading?t(F,{className:"w-3.5 h-3.5 animate-spin text-primary shrink-0"}):qe?t(eo,{className:"w-3.5 h-3.5 text-primary shrink-0"}):t(qn,{className:"w-3.5 h-3.5 text-muted-foreground shrink-0"}),o("div",{className:"min-w-0 flex-1 truncate",children:[t("span",{className:"truncate block font-medium text-[11px]",children:ze.file.name}),t("span",{className:"text-[9px] text-muted-foreground font-mono",children:Kr(ze.file.size)})]}),t("button",{type:"button",onClick:()=>re(ze.id),className:"p-0.5 rounded-md text-muted-foreground hover:text-foreground hover:bg-muted shrink-0",children:t(Re,{className:"w-3 h-3"})})]},ze.id)})}),t("textarea",{ref:x,value:i,onChange:G,onKeyDown:Ye,placeholder:qNe(),rows:1,className:"w-full min-h-[44px] max-h-[160px] bg-transparent border-0 focus:outline-hidden focus-visible:ring-0 resize-none text-xs text-foreground placeholder:text-muted-foreground/70 p-1 font-sans leading-relaxed"}),o("div",{className:"flex items-center justify-between pt-1 mt-1 border-t border-border/40",children:[o("div",{className:"flex items-center gap-1",children:[t("input",{ref:_,type:"file",multiple:!0,className:"hidden",onChange:ee}),t(E,{type:"button",variant:"ghost",size:"icon-xs",onClick:()=>_.current?.click(),className:"h-7 w-7 rounded-lg text-muted-foreground hover:text-foreground hover:bg-muted",title:"Attach files",disabled:a,children:t(Ii,{className:"w-3.5 h-3.5"})}),t("span",{className:"text-[10px] text-muted-foreground/60 hidden sm:inline pl-1",children:"Cmd+Enter to send"})]}),t(E,{type:"button",size:"icon-xs",onClick:We,disabled:!ye||a,className:"h-7 w-7 rounded-full shadow-xs bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-40 transition-all shrink-0",title:"Send comment",children:a||oe?t(F,{className:"w-3.5 h-3.5 animate-spin"}):t(Wa,{className:"w-3.5 h-3.5 stroke-[2.5]"})})]})]})}function C8e({teamId:e,taskId:r,initialComments:a}){let i=K(),{data:f}=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}),s=f?.role?.toLowerCase()==="owner"||f?.role?.toLowerCase()==="editor",{data:l,isLoading:c}=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=l?.data||[],{mutateAsync:g,isPending:M}=B({mutationFn:async({body:y,attachments:x})=>{let _=await A.api.teams[":teamId"].kanban.tasks[":taskId"].comments.$post({param:{teamId:e,taskId:r},json:{body:y,attachments:x}});if(!_.ok){let j=await _.json().catch(()=>({message:Tn()}));throw Error(j.message||Tn())}return await _.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","tasks",r,"comments"]}),i.invalidateQueries({queryKey:["teams",e,"kanban","task",r]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]})},onError:(y)=>{k.error(y.message)}}),v=async(y,x)=>{await g({body:y,attachments:x})};return o("div",{className:"flex flex-col h-full overflow-hidden bg-background",children:[t(ce,{className:"flex-1 min-h-0 p-3.5 [&>div>div]:block!",children:t("div",{className:"space-y-3 pr-1 pb-2 w-full max-w-full",children:c?t("div",{className:"flex items-center justify-center py-12",children:t(F,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):m.length===0?o("div",{className:"flex flex-col items-center justify-center py-16 text-center text-xs text-muted-foreground/80 space-y-2",children:[t("div",{className:"w-10 h-10 rounded-full bg-muted/60 flex items-center justify-center",children:t(vo,{className:"w-5 h-5 opacity-40"})}),t("p",{className:"font-medium",children:Wh()})]}):m.map((y)=>t(s8e,{teamId:e,taskId:r,comment:y,currentUserId:f?.id,isOwnerOrAdmin:s},y.id))})}),t("div",{className:"p-3 border-t border-border/60 bg-card/60 shrink-0",children:t(k8e,{teamId:e,onSendMessage:v,isSubmitting:M})})]})}function OLt(e){let r=e.data||{};switch(e.type){case rf.CREATED:return"Created task";case rf.STATUS_CHANGED:return`Changed status from ${e.fromStatus?oo(e.fromStatus):"None"} to ${e.toStatus?oo(e.toStatus):"None"}`;case rf.ASSIGNED:return"Assigned task";case rf.UNASSIGNED:return"Unassigned task";case rf.PRIORITY_CHANGED:return`Changed priority to ${String(r.to||"")}`;case rf.GOAL_CHANGED:return"Updated goal association";case rf.DEPENDENCY_ADDED:return"Added prerequisite dependency";case rf.DEPENDENCY_REMOVED:return"Removed prerequisite dependency";case rf.CHANGES_REQUESTED:return`Requested changes: "${String(r.reason||"")}"`;case rf.BLOCKED:return`Task blocked: "${String(r.reason||r.blockReason||"")}"`;case rf.UNBLOCKED:return"Task unblocked";case rf.COMMENTED:return"Added a comment";default:return e.type}}function I8e({teamId:e,taskId:r,initialEvents:a}){let{data:i,isLoading:f}=Z({queryKey:["teams",e,"kanban","tasks",r,"events"],queryFn:async()=>{let l=await A.api.teams[":teamId"].kanban.tasks[":taskId"].events.$get({param:{teamId:e,taskId:r}});if(!l.ok)throw Error("Failed to fetch events");return await l.json()},initialData:a?{data:a}:void 0,enabled:!!e&&!!r}),s=i?.data||[];return t(ce,{className:"h-full p-3",children:t("div",{className:"space-y-4 pr-2",children:t("div",{className:"space-y-2",children:f?t("div",{className:"flex items-center justify-center py-6",children:t(F,{className:"w-4 h-4 animate-spin text-muted-foreground"})}):s.length===0?t("div",{className:"py-6 text-center text-xs text-muted-foreground",children:NXe()}):t("div",{className:"relative pl-5 space-y-3 before:absolute before:left-[4px] before:top-2 before:bottom-2 before:w-[2px] before:bg-border/60",children:s.map((l)=>o("div",{className:"relative flex items-start gap-2 text-xs",children:[t("div",{className:"absolute -left-5 top-[3px] w-2.5 h-2.5 rounded-full bg-background border-2 border-primary shrink-0"}),o("div",{className:"flex-1 min-w-0",children:[o("div",{className:"flex items-center justify-between gap-1",children:[t("span",{className:"font-medium text-foreground truncate",children:l.actor?.name||"System"}),t("span",{className:"text-[10px] text-muted-foreground font-mono shrink-0",children:hr(new Date(l.createdAt),"MM/dd HH:mm")})]}),t("p",{className:"text-[11px] text-muted-foreground leading-snug mt-0.5",children:OLt(l)})]})]},l.id))})})})})}function R8e({teamId:e,task:r}){let[a,i]=u("comments");return t("div",{className:"flex flex-col h-full bg-sidebar/30 border-l border-border/60 overflow-hidden",children:o(xo,{value:a,onValueChange:(f)=>i(f),className:"flex flex-col h-full",children:[t("div",{className:"px-3 pt-2.5 pb-1 border-b border-border/60 bg-card/50 shrink-0",children:o(So,{className:"w-full grid grid-cols-2 h-8 bg-muted/60",children:[o(Qr,{value:"comments",className:"text-xs h-7",children:[t("span",{children:ld()}),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:jTe()})})]})}),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(C8e,{teamId:e,taskId:r.id,initialComments:r.comments})}),t(kn,{value:"activity",className:"h-full m-0 data-[state=active]:block",children:t(I8e,{teamId:e,taskId:r.id,initialEvents:r.events})})]})]})})}function Qd({teamId:e,taskId:r,isOpen:a,onClose:i,canEdit:f=!0}){let{data:s,isLoading:l,error:c}=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(ie,{className:"sm:max-w-5xl w-[95vw] h-[88vh] p-0 gap-0 flex flex-col overflow-hidden bg-background",children:[t(me,{className:"px-5 py-3 border-b border-border/70 flex flex-row items-center justify-between space-y-0 shrink-0 bg-card/80",children:o("div",{className:"flex items-center gap-2 min-w-0 pr-4",children:[s?.isAgentTask&&o("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 rounded text-[11px] font-semibold bg-orange-500/15 text-orange-600 dark:text-orange-400 border border-orange-500/30 shrink-0",children:[t(St,{className:"w-3.5 h-3.5"}),t("span",{children:Fd()})]}),s?.status&&t("span",{className:C("px-2 py-0.5 rounded text-[11px] font-medium border uppercase shrink-0",j8(s.status)),children:oo(s.status)}),t(le,{className:"text-sm font-semibold truncate text-foreground",children:s?.title||j6e()})]})}),t("div",{className:"flex-1 flex flex-col md:flex-row overflow-hidden",children:l?t("div",{className:"flex-1 flex items-center justify-center p-12",children:t(F,{className:"w-8 h-8 animate-spin text-muted-foreground"})}):c||!s?t("div",{className:"flex-1 flex items-center justify-center p-12 text-xs text-muted-foreground",children:wh()}):o(L,{children:[t("div",{className:"flex-1 md:w-2/3 h-full overflow-hidden flex flex-col",children:t(nMe,{teamId:e,task:s,canEdit:f})}),t("div",{className:"md:w-1/3 h-full overflow-hidden flex flex-col",children:t(R8e,{teamId:e,task:s})})]})})]})})}var jLt=[Qe.TODO,Qe.READY,Qe.IN_PROGRESS,Qe.IN_REVIEW,Qe.DONE,Qe.BLOCKED];function Kd({teamId:e,assetId:r,assetName:a,isOpen:i,onClose:f}){let s=K(),[l,c]=u(null),[m,g]=u(!1),[M,v]=u(Qe.TODO),[y,x]=u(""),{data:_,isLoading:j}=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=D(()=>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=D(()=>{let oe=y.trim().toLowerCase();return X.filter((ae)=>{if(T.has(ae.id))return!1;if(!oe)return!0;return ae.title.toLowerCase().includes(oe)})},[X,T,y]),ee=B({mutationFn:async(oe)=>{let ae=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$post({param:{teamId:e,assetId:r},json:{taskId:oe}});if(!ae.ok)throw Error("Failed to link task");return await ae.json()},onSuccess:()=>{s.invalidateQueries({queryKey:["teams",e,"kanban","assets",r,"tasks"]}),s.invalidateQueries({queryKey:["teams",e,"kanban"]}),k.success(Yfe())}}),re=B({mutationFn:async(oe)=>{let ae=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks[":taskId"].$delete({param:{teamId:e,assetId:r,taskId:oe}});if(!ae.ok)throw Error("Failed to unlink task");return await ae.json()},onSuccess:()=>{s.invalidateQueries({queryKey:["teams",e,"kanban","assets",r,"tasks"]}),s.invalidateQueries({queryKey:["teams",e,"kanban"]}),k.success(Ufe())}});return o(L,{children:[t(ue,{open:i,onOpenChange:(oe)=>!oe&&f(),children:o(ie,{className:"sm:max-w-2xl flex flex-col h-[520px] p-0 overflow-hidden",children:[t(me,{className:"p-4 border-b flex flex-row items-center justify-between space-y-0 shrink-0",children:o("div",{className:"flex items-center gap-2 min-w-0 pr-4",children:[t(Do,{className:"w-5 h-5 text-primary shrink-0"}),o("div",{className:"min-w-0",children:[t(le,{className:"text-sm font-semibold truncate",children:qf()}),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:bQe()})]}):t("div",{className:"space-y-2",children:U.map((oe)=>o("div",{onClick:()=>c(oe.id),className:"flex items-center justify-between gap-3 p-2.5 rounded-lg border border-border/60 bg-muted/20 hover:bg-muted/50 cursor-pointer transition-all hover:border-border",children:[o("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[oe.isAgentTask&&t("span",{className:"p-1 rounded bg-orange-500/15 text-orange-600 dark:text-orange-400 shrink-0",children:t(St,{className:"w-3.5 h-3.5"})}),t("span",{className:C("text-[10px] px-1.5 py-0.5 rounded border uppercase font-medium shrink-0",j8(oe.status)),children:oo(oe.status)}),t("span",{className:C("text-[10px] px-1.5 py-0.5 rounded border uppercase font-medium shrink-0",oi(oe.priority)),children:ni(oe.priority)}),t("span",{className:"text-xs font-medium text-foreground truncate flex-1",children:oe.title})]}),o("div",{className:"flex items-center gap-2 shrink-0",children:[oe.assignee&&o("div",{className:"flex items-center gap-1 text-[11px] text-muted-foreground",title:oe.assignee.name,children:[o(Ce,{className:"w-4 h-4 text-[9px]",children:[t(Ie,{src:oe.assignee.image||void 0}),t(Te,{children:oe.assignee.name.slice(0,1).toUpperCase()})]}),t("span",{className:"hidden sm:inline text-[11px] max-w-[70px] truncate",children:oe.assignee.name})]}),t(E,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0 text-muted-foreground hover:text-destructive hover:bg-destructive/10",onClick:(ae)=>{ae.stopPropagation(),re.mutate(oe.id)},title:_mt(),children:t(Re,{className:"w-3.5 h-3.5"})})]})]},oe.id))})})}),o("div",{className:"p-3 px-4 border-t bg-muted/10 flex items-center justify-between shrink-0",children:[o(mt,{open:m,onOpenChange:g,children:[t(ht,{asChild:!0,children:o(E,{variant:"outline",size:"sm",className:"gap-1.5 text-xs h-8",children:[t(fe,{className:"w-3.5 h-3.5"}),t("span",{children:GHe()})]})}),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:lst(),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:jLt.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:Ad()})]}):J.length===0?t("div",{className:"p-6 text-center text-xs text-muted-foreground",children:Jfe()}):t("div",{className:"p-1 space-y-0.5",children:J.map((oe)=>o("button",{type:"button",onClick:()=>{ee.mutate(oe.id),g(!1)},className:"w-full text-left p-2 rounded hover:bg-muted/60 transition-colors flex items-center justify-between gap-2 text-xs group",children:[t("span",{className:"truncate flex-1 font-medium text-foreground",children:oe.title}),t("span",{className:C("text-[10px] px-1.5 py-0.5 rounded border uppercase shrink-0",j8(oe.status)),children:oo(oe.status)})]},oe.id))})})]})]}),t(E,{variant:"ghost",size:"sm",onClick:f,className:"text-xs h-8",children:Dc()})]})]})}),l&&t(Qd,{teamId:e,taskId:l,isOpen:!0,onClose:()=>c(null)})]})}function P8e({teamId:e,projectId:r,projectName:a,ancestorFolders:i,currentAsset:f,isRootFolder:s,customTerminalBreadcrumb:l,displayStyle:c,onDisplayStyleChange:m,isLeftSidebarCollapsed:g,onLeftSidebarToggle:M,isRightSidebarCollapsed:v,onRightSidebarToggle:y,isChatbotOpen:x=!1,onChatbotToggle:_,isPublic:j=!1,onFolderClick:U,onRename:T,onDelete:N,fileId:G,shareId:X,allowDownload:J=!0,downloadInfo:ee,versions:re,compareMode:oe=!1,canCompareVersions:ae=!1,onCompareVersions:ye}){let We=Me(),{canEdit:Ye}=Pt(r),{openMobileMenu:ze}=Vk(),[qe,ut]=u(!1),[$e,xt]=u(!1),[Dt,jt]=u(!1),de=G||f.id,yt=f.name==="Recently Deleted",Wt=f.name==="All Collections",De=!j&&!s&&!yt&&!Wt&&!oe&&!!de,{data:fr}=Z({queryKey:["teams",e,"kanban","assets",de,"tasks"],queryFn:async()=>{if(!e||!de)return{data:[],total:0};let cr=await A.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$get({param:{teamId:e,assetId:de}});if(!cr.ok)return{data:[],total:0};return await cr.json()},enabled:!!e&&!!de&&De}),sr=fr?.total??fr?.data?.length??0,rr=!1,Or=(cr)=>{if(!G)return;if(j&&X){We({to:"/share/$shareId/files/$fileId",params:{shareId:X,fileId:G},search:(io)=>({...io,version:cr})});return}if(!r)return;We({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:G},search:(io)=>({...io,version:cr})})},Gt=async(cr)=>{if(!G)return;try{let io=X?await A.api.shares[":shareId"].files[":fileId"]["download-url"].$post({param:{shareId:X,fileId:G},json:{key:cr}}):await A.api.files["download-url"].$post({json:{key:cr,assetId:G}});if(!io.ok)return;let{url:Yr}=await io.json(),jo=document.createElement("a");jo.href=Yr,jo.download="",document.body.appendChild(jo),jo.click(),document.body.removeChild(jo)}catch{}},Rr=f.proxyType!=="audio"&&(ee?.videoTranscodes?.length??0)>0,Lr=Boolean(l||!s&&!oe),Tr={name:a,path:j?void 0:`/projects/${r}`,id:"root"},dr=i.slice().reverse().map((cr)=>({name:cr.name||"",path:j?void 0:`/projects/${r}/folders/${cr.id}`,id:cr.id})),uo=Lr?dr:dr.slice(0,-1),lo=!Lr&&dr.length>0?dr[dr.length-1]:null,sa=()=>{if(l)return t("span",{className:"truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:l});if(!s&&!oe){if(f.type==="folder")return t("span",{className:"truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:f.name});return o(he,{modal:!1,open:Dt,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((cr)=>!cr),children:[t("span",{className:"truncate",children:f.name}),f.version!==void 0&&o(be,{variant:"outline",className:"px-1 py-0 text-xs shrink-0",children:["v",f.version]}),t(ge,{asChild:!0,onClick:(cr)=>cr.stopPropagation(),onPointerDown:(cr)=>cr.stopPropagation(),children:t("button",{type:"button","aria-label":f.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&&(Rr?o(fs,{children:[t(ps,{className:"flex items-center gap-2",children:t("span",{children:mr()})}),t(Ja,{children:o(ms,{className:"w-48",children:[t(Vr,{children:mr()}),ee?.videoTranscodes?.map((cr)=>{let io=Math.max(cr.width,cr.height),Yr=`${cr.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";return o(W,{onClick:()=>Gt(cr.key),className:"flex items-center justify-between",children:[t("span",{children:Yr}),t("span",{className:"text-xs text-muted-foreground",children:"MP4"})]},Yr)}),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:f.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:Oo()}),Ye&&N&&t(W,{onClick:N,className:"text-destructive focus:text-destructive",children:it()}),ae&&ye&&o(L,{children:[t(Vt,{}),o(W,{onClick:()=>ye(),children:[t(r8,{className:"h-4 w-4"}),t("span",{children:t5e()})]})]}),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(Ja,{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((cr)=>{let io=f.version===cr.version;return o(W,{onClick:()=>Or(cr.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",cr.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:cr.previewUrl?t("img",{src:cr.previewUrl,alt:cr.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:cr.name}),t("span",{className:"truncate text-xs text-muted-foreground flex items-center gap-1",children:cr.agent?o(L,{children:[t(St,{className:"h-3 w-3 shrink-0"}),t("span",{className:"truncate",children:Gc({user:cr.creator?.name||Tl(),agent:cr.agent.name})})]}):cr.creator?.name||Tl()})]}),io&&t(ke,{className:"h-4 w-4 text-primary ml-auto flex-shrink-0"})]},cr.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:$f()})})]})})]})]})]})]})}return null};return o("div",{className:"flex h-14 flex-nowrap items-center justify-between gap-2 border-b border-border bg-card px-4 py-2 overflow-hidden",children:[o("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-hidden",children:[!j&&t(E,{variant:"ghost",size:"icon",onClick:()=>ze(),className:"md:hidden h-8 w-8 text-foreground hover:bg-accent shrink-0 -ml-2 mr-1","aria-label":"Open navigation menu",children:t(KZ,{className:"h-5 w-5"})}),!j&&o("div",{className:"hidden md:flex items-center gap-1 shrink-0",children:[t(Un,{to:`/teams/${e}`,className:"truncate rounded px-2 py-1 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground text-muted-foreground",children:nEe()}),t("span",{className:"text-muted-foreground",children:"/"})]}),Lr||i.length>0?Tr.path?t(Un,{to:Tr.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:Tr.name}):t("button",{onClick:()=>Tr.id&&U?.(Tr.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:Tr.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:Tr.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((cr,io)=>t(W,{asChild:!0,children:cr.path?t(Un,{to:cr.path,className:"cursor-pointer",children:cr.name}):t("button",{onClick:()=>cr.id&&U?.(cr.id),className:"cursor-pointer w-full text-left",children:cr.name})},io))})]}),t("span",{className:"text-muted-foreground shrink-0",children:"/"})]}),i.slice().reverse().map((cr)=>{let io=j?void 0:`/projects/${r}/folders/${cr.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:cr.name}):t("button",{onClick:()=>cr.id&&U?.(cr.id),className:"truncate rounded px-2 py-1 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground text-foreground",children:cr.name})]},cr.id)}),(Lr||!Lr&&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:"/"}),Lr?sa():lo&&t("span",{className:"min-w-0 truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:lo.name})]}),De&&o(E,{variant:"ghost",size:"sm",className:"h-7 px-2 text-xs gap-1.5 text-muted-foreground hover:text-foreground hover:bg-muted ml-1 cursor-pointer shrink-0",onClick:()=>xt(!0),title:qf(),children:[t(Do,{className:"w-4 h-4"}),sr>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:sr})]})]}),De&&$e&&de&&t(Kd,{teamId:e,assetId:de,assetName:f.name,isOpen:$e,onClose:()=>xt(!1)}),G&&re&&re.length>0&&t(qd,{open:qe,onOpenChange:ut,stackId:G,canEdit:Ye,onStackDissolved:(cr)=>{ut(!1),We({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:cr}})},onVersionRemoved:(cr,io)=>{if((f.version?re.find((jo)=>jo.version===f.version)?.id:void 0)===cr){let jo=io[0];if(jo)We({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:G},search:(an)=>({...an,version:jo.id})})}}}),o("div",{className:"hidden md:flex items-center gap-2",children:[o("div",{className:"flex flex-shrink-0 items-center gap-1 rounded-md border border-border bg-background p-1",children:[!G&&!j&&M&&t("button",{onClick:M,className:"rounded p-1.5 text-muted-foreground transition-colors hover:bg-accent/50 hover:text-foreground",title:g?"Show Left Sidebar":"Hide Left Sidebar",children:g?t(Bhe,{className:"h-4 w-4"}):t(Uhe,{className:"h-4 w-4 fill-primary stroke-0"})}),!G&&!j&&c&&m&&o(L,{children:[t("button",{onClick:()=>m("card"),className:`rounded p-1.5 transition-colors ${c==="card"?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:"Card View",children:t(to,{className:"h-4 w-4"})}),t("button",{onClick:()=>m("list"),className:`rounded p-1.5 transition-colors ${c==="list"?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:"List View",children:t(Po,{className:"h-4 w-4"})})]}),t("button",{onClick:y,className:`rounded p-1.5 transition-colors ${!v&&!x?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:v?"Show Right Sidebar":"Hide Right Sidebar",children:!v&&!x?t(qhe,{className:"h-4 w-4 fill-primary stroke-0"}):t(Yhe,{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(Hhe,{className:"h-6 w-6 text-primary transition-colors"}):t(St,{className:"h-6 w-6 text-muted-foreground transition-colors"})})})}),t(hn,{children:t("p",{children:x?j9e():Mct()})})]})})]})]})}var $t=Mr()(Hk((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 QW="shumai_selected_agent_id",T8e=()=>{if(typeof window<"u"&&window.localStorage)return localStorage.getItem(QW);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((s)=>s.id)),f=r.filter((s)=>!i.has(s.id));return{chatAssets:[...a.chatAssets,...f]}}),removeAsset:(r)=>e((a)=>({chatAssets:a.chatAssets.filter((i)=>i.id!==r)})),clearAssets:()=>e({chatAssets:[]}),messages:[],setMessages:(r)=>e({messages:r}),historySessions:[],setHistorySessions:(r)=>e({historySessions:r}),isStreaming:!1,setIsStreaming:(r)=>e({isStreaming:r}),selectedAgentId:T8e(),setSelectedAgentId:(r)=>{if(typeof window<"u"&&window.localStorage)if(r)localStorage.setItem(QW,r);else localStorage.removeItem(QW);e({selectedAgentId:r})},inputText:"",setInputText:(r)=>e({inputText:r}),scrollTop:0,isAtBottom:!0,setScrollState:(r,a)=>e({scrollTop:r,isAtBottom:a}),fetchHistorySessions:async(r)=>{try{let a=await A.api.teams[":teamId"].chat.sessions.$get({param:{teamId:r},query:{first:"50"}});if(a.ok){let i=await a.json();e({historySessions:i.data||[]})}}catch(a){console.error("Failed to fetch history sessions:",a)}},loadSession:async(r,a)=>{try{let i=await A.api.teams[":teamId"].chat.sessions[":sessionId"].messages.$get({param:{teamId:r,sessionId:a}});if(i.ok){let f=await i.json(),l=lr.getState().historySessions.find((c)=>c.id===a)?.agentId||null;e({currentSessionId:a,messages:f,isHistoryMode:!1,scrollTop:0,isAtBottom:!0,...l?{selectedAgentId:l}:{}})}else throw Error("Failed to load session messages")}catch(i){let f=i instanceof Error?i.message:"Failed to load session";k.error(f)}},deleteSession:async(r,a)=>{try{if((await A.api.teams[":teamId"].chat.sessions[":sessionId"].$delete({param:{teamId:r,sessionId:a}})).ok)k.success("Session deleted successfully"),e((f)=>({historySessions:f.historySessions.filter((s)=>s.id!==a),currentSessionId:f.currentSessionId===a?null:f.currentSessionId,messages:f.currentSessionId===a?[]:f.messages}));else throw Error("Failed to delete session")}catch(i){let f=i instanceof Error?i.message:"Failed to delete session";k.error(f)}},startNewSession:()=>{let r=T8e();e({currentSessionId:null,messages:[],chatAssets:[],inputText:"",scrollTop:0,isAtBottom:!0,...r?{selectedAgentId:r}:{}})},sendMessage:async(r,a,i,f,s,l,c,m,g)=>{let M=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:f?{id:f,name:"",type:"file"}:void 0,position:m!==void 0&&m!==null?{type:"time",seconds:m}:void 0,annotation:!!(c&&c.length>0),annotations:c||void 0,attachedFiles:g||void 0,referencedAssets:M.chatAssets.length>0?M.chatAssets.map((U)=>({id:U.id,name:U.name,type:U.type})):void 0},timestamp:Date.now()},x=[...M.messages,y];e({messages:x,isStreaming:!0,chatAssets:[],isAtBottom:!0});let _=M.chatAssets.map((U)=>U.id),j=M.selectedAgentId;if(!j){k.error("No agent selected");return}try{let U=await A.api.teams[":teamId"].chat.$post({param:{teamId:r},json:{agentId:j,textPrompt:a||void 0,attachedFiles:l&&l.length>0?l:void 0,assetIds:_&&_.length>0?_:void 0,sessionId:M.currentSessionId||void 0,contextAssetId:f,projectId:i,second:m??void 0,annotations:c&&c.length>0?c:void 0}});if(!U.ok)throw Error("Failed to start chat");let T=U.headers.get("x-session-id");if(T&&!M.currentSessionId)e({currentSessionId:T});let N=U.body?.getReader();if(!N)throw Error("No stream body");let G=new TextDecoder,X="";while(!0){let{done:ee,value:re}=await N.read();if(ee)break;X+=G.decode(re,{stream:!0});let oe=X.split(`
|
|
211
|
-
`);X=oe.pop()||"";for(let ae of oe){let ye=ae.trim();if(!ye)continue;if(ye.startsWith("data: ")){let We=ye.slice(6);try{let Ye=JSON.parse(We);if(Ye.type==="session"){if(!lr.getState().currentSessionId)e({currentSessionId:Ye.sessionId})}else if(Ye.type==="entry"){let ze=Ye.entry,qe=ze;if(qe.role==="toolResult"&&typeof qe.toolName==="string"&&["create_file","create_folder","create_version","rename_asset","move_assets","delete_asset"].includes(qe.toolName)&&!qe.isError)s?.();e((ut)=>{let $e=ut.messages.some((de)=>de.id===ze.id),xt=(ze.role==="user"||ze.role==="custom"&&ze.customType==="shumai_message")&&!$e,Dt=ut.messages.filter((de)=>{if(xt)return!de.id.startsWith("temp-");if(ze.role==="custom"&&ze.customType==="context_display_info"&&!$e)return!de.id.startsWith("temp-context-");return!0}),jt=Dt.findIndex((de)=>de.id===ze.id);if(jt!==-1){let de=[...Dt];return de[jt]=ze,{messages:de}}else return{messages:[...Dt,ze]}})}else if(Ye.type==="done"){if(Ye.status==="failed")k.error(Ye.error||"Workflow failed")}}catch(Ye){console.error("Error parsing SSE line:",Ye)}}}}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(f){let s=f instanceof Error?f.message:"Failed to abort execution";k.error(s)}}}));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 s=(await i.json()).reduce((l,c)=>(l[c.key]=c.value,l),{});e({metadata:s,isLoading:!1})}catch(i){e({error:i instanceof Error?i.message:String(i),isLoading:!1})}},setMetadata:async(a,i,f)=>{let s=r().metadata;e((l)=>({metadata:{...l.metadata,[i]:f}}));try{if(!(await A.api.teams[":teamId"]["user-metadata"][":key"].$put({param:{teamId:a,key:i},json:{value:f}})).ok)throw Error("failed to update user metadata")}catch(l){e({metadata:s}),console.error(l)}},getMetadata:(a,i)=>{let f=r().metadata[a];return f!==void 0?f:i}}));S();var JW=768;function Lo(){let[e,r]=u(void 0);return h(()=>{let a=window.matchMedia(`(max-width: ${JW-1}px)`),i=()=>{r(window.innerWidth<JW)};return a.addEventListener("change",i),r(window.innerWidth<JW),()=>a.removeEventListener("change",i)},[]),!!e}function Wd(){let{projectState:e}=on(),r=$t(),{isChatbotOpen:a,setIsChatbotOpen:i}=lr(),f=gr((jt)=>Boolean(jt.metadata["appearance.hideAgent"]));if(Lo()&&e?.fileId)return null;if(!e)return t(NLt,{});let{teamId:l,projectId:c,projectName:m,ancestorFolders:g,currentAsset:M,isRootFolder:v,customTerminalBreadcrumb:y,fileId:x,downloadInfo:_,versions:j,isPublic:U,shareId:T,allowDownload:N,onFolderClick:G,onRename:X,onDelete:J,compareMode:ee,canCompareVersions:re,onCompareVersions:oe}=e,ae=!!x,ye=!!y,We=!!T&&!ae,Ye=ae?r.fileViewLeftSidebarCollapsed:We?r.shareConfigLeftSidebarCollapsed:r.fileListLeftSidebarCollapsed,ze=U?void 0:()=>ae?r.setFileViewLeftSidebarCollapsed(!r.fileViewLeftSidebarCollapsed):We?r.setShareConfigLeftSidebarCollapsed(!r.shareConfigLeftSidebarCollapsed):r.setFileListLeftSidebarCollapsed(!r.fileListLeftSidebarCollapsed),qe=U&&e.isRightSidebarCollapsed!==void 0?e.isRightSidebarCollapsed:ae?r.fileViewRightSidebarCollapsed:We?r.shareConfigRightSidebarCollapsed:r.fileListRightSidebarCollapsed,ut=U&&e.onRightSidebarToggle?e.onRightSidebarToggle:()=>{if(!U&&a&&!f)if(i(!1),ae)r.setFileViewRightSidebarCollapsed(!1);else if(We)r.setShareConfigRightSidebarCollapsed(!1);else r.setFileListRightSidebarCollapsed(!1);else if(ae)r.setFileViewRightSidebarCollapsed(!r.fileViewRightSidebarCollapsed);else if(We)r.setShareConfigRightSidebarCollapsed(!r.shareConfigRightSidebarCollapsed);else r.setFileListRightSidebarCollapsed(!r.fileListRightSidebarCollapsed)},$e=U||f?void 0:()=>{i(!a)},xt=c?r.viewModes[c]??"card":"card";return t(P8e,{teamId:l,projectId:c,projectName:m,ancestorFolders:g,currentAsset:M,isRootFolder:v,customTerminalBreadcrumb:y,displayStyle:ae||We||ye?void 0:xt,onDisplayStyleChange:ae||We||ye?void 0:U?void 0:(jt)=>{if(c)r.setViewMode(c,jt)},isLeftSidebarCollapsed:Ye,onLeftSidebarToggle:ze,isRightSidebarCollapsed:qe,onRightSidebarToggle:ut,isChatbotOpen:!U&&!f&&a,onChatbotToggle:f?void 0:$e,isPublic:U,shareId:T,allowDownload:N,fileId:x,downloadInfo:_,versions:j,onFolderClick:G,onRename:X,onDelete:J,compareMode:ee,canCompareVersions:re,onCompareVersions:oe})}function NLt(){let{toggleMobileMenu:e}=Vk();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 FLt=(e,r,a,i,f,s,l,c)=>{let m=document.documentElement,g=["light","dark"];function M(x){(Array.isArray(e)?e:[e]).forEach((_)=>{let j=_==="class",U=j&&s?f.map((T)=>s[T]||T):f;j?(m.classList.remove(...U),m.classList.add(s&&s[x]?s[x]:x)):m.setAttribute(_,x)}),v(x)}function v(x){c&&g.includes(x)&&(m.style.colorScheme=x)}function y(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(i)M(i);else try{let x=localStorage.getItem(r)||a,_=l&&x==="system"?y():x;M(_)}catch(x){}};var BLt=at(void 0),YLt={setTheme:(e)=>{},themes:[]},A8e=()=>{var e;return(e=dt(BLt))!=null?e:YLt};var N5n=Bn(({forcedTheme:e,storageKey:r,attribute:a,enableSystem:i,enableColorScheme:f,defaultTheme:s,value:l,themes:c,nonce:m,scriptProps:g})=>{let M=JSON.stringify([a,r,s,e,c,l,i,f]).slice(1,-1);return q("script",{...g,suppressHydrationWarning:!0,nonce:typeof window>"u"?m:"",dangerouslySetInnerHTML:{__html:`(${FLt.toString()})(${M})`}})});var D8e=({...e})=>{let{theme:r="system"}=A8e();return t($ce,{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((f)=>{let s={},l=0;i.forEach((g)=>{s[g.fileId]={fileId:g.fileId,name:g.name,loaded:0,total:g.size,status:"uploading"},l+=g.size});let c={...f.tasks,[r]:{taskId:r,name:a,loaded:0,total:l,files:s}},m={...f.fileProgress};return i.forEach((g)=>{m[g.fileId]=s[g.fileId]}),{tasks:c,fileProgress:m}}),updateFileProgress:(r,a,i)=>e((f)=>{let s=f.tasks[r];if(!s)return{};let l=s.files[a];if(!l)return{};let c={...l,loaded:i},m={...s.files,[a]:c},g=Object.values(m).reduce((M,v)=>M+v.loaded,0);return{tasks:{...f.tasks,[r]:{...s,loaded:g,files:m}},fileProgress:{...f.fileProgress,[a]:c}}}),completeFile:(r,a)=>e((i)=>{let f=i.tasks[r];if(!f)return{};let s=f.files[a];if(!s)return{};let l={...s,status:"completed",loaded:s.total},c={...f.files,[a]:l},m=Object.values(c).reduce((g,M)=>g+M.loaded,0);return{tasks:{...i.tasks,[r]:{...f,loaded:m,files:c}},fileProgress:{...i.fileProgress,[a]:l}}}),failFile:(r,a)=>e((i)=>{let f=i.tasks[r];if(!f)return{};let s=f.files[a];if(!s)return{};let l={...s,status:"failed"},c={...f.files,[a]:l},m=Object.values(c).reduce((g,M)=>g+M.loaded,0);return{tasks:{...i.tasks,[r]:{...f,loaded:m,files:c}},fileProgress:{...i.fileProgress,[a]:l}}})}));S();function Yd({className:e,value:r,...a}){return t($Ce,{"data-slot":"progress",className:C("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",e),...a,children:t(eIe,{"data-slot":"progress-indicator",className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(r||0)}%)`}})})}function ULt(e){let r=fM(e);if(isNaN(r.getTime()))return imt();if(D2(r))return tse();if(E2(r))return rse();return hr(r,sFe())}function E8e(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 qLt({task:e}){let r=_n((s)=>s.tasks[e.id]),a=r?r.loaded===r.total&&e.uploaded===e.total:e.uploaded===e.total,i=r?r.total>0?r.loaded/r.total*100:0:e.total>0?e.uploaded/e.total*100:0,f;try{f=Mn(e.createdAt)}catch{f=gn()}return o("div",{className:"group relative flex flex-col p-4 rounded-xl border border-sidebar-border bg-sidebar-accent/30 text-sidebar-foreground shadow-xs transition-all duration-200 hover:shadow-md hover:border-sidebar-foreground/20 hover:bg-sidebar-accent/50",children:[o("div",{className:"flex items-start justify-between gap-2 mb-2",children:[t("div",{className:"min-w-0 flex-1",children:t("span",{className:"text-sm font-semibold tracking-tight text-sidebar-foreground truncate block",title:e.name,children:e.name||Tmt()})}),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"}),u6e()]}):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"}),aht()]})})]}),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:f})]}),o("div",{className:"space-y-1.5 mt-auto",children:[o("div",{className:"flex items-center justify-between text-xs font-semibold",children:[t("span",{className:"text-muted-foreground/80",children:r?`${E8e(r.loaded)} / ${E8e(r.total)} (${Vfe({uploaded:e.uploaded,total:e.total})})`:Vfe({uploaded:e.uploaded,total:e.total})}),!a&&o("span",{className:"text-sidebar-primary font-mono font-bold",children:[Math.round(i),"%"]})]}),t(Yd,{value:i,className:"h-1.5 w-full bg-muted"})]})]})}function O8e(){let e=hs(),r=_n((x)=>x.uploading),a=_n((x)=>x.tasks),{data:i,fetchNextPage:f,hasNextPage:s,isFetchingNextPage:l,isLoading:c}=ft({queryKey:["teams",e,"upload","tasks"],queryFn:async({pageParam:x})=>{let _=await A.api.teams[":teamId"].upload.tasks.$get({param:{teamId:e},query:{after:x}});if(!_.ok)throw Error("Failed to fetch upload tasks");return await _.json()},initialPageParam:"",getNextPageParam:(x)=>x.pageInfo?.cursor||void 0,enabled:!!e,refetchInterval:r>0?2000:!1}),{ref:m,inView:g}=Nt();h(()=>{if(g&&s&&!l)f()},[g,s,l,f]);let M=i?.pages.flatMap((x)=>x.data??[])??[],v=D(()=>{let x=new Set(M.map((j)=>j.id));return[...Object.values(a).filter((j)=>!x.has(j.taskId)).map((j)=>{let U=Object.values(j.files).filter((T)=>T.status==="completed"||T.status==="failed").length;return{id:j.taskId,name:j.name,total:Object.keys(j.files).length,uploaded:U,createdAt:new Date().toISOString()}}),...M].sort((j,U)=>U.id.localeCompare(j.id))},[M,a]);if(c)return t("div",{className:"flex items-center justify-center p-8",children:t(F,{className:"h-6 w-6 animate-spin text-muted-foreground"})});if(v.length===0)return o("div",{className:"flex flex-col items-center justify-center p-8 text-center border border-dashed border-border rounded-xl bg-muted/10 my-4",children:[t(zn,{className:"h-8 w-8 text-muted-foreground/50 mb-3"}),t("p",{className:"text-sm font-semibold text-muted-foreground",children:wJe()}),t("p",{className:"text-xs text-muted-foreground/60 mt-1 max-w-[180px]",children:yJe()})]});let y=[];return v.forEach((x)=>{let _=ULt(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?KKe({count:x.tasks.length}):VKe({count:x.tasks.length})})]}),t("div",{className:"mt-3 space-y-3",children:x.tasks.map((_)=>t(qLt,{task:_},_.id))})]},x.day)),s&&t("div",{ref:m,className:"flex items-center justify-center p-4",children:l&&t(F,{className:"h-5 w-5 animate-spin text-muted-foreground"})})]})}S();async function j8e(e){let r=e.match(/^\/teams\/([^/]+)/),a=r?r[1]:null;if(a)return a;let i=e.match(/^\/projects\/([^/]+)/),f=i?i[1]:null;if(f){let{ensureTeamIdForProject:s}=lt.getState();return await s(f)}return null}function HLt(){let e=cf((_)=>_.user),{uploading:r}=_n(),a=tz({select:(_)=>_.location.pathname}),i=Me(),{teamId:f,setTeamId:s}=lt(),{projectState:l}=on(),c=e&&(a.startsWith("/teams/")||a.startsWith("/projects/"));h(()=>{j8e(a).then((_)=>{if(_&&_!==f)s(_)})},[a,f,s]);let{data:m}=Z({queryKey:["teams",f,"me"],queryFn:async()=>{if(!f)return null;let _=await A.api.teams[":teamId"].me.$get({param:{teamId:f}});if(!_.ok)throw Error("Failed to fetch me");return await _.json()},enabled:!!f});if(!c)return t(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(D8e,{}),o(ase,{hideMobileButton:!0,defaultMobileContent:l?.projectId?{label:Wfe(),children:t(yr,{teamId:l.teamId,projectId:l.projectId,projectName:l.projectName,rootFolderId:l.rootFolderId||"",ancestorFolders:l.ancestorFolders})}:void 0,children:[t(Kz,{icon:t(Whe,{}),label:U9e(),onItemClick:()=>{if(f)i({to:"/teams/$teamId",params:{teamId:f}})}}),t(Kz,{icon:t(Vhe,{}),label:rg(),badge:v,children:t(Fhe,{})}),t(Kz,{icon:t(Ghe,{uploading:r>0,className:r>0?"text-blue-500":""}),label:fht(),children:t(O8e,{})}),t(Kz,{icon:t(Khe,{}),label:kHe(),active:y,onItemClick:()=>{if(f)i({to:"/teams/$teamId/kanban",params:{teamId:f}})}}),m?.role?.toLowerCase()==="owner"&&t(Kz,{icon:t(Xhe,{}),label:oh(),active:x,onItemClick:()=>{if(f)i({to:"/teams/$teamId/dashboard",params:{teamId:f}})}})]}),o("div",{className:"flex flex-col flex-1 md:pl-16 overflow-hidden relative",children:[t(Wd,{}),t("main",{className:"flex-1 overflow-hidden relative flex flex-col",children:t(IM,{})})]})]})}var Rn=H3()({beforeLoad:async({location:e})=>{if(typeof window<"u"){let r=e.pathname,a=await j8e(r);if(a){let{fetchMetadata:i,getMetadata:f}=gr.getState();try{await i(a);let s=f("locale");if((s==="en"||s==="zh")&&s!==n())Mi(s,{reload:!1})}catch(s){console.error("Failed to load user locale metadata:",s)}}document.documentElement.setAttribute("lang",n())}},component:HLt});function Rl({children:e}){return o("div",{className:"min-h-screen w-full flex items-center justify-center p-4 md:p-8 bg-zinc-100/80 dark:bg-black font-sans overflow-hidden relative",children:[t("div",{className:"bg-rose-500/10 dark:bg-rose-600/5 w-[600px] h-[600px] rounded-full blur-[140px] absolute top-[-10%] left-[-10%] animate-drift-slow"}),t("div",{className:"bg-orange-500/10 dark:bg-orange-600/5 w-[600px] h-[600px] rounded-full blur-[140px] absolute bottom-[-10%] right-[-10%] animate-drift-medium"}),o("div",{className:"relative max-w-4xl w-full flex flex-col md:flex-row rounded-3xl border border-zinc-200 dark:border-zinc-800 shadow-2xl bg-white dark:bg-zinc-900 overflow-hidden min-h-[580px] z-10 transition-all duration-300 hover:shadow-rose-500/5",children:[o("div",{className:"hidden md:flex flex-col w-full md:w-1/2 bg-gradient-to-br from-rose-500/15 via-orange-500/10 to-amber-500/5 dark:from-rose-950/30 dark:via-orange-950/15 dark:to-zinc-900/40 p-8 md:p-12 justify-between border-r border-zinc-200 dark:border-zinc-800 relative overflow-hidden",children:[t("div",{className:"absolute inset-0 bg-[linear-gradient(to_right,#8080800a_1px,transparent_1px),linear-gradient(to_bottom,#8080800a_1px,transparent_1px)] bg-[size:14px_24px] [mask-image:radial-gradient(ellipse_60%_50%_at_50%_0%,#000_70%,transparent_100%)] pointer-events-none"}),o("div",{className:"relative flex items-center gap-3",children:[t(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:XOe()}),t("p",{className:"text-zinc-600 dark:text-zinc-400 text-sm leading-relaxed max-w-sm",children:jOe()}),t("ul",{className:"space-y-3.5 pt-4",children:[WOe(),BOe(),qOe()].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:DOe()})})]}),t("div",{className:"w-full md:w-1/2 p-8 md:p-12 flex flex-col justify-center",children:e})]})]})}function Et({className:e,...r}){return t("div",{"data-slot":"card",className:C("flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm",e),...r})}function kt({className:e,...r}){return t("div",{"data-slot":"card-header",className:C("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...r})}function Rt({className:e,...r}){return t("div",{"data-slot":"card-title",className:C("leading-none font-semibold",e),...r})}function Ut({className:e,...r}){return t("div",{"data-slot":"card-description",className:C("text-sm text-muted-foreground",e),...r})}function Mt({className:e,...r}){return t("div",{"data-slot":"card-content",className:C("px-6",e),...r})}function N8e({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 ED=(e)=>e.type==="checkbox",FF=(e)=>e.type==="file",G8=(e)=>e instanceof Date,qi=(e)=>e==null,nG=(e)=>typeof e==="object",Pn=(e)=>!qi(e)&&!Array.isArray(e)&&nG(e)&&!G8(e),VLt=(e)=>Pn(e)&&e.target?ED(e.target)?e.target.checked:FF(e.target)?e.target.files:e.target.value:e,WLt=(e,r)=>r.split(".").some((a,i,f)=>!isNaN(Number(a))&&e.has(f.slice(0,i).join("."))),BF=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(BF&&(e instanceof Blob||r))return e;let a=Array.isArray(e);if(!a&&e.constructor!==Object)return e;let i=a?[]:Object.create(Object.getPrototypeOf(e));for(let f in e)if(Object.prototype.hasOwnProperty.call(e,f))i[f]=Zn(e[f]);return i}var UR={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},Tu={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Ru={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},$8e="root",iG=["__proto__","constructor","prototype"],GLt=/^\w*$/,EL=(e)=>GLt.test(e),na=(e)=>e===void 0,KLt=/[.[\]'"]/,HR=(e)=>e.split(KLt).filter(Boolean),Zr=(e,r,a)=>{if(!r||!Pn(e))return a;let i=EL(r)?[r]:HR(r);if(i.some((s)=>iG.includes(s)))return a;let f=i.reduce((s,l)=>qi(s)?void 0:s[l],e);return na(f)||f===e?na(e[r])?a:e[r]:f},SZ=(e)=>typeof e==="boolean",eu=(e)=>typeof e==="function",aa=(e,r,a)=>{let i=-1,f=EL(r)?[r]:HR(r),s=f.length,l=s-1;while(++i<s){let c=f[i],m=a;if(i!==l){let g=e[c];m=Pn(g)||Array.isArray(g)?g:!isNaN(+f[i+1])?[]:{}}if(iG.includes(c))return;e[c]=m,e=e[c]}},XLt=at(null);XLt.displayName="HookFormControlContext";var QLt=(e,r,a,i=!0)=>{let f={};for(let s in e)Object.defineProperty(f,s,{get:()=>{let l=s;if(r._proxyFormState[l]!==Tu.all)r._proxyFormState[l]=!i||Tu.all;return a&&(a[l]=!0),e[l]}});return f},JLt=BF?He:h,$Lt=(e)=>{let r=e.constructor&&e.constructor.prototype;return Pn(r)&&r.hasOwnProperty("isPrototypeOf")},rG=(e)=>qi(e)||!nG(e),F8e=(e,r)=>r.length===0&&!Array.isArray(e)&&!$Lt(e);function Pu(e,r,a=new WeakMap){if(e===r)return!0;if(rG(e)||rG(r))return Object.is(e,r);if(G8(e)&&G8(r))return Object.is(e.getTime(),r.getTime());let i=Object.keys(e),f=Object.keys(r);if(i.length!==f.length)return!1;if(F8e(e,i)||F8e(r,f))return Object.is(e,r);if(!i.length&&Array.isArray(e)!==Array.isArray(r))return!1;let s=a.get(e);if(s&&s.has(r))return!0;if(s)s.add(r);else{let l=new WeakSet;l.add(r),a.set(e,l)}for(let l of i){let c=e[l];if(!(l in r))return!1;if(l!=="ref"){let m=r[l];if(G8(c)&&G8(m)||(Pn(c)||Array.isArray(c))&&(Pn(m)||Array.isArray(m))?!Pu(c,m,a):!Object.is(c,m))return!1}}return!0}function ekt(){let e=b(!1),r=b(void 0),a=P((f,s,l)=>{if(f&&e.current){let c=s();if(!Pu(r.current,c))l(c)}e.current=!0},[]),i=P((f,s)=>{if(f)r.current=Zn(s())},[]);return{resyncIfNeeded:a,snapshot:i}}var Hi=(e)=>typeof e==="string",tkt=(e,r,a,i,f)=>{if(Hi(e))return i&&r.watch.add(e),Zr(a,e,f);if(Array.isArray(e))return e.map((s)=>(i&&r.watch.add(s),Zr(a,s)));return i&&(r.watchAll=!0),a};var EF=(e)=>({isOnSubmit:!e||e===Tu.onSubmit,isOnBlur:e===Tu.onBlur,isOnChange:e===Tu.onChange,isOnAll:e===Tu.all,isOnTouch:e===Tu.onTouched}),$W=(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},DD=(e,r,a,i)=>{for(let f of a||Object.keys(e)){if(f==="_f")continue;let s=a?Zr(e,f):e[f];if(s){let{_f:l}=s;if(l){if(l.refs&&l.refs[0]&&r(l.refs[0],f)&&!i)return!0;else if(l.ref&&r(l.ref,l.name)&&!i)return!0;else if(DD(s,r))break}else if(Pn(s)||Array.isArray(s)){if(DD(s,r))break}}}return},B8e=(e,r,a)=>{let i=Zr(e,a),f=Array.isArray(i)?i:[];return aa(f,$8e,r[a]),aa(e,a,f),e},nf=(e)=>Pn(e)&&!Object.keys(e).length,jF=(e)=>{if(!BF)return!1;let r=e?e.ownerDocument:0;return e instanceof(r&&r.defaultView?r.defaultView.HTMLElement:HTMLElement)},fG=(e)=>e.type==="radio",NF=(e)=>e instanceof RegExp,YF=(e,r,a,i,f)=>r?{...a[e],types:{...a[e]&&a[e].types?a[e].types:{},[i]:f||!0}}:{},Y8e={value:!1,isValid:!1},U8e={value:!0,isValid:!0},exe=(e)=>{if(!Array.isArray(e))return Y8e;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 Y8e;if(!r.attributes||!("value"in r.attributes))return U8e;return na(r.value)||r.value===""?U8e:{value:r.value,isValid:!0}},q8e={isValid:!1,value:null},txe=(e)=>Array.isArray(e)?e.reduce((r,a)=>a&&a.checked&&!a.disabled?{isValid:!0,value:a.value}:r,q8e):q8e;function H8e(e,r,a="validate"){if(Hi(e)||Array.isArray(e)&&e.every(Hi)||SZ(e)&&!e)return{type:a,message:Hi(e)?e:"",ref:r}}var qR=(e)=>Pn(e)&&!NF(e)?e:{value:e,message:""},V8e=async(e,r,a,i,f,s)=>{let{ref:l,refs:c,required:m,maxLength:g,minLength:M,min:v,max:y,pattern:x,validate:_,name:j,valueAsNumber:U,mount:T}=e._f,N=Zr(a,j);if(!T||r.has(j))return{};let G=c?c[0]:l,X=(ze)=>{if(f&&G.reportValidity){let qe=SZ(ze)?"":ze||"";if(c)c.forEach((ut)=>ut.setCustomValidity(qe));else G.setCustomValidity(qe);G.reportValidity()}},J={},ee=fG(l),re=ED(l),oe=ee||re,ae=(U||FF(l))&&na(l.value)&&na(N)||jF(l)&&l.value===""||N===""||Array.isArray(N)&&!N.length,ye=YF.bind(null,j,i,J),We=(ze,qe,ut,$e=Ru.maxLength,xt=Ru.minLength)=>{let Dt=ze?qe:ut;J[j]={type:ze?$e:xt,message:Dt,ref:l,...ye(ze?$e:xt,Dt)}};if(s?!Array.isArray(N)||!N.length:m&&(!oe&&(ae||qi(N))||SZ(N)&&!N||re&&!exe(c).isValid||ee&&!txe(c).isValid)){let{value:ze,message:qe}=Hi(m)?{value:!!m,message:m}:qR(m);if(ze){if(J[j]={type:Ru.required,message:qe,ref:G,...ye(Ru.required,qe)},!i)return X(qe),J}}if(!ae&&(!qi(v)||!qi(y))){let ze,qe,ut=qR(y),$e=qR(v);if(!qi(N)&&!G8(N)&&!isNaN(N)){let xt=l.valueAsNumber||(N?+N:N);if(!qi(ut.value))ze=xt>ut.value;if(!qi($e.value))qe=xt<$e.value}else{let xt=l.valueAsDate||new Date(N),Dt=(yt)=>new Date(new Date().toDateString()+" "+yt),jt=l.type=="time",de=l.type=="week";if(Hi(ut.value)&&N)ze=jt?Dt(N)>Dt(ut.value):de?N>ut.value:xt>new Date(ut.value);if(Hi($e.value)&&N)qe=jt?Dt(N)<Dt($e.value):de?N<$e.value:xt<new Date($e.value)}if(ze||qe){if(We(!!ze,ut.message,$e.message,Ru.max,Ru.min),!i)return X(J[j].message),J}}if((g||M)&&!ae&&(Hi(N)||s&&Array.isArray(N))){let ze=qR(g),qe=qR(M),ut=!qi(ze.value)&&N.length>+ze.value,$e=!qi(qe.value)&&N.length<+qe.value;if(ut||$e){if(We(ut,ze.message,qe.message),!i)return X(J[j].message),J}}if(x&&!ae&&Hi(N)){let{value:ze,message:qe}=qR(x);if(NF(ze)&&!N.match(ze)){if(J[j]={type:Ru.pattern,message:qe,ref:l,...ye(Ru.pattern,qe)},!i)return X(qe),J}}if(_){if(eu(_)){let ze=await _(N,a),qe=H8e(ze,G);if(qe){if(J[j]={...qe,...ye(Ru.validate,qe.message)},!i)return X(qe.message),J}}else if(Pn(_)){let ze={};for(let qe in _){if(!nf(ze)&&!i)break;let ut=H8e(await _[qe](N,a),G,qe);if(ut){if(ze={...ut,...ye(qe,ut.message)},X(ut.message),i)J[j]=ze}}if(!nf(ze)){if(J[j]={ref:G,...ze},!i)return J}}}let Ye=J[j];return X(Ye?Ye.message:!0),J},OF=(e)=>Array.isArray(e)?e:[e];var rxe=(e)=>Array.isArray(e)?e.filter(Boolean):[];function rkt(e,r){let a=r.length-1,i=0;while(i<a){if(qi(e)){e=void 0;break}e=e[r[i]],i++}return e}function okt(e){for(let r in e)if(e.hasOwnProperty(r)&&!na(e[r]))return!1;return!0}function Kn(e,r){if(Hi(r)&&Object.prototype.hasOwnProperty.call(e,r))return delete e[r],e;let a=Array.isArray(r)?r:EL(r)?[r]:HR(r);if(a.some((l)=>iG.includes(String(l))))return e;let i=a.length===1?e:rkt(e,a),f=a.length-1,s=a[f];if(i)delete i[s];if(f!==0&&(Pn(i)&&nf(i)||Array.isArray(i)&&okt(i)))Kn(e,a.slice(0,-1));return e}var akt=at(null);akt.displayName="HookFormContext";var W8e=()=>{let e=[];return{get observers(){return e},next:(f)=>{for(let s of e)s.next&&s.next(f)},subscribe:(f)=>(e.push(f),{unsubscribe:()=>{e=e.filter((s)=>s!==f)}}),unsubscribe:()=>{e=[]}}};function oxe(e,r){let a={};for(let i in e)if(e.hasOwnProperty(i)){let f=e[i],s=r[i];if(f&&Pn(f)&&s){let l=oxe(f,s);if(Pn(l))a[i]=l}else if(e[i])a[i]=s}return a}var G8e=(e,r)=>e!==null&&nG(e)&&Object.prototype.hasOwnProperty.call(e,r),nkt=(e,r)=>{if(!r)return!1;let a=e;for(let i of EL(r)?[r]:HR(r)){if(!G8e(a,i))return G8e(e,r);a=a[i]}return!0},axe=(e)=>e.type==="select-multiple",ikt=(e)=>fG(e)||ED(e),eG=(e)=>jF(e)&&e.isConnected;function K8e(e){return Array.isArray(e)||Pn(e)}function nxe(e,r,a="",i=[]){for(let f in e){let s=a?`${a}.${f}`:f,l=e[f];if(K8e(l)&&K8e(Zr(r,s)))nxe(l,r,s,i);else i.push(s)}return i}var fkt=(e)=>{for(let r in e)if(eu(e[r]))return!0;return!1};function ixe(e){return Array.isArray(e)||Pn(e)&&!fkt(e)}function fxe(e){return!!(e&&("_f"in e))}function sxe(e){return Array.isArray(e)?!e.some((r)=>!na(r)):!Object.keys(e).length}function oG(e,r){if(Array.isArray(e))e[r]=void 0;else delete e[r]}function aG(e,r={},a){for(let i in e){let f=e[i],s=a&&a[i];if(ixe(f)&&(!Array.isArray(f)||!fxe(s))){if(r[i]=Array.isArray(f)?[]:{},aG(f,r[i],s),sxe(r[i]))oG(r,i)}else if(!na(f))r[i]=!0}return r}function DL(e,r,a,i){if(!a)a=aG(r,{},i);for(let f in e){let s=e[f],l=i&&i[f];if(ixe(s)&&(!Array.isArray(s)||!fxe(l))){if(na(r)||rG(a[f]))a[f]=aG(s,Array.isArray(s)?[]:{},l);else DL(s,qi(r)?{}:r[f],a[f],l);if(sxe(a[f]))oG(a,f)}else if(Pu(s,r[f]))oG(a,f);else a[f]=!0}return a}var skt=(e,r)=>{let a=r.split("."),i=[],f=a[0];for(let s=1;s<a.length;f+="."+a[s++])if(!isNaN(+a[s])&&e.has(f))i.push(`${f}.${a[s]}`);return i},lxe=(e,{valueAsNumber:r,valueAsDate:a,setValueAs:i})=>na(e)?e:r?e===""?NaN:e?+e:e:a&&Hi(e)?new Date(e):i?i(e):e;function X8e(e){let r=e.ref;if(FF(r))return r.files;if(fG(r))return txe(e.refs).value;if(axe(r))return[...r.selectedOptions].map(({value:a})=>a);if(ED(r))return exe(e.refs).value;return lxe(r.value,e)}var lkt=(e,r,a,i)=>{let f={};for(let s of e){let l=Zr(r,s);l&&aa(f,s,l._f)}return{criteriaMode:a,names:[...e],fields:f,shouldUseNativeValidation:i}},AD=(e)=>na(e)?e:NF(e)?e.source:Pn(e)?NF(e.value)?e.value.source:e.value:e,Q8e="AsyncFunction",ckt=(e)=>{if(!e||!e.validate)return!1;if(eu(e.validate))return e.validate.constructor.name===Q8e;if(Pn(e.validate)){for(let r in e.validate)if(e.validate[r].constructor.name===Q8e)return!0}return!1},ukt=(e)=>e.mount&&(e.required||!na(e.required)&&e.required!==!1||!na(e.min)||!na(e.max)||!na(e.maxLength)||!na(e.minLength)||e.pattern||e.validate);function J8e(e,r,a){let i=Zr(e,a);if(i||EL(a))return{error:i,name:a};let f=a.split(".");while(f.length){let s=f.join("."),l=Zr(r,s),c=Zr(e,s);if(l&&!Array.isArray(l)&&a!==s)return{name:a};if(c&&c.type)return{name:s,error:c};if(c&&c.root&&c.root.type)return{name:`${s}.root`,error:c.root};f.pop()}return{name:a}}var dkt=(e,r,a,i)=>{a(e);let f=Object.keys(e).filter((s)=>s!=="name");return!f.length||i&&f.length>=Object.keys(r).length||f.find((s)=>r[s]===(!i||Tu.all))},Zkt=(e,r,a)=>!e||!r||e===r||OF(e).some((i)=>i&&(a?i===r||i.startsWith(r+"."):i.startsWith(r)||r.startsWith(i))),pkt=(e,r,a,i,f)=>{if(f.isOnAll)return!1;else if(!a&&f.isOnTouch)return!(r||e);else if(a?i.isOnBlur:f.isOnBlur)return!e;else if(a?i.isOnChange:f.isOnChange)return e;return!0},mkt=(e,r)=>{let a=Zr(e,r);!rxe(a).length&&!(a===null||a===void 0?void 0:a.root)&&Kn(e,r)},hkt={mode:Tu.onSubmit,reValidateMode:Tu.onChange,shouldFocusError:!0},tG="form",gkt=(e,r)=>{for(let a in e)if(!(a in r))delete e[a];Object.assign(e,r)},cxe={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function Mkt(e={}){let r={...hkt,...e},a={...Zn(cxe),isLoading:eu(r.defaultValues),errors:r.errors||{},disabled:r.disabled||!1},i={},f=Pn(r.defaultValues)||Pn(r.values)?Zn(r.defaultValues||r.values)||{}:{},s=r.shouldUnregister?{}:Zn(f),l={action:!1,actionArrayLengths:new Map,mount:!1,watch:!1,keepIsValid:!1},c={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},m={},g={},M=0,v=EF(r.mode),y=EF(r.reValidateMode),x={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},_={...x},j={..._},U={array:W8e(),state:W8e()},T=0,N=r.criteriaMode===Tu.all,G=(Se,Pe)=>(Ee)=>{clearTimeout(g[Se]),g[Se]=setTimeout(Pe,Ee)},X=async(Se)=>{if(l.keepIsValid)return;if(!r.disabled&&(_.isValid||j.isValid||Se)){let Pe=++T,Ee;if(r.resolver)Ee=nf((await ut()).errors),Pe===T&&J();else Ee=await Dt({fields:i,onlyCheckValid:!0,eventType:UR.VALID});if(Pe===T&&Ee!==a.isValid)U.state.next({isValid:Ee})}},J=(Se,Pe)=>{if(!r.disabled&&(_.isValidating||_.validatingFields||j.isValidating||j.validatingFields))(Se||c.mount).forEach((Ee)=>{if(Ee)Pe?aa(a.validatingFields,Ee,Pe):Kn(a.validatingFields,Ee)}),U.state.next({validatingFields:a.validatingFields,isValidating:!nf(a.validatingFields)})},ee=()=>{a.dirtyFields=DL(f,s,void 0,i)},re=(Se,Pe=[],Ee,Zt,zt=!0,Ot=!0)=>{if(Zt&&Ee&&!r.disabled){l.action=!0;let ar=Zr(i,Se);if(!l.actionArrayLengths.has(Se))l.actionArrayLengths.set(Se,Array.isArray(ar)?ar.length:0);if(Ot&&Array.isArray(ar)){let qt=Ee(ar,Zt.argA,Zt.argB);zt&&aa(i,Se,qt)}let At=Zr(a.errors,Se);if(Ot&&Array.isArray(At)){let qt=At.root,Ar=Ee(At,Zt.argA,Zt.argB)||At;if(qt)Ar.root=qt;zt&&aa(a.errors,Se,Ar),mkt(a.errors,Se)}let _t=Zr(a.touchedFields,Se);if((_.touchedFields||j.touchedFields)&&Ot&&Array.isArray(_t)){let qt=Ee(_t,Zt.argA,Zt.argB);zt&&aa(a.touchedFields,Se,qt)}if(_.dirtyFields||j.dirtyFields)ee();U.state.next({name:Se,isDirty:de(Se,Pe),dirtyFields:a.dirtyFields,errors:a.errors,isValid:a.isValid})}else aa(s,Se,Pe)},oe=(Se,Pe)=>{aa(a.errors,Se,Pe),a.errors={...a.errors},U.state.next({errors:a.errors})},ae=(Se)=>{a.errors=Se,U.state.next({errors:a.errors,isValid:!1})},ye=(Se)=>{let Pe=EL(Se)?[Se]:HR(Se),Ee=s,Zt=f;for(let zt=0;zt<Pe.length-1;zt++){let Ot=Pe[zt];if(Ee=qi(Ee)?Ee:Ee[Ot],Zt=qi(Zt)?Zt:Zt[Ot],Ee===null&&Zt!==null)return!0}return!1},We=(Se)=>{if(!l.actionArrayLengths.size)return!1;let Pe=EL(Se)?[Se]:HR(Se),Ee=s,Zt="",zt=-1,Ot=0;for(let ar=0;ar<Pe.length;ar++){if(qi(Ee))return!1;let At=Pe[ar];if(Zt=Zt?`${Zt}.${At}`:At,Array.isArray(Ee)&&+At>=Ee.length)return zt===-1?!1:ar===zt?+At<Ot:!0;if(l.actionArrayLengths.has(Zt))zt=ar+1,Ot=l.actionArrayLengths.get(Zt);Ee=Ee[At]}return!1},Ye=(Se,Pe,Ee,Zt)=>{let zt=Zr(i,Se);if(zt){if(ye(Se)||We(Se))return;let Ot=na(Zr(s,Se)),ar=Zr(s,Se,na(Ee)?Zr(f,Se):Ee);if(na(ar)||Zt&&Zt.defaultChecked||Pe?aa(s,Se,Pe?ar:X8e(zt._f)):De(Se,ar),l.mount&&!l.action){if(X(),Ot&&a.isDirty&&(_.isDirty||j.isDirty)){if(!de())a.isDirty=!1,U.state.next({...a})}if(e.shouldUnregister&&Ot&&!na(Zr(s,Se))&&$W(Se,c))l.watch=!0}}},ze=(Se,Pe,Ee,Zt,zt)=>{let Ot=!1,ar=!1,At={name:Se};if(!r.disabled||Zt===!0){if(!Ee||Zt){let _t=Pu(Zr(f,Se),Pe);if(_.isDirty||j.isDirty)ar=a.isDirty,a.isDirty=At.isDirty=!_t||de(),Ot=ar!==At.isDirty;if(ar=!!Zr(a.dirtyFields,Se),_t!==a.isDirty)gkt(a.dirtyFields,DL(f,s,void 0,i));else _t?Kn(a.dirtyFields,Se):aa(a.dirtyFields,Se,!0);At.dirtyFields=a.dirtyFields,Ot=Ot||(_.dirtyFields||j.dirtyFields)&&ar!==!_t}if(Ee){let _t=Zr(a.touchedFields,Se);if(!_t)aa(a.touchedFields,Se,Ee),At.touchedFields=a.touchedFields,Ot=Ot||(_.touchedFields||j.touchedFields)&&_t!==Ee}Ot&&zt&&U.state.next(At)}return Ot?At:{}},qe=(Se,Pe,Ee,Zt)=>{let zt=Zr(a.errors,Se),Ot=(_.isValid||j.isValid)&&SZ(Pe)&&a.isValid!==Pe;if(r.delayError&&Ee)m[Se]=G(Se,()=>oe(Se,Ee)),m[Se](r.delayError);else clearTimeout(g[Se]),delete m[Se],Ee?aa(a.errors,Se,Ee):Kn(a.errors,Se),a.errors={...a.errors};if((Ee?!Pu(zt,Ee):zt)||!nf(Zt)||Ot){let ar={...Zt,...Ot&&SZ(Pe)?{isValid:Pe}:{},errors:a.errors,name:Se};U.state.next(ar)}},ut=async(Se)=>(J(Se,!0),await r.resolver(s,r.context,lkt(Se||c.mount,i,r.criteriaMode,r.shouldUseNativeValidation))),$e=async(Se)=>{let{errors:Pe}=await ut(Se);if(J(Se),Se){for(let Ee of Se){let Zt=Zr(Pe,Ee);Zt?c.array.has(Ee)&&Pn(Zt)&&!Object.keys(Zt).some((zt)=>!Number.isNaN(Number(zt)))?B8e(a.errors,{[Ee]:Zt},Ee):aa(a.errors,Ee,Zt):Kn(a.errors,Ee)}a.errors={...a.errors}}else a.errors=Pe;return Pe},xt=async({name:Se,eventType:Pe})=>{if(e.validate){let Ee=await e.validate({formValues:s,formState:a,name:Se,eventType:Pe});if(Pn(Ee))for(let Zt in Ee){let zt=Ee[Zt];if(zt)lo(`${tG}.${Zt}`,{message:Hi(zt.message)?zt.message:"",type:zt.type||Ru.validate})}else if(Hi(Ee)||!Ee)lo(tG,{message:Ee||"",type:Ru.validate});else uo(tG);return Ee}return!0},Dt=async({fields:Se,onlyCheckValid:Pe,name:Ee,eventType:Zt,context:zt={valid:!0,runRootValidation:!1}})=>{if(e.validate){if(zt.runRootValidation=!0,!await xt({name:Ee,eventType:Zt})){if(zt.valid=!1,Pe)return zt.valid}}for(let Ot in Se){let ar=Se[Ot];if(ar){let{_f:At,..._t}=ar;if(At){let qt=c.array.has(At.name),Ar=ar._f&&ckt(ar._f),jr=_.validatingFields||_.isValidating||j.validatingFields||j.isValidating;if(Ar&&jr)J([At.name],!0);let ea=await V8e(ar,c.disabled,s,N,r.shouldUseNativeValidation&&!Pe,qt);if(Ar&&jr)J([At.name]);if(ea[At.name]){if(zt.valid=!1,Pe)break}if(!Pe&&(Zr(ea,At.name)?qt?B8e(a.errors,ea,At.name):aa(a.errors,At.name,ea[At.name]):Kn(a.errors,At.name)),e.shouldUseNativeValidation&&ea[At.name])break}!nf(_t)&&await Dt({context:zt,onlyCheckValid:Pe,fields:_t,name:Ot,eventType:Zt})}}return zt.valid},jt=()=>{for(let Se of c.unMount){let Pe=Zr(i,Se);Pe&&(Pe._f.refs?Pe._f.refs.every((Ee)=>!eG(Ee)):!eG(Pe._f.ref))&&Yr(Se)}c.unMount=new Set},de=(Se,Pe)=>(Se&&Pe&&aa(s,Se,Pe),!Pu(l.mount?s:f,f)),yt=(Se,Pe,Ee)=>tkt(Se,c,{...l.mount?s:na(Pe)||Hi(Se)?f:Pe},Ee,Pe),Wt=(Se)=>rxe(Zr(l.mount?s:f,Se,r.shouldUnregister?Zr(f,Se,[]):[])),De=(Se,Pe,Ee={},Zt=!1,zt=!1,Ot=!1)=>{let ar=Zr(i,Se),At=Pe;if(ar){let _t=ar._f;if(_t){if(!_t.disabled&&aa(s,Se,lxe(Pe,_t)),At=jF(_t.ref)&&qi(Pe)?"":Pe,axe(_t.ref))[..._t.ref.options].forEach((qt)=>qt.selected=At.includes(qt.value));else if(_t.refs)if(ED(_t.ref))_t.refs.forEach((qt)=>{if(!qt.defaultChecked||!qt.disabled)if(Array.isArray(At))qt.checked=!!At.find((Ar)=>Ar===qt.value);else qt.checked=At===qt.value||!!At});else _t.refs.forEach((qt)=>qt.checked=qt.value===At);else if(FF(_t.ref))_t.ref.value="";else if(_t.ref.value=At,!_t.ref.type&&!zt&&!Ot)U.state.next({name:Se,values:Zt?s:Zn(s)})}}(Ee.shouldDirty||Ee.shouldTouch)&&ze(Se,At,Ee.shouldTouch,Ee.shouldDirty,!zt),Ee.shouldValidate&&Rr(Se,{delayError:Ee.delayError})},fr=(Se,Pe,Ee,Zt=!1,zt=!1,Ot=!1)=>{if(c.array.has(Se))U.array.next({name:Se,values:Zt?s:Zn(s)});for(let ar in Pe){if(!Pe.hasOwnProperty(ar))return;let At=Pe[ar],_t=Se+"."+ar,qt=Zr(i,_t);(c.array.has(Se)||Pn(At)||qt&&!qt._f)&&!G8(At)?fr(_t,At,Ee,Zt,zt,Ot):De(_t,At,Ee,Zt,zt,Ot)}},sr=(Se,Pe,Ee,Zt,zt=!1)=>{let Ot=Zr(i,Se),ar=c.array.has(Se),At=Zt?Pe:Zn(Pe),_t=Zr(s,Se),qt=Pu(_t,At);if(!qt)aa(s,Se,At);if(ar){if(U.array.next({name:Se,values:Zt?s:Zn(s)}),(_.isDirty||_.dirtyFields||j.isDirty||j.dirtyFields)&&Ee.shouldDirty){if(ee(),!zt)U.state.next({name:Se,dirtyFields:a.dirtyFields,isDirty:de(Se,At)})}}else{let Ar=Array.isArray(At)&&!At.length||nf(At),jr=!qt&&!zt;if(!Ot||Ot._f||qi(At)||Ar)De(Se,At,Ee,Zt,zt,jr);else fr(Se,At,Ee,Zt,zt,jr)}if(!qt&&!zt){let Ar=$W(Se,c),jr=Zt?s:Zn(s);if(U.state.next({...Ar&&a,name:l.mount||Ar?Se:void 0,values:jr}),!ar)for(let ea of skt(c.array,Se))U.state.next({name:ea,values:jr})}},rr=(Se,Pe,Ee={})=>sr(Se,Pe,Ee,!1),Or=(Se,Pe={})=>{let Ee=eu(Se)?Se(s):Se;if(!Pu(s,Ee)){s={...s,...Ee};for(let Zt of c.mount)if(nkt(Ee,Zt))sr(Zt,Zr(Ee,Zt),Pe,!0,!0);if(U.state.next({...a,name:void 0,type:void 0,...M?{values:s}:{}}),Pe.shouldValidate)X()}},Gt=async(Se)=>{l.mount=!0;let Pe=Se.target,Ee=Pe.name,Zt=!0,zt=Zr(i,Ee),Ot=(ar)=>{Zt=Number.isNaN(ar)||G8(ar)&&isNaN(ar.getTime())||Pu(ar,Zr(s,Ee,ar))};if(zt){let ar,At,_t=Pe.type?X8e(zt._f):VLt(Se),qt=Se.type===UR.BLUR||Se.type===UR.FOCUS_OUT,Ar=!ukt(zt._f)&&!e.validate&&!r.resolver&&!Zr(a.errors,Ee)&&!zt._f.deps,jr=Ar||pkt(qt,Zr(a.touchedFields,Ee),a.isSubmitted,y,v),ea=$W(Ee,c,qt);if(aa(s,Ee,_t),qt){if(!Pe||!Pe.readOnly){zt._f.onBlur&&zt._f.onBlur(Se);let Za=m[Ee];Za&&Za(0)}}else if(zt._f.onChange)zt._f.onChange(Se);let or=ze(Ee,_t,qt),Go=!nf(or)||ea;if(!qt&&U.state.next({name:Ee,type:Se.type,...M?{values:Zn(s)}:{}}),jr){if((!Ar||!a.isValid)&&(_.isValid||j.isValid)){if(r.mode==="onBlur"){if(qt)X()}else if(!qt)X()}return Go&&U.state.next({name:Ee,...ea?{}:or})}if(!r.resolver&&e.validate)await xt({name:Ee,eventType:Se.type});if(!qt&&ea&&U.state.next({...a}),r.resolver){let{errors:Za}=await ut([Ee]);if(J([Ee]),Ot(_t),!Zt){!nf(or)&&U.state.next(or);return}let Qn=J8e(a.errors,i,Ee),ff=J8e(Za,i,Qn.name||Ee);ar=ff.error,Ee=ff.name,At=nf(Za)}else if(J([Ee],!0),ar=(await V8e(zt,c.disabled,s,N,r.shouldUseNativeValidation))[Ee],J([Ee]),Ot(_t),Zt){if(ar)At=!1;else if(_.isValid||j.isValid)At=await Dt({fields:i,onlyCheckValid:!0,name:Ee,eventType:Se.type})}if(Zt)zt._f.deps&&(!Array.isArray(zt._f.deps)||zt._f.deps.length>0)&&Rr(zt._f.deps),qe(Ee,At,ar,or)}},Kt=(Se,Pe)=>{if(Zr(a.errors,Pe)&&Se.focus)return Se.focus(),1;return},Rr=async(Se,Pe={})=>{let Ee,Zt,zt=OF(Se);if(r.resolver){let Ot=await $e(na(Se)?Se:zt);Ee=nf(Ot),Zt=Se?!zt.some((ar)=>Zr(Ot,ar)):Ee}else if(Se)Zt=(await Promise.all(zt.map(async(Ot)=>{let ar=Zr(i,Ot);return await Dt({fields:ar&&ar._f?{[Ot]:ar}:ar,eventType:UR.TRIGGER})}))).every(Boolean),!(!Zt&&!a.isValid)&&X();else Zt=Ee=await Dt({fields:i,name:Se,eventType:UR.TRIGGER});if(Pe.delayError&&r.delayError&&Hi(Se)){let Ot=Zr(a.errors,Se);if(Ot)Kn(a.errors,Se),m[Se]=G(Se,()=>oe(Se,Ot)),m[Se](r.delayError);else clearTimeout(g[Se]),delete m[Se]}return U.state.next({...!Hi(Se)||(_.isValid||j.isValid)&&Ee!==a.isValid?{}:{name:Se},...r.resolver||!Se?{isValid:Ee}:{},errors:a.errors}),Pe.shouldFocus&&!Zt&&DD(i,Kt,Se?zt:c.mount),Zt},Lr=(Se,Pe)=>{let Ee={...l.mount?s:f};if(Pe)Ee=oxe(Pe.dirtyFields?a.dirtyFields:a.touchedFields,Ee);return na(Se)?Ee:Hi(Se)?Zr(Ee,Se):Se.map((Zt)=>Zr(Ee,Zt))},Tr=(Se)=>na(Se)?{...a.errors}:Hi(Se)?Zr(a.errors,Se):Se.map((Pe)=>Zr(a.errors,Pe)),dr=(Se,Pe)=>{let Ee=Pe||a,Zt=Zr(Ee.errors,Se);return{invalid:!!Zt,isDirty:!!Zr(Ee.dirtyFields,Se),error:Zt,isValidating:!!Zr(a.validatingFields,Se),isTouched:!!Zr(Ee.touchedFields,Se)}},uo=(Se)=>{let Pe=Se?OF(Se):void 0;if(Pe===null||Pe===void 0||Pe.forEach((Ee)=>Kn(a.errors,Ee)),Pe)Pe.forEach((Ee)=>{U.state.next({name:Ee,errors:a.errors})});else a.errors={},U.state.next({errors:a.errors})},lo=(Se,Pe,Ee)=>{let Zt=(Zr(i,Se,{_f:{}})._f||{}).ref,zt=Zr(a.errors,Se)||{},{ref:Ot,message:ar,type:At,..._t}=zt;aa(a.errors,Se,{..._t,...Pe,ref:Zt}),U.state.next({name:Se,errors:a.errors,isValid:!1}),Ee&&Ee.shouldFocus&&Zt&&Zt.focus&&Zt.focus()},sa=(Se,Pe)=>{if(eu(Se)){M++;let{unsubscribe:Ee}=U.state.subscribe({next:(zt)=>("values"in zt)&&Se(zt.values||yt(void 0,Pe),zt)}),Zt=!1;return{unsubscribe:()=>{if(Zt)return;Zt=!0,M--,Ee()}}}return yt(Se,Pe,!0)},cr=(Se)=>{var Pe;let Ee=!!((Pe=Se.formState)===null||Pe===void 0?void 0:Pe.values);if(Ee)M++;let{unsubscribe:Zt}=U.state.subscribe({next:(Ot)=>{if(Zkt(Se.name,Ot.name,Se.exact)&&dkt(Ot,Se.formState||_,Fr,Se.reRenderRoot)){let ar={...s};Se.callback({values:ar,...a,...Ot,defaultValues:f})}}});if(!Ee)return Zt;let zt=!1;return()=>{if(zt)return;zt=!0,M--,Zt()}},io=(Se)=>(l.mount=!0,j={...j,...Se.formState},cr({...Se,formState:{...x,...Se.formState}})),Yr=(Se,Pe={})=>{for(let Ee of Se?OF(Se):c.mount){if(c.mount.delete(Ee),c.array.delete(Ee),!Pe.keepValue)Kn(i,Ee),Kn(s,Ee);!Pe.keepError&&Kn(a.errors,Ee),!Pe.keepDirty&&Kn(a.dirtyFields,Ee),!Pe.keepTouched&&Kn(a.touchedFields,Ee),!Pe.keepIsValidating&&Kn(a.validatingFields,Ee),!r.shouldUnregister&&!Pe.keepDefaultValue&&Kn(f,Ee)}M&&U.state.next({values:Zn(s)}),U.state.next({...a,...Pe.keepDirty?{}:{isDirty:de()}}),!Pe.keepIsValid&&X()},jo=({disabled:Se,name:Pe})=>{if(SZ(Se)&&l.mount||!!Se||c.disabled.has(Pe)){let zt=c.disabled.has(Pe)!==!!Se;Se?c.disabled.add(Pe):c.disabled.delete(Pe),zt&&l.mount&&!l.action&&X()}},an=(Se,Pe={})=>{let Ee=Zr(i,Se),Zt=SZ(Pe.disabled)||SZ(r.disabled),zt=!c.registerName.has(Se)&&Ee&&Ee._f&&!Ee._f.mount;if(aa(i,Se,{...Ee||{},_f:{...Ee&&Ee._f?Ee._f:{ref:{name:Se}},name:Se,mount:!0,...Pe}}),c.mount.add(Se),Ee&&!zt)jo({disabled:SZ(Pe.disabled)?Pe.disabled:r.disabled,name:Se});else Ye(Se,!0,Pe.value);return{...Zt?{disabled:Pe.disabled||r.disabled}:{},...r.progressive?{required:!!Pe.required,min:AD(Pe.min),max:AD(Pe.max),minLength:AD(Pe.minLength),maxLength:AD(Pe.maxLength),pattern:AD(Pe.pattern)}:{},name:Se,onChange:Gt,onBlur:Gt,ref:(Ot)=>{if(Ot){c.registerName.add(Se),an(Se,Pe),c.registerName.delete(Se),Ee=Zr(i,Se);let ar=na(Ot.value)?Ot.querySelectorAll?Ot.querySelectorAll("input,select,textarea")[0]||Ot:Ot:Ot,At=ikt(ar),_t=Ee._f.refs||[];if(At?_t.find((Ar)=>Ar===ar):ar===Ee._f.ref)return;let qt={...Ee._f};if(At)qt.refs=[..._t.filter(eG),ar,...Array.isArray(Zr(f,Se))?[{}]:[]],qt.ref={type:ar.type,name:Se};else qt.ref=ar,delete qt.refs;aa(i,Se,{_f:qt}),Ye(Se,!1,void 0,ar)}else{if(Ee=Zr(i,Se,{}),Ee._f)Ee._f.mount=!1;(r.shouldUnregister||Pe.shouldUnregister)&&!(WLt(c.array,Se)&&l.action)&&c.unMount.add(Se)}}}},Ho=()=>r.shouldFocusError&&!r.shouldUseNativeValidation&&DD(i,Kt,c.mount),Dn=(Se)=>{if(SZ(Se))U.state.next({disabled:Se}),DD(i,(Pe,Ee)=>{let Zt=Zr(i,Ee);if(Zt){if(Pe.disabled=Zt._f.disabled||Se,Array.isArray(Zt._f.refs))Zt._f.refs.forEach((zt)=>{zt.disabled=Zt._f.disabled||Se})}},0,!1)},sn=(Se,Pe)=>async(Ee)=>{let Zt=void 0,zt=void 0;if(Ee)Ee.preventDefault&&Ee.preventDefault(),Ee.persist&&Ee.persist();let Ot=Zn(s);if(U.state.next({isSubmitting:!0}),r.resolver){let{errors:ar,values:At}=await ut();J(),a.errors=ar,Ot=Zn(At)}else await Dt({fields:i,eventType:UR.SUBMIT});if(c.disabled.size)for(let ar of c.disabled)Kn(Ot,ar);if(Kn(a.errors,$8e),nf(a.errors)){U.state.next({errors:{}});try{Zt=await Se(Ot,Ee)}catch(ar){zt=ar}}else{if(Pe)await Pe({...a.errors},Ee);Ho(),setTimeout(Ho)}if(U.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:nf(a.errors)&&!zt,submitCount:a.submitCount+1,errors:a.errors}),zt)throw zt;return Zt},Vi=(Se,Pe={})=>{if(Zr(i,Se)){if(na(Pe.defaultValue))rr(Se,Zn(Zr(f,Se)));else rr(Se,Pe.defaultValue),aa(f,Se,Zn(Pe.defaultValue));if(!Pe.keepTouched)Kn(a.touchedFields,Se);if(!Pe.keepDirty)Kn(a.dirtyFields,Se),a.isDirty=Pe.defaultValue?de(Se,Zn(Zr(f,Se))):de();if(!Pe.keepError)Kn(a.errors,Se),_.isValid&&X();U.state.next({...a})}},Ke=(Se,Pe={})=>{let Ee=Se?Zn(Se):f,Zt=Zn(Ee),zt=nf(Se),Ot=Zt,ar=i;if(!Pe.keepDefaultValues)f=Ee;if(!Pe.keepValues){if(Pe.keepDirtyValues){let At=new Set([...c.mount,...nxe(DL(f,s,void 0,ar),a.dirtyFields)]);for(let _t of At){let qt=Zr(a.dirtyFields,_t),Ar=Zr(s,_t),jr=Zr(Ot,_t);if(qt&&!na(Ar))aa(Ot,_t,Ar);else if(!qt&&!na(jr))rr(_t,jr)}}else{if(BF&&na(Se))for(let At of c.mount){let _t=Zr(i,At);if(_t&&_t._f){let qt=Array.isArray(_t._f.refs)?_t._f.refs[0]:_t._f.ref;if(jF(qt)){let Ar=qt.closest("form");if(Ar){Ar.reset();break}}}}if(Pe.keepFieldsRef)for(let At of c.mount)rr(At,Zr(Ot,At));else i={}}if(r.shouldUnregister){if(s=Pe.keepDefaultValues?Zn(f):{},Pe.keepFieldsRef)for(let At of c.mount)aa(s,At,Zr(Ot,At))}else s=Zn(Ot);U.array.next({values:{...Ot}}),U.state.next({name:void 0,type:void 0,values:{...Ot}})}if(c={mount:Pe.keepDirtyValues?c.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},l.mount=!_.isValid||!!Pe.keepIsValid||!!Pe.keepDirtyValues||!r.shouldUnregister&&!nf(Ot),l.watch=!!r.shouldUnregister,l.keepIsValid=!!Pe.keepIsValid,l.action=!1,l.actionArrayLengths.clear(),!Pe.keepErrors)a.errors={};U.state.next({submitCount:Pe.keepSubmitCount?a.submitCount:0,isDirty:zt?!1:Pe.keepDirty?a.isDirty:Pe.keepValues?de():!!(Pe.keepDefaultValues&&!Pu(Se,f)),isSubmitted:Pe.keepIsSubmitted?a.isSubmitted:!1,dirtyFields:zt?{}:Pe.keepDirtyValues?Pe.keepDefaultValues&&s?DL(f,s,void 0,ar):a.dirtyFields:Pe.keepDefaultValues&&Se?DL(f,Se,void 0,ar):Pe.keepDirty?a.dirtyFields:{},touchedFields:Pe.keepTouched?a.touchedFields:{},errors:Pe.keepErrors?a.errors:{},isSubmitSuccessful:Pe.keepIsSubmitSuccessful?a.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:f})},Ct=(Se,Pe)=>Ke(eu(Se)?Se(s):Se,{...r.resetOptions,...Pe}),pr=(Se,Pe={})=>{let Ee=Zr(i,Se),Zt=Ee&&Ee._f;if(Zt){let zt=Zt.refs?Zt.refs[0]:Zt.ref;if(zt.focus)setTimeout(()=>{zt.focus(),Pe.shouldSelect&&eu(zt.select)&&zt.select()})}},Fr=(Se)=>{let{name:Pe,type:Ee,values:Zt,...zt}=Se;a={...a,...zt}};U.state.subscribe({next:Fr});let Ra={control:{register:an,unregister:Yr,getFieldState:dr,handleSubmit:sn,setError:lo,_subscribe:cr,_runSchema:ut,_updateIsValidating:J,_focusError:Ho,_getWatch:yt,_getDirty:de,_setValid:X,_setFieldArray:re,_setDisabledField:jo,_setErrors:ae,_getFieldArray:Wt,_reset:Ke,_resetDefaultValues:()=>eu(r.defaultValues)&&r.defaultValues().then((Se)=>{Ct(Se,r.resetOptions),U.state.next({isLoading:!1})}),_removeUnmounted:jt,_disableForm:Dn,_subjects:U,_proxyFormState:_,get _fields(){return i},get _formValues(){return s},get _state(){return l},set _state(Se){l=Se},get _defaultValues(){return f},get _names(){return c},set _names(Se){c=Se},get _formState(){return a},get _options(){return r},set _options(Se){r={...r,...Se},v=EF(r.mode),y=EF(r.reValidateMode)}},subscribe:io,trigger:Rr,register:an,handleSubmit:sn,watch:sa,setValue:rr,setValues:Or,getValues:Lr,getErrors:Tr,reset:Ct,resetField:Vi,resetDefaultValues:(Se,Pe={})=>{if(f=Zn(Se),!Pe.keepDirty){let Ee=DL(f,s,void 0,i);a.dirtyFields=Ee,a.isDirty=!nf(Ee)}if(!Pe.keepIsValid)X();U.state.next({...a,defaultValues:f})},clearErrors:uo,unregister:Yr,setError:lo,setFocus:pr,getFieldState:dr};return{...Ra,formControl:Ra}}function Nl(e={}){let r=b(void 0),a=b(void 0),i=b(e.formControl),[f,s]=u(()=>({...Zn(cxe),isLoading:eu(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:eu(e.defaultValues)?void 0:e.defaultValues}));if(!r.current||e.formControl&&i.current!==e.formControl)if(i.current=e.formControl,e.formControl){if(r.current={...e.formControl,formState:f},e.defaultValues&&!eu(e.defaultValues))e.formControl.reset(e.defaultValues,e.resetOptions)}else{let{formControl:g,...M}=Mkt(e);r.current={...M,formState:f}}let l=r.current.control;l._options=e;let{resyncIfNeeded:c,snapshot:m}=ekt();return JLt(()=>{let g=()=>({...l._formState,defaultValues:l._defaultValues});c(!0,g,s);let M=l._subscribe({formState:l._proxyFormState,callback:()=>s({...l._formState,defaultValues:l._defaultValues}),reRenderRoot:!0});return s((v)=>({...v,isReady:!0})),l._formState.isReady=!0,()=>{M(),m(!0,g)}},[l,c,m]),h(()=>l._disableForm(e.disabled),[l,e.disabled]),h(()=>{if(e.mode)l._options.mode=e.mode;if(e.reValidateMode)l._options.reValidateMode=e.reValidateMode},[l,e.mode,e.reValidateMode]),h(()=>{if(e.errors)l._setErrors(e.errors),l._focusError()},[l,e.errors]),h(()=>{e.shouldUnregister&&l._subjects.state.next({values:l._getWatch()})},[l,e.shouldUnregister]),h(()=>{if(l._proxyFormState.isDirty){let g=l._getDirty();if(g!==f.isDirty)l._subjects.state.next({isDirty:g})}},[l,f.isDirty]),h(()=>{var g;if(e.values&&!Pu(e.values,a.current)){if(l._reset(e.values,{keepFieldsRef:!0,...l._options.resetOptions}),!((g=l._options.resetOptions)===null||g===void 0?void 0:g.keepIsValid))l._setValid();a.current=e.values,s((M)=>({...M}))}else l._resetDefaultValues()},[l,e.values]),h(()=>{if(!l._state.mount)l._setValid(),l._state.mount=!0;if(l._state.watch)l._state.watch=!1,l._subjects.state.next({...l._formState});l._removeUnmounted()}),r.current.formState=D(()=>QLt(f,l),[l,f]),r.current}var uxe=(e,r,a)=>{if(e&&"reportValidity"in e){let i=Zr(a,r);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},UF=(e,r)=>{for(let a in r.fields){let i=r.fields[a];i&&i.ref&&"reportValidity"in i.ref?uxe(i.ref,a,e):i&&i.refs&&i.refs.forEach((f)=>uxe(f,a,e))}},sG=(e,r)=>{r.shouldUseNativeValidation&&UF(e,r);let a={};for(let i in e){let f=Zr(r.fields,i),s=Object.assign(e[i]||{},{ref:f&&f.refs?f.refs[0]:f&&f.ref});if(vkt(r.names||Object.keys(e),i)){let l=Object.assign({},Zr(a,i));aa(l,"root",s),aa(a,i,l)}else aa(a,i,s)}return a},vkt=(e,r)=>{let a=dxe(r).replace(/[.*+?^${}()|\\]/g,"\\$&");return e.some((i)=>dxe(i).match(`^${a}\\.\\d+`))};function dxe(e){return e.replace(/\[(\d+)]/g,".$1").replace(/[[\]]/g,"")}function lG(){return lG=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},lG.apply(null,arguments)}function Zxe(e,r){try{var a=e()}catch(i){return r(i)}return a&&a.then?a.then(void 0,r):a}function xkt(e,r){for(var a=Object.create(null);e.length;){var i=e[0],{code:f,message:s}=i,l=i.path.join(".");if(!a[l])if("unionErrors"in i){var c,m,g=i.unionErrors.reduce(function(y,x){return x.errors.length<y.errors.length?x:y}).errors[0];a[l]={message:(c=g==null?void 0:g.message)!=null?c:s,type:(m=g==null?void 0:g.code)!=null?m:f}}else a[l]={message:s,type:f};if("unionErrors"in i&&i.unionErrors.forEach(function(y){return y.errors.forEach(function(x){return e.push(x)})}),r){var M=a[l].types,v=M&&M[i.code];a[l]=YF(l,r,a,f,v?[].concat(v,i.message):i.message)}e.shift()}return a}function ykt(e,r){for(var a=Object.create(null),i=function(){var f=e[0],{code:s,message:l}=f,c=f.path.join(".");if(!a[c])if(f.code==="invalid_union"&&f.errors.length>0){var m,g,M=f.errors.reduce(function(x,_){return _.length<x.length?_:x})[0];a[c]={message:(m=M==null?void 0:M.message)!=null?m:l,type:(g=M==null?void 0:M.code)!=null?g:s}}else a[c]={message:l,type:s};if(f.code==="invalid_union"&&f.errors.forEach(function(x){return x.forEach(function(_){return e.push(lG({},_,{path:[].concat(f.path,_.path)}))})}),r){var v=a[c].types,y=v&&v[f.code];a[c]=YF(c,r,a,s,y?[].concat(y,f.message):f.message)}e.shift()};e.length;)i();return a}function Dl(e,r,a){if(a===void 0&&(a={}),function(i){return"_zod"in i&&typeof i._zod=="object"}(e))return function(i,f,s){try{return Promise.resolve(Zxe(function(){function l(m){return s.shouldUseNativeValidation&&UF({},s),{errors:{},values:a.raw?Object.assign({},i):m}}var c=e;return a.mode==="sync"?l(c.parse(i,r)):Promise.resolve(c.parseAsync(i,r)).then(l)},function(l){if(function(c){var m;return!(c==null||(m=c._zod)==null||(m=m.traits)==null||!m.has("$ZodError"))}(l))return{values:{},errors:sG(ykt(l.issues,!s.shouldUseNativeValidation&&s.criteriaMode==="all"),s)};throw l}))}catch(l){return Promise.reject(l)}};if(function(i){return"_def"in i&&typeof i._def=="object"}(e))return function(i,f,s){try{return Promise.resolve(Zxe(function(){return Promise.resolve(e[a.mode==="sync"?"parse":"parseAsync"](i,r)).then(function(l){return s.shouldUseNativeValidation&&UF({},s),{errors:{},values:a.raw?Object.assign({},i):l}})},function(l){if(function(c){return Array.isArray(c==null?void 0:c.issues)}(l))return{values:{},errors:sG(xkt(l.errors,!s.shouldUseNativeValidation&&s.criteriaMode==="all"),s)};throw l}))}catch(l){return Promise.reject(l)}};throw Error("Invalid input: not a Zod schema")}S();var bkt=R({email:p().email(Gfe()),password:p().min(3,lp()),inviteCode:p().optional()});function _kt(){let e=Me(),a=cG.useSearch().inviteCode,[i,f]=u(null),[s,l]=u(!1),[c,m]=u(()=>n()==="zh"?"zh":"en"),g=(N)=>{m(N),Mi(N)},{data:M}=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=cf((N)=>N.setUser),_=Nl({resolver:Dl(bkt),defaultValues:{inviteCode:a}}),j=async(N)=>{l(!0),f(null);let{data:G,error:X}=await gfe.email({email:N.email,password:N.password,name:N.email,inviteCode:N.inviteCode,locale:c});if(l(!1),X){f(X.message||zct());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(Et,{className:"w-full max-w-md relative z-10 border border-zinc-200 dark:border-zinc-850 shadow-2xl bg-white dark:bg-zinc-900 rounded-3xl overflow-hidden",children:[o(kt,{className:"text-center pt-8 pb-4",children:[t("div",{className:"flex justify-center mb-4",children:t(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:Jnt()}),t(Ut,{className:"mt-2 text-zinc-600 dark:text-zinc-400",children:tit()})]}),t(N8e,{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:[Bfe()," ",o("a",{href:"/login",className:"font-semibold text-rose-500 hover:text-rose-600 dark:text-rose-400 dark:hover:text-rose-300 transition-colors hover:underline inline-flex items-center gap-1",children:[_Ve()," ",t(Xn,{className:"w-3.5 h-3.5"})]})]})})]})]});return o(Rl,{children:[o("div",{className:"mb-8",children:[t("h1",{className:"text-2xl font-bold tracking-tight text-zinc-900 dark:text-zinc-50",children:a4e()}),t("p",{className:"text-zinc-500 dark:text-zinc-400 text-sm mt-1 mb-4",children:kct()}),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:lqe()})]}),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:vHe({inviterName:M.inviterName,targetName:M.projectName||M.teamName,role:M.role})})]})]}),i&&t("div",{className:"mb-6 p-3 bg-red-500/10 border border-red-500/20 text-red-600 dark:text-red-400 rounded-xl text-sm text-center font-medium",children:i}),o("form",{onSubmit:_.handleSubmit(j),className:"space-y-5",children:[o("div",{className:"space-y-2",children:[t(Q,{htmlFor:"email",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:qfe()}),o("div",{className:"relative group",children:[t(Cz,{className:"absolute left-3.5 top-1/2 -translate-y-1/2 w-4 h-4 text-zinc-400 dark:text-zinc-600 transition-colors group-focus-within:text-rose-500"}),t(H,{id:"email",..._.register("email"),placeholder:"you@example.com",type:"email",className:"pl-10.5 h-11 border-zinc-200 dark:border-zinc-800 focus-visible:ring-rose-500/50 focus-visible:border-rose-500 rounded-xl transition-all shadow-sm"})]}),_.formState.errors.email&&t("p",{className:"text-red-500 text-xs font-medium",children:_.formState.errors.email.message})]}),o("div",{className:"space-y-2",children:[t(Q,{htmlFor:"password",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:ip()}),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:Mtt(),className:"pl-10.5 h-11 border-zinc-200 dark:border-zinc-800 focus-visible:ring-rose-500/50 focus-visible:border-rose-500 rounded-xl transition-all shadow-sm"})]}),_.formState.errors.password&&t("p",{className:"text-red-500 text-xs font-medium",children:_.formState.errors.password.message})]}),t(E,{type:"submit",className:"w-full h-11 bg-gradient-to-r from-rose-500 to-orange-500 hover:from-rose-600 hover:to-orange-600 text-white font-semibold rounded-xl shadow-md shadow-rose-500/10 hover:shadow-rose-500/20 active:scale-[0.98] transition-all flex items-center justify-center gap-2 border-0",disabled:s,children:s?o(L,{children:[t(F,{className:"h-4 w-4 animate-spin"}),U4e()]}):o(L,{children:[t(pT,{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:[Bfe()," "]}),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:[Kfe()," ",t(Xn,{className:"w-3.5 h-3.5"})]})]}),o("div",{className:"flex items-center gap-2 text-xs text-zinc-400 dark:text-zinc-500",children:[t("button",{type:"button",onClick:()=>g("en"),className:`cursor-pointer hover:text-zinc-800 dark:hover:text-zinc-200 transition-colors ${c==="en"?"font-bold text-rose-500 dark:text-rose-400":""}`,children:"English"}),t("span",{className:"text-zinc-300 dark:text-zinc-850",children:"/"}),t("button",{type:"button",onClick:()=>g("zh"),className:`cursor-pointer hover:text-zinc-800 dark:hover:text-zinc-200 transition-colors ${c==="zh"?"font-bold text-rose-500 dark:text-rose-400":""}`,children:"中文"})]})]})]})}var cG=Wr("/signup")({component:_kt,validateSearch:(e)=>({inviteCode:e.inviteCode||void 0}),beforeLoad:()=>{if(cf.getState().user)throw nl({to:"/"})}});var wkt=R({token:p().catch("")}),pxe=Wr("/reset-password")({validateSearch:(e)=>wkt.parse(e),beforeLoad:()=>{if(cf.getState().user)throw nl({to:"/"})}});S();var zkt=R({email:p().email(Gfe()),password:p().min(1,Ztt())});function Skt(){let e=Me(),r=cf((v)=>v.setUser),[a,i]=u(null),[f,s]=u(!1),{data:l,isLoading:c}=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(l&&!l.initialized)e({to:"/signup",search:{inviteCode:""}})},[l,e]);let m=l?.demoMode===!0,g=Nl({resolver:Dl(zkt)}),M=async(v)=>{s(!0),i(null);let{data:y,error:x}=await hfe.email({email:v.email,password:v.password});if(s(!1),x){i(x.message||cHe());return}if(y)r(y.user),e({to:"/"})};if(c)return t("div",{className:"flex items-center justify-center min-h-screen bg-zinc-100/80 dark:bg-black",children:o("div",{className:"relative flex flex-col items-center",children:[t(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(Rl,{children:[o("div",{className:"mb-8",children:[t("h1",{className:"text-2xl font-bold tracking-tight text-zinc-900 dark:text-zinc-50",children:Hht()}),t("p",{className:"text-zinc-500 dark:text-zinc-400 text-sm mt-1",children:SVe()})]}),m&&t("div",{className:"mb-6 p-4 bg-blue-500/10 border border-blue-500/20 text-blue-700 dark:text-blue-400 rounded-xl text-sm leading-relaxed",children:o("p",{children:[t("strong",{children:B3e()})," ",q3e()]})}),a&&t("div",{className:"mb-6 p-3 bg-red-500/10 border border-red-500/20 text-red-600 dark:text-red-400 rounded-xl text-sm text-center font-medium",children:a}),o("form",{onSubmit:g.handleSubmit(M),className:"space-y-5",children:[o("div",{className:"space-y-2",children:[t(Q,{htmlFor:"email",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:qfe()}),o("div",{className:"relative group",children:[t(Cz,{className:"absolute left-3.5 top-1/2 -translate-y-1/2 w-4 h-4 text-zinc-400 dark:text-zinc-600 transition-colors group-focus-within:text-rose-500"}),t(H,{id:"email",...g.register("email"),placeholder:"you@example.com",type:"email",className:"pl-10.5 h-11 border-zinc-200 dark:border-zinc-800 focus-visible:ring-rose-500/50 focus-visible:border-rose-500 rounded-xl transition-all shadow-sm"})]}),g.formState.errors.email&&t("p",{className:"text-red-500 text-xs font-medium",children:g.formState.errors.email.message})]}),o("div",{className:"space-y-2",children:[t(Q,{htmlFor:"password",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:ip()}),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:ytt(),className:"pl-10.5 h-11 border-zinc-200 dark:border-zinc-800 focus-visible:ring-rose-500/50 focus-visible:border-rose-500 rounded-xl transition-all shadow-sm"})]}),g.formState.errors.password&&t("p",{className:"text-red-500 text-xs font-medium",children:g.formState.errors.password.message})]}),t(E,{type:"submit",className:"w-full h-11 bg-gradient-to-r from-rose-500 to-orange-500 hover:from-rose-600 hover:to-orange-600 text-white font-semibold rounded-xl shadow-md shadow-rose-500/10 hover:shadow-rose-500/20 active:scale-[0.98] transition-all flex items-center justify-center gap-2 border-0",disabled:f,children:f?o(L,{children:[t(F,{className:"h-4 w-4 animate-spin"}),MVe()]}):o(L,{children:[t(ZT,{className:"w-4 h-4"}),Kfe()]})})]}),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:EXe()}),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 mxe=Wr("/login")({component:Skt,beforeLoad:()=>{if(cf.getState().user)throw nl({to:"/"})}});S();function hxe(){let e=Me(),{data:r,isLoading:a}=Z({queryKey:["teams"],queryFn:async()=>{let s=await A.api.teams.$get({query:{}});if(!s.ok)throw Error("Failed to get teams");return await s.json()}}),i=r?.data,f=i?.length===1?i[0].id:null;if(h(()=>{if(f)e({to:`/teams/${f}`})},[f,e]),a)return t("div",{children:Ad()});if(f)return null;return t(ue,{open:!0,children:o(ie,{children:[o(me,{children:[t(le,{children:pst()}),t(Tt,{children:clt()})]}),t("div",{className:"space-y-2",children:i?.map((s)=>t("div",{className:"p-2 border rounded-md cursor-pointer hover:bg-gray-100",onClick:()=>e({to:`/teams/${s.id}`}),children:s.name},s.id))})]})})}S();function Lkt(){let e=cf((a)=>a.user),r=Me();if(h(()=>{if(!e)r({to:"/login"})},[e,r]),!e)return null;return t(hxe,{})}var gxe=Wr("/")({component:Lkt});function kkt(){return t(IM,{})}var Mxe=Wr("/share/$shareId")({component:kkt});var vxe=Wr("/teams/$teamId/")({});var xxe=Wr("/share/$shareId/")({});function pe({className:e,...r}){return t("div",{"data-slot":"skeleton",className:C("animate-pulse rounded-md bg-accent",e),...r})}function wt(){return o("div",{className:"flex h-screen flex-col bg-background min-h-0",children:[o("div",{className:"flex h-14 items-center justify-between border-b px-6 shrink-0",children:[o("div",{className:"flex items-center gap-2",children:[t(pe,{className:"h-4 w-24"}),t("span",{className:"text-muted-foreground",children:"/"}),t(pe,{className:"h-4 w-32"})]}),o("div",{className:"flex items-center gap-2",children:[t(pe,{className:"h-8 w-8 rounded-md"}),t(pe,{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(pe,{className:"h-4 w-4 rounded"}),t(pe,{className:"h-4 w-24"})]}),o("div",{className:"pl-4 space-y-3",children:[o("div",{className:"flex items-center gap-2",children:[t(pe,{className:"h-3 w-3 rounded"}),t(pe,{className:"h-3 w-28"})]}),o("div",{className:"flex items-center gap-2",children:[t(pe,{className:"h-3 w-3 rounded"}),t(pe,{className:"h-3 w-20"})]}),o("div",{className:"flex items-center gap-2",children:[t(pe,{className:"h-3 w-3 rounded"}),t(pe,{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(pe,{className:"h-5 w-40"}),t(pe,{className:"h-4 w-20"})]}),o("div",{className:"flex items-center gap-2",children:[t(pe,{className:"h-8 w-8 rounded"}),t(pe,{className:"h-8 w-8 rounded"}),t(pe,{className:"h-8 w-32 rounded"})]})]}),o("div",{className:"space-y-4",children:[t("div",{className:"flex items-center gap-2",children:t(pe,{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(pe,{className:"aspect-square w-full rounded-md"}),o("div",{className:"space-y-2",children:[t(pe,{className:"h-4 w-3/4"}),o("div",{className:"flex justify-between items-center",children:[t(pe,{className:"h-3 w-1/4"}),t(pe,{className:"h-3 w-1/3"})]})]})]},r))})]})]})]})]})}function hA(){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(pe,{className:"h-4 w-16"}),t("span",{className:"text-muted-foreground",children:"/"}),t(pe,{className:"h-4 w-28"}),t("span",{className:"text-muted-foreground",children:"/"}),t(pe,{className:"h-4 w-32"})]}),t("div",{className:"flex items-center gap-2",children:t(pe,{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(pe,{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(pe,{className:"h-12 w-12 rounded bg-muted shrink-0"}),o("div",{className:"space-y-2 flex-1",children:[t(pe,{className:"h-3 w-2/3"}),t(pe,{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(pe,{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(pe,{className:"h-8 w-8 rounded-full"}),t(pe,{className:"h-4 w-32"})]}),t(pe,{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(pe,{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(pe,{className:"h-3 w-20"}),t(pe,{className:"h-3 w-32"})]},r))})]}),o("div",{className:"flex-1 flex flex-col gap-4",children:[t(pe,{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(pe,{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(pe,{className:"h-3 w-24"}),t(pe,{className:"h-2 w-12"})]}),t(pe,{className:"h-3 w-full"}),t(pe,{className:"h-3 w-5/6"})]})]},r))})]})]})]})]})}function gA({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(pe,{className:"h-4 w-4 rounded"}),t(pe,{className:"h-4 w-4 rounded"}),t(pe,{className:"h-4 w-48"}),o("div",{className:"ml-auto flex items-center gap-8",children:[t(pe,{className:"h-3 w-16"}),t(pe,{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(pe,{className:"aspect-square w-full rounded-md"}),o("div",{className:"space-y-2",children:[t(pe,{className:"h-4 w-3/4"}),o("div",{className:"flex justify-between items-center",children:[t(pe,{className:"h-3 w-1/4"}),t(pe,{className:"h-3 w-1/3"})]})]})]},a))})})}function AA(){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(pe,{className:"h-10 w-10 rounded-md shrink-0"}),o("div",{className:"space-y-2 flex-1",children:[t(pe,{className:"h-4 w-3/4"}),t(pe,{className:"h-3 w-1/3"})]})]},r))})}var Gp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("failed to fetch project");return await r.json()}}),yxe=Wr("/projects/$projectId/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Gp(r)),pendingComponent:()=>t(wt,{})});var bxe=Wr("/teams/$teamId/settings")({});var Ckt=R({taskId:p().optional()}),_xe=Wr("/teams/$teamId/kanban")({validateSearch:(e)=>Ckt.parse(e)});var wxe=Wr("/teams/$teamId/dashboard")({});var Vp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),zxe=Wr("/projects/$projectId/recents")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Vp(r)),pendingComponent:()=>t(wt,{})});var Qp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),Sxe=Wr("/projects/$projectId/recently-deleted")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Qp(r)),pendingComponent:()=>t(wt,{})});var Kp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("failed to fetch project");return await r.json()}}),Lxe=Wr("/projects/$projectId/agentsmd")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Kp(r)),pendingComponent:()=>t(wt,{})});var Wp=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await A.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),kxe=Wr("/projects/$projectId/shares/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Wp(r)),pendingComponent:()=>t(wt,{})});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()}}),Cxe=Wr("/projects/$projectId/collections/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Yp(r)),pendingComponent:()=>t(wt,{})});var Ixe=Wr("/share/$shareId/folders/$folderId")({});var Rxe=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 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()}}),Pxe=Wr("/projects/$projectId/shares/$shareId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Jp(r)),pendingComponent:()=>t(wt,{})});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()}}),Txe=Wr("/projects/$projectId/folders/$folderId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Xp(r)),pendingComponent:()=>t(wt,{})});var Axe=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 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()}}),_A=(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()}}),Dxe=Wr("/projects/$projectId/collections/$collectionId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(em(r)),pendingComponent:()=>t("div",{children:Nh()})});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()}}),Exe=Wr("/projects/$projectId/folders/$folderId_/agentsmd")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(tm(r)),pendingComponent:()=>t(wt,{})});var Ikt=cG.update({id:"/signup",path:"/signup",getParentRoute:()=>Rn}),Rkt=pxe.update({id:"/reset-password",path:"/reset-password",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-zmjtv19e.js").then((e)=>e.Route)),Pkt=mxe.update({id:"/login",path:"/login",getParentRoute:()=>Rn}),Tkt=gxe.update({id:"/",path:"/",getParentRoute:()=>Rn}),qF=Mxe.update({id:"/share/$shareId",path:"/share/$shareId",getParentRoute:()=>Rn}),Akt=vxe.update({id:"/teams/$teamId/",path:"/teams/$teamId/",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-q45n02fs.js").then((e)=>e.Route)),Dkt=xxe.update({id:"/",path:"/",getParentRoute:()=>qF}).lazy(()=>import("./chunk-1ajgdv26.js").then((e)=>e.Route)),Ekt=yxe.update({id:"/projects/$projectId/",path:"/projects/$projectId/",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-btmxr226.js").then((e)=>e.Route)),Okt=bxe.update({id:"/teams/$teamId/settings",path:"/teams/$teamId/settings",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-3b6h719s.js").then((e)=>e.Route)),jkt=_xe.update({id:"/teams/$teamId/kanban",path:"/teams/$teamId/kanban",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-zcdqsp1e.js").then((e)=>e.Route)),Nkt=wxe.update({id:"/teams/$teamId/dashboard",path:"/teams/$teamId/dashboard",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-s63vj79f.js").then((e)=>e.Route)),Fkt=zxe.update({id:"/projects/$projectId/recents",path:"/projects/$projectId/recents",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-bgm76rzj.js").then((e)=>e.Route)),Bkt=Sxe.update({id:"/projects/$projectId/recently-deleted",path:"/projects/$projectId/recently-deleted",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-xcsz1wp7.js").then((e)=>e.Route)),Ykt=Lxe.update({id:"/projects/$projectId/agentsmd",path:"/projects/$projectId/agentsmd",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-30dsxm8s.js").then((e)=>e.Route)),Ukt=kxe.update({id:"/projects/$projectId/shares/",path:"/projects/$projectId/shares/",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-rbagbd0e.js").then((e)=>e.Route)),qkt=Cxe.update({id:"/projects/$projectId/collections/",path:"/projects/$projectId/collections/",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-m2h7a172.js").then((e)=>e.Route)),Hkt=Ixe.update({id:"/folders/$folderId",path:"/folders/$folderId",getParentRoute:()=>qF}).lazy(()=>import("./chunk-0xsgx9ep.js").then((e)=>e.Route)),Vkt=Rxe.update({id:"/files/$fileId",path:"/files/$fileId",getParentRoute:()=>qF}).lazy(()=>import("./chunk-jf4kcad0.js").then((e)=>e.Route)),Wkt=Pxe.update({id:"/projects/$projectId/shares/$shareId",path:"/projects/$projectId/shares/$shareId",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-v1sgrg0r.js").then((e)=>e.Route)),Gkt=Txe.update({id:"/projects/$projectId/folders/$folderId",path:"/projects/$projectId/folders/$folderId",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-k5hnrtrt.js").then((e)=>e.Route)),Kkt=Axe.update({id:"/projects/$projectId/files/$fileId",path:"/projects/$projectId/files/$fileId",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-xbge27m4.js").then((e)=>e.Route)),Xkt=Dxe.update({id:"/projects/$projectId/collections/$collectionId",path:"/projects/$projectId/collections/$collectionId",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-rfhmk32e.js").then((e)=>e.Route)),Qkt=Exe.update({id:"/projects/$projectId/folders/$folderId_/agentsmd",path:"/projects/$projectId/folders/$folderId/agentsmd",getParentRoute:()=>Rn}).lazy(()=>import("./chunk-qjzyze00.js").then((e)=>e.Route)),Jkt={ShareShareIdIndexRoute:Dkt,ShareShareIdFilesFileIdRoute:Vkt,ShareShareIdFoldersFolderIdRoute:Hkt},$kt=qF._addFileChildren(Jkt),e1t={IndexRoute:Tkt,LoginRoute:Pkt,ResetPasswordRoute:Rkt,SignupRoute:Ikt,ShareShareIdRoute:$kt,ProjectsProjectIdAgentsmdRoute:Ykt,ProjectsProjectIdRecentlyDeletedRoute:Bkt,ProjectsProjectIdRecentsRoute:Fkt,TeamsTeamIdDashboardRoute:Nkt,TeamsTeamIdKanbanRoute:jkt,TeamsTeamIdSettingsRoute:Okt,ProjectsProjectIdIndexRoute:Ekt,TeamsTeamIdIndexRoute:Akt,ProjectsProjectIdCollectionsCollectionIdRoute:Xkt,ProjectsProjectIdFilesFileIdRoute:Kkt,ProjectsProjectIdFoldersFolderIdRoute:Gkt,ProjectsProjectIdSharesShareIdRoute:Wkt,ProjectsProjectIdCollectionsIndexRoute:qkt,ProjectsProjectIdSharesIndexRoute:Ukt,ProjectsProjectIdFoldersFolderIdAgentsmdRoute:Qkt},Oxe=Rn._addFileChildren(e1t)._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 jxe=new Z3,t1t=W3({routeTree:Oxe,context:{queryClient:jxe}});Fee(document.getElementById("root")).render(t(e3,{children:t(r3,{client:jxe,children:t(Uee,{defaultTheme:"system",storageKey:"vite-ui-theme",children:t(G3,{router:t1t})})})}));export{V,Rs,Cn,ia,Ga,at,q,O,Bn,xi,P,dt,la,h,Lu,dn,He,D,en,b,u,Yn,Ns,S,L,t,o,K,Zu,Bu,_r,Ec,Va,Si,bo,Ht,Ko,Uu,zu,ju,_m,qu,Cc,Hu,al,Z,B,ft,Ic,Me,Qa,tn,Un,Ue,Jn,Ka,il,Ds,ll,cl,ul,$u,Ps,dl,Gu,Mr,A,I,vr,zn,wr,nr,F,In,Do,$r,Gr,Xn,Wa,Ya,St,jn,ke,ve,rn,bt,Ei,Xt,vt,qn,er,Ci,Os,tr,Fs,eo,Wo,to,Ls,Po,nn,vo,Ii,fe,Bt,Ti,wo,we,Re,C,ds,pt,_e,Y,It,xr,ca,Ft,se,ir,ua,da,Hn,fa,fl,pl,ml,Vu,Qu,Ku,Wu,Yu,Ju,Xu,ed,td,pa,Tc,E,fn,pn,mn,hn,Ce,Ie,Te,he,Ja,ge,Ae,W,Mc,ma,Vr,Vt,fs,ps,ms,hs,ym,n,Mi,vA,wA,xA,SA,EA,CA,IA,gf,TA,MA,kA,bm,Af,RA,NA,DA,rd,PA,OA,nd,vm,wm,xm,FA,LA,ZA,BA,UA,_f,zA,Sm,jA,Em,qA,HA,$A,GA,VA,QA,KA,WA,YA,JA,XA,e0,t0,r0,Cm,n0,Im,o0,Tm,s0,Mm,a0,km,i0,Rm,l0,Nm,c0,Dm,u0,Pm,d0,f0,p0,Om,m0,h0,g0,Fm,Lm,Zm,Bm,A0,_0,y0,b0,v0,Um,w0,x0,S0,E0,C0,I0,T0,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