@shumai-one/shumai 0.6.1 → 0.6.2
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-01052ssf.js +32 -0
- package/bin/{chunk-w4ydfy9d.js → chunk-02fvcrej.js} +4 -4
- package/bin/chunk-0bj887zm.js +2 -0
- package/bin/chunk-167z646e.js +2 -0
- package/bin/chunk-1ktk6764.js +10 -0
- package/bin/{chunk-p1ed0pa6.js → chunk-1nvd90g2.js} +1 -1
- package/bin/{chunk-kywdke0y.js → chunk-1wfg56z3.js} +5 -5
- package/bin/{chunk-ahgq10a7.js → chunk-257dcd2f.js} +2 -2
- package/bin/chunk-26qn7fek.js +2 -0
- package/bin/chunk-2cdxm1cp.js +55 -0
- package/bin/chunk-2jj4j8cn.js +3 -0
- package/bin/chunk-2ne2b54t.js +2 -0
- package/bin/{chunk-qqj2m1b1.js → chunk-2nhgdqdg.js} +2 -2
- package/bin/chunk-2vbeqczj.js +1 -0
- package/bin/chunk-37p6bcx2.js +1 -0
- package/bin/chunk-3ckkwdjx.js +13 -0
- package/bin/chunk-3knfx6dm.js +1 -0
- package/bin/chunk-3z85zxkn.js +1 -0
- package/bin/chunk-4mws03es.js +5 -0
- package/bin/chunk-54tbfvya.js +2 -0
- package/bin/chunk-55h9ze53.js +2 -0
- package/bin/chunk-56kh5fxc.js +1 -0
- package/bin/chunk-576nj64j.js +2 -0
- package/bin/{chunk-dfecgpce.js → chunk-5wapd171.js} +13 -13
- package/bin/chunk-6cnqjngz.js +1 -0
- package/bin/chunk-73yncv54.js +2 -0
- package/bin/chunk-7g46e1wy.js +3 -0
- package/bin/{chunk-jq3pq545.js → chunk-7naa7tpn.js} +2 -2
- package/bin/{chunk-am6dg0a5.js → chunk-7sgrtxbt.js} +2 -2
- package/bin/{chunk-3me1v3z5.js → chunk-7v7mypc6.js} +2 -2
- package/bin/chunk-82tps5n1.js +2 -0
- package/bin/chunk-84x8p7v5.js +1 -0
- package/bin/{chunk-fxtzy5f5.js → chunk-88jg9dq5.js} +2 -2
- package/bin/chunk-8cjet7pp.js +12 -0
- package/bin/chunk-8fyg9dy4.js +2 -0
- package/bin/chunk-8gtfgkrn.js +2 -0
- package/bin/chunk-8mqbztj8.js +2 -0
- package/bin/chunk-8xb6yz11.js +2 -0
- package/bin/chunk-8yjsmr7g.js +2 -0
- package/bin/chunk-91rb0jpb.js +2 -0
- package/bin/chunk-96qpjght.js +2 -0
- package/bin/chunk-9f1xk1nt.js +1 -0
- package/bin/chunk-9mk9cvbk.js +1 -0
- package/bin/{chunk-r5g84kj4.js → chunk-9n1w5dw1.js} +3 -3
- package/bin/chunk-9nw5w8vh.js +1 -0
- package/bin/{chunk-3j82q2gj.js → chunk-9t3p4xp6.js} +1 -1
- package/bin/chunk-9xhjy897.js +11 -0
- package/bin/chunk-9zsv6d2f.js +1 -0
- package/bin/chunk-a411xhmm.js +7 -0
- package/bin/{chunk-s01p4w8d.js → chunk-a74g6h8a.js} +2 -2
- package/bin/chunk-ah8fjb6f.js +2 -0
- package/bin/chunk-atfz7g7e.js +2 -0
- package/bin/{chunk-swz6v48q.js → chunk-b5rhvzv9.js} +2 -2
- package/bin/{chunk-bg6waaf9.js → chunk-b7bnp021.js} +2 -2
- package/bin/chunk-cf5axr8c.js +1 -0
- package/bin/chunk-cgmebxx6.js +2 -0
- package/bin/chunk-cwat1jwx.js +3 -0
- package/bin/chunk-cz13a82m.js +3 -0
- package/bin/chunk-dk42gf7v.js +2 -0
- package/bin/chunk-e4f56spj.js +4 -0
- package/bin/chunk-e4yscwen.js +18 -0
- package/bin/chunk-eb7mzbfm.js +1 -0
- package/bin/chunk-er14d498.js +3 -0
- package/bin/{chunk-bs6saf4d.js → chunk-eyjfhdp9.js} +2 -2
- package/bin/chunk-f25fe9th.js +393 -0
- package/bin/chunk-f6avg5qe.js +129 -0
- package/bin/chunk-fatmqnp1.js +2 -0
- package/bin/chunk-fvx9k1dc.js +2 -0
- package/bin/{chunk-h6f2gyt5.js → chunk-g22wmpk1.js} +2 -2
- package/bin/chunk-g6sdezec.js +2 -0
- package/bin/chunk-gtf19jc1.js +2 -0
- package/bin/chunk-gxepkvt2.js +2 -0
- package/bin/chunk-h1n7jqnw.js +1 -0
- package/bin/chunk-hfm82066.js +2 -0
- package/bin/chunk-hnkcgvcj.js +3 -0
- package/bin/{chunk-agcnbjxk.js → chunk-hpbn0k9n.js} +2 -2
- package/bin/{chunk-d4hk62q2.js → chunk-hpwv4am3.js} +4 -4
- package/bin/{chunk-acmr8v0d.js → chunk-hw6czrya.js} +1 -1
- package/bin/{chunk-r9gp9yqw.js → chunk-hzkjgcre.js} +1 -1
- package/bin/chunk-j2s311yc.js +3 -0
- package/bin/{chunk-6hzktewz.js → chunk-jt02kpfc.js} +2 -2
- package/bin/{chunk-c60j1b4w.js → chunk-jt0ykktx.js} +1 -1
- package/bin/{chunk-sd6w0z6a.js → chunk-jzgbxqdg.js} +2 -2
- package/bin/chunk-kj6h5j5a.js +4 -0
- package/bin/chunk-km4gn6b6.js +1 -0
- package/bin/chunk-knj2s8mg.js +16 -0
- package/bin/{chunk-1eqw2dpx.js → chunk-kvhf12b4.js} +2 -2
- package/bin/chunk-m0q2cgfg.js +2 -0
- package/bin/chunk-m82tkhaa.js +11 -0
- package/bin/chunk-m9adtgzk.js +2 -0
- package/bin/{chunk-0tvnfy4k.js → chunk-mcj1xpcc.js} +2 -2
- package/bin/chunk-mcw198kg.js +13 -0
- package/bin/{chunk-9s0k533c.js → chunk-mwktrwtx.js} +1 -1
- package/bin/{chunk-wsprap60.js → chunk-mzsw9var.js} +2 -2
- package/bin/chunk-ns33grgx.js +2 -0
- package/bin/{chunk-xsfy8hz3.js → chunk-ny1kbmxt.js} +2 -2
- package/bin/{chunk-16n160h1.js → chunk-p3f5aevs.js} +1 -1
- package/bin/chunk-p3j6ydk1.js +1 -0
- package/bin/chunk-p4s95471.js +2 -0
- package/bin/chunk-pk406dgy.js +2 -0
- package/bin/chunk-q2bew2vc.js +2 -0
- package/bin/chunk-q5vkxee3.js +5 -0
- package/bin/{chunk-hzv1mhr5.js → chunk-q83h0hkx.js} +2 -2
- package/bin/{chunk-fre31bhw.js → chunk-q8w4mbw4.js} +2 -2
- package/bin/{chunk-b7qs7hxg.js → chunk-qwpkcp8d.js} +2 -2
- package/bin/chunk-r1xer8gn.js +5 -0
- package/bin/chunk-s1e4qy3q.js +14 -0
- package/bin/{chunk-b9d8xdhb.js → chunk-s9ksftq2.js} +1 -1
- package/bin/chunk-srxp5jav.js +42 -0
- package/bin/chunk-swtwaaqe.js +1 -0
- package/bin/chunk-tagdrg7p.js +1 -0
- package/bin/{chunk-d18v5vmp.js → chunk-tekwpkjf.js} +2 -2
- package/bin/chunk-twtxnzbv.js +2 -0
- package/bin/{chunk-c6f8x05m.js → chunk-v05rrxp5.js} +2 -2
- package/bin/{chunk-ht5rht98.js → chunk-v5cn90cf.js} +2 -2
- package/bin/chunk-v5mcjwxy.js +2 -0
- package/bin/{chunk-jb8vbeb0.js → chunk-vcrmjtcz.js} +2 -2
- package/bin/chunk-vkzasgxw.js +2 -0
- package/bin/chunk-vp3czaeh.js +7 -0
- package/bin/chunk-x03jwaga.js +8 -0
- package/bin/chunk-x342vzdx.js +2 -0
- package/bin/chunk-x8mjh387.js +5 -0
- package/bin/chunk-xc54vhfz.js +2 -0
- package/bin/chunk-xvkwbczx.js +3 -0
- package/bin/chunk-y241cxff.js +1 -0
- package/bin/chunk-yk12hydf.js +7 -0
- package/bin/chunk-ympbfzz4.js +2 -0
- package/bin/{chunk-n412a1hp.js → chunk-yq32evnn.js} +6 -6
- package/bin/chunk-z1p13dnc.js +2 -0
- package/bin/chunk-zarz3sqn.js +211 -0
- package/bin/chunk-zezje74z.js +4 -0
- package/bin/chunk-zrszykjf.js +3 -0
- package/bin/shumai-app.html +1 -1
- package/bin/shumai-app.js +942 -1015
- package/package.json +7 -7
- package/prisma/migrations/20261026024507_hash_api_tokens/migration.sql +28 -0
- package/prisma/migrations/20261026031904_add_audit_log_via/migration.sql +2 -0
- package/prisma/migrations/20261029024626_add_oauth_and_jwks/migration.sql +205 -0
- package/prisma/migrations/20261029030321_default_empty_arrays_oauth/migration.sql +25 -0
- package/prisma/schema.prisma +186 -1
- package/bin/chunk-0502p2k7.js +0 -3
- package/bin/chunk-0b0t6y8h.js +0 -11
- package/bin/chunk-1vt9ss7d.js +0 -2
- package/bin/chunk-23780yj6.js +0 -3
- package/bin/chunk-2cpsfc87.js +0 -1
- package/bin/chunk-2w0d9veg.js +0 -2
- package/bin/chunk-2xp9prpq.js +0 -1
- package/bin/chunk-3gqs15zq.js +0 -2
- package/bin/chunk-3pw7z25v.js +0 -3
- package/bin/chunk-3tx9v8kj.js +0 -2
- package/bin/chunk-3wdtp4ht.js +0 -1
- package/bin/chunk-57axjy7y.js +0 -1
- package/bin/chunk-5aqthcm6.js +0 -5
- package/bin/chunk-5gq4q1bb.js +0 -2
- package/bin/chunk-5r1br11d.js +0 -2
- package/bin/chunk-61hrdg0g.js +0 -1
- package/bin/chunk-6aa4xmnw.js +0 -2
- package/bin/chunk-6mrgtn78.js +0 -18
- package/bin/chunk-6s55r0z9.js +0 -1
- package/bin/chunk-6vkfzzvt.js +0 -5
- package/bin/chunk-7dprpnm6.js +0 -2
- package/bin/chunk-7rycq6wb.js +0 -129
- package/bin/chunk-895gzdtp.js +0 -7
- package/bin/chunk-8d1p8qpv.js +0 -1
- package/bin/chunk-8r3k84dh.js +0 -2
- package/bin/chunk-99sarrvt.js +0 -3
- package/bin/chunk-b21z62fj.js +0 -1
- package/bin/chunk-bv589v2m.js +0 -3
- package/bin/chunk-c8kjpmfe.js +0 -2
- package/bin/chunk-c9xyejnk.js +0 -2
- package/bin/chunk-cb9peqy5.js +0 -2
- package/bin/chunk-ckczqmrz.js +0 -5
- package/bin/chunk-cr33cs6j.js +0 -2
- package/bin/chunk-cxet91kt.js +0 -2
- package/bin/chunk-d7e351jd.js +0 -6
- package/bin/chunk-ebcfbn00.js +0 -2
- package/bin/chunk-f0b4a9y3.js +0 -2
- package/bin/chunk-fkn6f4qt.js +0 -4
- package/bin/chunk-g78vapcm.js +0 -2
- package/bin/chunk-gdpfwxea.js +0 -4
- package/bin/chunk-gwqqq0b1.js +0 -32
- package/bin/chunk-h3cwf9aw.js +0 -2
- package/bin/chunk-h4ty530v.js +0 -16
- package/bin/chunk-h58yfx7w.js +0 -2
- package/bin/chunk-h9ngpxyd.js +0 -1
- package/bin/chunk-hbr17jvr.js +0 -13
- package/bin/chunk-hc0xbmtt.js +0 -5
- package/bin/chunk-j9t7tvt5.js +0 -2
- package/bin/chunk-jvt8q0eg.js +0 -2
- package/bin/chunk-jzgtthsj.js +0 -3
- package/bin/chunk-jzjhg7ng.js +0 -1
- package/bin/chunk-k547syp2.js +0 -2
- package/bin/chunk-k7sjpke6.js +0 -2
- package/bin/chunk-k8ct1qgv.js +0 -3
- package/bin/chunk-k9q4nn8b.js +0 -11
- package/bin/chunk-keetdtxb.js +0 -2
- package/bin/chunk-kjjw8mbg.js +0 -1
- package/bin/chunk-mey80kv9.js +0 -54
- package/bin/chunk-nfncawpm.js +0 -12
- package/bin/chunk-nvwt8atc.js +0 -1
- package/bin/chunk-p1d500sf.js +0 -211
- package/bin/chunk-q0vs124k.js +0 -2
- package/bin/chunk-q5795f3s.js +0 -2
- package/bin/chunk-q5j3b0h5.js +0 -3
- package/bin/chunk-qd7pvaxb.js +0 -2
- package/bin/chunk-qhpt7170.js +0 -2
- package/bin/chunk-qt78vs3g.js +0 -2
- package/bin/chunk-ra6mdjr0.js +0 -1
- package/bin/chunk-ryfvaz6v.js +0 -3
- package/bin/chunk-s22eapcc.js +0 -2
- package/bin/chunk-sbg86tch.js +0 -2
- package/bin/chunk-sbqy6m8t.js +0 -1
- package/bin/chunk-sdp9w627.js +0 -14
- package/bin/chunk-sn0nypvd.js +0 -42
- package/bin/chunk-sv92vkyh.js +0 -2
- package/bin/chunk-t6cn018t.js +0 -3
- package/bin/chunk-ts4d1mxf.js +0 -2
- package/bin/chunk-wkdkc12e.js +0 -4
- package/bin/chunk-xgnvktq6.js +0 -10
- package/bin/chunk-xjw3mpvx.js +0 -1
- package/bin/chunk-xznq2axj.js +0 -1
- package/bin/chunk-y4v08wq7.js +0 -1
- package/bin/chunk-yncvy335.js +0 -3
- package/bin/chunk-ytzddcj2.js +0 -1
- package/bin/chunk-zxqasmvz.js +0 -2
package/bin/chunk-p1d500sf.js
DELETED
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
import{H,w,qe,Zm,Um}from"./chunk-t6cn018t.js";var Q={};Um(Q,{Activity:()=>CX,Children:()=>fc,Component:()=>Zs,Fragment:()=>Dn,Profiler:()=>IX,PureComponent:()=>RX,StrictMode:()=>n6,Suspense:()=>mi,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:()=>Yi,__COMPILER_RUNTIME:()=>PX,cache:()=>TX,cacheSignal:()=>AX,cloneElement:()=>ju,createContext:()=>mt,createElement:()=>q,createRef:()=>EX,forwardRef:()=>F,isValidElement:()=>ns,lazy:()=>DX,memo:()=>Hn,startTransition:()=>Mk,unstable_useCacheRefresh:()=>OX,use:()=>Ia,useActionState:()=>NX,useCallback:()=>P,useContext:()=>vt,useDebugValue:()=>hi,useDeferredValue:()=>FX,useEffect:()=>m,useEffectEvent:()=>jX,useId:()=>Gu,useImperativeHandle:()=>Jr,useInsertionEffect:()=>YN,useLayoutEffect:()=>Ue,useMemo:()=>N,useOptimistic:()=>BX,useReducer:()=>on,useRef:()=>_,useState:()=>u,useSyncExternalStore:()=>ro,useTransition:()=>UX,version:()=>Bs},{Activity:(WAt)=>CX=WAt,Children:(WAt)=>fc=WAt,Component:(WAt)=>Zs=WAt,Fragment:(WAt)=>Dn=WAt,Profiler:(WAt)=>IX=WAt,PureComponent:(WAt)=>RX=WAt,StrictMode:(WAt)=>n6=WAt,Suspense:(WAt)=>mi=WAt,__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE:(WAt)=>Yi=WAt,__COMPILER_RUNTIME:(WAt)=>PX=WAt,cache:(WAt)=>TX=WAt,cacheSignal:(WAt)=>AX=WAt,cloneElement:(WAt)=>ju=WAt,createContext:(WAt)=>mt=WAt,createElement:(WAt)=>q=WAt,createRef:(WAt)=>EX=WAt,forwardRef:(WAt)=>F=WAt,isValidElement:(WAt)=>ns=WAt,lazy:(WAt)=>DX=WAt,memo:(WAt)=>Hn=WAt,startTransition:(WAt)=>Mk=WAt,unstable_useCacheRefresh:(WAt)=>OX=WAt,use:(WAt)=>Ia=WAt,useActionState:(WAt)=>NX=WAt,useCallback:(WAt)=>P=WAt,useContext:(WAt)=>vt=WAt,useDebugValue:(WAt)=>hi=WAt,useDeferredValue:(WAt)=>FX=WAt,useEffect:(WAt)=>m=WAt,useEffectEvent:(WAt)=>jX=WAt,useId:(WAt)=>Gu=WAt,useImperativeHandle:(WAt)=>Jr=WAt,useInsertionEffect:(WAt)=>YN=WAt,useLayoutEffect:(WAt)=>Ue=WAt,useMemo:(WAt)=>N=WAt,useOptimistic:(WAt)=>BX=WAt,useReducer:(WAt)=>on=WAt,useRef:(WAt)=>_=WAt,useState:(WAt)=>u=WAt,useSyncExternalStore:(WAt)=>ro=WAt,useTransition:(WAt)=>UX=WAt,version:(WAt)=>Bs=WAt});function ibe(e){if(e===null||typeof e!=="object")return null;return e=xX&&e[xX]||e["@@iterator"],typeof e==="function"?e:null}function gk(e,r,a){this.props=e,this.context=r,this.refs=SX,this.updater=a||wX}function LX(){}function t6(e,r,a){this.props=e,this.context=r,this.refs=SX,this.updater=a||wX}function $B(){}function o6(e,r,a){var i=a.ref;return{$$typeof:e6,type:e,key:r,ref:i!==void 0?i:null,props:a}}function fbe(e,r){return o6(e.type,r,e.props)}function a6(e){return typeof e==="object"&&e!==null&&e.$$typeof===e6}function sbe(e){var r={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return r[a]})}function JB(e,r){return typeof e==="object"&&e!==null&&e.key!=null?sbe(""+e.key):r.toString(36)}function lbe(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status==="string"?e.then($B,$B):(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 hk(e,r,a,i,s){var l=typeof e;if(l==="undefined"||l==="boolean")e=null;var c=!1;if(e===null)c=!0;else switch(l){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case e6:case Xye:c=!0;break;case bX:return c=e._init,hk(c(e._payload),r,a,i,s)}}if(c)return s=s(e),c=i===""?"."+JB(e,0):i,vX(s)?(a="",c!=null&&(a=c.replace(_X,"$&/")+"/"),hk(s,r,a,"",function(x){return x})):s!=null&&(a6(s)&&(s=fbe(s,a+(s.key==null||e&&e.key===s.key?"":(""+s.key).replace(_X,"$&/")+"/")+c)),r.push(s)),1;c=0;var d=i===""?".":i+":";if(vX(e))for(var h=0;h<e.length;h++)i=e[h],l=d+JB(i,h),c+=hk(i,r,a,l,s);else if(h=ibe(e),typeof h==="function")for(e=h.call(e),h=0;!(i=e.next()).done;)i=i.value,l=d+JB(i,h++),c+=hk(i,r,a,l,s);else if(l==="object"){if(typeof e.then==="function")return hk(lbe(e),r,a,i,s);throw r=String(e),Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return c}function UN(e,r,a){if(e==null)return e;var i=[],s=0;return hk(e,i,"","",function(l){return r.call(a,l,s++)}),i}function cbe(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 e6,Xye,Qye,Jye,$ye,ebe,tbe,rbe,obe,abe,bX,nbe,xX,wX,zX,SX,r6,vX,tn,kX,_X,yX,ube,CX,fc,Zs,Dn,IX,RX,n6,mi,Yi,PX,TX=function(e){return function(){return e.apply(null,arguments)}},AX=function(){return null},ju=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=zX({},e.props),s=e.key;if(r!=null)for(l in r.key!==void 0&&(s=""+r.key),r)!kX.call(r,l)||l==="key"||l==="__self"||l==="__source"||l==="ref"&&r.ref===void 0||(i[l]=r[l]);var l=arguments.length-2;if(l===1)i.children=a;else if(1<l){for(var c=Array(l),d=0;d<l;d++)c[d]=arguments[d+2];i.children=c}return o6(e.type,s,i)},mt=function(e){return e={$$typeof:tbe,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:ebe,_context:e},e},q=function(e,r,a){var i,s={},l=null;if(r!=null)for(i in r.key!==void 0&&(l=""+r.key),r)kX.call(r,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(s[i]=r[i]);var c=arguments.length-2;if(c===1)s.children=a;else if(1<c){for(var d=Array(c),h=0;h<c;h++)d[h]=arguments[h+2];s.children=d}if(e&&e.defaultProps)for(i in c=e.defaultProps,c)s[i]===void 0&&(s[i]=c[i]);return o6(e,l,s)},EX=function(){return{current:null}},F=function(e){return{$$typeof:rbe,render:e}},ns,DX=function(e){return{$$typeof:bX,_payload:{_status:-1,_result:e},_init:cbe}},Hn=function(e,r){return{$$typeof:abe,type:e,compare:r===void 0?null:r}},Mk=function(e){var r=tn.T,a={};tn.T=a;try{var i=e(),s=tn.S;s!==null&&s(a,i),typeof i==="object"&&i!==null&&typeof i.then==="function"&&i.then($B,yX)}catch(l){yX(l)}finally{r!==null&&a.types!==null&&(r.types=a.types),tn.T=r}},OX=function(){return tn.H.useCacheRefresh()},Ia=function(e){return tn.H.use(e)},NX=function(e,r,a){return tn.H.useActionState(e,r,a)},P=function(e,r){return tn.H.useCallback(e,r)},vt=function(e){return tn.H.useContext(e)},hi=function(){},FX=function(e,r){return tn.H.useDeferredValue(e,r)},m=function(e,r){return tn.H.useEffect(e,r)},jX=function(e){return tn.H.useEffectEvent(e)},Gu=function(){return tn.H.useId()},Jr=function(e,r,a){return tn.H.useImperativeHandle(e,r,a)},YN=function(e,r){return tn.H.useInsertionEffect(e,r)},Ue=function(e,r){return tn.H.useLayoutEffect(e,r)},N=function(e,r){return tn.H.useMemo(e,r)},BX=function(e,r){return tn.H.useOptimistic(e,r)},on=function(e,r,a){return tn.H.useReducer(e,r,a)},_=function(e){return tn.H.useRef(e)},u=function(e){return tn.H.useState(e)},ro=function(e,r,a){return tn.H.useSyncExternalStore(e,r,a)},UX=function(){return tn.H.useTransition()},Bs="19.2.8";var E=Zm(()=>{e6=Symbol.for("react.transitional.element"),Xye=Symbol.for("react.portal"),Qye=Symbol.for("react.fragment"),Jye=Symbol.for("react.strict_mode"),$ye=Symbol.for("react.profiler"),ebe=Symbol.for("react.consumer"),tbe=Symbol.for("react.context"),rbe=Symbol.for("react.forward_ref"),obe=Symbol.for("react.suspense"),abe=Symbol.for("react.memo"),bX=Symbol.for("react.lazy"),nbe=Symbol.for("react.activity"),xX=Symbol.iterator;wX={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},zX=Object.assign,SX={};gk.prototype.isReactComponent={};gk.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")};gk.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};LX.prototype=gk.prototype;r6=t6.prototype=new LX;r6.constructor=t6;zX(r6,gk.prototype);r6.isPureReactComponent=!0;vX=Array.isArray;tn={H:null,A:null,T:null,S:null},kX=Object.prototype.hasOwnProperty;_X=/\/+/g;yX=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)},ube={map:UN,forEach:function(e,r,a){UN(e,function(){r.apply(this,arguments)},a)},count:function(e){var r=0;return UN(e,function(){r++}),r},toArray:function(e){return UN(e,function(r){return r})||[]},only:function(e){if(!a6(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};CX=nbe,fc=ube,Zs=gk,Dn=Qye,IX=$ye,RX=t6,n6=Jye,mi=obe,Yi=tn,PX={__proto__:null,c:function(e){return tn.H.useMemoCache(e)}},ns=a6});var fJ=w(function(uwe){E();function rwe(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var owe=typeof Object.is==="function"?Object.is:rwe,awe=u,nwe=m,iwe=Ue,fwe=hi;function swe(e,r){var a=r(),i=awe({inst:{value:a,getSnapshot:r}}),s=i[0].inst,l=i[1];return iwe(function(){s.value=a,s.getSnapshot=r,H6(s)&&l({inst:s})},[e,a,r]),nwe(function(){return H6(s)&&l({inst:s}),e(function(){H6(s)&&l({inst:s})})},[e]),fwe(a),a}function H6(e){var r=e.getSnapshot;e=e.value;try{var a=r();return!owe(e,a)}catch(i){return!0}}function lwe(e,r){return r()}var cwe=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?lwe:swe;uwe.useSyncExternalStore=ro!==void 0?ro:cwe});var Dz={};Um(Dz,{unstable_now:()=>no,unstable_IdlePriority:()=>Xi,unstable_ImmediatePriority:()=>_l,unstable_LowPriority:()=>L5,unstable_NormalPriority:()=>Us,unstable_Profiling:()=>BJ,unstable_UserBlockingPriority:()=>yl,unstable_cancelCallback:()=>bl,unstable_forceFrameRate:()=>UJ,unstable_getCurrentPriorityLevel:()=>k5,unstable_next:()=>YJ,unstable_requestPaint:()=>vl,unstable_runWithPriority:()=>ed,unstable_scheduleCallback:()=>zs,unstable_shouldYield:()=>wl,unstable_wrapCallback:()=>qJ},{unstable_now:(ijt)=>no=ijt,unstable_IdlePriority:(ijt)=>Xi=ijt,unstable_ImmediatePriority:(ijt)=>_l=ijt,unstable_LowPriority:(ijt)=>L5=ijt,unstable_NormalPriority:(ijt)=>Us=ijt,unstable_Profiling:(ijt)=>BJ=ijt,unstable_UserBlockingPriority:(ijt)=>yl=ijt,unstable_cancelCallback:(ijt)=>bl=ijt,unstable_forceFrameRate:(ijt)=>UJ=ijt,unstable_getCurrentPriorityLevel:(ijt)=>k5=ijt,unstable_next:(ijt)=>YJ=ijt,unstable_requestPaint:(ijt)=>vl=ijt,unstable_runWithPriority:(ijt)=>ed=ijt,unstable_scheduleCallback:(ijt)=>zs=ijt,unstable_shouldYield:(ijt)=>wl=ijt,unstable_wrapCallback:(ijt)=>qJ=ijt});function tU(e,r){var a=e.length;e.push(r);e:for(;0<a;){var i=a-1>>>1,s=e[i];if(0<y5(s,r))e[i]=r,e[a]=s,a=i;else break e}}function $u(e){return e.length===0?null:e[0]}function S5(e){if(e.length===0)return null;var r=e[0],a=e.pop();if(a!==r){e[0]=a;e:for(var i=0,s=e.length,l=s>>>1;i<l;){var c=2*(i+1)-1,d=e[c],h=c+1,x=e[h];if(0>y5(d,a))h<s&&0>y5(x,d)?(e[i]=x,e[h]=a,i=h):(e[i]=d,e[c]=a,i=c);else if(h<s&&0>y5(x,a))e[i]=x,e[h]=a,i=h;else break e}}return r}function y5(e,r){var a=e.sortIndex-r.sortIndex;return a!==0?a:e.id-r.id}function w5(e){for(var r=$u(p8);r!==null;){if(r.callback===null)S5(p8);else if(r.startTime<=e)S5(p8),r.sortIndex=r.expirationTime,tU(CZ,r);else break;r=$u(p8)}}function fU(e){if(c2=!1,w5(e),!l2)if($u(CZ)!==null)l2=!0,Dk||(Dk=!0,Ek());else{var r=$u(p8);r!==null&&sU(fU,r.startTime-e)}}function jJ(){return iU?!0:Dz.unstable_now()-FJ<NJ?!1:!0}function eU(){if(iU=!1,Dk){var e=Dz.unstable_now();FJ=e;var r=!0;try{e:{l2=!1,c2&&(c2=!1,OJ(u2),u2=-1),aU=!0;var a=Tf;try{t:{w5(e);for(lc=$u(CZ);lc!==null&&!(lc.expirationTime>e&&jJ());){var i=lc.callback;if(typeof i==="function"){lc.callback=null,Tf=lc.priorityLevel;var s=i(lc.expirationTime<=e);if(e=Dz.unstable_now(),typeof s==="function"){lc.callback=s,w5(e),r=!0;break t}lc===$u(CZ)&&S5(CZ),w5(e)}else S5(CZ);lc=$u(CZ)}if(lc!==null)r=!0;else{var l=$u(p8);l!==null&&sU(fU,l.startTime-e),r=!1}}break e}finally{lc=null,Tf=a,aU=!1}r=void 0}}finally{r?Ek():Dk=!1}}}function sU(e,r){u2=DJ(function(){e(Dz.unstable_now())},r)}var no=void 0,rU,b5,oU,CZ,p8,Pwe=1,lc=null,Tf=3,aU=!1,l2=!1,c2=!1,iU=!1,DJ,OJ,EJ,Dk=!1,u2=-1,NJ=5,FJ=-1,Ek,z5,nU,Xi=5,_l=1,L5=4,Us=3,BJ=null,yl=2,bl=function(e){e.callback=null},UJ=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"):NJ=0<e?Math.floor(1000/e):5},k5=function(){return Tf},YJ=function(e){switch(Tf){case 1:case 2:case 3:var r=3;break;default:r=Tf}var a=Tf;Tf=r;try{return e()}finally{Tf=a}},vl=function(){iU=!0},ed=function(e,r){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=Tf;Tf=e;try{return r()}finally{Tf=a}},zs=function(e,r,a){var i=Dz.unstable_now();switch(typeof a==="object"&&a!==null?(a=a.delay,a=typeof a==="number"&&0<a?i+a:i):a=i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5000}return s=a+s,e={id:Pwe++,callback:r,priorityLevel:e,startTime:a,expirationTime:s,sortIndex:-1},a>i?(e.sortIndex=a,tU(p8,e),$u(CZ)===null&&e===$u(p8)&&(c2?(OJ(u2),u2=-1):c2=!0,sU(fU,a-i))):(e.sortIndex=s,tU(CZ,e),l2||aU||(l2=!0,Dk||(Dk=!0,Ek()))),e},wl,qJ=function(e){var r=Tf;return function(){var a=Tf;Tf=r;try{return e.apply(this,arguments)}finally{Tf=a}}};var td=Zm(()=>{if(typeof performance==="object"&&typeof performance.now==="function")rU=performance,no=function(){return rU.now()};else b5=Date,oU=b5.now(),no=function(){return b5.now()-oU};CZ=[],p8=[],DJ=typeof setTimeout==="function"?setTimeout:null,OJ=typeof clearTimeout==="function"?clearTimeout:null,EJ=typeof setImmediate<"u"?setImmediate:null;if(typeof EJ==="function")Ek=function(){EJ(eU)};else if(typeof MessageChannel<"u")z5=new MessageChannel,nU=z5.port2,z5.port1.onmessage=eU,Ek=function(){nU.postMessage(null)};else Ek=function(){DJ(eU,0)};wl=jJ});var Rxe=w(function(nBn,Ixe){var Sxe=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,kIt=/\n/g,CIt=/^\s*/,IIt=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,RIt=/^:\s*/,PIt=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,TIt=/^[;\s]*/,AIt=/^\s+|\s+$/g,EIt=`
|
|
2
|
-
`,Lxe="/",kxe="*",fk="",DIt="comment",OIt="declaration";function NIt(e,r){if(typeof e!=="string")throw TypeError("First argument must be a string");if(!e)return[];r=r||{};var a=1,i=1;function s(T){var D=T.match(kIt);if(D)a+=D.length;var U=T.lastIndexOf(EIt);i=~U?T.length-U:i+T.length}function l(){var T={line:a,column:i};return function(D){return D.position=new c(T),x(),D}}function c(T){this.start=T,this.end={line:a,column:i},this.source=r.source}c.prototype.content=e;function d(T){var D=Error(r.source+":"+a+":"+i+": "+T);if(D.reason=T,D.filename=r.source,D.line=a,D.column=i,D.source=e,r.silent);else throw D}function h(T){var D=T.exec(e);if(!D)return;var U=D[0];return s(U),e=e.slice(U.length),D}function x(){h(CIt)}function v(T){var D;T=T||[];while(D=y())if(D!==!1)T.push(D);return T}function y(){var T=l();if(Lxe!=e.charAt(0)||kxe!=e.charAt(1))return;var D=2;while(fk!=e.charAt(D)&&(kxe!=e.charAt(D)||Lxe!=e.charAt(D+1)))++D;if(D+=2,fk===e.charAt(D-1))return d("End of comment missing");var U=e.slice(2,D-2);return i+=2,s(U),e=e.slice(D),i+=2,T({type:DIt,comment:U})}function k(){var T=l(),D=h(IIt);if(!D)return;if(y(),!h(RIt))return d("property missing ':'");var U=h(PIt),A=T({type:OIt,property:Cxe(D[0].replace(Sxe,fk)),value:U?Cxe(U[0].replace(Sxe,fk)):fk});return h(TIt),A}function b(){var T=[];v(T);var D;while(D=k())if(D!==!1)T.push(D),v(T);return T}return x(),b()}function Cxe(e){return e?e.replace(AIt,fk):fk}Ixe.exports=NIt});var Pxe=w(function(MN){var FIt=MN&&MN.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(MN,"__esModule",{value:!0});MN.default=BIt;var jIt=FIt(Rxe());function BIt(e,r){let a=null;if(!e||typeof e!=="string")return a;let i=(0,jIt.default)(e),s=typeof r==="function";return i.forEach((l)=>{if(l.type!=="declaration")return;let{property:c,value:d}=l;if(s)r(c,d,l);else if(d)a=a||{},a[c]=d}),a}});var Dxe=w(function(Axe){Object.defineProperty(Axe,"__esModule",{value:!0});Axe.camelCase=void 0;var UIt=/^--[a-zA-Z0-9_-]+$/,YIt=/-([a-z])/g,qIt=/^[^-]+$/,HIt=/^-(webkit|moz|ms|o|khtml)-/,VIt=/^-(ms)-/,WIt=function(e){return!e||qIt.test(e)||UIt.test(e)},GIt=function(e,r){return r.toUpperCase()},Txe=function(e,r){return"".concat(r,"-")},KIt=function(e,r){if(r===void 0)r={};if(WIt(e))return e;if(e=e.toLowerCase(),r.reactCompat)e=e.replace(VIt,Txe);else e=e.replace(HIt,Txe);return e.replace(YIt,GIt)};Axe.camelCase=KIt});var Nxe=w(function(oK,Oxe){var XIt=oK&&oK.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},QIt=XIt(Pxe()),JIt=Dxe();function rK(e,r){var a={};if(!e||typeof e!=="string")return a;return(0,QIt.default)(e,function(i,s){if(i&&s)a[(0,JIt.camelCase)(i,r)]=s}),a}rK.default=rK;Oxe.exports=rK});var l_e=w(function(Kqn,s_e){var yB=Object.prototype.hasOwnProperty,f_e=Object.prototype.toString,{defineProperty:t_e,getOwnPropertyDescriptor:r_e}=Object,o_e=function(r){if(typeof Array.isArray==="function")return Array.isArray(r);return f_e.call(r)==="[object Array]"},a_e=function(r){if(!r||f_e.call(r)!=="[object Object]")return!1;var a=yB.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&yB.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!a&&!i)return!1;var s;for(s in r);return typeof s>"u"||yB.call(r,s)},n_e=function(r,a){if(t_e&&a.name==="__proto__")t_e(r,a.name,{enumerable:!0,configurable:!0,value:a.newValue,writable:!0});else r[a.name]=a.newValue},i_e=function(r,a){if(a==="__proto__"){if(!yB.call(r,a))return;else if(r_e)return r_e(r,a).value}return r[a]};s_e.exports=function e(){var r,a,i,s,l,c,d=arguments[0],h=1,x=arguments.length,v=!1;if(typeof d==="boolean")v=d,d=arguments[1]||{},h=2;if(d==null||typeof d!=="object"&&typeof d!=="function")d={};for(;h<x;++h)if(r=arguments[h],r!=null){for(a in r)if(i=i_e(d,a),s=i_e(r,a),d!==s){if(v&&s&&(a_e(s)||(l=o_e(s)))){if(l)l=!1,c=i&&o_e(i)?i:[];else c=i&&a_e(i)?i:{};n_e(d,{name:a,newValue:e(v,c,s)})}else if(typeof s<"u")n_e(d,{name:a,newValue:s})}}return d}});var SP={};qe(SP,{bigint:()=>KLt,boolean:()=>GLt,date:()=>XLt,number:()=>WLt,string:()=>VLt});var LG={};qe(LG,{CaptionLabel:()=>DCt,Chevron:()=>OCt,Day:()=>NCt,DayButton:()=>FCt,Dropdown:()=>jCt,DropdownNav:()=>BCt,Footer:()=>UCt,Month:()=>YCt,MonthCaption:()=>qCt,MonthGrid:()=>HCt,Months:()=>VCt,MonthsDropdown:()=>WCt,Nav:()=>GCt,NextMonthButton:()=>KCt,Option:()=>XCt,PreviousMonthButton:()=>QCt,Root:()=>JCt,Select:()=>$Ct,Week:()=>eIt,WeekNumber:()=>oIt,WeekNumberHeader:()=>aIt,Weekday:()=>tIt,Weekdays:()=>rIt,Weeks:()=>nIt,YearsDropdown:()=>iIt});var kG={};qe(kG,{formatCaption:()=>fIt,formatDay:()=>sIt,formatMonthDropdown:()=>lIt,formatWeekNumber:()=>uIt,formatWeekNumberHeader:()=>dIt,formatWeekdayName:()=>cIt,formatYearDropdown:()=>ZIt});var jG={};qe(jG,{labelDayButton:()=>CG,labelGrid:()=>IG,labelGridcell:()=>RG,labelMonthDropdown:()=>PG,labelNav:()=>TG,labelNext:()=>AG,labelPrevious:()=>EG,labelWeekNumber:()=>OG,labelWeekNumberHeader:()=>NG,labelWeekday:()=>DG,labelYearDropdown:()=>FG});var gN={};qe(gN,{boolean:()=>Qr,booleanish:()=>Un,commaOrSpaceSeparated:()=>ul,commaSeparated:()=>XM,number:()=>Jt,overloadedBoolean:()=>Kj,spaceSeparated:()=>ua});var wK={};qe(wK,{attentionMarkers:()=>ORt,contentInitial:()=>RRt,disable:()=>NRt,document:()=>IRt,flow:()=>TRt,flowInitial:()=>PRt,insideSpan:()=>DRt,string:()=>ARt,text:()=>ERt});E();var dbe=Symbol.for("react.transitional.element"),Zbe=Symbol.for("react.fragment");function YX(e,r,a){var i=null;if(a!==void 0&&(i=""+a),r.key!==void 0&&(i=""+r.key),"key"in r){a={};for(var s in r)s!=="key"&&(a[s]=r[s])}else a=r;return r=a.ref,{$$typeof:dbe,type:e,key:i,ref:r!==void 0?r:null,props:a}}var L=Zbe,t=YX,o=YX;var i6=mt(void 0),G=(e)=>{let r=vt(i6);if(e)return e;if(!r)throw Error("No QueryClient set, use QueryClientProvider to set one");return r},f6=({client:e,children:r})=>(m(()=>(e.mount(),()=>{e.unmount()}),[e]),t(i6.Provider,{value:e,children:r}));E();var qX=mt(!1),Vu=()=>vt(qX),QAt=qX.Provider;E();function pbe(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var mbe=mt(pbe()),Qu=()=>vt(mbe);E();var hbe={setTimeout:(e,r)=>setTimeout(e,r),clearTimeout:(e)=>clearTimeout(e),setInterval:(e,r)=>setInterval(e,r),clearInterval:(e)=>clearInterval(e)},gbe=class{#e=hbe;#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)}},Bu=new gbe;function HX(e){setTimeout(e,0)}var l6=typeof window>"u"||"Deno"in globalThis;function xr(){}function GX(e,r){return typeof e==="function"?e(r):e}function qN(e){return typeof e==="number"&&e>=0&&e!==1/0}function HN(e,r){return Math.max(e+(r||0)-Date.now(),0)}function rn(e,r){return typeof e==="function"?e(r):e}function VN(e,r){let{type:a="all",exact:i,fetchStatus:s,predicate:l,queryKey:c,stale:d}=e;if(c){if(i){if(r.queryHash!==KP(c,r.options))return!1}else if(!$M(r.queryKey,c))return!1}if(a!=="all"){let h=r.isActive();if(a==="active"&&!h)return!1;if(a==="inactive"&&h)return!1}if(typeof d==="boolean"&&r.isStale()!==d)return!1;if(s&&s!==r.state.fetchStatus)return!1;if(l&&!l(r))return!1;return!0}function WN(e,r){let{exact:a,status:i,predicate:s,mutationKey:l}=e;if(l){if(!r.options.mutationKey)return!1;if(a){if(Uu(r.options.mutationKey)!==Uu(l))return!1}else if(!$M(r.options.mutationKey,l))return!1}if(i&&r.state.status!==i)return!1;if(s&&!s(r))return!1;return!0}function KP(e,r){return(r?.queryKeyHashFn||Uu)(e)}function Uu(e){return JSON.stringify(e,(r,a)=>s6(a)?Object.keys(a).sort().reduce((i,s)=>(i[s]=a[s],i),{}):a)}function $M(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(!$M(e[i],r[i]))return!1;return!0}let a=Object.keys(r);for(let i of a)if(!$M(e[i],r[i]))return!1;return!0}return!1}var Mbe=Object.prototype.hasOwnProperty;function Bc(e,r,a=0){if(e===r)return e;if(a>500)return r;let i=VX(e)&&VX(r);if(!i&&!(s6(e)&&s6(r)))return r;let s=(i?e:Object.keys(e)).length,l=i?r:Object.keys(r),c=l.length,d=i?Array(c):{},h=0;for(let x=0;x<c;x++){let v=i?x:l[x],y=e[v],k=r[v];if(y===k){if(d[v]=y,i?x<s:Mbe.call(e,v))h++;continue}if(y===null||k===null||typeof y!=="object"||typeof k!=="object"){d[v]=k;continue}let b=Bc(y,k,a+1);if(d[v]=b,b===y)h++}return s===c&&h===s?e:d}function Ji(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 VX(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function s6(e){if(!WX(e))return!1;let r=e.constructor;if(r===void 0)return!0;let a=r.prototype;if(!WX(a))return!1;if(!a.hasOwnProperty("isPrototypeOf"))return!1;if(Object.getPrototypeOf(e)!==Object.prototype)return!1;return!0}function WX(e){return Object.prototype.toString.call(e)==="[object Object]"}function KX(e){return new Promise((r)=>{Bu.setTimeout(r,e)})}function XP(e,r,a){if(typeof a.structuralSharing==="function")return a.structuralSharing(e,r);else if(a.structuralSharing!==!1)return Bc(e,r);return r}function Ta(e){return e}function XX(e,r,a=0){let i=[...e,r];return a&&i.length>a?i.slice(1):i}function QX(e,r,a=0){let i=[r,...e];return a&&i.length>a?i.slice(0,-1):i}var xk=Symbol();function GN(e,r){if(!e.queryFn&&r?.initialPromise)return()=>r.initialPromise;if(!e.queryFn||e.queryFn===xk)return()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`));return e.queryFn}function vk(e,r){if(typeof e==="function")return e(...r);return!!e}function JX(e,r,a){let i=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(s??=r(),i)return s;if(i=!0,s.aborted)a();else s.addEventListener("abort",a,{once:!0});return s}}),e}var xbe=()=>l6,_k=()=>xbe();var So=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 vbe=class extends So{#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"}},yk=new vbe;var $X=HX;function _be(){let e=[],r=0,a=(d)=>{d()},i=(d)=>{d()},s=$X,l=(d)=>{if(r)e.push(d);else s(()=>{a(d)})},c=()=>{let d=e;if(e=[],d.length)s(()=>{i(()=>{d.forEach((h)=>{a(h)})})})};return{batch:(d)=>{let h;r++;try{h=d()}finally{if(r--,!r)c()}return h},batchCalls:(d)=>(...h)=>{l(()=>{d(...h)})},schedule:l,setNotifyFunction:(d)=>{a=d},setBatchNotifyFunction:(d)=>{i=d},setScheduler:(d)=>{s=d}}}var $t=_be();var ybe=class extends So{#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}},bk=new ybe;function bbe(e){return Math.min(1000*2**e,30000)}function c6(e){return(e??"online")==="online"?bk.isOnline():!0}var KN=class extends Error{constructor(e){super("CancelledError");this.revert=e?.revert,this.silent=e?.silent}};function XN(e){let r=!1,a=0,i,s="pending",l,c,d=new Promise((j,V)=>{l=j,c=V});d.catch(xr);let h=()=>s!=="pending",x=(j)=>{if(!h()){let V=new KN(j);D(V),e.onCancel?.(V)}},v=()=>{r=!0},y=()=>{r=!1},k=()=>yk.isFocused()&&(e.networkMode==="always"||bk.isOnline())&&e.canRun(),b=()=>c6(e.networkMode)&&e.canRun(),T=(j)=>{if(!h())i?.(),s="resolved",l(j)},D=(j)=>{if(!h())i?.(),s="rejected",c(j)},U=()=>new Promise((j)=>{i=(V)=>{if(h()||k())j(V)},e.onPause?.()}).then(()=>{if(i=void 0,!h())e.onContinue?.()}),A=()=>{if(h())return;let j,V=a===0?e.initialPromise:void 0;try{j=V??e.fn()}catch(J){j=Promise.reject(J)}Promise.resolve(j).then(T).catch((J)=>{if(h())return;let ee=e.retry??(_k()?0:3),te=e.retryDelay??bbe,re=typeof te==="function"?te(a,J):te,ae=ee===!0||typeof ee==="number"&&a<ee||typeof ee==="function"&&ee(a,J);if(r||!ae){D(J);return}a++,e.onFail?.(a,J),KX(re).then(()=>k()?void 0:U()).then(()=>{if(r)D(J);else A()})})};return{promise:d,status:()=>s,cancel:x,continue:()=>(i?.(),d),cancelRetry:v,continueRetry:y,canStart:b,start:()=>{if(b())A();else U().then(A);return d}}}var QN=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){if(this.clearGcTimeout(),qN(this.gcTime))this.#e=Bu.setTimeout(()=>{this.optionalRemove()},this.gcTime)}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(_k()?1/0:300000))}clearGcTimeout(){if(this.#e!==void 0)Bu.clearTimeout(this.#e),this.#e=void 0}};function eQ(e){return{onFetch:(r,a)=>{let i=r.options,s=r.fetchOptions?.meta?.fetchMore?.direction,l=r.state.data?.pages||[],c=r.state.data?.pageParams||[],d={pages:[],pageParams:[]},h=0,x=async()=>{let v=!1,y=(T)=>{JX(T,()=>r.signal,()=>v=!0)},k=GN(r.options,r.fetchOptions),b=async(T,D,U)=>{if(v)return Promise.reject(r.signal.reason);if(D==null&&T.pages.length)return Promise.resolve(T);let j=(()=>{let te={client:r.client,queryKey:r.queryKey,pageParam:D,direction:U?"backward":"forward",meta:r.options.meta};return y(te),te})(),V=await k(j),{maxPages:J}=r.options,ee=U?QX:XX;return{pages:ee(T.pages,V,J),pageParams:ee(T.pageParams,D,J)}};if(s&&l.length){let T=s==="backward",D=T?tQ:u6,U={pages:l,pageParams:c};d=await b(U,D(i,U),T)}else{let T=e??l.length;do{let D=h===0?c[0]??i.initialPageParam:u6(i,d);if(h>0&&D==null)break;d=await b(d,D),h++}while(h<T)}return d};if(r.options.persister)r.fetchFn=()=>r.options.persister?.(x,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},a);else r.fetchFn=x}}}function u6(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 tQ(e,{pages:r,pageParams:a}){return r.length>0?e.getPreviousPageParam?.(r[0],r,a[0],a):void 0}function rQ(e,r){if(!r)return!1;return u6(e,r)!=null}function oQ(e,r){if(!r||!e.getPreviousPageParam)return!1;return tQ(e,r)!=null}var iQ=class extends QN{#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=nQ(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=nQ(this.options);if(r.data!==void 0)this.setState(aQ(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=XP(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(xr).catch(xr):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)=>rn(e.options.enabled,this)!==!1)}isDisabled(){if(this.getObserversCount()>0)return!this.isActive();return this.options.queryFn===xk||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){if(this.getObserversCount()>0)return this.observers.some((e)=>rn(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!HN(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 h=this.observers.find((x)=>x.options.queryFn);if(h)this.setOptions(h.options)}let a=new AbortController,i=(h)=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(this.#s=!0,a.signal)})},s=()=>{let h=GN(this.options,r),v=(()=>{let y={client:this.#n,queryKey:this.queryKey,meta:this.meta};return i(y),y})();if(this.#s=!1,this.options.persister)return this.options.persister(h,v,this);return h(v)},c=(()=>{let h={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#n,state:this.state,fetchFn:s};return i(h),h})();if((this.#e==="infinite"?eQ(this.options.pages):this.options.behavior)?.onFetch(c,this),this.#r=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==c.fetchOptions?.meta)this.#f({type:"fetch",meta:c.fetchOptions?.meta});let d=this.#a=XN({initialPromise:r?.initialPromise,fn:c.fetchFn,onCancel:(h)=>{if(h instanceof KN&&h.revert)this.setState({...this.#r,fetchStatus:"idle"});a.abort()},onFail:(h,x)=>{this.#f({type:"failed",failureCount:h,error:x})},onPause:()=>{this.#f({type:"pause"})},onContinue:()=>{this.#f({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0});try{let h=await d.start();if(h===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(h),this.#o.config.onSuccess?.(h,this),this.#o.config.onSettled?.(h,this.state.error,this),h}catch(h){if(h instanceof KN){if(h.silent)return this.#a.promise;else if(h.revert){if(this.state.data===void 0)throw h;return this.state.data}}throw this.#f({type:"error",error:h}),this.#o.config.onError?.(h,this),this.#o.config.onSettled?.(this.state.data,h,this),h}finally{if(this.#a===d)this.#a=void 0;this.scheduleGc()}}#f(e){let r=(a)=>{switch(e.type){case"failed":return{...a,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...d6(a.data,this.options),fetchMeta:e.meta??null};case"success":let i={...a,...aQ(e.data,e.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#r=e.manual?i:void 0,i;case"error":let s=e.error;return{...a,error:s,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...e.state}}};this.state=r(this.state),$t.batch(()=>{this.observers.slice().forEach((a)=>{a.onQueryUpdate()}),this.#o.notify({query:this,type:"updated",action:e})})}};function d6(e,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:c6(r.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function aQ(e,r){return{data:e,dataUpdatedAt:r??Date.now(),error:null,isInvalidated:!1,status:"success"}}function nQ(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 Yo=class extends So{#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),fQ(this.#t,this.options))this.#d();else this.updateResult();this.#x()}}onUnsubscribe(){if(!this.hasListeners())this.destroy()}shouldFetchOnReconnect(){return Z6(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Z6(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#v(),this.#_(),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 rn(this.options.enabled,this.#t)!=="boolean")throw Error("Expected enabled to be a boolean or a callback that returns a boolean");if(this.#y(),this.#t.setOptions(this.options),r._defaulted&&!Ji(this.options,r))this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});let i=this.hasListeners();if(i&&sQ(this.#t,a,this.options,r))this.#d();if(this.updateResult(),i&&(this.#t!==a||rn(this.options.enabled,this.#t)!==rn(r.enabled,this.#t)||rn(this.options.staleTime,this.#t)!==rn(r.staleTime,this.#t)))this.#h();let s=this.#g();if(i&&(this.#t!==a||rn(this.options.enabled,this.#t)!==rn(r.enabled,this.#t)||s!==this.#l))this.#M(s)}getOptimisticResult(e){let r=this.#e.getQueryCache().build(this.#e,e),a=this.createResult(r,e);if(!Ji(this.getCurrentResult(),a))this.#o=a,this.#a=this.options,this.#n=this.#t.state;return a}getCurrentResult(){return this.#o}trackResult(e,r){return new Proxy(e,{get:(a,i)=>(this.trackProp(i),r?.(i),Reflect.get(a,i))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let r=this.#e.defaultQueryOptions(e),a=this.#e.getQueryCache().build(this.#e,r),i=()=>{},s,l=new Promise((c)=>{s=c,i=this.#e.getQueryCache().subscribe((d)=>{if(d.type==="updated"&&d.query.queryHash===a.queryHash&&a.state.data!==void 0)i(),c(this.createResult(a,r))})});return Promise.race([a.fetch().then(()=>{let c=this.createResult(a,r);return s?.(c),c}).finally(()=>{i()}),l])}fetch(e){return this.#d({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#o))}#d(e){this.#y();let r=this.#t.fetch(this.options,e);if(!e?.throwOnError)r=r.catch(xr);return r}#m(e){return!_k()&&rn(this.options.enabled,this.#t)!==!1&&qN(e)}#h(){this.#v();let e=rn(this.options.staleTime,this.#t);if(this.#o.isStale||!this.#m(e))return;let r=HN(this.#o.dataUpdatedAt,e)+1;this.#c=Bu.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.#_(),this.#l=e,this.#l===0||!this.#m(this.#l))return;this.#u=Bu.setInterval(()=>{if(this.options.refetchIntervalInBackground||yk.isFocused())this.#d()},this.#l)}#x(){this.#h(),this.#M(this.#g())}#v(){if(this.#c!==void 0)Bu.clearTimeout(this.#c),this.#c=void 0}#_(){if(this.#u!==void 0)Bu.clearInterval(this.#u),this.#u=void 0}createResult(e,r){let a=this.#t,i=this.options,s=this.#o,l=this.#n,c=this.#a,d=e!==a?e.state:this.#r,{state:h}=e,x={...h},v=!1,y;if(r._optimisticResults){let ee=this.hasListeners(),te=!ee&&fQ(e,r),re=ee&&sQ(e,a,r,i);if(te||re)x={...x,...d6(h.data,e.options)};if(r._optimisticResults==="isRestoring")x.fetchStatus="idle"}let{error:k,errorUpdatedAt:b,status:T}=x;y=x.data;let D=!1;if(r.placeholderData!==void 0&&y===void 0&&T==="pending"){let ee;if(s?.isPlaceholderData&&r.placeholderData===c?.placeholderData)ee=s.data,D=!0;else ee=typeof r.placeholderData==="function"?r.placeholderData(this.#Z?.state.data,this.#Z):r.placeholderData;if(ee!==void 0)T="success",y=XP(s?.data,ee,r),v=!0}if(r.select&&y!==void 0&&!D)if(s&&y===l?.data&&r.select===this.#s)y=this.#f;else try{this.#s=r.select,y=r.select(y),y=XP(s?.data,y,r),this.#f=y,this.#i=null}catch(ee){this.#i=ee}else if(y===void 0)this.#i=null;if(this.#i)k=this.#i,y=this.#f,b=Date.now(),T="error",v=!1;let U=x.fetchStatus==="fetching",A=T==="pending",j=T==="error",V=A&&U,J=y!==void 0;return{status:T,fetchStatus:x.fetchStatus,isPending:A,isSuccess:T==="success",isError:j,isInitialLoading:V,isLoading:V,data:y,dataUpdatedAt:x.dataUpdatedAt,error:k,errorUpdatedAt:b,failureCount:x.fetchFailureCount,failureReason:x.fetchFailureReason,errorUpdateCount:x.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:x.dataUpdateCount>d.dataUpdateCount||x.errorUpdateCount>d.errorUpdateCount,isFetching:U,isRefetching:U&&!A,isLoadingError:j&&!J,isPaused:x.fetchStatus==="paused",isPlaceholderData:v,isRefetchError:j&&J,isStale:p6(e,r),refetch:this.refetch,isEnabled:rn(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(Ji(r,e))return;this.#o=r;let i=(()=>{if(!e)return!0;let{notifyOnChangeProps:s}=this.options,l=typeof s==="function"?s():s;if(l==="all"||!l&&!this.#p.size)return!0;let c=new Set(l??this.#p);if(this.options.throwOnError)c.add("error");return Object.keys(this.#o).some((d)=>{let h=d;return this.#o[h]!==e[h]&&c.has(h)})})();$t.batch(()=>{if(i)this.listeners.forEach((s)=>{s(this.#o)});this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}#y(){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.#x()}};function wbe(e,r){return rn(r.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&rn(r.retryOnMount,e)===!1)}function fQ(e,r){return wbe(e,r)||e.state.data!==void 0&&Z6(e,r,r.refetchOnMount)}function Z6(e,r,a){if(rn(r.enabled,e)!==!1&&rn(r.staleTime,e)!=="static"){let i=typeof a==="function"?a(e):a;return i==="always"||i!==!1&&p6(e,r)}return!1}function sQ(e,r,a,i){return(e!==r||rn(i.enabled,e)===!1)&&(!a.suspense||e.state.status!=="error")&&p6(e,a)}function p6(e,r){return rn(r.enabled,e)!==!1&&e.isStaleByTime(rn(r.staleTime,e))}var m6=class extends Yo{constructor(e,r){super(e,r)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,r){let{state:a}=e,i=super.createResult(e,r),{isFetching:s,isRefetching:l,isError:c,isRefetchError:d}=i,h=a.fetchMeta?.fetchMore?.direction,x=c&&h==="forward",v=s&&h==="forward",y=c&&h==="backward",k=s&&h==="backward";return{...i,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:rQ(r,a.data),hasPreviousPage:oQ(r,a.data),isFetchNextPageError:x,isFetchingNextPage:v,isFetchPreviousPageError:y,isFetchingPreviousPage:k,isRefetchError:d&&!x&&!y,isRefetching:l&&!v&&!k}}};var lQ=class extends QN{#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||h6(),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=XN({fn:()=>{if(!this.options.mutationFn)return Promise.reject(Error("No mutationFn found"));return this.options.mutationFn(e,a)},onFail:(c,d)=>{this.#n({type:"failed",failureCount:c,error:d})},onPause:()=>{this.#n({type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#r.canRun(this)}),s=this.state.status==="pending",l=!i.canStart();try{if(s)r();else{if(this.#n({type:"pending",variables:e,isPaused:l}),this.#r.config.onMutate)await this.#r.config.onMutate(e,this,a);let d=await this.options.onMutate?.(e,a);if(d!==this.state.context)this.#n({type:"pending",context:d,variables:e,isPaused:l})}let c=await i.start();return await this.#r.config.onSuccess?.(c,e,this.state.context,this,a),await this.options.onSuccess?.(c,e,this.state.context,a),await this.#r.config.onSettled?.(c,null,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(c,null,e,this.state.context,a),this.#n({type:"success",data:c}),c}catch(c){try{await this.#r.config.onError?.(c,e,this.state.context,this,a)}catch(d){Promise.reject(d)}try{await this.options.onError?.(c,e,this.state.context,a)}catch(d){Promise.reject(d)}try{await this.#r.config.onSettled?.(void 0,c,this.state.variables,this.state.context,this,a)}catch(d){Promise.reject(d)}try{await this.options.onSettled?.(void 0,c,e,this.state.context,a)}catch(d){Promise.reject(d)}throw this.#n({type:"error",error:c}),c}finally{if(this.#o===i)this.#o=void 0;this.#r.runNext(this)}}#n(e){let r=(a)=>{switch(e.type){case"failed":return{...a,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...a,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:e.error,failureCount:a.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=r(this.state),$t.batch(()=>{this.#t.forEach((a)=>{a.onMutationUpdate(e)}),this.#r.notify({mutation:this,type:"updated",action:e})})}};function h6(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var cQ=class extends So{#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 lQ({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=JN(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=JN(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=JN(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=JN(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(){$t.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)=>WN(r,a))}findAll(e={}){return this.getAll().filter((r)=>WN(e,r))}notify(e){$t.batch(()=>{this.listeners.forEach((r)=>{r(e)})})}resumePausedMutations(){let e=this.getAll().filter((r)=>r.state.isPaused);return $t.batch(()=>Promise.all(e.map((r)=>r.continue().catch(xr))))}};function JN(e){return e.options.scope?.id}var g6=class extends So{#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),!Ji(this.options,r))this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#r,observer:this});if(r?.mutationKey&&this.options.mutationKey&&Uu(r.mutationKey)!==Uu(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??h6();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){$t.batch(()=>{if(this.#o&&this.hasListeners()){let r=this.#t.variables,a=this.#t.context,i={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type==="success"){try{this.#o.onSuccess?.(e.data,r,a,i)}catch(s){Promise.reject(s)}try{this.#o.onSettled?.(e.data,null,r,a,i)}catch(s){Promise.reject(s)}}else if(e?.type==="error"){try{this.#o.onError?.(e.error,r,a,i)}catch(s){Promise.reject(s)}try{this.#o.onSettled?.(void 0,e.error,r,a,i)}catch(s){Promise.reject(s)}}}this.listeners.forEach((r)=>{r(this.#t)})})}};var uQ=class extends So{#e;constructor(e={}){super();this.config=e,this.#e=new Map}build(e,r,a){let i=r.queryKey,s=r.queryHash??KP(i,r),l=this.get(s);if(!l)l=new iQ({client:e,queryKey:i,queryHash:s,options:e.defaultQueryOptions(r),state:a,defaultOptions:e.getQueryDefaults(i)}),this.add(l);return l}add(e){if(!this.#e.has(e.queryHash))this.#e.set(e.queryHash,e),this.notify({type:"added",query:e})}remove(e){let r=this.#e.get(e.queryHash);if(r){if(e.destroy(),r===e)this.#e.delete(e.queryHash);this.notify({type:"removed",query:e})}}clear(){$t.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)=>VN(r,a))}findAll(e={}){let r=this.getAll();return Object.keys(e).length>0?r.filter((a)=>VN(e,a)):r}notify(e){$t.batch(()=>{this.listeners.forEach((r)=>{r(e)})})}onFocus(){$t.batch(()=>{this.getAll().forEach((e)=>{e.onFocus()})})}onOnline(){$t.batch(()=>{this.getAll().forEach((e)=>{e.onOnline()})})}};var M6=class{#e;#t;#r;#o;#n;#a;#i;#s;constructor(e={}){this.#e=e.queryCache||new uQ,this.#t=e.mutationCache||new cQ,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=yk.subscribe(async(e)=>{if(e)await this.resumePausedMutations(),this.#e.onFocus()}),this.#s=bk.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(rn(r.staleTime,a)))this.prefetchQuery(r);return Promise.resolve(i)}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:r,state:a})=>[r,a.data])}setQueryData(e,r,a){let i=this.defaultQueryOptions({queryKey:e}),s=this.#e.get(i.queryHash)?.state.data,l=GX(r,s);if(l===void 0)return;return this.#e.build(this,i).setData(l,{...a,manual:!0})}setQueriesData(e,r,a){return $t.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;$t.batch(()=>{r.findAll(e).forEach((a)=>{r.remove(a)})})}resetQueries(e,r){let a=this.#e;return $t.batch(()=>{let i=a.findAll(e),s=new Set(i);return i.forEach((l)=>{l.reset()}),this.refetchQueries({type:"active",predicate:(l)=>s.has(l)},r)})}cancelQueries(e,r={}){let a={revert:!0,...r},i=$t.batch(()=>this.#e.findAll(e).map((s)=>s.cancel(a)));return Promise.all(i).then(xr).catch(xr)}invalidateQueries(e,r={}){return $t.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=$t.batch(()=>this.#e.findAll(e).filter((s)=>!s.isDisabled()&&!s.isStatic()).map((s)=>{let l=s.fetch(void 0,a);if(!a.throwOnError)l=l.catch(xr);return s.state.fetchStatus==="paused"?Promise.resolve():l}));return Promise.all(i).then(xr)}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(rn(r.staleTime,a))?await a.fetch(r):a.state.data,s=r.select;if(s)return s(i);return i}fetchQuery(e){let r=this.defaultQueryOptions(e);if(r.retry===void 0)r.retry=!1;let a=this.#e.build(this,r);return a.isStaleByTime(rn(r.staleTime,a))?a.fetch(r):Promise.resolve(a.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(xr).catch(xr)}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(xr).catch(xr)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){if(bk.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(Uu(e),{queryKey:e,defaultOptions:r})}getQueryDefaults(e){let r=[...this.#o.values()],a={};return r.forEach((i)=>{if($M(e,i.queryKey))Object.assign(a,i.defaultOptions)}),a}setMutationDefaults(e,r){this.#n.set(Uu(e),{mutationKey:e,defaultOptions:r})}getMutationDefaults(e){let r=[...this.#n.values()],a={};return r.forEach((i)=>{if($M(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=KP(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===xk)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 Ku=(e,r,a)=>{let i=a?.state.error&&typeof e.throwOnError==="function"?vk(e.throwOnError,[a.state.error,a]):e.throwOnError;if(e.suspense||i){if(!r.isReset())e.retryOnMount=!1}},Wu=(e)=>{m(()=>{e.clearReset()},[e])},Yu=({result:e,errorResetBoundary:r,throwOnError:a,query:i,suspense:s})=>e.isError&&!r.isReset()&&!e.isFetching&&i&&(s&&e.data===void 0||vk(a,[e.error,i]));var zm=(e,r)=>r.state.data===void 0,Ju=(e)=>{if(e.suspense){let a=(s)=>s==="static"?s:Math.max(s??1000,1000),i=e.staleTime;if(e.staleTime=typeof i==="function"?(...s)=>a(i(...s)):a(i),typeof e.gcTime==="number")e.gcTime=Math.max(e.gcTime,1000)}},Uc=(e,r)=>e?.suspense&&r.isPending,Xu=(e,r,a)=>r.fetchOptimistic(e).catch(()=>{a.clearReset()});E();function Al(e,r,a){let i=Vu(),s=Qu(),l=G(a),c=l.defaultQueryOptions(e),d=l.getQueryCache().get(c.queryHash),h=e.subscribed!==!1;c._optimisticResults=i?"isRestoring":h?"optimistic":void 0,Ju(c),Ku(c,s,d),Wu(s);let[x]=u(()=>new r(l,c)),v=x.getOptimisticResult(c),y=!i&&h;if(ro(P((k)=>{let b=y?x.subscribe($t.batchCalls(k)):xr;return x.updateResult(),b},[x,y]),()=>x.getCurrentResult(),()=>x.getCurrentResult()),m(()=>{x.setOptions(c)},[c,x]),Uc(c,v))throw Xu(c,x,s);if(Yu({result:v,errorResetBoundary:s,throwOnError:c.throwOnError,query:d,suspense:c.suspense}))throw v.error;return!c.notifyOnChangeProps?x.trackResult(v):v}function Z(e,r){return Al(e,Yo,r)}E();function B(e,r){let a=G(r),[i]=u(()=>new g6(a,e));m(()=>{i.setOptions(e)},[i,e]);let s=ro(P((c)=>i.subscribe($t.batchCalls(c)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),l=P((...c)=>{i.mutate(c[0],c[1]).catch(xr)},[i]);if(s.error&&vk(i.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:l,mutateAsync:s.mutate}}function pt(e,r){return Al(e,m6,r)}E();var Iz=mt(void 0),dQ=mt(void 0);E();var $N=mt(null);E();function Xa(e){return vt($N)}var Wr=!1;function e8(e){return e[e.length-1]}function zbe(e){return typeof e==="function"}function is(e,r){if(zbe(e))return e(r);return e}var gQ=Object.prototype.hasOwnProperty,ZQ=Object.prototype.propertyIsEnumerable;function t8(e){for(let r in e)if(gQ.call(e,r))return!0;return!1}var Sbe=()=>Object.create(null),r8=(e,r)=>Ds(e,r,Sbe);function Ds(e,r,a=()=>({}),i=0){if(Wr)return r;if(e===r)return e;if(i>500)return r;let s=r,l=e5(e)&&e5(s);if(!l&&!(wk(e)&&wk(s)))return s;let c=l?e:pQ(e);if(!c)return s;let d=l?s:pQ(s);if(!d)return s;let h=c.length,x=d.length,v=l?Array(x):a(),y=0;for(let k=0;k<x;k++){let b=l?k:d[k],T=e[b],D=s[b];if(T===D){if(v[b]=T,l?k<h:gQ.call(e,b))y++;continue}if(T===null||D===null||typeof T!=="object"||typeof D!=="object"){v[b]=D;continue}let U=Ds(T,D,a,i+1);if(v[b]=U,U===T)y++}return h===x&&y===h?e:v}function pQ(e){let r=Object.getOwnPropertyNames(e);for(let s of r)if(!ZQ.call(e,s))return!1;let a=Object.getOwnPropertySymbols(e);if(a.length===0)return r;let i=r;for(let s of a){if(!ZQ.call(e,s))return!1;i.push(s)}return i}function wk(e){if(!mQ(e))return!1;let r=e.constructor;if(typeof r>"u")return!0;let a=r.prototype;if(!mQ(a))return!1;if(!a.hasOwnProperty("isPrototypeOf"))return!1;return!0}function mQ(e){return Object.prototype.toString.call(e)==="[object Object]"}function e5(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function sc(e,r,a){if(e===r)return!0;if(typeof e!==typeof r)return!1;if(Array.isArray(e)&&Array.isArray(r)){if(e.length!==r.length)return!1;for(let i=0,s=e.length;i<s;i++)if(!sc(e[i],r[i],a))return!1;return!0}if(wk(e)&&wk(r)){let i=a?.ignoreUndefined??!0;if(a?.partial){for(let c in r)if(!i||r[c]!==void 0){if(!sc(e[c],r[c],a))return!1}return!0}let s=0;if(!i)s=Object.keys(e).length;else for(let c in e)if(e[c]!==void 0)s++;let l=0;for(let c in r)if(!i||r[c]!==void 0){if(l++,l>s||!sc(e[c],r[c],a))return!1}return s===l}return!1}function Dc(e){let r,a,i=new Promise((s,l)=>{r=s,a=l});return i.status="pending",i.resolve=(s)=>{i.status="resolved",i.value=s,r(s),e?.(s)},i.reject=(s)=>{i.status="rejected",a(s)},i}function o8(e){return Boolean(e&&typeof e==="object"&&typeof e.then==="function")}function Lbe(e){return e.replace(/[\x00-\x1f\x7f]/g,"")}function hQ(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 Lbe(r)}var t5=["http:","https:","mailto:","tel:"];function qu(e,r){if(!e)return!1;try{let a=new URL(e);return!r.has(a.protocol)}catch{return!1}}function zk(e){if(!e)return{path:e,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(e)&&!e.startsWith("//"))return{path:e,handledProtocolRelativeURL:!1};let r=/%25|%5C/gi,a=0,i="",s;while((s=r.exec(e))!==null)i+=hQ(e.slice(a,s.index))+s[0],a=r.lastIndex;i=i+hQ(a?e.slice(a):e);let l=!1;if(i.startsWith("//"))l=!0,i="/"+i.replace(/^\/+/,"");return{path:i,handledProtocolRelativeURL:l}}function MQ(e){if(!/\s|[^\u0000-\u007F]/.test(e))return e;return e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent)}function xQ(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 si(){throw Error("Invariant failed")}function a8(e){let r=new Map,a,i,s=(l)=>{if(!l.next)return;if(!l.prev){if(l.next.prev=void 0,a=l.next,l.next=void 0,i)l.prev=i,i.next=l}else if(l.prev.next=l.next,l.next.prev=l.prev,l.next=void 0,i)i.next=l,l.prev=i;i=l};return{get(l){let c=r.get(l);if(!c)return;return s(c),c.value},set(l,c){if(r.size>=e&&a){let h=a;if(r.delete(h.key),h.next)a=h.next,h.next.prev=void 0;if(h===i)i=void 0}let d=r.get(l);if(d)d.value=c,s(d);else{let h={key:l,value:c,prev:i};if(i)i.next=h;if(i=h,!a)a=h;r.set(l,h)}},clear(){r.clear(),a=void 0,i=void 0}}}var i8=4,_Q=5;function kbe(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 _6(e,r,a=new Uint16Array(6)){let i=e.indexOf("/",r),s=i===-1?e.length:i,l=e.substring(r,s);if(!l||!l.includes("$"))return a[0]=0,a[1]=r,a[2]=r,a[3]=s,a[4]=s,a[5]=s,a;if(l==="$"){let d=e.length;return a[0]=2,a[1]=r,a[2]=r,a[3]=d,a[4]=d,a[5]=d,a}if(l.charCodeAt(0)===36)return a[0]=1,a[1]=r,a[2]=r+1,a[3]=s,a[4]=s,a[5]=s,a;let c=kbe(l);if(c){let[d,h]=c,x=l.charCodeAt(d+1);if(x===45){if(d+2<l.length&&l.charCodeAt(d+2)===36){let v=d+3,y=h;if(v<y)return a[0]=3,a[1]=r+d,a[2]=r+v,a[3]=r+y,a[4]=r+h+1,a[5]=s,a}}else if(x===36){let v=d+1,y=d+2;if(y===h)return a[0]=2,a[1]=r+d,a[2]=r+v,a[3]=r+y,a[4]=r+h+1,a[5]=e.length,a;return a[0]=1,a[1]=r+d,a[2]=r+y,a[3]=r+h,a[4]=r+h+1,a[5]=s,a}}return a[0]=0,a[1]=r,a[2]=r,a[3]=s,a[4]=s,a[5]=s,a}function a5(e,r,a,i,s,l,c){c?.(a);let d=i;{let h=a.fullPath??a.from,x=h.length,v=a.options?.caseSensitive??e,y=a.options?.params?.parse??a.options?.parseParams;while(d<x){let b=_6(h,d,r),T,D=d,U=b[5];switch(d=U+1,l++,b[0]){case 0:{let A=h.substring(b[2],b[3]);if(v){let j=s.static?.get(A);if(j)T=j;else{s.static??=new Map;let V=Rz(a.fullPath??a.from);V.parent=s,V.depth=l,T=V,s.static.set(A,V)}}else{let j=A.toLowerCase(),V=s.staticInsensitive?.get(j);if(V)T=V;else{s.staticInsensitive??=new Map;let J=Rz(a.fullPath??a.from);J.parent=s,J.depth=l,T=J,s.staticInsensitive.set(j,J)}}break}case 1:{let A=h.substring(D,b[1]),j=h.substring(b[4],U),V=v&&!!(A||j),J=!A?void 0:V?A:A.toLowerCase(),ee=!j?void 0:V?j:j.toLowerCase(),te=!y&&s.dynamic?.find((re)=>!re.parse&&re.caseSensitive===V&&re.prefix===J&&re.suffix===ee);if(te)T=te;else{let re=v6(1,a.fullPath??a.from,V,J,ee);T=re,re.depth=l,re.parent=s,s.dynamic??=[],s.dynamic.push(re)}break}case 3:{let A=h.substring(D,b[1]),j=h.substring(b[4],U),V=v&&!!(A||j),J=!A?void 0:V?A:A.toLowerCase(),ee=!j?void 0:V?j:j.toLowerCase(),te=!y&&s.optional?.find((re)=>!re.parse&&re.caseSensitive===V&&re.prefix===J&&re.suffix===ee);if(te)T=te;else{let re=v6(3,a.fullPath??a.from,V,J,ee);T=re,re.parent=s,re.depth=l,s.optional??=[],s.optional.push(re)}break}case 2:{let A=h.substring(D,b[1]),j=h.substring(b[4],U),V=v&&!!(A||j),J=!A?void 0:V?A:A.toLowerCase(),ee=!j?void 0:V?j:j.toLowerCase(),te=v6(2,a.fullPath??a.from,V,J,ee);T=te,te.parent=s,te.depth=l,s.wildcard??=[],s.wildcard.push(te)}}s=T}if(y&&a.children&&!a.isRoot&&a.id&&a.id.charCodeAt(a.id.lastIndexOf("/")+1)===95){let b=Rz(a.fullPath??a.from);b.kind=_Q,b.parent=s,l++,b.depth=l,s.pathless??=[],s.pathless.push(b),s=b}let k=(a.path||!a.children)&&!a.isRoot;if(k&&h.endsWith("/")){let b=Rz(a.fullPath??a.from);b.kind=i8,b.parent=s,l++,b.depth=l,s.index=b,s=b}if(s.parse=y??null,s.priority=a.options?.params?.priority??0,k&&!s.route)s.route=a,s.fullPath=a.fullPath??a.from}if(a.children)for(let h of a.children)a5(e,r,h,d,s,l,c)}function x6(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 n8(e){if(e.pathless)for(let r of e.pathless)n8(r);if(e.static)for(let r of e.static.values())n8(r);if(e.staticInsensitive)for(let r of e.staticInsensitive.values())n8(r);if(e.dynamic?.length){e.dynamic.sort(x6);for(let r of e.dynamic)n8(r)}if(e.optional?.length){e.optional.sort(x6);for(let r of e.optional)n8(r)}if(e.wildcard?.length){e.wildcard.sort(x6);for(let r of e.wildcard)n8(r)}}function Rz(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 v6(e,r,a,i,s){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:r,parent:null,parse:null,priority:0,caseSensitive:a,prefix:i,suffix:s}}function yQ(e,r){let a=Rz("/"),i=new Uint16Array(6);for(let s of e)a5(!1,i,s,1,a,0);n8(a),r.masksTree=a,r.flatCache=a8(1000)}function bQ(e,r){e||="/";let a=r.flatCache.get(e);if(a)return a;let i=y6(e,r.masksTree);return r.flatCache.set(e,i),i}function wQ(e,r,a,i,s){e||="/",i||="/";let l=r?`case\x00${e}`:e,c=s.singleCache.get(l);if(!c)c=Rz("/"),a5(r,new Uint16Array(6),{from:e},1,c,0),s.singleCache.set(l,c);return y6(i,c,a)}function zQ(e,r,a=!1){let i=a?e:`nofuzz\x00${e}`,s=r.matchCache.get(i);if(s!==void 0)return s;e||="/";let l;try{l=y6(e,r.segmentTree,a)}catch(c){if(c instanceof URIError)l=null;else throw c}if(l)l.branch=b6(l.route);return r.matchCache.set(i,l),l}function Cbe(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function SQ(e,r=!1,a){let i=Rz(e.fullPath),s=new Uint16Array(6),l={},c={},d=0;return a5(r,s,e,1,i,0,(h)=>{if(a?.(h,d),h.id in l)si();if(l[h.id]=h,d!==0&&h.path){let x=Cbe(h.fullPath);if(!c[x]||h.fullPath.endsWith("/"))c[x]=h}d++}),n8(i),{processedTree:{segmentTree:i,singleCache:a8(1000),matchCache:a8(1000),flatCache:null,masksTree:null},routesById:l,routesByPath:c}}function y6(e,r,a=!1){let i=e.split("/"),s=Rbe(e,i,r,a);if(!s)return null;let[l]=LQ(e,i,s);return{route:s.node.route,rawParams:l}}function LQ(e,r,a){let i=Ibe(a.node),s=null,l=Object.create(null),c=a.extract?.part??0,d=a.extract?.node??0,h=a.extract?.path??0,x=a.extract?.segment??0;for(;d<i.length;c++,d++,h++,x++){let v=i[d];if(v.kind===i8)break;if(v.kind===_Q){x--,c--,h--;continue}let y=r[c],k=h;if(y)h+=y.length;if(v.kind===1){s??=a.node.fullPath.split("/");let b=s[x],T=v.prefix?.length??0;if(b.charCodeAt(T)===123){let D=v.suffix?.length??0,U=b.substring(T+2,b.length-D-1),A=y.substring(T,y.length-D);l[U]=decodeURIComponent(A)}else{let D=b.substring(1);l[D]=decodeURIComponent(y)}}else if(v.kind===3){if(a.skipped&1<<d){c--,h=k-1;continue}s??=a.node.fullPath.split("/");let b=s[x],T=v.prefix?.length??0,D=v.suffix?.length??0,U=b.substring(T+3,b.length-D-1),A=v.suffix||v.prefix?y.substring(T,y.length-D):y;if(A)l[U]=decodeURIComponent(A)}else if(v.kind===2){let b=v,T=e.substring(k+(b.prefix?.length??0),e.length-(b.suffix?.length??0)),D=decodeURIComponent(T);l["*"]=D,l._splat=D;break}}if(a.rawParams)Object.assign(l,a.rawParams);return[l,{part:c,node:d,path:h,segment:x}]}function b6(e){let r=[e];while(e.parentRoute)e=e.parentRoute,r.push(e);return r.reverse(),r}function Ibe(e){let r=Array(e.depth+1);do r[e.depth]=e,e=e.parent;while(e);return r}function Rbe(e,r,a,i){if(e==="/"&&a.index)return{node:a.index,skipped:0};let s=!e8(r),l=s&&e!=="/",c=r.length-(s?1:0),d=[{node:a,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}],h=null,x=null;while(d.length){let v=d.pop(),{node:y,index:k,skipped:b,depth:T,statics:D,dynamics:U,optionals:A}=v,{extract:j,rawParams:V}=v;if(y.kind===2&&y.route&&!o5(x,v))continue;if(y.parse){if(!vQ(e,r,v))continue;V=v.rawParams,j=v.extract}if(i&&y.route&&y.kind!==i8&&o5(h,v))h=v;let J=k===c;if(J){if(y.route&&(!l||y.kind===i8||y.kind===2)&&o5(x,v))x=v;if(!y.optional&&!y.wildcard&&!y.index&&!y.pathless)continue}let ee=J?void 0:r[k],te;if(J&&y.index){let re={node:y.index,index:k,skipped:b,depth:T+1,statics:D,dynamics:U,optionals:A,extract:j,rawParams:V},ae=!0;if(y.index.parse){if(!vQ(e,r,re))ae=!1}if(ae){if(!U&&!A&&!b&&Pbe(D,c))return re;if(o5(x,re))x=re}}if(y.wildcard)for(let re=y.wildcard.length-1;re>=0;re--){let ae=y.wildcard[re],{prefix:he,suffix:be}=ae;if(he){if(J)continue;if(!(ae.caseSensitive?ee:te??=ee.toLowerCase()).startsWith(he))continue}if(be){if(J)continue;let Qe=r.slice(k).join("/").slice(-be.length);if((ae.caseSensitive?Qe:Qe.toLowerCase())!==be)continue}d.push({node:ae,index:c,skipped:b,depth:T+1,statics:D,dynamics:U,optionals:A,extract:j,rawParams:V})}if(y.optional){let re=b|1<<T,ae=T+1;for(let he=y.optional.length-1;he>=0;he--){let be=y.optional[he];d.push({node:be,index:k,skipped:re,depth:ae,statics:D,dynamics:U,optionals:A,extract:j,rawParams:V})}if(!J)for(let he=y.optional.length-1;he>=0;he--){let be=y.optional[he],{prefix:Qe,suffix:Ye}=be;if(Qe||Ye){let Se=be.caseSensitive?ee:te??=ee.toLowerCase();if(Qe&&!Se.startsWith(Qe))continue;if(Ye&&!Se.endsWith(Ye))continue}d.push({node:be,index:k+1,skipped:b,depth:ae,statics:D,dynamics:U,optionals:A+r5(c,k),extract:j,rawParams:V})}}if(!J&&y.dynamic&&ee)for(let re=y.dynamic.length-1;re>=0;re--){let ae=y.dynamic[re],{prefix:he,suffix:be}=ae;if(he||be){let Qe=ae.caseSensitive?ee:te??=ee.toLowerCase();if(he&&!Qe.startsWith(he))continue;if(be&&!Qe.endsWith(be))continue}d.push({node:ae,index:k+1,skipped:b,depth:T+1,statics:D,dynamics:U+r5(c,k),optionals:A,extract:j,rawParams:V})}if(!J&&y.staticInsensitive){let re=y.staticInsensitive.get(te??=ee.toLowerCase());if(re)d.push({node:re,index:k+1,skipped:b,depth:T+1,statics:D+r5(c,k),dynamics:U,optionals:A,extract:j,rawParams:V})}if(!J&&y.static){let re=y.static.get(ee);if(re)d.push({node:re,index:k+1,skipped:b,depth:T+1,statics:D+r5(c,k),dynamics:U,optionals:A,extract:j,rawParams:V})}if(y.pathless){let re=T+1;for(let ae=y.pathless.length-1;ae>=0;ae--){let he=y.pathless[ae];d.push({node:he,index:k,skipped:b,depth:re,statics:D,dynamics:U,optionals:A,extract:j,rawParams:V})}}}if(x)return x;if(i&&h){let v=h.index;for(let k=0;k<h.index;k++)v+=r[k].length;let y=v===e.length?"/":e.slice(v);return h.rawParams??=Object.create(null),h.rawParams["**"]=decodeURIComponent(y),h}return null}function r5(e,r){return 2**(e-r-1)}function Pbe(e,r){return e===2**(r-1)-1}function vQ(e,r,a){let i,s;try{[i,s]=LQ(e,r,a)}catch{return null}if(a.rawParams=i,a.extract=s,!a.node.parse)return!0;try{if(a.node.parse(i)===!1)return null}catch{}return!0}function o5(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===i8)>(e.node.kind===i8)||r.node.kind===i8===(e.node.kind===i8)&&r.depth>e.depth)))}function s8(e){return Sk(e.filter((r)=>r!==void 0).join("/"))}function Sk(e){return e.replace(/\/{2,}/g,"/")}function JP(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function Os(e){let r=e.length;return r>1&&e[r-1]==="/"?e.replace(/\/{1,}$/,""):e}function Lk(e){return Os(JP(e))}function f8(e,r){if(e?.endsWith("/")&&e!=="/"&&e!==`${r}/`)return e.slice(0,-1);return e}function n5(e,r,a){return f8(e,a)===f8(r,a)}function i5({base:e,to:r,trailingSlash:a="never",cache:i}){let s=r.startsWith("/"),l=!s&&r===".",c;if(i){c=s?r:l?e:e+"\x00"+r;let x=i.get(c);if(x)return x}let d;if(l)d=e.split("/");else if(s)d=r.split("/");else{d=e.split("/");while(d.length>1&&e8(d)==="")d.pop();let x=r.split("/");for(let v=0,y=x.length;v<y;v++){let k=x[v];if(k===""){if(!v)d=[k];else if(v===y-1)d.push(k)}else if(k==="..")d.pop();else if(k===".");else d.push(k)}}if(d.length>1){if(e8(d)===""){if(a==="never")d.pop()}else if(a==="always")d.push("")}let h=Sk(d.join("/"))||"/";if(c&&i)i.set(c,h);return h}function CQ(e){let r=new Map(e.map((s)=>[encodeURIComponent(s),s])),a=Array.from(r.keys()).map((s)=>s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),i=new RegExp(a,"g");return(s)=>s.replace(i,(l)=>r.get(l)??l)}function QP(e,r,a){let i=r[e];if(typeof i!=="string")return i;if(e==="_splat"){if(/^[a-zA-Z0-9\-._~!/]*$/.test(i))return i;return i.split("/").map((s)=>kQ(s,a)).join("/")}else return kQ(i,a)}function $P({path:e,params:r,decoder:a,...i}){let s=!1,l=Object.create(null);if(!e||e==="/")return{interpolatedPath:"/",usedParams:l,isMissingParams:s};if(!e.includes("$"))return{interpolatedPath:e,usedParams:l,isMissingParams:s};if(Wr??i.server){if(e.indexOf("{")===-1){let v=e.length,y=0,k="";while(y<v){while(y<v&&e.charCodeAt(y)===47)y++;if(y>=v)break;let b=y,T=e.indexOf("/",y);if(T===-1)T=v;y=T;let D=e.substring(b,T);if(!D)continue;if(D.charCodeAt(0)===36)if(D.length===1){let U=r._splat;if(l._splat=U,l["*"]=U,!U){s=!0;continue}let A=QP("_splat",r,a);k+="/"+A}else{let U=D.substring(1);if(!s&&!(U in r))s=!0;l[U]=r[U];let A=QP(U,r,a)??"undefined";k+="/"+A}else k+="/"+D}if(e.endsWith("/"))k+="/";return{usedParams:l,interpolatedPath:k||"/",isMissingParams:s}}}let c=e.length,d=0,h,x="";while(d<c){let v=d;h=_6(e,v,h);let y=h[5];if(d=y+1,v===y)continue;let k=h[0];if(k===0){x+="/"+e.substring(v,y);continue}if(k===2){let b=r._splat;l._splat=b,l["*"]=b;let T=e.substring(v,h[1]),D=e.substring(h[4],y);if(!b){if(s=!0,T||D)x+="/"+T+D;continue}let U=QP("_splat",r,a);x+="/"+T+U+D;continue}if(k===1){let b=e.substring(h[2],h[3]);if(!s&&!(b in r))s=!0;l[b]=r[b];let T=e.substring(v,h[1]),D=e.substring(h[4],y),U=QP(b,r,a)??"undefined";x+="/"+T+U+D;continue}if(k===3){let b=e.substring(h[2],h[3]),T=r[b];if(T==null)continue;l[b]=T;let D=e.substring(v,h[1]),U=e.substring(h[4],y),A=QP(b,r,a)??"";x+="/"+D+A+U;continue}}if(e.endsWith("/"))x+="/";return{usedParams:l,interpolatedPath:x||"/",isMissingParams:s}}function kQ(e,r){let a=encodeURIComponent(e);return r?.(a)??a}function nn(e){return e?.isNotFound===!0}function IQ(e,r=String){let a=new URLSearchParams;for(let i in e){let s=e[i];if(s!==void 0)a.set(i,r(s))}return a.toString()}function w6(e){if(!e)return"";if(e==="false")return!1;if(e==="true")return!0;return+e*0===0&&+e+""===e?+e:e}function RQ(e){let r=new URLSearchParams(e),a=Object.create(null);for(let[i,s]of r.entries()){let l=a[i];if(l==null)a[i]=w6(s);else if(Array.isArray(l))l.push(w6(s));else a[i]=[l,w6(s)]}return a}var z6=PQ(JSON.parse),S6=TQ(JSON.stringify,JSON.parse);function PQ(e){return(r)=>{if(r[0]==="?")r=r.substring(1);let a=RQ(r);for(let i in a){let s=a[i];if(typeof s==="string")try{a[i]=e(s)}catch(l){}}return a}}function TQ(e,r){let a=typeof r==="function";function i(s){if(typeof s==="object"&&s!==null)try{return e(s)}catch(l){}else if(a&&typeof s==="string")try{return r(s),e(s)}catch(l){}return s}return(s)=>{let l=IQ(s,i);return l?`?${l}`:""}}var fs="__root__";function dl(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 li(e){return e instanceof Response&&!!e.options}function L6(e){return{input:({url:r})=>{for(let a of e)r=f5(a,r);return r},output:({url:r})=>{for(let a=e.length-1;a>=0;a--)r=k6(e[a],r);return r}}}function AQ(e){let r=Lk(e.basepath),a=`/${r}`,i=e.caseSensitive?a:a.toLowerCase(),s=`${i}/`;return{input:({url:l})=>{let c=e.caseSensitive?l.pathname:l.pathname.toLowerCase();if(c===i)l.pathname="/";else if(c.startsWith(s))l.pathname=l.pathname.slice(a.length);return l},output:({url:l})=>(l.pathname=s8(["/",r,l.pathname]),l)}}function f5(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 k6(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 R6(e){let r=e;return{get(){return r},set(a){r=is(a,r)}}}function P6(e){return{get(){return e()}}}function EQ(e,r){let{createMutableStore:a,createReadonlyStore:i,batch:s,init:l}=r,c=new Map,d=new Map,h=new Map,x=a(e.status),v=a(e.loadedAt),y=a(e.isLoading),k=a(e.isTransitioning),b=a(e.location),T=a(e.resolvedLocation),D=a(e.statusCode),U=a(e.redirect),A=a([]),j=a([]),V=a([]),J=i(()=>C6(c,A.get())),ee=i(()=>C6(d,j.get())),te=i(()=>C6(h,V.get())),re=i(()=>A.get()[0]),ae=i(()=>A.get().some((bt)=>c.get(bt)?.get().status==="pending")),he=i(()=>({locationHref:b.get().href,resolvedLocationHref:T.get()?.href,status:x.get()})),be=i(()=>({status:x.get(),loadedAt:v.get(),isLoading:y.get(),isTransitioning:k.get(),matches:J.get(),location:b.get(),resolvedLocation:T.get(),statusCode:D.get(),redirect:U.get()})),Qe=a8(64);function Ye(bt){let jt=Qe.get(bt);if(!jt)jt=i(()=>{let qt=A.get();for(let se of qt){let St=c.get(se);if(St&&St.routeId===bt)return St.get()}}),Qe.set(bt,jt);return jt}let Se={status:x,loadedAt:v,isLoading:y,isTransitioning:k,location:b,resolvedLocation:T,statusCode:D,redirect:U,matchesId:A,pendingIds:j,cachedIds:V,matches:J,pendingMatches:ee,cachedMatches:te,firstId:re,hasPending:ae,matchRouteDeps:he,matchStores:c,pendingMatchStores:d,cachedMatchStores:h,__store:be,getRouteMatchStore:Ye,setMatches:Ge,setPending:rt,setCached:tt};Ge(e.matches),l?.(Se);function Ge(bt){I6(bt,c,A,a,s)}function rt(bt){I6(bt,d,j,a,s)}function tt(bt){I6(bt,h,V,a,s)}return Se}function C6(e,r){let a=[];for(let i of r){let s=e.get(i);if(s)a.push(s.get())}return a}function I6(e,r,a,i,s){let l=e.map((d)=>d.id),c=new Set(l);s(()=>{for(let d of r.keys())if(!c.has(d))r.delete(d);for(let d of e){let h=r.get(d.id);if(!h){let x=i(d);x.routeId=d.routeId,r.set(d.id,x);continue}if(h.routeId=d.routeId,h.get()!==d)h.set(d)}if(!xQ(a.get(),l))a.set(l)})}function Tbe(){try{return sessionStorage}catch{return}}var Abe="tsr-scroll-restoration-v1_3",NQ=Tbe();function Ebe(){try{return JSON.parse(NQ?.getItem("tsr-scroll-restoration-v1_3")||"{}")}catch{return{}}}function Dbe(){try{NQ?.setItem(Abe,JSON.stringify(kk))}catch{}}var kk=Ebe(),DQ="data-scroll-restoration-id",Obe=(e)=>e.state.__TSR_key||e.href;function Nbe(e){let r=e.getAttribute(DQ);if(r)return`[${DQ}="${r}"]`;let a="",i=e,s;while(s=i.parentNode){let l=1,c=i;while(c=c.previousElementSibling)l++;let d=`${i.localName}:nth-child(${l})`;a=a?`${d} > ${a}`:d,i=s}return a}var s5=!1,Ck="window";function T6(e){try{return typeof e==="function"?e():document.querySelector(e)}catch{}}function OQ(e){let r=[];for(let a of e){if(a===Ck)continue;let i=T6(a);if(i)r.push(i)}return r}function FQ(e,r){if(r??e.options.scrollRestoration)e.isScrollRestoring=!0;if((Wr??e.isServer)||e.isScrollRestorationSetup)return;e.isScrollRestorationSetup=!0,s5=!1;let a=e.options.getScrollRestorationKey||Obe,i=new Map,s=(d,h,x)=>{let v=i.get(d)||{};v.scrollX=h,v.scrollY=x,i.set(d,v)};history.scrollRestoration="manual";let l=(d)=>{if(s5||!e.isScrollRestoring)return;if(d.target===document)s(Ck,scrollX,scrollY);else{let h=d.target;s(h,h.scrollLeft,h.scrollTop)}},c=(d)=>{if(!e.isScrollRestoring)return;let h=kk[d]||={};for(let[x,v]of i)if(x===Ck)h[Ck]=v;else if(x.isConnected)h[Nbe(x)]=v};document.addEventListener("scroll",l,!0),e.subscribe("onBeforeLoad",(d)=>{if(d.fromLocation)c(a(d.fromLocation));i.clear()}),addEventListener("pagehide",()=>{c(a(e.stores.resolvedLocation.get()??e.stores.location.get())),Dbe()}),e.subscribe("onRendered",(d)=>{let h=e.options.scrollRestorationBehavior,x=e.options.scrollToTopSelectors,v=e.resetNextScroll,y;if(i.clear(),!v)e.resetNextScroll=!0;if(typeof e.options.scrollRestoration==="function"&&!e.options.scrollRestoration({location:e.latestLocation}))return;let k=a(d.toLocation),b=d.fromLocation&&a(d.fromLocation);if(e.isScrollRestoring&&b&&b!==k){let T=kk[b];if(T){let D=kk[k];for(let U in T){if(U===Ck){if(v)continue}else{let A=T6(U);if(!A)continue;if(v&&x){if(y??=OQ(x),y.includes(A))continue}}if(!D)D=kk[k]={};D[U]??=T[U]}}}s5=!0;try{let T=d.toLocation.hash,D=d.toLocation.state.__hashScrollIntoViewOptions??!0,U=!1;if(v){let A=l5.get(d.toLocation),j=T&&D&&(A==="PUSH"||A==="REPLACE"),V=e.isScrollRestoring?kk[k]:void 0;if(V)for(let J in V){let{scrollX:ee,scrollY:te}=V[J];if(J===Ck){if(j)continue;scrollTo({top:te,left:ee,behavior:h}),U=!0}else{let re=T6(J);if(re)re.scrollLeft=ee,re.scrollTop=te}}if(!U&&!T){let J={top:0,left:0,behavior:h};if(scrollTo(J),x){y??=OQ(x);for(let ee of y)ee.scrollTo(J)}}}if(!U&&T&&D)document.getElementById(T)?.scrollIntoView(D)}finally{s5=!1}})}var A6=(e)=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},Fbe=(e)=>e.stores.matchesId.get().some((r)=>e.stores.matchStores.get(r)?.get()._forcePending),d5=(e,r)=>!!(e.preload&&!e.router.stores.matchStores.has(r)),Pz=(e,r,a=!0)=>{let i={...e.router.options.context??{}},s=a?r:r-1;for(let l=0;l<=s;l++){let c=e.matches[l];if(!c)continue;let d=e.router.getMatch(c.id);if(!d)continue;Object.assign(i,d.__routeContext,d.__beforeLoadContext)}return i},jQ=(e,r)=>{if(!e.matches.length)return;let a=r.routeId,i=e.matches.findIndex((c)=>c.routeId===e.router.routeTree.id),s=i>=0?i:0,l=a?e.matches.findIndex((c)=>c.routeId===a):e.firstBadMatchIndex??e.matches.length-1;if(l<0)l=s;for(let c=l;c>=0;c--){let d=e.matches[c];if(e.router.looseRoutesById[d.routeId].options.notFoundComponent)return c}return a?l:s},l8=(e,r,a)=>{if(!li(a)&&!nn(a))return;if(li(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:li(a)?"redirected":nn(a)?"notFound":i.status==="pending"?"success":i.status,context:Pz(e,r.index),isFetching:!1,error:a})),nn(a)&&!a.routeId)a.routeId=r.routeId;r._nonReactive.loadPromise?.resolve()}if(li(a))e.rendered=!0,a.options._fromLocation=e.location,a.redirectHandled=!0,a=e.router.resolveRedirect(a);throw a},qQ=(e,r)=>{let a=e.router.getMatch(r);if(!a)return!0;if(!(Wr??e.router.isServer)&&a._nonReactive.dehydrated)return!0;if((Wr??e.router.isServer)&&a.ssr===!1)return!0;return!1},BQ=(e,r,a)=>{let i=Pz(e,a);e.updateMatch(r,(s)=>({...s,context:i}))},e2=(e,r,a)=>{let{id:i,routeId:s}=e.matches[r],l=e.router.looseRoutesById[s];if(a instanceof Promise)throw a;e.firstBadMatchIndex??=r,l8(e,e.router.getMatch(i),a);try{l.options.onError?.(a)}catch(c){a=c,l8(e,e.router.getMatch(i),a)}if(e.updateMatch(i,(c)=>(c._nonReactive.beforeLoadPromise?.resolve(),c._nonReactive.beforeLoadPromise=void 0,c._nonReactive.loadPromise?.resolve(),{...c,error:a,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!li(a)&&!nn(a))e.serialError??=a},jbe=(e,r,a,i)=>{let s=e.router.getMatch(r),l=e.matches[a-1]?.id,c=l?e.router.getMatch(l):void 0;if(e.router.isShell()){s.ssr=i.id===fs;return}if(c?.ssr===!1){s.ssr=!1;return}let d=(b)=>{if(b===!0&&c?.ssr==="data-only")return"data-only";return b},h=e.router.options.defaultSsr??!0;if(i.options.ssr===void 0){s.ssr=d(h);return}if(typeof i.options.ssr!=="function"){s.ssr=d(i.options.ssr);return}let{search:x,params:v}=s,y={search:c5(x,s.searchError),params:c5(v,s.paramsError),location:e.location,matches:e.matches.map((b)=>({index:b.index,pathname:b.pathname,fullPath:b.fullPath,staticData:b.staticData,id:b.id,routeId:b.routeId,search:c5(b.search,b.searchError),params:c5(b.params,b.paramsError),ssr:b.ssr}))},k=i.options.ssr(y);if(o8(k))return k.then((b)=>{s.ssr=d(b??h)});s.ssr=d(k??h)},HQ=(e,r,a,i)=>{if(i._nonReactive.pendingTimeout!==void 0)return;let s=a.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!(Wr??e.router.isServer)&&!d5(e,r)&&(a.options.loader||a.options.beforeLoad||D6(a))&&typeof s==="number"&&s!==1/0&&(a.options.pendingComponent??e.router.options?.defaultPendingComponent)){let l=setTimeout(()=>{A6(e)},s);i._nonReactive.pendingTimeout=l}},Bbe=(e,r,a)=>{let i=e.router.getMatch(r);if(!i._nonReactive.beforeLoadPromise&&!i._nonReactive.loaderPromise)return;HQ(e,r,a,i);let s=()=>{let l=e.router.getMatch(r);if(l.preload&&(l.status==="redirected"||l.status==="notFound"))l8(e,l,l.error)};return i._nonReactive.beforeLoadPromise?i._nonReactive.beforeLoadPromise.then(s):s()},Ube=(e,r,a,i)=>{let s=e.router.getMatch(r),l=s._nonReactive.loadPromise;s._nonReactive.loadPromise=Dc(()=>{l?.resolve(),l=void 0});let{paramsError:c,searchError:d}=s;if(c)e2(e,a,c);if(d)e2(e,a,d);HQ(e,r,i,s);let h=new AbortController,x=!1,v=()=>{if(x)return;x=!0,e.updateMatch(r,(J)=>({...J,isFetching:"beforeLoad",fetchCount:J.fetchCount+1,abortController:h}))},y=()=>{s._nonReactive.beforeLoadPromise?.resolve(),s._nonReactive.beforeLoadPromise=void 0,e.updateMatch(r,(J)=>({...J,isFetching:!1}))};if(!i.options.beforeLoad){e.router.batch(()=>{v(),y()});return}s._nonReactive.beforeLoadPromise=Dc();let k={...Pz(e,a,!1),...s.__routeContext},{search:b,params:T,cause:D}=s,U=d5(e,r),A={search:b,abortController:h,params:T,preload:U,context:k,location:e.location,navigate:(J)=>e.router.navigate({...J,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:U?"preload":D,matches:e.matches,routeId:i.id,...e.router.options.additionalContext},j=(J)=>{if(J===void 0){e.router.batch(()=>{v(),y()});return}if(li(J)||nn(J))v(),e2(e,a,J);e.router.batch(()=>{v(),e.updateMatch(r,(ee)=>({...ee,__beforeLoadContext:J})),y()})},V;try{if(V=i.options.beforeLoad(A),o8(V))return v(),V.catch((J)=>{e2(e,a,J)}).then(j)}catch(J){v(),e2(e,a,J)}j(V)},Ybe=(e,r)=>{let{id:a,routeId:i}=e.matches[r],s=e.router.looseRoutesById[i],l=()=>{if(Wr??e.router.isServer){let h=jbe(e,a,r,s);if(o8(h))return h.then(d)}return d()},c=()=>Ube(e,a,r,s),d=()=>{if(qQ(e,a))return;let h=Bbe(e,a,s);return o8(h)?h.then(c):c()};return l()},qbe=(e,r,a)=>{let i=e.router.getMatch(r);if(!i)return;if(!a.options.head&&!a.options.scripts&&!a.options.headers)return;let s={ssr:e.router.options.ssr,matches:e.matches,match:i,params:i.params,loaderData:i.loaderData};return Promise.all([a.options.head?.(s),a.options.scripts?.(s),a.options.headers?.(s)]).then(([l,c,d])=>({meta:l?.meta,links:l?.links,headScripts:l?.scripts,headers:d,scripts:c,styles:l?.styles}))},VQ=(e,r,a,i,s)=>{let l=r[i-1],{params:c,loaderDeps:d,abortController:h,cause:x}=e.router.getMatch(a),v=Pz(e,i),y=d5(e,a);return{params:c,deps:d,preload:!!y,parentMatchPromise:l,abortController:h,context:v,location:e.location,navigate:(k)=>e.router.navigate({...k,_fromLocation:e.location}),cause:y?"preload":x,route:s,...e.router.options.additionalContext}},UQ=async(e,r,a,i,s)=>{try{let l=e.router.getMatch(a);try{if(!(Wr??e.router.isServer)||l.ssr===!0)Ik(s);let c=s.options.loader,d=typeof c==="function"?c:c?.handler,h=d?.(VQ(e,r,a,i,s)),x=!!d&&o8(h);if(x||s._lazyPromise||s._componentsPromise||s.options.head||s.options.scripts||s.options.headers||l._nonReactive.minPendingPromise)e.updateMatch(a,(y)=>({...y,isFetching:"loader"}));if(d){let y=x?await h:h;if(l8(e,e.router.getMatch(a),y),y!==void 0)e.updateMatch(a,(k)=>({...k,loaderData:y}))}if(s._lazyPromise)await s._lazyPromise;let v=l._nonReactive.minPendingPromise;if(v)await v;if(s._componentsPromise)await s._componentsPromise;e.updateMatch(a,(y)=>({...y,error:void 0,context:Pz(e,i),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(c){let d=c;if(d?.name==="AbortError"){if(l.abortController.signal.aborted){l._nonReactive.loaderPromise?.resolve(),l._nonReactive.loaderPromise=void 0;return}e.updateMatch(a,(x)=>({...x,status:x.status==="pending"?"success":x.status,isFetching:!1,context:Pz(e,i)}));return}let h=l._nonReactive.minPendingPromise;if(h)await h;if(nn(c))await s.options.notFoundComponent?.preload?.();l8(e,e.router.getMatch(a),c);try{s.options.onError?.(c)}catch(x){d=x,l8(e,e.router.getMatch(a),x)}if(!li(d)&&!nn(d))await Ik(s,["errorComponent"]);e.updateMatch(a,(x)=>({...x,error:d,context:Pz(e,i),status:"error",isFetching:!1}))}}catch(l){let c=e.router.getMatch(a);if(c)c._nonReactive.loaderPromise=void 0;l8(e,c,l)}},Hbe=async(e,r,a)=>{async function i(b,T,D,U,A){let j=Date.now()-T.updatedAt,V=b?A.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??30000:A.options.staleTime??e.router.options.defaultStaleTime??0,J=A.options.shouldReload,ee=typeof J==="function"?J(VQ(e,r,s,a,A)):J,{status:te,invalid:re}=U,ae=j>=V&&(!!e.forceStaleReload||U.cause==="enter"||D!==void 0&&D!==U.id);if(c=te==="success"&&(re||(ee??ae)),b&&A.options.preload===!1);else if(c&&!e.sync&&v)d=!0,(async()=>{try{await UQ(e,r,s,a,A);let he=e.router.getMatch(s);he._nonReactive.loaderPromise?.resolve(),he._nonReactive.loadPromise?.resolve(),he._nonReactive.loaderPromise=void 0,he._nonReactive.loadPromise=void 0}catch(he){if(li(he))await e.router.navigate(he.options)}})();else if(te!=="success"||c)await UQ(e,r,s,a,A);else BQ(e,s,a)}let{id:s,routeId:l}=e.matches[a],c=!1,d=!1,h=e.router.looseRoutesById[l],x=h.options.loader,v=((typeof x==="function"?void 0:x?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!=="blocking";if(qQ(e,s)){if(!e.router.getMatch(s))return e.matches[a];if(BQ(e,s,a),Wr??e.router.isServer)return e.router.getMatch(s)}else{let b=e.router.getMatch(s),T=e.router.stores.matchesId.get()[a],D=(T&&e.router.stores.matchStores.get(T)||null)?.routeId===l?T:e.router.stores.matches.get().find((A)=>A.routeId===l)?.id,U=d5(e,s);if(b._nonReactive.loaderPromise){if(b.status==="success"&&!e.sync&&!b.preload&&v)return b;await b._nonReactive.loaderPromise;let A=e.router.getMatch(s),j=A._nonReactive.error||A.error;if(j)l8(e,A,j);if(A.status==="pending")await i(U,b,D,A,h)}else{let A=U&&!e.router.stores.matchStores.has(s),j=e.router.getMatch(s);if(j._nonReactive.loaderPromise=Dc(),A!==j.preload)e.updateMatch(s,(V)=>({...V,preload:A}));await i(U,b,D,j,h)}}let y=e.router.getMatch(s);if(!d)y._nonReactive.loaderPromise?.resolve(),y._nonReactive.loadPromise?.resolve(),y._nonReactive.loadPromise=void 0;if(clearTimeout(y._nonReactive.pendingTimeout),y._nonReactive.pendingTimeout=void 0,!d)y._nonReactive.loaderPromise=void 0;y._nonReactive.dehydrated=void 0;let k=d?y.isFetching:!1;if(k!==y.isFetching||y.invalid!==!1)return e.updateMatch(s,(b)=>({...b,isFetching:k,invalid:!1})),e.router.getMatch(s);else return y};async function E6(e){let r=e,a=[];if(!(Wr??r.router.isServer)&&Fbe(r.router))A6(r);let i;for(let k=0;k<r.matches.length;k++){try{let b=Ybe(r,k);if(o8(b))await b}catch(b){if(li(b))throw b;if(nn(b))i=b;else if(!r.preload)throw b;break}if(r.serialError||r.firstBadMatchIndex!=null)break}let s=r.firstBadMatchIndex??r.matches.length,l=i&&!r.preload?jQ(r,i):void 0,c=i&&r.preload?0:l!==void 0?Math.min(l+1,s):s,d,h;for(let k=0;k<c;k++)a.push(Hbe(r,a,k));try{await Promise.all(a)}catch{let k=await Promise.allSettled(a);for(let b of k){if(b.status!=="rejected")continue;let T=b.reason;if(li(T))throw T;if(nn(T))d??=T;else h??=T}if(h!==void 0)throw h}let x=d??(i&&!r.preload?i:void 0),v=r.firstBadMatchIndex!==void 0?r.firstBadMatchIndex:r.matches.length-1;if(!x&&i&&r.preload)return r.matches;if(x){let k=jQ(r,x);if(k===void 0)si();let b=r.matches[k],T=r.router.looseRoutesById[b.routeId],D=r.router.options?.defaultNotFoundComponent;if(!T.options.notFoundComponent&&D)T.options.notFoundComponent=D;x.routeId=b.routeId;let U=b.routeId===r.router.routeTree.id;r.updateMatch(b.id,(A)=>({...A,...U?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:x},isFetching:!1})),v=k,await Ik(T,["notFoundComponent"])}else if(!r.preload){let k=r.matches[0];if(!k.globalNotFound){if(r.router.getMatch(k.id)?.globalNotFound)r.updateMatch(k.id,(b)=>({...b,globalNotFound:!1,error:void 0}))}}if(r.serialError&&r.firstBadMatchIndex!==void 0){let k=r.router.looseRoutesById[r.matches[r.firstBadMatchIndex].routeId];await Ik(k,["errorComponent"])}for(let k=0;k<=v;k++){let{id:b,routeId:T}=r.matches[k],D=r.router.looseRoutesById[T];try{let U=qbe(r,b,D);if(U){let A=await U;r.updateMatch(b,(j)=>({...j,...A}))}}catch(U){console.error(`Error executing head for route ${T}:`,U)}}let y=A6(r);if(o8(y))await y;if(x)throw x;if(r.serialError&&!r.preload&&!r.onReady)throw r.serialError;return r.matches}function YQ(e,r){let a=r.map((i)=>e.options[i]?.preload?.()).filter(Boolean);if(a.length===0)return;return Promise.all(a)}function Ik(e,r=u5){if(!e._lazyLoaded&&e._lazyPromise===void 0)if(e.lazyFn)e._lazyPromise=e.lazyFn().then((i)=>{let{id:s,...l}=i.options;Object.assign(e.options,l),e._lazyLoaded=!0,e._lazyPromise=void 0});else e._lazyLoaded=!0;let a=()=>e._componentsLoaded?void 0:r===u5?(()=>{if(e._componentsPromise===void 0){let i=YQ(e,u5);if(i)e._componentsPromise=i.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0});else e._componentsLoaded=!0}return e._componentsPromise})():YQ(e,r);return e._lazyPromise?e._lazyPromise.then(a):a()}function c5(e,r){if(r)return{status:"error",error:r};return{status:"success",value:e}}function D6(e){for(let r of u5)if(e.options[r]?.preload)return!0;return!1}var u5=["component","errorComponent","pendingComponent","notFoundComponent"];var c8="__TSR_index",WQ="popstate",GQ="beforeunload";function Vbe(e){let r=e.getLocation(),a=new Set,i=(c)=>{r=e.getLocation(),a.forEach((d)=>d({location:r,action:c}))},s=(c)=>{if(e.notifyOnIndexChange??!0)i(c);else r=e.getLocation()},l=async({task:c,navigateOpts:d,...h})=>{if(d?.ignoreBlocker??!1){c();return}let x=e.getBlockers?.()??[],v=h.type==="PUSH"||h.type==="REPLACE";if(typeof document<"u"&&x.length&&v)for(let y of x){let k=t2(h.path,h.state);if(await y.blockerFn({currentLocation:r,nextLocation:k,action:h.type})){e.onBlocked?.();return}}c()};return{get location(){return r},get length(){return e.getLength()},subscribers:a,subscribe:(c)=>(a.add(c),()=>{a.delete(c)}),push:(c,d,h)=>{let x=r.state[c8];d=KQ(x+1,d),l({task:()=>{e.pushState(c,d),i({type:"PUSH"})},navigateOpts:h,type:"PUSH",path:c,state:d})},replace:(c,d,h)=>{let x=r.state[c8];d=KQ(x,d),l({task:()=>{e.replaceState(c,d),i({type:"REPLACE"})},navigateOpts:h,type:"REPLACE",path:c,state:d})},go:(c,d)=>{l({task:()=>{e.go(c),s({type:"GO",index:c})},navigateOpts:d,type:"GO"})},back:(c)=>{l({task:()=>{e.back(c?.ignoreBlocker??!1),s({type:"BACK"})},navigateOpts:c,type:"BACK"})},forward:(c)=>{l({task:()=>{e.forward(c?.ignoreBlocker??!1),s({type:"FORWARD"})},navigateOpts:c,type:"FORWARD"})},canGoBack:()=>r.state[c8]!==0,createHref:(c)=>e.createHref(c),block:(c)=>{if(!e.setBlockers)return()=>{};let d=e.getBlockers?.()??[];return e.setBlockers([...d,c]),()=>{let h=e.getBlockers?.()??[];e.setBlockers?.(h.filter((x)=>x!==c))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:i}}function KQ(e,r){if(!r)r={};let a=O6();return{...r,key:a,__TSR_key:a,[c8]:e}}function XQ(e){let r=e?.window??(typeof document<"u"?window:void 0),a=r.history.pushState,i=r.history.replaceState,s=[],l=()=>s,c=(ae)=>s=ae,d=e?.createHref??((ae)=>ae),h=e?.parseLocation??(()=>t2(`${r.location.pathname}${r.location.search}${r.location.hash}`,r.history.state));if(!r.history.state?.__TSR_key&&!r.history.state?.key){let ae=O6();r.history.replaceState({[c8]:0,key:ae,__TSR_key:ae},"")}let x=h(),v,y=!1,k=!1,b=!1,T=!1,D=()=>x,U,A,j=()=>{if(!U)return;re._ignoreSubscribers=!0,(U.isPush?r.history.pushState:r.history.replaceState)(U.state,"",U.href),re._ignoreSubscribers=!1,U=void 0,A=void 0,v=void 0},V=(ae,he,be)=>{let Qe=d(he);if(!A)v=x;if(x=t2(he,be),U={href:Qe,state:be,isPush:U?.isPush||ae==="push"},!A)A=Promise.resolve().then(()=>j())},J=(ae)=>{x=h(),re.notify({type:ae})},ee=async()=>{if(k){k=!1;return}let ae=h(),he=ae.state[c8]-x.state[c8],be=he===1,Qe=he===-1,Ye=!be&&!Qe||y;y=!1;let Se=Ye?"GO":Qe?"BACK":"FORWARD",Ge=Ye?{type:"GO",index:he}:{type:Qe?"BACK":"FORWARD"};if(b)b=!1;else{let rt=l();if(typeof document<"u"&&rt.length){for(let tt of rt)if(await tt.blockerFn({currentLocation:x,nextLocation:ae,action:Se})){k=!0,r.history.go(1),re.notify(Ge);return}}}x=h(),re.notify(Ge)},te=(ae)=>{if(T){T=!1;return}let he=!1,be=l();if(typeof document<"u"&&be.length)for(let Qe of be){let Ye=Qe.enableBeforeUnload??!0;if(Ye===!0){he=!0;break}if(typeof Ye==="function"&&Ye()===!0){he=!0;break}}if(he)return ae.preventDefault(),ae.returnValue=""},re=Vbe({getLocation:D,getLength:()=>r.history.length,pushState:(ae,he)=>V("push",ae,he),replaceState:(ae,he)=>V("replace",ae,he),back:(ae)=>{if(ae)b=!0;return T=!0,r.history.back()},forward:(ae)=>{if(ae)b=!0;T=!0,r.history.forward()},go:(ae)=>{y=!0,r.history.go(ae)},createHref:(ae)=>d(ae),flush:j,destroy:()=>{r.history.pushState=a,r.history.replaceState=i,r.removeEventListener(GQ,te,{capture:!0}),r.removeEventListener(WQ,ee)},onBlocked:()=>{if(v&&x!==v)x=v},getBlockers:l,setBlockers:c,notifyOnIndexChange:!1});return r.addEventListener(GQ,te,{capture:!0}),r.addEventListener(WQ,ee),r.history.pushState=function(...ae){let he=a.apply(r.history,ae);if(!re._ignoreSubscribers)J("PUSH");return he},r.history.replaceState=function(...ae){let he=i.apply(r.history,ae);if(!re._ignoreSubscribers)J("REPLACE");return he},re}function Wbe(e){let r=e.replace(/[\x00-\x1f\x7f]/g,"");if(r.startsWith("//"))r="/"+r.replace(/^\/+/,"");return r}function t2(e,r){let a=Wbe(e),i=a.indexOf("#"),s=a.indexOf("?"),l=O6();return{href:a,pathname:a.substring(0,i>0?s>0?Math.min(i,s):i:s>0?s:a.length),hash:i>-1?a.substring(i):"",search:s>-1?a.slice(s,i===-1?void 0:i):"",state:r||{[c8]:0,key:l,__TSR_key:l}}}function O6(){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 l5=new WeakMap,N6=class{constructor(e,r){if(this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.routeBranchCache=new WeakMap,this.startTransition=(a)=>a(),this.update=(a)=>{let i=this.options,s=this.basepath??i?.basepath??"/",l=this.basepath===void 0,c=i?.rewrite;if(this.options={...i,...a},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters)this.pathParamsDecoder=CQ(this.options.pathParamsAllowedCharacters);if(!this.history||this.options.history&&this.options.history!==this.history)if(!this.options.history){if(!(Wr??this.isServer))this.history=XQ()}else this.history=this.options.history;if(this.origin=this.options.origin,!this.origin)if(!(Wr??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 v;if((Wr??this.isServer)&&!0&&globalThis.__TSR_CACHE__&&globalThis.__TSR_CACHE__.routeTree===this.routeTree){let y=globalThis.__TSR_CACHE__;this.resolvePathCache=y.resolvePathCache,v=y.processRouteTreeResult}else if(this.resolvePathCache=a8(1000),v=this.buildRouteTree(),(Wr??this.isServer)&&!0&&globalThis.__TSR_CACHE__===void 0)globalThis.__TSR_CACHE__={routeTree:this.routeTree,processRouteTreeResult:v,resolvePathCache:this.resolvePathCache};this.setRoutes(v)}if(!this.stores&&this.latestLocation){let v=this.getStoreConfig(this);if(this.batch=v.batch,this.stores=EQ($Q(this.latestLocation),v),!(Wr??this.isServer))FQ(this)}let d=!1,h=this.options.basepath??"/",x=this.options.rewrite;if(l||s!==h||c!==x){this.basepath=h;let v=[],y=Lk(h);if(y&&y!=="/")v.push(AQ({basepath:h}));if(x)v.push(x);if(this.rewrite=v.length===0?void 0:v.length===1?v[0]:L6(v),this.history)this.updateLatestLocation();d=!0}if(d&&this.stores)this.stores.location.set(this.latestLocation);if(typeof window<"u"&&"CSS"in window&&typeof window.CSS?.supports==="function")this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a))")},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{let a=SQ(this.routeTree,this.options.caseSensitive,(i,s)=>{i.init({originalIndex:s})});if(this.options.routeMasks)yQ(this.options.routeMasks,a.processedTree);return a},this.subscribe=(a,i)=>{let s={eventType:a,fn:i};return this.subscribers.add(s),()=>{this.subscribers.delete(s)}},this.emit=(a)=>{this.subscribers.forEach((i)=>{if(i.eventType===a.type)i.fn(a)})},this.parseLocation=(a,i)=>{let s=({pathname:h,search:x,hash:v,href:y,state:k})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(h)){let A=this.options.parseSearch(x),j=this.options.stringifySearch(A);return{href:h+j+v,publicHref:h+j+v,pathname:zk(h).path,external:!1,searchStr:j,search:r8(i?.search,A),hash:zk(v.slice(1)).path,state:Ds(i?.state,k)}}let b=new URL(y,this.origin),T=f5(this.rewrite,b),D=this.options.parseSearch(T.search),U=this.options.stringifySearch(D);return T.search=U,{href:T.href.replace(T.origin,""),publicHref:y,pathname:zk(T.pathname).path,external:!!this.rewrite&&T.origin!==this.origin,searchStr:U,search:r8(i?.search,D),hash:zk(T.hash.slice(1)).path,state:Ds(i?.state,k)}},l=s(a),{__tempLocation:c,__tempKey:d}=l.state;if(c&&(!d||d===this.tempLocationKey)){let h=s(c);return h.state.key=l.state.key,h.state.__TSR_key=l.state.__TSR_key,delete h.state.__tempLocation,{...h,maskedLocation:l}}return l},this.resolvePathWithBase=(a,i)=>i5({base:a,to:i.includes("//")?Sk(i):i,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(a,i,s)=>{if(typeof a==="string")return this.matchRoutesInternal({pathname:a,search:i},s);return this.matchRoutesInternal(a,i)},this.getMatchedRoutes=(a)=>eJ({pathname:a,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=(a)=>{let i=this.getMatch(a);if(!i)return;i.abortController.abort(),clearTimeout(i._nonReactive.pendingTimeout),i._nonReactive.pendingTimeout=void 0},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach((a)=>{this.cancelMatch(a)}),this.stores.matchesId.get().forEach((a)=>{if(this.stores.pendingMatchStores.has(a))return;let i=this.stores.matchStores.get(a)?.get();if(!i)return;if(i.status==="pending"||i.isFetching==="loader")this.cancelMatch(a)})},this.buildLocation=(a)=>{let i=(l={})=>{let c=l._fromLocation||this.pendingBuiltLocation||this.latestLocation,d=this.matchRoutesLightweight(c);l.from;let h=l.unsafeRelative==="path"?c.pathname:l.from??d.fullPath,x=l.to?`${l.to}`:void 0,v=d.search,y=Object.assign(Object.create(null),d.params),k=x?.charCodeAt(0)===47?"/":this.resolvePathWithBase(h,"."),b=x?this.resolvePathWithBase(k,x):k,T=l.params===!1||l.params===null?Object.create(null):(l.params??!0)===!0?y:Object.assign(y,is(l.params,y)),D=this.routesByPath[Os(b)],U;if(D)U=this.getRouteBranch(D);else if(b.includes("$"))U=[];else{let Qe=this.getMatchedRoutes(b);if(U=Qe.matchedRoutes,this.options.notFoundRoute&&(!Qe.foundRoute||Qe.foundRoute.path!=="/"&&Qe.routeParams["**"]))U=[...U,this.options.notFoundRoute]}if(U.length&&t8(T))for(let Qe of U){let Ye=Qe.options.params?.stringify??Qe.options.stringifyParams;if(Ye)try{Object.assign(T,Ye(T))}catch{}}let A=a.leaveParams?b:zk($P({path:b,params:T,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path,j=v;if(a._includeValidateSearch&&this.options.search?.strict){let Qe={};U.forEach((Ye)=>{if(Ye.options.validateSearch)try{Object.assign(Qe,Z5(Ye.options.validateSearch,{...Qe,...j}))}catch{}}),j=Qe}j=Gbe({search:j,dest:l,destRoutes:U,_includeValidateSearch:a._includeValidateSearch}),j=r8(v,j);let V=this.options.stringifySearch(j),J=l.hash===!0?c.hash:l.hash?is(l.hash,c.hash):void 0,ee=J?`#${J}`:"",te=l.state===!0?c.state:l.state?is(l.state,c.state):{};te=Ds(c.state,te);let re=`${A}${V}${ee}`,ae,he,be=!1;if(this.rewrite){let Qe=new URL(re,this.origin),Ye=k6(this.rewrite,Qe);if(ae=Qe.href.replace(Qe.origin,""),Ye.origin!==this.origin)he=Ye.href,be=!0;else he=Ye.pathname+Ye.search+Ye.hash}else ae=MQ(re),he=ae;return{publicHref:he,href:ae,pathname:A,search:j,searchStr:V,state:te,hash:J??"",external:be,unmaskOnReload:l.unmaskOnReload}},s=(l={},c)=>{let d=i(l),h=c?i(c):void 0;if(!h){let x=Object.create(null);if(this.options.routeMasks){let v=bQ(d.pathname,this.processedTree);if(v){Object.assign(x,v.rawParams);let{from:y,params:k,...b}=v.route,T=k===!1||k===null?Object.create(null):(k??!0)===!0?x:Object.assign(x,is(k,x));c={from:a.from,...b,params:T},h=i(c)}}}if(h)d.maskedLocation=h;return d};if(a.mask)return s(a,{from:a.from,...a.mask});return s(a)},this.commitLocation=async({viewTransition:a,ignoreBlocker:i,...s})=>{let l,c=()=>{let x=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];x.forEach((y)=>{s.state[y]=this.latestLocation.state[y]});let v=sc(s.state,this.latestLocation.state);return x.forEach((y)=>{delete s.state[y]}),v},d=Os(this.latestLocation.href)===Os(s.href),h=this.commitLocationPromise;if(this.commitLocationPromise=Dc(()=>{h?.resolve(),h=void 0}),d&&c())this.load();else{let{maskedLocation:x,hashScrollIntoView:v,...y}=s;if(x){if(y={...x,state:{...x.state,__tempKey:void 0,__tempLocation:{...y,search:y.searchStr,state:{...y.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},y.unmaskOnReload??this.options.unmaskOnReload??!1)y.state.__tempKey=this.tempLocationKey}y.state.__hashScrollIntoViewOptions=v??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=a,l=s.replace?"REPLACE":"PUSH",this.history[l==="REPLACE"?"replace":"push"](y.publicHref,y.state,{ignoreBlocker:i})}if(this.resetNextScroll=s.resetScroll??!0,!this.history.subscribers.size)this.load(l?{action:{type:l}}:void 0);return this.commitLocationPromise},this.buildAndCommitLocation=({replace:a,resetScroll:i,hashScrollIntoView:s,viewTransition:l,ignoreBlocker:c,href:d,...h}={})=>{if(d){let y=this.history.location.state.__TSR_index,k=t2(d,{__TSR_index:a?y:y+1}),b=new URL(k.pathname,this.origin);h.to=f5(this.rewrite,b).pathname,h.search=this.options.parseSearch(k.search),h.hash=k.hash.slice(1)}let x=this.buildLocation({...h,_includeValidateSearch:!0});this.pendingBuiltLocation=x;let v=this.commitLocation({...x,viewTransition:l,replace:a,resetScroll:i,hashScrollIntoView:s,ignoreBlocker:c});return Promise.resolve().then(()=>{if(this.pendingBuiltLocation===x)this.pendingBuiltLocation=void 0}),v},this.navigate=async({to:a,reloadDocument:i,href:s,publicHref:l,...c})=>{let d=!1;if(s)try{new URL(`${s}`),d=!0}catch{}if(d&&!i)i=!0;if(i){if(a!==void 0||!s){let x=this.buildLocation({to:a,...c});s=s??x.publicHref,l=l??x.publicHref}let h=!d&&l?l:s;if(qu(h,this.protocolAllowlist))return Promise.resolve();if(!c.ignoreBlocker){let x=this.history.getBlockers?.()??[];for(let v of x)if(v?.blockerFn){if(await v.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return Promise.resolve()}}if(c.replace)window.location.replace(h);else window.location.href=h;return Promise.resolve()}return this.buildAndCommitLocation({...c,href:s,to:a,_isNavigate:!0})},this.beforeLoad=()=>{if(this.cancelMatches(),this.updateLatestLocation(),Wr??this.isServer){let s=this.buildLocation({to:this.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(this.latestLocation.publicHref!==s.publicHref){let l=this.getParsedLocationHref(s);if(s.external)throw dl({href:l});else throw dl({href:l,_builtLocation:s})}}let a=this.matchRoutes(this.latestLocation),i=this.stores.cachedMatches.get().filter((s)=>!a.some((l)=>l.id===s.id));this.batch(()=>{this.stores.status.set("pending"),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(a),this.stores.setCached(i)})},this.load=async(a)=>{let i=a?.action?.type,s,l,c,d=this.stores.resolvedLocation.get()??this.stores.location.get();c=new Promise((x)=>{this.startTransition(async()=>{try{if(this.beforeLoad(),i)l5.set(this.latestLocation,i);else l5.delete(this.latestLocation);let v=this.latestLocation,y=LZ(v,this.stores.resolvedLocation.get());if(!this.stores.redirect.get())this.emit({type:"onBeforeNavigate",...y});this.emit({type:"onBeforeLoad",...y}),await E6({router:this,sync:a?.sync,forceStaleReload:d.href===v.href,matches:this.stores.pendingMatches.get(),location:v,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let k=null,b=null,T=null,D=null;this.batch(()=>{let U=this.stores.pendingMatches.get(),A=U.length,j=this.stores.matches.get();k=A?j.filter((ee)=>!this.stores.pendingMatchStores.has(ee.id)):null;let V=new Set;for(let ee of this.stores.pendingMatchStores.values())if(ee.routeId)V.add(ee.routeId);let J=new Set;for(let ee of this.stores.matchStores.values())if(ee.routeId)J.add(ee.routeId);if(b=A?j.filter((ee)=>!V.has(ee.routeId)):null,T=A?U.filter((ee)=>!J.has(ee.routeId)):null,D=A?U.filter((ee)=>J.has(ee.routeId)):j,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),A)this.stores.setMatches(U),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...k.filter((ee)=>ee.status!=="error"&&ee.status!=="notFound"&&ee.status!=="redirected")]),this.clearExpiredCache()});for(let[U,A]of[[b,"onLeave"],[T,"onEnter"],[D,"onStay"]]){if(!U)continue;for(let j of U)this.looseRoutesById[j.routeId].options[A]?.(j)}})})}})}catch(v){if(li(v)){if(s=v,!(Wr??this.isServer))this.navigate({...s.options,replace:!0,ignoreBlocker:!0})}else if(nn(v))l=v;let y=s?s.status:l?404:this.stores.matches.get().some((k)=>k.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(y),this.stores.redirect.set(s)})}if(this.latestLoadPromise===c)this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0;x()})}),this.latestLoadPromise=c,await c;while(this.latestLoadPromise&&c!==this.latestLoadPromise)await this.latestLoadPromise;let h=void 0;if(this.hasNotFoundMatch())h=404;else if(this.stores.matches.get().some((x)=>x.status==="error"))h=500;if(h!==void 0)this.stores.statusCode.set(h)},this.startViewTransition=(a)=>{let i=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,i&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition==="function"){let s;if(typeof i==="object"&&this.isViewTransitionTypesSupported){let l=this.latestLocation,c=this.stores.resolvedLocation.get(),d=typeof i.types==="function"?i.types(LZ(l,c)):i.types;if(d===!1){a();return}s={update:a,types:d}}else s=a;document.startViewTransition(s)}else a()},this.updateMatch=(a,i)=>{this.startTransition(()=>{let s=this.stores.pendingMatchStores.get(a);if(s){s.set(i);return}let l=this.stores.matchStores.get(a);if(l){l.set(i);return}let c=this.stores.cachedMatchStores.get(a);if(c){let d=i(c.get());if(d.status==="redirected"){if(this.stores.cachedMatchStores.delete(a))this.stores.cachedIds.set((h)=>h.filter((x)=>x!==a))}else c.set(d)}})},this.getMatch=(a)=>this.stores.cachedMatchStores.get(a)?.get()??this.stores.pendingMatchStores.get(a)?.get()??this.stores.matchStores.get(a)?.get(),this.invalidate=(a)=>{let i=(s)=>{if(a?.filter?.(s)??!0)return{...s,invalid:!0,...a?.forcePending||s.status==="error"||s.status==="notFound"?{status:"pending",error:void 0}:void 0};return s};return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(i)),this.stores.setCached(this.stores.cachedMatches.get().map(i)),this.stores.setPending(this.stores.pendingMatches.get().map(i))}),this.shouldViewTransition=!1,this.load({sync:a?.sync})},this.getParsedLocationHref=(a)=>a.publicHref||"/",this.resolveRedirect=(a)=>{let i=a.headers.get("Location");if(!a.options.href||a.options._builtLocation){let s=a.options._builtLocation??this.buildLocation(a.options),l=this.getParsedLocationHref(s);a.options.href=l,a.headers.set("Location",l)}else if(i)try{let s=new URL(i);if(this.origin&&s.origin===this.origin){let l=s.pathname+s.search+s.hash;a.options.href=l,a.headers.set("Location",l)}}catch{}if(a.options.href&&!a.options._builtLocation&&qu(a.options.href,this.protocolAllowlist))throw Error("Redirect blocked: unsafe protocol");if(!a.headers.get("Location"))a.headers.set("Location",a.options.href);return a},this.clearCache=(a)=>{let i=a?.filter;if(i!==void 0)this.stores.setCached(this.stores.cachedMatches.get().filter((s)=>!i(s)));else this.stores.setCached([])},this.clearExpiredCache=()=>{let a=Date.now(),i=(s)=>{let l=this.looseRoutesById[s.routeId];if(!l.options.loader)return!0;let c=(s.preload?l.options.preloadGcTime??this.options.defaultPreloadGcTime:l.options.gcTime??this.options.defaultGcTime)??300000;if(s.status==="error")return!0;return a-s.updatedAt>=c};this.clearCache({filter:i})},this.loadRouteChunk=Ik,this.preloadRoute=async(a)=>{let i=a._builtLocation??this.buildLocation(a),s=this.matchRoutes(i,{throwOnError:!0,preload:!0,dest:a}),l=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),c=new Set([...l,...this.stores.cachedIds.get()]),d=s.filter((h)=>!c.has(h.id));if(d.length){let h=this.stores.cachedMatches.get();this.stores.setCached([...h,...d])}try{return s=await E6({router:this,matches:s,location:i,preload:!0,updateMatch:(h,x)=>{if(l.has(h))s=s.map((v)=>v.id===h?x(v):v);else this.updateMatch(h,x)}}),s}catch(h){if(li(h)){if(h.options.reloadDocument)return;return await this.preloadRoute({...h.options,_fromLocation:i})}if(!nn(h))console.error(h);return}},this.matchRoute=(a,i)=>{let s={...a,to:a.to?this.resolvePathWithBase(a.from||"",a.to):void 0,params:a.params||{},leaveParams:!0},l=this.buildLocation(s);if(i?.pending&&this.stores.status.get()!=="pending")return!1;let c=(i?.pending===void 0?!this.stores.isLoading.get():i.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),d=wQ(l.pathname,i?.caseSensitive??!1,i?.fuzzy??!1,c.pathname,this.processedTree);if(!d)return!1;if(a.params){if(!sc(d.rawParams,a.params,{partial:!0}))return!1}if(i?.includeSearch??!0)return sc(c.search,l.search,{partial:!0})?d.rawParams:!1;return d.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some((a)=>a.status==="notFound"||a.globalNotFound),this.getStoreConfig=r,this.update({defaultPreloadDelay:50,defaultPendingMs:1000,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??"fuzzy",stringifySearch:e.stringifySearch??S6,parseSearch:e.parseSearch??z6,protocolAllowlist:e.protocolAllowlist??t5}),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=b6(e),this.routeBranchCache.set(e,r);return r}get looseRoutesById(){return this.routesById}getParentContext(e){return!e?.id?this.options.context??void 0:e.context??this.options.context??void 0}matchRoutesInternal(e,r){let a=this.getMatchedRoutes(e.pathname),{foundRoute:i,routeParams:s}=a,{matchedRoutes:l}=a,c=!1;if(i?i.path!=="/"&&s["**"]:Os(e.pathname))if(this.options.notFoundRoute)l=[...l,this.options.notFoundRoute];else c=!0;let d=c?Xbe(this.options.notFoundMode,l):void 0,h=Array(l.length),x=new Map;for(let v of this.stores.matchStores.values())if(v.routeId)x.set(v.routeId,v.get());for(let v=0;v<l.length;v++){let y=l[v],k=h[v-1],b,T,D;{let Ye=k?.search??e.search,Se=k?._strictSearch??void 0;try{let Ge=Z5(y.options.validateSearch,{...Ye})??void 0;b={...Ye,...Ge},T={...Se,...Ge},D=void 0}catch(Ge){let rt=Ge;if(!(Ge instanceof Rk))rt=new Rk(Ge.message,{cause:Ge});if(r?.throwOnError)throw rt;b=Ye,T={},D=rt}}let U=y.options.loaderDeps?.({search:b})??"",A=U?JSON.stringify(U):"",{interpolatedPath:j,usedParams:V}=$P({path:y.fullPath,params:s,decoder:this.pathParamsDecoder,server:this.isServer}),J=y.id+j+A,ee=this.getMatch(J),te=x.get(y.id),re=ee?._strictParams??V,ae=void 0;if(!ee)try{QQ(y,re)}catch(Ye){if(nn(Ye)||li(Ye))ae=Ye;else ae=new JQ(Ye.message,{cause:Ye});if(r?.throwOnError)throw ae}Object.assign(s,re);let he=te?"stay":"enter",be;if(ee)be={...ee,cause:he,params:te?.params??s,_strictParams:re,search:te?r8(te.search,b):r8(ee.search,b),_strictSearch:T};else{let Ye=y.options.loader||y.options.beforeLoad||y.lazyFn||D6(y)?"pending":"success";be={id:J,ssr:Wr??this.isServer?void 0:y.options.ssr,index:v,routeId:y.id,params:te?.params??s,_strictParams:re,pathname:j,updatedAt:Date.now(),search:te?r8(te.search,b):b,_strictSearch:T,searchError:void 0,status:Ye,isFetching:!1,error:void 0,paramsError:ae,__routeContext:void 0,_nonReactive:{loadPromise:Dc()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:he,loaderDeps:te?Ds(te.loaderDeps,U):U,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:y.options.staticData||{},fullPath:y.fullPath}}if(!r?.preload)be.globalNotFound=d===y.id;be.searchError=D;let Qe=this.getParentContext(k);be.context={...Qe,...be.__routeContext,...be.__beforeLoadContext},h[v]=be}for(let v=0;v<h.length;v++){let y=h[v],k=this.looseRoutesById[y.routeId],b=this.getMatch(y.id),T=x.get(y.routeId);if(y.params=T?r8(T.params,s):s,!b){let D=h[v-1],U=this.getParentContext(D);if(k.options.context){let A={deps:y.loaderDeps,params:y.params,context:U??{},location:e,navigate:(j)=>this.navigate({...j,_fromLocation:e}),buildLocation:this.buildLocation,cause:y.cause,abortController:y.abortController,preload:!!y.preload,matches:h,routeId:k.id};y.__routeContext=k.options.context(A)??void 0}y.context={...U,...y.__routeContext,...y.__beforeLoadContext}}}return h}matchRoutesLightweight(e){let{matchedRoutes:r,routeParams:a}=this.getMatchedRoutes(e.pathname),i=e8(r),s={...e.search};for(let x of r)try{Object.assign(s,Z5(x.options.validateSearch,s))}catch{}let l=e8(this.stores.matchesId.get()),c=l&&this.stores.matchStores.get(l)?.get(),d=c&&c.routeId===i.id&&c.pathname===e.pathname,h;if(d)h=c.params;else{let x=Object.assign(Object.create(null),a);for(let v of r)try{QQ(v,x)}catch{}h=x}return{matchedRoutes:r,fullPath:i.fullPath,search:s,params:h}}},Rk=class extends Error{},JQ=class extends Error{};function $Q(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function Z5(e,r){if(e==null)return{};if("~standard"in e){let a=e["~standard"].validate(r);if(a instanceof Promise)throw new Rk("Async validation not supported");if(a.issues)throw new Rk(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 eJ({pathname:e,routesById:r,processedTree:a}){let i=Object.create(null),s=Os(e),l=void 0,c=zQ(s,a,!0);if(c)l=c.route,Object.assign(i,c.rawParams);return{matchedRoutes:c?.branch||[r.__root__],routeParams:i,foundRoute:l}}function Gbe({search:e,dest:r,destRoutes:a,_includeValidateSearch:i}){return Kbe(a)(e,r,i??!1)}function Kbe(e){let r={dest:null,_includeValidateSearch:!1,middlewares:[]};for(let s of e){if("search"in s.options){if(s.options.search?.middlewares)r.middlewares.push(...s.options.search.middlewares)}else if(s.options.preSearchFilters||s.options.postSearchFilters){let l=({search:c,next:d})=>{let h=c;if("preSearchFilters"in s.options&&s.options.preSearchFilters)h=s.options.preSearchFilters.reduce((v,y)=>y(v),c);let x=d(h);if("postSearchFilters"in s.options&&s.options.postSearchFilters)return s.options.postSearchFilters.reduce((v,y)=>y(v),x);return x};r.middlewares.push(l)}if(s.options.validateSearch){let l=({search:c,next:d})=>{let h=d(c);if(!r._includeValidateSearch)return h;try{return{...h,...Z5(s.options.validateSearch,h)??void 0}}catch{return h}};r.middlewares.push(l)}}let a=({search:s})=>{let l=r.dest;if(!l.search)return{};if(l.search===!0)return s;return is(l.search,s)};r.middlewares.push(a);let i=(s,l,c)=>{if(s>=c.length)return l;let d=c[s];return d({search:l,next:(x)=>i(s+1,x,c)})};return function(l,c,d){return r.dest=c,r._includeValidateSearch=d,i(0,l,r.middlewares)}}function Xbe(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 fs}function QQ(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 F6="Error preloading route! ☝️";var p5=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=fs;else if(!this.parentRoute)si();let s=i?fs:a?.path;if(s&&s!=="/")s=JP(s);let l=a?.id||s,c=i?fs:s8([this.parentRoute.id==="__root__"?"":this.parentRoute.id,l]);if(s==="__root__")s="/";if(c!=="__root__")c=s8(["/",c]);let d=c==="__root__"?"/":s8([this.parentRoute.fullPath,s]);this._path=s,this._id=c,this._fullPath=d,this._to=Os(d)},this.addChildren=(r)=>this._addFileChildren(r),this._addFileChildren=(r)=>{if(Array.isArray(r))this.children=r;if(typeof r==="object"&&r!==null)this.children=Object.values(r);return this},this._addFileTypes=()=>this,this.updateLoader=(r)=>(Object.assign(this.options,r),this),this.update=(r)=>(Object.assign(this.options,r),this),this.lazy=(r)=>(this.lazyFn=r,this),this.redirect=(r)=>dl({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 j6=class extends p5{constructor(e){super(e)}};E();var hn=((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))(hn||{});function rJ({update:e,notify:r,unwatched:a}){return{link:i,unlink:s,propagate:l,checkDirty:c,shallowPropagate:d};function i(x,v,y){let k=v.depsTail;if(k!==void 0&&k.dep===x)return;let b=k!==void 0?k.nextDep:v.deps;if(b!==void 0&&b.dep===x){b.version=y,v.depsTail=b;return}let T=x.subsTail;if(T!==void 0&&T.version===y&&T.sub===v)return;let D=v.depsTail=x.subsTail={version:y,dep:x,sub:v,prevDep:k,nextDep:b,prevSub:T,nextSub:void 0};if(b!==void 0)b.prevDep=D;if(k!==void 0)k.nextDep=D;else v.deps=D;if(T!==void 0)T.nextSub=D;else x.subs=D}function s(x,v=x.sub){let{dep:y,prevDep:k,nextDep:b,nextSub:T,prevSub:D}=x;if(b!==void 0)b.prevDep=k;else v.depsTail=k;if(k!==void 0)k.nextDep=b;else v.deps=b;if(T!==void 0)T.prevSub=D;else y.subsTail=D;if(D!==void 0)D.nextSub=T;else if((y.subs=T)===void 0)a(y);return b}function l(x){let v=x.nextSub,y;e:do{let k=x.sub,b=k.flags;if(!(b&60))k.flags=b|32;else if(!(b&12))b=0;else if(!(b&4))k.flags=b&-9|32;else if(!(b&48)&&h(x,k))k.flags=b|40,b&=1;else b=0;if(b&2)r(k);if(b&1){let T=k.subs;if(T!==void 0){let D=(x=T).nextSub;if(D!==void 0)y={value:v,prev:y},v=D;continue}}if((x=v)!==void 0){v=x.nextSub;continue}while(y!==void 0)if(x=y.value,y=y.prev,x!==void 0){v=x.nextSub;continue e}break}while(!0)}function c(x,v){let y,k=0,b=!1;e:do{let T=x.dep,D=T.flags;if(v.flags&16)b=!0;else if((D&17)===17){if(e(T)){let U=T.subs;if(U.nextSub!==void 0)d(U);b=!0}}else if((D&33)===33){if(x.nextSub!==void 0||x.prevSub!==void 0)y={value:x,prev:y};x=T.deps,v=T,++k;continue}if(!b){let U=x.nextDep;if(U!==void 0){x=U;continue}}while(k--){let U=v.subs,A=U.nextSub!==void 0;if(A)x=y.value,y=y.prev;else x=U;if(b){if(e(v)){if(A)d(U);v=x.sub;continue}b=!1}else v.flags&=-33;v=x.sub;let j=x.nextDep;if(j!==void 0){x=j;continue e}}return b}while(!0)}function d(x){do{let v=x.sub,y=v.flags;if((y&48)===32){if(v.flags=y|16,(y&6)===2)r(v)}}while((x=x.nextSub)!==void 0)}function h(x,v){let y=v.depsTail;while(y!==void 0){if(y===x)return!0;y=y.prevDep}return!1}}function nJ(e,r,a){let i=typeof e==="object",s=i?e:void 0;return{next:(i?e.next:e)?.bind(s),error:(i?e.error:r)?.bind(s),complete:(i?e.complete:a)?.bind(s)}}var B6=[],h5=0,{link:oJ,unlink:$be,propagate:ewe,checkDirty:iJ,shallowPropagate:aJ}=rJ({update(e){return e._update()},notify(e){B6[U6++]=e,e.flags&=~hn.Watching},unwatched(e){if(e.depsTail!==void 0)e.depsTail=void 0,e.flags=hn.Mutable|hn.Dirty,g5(e)}}),m5=0,U6=0,Hu,Y6=0;function r2(e){try{++Y6,e()}finally{if(!--Y6)q6()}}function g5(e){let r=e.depsTail,a=r!==void 0?r.nextDep:e.deps;while(a!==void 0)a=$be(a,e)}function q6(){if(Y6>0)return;while(m5<U6){let e=B6[m5];B6[m5++]=void 0,e.notify()}m5=0,U6=0}function M5(e,r){let a=typeof e==="function",i=e,s={_snapshot:a?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:a?hn.None:hn.Mutable,get(){if(Hu!==void 0)oJ(s,Hu,h5);return s._snapshot},subscribe(l){let c=nJ(l),d={current:!1},h=twe(()=>{if(s.get(),!d.current)d.current=!0;else c.next?.(s._snapshot)});return{unsubscribe:()=>{h.stop()}}},_update(l){let c=Hu,d=r?.compare??Object.is;if(a)Hu=s,++h5,s.depsTail=void 0;else if(l===void 0)return!1;if(a)s.flags=hn.Mutable|hn.RecursedCheck;try{let h=s._snapshot,x=typeof l==="function"?l(h):l===void 0&&a?i(h):l;if(h===void 0||!d(h,x))return s._snapshot=x,!0;return!1}finally{if(Hu=c,a)s.flags&=~hn.RecursedCheck;g5(s)}}};if(a)s.flags=hn.Mutable|hn.Dirty,s.get=function(){let l=s.flags;if(l&hn.Dirty||l&hn.Pending&&iJ(s.deps,s)){if(s._update()){let c=s.subs;if(c!==void 0)aJ(c)}}else if(l&hn.Pending)s.flags=l&~hn.Pending;if(Hu!==void 0)oJ(s,Hu,h5);return s._snapshot};else s.set=function(l){if(s._update(l)){let c=s.subs;if(c!==void 0)ewe(c),aJ(c),q6()}};return s}function twe(e){let r=()=>{let i=Hu;Hu=a,++h5,a.depsTail=void 0,a.flags=hn.Watching|hn.RecursedCheck;try{return e()}finally{Hu=i,a.flags&=~hn.RecursedCheck,g5(a)}},a={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:hn.Watching|hn.RecursedCheck,notify(){let i=this.flags;if(i&hn.Dirty||i&hn.Pending&&iJ(this.deps,this))r();else this.flags=hn.Watching},stop(){this.flags=hn.None,this.depsTail=void 0,g5(this)}};return r(),a}E();E();var Zwe=fJ();function pwe(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var mwe=typeof Object.is==="function"?Object.is:pwe,hwe=Zwe.useSyncExternalStore,gwe=_,Mwe=m,xwe=N,vwe=hi;var zc=function(e,r,a,i,s){var l=gwe(null);if(l.current===null){var c={hasValue:!1,value:null};l.current=c}else c=l.current;l=xwe(function(){function h(b){if(!x){if(x=!0,v=b,b=i(b),s!==void 0&&c.hasValue){var T=c.value;if(s(T,b))return y=T}return y=b}if(T=y,mwe(v,b))return T;var D=i(b);if(s!==void 0&&s(T,D))return v=b,T;return v=b,y=D}var x=!1,v,y,k=a===void 0?null:a;return[function(){return h(r())},k===null?void 0:function(){return h(k())}]},[r,a,i,s]);var d=hwe(e,l[0],l[1]);return Mwe(function(){c.hasValue=!0,c.value=d},[d]),vwe(d),d};function _we(e,r){return e===r}function Pn(e,r,a=_we){let i=P((c)=>{if(!e)return()=>{};let{unsubscribe:d}=e.subscribe(c);return d},[e]),s=P(()=>e?.get(),[e]);return zc(i,s,s,r,a)}var ywe={get:()=>{return},subscribe:()=>({unsubscribe:()=>{}})};function zi(e){let r=Xa(),a=vt(e.from?dQ:Iz),i=e.from??a,s=i?e.from?r.stores.getRouteMatchStore(i):r.stores.matchStores.get(i):void 0;if(Wr??r.isServer){let c=s?.get();if((e.shouldThrow??!0)&&!c)si();if(c===void 0)return;return e.select?e.select(c):c}let l=_(void 0);return Pn(s??ywe,(c)=>{if((e.shouldThrow??!0)&&!c)si();if(c===void 0)return;let d=e.select?e.select(c):c;if(e.structuralSharing??r.options.defaultStructuralSharing){let h=Ds(l.current,d);return l.current=h,h}return d})}function pl(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}})}E();var Tz=typeof window<"u"?Ue:m;function x5(e){let r=_({value:e,prev:null}),a=r.current.value;if(e!==a)r.current={value:e,prev:a};return r.current.prev}function sJ(e,r,a={},i={}){m(()=>{if(!e.current||i.disabled||typeof IntersectionObserver!=="function")return;let s=new IntersectionObserver(([l])=>{r(l)},a);return s.observe(e.current),()=>{s.disconnect()}},[r,a,i.disabled,e])}function lJ(e){let r=_(null);return Jr(e,()=>r.current,[]),r}E();function Pe(e){let r=Xa();return P((a)=>r.navigate({...a,from:a.from??e?.from}),[e?.from,r])}E();function cJ({children:e,fallback:r=null}){return V6()?t(Dn,{children:e}):t(Dn,{children:r})}function V6(){return ro(bwe,()=>!0,()=>!1)}function bwe(){return()=>{}}E();function dJ(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(dJ)}catch(e){console.error(e)}}E();function uJ(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 u8(){}var o2={d:{f:u8,r:function(){throw Error(uJ(522))},D:u8,C:u8,L:u8,m:u8,X:u8,S:u8,M:u8},p:0,findDOMNode:null},wwe=Symbol.for("react.portal");function zwe(e,r,a){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:wwe,key:i==null?null:""+i,children:e,containerInfo:r,implementation:a}}var W6=Yi;var G6=o2,hs=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(uJ(299));return zwe(e,r,null,a)},sn=function(e){var r=W6.T,a=o2.p;try{if(W6.T=null,o2.p=2,e)return e()}finally{W6.T=r,o2.p=a,o2.d.f()}};dJ();function MJ(e,r){let a=Xa(),i=lJ(r),s=Wr??a.isServer,{activeProps:l,inactiveProps:c,activeOptions:d,to:h,preload:x,preloadDelay:v,preloadIntentProximity:y,hashScrollIntoView:k,replace:b,startTransition:T,resetScroll:D,viewTransition:U,children:A,target:j,disabled:V,style:J,className:ee,onClick:te,onBlur:re,onFocus:ae,onMouseEnter:he,onMouseLeave:be,onTouchStart:Qe,ignoreBlocker:Ye,params:Se,search:Ge,hash:rt,state:tt,mask:bt,reloadDocument:jt,unsafeRelative:qt,from:se,_fromLocation:St,...Ht}=e;if(s){let $e=gJ(h);if(typeof h==="string"&&!$e&&h.indexOf(":")>-1)try{if(new URL(h),qu(h,a.protocolAllowlist))return{...Ht,ref:i,href:void 0,...A&&{children:A},...j&&{target:j},...V&&{disabled:V},...J&&{style:J},...ee&&{className:ee}};return{...Ht,ref:i,href:h,...A&&{children:A},...j&&{target:j},...V&&{disabled:V},...J&&{style:J},...ee&&{className:ee}}}catch{}let Dt=a.buildLocation({...e,from:e.from}),Mr=hJ(Dt.maskedLocation?Dt.maskedLocation.publicHref:Dt.publicHref,Dt.maskedLocation?Dt.maskedLocation.external:Dt.external,a.history,V),qr=(()=>{if(Mr?.external){if(qu(Mr.href,a.protocolAllowlist))return;return Mr.href}if($e)return;if(typeof h==="string"&&h.indexOf(":")>-1)try{if(new URL(h),qu(h,a.protocolAllowlist))return;return h}catch{}})(),to=(()=>{if(qr)return!1;let je=a.stores.location.get(),ft=d?.exact??!1;if(ft){if(!n5(je.pathname,Dt.pathname,a.basepath))return!1}else{let Ct=f8(je.pathname,a.basepath),Bt=f8(Dt.pathname,a.basepath);if(!(Ct.startsWith(Bt)&&(Ct.length===Bt.length||Ct[Bt.length]==="/")))return!1}if(d?.includeSearch??!0){if(je.search!==Dt.search){let Ct=!je.search||typeof je.search==="object"&&!t8(je.search),Bt=!Dt.search||typeof Dt.search==="object"&&!t8(Dt.search);if(!(Ct&&Bt)){if(!sc(je.search,Dt.search,{partial:!ft,ignoreUndefined:!d?.explicitUndefined}))return!1}}}if(d?.includeHash)return!1;return!0})();if(qr)return{...Ht,ref:i,href:qr,...A&&{children:A},...j&&{target:j},...V&&{disabled:V},...J&&{style:J},...ee&&{className:ee}};let Ko=to?is(l,{})??ZJ:Tk,Ka=to?Tk:is(c,{})??Tk,Ee=(()=>{let je=J,ft=Ko.style,Ct=Ka.style;if(!je&&!ft&&!Ct)return;if(je&&!ft&&!Ct)return je;if(!je&&ft&&!Ct)return ft;if(!je&&!ft&&Ct)return Ct;return{...je,...ft,...Ct}})(),De=(()=>{let je=ee,ft=Ko.className,Ct=Ka.className;if(!je&&!ft&&!Ct)return"";let Bt="";if(je)Bt=je;if(ft)Bt=Bt?`${Bt} ${ft}`:ft;if(Ct)Bt=Bt?`${Bt} ${Ct}`:Ct;return Bt})();return{...Ht,...Ko,...Ka,href:Mr?.href,ref:i,disabled:!!V,target:j,...Ee&&{style:Ee},...De&&{className:De},...V&&pJ,...to&&mJ}}let Oe=V6(),nr=N(()=>e,[a,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),fr=Pn(a.stores.location,($e)=>$e,($e,Dt)=>$e.href===Dt.href),er=N(()=>{let $e={_fromLocation:fr,...nr};return a.buildLocation($e)},[a,fr,nr]),Ur=er.maskedLocation?er.maskedLocation.publicHref:er.publicHref,Vt=er.maskedLocation?er.maskedLocation.external:er.external,Xt=N(()=>hJ(Ur,Vt,a.history,V),[V,Vt,Ur,a.history]),Pr=N(()=>{if(Xt?.external){if(qu(Xt.href,a.protocolAllowlist))return;return Xt.href}if(gJ(h))return;if(typeof h!=="string"||h.indexOf(":")===-1)return;try{if(new URL(h),qu(h,a.protocolAllowlist))return;return h}catch{}},[h,Xt,a.protocolAllowlist]),zr=N(()=>{if(Pr)return!1;if(d?.exact){if(!n5(fr.pathname,er.pathname,a.basepath))return!1}else{let $e=f8(fr.pathname,a.basepath),Dt=f8(er.pathname,a.basepath);if(!($e.startsWith(Dt)&&($e.length===Dt.length||$e[Dt.length]==="/")))return!1}if(d?.includeSearch??!0){if(!sc(fr.search,er.search,{partial:!d?.exact,ignoreUndefined:!d?.explicitUndefined}))return!1}if(d?.includeHash)return Oe&&fr.hash===er.hash;return!0},[d?.exact,d?.explicitUndefined,d?.includeHash,d?.includeSearch,fr,Pr,Oe,er.hash,er.pathname,er.search,a.basepath]),Ar=zr?is(l,{})??ZJ:Tk,hr=zr?Tk:is(c,{})??Tk,go=[ee,Ar.className,hr.className].filter(Boolean).join(" "),po=(J||Ar.style||hr.style)&&{...J,...Ar.style,...hr.style},[va,sr]=u(!1),Mo=_(!1),ho=e.reloadDocument||Pr?!1:x??a.options.defaultPreload,Uo=v??a.options.defaultPreloadDelay??0,bn=P(()=>{a.preloadRoute({...nr,_builtLocation:er}).catch(($e)=>{console.warn($e),console.warn(F6)})},[a,nr,er]);sJ(i,P(($e)=>{if($e?.isIntersecting)bn()},[bn]),Lwe,{disabled:!!V||ho!=="viewport"}),m(()=>{if(Mo.current)return;if(!V&&ho==="render")bn(),Mo.current=!0},[V,bn,ho]);let Go=($e)=>{let Dt=$e.currentTarget.getAttribute("target"),Mr=j!==void 0?j:Dt;if(!V&&!kwe($e)&&!$e.defaultPrevented&&(!Mr||Mr==="_self")&&$e.button===0){$e.preventDefault(),sn(()=>{sr(!0)});let qr=a.subscribe("onResolved",()=>{qr(),sr(!1)});a.navigate({...nr,replace:b,resetScroll:D,hashScrollIntoView:k,startTransition:T,viewTransition:U,ignoreBlocker:Ye})}};if(Pr)return{...Ht,ref:i,href:Pr,...A&&{children:A},...j&&{target:j},...V&&{disabled:V},...J&&{style:J},...ee&&{className:ee},...te&&{onClick:te},...re&&{onBlur:re},...ae&&{onFocus:ae},...he&&{onMouseEnter:he},...be&&{onMouseLeave:be},...Qe&&{onTouchStart:Qe}};let Xn=($e)=>{if(V||ho!=="intent")return;if(!Uo){bn();return}let Dt=$e.currentTarget;if(a2.has(Dt))return;let Mr=setTimeout(()=>{a2.delete(Dt),bn()},Uo);a2.set(Dt,Mr)},wn=($e)=>{if(V||ho!=="intent")return;bn()},Qi=($e)=>{if(V||!ho||!Uo)return;let Dt=$e.currentTarget,Mr=a2.get(Dt);if(Mr)clearTimeout(Mr),a2.delete(Dt)};return{...Ht,...Ar,...hr,href:Xt?.href,ref:i,onClick:Ak([te,Go]),onBlur:Ak([re,Qi]),onFocus:Ak([ae,Xn]),onMouseEnter:Ak([he,Xn]),onMouseLeave:Ak([be,Qi]),onTouchStart:Ak([Qe,wn]),disabled:!!V,target:j,...po&&{style:po},...go&&{className:go},...V&&pJ,...zr&&mJ,...Oe&&va&&Swe}}var Tk={},ZJ={className:"active"},pJ={role:"link","aria-disabled":!0},mJ={"data-status":"active","aria-current":"page"},Swe={"data-transitioning":"transitioning"},a2=new WeakMap,Lwe={rootMargin:"100px"},Ak=(e)=>(r)=>{for(let a of e){if(!a)continue;if(r.defaultPrevented)return;a(r)}};function hJ(e,r,a,i){if(i)return;if(r)return{href:e,external:!0};return{href:a.createHref(e)||"/",external:!1}}function gJ(e){if(typeof e!=="string")return!1;let r=e.charCodeAt(0);if(r===47)return e.charCodeAt(1)!==47;return r===46}var xn=F((e,r)=>{let{_asChild:a,...i}=e,{type:s,...l}=MJ(i,r),c=typeof i.children==="function"?i.children({isActive:l["data-status"]==="active"}):i.children;if(!a){let{disabled:d,...h}=l;return q("a",h,c)}return q(a,l,c)});function kwe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function n2(e){return zi({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:(r)=>e.select?e.select(r.loaderData):r.loaderData})}function i2(e){let{select:r,...a}=e;return zi({...a,select:(i)=>r?r(i.loaderDeps):i.loaderDeps})}function f2(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 s2(e){return zi({...e,select:(r)=>e.select?e.select(r.context):r.context})}E();var xJ=class extends p5{constructor(e){super(e);this.useMatch=(r)=>zi({select:r?.select,from:this.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>s2({...r,from:this.id}),this.useSearch=(r)=>f2({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useParams=(r)=>pl({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useLoaderDeps=(r)=>i2({...r,from:this.id}),this.useLoaderData=(r)=>n2({...r,from:this.id}),this.useNavigate=()=>Pe({from:this.fullPath}),this.Link=F((r,a)=>t(xn,{ref:a,from:this.fullPath,...r}))}};function K6(e){return new xJ(e)}function X6(){return(e)=>_J(e)}var vJ=class extends j6{constructor(e){super(e);this.useMatch=(r)=>zi({select:r?.select,from:this.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>s2({...r,from:this.id}),this.useSearch=(r)=>f2({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useParams=(r)=>pl({select:r?.select,structuralSharing:r?.structuralSharing,from:this.id}),this.useLoaderDeps=(r)=>i2({...r,from:this.id}),this.useLoaderData=(r)=>n2({...r,from:this.id}),this.useNavigate=()=>Pe({from:this.fullPath}),this.Link=F((r,a)=>t(xn,{ref:a,from:this.fullPath,...r}))}};function _J(e){return new vJ(e)}function Kr(e){return new yJ(e,{silent:!0}).createRoute}var yJ=class{constructor(e,r){this.path=e,this.createRoute=(a)=>{let i=K6(a);return i.isRoot=!1,i},this.silent=r?.silent}};var Q6=class{constructor(e){this.useMatch=(r)=>zi({select:r?.select,from:this.options.id,structuralSharing:r?.structuralSharing}),this.useRouteContext=(r)=>s2({...r,from:this.options.id}),this.useSearch=(r)=>f2({select:r?.select,structuralSharing:r?.structuralSharing,from:this.options.id}),this.useParams=(r)=>pl({select:r?.select,structuralSharing:r?.structuralSharing,from:this.options.id}),this.useLoaderDeps=(r)=>i2({...r,from:this.options.id}),this.useLoaderData=(r)=>n2({...r,from:this.options.id}),this.useNavigate=()=>Pe({from:Xa().routesById[this.options.id].fullPath}),this.options=e}};function ze(e){if(typeof e==="object")return new Q6(e);return(r)=>new Q6({id:e,...r})}E();function Az(e){let r=e.errorComponent??Ez;return t(Cwe,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:a,reset:i})=>{if(a)return q(r,{error:a,reset:i});return e.children}})}var Cwe=class extends Zs{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]})}E();function bJ(e){let r=Xa();if(Wr??r.isServer){let i=`not-found-${r.stores.location.get().pathname}-${r.stores.status.get()}`;return t(Az,{getResetKey:()=>i,onCatch:(s,l)=>{if(nn(s))e.onCatch?.(s,l);else throw s},errorComponent:({error:s})=>{if(nn(s))return e.fallback?.(s);else throw s},children:e.children})}let a=`not-found-${Pn(r.stores.location,(i)=>i.pathname)}-${Pn(r.stores.status,(i)=>i)}`;return t(Az,{getResetKey:()=>a,onCatch:(i,s)=>{if(nn(i))e.onCatch?.(i,s);else throw i},errorComponent:({error:i})=>{if(nn(i))return e.fallback?.(i);else throw i},children:e.children})}function wJ(){return t("p",{children:"Not Found"})}E();function d8(e){return t(L,{children:e.children})}E();function v5(e,r,a){if(!r.options.notFoundComponent){if(e.options.defaultNotFoundComponent)return t(e.options.defaultNotFoundComponent,{...a});return t(wJ,{})}return t(r.options.notFoundComponent,{...a})}function zJ({children:e}){let r=Xa();if(!(Wr??r.isServer))return null;return t("script",{nonce:r.options.ssr?.nonce,dangerouslySetInnerHTML:{__html:e+";document.currentScript.remove()"}})}function SJ(e){return null}function LJ(){let e=SJ(Xa());if(!e)return null;return t(zJ,{children:e})}E();var _5=Hn(function({matchId:r}){let a=Xa();if(Wr??a.isServer){let c=a.stores.matchStores.get(r)?.get();if(!c)si();let d=c.routeId,h=a.routesById[d].parentRoute?.id;return t(kJ,{router:a,matchId:r,resetKey:a.stores.loadedAt.get(),matchState:{routeId:d,ssr:c.ssr,_displayPending:c._displayPending,parentRouteId:h}})}let i=a.stores.matchStores.get(r);if(!i)si();let s=Pn(a.stores.loadedAt,(c)=>c),l=Pn(i,(c)=>c);return t(kJ,{router:a,matchId:r,resetKey:s,matchState:N(()=>{let c=l.routeId,d=a.routesById[c].parentRoute?.id;return{routeId:c,ssr:l.ssr,_displayPending:l._displayPending,parentRouteId:d}},[l._displayPending,l.routeId,l.ssr,a.routesById])})});function kJ({router:e,matchId:r,resetKey:a,matchState:i}){let s=e.routesById[i.routeId],l=s.options.pendingComponent??e.options.defaultPendingComponent,c=l?t(l,{}):null,d=s.options.errorComponent??e.options.defaultErrorComponent,h=s.options.onCatch??e.options.defaultOnCatch,x=s.isRoot?s.options.notFoundComponent??e.options.notFoundRoute?.options.component:s.options.notFoundComponent,v=i.ssr===!1||i.ssr==="data-only",y=(!s.isRoot||s.options.wrapInSuspense||v)&&(s.options.wrapInSuspense??l??(s.options.errorComponent?.preload||v))?mi:d8,k=d?Az:d8,b=x?bJ:d8;return o(s.isRoot?s.options.shellComponent??d8:d8,{children:[t(Iz.Provider,{value:r,children:t(y,{fallback:c,children:t(k,{getResetKey:()=>a,errorComponent:d||Ez,onCatch:(T,D)=>{if(nn(T))throw T.routeId??=i.routeId,T;h?.(T,D)},children:t(b,{fallback:(T)=>{if(T.routeId??=i.routeId,!x||T.routeId&&T.routeId!==i.routeId||!T.routeId&&!s.isRoot)throw T;return q(x,T)},children:v||i._displayPending?t(cJ,{fallback:c,children:t(CJ,{matchId:r})}):t(CJ,{matchId:r})})})})}),i.parentRouteId===fs?o(L,{children:[t(Iwe,{resetKey:a}),e.options.scrollRestoration&&(Wr??e.isServer)?t(LJ,{}):null]}):null]})}function Iwe({resetKey:e}){let r=Xa();if(Wr??r.isServer)return null;let a=_(void 0);return Tz(()=>{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 CJ=Hn(function({matchId:r}){let a=Xa(),i=(v,y)=>a.getMatch(v.id)?._nonReactive[y]??v._nonReactive[y];if(Wr??a.isServer){let v=a.stores.matchStores.get(r)?.get();if(!v)si();let y=v.routeId,k=a.routesById[y],b=(a.routesById[y].options.remountDeps??a.options.defaultRemountDeps)?.({routeId:y,loaderDeps:v.loaderDeps,params:v._strictParams,search:v._strictSearch}),T=b?JSON.stringify(b):void 0,D=k.options.component??a.options.defaultComponent,U=D?t(D,{},T):t(Z8,{});if(v._displayPending)throw i(v,"displayPendingPromise");if(v._forcePending)throw i(v,"minPendingPromise");if(v.status==="pending")throw i(v,"loadPromise");if(v.status==="notFound"){if(!nn(v.error))si();return v5(a,k,v.error)}if(v.status==="redirected"){if(!li(v.error))si();throw i(v,"loadPromise")}if(v.status==="error")return t((k.options.errorComponent??a.options.defaultErrorComponent)||Ez,{error:v.error,reset:void 0,info:{componentStack:""}});return U}let s=a.stores.matchStores.get(r);if(!s)si();let l=Pn(s,(v)=>v),c=l.routeId,d=a.routesById[c],h=N(()=>{let v=(a.routesById[c].options.remountDeps??a.options.defaultRemountDeps)?.({routeId:c,loaderDeps:l.loaderDeps,params:l._strictParams,search:l._strictSearch});return v?JSON.stringify(v):void 0},[c,l.loaderDeps,l._strictParams,l._strictSearch,a.options.defaultRemountDeps,a.routesById]),x=N(()=>{let v=d.options.component??a.options.defaultComponent;if(v)return t(v,{},h);return t(Z8,{})},[h,d.options.component,a.options.defaultComponent]);if(l._displayPending)throw i(l,"displayPendingPromise");if(l._forcePending)throw i(l,"minPendingPromise");if(l.status==="pending"){let v=d.options.pendingMinMs??a.options.defaultPendingMinMs;if(v){let y=a.getMatch(l.id);if(y&&!y._nonReactive.minPendingPromise){if(!(Wr??a.isServer)){let k=Dc();y._nonReactive.minPendingPromise=k,setTimeout(()=>{k.resolve(),y._nonReactive.minPendingPromise=void 0},v)}}}throw i(l,"loadPromise")}if(l.status==="notFound"){if(!nn(l.error))si();return v5(a,d,l.error)}if(l.status==="redirected"){if(!li(l.error))si();throw i(l,"loadPromise")}if(l.status==="error"){if(Wr??a.isServer)return t((d.options.errorComponent??a.options.defaultErrorComponent)||Ez,{error:l.error,reset:void 0,info:{componentStack:""}});throw l.error}return x}),Z8=Hn(function(){let r=Xa(),a=vt(Iz),i,s=!1,l;if(Wr??r.isServer){let x=r.stores.matches.get(),v=a?x.findIndex((k)=>k.id===a):-1,y=v>=0?x[v]:void 0;i=y?.routeId,s=y?.globalNotFound??!1,l=v>=0?x[v+1]?.id:void 0}else{let x=a?r.stores.matchStores.get(a):void 0;[i,s]=Pn(x,(v)=>[v?.routeId,v?.globalNotFound??!1]),l=Pn(r.stores.matchesId,(v)=>v[v.findIndex((y)=>y===a)+1])}let c=i?r.routesById[i]:void 0,d=r.options.defaultPendingComponent?t(r.options.defaultPendingComponent,{}):null;if(s){if(!c)si();return v5(r,c,void 0)}if(!l)return null;let h=t(_5,{matchId:l});if(i===fs)return t(mi,{fallback:d,children:h});return h});var IJ=(e)=>{if(Wr??e.isServer)return{createMutableStore:R6,createReadonlyStore:P6,batch:(r)=>r()};return{createMutableStore:M5,createReadonlyStore:M5,batch:r2}};var J6=(e)=>new RJ(e),RJ=class extends N6{constructor(e){super(e,IJ)}};E();function PJ(){let e=Xa(),r=_({router:e,mounted:!1}),[a,i]=u(!1),s=Pn(e.stores.isLoading,(y)=>y),l=Pn(e.stores.hasPending,(y)=>y),c=x5(s),d=s||a||l,h=x5(d),x=s||l,v=x5(x);return e.startTransition=(y)=>{i(!0),Mk(()=>{y(),i(!1)})},m(()=>{let y=e.history.subscribe(e.load),k=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(Os(e.latestLocation.publicHref)!==Os(k.publicHref))e.commitLocation({...k,replace:!0});return()=>{y()}},[e,e.history]),Tz(()=>{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(k){console.error(k)}})()},[e]),Tz(()=>{if(c&&!s)e.emit({type:"onLoad",...LZ(e.stores.location.get(),e.stores.resolvedLocation.get())})},[c,e,s]),Tz(()=>{if(v&&!x)e.emit({type:"onBeforeRouteMount",...LZ(e.stores.location.get(),e.stores.resolvedLocation.get())})},[x,v,e]),Tz(()=>{if(h&&!d){let y=LZ(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:"onResolved",...y}),r2(()=>{e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())})}},[d,h,e]),null}E();function TJ(){let e=Xa(),r=e.routesById[fs].options.pendingComponent??e.options.defaultPendingComponent,a=r?t(r,{}):null,i=o((Wr??e.isServer)||typeof document<"u"&&e.ssr?d8:mi,{fallback:a,children:[!(Wr??e.isServer)&&t(PJ,{}),t(Rwe,{})]});return e.options.InnerWrap?t(e.options.InnerWrap,{children:i}):i}function Rwe(){let e=Xa(),r=Wr??e.isServer,a=r?e.stores.firstId.get():Pn(e.stores.firstId,(l)=>l),i=r?e.stores.loadedAt.get():Pn(e.stores.loadedAt,(l)=>l),s=a?t(_5,{matchId:a}):null;return t(Iz.Provider,{value:a,children:e.options.disableGlobalCatchBoundary?s:t(Az,{getResetKey:()=>i,errorComponent:Ez,onCatch:void 0,children:s})})}E();function AJ({router:e,children:r,...a}){if(t8(a))e.update({...e.options,...a,context:{...e.options.context,...a.context}});let i=t($N.Provider,{value:e,children:r});if(e.options.Wrap)return t(e.options.Wrap,{children:i});return i}function $6({router:e,...r}){return t(AJ,{router:e,...r,children:t(TJ,{})})}E();function kZ(e){let r=Xa({warn:e?.router===void 0}),a=e?.router||r;if(Wr??a.isServer){let s=a.stores.__store.get();return e?.select?e.select(s):s}let i=_(void 0);return Pn(a.stores.__store,(s)=>{if(e?.select){if(e.structuralSharing??a.options.defaultStructuralSharing){let l=Ds(i.current,e.select(s));return i.current=l,l}return e.select(s)}return s})}E();function Kre(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=="function")return;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Kre)}catch(e){console.error(e)}}td();E();function Ut(e){var r="https://react.dev/errors/"+e;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)r+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Twe(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function eD(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 pee(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 mee(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 HJ(e){if(eD(e)!==e)throw Error(Ut(188))}function Awe(e){var r=e.alternate;if(!r){if(r=eD(e),r===null)throw Error(Ut(188));return r!==e?null:e}for(var a=e,i=r;;){var s=a.return;if(s===null)break;var l=s.alternate;if(l===null){if(i=s.return,i!==null){a=i;continue}break}if(s.child===l.child){for(l=s.child;l;){if(l===a)return HJ(s),e;if(l===i)return HJ(s),r;l=l.sibling}throw Error(Ut(188))}if(a.return!==i.return)a=s,i=l;else{for(var c=!1,d=s.child;d;){if(d===a){c=!0,a=s,i=l;break}if(d===i){c=!0,i=s,a=l;break}d=d.sibling}if(!c){for(d=l.child;d;){if(d===a){c=!0,a=l,i=s;break}if(d===i){c=!0,i=l,a=s;break}d=d.sibling}if(!c)throw Error(Ut(189))}}if(a.alternate!==i)throw Error(Ut(190))}if(a.tag!==3)throw Error(Ut(188));return a.stateNode.current===a?e:r}function hee(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e;for(e=e.child;e!==null;){if(r=hee(e),r!==null)return r;e=e.sibling}return null}var vn=Object.assign,Ewe=Symbol.for("react.element"),C5=Symbol.for("react.transitional.element"),M2=Symbol.for("react.portal"),Uk=Symbol.for("react.fragment"),gee=Symbol.for("react.strict_mode"),BU=Symbol.for("react.profiler"),Mee=Symbol.for("react.consumer"),OZ=Symbol.for("react.context"),N7=Symbol.for("react.forward_ref"),UU=Symbol.for("react.suspense"),YU=Symbol.for("react.suspense_list"),F7=Symbol.for("react.memo"),m8=Symbol.for("react.lazy"),qU=Symbol.for("react.activity"),Dwe=Symbol.for("react.memo_cache_sentinel"),VJ=Symbol.iterator;function d2(e){if(e===null||typeof e!=="object")return null;return e=VJ&&e[VJ]||e["@@iterator"],typeof e==="function"?e:null}var Owe=Symbol.for("react.client.reference");function HU(e){if(e==null)return null;if(typeof e==="function")return e.$$typeof===Owe?null:e.displayName||e.name||null;if(typeof e==="string")return e;switch(e){case Uk:return"Fragment";case BU:return"Profiler";case gee:return"StrictMode";case UU:return"Suspense";case YU:return"SuspenseList";case qU:return"Activity"}if(typeof e==="object")switch(e.$$typeof){case M2:return"Portal";case OZ:return e.displayName||"Context";case Mee:return(e._context.displayName||"Context")+".Consumer";case N7:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case F7:return r=e.displayName||null,r!==null?r:HU(e.type)||"Memo";case m8:r=e._payload,e=e._init;try{return HU(e(r))}catch(a){}}return null}var x2=Array.isArray,Hr=Yi,Ho=G6,Yz={pending:!1,data:null,method:null,action:null},VU=[],Yk=-1;function aZ(e){return{current:e}}function Fi(e){0>Yk||(e.current=VU[Yk],VU[Yk]=null,Yk--)}function Qa(e,r){Yk++,VU[Yk]=e.current,e.current=r}var oZ=aZ(null),j2=aZ(null),S8=aZ(null),n4=aZ(null);function i4(e,r){switch(Qa(S8,r),Qa(j2,e),Qa(oZ,null),r.nodeType){case 9:case 11:e=(e=r.documentElement)?(e=e.namespaceURI)?Q$(e):0:0;break;default:if(e=r.tagName,r=r.namespaceURI)r=Q$(r),e=Ore(r,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Fi(oZ),Qa(oZ,e)}function fR(){Fi(oZ),Fi(j2),Fi(S8)}function WU(e){e.memoizedState!==null&&Qa(n4,e);var r=oZ.current,a=Ore(r,e.type);r!==a&&(Qa(j2,e),Qa(oZ,a))}function f4(e){j2.current===e&&(Fi(oZ),Fi(j2)),n4.current===e&&(Fi(n4),Q2._currentValue=Yz)}var lU,WJ;function Nz(e){if(lU===void 0)try{throw Error()}catch(a){var r=a.stack.trim().match(/\n( *(at )?)/);lU=r&&r[1]||"",WJ=-1<a.stack.indexOf(`
|
|
3
|
-
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
4
|
-
`+lU+e+WJ}var cU=!1;function uU(e,r){if(!e||cU)return"";cU=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(r){var y=function(){throw Error()};if(Object.defineProperty(y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(y,[])}catch(b){var k=b}Reflect.construct(e,[],y)}else{try{y.call()}catch(b){k=b}e.call(y.prototype)}}else{try{throw Error()}catch(b){k=b}(y=e())&&typeof y.catch==="function"&&y.catch(function(){})}}catch(b){if(b&&k&&typeof b.stack==="string")return[b.stack,k.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var l=i.DetermineComponentFrameRoot(),c=l[0],d=l[1];if(c&&d){var h=c.split(`
|
|
5
|
-
`),x=d.split(`
|
|
6
|
-
`);for(s=i=0;i<h.length&&!h[i].includes("DetermineComponentFrameRoot");)i++;for(;s<x.length&&!x[s].includes("DetermineComponentFrameRoot");)s++;if(i===h.length||s===x.length)for(i=h.length-1,s=x.length-1;1<=i&&0<=s&&h[i]!==x[s];)s--;for(;1<=i&&0<=s;i--,s--)if(h[i]!==x[s]){if(i!==1||s!==1)do if(i--,s--,0>s||h[i]!==x[s]){var v=`
|
|
7
|
-
`+h[i].replace(" at new "," at ");return e.displayName&&v.includes("<anonymous>")&&(v=v.replace("<anonymous>",e.displayName)),v}while(1<=i&&0<=s);break}}}finally{cU=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Nz(a):""}function Nwe(e,r){switch(e.tag){case 26:case 27:case 5:return Nz(e.type);case 16:return Nz("Lazy");case 13:return e.child!==r&&r!==null?Nz("Suspense Fallback"):Nz("Suspense");case 19:return Nz("SuspenseList");case 0:case 15:return uU(e.type,!1);case 11:return uU(e.type.render,!1);case 1:return uU(e.type,!0);case 31:return Nz("Activity");default:return""}}function GJ(e){try{var r="",a=null;do r+=Nwe(e,a),a=e,e=e.return;while(e);return r}catch(i){return`
|
|
8
|
-
Error generating stack: `+i.message+`
|
|
9
|
-
`+i.stack}}var GU=Object.prototype.hasOwnProperty,j7=zs,dU=bl,Fwe=wl,jwe=vl,Vl=no,Bwe=k5,xee=_l,vee=yl,s4=Us,Uwe=L5,_ee=Xi,Ywe=void 0,qwe=void 0,tD=null,Wl=null;function _8(e){if(typeof Ywe==="function"&&qwe(e),Wl&&typeof Wl.setStrictMode==="function")try{Wl.setStrictMode(tD,e)}catch(r){}}var Gl=Math.clz32?Math.clz32:Wwe,{log:Hwe,LN2:Vwe}=Math;function Wwe(e){return e>>>=0,e===0?32:31-(Hwe(e)/Vwe|0)|0}var I5=256,R5=262144,P5=4194304;function Fz(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 A4(e,r,a){var i=e.pendingLanes;if(i===0)return 0;var s=0,l=e.suspendedLanes,c=e.pingedLanes;e=e.warmLanes;var d=i&134217727;return d!==0?(i=d&~l,i!==0?s=Fz(i):(c&=d,c!==0?s=Fz(c):a||(a=d&~e,a!==0&&(s=Fz(a))))):(d=i&~l,d!==0?s=Fz(d):c!==0?s=Fz(c):a||(a=i&~e,a!==0&&(s=Fz(a)))),s===0?0:r!==0&&r!==s&&(r&l)===0&&(l=s&-s,a=r&-r,l>=a||l===32&&(a&4194048)!==0)?r:s}function rD(e,r){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&r)===0}function Gwe(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 yee(){var e=P5;return P5<<=1,(P5&62914560)===0&&(P5=4194304),e}function ZU(e){for(var r=[],a=0;31>a;a++)r.push(e);return r}function E4(e,r){e.pendingLanes|=r,r!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Kwe(e,r,a,i,s,l){var c=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var{entanglements:d,expirationTimes:h,hiddenUpdates:x}=e;for(a=c&~a;0<a;){var v=31-Gl(a),y=1<<v;d[v]=0,h[v]=-1;var k=x[v];if(k!==null)for(x[v]=null,v=0;v<k.length;v++){var b=k[v];b!==null&&(b.lane&=-536870913)}a&=~y}i!==0&&bee(e,i,0),l!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=l&~(c&~r))}function bee(e,r,a){e.pendingLanes|=r,e.suspendedLanes&=~r;var i=31-Gl(r);e.entangledLanes|=r,e.entanglements[i]=e.entanglements[i]|1073741824|a&261930}function wee(e,r){var a=e.entangledLanes|=r;for(e=e.entanglements;a;){var i=31-Gl(a),s=1<<i;s&r|e[i]&r&&(e[i]|=r),a&=~s}}function zee(e,r){var a=r&-r;return a=(a&42)!==0?1:See(a),(a&(e.suspendedLanes|r))!==0?0:a}function See(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 B7(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Lee(){var e=Ho.p;if(e!==0)return e;return e=window.event,e===void 0?32:Vre(e.type)}function KJ(e,r){var a=Ho.p;try{return Ho.p=e,r()}finally{Ho.p=a}}var O8=Math.random().toString(36).slice(2),mf="__reactFiber$"+O8,el="__reactProps$"+O8,oD="__reactContainer$"+O8,KU="__reactEvents$"+O8,Xwe="__reactListeners$"+O8,Qwe="__reactHandles$"+O8,XJ="__reactResources$"+O8,aD="__reactMarker$"+O8;function U7(e){delete e[mf],delete e[el],delete e[KU],delete e[Xwe],delete e[Qwe]}function qk(e){var r=e[mf];if(r)return r;for(var a=e.parentNode;a;){if(r=a[oD]||a[mf]){if(a=r.alternate,r.child!==null||a!==null&&a.child!==null)for(e=ree(e);e!==null;){if(a=e[mf])return a;e=ree(e)}return r}e=a,a=e.parentNode}return null}function MR(e){if(e=e[mf]||e[oD]){var r=e.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return e}return null}function v2(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e.stateNode;throw Error(Ut(33))}function eR(e){var r=e[XJ];return r||(r=e[XJ]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function Ni(e){e[aD]=!0}var kee=new Set,Cee={};function tL(e,r){sR(e,r),sR(e+"Capture",r)}function sR(e,r){Cee[e]=r;for(e=0;e<r.length;e++)kee.add(r[e])}var Jwe=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]*$"),QJ={},JJ={};function $we(e){if(GU.call(JJ,e))return!0;if(GU.call(QJ,e))return!1;if(Jwe.test(e))return JJ[e]=!0;return QJ[e]=!0,!1}function Y5(e,r,a){if($we(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 T5(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 IZ(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 uc(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Iee(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function e0e(e,r,a){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,r);if(!e.hasOwnProperty(r)&&typeof i<"u"&&typeof i.get==="function"&&typeof i.set==="function"){var{get:s,set:l}=i;return Object.defineProperty(e,r,{configurable:!0,get:function(){return s.call(this)},set:function(c){a=""+c,l.call(this,c)}}),Object.defineProperty(e,r,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(c){a=""+c},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function XU(e){if(!e._valueTracker){var r=Iee(e)?"checked":"value";e._valueTracker=e0e(e,r,""+e[r])}}function Ree(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var a=r.getValue(),i="";return e&&(i=Iee(e)?e.checked?"true":"false":e.value),e=i,e!==a?(r.setValue(e),!0):!1}function l4(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 t0e=/[\n"\\]/g;function pc(e){return e.replace(t0e,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function QU(e,r,a,i,s,l,c,d){if(e.name="",c!=null&&typeof c!=="function"&&typeof c!=="symbol"&&typeof c!=="boolean"?e.type=c:e.removeAttribute("type"),r!=null)if(c==="number"){if(r===0&&e.value===""||e.value!=r)e.value=""+uc(r)}else e.value!==""+uc(r)&&(e.value=""+uc(r));else c!=="submit"&&c!=="reset"||e.removeAttribute("value");r!=null?JU(e,c,uc(r)):a!=null?JU(e,c,uc(a)):i!=null&&e.removeAttribute("value"),s==null&&l!=null&&(e.defaultChecked=!!l),s!=null&&(e.checked=s&&typeof s!=="function"&&typeof s!=="symbol"),d!=null&&typeof d!=="function"&&typeof d!=="symbol"&&typeof d!=="boolean"?e.name=""+uc(d):e.removeAttribute("name")}function Pee(e,r,a,i,s,l,c,d){if(l!=null&&typeof l!=="function"&&typeof l!=="symbol"&&typeof l!=="boolean"&&(e.type=l),r!=null||a!=null){if(!(l!=="submit"&&l!=="reset"||r!==void 0&&r!==null)){XU(e);return}a=a!=null?""+uc(a):"",r=r!=null?""+uc(r):a,d||r===e.value||(e.value=r),e.defaultValue=r}i=i!=null?i:s,i=typeof i!=="function"&&typeof i!=="symbol"&&!!i,e.checked=d?e.checked:!!i,e.defaultChecked=!!i,c!=null&&typeof c!=="function"&&typeof c!=="symbol"&&typeof c!=="boolean"&&(e.name=c),XU(e)}function JU(e,r,a){r==="number"&&l4(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function tR(e,r,a,i){if(e=e.options,r){r={};for(var s=0;s<a.length;s++)r["$"+a[s]]=!0;for(a=0;a<e.length;a++)s=r.hasOwnProperty("$"+e[a].value),e[a].selected!==s&&(e[a].selected=s),s&&i&&(e[a].defaultSelected=!0)}else{a=""+uc(a),r=null;for(s=0;s<e.length;s++){if(e[s].value===a){e[s].selected=!0,i&&(e[s].defaultSelected=!0);return}r!==null||e[s].disabled||(r=e[s])}r!==null&&(r.selected=!0)}}function Tee(e,r,a){if(r!=null&&(r=""+uc(r),r!==e.value&&(e.value=r),a==null)){e.defaultValue!==r&&(e.defaultValue=r);return}e.defaultValue=a!=null?""+uc(a):""}function Aee(e,r,a,i){if(r==null){if(i!=null){if(a!=null)throw Error(Ut(92));if(x2(i)){if(1<i.length)throw Error(Ut(93));i=i[0]}a=i}a==null&&(a=""),r=a}a=uc(r),e.defaultValue=a,i=e.textContent,i===a&&i!==""&&i!==null&&(e.value=i),XU(e)}function lR(e,r){if(r){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=r;return}}e.textContent=r}var r0e=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 $J(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||r0e.has(r)?r==="float"?e.cssFloat=a:e[r]=(""+a).trim():e[r]=a+"px"}function Eee(e,r,a){if(r!=null&&typeof r!=="object")throw Error(Ut(62));if(e=e.style,a!=null){for(var i in a)!a.hasOwnProperty(i)||r!=null&&r.hasOwnProperty(i)||(i.indexOf("--")===0?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="");for(var s in r)i=r[s],r.hasOwnProperty(s)&&a[s]!==i&&$J(e,s,i)}else for(var l in r)r.hasOwnProperty(l)&&$J(e,l,r[l])}function Y7(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 o0e=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"]]),a0e=/^[\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 q5(e){return a0e.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function NZ(){}var $U=null;function q7(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Hk=null,rR=null;function e$(e){var r=MR(e);if(r&&(e=r.stateNode)){var a=e[el]||null;e:switch(e=r.stateNode,r.type){case"input":if(QU(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="'+pc(""+r)+'"][type="radio"]');for(r=0;r<a.length;r++){var i=a[r];if(i!==e&&i.form===e.form){var s=i[el]||null;if(!s)throw Error(Ut(90));QU(i,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(r=0;r<a.length;r++)i=a[r],i.form===e.form&&Ree(i)}break e;case"textarea":Tee(e,a.value,a.defaultValue);break e;case"select":r=a.value,r!=null&&tR(e,!!a.multiple,r,!1)}}}var pU=!1;function Dee(e,r,a){if(pU)return e(r,a);pU=!0;try{var i=e(r);return i}finally{if(pU=!1,Hk!==null||rR!==null){if(W4(),Hk&&(r=Hk,e=rR,rR=Hk=null,e$(r),e))for(r=0;r<e.length;r++)e$(e[r])}}}function B2(e,r){var a=e.stateNode;if(a===null)return null;var i=a[el]||null;if(i===null)return null;a=i[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(a&&typeof a!=="function")throw Error(Ut(231,r,typeof a));return a}var YZ=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),e7=!1;if(YZ)try{jz={},Object.defineProperty(jz,"passive",{get:function(){e7=!0}}),window.addEventListener("test",jz,jz),window.removeEventListener("test",jz,jz)}catch(e){e7=!1}var jz,y8=null,H7=null,H5=null;function Oee(){if(H5)return H5;var e,r=H7,a=r.length,i,s="value"in y8?y8.value:y8.textContent,l=s.length;for(e=0;e<a&&r[e]===s[e];e++);var c=a-e;for(i=1;i<=c&&r[a-i]===s[l-i];i++);return H5=s.slice(e,1<i?1-i:void 0)}function V5(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 A5(){return!0}function t$(){return!1}function tl(e){function r(a,i,s,l,c){this._reactName=a,this._targetInst=s,this.type=i,this.nativeEvent=l,this.target=c,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(a=e[d],this[d]=a?a(l):l[d]);return this.isDefaultPrevented=(l.defaultPrevented!=null?l.defaultPrevented:l.returnValue===!1)?A5:t$,this.isPropagationStopped=t$,this}return vn(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=A5)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!=="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=A5)},persist:function(){},isPersistent:A5}),r}var rL={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},D4=tl(rL),nD=vn({},rL,{view:0,detail:0}),n0e=tl(nD),mU,hU,Z2,O4=vn({},nD,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:V7,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!==Z2&&(Z2&&e.type==="mousemove"?(mU=e.screenX-Z2.screenX,hU=e.screenY-Z2.screenY):hU=mU=0,Z2=e),mU},movementY:function(e){return"movementY"in e?e.movementY:hU}}),r$=tl(O4),i0e=vn({},O4,{dataTransfer:0}),f0e=tl(i0e),s0e=vn({},nD,{relatedTarget:0}),gU=tl(s0e),l0e=vn({},rL,{animationName:0,elapsedTime:0,pseudoElement:0}),c0e=tl(l0e),u0e=vn({},rL,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),d0e=tl(u0e),Z0e=vn({},rL,{data:0}),o$=tl(Z0e),p0e={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},m0e={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"},h0e={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function g0e(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=h0e[e])?!!r[e]:!1}function V7(){return g0e}var M0e=vn({},nD,{key:function(e){if(e.key){var r=p0e[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=V5(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?m0e[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:V7,charCode:function(e){return e.type==="keypress"?V5(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?V5(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),x0e=tl(M0e),v0e=vn({},O4,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),a$=tl(v0e),_0e=vn({},nD,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:V7}),y0e=tl(_0e),b0e=vn({},rL,{propertyName:0,elapsedTime:0,pseudoElement:0}),w0e=tl(b0e),z0e=vn({},O4,{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}),S0e=tl(z0e),L0e=vn({},rL,{newState:0,oldState:0}),k0e=tl(L0e),C0e=[9,13,27,32],W7=YZ&&"CompositionEvent"in window,L2=null;YZ&&"documentMode"in document&&(L2=document.documentMode);var I0e=YZ&&"TextEvent"in window&&!L2,Nee=YZ&&(!W7||L2&&8<L2&&11>=L2),n$=String.fromCharCode(32),i$=!1;function Fee(e,r){switch(e){case"keyup":return C0e.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jee(e){return e=e.detail,typeof e==="object"&&"data"in e?e.data:null}var Vk=!1;function R0e(e,r){switch(e){case"compositionend":return jee(r);case"keypress":if(r.which!==32)return null;return i$=!0,n$;case"textInput":return e=r.data,e===n$&&i$?null:e;default:return null}}function P0e(e,r){if(Vk)return e==="compositionend"||!W7&&Fee(e,r)?(e=Oee(),H5=H7=y8=null,Vk=!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 Nee&&r.locale!=="ko"?null:r.data;default:return null}}var T0e={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 f$(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!T0e[e.type]:r==="textarea"?!0:!1}function Bee(e,r,a,i){Hk?rR?rR.push(i):rR=[i]:Hk=i,r=L4(r,"onChange"),0<r.length&&(a=new D4("onChange","change",null,a,i),e.push({event:a,listeners:r}))}var k2=null,U2=null;function A0e(e){Tre(e,0)}function N4(e){var r=v2(e);if(Ree(r))return e}function s$(e,r){if(e==="change")return r}var Uee=!1;if(YZ){if(YZ){if(y2="oninput"in document,!y2)W5=document.createElement("div"),W5.setAttribute("oninput","return;"),y2=typeof W5.oninput==="function";_2=y2}else _2=!1;Uee=_2&&(!document.documentMode||9<document.documentMode)}var _2,y2,W5;function l$(){k2&&(k2.detachEvent("onpropertychange",Yee),U2=k2=null)}function Yee(e){if(e.propertyName==="value"&&N4(U2)){var r=[];Bee(r,U2,e,q7(e)),Dee(A0e,r)}}function E0e(e,r,a){e==="focusin"?(l$(),k2=r,U2=a,k2.attachEvent("onpropertychange",Yee)):e==="focusout"&&l$()}function D0e(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return N4(U2)}function O0e(e,r){if(e==="click")return N4(r)}function N0e(e,r){if(e==="input"||e==="change")return N4(r)}function F0e(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Kl=typeof Object.is==="function"?Object.is:F0e;function Y2(e,r){if(Kl(e,r))return!0;if(typeof e!=="object"||e===null||typeof r!=="object"||r===null)return!1;var a=Object.keys(e),i=Object.keys(r);if(a.length!==i.length)return!1;for(i=0;i<a.length;i++){var s=a[i];if(!GU.call(r,s)||!Kl(e[s],r[s]))return!1}return!0}function c$(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function u$(e,r){var a=c$(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=c$(a)}}function qee(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?qee(e,r.parentNode):("contains"in e)?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function Hee(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var r=l4(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=l4(e.document)}return r}function G7(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 j0e=YZ&&"documentMode"in document&&11>=document.documentMode,Wk=null,t7=null,C2=null,r7=!1;function d$(e,r,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;r7||Wk==null||Wk!==l4(i)||(i=Wk,("selectionStart"in i)&&G7(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}),C2&&Y2(C2,i)||(C2=i,i=L4(t7,"onSelect"),0<i.length&&(r=new D4("onSelect","select",null,r,a),e.push({event:r,listeners:i}),r.target=Wk)))}function Oz(e,r){var a={};return a[e.toLowerCase()]=r.toLowerCase(),a["Webkit"+e]="webkit"+r,a["Moz"+e]="moz"+r,a}var Gk={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")},MU={},Vee={};YZ&&(Vee=document.createElement("div").style,("AnimationEvent"in window)||(delete Gk.animationend.animation,delete Gk.animationiteration.animation,delete Gk.animationstart.animation),("TransitionEvent"in window)||delete Gk.transitionend.transition);function oL(e){if(MU[e])return MU[e];if(!Gk[e])return e;var r=Gk[e],a;for(a in r)if(r.hasOwnProperty(a)&&a in Vee)return MU[e]=r[a];return e}var Wee=oL("animationend"),Gee=oL("animationiteration"),Kee=oL("animationstart"),B0e=oL("transitionrun"),U0e=oL("transitionstart"),Y0e=oL("transitioncancel"),Xee=oL("transitionend"),Qee=new Map,o7="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(" ");o7.push("scrollEnd");function Fc(e,r){Qee.set(e,r),tL(r,[e])}var c4=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)},cc=[],Kk=0,K7=0;function F4(){for(var e=Kk,r=K7=Kk=0;r<e;){var a=cc[r];cc[r++]=null;var i=cc[r];cc[r++]=null;var s=cc[r];cc[r++]=null;var l=cc[r];if(cc[r++]=null,i!==null&&s!==null){var c=i.pending;c===null?s.next=s:(s.next=c.next,c.next=s),i.pending=s}l!==0&&Jee(a,s,l)}}function j4(e,r,a,i){cc[Kk++]=e,cc[Kk++]=r,cc[Kk++]=a,cc[Kk++]=i,K7|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function X7(e,r,a,i){return j4(e,r,a,i),u4(e)}function aL(e,r){return j4(e,null,null,r),u4(e)}function Jee(e,r,a){e.lanes|=a;var i=e.alternate;i!==null&&(i.lanes|=a);for(var s=!1,l=e.return;l!==null;)l.childLanes|=a,i=l.alternate,i!==null&&(i.childLanes|=a),l.tag===22&&(e=l.stateNode,e===null||e._visibility&1||(s=!0)),e=l,l=l.return;return e.tag===3?(l=e.stateNode,s&&r!==null&&(s=31-Gl(a),e=l.hiddenUpdates,i=e[s],i===null?e[s]=[r]:i.push(r),r.lane=a|536870912),l):null}function u4(e){if(50<N2)throw N2=0,w7=null,Error(Ut(185));for(var r=e.return;r!==null;)e=r,r=e.return;return e.tag===3?e.stateNode:null}var Xk={};function q0e(e,r,a,i){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gl(e,r,a,i){return new q0e(e,r,a,i)}function Q7(e){return e=e.prototype,!(!e||!e.isReactComponent)}function jZ(e,r){var a=e.alternate;return a===null?(a=gl(e.tag,r,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=r,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,r=e.dependencies,a.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function $ee(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 G5(e,r,a,i,s,l){var c=0;if(i=e,typeof e==="function")Q7(e)&&(c=1);else if(typeof e==="string")c=Xze(e,a,oZ.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case qU:return e=gl(31,a,r,s),e.elementType=qU,e.lanes=l,e;case Uk:return qz(a.children,s,l,r);case gee:c=8,s|=24;break;case BU:return e=gl(12,a,r,s|2),e.elementType=BU,e.lanes=l,e;case UU:return e=gl(13,a,r,s),e.elementType=UU,e.lanes=l,e;case YU:return e=gl(19,a,r,s),e.elementType=YU,e.lanes=l,e;default:if(typeof e==="object"&&e!==null)switch(e.$$typeof){case OZ:c=10;break e;case Mee:c=9;break e;case N7:c=11;break e;case F7:c=14;break e;case m8:c=16,i=null;break e}c=29,a=Error(Ut(130,e===null?"null":typeof e,"")),i=null}return r=gl(c,a,r,s),r.elementType=e,r.type=i,r.lanes=l,r}function qz(e,r,a,i){return e=gl(7,e,i,r),e.lanes=a,e}function xU(e,r,a){return e=gl(6,e,null,r),e.lanes=a,e}function ete(e){var r=gl(18,null,null,0);return r.stateNode=e,r}function vU(e,r,a){return r=gl(4,e.children!==null?e.children:[],e.key,r),r.lanes=a,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}var Z$=new WeakMap;function mc(e,r){if(typeof e==="object"&&e!==null){var a=Z$.get(e);if(a!==void 0)return a;return r={value:e,source:r,stack:GJ(r)},Z$.set(e,r),r}return{value:e,source:r,stack:GJ(r)}}var Qk=[],Jk=0,d4=null,q2=0,dc=[],Zc=0,T8=null,eZ=1,tZ="";function EZ(e,r){Qk[Jk++]=q2,Qk[Jk++]=d4,d4=e,q2=r}function tte(e,r,a){dc[Zc++]=eZ,dc[Zc++]=tZ,dc[Zc++]=T8,T8=e;var i=eZ;e=tZ;var s=32-Gl(i)-1;i&=~(1<<s),a+=1;var l=32-Gl(r)+s;if(30<l){var c=s-s%5;l=(i&(1<<c)-1).toString(32),i>>=c,s-=c,eZ=1<<32-Gl(r)+s|a<<s|i,tZ=l+e}else eZ=1<<l|a<<s|i,tZ=e}function J7(e){e.return!==null&&(EZ(e,1),tte(e,1,0))}function $7(e){for(;e===d4;)d4=Qk[--Jk],Qk[Jk]=null,q2=Qk[--Jk],Qk[Jk]=null;for(;e===T8;)T8=dc[--Zc],dc[Zc]=null,tZ=dc[--Zc],dc[Zc]=null,eZ=dc[--Zc],dc[Zc]=null}function rte(e,r){dc[Zc++]=eZ,dc[Zc++]=tZ,dc[Zc++]=T8,eZ=r.id,tZ=r.overflow,T8=e}var hf=null,Mn=null,To=!1,L8=null,hc=!1,a7=Error(Ut(519));function A8(e){var r=Error(Ut(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw H2(mc(r,e)),a7}function p$(e){var{stateNode:r,type:a,memoizedProps:i}=e;switch(r[mf]=e,r[el]=i,a){case"dialog":wo("cancel",r),wo("close",r);break;case"iframe":case"object":case"embed":wo("load",r);break;case"video":case"audio":for(a=0;a<K2.length;a++)wo(K2[a],r);break;case"source":wo("error",r);break;case"img":case"image":case"link":wo("error",r),wo("load",r);break;case"details":wo("toggle",r);break;case"input":wo("invalid",r),Pee(r,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":wo("invalid",r);break;case"textarea":wo("invalid",r),Aee(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||Dre(r.textContent,a)?(i.popover!=null&&(wo("beforetoggle",r),wo("toggle",r)),i.onScroll!=null&&wo("scroll",r),i.onScrollEnd!=null&&wo("scrollend",r),i.onClick!=null&&(r.onclick=NZ),r=!0):r=!1,r||A8(e,!0)}function m$(e){for(hf=e.return;hf;)switch(hf.tag){case 5:case 31:case 13:hc=!1;return;case 27:case 3:hc=!0;return;default:hf=hf.return}}function Ok(e){if(e!==hf)return!1;if(!To)return m$(e),To=!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")||R7(e.type,e.memoizedProps);a=!a}if(a&&Mn&&A8(e),m$(e),r===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Ut(317));Mn=tee(e)}else if(r===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Ut(317));Mn=tee(e)}else r===27?(r=Mn,N8(e.type)?(e=E7,E7=null,Mn=e):Mn=r):Mn=hf?xc(e.stateNode.nextSibling):null;return!0}function Xz(){Mn=hf=null,To=!1}function _U(){var e=L8;return e!==null&&(Xs===null?Xs=e:Xs.push.apply(Xs,e),L8=null),e}function H2(e){L8===null?L8=[e]:L8.push(e)}var n7=aZ(null),nL=null,FZ=null;function g8(e,r,a){Qa(n7,r._currentValue),r._currentValue=a}function BZ(e){e._currentValue=n7.current,Fi(n7)}function i7(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 f7(e,r,a,i){var s=e.child;s!==null&&(s.return=e);for(;s!==null;){var l=s.dependencies;if(l!==null){var c=s.child;l=l.firstContext;e:for(;l!==null;){var d=l;l=s;for(var h=0;h<r.length;h++)if(d.context===r[h]){l.lanes|=a,d=l.alternate,d!==null&&(d.lanes|=a),i7(l.return,a,e),i||(c=null);break e}l=d.next}}else if(s.tag===18){if(c=s.return,c===null)throw Error(Ut(341));c.lanes|=a,l=c.alternate,l!==null&&(l.lanes|=a),i7(c,a,e),c=null}else c=s.child;if(c!==null)c.return=s;else for(c=s;c!==null;){if(c===e){c=null;break}if(s=c.sibling,s!==null){s.return=c.return,c=s;break}c=c.return}s=c}}function xR(e,r,a,i){e=null;for(var s=r,l=!1;s!==null;){if(!l){if((s.flags&524288)!==0)l=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var c=s.alternate;if(c===null)throw Error(Ut(387));if(c=c.memoizedProps,c!==null){var d=s.type;Kl(s.pendingProps.value,c.value)||(e!==null?e.push(d):e=[d])}}else if(s===n4.current){if(c=s.alternate,c===null)throw Error(Ut(387));c.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(Q2):e=[Q2])}s=s.return}e!==null&&f7(r,e,a,i),r.flags|=262144}function Z4(e){for(e=e.firstContext;e!==null;){if(!Kl(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Qz(e){nL=e,FZ=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function gf(e){return ote(nL,e)}function E5(e,r){return nL===null&&Qz(e),ote(e,r)}function ote(e,r){var a=r._currentValue;if(r={context:r,memoizedValue:a,next:null},FZ===null){if(e===null)throw Error(Ut(308));FZ=r,e.dependencies={lanes:0,firstContext:r},e.flags|=524288}else FZ=FZ.next=r;return a}var H0e=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()})}},V0e=zs,W0e=Us,di={$$typeof:OZ,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function eY(){return{controller:new H0e,data:new Map,refCount:0}}function iD(e){e.refCount--,e.refCount===0&&V0e(W0e,function(){e.controller.abort()})}var I2=null,s7=0,cR=0,oR=null;function G0e(e,r){if(I2===null){var a=I2=[];s7=0,cR=zY(),oR={status:"pending",value:void 0,then:function(i){a.push(i)}}}return s7++,r.then(h$,h$),r}function h$(){if(--s7===0&&I2!==null){oR!==null&&(oR.status="fulfilled");var e=I2;I2=null,cR=0,oR=null;for(var r=0;r<e.length;r++)(0,e[r])()}}function K0e(e,r){var a=[],i={status:"pending",value:null,reason:null,then:function(s){a.push(s)}};return e.then(function(){i.status="fulfilled",i.value=r;for(var s=0;s<a.length;s++)(0,a[s])(r)},function(s){i.status="rejected",i.reason=s;for(s=0;s<a.length;s++)(0,a[s])(void 0)}),i}var g$=Hr.S;Hr.S=function(e,r){pre=Vl(),typeof r==="object"&&r!==null&&typeof r.then==="function"&&G0e(e,r),g$!==null&&g$(e,r)};var Hz=aZ(null);function tY(){var e=Hz.current;return e!==null?e:Va.pooledCache}function K5(e,r){r===null?Qa(Hz,Hz.current):Qa(Hz,r.pool)}function ate(){var e=tY();return e===null?null:{parent:di._currentValue,pool:e}}var vR=Error(Ut(460)),rY=Error(Ut(474)),B4=Error(Ut(542)),p4={then:function(){}};function M$(e){return e=e.status,e==="fulfilled"||e==="rejected"}function nte(e,r,a){switch(a=e[a],a===void 0?e.push(r):a!==r&&(r.then(NZ,NZ),r=a),r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,v$(e),e;default:if(typeof r.status==="string")r.then(NZ,NZ);else{if(e=Va,e!==null&&100<e.shellSuspendCounter)throw Error(Ut(482));e=r,e.status="pending",e.then(function(i){if(r.status==="pending"){var s=r;s.status="fulfilled",s.value=i}},function(i){if(r.status==="pending"){var s=r;s.status="rejected",s.reason=i}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,v$(e),e}throw Vz=r,vR}}function Bz(e){try{var r=e._init;return r(e._payload)}catch(a){if(a!==null&&typeof a==="object"&&typeof a.then==="function")throw Vz=a,vR;throw a}}var Vz=null;function x$(){if(Vz===null)throw Error(Ut(459));var e=Vz;return Vz=null,e}function v$(e){if(e===vR||e===B4)throw Error(Ut(483))}var aR=null,V2=0;function D5(e){var r=V2;return V2+=1,aR===null&&(aR=[]),nte(aR,e,r)}function p2(e,r){r=r.props.ref,e.ref=r!==void 0?r:null}function O5(e,r){if(r.$$typeof===Ewe)throw Error(Ut(525));throw e=Object.prototype.toString.call(r),Error(Ut(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}function ite(e){function r(A,j){if(e){var V=A.deletions;V===null?(A.deletions=[j],A.flags|=16):V.push(j)}}function a(A,j){if(!e)return null;for(;j!==null;)r(A,j),j=j.sibling;return null}function i(A){for(var j=new Map;A!==null;)A.key!==null?j.set(A.key,A):j.set(A.index,A),A=A.sibling;return j}function s(A,j){return A=jZ(A,j),A.index=0,A.sibling=null,A}function l(A,j,V){if(A.index=V,!e)return A.flags|=1048576,j;if(V=A.alternate,V!==null)return V=V.index,V<j?(A.flags|=67108866,j):V;return A.flags|=67108866,j}function c(A){return e&&A.alternate===null&&(A.flags|=67108866),A}function d(A,j,V,J){if(j===null||j.tag!==6)return j=xU(V,A.mode,J),j.return=A,j;return j=s(j,V),j.return=A,j}function h(A,j,V,J){var ee=V.type;if(ee===Uk)return v(A,j,V.props.children,J,V.key);if(j!==null&&(j.elementType===ee||typeof ee==="object"&&ee!==null&&ee.$$typeof===m8&&Bz(ee)===j.type))return j=s(j,V.props),p2(j,V),j.return=A,j;return j=G5(V.type,V.key,V.props,null,A.mode,J),p2(j,V),j.return=A,j}function x(A,j,V,J){if(j===null||j.tag!==4||j.stateNode.containerInfo!==V.containerInfo||j.stateNode.implementation!==V.implementation)return j=vU(V,A.mode,J),j.return=A,j;return j=s(j,V.children||[]),j.return=A,j}function v(A,j,V,J,ee){if(j===null||j.tag!==7)return j=qz(V,A.mode,J,ee),j.return=A,j;return j=s(j,V),j.return=A,j}function y(A,j,V){if(typeof j==="string"&&j!==""||typeof j==="number"||typeof j==="bigint")return j=xU(""+j,A.mode,V),j.return=A,j;if(typeof j==="object"&&j!==null){switch(j.$$typeof){case C5:return V=G5(j.type,j.key,j.props,null,A.mode,V),p2(V,j),V.return=A,V;case M2:return j=vU(j,A.mode,V),j.return=A,j;case m8:return j=Bz(j),y(A,j,V)}if(x2(j)||d2(j))return j=qz(j,A.mode,V,null),j.return=A,j;if(typeof j.then==="function")return y(A,D5(j),V);if(j.$$typeof===OZ)return y(A,E5(A,j),V);O5(A,j)}return null}function k(A,j,V,J){var ee=j!==null?j.key:null;if(typeof V==="string"&&V!==""||typeof V==="number"||typeof V==="bigint")return ee!==null?null:d(A,j,""+V,J);if(typeof V==="object"&&V!==null){switch(V.$$typeof){case C5:return V.key===ee?h(A,j,V,J):null;case M2:return V.key===ee?x(A,j,V,J):null;case m8:return V=Bz(V),k(A,j,V,J)}if(x2(V)||d2(V))return ee!==null?null:v(A,j,V,J,null);if(typeof V.then==="function")return k(A,j,D5(V),J);if(V.$$typeof===OZ)return k(A,j,E5(A,V),J);O5(A,V)}return null}function b(A,j,V,J,ee){if(typeof J==="string"&&J!==""||typeof J==="number"||typeof J==="bigint")return A=A.get(V)||null,d(j,A,""+J,ee);if(typeof J==="object"&&J!==null){switch(J.$$typeof){case C5:return A=A.get(J.key===null?V:J.key)||null,h(j,A,J,ee);case M2:return A=A.get(J.key===null?V:J.key)||null,x(j,A,J,ee);case m8:return J=Bz(J),b(A,j,V,J,ee)}if(x2(J)||d2(J))return A=A.get(V)||null,v(j,A,J,ee,null);if(typeof J.then==="function")return b(A,j,V,D5(J),ee);if(J.$$typeof===OZ)return b(A,j,V,E5(j,J),ee);O5(j,J)}return null}function T(A,j,V,J){for(var ee=null,te=null,re=j,ae=j=0,he=null;re!==null&&ae<V.length;ae++){re.index>ae?(he=re,re=null):he=re.sibling;var be=k(A,re,V[ae],J);if(be===null){re===null&&(re=he);break}e&&re&&be.alternate===null&&r(A,re),j=l(be,j,ae),te===null?ee=be:te.sibling=be,te=be,re=he}if(ae===V.length)return a(A,re),To&&EZ(A,ae),ee;if(re===null){for(;ae<V.length;ae++)re=y(A,V[ae],J),re!==null&&(j=l(re,j,ae),te===null?ee=re:te.sibling=re,te=re);return To&&EZ(A,ae),ee}for(re=i(re);ae<V.length;ae++)he=b(re,A,ae,V[ae],J),he!==null&&(e&&he.alternate!==null&&re.delete(he.key===null?ae:he.key),j=l(he,j,ae),te===null?ee=he:te.sibling=he,te=he);return e&&re.forEach(function(Qe){return r(A,Qe)}),To&&EZ(A,ae),ee}function D(A,j,V,J){if(V==null)throw Error(Ut(151));for(var ee=null,te=null,re=j,ae=j=0,he=null,be=V.next();re!==null&&!be.done;ae++,be=V.next()){re.index>ae?(he=re,re=null):he=re.sibling;var Qe=k(A,re,be.value,J);if(Qe===null){re===null&&(re=he);break}e&&re&&Qe.alternate===null&&r(A,re),j=l(Qe,j,ae),te===null?ee=Qe:te.sibling=Qe,te=Qe,re=he}if(be.done)return a(A,re),To&&EZ(A,ae),ee;if(re===null){for(;!be.done;ae++,be=V.next())be=y(A,be.value,J),be!==null&&(j=l(be,j,ae),te===null?ee=be:te.sibling=be,te=be);return To&&EZ(A,ae),ee}for(re=i(re);!be.done;ae++,be=V.next())be=b(re,A,ae,be.value,J),be!==null&&(e&&be.alternate!==null&&re.delete(be.key===null?ae:be.key),j=l(be,j,ae),te===null?ee=be:te.sibling=be,te=be);return e&&re.forEach(function(Ye){return r(A,Ye)}),To&&EZ(A,ae),ee}function U(A,j,V,J){if(typeof V==="object"&&V!==null&&V.type===Uk&&V.key===null&&(V=V.props.children),typeof V==="object"&&V!==null){switch(V.$$typeof){case C5:e:{for(var ee=V.key;j!==null;){if(j.key===ee){if(ee=V.type,ee===Uk){if(j.tag===7){a(A,j.sibling),J=s(j,V.props.children),J.return=A,A=J;break e}}else if(j.elementType===ee||typeof ee==="object"&&ee!==null&&ee.$$typeof===m8&&Bz(ee)===j.type){a(A,j.sibling),J=s(j,V.props),p2(J,V),J.return=A,A=J;break e}a(A,j);break}else r(A,j);j=j.sibling}V.type===Uk?(J=qz(V.props.children,A.mode,J,V.key),J.return=A,A=J):(J=G5(V.type,V.key,V.props,null,A.mode,J),p2(J,V),J.return=A,A=J)}return c(A);case M2:e:{for(ee=V.key;j!==null;){if(j.key===ee)if(j.tag===4&&j.stateNode.containerInfo===V.containerInfo&&j.stateNode.implementation===V.implementation){a(A,j.sibling),J=s(j,V.children||[]),J.return=A,A=J;break e}else{a(A,j);break}else r(A,j);j=j.sibling}J=vU(V,A.mode,J),J.return=A,A=J}return c(A);case m8:return V=Bz(V),U(A,j,V,J)}if(x2(V))return T(A,j,V,J);if(d2(V)){if(ee=d2(V),typeof ee!=="function")throw Error(Ut(150));return V=ee.call(V),D(A,j,V,J)}if(typeof V.then==="function")return U(A,j,D5(V),J);if(V.$$typeof===OZ)return U(A,j,E5(A,V),J);O5(A,V)}return typeof V==="string"&&V!==""||typeof V==="number"||typeof V==="bigint"?(V=""+V,j!==null&&j.tag===6?(a(A,j.sibling),J=s(j,V),J.return=A,A=J):(a(A,j),J=xU(V,A.mode,J),J.return=A,A=J),c(A)):a(A,j)}return function(A,j,V,J){try{V2=0;var ee=U(A,j,V,J);return aR=null,ee}catch(re){if(re===vR||re===B4)throw re;var te=gl(29,re,null,A.mode);return te.lanes=J,te.return=A,te}finally{}}}var Jz=ite(!0),fte=ite(!1),h8=!1;function oY(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function l7(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 Wz(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Gz(e,r,a){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(qo&2)!==0){var s=i.pending;return s===null?r.next=r:(r.next=s.next,s.next=r),i.pending=r,r=u4(e),Jee(e,null,a),r}return j4(e,i,r,a),u4(e)}function R2(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,wee(e,a)}}function yU(e,r){var a=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,a===i)){var s=null,l=null;if(a=a.firstBaseUpdate,a!==null){do{var c={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};l===null?s=l=c:l=l.next=c,a=a.next}while(a!==null);l===null?s=l=r:l=l.next=r}else s=l=r;a={baseState:i.baseState,firstBaseUpdate:s,lastBaseUpdate:l,shared:i.shared,callbacks:i.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=r:e.next=r,a.lastBaseUpdate=r}var c7=!1;function P2(){if(c7){var e=oR;if(e!==null)throw e}}function T2(e,r,a,i){c7=!1;var s=e.updateQueue;h8=!1;var{firstBaseUpdate:l,lastBaseUpdate:c}=s,d=s.shared.pending;if(d!==null){s.shared.pending=null;var h=d,x=h.next;h.next=null,c===null?l=x:c.next=x,c=h;var v=e.alternate;v!==null&&(v=v.updateQueue,d=v.lastBaseUpdate,d!==c&&(d===null?v.firstBaseUpdate=x:d.next=x,v.lastBaseUpdate=h))}if(l!==null){var y=s.baseState;c=0,v=x=h=null,d=l;do{var k=d.lane&-536870913,b=k!==d.lane;if(b?(Ro&k)===k:(i&k)===k){k!==0&&k===cR&&(c7=!0),v!==null&&(v=v.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{var T=e,D=d;k=r;var U=a;switch(D.tag){case 1:if(T=D.payload,typeof T==="function"){y=T.call(U,y,k);break e}y=T;break e;case 3:T.flags=T.flags&-65537|128;case 0:if(T=D.payload,k=typeof T==="function"?T.call(U,y,k):T,k===null||k===void 0)break e;y=vn({},y,k);break e;case 2:h8=!0}}k=d.callback,k!==null&&(e.flags|=64,b&&(e.flags|=8192),b=s.callbacks,b===null?s.callbacks=[k]:b.push(k))}else b={lane:k,tag:d.tag,payload:d.payload,callback:d.callback,next:null},v===null?(x=v=b,h=y):v=v.next=b,c|=k;if(d=d.next,d===null)if(d=s.shared.pending,d===null)break;else b=d,d=b.next,b.next=null,s.lastBaseUpdate=b,s.shared.pending=null}while(1);v===null&&(h=y),s.baseState=h,s.firstBaseUpdate=x,s.lastBaseUpdate=v,l===null&&(s.shared.lanes=0),D8|=c,e.lanes=c,e.memoizedState=y}}function ste(e,r){if(typeof e!=="function")throw Error(Ut(191,e));e.call(r)}function lte(e,r){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)ste(a[e],r)}var uR=aZ(null),m4=aZ(0);function _$(e,r){e=WZ,Qa(m4,e),Qa(uR,r),WZ=e|r.baseLanes}function u7(){Qa(m4,WZ),Qa(uR,uR.current)}function aY(){WZ=m4.current,Fi(uR),Fi(m4)}var Xl=aZ(null),gc=null;function M8(e){var r=e.alternate;Qa(Jn,Jn.current&1),Qa(Xl,e),gc===null&&(r===null||uR.current!==null?gc=e:r.memoizedState!==null&&(gc=e))}function d7(e){Qa(Jn,Jn.current),Qa(Xl,e),gc===null&&(gc=e)}function cte(e){e.tag===22?(Qa(Jn,Jn.current),Qa(Xl,e),gc===null&&(gc=e)):x8(e)}function x8(){Qa(Jn,Jn.current),Qa(Xl,Xl.current)}function hl(e){Fi(Xl),gc===e&&(gc=null),Fi(Jn)}var Jn=aZ(0);function h4(e){for(var r=e;r!==null;){if(r.tag===13){var a=r.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||T7(a)||A7(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 qZ=0,mo=null,ba=null,ci=null,g4=!1,nR=!1,$z=!1,M4=0,W2=0,iR=null,X0e=0;function Tn(){throw Error(Ut(321))}function nY(e,r){if(r===null)return!1;for(var a=0;a<r.length&&a<e.length;a++)if(!Kl(e[a],r[a]))return!1;return!0}function iY(e,r,a,i,s,l){return qZ=l,mo=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Hr.H=e===null||e.memoizedState===null?Bte:gY,$z=!1,l=a(i,s),$z=!1,nR&&(l=dte(r,a,i,s)),ute(e),l}function ute(e){Hr.H=G2;var r=ba!==null&&ba.next!==null;if(qZ=0,ci=ba=mo=null,g4=!1,W2=0,iR=null,r)throw Error(Ut(300));e===null||Zi||(e=e.dependencies,e!==null&&Z4(e)&&(Zi=!0))}function dte(e,r,a,i){mo=e;var s=0;do{if(nR&&(iR=null),W2=0,nR=!1,25<=s)throw Error(Ut(301));if(s+=1,ci=ba=null,e.updateQueue!=null){var l=e.updateQueue;l.lastEffect=null,l.events=null,l.stores=null,l.memoCache!=null&&(l.memoCache.index=0)}Hr.H=Ute,l=r(a,i)}while(nR);return l}function Q0e(){var e=Hr.H,r=e.useState()[0];return r=typeof r.then==="function"?fD(r):r,e=e.useState()[0],(ba!==null?ba.memoizedState:null)!==e&&(mo.flags|=1024),r}function fY(){var e=M4!==0;return M4=0,e}function sY(e,r,a){r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~a}function lY(e){if(g4){for(e=e.memoizedState;e!==null;){var r=e.queue;r!==null&&(r.pending=null),e=e.next}g4=!1}qZ=0,ci=ba=mo=null,nR=!1,W2=M4=0,iR=null}function ss(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ci===null?mo.memoizedState=ci=e:ci=ci.next=e,ci}function ei(){if(ba===null){var e=mo.alternate;e=e!==null?e.memoizedState:null}else e=ba.next;var r=ci===null?mo.memoizedState:ci.next;if(r!==null)ci=r,ba=e;else{if(e===null){if(mo.alternate===null)throw Error(Ut(467));throw Error(Ut(310))}ba=e,e={memoizedState:ba.memoizedState,baseState:ba.baseState,baseQueue:ba.baseQueue,queue:ba.queue,next:null},ci===null?mo.memoizedState=ci=e:ci=ci.next=e}return ci}function U4(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function fD(e){var r=W2;return W2+=1,iR===null&&(iR=[]),e=nte(iR,e,r),r=mo,(ci===null?r.memoizedState:ci.next)===null&&(r=r.alternate,Hr.H=r===null||r.memoizedState===null?Bte:gY),e}function Y4(e){if(e!==null&&typeof e==="object"){if(typeof e.then==="function")return fD(e);if(e.$$typeof===OZ)return gf(e)}throw Error(Ut(438,String(e)))}function cY(e){var r=null,a=mo.updateQueue;if(a!==null&&(r=a.memoCache),r==null){var i=mo.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(r={data:i.data.map(function(s){return s.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),a===null&&(a=U4(),mo.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]=Dwe;return r.index++,a}function HZ(e,r){return typeof r==="function"?r(e):r}function X5(e){var r=ei();return uY(r,ba,e)}function uY(e,r,a){var i=e.queue;if(i===null)throw Error(Ut(311));i.lastRenderedReducer=a;var s=e.baseQueue,l=i.pending;if(l!==null){if(s!==null){var c=s.next;s.next=l.next,l.next=c}r.baseQueue=s=l,i.pending=null}if(l=e.baseState,s===null)e.memoizedState=l;else{r=s.next;var d=c=null,h=null,x=r,v=!1;do{var y=x.lane&-536870913;if(y!==x.lane?(Ro&y)===y:(qZ&y)===y){var k=x.revertLane;if(k===0)h!==null&&(h=h.next={lane:0,revertLane:0,gesture:null,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null}),y===cR&&(v=!0);else if((qZ&k)===k){x=x.next,k===cR&&(v=!0);continue}else y={lane:0,revertLane:x.revertLane,gesture:null,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},h===null?(d=h=y,c=l):h=h.next=y,mo.lanes|=k,D8|=k;y=x.action,$z&&a(l,y),l=x.hasEagerState?x.eagerState:a(l,y)}else k={lane:y,revertLane:x.revertLane,gesture:x.gesture,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},h===null?(d=h=k,c=l):h=h.next=k,mo.lanes|=y,D8|=y;x=x.next}while(x!==null&&x!==r);if(h===null?c=l:h.next=d,!Kl(l,e.memoizedState)&&(Zi=!0,v&&(a=oR,a!==null)))throw a;e.memoizedState=l,e.baseState=c,e.baseQueue=h,i.lastRenderedState=l}return s===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function bU(e){var r=ei(),a=r.queue;if(a===null)throw Error(Ut(311));a.lastRenderedReducer=e;var{dispatch:i,pending:s}=a,l=r.memoizedState;if(s!==null){a.pending=null;var c=s=s.next;do l=e(l,c.action),c=c.next;while(c!==s);Kl(l,r.memoizedState)||(Zi=!0),r.memoizedState=l,r.baseQueue===null&&(r.baseState=l),a.lastRenderedState=l}return[l,i]}function Zte(e,r,a){var i=mo,s=ei(),l=To;if(l){if(a===void 0)throw Error(Ut(407));a=a()}else a=r();var c=!Kl((ba||s).memoizedState,a);if(c&&(s.memoizedState=a,Zi=!0),s=s.queue,dY(hte.bind(null,i,s,e),[e]),s.getSnapshot!==r||c||ci!==null&&ci.memoizedState.tag&1){if(i.flags|=2048,dR(9,{destroy:void 0},mte.bind(null,i,s,a,r),null),Va===null)throw Error(Ut(349));l||(qZ&127)!==0||pte(i,r,a)}return a}function pte(e,r,a){e.flags|=16384,e={getSnapshot:r,value:a},r=mo.updateQueue,r===null?(r=U4(),mo.updateQueue=r,r.stores=[e]):(a=r.stores,a===null?r.stores=[e]:a.push(e))}function mte(e,r,a,i){r.value=a,r.getSnapshot=i,gte(r)&&Mte(e)}function hte(e,r,a){return a(function(){gte(r)&&Mte(e)})}function gte(e){var r=e.getSnapshot;e=e.value;try{var a=r();return!Kl(e,a)}catch(i){return!0}}function Mte(e){var r=aL(e,2);r!==null&&Js(r,e,2)}function Z7(e){var r=ss();if(typeof e==="function"){var a=e;if(e=a(),$z){_8(!0);try{a()}finally{_8(!1)}}}return r.memoizedState=r.baseState=e,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:HZ,lastRenderedState:e},r}function xte(e,r,a,i){return e.baseState=a,uY(e,ba,typeof i==="function"?i:HZ)}function J0e(e,r,a,i,s){if(H4(e))throw Error(Ut(485));if(e=r.action,e!==null){var l={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){l.listeners.push(c)}};Hr.T!==null?a(!0):l.isTransition=!1,i(l),a=r.pending,a===null?(l.next=r.pending=l,vte(r,l)):(l.next=a.next,r.pending=a.next=l)}}function vte(e,r){var{action:a,payload:i}=r,s=e.state;if(r.isTransition){var l=Hr.T,c={};Hr.T=c;try{var d=a(s,i),h=Hr.S;h!==null&&h(c,d),y$(e,r,d)}catch(x){p7(e,r,x)}finally{l!==null&&c.types!==null&&(l.types=c.types),Hr.T=l}}else try{l=a(s,i),y$(e,r,l)}catch(x){p7(e,r,x)}}function y$(e,r,a){a!==null&&typeof a==="object"&&typeof a.then==="function"?a.then(function(i){b$(e,r,i)},function(i){return p7(e,r,i)}):b$(e,r,a)}function b$(e,r,a){r.status="fulfilled",r.value=a,_te(r),e.state=a,r=e.pending,r!==null&&(a=r.next,a===r?e.pending=null:(a=a.next,r.next=a,vte(e,a)))}function p7(e,r,a){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do r.status="rejected",r.reason=a,_te(r),r=r.next;while(r!==i)}e.action=null}function _te(e){e=e.listeners;for(var r=0;r<e.length;r++)(0,e[r])()}function yte(e,r){return r}function w$(e,r){if(To){var a=Va.formState;if(a!==null){e:{var i=mo;if(To){if(Mn){t:{var s=Mn;for(var l=hc;s.nodeType!==8;){if(!l){s=null;break t}if(s=xc(s.nextSibling),s===null){s=null;break t}}l=s.data,s=l==="F!"||l==="F"?s:null}if(s){Mn=xc(s.nextSibling),i=s.data==="F!";break e}}A8(i)}i=!1}i&&(r=a[0])}}return a=ss(),a.memoizedState=a.baseState=r,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:yte,lastRenderedState:r},a.queue=i,a=Nte.bind(null,mo,i),i.dispatch=a,i=Z7(!1),l=hY.bind(null,mo,!1,i.queue),i=ss(),s={state:r,dispatch:null,action:e,pending:null},i.queue=s,a=J0e.bind(null,mo,s,l,a),s.dispatch=a,i.memoizedState=e,[r,a,!1]}function z$(e){var r=ei();return bte(r,ba,e)}function bte(e,r,a){if(r=uY(e,r,yte)[0],e=X5(HZ)[0],typeof r==="object"&&r!==null&&typeof r.then==="function")try{var i=fD(r)}catch(c){if(c===vR)throw B4;throw c}else i=r;r=ei();var s=r.queue,l=s.dispatch;return a!==r.memoizedState&&(mo.flags|=2048,dR(9,{destroy:void 0},$0e.bind(null,s,a),null)),[i,l,e]}function $0e(e,r){e.action=r}function S$(e){var r=ei(),a=ba;if(a!==null)return bte(r,a,e);ei(),r=r.memoizedState,a=ei();var i=a.queue.dispatch;return a.memoizedState=e,[r,i,!1]}function dR(e,r,a,i){return e={tag:e,create:a,deps:i,inst:r,next:null},r=mo.updateQueue,r===null&&(r=U4(),mo.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 wte(){return ei().memoizedState}function Q5(e,r,a,i){var s=ss();mo.flags|=e,s.memoizedState=dR(1|r,{destroy:void 0},a,i===void 0?null:i)}function q4(e,r,a,i){var s=ei();i=i===void 0?null:i;var l=s.memoizedState.inst;ba!==null&&i!==null&&nY(i,ba.memoizedState.deps)?s.memoizedState=dR(r,l,a,i):(mo.flags|=e,s.memoizedState=dR(1|r,l,a,i))}function L$(e,r){Q5(8390656,8,e,r)}function dY(e,r){q4(2048,8,e,r)}function eze(e){mo.flags|=4;var r=mo.updateQueue;if(r===null)r=U4(),mo.updateQueue=r,r.events=[e];else{var a=r.events;a===null?r.events=[e]:a.push(e)}}function zte(e){var r=ei().memoizedState;return eze({ref:r,nextImpl:e}),function(){if((qo&2)!==0)throw Error(Ut(440));return r.impl.apply(void 0,arguments)}}function Ste(e,r){return q4(4,2,e,r)}function Lte(e,r){return q4(4,4,e,r)}function kte(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 Cte(e,r,a){a=a!==null&&a!==void 0?a.concat([e]):null,q4(4,4,kte.bind(null,r,e),a)}function ZY(){}function Ite(e,r){var a=ei();r=r===void 0?null:r;var i=a.memoizedState;if(r!==null&&nY(r,i[1]))return i[0];return a.memoizedState=[e,r],e}function Rte(e,r){var a=ei();r=r===void 0?null:r;var i=a.memoizedState;if(r!==null&&nY(r,i[1]))return i[0];if(i=e(),$z){_8(!0);try{e()}finally{_8(!1)}}return a.memoizedState=[i,r],i}function pY(e,r,a){if(a===void 0||(qZ&1073741824)!==0&&(Ro&261930)===0)return e.memoizedState=r;return e.memoizedState=a,e=hre(),mo.lanes|=e,D8|=e,a}function Pte(e,r,a,i){if(Kl(a,r))return a;if(uR.current!==null)return e=pY(e,a,i),Kl(e,r)||(Zi=!0),e;if((qZ&42)===0||(qZ&1073741824)!==0&&(Ro&261930)===0)return Zi=!0,e.memoizedState=a;return e=hre(),mo.lanes|=e,D8|=e,r}function Tte(e,r,a,i,s){var l=Ho.p;Ho.p=l!==0&&8>l?l:8;var c=Hr.T,d={};Hr.T=d,hY(e,!1,r,a);try{var h=s(),x=Hr.S;if(x!==null&&x(d,h),h!==null&&typeof h==="object"&&typeof h.then==="function"){var v=K0e(h,i);A2(e,r,v,Mc(e))}else A2(e,r,i,Mc(e))}catch(y){A2(e,r,{then:function(){},status:"rejected",reason:y},Mc())}finally{Ho.p=l,c!==null&&d.types!==null&&(c.types=d.types),Hr.T=c}}function tze(){}function m7(e,r,a,i){if(e.tag!==5)throw Error(Ut(476));var s=Ate(e).queue;Tte(e,s,r,Yz,a===null?tze:function(){return Ete(e),a(i)})}function Ate(e){var r=e.memoizedState;if(r!==null)return r;r={memoizedState:Yz,baseState:Yz,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:HZ,lastRenderedState:Yz},next:null};var a={};return r.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:HZ,lastRenderedState:a},next:null},e.memoizedState=r,e=e.alternate,e!==null&&(e.memoizedState=r),r}function Ete(e){var r=Ate(e);r.next===null&&(r=e.alternate.memoizedState),A2(e,r.next.queue,{},Mc())}function mY(){return gf(Q2)}function Dte(){return ei().memoizedState}function Ote(){return ei().memoizedState}function rze(e){for(var r=e.return;r!==null;){switch(r.tag){case 24:case 3:var a=Mc();e=Wz(a);var i=Gz(r,e,a);i!==null&&(Js(i,r,a),R2(i,r,a)),r={cache:eY()},e.payload=r;return}r=r.return}}function oze(e,r,a){var i=Mc();a={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},H4(e)?Fte(r,a):(a=X7(e,r,a,i),a!==null&&(Js(a,e,i),jte(a,r,i)))}function Nte(e,r,a){var i=Mc();A2(e,r,a,i)}function A2(e,r,a,i){var s={lane:i,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(H4(e))Fte(r,s);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=r.lastRenderedReducer,l!==null))try{var c=r.lastRenderedState,d=l(c,a);if(s.hasEagerState=!0,s.eagerState=d,Kl(d,c))return j4(e,r,s,0),Va===null&&F4(),!1}catch(h){}finally{}if(a=X7(e,r,s,i),a!==null)return Js(a,e,i),jte(a,r,i),!0}return!1}function hY(e,r,a,i){if(i={lane:2,revertLane:zY(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},H4(e)){if(r)throw Error(Ut(479))}else r=X7(e,a,i,2),r!==null&&Js(r,e,2)}function H4(e){var r=e.alternate;return e===mo||r!==null&&r===mo}function Fte(e,r){nR=g4=!0;var a=e.pending;a===null?r.next=r:(r.next=a.next,a.next=r),e.pending=r}function jte(e,r,a){if((a&4194048)!==0){var i=r.lanes;i&=e.pendingLanes,a|=i,r.lanes=a,wee(e,a)}}var G2={readContext:gf,use:Y4,useCallback:Tn,useContext:Tn,useEffect:Tn,useImperativeHandle:Tn,useLayoutEffect:Tn,useInsertionEffect:Tn,useMemo:Tn,useReducer:Tn,useRef:Tn,useState:Tn,useDebugValue:Tn,useDeferredValue:Tn,useTransition:Tn,useSyncExternalStore:Tn,useId:Tn,useHostTransitionStatus:Tn,useFormState:Tn,useActionState:Tn,useOptimistic:Tn,useMemoCache:Tn,useCacheRefresh:Tn};G2.useEffectEvent=Tn;var Bte={readContext:gf,use:Y4,useCallback:function(e,r){return ss().memoizedState=[e,r===void 0?null:r],e},useContext:gf,useEffect:L$,useImperativeHandle:function(e,r,a){a=a!==null&&a!==void 0?a.concat([e]):null,Q5(4194308,4,kte.bind(null,r,e),a)},useLayoutEffect:function(e,r){return Q5(4194308,4,e,r)},useInsertionEffect:function(e,r){Q5(4,2,e,r)},useMemo:function(e,r){var a=ss();r=r===void 0?null:r;var i=e();if($z){_8(!0);try{e()}finally{_8(!1)}}return a.memoizedState=[i,r],i},useReducer:function(e,r,a){var i=ss();if(a!==void 0){var s=a(r);if($z){_8(!0);try{a(r)}finally{_8(!1)}}}else s=r;return i.memoizedState=i.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},i.queue=e,e=e.dispatch=oze.bind(null,mo,e),[i.memoizedState,e]},useRef:function(e){var r=ss();return e={current:e},r.memoizedState=e},useState:function(e){e=Z7(e);var r=e.queue,a=Nte.bind(null,mo,r);return r.dispatch=a,[e.memoizedState,a]},useDebugValue:ZY,useDeferredValue:function(e,r){var a=ss();return pY(a,e,r)},useTransition:function(){var e=Z7(!1);return e=Tte.bind(null,mo,e.queue,!0,!1),ss().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,r,a){var i=mo,s=ss();if(To){if(a===void 0)throw Error(Ut(407));a=a()}else{if(a=r(),Va===null)throw Error(Ut(349));(Ro&127)!==0||pte(i,r,a)}s.memoizedState=a;var l={value:a,getSnapshot:r};return s.queue=l,L$(hte.bind(null,i,l,e),[e]),i.flags|=2048,dR(9,{destroy:void 0},mte.bind(null,i,l,a,r),null),a},useId:function(){var e=ss(),r=Va.identifierPrefix;if(To){var a=tZ,i=eZ;a=(i&~(1<<32-Gl(i)-1)).toString(32)+a,r="_"+r+"R_"+a,a=M4++,0<a&&(r+="H"+a.toString(32)),r+="_"}else a=X0e++,r="_"+r+"r_"+a.toString(32)+"_";return e.memoizedState=r},useHostTransitionStatus:mY,useFormState:w$,useActionState:w$,useOptimistic:function(e){var r=ss();r.memoizedState=r.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=a,r=hY.bind(null,mo,!0,a),a.dispatch=r,[e,r]},useMemoCache:cY,useCacheRefresh:function(){return ss().memoizedState=rze.bind(null,mo)},useEffectEvent:function(e){var r=ss(),a={impl:e};return r.memoizedState=a,function(){if((qo&2)!==0)throw Error(Ut(440));return a.impl.apply(void 0,arguments)}}},gY={readContext:gf,use:Y4,useCallback:Ite,useContext:gf,useEffect:dY,useImperativeHandle:Cte,useInsertionEffect:Ste,useLayoutEffect:Lte,useMemo:Rte,useReducer:X5,useRef:wte,useState:function(){return X5(HZ)},useDebugValue:ZY,useDeferredValue:function(e,r){var a=ei();return Pte(a,ba.memoizedState,e,r)},useTransition:function(){var e=X5(HZ)[0],r=ei().memoizedState;return[typeof e==="boolean"?e:fD(e),r]},useSyncExternalStore:Zte,useId:Dte,useHostTransitionStatus:mY,useFormState:z$,useActionState:z$,useOptimistic:function(e,r){var a=ei();return xte(a,ba,e,r)},useMemoCache:cY,useCacheRefresh:Ote};gY.useEffectEvent=zte;var Ute={readContext:gf,use:Y4,useCallback:Ite,useContext:gf,useEffect:dY,useImperativeHandle:Cte,useInsertionEffect:Ste,useLayoutEffect:Lte,useMemo:Rte,useReducer:bU,useRef:wte,useState:function(){return bU(HZ)},useDebugValue:ZY,useDeferredValue:function(e,r){var a=ei();return ba===null?pY(a,e,r):Pte(a,ba.memoizedState,e,r)},useTransition:function(){var e=bU(HZ)[0],r=ei().memoizedState;return[typeof e==="boolean"?e:fD(e),r]},useSyncExternalStore:Zte,useId:Dte,useHostTransitionStatus:mY,useFormState:S$,useActionState:S$,useOptimistic:function(e,r){var a=ei();if(ba!==null)return xte(a,ba,e,r);return a.baseState=e,[e,a.queue.dispatch]},useMemoCache:cY,useCacheRefresh:Ote};Ute.useEffectEvent=zte;function wU(e,r,a,i){r=e.memoizedState,a=a(i,r),a=a===null||a===void 0?r:vn({},r,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var h7={enqueueSetState:function(e,r,a){e=e._reactInternals;var i=Mc(),s=Wz(i);s.payload=r,a!==void 0&&a!==null&&(s.callback=a),r=Gz(e,s,i),r!==null&&(Js(r,e,i),R2(r,e,i))},enqueueReplaceState:function(e,r,a){e=e._reactInternals;var i=Mc(),s=Wz(i);s.tag=1,s.payload=r,a!==void 0&&a!==null&&(s.callback=a),r=Gz(e,s,i),r!==null&&(Js(r,e,i),R2(r,e,i))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var a=Mc(),i=Wz(a);i.tag=2,r!==void 0&&r!==null&&(i.callback=r),r=Gz(e,i,a),r!==null&&(Js(r,e,a),R2(r,e,a))}};function k$(e,r,a,i,s,l,c){return e=e.stateNode,typeof e.shouldComponentUpdate==="function"?e.shouldComponentUpdate(i,l,c):r.prototype&&r.prototype.isPureReactComponent?!Y2(a,i)||!Y2(s,l):!0}function C$(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&&h7.enqueueReplaceState(r,r.state,null)}function eL(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=vn({},a));for(var s in e)a[s]===void 0&&(a[s]=e[s])}return a}function aze(e){c4(e)}function nze(e){console.error(e)}function ize(e){c4(e)}function x4(e,r){try{var a=e.onUncaughtError;a(r.value,{componentStack:r.stack})}catch(i){setTimeout(function(){throw i})}}function I$(e,r,a){try{var i=e.onCaughtError;i(a.value,{componentStack:a.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function g7(e,r,a){return a=Wz(a),a.tag=3,a.payload={element:null},a.callback=function(){x4(e,r)},a}function Yte(e){return e=Wz(e),e.tag=3,e}function qte(e,r,a,i){var s=a.type.getDerivedStateFromError;if(typeof s==="function"){var l=i.value;e.payload=function(){return s(l)},e.callback=function(){I$(r,a,i)}}var c=a.stateNode;c!==null&&typeof c.componentDidCatch==="function"&&(e.callback=function(){I$(r,a,i),typeof s!=="function"&&(k8===null?k8=new Set([this]):k8.add(this));var d=i.stack;this.componentDidCatch(i.value,{componentStack:d!==null?d:""})})}function fze(e,r,a,i,s){if(a.flags|=32768,i!==null&&typeof i==="object"&&typeof i.then==="function"){if(r=a.alternate,r!==null&&xR(r,a,s,!0),a=Xl.current,a!==null){switch(a.tag){case 31:case 13:return gc===null?w4():a.alternate===null&&An===0&&(An=3),a.flags&=-257,a.flags|=65536,a.lanes=s,i===p4?a.flags|=16384:(r=a.updateQueue,r===null?a.updateQueue=new Set([i]):r.add(i),EU(e,i,s)),!1;case 22:return a.flags|=65536,i===p4?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)),EU(e,i,s)),!1}throw Error(Ut(435,a.tag))}return EU(e,i,s),w4(),!1}if(To)return r=Xl.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=s,i!==a7&&(e=Error(Ut(422),{cause:i}),H2(mc(e,a)))):(i!==a7&&(r=Error(Ut(423),{cause:i}),H2(mc(r,a))),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,i=mc(i,a),s=g7(e.stateNode,i,s),yU(e,s),An!==4&&(An=2)),!1;var l=Error(Ut(520),{cause:i});if(l=mc(l,a),O2===null?O2=[l]:O2.push(l),An!==4&&(An=2),r===null)return!0;i=mc(i,a),a=r;do{switch(a.tag){case 3:return a.flags|=65536,e=s&-s,a.lanes|=e,e=g7(a.stateNode,i,e),yU(a,e),!1;case 1:if(r=a.type,l=a.stateNode,(a.flags&128)===0&&(typeof r.getDerivedStateFromError==="function"||l!==null&&typeof l.componentDidCatch==="function"&&(k8===null||!k8.has(l))))return a.flags|=65536,s&=-s,a.lanes|=s,s=Yte(s),qte(s,e,a,i),yU(a,s),!1}a=a.return}while(a!==null);return!1}var MY=Error(Ut(461)),Zi=!1;function $i(e,r,a,i){r.child=e===null?fte(r,null,a,i):Jz(r,e.child,a,i)}function R$(e,r,a,i,s){a=a.render;var l=r.ref;if("ref"in i){var c={};for(var d in i)d!=="ref"&&(c[d]=i[d])}else c=i;if(Qz(r),i=iY(e,r,a,c,l,s),d=fY(),e!==null&&!Zi)return sY(e,r,s),VZ(e,r,s);return To&&d&&J7(r),r.flags|=1,$i(e,r,i,s),r.child}function P$(e,r,a,i,s){if(e===null){var l=a.type;if(typeof l==="function"&&!Q7(l)&&l.defaultProps===void 0&&a.compare===null)return r.tag=15,r.type=l,Hte(e,r,l,i,s);return e=G5(a.type,null,i,r,r.mode,s),e.ref=r.ref,e.return=r,r.child=e}if(l=e.child,!xY(e,s)){var c=l.memoizedProps;if(a=a.compare,a=a!==null?a:Y2,a(c,i)&&e.ref===r.ref)return VZ(e,r,s)}return r.flags|=1,e=jZ(l,i),e.ref=r.ref,e.return=r,r.child=e}function Hte(e,r,a,i,s){if(e!==null){var l=e.memoizedProps;if(Y2(l,i)&&e.ref===r.ref)if(Zi=!1,r.pendingProps=i=l,xY(e,s))(e.flags&131072)!==0&&(Zi=!0);else return r.lanes=e.lanes,VZ(e,r,s)}return M7(e,r,a,i,s)}function Vte(e,r,a,i){var s=i.children,l=e!==null?e.memoizedState:null;if(e===null&&r.stateNode===null&&(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((r.flags&128)!==0){if(l=l!==null?l.baseLanes|a:a,e!==null){i=r.child=e.child;for(s=0;i!==null;)s=s|i.lanes|i.childLanes,i=i.sibling;i=s&~l}else i=0,r.child=null;return T$(e,r,l,a,i)}if((a&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},e!==null&&K5(r,l!==null?l.cachePool:null),l!==null?_$(r,l):u7(),cte(r);else return i=r.lanes=536870912,T$(e,r,l!==null?l.baseLanes|a:a,a,i)}else l!==null?(K5(r,l.cachePool),_$(r,l),x8(r),r.memoizedState=null):(e!==null&&K5(r,null),u7(),x8(r));return $i(e,r,s,a),r.child}function b2(e,r){return e!==null&&e.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function T$(e,r,a,i,s){var l=tY();return l=l===null?null:{parent:di._currentValue,pool:l},r.memoizedState={baseLanes:a,cachePool:l},e!==null&&K5(r,null),u7(),cte(r),e!==null&&xR(e,r,i,!0),r.childLanes=s,null}function J5(e,r){return r=v4({mode:r.mode,children:r.children},e.mode),r.ref=e.ref,e.child=r,r.return=e,r}function A$(e,r,a){return Jz(r,e.child,null,a),e=J5(r,r.pendingProps),e.flags|=2,hl(r),r.memoizedState=null,e}function sze(e,r,a){var i=r.pendingProps,s=(r.flags&128)!==0;if(r.flags&=-129,e===null){if(To){if(i.mode==="hidden")return e=J5(r,i),r.lanes=536870912,b2(null,e);if(d7(r),(e=Mn)?(e=Fre(e,hc),e=e!==null&&e.data==="&"?e:null,e!==null&&(r.memoizedState={dehydrated:e,treeContext:T8!==null?{id:eZ,overflow:tZ}:null,retryLane:536870912,hydrationErrors:null},a=ete(e),a.return=r,r.child=a,hf=r,Mn=null)):e=null,e===null)throw A8(r);return r.lanes=536870912,null}return J5(r,i)}var l=e.memoizedState;if(l!==null){var c=l.dehydrated;if(d7(r),s)if(r.flags&256)r.flags&=-257,r=A$(e,r,a);else if(r.memoizedState!==null)r.child=e.child,r.flags|=128,r=null;else throw Error(Ut(558));else if(Zi||xR(e,r,a,!1),s=(a&e.childLanes)!==0,Zi||s){if(i=Va,i!==null&&(c=zee(i,a),c!==0&&c!==l.retryLane))throw l.retryLane=c,aL(e,c),Js(i,e,c),MY;w4(),r=A$(e,r,a)}else e=l.treeContext,Mn=xc(c.nextSibling),hf=r,To=!0,L8=null,hc=!1,e!==null&&rte(r,e),r=J5(r,i),r.flags|=4096;return r}return e=jZ(e.child,{mode:i.mode,children:i.children}),e.ref=r.ref,r.child=e,e.return=r,e}function $5(e,r){var a=r.ref;if(a===null)e!==null&&e.ref!==null&&(r.flags|=4194816);else{if(typeof a!=="function"&&typeof a!=="object")throw Error(Ut(284));if(e===null||e.ref!==a)r.flags|=4194816}}function M7(e,r,a,i,s){if(Qz(r),a=iY(e,r,a,i,void 0,s),i=fY(),e!==null&&!Zi)return sY(e,r,s),VZ(e,r,s);return To&&i&&J7(r),r.flags|=1,$i(e,r,a,s),r.child}function E$(e,r,a,i,s,l){if(Qz(r),r.updateQueue=null,a=dte(r,i,a,s),ute(e),i=fY(),e!==null&&!Zi)return sY(e,r,l),VZ(e,r,l);return To&&i&&J7(r),r.flags|=1,$i(e,r,a,l),r.child}function D$(e,r,a,i,s){if(Qz(r),r.stateNode===null){var l=Xk,c=a.contextType;typeof c==="object"&&c!==null&&(l=gf(c)),l=new a(i,l),r.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,l.updater=h7,r.stateNode=l,l._reactInternals=r,l=r.stateNode,l.props=i,l.state=r.memoizedState,l.refs={},oY(r),c=a.contextType,l.context=typeof c==="object"&&c!==null?gf(c):Xk,l.state=r.memoizedState,c=a.getDerivedStateFromProps,typeof c==="function"&&(wU(r,a,c,i),l.state=r.memoizedState),typeof a.getDerivedStateFromProps==="function"||typeof l.getSnapshotBeforeUpdate==="function"||typeof l.UNSAFE_componentWillMount!=="function"&&typeof l.componentWillMount!=="function"||(c=l.state,typeof l.componentWillMount==="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount==="function"&&l.UNSAFE_componentWillMount(),c!==l.state&&h7.enqueueReplaceState(l,l.state,null),T2(r,i,l,s),P2(),l.state=r.memoizedState),typeof l.componentDidMount==="function"&&(r.flags|=4194308),i=!0}else if(e===null){l=r.stateNode;var d=r.memoizedProps,h=eL(a,d);l.props=h;var x=l.context,v=a.contextType;c=Xk,typeof v==="object"&&v!==null&&(c=gf(v));var y=a.getDerivedStateFromProps;v=typeof y==="function"||typeof l.getSnapshotBeforeUpdate==="function",d=r.pendingProps!==d,v||typeof l.UNSAFE_componentWillReceiveProps!=="function"&&typeof l.componentWillReceiveProps!=="function"||(d||x!==c)&&C$(r,l,i,c),h8=!1;var k=r.memoizedState;l.state=k,T2(r,i,l,s),P2(),x=r.memoizedState,d||k!==x||h8?(typeof y==="function"&&(wU(r,a,y,i),x=r.memoizedState),(h=h8||k$(r,a,h,i,k,x,c))?(v||typeof l.UNSAFE_componentWillMount!=="function"&&typeof l.componentWillMount!=="function"||(typeof l.componentWillMount==="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount==="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount==="function"&&(r.flags|=4194308)):(typeof l.componentDidMount==="function"&&(r.flags|=4194308),r.memoizedProps=i,r.memoizedState=x),l.props=i,l.state=x,l.context=c,i=h):(typeof l.componentDidMount==="function"&&(r.flags|=4194308),i=!1)}else{l=r.stateNode,l7(e,r),c=r.memoizedProps,v=eL(a,c),l.props=v,y=r.pendingProps,k=l.context,x=a.contextType,h=Xk,typeof x==="object"&&x!==null&&(h=gf(x)),d=a.getDerivedStateFromProps,(x=typeof d==="function"||typeof l.getSnapshotBeforeUpdate==="function")||typeof l.UNSAFE_componentWillReceiveProps!=="function"&&typeof l.componentWillReceiveProps!=="function"||(c!==y||k!==h)&&C$(r,l,i,h),h8=!1,k=r.memoizedState,l.state=k,T2(r,i,l,s),P2();var b=r.memoizedState;c!==y||k!==b||h8||e!==null&&e.dependencies!==null&&Z4(e.dependencies)?(typeof d==="function"&&(wU(r,a,d,i),b=r.memoizedState),(v=h8||k$(r,a,v,i,k,b,h)||e!==null&&e.dependencies!==null&&Z4(e.dependencies))?(x||typeof l.UNSAFE_componentWillUpdate!=="function"&&typeof l.componentWillUpdate!=="function"||(typeof l.componentWillUpdate==="function"&&l.componentWillUpdate(i,b,h),typeof l.UNSAFE_componentWillUpdate==="function"&&l.UNSAFE_componentWillUpdate(i,b,h)),typeof l.componentDidUpdate==="function"&&(r.flags|=4),typeof l.getSnapshotBeforeUpdate==="function"&&(r.flags|=1024)):(typeof l.componentDidUpdate!=="function"||c===e.memoizedProps&&k===e.memoizedState||(r.flags|=4),typeof l.getSnapshotBeforeUpdate!=="function"||c===e.memoizedProps&&k===e.memoizedState||(r.flags|=1024),r.memoizedProps=i,r.memoizedState=b),l.props=i,l.state=b,l.context=h,i=v):(typeof l.componentDidUpdate!=="function"||c===e.memoizedProps&&k===e.memoizedState||(r.flags|=4),typeof l.getSnapshotBeforeUpdate!=="function"||c===e.memoizedProps&&k===e.memoizedState||(r.flags|=1024),i=!1)}return l=i,$5(e,r),i=(r.flags&128)!==0,l||i?(l=r.stateNode,a=i&&typeof a.getDerivedStateFromError!=="function"?null:l.render(),r.flags|=1,e!==null&&i?(r.child=Jz(r,e.child,null,s),r.child=Jz(r,null,a,s)):$i(e,r,a,s),r.memoizedState=l.state,e=r.child):e=VZ(e,r,s),e}function O$(e,r,a,i){return Xz(),r.flags|=256,$i(e,r,a,i),r.child}var zU={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function SU(e){return{baseLanes:e,cachePool:ate()}}function LU(e,r,a){return e=e!==null?e.childLanes&~a:0,r&&(e|=Yl),e}function Wte(e,r,a){var i=r.pendingProps,s=!1,l=(r.flags&128)!==0,c;if((c=l)||(c=e!==null&&e.memoizedState===null?!1:(Jn.current&2)!==0),c&&(s=!0,r.flags&=-129),c=(r.flags&32)!==0,r.flags&=-33,e===null){if(To){if(s?M8(r):x8(r),(e=Mn)?(e=Fre(e,hc),e=e!==null&&e.data!=="&"?e:null,e!==null&&(r.memoizedState={dehydrated:e,treeContext:T8!==null?{id:eZ,overflow:tZ}:null,retryLane:536870912,hydrationErrors:null},a=ete(e),a.return=r,r.child=a,hf=r,Mn=null)):e=null,e===null)throw A8(r);return A7(e)?r.lanes=32:r.lanes=536870912,null}var d=i.children;if(i=i.fallback,s)return x8(r),s=r.mode,d=v4({mode:"hidden",children:d},s),i=qz(i,s,a,null),d.return=r,i.return=r,d.sibling=i,r.child=d,i=r.child,i.memoizedState=SU(a),i.childLanes=LU(e,c,a),r.memoizedState=zU,b2(null,i);return M8(r),x7(r,d)}var h=e.memoizedState;if(h!==null&&(d=h.dehydrated,d!==null)){if(l)r.flags&256?(M8(r),r.flags&=-257,r=kU(e,r,a)):r.memoizedState!==null?(x8(r),r.child=e.child,r.flags|=128,r=null):(x8(r),d=i.fallback,s=r.mode,i=v4({mode:"visible",children:i.children},s),d=qz(d,s,a,null),d.flags|=2,i.return=r,d.return=r,i.sibling=d,r.child=i,Jz(r,e.child,null,a),i=r.child,i.memoizedState=SU(a),i.childLanes=LU(e,c,a),r.memoizedState=zU,r=b2(null,i));else if(M8(r),A7(d)){if(c=d.nextSibling&&d.nextSibling.dataset,c)var x=c.dgst;c=x,i=Error(Ut(419)),i.stack="",i.digest=c,H2({value:i,source:null,stack:null}),r=kU(e,r,a)}else if(Zi||xR(e,r,a,!1),c=(a&e.childLanes)!==0,Zi||c){if(c=Va,c!==null&&(i=zee(c,a),i!==0&&i!==h.retryLane))throw h.retryLane=i,aL(e,i),Js(c,e,i),MY;T7(d)||w4(),r=kU(e,r,a)}else T7(d)?(r.flags|=192,r.child=e.child,r=null):(e=h.treeContext,Mn=xc(d.nextSibling),hf=r,To=!0,L8=null,hc=!1,e!==null&&rte(r,e),r=x7(r,i.children),r.flags|=4096);return r}if(s)return x8(r),d=i.fallback,s=r.mode,h=e.child,x=h.sibling,i=jZ(h,{mode:"hidden",children:i.children}),i.subtreeFlags=h.subtreeFlags&65011712,x!==null?d=jZ(x,d):(d=qz(d,s,a,null),d.flags|=2),d.return=r,i.return=r,i.sibling=d,r.child=i,b2(null,i),i=r.child,d=e.child.memoizedState,d===null?d=SU(a):(s=d.cachePool,s!==null?(h=di._currentValue,s=s.parent!==h?{parent:h,pool:h}:s):s=ate(),d={baseLanes:d.baseLanes|a,cachePool:s}),i.memoizedState=d,i.childLanes=LU(e,c,a),r.memoizedState=zU,b2(e.child,i);return M8(r),a=e.child,e=a.sibling,a=jZ(a,{mode:"visible",children:i.children}),a.return=r,a.sibling=null,e!==null&&(c=r.deletions,c===null?(r.deletions=[e],r.flags|=16):c.push(e)),r.child=a,r.memoizedState=null,a}function x7(e,r){return r=v4({mode:"visible",children:r},e.mode),r.return=e,e.child=r}function v4(e,r){return e=gl(22,e,null,r),e.lanes=0,e}function kU(e,r,a){return Jz(r,e.child,null,a),e=x7(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function N$(e,r,a){e.lanes|=r;var i=e.alternate;i!==null&&(i.lanes|=r),i7(e.return,r,a)}function CU(e,r,a,i,s,l){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:s,treeForkCount:l}:(c.isBackwards=r,c.rendering=null,c.renderingStartTime=0,c.last=i,c.tail=a,c.tailMode=s,c.treeForkCount=l)}function Gte(e,r,a){var i=r.pendingProps,s=i.revealOrder,l=i.tail;i=i.children;var c=Jn.current,d=(c&2)!==0;if(d?(c=c&1|2,r.flags|=128):c&=1,Qa(Jn,c),$i(e,r,i,a),i=To?q2:0,!d&&e!==null&&(e.flags&128)!==0)e:for(e=r.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&N$(e,a,r);else if(e.tag===19)N$(e,a,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===r)break e;for(;e.sibling===null;){if(e.return===null||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(s){case"forwards":a=r.child;for(s=null;a!==null;)e=a.alternate,e!==null&&h4(e)===null&&(s=a),a=a.sibling;a=s,a===null?(s=r.child,r.child=null):(s=a.sibling,a.sibling=null),CU(r,!1,s,a,l,i);break;case"backwards":case"unstable_legacy-backwards":a=null,s=r.child;for(r.child=null;s!==null;){if(e=s.alternate,e!==null&&h4(e)===null){r.child=s;break}e=s.sibling,s.sibling=a,a=s,s=e}CU(r,!0,a,null,l,i);break;case"together":CU(r,!1,null,null,void 0,i);break;default:r.memoizedState=null}return r.child}function VZ(e,r,a){if(e!==null&&(r.dependencies=e.dependencies),D8|=r.lanes,(a&r.childLanes)===0)if(e!==null){if(xR(e,r,a,!1),(a&r.childLanes)===0)return null}else return null;if(e!==null&&r.child!==e.child)throw Error(Ut(153));if(r.child!==null){e=r.child,a=jZ(e,e.pendingProps),r.child=a;for(a.return=r;e.sibling!==null;)e=e.sibling,a=a.sibling=jZ(e,e.pendingProps),a.return=r;a.sibling=null}return r.child}function xY(e,r){if((e.lanes&r)!==0)return!0;return e=e.dependencies,e!==null&&Z4(e)?!0:!1}function lze(e,r,a){switch(r.tag){case 3:i4(r,r.stateNode.containerInfo),g8(r,di,e.memoizedState.cache),Xz();break;case 27:case 5:WU(r);break;case 4:i4(r,r.stateNode.containerInfo);break;case 10:g8(r,r.type,r.memoizedProps.value);break;case 31:if(r.memoizedState!==null)return r.flags|=128,d7(r),null;break;case 13:var i=r.memoizedState;if(i!==null){if(i.dehydrated!==null)return M8(r),r.flags|=128,null;if((a&r.child.childLanes)!==0)return Wte(e,r,a);return M8(r),e=VZ(e,r,a),e!==null?e.sibling:null}M8(r);break;case 19:var s=(e.flags&128)!==0;if(i=(a&r.childLanes)!==0,i||(xR(e,r,a,!1),i=(a&r.childLanes)!==0),s){if(i)return Gte(e,r,a);r.flags|=128}if(s=r.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Qa(Jn,Jn.current),i)break;else return null;case 22:return r.lanes=0,Vte(e,r,a,r.pendingProps);case 24:g8(r,di,e.memoizedState.cache)}return VZ(e,r,a)}function Kte(e,r,a){if(e!==null)if(e.memoizedProps!==r.pendingProps)Zi=!0;else{if(!xY(e,a)&&(r.flags&128)===0)return Zi=!1,lze(e,r,a);Zi=(e.flags&131072)!==0?!0:!1}else Zi=!1,To&&(r.flags&1048576)!==0&&tte(r,q2,r.index);switch(r.lanes=0,r.tag){case 16:e:{var i=r.pendingProps;if(e=Bz(r.elementType),r.type=e,typeof e==="function")Q7(e)?(i=eL(e,i),r.tag=1,r=D$(null,r,e,i,a)):(r.tag=0,r=M7(null,r,e,i,a));else{if(e!==void 0&&e!==null){var s=e.$$typeof;if(s===N7){r.tag=11,r=R$(null,r,e,i,a);break e}else if(s===F7){r.tag=14,r=P$(null,r,e,i,a);break e}}throw r=HU(e)||e,Error(Ut(306,r,""))}}return r;case 0:return M7(e,r,r.type,r.pendingProps,a);case 1:return i=r.type,s=eL(i,r.pendingProps),D$(e,r,i,s,a);case 3:e:{if(i4(r,r.stateNode.containerInfo),e===null)throw Error(Ut(387));i=r.pendingProps;var l=r.memoizedState;s=l.element,l7(e,r),T2(r,i,null,a);var c=r.memoizedState;if(i=c.cache,g8(r,di,i),i!==l.cache&&f7(r,[di],a,!0),P2(),i=c.element,l.isDehydrated)if(l={element:i,isDehydrated:!1,cache:c.cache},r.updateQueue.baseState=l,r.memoizedState=l,r.flags&256){r=O$(e,r,i,a);break e}else if(i!==s){s=mc(Error(Ut(424)),r),H2(s),r=O$(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}Mn=xc(e.firstChild),hf=r,To=!0,L8=null,hc=!0,a=fte(r,null,i,a);for(r.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Xz(),i===s){r=VZ(e,r,a);break e}$i(e,r,i,a)}r=r.child}return r;case 26:return $5(e,r),e===null?(a=aee(r.type,null,r.pendingProps,null))?r.memoizedState=a:To||(a=r.type,e=r.pendingProps,i=k4(S8.current).createElement(a),i[mf]=r,i[el]=e,Mf(i,a,e),Ni(i),r.stateNode=i):r.memoizedState=aee(r.type,e.memoizedProps,r.pendingProps,e.memoizedState),null;case 27:return WU(r),e===null&&To&&(i=r.stateNode=jre(r.type,r.pendingProps,S8.current),hf=r,hc=!0,s=Mn,N8(r.type)?(E7=s,Mn=xc(i.firstChild)):Mn=s),$i(e,r,r.pendingProps.children,a),$5(e,r),e===null&&(r.flags|=4194304),r.child;case 5:if(e===null&&To){if(s=i=Mn)i=Oze(i,r.type,r.pendingProps,hc),i!==null?(r.stateNode=i,hf=r,Mn=xc(i.firstChild),hc=!1,s=!0):s=!1;s||A8(r)}return WU(r),s=r.type,l=r.pendingProps,c=e!==null?e.memoizedProps:null,i=l.children,R7(s,l)?i=null:c!==null&&R7(s,c)&&(r.flags|=32),r.memoizedState!==null&&(s=iY(e,r,Q0e,null,null,a),Q2._currentValue=s),$5(e,r),$i(e,r,i,a),r.child;case 6:if(e===null&&To){if(e=a=Mn)a=Nze(a,r.pendingProps,hc),a!==null?(r.stateNode=a,hf=r,Mn=null,e=!0):e=!1;e||A8(r)}return null;case 13:return Wte(e,r,a);case 4:return i4(r,r.stateNode.containerInfo),i=r.pendingProps,e===null?r.child=Jz(r,null,i,a):$i(e,r,i,a),r.child;case 11:return R$(e,r,r.type,r.pendingProps,a);case 7:return $i(e,r,r.pendingProps,a),r.child;case 8:return $i(e,r,r.pendingProps.children,a),r.child;case 12:return $i(e,r,r.pendingProps.children,a),r.child;case 10:return i=r.pendingProps,g8(r,r.type,i.value),$i(e,r,i.children,a),r.child;case 9:return s=r.type._context,i=r.pendingProps.children,Qz(r),s=gf(s),i=i(s),r.flags|=1,$i(e,r,i,a),r.child;case 14:return P$(e,r,r.type,r.pendingProps,a);case 15:return Hte(e,r,r.type,r.pendingProps,a);case 19:return Gte(e,r,a);case 31:return sze(e,r,a);case 22:return Vte(e,r,a,r.pendingProps);case 24:return Qz(r),i=gf(di),e===null?(s=tY(),s===null&&(s=Va,l=eY(),s.pooledCache=l,l.refCount++,l!==null&&(s.pooledCacheLanes|=a),s=l),r.memoizedState={parent:i,cache:s},oY(r),g8(r,di,s)):((e.lanes&a)!==0&&(l7(e,r),T2(r,null,null,a),P2()),s=e.memoizedState,l=r.memoizedState,s.parent!==i?(s={parent:i,cache:i},r.memoizedState=s,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=s),g8(r,di,i)):(i=l.cache,g8(r,di,i),i!==s.cache&&f7(r,[di],a,!0))),$i(e,r,r.pendingProps.children,a),r.child;case 29:throw r.pendingProps}throw Error(Ut(156,r.tag))}function RZ(e){e.flags|=4}function IU(e,r,a,i,s){if(r=(e.mode&32)!==0)r=!1;if(r){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(xre())e.flags|=8192;else throw Vz=p4,rY}else e.flags&=-16777217}function F$(e,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Yre(r))if(xre())e.flags|=8192;else throw Vz=p4,rY}function N5(e,r){r!==null&&(e.flags|=4),e.flags&16384&&(r=e.tag!==22?yee():536870912,e.lanes|=r,ZR|=r)}function m2(e,r){if(!To)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 gn(e){var r=e.alternate!==null&&e.alternate.child===e.child,a=0,i=0;if(r)for(var s=e.child;s!==null;)a|=s.lanes|s.childLanes,i|=s.subtreeFlags&65011712,i|=s.flags&65011712,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)a|=s.lanes|s.childLanes,i|=s.subtreeFlags,i|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=i,e.childLanes=a,r}function cze(e,r,a){var i=r.pendingProps;switch($7(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return gn(r),null;case 1:return gn(r),null;case 3:if(a=r.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),r.memoizedState.cache!==i&&(r.flags|=2048),BZ(di),fR(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),e===null||e.child===null)Ok(r)?RZ(r):e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,_U());return gn(r),null;case 26:var{type:s,memoizedState:l}=r;return e===null?(RZ(r),l!==null?(gn(r),F$(r,l)):(gn(r),IU(r,s,null,i,a))):l?l!==e.memoizedState?(RZ(r),gn(r),F$(r,l)):(gn(r),r.flags&=-16777217):(e=e.memoizedProps,e!==i&&RZ(r),gn(r),IU(r,s,e,i,a)),null;case 27:if(f4(r),a=S8.current,s=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==i&&RZ(r);else{if(!i){if(r.stateNode===null)throw Error(Ut(166));return gn(r),null}e=oZ.current,Ok(r)?p$(r,e):(e=jre(s,i,a),r.stateNode=e,RZ(r))}return gn(r),null;case 5:if(f4(r),s=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==i&&RZ(r);else{if(!i){if(r.stateNode===null)throw Error(Ut(166));return gn(r),null}if(l=oZ.current,Ok(r))p$(r,l);else{var c=k4(S8.current);switch(l){case 1:l=c.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:l=c.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":l=c.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":l=c.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":l=c.createElement("div"),l.innerHTML="<script></script>",l=l.removeChild(l.firstChild);break;case"select":l=typeof i.is==="string"?c.createElement("select",{is:i.is}):c.createElement("select"),i.multiple?l.multiple=!0:i.size&&(l.size=i.size);break;default:l=typeof i.is==="string"?c.createElement(s,{is:i.is}):c.createElement(s)}}l[mf]=r,l[el]=i;e:for(c=r.child;c!==null;){if(c.tag===5||c.tag===6)l.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===r)break e;for(;c.sibling===null;){if(c.return===null||c.return===r)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r.stateNode=l;e:switch(Mf(l,s,i),s){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&RZ(r)}}return gn(r),IU(r,r.type,e===null?null:e.memoizedProps,r.pendingProps,a),null;case 6:if(e&&r.stateNode!=null)e.memoizedProps!==i&&RZ(r);else{if(typeof i!=="string"&&r.stateNode===null)throw Error(Ut(166));if(e=S8.current,Ok(r)){if(e=r.stateNode,a=r.memoizedProps,i=null,s=hf,s!==null)switch(s.tag){case 27:case 5:i=s.memoizedProps}e[mf]=r,e=e.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||Dre(e.nodeValue,a)?!0:!1,e||A8(r,!0)}else e=k4(e).createTextNode(i),e[mf]=r,r.stateNode=e}return gn(r),null;case 31:if(a=r.memoizedState,e===null||e.memoizedState!==null){if(i=Ok(r),a!==null){if(e===null){if(!i)throw Error(Ut(318));if(e=r.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Ut(557));e[mf]=r}else Xz(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;gn(r),e=!1}else a=_U(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e){if(r.flags&256)return hl(r),r;return hl(r),null}if((r.flags&128)!==0)throw Error(Ut(558))}return gn(r),null;case 13:if(i=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=Ok(r),i!==null&&i.dehydrated!==null){if(e===null){if(!s)throw Error(Ut(318));if(s=r.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(Ut(317));s[mf]=r}else Xz(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;gn(r),s=!1}else s=_U(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s){if(r.flags&256)return hl(r),r;return hl(r),null}}if(hl(r),(r.flags&128)!==0)return r.lanes=a,r;return a=i!==null,e=e!==null&&e.memoizedState!==null,a&&(i=r.child,s=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(s=i.alternate.memoizedState.cachePool.pool),l=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(l=i.memoizedState.cachePool.pool),l!==s&&(i.flags|=2048)),a!==e&&a&&(r.child.flags|=8192),N5(r,r.updateQueue),gn(r),null;case 4:return fR(),e===null&&Are(r.stateNode.containerInfo),gn(r),null;case 10:return BZ(r.type),gn(r),null;case 19:if(Fi(Jn),i=r.memoizedState,i===null)return gn(r),null;if(s=(r.flags&128)!==0,l=i.rendering,l===null)if(s)m2(i,!1);else{if(An!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(l=h4(e),l!==null){r.flags|=128,m2(i,!1),e=l.updateQueue,r.updateQueue=e,N5(r,e),r.subtreeFlags=0,e=a;for(a=r.child;a!==null;)$ee(a,e),a=a.sibling;return Qa(Jn,Jn.current&1|2),To&&EZ(r,i.treeForkCount),r.child}e=e.sibling}i.tail!==null&&Vl()>y4&&(r.flags|=128,s=!0,m2(i,!1),r.lanes=4194304)}else{if(!s)if(e=h4(l),e!==null){if(r.flags|=128,s=!0,e=e.updateQueue,r.updateQueue=e,N5(r,e),m2(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!To)return gn(r),null}else 2*Vl()-i.renderingStartTime>y4&&a!==536870912&&(r.flags|=128,s=!0,m2(i,!1),r.lanes=4194304);i.isBackwards?(l.sibling=r.child,r.child=l):(e=i.last,e!==null?e.sibling=l:r.child=l,i.last=l)}if(i.tail!==null)return e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Vl(),e.sibling=null,a=Jn.current,Qa(Jn,s?a&1|2:a&1),To&&EZ(r,i.treeForkCount),e;return gn(r),null;case 22:case 23:return hl(r),aY(),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&&(gn(r),r.subtreeFlags&6&&(r.flags|=8192)):gn(r),a=r.updateQueue,a!==null&&N5(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&&Fi(Hz),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),r.memoizedState.cache!==a&&(r.flags|=2048),BZ(di),gn(r),null;case 25:return null;case 30:return null}throw Error(Ut(156,r.tag))}function uze(e,r){switch($7(r),r.tag){case 1:return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return BZ(di),fR(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 26:case 27:case 5:return f4(r),null;case 31:if(r.memoizedState!==null){if(hl(r),r.alternate===null)throw Error(Ut(340));Xz()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 13:if(hl(r),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(Ut(340));Xz()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return Fi(Jn),null;case 4:return fR(),null;case 10:return BZ(r.type),null;case 22:case 23:return hl(r),aY(),e!==null&&Fi(Hz),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 24:return BZ(di),null;case 25:return null;default:return null}}function Xte(e,r){switch($7(r),r.tag){case 3:BZ(di),fR();break;case 26:case 27:case 5:f4(r);break;case 4:fR();break;case 31:r.memoizedState!==null&&hl(r);break;case 13:hl(r);break;case 19:Fi(Jn);break;case 10:BZ(r.type);break;case 22:case 23:hl(r),aY(),e!==null&&Fi(Hz);break;case 24:BZ(di)}}function sD(e,r){try{var a=r.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var s=i.next;a=s;do{if((a.tag&e)===e){i=void 0;var l=a.create,c=a.inst;i=l(),c.destroy=i}a=a.next}while(a!==s)}}catch(d){ma(r,r.return,d)}}function E8(e,r,a){try{var i=r.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var l=s.next;i=l;do{if((i.tag&e)===e){var c=i.inst,d=c.destroy;if(d!==void 0){c.destroy=void 0,s=r;var h=a,x=d;try{x()}catch(v){ma(s,h,v)}}}i=i.next}while(i!==l)}}catch(v){ma(r,r.return,v)}}function Qte(e){var r=e.updateQueue;if(r!==null){var a=e.stateNode;try{lte(r,a)}catch(i){ma(e,e.return,i)}}}function Jte(e,r,a){a.props=eL(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(i){ma(e,r,i)}}function E2(e,r){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof a==="function"?e.refCleanup=a(i):a.current=i}}catch(s){ma(e,r,s)}}function rZ(e,r){var a=e.ref,i=e.refCleanup;if(a!==null)if(typeof i==="function")try{i()}catch(s){ma(e,r,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a==="function")try{a(null)}catch(s){ma(e,r,s)}else a.current=null}function $te(e){var{type:r,memoizedProps:a,stateNode:i}=e;try{e:switch(r){case"button":case"input":case"select":case"textarea":a.autoFocus&&i.focus();break e;case"img":a.src?i.src=a.src:a.srcSet&&(i.srcset=a.srcSet)}}catch(s){ma(e,e.return,s)}}function RU(e,r,a){try{var i=e.stateNode;Rze(i,e.type,a,r),i[el]=r}catch(s){ma(e,e.return,s)}}function ere(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&N8(e.type)||e.tag===4}function PU(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ere(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&&N8(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 v7(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=NZ));else if(i!==4&&(i===27&&N8(e.type)&&(a=e.stateNode,r=null),e=e.child,e!==null))for(v7(e,r,a),e=e.sibling;e!==null;)v7(e,r,a),e=e.sibling}function _4(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&&N8(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(_4(e,r,a),e=e.sibling;e!==null;)_4(e,r,a),e=e.sibling}function tre(e){var{stateNode:r,memoizedProps:a}=e;try{for(var i=e.type,s=r.attributes;s.length;)r.removeAttributeNode(s[0]);Mf(r,i,a),r[mf]=e,r[el]=a}catch(l){ma(e,e.return,l)}}var DZ=!1,ui=!1,TU=!1,j$=typeof WeakSet==="function"?WeakSet:Set,Oi=null;function dze(e,r){if(e=e.containerInfo,C7=P4,e=Hee(e),G7(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var i=a.getSelection&&a.getSelection();if(i&&i.rangeCount!==0){a=i.anchorNode;var s=i.anchorOffset,l=i.focusNode;i=i.focusOffset;try{a.nodeType,l.nodeType}catch(D){a=null;break e}var c=0,d=-1,h=-1,x=0,v=0,y=e,k=null;t:for(;;){for(var b;;){if(y!==a||s!==0&&y.nodeType!==3||(d=c+s),y!==l||i!==0&&y.nodeType!==3||(h=c+i),y.nodeType===3&&(c+=y.nodeValue.length),(b=y.firstChild)===null)break;k=y,y=b}for(;;){if(y===e)break t;if(k===a&&++x===s&&(d=c),k===l&&++v===i&&(h=c),(b=y.nextSibling)!==null)break;y=k,k=y.parentNode}y=b}a=d===-1||h===-1?null:{start:d,end:h}}else a=null}a=a||{start:0,end:0}}else a=null;I7={focusedElem:e,selectionRange:a},P4=!1;for(Oi=r;Oi!==null;)if(r=Oi,e=r.child,(r.subtreeFlags&1028)!==0&&e!==null)e.return=r,Oi=e;else for(;Oi!==null;){switch(r=Oi,l=r.alternate,e=r.flags,r.tag){case 0:if((e&4)!==0&&(e=r.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)s=e[a],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&l!==null){e=void 0,a=r,s=l.memoizedProps,l=l.memoizedState,i=a.stateNode;try{var T=eL(a.type,s);e=i.getSnapshotBeforeUpdate(T,l),i.__reactInternalSnapshotBeforeUpdate=e}catch(D){ma(a,a.return,D)}}break;case 3:if((e&1024)!==0){if(e=r.stateNode.containerInfo,a=e.nodeType,a===9)P7(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":P7(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(Ut(163))}if(e=r.sibling,e!==null){e.return=r.return,Oi=e;break}Oi=r.return}}function rre(e,r,a){var i=a.flags;switch(a.tag){case 0:case 11:case 15:TZ(e,a),i&4&&sD(5,a);break;case 1:if(TZ(e,a),i&4)if(e=a.stateNode,r===null)try{e.componentDidMount()}catch(c){ma(a,a.return,c)}else{var s=eL(a.type,r.memoizedProps);r=r.memoizedState;try{e.componentDidUpdate(s,r,e.__reactInternalSnapshotBeforeUpdate)}catch(c){ma(a,a.return,c)}}i&64&&Qte(a),i&512&&E2(a,a.return);break;case 3:if(TZ(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{lte(e,r)}catch(c){ma(a,a.return,c)}}break;case 27:r===null&&i&4&&tre(a);case 26:case 5:TZ(e,a),r===null&&i&4&&$te(a),i&512&&E2(a,a.return);break;case 12:TZ(e,a);break;case 31:TZ(e,a),i&4&&nre(e,a);break;case 13:TZ(e,a),i&4&&ire(e,a),i&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=_ze.bind(null,a),Fze(e,a))));break;case 22:if(i=a.memoizedState!==null||DZ,!i){r=r!==null&&r.memoizedState!==null||ui,s=DZ;var l=ui;DZ=i,(ui=r)&&!l?AZ(e,a,(a.subtreeFlags&8772)!==0):TZ(e,a),DZ=s,ui=l}break;case 30:break;default:TZ(e,a)}}function ore(e){var r=e.alternate;r!==null&&(e.alternate=null,ore(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&U7(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 zn=null,Ys=!1;function PZ(e,r,a){for(a=a.child;a!==null;)are(e,r,a),a=a.sibling}function are(e,r,a){if(Wl&&typeof Wl.onCommitFiberUnmount==="function")try{Wl.onCommitFiberUnmount(tD,a)}catch(l){}switch(a.tag){case 26:ui||rZ(a,r),PZ(e,r,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:ui||rZ(a,r);var i=zn,s=Ys;N8(a.type)&&(zn=a.stateNode,Ys=!1),PZ(e,r,a),F2(a.stateNode),zn=i,Ys=s;break;case 5:ui||rZ(a,r);case 6:if(i=zn,s=Ys,zn=null,PZ(e,r,a),zn=i,Ys=s,zn!==null)if(Ys)try{(zn.nodeType===9?zn.body:zn.nodeName==="HTML"?zn.ownerDocument.body:zn).removeChild(a.stateNode)}catch(l){ma(a,r,l)}else try{zn.removeChild(a.stateNode)}catch(l){ma(a,r,l)}break;case 18:zn!==null&&(Ys?(e=zn,$$(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),gR(e)):$$(zn,a.stateNode));break;case 4:i=zn,s=Ys,zn=a.stateNode.containerInfo,Ys=!0,PZ(e,r,a),zn=i,Ys=s;break;case 0:case 11:case 14:case 15:E8(2,a,r),ui||E8(4,a,r),PZ(e,r,a);break;case 1:ui||(rZ(a,r),i=a.stateNode,typeof i.componentWillUnmount==="function"&&Jte(a,r,i)),PZ(e,r,a);break;case 21:PZ(e,r,a);break;case 22:ui=(i=ui)||a.memoizedState!==null,PZ(e,r,a),ui=i;break;default:PZ(e,r,a)}}function nre(e,r){if(r.memoizedState===null&&(e=r.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{gR(e)}catch(a){ma(r,r.return,a)}}}function ire(e,r){if(r.memoizedState===null&&(e=r.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{gR(e)}catch(a){ma(r,r.return,a)}}function Zze(e){switch(e.tag){case 31:case 13:case 19:var r=e.stateNode;return r===null&&(r=e.stateNode=new j$),r;case 22:return e=e.stateNode,r=e._retryCache,r===null&&(r=e._retryCache=new j$),r;default:throw Error(Ut(435,e.tag))}}function F5(e,r){var a=Zze(e);r.forEach(function(i){if(!a.has(i)){a.add(i);var s=yze.bind(null,e,i);i.then(s,s)}})}function Ns(e,r){var a=r.deletions;if(a!==null)for(var i=0;i<a.length;i++){var s=a[i],l=e,c=r,d=c;e:for(;d!==null;){switch(d.tag){case 27:if(N8(d.type)){zn=d.stateNode,Ys=!1;break e}break;case 5:zn=d.stateNode,Ys=!1;break e;case 3:case 4:zn=d.stateNode.containerInfo,Ys=!0;break e}d=d.return}if(zn===null)throw Error(Ut(160));are(l,c,s),zn=null,Ys=!1,l=s.alternate,l!==null&&(l.return=null),s.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)fre(r,e),r=r.sibling}var Nc=null;function fre(e,r){var a=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ns(r,e),Fs(e),i&4&&(E8(3,e,e.return),sD(3,e),E8(5,e,e.return));break;case 1:Ns(r,e),Fs(e),i&512&&(ui||a===null||rZ(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 s=Nc;if(Ns(r,e),Fs(e),i&512&&(ui||a===null||rZ(a,a.return)),i&4){var l=a!==null?a.memoizedState:null;if(i=e.memoizedState,a===null)if(i===null)if(e.stateNode===null){e:{i=e.type,a=e.memoizedProps,s=s.ownerDocument||s;t:switch(i){case"title":if(l=s.getElementsByTagName("title")[0],!l||l[aD]||l[mf]||l.namespaceURI==="http://www.w3.org/2000/svg"||l.hasAttribute("itemprop"))l=s.createElement(i),s.head.insertBefore(l,s.querySelector("head > title"));Mf(l,i,a),l[mf]=e,Ni(l),i=l;break e;case"link":var c=iee("link","href",s).get(i+(a.href||""));if(c){for(var d=0;d<c.length;d++)if(l=c[d],l.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&l.getAttribute("rel")===(a.rel==null?null:a.rel)&&l.getAttribute("title")===(a.title==null?null:a.title)&&l.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){c.splice(d,1);break t}}l=s.createElement(i),Mf(l,i,a),s.head.appendChild(l);break;case"meta":if(c=iee("meta","content",s).get(i+(a.content||""))){for(d=0;d<c.length;d++)if(l=c[d],l.getAttribute("content")===(a.content==null?null:""+a.content)&&l.getAttribute("name")===(a.name==null?null:a.name)&&l.getAttribute("property")===(a.property==null?null:a.property)&&l.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&l.getAttribute("charset")===(a.charSet==null?null:a.charSet)){c.splice(d,1);break t}}l=s.createElement(i),Mf(l,i,a),s.head.appendChild(l);break;default:throw Error(Ut(468,i))}l[mf]=e,Ni(l),i=l}e.stateNode=i}else fee(s,e.type,e.stateNode);else e.stateNode=nee(s,i,e.memoizedProps);else l!==i?(l===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):l.count--,i===null?fee(s,e.type,e.stateNode):nee(s,i,e.memoizedProps)):i===null&&e.stateNode!==null&&RU(e,e.memoizedProps,a.memoizedProps)}break;case 27:Ns(r,e),Fs(e),i&512&&(ui||a===null||rZ(a,a.return)),a!==null&&i&4&&RU(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Ns(r,e),Fs(e),i&512&&(ui||a===null||rZ(a,a.return)),e.flags&32){s=e.stateNode;try{lR(s,"")}catch(T){ma(e,e.return,T)}}i&4&&e.stateNode!=null&&(s=e.memoizedProps,RU(e,s,a!==null?a.memoizedProps:s)),i&1024&&(TU=!0);break;case 6:if(Ns(r,e),Fs(e),i&4){if(e.stateNode===null)throw Error(Ut(162));i=e.memoizedProps,a=e.stateNode;try{a.nodeValue=i}catch(T){ma(e,e.return,T)}}break;case 3:if(r4=null,s=Nc,Nc=C4(r.containerInfo),Ns(r,e),Nc=s,Fs(e),i&4&&a!==null&&a.memoizedState.isDehydrated)try{gR(r.containerInfo)}catch(T){ma(e,e.return,T)}TU&&(TU=!1,sre(e));break;case 4:i=Nc,Nc=C4(e.stateNode.containerInfo),Ns(r,e),Fs(e),Nc=i;break;case 12:Ns(r,e),Fs(e);break;case 31:Ns(r,e),Fs(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,F5(e,i)));break;case 13:Ns(r,e),Fs(e),e.child.flags&8192&&e.memoizedState!==null!==(a!==null&&a.memoizedState!==null)&&(V4=Vl()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,F5(e,i)));break;case 22:s=e.memoizedState!==null;var h=a!==null&&a.memoizedState!==null,x=DZ,v=ui;if(DZ=x||s,ui=v||h,Ns(r,e),ui=v,DZ=x,Fs(e),i&8192)e:for(r=e.stateNode,r._visibility=s?r._visibility&-2:r._visibility|1,s&&(a===null||h||DZ||ui||Uz(e)),a=null,r=e;;){if(r.tag===5||r.tag===26){if(a===null){h=a=r;try{if(l=h.stateNode,s)c=l.style,typeof c.setProperty==="function"?c.setProperty("display","none","important"):c.display="none";else{d=h.stateNode;var y=h.memoizedProps.style,k=y!==void 0&&y!==null&&y.hasOwnProperty("display")?y.display:null;d.style.display=k==null||typeof k==="boolean"?"":(""+k).trim()}}catch(T){ma(h,h.return,T)}}}else if(r.tag===6){if(a===null){h=r;try{h.stateNode.nodeValue=s?"":h.memoizedProps}catch(T){ma(h,h.return,T)}}}else if(r.tag===18){if(a===null){h=r;try{var b=h.stateNode;s?eee(b,!0):eee(h.stateNode,!1)}catch(T){ma(h,h.return,T)}}}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,F5(e,a))));break;case 19:Ns(r,e),Fs(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,F5(e,i)));break;case 30:break;case 21:break;default:Ns(r,e),Fs(e)}}function Fs(e){var r=e.flags;if(r&2){try{for(var a,i=e.return;i!==null;){if(ere(i)){a=i;break}i=i.return}if(a==null)throw Error(Ut(160));switch(a.tag){case 27:var s=a.stateNode,l=PU(e);_4(e,l,s);break;case 5:var c=a.stateNode;a.flags&32&&(lR(c,""),a.flags&=-33);var d=PU(e);_4(e,d,c);break;case 3:case 4:var h=a.stateNode.containerInfo,x=PU(e);v7(e,x,h);break;default:throw Error(Ut(161))}}catch(v){ma(e,e.return,v)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function sre(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var r=e;sre(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),e=e.sibling}}function TZ(e,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)rre(e,r.alternate,r),r=r.sibling}function Uz(e){for(e=e.child;e!==null;){var r=e;switch(r.tag){case 0:case 11:case 14:case 15:E8(4,r,r.return),Uz(r);break;case 1:rZ(r,r.return);var a=r.stateNode;typeof a.componentWillUnmount==="function"&&Jte(r,r.return,a),Uz(r);break;case 27:F2(r.stateNode);case 26:case 5:rZ(r,r.return),Uz(r);break;case 22:r.memoizedState===null&&Uz(r);break;case 30:Uz(r);break;default:Uz(r)}e=e.sibling}}function AZ(e,r,a){a=a&&(r.subtreeFlags&8772)!==0;for(r=r.child;r!==null;){var i=r.alternate,s=e,l=r,c=l.flags;switch(l.tag){case 0:case 11:case 15:AZ(s,l,a),sD(4,l);break;case 1:if(AZ(s,l,a),i=l,s=i.stateNode,typeof s.componentDidMount==="function")try{s.componentDidMount()}catch(x){ma(i,i.return,x)}if(i=l,s=i.updateQueue,s!==null){var d=i.stateNode;try{var h=s.shared.hiddenCallbacks;if(h!==null)for(s.shared.hiddenCallbacks=null,s=0;s<h.length;s++)ste(h[s],d)}catch(x){ma(i,i.return,x)}}a&&c&64&&Qte(l),E2(l,l.return);break;case 27:tre(l);case 26:case 5:AZ(s,l,a),a&&i===null&&c&4&&$te(l),E2(l,l.return);break;case 12:AZ(s,l,a);break;case 31:AZ(s,l,a),a&&c&4&&nre(s,l);break;case 13:AZ(s,l,a),a&&c&4&&ire(s,l);break;case 22:l.memoizedState===null&&AZ(s,l,a),E2(l,l.return);break;case 30:break;default:AZ(s,l,a)}r=r.sibling}}function vY(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&&iD(a))}function _Y(e,r){e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&iD(e))}function Oc(e,r,a,i){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)lre(e,r,a,i),r=r.sibling}function lre(e,r,a,i){var s=r.flags;switch(r.tag){case 0:case 11:case 15:Oc(e,r,a,i),s&2048&&sD(9,r);break;case 1:Oc(e,r,a,i);break;case 3:Oc(e,r,a,i),s&2048&&(e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&iD(e)));break;case 12:if(s&2048){Oc(e,r,a,i),e=r.stateNode;try{var l=r.memoizedProps,c=l.id,d=l.onPostCommit;typeof d==="function"&&d(c,r.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(h){ma(r,r.return,h)}}else Oc(e,r,a,i);break;case 31:Oc(e,r,a,i);break;case 13:Oc(e,r,a,i);break;case 23:break;case 22:l=r.stateNode,c=r.alternate,r.memoizedState!==null?l._visibility&2?Oc(e,r,a,i):D2(e,r):l._visibility&2?Oc(e,r,a,i):(l._visibility|=2,Fk(e,r,a,i,(r.subtreeFlags&10256)!==0||!1)),s&2048&&vY(c,r);break;case 24:Oc(e,r,a,i),s&2048&&_Y(r.alternate,r);break;default:Oc(e,r,a,i)}}function Fk(e,r,a,i,s){s=s&&((r.subtreeFlags&10256)!==0||!1);for(r=r.child;r!==null;){var l=e,c=r,d=a,h=i,x=c.flags;switch(c.tag){case 0:case 11:case 15:Fk(l,c,d,h,s),sD(8,c);break;case 23:break;case 22:var v=c.stateNode;c.memoizedState!==null?v._visibility&2?Fk(l,c,d,h,s):D2(l,c):(v._visibility|=2,Fk(l,c,d,h,s)),s&&x&2048&&vY(c.alternate,c);break;case 24:Fk(l,c,d,h,s),s&&x&2048&&_Y(c.alternate,c);break;default:Fk(l,c,d,h,s)}r=r.sibling}}function D2(e,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var a=e,i=r,s=i.flags;switch(i.tag){case 22:D2(a,i),s&2048&&vY(i.alternate,i);break;case 24:D2(a,i),s&2048&&_Y(i.alternate,i);break;default:D2(a,i)}r=r.sibling}}var w2=8192;function Nk(e,r,a){if(e.subtreeFlags&w2)for(e=e.child;e!==null;)cre(e,r,a),e=e.sibling}function cre(e,r,a){switch(e.tag){case 26:Nk(e,r,a),e.flags&w2&&e.memoizedState!==null&&Qze(a,Nc,e.memoizedState,e.memoizedProps);break;case 5:Nk(e,r,a);break;case 3:case 4:var i=Nc;Nc=C4(e.stateNode.containerInfo),Nk(e,r,a),Nc=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=w2,w2=16777216,Nk(e,r,a),w2=i):Nk(e,r,a));break;default:Nk(e,r,a)}}function ure(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 h2(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];Oi=i,Zre(i,e)}ure(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)dre(e),e=e.sibling}function dre(e){switch(e.tag){case 0:case 11:case 15:h2(e),e.flags&2048&&E8(9,e,e.return);break;case 3:h2(e);break;case 12:h2(e);break;case 22:var r=e.stateNode;e.memoizedState!==null&&r._visibility&2&&(e.return===null||e.return.tag!==13)?(r._visibility&=-3,e4(e)):h2(e);break;default:h2(e)}}function e4(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];Oi=i,Zre(i,e)}ure(e)}for(e=e.child;e!==null;){switch(r=e,r.tag){case 0:case 11:case 15:E8(8,r,r.return),e4(r);break;case 22:a=r.stateNode,a._visibility&2&&(a._visibility&=-3,e4(r));break;default:e4(r)}e=e.sibling}}function Zre(e,r){for(;Oi!==null;){var a=Oi;switch(a.tag){case 0:case 11:case 15:E8(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:iD(a.memoizedState.cache)}if(i=a.child,i!==null)i.return=a,Oi=i;else e:for(a=e;Oi!==null;){i=Oi;var s=i.sibling,l=i.return;if(ore(i),i===a){Oi=null;break e}if(s!==null){s.return=l,Oi=s;break e}Oi=l}}}var pze={getCacheForType:function(e){var r=gf(di),a=r.data.get(e);return a===void 0&&(a=e(),r.data.set(e,a)),a},cacheSignal:function(){return gf(di).controller.signal}},mze=typeof WeakMap==="function"?WeakMap:Map,qo=0,Va=null,zo=null,Ro=0,pa=0,ml=null,b8=!1,_R=!1,yY=!1,WZ=0,An=0,D8=0,Kz=0,bY=0,Yl=0,ZR=0,O2=null,Xs=null,_7=!1,V4=0,pre=0,y4=1/0,b4=null,k8=null,Li=0,C8=null,pR=null,UZ=0,y7=0,b7=null,mre=null,N2=0,w7=null;function Mc(){return(qo&2)!==0&&Ro!==0?Ro&-Ro:Hr.T!==null?zY():Lee()}function hre(){if(Yl===0)if((Ro&536870912)===0||To){var e=R5;R5<<=1,(R5&3932160)===0&&(R5=262144),Yl=e}else Yl=536870912;return e=Xl.current,e!==null&&(e.flags|=32),Yl}function Js(e,r,a){if(e===Va&&(pa===2||pa===9)||e.cancelPendingCommit!==null)mR(e,0),w8(e,Ro,Yl,!1);if(E4(e,a),(qo&2)===0||e!==Va)e===Va&&((qo&2)===0&&(Kz|=a),An===4&&w8(e,Ro,Yl,!1)),GZ(e)}function gre(e,r,a){if((qo&6)!==0)throw Error(Ut(327));var i=!a&&(r&127)===0&&(r&e.expiredLanes)===0||rD(e,r),s=i?Mze(e,r):AU(e,r,!0),l=i;do{if(s===0){_R&&!i&&w8(e,r,0,!1);break}else{if(a=e.current.alternate,l&&!hze(a)){s=AU(e,r,!1),l=!1;continue}if(s===2){if(l=r,e.errorRecoveryDisabledLanes&l)var c=0;else c=e.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){r=c;e:{var d=e;s=O2;var h=d.current.memoizedState.isDehydrated;if(h&&(mR(d,c).flags|=256),c=AU(d,c,!1),c!==2){if(yY&&!h){d.errorRecoveryDisabledLanes|=l,Kz|=l,s=4;break e}l=Xs,Xs=s,l!==null&&(Xs===null?Xs=l:Xs.push.apply(Xs,l))}s=c}if(l=!1,s!==2)continue}}if(s===1){mR(e,0),w8(e,r,0,!0);break}e:{switch(i=e,l=s,l){case 0:case 1:throw Error(Ut(345));case 4:if((r&4194048)!==r)break;case 6:w8(i,r,Yl,!b8);break e;case 2:Xs=null;break;case 3:case 5:break;default:throw Error(Ut(329))}if((r&62914560)===r&&(s=V4+300-Vl(),10<s)){if(w8(i,r,Yl,!b8),A4(i,0,!0)!==0)break e;UZ=r,i.timeoutHandle=Nre(B$.bind(null,i,a,Xs,b4,_7,r,Yl,Kz,ZR,b8,l,"Throttled",-0,0),s);break e}B$(i,a,Xs,b4,_7,r,Yl,Kz,ZR,b8,l,null,-0,0)}}break}while(1);GZ(e)}function B$(e,r,a,i,s,l,c,d,h,x,v,y,k,b){if(e.timeoutHandle=-1,y=r.subtreeFlags,y&8192||(y&16785408)===16785408){y={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:NZ},cre(r,l,y);var T=(l&62914560)===l?V4-Vl():(l&4194048)===l?pre-Vl():0;if(T=Jze(y,T),T!==null){UZ=l,e.cancelPendingCommit=T(Y$.bind(null,e,r,l,a,i,s,c,d,h,v,y,null,k,b)),w8(e,l,c,!x);return}}Y$(e,r,l,a,i,s,c,d,h)}function hze(e){for(var r=e;;){var a=r.tag;if((a===0||a===11||a===15)&&r.flags&16384&&(a=r.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var i=0;i<a.length;i++){var s=a[i],l=s.getSnapshot;s=s.value;try{if(!Kl(l(),s))return!1}catch(c){return!1}}if(a=r.child,r.subtreeFlags&16384&&a!==null)a.return=r,r=a;else{if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function w8(e,r,a,i){r&=~bY,r&=~Kz,e.suspendedLanes|=r,e.pingedLanes&=~r,i&&(e.warmLanes|=r),i=e.expirationTimes;for(var s=r;0<s;){var l=31-Gl(s),c=1<<l;i[l]=-1,s&=~c}a!==0&&bee(e,a,r)}function W4(){return(qo&6)===0?(lD(0,!1),!1):!0}function wY(){if(zo!==null){if(pa===0)var e=zo.return;else e=zo,FZ=nL=null,lY(e),aR=null,V2=0,e=zo;for(;e!==null;)Xte(e.alternate,e),e=e.return;zo=null}}function mR(e,r){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,Aze(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),UZ=0,wY(),Va=e,zo=a=jZ(e.current,null),Ro=r,pa=0,ml=null,b8=!1,_R=rD(e,r),yY=!1,ZR=Yl=bY=Kz=D8=An=0,Xs=O2=null,_7=!1,(r&8)!==0&&(r|=r&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=r;0<i;){var s=31-Gl(i),l=1<<s;r|=e[s],i&=~l}return WZ=r,F4(),a}function Mre(e,r){mo=null,Hr.H=G2,r===vR||r===B4?(r=x$(),pa=3):r===rY?(r=x$(),pa=4):pa=r===MY?8:r!==null&&typeof r==="object"&&typeof r.then==="function"?6:1,ml=r,zo===null&&(An=1,x4(e,mc(r,e.current)))}function xre(){var e=Xl.current;return e===null?!0:(Ro&4194048)===Ro?gc===null?!0:!1:(Ro&62914560)===Ro||(Ro&536870912)!==0?e===gc:!1}function vre(){var e=Hr.H;return Hr.H=G2,e===null?G2:e}function _re(){var e=Hr.A;return Hr.A=pze,e}function w4(){An=4,b8||(Ro&4194048)!==Ro&&Xl.current!==null||(_R=!0),(D8&134217727)===0&&(Kz&134217727)===0||Va===null||w8(Va,Ro,Yl,!1)}function AU(e,r,a){var i=qo;qo|=2;var s=vre(),l=_re();if(Va!==e||Ro!==r)b4=null,mR(e,r);r=!1;var c=An;e:do try{if(pa!==0&&zo!==null){var d=zo,h=ml;switch(pa){case 8:wY(),c=6;break e;case 3:case 2:case 9:case 6:Xl.current===null&&(r=!0);var x=pa;if(pa=0,ml=null,$k(e,d,h,x),a&&_R){c=0;break e}break;default:x=pa,pa=0,ml=null,$k(e,d,h,x)}}gze(),c=An;break}catch(v){Mre(e,v)}while(1);return r&&e.shellSuspendCounter++,FZ=nL=null,qo=i,Hr.H=s,Hr.A=l,zo===null&&(Va=null,Ro=0,F4()),c}function gze(){for(;zo!==null;)yre(zo)}function Mze(e,r){var a=qo;qo|=2;var i=vre(),s=_re();Va!==e||Ro!==r?(b4=null,y4=Vl()+500,mR(e,r)):_R=rD(e,r);e:do try{if(pa!==0&&zo!==null){r=zo;var l=ml;t:switch(pa){case 1:pa=0,ml=null,$k(e,r,l,1);break;case 2:case 9:if(M$(l)){pa=0,ml=null,U$(r);break}r=function(){pa!==2&&pa!==9||Va!==e||(pa=7),GZ(e)},l.then(r,r);break e;case 3:pa=7;break e;case 4:pa=5;break e;case 7:M$(l)?(pa=0,ml=null,U$(r)):(pa=0,ml=null,$k(e,r,l,7));break;case 5:var c=null;switch(zo.tag){case 26:c=zo.memoizedState;case 5:case 27:var d=zo;if(c?Yre(c):d.stateNode.complete){pa=0,ml=null;var h=d.sibling;if(h!==null)zo=h;else{var x=d.return;x!==null?(zo=x,G4(x)):zo=null}break t}}pa=0,ml=null,$k(e,r,l,5);break;case 6:pa=0,ml=null,$k(e,r,l,6);break;case 8:wY(),An=6;break e;default:throw Error(Ut(462))}}xze();break}catch(v){Mre(e,v)}while(1);if(FZ=nL=null,Hr.H=i,Hr.A=s,qo=a,zo!==null)return 0;return Va=null,Ro=0,F4(),An}function xze(){for(;zo!==null&&!Fwe();)yre(zo)}function yre(e){var r=Kte(e.alternate,e,WZ);e.memoizedProps=e.pendingProps,r===null?G4(e):zo=r}function U$(e){var r=e,a=r.alternate;switch(r.tag){case 15:case 0:r=E$(a,r,r.pendingProps,r.type,void 0,Ro);break;case 11:r=E$(a,r,r.pendingProps,r.type.render,r.ref,Ro);break;case 5:lY(r);default:Xte(a,r),r=zo=$ee(r,WZ),r=Kte(a,r,WZ)}e.memoizedProps=e.pendingProps,r===null?G4(e):zo=r}function $k(e,r,a,i){FZ=nL=null,lY(r),aR=null,V2=0;var s=r.return;try{if(fze(e,s,r,a,Ro)){An=1,x4(e,mc(a,e.current)),zo=null;return}}catch(l){if(s!==null)throw zo=s,l;An=1,x4(e,mc(a,e.current)),zo=null;return}if(r.flags&32768){if(To||i===1)e=!0;else if(_R||(Ro&536870912)!==0)e=!1;else if(b8=e=!0,i===2||i===9||i===3||i===6)i=Xl.current,i!==null&&i.tag===13&&(i.flags|=16384);bre(r,e)}else G4(r)}function G4(e){var r=e;do{if((r.flags&32768)!==0){bre(r,b8);return}e=r.return;var a=cze(r.alternate,r,WZ);if(a!==null){zo=a;return}if(r=r.sibling,r!==null){zo=r;return}zo=r=e}while(r!==null);An===0&&(An=5)}function bre(e,r){do{var a=uze(e.alternate,e);if(a!==null){a.flags&=32767,zo=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!r&&(e=e.sibling,e!==null)){zo=e;return}zo=e=a}while(e!==null);An=6,zo=null}function Y$(e,r,a,i,s,l,c,d,h){e.cancelPendingCommit=null;do K4();while(Li!==0);if((qo&6)!==0)throw Error(Ut(327));if(r!==null){if(r===e.current)throw Error(Ut(177));if(l=r.lanes|r.childLanes,l|=K7,Kwe(e,a,l,c,d,h),e===Va&&(zo=Va=null,Ro=0),pR=r,C8=e,UZ=a,y7=l,b7=s,mre=i,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,bze(s4,function(){return kre(),null})):(e.callbackNode=null,e.callbackPriority=0),i=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||i){i=Hr.T,Hr.T=null,s=Ho.p,Ho.p=2,c=qo,qo|=4;try{dze(e,r,a)}finally{qo=c,Ho.p=s,Hr.T=i}}Li=1,wre(),zre(),Sre()}}function wre(){if(Li===1){Li=0;var e=C8,r=pR,a=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||a){a=Hr.T,Hr.T=null;var i=Ho.p;Ho.p=2;var s=qo;qo|=4;try{fre(r,e);var l=I7,c=Hee(e.containerInfo),{focusedElem:d,selectionRange:h}=l;if(c!==d&&d&&d.ownerDocument&&qee(d.ownerDocument.documentElement,d)){if(h!==null&&G7(d)){var{start:x,end:v}=h;if(v===void 0&&(v=x),"selectionStart"in d)d.selectionStart=x,d.selectionEnd=Math.min(v,d.value.length);else{var y=d.ownerDocument||document,k=y&&y.defaultView||window;if(k.getSelection){var b=k.getSelection(),T=d.textContent.length,D=Math.min(h.start,T),U=h.end===void 0?D:Math.min(h.end,T);!b.extend&&D>U&&(c=U,U=D,D=c);var A=u$(d,D),j=u$(d,U);if(A&&j&&(b.rangeCount!==1||b.anchorNode!==A.node||b.anchorOffset!==A.offset||b.focusNode!==j.node||b.focusOffset!==j.offset)){var V=y.createRange();V.setStart(A.node,A.offset),b.removeAllRanges(),D>U?(b.addRange(V),b.extend(j.node,j.offset)):(V.setEnd(j.node,j.offset),b.addRange(V))}}}}y=[];for(b=d;b=b.parentNode;)b.nodeType===1&&y.push({element:b,left:b.scrollLeft,top:b.scrollTop});typeof d.focus==="function"&&d.focus();for(d=0;d<y.length;d++){var J=y[d];J.element.scrollLeft=J.left,J.element.scrollTop=J.top}}P4=!!C7,I7=C7=null}finally{qo=s,Ho.p=i,Hr.T=a}}e.current=r,Li=2}}function zre(){if(Li===2){Li=0;var e=C8,r=pR,a=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||a){a=Hr.T,Hr.T=null;var i=Ho.p;Ho.p=2;var s=qo;qo|=4;try{rre(e,r.alternate,r)}finally{qo=s,Ho.p=i,Hr.T=a}}Li=3}}function Sre(){if(Li===4||Li===3){Li=0,jwe();var e=C8,r=pR,a=UZ,i=mre;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?Li=5:(Li=0,pR=C8=null,Lre(e,e.pendingLanes));var s=e.pendingLanes;if(s===0&&(k8=null),B7(a),r=r.stateNode,Wl&&typeof Wl.onCommitFiberRoot==="function")try{Wl.onCommitFiberRoot(tD,r,void 0,(r.current.flags&128)===128)}catch(h){}if(i!==null){r=Hr.T,s=Ho.p,Ho.p=2,Hr.T=null;try{for(var l=e.onRecoverableError,c=0;c<i.length;c++){var d=i[c];l(d.value,{componentStack:d.stack})}}finally{Hr.T=r,Ho.p=s}}(UZ&3)!==0&&K4(),GZ(e),s=e.pendingLanes,(a&261930)!==0&&(s&42)!==0?e===w7?N2++:(N2=0,w7=e):N2=0,lD(0,!1)}}function Lre(e,r){(e.pooledCacheLanes&=r)===0&&(r=e.pooledCache,r!=null&&(e.pooledCache=null,iD(r)))}function K4(){return wre(),zre(),Sre(),kre()}function kre(){if(Li!==5)return!1;var e=C8,r=y7;y7=0;var a=B7(UZ),i=Hr.T,s=Ho.p;try{Ho.p=32>a?32:a,Hr.T=null,a=b7,b7=null;var l=C8,c=UZ;if(Li=0,pR=C8=null,UZ=0,(qo&6)!==0)throw Error(Ut(331));var d=qo;if(qo|=4,dre(l.current),lre(l,l.current,c,a),qo=d,lD(0,!1),Wl&&typeof Wl.onPostCommitFiberRoot==="function")try{Wl.onPostCommitFiberRoot(tD,l)}catch(h){}return!0}finally{Ho.p=s,Hr.T=i,Lre(e,r)}}function q$(e,r,a){r=mc(a,r),r=g7(e.stateNode,r,2),e=Gz(e,r,2),e!==null&&(E4(e,2),GZ(e))}function ma(e,r,a){if(e.tag===3)q$(e,e,a);else for(;r!==null;){if(r.tag===3){q$(r,e,a);break}else if(r.tag===1){var i=r.stateNode;if(typeof r.type.getDerivedStateFromError==="function"||typeof i.componentDidCatch==="function"&&(k8===null||!k8.has(i))){e=mc(a,e),a=Yte(2),i=Gz(r,a,2),i!==null&&(qte(a,i,r,e),E4(i,2),GZ(i));break}}r=r.return}}function EU(e,r,a){var i=e.pingCache;if(i===null){i=e.pingCache=new mze;var s=new Set;i.set(r,s)}else s=i.get(r),s===void 0&&(s=new Set,i.set(r,s));s.has(a)||(yY=!0,s.add(a),e=vze.bind(null,e,r,a),r.then(e,e))}function vze(e,r,a){var i=e.pingCache;i!==null&&i.delete(r),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Va===e&&(Ro&a)===a&&(An===4||An===3&&(Ro&62914560)===Ro&&300>Vl()-V4?(qo&2)===0&&mR(e,0):bY|=a,ZR===Ro&&(ZR=0)),GZ(e)}function Cre(e,r){r===0&&(r=yee()),e=aL(e,r),e!==null&&(E4(e,r),GZ(e))}function _ze(e){var r=e.memoizedState,a=0;r!==null&&(a=r.retryLane),Cre(e,a)}function yze(e,r){var a=0;switch(e.tag){case 31:case 13:var{stateNode:i,memoizedState:s}=e;s!==null&&(a=s.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(Ut(314))}i!==null&&i.delete(r),Cre(e,a)}function bze(e,r){return j7(e,r)}var z4=null,jk=null,z7=!1,S4=!1,DU=!1,z8=0;function GZ(e){e!==jk&&e.next===null&&(jk===null?z4=jk=e:jk=jk.next=e),S4=!0,z7||(z7=!0,zze())}function lD(e,r){if(!DU&&S4){DU=!0;do{var a=!1;for(var i=z4;i!==null;){if(!r)if(e!==0){var s=i.pendingLanes;if(s===0)var l=0;else{var c=i.suspendedLanes,d=i.pingedLanes;l=(1<<31-Gl(42|e)+1)-1,l&=s&~(c&~d),l=l&201326741?l&201326741|1:l?l|2:0}l!==0&&(a=!0,H$(i,l))}else l=Ro,l=A4(i,i===Va?l:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(l&3)===0||rD(i,l)||(a=!0,H$(i,l));i=i.next}}while(a);DU=!1}}function wze(){Ire()}function Ire(){S4=z7=!1;var e=0;z8!==0&&Tze()&&(e=z8);for(var r=Vl(),a=null,i=z4;i!==null;){var s=i.next,l=Rre(i,r);if(l===0)i.next=null,a===null?z4=s:a.next=s,s===null&&(jk=a);else if(a=i,e!==0||(l&3)!==0)S4=!0;i=s}Li!==0&&Li!==5||lD(e,!1),z8!==0&&(z8=0)}function Rre(e,r){for(var{suspendedLanes:a,pingedLanes:i,expirationTimes:s}=e,l=e.pendingLanes&-62914561;0<l;){var c=31-Gl(l),d=1<<c,h=s[c];if(h===-1){if((d&a)===0||(d&i)!==0)s[c]=Gwe(d,r)}else h<=r&&(e.expiredLanes|=d);l&=~d}if(r=Va,a=Ro,a=A4(e,e===r?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,a===0||e===r&&(pa===2||pa===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&dU(i),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||rD(e,a)){if(r=a&-a,r===e.callbackPriority)return r;switch(i!==null&&dU(i),B7(a)){case 2:case 8:a=vee;break;case 32:a=s4;break;case 268435456:a=_ee;break;default:a=s4}return i=Pre.bind(null,e),a=j7(a,i),e.callbackPriority=r,e.callbackNode=a,r}return i!==null&&i!==null&&dU(i),e.callbackPriority=2,e.callbackNode=null,2}function Pre(e,r){if(Li!==0&&Li!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(K4()&&e.callbackNode!==a)return null;var i=Ro;if(i=A4(e,e===Va?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0)return null;return gre(e,i,r),Rre(e,Vl()),e.callbackNode!=null&&e.callbackNode===a?Pre.bind(null,e):null}function H$(e,r){if(K4())return null;gre(e,r,!0)}function zze(){Eze(function(){(qo&6)!==0?j7(xee,wze):Ire()})}function zY(){if(z8===0){var e=cR;e===0&&(e=I5,I5<<=1,(I5&261888)===0&&(I5=256)),z8=e}return z8}function V$(e){return e==null||typeof e==="symbol"||typeof e==="boolean"?null:typeof e==="function"?e:q5(""+e)}function W$(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 Sze(e,r,a,i,s){if(r==="submit"&&a&&a.stateNode===s){var l=V$((s[el]||null).action),c=i.submitter;c&&(r=(r=c[el]||null)?V$(r.formAction):c.getAttribute("formAction"),r!==null&&(l=r,c=null));var d=new D4("action","action",null,i,s);e.push({event:d,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(z8!==0){var h=c?W$(s,c):new FormData(s);m7(a,{pending:!0,data:h,method:s.method,action:l},null,h)}}else typeof l==="function"&&(d.preventDefault(),h=c?W$(s,c):new FormData(s),m7(a,{pending:!0,data:h,method:s.method,action:l},l,h))},currentTarget:s}]})}}for(z2=0;z2<o7.length;z2++)S2=o7[z2],S7=S2.toLowerCase(),L7=S2[0].toUpperCase()+S2.slice(1),Fc(S7,"on"+L7);var S2,S7,L7,z2;Fc(Wee,"onAnimationEnd");Fc(Gee,"onAnimationIteration");Fc(Kee,"onAnimationStart");Fc("dblclick","onDoubleClick");Fc("focusin","onFocus");Fc("focusout","onBlur");Fc(B0e,"onTransitionRun");Fc(U0e,"onTransitionStart");Fc(Y0e,"onTransitionCancel");Fc(Xee,"onTransitionEnd");sR("onMouseEnter",["mouseout","mouseover"]);sR("onMouseLeave",["mouseout","mouseover"]);sR("onPointerEnter",["pointerout","pointerover"]);sR("onPointerLeave",["pointerout","pointerover"]);tL("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));tL("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));tL("onBeforeInput",["compositionend","keypress","textInput","paste"]);tL("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));tL("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));tL("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var K2="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(" "),Lze=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(K2));function Tre(e,r){r=(r&4)!==0;for(var a=0;a<e.length;a++){var i=e[a],s=i.event;i=i.listeners;e:{var l=void 0;if(r)for(var c=i.length-1;0<=c;c--){var d=i[c],h=d.instance,x=d.currentTarget;if(d=d.listener,h!==l&&s.isPropagationStopped())break e;l=d,s.currentTarget=x;try{l(s)}catch(v){c4(v)}s.currentTarget=null,l=h}else for(c=0;c<i.length;c++){if(d=i[c],h=d.instance,x=d.currentTarget,d=d.listener,h!==l&&s.isPropagationStopped())break e;l=d,s.currentTarget=x;try{l(s)}catch(v){c4(v)}s.currentTarget=null,l=h}}}}function wo(e,r){var a=r[KU];a===void 0&&(a=r[KU]=new Set);var i=e+"__bubble";a.has(i)||(Ere(r,e,2,!1),a.add(i))}function OU(e,r,a){var i=0;r&&(i|=4),Ere(a,e,i,r)}var j5="_reactListening"+Math.random().toString(36).slice(2);function Are(e){if(!e[j5]){e[j5]=!0,kee.forEach(function(a){a!=="selectionchange"&&(Lze.has(a)||OU(a,!1,e),OU(a,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[j5]||(r[j5]=!0,OU("selectionchange",!1,r))}}function Ere(e,r,a,i){switch(Vre(r)){case 2:var s=oSe;break;case 8:s=aSe;break;default:s=CY}a=s.bind(null,r,a,e),s=void 0,!e7||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(s=!0),i?s!==void 0?e.addEventListener(r,a,{capture:!0,passive:s}):e.addEventListener(r,a,!0):s!==void 0?e.addEventListener(r,a,{passive:s}):e.addEventListener(r,a,!1)}function NU(e,r,a,i,s){var l=i;if((r&1)===0&&(r&2)===0&&i!==null)e:for(;;){if(i===null)return;var c=i.tag;if(c===3||c===4){var d=i.stateNode.containerInfo;if(d===s)break;if(c===4)for(c=i.return;c!==null;){var h=c.tag;if((h===3||h===4)&&c.stateNode.containerInfo===s)return;c=c.return}for(;d!==null;){if(c=qk(d),c===null)return;if(h=c.tag,h===5||h===6||h===26||h===27){i=l=c;continue e}d=d.parentNode}}i=i.return}Dee(function(){var x=l,v=q7(a),y=[];e:{var k=Qee.get(e);if(k!==void 0){var b=D4,T=e;switch(e){case"keypress":if(V5(a)===0)break e;case"keydown":case"keyup":b=x0e;break;case"focusin":T="focus",b=gU;break;case"focusout":T="blur",b=gU;break;case"beforeblur":case"afterblur":b=gU;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":b=r$;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=f0e;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=y0e;break;case Wee:case Gee:case Kee:b=c0e;break;case Xee:b=w0e;break;case"scroll":case"scrollend":b=n0e;break;case"wheel":b=S0e;break;case"copy":case"cut":case"paste":b=d0e;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=a$;break;case"toggle":case"beforetoggle":b=k0e}var D=(r&4)!==0,U=!D&&(e==="scroll"||e==="scrollend"),A=D?k!==null?k+"Capture":null:k;D=[];for(var j=x,V;j!==null;){var J=j;if(V=J.stateNode,J=J.tag,J!==5&&J!==26&&J!==27||V===null||A===null||(J=B2(j,A),J!=null&&D.push(X2(j,J,V))),U)break;j=j.return}0<D.length&&(k=new b(k,T,null,a,v),y.push({event:k,listeners:D}))}}if((r&7)===0){e:{if(k=e==="mouseover"||e==="pointerover",b=e==="mouseout"||e==="pointerout",k&&a!==$U&&(T=a.relatedTarget||a.fromElement)&&(qk(T)||T[oD]))break e;if(b||k){if(k=v.window===v?v:(k=v.ownerDocument)?k.defaultView||k.parentWindow:window,b){if(T=a.relatedTarget||a.toElement,b=x,T=T?qk(T):null,T!==null&&(U=eD(T),D=T.tag,T!==U||D!==5&&D!==27&&D!==6))T=null}else b=null,T=x;if(b!==T){if(D=r$,J="onMouseLeave",A="onMouseEnter",j="mouse",e==="pointerout"||e==="pointerover")D=a$,J="onPointerLeave",A="onPointerEnter",j="pointer";if(U=b==null?k:v2(b),V=T==null?k:v2(T),k=new D(J,j+"leave",b,a,v),k.target=U,k.relatedTarget=V,J=null,qk(v)===x&&(D=new D(A,j+"enter",T,a,v),D.target=V,D.relatedTarget=U,J=D),U=J,b&&T)t:{D=kze,A=b,j=T,V=0;for(J=A;J;J=D(J))V++;J=0;for(var ee=j;ee;ee=D(ee))J++;for(;0<V-J;)A=D(A),V--;for(;0<J-V;)j=D(j),J--;for(;V--;){if(A===j||j!==null&&A===j.alternate){D=A;break t}A=D(A),j=D(j)}D=null}else D=null;b!==null&&G$(y,k,b,D,!1),T!==null&&U!==null&&G$(y,U,T,D,!0)}}}e:{if(k=x?v2(x):window,b=k.nodeName&&k.nodeName.toLowerCase(),b==="select"||b==="input"&&k.type==="file")var te=s$;else if(f$(k))if(Uee)te=N0e;else{te=D0e;var re=E0e}else b=k.nodeName,!b||b.toLowerCase()!=="input"||k.type!=="checkbox"&&k.type!=="radio"?x&&Y7(x.elementType)&&(te=s$):te=O0e;if(te&&(te=te(e,x))){Bee(y,te,a,v);break e}re&&re(e,k,x),e==="focusout"&&x&&k.type==="number"&&x.memoizedProps.value!=null&&JU(k,"number",k.value)}switch(re=x?v2(x):window,e){case"focusin":if(f$(re)||re.contentEditable==="true")Wk=re,t7=x,C2=null;break;case"focusout":C2=t7=Wk=null;break;case"mousedown":r7=!0;break;case"contextmenu":case"mouseup":case"dragend":r7=!1,d$(y,a,v);break;case"selectionchange":if(j0e)break;case"keydown":case"keyup":d$(y,a,v)}var ae;if(W7)e:{switch(e){case"compositionstart":var he="onCompositionStart";break e;case"compositionend":he="onCompositionEnd";break e;case"compositionupdate":he="onCompositionUpdate";break e}he=void 0}else Vk?Fee(e,a)&&(he="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(he="onCompositionStart");if(he&&(Nee&&a.locale!=="ko"&&(Vk||he!=="onCompositionStart"?he==="onCompositionEnd"&&Vk&&(ae=Oee()):(y8=v,H7=("value"in y8)?y8.value:y8.textContent,Vk=!0)),re=L4(x,he),0<re.length&&(he=new o$(he,e,null,a,v),y.push({event:he,listeners:re}),ae?he.data=ae:(ae=jee(a),ae!==null&&(he.data=ae)))),ae=I0e?R0e(e,a):P0e(e,a))he=L4(x,"onBeforeInput"),0<he.length&&(re=new o$("onBeforeInput","beforeinput",null,a,v),y.push({event:re,listeners:he}),re.data=ae);Sze(y,e,x,a,v)}Tre(y,r)})}function X2(e,r,a){return{instance:e,listener:r,currentTarget:a}}function L4(e,r){for(var a=r+"Capture",i=[];e!==null;){var s=e,l=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||l===null||(s=B2(e,a),s!=null&&i.unshift(X2(e,s,l)),s=B2(e,r),s!=null&&i.push(X2(e,s,l))),e.tag===3)return i;e=e.return}return[]}function kze(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e?e:null}function G$(e,r,a,i,s){for(var l=r._reactName,c=[];a!==null&&a!==i;){var d=a,h=d.alternate,x=d.stateNode;if(d=d.tag,h!==null&&h===i)break;d!==5&&d!==26&&d!==27||x===null||(h=x,s?(x=B2(a,l),x!=null&&c.unshift(X2(a,x,h))):s||(x=B2(a,l),x!=null&&c.push(X2(a,x,h)))),a=a.return}c.length!==0&&e.push({event:r,listeners:c})}var Cze=/\r\n?/g,Ize=/\u0000|\uFFFD/g;function K$(e){return(typeof e==="string"?e:""+e).replace(Cze,`
|
|
10
|
-
`).replace(Ize,"")}function Dre(e,r){return r=K$(r),K$(e)===r?!0:!1}function ya(e,r,a,i,s,l){switch(a){case"children":typeof i==="string"?r==="body"||r==="textarea"&&i===""||lR(e,i):(typeof i==="number"||typeof i==="bigint")&&r!=="body"&&lR(e,""+i);break;case"className":T5(e,"class",i);break;case"tabIndex":T5(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":T5(e,a,i);break;case"style":Eee(e,i,l);break;case"data":if(r!=="object"){T5(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=q5(""+i),e.setAttribute(a,i);break;case"action":case"formAction":if(typeof i==="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof l==="function"&&(a==="formAction"?(r!=="input"&&ya(e,r,"name",s.name,s,null),ya(e,r,"formEncType",s.formEncType,s,null),ya(e,r,"formMethod",s.formMethod,s,null),ya(e,r,"formTarget",s.formTarget,s,null)):(ya(e,r,"encType",s.encType,s,null),ya(e,r,"method",s.method,s,null),ya(e,r,"target",s.target,s,null)));if(i==null||typeof i==="symbol"||typeof i==="boolean"){e.removeAttribute(a);break}i=q5(""+i),e.setAttribute(a,i);break;case"onClick":i!=null&&(e.onclick=NZ);break;case"onScroll":i!=null&&wo("scroll",e);break;case"onScrollEnd":i!=null&&wo("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error(Ut(61));if(a=i.__html,a!=null){if(s.children!=null)throw Error(Ut(60));e.innerHTML=a}}break;case"multiple":e.multiple=i&&typeof i!=="function"&&typeof i!=="symbol";break;case"muted":e.muted=i&&typeof i!=="function"&&typeof i!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i==="function"||typeof i==="boolean"||typeof i==="symbol"){e.removeAttribute("xlink:href");break}a=q5(""+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":wo("beforetoggle",e),wo("toggle",e),Y5(e,"popover",i);break;case"xlinkActuate":IZ(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":IZ(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":IZ(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":IZ(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":IZ(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":IZ(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":IZ(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":IZ(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":IZ(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Y5(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=o0e.get(a)||a,Y5(e,a,i)}}function k7(e,r,a,i,s,l){switch(a){case"style":Eee(e,i,l);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error(Ut(61));if(a=i.__html,a!=null){if(s.children!=null)throw Error(Ut(60));e.innerHTML=a}}break;case"children":typeof i==="string"?lR(e,i):(typeof i==="number"||typeof i==="bigint")&&lR(e,""+i);break;case"onScroll":i!=null&&wo("scroll",e);break;case"onScrollEnd":i!=null&&wo("scrollend",e);break;case"onClick":i!=null&&(e.onclick=NZ);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Cee.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(s=a.endsWith("Capture"),r=a.slice(2,s?a.length-7:void 0),l=e[el]||null,l=l!=null?l[a]:null,typeof l==="function"&&e.removeEventListener(r,l,s),typeof i==="function")){typeof l!=="function"&&l!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(r,i,s);break e}a in e?e[a]=i:i===!0?e.setAttribute(a,""):Y5(e,a,i)}}}function Mf(e,r,a){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":wo("error",e),wo("load",e);var i=!1,s=!1,l;for(l in a)if(a.hasOwnProperty(l)){var c=a[l];if(c!=null)switch(l){case"src":i=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(Ut(137,r));default:ya(e,r,l,c,a,null)}}s&&ya(e,r,"srcSet",a.srcSet,a,null),i&&ya(e,r,"src",a.src,a,null);return;case"input":wo("invalid",e);var d=l=c=s=null,h=null,x=null;for(i in a)if(a.hasOwnProperty(i)){var v=a[i];if(v!=null)switch(i){case"name":s=v;break;case"type":c=v;break;case"checked":h=v;break;case"defaultChecked":x=v;break;case"value":l=v;break;case"defaultValue":d=v;break;case"children":case"dangerouslySetInnerHTML":if(v!=null)throw Error(Ut(137,r));break;default:ya(e,r,i,v,a,null)}}Pee(e,l,d,h,x,c,s,!1);return;case"select":wo("invalid",e),i=c=l=null;for(s in a)if(a.hasOwnProperty(s)&&(d=a[s],d!=null))switch(s){case"value":l=d;break;case"defaultValue":c=d;break;case"multiple":i=d;default:ya(e,r,s,d,a,null)}r=l,a=c,e.multiple=!!i,r!=null?tR(e,!!i,r,!1):a!=null&&tR(e,!!i,a,!0);return;case"textarea":wo("invalid",e),l=s=i=null;for(c in a)if(a.hasOwnProperty(c)&&(d=a[c],d!=null))switch(c){case"value":i=d;break;case"defaultValue":s=d;break;case"children":l=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(Ut(91));break;default:ya(e,r,c,d,a,null)}Aee(e,i,s,l);return;case"option":for(h in a)if(a.hasOwnProperty(h)&&(i=a[h],i!=null))switch(h){case"selected":e.selected=i&&typeof i!=="function"&&typeof i!=="symbol";break;default:ya(e,r,h,i,a,null)}return;case"dialog":wo("beforetoggle",e),wo("toggle",e),wo("cancel",e),wo("close",e);break;case"iframe":case"object":wo("load",e);break;case"video":case"audio":for(i=0;i<K2.length;i++)wo(K2[i],e);break;case"image":wo("error",e),wo("load",e);break;case"details":wo("toggle",e);break;case"embed":case"source":case"link":wo("error",e),wo("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(x in a)if(a.hasOwnProperty(x)&&(i=a[x],i!=null))switch(x){case"children":case"dangerouslySetInnerHTML":throw Error(Ut(137,r));default:ya(e,r,x,i,a,null)}return;default:if(Y7(r)){for(v in a)a.hasOwnProperty(v)&&(i=a[v],i!==void 0&&k7(e,r,v,i,a,void 0));return}}for(d in a)a.hasOwnProperty(d)&&(i=a[d],i!=null&&ya(e,r,d,i,a,null))}function Rze(e,r,a,i){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,l=null,c=null,d=null,h=null,x=null,v=null;for(b in a){var y=a[b];if(a.hasOwnProperty(b)&&y!=null)switch(b){case"checked":break;case"value":break;case"defaultValue":h=y;default:i.hasOwnProperty(b)||ya(e,r,b,null,i,y)}}for(var k in i){var b=i[k];if(y=a[k],i.hasOwnProperty(k)&&(b!=null||y!=null))switch(k){case"type":l=b;break;case"name":s=b;break;case"checked":x=b;break;case"defaultChecked":v=b;break;case"value":c=b;break;case"defaultValue":d=b;break;case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(Ut(137,r));break;default:b!==y&&ya(e,r,k,b,i,y)}}QU(e,c,d,h,x,v,l,s);return;case"select":b=c=d=k=null;for(l in a)if(h=a[l],a.hasOwnProperty(l)&&h!=null)switch(l){case"value":break;case"multiple":b=h;default:i.hasOwnProperty(l)||ya(e,r,l,null,i,h)}for(s in i)if(l=i[s],h=a[s],i.hasOwnProperty(s)&&(l!=null||h!=null))switch(s){case"value":k=l;break;case"defaultValue":d=l;break;case"multiple":c=l;default:l!==h&&ya(e,r,s,l,i,h)}r=d,a=c,i=b,k!=null?tR(e,!!a,k,!1):!!i!==!!a&&(r!=null?tR(e,!!a,r,!0):tR(e,!!a,a?[]:"",!1));return;case"textarea":b=k=null;for(d in a)if(s=a[d],a.hasOwnProperty(d)&&s!=null&&!i.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:ya(e,r,d,null,i,s)}for(c in i)if(s=i[c],l=a[c],i.hasOwnProperty(c)&&(s!=null||l!=null))switch(c){case"value":k=s;break;case"defaultValue":b=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(Ut(91));break;default:s!==l&&ya(e,r,c,s,i,l)}Tee(e,k,b);return;case"option":for(var T in a)if(k=a[T],a.hasOwnProperty(T)&&k!=null&&!i.hasOwnProperty(T))switch(T){case"selected":e.selected=!1;break;default:ya(e,r,T,null,i,k)}for(h in i)if(k=i[h],b=a[h],i.hasOwnProperty(h)&&k!==b&&(k!=null||b!=null))switch(h){case"selected":e.selected=k&&typeof k!=="function"&&typeof k!=="symbol";break;default:ya(e,r,h,k,i,b)}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 D in a)k=a[D],a.hasOwnProperty(D)&&k!=null&&!i.hasOwnProperty(D)&&ya(e,r,D,null,i,k);for(x in i)if(k=i[x],b=a[x],i.hasOwnProperty(x)&&k!==b&&(k!=null||b!=null))switch(x){case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(Ut(137,r));break;default:ya(e,r,x,k,i,b)}return;default:if(Y7(r)){for(var U in a)k=a[U],a.hasOwnProperty(U)&&k!==void 0&&!i.hasOwnProperty(U)&&k7(e,r,U,void 0,i,k);for(v in i)k=i[v],b=a[v],!i.hasOwnProperty(v)||k===b||k===void 0&&b===void 0||k7(e,r,v,k,i,b);return}}for(var A in a)k=a[A],a.hasOwnProperty(A)&&k!=null&&!i.hasOwnProperty(A)&&ya(e,r,A,null,i,k);for(y in i)k=i[y],b=a[y],!i.hasOwnProperty(y)||k===b||k==null&&b==null||ya(e,r,y,k,i,b)}function X$(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Pze(){if(typeof performance.getEntriesByType==="function"){for(var e=0,r=0,a=performance.getEntriesByType("resource"),i=0;i<a.length;i++){var s=a[i],{transferSize:l,initiatorType:c,duration:d}=s;if(l&&d&&X$(c)){c=0,d=s.responseEnd;for(i+=1;i<a.length;i++){var h=a[i],x=h.startTime;if(x>d)break;var v=h.transferSize,y=h.initiatorType;v&&X$(y)&&(h=h.responseEnd,c+=v*(h<d?1:(d-x)/(h-x)))}if(--i,r+=8*(l+c)/(s.duration/1000),e++,10<e)break}}if(0<e)return r/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==="number")?e:5}var C7=null,I7=null;function k4(e){return e.nodeType===9?e:e.ownerDocument}function Q$(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 Ore(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 R7(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 FU=null;function Tze(){var e=window.event;if(e&&e.type==="popstate"){if(e===FU)return!1;return FU=e,!0}return FU=null,!1}var Nre=typeof setTimeout==="function"?setTimeout:void 0,Aze=typeof clearTimeout==="function"?clearTimeout:void 0,J$=typeof Promise==="function"?Promise:void 0,Eze=typeof queueMicrotask==="function"?queueMicrotask:typeof J$<"u"?function(e){return J$.resolve(null).then(e).catch(Dze)}:Nre;function Dze(e){setTimeout(function(){throw e})}function N8(e){return e==="head"}function $$(e,r){var a=r,i=0;do{var s=a.nextSibling;if(e.removeChild(a),s&&s.nodeType===8)if(a=s.data,a==="/$"||a==="/&"){if(i===0){e.removeChild(s),gR(r);return}i--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")i++;else if(a==="html")F2(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,F2(a);for(var l=a.firstChild;l;){var c=l.nextSibling,d=l.nodeName;l[aD]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&l.rel.toLowerCase()==="stylesheet"||a.removeChild(l),l=c}}else a==="body"&&F2(e.ownerDocument.body);a=s}while(a);gR(r)}function eee(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 P7(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":P7(a),U7(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function Oze(e,r,a,i){for(;e.nodeType===1;){var s=a;if(e.nodeName.toLowerCase()!==r.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(!i)if(r==="input"&&e.type==="hidden"){var l=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===l)return e}else return e;else if(!e[aD])switch(r){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(l=e.getAttribute("rel"),l==="stylesheet"&&e.hasAttribute("data-precedence"))break;else if(l!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(l=e.getAttribute("src"),(l!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&l&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}if(e=xc(e.nextSibling),e===null)break}return null}function Nze(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=xc(e.nextSibling),e===null)return null}return e}function Fre(e,r){for(;e.nodeType!==8;){if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r)return null;if(e=xc(e.nextSibling),e===null)return null}return e}function T7(e){return e.data==="$?"||e.data==="$~"}function A7(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Fze(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 xc(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 E7=null;function tee(e){e=e.nextSibling;for(var r=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(r===0)return xc(e.nextSibling);r--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||r++}e=e.nextSibling}return null}function ree(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 jre(e,r,a){switch(r=k4(a),e){case"html":if(e=r.documentElement,!e)throw Error(Ut(452));return e;case"head":if(e=r.head,!e)throw Error(Ut(453));return e;case"body":if(e=r.body,!e)throw Error(Ut(454));return e;default:throw Error(Ut(451))}}function F2(e){for(var r=e.attributes;r.length;)e.removeAttributeNode(r[0]);U7(e)}var vc=new Map,oee=new Set;function C4(e){return typeof e.getRootNode==="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var KZ=Ho.d;Ho.d={f:jze,r:Bze,D:Uze,C:Yze,L:qze,m:Hze,X:Wze,S:Vze,M:Gze};function jze(){var e=KZ.f(),r=W4();return e||r}function Bze(e){var r=MR(e);r!==null&&r.tag===5&&r.type==="form"?Ete(r):KZ.r(e)}var yR=typeof document>"u"?null:document;function Bre(e,r,a){var i=yR;if(i&&typeof r==="string"&&r){var s=pc(r);s='link[rel="'+e+'"][href="'+s+'"]',typeof a==="string"&&(s+='[crossorigin="'+a+'"]'),oee.has(s)||(oee.add(s),e={rel:e,crossOrigin:a,href:r},i.querySelector(s)===null&&(r=i.createElement("link"),Mf(r,"link",e),Ni(r),i.head.appendChild(r)))}}function Uze(e){KZ.D(e),Bre("dns-prefetch",e,null)}function Yze(e,r){KZ.C(e,r),Bre("preconnect",e,r)}function qze(e,r,a){KZ.L(e,r,a);var i=yR;if(i&&e&&r){var s='link[rel="preload"][as="'+pc(r)+'"]';r==="image"?a&&a.imageSrcSet?(s+='[imagesrcset="'+pc(a.imageSrcSet)+'"]',typeof a.imageSizes==="string"&&(s+='[imagesizes="'+pc(a.imageSizes)+'"]')):s+='[href="'+pc(e)+'"]':s+='[href="'+pc(e)+'"]';var l=s;switch(r){case"style":l=hR(e);break;case"script":l=bR(e)}vc.has(l)||(e=vn({rel:"preload",href:r==="image"&&a&&a.imageSrcSet?void 0:e,as:r},a),vc.set(l,e),i.querySelector(s)!==null||r==="style"&&i.querySelector(cD(l))||r==="script"&&i.querySelector(uD(l))||(r=i.createElement("link"),Mf(r,"link",e),Ni(r),i.head.appendChild(r)))}}function Hze(e,r){KZ.m(e,r);var a=yR;if(a&&e){var i=r&&typeof r.as==="string"?r.as:"script",s='link[rel="modulepreload"][as="'+pc(i)+'"][href="'+pc(e)+'"]',l=s;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":l=bR(e)}if(!vc.has(l)&&(e=vn({rel:"modulepreload",href:e},r),vc.set(l,e),a.querySelector(s)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(uD(l)))return}i=a.createElement("link"),Mf(i,"link",e),Ni(i),a.head.appendChild(i)}}}function Vze(e,r,a){KZ.S(e,r,a);var i=yR;if(i&&e){var s=eR(i).hoistableStyles,l=hR(e);r=r||"default";var c=s.get(l);if(!c){var d={loading:0,preload:null};if(c=i.querySelector(cD(l)))d.loading=5;else{e=vn({rel:"stylesheet",href:e,"data-precedence":r},a),(a=vc.get(l))&&SY(e,a);var h=c=i.createElement("link");Ni(h),Mf(h,"link",e),h._p=new Promise(function(x,v){h.onload=x,h.onerror=v}),h.addEventListener("load",function(){d.loading|=1}),h.addEventListener("error",function(){d.loading|=2}),d.loading|=4,t4(c,r,i)}c={type:"stylesheet",instance:c,count:1,state:d},s.set(l,c)}}}function Wze(e,r){KZ.X(e,r);var a=yR;if(a&&e){var i=eR(a).hoistableScripts,s=bR(e),l=i.get(s);l||(l=a.querySelector(uD(s)),l||(e=vn({src:e,async:!0},r),(r=vc.get(s))&&LY(e,r),l=a.createElement("script"),Ni(l),Mf(l,"link",e),a.head.appendChild(l)),l={type:"script",instance:l,count:1,state:null},i.set(s,l))}}function Gze(e,r){KZ.M(e,r);var a=yR;if(a&&e){var i=eR(a).hoistableScripts,s=bR(e),l=i.get(s);l||(l=a.querySelector(uD(s)),l||(e=vn({src:e,async:!0,type:"module"},r),(r=vc.get(s))&&LY(e,r),l=a.createElement("script"),Ni(l),Mf(l,"link",e),a.head.appendChild(l)),l={type:"script",instance:l,count:1,state:null},i.set(s,l))}}function aee(e,r,a,i){var s=(s=S8.current)?C4(s):null;if(!s)throw Error(Ut(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence==="string"&&typeof a.href==="string"?(r=hR(a.href),a=eR(s).hoistableStyles,i=a.get(r),i||(i={type:"style",instance:null,count:0,state:null},a.set(r,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href==="string"&&typeof a.precedence==="string"){e=hR(a.href);var l=eR(s).hoistableStyles,c=l.get(e);if(c||(s=s.ownerDocument||s,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},l.set(e,c),(l=s.querySelector(cD(e)))&&!l._p&&(c.instance=l,c.state.loading=5),vc.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},vc.set(e,a),l||Kze(s,e,a,c.state))),r&&i===null)throw Error(Ut(528,""));return c}if(r&&i!==null)throw Error(Ut(529,""));return null;case"script":return r=a.async,a=a.src,typeof a==="string"&&r&&typeof r!=="function"&&typeof r!=="symbol"?(r=bR(a),a=eR(s).hoistableScripts,i=a.get(r),i||(i={type:"script",instance:null,count:0,state:null},a.set(r,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(Ut(444,e))}}function hR(e){return'href="'+pc(e)+'"'}function cD(e){return'link[rel="stylesheet"]['+e+"]"}function Ure(e){return vn({},e,{"data-precedence":e.precedence,precedence:null})}function Kze(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}),Mf(r,"link",a),Ni(r),e.head.appendChild(r))}function bR(e){return'[src="'+pc(e)+'"]'}function uD(e){return"script[async]"+e}function nee(e,r,a){if(r.count++,r.instance===null)switch(r.type){case"style":var i=e.querySelector('style[data-href~="'+pc(a.href)+'"]');if(i)return r.instance=i,Ni(i),i;var s=vn({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),Ni(i),Mf(i,"style",s),t4(i,a.precedence,e),r.instance=i;case"stylesheet":s=hR(a.href);var l=e.querySelector(cD(s));if(l)return r.state.loading|=4,r.instance=l,Ni(l),l;i=Ure(a),(s=vc.get(s))&&SY(i,s),l=(e.ownerDocument||e).createElement("link"),Ni(l);var c=l;return c._p=new Promise(function(d,h){c.onload=d,c.onerror=h}),Mf(l,"link",i),r.state.loading|=4,t4(l,a.precedence,e),r.instance=l;case"script":if(l=bR(a.src),s=e.querySelector(uD(l)))return r.instance=s,Ni(s),s;if(i=a,s=vc.get(l))i=vn({},a),LY(i,s);return e=e.ownerDocument||e,s=e.createElement("script"),Ni(s),Mf(s,"link",i),e.head.appendChild(s),r.instance=s;case"void":return null;default:throw Error(Ut(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(i=r.instance,r.state.loading|=4,t4(i,a.precedence,e));return r.instance}function t4(e,r,a){for(var i=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=i.length?i[i.length-1]:null,l=s,c=0;c<i.length;c++){var d=i[c];if(d.dataset.precedence===r)l=d;else if(l!==s)break}l?l.parentNode.insertBefore(e,l.nextSibling):(r=a.nodeType===9?a.head:a,r.insertBefore(e,r.firstChild))}function SY(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.title==null&&(e.title=r.title)}function LY(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.integrity==null&&(e.integrity=r.integrity)}var r4=null;function iee(e,r,a){if(r4===null){var i=new Map,s=r4=new Map;s.set(a,i)}else s=r4,i=s.get(a),i||(i=new Map,s.set(a,i));if(i.has(e))return i;i.set(e,null),a=a.getElementsByTagName(e);for(s=0;s<a.length;s++){var l=a[s];if(!(l[aD]||l[mf]||e==="link"&&l.getAttribute("rel")==="stylesheet")&&l.namespaceURI!=="http://www.w3.org/2000/svg"){var c=l.getAttribute(r)||"";c=e+c;var d=i.get(c);d?d.push(l):i.set(c,[l])}}return i}function fee(e,r,a){e=e.ownerDocument||e,e.head.insertBefore(a,r==="title"?e.querySelector("head > title"):null)}function Xze(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 Yre(e){return e.type==="stylesheet"&&(e.state.loading&3)===0?!1:!0}function Qze(e,r,a,i){if(a.type==="stylesheet"&&(typeof i.media!=="string"||matchMedia(i.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var s=hR(i.href),l=r.querySelector(cD(s));if(l){r=l._p,r!==null&&typeof r==="object"&&typeof r.then==="function"&&(e.count++,e=I4.bind(e),r.then(e,e)),a.state.loading|=4,a.instance=l,Ni(l);return}l=r.ownerDocument||r,i=Ure(i),(s=vc.get(s))&&SY(i,s),l=l.createElement("link"),Ni(l);var c=l;c._p=new Promise(function(d,h){c.onload=d,c.onerror=h}),Mf(l,"link",i),a.instance=l}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,r),(r=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=I4.bind(e),r.addEventListener("load",a),r.addEventListener("error",a))}}var jU=0;function Jze(e,r){return e.stylesheets&&e.count===0&&o4(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var i=setTimeout(function(){if(e.stylesheets&&o4(e,e.stylesheets),e.unsuspend){var l=e.unsuspend;e.unsuspend=null,l()}},60000+r);0<e.imgBytes&&jU===0&&(jU=62500*Pze());var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&o4(e,e.stylesheets),e.unsuspend)){var l=e.unsuspend;e.unsuspend=null,l()}},(e.imgBytes>jU?50:800)+r);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(s)}}:null}function I4(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)o4(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var R4=null;function o4(e,r){e.stylesheets=null,e.unsuspend!==null&&(e.count++,R4=new Map,r.forEach($ze,e),R4=null,I4.call(e))}function $ze(e,r){if(!(r.state.loading&4)){var a=R4.get(e);if(a)var i=a.get(null);else{a=new Map,R4.set(e,a);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),l=0;l<s.length;l++){var c=s[l];if(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")a.set(c.dataset.precedence,c),i=c}i&&a.set(null,i)}s=r.instance,c=s.getAttribute("data-precedence"),l=a.get(c)||i,l===i&&a.set(null,s),a.set(c,s),this.count++,i=I4.bind(this),s.addEventListener("load",i),s.addEventListener("error",i),l?l.parentNode.insertBefore(s,l.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),r.state.loading|=4}}var Q2={$$typeof:OZ,Provider:null,Consumer:null,_currentValue:Yz,_currentValue2:Yz,_threadCount:0};function eSe(e,r,a,i,s,l,c,d,h){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=ZU(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ZU(0),this.hiddenUpdates=ZU(null),this.identifierPrefix=i,this.onUncaughtError=s,this.onCaughtError=l,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=h,this.incompleteTransitions=new Map}function tSe(e,r,a,i,s,l,c,d,h,x,v,y){return e=new eSe(e,r,a,c,h,x,v,y,d),r=1,l===!0&&(r|=24),l=gl(3,null,null,r),e.current=l,l.stateNode=e,r=eY(),r.refCount++,e.pooledCache=r,r.refCount++,l.memoizedState={element:i,isDehydrated:a,cache:r},oY(l),e}function rSe(e){if(!e)return Xk;return e=Xk,e}function qre(e,r,a,i,s,l){s=rSe(s),i.context===null?i.context=s:i.pendingContext=s,i=Wz(r),i.payload={element:a},l=l===void 0?null:l,l!==null&&(i.callback=l),a=Gz(e,i,r),a!==null&&(Js(a,e,r),R2(a,e,r))}function see(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<r?a:r}}function kY(e,r){see(e,r),(e=e.alternate)&&see(e,r)}function Hre(e){if(e.tag===13||e.tag===31){var r=aL(e,67108864);r!==null&&Js(r,e,67108864),kY(e,67108864)}}function lee(e){if(e.tag===13||e.tag===31){var r=Mc();r=See(r);var a=aL(e,r);a!==null&&Js(a,e,r),kY(e,r)}}var P4=!0;function oSe(e,r,a,i){var s=Hr.T;Hr.T=null;var l=Ho.p;try{Ho.p=2,CY(e,r,a,i)}finally{Ho.p=l,Hr.T=s}}function aSe(e,r,a,i){var s=Hr.T;Hr.T=null;var l=Ho.p;try{Ho.p=8,CY(e,r,a,i)}finally{Ho.p=l,Hr.T=s}}function CY(e,r,a,i){if(P4){var s=D7(i);if(s===null)NU(e,r,i,T4,a),cee(e,i);else if(iSe(s,e,r,a,i))i.stopPropagation();else if(cee(e,i),r&4&&-1<nSe.indexOf(e)){for(;s!==null;){var l=MR(s);if(l!==null)switch(l.tag){case 3:if(l=l.stateNode,l.current.memoizedState.isDehydrated){var c=Fz(l.pendingLanes);if(c!==0){var d=l;d.pendingLanes|=2;for(d.entangledLanes|=2;c;){var h=1<<31-Gl(c);d.entanglements[1]|=h,c&=~h}GZ(l),(qo&6)===0&&(y4=Vl()+500,lD(0,!1))}}break;case 31:case 13:d=aL(l,2),d!==null&&Js(d,l,2),W4(),kY(l,2)}if(l=D7(i),l===null&&NU(e,r,i,T4,a),l===s)break;s=l}s!==null&&i.stopPropagation()}else NU(e,r,i,null,a)}}function D7(e){return e=q7(e),IY(e)}var T4=null;function IY(e){if(T4=null,e=qk(e),e!==null){var r=eD(e);if(r===null)e=null;else{var a=r.tag;if(a===13){if(e=pee(r),e!==null)return e;e=null}else if(a===31){if(e=mee(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 T4=e,null}function Vre(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(Bwe()){case xee:return 2;case vee:return 8;case s4:case Uwe:return 32;case _ee:return 268435456;default:return 32}default:return 32}}var O7=!1,I8=null,R8=null,P8=null,J2=new Map,$2=new Map,v8=[],nSe="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 cee(e,r){switch(e){case"focusin":case"focusout":I8=null;break;case"dragenter":case"dragleave":R8=null;break;case"mouseover":case"mouseout":P8=null;break;case"pointerover":case"pointerout":J2.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":$2.delete(r.pointerId)}}function g2(e,r,a,i,s,l){if(e===null||e.nativeEvent!==l)return e={blockedOn:r,domEventName:a,eventSystemFlags:i,nativeEvent:l,targetContainers:[s]},r!==null&&(r=MR(r),r!==null&&Hre(r)),e;return e.eventSystemFlags|=i,r=e.targetContainers,s!==null&&r.indexOf(s)===-1&&r.push(s),e}function iSe(e,r,a,i,s){switch(r){case"focusin":return I8=g2(I8,e,r,a,i,s),!0;case"dragenter":return R8=g2(R8,e,r,a,i,s),!0;case"mouseover":return P8=g2(P8,e,r,a,i,s),!0;case"pointerover":var l=s.pointerId;return J2.set(l,g2(J2.get(l)||null,e,r,a,i,s)),!0;case"gotpointercapture":return l=s.pointerId,$2.set(l,g2($2.get(l)||null,e,r,a,i,s)),!0}return!1}function Wre(e){var r=qk(e.target);if(r!==null){var a=eD(r);if(a!==null){if(r=a.tag,r===13){if(r=pee(a),r!==null){e.blockedOn=r,KJ(e.priority,function(){lee(a)});return}}else if(r===31){if(r=mee(a),r!==null){e.blockedOn=r,KJ(e.priority,function(){lee(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 a4(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var a=D7(e.nativeEvent);if(a===null){a=e.nativeEvent;var i=new a.constructor(a.type,a);$U=i,a.target.dispatchEvent(i),$U=null}else return r=MR(a),r!==null&&Hre(r),e.blockedOn=a,!1;r.shift()}return!0}function uee(e,r,a){a4(e)&&a.delete(r)}function fSe(){O7=!1,I8!==null&&a4(I8)&&(I8=null),R8!==null&&a4(R8)&&(R8=null),P8!==null&&a4(P8)&&(P8=null),J2.forEach(uee),$2.forEach(uee)}function B5(e,r){e.blockedOn===r&&(e.blockedOn=null,O7||(O7=!0,zs(Us,fSe)))}var U5=null;function dee(e){U5!==e&&(U5=e,zs(Us,function(){U5===e&&(U5=null);for(var r=0;r<e.length;r+=3){var a=e[r],i=e[r+1],s=e[r+2];if(typeof i!=="function")if(IY(i||a)===null)continue;else break;var l=MR(a);l!==null&&(e.splice(r,3),r-=3,m7(l,{pending:!0,data:s,method:a.method,action:i},i,s))}}))}function gR(e){function r(h){return B5(h,e)}I8!==null&&B5(I8,e),R8!==null&&B5(R8,e),P8!==null&&B5(P8,e),J2.forEach(r),$2.forEach(r);for(var a=0;a<v8.length;a++){var i=v8[a];i.blockedOn===e&&(i.blockedOn=null)}for(;0<v8.length&&(a=v8[0],a.blockedOn===null);)Wre(a),a.blockedOn===null&&v8.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var s=a[i],l=a[i+1],c=s[el]||null;if(typeof l==="function")c||dee(a);else if(c){var d=null;if(l&&l.hasAttribute("formAction")){if(s=l,c=l[el]||null)d=c.formAction;else if(IY(s)!==null)continue}else d=c.action;typeof d==="function"?a[i+1]=d:(a.splice(i,3),i-=3),dee(a)}}}function sSe(){function e(l){l.canIntercept&&l.info==="react-transition"&&l.intercept({handler:function(){return new Promise(function(c){return s=c})},focusReset:"manual",scroll:"manual"})}function r(){s!==null&&(s(),s=null),i||setTimeout(a,20)}function a(){if(!i&&!navigation.transition){var l=navigation.currentEntry;l&&l.url!=null&&navigation.navigate(l.url,{state:l.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var i=!1,s=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",r),navigation.addEventListener("navigateerror",r),setTimeout(a,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",r),navigation.removeEventListener("navigateerror",r),s!==null&&(s(),s=null)}}}function RY(e){this._internalRoot=e}PY.prototype.render=RY.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(Ut(409));var a=r.current,i=Mc();qre(a,i,e,r,null,null)};PY.prototype.unmount=RY.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;qre(e.current,2,null,e,null,null),W4(),r[oD]=null}};function PY(e){this._internalRoot=e}PY.prototype.unstable_scheduleHydration=function(e){if(e){var r=Lee();e={blockedOn:null,target:e,priority:r};for(var a=0;a<v8.length&&r!==0&&r<v8[a].priority;a++);v8.splice(a,0,e),a===0&&Wre(e)}};var Zee=Bs;if(Zee!=="19.2.8")throw Error(Ut(527,Zee,"19.2.8"));Ho.findDOMNode=function(e){var r=e._reactInternals;if(r===void 0){if(typeof e.render==="function")throw Error(Ut(188));throw e=Object.keys(e).join(","),Error(Ut(268,e))}return e=Awe(r),e=e!==null?hee(e):null,e=e===null?null:e.stateNode,e};var lSe={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:Hr,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){if(Bk=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Bk.isDisabled&&Bk.supportsFiber)try{tD=Bk.inject(lSe),Wl=Bk}catch(e){}}var Bk;var Gre=function(e,r){if(!Twe(e))throw Error(Ut(299));var a=!1,i="",s=aze,l=nze,c=ize;return r!==null&&r!==void 0&&(r.unstable_strictMode===!0&&(a=!0),r.identifierPrefix!==void 0&&(i=r.identifierPrefix),r.onUncaughtError!==void 0&&(s=r.onUncaughtError),r.onCaughtError!==void 0&&(l=r.onCaughtError),r.onRecoverableError!==void 0&&(c=r.onRecoverableError)),r=tSe(e,1,!1,null,null,a,i,null,s,l,c,sSe),e[oD]=r.current,Are(e),new RY(r)};Kre();E();var ZSe={theme:"system",setTheme:()=>null},Xre=mt(ZSe);function Qre({children:e,defaultTheme:r="system",storageKey:a="vite-ui-theme",...i}){let[s,l]=u(()=>localStorage.getItem(a)||r);m(()=>{let d=window.document.documentElement;if(d.classList.remove("light","dark"),s==="system"){let h=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";d.classList.add(h);return}d.classList.add(s)},[s]);let c={theme:s,setTheme:(d)=>{localStorage.setItem(a,d),l(d)}};return t(Xre.Provider,{...i,value:c,children:e})}var Jre=()=>{let e=vt(Xre);if(e===void 0)throw Error("useTheme must be used within a ThemeProvider");return e};var pSe=/^[\w!#$%&'*.^`|~+-]+$/;var mSe=(e,r,a={})=>{if(!pSe.test(e))throw Error("Invalid cookie name");let i=`${e}=${r}`;if(e.startsWith("__Secure-")&&!a.secure)throw Error("__Secure- Cookie must have Secure attributes");if(e.startsWith("__Host-")){if(!a.secure)throw Error("__Host- Cookie must have Secure attributes");if(a.path!=="/")throw Error('__Host- Cookie must have Path attributes with "/"');if(a.domain)throw Error("__Host- Cookie must not have Domain attributes")}for(let s of["domain","path","sameSite","priority"])if(a[s]&&/[;\r\n]/.test(a[s]))throw Error(`${s} must not contain ";", "\\r", or "\\n"`);if(a&&typeof a.maxAge==="number"&&a.maxAge>=0){if(a.maxAge>34560000)throw Error("Cookies Max-Age SHOULD NOT be greater than 400 days (34560000 seconds) in duration.");i+=`; Max-Age=${a.maxAge|0}`}if(a.domain&&a.prefix!=="host")i+=`; Domain=${a.domain}`;if(a.path)i+=`; Path=${a.path}`;if(a.expires){if(a.expires.getTime()-Date.now()>34560000000)throw Error("Cookies Expires SHOULD NOT be greater than 400 days (34560000 seconds) in the future.");i+=`; Expires=${a.expires.toUTCString()}`}if(a.httpOnly)i+="; HttpOnly";if(a.secure)i+="; Secure";if(a.sameSite)i+=`; SameSite=${a.sameSite.charAt(0).toUpperCase()+a.sameSite.slice(1)}`;if(a.priority)i+=`; Priority=${a.priority.charAt(0).toUpperCase()+a.priority.slice(1)}`;if(a.partitioned){if(!a.secure)throw Error("Partitioned Cookie must have Secure attributes");i+="; Partitioned"}return i},$re=(e,r,a)=>(r=encodeURIComponent(r),mSe(e,r,a));var eoe=(e,r)=>(e=e.replace(/\/+$/,""),e=e+"/",r=r.replace(/^\/+/,""),e+r),Q4=(e,r)=>{for(let[a,i]of Object.entries(r)){let s=new RegExp("/:"+a+"(?:{[^/]+})?\\??(?=/|$)");e=e.replace(s,()=>i?`/${i}`:"")}return e},toe=(e)=>{let r=new URLSearchParams;for(let[a,i]of Object.entries(e)){if(i===void 0)continue;if(Array.isArray(i))for(let s of i){if(s===void 0)continue;r.append(a,s)}else r.set(a,i)}return r},roe=(e,r)=>{switch(r){case"ws":return e.replace(/^http/,"ws");case"http":return e.replace(/^ws/,"http")}},TY=(e)=>{if(/^https?:\/\/[^\/]+?\/index(?=\?|$)/.test(e))return e.replace(/\/index(?=\?|$)/,"/");return e.replace(/\/index(?=\?|$)/,"")};function X4(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}function AY(e,r){if(!X4(e)&&!X4(r))return r;let a={...e};for(let i in r){let s=r[i];if(X4(a[i])&&X4(s))a[i]=AY(a[i],s);else a[i]=s}return a}var ooe=(e,r)=>new Proxy(()=>{},{get(i,s){if(typeof s!=="string"||s==="then")return;return ooe(e,[...r,s])},apply(i,s,l){return e({path:r,args:l})}}),aoe=(e,r)=>{let a=r.toString();return a?`${e}?${a}`:e},gSe=class{url;method;buildSearchParams;queryParams=void 0;pathParams={};rBody;cType=void 0;constructor(e,r,a){this.url=e,this.method=r,this.buildSearchParams=a.buildSearchParams}fetch=async(e,r)=>{if(e){if(e.query)this.queryParams=this.buildSearchParams(e.query);if(e.form){let d=new FormData;for(let[h,x]of Object.entries(e.form)){if(x===void 0)continue;if(Array.isArray(x))for(let v of x){if(v===void 0)continue;d.append(h,v)}else d.append(h,x)}this.rBody=d}if(e.json!==void 0)this.rBody=JSON.stringify(e.json),this.cType="application/json";if(e.param)this.pathParams=e.param}let a=this.method.toUpperCase(),i={...e?.header,...typeof r?.headers==="function"?await r.headers():r?.headers};if(e?.cookie){let d=[];for(let[h,x]of Object.entries(e.cookie)){if(x===void 0)continue;d.push($re(h,x))}if(d.length>0)i.Cookie=d.join("; ")}if(this.cType)i["Content-Type"]=this.cType;let s=new Headers;for(let[d,h]of Object.entries(i))if(h!==void 0)s.set(d,h);let l=this.url;if(l=TY(l),l=Q4(l,this.pathParams),this.queryParams)l=aoe(l,this.queryParams);a=this.method.toUpperCase();let c=!(a==="GET"||a==="HEAD");return(r?.fetch||fetch)(l,{body:c?this.rBody:void 0,method:a,headers:s,...r?.init})}},EY=(e,r)=>ooe(function a(i){let s=r?.buildSearchParams??toe,l=[...i.path],c=l.slice(-3).reverse();if(c[0]==="toString"){if(c[1]==="name")return c[2]||"";return a.toString()}if(c[0]==="valueOf"){if(c[1]==="name")return c[2]||"";return a}let d="";if(/^\$/.test(c[0])){let y=l.pop();if(y)d=y.replace(/^\$/,"")}let h=l.join("/"),x=eoe(e,h);if(d==="url"||d==="path"){let y=x;if(i.args[0]){if(i.args[0].param)y=Q4(x,i.args[0].param);if(i.args[0].query)y=aoe(y,s(i.args[0].query))}if(y=TY(y),d==="url")return new URL(y);return y.slice(e.replace(/\/+$/,"").length).replace(/^\/?/,"/")}if(d==="ws"){let y=roe(i.args[0]?.param?Q4(x,i.args[0].param):x,"ws"),k=new URL(y),b=i.args[0]?.query;if(b)s(b).forEach((U,A)=>{k.searchParams.append(A,U)});return((...D)=>{if(r?.webSocket!==void 0&&typeof r.webSocket==="function")return r.webSocket(...D);return new WebSocket(...D)})(k.toString())}let v=new gSe(x,d,{buildSearchParams:s});if(d){r??={};let y={...i.args[1]},k=r.headers,b=y.headers;if(k&&b)y.headers=async()=>({...typeof k==="function"?await k():k,...typeof b==="function"?await b():b});let T=AY(r,y);return v.fetch(i.args[0],T)}return v},[]);var noe=(e)=>{let r,a=new Set,i=(x,v)=>{let y=typeof x==="function"?x(r):x;if(!Object.is(y,r)){let k=r;r=(v!=null?v:typeof y!=="object"||y===null)?y:Object.assign({},r,y),a.forEach((b)=>b(r,k))}},s=()=>r,d={setState:i,getState:s,getInitialState:()=>h,subscribe:(x)=>(a.add(x),()=>a.delete(x))},h=r=e(i,s,d);return d},ioe=(e)=>e?noe(e):noe;E();var MSe=(e)=>e;function xSe(e,r=MSe){let a=ro(e.subscribe,P(()=>r(e.getState()),[e,r]),P(()=>r(e.getInitialState()),[e,r]));return hi(a),a}var foe=(e)=>{let r=ioe(e),a=(i)=>xSe(r,i);return Object.assign(a,r),a},Nr=(e)=>e?foe(e):foe;var soe=(e)=>!!e.dispatchFromDevtools&&typeof e.dispatch==="function",dD=new Map,J4=(e)=>{let r=dD.get(e);if(!r)return{};return Object.fromEntries(Object.entries(r.stores).map(([a,i])=>[a,i.getState()]))},vSe=(e,r,a)=>{if(e===void 0)return{type:"untracked",connection:r.connect(a)};let i=dD.get(a.name);if(i)return{type:"tracked",store:e,...i};let s={connection:r.connect(a),stores:{}};return dD.set(a.name,s),{type:"tracked",store:e,...s}},_Se=(e,r)=>{if(r===void 0)return;let a=dD.get(e);if(!a)return;if(delete a.stores[r],Object.keys(a.stores).length===0)dD.delete(e)},ySe=/^at (?:new |async )?(.+?) \(/,bSe=/^([^@]+)@/;function wSe(e){var r,a,i;if(!e)return;let s=e.split(`
|
|
11
|
-
`),l=s.findIndex((d)=>d.includes("api.setState"));if(l<0)return;let c=((r=s[l+1])==null?void 0:r.trim())||"";return((a=ySe.exec(c))==null?void 0:a[1])||((i=bSe.exec(c))==null?void 0:i[1])}var zSe=(e,r={})=>(a,i,s)=>{let{enabled:l,anonymousActionType:c,store:d,...h}=r,x;try{x=(l!=null?l:(import.meta.env?import.meta.env.MODE:void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(D){}if(!x)return e(a,i,s);let{connection:v,...y}=vSe(d,x,h),k=!0;s.setState=(D,U,A)=>{let j=a(D,U);if(!k)return j;let V=A===void 0?{type:c||wSe(Error().stack)||"anonymous"}:typeof A==="string"?{type:A}:A;if(d===void 0)return v==null||v.send(V,i()),j;return v==null||v.send({...V,type:`${d}/${V.type}`},{...J4(h.name),[d]:s.getState()}),j},s.devtools={cleanup:()=>{if(v&&typeof v.unsubscribe==="function")v.unsubscribe();_Se(h.name,d)}};let b=(...D)=>{let U=k;k=!1,a(...D),k=U},T=e(s.setState,i,s);if(y.type==="untracked")v==null||v.init(T);else y.stores[y.store]=s,v==null||v.init(Object.fromEntries(Object.entries(y.stores).map(([D,U])=>[D,D===y.store?T:U.getState()])));if(soe(s)){let D=!1,U=s.dispatch;s.dispatch=(...A)=>{if((import.meta.env?import.meta.env.MODE:void 0)!=="production"&&A[0].type==="__setState"&&!D)console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),D=!0;U(...A)}}return v.subscribe((D)=>{var U;switch(D.type){case"ACTION":if(typeof D.payload!=="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return DY(D.payload,(A)=>{if(A.type==="__setState"){if(d===void 0){b(A.state);return}if(Object.keys(A.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 j=A.state[d];if(j===void 0||j===null)return;if(JSON.stringify(s.getState())!==JSON.stringify(j))b(j);return}if(soe(s))s.dispatch(A)});case"DISPATCH":switch(D.payload.type){case"RESET":if(b(T),d===void 0)return v==null?void 0:v.init(s.getState());return v==null?void 0:v.init(J4(h.name));case"COMMIT":if(d===void 0){v==null||v.init(s.getState());return}return v==null?void 0:v.init(J4(h.name));case"ROLLBACK":return DY(D.state,(A)=>{if(d===void 0){b(A),v==null||v.init(s.getState());return}b(A[d]),v==null||v.init(J4(h.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return DY(D.state,(A)=>{if(d===void 0){b(A);return}if(JSON.stringify(s.getState())!==JSON.stringify(A[d]))b(A[d])});case"IMPORT_STATE":{let{nextLiftedState:A}=D.payload,j=(U=A.computedStates.slice(-1)[0])==null?void 0:U.state;if(!j)return;if(d===void 0)b(j);else b(j[d]);v==null||v.send(null,A);return}case"PAUSE_RECORDING":return k=!k}return}}),T},loe=zSe,DY=(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 iL(e,r){let a;try{a=e()}catch(s){return}return{getItem:(s)=>{var l;let c=(h)=>{if(h===null)return null;return JSON.parse(h,r==null?void 0:r.reviver)},d=(l=a.getItem(s))!=null?l:null;if(d instanceof Promise)return d.then(c);return c(d)},setItem:(s,l)=>a.setItem(s,JSON.stringify(l,r==null?void 0:r.replacer)),removeItem:(s)=>a.removeItem(s)}}var OY=(e)=>(r)=>{try{let a=e(r);if(a instanceof Promise)return a;return{then(i){return OY(i)(a)},catch(i){return this}}}catch(a){return{then(i){return this},catch(i){return OY(i)(a)}}}},SSe=(e,r)=>(a,i,s)=>{let l={storage:iL(()=>window.localStorage),partialize:(U)=>U,version:0,merge:(U,A)=>({...A,...U}),...r},c=!1,d=0,h=new Set,x=new Set,v=l.storage;if(!v)return e((...U)=>{console.warn(`[zustand persist middleware] Unable to update item '${l.name}', the given storage is currently unavailable.`),a(...U)},i,s);let y=()=>{let U=l.partialize({...i()});return v.setItem(l.name,{state:U,version:l.version})},k=s.setState;s.setState=(U,A)=>(k(U,A),y());let b=e((...U)=>(a(...U),y()),i,s);s.getInitialState=()=>b;let T,D=()=>{var U,A;if(!v)return;let j=++d;c=!1,h.forEach((J)=>{var ee;return J((ee=i())!=null?ee:b)});let V=((A=l.onRehydrateStorage)==null?void 0:A.call(l,(U=i())!=null?U:b))||void 0;return OY(v.getItem.bind(v))(l.name).then((J)=>{if(J)if(typeof J.version==="number"&&J.version!==l.version){if(l.migrate){let ee=l.migrate(J.state,J.version);if(ee instanceof Promise)return ee.then((te)=>[!0,te]);return[!0,ee]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,J.state];return[!1,void 0]}).then((J)=>{var ee;if(j!==d)return;let[te,re]=J;if(T=l.merge(re,(ee=i())!=null?ee:b),a(T,!0),te)return y()}).then(()=>{if(j!==d)return;V==null||V(i(),void 0),T=i(),c=!0,x.forEach((J)=>J(T))}).catch((J)=>{if(j!==d)return;V==null||V(void 0,J)})};if(s.persist={setOptions:(U)=>{if(l={...l,...U},U.storage)v=U.storage},clearStorage:()=>{++d,v==null||v.removeItem(l.name)},getOptions:()=>l,rehydrate:()=>D(),hasHydrated:()=>c,onHydrate:(U)=>(h.add(U),()=>{h.delete(U)}),onFinishHydration:(U)=>(x.add(U),()=>{x.delete(U)})},!l.skipHydration)D();return T||b},wR=SSe;var ji=Nr()(wR((e)=>({user:null,setUser:(r)=>e({user:r}),clearAuth:()=>e({user:null})}),{name:"auth-storage",storage:iL(()=>localStorage)}));var LSe=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.includes("/reset-password")&&!window.location.pathname.startsWith("/share/")&&!i.includes("/api/auth")&&!i.includes("/api/authn"))ji.getState().clearAuth(),window.location.href="/login"}return a},g=EY("/",{fetch:LSe,init:{credentials:"include"}});E();var $4=(...e)=>e.filter((r,a,i)=>Boolean(r)&&r.trim()!==""&&i.indexOf(r)===a).join(" ").trim();var coe=(e)=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();var uoe=(e)=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,a,i)=>i?i.toUpperCase():a.toLowerCase());var NY=(e)=>{let r=uoe(e);return r.charAt(0).toUpperCase()+r.slice(1)};E();var eF={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 doe=(e)=>{for(let r in e)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};E();var kSe=mt({});var Zoe=()=>vt(kSe);var poe=F(({color:e,size:r,strokeWidth:a,absoluteStrokeWidth:i,className:s="",children:l,iconNode:c,...d},h)=>{let{size:x=24,strokeWidth:v=2,absoluteStrokeWidth:y=!1,color:k="currentColor",className:b=""}=Zoe()??{},T=i??y?Number(a??v)*24/Number(r??x):a??v;return q("svg",{ref:h,...eF,width:r??x??eF.width,height:r??x??eF.height,stroke:e??k,strokeWidth:T,className:$4("lucide",b,s),...!l&&!doe(d)&&{"aria-hidden":"true"},...d},[...c.map(([D,U])=>q(D,U)),...Array.isArray(l)?l:[l]])});var I=(e,r)=>{let a=F(({className:i,...s},l)=>q(poe,{ref:l,iconNode:r,className:$4(`lucide-${coe(NY(e))}`,`lucide-${e}`,i),...s}));return a.displayName=NY(e),a};var CSe=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],ir=I("circle-check",CSe);var ISe=[["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"}]],$n=I("cloud-upload",ISe);var RSe=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],F8=I("columns-2",RSe);var PSe=[["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"}]],Er=I("ellipsis-vertical",PSe);var TSe=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],rr=I("ellipsis",TSe);var ASe=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],O=I("loader-circle",ASe);var ESe=[["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"}]],j8=I("octagon-x",ESe);var DSe=[["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"}]],On=I("rotate-ccw-clock",DSe);var OSe=[["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"}]],Fo=I("square-kanban",OSe);var NSe=[["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"}]],Xr=I("square-pen",NSe);var FSe=[["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"}]],Dr=I("triangle-alert",FSe);var jSe=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],oo=I("arrow-right",jSe);var BSe=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],ea=I("arrow-up",BSe);var USe=[["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"}]],ta=I("bookmark",USe);var YSe=[["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"}]],Mt=I("bot",YSe);var qSe=[["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"}]],Gn=I("calendar",qSe);var HSe=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],ZD=I("check-check",HSe);var VSe=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Me=I("check",VSe);var WSe=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ve=I("chevron-down",WSe);var GSe=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],an=I("chevron-left",GSe);var KSe=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],It=I("chevron-right",KSe);var XSe=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Ma=I("chevron-up",XSe);var QSe=[["path",{d:"m7 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]],fL=I("chevrons-down-up",QSe);var JSe=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],sL=I("chevrons-up-down",JSe);var $Se=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],pD=I("circle",$Se);var eLe=[["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"}]],mD=I("clapperboard",eLe);var tLe=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],Qt=I("clock",tLe);var rLe=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],wt=I("download",rLe);var oLe=[["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"}]],ln=I("file-text",oLe);var aLe=[["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"}]],ar=I("file",aLe);var nLe=[["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"}]],ka=I("files",nLe);var iLe=[["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"}]],js=I("folder-clock",iLe);var fLe=[["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"}]],lr=I("folder",fLe);var sLe=[["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"}]],qs=I("grip-vertical",sLe);var lLe=[["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"}]],so=I("image",lLe);var cLe=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Vn=I("info",cLe);var uLe=[["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"}]],io=I("layout-grid",uLe);var dLe=[["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"}]],Hs=I("link-2",dLe);var ZLe=[["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"}]],Lo=I("list",ZLe);var pLe=[["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"}]],cn=I("lock",pLe);var mLe=[["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"}]],hD=I("log-in",mLe);var hLe=[["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"}]],gi=I("mail",hLe);var gLe=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],XZ=I("menu",gLe);var MLe=[["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"}]],Eo=I("message-square",MLe);var xLe=[["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"}]],Ra=I("paperclip",xLe);var vLe=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],pe=I("plus",vLe);var _Le=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],zt=I("search",_Le);var yLe=[["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"}]],Pa=I("share-2",yLe);var bLe=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],Co=I("target",bLe);var wLe=[["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",wLe);var zLe=[["path",{d:"m16 11 2 2 4-4",key:"9rsbq5"}],["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"}]],Jo=I("user-check",zLe);var SLe=[["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"}]],gD=I("user-plus",SLe);var LLe=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ne=I("x",LLe);E();var zR=Nr((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 Yae(e){var r,a,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(r=0;r<s;r++)e[r]&&(a=Yae(e[r]))&&(i&&(i+=" "),i+=a)}else for(a in e)e[a]&&(i&&(i+=" "),i+=a);return i}function tF(){for(var e,r,a=0,i="",s=arguments.length;a<s;a++)(e=arguments[a])&&(r=Yae(e))&&(i&&(i+=" "),i+=r);return i}var kLe=(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},CLe=(e,r)=>({classGroupId:e,validator:r}),Kae=(e=new Map,r=null,a)=>({nextPart:e,validators:r,classGroupId:a});var qae=[];var ILe=(e)=>{let r=PLe(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:(c)=>{if(c.startsWith("[")&&c.endsWith("]"))return RLe(c);let d=c.split("-"),h=d[0]===""&&d.length>1?1:0;return Xae(d,h,r)},getConflictingClassGroupIds:(c,d)=>{if(d){let h=i[c],x=a[c];if(h){if(x)return kLe(x,h);return h}return x||qae}return a[c]||qae}}},Xae=(e,r,a)=>{if(e.length-r===0)return a.classGroupId;let s=e[r],l=a.nextPart.get(s);if(l){let x=Xae(e,r+1,l);if(x)return x}let c=a.validators;if(c===null)return;let d=r===0?e.join("-"):e.slice(r).join("-"),h=c.length;for(let x=0;x<h;x++){let v=c[x];if(v.validator(d))return v.classGroupId}return},RLe=(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})(),PLe=(e)=>{let{theme:r,classGroups:a}=e;return TLe(a,r)},TLe=(e,r)=>{let a=Kae();for(let i in e){let s=e[i];jY(s,a,i,r)}return a},jY=(e,r,a,i)=>{let s=e.length;for(let l=0;l<s;l++){let c=e[l];ALe(c,r,a,i)}},ALe=(e,r,a,i)=>{if(typeof e==="string"){ELe(e,r,a);return}if(typeof e==="function"){DLe(e,r,a,i);return}OLe(e,r,a,i)},ELe=(e,r,a)=>{let i=e===""?r:Qae(r,e);i.classGroupId=a},DLe=(e,r,a,i)=>{if(NLe(e)){jY(e(i),r,a,i);return}if(r.validators===null)r.validators=[];r.validators.push(CLe(a,e))},OLe=(e,r,a,i)=>{let s=Object.entries(e),l=s.length;for(let c=0;c<l;c++){let[d,h]=s[c];jY(h,Qae(r,d),a,i)}},Qae=(e,r)=>{let a=e,i=r.split("-"),s=i.length;for(let l=0;l<s;l++){let c=i[l],d=a.nextPart.get(c);if(!d)d=Kae(),a.nextPart.set(c,d);a=d}return a},NLe=(e)=>("isThemeGetter"in e)&&e.isThemeGetter===!0,FLe=(e)=>{if(e<1)return{get:()=>{return},set:()=>{}};let r=0,a=Object.create(null),i=Object.create(null),s=(l,c)=>{if(a[l]=c,r++,r>e)r=0,i=a,a=Object.create(null)};return{get(l){let c=a[l];if(c!==void 0)return c;if((c=i[l])!==void 0)return s(l,c),c},set(l,c){if(l in a)a[l]=c;else s(l,c)}}};var jLe=[],Hae=(e,r,a,i,s)=>({modifiers:e,hasImportantModifier:r,baseClassName:a,maybePostfixModifierPosition:i,isExternal:s}),BLe=(e)=>{let{prefix:r,experimentalParseClassName:a}=e,i=(s)=>{let l=[],c=0,d=0,h=0,x,v=s.length;for(let D=0;D<v;D++){let U=s[D];if(c===0&&d===0){if(U===":"){l.push(s.slice(h,D)),h=D+1;continue}if(U==="/"){x=D;continue}}if(U==="[")c++;else if(U==="]")c--;else if(U==="(")d++;else if(U===")")d--}let y=l.length===0?s:s.slice(h),k=y,b=!1;if(y.endsWith("!"))k=y.slice(0,-1),b=!0;else if(y.startsWith("!"))k=y.slice(1),b=!0;let T=x&&x>h?x-h:void 0;return Hae(l,b,k,T)};if(r){let s=r+":",l=i;i=(c)=>c.startsWith(s)?l(c.slice(s.length)):Hae(jLe,!1,c,void 0,!0)}if(a){let s=i;i=(l)=>a({className:l,parseClassName:s})}return i},ULe=(e)=>{let r=new Map;return e.orderSensitiveModifiers.forEach((a,i)=>{r.set(a,1e6+i)}),(a)=>{let i=[],s=[];for(let l=0;l<a.length;l++){let c=a[l],d=c[0]==="[",h=r.has(c);if(d||h){if(s.length>0)s.sort(),i.push(...s),s=[];i.push(c)}else s.push(c)}if(s.length>0)s.sort(),i.push(...s);return i}},YLe=(e)=>({cache:FLe(e.cacheSize),parseClassName:BLe(e),sortModifiers:ULe(e),postfixLookupClassGroupIds:qLe(e),...ILe(e)}),qLe=(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},HLe=/\s+/,VLe=(e,r)=>{let{parseClassName:a,getClassGroupId:i,getConflictingClassGroupIds:s,sortModifiers:l,postfixLookupClassGroupIds:c}=r,d=[],h=e.trim().split(HLe),x="";for(let v=h.length-1;v>=0;v-=1){let y=h[v],{isExternal:k,modifiers:b,hasImportantModifier:T,baseClassName:D,maybePostfixModifierPosition:U}=a(y);if(k){x=y+(x.length>0?" "+x:x);continue}let A=!!U,j;if(A){let re=D.substring(0,U);j=i(re);let ae=j&&c[j]?i(D):void 0;if(ae&&ae!==j)j=ae,A=!1}else j=i(D);if(!j){if(!A){x=y+(x.length>0?" "+x:x);continue}if(j=i(D),!j){x=y+(x.length>0?" "+x:x);continue}A=!1}let V=b.length===0?"":b.length===1?b[0]:l(b).join(":"),J=T?V+"!":V,ee=J+j;if(d.indexOf(ee)>-1)continue;d.push(ee);let te=s(j,A);for(let re=0;re<te.length;++re){let ae=te[re];d.push(J+ae)}x=y+(x.length>0?" "+x:x)}return x},WLe=(...e)=>{let r=0,a,i,s="";while(r<e.length)if(a=e[r++]){if(i=Jae(a))s&&(s+=" "),s+=i}return s},Jae=(e)=>{if(typeof e==="string")return e;let r,a="";for(let i=0;i<e.length;i++)if(e[i]){if(r=Jae(e[i]))a&&(a+=" "),a+=r}return a},GLe=(e,...r)=>{let a,i,s,l,c=(h)=>{let x=r.reduce((v,y)=>y(v),e());return a=YLe(x),i=a.cache.get,s=a.cache.set,l=d,d(h)},d=(h)=>{let x=i(h);if(x)return x;let v=VLe(h,a);return s(h,v),v};return l=c,(...h)=>l(WLe(...h))},KLe=[],ki=(e)=>{let r=(a)=>a[e]||KLe;return r.isThemeGetter=!0,r},$ae=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ene=/^\((?:(\w[\w-]*):)?(.+)\)$/i,XLe=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,QLe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,JLe=/\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$/,$Le=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,eke=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,tke=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Y8=(e)=>XLe.test(e),_o=(e)=>!!e&&!Number.isNaN(Number(e)),nZ=(e)=>!!e&&Number.isInteger(Number(e)),FY=(e)=>e.endsWith("%")&&_o(e.slice(0,-1)),QZ=(e)=>QLe.test(e),tne=()=>!0,rke=(e)=>JLe.test(e)&&!$Le.test(e),BY=()=>!1,oke=(e)=>eke.test(e),ake=(e)=>tke.test(e),nke=(e)=>!vr(e)&&!kr(e),ike=(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)),fke=(e)=>q8(e,ane,BY),vr=(e)=>$ae.test(e),lL=(e)=>q8(e,nne,rke),Vae=(e)=>q8(e,mke,_o),ske=(e)=>q8(e,fne,tne),lke=(e)=>q8(e,ine,BY),Wae=(e)=>q8(e,rne,BY),cke=(e)=>q8(e,one,ake),rF=(e)=>q8(e,sne,oke),kr=(e)=>ene.test(e),CD=(e)=>cL(e,nne),uke=(e)=>cL(e,ine),Gae=(e)=>cL(e,rne),dke=(e)=>cL(e,ane),Zke=(e)=>cL(e,one),oF=(e)=>cL(e,sne,!0),pke=(e)=>cL(e,fne,!0),q8=(e,r,a)=>{let i=$ae.exec(e);if(i){if(i[1])return r(i[1]);return a(i[2])}return!1},cL=(e,r,a=!1)=>{let i=ene.exec(e);if(i){if(i[1])return r(i[1]);return a}return!1},rne=(e)=>e==="position"||e==="percentage",one=(e)=>e==="image"||e==="url",ane=(e)=>e==="length"||e==="size"||e==="bg-size",nne=(e)=>e==="length",mke=(e)=>e==="number",ine=(e)=>e==="family-name",fne=(e)=>e==="number"||e==="weight",sne=(e)=>e==="shadow";var hke=()=>{let e=ki("color"),r=ki("font"),a=ki("text"),i=ki("font-weight"),s=ki("tracking"),l=ki("leading"),c=ki("breakpoint"),d=ki("container"),h=ki("spacing"),x=ki("radius"),v=ki("shadow"),y=ki("inset-shadow"),k=ki("text-shadow"),b=ki("drop-shadow"),T=ki("blur"),D=ki("perspective"),U=ki("aspect"),A=ki("ease"),j=ki("animate"),V=()=>["auto","avoid","all","avoid-page","page","left","right","column"],J=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],ee=()=>[...J(),kr,vr],te=()=>["auto","hidden","clip","visible","scroll"],re=()=>["auto","contain","none"],ae=()=>[kr,vr,h],he=()=>[Y8,"full","auto",...ae()],be=()=>[nZ,"none","subgrid",kr,vr],Qe=()=>["auto",{span:["full",nZ,kr,vr]},nZ,kr,vr],Ye=()=>[nZ,"auto",kr,vr],Se=()=>["auto","min","max","fr",kr,vr],Ge=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],rt=()=>["start","end","center","stretch","center-safe","end-safe"],tt=()=>["auto",...ae()],bt=()=>[Y8,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...ae()],jt=()=>[Y8,"screen","full","dvw","lvw","svw","min","max","fit",...ae()],qt=()=>[Y8,"screen","full","lh","dvh","lvh","svh","min","max","fit",...ae()],se=()=>[e,kr,vr],St=()=>[...J(),Gae,Wae,{position:[kr,vr]}],Ht=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Oe=()=>["auto","cover","contain",dke,fke,{size:[kr,vr]}],nr=()=>[FY,CD,lL],fr=()=>["","none","full",x,kr,vr],er=()=>["",_o,CD,lL],Ur=()=>["solid","dashed","dotted","double"],Vt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Xt=()=>[_o,FY,Gae,Wae],Pr=()=>["","none",T,kr,vr],zr=()=>["none",_o,kr,vr],Ar=()=>["none",_o,kr,vr],hr=()=>[_o,kr,vr],go=()=>[Y8,"full",...ae()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[QZ],breakpoint:[QZ],color:[tne],container:[QZ],"drop-shadow":[QZ],ease:["in","out","in-out"],font:[nke],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[QZ],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[QZ],shadow:[QZ],spacing:["px",_o],text:[QZ],"text-shadow":[QZ],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Y8,vr,kr,U]}],container:["container"],"container-type":[{"@container":["","normal","size",kr,vr]}],"container-named":[ike],columns:[{columns:[_o,vr,kr,d]}],"break-after":[{"break-after":V()}],"break-before":[{"break-before":V()}],"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:ee()}],overflow:[{overflow:te()}],"overflow-x":[{"overflow-x":te()}],"overflow-y":[{"overflow-y":te()}],overscroll:[{overscroll:re()}],"overscroll-x":[{"overscroll-x":re()}],"overscroll-y":[{"overscroll-y":re()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:he()}],"inset-x":[{"inset-x":he()}],"inset-y":[{"inset-y":he()}],start:[{"inset-s":he(),start:he()}],end:[{"inset-e":he(),end:he()}],"inset-bs":[{"inset-bs":he()}],"inset-be":[{"inset-be":he()}],top:[{top:he()}],right:[{right:he()}],bottom:[{bottom:he()}],left:[{left:he()}],visibility:["visible","invisible","collapse"],z:[{z:[nZ,"auto",kr,vr]}],basis:[{basis:[Y8,"full","auto",d,...ae()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[_o,Y8,"auto","initial","none",vr]}],grow:[{grow:["",_o,kr,vr]}],shrink:[{shrink:["",_o,kr,vr]}],order:[{order:[nZ,"first","last","none",kr,vr]}],"grid-cols":[{"grid-cols":be()}],"col-start-end":[{col:Qe()}],"col-start":[{"col-start":Ye()}],"col-end":[{"col-end":Ye()}],"grid-rows":[{"grid-rows":be()}],"row-start-end":[{row:Qe()}],"row-start":[{"row-start":Ye()}],"row-end":[{"row-end":Ye()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Se()}],"auto-rows":[{"auto-rows":Se()}],gap:[{gap:ae()}],"gap-x":[{"gap-x":ae()}],"gap-y":[{"gap-y":ae()}],"justify-content":[{justify:[...Ge(),"normal"]}],"justify-items":[{"justify-items":[...rt(),"normal"]}],"justify-self":[{"justify-self":["auto",...rt()]}],"align-content":[{content:["normal",...Ge()]}],"align-items":[{items:[...rt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...rt(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ge()}],"place-items":[{"place-items":[...rt(),"baseline"]}],"place-self":[{"place-self":["auto",...rt()]}],p:[{p:ae()}],px:[{px:ae()}],py:[{py:ae()}],ps:[{ps:ae()}],pe:[{pe:ae()}],pbs:[{pbs:ae()}],pbe:[{pbe:ae()}],pt:[{pt:ae()}],pr:[{pr:ae()}],pb:[{pb:ae()}],pl:[{pl:ae()}],m:[{m:tt()}],mx:[{mx:tt()}],my:[{my:tt()}],ms:[{ms:tt()}],me:[{me:tt()}],mbs:[{mbs:tt()}],mbe:[{mbe:tt()}],mt:[{mt:tt()}],mr:[{mr:tt()}],mb:[{mb:tt()}],ml:[{ml:tt()}],"space-x":[{"space-x":ae()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":ae()}],"space-y-reverse":["space-y-reverse"],size:[{size:bt()}],"inline-size":[{inline:["auto",...jt()]}],"min-inline-size":[{"min-inline":["auto",...jt()]}],"max-inline-size":[{"max-inline":["none",...jt()]}],"block-size":[{block:["auto",...qt()]}],"min-block-size":[{"min-block":["auto",...qt()]}],"max-block-size":[{"max-block":["none",...qt()]}],w:[{w:[d,"screen",...bt()]}],"min-w":[{"min-w":[d,"screen","none",...bt()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[c]},...bt()]}],h:[{h:["screen","lh",...bt()]}],"min-h":[{"min-h":["screen","lh","none",...bt()]}],"max-h":[{"max-h":["screen","lh",...bt()]}],"font-size":[{text:["base",a,CD,lL]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,pke,ske]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",FY,vr]}],"font-family":[{font:[uke,lke,r]}],"font-features":[{"font-features":[vr]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,kr,vr]}],"line-clamp":[{"line-clamp":[_o,"none",kr,Vae]}],leading:[{leading:[l,...ae()]}],"list-image":[{"list-image":["none",kr,vr]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",kr,vr]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:se()}],"text-color":[{text:se()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ur(),"wavy"]}],"text-decoration-thickness":[{decoration:[_o,"from-font","auto",kr,lL]}],"text-decoration-color":[{decoration:se()}],"underline-offset":[{"underline-offset":[_o,"auto",kr,vr]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ae()}],"tab-size":[{tab:[nZ,kr,vr]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",kr,vr]}],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",kr,vr]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:St()}],"bg-repeat":[{bg:Ht()}],"bg-size":[{bg:Oe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},nZ,kr,vr],radial:["",kr,vr],conic:[nZ,kr,vr]},Zke,cke]}],"bg-color":[{bg:se()}],"gradient-from-pos":[{from:nr()}],"gradient-via-pos":[{via:nr()}],"gradient-to-pos":[{to:nr()}],"gradient-from":[{from:se()}],"gradient-via":[{via:se()}],"gradient-to":[{to:se()}],rounded:[{rounded:fr()}],"rounded-s":[{"rounded-s":fr()}],"rounded-e":[{"rounded-e":fr()}],"rounded-t":[{"rounded-t":fr()}],"rounded-r":[{"rounded-r":fr()}],"rounded-b":[{"rounded-b":fr()}],"rounded-l":[{"rounded-l":fr()}],"rounded-ss":[{"rounded-ss":fr()}],"rounded-se":[{"rounded-se":fr()}],"rounded-ee":[{"rounded-ee":fr()}],"rounded-es":[{"rounded-es":fr()}],"rounded-tl":[{"rounded-tl":fr()}],"rounded-tr":[{"rounded-tr":fr()}],"rounded-br":[{"rounded-br":fr()}],"rounded-bl":[{"rounded-bl":fr()}],"border-w":[{border:er()}],"border-w-x":[{"border-x":er()}],"border-w-y":[{"border-y":er()}],"border-w-s":[{"border-s":er()}],"border-w-e":[{"border-e":er()}],"border-w-bs":[{"border-bs":er()}],"border-w-be":[{"border-be":er()}],"border-w-t":[{"border-t":er()}],"border-w-r":[{"border-r":er()}],"border-w-b":[{"border-b":er()}],"border-w-l":[{"border-l":er()}],"divide-x":[{"divide-x":er()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":er()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Ur(),"hidden","none"]}],"divide-style":[{divide:[...Ur(),"hidden","none"]}],"border-color":[{border:se()}],"border-color-x":[{"border-x":se()}],"border-color-y":[{"border-y":se()}],"border-color-s":[{"border-s":se()}],"border-color-e":[{"border-e":se()}],"border-color-bs":[{"border-bs":se()}],"border-color-be":[{"border-be":se()}],"border-color-t":[{"border-t":se()}],"border-color-r":[{"border-r":se()}],"border-color-b":[{"border-b":se()}],"border-color-l":[{"border-l":se()}],"divide-color":[{divide:se()}],"outline-style":[{outline:[...Ur(),"none","hidden"]}],"outline-offset":[{"outline-offset":[_o,kr,vr]}],"outline-w":[{outline:["",_o,CD,lL]}],"outline-color":[{outline:se()}],shadow:[{shadow:["","none",v,oF,rF]}],"shadow-color":[{shadow:se()}],"inset-shadow":[{"inset-shadow":["none",y,oF,rF]}],"inset-shadow-color":[{"inset-shadow":se()}],"ring-w":[{ring:er()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:se()}],"ring-offset-w":[{"ring-offset":[_o,lL]}],"ring-offset-color":[{"ring-offset":se()}],"inset-ring-w":[{"inset-ring":er()}],"inset-ring-color":[{"inset-ring":se()}],"text-shadow":[{"text-shadow":["none",k,oF,rF]}],"text-shadow-color":[{"text-shadow":se()}],opacity:[{opacity:[_o,kr,vr]}],"mix-blend":[{"mix-blend":[...Vt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Vt()}],"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":[_o]}],"mask-image-linear-from-pos":[{"mask-linear-from":Xt()}],"mask-image-linear-to-pos":[{"mask-linear-to":Xt()}],"mask-image-linear-from-color":[{"mask-linear-from":se()}],"mask-image-linear-to-color":[{"mask-linear-to":se()}],"mask-image-t-from-pos":[{"mask-t-from":Xt()}],"mask-image-t-to-pos":[{"mask-t-to":Xt()}],"mask-image-t-from-color":[{"mask-t-from":se()}],"mask-image-t-to-color":[{"mask-t-to":se()}],"mask-image-r-from-pos":[{"mask-r-from":Xt()}],"mask-image-r-to-pos":[{"mask-r-to":Xt()}],"mask-image-r-from-color":[{"mask-r-from":se()}],"mask-image-r-to-color":[{"mask-r-to":se()}],"mask-image-b-from-pos":[{"mask-b-from":Xt()}],"mask-image-b-to-pos":[{"mask-b-to":Xt()}],"mask-image-b-from-color":[{"mask-b-from":se()}],"mask-image-b-to-color":[{"mask-b-to":se()}],"mask-image-l-from-pos":[{"mask-l-from":Xt()}],"mask-image-l-to-pos":[{"mask-l-to":Xt()}],"mask-image-l-from-color":[{"mask-l-from":se()}],"mask-image-l-to-color":[{"mask-l-to":se()}],"mask-image-x-from-pos":[{"mask-x-from":Xt()}],"mask-image-x-to-pos":[{"mask-x-to":Xt()}],"mask-image-x-from-color":[{"mask-x-from":se()}],"mask-image-x-to-color":[{"mask-x-to":se()}],"mask-image-y-from-pos":[{"mask-y-from":Xt()}],"mask-image-y-to-pos":[{"mask-y-to":Xt()}],"mask-image-y-from-color":[{"mask-y-from":se()}],"mask-image-y-to-color":[{"mask-y-to":se()}],"mask-image-radial":[{"mask-radial":[kr,vr]}],"mask-image-radial-from-pos":[{"mask-radial-from":Xt()}],"mask-image-radial-to-pos":[{"mask-radial-to":Xt()}],"mask-image-radial-from-color":[{"mask-radial-from":se()}],"mask-image-radial-to-color":[{"mask-radial-to":se()}],"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":J()}],"mask-image-conic-pos":[{"mask-conic":[_o]}],"mask-image-conic-from-pos":[{"mask-conic-from":Xt()}],"mask-image-conic-to-pos":[{"mask-conic-to":Xt()}],"mask-image-conic-from-color":[{"mask-conic-from":se()}],"mask-image-conic-to-color":[{"mask-conic-to":se()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:St()}],"mask-repeat":[{mask:Ht()}],"mask-size":[{mask:Oe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",kr,vr]}],filter:[{filter:["","none",kr,vr]}],blur:[{blur:Pr()}],brightness:[{brightness:[_o,kr,vr]}],contrast:[{contrast:[_o,kr,vr]}],"drop-shadow":[{"drop-shadow":["","none",b,oF,rF]}],"drop-shadow-color":[{"drop-shadow":se()}],grayscale:[{grayscale:["",_o,kr,vr]}],"hue-rotate":[{"hue-rotate":[_o,kr,vr]}],invert:[{invert:["",_o,kr,vr]}],saturate:[{saturate:[_o,kr,vr]}],sepia:[{sepia:["",_o,kr,vr]}],"backdrop-filter":[{"backdrop-filter":["","none",kr,vr]}],"backdrop-blur":[{"backdrop-blur":Pr()}],"backdrop-brightness":[{"backdrop-brightness":[_o,kr,vr]}],"backdrop-contrast":[{"backdrop-contrast":[_o,kr,vr]}],"backdrop-grayscale":[{"backdrop-grayscale":["",_o,kr,vr]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[_o,kr,vr]}],"backdrop-invert":[{"backdrop-invert":["",_o,kr,vr]}],"backdrop-opacity":[{"backdrop-opacity":[_o,kr,vr]}],"backdrop-saturate":[{"backdrop-saturate":[_o,kr,vr]}],"backdrop-sepia":[{"backdrop-sepia":["",_o,kr,vr]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":ae()}],"border-spacing-x":[{"border-spacing-x":ae()}],"border-spacing-y":[{"border-spacing-y":ae()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",kr,vr]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[_o,"initial",kr,vr]}],ease:[{ease:["linear","initial",A,kr,vr]}],delay:[{delay:[_o,kr,vr]}],animate:[{animate:["none",j,kr,vr]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[D,kr,vr]}],"perspective-origin":[{"perspective-origin":ee()}],rotate:[{rotate:zr()}],"rotate-x":[{"rotate-x":zr()}],"rotate-y":[{"rotate-y":zr()}],"rotate-z":[{"rotate-z":zr()}],scale:[{scale:Ar()}],"scale-x":[{"scale-x":Ar()}],"scale-y":[{"scale-y":Ar()}],"scale-z":[{"scale-z":Ar()}],"scale-3d":["scale-3d"],skew:[{skew:hr()}],"skew-x":[{"skew-x":hr()}],"skew-y":[{"skew-y":hr()}],transform:[{transform:[kr,vr,"","none","gpu","cpu"]}],"transform-origin":[{origin:ee()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:go()}],"translate-x":[{"translate-x":go()}],"translate-y":[{"translate-y":go()}],"translate-z":[{"translate-z":go()}],"translate-none":["translate-none"],zoom:[{zoom:[nZ,kr,vr]}],accent:[{accent:se()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:se()}],"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",kr,vr]}],"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":se()}],"scrollbar-track-color":[{"scrollbar-track":se()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":ae()}],"scroll-mx":[{"scroll-mx":ae()}],"scroll-my":[{"scroll-my":ae()}],"scroll-ms":[{"scroll-ms":ae()}],"scroll-me":[{"scroll-me":ae()}],"scroll-mbs":[{"scroll-mbs":ae()}],"scroll-mbe":[{"scroll-mbe":ae()}],"scroll-mt":[{"scroll-mt":ae()}],"scroll-mr":[{"scroll-mr":ae()}],"scroll-mb":[{"scroll-mb":ae()}],"scroll-ml":[{"scroll-ml":ae()}],"scroll-p":[{"scroll-p":ae()}],"scroll-px":[{"scroll-px":ae()}],"scroll-py":[{"scroll-py":ae()}],"scroll-ps":[{"scroll-ps":ae()}],"scroll-pe":[{"scroll-pe":ae()}],"scroll-pbs":[{"scroll-pbs":ae()}],"scroll-pbe":[{"scroll-pbe":ae()}],"scroll-pt":[{"scroll-pt":ae()}],"scroll-pr":[{"scroll-pr":ae()}],"scroll-pb":[{"scroll-pb":ae()}],"scroll-pl":[{"scroll-pl":ae()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",kr,vr]}],fill:[{fill:["none",...se()]}],"stroke-w":[{stroke:[_o,CD,lL,Vae]}],stroke:[{stroke:["none",...se()]}],"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 lne=GLe(hke);function C(...e){return lne(tF(e))}var cne=(e)=>typeof e==="boolean"?`${e}`:e===0?"0":e,une=tF,gs=(e,r)=>(a)=>{var i;if((r===null||r===void 0?void 0:r.variants)==null)return une(e,a===null||a===void 0?void 0:a.class,a===null||a===void 0?void 0:a.className);let{variants:s,defaultVariants:l}=r,c=Object.keys(s).map((x)=>{let v=a===null||a===void 0?void 0:a[x],y=l===null||l===void 0?void 0:l[x];if(v===null)return null;let k=cne(v)||cne(y);return s[x][k]}),d=a&&Object.entries(a).reduce((x,v)=>{let[y,k]=v;if(k===void 0)return x;return x[y]=k,x},{}),h=r===null||r===void 0?void 0:(i=r.compoundVariants)===null||i===void 0?void 0:i.reduce((x,v)=>{let{class:y,className:k,...b}=v;return Object.entries(b).every((T)=>{let[D,U]=T;return Array.isArray(U)?U.includes({...l,...d}[D]):{...l,...d}[D]===U})?[...x,y,k]:x},[]);return une(e,c,h,a===null||a===void 0?void 0:a.class,a===null||a===void 0?void 0:a.className)};E();E();var gke=Object.defineProperty,_c=(e,r)=>gke(e,"name",{value:r,configurable:!0});function Mke(e,r){let a=mt(r);a.displayName=e+"Context";let i=_c((l)=>{let{children:c,...d}=l,h=N(()=>d,Object.values(d));return t(a.Provider,{value:h,children:c})},"Provider");i.displayName=e+"Provider";function s(l,c={}){let{optional:d=!1}=c,h=vt(a);if(h)return h;if(r!==void 0)return r;if(d)return;throw Error(`\`${l}\` must be used within \`${e}\``)}return _c(s,"useContext"),[i,s]}_c(Mke,"createContext");function xt(e,r=[]){let a=[];function i(l,c){let d=mt(c);d.displayName=l+"Context";let h=a.length;a=[...a,c];let x=_c((y)=>{let{scope:k,children:b,...T}=y,D=k?.[e]?.[h]||d,U=N(()=>T,Object.values(T));return t(D.Provider,{value:U,children:b})},"Provider");x.displayName=l+"Provider";function v(y,k,b={}){let{optional:T=!1}=b,D=k?.[e]?.[h]||d,U=vt(D);if(U)return U;if(c!==void 0)return c;if(T)return;throw Error(`\`${y}\` must be used within \`${l}\``)}return _c(v,"useContext"),[x,v]}_c(i,"createContext");let s=_c(()=>{let l=a.map((c)=>mt(c));return _c(function(d){let h=d?.[e]||l;return N(()=>({[`__scope${e}`]:{...d,[e]:h}}),[d,h])},"useScope")},"createScope");return s.scopeName=e,[i,dne(s,...r)]}_c(xt,"createContextScope");function dne(...e){let r=e[0];if(e.length===1)return r;let a=_c(()=>{let i=e.map((s)=>({useScope:s(),scopeName:s.scopeName}));return _c(function(l){let c=i.reduce((d,{useScope:h,scopeName:x})=>{let y=h(l)[`__scope${x}`];return{...d,...y}},{});return N(()=>({[`__scope${r.scopeName}`]:c}),[c])},"useComposedScopes")},"createScope");return a.scopeName=r.scopeName,a}_c(dne,"composeContextScopes");E();var xke=Object.defineProperty,YY=(e,r)=>xke(e,"name",{value:r,configurable:!0});function UY(e,r){if(typeof e==="function")return e(r);else if(e!==null&&e!==void 0)e.current=r}YY(UY,"setRef");function Zne(...e){return(r)=>{let a=!1,i=e.map((s)=>{let l=UY(s,r);if(!a&&typeof l=="function")a=!0;return l});if(a)return()=>{for(let s=0;s<i.length;s++){let l=i[s];if(typeof l=="function")l();else UY(e[s],null)}}}}YY(Zne,"composeRefs");function ye(...e){return P(Zne(...e),e)}YY(ye,"useComposedRefs");E();var vke=Object.defineProperty,SR=(e,r)=>vke(e,"name",{value:r,configurable:!0}),pne=!!(typeof window<"u"&&window.document&&window.document.createElement);function Y(e,r,{checkForDefaultPrevented:a=!0}={}){return SR(function(s){if(e?.(s),a===!1||!s||!s.defaultPrevented)return r?.(s)},"handleEvent")}SR(Y,"composeEventHandlers");function _ke(e){if(!pne)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window}SR(_ke,"getOwnerWindow");function qY(e){if(!pne)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}SR(qY,"getOwnerDocument");function mne(e,r=!1){let{activeElement:a}=qY(e);if(!a?.nodeName)return null;if(hne(a)&&a.contentDocument)return mne(a.contentDocument.body,r);if(r){let i=a.getAttribute("aria-activedescendant");if(i){let s=qY(a).getElementById(i);if(s)return s}}return a}SR(mne,"getActiveElement");function hne(e){return e.tagName==="IFRAME"}SR(hne,"isFrame");E();E();var Pt=globalThis?.document?Ue:()=>{};var yke=Object.defineProperty,bke=(e,r)=>yke(e,"name",{value:r,configurable:!0}),wke=Q[" useId ".trim().toString()]||(()=>{return}),zke=0;function Cr(e){let[r,a]=u(wke());return Pt(()=>{if(!e)a((i)=>i??String(zke++))},[e]),e||(r?`radix-${r}`:"")}bke(Cr,"useId");E();var Ai=!1;E();E();var Ske=Object.defineProperty,Lke=(e,r)=>Ske(e,"name",{value:r,configurable:!0}),gne=Q[" useEffectEvent ".trim().toString()],Mne=Q[" useInsertionEffect ".trim().toString()];function HY(e){if(typeof gne==="function")return gne(e);let r=_(()=>{throw Error("Cannot call an event handler while rendering.")});if(typeof Mne==="function")Mne(()=>{r.current=e});else Pt(()=>{r.current=e});return N(()=>(...a)=>r.current?.(...a),[])}Lke(HY,"useEffectEvent");var kke=Object.defineProperty,ID=(e,r)=>kke(e,"name",{value:r,configurable:!0}),Cke=Q[" useInsertionEffect ".trim().toString()]||Pt;function Zt({prop:e,defaultProp:r,onChange:a=ID(()=>{},"onChange"),caller:i}){let[s,l,c]=vne({defaultProp:r,onChange:a}),d=e!==void 0,h=d?e:s;if(Ai){let v=_(e!==void 0);m(()=>{let y=v.current;if(y!==d)console.warn(`${i} is changing from ${y?"controlled":"uncontrolled"} to ${d?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`);v.current=d},[d,i])}let x=P((v)=>{if(d){let y=_ne(v)?v(e):v;if(y!==e)c.current?.(y)}else l(v)},[d,e,l,c]);return[h,x]}ID(Zt,"useControllableState");function vne({defaultProp:e,onChange:r}){let[a,i]=u(e),s=_(a),l=_(r);return Cke(()=>{l.current=r},[r]),m(()=>{if(s.current!==a)l.current?.(a),s.current=a},[a,s]),[a,i,l]}ID(vne,"useUncontrolledState");function _ne(e){return typeof e==="function"}ID(_ne,"isFunction");var xne=Symbol("RADIX:SYNC_STATE");function Ike(e,r,a,i){let{prop:s,defaultProp:l,onChange:c,caller:d}=r,h=s!==void 0,x=HY(c);if(Ai){let U=_(s!==void 0);m(()=>{let A=U.current;if(A!==h)console.warn(`${d} is changing from ${A?"controlled":"uncontrolled"} to ${h?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`);U.current=h},[h,d])}let v=[{...a,state:l}];if(i)v.push(i);let[y,k]=on((U,A)=>{if(A.type===xne)return{...U,state:A.state};let j=e(U,A);if(h&&!Object.is(j.state,U.state))x(j.state);return j},...v),b=y.state,T=_(b);m(()=>{if(T.current!==b){if(T.current=b,!h)x(b)}},[b,T,h]);let D=N(()=>{if(s!==void 0)return{...y,state:s};return y},[y,s]);return m(()=>{if(h&&!Object.is(s,y.state))k({type:xne,state:s})},[s,y.state,h]),[D,k]}ID(Ike,"useControllableStateReducer");E();E();E();var Rke=Object.defineProperty,Zu=(e,r)=>Rke(e,"name",{value:r,configurable:!0});function Bi(e){let r=F((a,i)=>{let{children:s,...l}=a,c=null,d=!1,h=[];if(VY(s)&&typeof aF==="function")s=aF(s._payload);if(fc.forEach(s,(k)=>{if(Sne(k)){d=!0;let b=k,T="child"in b.props?b.props.child:b.props.children;if(VY(T)&&typeof aF==="function")T=aF(T._payload);c=Pke(b,T),h.push(c?.props?.children)}else h.push(k)}),c)c=ju(c,void 0,h);else if(!d&&fc.count(s)===1&&ns(s))c=s;let x=c?zne(c):void 0,v=ye(i,x);if(!c){if(s||s===0)throw Error(d?Eke(e):Ake(e));return s}let y=wne(l,c.props??{});if(c.type!==Dn)y.ref=i?v:x;return ju(c,y)});return r.displayName=`${e}.Slot`,r}Zu(Bi,"createSlot");var yne=Bi("Slot"),bne=Symbol.for("radix.slottable");function WY(e){let r=Zu((a)=>("child"in a)?a.children(a.child):a.children,"Slottable");return r.displayName=`${e}.Slottable`,r.__radixId=bne,r}Zu(WY,"createSlottable");var Pke=Zu((e,r)=>{if("child"in e.props){let a=e.props.child;if(!ns(a))return null;return ju(a,void 0,e.props.children(a.props.children))}return ns(r)?r:null},"getSlottableElementFromSlottable");function wne(e,r){let a={...r};for(let i in r){let s=e[i],l=r[i];if(/^on[A-Z]/.test(i)){if(s&&l)a[i]=(...d)=>{let h=l(...d);return s(...d),h};else if(s)a[i]=s}else if(i==="style")a[i]={...s,...l};else if(i==="className")a[i]=[s,l].filter(Boolean).join(" ")}return{...e,...a}}Zu(wne,"mergeProps");function zne(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}Zu(zne,"getElementRef");function Sne(e){return ns(e)&&typeof e.type==="function"&&"__radixId"in e.type&&e.type.__radixId===bne}Zu(Sne,"isSlottable");var Tke=Symbol.for("react.lazy");function VY(e){return e!=null&&typeof e==="object"&&"$$typeof"in e&&e.$$typeof===Tke&&"_payload"in e&&Lne(e._payload)}Zu(VY,"isLazyComponent");function Lne(e){return typeof e==="object"&&e!==null&&"then"in e}Zu(Lne,"isPromiseLike");var Ake=Zu((e)=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),Eke=Zu((e)=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),aF=Q[" use ".trim().toString()];var Dke=Object.defineProperty,Oke=(e,r)=>Dke(e,"name",{value:r,configurable:!0}),Nke=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ie=Nke.reduce((e,r)=>{let a=Bi(`Primitive.${r}`),i=F((s,l)=>{let{asChild:c,...d}=s,h=c?a:r;if(typeof window<"u")window[Symbol.for("radix-ui")]=!0;return t(h,{...d,ref:l})});return i.displayName=`Primitive.${r}`,{...e,[r]:i}},{});function RD(e,r){if(e)sn(()=>e.dispatchEvent(r))}Oke(RD,"dispatchDiscreteCustomEvent");E();var Fke=Object.defineProperty,jke=(e,r)=>Fke(e,"name",{value:r,configurable:!0});function $o(e){let r=_(e);return m(()=>{r.current=e}),N(()=>(...a)=>r.current?.(...a),[])}jke($o,"useCallbackRef");var Bke=Object.defineProperty,Ui=(e,r)=>Bke(e,"name",{value:r,configurable:!0}),KY="dismissableLayer.update",Uke="dismissableLayer.pointerDownOutside",Yke="dismissableLayer.focusOutside",kne,Cne=mt({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),iZ=F(Ui(function(r,a){let{disableOutsidePointerEvents:i=!1,deferPointerDownOutside:s=!1,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:h,onDismiss:x,...v}=r,y=vt(Cne),[k,b]=u(null),T=k?.ownerDocument??globalThis?.document,[,D]=u({}),U=ye(a,b),A=Array.from(y.layers),[j]=[...y.layersWithOutsidePointerEventsDisabled].slice(-1),V=j?A.indexOf(j):-1,J=k?A.indexOf(k):-1,ee=y.layersWithOutsidePointerEventsDisabled.size>0,te=J>=V,re=_(!1),ae=Ine((Ye)=>{if(c?.(Ye),h?.(Ye),!Ye.defaultPrevented)x?.()},{ownerDocument:T,deferPointerDownOutside:s,isDeferredPointerDownOutsideRef:re,dismissableSurfaces:y.dismissableSurfaces,shouldHandlePointerDownOutside:P((Ye)=>{if(!(Ye instanceof Node))return!1;let Se=[...y.branches].some((Ge)=>Ge.contains(Ye));return te&&!Se},[y.branches,te])}),he=Rne((Ye)=>{if(s&&re.current)return;let Se=Ye.target;if([...y.branches].some((rt)=>rt.contains(Se)))return;if(d?.(Ye),h?.(Ye),!Ye.defaultPrevented)x?.()},T),be=k?J===A.length-1:!1,Qe=$o((Ye)=>{if(Ye.key!=="Escape")return;if(l?.(Ye),!Ye.defaultPrevented&&x)Ye.preventDefault(),x()});return m(()=>{if(!be)return;return T.addEventListener("keydown",Qe,{capture:!0}),()=>T.removeEventListener("keydown",Qe,{capture:!0})},[T,be,Qe]),m(()=>{if(!k)return;if(i){if(y.layersWithOutsidePointerEventsDisabled.size===0)kne=T.body.style.pointerEvents,T.body.style.pointerEvents="none";y.layersWithOutsidePointerEventsDisabled.add(k)}return y.layers.add(k),XY(),()=>{if(i){if(y.layersWithOutsidePointerEventsDisabled.delete(k),y.layersWithOutsidePointerEventsDisabled.size===0)T.body.style.pointerEvents=kne}}},[k,T,i,y]),m(()=>()=>{if(!k)return;y.layers.delete(k),y.layersWithOutsidePointerEventsDisabled.delete(k),XY()},[k,y]),m(()=>{let Ye=Ui(()=>D({}),"handleUpdate");return document.addEventListener(KY,Ye),()=>document.removeEventListener(KY,Ye)},[]),t(ie.div,{...v,ref:U,style:{pointerEvents:ee?te?"auto":"none":void 0,...r.style},onFocusCapture:Y(r.onFocusCapture,he.onFocusCapture),onBlurCapture:Y(r.onBlurCapture,he.onBlurCapture),onPointerDownCapture:Y(r.onPointerDownCapture,ae.onPointerDownCapture)})},"DismissableLayer"));function QY(){let e=vt(Cne),[r,a]=u(null);return m(()=>{if(!r)return;return e.dismissableSurfaces.add(r),()=>{e.dismissableSurfaces.delete(r)}},[r,e.dismissableSurfaces]),a}Ui(QY,"useDismissableLayerSurface");var qke=Ui(()=>!0,"IS_TRUE");function Ine(e,r){let{ownerDocument:a=globalThis?.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:s,dismissableSurfaces:l,shouldHandlePointerDownOutside:c=qke}=r,d=$o(e),h=_(!1),x=_(!1),v=_(new Map),y=_(()=>{});return m(()=>{function k(){x.current=!1,s.current=!1,v.current.clear()}Ui(k,"resetOutsideInteraction");function b(){return Array.from(v.current.values()).some(Boolean)}Ui(b,"isOutsideInteractionIntercepted");function T(V){if(!x.current)return;let J=V.target;if(!(J instanceof Node&&[...l].some((te)=>te.contains(J))))v.current.set(V.type,!0);if(V.type==="click")window.setTimeout(()=>{if(x.current)y.current()},0)}Ui(T,"handleInteractionCapture");function D(V){if(x.current)v.current.set(V.type,!1)}Ui(D,"handleInteractionBubble");let U=Ui((V)=>{if(V.target&&!h.current){let ee=function(){a.removeEventListener("click",y.current);let re=b();if(k(),!re)JY(Uke,d,te,{discrete:!0})};var J=ee;if(Ui(ee,"handleAndDispatchPointerDownOutsideEvent"),!c(V.target)){a.removeEventListener("click",y.current),k(),h.current=!1;return}let te={originalEvent:V};if(x.current=!0,s.current=i&&V.button===0,v.current.clear(),!i||V.button!==0)ee();else a.removeEventListener("click",y.current),y.current=ee,a.addEventListener("click",y.current,{once:!0})}else a.removeEventListener("click",y.current),k();h.current=!1},"handlePointerDown"),A=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let V of A)a.addEventListener(V,T,!0),a.addEventListener(V,D);let j=window.setTimeout(()=>{a.addEventListener("pointerdown",U)},0);return()=>{window.clearTimeout(j),a.removeEventListener("pointerdown",U),a.removeEventListener("click",y.current);for(let V of A)a.removeEventListener(V,T,!0),a.removeEventListener(V,D)}},[a,d,i,s,l,c]),{onPointerDownCapture:Ui(()=>h.current=!0,"onPointerDownCapture")}}Ui(Ine,"usePointerDownOutside");function Rne(e,r=globalThis?.document){let a=$o(e),i=_(!1);return m(()=>{let s=Ui((l)=>{if(l.target&&!i.current)JY(Yke,a,{originalEvent:l},{discrete:!1})},"handleFocus");return r.addEventListener("focusin",s),()=>r.removeEventListener("focusin",s)},[r,a]),{onFocusCapture:Ui(()=>i.current=!0,"onFocusCapture"),onBlurCapture:Ui(()=>i.current=!1,"onBlurCapture")}}Ui(Rne,"useFocusOutside");function XY(){let e=new CustomEvent(KY);document.dispatchEvent(e)}Ui(XY,"dispatchUpdate");function JY(e,r,a,{discrete:i}){let s=a.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:a});if(r)s.addEventListener(e,r,{once:!0});if(i)RD(s,l);else s.dispatchEvent(l)}Ui(JY,"handleAndDispatchCustomEvent");E();var Hke=Object.defineProperty,ls=(e,r)=>Hke(e,"name",{value:r,configurable:!0}),$Y="focusScope.autoFocusOnMount",eq="focusScope.autoFocusOnUnmount",Pne={bubbles:!1,cancelable:!0},H8=F(ls(function(r,a){let{loop:i=!1,trapped:s=!1,onMountAutoFocus:l,onUnmountAutoFocus:c,...d}=r,[h,x]=u(null),v=$o(l),y=$o(c),k=_(null),b=ye(a,x),T=_({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;m(()=>{if(s){let V=function(re){if(T.paused||!h)return;let ae=re.target;if(h.contains(ae))k.current=ae;else JZ(k.current,{select:!0})},J=function(re){if(T.paused||!h)return;let ae=re.relatedTarget;if(ae===null)return;if(!h.contains(ae))JZ(k.current,{select:!0})},ee=function(re){if(document.activeElement!==document.body)return;for(let he of re)if(he.removedNodes.length>0)JZ(h)};var U=V,A=J,j=ee;ls(V,"handleFocusIn"),ls(J,"handleFocusOut"),ls(ee,"handleMutations"),document.addEventListener("focusin",V),document.addEventListener("focusout",J);let te=new MutationObserver(ee);if(h)te.observe(h,{childList:!0,subtree:!0});return()=>{document.removeEventListener("focusin",V),document.removeEventListener("focusout",J),te.disconnect()}}},[s,h,T.paused]),m(()=>{if(h){Tne.add(T);let U=document.activeElement;if(!h.contains(U)){let j=new CustomEvent($Y,Pne);if(h.addEventListener($Y,v),h.dispatchEvent(j),!j.defaultPrevented){if(Ane(Fne(oq(h)),{select:!0}),document.activeElement===U)JZ(h)}}return()=>{h.removeEventListener($Y,v),setTimeout(()=>{let j=new CustomEvent(eq,Pne);if(h.addEventListener(eq,y),h.dispatchEvent(j),!j.defaultPrevented)JZ(U??document.body,{select:!0});h.removeEventListener(eq,y),Tne.remove(T)},0)}}},[h,v,y,T]);let D=P((U)=>{if(!i&&!s)return;if(T.paused)return;let A=U.key==="Tab"&&!U.altKey&&!U.ctrlKey&&!U.metaKey,j=document.activeElement;if(A&&j){let V=U.currentTarget,[J,ee]=Ene(V);if(!(J&&ee)){if(j===V)U.preventDefault()}else if(!U.shiftKey&&j===ee){if(U.preventDefault(),i)JZ(J,{select:!0})}else if(U.shiftKey&&j===J){if(U.preventDefault(),i)JZ(ee,{select:!0})}}},[i,s,T.paused]);return t(ie.div,{tabIndex:-1,...d,ref:b,onKeyDown:D})},"FocusScope"));function Ane(e,{select:r=!1}={}){let a=document.activeElement;for(let i of e)if(JZ(i,{select:r}),document.activeElement!==a)return}ls(Ane,"focusFirst");function Ene(e){let r=oq(e),a=tq(r,e),i=tq(r.reverse(),e);return[a,i]}ls(Ene,"getTabbableEdges");function oq(e){let r=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:ls((i)=>{let s=i.tagName==="INPUT"&&i.type==="hidden";if(i.disabled||i.hidden||s)return NodeFilter.FILTER_SKIP;return i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});while(a.nextNode())r.push(a.currentNode);return r}ls(oq,"getTabbableCandidates");function tq(e,r){let a=typeof r.checkVisibility==="function"&&r.checkVisibility({checkVisibilityCSS:!0});for(let i of e)if(!(a?!i.checkVisibility({checkVisibilityCSS:!0}):Dne(i,{upTo:r})))return i}ls(tq,"findVisible");function Dne(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}ls(Dne,"isHidden");function One(e){return e instanceof HTMLInputElement&&"select"in e}ls(One,"isSelectableInput");function JZ(e,{select:r=!1}={}){if(e&&e.focus){let a=document.activeElement;if(e.focus({preventScroll:!0}),e!==a&&One(e)&&r)e.select()}}ls(JZ,"focus");var Tne=Nne();function Nne(){let e=[];return{add(r){let a=e[0];if(r!==a)a?.pause();e=rq(e,r),e.unshift(r)},remove(r){e=rq(e,r),e[0]?.resume()}}}ls(Nne,"createFocusScopesStack");function rq(e,r){let a=[...e],i=a.indexOf(r);if(i!==-1)a.splice(i,1);return a}ls(rq,"arrayRemove");function Fne(e){return e.filter((r)=>r.tagName!=="A")}ls(Fne,"removeLinks");E();var Vke=Object.defineProperty,Wke=(e,r)=>Vke(e,"name",{value:r,configurable:!0}),fZ=F(Wke(function(r,a){let{container:i,...s}=r,[l,c]=u(!1);Pt(()=>c(!0),[]);let d=i||l&&globalThis?.document?.body;return d?hs(t(ie.div,{...s,ref:a}),d):null},"Portal"));E();E();var Gke=Object.defineProperty,$Z=(e,r)=>Gke(e,"name",{value:r,configurable:!0});function jne(e,r){return on((a,i)=>r[a][i]??a,e)}$Z(jne,"useStateMachine");var cr=$Z((e)=>{let{present:r,children:a}=e,i=Bne(r),s=typeof a==="function"?a({present:i.isPresent}):fc.only(a),l=Une(i.ref,Yne(s));return typeof a==="function"||i.isPresent?ju(s,{ref:l}):null},"Presence");function Bne(e){let[r,a]=u(),i=_(null),s=_(e),l=_("none"),c=_(void 0),d=e?"mounted":"unmounted",[h,x]=jne(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return m(()=>{if(h==="mounted")l.current=c.current??LR(i.current),c.current=void 0;else l.current="none"},[h]),Pt(()=>{let v=i.current,y=s.current;if(y!==e){let b=l.current,T=LR(v);if(e)c.current=T,x("MOUNT");else if(T==="none"||v?.display==="none")x("UNMOUNT");else if(y&&b!==T)x("ANIMATION_OUT");else x("UNMOUNT");s.current=e}},[e,x]),Pt(()=>{if(r){let v,y=r.ownerDocument.defaultView??window,k=$Z((T)=>{let U=LR(i.current).includes(CSS.escape(T.animationName));if(T.target===r&&U){if(x("ANIMATION_END"),!s.current){let A=r.style.animationFillMode;r.style.animationFillMode="forwards",v=y.setTimeout(()=>{if(r.style.animationFillMode==="forwards")r.style.animationFillMode=A})}}},"handleAnimationEnd"),b=$Z((T)=>{if(T.target===r)l.current=LR(i.current)},"handleAnimationStart");return r.addEventListener("animationstart",b),r.addEventListener("animationcancel",k),r.addEventListener("animationend",k),()=>{y.clearTimeout(v),r.removeEventListener("animationstart",b),r.removeEventListener("animationcancel",k),r.removeEventListener("animationend",k)}}else x("ANIMATION_END")},[r,x]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:P((v)=>{if(v){let y=getComputedStyle(v);i.current=y,c.current=LR(y)}else i.current=null;a(v)},[])}}$Z(Bne,"usePresence");function aq(e,r){if(typeof e==="function")return e(r);else if(e!==null&&e!==void 0)e.current=r}$Z(aq,"setRef");function Une(...e){let r=_(e);return r.current=e,P((a)=>{let i=r.current,s=!1,l=i.map((c)=>{let d=aq(c,a);if(!s&&typeof d==="function")s=!0;return d});if(s)return()=>{for(let c=0;c<l.length;c++){let d=l[c];if(typeof d==="function")d();else aq(i[c],null)}}},[])}$Z(Une,"useStableComposedRefs");function LR(e){return e?.animationName||"none"}$Z(LR,"getAnimationName");function Yne(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}$Z(Yne,"getElementRef");E();var Kke=Object.defineProperty,iq=(e,r)=>Kke(e,"name",{value:r,configurable:!0}),nF=0,kR=null;function Xke(e){return sZ(),e.children}iq(Xke,"FocusGuards");function sZ(){m(()=>{if(!kR)kR={start:nq(),end:nq()};let{start:e,end:r}=kR;if(document.body.firstElementChild!==e)document.body.insertAdjacentElement("afterbegin",e);if(document.body.lastElementChild!==r)document.body.insertAdjacentElement("beforeend",r);return nF++,()=>{if(nF===1)kR?.start.remove(),kR?.end.remove(),kR=null;nF=Math.max(0,nF-1)}},[])}iq(sZ,"useFocusGuards");function nq(){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}iq(nq,"createFocusGuard");var rl=function(){return rl=Object.assign||function(r){for(var a,i=1,s=arguments.length;i<s;i++){a=arguments[i];for(var l in a)if(Object.prototype.hasOwnProperty.call(a,l))r[l]=a[l]}return r},rl.apply(this,arguments)};function iF(e,r){var a={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var s=0,i=Object.getOwnPropertySymbols(e);s<i.length;s++)if(r.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(e,i[s]))a[i[s]]=e[i[s]]}return a}function qne(e,r,a){if(a||arguments.length===2){for(var i=0,s=r.length,l;i<s;i++)if(l||!(i in r)){if(!l)l=Array.prototype.slice.call(r,0,i);l[i]=r[i]}}return e.concat(l||Array.prototype.slice.call(r))}E();E();var uL="right-scroll-bar-position",dL="width-before-scroll-bar",fq="with-scroll-bars-hidden",sq="--removed-body-scroll-bar-size";E();function fF(e,r){if(typeof e==="function")e(r);else if(e)e.current=r;return e}E();function Hne(e,r){var a=u(function(){return{value:e,callback:r,facade:{get current(){return a.value},set current(i){var s=a.value;if(s!==i)a.value=i,a.callback(i,s)}}}})[0];return a.callback=r,a.facade}var Qke=typeof window<"u"?Ue:m,Vne=new WeakMap;function lq(e,r){var a=Hne(r||null,function(i){return e.forEach(function(s){return fF(s,i)})});return Qke(function(){var i=Vne.get(a);if(i){var s=new Set(i),l=new Set(e),c=a.current;s.forEach(function(d){if(!l.has(d))fF(d,null)}),l.forEach(function(d){if(!s.has(d))fF(d,c)})}Vne.set(a,e)},[e]),a}function Jke(e){return e}function $ke(e,r){if(r===void 0)r=Jke;var a=[],i=!1,s={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");if(a.length)return a[a.length-1];return e},useMedium:function(l){var c=r(l,i);return a.push(c),function(){a=a.filter(function(d){return d!==c})}},assignSyncMedium:function(l){i=!0;while(a.length){var c=a;a=[],c.forEach(l)}a={push:function(d){return l(d)},filter:function(){return a}}},assignMedium:function(l){i=!0;var c=[];if(a.length){var d=a;a=[],d.forEach(l),c=a}var h=function(){var v=c;c=[],v.forEach(l)},x=function(){return Promise.resolve().then(h)};x(),a={push:function(v){c.push(v),x()},filter:function(v){return c=c.filter(v),a}}}};return s}function cq(e){if(e===void 0)e={};var r=$ke(null);return r.options=rl({async:!0,ssr:!1},e),r}E();var Wne=function(e){var r=e.sideCar,a=iF(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,rl({},a))};Wne.isSideCarExport=!0;function uq(e,r){return e.useMedium(r),Wne}var sF=cq();var dq=function(){return},PD=F(function(e,r){var a=_(null),i=u({onScrollCapture:dq,onWheelCapture:dq,onTouchMoveCapture:dq}),s=i[0],l=i[1],{forwardProps:c,children:d,className:h,removeScrollBar:x,enabled:v,shards:y,sideCar:k,noRelative:b,noIsolation:T,inert:D,allowPinchZoom:U,as:A}=e,j=A===void 0?"div":A,V=e.gapMode,J=iF(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),ee=k,te=lq([a,r]),re=rl(rl({},J),s);return q(Dn,null,v&&q(ee,{sideCar:sF,removeScrollBar:x,shards:y,noRelative:b,noIsolation:T,inert:D,setCallbacks:l,allowPinchZoom:!!U,lockRef:a,gapMode:V}),c?ju(fc.only(d),rl(rl({},re),{ref:te})):q(j,rl({},re,{className:h,ref:te}),d))});PD.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};PD.classNames={fullWidth:dL,zeroRight:uL};E();E();E();var Gne;var Kne=function(){if(Gne)return Gne;if(typeof __webpack_nonce__<"u")return __webpack_nonce__;return};function eCe(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var r=Kne();if(r)e.setAttribute("nonce",r);return e}function tCe(e,r){if(e.styleSheet)e.styleSheet.cssText=r;else e.appendChild(document.createTextNode(r))}function rCe(e){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(e)}var Zq=function(){var e=0,r=null;return{add:function(a){if(e==0){if(r=eCe())tCe(r,a),rCe(r)}e++},remove:function(){if(e--,!e&&r)r.parentNode&&r.parentNode.removeChild(r),r=null}}};var pq=function(){var e=Zq();return function(r,a){m(function(){return e.add(r),function(){e.remove()}},[r&&a])}};var TD=function(){var e=pq(),r=function(a){var{styles:i,dynamic:s}=a;return e(i,s),null};return r};var oCe={left:0,top:0,right:0,gap:0},mq=function(e){return parseInt(e||"",10)||0},aCe=function(e){var r=window.getComputedStyle(document.body),a=r[e==="padding"?"paddingLeft":"marginLeft"],i=r[e==="padding"?"paddingTop":"marginTop"],s=r[e==="padding"?"paddingRight":"marginRight"];return[mq(a),mq(i),mq(s)]},hq=function(e){if(e===void 0)e="margin";if(typeof window>"u")return oCe;var r=aCe(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 nCe=TD(),CR="data-scroll-locked",iCe=function(e,r,a,i){var{left:s,top:l,right:c,gap:d}=e;if(a===void 0)a="margin";return`
|
|
16
|
-
.`.concat(fq,` {
|
|
17
|
-
overflow: hidden `).concat(i,`;
|
|
18
|
-
padding-right: `).concat(d,"px ").concat(i,`;
|
|
19
|
-
}
|
|
20
|
-
body[`).concat(CR,`] {
|
|
21
|
-
overflow: hidden `).concat(i,`;
|
|
22
|
-
overscroll-behavior: contain;
|
|
23
|
-
`).concat([r&&"position: relative ".concat(i,";"),a==="margin"&&`
|
|
24
|
-
padding-left: `.concat(s,`px;
|
|
25
|
-
padding-top: `).concat(l,`px;
|
|
26
|
-
padding-right: `).concat(c,`px;
|
|
27
|
-
margin-left:0;
|
|
28
|
-
margin-top:0;
|
|
29
|
-
margin-right: `).concat(d,"px ").concat(i,`;
|
|
30
|
-
`),a==="padding"&&"padding-right: ".concat(d,"px ").concat(i,";")].filter(Boolean).join(""),`
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.`).concat(uL,` {
|
|
34
|
-
right: `).concat(d,"px ").concat(i,`;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.`).concat(dL,` {
|
|
38
|
-
margin-right: `).concat(d,"px ").concat(i,`;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.`).concat(uL," .").concat(uL,` {
|
|
42
|
-
right: 0 `).concat(i,`;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.`).concat(dL," .").concat(dL,` {
|
|
46
|
-
margin-right: 0 `).concat(i,`;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
body[`).concat(CR,`] {
|
|
50
|
-
`).concat(sq,": ").concat(d,`px;
|
|
51
|
-
}
|
|
52
|
-
`)},Xne=function(){var e=parseInt(document.body.getAttribute(CR)||"0",10);return isFinite(e)?e:0},fCe=function(){m(function(){return document.body.setAttribute(CR,(Xne()+1).toString()),function(){var e=Xne()-1;if(e<=0)document.body.removeAttribute(CR);else document.body.setAttribute(CR,e.toString())}},[])},gq=function(e){var{noRelative:r,noImportant:a,gapMode:i}=e,s=i===void 0?"margin":i;fCe();var l=N(function(){return hq(s)},[s]);return q(nCe,{styles:iCe(l,!r,s,!a?"!important":"")})};var Mq=!1;if(typeof window<"u")try{IR=Object.defineProperty({},"passive",{get:function(){return Mq=!0,!0}}),window.addEventListener("test",IR,IR),window.removeEventListener("test",IR,IR)}catch(e){Mq=!1}var IR,ZL=Mq?{passive:!1}:!1;var sCe=function(e){return e.tagName==="TEXTAREA"},Qne=function(e,r){if(!(e instanceof Element))return!1;var a=window.getComputedStyle(e);return a[r]!=="hidden"&&!(a.overflowY===a.overflowX&&!sCe(e)&&a[r]==="visible")},lCe=function(e){return Qne(e,"overflowY")},cCe=function(e){return Qne(e,"overflowX")},xq=function(e,r){var a=r.ownerDocument,i=r;do{if(typeof ShadowRoot<"u"&&i instanceof ShadowRoot)i=i.host;var s=Jne(e,i);if(s){var l=$ne(e,i),c=l[1],d=l[2];if(c>d)return!0}i=i.parentNode}while(i&&i!==a.body);return!1},uCe=function(e){var{scrollTop:r,scrollHeight:a,clientHeight:i}=e;return[r,a,i]},dCe=function(e){var{scrollLeft:r,scrollWidth:a,clientWidth:i}=e;return[r,a,i]},Jne=function(e,r){return e==="v"?lCe(r):cCe(r)},$ne=function(e,r){return e==="v"?uCe(r):dCe(r)},ZCe=function(e,r){return e==="h"&&r==="rtl"?-1:1},eie=function(e,r,a,i,s){var l=ZCe(e,window.getComputedStyle(r).direction),c=l*i,d=a.target,h=r.contains(d),x=!1,v=c>0,y=0,k=0;do{if(!d)break;var b=$ne(e,d),T=b[0],D=b[1],U=b[2],A=D-U-l*T;if(T||A){if(Jne(e,d))y+=A,k+=T}var j=d.parentNode;d=j&&j.nodeType===Node.DOCUMENT_FRAGMENT_NODE?j.host:j}while(!h&&d!==document.body||h&&(r.contains(d)||r===d));if(v&&(s&&Math.abs(y)<1||!s&&c>y))x=!0;else if(!v&&(s&&Math.abs(k)<1||!s&&-c>k))x=!0;return x};var lF=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tie=function(e){return[e.deltaX,e.deltaY]},rie=function(e){return e&&"current"in e?e.current:e},pCe=function(e,r){return e[0]===r[0]&&e[1]===r[1]},mCe=function(e){return`
|
|
53
|
-
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
54
|
-
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
55
|
-
`)},hCe=0,RR=[];function oie(e){var r=_([]),a=_([0,0]),i=_(),s=u(hCe++)[0],l=u(TD)[0],c=_(e);m(function(){c.current=e},[e]),m(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var D=qne([e.lockRef.current],(e.shards||[]).map(rie),!0).filter(Boolean);return D.forEach(function(U){return U.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),D.forEach(function(U){return U.classList.remove("allow-interactivity-".concat(s))})}}return},[e.inert,e.lockRef.current,e.shards]);var d=P(function(D,U){if("touches"in D&&D.touches.length===2||D.type==="wheel"&&D.ctrlKey)return!c.current.allowPinchZoom;var A=lF(D),j=a.current,V="deltaX"in D?D.deltaX:j[0]-A[0],J="deltaY"in D?D.deltaY:j[1]-A[1],ee,te=D.target,re=Math.abs(V)>Math.abs(J)?"h":"v";if("touches"in D&&re==="h"&&te.type==="range")return!1;var ae=window.getSelection(),he=ae&&ae.anchorNode,be=he?he===te||he.contains(te):!1;if(be)return!1;var Qe=xq(re,te);if(!Qe)return!0;if(Qe)ee=re;else ee=re==="v"?"h":"v",Qe=xq(re,te);if(!Qe)return!1;if(!i.current&&"changedTouches"in D&&(V||J))i.current=ee;if(!ee)return!0;var Ye=i.current||ee;return eie(Ye,U,D,Ye==="h"?V:J,!0)},[]),h=P(function(D){var U=D;if(!RR.length||RR[RR.length-1]!==l)return;var A="deltaY"in U?tie(U):lF(U),j=r.current.filter(function(ee){return ee.name===U.type&&(ee.target===U.target||U.target===ee.shadowParent)&&pCe(ee.delta,A)})[0];if(j&&j.should){if(U.cancelable)U.preventDefault();return}if(!j){var V=(c.current.shards||[]).map(rie).filter(Boolean).filter(function(ee){return ee.contains(U.target)}),J=V.length>0?d(U,V[0]):!c.current.noIsolation;if(J){if(U.cancelable)U.preventDefault()}}},[]),x=P(function(D,U,A,j){var V={name:D,delta:U,target:A,should:j,shadowParent:gCe(A)};r.current.push(V),setTimeout(function(){r.current=r.current.filter(function(J){return J!==V})},1)},[]),v=P(function(D){a.current=lF(D),i.current=void 0},[]),y=P(function(D){x(D.type,tie(D),D.target,d(D,e.lockRef.current))},[]),k=P(function(D){x(D.type,lF(D),D.target,d(D,e.lockRef.current))},[]);m(function(){return RR.push(l),e.setCallbacks({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:k}),document.addEventListener("wheel",h,ZL),document.addEventListener("touchmove",h,ZL),document.addEventListener("touchstart",v,ZL),function(){RR=RR.filter(function(D){return D!==l}),document.removeEventListener("wheel",h,ZL),document.removeEventListener("touchmove",h,ZL),document.removeEventListener("touchstart",v,ZL)}},[]);var{removeScrollBar:b,inert:T}=e;return q(Dn,null,T?q(l,{styles:mCe(s)}):null,b?q(gq,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function gCe(e){var r=null;while(e!==null){if(e instanceof ShadowRoot)r=e.host,e=e.host;e=e.parentNode}return r}var aie=uq(sF,oie);var nie=F(function(e,r){return q(PD,rl({},e,{ref:r,sideCar:aie}))});nie.classNames=PD.classNames;var Mm=nie;var MCe=function(e){if(typeof document>"u")return null;var r=Array.isArray(e)?e[0]:e;return r.ownerDocument.body},PR=new WeakMap,cF=new WeakMap,uF={},vq=0,iie=function(e){return e&&(e.host||iie(e.parentNode))},xCe=function(e,r){return r.map(function(a){if(e.contains(a))return a;var i=iie(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)})},vCe=function(e,r,a,i){var s=xCe(r,Array.isArray(e)?e:[e]);if(!uF[a])uF[a]=new WeakMap;var l=uF[a],c=[],d=new Set,h=new Set(s),x=function(y){if(!y||d.has(y))return;d.add(y),x(y.parentNode)};s.forEach(x);var v=function(y){if(!y||h.has(y))return;Array.prototype.forEach.call(y.children,function(k){if(d.has(k))v(k);else try{var b=k.getAttribute(i),T=b!==null&&b!=="false",D=(PR.get(k)||0)+1,U=(l.get(k)||0)+1;if(PR.set(k,D),l.set(k,U),c.push(k),D===1&&T)cF.set(k,!0);if(U===1)k.setAttribute(a,"true");if(!T)k.setAttribute(i,"true")}catch(A){console.error("aria-hidden: cannot operate on ",k,A)}})};return v(r),d.clear(),vq++,function(){if(c.forEach(function(y){var k=PR.get(y)-1,b=l.get(y)-1;if(PR.set(y,k),l.set(y,b),!k){if(!cF.has(y))y.removeAttribute(i);cF.delete(y)}if(!b)y.removeAttribute(a)}),vq--,!vq)PR=new WeakMap,PR=new WeakMap,cF=new WeakMap,uF={}}},V8=function(e,r,a){if(a===void 0)a="data-aria-hidden";var i=Array.from(Array.isArray(e)?e:[e]),s=r||MCe(e);if(!s)return function(){return null};return i.push.apply(i,Array.from(s.querySelectorAll("[aria-live], script"))),vCe(i,s,a,"aria-hidden")};var _Ce=Object.defineProperty,Ql=(e,r)=>_Ce(e,"name",{value:r,configurable:!0}),yq="Dialog",[fie,bq]=xt(yq),[yCe,mu]=fie(yq),wq=Ql((e)=>{let{__scopeDialog:r,children:a,open:i,defaultOpen:s,onOpenChange:l,modal:c=!0}=e,d=_(null),h=_(null),[x,v]=Zt({prop:i,defaultProp:s??!1,onChange:l,caller:yq}),[y,k]=u(0),[b,T]=u(0);return t(yCe,{scope:r,triggerRef:d,contentRef:h,contentId:Cr(),titleId:Cr(),descriptionId:Cr(),titlePresent:y>0,descriptionPresent:b>0,setTitleCount:k,setDescriptionCount:T,open:x,onOpenChange:v,onOpenToggle:P(()=>v((D)=>!D),[v]),modal:c,children:a})},"Dialog"),bCe="DialogTrigger",zq=F(Ql(function(r,a){let{__scopeDialog:i,...s}=r,l=mu(bCe,i),c=ye(a,l.triggerRef);return t(ie.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":dF(l.open),...s,ref:c,onClick:Y(r.onClick,l.onOpenToggle)})},"DialogTrigger")),sie="DialogPortal",[wCe,lie]=fie(sie,{forceMount:void 0}),Sq=Ql((e)=>{let{__scopeDialog:r,forceMount:a,children:i,container:s}=e,l=mu(sie,r);return t(wCe,{scope:r,forceMount:a,children:fc.map(i,(c)=>t(cr,{present:a||l.open,children:t(fZ,{asChild:!0,container:s,children:c})}))})},"DialogPortal"),_q="DialogOverlay",Lq=F(Ql(function(r,a){let i=lie(_q,r.__scopeDialog),{forceMount:s=i.forceMount,...l}=r,c=mu(_q,r.__scopeDialog);return c.modal?t(cr,{present:s||c.open,children:t(SCe,{...l,ref:a})}):null},"DialogOverlay")),zCe=Bi("DialogOverlay.RemoveScroll"),SCe=F(Ql(function(r,a){let{__scopeDialog:i,...s}=r,l=mu(_q,i),c=QY(),d=ye(a,c);return t(Mm,{as:zCe,allowPinchZoom:!0,shards:[l.contentRef],children:t(ie.div,{"data-state":dF(l.open),...s,ref:d,style:{pointerEvents:"auto",...s.style}})})},"DialogOverlayImpl")),AD="DialogContent",kq=F(Ql(function(r,a){let i=lie(AD,r.__scopeDialog),{forceMount:s=i.forceMount,...l}=r,c=mu(AD,r.__scopeDialog);return t(cr,{present:s||c.open,children:c.modal?t(LCe,{...l,ref:a}):t(kCe,{...l,ref:a})})},"DialogContent")),LCe=F(Ql(function(r,a){let i=mu(AD,r.__scopeDialog),s=_(null),l=ye(a,i.contentRef,s);return m(()=>{let c=s.current;if(c)return V8(c)},[]),t(cie,{...r,ref:l,trapFocus:i.open,disableOutsidePointerEvents:i.open,onCloseAutoFocus:Y(r.onCloseAutoFocus,(c)=>{c.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:Y(r.onPointerDownOutside,(c)=>{let d=c.detail.originalEvent,h=d.button===0&&d.ctrlKey===!0;if(d.button===2||h)c.preventDefault()}),onFocusOutside:Y(r.onFocusOutside,(c)=>c.preventDefault())})},"DialogContentModal")),kCe=F(Ql(function(r,a){let i=mu(AD,r.__scopeDialog),s=_(!1),l=_(!1);return t(cie,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:(c)=>{if(r.onCloseAutoFocus?.(c),!c.defaultPrevented){if(!s.current)i.triggerRef.current?.focus();c.preventDefault()}s.current=!1,l.current=!1},onInteractOutside:(c)=>{if(r.onInteractOutside?.(c),!c.defaultPrevented){if(s.current=!0,c.detail.originalEvent.type==="pointerdown")l.current=!0}let d=c.target;if(i.triggerRef.current?.contains(d))c.preventDefault();if(c.detail.originalEvent.type==="focusin"&&l.current)c.preventDefault()}})},"DialogContentNonModal")),cie=F(Ql(function(r,a){let{__scopeDialog:i,trapFocus:s,onOpenAutoFocus:l,onCloseAutoFocus:c,...d}=r,h=mu(AD,i);return sZ(),t(L,{children:t(H8,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:l,onUnmountAutoFocus:c,children:t(iZ,{role:"dialog",id:h.contentId,"aria-describedby":h.descriptionPresent?h.descriptionId:void 0,"aria-labelledby":h.titlePresent?h.titleId:void 0,"data-state":dF(h.open),...d,ref:a,deferPointerDownOutside:!0,onDismiss:()=>h.onOpenChange(!1)})})})},"DialogContentImpl")),CCe="DialogTitle",Cq=F(Ql(function(r,a){let{__scopeDialog:i,...s}=r,l=mu(CCe,i),{setTitleCount:c}=l;return Pt(()=>(c((d)=>d+1),()=>c((d)=>d-1)),[c]),t(ie.h2,{id:l.titleId,...s,ref:a})},"DialogTitle")),ICe="DialogDescription",Iq=F(Ql(function(r,a){let{__scopeDialog:i,...s}=r,l=mu(ICe,i),{setDescriptionCount:c}=l;return Pt(()=>(c((d)=>d+1),()=>c((d)=>d-1)),[c]),t(ie.p,{id:l.descriptionId,...s,ref:a})},"DialogDescription")),RCe="DialogClose",ED=F(Ql(function(r,a){let{__scopeDialog:i,...s}=r,l=mu(RCe,i);return t(ie.button,{type:"button",...s,ref:a,onClick:Y(r.onClick,()=>l.onOpenChange(!1))})},"DialogClose"));function dF(e){return e?"open":"closed"}Ql(dF,"getState");var PCe=Object.defineProperty,Lm=(e,r)=>PCe(e,"name",{value:r,configurable:!0}),TCe="AlertDialog",[ACe,XQo]=xt(TCe,[bq]),km=bq(),ECe=Lm((e)=>{let{__scopeAlertDialog:r,...a}=e,i=km(r);return t(wq,{...i,...a,modal:!0})},"AlertDialog"),QQo=F(Lm(function(r,a){let{__scopeAlertDialog:i,...s}=r,l=km(i);return t(zq,{...l,...s,ref:a})},"AlertDialogTrigger")),DCe=Lm((e)=>{let{__scopeAlertDialog:r,...a}=e,i=km(r);return t(Sq,{...i,...a})},"AlertDialogPortal"),OCe=F(Lm(function(r,a){let{__scopeAlertDialog:i,...s}=r,l=km(i);return t(Lq,{...l,...s,ref:a})},"AlertDialogOverlay")),NCe="AlertDialogContent",[FCe,jCe]=ACe(NCe),BCe=F(Lm(function(r,a){let{__scopeAlertDialog:i,children:s,...l}=r,c=km(i),d=_(null),h=ye(a,d),x=_(null);return t(FCe,{scope:i,cancelRef:x,children:t(kq,{role:"alertdialog",...c,...l,ref:h,onOpenAutoFocus:Y(l.onOpenAutoFocus,(v)=>{v.preventDefault(),x.current?.focus({preventScroll:!0})}),onPointerDownOutside:(v)=>v.preventDefault(),onInteractOutside:(v)=>v.preventDefault(),children:s})})},"AlertDialogContent")),UCe=F(Lm(function(r,a){let{__scopeAlertDialog:i,...s}=r,l=km(i);return t(Cq,{...l,...s,ref:a})},"AlertDialogTitle")),YCe=F(Lm(function(r,a){let{__scopeAlertDialog:i,...s}=r,l=km(i);return t(Iq,{...l,...s,ref:a})},"AlertDialogDescription")),qCe=F(Lm(function(r,a){let{__scopeAlertDialog:i,...s}=r,l=km(i);return t(ED,{...l,...s,ref:a})},"AlertDialogAction")),HCe="AlertDialogCancel",VCe=F(Lm(function(r,a){let{__scopeAlertDialog:i,...s}=r,{cancelRef:l}=jCe(HCe,i),c=km(i),d=ye(a,l);return t(ED,{...c,...s,ref:d})},"AlertDialogCancel")),WCe=ECe;var GCe=DCe,KCe=OCe,XCe=BCe,QCe=qCe,JCe=VCe,$Ce=UCe,eIe=YCe;E();var tIe=Object.defineProperty,Cm=(e,r)=>tIe(e,"name",{value:r,configurable:!0}),die="Avatar",[rIe,aJo]=xt(die),oIe=[0,()=>{return}],[aIe,Zie]=rIe(die),nIe=F(Cm(function(r,a){let{__scopeAvatar:i,...s}=r,[l,c]=u("idle"),[d,h]=mie();return t(aIe,{scope:i,imageLoadingStatus:l,setImageLoadingStatus:c,imageCount:d,setImageCount:h,children:t(ie.span,{...s,ref:a})})},"Avatar")),iIe="AvatarImage",fIe=F(Cm(function(r,a){let{__scopeAvatar:i,src:s,onLoadingStatusChange:l,...c}=r,d=Zie(iIe,i);hie(d.setImageCount);let h=pie(s,{referrerPolicy:c.referrerPolicy,crossOrigin:c.crossOrigin,loadingStatus:d.imageLoadingStatus,setLoadingStatus:d.setImageLoadingStatus}),x=$o((y)=>{l?.(y)}),v=_(h);return Pt(()=>{let y=v.current;if(v.current=h,h!==y)x(h)},[h,x]),h==="loaded"?t(ie.img,{...c,ref:a,src:s}):null},"AvatarImage")),sIe="AvatarFallback",lIe=F(Cm(function(r,a){let{__scopeAvatar:i,delayMs:s,...l}=r,c=Zie(sIe,i),[d,h]=u(s===void 0);return m(()=>{if(s!==void 0){let x=window.setTimeout(()=>h(!0),s);return()=>window.clearTimeout(x)}},[s]),d&&c.imageLoadingStatus!=="loaded"?t(ie.span,{...l,ref:a}):null},"AvatarFallback"));function pie(e,{loadingStatus:r,setLoadingStatus:a,referrerPolicy:i,crossOrigin:s}){return Pt(()=>{if(!e){a("error");return}let l=new window.Image,c=Cm((h)=>{let x=h.currentTarget;a(Pq(x))},"handleLoad"),d=Cm(()=>a("error"),"handleError");if(l.addEventListener("load",c),l.addEventListener("error",d),i)l.referrerPolicy=i;return l.crossOrigin=s??null,l.src=e,a(Pq(l)),()=>{l.removeEventListener("load",c),l.removeEventListener("error",d),a("idle")}},[e,s,i,a]),r}Cm(pie,"useImageLoadingStatus");function Pq(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}Cm(Pq,"getImageLoadingStatus");function mie(){let e=oIe;if(Ai){e=u(0);let[r]=e,a=_(!1);m(()=>{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}Cm(mie,"useImageCount");function hie(e){if(Ai)m(()=>(e((r)=>r+1),()=>{e((r)=>r-1)}),[e])}Cm(hie,"useUpdateImageCount");E();E();var cIe=Object.defineProperty,uIe=(e,r)=>cIe(e,"name",{value:r,configurable:!0});function _i(e){let[r,a]=u(void 0);return Pt(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});let i=new ResizeObserver((s)=>{if(!Array.isArray(s))return;if(!s.length)return;let l=s[0],c,d;if("borderBoxSize"in l){let h=l.borderBoxSize,x=Array.isArray(h)?h[0]:h;c=x.inlineSize,d=x.blockSize}else c=e.offsetWidth,d=e.offsetHeight;a({width:c,height:d})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else a(void 0)},[e]),r}uIe(_i,"useSize");var dIe=Object.defineProperty,Rm=(e,r)=>dIe(e,"name",{value:r,configurable:!0}),Tq="Checkbox",[ZIe,mJo]=xt(Tq),[pIe,Aq]=ZIe(Tq);function Mie(e){let{__scopeCheckbox:r,checked:a,children:i,defaultChecked:s,disabled:l,form:c,name:d,onCheckedChange:h,required:x,value:v="on",internal_do_not_use_render:y}=e,[k,b]=Zt({prop:a,defaultProp:s??!1,onChange:h,caller:Tq}),[T,D]=u(null),[U,A]=u(null),j=_(!1),[V,J]=on((re)=>re+1,0),ee=T?!!c||!!T.closest("form"):!0,te={checked:k,disabled:l,setChecked:b,control:T,setControl:D,name:d,form:c,value:v,hasConsumerStoppedPropagationRef:j,userInteractionCount:V,onUserInteraction:J,required:x,defaultChecked:Im(s)?!1:s,isFormControl:ee,bubbleInput:U,setBubbleInput:A};return t(pIe,{scope:r,...te,children:xie(y)?y(te):i})}Rm(Mie,"CheckboxProvider");var mIe="CheckboxTrigger",hIe=F(Rm(function({__scopeCheckbox:r,onKeyDown:a,onClick:i,...s},l){let{control:c,value:d,disabled:h,checked:x,required:v,setControl:y,setChecked:k,hasConsumerStoppedPropagationRef:b,onUserInteraction:T,isFormControl:D,bubbleInput:U}=Aq(mIe,r),A=ye(l,y),j=_(x);return m(()=>{let V=c?.form;if(V){let J=Rm(()=>k(j.current),"reset");return V.addEventListener("reset",J),()=>V.removeEventListener("reset",J)}},[c,k]),t(ie.button,{type:"button",role:"checkbox","aria-checked":Im(x)?"mixed":x,"aria-required":v,"data-state":Eq(x),"data-disabled":h?"":void 0,disabled:h,value:d,...s,ref:A,onKeyDown:Y(a,(V)=>{if(V.key==="Enter")V.preventDefault()}),onClick:Y(i,(V)=>{if(T(),k((J)=>Im(J)?!0:!J),U&&D){if(b.current=V.isPropagationStopped(),!b.current)V.stopPropagation()}})})},"CheckboxTrigger")),gIe=F(Rm(function(r,a){let{__scopeCheckbox:i,name:s,checked:l,defaultChecked:c,required:d,disabled:h,value:x,onCheckedChange:v,form:y,...k}=r;return t(Mie,{__scopeCheckbox:i,checked:l,defaultChecked:c,disabled:h,required:d,onCheckedChange:v,name:s,form:y,value:x,internal_do_not_use_render:({isFormControl:b})=>o(L,{children:[t(hIe,{...k,ref:a,__scopeCheckbox:i}),b&&t(_Ie,{__scopeCheckbox:i})]})})},"Checkbox")),MIe="CheckboxIndicator",xIe=F(Rm(function(r,a){let{__scopeCheckbox:i,forceMount:s,...l}=r,c=Aq(MIe,i);return t(cr,{present:s||Im(c.checked)||c.checked===!0,children:t(ie.span,{"data-state":Eq(c.checked),"data-disabled":c.disabled?"":void 0,...l,ref:a,style:{pointerEvents:"none",...r.style}})})},"CheckboxIndicator")),vIe="CheckboxBubbleInput",_Ie=F(Rm(function({__scopeCheckbox:r,onClick:a,...i},s){let{control:l,hasConsumerStoppedPropagationRef:c,userInteractionCount:d,checked:h,defaultChecked:x,required:v,disabled:y,name:k,value:b,form:T,bubbleInput:D,setBubbleInput:U}=Aq(vIe,r),A=ye(s,U),j=_i(l),V=_(!1),J=_(h),ee=_(d);m(()=>{let re=D;if(!re)return;let ae=window.HTMLInputElement.prototype,be=Object.getOwnPropertyDescriptor(ae,"checked").set,Qe=d!==ee.current;ee.current=d;let Ye=J.current!==h;J.current=h;let Se=!(Qe&&c.current);if(Ye&&be){V.current=!Qe;let Ge=new Event("click",{bubbles:Se});re.indeterminate=Im(h),be.call(re,Im(h)?!1:h),re.dispatchEvent(Ge),V.current=!1}},[D,h,c,d]);let te=_(Im(h)?!1:h);return t(ie.input,{type:"checkbox","aria-hidden":!0,defaultChecked:x??te.current,required:v,disabled:y,name:k,value:b,form:T,...i,tabIndex:-1,ref:A,onClick:Y(a,(re)=>{if(V.current)re.stopPropagation()}),style:{...i.style,...j,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"CheckboxBubbleInput"));function xie(e){return typeof e==="function"}Rm(xie,"isFunction");function Im(e){return e==="indeterminate"}Rm(Im,"isIndeterminate");function Eq(e){return Im(e)?"indeterminate":e?"checked":"unchecked"}Rm(Eq,"getState");E();E();E();var yIe=Object.defineProperty,qi=(e,r)=>yIe(e,"name",{value:r,configurable:!0});function yi(e){let r=e+"CollectionProvider",[a,i]=xt(r),[s,l]=a(r,{collectionRef:{current:null},itemMap:new Map}),c=qi((D)=>{let{scope:U,children:A}=D,j=_(null),V=_(new Map).current;return t(s,{scope:U,itemMap:V,collectionRef:j,children:A})},"CollectionProvider");c.displayName=r;let d=e+"CollectionSlot",h=Bi(d),x=F((D,U)=>{let{scope:A,children:j}=D,V=l(d,A),J=ye(U,V.collectionRef);return t(h,{ref:J,children:j})});x.displayName=d;let v=e+"CollectionItemSlot",y="data-radix-collection-item",k=Bi(v),b=F((D,U)=>{let{scope:A,children:j,...V}=D,J=_(null),ee=ye(U,J),te=l(v,A);return m(()=>(te.itemMap.set(J,{ref:J,...V}),()=>void te.itemMap.delete(J))),t(k,{...{[y]:""},ref:ee,children:j})});b.displayName=v;function T(D){let U=l(e+"CollectionConsumer",D);return P(()=>{let j=U.collectionRef.current;if(!j)return[];let V=Array.from(j.querySelectorAll(`[${y}]`));return Array.from(U.itemMap.values()).sort((te,re)=>V.indexOf(te.ref.current)-V.indexOf(re.ref.current))},[U.collectionRef,U.itemMap])}return qi(T,"useCollection"),[{Provider:c,Slot:x,ItemSlot:b},T,i]}qi(yi,"createCollection");var _ie=new WeakMap,Dq=class e extends Map{static{qi(this,"OrderedDict")}#e;constructor(r){super(r);this.#e=[...super.keys()],_ie.set(this,!0)}set(r,a){if(_ie.get(this))if(this.has(r))this.#e[this.#e.indexOf(r)]=r;else this.#e.push(r);return super.set(r,a),this}insert(r,a,i){let s=this.has(a),l=this.#e.length,c=Nq(r),d=c>=0?c:l+c,h=d<0||d>=l?-1:d;if(h===this.size||s&&h===this.size-1||h===-1)return this.set(a,i),this;let x=this.size+(s?0:1);if(c<0)d++;let v=[...this.#e],y,k=!1;for(let b=d;b<x;b++)if(d===b){let T=v[b];if(v[b]===a)T=v[b+1];if(s)this.delete(a);y=this.get(T),this.set(a,i)}else{if(!k&&v[b-1]===a)k=!0;let T=v[k?b:b-1],D=y;y=this.get(T),this.delete(T),this.set(T,D)}return this}with(r,a,i){let s=new e(this);return s.insert(r,a,i),s}before(r){let a=this.#e.indexOf(r)-1;if(a<0)return;return this.entryAt(a)}setBefore(r,a,i){let s=this.#e.indexOf(r);if(s===-1)return this;return this.insert(s,a,i)}after(r){let a=this.#e.indexOf(r);if(a=a===-1||a===this.size-1?-1:a+1,a===-1)return;return this.entryAt(a)}setAfter(r,a,i){let s=this.#e.indexOf(r);if(s===-1)return this;return this.insert(s+1,a,i)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(r){let a=super.delete(r);if(a)this.#e.splice(this.#e.indexOf(r),1);return a}deleteAt(r){let a=this.keyAt(r);if(a!==void 0)return this.delete(a);return!1}at(r){let a=ZF(this.#e,r);if(a!==void 0)return this.get(a)}entryAt(r){let a=ZF(this.#e,r);if(a!==void 0)return[a,this.get(a)]}indexOf(r){return this.#e.indexOf(r)}keyAt(r){return ZF(this.#e,r)}from(r,a){let i=this.indexOf(r);if(i===-1)return;let s=i+a;if(s<0)s=0;if(s>=this.size)s=this.size-1;return this.at(s)}keyFrom(r,a){let i=this.indexOf(r);if(i===-1)return;let s=i+a;if(s<0)s=0;if(s>=this.size)s=this.size-1;return this.keyAt(s)}find(r,a){let i=0;for(let s of this){if(Reflect.apply(r,a,[s,i,this]))return s;i++}return}findIndex(r,a){let i=0;for(let s of this){if(Reflect.apply(r,a,[s,i,this]))return i;i++}return-1}filter(r,a){let i=[],s=0;for(let l of this){if(Reflect.apply(r,a,[l,s,this]))i.push(l);s++}return new e(i)}map(r,a){let i=[],s=0;for(let l of this)i.push([l[0],Reflect.apply(r,a,[l,s,this])]),s++;return new e(i)}reduce(...r){let[a,i]=r,s=0,l=i??this.at(0);for(let c of this){if(s===0&&r.length===1)l=c;else l=Reflect.apply(a,this,[l,c,s,this]);s++}return l}reduceRight(...r){let[a,i]=r,s=i??this.at(-1);for(let l=this.size-1;l>=0;l--){let c=this.at(l);if(l===this.size-1&&r.length===1)s=c;else s=Reflect.apply(a,this,[s,c,l,this])}return s}toSorted(r){let a=[...this.entries()].sort(r);return new e(a)}toReversed(){let r=new e;for(let a=this.size-1;a>=0;a--){let i=this.keyAt(a),s=this.get(i);r.set(i,s)}return r}toSpliced(...r){let a=[...this.entries()];return a.splice(...r),new e(a)}slice(r,a){let i=new e,s=this.size-1;if(r===void 0)return i;if(r<0)r=r+this.size;if(a!==void 0&&a>0)s=a-1;for(let l=r;l<=s;l++){let c=this.keyAt(l),d=this.get(c);i.set(c,d)}return i}every(r,a){let i=0;for(let s of this){if(!Reflect.apply(r,a,[s,i,this]))return!1;i++}return!0}some(r,a){let i=0;for(let s of this){if(Reflect.apply(r,a,[s,i,this]))return!0;i++}return!1}};function ZF(e,r){if("at"in Array.prototype)return Array.prototype.at.call(e,r);let a=yie(e,r);return a===-1?void 0:e[a]}qi(ZF,"at");function yie(e,r){let a=e.length,i=Nq(r),s=i>=0?i:a+i;return s<0||s>=a?-1:s}qi(yie,"toSafeIndex");function Nq(e){return e!==e||e===0?0:Math.trunc(e)}qi(Nq,"toSafeInteger");function bIe(e){let r=e+"CollectionProvider",[a,i]=xt(r),[s,l]=a(r,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new Dq,setItemMap:qi(()=>{return},"setItemMap")}),c=qi(({state:V,...J})=>V?t(h,{...J,state:V}):t(d,{...J}),"CollectionProvider");c.displayName=r;let d=qi((V)=>{let J=U();return t(h,{...V,state:J})},"CollectionInit");d.displayName=r+"Init";let h=qi((V)=>{let{scope:J,children:ee,state:te}=V,re=_(null),[ae,he]=u(null),be=ye(re,he),[Qe,Ye]=te;return m(()=>{if(!ae)return;let Se=zie(()=>{});return Se.observe(ae,{childList:!0,subtree:!0}),()=>{Se.disconnect()}},[ae]),t(s,{scope:J,itemMap:Qe,setItemMap:Ye,collectionRef:be,collectionRefObject:re,collectionElement:ae,children:ee})},"CollectionProviderImpl");h.displayName=r+"Impl";let x=e+"CollectionSlot",v=Bi(x),y=F((V,J)=>{let{scope:ee,children:te}=V,re=l(x,ee),ae=ye(J,re.collectionRef);return t(v,{ref:ae,children:te})});y.displayName=x;let k=e+"CollectionItemSlot",b="data-radix-collection-item",T=Bi(k),D=F((V,J)=>{let{scope:ee,children:te,...re}=V,ae=_(null),[he,be]=u(null),Qe=ye(J,ae,be),Ye=l(k,ee),{setItemMap:Se}=Ye,Ge=_(re);if(!bie(Ge.current,re))Ge.current=re;let rt=Ge.current;return m(()=>{let tt=rt;return Se((bt)=>{if(!he)return bt;if(!bt.has(he))return bt.set(he,{...tt,element:he}),bt.toSorted(Oq);return bt.set(he,{...tt,element:he}).toSorted(Oq)}),()=>{Se((bt)=>{if(!he||!bt.has(he))return bt;return bt.delete(he),new Dq(bt)})}},[he,rt,Se]),t(T,{...{[b]:""},ref:Qe,children:te})});D.displayName=k;function U(){return u(new Dq)}qi(U,"useInitCollection");function A(V){let{itemMap:J}=l(e+"CollectionConsumer",V);return J}return qi(A,"useCollection"),[{Provider:c,Slot:y,ItemSlot:D},{createCollectionScope:i,useCollection:A,useInitCollection:U}]}qi(bIe,"createCollection");function bie(e,r){if(e===r)return!0;if(typeof e!=="object"||typeof r!=="object")return!1;if(e==null||r==null)return!1;let a=Object.keys(e),i=Object.keys(r);if(a.length!==i.length)return!1;for(let s of a){if(!Object.prototype.hasOwnProperty.call(r,s))return!1;if(e[s]!==r[s])return!1}return!0}qi(bie,"shallowEqual");function wie(e,r){return!!(r.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}qi(wie,"isElementPreceding");function Oq(e,r){return!e[1].element||!r[1].element?0:wie(e[1].element,r[1].element)?-1:1}qi(Oq,"sortByDocumentPosition");function zie(e){return new MutationObserver((a)=>{for(let i of a)if(i.type==="childList"){e();return}})}qi(zie,"getChildListObserver");E();var wIe=Object.defineProperty,zIe=(e,r)=>wIe(e,"name",{value:r,configurable:!0}),SIe=mt(void 0);function Qn(e){let r=vt(SIe);return e||r||"ltr"}zIe(Qn,"useDirection");E();var kie=["top","right","bottom","left"];var{min:lZ,max:hu,round:OD,floor:ND}=Math,cZ=(e)=>({x:e,y:e}),LIe={left:"right",right:"left",bottom:"top",top:"bottom"};function Fq(e,r,a){return hu(e,lZ(r,a))}function uZ(e,r){return typeof e==="function"?e(r):e}function Pm(e){return e.split("-")[0]}function pL(e){return e.split("-")[1]}function mF(e){return e==="x"?"y":"x"}function hF(e){return e==="y"?"height":"width"}function gu(e){let r=e[0];return r==="t"||r==="b"?"y":"x"}function gF(e){return mF(gu(e))}function Cie(e,r,a){if(a===void 0)a=!1;let i=pL(e),s=gF(e),l=hF(s),c=s==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";if(r.reference[l]>r.floating[l])c=DD(c);return[c,DD(c)]}function Iie(e){let r=DD(e);return[pF(e),r,pF(r)]}function pF(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}var Sie=["left","right"],Lie=["right","left"],kIe=["top","bottom"],CIe=["bottom","top"];function IIe(e,r,a){switch(e){case"top":case"bottom":if(a)return r?Lie:Sie;return r?Sie:Lie;case"left":case"right":return r?kIe:CIe;default:return[]}}function Rie(e,r,a,i){let s=pL(e),l=IIe(Pm(e),a==="start",i);if(s){if(l=l.map((c)=>c+"-"+s),r)l=l.concat(l.map(pF))}return l}function DD(e){let r=Pm(e);return LIe[r]+e.slice(r.length)}function RIe(e){var r,a,i,s;return{top:(r=e.top)!=null?r:0,right:(a=e.right)!=null?a:0,bottom:(i=e.bottom)!=null?i:0,left:(s=e.left)!=null?s:0}}function jq(e){return typeof e!=="number"?RIe(e):{top:e,right:e,bottom:e,left:e}}function mL(e){let{x:r,y:a,width:i,height:s}=e;return{width:i,height:s,top:a,left:r,right:r+i,bottom:a+s,x:r,y:a}}function Pie(e,r,a){let{reference:i,floating:s}=e,l=gu(r),c=gF(r),d=hF(c),h=Pm(r),x=l==="y",v=i.x+i.width/2-s.width/2,y=i.y+i.height/2-s.height/2,k=i[d]/2-s[d]/2,b;switch(h){case"top":b={x:v,y:i.y-s.height};break;case"bottom":b={x:v,y:i.y+i.height};break;case"right":b={x:i.x+i.width,y};break;case"left":b={x:i.x-s.width,y};break;default:b={x:i.x,y:i.y}}let T=pL(r);if(T)b[c]+=k*(T==="end"?1:-1)*(a&&x?-1:1);return b}async function Eie(e,r){var a;if(r===void 0)r={};let{x:i,y:s,platform:l,rects:c,elements:d,strategy:h}=e,{boundary:x="clippingAncestors",rootBoundary:v="viewport",elementContext:y="floating",altBoundary:k=!1,padding:b=0}=uZ(r,e),T=jq(b),U=d[k?y==="floating"?"reference":"floating":y],A=mL(await l.getClippingRect({element:((a=await(l.isElement==null?void 0:l.isElement(U)))!=null?a:!0)?U:U.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(d.floating)),boundary:x,rootBoundary:v,strategy:h})),j=y==="floating"?{x:i,y:s,width:c.floating.width,height:c.floating.height}:c.reference,V=await(l.getOffsetParent==null?void 0:l.getOffsetParent(d.floating)),J=await(l.isElement==null?void 0:l.isElement(V))&&await(l.getScale==null?void 0:l.getScale(V))||{x:1,y:1},ee=mL(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:j,offsetParent:V,strategy:h}):j);return{top:(A.top-ee.top+T.top)/J.y,bottom:(ee.bottom-A.bottom+T.bottom)/J.y,left:(A.left-ee.left+T.left)/J.x,right:(ee.right-A.right+T.right)/J.x}}var PIe=50,Die=async(e,r,a)=>{let{placement:i="bottom",strategy:s="absolute",middleware:l=[],platform:c}=a,d=c.detectOverflow?c:{...c,detectOverflow:Eie},h=await(c.isRTL==null?void 0:c.isRTL(r)),x=await c.getElementRects({reference:e,floating:r,strategy:s}),{x:v,y}=Pie(x,i,h),k=i,b=0,T={};for(let D=0;D<l.length;D++){let U=l[D];if(!U)continue;let{name:A,fn:j}=U,{x:V,y:J,data:ee,reset:te}=await j({x:v,y,initialPlacement:i,placement:k,strategy:s,middlewareData:T,rects:x,platform:d,elements:{reference:e,floating:r}});if(v=V!=null?V:v,y=J!=null?J:y,T[A]={...T[A],...ee},te&&b<PIe){if(b++,typeof te==="object"){if(te.placement)k=te.placement;if(te.rects)x=te.rects===!0?await c.getElementRects({reference:e,floating:r,strategy:s}):te.rects;({x:v,y}=Pie(x,k,h))}D=-1}}return{x:v,y,placement:k,strategy:s,middlewareData:T}},Oie=(e)=>({name:"arrow",options:e,async fn(r){let{x:a,y:i,placement:s,rects:l,platform:c,elements:d,middlewareData:h}=r,{element:x,padding:v=0}=uZ(e,r)||{};if(x==null)return{};let y=jq(v),k={x:a,y:i},b=gF(s),T=hF(b),D=await c.getDimensions(x),U=b==="y",A=U?"top":"left",j=U?"bottom":"right",V=U?"clientHeight":"clientWidth",J=l.reference[T]+l.reference[b]-k[b]-l.floating[T],ee=k[b]-l.reference[b],te=await(c.getOffsetParent==null?void 0:c.getOffsetParent(x)),re=te?te[V]:0;if(!re||!await(c.isElement==null?void 0:c.isElement(te)))re=d.floating[V]||l.floating[T];let ae=J/2-ee/2,he=re/2-D[T]/2-1,be=lZ(y[A],he),Qe=lZ(y[j],he),Ye=re-D[T]-Qe,Se=re/2-D[T]/2+ae,Ge=Fq(be,Se,Ye),rt=!h.arrow&&pL(s)!=null&&Se!==Ge&&l.reference[T]/2-(Se<be?be:Qe)-D[T]/2<0,tt=rt?Se<be?Se-be:Se-Ye:0;return{[b]:k[b]+tt,data:{[b]:Ge,centerOffset:Se-Ge-tt,...rt&&{alignmentOffset:tt}},reset:rt}}});var Nie=function(e){if(e===void 0)e={};return{name:"flip",options:e,async fn(r){var a,i;let{placement:s,middlewareData:l,rects:c,initialPlacement:d,platform:h,elements:x}=r,{mainAxis:v=!0,crossAxis:y=!0,fallbackPlacements:k,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:D=!0,...U}=uZ(e,r);if((a=l.arrow)!=null&&a.alignmentOffset)return{};let A=Pm(s),j=gu(d),V=Pm(d)===d,J=await(h.isRTL==null?void 0:h.isRTL(x.floating)),ee=k||(V||!D?[DD(d)]:Iie(d)),te=T!=="none";if(!k&&te)ee.push(...Rie(d,D,T,J));let re=[d,...ee],ae=await h.detectOverflow(r,U),he=[],be=((i=l.flip)==null?void 0:i.overflows)||[];if(v)he.push(ae[A]);if(y){let Ge=Cie(s,c,J);he.push(ae[Ge[0]],ae[Ge[1]])}if(be=[...be,{placement:s,overflows:he}],!he.every((Ge)=>Ge<=0)){var Qe,Ye;let Ge=(((Qe=l.flip)==null?void 0:Qe.index)||0)+1,rt=re[Ge];if(rt){if(!(y==="alignment"?j!==gu(rt):!1)||be.every((jt)=>gu(jt.placement)===j?jt.overflows[0]>0:!0))return{data:{index:Ge,overflows:be},reset:{placement:rt}}}let tt=(Ye=be.filter((bt)=>bt.overflows[0]<=0).sort((bt,jt)=>bt.overflows[1]-jt.overflows[1])[0])==null?void 0:Ye.placement;if(!tt)switch(b){case"bestFit":{var Se;let bt=(Se=be.filter((jt)=>{if(te){let qt=gu(jt.placement);return qt===j||qt==="y"}return!0}).map((jt)=>[jt.placement,jt.overflows.filter((qt)=>qt>0).reduce((qt,se)=>qt+se,0)]).sort((jt,qt)=>jt[1]-qt[1])[0])==null?void 0:Se[0];if(bt)tt=bt;break}case"initialPlacement":tt=d;break}if(s!==tt)return{reset:{placement:tt}}}return{}}}};function Tie(e,r){return{top:e.top-r.height,right:e.right-r.width,bottom:e.bottom-r.height,left:e.left-r.width}}function Aie(e){return kie.some((r)=>e[r]>=0)}var Fie=function(e){if(e===void 0)e={};return{name:"hide",options:e,async fn(r){let{rects:a,platform:i}=r,{strategy:s="referenceHidden",...l}=uZ(e,r);switch(s){case"referenceHidden":{let c=await i.detectOverflow(r,{...l,elementContext:"reference"}),d=Tie(c,a.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:Aie(d)}}}case"escaped":{let c=await i.detectOverflow(r,{...l,altBoundary:!0}),d=Tie(c,a.floating);return{data:{escapedOffsets:d,escaped:Aie(d)}}}default:return{}}}}};var jie=new Set(["left","top"]);async function TIe(e,r){let{placement:a,platform:i,elements:s}=e,l=await(i.isRTL==null?void 0:i.isRTL(s.floating)),c=Pm(a),d=pL(a),h=gu(a)==="y",x=jie.has(c)?-1:1,v=l&&h?-1:1,y=uZ(r,e),{mainAxis:k,crossAxis:b,alignmentAxis:T}=typeof y==="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};if(d&&typeof T==="number")b=d==="end"?T*-1:T;return h?{x:b*v,y:k*x}:{x:k*x,y:b*v}}var Bie=function(e){if(e===void 0)e=0;return{name:"offset",options:e,async fn(r){var a,i;let{x:s,y:l,placement:c,middlewareData:d}=r,h=await TIe(r,e);if(c===((a=d.offset)==null?void 0:a.placement)&&(i=d.arrow)!=null&&i.alignmentOffset)return{};return{x:s+h.x,y:l+h.y,data:{...h,placement:c}}}}},Uie=function(e){if(e===void 0)e={};return{name:"shift",options:e,async fn(r){let{x:a,y:i,placement:s,platform:l}=r,{mainAxis:c=!0,crossAxis:d=!1,limiter:h={fn:(j)=>{let{x:V,y:J}=j;return{x:V,y:J}}},...x}=uZ(e,r),v={x:a,y:i},y=await l.detectOverflow(r,x),k=gu(s),b=mF(k),T=v[b],D=v[k],U=(j,V)=>Fq(V+y[j==="y"?"top":"left"],V,V-y[j==="y"?"bottom":"right"]);if(c)T=U(b,T);if(d)D=U(k,D);let A=h.fn({...r,[b]:T,[k]:D});return{...A,data:{x:A.x-a,y:A.y-i,enabled:{[b]:c,[k]:d}}}}}},Yie=function(e){if(e===void 0)e={};return{options:e,fn(r){var a,i;let{x:s,y:l,placement:c,rects:d,middlewareData:h}=r,{offset:x=0,mainAxis:v=!0,crossAxis:y=!0}=uZ(e,r),k={x:s,y:l},b=gu(c),T=mF(b),D=k[T],U=k[b],A=uZ(x,r),j=typeof A==="number"?{mainAxis:A,crossAxis:0}:{mainAxis:(a=A.mainAxis)!=null?a:0,crossAxis:(i=A.crossAxis)!=null?i:0};if(v){let ee=T==="y"?"height":"width",te=d.reference[T]-d.floating[ee]+j.mainAxis,re=d.reference[T]+d.reference[ee]-j.mainAxis;if(D<te)D=te;else if(D>re)D=re}if(y){var V,J;let ee=T==="y"?"width":"height",te=jie.has(Pm(c)),re=d.reference[b]-d.floating[ee]+(te?((V=h.offset)==null?void 0:V[b])||0:0)+(te?0:j.crossAxis),ae=d.reference[b]+d.reference[ee]+(te?0:((J=h.offset)==null?void 0:J[b])||0)-(te?j.crossAxis:0);if(U<re)U=re;else if(U>ae)U=ae}return{[T]:D,[b]:U}}}},qie=function(e){if(e===void 0)e={};return{name:"size",options:e,async fn(r){let{placement:a,rects:i,platform:s,elements:l}=r,{apply:c=()=>{},...d}=uZ(e,r),h=await s.detectOverflow(r,d),x=Pm(a),v=pL(a),y=gu(a)==="y",{width:k,height:b}=i.floating,T,D;if(x==="top"||x==="bottom")T=x,D=v===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right";else D=x,T=v==="end"?"top":"bottom";let U=b-h.top-h.bottom,A=k-h.left-h.right,j=lZ(b-h[T],U),V=lZ(k-h[D],A),J=r.middlewareData.shift,ee=!J,te=j,re=V;if(J!=null&&J.enabled.x)re=A;if(J!=null&&J.enabled.y)te=U;if(ee&&!v)if(y)re=k-2*hu(h.left,h.right);else te=b-2*hu(h.top,h.bottom);await c({...r,availableWidth:re,availableHeight:te});let ae=await s.getDimensions(l.floating);if(k!==ae.width||b!==ae.height)return{reset:{rects:!0}};return{}}}};function MF(){return typeof window<"u"}function ML(e){if(Vie(e))return(e.nodeName||"").toLowerCase();return"#document"}function cs(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function dZ(e){var r;return(r=(Vie(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function Vie(e){if(!MF())return!1;return e instanceof Node||e instanceof cs(e).Node}function Mu(e){if(!MF())return!1;return e instanceof Element||e instanceof cs(e).Element}function Tm(e){if(!MF())return!1;return e instanceof HTMLElement||e instanceof cs(e).HTMLElement}function Hie(e){if(!MF()||typeof ShadowRoot>"u")return!1;return e instanceof ShadowRoot||e instanceof cs(e).ShadowRoot}function FD(e){let{overflow:r,overflowX:a,overflowY:i,display:s}=xu(e);return/auto|scroll|overlay|hidden|clip/.test(r+i+a)&&s!=="inline"&&s!=="contents"}function Wie(e){return/^(table|td|th)$/.test(ML(e))}function jD(e){try{if(e.matches(":popover-open"))return!0}catch(r){}try{return e.matches(":modal")}catch(r){return!1}}var AIe=/transform|translate|scale|rotate|perspective|filter/,EIe=/paint|layout|strict|content/,hL=(e)=>!!e&&e!=="none",Bq;function xF(e){let r=Mu(e)?xu(e):e;return hL(r.transform)||hL(r.translate)||hL(r.scale)||hL(r.rotate)||hL(r.perspective)||!vF()&&(hL(r.backdropFilter)||hL(r.filter))||AIe.test(r.willChange||"")||EIe.test(r.contain||"")}function Gie(e){let r=W8(e);while(Tm(r)&&!TR(r)){if(xF(r))return r;else if(jD(r))return null;r=W8(r)}return null}function vF(){if(Bq==null)Bq=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none");return Bq}function TR(e){return/^(html|body|#document)$/.test(ML(e))}function xu(e){return cs(e).getComputedStyle(e)}function BD(e){if(Mu(e))return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop};return{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function W8(e){if(ML(e)==="html")return e;let r=e.assignedSlot||e.parentNode||Hie(e)&&e.host||dZ(e);return Hie(r)?r.host:r}function Kie(e){let r=W8(e);if(TR(r))return(e.ownerDocument||e).body;if(Tm(r)&&FD(r))return r;return Kie(r)}function gL(e,r,a){var i;if(r===void 0)r=[];if(a===void 0)a=!0;let s=Kie(e),l=s===((i=e.ownerDocument)==null?void 0:i.body),c=cs(s);if(l){let d=_F(c);return r.concat(c,c.visualViewport||[],FD(s)?s:[],d&&a?gL(d):[])}else return r.concat(s,gL(s,[],a))}function _F(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Jie(e){let r=xu(e),a=parseFloat(r.width)||0,i=parseFloat(r.height)||0,s=Tm(e),l=s?e.offsetWidth:a,c=s?e.offsetHeight:i,d=OD(a)!==l||OD(i)!==c;if(d)a=l,i=c;return{width:a,height:i,$:d}}function Yq(e){return!Mu(e)?e.contextElement:e}function AR(e){let r=Yq(e);if(!Tm(r))return cZ(1);let a=r.getBoundingClientRect(),{width:i,height:s,$:l}=Jie(r),c=(l?OD(a.width):a.width)/i,d=(l?OD(a.height):a.height)/s;if(!c||!Number.isFinite(c))c=1;if(!d||!Number.isFinite(d))d=1;return{x:c,y:d}}var DIe=cZ(0);function $ie(e){let r=cs(e);if(!vF()||!r.visualViewport)return DIe;return{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function OIe(e,r,a){if(r===void 0)r=!1;return!!a&&r&&a===cs(e)}function xL(e,r,a,i){if(r===void 0)r=!1;if(a===void 0)a=!1;let s=e.getBoundingClientRect(),l=Yq(e),c=cZ(1);if(r)if(i){if(Mu(i))c=AR(i)}else c=AR(e);let d=OIe(l,a,i)?$ie(l):cZ(0),h=(s.left+d.x)/c.x,x=(s.top+d.y)/c.y,v=s.width/c.x,y=s.height/c.y;if(l&&i){let k=cs(l),b=Mu(i)?cs(i):i,T=k,D=_F(T);while(D&&b!==T){let U=AR(D),A=D.getBoundingClientRect(),j=xu(D),V=A.left+(D.clientLeft+parseFloat(j.paddingLeft))*U.x,J=A.top+(D.clientTop+parseFloat(j.paddingTop))*U.y;h*=U.x,x*=U.y,v*=U.x,y*=U.y,h+=V,x+=J,T=cs(D),D=_F(T)}}return mL({width:v,height:y,x:h,y:x})}function yF(e,r){let a=BD(e).scrollLeft;if(!r)return xL(dZ(e)).left+a;return r.left+a}function efe(e,r){let a=e.getBoundingClientRect(),i=a.left+r.scrollLeft-yF(e,a),s=a.top+r.scrollTop;return{x:i,y:s}}function NIe(e){let{elements:r,rect:a,offsetParent:i,strategy:s}=e,l=s==="fixed",c=dZ(i),d=r?jD(r.floating):!1;if(i===c||d&&l)return a;let h={scrollLeft:0,scrollTop:0},x=cZ(1),v=cZ(0),y=Tm(i);if(y||!l){if(ML(i)!=="body"||FD(c))h=BD(i);if(y){let b=xL(i);x=AR(i),v.x=b.x+i.clientLeft,v.y=b.y+i.clientTop}}let k=c&&!y&&!l?efe(c,h):cZ(0);return{width:a.width*x.x,height:a.height*x.y,x:a.x*x.x-h.scrollLeft*x.x+v.x+k.x,y:a.y*x.y-h.scrollTop*x.y+v.y+k.y}}function FIe(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function jIe(e){let r=BD(e),a=e.ownerDocument.body,i=hu(e.scrollWidth,e.clientWidth,a.scrollWidth,a.clientWidth),s=hu(e.scrollHeight,e.clientHeight,a.scrollHeight,a.clientHeight),l=-r.scrollLeft+yF(e),c=-r.scrollTop;if(xu(a).direction==="rtl")l+=hu(e.clientWidth,a.clientWidth)-i;return{width:i,height:s,x:l,y:c}}var BIe=25;function UIe(e,r,a){if(a===void 0)a="viewport";let i=a==="layoutViewport",s=cs(e),l=dZ(e),c=s.visualViewport,{clientWidth:d,clientHeight:h}=l,x=0,v=0;if(c){let k=!vF()||r==="fixed";if(i){if(!k)x=-c.offsetLeft,v=-c.offsetTop}else if(d=c.width,h=c.height,k)x=c.offsetLeft,v=c.offsetTop}if(yF(l)<=0){let k=l.ownerDocument,b=k.body,T=getComputedStyle(b),D=k.compatMode==="CSS1Compat"?parseFloat(T.marginLeft)+parseFloat(T.marginRight)||0:0,U=Math.abs(l.clientWidth-b.clientWidth-D),A=getComputedStyle(l).scrollbarGutter==="stable both-edges"?U/2:U;if(A<=BIe)d-=A}return{width:d,height:h,x,y:v}}function YIe(e,r){let a=xL(e,!0,r==="fixed"),i=a.top+e.clientTop,s=a.left+e.clientLeft,l=AR(e),c=e.clientWidth*l.x,d=e.clientHeight*l.y,h=s*l.x,x=i*l.y;return{width:c,height:d,x:h,y:x}}function Xie(e,r,a){let i;if(r==="viewport"||r==="layoutViewport")i=UIe(e,a,r);else if(r==="document")i=jIe(dZ(e));else if(Mu(r))i=YIe(r,a);else{let s=$ie(e);i={x:r.x-s.x,y:r.y-s.y,width:r.width,height:r.height}}return mL(i)}function qIe(e,r){let a=r.get(e);if(a)return a;let i=gL(e,[],!1).filter((d)=>Mu(d)&&ML(d)!=="body"),s=null,l=xu(e).position==="fixed",c=l?W8(e):e;while(Mu(c)&&!TR(c)){let d=xu(c),h=xF(c),x=s?s.position:l?"fixed":"";if(!h&&(x==="fixed"||x==="absolute"&&d.position==="static"))i=i.filter((y)=>y!==c);else s=d;c=W8(c)}return r.set(e,i),i}function HIe(e){let{element:r,boundary:a,rootBoundary:i,strategy:s}=e,c=[...a==="clippingAncestors"?jD(r)?[]:qIe(r,this._c):[].concat(a),i],d=Xie(r,c[0],s),{top:h,right:x,bottom:v,left:y}=d;for(let k=1;k<c.length;k++){let b=Xie(r,c[k],s);h=hu(b.top,h),x=lZ(b.right,x),v=lZ(b.bottom,v),y=hu(b.left,y)}return{width:x-y,height:v-h,x:y,y:h}}function VIe(e){let{width:r,height:a}=Jie(e);return{width:r,height:a}}function WIe(e,r,a){let i=Tm(r),s=dZ(r),l=a==="fixed",c=xL(e,!0,l,r),d={scrollLeft:0,scrollTop:0},h=cZ(0);if(i||!l){if(ML(r)!=="body"||FD(s))d=BD(r);if(i){let k=xL(r,!0,l,r);h.x=k.x+r.clientLeft,h.y=k.y+r.clientTop}}if(!i&&s)h.x=yF(s);let x=s&&!i&&!l?efe(s,d):cZ(0),v=c.left+d.scrollLeft-h.x-x.x,y=c.top+d.scrollTop-h.y-x.y;return{x:v,y,width:c.width,height:c.height}}function Uq(e){return xu(e).position==="static"}function Qie(e,r){if(!Tm(e)||xu(e).position==="fixed")return null;if(r)return r(e);let a=e.offsetParent;if(dZ(e)===a)a=a.ownerDocument.body;return a}function tfe(e,r){let a=cs(e);if(jD(e))return a;if(!Tm(e)){let s=W8(e);while(s&&!TR(s)){if(Mu(s)&&!Uq(s))return s;s=W8(s)}return a}let i=Qie(e,r);while(i&&Wie(i)&&Uq(i))i=Qie(i,r);if(i&&TR(i)&&Uq(i)&&!xF(i))return a;return i||Gie(e)||a}var GIe=async function(e){let r=this.getOffsetParent||tfe,a=this.getDimensions,i=await a(e.floating);return{reference:WIe(e.reference,await r(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function KIe(e){return xu(e).direction==="rtl"}var rfe={convertOffsetParentRelativeRectToViewportRelativeRect:NIe,getDocumentElement:dZ,getClippingRect:HIe,getOffsetParent:tfe,getElementRects:GIe,getClientRects:FIe,getDimensions:VIe,getScale:AR,isElement:Mu,isRTL:KIe};function ofe(e,r){return e.x===r.x&&e.y===r.y&&e.width===r.width&&e.height===r.height}function XIe(e,r,a){let i=null,s,l=dZ(e);function c(){var v;clearTimeout(s),(v=i)==null||v.disconnect(),i=null}function d(v,y){if(v===void 0)v=!1;if(y===void 0)y=1;c();let k=e.getBoundingClientRect(),{left:b,top:T,width:D,height:U}=k;if(!v)r();if(!D||!U)return;let A=ND(T),j=ND(l.clientWidth-(b+D)),V=ND(l.clientHeight-(T+U)),J=ND(b),te={rootMargin:-A+"px "+-j+"px "+-V+"px "+-J+"px",threshold:hu(0,lZ(1,y))||1},re=!0;function ae(he){let be=he[0].intersectionRatio;if(!ofe(k,e.getBoundingClientRect()))return d();if(be!==y){if(!re)return d();if(!be)s=setTimeout(()=>{d(!1,0.0000001)},1000);else d(!1,be)}re=!1}try{i=new IntersectionObserver(ae,{...te,root:l.ownerDocument})}catch(he){i=new IntersectionObserver(ae,te)}i.observe(e)}let h=cs(e),x=()=>d(a);return h.addEventListener("resize",x),d(!0),()=>{h.removeEventListener("resize",x),c()}}function qq(e,r,a,i){if(i===void 0)i={};let{ancestorScroll:s=!0,ancestorResize:l=!0,elementResize:c=typeof ResizeObserver==="function",layoutShift:d=typeof IntersectionObserver==="function",animationFrame:h=!1}=i,x=Yq(e),v=s||l?[...x?gL(x):[],...r?gL(r):[]]:[];v.forEach((A)=>{s&&A.addEventListener("scroll",a),l&&A.addEventListener("resize",a)});let y=x&&d?XIe(x,a,l):null,k=-1,b=null;if(c){if(b=new ResizeObserver((A)=>{let[j]=A;if(j&&j.target===x&&b&&r)b.unobserve(r),cancelAnimationFrame(k),k=requestAnimationFrame(()=>{var V;(V=b)==null||V.observe(r)});a()}),x&&!h)b.observe(x);if(r)b.observe(r)}let T,D=h?xL(e):null;if(h)U();function U(){let A=xL(e);if(D&&!ofe(D,A))a();D=A,T=requestAnimationFrame(U)}return a(),()=>{var A;if(v.forEach((j)=>{s&&j.removeEventListener("scroll",a),l&&j.removeEventListener("resize",a)}),y==null||y(),(A=b)==null||A.disconnect(),b=null,h)cancelAnimationFrame(T)}}var afe=Bie;var nfe=Uie,ife=Nie,ffe=qie,sfe=Fie,Hq=Oie;var lfe=Yie,Vq=(e,r,a)=>{let i=new Map,s=a!=null?a:{},l={...rfe,...s.platform,_c:i};return Die(e,r,{...s,platform:l})};E();E();var QIe=typeof document<"u",JIe=function(){},bF=QIe?Ue:JIe;function wF(e,r){if(e===r)return!0;if(typeof e!==typeof r)return!1;if(typeof e==="function"&&e.toString()===r.toString())return!0;let a,i,s;if(e&&r&&typeof e==="object"){if(Array.isArray(e)){if(a=e.length,a!==r.length)return!1;for(i=a;i--!==0;)if(!wF(e[i],r[i]))return!1;return!0}if(s=Object.keys(e),a=s.length,a!==Object.keys(r).length)return!1;for(i=a;i--!==0;)if(!{}.hasOwnProperty.call(r,s[i]))return!1;for(i=a;i--!==0;){let l=s[i];if(l==="_owner"&&e.$$typeof)continue;if(!wF(e[l],r[l]))return!1}return!0}return e!==e&&r!==r}function ufe(e){if(typeof window>"u")return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function cfe(e,r){let a=ufe(e);return Math.round(r*a)/a}function Wq(e){let r=_(e);return bF(()=>{r.current=e}),r}function dfe(e){if(e===void 0)e={};let{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:s,elements:{reference:l,floating:c}={},transform:d=!0,whileElementsMounted:h,open:x}=e,[v,y]=u({x:0,y:0,strategy:a,placement:r,middlewareData:{},isPositioned:!1}),[k,b]=u(i);if(!wF(k,i))b(i);let[T,D]=u(null),[U,A]=u(null),j=P((jt)=>{if(jt!==te.current)te.current=jt,D(jt)},[]),V=P((jt)=>{if(jt!==re.current)re.current=jt,A(jt)},[]),J=l||T,ee=c||U,te=_(null),re=_(null),ae=_(v),he=h!=null,be=Wq(h),Qe=Wq(s),Ye=Wq(x),Se=P(()=>{if(!te.current||!re.current)return;let jt={placement:r,strategy:a,middleware:k};if(Qe.current)jt.platform=Qe.current;Vq(te.current,re.current,jt).then((qt)=>{let se={...qt,isPositioned:Ye.current!==!1};if(Ge.current&&!wF(ae.current,se))ae.current=se,sn(()=>{y(se)})})},[k,r,a,Qe,Ye]);bF(()=>{if(x===!1&&ae.current.isPositioned)ae.current.isPositioned=!1,y((jt)=>({...jt,isPositioned:!1}))},[x]);let Ge=_(!1);bF(()=>(Ge.current=!0,()=>{Ge.current=!1}),[]),bF(()=>{if(J)te.current=J;if(ee)re.current=ee;if(J&&ee){if(be.current)return be.current(J,ee,Se);Se()}},[J,ee,Se,be,he]);let rt=N(()=>({reference:te,floating:re,setReference:j,setFloating:V}),[j,V]),tt=N(()=>({reference:J,floating:ee}),[J,ee]),bt=N(()=>{let jt={position:a,left:0,top:0};if(!tt.floating)return jt;let qt=cfe(tt.floating,v.x),se=cfe(tt.floating,v.y);if(d)return{...jt,transform:"translate("+qt+"px, "+se+"px)",...ufe(tt.floating)>=1.5&&{willChange:"transform"}};return{position:a,left:qt,top:se}},[a,d,tt.floating,v.x,v.y]);return N(()=>({...v,update:Se,refs:rt,elements:tt,floatingStyles:bt}),[v,Se,rt,tt,bt])}var $Ie=(e)=>{function r(a){return{}.hasOwnProperty.call(a,"current")}return{name:"arrow",options:e,fn(a){let{element:i,padding:s}=typeof e==="function"?e(a):e;if(i&&r(i)){if(i.current!=null)return Hq({element:i.current,padding:s}).fn(a);return{}}if(i)return Hq({element:i,padding:s}).fn(a);return{}}}},Zfe=(e,r)=>{let a=afe(e);return{name:a.name,fn:a.fn,options:[e,r]}},pfe=(e,r)=>{let a=nfe(e);return{name:a.name,fn:a.fn,options:[e,r]}},mfe=(e,r)=>({fn:lfe(e).fn,options:[e,r]}),hfe=(e,r)=>{let a=ife(e);return{name:a.name,fn:a.fn,options:[e,r]}},gfe=(e,r)=>{let a=ffe(e);return{name:a.name,fn:a.fn,options:[e,r]}};var Mfe=(e,r)=>{let a=sfe(e);return{name:a.name,fn:a.fn,options:[e,r]}};var xfe=(e,r)=>{let a=$Ie(e);return{name:a.name,fn:a.fn,options:[e,r]}};E();var e1e=Object.defineProperty,t1e=(e,r)=>e1e(e,"name",{value:r,configurable:!0}),r1e=F(t1e(function(r,a){let{children:i,width:s=10,height:l=5,...c}=r;return t(ie.svg,{...c,ref:a,width:s,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:r.asChild?i:t("polygon",{points:"0,0 30,0 15,10"})})},"Arrow")),vfe=r1e;var a1e=Object.defineProperty,Em=(e,r)=>a1e(e,"name",{value:r,configurable:!0});var _fe="Popper",[yfe,yc]=xt(_fe),[n1e,bfe]=yfe(_fe),i1e=Em((e)=>{let{__scopePopper:r,children:a}=e,[i,s]=u(null),[l,c]=u(void 0);return t(n1e,{scope:r,anchor:i,onAnchorChange:s,placementState:l,setPlacementState:c,children:a})},"Popper"),f1e="PopperAnchor",s1e=F(Em(function(r,a){let{__scopePopper:i,virtualRef:s,...l}=r,c=bfe(f1e,i),d=_(null),h=c.onAnchorChange,x=P((D)=>{if(d.current=D,D)h(D)},[h]),v=ye(a,x),y=_(null);m(()=>{if(!s)return;let D=y.current;if(y.current=s.current,D!==y.current)h(y.current)});let k=c.placementState&&zF(c.placementState),b=k?.[0],T=k?.[1];return s?null:t(ie.div,{"data-radix-popper-side":b,"data-radix-popper-align":T,...l,ref:v})},"PopperAnchor")),wfe="PopperContent",[l1e,c1e]=yfe(wfe),u1e=F(Em(function(r,a){let{__scopePopper:i,side:s="bottom",sideOffset:l=0,align:c="center",alignOffset:d=0,arrowPadding:h=0,avoidCollisions:x=!0,collisionBoundary:v=[],collisionPadding:y=0,sticky:k="partial",hideWhenDetached:b=!1,updatePositionStrategy:T="optimized",onPlaced:D,...U}=r,A=bfe(wfe,i),[j,V]=u(null),J=ye(a,V),[ee,te]=u(null),re=_i(ee),ae=re?.width??0,he=re?.height??0,be=s+(c!=="center"?"-"+c:""),Qe=typeof y==="number"?y:{top:0,right:0,bottom:0,left:0,...y},Ye=Array.isArray(v)?v:[v],Se=Ye.length>0,Ge={padding:Qe,boundary:Ye.filter(zfe),altBoundary:Se},{refs:rt,floatingStyles:tt,placement:bt,isPositioned:jt,middlewareData:qt}=dfe({strategy:"fixed",placement:be,whileElementsMounted:Em((...Xt)=>qq(...Xt,{animationFrame:T==="always"}),"whileElementsMounted"),elements:{reference:A.anchor},middleware:[Zfe({mainAxis:l+he,alignmentAxis:d}),x&&pfe({mainAxis:!0,crossAxis:!1,limiter:k==="partial"?mfe():void 0,...Ge}),x&&hfe({...Ge}),gfe({...Ge,apply:Em(({elements:Xt,rects:Pr,availableWidth:zr,availableHeight:Ar})=>{let{width:hr,height:go}=Pr.reference,po=Xt.floating.style;po.setProperty("--radix-popper-available-width",`${zr}px`),po.setProperty("--radix-popper-available-height",`${Ar}px`),po.setProperty("--radix-popper-anchor-width",`${hr}px`),po.setProperty("--radix-popper-anchor-height",`${go}px`)},"apply")}),ee&&xfe({element:ee,padding:h}),m1e({arrowWidth:ae,arrowHeight:he}),b&&Mfe({strategy:"referenceHidden",...Ge,boundary:Se?Ge.boundary:void 0})]}),se=A.setPlacementState;Pt(()=>(se(bt),()=>{se(void 0)}),[bt,se]);let[St,Ht]=zF(bt),Oe=$o(D);Pt(()=>{if(jt)Oe?.()},[jt,Oe]);let nr=qt.arrow?.x,fr=qt.arrow?.y,er=qt.arrow?.centerOffset!==0,[Ur,Vt]=u();return Pt(()=>{if(j)Vt(window.getComputedStyle(j).zIndex)},[j]),t("div",{ref:rt.setFloating,"data-radix-popper-content-wrapper":"",style:{...tt,transform:jt?tt.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ur,"--radix-popper-transform-origin":[qt.transformOrigin?.x,qt.transformOrigin?.y].join(" "),...qt.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:r.dir,children:t(l1e,{scope:i,placedSide:St,placedAlign:Ht,onArrowChange:te,arrowX:nr,arrowY:fr,shouldHideArrow:er,children:t(ie.div,{"data-side":St,"data-align":Ht,...U,ref:J,style:{...U.style,animation:!jt?"none":U.style?.animation}})})})},"PopperContent")),d1e="PopperArrow",Z1e={top:"bottom",right:"left",bottom:"top",left:"right"},p1e=F(Em(function(r,a){let{__scopePopper:i,...s}=r,l=c1e(d1e,i),c=Z1e[l.placedSide];return t("span",{ref:l.onArrowChange,style:{position:"absolute",left:l.arrowX,top:l.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[l.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[l.placedSide],visibility:l.shouldHideArrow?"hidden":void 0},children:t(vfe,{...s,ref:a,style:{...s.style,display:"block"}})})},"PopperArrow"));function zfe(e){return e!==null}Em(zfe,"isNotNull");var m1e=Em((e)=>({name:"transformOrigin",options:e,fn(r){let{placement:a,rects:i,middlewareData:s}=r,c=s.arrow?.centerOffset!==0,d=c?0:e.arrowWidth,h=c?0:e.arrowHeight,[x,v]=zF(a),y={start:"0%",center:"50%",end:"100%"}[v],k=(s.arrow?.x??0)+d/2,b=(s.arrow?.y??0)+h/2,T="",D="";if(x==="bottom")T=c?y:`${k}px`,D=`${-h}px`;else if(x==="top")T=c?y:`${k}px`,D=`${i.floating.height+h}px`;else if(x==="right")T=`${-h}px`,D=c?y:`${b}px`;else if(x==="left")T=`${i.floating.width+h}px`,D=c?y:`${b}px`;return{data:{x:T,y:D}}}}),"transformOrigin");function zF(e){let[r,a="center"]=e.split("-");return[r,a]}Em(zF,"getSideAndAlignFromPlacement");var Dm=i1e,G8=s1e,K8=u1e,UD=p1e;E();E();E();var h1e=Object.defineProperty,Kq=(e,r)=>h1e(e,"name",{value:r,configurable:!0}),Gq=!1;function Sfe(){let[e,r]=u(Gq);return m(()=>{if(!Gq)Gq=!0,r(!0)},[]),e}Kq(Sfe,"useIsHydrated");var Lfe=Q[" useSyncExternalStore ".trim().toString()];function kfe(){return()=>{}}Kq(kfe,"subscribe");function Cfe(){return Lfe(kfe,()=>!0,()=>!1)}Kq(Cfe,"useIsHydratedModern");var Ife=typeof Lfe==="function"?Cfe:Sfe;var g1e=Object.defineProperty,vL=(e,r)=>g1e(e,"name",{value:r,configurable:!0}),Xq="rovingFocusGroup.onEntryFocus",M1e={bubbles:!1,cancelable:!0},LF="RovingFocusGroup",[Qq,Rfe,x1e]=yi(LF),[v1e,bi]=xt(LF,[x1e]),[_1e,y1e]=v1e(LF),b1e=F(vL(function(r,a){return t(Qq.Provider,{scope:r.__scopeRovingFocusGroup,children:t(Qq.Slot,{scope:r.__scopeRovingFocusGroup,children:t(w1e,{...r,ref:a})})})},"RovingFocusGroup")),w1e=F(vL(function(r,a){let{__scopeRovingFocusGroup:i,orientation:s,loop:l=!1,dir:c,currentTabStopId:d,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:x,onEntryFocus:v,preventScrollOnEntryFocus:y=!1,...k}=r,b=_(null),T=ye(a,b),D=Qn(c),[U,A]=Zt({prop:d,defaultProp:h??null,onChange:x,caller:LF}),[j,V]=u(!1),J=$o(v),ee=Rfe(i),te=_(!1),[re,ae]=u(0);return m(()=>{let he=b.current;if(he)return he.addEventListener(Xq,J),()=>he.removeEventListener(Xq,J)},[J]),t(_1e,{scope:i,orientation:s,dir:D,loop:l,currentTabStopId:U,onItemFocus:P((he)=>A(he),[A]),onItemShiftTab:P(()=>V(!0),[]),onFocusableItemAdd:P(()=>ae((he)=>he+1),[]),onFocusableItemRemove:P(()=>ae((he)=>he-1),[]),children:t(ie.div,{tabIndex:j||re===0?-1:0,"data-orientation":s,...k,ref:T,style:{outline:"none",...r.style},onMouseDown:Y(r.onMouseDown,()=>{te.current=!0}),onFocus:Y(r.onFocus,(he)=>{let be=!te.current;if(he.target===he.currentTarget&&be&&!j){let Qe=new CustomEvent(Xq,M1e);if(he.currentTarget.dispatchEvent(Qe),!Qe.defaultPrevented){let Ye=ee().filter((bt)=>bt.focusable),Se=Ye.find((bt)=>bt.active),Ge=Ye.find((bt)=>bt.id===U),tt=[Se,Ge,...Ye].filter(Boolean).map((bt)=>bt.ref.current);Jq(tt,y)}}te.current=!1}),onBlur:Y(r.onBlur,()=>V(!1))})})},"RovingFocusGroupImpl")),z1e="RovingFocusGroupItem",S1e=F(vL(function(r,a){let{__scopeRovingFocusGroup:i,focusable:s=!0,active:l=!1,tabStopId:c,children:d,...h}=r,x=Cr(),v=c||x,y=y1e(z1e,i),k=y.currentTabStopId===v,b=Rfe(i),{onFocusableItemAdd:T,onFocusableItemRemove:D,currentTabStopId:U}=y,A=Ife();return Pt(()=>{if(!A||!s)return;return T(),()=>D()},[A,s,T,D]),m(()=>{if(A||!s)return;return T(),()=>D()},[A,s,T,D]),t(Qq.ItemSlot,{scope:i,id:v,focusable:s,active:l,children:t(ie.span,{tabIndex:k?0:-1,"data-orientation":y.orientation,...h,ref:a,onMouseDown:Y(r.onMouseDown,(j)=>{if(!s)j.preventDefault();else y.onItemFocus(v)}),onFocus:Y(r.onFocus,()=>y.onItemFocus(v)),onKeyDown:Y(r.onKeyDown,(j)=>{if(j.key==="Tab"&&j.shiftKey){y.onItemShiftTab();return}if(j.target!==j.currentTarget)return;let V=Tfe(j,y.orientation,y.dir);if(V!==void 0){if(j.metaKey||j.ctrlKey||j.altKey||j.shiftKey)return;j.preventDefault();let ee=b().filter((te)=>te.focusable).map((te)=>te.ref.current);if(V==="last")ee.reverse();else if(V==="prev"||V==="next"){if(V==="prev")ee.reverse();let te=ee.indexOf(j.currentTarget);ee=y.loop?Afe(ee,te+1):ee.slice(te+1)}setTimeout(()=>Jq(ee))}}),children:typeof d==="function"?d({isCurrentTabStop:k,hasTabStop:U!=null}):d})})},"RovingFocusGroupItem")),L1e={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Pfe(e,r){if(r!=="rtl")return e;return e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}vL(Pfe,"getDirectionAwareKey");function Tfe(e,r,a){let i=Pfe(e.key,a);if(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(i))return;if(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(i))return;return L1e[i]}vL(Tfe,"getFocusIntent");function Jq(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}}vL(Jq,"focusFirst");function Afe(e,r){return e.map((a,i)=>e[(r+i)%e.length])}vL(Afe,"wrapArray");var xl=b1e,Sl=S1e;var k1e=Object.defineProperty,Do=(e,r)=>k1e(e,"name",{value:r,configurable:!0}),$q=["Enter"," "],C1e=["ArrowDown","PageUp","Home"],Ofe=["ArrowUp","PageDown","End"],I1e=[...C1e,...Ofe],R1e={ltr:[...$q,"ArrowRight"],rtl:[...$q,"ArrowLeft"]},P1e={ltr:["ArrowLeft"],rtl:["ArrowRight"]},CF="Menu",[YD,T1e,A1e]=yi(CF),[_L,El]=xt(CF,[A1e,yc,bi]),IF=yc(),Nfe=bi(),[Ffe,X8]=_L(CF),[E1e,qD]=_L(CF),D1e=Do((e)=>{let{__scopeMenu:r,open:a=!1,children:i,dir:s,onOpenChange:l,modal:c=!0}=e,d=IF(r),[h,x]=u(null),v=_(!1),y=$o(l),k=Qn(s);return m(()=>{let b=Do(()=>{v.current=!0,document.addEventListener("pointerdown",T,{capture:!0,once:!0}),document.addEventListener("pointermove",T,{capture:!0,once:!0})},"handleKeyDown"),T=Do(()=>v.current=!1,"handlePointer");return document.addEventListener("keydown",b,{capture:!0}),()=>{document.removeEventListener("keydown",b,{capture:!0}),document.removeEventListener("pointerdown",T,{capture:!0}),document.removeEventListener("pointermove",T,{capture:!0})}},[]),m(()=>{if(!a)return;let b=Do(()=>y(!1),"handleBlur");return window.addEventListener("blur",b),()=>window.removeEventListener("blur",b)},[a,y]),t(Dm,{...d,children:t(Ffe,{scope:r,open:a,onOpenChange:y,content:h,onContentChange:x,children:t(E1e,{scope:r,onClose:P(()=>y(!1),[y]),isUsingKeyboardRef:v,dir:k,modal:c,children:i})})})},"Menu"),jfe=F(Do(function(r,a){let{__scopeMenu:i,...s}=r,l=IF(i);return t(G8,{...l,...s,ref:a})},"MenuAnchor")),Bfe="MenuPortal",[O1e,Ufe]=_L(Bfe,{forceMount:void 0}),N1e=Do((e)=>{let{__scopeMenu:r,forceMount:a,children:i,container:s}=e,l=X8(Bfe,r);return t(O1e,{scope:r,forceMount:a,children:t(cr,{present:a||l.open,children:t(fZ,{asChild:!0,container:s,children:i})})})},"MenuPortal"),vu="MenuContent",[F1e,t9]=_L(vu),j1e=F(Do(function(r,a){let i=Ufe(vu,r.__scopeMenu),{forceMount:s=i.forceMount,...l}=r,c=X8(vu,r.__scopeMenu),d=qD(vu,r.__scopeMenu);return t(YD.Provider,{scope:r.__scopeMenu,children:t(cr,{present:s||c.open,children:t(YD.Slot,{scope:r.__scopeMenu,children:d.modal?t(B1e,{...l,ref:a}):t(U1e,{...l,ref:a})})})})},"MenuContent")),B1e=F(Do(function(r,a){let i=X8(vu,r.__scopeMenu),s=_(null),l=ye(a,s);return m(()=>{let c=s.current;if(c)return V8(c)},[]),t(r9,{...r,ref:l,trapFocus:i.open,disableOutsidePointerEvents:i.open,disableOutsideScroll:!0,onFocusOutside:Y(r.onFocusOutside,(c)=>c.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>i.onOpenChange(!1)})},"MenuRootContentModal")),U1e=F(Do(function(r,a){let i=X8(vu,r.__scopeMenu);return t(r9,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>i.onOpenChange(!1)})},"MenuRootContentNonModal")),Y1e=Bi("MenuContent.ScrollLock"),r9=F(Do(function(r,a){let{__scopeMenu:i,loop:s=!1,trapFocus:l,onOpenAutoFocus:c,onCloseAutoFocus:d,disableOutsidePointerEvents:h,onEntryFocus:x,onEscapeKeyDown:v,onPointerDownOutside:y,onFocusOutside:k,onInteractOutside:b,onDismiss:T,disableOutsideScroll:D,...U}=r,A=X8(vu,i),j=qD(vu,i),V=IF(i),J=Nfe(i),ee=T1e(i),[te,re]=u(null),ae=_(null),he=ye(a,ae,A.onContentChange),be=_(0),Qe=_(""),Ye=_(0),Se=_(null),Ge=_("right"),rt=_(0),tt=D?Mm:Dn,bt=D?{as:Y1e,allowPinchZoom:!0}:void 0,jt=Do((se)=>{let St=Qe.current+se,Ht=ee().filter((Vt)=>!Vt.disabled),Oe=document.activeElement,nr=Ht.find((Vt)=>Vt.ref.current===Oe)?.textValue,fr=Ht.map((Vt)=>Vt.textValue),er=Xfe(fr,St,nr),Ur=Ht.find((Vt)=>Vt.textValue===er)?.ref.current;if(Do(function Vt(Xt){if(Qe.current=Xt,window.clearTimeout(be.current),Xt!=="")be.current=window.setTimeout(()=>Vt(""),1000)},"updateSearch")(St),Ur)setTimeout(()=>Ur.focus())},"handleTypeaheadSearch");m(()=>()=>window.clearTimeout(be.current),[]),sZ();let qt=P((se)=>Ge.current===Se.current?.side&&Jfe(se,Se.current?.area),[]);return t(F1e,{scope:i,searchRef:Qe,onItemEnter:P((se)=>{if(qt(se))se.preventDefault()},[qt]),onItemLeave:P((se)=>{if(qt(se))return;ae.current?.focus(),re(null)},[qt]),onTriggerLeave:P((se)=>{if(qt(se))se.preventDefault()},[qt]),pointerGraceTimerRef:Ye,onPointerGraceIntentChange:P((se)=>{Se.current=se},[]),children:t(tt,{...bt,children:t(H8,{asChild:!0,trapped:l,onMountAutoFocus:Y(c,(se)=>{se.preventDefault(),ae.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:d,children:t(iZ,{asChild:!0,disableOutsidePointerEvents:h,onEscapeKeyDown:v,onPointerDownOutside:y,onFocusOutside:k,onInteractOutside:b,onDismiss:T,children:t(xl,{asChild:!0,...J,dir:j.dir,orientation:"vertical",loop:s,currentTabStopId:te,onCurrentTabStopIdChange:re,onEntryFocus:Y(x,(se)=>{if(!j.isUsingKeyboardRef.current)se.preventDefault()}),preventScrollOnEntryFocus:!0,children:t(K8,{role:"menu","aria-orientation":"vertical","data-state":o9(A.open),"data-radix-menu-content":"",dir:j.dir,...V,...U,ref:he,style:{outline:"none",...U.style},onKeyDown:Y(U.onKeyDown,(se)=>{let Ht=se.target.closest("[data-radix-menu-content]")===se.currentTarget,Oe=se.ctrlKey||se.altKey||se.metaKey,nr=se.key.length===1;if(Ht){if(se.key==="Tab")se.preventDefault();if(!Oe&&nr)jt(se.key)}let fr=ae.current;if(se.target!==fr)return;if(!I1e.includes(se.key))return;se.preventDefault();let Ur=ee().filter((Vt)=>!Vt.disabled).map((Vt)=>Vt.ref.current);if(Ofe.includes(se.key))Ur.reverse();Gfe(Ur)}),onBlur:Y(r.onBlur,(se)=>{if(!se.currentTarget.contains(se.target))window.clearTimeout(be.current),Qe.current=""}),onPointerMove:Y(r.onPointerMove,ER((se)=>{let St=se.target,Ht=rt.current!==se.clientX;if(se.currentTarget.contains(St)&&Ht){let Oe=se.clientX>rt.current?"right":"left";Ge.current=Oe,rt.current=se.clientX}}))})})})})})})},"MenuContentImpl")),q1e=F(Do(function(r,a){let{__scopeMenu:i,...s}=r;return t(ie.div,{role:"group",...s,ref:a})},"MenuGroup")),H1e=F(Do(function(r,a){let{__scopeMenu:i,...s}=r;return t(ie.div,{...s,ref:a})},"MenuLabel")),e9="MenuItem",Dfe="menu.itemSelect",Yfe=F(Do(function(r,a){let{disabled:i=!1,onSelect:s,...l}=r,c=_(null),d=qD(e9,r.__scopeMenu),h=t9(e9,r.__scopeMenu),x=ye(a,c),v=_(!1),y=Do(()=>{let k=c.current;if(!i&&k){let b=new CustomEvent(Dfe,{bubbles:!0,cancelable:!0});if(k.addEventListener(Dfe,(T)=>s?.(T),{once:!0}),RD(k,b),b.defaultPrevented)v.current=!1;else d.onClose()}},"handleSelect");return t(qfe,{...l,ref:x,disabled:i,onClick:Y(r.onClick,y),onPointerDown:(k)=>{r.onPointerDown?.(k),v.current=!0},onPointerUp:Y(r.onPointerUp,(k)=>{if(!v.current)k.currentTarget?.click()}),onKeyDown:Y(r.onKeyDown,(k)=>{if(i||k.target!==k.currentTarget)return;if(h.searchRef.current!==""&&k.key===" ")return;if($q.includes(k.key))k.currentTarget.click(),k.preventDefault()})})},"MenuItem")),qfe=F(Do(function(r,a){let{__scopeMenu:i,disabled:s=!1,textValue:l,...c}=r,d=t9(e9,i),h=Nfe(i),x=_(null),v=ye(a,x),[y,k]=u(!1),[b,T]=u("");return m(()=>{let D=x.current;if(D)T((D.textContent??"").trim())},[c.children]),t(YD.ItemSlot,{scope:i,disabled:s,textValue:l??b,children:t(Sl,{asChild:!0,...h,focusable:!s,children:t(ie.div,{role:"menuitem","data-highlighted":y?"":void 0,"aria-disabled":s||void 0,"data-disabled":s?"":void 0,...c,ref:v,onPointerMove:Y(r.onPointerMove,ER((D)=>{if(s)d.onItemLeave(D);else if(d.onItemEnter(D),!D.defaultPrevented)D.currentTarget.focus({preventScroll:!0})})),onPointerLeave:Y(r.onPointerLeave,ER((D)=>d.onItemLeave(D))),onFocus:Y(r.onFocus,()=>k(!0)),onBlur:Y(r.onBlur,()=>k(!1))})})})},"MenuItemImpl"));var V1e="MenuRadioGroup",[W1e,G1e]=_L(V1e,{value:void 0,onValueChange:Do(()=>{},"onValueChange")}),K1e=F(Do(function(r,a){let{value:i,onValueChange:s,...l}=r,c=$o(s);return t(W1e,{scope:r.__scopeMenu,value:i,onValueChange:c,children:t(q1e,{...l,ref:a})})},"MenuRadioGroup")),X1e="MenuRadioItem",Q1e=F(Do(function(r,a){let{value:i,...s}=r,l=G1e(X1e,r.__scopeMenu),c=i===l.value;return t(J1e,{scope:r.__scopeMenu,checked:c,children:t(Yfe,{role:"menuitemradio","aria-checked":c,...s,ref:a,"data-state":n9(c),onSelect:Y(s.onSelect,()=>l.onValueChange?.(i),{checkForDefaultPrevented:!1})})})},"MenuRadioItem")),Hfe="MenuItemIndicator",[J1e,$1e]=_L(Hfe,{checked:!1}),eRe=F(Do(function(r,a){let{__scopeMenu:i,forceMount:s,...l}=r,c=$1e(Hfe,i);return t(cr,{present:s||a9(c.checked)||c.checked===!0,children:t(ie.span,{...l,ref:a,"data-state":n9(c.checked)})})},"MenuItemIndicator")),tRe=F(Do(function(r,a){let{__scopeMenu:i,...s}=r;return t(ie.div,{role:"separator","aria-orientation":"horizontal",...s,ref:a})},"MenuSeparator"));var Vfe="MenuSub",[rRe,Wfe]=_L(Vfe),oRe=Do((e)=>{let{__scopeMenu:r,children:a,open:i=!1,onOpenChange:s}=e,l=X8(Vfe,r),c=IF(r),[d,h]=u(null),[x,v]=u(null),y=$o(s);return m(()=>{if(l.open===!1)y(!1);return()=>y(!1)},[l.open,y]),t(Dm,{...c,children:t(Ffe,{scope:r,open:i,onOpenChange:y,content:x,onContentChange:v,children:t(rRe,{scope:r,contentId:Cr(),triggerId:Cr(),trigger:d,onTriggerChange:h,children:a})})})},"MenuSub"),kF="MenuSubTrigger",aRe=F(Do(function(r,a){let i=X8(kF,r.__scopeMenu),s=qD(kF,r.__scopeMenu),l=Wfe(kF,r.__scopeMenu),c=t9(kF,r.__scopeMenu),d=_(null),{pointerGraceTimerRef:h,onPointerGraceIntentChange:x}=c,v={__scopeMenu:r.__scopeMenu},y=P(()=>{if(d.current)window.clearTimeout(d.current);d.current=null},[]);m(()=>y,[y]),m(()=>{let b=h.current;return()=>{window.clearTimeout(b),x(null)}},[h,x]);let k=ye(a,l.onTriggerChange);return t(jfe,{asChild:!0,...v,children:t(qfe,{id:l.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?l.contentId:void 0,"data-state":o9(i.open),...r,ref:k,onClick:(b)=>{if(r.onClick?.(b),r.disabled||b.defaultPrevented)return;if(b.currentTarget.focus(),!i.open)i.onOpenChange(!0)},onPointerMove:Y(r.onPointerMove,ER((b)=>{if(c.onItemEnter(b),b.defaultPrevented)return;if(!r.disabled&&!i.open&&!d.current)c.onPointerGraceIntentChange(null),d.current=window.setTimeout(()=>{i.onOpenChange(!0),y()},100)})),onPointerLeave:Y(r.onPointerLeave,ER((b)=>{y();let T=i.content?.getBoundingClientRect();if(T){let D=i.content?.dataset.side,U=D==="right",A=U?-5:5,j=T[U?"left":"right"],V=T[U?"right":"left"];c.onPointerGraceIntentChange({area:[{x:b.clientX+A,y:b.clientY},{x:j,y:T.top},{x:V,y:T.top},{x:V,y:T.bottom},{x:j,y:T.bottom}],side:D}),window.clearTimeout(h.current),h.current=window.setTimeout(()=>c.onPointerGraceIntentChange(null),300)}else{if(c.onTriggerLeave(b),b.defaultPrevented)return;c.onPointerGraceIntentChange(null)}})),onKeyDown:Y(r.onKeyDown,(b)=>{if(r.disabled||b.target!==b.currentTarget)return;if(c.searchRef.current!==""&&b.key===" ")return;if(R1e[s.dir].includes(b.key))i.onOpenChange(!0),i.content?.focus(),b.preventDefault()})})})},"MenuSubTrigger")),nRe="MenuSubContent",iRe=F(Do(function(r,a){let i=Ufe(vu,r.__scopeMenu),{forceMount:s=i.forceMount,align:l="start",...c}=r,d=X8(vu,r.__scopeMenu),h=qD(vu,r.__scopeMenu),x=Wfe(nRe,r.__scopeMenu),v=_(null),y=ye(a,v);return t(YD.Provider,{scope:r.__scopeMenu,children:t(cr,{present:s||d.open,children:t(YD.Slot,{scope:r.__scopeMenu,children:t(r9,{id:x.contentId,"aria-labelledby":x.triggerId,...c,ref:y,align:l,side:h.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:(k)=>{if(h.isUsingKeyboardRef.current)v.current?.focus();k.preventDefault()},onCloseAutoFocus:(k)=>k.preventDefault(),onFocusOutside:Y(r.onFocusOutside,(k)=>{if(k.target!==x.trigger)d.onOpenChange(!1)}),onEscapeKeyDown:Y(r.onEscapeKeyDown,(k)=>{h.onClose(),k.preventDefault()}),onKeyDown:Y(r.onKeyDown,(k)=>{let b=k.currentTarget.contains(k.target),T=P1e[h.dir].includes(k.key);if(b&&T)d.onOpenChange(!1),x.trigger?.focus(),k.preventDefault()})})})})})},"MenuSubContent"));function o9(e){return e?"open":"closed"}Do(o9,"getOpenState");function a9(e){return e==="indeterminate"}Do(a9,"isIndeterminate");function n9(e){return a9(e)?"indeterminate":e?"checked":"unchecked"}Do(n9,"getCheckedState");function Gfe(e){let r=document.activeElement;for(let a of e){if(a===r)return;if(a.focus(),document.activeElement!==r)return}}Do(Gfe,"focusFirst");function Kfe(e,r){return e.map((a,i)=>e[(r+i)%e.length])}Do(Kfe,"wrapArray");function Xfe(e,r,a){let s=r.length>1&&Array.from(r).every((x)=>x===r[0])?r[0]:r,l=a?e.indexOf(a):-1,c=Kfe(e,Math.max(l,0));if(s.length===1)c=c.filter((x)=>x!==a);let h=c.find((x)=>x.toLowerCase().startsWith(s.toLowerCase()));return h!==a?h:void 0}Do(Xfe,"getNextMatch");function Qfe(e,r){let{x:a,y:i}=e,s=!1;for(let l=0,c=r.length-1;l<r.length;c=l++){let d=r[l],h=r[c],{x,y:v}=d,{x:y,y:k}=h;if(v>i!==k>i&&a<(y-x)*(i-v)/(k-v)+x)s=!s}return s}Do(Qfe,"isPointInPolygon");function Jfe(e,r){if(!r)return!1;let a={x:e.clientX,y:e.clientY};return Qfe(a,r)}Do(Jfe,"isPointerInGraceArea");function ER(e){return(r)=>r.pointerType==="mouse"?e(r):void 0}Do(ER,"whenMouse");var rd=D1e,nd=jfe,od=N1e,sd=j1e;var $fe=H1e,id=Yfe;var ese=K1e,tse=Q1e,rse=eRe,ad=tRe;var ld=oRe,cd=aRe,ud=iRe;E();var sRe=Object.defineProperty,Jl=(e,r)=>sRe(e,"name",{value:r,configurable:!0}),i9="DropdownMenu",[lRe,H$o]=xt(i9,[El]),$l=El(),[cRe,ose]=lRe(i9),uRe=Jl((e)=>{let{__scopeDropdownMenu:r,children:a,dir:i,open:s,defaultOpen:l,onOpenChange:c,modal:d=!0}=e,h=$l(r),x=_(null),[v,y]=Zt({prop:s,defaultProp:l??!1,onChange:c,caller:i9});return t(cRe,{scope:r,triggerId:Cr(),triggerRef:x,contentId:Cr(),open:v,onOpenChange:y,onOpenToggle:P(()=>y((k)=>!k),[y]),modal:d,children:t(rd,{...h,open:v,onOpenChange:y,dir:i,modal:d,children:a})})},"DropdownMenu"),dRe="DropdownMenuTrigger",ZRe=F(Jl(function(r,a){let{__scopeDropdownMenu:i,disabled:s=!1,...l}=r,c=ose(dRe,i),d=$l(i),h=ye(a,c.triggerRef);return t(nd,{asChild:!0,...d,children:t(ie.button,{type:"button",id:c.triggerId,"aria-haspopup":"menu","aria-expanded":c.open,"aria-controls":c.open?c.contentId:void 0,"data-state":c.open?"open":"closed","data-disabled":s?"":void 0,disabled:s,...l,ref:h,onPointerDown:Y(r.onPointerDown,(x)=>{if(!s&&x.button===0&&x.ctrlKey===!1){if(c.onOpenToggle(),!c.open)x.preventDefault()}}),onKeyDown:Y(r.onKeyDown,(x)=>{if(s)return;if(["Enter"," "].includes(x.key))c.onOpenToggle();if(x.key==="ArrowDown")c.onOpenChange(!0);if(["Enter"," ","ArrowDown"].includes(x.key))x.preventDefault()})})})},"DropdownMenuTrigger")),pRe=Jl((e)=>{let{__scopeDropdownMenu:r,...a}=e,i=$l(r);return t(od,{...i,...a})},"DropdownMenuPortal"),mRe="DropdownMenuContent",hRe=F(Jl(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=ose(mRe,i),c=$l(i),d=_(!1);return t(sd,{id:l.contentId,"aria-labelledby":l.triggerId,...c,...s,ref:a,onCloseAutoFocus:Y(r.onCloseAutoFocus,(h)=>{if(!d.current)l.triggerRef.current?.focus();d.current=!1,h.preventDefault()}),onInteractOutside:Y(r.onInteractOutside,(h)=>{let x=h.detail.originalEvent,v=x.button===0&&x.ctrlKey===!0,y=x.button===2||v;if(!l.modal||y)d.current=!0}),style:{...r.style,...{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}})},"DropdownMenuContent"));var gRe=F(Jl(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=$l(i);return t($fe,{...l,...s,ref:a})},"DropdownMenuLabel")),MRe=F(Jl(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=$l(i);return t(id,{...l,...s,ref:a})},"DropdownMenuItem"));var xRe=F(Jl(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=$l(i);return t(ese,{...l,...s,ref:a})},"DropdownMenuRadioGroup")),vRe=F(Jl(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=$l(i);return t(tse,{...l,...s,ref:a})},"DropdownMenuRadioItem")),_Re=F(Jl(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=$l(i);return t(rse,{...l,...s,ref:a})},"DropdownMenuItemIndicator")),yRe=F(Jl(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=$l(i);return t(ad,{...l,...s,ref:a})},"DropdownMenuSeparator"));var bRe=Jl((e)=>{let{__scopeDropdownMenu:r,children:a,open:i,onOpenChange:s,defaultOpen:l}=e,c=$l(r),[d,h]=Zt({prop:i,defaultProp:l??!1,onChange:s,caller:"DropdownMenuSub"});return t(ld,{...c,open:d,onOpenChange:h,children:a})},"DropdownMenuSub"),wRe=F(Jl(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=$l(i);return t(cd,{...l,...s,ref:a})},"DropdownMenuSubTrigger")),zRe=F(Jl(function(r,a){let{__scopeDropdownMenu:i,...s}=r,l=$l(i);return t(ud,{...l,...s,ref:a,style:{...r.style,...{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}})},"DropdownMenuSubContent")),SRe=uRe,LRe=ZRe,ase=pRe,kRe=hRe;var CRe=gRe,IRe=MRe;var RRe=xRe,PRe=vRe,TRe=_Re,ARe=yRe;var ERe=bRe,DRe=wRe,ORe=zRe;E();var NRe=Object.defineProperty,FRe=(e,r)=>NRe(e,"name",{value:r,configurable:!0}),jRe=F(FRe(function(r,a){return t(ie.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")),BRe=jRe;E();var URe=Object.defineProperty,Q8=(e,r)=>URe(e,"name",{value:r,configurable:!0}),f9="Popover",[fse,cea]=xt(f9,[yc]),s9=yc(),[YRe,DR]=fse(f9),qRe=Q8((e)=>{let{__scopePopover:r,children:a,open:i,defaultOpen:s,onOpenChange:l,modal:c=!1}=e,d=s9(r),h=_(null),[x,v]=u(!1),[y,k]=Zt({prop:i,defaultProp:s??!1,onChange:l,caller:f9});return t(Dm,{...d,children:t(YRe,{scope:r,contentId:Cr(),triggerRef:h,open:y,onOpenChange:k,onOpenToggle:P(()=>k((b)=>!b),[k]),hasCustomAnchor:x,onCustomAnchorAdd:P(()=>v(!0),[]),onCustomAnchorRemove:P(()=>v(!1),[]),modal:c,children:a})})},"Popover");var HRe="PopoverTrigger",VRe=F(Q8(function(r,a){let{__scopePopover:i,...s}=r,l=DR(HRe,i),c=s9(i),d=ye(a,l.triggerRef),h=t(ie.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":l9(l.open),...s,ref:d,onClick:Y(r.onClick,l.onOpenToggle)});return l.hasCustomAnchor?h:t(G8,{asChild:!0,...c,children:h})},"PopoverTrigger")),sse="PopoverPortal",[WRe,GRe]=fse(sse,{forceMount:void 0}),KRe=Q8((e)=>{let{__scopePopover:r,forceMount:a,children:i,container:s}=e,l=DR(sse,r);return t(WRe,{scope:r,forceMount:a,children:t(cr,{present:a||l.open,children:t(fZ,{asChild:!0,container:s,children:i})})})},"PopoverPortal"),HD="PopoverContent",XRe=F(Q8(function(r,a){let i=GRe(HD,r.__scopePopover),{forceMount:s=i.forceMount,...l}=r,c=DR(HD,r.__scopePopover);return t(cr,{present:s||c.open,children:c.modal?t(JRe,{...l,ref:a}):t($Re,{...l,ref:a})})},"PopoverContent")),QRe=Bi("PopoverContent.RemoveScroll"),JRe=F(Q8(function(r,a){let i=DR(HD,r.__scopePopover),s=_(null),l=ye(a,s),c=_(!1);return m(()=>{let d=s.current;if(d)return V8(d)},[]),t(Mm,{as:QRe,allowPinchZoom:!0,children:t(lse,{...r,ref:l,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Y(r.onCloseAutoFocus,(d)=>{if(d.preventDefault(),!c.current)i.triggerRef.current?.focus()}),onPointerDownOutside:Y(r.onPointerDownOutside,(d)=>{let h=d.detail.originalEvent,x=h.button===0&&h.ctrlKey===!0,v=h.button===2||x;c.current=v},{checkForDefaultPrevented:!1}),onFocusOutside:Y(r.onFocusOutside,(d)=>d.preventDefault(),{checkForDefaultPrevented:!1})})})},"PopoverContentModal")),$Re=F(Q8(function(r,a){let i=DR(HD,r.__scopePopover),s=_(!1),l=_(!1);return t(lse,{...r,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:(c)=>{if(r.onCloseAutoFocus?.(c),!c.defaultPrevented){if(!s.current)i.triggerRef.current?.focus();c.preventDefault()}s.current=!1,l.current=!1},onInteractOutside:(c)=>{if(r.onInteractOutside?.(c),!c.defaultPrevented){if(s.current=!0,c.detail.originalEvent.type==="pointerdown")l.current=!0}let d=c.target;if(i.triggerRef.current?.contains(d))c.preventDefault();if(c.detail.originalEvent.type==="focusin"&&l.current)c.preventDefault()}})},"PopoverContentNonModal")),lse=F(Q8(function(r,a){let{__scopePopover:i,trapFocus:s,onOpenAutoFocus:l,onCloseAutoFocus:c,disableOutsidePointerEvents:d,onEscapeKeyDown:h,onPointerDownOutside:x,onFocusOutside:v,onInteractOutside:y,...k}=r,b=DR(HD,i),T=s9(i);return sZ(),t(H8,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:l,onUnmountAutoFocus:c,children:t(iZ,{asChild:!0,disableOutsidePointerEvents:d,onInteractOutside:y,onEscapeKeyDown:h,onPointerDownOutside:x,onFocusOutside:v,onDismiss:()=>b.onOpenChange(!1),deferPointerDownOutside:!0,children:t(K8,{"data-state":l9(b.open),role:"dialog",id:b.contentId,...T,...k,ref:a,style:{...k.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 l9(e){return e?"open":"closed"}Q8(l9,"getState");var ePe=qRe;var tPe=VRe,rPe=KRe,oPe=XRe;E();var aPe=Object.defineProperty,Om=(e,r)=>aPe(e,"name",{value:r,configurable:!0}),use="Progress",d9=100,[nPe,pea]=xt(use),[iPe,fPe]=nPe(use),sPe=F(Om(function(r,a){let{__scopeProgress:i,value:s=null,max:l,getValueLabel:c=dse,...d}=r;if((l||l===0)&&!c9(l))console.error(Zse(`${l}`,"Progress"));let h=c9(l)?l:d9;if(s!==null&&!u9(s,h))console.error(pse(`${s}`,"Progress"));let x=u9(s,h)?s:null,v=VD(x)?c(x,h):void 0;return t(iPe,{scope:i,value:x,max:h,children:t(ie.div,{"aria-valuemax":h,"aria-valuemin":0,"aria-valuenow":VD(x)?x:void 0,"aria-valuetext":v,role:"progressbar","data-state":Z9(x,h),"data-value":x??void 0,"data-max":h,...d,ref:a})})},"Progress")),lPe="ProgressIndicator",cPe=F(Om(function(r,a){let{__scopeProgress:i,...s}=r,l=fPe(lPe,i);return t(ie.div,{"data-state":Z9(l.value,l.max),"data-value":l.value??void 0,"data-max":l.max,...s,ref:a})},"ProgressIndicator"));function dse(e,r){return`${Math.round(e/r*100)}%`}Om(dse,"defaultGetValueLabel");function Z9(e,r){return e==null?"indeterminate":e===r?"complete":"loading"}Om(Z9,"getProgressState");function VD(e){return typeof e==="number"}Om(VD,"isNumber");function c9(e){return VD(e)&&!isNaN(e)&&e>0}Om(c9,"isValidMaxNumber");function u9(e,r){return VD(e)&&!isNaN(e)&&e<=r&&e>=0}Om(u9,"isValidValueNumber");function Zse(e,r){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${r}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${d9}\`.`}Om(Zse,"getInvalidMaxError");function pse(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 ${d9} if no \`max\` prop is set)
|
|
58
|
-
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
59
|
-
|
|
60
|
-
Defaulting to \`null\`.`}Om(pse,"getInvalidValueError");var uPe=sPe,dPe=cPe;E();var ZPe=Object.defineProperty,pPe=(e,r)=>ZPe(e,"name",{value:r,configurable:!0});function vi(e,[r,a]){return Math.min(a,Math.max(r,e))}pPe(vi,"clamp");E();var mPe=Object.defineProperty,ko=(e,r)=>mPe(e,"name",{value:r,configurable:!0});function hse(e,r){return on((a,i)=>r[a][i]??a,e)}ko(hse,"useStateMachine");var gse="ScrollArea",[Mse,Sea]=xt(gse),[hPe,bc]=Mse(gse),gPe=F(ko(function(r,a){let{__scopeScrollArea:i,type:s="hover",dir:l,scrollHideDelay:c=600,...d}=r,[h,x]=u(null),[v,y]=u(null),[k,b]=u(null),[T,D]=u(null),[U,A]=u(null),[j,V]=u(0),[J,ee]=u(0),[te,re]=u(!1),[ae,he]=u(!1),be=ye(a,x),Qe=Qn(l);return t(hPe,{scope:i,type:s,dir:Qe,scrollHideDelay:c,scrollArea:h,viewport:v,onViewportChange:y,content:k,onContentChange:b,scrollbarX:T,onScrollbarXChange:D,scrollbarXEnabled:te,onScrollbarXEnabledChange:re,scrollbarY:U,onScrollbarYChange:A,scrollbarYEnabled:ae,onScrollbarYEnabledChange:he,onCornerWidthChange:V,onCornerHeightChange:ee,children:t(ie.div,{dir:Qe,...d,ref:be,style:{position:"relative","--radix-scroll-area-corner-width":j+"px","--radix-scroll-area-corner-height":J+"px",...r.style}})})},"ScrollArea")),MPe="ScrollAreaViewport",xPe=F(ko(function(r,a){let{__scopeScrollArea:i,children:s,nonce:l,...c}=r,d=bc(MPe,i),h=_(null),x=ye(a,h,d.onViewportChange);return o(L,{children:[t(vPe,{nonce:l}),t(ie.div,{"data-radix-scroll-area-viewport":"",...c,ref:x,style:{overflowX:d.scrollbarXEnabled?"scroll":"hidden",overflowY:d.scrollbarYEnabled?"scroll":"hidden",...r.style},children:t("div",{ref:d.onContentChange,style:{minWidth:"100%",display:"table"},children:s})})]})},"ScrollAreaViewport")),vPe=Hn(ko(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),Nm="ScrollAreaScrollbar",_Pe=F(ko(function(r,a){let{forceMount:i,...s}=r,l=bc(Nm,r.__scopeScrollArea),{onScrollbarXEnabledChange:c,onScrollbarYEnabledChange:d}=l,h=r.orientation==="horizontal";return m(()=>(h?c(!0):d(!0),()=>{h?c(!1):d(!1)}),[h,c,d]),l.type==="hover"?t(yPe,{...s,ref:a,forceMount:i}):l.type==="scroll"?t(bPe,{...s,ref:a,forceMount:i}):l.type==="auto"?t(xse,{...s,ref:a,forceMount:i}):l.type==="always"?t(h9,{...s,ref:a,"data-state":"visible"}):null},"ScrollAreaScrollbar")),yPe=F(ko(function(r,a){let{forceMount:i,...s}=r,l=bc(Nm,r.__scopeScrollArea),[c,d]=u(!1);return m(()=>{let h=l.scrollArea,x=0;if(h){let v=ko(()=>{window.clearTimeout(x),d(!0)},"handlePointerEnter"),y=ko(()=>{x=window.setTimeout(()=>d(!1),l.scrollHideDelay)},"handlePointerLeave");return h.addEventListener("pointerenter",v),h.addEventListener("pointerleave",y),()=>{window.clearTimeout(x),h.removeEventListener("pointerenter",v),h.removeEventListener("pointerleave",y)}}},[l.scrollArea,l.scrollHideDelay]),t(cr,{present:i||c,children:t(xse,{"data-state":c?"visible":"hidden",...s,ref:a})})},"ScrollAreaScrollbarHover")),bPe=F(ko(function(r,a){let{forceMount:i,...s}=r,l=bc(Nm,r.__scopeScrollArea),c=r.orientation==="horizontal",d=KD(()=>x("SCROLL_END"),100),[h,x]=hse("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 m(()=>{if(h==="idle"){let v=window.setTimeout(()=>x("HIDE"),l.scrollHideDelay);return()=>window.clearTimeout(v)}},[h,l.scrollHideDelay,x]),m(()=>{let v=l.viewport,y=c?"scrollLeft":"scrollTop";if(v){let k=v[y],b=ko(()=>{let T=v[y];if(k!==T)x("SCROLL"),d();k=T},"handleScroll");return v.addEventListener("scroll",b),()=>v.removeEventListener("scroll",b)}},[l.viewport,c,x,d]),t(cr,{present:i||h!=="hidden",children:t(h9,{"data-state":h==="hidden"?"hidden":"visible",...s,ref:a,onPointerEnter:Y(r.onPointerEnter,()=>x("POINTER_ENTER")),onPointerLeave:Y(r.onPointerLeave,()=>x("POINTER_LEAVE"))})})},"ScrollAreaScrollbarScroll")),xse=F(ko(function(r,a){let i=bc(Nm,r.__scopeScrollArea),{forceMount:s,...l}=r,[c,d]=u(!1),h=r.orientation==="horizontal",x=KD(()=>{if(i.viewport){let v=i.viewport.offsetWidth<i.viewport.scrollWidth,y=i.viewport.offsetHeight<i.viewport.scrollHeight;d(h?v:y)}},10);return yL(i.viewport,x),yL(i.content,x),t(cr,{present:s||c,children:t(h9,{"data-state":c?"visible":"hidden",...l,ref:a})})},"ScrollAreaScrollbarAuto")),h9=F(ko(function(r,a){let{orientation:i="vertical",...s}=r,l=bc(Nm,r.__scopeScrollArea),c=_(null),d=_(0),[h,x]=u({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),v=g9(h.viewport,h.content),y={...s,sizes:h,onSizesChange:x,hasThumb:Boolean(v>0&&v<1),onThumbChange:ko((b)=>c.current=b,"onThumbChange"),onThumbPointerUp:ko(()=>d.current=0,"onThumbPointerUp"),onThumbPointerDown:ko((b)=>d.current=b,"onThumbPointerDown")};function k(b,T){return bse(b,d.current,h,T)}if(ko(k,"getScrollPosition"),i==="horizontal")return t(wPe,{...y,ref:a,onThumbPositionChange:()=>{if(l.viewport&&c.current){let b=l.viewport.scrollLeft,T=m9(b,h,l.dir);c.current.style.transform=`translate3d(${T}px, 0, 0)`}},onWheelScroll:(b)=>{if(l.viewport)l.viewport.scrollLeft=b},onDragScroll:(b)=>{if(l.viewport)l.viewport.scrollLeft=k(b,l.dir)}});if(i==="vertical")return t(zPe,{...y,ref:a,onThumbPositionChange:()=>{if(l.viewport&&c.current){let b=l.viewport.scrollTop,T=m9(b,h);c.current.style.transform=`translate3d(0, ${T}px, 0)`}},onWheelScroll:(b)=>{if(l.viewport)l.viewport.scrollTop=b},onDragScroll:(b)=>{if(l.viewport)l.viewport.scrollTop=k(b)}});return null},"ScrollAreaScrollbarVisible")),wPe=F(ko(function(r,a){let{sizes:i,onSizesChange:s,...l}=r,c=bc(Nm,r.__scopeScrollArea),[d,h]=u(),x=_(null),v=ye(a,x,c.onScrollbarXChange);return m(()=>{if(x.current)h(getComputedStyle(x.current))},[x]),t(_se,{"data-orientation":"horizontal",...l,ref:v,sizes:i,style:{bottom:0,left:c.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:c.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":GD(i)+"px",...r.style},onThumbPointerDown:(y)=>r.onThumbPointerDown(y.x),onDragScroll:(y)=>r.onDragScroll(y.x),onWheelScroll:(y,k)=>{if(c.viewport){let b=c.viewport.scrollLeft+y.deltaX;if(r.onWheelScroll(b),x9(b,k))y.preventDefault()}},onResize:()=>{if(x.current&&c.viewport&&d)s({content:c.viewport.scrollWidth,viewport:c.viewport.offsetWidth,scrollbar:{size:x.current.clientWidth,paddingStart:WD(d.paddingLeft),paddingEnd:WD(d.paddingRight)}})}})},"ScrollAreaScrollbarX")),zPe=F(ko(function(r,a){let{sizes:i,onSizesChange:s,...l}=r,c=bc(Nm,r.__scopeScrollArea),[d,h]=u(),x=_(null),v=ye(a,x,c.onScrollbarYChange);return m(()=>{if(x.current)h(getComputedStyle(x.current))},[x]),t(_se,{"data-orientation":"vertical",...l,ref:v,sizes:i,style:{top:0,right:c.dir==="ltr"?0:void 0,left:c.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":GD(i)+"px",...r.style},onThumbPointerDown:(y)=>r.onThumbPointerDown(y.y),onDragScroll:(y)=>r.onDragScroll(y.y),onWheelScroll:(y,k)=>{if(c.viewport){let b=c.viewport.scrollTop+y.deltaY;if(r.onWheelScroll(b),x9(b,k))y.preventDefault()}},onResize:()=>{if(x.current&&c.viewport&&d)s({content:c.viewport.scrollHeight,viewport:c.viewport.offsetHeight,scrollbar:{size:x.current.clientHeight,paddingStart:WD(d.paddingTop),paddingEnd:WD(d.paddingBottom)}})}})},"ScrollAreaScrollbarY")),[SPe,vse]=Mse(Nm),_se=F(ko(function(r,a){let{__scopeScrollArea:i,sizes:s,hasThumb:l,onThumbChange:c,onThumbPointerUp:d,onThumbPointerDown:h,onThumbPositionChange:x,onDragScroll:v,onWheelScroll:y,onResize:k,...b}=r,T=bc(Nm,i),[D,U]=u(null),A=ye(a,U),j=_(null),V=_(""),J=T.viewport,ee=s.content-s.viewport,te=$o(y),re=$o(x),ae=KD(k,10);function he(be){if(j.current){let Qe=be.clientX-j.current.left,Ye=be.clientY-j.current.top;v({x:Qe,y:Ye})}}return ko(he,"handleDragScroll"),m(()=>{let be=ko((Qe)=>{let Ye=Qe.target;if(D?.contains(Ye))te(Qe,ee)},"handleWheel");return document.addEventListener("wheel",be,{passive:!1}),()=>document.removeEventListener("wheel",be,{passive:!1})},[J,D,ee,te]),m(re,[s,re]),yL(D,ae),yL(T.content,ae),t(SPe,{scope:i,scrollbar:D,hasThumb:l,onThumbChange:$o(c),onThumbPointerUp:$o(d),onThumbPositionChange:re,onThumbPointerDown:$o(h),children:t(ie.div,{...b,ref:A,style:{position:"absolute",...b.style},onPointerDown:Y(r.onPointerDown,(be)=>{if(be.button===0){if(be.target.setPointerCapture(be.pointerId),j.current=D.getBoundingClientRect(),V.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",T.viewport)T.viewport.style.scrollBehavior="auto";he(be)}}),onPointerMove:Y(r.onPointerMove,he),onPointerUp:Y(r.onPointerUp,(be)=>{let Qe=be.target;if(Qe.hasPointerCapture(be.pointerId))Qe.releasePointerCapture(be.pointerId);if(document.body.style.webkitUserSelect=V.current,T.viewport)T.viewport.style.scrollBehavior="";j.current=null})})})},"ScrollAreaScrollbarImpl")),p9="ScrollAreaThumb",LPe=F(ko(function(r,a){let{forceMount:i,...s}=r,l=vse(p9,r.__scopeScrollArea);return t(cr,{present:i||l.hasThumb,children:t(kPe,{ref:a,...s})})},"ScrollAreaThumb")),kPe=F(ko(function(r,a){let{__scopeScrollArea:i,style:s,...l}=r,c=bc(p9,i),d=vse(p9,i),{onThumbPositionChange:h}=d,x=ye(a,d.onThumbChange),v=_(void 0),y=KD(()=>{if(v.current)v.current(),v.current=void 0},100);return m(()=>{let k=c.viewport;if(k){let b=ko(()=>{if(y(),!v.current){let T=RPe(k,h);v.current=T,h()}},"handleScroll");return h(),k.addEventListener("scroll",b),()=>k.removeEventListener("scroll",b)}},[c.viewport,y,h]),t(ie.div,{"data-state":d.hasThumb?"visible":"hidden",...l,ref:x,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...s},onPointerDownCapture:Y(r.onPointerDownCapture,(k)=>{let T=k.target.getBoundingClientRect(),D=k.clientX-T.left,U=k.clientY-T.top;d.onThumbPointerDown({x:D,y:U})}),onPointerUp:Y(r.onPointerUp,d.onThumbPointerUp)})},"ScrollAreaThumbImpl")),yse="ScrollAreaCorner",CPe=F(ko(function(r,a){let i=bc(yse,r.__scopeScrollArea),s=Boolean(i.scrollbarX&&i.scrollbarY);return i.type!=="scroll"&&s?t(IPe,{...r,ref:a}):null},"ScrollAreaCorner")),IPe=F(ko(function(r,a){let{__scopeScrollArea:i,...s}=r,l=bc(yse,i),[c,d]=u(0),[h,x]=u(0),v=Boolean(c&&h),{onCornerWidthChange:y,onCornerHeightChange:k}=l;return yL(l.scrollbarX,()=>{let b=l.scrollbarX?.offsetHeight||0;l.onCornerHeightChange(b),x(b)}),yL(l.scrollbarY,()=>{let b=l.scrollbarY?.offsetWidth||0;l.onCornerWidthChange(b),d(b)}),m(()=>()=>{y(0),k(0)},[y,k]),v?t(ie.div,{...s,ref:a,style:{width:c,height:h,position:"absolute",right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:0,...r.style}}):null},"ScrollAreaCornerImpl"));function WD(e){return e?parseInt(e,10):0}ko(WD,"toInt");function g9(e,r){let a=e/r;return isNaN(a)?0:a}ko(g9,"getThumbRatio");function GD(e){let r=g9(e.viewport,e.content),a=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,i=(e.scrollbar.size-a)*r;return Math.max(i,18)}ko(GD,"getThumbSize");function bse(e,r,a,i="ltr"){let s=GD(a),l=s/2,c=r||l,d=s-c,h=a.scrollbar.paddingStart+c,x=a.scrollbar.size-a.scrollbar.paddingEnd-d,v=a.content-a.viewport,y=i==="ltr"?[0,v]:[v*-1,0];return M9([h,x],y)(e)}ko(bse,"getScrollPositionFromPointer");function m9(e,r,a="ltr"){let i=GD(r),s=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,l=r.scrollbar.size-s,c=r.content-r.viewport,d=l-i,h=a==="ltr"?[0,c]:[c*-1,0],x=vi(e,h);return M9([0,c],[0,d])(x)}ko(m9,"getThumbOffsetFromScroll");function M9(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])}}ko(M9,"linearScale");function x9(e,r){return e>0&&e<r}ko(x9,"isScrollingWithinScrollbarBounds");var RPe=ko((e,r=()=>{})=>{let a={left:e.scrollLeft,top:e.scrollTop},i=0;return ko(function s(){let l={left:e.scrollLeft,top:e.scrollTop},c=a.left!==l.left,d=a.top!==l.top;if(c||d)r();a=l,i=window.requestAnimationFrame(s)},"loop")(),()=>window.cancelAnimationFrame(i)},"addUnlinkedScrollListener");function KD(e,r){let a=$o(e),i=_(0);return m(()=>()=>window.clearTimeout(i.current),[]),P(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(a,r)},[a,r])}ko(KD,"useDebounceCallback");function yL(e,r){let a=$o(r);Pt(()=>{let i=0;if(e){let s=new ResizeObserver(()=>{cancelAnimationFrame(i),i=window.requestAnimationFrame(a)});return s.observe(e),()=>{window.cancelAnimationFrame(i),s.unobserve(e)}}},[e,a])}ko(yL,"useResizeObserver");var PPe=gPe,TPe=xPe;var APe=CPe;E();E();var EPe=Object.defineProperty,DPe=(e,r)=>EPe(e,"name",{value:r,configurable:!0});function jc(e){let r=_({value:e,previous:e});return N(()=>{if(r.current.value!==e)r.current.previous=r.current.value,r.current.value=e;return r.current.previous},[e])}DPe(jc,"usePrevious");E();var OPe=Object.defineProperty,NPe=(e,r)=>OPe(e,"name",{value:r,configurable:!0}),v9=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"}),FPe=F(NPe(function(r,a){return t(ie.span,{...r,ref:a,style:{...v9,...r.style}})},"VisuallyHidden")),zse=FPe;var BPe=Object.defineProperty,No=(e,r)=>BPe(e,"name",{value:r,configurable:!0}),UPe=[" ","Enter","ArrowUp","ArrowDown"],YPe=[" ","Enter"],OR="Select",[PF,TF,qPe]=yi(OR),[wL,$ea]=xt(OR,[qPe,yc]),y9=yc(),[HPe,J8]=wL(OR),[VPe,WPe]=wL(OR);function Ise(e){let{__scopeSelect:r,children:a,open:i,defaultOpen:s,onOpenChange:l,value:c,defaultValue:d,onValueChange:h,dir:x,name:v,autoComplete:y,disabled:k,required:b,form:T,internal_do_not_use_render:D}=e,U=y9(r),[A,j]=u(null),[V,J]=u(null),[ee,te]=u(!1),re=Qn(x),[ae,he]=Zt({prop:i,defaultProp:s??!1,onChange:l,caller:OR}),[be,Qe]=Zt({prop:c,defaultProp:d,onChange:h,caller:OR}),Ye=_(null),Se=_(be);m(()=>{let Ht=T?A?.ownerDocument.getElementById(T):A?.form;if(Ht instanceof HTMLFormElement){let Oe=No(()=>Qe(Se.current),"reset");return Ht.addEventListener("reset",Oe),()=>Ht.removeEventListener("reset",Oe)}},[T,A,Qe]);let Ge=A?!!T||!!A.closest("form"):!0,[rt,tt]=u(new Set),bt=Cr(),jt=Array.from(rt).map((Ht)=>Ht.props.value).join(";"),qt=P((Ht)=>{tt((Oe)=>new Set(Oe).add(Ht))},[]),se=P((Ht)=>{tt((Oe)=>{let nr=new Set(Oe);return nr.delete(Ht),nr})},[]),St={required:b,trigger:A,onTriggerChange:j,valueNode:V,onValueNodeChange:J,valueNodeHasChildren:ee,onValueNodeHasChildrenChange:te,contentId:bt,value:be,onValueChange:Qe,open:ae,onOpenChange:he,dir:re,triggerPointerDownPosRef:Ye,disabled:k,name:v,autoComplete:y,form:T,nativeOptions:rt,nativeSelectKey:jt,isFormControl:Ge};return t(Dm,{...U,children:t(HPe,{scope:r,...St,children:t(PF.Provider,{scope:r,children:t(VPe,{scope:r,onNativeOptionAdd:qt,onNativeOptionRemove:se,children:Ase(D)?D(St):a})})})})}No(Ise,"SelectProvider");var GPe=No((e)=>{let{__scopeSelect:r,children:a,...i}=e;return t(Ise,{__scopeSelect:r,...i,internal_do_not_use_render:({isFormControl:s})=>o(L,{children:[a,s?t(vTe,{__scopeSelect:r}):null]})})},"Select"),KPe="SelectTrigger",XPe=F(No(function(r,a){let{__scopeSelect:i,disabled:s=!1,...l}=r,c=y9(i),d=J8(KPe,i),h=d.disabled||s,x=ye(a,d.onTriggerChange),v=TF(i),y=_("touch"),[k,b,T]=w9((U)=>{let A=v().filter((J)=>!J.disabled),j=A.find((J)=>J.value===d.value),V=z9(A,U,j);if(V!==void 0)d.onValueChange(V.value)}),D=No((U)=>{if(!h)d.onOpenChange(!0),T();if(U)d.triggerPointerDownPosRef.current={x:Math.round(U.pageX),y:Math.round(U.pageY)}},"handleOpen");return t(G8,{asChild:!0,...c,children:t(ie.button,{type:"button",role:"combobox","aria-controls":d.open?d.contentId:void 0,"aria-expanded":d.open,"aria-required":d.required,"aria-autocomplete":"none",dir:d.dir,"data-state":d.open?"open":"closed",disabled:h,"data-disabled":h?"":void 0,"data-placeholder":XD(d.value)?"":void 0,...l,ref:x,onClick:Y(l.onClick,(U)=>{if(U.currentTarget.focus(),y.current!=="mouse")D(U)}),onPointerDown:Y(l.onPointerDown,(U)=>{y.current=U.pointerType;let A=U.target;if(A.hasPointerCapture(U.pointerId))A.releasePointerCapture(U.pointerId);if(U.button===0&&U.ctrlKey===!1&&U.pointerType==="mouse")D(U),U.preventDefault()}),onKeyDown:Y(l.onKeyDown,(U)=>{let A=k.current!=="";if(!(U.ctrlKey||U.altKey||U.metaKey)&&U.key.length===1)b(U.key);if(A&&U.key===" ")return;if(UPe.includes(U.key))D(),U.preventDefault()})})})},"SelectTrigger")),QPe="SelectValue",JPe=F(No(function(r,a){let{__scopeSelect:i,className:s,style:l,children:c,placeholder:d="",...h}=r,x=J8(QPe,i),{onValueNodeHasChildrenChange:v}=x,y=c!==void 0,k=ye(a,x.onValueNodeChange);Pt(()=>{v(y)},[v,y]);let b=XD(x.value);return t(ie.span,{...h,asChild:b?!1:h.asChild,ref:k,style:{pointerEvents:"none"},children:t(Dn,{children:b?d:c},b?"placeholder":"value")})},"SelectValue")),$Pe=F(No(function(r,a){let{__scopeSelect:i,children:s,...l}=r;return t(ie.span,{"aria-hidden":!0,...l,ref:a,children:s||"▼"})},"SelectIcon")),eTe="SelectPortal",[tTe,rTe]=wL(eTe,{forceMount:void 0}),oTe=No((e)=>{let{__scopeSelect:r,forceMount:a,...i}=e;return t(tTe,{scope:e.__scopeSelect,forceMount:a,children:t(fZ,{asChild:!0,...i})})},"SelectPortal"),bL="SelectContent",aTe=F(No(function(r,a){let i=rTe(bL,r.__scopeSelect),{forceMount:s=i.forceMount,...l}=r,c=J8(bL,r.__scopeSelect),[d,h]=u();return Pt(()=>{h(new DocumentFragment)},[]),t(cr,{present:s||c.open,children:({present:x})=>x?t(fTe,{...l,ref:a}):t(nTe,{...l,fragment:d})})},"SelectContent")),nTe=F(No(function(r,a){let{__scopeSelect:i,children:s,fragment:l}=r;if(!l)return null;return hs(t(Rse,{scope:i,children:t(PF.Slot,{scope:i,children:t("div",{ref:a,children:s})})}),l)},"SelectContentFragment")),_u=10,[Rse,zL]=wL(bL),iTe=Bi("SelectContent.RemoveScroll"),fTe=F(No(function(r,a){let{__scopeSelect:i}=r,{position:s="item-aligned",onCloseAutoFocus:l,onEscapeKeyDown:c,onPointerDownOutside:d,side:h,sideOffset:x,align:v,alignOffset:y,arrowPadding:k,collisionBoundary:b,collisionPadding:T,sticky:D,hideWhenDetached:U,avoidCollisions:A,...j}=r,V=J8(bL,i),[J,ee]=u(null),[te,re]=u(null),ae=ye(a,ee),[he,be]=u(null),[Qe,Ye]=u(null),Se=TF(i),[Ge,rt]=u(!1),tt=_(!1);m(()=>{if(J)return V8(J)},[J]),sZ();let bt=P((Vt)=>{let[Xt,...Pr]=Se().map((hr)=>hr.ref.current),[zr]=Pr.slice(-1),Ar=document.activeElement;for(let hr of Vt){if(hr===Ar)return;if(hr?.scrollIntoView({block:"nearest"}),hr===Xt&&te)te.scrollTop=0;if(hr===zr&&te)te.scrollTop=te.scrollHeight;if(hr?.focus(),document.activeElement!==Ar)return}},[Se,te]),jt=P(()=>bt([he,J]),[bt,he,J]);m(()=>{if(Ge)jt()},[Ge,jt]);let{onOpenChange:qt,triggerPointerDownPosRef:se}=V;m(()=>{if(J){let Vt={x:0,y:0},Xt=No((zr)=>{Vt={x:Math.abs(Math.round(zr.pageX)-(se.current?.x??0)),y:Math.abs(Math.round(zr.pageY)-(se.current?.y??0))}},"handlePointerMove"),Pr=No((zr)=>{if(Vt.x<=10&&Vt.y<=10)zr.preventDefault();else if(!zr.composedPath().includes(J))qt(!1);document.removeEventListener("pointermove",Xt),se.current=null},"handlePointerUp");if(se.current!==null)document.addEventListener("pointermove",Xt),document.addEventListener("pointerup",Pr,{capture:!0,once:!0});return()=>{document.removeEventListener("pointermove",Xt),document.removeEventListener("pointerup",Pr,{capture:!0})}}},[J,qt,se]),m(()=>{let Vt=No(()=>qt(!1),"close");return window.addEventListener("blur",Vt),window.addEventListener("resize",Vt),()=>{window.removeEventListener("blur",Vt),window.removeEventListener("resize",Vt)}},[qt]);let[St,Ht]=w9((Vt)=>{let Xt=Se().filter((Ar)=>!Ar.disabled),Pr=Xt.find((Ar)=>Ar.ref.current===document.activeElement),zr=z9(Xt,Vt,Pr);if(zr)setTimeout(()=>zr.ref.current?.focus())}),Oe=P((Vt,Xt,Pr)=>{let zr=!tt.current&&!Pr;if(V.value!==void 0&&V.value===Xt||zr){if(be(Vt),zr)tt.current=!0}},[V.value]),nr=P(()=>J?.focus(),[J]),fr=P((Vt,Xt,Pr)=>{let zr=!tt.current&&!Pr;if(V.value!==void 0&&V.value===Xt||zr)Ye(Vt)},[V.value]),er=s==="popper"?Sse:sTe,Ur=er===Sse?{side:h,sideOffset:x,align:v,alignOffset:y,arrowPadding:k,collisionBoundary:b,collisionPadding:T,sticky:D,hideWhenDetached:U,avoidCollisions:A}:{};return t(Rse,{scope:i,content:J,viewport:te,onViewportChange:re,itemRefCallback:Oe,selectedItem:he,onItemLeave:nr,itemTextRefCallback:fr,focusSelectedItem:jt,selectedItemText:Qe,position:s,isPositioned:Ge,searchRef:St,children:t(Mm,{as:iTe,allowPinchZoom:!0,children:t(H8,{asChild:!0,trapped:V.open,onMountAutoFocus:(Vt)=>{Vt.preventDefault()},onUnmountAutoFocus:Y(l,(Vt)=>{V.trigger?.focus({preventScroll:!0}),Vt.preventDefault()}),children:t(iZ,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:(Vt)=>Vt.preventDefault(),onDismiss:()=>V.onOpenChange(!1),children:t(er,{role:"listbox",id:V.contentId,"data-state":V.open?"open":"closed",dir:V.dir,onContextMenu:(Vt)=>Vt.preventDefault(),...j,...Ur,onPlaced:()=>rt(!0),ref:ae,style:{display:"flex",flexDirection:"column",outline:"none",...j.style},onKeyDown:Y(j.onKeyDown,(Vt)=>{let Xt=Vt.ctrlKey||Vt.altKey||Vt.metaKey;if(Vt.key==="Tab")Vt.preventDefault();if(!Xt&&Vt.key.length===1)Ht(Vt.key);if(["ArrowUp","ArrowDown","Home","End"].includes(Vt.key)){let zr=Se().filter((Ar)=>!Ar.disabled).map((Ar)=>Ar.ref.current);if(["ArrowUp","End"].includes(Vt.key))zr=zr.slice().reverse();if(["ArrowUp","ArrowDown"].includes(Vt.key)){let Ar=Vt.target,hr=zr.indexOf(Ar);zr=zr.slice(hr+1)}setTimeout(()=>bt(zr)),Vt.preventDefault()}})})})})})})},"SelectContentImpl")),sTe=F(No(function(r,a){let{__scopeSelect:i,onPlaced:s,...l}=r,c=J8(bL,i),d=zL(bL,i),[h,x]=u(null),[v,y]=u(null),k=ye(a,y),b=TF(i),T=_(!1),D=_(!0),{viewport:U,selectedItem:A,selectedItemText:j,focusSelectedItem:V}=d,J=P(()=>{if(c.trigger&&c.valueNode&&h&&v&&U&&A&&j){let ae=c.trigger.getBoundingClientRect(),he=v.getBoundingClientRect(),be=c.valueNode.getBoundingClientRect(),Qe=j.getBoundingClientRect();if(c.dir!=="rtl"){let Ar=Qe.left-he.left,hr=be.left-Ar,go=ae.left-hr,po=ae.width+go,va=Math.max(po,he.width),sr=window.innerWidth-_u,Mo=vi(hr,[_u,Math.max(_u,sr-va)]);h.style.minWidth=po+"px",h.style.left=Mo+"px"}else{let Ar=he.right-Qe.right,hr=window.innerWidth-be.right-Ar,go=window.innerWidth-ae.right-hr,po=ae.width+go,va=Math.max(po,he.width),sr=window.innerWidth-_u,Mo=vi(hr,[_u,Math.max(_u,sr-va)]);h.style.minWidth=po+"px",h.style.right=Mo+"px"}let Ye=b(),Se=window.innerHeight-_u*2,Ge=U.scrollHeight,rt=window.getComputedStyle(v),tt=parseInt(rt.borderTopWidth,10),bt=parseInt(rt.paddingTop,10),jt=parseInt(rt.borderBottomWidth,10),qt=parseInt(rt.paddingBottom,10),se=tt+bt+Ge+qt+jt,St=Math.min(A.offsetHeight*5,se),Ht=window.getComputedStyle(U),Oe=parseInt(Ht.paddingTop,10),nr=parseInt(Ht.paddingBottom,10),fr=ae.top+ae.height/2-_u,er=Se-fr,Ur=A.offsetHeight/2,Vt=A.offsetTop+Ur,Xt=tt+bt+Vt,Pr=se-Xt;if(Xt<=fr){let Ar=Ye.length>0&&A===Ye[Ye.length-1].ref.current;h.style.bottom="0px";let hr=v.clientHeight-U.offsetTop-U.offsetHeight,go=Math.max(er,Ur+(Ar?nr:0)+hr+jt),po=Xt+go;h.style.height=po+"px"}else{let Ar=Ye.length>0&&A===Ye[0].ref.current;h.style.top="0px";let go=Math.max(fr,tt+U.offsetTop+(Ar?Oe:0)+Ur)+Pr;h.style.height=go+"px",U.scrollTop=Xt-fr+U.offsetTop}h.style.margin=`${_u}px 0`,h.style.minHeight=St+"px",h.style.maxHeight=Se+"px",s?.(),requestAnimationFrame(()=>T.current=!0)}},[b,c.trigger,c.valueNode,h,v,U,A,j,c.dir,s]);Pt(()=>J(),[J]);let[ee,te]=u();Pt(()=>{if(v)te(window.getComputedStyle(v).zIndex)},[v]);let re=P((ae)=>{if(ae&&D.current===!0)J(),V?.(),D.current=!1},[J,V]);return t(lTe,{scope:i,contentWrapper:h,shouldExpandOnScrollRef:T,onScrollButtonChange:re,children:t("div",{ref:x,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:ee},children:t(ie.div,{...l,ref:k,style:{boxSizing:"border-box",maxHeight:"100%",...l.style}})})})},"SelectItemAlignedPosition")),Sse=F(No(function(r,a){let{__scopeSelect:i,align:s="start",collisionPadding:l=_u,...c}=r,d=y9(i);return t(K8,{...d,...c,ref:a,align:s,collisionPadding:l,style:{boxSizing:"border-box",...c.style,...{"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}})},"SelectPopperPosition")),[lTe,b9]=wL(bL,{}),Lse="SelectViewport",cTe=F(No(function(r,a){let{__scopeSelect:i,nonce:s,...l}=r,c=zL(Lse,i),d=b9(Lse,i),h=ye(a,c.onViewportChange),x=_(0);return o(L,{children:[t("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:s}),t(PF.Slot,{scope:i,children:t(ie.div,{"data-radix-select-viewport":"",role:"presentation",...l,ref:h,style:{position:"relative",flex:1,overflow:"hidden auto",...l.style},onScroll:Y(l.onScroll,(v)=>{let y=v.currentTarget,{contentWrapper:k,shouldExpandOnScrollRef:b}=d;if(b?.current&&k){let T=Math.abs(x.current-y.scrollTop);if(T>0){let D=window.innerHeight-_u*2,U=parseFloat(k.style.minHeight),A=parseFloat(k.style.height),j=Math.max(U,A);if(j<D){let V=j+T,J=Math.min(D,V),ee=V-J;if(k.style.height=J+"px",k.style.bottom==="0px")y.scrollTop=ee>0?ee:0,k.style.justifyContent="flex-end"}}}x.current=y.scrollTop})})})]})},"SelectViewport")),uTe="SelectGroup",[eta,tta]=wL(uTe);var _9="SelectItem",[dTe,Pse]=wL(_9),ZTe=F(No(function(r,a){let{__scopeSelect:i,value:s,disabled:l=!1,textValue:c,...d}=r,h=J8(_9,i),x=zL(_9,i),v=h.value===s,[y,k]=u(c??""),[b,T]=u(!1),D=$o((J)=>x.itemRefCallback?.(J,s,l)),U=ye(a,D),A=Cr(),j=_("touch"),V=No(()=>{if(!l)h.onValueChange(s),h.onOpenChange(!1)},"handleSelect");return t(dTe,{scope:i,value:s,disabled:l,textId:A,isSelected:v,onItemTextChange:P((J)=>{k((ee)=>ee||(J?.textContent??"").trim())},[]),children:t(PF.ItemSlot,{scope:i,value:s,disabled:l,textValue:y,children:t(ie.div,{role:"option","aria-labelledby":A,"data-highlighted":b?"":void 0,"aria-selected":v&&b,"data-state":v?"checked":"unchecked","aria-disabled":l||void 0,"data-disabled":l?"":void 0,tabIndex:l?void 0:-1,...d,ref:U,onFocus:Y(d.onFocus,()=>T(!0)),onBlur:Y(d.onBlur,()=>T(!1)),onClick:Y(d.onClick,()=>{if(j.current!=="mouse")V()}),onPointerUp:Y(d.onPointerUp,()=>{if(j.current==="mouse")V()}),onPointerDown:Y(d.onPointerDown,(J)=>{j.current=J.pointerType}),onPointerMove:Y(d.onPointerMove,(J)=>{if(j.current=J.pointerType,l)x.onItemLeave?.();else if(j.current==="mouse")J.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Y(d.onPointerLeave,(J)=>{if(J.currentTarget===document.activeElement)x.onItemLeave?.()}),onKeyDown:Y(d.onKeyDown,(J)=>{if(l||J.target!==J.currentTarget)return;if(x.searchRef?.current!==""&&J.key===" ")return;if(YPe.includes(J.key))V();if(J.key===" ")J.preventDefault()})})})})},"SelectItem")),RF="SelectItemText",pTe=F(No(function(r,a){let{__scopeSelect:i,className:s,style:l,...c}=r,d=J8(RF,i),h=zL(RF,i),x=Pse(RF,i),v=WPe(RF,i),[y,k]=u(null),b=$o((V)=>h.itemTextRefCallback?.(V,x.value,x.disabled)),T=ye(a,k,x.onItemTextChange,b),D=y?.textContent,U=N(()=>t("option",{value:x.value,disabled:x.disabled,children:D},x.value),[x.disabled,x.value,D]),{onNativeOptionAdd:A,onNativeOptionRemove:j}=v;return Pt(()=>(A(U),()=>j(U)),[A,j,U]),o(L,{children:[t(ie.span,{id:x.textId,...c,ref:T}),x.isSelected&&d.valueNode&&!d.valueNodeHasChildren&&!XD(d.value)?hs(c.children,d.valueNode):null]})},"SelectItemText")),mTe="SelectItemIndicator",hTe=F(No(function(r,a){let{__scopeSelect:i,...s}=r;return Pse(mTe,i).isSelected?t(ie.span,{"aria-hidden":!0,...s,ref:a}):null},"SelectItemIndicator")),kse="SelectScrollUpButton",gTe=F(No(function(r,a){let i=zL(kse,r.__scopeSelect),s=b9(kse,r.__scopeSelect),[l,c]=u(!1),d=ye(a,s.onScrollButtonChange);return Pt(()=>{if(i.viewport&&i.isPositioned){let x=function(){let y=v.scrollTop>0;c(y)};var h=x;No(x,"handleScroll");let v=i.viewport;return x(),v.addEventListener("scroll",x),()=>v.removeEventListener("scroll",x)}},[i.viewport,i.isPositioned]),l?t(Tse,{...r,ref:d,onAutoScroll:()=>{let{viewport:h,selectedItem:x}=i;if(h&&x)h.scrollTop=h.scrollTop-x.offsetHeight}}):null},"SelectScrollUpButton")),Cse="SelectScrollDownButton",MTe=F(No(function(r,a){let i=zL(Cse,r.__scopeSelect),s=b9(Cse,r.__scopeSelect),[l,c]=u(!1),d=ye(a,s.onScrollButtonChange);return Pt(()=>{if(i.viewport&&i.isPositioned){let x=function(){let y=v.scrollHeight-v.clientHeight,k=Math.ceil(v.scrollTop)<y;c(k)};var h=x;No(x,"handleScroll");let v=i.viewport;return x(),v.addEventListener("scroll",x),()=>v.removeEventListener("scroll",x)}},[i.viewport,i.isPositioned]),l?t(Tse,{...r,ref:d,onAutoScroll:()=>{let{viewport:h,selectedItem:x}=i;if(h&&x)h.scrollTop=h.scrollTop+x.offsetHeight}}):null},"SelectScrollDownButton")),Tse=F(No(function(r,a){let{__scopeSelect:i,onAutoScroll:s,...l}=r,c=zL("SelectScrollButton",i),d=_(null),h=TF(i),x=P(()=>{if(d.current!==null)window.clearInterval(d.current),d.current=null},[]);return m(()=>()=>x(),[x]),Pt(()=>{h().find((y)=>y.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[h]),t(ie.div,{"aria-hidden":!0,...l,ref:a,style:{flexShrink:0,...l.style},onPointerDown:Y(l.onPointerDown,()=>{if(d.current===null)d.current=window.setInterval(s,50)}),onPointerMove:Y(l.onPointerMove,()=>{if(c.onItemLeave?.(),d.current===null)d.current=window.setInterval(s,50)}),onPointerLeave:Y(l.onPointerLeave,()=>{x()})})},"SelectScrollButtonImpl"));var xTe="SelectBubbleInput",vTe=F(No(function({__scopeSelect:r,...a},i){let s=J8(xTe,r),{value:l,onValueChange:c,required:d,disabled:h,name:x,autoComplete:v,form:y}=s,{nativeOptions:k,nativeSelectKey:b}=s,T=_(null),D=ye(i,T),U=l??"",A=jc(U),j=Array.from(k).some((V)=>(V.props.value??"")==="");return m(()=>{let V=T.current;if(!V)return;let J=window.HTMLSelectElement.prototype,te=Object.getOwnPropertyDescriptor(J,"value").set;if(A!==U&&te){let re=new Event("change",{bubbles:!0});te.call(V,U),V.dispatchEvent(re)}},[A,U]),o(ie.select,{"aria-hidden":!0,required:d,tabIndex:-1,name:x,autoComplete:v,disabled:h,form:y,onChange:(V)=>c(V.target.value),...a,style:{...v9,...a.style},ref:D,defaultValue:U,children:[XD(l)&&!j?t("option",{value:""}):null,Array.from(k)]},b)},"SelectBubbleInput"));function Ase(e){return typeof e==="function"}No(Ase,"isFunction");function XD(e){return e===""||e===void 0}No(XD,"shouldShowPlaceholder");function w9(e){let r=$o(e),a=_(""),i=_(0),s=P((c)=>{let d=a.current+c;r(d),No(function h(x){if(a.current=x,window.clearTimeout(i.current),x!=="")i.current=window.setTimeout(()=>h(""),1000)},"updateSearch")(d)},[r]),l=P(()=>{a.current="",window.clearTimeout(i.current)},[]);return m(()=>()=>window.clearTimeout(i.current),[]),[a,s,l]}No(w9,"useTypeaheadSearch");function z9(e,r,a){let s=r.length>1&&Array.from(r).every((x)=>x===r[0])?r[0]:r,l=a?e.indexOf(a):-1,c=Ese(e,Math.max(l,0));if(s.length===1)c=c.filter((x)=>x!==a);let h=c.find((x)=>x.textValue.toLowerCase().startsWith(s.toLowerCase()));return h!==a?h:void 0}No(z9,"findNextItem");function Ese(e,r){return e.map((a,i)=>e[(r+i)%e.length])}No(Ese,"wrapArray");E();var _Te=Object.defineProperty,Nse=(e,r)=>_Te(e,"name",{value:r,configurable:!0}),Ose="horizontal",yTe=["horizontal","vertical"],bTe=F(Nse(function(r,a){let{decorative:i,orientation:s=Ose,...l}=r,c=Fse(s)?s:Ose,h=i?{role:"none"}:{"aria-orientation":c==="vertical"?c:void 0,role:"separator"};return t(ie.div,{"data-orientation":c,...h,...l,ref:a})},"Separator"));function Fse(e){return yTe.includes(e)}Nse(Fse,"isValidOrientation");var wTe=bTe;E();var zTe=Object.defineProperty,$8=(e,r)=>zTe(e,"name",{value:r,configurable:!0}),S9="Switch",[STe,uta]=xt(S9),[LTe,L9]=STe(S9);function Bse(e){let{__scopeSwitch:r,checked:a,children:i,defaultChecked:s,disabled:l,form:c,name:d,onCheckedChange:h,required:x,value:v="on",internal_do_not_use_render:y}=e,[k,b]=Zt({prop:a,defaultProp:s??!1,onChange:h,caller:S9}),[T,D]=u(null),[U,A]=u(null),j=_(!1),[V,J]=on((re)=>re+1,0),ee=T?!!c||!!T.closest("form"):!0,te={checked:k,setChecked:b,disabled:l,control:T,setControl:D,name:d,form:c,value:v,hasConsumerStoppedPropagationRef:j,userInteractionCount:V,onUserInteraction:J,required:x,defaultChecked:s,isFormControl:ee,bubbleInput:U,setBubbleInput:A};return t(LTe,{scope:r,...te,children:Use(y)?y(te):i})}$8(Bse,"SwitchProvider");var kTe="SwitchTrigger",CTe=F($8(function({__scopeSwitch:r,onClick:a,...i},s){let{control:l,form:c,value:d,disabled:h,checked:x,required:v,setControl:y,setChecked:k,hasConsumerStoppedPropagationRef:b,onUserInteraction:T,isFormControl:D,bubbleInput:U}=L9(kTe,r),A=ye(s,y),j=_(x);return m(()=>{let V=c?l?.ownerDocument.getElementById(c):l?.form;if(V instanceof HTMLFormElement){let J=$8(()=>k(j.current),"reset");return V.addEventListener("reset",J),()=>V.removeEventListener("reset",J)}},[l,c,k]),t(ie.button,{type:"button",role:"switch","aria-checked":x,"aria-required":v,"data-state":k9(x),"data-disabled":h?"":void 0,disabled:h,value:d,...i,ref:A,onClick:Y(a,(V)=>{if(T(),k((J)=>!J),U&&D){if(b.current=V.isPropagationStopped(),!b.current)V.stopPropagation()}})})},"SwitchTrigger")),ITe=F($8(function(r,a){let{__scopeSwitch:i,name:s,checked:l,defaultChecked:c,required:d,disabled:h,value:x,onCheckedChange:v,form:y,...k}=r;return t(Bse,{__scopeSwitch:i,checked:l,defaultChecked:c,disabled:h,required:d,onCheckedChange:v,name:s,form:y,value:x,internal_do_not_use_render:({isFormControl:b})=>o(L,{children:[t(CTe,{...k,ref:a,__scopeSwitch:i}),b&&t(ATe,{__scopeSwitch:i})]})})},"Switch")),RTe="SwitchThumb",PTe=F($8(function(r,a){let{__scopeSwitch:i,...s}=r,l=L9(RTe,i);return t(ie.span,{"data-state":k9(l.checked),"data-disabled":l.disabled?"":void 0,...s,ref:a})},"SwitchThumb")),TTe="SwitchBubbleInput",ATe=F($8(function({__scopeSwitch:r,onClick:a,...i},s){let{control:l,hasConsumerStoppedPropagationRef:c,userInteractionCount:d,checked:h,defaultChecked:x,required:v,disabled:y,name:k,value:b,form:T,bubbleInput:D,setBubbleInput:U}=L9(TTe,r),A=ye(s,U),j=_i(l),V=_(!1),J=_(h),ee=_(d);m(()=>{let re=D;if(!re)return;let ae=window.HTMLInputElement.prototype,be=Object.getOwnPropertyDescriptor(ae,"checked").set,Qe=d!==ee.current;ee.current=d;let Ye=J.current!==h;J.current=h;let Se=!(Qe&&c.current);if(Ye&&be){V.current=!Qe;let Ge=new Event("click",{bubbles:Se});be.call(re,h),re.dispatchEvent(Ge),V.current=!1}},[D,h,c,d]);let te=_(h);return t(ie.input,{type:"checkbox","aria-hidden":!0,defaultChecked:x??te.current,required:v,disabled:y,name:k,value:b,form:T,...i,tabIndex:-1,ref:A,onClick:Y(a,(re)=>{if(V.current)re.stopPropagation()}),style:{...i.style,...j,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"SwitchBubbleInput"));function Use(e){return typeof e==="function"}$8(Use,"isFunction");function k9(e){return e?"checked":"unchecked"}$8(k9,"getState");E();var ETe=Object.defineProperty,NR=(e,r)=>ETe(e,"name",{value:r,configurable:!0}),C9="Tabs",[DTe,_ta]=xt(C9,[bi]),qse=bi(),[OTe,I9]=DTe(C9),NTe=F(NR(function(r,a){let{__scopeTabs:i,value:s,onValueChange:l,defaultValue:c,orientation:d="horizontal",dir:h,activationMode:x="automatic",...v}=r,y=Qn(h),[k,b]=Zt({prop:s,onChange:l,defaultProp:c??"",caller:C9});return t(OTe,{scope:i,baseId:Cr(),value:k,onValueChange:b,orientation:d,dir:y,activationMode:x,children:t(ie.div,{dir:y,"data-orientation":d,...v,ref:a})})},"Tabs")),FTe="TabsList",jTe=F(NR(function(r,a){let{__scopeTabs:i,loop:s=!0,...l}=r,c=I9(FTe,i),d=qse(i);return t(xl,{asChild:!0,...d,orientation:c.orientation,dir:c.dir,loop:s,children:t(ie.div,{role:"tablist","aria-orientation":c.orientation,...l,ref:a})})},"TabsList")),BTe="TabsTrigger",UTe=F(NR(function(r,a){let{__scopeTabs:i,value:s,disabled:l=!1,...c}=r,d=I9(BTe,i),h=qse(i),x=R9(d.baseId,s),v=P9(d.baseId,s),y=s===d.value;return t(Sl,{asChild:!0,...h,focusable:!l,active:y,children:t(ie.button,{type:"button",role:"tab","aria-selected":y,"aria-controls":v,"data-state":y?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:x,...c,ref:a,onMouseDown:Y(r.onMouseDown,(k)=>{if(!l&&k.button===0&&k.ctrlKey===!1)d.onValueChange(s);else k.preventDefault()}),onKeyDown:Y(r.onKeyDown,(k)=>{if(l||k.target!==k.currentTarget)return;if([" ","Enter"].includes(k.key))d.onValueChange(s)}),onFocus:Y(r.onFocus,()=>{let k=d.activationMode!=="manual";if(!y&&!l&&k)d.onValueChange(s)})})})},"TabsTrigger")),YTe="TabsContent",qTe=F(NR(function(r,a){let{__scopeTabs:i,value:s,forceMount:l,children:c,...d}=r,h=I9(YTe,i),x=R9(h.baseId,s),v=P9(h.baseId,s),y=s===h.value,k=_(y);return m(()=>{let b=requestAnimationFrame(()=>k.current=!1);return()=>cancelAnimationFrame(b)},[]),t(cr,{present:l||y,children:({present:b})=>t(ie.div,{"data-state":y?"active":"inactive","data-orientation":h.orientation,role:"tabpanel","aria-labelledby":x,hidden:!b,id:v,tabIndex:0,...d,ref:a,style:{...r.style,animationDuration:k.current?"0s":void 0},children:b&&c})})},"TabsContent"));function R9(e,r){return`${e}-trigger-${r}`}NR(R9,"makeTriggerId");function P9(e,r){return`${e}-content-${r}`}NR(P9,"makeContentId");var HTe=NTe,VTe=jTe,WTe=UTe,GTe=qTe;E();var KTe=Object.defineProperty,Ri=(e,r)=>KTe(e,"name",{value:r,configurable:!0}),[E9,Eta]=xt("Tooltip",[yc]),AF=yc(),XTe="TooltipProvider",QTe=700,T9="tooltip.open",[JTe,D9]=E9(XTe),$Te=Ri((e)=>{let{__scopeTooltip:r,delayDuration:a=QTe,skipDelayDuration:i=300,disableHoverableContent:s=!1,children:l}=e,c=_(!0),d=_(!1),h=_(0);return m(()=>{let x=h.current;return()=>window.clearTimeout(x)},[]),t(JTe,{scope:r,isOpenDelayedRef:c,delayDuration:a,onOpen:P(()=>{if(i<=0)return;window.clearTimeout(h.current),c.current=!1},[i]),onClose:P(()=>{if(i<=0)return;window.clearTimeout(h.current),h.current=window.setTimeout(()=>c.current=!0,i)},[i]),isPointerInTransitRef:d,onPointerInTransitChange:P((x)=>{d.current=x},[]),disableHoverableContent:s,children:l})},"TooltipProvider"),A9="Tooltip",[eAe,JD]=E9(A9),tAe=Ri((e)=>{let{__scopeTooltip:r,children:a,open:i,defaultOpen:s,onOpenChange:l,disableHoverableContent:c,delayDuration:d}=e,h=D9(A9,e.__scopeTooltip),x=AF(r),[v,y]=u(null),[k,b]=u(void 0),T=Cr(),D=_(0),U=c??h.disableHoverableContent,A=d??h.delayDuration,j=_(!1),[V,J]=Zt({prop:i,defaultProp:s??!1,onChange:Ri((be)=>{if(be)h.onOpen(),document.dispatchEvent(new CustomEvent(T9));else h.onClose();l?.(be)},"onChange"),caller:A9}),ee=N(()=>V?j.current?"delayed-open":"instant-open":"closed",[V]),te=P(()=>{window.clearTimeout(D.current),D.current=0,j.current=!1,J(!0)},[J]),re=P(()=>{window.clearTimeout(D.current),D.current=0,J(!1)},[J]),ae=P(()=>{window.clearTimeout(D.current),D.current=window.setTimeout(()=>{j.current=!0,J(!0),D.current=0},A)},[A,J]);return m(()=>()=>{if(D.current)window.clearTimeout(D.current),D.current=0},[]),t(Dm,{...x,children:t(eAe,{scope:r,contentId:k??T,setContentId:b,open:V,stateAttribute:ee,trigger:v,onTriggerChange:y,onTriggerEnter:P(()=>{if(h.isOpenDelayedRef.current)ae();else te()},[h.isOpenDelayedRef,ae,te]),onTriggerLeave:P(()=>{if(U)re();else window.clearTimeout(D.current),D.current=0},[re,U]),onOpen:te,onClose:re,disableHoverableContent:U,children:a})})},"Tooltip"),Vse="TooltipTrigger",rAe=F(Ri(function(r,a){let{__scopeTooltip:i,...s}=r,l=JD(Vse,i),c=D9(Vse,i),d=AF(i),h=_(null),x=ye(a,h,l.onTriggerChange),v=_(!1),y=_(!1),k=P(()=>v.current=!1,[]);return m(()=>()=>document.removeEventListener("pointerup",k),[k]),t(G8,{asChild:!0,...d,children:t(ie.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...s,ref:x,onPointerMove:Y(r.onPointerMove,(b)=>{if(b.pointerType==="touch")return;if(!y.current&&!c.isPointerInTransitRef.current)l.onTriggerEnter(),y.current=!0}),onPointerLeave:Y(r.onPointerLeave,()=>{l.onTriggerLeave(),y.current=!1}),onPointerDown:Y(r.onPointerDown,()=>{if(l.open)l.onClose();v.current=!0,document.addEventListener("pointerup",k,{once:!0})}),onFocus:Y(r.onFocus,()=>{if(!v.current)l.onOpen()}),onBlur:Y(r.onBlur,l.onClose),onClick:Y(r.onClick,l.onClose)})})},"TooltipTrigger")),Wse="TooltipPortal",[oAe,aAe]=E9(Wse,{forceMount:void 0}),nAe=Ri((e)=>{let{__scopeTooltip:r,forceMount:a,children:i,container:s}=e,l=JD(Wse,r);return t(oAe,{scope:r,forceMount:a,children:t(cr,{present:a||l.open,children:t(fZ,{asChild:!0,container:s,children:i})})})},"TooltipPortal"),QD="TooltipContent",iAe=F(Ri(function(r,a){let i=aAe(QD,r.__scopeTooltip),{forceMount:s=i.forceMount,side:l="top",...c}=r,d=JD(QD,r.__scopeTooltip);return t(cr,{present:s||d.open,children:d.disableHoverableContent?t(Gse,{side:l,...c,ref:a}):t(fAe,{side:l,...c,ref:a})})},"TooltipContent")),fAe=F(Ri(function(r,a){let i=JD(QD,r.__scopeTooltip),s=D9(QD,r.__scopeTooltip),l=_(null),c=ye(a,l),[d,h]=u(null),{trigger:x,onClose:v}=i,y=l.current,{onPointerInTransitChange:k}=s,b=P(()=>{h(null),k(!1)},[k]),T=P((D,U)=>{let A=D.currentTarget,j={x:D.clientX,y:D.clientY},V=Kse(j,A.getBoundingClientRect()),J=Xse(j,V),ee=Qse(U.getBoundingClientRect()),te=$se([...J,...ee]);h(te),k(!0)},[k]);return m(()=>()=>b(),[b]),m(()=>{if(x&&y){let D=Ri((A)=>T(A,y),"handleTriggerLeave"),U=Ri((A)=>T(A,x),"handleContentLeave");return x.addEventListener("pointerleave",D),y.addEventListener("pointerleave",U),()=>{x.removeEventListener("pointerleave",D),y.removeEventListener("pointerleave",U)}}},[x,y,T,b]),m(()=>{if(d){let D=Ri((U)=>{let A=U.target,j={x:U.clientX,y:U.clientY},V=x?.contains(A)||y?.contains(A),J=!Jse(j,d);if(V)b();else if(J)b(),v()},"handleTrackPointerGrace");return document.addEventListener("pointermove",D),()=>document.removeEventListener("pointermove",D)}},[x,y,d,v,b]),t(Gse,{...r,ref:c})},"TooltipContentHoverable")),sAe=WY("TooltipContent"),Gse=F(Ri(function(r,a){let{__scopeTooltip:i,children:s,"aria-label":l,id:c,onEscapeKeyDown:d,onPointerDownOutside:h,...x}=r,v=JD(QD,i),y=AF(i),{onClose:k}=v;m(()=>(document.addEventListener(T9,k),()=>document.removeEventListener(T9,k)),[k]),m(()=>{if(v.trigger){let T=Ri((D)=>{if(D.target instanceof Node&&D.target.contains(v.trigger))k()},"handleScroll");return window.addEventListener("scroll",T,{capture:!0}),()=>window.removeEventListener("scroll",T,{capture:!0})}},[v.trigger,k]);let{setContentId:b}=v;return Pt(()=>(b(c),()=>{b(void 0)}),[c,b]),t(iZ,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:d,onPointerDownOutside:h,onFocusOutside:(T)=>T.preventDefault(),onDismiss:k,children:o(K8,{"data-state":v.stateAttribute,role:l?void 0:"tooltip",id:l?void 0:v.contentId,...y,...x,ref:a,style:{...x.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(sAe,{children:s}),l?t(zse,{id:v.contentId,role:"tooltip",children:l}):null]})})},"TooltipContentImpl")),lAe=F(Ri(function(r,a){let{__scopeTooltip:i,...s}=r,l=AF(i);return t(UD,{...l,...s,ref:a})},"TooltipArrow"));function Kse(e,r){let a=Math.abs(r.top-e.y),i=Math.abs(r.bottom-e.y),s=Math.abs(r.right-e.x),l=Math.abs(r.left-e.x);switch(Math.min(a,i,s,l)){case l:return"left";case s:return"right";case a:return"top";case i:return"bottom";default:throw Error("unreachable")}}Ri(Kse,"getExitSideFromRect");function Xse(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}Ri(Xse,"getPaddedExitPoints");function Qse(e){let{top:r,right:a,bottom:i,left:s}=e;return[{x:s,y:r},{x:a,y:r},{x:a,y:i},{x:s,y:i}]}Ri(Qse,"getPointsFromRect");function Jse(e,r){let{x:a,y:i}=e,s=!1;for(let l=0,c=r.length-1;l<r.length;c=l++){let d=r[l],h=r[c],{x,y:v}=d,{x:y,y:k}=h;if(v>i!==k>i&&a<(y-x)*(i-v)/(k-v)+x)s=!s}return s}Ri(Jse,"isPointInPolygon");function $se(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}),ele(r)}Ri($se,"getHull");function ele(e){if(e.length<=1)return e.slice();let r=[];for(let i=0;i<e.length;i++){let s=e[i];while(r.length>=2){let l=r[r.length-1],c=r[r.length-2];if((l.x-c.x)*(s.y-c.y)>=(l.y-c.y)*(s.x-c.x))r.pop();else break}r.push(s)}r.pop();let a=[];for(let i=e.length-1;i>=0;i--){let s=e[i];while(a.length>=2){let l=a[a.length-1],c=a[a.length-2];if((l.x-c.x)*(s.y-c.y)>=(l.y-c.y)*(s.x-c.x))a.pop();else break}a.push(s)}if(a.pop(),r.length===1&&a.length===1&&r[0].x===a[0].x&&r[0].y===a[0].y)return r;else return r.concat(a)}Ri(ele,"getHullPresorted");var cAe=$Te,uAe=tAe,dAe=rAe,ZAe=nAe,pAe=iAe,mAe=lAe;var EF=gs("inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap cursor-pointer transition-colors outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",xs:"h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-xs":"size-6 rounded-md [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function S({className:e,variant:r="default",size:a="default",asChild:i=!1,...s}){let l=i?yne:"button";return t(l,{"data-slot":"button","data-variant":r,"data-size":a,className:C(EF({variant:r,size:a,className:e})),...s})}function un({delayDuration:e=0,...r}){return t(cAe,{"data-slot":"tooltip-provider",delayDuration:e,...r})}function dn({...e}){return t(uAe,{"data-slot":"tooltip",...e})}function fn({...e}){return t(dAe,{"data-slot":"tooltip-trigger",...e})}function pn({className:e,sideOffset:r=0,children:a,...i}){return t(ZAe,{children:o(pAe,{"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(mAe,{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(nIe,{"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(fIe,{"data-slot":"avatar-image",className:C("aspect-square size-full",e),...r})}function Te({className:e,...r}){return t(lIe,{"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 ge({...e}){return t(SRe,{"data-slot":"dropdown-menu",...e})}function ra({...e}){return t(ase,{"data-slot":"dropdown-menu-portal",...e})}function Ae({...e}){return t(LRe,{"data-slot":"dropdown-menu-trigger",...e})}function _e({className:e,sideOffset:r=4,...a}){return t(ase,{children:t(kRe,{"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 K({className:e,inset:r,variant:a="default",...i}){return t(IRe,{"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 qc({...e}){return t(RRe,{"data-slot":"dropdown-menu-radio-group",...e})}function wi({className:e,children:r,...a}){return o(PRe,{"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(TRe,{children:t(pD,{className:"size-2 fill-current"})})}),r]})}function en({className:e,inset:r,...a}){return t(CRe,{"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 Kt({className:e,...r}){return t(ARe,{"data-slot":"dropdown-menu-separator",className:C("-mx-1 my-1 h-px bg-border",e),...r})}function As({...e}){return t(ERe,{"data-slot":"dropdown-menu-sub",...e})}function _s({className:e,inset:r,children:a,...i}){return o(DRe,{"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(It,{className:"ml-auto size-4"})]})}function ys({className:e,...r}){return t(ORe,{"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})}E();function hAe(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 bs(){let[e,r]=u(),a=kZ({select:(c)=>c.location.pathname}),{teamId:i,projectId:s}=hAe(a),{data:l}=Z({queryKey:["projects",s,"team"],queryFn:async()=>{let c=await g.api.projects[":projectId"].team.$get({param:{projectId:s}});if(!c.ok)throw Error("failed to fetch project team");return await c.json()},enabled:!!s});return m(()=>{if(i)r(i);else if(l?.teamId)r(l.teamId)},[i,l]),e}var DF=Object.create(null),$D=(e)=>globalThis.process?.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?DF:globalThis),Fm=new Proxy(DF,{get(e,r){return $D()[r]??DF[r]},has(e,r){return r in $D()||r in DF},set(e,r,a){let i=$D(!0);return i[r]=a,!0},deleteProperty(e,r){if(!r)return!1;let a=$D(!0);return delete a[r],!0},ownKeys(){let e=$D(!0);return Object.keys(e)}});var gAe=typeof process<"u"&&process.env&&"production"||"";function o0(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 MAe=Object.freeze({get BETTER_AUTH_SECRET(){return o0("BETTER_AUTH_SECRET")},get AUTH_SECRET(){return o0("AUTH_SECRET")},get BETTER_AUTH_TELEMETRY(){return o0("BETTER_AUTH_TELEMETRY")},get BETTER_AUTH_TELEMETRY_ID(){return o0("BETTER_AUTH_TELEMETRY_ID")},get NODE_ENV(){return o0("NODE_ENV","development")},get PACKAGE_VERSION(){return o0("PACKAGE_VERSION","0.0.0")},get BETTER_AUTH_TELEMETRY_ENDPOINT(){return o0("BETTER_AUTH_TELEMETRY_ENDPOINT","")}});function xAe(){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 vAe(e){let r=e.split(`
|
|
61
|
-
at `);if(r.length<=1)return e;return r.splice(1,1),r.join(`
|
|
62
|
-
at `)}function _Ae(e,r){class a extends e{#e;constructor(...i){if(xAe()){let l=Error.stackTraceLimit;Error.stackTraceLimit=0;super(...i);Error.stackTraceLimit=l}else super(...i);let s=Error().stack;if(s)this.#e=vAe(s.replace(/^Error/,this.name))}get errorStack(){return this.#e}}return Object.defineProperty(a.prototype,"constructor",{get(){return r},enumerable:!1,configurable:!0}),a}var yAe={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},bAe=class extends Error{constructor(e="INTERNAL_SERVER_ERROR",r=void 0,a={},i=typeof e==="number"?e:yAe[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 wAe=_Ae(bAe,Error);var FR=class extends Error{constructor(e,r){super(e,r);this.name="BetterAuthError",this.message=e,this.stack=""}};function zAe(e){try{return(new URL(e).pathname.replace(/\/+$/,"")||"/")!=="/"}catch{throw new FR(`Invalid base URL: ${e}. Please provide a valid base URL.`)}}function SAe(e){try{let r=new URL(e);if(r.protocol!=="http:"&&r.protocol!=="https:")throw new FR(`Invalid base URL: ${e}. URL must include 'http://' or 'https://'`)}catch(r){if(r instanceof FR)throw r;throw new FR(`Invalid base URL: ${e}. Please provide a valid base URL.`,{cause:r})}}function eO(e,r="/api/auth"){if(SAe(e),zAe(e))return e;let a=e.replace(/\/+$/,"");if(!r||r==="/")return a;return r=r.startsWith("/")?r:`/${r}`,`${a}${r}`}function rle(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 ole(e,r,a,i,s){if(e)return eO(e,r);if(i!==!1){let d=Fm.BETTER_AUTH_URL||Fm.NEXT_PUBLIC_BETTER_AUTH_URL||Fm.PUBLIC_BETTER_AUTH_URL||Fm.NUXT_PUBLIC_BETTER_AUTH_URL||Fm.NUXT_PUBLIC_AUTH_URL||(Fm.BASE_URL!=="/"?Fm.BASE_URL:void 0);if(d)return eO(d,r)}let l=a?.headers.get("x-forwarded-host"),c=a?.headers.get("x-forwarded-proto");if(l&&c&&s){if(rle(c,"proto")&&rle(l,"host"))try{return eO(`${c}://${l}`,r)}catch(d){}}if(a){let d=LAe(a.url);if(!d)throw new FR("Could not get origin from request. Please provide a valid base URL.");return eO(d,r)}if(typeof window<"u"&&window.location)return eO(window.location.origin,r)}function LAe(e){try{let r=new URL(e);return r.origin==="null"?null:r.origin}catch{return null}}var kAe={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*:/},CAe=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/,ale={true:!0,false:!1,null:null,undefined:void 0,nan:NaN,infinity:Number.POSITIVE_INFINITY,"-infinity":Number.NEGATIVE_INFINITY},IAe=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d{1,7}))?(?:Z|([+-])(\d{2}):(\d{2}))$/;function RAe(e){return e instanceof Date&&!isNaN(e.getTime())}function PAe(e){let r=IAe.exec(e);if(!r)return null;let[,a,i,s,l,c,d,h,x,v,y]=r,k=new Date(Date.UTC(parseInt(a,10),parseInt(i,10)-1,parseInt(s,10),parseInt(l,10),parseInt(c,10),parseInt(d,10),h?parseInt(h.padEnd(3,"0"),10):0));if(x){let b=(parseInt(v,10)*60+parseInt(y,10))*(x==="+"?-1:1);k.setUTCMinutes(k.getUTCMinutes()+b)}return RAe(k)?k:null}function TAe(e,r={}){let{strict:a=!1,warnings:i=!1,reviver:s,parseDates:l=!0}=r;if(typeof e!=="string")return e;let c=e.trim();if(c.length>0&&c[0]==='"'&&c.endsWith('"')&&!c.slice(1,-1).includes('"'))return c.slice(1,-1);let d=c.toLowerCase();if(d.length<=9&&d in ale)return ale[d];if(!CAe.test(c)){if(a)throw SyntaxError("[better-json] Invalid JSON");return e}if(Object.entries(kAe).some(([h,x])=>{let v=x.test(c);if(v&&i)console.warn(`[better-json] Detected potential prototype pollution attempt using ${h} pattern`);return v})&&a)throw Error("[better-json] Potential prototype pollution attempt detected");try{return JSON.parse(c,(x,v)=>{if(x==="__proto__"||x==="constructor"&&v&&typeof v==="object"&&"prototype"in v){if(i)console.warn(`[better-json] Dropping "${x}" key to prevent prototype pollution`);return}if(l&&typeof v==="string"){let y=PAe(v);if(y)return y}return s?s(x,v):v})}catch(h){if(a)throw h;return e}}function nle(e,r={strict:!0}){return TAe(e,r)}var ile={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 yu=[],n0=0,OF=null,NF=4,AAe=globalThis.nanostoresGlobal||={epoch:0},EAe=()=>{let e;for(n0=0;n0<yu.length;n0+=NF)try{yu[n0](yu[n0+1].value,yu[n0+2],yu[n0+3])}catch(r){e=r}if(yu.length=0,e)throw e};var tO=(e)=>{let r=[],a={eq:Object.is,get(){if(!a.lc)a.listen(()=>{})();return a.value},init:e,lc:0,listen(i){return a.lc=r.push(i),()=>{for(let l=n0+NF;l<yu.length;)if(yu[l]===i)yu.splice(l,NF);else l+=NF;let s=r.indexOf(i);if(~s){if(r.splice(s,1),!--a.lc)a.off()}}},notify(i,s){AAe.epoch++;let l=!yu.length&&!OF;for(let c of r){if(OF?.has(c))continue;OF?.add(c),yu.push(c,a,i,OF?void 0:s)}if(l)EAe()},off(){},set(i){let s=a.value;if(!a.eq(s,i))a.value=i,a.notify(s)},subscribe(i){let s=a.listen(i);return i(a.value),s},value:e};return a};var DAe=5,FF=6,jF=10,OAe=(e,r,a,i)=>{if(e.events=e.events||{},!e.events[a+jF])e.events[a+jF]=i((s)=>{e.events[a].reduceRight((l,c)=>(c(l),l),{shared:{},...s})});return e.events[a]=e.events[a]||[],e.events[a].push(r),()=>{let s=e.events[a],l=s.indexOf(r);if(s.splice(l,1),!s.length)delete e.events[a],e.events[a+jF](),delete e.events[a+jF]}};var fle=1000,rO=(e,r)=>OAe(e,(i)=>{let s=r(i);if(s)e.events[FF].push(s)},DAe,(i)=>{let s=e.listen;e.listen=(...c)=>{if(!e.lc&&!e.active)e.active=!0,i();return s(...c)};let l=e.off;return e.events[FF]=[],e.off=()=>{l(),setTimeout(()=>{if(e.active&&!e.lc){e.active=!1;for(let c of e.events[FF])c();e.events[FF]=[]}},fle)},()=>{e.listen=s,e.off=l}});function O9(e,r){let a=NAe(r),i=e;for(let s of a){if(i==null)return;i=i[s]}return i}var sle=/(.*)\[(\d+)\]/;function NAe(e){return e.split(".").flatMap((r)=>lle(r))}function lle(e){if(sle.test(e)){let[,r,a]=e.match(sle);return[...lle(r),a]}return[e]}function N9(e,r,a){let i=new Set(r);return e.listen((s,l,c)=>{if(c===void 0?r.some((d)=>l===void 0||s[d]!==l[d]||O9(s,d)!==O9(l,d)):i.has(c)||i.has(c.split(/\.|\[/)[0]))a(s,l,c)})}var FAe=()=>typeof window>"u",cle=(e,r,a,i)=>{let s=tO({data:null,error:null,isPending:!0,isRefetching:!1,refetch:(d)=>l(d)}),l=async(d)=>new Promise((h)=>{let x=typeof i==="function"?i({data:s.get().data,error:s.get().error,isPending:s.get().isPending}):i;a(r,{...x,query:{...x?.query,...d?.query},async onSuccess(v){s.set({data:v.data,error:null,isPending:!1,isRefetching:!1,refetch:s.value.refetch}),await x?.onSuccess?.(v)},async onError(v){let{request:y}=v,k=typeof y.retry==="number"?y.retry:y.retry?.attempts,b=y.retryAttempt||0;if(k&&b<k)return;let T=v.error.status===401;s.set({error:v.error,data:T?null:s.get().data,isPending:!1,isRefetching:!1,refetch:s.value.refetch}),await x?.onError?.(v)},async onRequest(v){let y=s.get();s.set({isPending:y.data===null,data:y.data,error:null,isRefetching:!0,refetch:s.value.refetch}),await x?.onRequest?.(v)}}).catch((v)=>{s.set({error:v,data:s.get().data,isPending:!1,isRefetching:!1,refetch:s.value.refetch})}).finally(()=>{h(void 0)})});e=Array.isArray(e)?e:[e];let c=!1;for(let d of e)d.subscribe(async()=>{if(FAe())return;if(c)await l();else rO(s,()=>{let h=setTimeout(async()=>{if(!c)c=!0,await l()},0);return()=>{s.off(),d.off(),clearTimeout(h)}})});return s};var F9=Symbol.for("better-auth:broadcast-channel"),jAe=()=>Math.floor(Date.now()/1000),BAe=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:jAe()}))}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 BF(e="better-auth.message"){if(!globalThis[F9])globalThis[F9]=new BAe(e);return globalThis[F9]}var j9=Symbol.for("better-auth:focus-manager"),UAe=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 B9(){if(!globalThis[j9])globalThis[j9]=new UAe;return globalThis[j9]}var U9=Symbol.for("better-auth:online-manager"),YAe=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 UF(){if(!globalThis[U9])globalThis[U9]=new YAe;return globalThis[U9]}var jR=()=>Math.floor(Date.now()/1000);function ule(e){if(typeof e==="object"&&e!==null&&"data"in e&&"error"in e)return e;return{data:e,error:null}}var qAe=5;function dle(e){let{sessionAtom:r,sessionSignal:a,$fetch:i,options:s={}}=e,l=s.sessionOptions?.refetchInterval??0,c=s.sessionOptions?.refetchOnWindowFocus??!0,d=s.sessionOptions?.refetchWhenOffline??!1,h={lastSync:0,lastSessionRequest:0,cachedSession:void 0},x=()=>d||UF().isOnline,v=(j)=>{if(!x())return;if(j?.event==="storage"){h.lastSync=jR(),a.set(!a.get());return}let V=r.get(),J=()=>{h.lastSessionRequest=jR(),i("/get-session").then(async(ee)=>{let{data:te,error:re}=ule(ee);if(te?.needsRefresh)try{let he=await i("/get-session",{method:"POST"});({data:te,error:re}=ule(he))}catch{}let ae=te?.session&&te?.user?te:null;r.set({...V,data:ae,error:re}),h.lastSync=jR(),a.set(!a.get())}).catch(()=>{})};if(j?.event==="poll"){J();return}if(j?.event==="visibilitychange"){if(jR()-h.lastSessionRequest<qAe)return;h.lastSessionRequest=jR()}if(j?.event==="visibilitychange"){J();return}if(V?.data===null||V?.data===void 0)h.lastSync=jR(),a.set(!a.get())},y=(j)=>{BF().post({event:"session",data:{trigger:j},clientId:Math.random().toString(36).substring(7)})},k=()=>{if(l&&l>0)h.pollInterval=setInterval(()=>{if(r.get()?.data)v({event:"poll"})},l*1000)},b=()=>{h.unsubscribeBroadcast=BF().subscribe(()=>{v({event:"storage"})})},T=()=>{if(!c)return;h.unsubscribeFocus=B9().subscribe(()=>{v({event:"visibilitychange"})})},D=()=>{h.unsubscribeOnline=UF().subscribe((j)=>{if(j)v({event:"visibilitychange"})})};return{init:()=>{k(),b(),T(),D(),BF().setup(),B9().setup(),UF().setup()},cleanup:()=>{if(h.pollInterval)clearInterval(h.pollInterval),h.pollInterval=void 0;if(h.unsubscribeBroadcast)h.unsubscribeBroadcast(),h.unsubscribeBroadcast=void 0;if(h.unsubscribeFocus)h.unsubscribeFocus(),h.unsubscribeFocus=void 0;if(h.unsubscribeOnline)h.unsubscribeOnline(),h.unsubscribeOnline=void 0;h.lastSync=0,h.lastSessionRequest=0,h.cachedSession=void 0},triggerRefetch:v,broadcastSessionUpdate:y}}function Zle(e,r){let a=tO(!1),i=cle(a,"/get-session",e,{method:"GET"}),s=()=>{};return rO(i,()=>{let l=dle({sessionAtom:i,sessionSignal:a,$fetch:e,options:r});return l.init(),s=l.broadcastSessionUpdate,()=>{l.cleanup()}}),{session:i,$sessionSignal:a,broadcastSessionUpdate:(l)=>s(l)}}function Y9(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 q9(e,r,a=".",i){if(!Y9(r))return q9(e,{},a,i);let s={...r};for(let l of Object.keys(e)){if(l==="__proto__"||l==="constructor")continue;let c=e[l];if(c===null||c===void 0)continue;if(i&&i(s,l,c,a))continue;if(Array.isArray(c)&&Array.isArray(s[l]))s[l]=[...c,...s[l]];else if(Y9(c)&&Y9(s[l]))s[l]=q9(c,s[l],(a?`${a}.`:"")+l.toString(),i);else s[l]=c}return s}function H9(e){return(...r)=>r.reduce((a,i)=>q9(a,i,"",e),{})}var ple=H9(),$oa=H9((e,r,a)=>{if(e[r]!==void 0&&typeof a==="function")return e[r]=a(e[r]),!0}),eaa=H9((e,r,a)=>{if(Array.isArray(e[r])&&typeof a==="function")return e[r]=a(e[r]),!0});var{defineProperty:HAe,defineProperties:VAe,getOwnPropertyDescriptors:WAe,getOwnPropertySymbols:mle}=Object,GAe=Object.prototype.hasOwnProperty,KAe=Object.prototype.propertyIsEnumerable,hle=(e,r,a)=>(r in e)?HAe(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,bu=(e,r)=>{for(var a in r||(r={}))if(GAe.call(r,a))hle(e,a,r[a]);if(mle){for(var a of mle(r))if(KAe.call(r,a))hle(e,a,r[a])}return e},ZZ=(e,r)=>VAe(e,WAe(r)),XAe=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)}},QAe=async(e,r)=>{var a,i,s,l,c,d;let h=r||{},x={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:h,hooks:x};for(let v of(r==null?void 0:r.plugins)||[]){if(v.init){let y=await((a=v.init)==null?void 0:a.call(v,e.toString(),r));h=y.options||h,e=y.url}x.onRequest.push((i=v.hooks)==null?void 0:i.onRequest),x.onResponse.push((s=v.hooks)==null?void 0:s.onResponse),x.onSuccess.push((l=v.hooks)==null?void 0:l.onSuccess),x.onError.push((c=v.hooks)==null?void 0:c.onError),x.onRetry.push((d=v.hooks)==null?void 0:d.onRetry)}return{url:e,options:h,hooks:x}},gle=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}},JAe=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 $Ae(e){if(typeof e==="number")return new gle({type:"linear",attempts:e,delay:1000});switch(e.type){case"linear":return new gle(e);case"exponential":return new JAe(e);default:throw Error("Invalid retry strategy")}}var e2e=async(e)=>{let r={},a=async(i)=>typeof i==="function"?await i():i;if(e==null?void 0:e.auth){if(e.auth.type==="Bearer"){let i=await a(e.auth.token);if(!i)return r;r.authorization=`Bearer ${i}`}else if(e.auth.type==="Basic"){let[i,s]=await Promise.all([a(e.auth.username),a(e.auth.password)]);if(!i||!s)return r;r.authorization=`Basic ${btoa(`${i}:${s}`)}`}else if(e.auth.type==="Custom"){let[i,s]=await Promise.all([a(e.auth.prefix),a(e.auth.value)]);if(!s)return r;r.authorization=`${i!=null?i:""} ${s}`}}return r},t2e=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function r2e(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(t2e.test(i))return"json";if(a.has(i)||i.startsWith("text/"))return"text";return"blob"}function o2e(e){try{return JSON.parse(e),!0}catch(r){return!1}}function V9(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 Mle(e){try{return JSON.parse(e)}catch(r){return e}}function xle(e){return typeof e==="function"}function a2e(e){if(e==null?void 0:e.customFetchImpl)return e.customFetchImpl;if(typeof globalThis<"u"&&xle(globalThis.fetch))return globalThis.fetch;if(typeof window<"u"&&xle(window.fetch))return window.fetch;throw Error("No fetch implementation found")}async function n2e(e){let r=new Headers(e==null?void 0:e.headers),a=await e2e(e);for(let[i,s]of Object.entries(a||{}))r.set(i,s);if(!r.has("content-type")){let i=i2e(e==null?void 0:e.body);if(i)r.set("content-type",i)}return r}function i2e(e){if(V9(e))return"application/json";return null}function f2e(e){if(!(e==null?void 0:e.body))return null;let r=new Headers(e==null?void 0:e.headers);if(V9(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(V9(e.body))return new URLSearchParams(e.body).toString();return e.body}return e.body}function s2e(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(!vle.includes(i))return(r==null?void 0:r.body)?"POST":"GET";return i.toUpperCase()}return(r==null?void 0:r.body)?"POST":"GET"}function l2e(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 c2e=class e extends Error{constructor(r,a){super(a||JSON.stringify(r,null,2));this.issues=r,Object.setPrototypeOf(this,e.prototype)}};async function YF(e,r){let a=await e["~standard"].validate(r);if(a.issues)throw new c2e(a.issues);return a.value}var vle=["get","post","put","patch","delete"];var u2e=(e)=>({id:"apply-schema",name:"Apply Schema",version:"1.0.0",async init(r,a){var i,s,l,c;let d=((s=(i=e.plugins)==null?void 0:i.find((h)=>{var x;return((x=h.schema)==null?void 0:x.config)?r.startsWith(h.schema.config.baseURL||"")||r.startsWith(h.schema.config.prefix||""):!1}))==null?void 0:s.schema)||e.schema;if(d){let h=r;if((l=d.config)==null?void 0:l.prefix){if(h.startsWith(d.config.prefix)){if(h=h.replace(d.config.prefix,""),d.config.baseURL)r=r.replace(d.config.prefix,d.config.baseURL)}}if((c=d.config)==null?void 0:c.baseURL){if(h.startsWith(d.config.baseURL))h=h.replace(d.config.baseURL,"")}let x=d.schema[h];if(x){let v=ZZ(bu({},a),{method:x.method,output:x.output});if(!(a==null?void 0:a.disableValidation))v=ZZ(bu({},v),{body:x.input?await YF(x.input,a==null?void 0:a.body):a==null?void 0:a.body,params:x.params?await YF(x.params,a==null?void 0:a.params):a==null?void 0:a.params,query:x.query?await YF(x.query,a==null?void 0:a.query):a==null?void 0:a.query});return{url:r,options:v}}}return{url:r,options:a}}}),_le=(e)=>{async function r(a,i){let s=ZZ(bu(bu({},e),i),{plugins:[...(e==null?void 0:e.plugins)||[],u2e(e||{}),...(i==null?void 0:i.plugins)||[]]});if(e==null?void 0:e.catchAllError)try{return await W9(a,s)}catch(l){return{data:null,error:{status:500,statusText:"Fetch Error",message:"Fetch related error. Captured by catchAllError option. See error property for more details.",error:l}}}return await W9(a,s)}return r};function d2e(e,r){let{baseURL:a,params:i,query:s}=r||{query:{},params:{},baseURL:""},l=e.startsWith("http")?e.split("/").slice(0,3).join("/"):a||"";if(e.startsWith("@")){let y=e.toString().split("@")[1].split("/")[0];if(vle.includes(y))e=e.replace(`@${y}/`,"/")}if(!l.endsWith("/"))l+="/";let[c,d]=e.replace(l,"").split("?"),h=new URLSearchParams(d);for(let[y,k]of Object.entries(s||{})){if(k==null)continue;let b;if(typeof k==="string")b=k;else if(Array.isArray(k)){for(let T of k)h.append(y,T);continue}else b=JSON.stringify(k);h.set(y,b)}if(i)if(Array.isArray(i)){let y=c.split("/").filter((k)=>k.startsWith(":"));for(let[k,b]of y.entries()){let T=i[k];c=c.replace(b,T)}}else for(let[y,k]of Object.entries(i))c=c.replace(`:${y}`,String(k));if(c=c.split("/").map(encodeURIComponent).join("/"),c.startsWith("/"))c=c.slice(1);let x=h.toString();if(x=x.length>0?`?${x}`.replace(/\+/g,"%20"):"",!l.startsWith("http"))return`${l}${c}${x}`;return new URL(`${c}${x}`,l)}var W9=async(e,r)=>{var a,i,s,l,c,d,h,x;let{hooks:v,url:y,options:k}=await QAe(e,r),b=a2e(k),T=new AbortController,D=(a=k.signal)!=null?a:T.signal,U=d2e(y,k),A=f2e(k),j=await n2e(k),V=s2e(y,k),J=ZZ(bu({},k),{url:U,headers:j,body:A,method:V,signal:D});for(let Se of v.onRequest)if(Se){let Ge=await Se(J);if(typeof Ge==="object"&&Ge!==null)J=Ge}if("pipeTo"in J&&typeof J.pipeTo==="function"||typeof((i=r==null?void 0:r.body)==null?void 0:i.pipe)==="function"){if(!("duplex"in J))J.duplex="half"}let{clearTimeout:ee}=l2e(k,T),te=await b(J.url,J);ee();let re={response:te,request:J};for(let Se of v.onResponse)if(Se){let Ge=await Se(ZZ(bu({},re),{response:((s=r==null?void 0:r.hookOptions)==null?void 0:s.cloneResponse)?te.clone():te}));if(Ge instanceof Response)te=Ge;else if(typeof Ge==="object"&&Ge!==null)te=Ge.response}if(te.ok){if(J.method==="HEAD")return{data:"",error:null};let Ge=r2e(te),rt={data:null,response:te,request:J};if(Ge==="json"||Ge==="text"){let tt=await te.text(),bt=(l=J.jsonParser)!=null?l:Mle;rt.data=await bt(tt)}else rt.data=await te[Ge]();if(J==null?void 0:J.output){if(J.output&&!J.disableValidation)rt.data=await YF(J.output,rt.data)}for(let tt of v.onSuccess)if(tt)await tt(ZZ(bu({},rt),{response:((c=r==null?void 0:r.hookOptions)==null?void 0:c.cloneResponse)?te.clone():te}));if(r==null?void 0:r.throw)return rt.data;return{data:rt.data,error:null}}let ae=(d=r==null?void 0:r.jsonParser)!=null?d:Mle,he=await te.text(),be=o2e(he),Qe=be?await ae(he):null,Ye={response:te,responseText:he,request:J,error:ZZ(bu({},Qe),{status:te.status,statusText:te.statusText})};for(let Se of v.onError)if(Se)await Se(ZZ(bu({},Ye),{response:((h=r==null?void 0:r.hookOptions)==null?void 0:h.cloneResponse)?te.clone():te}));if(r==null?void 0:r.retry){let Se=$Ae(r.retry),Ge=(x=r.retryAttempt)!=null?x:0;if(await Se.shouldAttemptRetry(Ge,te)){for(let tt of v.onRetry)if(tt)await tt(re);let rt=Se.getDelay(Ge);return await new Promise((tt)=>setTimeout(tt,rt)),await W9(e,ZZ(bu({},r),{retryAttempt:Ge+1}))}}if(r==null?void 0:r.throw)throw new XAe(te.status,te.statusText,be?Qe:he);return{data:null,error:ZZ(bu({},Qe),{status:te.status,statusText:te.statusText})}};var Z2e=(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{}}},yle=(e,r)=>{let a="credentials"in Request.prototype,i=ole(e?.baseURL,e?.basePath,void 0,r)??Z2e(e?.basePath)??"/api/auth",s=e?.plugins?.flatMap((ee)=>ee.fetchPlugins).filter((ee)=>ee!==void 0)||[],l={id:"lifecycle-hooks",name:"lifecycle-hooks",hooks:{onSuccess:e?.fetchOptions?.onSuccess,onError:e?.fetchOptions?.onError,onRequest:e?.fetchOptions?.onRequest,onResponse:e?.fetchOptions?.onResponse}},{onSuccess:c,onError:d,onRequest:h,onResponse:x,...v}=e?.fetchOptions||{},y=_le({baseURL:i,...a?{credentials:"include"}:{},method:"GET",jsonParser(ee){if(!ee)return null;return nle(ee,{strict:!1})},customFetchImpl:fetch,...v,plugins:[l,...v.plugins||[],...e?.disableDefaultFetchPlugins?[]:[ile],...s]}),{$sessionSignal:k,session:b,broadcastSessionUpdate:T}=Zle(y,e),D=e?.plugins||[],U={},A={$sessionSignal:k,session:b},j={"/sign-out":"POST","/revoke-sessions":"POST","/revoke-other-sessions":"POST","/delete-user":"POST"},V=[{signal:"$sessionSignal",matcher(ee){return ee==="/sign-out"||ee==="/update-user"||ee==="/update-session"||ee==="/sign-up/email"||ee==="/sign-in/email"||ee==="/delete-user"||ee==="/verify-email"||ee==="/revoke-sessions"||ee==="/revoke-session"||ee==="/revoke-other-sessions"||ee==="/change-email"||ee==="/change-password"},callback(ee){if(ee==="/sign-out")T("signout");else if(ee==="/update-user"||ee==="/update-session")T("updateUser")}}];for(let ee of D){if(ee.getAtoms)Object.assign(A,ee.getAtoms?.(y));if(ee.pathMethods)Object.assign(j,ee.pathMethods);if(ee.atomListeners)V.push(...ee.atomListeners)}let J={notify:(ee)=>{A[ee].set(!A[ee].get())},listen:(ee,te)=>{A[ee].subscribe(te)},atoms:A};for(let ee of D)if(ee.getActions)U=ple(ee.getActions?.(y,J,e)??{},U);return{get baseURL(){return i},pluginsActions:U,pluginsAtoms:A,pluginPathMethods:j,atomListeners:V,$fetch:y,$store:J}};function ble(e){return typeof e==="object"&&e!==null&&"get"in e&&typeof e.get==="function"&&"lc"in e&&typeof e.lc==="number"}function p2e(e,r,a){let i=r[e],{fetchOptions:s,query:l,...c}=a||{};if(i)return i;if(s?.method)return s.method;if(c&&Object.keys(c).length>0)return"POST";return"GET"}function wle(e,r,a,i,s){function l(c=[]){return new Proxy(function(){},{get(d,h){if(typeof h!=="string")return;if(h==="then"||h==="catch"||h==="finally")return;let x=[...c,h],v=e;for(let y of x)if(v&&typeof v==="object"&&y in v)v=v[y];else{v=void 0;break}if(typeof v==="function")return v;if(ble(v))return v;return l(x)},apply:async(d,h,x)=>{let v="/"+c.map((j)=>j.replace(/[A-Z]/g,(V)=>`-${V.toLowerCase()}`)).join("/"),y=x[0]||{},k=x[1]||{},{query:b,fetchOptions:T,...D}=y,U={...k,...T},A=p2e(v,a,y);return await r(v,{...U,body:A==="GET"?void 0:{...D,...U?.body||{}},query:b||U?.query,method:A,async onSuccess(j){if(await U?.onSuccess?.(j),!s||U.disableSignal)return;let V=s.filter((ee)=>ee.matcher(v));if(!V.length)return;let J=new Set;for(let ee of V){let te=i[ee.signal];if(!te)return;if(J.has(ee.signal))continue;J.add(ee.signal);let re=te.get();setTimeout(()=>{te.set(!re)},10),ee.callback?.(v)}}})}})}return l()}E();function zle(e,r={}){let a=_(e.get()),{keys:i,deps:s=[e,i]}=r,l=P((d)=>{let h=(x)=>{if(a.current===x)return;a.current=x,d()};if(h(e.value),i?.length)return N9(e,i,h);return e.listen(h)},s),c=()=>a.current;return ro(l,c,c)}function Sle(e){return e.charAt(0).toUpperCase()+e.slice(1)}function m2e(e){return`use${Sle(e)}`}function Lle(e){let{pluginPathMethods:r,pluginsActions:a,pluginsAtoms:i,$fetch:s,$store:l,atomListeners:c}=yle(e),d={};for(let[h,x]of Object.entries(i))d[m2e(h)]=()=>zle(x);return wle({...a,...d,$fetch:s,$store:l},s,r,i,c)}var h2e=Lle({baseURL:window.location.origin}),{signIn:G9,signUp:kle,useSession:Saa,signOut:Cle,resetPassword:jm}=h2e;var Ile="0.6.1";var HF={};var Fle=["en","zh"];var J9=["cookie","globalVariable","baseLocale"],Rle=[],$9=[{pattern:":protocol://:domain(.*)::port?/:path(.*)?",localized:[["zh",":protocol://:domain(.*)::port?/zh/:path(.*)?"],["en",":protocol://:domain(.*)::port?/:path(.*)?"]]}];var VF=void 0;var LL=typeof window>"u",p=void 0;var jle=!0,Ble=!1,Ule=!0,g2e=!1,eH=!0,Yle=!1;globalThis.__paraglide=globalThis.__paraglide??{};globalThis.__paraglide.ssr=globalThis.__paraglide.ssr??{};var WF,Ple=!1,n=()=>{if(p!==void 0)return p;if(VF){let a=VF?.getStore()?.locale;if(a)return a}let e=J9;if(!LL&&typeof window<"u"&&window.location?.href)e=Kle(window.location.href);let r=M2e(e,typeof window<"u"?window.location?.href:void 0);if(r){if(!Ple)WF=r,Ple=!0,Na(r,{reload:!1});return r}throw Error("No locale found. Read the docs https://paraglidejs.com/errors#no-locale-found")};function M2e(e,r){let a;for(let i of e){if(jle&&i==="cookie")a=b2e();else if(i==="baseLocale")a="en";else if(Ble&&i==="url"&&!LL&&typeof r==="string")a=Vle(r);else if(Ule&&i==="globalVariable"&&WF!==void 0)a=WF;else if(g2e&&i==="preferredLanguage"&&!LL)a=w2e();else if(Yle&&i==="localStorage"&&!LL)a=localStorage.getItem("PARAGLIDE_LOCALE")??void 0;else if(Xle(i)&&e3.has(i)){let l=e3.get(i);if(l){let c=l.getLocale();if(c instanceof Promise)continue;if(c!==void 0)return Hle(c)}}let s=ez(a);if(s)return s}return}var x2e=(e)=>{if(e)window.location.href=e;else window.location.reload()},Na=(e,r)=>{let a={reload:!0,...r};if(p!==void 0&&e!==p&&a.reload===!1)console.warn(`Paraglide: setLocale(${JSON.stringify(e)}, { reload: false }) cannot switch away from the statically built locale ${JSON.stringify(p)}. A document navigation is required; reload has been forced to true.`),a.reload=!0;let i;try{i=n()}catch{}let s=[],l=void 0,c=J9;if(!LL&&typeof window<"u"&&window.location?.href)c=Kle(window.location.href);for(let h of c)if(Ule&&h==="globalVariable")WF=e;else if(jle&&h==="cookie"){if(LL||typeof document>"u"||typeof window>"u")continue;let x=`PARAGLIDE_LOCALE=${e}; path=/; max-age=34560000`;document.cookie=x,Q9()}else if(h==="baseLocale")continue;else if(Ble&&h==="url"&&typeof window<"u")l=S2e(window.location.href,{locale:e}).href;else if(Yle&&h==="localStorage"&&typeof window<"u")localStorage.setItem("PARAGLIDE_LOCALE",e);else if(Xle(h)&&e3.has(h)){let x=e3.get(h);if(x){let v=x.setLocale(e);if(v instanceof Promise)v=v.catch((y)=>{throw Error(`Custom strategy "${h}" setLocale failed.`,{cause:y})}),s.push(v)}}let d=()=>{if(!LL&&a.reload&&window.location&&e!==i)x2e(l)};if(s.length)return Promise.all(s).then(()=>{d()});d();return};var qle=()=>{if(VF)return VF.getStore()?.origin??"http://fallback.com";else if(typeof window<"u")return window.location.origin;return"http://fallback.com"};function ez(e){if(typeof e!=="string")return;let r=e.toLowerCase();for(let a of Fle)if(a.toLowerCase()===r)return a;return}function Hle(e){let r=ez(e);if(r)return r;throw Error(`Invalid locale: ${e}. Expected one of: ${Fle.join(", ")}`)}function wc(e){return e}function BR(e,r){return e.exec(r.href)}var v2e="PARAGLIDE_LOCALE".replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),_2e=new RegExp(`(?:^|;\\s*)${v2e}=([^;]*)`),tH=Symbol(),oO=tH;function Q9(){oO=tH}function y2e(){if(typeof queueMicrotask==="function")queueMicrotask(Q9);else Promise.resolve().then(Q9)}function b2e(){if(typeof document>"u")return;if(oO!==tH)return oO;let r=document.cookie.match(_2e)?.[1];return oO=ez(r),y2e(),oO}function w2e(){if(!navigator?.languages?.length)return;let e=navigator.languages.map((r)=>({fullTag:r,baseTag:r.split("-")[0]}));for(let r of e){let a=ez(r.fullTag);if(a)return a;let i=ez(r.baseTag);if(i)return i}return}var Tle,Ale;function Vle(e){let r=typeof e==="string"?e:e.href;if(Tle===r)return Ale;let a;if(eH){let i=typeof e==="string"?new URL(e,"http://example.com"):new URL(e);a=z2e(wc(i))}else{let i=wc(typeof e==="string"?new URL(e):new URL(e));for(let s of $9){for(let[l,c]of s.localized)if(BR(new HF(c,i.href),i)){a=l;break}if(a)break}}return Tle=r,Ale=a,a}function z2e(e){let a=new URL(e,"http://example.com").pathname.split("/").filter(Boolean);return ez(a[0])||"en"}function S2e(e,r){let a=r?.locale?Hle(r?.locale):n();if(eH)return L2e(e,a);let i=typeof e==="string"?new URL(e):e,s=i;for(let l of $9){let c=P2e(s,a,l);if(c!==void 0)return c;for(let[,h]of l.localized){let x=BR(QF(h,s),s);if(!x)continue;let v=l.localized.find(([k])=>k===a)?.[1];if(!v)continue;let y=KF(v,XF(x),s.origin);return wc(GF(y,x))}let d=BR(QF(l.pattern,s),s);if(d){let h=l.localized.find(([x])=>x===a)?.[1];if(h){let x=KF(h,XF(d),s.origin);return wc(GF(x,d))}}}return i}function L2e(e,r){let a=wc(typeof e==="string"?new URL(e,qle()):new URL(e));if(Vle(a)===r)return wc(a);let s=a.pathname.split("/").filter(Boolean);if(s.length>0&&ez(s[0]))s.shift();if(r==="en")a.pathname="/"+s.join("/");else a.pathname="/"+r+"/"+s.join("/");return wc(a)}function k2e(e){if(eH)return C2e(e);let r=typeof e==="string"?new URL(e):e,a=r;for(let i of $9){let s=T2e(a,i);if(s!==void 0)return s;for(let[,c]of i.localized){let d=BR(QF(c,a),a);if(d){let h=XF(d),x=KF(i.pattern,h,a.origin);return wc(GF(x,d))}}let l=BR(QF(i.pattern,a),a);if(l){let c=KF(i.pattern,XF(l),a.origin);return wc(GF(c,l))}}return r}function C2e(e){let r=wc(typeof e==="string"?new URL(e,qle()):new URL(e)),a=r.pathname.split("/").filter(Boolean);if(a.length>0&&ez(a[0]))r.pathname="/"+a.slice(1).join("/");return wc(r)}function GF(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 KF(e,r,a){let l=e.replace(/(https?:\/\/[^:/]+):(\d+)(\/|$)/g,(c,d,h,x)=>`${d}#PORT-${h}#${x}`).replace(/\{([^{}]*)\}([?+*]?)/g,(c,d,h)=>{if(h==="?")return d;return d}).replace(/(\/?):([a-zA-Z0-9_]+)(\([^)]*\))?([?+*]?)/g,(c,d,h,x,v)=>{let y=r[h];if(y===null)return"";if(v==="?")return y!==void 0?`${d}${y}`:"";if(v==="+"||v==="*"){if(y===void 0&&v==="+")throw Error(`Missing value for "${h}" (one or more required)`);return y?`${d}${y}`:""}if(y===void 0)throw Error(`Missing value for "${h}"`);return`${d}${y}`});return l=l.replace(/#PORT-(\d+)#/g,":$1"),new URL(l,a)}function XF(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 SL=new Map,I2e=128,R2e=/^(?:[A-Za-z][A-Za-z\d+.-]*|:[A-Za-z][A-Za-z\d_-]*):\/\//;function QF(e,r){let a=R2e.test(e),i=e.startsWith("/");if(!a&&!i)return new HF(e,r.href);let s=a?e:JSON.stringify([r.origin,e]),l=SL.get(s);if(l!==void 0)return SL.delete(s),SL.set(s,l),l;let c=new HF(e,r.href);if(SL.size>=I2e){let d=SL.keys().next().value;if(d!==void 0)SL.delete(d)}return SL.set(s,c),c}var qF=new WeakMap;function P2e(e,r,a){let i=Wle(a);if(i===null)return;for(let l of i.localized){let c=JF(l.pattern,e);if(c===void 0)continue;let d=i.localized.find((h)=>h.locale===r)?.pattern;if(d===void 0)continue;return $F(d,c,e)}let s=JF(i.base,e);if(s!==void 0){let l=i.localized.find((c)=>c.locale===r)?.pattern;if(l!==void 0)return $F(l,s,e)}return}function T2e(e,r){let a=Wle(r);if(a===null)return;for(let s of a.localized){let l=JF(s.pattern,e);if(l!==void 0)return $F(a.base,l,e)}let i=JF(a.base,e);if(i!==void 0)return $F(a.base,i,e);return}function Wle(e){let r=qF.get(e);if(r!==void 0)return r;let a=Ele(e.pattern);if(a===void 0)return qF.set(e,null),null;let i=[];for(let[l,c]of e.localized){let d=Ele(c);if(d===void 0||d.pathMode!==a.pathMode)return qF.set(e,null),null;i.push({locale:l,pattern:d})}let s={base:a,localized:i};return qF.set(e,s),s}function Ele(e){let r=e.match(/\/:path(?:\(\.\*\)(?:\?)?|\*)$/);if(r===null||r.index===void 0)return;let a=e.slice(0,r.index),i=A2e(a);if(i===void 0)return;let s=r[0].endsWith("*")?"segments":r[0].endsWith("?")?"catch-all-optional":"catch-all-required";return{...i,pathMode:s}}function A2e(e){if(e===""||e.startsWith("/")){if(K9(e))return;return{protocol:void 0,hostname:void 0,port:void 0,pathnamePrefix:X9(e),pathMode:"catch-all-optional"}}let r=e.match(/^:protocol:\/\/([^/]+)(\/.*)?$/),a=e.match(/^([A-Za-z][A-Za-z\d+.-]*):\/\/([^/]+)(\/.*)?$/);if(r!==null){let d=(r[1]??"").match(/^([^:(){}?*+]+)(?::(\d+))?$/);if(d===null||r[2]!==void 0&&K9(r[2]))return;return{protocol:void 0,hostname:(d[1]??"").toLowerCase(),port:d[2],pathnamePrefix:X9(r[2]??""),pathMode:"catch-all-optional"}}if(a===null)return;let i=a[2]??"",s=a[3],l=i.match(/^([^:(){}?*+]+)(?::(\d+))?$/);if(l===null||s!==void 0&&K9(s))return;return{protocol:`${a[1]}:`,hostname:(l[1]??"").toLowerCase(),port:E2e(l[2],`${a[1]}:`),pathnamePrefix:X9(s??""),pathMode:"catch-all-optional"}}function E2e(e,r){if(e==="80"&&r==="http:")return"";if(e==="443"&&r==="https:")return"";return e}function K9(e){return/[:(){}?*+]/.test(e)}function X9(e){if(e===""||e==="/")return"/";return e.endsWith("/")?e.slice(0,-1):e}function JF(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??Gle(e.protocol??r.protocol))!==r.port)return}let a=e.pathnamePrefix;if(a==="/"){if(r.pathname.startsWith("//"))return;if(e.pathMode==="segments")return Dle(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"&&!Dle(i))return;return i}return}function Dle(e){return e.length>1&&!e.endsWith("/")&&!e.includes("//")}function Gle(e){if(e==="http:")return"";if(e==="https:")return"";return""}function $F(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??Gle(i.protocol);return i.pathname=D2e(e.pathnamePrefix,r),i}function D2e(e,r){if(e==="/")return r===""?"/":r;if(r==="")return e;return`${e}${r.startsWith("/")?r:`/${r}`}`}var Ole,Nle;function O2e(e){if(Rle.length===0)return;let r=typeof e==="string"?e:e.href;if(Ole===r)return Nle;let a=wc(new URL(r,"http://example.com")),i=k2e(a),s=i.href===a.href?[a]:[a,i],l;for(let c of s){for(let d of Rle){let h=new HF(d.match,c.href);if(BR(h,c)){l=d;break}}if(l)break}return Ole=r,Nle=l,l}function Kle(e){let r=O2e(e);if(r&&r.exclude!==!0&&Array.isArray(r.strategy))return r.strategy;return J9}var e3=new Map;function Xle(e){return typeof e==="string"&&/^custom-[A-Za-z0-9_-]+$/.test(e)}var N2e=()=>"Access Denied",F2e=()=>"访问被拒绝",s0=(e={},r={})=>{if((p??r.locale??n())==="zh")return F2e(e);return N2e(e)};var j2e=()=>"Action",B2e=()=>"操作",i0=(e={},r={})=>{if((p??r.locale??n())==="zh")return B2e(e);return j2e(e)};var U2e=()=>"Actions",Y2e=()=>"操作",Rf=(e={},r={})=>{if((p??r.locale??n())==="zh")return Y2e(e);return U2e(e)};var q2e=()=>"Active",H2e=()=>"启用",a0=(e={},r={})=>{if((p??r.locale??n())==="zh")return H2e(e);return q2e(e)};var V2e=()=>"active",W2e=()=>"个激活",l0=(e={},r={})=>{if((p??r.locale??n())==="zh")return W2e(e);return V2e(e)};var G2e=()=>"Activity",K2e=()=>"活动",X2e=(e={},r={})=>{if((p??r.locale??n())==="zh")return K2e(e);return G2e(e)};var Q2e=()=>"Activity Notifications",J2e=()=>"活动通知",c0=(e={},r={})=>{if((p??r.locale??n())==="zh")return J2e(e);return Q2e(e)};var $2e=()=>"Receive in-app updates for comments, uploads, and automated background analysis tasks inside this project.",eEe=()=>"接收此项目中评论、上传及自动后台分析任务的应用内通知。",u0=(e={},r={})=>{if((p??r.locale??n())==="zh")return eEe(e);return $2e(e)};var tEe=()=>"Add",rEe=()=>"添加",Pf=(e={},r={})=>{if((p??r.locale??n())==="zh")return rEe(e);return tEe(e)};var oEe=()=>"Add Assets",aEe=()=>"添加资产",Qle=(e={},r={})=>{if((p??r.locale??n())==="zh")return aEe(e);return oEe(e)};var nEe=()=>"+ Add condition",iEe=()=>"+ 添加条件",d0=(e={},r={})=>{if((p??r.locale??n())==="zh")return iEe(e);return nEe(e)};var fEe=()=>"Add Domain",sEe=()=>"添加域名",f0=(e={},r={})=>{if((p??r.locale??n())==="zh")return sEe(e);return fEe(e)};var lEe=()=>"Add your first AI provider to get started.",cEe=()=>"添加您的第一个 AI 提供商以开始使用。",p0=(e={},r={})=>{if((p??r.locale??n())==="zh")return cEe(e);return lEe(e)};var uEe=()=>"Add Image Block",dEe=()=>"添加图片块",qm=(e={},r={})=>{if((p??r.locale??n())==="zh")return dEe(e);return uEe(e)};var ZEe=()=>"Add MCP Server",pEe=()=>"添加 MCP 服务",Nf=(e={},r={})=>{if((p??r.locale??n())==="zh")return pEe(e);return ZEe(e)};var mEe=()=>"Add an MCP server to extend your AI agent tools.",hEe=()=>"添加 MCP 服务以扩展 AI Agent 的工具能力。",m0=(e={},r={})=>{if((p??r.locale??n())==="zh")return hEe(e);return mEe(e)};var gEe=()=>"Add Members from Other Projects",MEe=()=>"从其他项目添加成员",h0=(e={},r={})=>{if((p??r.locale??n())==="zh")return MEe(e);return gEe(e)};var xEe=()=>"Project-scoped members who currently do not have access to this project.",vEe=()=>"当前无权访问此项目的项目成员。",g0=(e={},r={})=>{if((p??r.locale??n())==="zh")return vEe(e);return xEe(e)};var _Ee=()=>"Add Model",yEe=()=>"添加模型",dd=(e={},r={})=>{if((p??r.locale??n())==="zh")return yEe(e);return _Ee(e)};var bEe=()=>"Add New Provider",wEe=()=>"添加新提供商",A0=(e={},r={})=>{if((p??r.locale??n())==="zh")return wEe(e);return bEe(e)};var zEe=()=>"Add New Skill",SEe=()=>"添加新技能",_0=(e={},r={})=>{if((p??r.locale??n())==="zh")return SEe(e);return zEe(e)};var LEe=()=>"Add option",kEe=()=>"添加选项",fd=(e={},r={})=>{if((p??r.locale??n())==="zh")return kEe(e);return LEe(e)};var CEe=(e)=>`Add options: ${e?.name}`,IEe=(e)=>`添加选项:${e?.name}`,Hm=(e,r={})=>{if((p??r.locale??n())==="zh")return IEe(e);return CEe(e)};var REe=()=>"Add Provider",PEe=()=>"添加提供商",$m=(e={},r={})=>{if((p??r.locale??n())==="zh")return PEe(e);return REe(e)};var TEe=()=>"Add Quota",AEe=()=>"添加配额",Gm=(e={},r={})=>{if((p??r.locale??n())==="zh")return AEe(e);return TEe(e)};var EEe=()=>"Add reaction",DEe=()=>"添加回应",y0=(e={},r={})=>{if((p??r.locale??n())==="zh")return DEe(e);return EEe(e)};var OEe=()=>"Add Skill",NEe=()=>"添加技能",b0=(e={},r={})=>{if((p??r.locale??n())==="zh")return NEe(e);return OEe(e)};var FEe=()=>"Add a skill via GitHub URL or upload a ZIP file to get started.",jEe=()=>"通过 GitHub URL 添加技能或上传 ZIP 文件以开始使用。",v0=(e={},r={})=>{if((p??r.locale??n())==="zh")return jEe(e);return FEe(e)};var BEe=()=>"Customize Team Member Role",UEe=()=>"自定义团队成员在项目的角色",w0=(e={},r={})=>{if((p??r.locale??n())==="zh")return UEe(e);return BEe(e)};var YEe=()=>"Team members already have access to all projects with their default team role. Set a custom role for this specific project here.",qEe=()=>"团队成员默认使用其团队角色访问所有项目。您可以在此为其设置独立的项目角色。",x0=(e={},r={})=>{if((p??r.locale??n())==="zh")return qEe(e);return YEe(e)};var HEe=()=>"Add Text Block",VEe=()=>"添加文本块",Df=(e={},r={})=>{if((p??r.locale??n())==="zh")return VEe(e);return HEe(e)};var WEe=()=>"Add to Project",GEe=()=>"添加到项目",S0=(e={},r={})=>{if((p??r.locale??n())==="zh")return GEe(e);return WEe(e)};var KEe=()=>"Add to Share Links",XEe=()=>"添加到分享链接",Vm=(e={},r={})=>{if((p??r.locale??n())==="zh")return XEe(e);return KEe(e)};var QEe=()=>"Add Variable",JEe=()=>"添加变量",E0=(e={},r={})=>{if((p??r.locale??n())==="zh")return JEe(e);return QEe(e)};var $Ee=(e)=>`Added ${e?.name} successfully`,eDe=(e)=>`已成功添加 ${e?.name}`,Qm=(e,r={})=>{if((p??r.locale??n())==="zh")return eDe(e);return $Ee(e)};var tDe=()=>"Agent Avatar",rDe=()=>"智能体头像",C0=(e={},r={})=>{if((p??r.locale??n())==="zh")return rDe(e);return tDe(e)};var oDe=()=>"Agent created successfully",aDe=()=>"智能体创建成功",I0=(e={},r={})=>{if((p??r.locale??n())==="zh")return aDe(e);return oDe(e)};var nDe=()=>"Agent deleted successfully",iDe=()=>"智能体删除成功",T0=(e={},r={})=>{if((p??r.locale??n())==="zh")return iDe(e);return nDe(e)};var fDe=()=>"Step-by-step execution trace of the agent's background tasks and tool calls.",sDe=()=>"智能体后台任务和工具调用的逐步执行跟踪。",M0=(e={},r={})=>{if((p??r.locale??n())==="zh")return sDe(e);return fDe(e)};var lDe=()=>"This agent is managed by the server environment configuration and cannot be modified or deleted.",cDe=()=>"此智能体由服务器环境配置管理,无法进行修改或删除。",k0=(e={},r={})=>{if((p??r.locale??n())==="zh")return cDe(e);return lDe(e)};var uDe=()=>"Agent Name",dDe=()=>"智能体名称",R0=(e={},r={})=>{if((p??r.locale??n())==="zh")return dDe(e);return uDe(e)};var ZDe=()=>"e.g., Support Assistant",pDe=()=>"例如:支持助手",P0=(e={},r={})=>{if((p??r.locale??n())==="zh")return pDe(e);return ZDe(e)};var mDe=()=>"Read-only",hDe=()=>"只读",N0=(e={},r={})=>{if((p??r.locale??n())==="zh")return hDe(e);return mDe(e)};var gDe=()=>"Agent Sandbox",MDe=()=>"智能体沙箱",D0=(e={},r={})=>{if((p??r.locale??n())==="zh")return MDe(e);return gDe(e)};var xDe=()=>"Agent Sandbox Settings",vDe=()=>"智能体沙箱设置",O0=(e={},r={})=>{if((p??r.locale??n())==="zh")return vDe(e);return xDe(e)};var _De=()=>"Agent Session Logs",yDe=()=>"智能体会话日志",F0=(e={},r={})=>{if((p??r.locale??n())==="zh")return yDe(e);return _De(e)};var bDe=()=>"Agent Soul (Personality)",wDe=()=>"智能体灵魂(个性)",L0=(e={},r={})=>{if((p??r.locale??n())==="zh")return wDe(e);return bDe(e)};var zDe=()=>"Describe the agent's personality, tone, and behavior...",SDe=()=>"描述智能体的个性、语调和行为...",Z0=(e={},r={})=>{if((p??r.locale??n())==="zh")return SDe(e);return zDe(e)};var LDe=()=>"Allows the agent to run terminal/shell commands in a highly isolated environment.",kDe=()=>"允许智能体在高度隔离的环境中运行终端/命令行命令。",B0=(e={},r={})=>{if((p??r.locale??n())==="zh")return kDe(e);return LDe(e)};var CDe=()=>"Sandboxed Terminal",IDe=()=>"沙箱终端",U0=(e={},r={})=>{if((p??r.locale??n())==="zh")return IDe(e);return CDe(e)};var RDe=()=>"Allows the agent to create files in Shumai, either by uploading a local file or by providing the file name and content directly.",PDe=()=>"允许智能体在 Shumai 中创建文件,既可以通过上传本地文件,也可以直接提供文件名和内容。",z0=(e={},r={})=>{if((p??r.locale??n())==="zh")return PDe(e);return RDe(e)};var TDe=()=>"Create File",ADe=()=>"创建文件",Km=(e={},r={})=>{if((p??r.locale??n())==="zh")return ADe(e);return TDe(e)};var EDe=()=>"Allows the agent to create new folders in Shumai.",DDe=()=>"允许智能体在 Shumai 中创建新文件夹。",j0=(e={},r={})=>{if((p??r.locale??n())==="zh")return DDe(e);return EDe(e)};var ODe=()=>"Create Folder",NDe=()=>"创建文件夹",Wm=(e={},r={})=>{if((p??r.locale??n())==="zh")return NDe(e);return ODe(e)};var FDe=()=>"Allows the agent to upload and stack a new version of an existing file in Shumai.",jDe=()=>"允许智能体在 Shumai 中为已有文件上传并叠加新版本。",q0=(e={},r={})=>{if((p??r.locale??n())==="zh")return jDe(e);return FDe(e)};var BDe=()=>"Create Version",UDe=()=>"创建版本",Ym=(e={},r={})=>{if((p??r.locale??n())==="zh")return UDe(e);return BDe(e)};var YDe=()=>"Allows the agent to delete a single file or folder in Shumai.",qDe=()=>"允许智能体在 Shumai 中删除单个文件或文件夹。",H0=(e={},r={})=>{if((p??r.locale??n())==="zh")return qDe(e);return YDe(e)};var HDe=()=>"Delete Asset",VDe=()=>"删除资产",Jm=(e={},r={})=>{if((p??r.locale??n())==="zh")return VDe(e);return HDe(e)};var WDe=()=>"Allows the agent to generate images from prompts and reference images using configured AI image models.",GDe=()=>"允许智能体使用已配置的 AI 图片模型根据提示词和参考图片生成图片。",$0=(e={},r={})=>{if((p??r.locale??n())==="zh")return GDe(e);return WDe(e)};var KDe=()=>"Generate Image",XDe=()=>"生成图片",Xm=(e={},r={})=>{if((p??r.locale??n())==="zh")return XDe(e);return KDe(e)};var QDe=()=>"Allows the agent to generate videos from text, images, or frame sequences using configured AI video models.",JDe=()=>"允许智能体使用已配置的 AI 视频模型根据提示词、图片或首尾帧生成视频。",G0=(e={},r={})=>{if((p??r.locale??n())==="zh")return JDe(e);return QDe(e)};var $De=()=>"Generate Video",eOe=()=>"生成视频",eh=(e={},r={})=>{if((p??r.locale??n())==="zh")return eOe(e);return $De(e)};var tOe=()=>"Allows the agent to list folders and browse files in Shumai.",rOe=()=>"允许智能体列出文件夹并浏览 Shumai 中的文件。",V0=(e={},r={})=>{if((p??r.locale??n())==="zh")return rOe(e);return tOe(e)};var oOe=()=>"Browse Shumai",aOe=()=>"浏览 Shumai",th=(e={},r={})=>{if((p??r.locale??n())==="zh")return aOe(e);return oOe(e)};var nOe=()=>"Allows the agent to move one or more assets to another folder in Shumai.",iOe=()=>"允许智能体将一个或多个资产移动到 Shumai 中的其他文件夹。",Q0=(e={},r={})=>{if((p??r.locale??n())==="zh")return iOe(e);return nOe(e)};var fOe=()=>"Move Assets",sOe=()=>"移动资产",rh=(e={},r={})=>{if((p??r.locale??n())==="zh")return sOe(e);return fOe(e)};var lOe=()=>"Allows the agent to view and inspect images, video frames, and document pages.",cOe=()=>"允许智能体查看和分析图片、视频画面和文档页面。",K0=(e={},r={})=>{if((p??r.locale??n())==="zh")return cOe(e);return lOe(e)};var uOe=()=>"Read Asset",dOe=()=>"读取资源",nh=(e={},r={})=>{if((p??r.locale??n())==="zh")return dOe(e);return uOe(e)};var ZOe=()=>"Allows the agent to load and read skill definitions to perform specialized actions.",pOe=()=>"允许智能体加载和读取技能定义以执行特定操作。",W0=(e={},r={})=>{if((p??r.locale??n())==="zh")return pOe(e);return ZOe(e)};var mOe=()=>"Read Skills",hOe=()=>"读取技能",Y0=(e={},r={})=>{if((p??r.locale??n())==="zh")return hOe(e);return mOe(e)};var gOe=()=>"Allows the agent to rename an existing file or folder in Shumai.",MOe=()=>"允许智能体在 Shumai 中重命名现有的文件或文件夹。",J0=(e={},r={})=>{if((p??r.locale??n())==="zh")return MOe(e);return gOe(e)};var xOe=()=>"Rename Asset",vOe=()=>"重命名资产",oh=(e={},r={})=>{if((p??r.locale??n())==="zh")return vOe(e);return xOe(e)};var _Oe=()=>"Tools",yOe=()=>"工具",X0=(e={},r={})=>{if((p??r.locale??n())==="zh")return yOe(e);return _Oe(e)};var bOe=()=>"Configure which tools the agent is permitted to use.",wOe=()=>"配置允许智能体使用的工具。",e_=(e={},r={})=>{if((p??r.locale??n())==="zh")return wOe(e);return bOe(e)};var zOe=()=>"Agent Type",SOe=()=>"智能体类型",t_=(e={},r={})=>{if((p??r.locale??n())==="zh")return SOe(e);return zOe(e)};var LOe=()=>"Autofill",kOe=()=>"自动填充",sh=(e={},r={})=>{if((p??r.locale??n())==="zh")return kOe(e);return LOe(e)};var COe=()=>"Chat",IOe=()=>"对话",ih=(e={},r={})=>{if((p??r.locale??n())==="zh")return IOe(e);return COe(e)};var ROe=()=>"Embedding",POe=()=>"嵌入",ah=(e={},r={})=>{if((p??r.locale??n())==="zh")return POe(e);return ROe(e)};var TOe=()=>"Agent updated successfully",AOe=()=>"智能体更新成功",lh=(e={},r={})=>{if((p??r.locale??n())==="zh")return AOe(e);return TOe(e)};var EOe=()=>"Agents",DOe=()=>"智能体",r_=(e={},r={})=>{if((p??r.locale??n())==="zh")return DOe(e);return EOe(e)};var OOe=()=>"Manage AI agents and their personalities.",NOe=()=>"管理 AI 智能体及其个性。",n_=(e={},r={})=>{if((p??r.locale??n())==="zh")return NOe(e);return OOe(e)};var FOe=()=>"AGENTS.md",jOe=()=>"AGENTS.md",o_=(e={},r={})=>{if((p??r.locale??n())==="zh")return jOe(e);return FOe(e)};var BOe=()=>"Loading AGENTS.md...",UOe=()=>"正在加载 AGENTS.md...",s_=(e={},r={})=>{if((p??r.locale??n())==="zh")return UOe(e);return BOe(e)};var YOe=()=>`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`,qOe=()=>`为在此项目或文件夹中工作的 AI Agent 提供指引和上下文。
|
|
71
|
-
|
|
72
|
-
当 Agent 在此处工作时,Shumai 会自动加载此文件以及向上追溯至项目根目录各级父文件夹中的 AGENTS.md 文件。
|
|
73
|
-
|
|
74
|
-
您可以用它来定义:
|
|
75
|
-
- 此项目或文件夹包含的内容
|
|
76
|
-
- Agent 应当遵守的规则
|
|
77
|
-
- 术语、风格或工作流规范
|
|
78
|
-
- 元数据和自动填充的生成方式`,i_=(e={},r={})=>{if((p??r.locale??n())==="zh")return qOe(e);return YOe(e)};var HOe=()=>"Only team owners can edit this file.",VOe=()=>"只有团队所有者可以修改此文件。",ch=(e={},r={})=>{if((p??r.locale??n())==="zh")return VOe(e);return HOe(e)};var WOe=()=>"Failed to save",GOe=()=>"保存失败",a_=(e={},r={})=>{if((p??r.locale??n())==="zh")return GOe(e);return WOe(e)};var KOe=()=>"AI",XOe=()=>"AI",l_=(e={},r={})=>{if((p??r.locale??n())==="zh")return XOe(e);return KOe(e)};var QOe=()=>"AI Agents",JOe=()=>"AI 智能体",c_=(e={},r={})=>{if((p??r.locale??n())==="zh")return JOe(e);return QOe(e)};var $Oe=()=>"AI Providers",eNe=()=>"AI 提供商",u_=(e={},r={})=>{if((p??r.locale??n())==="zh")return eNe(e);return $Oe(e)};var tNe=()=>"AI Token Usage",rNe=()=>"AI Token 用量",d_=(e={},r={})=>{if((p??r.locale??n())==="zh")return rNe(e);return tNe(e)};var oNe=()=>"Monitor AI token consumption and estimated costs for your team and members.",aNe=()=>"查看并监控团队及成员的 AI Token 消耗与预估费用。",f_=(e={},r={})=>{if((p??r.locale??n())==="zh")return aNe(e);return oNe(e)};var nNe=()=>"All",iNe=()=>"全部",fNe=(e={},r={})=>{if((p??r.locale??n())==="zh")return iNe(e);return nNe(e)};var sNe=()=>"All Collections",lNe=()=>"所有媒体合集",p_=(e={},r={})=>{if((p??r.locale??n())==="zh")return lNe(e);return sNe(e)};var cNe=(e)=>`All Collections (${e?.count})`,uNe=(e)=>`所有媒体合集 (${e?.count})`,dNe=(e,r={})=>{if((p??r.locale??n())==="zh")return uNe(e);return cNe(e)};var ZNe=()=>"All comments",pNe=()=>"所有评论",Of=(e={},r={})=>{if((p??r.locale??n())==="zh")return pNe(e);return ZNe(e)};var mNe=()=>"All",hNe=()=>"全部",m_=(e={},r={})=>{if((p??r.locale??n())==="zh")return hNe(e);return mNe(e)};var gNe=()=>"All Projects",MNe=()=>"所有项目",xNe=(e={},r={})=>{if((p??r.locale??n())==="zh")return MNe(e);return gNe(e)};var vNe=()=>"All Share Links",_Ne=()=>"所有分享链接",h_=(e={},r={})=>{if((p??r.locale??n())==="zh")return _Ne(e);return vNe(e)};var yNe=(e)=>`All Share Links (${e?.count})`,bNe=(e)=>`所有分享链接 (${e?.count})`,wNe=(e,r={})=>{if((p??r.locale??n())==="zh")return bNe(e);return yNe(e)};var zNe=()=>"All Tasks",SNe=()=>"所有任务",uh=(e={},r={})=>{if((p??r.locale??n())==="zh")return SNe(e);return zNe(e)};var LNe=()=>"Allow download",kNe=()=>"允许下载",g_=(e={},r={})=>{if((p??r.locale??n())==="zh")return kNe(e);return LNe(e)};var CNe=()=>"Visitors can download files from this share link",INe=()=>"访客可以从该分享链接下载文件",A_=(e={},r={})=>{if((p??r.locale??n())==="zh")return INe(e);return CNe(e)};var RNe=()=>"Allowed Domains",PNe=()=>"允许的域名",__=(e={},r={})=>{if((p??r.locale??n())==="zh")return PNe(e);return RNe(e)};var TNe=()=>"Already have an account? ",ANe=()=>"已有账户?",Jle=(e={},r={})=>{if((p??r.locale??n())==="zh")return ANe(e);return TNe(e)};var ENe=()=>"An unknown error occurred",DNe=()=>"发生了未知错误",pd=(e={},r={})=>{if((p??r.locale??n())==="zh")return DNe(e);return ENe(e)};var ONe=()=>"API Key",NNe=()=>"API 密钥",md=(e={},r={})=>{if((p??r.locale??n())==="zh")return NNe(e);return ONe(e)};var FNe=()=>"You can provide a literal value (e.g. sk-...) or an Environment variable name (e.g. MY_API_KEY).",jNe=()=>"您可以提供一个字面值(例如 sk-...)或环境变量名称(例如 MY_API_KEY)。",dh=(e={},r={})=>{if((p??r.locale??n())==="zh")return jNe(e);return FNe(e)};var BNe=(e)=>`Enter an API key or an environment variable name (e.g. ${e?.envKey}). Leave empty to restore default environment variable.`,UNe=(e)=>`输入 API 密钥或环境变量名(例如 ${e?.envKey})。留空将恢复默认环境变量。`,y_=(e,r={})=>{if((p??r.locale??n())==="zh")return UNe(e);return BNe(e)};var YNe=(e)=>`Leave empty to use default env var (${e?.envKey})`,qNe=(e)=>`留空以使用默认环境变量 (${e?.envKey})`,b_=(e,r={})=>{if((p??r.locale??n())==="zh")return qNe(e);return YNe(e)};var HNe=()=>"Enter API Key or Environment Variable",VNe=()=>"输入 API 密钥或环境变量",fh=(e={},r={})=>{if((p??r.locale??n())==="zh")return VNe(e);return HNe(e)};var WNe=()=>"API token generated successfully",GNe=()=>"API 令牌生成成功",v_=(e={},r={})=>{if((p??r.locale??n())==="zh")return GNe(e);return WNe(e)};var KNe=()=>"API token revoked successfully",XNe=()=>"API 令牌已成功撤销",w_=(e={},r={})=>{if((p??r.locale??n())==="zh")return XNe(e);return KNe(e)};var QNe=()=>"API Tokens",JNe=()=>"API 令牌",ph=(e={},r={})=>{if((p??r.locale??n())==="zh")return JNe(e);return QNe(e)};var $Ne=()=>"Generate and manage API tokens. These tokens allow you or your agents to run terminal commands via shumai-cli.",e5e=()=>"生成和管理 API 令牌。这些令牌允许您或您的智能体通过 shumai-cli 运行终端命令。",x_=(e={},r={})=>{if((p??r.locale??n())==="zh")return e5e(e);return $Ne(e)};var t5e=()=>"Appearance",r5e=()=>"外观",Ff=(e={},r={})=>{if((p??r.locale??n())==="zh")return r5e(e);return t5e(e)};var o5e=()=>"Appearance",a5e=()=>"外观",mh=(e={},r={})=>{if((p??r.locale??n())==="zh")return a5e(e);return o5e(e)};var n5e=()=>"Manage visual appearance and interface display settings for your team.",i5e=()=>"管理团队的视觉外观与界面显示设置。",hh=(e={},r={})=>{if((p??r.locale??n())==="zh")return i5e(e);return n5e(e)};var f5e=()=>"Appearance settings updated",s5e=()=>"外观设置已更新",S_=(e={},r={})=>{if((p??r.locale??n())==="zh")return s5e(e);return f5e(e)};var l5e=()=>"Apply and Close",c5e=()=>"应用并关闭",E_=(e={},r={})=>{if((p??r.locale??n())==="zh")return c5e(e);return l5e(e)};var u5e=()=>"Approve",d5e=()=>"批准",C_=(e={},r={})=>{if((p??r.locale??n())==="zh")return d5e(e);return u5e(e)};var Z5e=()=>"Are you absolutely sure?",p5e=()=>"你确定要这样做吗?",hd=(e={},r={})=>{if((p??r.locale??n())==="zh")return p5e(e);return Z5e(e)};var m5e=()=>"Are you absolutely sure?",h5e=()=>"确定要执行此操作吗?",I_=(e={},r={})=>{if((p??r.locale??n())==="zh")return h5e(e);return m5e(e)};var g5e=()=>"Ascending",M5e=()=>"升序",Lf=(e={},r={})=>{if((p??r.locale??n())==="zh")return M5e(e);return g5e(e)};var x5e=()=>"Asset ID",v5e=()=>"素材 ID",T_=(e={},r={})=>{if((p??r.locale??n())==="zh")return v5e(e);return x5e(e)};var _5e=()=>"Asset linked to task",y5e=()=>"资产已关联到任务",$le=(e={},r={})=>{if((p??r.locale??n())==="zh")return y5e(e);return _5e(e)};var b5e=()=>"Asset unlinked from task",w5e=()=>"资产已取消关联",ece=(e={},r={})=>{if((p??r.locale??n())==="zh")return w5e(e);return b5e(e)};var z5e=()=>"Assets",S5e=()=>"资源",M_=(e={},r={})=>{if((p??r.locale??n())==="zh")return S5e(e);return z5e(e)};var L5e=()=>"Assets added to context:",k5e=()=>"已添加至上下文的资源:",k_=(e={},r={})=>{if((p??r.locale??n())==="zh")return k5e(e);return L5e(e)};var C5e=()=>"Assets & Statuses",I5e=()=>"素材与状态",R_=(e={},r={})=>{if((p??r.locale??n())==="zh")return I5e(e);return C5e(e)};var R5e=()=>"Manage notifications related to file uploads and metadata field status updates.",P5e=()=>"管理与文件上传和元数据字段状态更新相关的通知。",P_=(e={},r={})=>{if((p??r.locale??n())==="zh")return P5e(e);return R5e(e)};var T5e=()=>"Assignee",A5e=()=>"负责人",gh=(e={},r={})=>{if((p??r.locale??n())==="zh")return A5e(e);return T5e(e)};var E5e=()=>"@Mentions",D5e=()=>"@提及",N_=(e={},r={})=>{if((p??r.locale??n())==="zh")return D5e(e);return E5e(e)};var O5e=()=>"Attach files",N5e=()=>"附加文件",D_=(e={},r={})=>{if((p??r.locale??n())==="zh")return N5e(e);return O5e(e)};var F5e=()=>"Attachments",j5e=()=>"附件",O_=(e={},r={})=>{if((p??r.locale??n())==="zh")return j5e(e);return F5e(e)};var B5e=()=>"Audit Logs",U5e=()=>"审计日志",Zf=(e={},r={})=>{if((p??r.locale??n())==="zh")return U5e(e);return B5e(e)};var Y5e=()=>"View and monitor all audit logs of team actions.",q5e=()=>"查看并监控团队操作的所有审计日志。",F_=(e={},r={})=>{if((p??r.locale??n())==="zh")return q5e(e);return Y5e(e)};var H5e=()=>"Join our community of developers and designers.",V5e=()=>"加入我们的开发者和设计师社区。",W5e=(e={},r={})=>{if((p??r.locale??n())==="zh")return V5e(e);return H5e(e)};var G5e=()=>"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.",K5e=()=>"上传您的创意资产,添加各种类型的自定义元数据,直接在图片或视频上绘制标注和添加评论,——这一切都在Shumai,一个为创作者打造的一站式平台上完成。",X5e=(e={},r={})=>{if((p??r.locale??n())==="zh")return K5e(e);return G5e(e)};var Q5e=()=>"Custom metadata schemas & drawing canvas reviews",J5e=()=>"自定义元数据模式 & 画布标注审阅",$5e=(e={},r={})=>{if((p??r.locale??n())==="zh")return J5e(e);return Q5e(e)};var e4e=()=>"Frictionless team workspaces & secure sharing",t4e=()=>"无缝团队工作区 & 安全分享",r4e=(e={},r={})=>{if((p??r.locale??n())==="zh")return t4e(e);return e4e(e)};var o4e=()=>"Instant asset uploads & high-fidelity media players",a4e=()=>"即时资产上传 & 高保真媒体播放器",n4e=(e={},r={})=>{if((p??r.locale??n())==="zh")return a4e(e);return o4e(e)};var i4e=()=>"One workspace for all your creative assets.",f4e=()=>"一站式创意资产管理协作平台。",s4e=(e={},r={})=>{if((p??r.locale??n())==="zh")return f4e(e);return i4e(e)};var l4e=()=>"Autofill Agent",c4e=()=>"自动填充智能体",L_=(e={},r={})=>{if((p??r.locale??n())==="zh")return c4e(e);return l4e(e)};var u4e=()=>"Autofill Source",d4e=()=>"自动填充来源",gd=(e={},r={})=>{if((p??r.locale??n())==="zh")return d4e(e);return u4e(e)};var Z4e=()=>"Content",p4e=()=>"文件内容",Hc=(e={},r={})=>{if((p??r.locale??n())==="zh")return p4e(e);return Z4e(e)};var m4e=()=>"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.",h4e=()=>"设置为“文件内容”的字段将在文件上传后,由 AI 自动分析并从文件的视觉或文本内容中提取填写。注意:需要团队 Owner 先在设置中创建并启用“Autofill Agent”(自动填充 Agent),上传后才会触发内容提取。",Z_=(e={},r={})=>{if((p??r.locale??n())==="zh")return h4e(e);return m4e(e)};var g4e=()=>"Example: Image subject category, visual color palette, document summary, auto-detected language.",M4e=()=>"示例:图片类别、主色调、文档摘要、自动识别语言。",B_=(e={},r={})=>{if((p??r.locale??n())==="zh")return M4e(e);return g4e(e)};var x4e=()=>"Creation Context",v4e=()=>"创建上下文",$c=(e={},r={})=>{if((p??r.locale??n())==="zh")return v4e(e);return x4e(e)};var _4e=()=>"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.",y4e=()=>"设置为“创建上下文”的字段用于记录生成资产时的上下文信息(如 Prompt、模型或供应商)。若文件由 Shumai AI Agent 生成/创建,Agent 会在创建时刻自动填入这些字段(无需启用 Autofill Agent);若由真实用户手动上传,则需用户手动填写,不会自动提取。",U_=(e={},r={})=>{if((p??r.locale??n())==="zh")return y4e(e);return _4e(e)};var b4e=()=>"Example: Generation prompt, AI model name, LLM provider, sampler seed parameters.",w4e=()=>"示例:生成 Prompt、AI 模型名称、LLM 供应商、采样种子参数。",z_=(e={},r={})=>{if((p??r.locale??n())==="zh")return w4e(e);return b4e(e)};var z4e=()=>"Understand how each autofill source option works and when to use it.",S4e=()=>"了解每种自动填充来源的工作方式及适用场景。",j_=(e={},r={})=>{if((p??r.locale??n())==="zh")return S4e(e);return z4e(e)};var L4e=()=>"Autofill Source Guide",k4e=()=>"自动填充来源说明",Bf=(e={},r={})=>{if((p??r.locale??n())==="zh")return k4e(e);return L4e(e)};var C4e=()=>"None",I4e=()=>"无",Gc=(e={},r={})=>{if((p??r.locale??n())==="zh")return I4e(e);return C4e(e)};var R4e=()=>"Metadata fields marked as 'None' will not be automatically populated by AI. They are meant for manual user entry.",P4e=()=>"设置为“无”的字段不会由 AI 自动填充,需由用户手动填写。",q_=(e={},r={})=>{if((p??r.locale??n())==="zh")return P4e(e);return R4e(e)};var T4e=()=>"Example: Internal tags, manual notes, status tracking flags.",A4e=()=>"示例:内部标签、手动备注、状态标记。",H_=(e={},r={})=>{if((p??r.locale??n())==="zh")return A4e(e);return T4e(e)};var E4e=()=>"Avatar",D4e=()=>"头像",$_=(e={},r={})=>{if((p??r.locale??n())==="zh")return D4e(e);return E4e(e)};var O4e=()=>"Avatar removed successfully",N4e=()=>"头像已移除",G_=(e={},r={})=>{if((p??r.locale??n())==="zh")return N4e(e);return O4e(e)};var F4e=()=>"Avatar Source",j4e=()=>"头像来源",V_=(e={},r={})=>{if((p??r.locale??n())==="zh")return j4e(e);return F4e(e)};var B4e=()=>"Avatar updated successfully",U4e=()=>"头像更新成功",Q_=(e={},r={})=>{if((p??r.locale??n())==="zh")return U4e(e);return B4e(e)};var Y4e=()=>"Back to Chat",q4e=()=>"返回聊天",K_=(e={},r={})=>{if((p??r.locale??n())==="zh")return q4e(e);return Y4e(e)};var H4e=()=>"Base URL (Optional)",V4e=()=>"基础 URL(可选)",Ah=(e={},r={})=>{if((p??r.locale??n())==="zh")return V4e(e);return H4e(e)};var W4e=()=>"Bash Match Wildcard",G4e=()=>"Bash 命令通配符",W_=(e={},r={})=>{if((p??r.locale??n())==="zh")return G4e(e);return W4e(e)};var K4e=()=>"e.g. * or npm*",X4e=()=>"例如 * 或 npm*",Y_=(e={},r={})=>{if((p??r.locale??n())==="zh")return X4e(e);return K4e(e)};var Q4e=()=>"Best match",J4e=()=>"最佳匹配",J_=(e={},r={})=>{if((p??r.locale??n())==="zh")return J4e(e);return Q4e(e)};var $4e=()=>"Generates a single optimal resolution matching the source quality.",eFe=()=>"生成与源质量匹配的单一最优分辨率。",X_=(e={},r={})=>{if((p??r.locale??n())==="zh")return eFe(e);return $4e(e)};var tFe=()=>"Cache Read Cost (1M)",rFe=()=>"缓存读取成本(每百万)",ey=(e={},r={})=>{if((p??r.locale??n())==="zh")return rFe(e);return tFe(e)};var oFe=()=>"Cache Read Tokens",aFe=()=>"缓存读取 Token",_h=(e={},r={})=>{if((p??r.locale??n())==="zh")return aFe(e);return oFe(e)};var nFe=()=>"Cache Write Cost (1M)",iFe=()=>"缓存写入成本(每百万)",ty=(e={},r={})=>{if((p??r.locale??n())==="zh")return iFe(e);return nFe(e)};var fFe=()=>"Calling Tool:",sFe=()=>"调用工具:",Uf=(e={},r={})=>{if((p??r.locale??n())==="zh")return sFe(e);return fFe(e)};var lFe=()=>"Cancel",cFe=()=>"取消",Re=(e={},r={})=>{if((p??r.locale??n())==="zh")return cFe(e);return lFe(e)};var uFe=()=>"Only team owners, task reporters, or assignees can change task status",dFe=()=>"只有负责人、报告人或被指派人可以更改任务状态",ry=(e={},r={})=>{if((p??r.locale??n())==="zh")return dFe(e);return uFe(e)};var ZFe=()=>"Change",pFe=()=>"更改",ny=(e={},r={})=>{if((p??r.locale??n())==="zh")return pFe(e);return ZFe(e)};var mFe=()=>"Change time format",hFe=()=>"更改时间格式",oy=(e={},r={})=>{if((p??r.locale??n())==="zh")return hFe(e);return mFe(e)};var gFe=()=>"Chat Agents",MFe=()=>"对话智能体",sy=(e={},r={})=>{if((p??r.locale??n())==="zh")return MFe(e);return gFe(e)};var xFe=()=>"Drag and drop files or folders here to add them to chatbot context",vFe=()=>"拖拽文件或文件夹到此处以添加到聊天机器人上下文",yh=(e={},r={})=>{if((p??r.locale??n())==="zh")return vFe(e);return xFe(e)};var _Fe=()=>"简体中文 (Chinese)",yFe=()=>"简体中文 (Chinese)",iy=(e={},r={})=>{if((p??r.locale??n())==="zh")return yFe(e);return _Fe(e)};var bFe=()=>"Clear all",wFe=()=>"清除全部",ay=(e={},r={})=>{if((p??r.locale??n())==="zh")return wFe(e);return bFe(e)};var zFe=()=>"Clear Custom Key",SFe=()=>"清除自定义密钥",ly=(e={},r={})=>{if((p??r.locale??n())==="zh")return SFe(e);return zFe(e)};var LFe=()=>"Clear",kFe=()=>"清除",cy=(e={},r={})=>{if((p??r.locale??n())==="zh")return kFe(e);return LFe(e)};var CFe=()=>"Clear search",IFe=()=>"清除搜索",uy=(e={},r={})=>{if((p??r.locale??n())==="zh")return IFe(e);return CFe(e)};var RFe=()=>"Clear Status",PFe=()=>"清除状态",dy=(e={},r={})=>{if((p??r.locale??n())==="zh")return PFe(e);return RFe(e)};var TFe=()=>"Clear Types",AFe=()=>"清除类型",fy=(e={},r={})=>{if((p??r.locale??n())==="zh")return AFe(e);return TFe(e)};var EFe=()=>"Click to copy link",DFe=()=>"点击复制链接",py=(e={},r={})=>{if((p??r.locale??n())==="zh")return DFe(e);return EFe(e)};var OFe=()=>"Close",NFe=()=>"关闭",Da=(e={},r={})=>{if((p??r.locale??n())==="zh")return NFe(e);return OFe(e)};var FFe=()=>"collection",jFe=()=>"媒体合集",BFe=(e={},r={})=>{if((p??r.locale??n())==="zh")return jFe(e);return FFe(e)};var UFe=()=>"Collection created",YFe=()=>"媒体合集已创建",qFe=(e={},r={})=>{if((p??r.locale??n())==="zh")return YFe(e);return UFe(e)};var HFe=()=>"Collection deleted",VFe=()=>"媒体合集已删除",WFe=(e={},r={})=>{if((p??r.locale??n())==="zh")return VFe(e);return HFe(e)};var GFe=()=>"Collection Name",KFe=()=>"媒体合集名称",my=(e={},r={})=>{if((p??r.locale??n())==="zh")return KFe(e);return GFe(e)};var XFe=()=>"Collection renamed",QFe=()=>"媒体合集已重命名",JFe=(e={},r={})=>{if((p??r.locale??n())==="zh")return QFe(e);return XFe(e)};var $Fe=()=>"Collection saved",e3e=()=>"媒体合集已保存",hy=(e={},r={})=>{if((p??r.locale??n())==="zh")return e3e(e);return $Fe(e)};var t3e=()=>"Collections",r3e=()=>"媒体合集",o3e=(e={},r={})=>{if((p??r.locale??n())==="zh")return r3e(e);return t3e(e)};var a3e=()=>"Color",n3e=()=>"颜色",gy=(e={},r={})=>{if((p??r.locale??n())==="zh")return n3e(e);return a3e(e)};var i3e=()=>"Write a comment...",f3e=()=>"写下评论...",s3e=(e={},r={})=>{if((p??r.locale??n())==="zh")return f3e(e);return i3e(e)};var l3e=()=>"Comment Replies",c3e=()=>"评论回复",Ay=(e={},r={})=>{if((p??r.locale??n())==="zh")return c3e(e);return l3e(e)};var u3e=()=>"Comments",d3e=()=>"评论",Ad=(e={},r={})=>{if((p??r.locale??n())==="zh")return d3e(e);return u3e(e)};var Z3e=()=>"Comments & Replies",p3e=()=>"评论与回复",_y=(e={},r={})=>{if((p??r.locale??n())==="zh")return p3e(e);return Z3e(e)};var m3e=()=>"Control notification preferences when other users comment on assets you collaborate on or mention you.",h3e=()=>"控制其他用户对您协作的素材评论或提及您时的通知偏好。",yy=(e={},r={})=>{if((p??r.locale??n())==="zh")return h3e(e);return m3e(e)};var g3e=()=>"Compare Versions",M3e=()=>"对比版本",x3e=(e={},r={})=>{if((p??r.locale??n())==="zh")return M3e(e);return g3e(e)};var v3e=()=>"Configure your AI agent's personality and capabilities.",_3e=()=>"配置 AI 智能体的个性和功能。",by=(e={},r={})=>{if((p??r.locale??n())==="zh")return _3e(e);return v3e(e)};var y3e=()=>"Configure your new project workspace and appearance.",b3e=()=>"配置您的新项目工作区和外观。",vy=(e={},r={})=>{if((p??r.locale??n())==="zh")return b3e(e);return y3e(e)};var w3e=()=>"Configure authentication and model details for your AI provider.",z3e=()=>"配置 AI 提供商的身份验证和模型详情。",bh=(e={},r={})=>{if((p??r.locale??n())==="zh")return z3e(e);return w3e(e)};var S3e=(e)=>`Configure Skill: ${e?.name}`,L3e=(e)=>`配置技能:${e?.name}`,wy=(e,r={})=>{if((p??r.locale??n())==="zh")return L3e(e);return S3e(e)};var k3e=()=>"Configured AI Providers",C3e=()=>"已配置的 AI 提供商",xy=(e={},r={})=>{if((p??r.locale??n())==="zh")return C3e(e);return k3e(e)};var I3e=()=>"Confirm",R3e=()=>"确认",na=(e={},r={})=>{if((p??r.locale??n())==="zh")return R3e(e);return I3e(e)};var P3e=()=>"Are you sure you want to delete this field?",T3e=()=>"确定要删除此字段吗?",Sy=(e={},r={})=>{if((p??r.locale??n())==="zh")return T3e(e);return P3e(e)};var A3e=()=>"Confirm Download",E3e=()=>"确认下载",vh=(e={},r={})=>{if((p??r.locale??n())==="zh")return E3e(e);return A3e(e)};var D3e=()=>"Confirm Password",O3e=()=>"确认密码",Ey=(e={},r={})=>{if((p??r.locale??n())==="zh")return O3e(e);return D3e(e)};var N3e=()=>"Confirm new password",F3e=()=>"确认新密码",Cy=(e={},r={})=>{if((p??r.locale??n())==="zh")return F3e(e);return N3e(e)};var j3e=()=>"Contains drawing annotations",B3e=()=>"包含标注绘图",Iy=(e={},r={})=>{if((p??r.locale??n())==="zh")return B3e(e);return j3e(e)};var U3e=()=>"Context Window (tokens)",Y3e=()=>"上下文窗口(令牌数)",Ty=(e={},r={})=>{if((p??r.locale??n())==="zh")return Y3e(e);return U3e(e)};var q3e=()=>"Copied!",H3e=()=>"已复制!",My=(e={},r={})=>{if((p??r.locale??n())==="zh")return H3e(e);return q3e(e)};var V3e=()=>"Copied API token to clipboard",W3e=()=>"已将 API 令牌复制到剪贴板",ky=(e={},r={})=>{if((p??r.locale??n())==="zh")return W3e(e);return V3e(e)};var G3e=()=>"Copied name and download link to clipboard",K3e=()=>"已复制名称和下载链接到剪贴板",Ry=(e={},r={})=>{if((p??r.locale??n())==="zh")return K3e(e);return G3e(e)};var X3e=()=>"Copied to clipboard",Q3e=()=>"已复制到剪贴板",Py=(e={},r={})=>{if((p??r.locale??n())==="zh")return Q3e(e);return X3e(e)};var J3e=()=>"Copy",$3e=()=>"复制",Ny=(e={},r={})=>{if((p??r.locale??n())==="zh")return $3e(e);return J3e(e)};var eje=()=>"Copy optimized image to clipboard",tje=()=>"复制优化图片到剪贴板",Dy=(e={},r={})=>{if((p??r.locale??n())==="zh")return tje(e);return eje(e)};var rje=()=>"Copy Link",oje=()=>"复制链接",Oy=(e={},r={})=>{if((p??r.locale??n())==="zh")return oje(e);return rje(e)};var aje=()=>"Copy name and download link",nje=()=>"复制名称和下载链接",zf=(e={},r={})=>{if((p??r.locale??n())==="zh")return nje(e);return aje(e)};var ije=()=>"Copy to",fje=()=>"复制到",wh=(e={},r={})=>{if((p??r.locale??n())==="zh")return fje(e);return ije(e)};var sje=()=>"Cost",lje=()=>"费用",xh=(e={},r={})=>{if((p??r.locale??n())==="zh")return lje(e);return sje(e)};var cje=(e)=>`$${e?.input}/1M in · $${e?.output}/1M out`,uje=(e)=>`$${e?.input}/1M 输入 · $${e?.output}/1M 输出`,Sh=(e,r={})=>{if((p??r.locale??n())==="zh")return uje(e);return cje(e)};var dje=()=>"10000+ Assets",Zje=()=>"10000+ 资源",Fy=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zje(e);return dje(e)};var pje=()=>"10000+ Folders",mje=()=>"10000+ 文件夹",Ly=(e={},r={})=>{if((p??r.locale??n())==="zh")return mje(e);return pje(e)};var hje=()=>"Cover Preview",gje=()=>"封面预览",Zy=(e={},r={})=>{if((p??r.locale??n())==="zh")return gje(e);return hje(e)};var Mje=()=>"Create",xje=()=>"创建",Vc=(e={},r={})=>{if((p??r.locale??n())==="zh")return xje(e);return Mje(e)};var vje=()=>"Create Account",_je=()=>"创建账户",yje=(e={},r={})=>{if((p??r.locale??n())==="zh")return _je(e);return vje(e)};var bje=()=>"Create Agent",wje=()=>"创建智能体",By=(e={},r={})=>{if((p??r.locale??n())==="zh")return wje(e);return bje(e)};var zje=()=>"Create your first goal to organize related tasks.",Sje=()=>"创建第一个目标来组织相关任务。",Uy=(e={},r={})=>{if((p??r.locale??n())==="zh")return Sje(e);return zje(e)};var Lje=()=>"Create Goal",kje=()=>"创建目标",zy=(e={},r={})=>{if((p??r.locale??n())==="zh")return kje(e);return Lje(e)};var Cje=()=>"Create New Project",Ije=()=>"创建新项目",jy=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ije(e);return Cje(e)};var Rje=()=>"Create New Template",Pje=()=>"创建新模板",Eh=(e={},r={})=>{if((p??r.locale??n())==="zh")return Pje(e);return Rje(e)};var Tje=()=>"Create new version",Aje=()=>"创建新版本",qy=(e={},r={})=>{if((p??r.locale??n())==="zh")return Aje(e);return Tje(e)};var Eje=()=>"Create one now",Dje=()=>"立即创建",Hy=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dje(e);return Eje(e)};var Oje=()=>"Create Project",Nje=()=>"创建项目",jf=(e={},r={})=>{if((p??r.locale??n())==="zh")return Nje(e);return Oje(e)};var Fje=()=>"Create Quota Rule",jje=()=>"创建配额规则",$y=(e={},r={})=>{if((p??r.locale??n())==="zh")return jje(e);return Fje(e)};var Bje=()=>"Set up a new resource quota to prevent unexpected usage.",Uje=()=>"设置新的资源配额以防止意外的超量使用。",Gy=(e={},r={})=>{if((p??r.locale??n())==="zh")return Uje(e);return Bje(e)};var Yje=()=>"Create Share Link",qje=()=>"创建分享链接",Ch=(e={},r={})=>{if((p??r.locale??n())==="zh")return qje(e);return Yje(e)};var Hje=()=>"Create Task",Vje=()=>"创建任务",qf=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vje(e);return Hje(e)};var Wje=()=>"Create Time",Gje=()=>"创建时间",Vy=(e={},r={})=>{if((p??r.locale??n())==="zh")return Gje(e);return Wje(e)};var Kje=(e)=>`Create ${e?.type} Agent`,Xje=(e)=>`创建${e?.type}智能体`,Qy=(e,r={})=>{if((p??r.locale??n())==="zh")return Xje(e);return Kje(e)};var Qje=()=>"Created At",Jje=()=>"创建时间",_d=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jje(e);return Qje(e)};var $je=()=>"Created by Agent",eBe=()=>"由智能体创建",Ky=(e={},r={})=>{if((p??r.locale??n())==="zh")return eBe(e);return $je(e)};var tBe=(e)=>`${e?.time} by ${e?.author}`,rBe=(e)=>`${e?.time} 由 ${e?.author} 创建`,Wy=(e,r={})=>{if((p??r.locale??n())==="zh")return rBe(e);return tBe(e)};var oBe=()=>"Created Date",aBe=()=>"创建日期",Hf=(e={},r={})=>{if((p??r.locale??n())==="zh")return aBe(e);return oBe(e)};var nBe=()=>"Creating account...",iBe=()=>"创建账户中...",fBe=(e={},r={})=>{if((p??r.locale??n())==="zh")return iBe(e);return nBe(e)};var sBe=()=>"Creator",lBe=()=>"创建者",Qc=(e={},r={})=>{if((p??r.locale??n())==="zh")return lBe(e);return sBe(e)};var cBe=()=>"Current Custom Avatar",uBe=()=>"当前自定义头像",Yy=(e={},r={})=>{if((p??r.locale??n())==="zh")return uBe(e);return cBe(e)};var dBe=()=>"Current Project",ZBe=()=>"当前项目",pBe=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZBe(e);return dBe(e)};var mBe=()=>"Custom Fields",hBe=()=>"自定义字段",Jy=(e={},r={})=>{if((p??r.locale??n())==="zh")return hBe(e);return mBe(e)};var gBe=()=>"Custom Model...",MBe=()=>"自定义模型...",Xy=(e={},r={})=>{if((p??r.locale??n())==="zh")return MBe(e);return gBe(e)};var xBe=()=>"Dark",vBe=()=>"深色",_Be=(e={},r={})=>{if((p??r.locale??n())==="zh")return vBe(e);return xBe(e)};var yBe=()=>"Dashboard",bBe=()=>"仪表板",Ih=(e={},r={})=>{if((p??r.locale??n())==="zh")return bBe(e);return yBe(e)};var wBe=()=>"MMMM d, yyyy",zBe=()=>"yyyy年M月d日",SBe=(e={},r={})=>{if((p??r.locale??n())==="zh")return zBe(e);return wBe(e)};var LBe=()=>"One month ago",kBe=()=>"一个月前",eb=(e={},r={})=>{if((p??r.locale??n())==="zh")return kBe(e);return LBe(e)};var CBe=()=>"One month from now",IBe=()=>"一个月后",tb=(e={},r={})=>{if((p??r.locale??n())==="zh")return IBe(e);return CBe(e)};var RBe=()=>"One week ago",PBe=()=>"一周前",rb=(e={},r={})=>{if((p??r.locale??n())==="zh")return PBe(e);return RBe(e)};var TBe=()=>"One week from now",ABe=()=>"一周后",nb=(e={},r={})=>{if((p??r.locale??n())==="zh")return ABe(e);return TBe(e)};var EBe=()=>"Today",DBe=()=>"今天",ob=(e={},r={})=>{if((p??r.locale??n())==="zh")return DBe(e);return EBe(e)};var OBe=()=>"Tomorrow",NBe=()=>"明天",sb=(e={},r={})=>{if((p??r.locale??n())==="zh")return NBe(e);return OBe(e)};var FBe=()=>"Date type",jBe=()=>"日期类型",ib=(e={},r={})=>{if((p??r.locale??n())==="zh")return jBe(e);return FBe(e)};var BBe=()=>"Yesterday",UBe=()=>"昨天",ab=(e={},r={})=>{if((p??r.locale??n())==="zh")return UBe(e);return BBe(e)};var YBe=(e)=>`${e?.count}d`,qBe=(e)=>`${e?.count}天`,Th=(e,r={})=>{if((p??r.locale??n())==="zh")return qBe(e);return YBe(e)};var HBe=(e)=>`Default: ${e?.envKey}`,VBe=(e)=>`默认:${e?.envKey}`,lb=(e,r={})=>{if((p??r.locale??n())==="zh")return VBe(e);return HBe(e)};var WBe=()=>"Default Value",GBe=()=>"默认值",cb=(e={},r={})=>{if((p??r.locale??n())==="zh")return GBe(e);return WBe(e)};var KBe=()=>"Delete",XBe=()=>"删除",ht=(e={},r={})=>{if((p??r.locale??n())==="zh")return XBe(e);return KBe(e)};var QBe=()=>"Delete Agent",JBe=()=>"删除智能体",ub=(e={},r={})=>{if((p??r.locale??n())==="zh")return JBe(e);return QBe(e)};var $Be=(e)=>`This action cannot be undone. This will permanently delete the agent "${e?.name}" and remove all its data from our servers.`,e6e=(e)=>`此操作无法撤销。这将永久删除智能体 "${e?.name}" 并从服务器上删除其所有数据。`,db=(e,r={})=>{if((p??r.locale??n())==="zh")return e6e(e);return $Be(e)};var t6e=()=>"Deleted items can be recovered for 30 days before being permanently deleted.",r6e=()=>"已删除的项目可在 30 天内恢复,之后将被永久删除。",Kc=(e={},r={})=>{if((p??r.locale??n())==="zh")return r6e(e);return t6e(e)};var o6e=()=>"Delete Asset?",a6e=()=>"删除资源?",Wc=(e={},r={})=>{if((p??r.locale??n())==="zh")return a6e(e);return o6e(e)};var n6e=()=>"Delete Collection?",i6e=()=>"删除媒体合集?",f6e=(e={},r={})=>{if((p??r.locale??n())==="zh")return i6e(e);return n6e(e)};var s6e=()=>"Delete Comment?",l6e=()=>"删除评论?",Mh=(e={},r={})=>{if((p??r.locale??n())==="zh")return l6e(e);return s6e(e)};var c6e=()=>"Are you sure you want to delete this comment? This action cannot be undone.",u6e=()=>"您确定要删除这条评论吗?此操作将无法撤回。",kh=(e={},r={})=>{if((p??r.locale??n())==="zh")return u6e(e);return c6e(e)};var d6e=(e)=>`Are you sure you want to delete this ${e?.type}? This action cannot be undone.`,Z6e=(e)=>`确定要删除此${e?.type}吗?此操作无法撤销。`,p6e=(e,r={})=>{if((p??r.locale??n())==="zh")return Z6e(e);return d6e(e)};var m6e=()=>"Delete field",h6e=()=>"删除字段",fb=(e={},r={})=>{if((p??r.locale??n())==="zh")return h6e(e);return m6e(e)};var g6e=()=>"Delete Folder?",M6e=()=>"删除文件夹?",x6e=(e={},r={})=>{if((p??r.locale??n())==="zh")return M6e(e);return g6e(e)};var v6e=()=>"Delete Goal",_6e=()=>"删除目标",pb=(e={},r={})=>{if((p??r.locale??n())==="zh")return _6e(e);return v6e(e)};var y6e=(e)=>`Are you sure you want to delete goal "${e?.title}"? Associated tasks will remain but will no longer be linked to this goal.`,b6e=(e)=>`确定要删除目标"${e?.title}"吗?关联的任务仍将保留,但不再关联此目标。`,mb=(e,r={})=>{if((p??r.locale??n())==="zh")return b6e(e);return y6e(e)};var w6e=()=>"Delete MCP Server",z6e=()=>"删除 MCP 服务",hb=(e={},r={})=>{if((p??r.locale??n())==="zh")return z6e(e);return w6e(e)};var S6e=(e)=>`This action cannot be undone. This will permanently delete the MCP server "${e?.name}".`,L6e=(e)=>`此操作无法撤销。这将永久删除 MCP 服务 "${e?.name}"。`,gb=(e,r={})=>{if((p??r.locale??n())==="zh")return L6e(e);return S6e(e)};var k6e=(e)=>`This action cannot be undone. This will permanently delete the model "${e?.name}".`,C6e=(e)=>`此操作无法撤销。这将永久删除模型 "${e?.name}"。`,Ab=(e,r={})=>{if((p??r.locale??n())==="zh")return C6e(e);return k6e(e)};var I6e=()=>"delete",R6e=()=>"delete",_b=(e={},r={})=>{if((p??r.locale??n())==="zh")return R6e(e);return I6e(e)};var P6e=(e)=>`This action cannot be undone. This will permanently delete the project "${e?.name}" and all its assets.`,T6e=(e)=>`此操作无法撤销。这将永久删除项目 "${e?.name}" 及其所有资产。`,yb=(e,r={})=>{if((p??r.locale??n())==="zh")return T6e(e);return P6e(e)};var A6e=(e)=>`This action cannot be undone. This will permanently delete the provider "${e?.name}" and all associated model configurations.`,E6e=(e)=>`此操作无法撤销。这将永久删除提供商 "${e?.name}" 及所有关联的模型配置。`,bb=(e,r={})=>{if((p??r.locale??n())==="zh")return E6e(e);return A6e(e)};var D6e=()=>"Delete Quota",O6e=()=>"删除配额",$f=(e={},r={})=>{if((p??r.locale??n())==="zh")return O6e(e);return D6e(e)};var N6e=()=>"Are you sure you want to delete this quota rule? This action cannot be undone.",F6e=()=>"确定要删除此配额规则吗?此操作无法撤销。",Rh=(e={},r={})=>{if((p??r.locale??n())==="zh")return F6e(e);return N6e(e)};var j6e=()=>"Delete Session",B6e=()=>"删除会话",vb=(e={},r={})=>{if((p??r.locale??n())==="zh")return B6e(e);return j6e(e)};var U6e=()=>"Are you sure you want to delete this chat session?",Y6e=()=>"您确定要删除此会话记录吗?",wb=(e={},r={})=>{if((p??r.locale??n())==="zh")return Y6e(e);return U6e(e)};var q6e=()=>"Delete Share Link?",H6e=()=>"删除分享链接?",V6e=(e={},r={})=>{if((p??r.locale??n())==="zh")return H6e(e);return q6e(e)};var W6e=(e)=>`This action cannot be undone. This will permanently delete the skill "${e?.name}" and all its configurations.`,G6e=(e)=>`此操作无法撤销。这将永久删除技能 "${e?.name}" 及其所有配置。`,xb=(e,r={})=>{if((p??r.locale??n())==="zh")return G6e(e);return W6e(e)};var K6e=()=>"Delete Task",X6e=()=>"删除任务",Sb=(e={},r={})=>{if((p??r.locale??n())==="zh")return X6e(e);return K6e(e)};var Q6e=(e)=>`Are you sure you want to delete task "${e?.title}"? This action cannot be undone.`,J6e=(e)=>`确定要删除任务"${e?.title}"吗?此操作无法撤销。`,Eb=(e,r={})=>{if((p??r.locale??n())==="zh")return J6e(e);return Q6e(e)};var $6e=()=>"Deleted",eUe=()=>"已删除",Cb=(e={},r={})=>{if((p??r.locale??n())==="zh")return eUe(e);return $6e(e)};var tUe=()=>"Deleting...",rUe=()=>"删除中...",Ib=(e={},r={})=>{if((p??r.locale??n())==="zh")return rUe(e);return tUe(e)};var oUe=()=>"Demo Access:",aUe=()=>"演示访问:",nUe=(e={},r={})=>{if((p??r.locale??n())==="zh")return aUe(e);return oUe(e)};var iUe=()=>'This demo account is a read-only "Reviewer" role user.',fUe=()=>'该演示账户为只读 "Reviewer" 角色用户。',sUe=(e={},r={})=>{if((p??r.locale??n())==="zh")return fUe(e);return iUe(e)};var lUe=()=>"Descending",cUe=()=>"降序",Gf=(e={},r={})=>{if((p??r.locale??n())==="zh")return cUe(e);return lUe(e)};var uUe=()=>"Description",dUe=()=>"描述",Cl=(e={},r={})=>{if((p??r.locale??n())==="zh")return dUe(e);return uUe(e)};var ZUe=()=>"Optional, used for AI autofill",pUe=()=>"可选,用于 AI 自动填充",yd=(e={},r={})=>{if((p??r.locale??n())==="zh")return pUe(e);return ZUe(e)};var mUe=()=>"Generate and manage API keys for developers and automated workflows.",hUe=()=>"为开发者和自动化工作流生成和管理 API 密钥。",Tb=(e={},r={})=>{if((p??r.locale??n())==="zh")return hUe(e);return mUe(e)};var gUe=()=>"Developer Settings",MUe=()=>"开发者设置",Mb=(e={},r={})=>{if((p??r.locale??n())==="zh")return MUe(e);return gUe(e)};var xUe=()=>"Disable Timestamp",vUe=()=>"禁用时间戳",kb=(e={},r={})=>{if((p??r.locale??n())==="zh")return vUe(e);return xUe(e)};var _Ue=()=>"Disabled",yUe=()=>"已禁用",Vf=(e={},r={})=>{if((p??r.locale??n())==="zh")return yUe(e);return _Ue(e)};var bUe=()=>"Display Name (Optional)",wUe=()=>"显示名称(可选)",Rb=(e={},r={})=>{if((p??r.locale??n())==="zh")return wUe(e);return bUe(e)};var zUe=()=>"Domain already exists",SUe=()=>"域名已存在",Pb=(e={},r={})=>{if((p??r.locale??n())==="zh")return SUe(e);return zUe(e)};var LUe=()=>"Done",kUe=()=>"完成",CUe=(e={},r={})=>{if((p??r.locale??n())==="zh")return kUe(e);return LUe(e)};var IUe=()=>"Download",RUe=()=>"下载",_r=(e={},r={})=>{if((p??r.locale??n())==="zh")return RUe(e);return IUe(e)};var PUe=(e)=>`This download will include ${e?.count} file(s).`,TUe=(e)=>`此下载将包含 ${e?.count} 个文件。`,Ph=(e,r={})=>{if((p??r.locale??n())==="zh")return TUe(e);return PUe(e)};var AUe=()=>"Download original file",EUe=()=>"下载原始文件",Nb=(e={},r={})=>{if((p??r.locale??n())==="zh")return EUe(e);return AUe(e)};var DUe=()=>"Download original image",OUe=()=>"下载原始图片",Db=(e={},r={})=>{if((p??r.locale??n())==="zh")return OUe(e);return DUe(e)};var NUe=()=>"Due Date",FUe=()=>"截止日期",bd=(e={},r={})=>{if((p??r.locale??n())==="zh")return FUe(e);return NUe(e)};var jUe=()=>"Edit",BUe=()=>"编辑",Ob=(e={},r={})=>{if((p??r.locale??n())==="zh")return BUe(e);return jUe(e)};var UUe=()=>"Edit Goal",YUe=()=>"编辑目标",Nh=(e={},r={})=>{if((p??r.locale??n())==="zh")return YUe(e);return UUe(e)};var qUe=(e)=>`Edit ${e?.name}`,HUe=(e)=>`编辑 ${e?.name}`,Dh=(e,r={})=>{if((p??r.locale??n())==="zh")return HUe(e);return qUe(e)};var VUe=()=>"Edit MCP Server",WUe=()=>"编辑 MCP 服务",Fb=(e={},r={})=>{if((p??r.locale??n())==="zh")return WUe(e);return VUe(e)};var GUe=()=>"Edit Model",KUe=()=>"编辑模型",Oh=(e={},r={})=>{if((p??r.locale??n())==="zh")return KUe(e);return GUe(e)};var XUe=()=>"Edit Quota Rule",QUe=()=>"编辑配额规则",Lb=(e={},r={})=>{if((p??r.locale??n())==="zh")return QUe(e);return XUe(e)};var JUe=()=>"Configure resource limits, target scopes, and evaluation periods.",$Ue=()=>"配置资源上限、目标范围以及评估周期。",Zb=(e={},r={})=>{if((p??r.locale??n())==="zh")return $Ue(e);return JUe(e)};var e7e=()=>"Edit Task",t7e=()=>"编辑任务",r7e=(e={},r={})=>{if((p??r.locale??n())==="zh")return t7e(e);return e7e(e)};var o7e=()=>"Edit Watermark",a7e=()=>"编辑水印",Bb=(e={},r={})=>{if((p??r.locale??n())==="zh")return a7e(e);return o7e(e)};var n7e=()=>"Editor",i7e=()=>"创作者",$s=(e={},r={})=>{if((p??r.locale??n())==="zh")return i7e(e);return n7e(e)};var f7e=()=>"Email",s7e=()=>"邮箱",Qf=(e={},r={})=>{if((p??r.locale??n())==="zh")return s7e(e);return f7e(e)};var l7e=()=>"Email Address",c7e=()=>"邮箱地址",tce=(e={},r={})=>{if((p??r.locale??n())==="zh")return c7e(e);return l7e(e)};var u7e=()=>"john@example.com",d7e=()=>"zhangsan@example.com",Ub=(e={},r={})=>{if((p??r.locale??n())==="zh")return d7e(e);return u7e(e)};var Z7e=()=>"Email address is managed by authentication provider.",p7e=()=>"邮箱地址由认证提供商管理。",zb=(e={},r={})=>{if((p??r.locale??n())==="zh")return p7e(e);return Z7e(e)};var m7e=()=>"Email Notifications",h7e=()=>"邮件通知",Fh=(e={},r={})=>{if((p??r.locale??n())==="zh")return h7e(e);return m7e(e)};var g7e=()=>"Configure SMTP settings for sending email notifications to team members.",M7e=()=>"配置用于向团队成员发送邮件通知的 SMTP 设置。",jb=(e={},r={})=>{if((p??r.locale??n())==="zh")return M7e(e);return g7e(e)};var x7e=()=>"Email settings saved successfully",v7e=()=>"邮件设置已保存",Lh=(e={},r={})=>{if((p??r.locale??n())==="zh")return v7e(e);return x7e(e)};var _7e=()=>"Embedding Agent",y7e=()=>"嵌入智能体",qb=(e={},r={})=>{if((p??r.locale??n())==="zh")return y7e(e);return _7e(e)};var b7e=()=>"All items in the recently deleted folder will be permanently removed both from the database and from storage. This action cannot be undone.",w7e=()=>"回收站中的所有项目将从数据库和存储中永久删除。此操作无法撤销。",Hb=(e={},r={})=>{if((p??r.locale??n())==="zh")return w7e(e);return b7e(e)};var z7e=()=>"Empty Trash?",S7e=()=>"清空回收站?",$b=(e={},r={})=>{if((p??r.locale??n())==="zh")return S7e(e);return z7e(e)};var L7e=()=>"Enable Email Notifications",k7e=()=>"启用邮件通知",Gb=(e={},r={})=>{if((p??r.locale??n())==="zh")return k7e(e);return L7e(e)};var C7e=()=>"Send email notifications for comments, mentions, uploads, and other team activity.",I7e=()=>"当有评论、提及、上传及其他团队活动时发送邮件通知。",Vb=(e={},r={})=>{if((p??r.locale??n())==="zh")return I7e(e);return C7e(e)};var R7e=()=>"Please create and enable an embedding agent in the team settings to use semantic search.",P7e=()=>"请在团队设置中创建并启用嵌入智能体以使用语义搜索。",Qb=(e={},r={})=>{if((p??r.locale??n())==="zh")return P7e(e);return R7e(e)};var T7e=()=>"Enable Network Sandbox",A7e=()=>"启用网络沙箱",Kb=(e={},r={})=>{if((p??r.locale??n())==="zh")return A7e(e);return T7e(e)};var E7e=()=>"Enable Timestamp",D7e=()=>"启用时间戳",Wb=(e={},r={})=>{if((p??r.locale??n())==="zh")return D7e(e);return E7e(e)};var O7e=()=>"Enabled",N7e=()=>"已启用",Kf=(e={},r={})=>{if((p??r.locale??n())==="zh")return N7e(e);return O7e(e)};var F7e=()=>"English",j7e=()=>"English",Yb=(e={},r={})=>{if((p??r.locale??n())==="zh")return j7e(e);return F7e(e)};var B7e=()=>"Enter a value",U7e=()=>"输入一个值",Jb=(e={},r={})=>{if((p??r.locale??n())==="zh")return U7e(e);return B7e(e)};var Y7e=()=>"Enter custom model ID",q7e=()=>"输入自定义模型 ID",Xb=(e={},r={})=>{if((p??r.locale??n())==="zh")return q7e(e);return Y7e(e)};var H7e=()=>"Enter MCP Server ID",V7e=()=>"输入 MCP 服务 ID",Zh=(e={},r={})=>{if((p??r.locale??n())==="zh")return V7e(e);return H7e(e)};var W7e=()=>"Enter new name",G7e=()=>"输入新名称",vd=(e={},r={})=>{if((p??r.locale??n())==="zh")return G7e(e);return W7e(e)};var K7e=()=>"Enter password",X7e=()=>"请输入密码",ev=(e={},r={})=>{if((p??r.locale??n())==="zh")return X7e(e);return K7e(e)};var Q7e=()=>"Enter template name...",J7e=()=>"请输入模板名称...",Bh=(e={},r={})=>{if((p??r.locale??n())==="zh")return J7e(e);return Q7e(e)};var $7e=()=>"Enter your details",eYe=()=>"输入您的信息",tv=(e={},r={})=>{if((p??r.locale??n())==="zh")return eYe(e);return $7e(e)};var tYe=()=>"Enter your name",rYe=()=>"请输入您的名称",rv=(e={},r={})=>{if((p??r.locale??n())==="zh")return rYe(e);return tYe(e)};var oYe=()=>"Entry ID",aYe=()=>"条目 ID",wd=(e={},r={})=>{if((p??r.locale??n())==="zh")return aYe(e);return oYe(e)};var nYe=()=>"If left empty, the value will be read from the host machine's environment.",iYe=()=>"如果留空,将从主机的环境中读取值。",nv=(e={},r={})=>{if((p??r.locale??n())==="zh")return iYe(e);return nYe(e)};var fYe=()=>"Error",sYe=()=>"错误",Fn=(e={},r={})=>{if((p??r.locale??n())==="zh")return sYe(e);return fYe(e)};var lYe=(e)=>`Error: ${e?.message}`,cYe=(e)=>`错误:${e?.message}`,Gs=(e,r={})=>{if((p??r.locale??n())==="zh")return cYe(e);return lYe(e)};var uYe=()=>"Essentials",dYe=()=>"基本信息",ov=(e={},r={})=>{if((p??r.locale??n())==="zh")return dYe(e);return uYe(e)};var ZYe=()=>"Exact date...",pYe=()=>"精确日期...",sv=(e={},r={})=>{if((p??r.locale??n())==="zh")return pYe(e);return ZYe(e)};var mYe=()=>"Exit compare",hYe=()=>"退出对比",iv=(e={},r={})=>{if((p??r.locale??n())==="zh")return hYe(e);return mYe(e)};var gYe=()=>"Expiration Date",MYe=()=>"过期日期",av=(e={},r={})=>{if((p??r.locale??n())==="zh")return MYe(e);return gYe(e)};var xYe=()=>"Export Comments",vYe=()=>"导出评论",lv=(e={},r={})=>{if((p??r.locale??n())==="zh")return vYe(e);return xYe(e)};var _Ye=()=>"Failed to create collection",yYe=()=>"创建媒体合集失败",bYe=(e={},r={})=>{if((p??r.locale??n())==="zh")return yYe(e);return _Ye(e)};var wYe=()=>"Failed to create field",zYe=()=>"创建字段失败",Wf=(e={},r={})=>{if((p??r.locale??n())==="zh")return zYe(e);return wYe(e)};var SYe=()=>"Failed to create project",LYe=()=>"创建项目失败",cv=(e={},r={})=>{if((p??r.locale??n())==="zh")return LYe(e);return SYe(e)};var kYe=()=>"Failed to create share link",CYe=()=>"创建分享链接失败",IYe=(e={},r={})=>{if((p??r.locale??n())==="zh")return CYe(e);return kYe(e)};var RYe=()=>"Failed to delete collection",PYe=()=>"删除媒体合集失败",TYe=(e={},r={})=>{if((p??r.locale??n())==="zh")return PYe(e);return RYe(e)};var AYe=()=>"Failed to delete field",EYe=()=>"删除字段失败",uv=(e={},r={})=>{if((p??r.locale??n())==="zh")return EYe(e);return AYe(e)};var DYe=()=>"Failed to delete folder",OYe=()=>"删除文件夹失败",NYe=(e={},r={})=>{if((p??r.locale??n())==="zh")return OYe(e);return DYe(e)};var FYe=()=>"Failed to delete share link",jYe=()=>"删除分享链接失败",BYe=(e={},r={})=>{if((p??r.locale??n())==="zh")return jYe(e);return FYe(e)};var UYe=()=>"Failed to fetch collections",YYe=()=>"获取媒体合集失败",qYe=(e={},r={})=>{if((p??r.locale??n())==="zh")return YYe(e);return UYe(e)};var HYe=()=>"Failed to fetch fields",VYe=()=>"获取字段列表失败",dv=(e={},r={})=>{if((p??r.locale??n())==="zh")return VYe(e);return HYe(e)};var WYe=()=>"Failed to fetch files",GYe=()=>"获取文件失败",fv=(e={},r={})=>{if((p??r.locale??n())==="zh")return GYe(e);return WYe(e)};var KYe=()=>"Failed to fetch folders",XYe=()=>"获取文件夹失败",pv=(e={},r={})=>{if((p??r.locale??n())==="zh")return XYe(e);return KYe(e)};var QYe=()=>"Failed to fetch share link",JYe=()=>"获取分享链接失败",mv=(e={},r={})=>{if((p??r.locale??n())==="zh")return JYe(e);return QYe(e)};var $Ye=()=>"Failed to fetch share links",eqe=()=>"获取分享链接失败",tqe=(e={},r={})=>{if((p??r.locale??n())==="zh")return eqe(e);return $Ye(e)};var rqe=()=>"Failed to load settings.",oqe=()=>"加载设置失败。",Xo=(e={},r={})=>{if((p??r.locale??n())==="zh")return oqe(e);return rqe(e)};var aqe=()=>"Failed to remove",nqe=()=>"移除失败",hv=(e={},r={})=>{if((p??r.locale??n())==="zh")return nqe(e);return aqe(e)};var iqe=()=>"Failed to remove avatar",fqe=()=>"移除头像失败",gv=(e={},r={})=>{if((p??r.locale??n())==="zh")return fqe(e);return iqe(e)};var sqe=()=>"Failed to rename collection",lqe=()=>"重命名媒体合集失败",cqe=(e={},r={})=>{if((p??r.locale??n())==="zh")return lqe(e);return sqe(e)};var uqe=()=>"Failed to rename folder",dqe=()=>"重命名文件夹失败",Zqe=(e={},r={})=>{if((p??r.locale??n())==="zh")return dqe(e);return uqe(e)};var pqe=()=>"Failed to rename share link",mqe=()=>"重命名分享链接失败",hqe=(e={},r={})=>{if((p??r.locale??n())==="zh")return mqe(e);return pqe(e)};var gqe=()=>"Failed to save collection",Mqe=()=>"保存媒体合集失败",Av=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mqe(e);return gqe(e)};var xqe=(e)=>`Failed to add ${e?.name}`,vqe=(e)=>`添加 ${e?.name} 失败`,Uh=(e,r={})=>{if((p??r.locale??n())==="zh")return vqe(e);return xqe(e)};var _qe=()=>"Failed to add model",yqe=()=>"添加模型失败",_v=(e={},r={})=>{if((p??r.locale??n())==="zh")return yqe(e);return _qe(e)};var bqe=()=>"Failed to create quota rule",wqe=()=>"创建配额规则失败",zh=(e={},r={})=>{if((p??r.locale??n())==="zh")return wqe(e);return bqe(e)};var zqe=()=>"Failed to delete",Sqe=()=>"删除失败",Oa=(e={},r={})=>{if((p??r.locale??n())==="zh")return Sqe(e);return zqe(e)};var Lqe=()=>"Failed to delete quota rule",kqe=()=>"删除配额规则失败",xd=(e={},r={})=>{if((p??r.locale??n())==="zh")return kqe(e);return Lqe(e)};var Cqe=()=>"Failed to export comments",Iqe=()=>"导出评论失败",yv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Iqe(e);return Cqe(e)};var Rqe=()=>"Failed to fetch folder children",Pqe=()=>"获取子文件夹失败",Tqe=(e={},r={})=>{if((p??r.locale??n())==="zh")return Pqe(e);return Rqe(e)};var Aqe=()=>"Failed to generate invite link",Eqe=()=>"生成邀请链接失败",bv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Eqe(e);return Aqe(e)};var Dqe=()=>"Failed to generate token",Oqe=()=>"生成令牌失败",vv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Oqe(e);return Dqe(e)};var Nqe=()=>"Failed to install skill",Fqe=()=>"安装技能失败",wv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fqe(e);return Nqe(e)};var jqe=()=>"Failed to load email settings",Bqe=()=>"加载邮件设置失败",jh=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bqe(e);return jqe(e)};var Uqe=()=>"Failed to load quota usage",Yqe=()=>"加载配额使用量失败",qh=(e={},r={})=>{if((p??r.locale??n())==="zh")return Yqe(e);return Uqe(e)};var qqe=()=>"Failed to load workflow tasks.",Hqe=()=>"加载工作流任务失败。",xv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hqe(e);return qqe(e)};var Vqe=()=>"Failed to post comment",Wqe=()=>"发送评论失败",Sv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wqe(e);return Vqe(e)};var Gqe=()=>"Failed to prepare download links",Kqe=()=>"准备下载链接失败",rce=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kqe(e);return Gqe(e)};var Xqe=()=>"Failed to remove member",Qqe=()=>"移除成员失败",Ev=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qqe(e);return Xqe(e)};var Jqe=()=>"Failed to remove version",$qe=()=>"移除版本失败",e9e=(e={},r={})=>{if((p??r.locale??n())==="zh")return $qe(e);return Jqe(e)};var t9e=()=>"Failed to rename",r9e=()=>"重命名失败",Cv=(e={},r={})=>{if((p??r.locale??n())==="zh")return r9e(e);return t9e(e)};var o9e=()=>"Failed to reorder versions",a9e=()=>"版本重新排序失败",n9e=(e={},r={})=>{if((p??r.locale??n())==="zh")return a9e(e);return o9e(e)};var i9e=()=>"Failed to reset quota usage",f9e=()=>"重置配额使用量失败",Hh=(e={},r={})=>{if((p??r.locale??n())==="zh")return f9e(e);return i9e(e)};var s9e=()=>"Failed to revoke token",l9e=()=>"撤销令牌失败",Iv=(e={},r={})=>{if((p??r.locale??n())==="zh")return l9e(e);return s9e(e)};var c9e=()=>"Failed to save email settings",u9e=()=>"保存邮件设置失败",Yf=(e={},r={})=>{if((p??r.locale??n())==="zh")return u9e(e);return c9e(e)};var d9e=()=>"Failed to send test email",Z9e=()=>"发送测试邮件失败",$h=(e={},r={})=>{if((p??r.locale??n())==="zh")return Z9e(e);return d9e(e)};var p9e=()=>"Failed to update member role",m9e=()=>"更新成员角色失败",Tv=(e={},r={})=>{if((p??r.locale??n())==="zh")return m9e(e);return p9e(e)};var h9e=()=>"Failed to update notification settings",g9e=()=>"更新通知设置失败",Gh=(e={},r={})=>{if((p??r.locale??n())==="zh")return g9e(e);return h9e(e)};var M9e=()=>"Failed to update permission",x9e=()=>"更新权限失败",Il=(e={},r={})=>{if((p??r.locale??n())==="zh")return x9e(e);return M9e(e)};var v9e=()=>"Failed to update provider",_9e=()=>"更新提供商失败",Mv=(e={},r={})=>{if((p??r.locale??n())==="zh")return _9e(e);return v9e(e)};var y9e=()=>"Failed to update quota rule",b9e=()=>"更新配额规则失败",Sd=(e={},r={})=>{if((p??r.locale??n())==="zh")return b9e(e);return y9e(e)};var w9e=()=>"Failed to update sandbox settings",z9e=()=>"更新沙箱设置失败",Vh=(e={},r={})=>{if((p??r.locale??n())==="zh")return z9e(e);return w9e(e)};var S9e=()=>"Failed to upload",L9e=()=>"上传失败",kv=(e={},r={})=>{if((p??r.locale??n())==="zh")return L9e(e);return S9e(e)};var k9e=()=>"(Failed to upload)",C9e=()=>"(上传失败)",Rv=(e={},r={})=>{if((p??r.locale??n())==="zh")return C9e(e);return k9e(e)};var I9e=()=>"Failed to update",R9e=()=>"更新失败",xi=(e={},r={})=>{if((p??r.locale??n())==="zh")return R9e(e);return I9e(e)};var P9e=()=>"Failed to update appearance settings",T9e=()=>"更新外观设置失败",Qh=(e={},r={})=>{if((p??r.locale??n())==="zh")return T9e(e);return P9e(e)};var A9e=()=>"Failed to update avatar",E9e=()=>"头像更新失败",Pv=(e={},r={})=>{if((p??r.locale??n())==="zh")return E9e(e);return A9e(e)};var D9e=()=>"Failed to update field",O9e=()=>"更新字段失败",Tl=(e={},r={})=>{if((p??r.locale??n())==="zh")return O9e(e);return D9e(e)};var N9e=()=>"Failed to update fields order",F9e=()=>"更新字段排序失败",Jf=(e={},r={})=>{if((p??r.locale??n())==="zh")return F9e(e);return N9e(e)};var j9e=()=>"Failed to update language",B9e=()=>"语言更新失败",Nv=(e={},r={})=>{if((p??r.locale??n())==="zh")return B9e(e);return j9e(e)};var U9e=()=>"Failed to update profile",Y9e=()=>"更新个人资料失败",Dv=(e={},r={})=>{if((p??r.locale??n())==="zh")return Y9e(e);return U9e(e)};var q9e=()=>"Failed to update project",H9e=()=>"更新项目失败",Ov=(e={},r={})=>{if((p??r.locale??n())==="zh")return H9e(e);return q9e(e)};var V9e=()=>"Failed to update project notification settings",W9e=()=>"更新项目通知设置失败",Fv=(e={},r={})=>{if((p??r.locale??n())==="zh")return W9e(e);return V9e(e)};var G9e=()=>"Failed to update settings",K9e=()=>"更新设置失败",Ed=(e={},r={})=>{if((p??r.locale??n())==="zh")return K9e(e);return G9e(e)};var X9e=()=>"Failed to upload file",Q9e=()=>"上传文件失败",Yc=(e={},r={})=>{if((p??r.locale??n())==="zh")return Q9e(e);return X9e(e)};var J9e=()=>"FFmpeg Threads",$9e=()=>"FFmpeg 线程数",Lv=(e={},r={})=>{if((p??r.locale??n())==="zh")return $9e(e);return J9e(e)};var eHe=()=>"Maximum number of CPU threads used by FFmpeg during transcoding. Set to 0 for Auto.",tHe=()=>"FFmpeg 转码时使用的最大 CPU 线程数。设置为 0 表示自动。",Zv=(e={},r={})=>{if((p??r.locale??n())==="zh")return tHe(e);return eHe(e)};var rHe=()=>"Field",oHe=()=>"字段",Xf=(e={},r={})=>{if((p??r.locale??n())==="zh")return oHe(e);return rHe(e)};var aHe=()=>"Created At",nHe=()=>"创建时间",Bv=(e={},r={})=>{if((p??r.locale??n())==="zh")return nHe(e);return aHe(e)};var iHe=()=>"Field created successfully",fHe=()=>"字段创建成功",Uv=(e={},r={})=>{if((p??r.locale??n())==="zh")return fHe(e);return iHe(e)};var sHe=()=>"Field deleted successfully",lHe=()=>"字段删除成功",zv=(e={},r={})=>{if((p??r.locale??n())==="zh")return lHe(e);return sHe(e)};var cHe=()=>"Field Name",uHe=()=>"字段名称",ep=(e={},r={})=>{if((p??r.locale??n())==="zh")return uHe(e);return cHe(e)};var dHe=()=>"e.g. Status",ZHe=()=>"例如:状态",jv=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZHe(e);return dHe(e)};var pHe=()=>"Size",mHe=()=>"大小",qv=(e={},r={})=>{if((p??r.locale??n())==="zh")return mHe(e);return pHe(e)};var hHe=()=>"Field Type",gHe=()=>"字段类型",tp=(e={},r={})=>{if((p??r.locale??n())==="zh")return gHe(e);return hHe(e)};var MHe=()=>"Updated At",xHe=()=>"更新时间",Hv=(e={},r={})=>{if((p??r.locale??n())==="zh")return xHe(e);return MHe(e)};var vHe=()=>"Field updated successfully",_He=()=>"字段更新成功",$v=(e={},r={})=>{if((p??r.locale??n())==="zh")return _He(e);return vHe(e)};var yHe=()=>"Fields",bHe=()=>"字段",Fa=(e={},r={})=>{if((p??r.locale??n())==="zh")return bHe(e);return yHe(e)};var wHe=()=>"File size exceeds the 1MB limit",zHe=()=>"文件大小不能超过 1MB",Gv=(e={},r={})=>{if((p??r.locale??n())==="zh")return zHe(e);return wHe(e)};var SHe=()=>"File Name",LHe=()=>"文件名",rp=(e={},r={})=>{if((p??r.locale??n())==="zh")return LHe(e);return SHe(e)};var kHe=()=>"File not found.",CHe=()=>"文件未找到。",Kh=(e={},r={})=>{if((p??r.locale??n())==="zh")return CHe(e);return kHe(e)};var IHe=(e)=>`${e?.uploaded} / ${e?.total} files`,RHe=(e)=>`${e?.uploaded} / ${e?.total} 个文件`,oce=(e,r={})=>{if((p??r.locale??n())==="zh")return RHe(e);return IHe(e)};var PHe=()=>"Filesystem Restriction",THe=()=>"文件系统限制",Vv=(e={},r={})=>{if((p??r.locale??n())==="zh")return THe(e);return PHe(e)};var AHe=()=>"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.",EHe=()=>"沙箱 Shell 命令可以读取工作区文件,但环境变量、证书和密钥等敏感文件除外;可以写入项目的 .pi 文件夹和系统临时目录,以及少量由运行时管理的系统路径。这些文件系统规则目前出于安全考虑已硬编码。",Qv=(e={},r={})=>{if((p??r.locale??n())==="zh")return EHe(e);return AHe(e)};var DHe=()=>"and",OHe=()=>"且",Kv=(e={},r={})=>{if((p??r.locale??n())==="zh")return OHe(e);return DHe(e)};var NHe=()=>"Filter by Action",FHe=()=>"按操作筛选",Wv=(e={},r={})=>{if((p??r.locale??n())==="zh")return FHe(e);return NHe(e)};var jHe=()=>"Filter by Status",BHe=()=>"按状态筛选",Yv=(e={},r={})=>{if((p??r.locale??n())==="zh")return BHe(e);return jHe(e)};var UHe=()=>"Filter by Type",YHe=()=>"按类型筛选",Jv=(e={},r={})=>{if((p??r.locale??n())==="zh")return YHe(e);return UHe(e)};var qHe=()=>"Filter by User",HHe=()=>"按用户筛选",Xv=(e={},r={})=>{if((p??r.locale??n())==="zh")return HHe(e);return qHe(e)};var VHe=()=>"Search tasks in this status...",WHe=()=>"搜索此状态下的任务...",GHe=(e={},r={})=>{if((p??r.locale??n())==="zh")return WHe(e);return VHe(e)};var KHe=()=>"Where",XHe=()=>"条件",ew=(e={},r={})=>{if((p??r.locale??n())==="zh")return XHe(e);return KHe(e)};var QHe=()=>"Filters",JHe=()=>"筛选条件",tw=(e={},r={})=>{if((p??r.locale??n())==="zh")return JHe(e);return QHe(e)};var $He=()=>"You will be the owner of the default workspace as the first user!",eVe=()=>"作为第一位用户,您将成为默认工作空间的拥有者!",tVe=(e={},r={})=>{if((p??r.locale??n())==="zh")return eVe(e);return $He(e)};var rVe=()=>"Fit",oVe=()=>"适应窗口",np=(e={},r={})=>{if((p??r.locale??n())==="zh")return oVe(e);return rVe(e)};var aVe=()=>"Folder",nVe=()=>"文件夹",iVe=(e={},r={})=>{if((p??r.locale??n())==="zh")return nVe(e);return aVe(e)};var fVe=()=>"Folder deleted",sVe=()=>"文件夹已删除",lVe=(e={},r={})=>{if((p??r.locale??n())==="zh")return sVe(e);return fVe(e)};var cVe=()=>"Selected folder files will be prepared for download.",uVe=()=>"所选文件夹中的文件将被准备下载。",Wh=(e={},r={})=>{if((p??r.locale??n())==="zh")return uVe(e);return cVe(e)};var dVe=()=>"Folder name",ZVe=()=>"文件夹名称",Yh=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZVe(e);return dVe(e)};var pVe=()=>"Folder renamed",mVe=()=>"文件夹已重命名",hVe=(e={},r={})=>{if((p??r.locale??n())==="zh")return mVe(e);return pVe(e)};var gVe=()=>"Folder hierarchy will be flattened. All nested files will be downloaded directly into your default download folder.",MVe=()=>"文件夹层级将被扁平化。所有嵌套文件将直接下载到您的默认下载文件夹中。",Jh=(e={},r={})=>{if((p??r.locale??n())==="zh")return MVe(e);return gVe(e)};var xVe=()=>"Assets",vVe=()=>"资产",ace=(e={},r={})=>{if((p??r.locale??n())==="zh")return vVe(e);return xVe(e)};var _Ve=()=>"Font Size",yVe=()=>"字体大小",rw=(e={},r={})=>{if((p??r.locale??n())==="zh")return yVe(e);return _Ve(e)};var bVe=()=>"Format",wVe=()=>"格式",nw=(e={},r={})=>{if((p??r.locale??n())==="zh")return wVe(e);return bVe(e)};var zVe=()=>"Frames",SVe=()=>"帧数",ow=(e={},r={})=>{if((p??r.locale??n())==="zh")return SVe(e);return zVe(e)};var LVe=()=>"From address is required",kVe=()=>"必须提供发件人地址",sw=(e={},r={})=>{if((p??r.locale??n())==="zh")return kVe(e);return LVe(e)};var CVe=()=>"Fullscreen",IVe=()=>"全屏",Cd=(e={},r={})=>{if((p??r.locale??n())==="zh")return IVe(e);return CVe(e)};var RVe=()=>"General",PVe=()=>"通用",iw=(e={},r={})=>{if((p??r.locale??n())==="zh")return PVe(e);return RVe(e)};var TVe=()=>"General Comments",AVe=()=>"普通评论",aw=(e={},r={})=>{if((p??r.locale??n())==="zh")return AVe(e);return TVe(e)};var EVe=()=>"General Settings",DVe=()=>"通用设置",Xh=(e={},r={})=>{if((p??r.locale??n())==="zh")return DVe(e);return EVe(e)};var OVe=()=>"View your personal information and team role.",NVe=()=>"查看您的个人信息和团队角色。",lw=(e={},r={})=>{if((p??r.locale??n())==="zh")return NVe(e);return OVe(e)};var FVe=()=>"Generate",jVe=()=>"生成",cw=(e={},r={})=>{if((p??r.locale??n())==="zh")return jVe(e);return FVe(e)};var BVe=()=>"Generate Link",UVe=()=>"生成链接",uw=(e={},r={})=>{if((p??r.locale??n())==="zh")return UVe(e);return BVe(e)};var YVe=()=>"GitHub Repository URL",qVe=()=>"GitHub 仓库 URL",dw=(e={},r={})=>{if((p??r.locale??n())==="zh")return qVe(e);return YVe(e)};var HVe=()=>"Example: https://github.com/google/gemini-cli",VVe=()=>"示例:https://github.com/google/gemini-cli",fw=(e={},r={})=>{if((p??r.locale??n())==="zh")return VVe(e);return HVe(e)};var WVe=()=>"Global API Protocol",GVe=()=>"全局 API 协议",eg=(e={},r={})=>{if((p??r.locale??n())==="zh")return GVe(e);return WVe(e)};var KVe=()=>"Go to Login",XVe=()=>"前往登录",op=(e={},r={})=>{if((p??r.locale??n())==="zh")return XVe(e);return KVe(e)};var QVe=()=>"Goal created",JVe=()=>"目标已创建",pw=(e={},r={})=>{if((p??r.locale??n())==="zh")return JVe(e);return QVe(e)};var $Ve=()=>"Goal deleted",eWe=()=>"目标已删除",mw=(e={},r={})=>{if((p??r.locale??n())==="zh")return eWe(e);return $Ve(e)};var tWe=()=>"Goal Description",rWe=()=>"目标描述",hw=(e={},r={})=>{if((p??r.locale??n())==="zh")return rWe(e);return tWe(e)};var oWe=()=>"Describe the desired outcome and success criteria...",aWe=()=>"描述预期成果和衡量标准...",gw=(e={},r={})=>{if((p??r.locale??n())==="zh")return aWe(e);return oWe(e)};var nWe=()=>"Goal Title",iWe=()=>"目标标题",Aw=(e={},r={})=>{if((p??r.locale??n())==="zh")return iWe(e);return nWe(e)};var fWe=()=>"e.g. Q3 Launch Deliverables",sWe=()=>"例如:Q3 发布交付物",_w=(e={},r={})=>{if((p??r.locale??n())==="zh")return sWe(e);return fWe(e)};var lWe=()=>"Goal updated",cWe=()=>"目标已更新",yw=(e={},r={})=>{if((p??r.locale??n())==="zh")return cWe(e);return lWe(e)};var uWe=()=>"Goals",dWe=()=>"目标",Id=(e={},r={})=>{if((p??r.locale??n())==="zh")return dWe(e);return uWe(e)};var ZWe=()=>"Connection failed",pWe=()=>"连接失败",Td=(e={},r={})=>{if((p??r.locale??n())==="zh")return pWe(e);return ZWe(e)};var mWe=()=>"Connected successfully",hWe=()=>"连接成功",tg=(e={},r={})=>{if((p??r.locale??n())==="zh")return hWe(e);return mWe(e)};var gWe=()=>"Configured via environment variables (Read-only)",MWe=()=>"已通过环境变量配置(只读)",bw=(e={},r={})=>{if((p??r.locale??n())==="zh")return MWe(e);return gWe(e)};var xWe=()=>"Password",vWe=()=>"密码",vw=(e={},r={})=>{if((p??r.locale??n())==="zh")return vWe(e);return xWe(e)};var _We=()=>"Leave blank to keep existing password",yWe=()=>"留空以保留当前密码",ww=(e={},r={})=>{if((p??r.locale??n())==="zh")return yWe(e);return _We(e)};var bWe=()=>"Server URL",wWe=()=>"服务地址",xw=(e={},r={})=>{if((p??r.locale??n())==="zh")return wWe(e);return bWe(e)};var zWe=()=>"e.g. http://localhost:3000",SWe=()=>"例如 http://localhost:3000",Sw=(e={},r={})=>{if((p??r.locale??n())==="zh")return SWe(e);return zWe(e)};var LWe=()=>"Gotenberg Document Converter",kWe=()=>"Gotenberg 文档转换服务",Ew=(e={},r={})=>{if((p??r.locale??n())==="zh")return kWe(e);return LWe(e)};var CWe=()=>"Configure the external Gotenberg service for converting Office documents, Markdown, and HTML to PDF.",IWe=()=>"配置用于将 Office 文档、Markdown 及 HTML 转换为 PDF 的外部 Gotenberg 服务。",Cw=(e={},r={})=>{if((p??r.locale??n())==="zh")return IWe(e);return CWe(e)};var RWe=()=>"Test Connection",PWe=()=>"测试连接",Iw=(e={},r={})=>{if((p??r.locale??n())==="zh")return PWe(e);return RWe(e)};var TWe=()=>"Testing...",AWe=()=>"正在测试...",Tw=(e={},r={})=>{if((p??r.locale??n())==="zh")return AWe(e);return TWe(e)};var EWe=()=>"Username",DWe=()=>"用户名",Mw=(e={},r={})=>{if((p??r.locale??n())==="zh")return DWe(e);return EWe(e)};var OWe=()=>"Grid",NWe=()=>"网格",kw=(e={},r={})=>{if((p??r.locale??n())==="zh")return NWe(e);return OWe(e)};var FWe=()=>"Groups",jWe=()=>"分组",Rw=(e={},r={})=>{if((p??r.locale??n())==="zh")return jWe(e);return FWe(e)};var BWe=()=>"Hardware Acceleration",UWe=()=>"硬件加速",Pw=(e={},r={})=>{if((p??r.locale??n())==="zh")return UWe(e);return BWe(e)};var YWe=()=>"Auto Detect",qWe=()=>"自动检测",Nw=(e={},r={})=>{if((p??r.locale??n())==="zh")return qWe(e);return YWe(e)};var HWe=()=>"Automatically probes and uses GPU/Hardware acceleration (NVENC, QSV, VA-API, AMF, VideoToolbox). If hardware acceleration is unsupported on the host, video transcoding may fail.",VWe=()=>"自动检测并使用 GPU/硬件加速(NVENC、QSV、VA-API、AMF、VideoToolbox)。若宿主硬件不支持加速,视频转码可能会失败。",Dw=(e={},r={})=>{if((p??r.locale??n())==="zh")return VWe(e);return HWe(e)};var WWe=()=>"Disabled (Software)",GWe=()=>"已禁用 (软件编码)",Ow=(e={},r={})=>{if((p??r.locale??n())==="zh")return GWe(e);return WWe(e)};var KWe=()=>"Uses software libx264 encoder with constant rate factor (CRF).",XWe=()=>"使用 CPU 的 libx264 软件编码器及 CRF 恒定画质模式。",Fw=(e={},r={})=>{if((p??r.locale??n())==="zh")return XWe(e);return KWe(e)};var QWe=()=>"Configure hardware-accelerated video encoding to offload workloads to GPUs, or use CPU software encoding.",JWe=()=>"配置硬件加速视频编码以将工作负载分流至 GPU,或使用 CPU 软件编码。",Lw=(e={},r={})=>{if((p??r.locale??n())==="zh")return JWe(e);return QWe(e)};var $We=()=>"HDR",eGe=()=>"HDR",Jc=(e={},r={})=>{if((p??r.locale??n())==="zh")return eGe(e);return $We(e)};var tGe=()=>"Heartbeat",rGe=()=>"心跳时间",Zw=(e={},r={})=>{if((p??r.locale??n())==="zh")return rGe(e);return tGe(e)};var oGe=()=>"Hide Agent",aGe=()=>"隐藏 Agent",Bw=(e={},r={})=>{if((p??r.locale??n())==="zh")return aGe(e);return oGe(e)};var nGe=()=>"Hide the AGENTS.md button, agent-chat sidebar, and chatbot trigger button across the entire team.",iGe=()=>"在整个团队中隐藏 AGENTS.md 按钮、Agent 聊天侧边栏和触发按钮。",Uw=(e={},r={})=>{if((p??r.locale??n())==="zh")return iGe(e);return nGe(e)};var fGe=()=>"Hide Chatbot",sGe=()=>"隐藏聊天机器人",lGe=(e={},r={})=>{if((p??r.locale??n())==="zh")return sGe(e);return fGe(e)};var cGe=()=>"History",uGe=()=>"历史记录",rg=(e={},r={})=>{if((p??r.locale??n())==="zh")return uGe(e);return cGe(e)};var dGe=()=>"Resolution Ladders",ZGe=()=>"分辨率阶梯",zw=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZGe(e);return dGe(e)};var pGe=()=>"Select the target resolutions to generate for HLS streaming. Ladders are only generated up to the source video resolution.",mGe=()=>"选择 HLS 流媒体生成的目标分辨率。仅会生成不超过原始视频分辨率的分辨率阶梯。",jw=(e={},r={})=>{if((p??r.locale??n())==="zh")return mGe(e);return pGe(e)};var hGe=()=>"HLS Streaming",gGe=()=>"HLS 流媒体",qw=(e={},r={})=>{if((p??r.locale??n())==="zh")return gGe(e);return hGe(e)};var MGe=()=>"Enable HTTP Live Streaming (HLS) with adaptive bitrate ladders for smooth video playback.",xGe=()=>"启用自适应码率阶梯的 HTTP Live Streaming (HLS),带来流畅的视频流播放体验。",Hw=(e={},r={})=>{if((p??r.locale??n())==="zh")return xGe(e);return MGe(e)};var vGe=()=>"Home",_Ge=()=>"主页",yGe=(e={},r={})=>{if((p??r.locale??n())==="zh")return _Ge(e);return vGe(e)};var bGe=()=>"Image Asset",wGe=()=>"图片资源",$w=(e={},r={})=>{if((p??r.locale??n())==="zh")return wGe(e);return bGe(e)};var zGe=(e)=>`${e?.count} enabled`,SGe=(e)=>`${e?.count} 个已启用`,Gw=(e,r={})=>{if((p??r.locale??n())==="zh")return SGe(e);return zGe(e)};var LGe=()=>"[Image Object]",kGe=()=>"[图片对象]",sp=(e={},r={})=>{if((p??r.locale??n())==="zh")return kGe(e);return LGe(e)};var CGe=()=>"Image Size",IGe=()=>"图片大小",Vw=(e={},r={})=>{if((p??r.locale??n())==="zh")return IGe(e);return CGe(e)};var RGe=()=>"Image / Video Generation",PGe=()=>"图像与视频生成",ng=(e={},r={})=>{if((p??r.locale??n())==="zh")return PGe(e);return RGe(e)};var TGe=()=>"Import a skill from a local ZIP archive or a GitHub repository.",AGe=()=>"从本地 ZIP 压缩包或 GitHub 仓库导入技能。",Qw=(e={},r={})=>{if((p??r.locale??n())==="zh")return AGe(e);return TGe(e)};var EGe=()=>"Input Cost (1M)",DGe=()=>"输入成本(每百万)",Kw=(e={},r={})=>{if((p??r.locale??n())==="zh")return DGe(e);return EGe(e)};var OGe=()=>"Input Tokens",NGe=()=>"输入 Token",og=(e={},r={})=>{if((p??r.locale??n())==="zh")return NGe(e);return OGe(e)};var FGe=()=>"Install",jGe=()=>"安装",Ww=(e={},r={})=>{if((p??r.locale??n())==="zh")return jGe(e);return FGe(e)};var BGe=()=>"Integrations",UGe=()=>"集成",sg=(e={},r={})=>{if((p??r.locale??n())==="zh")return UGe(e);return BGe(e)};var YGe=()=>"Configure third-party service integrations for media rendering and document processing.",qGe=()=>"配置用于媒体渲染与文档处理的第三方服务集成。",Yw=(e={},r={})=>{if((p??r.locale??n())==="zh")return qGe(e);return YGe(e)};var HGe=()=>"Invalid credentials",VGe=()=>"凭证无效",nce=(e={},r={})=>{if((p??r.locale??n())==="zh")return VGe(e);return HGe(e)};var WGe=()=>"Invalid email address",GGe=()=>"无效的邮箱地址",ice=(e={},r={})=>{if((p??r.locale??n())==="zh")return GGe(e);return WGe(e)};var KGe=()=>"Invalid or missing reset token.",XGe=()=>"无效或缺失的重置令牌。",ip=(e={},r={})=>{if((p??r.locale??n())==="zh")return XGe(e);return KGe(e)};var QGe=()=>"Please contact your administrator to generate a new password reset link.",JGe=()=>"请联系管理员生成新的密码重置链接。",Jw=(e={},r={})=>{if((p??r.locale??n())==="zh")return JGe(e);return QGe(e)};var $Ge=(e)=>`${e?.inviterName} invited you to join ${e?.targetName} as ${e?.role}.`,eKe=(e)=>`${e?.inviterName} 邀请您加入 ${e?.targetName},角色为 ${e?.role}。`,tKe=(e,r={})=>{if((p??r.locale??n())==="zh")return eKe(e);return $Ge(e)};var rKe=()=>"Invite link copied to clipboard",oKe=()=>"邀请链接已复制到剪贴板",Xw=(e={},r={})=>{if((p??r.locale??n())==="zh")return oKe(e);return rKe(e)};var aKe=()=>"Invite New Member",nKe=()=>"邀请新成员",ex=(e={},r={})=>{if((p??r.locale??n())==="zh")return nKe(e);return aKe(e)};var iKe=()=>"Item ID",fKe=()=>"条目 ID",tx=(e={},r={})=>{if((p??r.locale??n())==="zh")return fKe(e);return iKe(e)};var sKe=()=>"Kanban",lKe=()=>"看板",cKe=(e={},r={})=>{if((p??r.locale??n())==="zh")return lKe(e);return sKe(e)};var uKe=()=>"Kanban Comments",dKe=()=>"看板评论",rx=(e={},r={})=>{if((p??r.locale??n())==="zh")return dKe(e);return uKe(e)};var ZKe=()=>"Manage notifications for Kanban board tasks and comments.",pKe=()=>"管理看板任务和评论相关的通知偏好。",nx=(e={},r={})=>{if((p??r.locale??n())==="zh")return pKe(e);return ZKe(e)};var mKe=()=>"Kanban Notifications",hKe=()=>"看板通知",ox=(e={},r={})=>{if((p??r.locale??n())==="zh")return hKe(e);return mKe(e)};var gKe=()=>"Kanban Tasks",MKe=()=>"看板任务",sx=(e={},r={})=>{if((p??r.locale??n())==="zh")return MKe(e);return gKe(e)};var xKe=()=>"Language Settings",vKe=()=>"语言设置",ix=(e={},r={})=>{if((p??r.locale??n())==="zh")return vKe(e);return xKe(e)};var _Ke=()=>"Language updated successfully",yKe=()=>"语言更新成功",ax=(e={},r={})=>{if((p??r.locale??n())==="zh")return yKe(e);return _Ke(e)};var bKe=()=>"Light",wKe=()=>"浅色",zKe=(e={},r={})=>{if((p??r.locale??n())==="zh")return wKe(e);return bKe(e)};var SKe=()=>"Link copied to clipboard",LKe=()=>"链接已复制到剪贴板",lx=(e={},r={})=>{if((p??r.locale??n())==="zh")return LKe(e);return SKe(e)};var kKe=()=>"Link to Task",CKe=()=>"关联到任务",IKe=(e={},r={})=>{if((p??r.locale??n())==="zh")return CKe(e);return kKe(e)};var RKe=()=>"Link Visibility",PKe=()=>"链接可见性",cx=(e={},r={})=>{if((p??r.locale??n())==="zh")return PKe(e);return RKe(e)};var TKe=(e)=>`${e?.count} assets`,AKe=(e)=>`${e?.count} 个资产`,ux=(e,r={})=>{if((p??r.locale??n())==="zh")return AKe(e);return TKe(e)};var EKe=()=>"Linked Tasks",DKe=()=>"关联任务",ap=(e={},r={})=>{if((p??r.locale??n())==="zh")return DKe(e);return EKe(e)};var OKe=()=>"List",NKe=()=>"列表",dx=(e={},r={})=>{if((p??r.locale??n())==="zh")return NKe(e);return OKe(e)};var FKe=()=>"Load Template",jKe=()=>"加载模板",fx=(e={},r={})=>{if((p??r.locale??n())==="zh")return jKe(e);return FKe(e)};var BKe=()=>"Loading...",UKe=()=>"加载中...",Md=(e={},r={})=>{if((p??r.locale??n())==="zh")return UKe(e);return BKe(e)};var YKe=()=>"Loading collection...",qKe=()=>"正在加载媒体合集...",ig=(e={},r={})=>{if((p??r.locale??n())==="zh")return qKe(e);return YKe(e)};var HKe=()=>"Loading models...",VKe=()=>"正在加载模型...",px=(e={},r={})=>{if((p??r.locale??n())==="zh")return VKe(e);return HKe(e)};var WKe=()=>"Loading more...",GKe=()=>"加载更多...",mx=(e={},r={})=>{if((p??r.locale??n())==="zh")return GKe(e);return WKe(e)};var KKe=()=>"Log out",XKe=()=>"退出登录",QKe=(e={},r={})=>{if((p??r.locale??n())==="zh")return XKe(e);return KKe(e)};var JKe=()=>"Logging in...",$Ke=()=>"登录中...",fce=(e={},r={})=>{if((p??r.locale??n())==="zh")return $Ke(e);return JKe(e)};var eXe=()=>"Login",tXe=()=>"登录",sce=(e={},r={})=>{if((p??r.locale??n())==="zh")return tXe(e);return eXe(e)};var rXe=()=>"Login as demo user",oXe=()=>"以演示用户登录",aXe=(e={},r={})=>{if((p??r.locale??n())==="zh")return oXe(e);return rXe(e)};var nXe=()=>"Login here",iXe=()=>"在此登录",fXe=(e={},r={})=>{if((p??r.locale??n())==="zh")return iXe(e);return nXe(e)};var sXe=()=>"Enter your credentials to access your account.",lXe=()=>"输入您的凭证以访问您的账户。",cXe=(e={},r={})=>{if((p??r.locale??n())==="zh")return lXe(e);return sXe(e)};var uXe=()=>"Loop",dXe=()=>"循环",hx=(e={},r={})=>{if((p??r.locale??n())==="zh")return dXe(e);return uXe(e)};var ZXe=()=>"Manage environment variables for this skill instance.",pXe=()=>"管理此技能实例的环境变量。",gx=(e={},r={})=>{if((p??r.locale??n())==="zh")return pXe(e);return ZXe(e)};var mXe=()=>"Manage Fields",hXe=()=>"管理字段",lp=(e={},r={})=>{if((p??r.locale??n())==="zh")return hXe(e);return mXe(e)};var gXe=()=>"Manage and update your project workspace configurations.",MXe=()=>"管理和更新您的项目工作区配置。",Ax=(e={},r={})=>{if((p??r.locale??n())==="zh")return MXe(e);return gXe(e)};var xXe=()=>"Manage versions",vXe=()=>"管理版本",cp=(e={},r={})=>{if((p??r.locale??n())==="zh")return vXe(e);return xXe(e)};var _Xe=()=>"Manage versions",yXe=()=>"管理版本",bXe=(e={},r={})=>{if((p??r.locale??n())==="zh")return yXe(e);return _Xe(e)};var wXe=()=>"Mark all as read",zXe=()=>"全部标记为已读",SXe=(e={},r={})=>{if((p??r.locale??n())==="zh")return zXe(e);return wXe(e)};var LXe=()=>"Mark as complete",kXe=()=>"标记为已完成",_x=(e={},r={})=>{if((p??r.locale??n())==="zh")return kXe(e);return LXe(e)};var CXe=()=>"Mark as incomplete",IXe=()=>"标记为未完成",yx=(e={},r={})=>{if((p??r.locale??n())==="zh")return IXe(e);return CXe(e)};var RXe=()=>"Markup is not supported for this file type",PXe=()=>"此文件类型不支持标注",up=(e={},r={})=>{if((p??r.locale??n())==="zh")return PXe(e);return RXe(e)};var TXe=(e)=>`Matched ${e?.count} items`,AXe=(e)=>`匹配了 ${e?.count} 项`,bx=(e,r={})=>{if((p??r.locale??n())==="zh")return AXe(e);return TXe(e)};var EXe=()=>"Max Output Tokens",DXe=()=>"最大输出令牌数",vx=(e={},r={})=>{if((p??r.locale??n())==="zh")return DXe(e);return EXe(e)};var OXe=(e)=>`max ${e?.count}`,NXe=(e)=>`最大 ${e?.count}`,wx=(e,r={})=>{if((p??r.locale??n())==="zh")return NXe(e);return OXe(e)};var FXe=()=>"Auto-Detect (Default)",jXe=()=>"自动检测 (默认)",xx=(e={},r={})=>{if((p??r.locale??n())==="zh")return jXe(e);return FXe(e)};var BXe=()=>"Bearer Token",UXe=()=>"Bearer 令牌",Sx=(e={},r={})=>{if((p??r.locale??n())==="zh")return UXe(e);return BXe(e)};var YXe=()=>"Failed to authenticate MCP server",qXe=()=>"MCP 服务身份验证失败",dp=(e={},r={})=>{if((p??r.locale??n())==="zh")return qXe(e);return YXe(e)};var HXe=()=>"None",VXe=()=>"无",Ex=(e={},r={})=>{if((p??r.locale??n())==="zh")return VXe(e);return HXe(e)};var WXe=()=>"OAuth 2.0",GXe=()=>"OAuth 2.0",Cx=(e={},r={})=>{if((p??r.locale??n())==="zh")return GXe(e);return WXe(e)};var KXe=()=>"MCP server authenticated successfully",XXe=()=>"MCP 服务身份验证成功",ag=(e={},r={})=>{if((p??r.locale??n())==="zh")return XXe(e);return KXe(e)};var QXe=()=>"Authentication Type",JXe=()=>"身份验证类型",Ix=(e={},r={})=>{if((p??r.locale??n())==="zh")return JXe(e);return QXe(e)};var $Xe=()=>"Bearer Token",eQe=()=>"Bearer 令牌",Tx=(e={},r={})=>{if((p??r.locale??n())==="zh")return eQe(e);return $Xe(e)};var tQe=()=>"All Direct",rQe=()=>"全部直连",Mx=(e={},r={})=>{if((p??r.locale??n())==="zh")return rQe(e);return tQe(e)};var oQe=()=>"All Off",aQe=()=>"全部关闭",kx=(e={},r={})=>{if((p??r.locale??n())==="zh")return aQe(e);return oQe(e)};var nQe=()=>"All Proxy",iQe=()=>"全部代理",Rx=(e={},r={})=>{if((p??r.locale??n())==="zh")return iQe(e);return nQe(e)};var fQe=()=>"Connect Account",sQe=()=>"连接账号",lg=(e={},r={})=>{if((p??r.locale??n())==="zh")return sQe(e);return fQe(e)};var lQe=()=>"Disconnect Auth",cQe=()=>"断开身份验证",cg=(e={},r={})=>{if((p??r.locale??n())==="zh")return cQe(e);return lQe(e)};var uQe=()=>"Client ID",dQe=()=>"Client ID",Px=(e={},r={})=>{if((p??r.locale??n())==="zh")return dQe(e);return uQe(e)};var ZQe=()=>"Client Secret",pQe=()=>"Client Secret",Nx=(e={},r={})=>{if((p??r.locale??n())==="zh")return pQe(e);return ZQe(e)};var mQe=()=>"Grant Type",hQe=()=>"授权模式 (Grant Type)",Dx=(e={},r={})=>{if((p??r.locale??n())==="zh")return hQe(e);return mQe(e)};var gQe=()=>"Scope",MQe=()=>"作用域 (Scope)",Ox=(e={},r={})=>{if((p??r.locale??n())==="zh")return MQe(e);return gQe(e)};var xQe=()=>"Refresh Server",vQe=()=>"刷新服务器",ug=(e={},r={})=>{if((p??r.locale??n())==="zh")return vQe(e);return xQe(e)};var _Qe=()=>"Server refreshed",yQe=()=>"服务器已刷新",Fx=(e={},r={})=>{if((p??r.locale??n())==="zh")return yQe(e);return _Qe(e)};var bQe=()=>"Name and description are auto-detected from the server after connecting.",wQe=()=>"连接后将自动从服务端获取名称和描述。",dg=(e={},r={})=>{if((p??r.locale??n())==="zh")return wQe(e);return bQe(e)};var zQe=()=>"Server Instructions",SQe=()=>"服务器说明",Lx=(e={},r={})=>{if((p??r.locale??n())==="zh")return SQe(e);return zQe(e)};var LQe=()=>"Server Name",kQe=()=>"服务名称",Zx=(e={},r={})=>{if((p??r.locale??n())==="zh")return kQe(e);return LQe(e)};var CQe=()=>"Endpoint URL",IQe=()=>"Endpoint URL",fg=(e={},r={})=>{if((p??r.locale??n())==="zh")return IQe(e);return CQe(e)};var RQe=()=>"MCP Servers",PQe=()=>"MCP 服务",Xc=(e={},r={})=>{if((p??r.locale??n())==="zh")return PQe(e);return RQe(e)};var TQe=()=>"Configure Model Context Protocol (MCP) servers and tools for your team.",AQe=()=>"为团队配置 Model Context Protocol (MCP) 服务与工具。",kd=(e={},r={})=>{if((p??r.locale??n())==="zh")return AQe(e);return TQe(e)};var EQe=()=>"Connected",DQe=()=>"已连接",Bx=(e={},r={})=>{if((p??r.locale??n())==="zh")return DQe(e);return EQe(e)};var OQe=()=>"Failed",NQe=()=>"连接失败",Ux=(e={},r={})=>{if((p??r.locale??n())==="zh")return NQe(e);return OQe(e)};var FQe=()=>"Needs Authentication",jQe=()=>"需要身份验证",pg=(e={},r={})=>{if((p??r.locale??n())==="zh")return jQe(e);return FQe(e)};var BQe=()=>"Not Connected",UQe=()=>"未连接",zx=(e={},r={})=>{if((p??r.locale??n())==="zh")return UQe(e);return BQe(e)};var YQe=()=>"Direct",qQe=()=>"直连",jx=(e={},r={})=>{if((p??r.locale??n())==="zh")return qQe(e);return YQe(e)};var HQe=()=>"Off",VQe=()=>"关闭",qx=(e={},r={})=>{if((p??r.locale??n())==="zh")return VQe(e);return HQe(e)};var WQe=()=>"Proxy",GQe=()=>"代理",Hx=(e={},r={})=>{if((p??r.locale??n())==="zh")return GQe(e);return WQe(e)};var KQe=()=>"MCP Tools",XQe=()=>"MCP 工具",$x=(e={},r={})=>{if((p??r.locale??n())==="zh")return XQe(e);return KQe(e)};var QQe=(e)=>`${e?.count} Tools`,JQe=(e)=>`${e?.count} 个工具`,Gx=(e,r={})=>{if((p??r.locale??n())==="zh")return JQe(e);return QQe(e)};var $Qe=()=>"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.",eJe=()=>"配置 MCP 工具向 Agent 的暴露方式。代理模式通过 MCP 代理隐匿工具,以保持较低的上下文占用;直连模式将选定工具直接作为 Agent 原生工具暴露,便于更好地发现与更快地调用。建议对高频或关键工具使用直连模式,对于大型 MCP 服务保持代理模式以避免不必要的上下文开销。",Vx=(e={},r={})=>{if((p??r.locale??n())==="zh")return eJe(e);return $Qe(e)};var tJe=()=>"Transport Protocol",rJe=()=>"传输协议",Qx=(e={},r={})=>{if((p??r.locale??n())==="zh")return rJe(e);return tJe(e)};var oJe=()=>"Configure providers and enabled models for built-in image and video generation tools.",aJe=()=>"配置内置图像和视频生成工具的提供商与已启用模型。",Kx=(e={},r={})=>{if((p??r.locale??n())==="zh")return aJe(e);return oJe(e)};var nJe=()=>"Media is not available.",iJe=()=>"媒体不可用。",Wx=(e={},r={})=>{if((p??r.locale??n())==="zh")return iJe(e);return nJe(e)};var fJe=()=>"Media processing failed",sJe=()=>"媒体处理失败",mg=(e={},r={})=>{if((p??r.locale??n())==="zh")return sJe(e);return fJe(e)};var lJe=()=>"An error occurred while processing this media file. You can still download the original file.",cJe=()=>"处理此媒体文件时发生错误。您仍可以下载原始文件。",hg=(e={},r={})=>{if((p??r.locale??n())==="zh")return cJe(e);return lJe(e)};var uJe=()=>"Media Providers",dJe=()=>"媒体提供商",Yx=(e={},r={})=>{if((p??r.locale??n())==="zh")return dJe(e);return uJe(e)};var ZJe=()=>"Configure API keys for built-in media generation providers. Providers can use environment variables or custom keys.",pJe=()=>"为内置媒体生成提供商配置 API 密钥。提供商可以使用环境变量或自定义密钥。",Jx=(e={},r={})=>{if((p??r.locale??n())==="zh")return pJe(e);return ZJe(e)};var mJe=()=>"Image",hJe=()=>"图像",fp=(e={},r={})=>{if((p??r.locale??n())==="zh")return hJe(e);return mJe(e)};var gJe=()=>"Video",MJe=()=>"视频",pp=(e={},r={})=>{if((p??r.locale??n())==="zh")return MJe(e);return gJe(e)};var xJe=()=>"Member removed",vJe=()=>"成员已移除",Xx=(e={},r={})=>{if((p??r.locale??n())==="zh")return vJe(e);return xJe(e)};var _Je=()=>"Member role updated",yJe=()=>"成员角色已更新",eS=(e={},r={})=>{if((p??r.locale??n())==="zh")return yJe(e);return _Je(e)};var bJe=()=>"Members",wJe=()=>"成员",tS=(e={},r={})=>{if((p??r.locale??n())==="zh")return wJe(e);return bJe(e)};var zJe=()=>"Members",SJe=()=>"成员",rS=(e={},r={})=>{if((p??r.locale??n())==="zh")return SJe(e);return zJe(e)};var LJe=()=>"Message...",kJe=()=>"发送消息...",nS=(e={},r={})=>{if((p??r.locale??n())==="zh")return kJe(e);return LJe(e)};var CJe=()=>"Model",IJe=()=>"模型",mp=(e={},r={})=>{if((p??r.locale??n())==="zh")return IJe(e);return CJe(e)};var RJe=()=>"Model created successfully",PJe=()=>"模型创建成功",oS=(e={},r={})=>{if((p??r.locale??n())==="zh")return PJe(e);return RJe(e)};var TJe=()=>"Model deleted successfully",AJe=()=>"模型删除成功",sS=(e={},r={})=>{if((p??r.locale??n())==="zh")return AJe(e);return TJe(e)};var EJe=()=>"Model ID",DJe=()=>"模型 ID",gg=(e={},r={})=>{if((p??r.locale??n())==="zh")return DJe(e);return EJe(e)};var OJe=()=>"Model ID already exists for this provider",NJe=()=>"此提供商已存在该模型 ID",iS=(e={},r={})=>{if((p??r.locale??n())==="zh")return NJe(e);return OJe(e)};var FJe=()=>"e.g., gpt-4o, claude-3-5-sonnet-20241022",jJe=()=>"例如:gpt-4o, claude-3-5-sonnet-20241022",aS=(e={},r={})=>{if((p??r.locale??n())==="zh")return jJe(e);return FJe(e)};var BJe=()=>"Model is required",UJe=()=>"模型为必填项",lS=(e={},r={})=>{if((p??r.locale??n())==="zh")return UJe(e);return BJe(e)};var YJe=()=>"e.g., GPT-4o",qJe=()=>"例如:GPT-4o",cS=(e={},r={})=>{if((p??r.locale??n())==="zh")return qJe(e);return YJe(e)};var HJe=()=>"Model updated successfully",VJe=()=>"模型更新成功",uS=(e={},r={})=>{if((p??r.locale??n())==="zh")return VJe(e);return HJe(e)};var WJe=()=>"Models",GJe=()=>"模型列表",Rd=(e={},r={})=>{if((p??r.locale??n())==="zh")return GJe(e);return WJe(e)};var KJe=()=>"Models Configuration",XJe=()=>"模型配置",dS=(e={},r={})=>{if((p??r.locale??n())==="zh")return XJe(e);return KJe(e)};var QJe=()=>"More options",JJe=()=>"更多选项",hp=(e={},r={})=>{if((p??r.locale??n())==="zh")return JJe(e);return QJe(e)};var $Je=()=>"Move to",e$e=()=>"移动到",Ag=(e={},r={})=>{if((p??r.locale??n())==="zh")return e$e(e);return $Je(e)};var t$e=(e)=>`Moving ${e?.count} item(s)`,r$e=(e)=>`正在移动 ${e?.count} 个项目`,fS=(e,r={})=>{if((p??r.locale??n())==="zh")return r$e(e);return t$e(e)};var o$e=()=>"MP4 Transcoding",a$e=()=>"MP4 转码",pS=(e={},r={})=>{if((p??r.locale??n())==="zh")return a$e(e);return o$e(e)};var n$e=()=>"Generate web-compatible MP4 files for file downloads and standard video playback.",i$e=()=>"生成适用于文件下载和标准视频播放的 Web 兼容 MP4 文件。",mS=(e={},r={})=>{if((p??r.locale??n())==="zh")return i$e(e);return n$e(e)};var f$e=()=>"Multi resolutions",s$e=()=>"多分辨率",hS=(e={},r={})=>{if((p??r.locale??n())==="zh")return s$e(e);return f$e(e)};var l$e=()=>"Generates selected resolutions up to the source quality.",c$e=()=>"生成选中的不超过源质量的分辨率。",gS=(e={},r={})=>{if((p??r.locale??n())==="zh")return c$e(e);return l$e(e)};var u$e=()=>"My Tasks",d$e=()=>"我的任务",AS=(e={},r={})=>{if((p??r.locale??n())==="zh")return d$e(e);return u$e(e)};var Z$e=(e)=>`${e?.count} Assets`,p$e=(e)=>`${e?.count} 个资源`,gp=(e,r={})=>{if((p??r.locale??n())==="zh")return p$e(e);return Z$e(e)};var m$e=(e)=>`${e?.count} assets selected`,h$e=(e)=>`已选择 ${e?.count} 个资产`,g$e=(e,r={})=>{if((p??r.locale??n())==="zh")return h$e(e);return m$e(e)};var M$e=(e)=>`${e?.count} Asset`,x$e=(e)=>`${e?.count} 个资源`,Ap=(e,r={})=>{if((p??r.locale??n())==="zh")return x$e(e);return M$e(e)};var v$e=(e)=>`${e?.count} days ago`,_$e=(e)=>`${e?.count} 天前`,lce=(e,r={})=>{if((p??r.locale??n())==="zh")return _$e(e);return v$e(e)};var y$e=(e)=>`${e?.count} day ago`,b$e=(e)=>`${e?.count} 天前`,cce=(e,r={})=>{if((p??r.locale??n())==="zh")return b$e(e);return y$e(e)};var w$e=(e)=>`${e?.count} days left before permanent deletion`,z$e=(e)=>`永久删除前还剩 ${e?.count} 天`,_g=(e,r={})=>{if((p??r.locale??n())==="zh")return z$e(e);return w$e(e)};var S$e=(e)=>`${e?.count} day left before permanent deletion`,L$e=(e)=>`永久删除前还剩 ${e?.count} 天`,yg=(e,r={})=>{if((p??r.locale??n())==="zh")return L$e(e);return S$e(e)};var k$e=(e)=>`${e?.count} Folders`,C$e=(e)=>`${e?.count} 个文件夹`,_p=(e,r={})=>{if((p??r.locale??n())==="zh")return C$e(e);return k$e(e)};var I$e=(e)=>`${e?.count} Folder`,R$e=(e)=>`${e?.count} 个文件夹`,yp=(e,r={})=>{if((p??r.locale??n())==="zh")return R$e(e);return I$e(e)};var P$e=(e)=>`${e?.count} Items`,T$e=(e)=>`${e?.count} 个项目`,bg=(e,r={})=>{if((p??r.locale??n())==="zh")return T$e(e);return P$e(e)};var A$e=(e)=>`${e?.count} Item`,E$e=(e)=>`${e?.count} 个项目`,vg=(e,r={})=>{if((p??r.locale??n())==="zh")return E$e(e);return A$e(e)};var D$e=(e)=>`${e?.count} Models`,O$e=(e)=>`${e?.count} 个模型`,_S=(e,r={})=>{if((p??r.locale??n())==="zh")return O$e(e);return D$e(e)};var N$e=(e)=>`${e?.count} tasks`,F$e=(e)=>`${e?.count} 个任务`,j$e=(e,r={})=>{if((p??r.locale??n())==="zh")return F$e(e);return N$e(e)};var B$e=(e)=>`${e?.count} task`,U$e=(e)=>`${e?.count} 个任务`,Y$e=(e,r={})=>{if((p??r.locale??n())==="zh")return U$e(e);return B$e(e)};var q$e=()=>"Name",H$e=()=>"名称",Ml=(e={},r={})=>{if((p??r.locale??n())==="zh")return H$e(e);return q$e(e)};var V$e=()=>"Name is required",W$e=()=>"名称为必填项",yS=(e={},r={})=>{if((p??r.locale??n())==="zh")return W$e(e);return V$e(e)};var G$e=()=>"John Doe",K$e=()=>"张三",bS=(e={},r={})=>{if((p??r.locale??n())==="zh")return K$e(e);return G$e(e)};var X$e=()=>"You need at least one project in your team to upload skills.",Q$e=()=>"您的团队中至少需要一个项目才能上传技能。",vS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Q$e(e);return X$e(e)};var J$e=()=>"Network Sandbox",$$e=()=>"网络沙箱",wS=(e={},r={})=>{if((p??r.locale??n())==="zh")return $$e(e);return J$e(e)};var eet=()=>"Configure domain access controls for the sandboxed agent.",tet=()=>"配置沙箱智能体的域名访问控制。",xS=(e={},r={})=>{if((p??r.locale??n())==="zh")return tet(e);return eet(e)};var ret=()=>"Network Sandbox is currently OFF. All outbound network requests from agent scripts are permitted without restrictions.",oet=()=>"网络沙箱目前处于关闭状态。智能体脚本的所有出站网络请求均不受限制。",SS=(e={},r={})=>{if((p??r.locale??n())==="zh")return oet(e);return ret(e)};var aet=()=>"When enabled, network requests from the agent are restricted to allowed domains. When disabled, all network requests are permitted.",net=()=>"启用后,智能体的网络请求将受限于允许的域名列表。禁用时,允许所有网络请求。",ES=(e={},r={})=>{if((p??r.locale??n())==="zh")return net(e);return aet(e)};var iet=()=>"New Chat",fet=()=>"开启新会话",wg=(e={},r={})=>{if((p??r.locale??n())==="zh")return fet(e);return iet(e)};var set=()=>"New Field",cet=()=>"新建字段",CS=(e={},r={})=>{if((p??r.locale??n())==="zh")return cet(e);return set(e)};var uet=()=>"New Field",det=()=>"新字段",IS=(e={},r={})=>{if((p??r.locale??n())==="zh")return det(e);return uet(e)};var Zet=()=>"New Folder",pet=()=>"新建文件夹",kl=(e={},r={})=>{if((p??r.locale??n())==="zh")return pet(e);return Zet(e)};var met=()=>"New Goal",het=()=>"新建目标",xg=(e={},r={})=>{if((p??r.locale??n())==="zh")return het(e);return met(e)};var get=()=>"New",Met=()=>"新建",TS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Met(e);return get(e)};var xet=()=>"New Option",vet=()=>"新选项",Pd=(e={},r={})=>{if((p??r.locale??n())==="zh")return vet(e);return xet(e)};var _et=()=>"New Password",yet=()=>"新密码",MS=(e={},r={})=>{if((p??r.locale??n())==="zh")return yet(e);return _et(e)};var bet=()=>"Enter new password",wet=()=>"输入新密码",kS=(e={},r={})=>{if((p??r.locale??n())==="zh")return wet(e);return bet(e)};var zet=()=>"Next file",Let=()=>"下一个文件",Sg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Let(e);return zet(e)};var ket=()=>"Next Page",Cet=()=>"下一页",RS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cet(e);return ket(e)};var Iet=()=>"Don't have an account? ",Ret=()=>"还没有账户?",Pet=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ret(e);return Iet(e)};var Tet=()=>"No activity recorded yet",Aet=()=>"暂无活动记录",Eet=(e={},r={})=>{if((p??r.locale??n())==="zh")return Aet(e);return Tet(e)};var Det=(e)=>`No ${e?.type} agents found`,Oet=(e)=>`未找到${e?.type}智能体`,PS=(e,r={})=>{if((p??r.locale??n())==="zh")return Oet(e);return Det(e)};var Net=()=>"No API tokens found. Generate one above to get started.",Fet=()=>"未找到 API 令牌。请在上方生成一个以开始使用。",NS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fet(e);return Net(e)};var jet=()=>"No assets in this folder",Bet=()=>"此文件夹中没有资产",Uet=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bet(e);return jet(e)};var Yet=()=>"No audit logs found",qet=()=>"未找到审计日志",DS=(e={},r={})=>{if((p??r.locale??n())==="zh")return qet(e);return Yet(e)};var Het=()=>"No chat agents found. Please create a Chat Agent below first.",Vet=()=>"未找到聊天智能体。请先在下方创建聊天智能体。",OS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vet(e);return Het(e)};var Wet=()=>"No collections created yet.",Get=()=>"暂无媒体合集。",FS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Get(e);return Wet(e)};var Ket=()=>"No comments yet",Xet=()=>"暂无评论",Eg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xet(e);return Ket(e)};var Qet=()=>"No custom domains allowed",Jet=()=>"没有自定义允许域名",LS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jet(e);return Qet(e)};var $et=()=>"No description provided.",ett=()=>"暂无描述。",Cg=(e={},r={})=>{if((p??r.locale??n())==="zh")return ett(e);return $et(e)};var ttt=()=>'No environment variables found. Click "Add Variable" to create one.',rtt=()=>'未找到环境变量。点击"添加变量"创建一个。',ZS=(e={},r={})=>{if((p??r.locale??n())==="zh")return rtt(e);return ttt(e)};var ott=()=>"No fields found",att=()=>"未找到字段",BS=(e={},r={})=>{if((p??r.locale??n())==="zh")return att(e);return ott(e)};var ntt=()=>"No folder selected",itt=()=>"未选择文件夹",ftt=(e={},r={})=>{if((p??r.locale??n())==="zh")return itt(e);return ntt(e)};var stt=()=>"No Folder Structure",ltt=()=>"无文件夹结构",Ig=(e={},r={})=>{if((p??r.locale??n())==="zh")return ltt(e);return stt(e)};var ctt=()=>"No goals yet",utt=()=>"暂无目标",US=(e={},r={})=>{if((p??r.locale??n())==="zh")return utt(e);return ctt(e)};var dtt=()=>"No chat history found.",Ztt=()=>"暂无历史会话记录",zS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ztt(e);return dtt(e)};var ptt=()=>"No item selected",mtt=()=>"未选择项目",jS=(e={},r={})=>{if((p??r.locale??n())==="zh")return mtt(e);return ptt(e)};var htt=()=>"No tasks linked to this asset",gtt=()=>"该资产暂无关联任务",Mtt=(e={},r={})=>{if((p??r.locale??n())==="zh")return gtt(e);return htt(e)};var xtt=()=>"No logs found for this session.",vtt=()=>"未找到此会话的日志。",qS=(e={},r={})=>{if((p??r.locale??n())==="zh")return vtt(e);return xtt(e)};var _tt=()=>"No matches found",ytt=()=>"未找到匹配结果",Tg=(e={},r={})=>{if((p??r.locale??n())==="zh")return ytt(e);return _tt(e)};var btt=()=>"No matching tasks found",wtt=()=>"未找到匹配的任务",uce=(e={},r={})=>{if((p??r.locale??n())==="zh")return wtt(e);return btt(e)};var ztt=()=>"No MCP servers configured",Stt=()=>"暂未配置 MCP 服务",Mg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Stt(e);return ztt(e)};var Ltt=()=>"No models found",ktt=()=>"未找到模型",Nd=(e={},r={})=>{if((p??r.locale??n())==="zh")return ktt(e);return Ltt(e)};var Ctt=()=>"No notifications",Itt=()=>"暂无通知",Rtt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Itt(e);return Ctt(e)};var Ptt=()=>"No options found",Ttt=()=>"未找到选项",kg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ttt(e);return Ptt(e)};var Att=()=>"No pending domains requiring approval",Ett=()=>"没有待审核的域名",HS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ett(e);return Att(e)};var Dtt=()=>"No project selected",Ott=()=>"未选择项目",dce=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ott(e);return Dtt(e)};var Ntt=()=>"No Providers Configured",Ftt=()=>"暂无已配置的提供商",$S=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ftt(e);return Ntt(e)};var jtt=()=>"No providers found",Btt=()=>"未找到提供商",GS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Btt(e);return jtt(e)};var Utt=()=>"Set limits on AI tokens, costs, skill executions, and agent tool calls to manage team usage.",Ytt=()=>"为 AI Token、费用、MCP 服务和智能体工具调用设置限制,以便管理团队的使用情况。",bp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ytt(e);return Utt(e)};var qtt=()=>"No resource quotas configured",Htt=()=>"暂未配置资源配额",vp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Htt(e);return qtt(e)};var Vtt=()=>"No recently viewed files",Wtt=()=>"暂无最近浏览文件",wp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wtt(e);return Vtt(e)};var Gtt=()=>"Files you view in this project will appear here.",Ktt=()=>"您在此项目中查看的文件将显示在此处。",xp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ktt(e);return Gtt(e)};var Xtt=()=>"No records matched your criteria",Qtt=()=>"没有记录匹配您的条件",VS=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qtt(e);return Xtt(e)};var Jtt=()=>"No related assets linked",$tt=()=>"暂无关联资产",ert=(e={},r={})=>{if((p??r.locale??n())==="zh")return $tt(e);return Jtt(e)};var trt=()=>"No sessions found",rrt=()=>"未找到会话",QS=(e={},r={})=>{if((p??r.locale??n())==="zh")return rrt(e);return trt(e)};var ort=()=>"No share links created yet.",art=()=>"暂无分享链接。",KS=(e={},r={})=>{if((p??r.locale??n())==="zh")return art(e);return ort(e)};var nrt=()=>"No skills available.",irt=()=>"暂无可用技能。",WS=(e={},r={})=>{if((p??r.locale??n())==="zh")return irt(e);return nrt(e)};var frt=()=>"No skills installed",srt=()=>"暂无已安装的技能",YS=(e={},r={})=>{if((p??r.locale??n())==="zh")return srt(e);return frt(e)};var lrt=()=>"No tasks in this column",crt=()=>"该列暂无任务",JS=(e={},r={})=>{if((p??r.locale??n())==="zh")return crt(e);return lrt(e)};var urt=()=>"No saved templates",drt=()=>"没有保存的模板",XS=(e={},r={})=>{if((p??r.locale??n())==="zh")return drt(e);return urt(e)};var Zrt=()=>"No tools found matching your search.",prt=()=>"未找到符合搜索条件的工具。",eE=(e={},r={})=>{if((p??r.locale??n())==="zh")return prt(e);return Zrt(e)};var mrt=()=>"Upload files in the project view to track progress here.",hrt=()=>"在项目视图中上传文件以在此处跟踪进度。",grt=(e={},r={})=>{if((p??r.locale??n())==="zh")return hrt(e);return mrt(e)};var Mrt=()=>"No uploads yet",xrt=()=>"暂无上传",vrt=(e={},r={})=>{if((p??r.locale??n())==="zh")return xrt(e);return Mrt(e)};var _rt=()=>"No versions found",yrt=()=>"暂无版本",brt=(e={},r={})=>{if((p??r.locale??n())==="zh")return yrt(e);return _rt(e)};var wrt=()=>"No watermark blocks added yet",zrt=()=>"尚未添加水印块",tE=(e={},r={})=>{if((p??r.locale??n())==="zh")return zrt(e);return wrt(e)};var Srt=()=>"No workflow tasks found",Lrt=()=>"未找到工作流任务",rE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lrt(e);return Srt(e)};var krt=()=>"Notification",Crt=()=>"通知",nE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Crt(e);return krt(e)};var Irt=(e)=>`${e?.creator} commented on ${e?.asset}`,Rrt=(e)=>`${e?.creator} 评论了 ${e?.asset}`,Prt=(e,r={})=>{if((p??r.locale??n())==="zh")return Rrt(e);return Irt(e)};var Trt=(e)=>`New notification from ${e?.creator}`,Art=(e)=>`来自 ${e?.creator} 的新通知`,Ert=(e,r={})=>{if((p??r.locale??n())==="zh")return Art(e);return Trt(e)};var Drt=(e)=>`${e?.user} joined ${e?.project}`,Ort=(e)=>`${e?.user} 加入了 ${e?.project}`,Nrt=(e,r={})=>{if((p??r.locale??n())==="zh")return Ort(e);return Drt(e)};var Frt=(e)=>`${e?.user} joined ${e?.team}`,jrt=(e)=>`${e?.user} 加入了 ${e?.team}`,Brt=(e,r={})=>{if((p??r.locale??n())==="zh")return jrt(e);return Frt(e)};var Urt=(e)=>`${e?.creator} assigned you to task ${e?.task}`,Yrt=(e)=>`${e?.creator} 将任务 ${e?.task} 分配给了你`,qrt=(e,r={})=>{if((p??r.locale??n())==="zh")return Yrt(e);return Urt(e)};var Hrt=(e)=>`${e?.creator} commented on task ${e?.task}`,Vrt=(e)=>`${e?.creator} 评论了任务 ${e?.task}`,Wrt=(e,r={})=>{if((p??r.locale??n())==="zh")return Vrt(e);return Hrt(e)};var Grt=(e)=>`${e?.creator} created task ${e?.task}`,Krt=(e)=>`${e?.creator} 创建了任务 ${e?.task}`,Xrt=(e,r={})=>{if((p??r.locale??n())==="zh")return Krt(e);return Grt(e)};var Qrt=(e)=>`${e?.creator} deleted task ${e?.task}`,Jrt=(e)=>`${e?.creator} 删除了任务 ${e?.task}`,$rt=(e,r={})=>{if((p??r.locale??n())==="zh")return Jrt(e);return Qrt(e)};var eot=(e)=>`${e?.creator} updated status of task ${e?.task}`,tot=(e)=>`${e?.creator} 更新了任务 ${e?.task} 的状态`,rot=(e,r={})=>{if((p??r.locale??n())==="zh")return tot(e);return eot(e)};var oot=(e)=>`${e?.creator} updated task ${e?.task}`,aot=(e)=>`${e?.creator} 更新了任务 ${e?.task}`,not=(e,r={})=>{if((p??r.locale??n())==="zh")return aot(e);return oot(e)};var iot=(e)=>`${e?.creator} mentioned you in ${e?.asset}`,fot=(e)=>`${e?.creator} 在 ${e?.asset} 中提及了你`,sot=(e,r={})=>{if((p??r.locale??n())==="zh")return fot(e);return iot(e)};var lot=(e)=>`${e?.creator} mentioned you in task ${e?.task}`,cot=(e)=>`${e?.creator} 在任务 ${e?.task} 中提及了你`,uot=(e,r={})=>{if((p??r.locale??n())==="zh")return cot(e);return lot(e)};var dot=(e)=>`${e?.creator} replied to a comment on ${e?.asset}`,Zot=(e)=>`${e?.creator} 回复了 ${e?.asset} 上的评论`,pot=(e,r={})=>{if((p??r.locale??n())==="zh")return Zot(e);return dot(e)};var mot=()=>"Notification Settings",hot=()=>"通知设置",oE=(e={},r={})=>{if((p??r.locale??n())==="zh")return hot(e);return mot(e)};var got=()=>"Notification settings updated",Mot=()=>"通知设置已更新",sE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mot(e);return got(e)};var xot=(e)=>`${e?.creator} updated status of ${e?.asset}`,vot=(e)=>`${e?.creator} 更新了 ${e?.asset} 的状态`,_ot=(e,r={})=>{if((p??r.locale??n())==="zh")return vot(e);return xot(e)};var yot=(e)=>`${e?.creator} uploaded ${e?.asset} to ${e?.project}`,bot=(e)=>`${e?.creator} 将 ${e?.asset} 上传到 ${e?.project}`,wot=(e,r={})=>{if((p??r.locale??n())==="zh")return bot(e);return yot(e)};var zot=()=>"Notifications",Sot=()=>"通知",Rg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Sot(e);return zot(e)};var Lot=()=>"Configure your personal notification preferences for this team.",kot=()=>"配置您在此团队的个人通知偏好。",iE=(e={},r={})=>{if((p??r.locale??n())==="zh")return kot(e);return Lot(e)};var Cot=()=>"Only team owners can access the dashboard.",Iot=()=>"只有团队所有者才能访问仪表盘。",aE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Iot(e);return Cot(e)};var Rot=()=>"Only .zip files are supported.",Pot=()=>"仅支持 .zip 文件。",lE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Pot(e);return Rot(e)};var Tot=()=>"Opacity",Aot=()=>"透明度",cE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Aot(e);return Tot(e)};var Eot=()=>"Open a supported file to add markup",Dot=()=>"打开支持的文件以添加标注",uE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dot(e);return Eot(e)};var Oot=()=>"Open Share Link",Not=()=>"打开分享链接",dE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Not(e);return Oot(e)};var Fot=()=>"Operator",jot=()=>"运算符",fE=(e={},r={})=>{if((p??r.locale??n())==="zh")return jot(e);return Fot(e)};var Bot=()=>"contains",Uot=()=>"包含",pE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Uot(e);return Bot(e)};var Yot=()=>"does not contain",qot=()=>"不包含",mE=(e={},r={})=>{if((p??r.locale??n())==="zh")return qot(e);return Yot(e)};var Hot=()=>"has all of",Vot=()=>"含有全部",hE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vot(e);return Hot(e)};var Wot=()=>"has any of",Got=()=>"含有其中之一",gE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Got(e);return Wot(e)};var Kot=()=>"has none of",Xot=()=>"不含有其中任何",AE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xot(e);return Kot(e)};var Qot=()=>"is",Jot=()=>"是",Rl=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jot(e);return Qot(e)};var $ot=()=>"is after",eat=()=>"在之后",_E=(e={},r={})=>{if((p??r.locale??n())==="zh")return eat(e);return $ot(e)};var tat=()=>"is any of",rat=()=>"是其中之一",yE=(e={},r={})=>{if((p??r.locale??n())==="zh")return rat(e);return tat(e)};var oat=()=>"is before",aat=()=>"在之前",bE=(e={},r={})=>{if((p??r.locale??n())==="zh")return aat(e);return oat(e)};var nat=()=>"is empty",iat=()=>"为空",Pl=(e={},r={})=>{if((p??r.locale??n())==="zh")return iat(e);return nat(e)};var fat=()=>"is exactly",sat=()=>"完全匹配",vE=(e={},r={})=>{if((p??r.locale??n())==="zh")return sat(e);return fat(e)};var lat=()=>"is none of",cat=()=>"不在其中",wE=(e={},r={})=>{if((p??r.locale??n())==="zh")return cat(e);return lat(e)};var uat=()=>"is not",dat=()=>"不是",Dd=(e={},r={})=>{if((p??r.locale??n())==="zh")return dat(e);return uat(e)};var Zat=()=>"is not empty",pat=()=>"不为空",Nl=(e={},r={})=>{if((p??r.locale??n())==="zh")return pat(e);return Zat(e)};var mat=()=>"is on or after",hat=()=>"在当天或之后",xE=(e={},r={})=>{if((p??r.locale??n())==="zh")return hat(e);return mat(e)};var gat=()=>"is on or before",Mat=()=>"在当天或之前",SE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mat(e);return gat(e)};var xat=()=>"is within",vat=()=>"在范围内",EE=(e={},r={})=>{if((p??r.locale??n())==="zh")return vat(e);return xat(e)};var _at=()=>"Option name",yat=()=>"选项名称",Sp=(e={},r={})=>{if((p??r.locale??n())==="zh")return yat(e);return _at(e)};var bat=()=>"Optional default value...",wat=()=>"可选默认值...",CE=(e={},r={})=>{if((p??r.locale??n())==="zh")return wat(e);return bat(e)};var zat=()=>"Options",Sat=()=>"选项",Od=(e={},r={})=>{if((p??r.locale??n())==="zh")return Sat(e);return zat(e)};var Lat=()=>"OR",kat=()=>"或",Pg=(e={},r={})=>{if((p??r.locale??n())==="zh")return kat(e);return Lat(e)};var Cat=()=>"Order",Iat=()=>"顺序",Ep=(e={},r={})=>{if((p??r.locale??n())==="zh")return Iat(e);return Cat(e)};var Rat=()=>"Original",Pat=()=>"原始",La=(e={},r={})=>{if((p??r.locale??n())==="zh")return Pat(e);return Rat(e)};var Tat=()=>"Other Uploads",Aat=()=>"其他上传",IE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Aat(e);return Tat(e)};var Eat=()=>"Output",Dat=()=>"输出结果",TE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dat(e);return Eat(e)};var Oat=()=>"Output Cost (1M)",Nat=()=>"输出成本(每百万)",ME=(e={},r={})=>{if((p??r.locale??n())==="zh")return Nat(e);return Oat(e)};var Fat=()=>"Output Tokens",jat=()=>"输出 Token",Ng=(e={},r={})=>{if((p??r.locale??n())==="zh")return jat(e);return Fat(e)};var Bat=()=>"Override the default endpoint.",Uat=()=>"覆盖默认端点。",Dg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Uat(e);return Bat(e)};var Yat=()=>"Do you want to override the existing skill?",qat=()=>"你想覆盖现有技能吗?",kE=(e={},r={})=>{if((p??r.locale??n())==="zh")return qat(e);return Yat(e)};var Hat=()=>"Overwrite Existing Template",Vat=()=>"覆盖现有模板",Og=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vat(e);return Hat(e)};var Wat=()=>"Owner",Gat=()=>"管理员",eu=(e={},r={})=>{if((p??r.locale??n())==="zh")return Gat(e);return Wat(e)};var Kat=()=>"Package Upload",Xat=()=>"包上传",RE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xat(e);return Kat(e)};var Qat=()=>"Packages must contain a SKILL.md",Jat=()=>"包必须包含 SKILL.md",PE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jat(e);return Qat(e)};var $at=(e)=>`Page ${e?.current} of ${e?.total}`,ent=(e)=>`第 ${e?.current} / ${e?.total} 页`,NE=(e,r={})=>{if((p??r.locale??n())==="zh")return ent(e);return $at(e)};var tnt=(e)=>`Page ${e?.page}`,rnt=(e)=>`第 ${e?.page} 页`,Fg=(e,r={})=>{if((p??r.locale??n())==="zh")return rnt(e);return tnt(e)};var ont=()=>"Parameters",ant=()=>"参数",DE=(e={},r={})=>{if((p??r.locale??n())==="zh")return ant(e);return ont(e)};var nnt=()=>"Parent Tasks",int=()=>"前置任务",Lg=(e={},r={})=>{if((p??r.locale??n())==="zh")return int(e);return nnt(e)};var fnt=()=>"Password",snt=()=>"密码",Cp=(e={},r={})=>{if((p??r.locale??n())==="zh")return snt(e);return fnt(e)};var lnt=()=>"Password is required",cnt=()=>"密码为必填项",unt=(e={},r={})=>{if((p??r.locale??n())==="zh")return cnt(e);return lnt(e)};var dnt=()=>"Password must be at least 3 characters",Znt=()=>"密码至少需要 3 个字符",Ip=(e={},r={})=>{if((p??r.locale??n())==="zh")return Znt(e);return dnt(e)};var pnt=()=>"At least 3 characters",mnt=()=>"至少 3 个字符",hnt=(e={},r={})=>{if((p??r.locale??n())==="zh")return mnt(e);return pnt(e)};var gnt=()=>"Your password",Mnt=()=>"请输入密码",xnt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mnt(e);return gnt(e)};var vnt=()=>"Password Protected",_nt=()=>"密码保护",OE=(e={},r={})=>{if((p??r.locale??n())==="zh")return _nt(e);return vnt(e)};var ynt=()=>"Password reset successfully!",bnt=()=>"密码重置成功!",FE=(e={},r={})=>{if((p??r.locale??n())==="zh")return bnt(e);return ynt(e)};var wnt=()=>"You will be redirected to the login page shortly.",znt=()=>"您将很快被重定向到登录页面。",LE=(e={},r={})=>{if((p??r.locale??n())==="zh")return znt(e);return wnt(e)};var Snt=()=>"Passwords do not match",Lnt=()=>"两次输入的密码不一致",ZE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lnt(e);return Snt(e)};var knt=()=>"Payload",Cnt=()=>"负载数据",BE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cnt(e);return knt(e)};var Int=()=>"Pending Domain Approvals",Rnt=()=>"待审核域名",UE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rnt(e);return Int(e)};var Pnt=()=>"These domains were blocked during agent execution. You can approve them to allow future network requests, or delete them from this list.",Tnt=()=>"这些域名在智能体执行期间被阻止。您可以批准它们以允许将来的网络请求,或从此列表中删除它们。",zE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tnt(e);return Pnt(e)};var Ant=()=>"All Users",Ent=()=>"所有成员",Za=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ent(e);return Ant(e)};var Dnt=()=>"Owner & Editor",Ont=()=>"管理员与编辑",Ba=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ont(e);return Dnt(e)};var Nnt=()=>"Owner Only",Fnt=()=>"仅管理员",Ua=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fnt(e);return Nnt(e)};var jnt=()=>"Personal Info",Bnt=()=>"个人信息",jE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bnt(e);return jnt(e)};var Unt=()=>"Manage your profile name and avatar image.",Ynt=()=>"管理您的个人资料名称和头像图片。",qE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ynt(e);return Unt(e)};var qnt=()=>"Personal Settings",Hnt=()=>"个人设置",HE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hnt(e);return qnt(e)};var Vnt=()=>"Playback Speed",Wnt=()=>"播放速度",$E=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wnt(e);return Vnt(e)};var Gnt=()=>"Position and resize",Knt=()=>"定位和调整大小",GE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Knt(e);return Gnt(e)};var Xnt=()=>"Position X (%)",Qnt=()=>"水平位置 (%)",VE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qnt(e);return Xnt(e)};var Jnt=()=>"Position Y (%)",$nt=()=>"垂直位置 (%)",QE=(e={},r={})=>{if((p??r.locale??n())==="zh")return $nt(e);return Jnt(e)};var eit=()=>"Preparing...",tit=()=>"准备中...",KE=(e={},r={})=>{if((p??r.locale??n())==="zh")return tit(e);return eit(e)};var rit=()=>"Preparing Download",oit=()=>"正在准备下载",Zg=(e={},r={})=>{if((p??r.locale??n())==="zh")return oit(e);return rit(e)};var ait=()=>"Preparing download links...",nit=()=>"正在准备下载链接...",Bg=(e={},r={})=>{if((p??r.locale??n())==="zh")return nit(e);return ait(e)};var iit=()=>"Preset Avatar Option",fit=()=>"预设头像选项",WE=(e={},r={})=>{if((p??r.locale??n())==="zh")return fit(e);return iit(e)};var sit=()=>"Previous file",lit=()=>"上一个文件",Ug=(e={},r={})=>{if((p??r.locale??n())==="zh")return lit(e);return sit(e)};var cit=()=>"Previous Page",uit=()=>"上一页",Tp=(e={},r={})=>{if((p??r.locale??n())==="zh")return uit(e);return cit(e)};var dit=()=>"Pricing ($ per 1M tokens)",Zit=()=>"计费(每百万令牌美元)",YE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zit(e);return dit(e)};var pit=()=>"High",mit=()=>"高",hit=(e={},r={})=>{if((p??r.locale??n())==="zh")return mit(e);return pit(e)};var git=()=>"Low",Mit=()=>"低",xit=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mit(e);return git(e)};var vit=()=>"Medium",_it=()=>"中",yit=(e={},r={})=>{if((p??r.locale??n())==="zh")return _it(e);return vit(e)};var bit=()=>"Urgent",wit=()=>"紧急",zit=(e={},r={})=>{if((p??r.locale??n())==="zh")return wit(e);return bit(e)};var Sit=()=>"Processing...",Lit=()=>"处理中...",JE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lit(e);return Sit(e)};var kit=()=>"Processing failed",Cit=()=>"处理失败",zg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cit(e);return kit(e)};var Iit=()=>"(Processing failed)",Rit=()=>"(处理失败)",XE=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rit(e);return Iit(e)};var Pit=()=>"Processing package...",Tit=()=>"正在处理包...",eC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tit(e);return Pit(e)};var Ait=()=>"Profile updated successfully",Eit=()=>"个人资料更新成功",jg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Eit(e);return Ait(e)};var Dit=()=>"project",Oit=()=>"项目",tC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Oit(e);return Dit(e)};var Nit=()=>"Project Cover",Fit=()=>"项目封面",rC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fit(e);return Nit(e)};var jit=()=>"Project ID",Bit=()=>"项目 ID",qg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bit(e);return jit(e)};var Uit=()=>"Project Member",Yit=()=>"项目成员",Mp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Yit(e);return Uit(e)};var qit=()=>"Project-scoped member roles are managed within individual project settings",Hit=()=>"项目成员的角色需在具体的项目设置中管理",nC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hit(e);return qit(e)};var Vit=()=>"Project Members",Wit=()=>"项目成员",oC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wit(e);return Vit(e)};var Git=()=>"Project Name",Kit=()=>"项目名称",Fd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kit(e);return Git(e)};var Xit=()=>"A clear, concise name to identify your project space.",Qit=()=>"简洁明了的名称,用于标识您的项目空间。",sC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qit(e);return Xit(e)};var Jit=()=>"e.g. Acme Marketing, Q3 Product Launch...",$it=()=>"例如:品牌营销、第三季度产品发布...",iC=(e={},r={})=>{if((p??r.locale??n())==="zh")return $it(e);return Jit(e)};var eft=()=>"Project notification settings updated",tft=()=>"项目通知设置已更新",aC=(e={},r={})=>{if((p??r.locale??n())==="zh")return tft(e);return eft(e)};var rft=()=>"Project Preferences",oft=()=>"项目偏好设置",lC=(e={},r={})=>{if((p??r.locale??n())==="zh")return oft(e);return rft(e)};var aft=()=>"Project Settings",nft=()=>"项目设置",Hg=(e={},r={})=>{if((p??r.locale??n())==="zh")return nft(e);return aft(e)};var ift=()=>"Projects",fft=()=>"项目",cC=(e={},r={})=>{if((p??r.locale??n())==="zh")return fft(e);return ift(e)};var sft=()=>"Please provide your name and email to add a comment.",lft=()=>"请提供您的姓名和邮箱以添加评论。",uC=(e={},r={})=>{if((p??r.locale??n())==="zh")return lft(e);return sft(e)};var cft=()=>"Provider",uft=()=>"提供商",dC=(e={},r={})=>{if((p??r.locale??n())==="zh")return uft(e);return cft(e)};var dft=()=>"Provider created successfully",Zft=()=>"提供商创建成功",fC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zft(e);return dft(e)};var pft=()=>"Provider deleted successfully",mft=()=>"提供商删除成功",pC=(e={},r={})=>{if((p??r.locale??n())==="zh")return mft(e);return pft(e)};var hft=()=>"Provider is required",gft=()=>"提供商为必填项",mC=(e={},r={})=>{if((p??r.locale??n())==="zh")return gft(e);return hft(e)};var Mft=()=>"Provider Name",xft=()=>"提供商名称",$g=(e={},r={})=>{if((p??r.locale??n())==="zh")return xft(e);return Mft(e)};var vft=()=>"Provider name is required",_ft=()=>"提供商名称为必填项",Gg=(e={},r={})=>{if((p??r.locale??n())==="zh")return _ft(e);return vft(e)};var yft=()=>"Provider name must be unique",bft=()=>"提供商名称必须唯一",Vg=(e={},r={})=>{if((p??r.locale??n())==="zh")return bft(e);return yft(e)};var wft=()=>"e.g., My OpenAI",zft=()=>"例如:我的 OpenAI",Qg=(e={},r={})=>{if((p??r.locale??n())==="zh")return zft(e);return wft(e)};var Sft=()=>"This provider is not configured. Configure an API key in the API Key tab before using these models.",Lft=()=>"此提供商尚未配置。在使用这些模型前,请在 API 密钥标签页中配置密钥。",hC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lft(e);return Sft(e)};var kft=()=>"Configured (Custom)",Cft=()=>"已配置(自定义)",Kg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cft(e);return kft(e)};var Ift=()=>"Configured (Environment)",Rft=()=>"已配置(环境变量)",Wg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rft(e);return Ift(e)};var Pft=()=>"Not Configured",Tft=()=>"未配置",Yg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tft(e);return Pft(e)};var Aft=()=>"Provider updated successfully",Eft=()=>"提供商更新成功",Jg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Eft(e);return Aft(e)};var Dft=()=>"Providers",Oft=()=>"提供商",gC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Oft(e);return Dft(e)};var Nft=()=>"Configure AI providers and their models for this team.",Fft=()=>"为此团队配置 AI 提供商及其模型。",AC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fft(e);return Nft(e)};var jft=()=>"Public Link",Bft=()=>"公开链接",_C=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bft(e);return jft(e)};var Uft=()=>"Quality",Yft=()=>"画质",Xg=(e={},r={})=>{if((p??r.locale??n())==="zh")return Yft(e);return Uft(e)};var qft=()=>"Auto",Hft=()=>"自动",Dl=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hft(e);return qft(e)};var Vft=()=>"Querying database...",Wft=()=>"正在查询数据库...",yC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wft(e);return Vft(e)};var Gft=()=>"Quota available",Kft=()=>"配额可用",eA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kft(e);return Gft(e)};var Xft=()=>"Supports wildcards (*). Examples: git *, npm test, curl *, python script.py (use * for all commands)",Qft=()=>"支持通配符 (*)。示例:git *、npm test、curl *、python script.py(使用 * 匹配所有命令)",bC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qft(e);return Xft(e)};var Jft=()=>"Collapse quota rule",$ft=()=>"收起配额规则",vC=(e={},r={})=>{if((p??r.locale??n())==="zh")return $ft(e);return Jft(e)};var est=()=>"Quota rule created successfully",tst=()=>"配额规则创建成功",wC=(e={},r={})=>{if((p??r.locale??n())==="zh")return tst(e);return est(e)};var rst=()=>"Monitor live quota usage and reset individual usage windows.",ost=()=>"在仪表盘中监控实时配额使用情况,并重置单个使用窗口。",xC=(e={},r={})=>{if((p??r.locale??n())==="zh")return ost(e);return rst(e)};var ast=()=>"Quota rule deleted successfully",nst=()=>"配额规则删除成功",tA=(e={},r={})=>{if((p??r.locale??n())==="zh")return nst(e);return ast(e)};var ist=()=>"Disabled",fst=()=>"已禁用",kp=(e={},r={})=>{if((p??r.locale??n())==="zh")return fst(e);return ist(e)};var sst=()=>"Enabled",lst=()=>"已启用",SC=(e={},r={})=>{if((p??r.locale??n())==="zh")return lst(e);return sst(e)};var cst=()=>"Expand quota rule",ust=()=>"展开配额规则",EC=(e={},r={})=>{if((p??r.locale??n())==="zh")return ust(e);return cst(e)};var dst=()=>"Limit",Zst=()=>"上限",CC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zst(e);return dst(e)};var pst=()=>"e.g. 100000",mst=()=>"例如 100000",IC=(e={},r={})=>{if((p??r.locale??n())==="zh")return mst(e);return pst(e)};var hst=()=>"No usage records found",gst=()=>"暂无使用记录",TC=(e={},r={})=>{if((p??r.locale??n())==="zh")return gst(e);return hst(e)};var Mst=()=>"Period Window",xst=()=>"周期窗口",MC=(e={},r={})=>{if((p??r.locale??n())==="zh")return xst(e);return Mst(e)};var vst=()=>"1 Day",_st=()=>"1 天",Rp=(e={},r={})=>{if((p??r.locale??n())==="zh")return _st(e);return vst(e)};var yst=()=>"1 Hour",bst=()=>"1 小时",Pp=(e={},r={})=>{if((p??r.locale??n())==="zh")return bst(e);return yst(e)};var wst=()=>"5 Hours",zst=()=>"5 小时",Np=(e={},r={})=>{if((p??r.locale??n())==="zh")return zst(e);return wst(e)};var Sst=()=>"7 Days",Lst=()=>"7 天",Dp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lst(e);return Sst(e)};var kst=(e)=>`Refreshes in ${e?.time}`,Cst=(e)=>`${e?.time} 后重置`,rA=(e,r={})=>{if((p??r.locale??n())==="zh")return Cst(e);return kst(e)};var Ist=()=>"Remaining",Rst=()=>"剩余额度",kC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rst(e);return Ist(e)};var Pst=()=>"Quota usage reset successfully",Tst=()=>"配额使用量重置成功",RC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tst(e);return Pst(e)};var Ast=()=>"Reset Usage",Est=()=>"重置使用量",nA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Est(e);return Ast(e)};var Dst=(e)=>`Reset usage for ${e?.target}? Consumption will be cleared and a new quota window will start now.`,Ost=(e)=>`确定要重置 ${e?.target} 的使用量吗?当前消耗将被清零,并立即开始新的配额周期。`,PC=(e,r={})=>{if((p??r.locale??n())==="zh")return Ost(e);return Dst(e)};var Nst=()=>"Resource",Fst=()=>"资源类型",NC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fst(e);return Nst(e)};var jst=()=>"Agent Bash Calls",Bst=()=>"智能体 Bash 执行次数",Ld=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bst(e);return jst(e)};var Ust=()=>"AI Cost ($)",Yst=()=>"AI 费用 ($)",Zd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Yst(e);return Ust(e)};var qst=()=>"MCP Server Calls",Hst=()=>"MCP 服务调用次数",Bd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hst(e);return qst(e)};var Vst=()=>"Agent Tool Calls",Wst=()=>"智能体工具调用次数",Ud=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wst(e);return Vst(e)};var Gst=()=>"AI Tokens",Kst=()=>"AI Token 总量",zd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kst(e);return Gst(e)};var Xst=()=>"Role Shared Pool",Qst=()=>"角色共享配额池",DC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qst(e);return Xst(e)};var Jst=()=>"Scope",$st=()=>"范围",OC=(e={},r={})=>{if((p??r.locale??n())==="zh")return $st(e);return Jst(e)};var elt=()=>"Target Mode",tlt=()=>"目标模式",FC=(e={},r={})=>{if((p??r.locale??n())==="zh")return tlt(e);return elt(e)};var rlt=()=>"All Members",olt=()=>"所有成员",jd=(e={},r={})=>{if((p??r.locale??n())==="zh")return olt(e);return rlt(e)};var alt=()=>"Shared pooled limit across all matching members",nlt=()=>"所有符合条件的成员共同享有总配额上限",LC=(e={},r={})=>{if((p??r.locale??n())==="zh")return nlt(e);return alt(e)};var ilt=()=>"Each Member",flt=()=>"每个成员",qd=(e={},r={})=>{if((p??r.locale??n())==="zh")return flt(e);return ilt(e)};var slt=()=>"Individual limit for each matching member",llt=()=>"为每个符合条件的成员分别设定独立的配额上限",ZC=(e={},r={})=>{if((p??r.locale??n())==="zh")return llt(e);return slt(e)};var clt=()=>"Selected Members",ult=()=>"指定成员",Hd=(e={},r={})=>{if((p??r.locale??n())==="zh")return ult(e);return clt(e)};var dlt=()=>"Individual limit for selected users",Zlt=()=>"为选定的成员分别设定独立的配额上限",BC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zlt(e);return dlt(e)};var plt=()=>"Role-based",mlt=()=>"按角色",Op=(e={},r={})=>{if((p??r.locale??n())==="zh")return mlt(e);return plt(e)};var hlt=()=>"Entire Team",glt=()=>"整个团队",Ol=(e={},r={})=>{if((p??r.locale??n())==="zh")return glt(e);return hlt(e)};var Mlt=()=>"Search members...",xlt=()=>"搜索成员...",Fp=(e={},r={})=>{if((p??r.locale??n())==="zh")return xlt(e);return Mlt(e)};var vlt=(e)=>`${e?.count} members selected`,_lt=(e)=>`已选择 ${e?.count} 位成员`,UC=(e,r={})=>{if((p??r.locale??n())==="zh")return _lt(e);return vlt(e)};var ylt=()=>"Quota status updated",blt=()=>"配额状态已更新",zC=(e={},r={})=>{if((p??r.locale??n())==="zh")return blt(e);return ylt(e)};var wlt=(e)=>`Match: ${e?.value}`,zlt=(e)=>`匹配:${e?.value}`,jC=(e,r={})=>{if((p??r.locale??n())==="zh")return zlt(e);return wlt(e)};var Slt=(e)=>`Server: ${e?.value}`,Llt=(e)=>`服务:${e?.value}`,qC=(e,r={})=>{if((p??r.locale??n())==="zh")return Llt(e);return Slt(e)};var klt=(e)=>`Tool: ${e?.value}`,Clt=(e)=>`工具:${e?.value}`,HC=(e,r={})=>{if((p??r.locale??n())==="zh")return Clt(e);return klt(e)};var Ilt=()=>"Team Shared Pool",Rlt=()=>"团队共享配额池",$C=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rlt(e);return Ilt(e)};var Plt=()=>"Select a specific agent tool to configure its quota limit",Tlt=()=>"选择特定的智能体工具以配置其配额限制",GC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tlt(e);return Plt(e)};var Alt=()=>"Quota rule updated successfully",Elt=()=>"配额规则更新成功",VC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Elt(e);return Alt(e)};var Dlt=()=>"Quotas",Olt=()=>"配额",$d=(e={},r={})=>{if((p??r.locale??n())==="zh")return Olt(e);return Dlt(e)};var Nlt=(e)=>`${e?.others} reacted with ${e?.emoji}`,Flt=(e)=>`${e?.others} 回应了 ${e?.emoji}`,QC=(e,r={})=>{if((p??r.locale??n())==="zh")return Flt(e);return Nlt(e)};var jlt=(e)=>`You reacted with ${e?.emoji}`,Blt=(e)=>`你回应了 ${e?.emoji}`,KC=(e,r={})=>{if((p??r.locale??n())==="zh")return Blt(e);return jlt(e)};var Ult=(e)=>`You and ${e?.others} reacted with ${e?.emoji}`,Ylt=(e)=>`你和 ${e?.others} 回应了 ${e?.emoji}`,WC=(e,r={})=>{if((p??r.locale??n())==="zh")return Ylt(e);return Ult(e)};var qlt=()=>"Ready to Search",Hlt=()=>"准备搜索",YC=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hlt(e);return qlt(e)};var Vlt=()=>"Reasoning Support",Wlt=()=>"推理支持",Lp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wlt(e);return Vlt(e)};var Glt=()=>"Recently Deleted",Klt=()=>"最近删除",oA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Klt(e);return Glt(e)};var Xlt=()=>"Items are automatically deleted after 30 days.",Qlt=()=>"项目将在 30 天后自动删除。",Zp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qlt(e);return Xlt(e)};var Jlt=()=>"Recently Viewed",$lt=()=>"最近浏览",sA=(e={},r={})=>{if((p??r.locale??n())==="zh")return $lt(e);return Jlt(e)};var ect=()=>"This page displays the 100 most recent files you viewed in this project.",tct=()=>"此页面显示您最近在当前项目中查看过的 100 个文件。",JC=(e={},r={})=>{if((p??r.locale??n())==="zh")return tct(e);return ect(e)};var rct=()=>"Refresh Tasks",oct=()=>"刷新任务",XC=(e={},r={})=>{if((p??r.locale??n())==="zh")return oct(e);return rct(e)};var act=()=>"Registration Disabled",nct=()=>"注册已关闭",ict=(e={},r={})=>{if((p??r.locale??n())==="zh")return nct(e);return act(e)};var fct=()=>"Public registration is currently disabled. You will need an invite code to join this team.",sct=()=>"公开注册目前已关闭。您需要邀请码才能加入此团队。",lct=(e={},r={})=>{if((p??r.locale??n())==="zh")return sct(e);return fct(e)};var cct=()=>"Related Assets",uct=()=>"关联资产",dct=(e={},r={})=>{if((p??r.locale??n())==="zh")return uct(e);return cct(e)};var Zct=()=>"Remove",pct=()=>"移除",Fl=(e={},r={})=>{if((p??r.locale??n())==="zh")return pct(e);return Zct(e)};var mct=()=>"Remove Cover",hct=()=>"移除封面",eI=(e={},r={})=>{if((p??r.locale??n())==="zh")return hct(e);return mct(e)};var gct=()=>"Remove from context",Mct=()=>"从上下文中移除",tI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mct(e);return gct(e)};var xct=()=>"Remove from Share",vct=()=>"从分享中移除",Bp=(e={},r={})=>{if((p??r.locale??n())==="zh")return vct(e);return xct(e)};var _ct=()=>"Remove from stack",yct=()=>"从版本堆栈中移除",bct=(e={},r={})=>{if((p??r.locale??n())==="zh")return yct(e);return _ct(e)};var wct=()=>"Remove Member",zct=()=>"移除成员",rI=(e={},r={})=>{if((p??r.locale??n())==="zh")return zct(e);return wct(e)};var Sct=(e)=>`Are you sure you want to remove ${e?.name} from this ${e?.type}? This action cannot be undone.`,Lct=(e)=>`确定要从此${e?.type}中移除 ${e?.name} 吗?此操作无法撤销。`,nI=(e,r={})=>{if((p??r.locale??n())==="zh")return Lct(e);return Sct(e)};var kct=()=>"Removed from share",Cct=()=>"已从分享中移除",oI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cct(e);return kct(e)};var Ict=()=>"Rename",Rct=()=>"重命名",Zo=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rct(e);return Ict(e)};var Pct=()=>"Rename Collection",Tct=()=>"重命名媒体合集",Act=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tct(e);return Pct(e)};var Ect=()=>"Rename Folder",Dct=()=>"重命名文件夹",Oct=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dct(e);return Ect(e)};var Nct=()=>"Rename Share Link",Fct=()=>"重命名分享链接",jct=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fct(e);return Nct(e)};var Bct=()=>"Renamed successfully",Uct=()=>"重命名成功",sI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Uct(e);return Bct(e)};var Yct=()=>"Reply",qct=()=>"回复",iI=(e={},r={})=>{if((p??r.locale??n())==="zh")return qct(e);return Yct(e)};var Hct=()=>"Reply...",Vct=()=>"回复...",aI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vct(e);return Hct(e)};var Wct=(e)=>`reply to: ${e?.message}`,Gct=(e)=>`回复:${e?.message}`,lI=(e,r={})=>{if((p??r.locale??n())==="zh")return Gct(e);return Wct(e)};var Kct=()=>"Reporter / Reviewer",Xct=()=>"报告人 / 审核人",iA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xct(e);return Kct(e)};var Qct=()=>"Reset",Jct=()=>"重置",cI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jct(e);return Qct(e)};var $ct=()=>"Reset Password",eut=()=>"重置密码",aA=(e={},r={})=>{if((p??r.locale??n())==="zh")return eut(e);return $ct(e)};var tut=()=>"Enter your new password below.",rut=()=>"请在下方输入您的新密码。",uI=(e={},r={})=>{if((p??r.locale??n())==="zh")return rut(e);return tut(e)};var out=()=>"Resetting password...",aut=()=>"正在重置密码...",dI=(e={},r={})=>{if((p??r.locale??n())==="zh")return aut(e);return out(e)};var nut=()=>"Resolving all files and folders. Please wait...",iut=()=>"正在解析所有文件和文件夹,请稍候...",lA=(e={},r={})=>{if((p??r.locale??n())==="zh")return iut(e);return nut(e)};var fut=()=>"Resource Quotas",sut=()=>"资源配额",cA=(e={},r={})=>{if((p??r.locale??n())==="zh")return sut(e);return fut(e)};var lut=()=>"Manage and limit resource usage across team members, roles, and AI operations.",cut=()=>"管理并限制团队成员、角色以及 AI 操作的资源使用。",uA=(e={},r={})=>{if((p??r.locale??n())==="zh")return cut(e);return lut(e)};var uut=()=>"Restore",dut=()=>"恢复",Up=(e={},r={})=>{if((p??r.locale??n())==="zh")return dut(e);return uut(e)};var Zut=()=>"Reviewer",put=()=>"评审员",Vs=(e={},r={})=>{if((p??r.locale??n())==="zh")return put(e);return Zut(e)};var mut=()=>"Role",hut=()=>"角色",fI=(e={},r={})=>{if((p??r.locale??n())==="zh")return hut(e);return mut(e)};var gut=()=>"Agent",Mut=()=>"智能体",pI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mut(e);return gut(e)};var xut=()=>"Thinking",vut=()=>"思考中",zp=(e={},r={})=>{if((p??r.locale??n())==="zh")return vut(e);return xut(e)};var _ut=()=>"User",yut=()=>"用户",dA=(e={},r={})=>{if((p??r.locale??n())==="zh")return yut(e);return _ut(e)};var but=()=>"Rotation",wut=()=>"旋转角度",mI=(e={},r={})=>{if((p??r.locale??n())==="zh")return wut(e);return but(e)};var zut=()=>"Configure security and network restrictions for the AI agent.",Sut=()=>"配置 AI 智能体的安全和网络限制。",hI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Sut(e);return zut(e)};var Lut=()=>"Sandbox settings updated",kut=()=>"沙箱设置已更新",gI=(e={},r={})=>{if((p??r.locale??n())==="zh")return kut(e);return Lut(e)};var Cut=()=>"Save",Iut=()=>"保存",Kn=(e={},r={})=>{if((p??r.locale??n())==="zh")return Iut(e);return Cut(e)};var Rut=()=>"Save & Send Test Email",Put=()=>"保存并发送测试邮件",AI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Put(e);return Rut(e)};var Tut=()=>"Save as collection",Aut=()=>"保存为媒体合集",_I=(e={},r={})=>{if((p??r.locale??n())==="zh")return Aut(e);return Tut(e)};var Eut=()=>"Save Changes",Dut=()=>"保存更改",Qs=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dut(e);return Eut(e)};var Out=()=>"Save Watermark",Nut=()=>"保存水印",yI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Nut(e);return Out(e)};var Fut=()=>"Saved",jut=()=>"已保存",fA=(e={},r={})=>{if((p??r.locale??n())==="zh")return jut(e);return Fut(e)};var But=()=>"Saving...",Uut=()=>"保存中...",pA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Uut(e);return But(e)};var Yut=()=>"Saving...",qut=()=>"保存中...",jp=(e={},r={})=>{if((p??r.locale??n())==="zh")return qut(e);return Yut(e)};var Hut=()=>"Search",Vut=()=>"搜索",bI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vut(e);return Hut(e)};var Wut=()=>"Search",Gut=()=>"搜索",vI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Gut(e);return Wut(e)};var Kut=()=>"Search records by content...",Xut=()=>"按内容搜索记录...",wI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xut(e);return Kut(e)};var Qut=()=>"Search records by name...",Jut=()=>"按名称搜索记录...",xI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jut(e);return Qut(e)};var $ut=()=>"Search",edt=()=>"搜索",SI=(e={},r={})=>{if((p??r.locale??n())==="zh")return edt(e);return $ut(e)};var tdt=()=>"Search emoji",rdt=()=>"搜索表情",EI=(e={},r={})=>{if((p??r.locale??n())==="zh")return rdt(e);return tdt(e)};var odt=()=>"Search failed",adt=()=>"搜索失败",mA=(e={},r={})=>{if((p??r.locale??n())==="zh")return adt(e);return odt(e)};var ndt=()=>"Search fields",idt=()=>"搜索字段",CI=(e={},r={})=>{if((p??r.locale??n())==="zh")return idt(e);return ndt(e)};var fdt=()=>"Search Item ID...",sdt=()=>"搜索条目 ID...",II=(e={},r={})=>{if((p??r.locale??n())==="zh")return sdt(e);return fdt(e)};var ldt=()=>"Search models by ID or name...",cdt=()=>"按 ID 或名称搜索模型...",qp=(e={},r={})=>{if((p??r.locale??n())==="zh")return cdt(e);return ldt(e)};var udt=()=>"Search options...",ddt=()=>"搜索选项...",hA=(e={},r={})=>{if((p??r.locale??n())==="zh")return ddt(e);return udt(e)};var Zdt=()=>"Search providers...",pdt=()=>"搜索提供商...",gA=(e={},r={})=>{if((p??r.locale??n())==="zh")return pdt(e);return Zdt(e)};var mdt=()=>"Search Results",hdt=()=>"搜索结果",TI=(e={},r={})=>{if((p??r.locale??n())==="zh")return hdt(e);return mdt(e)};var gdt=()=>"Search tasks...",Mdt=()=>"搜索任务...",xdt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mdt(e);return gdt(e)};var vdt=()=>"Security",_dt=()=>"安全",MI=(e={},r={})=>{if((p??r.locale??n())==="zh")return _dt(e);return vdt(e)};var ydt=()=>"Select a Team",bdt=()=>"选择团队",wdt=(e={},r={})=>{if((p??r.locale??n())==="zh")return bdt(e);return ydt(e)};var zdt=()=>"Select Actions",Sdt=()=>"选择操作",kI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Sdt(e);return zdt(e)};var Ldt=()=>"Select Agent",kdt=()=>"选择智能体",Gd=(e={},r={})=>{if((p??r.locale??n())==="zh")return kdt(e);return Ldt(e)};var Cdt=()=>"Select API Protocol",Idt=()=>"选择 API 协议",AA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Idt(e);return Cdt(e)};var Rdt=()=>"Select an asset to view details",Pdt=()=>"选择资产查看详情",RI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Pdt(e);return Rdt(e)};var Tdt=()=>"Select Assets",Adt=()=>"选择资产",Edt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Adt(e);return Tdt(e)};var Ddt=()=>"Select a block to edit its properties",Odt=()=>"选择一个水印块以编辑其属性",PI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Odt(e);return Ddt(e)};var Ndt=()=>"Select Current Folder",Fdt=()=>"选择当前文件夹",jdt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fdt(e);return Ndt(e)};var Bdt=()=>"Select field",Udt=()=>"选择字段",NI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Udt(e);return Bdt(e)};var Ydt=()=>"Select a field to edit options",qdt=()=>"选择一个字段以编辑选项",DI=(e={},r={})=>{if((p??r.locale??n())==="zh")return qdt(e);return Ydt(e)};var Hdt=()=>"Select field type",Vdt=()=>"选择字段类型",OI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vdt(e);return Hdt(e)};var Wdt=()=>"Select a file to view its details and comments.",Gdt=()=>"选择一个文件以查看其详情和评论。",FI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Gdt(e);return Wdt(e)};var Kdt=()=>"Select Language",Xdt=()=>"选择语言",LI=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xdt(e);return Kdt(e)};var Qdt=()=>"Select MCP Server",Jdt=()=>"选择 MCP 服务",_A=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jdt(e);return Qdt(e)};var $dt=()=>"Select Members",eZt=()=>"选择成员",yA=(e={},r={})=>{if((p??r.locale??n())==="zh")return eZt(e);return $dt(e)};var tZt=()=>"Select Model",rZt=()=>"选择模型",ZI=(e={},r={})=>{if((p??r.locale??n())==="zh")return rZt(e);return tZt(e)};var oZt=()=>"Select option",aZt=()=>"选择选项",BI=(e={},r={})=>{if((p??r.locale??n())==="zh")return aZt(e);return oZt(e)};var nZt=()=>"Select options...",iZt=()=>"选择选项...",UI=(e={},r={})=>{if((p??r.locale??n())==="zh")return iZt(e);return nZt(e)};var fZt=()=>"Select parent tasks...",sZt=()=>"选择前置任务...",lZt=(e={},r={})=>{if((p??r.locale??n())==="zh")return sZt(e);return fZt(e)};var cZt=()=>"Select your preferred display language.",uZt=()=>"选择您首选的显示语言。",zI=(e={},r={})=>{if((p??r.locale??n())==="zh")return uZt(e);return cZt(e)};var dZt=()=>"Select Project",ZZt=()=>"选择项目",rH=(e={},r={})=>{if((p??r.locale??n())==="zh")return ZZt(e);return dZt(e)};var pZt=()=>"Select Provider",mZt=()=>"选择提供商",jI=(e={},r={})=>{if((p??r.locale??n())==="zh")return mZt(e);return pZt(e)};var hZt=()=>"Select Status",gZt=()=>"选择状态",qI=(e={},r={})=>{if((p??r.locale??n())==="zh")return gZt(e);return hZt(e)};var MZt=()=>"Select Target Folder",xZt=()=>"选择目标文件夹",Hp=(e={},r={})=>{if((p??r.locale??n())==="zh")return xZt(e);return MZt(e)};var vZt=()=>"You are a member of multiple teams. Please select one to continue.",_Zt=()=>"您是多个团队的成员,请选择一个以继续。",yZt=(e={},r={})=>{if((p??r.locale??n())==="zh")return _Zt(e);return vZt(e)};var bZt=()=>"Select template to overwrite",wZt=()=>"选择要覆盖的模板",bA=(e={},r={})=>{if((p??r.locale??n())==="zh")return wZt(e);return bZt(e)};var zZt=()=>"Select Tool",SZt=()=>"选择工具",vA=(e={},r={})=>{if((p??r.locale??n())==="zh")return SZt(e);return zZt(e)};var LZt=()=>"Select Type",kZt=()=>"选择类型",$p=(e={},r={})=>{if((p??r.locale??n())==="zh")return kZt(e);return LZt(e)};var CZt=()=>"Select User",IZt=()=>"选择用户",HI=(e={},r={})=>{if((p??r.locale??n())==="zh")return IZt(e);return CZt(e)};var RZt=()=>"Select Users",PZt=()=>"选择用户",$I=(e={},r={})=>{if((p??r.locale??n())==="zh")return PZt(e);return RZt(e)};var TZt=()=>"Select ZIP file",AZt=()=>"选择 ZIP 文件",GI=(e={},r={})=>{if((p??r.locale??n())==="zh")return AZt(e);return TZt(e)};var EZt=()=>"Semantic Search",DZt=()=>"语义搜索",VI=(e={},r={})=>{if((p??r.locale??n())==="zh")return DZt(e);return EZt(e)};var OZt=()=>"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.",NZt=()=>"语义搜索结果将按与搜索查询文本的相关性排序,但不会严格筛选。如果需要精确筛选,请添加筛选条件来控制。",QI=(e={},r={})=>{if((p??r.locale??n())==="zh")return NZt(e);return OZt(e)};var FZt=()=>"* Semantic search requires an enabled embedding agent.",jZt=()=>"* 语义搜索需要启用嵌入智能体。",KI=(e={},r={})=>{if((p??r.locale??n())==="zh")return jZt(e);return FZt(e)};var BZt=()=>"Semantic search using media intelligence might be slow...",UZt=()=>"使用媒体智能的语义搜索可能较慢...",WI=(e={},r={})=>{if((p??r.locale??n())==="zh")return UZt(e);return BZt(e)};var YZt=()=>"Send Test Email",qZt=()=>"发送测试邮件",wA=(e={},r={})=>{if((p??r.locale??n())==="zh")return qZt(e);return YZt(e)};var HZt=()=>`Sender email address, for example: "Shumai <noreply@example.com>". Make sure to use an address you're allowed to send emails from.`,VZt=()=>"发件人邮箱地址,例如:“Shumai <noreply@example.com>”。请确保使用您有权使用的邮箱地址进行发送。",YI=(e={},r={})=>{if((p??r.locale??n())==="zh")return VZt(e);return HZt(e)};var WZt=()=>"From Address",GZt=()=>"发件人地址",xA=(e={},r={})=>{if((p??r.locale??n())==="zh")return GZt(e);return WZt(e)};var KZt=()=>`Sender email address, for example: "Shumai <noreply@example.com>". Make sure to use an address you're allowed to send emails from.`,XZt=()=>"发件人邮箱地址,例如:“Shumai <noreply@example.com>”。请确保使用您有权使用的邮箱地址进行发送。",JI=(e={},r={})=>{if((p??r.locale??n())==="zh")return XZt(e);return KZt(e)};var QZt=()=>"Reply-To Address",JZt=()=>"回复地址",XI=(e={},r={})=>{if((p??r.locale??n())==="zh")return JZt(e);return QZt(e)};var $Zt=()=>"Optional address where replies to notifications should be directed.",ept=()=>"通知邮件回复时指向的可选邮箱地址。",eT=(e={},r={})=>{if((p??r.locale??n())==="zh")return ept(e);return $Zt(e)};var tpt=()=>"Sender Information",rpt=()=>"发件人信息",tT=(e={},r={})=>{if((p??r.locale??n())==="zh")return rpt(e);return tpt(e)};var opt=()=>"Session ID",apt=()=>"会话 ID",rT=(e={},r={})=>{if((p??r.locale??n())==="zh")return apt(e);return opt(e)};var npt=()=>"Session Name",ipt=()=>"会话名称",nT=(e={},r={})=>{if((p??r.locale??n())==="zh")return ipt(e);return npt(e)};var fpt=()=>"The session might have been initialized but has not produced any entries yet.",spt=()=>"该会话可能已初始化但尚未产生任何条目。",oT=(e={},r={})=>{if((p??r.locale??n())==="zh")return spt(e);return fpt(e)};var lpt=()=>"Session Type",cpt=()=>"会话类型",sT=(e={},r={})=>{if((p??r.locale??n())==="zh")return cpt(e);return lpt(e)};var upt=()=>"Chat",dpt=()=>"对话",iT=(e={},r={})=>{if((p??r.locale??n())==="zh")return dpt(e);return upt(e)};var Zpt=()=>"Comment",ppt=()=>"评论",aT=(e={},r={})=>{if((p??r.locale??n())==="zh")return ppt(e);return Zpt(e)};var mpt=()=>"Naming",hpt=()=>"命名",lT=(e={},r={})=>{if((p??r.locale??n())==="zh")return hpt(e);return mpt(e)};var gpt=()=>"Sessions",Mpt=()=>"会话列表",SA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mpt(e);return gpt(e)};var xpt=()=>"View and inspect all agent sessions created within the team.",vpt=()=>"查看并检查团队内创建的所有 Agent 会话。",cT=(e={},r={})=>{if((p??r.locale??n())==="zh")return vpt(e);return xpt(e)};var _pt=()=>"Set Role",ypt=()=>"设置角色",uT=(e={},r={})=>{if((p??r.locale??n())==="zh")return ypt(e);return _pt(e)};var bpt=()=>"Settings",wpt=()=>"设置",Gp=(e={},r={})=>{if((p??r.locale??n())==="zh")return wpt(e);return bpt(e)};var zpt=()=>"Settings updated",Spt=()=>"设置已更新",za=(e={},r={})=>{if((p??r.locale??n())==="zh")return Spt(e);return zpt(e)};var Lpt=()=>"share link",kpt=()=>"分享链接",Cpt=(e={},r={})=>{if((p??r.locale??n())==="zh")return kpt(e);return Lpt(e)};var Ipt=()=>"Share link created",Rpt=()=>"分享链接已创建",Ppt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rpt(e);return Ipt(e)};var Tpt=()=>"Share link deleted",Apt=()=>"分享链接已删除",Ept=(e={},r={})=>{if((p??r.locale??n())==="zh")return Apt(e);return Tpt(e)};var Dpt=()=>"Share link renamed",Opt=()=>"分享链接已重命名",Npt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Opt(e);return Dpt(e)};var Fpt=()=>"Share link status updated",jpt=()=>"分享链接状态已更新",dT=(e={},r={})=>{if((p??r.locale??n())==="zh")return jpt(e);return Fpt(e)};var Bpt=()=>"Share Links",Upt=()=>"分享链接",Ypt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Upt(e);return Bpt(e)};var qpt=()=>"Show Chatbot",Hpt=()=>"显示聊天机器人",Vpt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hpt(e);return qpt(e)};var Wpt=()=>"Shumai Agent",Gpt=()=>"数脉智能体",fT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Gpt(e);return Wpt(e)};var Kpt=()=>"Sign up",Xpt=()=>"注册",Zce=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xpt(e);return Kpt(e)};var Qpt=()=>"Signup failed",Jpt=()=>"注册失败",$pt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jpt(e);return Qpt(e)};var emt=()=>"Start building and organizing your space.",tmt=()=>"开始构建和整理您的空间。",rmt=(e={},r={})=>{if((p??r.locale??n())==="zh")return tmt(e);return emt(e)};var omt=()=>"Size",amt=()=>"大小",EA=(e={},r={})=>{if((p??r.locale??n())==="zh")return amt(e);return omt(e)};var nmt=()=>"Permission",imt=()=>"权限",Vp=(e={},r={})=>{if((p??r.locale??n())==="zh")return imt(e);return nmt(e)};var fmt=()=>"Skills",smt=()=>"技能",CA=(e={},r={})=>{if((p??r.locale??n())==="zh")return smt(e);return fmt(e)};var lmt=(e)=>`${e?.count} Skills`,cmt=(e)=>`${e?.count} 个技能`,pT=(e,r={})=>{if((p??r.locale??n())==="zh")return cmt(e);return lmt(e)};var umt=()=>"Add, update and configure AI skills for the team.",dmt=()=>"为团队添加、更新和配置 AI 技能。",mT=(e={},r={})=>{if((p??r.locale??n())==="zh")return dmt(e);return umt(e)};var Zmt=()=>"Skills Management",pmt=()=>"技能管理",IA=(e={},r={})=>{if((p??r.locale??n())==="zh")return pmt(e);return Zmt(e)};var mmt=()=>"Extend your chatbot's capabilities with custom skills.",hmt=()=>"使用自定义技能扩展聊天机器人的功能。",hT=(e={},r={})=>{if((p??r.locale??n())==="zh")return hmt(e);return mmt(e)};var gmt=()=>"SMTP Host",Mmt=()=>"SMTP 主机",gT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mmt(e);return gmt(e)};var xmt=()=>"e.g. smtp.example.com",vmt=()=>"例如 smtp.example.com",AT=(e={},r={})=>{if((p??r.locale??n())==="zh")return vmt(e);return xmt(e)};var _mt=()=>"SMTP Host is required",ymt=()=>"必须提供 SMTP 主机",_T=(e={},r={})=>{if((p??r.locale??n())==="zh")return ymt(e);return _mt(e)};var bmt=()=>"Ignore Certificate Errors",wmt=()=>"忽略证书错误",yT=(e={},r={})=>{if((p??r.locale??n())==="zh")return wmt(e);return bmt(e)};var zmt=()=>"Allow self-signed or unverified SSL/TLS certificates.",Smt=()=>"允许自签名或未验证的 SSL/TLS 证书。",bT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Smt(e);return zmt(e)};var Lmt=()=>"Password",kmt=()=>"密码",vT=(e={},r={})=>{if((p??r.locale??n())==="zh")return kmt(e);return Lmt(e)};var Cmt=()=>"•••••••• (Leave blank to keep current)",Imt=()=>"••••••••(留空以保持当前密码)",wT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Imt(e);return Cmt(e)};var Rmt=()=>"Enter SMTP password",Pmt=()=>"输入 SMTP 密码",xT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Pmt(e);return Rmt(e)};var Tmt=()=>"SMTP Port",Amt=()=>"SMTP 端口",ST=(e={},r={})=>{if((p??r.locale??n())==="zh")return Amt(e);return Tmt(e)};var Emt=()=>"SSL / TLS (SMTPS)",Dmt=()=>"SSL / TLS (SMTPS)",ET=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dmt(e);return Emt(e)};var Omt=()=>"Connect directly over SSL/TLS (commonly used with port 465).",Nmt=()=>"直接使用 SSL/TLS 连接(通常用于 465 端口)。",CT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Nmt(e);return Omt(e)};var Fmt=()=>"SMTP Server Settings",jmt=()=>"SMTP 服务器设置",IT=(e={},r={})=>{if((p??r.locale??n())==="zh")return jmt(e);return Fmt(e)};var Bmt=()=>"Username",Umt=()=>"用户名",TT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Umt(e);return Bmt(e)};var Ymt=()=>"e.g. user@example.com",qmt=()=>"例如 user@example.com",MT=(e={},r={})=>{if((p??r.locale??n())==="zh")return qmt(e);return Ymt(e)};var Hmt=()=>"Some downloads could not be started",Vmt=()=>"部分下载无法启动",Wmt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vmt(e);return Hmt(e)};var Gmt=()=>"A → Z",Kmt=()=>"A → Z",tu=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kmt(e);return Gmt(e)};var Xmt=()=>"Sort by",Qmt=()=>"排序",Ll=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qmt(e);return Xmt(e)};var Jmt=()=>"Created",$mt=()=>"创建时间",kT=(e={},r={})=>{if((p??r.locale??n())==="zh")return $mt(e);return Jmt(e)};var eht=()=>"Custom",tht=()=>"自定义",Qp=(e={},r={})=>{if((p??r.locale??n())==="zh")return tht(e);return eht(e)};var rht=()=>"Date Created",oht=()=>"创建日期",Kp=(e={},r={})=>{if((p??r.locale??n())==="zh")return oht(e);return rht(e)};var aht=()=>"Date Modified",nht=()=>"修改日期",RT=(e={},r={})=>{if((p??r.locale??n())==="zh")return nht(e);return aht(e)};var iht=()=>"Largest → Smallest",fht=()=>"最大 → 最小",Wp=(e={},r={})=>{if((p??r.locale??n())==="zh")return fht(e);return iht(e)};var sht=()=>"Name",lht=()=>"名称",Zl=(e={},r={})=>{if((p??r.locale??n())==="zh")return lht(e);return sht(e)};var cht=()=>"Newest → Oldest",uht=()=>"最新 → 最旧",ru=(e={},r={})=>{if((p??r.locale??n())==="zh")return uht(e);return cht(e)};var dht=()=>"Oldest → Newest",Zht=()=>"最旧 → 最新",nu=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zht(e);return dht(e)};var pht=()=>"Size",mht=()=>"大小",Yp=(e={},r={})=>{if((p??r.locale??n())==="zh")return mht(e);return pht(e)};var hht=()=>"Smallest → Largest",ght=()=>"最小 → 最大",Jp=(e={},r={})=>{if((p??r.locale??n())==="zh")return ght(e);return hht(e)};var Mht=()=>"Updated",xht=()=>"更新时间",PT=(e={},r={})=>{if((p??r.locale??n())==="zh")return xht(e);return Mht(e)};var vht=()=>"Z → A",_ht=()=>"Z → A",ou=(e={},r={})=>{if((p??r.locale??n())==="zh")return _ht(e);return vht(e)};var yht=(e)=>`Sorted by ${e?.field}`,bht=(e)=>`按${e?.field}排序`,NT=(e,r={})=>{if((p??r.locale??n())==="zh")return bht(e);return yht(e)};var wht=()=>"Sorted by",zht=()=>"排序方式",DT=(e={},r={})=>{if((p??r.locale??n())==="zh")return zht(e);return wht(e)};var Sht=()=>"Standard Time",Lht=()=>"标准时间",OT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lht(e);return Sht(e)};var kht=()=>"Start Date",Cht=()=>"开始日期",Vd=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cht(e);return kht(e)};var Iht=()=>"Start Download",Rht=()=>"开始下载",TA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rht(e);return Iht(e)};var Pht=(e)=>`Starting download of ${e?.count} files. Please allow multiple downloads if prompted by your browser.`,Tht=(e)=>`正在开始下载 ${e?.count} 个文件。如果浏览器提示,请允许多个下载。`,Aht=(e,r={})=>{if((p??r.locale??n())==="zh")return Tht(e);return Pht(e)};var Eht=()=>"Blocked",Dht=()=>"已受阻",MA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dht(e);return Eht(e)};var Oht=()=>"Done",Nht=()=>"已完成",Fht=(e={},r={})=>{if((p??r.locale??n())==="zh")return Nht(e);return Oht(e)};var jht=()=>"In Progress",Bht=()=>"进行中",Uht=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bht(e);return jht(e)};var Yht=()=>"In Review",qht=()=>"审核中",Hht=(e={},r={})=>{if((p??r.locale??n())==="zh")return qht(e);return Yht(e)};var Vht=()=>"Ready",Wht=()=>"就绪",Ght=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wht(e);return Vht(e)};var Kht=()=>"To Do",Xht=()=>"待办",Qht=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xht(e);return Kht(e)};var Jht=()=>"Status Updates",$ht=()=>"状态更新",FT=(e={},r={})=>{if((p??r.locale??n())==="zh")return $ht(e);return Jht(e)};var egt=()=>"Stop Task",tgt=()=>"停止任务",kA=(e={},r={})=>{if((p??r.locale??n())==="zh")return tgt(e);return egt(e)};var rgt=()=>"Are you sure you want to stop this task? Any ongoing processing will be cancelled.",ogt=()=>"确定要停止此任务吗?任何正在进行的处理都将被取消。",LT=(e={},r={})=>{if((p??r.locale??n())==="zh")return ogt(e);return rgt(e)};var agt=()=>"Stop Workflow Task",ngt=()=>"停止工作流任务",ZT=(e={},r={})=>{if((p??r.locale??n())==="zh")return ngt(e);return agt(e)};var igt=()=>"Stopping...",fgt=()=>"正在停止...",BT=(e={},r={})=>{if((p??r.locale??n())==="zh")return fgt(e);return igt(e)};var sgt=()=>"Switch version",lgt=()=>"切换版本",Qd=(e={},r={})=>{if((p??r.locale??n())==="zh")return lgt(e);return sgt(e)};var cgt=()=>"Sync Providers",ugt=()=>"同步提供商",UT=(e={},r={})=>{if((p??r.locale??n())==="zh")return ugt(e);return cgt(e)};var dgt=(e)=>`Add Selected (${e?.count})`,Zgt=(e)=>`添加所选 (${e?.count})`,zT=(e,r={})=>{if((p??r.locale??n())==="zh")return Zgt(e);return dgt(e)};var pgt=()=>"Adding...",mgt=()=>"正在添加...",jT=(e={},r={})=>{if((p??r.locale??n())==="zh")return mgt(e);return pgt(e)};var hgt=()=>"Checking for updates...",ggt=()=>"正在检查更新...",qT=(e={},r={})=>{if((p??r.locale??n())==="zh")return ggt(e);return hgt(e)};var Mgt=()=>"Collapse All",xgt=()=>"全部折叠",HT=(e={},r={})=>{if((p??r.locale??n())==="zh")return xgt(e);return Mgt(e)};var vgt=(e)=>`${e?.count}k ctx`,_gt=(e)=>`${e?.count}k 上下文`,$T=(e,r={})=>{if((p??r.locale??n())==="zh")return _gt(e);return vgt(e)};var ygt=()=>"Deselect All",bgt=()=>"取消全选",GT=(e={},r={})=>{if((p??r.locale??n())==="zh")return bgt(e);return ygt(e)};var wgt=()=>"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.",zgt=()=>"选择您希望添加的新提供商和模型。现有的提供商、自定义端点、API 密钥和模型配置绝不会被删除或修改。",VT=(e={},r={})=>{if((p??r.locale??n())==="zh")return zgt(e);return wgt(e)};var Sgt=()=>"Sync Providers & Models",Lgt=()=>"同步提供商与模型",QT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Lgt(e);return Sgt(e)};var kgt=()=>"Existing Provider",Cgt=()=>"现有提供商",KT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Cgt(e);return kgt(e)};var Igt=()=>"Expand All",Rgt=()=>"全部展开",WT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rgt(e);return Igt(e)};var Pgt=(e)=>`${e?.count} new models`,Tgt=(e)=>`${e?.count} 个新模型`,YT=(e,r={})=>{if((p??r.locale??n())==="zh")return Tgt(e);return Pgt(e)};var Agt=()=>"New Provider",Egt=()=>"新提供商",JT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Egt(e);return Agt(e)};var Dgt=()=>"reasoning",Ogt=()=>"深度思考",XT=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ogt(e);return Dgt(e)};var Ngt=()=>"Filter new providers or models...",Fgt=()=>"筛选新提供商或模型...",e1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fgt(e);return Ngt(e)};var jgt=()=>"Select All",Bgt=()=>"全选",t1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bgt(e);return jgt(e)};var Ugt=(e)=>`${e?.modelCount} models selected across ${e?.providerCount} providers`,Ygt=(e)=>`已选 ${e?.modelCount} 个模型,分布在 ${e?.providerCount} 个提供商中`,r1=(e,r={})=>{if((p??r.locale??n())==="zh")return Ygt(e);return Ugt(e)};var qgt=(e)=>`Successfully added ${e?.modelCount} models across ${e?.providerCount} providers.`,Hgt=(e)=>`已成功添加 ${e?.providerCount} 个提供商中的 ${e?.modelCount} 个模型。`,n1=(e,r={})=>{if((p??r.locale??n())==="zh")return Hgt(e);return qgt(e)};var Vgt=()=>"All providers and models are already up to date.",Wgt=()=>"所有提供商和模型均已是最新状态。",o1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wgt(e);return Vgt(e)};var Ggt=()=>"System",Kgt=()=>"跟随系统",Xgt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kgt(e);return Ggt(e)};var Qgt=()=>"Target Folder",Jgt=()=>"目标文件夹",Xp=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jgt(e);return Qgt(e)};var $gt=()=>"Task created",eMt=()=>"任务已创建",s1=(e={},r={})=>{if((p??r.locale??n())==="zh")return eMt(e);return $gt(e)};var tMt=()=>"Task deleted successfully",rMt=()=>"任务已成功删除",i1=(e={},r={})=>{if((p??r.locale??n())==="zh")return rMt(e);return tMt(e)};var oMt=()=>"Description",aMt=()=>"任务描述",RA=(e={},r={})=>{if((p??r.locale??n())==="zh")return aMt(e);return oMt(e)};var nMt=()=>"Add details, acceptance criteria, or context...",iMt=()=>"添加详细说明、验收标准或背景信息...",PA=(e={},r={})=>{if((p??r.locale??n())==="zh")return iMt(e);return nMt(e)};var fMt=()=>"Task Details",sMt=()=>"任务详情",a1=(e={},r={})=>{if((p??r.locale??n())==="zh")return sMt(e);return fMt(e)};var lMt=()=>"Task ID",cMt=()=>"任务 ID",NA=(e={},r={})=>{if((p??r.locale??n())==="zh")return cMt(e);return lMt(e)};var uMt=()=>"Priority",dMt=()=>"优先级",DA=(e={},r={})=>{if((p??r.locale??n())==="zh")return dMt(e);return uMt(e)};var ZMt=()=>"Status",pMt=()=>"状态",OA=(e={},r={})=>{if((p??r.locale??n())==="zh")return pMt(e);return ZMt(e)};var mMt=()=>"Workflow task has been stopped.",hMt=()=>"工作流任务已停止。",l1=(e={},r={})=>{if((p??r.locale??n())==="zh")return hMt(e);return mMt(e)};var gMt=()=>"Task Title",MMt=()=>"任务标题",FA=(e={},r={})=>{if((p??r.locale??n())==="zh")return MMt(e);return gMt(e)};var xMt=()=>"What needs to be done?",vMt=()=>"需要完成什么任务?",LA=(e={},r={})=>{if((p??r.locale??n())==="zh")return vMt(e);return xMt(e)};var _Mt=()=>"Task Type",yMt=()=>"任务类型",ZA=(e={},r={})=>{if((p??r.locale??n())==="zh")return yMt(e);return _Mt(e)};var bMt=()=>"Agent Task",wMt=()=>"智能体任务",Kd=(e={},r={})=>{if((p??r.locale??n())==="zh")return wMt(e);return bMt(e)};var zMt=()=>"Executed autonomously by an AI agent",SMt=()=>"由 AI 智能体自主执行",BA=(e={},r={})=>{if((p??r.locale??n())==="zh")return SMt(e);return zMt(e)};var LMt=()=>"team",kMt=()=>"团队",Wd=(e={},r={})=>{if((p??r.locale??n())==="zh")return kMt(e);return LMt(e)};var CMt=()=>"Team AI Settings",IMt=()=>"团队 AI 设置",c1=(e={},r={})=>{if((p??r.locale??n())==="zh")return IMt(e);return CMt(e)};var RMt=()=>"Team Attributes",PMt=()=>"团队属性",u1=(e={},r={})=>{if((p??r.locale??n())==="zh")return PMt(e);return RMt(e)};var TMt=()=>"Team",AMt=()=>"团队",d1=(e={},r={})=>{if((p??r.locale??n())==="zh")return AMt(e);return TMt(e)};var EMt=()=>"Team Member",DMt=()=>"团队成员",em=(e={},r={})=>{if((p??r.locale??n())==="zh")return DMt(e);return EMt(e)};var OMt=()=>"Team Members",NMt=()=>"团队成员",f1=(e={},r={})=>{if((p??r.locale??n())==="zh")return NMt(e);return OMt(e)};var FMt=()=>"Team Settings",jMt=()=>"团队设置",p1=(e={},r={})=>{if((p??r.locale??n())==="zh")return jMt(e);return FMt(e)};var BMt=()=>"Team Tasks",UMt=()=>"团队任务",m1=(e={},r={})=>{if((p??r.locale??n())==="zh")return UMt(e);return BMt(e)};var YMt=()=>"Team",qMt=()=>"团队",h1=(e={},r={})=>{if((p??r.locale??n())==="zh")return qMt(e);return YMt(e)};var HMt=()=>"Template deleted successfully",VMt=()=>"模板删除成功",g1=(e={},r={})=>{if((p??r.locale??n())==="zh")return VMt(e);return HMt(e)};var WMt=()=>"Template Name",GMt=()=>"模板名称",A1=(e={},r={})=>{if((p??r.locale??n())==="zh")return GMt(e);return WMt(e)};var KMt=()=>"Template saved successfully",XMt=()=>"模板保存成功",_1=(e={},r={})=>{if((p??r.locale??n())==="zh")return XMt(e);return KMt(e)};var QMt=()=>"Template updated successfully",JMt=()=>"模板更新成功",y1=(e={},r={})=>{if((p??r.locale??n())==="zh")return JMt(e);return QMt(e)};var $Mt=()=>"Test email sent successfully",e8t=()=>"测试邮件发送成功",b1=(e={},r={})=>{if((p??r.locale??n())==="zh")return e8t(e);return $Mt(e)};var t8t=()=>"Text Content",r8t=()=>"文本内容",v1=(e={},r={})=>{if((p??r.locale??n())==="zh")return r8t(e);return t8t(e)};var o8t=()=>"Theme",a8t=()=>"主题",n8t=(e={},r={})=>{if((p??r.locale??n())==="zh")return a8t(e);return o8t(e)};var i8t=()=>"Disable",f8t=()=>"禁用",w1=(e={},r={})=>{if((p??r.locale??n())==="zh")return f8t(e);return i8t(e)};var s8t=()=>"High",l8t=()=>"高",x1=(e={},r={})=>{if((p??r.locale??n())==="zh")return l8t(e);return s8t(e)};var c8t=()=>"Thinking Level",u8t=()=>"思考级别",S1=(e={},r={})=>{if((p??r.locale??n())==="zh")return u8t(e);return c8t(e)};var d8t=()=>"Low",Z8t=()=>"低",E1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Z8t(e);return d8t(e)};var p8t=()=>"Medium",m8t=()=>"中",C1=(e={},r={})=>{if((p??r.locale??n())==="zh")return m8t(e);return p8t(e)};var h8t=()=>"Thinking...",g8t=()=>"思考中...",I1=(e={},r={})=>{if((p??r.locale??n())==="zh")return g8t(e);return h8t(e)};var M8t=()=>"This folder is empty",x8t=()=>"此文件夹为空",tm=(e={},r={})=>{if((p??r.locale??n())==="zh")return x8t(e);return M8t(e)};var v8t=()=>"Auto",_8t=()=>"自动",UA=(e={},r={})=>{if((p??r.locale??n())==="zh")return _8t(e);return v8t(e)};var y8t=(e)=>`${e?.count} threads`,b8t=(e)=>`${e?.count} 线程`,T1=(e,r={})=>{if((p??r.locale??n())==="zh")return b8t(e);return y8t(e)};var w8t=()=>"Timecode",z8t=()=>"时间码",M1=(e={},r={})=>{if((p??r.locale??n())==="zh")return z8t(e);return w8t(e)};var S8t=()=>"Timestamp",L8t=()=>"时间戳",k1=(e={},r={})=>{if((p??r.locale??n())==="zh")return L8t(e);return S8t(e)};var k8t=()=>"Today",C8t=()=>"今天",pce=(e={},r={})=>{if((p??r.locale??n())==="zh")return C8t(e);return k8t(e)};var I8t=(e)=>`Today ${e?.time}`,R8t=(e)=>`今天 ${e?.time}`,P8t=(e,r={})=>{if((p??r.locale??n())==="zh")return R8t(e);return I8t(e)};var T8t=()=>"Toggle Annotation",A8t=()=>"切换标注",R1=(e={},r={})=>{if((p??r.locale??n())==="zh")return A8t(e);return T8t(e)};var E8t=()=>"Checked",D8t=()=>"已选中",P1=(e={},r={})=>{if((p??r.locale??n())==="zh")return D8t(e);return E8t(e)};var O8t=()=>"Unchecked",N8t=()=>"未选中",N1=(e={},r={})=>{if((p??r.locale??n())==="zh")return N8t(e);return O8t(e)};var F8t=()=>"Token",j8t=()=>"令牌",D1=(e={},r={})=>{if((p??r.locale??n())==="zh")return j8t(e);return F8t(e)};var B8t=()=>"Token Name",U8t=()=>"令牌名称",O1=(e={},r={})=>{if((p??r.locale??n())==="zh")return U8t(e);return B8t(e)};var Y8t=()=>"e.g. My CLI token",q8t=()=>"例如:我的 CLI 令牌",F1=(e={},r={})=>{if((p??r.locale??n())==="zh")return q8t(e);return Y8t(e)};var H8t=()=>"tokens",V8t=()=>"令牌",zA=(e={},r={})=>{if((p??r.locale??n())==="zh")return V8t(e);return H8t(e)};var W8t=()=>"Tokens",G8t=()=>"Token",L1=(e={},r={})=>{if((p??r.locale??n())==="zh")return G8t(e);return W8t(e)};var K8t=()=>"Arguments",X8t=()=>"参数",rm=(e={},r={})=>{if((p??r.locale??n())==="zh")return X8t(e);return K8t(e)};var Q8t=()=>"Parameters",J8t=()=>"参数列表",Z1=(e={},r={})=>{if((p??r.locale??n())==="zh")return J8t(e);return Q8t(e)};var $8t=(e)=>`Tool Result: ${e?.name}`,ext=(e)=>`工具结果:${e?.name}`,nm=(e,r={})=>{if((p??r.locale??n())==="zh")return ext(e);return $8t(e)};var txt=()=>"Total Tokens",rxt=()=>"总 Token",jA=(e={},r={})=>{if((p??r.locale??n())==="zh")return rxt(e);return txt(e)};var oxt=()=>"Transcode Policy",axt=()=>"转码策略",B1=(e={},r={})=>{if((p??r.locale??n())==="zh")return axt(e);return oxt(e)};var nxt=()=>"When HLS is disabled, both playback and download use MP4. When HLS is enabled, playback uses HLS streaming while download uses MP4. Note that enabling HLS may significantly increase storage usage.",ixt=()=>"未启用 HLS 时,播放和下载均使用 MP4。启用 HLS 后,播放将使用 HLS 自适应流,而下载使用 MP4。请注意,启用 HLS 可能会显著增加存储空间占用。",U1=(e={},r={})=>{if((p??r.locale??n())==="zh")return ixt(e);return nxt(e)};var fxt=()=>"Transcoding Failed",sxt=()=>"转码失败",z1=(e={},r={})=>{if((p??r.locale??n())==="zh")return sxt(e);return fxt(e)};var lxt=()=>"Trash emptied successfully",cxt=()=>"回收站已清空",j1=(e={},r={})=>{if((p??r.locale??n())==="zh")return cxt(e);return lxt(e)};var uxt=(e)=>`Try adjusting your search for "${e?.query}"`,dxt=(e)=>`请尝试调整搜索 "${e?.query}"`,q1=(e,r={})=>{if((p??r.locale??n())==="zh")return dxt(e);return uxt(e)};var Zxt=()=>"Try adjusting spelling or removing filter rows.",pxt=()=>"请尝试调整拼写或移除筛选条件。",H1=(e={},r={})=>{if((p??r.locale??n())==="zh")return pxt(e);return Zxt(e)};var mxt=()=>"Connection failed",hxt=()=>"连接失败",Yd=(e={},r={})=>{if((p??r.locale??n())==="zh")return hxt(e);return mxt(e)};var gxt=()=>"Connected successfully",Mxt=()=>"连接成功",qA=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mxt(e);return gxt(e)};var xxt=()=>"Configured via environment variables (Read-only)",vxt=()=>"已通过环境变量配置(只读)",$1=(e={},r={})=>{if((p??r.locale??n())==="zh")return vxt(e);return xxt(e)};var _xt=()=>"Password",yxt=()=>"密码",G1=(e={},r={})=>{if((p??r.locale??n())==="zh")return yxt(e);return _xt(e)};var bxt=()=>"Leave blank to keep existing password",wxt=()=>"留空以保留当前密码",V1=(e={},r={})=>{if((p??r.locale??n())==="zh")return wxt(e);return bxt(e)};var zxt=()=>"Server URL",Sxt=()=>"服务地址",Q1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Sxt(e);return zxt(e)};var Lxt=()=>"e.g. http://localhost:3001",kxt=()=>"例如 http://localhost:3001",K1=(e={},r={})=>{if((p??r.locale??n())==="zh")return kxt(e);return Lxt(e)};var Cxt=()=>"3D Turntable Renderer",Ixt=()=>"3D 转盘渲染服务",W1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ixt(e);return Cxt(e)};var Rxt=()=>"Configure the external Blender turntable-renderer service for generating 3D asset previews and videos.",Pxt=()=>"配置用于生成 3D 资产预览图与转盘视频的外部 Blender 渲染服务。",Y1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Pxt(e);return Rxt(e)};var Txt=()=>"Test Connection",Axt=()=>"测试连接",J1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Axt(e);return Txt(e)};var Ext=()=>"Testing...",Dxt=()=>"正在测试...",X1=(e={},r={})=>{if((p??r.locale??n())==="zh")return Dxt(e);return Ext(e)};var Oxt=()=>"Username",Nxt=()=>"用户名",eM=(e={},r={})=>{if((p??r.locale??n())==="zh")return Nxt(e);return Oxt(e)};var Fxt=()=>"Type a message...",jxt=()=>"输入消息...",tM=(e={},r={})=>{if((p??r.locale??n())==="zh")return jxt(e);return Fxt(e)};var Bxt=()=>"Type **delete** to confirm:",Uxt=()=>"输入 **delete** 以确认:",rM=(e={},r={})=>{if((p??r.locale??n())==="zh")return Uxt(e);return Bxt(e)};var Yxt=()=>"Type:",qxt=()=>"类型:",nM=(e={},r={})=>{if((p??r.locale??n())==="zh")return qxt(e);return Yxt(e)};var Hxt=()=>"Type your query above and click the Search button to display results.",Vxt=()=>"在上方输入查询内容并点击搜索按钮以显示结果。",oM=(e={},r={})=>{if((p??r.locale??n())==="zh")return Vxt(e);return Hxt(e)};var Wxt=()=>"Unassigned",Gxt=()=>"未指派",vs=(e={},r={})=>{if((p??r.locale??n())==="zh")return Gxt(e);return Wxt(e)};var Kxt=()=>"Unknown",Xxt=()=>"未知",Sn=(e={},r={})=>{if((p??r.locale??n())==="zh")return Xxt(e);return Kxt(e)};var Qxt=()=>"unknown asset",Jxt=()=>"未知资源",$xt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Jxt(e);return Qxt(e)};var evt=()=>"Unknown Date",tvt=()=>"未知日期",rvt=(e={},r={})=>{if((p??r.locale??n())==="zh")return tvt(e);return evt(e)};var ovt=()=>"unknown project",avt=()=>"未知项目",nvt=(e={},r={})=>{if((p??r.locale??n())==="zh")return avt(e);return ovt(e)};var ivt=()=>"unknown task",fvt=()=>"未知任务",svt=(e={},r={})=>{if((p??r.locale??n())==="zh")return fvt(e);return ivt(e)};var lvt=()=>"unknown team",cvt=()=>"未知团队",uvt=(e={},r={})=>{if((p??r.locale??n())==="zh")return cvt(e);return lvt(e)};var dvt=()=>"Unknown User",Zvt=()=>"未知用户",Bl=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zvt(e);return dvt(e)};var pvt=()=>"Unlink Asset",mvt=()=>"取消关联资产",hvt=(e={},r={})=>{if((p??r.locale??n())==="zh")return mvt(e);return pvt(e)};var gvt=()=>"Unlink Task",Mvt=()=>"取消关联",xvt=(e={},r={})=>{if((p??r.locale??n())==="zh")return Mvt(e);return gvt(e)};var vvt=()=>"Unread",_vt=()=>"未读",yvt=(e={},r={})=>{if((p??r.locale??n())==="zh")return _vt(e);return vvt(e)};var bvt=()=>"Untitled Collection",wvt=()=>"未命名媒体合集",HA=(e={},r={})=>{if((p??r.locale??n())==="zh")return wvt(e);return bvt(e)};var zvt=()=>"Untitled Session",Svt=()=>"未命名会话",om=(e={},r={})=>{if((p??r.locale??n())==="zh")return Svt(e);return zvt(e)};var Lvt=()=>"Untitled Upload",kvt=()=>"未命名上传",Cvt=(e={},r={})=>{if((p??r.locale??n())==="zh")return kvt(e);return Lvt(e)};var Ivt=()=>"Updated",Rvt=()=>"更新于",sM=(e={},r={})=>{if((p??r.locale??n())==="zh")return Rvt(e);return Ivt(e)};var Pvt=()=>"Updated At",Tvt=()=>"更新时间",iM=(e={},r={})=>{if((p??r.locale??n())==="zh")return Tvt(e);return Pvt(e)};var Avt=()=>"Updated",Evt=()=>"更新于",$A=(e={},r={})=>{if((p??r.locale??n())==="zh")return Evt(e);return Avt(e)};var Dvt=()=>"Upload",Ovt=()=>"上传",aM=(e={},r={})=>{if((p??r.locale??n())==="zh")return Ovt(e);return Dvt(e)};var Nvt=()=>"Upload cover",Fvt=()=>"上传封面",lM=(e={},r={})=>{if((p??r.locale??n())==="zh")return Fvt(e);return Nvt(e)};var jvt=()=>"Drag and drop, or browse. Recommended 1:1 (400×400px).",Bvt=()=>"拖放或浏览文件。推荐比例 1:1(400×400像素)。",cM=(e={},r={})=>{if((p??r.locale??n())==="zh")return Bvt(e);return jvt(e)};var Uvt=()=>"Upload File",Yvt=()=>"上传文件",sm=(e={},r={})=>{if((p??r.locale??n())==="zh")return Yvt(e);return Uvt(e)};var qvt=()=>"Upload Folder",Hvt=()=>"上传文件夹",im=(e={},r={})=>{if((p??r.locale??n())==="zh")return Hvt(e);return qvt(e)};var Vvt=()=>"Upload Image",Wvt=()=>"上传图片",am=(e={},r={})=>{if((p??r.locale??n())==="zh")return Wvt(e);return Vvt(e)};var Gvt=()=>"Upload Watermark Image",Kvt=()=>"上传水印图片",uM=(e={},r={})=>{if((p??r.locale??n())==="zh")return Kvt(e);return Gvt(e)};var Xvt=()=>"Drag and drop, or browse. Max 1MB.",Qvt=()=>"拖放或浏览文件。最大 1MB。",dM=(e={},r={})=>{if((p??r.locale??n())==="zh")return Qvt(e);return Xvt(e)};var Jvt=()=>"Uploading...",$vt=()=>"上传中...",su=(e={},r={})=>{if((p??r.locale??n())==="zh")return $vt(e);return Jvt(e)};var e_t=()=>"Uploading",t_t=()=>"上传中",r_t=(e={},r={})=>{if((p??r.locale??n())==="zh")return t_t(e);return e_t(e)};var o_t=()=>"Uploads",a_t=()=>"上传管理",n_t=(e={},r={})=>{if((p??r.locale??n())==="zh")return a_t(e);return o_t(e)};var i_t=()=>"Usage",f_t=()=>"用量",fM=(e={},r={})=>{if((p??r.locale??n())==="zh")return f_t(e);return i_t(e)};var s_t=()=>"User",l_t=()=>"用户",pM=(e={},r={})=>{if((p??r.locale??n())==="zh")return l_t(e);return s_t(e)};var c_t=(e)=>`${e?.user} via ${e?.agent}`,u_t=(e)=>`${e?.user} 通过 ${e?.agent}`,iu=(e,r={})=>{if((p??r.locale??n())==="zh")return u_t(e);return c_t(e)};var d_t=()=>"Variable Name",Z_t=()=>"变量名称",mM=(e={},r={})=>{if((p??r.locale??n())==="zh")return Z_t(e);return d_t(e)};var p_t=(e)=>`Version ${e?.version}`,m_t=(e)=>`版本 ${e?.version}`,h_t=(e,r={})=>{if((p??r.locale??n())==="zh")return m_t(e);return p_t(e)};var g_t=()=>"Version removed from stack",M_t=()=>"已从版本堆栈中移除版本",x_t=(e={},r={})=>{if((p??r.locale??n())==="zh")return M_t(e);return g_t(e)};var v_t=()=>"Version order updated",__t=()=>"版本顺序已更新",y_t=(e={},r={})=>{if((p??r.locale??n())==="zh")return __t(e);return v_t(e)};var b_t=(e)=>`${e?.count} enabled`,w_t=(e)=>`${e?.count} 个已启用`,hM=(e,r={})=>{if((p??r.locale??n())==="zh")return w_t(e);return b_t(e)};var z_t=()=>"Resolution Ladders",S_t=()=>"分辨率阶梯",gM=(e={},r={})=>{if((p??r.locale??n())==="zh")return S_t(e);return z_t(e)};var L_t=()=>"Select the target resolutions to generate for MP4 transcoding. Resolutions are only generated up to the source video resolution.",k_t=()=>"选择 MP4 转码的目标分辨率。仅生成不超过原始视频分辨率的分辨率阶梯。",AM=(e={},r={})=>{if((p??r.locale??n())==="zh")return k_t(e);return L_t(e)};var C_t=()=>"Video Transcoding",I_t=()=>"视频转码",GA=(e={},r={})=>{if((p??r.locale??n())==="zh")return I_t(e);return C_t(e)};var R_t=()=>"Manage your team's video transcoding configurations.",P_t=()=>"管理团队的视频转码配置。",_M=(e={},r={})=>{if((p??r.locale??n())==="zh")return P_t(e);return R_t(e)};var T_t=()=>"View Details",A_t=()=>"查看详情",yM=(e={},r={})=>{if((p??r.locale??n())==="zh")return A_t(e);return T_t(e)};var E_t=(e)=>`(${e?.count} visible)`,D_t=(e)=>`(${e?.count} 个可见)`,bM=(e,r={})=>{if((p??r.locale??n())==="zh")return D_t(e);return E_t(e)};var O_t=()=>"Watermark",N_t=()=>"水印",VA=(e={},r={})=>{if((p??r.locale??n())==="zh")return N_t(e);return O_t(e)};var F_t=()=>"Watermark disabled",j_t=()=>"水印已禁用",vM=(e={},r={})=>{if((p??r.locale??n())==="zh")return j_t(e);return F_t(e)};var B_t=()=>"Watermark Editor",U_t=()=>"水印编辑器",wM=(e={},r={})=>{if((p??r.locale??n())==="zh")return U_t(e);return B_t(e)};var Y_t=()=>"Templates",q_t=()=>"水印模板",xM=(e={},r={})=>{if((p??r.locale??n())==="zh")return q_t(e);return Y_t(e)};var H_t=()=>"Transcoding watermark media...",V_t=()=>"水印媒体转码处理中...",SM=(e={},r={})=>{if((p??r.locale??n())==="zh")return V_t(e);return H_t(e)};var W_t=()=>"Watermark updated successfully",G_t=()=>"水印更新成功",EM=(e={},r={})=>{if((p??r.locale??n())==="zh")return G_t(e);return W_t(e)};var K_t=()=>"Welcome Back",X_t=()=>"欢迎回来",Q_t=(e={},r={})=>{if((p??r.locale??n())==="zh")return X_t(e);return K_t(e)};var J_t=()=>"When someone comments on a task",$_t=()=>"当有人在任务中发表评论时",CM=(e={},r={})=>{if((p??r.locale??n())==="zh")return $_t(e);return J_t(e)};var eyt=()=>"When tasks are created, assigned, updated, or deleted",tyt=()=>"当任务被创建、分配、更新或删除时",IM=(e={},r={})=>{if((p??r.locale??n())==="zh")return tyt(e);return eyt(e)};var ryt=()=>"When other users upload assets",oyt=()=>"当其他用户上传素材时",TM=(e={},r={})=>{if((p??r.locale??n())==="zh")return oyt(e);return ryt(e)};var ayt=()=>"When someone changes an asset's status",nyt=()=>"当有人更改素材的状态时",MM=(e={},r={})=>{if((p??r.locale??n())==="zh")return nyt(e);return ayt(e)};var iyt=()=>"When someone comments on an asset",fyt=()=>"当有人评论素材时",kM=(e={},r={})=>{if((p??r.locale??n())==="zh")return fyt(e);return iyt(e)};var syt=()=>"When someone @mentions you in a comment",lyt=()=>"当有人在评论中 @提及你时",RM=(e={},r={})=>{if((p??r.locale??n())==="zh")return lyt(e);return syt(e)};var cyt=()=>"When someone replies to your comment",uyt=()=>"当有人回复你的评论时",PM=(e={},r={})=>{if((p??r.locale??n())==="zh")return uyt(e);return cyt(e)};var dyt=()=>"When you upload assets",Zyt=()=>"当你上传素材时",NM=(e={},r={})=>{if((p??r.locale??n())==="zh")return Zyt(e);return dyt(e)};var pyt=()=>"Workflow Tasks",myt=()=>"工作流任务",lm=(e={},r={})=>{if((p??r.locale??n())==="zh")return myt(e);return pyt(e)};var hyt=()=>"View, monitor, and manage background workflow execution tasks.",gyt=()=>"查看、监控和管理后台工作流执行任务。",DM=(e={},r={})=>{if((p??r.locale??n())==="zh")return gyt(e);return hyt(e)};var Myt=()=>"Yesterday",xyt=()=>"昨天",mce=(e={},r={})=>{if((p??r.locale??n())==="zh")return xyt(e);return Myt(e)};var vyt=(e)=>`Yesterday ${e?.time}`,_yt=(e)=>`昨天 ${e?.time}`,yyt=(e,r={})=>{if((p??r.locale??n())==="zh")return _yt(e);return vyt(e)};var byt=()=>"Your Uploads",wyt=()=>"你的上传",OM=(e={},r={})=>{if((p??r.locale??n())==="zh")return wyt(e);return byt(e)};var zyt=()=>"Zoom In",Syt=()=>"放大",cm=(e={},r={})=>{if((p??r.locale??n())==="zh")return Syt(e);return zyt(e)};var Lyt=()=>"Zoom Out",kyt=()=>"缩小",um=(e={},r={})=>{if((p??r.locale??n())==="zh")return kyt(e);return Lyt(e)};var Cyt=(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 hce(){let{clearAuth:e}=ji(),r=bs(),a=(x)=>{if(!x)return"";switch(x.toLowerCase()){case"owner":return eu();case"editor":return $s();case"reviewer":return Vs();default:return x}},{data:i}=Z({queryKey:["teams",r,"me"],queryFn:async()=>{let x=await g.api.teams[":teamId"].me.$get({param:{teamId:r}});if(!x.ok)throw Error("Failed to fetch me");return await x.json()},enabled:!!r}),{setTheme:s,theme:l}=Jre(),c=Pe(),d=async()=>{await Cle(),e(),c({to:"/login"})},h=(x)=>{if(!x)return"U";let v=x.split(" ");if(v.length>1)return`${v[0][0]}${v[v.length-1][0]}`.toUpperCase();return x.substring(0,2).toUpperCase()};return o(ge,{children:[t(Ae,{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:h(i?.name)})]})}),o(_e,{className:"w-56",align:"end",forceMount:!0,children:[i&&o(L,{children:[t(en,{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(Kt,{})]}),o(As,{children:[t(_s,{children:n8t()}),t(ra,{children:o(ys,{children:[o(K,{className:"justify-between flex items-center",onClick:()=>s("light"),children:[t("span",{children:zKe()}),l==="light"&&t(Me,{className:"size-4"})]}),o(K,{className:"justify-between flex items-center",onClick:()=>s("dark"),children:[t("span",{children:_Be()}),l==="dark"&&t(Me,{className:"size-4"})]}),o(K,{className:"justify-between flex items-center",onClick:()=>s("system"),children:[t("span",{children:Xgt()}),l==="system"&&t(Me,{className:"size-4"})]})]})})]}),t(Kt,{}),t(K,{onClick:()=>c({to:"/teams/$teamId/settings",params:{teamId:r}}),disabled:!r,children:Gp()}),t(Kt,{}),t(K,{className:"text-red-500 focus:text-red-500",onClick:d,children:QKe()}),t(Kt,{}),o(K,{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(Cyt,{className:"size-3.5"}),t("span",{children:h_t({version:Ile})})]})]})]})}var kL=()=>null,gce=({children:e,hideMobileButton:r=!1,defaultMobileContent:a})=>{let{isMobileMenuOpen:i,activeItem:s,setActiveItem:l,toggleMobileMenu:c,closeMobileMenu:d}=zR(),h=kZ({select:(D)=>D.location.pathname}),x=N(()=>fc.toArray(e).filter((D)=>ns(D)&&D.type===kL),[e]),v=_(h);m(()=>{if(v.current!==h)v.current=h,d()},[h,d]);let y=s!==null?x[s]?.props:null,k=y??(i?a:null),b=Boolean(y||i&&a),T=(D)=>{let U=x[D];if(!U.props.children){l(null),U.props.onItemClick?.();return}if(s===D)l(null);else{if(U&&U.props.onItemClick)U.props.onItemClick();l(D)}};return o(L,{children:[!r&&t(S,{variant:"ghost",size:"icon",onClick:c,className:"md:hidden fixed top-4 left-4 z-50 rounded-md bg-sidebar/50 backdrop-blur-sm text-sidebar-foreground focus:outline-none focus-visible:ring-2 focus-visible:ring-sidebar-ring","aria-label":"Open navigation menu","aria-expanded":i,children:t(XZ,{})}),i&&t("div",{onClick:d,className:"fixed inset-0 bg-black/60 z-30 md:hidden","aria-hidden":"true"}),s!==null&&t("div",{onClick:()=>l(null),className:"hidden md:block fixed inset-0 bg-black/20 z-30","aria-hidden":"true"}),o("aside",{className:`fixed inset-y-0 left-0 z-40 flex transition-transform duration-300 ease-in-out ${i?"translate-x-0":"-translate-x-full"} md:translate-x-0`,children:[t("div",{className:"absolute bottom-0 w-full h-[70dvh] bg-linear-to-t from-sidebar-primary/10 to-transparent"}),o("nav",{className:"w-16 bg-card border-r border-sidebar-border flex flex-col items-center pb-4 pt-0 space-y-2 flex-shrink-0",children:[t("div",{className:"flex-1 w-full flex flex-col items-center gap-5 pt-1",children:t(un,{children:x.map((D,U)=>{let A=Boolean(D.props.active||s===U);return o(dn,{children:[t(fn,{asChild:!0,children:o(S,{variant:"ghost",size:"icon-lg",onClick:()=>T(U),"aria-label":D.props.label,"aria-expanded":s===U,className:`relative w-12 h-12 [&_svg:not([class*='size-'])]:size-6 transition-colors duration-200 ${A?"text-sidebar-primary hover:bg-sidebar-accent hover:text-sidebar-primary":"text-sidebar-foreground/60 hover:text-sidebar-foreground hover:bg-sidebar-accent"}`,children:[D.props.icon,D.props.badge]})}),t(pn,{side:"right",children:t("p",{children:D.props.label})})]},D.props.label)})})}),t("div",{className:"mt-auto w-full flex flex-col items-center pb-2",children:t(hce,{})})]}),t("div",{className:C("transition-all duration-300 ease-in-out bg-sidebar/95 backdrop-blur-sm shadow-lg overflow-hidden",b?"w-[calc(100vw-4rem)] border-r border-sidebar-border":"w-0",y?"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:k&&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:k.label}),t(S,{variant:"ghost",size:"icon",onClick:d,className:"h-8 w-8 text-sidebar-foreground hover:bg-sidebar-accent","aria-label":"Close navigation menu",children:t(Ne,{className:"h-5 w-5"})})]}),t("div",{className:"flex-1 overflow-y-auto p-2",children:k.children})]})})})]})]})};function nt({...e}){return t(WCe,{"data-slot":"alert-dialog",...e})}function Iyt({...e}){return t(GCe,{"data-slot":"alert-dialog-portal",...e})}function Ryt({className:e,...r}){return t(KCe,{"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 ot({className:e,size:r="default",...a}){return o(Iyt,{children:[t(Ryt,{}),t(XCe,{"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 st({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 it({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 at({className:e,...r}){return t($Ce,{"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 lt({className:e,...r}){return t(eIe,{"data-slot":"alert-dialog-description",className:C("text-sm text-muted-foreground",e),...r})}function ct({className:e,variant:r="default",size:a="default",...i}){return t(S,{variant:r,size:a,asChild:!0,children:t(QCe,{"data-slot":"alert-dialog-action",className:C(e),...i})})}function ut({className:e,variant:r="outline",size:a="default",...i}){return t(S,{variant:r,size:a,asChild:!0,children:t(JCe,{"data-slot":"alert-dialog-cancel",className:C(e),...i})})}function de({...e}){return t(wq,{"data-slot":"dialog",...e})}function QA({...e}){return t(zq,{"data-slot":"dialog-trigger",...e})}function Pyt({...e}){return t(Sq,{"data-slot":"dialog-portal",...e})}function Tyt({className:e,...r}){return t(Lq,{"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 ce({className:e,children:r,showCloseButton:a=!0,...i}){return o(Pyt,{"data-slot":"dialog-portal",children:[t(Tyt,{}),o(kq,{"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(ED,{"data-slot":"dialog-close",className:"absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[t(Ne,{}),t("span",{className:"sr-only",children:"Close"})]})]})]})}function 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 He({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(ED,{asChild:!0,children:t(S,{variant:"outline",children:"Close"})})]})}function ue({className:e,...r}){return t(Cq,{"data-slot":"dialog-title",className:C("text-lg leading-none font-semibold",e),...r})}function Et({className:e,...r}){return t(Iq,{"data-slot":"dialog-description",className:C("text-sm text-muted-foreground",e),...r})}function z({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 le({className:e,children:r,...a}){return o(PPe,{"data-slot":"scroll-area",className:C("relative",e),...a,children:[t(TPe,{"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(t3,{}),t(APe,{})]})}function t3({className:e,orientation:r="vertical",...a}){return t(_Pe,{"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(LPe,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-border"})})}var gt=Nr()(wR((e,r)=>({teamId:null,projectTeamMap:{},setTeamId:(a)=>e({teamId:a}),ensureTeamIdForProject:async(a)=>{let i=r();if(i.projectTeamMap[a]){let s=i.projectTeamMap[a];if(i.teamId!==s)e({teamId:s});return s}try{let s=await g.api.projects[":projectId"].team.$get({param:{projectId:a}});if(!s.ok)throw Error("failed to fetch project team");let l=await s.json();if(l&&l.teamId)return e((c)=>({teamId:l.teamId,projectTeamMap:{...c.projectTeamMap,[a]:l.teamId}})),l.teamId}catch(s){console.error("Failed to fetch team ID for project",a,s)}return null}}),{name:"team-context-storage",storage:iL(()=>localStorage)}));E();function Ft(e){let r=gt((i)=>i.teamId),{data:a}=Z({queryKey:e?["projects",e,"me"]:["teams",r,"me"],queryFn:async()=>{if(e){let i=await g.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 g.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 N(()=>({role:a?.role,canEdit:a?.role==="owner"||a?.role==="editor",canAdmin:a?.role==="owner"}),[a?.role])}E();var Ayt=Symbol.for("preact-signals");function n3(){if(!(Bm>1)){var e,r=!1;(function(){var s=o3;o3=void 0;while(s!==void 0){var l=s.S;if(l.v===s.v){for(var c=l.t;c!==void 0;c=c.x)if(c.i===s.i)c.i=l.i}s=s.o}})();while(nO!==void 0){var a=nO;nO=void 0,r3++;while(a!==void 0){var i=a.u;if(a.u=void 0,a.f&=-3,!(8&a.f)&&xce(a))try{a.c()}catch(s){if(!r)e=s,r=!0}a=i}}if(r3=0,Bm--,r)throw e}else Bm--}function fa(e){if(Bm>0)return e();oH=++Eyt,Bm++;try{return e()}finally{n3()}}var aO,kn=void 0;function yo(e){var r=kn,a=aO;kn=void 0,aO=void 0;try{return e()}finally{kn=r,aO=a}}var nO=void 0,Bm=0,r3=0,Eyt=0,oH=0,o3=void 0,a3=0;function Mce(e){if(kn!==void 0){var r=e.n;if(r===void 0||r.t!==kn){if(r={i:0,S:e,p:kn.s,n:void 0,t:kn,e:void 0,x:void 0,r},kn.s!==void 0)kn.s.n=r;if(kn.s=r,e.n=r,32&kn.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=kn.s,r.n=void 0,kn.s.n=r,kn.s=r}return r}}}function Af(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}Af.prototype.brand=Ayt;Af.prototype.h=function(){return!0};Af.prototype.S=function(e){var r=this,a=this.t;if(a!==e&&e.e===void 0)if(e.x=a,this.t=e,a!==void 0)a.e=e;else yo(function(){var i;(i=r.W)==null||i.call(r)})};Af.prototype.U=function(e){var r=this;if(this.t!==void 0){var{e:a,x:i}=e;if(a!==void 0)a.x=i,e.e=void 0;if(i!==void 0)i.e=a,e.x=void 0;if(e===this.t){if(this.t=i,i===void 0)yo(function(){var s;(s=r.Z)==null||s.call(r)})}}};Af.prototype.subscribe=function(e){var r=this;return Pi(function(){var a=r.value;yo(function(){return e(a)})},{name:"sub"})};Af.prototype.valueOf=function(){return this.value};Af.prototype.toString=function(){return this.value+""};Af.prototype.toJSON=function(){return this.value};Af.prototype.peek=function(){var e=this;return yo(function(){return e.value})};Object.defineProperty(Af.prototype,"value",{get:function(){var e=Mce(this);if(e!==void 0)e.i=this.i;return this.v},set:function(e){if(e!==this.v){if(r3>100)throw Error("Cycle detected");(function(a){if(Bm!==0&&r3===0){if(a.l!==oH)a.l=oH,o3={S:a,v:a.v,i:a.i,o:o3}}})(this),this.v=e,this.i++,a3++,Bm++;try{for(var r=this.t;r!==void 0;r=r.x)r.t.N()}finally{n3()}}}});function pZ(e,r){return new Af(e,r)}function xce(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 vce(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 _ce(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 CL(e,r){Af.call(this,void 0,r),this.x=e,this.s=void 0,this.g=a3-1,this.f=4}CL.prototype=new Af;CL.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===a3)return!0;if(this.g=a3,this.f|=1,this.i>0&&!xce(this))return this.f&=-2,!0;var e=kn;try{vce(this),kn=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 kn=e,_ce(this),this.f&=-2,!0};CL.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)}Af.prototype.S.call(this,e)};CL.prototype.U=function(e){if(this.t!==void 0){if(Af.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)}}};CL.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(CL.prototype,"value",{get:function(){if(1&this.f)throw Error("Cycle detected");var e=Mce(this);if(this.h(),e!==void 0)e.i=this.i;if(16&this.f)throw this.v;return this.v}});function aH(e,r){return new CL(e,r)}function yce(e){var r=e.m;if(e.m=void 0,typeof r=="function"){Bm++;var a=kn;kn=void 0;try{r()}catch(i){throw e.f&=-2,e.f|=8,nH(e),i}finally{kn=a,n3()}}}function nH(e){for(var r=e.s;r!==void 0;r=r.n)r.S.U(r);e.x=void 0,e.s=void 0,yce(e)}function Dyt(e){if(kn!==this)throw Error("Out-of-order effect");if(_ce(this),kn=e,this.f&=-2,8&this.f)nH(this);n3()}function UR(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,aO)aO.push(this)}UR.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()}};UR.prototype.S=function(){if(1&this.f)throw Error("Cycle detected");this.f|=1,this.f&=-9,yce(this),vce(this),Bm++;var e=kn;return kn=this,Dyt.bind(this,e)};UR.prototype.N=function(){if(!(2&this.f))this.f|=2,this.u=nO,nO=this};UR.prototype.d=function(){if(this.f|=8,!(1&this.f))nH(this)};UR.prototype.dispose=function(){this.d()};function Pi(e,r){var a=new UR(e,r);try{a.c()}catch(s){throw a.d(),s}var i=a.d.bind(a);return i[Symbol.dispose]=i,i}var{create:Oyt,defineProperty:hH,defineProperties:Nyt,getOwnPropertyDescriptor:Fyt,getOwnPropertyDescriptors:jyt,getOwnPropertySymbols:bce}=Object,Byt=Object.prototype.hasOwnProperty,Uyt=Object.prototype.propertyIsEnumerable,zce=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),YR=(e)=>{throw TypeError(e)},cH=(e,r,a)=>(r in e)?hH(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,Yyt=(e,r)=>{for(var a in r||(r={}))if(Byt.call(r,a))cH(e,a,r[a]);if(bce){for(var a of bce(r))if(Uyt.call(r,a))cH(e,a,r[a])}return e},qyt=(e,r)=>Nyt(e,jyt(r)),wce=(e,r)=>hH(e,"name",{value:r,configurable:!0}),Hyt=(e)=>{var r;return[,,,Oyt((r=e==null?void 0:e[zce("metadata")])!=null?r:null)]},Sce=["class","method","getter","setter","accessor","field","value","get","set"],iO=(e)=>e!==void 0&&typeof e!=="function"?YR("Function expected"):e,Vyt=(e,r,a,i,s)=>({kind:Sce[e],name:r,metadata:i,addInitializer:(l)=>a._?YR("Already initialized"):s.push(iO(l||null))}),Lce=(e,r)=>cH(r,zce("metadata"),e[3]),IL=(e,r,a,i)=>{for(var s=0,l=e[r>>1],c=l&&l.length;s<c;s++)r&1?l[s].call(a):i=l[s].call(a,i);return i},qR=(e,r,a,i,s,l)=>{var c,d,h,x,v,y=r&7,k=!!(r&8),b=!!(r&16),T=y>3?e.length+1:y?k?1:2:0,D=Sce[y+5],U=y>3&&(e[T-1]=[]),A=e[T]||(e[T]=[]),j=y&&(!b&&!k&&(s=s.prototype),y<5&&(y>3||!b)&&Fyt(y<4?s:{get[a](){return Sc(this,l)},set[a](J){return tz(this,l,J)}},a));y?b&&y<4&&wce(l,(y>2?"set ":y>1?"get ":"")+a):wce(s,a);for(var V=i.length-1;V>=0;V--){if(x=Vyt(y,a,h={},e[3],A),y){if(x.static=k,x.private=b,v=x.access={has:b?(J)=>Wyt(s,J):(J)=>(a in J)},y^3)v.get=b?(J)=>(y^1?Sc:Gyt)(J,s,y^4?l:j.get):(J)=>J[a];if(y>2)v.set=b?(J,ee)=>tz(J,s,ee,y^4?l:j.set):(J,ee)=>J[a]=ee}if(d=(0,i[V])(y?y<4?b?l:j[D]:y>4?void 0:{get:j.get,set:j.set}:s,x),h._=1,y^4||d===void 0)iO(d)&&(y>4?U.unshift(d):y?b?l=d:j[D]=d:s=d);else if(typeof d!=="object"||d===null)YR("Object expected");else iO(c=d.get)&&(j.get=c),iO(c=d.set)&&(j.set=c),iO(c=d.init)&&U.unshift(c)}return y||Lce(e,s),j&&hH(s,a,j),b?y^4?l:j:s},gH=(e,r,a)=>r.has(e)||YR("Cannot "+a),Wyt=(e,r)=>Object(r)!==r?YR('Cannot use the "in" operator on this value'):e.has(r),Sc=(e,r,a)=>(gH(e,r,"read from private field"),a?a.call(e):r.get(e)),fO=(e,r,a)=>r.has(e)?YR("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),tz=(e,r,a,i)=>(gH(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),Gyt=(e,r,a)=>(gH(e,r,"access private method"),a);function HR(e,r){if(r){let a;return aH(()=>{let i=e();if(i&&a&&r(a,i))return a;return a=i,i})}return aH(e)}function xf(e,r){if(Object.is(e,r))return!0;if(e===null||r===null)return!1;if(typeof e==="function"&&typeof r==="function")return e===r;if(e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(let a of e)if(!r.has(a))return!1;return!0}if(Array.isArray(e)){if(!Array.isArray(r)||e.length!==r.length)return!1;return!e.some((i,s)=>!xf(i,r[s]))}if(typeof e==="object"&&typeof r==="object"){let a=Object.keys(e),i=Object.keys(r);if(a.length!==i.length)return!1;return!a.some((l)=>!xf(e[l],r[l]))}return!1}function Ao({get:e},r){return{init(a){return pZ(a)},get(){return e.call(this).value},set(a){let i=e.call(this);if(i.peek()===a)return;i.value=a}}}function _n(e,r){let a=new WeakMap;return function(){let i=a.get(this);if(!i)i=HR(e.bind(this)),a.set(this,i);return i.value}}function iH(e=!0){return function(r,a){a.addInitializer(function(){let i=a.kind==="field"?this:a.static?this:Object.getPrototypeOf(this),s=Object.getOwnPropertyDescriptor(i,a.name);if(s)Object.defineProperty(i,a.name,qyt(Yyt({},s),{enumerable:e}))})}}function PL(...e){let r=e.map((a)=>Pi(a));return()=>r.forEach((a)=>a())}var kce,Cce,Ice,Rce,Pce,Tce,us,MH,fH,uH,dH,Ef,xH,sH,Ace,ZH,vH,lH,pH,mH;Tce=[Ao],Pce=[Ao],Rce=[Ao],Ice=[iH()],Cce=[iH()],kce=[iH()];var mZ=class{constructor(e,r=Object.is){this.defaultValue=e,this.equals=r,IL(us,5,this),fO(this,Ef),fO(this,MH,IL(us,8,this)),IL(us,11,this),fO(this,xH,IL(us,12,this)),IL(us,15,this),fO(this,vH,IL(us,16,this)),IL(us,19,this),this.reset=this.reset.bind(this),this.reset()}get current(){return Sc(this,Ef,pH)}get initial(){return Sc(this,Ef,uH)}get previous(){return Sc(this,Ef,Ace)}set current(e){let r=yo(()=>Sc(this,Ef,pH));if(e&&r&&this.equals(r,e))return;fa(()=>{if(!Sc(this,Ef,uH))tz(this,Ef,e,dH);tz(this,Ef,r,ZH),tz(this,Ef,e,mH)})}reset(e=this.defaultValue){fa(()=>{tz(this,Ef,void 0,ZH),tz(this,Ef,e,dH),tz(this,Ef,e,mH)})}};us=Hyt(null);MH=new WeakMap;Ef=new WeakSet;xH=new WeakMap;vH=new WeakMap;fH=qR(us,20,"#initial",Tce,Ef,MH),uH=fH.get,dH=fH.set;sH=qR(us,20,"#previous",Pce,Ef,xH),Ace=sH.get,ZH=sH.set;lH=qR(us,20,"#current",Rce,Ef,vH),pH=lH.get,mH=lH.set;qR(us,2,"current",Ice,mZ);qR(us,2,"initial",Cce,mZ);qR(us,2,"previous",kce,mZ);Lce(us,mZ);function i3(e){return yo(()=>{let r={};for(let a in e)r[a]=e[a];return r})}var RL,Ece=class{constructor(){fO(this,RL,new WeakMap)}get(e,r){var a;return e?(a=Sc(this,RL).get(e))==null?void 0:a.get(r):void 0}set(e,r,a){var i;if(!e)return;if(!Sc(this,RL).has(e))Sc(this,RL).set(e,new Map);return(i=Sc(this,RL).get(e))==null?void 0:i.set(r,a)}clear(e){var r;return e?(r=Sc(this,RL).get(e))==null?void 0:r.clear():void 0}};RL=new WeakMap;var{create:Kyt,defineProperty:zH,getOwnPropertyDescriptor:Xyt,getOwnPropertySymbols:Dce}=Object,Qyt=Object.prototype.hasOwnProperty,Jyt=Object.prototype.propertyIsEnumerable,Fce=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),VR=(e)=>{throw TypeError(e)},Oce=Math.pow,_H=(e,r,a)=>(r in e)?zH(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,$yt=(e,r)=>{for(var a in r||(r={}))if(Qyt.call(r,a))_H(e,a,r[a]);if(Dce){for(var a of Dce(r))if(Jyt.call(r,a))_H(e,a,r[a])}return e},Nce=(e,r)=>zH(e,"name",{value:r,configurable:!0}),ebt=(e)=>{var r;return[,,,Kyt((r=e==null?void 0:e[Fce("metadata")])!=null?r:null)]},jce=["class","method","getter","setter","accessor","field","value","get","set"],sO=(e)=>e!==void 0&&typeof e!=="function"?VR("Function expected"):e,tbt=(e,r,a,i,s)=>({kind:jce[e],name:r,metadata:i,addInitializer:(l)=>a._?VR("Already initialized"):s.push(sO(l||null))}),Bce=(e,r)=>_H(r,Fce("metadata"),e[3]),rbt=(e,r,a,i)=>{for(var s=0,l=e[r>>1],c=l&&l.length;s<c;s++)r&1?l[s].call(a):i=l[s].call(a,i);return i},Uce=(e,r,a,i,s,l)=>{var c,d,h,x,v,y=r&7,k=!!(r&8),b=!!(r&16),T=y>3?e.length+1:y?k?1:2:0,D=jce[y+5],U=y>3&&(e[T-1]=[]),A=e[T]||(e[T]=[]),j=y&&(!b&&!k&&(s=s.prototype),y<5&&(y>3||!b)&&Xyt(y<4?s:{get[a](){return yH(this,l)},set[a](J){return bH(this,l,J)}},a));y?b&&y<4&&Nce(l,(y>2?"set ":y>1?"get ":"")+a):Nce(s,a);for(var V=i.length-1;V>=0;V--){if(x=tbt(y,a,h={},e[3],A),y){if(x.static=k,x.private=b,v=x.access={has:b?(J)=>obt(s,J):(J)=>(a in J)},y^3)v.get=b?(J)=>(y^1?yH:nbt)(J,s,y^4?l:j.get):(J)=>J[a];if(y>2)v.set=b?(J,ee)=>bH(J,s,ee,y^4?l:j.set):(J,ee)=>J[a]=ee}if(d=(0,i[V])(y?y<4?b?l:j[D]:y>4?void 0:{get:j.get,set:j.set}:s,x),h._=1,y^4||d===void 0)sO(d)&&(y>4?U.unshift(d):y?b?l=d:j[D]=d:s=d);else if(typeof d!=="object"||d===null)VR("Object expected");else sO(c=d.get)&&(j.get=c),sO(c=d.set)&&(j.set=c),sO(c=d.init)&&U.unshift(c)}return y||Bce(e,s),j&&zH(s,a,j),b?y^4?l:j:s},SH=(e,r,a)=>r.has(e)||VR("Cannot "+a),obt=(e,r)=>Object(r)!==r?VR('Cannot use the "in" operator on this value'):e.has(r),yH=(e,r,a)=>(SH(e,r,"read from private field"),a?a.call(e):r.get(e)),abt=(e,r,a)=>r.has(e)?VR("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),bH=(e,r,a,i)=>(SH(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),nbt=(e,r,a)=>(SH(e,r,"access private method"),a),ts=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)}},ol=class e{constructor(r,a,i,s){this.left=r,this.top=a,this.width=i,this.height=s,this.scale={x:1,y:1}}get inverseScale(){return{x:1/this.scale.x,y:1/this.scale.y}}translate(r,a){let{top:i,left:s,width:l,height:c,scale:d}=this,h=new e(s+r,i+a,l,c);return h.scale=$yt({},d),h}get boundingRectangle(){let{width:r,height:a,left:i,top:s,right:l,bottom:c}=this;return{width:r,height:a,left:i,top:s,right:l,bottom:c}}get center(){let{left:r,top:a,right:i,bottom:s}=this;return new ts((r+i)/2,(a+s)/2)}get area(){let{width:r,height:a}=this;return r*a}equals(r){if(!(r instanceof e))return!1;let{left:a,top:i,width:s,height:l}=this;return a===r.left&&i===r.top&&s===r.width&&l===r.height}containsPoint(r){let{top:a,left:i,bottom:s,right:l}=this;return a<=r.y&&r.y<=s&&i<=r.x&&r.x<=l}intersectionArea(r){if(r instanceof e)return ibt(this,r);return 0}intersectionRatio(r){let{area:a}=this,i=this.intersectionArea(r);return i/(r.area+a-i)}get bottom(){let{top:r,height:a}=this;return r+a}get right(){let{left:r,width:a}=this;return r+a}get aspectRatio(){let{width:r,height:a}=this;return r/a}get corners(){return[{x:this.left,y:this.top},{x:this.right,y:this.top},{x:this.left,y:this.bottom},{x:this.right,y:this.bottom}]}static from({top:r,left:a,width:i,height:s}){return new e(a,r,i,s)}static delta(r,a,i={x:"center",y:"center"}){let s=(l,c)=>{let d=i[c],h=c==="x"?l.left:l.top,x=c==="x"?l.width:l.height;if(d=="start")return h;if(d=="end")return h+x;return h+x/2};return ts.delta({x:s(r,"x"),y:s(r,"y")},{x:s(a,"x"),y:s(a,"y")})}static intersectionRatio(r,a){return e.from(r).intersectionRatio(e.from(a))}};function ibt(e,r){let a=Math.max(r.top,e.top),i=Math.max(r.left,e.left),s=Math.min(r.left+r.width,e.left+e.width),l=Math.min(r.top+r.height,e.top+e.height),c=s-i,d=l-a;if(i<s&&a<l)return c*d;return 0}var Yce,qce,wH,f3,lO,cO=class extends(wH=mZ,qce=[_n],Yce=[_n],wH){constructor(e){let r=ts.from(e);super(r,(a,i)=>ts.equals(a,i));rbt(lO,5,this),abt(this,f3,0),this.velocity={x:0,y:0}}get delta(){return ts.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=ts.from(e),i={x:a.x-r.x,y:a.y-r.y},s=Date.now(),l=s-yH(this,f3),c=(d)=>Math.round(d/l*100);fa(()=>{bH(this,f3,s),this.velocity={x:c(i.x),y:c(i.y)},super.current=a})}reset(e=this.defaultValue){super.reset(ts.from(e)),this.velocity={x:0,y:0}}};lO=ebt(wH);f3=new WeakMap;Uce(lO,2,"delta",qce,cO);Uce(lO,2,"direction",Yce,cO);Bce(lO,cO);function s3({x:e,y:r},a){let i=Math.abs(e),s=Math.abs(r);if(typeof a==="number")return Math.sqrt(Oce(i,2)+Oce(s,2))>a;if("x"in a&&"y"in a)return i>a.x&&s>a.y;if("x"in a)return i>a.x;if("y"in a)return s>a.y;return!1}var Hce=((e)=>(e.Horizontal="x",e.Vertical="y",e))(Hce||{}),LH=Object.values(Hce);var{create:fbt,defineProperty:PH,defineProperties:sbt,getOwnPropertyDescriptor:lbt,getOwnPropertyDescriptors:cbt,getOwnPropertySymbols:m3}=Object,Gce=Object.prototype.hasOwnProperty,Kce=Object.prototype.propertyIsEnumerable,Xce=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),JR=(e)=>{throw TypeError(e)},CH=(e,r,a)=>(r in e)?PH(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,TH=(e,r)=>{for(var a in r||(r={}))if(Gce.call(r,a))CH(e,a,r[a]);if(m3){for(var a of m3(r))if(Kce.call(r,a))CH(e,a,r[a])}return e},AH=(e,r)=>sbt(e,cbt(r)),Vce=(e,r)=>PH(e,"name",{value:r,configurable:!0}),Qce=(e,r)=>{var a={};for(var i in e)if(Gce.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&m3){for(var i of m3(e))if(r.indexOf(i)<0&&Kce.call(e,i))a[i]=e[i]}return a},$R=(e)=>{var r;return[,,,fbt((r=e==null?void 0:e[Xce("metadata")])!=null?r:null)]},Jce=["class","method","getter","setter","accessor","field","value","get","set"],uO=(e)=>e!==void 0&&typeof e!=="function"?JR("Function expected"):e,ubt=(e,r,a,i,s)=>({kind:Jce[e],name:r,metadata:i,addInitializer:(l)=>a._?JR("Already initialized"):s.push(uO(l||null))}),AL=(e,r)=>CH(r,Xce("metadata"),e[3]),xo=(e,r,a,i)=>{for(var s=0,l=e[r>>1],c=l&&l.length;s<c;s++)r&1?l[s].call(a):i=l[s].call(a,i);return i},jo=(e,r,a,i,s,l)=>{var c,d,h,x,v,y=r&7,k=!!(r&8),b=!!(r&16),T=y>3?e.length+1:y?k?1:2:0,D=Jce[y+5],U=y>3&&(e[T-1]=[]),A=e[T]||(e[T]=[]),j=y&&(!b&&!k&&(s=s.prototype),y<5&&(y>3||!b)&&lbt(y<4?s:{get[a](){return ti(this,l)},set[a](J){return ec(this,l,J)}},a));y?b&&y<4&&Vce(l,(y>2?"set ":y>1?"get ":"")+a):Vce(s,a);for(var V=i.length-1;V>=0;V--){if(x=ubt(y,a,h={},e[3],A),y){if(x.static=k,x.private=b,v=x.access={has:b?(J)=>dbt(s,J):(J)=>(a in J)},y^3)v.get=b?(J)=>(y^1?ti:$ce)(J,s,y^4?l:j.get):(J)=>J[a];if(y>2)v.set=b?(J,ee)=>ec(J,s,ee,y^4?l:j.set):(J,ee)=>J[a]=ee}if(d=(0,i[V])(y?y<4?b?l:j[D]:y>4?void 0:{get:j.get,set:j.set}:s,x),h._=1,y^4||d===void 0)uO(d)&&(y>4?U.unshift(d):y?b?l=d:j[D]=d:s=d);else if(typeof d!=="object"||d===null)JR("Object expected");else uO(c=d.get)&&(j.get=c),uO(c=d.set)&&(j.set=c),uO(c=d.init)&&U.unshift(c)}return y||AL(e,s),j&&PH(s,a,j),b?y^4?l:j:s},EH=(e,r,a)=>r.has(e)||JR("Cannot "+a),dbt=(e,r)=>Object(r)!==r?JR('Cannot use the "in" operator on this value'):e.has(r),ti=(e,r,a)=>(EH(e,r,"read from private field"),a?a.call(e):r.get(e)),ha=(e,r,a)=>r.has(e)?JR("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),ec=(e,r,a,i)=>(EH(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),$ce=(e,r,a)=>(EH(e,r,"access private method"),a);function eue(e,r){return{plugin:e,options:r}}function oa(e){return(r)=>eue(e,r)}function QR(e){if(typeof e==="function")return{plugin:e,options:void 0};return e}var tue,pO,DH,c3;tue=[Ao];var Hi=class{constructor(e,r){this.manager=e,this.options=r,ha(this,DH,xo(pO,8,this,!1)),xo(pO,11,this),ha(this,c3,new Set)}enable(){this.disabled=!1}disable(){this.disabled=!0}isDisabled(){return yo(()=>this.disabled)}configure(e){this.options=e}registerEffect(e){let r=Pi(e.bind(this));return ti(this,c3).add(r),r}destroy(){ti(this,c3).forEach((e)=>e())}static configure(e){return eue(this,e)}};pO=$R(null);DH=new WeakMap;c3=new WeakMap;jo(pO,4,"disabled",tue,Hi,DH);AL(pO,Hi);var eP=class extends Hi{},u3,kH=class{constructor(e){this.manager=e,this.instances=new Map,ha(this,u3,[])}get values(){return Array.from(this.instances.values())}set values(e){let r=e.map(QR).reduce((i,s)=>{let l=i.find(({plugin:c})=>c===s.plugin);if(l)return l.options=s.options,i;return[...i,s]},[]),a=r.map(({plugin:i})=>i);for(let i of ti(this,u3))if(!a.includes(i)){if(i.prototype instanceof eP)continue;this.unregister(i)}for(let{plugin:i,options:s}of r)this.register(i,s);ec(this,u3,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()}};u3=new WeakMap;function Zbt(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 l3=[],WR,GR,pbt=class extends Hi{constructor(e){super(e);ha(this,WR),ha(this,GR),this.computeCollisions=this.computeCollisions.bind(this),ec(this,GR,pZ(l3)),this.destroy=PL(()=>{let r=this.computeCollisions(),a=yo(()=>this.manager.dragOperation.position.current);if(r!==l3){let i=ti(this,WR);if(ec(this,WR,a),i&&a.x==i.x&&a.y==i.y)return}else ec(this,WR,void 0);ti(this,GR).value=r},()=>{let{dragOperation:r}=this.manager;if(r.status.initialized)this.forceUpdate()})}forceUpdate(e=!0){yo(()=>{if(e)ti(this,GR).value=this.computeCollisions();else ec(this,WR,void 0)})}computeCollisions(e,r){let{registry:a,dragOperation:i}=this.manager,{source:s,shape:l,status:c}=i;if(!c.initialized||!l)return l3;let d=[],h=[];for(let x of e!=null?e:a.droppables){if(x.disabled)continue;if(s&&!x.accepts(s))continue;let v=r!=null?r:x.collisionDetector;if(!v)continue;h.push(x),x.shape;let y=yo(()=>v({droppable:x,dragOperation:i}));if(y){if(x.collisionPriority!=null)y.priority=x.collisionPriority;d.push(y)}}if(h.length===0)return l3;return d.sort(Zbt),d}get collisions(){return ti(this,GR).value}};WR=new WeakMap;GR=new WeakMap;var rue,oue,aue,OH,nue,wu,NH,XR,FH,jH;aue=[Ao],oue=[Ao],rue=[Ao];var ZM=class e{constructor(r,a){ha(this,NH,xo(wu,8,this)),xo(wu,11,this),ha(this,XR),ha(this,FH,xo(wu,12,this)),xo(wu,15,this),ha(this,jH,xo(wu,16,this)),xo(wu,19,this);let{effects:i,id:s,data:l={},disabled:c=!1,register:d=!0}=r,h=s;if(ec(this,XR,pZ(s)),this.manager=a,this.data=l,this.disabled=c,this.effects=()=>{var x;return[()=>{let{id:v,manager:y}=this;if(v===h)return;return h=v,y==null||y.registry.register(this),()=>y==null?void 0:y.registry.unregister(this)},...(x=i==null?void 0:i())!=null?x:[]]},this.register=this.register.bind(this),this.unregister=this.unregister.bind(this),this.destroy=this.destroy.bind(this),a&&d)queueMicrotask(this.register)}get id(){var r,a;let i=ti(this,XR).value;return(a=(r=e.pendingIdChanges)==null?void 0:r.get(this))!=null?a:i}set id(r){var a,i;let s=(i=(a=e.pendingIdChanges)==null?void 0:a.get(this))!=null?i:ti(this,XR).peek();if(r===s)return;if(!e.pendingIdChanges)e.pendingIdChanges=new Map,queueMicrotask(()=>{var l;return $ce(l=e,OH,nue).call(l)});e.pendingIdChanges.set(this,r)}register(){var r;return(r=this.manager)==null?void 0:r.registry.register(this)}unregister(){var r;(r=this.manager)==null||r.registry.unregister(this)}destroy(){var r;(r=this.manager)==null||r.registry.unregister(this)}};wu=$R(null);OH=new WeakSet;nue=function(){let e=ZM.pendingIdChanges;if(ZM.pendingIdChanges=null,e)fa(()=>{for(let[r,a]of e)ti(r,XR).value=a})};NH=new WeakMap;XR=new WeakMap;FH=new WeakMap;jH=new WeakMap;jo(wu,4,"manager",aue,ZM,NH);jo(wu,4,"data",oue,ZM,FH);jo(wu,4,"disabled",rue,ZM,jH);ha(ZM,OH);AL(wu,ZM);ZM.pendingIdChanges=null;var h3=ZM,Wce=class{constructor(){this.map=pZ(new Map),this.cleanupFunctions=new WeakMap,this.register=(e,r)=>{let a=this.map.peek(),i=a.get(e),s=()=>this.unregister(e,r);if(i===r)return s;if(i){if(i.id===e){let d=this.cleanupFunctions.get(i);d==null||d(),this.cleanupFunctions.delete(i)}}let l=new Map(a);for(let[d,h]of a)if(h===r&&d!==e){l.delete(d);break}l.set(e,r),this.map.value=l;let c=PL(...r.effects());return this.cleanupFunctions.set(r,c),s},this.unregister=(e,r)=>{let a=this.map.peek();if(a.get(e)!==r)return;let i=this.cleanupFunctions.get(r);i==null||i(),this.cleanupFunctions.delete(r);let s=new Map(a);s.delete(e),this.map.value=s}}[Symbol.iterator](){return this.map.peek().values()}get value(){return this.map.value.values()}has(e){return this.map.value.has(e)}get(e){return this.map.value.get(e)}destroy(){for(let e of this){let r=this.cleanupFunctions.get(e);r==null||r(),e.destroy()}this.map.value=new Map}},iue,fue,sue,lue,cue,uue,IH,ds,BH,UH,YH,zu=class extends(IH=h3,uue=[Ao],cue=[Ao],lue=[Ao],sue=[_n],fue=[_n],iue=[_n],IH){constructor(e,r){var a=e,{modifiers:i,type:s,sensors:l,plugins:c,effects:d}=a,h=Qce(a,["modifiers","type","sensors","plugins","effects"]);super(AH(TH({},h),{effects:()=>{var x;return[...(x=d==null?void 0:d())!=null?x:[],()=>{let{manager:v,plugins:y}=this;if(!v||!y)return;for(let k of y){let{plugin:b}=QR(k);v.registry.plugins.register(b)}}]}}),r);xo(ds,5,this),ha(this,BH,xo(ds,8,this)),xo(ds,11,this),ha(this,UH,xo(ds,12,this)),xo(ds,15,this),ha(this,YH,xo(ds,16,this,this.isDragSource?"dragging":"idle")),xo(ds,19,this),this.type=s,this.sensors=l,this.modifiers=i,this.alignment=h.alignment,this.plugins=c}pluginConfig(e){if(!this.plugins)return;for(let r of this.plugins){let a=QR(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}};ds=$R(IH);BH=new WeakMap;UH=new WeakMap;YH=new WeakMap;jo(ds,4,"type",uue,zu,BH);jo(ds,4,"modifiers",cue,zu,UH);jo(ds,4,"status",lue,zu,YH);jo(ds,2,"isDropping",sue,zu);jo(ds,2,"isDragging",fue,zu);jo(ds,2,"isDragSource",iue,zu);AL(ds,zu);var due,Zue,pue,mue,hue,gue,RH,Ti,qH,HH,VH,WH,GH,Su=class extends(RH=h3,gue=[Ao],hue=[Ao],mue=[Ao],pue=[Ao],Zue=[Ao],due=[_n],RH){constructor(e,r){var a=e,{accept:i,collisionDetector:s,collisionPriority:l,type:c}=a,d=Qce(a,["accept","collisionDetector","collisionPriority","type"]);super(d,r);xo(Ti,5,this),ha(this,qH,xo(Ti,8,this)),xo(Ti,11,this),ha(this,HH,xo(Ti,12,this)),xo(Ti,15,this),ha(this,VH,xo(Ti,16,this)),xo(Ti,19,this),ha(this,WH,xo(Ti,20,this)),xo(Ti,23,this),ha(this,GH,xo(Ti,24,this)),xo(Ti,27,this),this.accept=i,this.collisionDetector=s,this.collisionPriority=l,this.type=c}accepts(e){let{accept:r}=this;if(!r)return!0;if(typeof r==="function")return r(e);if(!e.type)return!1;if(Array.isArray(r))return r.includes(e.type);return e.type===r}get isDropTarget(){var e,r;return((r=(e=this.manager)==null?void 0:e.dragOperation.target)==null?void 0:r.id)===this.id}};Ti=$R(RH);qH=new WeakMap;HH=new WeakMap;VH=new WeakMap;WH=new WeakMap;GH=new WeakMap;jo(Ti,4,"accept",gue,Su,qH);jo(Ti,4,"type",hue,Su,HH);jo(Ti,4,"collisionDetector",mue,Su,VH);jo(Ti,4,"collisionPriority",pue,Su,WH);jo(Ti,4,"shape",Zue,Su,GH);jo(Ti,2,"isDropTarget",due,Su);AL(Ti,Su);var mbt=class{constructor(){this.registry=new Map}addEventListener(e,r){let{registry:a}=this,i=new Set(a.get(e));return i.add(r),a.set(e,i),()=>this.removeEventListener(e,r)}removeEventListener(e,r){let{registry:a}=this,i=new Set(a.get(e));i.delete(r),a.set(e,i)}dispatch(e,...r){let{registry:a}=this,i=a.get(e);if(!i)return;for(let s of i)s(...r)}},hbt=class extends mbt{constructor(e){super();this.manager=e}dispatch(e,r){let a=[r,this.manager];super.dispatch(e,...a)}};function d3(e,r=!0){let a=!1;return AH(TH({},e),{cancelable:r,get defaultPrevented(){return a},preventDefault(){if(!r)return;a=!0}})}var gbt=class extends eP{constructor(e){super(e);let r=(i,s)=>i.map(({id:l})=>l).join("")===s.map(({id:l})=>l).join(""),a=[];this.destroy=PL(()=>{let{dragOperation:i,collisionObserver:s}=e;if(i.status.initializing)a=[],s.enable()},()=>{let{collisionObserver:i,monitor:s}=e,{collisions:l}=i;if(i.isDisabled())return;if(h3.pendingIdChanges)return;let c=d3({collisions:l});if(s.dispatch("collision",c),c.defaultPrevented)return;if(r(l,a))return;else a=l;let[d]=l;yo(()=>{var h;if((d==null?void 0:d.id)!==((h=e.dragOperation.target)==null?void 0:h.id))i.disable(),e.actions.setDropTarget(d==null?void 0:d.id).then(()=>{i.enable()})})})}},hZ=((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))(hZ||{}),gZ=((e)=>(e[e.Collision=0]="Collision",e[e.ShapeIntersection=1]="ShapeIntersection",e[e.PointerIntersection=2]="PointerIntersection",e))(gZ||{}),Mue,xue,vue,_ue,yue,bue,wue,Lc,KH;wue=[Ao],bue=[_n],yue=[_n],_ue=[_n],vue=[_n],xue=[_n],Mue=[_n];var zM=class{constructor(){xo(Lc,5,this),ha(this,KH,xo(Lc,8,this,"idle")),xo(Lc,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}};Lc=$R(null);KH=new WeakMap;jo(Lc,4,"value",wue,zM,KH);jo(Lc,2,"current",bue,zM);jo(Lc,2,"idle",yue,zM);jo(Lc,2,"initializing",_ue,zM);jo(Lc,2,"initialized",vue,zM);jo(Lc,2,"dragging",xue,zM);jo(Lc,2,"dropped",Mue,zM);AL(Lc,zM);var Mbt=class{constructor(e){this.manager=e}setDragSource(e){let{dragOperation:r}=this.manager;r.sourceIdentifier=typeof e==="string"||typeof e==="number"?e:e.id}setDropTarget(e){return yo(()=>{let{dragOperation:r}=this.manager,a=e!=null?e:null;if(r.targetIdentifier===a)return Promise.resolve(!1);r.targetIdentifier=a;let i=d3({operation:r.snapshot()});if(r.status.dragging)this.manager.monitor.dispatch("dragover",i);return this.manager.renderer.rendering.then(()=>i.defaultPrevented)})}start(e){return yo(()=>{let{dragOperation:r}=this.manager;if(e.source!=null)this.setDragSource(e.source);if(!r.source)throw Error("Cannot start a drag operation without a drag source");if(!r.status.idle)throw Error("Cannot start a drag operation while another is active");let i=new AbortController,{event:s,coordinates:l}=e;fa(()=>{r.status.set("initialization-pending"),r.shape=null,r.canceled=!1,r.activatorEvent=s!=null?s:null,r.position.reset(l)});let c=d3({operation:r.snapshot()});if(this.manager.monitor.dispatch("beforedragstart",c),c.defaultPrevented)return r.reset(),i.abort(),i;return r.status.set("initializing"),r.controller=i,this.manager.renderer.rendering.then(()=>{if(i.signal.aborted)return;let{status:d}=r;if(d.current!=="initializing")return;fa(()=>{r.status.set("dragging"),this.manager.monitor.dispatch("dragstart",{nativeEvent:s,operation:r.snapshot(),cancelable:!1})})}),i})}move(e){return yo(()=>{var r,a;let{dragOperation:i}=this.manager,{status:s,controller:l}=i;if(!s.dragging||!l||l.signal.aborted)return;let c=d3({nativeEvent:e.event,operation:i.snapshot(),by:e.by,to:e.to},(r=e.cancelable)!=null?r:!0);if((a=e.propagate)!=null?a:!0)this.manager.monitor.dispatch("dragmove",c);queueMicrotask(()=>{var d,h,x,v,y;if(c.defaultPrevented)return;let k=(y=e.to)!=null?y:{x:i.position.current.x+((h=(d=e.by)==null?void 0:d.x)!=null?h:0),y:i.position.current.y+((v=(x=e.by)==null?void 0:x.y)!=null?v:0)};i.position.current=k})})}stop(e={}){return yo(()=>{var r,a;let{dragOperation:i}=this.manager,{controller:s}=i;if(!s||s.signal.aborted)return;let l,c=()=>{let h={resume:()=>{},abort:()=>{}};return l=new Promise((x,v)=>{h.resume=x,h.abort=v}),h};s.abort();let d=()=>{this.manager.renderer.rendering.then(()=>{i.status.set("dropped");let h=yo(()=>{var v;return((v=i.source)==null?void 0:v.status)==="dropping"}),x=()=>{if(i.controller===s)i.controller=void 0;i.reset()};if(h){let{source:v}=i,y=Pi(()=>{if((v==null?void 0:v.status)==="idle")y(),x()})}else this.manager.renderer.rendering.then(x)})};if(i.canceled=(r=e.canceled)!=null?r:!1,this.manager.monitor.dispatch("dragend",{nativeEvent:e.event,operation:i.snapshot(),canceled:(a=e.canceled)!=null?a:!1,suspend:c}),l)l.then(d).catch(()=>i.reset());else d()})}},TL=class extends Hi{constructor(e,r){super(e,r);this.manager=e,this.options=r}},zue=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)}},Z3,XH=class{constructor(e){this.options=e,ha(this,Z3)}set controller(e){ec(this,Z3,e),e.signal.addEventListener("abort",()=>this.abort())}activate(e){var r;(r=ti(this,Z3))==null||r.activate(e)}};Z3=new WeakMap;var Jd=class extends Hi{constructor(e,r){super(e,r);this.manager=e,this.options=r}apply(e){return e.transform}},xbt=class{constructor(e){this.draggables=new Wce,this.droppables=new Wce,this.plugins=new kH(e),this.sensors=new kH(e),this.modifiers=new kH(e)}register(e,r){if(e instanceof zu)return this.draggables.register(e.id,e);if(e instanceof Su)return this.droppables.register(e.id,e);if(e.prototype instanceof Jd)return this.modifiers.register(e,r);if(e.prototype instanceof TL)return this.sensors.register(e,r);if(e.prototype instanceof Hi)return this.plugins.register(e,r);throw Error("Invalid instance type")}unregister(e){if(e instanceof h3){if(e instanceof zu)return this.draggables.unregister(e.id,e);if(e instanceof Su)return this.droppables.unregister(e.id,e);return()=>{}}if(e.prototype instanceof Jd)return this.modifiers.unregister(e);if(e.prototype instanceof TL)return this.sensors.unregister(e);if(e.prototype instanceof Hi)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()}},Sue,Lue,kue,Cue,Iue,Rue,Pue,Tue,Aue,dO,p3,KR,Nn,QH,JH,$H,eV,tV,ZO;Aue=[_n],Tue=[Ao],Pue=[Ao],Rue=[Ao],Iue=[Ao],Cue=[Ao],kue=[_n],Lue=[_n],Sue=[_n];var Lu=class{constructor(e){xo(Nn,5,this),ha(this,dO),ha(this,p3),ha(this,KR,new mZ(void 0,(r,a)=>r&&a?r.equals(a):r===a)),this.status=new zM,ha(this,QH,xo(Nn,8,this,!1)),xo(Nn,11,this),ha(this,JH,xo(Nn,12,this,null)),xo(Nn,15,this),ha(this,$H,xo(Nn,16,this,null)),xo(Nn,19,this),ha(this,eV,xo(Nn,20,this,null)),xo(Nn,23,this),ha(this,tV,xo(Nn,24,this,[])),xo(Nn,27,this),this.position=new cO({x:0,y:0}),ha(this,ZO,{x:0,y:0}),ec(this,dO,e)}get shape(){let{current:e,initial:r,previous:a}=ti(this,KR);if(!e||!r)return null;return{current:e,initial:r,previous:a}}set shape(e){if(!e)ti(this,KR).reset();else ti(this,KR).current=e}get source(){var e;let r=this.sourceIdentifier;if(r==null)return null;let a=ti(this,dO).registry.draggables.get(r);if(a)ec(this,p3,a);return(e=a!=null?a:ti(this,p3))!=null?e:null}get target(){var e;let r=this.targetIdentifier;return r!=null?(e=ti(this,dO).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(AH(TH({},this.snapshot()),{transform:a}));return ec(this,ZO,a),a}snapshot(){return yo(()=>({source:this.source,target:this.target,activatorEvent:this.activatorEvent,transform:ti(this,ZO),shape:this.shape?i3(this.shape):null,position:i3(this.position),status:i3(this.status),canceled:this.canceled}))}reset(){fa(()=>{this.status.set("idle"),this.sourceIdentifier=null,this.targetIdentifier=null,ti(this,KR).reset(),this.position.reset({x:0,y:0}),ec(this,ZO,{x:0,y:0}),this.modifiers=[]})}};Nn=$R(null);dO=new WeakMap;p3=new WeakMap;KR=new WeakMap;QH=new WeakMap;JH=new WeakMap;$H=new WeakMap;eV=new WeakMap;tV=new WeakMap;ZO=new WeakMap;jo(Nn,2,"shape",Aue,Lu);jo(Nn,4,"canceled",Tue,Lu,QH);jo(Nn,4,"activatorEvent",Pue,Lu,JH);jo(Nn,4,"sourceIdentifier",Rue,Lu,$H);jo(Nn,4,"targetIdentifier",Iue,Lu,eV);jo(Nn,4,"modifiers",Cue,Lu,tV);jo(Nn,2,"source",kue,Lu);jo(Nn,2,"target",Lue,Lu);jo(Nn,2,"transform",Sue,Lu);AL(Nn,Lu);var vbt={get rendering(){return Promise.resolve()}};function ps(e,r){if(typeof e==="function")return e(r);return e!=null?e:r}var Eue=class{constructor(e){this.destroy=()=>{if(!this.dragOperation.status.idle)this.actions.stop({canceled:!0});this.dragOperation.modifiers.forEach((y)=>y.destroy()),this.registry.destroy(),this.collisionObserver.destroy()};var r;let a=e!=null?e:{},i=ps(a.plugins,[]),s=ps(a.sensors,[]),l=ps(a.modifiers,[]),c=(r=a.renderer)!=null?r:vbt,d=new hbt(this),h=new xbt(this);this.registry=h,this.monitor=d,this.renderer=c,this.actions=new Mbt(this),this.dragOperation=new Lu(this),this.collisionObserver=new pbt(this),this.plugins=[gbt,...i],this.modifiers=l,this.sensors=s;let{destroy:x}=this,v=PL(()=>{var y,k,b;let T=yo(()=>this.dragOperation.modifiers),D=this.modifiers;for(let U of T)if(!D.includes(U))U.destroy();this.dragOperation.modifiers=(b=(k=(y=this.dragOperation.source)==null?void 0:y.modifiers)==null?void 0:k.map((U)=>{let{plugin:A,options:j}=QR(U);return new A(this,j)}))!=null?b:D});this.destroy=()=>{v(),x()}}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 Uue=(e)=>{throw TypeError(e)},aV=(e,r,a)=>r.has(e)||Uue("Cannot "+a),vo=(e,r,a)=>(aV(e,r,"read from private field"),r.get(e)),al=(e,r,a)=>r.has(e)?Uue("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),tc=(e,r,a,i)=>(aV(e,r,"write to private field"),r.set(e,a),a),Yue=(e,r,a)=>(aV(e,r,"access private method"),a);function z3(e){if(!e)return!1;if(e instanceof KeyframeEffect)return!0;return"getKeyframes"in e&&typeof e.getKeyframes==="function"}function nV(e,r){let a=e.getAnimations(),i=null;for(let s of a){if(s.playState!=="running")continue;let{effect:l}=s,d=(z3(l)?l.getKeyframes():[]).filter(r);if(d.length>0)i=[d[d.length-1],s]}return i}function S3(e){let{width:r,height:a,top:i,left:s,bottom:l,right:c}=e.getBoundingClientRect();return{width:r,height:a,top:i,left:s,bottom:l,right:c}}function iV(e){let r=Object.prototype.toString.call(e);return r==="[object Window]"||r==="[object global]"}function _O(e){return"nodeType"in e}function ms(e){var r,a,i;if(!e)return window;if(iV(e))return e;if(!_O(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 L3(e){let{Document:r}=ms(e);return e instanceof r||"nodeType"in e&&e.nodeType===Node.DOCUMENT_NODE}function LM(e){if(!e||iV(e))return!1;return e instanceof ms(e).HTMLElement||"namespaceURI"in e&&typeof e.namespaceURI==="string"&&e.namespaceURI.endsWith("html")}function que(e){return e instanceof ms(e).SVGElement||"namespaceURI"in e&&typeof e.namespaceURI==="string"&&e.namespaceURI.endsWith("svg")}function NL(e){if(!e)return document;if(iV(e))return e.document;if(!_O(e))return document;if(L3(e))return e;if(LM(e)||que(e))return e.ownerDocument;return document}function _bt(e){var r,a,i,s;let{documentElement:l}=NL(e),c=ms(e).visualViewport,d=(r=c==null?void 0:c.width)!=null?r:l.clientWidth,h=(a=c==null?void 0:c.height)!=null?a:l.clientHeight,x=(i=c==null?void 0:c.offsetTop)!=null?i:0,v=(s=c==null?void 0:c.offsetLeft)!=null?s:0;return{top:x,left:v,right:v+d,bottom:x+h,width:d,height:h}}function ybt(e,r){if(bbt(e)&&e.open===!1)return!1;let{overflow:a,overflowX:i,overflowY:s}=getComputedStyle(e);return a==="visible"&&i==="visible"&&s==="visible"}function bbt(e){return e.tagName==="DETAILS"}function rP(e,r=e.getBoundingClientRect(),a=0){var i,s,l,c,d;let h=r,{ownerDocument:x}=e,v=(i=x.defaultView)!=null?i:window,y=e.parentElement;while(y&&y!==x.documentElement){if(!ybt(y)){let V=y.getBoundingClientRect(),J=a*(V.bottom-V.top),ee=a*(V.right-V.left),te=a*(V.bottom-V.top),re=a*(V.right-V.left);h={top:Math.max(h.top,V.top-J),right:Math.min(h.right,V.right+ee),bottom:Math.min(h.bottom,V.bottom+te),left:Math.max(h.left,V.left-re),width:0,height:0},h.width=h.right-h.left,h.height=h.bottom-h.top}y=y.parentElement}let k=v.visualViewport,b=(s=k==null?void 0:k.offsetTop)!=null?s:0,T=(l=k==null?void 0:k.offsetLeft)!=null?l:0,D=(c=k==null?void 0:k.width)!=null?c:v.innerWidth,U=(d=k==null?void 0:k.height)!=null?d:v.innerHeight,A=a*U,j=a*D;if(h={top:Math.max(h.top,b-A),right:Math.min(h.right,T+D+j),bottom:Math.min(h.bottom,b+U+A),left:Math.max(h.left,T-j),width:0,height:0},h.width=h.right-h.left,h.height=h.bottom-h.top,h.width<0)h.width=0;if(h.height<0)h.height=0;return h}function FL(e){return{x:e.clientX,y:e.clientY}}var Hue=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function _3(e=document,r=new Set){if(r.has(e))return[];r.add(e);let a=[e];for(let i of Array.from(e.querySelectorAll("iframe, frame")))try{let s=i.contentDocument;if(s&&!r.has(s))a.push(..._3(s,r))}catch(s){}try{let i=e.defaultView;if(i&&i!==window.top){let s=i.parent;if(s&&s.document&&s.document!==e)a.push(..._3(s.document,r))}}catch(i){}return a}function k3(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function fV(){var e,r;let a=k3()?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 C3(e){if(!e||!_O(e))return!1;return e instanceof ms(e).ShadowRoot}function yO(e){if(e&&_O(e)){let r=e.getRootNode();if(C3(r))return r;else if(r instanceof Document)return r}return NL(e)}function bO(e){return e.matchMedia("(prefers-reduced-motion: reduce)").matches}function Vue(e){let a=e.cloneNode(!0),i=Array.from(e.querySelectorAll("input, textarea, select, canvas, [contenteditable]"));return Array.from(a.querySelectorAll("input, textarea, select, canvas, [contenteditable]")).forEach((l,c)=>{let d=i[c];if(Due(l)&&Due(d)){if(l.type!=="file")l.value=d.value;if(l.type==="radio"&&l.name)l.name=`Cloned__${l.name}`}if(Oue(l)&&Oue(d)&&d.width>0&&d.height>0){let h=l.getContext("2d");h==null||h.drawImage(d,0,0)}}),a}function Due(e){return"value"in e}function Oue(e){return e.tagName==="CANVAS"}function sV(e,{x:r,y:a}){let i=e.elementFromPoint(r,a);if(wbt(i)){let{contentDocument:s}=i;if(s){let{left:l,top:c}=i.getBoundingClientRect();return sV(s,{x:r-l,y:a-c})}}return i}function wbt(e){return(e==null?void 0:e.tagName)==="IFRAME"}var wO=new WeakMap;function Wue(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 lV=class{constructor(){this.entries=new Set,this.clear=()=>{for(let e of this.entries){let[r,{type:a,listener:i,options:s}]=e;r.removeEventListener(a,i,s)}this.entries.clear()}}bind(e,r){let a=Array.isArray(e)?e:[e],i=Array.isArray(r)?r:[r],s=[];for(let c of a)for(let d of i){let{type:h,listener:x,options:v}=d,y=[c,d];c.addEventListener(h,x,v),this.entries.add(y),s.push(y)}let l=this.entries;return function(){for(let d of s){let[h,{type:x,listener:v,options:y}]=d;h.removeEventListener(x,v,y),l.delete(d)}}}};function OL(e){let r=e==null?void 0:e.ownerDocument.defaultView;if(r&&r.self!==r.parent)return r.frameElement}function zbt(e){let r=new Set,a=OL(e);while(a)r.add(a),a=OL(a);return r}function Sbt(e,r){let a=setTimeout(e,r);return()=>clearTimeout(a)}function Gue(e,r){let a=()=>performance.now(),i,s;return function(...l){let c=this;if(!s)e.apply(c,l),s=a();else i==null||i(),i=Sbt(()=>{e.apply(c,l),s=a()},r-(a()-s))}}function Lbt(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 kbt(e,r=e.getBoundingClientRect()){let{width:a,height:i}=rP(e,r);return a>0&&i>0}var Cbt=Hue?ResizeObserver:class{observe(){}unobserve(){}disconnect(){}},x3,Ibt=class extends Cbt{constructor(e){super((r)=>{if(!vo(this,x3)){tc(this,x3,!0);return}e(r,this)});al(this,x3,!1)}};x3=new WeakMap;var Nue=Array.from({length:100},(e,r)=>r/100),Kue=75,EL,y3,rz,DL,mO,vf,xO,hO,b3,Xue,Que,Jue=class{constructor(e,r,a={debug:!1,skipInitial:!1}){this.element=e,this.callback=r,al(this,b3),this.disconnect=()=>{var l,c,d;tc(this,xO,!0),(l=vo(this,rz))==null||l.disconnect(),(c=vo(this,DL))==null||c.disconnect(),vo(this,mO).disconnect(),(d=vo(this,vf))==null||d.remove()},al(this,EL,!0),al(this,y3),al(this,rz),al(this,DL),al(this,mO),al(this,vf),al(this,xO,!1),al(this,hO,Gue(()=>{var l,c,d;let{element:h}=this;if((l=vo(this,DL))==null||l.disconnect(),vo(this,xO)||!vo(this,EL)||!h.isConnected)return;let x=(c=h.ownerDocument)!=null?c:document,{innerHeight:v,innerWidth:y}=(d=x.defaultView)!=null?d:window,k=h.getBoundingClientRect(),b=rP(h,k),{top:T,left:D,bottom:U,right:A}=b,j=-Math.floor(T),V=-Math.floor(D),J=-Math.floor(y-A),ee=-Math.floor(v-U),te=`${j}px ${J}px ${ee}px ${V}px`;this.boundingClientRect=k,tc(this,DL,new IntersectionObserver((re)=>{let[ae]=re,{intersectionRect:he}=ae;if((ae.intersectionRatio!==1?ae.intersectionRatio:ol.intersectionRatio(he,rP(h)))!==1)vo(this,hO).call(this)},{threshold:Nue,rootMargin:te,root:x})),vo(this,DL).observe(h),Yue(this,b3,Xue).call(this)},Kue)),this.boundingClientRect=e.getBoundingClientRect(),tc(this,EL,kbt(e,this.boundingClientRect));let i=!0;this.callback=(l)=>{if(i){if(i=!1,a.skipInitial)return}r(l)};let s=e.ownerDocument;if(a==null?void 0:a.debug)tc(this,vf,document.createElement("div")),vo(this,vf).style.background="rgba(0,0,0,0.15)",vo(this,vf).style.position="fixed",vo(this,vf).style.pointerEvents="none",s.body.appendChild(vo(this,vf));if(tc(this,mO,new IntersectionObserver((l)=>{var c,d;let h=l[l.length-1],{boundingClientRect:x,isIntersecting:v}=h,{width:y,height:k}=x,b=vo(this,EL);if(tc(this,EL,v),!y&&!k)return;if(b&&!v){if((c=vo(this,DL))==null||c.disconnect(),this.callback(null),(d=vo(this,rz))==null||d.disconnect(),tc(this,rz,void 0),vo(this,vf))vo(this,vf).style.visibility="hidden"}else vo(this,hO).call(this);if(v&&!vo(this,rz))tc(this,rz,new Ibt(vo(this,hO))),vo(this,rz).observe(e)},{threshold:Nue,root:s})),vo(this,EL)&&!a.skipInitial)this.callback(this.boundingClientRect);vo(this,mO).observe(e)}};EL=new WeakMap;y3=new WeakMap;rz=new WeakMap;DL=new WeakMap;mO=new WeakMap;vf=new WeakMap;xO=new WeakMap;hO=new WeakMap;b3=new WeakSet;Xue=function(){if(vo(this,xO))return;if(Yue(this,b3,Que).call(this),Lbt(this.boundingClientRect,vo(this,y3)))return;this.callback(this.boundingClientRect),tc(this,y3,this.boundingClientRect)};Que=function(){if(vo(this,vf)){let{top:e,left:r,width:a,height:i}=rP(this.element);vo(this,vf).style.overflow="hidden",vo(this,vf).style.visibility="visible",vo(this,vf).style.top=`${Math.floor(e)}px`,vo(this,vf).style.left=`${Math.floor(r)}px`,vo(this,vf).style.width=`${Math.floor(a)}px`,vo(this,vf).style.height=`${Math.floor(i)}px`}};var g3=new WeakMap,M3=new WeakMap;function Rbt(e,r){let a=g3.get(e);if(!a)a={disconnect:new Jue(e,(s)=>{let l=g3.get(e);if(!l)return;l.callbacks.forEach((c)=>c(s))},{skipInitial:!0}).disconnect,callbacks:new Set};return a.callbacks.add(r),g3.set(e,a),()=>{if(a.callbacks.delete(r),a.callbacks.size===0)g3.delete(e),a.disconnect()}}function Pbt(e,r){let a=new Set;for(let i of e){let s=Rbt(i,r);a.add(s)}return()=>a.forEach((i)=>i())}function Tbt(e,r){var a;let i=e.ownerDocument;if(!M3.has(i)){let c=new AbortController,d=new Set;document.addEventListener("scroll",(h)=>d.forEach((x)=>x(h)),{capture:!0,passive:!0,signal:c.signal}),M3.set(i,{disconnect:()=>c.abort(),listeners:d})}let{listeners:s,disconnect:l}=(a=M3.get(i))!=null?a:{};if(!s||!l)return()=>{};return s.add(r),()=>{if(s.delete(r),s.size===0)l(),M3.delete(i)}}var gO,MO,v3,oV,$ue=class{constructor(e,r,a){this.callback=r,al(this,gO),al(this,MO,!1),al(this,v3),al(this,oV,Gue((c)=>{if(vo(this,MO))return;if(!c.target)return;if("contains"in c.target&&typeof c.target.contains==="function"){for(let d of vo(this,v3))if(c.target.contains(d)){this.callback(vo(this,gO).boundingClientRect);break}}},Kue));let i=zbt(e),s=Pbt(i,r),l=Tbt(e,vo(this,oV));tc(this,v3,i),tc(this,gO,new Jue(e,r,a)),this.disconnect=()=>{if(vo(this,MO))return;tc(this,MO,!0),s(),l(),vo(this,gO).disconnect()}}};gO=new WeakMap;MO=new WeakMap;v3=new WeakMap;oV=new WeakMap;function I3(e){return"showPopover"in e&&"hidePopover"in e&&typeof e.showPopover==="function"&&typeof e.hidePopover==="function"}function jL(e){try{if(I3(e)&&e.isConnected&&e.hasAttribute("popover")&&!e.matches(":popover-open"))e.showPopover()}catch(r){}}function Fue(e){if(!Hue||!e)return!1;return e===NL(e).scrollingElement}function ede(e){var r,a;let i=ms(e),s=Fue(e)?_bt(e):S3(e),l=i.visualViewport,c=Fue(e)?{height:(r=l==null?void 0:l.height)!=null?r:i.innerHeight,width:(a=l==null?void 0:l.width)!=null?a:i.innerWidth}:{height:e.clientHeight,width:e.clientWidth},d={current:{x:e.scrollLeft,y:e.scrollTop},max:{x:e.scrollWidth-c.width,y:e.scrollHeight-c.height}},h=d.current.y<=0,x=d.current.x<=0,v=d.current.y>=d.max.y,y=d.current.x>=d.max.x;return{rect:s,position:d,isTop:h,isLeft:x,isBottom:v,isRight:y}}function tde(e,r){let{isTop:a,isBottom:i,isLeft:s,isRight:l,position:c}=ede(e),{x:d,y:h}=r!=null?r:{x:0,y:0},x=!a&&c.current.y+h>0,v=!i&&c.current.y+h<c.max.y,y=!s&&c.current.x+d>0,k=!l&&c.current.x+d<c.max.x;return{top:x,bottom:v,left:y,right:k,x:y||k,y:x||v}}var cV=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))}},zO=new cV((e)=>{if(typeof requestAnimationFrame==="function")requestAnimationFrame(e);else e()}),Abt=new cV((e)=>setTimeout(e,50)),w3=new Map,Ebt=w3.clear.bind(w3);function kc(e,r=!1){if(!r)return jue(e);let a=w3.get(e);if(a)return a;return a=jue(e),w3.set(e,a),Abt.schedule(Ebt),a}function jue(e){return ms(e).getComputedStyle(e)}function Dbt(e,r=kc(e,!0)){return r.position==="fixed"||r.position==="sticky"}function Obt(e,r=kc(e,!0)){let a=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((s)=>{let l=r[s];return typeof l==="string"?a.test(l):!1})}var Nbt={excludeElement:!0,escapeShadowDOM:!0};function R3(e,r=Nbt){let{limit:a,excludeElement:i,escapeShadowDOM:s}=r,l=new Set;function c(d){if(a!=null&&l.size>=a)return l;if(!d)return l;if(L3(d)&&d.scrollingElement!=null&&!l.has(d.scrollingElement))return l.add(d.scrollingElement),l;if(s&&C3(d))return c(d.host);if(!LM(d)){if(que(d))return c(d.parentElement);return l}if(l.has(d))return l;let h=kc(d,!0);if(i&&d===e);else if(Obt(d,h))l.add(d);if(Dbt(d,h)){let{scrollingElement:x}=d.ownerDocument;if(x)l.add(x);return l}return c(d.parentNode)}if(!e)return l;return c(e)}function BL(e,r=window.frameElement){let a={x:0,y:0,scaleX:1,scaleY:1};if(!e)return a;let i=OL(e);while(i){if(i===r)return a;let s=S3(i),{x:l,y:c}=Fbt(i,s);a.x=a.x+s.left,a.y=a.y+s.top,a.scaleX=a.scaleX*l,a.scaleY=a.scaleY*c,i=OL(i)}return a}function Fbt(e,r=S3(e)){let a=Math.round(r.width),i=Math.round(r.height);if(LM(e))return{x:a/e.offsetWidth,y:i/e.offsetHeight};let s=kc(e,!0);return{x:(parseFloat(s.width)||a)/a,y:(parseFloat(s.height)||i)/i}}function jbt(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 oP(e){if(!e||e==="none")return null;let[r,a,i="0"]=e.split(" "),s={x:parseFloat(r),y:parseFloat(a),z:parseInt(i,10)};if(isNaN(s.x)&&isNaN(s.y))return null;return{x:isNaN(s.x)?0:s.x,y:isNaN(s.y)?0:s.y,z:isNaN(s.z)?0:s.z}}function SO(e){var r,a,i,s,l,c,d,h,x;let{scale:v,transform:y,translate:k}=e,b=jbt(v),T=oP(k),D=Bbt(y);if(!D&&!b&&!T)return null;let U={x:(r=b==null?void 0:b.x)!=null?r:1,y:(a=b==null?void 0:b.y)!=null?a:1},A={x:(i=T==null?void 0:T.x)!=null?i:0,y:(s=T==null?void 0:T.y)!=null?s:0},j={x:(l=D==null?void 0:D.x)!=null?l:0,y:(c=D==null?void 0:D.y)!=null?c:0,scaleX:(d=D==null?void 0:D.scaleX)!=null?d:1,scaleY:(h=D==null?void 0:D.scaleY)!=null?h:1};return{x:A.x+j.x,y:A.y+j.y,z:(x=T==null?void 0:T.z)!=null?x:0,scaleX:U.x*j.scaleX,scaleY:U.y*j.scaleY}}function Bbt(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 rc=((e)=>(e[e.Idle=0]="Idle",e[e.Forward=1]="Forward",e[e.Reverse=-1]="Reverse",e))(rc||{}),Ubt={x:0.2,y:0.2},Ybt={x:10,y:10};function rde(e,r,a,i=25,s=Ubt,l=Ybt){let{x:c,y:d}=r,{rect:h,isTop:x,isBottom:v,isLeft:y,isRight:k}=ede(e),b=BL(e),T=kc(e,!0),D=SO(T),U=D!==null?(D==null?void 0:D.scaleX)<0:!1,A=D!==null?(D==null?void 0:D.scaleY)<0:!1,j=new ol(h.left*b.scaleX+b.x,h.top*b.scaleY+b.y,h.width*b.scaleX,h.height*b.scaleY),V={x:0,y:0},J={x:0,y:0},ee={height:j.height*s.y,width:j.width*s.x};if(ee.height>0&&(!x||A&&!v)&&d<=j.top+ee.height&&(a==null?void 0:a.y)!==1&&c>=j.left-l.x&&c<=j.right+l.x)V.y=A?1:-1,J.y=i*Math.abs((j.top+ee.height-d)/ee.height);else if(ee.height>0&&(!v||A&&!x)&&d>=j.bottom-ee.height&&(a==null?void 0:a.y)!==-1&&c>=j.left-l.x&&c<=j.right+l.x)V.y=A?-1:1,J.y=i*Math.abs((j.bottom-ee.height-d)/ee.height);if(ee.width>0&&(!k||U&&!y)&&c>=j.right-ee.width&&(a==null?void 0:a.x)!==-1&&d>=j.top-l.y&&d<=j.bottom+l.y)V.x=U?-1:1,J.x=i*Math.abs((j.right-ee.width-c)/ee.width);else if(ee.width>0&&(!y||U&&!k)&&c<=j.left+ee.width&&(a==null?void 0:a.x)!==1&&d>=j.top-l.y&&d<=j.bottom+l.y)V.x=U?1:-1,J.x=i*Math.abs((j.left+ee.width-c)/ee.width);return{direction:V,speed:J}}function P3(e,{block:r="nearest",inline:a="nearest"}={}){if(!LM(e))return;let i=R3(e),s=[];for(let l of i){if(!LM(l))continue;let{top:c,left:d}=qbt(e,l),h=c,x=d;for(let v of s)h-=v.scrollTop,x-=v.scrollLeft;if(r!=="none"){let v=h<l.scrollTop,y=h+e.offsetHeight>l.scrollTop+l.clientHeight;if(v!==y)if(r==="center")l.scrollTop=h-l.clientHeight/2+e.offsetHeight/2;else if(v)l.scrollTop=h;else l.scrollTop=h+e.offsetHeight-l.clientHeight}if(a!=="none"){let v=x<l.scrollLeft,y=x+e.offsetWidth>l.scrollLeft+l.clientWidth;if(v!==y)if(a==="center")l.scrollLeft=x-l.clientWidth/2+e.offsetWidth/2;else if(v)l.scrollLeft=x;else l.scrollLeft=x+e.offsetWidth-l.clientWidth}s.push(l)}}function Bue(e){let r=0,a=0,i=e;while(i){r+=i.offsetTop,a+=i.offsetLeft;let s=i.offsetParent;if(!LM(s))break;r+=s.clientTop,a+=s.clientLeft,i=s}return{top:r,left:a}}function qbt(e,r){let a=Bue(e),i=Bue(r);return{top:a.top-i.top-r.clientTop,left:a.left-i.left-r.clientLeft}}function Hbt(e,r,a){let{scaleX:i,scaleY:s,x:l,y:c}=r,d=e.left+l+(1-i)*parseFloat(a),h=e.top+c+(1-s)*parseFloat(a.slice(a.indexOf(" ")+1)),x=i?e.width*i:e.width,v=s?e.height*s:e.height;return{width:x,height:v,top:h,right:d+x,bottom:h+v,left:d}}function Vbt(e,r,a){let{scaleX:i,scaleY:s,x:l,y:c}=r,d=e.left-l-(1-i)*parseFloat(a),h=e.top-c-(1-s)*parseFloat(a.slice(a.indexOf(" ")+1)),x=i?e.width/i:e.width,v=s?e.height/s:e.height;return{width:x,height:v,top:h,right:d+x,bottom:h+v,left:d}}function T3({element:e,keyframes:r,options:a}){return e.animate(r,a).finished}function uV(e,r=kc(e).translate,a=!0){if(a){let i=nV(e,(s)=>("translate"in s));if(i){let{translate:s=""}=i[0];if(typeof s==="string"){let l=oP(s);if(l)return l}}}if(r){let i=oP(r);if(i)return i}return{x:0,y:0,z:0}}var Wbt=new cV((e)=>setTimeout(e,0)),vO=new Map,Gbt=vO.clear.bind(vO);function Kbt(e){let r=e.ownerDocument,a=vO.get(r);if(a)return a;a=r.getAnimations(),vO.set(r,a),Wbt.schedule(Gbt);let i=a.filter((s)=>z3(s.effect)&&s.effect.target===e);return vO.set(e,i),a}function Xbt(e,r){let a=Kbt(e).filter((i)=>{var s,l;if(z3(i.effect)){let{target:c}=i.effect;if((l=c&&((s=r.isValidTarget)==null?void 0:s.call(r,c)))!=null?l:!0)return i.effect.getKeyframes().some((h)=>{for(let x of r.properties)if(h[x])return!0})}}).map((i)=>{let{effect:s,currentTime:l}=i,c=s==null?void 0:s.getComputedTiming().duration;if(i.pending||i.playState==="finished")return;if(typeof c=="number"&&typeof l=="number"&&l<c)return i.currentTime=c,()=>{i.currentTime=l}});if(a.length>0)return()=>a.forEach((i)=>i==null?void 0:i())}var Cc=class extends ol{constructor(e,r={}){var a,i,s,l;let{frameTransform:c=BL(e),ignoreTransforms:d,getBoundingClientRect:h=S3}=r,x=Xbt(e,{properties:["transform","translate","scale","width","height"],isValidTarget:(ee)=>(ee!==e||k3())&&ee.contains(e)}),v=h(e),{top:y,left:k,width:b,height:T}=v,D,U=kc(e),A=SO(U),j={x:(a=A==null?void 0:A.scaleX)!=null?a:1,y:(i=A==null?void 0:A.scaleY)!=null?i:1},V=Qbt(e,U);if(x==null||x(),A){if(D=Vbt(v,A,U.transformOrigin),d||V)y=D.top,k=D.left,b=D.width,T=D.height}let J={width:(s=D==null?void 0:D.width)!=null?s:b,height:(l=D==null?void 0:D.height)!=null?l:T};if(V&&!d&&D){let ee=Hbt(D,V,U.transformOrigin);y=ee.top,k=ee.left,b=ee.width,T=ee.height,j.x=V.scaleX,j.y=V.scaleY}if(c){if(!d)k*=c.scaleX,b*=c.scaleX,y*=c.scaleY,T*=c.scaleY;k+=c.x,y+=c.y}super(k,y,b,T);this.scale=j,this.intrinsicWidth=J.width,this.intrinsicHeight=J.height}};function Qbt(e,r){let a=e.getAnimations();if(!a.length)return null;let i,s,l,c=!1;for(let d of a){if(d.playState!=="running")continue;let h=z3(d.effect)?d.effect.getKeyframes():[],x=h[h.length-1];if(!x)continue;let{transform:v,translate:y,scale:k}=x;if(typeof v==="string"&&v)i=v,c=!0;if(typeof y==="string"&&y)s=y,c=!0;if(typeof k==="string"&&k)l=k,c=!0}if(!c)return null;return SO({transform:i!=null?i:r.transform,translate:s!=null?s:r.translate,scale:l!=null?l:r.scale})}function tP(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 ode=class{constructor(e){this.element=e,this.initial=new Map}set(e,r=""){let{element:a}=this;if(!tP(a))return;for(let[i,s]of Object.entries(e)){let l=`${r}${i}`;if(!this.initial.has(l))this.initial.set(l,a.style.getPropertyValue(l));a.style.setProperty(l,typeof s==="string"?s:`${s}px`)}}remove(e,r=""){let{element:a}=this;if(!tP(a))return;for(let i of e){let s=`${r}${i}`;a.style.removeProperty(s)}}reset(){let{element:e}=this;if(!tP(e))return;for(let[r,a]of this.initial)e.style.setProperty(r,a);if(e.getAttribute("style")==="")e.removeAttribute("style")}};function oz(e){if(!e)return!1;return e instanceof ms(e).Element||_O(e)&&e.nodeType===Node.ELEMENT_NODE}function UL(e){if(!e)return!1;let{KeyboardEvent:r}=ms(e.target);return e instanceof r}function ade(e){if(!e)return!1;let{PointerEvent:r}=ms(e.target);return e instanceof r}function nde(e){if(!oz(e))return!1;let{tagName:r}=e;return r==="INPUT"||r==="TEXTAREA"||Jbt(e)}function Jbt(e){return e.hasAttribute("contenteditable")&&e.getAttribute("contenteditable")!=="false"}var rV={};function A3(e){let r=rV[e]==null?0:rV[e]+1;return rV[e]=r,`${e}-${r}`}var $bt=({dragOperation:e,droppable:r})=>{let a=e.position.current;if(!a)return null;let{id:i}=r;if(!r.shape)return null;if(r.shape.containsPoint(a)){let s=ts.distance(r.shape.center,a);return{id:i,value:1/s,type:gZ.PointerIntersection,priority:hZ.High}}return null},ewt=({dragOperation:e,droppable:r})=>{let{shape:a}=e;if(!r.shape||!(a==null?void 0:a.current))return null;let i=a.current.intersectionArea(r.shape);if(i){let{position:s}=e,l=ts.distance(r.shape.center,s.current),d=i/(a.current.area+r.shape.area-i)/l;return{id:r.id,value:d,type:gZ.ShapeIntersection,priority:hZ.Normal}}return null},E3=(e)=>{var r;return(r=$bt(e))!=null?r:ewt(e)},ide=(e)=>{let{dragOperation:r,droppable:a}=e,{shape:i,position:s}=r;if(!a.shape)return null;let l=i?ol.from(i.current.boundingRectangle).corners:void 0,d=ol.from(a.shape.boundingRectangle).corners.reduce((h,x,v)=>{var y;return h+ts.distance(ts.from(x),(y=l==null?void 0:l[v])!=null?y:s.current)},0)/4;return{id:a.id,value:1/d,type:gZ.Collision,priority:hZ.Normal}};var{create:twt,defineProperty:zV,defineProperties:rwt,getOwnPropertyDescriptor:owt,getOwnPropertyDescriptors:awt,getOwnPropertySymbols:N3}=Object,mde=Object.prototype.hasOwnProperty,hde=Object.prototype.propertyIsEnumerable,gde=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),cP=(e)=>{throw TypeError(e)},pV=(e,r,a)=>(r in e)?zV(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,TO=(e,r)=>{for(var a in r||(r={}))if(mde.call(r,a))pV(e,a,r[a]);if(N3){for(var a of N3(r))if(hde.call(r,a))pV(e,a,r[a])}return e},SV=(e,r)=>rwt(e,awt(r)),fde=(e,r)=>zV(e,"name",{value:r,configurable:!0}),Mde=(e,r)=>{var a={};for(var i in e)if(mde.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&N3){for(var i of N3(e))if(r.indexOf(i)<0&&hde.call(e,i))a[i]=e[i]}return a},uP=(e)=>{var r;return[,,,twt((r=e==null?void 0:e[gde("metadata")])!=null?r:null)]},xde=["class","method","getter","setter","accessor","field","value","get","set"],kO=(e)=>e!==void 0&&typeof e!=="function"?cP("Function expected"):e,nwt=(e,r,a,i,s)=>({kind:xde[e],name:r,metadata:i,addInitializer:(l)=>a._?cP("Already initialized"):s.push(kO(l||null))}),WL=(e,r)=>pV(r,gde("metadata"),e[3]),Di=(e,r,a,i)=>{for(var s=0,l=e[r>>1],c=l&&l.length;s<c;s++)r&1?l[s].call(a):i=l[s].call(a,i);return i},Ic=(e,r,a,i,s,l)=>{var c,d,h,x,v,y=r&7,k=!!(r&8),b=!!(r&16),T=y>3?e.length+1:y?k?1:2:0,D=xde[y+5],U=y>3&&(e[T-1]=[]),A=e[T]||(e[T]=[]),j=y&&(!b&&!k&&(s=s.prototype),y<5&&(y>3||!b)&&owt(y<4?s:{get[a](){return Ja(this,l)},set[a](J){return Ms(this,l,J)}},a));y?b&&y<4&&fde(l,(y>2?"set ":y>1?"get ":"")+a):fde(s,a);for(var V=i.length-1;V>=0;V--){if(x=nwt(y,a,h={},e[3],A),y){if(x.static=k,x.private=b,v=x.access={has:b?(J)=>iwt(s,J):(J)=>(a in J)},y^3)v.get=b?(J)=>(y^1?Ja:VL)(J,s,y^4?l:j.get):(J)=>J[a];if(y>2)v.set=b?(J,ee)=>Ms(J,s,ee,y^4?l:j.set):(J,ee)=>J[a]=ee}if(d=(0,i[V])(y?y<4?b?l:j[D]:y>4?void 0:{get:j.get,set:j.set}:s,x),h._=1,y^4||d===void 0)kO(d)&&(y>4?U.unshift(d):y?b?l=d:j[D]=d:s=d);else if(typeof d!=="object"||d===null)cP("Object expected");else kO(c=d.get)&&(j.get=c),kO(c=d.set)&&(j.set=c),kO(c=d.init)&&U.unshift(c)}return y||WL(e,s),j&&zV(s,a,j),b?y^4?l:j:s},LV=(e,r,a)=>r.has(e)||cP("Cannot "+a),iwt=(e,r)=>Object(r)!==r?cP('Cannot use the "in" operator on this value'):e.has(r),Ja=(e,r,a)=>(LV(e,r,"read from private field"),a?a.call(e):r.get(e)),ri=(e,r,a)=>r.has(e)?cP("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Ms=(e,r,a,i)=>(LV(e,r,"write to private field"),i?i.call(e,a):r.set(e,a),a),VL=(e,r,a)=>(LV(e,r,"access private method"),a),sde={role:"button",roleDescription:"draggable"},fwt="dnd-kit-description",swt="dnd-kit-announcement",lwt={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."},cwt={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 uwt(e){let r=e.tagName.toLowerCase();return["input","select","textarea","a","button"].includes(r)}function dwt(e,r){let a=document.createElement("div");return a.id=e,a.style.setProperty("display","none"),a.textContent=r,a}function Zwt(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 pwt=["dragover","dragmove"],mwt=class extends Hi{constructor(e,r){super(e);let{id:a,idPrefix:{description:i=fwt,announcement:s=swt}={},announcements:l=cwt,screenReaderInstructions:c=lwt,debounce:d=500}=r!=null?r:{},h=a?`${i}-${a}`:A3(i),x=a?`${s}-${a}`:A3(s),v,y,k,b,T=(ee=b)=>{if(!k||!ee)return;if((k==null?void 0:k.nodeValue)!==ee)k.nodeValue=ee},D=()=>zO.schedule(T),U=hwt(D,d),A=Object.entries(l).map(([ee,te])=>this.manager.monitor.addEventListener(ee,(re,ae)=>{let he=k;if(!he)return;let be=te==null?void 0:te(re,ae);if(be&&he.nodeValue!==be)if(b=be,pwt.includes(ee))U();else D(),U.cancel()})),j=()=>{let ee=[];if(!(v==null?void 0:v.isConnected))v=dwt(h,c.draggable),ee.push(v);if(!(y==null?void 0:y.isConnected))y=Zwt(x),k=document.createTextNode(""),y.appendChild(k),ee.push(y);if(ee.length>0)document.body.append(...ee)},V=new Set;function J(){for(let ee of V)ee()}this.registerEffect(()=>{var ee;V.clear();for(let te of this.manager.registry.draggables.value){let re=(ee=te.handle)!=null?ee:te.element;if(re){if(!v||!y)V.add(j);if((!uwt(re)||k3())&&!re.hasAttribute("tabindex"))V.add(()=>re.setAttribute("tabindex","0"));if(!re.hasAttribute("role")&&re.tagName.toLowerCase()!=="button")V.add(()=>re.setAttribute("role",sde.role));if(!re.hasAttribute("aria-roledescription"))V.add(()=>re.setAttribute("aria-roledescription",sde.roleDescription));if(!re.hasAttribute("aria-describedby"))V.add(()=>re.setAttribute("aria-describedby",h));for(let he of["aria-pressed","aria-grabbed"]){let be=String(te.isDragging);if(re.getAttribute(he)!==be)V.add(()=>re.setAttribute(he,be))}let ae=String(te.disabled);if(re.getAttribute("aria-disabled")!==ae)V.add(()=>re.setAttribute("aria-disabled",ae))}}if(V.size>0)zO.schedule(J)}),this.destroy=()=>{super.destroy(),v==null||v.remove(),y==null||y.remove(),A.forEach((ee)=>ee())}}};function hwt(e,r){let a,i=()=>{clearTimeout(a),a=setTimeout(e,r)};return i.cancel=()=>clearTimeout(a),i}var F3=new Map,vde,_de,yde,bde,mV,RO,FM,kV,sP,wde,zde,Sde,Lde,sz=class extends(mV=eP,bde=[Ao],yde=[_n],_de=[_n],vde=[_n],mV){constructor(r,a){super(r,a);Di(FM,5,this),ri(this,sP),ri(this,RO,new Set),ri(this,kV,Di(FM,8,this,new Set)),Di(FM,11,this),this.registerEffect(VL(this,sP,wde))}register(r){return Ja(this,RO).add(r),()=>{Ja(this,RO).delete(r)}}addRoot(r){return yo(()=>{let a=new Set(this.additionalRoots);a.add(r),this.additionalRoots=a}),()=>{yo(()=>{let a=new Set(this.additionalRoots);a.delete(r),this.additionalRoots=a})}}get sourceRoot(){var r;let{source:a}=this.manager.dragOperation;return yO((r=a==null?void 0:a.element)!=null?r:null)}get targetRoot(){var r;let{target:a}=this.manager.dragOperation;return yO((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}};FM=uP(mV);RO=new WeakMap;kV=new WeakMap;sP=new WeakSet;wde=function(){let{roots:e}=this,r=[];for(let a of e)for(let i of Ja(this,RO))r.push(VL(this,sP,zde).call(this,a,i));return()=>{for(let a of r)a()}};zde=function(e,r){let a=F3.get(e);if(!a)a=new Map,F3.set(e,a);let i=a.get(r);if(!i){let l=L3(e)?VL(this,sP,Sde).call(this,e,a,r):VL(this,sP,Lde).call(this,e,a,r);if(!l)return()=>{};i=l,a.set(r,i)}i.refCount++;let s=!1;return()=>{if(s)return;if(s=!0,i.refCount--,i.refCount===0)i.cleanup()}};Sde=function(e,r,a){var i;let s=e.createElement("style"),{nonce:l}=(i=this.options)!=null?i:{};if(l)s.setAttribute("nonce",l);s.textContent=a,e.head.prepend(s);let c=new MutationObserver((d)=>{for(let h of d)for(let x of Array.from(h.removedNodes))if(x===s){e.head.prepend(s);return}});return c.observe(e.head,{childList:!0}),{refCount:0,cleanup:()=>{if(c.disconnect(),s.remove(),r.delete(a),r.size===0)F3.delete(e)}}};Lde=function(e,r,a){"adoptedStyleSheets"in e&&Array.isArray(e.adoptedStyleSheets);let i=e.ownerDocument.defaultView,{CSSStyleSheet:s}=i!=null?i:{};if(!s)return null;let l=new s;return l.replaceSync(a),e.adoptedStyleSheets.push(l),{refCount:0,cleanup:()=>{var c;if(C3(e)&&((c=e.host)==null?void 0:c.isConnected)){let d=e.adoptedStyleSheets.indexOf(l);if(d!==-1)e.adoptedStyleSheets.splice(d,1)}if(r.delete(a),r.size===0)F3.delete(e)}}};Ic(FM,4,"additionalRoots",bde,sz,kV);Ic(FM,2,"sourceRoot",yde,sz);Ic(FM,2,"targetRoot",_de,sz);Ic(FM,2,"roots",vde,sz);WL(FM,sz);sz.configure=oa(sz);var Y3=sz,gwt=class extends Hi{constructor(e,r){super(e,r);this.manager=e;let{cursor:a="grabbing"}=r!=null?r:{},i=e.registry.plugins.get(Y3),s=i==null?void 0:i.register(`* { cursor: ${a} !important; }`);if(s){let l=this.destroy.bind(this);this.destroy=()=>{s(),l()}}}},OO="data-dnd-",hV=`${OO}dropping`,_f="--dnd-",MZ=`${OO}dragging`,j3=`${OO}placeholder`,Mwt=[MZ,j3,"popover","aria-pressed","aria-grabbing"],xwt=["view-transition-name"],vwt=`
|
|
86
|
-
:is(:root,:host) [${MZ}] {
|
|
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(${_f}top, 0px) !important;
|
|
93
|
-
left: var(${_f}left, 0px) !important;
|
|
94
|
-
right: unset !important;
|
|
95
|
-
bottom: unset !important;
|
|
96
|
-
width: var(${_f}width, auto);
|
|
97
|
-
max-width: var(${_f}width, auto);
|
|
98
|
-
height: var(${_f}height, auto);
|
|
99
|
-
max-height: var(${_f}height, auto);
|
|
100
|
-
transform: var(${_f}transform, none) !important;
|
|
101
|
-
transition: var(${_f}transition) !important;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
:is(:root,:host) [${j3}] {
|
|
105
|
-
transition: none;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
:is(:root,:host) [${j3}='hidden'] {
|
|
109
|
-
visibility: hidden;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
[${MZ}] * {
|
|
113
|
-
pointer-events: none !important;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
[${MZ}]:not([${hV}]) {
|
|
117
|
-
translate: var(${_f}translate) !important;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
[${MZ}][style*='${_f}scale'] {
|
|
121
|
-
scale: var(${_f}scale) !important;
|
|
122
|
-
transform-origin: var(${_f}transform-origin) !important;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
@layer dnd-kit {
|
|
126
|
-
:where([${MZ}][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
|
-
[${MZ}]::backdrop, [${OO}overlay]:not([${MZ}]) {
|
|
141
|
-
display: none;
|
|
142
|
-
visibility: hidden;
|
|
143
|
-
}
|
|
144
|
-
`.replace(/\n+/g," ").replace(/\s+/g," ").trim();function _wt(e,r="hidden"){return yo(()=>{let{element:a,manager:i}=e;if(!a||!i)return;let s=ywt(a,i.registry.droppables),l=[],c=Vue(a),{remove:d}=c;return bwt(s,c,l),wwt(c,r),c.remove=()=>{l.forEach((h)=>h()),d.call(c)},c})}function ywt(e,r){let a=new Map;for(let i of r){if(!i.element)continue;if(e===i.element||e.contains(i.element)){let s=`${OO}${A3("dom-id")}`;i.element.setAttribute(s,""),a.set(i,s)}}return a}function bwt(e,r,a){for(let[i,s]of e){if(!i.element)continue;let l=`[${s}]`,c=r.matches(l)?r:r.querySelector(l);if(i.element.removeAttribute(s),!c)continue;let d=i.element;i.proxy=c,c.removeAttribute(s),wO.set(d,c),a.push(()=>{wO.delete(d),i.proxy=void 0})}}function wwt(e,r="hidden"){e.setAttribute("inert","true"),e.setAttribute("tab-index","-1"),e.setAttribute("aria-hidden","true"),e.setAttribute(j3,r)}function kde(e,r){if(e===r)return!0;return OL(e)===OL(r)}function lde(e){let{target:r}=e;if("newState"in e&&e.newState==="closed"&&oz(r)&&r.hasAttribute("popover"))requestAnimationFrame(()=>jL(r))}function gV(e){return e.tagName==="TR"}function zwt(e,r,a){let i=new MutationObserver((s)=>{let l=!1;for(let c of s){if(c.target!==e){l=!0;continue}if(c.type!=="attributes")continue;let d=c.attributeName;if(d.startsWith("aria-")||Mwt.includes(d))continue;let h=e.getAttribute(d);if(d==="style"){if(tP(e)&&tP(r)){let x=e.style;for(let v of Array.from(r.style))if(x.getPropertyValue(v)==="")r.style.removeProperty(v);for(let v of Array.from(x)){if(xwt.includes(v)||v.startsWith(_f))continue;let y=x.getPropertyValue(v);r.style.setProperty(v,y)}}}else if(h!==null)r.setAttribute(d,h);else r.removeAttribute(d)}if(l&&a)r.replaceChildren(...e.cloneNode(!0).childNodes)});return i.observe(e,{attributes:!0,subtree:!0,childList:!0}),i}function Swt(e,r,a){let i=new MutationObserver((s)=>{for(let l of s){if(l.addedNodes.length===0)continue;for(let c of Array.from(l.addedNodes)){if(c.contains(e)&&e.nextElementSibling!==r){e.insertAdjacentElement("afterend",r),jL(a);return}if(c.contains(r)&&r.previousElementSibling!==e){r.insertAdjacentElement("beforebegin",e),jL(a);return}}}if(e.isConnected&&r.isConnected&&e.nextElementSibling!==r)e.insertAdjacentElement("afterend",r),jL(a)});return i.observe(e.ownerDocument.body,{childList:!0,subtree:!0}),i}function Lwt(e){return new ResizeObserver(()=>{var r,a,i;let s=new Cc(e.placeholder,{frameTransform:e.frameTransform,ignoreTransforms:!0}),l=(r=e.transformOrigin)!=null?r:{x:1,y:1},c=(e.width-s.width)*l.x+e.delta.x,d=(e.height-s.height)*l.y+e.delta.y,h=fV();if(e.styles.set({width:s.width-e.widthOffset,height:s.height-e.heightOffset,top:e.top+d+h.y,left:e.left+c+h.x},_f),(a=e.getElementMutationObserver())==null||a.takeRecords(),gV(e.element)&&gV(e.placeholder)){let D=Array.from(e.element.cells),U=Array.from(e.placeholder.cells);if(!e.getSavedCellWidths())e.setSavedCellWidths(D.map((A)=>A.style.width));for(let[A,j]of D.entries()){let V=U[A];j.style.width=`${V.getBoundingClientRect().width}px`}}let x=(i=e.getTranslate())!=null?i:{x:0,y:0},v=e.left+c+h.x+x.x,y=e.top+d+h.y+x.y,k=s.width-e.widthOffset,b=s.height-e.heightOffset,T=e.frameTransform;e.dragOperation.shape=new ol(v*T.scaleX+T.x,y*T.scaleY+T.y,k*T.scaleX,b*T.scaleY)})}var kwt=250,Cwt="ease";function Iwt(e){var r,a,i,s;let{animation:l}=e;if(typeof l==="function"){let j=l({source:e.source,element:e.element,feedbackElement:e.feedbackElement,placeholder:e.placeholder,translate:e.translate,moved:e.moved});Promise.resolve(j).then(()=>{e.cleanup(),requestAnimationFrame(e.restoreFocus)});return}let{duration:c=kwt,easing:d=Cwt}=l!=null?l:{};jL(e.feedbackElement);let[,h]=(r=nV(e.feedbackElement,(j)=>("translate"in j)))!=null?r:[];h==null||h.pause();let x=(a=e.placeholder)!=null?a:e.element,v={frameTransform:kde(e.feedbackElement,x)?null:void 0},y=new Cc(e.feedbackElement,v),k=(i=oP(kc(e.feedbackElement).translate))!=null?i:e.translate,b=new Cc(x,v),T=ol.delta(y,b,e.alignment),D={x:k.x-T.x,y:k.y-T.y},U=Math.round(y.intrinsicHeight)!==Math.round(b.intrinsicHeight)?{minHeight:[`${y.intrinsicHeight}px`,`${b.intrinsicHeight}px`],maxHeight:[`${y.intrinsicHeight}px`,`${b.intrinsicHeight}px`]}:{},A=Math.round(y.intrinsicWidth)!==Math.round(b.intrinsicWidth)?{minWidth:[`${y.intrinsicWidth}px`,`${b.intrinsicWidth}px`],maxWidth:[`${y.intrinsicWidth}px`,`${b.intrinsicWidth}px`]}:{};e.styles.set({transition:e.transition},_f),e.feedbackElement.setAttribute(hV,""),(s=e.getElementMutationObserver())==null||s.takeRecords(),T3({element:e.feedbackElement,keyframes:SV(TO(TO({},U),A),{translate:[`${k.x}px ${k.y}px 0`,`${D.x}px ${D.y}px 0`]}),options:{duration:bO(ms(e.feedbackElement))?0:e.moved||e.feedbackElement!==e.element?c:0,easing:d}}).then(()=>{e.feedbackElement.removeAttribute(hV),h==null||h.finish(),e.cleanup(),requestAnimationFrame(e.restoreFocus)})}var Cde,MV,AO,CV,O3,Ide,Rde,lP=class extends(MV=Hi,Cde=[Ao],MV){constructor(r,a){super(r,a);ri(this,O3),ri(this,CV,Di(AO,8,this)),Di(AO,11,this),this.state={initial:{},current:{}};let i=r.registry.plugins.get(Y3),s=i==null?void 0:i.register(vwt);if(s){let l=this.destroy.bind(this);this.destroy=()=>{s(),l()}}this.registerEffect(VL(this,O3,Ide).bind(this,i)),this.registerEffect(VL(this,O3,Rde))}};AO=uP(MV);CV=new WeakMap;O3=new WeakSet;Ide=function(e){let{overlay:r}=this;if(!r||!e)return;let a=yO(r);if(!a)return;return e.addRoot(a)};Rde=function(){var e,r,a,i,s,l,c;let{state:d,manager:h,options:x}=this,{dragOperation:v}=h,{position:y,source:k,status:b}=v;if(b.idle){d.current={},d.initial={};return}if(!k)return;let{element:T}=k,D=k.pluginConfig(lP),U=(r=(e=D==null?void 0:D.feedback)!=null?e:x==null?void 0:x.feedback)!=null?r:"default",A=typeof U==="function"?U(k,h):U;if(!T||A==="none"||!b.initialized||b.initializing)return;let{initial:j}=d,V=(a=this.overlay)!=null?a:T,J=BL(V),ee=BL(T),te=!kde(T,V),re=new Cc(T,{frameTransform:te?ee:null,ignoreTransforms:!te}),ae={x:ee.scaleX/J.scaleX,y:ee.scaleY/J.scaleY},{width:he,height:be,top:Qe,left:Ye}=re;if(te)he=he/ae.x,be=be/ae.y;let Se=new ode(V),Ge=kc(T),{transition:rt,translate:tt,boxSizing:bt,paddingBlockStart:jt,paddingBlockEnd:qt,paddingInlineStart:se,paddingInlineEnd:St,borderInlineStartWidth:Ht,borderInlineEndWidth:Oe,borderBlockStartWidth:nr,borderBlockEndWidth:fr}=Ge,er=rt.split(",").filter((Lt)=>!/^\s*(transform|translate|scale)\b/.test(Lt)).join(","),Ur=SO(Ge),Vt=Ge.transform,Xt=A==="clone",Pr=bt==="content-box",zr=Pr?parseInt(se)+parseInt(St)+parseInt(Ht)+parseInt(Oe):0,Ar=Pr?parseInt(jt)+parseInt(qt)+parseInt(nr)+parseInt(fr):0,hr=A!=="move"&&!this.overlay?_wt(k,Xt?"clone":"hidden"):null,go=yo(()=>UL(h.dragOperation.activatorEvent));if(!j.translate){if(this.overlay&&Ur)j.translate={x:Ur.x,y:Ur.y};else if(tt!=="none"){let Lt=oP(tt);if(Lt)j.translate=Lt}}if(!j.transformOrigin){let Lt=yo(()=>y.current),Yt=Ye+((i=Ur==null?void 0:Ur.x)!=null?i:0),jr=Qe+((s=Ur==null?void 0:Ur.y)!=null?s:0);j.transformOrigin={x:(Lt.x-Yt*J.scaleX-J.x)/(he*J.scaleX),y:(Lt.y-jr*J.scaleY-J.y)/(be*J.scaleY)}}let{transformOrigin:po}=j,va=Qe*J.scaleY+J.y,sr=Ye*J.scaleX+J.x;if(!j.coordinates){if(j.coordinates={x:sr,y:va},ae.x!==1||ae.y!==1){let{scaleX:Lt,scaleY:Yt}=ee,{x:jr,y:Yr}=po;j.coordinates.x+=(he*Lt-he)*jr,j.coordinates.y+=(be*Yt-be)*Yr}}if(!j.dimensions)j.dimensions={width:he,height:be};if(!j.frameTransform)j.frameTransform=J;let Mo={x:j.coordinates.x-sr,y:j.coordinates.y-va},ho={width:(j.dimensions.width*j.frameTransform.scaleX-he*J.scaleX)*po.x,height:(j.dimensions.height*j.frameTransform.scaleY-be*J.scaleY)*po.y},Uo={x:Mo.x/J.scaleX+ho.width,y:Mo.y/J.scaleY+ho.height},bn={left:Ye+Uo.x,top:Qe+Uo.y};V.setAttribute(MZ,"true");let Go=yo(()=>v.transform),Xn=(l=j.translate)!=null?l:{x:0,y:0},wn=Go.x*J.scaleX+Xn.x,Qi=Go.y*J.scaleY+Xn.y,$e=fV();if(Se.set({width:he-zr,height:be-Ar,top:bn.top+$e.y,left:bn.left+$e.x,translate:`${wn}px ${Qi}px 0`,transform:this.overlay?"none":Vt,transition:er?`${er}, translate 0ms linear`:"translate 0ms linear",scale:te?`${ae.x} ${ae.y}`:"","transform-origin":`${po.x*100}% ${po.y*100}%`},_f),hr){if(T.insertAdjacentElement("afterend",hr),x==null?void 0:x.rootElement)(typeof x.rootElement==="function"?x.rootElement(k):x.rootElement).appendChild(T)}if(I3(V)){if(!V.hasAttribute("popover"))V.setAttribute("popover","manual");jL(V),V.addEventListener("beforetoggle",lde)}let Dt,Mr,qr,to=Lwt({placeholder:hr,element:T,feedbackElement:V,frameTransform:J,transformOrigin:po,width:he,height:be,top:Qe,left:Ye,widthOffset:zr,heightOffset:Ar,delta:Uo,styles:Se,dragOperation:v,getTranslate:()=>d.current.translate,getElementMutationObserver:()=>Dt,getSavedCellWidths:()=>qr,setSavedCellWidths:(Lt)=>{qr=Lt}}),Ko=new Cc(V);yo(()=>v.shape=Ko);let Ka=ms(V),Ee=(Lt)=>{this.manager.actions.stop({event:Lt})},De=bO(Ka);if(go)Ka.addEventListener("resize",Ee);if(yo(()=>k.status)==="idle")requestAnimationFrame(()=>k.status="dragging");if(hr)to.observe(hr),Dt=zwt(T,hr,Xt),Mr=Swt(T,hr,V);let je=(c=h.dragOperation.source)==null?void 0:c.id,ft=()=>{var Lt;if(!go||je==null)return;let Yt=h.registry.draggables.get(je),jr=(Lt=Yt==null?void 0:Yt.handle)!=null?Lt:Yt==null?void 0:Yt.element;if(LM(jr))jr.focus()},Ct=()=>{if(Dt==null||Dt.disconnect(),Mr==null||Mr.disconnect(),to.disconnect(),Ka.removeEventListener("resize",Ee),I3(V))V.removeEventListener("beforetoggle",lde),V.removeAttribute("popover");V.removeAttribute(MZ),Se.reset();let Lt=()=>{var Yt;if(qr&&gV(T)){let da=Array.from(T.cells);for(let[tr,Qo]of da.entries())Qo.style.width=(Yt=qr[tr])!=null?Yt:""}k.status="idle";let jr=d.current.translate!=null,Yr=v.status.dragging;if(hr&&(!Yr&&jr||hr.parentElement!==V.parentElement)&&V.isConnected)hr.replaceWith(V);hr==null||hr.remove()};if(V===this.overlay)setTimeout(Lt,0);else Lt()},Bt=x==null?void 0:x.dropAnimation,or=this,Ot=PL(()=>{var Lt,Yt,jr;let{transform:Yr,status:da}=v;if(!Yr.x&&!Yr.y&&!d.current.translate)return;if(da.dragging){let tr=(Lt=j.translate)!=null?Lt:{x:0,y:0},Qo={x:Yr.x/J.scaleX+tr.x,y:Yr.y/J.scaleY+tr.y},_a=d.current.translate,fi=yo(()=>v.modifiers),Cf=yo(()=>{var If;return(If=v.shape)==null?void 0:If.current}),Ya=x==null?void 0:x.keyboardTransition,as=go&&!De&&Ya!==null?`${(Yt=Ya==null?void 0:Ya.duration)!=null?Yt:250}ms ${(jr=Ya==null?void 0:Ya.easing)!=null?jr:"cubic-bezier(0.25, 1, 0.5, 1)"}`:"0ms linear";if(Se.set({transition:er?`${er}, translate ${as}`:`translate ${as}`,translate:`${Qo.x}px ${Qo.y}px 0`},_f),Dt==null||Dt.takeRecords(),Cf&&Cf!==Ko&&_a&&!fi.length){let If=ts.delta(Qo,_a);v.shape=ol.from(Cf.boundingRectangle).translate(If.x*J.scaleX,If.y*J.scaleY)}else v.shape=new Cc(V);d.current.translate=Qo}},function(){if(v.status.dropped){this.dispose(),k.status="dropping";let Lt=(D==null?void 0:D.dropAnimation)!==void 0?D.dropAnimation:or.dropAnimation!==void 0?or.dropAnimation:Bt,Yt=d.current.translate,jr=Yt!=null;if(!Yt&&T!==V)Yt={x:0,y:0};if(!Yt||Lt===null){Ct();return}h.renderer.rendering.then(()=>{Iwt({source:k,element:T,feedbackElement:V,placeholder:hr,translate:Yt,moved:jr,transition:rt,alignment:k.alignment,styles:Se,animation:Lt!=null?Lt:void 0,getElementMutationObserver:()=>Dt,cleanup:Ct,restoreFocus:ft})})}});return()=>{Ct(),Ot()}};Ic(AO,4,"overlay",Cde,lP,CV);WL(AO,lP);lP.configure=oa(lP);var ws=lP,LO=!0,Rwt=!1,Pde,Tde,Ade,Ede,nz,IV,RV;Ede=(Ade=[Ao],rc.Forward),Tde=(Pde=[Ao],rc.Reverse);var EO=class{constructor(){ri(this,IV,Di(nz,8,this,LO)),Di(nz,11,this),ri(this,RV,Di(nz,12,this,LO)),Di(nz,15,this)}isLocked(e){if(e===rc.Idle)return!1;if(e==null)return this[rc.Forward]===LO&&this[rc.Reverse]===LO;return this[e]===LO}unlock(e){if(e===rc.Idle)return;this[e]=Rwt}};nz=uP(null);IV=new WeakMap;RV=new WeakMap;Ic(nz,4,Ede,Ade,EO,IV);Ic(nz,4,Tde,Pde,EO,RV);WL(nz,EO);var Pwt=[rc.Forward,rc.Reverse],cde=class{constructor(){this.x=new EO,this.y=new EO}isLocked(){return this.x.isLocked()&&this.y.isLocked()}},Twt=class extends Hi{constructor(e){super(e);let r=pZ(new cde),a=null;this.signal=r,Pi(()=>{let{status:i}=e.dragOperation;if(!i.initialized){a=null,r.value=new cde;return}let{delta:s}=e.dragOperation.position;if(a){let l={x:ude(s.x,a.x),y:ude(s.y,a.y)},c=r.peek();fa(()=>{for(let d of LH)for(let h of Pwt)if(l[d]===h)c[d].unlock(h);r.value=c})}a=s})}get current(){return this.signal.peek()}};function ude(e,r){return Math.sign(e-r)}var Dde,xV,DO,PV,az,vV,dP=class extends(xV=eP,Dde=[Ao],xV){constructor(e){super(e);ri(this,PV,Di(DO,8,this,!1)),Di(DO,11,this),ri(this,az),ri(this,vV,()=>{if(!Ja(this,az))return;let{element:l,by:c}=Ja(this,az);if(c.y)l.scrollTop+=c.y;if(c.x)l.scrollLeft+=c.x}),this.scroll=(l,c)=>{var d;if(this.disabled)return!1;let h=this.getScrollableElements();if(!h)return Ms(this,az,void 0),!1;let{position:x}=this.manager.dragOperation,v=x==null?void 0:x.current;if(v){let{by:y}=l!=null?l:{},k=y?{x:dde(y.x),y:dde(y.y)}:void 0,b=k?void 0:this.scrollIntentTracker.current;if(b==null?void 0:b.isLocked())return!1;for(let T of h){let D=tde(T,y);if(D.x||D.y){let{speed:U,direction:A}=rde(T,v,k,c==null?void 0:c.acceleration,c==null?void 0:c.threshold);if(b){for(let j of LH)if(b[j].isLocked(A[j]))U[j]=0,A[j]=0}if(A.x||A.y){let{x:j,y:V}=y!=null?y:A,J=j*U.x,ee=V*U.y;if(J||ee){let te=(d=Ja(this,az))==null?void 0:d.by;if(this.autoScrolling&&te){if(te.x&&!J||te.y&&!ee)continue}return Ms(this,az,{element:T,by:{x:J,y:ee}}),zO.schedule(Ja(this,vV)),!0}}}}}return Ms(this,az,void 0),!1};let r=null,a=null,i=HR(()=>{let{position:l,source:c}=e.dragOperation;if(!l)return null;let d=sV(yO(c==null?void 0:c.element),l.current);if(d)r=d;return d!=null?d:r}),s=HR(()=>{let l=i.value,{documentElement:c}=NL(l);if(!l||l===c){let{target:d}=e.dragOperation,h=d==null?void 0:d.element;if(h){let x=R3(h,{excludeElement:!1});return a=x,x}}if(l){let d=R3(l,{excludeElement:!1});if(this.autoScrolling&&a&&d.size<(a==null?void 0:a.size))return a;return a=d,d}return a=null,null},xf);this.getScrollableElements=()=>s.value,this.scrollIntentTracker=new Twt(e),this.destroy=e.monitor.addEventListener("dragmove",(l)=>{if(this.disabled||l.defaultPrevented||!UL(e.dragOperation.activatorEvent)||!l.by)return;if(this.scroll({by:l.by}))l.preventDefault()})}};DO=uP(xV);PV=new WeakMap;az=new WeakMap;vV=new WeakMap;Ic(DO,4,"autoScrolling",Dde,dP,PV);WL(DO,dP);function dde(e){if(e>0)return rc.Forward;if(e<0)return rc.Reverse;return rc.Idle}var Awt=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))}},Ewt=new Awt((e)=>{if(typeof requestAnimationFrame==="function")requestAnimationFrame(e);else e()}),Dwt=10,_V=class extends Hi{constructor(r,a){super(r,a);let i=r.registry.plugins.get(dP);if(!i)throw Error("AutoScroller plugin depends on Scroller plugin");this.destroy=Pi(()=>{var s,l,c;if(this.disabled)return;let{position:d,status:h}=r.dragOperation;if(h.dragging){let x={acceleration:(s=this.options)==null?void 0:s.acceleration,threshold:typeof((l=this.options)==null?void 0:l.threshold)==="number"?{x:this.options.threshold,y:this.options.threshold}:(c=this.options)==null?void 0:c.threshold};if(i.scroll(void 0,x)){i.autoScrolling=!0;let y=setInterval(()=>Ewt.schedule(()=>i.scroll(void 0,x)),Dwt);return()=>{clearInterval(y)}}else i.autoScrolling=!1}})}};_V.configure=oa(_V);var Ode=_V,Zde={capture:!0,passive:!0},CO,Owt=class extends eP{constructor(e){super(e);ri(this,CO),this.handleScroll=()=>{if(Ja(this,CO)==null)Ms(this,CO,setTimeout(()=>{this.manager.collisionObserver.forceUpdate(!1),Ms(this,CO,void 0)},50))};let{dragOperation:r}=this.manager;this.destroy=Pi(()=>{var a,i,s;if(r.status.dragging){let c=(s=(i=(a=r.source)==null?void 0:a.element)==null?void 0:i.ownerDocument)!=null?s:document;return c.addEventListener("scroll",this.handleScroll,Zde),()=>{c.removeEventListener("scroll",this.handleScroll,Zde)}}})}};CO=new WeakMap;var Nwt="* { user-select: none !important; -webkit-user-select: none !important; }",Fwt=class extends Hi{constructor(e){super(e);this.manager=e;let r=e.registry.plugins.get(Y3),a=r==null?void 0:r.register(Nwt);if(this.destroy=Pi(()=>{let{dragOperation:i}=this.manager;if(i.status.initialized)return dV(),document.addEventListener("selectionchange",dV,{capture:!0}),()=>{document.removeEventListener("selectionchange",dV,{capture:!0})}}),a){let i=this.destroy.bind(this);this.destroy=()=>{a(),i()}}}};function dV(){var e;(e=document.getSelection())==null||e.removeAllRanges()}var IO=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}}),nP,B3=class extends TL{constructor(r,a){super(r);this.manager=r,this.options=a,ri(this,nP,[]),this.listeners=new lV,this.handleSourceKeyDown=(i,s,l)=>{if(this.disabled||i.defaultPrevented)return;if(!oz(i.target))return;if(s.disabled)return;let{keyboardCodes:c=IO.keyboardCodes,preventActivation:d=IO.preventActivation}=l!=null?l:{};if(!c.start.includes(i.code))return;if(!this.manager.dragOperation.status.idle)return;if(d==null?void 0:d(i,s))return;this.handleStart(i,s,l)}}bind(r,a=this.options){return Pi(()=>{var s;let l=(s=r.handle)!=null?s:r.element,c=(d)=>{if(UL(d))this.handleSourceKeyDown(d,r,a)};if(l)return l.addEventListener("keydown",c),()=>{l.removeEventListener("keydown",c)}})}handleStart(r,a,i){let{element:s}=a;if(!s)throw Error("Source draggable does not have an associated element");r.preventDefault(),r.stopImmediatePropagation(),P3(s);let{center:l}=new Cc(s);if(this.manager.actions.start({event:r,coordinates:{x:l.x,y:l.y},source:a}).signal.aborted)return this.cleanup();this.sideEffects();let d=NL(s),h=[this.listeners.bind(d,[{type:"keydown",listener:(x)=>this.handleKeyDown(x,a,i),options:{capture:!0}}])];Ja(this,nP).push(...h)}handleKeyDown(r,a,i){let{keyboardCodes:s=IO.keyboardCodes}=i!=null?i:{};if(aP(r,[...s.end,...s.cancel])){r.preventDefault();let l=aP(r,s.cancel);this.handleEnd(r,l);return}if(aP(r,s.up))this.handleMove("up",r);else if(aP(r,s.down))this.handleMove("down",r);if(aP(r,s.left))this.handleMove("left",r);else if(aP(r,s.right))this.handleMove("right",r)}handleEnd(r,a){this.manager.actions.stop({event:r,canceled:a}),this.cleanup()}handleMove(r,a){var i,s;let{shape:l}=this.manager.dragOperation,c=a.shiftKey?5:1,d={x:0,y:0},h=(s=(i=this.options)==null?void 0:i.offset)!=null?s:IO.offset;if(typeof h==="number")h={x:h,y:h};if(!l)return;switch(r){case"up":d={x:0,y:-h.y*c};break;case"down":d={x:0,y:h.y*c};break;case"left":d={x:-h.x*c,y:0};break;case"right":d={x:h.x*c,y:0};break}if(d.x||d.y)a.preventDefault(),this.manager.actions.move({event:a,by:d})}sideEffects(){let r=this.manager.registry.plugins.get(Ode);if((r==null?void 0:r.disabled)===!1)r.disable(),Ja(this,nP).push(()=>{r.enable()})}cleanup(){Ja(this,nP).forEach((r)=>r()),Ms(this,nP,[])}destroy(){this.cleanup(),this.listeners.clear()}};nP=new WeakMap;B3.configure=oa(B3);B3.defaults=IO;var es=B3;function aP(e,r){return r.includes(e.code)}var YL,jwt=class extends XH{constructor(){super(...arguments);ri(this,YL)}onEvent(e){switch(e.type){case"pointerdown":Ms(this,YL,FL(e));break;case"pointermove":if(!Ja(this,YL))return;let{x:r,y:a}=FL(e),i={x:r-Ja(this,YL).x,y:a-Ja(this,YL).y},{tolerance:s}=this.options;if(s&&s3(i,s)){this.abort();return}if(s3(i,this.options.value))this.activate(e);break;case"pointerup":this.abort();break}}abort(){Ms(this,YL,void 0)}};YL=new WeakMap;var iP,qL,Bwt=class extends XH{constructor(){super(...arguments);ri(this,iP),ri(this,qL)}onEvent(e){switch(e.type){case"pointerdown":Ms(this,qL,FL(e)),Ms(this,iP,setTimeout(()=>this.activate(e),this.options.value));break;case"pointermove":if(!Ja(this,qL))return;let{x:r,y:a}=FL(e),i={x:r-Ja(this,qL).x,y:a-Ja(this,qL).y};if(s3(i,this.options.tolerance))this.abort();break;case"pointerup":this.abort();break}}abort(){if(Ja(this,iP))clearTimeout(Ja(this,iP)),Ms(this,qL,void 0),Ms(this,iP,void 0)}};iP=new WeakMap;qL=new WeakMap;var Zr=class{};Zr.Delay=Bwt;Zr.Distance=jwt;var yV=Object.freeze({activationConstraints(e,r){var a;let{pointerType:i,target:s}=e;if(i==="mouse"&&oz(s)&&(r.handle===s||((a=r.handle)==null?void 0:a.contains(s))))return;if(i==="touch")return[new Zr.Delay({value:250,tolerance:5})];if(nde(s)&&!e.defaultPrevented)return[new Zr.Delay({value:200,tolerance:0})];return[new Zr.Delay({value:200,tolerance:10}),new Zr.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(!oz(i))return!1;if((a=r.handle)==null?void 0:a.contains(i))return!1;let s=Wue(i);if(s===r.element)return!1;return Boolean(s)}}),fP,U3=class extends TL{constructor(r,a){super(r);this.manager=r,this.options=a,ri(this,fP,new Set),this.listeners=new lV,this.latest={event:void 0,coordinates:void 0},this.handleMove=()=>{let{event:i,coordinates:s}=this.latest;if(!i||!s)return;this.manager.actions.move({event:i,to:s})},this.handleCancel=this.handleCancel.bind(this),this.handlePointerUp=this.handlePointerUp.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}activationConstraints(r,a,i=this.options){let{activationConstraints:s=yV.activationConstraints}=i!=null?i:{};return typeof s==="function"?s(r,a):s}bind(r,a=this.options){return Pi(()=>{var s;let l=new AbortController,{signal:c}=l,d=(x)=>{if(ade(x))this.handlePointerDown(x,r,a)},h=[(s=r.handle)!=null?s:r.element];if(a==null?void 0:a.activatorElements)if(Array.isArray(a.activatorElements))h=a.activatorElements;else h=a.activatorElements(r);for(let x of h){if(!x)continue;qwt(x.ownerDocument.defaultView),x.addEventListener("pointerdown",d,{signal:c})}return()=>l.abort()})}handlePointerDown(r,a,i){if(this.disabled||!r.isPrimary||r.button!==0||!oz(r.target)||a.disabled||Uwt(r)||!this.manager.dragOperation.status.idle)return;let{preventActivation:s=yV.preventActivation}=i!=null?i:{};if(s==null?void 0:s(r,a))return;let{target:l}=r,c=LM(l)&&l.draggable&&l.getAttribute("draggable")==="true",d=BL(a.element),{x:h,y:x}=FL(r);this.initialCoordinates={x:h*d.scaleX+d.x,y:x*d.scaleY+d.y};let v=this.activationConstraints(r,a,i);r.sensor=this;let y=new zue(v,(D)=>this.handleStart(a,D));y.signal.onabort=()=>this.handleCancel(r),y.onEvent(r),this.controller=y;let k=_3(),b=this.listeners.bind(k,[{type:"pointermove",listener:(D)=>this.handlePointerMove(D,a)},{type:"pointerup",listener:this.handlePointerUp,options:{capture:!0}},{type:"pointercancel",listener:this.handleCancel},{type:"dragstart",listener:c?this.handleCancel:D3,options:{capture:!0}}]),T=()=>{b(),this.initialCoordinates=void 0};Ja(this,fP).add(T)}handlePointerMove(r,a){var i,s;if(((i=this.controller)==null?void 0:i.activated)===!1){(s=this.controller)==null||s.onEvent(r);return}if(this.manager.dragOperation.status.dragging){let l=FL(r),c=BL(a.element);l.x=l.x*c.scaleX+c.x,l.y=l.y*c.scaleY+c.y,r.preventDefault(),r.stopPropagation(),this.latest.event=r,this.latest.coordinates=l,zO.schedule(this.handleMove)}}handlePointerUp(r){let{status:a}=this.manager.dragOperation;if(!a.idle){r.preventDefault(),r.stopPropagation();let i=!a.initialized;this.manager.actions.stop({event:r,canceled:i})}this.cleanup()}handleKeyDown(r){if(r.key==="Escape")r.preventDefault(),this.handleCancel(r)}handleStart(r,a){let{manager:i,initialCoordinates:s}=this;if(!s||!i.dragOperation.status.idle)return;if(a.defaultPrevented)return;if(i.actions.start({coordinates:s,event:a,source:r}).signal.aborted)return this.cleanup();a.preventDefault();let d=NL(a.target).body;try{d.setPointerCapture(a.pointerId)}catch(v){this.handleCancel(a);return}let h=oz(a.target)?[a.target,d]:d,x=this.listeners.bind(h,[{type:"touchmove",listener:D3,options:{passive:!1}},{type:"click",listener:D3},{type:"contextmenu",listener:D3},{type:"keydown",listener:this.handleKeyDown}]);Ja(this,fP).add(x)}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},Ja(this,fP).forEach((a)=>a()),Ja(this,fP).clear()}destroy(){this.cleanup(),this.listeners.clear()}};fP=new WeakMap;U3.configure=oa(U3);U3.defaults=yV;var En=U3;function Uwt(e){return"sensor"in e}function D3(e){e.preventDefault()}function Ywt(){}var pde=new WeakSet;function qwt(e){if(!e||pde.has(e))return;e.addEventListener("touchmove",Ywt,{capture:!1,passive:!1}),pde.add(e)}var HL={modifiers:[],plugins:[mwt,Ode,gwt,ws,Fwt],sensors:[En,es]},TV=class extends Eue{constructor(e={}){let r=ps(e.plugins,HL.plugins),a=ps(e.sensors,HL.sensors),i=ps(e.modifiers,HL.modifiers);super(SV(TO({},e),{plugins:[Owt,dP,Y3,...r],sensors:a,modifiers:i}))}},Nde,Fde,bV,iz,AV,EV,GL=class extends(bV=zu,Fde=[Ao],Nde=[Ao],bV){constructor(e,r){var a=e,{element:i,effects:s=()=>[],handle:l}=a,c=Mde(a,["element","effects","handle"]);super(TO({effects:()=>[...s(),()=>{var d,h;let{manager:x}=this;if(!x)return;let y=((h=(d=this.sensors)==null?void 0:d.map(QR))!=null?h:[...x.sensors]).map((k)=>{let b=k instanceof TL?k:x.registry.register(k.plugin),T=k instanceof TL?void 0:k.options;return b.bind(this,T)});return function(){y.forEach((b)=>b())}}]},c),r);ri(this,AV,Di(iz,8,this)),Di(iz,11,this),ri(this,EV,Di(iz,12,this)),Di(iz,15,this),this.element=i,this.handle=l}};iz=uP(bV);AV=new WeakMap;EV=new WeakMap;Ic(iz,4,"handle",Fde,GL,AV);Ic(iz,4,"element",Nde,GL,EV);WL(iz,GL);var jde,Bde,wV,fz,DV,ZV,Ude,Yde,PO,OV,ZP=class extends(wV=Su,Bde=[Ao],jde=[Ao],wV){constructor(e,r){var a=e,{element:i,effects:s=()=>[]}=a,l=Mde(a,["element","effects"]);let{collisionDetector:c=E3}=l,d=(x)=>{let{manager:v,element:y}=this;if(!y||x===null){this.shape=void 0;return}if(!v)return;let k=new Cc(y),b=yo(()=>this.shape);if(k&&(b==null?void 0:b.equals(k)))return b;return this.shape=k,k},h=pZ(!1);super(SV(TO({},l),{collisionDetector:c,effects:()=>[...s(),()=>{let{element:x,manager:v}=this;if(!v)return;let{dragOperation:y}=v,{source:k}=y;h.value=Boolean(k&&y.status.initialized&&x&&!this.disabled&&this.accepts(k))},()=>{let{element:x}=this;if(h.value&&x){let v=new $ue(x,d);return()=>{v.disconnect(),this.shape=void 0}}},()=>{var x;if((x=this.manager)==null?void 0:x.dragOperation.status.initialized)return()=>{this.shape=void 0}}]}),r);ri(this,PO),ri(this,DV,Di(fz,8,this)),Di(fz,11,this),ri(this,OV,Di(fz,12,this)),Di(fz,15,this),this.element=i,this.refreshShape=()=>d()}set element(e){Ms(this,PO,e,Yde)}get element(){var e;return(e=this.proxy)!=null?e:Ja(this,PO,Ude)}};fz=uP(wV);DV=new WeakMap;PO=new WeakSet;OV=new WeakMap;ZV=Ic(fz,20,"#element",Bde,PO,DV),Ude=ZV.get,Yde=ZV.set;Ic(fz,4,"proxy",jde,ZP,OV);WL(fz,ZP);E();function Hwt(e){return e!=null&&typeof e==="object"&&"current"in e}function ku(e){var r;if(e==null)return;if(Hwt(e))return(r=e.current)!=null?r:void 0;return e}var Vwt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",jM=Vwt?Ue:m;function qde(){let e=u(0)[1];return P(()=>{e((r)=>r+1)},[e])}function Wwt(e,r=!1){let a=_(e.peek()),i=_(!1),s=qde();return jM(()=>Pi(()=>{let l=a.current,c=e.value;if(l!==c){if(a.current=c,!i.current)return;if(r)sn(s);else s()}}),[e,r,s]),{get value(){return i.current=!0,e.peek()}}}function q3(e,r=[],a=!1){let i=_(e);return i.current=e,Wwt(N(()=>HR(()=>i.current()),r),a)}function pP(e,r){let a=_(new Map),i=qde();return jM(()=>{if(!e){a.current.clear();return}return Pi(()=>{var s;let l=!1,c=!1;for(let d of a.current){let[h]=d,x=yo(()=>d[1]),v=e[h];if(x!==v)l=!0,a.current.set(h,v),c=(s=r==null?void 0:r(h,x,v))!=null?s:!1}if(l)if(c)queueMicrotask(()=>sn(i));else i()})},[e]),N(()=>e?new Proxy(e,{get(s,l){let c=s[l];return a.current.set(l,c),c}}):e,[e])}function Hde(e,r){e()}function KL(e){let r=_(e);return jM(()=>{r.current=e},[e]),r}function Vo(e,r,a=m,i=Object.is){let s=_(e);a(()=>{let l=s.current;if(!i(e,l))s.current=e,r(e,l)},[r,e])}function lz(e,r){let a=_(ku(e));jM(()=>{let i=ku(e);if(i!==a.current)a.current=i,r(i)})}var{defineProperty:Gwt,defineProperties:Kwt,getOwnPropertyDescriptors:Xwt,getOwnPropertySymbols:V3}=Object,Wde=Object.prototype.hasOwnProperty,Gde=Object.prototype.propertyIsEnumerable,Vde=(e,r,a)=>(r in e)?Gwt(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,Kde=(e,r)=>{for(var a in r||(r={}))if(Wde.call(r,a))Vde(e,a,r[a]);if(V3){for(var a of V3(r))if(Gde.call(r,a))Vde(e,a,r[a])}return e},Xde=(e,r)=>Kwt(e,Xwt(r)),Qwt=(e,r)=>{var a={};for(var i in e)if(Wde.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&V3){for(var i of V3(e))if(r.indexOf(i)<0&&Gde.call(e,i))a[i]=e[i]}return a},Jwt=new TV,jV=mt(Jwt),$wt=Hn(F(({children:e},r)=>{let[a,i]=u(0),s=_(null),l=_(null),c=N(()=>({renderer:{get rendering(){var d;return(d=s.current)!=null?d:Promise.resolve()}},trackRendering(d){if(!s.current)s.current=new Promise((h)=>{l.current=h});Mk(()=>{d(),i((h)=>h+1)})}}),[]);return jM(()=>{var d;(d=l.current)==null||d.call(l),s.current=null},[e,a]),Jr(r,()=>c),null})),NV=[void 0,xf];function Wn(e){var r=e,{children:a,onCollision:i,onBeforeDragStart:s,onDragStart:l,onDragMove:c,onDragOver:d,onDragEnd:h}=r,x=Qwt(r,["children","onCollision","onBeforeDragStart","onDragStart","onDragMove","onDragOver","onDragEnd"]);let v=_(null),{plugins:y,modifiers:k,sensors:b}=x,T=ps(y,HL.plugins),D=ps(b,HL.sensors),U=ps(k,HL.modifiers),A=KL(s),j=KL(l),V=KL(d),J=KL(c),ee=KL(h),te=KL(i),re=e0t(()=>{var ae;return(ae=x.manager)!=null?ae:new TV(x)});return m(()=>{if(!v.current)throw Error("Renderer not found");let{renderer:ae,trackRendering:he}=v.current,{monitor:be}=re;re.renderer=ae;let Qe=[be.addEventListener("beforedragstart",(Ye)=>{let Se=A.current;if(Se)he(()=>Se(Ye,re))}),be.addEventListener("dragstart",(Ye)=>{var Se;return(Se=j.current)==null?void 0:Se.call(j,Ye,re)}),be.addEventListener("dragover",(Ye)=>{let Se=V.current;if(Se)he(()=>Se(Ye,re))}),be.addEventListener("dragmove",(Ye)=>{let Se=J.current;if(Se)he(()=>Se(Ye,re))}),be.addEventListener("dragend",(Ye)=>{let Se=ee.current;if(Se)he(()=>Se(Ye,re))}),be.addEventListener("collision",(Ye)=>{var Se;return(Se=te.current)==null?void 0:Se.call(te,Ye,re)})];return()=>Qe.forEach((Ye)=>Ye())},[re]),Vo(T,()=>re&&(re.plugins=T),...NV),Vo(D,()=>re&&(re.sensors=D),...NV),Vo(U,()=>re&&(re.modifiers=U),...NV),o(jV.Provider,{value:re,children:[t($wt,{ref:v,children:a}),a]})}function e0t(e){let r=_(null);if(!r.current)r.current=e();return YN(()=>()=>{var a;return(a=r.current)==null?void 0:a.destroy()},[]),r.current}function BV(){return vt(jV)}function W3(e){var r;let a=(r=BV())!=null?r:void 0,[i]=u(()=>e(a));if(i.manager!==a)i.manager=a;return jM(i.register,[a,i]),i}function xs(e){let{disabled:r,data:a,element:i,handle:s,id:l,modifiers:c,sensors:d,plugins:h}=e,x=W3((y)=>new GL(Xde(Kde({},e),{register:!1,handle:ku(s),element:ku(i)}),y)),v=pP(x,t0t);return Vo(l,()=>x.id=l),lz(s,(y)=>x.handle=y),lz(i,(y)=>x.element=y),Vo(a,()=>a&&(x.data=a)),Vo(r,()=>x.disabled=r===!0),Vo(d,()=>x.sensors=d,void 0,xf),Vo(c,()=>x.modifiers=c,void 0,xf),Vo(h,()=>x.plugins=h,void 0,xf),Vo(e.alignment,()=>x.alignment=e.alignment),{draggable:v,get isDragging(){return v.isDragging},get isDropping(){return v.isDropping},get isDragSource(){return v.isDragSource},handleRef:P((y)=>{x.handle=y!=null?y:void 0},[x]),ref:P((y)=>{var k,b;if(!y&&((k=x.element)==null?void 0:k.isConnected)&&!((b=x.manager)==null?void 0:b.dragOperation.status.idle))return;x.element=y!=null?y:void 0},[x])}}function t0t(e,r,a){if(e==="isDragSource"&&!a&&r)return!0;return!1}function au({children:e,className:r,dropAnimation:a,style:i,tag:s,disabled:l}){var c;let d=_(null),h=BV(),x=(c=q3(()=>h==null?void 0:h.dragOperation.source,[h]).value)!=null?c:null,v=typeof l==="function"?l(x):l;m(()=>{if(!d.current||!h||v)return;let b=h.plugins.find((T)=>T instanceof ws);if(!b)return;return b.overlay=d.current,()=>{b.overlay=void 0}},[h,v]),m(()=>{if(!h)return;let b=h.plugins.find((T)=>T instanceof ws);if(!b)return;return b.dropAnimation=a,()=>{b.dropAnimation=void 0}},[h,a]);let y=N(()=>{if(!h)return null;let b=new Proxy(h.registry,{get(T,D){if(D==="register"||D==="unregister")return r0t;return T[D]}});return new Proxy(h,{get(T,D){if(D==="registry")return b;return T[D]}})},[h]);return t(jV.Provider,{value:y,children:q(s||"div",{ref:d,className:r,style:i,"data-dnd-overlay":!0},k())});function k(){if(!x||v)return null;if(typeof e==="function")return t(o0t,{source:x,children:e});return e}}function r0t(){return()=>{}}function o0t({children:e,source:r}){return e(pP(r))}var{create:a0t,defineProperty:Qde,getOwnPropertyDescriptor:n0t}=Object,Jde=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),G3=(e)=>{throw TypeError(e)},i0t=(e,r,a)=>(r in e)?Qde(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,f0t=(e)=>{var r;return[,,,a0t((r=e==null?void 0:e[Jde("metadata")])!=null?r:null)]},$de=["class","method","getter","setter","accessor","field","value","get","set"],eZe=(e)=>e!==void 0&&typeof e!=="function"?G3("Function expected"):e,s0t=(e,r,a,i,s)=>({kind:$de[e],name:r,metadata:i,addInitializer:(l)=>a._?G3("Already initialized"):s.push(eZe(l||null))}),l0t=(e,r)=>i0t(r,Jde("metadata"),e[3]),c0t=(e,r,a,i)=>{for(var s=0,l=e[r>>1],c=l&&l.length;s<c;s++)l[s].call(a);return i},tZe=(e,r,a,i,s,l)=>{var c,d,h,x,v=r&7,y=!1,k=!1,b=2,T=$de[v+5],D=e[b]||(e[b]=[]),U=(s=s.prototype,n0t(s,a));for(var A=i.length-1;A>=0;A--)h=s0t(v,a,d={},e[3],D),h.static=y,h.private=k,x=h.access={has:(j)=>(a in j)},x.get=(j)=>j[a],c=(0,i[A])(U[T],h),d._=1,eZe(c)&&(U[T]=c);return U&&Qde(s,a,U),s},rZe=(e,r,a)=>r.has(e)||G3("Cannot "+a),u0t=(e,r,a)=>(rZe(e,r,"read from private field"),r.get(e)),d0t=(e,r,a)=>r.has(e)?G3("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),Z0t=(e,r,a,i)=>(rZe(e,r,"write to private field"),r.set(e,a),a),XL=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)}},oZe,aZe,FV,H3,NO,UV=class extends(FV=mZ,aZe=[_n],oZe=[_n],FV){constructor(e){let r=XL.from(e);super(r,(a,i)=>XL.equals(a,i));c0t(NO,5,this),d0t(this,H3,0),this.velocity={x:0,y:0}}get delta(){return XL.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=XL.from(e),i={x:a.x-r.x,y:a.y-r.y},s=Date.now(),l=s-u0t(this,H3),c=(d)=>Math.round(d/l*100);fa(()=>{Z0t(this,H3,s),this.velocity={x:c(i.x),y:c(i.y)},super.current=a})}reset(e=this.defaultValue){super.reset(XL.from(e)),this.velocity={x:0,y:0}}};NO=f0t(FV);H3=new WeakMap;tZe(NO,2,"delta",aZe,UV);tZe(NO,2,"direction",oZe,UV);l0t(NO,UV);var nZe=((e)=>(e.Horizontal="x",e.Vertical="y",e))(nZe||{});Object.values(nZe);var p0t=({dragOperation:e,droppable:r})=>{let a=e.position.current;if(!a)return null;let{id:i}=r;if(!r.shape)return null;if(r.shape.containsPoint(a)){let s=XL.distance(r.shape.center,a);return{id:i,value:1/s,type:gZ.PointerIntersection,priority:hZ.High}}return null},m0t=({dragOperation:e,droppable:r})=>{let{shape:a}=e;if(!r.shape||!(a==null?void 0:a.current))return null;let i=a.current.intersectionArea(r.shape);if(i){let{position:s}=e,l=XL.distance(r.shape.center,s.current),d=i/(a.current.area+r.shape.area-i)/l;return{id:r.id,value:d,type:gZ.ShapeIntersection,priority:hZ.Normal}}return null},h0t=(e)=>{var r;return(r=p0t(e))!=null?r:m0t(e)};function Br(e){let{collisionDetector:r,data:a,disabled:i,element:s,id:l,accept:c,type:d}=e,h=W3((v)=>new ZP(Xde(Kde({},e),{register:!1,element:ku(s)}),v)),x=pP(h);return Vo(l,()=>h.id=l),lz(s,(v)=>h.element=v),Vo(c,()=>h.accept=c,void 0,xf),Vo(r,()=>h.collisionDetector=r!=null?r:h0t),Vo(a,()=>a&&(h.data=a)),Vo(i,()=>h.disabled=i===!0),Vo(d,()=>h.type=d),{droppable:x,get isDropTarget(){return x.isDropTarget},ref:P((v)=>{var y,k;if(!v&&((y=h.element)==null?void 0:y.isConnected)&&!((k=h.manager)==null?void 0:k.dragOperation.status.idle))return;h.element=v!=null?v:void 0},[h])}}function Xd(){let e=BV(),r=q3(()=>e==null?void 0:e.dragOperation.source,[e]),a=q3(()=>e==null?void 0:e.dragOperation.target,[e]);return{get source(){return r.value},get target(){return a.value}}}E();E();E();E();var YV=new Map,K3=new WeakMap,iZe=0,g0t;function M0t(e){if(!e)return"0";if(K3.has(e))return K3.get(e);return iZe+=1,K3.set(e,iZe.toString()),K3.get(e)}function x0t(e){return Object.keys(e).sort().filter((r)=>e[r]!==void 0).map((r)=>`${r}_${r==="root"?M0t(e.root):e[r]}`).toString()}function v0t(e){let r=x0t(e),a=YV.get(r);if(!a){let i=new Map,s,l=new IntersectionObserver((c)=>{c.forEach((d)=>{var h;let x=d.isIntersecting&&s.some((v)=>d.intersectionRatio>=v);if(e.trackVisibility&&typeof d.isVisible>"u")d.isVisible=x;[...(h=i.get(d.target))!=null?h:[]].forEach((v)=>{v(x,d)})})},e);s=l.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),a={id:r,observer:l,elements:i},YV.set(r,a)}return a}function _0t(e,r,a={},i=g0t){if(typeof window.IntersectionObserver>"u"&&i!==void 0){let x=e.getBoundingClientRect();return r(i,{isIntersecting:i,target:e,intersectionRatio:typeof a.threshold==="number"?a.threshold:0,time:0,boundingClientRect:x,intersectionRect:x,rootBounds:x}),()=>{}}let{id:s,observer:l,elements:c}=v0t(a),d=c.get(e)||[];if(!c.has(e))c.set(e,d);d.push(r),l.observe(e);let h=!1;return function(){if(h)return;if(h=!0,d.splice(d.indexOf(r),1),d.length===0)c.delete(e),l.unobserve(e);if(c.size===0)l.disconnect(),YV.delete(s)}}var qV=Reflect.get(Q,"useInsertionEffect"),y0t=qV!=null?qV:m;function b0t(e){return(e==null?void 0:e.startsWith("19."))||!1}var fZe=b0t(Bs);function w0t(e,{threshold:r,root:a,rootMargin:i,scrollMargin:s,trackVisibility:l,delay:c,fallbackInView:d,skip:h,triggerOnce:x}){let v=_(e),y=_({node:null,stop:void 0,owner:null});if(!qV)v.current=e;return y0t(()=>{v.current=e},[e]),P(function k(b){let T=y.current;if(!b&&T.owner!==k)return;if(b===T.node)return T.owner=k,fZe?T.stop:void 0;let D=T.stop;if(T.stop=void 0,D==null||D(),!b||h){T.node=null,T.owner=b?k:null;return}T.node=b,T.owner=k;let U,A;function j(){if(U==null||U(),T.stop===j)T.node=null,T.stop=void 0}if(T.stop=j,U=_0t(b,(V,J)=>{if(v.current(V,J,A),A=V,x&&V)j()},{threshold:r,root:a,rootMargin:i,scrollMargin:s,trackVisibility:l,delay:c},d),T.stop!==j)U();return fZe?T.stop:void 0},[Array.isArray(r)?r.toString():r,a,i,s,l,c,d,h,x])}var z0t=typeof window>"u"?m:Ue;function Nt({threshold:e,delay:r,trackVisibility:a,rootMargin:i,scrollMargin:s,root:l,triggerOnce:c,skip:d,initialInView:h,fallbackInView:x,onChange:v}={}){let y=_(h),[k,b]=u({inView:!!h,entry:void 0}),T=w0t((j,V)=>{let J=y.current;if(y.current=j,J===void 0&&!j)return;b({inView:j,entry:V}),v==null||v(j,V)},{threshold:e,root:l,rootMargin:i,scrollMargin:s,trackVisibility:a,delay:r,fallbackInView:x,skip:d,triggerOnce:c}),D=_({node:null,reset:!1}),U=P(function(V){if(V)D.current.node=V,D.current.reset=!1;else if(D.current.node)D.current.node=null,D.current.reset=!0;let J=T(V);if(!J)return;return()=>{if(J(),D.current.node===V)D.current.node=null,D.current.reset=!0}},[T]);z0t(()=>{if(!D.current.reset)return;if(D.current.reset=!1,c||d)return;b({inView:!!h,entry:void 0}),y.current=h});let A=[U,k.inView,k.entry];return A.ref=A[0],A.inView=A[1],A.entry=A[2],A}E();function S0t(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 L0t=(e)=>{switch(e){case"success":return I0t;case"info":return P0t;case"warning":return R0t;case"error":return T0t;default:return null}},k0t=Array(12).fill(0),C0t=({visible:e,className:r})=>q("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":e},q("div",{className:"sonner-spinner"},k0t.map((a,i)=>q("div",{className:"sonner-loading-bar",key:`spinner-bar-${i}`})))),I0t=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"})),R0t=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"})),P0t=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"})),T0t=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"})),A0t=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"})),E0t=()=>{let[e,r]=u(document.hidden);return m(()=>{let a=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",a),()=>document.removeEventListener("visibilitychange",a)},[]),e},D0t=1,O0t=100,sZe=(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:D0t++};class uZe{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-O0t;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=sZe(e),s=this.pendingDismissals.get(i);if(s!==void 0)cancelAnimationFrame(s),this.pendingDismissals.delete(i),this.dismissedToasts.delete(i);let l=this.dismissedToasts.has(i),c=e.dismissible===void 0?!0:e.dismissible;if(l)this.dismissedToasts.delete(i),this.toasts=this.toasts.filter((h)=>h.id!==i);if(l?void 0:this.toasts.find((h)=>h.id===i))this.toasts=this.toasts.map((h)=>{if(h.id===i)return this.publish({...h,...e,id:i,title:r}),{...h,...e,id:i,dismissible:c,title:r};return h});else this.addToast({title:r,...a,dismissible:c,id:i});return i},this.dismiss=(e)=>{if(e===void 0||e===null)return this.getActiveToasts().forEach((a)=>{this.dismissedToasts.add(a.id),this.subscribers.forEach((i)=>i({id:a.id,dismiss:!0}))}),e;this.dismissedToasts.add(e);let r=this.pendingDismissals.get(e);if(r!==void 0)cancelAnimationFrame(r);return this.pendingDismissals.set(e,requestAnimationFrame(()=>{this.pendingDismissals.delete(e),this.subscribers.forEach((a)=>a({id:e,dismiss:!0}))})),e},this.message=(e,r)=>this.create({...r,message:e,type:void 0}),this.error=(e,r)=>this.create({...r,message:e,type:"error"}),this.success=(e,r)=>this.create({...r,type:"success",message:e}),this.info=(e,r)=>this.create({...r,type:"info",message:e}),this.warning=(e,r)=>this.create({...r,type:"warning",message:e}),this.loading=(e,r)=>this.create({...r,type:"loading",message:e}),this.promise=(e,r)=>{if(!r)return;let a=void 0;if(r.loading!==void 0)a=this.create({...r,promise:e,type:"loading",message:r.loading,description:typeof r.description!=="function"?r.description:void 0});let i=Promise.resolve(e instanceof Function?e():e),s=a!==void 0,l,c=i.then(async(h)=>{if(l=["resolve",h],ns(h))s=!1,this.create({id:a,type:"default",message:h});else if(F0t(h)&&!h.ok){s=!1;let v=typeof r.error==="function"?await r.error(`HTTP error! status: ${h.status}`):r.error,y=typeof r.description==="function"?await r.description(`HTTP error! status: ${h.status}`):r.description,b=typeof v==="object"&&!ns(v)?v:{message:v};this.create({id:a,type:"error",description:y,...b})}else if(h instanceof Error){s=!1;let v=typeof r.error==="function"?await r.error(h):r.error,y=typeof r.description==="function"?await r.description(h):r.description,b=typeof v==="object"&&!ns(v)?v:{message:v};this.create({id:a,type:"error",description:y,...b})}else if(r.success!==void 0){s=!1;let v=typeof r.success==="function"?await r.success(h):r.success,y=typeof r.description==="function"?await r.description(h):r.description,b=typeof v==="object"&&!ns(v)?v:{message:v};this.create({id:a,type:"success",description:y,...b})}}).catch(async(h)=>{if(l=["reject",h],r.error!==void 0){s=!1;let x=typeof r.error==="function"?await r.error(h):r.error,v=typeof r.description==="function"?await r.description(h):r.description,k=typeof x==="object"&&!ns(x)?x:{message:x};this.create({id:a,type:"error",description:v,...k})}}).finally(()=>{if(s)this.dismiss(a),a=void 0;r.finally==null||r.finally.call(r)}),d=()=>new Promise((h,x)=>c.then(()=>l[0]==="reject"?x(l[1]):h(l[1])).catch(x));if(typeof a!=="string"&&typeof a!=="number")return{unwrap:d};else return Object.assign(a,{unwrap:d})},this.custom=(e,r)=>{let a=sZe(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 nl=new uZe,N0t=(e,r)=>nl.message(e,r),F0t=(e)=>e&&typeof e==="object"&&("ok"in e)&&typeof e.ok==="boolean"&&("status"in e)&&typeof e.status==="number",j0t=N0t,B0t=()=>nl.toasts,U0t=()=>nl.getActiveToasts(),M=Object.assign(j0t,{success:nl.success,info:nl.info,warning:nl.warning,error:nl.error,custom:nl.custom,message:nl.message,promise:nl.promise,dismiss:nl.dismiss,loading:nl.loading},{getHistory:B0t,getToasts:U0t});S0t("[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 X3(e){return e.label!==void 0}var Y0t=3,q0t="24px",H0t="16px",lZe=4000,V0t=356,W0t=14,G0t=45,K0t=200;function xZ(...e){return e.filter(Boolean).join(" ")}function X0t(e){let[r,a]=e.split("-"),i=[];if(r)i.push(r);if(a)i.push(a);return i}var Q0t=(e)=>{var r,a,i,s,l,c,d,h,x;let{invert:v,toast:y,unstyled:k,interacting:b,setHeights:T,visibleToasts:D,heights:U,index:A,toasts:j,expanded:V,removeToast:J,defaultRichColors:ee,closeButton:te,style:re,cancelButtonStyle:ae,actionButtonStyle:he,className:be="",descriptionClassName:Qe="",duration:Ye,position:Se,gap:Ge,expandByDefault:rt,classNames:tt,icons:bt,closeButtonAriaLabel:jt="Close toast"}=e,[qt,se]=u(null),[St,Ht]=u(null),[Oe,nr]=u(!1),[fr,er]=u(!1),[Ur,Vt]=u(!1),[Xt,Pr]=u(!1),[zr,Ar]=u(!1),[hr,go]=u(0),[po,va]=u(0),sr=_(y.duration||Ye||lZe),Mo=_(null),ho=_(null),Uo=A===0,bn=A+1<=D,Go=y.type,Xn=Go!=null?Go:"default",wn=y.dismissible!==!1,Qi=y.className||"",$e=y.descriptionClassName||"",Dt=N(()=>U.findIndex((tr)=>tr.toastId===y.id)||0,[U,y.id]),Mr=N(()=>{var tr;return(tr=y.closeButton)!=null?tr:te},[y.closeButton,te]),qr=N(()=>y.duration||Ye||lZe,[y.duration,Ye]),to=_(0),Ko=_(0),Ka=_(0),Ee=_(null),[De,je]=Se.split("-"),ft=N(()=>U.reduce((tr,Qo,_a)=>{if(_a>=Dt)return tr;return tr+Qo.height},0),[U,Dt]),Ct=E0t(),Bt=N(()=>{var tr;return(tr=e.swipeDirections)!=null?tr:X0t(Se)},[e.swipeDirections,Se]),or=y.invert||v,Ot=Go==="loading";Ko.current=N(()=>Dt*Ge+ft,[Dt,ft]),m(()=>{sr.current=qr},[qr]),m(()=>{nr(!0)},[]),m(()=>{let tr=ho.current;if(tr){let Qo=tr.getBoundingClientRect().height;return va(Qo),T((_a)=>[{toastId:y.id,height:Qo,position:y.position},..._a]),()=>T((_a)=>_a.filter((fi)=>fi.toastId!==y.id))}},[T,y.id]),Ue(()=>{if(!Oe)return;let tr=ho.current,Qo=tr.style.height;tr.style.height="auto";let _a=tr.getBoundingClientRect().height;tr.style.height=Qo,va(_a),T((fi)=>{if(!fi.find((Ya)=>Ya.toastId===y.id))return[{toastId:y.id,height:_a,position:y.position},...fi];else return fi.map((Ya)=>Ya.toastId===y.id?{...Ya,height:_a}:Ya)})},[Oe,y.title,y.description,T,y.id,y.jsx,y.action,y.cancel]);let Lt=P(()=>{er(!0),go(Ko.current),T((tr)=>tr.filter((Qo)=>Qo.toastId!==y.id)),setTimeout(()=>{J(y)},K0t)},[y,J,T,Ko]);m(()=>{if(y.promise&&Go==="loading"||y.duration===1/0||y.type==="loading")return;let tr,Qo=()=>{if(Ka.current<to.current){let fi=new Date().getTime()-to.current;sr.current=sr.current-fi}Ka.current=new Date().getTime()},_a=()=>{if(sr.current===1/0)return;to.current=new Date().getTime(),tr=setTimeout(()=>{y.onAutoClose==null||y.onAutoClose.call(y,y),Lt()},sr.current)};if(V||b||Ct)Qo();else _a();return()=>clearTimeout(tr)},[V,b,y,Go,Ct,Lt]),m(()=>{if(y.delete)Lt(),y.onDismiss==null||y.onDismiss.call(y,y)},[Lt,y.delete]);function Yt(){var tr;if(bt==null?void 0:bt.loading){var Qo;return q("div",{className:xZ(tt==null?void 0:tt.loader,y==null?void 0:(Qo=y.classNames)==null?void 0:Qo.loader,"sonner-loader"),"data-visible":Go==="loading"},bt.loading)}return q(C0t,{className:xZ(tt==null?void 0:tt.loader,y==null?void 0:(tr=y.classNames)==null?void 0:tr.loader),visible:Go==="loading"})}let jr=y.icon||(bt==null?void 0:bt[Go])||L0t(Go);var Yr,da;return q("li",{tabIndex:0,ref:ho,className:xZ(be,Qi,tt==null?void 0:tt.toast,y==null?void 0:(r=y.classNames)==null?void 0:r.toast,tt==null?void 0:tt[Xn],y==null?void 0:(a=y.classNames)==null?void 0:a[Xn]),"data-sonner-toast":"","data-rich-colors":(Yr=y.richColors)!=null?Yr:ee,"data-styled":!Boolean(y.jsx||y.unstyled||k),"data-mounted":Oe,"data-promise":Boolean(y.promise),"data-swiped":zr,"data-removed":fr,"data-visible":bn,"data-y-position":De,"data-x-position":je,"data-index":A,"data-front":Uo,"data-swiping":Ur,"data-dismissible":wn,"data-type":Go,"data-invert":or,"data-swipe-out":Xt,"data-swipe-direction":St,"data-expanded":Boolean(V||rt&&Oe),"data-testid":y.testId,style:{"--index":A,"--toasts-before":A,"--z-index":j.length-A,"--offset":`${fr?hr:Ko.current}px`,"--initial-height":rt?"auto":`${po}px`,...re,...y.style},onDragEnd:()=>{Vt(!1),se(null),Ee.current=null},onPointerDown:(tr)=>{if(tr.button===2)return;if(Ot||!wn)return;if(Mo.current=new Date,go(Ko.current),tr.target.setPointerCapture(tr.pointerId),tr.target.tagName==="BUTTON")return;Vt(!0),Ee.current={x:tr.clientX,y:tr.clientY}},onPointerUp:()=>{var tr,Qo,_a;if(Xt||!wn)return;Ee.current=null;let fi=Number(((tr=ho.current)==null?void 0:tr.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Cf=Number(((Qo=ho.current)==null?void 0:Qo.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ya=new Date().getTime()-((_a=Mo.current)==null?void 0:_a.getTime()),as=qt==="x"?fi:Cf,If=Math.abs(as)/Ya;if((qt==="x"?Bt.includes(fi>0?"right":"left"):Bt.includes(Cf>0?"bottom":"top"))&&(Math.abs(as)>=G0t||If>0.11)){if(go(Ko.current),y.onDismiss==null||y.onDismiss.call(y,y),qt==="x")Ht(fi>0?"right":"left");else Ht(Cf>0?"down":"up");Lt(),Pr(!0);return}else{var Fu,QB;(Fu=ho.current)==null||Fu.style.setProperty("--swipe-amount-x","0px"),(QB=ho.current)==null||QB.style.setProperty("--swipe-amount-y","0px")}Ar(!1),Vt(!1),se(null)},onPointerMove:(tr)=>{var Qo,_a,fi;if(!Ee.current||!wn)return;if(((Qo=window.getSelection())==null?void 0:Qo.toString().length)>0)return;let Ya=tr.clientY-Ee.current.y,as=tr.clientX-Ee.current.x;if(!qt&&(Math.abs(as)>1||Math.abs(Ya)>1))se(Math.abs(as)>Math.abs(Ya)?"x":"y");let If={x:0,y:0},XB=(Fu)=>1/(1.5+Math.abs(Fu)/20);if(qt==="y"){if(Bt.includes("top")||Bt.includes("bottom"))if(Bt.includes("top")&&Ya<0||Bt.includes("bottom")&&Ya>0)If.y=Ya;else{let Fu=Ya*XB(Ya);If.y=Math.abs(Fu)<Math.abs(Ya)?Fu:Ya}}else if(qt==="x"){if(Bt.includes("left")||Bt.includes("right"))if(Bt.includes("left")&&as<0||Bt.includes("right")&&as>0)If.x=as;else{let Fu=as*XB(as);If.x=Math.abs(Fu)<Math.abs(as)?Fu:as}}if(Math.abs(If.x)>0||Math.abs(If.y)>0)Ar(!0);(_a=ho.current)==null||_a.style.setProperty("--swipe-amount-x",`${If.x}px`),(fi=ho.current)==null||fi.style.setProperty("--swipe-amount-y",`${If.y}px`)}},Mr&&!y.jsx&&Go!=="loading"?q("button",{"aria-label":jt,"data-disabled":Ot,"data-close-button":!0,onClick:Ot||!wn?()=>{}:()=>{Lt(),y.onDismiss==null||y.onDismiss.call(y,y)},className:xZ(tt==null?void 0:tt.closeButton,y==null?void 0:(i=y.classNames)==null?void 0:i.closeButton)},(da=bt==null?void 0:bt.close)!=null?da:A0t):null,(Go||y.icon||y.promise)&&y.icon!==null&&((bt==null?void 0:bt[Go])!==null||y.icon)?q("div",{"data-icon":"",className:xZ(tt==null?void 0:tt.icon,y==null?void 0:(s=y.classNames)==null?void 0:s.icon)},Go==="loading"?y.icon||Yt():y.promise?Yt():null,Go!=="loading"?jr:null):null,q("div",{"data-content":"",className:xZ(tt==null?void 0:tt.content,y==null?void 0:(l=y.classNames)==null?void 0:l.content)},q("div",{"data-title":"",className:xZ(tt==null?void 0:tt.title,y==null?void 0:(c=y.classNames)==null?void 0:c.title)},y.jsx?y.jsx:typeof y.title==="function"?y.title():y.title),y.description?q("div",{"data-description":"",className:xZ(Qe,$e,tt==null?void 0:tt.description,y==null?void 0:(d=y.classNames)==null?void 0:d.description)},typeof y.description==="function"?y.description():y.description):null),ns(y.cancel)?y.cancel:y.cancel&&X3(y.cancel)?q("button",{"data-button":!0,"data-cancel":!0,style:y.cancelButtonStyle||ae,onClick:(tr)=>{if(!X3(y.cancel))return;if(!wn)return;y.cancel.onClick==null||y.cancel.onClick.call(y.cancel,tr),Lt()},className:xZ(tt==null?void 0:tt.cancelButton,y==null?void 0:(h=y.classNames)==null?void 0:h.cancelButton)},y.cancel.label):null,ns(y.action)?y.action:y.action&&X3(y.action)?q("button",{"data-button":!0,"data-action":!0,style:y.actionButtonStyle||he,onClick:(tr)=>{if(!X3(y.action))return;if(y.action.onClick==null||y.action.onClick.call(y.action,tr),tr.defaultPrevented)return;Lt()},className:xZ(tt==null?void 0:tt.actionButton,y==null?void 0:(x=y.classNames)==null?void 0:x.actionButton)},y.action.label):null)};function cZe(){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 J0t(e,r){let a={};return[e,r].forEach((i,s)=>{let l=s===1,c=l?"--mobile-offset":"--offset",d=l?H0t:q0t;function h(x){["top","right","bottom","left"].forEach((v)=>{a[`${c}-${v}`]=typeof x==="number"?`${x}px`:x})}if(typeof i==="number"||typeof i==="string")h(i);else if(typeof i==="object")["top","right","bottom","left"].forEach((x)=>{if(i[x]===void 0)a[`${c}-${x}`]=d;else a[`${c}-${x}`]=typeof i[x]==="number"?`${i[x]}px`:i[x]});else h(d)}),a}var dZe=F(function(r,a){let{id:i,invert:s,position:l="bottom-right",hotkey:c=["altKey","KeyT"],expand:d,closeButton:h,className:x,offset:v,mobileOffset:y,theme:k="light",richColors:b,duration:T,style:D,visibleToasts:U=Y0t,toastOptions:A,dir:j=cZe(),gap:V=W0t,icons:J,customAriaLabel:ee,containerAriaLabel:te="Notifications"}=r,[re,ae]=u([]),he=N(()=>{if(i)return re.filter((nr)=>nr.toasterId===i);return re.filter((nr)=>!nr.toasterId)},[re,i]),be=N(()=>Array.from(new Set([l].concat(he.filter((nr)=>nr.position).map((nr)=>nr.position)))),[he,l]),[Qe,Ye]=u([]),[Se,Ge]=u(!1),[rt,tt]=u(!1),[bt,jt]=u(k!=="system"?k:typeof window<"u"?window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":"light"),qt=_(null),se=c.join("+").replace(/Key/g,"").replace(/Digit/g,""),St=_(null),Ht=_(!1),Oe=P((nr)=>{ae((fr)=>{var er;if(!((er=fr.find((Ur)=>Ur.id===nr.id))==null?void 0:er.delete))nl.dismiss(nr.id);return fr.filter(({id:Ur})=>Ur!==nr.id)})},[]);return m(()=>nl.subscribe((nr)=>{if(nr.dismiss){requestAnimationFrame(()=>{ae((fr)=>fr.map((er)=>er.id===nr.id?{...er,delete:!0}:er))});return}setTimeout(()=>{sn(()=>{ae((fr)=>{let er=fr.findIndex((Ur)=>Ur.id===nr.id);if(er!==-1)return[...fr.slice(0,er),{...fr[er],...nr},...fr.slice(er+1)];return[nr,...fr]})})})}),[]),m(()=>{if(k!=="system"){jt(k);return}if(k==="system")if(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches)jt("dark");else jt("light");if(typeof window>"u")return;let nr=window.matchMedia("(prefers-color-scheme: dark)");try{nr.addEventListener("change",({matches:fr})=>{if(fr)jt("dark");else jt("light")})}catch(fr){nr.addListener(({matches:er})=>{try{if(er)jt("dark");else jt("light")}catch(Ur){console.error(Ur)}})}},[k]),m(()=>{if(re.length<=1)Ge(!1)},[re]),m(()=>{let nr=(fr)=>{var er;if(c.length>0&&c.every((Xt)=>fr[Xt]||fr.code===Xt)){var Vt;Ge(!0),(Vt=qt.current)==null||Vt.focus()}if(fr.code==="Escape"&&(document.activeElement===qt.current||((er=qt.current)==null?void 0:er.contains(document.activeElement))))Ge(!1)};return document.addEventListener("keydown",nr),()=>document.removeEventListener("keydown",nr)},[c]),m(()=>{if(qt.current)return()=>{if(St.current)St.current.focus({preventScroll:!0}),St.current=null,Ht.current=!1}},[qt.current]),q("section",{ref:a,"aria-label":ee!=null?ee:`${te} ${se}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0,"data-react-aria-top-layer":!0},be.map((nr,fr)=>{var er;let[Ur,Vt]=nr.split("-");if(!he.length)return null;return q("ol",{key:nr,dir:j==="auto"?cZe():j,tabIndex:-1,ref:qt,className:x,"data-sonner-toaster":!0,"data-sonner-theme":bt,"data-y-position":Ur,"data-x-position":Vt,style:{"--front-toast-height":`${((er=Qe[0])==null?void 0:er.height)||0}px`,"--width":`${V0t}px`,"--gap":`${V}px`,...D,...J0t(v,y)},onBlur:(Xt)=>{if(Ht.current&&!Xt.currentTarget.contains(Xt.relatedTarget)){if(Ht.current=!1,St.current)St.current.focus({preventScroll:!0}),St.current=null}},onFocus:(Xt)=>{if(Xt.target instanceof HTMLElement&&Xt.target.dataset.dismissible==="false")return;if(!Ht.current)Ht.current=!0,St.current=Xt.relatedTarget},onMouseEnter:()=>Ge(!0),onMouseMove:()=>Ge(!0),onMouseLeave:()=>{if(!rt)Ge(!1)},onDragEnd:()=>Ge(!1),onPointerDown:(Xt)=>{if(Xt.target instanceof HTMLElement&&Xt.target.dataset.dismissible==="false")return;tt(!0)},onPointerUp:()=>tt(!1)},he.filter((Xt)=>!Xt.position&&fr===0||Xt.position===nr).map((Xt,Pr)=>{var zr,Ar;return q(Q0t,{key:Xt.id,icons:J,index:Pr,toast:Xt,defaultRichColors:b,duration:(zr=A==null?void 0:A.duration)!=null?zr:T,className:A==null?void 0:A.className,descriptionClassName:A==null?void 0:A.descriptionClassName,invert:s,visibleToasts:U,closeButton:(Ar=A==null?void 0:A.closeButton)!=null?Ar:h,interacting:rt,position:nr,style:A==null?void 0:A.style,unstyled:A==null?void 0:A.unstyled,classNames:A==null?void 0:A.classNames,cancelButtonStyle:A==null?void 0:A.cancelButtonStyle,actionButtonStyle:A==null?void 0:A.actionButtonStyle,closeButtonAriaLabel:A==null?void 0:A.closeButtonAriaLabel,removeToast:Oe,toasts:he.filter((hr)=>hr.position==Xt.position),heights:Qe.filter((hr)=>hr.position==Xt.position),setHeights:Ye,expandByDefault:d,gap:V,expanded:Se,swipeDirections:r.swipeDirections})}))}))});function Sr({teamId:e,projectId:r,projectName:a,rootFolderId:i,dragState:s,onSelect:l,selectedFolderId:c,hideCollections:d,hideShares:h,hideRecentlyDeleted:x,hideRecents:v,ancestorFolders:y}){let k=Pe(),b=G(),{canEdit:T}=Ft(r),D=zi({from:"/projects/$projectId/recently-deleted",shouldThrow:!1}),U=zi({from:"/projects/$projectId/recents",shouldThrow:!1}),[A,j]=u(!0),[V,J]=u(!0),[ee,te]=u(!0),{data:re,fetchNextPage:ae,hasNextPage:he,isFetchingNextPage:be}=pt({queryKey:["shares",r],queryFn:async({pageParam:De})=>{let je=await g.api.projects[":projectId"].shares.$get({param:{projectId:r},query:{first:"20",after:De}});if(!je.ok)throw Error(tqe());return await je.json()},initialPageParam:"",getNextPageParam:(De)=>De.pageInfo?.cursor||void 0,enabled:!!r}),{data:Qe,fetchNextPage:Ye,hasNextPage:Se,isFetchingNextPage:Ge}=pt({queryKey:["collections",r],queryFn:async({pageParam:De})=>{let je=await g.api.projects[":projectId"].collections.$get({param:{projectId:r},query:{first:"20",after:De}});if(!je.ok)throw Error(qYe());return await je.json()},initialPageParam:"",getNextPageParam:(De)=>De.pageInfo?.cursor||void 0,enabled:!!r}),{ref:rt,inView:tt}=Nt(),{ref:bt,inView:jt}=Nt();m(()=>{if(tt&&Se&&!Ge)Ye()},[tt,Se,Ge,Ye]),m(()=>{if(jt&&he&&!be)ae()},[jt,he,be,ae]);let qt=N(()=>Qe?.pages.flatMap((De)=>De.data)||[],[Qe]),se=N(()=>re?.pages.flatMap((De)=>De.data)||[],[re]),{mutate:St}=B({mutationFn:async()=>{let De=await g.api.projects[":projectId"].collections.$post({param:{projectId:r},json:{name:HA(),filter:{sourceFolderId:i,searchFilter:{conditions:[],recursively:!0}}}});if(!De.ok)throw Error(bYe());return await De.json()},onSuccess:(De)=>{b.invalidateQueries({queryKey:["collections",r]}),M.success(qFe()),k({to:"/projects/$projectId/collections/$collectionId",params:{projectId:r,collectionId:De.id}})},onError:(De)=>{M.error(`Error: ${De.message}`)}}),{mutate:Ht}=B({mutationFn:async()=>{let De=await g.api.projects[":projectId"].shares.$post({param:{projectId:r},json:{name:new Date().toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}});if(!De.ok)throw Error(IYe());return await De.json()},onSuccess:(De)=>{b.invalidateQueries({queryKey:["shares",r]}),M.success(Ppt()),k({to:"/projects/$projectId/shares/$shareId",params:{projectId:r,shareId:De.id}})},onError:(De)=>{M.error(`Error: ${De.message}`)}}),Oe=pl({from:"/projects/$projectId/collections/$collectionId",shouldThrow:!1}),nr=pl({from:"/projects/$projectId/shares/$shareId",shouldThrow:!1}),fr=pl({from:"/projects/$projectId/folders/$folderId",shouldThrow:!1}),[er,Ur]=u(null),[Vt,Xt]=u("collection"),[Pr,zr]=u(""),[Ar,hr]=u(!1),[go,po]=u(null),[va,sr]=u("collection"),[Mo,ho]=u(!1),{mutate:Uo}=B({mutationFn:async({id:De,name:je})=>{let ft=await g.api.folders[":folderId"].$put({param:{folderId:De},json:{name:je}});if(!ft.ok)throw Error(Zqe());return await ft.json()},onSuccess:()=>{b.invalidateQueries({queryKey:["search",e]}),b.invalidateQueries({queryKey:["folders"]}),M.success(hVe()),hr(!1)},onError:(De)=>{M.error(`Error: ${De.message}`)}}),{mutate:bn}=B({mutationFn:async(De)=>{if(!(await g.api.folders.$delete({json:{ids:[De]}})).ok)throw Error(NYe());return De},onSuccess:(De)=>{if(b.invalidateQueries({queryKey:["search",e]}),b.invalidateQueries({queryKey:["folders"]}),M.success(lVe()),ho(!1),fr?.folderId===De)k({to:"/projects/$projectId",params:{projectId:r}})},onError:(De)=>{M.error(`Error: ${De.message}`)}}),[Go,Xn]=u(!1),[wn,Qi]=u(!1),[$e,Dt]=u([]),Mr=async(De)=>{Xn(!0),Qi(!0),Dt([]);try{let je=await g.api.files["download-links"].$post({json:{ids:[De]}});if(!je.ok)throw Error(rce());let ft=await je.json();Dt(ft.files)}catch(je){M.error(rce()),Xn(!1),console.error(je)}finally{Qi(!1)}},qr=()=>{let De=[...$e];if(Xn(!1),De.length===0)return;M.info(Aht({count:De.length}),{duration:5000});let je=(Ct)=>new Promise((Bt)=>setTimeout(Bt,Ct));(async()=>{for(let Bt=0;Bt<De.length;Bt+=5){let or=De.slice(Bt,Bt+5);for(let Ot of or){let Lt=document.createElement("a");Lt.href=Ot.url,Lt.download=Ot.name,Lt.target="_blank",document.body.appendChild(Lt),Lt.click(),Lt.remove()}await je(1000)}})().catch((Ct)=>{console.error("Background downloads failed:",Ct),M.error(Wmt())})},{mutate:to}=B({mutationFn:async({id:De,name:je})=>{let ft=await g.api.collections[":collectionId"].$patch({param:{collectionId:De},json:{name:je}});if(!ft.ok)throw Error(cqe());return await ft.json()},onSuccess:()=>{b.invalidateQueries({queryKey:["collections",r]}),M.success(JFe()),hr(!1)},onError:(De)=>{M.error(`Error: ${De.message}`)}}),{mutate:Ko}=B({mutationFn:async(De)=>{let je=await g.api.collections[":collectionId"].$delete({param:{collectionId:De}});if(!je.ok)throw Error(TYe());return await je.json()},onSuccess:(De,je)=>{if(b.invalidateQueries({queryKey:["collections",r]}),M.success(WFe()),ho(!1),Oe?.collectionId===je)k({to:"/projects/$projectId",params:{projectId:r}})},onError:(De)=>{M.error(`Error: ${De.message}`)}}),{mutate:Ka}=B({mutationFn:async({id:De,name:je})=>{let ft=await g.api.shares[":shareId"].$put({param:{shareId:De},json:{name:je}});if(!ft.ok)throw Error(hqe());return await ft.json()},onSuccess:()=>{b.invalidateQueries({queryKey:["shares",r]}),M.success(Npt()),hr(!1)},onError:(De)=>{M.error(`Error: ${De.message}`)}}),{mutate:Ee}=B({mutationFn:async(De)=>{if(!(await g.api.shares[":shareId"].$delete({param:{shareId:De}})).ok)throw Error(BYe());return De},onSuccess:(De)=>{if(b.invalidateQueries({queryKey:["shares",r]}),M.success(Ept()),ho(!1),nr?.shareId===De)k({to:"/projects/$projectId",params:{projectId:r}})},onError:(De)=>{M.error(`Error: ${De.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",A?"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:()=>j(!A),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:ace()}),A?t(fL,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(sL,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]})}),t(le,{className:C("flex-1 min-h-0 transition-all duration-300 ease-in-out [&>div>div]:block!",A?"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:[!v&&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:()=>k({to:"/projects/$projectId/recents",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(js,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:sA()})]}),t(ZZe,{teamId:e,projectId:r,folder:{id:i,name:a,type:"folder",sizeByte:0,fileCount:0,status:"processed",createdAt:"",updatedAt:""},level:0,isRoot:!0,dragState:s,onSelect:l,selectedFolderId:c,canEdit:T,onRenameTrigger:(De,je)=>{Ur(De),Xt("folder"),zr(je),hr(!0)},onDeleteTrigger:(De)=>{po(De),sr("folder"),ho(!0)},onDownloadTrigger:(De)=>{Mr(De)},ancestorFolders:y},i),T&&!x&&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",D&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium"),onClick:()=>k({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:oA()})]})]})})]}),!d&&o("div",{className:C("flex flex-col overflow-hidden transition-all duration-300 ease-in-out border-b border-border pb-4",V?"flex-1 min-h-0 h-full":"flex-none h-[44px] max-h-[44px]"),children:[o("header",{className:"group flex items-center justify-between px-2 mb-1 flex-none",children:[o("div",{className:"flex-1 flex items-center gap-1.5 cursor-pointer select-none text-muted-foreground hover:text-foreground transition-colors",onClick:()=>J(!V),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:o3e()}),V?t(fL,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(sL,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]}),T&&t("button",{"data-testid":"create-collection",onClick:()=>St(),className:"text-muted-foreground hover:text-foreground flex-none",children:t(pe,{className:"h-3.5 w-3.5"})})]}),t(le,{className:C("flex-1 min-h-0 transition-all duration-300 ease-in-out [&>div>div]:block!",V?"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:()=>k({to:"/projects/$projectId/collections",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(io,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:dNe({count:Qe?.pages[0]?.pageInfo?.total||0})})]}),qt.map((De)=>{let je=Oe?.collectionId===De.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",je&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium"),onClick:()=>k({to:"/projects/$projectId/collections/$collectionId",params:{projectId:r,collectionId:De.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(ta,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"truncate text-sidebar-foreground flex-1",children:De.name})]}),T&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity shrink-0",onClick:(ft)=>ft.stopPropagation(),children:o(ge,{modal:!1,children:[t(Ae,{asChild:!0,children:t(S,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(rr,{className:"h-3.5 w-3.5"})})}),o(_e,{align:"end",className:"w-32",children:[t(K,{onClick:()=>{Ur(De.id),Xt("collection"),zr(De.name),hr(!0)},children:Zo()}),t(K,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{po(De.id),sr("collection"),ho(!0)},children:ht()})]})]})})]},De.id)}),t("div",{ref:rt,className:"h-1"}),Ge&&t("div",{className:"flex justify-center p-2",children:t(O,{className:"h-4 w-4 animate-spin text-muted-foreground"})})]})})]}),!h&&o("div",{className:C("flex flex-col overflow-hidden transition-all duration-300 ease-in-out",ee?"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:()=>te(!ee),children:[t("h3",{className:"text-xs font-semibold uppercase tracking-wider",children:Ypt()}),ee?t(fL,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"}):t(sL,{className:"h-3.5 w-3.5 opacity-0 group-hover:opacity-100 transition-opacity duration-200"})]}),T&&t("div",{className:"flex items-center gap-1 flex-none",children:t("button",{onClick:()=>Ht(),className:"text-muted-foreground hover:text-foreground",children:t(pe,{className:"h-3.5 w-3.5"})})})]}),t(le,{className:C("flex-1 min-h-0 transition-all duration-300 ease-in-out [&>div>div]:block!",ee?"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:()=>k({to:"/projects/$projectId/shares",params:{projectId:r}}),children:[t("div",{className:"flex h-4 w-4 items-center justify-center",children:t(io,{className:"h-4 w-4 text-sidebar-primary"})}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:wNe({count:re?.pages[0]?.pageInfo?.total||0})})]}),se.map((De)=>t($0t,{link:De,projectId:r,dragState:s,canEdit:T,onRenameTrigger:(je,ft)=>{Ur(je),Xt("share"),zr(ft),hr(!0)},onDeleteTrigger:(je)=>{po(je),sr("share"),ho(!0)}},De.id)),t("div",{ref:bt,className:"h-1"}),be&&t("div",{className:"flex justify-center p-2",children:t(O,{className:"h-4 w-4 animate-spin text-muted-foreground"})})]})})]}),t(de,{open:Ar,onOpenChange:hr,children:o(ce,{onClick:(De)=>De.stopPropagation(),children:[t(me,{children:t(ue,{children:Vt==="collection"?Act():Vt==="share"?jct():Oct()})}),t("div",{className:"py-4",children:t(z,{value:Pr,onChange:(De)=>zr(De.target.value),placeholder:vd(),onKeyDown:(De)=>{if(De.key==="Enter"&&Pr.trim()){if(Vt==="collection")to({id:er,name:Pr});else if(Vt==="share")Ka({id:er,name:Pr});else if(Vt==="folder")Uo({id:er,name:Pr})}}})}),o(He,{children:[t(S,{variant:"ghost",onClick:()=>hr(!1),children:Re()}),t(S,{disabled:!Pr.trim(),onClick:()=>{if(Vt==="collection")to({id:er,name:Pr});else if(Vt==="share")Ka({id:er,name:Pr});else if(Vt==="folder")Uo({id:er,name:Pr})},children:Zo()})]})]})}),t(nt,{open:Mo,onOpenChange:ho,children:o(ot,{onClick:(De)=>De.stopPropagation(),children:[o(st,{children:[t(at,{children:va==="collection"?f6e():va==="share"?V6e():x6e()}),t(lt,{children:p6e({type:va==="collection"?BFe():va==="share"?Cpt():iVe().toLowerCase()})})]}),o(it,{children:[t(ut,{children:Re()}),t(ct,{className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",onClick:()=>{if(va==="collection")Ko(go);else if(va==="share")Ee(go);else if(va==="folder")bn(go)},children:ht()})]})]})}),t(de,{open:Go,onOpenChange:Xn,children:o(ce,{className:"sm:max-w-md",children:[o(me,{children:[t(ue,{children:wn?Zg():vh()}),t(Et,{children:wn?lA():Wh()})]}),wn?o("div",{className:"space-y-4 py-6 flex flex-col items-center justify-center",children:[t(O,{className:"h-8 w-8 animate-spin text-primary"}),t("span",{className:"text-sm font-medium text-muted-foreground mt-2",children:Bg()})]}):o("div",{className:"space-y-4 py-2",children:[t("div",{className:"text-sm text-muted-foreground",children:Ph({count:$e.length})}),o("div",{className:"flex items-start gap-3 p-3 text-sm rounded-lg bg-amber-50 dark:bg-amber-950/30 text-amber-800 dark:text-amber-300 border border-amber-200 dark:border-amber-900/30",children:[t(Dr,{className:"h-5 w-5 shrink-0 mt-0.5"}),o("div",{children:[t("p",{className:"font-semibold",children:Ig()}),t("p",{className:"mt-0.5 text-xs text-amber-700/90 dark:text-amber-400/90",children:Jh()})]})]})]}),t(He,{children:!wn?o(L,{children:[t(S,{variant:"outline",onClick:()=>Xn(!1),children:Re()}),o(S,{onClick:qr,className:"gap-2",disabled:$e.length===0,children:[t(wt,{className:"h-4 w-4"}),TA()]})]}):t(S,{disabled:!0,variant:"outline",children:Re()})})]})})]})}function $0t({link:e,projectId:r,dragState:a,canEdit:i,onRenameTrigger:s,onDeleteTrigger:l}){let c=Pe(),h=pl({from:"/projects/$projectId/shares/$shareId",shouldThrow:!1})?.shareId===e.id,{ref:x,isDropTarget:v}=Br({id:`share:${e.id}`,data:{type:"share-link",id:e.id}}),y=!!a?.isActive;return o("div",{ref:x,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",h&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium",v&&y&&"bg-sidebar-accent ring-2 ring-primary ring-inset"),onClick:()=>c({to:"/projects/$projectId/shares/$shareId",params:{projectId:r,shareId:e.id}}),children:[o("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[t("div",{className:"flex h-4 w-4 items-center justify-center shrink-0",children:t(Pa,{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:(k)=>k.stopPropagation(),children:o(ge,{modal:!1,children:[t(Ae,{asChild:!0,children:t(S,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(rr,{className:"h-3.5 w-3.5"})})}),o(_e,{align:"end",className:"w-32",children:[t(K,{onClick:()=>{s(e.id,e.name)},children:Zo()}),t(K,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{l(e.id)},children:ht()})]})]})})]})}function ZZe({teamId:e,projectId:r,folder:a,level:i,isRoot:s,dragState:l,onSelect:c,selectedFolderId:d,canEdit:h,onRenameTrigger:x,onDeleteTrigger:v,onDownloadTrigger:y,ancestorFolders:k}){let b=N(()=>k?.some((Ht)=>Ht.id===a.id)??!1,[k,a.id]),[T,D]=u(s||b);m(()=>{if(b)D(!0)},[b]);let U=Pe(),A=pl({from:"/projects/$projectId/folders/$folderId",select:(Ht)=>({folderId:Ht.folderId}),shouldThrow:!1}),j=pl({from:"/projects/$projectId/",shouldThrow:!1}),V=s?!!j:A?.folderId===a.id,{data:J,fetchNextPage:ee,hasNextPage:te,isFetchingNextPage:re,isLoading:ae}=pt({queryKey:["folders",a.id,"children",{assetType:"folder"}],queryFn:async({pageParam:Ht})=>{let Oe=await g.api.folders[":folderId"].children.$get({param:{folderId:a.id},query:{assetType:"folder",after:Ht,first:"20"}});if(!Oe.ok)throw Error(Tqe());return await Oe.json()},initialPageParam:"",getNextPageParam:(Ht)=>Ht.pageInfo?.cursor||void 0,enabled:T||!!s}),{ref:he,inView:be}=Nt();m(()=>{if(be&&te&&!re)ee()},[be,te,re,ee]);let Qe=J?.pages.flatMap((Ht)=>Ht.data??[])??[],Ye=(Ht)=>{Ht.stopPropagation(),D(!T)},Se=()=>{if(c){c(a);return}if(s)U({to:"/projects/$projectId",params:{projectId:r}});else U({to:"/projects/$projectId/folders/$folderId",params:{projectId:r,folderId:a.id}})},{ref:Ge,isDragging:rt}=xs({id:`tree:${a.id}`,data:{type:"folder",item:a},disabled:!!s||!!c||!h}),{ref:tt,isDropTarget:bt}=Br({id:`tree:${a.id}`,data:{type:"folder",item:a},disabled:l?.draggedIds.has(a.id)||!!c||!h}),jt=(Ht)=>{Ge(Ht),tt(Ht)},qt=N(()=>{if(c)return!1;if(!l?.isActive)return!1;if(l.draggedIds.has(a.id))return!1;return!0},[l,a.id,c]),se=bt&&qt,St=d===a.id;return o("div",{children:[o("div",{ref:jt,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",(V||St)&&"bg-sidebar-accent text-sidebar-accent-foreground font-medium",rt&&"opacity-50",se&&"bg-sidebar-accent ring-2 ring-primary ring-inset"),style:{...s?{}:{paddingLeft:`${i*12+8}px`}},onClick:Se,children:[!s&&t("button",{onClick:Ye,className:"flex h-4 w-4 items-center justify-center shrink-0",children:T?t(ve,{className:"h-3 w-3"}):t(It,{className:"h-3 w-3"})}),s?t(mD,{className:"h-4 w-4 text-sidebar-primary shrink-0"}):t(lr,{className:"h-4 w-4 text-sidebar-primary shrink-0"}),t("span",{className:"flex-1 truncate text-sidebar-foreground",children:a.name}),h&&!s&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity shrink-0",onClick:(Ht)=>Ht.stopPropagation(),children:o(ge,{modal:!1,children:[t(Ae,{asChild:!0,children:t(S,{variant:"ghost",size:"icon-sm",className:"h-6 w-6 shrink-0 hover:bg-muted hover:text-muted-foreground p-0",children:t(rr,{className:"h-3.5 w-3.5"})})}),o(_e,{align:"end",className:"w-32",children:[o(K,{onClick:()=>{x(a.id,a.name)},children:[t(Xr,{className:"mr-2 h-4 w-4"}),Zo()]}),o(K,{onClick:()=>{y(a.id)},children:[t(wt,{className:"mr-2 h-4 w-4"}),_r()]}),t(Kt,{}),o(K,{className:"text-destructive focus:text-destructive focus:bg-destructive/10",onClick:()=>{v(a.id)},children:[t(we,{className:"mr-2 h-4 w-4"}),ht()]})]})]})})]}),T&&o("div",{children:[ae&&t("div",{className:"flex items-center justify-center p-2",style:{paddingLeft:`${(i+1)*12+8}px`},children:t(O,{className:"h-4 w-4 animate-spin"})}),Qe.map((Ht)=>t(ZZe,{teamId:e,projectId:r,folder:Ht,level:i+1,dragState:l,onSelect:c,selectedFolderId:d,canEdit:h,onRenameTrigger:x,onDeleteTrigger:v,onDownloadTrigger:y,ancestorFolders:k},Ht.id)),te&&t("div",{ref:he,className:"flex items-center justify-center p-2",style:{paddingLeft:`${(i+1)*12+8}px`},children:re&&t(O,{className:"h-4 w-4 animate-spin"})})]})]})}var ezt=Math.pow(10,8)*24*60*60*1000,R0n=-ezt,Q3=604800000,pZe=86400000,HV=60000,FO=3600000;var VV=Symbol.for("constructDateFrom");function At(e,r){if(typeof e==="function")return e(r);if(e&&typeof e==="object"&&VV in e)return e[VV](r);if(e instanceof Date)return new e.constructor(r);return new Date(r)}function xe(e,r){return At(r||e,e)}function mP(e,r,a){let i=xe(e,a?.in);if(isNaN(r))return At(a?.in||e,NaN);if(!r)return i;return i.setDate(i.getDate()+r),i}function ja(e,r,a){let i=xe(e,a?.in);if(isNaN(r))return At(a?.in||e,NaN);if(!r)return i;let s=i.getDate(),l=At(a?.in||e,i.getTime());l.setMonth(i.getMonth()+r+1,0);let c=l.getDate();if(s>=c)return l;else return i.setFullYear(l.getFullYear(),l.getMonth(),s),i}function mZe(e,r,a){return At(a?.in||e,+xe(e)+r)}function hZe(e,r,a){return mZe(e,r*FO,a)}var tzt={};function vZ(){return tzt}function Cu(e,r){let a=vZ(),i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,s=xe(e,r?.in),l=s.getDay(),c=(l<i?7:0)+l-i;return s.setDate(s.getDate()-c),s.setHours(0,0,0,0),s}function BM(e,r){return Cu(e,{...r,weekStartsOn:1})}function J3(e,r){let a=xe(e,r?.in),i=a.getFullYear(),s=At(a,0);s.setFullYear(i+1,0,4),s.setHours(0,0,0,0);let l=BM(s),c=At(a,0);c.setFullYear(i,0,4),c.setHours(0,0,0,0);let d=BM(c);if(a.getTime()>=l.getTime())return i+1;else if(a.getTime()>=d.getTime())return i;else return i-1}function WV(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 il(e,...r){let a=At.bind(null,e||r.find((i)=>typeof i==="object"));return r.map(a)}function cz(e,r){let a=xe(e,r?.in);return a.setHours(0,0,0,0),a}function uz(e,r,a){let[i,s]=il(a?.in,e,r),l=cz(i),c=cz(s),d=+l-WV(l),h=+c-WV(c);return Math.round((d-h)/pZe)}function gZe(e,r){let a=J3(e,r),i=At(r?.in||e,0);return i.setFullYear(a,0,4),i.setHours(0,0,0,0),BM(i)}function jO(e,r,a){return mP(e,r*7,a)}function MZe(e,r,a){return ja(e,r*12,a)}function xZe(e,r){let a,i=r?.in;return e.forEach((s)=>{if(!i&&typeof s==="object")i=At.bind(null,s);let l=xe(s,i);if(!a||a<l||isNaN(+l))a=l}),At(i,a||NaN)}function vZe(e,r){let a,i=r?.in;return e.forEach((s)=>{if(!i&&typeof s==="object")i=At.bind(null,s);let l=xe(s,i);if(!a||a>l||isNaN(+l))a=l}),At(i,a||NaN)}function $3(e){return At(e,Date.now())}function hP(e,r,a){let[i,s]=il(a?.in,e,r);return+cz(i)===+cz(s)}function ej(e){return e instanceof Date||typeof e==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function sa(e){return!(!ej(e)&&typeof e!=="number"||isNaN(+xe(e)))}function tj(e,r,a){let[i,s]=il(a?.in,e,r),l=i.getFullYear()-s.getFullYear(),c=i.getMonth()-s.getMonth();return l*12+c}function GV(e,r,a){let[i,s]=il(a?.in,e,r),l=_Ze(i,s),c=Math.abs(uz(i,s));i.setDate(i.getDate()-l*c);let d=Number(_Ze(i,s)===-l),h=l*(c-d);return h===0?0:h}function _Ze(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 ef(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 Ul(e,r){let[a,i]=il(e,r.start,r.end);return{start:a,end:i}}function yZe(e,r){let{start:a,end:i}=Ul(r?.in,e),s=+a>+i,l=s?+a:+i,c=s?i:a;c.setHours(0,0,0,0),c.setDate(1);let d=r?.step??1;if(!d)return[];if(d<0)d=-d,s=!s;let h=[];while(+c<=l)h.push(At(a,c)),c.setMonth(c.getMonth()+d);return s?h.reverse():h}function bZe(e,r){let a=xe(e,r?.in);return a.setDate(1),a.setHours(0,0,0,0),a}function wZe(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 rj(e,r){let a=xe(e,r?.in);return a.setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a}function zZe(e,r){let{start:a,end:i}=Ul(r?.in,e),s=+a>+i,l=s?+a:+i,c=s?i:a;c.setHours(0,0,0,0),c.setMonth(0,1);let d=r?.step??1;if(!d)return[];if(d<0)d=-d,s=!s;let h=[];while(+c<=l)h.push(At(a,c)),c.setFullYear(c.getFullYear()+d);return s?h.reverse():h}function oj(e,r){let a=vZ(),i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,s=xe(e,r?.in),l=s.getDay(),c=(l<i?-7:0)+6-(l-i);return s.setDate(s.getDate()+c),s.setHours(23,59,59,999),s}function SZe(e,r){return oj(e,{...r,weekStartsOn:1})}var rzt={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"}},LZe=(e,r,a)=>{let i,s=rzt[e];if(typeof s==="string")i=s;else if(r===1)i=s.one;else i=s.other.replace("{{count}}",r.toString());if(a?.addSuffix)if(a.comparison&&a.comparison>0)return"in "+i;else return i+" ago";return i};function aj(e){return(r={})=>{let a=r.width?String(r.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}var ozt={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},azt={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},nzt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},kZe={date:aj({formats:ozt,defaultWidth:"full"}),time:aj({formats:azt,defaultWidth:"full"}),dateTime:aj({formats:nzt,defaultWidth:"full"})};var izt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},CZe=(e,r,a,i)=>izt[e];function gP(e){return(r,a)=>{let i=a?.context?String(a.context):"standalone",s;if(i==="formatting"&&e.formattingValues){let c=e.defaultFormattingWidth||e.defaultWidth,d=a?.width?String(a.width):c;s=e.formattingValues[d]||e.formattingValues[c]}else{let c=e.defaultWidth,d=a?.width?String(a.width):e.defaultWidth;s=e.values[d]||e.values[c]}let l=e.argumentCallback?e.argumentCallback(r):r;return s[l]}}var fzt={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},szt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},lzt={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"]},czt={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"]},uzt={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"}},dzt={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"}},Zzt=(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"},IZe={ordinalNumber:Zzt,era:gP({values:fzt,defaultWidth:"wide"}),quarter:gP({values:szt,defaultWidth:"wide",argumentCallback:(e)=>e-1}),month:gP({values:lzt,defaultWidth:"wide"}),day:gP({values:czt,defaultWidth:"wide"}),dayPeriod:gP({values:uzt,defaultWidth:"wide",formattingValues:dzt,defaultFormattingWidth:"wide"})};function MP(e){return(r,a={})=>{let i=a.width,s=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],l=r.match(s);if(!l)return null;let c=l[0],d=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],h=Array.isArray(d)?mzt(d,(y)=>y.test(c)):pzt(d,(y)=>y.test(c)),x;x=e.valueCallback?e.valueCallback(h):h,x=a.valueCallback?a.valueCallback(x):x;let v=r.slice(c.length);return{value:x,rest:v}}}function pzt(e,r){for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&r(e[a]))return a;return}function mzt(e,r){for(let a=0;a<e.length;a++)if(r(e[a]))return a;return}function RZe(e){return(r,a={})=>{let i=r.match(e.matchPattern);if(!i)return null;let s=i[0],l=r.match(e.parsePattern);if(!l)return null;let c=e.valueCallback?e.valueCallback(l[0]):l[0];c=a.valueCallback?a.valueCallback(c):c;let d=r.slice(s.length);return{value:c,rest:d}}}var hzt=/^(\d+)(th|st|nd|rd)?/i,gzt=/\d+/i,Mzt={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},xzt={any:[/^b/i,/^(a|c)/i]},vzt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},_zt={any:[/1/i,/2/i,/3/i,/4/i]},yzt={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},bzt={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]},wzt={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},zzt={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]},Szt={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},Lzt={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}},PZe={ordinalNumber:RZe({matchPattern:hzt,parsePattern:gzt,valueCallback:(e)=>parseInt(e,10)}),era:MP({matchPatterns:Mzt,defaultMatchWidth:"wide",parsePatterns:xzt,defaultParseWidth:"any"}),quarter:MP({matchPatterns:vzt,defaultMatchWidth:"wide",parsePatterns:_zt,defaultParseWidth:"any",valueCallback:(e)=>e+1}),month:MP({matchPatterns:yzt,defaultMatchWidth:"wide",parsePatterns:bzt,defaultParseWidth:"any"}),day:MP({matchPatterns:wzt,defaultMatchWidth:"wide",parsePatterns:zzt,defaultParseWidth:"any"}),dayPeriod:MP({matchPatterns:Szt,defaultMatchWidth:"any",parsePatterns:Lzt,defaultParseWidth:"any"})};var UM={code:"en-US",formatDistance:LZe,formatLong:kZe,formatRelative:CZe,localize:IZe,match:PZe,options:{weekStartsOn:0,firstWeekContainsDate:1}};function TZe(e,r){let a=xe(e,r?.in);return uz(a,rj(a))+1}function xP(e,r){let a=xe(e,r?.in),i=+BM(a)-+gZe(a);return Math.round(i/Q3)+1}function nj(e,r){let a=xe(e,r?.in),i=a.getFullYear(),s=vZ(),l=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,c=At(r?.in||e,0);c.setFullYear(i+1,0,l),c.setHours(0,0,0,0);let d=Cu(c,r),h=At(r?.in||e,0);h.setFullYear(i,0,l),h.setHours(0,0,0,0);let x=Cu(h,r);if(+a>=+d)return i+1;else if(+a>=+x)return i;else return i-1}function AZe(e,r){let a=vZ(),i=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,s=nj(e,r),l=At(r?.in||e,0);return l.setFullYear(s,0,i),l.setHours(0,0,0,0),Cu(l,r)}function vP(e,r){let a=xe(e,r?.in),i=+Cu(a,r)-+AZe(a,r);return Math.round(i/Q3)+1}function Wo(e,r){let a=e<0?"-":"",i=Math.abs(e).toString().padStart(r,"0");return a+i}var YM={y(e,r){let a=e.getFullYear(),i=a>0?a:1-a;return Wo(r==="yy"?i%100:i,r.length)},M(e,r){let a=e.getMonth();return r==="M"?String(a+1):Wo(a+1,2)},d(e,r){return Wo(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 Wo(e.getHours()%12||12,r.length)},H(e,r){return Wo(e.getHours(),r.length)},m(e,r){return Wo(e.getMinutes(),r.length)},s(e,r){return Wo(e.getSeconds(),r.length)},S(e,r){let a=r.length,i=e.getMilliseconds(),s=Math.trunc(i*Math.pow(10,a-3));return Wo(s,r.length)}};var _P={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},KV={G:function(e,r,a){let i=e.getFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return a.era(i,{width:"abbreviated"});case"GGGGG":return a.era(i,{width:"narrow"});case"GGGG":default:return a.era(i,{width:"wide"})}},y:function(e,r,a){if(r==="yo"){let i=e.getFullYear(),s=i>0?i:1-i;return a.ordinalNumber(s,{unit:"year"})}return YM.y(e,r)},Y:function(e,r,a,i){let s=nj(e,i),l=s>0?s:1-s;if(r==="YY"){let c=l%100;return Wo(c,2)}if(r==="Yo")return a.ordinalNumber(l,{unit:"year"});return Wo(l,r.length)},R:function(e,r){let a=J3(e);return Wo(a,r.length)},u:function(e,r){let a=e.getFullYear();return Wo(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 Wo(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 Wo(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 YM.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 Wo(i+1,2);case"Lo":return a.ordinalNumber(i+1,{unit:"month"});case"LLL":return a.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(i,{width:"wide",context:"standalone"})}},w:function(e,r,a,i){let s=vP(e,i);if(r==="wo")return a.ordinalNumber(s,{unit:"week"});return Wo(s,r.length)},I:function(e,r,a){let i=xP(e);if(r==="Io")return a.ordinalNumber(i,{unit:"week"});return Wo(i,r.length)},d:function(e,r,a){if(r==="do")return a.ordinalNumber(e.getDate(),{unit:"date"});return YM.d(e,r)},D:function(e,r,a){let i=TZe(e);if(r==="Do")return a.ordinalNumber(i,{unit:"dayOfYear"});return Wo(i,r.length)},E:function(e,r,a){let i=e.getDay();switch(r){case"E":case"EE":case"EEE":return a.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(i,{width:"short",context:"formatting"});case"EEEE":default:return a.day(i,{width:"wide",context:"formatting"})}},e:function(e,r,a,i){let s=e.getDay(),l=(s-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(l);case"ee":return Wo(l,2);case"eo":return a.ordinalNumber(l,{unit:"day"});case"eee":return a.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(s,{width:"short",context:"formatting"});case"eeee":default:return a.day(s,{width:"wide",context:"formatting"})}},c:function(e,r,a,i){let s=e.getDay(),l=(s-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(l);case"cc":return Wo(l,r.length);case"co":return a.ordinalNumber(l,{unit:"day"});case"ccc":return a.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(s,{width:"narrow",context:"standalone"});case"cccccc":return a.day(s,{width:"short",context:"standalone"});case"cccc":default:return a.day(s,{width:"wide",context:"standalone"})}},i:function(e,r,a){let i=e.getDay(),s=i===0?7:i;switch(r){case"i":return String(s);case"ii":return Wo(s,r.length);case"io":return a.ordinalNumber(s,{unit:"day"});case"iii":return a.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(i,{width:"short",context:"formatting"});case"iiii":default:return a.day(i,{width:"wide",context:"formatting"})}},a:function(e,r,a){let s=e.getHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return a.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(e,r,a){let i=e.getHours(),s;if(i===12)s=_P.noon;else if(i===0)s=_P.midnight;else s=i/12>=1?"pm":"am";switch(r){case"b":case"bb":return a.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(e,r,a){let i=e.getHours(),s;if(i>=17)s=_P.evening;else if(i>=12)s=_P.afternoon;else if(i>=4)s=_P.morning;else s=_P.night;switch(r){case"B":case"BB":case"BBB":return a.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(e,r,a){if(r==="ho"){let i=e.getHours()%12;if(i===0)i=12;return a.ordinalNumber(i,{unit:"hour"})}return YM.h(e,r)},H:function(e,r,a){if(r==="Ho")return a.ordinalNumber(e.getHours(),{unit:"hour"});return YM.H(e,r)},K:function(e,r,a){let i=e.getHours()%12;if(r==="Ko")return a.ordinalNumber(i,{unit:"hour"});return Wo(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 Wo(i,r.length)},m:function(e,r,a){if(r==="mo")return a.ordinalNumber(e.getMinutes(),{unit:"minute"});return YM.m(e,r)},s:function(e,r,a){if(r==="so")return a.ordinalNumber(e.getSeconds(),{unit:"second"});return YM.s(e,r)},S:function(e,r){return YM.S(e,r)},X:function(e,r,a){let i=e.getTimezoneOffset();if(i===0)return"Z";switch(r){case"X":return DZe(i);case"XXXX":case"XX":return QL(i);case"XXXXX":case"XXX":default:return QL(i,":")}},x:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"x":return DZe(i);case"xxxx":case"xx":return QL(i);case"xxxxx":case"xxx":default:return QL(i,":")}},O:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+EZe(i,":");case"OOOO":default:return"GMT"+QL(i,":")}},z:function(e,r,a){let i=e.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+EZe(i,":");case"zzzz":default:return"GMT"+QL(i,":")}},t:function(e,r,a){let i=Math.trunc(+e/1000);return Wo(i,r.length)},T:function(e,r,a){return Wo(+e,r.length)}};function EZe(e,r=""){let a=e>0?"-":"+",i=Math.abs(e),s=Math.trunc(i/60),l=i%60;if(l===0)return a+String(s);return a+String(s)+r+Wo(l,2)}function DZe(e,r){if(e%60===0)return(e>0?"-":"+")+Wo(Math.abs(e)/60,2);return QL(e,r)}function QL(e,r=""){let a=e>0?"-":"+",i=Math.abs(e),s=Wo(Math.trunc(i/60),2),l=Wo(i%60,2);return a+s+r+l}var OZe=(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"})}},NZe=(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"})}},kzt=(e,r)=>{let a=e.match(/(P+)(p+)?/)||[],i=a[1],s=a[2];if(!s)return OZe(e,r);let l;switch(i){case"P":l=r.dateTime({width:"short"});break;case"PP":l=r.dateTime({width:"medium"});break;case"PPP":l=r.dateTime({width:"long"});break;case"PPPP":default:l=r.dateTime({width:"full"});break}return l.replace("{{date}}",OZe(i,r)).replace("{{time}}",NZe(s,r))},FZe={p:NZe,P:kzt};var Czt=/^D+$/,Izt=/^Y+$/,Rzt=["D","DD","YY","YYYY"];function jZe(e){return Czt.test(e)}function BZe(e){return Izt.test(e)}function UZe(e,r,a){let i=Pzt(e,r,a);if(console.warn(i),Rzt.includes(e))throw RangeError(i)}function Pzt(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 Tzt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Azt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ezt=/^'([^]*?)'?$/,Dzt=/''/g,Ozt=/[a-zA-Z]/;function yr(e,r,a){let i=vZ(),s=a?.locale??i.locale??UM,l=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,c=a?.weekStartsOn??a?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,d=xe(e,a?.in);if(!sa(d))throw RangeError("Invalid time value");let h=r.match(Azt).map((v)=>{let y=v[0];if(y==="p"||y==="P"){let k=FZe[y];return k(v,s.formatLong)}return v}).join("").match(Tzt).map((v)=>{if(v==="''")return{isToken:!1,value:"'"};let y=v[0];if(y==="'")return{isToken:!1,value:Nzt(v)};if(KV[y])return{isToken:!0,value:v};if(y.match(Ozt))throw RangeError("Format string contains an unescaped latin alphabet character `"+y+"`");return{isToken:!1,value:v}});if(s.localize.preprocessor)h=s.localize.preprocessor(d,h);let x={firstWeekContainsDate:l,weekStartsOn:c,locale:s};return h.map((v)=>{if(!v.isToken)return v.value;let y=v.value;if(!a?.useAdditionalWeekYearTokens&&BZe(y)||!a?.useAdditionalDayOfYearTokens&&jZe(y))UZe(y,r,String(e));let k=KV[y[0]];return k(d,y,s.localize,x)}).join("")}function Nzt(e){let r=e.match(Ezt);if(!r)return e;return r[1].replace(Dzt,"'")}function YZe(e,r){let a=xe(e,r?.in),i=a.getFullYear(),s=a.getMonth(),l=At(a,0);return l.setFullYear(i,s+1,0),l.setHours(0,0,0,0),l.getDate()}function lu(e,r){return xe(e,r?.in).getMonth()}function cu(e,r){return xe(e,r?.in).getFullYear()}function qZe(e,r){return+xe(e)>+xe(r)}function HZe(e,r){return+xe(e)<+xe(r)}function VZe(e,r,a){let[i,s]=il(a?.in,e,r);return i.getFullYear()===s.getFullYear()&&i.getMonth()===s.getMonth()}function WZe(e,r,a){let[i,s]=il(a?.in,e,r);return i.getFullYear()===s.getFullYear()}function BO(e,r){return hP(At(r?.in||e,e),$3(r?.in||e))}function GZe(e,r,a){return mP(e,-r,a)}function UO(e,r){return hP(At(r?.in||e,e),GZe($3(r?.in||e),1))}function qM(e,r){let a=()=>At(r?.in,NaN),i=r?.additionalDigits??2,s=Uzt(e),l;if(s.date){let x=Yzt(s.date,i);l=qzt(x.restDateString,x.year)}if(!l||isNaN(+l))return a();let c=+l,d=0,h;if(s.time){if(d=Hzt(s.time),isNaN(d))return a()}if(s.timezone){if(h=Vzt(s.timezone),isNaN(h))return a()}else{let x=new Date(c+d),v=xe(0,r?.in);return v.setFullYear(x.getUTCFullYear(),x.getUTCMonth(),x.getUTCDate()),v.setHours(x.getUTCHours(),x.getUTCMinutes(),x.getUTCSeconds(),x.getUTCMilliseconds()),v}return xe(c+d+h,r?.in)}var ij={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Fzt=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,jzt=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Bzt=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Uzt(e){let r={},a=e.split(ij.dateTimeDelimiter),i;if(a.length>2)return r;if(/:/.test(a[0]))i=a[0];else if(r.date=a[0],i=a[1],ij.timeZoneDelimiter.test(r.date))r.date=e.split(ij.timeZoneDelimiter)[0],i=e.substr(r.date.length,e.length);if(i){let s=ij.timezone.exec(i);if(s)r.time=i.replace(s[1],""),r.timezone=s[1];else r.time=i}return r}function Yzt(e,r){let a=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+r)+"})|(\\d{2}|[+-]\\d{"+(2+r)+"})$)"),i=e.match(a);if(!i)return{year:NaN,restDateString:""};let s=i[1]?parseInt(i[1]):null,l=i[2]?parseInt(i[2]):null;return{year:l===null?s:l*100,restDateString:e.slice((i[1]||i[2]).length)}}function qzt(e,r){if(r===null)return new Date(NaN);let a=e.match(Fzt);if(!a)return new Date(NaN);let i=!!a[4],s=YO(a[1]),l=YO(a[2])-1,c=YO(a[3]),d=YO(a[4]),h=YO(a[5])-1;if(i){if(!Qzt(r,d,h))return new Date(NaN);return Wzt(r,d,h)}else{let x=new Date(0);if(!Kzt(r,l,c)||!Xzt(r,s))return new Date(NaN);return x.setUTCFullYear(r,l,Math.max(s,c)),x}}function YO(e){return e?parseInt(e):1}function Hzt(e){let r=e.match(jzt);if(!r)return NaN;let a=XV(r[1]),i=XV(r[2]),s=XV(r[3]);if(!Jzt(a,i,s))return NaN;return a*FO+i*HV+s*1000}function XV(e){return e&&parseFloat(e.replace(",","."))||0}function Vzt(e){if(e==="Z")return 0;let r=e.match(Bzt);if(!r)return 0;let a=r[1]==="+"?-1:1,i=parseInt(r[2]),s=r[3]&&parseInt(r[3])||0;if(!$zt(i,s))return NaN;return a*(i*FO+s*HV)}function Wzt(e,r,a){let i=new Date(0);i.setUTCFullYear(e,0,4);let s=i.getUTCDay()||7,l=(r-1)*7+a+1-s;return i.setUTCDate(i.getUTCDate()+l),i}var Gzt=[31,null,31,30,31,30,31,31,30,31,30,31];function KZe(e){return e%400===0||e%4===0&&e%100!==0}function Kzt(e,r,a){return r>=0&&r<=11&&a>=1&&a<=(Gzt[r]||(KZe(e)?29:28))}function Xzt(e,r){return r>=1&&r<=(KZe(e)?366:365)}function Qzt(e,r,a){return r>=1&&r<=53&&a>=0&&a<=6}function Jzt(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 $zt(e,r){return r>=0&&r<=59}function XZe(e,r,a){let i=xe(e,a?.in),s=i.getFullYear(),l=i.getDate(),c=At(a?.in||e,0);c.setFullYear(s,r,15),c.setHours(0,0,0,0);let d=YZe(c);return i.setMonth(r,Math.min(l,d)),i}function QZe(e,r,a){let i=xe(e,a?.in);if(isNaN(+i))return At(a?.in||e,NaN);return i.setFullYear(r),i}function fj(e){let r=Object.values(e).filter((i)=>typeof i==="number");return Object.entries(e).filter(([i,s])=>r.indexOf(+i)===-1).map(([i,s])=>s)}function JV(e,r="|"){return e.map((a)=>tW(a)).join(r)}function HO(e,r){if(typeof r==="bigint")return r.toString();return r}function VO(e){return{get value(){{let a=e();return Object.defineProperty(this,"value",{value:a}),a}throw Error("cached value already set")}}}function $Ze(e){return e===null||e===void 0}function sj(e){let r=e.startsWith("^")?1:0,a=e.endsWith("$")?e.length-1:e.length;return e.slice(r,a)}function epe(e,r){let a=e/r,i=Math.round(a),s=4*Number.EPSILON*Math.max(Math.abs(a),1);if(Math.abs(a-i)<s)return 0;return a-i}var JZe=Symbol("evaluating");function tpe(e,r,a){let i=void 0;Object.defineProperty(e,r,{get(){if(i===JZe)return;if(i===void 0)i=JZe,i=a();return i},set(s){Object.defineProperty(e,r,{value:s})},configurable:!0})}function Vi(e,r,a){Object.defineProperty(e,r,{value:a,writable:!0,enumerable:!0,configurable:!0})}function Zz(...e){let r={};for(let a of e){let i=Object.getOwnPropertyDescriptors(a);Object.assign(r,i)}return Object.defineProperties({},r)}function rpe(e){return JSON.stringify(e)}function ope(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var $V="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function yP(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}var ape=VO(()=>{if(fl.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(e){return!1}});function $L(e){if(yP(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(yP(a)===!1)return!1;if(Object.prototype.hasOwnProperty.call(a,"isPrototypeOf")===!1)return!1;return!0}function eW(e){if($L(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 npe=new Set(["string","number","symbol"]);function pz(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function _Z(e,r,a){let i=new e._zod.constr(r??e._zod.def);if(!r||a?.parent)i._zod.parent=e;return i}function wr(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 tW(e){if(typeof e==="bigint")return e.toString()+"n";if(typeof e==="string")return`"${e}"`;return`${e}`}function ipe(e){return Object.keys(e).filter((r)=>e[r]._zod.optin!==void 0&&e[r]._zod.optout==="optional")}var fpe=(()=>({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 eSt(e,r){let a=e._zod.def,i=a.checks;if(i&&i.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let l=Zz(e._zod.def,{get shape(){let c={};for(let d of Reflect.ownKeys(r)){if(!Object.prototype.hasOwnProperty.call(a.shape,d))throw Error(`Unrecognized key: "${String(d)}"`);if(!r[d])continue;Vi(c,d,a.shape[d])}return Vi(this,"shape",c),c},checks:[]});return _Z(e,l)}function tSt(e,r){let a=e._zod.def,i=a.checks;if(i&&i.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let l=Zz(e._zod.def,{get shape(){let c={...e._zod.def.shape};for(let d of Reflect.ownKeys(r)){if(!Object.prototype.hasOwnProperty.call(a.shape,d))throw Error(`Unrecognized key: "${String(d)}"`);if(!r[d])continue;delete c[d]}return Vi(this,"shape",c),c},checks:[]});return _Z(e,l)}function rSt(e,r){if(!$L(r))throw Error("Invalid input to extend: expected a plain object");let a=e._zod.def.checks;if(a&&a.length>0){let l=e._zod.def.shape;for(let c of Reflect.ownKeys(r))if(Object.getOwnPropertyDescriptor(l,c)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let s=Zz(e._zod.def,{get shape(){let l={...e._zod.def.shape,...r};return Vi(this,"shape",l),l}});return _Z(e,s)}function oSt(e,r){if(!$L(r))throw Error("Invalid input to safeExtend: expected a plain object");let a=Zz(e._zod.def,{get shape(){let i={...e._zod.def.shape,...r};return Vi(this,"shape",i),i}});return _Z(e,a)}function aSt(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=Zz(e._zod.def,{get shape(){let i={...e._zod.def.shape,...r._zod.def.shape};return Vi(this,"shape",i),i},get catchall(){return r._zod.def.catchall},checks:r._zod.def.checks??[]});return _Z(e,a)}function spe(e,r,a,i="partial"){let l=r._zod.def.checks;if(l&&l.length>0)throw Error(`.${i}() cannot be used on object schemas containing refinements`);let d=Zz(r._zod.def,{get shape(){let h=r._zod.def.shape,x={...h};if(a)for(let v of Reflect.ownKeys(a)){if(!Object.prototype.hasOwnProperty.call(h,v))throw Error(`Unrecognized key: "${String(v)}"`);if(!a[v])continue;x[v]=e?new e({type:"optional",innerType:h[v]}):h[v]}else for(let v of Reflect.ownKeys(h))x[v]=e?new e({type:"optional",innerType:h[v]}):h[v];return Vi(this,"shape",x),x},checks:[]});return _Z(r,d)}function nSt(e,r,a){let i=Zz(r._zod.def,{get shape(){let s=r._zod.def.shape,l={...s};if(a)for(let c of Reflect.ownKeys(a)){if(!Object.prototype.hasOwnProperty.call(l,c))throw Error(`Unrecognized key: "${String(c)}"`);if(!a[c])continue;l[c]=new e({type:"nonoptional",innerType:s[c]})}else for(let c of Reflect.ownKeys(s))l[c]=new e({type:"nonoptional",innerType:s[c]});return Vi(this,"shape",l),l}});return _Z(r,i)}function ek(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 lpe(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 mz(e,r){return r.map((a)=>{var i;return(i=a).path??(i.path=[]),a.path.unshift(e),a})}function qO(e){return typeof e==="string"?e:e?.message}function rW(e,r,a){var i;for(let s=r;s<e.length;s++)(i=e[s]).schema??(i.schema=a)}function yZ(e,r,a){var i;let s=e.inst?._zod?.traits;if(s?.has("$ZodType"))if(s.has("$ZodCheck"))(i=e).schema??(i.schema=e.inst);else e.schema=e.inst;let l=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,c=e.message?e.message:qO(e.inst?._zod.def?.error?.(e))??qO(l?.(e))??qO(r?.error?.(e))??qO(a.customError?.(e))??qO(a.localeError?.(e))??"Invalid input",{inst:d,schema:h,continue:x,input:v,...y}=e;if(y.path??(y.path=[]),y.message=c,r?.reportInput)y.input=v;return y}var iSt=/[\uD800-\uDBFF]/;function lj(e){let r=e.length;if(!iSt.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 cj(e){if(Array.isArray(e))return"array";if(typeof e==="string")return"string";return"unknown"}function cpe(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 tk(...e){let[r,a,i]=e;if(typeof r==="string")return{message:r,code:"custom",input:a,inst:i};return{...r}}function upe(e,r){for(let a in r){let i=Object.getOwnPropertyDescriptor(r,a);if(i.get)Object.defineProperty(e,a,{...i,enumerable:!1});else fSt(e,a,i.value)}}function JL(e,r,a,i=!0){return Object.defineProperty(e,r,{configurable:!0,writable:!0,enumerable:i,value:a}),a}function oW(e,r,a){return JL(e,r,a,!1)}function fSt(e,r,a){Object.defineProperty(e,r,{configurable:!0,get(){return this==null?a:JL(this,r,a.bind(this))},set(i){JL(this,r,i)}})}function sSt(e,r){let a=Object.getPrototypeOf(e);return r in a?void 0:a}var QV,dz=!1,lSt={configurable:!0,get(){dz=!0;return}};function Oo(e,r,a){let i=Object.getPrototypeOf(e._zod);if(r in i&&QV!==e._zod){QV=void 0;return}QV=e._zod,Object.defineProperty(i,r,{configurable:!0,get(){Object.defineProperty(this,r,lSt);let s=dz;dz=!1;try{let l=a(this);if(dz)delete this[r];else Object.defineProperty(this,r,{configurable:!0,writable:!0,value:l});return dz=dz||s,l}catch(l){throw delete this[r],dz=dz||s,l}},set(s){Object.defineProperty(this,r,{configurable:!0,writable:!0,value:s})}})}function cSt(e,r,a,i){let s=sSt(e,r);if(!s)return;Object.defineProperty(s,r,{configurable:!0,get(){let l={configurable:!0,writable:!0,enumerable:i,value:void 0};return Object.defineProperty(this,r,l),l.value=a(this),Object.defineProperty(this,r,l),l.value},set(l){Object.defineProperty(this,r,{configurable:!0,writable:!0,enumerable:i,value:l})}})}var uSt="~constantCatch";function dpe(e){let r=()=>e;return r[uSt]=!0,r}var Zpe;var aW={value:void 0,enumerable:!1},ppe="captureStackTrace"in Error?Error:null;function dSt(e){let r=ppe;if(r){let a=r.stackTraceLimit;if(typeof a==="number"){try{r.stackTraceLimit=0}catch{return ppe=null,new e}try{return new e}finally{r.stackTraceLimit=a}}}return new e}function Rt(e,r,a,i){let s={};function l(k){this.def=k,this.constr=y,this.traits=new Set}l.prototype=s;let c=a,d=c&&new WeakSet;function h(k,b){if(!k._zod){aW.value=new l(b);try{Object.defineProperty(k,"_zod",aW)}finally{aW.value=void 0}}if(k._zod.traits.has(e))return;if(k._zod.traits.add(e),r(k,b),d){let D=Object.getPrototypeOf(k),U=k._zod.constr.prototype,A=D;while(A&&A!==U)A=Object.getPrototypeOf(A);let j=A??D;if(!d.has(j))d.add(j),upe(j,c)}let T=y.prototype;for(let D in T){if(!Object.prototype.hasOwnProperty.call(T,D))continue;if(!(D in k))k[D]=T[D].bind(k)}}let x=i?.Parent??Object;class v extends x{}Object.defineProperty(v,"name",{value:e});function y(k){let b=i?.Parent?dSt(v):this;h(b,k);let T=b._zod.deferred;if(T){for(let U of T)U();b._zod.deferred=void 0}let D=globalThis.__zod_globalConfig?.postProcessor;if(D)D(b);return b}return Object.defineProperty(y,"init",{value:h}),Object.defineProperty(y,Symbol.hasInstance,{value:(k)=>{if(i?.Parent&&k instanceof i.Parent)return!0;return k?._zod?.traits?.has(e)}}),Object.defineProperty(y,"name",{value:e}),y}class HM extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class WO extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`);this.name="ZodEncodeError"}}(Zpe=globalThis).__zod_globalConfig??(Zpe.__zod_globalConfig={});var fl=globalThis.__zod_globalConfig;function oc(e){if(e)Object.assign(fl,e);return fl}function ZSt(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,HO,2)),e.message}function pSt(e){this._zod.message=e}var mSt={get:ZSt,set:pSt,enumerable:!0,configurable:!0},iW={value:void 0,enumerable:!1},fW={value:void 0,enumerable:!1},mpe=new WeakSet([Object.prototype,Error.prototype]),hpe=(e,r)=>{e.name="$ZodError",iW.value=e._zod,Object.defineProperty(e,"_zod",iW),fW.value=r,Object.defineProperty(e,"issues",fW),iW.value=void 0,fW.value=void 0,Object.defineProperty(e,"message",mSt);let a=Object.getPrototypeOf(e);if(!mpe.has(a))mpe.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})}})},uj=Rt("$ZodError",hpe),sW=Rt("$ZodError",hpe,void 0,{Parent:Error});function hSt(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 gpe(e,r=(a)=>a.message){let a={},i=[];for(let s of e.issues)if(s.path.length>0)hSt(a,s.path[0],()=>[]).push(r(s));else i.push(r(s));return{formErrors:i,fieldErrors:a}}function Mpe(e,r=(a)=>a.message){let a={_errors:[]},i=(s,l=[])=>{for(let c of s.issues)if(c.code==="invalid_union"&&c.errors.length)c.errors.map((d)=>i({issues:d},[...l,...c.path]));else if(c.code==="invalid_key")i({issues:c.issues},[...l,...c.path]);else if(c.code==="invalid_element")i({issues:c.issues},[...l,...c.path]);else{let d=[...l,...c.path];if(d.length===0)a._errors.push(r(c));else{let h=a,x=0;while(x<d.length){let v=d[x],y=x===d.length-1;if(v==="_errors"){if(y)h._errors.push(r(c));x++;continue}if(!Object.prototype.hasOwnProperty.call(h,v))Object.defineProperty(h,v,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let k=h[v];if(y)k._errors.push(r(c));h=k,x++}}}};return i(e),a}function dj(e,r){return{callee:r?.callee??e,Err:r?.Err}}var Zj=(e)=>{let r=(a,i,s,l)=>{let c=s?{...s,async:!1}:{async:!1},d=a._zod.run({value:i,issues:[]},c);if(d instanceof Promise)throw new HM;if(d.issues.length){let h=new(l?.Err??e)(d.issues.map((x)=>yZ(x,c,oc())));throw $V(h,l?.callee??r),h}return d.value};return r};var pj=(e)=>{let r=async(a,i,s,l)=>{let c=s?{...s,async:!0}:{async:!0},d=a._zod.run({value:i,issues:[]},c);if(d instanceof Promise)d=await d;if(d.issues.length){let h=new(l?.Err??e)(d.issues.map((x)=>yZ(x,c,oc())));throw $V(h,l?.callee??r),h}return d.value};return r};var GO=(e)=>(r,a,i)=>{let s=i?{...i,async:!1}:{async:!1},l=r._zod.run({value:a,issues:[]},s);if(l instanceof Promise)throw new HM;return l.issues.length?{success:!1,error:new(e??uj)(l.issues.map((c)=>yZ(c,s,oc())))}:{success:!0,data:l.value}},xpe=GO(sW),KO=(e)=>async(r,a,i)=>{let s=i?{...i,async:!0}:{async:!0},l=r._zod.run({value:a,issues:[]},s);if(l instanceof Promise)l=await l;return l.issues.length?{success:!1,error:new e(l.issues.map((c)=>yZ(c,s,oc())))}:{success:!0,data:l.value}},vpe=KO(sW);var _pe=(e)=>{let r=Zj(e),a=(i,s,l,c)=>{let d=l?{...l,direction:"backward"}:{direction:"backward"};return r(i,s,d,dj(a,c))};return a};var ype=(e)=>{let r=Zj(e),a=(i,s,l,c)=>r(i,s,l,dj(a,c));return a};var bpe=(e)=>{let r=pj(e),a=async(i,s,l,c)=>{let d=l?{...l,direction:"backward"}:{direction:"backward"};return await r(i,s,d,dj(a,c))};return a};var wpe=(e)=>{let r=pj(e),a=async(i,s,l,c)=>await r(i,s,l,dj(a,c));return a};var zpe=(e)=>(r,a,i)=>{let s=i?{...i,direction:"backward"}:{direction:"backward"};return GO(e)(r,a,s)};var Spe=(e)=>(r,a,i)=>GO(e)(r,a,i);var Lpe=(e)=>async(r,a,i)=>{let s=i?{...i,direction:"backward"}:{direction:"backward"};return KO(e)(r,a,s)};var kpe=(e)=>async(r,a,i)=>KO(e)(r,a,i);var Cpe=/^[cC][0-9a-z]{6,}$/,Ipe=/^[0-9a-z]+$/,Rpe=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,Ppe=/^[0-9a-vA-V]{20}$/,Tpe=/^[A-Za-z0-9]{27}$/,Ape=/^[a-zA-Z0-9_-]{21}$/;function Epe(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var Dpe=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;var Ope=/^([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})$/,cW=(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 Npe=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;var MSt="^[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function Fpe(){return new RegExp(MSt,"u")}var jpe=/^(?:(?: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])$/,Bpe=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|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\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 xSt(e){return new RegExp(`^${e}$`)}var Gpe=xSt(Wpe);function lW(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 Kpe(e){return new RegExp(`^${lW(e)}$`)}function Xpe(e){let r=["Z"];if(e.offset)r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let a=`${lW({precision:e.precision,seconds:!0})}(?:${r.join("|")})`,i=e.local?`${a}|${lW({precision:e.precision})}`:a;return new RegExp(`^${Wpe}T(?:${i})$`)}var Qpe=(e)=>{let r=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${r}$`)},Jpe=/^-?\d+n?$/,mj=/^-?\d+$/,XO=/^-?\d+(?:\.\d+)?$/,$pe=/^(?:true|false)$/i;var eme=/^[^A-Z]*$/,tme=/^[^a-z]*$/;var yf=Rt("$ZodCheck",(e,r)=>{var a;e._zod??(e._zod={}),e._zod.def=r,(a=e._zod).onattach??(a.onattach=[])});var dW=(e)=>{let r=e.value;return!$Ze(r)&&r.length!==void 0},hj={number:"number",bigint:"bigint",object:"date"},ZW=Rt("$ZodCheckLessThan",(e,r)=>{yf.init(e,r);let a=hj[typeof r.value];e._zod.onattach.push((i)=>{let s=i._zod.bag,l=(r.inclusive?s.maximum:s.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(r.value<l)if(r.inclusive)s.maximum=r.value;else s.exclusiveMaximum=r.value}),e._zod.check=(i)=>{if(r.inclusive?i.value<=r.value:i.value<r.value)return;i.issues.push({origin:hj[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})}}),pW=Rt("$ZodCheckGreaterThan",(e,r)=>{yf.init(e,r);let a=hj[typeof r.value];e._zod.onattach.push((i)=>{let s=i._zod.bag,l=(r.inclusive?s.minimum:s.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(r.value>l)if(r.inclusive)s.minimum=r.value;else s.exclusiveMinimum=r.value}),e._zod.check=(i)=>{if(r.inclusive?i.value>=r.value:i.value>r.value)return;i.issues.push({origin:hj[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})}}),rme=Rt("$ZodCheckMultipleOf",(e,r)=>{yf.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):epe(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})}}),ome=Rt("$ZodCheckNumberFormat",(e,r)=>{yf.init(e,r),r.format=r.format||"float64";let a=r.format?.includes("int"),i=a?"int":"number",[s,l]=fpe[r.format];e._zod.onattach.push((c)=>{let d=c._zod.bag;if(d.format=r.format,d.minimum=s,d.maximum=l,a)d.pattern=mj}),e._zod.check=(c)=>{let d=c.value;if(a){if(!Number.isInteger(d)){c.issues.push({expected:i,format:r.format,code:"invalid_type",continue:!1,input:d,inst:e});return}if(!Number.isSafeInteger(d)){if(d>0)c.issues.push({input:d,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!r.abort});else c.issues.push({input:d,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!r.abort});return}}if(d<s)c.issues.push({origin:"number",input:d,code:"too_small",minimum:s,inclusive:!0,inst:e,continue:!r.abort});if(d>l)c.issues.push({origin:"number",input:d,code:"too_big",maximum:l,inclusive:!0,inst:e,continue:!r.abort})}});var ame=Rt("$ZodCheckMaxLength",(e,r)=>{var a;yf.init(e,r),(a=e._zod.def).when??(a.when=dW),e._zod.onattach.push((i)=>{let s=i._zod.bag.maximum??Number.POSITIVE_INFINITY;if(r.maximum<s)i._zod.bag.maximum=r.maximum}),e._zod.check=(i)=>{let s=i.value,l=s.length;if((typeof s==="string"&&l>r.maximum?lj(s):l)<=r.maximum)return;let d=cj(s);i.issues.push({origin:d,code:"too_big",maximum:r.maximum,inclusive:!0,input:s,inst:e,continue:!r.abort})}}),nme=Rt("$ZodCheckMinLength",(e,r)=>{var a;yf.init(e,r),(a=e._zod.def).when??(a.when=dW),e._zod.onattach.push((i)=>{let s=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(r.minimum>s)i._zod.bag.minimum=r.minimum}),e._zod.check=(i)=>{let s=i.value,l=s.length;if((typeof s==="string"&&l>=r.minimum&&l<r.minimum*2?lj(s):l)>=r.minimum)return;let d=cj(s);i.issues.push({origin:d,code:"too_small",minimum:r.minimum,inclusive:!0,input:s,inst:e,continue:!r.abort})}}),ime=Rt("$ZodCheckLengthEquals",(e,r)=>{var a;yf.init(e,r),(a=e._zod.def).when??(a.when=dW),e._zod.onattach.push((i)=>{let s=i._zod.bag;s.minimum=r.length,s.maximum=r.length,s.length=r.length}),e._zod.check=(i)=>{let s=i.value,l=s.length,c=typeof s==="string"&&l>=r.length&&l<=r.length*2?lj(s):l;if(c===r.length)return;let d=cj(s),h=c>r.length;i.issues.push({origin:d,...h?{code:"too_big",maximum:r.length}:{code:"too_small",minimum:r.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!r.abort})}}),JO=Rt("$ZodCheckStringFormat",(e,r)=>{var a,i;if(yf.init(e,r),e._zod.onattach.push((s)=>{let l=s._zod.bag;if(l.format=r.format,r.pattern)l.patterns??(l.patterns=new Set),l.patterns.add(r.pattern)}),r.pattern)(a=e._zod).check??(a.check=(s)=>{if(r.pattern.lastIndex=0,r.pattern.test(s.value))return;s.issues.push({origin:"string",code:"invalid_format",format:r.format,input:s.value,...r.pattern?{pattern:r.pattern.toString()}:{},inst:e,continue:!r.abort})});else(i=e._zod).check??(i.check=()=>{})}),fme=Rt("$ZodCheckRegex",(e,r)=>{JO.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})}}),sme=Rt("$ZodCheckLowerCase",(e,r)=>{r.pattern??(r.pattern=eme),JO.init(e,r)}),lme=Rt("$ZodCheckUpperCase",(e,r)=>{r.pattern??(r.pattern=tme),JO.init(e,r)}),cme=Rt("$ZodCheckIncludes",(e,r)=>{yf.init(e,r);let a=pz(r.includes),i=new RegExp(typeof r.position==="number"?`^.{${r.position},}${a}`:a);r.pattern=i,e._zod.onattach.push((s)=>{let l=s._zod.bag;l.patterns??(l.patterns=new Set),l.patterns.add(i)}),e._zod.check=(s)=>{if(s.value.includes(r.includes,r.position))return;s.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:r.includes,input:s.value,inst:e,continue:!r.abort})}}),ume=Rt("$ZodCheckStartsWith",(e,r)=>{yf.init(e,r);let a=new RegExp(`^${pz(r.prefix)}.*`);r.pattern??(r.pattern=a),e._zod.onattach.push((i)=>{let s=i._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(a)}),e._zod.check=(i)=>{if(i.value.startsWith(r.prefix))return;i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:r.prefix,input:i.value,inst:e,continue:!r.abort})}}),dme=Rt("$ZodCheckEndsWith",(e,r)=>{yf.init(e,r);let a=new RegExp(`.*${pz(r.suffix)}$`);r.pattern??(r.pattern=a),e._zod.onattach.push((i)=>{let s=i._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(a)}),e._zod.check=(i)=>{if(i.value.endsWith(r.suffix))return;i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:r.suffix,input:i.value,inst:e,continue:!r.abort})}});var Zme=Rt("$ZodCheckOverwrite",(e,r)=>{yf.init(e,r),e._zod.check=(a)=>{a.value=r.tx(a.value)}});class mW{constructor(e=[],r={}){this.content=[],this.indent=0,this.args=e,this.closed=r}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if(typeof e==="function"){e(this,{execution:"sync"}),e(this,{execution:"async"});return}let a=e.split(`
|
|
145
|
-
`).filter((l)=>l),i=Math.min(...a.map((l)=>l.length-l.trimStart().length)),s=a.map((l)=>l.slice(i)).map((l)=>" ".repeat(this.indent*2)+l);for(let l of s)this.content.push(l)}compile(){let e=Function,r=this?.content??[""];return new e(...Object.keys(this.closed),`return function (${this.args.join(", ")}) {
|
|
146
|
-
${r.join(`
|
|
147
|
-
`)}
|
|
148
|
-
};`)(...Object.values(this.closed))}}var mme={major:4,minor:5,patch:4};var Sa=Rt("$ZodType",(e,r)=>{var a;e??(e={}),e._zod.def=r,e._zod.bag=e._zod.bag||{},e._zod.version=mme;let i=e._zod.def.checks,s=e._zod.traits.has("$ZodCheck")?[e,...i??[]]:i?.length?[...i]:[];for(let l of s)for(let c of l._zod.onattach)c(e);if(s.length===0)(a=e._zod).deferred??(a.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let l=(d,h,x)=>{if(d.memo)return d;let v=ek(d),y;for(let k of h){if(k._zod.def.when){if(lpe(d))continue;if(!k._zod.def.when(d))continue}else if(v)continue;let b=d.issues.length,T=k._zod.check(d);if(T instanceof Promise&&x?.async===!1)throw new HM;if(y||T instanceof Promise)y=(y??Promise.resolve()).then(async()=>{if(await T,d.issues.length===b)return;if(rW(d.issues,b,e),!v)v=ek(d,b)});else{if(d.issues.length===b)continue;if(rW(d.issues,b,e),!v)v=ek(d,b)}}if(y)return y.then(()=>d);return d},c=(d,h,x)=>{if(ek(d))return d.aborted=!0,d;let v=l(h,s,x);if(v instanceof Promise){if(x.async===!1)throw new HM;return v.then((y)=>e._zod.parse(y,x))}return e._zod.parse(v,x)};e._zod.run=(d,h)=>{if(h.skipChecks)return e._zod.parse(d,h);if(h.direction==="backward"){let v=e._zod.parse({value:d.value,issues:[]},{...h,skipChecks:!0});if(v instanceof Promise)return v.then((y)=>c(y,d,h));return c(v,d,h)}let x=e._zod.parse(d,h);if(x instanceof Promise){if(h.async===!1)throw new HM;return x.then((v)=>l(v,s,h))}return l(x,s,h)}}},{get "~standard"(){return oW(this,"~standard",MW(this))},set "~standard"(e){JL(this,"~standard",e)}}),hme=(e)=>e.success?{value:e.data}:{issues:e.error?.issues};function MW(e){return{validate:(r)=>{try{return hme(xpe(e,r))}catch(a){return vpe(e,r).then(hme)}},vendor:"zod",version:1}}var xj=Rt("$ZodString",(e,r)=>{Sa.init(e,r),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Qpe(e._zod.bag),e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=String(a.value)}catch(s){}if(typeof a.value==="string")return a;return a.issues.push({expected:"string",code:"invalid_type",input:a.value,inst:e}),a}}),yn=Rt("$ZodStringFormat",(e,r)=>{JO.init(e,r),xj.init(e,r)}),Sme=Rt("$ZodGUID",(e,r)=>{r.pattern??(r.pattern=Ope),yn.init(e,r)}),Lme=Rt("$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=cW(i))}else r.pattern??(r.pattern=cW());yn.init(e,r)}),kme=Rt("$ZodEmail",(e,r)=>{r.pattern??(r.pattern=Npe),yn.init(e,r)}),Cme=1,Ime=2;function vSt(e,r){if(!r.normalize&&r.protocol?.source===Hpe.source&&!/^https?:\/\//i.test(e))return Cme;try{return new URL(e)}catch{return Ime}}var _St=/[\t\n\r]/g;function ySt(e){return e.replace(_St,"")}function bSt(e,r){return r.lastIndex=0,r.test(e.hostname)}function wSt(e,r){return r.lastIndex=0,r.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var Rme=Rt("$ZodURL",(e,r)=>{yn.init(e,r),e._zod.check=(a)=>{try{let i=a.value.trim(),s=vSt(i,r);if(s===Cme){a.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:a.value,inst:e,continue:!r.abort});return}if(s===Ime){a.issues.push({code:"invalid_format",format:"url",input:a.value,inst:e,continue:!r.abort});return}if(r.hostname&&!bSt(s,r.hostname))a.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:r.hostname.source,input:a.value,inst:e,continue:!r.abort});if(r.protocol&&!wSt(s,r.protocol))a.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:r.protocol.source,input:a.value,inst:e,continue:!r.abort});a.value=r.normalize?s.href:ySt(i);return}catch(i){a.issues.push({code:"invalid_format",format:"url",input:a.value,inst:e,continue:!r.abort})}}}),Pme=Rt("$ZodEmoji",(e,r)=>{r.pattern??(r.pattern=Fpe()),yn.init(e,r)}),Tme=Rt("$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?Ape:Epe(r.length)),yn.init(e,r)}),Ame=Rt("$ZodCUID",(e,r)=>{r.pattern??(r.pattern=Cpe),yn.init(e,r)}),Eme=Rt("$ZodCUID2",(e,r)=>{r.pattern??(r.pattern=Ipe),yn.init(e,r)}),Dme=Rt("$ZodULID",(e,r)=>{r.pattern??(r.pattern=Rpe),yn.init(e,r)}),Ome=Rt("$ZodXID",(e,r)=>{r.pattern??(r.pattern=Ppe),yn.init(e,r)}),Nme=Rt("$ZodKSUID",(e,r)=>{r.pattern??(r.pattern=Tpe),yn.init(e,r)}),Fme=Rt("$ZodISODateTime",(e,r)=>{if(r.pattern??(r.pattern=Xpe(r)),yn.init(e,r),r.local||r.precision===-1)e._zod.bag.laxFormat=!0,e._zod.onattach.push((a)=>{a._zod.bag.laxFormat=!0})}),jme=Rt("$ZodISODate",(e,r)=>{r.pattern??(r.pattern=Gpe),yn.init(e,r)}),Bme=Rt("$ZodISOTime",(e,r)=>{r.pattern??(r.pattern=Kpe(r)),yn.init(e,r)}),Ume=Rt("$ZodISODuration",(e,r)=>{r.pattern??(r.pattern=Dpe),yn.init(e,r)}),Yme=Rt("$ZodIPv4",(e,r)=>{r.pattern??(r.pattern=jpe),yn.init(e,r),e._zod.bag.format="ipv4"}),zSt=/^[0-9a-fA-F:.]+$/;function qme(e){if(!zSt.test(e))return!1;try{return new URL(`http://[${e}]`),!0}catch{return!1}}var Hme=Rt("$ZodIPv6",(e,r)=>{r.pattern??(r.pattern=Bpe),yn.init(e,r),e._zod.bag.format="ipv6",e._zod.check=(a)=>{if(!qme(a.value))a.issues.push({code:"invalid_format",format:"ipv6",input:a.value,inst:e,continue:!r.abort})}});var Vme=Rt("$ZodCIDRv4",(e,r)=>{r.pattern??(r.pattern=Upe),yn.init(e,r)});function SSt(e){let r=e.split("/");if(r.length!==2)return!1;let[a,i]=r;if(!i)return!1;let s=Number(i);if(`${s}`!==i)return!1;if(s<0||s>128)return!1;return qme(a)}var Wme=Rt("$ZodCIDRv6",(e,r)=>{r.pattern??(r.pattern=Ype),yn.init(e,r),e._zod.check=(a)=>{if(!SSt(a.value))a.issues.push({code:"invalid_format",format:"cidrv6",input:a.value,inst:e,continue:!r.abort})}});function Gme(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 Kme=Rt("$ZodBase64",(e,r)=>{r.pattern??(r.pattern=qpe),yn.init(e,r),e._zod.bag.contentEncoding="base64",e._zod.check=(a)=>{if(Gme(a.value))return;a.issues.push({code:"invalid_format",format:"base64",input:a.value,inst:e,continue:!r.abort})}});function LSt(e){if(!uW.test(e))return!1;let r=e.replace(/[-_]/g,(i)=>i==="-"?"+":"/"),a=r.padEnd(Math.ceil(r.length/4)*4,"=");return Gme(a)}var Xme=Rt("$ZodBase64URL",(e,r)=>{r.pattern??(r.pattern=uW),yn.init(e,r),e._zod.bag.contentEncoding="base64url",e._zod.check=(a)=>{if(LSt(a.value))return;a.issues.push({code:"invalid_format",format:"base64url",input:a.value,inst:e,continue:!r.abort})}}),Qme=Rt("$ZodE164",(e,r)=>{r.pattern??(r.pattern=Vpe),yn.init(e,r)});function kSt(e,r=null){try{let a=e.split(".");if(a.length!==3)return!1;let[i]=a;if(!i)return!1;let s=JSON.parse(atob(i));if("typ"in s&&s?.typ!=="JWT")return!1;if(!s.alg)return!1;if(r&&(!("alg"in s)||s.alg!==r))return!1;return!0}catch{return!1}}var Jme=Rt("$ZodJWT",(e,r)=>{yn.init(e,r),e._zod.check=(a)=>{if(kSt(a.value,r.alg))return;a.issues.push({code:"invalid_format",format:"jwt",input:a.value,inst:e,continue:!r.abort})}});var xW=Rt("$ZodNumber",(e,r)=>{Sa.init(e,r),e._zod.pattern=e._zod.bag.pattern??XO,e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=Number(a.value)}catch(c){}let s=a.value;if(typeof s==="number"&&!Number.isNaN(s)&&Number.isFinite(s))return a;let l=typeof s==="number"?Number.isNaN(s)?"NaN":!Number.isFinite(s)?String(s):void 0:void 0;return a.issues.push({expected:"number",code:"invalid_type",input:s,inst:e,...l?{received:l}:{}}),a}}),$me=Rt("$ZodNumberFormat",(e,r)=>{ome.init(e,r),xW.init(e,r)}),ehe=Rt("$ZodBoolean",(e,r)=>{Sa.init(e,r),e._zod.pattern=$pe,e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=Boolean(a.value)}catch(l){}let s=a.value;if(typeof s==="boolean")return a;return a.issues.push({expected:"boolean",code:"invalid_type",input:s,inst:e}),a}}),the=Rt("$ZodBigInt",(e,r)=>{Sa.init(e,r),e._zod.pattern=Jpe,e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=BigInt(a.value)}catch(s){}if(typeof a.value==="bigint")return a;return a.issues.push({expected:"bigint",code:"invalid_type",input:a.value,inst:e}),a}});var rhe=Rt("$ZodAny",(e,r)=>{Sa.init(e,r),e._zod.parse=(a)=>a}),ohe=Rt("$ZodUnknown",(e,r)=>{Sa.init(e,r),e._zod.parse=(a)=>a}),ahe=Rt("$ZodNever",(e,r)=>{Sa.init(e,r),e._zod.parse=(a,i)=>(a.issues.push({expected:"never",code:"invalid_type",input:a.value,inst:e}),a)});var nhe=Rt("$ZodDate",(e,r)=>{Sa.init(e,r),e._zod.parse=(a,i)=>{if(r.coerce)try{a.value=new Date(a.value)}catch(d){}let s=a.value,l=s instanceof Date;if(l&&!Number.isNaN(s.getTime()))return a;return a.issues.push({expected:"date",code:"invalid_type",input:s,...l?{received:"Invalid Date"}:{},inst:e}),a}});function gme(e,r,a){if(e.issues.length)r.issues.push(...mz(a,e.issues));r.value[a]=e.value}var ihe=Rt("$ZodArray",(e,r)=>{Sa.init(e,r);let a=fl.memoizer;a?.attach(e),e._zod.parse=(i,s)=>{let l=i.value;if(!Array.isArray(l))return i.issues.push({expected:"array",code:"invalid_type",input:l,inst:e}),i;i.value=a?a.alloc(e,i,Array(l.length),s):Array(l.length);let c=[];for(let d=0;d<l.length;d++){let h=l[d],x=r.element._zod.run({value:h,issues:[]},s);if(x instanceof Promise)c.push(x.then((v)=>gme(v,i,d)));else gme(x,i,d)}if(c.length)return Promise.all(c).then(()=>i);return i}});function Mj(e,r,a,i,s,l){let c=a in i,d=l==="optional";if(!c&&d&&s==="optional")return;if(e.issues.length){if(s!==void 0&&d&&!c)return;r.issues.push(...mz(a,e.issues))}if(!c&&s===void 0){if(!e.issues.length)r.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[a]});return}if(e.value===void 0){if(c)r.value[a]=void 0}else r.value[a]=e.value}var CSt=[];function fhe(e){let r=Object.keys(e.shape),a=Object.getOwnPropertySymbols(e.shape),i=a.length?a:CSt,s=i.length?[...r,...i]:r;for(let c of s)if(!e.shape?.[c]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${String(c)}": expected a Zod schema`);let l=ipe(e.shape);return{...e,allKeys:s,symbolKeys:i,keySet:new Set(r),numKeys:r.length,optionalKeys:new Set(l)}}function she(e,r,a,i,s,l){let c=[],d=s.keySet,h=s.catchall._zod,x=h.def.type,{optin:v,optout:y}=h;for(let k in r){if(d.has(k))continue;if(k==="__proto__"){if(x==="never")c.push(k);continue}if(x==="never"){c.push(k);continue}let b=h.run({value:r[k],issues:[]},i);if(b instanceof Promise)e.push(b.then((T)=>Mj(T,a,k,r,v,y)));else Mj(b,a,k,r,v,y)}if(c.length)a.issues.push({code:"unrecognized_keys",keys:c,input:r,inst:l,continue:!0});if(!e.length)return a;return Promise.all(e).then(()=>a)}var hW=new WeakMap,ISt=Rt("$ZodObject",(e,r)=>{if(Sa.init(e,r),!Object.getOwnPropertyDescriptor(r,"shape")?.get){let h=r.shape;hW.set(r,h),Object.defineProperty(r,"shape",{get:()=>{let x={...h};return Object.defineProperty(r,"shape",{value:x}),hW.set(r,x),x}})}let i=VO(()=>fhe(r));Oo(e,"propValues",(h)=>{let x=h.def.shape,v={};for(let y in x){let k=x[y]._zod;if(k.values){if(!Object.prototype.hasOwnProperty.call(v,y))Vi(v,y,new Set);for(let b of k.values)v[y].add(b);if(k.optin!==void 0)v[y].add(void 0)}}return v});let s=yP,l=r.catchall,c,d=fl.memoizer;d?.attach(e),e._zod.parse=(h,x)=>{c??(c=i.value);let v=h.value;if(!s(v))return h.issues.push({expected:"object",code:"invalid_type",input:v,inst:e}),h;h.value=d?d.alloc(e,h,{},x):{};let y=[],k=c.shape;for(let b of c.allKeys){if(b==="__proto__")continue;let T=k[b],D=T._zod.optin,U=T._zod.optout,A=T._zod.run({value:v[b],issues:[]},x);if(A instanceof Promise)y.push(A.then((j)=>Mj(j,h,b,v,D,U)));else Mj(A,h,b,v,D,U)}if(!l)return y.length?Promise.all(y).then(()=>h):h;return she(y,v,h,x,i.value,e)}}),lhe=Rt("$ZodObjectJIT",(e,r)=>{ISt.init(e,r);let a=e._zod.parse,i=VO(()=>fhe(r)),s=fl.memoizer,l=(b)=>{let T=i.value,D=T.symbolKeys,U=new mW(["payload","ctx"],{shape:b,inst:e,memo:s,syms:D}),A=(ee)=>`shape[${ee}]._zod.run({ value: input[${ee}], issues: [] }, ctx)`,j=(ee,te)=>`
|
|
149
|
-
for (let i = 0; i < ${ee}.issues.length; i++) {
|
|
150
|
-
const iss = ${ee}.issues[i];
|
|
151
|
-
iss.path = iss.path ? [${te}, ...iss.path] : [${te}];
|
|
152
|
-
payload.issues.push(iss);
|
|
153
|
-
}`;U.write("const input = payload.value;");let V=Object.create(null),J=0;for(let ee of T.allKeys)V[ee]=`key_${J++}`;U.write(s?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(let ee of T.allKeys){if(ee==="__proto__")continue;let te=V[ee],re=typeof ee==="symbol"?`syms[${D.indexOf(ee)}]`:rpe(ee),ae=`${re} in input`,he=b[ee],be=he?._zod?.optin,Qe=be!==void 0,Ye=he?._zod?.optout==="optional";if(U.write(`const ${te} = ${A(re)};`),Qe&&Ye){let Se=be==="optional"?`${te}_present`:`${te}.value !== undefined || ${te}_present`;U.write(`
|
|
154
|
-
const ${te}_present = ${ae};
|
|
155
|
-
if (!${te}.issues.length || ${te}_present) {
|
|
156
|
-
if (${te}.issues.length) {${j(te,re)}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
if (${Se}) {
|
|
160
|
-
newResult[${re}] = ${te}.value;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
`)}else if(!Qe)U.write(`
|
|
165
|
-
const ${te}_present = ${ae};
|
|
166
|
-
if (${te}.issues.length) {${j(te,re)}
|
|
167
|
-
}
|
|
168
|
-
if (!${te}_present && !${te}.issues.length) {
|
|
169
|
-
payload.issues.push({
|
|
170
|
-
code: "invalid_type",
|
|
171
|
-
expected: "nonoptional",
|
|
172
|
-
input: undefined,
|
|
173
|
-
path: [${re}]
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
if (${te}_present) {
|
|
178
|
-
newResult[${re}] = ${te}.value;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
`);else U.write(`
|
|
182
|
-
if (${te}.issues.length) {${j(te,re)}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
if (${te}.value === undefined) {
|
|
186
|
-
if (${ae}) {
|
|
187
|
-
newResult[${re}] = undefined;
|
|
188
|
-
}
|
|
189
|
-
} else {
|
|
190
|
-
newResult[${re}] = ${te}.value;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
`)}return U.write("payload.value = newResult;"),U.write("return payload;"),U.compile()},c,d=yP,h=!fl.jitless,v=h&&ape.value,y=r.catchall,k;e._zod.parse=(b,T)=>{k??(k=i.value);let D=b.value;if(!d(D))return b.issues.push({expected:"object",code:"invalid_type",input:D,inst:e}),b;if(h&&v&&T?.async===!1&&T.jitless!==!0){if(!c)c=l(r.shape);if(b=c(b,T),!y)return b;return she([],D,b,T,k,e)}return a(b,T)}});function Mme(e,r,a,i){for(let l of e)if(l.issues.length===0)return r.value=l.value,r;let s=e.filter((l)=>!ek(l));if(s.length===1)return r.value=s[0].value,s[0];return r.issues.push({code:"invalid_union",input:r.value,inst:a,errors:e.map((l)=>l.issues.map((c)=>yZ(c,i,oc())))}),r}var vW=Rt("$ZodUnion",(e,r)=>{Sa.init(e,r),Oo(e,"optin",(i)=>i.def.options.some((s)=>s._zod.optin==="defaulted")?"defaulted":i.def.options.some((s)=>s._zod.optin!==void 0)?"optional":void 0),Oo(e,"optout",(i)=>i.def.options.some((s)=>s._zod.optout==="optional")?"optional":void 0),Oo(e,"values",(i)=>{if(i.def.options.every((s)=>s._zod.values))return new Set(i.def.options.flatMap((s)=>Array.from(s._zod.values)));return}),Oo(e,"pattern",(i)=>{if(i.def.options.every((s)=>s._zod.pattern)){let s=i.def.options.map((l)=>l._zod.pattern);return new RegExp(`^(${s.map((l)=>sj(l.source)).join("|")})$`)}return});let a=r.options.length===1?r.options[0]._zod.run:null;e._zod.parse=(i,s)=>{if(a)return a(i,s);let l=!1,c=[];for(let d of r.options){let h=d._zod.run({value:i.value,issues:[]},s);if(h instanceof Promise)c.push(h),l=!0;else{if(h.issues.length===0)return h;c.push(h)}}if(!l)return Mme(c,i,e,s);return Promise.all(c).then((d)=>Mme(d,i,e,s))}});var che=Rt("$ZodDiscriminatedUnion",(e,r)=>{r.inclusive=!1,vW.init(e,r);let a=e._zod.parse;Oo(e,"propValues",(s)=>{let l={};for(let c of s.def.options){let d=c._zod.propValues;if(!d||Object.keys(d).length===0)throw Error(`Invalid discriminated union option at index "${s.def.options.indexOf(c)}"`);for(let[h,x]of Object.entries(d)){if(!Object.prototype.hasOwnProperty.call(l,h))Vi(l,h,new Set);for(let v of x)l[h].add(v)}}return l}),r.options.forEach((s,l)=>{let c=hW.get(s._zod.def);if(c&&!Object.prototype.hasOwnProperty.call(c,r.discriminator))throw Error(`Invalid discriminated union option at index "${l}"`)});let i=VO(()=>{let s=r.options,l=new Map;for(let c of s){let d=c._zod.propValues?.[r.discriminator];if(!d||d.size===0)throw Error(`Invalid discriminated union option at index "${r.options.indexOf(c)}"`);for(let h of d){if(l.has(h))throw Error(`Duplicate discriminator value "${String(h)}"`);l.set(h,c)}}return l});e._zod.parse=(s,l)=>{let c=s.value;if(!yP(c))return s.issues.push({code:"invalid_type",expected:"object",input:c,inst:e}),s;let d=i.value.get(c?.[r.discriminator]);if(d)return d._zod.run(s,l);if(r.unionFallback||l.direction==="backward")return a(s,l);return s.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:r.discriminator,options:Array.from(i.value.keys()),input:c,path:[r.discriminator],inst:e}),s}}),uhe=Rt("$ZodIntersection",(e,r)=>{Sa.init(e,r),e._zod.parse=(a,i)=>{let s=a.value,l=r.left._zod.run({value:s,issues:[]},i),c=r.right._zod.run({value:s,issues:[]},i);if(l instanceof Promise||c instanceof Promise)return Promise.all([l,c]).then(([h,x])=>xme(a,h,x));return xme(a,l,c)}});function gW(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($L(e)&&$L(r)){let a=Object.keys(r),i=Object.keys(e).filter((l)=>a.indexOf(l)!==-1),s={...e,...r};if(Object.prototype.hasOwnProperty.call(s,"__proto__"))delete s.__proto__;for(let l of i){if(l==="__proto__")continue;let c=gW(e[l],r[l]);if(!c.valid)return{valid:!1,mergeErrorPath:[l,...c.mergeErrorPath]};s[l]=c.data}return{valid:!0,data:s}}if(Array.isArray(e)&&Array.isArray(r)){if(e.length!==r.length)return{valid:!1,mergeErrorPath:[]};let a=[];for(let i=0;i<e.length;i++){let s=e[i],l=r[i],c=gW(s,l);if(!c.valid)return{valid:!1,mergeErrorPath:[i,...c.mergeErrorPath]};a.push(c.data)}return{valid:!0,data:a}}return{valid:!1,mergeErrorPath:[]}}function xme(e,r,a){let i=new Map,s,l=new Map,c=(x,v)=>{let y;if(x.code==="unrecognized_keys"&&!x.path?.length)s??(s=x),y=x.keys;else if(x.code==="invalid_key"&&x.origin==="record"&&x.path?.length===1){let k=String(x.path[0]);if(!l.has(k))l.set(k,x);y=[k]}else return!1;for(let k of y){if(!i.has(k))i.set(k,{});i.get(k)[v]=!0}return!0};for(let x of r.issues)if(!c(x,"l"))e.issues.push(x);for(let x of a.issues)if(!c(x,"r"))e.issues.push(x);let d=[...i].filter(([,x])=>x.l&&x.r).map(([x])=>x);if(d.length){let x=s?d.filter((v)=>s.keys.includes(v)):[];if(x.length)e.issues.push({...s,keys:x});for(let v of d)if(!x.includes(v)&&l.has(v))e.issues.push(l.get(v))}let h=gW(r.value,a.value);if(!h.valid){if(ek(e))return e;throw Error(`Unmergable intersection. Error path: ${JSON.stringify(h.mergeErrorPath)}`)}return e.value=h.data,e}var dhe=Rt("$ZodRecord",(e,r)=>{Sa.init(e,r);let a=fl.memoizer;a?.attach(e),e._zod.parse=(i,s)=>{let l=i.value;if(!$L(l))return i.issues.push({expected:"record",code:"invalid_type",input:l,inst:e}),i;let c=[],d=r.keyType._zod.values;if(d&&!r.partial){i.value=a?a.alloc(e,i,{},s):{};let h=new Set;for(let v of d)if(typeof v==="string"||typeof v==="number"||typeof v==="symbol"){if(h.add(typeof v==="number"?v.toString():v),v==="__proto__")continue;let y=r.keyType._zod.run({value:v,issues:[]},s);if(y instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(y.issues.length){i.issues.push({code:"invalid_key",origin:"record",issues:y.issues.map((T)=>yZ(T,s,oc())),input:v,path:[v],inst:e});continue}let k=y.value;if(k==="__proto__")continue;let b=r.valueType._zod.run({value:l[v],issues:[]},s);if(b instanceof Promise)c.push(b.then((T)=>{if(T.issues.length)i.issues.push(...mz(v,T.issues));i.value[k]=T.value}));else{if(b.issues.length)i.issues.push(...mz(v,b.issues));i.value[k]=b.value}}let x;for(let v in l)if(!h.has(v))if(r.mode==="loose"){if(v==="__proto__")continue;i.value[v]=l[v]}else x=x??[],x.push(v);if(x&&x.length>0)i.issues.push({code:"unrecognized_keys",input:l,inst:e,keys:x,continue:!0})}else{i.value=a?a.alloc(e,i,{},s):{};let h;for(let x of Reflect.ownKeys(l)){if(x==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(l,x))continue;let v=r.keyType._zod.run({value:x,issues:[]},s);if(v instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof x==="string"&&XO.test(x)&&v.issues.length){let T=r.keyType._zod.run({value:Number(x),issues:[]},s);if(T instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(T.issues.length===0)v=T}if(v.issues.length){if(r.mode==="loose")i.value[x]=l[x];else if(d)h=h??[],h.push(x);else i.issues.push({code:"invalid_key",origin:"record",issues:v.issues.map((T)=>yZ(T,s,oc())),input:x,path:[x],inst:e});continue}let k=v.value;if(k==="__proto__")continue;let b=r.valueType._zod.run({value:l[x],issues:[]},s);if(b instanceof Promise)c.push(b.then((T)=>{if(T.issues.length)i.issues.push(...mz(x,T.issues));i.value[k]=T.value}));else{if(b.issues.length)i.issues.push(...mz(x,b.issues));i.value[k]=b.value}}if(h&&h.length>0)i.issues.push({code:"unrecognized_keys",input:l,inst:e,keys:h,continue:!0})}if(c.length)return Promise.all(c).then(()=>i);return i}});var Zhe=Rt("$ZodEnum",(e,r)=>{Sa.init(e,r);let a=fj(r.entries),i=new Set(a);e._zod.values=i;let s=a.filter((l)=>npe.has(typeof l));e._zod.pattern=new RegExp(s.length?`^(${s.map((l)=>pz(l.toString())).join("|")})$`:"^[^\\s\\S]$"),e._zod.parse=(l,c)=>{let d=l.value;if(i.has(d))return l;return l.issues.push({code:"invalid_value",values:a,input:d,inst:e}),l}}),phe=Rt("$ZodLiteral",(e,r)=>{Sa.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"?pz(i):i?pz(i.toString()):String(i)).join("|")})$`:"^[^\\s\\S]$"),e._zod.parse=(i,s)=>{let l=i.value;if(a.has(l))return i;return i.issues.push({code:"invalid_value",values:r.values,input:l,inst:e}),i}});var mhe=Rt("$ZodTransform",(e,r)=>{Sa.init(e,r),e._zod.optin="optional",fl.memoizer?.guard(e),e._zod.parse=(a,i)=>{if(i.direction==="backward")throw new WO(e.constructor.name);let s=r.transform(a.value,a);if(i.async)return(s instanceof Promise?s:Promise.resolve(s)).then((c)=>(a.value=c,a));if(s instanceof Promise)throw new HM;return a.value=s,a}});function vme(e,r){return e.value=r.issues.length?void 0:r.value,e}var _W=Rt("$ZodOptional",(e,r)=>{Sa.init(e,r),Oo(e,"optin",(a)=>a.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",Oo(e,"values",(a)=>{let i=a.def.innerType._zod.values;return i?new Set([...i,void 0]):void 0}),Oo(e,"pattern",(a)=>{let i=a.def.innerType._zod.pattern;return i?new RegExp(`^(${sj(i.source)})?$`):void 0}),e._zod.parse=(a,i)=>{if(a.value===void 0){if(r.innerType._zod.optin!=="defaulted")return a;let s=r.innerType._zod.run({value:a.value,issues:[]},i);if(s instanceof Promise)return s.then((l)=>vme(a,l));return vme(a,s)}return r.innerType._zod.run(a,i)}}),hhe=Rt("$ZodExactOptional",(e,r)=>{_W.init(e,r),Oo(e,"values",(a)=>a.def.innerType._zod.values),Oo(e,"pattern",(a)=>a.def.innerType._zod.pattern),e._zod.parse=(a,i)=>r.innerType._zod.run(a,i)}),ghe=Rt("$ZodNullable",(e,r)=>{Sa.init(e,r),Oo(e,"optin",(a)=>a.def.innerType._zod.optin),Oo(e,"optout",(a)=>a.def.innerType._zod.optout),Oo(e,"pattern",(a)=>{let i=a.def.innerType._zod.pattern;return i?new RegExp(`^(${sj(i.source)}|null)$`):void 0}),Oo(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)}}),Mhe=Rt("$ZodDefault",(e,r)=>{Sa.init(e,r),e._zod.optin="defaulted",Oo(e,"values",(a)=>a.def.innerType._zod.values),e._zod.parse=(a,i)=>{if(i.direction==="backward")return r.innerType._zod.run(a,i);if(a.value===void 0)return a.value=r.defaultValue,a;let s=r.innerType._zod.run(a,i);if(s instanceof Promise)return s.then((l)=>_me(l,r));return _me(s,r)}});function _me(e,r){if(e.value===void 0)e.value=r.defaultValue;return e}var xhe=Rt("$ZodPrefault",(e,r)=>{Sa.init(e,r),e._zod.optin="defaulted",Oo(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)}}),vhe=Rt("$ZodNonOptional",(e,r)=>{Sa.init(e,r),Oo(e,"values",(a)=>{let i=a.def.innerType._zod.values;return i?new Set([...i].filter((s)=>s!==void 0)):void 0}),e._zod.parse=(a,i)=>{let s=r.innerType._zod.run(a,i);if(s instanceof Promise)return s.then((l)=>yme(l,e));return yme(s,e)}});function yme(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 bme(e,r,a,i){if(!r.issues.length){if(e.value=r.value,r.memo)e.memo=!0;return e}return e.value=a.catchValue({...r,value:e.value,error:{issues:r.issues.map((s)=>yZ(s,i,oc()))},input:e.value}),e}var _he=Rt("$ZodCatch",(e,r)=>{Sa.init(e,r),Oo(e,"optin",(a)=>a.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),Oo(e,"optout",(a)=>a.def.innerType._zod.optout),Oo(e,"values",(a)=>a.def.innerType._zod.values),e._zod.parse=(a,i)=>{if(i.direction==="backward")return r.innerType._zod.run(a,i);let s=r.innerType._zod.run({value:a.value,issues:[]},i);if(s instanceof Promise)return s.then((l)=>bme(a,l,r,i));return bme(a,s,r,i)}});var yhe=Rt("$ZodPipe",(e,r)=>{Sa.init(e,r),Oo(e,"values",(a)=>a.def.in._zod.values),Oo(e,"optin",(a)=>a.def.in._zod.optin),Oo(e,"optout",(a)=>a.def.out._zod.optout),Oo(e,"propValues",(a)=>a.def.in._zod.propValues),e._zod.parse=(a,i)=>{if(i.direction==="backward"){let l=r.out._zod.run(a,i);if(l instanceof Promise)return l.then((c)=>gj(c,r.in,i));return gj(l,r.in,i)}let s=r.in._zod.run(a,i);if(s instanceof Promise)return s.then((l)=>gj(l,r.out,i));return gj(s,r.out,i)}});function gj(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 bhe=Rt("$ZodReadonly",(e,r)=>{Sa.init(e,r),Oo(e,"propValues",(a)=>a.def.innerType._zod.propValues),Oo(e,"values",(a)=>a.def.innerType._zod.values),Oo(e,"optin",(a)=>a.def.innerType?._zod?.optin),Oo(e,"optout",(a)=>a.def.innerType?._zod?.optout),e._zod.parse=(a,i)=>{if(i.direction==="backward")return r.innerType._zod.run(a,i);let s=r.innerType._zod.run(a,i);if(s instanceof Promise)return s.then(wme);return wme(s)}});function wme(e){if(!e.memo)e.value=Object.freeze(e.value);return e}var whe=Rt("$ZodLazy",(e,r)=>{Sa.init(e,r),tpe(e._zod,"innerType",()=>{let a=r;if(!a._cachedInner)a._cachedInner=r.getter();return a._cachedInner}),Oo(e,"pattern",(a)=>a.innerType?._zod?.pattern),Oo(e,"propValues",(a)=>a.innerType?._zod?.propValues),Oo(e,"optin",(a)=>a.innerType?._zod?.optin??void 0),Oo(e,"optout",(a)=>a.innerType?._zod?.optout??void 0),e._zod.parse=(a,i)=>e._zod.innerType._zod.run(a,i)}),zhe=Rt("$ZodCustom",(e,r)=>{yf.init(e,r),Sa.init(e,r),e._zod.parse=(a,i)=>a,e._zod.check=(a)=>{let i=a.value,s=r.fn(i);if(s instanceof Promise)return s.then((l)=>zme(l,a,i,e));zme(s,a,i,e);return}});function zme(e,r,a,i){if(!e){let s={code:"custom",input:a,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};if(i._zod.def.params)s.params=i._zod.def.params;r.issues.push(tk(s))}}class khe extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform");this.name="ZodCyclicError"}}var bW="~memo",She=[];function yW(e){return e.map((r)=>r.path?{...r,path:r.path.slice()}:{...r})}var Lhe=new WeakMap;function Che(e,r){let a=Lhe.get(e);if(a!==void 0)return a;if(r.has(e))return!0;r.add(e);let i=!1,s=(d)=>{if(!i&&d?._zod&&Che(d,r))i=!0},l=e._zod.def,c=l.type;switch(c){case"object":{for(let d of Reflect.ownKeys(l.shape))s(l.shape[d]);s(l.catchall);break}case"array":s(l.element);break;case"tuple":for(let d of l.items)s(d);s(l.rest);break;case"record":case"map":s(l.keyType),s(l.valueType);break;case"set":s(l.valueType);break;case"union":for(let d of l.options)s(d);break;case"intersection":s(l.left),s(l.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":s(l.innerType);break;case"pipe":s(l.in),s(l.out);break;case"function":s(l.input),s(l.output);break;case"lazy":s(e._zod.innerType);break;case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":break;default:for(let d in l){let h=Object.getOwnPropertyDescriptor(l,d);if(!h||h.get)continue;let x=h.value;if(!x||typeof x!=="object")continue;if(x._zod)s(x);else if(Array.isArray(x))for(let v of x)s(v)}}return r.delete(e),Lhe.set(e,i),i}function RSt(e,r){let a=e.buckets.get(r);if(!a)a=new Map,e.buckets.set(r,a);return a}var vj,_j=[],PSt={alloc(e,r,a){let i=vj;if(!i)return a;vj=void 0;let s={value:a,issues:null};return i.set(r.value,s),_j.push(s),a},guard(e){var r;(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred.push(()=>{let a=e._zod.parse,i=(s,l)=>{if(l.direction!=="backward"&&TSt(l,s.value))throw new khe;return a(s,l)};if(e._zod.parse=i,e._zod.run===a)e._zod.run=i})},attach(e){var r;let a,i,s;(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred.push(()=>{let l=e._zod.parse,c=(d,h)=>{if(a===void 0){if(a=Che(e,new Set),!a){if(e._zod.parse=l,e._zod.run===c)e._zod.run=l;return l(d,h)}}let x=d.value;if(x===null||typeof x!=="object")return l(d,h);let v=h[bW];if(!v)v={buckets:new Map,backEdges:void 0},h[bW]=v;let y;if(i===h)y=s;else y=RSt(v,e),i=h,s=y;let k=y.get(x);if(k){if(d.value=k.value,k.issues){if(k.issues.length)d.issues.push(...yW(k.issues))}else d.memo=!0,v.backEdges??(v.backEdges=new Set),v.backEdges.add(k.value);return d}vj=y;let b=_j.length,T=l(d,h);vj=void 0;let D=_j.length>b?_j.pop():void 0;if(T instanceof Promise)return T.then((U)=>{if(D)D.issues=U.issues.length?yW(U.issues):She;return U});if(D)D.issues=T.issues.length?yW(T.issues):She;return T};if(e._zod.parse=c,e._zod.run===l)e._zod.run=c})}};function Ihe(){return PSt}function TSt(e,r){let a=e[bW]?.backEdges;return a!==void 0&&r!==null&&typeof r==="object"&&a.has(r)}var ASt=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function r(l){return e[l]??null}let a={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",credit_card:"credit card number",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};function s(l,c){if(l==="number"&&typeof c==="number"&&!Number.isFinite(c))return String(c);return i[l]??l}return(l)=>{switch(l.code){case"invalid_type":{let c=s(l.expected),d=cpe(l.input),h=s(d,l.input);return`Invalid input: expected ${c}, received ${h}`}case"invalid_value":if(l.values.length===1)return`Invalid input: expected ${tW(l.values[0])}`;return`Invalid option: expected one of ${JV(l.values,"|")}`;case"too_big":{let c=l.exact?"exactly ":l.inclusive?"<=":"<",d=r(l.origin);if(d)return`Too big: expected ${l.origin??"value"} to have ${c}${l.maximum.toString()} ${d.unit??"elements"}`;return`Too big: expected ${l.origin??"value"} to be ${c}${l.maximum.toString()}`}case"too_small":{let c=l.exact?"exactly ":l.inclusive?">=":">",d=r(l.origin);if(d)return`Too small: expected ${l.origin} to have ${c}${l.minimum.toString()} ${d.unit}`;return`Too small: expected ${l.origin} to be ${c}${l.minimum.toString()}`}case"invalid_format":{let c=l;if(c.format==="starts_with")return`Invalid string: must start with "${c.prefix}"`;if(c.format==="ends_with")return`Invalid string: must end with "${c.suffix}"`;if(c.format==="includes")return`Invalid string: must include "${c.includes}"`;if(c.format==="regex")return`Invalid string: must match pattern ${c.pattern}`;return`Invalid ${a[c.format]??l.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${l.divisor}`;case"unrecognized_keys":return`Unrecognized key${l.keys.length>1?"s":""}: ${JV(l.keys,", ")}`;case"invalid_key":return`Invalid key in ${l.origin}`;case"invalid_union":if(l.options&&Array.isArray(l.options)&&l.options.length>0)return`Invalid discriminator value. Expected ${l.options.map((d)=>`'${d}'`).join(" | ")}`;if(l.inclusive===!1)return"Invalid input: more than one option matched";return"Invalid input";case"invalid_element":return`Invalid value in ${l.origin}`;default:return"Invalid input"}}};function wW(){return{localeError:ASt()}}var Rhe;class Phe{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 ESt(){return new Phe}(Rhe=globalThis).__zod_globalRegistry??(Rhe.__zod_globalRegistry=ESt());var rk=globalThis.__zod_globalRegistry;function The(e,r){return new e({type:"string",...wr(r)})}function Ahe(e,r){return new e({type:"string",coerce:!0,...wr(r)})}function Ehe(e,r){return new e({type:"string",format:"email",check:"string_format",abort:!1,...wr(r)})}function Dhe(e,r){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...wr(r)})}function Ohe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...wr(r)})}function Nhe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...wr(r)})}function Fhe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...wr(r)})}function jhe(e,r){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...wr(r)})}function Bhe(e,r){return new e({type:"string",format:"url",check:"string_format",abort:!1,...wr(r)})}function Uhe(e,r){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...wr(r)})}function Yhe(e,r){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...wr(r)})}function qhe(e,r){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...wr(r)})}function Hhe(e,r){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...wr(r)})}function Vhe(e,r){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...wr(r)})}function Whe(e,r){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...wr(r)})}function Ghe(e,r){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...wr(r)})}function Khe(e,r){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...wr(r)})}function Xhe(e,r){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...wr(r)})}function Qhe(e,r){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...wr(r)})}function Jhe(e,r){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...wr(r)})}function $he(e,r){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...wr(r)})}function ege(e,r){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...wr(r)})}function tge(e,r){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...wr(r)})}function rge(e,r){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...wr(r)})}function oge(e,r){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...wr(r)})}function age(e,r){return new e({type:"string",format:"date",check:"string_format",...wr(r)})}function nge(e,r){return new e({type:"string",format:"time",check:"string_format",precision:null,...wr(r)})}function ige(e,r){return new e({type:"string",format:"duration",check:"string_format",...wr(r)})}function fge(e,r){return new e({type:"number",checks:[],...wr(r)})}function sge(e,r){return new e({type:"number",coerce:!0,checks:[],...wr(r)})}function lge(e,r){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...wr(r)})}function cge(e,r){return new e({type:"boolean",...wr(r)})}function uge(e,r){return new e({type:"boolean",coerce:!0,...wr(r)})}function dge(e,r){return new e({type:"bigint",coerce:!0,...wr(r)})}function Zge(e){return new e({type:"any"})}function pge(e){return new e({type:"unknown"})}function mge(e,r){return new e({type:"never",...wr(r)})}function hge(e,r){return new e({type:"date",...wr(r)})}function gge(e,r){return new e({type:"date",coerce:!0,...wr(r)})}function bP(e,r){return new ZW({check:"less_than",...wr(r),value:e,inclusive:!1})}function VM(e,r){return new ZW({check:"less_than",...wr(r),value:e,inclusive:!0})}function wP(e,r){return new pW({check:"greater_than",...wr(r),value:e,inclusive:!1})}function WM(e,r){return new pW({check:"greater_than",...wr(r),value:e,inclusive:!0})}function $O(e,r){return new rme({check:"multiple_of",...wr(r),value:e})}function yj(e,r){return new ame({check:"max_length",...wr(r),maximum:e})}function zP(e,r){return new nme({check:"min_length",...wr(r),minimum:e})}function bj(e,r){return new ime({check:"length_equals",...wr(r),length:e})}function zW(e,r){return new fme({check:"string_format",format:"regex",...wr(r),pattern:e})}function SW(e){return new sme({check:"string_format",format:"lowercase",...wr(e)})}function LW(e){return new lme({check:"string_format",format:"uppercase",...wr(e)})}function kW(e,r){return new cme({check:"string_format",format:"includes",...wr(r),includes:e})}function CW(e,r){return new ume({check:"string_format",format:"starts_with",...wr(r),prefix:e})}function IW(e,r){return new dme({check:"string_format",format:"ends_with",...wr(r),suffix:e})}function hz(e){return new Zme({check:"overwrite",tx:e})}function RW(e){return hz((r)=>r.normalize(e))}function PW(){return hz((e)=>e.trim())}function TW(){return hz((e)=>e.toLowerCase())}function AW(){return hz((e)=>e.toUpperCase())}function EW(){return hz((e)=>ope(e))}function Mge(e,r,a){return new e({type:"array",element:r,...wr(a)})}function xge(e,r,a){return new e({type:"custom",check:"custom",fn:r,...wr(a)})}function vge(e,r){let a=DSt((i)=>(i.addIssue=(s)=>{if(typeof s==="string")i.issues.push(tk(s,i.value,a._zod.def));else{let l=s;if(l.fatal)l.continue=!1;if(l.code??(l.code="custom"),!("input"in l))l.input=i.value;l.inst??(l.inst=a),l.continue??(l.continue=!a._zod.def.abort),i.issues.push(tk(l))}},e(i.value,i)),r);return a}function DSt(e,r){let a=new yf({check:"custom",...wr(r)});return a._zod.check=e,a}function eN(e,...r){for(let a of r)for(let i of Reflect.ownKeys(a))if(Object.prototype.propertyIsEnumerable.call(a,i))Vi(e,i,a[i]);return e}function OW(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??rk,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 Iu(e,r,a,i,s){let l=typeof r.unrepresentable==="function"?r.unrepresentable({zodSchema:e,path:i.path,message:s}):r.unrepresentable;if(l==="any")return!1;if(l===void 0||l==="throw")throw Error(s);return Object.assign(a,l),!0}function jn(e,r,a={path:[],schemaPath:[]}){var i;let s=e._zod.def,l=r.seen.get(e);if(l){if(l.count++,a.schemaPath.includes(e))l.cycle=a.path;return l.schema}let c={schema:{},count:1,cycle:void 0,path:a.path};r.seen.set(e,c),r.sharedDefsExtractedFor=void 0,r.sharedEmitDoneFor=void 0;let d=e._zod.toJSONSchema?.();if(d)c.schema=d;else{let v={...a,schemaPath:[...a.schemaPath,e],path:a.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(r,c.schema,v);else{let k=c.schema,b=r.processors[s.type];if(!b)throw Error(`[toJSONSchema]: Non-representable type encountered: ${s.type}`);b(e,r,k,v)}let y=e._zod.parent;if(y){if(!c.ref)c.ref=y;jn(y,r,v),r.seen.get(y).isParent=!0}}let h=r.metadataRegistry.get(e);if(h)eN(c.schema,h);if(r.io==="input"&&Ls(e))delete c.schema.examples,delete c.schema.default;if(r.io==="input"&&"_prefault"in c.schema)(i=c.schema).default??(i.default=c.schema._prefault);return delete c.schema._prefault,r.seen.get(e).schema}function _ge(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function NW(e,r){let a=e.seen.get(r);if(!a)throw Error("Unprocessed schema. This is a bug in Zod.");if(e.external&&e.sharedDefsExtractedFor===e.external)return;let i=new Map;for(let c of e.seen.entries()){let d=e.metadataRegistry.get(c[0])?.id;if(d){let h=i.get(d);if(h&&h!==c[0])throw Error(`Duplicate schema id "${d}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(d,c[0])}}let s=(c)=>{let d=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let y=e.external.registry.get(c[0])?.id,k=e.external.uri??((T)=>T);if(y)return{ref:k(y)};let b=c[1].defId??c[1].schema.id??`schema${e.counter++}`;return c[1].defId=b,{defId:b,ref:`${k("__shared")}#/${d}/${_ge(b)}`}}let h="#",x=`${h}/${d}/`;if(c[1]===a&&!c[1].schema.id)return{ref:h};let v=c[1].schema.id??`__schema${e.counter++}`;return{defId:v,ref:x+_ge(v)}},l=(c)=>{if(c[1].schema.$ref)return;let d=c[1],{ref:h,defId:x}=s(c);if(d.def={...d.schema},x)d.defId=x;let v=d.schema;for(let y in v)delete v[y];v.$ref=h};if(e.cycles==="throw")for(let c of e.seen.entries()){let d=c[1];if(d.cycle)throw Error(`Cycle detected: #/${d.cycle?.join("/")}/<root>
|
|
194
|
-
|
|
195
|
-
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let c of e.seen.entries()){let d=c[1];if(r===c[0]){l(c);continue}if(e.external){let x=e.external.registry.get(c[0])?.id;if(r!==c[0]&&x){l(c);continue}}if(e.metadataRegistry.get(c[0])?.id){l(c);continue}if(d.cycle){l(c);continue}if(d.count>1){if(e.reused==="ref"){l(c);continue}}}if(e.external)e.sharedDefsExtractedFor=e.external}function wge(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;wge(i);let s=Object.keys(i);if(s.length!==1||s[0]!=="type")return;let l=i.type;for(let c of Array.isArray(l)?l:[l]){if(typeof c!=="string")return;if(!a.includes(c))a.push(c)}}delete e.anyOf,e.type=a.length===1?a[0]:a}var zge=new Set(["type","properties","required","additionalProperties"]),yge=["oneOf","anyOf"];function bge(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 DW(e){let r=[];for(let l of e){if(typeof l!=="object"||l.type!=="object")return null;for(let c in l)if(!zge.has(c))return null;r.push(l)}let a={},i=new Set;for(let l of r){for(let c in l.properties){if(Object.prototype.hasOwnProperty.call(a,c))continue;let d=[];for(let x of r){let v=x.properties?.[c]??bge(x);if(v===null||v===void 0)continue;if(!d.some((y)=>JSON.stringify(y)===JSON.stringify(v)))d.push(v)}let h=d.length===1?d[0]:DW(d)??{allOf:d};Vi(a,c,h)}for(let c of l.required??[])i.add(c)}let s={type:"object",properties:a};if(i.size)s.required=[...i];if(r.every((l)=>l.additionalProperties===!1))s.additionalProperties=!1;else{let l=[];for(let c of r){let d=bge(c);if(d&&!l.some((h)=>JSON.stringify(h)===JSON.stringify(d)))l.push(d)}if(l.length===1)s.additionalProperties=l[0];else if(l.length>1)s.additionalProperties={allOf:l}}return s}function OSt(e){let r=e.allOf;if(!Array.isArray(r)||r.length<2)return;for(let s of zge)if(s in e)return;let a=r.filter((s)=>yge.some((l)=>Array.isArray(s[l]))),i=null;if(!a.length)i=DW(r);else{let s=a[0],l=yge.find((h)=>Array.isArray(s[h]));if(Object.keys(s).length!==1)return;let c=r.filter((h)=>h!==s),d=s[l].map((h)=>DW([...c,h]));if(d.some((h)=>!h))return;i={[l]:d}}if(!i)return;delete e.allOf,eN(e,i)}function FW(e,r){let a=e.seen.get(r);if(!a)throw Error("Unprocessed schema. This is a bug in Zod.");let i=(d)=>{let h=e.seen.get(d);if(h.ref===null)return;let x=h.def??h.schema,v={...x},y=h.ref;if(h.ref=null,y){i(y);let b=e.seen.get(y),T=b.schema;if(T.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0"))x.allOf=x.allOf??[],x.allOf.push(T);else eN(x,T);if(eN(x,v),d._zod.parent===y)for(let U in x){if(U==="$ref"||U==="allOf")continue;if(!(U in v))delete x[U]}if(T.$ref&&b.def)for(let U in x){if(U==="$ref"||U==="allOf")continue;if(U in b.def&&JSON.stringify(x[U])===JSON.stringify(b.def[U]))delete x[U]}}let k=d._zod.parent;if(k&&k!==y){i(k);let b=e.seen.get(k);if(b?.schema.$ref){if(x.$ref=b.schema.$ref,b.def)for(let T in x){if(T==="$ref"||T==="allOf")continue;if(T in b.def&&JSON.stringify(x[T])===JSON.stringify(b.def[T]))delete x[T]}}}e.override({zodSchema:d,jsonSchema:x,path:h.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let d of[...e.seen.entries()].reverse())i(d[0]);if(e.target!=="openapi-3.0")for(let d of e.seen.entries())wge(d[1].def??d[1].schema);for(let d of e.deferred)d();if(e.intersections.length){let d=new Map;for(let h of e.seen.values())for(let x of[h.schema,h.def]){let v=x?.allOf;if(!Array.isArray(v))continue;let y=d.get(v);if(y)y.push(x);else d.set(v,[x])}for(let h of e.intersections)for(let x of d.get(h)??[])OSt(x)}}let s={};if(e.target==="draft-2020-12")s.$schema="https://json-schema.org/draft/2020-12/schema";else if(e.target==="draft-07")s.$schema="http://json-schema.org/draft-07/schema#";else if(e.target==="draft-04")s.$schema="http://json-schema.org/draft-04/schema#";else if(e.target==="openapi-3.0");if(e.external?.uri){let d=e.external.registry.get(r)?.id;if(!d)throw Error("Schema is missing an `id` property");s.$id=e.external.uri(d)}eN(s,a.defId?a.schema:a.def??a.schema);let l=e.metadataRegistry.get(r)?.id;if(l!==void 0&&s.id===l)delete s.id;let c=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let d of e.seen.entries()){let h=d[1];if(h.def&&h.defId){if(h.def.id===h.defId)delete h.def.id;Vi(c,h.defId,h.def)}}if(e.external)e.sharedEmitDoneFor=e.external;if(e.external);else if(Object.keys(c).length>0)if(e.target==="draft-2020-12")s.$defs=c;else s.definitions=c;try{let d=JSON.parse(JSON.stringify(s));return Object.defineProperty(d,"~standard",{value:{...r["~standard"],jsonSchema:{input:tN(r,"input",e.processors),output:tN(r,"output",e.processors)}},enumerable:!1,writable:!1}),d}catch(d){throw Error("Error converting schema to JSON.")}}function Ls(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 Ls(i.element,a);if(i.type==="set")return Ls(i.valueType,a);if(i.type==="lazy")return Ls(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 Ls(i.innerType,a);if(i.type==="intersection")return Ls(i.left,a)||Ls(i.right,a);if(i.type==="record"||i.type==="map")return Ls(i.keyType,a)||Ls(i.valueType,a);if(i.type==="pipe"){if(e._zod.traits.has("$ZodCodec"))return!0;return Ls(i.in,a)||Ls(i.out,a)}if(i.type==="object"){for(let s in i.shape)if(Ls(i.shape[s],a))return!0;return!1}if(i.type==="union"){for(let s of i.options)if(Ls(s,a))return!0;return!1}if(i.type==="tuple"){for(let s of i.items)if(Ls(s,a))return!0;if(i.rest&&Ls(i.rest,a))return!0;return!1}return!1}var Sge=(e,r={})=>(a)=>{let i=OW({...a,processors:r});return jn(e,i),NW(i,e),FW(i,e)},tN=(e,r,a={})=>(i)=>{let{libraryOptions:s,target:l}=i??{},c=OW({...s??{},target:l,io:r,processors:a});return jn(e,c),NW(c,e),FW(c,e)};var NSt={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Lge=(e,r,a,i)=>{let s=a;s.type="string";let{minimum:l,maximum:c,format:d,patterns:h,contentEncoding:x,laxFormat:v}=e._zod.bag;if(typeof l==="number")s.minLength=l;if(typeof c==="number")s.maxLength=c;if(d){if(s.format=NSt[d]??d,s.format==="")delete s.format;if(d==="time"||v)delete s.format}if(x)s.contentEncoding=x;if(h&&h.size>0){let y=[...h];if(y.length===1)s.pattern=y[0].source;else if(y.length>1)s.allOf=[...y.map((k)=>({...r.target==="draft-07"||r.target==="draft-04"||r.target==="openapi-3.0"?{type:"string"}:{},pattern:k.source}))]}},kge=(e,r,a,i)=>{let s=a,{minimum:l,maximum:c,format:d,multipleOf:h,exclusiveMaximum:x,exclusiveMinimum:v}=e._zod.bag;if(typeof d==="string"&&d.includes("int"))s.type="integer";else s.type="number";let y=typeof v==="number"&&v>=(l??Number.NEGATIVE_INFINITY),k=typeof x==="number"&&x<=(c??Number.POSITIVE_INFINITY),b=r.target==="draft-04"||r.target==="openapi-3.0";if(y)if(b)s.minimum=v,s.exclusiveMinimum=!0;else s.exclusiveMinimum=v;else if(typeof l==="number")s.minimum=l;if(k)if(b)s.maximum=x,s.exclusiveMaximum=!0;else s.exclusiveMaximum=x;else if(typeof c==="number")s.maximum=c;if(typeof h==="number")if(Number.isFinite(h)&&h!==0)s.multipleOf=Math.abs(h);else Iu(e,r,s,i,`A multipleOf divisor of ${h} cannot be represented in JSON Schema`)},Cge=(e,r,a,i)=>{a.type="boolean"},Ige=(e,r,a,i)=>{Iu(e,r,a,i,"BigInt cannot be represented in JSON Schema")};var Rge=(e,r,a,i)=>{a.not={}},Pge=(e,r,a,i)=>{},Tge=(e,r,a,i)=>{},Age=(e,r,a,i)=>{Iu(e,r,a,i,"Date cannot be represented in JSON Schema")},Ege=(e,r,a,i)=>{let s=e._zod.def,l=fj(s.entries);if(l.length===0){a.not={};return}if(l.every((c)=>typeof c==="number"))a.type="number";if(l.every((c)=>typeof c==="string"))a.type="string";a.enum=l},Dge=(e,r,a,i)=>{let s=e._zod.def;if(s.values.length===0){a.not={};return}let l=[];for(let c of s.values)if(c===void 0){if(Iu(e,r,a,i,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof c==="bigint"){if(Iu(e,r,a,i,"BigInt literals cannot be represented in JSON Schema"))return;l.push(Number(c))}else l.push(c);if(l.length===0);else if(l.length===1){let c=l[0];if(a.type=c===null?"null":typeof c,r.target==="draft-04"||r.target==="openapi-3.0")a.enum=[c];else a.const=c}else{if(l.every((c)=>typeof c==="number"))a.type="number";if(l.every((c)=>typeof c==="string"))a.type="string";if(l.every((c)=>typeof c==="boolean"))a.type="boolean";if(l.every((c)=>c===null))a.type="null";a.enum=l}};var Oge=(e,r,a,i)=>{Iu(e,r,a,i,"Custom types cannot be represented in JSON Schema")};var Nge=(e,r,a,i)=>{Iu(e,r,a,i,"Transforms cannot be represented in JSON Schema")};var Fge=(e,r,a,i)=>{let s=a,l=e._zod.def,{minimum:c,maximum:d}=e._zod.bag;if(typeof c==="number")s.minItems=c;if(typeof d==="number")s.maxItems=d;s.type="array",s.items=jn(l.element,r,{...i,path:[...i.path,"items"]})};function wj(e){let r=e._zod.def;if(r.type==="pipe"&&r.in._zod.traits.has("$ZodTransform"))return wj(r.out);if(r.type==="catch")return wj(r.innerType);return e._zod.optin}var jge=(e,r,a,i)=>{let s=a,l=e._zod.def,c=l.shape;if(Object.getOwnPropertySymbols(c).length&&Iu(e,r,s,i,"Symbol keys cannot be represented in JSON Schema"))return;s.type="object",s.properties={};for(let v in c)Vi(s.properties,v,jn(c[v],r,{...i,path:[...i.path,"properties",v]}));let h=new Set(Object.keys(c)),x=new Set([...h].filter((v)=>{let y=l.shape[v];if(r.io==="input")return wj(y)===void 0;else return y._zod.optout===void 0}));if(x.size>0)s.required=Array.from(x);if(l.catchall?._zod.def.type==="never")s.additionalProperties=!1;else if(!l.catchall){if(r.io==="output")s.additionalProperties=!1}else if(l.catchall)s.additionalProperties=jn(l.catchall,r,{...i,path:[...i.path,"additionalProperties"]})},Bge=(e,r,a,i)=>{let s=e._zod.def,l=s.inclusive===!1,c=s.options.map((d,h)=>jn(d,r,{...i,path:[...i.path,l?"oneOf":"anyOf",h]}));if(l)a.oneOf=c;else a.anyOf=c},Uge=(e,r,a,i)=>{let s=e._zod.def,l=jn(s.left,r,{...i,path:[...i.path,"allOf",0]}),c=jn(s.right,r,{...i,path:[...i.path,"allOf",1]}),d=(x)=>("allOf"in x)&&Object.keys(x).length===1,h=[...d(l)?l.allOf:[l],...d(c)?c.allOf:[c]];a.allOf=h,r.intersections.push(h)};function jW(e,r,a){if(r.$ref){if(a.has(r))return r;a.add(r);let T=e.get(r)?.def;if(!T)return r;let D=jW(e,T,a);return D===T?r:D}for(let T of["anyOf","oneOf"]){let D=r[T];if(!Array.isArray(D))continue;let U=D.map((A)=>jW(e,A,a));if(U.some((A,j)=>A!==D[j]))r={...r,[T]:U}}let i=Array.isArray(r.type)?r.type:[r.type],s=!i.includes("string")&&i.some((T)=>T==="number"||T==="integer"),l=r.enum??(r.const!==void 0?[r.const]:void 0);if(!s&&!l?.some((T)=>typeof T==="number"))return r;let{minimum:c,maximum:d,exclusiveMinimum:h,exclusiveMaximum:x,multipleOf:v,format:y,id:k,...b}=r;if(b.enum)b.enum=b.enum.map((T)=>typeof T==="number"?String(T):T);else if(typeof b.const==="number")b.const=String(b.const);if(!s)return b;if(b.type="string",!l)b.pattern=(i.includes("number")?XO:mj).source;return b}var BW=new WeakMap;function FSt(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 BW.get(e)??[]){let s=e.seen.get(i),l=(s?.def??s?.schema)?.propertyNames;if(!l||l===!0||a.has(l))continue;let c=jW(r,l,new Set);if(c!==l)a.set(l,c)}if(!a.size)return;for(let i of e.seen.values())for(let s of[i.schema,i.def]){let l=s&&a.get(s.propertyNames);if(l)s.propertyNames=l}}var Yge=(e,r,a,i)=>{let s=a,l=e._zod.def;s.type="object";let c=l.keyType,h=c._zod.bag?.patterns;if(l.mode==="loose"&&h&&h.size>0){let y=jn(l.valueType,r,{...i,path:[...i.path,"patternProperties","*"]});s.patternProperties={};for(let k of h)Vi(s.patternProperties,k.source,y)}else{if(r.target==="draft-07"||r.target==="draft-2020-12"){s.propertyNames=jn(l.keyType,r,{...i,path:[...i.path,"propertyNames"]});let y=BW.get(r);if(!y)y=[],BW.set(r,y),r.deferred.push(()=>FSt(r));y.push(e)}s.additionalProperties=jn(l.valueType,r,{...i,path:[...i.path,"additionalProperties"]})}let x=c._zod.values,v=r.io==="input"&&wj(l.valueType)!==void 0;if(x&&!l.partial&&!v){let y=[...x].filter((k)=>typeof k==="string"||typeof k==="number");if(y.length>0)s.required=y.map(String)}},qge=(e,r,a,i)=>{let s=e._zod.def,l=jn(s.innerType,r,i),c=r.seen.get(e);if(r.target==="openapi-3.0")c.ref=s.innerType,a.nullable=!0;else a.anyOf=[l,{type:"null"}]},Hge=(e,r,a,i)=>{let s=e._zod.def;jn(s.innerType,r,i);let l=r.seen.get(e);l.ref=s.innerType},UW=Symbol();function Vge(e,r,a,i,s){let l=!1,c=JSON.stringify(e,(d,h)=>{if(typeof h!=="bigint")return h;return l=!0,null});if(!l)return JSON.parse(c);return Iu(r,a,i,s,"BigInt defaults cannot be represented in JSON Schema"),UW}var Wge=(e,r,a,i)=>{let s=e._zod.def;jn(s.innerType,r,i);let l=r.seen.get(e);l.ref=s.innerType;let c=Vge(s.defaultValue,e,r,a,i);if(c!==UW)a.default=c},Gge=(e,r,a,i)=>{let s=e._zod.def;jn(s.innerType,r,i);let l=r.seen.get(e);if(l.ref=s.innerType,r.io!=="input")return;let c=Vge(s.defaultValue,e,r,a,i);if(c!==UW)a._prefault=c},Kge=(e,r,a,i)=>{let s=e._zod.def;jn(s.innerType,r,i);let l=r.seen.get(e);l.ref=s.innerType;let c;try{c=s.catchValue(void 0)}catch{Iu(e,r,a,i,"Dynamic catch values are not supported in JSON Schema");return}a.default=c},Xge=(e,r,a,i)=>{let s=e._zod.def,l=s.in._zod.traits.has("$ZodTransform"),c=r.io==="input"?l?s.out:s.in:s.out;jn(c,r,i);let d=r.seen.get(e);d.ref=c},Qge=(e,r,a,i)=>{let s=e._zod.def;jn(s.innerType,r,i);let l=r.seen.get(e);l.ref=s.innerType,a.readOnly=!0};var YW=(e,r,a,i)=>{let s=e._zod.def;jn(s.innerType,r,i);let l=r.seen.get(e);l.ref=s.innerType},Jge=(e,r,a,i)=>{let s=e._zod.innerType;jn(s,r,i);let l=r.seen.get(e);l.ref=s};var $ge=new WeakSet([Object.prototype,Error.prototype]);function zj(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 WSt=(e,r)=>{uj.init(e,r),e.name="ZodError";let a=Object.getPrototypeOf(e);if($ge.has(a))return;$ge.add(a),zj(a,"format",(i)=>(s)=>Mpe(i,s)),zj(a,"flatten",(i)=>(s)=>gpe(i,s)),zj(a,"addIssue",(i)=>(s)=>{i.issues.push(s),i.message=JSON.stringify(i.issues,HO,2)}),zj(a,"addIssues",(i)=>(s)=>{i.issues.push(...s),i.message=JSON.stringify(i.issues,HO,2)}),Object.defineProperty(a,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}})};var ac=Rt("ZodError",WSt,void 0,{Parent:Error});var eMe=Zj(ac),tMe=pj(ac),rMe=GO(ac),oMe=KO(ac),aMe=_pe(ac),nMe=ype(ac),iMe=bpe(ac),fMe=wpe(ac),sMe=zpe(ac),lMe=Spe(ac),cMe=Lpe(ac),uMe=kpe(ac);function KSt(){if(!fl.localeError)oc(wW())}function kj(){if(!fl.memoizer)oc({memoizer:Ihe()})}var Wa=Rt("ZodType",(e,r)=>(KSt(),Sa.init(e,r),e.def=r,e.type=r.type,e),{check(...e){let r=this.def;return this.clone(Zz(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 _Z(this,e,r)},brand(){return this},register(e,r){return e.add(this,r),this},refine(e,r){return this.check(YLt(e,r))},superRefine(e,r){return this.check(qLt(e,r))},overwrite(e){return this.check(hz(e))},optional(){return pMe(this)},exactOptional(){return ILt(this)},nullable(){return mMe(this)},nullish(){return pMe(mMe(this))},nonoptional(e){return DLt(this,e)},array(){return X(this)},or(e){return Ca([this,e])},and(e){return _Me(this,e)},transform(e){return hMe(this,CLt(e))},default(e){return TLt(this,e)},prefault(e){return ELt(this,e)},catch(e){return NLt(this,e)},pipe(e){return hMe(this,e)},readonly(){return BLt(this)},describe(e){let r=this.clone();return rk.add(r,{description:e}),r},meta(...e){if(e.length===0)return rk.get(this);let r=this.clone();return rk.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 oW(this,"~standard",{...MW(this),jsonSchema:{input:tN(this,"input"),output:tN(this,"output")}})},set "~standard"(e){JL(this,"~standard",e)},parse:function e(r,a){return eMe(this,r,a,{callee:e})},parseAsync:async function e(r,a){return await tMe(this,r,a,{callee:e})},safeParse(e,r){return rMe(this,e,r)},async safeParseAsync(e,r){return oMe(this,e,r)},get spa(){return this?.safeParseAsync},set spa(e){JL(this,"spa",e)},encode:function e(r,a){return aMe(this,r,a,{callee:e})},decode:function e(r,a){return nMe(this,r,a,{callee:e})},encodeAsync:async function e(r,a){return await iMe(this,r,a,{callee:e})},decodeAsync:async function e(r,a){return await fMe(this,r,a,{callee:e})},safeEncode(e,r){return sMe(this,e,r)},safeDecode(e,r){return lMe(this,e,r)},async safeEncodeAsync(e,r){return cMe(this,e,r)},async safeDecodeAsync(e,r){return uMe(this,e,r)},toJSONSchema(e){return Sge(this,{})(e)},get description(){return rk.get(this)?.description},get _def(){return this._zod.def}}),gMe=Rt("_ZodString",(e,r)=>{xj.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(i,s,l)=>Lge(e,i,s,l);let a=e._zod.bag;e.format=a.format??null,e.minLength=a.minimum??null,e.maxLength=a.maximum??null},{regex(...e){return this.check(zW(...e))},includes(...e){return this.check(kW(...e))},startsWith(...e){return this.check(CW(...e))},endsWith(...e){return this.check(IW(...e))},min(...e){return this.check(zP(...e))},max(...e){return this.check(yj(...e))},length(...e){return this.check(bj(...e))},nonempty(...e){return this.check(zP(1,...e))},lowercase(e){return this.check(SW(e))},uppercase(e){return this.check(LW(e))},trim(){return this.check(PW())},normalize(...e){return this.check(RW(...e))},toLowerCase(){return this.check(TW())},toUpperCase(){return this.check(AW())},slugify(){return this.check(EW())}}),qW=Rt("ZodString",(e,r)=>{xj.init(e,r),gMe.init(e,r)},{email(e){return this.check(Ehe(eLt,e))},url(e){return this.check(Bhe(rLt,e))},jwt(e){return this.check(rge(gLt,e))},emoji(e){return this.check(Uhe(oLt,e))},guid(e){return this.check(Dhe(tLt,e))},uuid(e){return this.check(Ohe(Sj,e))},uuidv4(e){return this.check(Nhe(Sj,e))},uuidv6(e){return this.check(Fhe(Sj,e))},uuidv7(e){return this.check(jhe(Sj,e))},nanoid(e){return this.check(Yhe(aLt,e))},cuid(e){return this.check(qhe(nLt,e))},cuid2(e){return this.check(Hhe(iLt,e))},ulid(e){return this.check(Vhe(fLt,e))},base64(e){return this.check($he(pLt,e))},base64url(e){return this.check(ege(mLt,e))},xid(e){return this.check(Whe(sLt,e))},ksuid(e){return this.check(Ghe(lLt,e))},ipv4(e){return this.check(Khe(cLt,e))},ipv6(e){return this.check(Xhe(uLt,e))},cidrv4(e){return this.check(Qhe(dLt,e))},cidrv6(e){return this.check(Jhe(ZLt,e))},e164(e){return this.check(tge(hLt,e))},datetime(e){return this.check(oge(XSt,e))},date(e){return this.check(age(QSt,e))},time(e){return this.check(nge(JSt,e))},duration(e){return this.check(ige($St,e))}});function f(e){return The(qW,e)}var In=Rt("ZodStringFormat",(e,r)=>{yn.init(e,r),gMe.init(e,r)}),XSt=Rt("ZodISODateTime",(e,r)=>{Fme.init(e,r),In.init(e,r)}),QSt=Rt("ZodISODate",(e,r)=>{jme.init(e,r),In.init(e,r)}),JSt=Rt("ZodISOTime",(e,r)=>{Bme.init(e,r),In.init(e,r)}),$St=Rt("ZodISODuration",(e,r)=>{Ume.init(e,r),In.init(e,r)}),eLt=Rt("ZodEmail",(e,r)=>{kme.init(e,r),In.init(e,r)});var tLt=Rt("ZodGUID",(e,r)=>{Sme.init(e,r),In.init(e,r)});var Sj=Rt("ZodUUID",(e,r)=>{Lme.init(e,r),In.init(e,r)});var rLt=Rt("ZodURL",(e,r)=>{Rme.init(e,r),In.init(e,r)});var oLt=Rt("ZodEmoji",(e,r)=>{Pme.init(e,r),In.init(e,r)});var aLt=Rt("ZodNanoID",(e,r)=>{Tme.init(e,r),In.init(e,r)});var nLt=Rt("ZodCUID",(e,r)=>{Ame.init(e,r),In.init(e,r)});var iLt=Rt("ZodCUID2",(e,r)=>{Eme.init(e,r),In.init(e,r)});var fLt=Rt("ZodULID",(e,r)=>{Dme.init(e,r),In.init(e,r)});var sLt=Rt("ZodXID",(e,r)=>{Ome.init(e,r),In.init(e,r)});var lLt=Rt("ZodKSUID",(e,r)=>{Nme.init(e,r),In.init(e,r)});var cLt=Rt("ZodIPv4",(e,r)=>{Yme.init(e,r),In.init(e,r)});var uLt=Rt("ZodIPv6",(e,r)=>{Hme.init(e,r),In.init(e,r)});var dLt=Rt("ZodCIDRv4",(e,r)=>{Vme.init(e,r),In.init(e,r)});var ZLt=Rt("ZodCIDRv6",(e,r)=>{Wme.init(e,r),In.init(e,r)});var pLt=Rt("ZodBase64",(e,r)=>{Kme.init(e,r),In.init(e,r)});var mLt=Rt("ZodBase64URL",(e,r)=>{Xme.init(e,r),In.init(e,r)});var hLt=Rt("ZodE164",(e,r)=>{Qme.init(e,r),In.init(e,r)});var gLt=Rt("ZodJWT",(e,r)=>{Jme.init(e,r),In.init(e,r)});var Cj=Rt("ZodNumber",(e,r)=>{xW.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(i,s,l)=>kge(e,i,s,l);let a=e._zod.bag;e.minValue=Math.max(a.minimum??Number.NEGATIVE_INFINITY,a.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(a.maximum??Number.POSITIVE_INFINITY,a.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(a.format??"").includes("int")||Number.isSafeInteger(a.multipleOf??0.5),e.isFinite=!0,e.format=a.format??null},{gt(e,r){return this.check(wP(e,r))},gte(e,r){return this.check(WM(e,r))},min(e,r){return this.check(WM(e,r))},lt(e,r){return this.check(bP(e,r))},lte(e,r){return this.check(VM(e,r))},max(e,r){return this.check(VM(e,r))},int(e){return this.check(dMe(e))},safe(e){return this.check(dMe(e))},positive(e){return this.check(wP(0,e))},nonnegative(e){return this.check(WM(0,e))},negative(e){return this.check(bP(0,e))},nonpositive(e){return this.check(VM(0,e))},multipleOf(e,r){return this.check($O(e,r))},step(e,r){return this.check($O(e,r))},finite(){return this}});function Wt(e){return fge(Cj,e)}var MLt=Rt("ZodNumberFormat",(e,r)=>{$me.init(e,r),Cj.init(e,r)});function dMe(e){return lge(MLt,e)}var HW=Rt("ZodBoolean",(e,r)=>{ehe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Cge(e,a,i,s)});function pr(e){return cge(HW,e)}var MMe=Rt("ZodBigInt",(e,r)=>{the.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(i,s,l)=>Ige(e,i,s,l);let a=e._zod.bag;e.minValue=a.minimum??null,e.maxValue=a.maximum??null,e.format=a.format??null},{gte(e,r){return this.check(WM(e,r))},min(e,r){return this.check(WM(e,r))},gt(e,r){return this.check(wP(e,r))},lt(e,r){return this.check(bP(e,r))},lte(e,r){return this.check(VM(e,r))},max(e,r){return this.check(VM(e,r))},positive(e){return this.check(wP(BigInt(0),e))},negative(e){return this.check(bP(BigInt(0),e))},nonpositive(e){return this.check(VM(BigInt(0),e))},nonnegative(e){return this.check(WM(BigInt(0),e))},multipleOf(e,r){return this.check($O(e,r))}});var xLt=Rt("ZodAny",(e,r)=>{rhe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Pge(e,a,i,s)});function ks(){return Zge(xLt)}var vLt=Rt("ZodUnknown",(e,r)=>{ohe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Tge(e,a,i,s)});function Rc(){return pge(vLt)}var _Lt=Rt("ZodNever",(e,r)=>{ahe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Rge(e,a,i,s)});function yLt(e){return mge(_Lt,e)}var VW=Rt("ZodDate",(e,r)=>{nhe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(i,s,l)=>Age(e,i,s,l),e.min=(i,s)=>e.check(WM(i,s)),e.max=(i,s)=>e.check(VM(i,s));let a=e._zod.bag;e.minDate=a.minimum?new Date(a.minimum):null,e.maxDate=a.maximum?new Date(a.maximum):null});function oi(e){return hge(VW,e)}var bLt=Rt("ZodArray",(e,r)=>{kj(),ihe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Fge(e,a,i,s),e.element=r.element},{min(e,r){return this.check(zP(e,r))},nonempty(e){return this.check(zP(1,e))},max(e,r){return this.check(yj(e,r))},length(e,r){return this.check(bj(e,r))},unwrap(){return this.element}});function X(e,r){return Mge(bLt,e,r)}var wLt=Rt("ZodObject",(e,r)=>{kj(),lhe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>jge(e,a,i,s),cSt(e,"shape",(a)=>a._zod.def.shape,!1)},{keyof(){return Ke(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:Rc()})},loose(){return this.clone({...this._zod.def,catchall:Rc()})},strict(){return this.clone({...this._zod.def,catchall:yLt()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return rSt(this,e)},safeExtend(e){return oSt(this,e)},merge(e){return aSt(this,e)},pick(e){return eSt(this,e)},omit(e){return tSt(this,e)},partial(...e){return spe(yMe,this,e[0])},exactPartial(...e){return spe(bMe,this,e[0],"exactPartial")},required(...e){return nSt(wMe,this,e[0])}});function R(e,r){let a={type:"object",shape:e??{},...wr(r)};return new wLt(a)}var xMe=Rt("ZodUnion",(e,r)=>{vW.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Bge(e,a,i,s),e.options=r.options});function Ca(e,r){return new xMe({type:"union",options:e,...wr(r)})}var zLt=Rt("ZodDiscriminatedUnion",(e,r)=>{xMe.init(e,r),che.init(e,r)});function vMe(e,r,a){return new zLt({type:"union",options:r,discriminator:e,...wr(a)})}var SLt=Rt("ZodIntersection",(e,r)=>{uhe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Uge(e,a,i,s)});function _Me(e,r){return new SLt({type:"intersection",left:e,right:r})}var ZMe=Rt("ZodRecord",(e,r)=>{kj(),dhe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Yge(e,a,i,s),e.keyType=r.keyType,e.valueType=r.valueType});function ok(e,r,a){if(!r||!r._zod)return new ZMe({type:"record",keyType:f(),valueType:e,...wr(r)});return new ZMe({type:"record",keyType:e,valueType:r,...wr(a)})}var Lj=Rt("ZodEnum",(e,r)=>{Zhe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(i,s,l)=>Ege(e,i,s,l),e.enum=r.entries,e.options=Object.values(r.entries);let a=new Set(Object.keys(r.entries));e.extract=(i,s)=>{let l={};for(let c of i)if(a.has(c))l[c]=r.entries[c];else throw Error(`Key ${c} not found in enum`);return new Lj({...r,checks:[],...wr(s),entries:l})},e.exclude=(i,s)=>{let l={...r.entries};for(let c of i)if(a.has(c))delete l[c];else throw Error(`Key ${c} not found in enum`);return new Lj({...r,checks:[],...wr(s),entries:l})}});function Ke(e,r){let a=Array.isArray(e)?Object.fromEntries(e.map((i)=>[i,i])):e;return new Lj({type:"enum",entries:a,...wr(r)})}function bo(e,r){return new Lj({type:"enum",entries:e,...wr(r)})}var LLt=Rt("ZodLiteral",(e,r)=>{phe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Dge(e,a,i,s),e.values=new Set(r.values),Object.defineProperty(e,"value",{get(){if(r.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return r.values[0]}})});function Cs(e,r){return new LLt({type:"literal",values:Array.isArray(e)?e:[e],...wr(r)})}var kLt=Rt("ZodTransform",(e,r)=>{kj(),mhe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Nge(e,a,i,s),e._zod.parse=(a,i)=>{if(i.direction==="backward")throw new WO(e.constructor.name);a.addIssue=(l)=>{if(typeof l==="string")a.issues.push(tk(l,a.value,r));else{let c=l;if(c.fatal)c.continue=!1;if(c.code??(c.code="custom"),!("input"in c))c.input=a.value;c.inst??(c.inst=e),a.issues.push(tk(c))}};let s=r.transform(a.value,a);if(s instanceof Promise)return s.then((l)=>(a.value=l,a));return a.value=s,a}});function CLt(e){return new kLt({type:"transform",transform:e})}var yMe=Rt("ZodOptional",(e,r)=>{_W.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>YW(e,a,i,s),e.unwrap=()=>e._zod.def.innerType});function pMe(e){return new yMe({type:"optional",innerType:e})}var bMe=Rt("ZodExactOptional",(e,r)=>{hhe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>YW(e,a,i,s),e.unwrap=()=>e._zod.def.innerType});function ILt(e){return new bMe({type:"optional",innerType:e})}var RLt=Rt("ZodNullable",(e,r)=>{ghe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>qge(e,a,i,s),e.unwrap=()=>e._zod.def.innerType});function mMe(e){return new RLt({type:"nullable",innerType:e})}var PLt=Rt("ZodDefault",(e,r)=>{Mhe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Wge(e,a,i,s),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function TLt(e,r){return new PLt({type:"default",innerType:e,get defaultValue(){return typeof r==="function"?r():eW(r)}})}var ALt=Rt("ZodPrefault",(e,r)=>{xhe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Gge(e,a,i,s),e.unwrap=()=>e._zod.def.innerType});function ELt(e,r){return new ALt({type:"prefault",innerType:e,get defaultValue(){return typeof r==="function"?r():eW(r)}})}var wMe=Rt("ZodNonOptional",(e,r)=>{vhe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Hge(e,a,i,s),e.unwrap=()=>e._zod.def.innerType});function DLt(e,r){return new wMe({type:"nonoptional",innerType:e,...wr(r)})}var OLt=Rt("ZodCatch",(e,r)=>{_he.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Kge(e,a,i,s),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function NLt(e,r){return new OLt({type:"catch",innerType:e,catchValue:typeof r==="function"?r:dpe(r)})}var FLt=Rt("ZodPipe",(e,r)=>{yhe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Xge(e,a,i,s),e.in=r.in,e.out=r.out});function hMe(e,r){return new FLt({type:"pipe",in:e,out:r})}var jLt=Rt("ZodReadonly",(e,r)=>{bhe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Qge(e,a,i,s),e.unwrap=()=>e._zod.def.innerType});function BLt(e){return new jLt({type:"readonly",innerType:e})}var ULt=Rt("ZodLazy",(e,r)=>{whe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Jge(e,a,i,s),e.unwrap=()=>e._zod.def.getter()});function WW(e){return new ULt({type:"lazy",getter:e})}var zMe=Rt("ZodCustom",(e,r)=>{zhe.init(e,r),Wa.init(e,r),e._zod.processJSONSchema=(a,i,s)=>Oge(e,a,i,s)});function YLt(e,r={}){return xge(zMe,e,r)}function qLt(e,r){return vge(e,r)}function SMe(e,r={}){let a=new zMe({type:"custom",check:"custom",fn:(i)=>i instanceof e,abort:!0,...wr(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 ao={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 LMe;(function(e){})(LMe||(LMe={}));function VLt(e){return Ahe(qW,e)}function WLt(e){return sge(Cj,e)}function GLt(e){return uge(HW,e)}function KLt(e){return dge(MMe,e)}function XLt(e){return gge(VW,e)}var Ij={human:"human",agent:"agent"};var GW={editor:"editor",reviewer:"reviewer"};var kMe={team:"team",project:"project"},qa={transcode:"transcode",transcode_video:"transcode_video",transcode_image:"transcode_image",transcode_pdf:"transcode_pdf",transcode_pdf_pages:"transcode_pdf_pages",transcode_screenshot:"transcode_screenshot",transcode_image_annotation:"transcode_image_annotation",transcode_watermark:"transcode_watermark",transcode_3d:"transcode_3d",ai_metadata_autofill:"ai_metadata_autofill",chat:"chat",ai_embedding:"ai_embedding",query_embedding_for_search:"query_embedding_for_search",agent_tool_call:"agent_tool_call",kanban_agent_run:"kanban_agent_run"},Ha={pending:"pending",processing:"processing",completed:"completed",failed:"failed"};var CMe={all_members:"all_members",each_member:"each_member",selected_members:"selected_members"};var IMe={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"},We={TODO:"TODO",READY:"READY",IN_PROGRESS:"IN_PROGRESS",BLOCKED:"BLOCKED",IN_REVIEW:"IN_REVIEW",DONE:"DONE"},$r={LOW:"LOW",MEDIUM:"MEDIUM",HIGH:"HIGH",URGENT:"URGENT"},bf={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"},RMe={chat:"chat",autofill:"autofill",embedding:"embedding"};var QLt=["avatar-1","avatar-2","avatar-3","avatar-4","avatar-5","avatar-6","avatar-7","avatar-8"];var JLt={"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/6D1Of3o9pv9uzXj2UCILxSqTJtnLrjF0IFB27Vo5QPaRJKEf73CFDiYb46kQh9ZimTAfOlbMytbJDx1VHoVO115vAH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E7RV74Qw4YI3KhfrMoRhmcOHlpCZsvfSgvcNf0/nak24VtiVYnatZNGk0d9StstQUQCEN2d0HWi9XkcGkqhqyTDXBOW8b/JXjFBxthPq8CcjS2kuYM64vWb5bPlo3TBJvlM7/S6A+aUHE8Ysr+3Urij3a4OlmHZCAbH72tqwo+C+pwAc9daUTrAcq3y7XKuoBeLxX7xUt9D28IJlAYaj2vFxnpDT9965ai9w+/iZhggv1j57YepY/lSYkU7TmhdRROUnWKrmW7Aun4RGGx2g5aAJLFTK2d7y3E320mXPdgSpc7dD7yRJe+ux5Pz1d/DkwhHeA487pzdWCeMLTc5oZxVRSmY0orTzQgjc3Vb1qUNhw1sf+pzbcaq1cUKzDT0S0UJuN1KK2ZWrt3jSW9GtYzf/4p/Wte+gT0BeWuuGk8CWJhTwcjrkF8bzYCm3Sht9Av1I8sC7HI1yRwa1wBybvlrPjWRR6Jfkyb0YxACVUzGy678cj/fDKSBH/7hlbS4hB6It3rJbQTz8zCfQ2WdhV7n27w4n5o3cyZK2PDXtRnQqBXpHxIxrxRPcUB/GO9z8TzlY2e0cexQbZ3HkD/bupeupZVrpjIq1k9/EwyB+EEGeNHb63rBnxbgSVuEWo0b3WihxMTaZTyre7jogHA2nw8INlzaWrb2Is+v9I5xQN5elt2+hXPAyR160GZ6Ij6NAJPHLEMhw5M7JszydIJxX6bekzNdInyXDwLp5B/pGOIBmgYqQj3NERx5UzJGwruLTFZvHgUj42OMzurfF7niHyu6gM//+uZn94CG5+kMmCCldqOGMrVqWosLAAAAA=="},uu=QLt.map((e)=>({id:e,preview:`data:image/webp;base64,${JLt[e]}`}));var PMe=bo(RMe),du=Ke(["off","minimal","low","medium","high","xhigh"]),KW=Ke(["owner","editor","reviewer"]),KA=["delete_asset"],$Lt=R({id:f().optional(),skillId:f(),skill:R({id:f(),name:f()}).optional()}),zIn=R({id:f(),name:f(),type:PMe,enabled:pr(),permission:KW.optional().default("reviewer"),avatar:f().optional(),avatarPreset:f().optional(),providerId:f().optional(),modelId:f().optional(),thinkingLevel:du.optional().default("off"),systemPrompt:f().optional(),soul:f().optional(),skills:X($Lt).optional(),mcpServerIds:X(f()).optional(),deniedTools:X(f()).optional(),readOnly:pr().optional()}),TMe=R({name:f().min(1),type:PMe,enabled:pr().optional().default(!0),permission:KW.optional(),avatar:f().optional(),providerId:f().optional(),modelId:f().optional(),thinkingLevel:du.optional().default("off"),systemPrompt:f().optional(),soul:f().optional(),skills:X(f()).optional(),mcpServerIds:X(f()).optional(),deniedTools:X(f()).optional()}),SIn=TMe.superRefine((e,r)=>{if(e.type==="chat"||e.type==="autofill"){if(!e.providerId)r.addIssue({code:ao.custom,message:"providerId is required for chat/autofill agents",path:["providerId"]});if(!e.modelId)r.addIssue({code:ao.custom,message:"modelId is required for chat/autofill agents",path:["modelId"]})}}),LIn=TMe.superRefine((e,r)=>{if(e.type==="chat"||e.type==="autofill"){if(!e.providerId)r.addIssue({code:ao.custom,message:"providerId is required for chat/autofill agents",path:["providerId"]});if(!e.modelId)r.addIssue({code:ao.custom,message:"modelId is required for chat/autofill agents",path:["modelId"]})}}),kIn=R({permission:KW}),CIn=R({id:f(),sessionId:f(),entry:Rc()}),IIn=R({id:f(),name:f().nullable().optional(),type:f(),createdAt:f(),creator:R({id:f(),name:f().nullable().optional(),email:f().nullable().optional(),image:f().nullable().optional()}).nullable().optional(),agentId:f().optional()});var AIn=R({apiKey:f().optional(),baseUrl:f().optional(),chatModels:X(f()).optional()}),ekt=Ke(["1h","24h","7d","30d"]),EIn=R({timeframe:ekt.default("30d"),userId:f().optional()});var gz=R({cursor:f().optional(),total:Wt().optional(),totalSize:Wt().optional()}),Is=R({first:SP.number().optional(),after:f().optional()});var EMe=30,BIn=R({data:X(WW(()=>nkt)),pageInfo:gz}),DMe=R({proxyType:Ke(["image","video","audio","pdf","3d"]).nullable().optional(),thumbnailUrl:f().optional(),originalHeight:Wt().optional(),originalWidth:Wt().optional(),rotation:Wt().optional(),spriteUrl:f().optional(),duration:Wt().optional(),pageCount:Wt().optional()}),tkt=R({type:f().nullable(),preview:DMe.nullable()}),Rj=R({id:f(),name:f(),image:f().optional()}),AMe=R({id:f(),name:f()}),rkt=R({fieldId:f(),value:ks()}),okt=R({id:f(),name:f()}),akt=R({duration:Wt().optional(),originalWidth:Wt().optional(),originalHeight:Wt().optional(),rotation:Wt().optional(),frameRate:Wt().optional(),totalFrames:Wt().optional(),startTimecode:f().optional()}),nkt=R({id:f(),name:f(),sizeByte:Wt(),fileCount:Wt(),type:f(),targetType:f().optional().nullable(),status:f(),proxyType:Ke(["image","video","audio","pdf","3d"]).nullable().optional(),latestChildren:X(tkt).optional(),preview:DMe.nullable().optional(),createdAt:f(),updatedAt:f(),deletedAt:f().nullable().optional(),projectId:f().optional().nullable(),creator:Rj.nullable().optional(),agentId:f().optional().nullable(),agent:AMe.optional().nullable(),fieldValues:X(rkt).optional(),sortIndex:f().optional().nullable(),startTime:Wt().optional().nullable(),endTime:Wt().optional().nullable(),hasAgentsMd:pr().optional(),commentsCount:Wt().optional(),media:R({original:R({key:f().optional()}).optional(),videoTranscodes:X(R({id:f(),url:f(),key:f(),width:Wt(),height:Wt(),size:Wt(),resolution:f().optional(),hdr:pr().optional()})).optional(),imageTranscodes:X(R({id:f(),url:f(),key:f(),width:Wt(),height:Wt(),size:Wt()})).optional(),videoPreview:R({url:f(),key:f().optional()}).optional(),pdfTranscode:R({url:f(),key:f().optional()}).optional(),isHls:pr().optional(),hls:R({key:f(),url:f().optional(),resolutions:X(R({width:Wt(),height:Wt(),resolution:f().optional(),hdr:pr().optional(),key:f().optional(),url:f().optional()})).optional()}).optional(),proxyType:Ke(["image","video","audio","pdf","3d"]).nullable().optional(),metadata:akt.optional(),error:f().optional()}).optional(),ancestorFolders:X(okt).optional(),versionStack:R({id:f(),versions:X(R({version:Wt(),current:pr(),id:f(),name:f().optional().nullable(),previewUrl:f().optional().nullable(),createdAt:f().optional().nullable(),creator:R({id:f(),name:f().nullable(),image:f().optional().nullable()}).nullable().optional(),agent:AMe.optional().nullable()}))}).optional().nullable()}),UIn=R({name:f(),type:f(),projectId:f().optional(),parentId:f().optional(),key:f().optional(),sizeByte:Wt().optional(),contentType:f().optional(),creatorId:f().optional(),agentId:f().optional()}),YIn=R({assetId:f()}),qIn=R({id:f(),name:f()}),XW=Ke(["file","folder","all"]),HIn=R({assetId:f().optional(),assetType:XW.optional().default("all"),projectId:f().optional(),showDeleted:pr().optional(),prefix:f().optional(),sort:f().optional(),order:f().optional(),...Is.shape}),VIn=R({assetId:f(),userId:f(),replyToId:f().optional(),message:f(),annotations:ks().optional(),second:Wt().optional(),attachmentIds:X(f())}),ikt=R({id:f(),assetId:f(),url:f(),proxyType:Ke(["image","video","audio","pdf","3d"]).nullable().optional()}),fkt=R({code:f(),count:Wt(),requestingUserReacted:pr(),creatorNames:X(f())}),WIn=R({code:f().min(1)}),GIn=R({code:f().min(1)}),skt=R({id:f(),assetId:f(),message:f().nullable(),annotations:ks(),second:Wt().nullable(),creator:Rj,replies:X(WW(()=>skt)),attachments:X(ikt),mentions:X(Rj),createdAt:f(),updatedAt:f(),sessionId:f().nullable(),isCompleted:pr(),completionLastChangedBy:Rj.nullable(),reactionCounts:X(fkt)}),KIn=R({isCompleted:pr()}),XIn=R({newParentId:f(),assetIds:X(f()),creatorId:f().optional()}),QIn=R({newParentId:f(),assetIds:X(f()),withComments:pr().default(!1),creatorId:f().optional()}),JIn=R({name:f()}),$In=R({beforeIndex:f().optional(),afterIndex:f().optional()}),e1n=R({ids:X(f())}),t1n=R({ids:X(f())}),r1n=R({file:SMe(File)}),o1n=R({key:f()}),a1n=R({fileName:f(),contentType:f(),size:Wt()}),n1n=R({id:f(),uploadUrl:f()}),i1n=R({ids:X(f())}),lkt=R({id:f(),name:f(),url:f()}),f1n=R({files:X(lkt)}),ckt=Ke(["fcp-fiojson","media-composer-xml","premiere-xml","resolve-edl"]),s1n=R({format:ckt,timeZone:f().refine((e)=>{try{return Intl.DateTimeFormat(void 0,{timeZone:e}),!0}catch{return!1}},{message:"Invalid IANA time zone identifier"}).optional()});var u1n=R({userCount:Wt()}),d1n=R({name:f().min(1,"Name is required").max(100,"Name is too long")}),Z1n=R({id:f(),token:f(),name:f(),createdAt:f()});var ukt=Ke(["is","eq","neq","gt","gte","lt","lte","contains","notContains","isEmpty","isNotEmpty","in","notIn","hasAny","hasAll","hasNone","isWithin"]),dkt=R({field:f(),operator:ukt,value:ks()}),Zkt=Ke(["asc","desc"]),pkt=R({field:f(),order:Zkt}),mkt=Ke(["AND","OR"]),hkt=Ke(["file","folder"]),Pj=Ke(["jpeg","webp"]),QW=R({operator:mkt.optional().default("AND"),conditions:X(dkt).optional().default([]),sort:pkt.optional(),assetType:hkt.optional(),showSymlink:pr().optional(),recursively:pr().optional().default(!0),query:f().optional(),isSemantic:pr().optional().default(!1),previewFormat:Pj.optional()}),g1n=QW.extend(Is.shape);var JW=R({sourceFolderId:f(),searchFilter:QW}),gkt=R({id:f(),name:f(),filter:JW,projectId:f(),createdAt:f(),updatedAt:f(),creator:R({id:f(),name:f(),image:f().optional().nullable()}).optional().nullable()}),y1n=R({name:f(),filter:JW}),b1n=R({name:f().optional(),filter:JW.optional()});var w1n=R({data:X(gkt),pageInfo:R({cursor:f().optional(),total:Wt().optional()})});var L1n=R({name:f(),parentId:f()}),k1n=R({name:f()}),C1n=R({ids:X(f())}),I1n=R({ids:X(f())}),R1n=R({content:f().max(1e5)});var E1n=R({code:f(),role:f(),teamId:f(),teamName:f(),projectId:f().optional(),projectName:f().optional(),inviterName:f(),isUsed:pr()}),D1n=R({role:bo(GW)}),O1n=R({role:bo(GW)}),N1n=R({code:f()});var Or={text:"text",longText:"longText",select:"select",selectMulti:"selectMulti",rating:"rating",number:"number",toggle:"toggle",date:"date",user:"user",userMulti:"userMulti"},Ir={NONE:"NONE",CONTENT:"CONTENT",CREATION_CONTEXT:"CREATION_CONTEXT"},Y1n=R({id:f(),displayName:f(),color:f().optional()}),$W=R({name:f(),type:Ke(["text","longText","select","selectMulti","rating","number","toggle","date","user","userMulti"]),autofillSource:bo(Ir).optional(),text:ks().optional(),longText:ks().optional(),select:ks().optional(),selectMulti:ks().optional(),rating:ks().optional(),number:ks().optional(),toggle:ks().optional(),date:ks().optional(),user:ks().optional(),userMulti:ks().optional()}),q1n=R({key:f().optional(),label:f().optional(),scope:f().optional(),config:$W,description:f().default("")}),H1n=R({label:f().optional(),config:$W,description:f().optional()}),Mkt=R({fieldId:f(),visible:pr()}),V1n=X(Mkt),xkt=R({key:f(),value:ks()}),W1n=X(xkt),G1n=R({id:f(),config:$W,scope:f(),readOnly:pr(),visible:pr(),description:f()});var OMe=Ke(["auto","none","bearer","oauth"]),eG=Ke(["streamable_http","sse"]),Tj=Ke(["owner","editor","reviewer"]),vkt=R({grantType:Ke(["authorization_code","client_credentials"]).optional(),clientId:f().optional(),clientSecret:f().optional(),scope:f().optional(),authorizationParams:ok(f(),f()).optional(),redirectUri:f().optional(),clientName:f().optional(),clientUri:f().optional(),skipIssuerMetadataValidation:pr().optional()}),NMe=R({type:OMe.optional(),bearerToken:f().optional(),headers:ok(f(),f()).optional(),oauth:vkt.optional()}),tG=R({excludeTools:X(f()).optional(),requestTimeoutMs:Wt().int().positive().optional(),idleTimeoutMs:Wt().int().positive().optional(),keepAlive:pr().optional(),protocolVersion:Ke(["legacy","auto","2026-07-28"]).optional(),directTools:X(f()).optional()}),_kt=R({name:f(),title:f().optional(),description:f().optional(),inputSchema:Rc().optional()}),Q1n=R({url:f().url(),transport:eG.optional(),authConfig:NMe.optional(),config:tG.optional(),permission:Tj.optional()}),J1n=R({transport:eG.optional(),authConfig:NMe.optional(),config:tG.optional(),permission:Tj.optional()}),$1n=R({permission:Tj}),ykt=R({id:f(),name:f(),description:f().optional(),instructions:f().optional(),url:f(),transport:eG,authType:OMe,config:tG.optional(),permission:Tj,status:f(),lastError:f().nullable().optional(),toolCount:Wt(),hasCredential:pr(),createdAt:f(),updatedAt:f()}),eRn=R({servers:X(ykt)}),tRn=R({}),rRn=R({tools:X(_kt)}),FMe=Ke(["authenticated","expired","not_authenticated","in_progress"]),oRn=R({status:FMe}),aRn=R({authorizationUrl:f().optional(),status:FMe}),nRn=R({code:f(),iss:f().optional()}),iRn=R({ok:pr(),toolCount:Wt(),message:f().optional()});var jMe=R({id:f().optional(),name:f().optional(),role:f().optional()}),BMe=R({id:f().optional(),name:f().optional()}),bkt=R({id:f().optional(),proxyType:Ke(["image","video","audio","pdf","3d"]).nullable().optional(),name:f().optional(),preview:f().optional(),thumbnailUrl:f().optional(),originalWidth:Wt().optional(),originalHeight:Wt().optional()}),wkt=R({id:f().optional(),title:f().optional(),status:f().optional()}),lRn=R({id:f().optional(),creator:jMe.optional(),type:f().optional(),team:BMe.optional(),project:BMe.optional(),asset:bkt.optional(),kanbanTask:wkt.optional(),user:jMe.optional(),createdAt:f().optional(),isRead:pr().optional()}),cRn=R({unreadOnly:Ca([pr(),f()]).transform((e)=>e===!0||e==="true").optional(),after:f().optional(),pageSize:SP.number().optional()}),uRn=R({notificationId:f().min(1)}),dRn=R({comments:pr().default(!0),replies:pr().default(!0),mentions:pr().default(!0),yourUploads:pr().default(!1),otherUploads:pr().default(!0),statusUpdates:pr().default(!0),kanbanTasks:pr().default(!0),kanbanComments:pr().default(!0)}),ZRn=R({enabled:pr(),host:f().default(""),port:Wt().int().min(1).max(65535).default(587),username:f().optional(),password:f().optional(),smtps:pr().default(!1),ignoreCert:pr().default(!1),from:f().default(""),replyTo:f().optional()}),pRn=R({enabled:pr(),host:f().default(""),port:Wt().int().min(1).max(65535).default(587),username:f().optional(),password:f().optional(),smtps:pr().default(!1),ignoreCert:pr().default(!1),from:f().default(""),replyTo:f().optional()}),mRn=R({host:f().optional(),port:Wt().int().min(1).max(65535).optional(),username:f().optional(),password:f().optional(),smtps:pr().optional(),ignoreCert:pr().optional(),from:f().optional(),replyTo:f().optional()}),hRn=R({success:pr(),messageId:f()});var yRn=R({name:f(),coverImageKey:f().optional(),enableNotification:pr().default(!0)}),bRn=R({name:f().optional(),coverImageKey:f().optional(),enableNotification:pr().optional()}),zkt=R({id:f(),name:f(),teamId:f(),rootFolder:f().optional(),coverImage:f().optional(),coverImageKey:f().optional(),enableNotification:pr(),updatedAt:Ca([f(),oi()])}),zRn=R({sortBy:f().optional(),sortDirection:Ke(["asc","desc"]).optional(),previewFormat:Pj.optional()}).merge(Is),SRn=R({previewFormat:Pj.optional()}).merge(Is),LRn=R({data:X(zkt),pageInfo:gz}),kRn=R({teamId:f()}),CRn=R({id:f(),name:f(),role:Ke(["owner","editor","reviewer","bot","unknown"]),type:bo(Ij).optional(),image:f().optional(),scope:Ke(["team","project"]).optional(),hasCustomRole:pr().optional()}),IRn=R({assetType:XW.optional().default("all"),sort:Ke(["createdAt","name","size"]).optional(),order:Ke(["asc","desc"]).optional()}).merge(Is),RRn=R({role:Ke(["editor","reviewer"])}),PRn=R({userId:f(),role:Ke(["owner","editor","reviewer"])}),TRn=R({id:f(),name:f(),role:Ke(["owner","editor","reviewer","bot","unknown"]),image:f().optional()});var fu=["openai-completions","mistral-conversations","openai-responses","azure-openai-responses","openai-codex-responses","anthropic-messages","bedrock-converse-stream","google-generative-ai","google-vertex"],Aj=R({api:Ke(fu).optional(),reasoning:pr().default(!1),input:X(Ke(["text","image"])).default(["text"]),contextWindow:Wt().int().positive().default(128000),maxTokens:Wt().int().positive().default(4096),cost:R({input:Wt().nonnegative().default(0),output:Wt().nonnegative().default(0),cacheRead:Wt().nonnegative().default(0),cacheWrite:Wt().nonnegative().default(0)})}),rG=R({id:f().optional(),modelId:f().min(1,"Model ID is required"),name:f().min(0).default(""),config:Aj}),ia=R({baseUrl:f().url("Must be a valid URL").optional().or(Cs("")),apiKey:f().optional().or(Cs("")),api:Ke(fu),headers:ok(f(),f()).optional(),authHeader:pr().optional()}),DRn=R({name:f().min(1,"Provider name is required"),config:ia,models:X(rG).default([])}),ORn=R({name:f().min(1,"Provider name is required").optional(),config:ia,models:X(rG).optional()}),WA=R({modelId:f().min(1,"Model ID is required"),name:f().min(0).default(""),config:Aj}),NRn=R({modelId:f().min(1,"Model ID is required").optional(),name:f().min(0).optional(),config:Aj.optional()}),FRn=R({id:f(),name:f(),isBuiltin:pr(),config:ia,models:X(rG).optional(),modelsCount:Wt().optional(),createdAt:oi(),updatedAt:oi()}),UMe=R({modelId:f().min(1),name:f().default(""),config:Aj}),Skt=R({name:f(),isNewProvider:pr(),config:ia,models:X(UMe)}),jRn=R({providers:X(Skt),totalNewProviders:Wt(),totalNewModels:Wt()}),BRn=R({providers:X(R({name:f(),isNewProvider:pr(),config:ia,models:X(UMe)}))}),URn=R({addedProviders:Wt(),addedModels:Wt()});var VRn=R({name:f().min(1),expireAt:f().datetime().optional(),password:f().optional(),isDisabled:pr().optional(),allowDownload:pr().optional(),defaultSortOrder:f().optional(),viewMode:f().optional()}),WRn=R({name:f().min(1).optional(),expireAt:f().datetime().optional().nullable(),password:f().optional().nullable(),isDisabled:pr().optional(),allowDownload:pr().optional(),defaultSortOrder:f().optional().nullable(),viewMode:f().optional().nullable(),fieldVisibility:ok(f(),pr()).optional().nullable()}),GRn=Is.extend({projectId:f().optional()}),KRn=R({assetIds:X(f().min(1)).min(1)});var JRn=R({assetId:f().optional(),githubUrl:f().optional(),override:pr().optional()}),$Rn=R({config:R({environmentVariables:X(R({name:f(),default:f().optional()}))})}),ePn=R({permission:Ke(["owner","editor","reviewer"])});var nPn=R({name:f()}),Lkt=R({id:f(),name:f(),rootFolder:f().optional(),updatedAt:Ca([f(),oi()])});var iPn=R({data:X(Lkt),pageInfo:gz}),fPn=R({teamId:f(),userId:f()}),sPn=R({id:f(),name:f(),email:f().optional(),role:Ke(["owner","editor","reviewer","bot","unknown"]),image:f().optional(),unreadNotificationCount:Wt().optional()}),lPn=R({name:f().optional(),imageKey:f().nullable().optional()}),cPn=R({id:f(),name:f(),role:Ke(["owner","editor","reviewer","bot","unknown"]),email:f().optional(),type:bo(Ij).optional(),image:f().optional(),scope:bo(kMe).optional()}),uPn=R({includeAgents:f().optional().transform((e)=>e==="true")}),Ks={best_match:"best_match",multi:"multi",all:"all"},kkt={r480p:"480p",r720p:"720p",r1080p:"1080p",r1440p:"1440p",r2160p:"2160p"},YA=["480p","720p","1080p","1440p","2160p"],$a={off:"off",auto:"auto"},Ckt={r480p:"480p",r720p:"720p",r1080p:"1080p",r1440p:"1440p",r2160p:"2160p"},JA=["480p","720p","1080p"],dPn=Ca([R({key:Cs("transcode.videoStrategy"),value:bo(Ks)}),R({key:Cs("transcode.videoResolutions"),value:X(bo(kkt))}),R({key:Cs("transcode.hardwareAcceleration"),value:bo($a)}),R({key:Cs("transcode.threads"),value:Wt().int().min(0).max(32)}),R({key:Cs("transcode.hlsEnabled"),value:pr()}),R({key:Cs("transcode.hlsResolutions"),value:X(bo(Ckt))}),R({key:Cs("appearance.hideAgent"),value:pr()})]),ZPn=R({url:f().optional(),username:f().optional(),hasPassword:pr(),isEnvConfigured:pr()}),pPn=R({url:f().optional(),username:f().optional(),password:f().optional()}),mPn=R({url:f().optional(),username:f().optional(),hasPassword:pr(),isEnvConfigured:pr()}),hPn=R({url:f().optional(),username:f().optional(),password:f().optional()}),gPn=R({networkSandboxEnabled:pr(),allowedDomains:X(f()),pendingDomains:X(f()).default([])}),MPn=R({networkSandboxEnabled:pr().optional(),allowedDomains:X(f()).optional(),pendingDomains:X(f()).optional()}),xPn=R({role:Ke(["editor","reviewer"])});var YMe=WW(()=>R({name:f(),id:f(),size:Wt(),children:X(YMe),type:f(),mediaType:f().optional()})),yPn=R({parentId:f(),files:X(YMe)}),Ikt=R({id:f(),fileId:f(),url:f()}),bPn=R({taskId:f(),presignedUrls:X(Ikt),storageBackend:Ke(["s3","local"]).default("local"),createdAssets:X(R({tempId:f(),assetId:f(),key:f().optional()})).optional()}),wPn=R({key:f().min(1),method:Ke(["PUT","POST","GET","DELETE"]),uploadId:f().optional(),partNumber:Wt().int().positive().optional(),fileId:f().min(1)}),zPn=R({url:f()}),SPn=R({fileId:f().min(1),uploadId:f().optional(),key:f().optional()}),LPn=R({success:pr()}),kPn=R({fileId:f(),errorMessage:f().optional()}),CPn=R({id:f(),name:f(),total:Wt(),uploaded:Wt(),createdAt:f()}),IPn=R({bucket:f(),key:f(),Signature:f()}),RPn=R({file:SMe(File)});var Rkt=R({key:f(),value:Rc()}),APn=R({value:Rc()}),EPn=X(Rkt);var NPn=R({fileIds:X(f())}),FPn=R({fileId:f(),beforeId:f()}),jPn=R({id:f(),version:Wt(),name:f().optional().nullable(),previewUrl:f().optional().nullable(),createdAt:f().optional().nullable(),creator:R({id:f(),name:f().nullable(),image:f().optional().nullable()}).nullable().optional(),agent:R({id:f(),name:f()}).nullable().optional()});var YPn=R({agentId:f(),textPrompt:f().optional(),attachedFiles:X(f()).optional(),assetIds:X(f()).optional(),sessionId:f().optional(),contextAssetId:f().optional(),projectId:f().optional(),second:Wt().nullable().optional(),annotations:X(ok(f(),Rc())).optional()}).superRefine((e,r)=>{let a=e.textPrompt&&e.textPrompt.trim().length>0,i=e.attachedFiles&&e.attachedFiles.length>0,s=e.assetIds&&e.assetIds.length>0,l=e.annotations&&e.annotations.length>0;if(!a&&!i&&!s&&!l)r.addIssue({code:ao.custom,message:"At least one of textPrompt, attachedFiles, assetIds, or annotations must be provided.",path:["textPrompt"]})}),qPn=R({id:f(),agentId:f(),userId:f().nullable(),assetId:f().nullable(),userCommentId:f().nullable(),name:f().nullable().optional(),createdAt:f(),updatedAt:f()}),Pkt=R({id:f(),name:f(),type:f(),mediaType:Ke(["image","video","pdf","audio","3d","other"]).optional(),mimeType:f().optional(),parentId:f().optional(),path:f().optional(),durationSeconds:Wt().optional(),totalFrames:Wt().optional(),totalPages:Wt().optional(),navigated:pr().optional(),ancestors:X(R({id:f(),name:f()})).optional()}),qMe=R({id:f(),name:f(),type:f(),mediaType:Ke(["image","video","pdf","audio","3d","other"]).optional(),mimeType:f().optional(),path:f().optional(),url:f().optional()}),Tkt=vMe("type",[R({type:Cs("time"),seconds:Wt()}),R({type:Cs("page"),page:Wt()}),R({type:Cs("degree"),degree:Wt().int()})]),Akt=R({id:f(),replyCount:Wt().optional()}),HPn=R({id:f().optional(),user:R({id:f(),name:f(),role:f()}).optional(),thread:Akt.optional(),currentAsset:Pkt.optional(),position:Tkt.optional(),annotation:pr().optional(),annotations:X(ok(f(),Rc())).optional(),attachedFiles:X(qMe).optional(),referencedAssets:X(qMe).optional()}),VPn=_Me(R({id:f()}),Rc());var zl;(($e)=>{$e.team_create="team_create";$e.team_update="team_update";$e.team_delete="team_delete";$e.team_member_add="team_member_add";$e.team_member_update="team_member_update";$e.team_member_remove="team_member_remove";$e.project_create="project_create";$e.project_update="project_update";$e.project_delete="project_delete";$e.project_empty_trash="project_empty_trash";$e.project_member_add="project_member_add";$e.project_member_update="project_member_update";$e.project_member_remove="project_member_remove";$e.file_create="file_create";$e.file_update="file_update";$e.file_delete="file_delete";$e.folder_create="folder_create";$e.folder_update="folder_update";$e.folder_delete="folder_delete";$e.asset_reparent="asset_reparent";$e.asset_copy="asset_copy";$e.share_create="share_create";$e.share_update="share_update";$e.share_delete="share_delete";$e.agent_create="agent_create";$e.agent_update="agent_update";$e.agent_delete="agent_delete";$e.skill_create="skill_create";$e.skill_update="skill_update";$e.skill_delete="skill_delete";$e.mcp_server_create="mcp_server_create";$e.mcp_server_update="mcp_server_update";$e.mcp_server_delete="mcp_server_delete";$e.provider_create="provider_create";$e.provider_update="provider_update";$e.provider_delete="provider_delete";$e.invite_create="invite_create";$e.invite_revoke="invite_revoke";$e.metadata_field_create="metadata_field_create";$e.metadata_field_update="metadata_field_update";$e.metadata_field_delete="metadata_field_delete";$e.comment_create="comment_create";$e.comment_update="comment_update";$e.comment_delete="comment_delete";$e.comment_complete="comment_complete";$e.quota_rule_create="quota_rule_create";$e.quota_rule_update="quota_rule_update";$e.quota_rule_delete="quota_rule_delete";$e.quota_record_reset="quota_record_reset";$e.quota_policy_create="quota_policy_create";$e.quota_policy_update="quota_policy_update";$e.quota_policy_delete="quota_policy_delete";$e.kanban_goal_create="kanban_goal_create";$e.kanban_goal_update="kanban_goal_update";$e.kanban_goal_delete="kanban_goal_delete";$e.kanban_task_create="kanban_task_create";$e.kanban_task_update="kanban_task_update";$e.kanban_task_delete="kanban_task_delete";$e.kanban_comment_create="kanban_comment_create";$e.kanban_comment_delete="kanban_comment_delete";$e.kanban_dependency_add="kanban_dependency_add";$e.kanban_dependency_remove="kanban_dependency_remove"})(zl||={});var Ekt=R({id:f(),action:bo(zl),teamId:f(),userId:f().nullable().optional(),agentId:f().nullable().optional(),agent:R({id:f(),name:f()}).nullable().optional(),projectId:f().nullable().optional(),itemId:f().nullable().optional(),createdAt:f()}),KPn=R({first:SP.number().optional(),after:f().optional(),actions:Ca([bo(zl),X(bo(zl))]).transform((e)=>Array.isArray(e)?e:[e]).optional(),userIds:Ca([f(),X(f())]).transform((e)=>Array.isArray(e)?e:[e]).optional(),agentIds:Ca([f(),X(f())]).transform((e)=>Array.isArray(e)?e:[e]).optional(),itemId:f().optional()}),XPn=R({nodes:X(Ekt),pageInfo:R({hasNextPage:pr(),endCursor:f().nullable()}),total:Wt()});var Dkt=R({id:f(),type:Cs("text"),x:Wt().min(0).max(1),y:Wt().min(0).max(1),opacity:Wt().min(0).max(1),rotation:Wt().min(-180).max(180),text:f(),size:Wt().positive().max(1),color:f()}),Okt=R({id:f(),type:Cs("image"),x:Wt().min(0).max(1),y:Wt().min(0).max(1),opacity:Wt().min(0).max(1),rotation:Wt().min(-180).max(180),imageAssetKey:f().min(1),imageAssetUrl:f().optional(),size:Wt().positive().max(1)}),Nkt=vMe("type",[Dkt,Okt]),oG=R({blocks:X(Nkt)}),$Pn=R({name:f().min(1),teamId:f().optional(),config:oG}),eTn=R({name:f().min(1).optional(),config:oG.optional()}),tTn=R({enabled:pr(),config:oG.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 aG=bo(CMe),nG=Ke(["1hour","5hour","1day","7day","one_hour","five_hours","one_day","seven_days"]);function pu(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 iG=bo(IMe),fG=Ke(["owner","editor","reviewer"]),HMe=R({id:f().min(1,"MCP server ID is required")}),VMe=R({match:f().min(1,"Bash match wildcard is required")}),WMe=R({name:f().min(1,"Tool name is required")}),sG=ok(f(),Rc()),Fkt=R({id:f().nullable(),ruleId:f(),teamId:f(),userId:f().nullable().optional(),user:R({id:f(),name:f(),email:f(),image:f().nullable().optional()}).nullable().optional(),periodStart:f().nullable().optional(),periodEnd:f().nullable().optional(),consumed:Wt(),remaining:Wt(),percent:Wt(),isWindowActive:pr()}),iTn=R({records:X(Fkt),total:Wt()}),jkt=R({id:f(),teamId:f(),scopeMode:aG,role:fG.nullable().optional(),userIds:X(f()).nullable().optional(),resource:iG,resourceData:sG.nullable().optional(),limit:Wt(),period:nG,enabled:pr(),recordsCount:Wt().optional(),createdAt:f(),updatedAt:f()}),fTn=R({rules:X(jkt),total:Wt()}),sTn=R({scopeMode:aG,role:fG.optional().nullable(),userIds:X(f()).optional().nullable(),resource:iG,resourceData:sG.optional().nullable(),limit:Wt().positive("Limit must be greater than 0"),period:nG,enabled:pr().optional().default(!0)}).superRefine((e,r)=>{if(e.scopeMode==="selected_members"){if(!e.userIds||e.userIds.length===0)r.addIssue({code:ao.custom,message:'userIds must contain at least one user when scopeMode is "selected_members"',path:["userIds"]})}if(e.resource==="agent_mcp_call_count"){if(!HMe.safeParse(e.resourceData).success)r.addIssue({code:ao.custom,message:"resourceData.id is required for agent_mcp_call_count",path:["resourceData","id"]})}else if(e.resource==="agent_bash_call_count"){if(!VMe.safeParse(e.resourceData).success)r.addIssue({code:ao.custom,message:"resourceData.match is required for agent_bash_call_count",path:["resourceData","match"]})}else if(e.resource==="agent_tool_call_count"){if(!WMe.safeParse(e.resourceData).success)r.addIssue({code:ao.custom,message:"resourceData.name is required for agent_tool_call_count",path:["resourceData","name"]})}}),lTn=R({userId:f().nullable()}),cTn=R({scopeMode:aG.optional(),role:fG.optional().nullable(),userIds:X(f()).optional().nullable(),resource:iG.optional(),resourceData:sG.optional().nullable(),limit:Wt().positive("Limit must be greater than 0").optional(),period:nG.optional(),enabled:pr().optional()}).superRefine((e,r)=>{if(e.scopeMode==="selected_members"&&e.userIds!==void 0){if(!e.userIds||e.userIds.length===0)r.addIssue({code:ao.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(!HMe.safeParse(e.resourceData).success)r.addIssue({code:ao.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(!VMe.safeParse(e.resourceData).success)r.addIssue({code:ao.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(!WMe.safeParse(e.resourceData).success)r.addIssue({code:ao.custom,message:"resourceData.name is required for agent_tool_call_count",path:["resourceData","name"]})}});var Si="unassigned",ZTn=R({title:f().min(1),description:f().optional()}),pTn=R({title:f().min(1).optional(),description:f().nullable().optional()}),Bkt=R({id:f(),title:f(),description:f().nullable().optional(),teamId:f(),creatorId:f().nullable().optional(),taskCount:Wt().optional(),createdAt:Ca([f(),oi()]),updatedAt:Ca([f(),oi()])}),mTn=R({}),hTn=R({data:X(Bkt)});var GM=R({id:f(),name:f(),image:f().optional()}),Ukt=R({summary:f().optional(),blockReason:f().optional(),blockKind:f().optional(),reason:f().optional(),assets:X(R({id:f(),type:f().optional(),name:f().optional(),description:f().optional()})).optional()}).passthrough(),lG=R({id:f(),taskId:f(),actor:GM.nullable().optional(),type:bo(bf),fromStatus:bo(We).nullable().optional(),toStatus:bo(We).nullable().optional(),data:Ukt.nullable().optional(),createdAt:Ca([f(),oi()])}),vTn=R({data:X(lG)});var Ykt=R({id:f(),name:f(),key:f(),sizeByte:Wt(),contentType:f().nullable().optional(),proxyType:Ke(["image","video","audio","pdf","3d"]).nullable().optional()}),qkt=R({id:f(),name:f(),sizeByte:Wt(),contentType:f().nullable().optional(),url:f(),proxyType:Ke(["image","video","audio","pdf","3d"]).nullable().optional()}),wTn=R({id:f(),name:f(),key:f(),sizeByte:Wt(),contentType:f().nullable().optional(),uploadUrl:f(),proxyType:Ke(["image","video","audio","pdf","3d"]).nullable().optional()}),zTn=R({body:f().default(""),attachments:X(Ykt).optional()}).refine((e)=>e.body.trim().length>0||e.attachments&&e.attachments.length>0,{message:"Comment body or attachments required"}),cG=R({id:f(),taskId:f(),author:GM,body:f(),attachments:X(qkt).default([]),createdAt:Ca([f(),oi()]),updatedAt:Ca([f(),oi()])}),STn=R({data:X(cG)});var TTn=R({title:f().min(1),description:f().optional(),isAgentTask:pr().optional(),priority:bo($r).optional(),startDate:Ca([f(),oi()]).optional(),dueDate:Ca([f(),oi()]).optional(),goalId:f().optional(),projectId:f().optional(),reporterId:f().optional(),assigneeId:f().optional(),targetFolderId:f().optional(),parentIds:X(f()).optional(),assetIds:X(f()).optional()}),ATn=R({fromStatus:bo(We).optional(),title:f().min(1).optional(),description:f().nullable().optional(),status:bo(We).optional(),reason:f().optional(),priority:bo($r).optional(),startDate:Ca([f(),oi()]).nullable().optional(),dueDate:Ca([f(),oi()]).nullable().optional(),goalId:f().nullable().optional(),projectId:f().nullable().optional(),reporterId:f().nullable().optional(),assigneeId:f().nullable().optional(),targetFolderId:f().nullable().optional(),beforeIndex:f().optional(),afterIndex:f().optional(),parentIds:X(f()).optional(),assetIds:X(f()).optional()}),ETn=R({status:bo(We).optional(),isAgentTask:Ca([pr(),f()]).transform((e)=>e===!0||e==="true").optional(),goalId:f().optional(),projectId:f().optional(),priority:bo($r).optional(),assigneeId:f().optional(),reporterId:f().optional()}).merge(Is),Hkt=R({id:f(),type:bo(bf),actor:GM.nullable().optional(),summary:f().optional(),blockReason:f().optional(),blockKind:f().optional(),reason:f().optional(),createdAt:Ca([f(),oi()])}),Vkt=R({id:f(),title:f()}),GMe=R({id:f(),title:f(),isAgentTask:pr(),status:bo(We),priority:bo($r),sortIndex:f().nullable().optional()}),Wkt=R({id:f(),name:f(),type:f(),proxyType:Ke(["image","video","audio","pdf","3d"]).nullable().optional(),thumbnailUrl:f().nullable().optional(),path:f(),creator:GM.nullable().optional(),sizeByte:Wt().optional(),fileCount:Wt().optional(),projectId:f().nullable().optional(),createdAt:Ca([f(),oi()])}),uG=R({id:f(),title:f(),description:f().nullable().optional(),isAgentTask:pr(),status:bo(We),priority:bo($r),startDate:Ca([f(),oi()]).nullable().optional(),dueDate:Ca([f(),oi()]).nullable().optional(),startedAt:Ca([f(),oi()]).nullable().optional(),completedAt:Ca([f(),oi()]).nullable().optional(),teamId:f(),projectId:f().nullable().optional(),sortIndex:f().nullable().optional(),creator:GM,reporter:GM.nullable().optional(),assignee:GM.nullable().optional(),goal:Vkt.nullable().optional(),targetFolderId:f().nullable().optional(),latestStatusEvent:Hkt.nullable().optional(),commentCount:Wt().default(0),dependencyCount:Wt().default(0),dependentCount:Wt().default(0),assetCount:Wt().default(0),createdAt:Ca([f(),oi()]),updatedAt:Ca([f(),oi()])}),DTn=uG.extend({dependencies:X(GMe),dependents:X(GMe),assets:X(Wkt),comments:X(cG),events:X(lG)}),OTn=R({data:X(uG),pageInfo:gz}),NTn=R({taskId:f()}),FTn=R({assetIds:X(f())}),jTn=R({data:X(uG),total:Wt()});var KTn=R({assetId:f()});function KMe(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Aa(e,r){if(r===void 0||r===null)return"";return` ${e}="${KMe(r)}"`}function XA(e){if(!e)return"";let r=[];if(e.user){let a="";if(e.user.id!==void 0)a+=Aa("id",e.user.id);if(e.user.name!==void 0)a+=Aa("name",e.user.name);if(e.user.role!==void 0)a+=Aa("role",e.user.role);if(a)r.push(` <user${a} />`)}if(e.thread){let a="";if(e.thread.id!==void 0)a+=Aa("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+=Aa("id",a.id);if(a.name!==void 0)i+=Aa("name",a.name);if(a.type!==void 0)i+=Aa("type",a.type);if(a.mediaType!==void 0)i+=Aa("media_type",a.mediaType);if(a.mimeType!==void 0)i+=Aa("mime_type",a.mimeType);if(a.parentId!==void 0)i+=Aa("parent_id",a.parentId);if(a.path!==void 0)i+=Aa("path",a.path);if(a.durationSeconds!==void 0)i+=` duration_seconds="${a.durationSeconds.toFixed(2)}"`;if(a.totalFrames!==void 0)i+=` total_frames="${Math.round(a.totalFrames)}"`;if(a.totalPages!==void 0)i+=` total_pages="${Math.round(a.totalPages)}"`;if(a.navigated!==void 0)i+=` navigated="${String(a.navigated)}"`;if(a.ancestors&&a.ancestors.length>0){r.push(` <current_asset${i}>`),r.push(" <ancestors>");for(let s of a.ancestors){let l="";if(s.id!==void 0)l+=Aa("id",s.id);if(s.name!==void 0)l+=Aa("name",s.name);r.push(` <folder${l} />`)}r.push(" </ancestors>"),r.push(" </current_asset>")}else r.push(` <current_asset${i} />`)}if(e.position){if(e.position.type==="time")r.push(` <position type="time" seconds="${e.position.seconds.toFixed(4)}" />`);else if(e.position.type==="page")r.push(` <position type="page" page="${Math.round(e.position.page)}" />`);else if(e.position.type==="degree")r.push(` <position type="degree" degree="${Math.round(e.position.degree)}" />`)}if(e.annotation)if(e.id!==void 0)r.push(` <annotation id="${KMe(e.id)}" />`);else r.push(" <annotation />");if(e.attachedFiles&&e.attachedFiles.length>0){let a=[...e.attachedFiles].sort((i,s)=>i.id.localeCompare(s.id));r.push(" <attached_files>");for(let i of a){let s="";if(i.id!==void 0)s+=Aa("id",i.id);if(i.name!==void 0)s+=Aa("name",i.name);if(i.type!==void 0)s+=Aa("type",i.type);if(i.mediaType!==void 0)s+=Aa("media_type",i.mediaType);if(i.mimeType!==void 0)s+=Aa("mime_type",i.mimeType);if(i.path!==void 0)s+=Aa("path",i.path);r.push(` <file${s} />`)}r.push(" </attached_files>")}if(e.referencedAssets&&e.referencedAssets.length>0){let a=[...e.referencedAssets].sort((i,s)=>i.id.localeCompare(s.id));r.push(" <referenced_assets>");for(let i of a)if(i.type==="folder"){let s="";if(i.id!==void 0)s+=Aa("id",i.id);if(i.name!==void 0)s+=Aa("name",i.name);if(i.path!==void 0)s+=Aa("path",i.path);r.push(` <folder${s} />`)}else{let s="";if(i.id!==void 0)s+=Aa("id",i.id);if(i.name!==void 0)s+=Aa("name",i.name);if(i.type!==void 0)s+=Aa("type",i.type);if(i.mediaType!==void 0)s+=Aa("media_type",i.mediaType);if(i.mimeType!==void 0)s+=Aa("mime_type",i.mimeType);if(i.path!==void 0)s+=Aa("path",i.path);r.push(` <asset${s} />`)}r.push(" </referenced_assets>")}if(r.length===0)return"";return`<context>
|
|
196
|
-
${r.join(`
|
|
197
|
-
`)}
|
|
198
|
-
</context>`}var LP=Ke(["image","video"]),Gkt=Ke(["configured_custom","configured_env","not_configured"]),$Tn=R({apiKey:f().optional().or(Cs("")),models:X(R({type:LP,modelId:f().min(1,"Model ID is required"),name:f().optional()})).optional()});var eAn=R({type:LP,provider:f().min(1,"Provider is required"),modelId:f().min(1,"Model ID is required"),name:f().optional()}),Kkt=R({id:f(),type:LP,provider:f(),modelId:f(),name:f(),createdAt:f()}),Xkt=R({provider:f(),defaultEnvKey:f(),apiKeyConfigured:pr(),status:Gkt,customApiKeyOrEnv:f().optional(),supportedTypes:X(LP)}),tAn=R({providers:X(Xkt),enabledModels:X(Kkt)}),rAn=R({modelId:f(),name:f(),type:LP}),oAn=R({provider:f().optional(),type:LP.optional()});var fAn=bo(qa),sAn=bo(Ha),dG=R({id:f(),uid:f(),teamId:f().nullable().optional(),projectId:f().nullable().optional(),projectName:f().nullable().optional(),assetId:f(),fileName:f().nullable().optional(),fileSize:Wt().nullable().optional(),type:bo(qa).nullable().optional(),status:bo(Ha).nullable().optional(),payload:Rc().optional(),output:Rc().optional(),heartbeat:f().nullable().optional(),inputTokens:Wt(),outputTokens:Wt(),model:f().nullable().optional(),sessionId:f().nullable().optional(),createdAt:f(),updatedAt:f()}),lAn=R({first:SP.number().optional(),after:f().optional(),status:Ca([bo(Ha),X(bo(Ha))]).transform((e)=>Array.isArray(e)?e:[e]).optional(),types:Ca([bo(qa),X(bo(qa))]).transform((e)=>Array.isArray(e)?e:[e]).optional()}),cAn=R({nodes:X(dG),pageInfo:R({hasNextPage:pr(),endCursor:f().nullable()}),total:Wt()}),uAn=R({taskIds:X(f()).max(100)}),dAn=R({tasks:X(dG)}),ZAn=R({success:pr(),task:dG});var XMe=86400000,Fr=(e)=>{let r=qM(e),a=new Date;if(isNaN(r.getTime()))return e;let i=yr(r,"HH:mm");if(BO(r))return P8t({time:i});if(UO(r))return yyt({time:i});let s=GV(a,r),l=s>=0?s:0;return l===1?cce({count:l}):lce({count:l})},e0=(e)=>{let r=qM(e),a=new Date;if(isNaN(r.getTime()))return e;if(BO(r))return pce();if(UO(r))return mce();let i=GV(a,r),s=i>=0?i:0;return s===1?cce({count:s}):lce({count:s})},dm=(e,r=new Date)=>{let a=typeof e==="string"?qM(e).getTime():e instanceof Date?e.getTime():NaN;if(isNaN(a))return"< 1m";let i=a-r.getTime();if(i<=0)return"< 1m";let s=Math.floor(i/1000),l=Math.floor(s/86400),c=Math.floor(s%86400/3600),d=Math.floor(s%3600/60);if(l>0)return c>0?`${l}d ${c}h`:`${l}d`;if(c>0)return d>0?`${c}h ${d}m`:`${c}h`;return d>0?`${d}m`:"< 1m"},tf=(e,r=new Date)=>{if(!e)return null;let a=qM(e);if(isNaN(a.getTime()))return null;let i=a.getTime()+EMe*XMe;return Math.max(0,Math.ceil((i-r.getTime())/XMe))};E();var oN=10,pG=10,ZG=oN*pG,rf=({spriteUrl:e,thumbnailUrl:r,videoWidth:a,videoHeight:i,className:s="",reverse:l=!1})=>{let c=_(null),[d,h]=u({width:0,height:0}),[x,v]=u({width:0,height:0}),[y,k]=u(!1),[b,T]=u(!1),[D,U]=u(!1),[A,j]=u(0),[V,J]=u(0);m(()=>{if(!c.current)return;let be=new ResizeObserver((Qe)=>{for(let Ye of Qe)h({width:Ye.contentRect.width,height:Ye.contentRect.height})});return be.observe(c.current),()=>be.disconnect()},[]);let ee=P(()=>{if(b||D)return;U(!0);let be=new Image;be.src=e,be.onload=()=>{v({width:be.naturalWidth,height:be.naturalHeight}),T(!0),U(!1)},be.onerror=()=>{console.error("Failed to load sprite image"),U(!1)}},[e,b,D]),te=()=>{k(!0),ee()},re=()=>{k(!1)},ae=(be)=>{if(!c.current)return;let Qe=c.current.getBoundingClientRect(),Ye=be.clientX-Qe.left,Se=Math.max(0,Math.min(Ye,Qe.width));J(Se);let Ge=Se/Qe.width,rt=Math.min(Math.floor(Ge*ZG),ZG-1),tt=l?ZG-1-rt:rt;j(tt)},he=N(()=>{if(d.width===0||d.height===0)return{};let be=a/i;if(x.width>0&&x.height>0){let Ht=x.width/oN,Oe=x.height/pG;be=Ht/Oe}let Qe=d.width/d.height,Ye,Se;if(Qe>be)Se=d.height,Ye=Se*be;else Ye=d.width,Se=Ye/be;let Ge=Math.ceil(Ye),rt=Math.ceil(Se),tt=Ge*oN,bt=rt*pG,jt=A%oN,qt=Math.floor(A/oN),se=-(jt*Ge),St=-(qt*rt);return{backgroundImage:`url(${e})`,backgroundSize:`${tt}px ${bt}px`,backgroundPosition:`${se}px ${St}px`,backgroundRepeat:"no-repeat",width:`${Ge}px`,height:`${rt}px`,imageRendering:"auto"}},[d,a,i,A,e,x]);return o("div",{ref:c,"data-testid":"sprite-scrubber","data-frame":A,className:`relative w-full h-full overflow-hidden cursor-pointer group bg-black select-none ${s}`,onMouseEnter:te,onMouseLeave:re,onMouseMove:ae,children:[t("img",{src:r,alt:"Thumbnail",className:`absolute inset-0 w-full h-full object-contain transition-opacity duration-200 ${y&&b?"opacity-0":"opacity-100"}`,draggable:!1}),y&&!b&&t("div",{className:"absolute inset-0 flex items-center justify-center bg-black/50 z-10",children:t("div",{className:"w-6 h-6 border-2 border-white/30 border-t-white rounded-full animate-spin"})}),b&&t("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-75 ${y?"opacity-100":"opacity-0"}`,children:t("div",{style:he})}),y&&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(${V}px)`}})]})};E();var sl=(e,r)=>{let a=new RegExp(`(${Object.keys(r).map((i)=>`\\{${i}\\}`).join("|")})`,"g");return t("span",{children:e.split(a).map((i,s)=>{let l=i.match(/^\{(.+)\}$/);if(l&&r[l[1]])return t(Dn,{children:r[l[1]]},s);return i})})},QMe=({notification:e})=>{let r=Pe(),{creator:a,createdAt:i,isRead:s,type:l,asset:c,project:d,team:h,user:x,kanbanTask:v}=e,y=(()=>{let D=a?.name||Bl(),U=c?.name||$xt(),A=v?.title||svt(),j=d?.name||nvt(),V=h?.name||uvt(),J=x?.name||Bl(),ee={creator:t("span",{className:"font-semibold",children:D}),asset:t("span",{className:"font-semibold",children:U}),task:t("span",{className:"font-semibold",children:A}),project:t("span",{className:"font-semibold",children:j}),team:t("span",{className:"font-semibold",children:V}),user:t("span",{className:"font-semibold",children:J})};switch(l){case"comment_created":return sl(Prt({creator:"{creator}",asset:"{asset}"}),ee);case"reply_created":return sl(pot({creator:"{creator}",asset:"{asset}"}),ee);case"mention":return sl(v?uot({creator:"{creator}",task:"{task}"}):sot({creator:"{creator}",asset:"{asset}"}),ee);case"successful_file_uploaded":return sl(wot({creator:"{creator}",asset:"{asset}",project:"{project}"}),ee);case"metadata_field_updated_status":return sl(_ot({creator:"{creator}",asset:"{asset}"}),ee);case"new_user_join_team":return sl(Brt({user:"{user}",team:"{team}"}),ee);case"new_user_join_project":return sl(Nrt({user:"{user}",project:"{project}"}),ee);case"kanban_task_created":return sl(Xrt({creator:"{creator}",task:"{task}"}),ee);case"kanban_task_assigned":return sl(qrt({creator:"{creator}",task:"{task}"}),ee);case"kanban_task_status_updated":return sl(rot({creator:"{creator}",task:"{task}"}),ee);case"kanban_task_updated":return sl(not({creator:"{creator}",task:"{task}"}),ee);case"kanban_task_deleted":return sl($rt({creator:"{creator}",task:"{task}"}),ee);case"kanban_task_comment_created":return sl(Wrt({creator:"{creator}",task:"{task}"}),ee);default:return sl(Ert({creator:"{creator}"}),ee)}})(),k=c?.proxyType==="video"&&c.preview&&c.thumbnailUrl&&c.originalWidth&&c.originalHeight,b=c?.preview&&(c.proxyType==="image"||c.proxyType==="video");return o("div",{onClick:()=>{if(v?.id&&h?.id)r({to:"/teams/$teamId/kanban",params:{teamId:h.id},search:{taskId:v.id}});else if(d?.id&&c?.id)r({to:"/projects/$projectId/files/$fileId",params:{projectId:d.id,fileId:c.id}})},className:"flex py-2 cursor-pointer group border border-transparent items-center justify-center hover:bg-muted/50 rounded-md px-1 transition-colors",children:[t("div",{className:C("w-1.5 h-1.5 rounded-full shadow-xs",s?"bg-transparent":"bg-destructive")}),o("div",{className:"flex-1 min-w-0 flex flex-col justify-center pl-2",children:[t("div",{className:"text-sm text-foreground break-all leading-snug",children:y}),t("div",{className:"text-[11px] text-muted-foreground mt-1",children:Fr(i||"")})]}),b&&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:k?t(rf,{spriteUrl:c.preview,thumbnailUrl:c.thumbnailUrl,videoWidth:c.originalWidth,videoHeight:c.originalHeight}):t("img",{src:c.preview,alt:c.name,className:"w-full h-full object-cover"})})]})};function Ln({className:e,orientation:r="horizontal",...a}){return t(HTe,{"data-slot":"tabs","data-orientation":r,orientation:r,className:C("group/tabs flex gap-2 data-[orientation=horizontal]:flex-col",e),...a})}var Qkt=gs("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 Zn({className:e,variant:r="default",...a}){return t(VTe,{"data-slot":"tabs-list","data-variant":r,className:C(Qkt({variant:r}),e),...a})}function Tr({className:e,...r}){return t(WTe,{"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 Gr({className:e,...r}){return t(GTe,{"data-slot":"tabs-content",className:C("flex-1 outline-none",e),...r})}E();var JMe=()=>{let{teamId:e}=gt(),[r,a]=u("all"),i=G(),{ref:s,inView:l}=Nt(),c=(A,j)=>["notifications",A,{unreadOnly:j}],{data:d,fetchNextPage:h,hasNextPage:x,isFetchingNextPage:v,isLoading:y,refetch:k}=pt({queryKey:c(e??null,r==="unread"),queryFn:async({pageParam:A})=>{let j=await g.api.teams[":teamId"].notifications.$get({param:{teamId:e},query:{unreadOnly:r==="unread"?"true":"false",...A?{after:A}:{},pageSize:"20"}});if(!j.ok)throw Error("failed to fetch notifications");return j.json()},initialPageParam:void 0,getNextPageParam:(A)=>A.pageInfo?.cursor||void 0,enabled:!!e});m(()=>{if(l&&x)h()},[l,x,h]);let b=N(()=>d?.pages.flatMap((A)=>A.data||[])||[],[d]);m(()=>{if(e)i.invalidateQueries({queryKey:["teams",e,"me"]})},[e,b.length,i]);let T=g.api.teams[":teamId"].notifications.read.$post,D=B({mutationFn:async({teamId:A,notificationId:j})=>{if(!(await T({param:{teamId:A},json:{notificationId:j}})).ok)throw Error("failed to mark read");return null}}),U=async()=>{if(b.length>0&&e){let A=b[0].id;if(A){i.setQueryData(["teams",e,"me"],(j)=>{if(!j)return j;return{...j,unreadNotificationCount:0}});try{await D.mutateAsync({teamId:e,notificationId:A})}catch(j){console.error("Failed to mark all as read:",j)}i.invalidateQueries({queryKey:["notifications",e]}),i.invalidateQueries({queryKey:["teams",e,"me"]}),k()}}};return o("div",{className:"flex flex-col h-full w-full bg-transparent",children:[t("div",{className:"flex-none pb-1",children:t(Ln,{value:r,onValueChange:(A)=>a(A),className:"w-full",children:o("div",{className:"flex items-center justify-between mb-2",children:[o(Zn,{className:"h-8",children:[t(Tr,{value:"all",className:"text-xs px-3 h-6",children:fNe()}),t(Tr,{value:"unread",className:"text-xs px-3 h-6",children:yvt()})]}),t(S,{variant:"ghost",size:"sm",className:"h-8 px-2 text-muted-foreground hover:text-foreground",onClick:U,disabled:b.length===0||D.isPending,title:SXe(),children:t(ZD,{className:"w-4 h-4"})})]})})}),o("div",{className:"flex-1 overflow-y-auto p-2 min-h-0",children:[y&&t("div",{className:"flex justify-center p-4",children:t(O,{className:"w-6 h-6 animate-spin text-muted-foreground"})}),!y&&b.length===0&&t("div",{className:"flex flex-col items-center justify-center h-40 text-muted-foreground",children:t("p",{className:"text-sm",children:Rtt()})}),t("div",{className:"space-y-1",children:b.map((A)=>t(QMe,{notification:A},A.id))}),t("div",{ref:s,className:"h-4 w-full flex justify-center p-1",children:v&&t(O,{className:"w-4 h-4 animate-spin text-muted-foreground"})})]})]})};var ak=null,mn=Nr((e)=>({projectState:null,setProjectState:(r)=>{if(ak)clearTimeout(ak),ak=null;e({projectState:r})},clearProjectState:()=>{if(ak)clearTimeout(ak);ak=setTimeout(()=>{e({projectState:null}),ak=null},10)}}));var Jkt=gs("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 ne({className:e,variant:r="default",asChild:a=!1,...i}){let s=a?yne:"span";return t(s,{"data-slot":"badge","data-variant":r,className:C(Jkt({variant:r}),e),...i})}var Ej={viewBox:"0 -960 960 960",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},$Me=(e)=>t("svg",{...Ej,...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"})}),e8e=(e)=>t("svg",{...Ej,...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"})}),t8e=(e)=>t("svg",{...Ej,...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"})}),r8e=(e)=>t("svg",{...Ej,...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"})}),o8e=(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"})]}),a8e=(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"})}),Ei=(e)=>o("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",focusable:"false",...e,children:[t("path",{d:"M10.77 10.377a1 1 0 0 0-.132.437l-.105 1.665a.5.5 0 0 0 .793.436l1.32-.96a1 1 0 0 0 .278-.309l3.912-6.775a1.25 1.25 0 1 0-2.165-1.25l-3.901 6.756Z",fill:"currentColor"}),t("path",{d:"M11.016 6.75a.758.758 0 0 1-.758.748c-2.938 0-4.882 1.71-5.517 3.95-.708 2.499.245 4.459 1.979 5.851 1.767 1.42 4.31 2.203 6.547 2.203.415 0 .749.335.745.748a.758.758 0 0 1-.758.748c-2.536 0-5.421-.873-7.485-2.531-2.098-1.686-3.38-4.225-2.475-7.414.818-2.883 3.354-5.051 6.977-5.051.415 0 .749.335.745.748Z",fill:"currentColor"}),t("path",{d:"M17.147 8.315a.767.767 0 0 1 1.058-.168c1.666 1.188 2.508 2.542 2.733 3.876a4.5 4.5 0 0 1-.805 3.392c-.919 1.434-2.714 2.074-4.479 2.185-1.799.113-3.78-.302-5.292-1.216a.733.733 0 0 1-.242-1.022.768.768 0 0 1 1.042-.246c1.216.734 2.881 1.096 4.409 1 1.553-.097 2.755-.647 3.292-1.5l.015-.022.015-.021a3.025 3.025 0 0 0 .553-2.294c-.148-.876-.72-1.915-2.137-2.926a.733.733 0 0 1-.162-1.038Z",fill:"currentColor"})]}),KM=(e)=>o("svg",{viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[t("defs",{children:t("clipPath",{id:"bg-clip",children:t("rect",{x:"5",y:"5",width:"90",height:"90",rx:"22"})})}),t("rect",{x:"5",y:"5",width:"90",height:"90",rx:"22",fill:"#D95A66"}),t("path",{d:"M 35 75 L 65 75 L 80 60 L 75 30 L 175 130 L 135 175 Z",fill:"#A8384D",clipPath:"url(#bg-clip)"}),t("path",{d:"M 25 30 Q 38 36 50 42 L 35 55 L 35 75 L 20 60 Z",fill:"#FDF0D5"}),t("path",{d:"M 50 42 Q 62 36 75 30 L 80 60 L 65 75 L 65 55 Z",fill:"#E77A65"}),t("path",{d:"M 35 75 L 65 75 L 65 55 L 50 42 L 35 55 Z",fill:"#F5B895"}),t("path",{d:"M 50 42 Q 38 36 25 30 Q 38 26 50 20 Q 62 26 75 30 Q 62 36 50 42 Z",fill:"#F4B8B8"}),t("path",{d:"M 50 25 L 42 30 L 50 35 Z",fill:"#E57A5F"}),t("path",{d:"M 50 25 L 58 30 L 50 35 Z",fill:"#C2523C"})]}),n8e=(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 i8e({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 f8e=({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"})}),s8e=(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"})});E();E();var{create:$kt,defineProperty:g8e,defineProperties:eCt,getOwnPropertyDescriptor:tCt,getOwnPropertyDescriptors:rCt,getOwnPropertySymbols:Bj}=Object,M8e=Object.prototype.hasOwnProperty,x8e=Object.prototype.propertyIsEnumerable,oCt=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),lN=(e)=>{throw TypeError(e)},MG=(e,r,a)=>(r in e)?g8e(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,mG=(e,r)=>{for(var a in r||(r={}))if(M8e.call(r,a))MG(e,a,r[a]);if(Bj){for(var a of Bj(r))if(x8e.call(r,a))MG(e,a,r[a])}return e},hG=(e,r)=>eCt(e,rCt(r)),aCt=(e,r)=>{var a={};for(var i in e)if(M8e.call(e,i)&&r.indexOf(i)<0)a[i]=e[i];if(e!=null&&Bj){for(var i of Bj(e))if(r.indexOf(i)<0&&x8e.call(e,i))a[i]=e[i]}return a},nCt=(e)=>{var r;return[,,,$kt((r=void 0)!=null?r:null)]},v8e=["class","method","getter","setter","accessor","field","value","get","set"],nN=(e)=>e!==void 0&&typeof e!=="function"?lN("Function expected"):e,iCt=(e,r,a,i,s)=>({kind:v8e[e],name:r,metadata:i,addInitializer:(l)=>a._?lN("Already initialized"):s.push(nN(l||null))}),fCt=(e,r)=>MG(r,oCt("metadata"),e[3]),Dj=(e,r,a,i)=>{for(var s=0,l=e[r>>1],c=l&&l.length;s<c;s++)r&1?l[s].call(a):i=l[s].call(a,i);return i},_8e=(e,r,a,i,s,l)=>{var c,d,h,x,v,y=r&7,k=!1,b=!1,T=e.length+1,D=v8e[y+5],U=e[T-1]=[],A=e[T]||(e[T]=[]),j=(s=s.prototype,tCt({get[a](){return iN(this,l)},set[a](J){return nk(this,l,J)}},a));for(var V=i.length-1;V>=0;V--)if(x=iCt(y,a,h={},e[3],A),x.static=k,x.private=b,v=x.access={has:(J)=>(a in J)},v.get=(J)=>J[a],v.set=(J,ee)=>J[a]=ee,d=(0,i[V])({get:j.get,set:j.set},x),h._=1,d===void 0)nN(d)&&(j[D]=d);else if(typeof d!=="object"||d===null)lN("Object expected");else nN(c=d.get)&&(j.get=c),nN(c=d.set)&&(j.set=c),nN(c=d.init)&&U.unshift(c);return j&&g8e(s,a,j),s},y8e=(e,r,a)=>r.has(e)||lN("Cannot "+a),iN=(e,r,a)=>(y8e(e,r,"read from private field"),r.get(e)),aN=(e,r,a)=>r.has(e)?lN("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),nk=(e,r,a,i)=>(y8e(e,r,"write to private field"),r.set(e,a),a);function lo(e){return e instanceof yG||e instanceof z8e}var Oj=10,sCt=class extends Hi{constructor(e){super(e);let r=Pi(()=>{let{dragOperation:i}=e;if(!UL(i.activatorEvent))return;if(!lo(i.source))return;if(i.status.initialized){let s=e.registry.plugins.get(dP);if(s)return s.disable(),()=>s.enable()}}),a=e.monitor.addEventListener("dragmove",(i,s)=>{queueMicrotask(()=>{if(this.disabled||i.defaultPrevented||!i.nativeEvent)return;let{dragOperation:l}=s;if(!UL(i.nativeEvent))return;if(!lo(l.source))return;if(!l.shape)return;let{actions:c,collisionObserver:d,registry:h}=s,{by:x}=i;if(!x)return;let v=lCt(x),{source:y,target:k}=l,{center:b}=l.shape.current,T=[],D=[];fa(()=>{for(let ee of h.droppables){let{id:te}=ee;if(!ee.accepts(y)||te===(k==null?void 0:k.id)&&lo(ee)||!ee.element)continue;let re=ee.shape,ae=new Cc(ee.element,{getBoundingClientRect:(he)=>rP(he,void 0,0.2)});if(!ae.height||!ae.width)continue;if(v=="down"&&b.y+Oj<ae.center.y||v=="up"&&b.y-Oj>ae.center.y||v=="left"&&b.x-Oj>ae.center.x||v=="right"&&b.x+Oj<ae.center.x)T.push(ee),ee.shape=ae,D.push(()=>ee.shape=re)}}),i.preventDefault(),d.disable();let U=d.computeCollisions(T,ide);fa(()=>D.forEach((ee)=>ee()));let[A]=U;if(!A)return;let{id:j}=A,{index:V,group:J}=y.sortable;c.setDropTarget(j).then(()=>{let{source:ee,target:te,shape:re}=l;if(!ee||!lo(ee)||!re)return;let{index:ae,group:he,target:be}=ee.sortable,Qe=V!==ae||J!==he,Ye=Qe?be:te==null?void 0:te.element;if(!Ye)return;P3(Ye);let Se=new Cc(Ye);if(!Se)return;let Ge=ol.delta(Se,ol.from(re.current.boundingRectangle),ee.alignment);if(c.move({by:Ge}),Qe)c.setDropTarget(ee.id).then(()=>d.enable());else d.enable()})})});this.destroy=()=>{a(),r()}}};function lCt(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:cCt,defineProperties:uCt,getOwnPropertyDescriptors:dCt,getOwnPropertySymbols:l8e}=Object,ZCt=Object.prototype.hasOwnProperty,pCt=Object.prototype.propertyIsEnumerable,c8e=(e,r,a)=>(r in e)?cCt(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,kP=(e,r)=>{for(var a in r||(r={}))if(ZCt.call(r,a))c8e(e,a,r[a]);if(l8e){for(var a of l8e(r))if(pCt.call(r,a))c8e(e,a,r[a])}return e},CP=(e,r)=>uCt(e,dCt(r));function mCt(e,r,a){if(r===a)return e;let i=e.slice();return i.splice(a,0,i.splice(r,1)[0]),i}function Nj(e,r){let a=String(r);return Object.prototype.hasOwnProperty.call(e,a)?a:void 0}function gG(e){return"initialIndex"in e&&typeof e.initialIndex==="number"&&"index"in e&&typeof e.index==="number"}function hCt(e,r,a){var i,s;let{source:l,target:c,canceled:d}=r.operation;if(!l||!c||d){if("preventDefault"in r)r.preventDefault();return e}let h=(V,J)=>V===J||V!==null&&typeof V==="object"&&("id"in V)&&V.id===J;if(Array.isArray(e)){let V=e.findIndex((ee)=>h(ee,l.id)),J=e.findIndex((ee)=>h(ee,c.id));if(V===-1||J===-1){if(gG(l)){let{initialIndex:ee,index:te}=l;if(ee===te||ee<0||ee>=e.length){if("preventDefault"in r)r.preventDefault();return e}return a(e,ee,te)}return e}if(!d&&"index"in l&&typeof l.index==="number"){let ee=l.index;if(ee!==V)return a(e,V,ee)}return a(e,V,J)}let x=Object.entries(e),v=-1,y,k=-1,b;for(let[V,J]of x){if(v===-1){if(v=J.findIndex((ee)=>h(ee,l.id)),v!==-1)y=V}if(k===-1){if(k=J.findIndex((ee)=>h(ee,c.id)),k!==-1)b=V}if(v!==-1&&k!==-1)break}if(v===-1&&gG(l)){let V=l.initialGroup==null?void 0:Nj(e,l.initialGroup),J=l.initialIndex,ee=l.group==null?void 0:Nj(e,l.group),te=l.index;if(V==null||ee==null){if("preventDefault"in r)r.preventDefault();return e}if(V===ee&&J===te){if("preventDefault"in r)r.preventDefault();return e}if(V===ee)return CP(kP({},e),{[V]:a(e[V],J,te)});let re=e[V][J];return CP(kP({},e),{[V]:[...e[V].slice(0,J),...e[V].slice(J+1)],[ee]:[...e[ee].slice(0,te),re,...e[ee].slice(te)]})}if(!l.manager)return e;let{dragOperation:T}=l.manager,D=(s=(i=T.shape)==null?void 0:i.current.center)!=null?s:T.position.current;if(b==null){let V=Nj(e,c.id);if(V!=null){let J=c.shape&&D.y>c.shape.center.y?e[V].length:0;b=V,k=J}}if(y==null||b==null||y===b&&v===k){if(y!=null&&y===b&&v===k&&gG(l)){let V=l.group==null?void 0:Nj(e,l.group),J=l.group!=null&&V!==y,ee=l.index!==v;if(J||ee){let te=l.group==null?y:V;if(te!=null){if(y===te)return CP(kP({},e),{[y]:a(e[y],v,l.index)});let re=e[y][v];return CP(kP({},e),{[y]:[...e[y].slice(0,v),...e[y].slice(v+1)],[te]:[...e[te].slice(0,l.index),re,...e[te].slice(l.index)]})}}}if("preventDefault"in r)r.preventDefault();return e}if(y===b)return CP(kP({},e),{[y]:a(e[y],v,k)});let A=c.shape&&Math.round(D.y)>Math.round(c.shape.center.y)?1:0,j=e[y][v];return CP(kP({},e),{[y]:[...e[y].slice(0,v),...e[y].slice(v+1)],[b]:[...e[b].slice(0,k+A),j,...e[b].slice(k+A)]})}function gCt(e,r){return hCt(e,r,mCt)}function u8e(e){let r=new Map;for(let[,a]of e)for(let i of a)r.set(i.id,i.index);return r}function d8e(e,r,a){var i;for(let[s,l]of r)for(let c of l){let d=e.get(c.id);if(c.index!==d||c.group!==s||!((i=a.get(s))==null?void 0:i.has(c)))return!0}return!1}var Z8e="__default__",MCt=class extends Hi{constructor(e){super(e);let r=()=>{let i=new Map;for(let s of e.registry.droppables)if(s instanceof yG){let{sortable:l}=s,{group:c}=l,d=i.get(c);if(!d)d=new Set,i.set(c,d);d.add(l)}return i},a=[e.monitor.addEventListener("dragover",(i,s)=>{if(this.disabled)return;let{dragOperation:l}=s,{source:c,target:d}=l;if(!lo(c)||!lo(d))return;if(c.sortable===d.sortable)return;let h=r(),x=u8e(h),v=c.sortable.group===d.sortable.group,y=h.get(c.sortable.group),k=v?y:h.get(d.sortable.group);if(!y||!k)return;queueMicrotask(()=>{if(i.defaultPrevented)return;s.renderer.rendering.then(()=>{var b,T;let D=r();if(d8e(x,h,D))return;let U=c.sortable.element,A=d.sortable.element;if(!A||!U)return;if(!v&&d.id===c.sortable.group)return;let j=Fj(y),V=v?j:Fj(k),J=(b=c.sortable.group)!=null?b:Z8e,ee=(T=d.sortable.group)!=null?T:Z8e,te={[J]:j,[ee]:V},re=gCt(te,i);if(te===re)return;let ae=re[ee].indexOf(c.sortable),he=re[ee].indexOf(d.sortable);s.collisionObserver.disable(),p8e(U,ae,A,he),fa(()=>{for(let[be,Qe]of re[J].entries())Qe.index=be;if(!v)for(let[be,Qe]of re[ee].entries())Qe.group=d.sortable.group,Qe.index=be}),s.actions.setDropTarget(c.id).then(()=>s.collisionObserver.enable())})})}),e.monitor.addEventListener("dragend",(i,s)=>{if(!i.canceled)return;let{dragOperation:l}=s,{source:c}=l;if(!lo(c))return;if(c.sortable.initialIndex===c.sortable.index&&c.sortable.initialGroup===c.sortable.group)return;queueMicrotask(()=>{let d=r(),h=u8e(d),x=d.get(c.sortable.initialGroup);if(!x)return;s.renderer.rendering.then(()=>{let v=r();if(d8e(h,d,v))return;let y=Fj(x),k=Fj(x,vCt),b=c.sortable.element,T=k.indexOf(c.sortable),D=y[T],U=D==null?void 0:D.element;if(!D||!U||!b)return;p8e(b,D.index,U,c.index),fa(()=>{for(let A of d.values()){let j=Array.from(A).values();for(let V of j)V.index=V.initialIndex,V.group=V.initialGroup}})})})})];this.destroy=()=>{for(let i of a)i()}}};function p8e(e,r,a,i){let s=i<r?"afterend":"beforebegin";a.insertAdjacentElement(s,e)}function xCt(e,r){return e.index-r.index}function vCt(e,r){return e.initialIndex-r.initialIndex}function Fj(e,r=xCt){return Array.from(e).sort(r)}var m8e=[sCt,MCt],xG={duration:250,easing:"cubic-bezier(0.25, 1, 0.5, 1)",idle:!1};function h8e(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 jj=new Ece,b8e,w8e,Mz,vG,fN,sN,_G,IP;w8e=[Ao],b8e=[Ao];var cN=class{constructor(e,r){aN(this,vG,Dj(Mz,8,this)),Dj(Mz,11,this),aN(this,fN),aN(this,sN),aN(this,_G,Dj(Mz,12,this)),Dj(Mz,15,this),aN(this,IP),this.register=()=>(fa(()=>{var T,D;(T=this.manager)==null||T.registry.register(this.droppable),(D=this.manager)==null||D.registry.register(this.draggable)}),()=>this.unregister()),this.unregister=()=>{fa(()=>{var T,D;(T=this.manager)==null||T.registry.unregister(this.droppable),(D=this.manager)==null||D.registry.unregister(this.draggable)})},this.destroy=()=>{fa(()=>{this.droppable.destroy(),this.draggable.destroy()})};var a=e,{effects:i=()=>[],disabled:s,group:l,index:c,sensors:d,type:h,transition:x=xG,plugins:v}=a,y=aCt(a,["effects","disabled","group","index","sensors","type","transition","plugins"]);let k=ps(v,m8e),b=h8e(s);this.droppable=new yG(hG(mG({},y),{disabled:b.droppable}),r,this),this.draggable=new z8e(hG(mG({},y),{disabled:b.draggable,plugins:k,effects:()=>[()=>{var T,D,U;let A=(T=this.manager)==null?void 0:T.dragOperation.status;if((A==null?void 0:A.initializing)&&this.id===((U=(D=this.manager)==null?void 0:D.dragOperation.source)==null?void 0:U.id))jj.clear(this.manager);if(A==null?void 0:A.dragging)jj.set(this.manager,this.id,yo(()=>({initialIndex:this.index,initialGroup:this.group})))},()=>{let{index:T,group:D,manager:U}=this,A=iN(this,sN),j=iN(this,fN);if(T!==A||D!==j)nk(this,sN,T),nk(this,fN,D),this.animate()},()=>{var T,D;let{target:U}=this,{isDragSource:A}=this.draggable;if(((D=(T=this.draggable.pluginConfig(ws))==null?void 0:T.feedback)!=null?D:"default")==="move"&&A)this.droppable.disabled=!U},...i()],type:h,sensors:d}),r,this),nk(this,IP,y.element),this.manager=r,this.index=c,nk(this,sN,c),this.group=l,nk(this,fN,l),this.type=h,this.transition=x}get initialIndex(){var e,r;return(r=(e=jj.get(this.manager,this.id))==null?void 0:e.initialIndex)!=null?r:this.index}get initialGroup(){var e,r;return(r=(e=jj.get(this.manager,this.id))==null?void 0:e.initialGroup)!=null?r:this.group}animate(){yo(()=>{let{manager:e,transition:r}=this,{shape:a}=this.droppable;if(!e)return;let{idle:i}=e.dragOperation.status;if(!a||!r||i&&!r.idle)return;e.renderer.rendering.then(()=>{let{element:s}=this;if(!s)return;for(let v of s.getAnimations())if("transitionProperty"in v&&(v.transitionProperty==="transform"||v.transitionProperty==="translate"||v.transitionProperty==="scale"))v.cancel();let l=this.refreshShape();if(!l)return;let c={x:a.boundingRectangle.left-l.boundingRectangle.left,y:a.boundingRectangle.top-l.boundingRectangle.top},{translate:d}=kc(s),h=uV(s,d,!1),x=uV(s,d);if(c.x||c.y){let v=bO(ms(s))?hG(mG({},r),{duration:0}):r;T3({element:s,keyframes:{translate:[`${h.x+c.x}px ${h.y+c.y}px ${h.z}`,`${x.x}px ${x.y}px ${x.z}`]},options:v}).then(()=>{if(!e.dragOperation.status.dragging)this.droppable.shape=void 0})}})})}get manager(){return this.draggable.manager}set manager(e){fa(()=>{this.draggable.manager=e,this.droppable.manager=e})}set element(e){fa(()=>{let r=iN(this,IP),a=this.droppable.element,i=this.draggable.element;if(!a||a===r)this.droppable.element=e;if(!i||i===r)this.draggable.element=e;nk(this,IP,e)})}get element(){var e,r;let a=iN(this,IP);if(!a)return;return(r=(e=wO.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=ps(e,m8e)}set disabled(e){let r=h8e(e);fa(()=>{this.droppable.disabled=r.droppable,this.draggable.disabled=r.draggable})}set data(e){fa(()=>{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:E3}set alignment(e){this.draggable.alignment=e}get alignment(){return this.draggable.alignment}set type(e){fa(()=>{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)}};Mz=nCt();vG=new WeakMap;fN=new WeakMap;sN=new WeakMap;_G=new WeakMap;IP=new WeakMap;_8e(Mz,4,"index",w8e,cN,vG);_8e(Mz,4,"group",b8e,cN,_G);fCt(Mz,cN);var z8e=class extends GL{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}},yG=class extends ZP{constructor(e,r,a){super(e,r);this.sortable=a}get index(){return this.sortable.index}get group(){return this.sortable.group}};var{defineProperty:_Ct,defineProperties:yCt,getOwnPropertyDescriptors:bCt,getOwnPropertySymbols:S8e}=Object,wCt=Object.prototype.hasOwnProperty,zCt=Object.prototype.propertyIsEnumerable,L8e=(e,r,a)=>(r in e)?_Ct(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,bG=(e,r)=>{for(var a in r||(r={}))if(wCt.call(r,a))L8e(e,a,r[a]);if(S8e){for(var a of S8e(r))if(zCt.call(r,a))L8e(e,a,r[a])}return e},SCt=(e,r)=>yCt(e,bCt(r));function Ga(e){let{accept:r,collisionDetector:a,collisionPriority:i,id:s,data:l,element:c,handle:d,index:h,group:x,disabled:v,modifiers:y,sensors:k,target:b,type:T,plugins:D}=e,U=bG(bG({},xG),e.transition),A=W3((V)=>new cN(SCt(bG({},e),{transition:U,register:!1,handle:ku(d),element:ku(c),target:ku(b)}),V)),j=pP(A,LCt);return Vo(s,()=>A.id=s),jM(()=>{fa(()=>{A.group=x,A.index=h})},[A,x,h]),Vo(T,()=>A.type=T),Vo(r,()=>A.accept=r,void 0,xf),Vo(l,()=>l&&(A.data=l)),Vo(h,()=>{var V;if(((V=A.manager)==null?void 0:V.dragOperation.status.idle)&&(U==null?void 0:U.idle))A.refreshShape()},Hde),lz(d,(V)=>A.handle=V),lz(c,(V)=>A.element=V),lz(b,(V)=>A.target=V),Vo(v,()=>A.disabled=v!=null?v:!1,void 0,xf),Vo(k,()=>A.sensors=k,void 0,xf),Vo(a,()=>A.collisionDetector=a),Vo(i,()=>A.collisionPriority=i),Vo(D,()=>A.plugins=D,void 0,xf),Vo(U,()=>A.transition=U,void 0,xf),Vo(y,()=>A.modifiers=y,void 0,xf),Vo(e.alignment,()=>A.alignment=e.alignment),{sortable:j,get isDragging(){return j.isDragging},get isDropping(){return j.isDropping},get isDragSource(){return j.isDragSource},get isDropTarget(){return j.isDropTarget},handleRef:P((V)=>{A.handle=V!=null?V:void 0},[A]),ref:P((V)=>{var J,ee;if(!V&&((J=A.element)==null?void 0:J.isConnected)&&!((ee=A.manager)==null?void 0:ee.dragOperation.status.idle))return;A.element=V!=null?V:void 0},[A]),sourceRef:P((V)=>{var J,ee;if(!V&&((J=A.source)==null?void 0:J.isConnected)&&!((ee=A.manager)==null?void 0:ee.dragOperation.status.idle))return;A.source=V!=null?V:void 0},[A]),targetRef:P((V)=>{var J,ee;if(!V&&((J=A.target)==null?void 0:J.isConnected)&&!((ee=A.manager)==null?void 0:ee.dragOperation.status.idle))return;A.target=V!=null?V:void 0},[A])}}function LCt(e,r,a){if(e==="isDragSource"&&!a&&r)return!0;return!1}E();function kCt(e){if(!e)return null;try{let r=qM(e);if(isNaN(r.getTime()))return null;return yr(r,"MMM d, yyyy")}catch{return null}}function CCt({version:e,displayVersionNumber:r,index:a,canEdit:i,onRemove:s}){let[l,c]=u(!1),{ref:d,handleRef:h}=Ga({id:e.id,index:a,disabled:!i}),x=kCt(e.createdAt);return o("div",{ref:d,className:"group flex items-center gap-3 p-2.5 rounded-lg border border-border bg-card hover:bg-accent/40 transition-colors",children:[o("div",{className:"flex-shrink-0 flex items-center justify-center bg-muted text-muted-foreground rounded-full px-2.5 py-0.5 text-xs font-semibold select-none min-w-[2.25rem]",children:["v",r]}),i?t("div",{ref:h,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(qs,{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(ar,{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(Mt,{className:"h-3 w-3 shrink-0"}),t("span",{className:"truncate",children:iu({user:e.creator?.name||Sn(),agent:e.agent.name})})]}):t("span",{children:e.creator?.name||Sn()}),x&&o(L,{children:[t("span",{children:"•"}),t("span",{children:x})]})]})]}),i&&o(ge,{modal:!1,open:l,onOpenChange:c,children:[t(Ae,{asChild:!0,children:t(S,{variant:"ghost",size:"icon","aria-label":"More options",className:C("h-8 w-8 text-muted-foreground hover:text-foreground transition-opacity flex-shrink-0",l?"opacity-100":"opacity-0 group-hover:opacity-100 focus:opacity-100"),children:t(Er,{className:"h-4 w-4"})})}),t(_e,{align:"end",children:o(K,{onClick:()=>s(e.id),className:"text-destructive focus:text-destructive cursor-pointer",children:[t(we,{className:"h-4 w-4 mr-2"}),t("span",{children:bct()})]})})]})]})}function nf({open:e,onOpenChange:r,stackId:a,canEdit:i=!0,onVersionRemoved:s,onStackDissolved:l}){let c=G(),[d,h]=u([]),{data:x,isLoading:v}=Z({queryKey:["version_stacks",a,"versions"],queryFn:async()=>{let U=await g.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});m(()=>{if(x)h(x)},[x]);let{mutate:y}=B({mutationFn:async({fileId:U,beforeId:A})=>{if(!(await g.api.version_stacks[":stackId"].order.$post({param:{stackId:a},json:{fileId:U,beforeId:A}})).ok)throw Error("Failed to reorder versions")},onSuccess:()=>{c.invalidateQueries({queryKey:["version_stacks"]}),c.invalidateQueries({queryKey:["files"]}),c.invalidateQueries({queryKey:["file"]}),c.invalidateQueries({queryKey:["search"]}),c.invalidateQueries({queryKey:["folders"]}),c.invalidateQueries({queryKey:["projects"]}),M.success(y_t())},onError:()=>{if(M.error(n9e()),x)h(x)}}),{mutate:k,isPending:b}=B({mutationFn:async(U)=>{if(!(await g.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)=>{M.success(x_t());let A=d.filter((j)=>j.id!==U);if(h(A),c.invalidateQueries({queryKey:["version_stacks"]}),c.invalidateQueries({queryKey:["files"]}),c.invalidateQueries({queryKey:["file"]}),c.invalidateQueries({queryKey:["search"]}),c.invalidateQueries({queryKey:["folders"]}),c.invalidateQueries({queryKey:["projects"]}),A.length<=1){let j=A[0];if(r(!1),j)l?.(j.id)}else s?.(U,A)},onError:()=>{M.error(e9e())}}),T=(U)=>{if(U.canceled)return;let{source:A}=U.operation;if(!lo(A))return;let{initialIndex:j,index:V}=A;if(j===V)return;let J=[...d],[ee]=J.splice(j,1);J.splice(V,0,ee),h(J);let te=V===J.length-1?"-1":J[V+1].id;y({fileId:ee.id,beforeId:te})},D=(U)=>{if(b)return;k(U)};return t(de,{open:e,onOpenChange:r,children:o(ce,{className:"max-w-lg p-0 gap-0 overflow-hidden",children:[t(me,{className:"p-4 pb-3 border-b border-border",children:t(ue,{className:"text-base font-semibold",children:bXe()})}),t(le,{className:"max-h-[60vh] p-4",children:v?t("div",{className:"py-8 text-center text-sm text-muted-foreground",children:Md?.()||"Loading..."}):d.length===0?t("div",{className:"py-8 text-center text-sm text-muted-foreground",children:brt()}):t("div",{className:"space-y-2",children:t(Wn,{sensors:[En.configure({activationConstraints:[new Zr.Distance({value:6})]}),es],onDragEnd:T,children:d.map((U,A)=>t(CCt,{version:U,displayVersionNumber:d.length-A,index:A,canEdit:i,onRemove:D},U.id))})})})]})})}E();function Je({...e}){return t(ePe,{"data-slot":"popover",...e})}function Xe({...e}){return t(tPe,{"data-slot":"popover-trigger",...e})}function et({className:e,align:r="center",sideOffset:a=4,...i}){return t(rPe,{children:t(oPe,{"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 t0=[We.TODO,We.READY,We.IN_PROGRESS,We.BLOCKED,We.IN_REVIEW,We.DONE];function co(e){switch(e){case We.TODO:return Qht();case We.READY:return Ght();case We.IN_PROGRESS:return Uht();case We.BLOCKED:return MA();case We.IN_REVIEW:return Hht();case We.DONE:return Fht();default:return e}}function fm(e){switch(e){case We.TODO:return{badge:"bg-muted text-muted-foreground border-border",border:"border-border",dot:"bg-muted-foreground",bg:"bg-muted/30"};case We.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 We.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 We.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 We.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 We.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 xz(e){return fm(e).badge}function aa(e){switch(e){case $r.LOW:return xit();case $r.MEDIUM:return yit();case $r.HIGH:return hit();case $r.URGENT:return zit();default:return e}}function la(e){switch(e){case $r.LOW:return"bg-muted text-muted-foreground border-border";case $r.MEDIUM:return"bg-blue-500/10 text-blue-600 dark:text-blue-400 border-blue-500/20";case $r.HIGH:return"bg-amber-500/10 text-amber-600 dark:text-amber-400 border-amber-500/20";case $r.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"}}E();function Ci({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 W({className:e,...r}){return t(BRe,{"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 ke({className:e,size:r="default",...a}){return t(ITe,{"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(PTe,{"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(GPe,{"data-slot":"select",...e})}function Le({...e}){return t(JPe,{"data-slot":"select-value",...e})}function Ze({className:e,size:r="default",children:a,...i}){return o(XPe,{"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($Pe,{asChild:!0,children:t(ve,{className:"size-4 opacity-50"})})]})}function Be({className:e,children:r,position:a="item-aligned",align:i="center",...s}){return t(oTe,{children:o(aTe,{"data-slot":"select-content",className:C("relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",a==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:a,align:i,...s,children:[t(ICt,{}),t(cTe,{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(RCt,{})]})})}function oe({className:e,children:r,...a}){return o(ZTe,{"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(hTe,{children:t(Me,{className:"size-4"})})}),t(pTe,{children:r})]})}function ICt({className:e,...r}){return t(gTe,{"data-slot":"select-scroll-up-button",className:C("flex cursor-default items-center justify-center py-1",e),...r,children:t(Ma,{className:"size-4"})})}function RCt({className:e,...r}){return t(MTe,{"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"})})}E();function k8e(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 PCt={},uN={};function Ru(e,r){try{let i=(PCt[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(r).split("GMT")[1];if(i in uN)return uN[i];return C8e(i,i.split(":"))}catch{if(e in uN)return uN[e];let a=e?.match(TCt);if(a)return C8e(e,a.slice(1));return NaN}}var TCt=/([+-]\d\d):?(\d\d)?/;function C8e(e,r){let a=+(r[0]||0),i=+(r[1]||0),s=+(r[2]||0)/60;return uN[e]=a*60+i>0?a*60+i+s:a*60-i-s}class Pu 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(Ru(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)),P8e(this,e)}static tz(e,...r){return r.length?new Pu(...r,e):new Pu(Date.now(),e)}withTimeZone(e){return new Pu(+this,e)}getTimezoneOffset(){let e=-Ru(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),Uj(this),+this}[Symbol.for("constructDateFrom")](e){return new Pu(+new Date(e),this.timeZone)}}var I8e=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach((e)=>{if(!I8e.test(e))return;let r=e.replace(I8e,"$1UTC");if(!Pu.prototype[r])return;if(e.startsWith("get"))Pu.prototype[e]=function(){return this.internal[r]()};else Pu.prototype[e]=function(){return Date.prototype[r].apply(this.internal,arguments),ACt(this),+this},Pu.prototype[r]=function(){return Date.prototype[r].apply(this,arguments),Uj(this),+this}});function Uj(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-Ru(e.timeZone,e)*60))}function ACt(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()),P8e(e)}function P8e(e,r){let a=Array.isArray(r)?ECt(r):+e.internal,i=Ru(e.timeZone,e),s=i>0?Math.floor(i):Math.ceil(i),l=new Date(+e);l.setUTCHours(l.getUTCHours()-1);let c=-new Date(+e).getTimezoneOffset(),d=-new Date(+l).getTimezoneOffset(),h=c-d,x=c;if(h&&c!==s){let he=Date.prototype.getHours.apply(e),be=Array.isArray(r)?r[3]||0:e.internal.getUTCHours();if(he!==be){let Qe=new Date(+e),Ye=c-s;if(Ye)Qe.setUTCMinutes(Qe.getUTCMinutes()+Ye);let Se=Ru(e.timeZone,Qe);if((Se>0?Math.floor(Se):Math.ceil(Se))===s)x=d}}let v=x-s;if(v)Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+v);let y=new Date(+e);y.setUTCSeconds(0);let k=c>0?y.getSeconds():(y.getSeconds()-60)%60,b=Math.round(-(Ru(e.timeZone,e)*60))%60;if(b||k)Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+b+k);let T=Ru(e.timeZone,e),D=T>0?Math.floor(T):Math.ceil(T),A=-new Date(+e).getTimezoneOffset()-D,j=D!==s,V=A-v,J=D-s,ee=a-D*60*1000,te=J>0&&R8e(e)-a===J*60*1000&&R8e(e,ee)!==a;if(j&&V&&!te){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+V);let he=Ru(e.timeZone,e),be=he>0?Math.floor(he):Math.ceil(he),Qe=D-be;if(Qe&&V<0)Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+Qe)}Uj(e);let ae=(r?a:a+b*1000)-+e.internal;if(ae&&Math.abs(ae)<1800000)Date.prototype.setTime.call(e,+e+ae),Uj(e)}function ECt(e){return Date.UTC(e[0],e.length>1?e[1]:0,e.length>2?e[2]:1,...e.slice(3))}function R8e(e,r){let a=new Date(r??+e);return a.setUTCSeconds(a.getUTCSeconds()-Math.round(-Ru(e.timeZone,a)*60)),+a}class Bn extends Pu{static tz(e,...r){return r.length?new Bn(...r,e):new Bn(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} (${k8e(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 Bn(+this,e)}[Symbol.for("constructDateFrom")](e){return new Bn(+new Date(e),this.timeZone)}}function T8e(e,r){let a=r.startOfMonth(e),i=a.getDay()>0?a.getDay():7,s=r.addDays(e,-i+1),l=r.addDays(s,34);return r.getMonth(e)===r.getMonth(l)?5:4}function Yj(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 A8e(e,r){let a=Yj(e,r),i=T8e(e,r);return r.addDays(a,i*7-1)}var dN={...UM,labels:{labelDayButton:(e,r,a,i)=>{let s;if(i&&typeof i.format==="function")s=i.format.bind(i);else s=(c,d)=>yr(c,d,{locale:UM,...a});let l=s(e,"PPPP");if(r.today)l=`Today, ${l}`;if(r.selected)l=`${l}, selected`;return l},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:(e)=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,r,a)=>{let i;if(a&&typeof a.format==="function")i=a.format.bind(a);else i=(s,l)=>yr(s,l,{locale:UM,...r});return i(e,"LLLL yyyy")},labelGridcell:(e,r,a,i)=>{let s;if(i&&typeof i.format==="function")s=i.format.bind(i);else s=(c,d)=>yr(c,d,{locale:UM,...a});let l=s(e,"PPPP");if(r?.today)l=`Today, ${l}`;return l},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,r,a)=>{let i;if(a&&typeof a.format==="function")i=a.format.bind(a);else i=(s,l)=>yr(s,l,{locale:UM,...r});return i(e,"cccc")}}};class ai{constructor(e,r){this.today=()=>{if(this.overrides?.today)return this.overrides.today();if(this.options.timeZone)return Bn.tz(this.options.timeZone);return new(this.options.Date??Date)},this.newDate=(a,i,s)=>{if(this.overrides?.newDate)return this.overrides.newDate(a,i,s);if(this.options.timeZone)return new Bn(a,i,s,this.options.timeZone);return new Date(a,i,s)},this.addDays=(a,i)=>this.overrides?.addDays?this.overrides.addDays(a,i):mP(a,i),this.addMonths=(a,i)=>this.overrides?.addMonths?this.overrides.addMonths(a,i):ja(a,i),this.addWeeks=(a,i)=>this.overrides?.addWeeks?this.overrides.addWeeks(a,i):jO(a,i),this.addYears=(a,i)=>this.overrides?.addYears?this.overrides.addYears(a,i):MZe(a,i),this.differenceInCalendarDays=(a,i)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(a,i):uz(a,i),this.differenceInCalendarMonths=(a,i)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(a,i):tj(a,i),this.eachMonthOfInterval=(a)=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(a):yZe(a),this.eachYearOfInterval=(a)=>{let i=this.overrides?.eachYearOfInterval?this.overrides.eachYearOfInterval(a):zZe(a),s=new Set(i.map((c)=>this.getYear(c)));if(s.size===i.length)return i;let l=[];return s.forEach((c)=>{l.push(new Date(c,0,1))}),l},this.endOfBroadcastWeek=(a)=>this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(a):A8e(a,this),this.endOfISOWeek=(a)=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(a):SZe(a),this.endOfMonth=(a)=>this.overrides?.endOfMonth?this.overrides.endOfMonth(a):ef(a),this.endOfWeek=(a,i)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(a,i):oj(a,this.options),this.endOfYear=(a)=>this.overrides?.endOfYear?this.overrides.endOfYear(a):wZe(a),this.format=(a,i,s)=>{let l=this.overrides?.format?this.overrides.format(a,i,this.options):yr(a,i,this.options);if(this.options.numerals&&this.options.numerals!=="latn")return this.replaceDigits(l);return l},this.getISOWeek=(a)=>this.overrides?.getISOWeek?this.overrides.getISOWeek(a):xP(a),this.getMonth=(a,i)=>this.overrides?.getMonth?this.overrides.getMonth(a,this.options):lu(a,this.options),this.getYear=(a,i)=>this.overrides?.getYear?this.overrides.getYear(a,this.options):cu(a,this.options),this.getWeek=(a,i)=>this.overrides?.getWeek?this.overrides.getWeek(a,this.options):vP(a,this.options),this.isAfter=(a,i)=>this.overrides?.isAfter?this.overrides.isAfter(a,i):qZe(a,i),this.isBefore=(a,i)=>this.overrides?.isBefore?this.overrides.isBefore(a,i):HZe(a,i),this.isDate=(a)=>this.overrides?.isDate?this.overrides.isDate(a):ej(a),this.isSameDay=(a,i)=>this.overrides?.isSameDay?this.overrides.isSameDay(a,i):hP(a,i),this.isSameMonth=(a,i)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(a,i):VZe(a,i),this.isSameYear=(a,i)=>this.overrides?.isSameYear?this.overrides.isSameYear(a,i):WZe(a,i),this.max=(a)=>this.overrides?.max?this.overrides.max(a):xZe(a),this.min=(a)=>this.overrides?.min?this.overrides.min(a):vZe(a),this.setMonth=(a,i)=>this.overrides?.setMonth?this.overrides.setMonth(a,i):XZe(a,i),this.setYear=(a,i)=>this.overrides?.setYear?this.overrides.setYear(a,i):QZe(a,i),this.startOfBroadcastWeek=(a,i)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(a,this):Yj(a,this),this.startOfDay=(a)=>this.overrides?.startOfDay?this.overrides.startOfDay(a):cz(a),this.startOfISOWeek=(a)=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(a):BM(a),this.startOfMonth=(a)=>this.overrides?.startOfMonth?this.overrides.startOfMonth(a):bZe(a),this.startOfWeek=(a,i)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(a,this.options):Cu(a,this.options),this.startOfYear=(a)=>this.overrides?.startOfYear?this.overrides.startOfYear(a):rj(a),this.options={locale:dN,...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 ai.yearFirstLocales.has(e)?"year-first":"month-first"}formatMonthYear(e){let{locale:r,timeZone:a,numerals:i}=this.options,s=r?.code;if(s&&ai.yearFirstLocales.has(s))try{return new Intl.DateTimeFormat(s,{month:"long",year:"numeric",timeZone:a,numberingSystem:i}).format(e)}catch{}let l=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(e,l)}}ai.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 pi=new ai;class ZN{constructor(e,r,a=pi){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 wG{constructor(e,r){this.date=e,this.weeks=r}}class zG{constructor(e,r){this.days=r,this.weekNumber=e}}E();function DCt(e){return q("span",{...e})}E();function OCt(e){let{size:r=24,orientation:a="left",className:i,style:s}=e;return q("svg",{className:i,style:s,width:r,height:r,viewBox:"0 0 24 24"},a==="up"&&q("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),a==="down"&&q("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),a==="left"&&q("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),a==="right"&&q("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}E();function NCt(e){let{day:r,modifiers:a,...i}=e;return q("td",{...i})}E();function FCt(e){let{day:r,modifiers:a,...i}=e,s=_(null);return m(()=>{if(a.focused)s.current?.focus()},[a.focused]),q("button",{ref:s,...i})}E();var mr;(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"})(mr||(mr={}));var Ea;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(Ea||(Ea={}));var ll;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(ll||(ll={}));var Rs;(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"})(Rs||(Rs={}));E();var SG=mt(void 0);function vz(){let e=vt(SG);if(e===void 0)throw Error("useDayPicker() must be used within a custom component.");return e}function jCt(e){let{options:r,className:a,...i}=e,{classNames:s,components:l,styles:c}=vz(),d=[s[mr.Dropdown],a].join(" "),h=r?.find(({value:x})=>x===i.value);return q("span",{"data-disabled":i.disabled,className:s[mr.DropdownRoot],style:c?.[mr.DropdownRoot]},q(l.Select,{className:d,...i},r?.map(({value:x,label:v,disabled:y})=>q(l.Option,{key:x,value:x,disabled:y},v))),q("span",{className:s[mr.CaptionLabel],style:c?.[mr.CaptionLabel],"aria-hidden":!0},h?.label,q(l.Chevron,{orientation:"down",size:18,className:s[mr.Chevron],style:c?.[mr.Chevron]})))}E();function BCt(e){return q("div",{...e})}E();function UCt(e){return q("div",{...e})}E();function YCt(e){let{calendarMonth:r,displayIndex:a,...i}=e;return q("div",{...i},e.children)}E();function qCt(e){let{calendarMonth:r,displayIndex:a,...i}=e;return q("div",{...i})}E();function HCt(e){return q("table",{...e})}E();function VCt(e){return q("div",{...e})}E();function WCt(e){let{components:r}=vz();return q(r.Dropdown,{...e})}E();function GCt(e){let{onPreviousClick:r,onNextClick:a,previousMonth:i,nextMonth:s,...l}=e,{components:c,classNames:d,styles:h,labels:{labelPrevious:x,labelNext:v}}=vz(),y=P((b)=>{if(s)a?.(b)},[s,a]),k=P((b)=>{if(i)r?.(b)},[i,r]);return q("nav",{...l},q(c.PreviousMonthButton,{type:"button",className:d[mr.PreviousMonthButton],style:h?.[mr.PreviousMonthButton],tabIndex:i?void 0:-1,"aria-disabled":i?void 0:!0,"aria-label":x(i),onClick:k},q(c.Chevron,{disabled:i?void 0:!0,className:d[mr.Chevron],style:h?.[mr.Chevron],orientation:"left"})),q(c.NextMonthButton,{type:"button",className:d[mr.NextMonthButton],style:h?.[mr.NextMonthButton],tabIndex:s?void 0:-1,"aria-disabled":s?void 0:!0,"aria-label":v(s),onClick:y},q(c.Chevron,{disabled:s?void 0:!0,orientation:"right",className:d[mr.Chevron],style:h?.[mr.Chevron]})))}E();function KCt(e){return q("button",{...e})}E();function XCt(e){return q("option",{...e})}E();function QCt(e){return q("button",{...e})}E();function JCt(e){let{rootRef:r,...a}=e;return q("div",{...a,ref:r})}E();function $Ct(e){return q("select",{...e})}E();function eIt(e){let{week:r,...a}=e;return q("tr",{...a})}E();function tIt(e){return q("th",{...e})}E();function rIt(e){return q("thead",{"aria-hidden":!0},q("tr",{...e}))}E();function oIt(e){let{week:r,...a}=e;return q("th",{...a})}E();function aIt(e){return q("th",{...e})}E();function nIt(e){return q("tbody",{...e})}E();function iIt(e){let{components:r}=vz();return q(r.Dropdown,{...e})}E();function cl(e,r,a=!1,i=pi){let{from:s,to:l}=e,{differenceInCalendarDays:c,isSameDay:d}=i;if(s&&l){if(c(l,s)<0)[s,l]=[l,s];return c(r,s)>=(a?1:0)&&c(l,r)>=(a?1:0)}if(!a&&l)return d(l,r);if(!a&&s)return d(s,r);return!1}function RP(e){return Boolean(e&&typeof e==="object"&&"before"in e&&"after"in e)}function _z(e){return Boolean(e&&typeof e==="object"&&"from"in e)}function PP(e){return Boolean(e&&typeof e==="object"&&"after"in e)}function TP(e){return Boolean(e&&typeof e==="object"&&"before"in e)}function qj(e){return Boolean(e&&typeof e==="object"&&"dayOfWeek"in e)}function Hj(e,r){return Array.isArray(e)&&e.every(r.isDate)}function Pc(e,r,a=pi){let i=!Array.isArray(r)?[r]:r,{isSameDay:s,differenceInCalendarDays:l,isAfter:c}=a;return i.some((d)=>{if(typeof d==="boolean")return d;if(a.isDate(d))return s(e,d);if(Hj(d,a))return d.some((h)=>s(e,h));if(_z(d))return cl(d,e,!1,a);if(qj(d)){if(!Array.isArray(d.dayOfWeek))return d.dayOfWeek===e.getDay();return d.dayOfWeek.includes(e.getDay())}if(RP(d)){let h=l(d.before,e),x=l(d.after,e),v=h>0,y=x<0;if(c(d.before,d.after))return y&&v;else return v||y}if(PP(d))return l(e,d.after)>0;if(TP(d))return l(d.before,e)>0;if(typeof d==="function")return d(e);return!1})}function E8e(e,r,a,i,s){let{disabled:l,hidden:c,modifiers:d,showOutsideDays:h,broadcastCalendar:x,today:v=s.today()}=r,{isSameDay:y,isSameMonth:k,startOfMonth:b,isBefore:T,endOfMonth:D,isAfter:U}=s,A=a&&b(a),j=i&&D(i),V={[Ea.focused]:[],[Ea.outside]:[],[Ea.disabled]:[],[Ea.hidden]:[],[Ea.today]:[]},J={};for(let ee of e){let{date:te,displayMonth:re}=ee,ae=Boolean(re&&!k(te,re)),he=Boolean(A&&T(te,A)),be=Boolean(j&&U(te,j)),Qe=Boolean(l&&Pc(te,l,s)),Ye=Boolean(c&&Pc(te,c,s))||he||be||!x&&!h&&ae||x&&h===!1&&ae,Se=y(te,v);if(ae)V.outside.push(ee);if(Qe)V.disabled.push(ee);if(Ye)V.hidden.push(ee);if(Se)V.today.push(ee);if(d)Object.keys(d).forEach((Ge)=>{let rt=d?.[Ge];if(!(rt?Pc(te,rt,s):!1))return;if(J[Ge])J[Ge].push(ee);else J[Ge]=[ee]})}return(ee)=>{let te={[Ea.focused]:!1,[Ea.disabled]:!1,[Ea.hidden]:!1,[Ea.outside]:!1,[Ea.today]:!1},re={};for(let ae in V){let he=V[ae];te[ae]=he.some((be)=>be===ee)}for(let ae in J)re[ae]=J[ae].some((he)=>he===ee);return{...te,...re}}}function D8e(e,r,a={}){return Object.entries(e).filter(([,s])=>s===!0).reduce((s,[l])=>{if(a[l])s.push(a[l]);else if(r[Ea[l]])s.push(r[Ea[l]]);else if(r[ll[l]])s.push(r[ll[l]]);return s},[r[mr.Day]])}function O8e(e){return{...LG,...e}}function N8e(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 pN(){let e={};for(let r in mr)e[mr[r]]=`rdp-${mr[r]}`;for(let r in Ea)e[Ea[r]]=`rdp-${Ea[r]}`;for(let r in ll)e[ll[r]]=`rdp-${ll[r]}`;for(let r in Rs)e[Rs[r]]=`rdp-${Rs[r]}`;return e}function fIt(e,r,a){return(a??new ai(r)).formatMonthYear(e)}function sIt(e,r,a){return(a??new ai(r)).format(e,"d")}function lIt(e,r=pi){return r.format(e,"LLLL")}function cIt(e,r,a){return(a??new ai(r)).format(e,"cccccc")}function uIt(e,r=pi){if(e<10)return r.formatNumber(`0${e.toLocaleString()}`);return r.formatNumber(`${e.toLocaleString()}`)}function dIt(){return""}function ZIt(e,r=pi){return r.format(e,"yyyy")}function F8e(e){return{...kG,...e}}function CG(e,r,a,i){let s=(i??new ai(a)).format(e,"PPPP");if(r.today)s=`Today, ${s}`;if(r.selected)s=`${s}, selected`;return s}function IG(e,r,a){return(a??new ai(r)).formatMonthYear(e)}function RG(e,r,a,i){let s=(i??new ai(a)).format(e,"PPPP");if(r?.today)s=`Today, ${s}`;return s}function PG(e){return"Choose the Month"}function TG(){return""}function AG(e,r){return"Go to the Next Month"}function EG(e){return"Go to the Previous Month"}function DG(e,r,a){return(a??new ai(r)).format(e,"cccc")}function OG(e,r){return`Week ${e}`}function NG(e){return"Week Number"}function FG(e){return"Choose the Year"}var Tu=(e,r,a)=>{if(r)return r;if(a)return typeof a==="function"?a:(...i)=>a;return e};function j8e(e,r){let a=r.locale?.labels??{};return{...jG,...e??{},labelDayButton:Tu(CG,e?.labelDayButton,a.labelDayButton),labelMonthDropdown:Tu(PG,e?.labelMonthDropdown,a.labelMonthDropdown),labelNext:Tu(AG,e?.labelNext,a.labelNext),labelPrevious:Tu(EG,e?.labelPrevious,a.labelPrevious),labelWeekNumber:Tu(OG,e?.labelWeekNumber,a.labelWeekNumber),labelYearDropdown:Tu(FG,e?.labelYearDropdown,a.labelYearDropdown),labelGrid:Tu(IG,e?.labelGrid,a.labelGrid),labelGridcell:Tu(RG,e?.labelGridcell,a.labelGridcell),labelNav:Tu(TG,e?.labelNav,a.labelNav),labelWeekNumberHeader:Tu(NG,e?.labelWeekNumberHeader,a.labelWeekNumberHeader),labelWeekday:Tu(DG,e?.labelWeekday,a.labelWeekday)}}function B8e(e,r,a,i,s){let{startOfMonth:l,startOfYear:c,endOfYear:d,eachMonthOfInterval:h,getMonth:x}=s;return h({start:c(e),end:d(e)}).map((k)=>{let b=i.formatMonthDropdown(k,s),T=x(k),D=r&&k<l(r)||a&&k>l(a)||!1;return{value:T,label:b,disabled:D}})}function U8e(e,r={},a={}){let i={...r?.[mr.Day]};return Object.entries(e).filter(([,s])=>s===!0).forEach(([s])=>{i={...i,...a?.[s]}}),i}function Y8e(e,r,a,i){let s=i??e.today(),l=a?e.startOfBroadcastWeek(s,e):r?e.startOfISOWeek(s):e.startOfWeek(s),c=[];for(let d=0;d<7;d++){let h=e.addDays(l,d);c.push(h)}return c}function q8e(e,r,a,i,s=!1){if(!e)return;if(!r)return;let{startOfYear:l,endOfYear:c,eachYearOfInterval:d,getYear:h}=i,x=l(e),v=c(r),y=d({start:x,end:v});if(s)y.reverse();return y.map((k)=>{let b=a.formatYearDropdown(k,i);return{value:h(k),label:b,disabled:!1}})}function H8e(e,r={}){let{weekStartsOn:a,locale:i}=r,s=a??i?.options?.weekStartsOn??0,l=(d)=>{let h=typeof d==="number"||typeof d==="string"?new Date(d):d;return new Bn(h.getFullYear(),h.getMonth(),h.getDate(),12,0,0,e)},c=(d)=>{let h=l(d);return new Date(h.getFullYear(),h.getMonth(),h.getDate(),0,0,0,0)};return{today:()=>l(Bn.tz(e)),newDate:(d,h,x)=>new Bn(d,h,x,12,0,0,e),startOfDay:(d)=>l(d),startOfWeek:(d,h)=>{let x=l(d),v=h?.weekStartsOn??s,y=(x.getDay()-v+7)%7;return x.setDate(x.getDate()-y),x},startOfISOWeek:(d)=>{let h=l(d),x=(h.getDay()-1+7)%7;return h.setDate(h.getDate()-x),h},startOfMonth:(d)=>{let h=l(d);return h.setDate(1),h},startOfYear:(d)=>{let h=l(d);return h.setMonth(0,1),h},endOfWeek:(d,h)=>{let x=l(d),k=(((h?.weekStartsOn??s)+6)%7-x.getDay()+7)%7;return x.setDate(x.getDate()+k),x},endOfISOWeek:(d)=>{let h=l(d),x=(7-h.getDay())%7;return h.setDate(h.getDate()+x),h},endOfMonth:(d)=>{let h=l(d);return h.setMonth(h.getMonth()+1,0),h},endOfYear:(d)=>{let h=l(d);return h.setMonth(11,31),h},eachMonthOfInterval:(d)=>{let h=l(d.start),x=l(d.end),v=[],y=new Bn(h.getFullYear(),h.getMonth(),1,12,0,0,e),k=x.getFullYear()*12+x.getMonth();while(y.getFullYear()*12+y.getMonth()<=k)v.push(new Bn(y,e)),y.setMonth(y.getMonth()+1,1);return v},addDays:(d,h)=>{let x=l(d);return x.setDate(x.getDate()+h),x},addWeeks:(d,h)=>{let x=l(d);return x.setDate(x.getDate()+h*7),x},addMonths:(d,h)=>{let x=l(d);return x.setMonth(x.getMonth()+h),x},addYears:(d,h)=>{let x=l(d);return x.setFullYear(x.getFullYear()+h),x},eachYearOfInterval:(d)=>{let h=l(d.start),x=l(d.end),v=[],y=new Bn(h.getFullYear(),0,1,12,0,0,e);while(y.getFullYear()<=x.getFullYear())v.push(new Bn(y,e)),y.setFullYear(y.getFullYear()+1,0,1);return v},getWeek:(d,h)=>{let x=c(d);return vP(x,{weekStartsOn:h?.weekStartsOn??s,firstWeekContainsDate:h?.firstWeekContainsDate??i?.options?.firstWeekContainsDate??1})},getISOWeek:(d)=>{let h=c(d);return xP(h)},differenceInCalendarDays:(d,h)=>{let x=c(d),v=c(h);return uz(x,v)},differenceInCalendarMonths:(d,h)=>{let x=c(d),v=c(h);return tj(x,v)}}}E();var mN=(e)=>{if(e instanceof HTMLElement)return e;return null},BG=(e)=>[...e.querySelectorAll("[data-animated-month]")??[]],pIt=(e)=>mN(e.querySelector("[data-animated-month]")),UG=(e)=>mN(e.querySelector("[data-animated-caption]")),YG=(e)=>mN(e.querySelector("[data-animated-weeks]")),mIt=(e)=>mN(e.querySelector("[data-animated-nav]")),hIt=(e)=>mN(e.querySelector("[data-animated-weekdays]"));function V8e(e,r,{classNames:a,months:i,focused:s,dateLib:l}){let c=_(null),d=_(i),h=_(!1);Ue(()=>{let x=d.current;if(d.current=i,!r||!e.current||!(e.current instanceof HTMLElement)||i.length===0||x.length===0||i.length!==x.length)return;let v=l.isSameMonth(i[0].date,x[0].date),y=l.isAfter(i[0].date,x[0].date),k=y?a[Rs.caption_after_enter]:a[Rs.caption_before_enter],b=y?a[Rs.weeks_after_enter]:a[Rs.weeks_before_enter],T=c.current,D=e.current.cloneNode(!0);if(D instanceof HTMLElement)BG(D).forEach((V)=>{if(!(V instanceof HTMLElement))return;let J=pIt(V);if(J&&V.contains(J))V.removeChild(J);let ee=UG(V);if(ee)ee.classList.remove(k);let te=YG(V);if(te)te.classList.remove(b)}),c.current=D;else c.current=null;if(h.current||v||s)return;let U=T instanceof HTMLElement?BG(T):[],A=BG(e.current);if(A?.every((j)=>j instanceof HTMLElement)&&U?.every((j)=>j instanceof HTMLElement)){h.current=!0;let j=[];e.current.style.isolation="isolate";let V=mIt(e.current);if(V)V.style.zIndex="1";A.forEach((J,ee)=>{let te=U[ee];if(!te)return;J.style.position="relative",J.style.overflow="hidden";let re=UG(J);if(re)re.classList.add(k);let ae=YG(J);if(ae)ae.classList.add(b);let he=()=>{if(h.current=!1,e.current)e.current.style.isolation="";if(V)V.style.zIndex="";if(re)re.classList.remove(k);if(ae)ae.classList.remove(b);if(J.style.position="",J.style.overflow="",J.contains(te))J.removeChild(te)};j.push(he),te.style.pointerEvents="none",te.style.position="absolute",te.style.overflow="hidden",te.setAttribute("aria-hidden","true");let be=hIt(te);if(be)be.style.opacity="0";let Qe=UG(te);if(Qe)Qe.classList.add(y?a[Rs.caption_before_exit]:a[Rs.caption_after_exit]),Qe.addEventListener("animationend",he);let Ye=YG(te);if(Ye)Ye.classList.add(y?a[Rs.weeks_before_exit]:a[Rs.weeks_after_exit]);J.insertBefore(te,J.firstChild)})}})}E();function W8e(e,r,a,i){let s=e[0],l=e[e.length-1],{ISOWeek:c,fixedWeeks:d,broadcastCalendar:h}=a??{},{addDays:x,differenceInCalendarDays:v,differenceInCalendarMonths:y,endOfBroadcastWeek:k,endOfISOWeek:b,endOfMonth:T,endOfWeek:D,isAfter:U,startOfBroadcastWeek:A,startOfISOWeek:j,startOfWeek:V}=i,J=h?A(s,i):c?j(s):V(s),ee=h?k(l):c?b(T(l)):D(T(l)),te=r&&(h?k(r):c?b(r):D(r)),re=te&&U(ee,te)?te:ee,ae=v(re,J),he=y(l,s)+1,be=[];for(let Se=0;Se<=ae;Se++){let Ge=x(J,Se);be.push(Ge)}let Ye=(h?35:42)*he;if(d&&be.length<Ye){let Se=Ye-be.length;for(let Ge=0;Ge<Se;Ge++){let rt=x(be[be.length-1],1);be.push(rt)}}return be}function G8e(e){let r=[];return e.reduce((a,i)=>{let s=i.weeks.reduce((l,c)=>l.concat(c.days.slice()),r.slice());return a.concat(s.slice())},r.slice())}function K8e(e,r,a,i){let{numberOfMonths:s=1}=a,l=[];for(let c=0;c<s;c++){let d=i.addMonths(e,c);if(r&&d>r)break;l.push(d)}return l}function qG(e,r,a,i){let{month:s,defaultMonth:l,today:c=i.today(),numberOfMonths:d=1}=e,h=s||l||c,{differenceInCalendarMonths:x,addMonths:v,startOfMonth:y}=i;if(a&&x(a,h)<d-1){let k=-1*(d-1);h=v(a,k)}if(r&&x(h,r)<0)h=r;return y(h)}function X8e(e,r,a,i){let{addDays:s,endOfBroadcastWeek:l,endOfISOWeek:c,endOfMonth:d,endOfWeek:h,getISOWeek:x,getWeek:v,startOfBroadcastWeek:y,startOfISOWeek:k,startOfWeek:b}=i,T=e.reduce((D,U)=>{let A=a.broadcastCalendar?y(U,i):a.ISOWeek?k(U):b(U),j=a.broadcastCalendar?l(U):a.ISOWeek?c(d(U)):h(d(U)),V=r.filter((re)=>re>=A&&re<=j),J=a.broadcastCalendar?35:42;if(a.fixedWeeks&&V.length<J){let re=r.filter((ae)=>{let he=J-V.length;return ae>j&&ae<=s(j,he)});V.push(...re)}let ee=V.reduce((re,ae)=>{let he=a.ISOWeek?x(ae):v(ae),be=re.find((Ye)=>Ye.weekNumber===he),Qe=new ZN(ae,U,i);if(!be)re.push(new zG(he,[Qe]));else be.days.push(Qe);return re},[]),te=new wG(U,ee);return D.push(te),D},[]);if(!a.reverseMonths)return T;else return T.reverse()}function Q8e(e,r){let{startMonth:a,endMonth:i}=e,{startOfYear:s,startOfDay:l,startOfMonth:c,endOfMonth:d,addYears:h,endOfYear:x,today:v}=r,y=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";if(a)a=c(a);else if(!a&&y)a=s(h(e.today??v(),-100));if(i)i=d(i);else if(!i&&y)i=x(e.today??v());return[a?l(a):a,i?l(i):i]}function J8e(e,r,a,i){if(a.disableNavigation)return;let{pagedNavigation:s,numberOfMonths:l=1}=a,{startOfMonth:c,addMonths:d,differenceInCalendarMonths:h}=i,x=s?l:1,v=c(e);if(!r)return d(v,x);if(h(r,e)<l)return;return d(v,x)}function $8e(e,r,a,i){if(a.disableNavigation)return;let{pagedNavigation:s,numberOfMonths:l}=a,{startOfMonth:c,addMonths:d,differenceInCalendarMonths:h}=i,x=s?l??1:1,v=c(e);if(!r)return d(v,-x);if(h(v,r)<=0)return;return d(v,-x)}function exe(e){let r=[];return e.reduce((a,i)=>a.concat(i.weeks.slice()),r.slice())}E();function yz(e,r){let[a,i]=u(e);return[r===void 0?a:r,i]}function txe(e,r){let[a,i]=Q8e(e,r),{startOfMonth:s,endOfMonth:l}=r,c=qG(e,a,i,r),[d,h]=yz(c,e.month?c:void 0);m(()=>{let J=qG(e,a,i,r);h(J)},[e.timeZone]);let{months:x,weeks:v,days:y,previousMonth:k,nextMonth:b}=N(()=>{let J=K8e(d,i,{numberOfMonths:e.numberOfMonths},r),ee=W8e(J,e.endMonth?l(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},r),te=X8e(J,ee,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},r),re=exe(te),ae=G8e(te),he=$8e(d,a,e,r),be=J8e(d,i,e,r);return{months:te,weeks:re,days:ae,previousMonth:he,nextMonth:be}},[r,d.getTime(),i?.getTime(),a?.getTime(),e.disableNavigation,e.broadcastCalendar,e.endMonth?.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:T,onMonthChange:D}=e,U=(J)=>v.some((ee)=>ee.days.some((te)=>te.isEqualTo(J))),A=(J)=>{if(T)return;let ee=s(J);if(a&&ee<s(a))ee=s(a);if(i&&ee>s(i))ee=s(i);h(ee),D?.(ee)};return{months:x,weeks:v,days:y,navStart:a,navEnd:i,previousMonth:k,nextMonth:b,goToMonth:A,goToDay:(J)=>{if(U(J))return;A(J.date)}}}E();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 rxe(e){return!e[Ea.disabled]&&!e[Ea.hidden]&&!e[Ea.outside]}function oxe(e,r,a,i){let s,l=-1;for(let c of e){let d=r(c);if(rxe(d)){if(d[Ea.focused]&&l<wZ.FocusedModifier)s=c,l=wZ.FocusedModifier;else if(i?.isEqualTo(c)&&l<wZ.LastFocused)s=c,l=wZ.LastFocused;else if(a(c.date)&&l<wZ.Selected)s=c,l=wZ.Selected;else if(d[Ea.today]&&l<wZ.Today)s=c,l=wZ.Today}}if(!s)s=e.find((c)=>rxe(r(c)));return s}function axe(e,r,a,i,s,l,c){let{ISOWeek:d,broadcastCalendar:h}=l,{addDays:x,addMonths:v,addWeeks:y,addYears:k,endOfBroadcastWeek:b,endOfISOWeek:T,endOfWeek:D,max:U,min:A,startOfBroadcastWeek:j,startOfISOWeek:V,startOfWeek:J}=c,te={day:x,week:y,month:v,year:k,startOfWeek:(re)=>h?j(re,c):d?V(re):J(re),endOfWeek:(re)=>h?b(re):d?T(re):D(re)}[e](a,r==="after"?1:-1);if(r==="before"&&i)te=U([i,te]);else if(r==="after"&&s)te=A([s,te]);return te}function HG(e,r,a,i,s,l,c,d=0){if(d>365)return;let h=axe(e,r,a.date,i,s,l,c),x=Boolean(l.disabled&&Pc(h,l.disabled,c)),v=Boolean(l.hidden&&Pc(h,l.hidden,c)),k=new ZN(h,h,c);if(!x&&!v)return k;return HG(e,r,k,i,s,l,c,d+1)}function nxe(e,r,a,i,s){let{autoFocus:l}=e,[c,d]=u(),h=oxe(r.days,a,i||(()=>!1),c),[x,v]=u(l?h:void 0);return{isFocusTarget:(D)=>Boolean(h?.isEqualTo(D)),setFocused:v,focused:x,blur:()=>{d(x),v(void 0)},moveFocus:(D,U)=>{if(!x)return;let A=HG(D,U,x,r.navStart,r.navEnd,e,s);if(!A)return;if(e.disableNavigation){if(!r.days.some((V)=>V.isEqualTo(A)))return}r.goToDay(A),v(A)}}}function ixe(e,r){let{selected:a,required:i,onSelect:s}=e,[l,c]=yz(a,s?a:void 0),d=!s?l:a,{isSameDay:h}=r,x=(b)=>d?.some((T)=>h(T,b))??!1,{min:v,max:y}=e;return{selected:d,select:(b,T,D)=>{let U=[...d??[]];if(x(b)){if(d?.length===v)return;if(i&&d?.length===1)return;U=d?.filter((A)=>!h(A,b))}else if(d?.length===y)U=[b];else U=[...U,b];if(!s)c(U);return s?.(U,b,T,D),U},isSelected:x}}function fxe(e,r,a=0,i=0,s=!1,l=pi){let{from:c,to:d}=r||{},{isSameDay:h,isAfter:x,isBefore:v}=l,y;if(!c&&!d)y={from:e,to:a>0?void 0:e};else if(c&&!d)if(h(c,e))if(a===0)y={from:c,to:e};else if(s)y={from:c,to:void 0};else y=void 0;else if(v(e,c))y={from:e,to:c};else y={from:c,to:e};else if(c&&d)if(h(c,e)&&h(d,e))if(s)y={from:c,to:d};else y=void 0;else if(h(c,e))y={from:c,to:a>0?void 0:e};else if(h(d,e))y={from:e,to:a>0?void 0:e};else if(v(e,c))y={from:e,to:d};else if(x(e,c))y={from:c,to:e};else if(x(e,d))y={from:c,to:e};else throw Error("Invalid range");if(y?.from&&y?.to){let k=l.differenceInCalendarDays(y.to,y.from);if(i>0&&k>i)y={from:e,to:void 0};else if(a>1&&k<a)y={from:e,to:void 0}}return y}function sxe(e,r,a=pi){let i=!Array.isArray(r)?[r]:r,s=e.from,l=a.differenceInCalendarDays(e.to,e.from),c=Math.min(l,6);for(let d=0;d<=c;d++){if(i.includes(s.getDay()))return!0;s=a.addDays(s,1)}return!1}function VG(e,r,a=pi){return cl(e,r.from,!1,a)||cl(e,r.to,!1,a)||cl(r,e.from,!1,a)||cl(r,e.to,!1,a)}function lxe(e,r,a=pi){let i=Array.isArray(r)?r:[r];if(i.filter((d)=>typeof d!=="function").some((d)=>{if(typeof d==="boolean")return d;if(a.isDate(d))return cl(e,d,!1,a);if(Hj(d,a))return d.some((h)=>cl(e,h,!1,a));if(_z(d)){if(d.from&&d.to)return VG(e,{from:d.from,to:d.to},a);return!1}if(qj(d))return sxe(e,d.dayOfWeek,a);if(RP(d)){if(a.isAfter(d.before,d.after))return VG(e,{from:a.addDays(d.after,1),to:a.addDays(d.before,-1)},a);return Pc(e.from,d,a)||Pc(e.to,d,a)}if(PP(d)||TP(d))return Pc(e.from,d,a)||Pc(e.to,d,a);return!1}))return!0;let c=i.filter((d)=>typeof d==="function");if(c.length){let d=e.from,h=a.differenceInCalendarDays(e.to,e.from);for(let x=0;x<=h;x++){if(c.some((v)=>v(d)))return!0;d=a.addDays(d,1)}}return!1}function cxe(e,r){let{disabled:a,excludeDisabled:i,resetOnSelect:s,selected:l,required:c,onSelect:d}=e,[h,x]=yz(l,d?l:void 0),v=!d?h:l;return{selected:v,select:(b,T,D)=>{let{min:U,max:A}=e,j;if(b){let V=v?.from,J=v?.to,ee=!!V&&!!J,te=!!V&&!!J&&r.isSameDay(V,J)&&r.isSameDay(b,V);if(s&&(ee||!v?.from))if(!c&&te)j=void 0;else j={from:b,to:void 0};else j=fxe(b,v,U,A,c,r)}if(i&&a&&j?.from&&j.to){if(lxe({from:j.from,to:j.to},a,r))j.from=b,j.to=void 0}if(!d)x(j);return d?.(j,b,T,D),j},isSelected:(b)=>v&&cl(v,b,!1,r)}}function uxe(e,r){let{selected:a,required:i,onSelect:s}=e,[l,c]=yz(a,s?a:void 0),d=!s?l:a,{isSameDay:h}=r;return{selected:d,select:(y,k,b)=>{let T=y;if(!i&&d&&d&&h(y,d))T=void 0;if(!s)c(T);if(i)s?.(T,y,k,b);else s?.(T,y,k,b);return T},isSelected:(y)=>d?h(d,y):!1}}function dxe(e,r){let a=uxe(e,r),i=ixe(e,r),s=cxe(e,r);switch(e.mode){case"single":return a;case"multiple":return i;case"range":return s;default:return}}function Ps(e,r){if(e instanceof Bn&&e.timeZone===r)return e;return new Bn(e,r)}function AP(e,r,a){if(!a)return Ps(e,r);let i=Ps(e,r),s=new Bn(i.getFullYear(),i.getMonth(),i.getDate(),12,0,0,r);return new Date(s.getTime())}function Zxe(e,r,a){if(typeof e==="boolean"||typeof e==="function")return e;if(e instanceof Date)return AP(e,r,a);if(Array.isArray(e))return e.map((i)=>i instanceof Date?AP(i,r,a):i);if(_z(e))return{...e,from:e.from?Ps(e.from,r):e.from,to:e.to?Ps(e.to,r):e.to};if(RP(e))return{before:AP(e.before,r,a),after:AP(e.after,r,a)};if(PP(e))return{after:AP(e.after,r,a)};if(TP(e))return{before:AP(e.before,r,a)};return e}function Vj(e,r,a){if(!e)return e;if(Array.isArray(e))return e.map((i)=>Zxe(i,r,a));return Zxe(e,r,a)}function pxe(e){let r=e,a=r.timeZone;if(a){if(r={...e,timeZone:a},r.today)r.today=Ps(r.today,a);if(r.month)r.month=Ps(r.month,a);if(r.defaultMonth)r.defaultMonth=Ps(r.defaultMonth,a);if(r.startMonth)r.startMonth=Ps(r.startMonth,a);if(r.endMonth)r.endMonth=Ps(r.endMonth,a);if(r.mode==="single"&&r.selected)r.selected=Ps(r.selected,a);else if(r.mode==="multiple"&&r.selected)r.selected=r.selected?.map((Ot)=>Ps(Ot,a));else if(r.mode==="range"&&r.selected)r.selected={from:r.selected.from?Ps(r.selected.from,a):r.selected.from,to:r.selected.to?Ps(r.selected.to,a):r.selected.to};if(r.disabled!==void 0)r.disabled=Vj(r.disabled,a);if(r.hidden!==void 0)r.hidden=Vj(r.hidden,a);if(r.modifiers){let Ot={};Object.keys(r.modifiers).forEach((Lt)=>{Ot[Lt]=Vj(r.modifiers?.[Lt],a)}),r.modifiers=Ot}}let{components:i,formatters:s,labels:l,dateLib:c,locale:d,classNames:h}=N(()=>{let Ot={...dN,...r.locale},Lt=r.broadcastCalendar?1:r.weekStartsOn,Yt=r.noonSafe&&r.timeZone?H8e(r.timeZone,{weekStartsOn:Lt,locale:Ot}):void 0,jr=r.dateLib&&Yt?{...Yt,...r.dateLib}:r.dateLib??Yt,Yr=new ai({locale:Ot,weekStartsOn:Lt,firstWeekContainsDate:r.firstWeekContainsDate,useAdditionalWeekYearTokens:r.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:r.useAdditionalDayOfYearTokens,timeZone:r.timeZone,numerals:r.numerals},jr);return{dateLib:Yr,components:O8e(r.components),formatters:F8e(r.formatters),labels:j8e(r.labels,Yr.options),locale:Ot,classNames:{...pN(),...r.classNames}}},[r.locale,r.broadcastCalendar,r.weekStartsOn,r.firstWeekContainsDate,r.useAdditionalWeekYearTokens,r.useAdditionalDayOfYearTokens,r.timeZone,r.numerals,r.dateLib,r.noonSafe,r.components,r.formatters,r.labels,r.classNames]);if(!r.today)r={...r,today:c.today()};let{captionLayout:x,mode:v,navLayout:y,numberOfMonths:k=1,onDayBlur:b,onDayClick:T,onDayFocus:D,onDayKeyDown:U,onDayMouseEnter:A,onDayMouseLeave:j,onNextClick:V,onPrevClick:J,showWeekNumber:ee,styles:te}=r,{formatCaption:re,formatDay:ae,formatMonthDropdown:he,formatWeekNumber:be,formatWeekNumberHeader:Qe,formatWeekdayName:Ye,formatYearDropdown:Se}=s,Ge=txe(r,c),{days:rt,months:tt,navStart:bt,navEnd:jt,previousMonth:qt,nextMonth:se,goToMonth:St}=Ge,Ht=E8e(rt,r,bt,jt,c),{isSelected:Oe,select:nr,selected:fr}=dxe(r,c)??{},{blur:er,focused:Ur,isFocusTarget:Vt,moveFocus:Xt,setFocused:Pr}=nxe(r,Ge,Ht,Oe??(()=>!1),c),{labelDayButton:zr,labelGridcell:Ar,labelGrid:hr,labelMonthDropdown:go,labelNav:po,labelPrevious:va,labelNext:sr,labelWeekday:Mo,labelWeekNumber:ho,labelWeekNumberHeader:Uo,labelYearDropdown:bn}=l,Go=N(()=>Y8e(c,r.ISOWeek,r.broadcastCalendar,r.today),[c,r.ISOWeek,r.broadcastCalendar,r.today]),Xn=v!==void 0||T!==void 0,wn=P(()=>{if(!qt)return;St(qt),J?.(qt)},[qt,St,J]),Qi=P(()=>{if(!se)return;St(se),V?.(se)},[St,se,V]),$e=P((Ot,Lt)=>(Yt)=>{if(Yt.preventDefault(),Yt.stopPropagation(),Pr(Ot),Lt.disabled)return;nr?.(Ot.date,Lt,Yt),T?.(Ot.date,Lt,Yt)},[nr,T,Pr]),Dt=P((Ot,Lt)=>(Yt)=>{Pr(Ot),D?.(Ot.date,Lt,Yt)},[D,Pr]),Mr=P((Ot,Lt)=>(Yt)=>{er(),b?.(Ot.date,Lt,Yt)},[er,b]),qr=P((Ot,Lt)=>(Yt)=>{let jr={ArrowLeft:[Yt.shiftKey?"month":"day",r.dir==="rtl"?"after":"before"],ArrowRight:[Yt.shiftKey?"month":"day",r.dir==="rtl"?"before":"after"],ArrowDown:[Yt.shiftKey?"year":"week","after"],ArrowUp:[Yt.shiftKey?"year":"week","before"],PageUp:[Yt.shiftKey?"year":"month","before"],PageDown:[Yt.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(jr[Yt.key]){Yt.preventDefault(),Yt.stopPropagation();let[Yr,da]=jr[Yt.key];Xt(Yr,da)}U?.(Ot.date,Lt,Yt)},[Xt,U,r.dir]),to=P((Ot,Lt)=>(Yt)=>{A?.(Ot.date,Lt,Yt)},[A]),Ko=P((Ot,Lt)=>(Yt)=>{j?.(Ot.date,Lt,Yt)},[j]),Ka=P((Ot,Lt)=>(Yt)=>{let jr=Number(Yt.target.value),Yr=c.setMonth(c.startOfMonth(Ot),jr);St(c.addMonths(Yr,-Lt))},[c,St]),Ee=P((Ot,Lt)=>(Yt)=>{let jr=Number(Yt.target.value),Yr=c.setYear(c.startOfMonth(Ot),jr);St(c.addMonths(Yr,-Lt))},[c,St]),{className:De,style:je}=N(()=>({className:[h[mr.Root],r.className].filter(Boolean).join(" "),style:{...te?.[mr.Root],...r.style}}),[h,r.className,r.style,te]),ft=N8e(r),Ct=(Ot)=>{let Lt=te?.[mr.Dropdown],Yt=te?.[Ot];if(!Lt&&!Yt)return;return{...Lt,...Yt}},Bt=_(null);V8e(Bt,Boolean(r.animate),{classNames:h,months:tt,focused:Ur,dateLib:c});let or={dayPickerProps:r,selected:fr,select:nr,isSelected:Oe,months:tt,nextMonth:se,previousMonth:qt,goToMonth:St,getModifiers:Ht,components:i,classNames:h,styles:te,labels:l,formatters:s};return q(SG.Provider,{value:or},q(i.Root,{rootRef:r.animate?Bt:void 0,className:De,style:je,dir:r.dir,id:r.id,lang:r.lang??d.code,nonce:r.nonce,title:r.title,role:r.role,"aria-label":r["aria-label"],"aria-labelledby":r["aria-labelledby"],...ft},q(i.Months,{className:h[mr.Months],style:te?.[mr.Months]},!r.hideNavigation&&!y&&q(i.Nav,{"data-animated-nav":r.animate?"true":void 0,className:h[mr.Nav],style:te?.[mr.Nav],"aria-label":po(),onPreviousClick:wn,onNextClick:Qi,previousMonth:qt,nextMonth:se}),tt.map((Ot,Lt)=>{let Yt=r.reverseMonths?tt.length-1-Lt:Lt;return q(i.Month,{"data-animated-month":r.animate?"true":void 0,className:h[mr.Month],style:te?.[mr.Month],key:Lt,displayIndex:Lt,calendarMonth:Ot},y==="around"&&!r.hideNavigation&&Lt===0&&q(i.PreviousMonthButton,{type:"button",className:h[mr.PreviousMonthButton],style:te?.[mr.PreviousMonthButton],tabIndex:qt?void 0:-1,"aria-disabled":qt?void 0:!0,"aria-label":va(qt),onClick:wn,"data-animated-button":r.animate?"true":void 0},q(i.Chevron,{disabled:qt?void 0:!0,className:h[mr.Chevron],style:te?.[mr.Chevron],orientation:r.dir==="rtl"?"right":"left"})),q(i.MonthCaption,{"data-animated-caption":r.animate?"true":void 0,className:h[mr.MonthCaption],style:te?.[mr.MonthCaption],calendarMonth:Ot,displayIndex:Lt},x?.startsWith("dropdown")?q(i.DropdownNav,{className:h[mr.Dropdowns],style:te?.[mr.Dropdowns]},(()=>{let jr=x==="dropdown"||x==="dropdown-months"?q(i.MonthsDropdown,{key:"month",className:h[mr.MonthsDropdown],"aria-label":go(),disabled:Boolean(r.disableNavigation),onChange:Ka(Ot.date,Yt),options:B8e(Ot.date,bt,jt,s,c),style:Ct(mr.MonthsDropdown),value:c.getMonth(Ot.date)}):q("span",{key:"month"},he(Ot.date,c)),Yr=x==="dropdown"||x==="dropdown-years"?q(i.YearsDropdown,{key:"year",className:h[mr.YearsDropdown],"aria-label":bn(c.options),disabled:Boolean(r.disableNavigation),onChange:Ee(Ot.date,Yt),options:q8e(bt,jt,s,c,Boolean(r.reverseYears)),style:Ct(mr.YearsDropdown),value:c.getYear(Ot.date)}):q("span",{key:"year"},Se(Ot.date,c));return c.getMonthYearOrder()==="year-first"?[Yr,jr]:[jr,Yr]})(),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(Ot.date,c.options,c))):q(i.CaptionLabel,{className:h[mr.CaptionLabel],style:te?.[mr.CaptionLabel],role:"status","aria-live":"polite"},re(Ot.date,c.options,c))),y==="around"&&!r.hideNavigation&&Lt===k-1&&q(i.NextMonthButton,{type:"button",className:h[mr.NextMonthButton],style:te?.[mr.NextMonthButton],tabIndex:se?void 0:-1,"aria-disabled":se?void 0:!0,"aria-label":sr(se),onClick:Qi,"data-animated-button":r.animate?"true":void 0},q(i.Chevron,{disabled:se?void 0:!0,className:h[mr.Chevron],style:te?.[mr.Chevron],orientation:r.dir==="rtl"?"left":"right"})),Lt===k-1&&y==="after"&&!r.hideNavigation&&q(i.Nav,{"data-animated-nav":r.animate?"true":void 0,className:h[mr.Nav],style:te?.[mr.Nav],"aria-label":po(),onPreviousClick:wn,onNextClick:Qi,previousMonth:qt,nextMonth:se}),q(i.MonthGrid,{role:"grid","aria-multiselectable":v==="multiple"||v==="range","aria-label":hr(Ot.date,c.options,c)||void 0,className:h[mr.MonthGrid],style:te?.[mr.MonthGrid]},!r.hideWeekdays&&q(i.Weekdays,{"data-animated-weekdays":r.animate?"true":void 0,className:h[mr.Weekdays],style:te?.[mr.Weekdays]},ee&&q(i.WeekNumberHeader,{"aria-label":Uo(c.options),className:h[mr.WeekNumberHeader],style:te?.[mr.WeekNumberHeader],scope:"col"},Qe()),Go.map((jr)=>q(i.Weekday,{"aria-label":Mo(jr,c.options,c),className:h[mr.Weekday],key:String(jr),style:te?.[mr.Weekday],scope:"col"},Ye(jr,c.options,c)))),q(i.Weeks,{"data-animated-weeks":r.animate?"true":void 0,className:h[mr.Weeks],style:te?.[mr.Weeks]},Ot.weeks.map((jr)=>q(i.Week,{className:h[mr.Week],key:jr.weekNumber,style:te?.[mr.Week],week:jr},ee&&q(i.WeekNumber,{week:jr,style:te?.[mr.WeekNumber],"aria-label":ho(jr.weekNumber,{locale:d}),className:h[mr.WeekNumber],scope:"row",role:"rowheader"},be(jr.weekNumber,c)),jr.days.map((Yr)=>{let{date:da}=Yr,tr=Ht(Yr);if(tr[Ea.focused]=!tr.hidden&&Boolean(Ur?.isEqualTo(Yr)),tr[ll.selected]=Oe?.(da)||tr.selected,_z(fr)){let{from:Cf,to:Ya}=fr;tr[ll.range_start]=Boolean(Cf&&Ya&&c.isSameDay(da,Cf)),tr[ll.range_end]=Boolean(Cf&&Ya&&c.isSameDay(da,Ya)),tr[ll.range_middle]=cl(fr,da,!0,c)}let Qo=U8e(tr,te,r.modifiersStyles),_a=D8e(tr,h,r.modifiersClassNames),fi=!Xn&&!tr.hidden?Ar(da,tr,c.options,c):void 0;return q(i.Day,{key:`${Yr.isoDate}_${Yr.displayMonthId}`,day:Yr,modifiers:tr,className:_a.join(" "),style:Qo,role:"gridcell","aria-selected":tr.selected||void 0,"aria-label":fi,"data-day":Yr.isoDate,"data-month":Yr.outside?Yr.dateMonthId:void 0,"data-selected":tr.selected||void 0,"data-disabled":tr.disabled||void 0,"data-hidden":tr.hidden||void 0,"data-outside":Yr.outside||void 0,"data-focused":tr.focused||void 0,"data-today":tr.today||void 0},!tr.hidden&&Xn?q(i.DayButton,{className:h[mr.DayButton],style:te?.[mr.DayButton],type:"button",day:Yr,modifiers:tr,disabled:!tr.focused&&tr.disabled||void 0,"aria-disabled":tr.focused&&tr.disabled||void 0,tabIndex:Vt(Yr)?0:-1,"aria-label":zr(da,tr,c.options,c),onClick:$e(Yr,tr),onBlur:Mr(Yr,tr),onFocus:Dt(Yr,tr),onKeyDown:qr(Yr,tr),onMouseEnter:to(Yr,tr),onMouseLeave:Ko(Yr,tr)},ae(da,c.options,c)):!tr.hidden&&ae(Yr.date,c.options,c))}))))))})),r.footer&&q(i.Footer,{className:h[mr.Footer],style:te?.[mr.Footer],role:"status","aria-live":"polite"},r.footer)))}function mxe({className:e,classNames:r,showOutsideDays:a=!0,captionLayout:i="label",buttonVariant:s="ghost",formatters:l,components:c,...d}){let h=pN();return t(pxe,{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:(x)=>x.toLocaleString("default",{month:"short"}),...l},classNames:{root:C("w-fit",h.root),months:C("relative flex flex-col gap-4 md:flex-row",h.months),month:C("flex w-full flex-col gap-4",h.month),nav:C("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",h.nav),button_previous:C(EF({variant:s}),"size-(--cell-size) p-0 select-none aria-disabled:opacity-50",h.button_previous),button_next:C(EF({variant:s}),"size-(--cell-size) p-0 select-none aria-disabled:opacity-50",h.button_next),month_caption:C("flex h-(--cell-size) w-full items-center justify-center px-(--cell-size)",h.month_caption),dropdowns:C("flex h-(--cell-size) w-full items-center justify-center gap-1.5 text-sm font-medium",h.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",h.dropdown_root),dropdown:C("absolute inset-0 bg-popover opacity-0",h.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",h.caption_label),month_grid:"w-full border-collapse",weekdays:C("flex",h.weekdays),weekday:C("flex-1 rounded-md text-[0.8rem] font-normal text-muted-foreground select-none",h.weekday),week:C("mt-2 flex w-full",h.week),week_number_header:C("w-(--cell-size) select-none",h.week_number_header),week_number:C("text-[0.8rem] text-muted-foreground select-none",h.week_number),day:C("group/day relative aspect-square h-full w-full p-0 text-center select-none [&:last-child[data-selected=true]_button]:rounded-r-md",d.showWeekNumber?"[&:nth-child(2)[data-selected=true]_button]:rounded-l-md":"[&:first-child[data-selected=true]_button]:rounded-l-md",h.day),range_start:C("rounded-l-md bg-accent",h.range_start),range_middle:C("rounded-none",h.range_middle),range_end:C("rounded-r-md bg-accent",h.range_end),today:C("rounded-md bg-accent text-accent-foreground data-[selected=true]:rounded-none",h.today),outside:C("text-muted-foreground aria-selected:text-muted-foreground",h.outside),disabled:C("text-muted-foreground opacity-50",h.disabled),hidden:C("invisible",h.hidden),...r},components:{Root:({className:x,rootRef:v,...y})=>t("div",{"data-slot":"calendar",ref:v,className:C(x),...y}),Chevron:({className:x,orientation:v,...y})=>{if(v==="left")return t(an,{className:C("size-4",x),...y});if(v==="right")return t(It,{className:C("size-4",x),...y});return t(ve,{className:C("size-4",x),...y})},DayButton:gIt,WeekNumber:({children:x,...v})=>t("td",{...v,children:t("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:x})}),...c},...d})}function gIt({className:e,day:r,modifiers:a,...i}){let s=pN(),l=_(null);return m(()=>{if(a.focused)l.current?.focus()},[a.focused]),t(S,{ref:l,variant:"ghost",size:"icon","data-day":r.date.toLocaleDateString(),"data-selected-single":a.selected&&!a.range_start&&!a.range_end&&!a.range_middle,"data-range-start":a.range_start,"data-range-end":a.range_end,"data-range-middle":a.range_middle,className:C("flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground dark:hover:text-accent-foreground [&>span]:text-xs [&>span]:opacity-70",s.day,e),...i})}function uo({className:e,orientation:r="horizontal",decorative:a=!0,...i}){return t(wTe,{"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})}E();function Ii({value:e,onChange:r,placeholder:a="Pick a date",disabled:i,className:s}){let[l,c]=u(!1),[d,h]=u(e);m(()=>{if(l)h(e)},[l,e]);let x=Array.from({length:24},(D,U)=>U),v=Array.from({length:12},(D,U)=>U*5),y=(D)=>{if(D){let U=d?new Date(d):new Date;U.setFullYear(D.getFullYear()),U.setMonth(D.getMonth()),U.setDate(D.getDate()),h(U)}else h(void 0)},k=(D,U)=>{let A=d?new Date(d):new Date;if(D==="hour")A.setHours(U);else A.setMinutes(U);h(A)},b=(D)=>{let U=new Date;if(D==="24h")U=hZe(U,24);else if(D==="1w")U=jO(U,1);else if(D==="2w")U=jO(U,2);h(U)},T=()=>{r?.(d),c(!1)};return o(Je,{open:l,onOpenChange:c,children:[t(Xe,{asChild:!0,children:o(S,{variant:"outline",disabled:i,className:C("w-full justify-start text-left font-normal h-9",!e&&"text-muted-foreground",s),children:[t(Gn,{className:"mr-2 h-4 w-4"}),e?yr(e,"yyyy/MM/dd HH:mm"):t("span",{children:a})]})}),t(et,{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(mxe,{mode:"single",selected:d,onSelect:y,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(le,{className:"w-64 sm:w-auto [&_[data-orientation=vertical]]:hidden",children:[t("div",{className:"flex sm:flex-col p-2",children:x.map((D)=>t(S,{size:"icon",variant:d&&d.getHours()===D?"default":"ghost",className:"sm:w-full shrink-0 aspect-square text-xs h-8 w-8",onClick:()=>k("hour",D),children:D.toString().padStart(2,"0")},D))}),t(t3,{orientation:"horizontal",className:"sm:hidden"})]}),o(le,{className:"w-64 sm:w-auto [&_[data-orientation=vertical]]:hidden",children:[t("div",{className:"flex sm:flex-col p-2",children:v.map((D)=>t(S,{size:"icon",variant:d&&d.getMinutes()===D?"default":"ghost",className:"sm:w-full shrink-0 aspect-square text-xs h-8 w-8",onClick:()=>k("minute",D),children:D.toString().padStart(2,"0")},D))}),t(t3,{orientation:"horizontal",className:"sm:hidden"})]})]})]}),t(uo,{}),o("div",{className:"p-2 flex items-center justify-between bg-muted/50",children:[o("div",{className:"flex gap-2",children:[t(S,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2",onClick:()=>b("24h"),children:"24 Hours"}),t(S,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2",onClick:()=>b("1w"),children:"1 Week"}),t(S,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2",onClick:()=>b("2w"),children:"2 Weeks"})]}),t(S,{size:"sm",className:"h-7 px-4",onClick:T,children:"Save"})]})]})})]})}E();var MIt=[We.TODO,We.READY,We.IN_PROGRESS,We.IN_REVIEW,We.DONE,We.BLOCKED];function of({teamId:e,currentTaskId:r,excludeTaskIds:a=[],value:i=[],knownTasks:s=[],onChange:l,disabled:c=!1,canEdit:d=!0,className:h}){let[x,v]=u(!1),[y,k]=u(We.TODO),[b,T]=u(""),[D,U]=u(()=>{let he={};for(let be of s)he[be.id]={title:be.title,status:be.status};return he}),{data:A,isLoading:j}=Z({queryKey:["teams",e,"kanban","tasks","status",y],queryFn:async()=>{let he=await g.api.teams[":teamId"].kanban.tasks.$get({param:{teamId:e},query:{status:y,first:"100"}});if(!he.ok)return{data:[]};return await he.json()},enabled:!!e&&x}),V=A?.data||[];N(()=>{if(V.length>0)U((he)=>{let be=!1,Qe={...he};for(let Ye of V)if(!Qe[Ye.id]||Qe[Ye.id].title!==Ye.title||Qe[Ye.id].status!==Ye.status)Qe[Ye.id]={title:Ye.title,status:Ye.status},be=!0;return be?Qe:he})},[V]);let J=N(()=>{let he=new Set(a);if(r)he.add(r);return he},[r,a]),ee=N(()=>{let he=b.trim().toLowerCase();return V.filter((be)=>{if(J.has(be.id))return!1;if(!he)return!0;return be.title.toLowerCase().includes(he)})},[V,J,b]),te=(he)=>{if(!d||c)return;let Qe=i.includes(he)?i.filter((Ye)=>Ye!==he):[...i,he];l?.(Qe)},re=(he,be)=>{if(be.stopPropagation(),!d||c)return;l?.(i.filter((Qe)=>Qe!==he))},ae=d&&!c;return o(Je,{open:x&&ae,onOpenChange:(he)=>ae&&v(he),children:[t(Xe,{asChild:!0,children:t("div",{role:"button",tabIndex:ae?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",ae?"cursor-pointer hover:border-ring/60 focus:outline-none focus:ring-2 focus:ring-ring/50":"cursor-not-allowed opacity-70",h),children:i.length===0?o("div",{className:"flex items-center gap-1.5 text-muted-foreground",children:[t(Hs,{className:"w-3.5 h-3.5 text-muted-foreground/70"}),t("span",{children:lZt()})]}):i.map((he)=>{let be=D[he];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:[be?.status&&t("span",{className:C("px-1 py-0.2 rounded text-[9px] uppercase font-semibold shrink-0",xz(be.status)),children:co(be.status)}),t("span",{className:"truncate font-medium",children:be?.title||he}),ae&&t("button",{type:"button",onClick:(Qe)=>re(he,Qe),className:"text-muted-foreground hover:text-destructive shrink-0 p-0.5 -mr-1",children:t(Ne,{className:"w-3 h-3"})})]},he)})})}),o(et,{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:MIt.map((he)=>t("button",{type:"button",onClick:()=>k(he),className:C("text-[11px] h-7 px-2.5 rounded-md font-medium transition-colors border shrink-0",y===he?"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:co(he)},he))}),o("div",{className:"relative",children:[t(zt,{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(z,{value:b,onChange:(he)=>T(he.target.value),placeholder:GHe(),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(le,{className:"h-48 p-1",children:j?t("div",{className:"flex items-center justify-center py-8",children:t(O,{className:"w-4 h-4 animate-spin text-muted-foreground"})}):ee.length===0?t("div",{className:"py-8 text-center text-xs text-muted-foreground italic",children:uce()}):t("div",{className:"space-y-1",children:ee.map((he)=>{let be=i.includes(he.id);return o("div",{onClick:()=>te(he.id),className:C("flex items-center justify-between p-2 rounded-md hover:bg-accent cursor-pointer transition-colors text-xs border border-transparent",be&&"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",be?"bg-primary border-primary text-primary-foreground":"border-input bg-background"),children:be&&t(Me,{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",xz(he.status)),children:co(he.status)}),t("span",{className:"font-medium text-foreground truncate",children:he.title})]}),he.assignee&&t("span",{className:"text-[10px] text-muted-foreground truncate shrink-0",children:he.assignee.name})]},he.id)})})})})]})]})}E();function ur({className:e,...r}){return t(gIe,{"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(xIe,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none",children:t(Me,{className:"size-3.5"})})})}function Lr(e){if(!e||e<=0)return"0 B";let r=1000,a=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.floor(Math.log(e)/Math.log(r));if(i<0)i=0;if(i>=a.length)i=a.length-1;let s=e/Math.pow(r,i);if(i===0)return`${Math.round(s)} B`;let l=parseFloat(s.toFixed(2));if(l>=1000&&i<a.length-1)return parseFloat((e/Math.pow(r,i+1)).toFixed(2))+" "+a[i+1];return`${l} ${a[i]}`}E();function hxe({teamId:e,initialProjectId:r,excludeAssetIds:a=[],isOpen:i,onClose:s,onConfirm:l}){let[c,d]=u(r||""),[h,x]=u(null),[v,y]=u(new Map),{data:k,isLoading:b}=Z({queryKey:["teams",e,"projects"],queryFn:async()=>{let St=await g.api.teams[":teamId"].projects.$get({param:{teamId:e},query:{first:"100"}});if(!St.ok)throw Error("Failed to fetch projects");return await St.json()},enabled:!!e&&i}),T=k?.data||[],D=c||(T[0]?.id??""),U=T.find((St)=>St.id===D),A=h?.id||U?.rootFolder||"",j=A===U?.rootFolder,{data:V,fetchNextPage:J,hasNextPage:ee,isFetchingNextPage:te,isLoading:re}=pt({queryKey:["folders",A,"children","folder","picker"],queryFn:async({pageParam:St})=>{let Ht=await g.api.folders[":folderId"].children.$get({param:{folderId:A},query:{assetType:"folder",after:St,first:"20"}});if(!Ht.ok)throw Error("Failed to fetch folders");return await Ht.json()},initialPageParam:"",getNextPageParam:(St)=>St.pageInfo?.cursor||void 0,enabled:!!A&&i}),{data:ae,fetchNextPage:he,hasNextPage:be,isFetchingNextPage:Qe,isLoading:Ye}=pt({queryKey:["folders",A,"children","file","picker"],queryFn:async({pageParam:St})=>{let Ht=await g.api.folders[":folderId"].children.$get({param:{folderId:A},query:{assetType:"file",after:St,first:"20"}});if(!Ht.ok)throw Error("Failed to fetch files");return await Ht.json()},initialPageParam:"",getNextPageParam:(St)=>St.pageInfo?.cursor||void 0,enabled:!!A&&i}),{ref:Se,inView:Ge}=Nt();m(()=>{if(Ge){if(ee&&!te)J();else if(be&&!Qe)he()}},[Ge,ee,te,J,be,Qe,he]);let rt=re&&!V||Ye&&!ae,tt=te||Qe,bt=N(()=>{let St=V?.pages.flatMap((Oe)=>Oe.data??[])??[],Ht=ae?.pages.flatMap((Oe)=>Oe.data??[])??[];return[...St,...Ht]},[V,ae]),jt=(St)=>{let Ht=new Map(v);if(Ht.has(St.id))Ht.delete(St.id);else{let Oe=U?`/${[U.name,...(St.ancestorFolders||[]).map((nr)=>nr.name)].filter(Boolean).join("/")}`:"/";Ht.set(St.id,{id:St.id,name:St.name,type:St.type,proxyType:St.proxyType??null,thumbnailUrl:St.preview?.thumbnailUrl??null,path:Oe,creator:St.creator?{id:St.creator.id,name:St.creator.name,image:St.creator.image??void 0}:null,sizeByte:St.sizeByte??0,fileCount:St.fileCount??null,projectId:St.projectId??U?.id??null,createdAt:St.createdAt??new Date().toISOString()})}y(Ht)},qt=()=>{if(!h||j)return;let St=new Map(v);if(St.has(h.id))St.delete(h.id);else{let Ht=U?`/${[U.name,...(h.ancestorFolders||[]).map((Oe)=>Oe.name)].filter(Boolean).join("/")}`:"/";St.set(h.id,{id:h.id,name:h.name,type:"folder",proxyType:null,thumbnailUrl:null,path:Ht,creator:h.creator?{id:h.creator.id,name:h.creator.name,image:h.creator.image??void 0}:null,sizeByte:h.sizeByte??0,fileCount:h.fileCount??null,projectId:h.projectId??U?.id??null,createdAt:h.createdAt??new Date().toISOString()})}y(St)},se=()=>{l(Array.from(v.values())),s()};return t(de,{open:i,onOpenChange:(St)=>{if(!St)s()},children:o(ce,{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(lr,{className:"w-5 h-5 text-primary"}),t(ue,{children:Edt()})]})}),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:[pBe(),":"]}),t("div",{className:"w-64",children:o(Fe,{value:D,onValueChange:(St)=>{d(St),x(null)},children:[t(Ze,{className:"h-8 text-xs bg-background",children:t(Le,{placeholder:rH()})}),t(Be,{children:T.map((St)=>t(oe,{value:St.id,className:"text-xs",children:St.name},St.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(le,{className:"flex-1 min-h-0 [&>div>div]:block!",children:U&&U.rootFolder?t("div",{className:"p-2",children:t(Sr,{teamId:e,projectId:U.id,projectName:U.name,rootFolderId:U.rootFolder,onSelect:(St)=>x(St),selectedFolderId:A,hideCollections:!0,hideShares:!0,hideRecentlyDeleted:!0})}):t("div",{className:"flex items-center justify-center h-full p-6 text-xs text-muted-foreground",children:b?t(O,{className:"w-5 h-5 animate-spin text-muted-foreground"}):dce()})})}),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(lr,{className:"w-4 h-4 text-muted-foreground shrink-0"}),t("span",{className:"truncate",children:h?h.name:U?.name||""}),j&&t("span",{className:"text-[10px] text-muted-foreground/70 bg-muted px-1.5 py-0.5 rounded",children:"Root"})]}),!j&&h&&t(S,{size:"sm",variant:v.has(h.id)?"secondary":"outline",className:"h-7 text-xs gap-1.5",onClick:qt,disabled:a.includes(h.id),children:v.has(h.id)?o(L,{children:[t(Me,{className:"w-3.5 h-3.5 text-primary"}),fA()]}):o(L,{children:[t(pe,{className:"w-3.5 h-3.5"}),jdt()]})})]}),t(le,{className:"flex-1 min-h-0 [&>div>div]:block!",children:rt?t("div",{className:"flex items-center justify-center p-12",children:t(O,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):bt.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(lr,{className:"w-8 h-8 opacity-30"}),t("p",{children:Uet()})]}):o("div",{className:"divide-y divide-border/40",children:[bt.map((St)=>{let Ht=a.includes(St.id),Oe=v.has(St.id),nr=St.type==="folder";return o("div",{onClick:()=>{if(!Ht)jt(St)},className:`flex items-center gap-3 px-4 py-2.5 hover:bg-muted/40 cursor-pointer transition-colors ${Oe?"bg-primary/5":""} ${Ht?"opacity-50 cursor-not-allowed":""}`,children:[t(ur,{checked:Oe,disabled:Ht,onCheckedChange:()=>{if(!Ht)jt(St)},onClick:(fr)=>fr.stopPropagation()}),t("div",{className:"w-9 h-9 rounded bg-muted/60 border shrink-0 flex items-center justify-center overflow-hidden",children:St.preview?.thumbnailUrl?t("img",{src:St.preview.thumbnailUrl,alt:St.name,className:"w-full h-full object-cover"}):nr?t(lr,{className:"w-5 h-5 text-primary fill-primary/20"}):t(ar,{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:St.name}),o("p",{className:"text-[11px] text-muted-foreground truncate",children:[nr?`${St.fileCount??0} items`:Lr(St.sizeByte||0),St.creator?.name?` • ${St.creator.name}`:""]})]})]},St.id)}),t("div",{ref:Se,className:"h-1"}),tt&&t("div",{className:"flex items-center justify-center p-3",children:t(O,{className:"w-4 h-4 animate-spin text-muted-foreground"})})]})})]})]}),o(He,{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:v.size>0&&g$e({count:v.size})}),o("div",{className:"flex items-center gap-2",children:[t(S,{variant:"outline",size:"sm",onClick:s,children:Re()}),t(S,{size:"sm",onClick:se,disabled:v.size===0,children:Qle()})]})]})]})})}function sf({teamId:e,projectId:r,assets:a,onAddAssets:i,onRemoveAsset:s,disabled:l=!1,linkable:c=!1}){let[d,h]=u(!1),x=(v)=>{let y=new Set(a.map((b)=>b.id)),k=v.filter((b)=>!y.has(b.id));if(k.length>0)i(k)};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(ka,{className:"w-3.5 h-3.5 text-muted-foreground"}),t("span",{children:dct()}),a.length>0&&o("span",{className:"text-[11px] text-muted-foreground font-normal",children:["(",a.length,")"]})]}),!l&&t(S,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0 hover:bg-muted",onClick:()=>h(!0),title:Qle(),children:t(pe,{className:"w-3.5 h-3.5"})})]}),t(uo,{}),a.length===0?t("p",{className:"text-xs text-muted-foreground/70 py-1 italic",children:ert()}):t("div",{className:"space-y-1.5 max-h-48 overflow-y-auto pr-1",children:a.map((v)=>{let y=v.type==="folder",k=v.projectId||r,b=c&&k?`/projects/${k}/${y?"folders":"files"}/${v.id}`:null,T=o(L,{children:[t("div",{className:"w-7 h-7 rounded bg-muted border shrink-0 flex items-center justify-center overflow-hidden",children:v.thumbnailUrl?t("img",{src:v.thumbnailUrl,alt:v.name,className:"w-full h-full object-cover"}):y?t(lr,{className:"w-4 h-4 text-primary fill-primary/20"}):t(ar,{className:"w-4 h-4 text-muted-foreground"})}),o("div",{className:"flex-1 min-w-0",children:[t("p",{className:C("font-medium truncate text-foreground leading-snug",b&&"group-hover:underline group-hover:text-primary"),children:v.name}),t("p",{className:"text-[10px] text-muted-foreground truncate leading-none mt-0.5",children:v.path||"/"})]})]});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:[b?t(xn,{to:b,title:v.name,className:"group flex items-center gap-2.5 min-w-0 flex-1 rounded-sm cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:T}):t("div",{className:"flex items-center gap-2.5 min-w-0 flex-1",children:T}),o("div",{className:"flex items-center gap-2 shrink-0",children:[v.creator&&o("div",{className:"flex items-center gap-1 text-[11px] text-muted-foreground",title:v.creator.name,children:[o(Ce,{className:"w-4 h-4 text-[9px]",children:[t(Ie,{src:v.creator.image||void 0}),t(Te,{children:v.creator.name.slice(0,1).toUpperCase()})]}),t("span",{className:"hidden sm:inline text-[11px] max-w-[80px] truncate",children:v.creator.name})]}),!l&&t(S,{type:"button",variant:"ghost",size:"sm",className:"h-5 w-5 p-0 text-muted-foreground hover:text-destructive hover:bg-destructive/10",onClick:()=>s(v.id),title:hvt(),children:t(Ne,{className:"w-3 h-3"})})]})]},v.id)})}),d&&t(hxe,{teamId:e,initialProjectId:r,excludeAssetIds:a.map((v)=>v.id),isOpen:d,onClose:()=>h(!1),onConfirm:x})]})}E();function af({teamId:e,currentProjectId:r,currentTargetFolderId:a,isOpen:i,onClose:s,onSelect:l}){let[c,d]=u(r||""),[h,x]=u(null),{data:v,isLoading:y}=Z({queryKey:["teams",e,"projects"],queryFn:async()=>{let U=await g.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}),k=v?.data||[],b=c||(k[0]?.id??""),T=k.find((U)=>U.id===b),D=()=>{if(!b)return;let U=h?.id||T?.rootFolder;if(U)l(b,U,h?.name||T?.name),s()};return t(de,{open:i,onOpenChange:(U)=>!U&&s(),children:o(ce,{className:"sm:max-w-2xl flex flex-col h-[580px]",children:[t(me,{children:o("div",{className:"flex items-center gap-2",children:[t(lr,{className:"w-5 h-5 text-primary"}),t(ue,{children:Hp()})]})}),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:rH()}),o(Fe,{value:b,onValueChange:(U)=>{d(U),x(null)},children:[t(Ze,{className:"h-9",children:t(Le,{placeholder:rH()})}),t(Be,{children:k.map((U)=>t(oe,{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:Xp()}),t("div",{className:"border rounded-md flex-1 overflow-hidden bg-sidebar/50",children:t(le,{className:"h-full",children:T&&T.rootFolder?t(Sr,{teamId:e,projectId:T.id,projectName:T.name,rootFolderId:T.rootFolder,onSelect:x,selectedFolderId:h?.id||a||T.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:y?t(O,{className:"w-5 h-5 animate-spin text-muted-foreground"}):dce()})})})]})]}),o(He,{children:[t(S,{variant:"outline",onClick:s,children:Re()}),t(S,{onClick:D,disabled:!b,children:na()})]})]})})}function gxe({teamId:e,task:r,canEdit:a=!0}){let i=G(),[s,l]=u(r.title),[c,d]=u(r.description||""),[h,x]=u(!1),[v,y]=u(null),k=_(null);m(()=>{l(r.title),d(r.description||"")},[r.id,r.title,r.description]);let{data:b=[]}=Z({queryKey:["teams",e,"members","human"],queryFn:async()=>{let re=await g.api.teams[":teamId"].members.$get({param:{teamId:e},query:{includeAgents:"false"}});if(!re.ok)return[];let ae=await re.json();return Array.isArray(ae)?ae:[]},enabled:!!e}),{data:T=[]}=Z({queryKey:["teams",e,"agents"],queryFn:async()=>{let re=await g.api.teams[":teamId"].agents.$get({param:{teamId:e}});if(!re.ok)return[];return await re.json()||[]},enabled:!!e}),{data:D}=Z({queryKey:["teams",e,"kanban","goals"],queryFn:async()=>{let re=await g.api.teams[":teamId"].kanban.goals.$get({param:{teamId:e},query:{}});if(!re.ok)return{data:[]};return await re.json()},enabled:!!e}),U=D?.data||[],{mutate:A,isPending:j}=B({mutationFn:async(re)=>{let ae=await g.api.teams[":teamId"].kanban.tasks[":taskId"].$patch({param:{teamId:e,taskId:r.id},json:re});if(!ae.ok){let he=await ae.json().catch(()=>({message:Fn()}));throw Error(he.message||Fn())}return await ae.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","task",r.id]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]})},onError:(re)=>{M.error(re.message)}}),{mutate:V}=B({mutationFn:async(re)=>{let ae=await g.api.teams[":teamId"].kanban.tasks[":taskId"].assets.$post({param:{teamId:e,taskId:r.id},json:{assetIds:re.map((he)=>he.id)}});if(!ae.ok)throw Error("Failed to link assets");return await ae.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","task",r.id]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]}),M.success($le())},onError:(re)=>{M.error(re.message)}}),{mutate:J}=B({mutationFn:async(re)=>{let ae=await g.api.teams[":teamId"].kanban.tasks[":taskId"].assets[":assetId"].$delete({param:{teamId:e,taskId:r.id,assetId:re}});if(!ae.ok)throw Error("Failed to unlink asset");return await ae.json()},onSuccess:()=>{i.invalidateQueries({queryKey:["teams",e,"kanban","task",r.id]}),i.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]}),M.success(ece())},onError:(re)=>{M.error(re.message)}}),ee=(re,ae)=>{if(re==="title")l(ae);if(re==="description")d(ae);if(k.current)clearTimeout(k.current);k.current=setTimeout(()=>{if(re==="title"&&ae.trim()&&ae.trim()!==r.title)A({title:ae.trim()});else if(re==="description"&&ae!==(r.description||""))A({description:ae.trim()||null})},600)},te=r.isAgentTask;return o(le,{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(W,{htmlFor:"task-title",className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:FA()}),j&&o("span",{className:"flex items-center gap-1 text-[11px] text-muted-foreground animate-pulse",children:[t(O,{className:"w-3 h-3 animate-spin"}),pA()]})]}),t(z,{id:"task-title",value:s,onChange:(re)=>ee("title",re.target.value),disabled:!a,className:"text-base font-semibold h-10 bg-background",placeholder:LA()})]}),o("div",{className:"space-y-1.5",children:[t(W,{htmlFor:"task-description",className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:RA()}),t(Ci,{id:"task-description",value:c,onChange:(re)=>ee("description",re.target.value),disabled:!a,rows:5,className:"text-xs leading-relaxed bg-background",placeholder:PA()})]}),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(W,{className:"text-xs font-medium text-muted-foreground flex items-center gap-1.5",children:[t(Mt,{className:"w-3.5 h-3.5 text-orange-500"}),t("span",{children:Kd()})]}),t("p",{className:"text-[11px] text-muted-foreground/80 line-clamp-1",children:BA()})]}),t(ke,{checked:r.isAgentTask,disabled:!0})]}),o("div",{className:"space-y-1.5",children:[t(W,{className:"text-xs font-medium text-muted-foreground",children:DA()}),o(Fe,{value:r.priority,onValueChange:(re)=>A({priority:re}),disabled:!a,children:[t(Ze,{className:"w-full h-8 text-xs bg-background",children:t(Le,{})}),t(Be,{children:Object.values($r).map((re)=>t(oe,{value:re,children:t("span",{className:C("px-1.5 py-0.5 rounded text-[10px] uppercase font-medium",la(re)),children:aa(re)})},re))})]})]}),o("div",{className:"space-y-1.5",children:[t(W,{className:"text-xs font-medium text-muted-foreground",children:Id()}),o(Fe,{value:r.goal?.id||"none",onValueChange:(re)=>A({goalId:re==="none"?null:re}),disabled:!a,children:[t(Ze,{className:"w-full h-8 text-xs bg-background",children:t(Le,{placeholder:ftt()})}),o(Be,{children:[t(oe,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:"None"})}),U.filter((re)=>re.id!==Si).map((re)=>t(oe,{value:re.id,children:o("div",{className:"flex items-center gap-2",children:[t(Co,{className:"w-3.5 h-3.5 text-primary"}),t("span",{children:re.title})]})},re.id))]})]})]}),o("div",{className:"space-y-1.5",children:[t(W,{className:"text-xs font-medium text-muted-foreground",children:te?Gd():gh()}),o(Fe,{value:r.assignee?.id||"none",onValueChange:(re)=>A({assigneeId:re==="none"?null:re}),disabled:!a,children:[t(Ze,{className:"w-full h-8 text-xs bg-background",children:t(Le,{placeholder:vs()})}),o(Be,{children:[t(oe,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:vs()})}),te?T.map((re)=>t(oe,{value:re.id,children:o("div",{className:"flex items-center gap-2",children:[t(Mt,{className:"w-3.5 h-3.5 text-purple-500"}),t("span",{children:re.name})]})},re.id)):b.map((re)=>t(oe,{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(W,{className:"text-xs font-medium text-muted-foreground",children:iA()}),o(Fe,{value:r.reporter?.id||"none",onValueChange:(re)=>A({reporterId:re==="none"?null:re}),disabled:!a,children:[t(Ze,{className:"w-full h-8 text-xs bg-background",children:t(Le,{placeholder:vs()})}),o(Be,{children:[t(oe,{value:"none",children:t("span",{className:"text-muted-foreground italic",children:vs()})}),b.map((re)=>t(oe,{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))]})]})]}),te&&o("div",{className:"sm:col-span-2 space-y-1.5",children:[t(W,{className:"text-xs font-medium text-muted-foreground",children:Xp()}),t("div",{className:"flex items-center gap-2",children:o(S,{type:"button",variant:"outline",size:"sm",onClick:()=>x(!0),disabled:!a,className:"w-full justify-start h-8 text-xs bg-background truncate font-normal",children:[t(lr,{className:"w-3.5 h-3.5 mr-2 text-primary shrink-0"}),t("span",{className:"truncate",children:v||(r.targetFolderId?"Selected Folder":Hp())})]})})]}),o("div",{className:"space-y-1.5",children:[t(W,{className:"text-xs font-medium text-muted-foreground",children:Vd()}),t(Ii,{value:r.startDate?new Date(r.startDate):void 0,onChange:(re)=>A({startDate:re?re.toISOString():null}),disabled:!a,placeholder:Vd(),className:"h-8 text-xs bg-background"})]}),o("div",{className:"space-y-1.5",children:[t(W,{className:"text-xs font-medium text-muted-foreground",children:bd()}),t(Ii,{value:r.dueDate?new Date(r.dueDate):void 0,onChange:(re)=>A({dueDate:re?re.toISOString():null}),disabled:!a,placeholder:bd(),className:"h-8 text-xs bg-background"})]}),o("div",{className:"sm:col-span-2 space-y-1.5",children:[t(W,{className:"text-xs font-medium text-muted-foreground",children:Lg()}),t(of,{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)=>A({parentIds:re}),canEdit:a})]}),t("div",{className:"sm:col-span-2 pt-1",children:t(sf,{teamId:e,projectId:r.projectId,assets:r.assets||[],onAddAssets:(re)=>V(re),onRemoveAsset:(re)=>J(re),disabled:!a,linkable:!0})})]})]}),h&&t(af,{teamId:e,currentProjectId:r.projectId,currentTargetFolderId:r.targetFolderId,isOpen:h,onClose:()=>x(!1),onSelect:(re,ae,he)=>{y(he||"Selected Folder"),A({projectId:re,targetFolderId:ae})}})]})}E();E();function Ts(){}function Wj(){}function Mxe(e,r){let a=r||{};return(e[e.length-1]===""?[...e,""]:e).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}var xIt=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,vIt=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,_It={};function Gj(e,r){return((r||_It).jsx?vIt:xIt).test(e)}var yIt=/[ \t\n\f\r]/g;function WG(e){return typeof e==="object"?e.type==="text"?xxe(e.value):!1:xxe(e)}function xxe(e){return e.replace(yIt,"")===""}class bz{constructor(e,r,a){if(this.normal=r,this.property=e,a)this.space=a}}bz.prototype.normal={};bz.prototype.property={};bz.prototype.space=void 0;function GG(e,r){let a={},i={};for(let s of e)Object.assign(a,s.property),Object.assign(i,s.normal);return new bz(a,i,r)}function hN(e){return e.toLowerCase()}class wf{constructor(e,r){this.attribute=r,this.property=e}}wf.prototype.attribute="";wf.prototype.booleanish=!1;wf.prototype.boolean=!1;wf.prototype.commaOrSpaceSeparated=!1;wf.prototype.commaSeparated=!1;wf.prototype.defined=!1;wf.prototype.mustUseProperty=!1;wf.prototype.number=!1;wf.prototype.overloadedBoolean=!1;wf.prototype.property="";wf.prototype.spaceSeparated=!1;wf.prototype.space=void 0;var bIt=0,Qr=ik(),Un=ik(),Kj=ik(),Jt=ik(),ua=ik(),XM=ik(),ul=ik();function ik(){return 2**++bIt}var KG=Object.keys(gN);class EP extends wf{constructor(e,r,a,i){let s=-1;super(e,r);if(vxe(this,"space",i),typeof a==="number")while(++s<KG.length){let l=KG[s];vxe(this,KG[s],(a&gN[l])===gN[l])}}}EP.prototype.defined=!0;function vxe(e,r,a){if(a)e[r]=a}function Tc(e){let r={},a={};for(let[i,s]of Object.entries(e.properties)){let l=new EP(i,e.transform(e.attributes||{},i),s,e.space);if(e.mustUseProperty&&e.mustUseProperty.includes(i))l.mustUseProperty=!0;r[i]=l,a[hN(i)]=i,a[hN(l.attribute)]=i}return new bz(r,a,e.space)}var XG=Tc({properties:{ariaActiveDescendant:null,ariaAtomic:Un,ariaAutoComplete:null,ariaBusy:Un,ariaChecked:Un,ariaColCount:Jt,ariaColIndex:Jt,ariaColSpan:Jt,ariaControls:ua,ariaCurrent:null,ariaDescribedBy:ua,ariaDetails:null,ariaDisabled:Un,ariaDropEffect:ua,ariaErrorMessage:null,ariaExpanded:Un,ariaFlowTo:ua,ariaGrabbed:Un,ariaHasPopup:null,ariaHidden:Un,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ua,ariaLevel:Jt,ariaLive:null,ariaModal:Un,ariaMultiLine:Un,ariaMultiSelectable:Un,ariaOrientation:null,ariaOwns:ua,ariaPlaceholder:null,ariaPosInSet:Jt,ariaPressed:Un,ariaReadOnly:Un,ariaRelevant:null,ariaRequired:Un,ariaRoleDescription:ua,ariaRowCount:Jt,ariaRowIndex:Jt,ariaRowSpan:Jt,ariaSelected:Un,ariaSetSize:Jt,ariaSort:null,ariaValueMax:Jt,ariaValueMin:Jt,ariaValueNow:Jt,ariaValueText:null,role:null},transform(e,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()}});function Xj(e,r){return r in e?e[r]:r}function Qj(e,r){return Xj(e,r.toLowerCase())}var _xe=Tc({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:XM,acceptCharset:ua,accessKey:ua,action:null,allow:null,allowFullScreen:Qr,allowPaymentRequest:Qr,allowUserMedia:Qr,alpha:Qr,alt:null,as:null,async:Qr,autoCapitalize:null,autoComplete:ua,autoFocus:Qr,autoPlay:Qr,blocking:ua,capture:null,charSet:null,checked:Qr,cite:null,className:ua,closedBy:null,colorSpace:null,cols:Jt,colSpan:Jt,command:null,commandFor:null,content:null,contentEditable:Un,controls:Qr,controlsList:ua,coords:Jt|XM,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Qr,defer:Qr,dir:null,dirName:null,disabled:Qr,download:Kj,draggable:Un,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Qr,formTarget:null,headers:ua,height:Jt,hidden:Kj,high:Jt,href:null,hrefLang:null,htmlFor:ua,httpEquiv:ua,id:null,imageSizes:null,imageSrcSet:null,inert:Qr,inputMode:null,integrity:null,is:null,isMap:Qr,itemId:null,itemProp:ua,itemRef:ua,itemScope:Qr,itemType:ua,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Qr,low:Jt,manifest:null,max:null,maxLength:Jt,media:null,method:null,min:null,minLength:Jt,multiple:Qr,muted:Qr,name:null,nonce:null,noModule:Qr,noValidate:Qr,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:Qr,optimum:Jt,pattern:null,ping:ua,placeholder:null,playsInline:Qr,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Qr,referrerPolicy:null,rel:ua,required:Qr,reversed:Qr,rows:Jt,rowSpan:Jt,sandbox:ua,scope:null,scoped:Qr,seamless:Qr,selected:Qr,shadowRootClonable:Qr,shadowRootCustomElementRegistry:Qr,shadowRootDelegatesFocus:Qr,shadowRootMode:null,shadowRootSerializable:Qr,shape:null,size:Jt,sizes:null,slot:null,span:Jt,spellCheck:Un,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Jt,step:null,style:null,tabIndex:Jt,target:null,title:null,translate:null,type:null,typeMustMatch:Qr,useMap:null,value:Un,width:Jt,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ua,axis:null,background:null,bgColor:null,border:Jt,borderColor:null,bottomMargin:Jt,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Qr,declare:Qr,event:null,face:null,frame:null,frameBorder:null,hSpace:Jt,leftMargin:Jt,link:null,longDesc:null,lowSrc:null,marginHeight:Jt,marginWidth:Jt,noResize:Qr,noHref:Qr,noShade:Qr,noWrap:Qr,object:null,profile:null,prompt:null,rev:null,rightMargin:Jt,rules:null,scheme:null,scrolling:Un,standby:null,summary:null,text:null,topMargin:Jt,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Jt,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:Qr,disablePictureInPicture:Qr,disableRemotePlayback:Qr,exportParts:XM,part:ua,prefix:null,property:null,results:Jt,security:null,unselectable:null},space:"html",transform:Qj});var yxe=Tc({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ul,accentHeight:Jt,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Jt,amplitude:Jt,arabicForm:null,ascent:Jt,attributeName:null,attributeType:null,azimuth:Jt,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Jt,by:null,calcMode:null,capHeight:Jt,className:ua,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Jt,diffuseConstant:Jt,direction:null,display:null,dur:null,divisor:Jt,dominantBaseline:null,download:Qr,dx:null,dy:null,edgeMode:null,editable:null,elevation:Jt,enableBackground:null,end:null,event:null,exponent:Jt,externalResourcesRequired:null,fill:null,fillOpacity:Jt,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:XM,g2:XM,glyphName:XM,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Jt,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Jt,horizOriginX:Jt,horizOriginY:Jt,id:null,ideographic:Jt,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Jt,k:Jt,k1:Jt,k2:Jt,k3:Jt,k4:Jt,kernelMatrix:ul,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Jt,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Jt,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Jt,overlineThickness:Jt,paintOrder:null,panose1:null,path:null,pathLength:Jt,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ua,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Jt,pointsAtY:Jt,pointsAtZ:Jt,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ul,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ul,rev:ul,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ul,requiredFeatures:ul,requiredFonts:ul,requiredFormats:ul,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Jt,specularExponent:Jt,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Jt,strikethroughThickness:Jt,string:null,stroke:null,strokeDashArray:ul,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Jt,strokeOpacity:Jt,strokeWidth:null,style:null,surfaceScale:Jt,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ul,tabIndex:Jt,tableValues:null,target:null,targetX:Jt,targetY:Jt,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ul,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Jt,underlineThickness:Jt,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Jt,values:null,vAlphabetic:Jt,vMathematical:Jt,vectorEffect:null,vHanging:Jt,vIdeographic:Jt,version:null,vertAdvY:Jt,vertOriginX:Jt,vertOriginY:Jt,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Jt,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Xj});var QG=Tc({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 JG=Tc({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Qj});var $G=Tc({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,r){return"xml:"+r.slice(3).toLowerCase()}});var eK={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 wIt=/[A-Z]/g,bxe=/-[a-z]/g,zIt=/^data[-\w.:]+$/i;function tK(e,r){let a=hN(r),i=r,s=wf;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&zIt.test(r)){if(r.charAt(4)==="-"){let l=r.slice(5).replace(bxe,LIt);i="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{let l=r.slice(4);if(!bxe.test(l)){let c=l.replace(wIt,SIt);if(c.charAt(0)!=="-")c="-"+c;r="data"+c}}s=EP}return new s(i,r)}function SIt(e){return"-"+e.toLowerCase()}function LIt(e){return e.charAt(1).toUpperCase()}var wxe=GG([XG,_xe,QG,JG,$G],"html"),Jj=GG([XG,yxe,QG,JG,$G],"svg");function zxe(e){return e.join(" ").trim()}var Uxe=H(Nxe(),1);var $j=Fxe("end"),DP=Fxe("start");function Fxe(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 aK(e){let r=DP(e),a=$j(e);if(r&&a)return{start:r,end:a}}function wz(e){if(!e||typeof e!=="object")return"";if("position"in e||"type"in e)return jxe(e.position);if("start"in e||"end"in e)return jxe(e);if("line"in e||"column"in e)return nK(e);return""}function nK(e){return Bxe(e&&e.line)+":"+Bxe(e&&e.column)}function jxe(e){return nK(e&&e.start)+"-"+nK(e&&e.end)}function Bxe(e){return e&&typeof e==="number"?e:1}class Mi extends Error{constructor(e,r,a){super();if(typeof r==="string")a=r,r=void 0;let i="",s={},l=!1;if(r)if("line"in r&&"column"in r)s={place:r};else if("start"in r&&"end"in r)s={place:r};else if("type"in r)s={ancestors:[r],place:r.position};else s={...r};if(typeof e==="string")i=e;else if(!s.cause&&e)l=!0,i=e.message,s.cause=e;if(!s.ruleId&&!s.source&&typeof a==="string"){let d=a.indexOf(":");if(d===-1)s.ruleId=a;else s.source=a.slice(0,d),s.ruleId=a.slice(d+1)}if(!s.place&&s.ancestors&&s.ancestors){let d=s.ancestors[s.ancestors.length-1];if(d)s.place=d.position}let c=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=c?c.line:void 0,this.name=wz(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=l&&s.cause&&typeof s.cause.stack==="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Mi.prototype.file="";Mi.prototype.name="";Mi.prototype.reason="";Mi.prototype.message="";Mi.prototype.stack="";Mi.prototype.column=void 0;Mi.prototype.line=void 0;Mi.prototype.ancestors=void 0;Mi.prototype.cause=void 0;Mi.prototype.fatal=void 0;Mi.prototype.place=void 0;Mi.prototype.ruleId=void 0;Mi.prototype.source=void 0;var iK={}.hasOwnProperty,$It=new Map,e1t=/[A-Z]/g,t1t=new Set(["table","tbody","thead","tfoot","tr"]),r1t=new Set(["td","th"]),Yxe="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function fK(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=c1t(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=l1t(a,r.jsx,r.jsxs)}let s={Fragment:r.Fragment,ancestors:[],components:r.components||{},create:i,elementAttributeNameCase:r.elementAttributeNameCase||"react",evaluater:r.createEvaluater?r.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:r.ignoreInvalidStyle||!1,passKeys:r.passKeys!==!1,passNode:r.passNode||!1,schema:r.space==="svg"?Jj:wxe,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},l=qxe(s,e,void 0);if(l&&typeof l!=="string")return l;return s.create(e,s.Fragment,{children:l||void 0},void 0)}function qxe(e,r,a){if(r.type==="element")return o1t(e,r,a);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return a1t(e,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return i1t(e,r,a);if(r.type==="mdxjsEsm")return n1t(e,r);if(r.type==="root")return f1t(e,r,a);if(r.type==="text")return s1t(e,r)}function o1t(e,r,a){let i=e.schema,s=i;if(r.tagName.toLowerCase()==="svg"&&i.space==="html")s=Jj,e.schema=s;e.ancestors.push(r);let l=Vxe(e,r.tagName,!1),c=u1t(e,r),d=lK(e,r);if(t1t.has(r.tagName))d=d.filter(function(h){return typeof h==="string"?!WG(h):!0});return Hxe(e,c,l,r),sK(c,d),e.ancestors.pop(),e.schema=i,e.create(r,l,c,a)}function a1t(e,r){if(r.data&&r.data.estree&&e.evaluater){let i=r.data.estree.body[0];return Ts(i.type==="ExpressionStatement"),e.evaluater.evaluateExpression(i.expression)}xN(e,r.position)}function n1t(e,r){if(r.data&&r.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(r.data.estree);xN(e,r.position)}function i1t(e,r,a){let i=e.schema,s=i;if(r.name==="svg"&&i.space==="html")s=Jj,e.schema=s;e.ancestors.push(r);let l=r.name===null?e.Fragment:Vxe(e,r.name,!0),c=d1t(e,r),d=lK(e,r);return Hxe(e,c,l,r),sK(c,d),e.ancestors.pop(),e.schema=i,e.create(r,l,c,a)}function f1t(e,r,a){let i={};return sK(i,lK(e,r)),e.create(r,e.Fragment,i,a)}function s1t(e,r){return r.value}function Hxe(e,r,a,i){if(typeof a!=="string"&&a!==e.Fragment&&e.passNode)r.node=i}function sK(e,r){if(r.length>0){let a=r.length>1?r:r[0];if(a)e.children=a}}function l1t(e,r,a){return i;function i(s,l,c,d){let x=Array.isArray(c.children)?a:r;return d?x(l,c,d):x(l,c)}}function c1t(e,r){return a;function a(i,s,l,c){let d=Array.isArray(l.children),h=DP(i);return r(s,l,c,d,{columnNumber:h?h.column-1:void 0,fileName:e,lineNumber:h?h.line:void 0},void 0)}}function u1t(e,r){let a={},i,s;for(s in r.properties)if(s!=="children"&&iK.call(r.properties,s)){let l=Z1t(e,s,r.properties[s]);if(l){let[c,d]=l;if(e.tableCellAlignToStyle&&c==="align"&&typeof d==="string"&&r1t.has(r.tagName))i=d;else a[c]=d}}if(i){let l=a.style||(a.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=i}return a}function d1t(e,r){let a={};for(let i of r.attributes)if(i.type==="mdxJsxExpressionAttribute")if(i.data&&i.data.estree&&e.evaluater){let l=i.data.estree.body[0];Ts(l.type==="ExpressionStatement");let c=l.expression;Ts(c.type==="ObjectExpression");let d=c.properties[0];Ts(d.type==="SpreadElement"),Object.assign(a,e.evaluater.evaluateExpression(d.argument))}else xN(e,r.position);else{let s=i.name,l;if(i.value&&typeof i.value==="object")if(i.value.data&&i.value.data.estree&&e.evaluater){let d=i.value.data.estree.body[0];Ts(d.type==="ExpressionStatement"),l=e.evaluater.evaluateExpression(d.expression)}else xN(e,r.position);else l=i.value===null?!0:i.value;a[s]=l}return a}function lK(e,r){let a=[],i=-1,s=e.passKeys?new Map:$It;while(++i<r.children.length){let l=r.children[i],c;if(e.passKeys){let h=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(h){let x=s.get(h)||0;c=h+"-"+x,s.set(h,x+1)}}let d=qxe(e,l,c);if(d!==void 0)a.push(d)}return a}function Z1t(e,r,a){let i=tK(e.schema,r);if(a===null||a===void 0||typeof a==="number"&&Number.isNaN(a))return;if(Array.isArray(a))a=i.commaSeparated?Mxe(a):zxe(a);if(i.property==="style"){let s=typeof a==="object"?a:p1t(e,String(a));if(e.stylePropertyNameCase==="css")s=m1t(s);return["style",s]}return[e.elementAttributeNameCase==="react"&&i.space?eK[i.property]||i.property:i.attribute,a]}function p1t(e,r){try{return Uxe.default(r,{reactCompat:!0})}catch(a){if(e.ignoreInvalidStyle)return{};let i=a,s=new Mi("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=Yxe+"#cannot-parse-style-attribute",s}}function Vxe(e,r,a){let i;if(!a)i={type:"Literal",value:r};else if(r.includes(".")){let s=r.split("."),l=-1,c;while(++l<s.length){let d=Gj(s[l])?{type:"Identifier",name:s[l]}:{type:"Literal",value:s[l]};c=c?{type:"MemberExpression",object:c,property:d,computed:Boolean(l&&d.type==="Literal"),optional:!1}:d}Ts(c,"always a result"),i=c}else i=Gj(r)&&!/^[a-z]/.test(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};if(i.type==="Literal"){let s=i.value;return iK.call(e.components,s)?e.components[s]:s}if(e.evaluater)return e.evaluater.evaluateExpression(i);xN(e)}function xN(e,r){let a=new Mi("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=Yxe+"#cannot-handle-mdx-estrees-without-createevaluater",a}function m1t(e){let r={},a;for(a in e)if(iK.call(e,a))r[h1t(a)]=e[a];return r}function h1t(e){let r=e.replace(e1t,g1t);if(r.slice(0,3)==="ms-")r="-"+r;return r}function g1t(e){return"-"+e.toLowerCase()}var vN={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"]};E();var M1t={};function cK(e,r){let a=r||M1t,i=typeof a.includeImageAlt==="boolean"?a.includeImageAlt:!0,s=typeof a.includeHtml==="boolean"?a.includeHtml:!0;return Gxe(e,i,s)}function Gxe(e,r,a){if(x1t(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 Wxe(e.children,r,a)}if(Array.isArray(e))return Wxe(e,r,a);return""}function Wxe(e,r,a){let i=[],s=-1;while(++s<e.length)i[s]=Gxe(e[s],r,a);return i.join("")}function x1t(e){return Boolean(e&&typeof e==="object")}var Kxe=document.createElement("i");function OP(e){let r="&"+e+";";Kxe.innerHTML=r;let a=Kxe.textContent;if(a.charCodeAt(a.length-1)===59&&e!=="semi")return!1;return a===r?!1:a}function Sf(e,r,a,i){let s=e.length,l=0,c;if(r<0)r=-r>s?0:s+r;else r=r>s?s:r;if(a=a>0?a:0,i.length<1e4)c=Array.from(i),c.unshift(r,a),e.splice(...c);else{if(a)e.splice(r,a);while(l<i.length)c=i.slice(l,l+1e4),c.unshift(r,0),e.splice(...c),l+=1e4,r+=1e4}}function Es(e,r){if(e.length>0)return Sf(e,e.length,0,r),e;return r}var Xxe={}.hasOwnProperty;function Qxe(e){let r={},a=-1;while(++a<e.length)v1t(r,e[a]);return r}function v1t(e,r){let a;for(a in r){let s=(Xxe.call(e,a)?e[a]:void 0)||(e[a]={}),l=r[a],c;if(l)for(c in l){if(!Xxe.call(s,c))s[c]=[];let d=l[c];_1t(s[c],Array.isArray(d)?d:d?[d]:[])}}}function _1t(e,r){let a=-1,i=[];while(++a<r.length)(r[a].add==="after"?e:i).push(r[a]);Sf(e,0,0,i)}function eB(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 QM(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var nc=zz(/[A-Za-z]/),Wi=zz(/[\dA-Za-z]/),Jxe=zz(/[#-'*+\--9=?A-Z^-~]/);function _N(e){return e!==null&&(e<32||e===127)}var yN=zz(/\d/),$xe=zz(/[\dA-Fa-f]/),eve=zz(/[!-/:-@[-`{-~]/);function Rr(e){return e!==null&&e<-2}function ni(e){return e!==null&&(e<0||e===32)}function eo(e){return e===-2||e===-1||e===32}var tve=zz(/\p{P}|\p{S}/u),rve=zz(/\s/);function zz(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,s=0;while(++a<e.length){let l=e.charCodeAt(a),c="";if(l===37&&Wi(e.charCodeAt(a+1))&&Wi(e.charCodeAt(a+2)))s=2;else if(l<128){if(!/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l)))c=String.fromCharCode(l)}else if(l>55295&&l<57344){let d=e.charCodeAt(a+1);if(l<56320&&d>56319&&d<57344)c=String.fromCharCode(l,d),s=1;else c="�"}else c=String.fromCharCode(l);if(c)r.push(e.slice(i,a),encodeURIComponent(c)),i=a+s+1,c="";if(s)a+=s,s=0}return r.join("")+e.slice(i)}function fo(e,r,a,i){let s=i?i-1:Number.POSITIVE_INFINITY,l=0;return c;function c(h){if(eo(h))return e.enter(a),d(h);return r(h)}function d(h){if(eo(h)&&l++<s)return e.consume(h),d;return e.exit(a),r(h)}}var ove={tokenize:y1t};function y1t(e){let r=e.attempt(this.parser.constructs.contentInitial,i,s),a;return r;function i(d){if(d===null){e.consume(d);return}return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),fo(e,r,"linePrefix")}function s(d){return e.enter("paragraph"),l(d)}function l(d){let h=e.enter("chunkText",{contentType:"text",previous:a});if(a)a.next=h;return a=h,c(d)}function c(d){if(d===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(d);return}if(Rr(d))return e.consume(d),e.exit("chunkText"),l;return e.consume(d),c}}var nve={tokenize:b1t},ave={tokenize:w1t};function b1t(e){let r=this,a=[],i=0,s,l,c;return d;function d(V){if(i<a.length){let J=a[i];return r.containerState=J[1],e.attempt(J[0].continuation,h,x)(V)}return x(V)}function h(V){if(i++,r.containerState._closeFlow){if(r.containerState._closeFlow=void 0,s)j();let J=r.events.length,ee=J,te;while(ee--)if(r.events[ee][0]==="exit"&&r.events[ee][1].type==="chunkFlow"){te=r.events[ee][1].end;break}A(i);let re=J;while(re<r.events.length)r.events[re][1].end={...te},re++;return Sf(r.events,ee+1,0,r.events.slice(J)),r.events.length=re,x(V)}return d(V)}function x(V){if(i===a.length){if(!s)return k(V);if(s.currentConstruct&&s.currentConstruct.concrete)return T(V);r.interrupt=Boolean(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return r.containerState={},e.check(ave,v,y)(V)}function v(V){if(s)j();return A(i),k(V)}function y(V){return r.parser.lazy[r.now().line]=i!==a.length,c=r.now().offset,T(V)}function k(V){return r.containerState={},e.attempt(ave,b,T)(V)}function b(V){return i++,a.push([r.currentConstruct,r.containerState]),k(V)}function T(V){if(V===null){if(s)j();A(0),e.consume(V);return}return s=s||r.parser.flow(r.now()),e.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:l}),D(V)}function D(V){if(V===null){U(e.exit("chunkFlow"),!0),A(0),e.consume(V);return}if(Rr(V))return e.consume(V),U(e.exit("chunkFlow")),i=0,r.interrupt=void 0,d;return e.consume(V),D}function U(V,J){let ee=r.sliceStream(V);if(J)ee.push(null);if(V.previous=l,l)l.next=V;if(l=V,s.defineSkip(V.start),s.write(ee),r.parser.lazy[V.start.line]){let te=s.events.length;while(te--)if(s.events[te][1].start.offset<c&&(!s.events[te][1].end||s.events[te][1].end.offset>c))return;let re=r.events.length,ae=re,he,be;while(ae--)if(r.events[ae][0]==="exit"&&r.events[ae][1].type==="chunkFlow"){if(he){be=r.events[ae][1].end;break}he=!0}A(i),te=re;while(te<r.events.length)r.events[te][1].end={...be},te++;Sf(r.events,ae+1,0,r.events.slice(re)),r.events.length=te}}function A(V){let J=a.length;while(J-- >V){let ee=a[J];r.containerState=ee[1],ee[0].exit.call(r,e)}a.length=V}function j(){s.write([null]),l=void 0,s=void 0,r.containerState._closeFlow=void 0}}function w1t(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 uK(e){if(e===null||ni(e)||rve(e))return 1;if(tve(e))return 2}function NP(e,r,a){let i=[],s=-1;while(++s<e.length){let l=e[s].resolveAll;if(l&&!i.includes(l))r=l(r,a),i.push(l)}return r}var bN={name:"attention",resolveAll:z1t,tokenize:S1t};function z1t(e,r){let a=-1,i,s,l,c,d,h,x,v;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;h=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 y={...e[i][1].end},k={...e[a][1].start};if(ive(y,-h),ive(k,h),c={type:h>1?"strongSequence":"emphasisSequence",start:y,end:{...e[i][1].end}},d={type:h>1?"strongSequence":"emphasisSequence",start:{...e[a][1].start},end:k},l={type:h>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[a][1].start}},s={type:h>1?"strong":"emphasis",start:{...c.start},end:{...d.end}},e[i][1].end={...c.start},e[a][1].start={...d.end},x=[],e[i][1].end.offset-e[i][1].start.offset)x=Es(x,[["enter",e[i][1],r],["exit",e[i][1],r]]);if(x=Es(x,[["enter",s,r],["enter",c,r],["exit",c,r],["enter",l,r]]),x=Es(x,NP(r.parser.constructs.insideSpan.null,e.slice(i+1,a),r)),x=Es(x,[["exit",l,r],["enter",d,r],["exit",d,r],["exit",s,r]]),e[a][1].end.offset-e[a][1].start.offset)v=2,x=Es(x,[["enter",e[a][1],r],["exit",e[a][1],r]]);else v=0;Sf(e,i-1,a-i+3,x),a=i+x.length-v-2;break}}a=-1;while(++a<e.length)if(e[a][1].type==="attentionSequence")e[a][1].type="data";return e}function S1t(e,r){let a=this.parser.constructs.attentionMarkers.null,i=this.previous,s=uK(i),l;return c;function c(h){return l=h,e.enter("attentionSequence"),d(h)}function d(h){if(h===l)return e.consume(h),d;let x=e.exit("attentionSequence"),v=uK(h),y=!v||v===2&&s||a.includes(h),k=!s||s===2&&v||a.includes(i);return x._open=Boolean(l===42?y:y&&(s||!k)),x._close=Boolean(l===42?k:k&&(v||!y)),r(h)}}function ive(e,r){e.column+=r,e.offset+=r,e._bufferIndex+=r}var dK={name:"autolink",tokenize:L1t};function L1t(e,r,a){let i=0;return s;function s(b){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(b){if(nc(b))return e.consume(b),c;if(b===64)return a(b);return x(b)}function c(b){if(b===43||b===45||b===46||Wi(b))return i=1,d(b);return x(b)}function d(b){if(b===58)return e.consume(b),i=0,h;if((b===43||b===45||b===46||Wi(b))&&i++<32)return e.consume(b),d;return i=0,x(b)}function h(b){if(b===62)return e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.exit("autolink"),r;if(b===null||b===32||b===60||_N(b))return a(b);return e.consume(b),h}function x(b){if(b===64)return e.consume(b),v;if(Jxe(b))return e.consume(b),x;return a(b)}function v(b){return Wi(b)?y(b):a(b)}function y(b){if(b===46)return e.consume(b),i=0,v;if(b===62)return e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.exit("autolink"),r;return k(b)}function k(b){if((b===45||Wi(b))&&i++<63){let T=b===45?k:y;return e.consume(b),T}return a(b)}}var Sz={partial:!0,tokenize:k1t};function k1t(e,r,a){return i;function i(l){return eo(l)?fo(e,s,"linePrefix")(l):s(l)}function s(l){return l===null||Rr(l)?r(l):a(l)}}var tB={continuation:{tokenize:I1t},exit:R1t,name:"blockQuote",tokenize:C1t};function C1t(e,r,a){let i=this;return s;function s(c){if(c===62){let d=i.containerState;if(!d.open)e.enter("blockQuote",{_container:!0}),d.open=!0;return e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(c),e.exit("blockQuoteMarker"),l}return a(c)}function l(c){if(eo(c))return e.enter("blockQuotePrefixWhitespace"),e.consume(c),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),r;return e.exit("blockQuotePrefix"),r(c)}}function I1t(e,r,a){let i=this;return s;function s(c){if(eo(c))return fo(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c);return l(c)}function l(c){return e.attempt(tB,r,a)(c)}}function R1t(e){e.exit("blockQuote")}var rB={name:"characterEscape",tokenize:P1t};function P1t(e,r,a){return i;function i(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),s}function s(l){if(eve(l))return e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),r;return a(l)}}var oB={name:"characterReference",tokenize:T1t};function T1t(e,r,a){let i=this,s=0,l,c;return d;function d(y){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(y),e.exit("characterReferenceMarker"),h}function h(y){if(y===35)return e.enter("characterReferenceMarkerNumeric"),e.consume(y),e.exit("characterReferenceMarkerNumeric"),x;return e.enter("characterReferenceValue"),l=31,c=Wi,v(y)}function x(y){if(y===88||y===120)return e.enter("characterReferenceMarkerHexadecimal"),e.consume(y),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,c=$xe,v;return e.enter("characterReferenceValue"),l=7,c=yN,v(y)}function v(y){if(y===59&&s){let k=e.exit("characterReferenceValue");if(c===Wi&&!OP(i.sliceSerialize(k)))return a(y);return e.enter("characterReferenceMarker"),e.consume(y),e.exit("characterReferenceMarker"),e.exit("characterReference"),r}if(c(y)&&s++<l)return e.consume(y),v;return a(y)}}var fve={partial:!0,tokenize:E1t},aB={concrete:!0,name:"codeFenced",tokenize:A1t};function A1t(e,r,a){let i=this,s={partial:!0,tokenize:ee},l=0,c=0,d;return h;function h(te){return x(te)}function x(te){let re=i.events[i.events.length-1];return l=re&&re[1].type==="linePrefix"?re[2].sliceSerialize(re[1],!0).length:0,d=te,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),v(te)}function v(te){if(te===d)return c++,e.consume(te),v;if(c<3)return a(te);return e.exit("codeFencedFenceSequence"),eo(te)?fo(e,y,"whitespace")(te):y(te)}function y(te){if(te===null||Rr(te))return e.exit("codeFencedFence"),i.interrupt?r(te):e.check(fve,D,J)(te);return e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),k(te)}function k(te){if(te===null||Rr(te))return e.exit("chunkString"),e.exit("codeFencedFenceInfo"),y(te);if(eo(te))return e.exit("chunkString"),e.exit("codeFencedFenceInfo"),fo(e,b,"whitespace")(te);if(te===96&&te===d)return a(te);return e.consume(te),k}function b(te){if(te===null||Rr(te))return y(te);return e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),T(te)}function T(te){if(te===null||Rr(te))return e.exit("chunkString"),e.exit("codeFencedFenceMeta"),y(te);if(te===96&&te===d)return a(te);return e.consume(te),T}function D(te){return e.attempt(s,J,U)(te)}function U(te){return e.enter("lineEnding"),e.consume(te),e.exit("lineEnding"),A}function A(te){return l>0&&eo(te)?fo(e,j,"linePrefix",l+1)(te):j(te)}function j(te){if(te===null||Rr(te))return e.check(fve,D,J)(te);return e.enter("codeFlowValue"),V(te)}function V(te){if(te===null||Rr(te))return e.exit("codeFlowValue"),j(te);return e.consume(te),V}function J(te){return e.exit("codeFenced"),r(te)}function ee(te,re,ae){let he=0;return be;function be(rt){return te.enter("lineEnding"),te.consume(rt),te.exit("lineEnding"),Qe}function Qe(rt){return te.enter("codeFencedFence"),eo(rt)?fo(te,Ye,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(rt):Ye(rt)}function Ye(rt){if(rt===d)return te.enter("codeFencedFenceSequence"),Se(rt);return ae(rt)}function Se(rt){if(rt===d)return he++,te.consume(rt),Se;if(he>=c)return te.exit("codeFencedFenceSequence"),eo(rt)?fo(te,Ge,"whitespace")(rt):Ge(rt);return ae(rt)}function Ge(rt){if(rt===null||Rr(rt))return te.exit("codeFencedFence"),re(rt);return ae(rt)}}}function E1t(e,r,a){let i=this;return s;function s(c){if(c===null)return a(c);return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),l}function l(c){return i.parser.lazy[i.now().line]?a(c):r(c)}}var wN={name:"codeIndented",tokenize:O1t},D1t={partial:!0,tokenize:N1t};function O1t(e,r,a){let i=this;return s;function s(x){return e.enter("codeIndented"),fo(e,l,"linePrefix",5)(x)}function l(x){let v=i.events[i.events.length-1];return v&&v[1].type==="linePrefix"&&v[2].sliceSerialize(v[1],!0).length>=4?c(x):a(x)}function c(x){if(x===null)return h(x);if(Rr(x))return e.attempt(D1t,c,h)(x);return e.enter("codeFlowValue"),d(x)}function d(x){if(x===null||Rr(x))return e.exit("codeFlowValue"),c(x);return e.consume(x),d}function h(x){return e.exit("codeIndented"),r(x)}}function N1t(e,r,a){let i=this;return s;function s(c){if(i.parser.lazy[i.now().line])return a(c);if(Rr(c))return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),s;return fo(e,l,"linePrefix",5)(c)}function l(c){let d=i.events[i.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?r(c):Rr(c)?s(c):a(c)}}var ZK={name:"codeText",previous:j1t,resolve:F1t,tokenize:B1t};function F1t(e){let r=e.length-4,a=3,i,s;if((e[a][1].type==="lineEnding"||e[a][1].type==="space")&&(e[r][1].type==="lineEnding"||e[r][1].type==="space")){i=a;while(++i<r)if(e[i][1].type==="codeTextData"){e[a][1].type="codeTextPadding",e[r][1].type="codeTextPadding",a+=2,r-=2;break}}i=a-1,r++;while(++i<=r)if(s===void 0){if(i!==r&&e[i][1].type!=="lineEnding")s=i}else if(i===r||e[i][1].type==="lineEnding"){if(e[s][1].type="codeTextData",i!==s+2)e[s][1].end=e[i-1][1].end,e.splice(s+2,i-s-2),r-=i-s-2,i=s+2;s=void 0}return e}function j1t(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function B1t(e,r,a){let i=this,s=0,l,c;return d;function d(k){return e.enter("codeText"),e.enter("codeTextSequence"),h(k)}function h(k){if(k===96)return e.consume(k),s++,h;return e.exit("codeTextSequence"),x(k)}function x(k){if(k===null)return a(k);if(k===32)return e.enter("space"),e.consume(k),e.exit("space"),x;if(k===96)return c=e.enter("codeTextSequence"),l=0,y(k);if(Rr(k))return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),x;return e.enter("codeTextData"),v(k)}function v(k){if(k===null||k===32||k===96||Rr(k))return e.exit("codeTextData"),x(k);return e.consume(k),v}function y(k){if(k===96)return e.consume(k),l++,y;if(l===s)return e.exit("codeTextSequence"),e.exit("codeText"),r(k);return c.type="codeTextData",v(k)}}class pK{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");if(e<this.left.length)return this.left[e];return this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,r){let a=r===null||r===void 0?Number.POSITIVE_INFINITY:r;if(a<this.left.length)return this.left.slice(e,a);if(e>this.left.length)return this.right.slice(this.right.length-a+this.left.length,this.right.length-e+this.left.length).reverse();return this.left.slice(e).concat(this.right.slice(this.right.length-a+this.left.length).reverse())}splice(e,r,a){let i=r||0;this.setCursor(Math.trunc(e));let s=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);if(a)zN(this.left,a);return s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),zN(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),zN(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);zN(this.right,r.reverse())}else{let r=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);zN(this.left,r.reverse())}}}function zN(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 nB(e){let r={},a=-1,i,s,l,c,d,h,x,v=new pK(e);while(++a<v.length){while(a in r)a=r[a];if(i=v.get(a),a&&i[1].type==="chunkFlow"&&v.get(a-1)[1].type==="listItemPrefix"){if(h=i[1]._tokenizer.events,l=0,l<h.length&&h[l][1].type==="lineEndingBlank")l+=2;if(l<h.length&&h[l][1].type==="content")while(++l<h.length){if(h[l][1].type==="content")break;if(h[l][1].type==="chunkText")h[l][1]._isInFirstContentOfListItem=!0,l++}}if(i[0]==="enter"){if(i[1].contentType)Object.assign(r,U1t(v,a)),a=r[a],x=!0}else if(i[1]._container){l=a,s=void 0;while(l--)if(c=v.get(l),c[1].type==="lineEnding"||c[1].type==="lineEndingBlank"){if(c[0]==="enter"){if(s)v.get(s)[1].type="lineEndingBlank";c[1].type="lineEnding",s=l}}else if(c[1].type==="linePrefix"||c[1].type==="listItemIndent");else break;if(s)i[1].end={...v.get(s)[1].start},d=v.slice(s,a),d.unshift(i),v.splice(s,a-s+1,d)}}return Sf(e,0,Number.POSITIVE_INFINITY,v.slice(0)),!x}function U1t(e,r){let a=e.get(r)[1],i=e.get(r)[2],s=r-1,l=[],c=a._tokenizer;if(!c){if(c=i.parser[a.contentType](a.start),a._contentTypeTextTrailing)c._contentTypeTextTrailing=!0}let d=c.events,h=[],x={},v,y,k=-1,b=a,T=0,D=0,U=[D];while(b){while(e.get(++s)[1]!==b);if(l.push(s),!b._tokenizer){if(v=i.sliceStream(b),!b.next)v.push(null);if(y)c.defineSkip(b.start);if(b._isInFirstContentOfListItem)c._gfmTasklistFirstContentOfListItem=!0;if(c.write(v),b._isInFirstContentOfListItem)c._gfmTasklistFirstContentOfListItem=void 0}y=b,b=b.next}b=a;while(++k<d.length)if(d[k][0]==="exit"&&d[k-1][0]==="enter"&&d[k][1].type===d[k-1][1].type&&d[k][1].start.line!==d[k][1].end.line)D=k+1,U.push(D),b._tokenizer=void 0,b.previous=void 0,b=b.next;if(c.events=[],b)b._tokenizer=void 0,b.previous=void 0;else U.pop();k=U.length;while(k--){let A=d.slice(U[k],U[k+1]),j=l.pop();h.push([j,j+A.length-1]),e.splice(j,2,A)}h.reverse(),k=-1;while(++k<h.length)x[T+h[k][0]]=T+h[k][1],T+=h[k][1]-h[k][0]-1;return x}var mK={resolve:q1t,tokenize:H1t},Y1t={partial:!0,tokenize:V1t};function q1t(e){return nB(e),e}function H1t(e,r){let a;return i;function i(d){return e.enter("content"),a=e.enter("chunkContent",{contentType:"content"}),s(d)}function s(d){if(d===null)return l(d);if(Rr(d))return e.check(Y1t,c,l)(d);return e.consume(d),s}function l(d){return e.exit("chunkContent"),e.exit("content"),r(d)}function c(d){return e.consume(d),e.exit("chunkContent"),a.next=e.enter("chunkContent",{contentType:"content",previous:a}),a=a.next,s}}function V1t(e,r,a){let i=this;return s;function s(c){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),fo(e,l,"linePrefix")}function l(c){if(c===null||Rr(c))return a(c);let d=i.events[i.events.length-1];if(!i.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4)return r(c);return e.interrupt(i.parser.constructs.flow,a,r)(c)}}function iB(e,r,a,i,s,l,c,d,h){let x=h||Number.POSITIVE_INFINITY,v=0;return y;function y(A){if(A===60)return e.enter(i),e.enter(s),e.enter(l),e.consume(A),e.exit(l),k;if(A===null||A===32||A===41||_N(A))return a(A);return e.enter(i),e.enter(c),e.enter(d),e.enter("chunkString",{contentType:"string"}),D(A)}function k(A){if(A===62)return e.enter(l),e.consume(A),e.exit(l),e.exit(s),e.exit(i),r;return e.enter(d),e.enter("chunkString",{contentType:"string"}),b(A)}function b(A){if(A===62)return e.exit("chunkString"),e.exit(d),k(A);if(A===null||A===60||Rr(A))return a(A);return e.consume(A),A===92?T:b}function T(A){if(A===60||A===62||A===92)return e.consume(A),b;return b(A)}function D(A){if(!v&&(A===null||A===41||ni(A)))return e.exit("chunkString"),e.exit(d),e.exit(c),e.exit(i),r(A);if(v<x&&A===40)return e.consume(A),v++,D;if(A===41)return e.consume(A),v--,D;if(A===null||A===32||A===40||_N(A))return a(A);return e.consume(A),A===92?U:D}function U(A){if(A===40||A===41||A===92)return e.consume(A),D;return D(A)}}function fB(e,r,a,i,s,l){let c=this,d=0,h;return x;function x(b){return e.enter(i),e.enter(s),e.consume(b),e.exit(s),e.enter(l),v}function v(b){if(d>999||b===null||b===91||b===93&&!h||b===94&&!d&&"_hiddenFootnoteSupport"in c.parser.constructs)return a(b);if(b===93)return e.exit(l),e.enter(s),e.consume(b),e.exit(s),e.exit(i),r;if(Rr(b))return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),v;return e.enter("chunkString",{contentType:"string"}),y(b)}function y(b){if(b===null||b===91||b===93||Rr(b)||d++>999)return e.exit("chunkString"),v(b);if(e.consume(b),!h)h=!eo(b);return b===92?k:y}function k(b){if(b===91||b===92||b===93)return e.consume(b),d++,y;return y(b)}}function sB(e,r,a,i,s,l){let c;return d;function d(k){if(k===34||k===39||k===40)return e.enter(i),e.enter(s),e.consume(k),e.exit(s),c=k===40?41:k,h;return a(k)}function h(k){if(k===c)return e.enter(s),e.consume(k),e.exit(s),e.exit(i),r;return e.enter(l),x(k)}function x(k){if(k===c)return e.exit(l),h(c);if(k===null)return a(k);if(Rr(k))return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),fo(e,x,"linePrefix");return e.enter("chunkString",{contentType:"string"}),v(k)}function v(k){if(k===c||k===null||Rr(k))return e.exit("chunkString"),x(k);return e.consume(k),k===92?y:v}function y(k){if(k===c||k===92)return e.consume(k),v;return v(k)}}function sk(e,r){let a;return i;function i(s){if(Rr(s))return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a=!0,i;if(eo(s))return fo(e,i,a?"linePrefix":"lineSuffix")(s);return r(s)}}var hK={name:"definition",tokenize:G1t},W1t={partial:!0,tokenize:K1t};function G1t(e,r,a){let i=this,s;return l;function l(b){return e.enter("definition"),c(b)}function c(b){return fB.call(i,e,d,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(b)}function d(b){if(s=QM(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),b===58)return e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),h;return a(b)}function h(b){return ni(b)?sk(e,x)(b):x(b)}function x(b){return iB(e,v,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(b)}function v(b){return e.attempt(W1t,y,y)(b)}function y(b){return eo(b)?fo(e,k,"whitespace")(b):k(b)}function k(b){if(b===null||Rr(b))return e.exit("definition"),i.parser.defined.push(s),r(b);return a(b)}}function K1t(e,r,a){return i;function i(d){return ni(d)?sk(e,s)(d):a(d)}function s(d){return sB(e,l,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function l(d){return eo(d)?fo(e,c,"whitespace")(d):c(d)}function c(d){return d===null||Rr(d)?r(d):a(d)}}var gK={name:"hardBreakEscape",tokenize:X1t};function X1t(e,r,a){return i;function i(l){return e.enter("hardBreakEscape"),e.consume(l),s}function s(l){if(Rr(l))return e.exit("hardBreakEscape"),r(l);return a(l)}}var MK={name:"headingAtx",resolve:Q1t,tokenize:J1t};function Q1t(e,r){let a=e.length-2,i=3,s,l;if(e[i][1].type==="whitespace")i+=2;if(a-2>i&&e[a][1].type==="whitespace")a-=2;if(e[a][1].type==="atxHeadingSequence"&&(i===a-1||a-4>i&&e[a-2][1].type==="whitespace"))a-=i+1===a?2:4;if(a>i)s={type:"atxHeadingText",start:e[i][1].start,end:e[a][1].end},l={type:"chunkText",start:e[i][1].start,end:e[a][1].end,contentType:"text"},Sf(e,i,a-i+1,[["enter",s,r],["enter",l,r],["exit",l,r],["exit",s,r]]);return e}function J1t(e,r,a){let i=0;return s;function s(v){return e.enter("atxHeading"),l(v)}function l(v){return e.enter("atxHeadingSequence"),c(v)}function c(v){if(v===35&&i++<6)return e.consume(v),c;if(v===null||ni(v))return e.exit("atxHeadingSequence"),d(v);return a(v)}function d(v){if(v===35)return e.enter("atxHeadingSequence"),h(v);if(v===null||Rr(v))return e.exit("atxHeading"),r(v);if(eo(v))return fo(e,d,"whitespace")(v);return e.enter("atxHeadingText"),x(v)}function h(v){if(v===35)return e.consume(v),h;return e.exit("atxHeadingSequence"),d(v)}function x(v){if(v===null||v===35||ni(v))return e.exit("atxHeadingText"),d(v);return e.consume(v),x}}var sve=["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"],xK=["pre","script","style","textarea"];var vK={concrete:!0,name:"htmlFlow",resolveTo:tRt,tokenize:rRt},$1t={partial:!0,tokenize:aRt},eRt={partial:!0,tokenize:oRt};function tRt(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 rRt(e,r,a){let i=this,s,l,c,d,h;return x;function x(Oe){return v(Oe)}function v(Oe){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(Oe),y}function y(Oe){if(Oe===33)return e.consume(Oe),k;if(Oe===47)return e.consume(Oe),l=!0,D;if(Oe===63)return e.consume(Oe),s=3,i.interrupt?r:se;if(nc(Oe))return e.consume(Oe),c=String.fromCharCode(Oe),U;return a(Oe)}function k(Oe){if(Oe===45)return e.consume(Oe),s=2,b;if(Oe===91)return e.consume(Oe),s=5,d=0,T;if(nc(Oe))return e.consume(Oe),s=4,i.interrupt?r:se;return a(Oe)}function b(Oe){if(Oe===45)return e.consume(Oe),i.interrupt?r:se;return a(Oe)}function T(Oe){if(Oe==="CDATA[".charCodeAt(d++)){if(e.consume(Oe),d===6)return i.interrupt?r:Ye;return T}return a(Oe)}function D(Oe){if(nc(Oe))return e.consume(Oe),c=String.fromCharCode(Oe),U;return a(Oe)}function U(Oe){if(Oe===null||Oe===47||Oe===62||ni(Oe)){let nr=Oe===47,fr=c.toLowerCase();if(!nr&&!l&&xK.includes(fr))return s=1,i.interrupt?r(Oe):Ye(Oe);if(sve.includes(c.toLowerCase())){if(s=6,nr)return e.consume(Oe),A;return i.interrupt?r(Oe):Ye(Oe)}return s=7,i.interrupt&&!i.parser.lazy[i.now().line]?a(Oe):l?j(Oe):V(Oe)}if(Oe===45||Wi(Oe))return e.consume(Oe),c+=String.fromCharCode(Oe),U;return a(Oe)}function A(Oe){if(Oe===62)return e.consume(Oe),i.interrupt?r:Ye;return a(Oe)}function j(Oe){if(eo(Oe))return e.consume(Oe),j;return be(Oe)}function V(Oe){if(Oe===47)return e.consume(Oe),be;if(Oe===58||Oe===95||nc(Oe))return e.consume(Oe),J;if(eo(Oe))return e.consume(Oe),V;return be(Oe)}function J(Oe){if(Oe===45||Oe===46||Oe===58||Oe===95||Wi(Oe))return e.consume(Oe),J;return ee(Oe)}function ee(Oe){if(Oe===61)return e.consume(Oe),te;if(eo(Oe))return e.consume(Oe),ee;return V(Oe)}function te(Oe){if(Oe===null||Oe===60||Oe===61||Oe===62||Oe===96)return a(Oe);if(Oe===34||Oe===39)return e.consume(Oe),h=Oe,re;if(eo(Oe))return e.consume(Oe),te;return ae(Oe)}function re(Oe){if(Oe===h)return e.consume(Oe),h=null,he;if(Oe===null||Rr(Oe))return a(Oe);return e.consume(Oe),re}function ae(Oe){if(Oe===null||Oe===34||Oe===39||Oe===47||Oe===60||Oe===61||Oe===62||Oe===96||ni(Oe))return ee(Oe);return e.consume(Oe),ae}function he(Oe){if(Oe===47||Oe===62||eo(Oe))return V(Oe);return a(Oe)}function be(Oe){if(Oe===62)return e.consume(Oe),Qe;return a(Oe)}function Qe(Oe){if(Oe===null||Rr(Oe))return Ye(Oe);if(eo(Oe))return e.consume(Oe),Qe;return a(Oe)}function Ye(Oe){if(Oe===45&&s===2)return e.consume(Oe),tt;if(Oe===60&&s===1)return e.consume(Oe),bt;if(Oe===62&&s===4)return e.consume(Oe),St;if(Oe===63&&s===3)return e.consume(Oe),se;if(Oe===93&&s===5)return e.consume(Oe),qt;if(Rr(Oe)&&(s===6||s===7))return e.exit("htmlFlowData"),e.check($1t,Ht,Se)(Oe);if(Oe===null||Rr(Oe))return e.exit("htmlFlowData"),Se(Oe);return e.consume(Oe),Ye}function Se(Oe){return e.check(eRt,Ge,Ht)(Oe)}function Ge(Oe){return e.enter("lineEnding"),e.consume(Oe),e.exit("lineEnding"),rt}function rt(Oe){if(Oe===null||Rr(Oe))return Se(Oe);return e.enter("htmlFlowData"),Ye(Oe)}function tt(Oe){if(Oe===45)return e.consume(Oe),se;return Ye(Oe)}function bt(Oe){if(Oe===47)return e.consume(Oe),c="",jt;return Ye(Oe)}function jt(Oe){if(Oe===62){let nr=c.toLowerCase();if(xK.includes(nr))return e.consume(Oe),St;return Ye(Oe)}if(nc(Oe)&&c.length<8)return e.consume(Oe),c+=String.fromCharCode(Oe),jt;return Ye(Oe)}function qt(Oe){if(Oe===93)return e.consume(Oe),se;return Ye(Oe)}function se(Oe){if(Oe===62)return e.consume(Oe),St;if(Oe===45&&s===2)return e.consume(Oe),se;return Ye(Oe)}function St(Oe){if(Oe===null||Rr(Oe))return e.exit("htmlFlowData"),Ht(Oe);return e.consume(Oe),St}function Ht(Oe){return e.exit("htmlFlow"),r(Oe)}}function oRt(e,r,a){let i=this;return s;function s(c){if(Rr(c))return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),l;return a(c)}function l(c){return i.parser.lazy[i.now().line]?a(c):r(c)}}function aRt(e,r,a){return i;function i(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),e.attempt(Sz,r,a)}}var _K={name:"htmlText",tokenize:nRt};function nRt(e,r,a){let i=this,s,l,c;return d;function d(se){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(se),h}function h(se){if(se===33)return e.consume(se),x;if(se===47)return e.consume(se),ee;if(se===63)return e.consume(se),V;if(nc(se))return e.consume(se),ae;return a(se)}function x(se){if(se===45)return e.consume(se),v;if(se===91)return e.consume(se),l=0,T;if(nc(se))return e.consume(se),j;return a(se)}function v(se){if(se===45)return e.consume(se),b;return a(se)}function y(se){if(se===null)return a(se);if(se===45)return e.consume(se),k;if(Rr(se))return c=y,bt(se);return e.consume(se),y}function k(se){if(se===45)return e.consume(se),b;return y(se)}function b(se){return se===62?tt(se):se===45?k(se):y(se)}function T(se){if(se==="CDATA[".charCodeAt(l++))return e.consume(se),l===6?D:T;return a(se)}function D(se){if(se===null)return a(se);if(se===93)return e.consume(se),U;if(Rr(se))return c=D,bt(se);return e.consume(se),D}function U(se){if(se===93)return e.consume(se),A;return D(se)}function A(se){if(se===62)return tt(se);if(se===93)return e.consume(se),A;return D(se)}function j(se){if(se===null||se===62)return tt(se);if(Rr(se))return c=j,bt(se);return e.consume(se),j}function V(se){if(se===null)return a(se);if(se===63)return e.consume(se),J;if(Rr(se))return c=V,bt(se);return e.consume(se),V}function J(se){return se===62?tt(se):V(se)}function ee(se){if(nc(se))return e.consume(se),te;return a(se)}function te(se){if(se===45||Wi(se))return e.consume(se),te;return re(se)}function re(se){if(Rr(se))return c=re,bt(se);if(eo(se))return e.consume(se),re;return tt(se)}function ae(se){if(se===45||Wi(se))return e.consume(se),ae;if(se===47||se===62||ni(se))return he(se);return a(se)}function he(se){if(se===47)return e.consume(se),tt;if(se===58||se===95||nc(se))return e.consume(se),be;if(Rr(se))return c=he,bt(se);if(eo(se))return e.consume(se),he;return tt(se)}function be(se){if(se===45||se===46||se===58||se===95||Wi(se))return e.consume(se),be;return Qe(se)}function Qe(se){if(se===61)return e.consume(se),Ye;if(Rr(se))return c=Qe,bt(se);if(eo(se))return e.consume(se),Qe;return he(se)}function Ye(se){if(se===null||se===60||se===61||se===62||se===96)return a(se);if(se===34||se===39)return e.consume(se),s=se,Se;if(Rr(se))return c=Ye,bt(se);if(eo(se))return e.consume(se),Ye;return e.consume(se),Ge}function Se(se){if(se===s)return e.consume(se),s=void 0,rt;if(se===null)return a(se);if(Rr(se))return c=Se,bt(se);return e.consume(se),Se}function Ge(se){if(se===null||se===34||se===39||se===60||se===61||se===96)return a(se);if(se===47||se===62||ni(se))return he(se);return e.consume(se),Ge}function rt(se){if(se===47||se===62||ni(se))return he(se);return a(se)}function tt(se){if(se===62)return e.consume(se),e.exit("htmlTextData"),e.exit("htmlText"),r;return a(se)}function bt(se){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(se),e.exit("lineEnding"),jt}function jt(se){return eo(se)?fo(e,qt,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(se):qt(se)}function qt(se){return e.enter("htmlTextData"),c(se)}}var lk={name:"labelEnd",resolveAll:lRt,resolveTo:cRt,tokenize:uRt},iRt={tokenize:dRt},fRt={tokenize:ZRt},sRt={tokenize:pRt};function lRt(e){let r=-1,a=[];while(++r<e.length){let i=e[r][1];if(a.push(e[r]),i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd"){let s=i.type==="labelImage"?4:2;i.type="data",r+=s}}if(e.length!==a.length)Sf(e,0,e.length,a);return e}function cRt(e,r){let a=e.length,i=0,s,l,c,d;while(a--)if(s=e[a][1],l){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;if(e[a][0]==="enter"&&s.type==="labelLink")s._inactive=!0}else if(c){if(e[a][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced){if(l=a,s.type!=="labelLink"){i=2;break}}}else if(s.type==="labelEnd")c=a;let h={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},x={type:"label",start:{...e[l][1].start},end:{...e[c][1].end}},v={type:"labelText",start:{...e[l+i+2][1].end},end:{...e[c-2][1].start}};return d=[["enter",h,r],["enter",x,r]],d=Es(d,e.slice(l+1,l+i+3)),d=Es(d,[["enter",v,r]]),d=Es(d,NP(r.parser.constructs.insideSpan.null,e.slice(l+i+4,c-3),r)),d=Es(d,[["exit",v,r],e[c-2],e[c-1],["exit",x,r]]),d=Es(d,e.slice(c+1)),d=Es(d,[["exit",h,r]]),Sf(e,l,e.length,d),e}function uRt(e,r,a){let i=this,s=i.events.length,l,c;while(s--)if((i.events[s][1].type==="labelImage"||i.events[s][1].type==="labelLink")&&!i.events[s][1]._balanced){l=i.events[s][1];break}return d;function d(k){if(!l)return a(k);if(l._inactive)return y(k);return c=i.parser.defined.includes(QM(i.sliceSerialize({start:l.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(k),e.exit("labelMarker"),e.exit("labelEnd"),h}function h(k){if(k===40)return e.attempt(iRt,v,c?v:y)(k);if(k===91)return e.attempt(fRt,v,c?x:y)(k);return c?v(k):y(k)}function x(k){return e.attempt(sRt,v,y)(k)}function v(k){return r(k)}function y(k){return l._balanced=!0,a(k)}}function dRt(e,r,a){return i;function i(y){return e.enter("resource"),e.enter("resourceMarker"),e.consume(y),e.exit("resourceMarker"),s}function s(y){return ni(y)?sk(e,l)(y):l(y)}function l(y){if(y===41)return v(y);return iB(e,c,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(y)}function c(y){return ni(y)?sk(e,h)(y):v(y)}function d(y){return a(y)}function h(y){if(y===34||y===39||y===40)return sB(e,x,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(y);return v(y)}function x(y){return ni(y)?sk(e,v)(y):v(y)}function v(y){if(y===41)return e.enter("resourceMarker"),e.consume(y),e.exit("resourceMarker"),e.exit("resource"),r;return a(y)}}function ZRt(e,r,a){let i=this;return s;function s(d){return fB.call(i,e,l,c,"reference","referenceMarker","referenceString")(d)}function l(d){return i.parser.defined.includes(QM(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?r(d):a(d)}function c(d){return a(d)}}function pRt(e,r,a){return i;function i(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),s}function s(l){if(l===93)return e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),r;return a(l)}}var yK={name:"labelStartImage",resolveAll:lk.resolveAll,tokenize:mRt};function mRt(e,r,a){let i=this;return s;function s(d){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(d),e.exit("labelImageMarker"),l}function l(d){if(d===91)return e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelImage"),c;return a(d)}function c(d){return d===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(d):r(d)}}var bK={name:"labelStartLink",resolveAll:lk.resolveAll,tokenize:hRt};function hRt(e,r,a){let i=this;return s;function s(c){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelLink"),l}function l(c){return c===94&&"_hiddenFootnoteSupport"in i.parser.constructs?a(c):r(c)}}var SN={name:"lineEnding",tokenize:gRt};function gRt(e,r){return a;function a(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),fo(e,r,"linePrefix")}}var ck={name:"thematicBreak",tokenize:MRt};function MRt(e,r,a){let i=0,s;return l;function l(x){return e.enter("thematicBreak"),c(x)}function c(x){return s=x,d(x)}function d(x){if(x===s)return e.enter("thematicBreakSequence"),h(x);if(i>=3&&(x===null||Rr(x)))return e.exit("thematicBreak"),r(x);return a(x)}function h(x){if(x===s)return e.consume(x),i++,h;return e.exit("thematicBreakSequence"),eo(x)?fo(e,d,"whitespace")(x):d(x)}}var rs={continuation:{tokenize:yRt},exit:wRt,name:"list",tokenize:_Rt},xRt={partial:!0,tokenize:zRt},vRt={partial:!0,tokenize:bRt};function _Rt(e,r,a){let i=this,s=i.events[i.events.length-1],l=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,c=0;return d;function d(b){let T=i.containerState.type||(b===42||b===43||b===45?"listUnordered":"listOrdered");if(T==="listUnordered"?!i.containerState.marker||b===i.containerState.marker:yN(b)){if(!i.containerState.type)i.containerState.type=T,e.enter(T,{_container:!0});if(T==="listUnordered")return e.enter("listItemPrefix"),b===42||b===45?e.check(ck,a,x)(b):x(b);if(!i.interrupt||b===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),h(b)}return a(b)}function h(b){if(yN(b)&&++c<10)return e.consume(b),h;if((!i.interrupt||c<2)&&(i.containerState.marker?b===i.containerState.marker:b===41||b===46))return e.exit("listItemValue"),x(b);return a(b)}function x(b){return e.enter("listItemMarker"),e.consume(b),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||b,e.check(Sz,i.interrupt?a:v,e.attempt(xRt,k,y))}function v(b){return i.containerState.initialBlankLine=!0,l++,k(b)}function y(b){if(eo(b))return e.enter("listItemPrefixWhitespace"),e.consume(b),e.exit("listItemPrefixWhitespace"),k;return a(b)}function k(b){return i.containerState.size=l+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,r(b)}}function yRt(e,r,a){let i=this;return i.containerState._closeFlow=void 0,e.check(Sz,s,l);function s(d){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,fo(e,r,"listItemIndent",i.containerState.size+1)(d)}function l(d){if(i.containerState.furtherBlankLines||!eo(d))return i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,c(d);return i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(vRt,r,c)(d)}function c(d){return i.containerState._closeFlow=!0,i.interrupt=void 0,fo(e,e.attempt(rs,r,a),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function bRt(e,r,a){let i=this;return fo(e,s,"listItemIndent",i.containerState.size+1);function s(l){let c=i.events[i.events.length-1];return c&&c[1].type==="listItemIndent"&&c[2].sliceSerialize(c[1],!0).length===i.containerState.size?r(l):a(l)}}function wRt(e){e.exit(this.containerState.type)}function zRt(e,r,a){let i=this;return fo(e,s,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(l){let c=i.events[i.events.length-1];return!eo(l)&&c&&c[1].type==="listItemPrefixWhitespace"?r(l):a(l)}}var lB={name:"setextUnderline",resolveTo:SRt,tokenize:LRt};function SRt(e,r){let a=e.length,i,s,l;while(a--)if(e[a][0]==="enter"){if(e[a][1].type==="content"){i=a;break}if(e[a][1].type==="paragraph")s=a}else{if(e[a][1].type==="content")e.splice(a,1);if(!l&&e[a][1].type==="definition")l=a}let c={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};if(e[s][1].type="setextHeadingText",l)e.splice(s,0,["enter",c,r]),e.splice(l+1,0,["exit",e[i][1],r]),e[i][1].end={...e[l][1].end};else e[i][1]=c;return e.push(["exit",c,r]),e}function LRt(e,r,a){let i=this,s;return l;function l(x){let v=i.events.length,y;while(v--)if(i.events[v][1].type!=="lineEnding"&&i.events[v][1].type!=="linePrefix"&&i.events[v][1].type!=="content"){y=i.events[v][1].type==="paragraph";break}if(!i.parser.lazy[i.now().line]&&(i.interrupt||y))return e.enter("setextHeadingLine"),s=x,c(x);return a(x)}function c(x){return e.enter("setextHeadingLineSequence"),d(x)}function d(x){if(x===s)return e.consume(x),d;return e.exit("setextHeadingLineSequence"),eo(x)?fo(e,h,"lineSuffix")(x):h(x)}function h(x){if(x===null||Rr(x))return e.exit("setextHeadingLine"),r(x);return a(x)}}var lve={tokenize:kRt};function kRt(e){let r=this,a=e.attempt(Sz,i,e.attempt(this.parser.constructs.flowInitial,s,fo(e,e.attempt(this.parser.constructs.flow,s,e.attempt(mK,s)),"linePrefix")));return a;function i(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),r.currentConstruct=void 0,a}function s(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),r.currentConstruct=void 0,a}}var cve={resolveAll:pve()},uve=Zve("string"),dve=Zve("text");function Zve(e){return{resolveAll:pve(e==="text"?CRt:void 0),tokenize:r};function r(a){let i=this,s=this.parser.constructs[e],l=a.attempt(s,c,d);return c;function c(v){return x(v)?l(v):d(v)}function d(v){if(v===null){a.consume(v);return}return a.enter("data"),a.consume(v),h}function h(v){if(x(v))return a.exit("data"),l(v);return a.consume(v),h}function x(v){if(v===null)return!0;let y=s[v],k=-1;if(y)while(++k<y.length){let b=y[k];if(!b.previous||b.previous.call(i,i.previous))return!0}return!1}}}function pve(e){return r;function r(a,i){let s=-1,l;while(++s<=a.length)if(l===void 0){if(a[s]&&a[s][1].type==="data")l=s,s++}else if(!a[s]||a[s][1].type!=="data"){if(s!==l+2)a[l][1].end=a[s-1][1].end,a.splice(l+2,s-l-2),s=l+2;l=void 0}return e?e(a,i):a}}function CRt(e,r){let a=0;while(++a<=e.length)if((a===e.length||e[a][1].type==="lineEnding")&&e[a-1][1].type==="data"){let i=e[a-1][1],s=r.sliceStream(i),l=s.length,c=-1,d=0,h;while(l--){let x=s[l];if(typeof x==="string"){c=x.length;while(x.charCodeAt(c-1)===32)d++,c--;if(c)break;c=-1}else if(x===-2)h=!0,d++;else if(x===-1);else{l++;break}}if(r._contentTypeTextTrailing&&a===e.length)d=0;if(d){let x={type:a===e.length||h||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?c:i.start._bufferIndex+c,_index:i.start._index+l,line:i.end.line,column:i.end.column-d,offset:i.end.offset-d},end:{...i.end}};if(i.end={...x.start},i.start.offset===i.end.offset)Object.assign(i,x);else e.splice(a,0,["enter",x,r],["exit",x,r]),a+=2}a++}return e}var IRt={[42]:rs,[43]:rs,[45]:rs,[48]:rs,[49]:rs,[50]:rs,[51]:rs,[52]:rs,[53]:rs,[54]:rs,[55]:rs,[56]:rs,[57]:rs,[62]:tB},RRt={[91]:hK},PRt={[-2]:wN,[-1]:wN,[32]:wN},TRt={[35]:MK,[42]:ck,[45]:[lB,ck],[60]:vK,[61]:lB,[95]:ck,[96]:aB,[126]:aB},ARt={[38]:oB,[92]:rB},ERt={[-5]:SN,[-4]:SN,[-3]:SN,[33]:yK,[38]:oB,[42]:bN,[60]:[dK,_K],[91]:bK,[92]:[gK,rB],[93]:lk,[95]:bN,[96]:ZK},DRt={null:[bN,cve]},ORt={null:[42,95]},NRt={null:[]};function mve(e,r,a){let i={_bufferIndex:-1,_index:0,line:a&&a.line||1,column:a&&a.column||1,offset:a&&a.offset||0},s={},l=[],c=[],d=[],h=!0,x={attempt:he(re),check:he(ae),consume:J,enter:ee,exit:te,interrupt:he(ae,{interrupt:!0})},v={code:null,containerState:{},defineSkip:A,events:[],now:U,parser:e,previous:null,sliceSerialize:T,sliceStream:D,write:b},y=r.tokenize.call(v,x),k;if(r.resolveAll)l.push(r);return v;function b(Se){if(c=Es(c,Se),j(),c[c.length-1]!==null)return[];return be(r,0),v.events=NP(l,v.events,v),v.events}function T(Se,Ge){return jRt(D(Se),Ge)}function D(Se){return FRt(c,Se)}function U(){let{_bufferIndex:Se,_index:Ge,line:rt,column:tt,offset:bt}=i;return{_bufferIndex:Se,_index:Ge,line:rt,column:tt,offset:bt}}function A(Se){s[Se.line]=Se.column,Ye()}function j(){let Se;while(i._index<c.length){let Ge=c[i._index];if(typeof Ge==="string"){if(Se=i._index,i._bufferIndex<0)i._bufferIndex=0;while(i._index===Se&&i._bufferIndex<Ge.length)V(Ge.charCodeAt(i._bufferIndex))}else V(Ge)}}function V(Se){h=void 0,k=Se,y=y(Se)}function J(Se){if(Rr(Se))i.line++,i.column=1,i.offset+=Se===-3?2:1,Ye();else if(Se!==-1)i.column++,i.offset++;if(i._bufferIndex<0)i._index++;else if(i._bufferIndex++,i._bufferIndex===c[i._index].length)i._bufferIndex=-1,i._index++;v.previous=Se,h=!0}function ee(Se,Ge){let rt=Ge||{};return rt.type=Se,rt.start=U(),v.events.push(["enter",rt,v]),d.push(rt),rt}function te(Se){let Ge=d.pop();return Ge.end=U(),v.events.push(["exit",Ge,v]),Ge}function re(Se,Ge){be(Se,Ge.from)}function ae(Se,Ge){Ge.restore()}function he(Se,Ge){return rt;function rt(tt,bt,jt){let qt,se,St,Ht;return Array.isArray(tt)?nr(tt):("tokenize"in tt)?nr([tt]):Oe(tt);function Oe(Vt){return Xt;function Xt(Pr){let zr=Pr!==null&&Vt[Pr],Ar=Pr!==null&&Vt.null,hr=[...Array.isArray(zr)?zr:zr?[zr]:[],...Array.isArray(Ar)?Ar:Ar?[Ar]:[]];return nr(hr)(Pr)}}function nr(Vt){if(qt=Vt,se=0,Vt.length===0)return jt;return fr(Vt[se])}function fr(Vt){return Xt;function Xt(Pr){if(Ht=Qe(),St=Vt,!Vt.partial)v.currentConstruct=Vt;if(Vt.name&&v.parser.constructs.disable.null.includes(Vt.name))return Ur(Pr);return Vt.tokenize.call(Ge?Object.assign(Object.create(v),Ge):v,x,er,Ur)(Pr)}}function er(Vt){return h=!0,Se(St,Ht),bt}function Ur(Vt){if(h=!0,Ht.restore(),++se<qt.length)return fr(qt[se]);return jt}}}function be(Se,Ge){if(Se.resolveAll&&!l.includes(Se))l.push(Se);if(Se.resolve)Sf(v.events,Ge,v.events.length-Ge,Se.resolve(v.events.slice(Ge),v));if(Se.resolveTo)v.events=Se.resolveTo(v.events,v)}function Qe(){let Se=U(),{previous:Ge,currentConstruct:rt}=v,tt=v.events.length,bt=Array.from(d);return{from:tt,restore:jt};function jt(){i=Se,v.previous=Ge,v.currentConstruct=rt,v.events.length=tt,d=bt,Ye()}}function Ye(){if(i.line in s&&i.column<2)i.column=s[i.line],i.offset+=s[i.line]-1}}function FRt(e,r){let a=r.start._index,i=r.start._bufferIndex,s=r.end._index,l=r.end._bufferIndex,c;if(a===s)c=[e[a].slice(i,l)];else{if(c=e.slice(a,s),i>-1){let d=c[0];if(typeof d==="string")c[0]=d.slice(i);else c.shift()}if(l>0)c.push(e[s].slice(0,l))}return c}function jRt(e,r){let a=-1,i=[],s;while(++a<e.length){let l=e[a],c;if(typeof l==="string")c=l;else switch(l){case-5:{c="\r";break}case-4:{c=`
|
|
199
|
-
`;break}case-3:{c=`\r
|
|
200
|
-
`;break}case-2:{c=r?" ":"\t";break}case-1:{if(!r&&s)continue;c=" ";break}default:c=String.fromCharCode(l)}s=l===-2,i.push(c)}return i.join("")}function zK(e){let i={constructs:Qxe([wK,...(e||{}).extensions||[]]),content:s(ove),defined:[],document:s(nve),flow:s(lve),lazy:{},string:s(uve),text:s(dve)};return i;function s(l){return c;function c(d){return mve(i,l,d)}}}function SK(e){while(!nB(e));return e}var hve=/[\0\t\n\r]/g;function LK(){let e=1,r="",a=!0,i;return s;function s(l,c,d){let h=[],x,v,y,k,b;if(l=r+(typeof l==="string"?l.toString():new TextDecoder(c||void 0).decode(l)),y=0,r="",a){if(l.charCodeAt(0)===65279)y++;a=void 0}while(y<l.length){if(hve.lastIndex=y,x=hve.exec(l),k=x&&x.index!==void 0?x.index:l.length,b=l.charCodeAt(k),!x){r=l.slice(y);break}if(b===10&&y===k&&i)h.push(-3),i=void 0;else{if(i)h.push(-5),i=void 0;if(y<k)h.push(l.slice(y,k)),e+=k-y;switch(b){case 0:{h.push(65533),e++;break}case 9:{v=Math.ceil(e/4)*4,h.push(-2);while(e++<v)h.push(-1);break}case 10:{h.push(-4),e=1;break}default:i=!0,e=1}}y=k+1}if(d){if(i)h.push(-5);if(r)h.push(r);h.push(null)}return h}}var BRt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function gve(e){return e.replace(BRt,URt)}function URt(e,r,a){if(r)return r;if(a.charCodeAt(0)===35){let s=a.charCodeAt(1),l=s===120||s===88;return eB(a.slice(l?2:1),l?16:10)}return OP(a)||e}var xve={}.hasOwnProperty;function kK(e,r,a){if(r&&typeof r==="object")a=r,r=void 0;return YRt(a)(SK(zK(a).document().write(LK()(e,r,!0))))}function YRt(e){let r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(ho),autolinkProtocol:he,autolinkEmail:he,atxHeading:l(po),blockQuote:l(Pr),characterEscape:he,characterReference:he,codeFenced:l(zr),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:l(zr,c),codeText:l(Ar,c),codeTextData:he,data:he,codeFlowValue:he,definition:l(hr),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:l(go),hardBreakEscape:l(va),hardBreakTrailing:l(va),htmlFlow:l(sr,c),htmlFlowData:he,htmlText:l(sr,c),htmlTextData:he,image:l(Mo),label:c,link:l(ho),listItem:l(bn),listItemValue:k,listOrdered:l(Uo,y),listUnordered:l(Uo),paragraph:l(Go),reference:Oe,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:l(po),strong:l(Xn),thematicBreak:l(Qi)},exit:{atxHeading:h(),atxHeadingSequence:ee,autolink:h(),autolinkEmail:Xt,autolinkProtocol:Vt,blockQuote:h(),characterEscapeValue:be,characterReferenceMarkerHexadecimal:fr,characterReferenceMarkerNumeric:fr,characterReferenceValue:er,characterReference:Ur,codeFenced:h(U),codeFencedFence:D,codeFencedFenceInfo:b,codeFencedFenceMeta:T,codeFlowValue:be,codeIndented:h(A),codeText:h(rt),codeTextData:be,data:be,definition:h(),definitionDestinationString:J,definitionLabelString:j,definitionTitleString:V,emphasis:h(),hardBreakEscape:h(Ye),hardBreakTrailing:h(Ye),htmlFlow:h(Se),htmlFlowData:be,htmlText:h(Ge),htmlTextData:be,image:h(bt),label:qt,labelText:jt,lineEnding:Qe,link:h(tt),listItem:h(),listOrdered:h(),listUnordered:h(),paragraph:h(),referenceString:nr,resourceDestinationString:se,resourceTitleString:St,resource:Ht,setextHeading:h(ae),setextHeadingLineSequence:re,setextHeadingText:te,strong:h(),thematicBreak:h()}};vve(r,(e||{}).mdastExtensions||[]);let a={};return i;function i($e){let Dt={type:"root",children:[]},Mr={stack:[Dt],tokenStack:[],config:r,enter:d,exit:x,buffer:c,resume:v,data:a},qr=[],to=-1;while(++to<$e.length)if($e[to][1].type==="listOrdered"||$e[to][1].type==="listUnordered")if($e[to][0]==="enter")qr.push(to);else{let Ko=qr.pop();to=s($e,Ko,to)}to=-1;while(++to<$e.length){let Ko=r[$e[to][0]];if(xve.call(Ko,$e[to][1].type))Ko[$e[to][1].type].call(Object.assign({sliceSerialize:$e[to][2].sliceSerialize},Mr),$e[to][1])}if(Mr.tokenStack.length>0){let Ko=Mr.tokenStack[Mr.tokenStack.length-1];(Ko[1]||Mve).call(Mr,void 0,Ko[0])}Dt.position={start:Lz($e.length>0?$e[0][1].start:{line:1,column:1,offset:0}),end:Lz($e.length>0?$e[$e.length-2][1].end:{line:1,column:1,offset:0})},to=-1;while(++to<r.transforms.length)Dt=r.transforms[to](Dt)||Dt;return Dt}function s($e,Dt,Mr){let qr=Dt-1,to=-1,Ko=!1,Ka,Ee,De,je;while(++qr<=Mr){let ft=$e[qr];switch(ft[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{if(ft[0]==="enter")to++;else to--;je=void 0;break}case"lineEndingBlank":{if(ft[0]==="enter"){if(Ka&&!je&&!to&&!De)De=qr;je=void 0}break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:je=void 0}if(!to&&ft[0]==="enter"&&ft[1].type==="listItemPrefix"||to===-1&&ft[0]==="exit"&&(ft[1].type==="listUnordered"||ft[1].type==="listOrdered")){if(Ka){let Ct=qr;Ee=void 0;while(Ct--){let Bt=$e[Ct];if(Bt[1].type==="lineEnding"||Bt[1].type==="lineEndingBlank"){if(Bt[0]==="exit")continue;if(Ee)$e[Ee][1].type="lineEndingBlank",Ko=!0;Bt[1].type="lineEnding",Ee=Ct}else if(Bt[1].type==="linePrefix"||Bt[1].type==="blockQuotePrefix"||Bt[1].type==="blockQuotePrefixWhitespace"||Bt[1].type==="blockQuoteMarker"||Bt[1].type==="listItemIndent");else break}if(De&&(!Ee||De<Ee))Ka._spread=!0;Ka.end=Object.assign({},Ee?$e[Ee][1].start:ft[1].end),$e.splice(Ee||qr,0,["exit",Ka,ft[2]]),qr++,Mr++}if(ft[1].type==="listItemPrefix"){let Ct={type:"listItem",_spread:!1,start:Object.assign({},ft[1].start),end:void 0};Ka=Ct,$e.splice(qr,0,["enter",Ct,ft[2]]),qr++,Mr++,De=void 0,je=!0}}}return $e[Dt][1]._spread=Ko,Mr}function l($e,Dt){return Mr;function Mr(qr){if(d.call(this,$e(qr),qr),Dt)Dt.call(this,qr)}}function c(){this.stack.push({type:"fragment",children:[]})}function d($e,Dt,Mr){this.stack[this.stack.length-1].children.push($e),this.stack.push($e),this.tokenStack.push([Dt,Mr||void 0]),$e.position={start:Lz(Dt.start),end:void 0}}function h($e){return Dt;function Dt(Mr){if($e)$e.call(this,Mr);x.call(this,Mr)}}function x($e,Dt){let Mr=this.stack.pop(),qr=this.tokenStack.pop();if(!qr)throw Error("Cannot close `"+$e.type+"` ("+wz({start:$e.start,end:$e.end})+"): it’s not open");else if(qr[0].type!==$e.type)if(Dt)Dt.call(this,$e,qr[0]);else(qr[1]||Mve).call(this,$e,qr[0]);Mr.position.end=Lz($e.end)}function v(){return cK(this.stack.pop())}function y(){this.data.expectingFirstListItemValue=!0}function k($e){if(this.data.expectingFirstListItemValue){let Dt=this.stack[this.stack.length-2];Dt.start=Number.parseInt(this.sliceSerialize($e),10),this.data.expectingFirstListItemValue=void 0}}function b(){let $e=this.resume(),Dt=this.stack[this.stack.length-1];Dt.lang=$e}function T(){let $e=this.resume(),Dt=this.stack[this.stack.length-1];Dt.meta=$e}function D(){if(this.data.flowCodeInside)return;this.buffer(),this.data.flowCodeInside=!0}function U(){let $e=this.resume(),Dt=this.stack[this.stack.length-1];Dt.value=$e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){let $e=this.resume(),Dt=this.stack[this.stack.length-1];Dt.value=$e.replace(/(\r?\n|\r)$/g,"")}function j($e){let Dt=this.resume(),Mr=this.stack[this.stack.length-1];Mr.label=Dt,Mr.identifier=QM(this.sliceSerialize($e)).toLowerCase()}function V(){let $e=this.resume(),Dt=this.stack[this.stack.length-1];Dt.title=$e}function J(){let $e=this.resume(),Dt=this.stack[this.stack.length-1];Dt.url=$e}function ee($e){let Dt=this.stack[this.stack.length-1];if(!Dt.depth){let Mr=this.sliceSerialize($e).length;Dt.depth=Mr}}function te(){this.data.setextHeadingSlurpLineEnding=!0}function re($e){let Dt=this.stack[this.stack.length-1];Dt.depth=this.sliceSerialize($e).codePointAt(0)===61?1:2}function ae(){this.data.setextHeadingSlurpLineEnding=void 0}function he($e){let Mr=this.stack[this.stack.length-1].children,qr=Mr[Mr.length-1];if(!qr||qr.type!=="text")qr=wn(),qr.position={start:Lz($e.start),end:void 0},Mr.push(qr);this.stack.push(qr)}function be($e){let Dt=this.stack.pop();Dt.value+=this.sliceSerialize($e),Dt.position.end=Lz($e.end)}function Qe($e){let Dt=this.stack[this.stack.length-1];if(this.data.atHardBreak){let Mr=Dt.children[Dt.children.length-1];Mr.position.end=Lz($e.end),this.data.atHardBreak=void 0;return}if(!this.data.setextHeadingSlurpLineEnding&&r.canContainEols.includes(Dt.type))he.call(this,$e),be.call(this,$e)}function Ye(){this.data.atHardBreak=!0}function Se(){let $e=this.resume(),Dt=this.stack[this.stack.length-1];Dt.value=$e}function Ge(){let $e=this.resume(),Dt=this.stack[this.stack.length-1];Dt.value=$e}function rt(){let $e=this.resume(),Dt=this.stack[this.stack.length-1];Dt.value=$e}function tt(){let $e=this.stack[this.stack.length-1];if(this.data.inReference){let Dt=this.data.referenceType||"shortcut";$e.type+="Reference",$e.referenceType=Dt,delete $e.url,delete $e.title}else delete $e.identifier,delete $e.label;this.data.referenceType=void 0}function bt(){let $e=this.stack[this.stack.length-1];if(this.data.inReference){let Dt=this.data.referenceType||"shortcut";$e.type+="Reference",$e.referenceType=Dt,delete $e.url,delete $e.title}else delete $e.identifier,delete $e.label;this.data.referenceType=void 0}function jt($e){let Dt=this.sliceSerialize($e),Mr=this.stack[this.stack.length-2];Mr.label=gve(Dt),Mr.identifier=QM(Dt).toLowerCase()}function qt(){let $e=this.stack[this.stack.length-1],Dt=this.resume(),Mr=this.stack[this.stack.length-1];if(this.data.inReference=!0,Mr.type==="link"){let qr=$e.children;Mr.children=qr}else Mr.alt=Dt}function se(){let $e=this.resume(),Dt=this.stack[this.stack.length-1];Dt.url=$e}function St(){let $e=this.resume(),Dt=this.stack[this.stack.length-1];Dt.title=$e}function Ht(){this.data.inReference=void 0}function Oe(){this.data.referenceType="collapsed"}function nr($e){let Dt=this.resume(),Mr=this.stack[this.stack.length-1];Mr.label=Dt,Mr.identifier=QM(this.sliceSerialize($e)).toLowerCase(),this.data.referenceType="full"}function fr($e){this.data.characterReferenceType=$e.type}function er($e){let Dt=this.sliceSerialize($e),Mr=this.data.characterReferenceType,qr;if(Mr)qr=eB(Dt,Mr==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0;else qr=OP(Dt);let to=this.stack[this.stack.length-1];to.value+=qr}function Ur($e){let Dt=this.stack.pop();Dt.position.end=Lz($e.end)}function Vt($e){be.call(this,$e);let Dt=this.stack[this.stack.length-1];Dt.url=this.sliceSerialize($e)}function Xt($e){be.call(this,$e);let Dt=this.stack[this.stack.length-1];Dt.url="mailto:"+this.sliceSerialize($e)}function Pr(){return{type:"blockquote",children:[]}}function zr(){return{type:"code",lang:null,meta:null,value:""}}function Ar(){return{type:"inlineCode",value:""}}function hr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function go(){return{type:"emphasis",children:[]}}function po(){return{type:"heading",depth:0,children:[]}}function va(){return{type:"break"}}function sr(){return{type:"html",value:""}}function Mo(){return{type:"image",title:null,url:"",alt:null}}function ho(){return{type:"link",title:null,url:"",children:[]}}function Uo($e){return{type:"list",ordered:$e.type==="listOrdered",start:null,spread:$e._spread,children:[]}}function bn($e){return{type:"listItem",spread:$e._spread,checked:null,children:[]}}function Go(){return{type:"paragraph",children:[]}}function Xn(){return{type:"strong",children:[]}}function wn(){return{type:"text",value:""}}function Qi(){return{type:"thematicBreak"}}}function Lz(e){return{line:e.line,column:e.column,offset:e.offset}}function vve(e,r){let a=-1;while(++a<r.length){let i=r[a];if(Array.isArray(i))vve(e,i);else qRt(e,i)}}function qRt(e,r){let a;for(a in r)if(xve.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 Mve(e,r){if(e)throw Error("Cannot close `"+e.type+"` ("+wz({start:e.start,end:e.end})+"): a different token (`"+r.type+"`, "+wz({start:r.start,end:r.end})+") is open");else throw Error("Cannot close document, a token (`"+r.type+"`, "+wz({start:r.start,end:r.end})+") is still open")}function cB(e){let r=this;r.parser=a;function a(i){return kK(i,{...r.data("settings"),...e,extensions:r.data("micromarkExtensions")||[],mdastExtensions:r.data("fromMarkdownExtensions")||[]})}}var uB=-1,FP=0,uk=1,jP=2,LN=3,kN=4,CN=5,IN=6,dB=7,ZB=8;var{defineProperty:HRt}=Object,yve=typeof self==="object"?self:globalThis,_ve=(e,r)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw TypeError("unable to deserialize "+e)}return new yve[e](r)},VRt=(e,r)=>{let a=(s,l)=>(e.set(l,s),s),i=(s)=>{if(e.has(s))return e.get(s);let[l,c]=r[s];switch(l){case FP:case uB:return a(c,s);case uk:{let d=a([],s);for(let h of c)d.push(i(h));return d}case jP:{let d=a({},s);for(let[h,x]of c){let v=i(h),y=i(x);if(v==="__proto__")HRt(d,v,{value:y,configurable:!0,enumerable:!0,writable:!0});else d[v]=y}return d}case LN:return a(new Date(c),s);case kN:{let{source:d,flags:h}=c;return a(new RegExp(d,h),s)}case CN:{let d=a(new Map,s);for(let[h,x]of c)d.set(i(h),i(x));return d}case IN:{let d=a(new Set,s);for(let h of c)d.add(i(h));return d}case dB:{let{name:d,message:h}=c;return a(typeof yve[d]==="function"?_ve(d,h):Error(h),s)}case ZB:return a(BigInt(c),s);case"BigInt":return a(Object(BigInt(c)),s);case"ArrayBuffer":return a(new Uint8Array(c).buffer,c);case"DataView":{let{buffer:d}=new Uint8Array(c);return a(new DataView(d),c)}case"-0":return-0}return a(_ve(l,c),s)};return i},CK=(e)=>VRt(new Map,e)(0);var dk="",{toString:WRt}={},{keys:GRt,is:KRt}=Object,RN=(e)=>{let r=typeof e;if(r!=="object"||!e)return[FP,r];let a=WRt.call(e).slice(8,-1);switch(a){case"Array":return[uk,dk];case"Object":return[jP,dk];case"Date":return[LN,dk];case"RegExp":return[kN,dk];case"Map":return[CN,dk];case"Set":return[IN,dk];case"DataView":return[uk,a]}if(a.includes("Array"))return[uk,a];if(e instanceof Error)return[dB,e.name||"Error"];return[jP,a]},pB=([e,r])=>e===FP&&(r==="function"||r==="symbol"),XRt=(e,r,a,i)=>{let s=(c,d)=>{let h=i.push(c)-1;return a.set(d,h),h},l=(c)=>{if(a.has(c))return a.get(c);let[d,h]=RN(c);switch(d){case FP:{let v=c;switch(h){case"bigint":d=ZB,v=c.toString();break;case"number":if(!c&&KRt(c,-0))return i.push(["-0"])-1;break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+h);v=null;break;case"undefined":return s([uB],c)}return s([d,v],c)}case uk:{if(h){let k=c;if(h==="DataView")k=new Uint8Array(c.buffer);else if(h==="ArrayBuffer")k=new Uint8Array(c);return s([h,[...k]],c)}let v=[],y=s([d,v],c);for(let k of c)v.push(l(k));return y}case jP:{if(h)switch(h){case"BigInt":return s([h,c.toString()],c);case"Boolean":case"Number":case"String":return s([h,c.valueOf()],c)}if(r&&"toJSON"in c)return l(c.toJSON());let v=[],y=s([d,v],c);for(let k of GRt(c))if(e||!pB(RN(c[k])))v.push([l(k),l(c[k])]);return y}case LN:return s([d,isNaN(c.getTime())?dk:c.toISOString()],c);case kN:{let{source:v,flags:y}=c;return s([d,{source:v,flags:y}],c)}case CN:{let v=[],y=s([d,v],c);for(let[k,b]of c)if(e||!(pB(RN(k))||pB(RN(b))))v.push([l(k),l(b)]);return y}case IN:{let v=[],y=s([d,v],c);for(let k of c)if(e||!pB(RN(k)))v.push(l(k));return y}}let{message:x}=c;return s([d,{name:h,message:x}],c)};return l},IK=(e,{json:r,lossy:a}={})=>{let i=[];return XRt(!(r||a),!!r,new Map,i)(e),i};var BP=typeof structuredClone==="function"?(e,r)=>r&&(("json"in r)||("lossy"in r))?CK(IK(e,r)):structuredClone(e):(e,r)=>CK(IK(e,r));function QRt(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 JRt(e,r){return"Back to reference "+(e+1)+(r>1?"-"+r:"")}function bve(e){let r=typeof e.options.clobberPrefix==="string"?e.options.clobberPrefix:"user-content-",a=e.options.footnoteBackContent||QRt,i=e.options.footnoteBackLabel||JRt,s=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",c=e.options.footnoteLabelProperties||{className:["sr-only"]},d=[],h=-1;while(++h<e.footnoteOrder.length){let x=e.footnoteById.get(e.footnoteOrder[h]);if(!x)continue;let v=e.all(x),y=String(x.identifier).toUpperCase(),k=Ac(y.toLowerCase()),b=0,T=[],D=e.footnoteCounts.get(y);while(D!==void 0&&++b<=D){if(T.length>0)T.push({type:"text",value:" "});let j=typeof a==="string"?a:a(h,b);if(typeof j==="string")j={type:"text",value:j};T.push({type:"element",tagName:"a",properties:{href:"#"+r+"fnref-"+k+(b>1?"-"+b:""),dataFootnoteBackref:"",ariaLabel:typeof i==="string"?i:i(h,b),className:["data-footnote-backref"]},children:Array.isArray(j)?j:[j]})}let U=v[v.length-1];if(U&&U.type==="element"&&U.tagName==="p"){let j=U.children[U.children.length-1];if(j&&j.type==="text")j.value+=" ";else U.children.push({type:"text",value:" "});U.children.push(...T)}else v.push(...T);let A={type:"element",tagName:"li",properties:{id:r+"fn-"+k},children:e.wrap(v,!0)};e.patch(x,A),d.push(A)}if(d.length===0)return;return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...BP(c),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
|
|
201
|
-
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(d,!0)},{type:"text",value:`
|
|
202
|
-
`}]}}var mB=function(e){if(e===null||e===void 0)return rPt;if(typeof e==="function")return hB(e);if(typeof e==="object")return Array.isArray(e)?$Rt(e):ePt(e);if(typeof e==="string")return tPt(e);throw Error("Expected function, string, or object as test")};function $Rt(e){let r=[],a=-1;while(++a<e.length)r[a]=mB(e[a]);return hB(i);function i(...s){let l=-1;while(++l<r.length)if(r[l].apply(this,s))return!0;return!1}}function ePt(e){let r=e;return hB(a);function a(i){let s=i,l;for(l in e)if(s[l]!==r[l])return!1;return!0}}function tPt(e){return hB(r);function r(a){return a&&a.type===e}}function hB(e){return r;function r(a,i,s){return Boolean(oPt(a)&&e.call(this,a,typeof i==="number"?i:void 0,s||void 0))}}function rPt(){return!0}function oPt(e){return e!==null&&typeof e==="object"&&"type"in e}function wve(e){return e}var zve=[],RK=!0,gB=!1,PK="skip";function TK(e,r,a,i){let s;if(typeof r==="function"&&typeof a!=="function")i=a,a=r;else s=r;let l=mB(s),c=i?-1:1;d(e,void 0,[])();function d(h,x,v){let y=h&&typeof h==="object"?h:{};if(typeof y.type==="string"){let b=typeof y.tagName==="string"?y.tagName:typeof y.name==="string"?y.name:void 0;Object.defineProperty(k,"name",{value:"node ("+wve(h.type+(b?"<"+b+">":""))+")"})}return k;function k(){let b=zve,T,D,U;if(!r||l(h,x,v[v.length-1]||void 0)){if(b=aPt(a(h,v)),b[0]===gB)return b}if("children"in h&&h.children){let A=h;if(A.children&&b[0]!==PK){D=(i?A.children.length:-1)+c,U=v.concat(A);while(D>-1&&D<A.children.length){let j=A.children[D];if(T=d(j,D,U)(),T[0]===gB)return T;D=typeof T[1]==="number"?T[1]:D+c}}}return b}}}function aPt(e){if(Array.isArray(e))return e;if(typeof e==="number")return[RK,e];return e===null||e===void 0?zve:[e]}function PN(e,r,a,i){let s,l,c;if(typeof r==="function"&&typeof a!=="function")l=void 0,c=r,s=a;else l=r,c=a,s=i;TK(e,l,d,s);function d(h,x){let v=x[x.length-1],y=v?v.children.indexOf(h):void 0;return c(h,y,v)}}function Sve(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 Lve(e,r){let a={type:"element",tagName:"br",properties:{},children:[]};return e.patch(r,a),[e.applyData(r,a),{type:"text",value:`
|
|
203
|
-
`}]}function kve(e,r){let a=r.value?r.value+`
|
|
204
|
-
`:"",i={},s=r.lang?r.lang.split(/\s+/):[];if(s.length>0)i.className=["language-"+s[0]];let l={type:"element",tagName:"code",properties:i,children:[{type:"text",value:a}]};if(r.meta)l.data={meta:r.meta};return e.patch(r,l),l=e.applyData(r,l),l={type:"element",tagName:"pre",properties:{},children:[l]},e.patch(r,l),l}function Cve(e,r){let a={type:"element",tagName:"del",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function Ive(e,r){let a={type:"element",tagName:"em",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function Rve(e,r){let a=typeof e.options.clobberPrefix==="string"?e.options.clobberPrefix:"user-content-",i=String(r.identifier).toUpperCase(),s=Ac(i.toLowerCase()),l=e.footnoteOrder.indexOf(i),c,d=e.footnoteCounts.get(i);if(d===void 0)d=0,e.footnoteOrder.push(i),c=e.footnoteOrder.length;else c=l+1;d+=1,e.footnoteCounts.set(i,d);let h={type:"element",tagName:"a",properties:{href:"#"+a+"fn-"+s,id:a+"fnref-"+s+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(c)}]};e.patch(r,h);let x={type:"element",tagName:"sup",properties:{},children:[h]};return e.patch(r,x),e.applyData(r,x)}function Pve(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 Tve(e,r){if(e.options.allowDangerousHtml){let a={type:"raw",value:r.value};return e.patch(r,a),e.applyData(r,a)}return}function MB(e,r){let a=r.referenceType,i="]";if(a==="collapsed")i+="[]";else if(a==="full")i+="["+(r.label||r.identifier)+"]";if(r.type==="imageReference")return[{type:"text",value:"!["+r.alt+i}];let s=e.all(r),l=s[0];if(l&&l.type==="text")l.value="["+l.value;else s.unshift({type:"text",value:"["});let c=s[s.length-1];if(c&&c.type==="text")c.value+=i;else s.push({type:"text",value:i});return s}function Ave(e,r){let a=String(r.identifier).toUpperCase(),i=e.definitionById.get(a);if(!i)return MB(e,r);let s={src:Ac(i.url||""),alt:r.alt};if(i.title!==null&&i.title!==void 0)s.title=i.title;let l={type:"element",tagName:"img",properties:s,children:[]};return e.patch(r,l),e.applyData(r,l)}function Eve(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 Dve(e,r){let a={type:"text",value:r.value.replace(/\r?\n|\r/g," ")};e.patch(r,a);let i={type:"element",tagName:"code",properties:{},children:[a]};return e.patch(r,i),e.applyData(r,i)}function Ove(e,r){let a=String(r.identifier).toUpperCase(),i=e.definitionById.get(a);if(!i)return MB(e,r);let s={href:Ac(i.url||"")};if(i.title!==null&&i.title!==void 0)s.title=i.title;let l={type:"element",tagName:"a",properties:s,children:e.all(r)};return e.patch(r,l),e.applyData(r,l)}function Nve(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 Fve(e,r,a){let i=e.all(r),s=a?nPt(a):jve(r),l={},c=[];if(typeof r.checked==="boolean"){let v=i[0],y;if(v&&v.type==="element"&&v.tagName==="p")y=v;else y={type:"element",tagName:"p",properties:{},children:[]},i.unshift(y);if(y.children.length>0)y.children.unshift({type:"text",value:" "});y.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:r.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let d=-1;while(++d<i.length){let v=i[d];if(s||d!==0||v.type!=="element"||v.tagName!=="p")c.push({type:"text",value:`
|
|
205
|
-
`});if(v.type==="element"&&v.tagName==="p"&&!s)c.push(...v.children);else c.push(v)}let h=i[i.length-1];if(h&&(s||h.type!=="element"||h.tagName!=="p"))c.push({type:"text",value:`
|
|
206
|
-
`});let x={type:"element",tagName:"li",properties:l,children:c};return e.patch(r,x),e.applyData(r,x)}function nPt(e){let r=!1;if(e.type==="list"){r=e.spread||!1;let a=e.children,i=-1;while(!r&&++i<a.length)r=jve(a[i])}return r}function jve(e){let r=e.spread;return r===null||r===void 0?e.children.length>1:r}function Bve(e,r){let a={},i=e.all(r),s=-1;if(typeof r.start==="number"&&r.start!==1)a.start=r.start;while(++s<i.length){let c=i[s];if(c.type==="element"&&c.tagName==="li"&&c.properties&&Array.isArray(c.properties.className)&&c.properties.className.includes("task-list-item")){a.className=["contains-task-list"];break}}let l={type:"element",tagName:r.ordered?"ol":"ul",properties:a,children:e.wrap(i,!0)};return e.patch(r,l),e.applyData(r,l)}function Uve(e,r){let a={type:"element",tagName:"p",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function Yve(e,r){let a={type:"root",children:e.wrap(e.all(r))};return e.patch(r,a),e.applyData(r,a)}function qve(e,r){let a={type:"element",tagName:"strong",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function Hve(e,r){let a=e.all(r),i=a.shift(),s=[];if(i){let c={type:"element",tagName:"thead",properties:{},children:e.wrap([i],!0)};e.patch(r.children[0],c),s.push(c)}if(a.length>0){let c={type:"element",tagName:"tbody",properties:{},children:e.wrap(a,!0)},d=DP(r.children[1]),h=$j(r.children[r.children.length-1]);if(d&&h)c.position={start:d,end:h};s.push(c)}let l={type:"element",tagName:"table",properties:{},children:e.wrap(s,!0)};return e.patch(r,l),e.applyData(r,l)}function Vve(e,r,a){let i=a?a.children:void 0,l=(i?i.indexOf(r):1)===0?"th":"td",c=a&&a.type==="table"?a.align:void 0,d=c?c.length:r.children.length,h=-1,x=[];while(++h<d){let y=r.children[h],k={},b=c?c[h]:void 0;if(b)k.align=b;let T={type:"element",tagName:l,properties:k,children:[]};if(y)T.children=e.all(y),e.patch(y,T),T=e.applyData(y,T);x.push(T)}let v={type:"element",tagName:"tr",properties:{},children:e.wrap(x,!0)};return e.patch(r,v),e.applyData(r,v)}function Wve(e,r){let a={type:"element",tagName:"td",properties:{},children:e.all(r)};return e.patch(r,a),e.applyData(r,a)}function Kve(e){let r=String(e),a=/\r?\n|\r/g,i=a.exec(r),s=0,l=[];while(i)l.push(Gve(r.slice(s,i.index),s>0,!0),i[0]),s=i.index+i[0].length,i=a.exec(r);return l.push(Gve(r.slice(s),s>0,!1)),l.join("")}function Gve(e,r,a){let i=0,s=e.length;if(r){let l=e.codePointAt(i);while(l===9||l===32)i++,l=e.codePointAt(i)}if(a){let l=e.codePointAt(s-1);while(l===9||l===32)s--,l=e.codePointAt(s-1)}return s>i?e.slice(i,s):""}function Xve(e,r){let a={type:"text",value:Kve(String(r.value))};return e.patch(r,a),e.applyData(r,a)}function Qve(e,r){let a={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(r,a),e.applyData(r,a)}var Jve={blockquote:Sve,break:Lve,code:kve,delete:Cve,emphasis:Ive,footnoteReference:Rve,heading:Pve,html:Tve,imageReference:Ave,image:Eve,inlineCode:Dve,linkReference:Ove,link:Nve,listItem:Fve,list:Bve,paragraph:Uve,root:Yve,strong:qve,table:Hve,tableCell:Wve,tableRow:Vve,text:Xve,thematicBreak:Qve,toml:xB,yaml:xB,definition:xB,footnoteDefinition:xB};function xB(){return}var AK={}.hasOwnProperty,iPt={};function e_e(e,r){let a=r||iPt,i=new Map,s=new Map,l=new Map,c={...Jve,...a.handlers},d={all:x,applyData:sPt,definitionById:i,footnoteById:s,footnoteCounts:l,footnoteOrder:[],handlers:c,one:h,options:a,patch:fPt,wrap:cPt};return PN(e,function(v){if(v.type==="definition"||v.type==="footnoteDefinition"){let y=v.type==="definition"?i:s,k=String(v.identifier).toUpperCase();if(!y.has(k))y.set(k,v)}}),d;function h(v,y){let k=v.type,b=d.handlers[k];if(AK.call(d.handlers,k)&&b)return b(d,v,y);if(d.options.passThrough&&d.options.passThrough.includes(k)){if("children"in v){let{children:D,...U}=v,A=BP(U);return A.children=d.all(v),A}return BP(v)}return(d.options.unknownHandler||lPt)(d,v,y)}function x(v){let y=[];if("children"in v){let k=v.children,b=-1;while(++b<k.length){let T=d.one(k[b],v);if(T){if(b&&k[b-1].type==="break"){if(!Array.isArray(T)&&T.type==="text")T.value=$ve(T.value);if(!Array.isArray(T)&&T.type==="element"){let D=T.children[0];if(D&&D.type==="text")D.value=$ve(D.value)}}if(Array.isArray(T))y.push(...T);else y.push(T)}}}return y}}function fPt(e,r){if(e.position)r.position=aK(e)}function sPt(e,r){let a=r;if(e&&e.data){let i=e.data.hName,s=e.data.hChildren,l=e.data.hProperties;if(typeof i==="string")if(a.type==="element")a.tagName=i;else{let c="children"in a?a.children:[a];a={type:"element",tagName:i,properties:{},children:c}}if(a.type==="element"&&l)Object.assign(a.properties,BP(l));if("children"in a&&a.children&&s!==null&&s!==void 0)a.children=s}return a}function lPt(e,r){let a=r.data||{},i="value"in r&&!(AK.call(a,"hProperties")||AK.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 cPt(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 $ve(e){let r=0,a=e.charCodeAt(r);while(a===9||a===32)r++,a=e.charCodeAt(r);return e.slice(r)}function vB(e,r){let a=e_e(e,r),i=a.one(e,void 0),s=bve(a),l=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};if(s)Ts("children"in l),l.children.push({type:"text",value:`
|
|
210
|
-
`},s);return l}function _B(e,r){if(e&&"run"in e)return async function(a,i){let s=vB(a,{file:i,...r});await e.run(s,i)};return function(a,i){return vB(a,{file:i,...e||r})}}function EK(e){if(e)throw e}var wB=H(l_e(),1);function TN(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 DK(){let e=[],r={run:a,use:i};return r;function a(...s){let l=-1,c=s.pop();if(typeof c!=="function")throw TypeError("Expected function as last argument, not "+c);d(null,...s);function d(h,...x){let v=e[++l],y=-1;if(h){c(h);return}while(++y<s.length)if(x[y]===null||x[y]===void 0)x[y]=s[y];if(s=x,v)c_e(v,d)(...x);else c(null,...x)}}function i(s){if(typeof s!=="function")throw TypeError("Expected `middelware` to be a function, not "+s);return e.push(s),r}}function c_e(e,r){let a;return i;function i(...c){let d=e.length>c.length,h;if(d)c.push(s);try{h=e.apply(this,c)}catch(x){let v=x;if(d&&a)throw v;return s(v)}if(!d)if(h&&h.then&&typeof h.then==="function")h.then(l,s);else if(h instanceof Error)s(h);else l(h)}function s(c,...d){if(!a)a=!0,r(c,...d)}function l(c){s(null,c)}}var Au={basename:uPt,dirname:dPt,extname:ZPt,join:pPt,sep:"/"};function uPt(e,r){if(r!==void 0&&typeof r!=="string")throw TypeError('"ext" argument must be a string');AN(e);let a=0,i=-1,s=e.length,l;if(r===void 0||r.length===0||r.length>e.length){while(s--)if(e.codePointAt(s)===47){if(l){a=s+1;break}}else if(i<0)l=!0,i=s+1;return i<0?"":e.slice(a,i)}if(r===e)return"";let c=-1,d=r.length-1;while(s--)if(e.codePointAt(s)===47){if(l){a=s+1;break}}else{if(c<0)l=!0,c=s+1;if(d>-1)if(e.codePointAt(s)===r.codePointAt(d--)){if(d<0)i=s}else d=-1,i=c}if(a===i)i=c;else if(i<0)i=e.length;return e.slice(a,i)}function dPt(e){if(AN(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 ZPt(e){AN(e);let r=e.length,a=-1,i=0,s=-1,l=0,c;while(r--){let d=e.codePointAt(r);if(d===47){if(c){i=r+1;break}continue}if(a<0)c=!0,a=r+1;if(d===46){if(s<0)s=r;else if(l!==1)l=1}else if(s>-1)l=-1}if(s<0||a<0||l===0||l===1&&s===a-1&&s===i+1)return"";return e.slice(s,a)}function pPt(...e){let r=-1,a;while(++r<e.length)if(AN(e[r]),e[r])a=a===void 0?e[r]:a+"/"+e[r];return a===void 0?".":mPt(a)}function mPt(e){AN(e);let r=e.codePointAt(0)===47,a=hPt(e,!r);if(a.length===0&&!r)a=".";if(a.length>0&&e.codePointAt(e.length-1)===47)a+="/";return r?"/"+a:a}function hPt(e,r){let a="",i=0,s=-1,l=0,c=-1,d,h;while(++c<=e.length){if(c<e.length)d=e.codePointAt(c);else if(d===47)break;else d=47;if(d===47){if(s===c-1||l===1);else if(s!==c-1&&l===2){if(a.length<2||i!==2||a.codePointAt(a.length-1)!==46||a.codePointAt(a.length-2)!==46){if(a.length>2){if(h=a.lastIndexOf("/"),h!==a.length-1){if(h<0)a="",i=0;else a=a.slice(0,h),i=a.length-1-a.lastIndexOf("/");s=c,l=0;continue}}else if(a.length>0){a="",i=0,s=c,l=0;continue}}if(r)a=a.length>0?a+"/..":"..",i=2}else{if(a.length>0)a+="/"+e.slice(s+1,c);else a=e.slice(s+1,c);i=c-s-1}s=c,l=0}else if(d===46&&l>-1)l++;else l=-1}return a}function AN(e){if(typeof e!=="string")throw TypeError("Path must be a string. Received "+JSON.stringify(e))}var u_e={cwd:gPt};function gPt(){return"/"}function UP(e){return Boolean(e!==null&&typeof e==="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function d_e(e){if(typeof e==="string")e=new URL(e);else if(!UP(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 MPt(e)}function MPt(e){if(e.hostname!==""){let i=TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}let r=e.pathname,a=-1;while(++a<r.length)if(r.codePointAt(a)===37&&r.codePointAt(a+1)===50){let i=r.codePointAt(a+2);if(i===70||i===102){let s=TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(r)}var OK=["history","path","basename","stem","extname","dirname"];class YP{constructor(e){let r;if(!e)r={};else if(UP(e))r={path:e};else if(typeof e==="string"||xPt(e))r={value:e};else r=e;this.cwd="cwd"in r?"":u_e.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;while(++a<OK.length){let s=OK[a];if(s in r&&r[s]!==void 0&&r[s]!==null)this[s]=s==="history"?[...r[s]]:r[s]}let i;for(i in r)if(!OK.includes(i))this[i]=r[i]}get basename(){return typeof this.path==="string"?Au.basename(this.path):void 0}set basename(e){FK(e,"basename"),NK(e,"basename"),this.path=Au.join(this.dirname||"",e)}get dirname(){return typeof this.path==="string"?Au.dirname(this.path):void 0}set dirname(e){Z_e(this.basename,"dirname"),this.path=Au.join(e||"",this.basename)}get extname(){return typeof this.path==="string"?Au.extname(this.path):void 0}set extname(e){if(NK(e,"extname"),Z_e(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=Au.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){if(UP(e))e=d_e(e);if(FK(e,"path"),this.path!==e)this.history.push(e)}get stem(){return typeof this.path==="string"?Au.basename(this.path,this.extname):void 0}set stem(e){FK(e,"stem"),NK(e,"stem"),this.path=Au.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 Mi(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 NK(e,r){if(e&&e.includes(Au.sep))throw Error("`"+r+"` cannot be a path: did not expect `"+Au.sep+"`")}function FK(e,r){if(!e)throw Error("`"+r+"` cannot be empty")}function Z_e(e,r){if(!e)throw Error("Setting `"+r+"` requires `path` to be set too")}function xPt(e){return Boolean(e&&typeof e==="object"&&"byteLength"in e&&"byteOffset"in e)}var p_e=function(e){let i=this.constructor.prototype,s=i[e],l=function(){return s.apply(l,arguments)};return Object.setPrototypeOf(l,i),l};var vPt={}.hasOwnProperty;class YK extends p_e{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=DK()}copy(){let e=new YK,r=-1;while(++r<this.attachers.length){let a=this.attachers[r];e.use(...a)}return e.data(wB.default(!0,{},this.namespace)),e}data(e,r){if(typeof e==="string"){if(arguments.length===2)return UK("data",this.frozen),this.namespace[e]=r,this;return vPt.call(this.namespace,e)&&this.namespace[e]||void 0}if(e)return UK("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=bB(e),a=this.parser||this.Parser;return jK("parse",a),a(String(r),r)}process(e,r){let a=this;return this.freeze(),jK("process",this.parser||this.Parser),BK("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(s,l){let c=bB(e),d=a.parse(c);a.run(d,c,function(x,v,y){if(x||!v||!y)return h(x);let k=v,b=a.stringify(k,y);if(yPt(b))y.value=b;else y.result=b;h(x,y)});function h(x,v){if(x||!v)l(x);else if(s)s(v);else Ts(r,"`done` is defined if `resolve` is not"),r(void 0,v)}}}processSync(e){let r=!1,a;return this.freeze(),jK("processSync",this.parser||this.Parser),BK("processSync",this.compiler||this.Compiler),this.process(e,i),h_e("processSync","process",r),Ts(a,"we either bailed on an error or have a tree"),a;function i(s,l){r=!0,EK(s),a=l}}run(e,r,a){m_e(e),this.freeze();let i=this.transformers;if(!a&&typeof r==="function")a=r,r=void 0;return a?s(void 0,a):new Promise(s);function s(l,c){Ts(typeof r!=="function","`file` can’t be a `done` anymore, we checked");let d=bB(r);i.run(e,d,h);function h(x,v,y){let k=v||e;if(x)c(x);else if(l)l(k);else Ts(a,"`done` is defined if `resolve` is not"),a(void 0,k,y)}}}runSync(e,r){let a=!1,i;return this.run(e,r,s),h_e("runSync","run",a),Ts(i,"we either bailed on an error or have a tree"),i;function s(l,c){EK(l),i=c,a=!0}}stringify(e,r){this.freeze();let a=bB(r),i=this.compiler||this.Compiler;return BK("stringify",i),m_e(e),i(e,a)}use(e,...r){let a=this.attachers,i=this.namespace;if(UK("use",this.frozen),e===null||e===void 0);else if(typeof e==="function")d(e,r);else if(typeof e==="object")if(Array.isArray(e))c(e);else l(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function s(h){if(typeof h==="function")d(h,[]);else if(typeof h==="object")if(Array.isArray(h)){let[x,...v]=h;d(x,v)}else l(h);else throw TypeError("Expected usable value, not `"+h+"`")}function l(h){if(!("plugins"in h)&&!("settings"in h))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");if(c(h.plugins),h.settings)i.settings=wB.default(!0,i.settings,h.settings)}function c(h){let x=-1;if(h===null||h===void 0);else if(Array.isArray(h))while(++x<h.length){let v=h[x];s(v)}else throw TypeError("Expected a list of plugins, not `"+h+"`")}function d(h,x){let v=-1,y=-1;while(++v<a.length)if(a[v][0]===h){y=v;break}if(y===-1)a.push([h,...x]);else if(x.length>0){let[k,...b]=x,T=a[y][1];if(TN(T)&&TN(k))k=wB.default(!0,T,k);a[y]=[h,k,...b]}}}}var qK=new YK().freeze();function jK(e,r){if(typeof r!=="function")throw TypeError("Cannot `"+e+"` without `parser`")}function BK(e,r){if(typeof r!=="function")throw TypeError("Cannot `"+e+"` without `compiler`")}function UK(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 m_e(e){if(!TN(e)||typeof e.type!=="string")throw TypeError("Expected node, got `"+e+"`")}function h_e(e,r,a){if(!a)throw Error("`"+e+"` finished async. Use `"+r+"` instead")}function bB(e){return _Pt(e)?e:new YP(e)}function _Pt(e){return Boolean(e&&typeof e==="object"&&"message"in e&&"messages"in e)}function yPt(e){return typeof e==="string"||bPt(e)}function bPt(e){return Boolean(e&&typeof e==="object"&&"byteLength"in e&&"byteOffset"in e)}var wPt="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",g_e=[],M_e={allowDangerousHtml:!0},zPt=/^(https?|ircs?|mailto|xmpp)$/i,SPt=[{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 Io(e){let r=LPt(e),a=kPt(e);return CPt(r.runSync(r.parse(a),a),e)}function LPt(e){let r=e.rehypePlugins||g_e,a=e.remarkPlugins||g_e,i=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...M_e}:M_e;return qK().use(cB).use(a).use(_B,i).use(r)}function kPt(e){let r=e.children||"",a=new YP;if(typeof r==="string")a.value=r;else Wj("Unexpected value `"+r+"` for `children` prop, expected `string`");return a}function CPt(e,r){let{allowedElements:a,allowElement:i,components:s,disallowedElements:l,skipHtml:c,unwrapDisallowed:d}=r,h=r.urlTransform||x_e;for(let v of SPt)if(Object.hasOwn(r,v.from))Wj("Unexpected `"+v.from+"` prop, "+(v.to?"use `"+v.to+"` instead":"remove it")+" (see <"+wPt+"#"+v.id+"> for more info)");if(a&&l)Wj("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other");return PN(e,x),fK(e,{Fragment:L,components:s,ignoreInvalidStyle:!0,jsx:t,jsxs:o,passKeys:!0,passNode:!0});function x(v,y,k){if(v.type==="raw"&&k&&typeof y==="number"){if(c)k.children.splice(y,1);else k.children[y]={type:"text",value:v.value};return y}if(v.type==="element"){let b;for(b in vN)if(Object.hasOwn(vN,b)&&Object.hasOwn(v.properties,b)){let T=v.properties[b],D=vN[b];if(D===null||D.includes(v.tagName))v.properties[b]=h(String(T||""),b,v)}}if(v.type==="element"){let b=a?!a.includes(v.tagName):l?l.includes(v.tagName):!1;if(!b&&i&&typeof y==="number")b=!i(v,y,k);if(b&&k&&typeof y==="number"){if(d&&v.children)k.children.splice(y,1,...v.children);else k.children.splice(y,1);return y}}}}function x_e(e){let r=e.indexOf(":"),a=e.indexOf("?"),i=e.indexOf("#"),s=e.indexOf("/");if(r===-1||s!==-1&&r>s||a!==-1&&r>a||i!==-1&&r>i||zPt.test(e.slice(0,r)))return e;return""}var IPt=/\.(png|jpe?g|webp|gif|svg|avif|bmp|ico)$/i;function Ws(e){if(!e)return!1;return IPt.test(e)}function lf(e,r){if(!e||e.length===0)return null;let a=[...e].sort((s,l)=>{let c=s.width??0;return(l.width??0)-c}),i=a.filter((s)=>(s.width??0)>=r);if(i.length>0)return i.sort((s,l)=>{let c=s.width??0,d=l.width??0;return c-d}),i[0];return a[0]}function Ss(e){if(!e)return"";if(e.resolution)return e.resolution;let r=e.width??0,a=e.height??0;if(r>0&&a>0){let i=Math.max(r,a),s=Math.min(r,a);if(i>=3840||s>=2160)return"2160p";if(i>=2560||s>=1440)return"1440p";if(i>=1920||s>=1080)return"1080p";if(i>=1280||s>=720)return"720p";if(i>=854||s>=480)return"480p";if(i>=640||s>=360)return"360p";if(i>=320||s>=180)return"180p";return`${s}p`}if(a>0)return`${a}p`;if(r>0)return`${r}p`;return""}function v_e({teamId:e,taskId:r,comment:a,currentUserId:i,isOwnerOrAdmin:s}){let l=G(),[c,d]=u(!1),[h,x]=u(null),v=s||a.author.id===i,{mutate:y,isPending:k}=B({mutationFn:async()=>{let T=await g.api.teams[":teamId"].kanban.tasks[":taskId"].comments[":commentId"].$delete({param:{teamId:e,taskId:r,commentId:a.id}});if(!T.ok){let D=await T.json().catch(()=>({message:Fn()}));throw Error(D.message||Fn())}return await T.json()},onSuccess:()=>{l.invalidateQueries({queryKey:["teams",e,"kanban","tasks",r,"comments"]}),l.invalidateQueries({queryKey:["teams",e,"kanban","task",r]}),l.invalidateQueries({queryKey:["teams",e,"kanban","tasks"]}),M.success("Comment deleted"),d(!1)},onError:(T)=>{M.error(T.message)}}),b=(a.author.name||"U").split(" ").map((T)=>T[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:b})]}),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:yr(new Date(a.createdAt),"MMM d, h:mm a")})]}),v&&t("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity",children:o(ge,{modal:!1,children:[t(Ae,{asChild:!0,children:t(S,{size:"icon-xs",variant:"ghost",className:"h-5 w-5 text-muted-foreground",children:t(rr,{className:"h-3.5 w-3.5"})})}),t(_e,{align:"end",children:o(K,{className:"text-destructive focus:text-destructive cursor-pointer text-xs",onClick:()=>d(!0),children:[t(we,{className:"mr-1.5 h-3.5 w-3.5"}),t("span",{children:ht()})]})})]})})]}),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(Io,{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((T)=>{let D=Ws(T.name||T.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 ${D?"h-18 p-1.5 gap-2.5 cursor-pointer":"h-9 px-2.5 gap-2.5"}`,onClick:()=>{if(D)x({url:T.url,name:T.name});else window.open(T.url,"_blank","noreferrer")},children:[D?t("div",{className:"h-full aspect-square rounded-md overflow-hidden bg-muted/40 shrink-0",children:t("img",{src:T.url,alt:T.name,className:"w-full h-full object-cover group-hover/att:scale-105 transition-transform duration-200"})}):t(ln,{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:T.name,children:T.name}),T.sizeByte!==void 0&&T.sizeByte>0&&t("p",{className:"text-[10px] text-muted-foreground font-mono truncate",children:Lr(T.sizeByte)})]}),t("a",{href:T.url,download:T.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:_r(),children:t(wt,{className:"w-3.5 h-3.5"})})]},T.id)})})]}),t(nt,{open:c,onOpenChange:d,children:o(ot,{children:[o(st,{children:[t(at,{children:Mh()}),t(lt,{children:kh()})]}),o(it,{children:[t(ut,{disabled:k,children:Re()}),t(ct,{className:"bg-destructive hover:bg-destructive/90 text-white",disabled:k,onClick:()=>y(),children:ht()})]})]})}),t(de,{open:!!h,onOpenChange:(T)=>!T&&x(null),children:o(ce,{className:"w-auto max-w-[80vw] sm:max-w-[80vw] max-h-[80vh] p-2 sm:p-3 bg-background/95 backdrop-blur-sm border-border flex flex-col items-center justify-center overflow-hidden",onClick:(T)=>T.stopPropagation(),children:[t(me,{className:"sr-only",children:t(ue,{children:h?.name||"Image Preview"})}),h&&o("div",{className:"flex flex-col items-center justify-center max-w-[80vw] max-h-[80vh] overflow-hidden",children:[t("img",{src:h.url,alt:h.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:h.name})]})]})})]})}E();var C_e=Symbol.for("immer-nothing"),__e=Symbol.for("immer-draftable"),os=Symbol.for("immer-state");function Eu(e,...r){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var ic=Object,HP=ic.getPrototypeOf,kB="constructor",AB="prototype",GK="configurable",CB="enumerable",SB="writable",EN="value",kz=(e)=>!!e&&!!e[os];function zZ(e){if(!e)return!1;return I_e(e)||DB(e)||!!e[__e]||!!e[kB]?.[__e]||OB(e)||NB(e)}var RPt=ic[AB][kB].toString(),y_e=new WeakMap;function I_e(e){if(!e||!rX(e))return!1;let r=HP(e);if(r===null||r===ic[AB])return!0;let a=ic.hasOwnProperty.call(r,kB)&&r[kB];if(a===Object)return!0;if(!qP(a))return!1;let i=y_e.get(a);if(i===void 0)i=Function.toString.call(a),y_e.set(a,i);return i===RPt}function EB(e,r,a=!0){if(NN(e)===0)(a?Reflect.ownKeys(e):ic.keys(e)).forEach((s)=>{r(s,e[s],e)});else e.forEach((i,s)=>r(s,i,e))}function NN(e){let r=e[os];return r?r.type_:DB(e)?1:OB(e)?2:NB(e)?3:0}var HK=(e,r,a=NN(e))=>a===2?e.has(r):ic[AB].hasOwnProperty.call(e,r),KK=(e,r,a=NN(e))=>a===2?e.get(r):e[r],IB=(e,r,a,i=NN(e))=>{if(i===2)e.set(r,a);else if(i===3)e.add(a);else e[r]=a};function PPt(e,r){if(e===r)return e!==0||1/e===1/r;else return e!==e&&r!==r}var DB=Array.isArray,OB=(e)=>e instanceof Map,NB=(e)=>e instanceof Set,rX=(e)=>typeof e==="object",qP=(e)=>typeof e==="function",VK=(e)=>typeof e==="boolean";function TPt(e){let r=+e;return Number.isInteger(r)&&String(r)===e}var JM=(e)=>e.copy_||e.base_;var oX=(e)=>e.modified_?e.copy_:e.base_;function XK(e,r){if(OB(e))return new Map(e);if(NB(e))return new Set(e);if(DB(e))return Array[AB].slice.call(e);let a=I_e(e);if(r===!0||r==="class_only"&&!a){let i=ic.getOwnPropertyDescriptors(e);delete i[os];let s=Reflect.ownKeys(i);for(let l=0;l<s.length;l++){let c=s[l],d=i[c];if(d[SB]===!1)d[SB]=!0,d[GK]=!0;if(d.get||d.set)i[c]={[GK]:!0,[SB]:!0,[CB]:d[CB],[EN]:e[c]}}return ic.create(HP(e),i)}else{let i=HP(e);if(i!==null&&a)return{...e};let s=ic.create(i);return ic.assign(s,e)}}function aX(e,r=!1){if(FB(e)||kz(e)||!zZ(e))return e;if(NN(e)>1)ic.defineProperties(e,{set:zB,add:zB,clear:zB,delete:zB});if(ic.freeze(e),r)EB(e,(a,i)=>{aX(i,!0)},!1);return e}function APt(){Eu(2)}var zB={[EN]:APt};function FB(e){if(e===null||!rX(e))return!0;return ic.isFrozen(e)}var RB="MapSet",QK="Patches",b_e="ArrayMethods",R_e={};function Zk(e){let r=R_e[e];if(!r)Eu(0,e);return r}var w_e=(e)=>!!R_e[e];var DN,P_e=()=>DN,EPt=(e,r)=>({drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:w_e(RB)?Zk(RB):void 0,arrayMethodsPlugin_:w_e(b_e)?Zk(b_e):void 0});function z_e(e,r){if(r)e.patchPlugin_=Zk(QK),e.patches_=[],e.inversePatches_=[],e.patchListener_=r}function JK(e){$K(e),e.drafts_.forEach(DPt),e.drafts_=null}function $K(e){if(e===DN)DN=e.parent_}var S_e=(e)=>DN=EPt(DN,e);function DPt(e){let r=e[os];if(r.type_===0||r.type_===1)r.revoke_();else r.revoked_=!0}function L_e(e,r){r.unfinalizedDrafts_=r.drafts_.length;let a=r.drafts_[0];if(e!==void 0&&e!==a){if(a[os].modified_)JK(r),Eu(4);if(zZ(e))e=k_e(r,e);let{patchPlugin_:s}=r;if(s)s.generateReplacementPatches_(a[os].base_,e,r)}else e=k_e(r,a);if(OPt(r,e,!0),JK(r),r.patches_)r.patchListener_(r.patches_,r.inversePatches_);return e!==C_e?e:void 0}function k_e(e,r){if(FB(r))return r;let a=r[os];if(!a)return PB(r,e.handledSet_,e);if(!jB(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);E_e(a,e)}return a.copy_}function OPt(e,r,a=!1){if(!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_)aX(r,a)}function T_e(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var jB=(e,r)=>e.scope_===r,NPt=[];function A_e(e,r,a,i){let s=JM(e),l=e.type_;if(i!==void 0){if(KK(s,i,l)===r){IB(s,i,a,l);return}}if(!e.draftLocations_){let d=e.draftLocations_=new Map;EB(s,(h,x)=>{if(kz(x)){let v=d.get(x)||[];v.push(h),d.set(x,v)}})}let c=e.draftLocations_.get(r)??NPt;for(let d of c)IB(s,d,a,l)}function FPt(e,r,a){e.callbacks_.push(function(s){let l=r;if(!l||!jB(l,s))return;s.mapSetPlugin_?.fixSetContents(l);let c=oX(l);A_e(e,l.draft_??l,c,a),E_e(l,s)})}function E_e(e,r){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:i}=r;if(i){let s=i.getPath(e);if(s)i.generatePatches_(e,s,r)}T_e(e)}}function jPt(e,r,a){let{scope_:i}=e;if(kz(a)){let s=a[os];if(jB(s,i))s.callbacks_.push(function(){LB(e);let c=oX(s);A_e(e,a,c,r)})}else if(zZ(a))e.callbacks_.push(function(){let l=JM(e);if(e.type_===3){if(l.has(a))PB(a,i.handledSet_,i)}else if(KK(l,r,e.type_)===a){if(i.drafts_.length>1&&(e.assigned_.get(r)??!1)===!0&&e.copy_)PB(KK(e.copy_,r,e.type_),i.handledSet_,i)}})}function PB(e,r,a){if(!a.immer_.autoFreeze_&&a.unfinalizedDrafts_<1)return e;if(kz(e)||r.has(e)||!zZ(e)||FB(e))return e;return r.add(e),EB(e,(i,s)=>{if(kz(s)){let l=s[os];if(jB(l,a)){let c=oX(l);IB(e,i,c,e.type_),T_e(l)}}else if(zZ(s))PB(s,r,a)}),e}function BPt(e,r){let a=DB(e),i={type_:a?1:0,scope_:r?r.scope_:P_e(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},s=i,l=TB;if(a)s=[i],l=ON;let{revoke:c,proxy:d}=Proxy.revocable(s,l);return i.draft_=d,i.revoke_=c,[d,i]}var TB={get(e,r){if(r===os)return e;let a=e.scope_.arrayMethodsPlugin_,i=e.type_===1&&typeof r==="string";if(i){if(a?.isArrayOperationMethod(r))return a.createMethodInterceptor(e,r)}let s=JM(e);if(!HK(s,r,e.type_))return YPt(e,s,r);let l=s[r];if(e.finalized_||!zZ(l))return l;if(i&&e.operationMethod&&a?.isMutatingArrayMethod(e.operationMethod)&&TPt(r))return l;if(l===WK(e.base_,r)||UPt(e,r,l)){LB(e);let c=e.type_===1?+r:r,d=tX(e.scope_,l,e,c);return e.copy_[c]=d}return l},has(e,r){return r in JM(e)},ownKeys(e){return Reflect.ownKeys(JM(e))},set(e,r,a){let i=D_e(JM(e),r);if(i?.set)return i.set.call(e.draft_,a),!0;if(!e.modified_){let s=WK(JM(e),r),l=s?.[os];if(l&&l.base_===a)return e.copy_[r]=a,e.assigned_.set(r,!1),!0;if(PPt(a,s)&&(a!==void 0||HK(e.base_,r,e.type_)))return!0;LB(e),eX(e)}if(e.copy_[r]===a&&(a!==void 0||HK(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),jPt(e,r,a),!0},deleteProperty(e,r){if(LB(e),WK(e.base_,r)!==void 0||r in e.base_)e.assigned_.set(r,!1),eX(e);else e.assigned_.delete(r);if(e.copy_)delete e.copy_[r];return!0},getOwnPropertyDescriptor(e,r){let a=JM(e),i=Reflect.getOwnPropertyDescriptor(a,r);if(!i)return i;return{[SB]:!0,[GK]:e.type_!==1||r!=="length",[CB]:i[CB],[EN]:a[r]}},defineProperty(){Eu(11)},getPrototypeOf(e){return HP(e.base_)},setPrototypeOf(){Eu(12)}},ON={};for(let e in TB){let r=TB[e];ON[e]=function(){let a=arguments;return a[0]=a[0][0],r.apply(this,a)}}ON.deleteProperty=function(e,r){return ON.set.call(this,e,r,void 0)};ON.set=function(e,r,a){return TB.set.call(this,e[0],r,a,e[0])};function WK(e,r){let a=e[os];return(a?JM(a):e)[r]}function UPt(e,r,a){if(e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(r)||!zZ(a)||a[os])return!1;return e.baseRefs_.has(a)}function YPt(e,r,a){let i=D_e(r,a);return i?EN in i?i[EN]:i.get?.call(e.draft_):void 0}function D_e(e,r){if(!(r in e))return;let a=HP(e);while(a){let i=Object.getOwnPropertyDescriptor(a,r);if(i)return i;a=HP(a)}return}function eX(e){if(!e.modified_){if(e.modified_=!0,e.parent_)eX(e.parent_)}}function LB(e){if(!e.copy_)e.assigned_=new Map,e.copy_=XK(e.base_,e.scope_.immer_.useStrictShallowCopy_)}var qPt=class{constructor(e){if(this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(r,a,i)=>{if(qP(r)&&!qP(a)){let l=a;a=r;let c=this;return function(h=l,...x){return c.produce(h,(v)=>a.call(this,v,...x))}}if(!qP(a))Eu(6);if(i!==void 0&&!qP(i))Eu(7);let s;if(zZ(r)){let l=S_e(this),c=tX(l,r,void 0),d=!0;try{s=a(c),d=!1}finally{if(d)JK(l);else $K(l)}return z_e(l,i),L_e(s,l)}else if(!r||!rX(r)){if(s=a(r),s===void 0)s=r;if(s===C_e)s=void 0;if(this.autoFreeze_)aX(s,!0);if(i){let l=[],c=[];Zk(QK).generateReplacementPatches_(r,s,{patches_:l,inversePatches_:c}),i(l,c)}return s}else Eu(1,r)},this.produceWithPatches=(r,a)=>{if(qP(r))return(c,...d)=>this.produceWithPatches(c,(h)=>r(h,...d));let i,s;return[this.produce(r,a,(c,d)=>{i=c,s=d}),i,s]},VK(e?.autoFreeze))this.setAutoFreeze(e.autoFreeze);if(VK(e?.useStrictShallowCopy))this.setUseStrictShallowCopy(e.useStrictShallowCopy);if(VK(e?.useStrictIteration))this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){if(!zZ(e))Eu(8);if(kz(e))e=HPt(e);let r=S_e(this),a=tX(r,e,void 0);return a[os].isManual_=!0,$K(r),a}finishDraft(e,r){let a=e&&e[os];if(!a||!a.isManual_)Eu(9);let{scope_:i}=a;return z_e(i,r),L_e(void 0,i)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,r){let a;for(a=r.length-1;a>=0;a--){let s=r[a];if(s.path.length===0&&s.op==="replace"){e=s.value;break}}if(a>-1)r=r.slice(a+1);let i=Zk(QK).applyPatches_;if(kz(e))return i(e,r);return this.produce(e,(s)=>i(s,r))}};function tX(e,r,a,i){let[s,l]=OB(r)?Zk(RB).proxyMap_(r,a):NB(r)?Zk(RB).proxySet_(r,a):BPt(r,a);if((a?.scope_??P_e()).drafts_.push(s),l.callbacks_=a?.callbacks_??[],l.key_=i,a&&i!==void 0)FPt(a,l,i);else l.callbacks_.push(function(h){h.mapSetPlugin_?.fixSetContents(l);let{patchPlugin_:x}=h;if(l.modified_&&x)x.generatePatches_(l,[],h)});return s}function HPt(e){if(!kz(e))Eu(10,e);return O_e(e)}function O_e(e){if(!zZ(e)||FB(e))return e;let r=e[os],a,i=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,a=XK(e,r.scope_.immer_.useStrictShallowCopy_),i=r.scope_.immer_.shouldUseStrictIteration()}else a=XK(e,!0);if(EB(a,(s,l)=>{IB(a,s,O_e(l))},i),r)r.finalized_=!1;return a}var VPt=globalThis.Iterator,oHn=typeof VPt?.from==="function";var WPt=new qPt,N_e=WPt.produce;var GPt=(e)=>(r,a,i)=>(i.setState=(s,l,...c)=>{let d=typeof s==="function"?N_e(s):s;return r(d,l,...c)},e(i.setState,a,i)),F_e=GPt;var Vr=Nr()(loe(F_e((e,r)=>({members:[],loading:!1,fetchMembers:async(a,i,s)=>{if(!s&&r().loadedTeamId===a&&r().loadedWithAgents===i)return;e({loading:!0});try{let l=await g.api.teams[":teamId"].members.$get({param:{teamId:a},query:{includeAgents:i?"true":"false"}});if(!l.ok)throw Error("failed to fetch members");let c=await l.json();e({members:c||[],loadedTeamId:a,loadedProjectId:void 0,loadedWithAgents:i,loading:!1})}catch{e({loading:!1})}},fetchProjectMembers:async(a,i,s)=>{if(!s&&r().loadedProjectId===a&&r().loadedWithAgents===i)return;e({loading:!0});try{let l=await g.api.projects[":projectId"].members.$get({param:{projectId:a},query:{includeAgents:i?"true":"false"}});if(!l.ok)throw Error("failed to fetch project members");let c=await l.json();e({members:c||[],loadedProjectId:a,loadedTeamId:void 0,loadedWithAgents:i,loading:!1})}catch{e({loading:!1})}}}))));function j_e({teamId:e,onSendMessage:r,isSubmitting:a}){let[i,s]=u(""),[l,c]=u([]),[d,h]=u(!1),[x,v]=u(""),[y,k]=u(0),b=_(null),T=_(null),D=_(null),{members:U,fetchMembers:A}=Vr();m(()=>{if(e)A(e,!0,!0)},[e,A]);let{mutateAsync:j}=B({mutationFn:async(Se)=>{let Ge=await g.api.teams[":teamId"].kanban.attachments.$post({param:{teamId:e},json:Se});if(!Ge.ok)throw Error("Failed to get attachment upload url");return await Ge.json()}}),V=(Se)=>{let Ge=Se.target.value;if(s(Ge),b.current)b.current.style.height="auto",b.current.style.height=`${Math.min(b.current.scrollHeight,160)}px`;let rt=Se.target.selectionStart||0,tt=Ge.slice(0,rt),bt=tt.lastIndexOf("@");if(bt!==-1){let jt=bt===0,qt=tt[bt-1];if(jt||/\s/.test(qt)){let St=tt.slice(bt+1);if(!/\s/.test(St)){v(St),h(!0);return}}}h(!1)},J=U.filter((Se)=>Se.name?.toLowerCase().includes(x.toLowerCase()));m(()=>{k(0)},[x,d]);let ee=(Se)=>{if(!b.current)return;let Ge=b.current.selectionStart||0,rt=i.slice(0,Ge),tt=i.slice(Ge),bt=rt.lastIndexOf("@");if(bt!==-1){let jt=`${i.slice(0,bt)}@${Se.name} ${tt}`;s(jt),h(!1),setTimeout(()=>{if(b.current){b.current.focus();let qt=bt+Se.name.length+2;b.current.setSelectionRange(qt,qt)}},0)}},te=async(Se)=>{let Ge=Array.from(Se.target.files||[]);if(Ge.length===0)return;let rt=Ge.map((tt)=>({id:`${Date.now()}-${tt.name}-${Math.random()}`,file:tt,isUploading:!0}));c((tt)=>[...tt,...rt]);for(let tt of rt)try{let bt=await j({fileName:tt.file.name,size:tt.file.size,contentType:tt.file.type||"application/octet-stream"});if(!(await fetch(bt.uploadUrl,{method:"PUT",body:tt.file,headers:{"Content-Type":tt.file.type||"application/octet-stream"}})).ok)throw Error("Failed to upload file to storage");c((qt)=>qt.map((se)=>se.id===tt.id?{...se,isUploading:!1,payload:{id:bt.id,name:bt.name,key:bt.key,sizeByte:bt.sizeByte,contentType:bt.contentType,proxyType:bt.proxyType}}:se))}catch(bt){let jt=bt instanceof Error?bt.message:"Upload failed";M.error(`${tt.file.name}: ${jt}`),c((qt)=>qt.map((se)=>se.id===tt.id?{...se,isUploading:!1,error:jt}:se))}if(T.current)T.current.value=""},re=(Se)=>{c((Ge)=>Ge.filter((rt)=>rt.id!==Se))},ae=l.some((Se)=>Se.isUploading),he=l.map((Se)=>Se.payload).filter((Se)=>!!Se),be=(i.trim().length>0||he.length>0)&&!ae,Qe=async()=>{if(!be||a)return;try{if(await r(i.trim(),he.length>0?he:void 0),s(""),c([]),b.current)b.current.style.height="auto"}catch{}},Ye=(Se)=>{if(d&&J.length>0){if(Se.key==="ArrowDown"){Se.preventDefault(),k((Ge)=>(Ge+1)%J.length);return}if(Se.key==="ArrowUp"){Se.preventDefault(),k((Ge)=>(Ge-1+J.length)%J.length);return}if(Se.key==="Enter"||Se.key==="Tab"){Se.preventDefault();let Ge=J[y];if(Ge)ee(Ge);return}if(Se.key==="Escape"){h(!1);return}}if(Se.key==="Enter"&&(Se.metaKey||Se.ctrlKey))Se.preventDefault(),Qe()};return o("div",{className:"relative flex flex-col w-full border border-border focus-within:border-foreground/40 bg-card rounded-2xl p-2.5 shadow-2xs transition-all",children:[d&&J.length>0&&t("div",{ref:D,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:J.map((Se,Ge)=>o("button",{type:"button",onClick:()=>ee(Se),className:`w-full flex items-center gap-2 px-2.5 py-1.5 rounded-lg text-xs transition-colors text-left ${Ge===y?"bg-primary text-primary-foreground font-medium":"hover:bg-muted text-foreground"}`,children:[o(Ce,{className:"w-5 h-5",children:[Se.image&&t(Ie,{src:Se.image}),t(Te,{className:"text-[9px]",children:Se.name?.slice(0,2).toUpperCase()})]}),t("span",{className:"truncate",children:Se.name})]},Se.id))}),l.length>0&&t("div",{className:"flex flex-wrap gap-1.5 pb-2 mb-1.5 border-b border-border/50",children:l.map((Se)=>{let Ge=Se.file.type.startsWith("image/");return o("div",{className:"flex items-center gap-1.5 pl-2 pr-1.5 py-1 rounded-lg bg-muted/60 border border-border text-xs max-w-[200px]",children:[Se.isUploading?t(O,{className:"w-3.5 h-3.5 animate-spin text-primary shrink-0"}):Ge?t(so,{className:"w-3.5 h-3.5 text-primary shrink-0"}):t(ln,{className:"w-3.5 h-3.5 text-muted-foreground shrink-0"}),o("div",{className:"min-w-0 flex-1 truncate",children:[t("span",{className:"truncate block font-medium text-[11px]",children:Se.file.name}),t("span",{className:"text-[9px] text-muted-foreground font-mono",children:Lr(Se.file.size)})]}),t("button",{type:"button",onClick:()=>re(Se.id),className:"p-0.5 rounded-md text-muted-foreground hover:text-foreground hover:bg-muted shrink-0",children:t(Ne,{className:"w-3 h-3"})})]},Se.id)})}),t("textarea",{ref:b,value:i,onChange:V,onKeyDown:Ye,placeholder:s3e(),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:T,type:"file",multiple:!0,className:"hidden",onChange:te}),t(S,{type:"button",variant:"ghost",size:"icon-xs",onClick:()=>T.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(Ra,{className:"w-3.5 h-3.5"})}),t("span",{className:"text-[10px] text-muted-foreground/60 hidden sm:inline pl-1",children:"Cmd+Enter to send"})]}),t(S,{type:"button",size:"icon-xs",onClick:Qe,disabled:!be||a,className:"h-7 w-7 rounded-full shadow-xs bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-40 transition-all shrink-0",title:"Send comment",children:a||ae?t(O,{className:"w-3.5 h-3.5 animate-spin"}):t(ea,{className:"w-3.5 h-3.5 stroke-[2.5]"})})]})]})}function B_e({teamId:e,taskId:r,initialComments:a}){let i=G(),{data:s}=Z({queryKey:["teams",e,"me"],queryFn:async()=>{let k=await g.api.teams[":teamId"].me.$get({param:{teamId:e}});if(!k.ok)throw Error("Failed to fetch me");return await k.json()},enabled:!!e}),l=s?.role?.toLowerCase()==="owner"||s?.role?.toLowerCase()==="editor",{data:c,isLoading:d}=Z({queryKey:["teams",e,"kanban","tasks",r,"comments"],queryFn:async()=>{let k=await g.api.teams[":teamId"].kanban.tasks[":taskId"].comments.$get({param:{teamId:e,taskId:r}});if(!k.ok)throw Error("Failed to fetch comments");return await k.json()},initialData:a?{data:a}:void 0,enabled:!!e&&!!r,refetchInterval:4000}),h=c?.data||[],{mutateAsync:x,isPending:v}=B({mutationFn:async({body:k,attachments:b})=>{let T=await g.api.teams[":teamId"].kanban.tasks[":taskId"].comments.$post({param:{teamId:e,taskId:r},json:{body:k,attachments:b}});if(!T.ok){let D=await T.json().catch(()=>({message:Fn()}));throw Error(D.message||Fn())}return await T.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:(k)=>{M.error(k.message)}}),y=async(k,b)=>{await x({body:k,attachments:b})};return o("div",{className:"flex flex-col h-full overflow-hidden bg-background",children:[t(le,{className:"flex-1 min-h-0 p-3.5 [&>div>div]:block!",children:t("div",{className:"space-y-3 pr-1 pb-2 w-full max-w-full",children:d?t("div",{className:"flex items-center justify-center py-12",children:t(O,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):h.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(Eo,{className:"w-5 h-5 opacity-40"})}),t("p",{className:"font-medium",children:Eg()})]}):h.map((k)=>t(v_e,{teamId:e,taskId:r,comment:k,currentUserId:s?.id,isOwnerOrAdmin:l},k.id))})}),t("div",{className:"p-3 border-t border-border/60 bg-card/60 shrink-0",children:t(j_e,{teamId:e,onSendMessage:y,isSubmitting:v})})]})}function KPt(e){let r=e.data||{};switch(e.type){case bf.CREATED:return"Created task";case bf.STATUS_CHANGED:return`Changed status from ${e.fromStatus?co(e.fromStatus):"None"} to ${e.toStatus?co(e.toStatus):"None"}`;case bf.ASSIGNED:return"Assigned task";case bf.UNASSIGNED:return"Unassigned task";case bf.PRIORITY_CHANGED:return`Changed priority to ${String(r.to||"")}`;case bf.GOAL_CHANGED:return"Updated goal association";case bf.DEPENDENCY_ADDED:return"Added prerequisite dependency";case bf.DEPENDENCY_REMOVED:return"Removed prerequisite dependency";case bf.CHANGES_REQUESTED:return`Requested changes: "${String(r.reason||"")}"`;case bf.BLOCKED:return`Task blocked: "${String(r.reason||r.blockReason||"")}"`;case bf.UNBLOCKED:return"Task unblocked";case bf.COMMENTED:return"Added a comment";default:return e.type}}function U_e({teamId:e,taskId:r,initialEvents:a}){let{data:i,isLoading:s}=Z({queryKey:["teams",e,"kanban","tasks",r,"events"],queryFn:async()=>{let c=await g.api.teams[":teamId"].kanban.tasks[":taskId"].events.$get({param:{teamId:e,taskId:r}});if(!c.ok)throw Error("Failed to fetch events");return await c.json()},initialData:a?{data:a}:void 0,enabled:!!e&&!!r}),l=i?.data||[];return t(le,{className:"h-full p-3",children:t("div",{className:"space-y-4 pr-2",children:t("div",{className:"space-y-2",children:s?t("div",{className:"flex items-center justify-center py-6",children:t(O,{className:"w-4 h-4 animate-spin text-muted-foreground"})}):l.length===0?t("div",{className:"py-6 text-center text-xs text-muted-foreground",children:Eet()}):t("div",{className:"relative pl-5 space-y-3 before:absolute before:left-[4px] before:top-2 before:bottom-2 before:w-[2px] before:bg-border/60",children:l.map((c)=>o("div",{className:"relative flex items-start gap-2 text-xs",children:[t("div",{className:"absolute -left-5 top-[3px] w-2.5 h-2.5 rounded-full bg-background border-2 border-primary shrink-0"}),o("div",{className:"flex-1 min-w-0",children:[o("div",{className:"flex items-center justify-between gap-1",children:[t("span",{className:"font-medium text-foreground truncate",children:c.actor?.name||"System"}),t("span",{className:"text-[10px] text-muted-foreground font-mono shrink-0",children:yr(new Date(c.createdAt),"MM/dd HH:mm")})]}),t("p",{className:"text-[11px] text-muted-foreground leading-snug mt-0.5",children:KPt(c)})]})]},c.id))})})})})}function Y_e({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(Ln,{value:a,onValueChange:(s)=>i(s),className:"flex flex-col h-full",children:[t("div",{className:"px-3 pt-2.5 pb-1 border-b border-border/60 bg-card/50 shrink-0",children:o(Zn,{className:"w-full grid grid-cols-2 h-8 bg-muted/60",children:[o(Tr,{value:"comments",className:"text-xs h-7",children:[t("span",{children:Ad()}),r.comments.length>0&&o("span",{className:"text-[10px] font-mono text-muted-foreground ml-1",children:["(",r.comments.length,")"]})]}),t(Tr,{value:"activity",className:"text-xs h-7",children:t("span",{children:X2e()})})]})}),o("div",{className:"flex-1 overflow-hidden",children:[t(Gr,{value:"comments",className:"h-full m-0 data-[state=active]:flex data-[state=active]:flex-col",children:t(B_e,{teamId:e,taskId:r.id,initialComments:r.comments})}),t(Gr,{value:"activity",className:"h-full m-0 data-[state=active]:block",children:t(U_e,{teamId:e,taskId:r.id,initialEvents:r.events})})]})]})})}function cf({teamId:e,taskId:r,isOpen:a,onClose:i,canEdit:s=!0}){let{data:l,isLoading:c,error:d}=Z({queryKey:["teams",e,"kanban","task",r],queryFn:async()=>{if(!r)return null;let h=await g.api.teams[":teamId"].kanban.tasks[":taskId"].$get({param:{teamId:e,taskId:r}});if(!h.ok)throw Error("Failed to fetch task details");return await h.json()},enabled:!!e&&!!r&&a});return t(de,{open:a,onOpenChange:(h)=>!h&&i(),children:o(ce,{className:"sm:max-w-5xl w-[95vw] h-[88vh] p-0 gap-0 flex flex-col overflow-hidden bg-background",children:[t(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:[l?.isAgentTask&&o("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 rounded text-[11px] font-semibold bg-orange-500/15 text-orange-600 dark:text-orange-400 border border-orange-500/30 shrink-0",children:[t(Mt,{className:"w-3.5 h-3.5"}),t("span",{children:Kd()})]}),l?.status&&t("span",{className:C("px-2 py-0.5 rounded text-[11px] font-medium border uppercase shrink-0",xz(l.status)),children:co(l.status)}),t(ue,{className:"text-sm font-semibold truncate text-foreground",children:l?.title||r7e()})]})}),t("div",{className:"flex-1 flex flex-col md:flex-row overflow-hidden",children:c?t("div",{className:"flex-1 flex items-center justify-center p-12",children:t(O,{className:"w-8 h-8 animate-spin text-muted-foreground"})}):d||!l?t("div",{className:"flex-1 flex items-center justify-center p-12 text-xs text-muted-foreground",children:Kh()}):o(L,{children:[t("div",{className:"flex-1 md:w-2/3 h-full overflow-hidden flex flex-col",children:t(gxe,{teamId:e,task:l,canEdit:s})}),t("div",{className:"md:w-1/3 h-full overflow-hidden flex flex-col",children:t(Y_e,{teamId:e,task:l})})]})})]})})}var XPt=[We.TODO,We.READY,We.IN_PROGRESS,We.IN_REVIEW,We.DONE,We.BLOCKED];function uf({teamId:e,assetId:r,assetName:a,isOpen:i,onClose:s}){let l=G(),[c,d]=u(null),[h,x]=u(!1),[v,y]=u(We.TODO),[k,b]=u(""),{data:T,isLoading:D}=Z({queryKey:["teams",e,"kanban","assets",r,"tasks"],queryFn:async()=>{let ae=await g.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$get({param:{teamId:e,assetId:r}});if(!ae.ok)throw Error("Failed to fetch linked tasks");return await ae.json()},enabled:!!e&&!!r&&i}),U=T?.data||[],A=N(()=>new Set(U.map((ae)=>ae.id)),[U]),{data:j,isLoading:V}=Z({queryKey:["teams",e,"kanban","tasks","status",v],queryFn:async()=>{let ae=await g.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&&h&&i}),J=j?.data||[],ee=N(()=>{let ae=k.trim().toLowerCase();return J.filter((he)=>{if(A.has(he.id))return!1;if(!ae)return!0;return he.title.toLowerCase().includes(ae)})},[J,A,k]),te=B({mutationFn:async(ae)=>{let he=await g.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$post({param:{teamId:e,assetId:r},json:{taskId:ae}});if(!he.ok)throw Error("Failed to link task");return await he.json()},onSuccess:()=>{l.invalidateQueries({queryKey:["teams",e,"kanban","assets",r,"tasks"]}),l.invalidateQueries({queryKey:["teams",e,"kanban"]}),M.success($le())}}),re=B({mutationFn:async(ae)=>{let he=await g.api.teams[":teamId"].kanban.assets[":assetId"].tasks[":taskId"].$delete({param:{teamId:e,assetId:r,taskId:ae}});if(!he.ok)throw Error("Failed to unlink task");return await he.json()},onSuccess:()=>{l.invalidateQueries({queryKey:["teams",e,"kanban","assets",r,"tasks"]}),l.invalidateQueries({queryKey:["teams",e,"kanban"]}),M.success(ece())}});return o(L,{children:[t(de,{open:i,onOpenChange:(ae)=>!ae&&s(),children:o(ce,{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(Fo,{className:"w-5 h-5 text-primary shrink-0"}),o("div",{className:"min-w-0",children:[t(ue,{className:"text-sm font-semibold truncate",children:ap()}),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(le,{className:"flex-1 min-h-0 p-4 [&>div>div]:block!",children:D?t("div",{className:"flex items-center justify-center p-12",children:t(O,{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(Fo,{className:"w-8 h-8 opacity-30"}),t("p",{children:Mtt()})]}):t("div",{className:"space-y-2",children:U.map((ae)=>o("div",{onClick:()=>d(ae.id),className:"flex items-center justify-between gap-3 p-2.5 rounded-lg border border-border/60 bg-muted/20 hover:bg-muted/50 cursor-pointer transition-all hover:border-border",children:[o("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[ae.isAgentTask&&t("span",{className:"p-1 rounded bg-orange-500/15 text-orange-600 dark:text-orange-400 shrink-0",children:t(Mt,{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",xz(ae.status)),children:co(ae.status)}),t("span",{className:C("text-[10px] px-1.5 py-0.5 rounded border uppercase font-medium shrink-0",la(ae.priority)),children:aa(ae.priority)}),t("span",{className:"text-xs font-medium text-foreground truncate flex-1",children:ae.title})]}),o("div",{className:"flex items-center gap-2 shrink-0",children:[ae.assignee&&o("div",{className:"flex items-center gap-1 text-[11px] text-muted-foreground",title:ae.assignee.name,children:[o(Ce,{className:"w-4 h-4 text-[9px]",children:[t(Ie,{src:ae.assignee.image||void 0}),t(Te,{children:ae.assignee.name.slice(0,1).toUpperCase()})]}),t("span",{className:"hidden sm:inline text-[11px] max-w-[70px] truncate",children:ae.assignee.name})]}),t(S,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0 text-muted-foreground hover:text-destructive hover:bg-destructive/10",onClick:(he)=>{he.stopPropagation(),re.mutate(ae.id)},title:xvt(),children:t(Ne,{className:"w-3.5 h-3.5"})})]})]},ae.id))})})}),o("div",{className:"p-3 px-4 border-t bg-muted/10 flex items-center justify-between shrink-0",children:[o(Je,{open:h,onOpenChange:x,children:[t(Xe,{asChild:!0,children:o(S,{variant:"outline",size:"sm",className:"gap-1.5 text-xs h-8",children:[t(pe,{className:"w-3.5 h-3.5"}),t("span",{children:IKe()})]})}),o(et,{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(zt,{className:"w-3.5 h-3.5 absolute left-2.5 top-2.5 text-muted-foreground"}),t(z,{placeholder:xdt(),value:k,onChange:(ae)=>b(ae.target.value),className:"pl-8 h-8 text-xs bg-muted/30",autoFocus:!0})]})}),t("div",{className:"flex border-b overflow-x-auto p-1 gap-1 bg-muted/20",children:XPt.map((ae)=>t("button",{type:"button",onClick:()=>y(ae),className:C("px-2 py-1 text-[11px] font-medium rounded transition-colors whitespace-nowrap",v===ae?"bg-background shadow-xs text-foreground font-semibold":"text-muted-foreground hover:text-foreground hover:bg-muted/50"),children:co(ae)},ae))}),t(le,{className:"h-56",children:V?o("div",{className:"flex items-center justify-center p-6 text-xs text-muted-foreground",children:[t(O,{className:"w-4 h-4 animate-spin mr-1.5"}),t("span",{children:Md()})]}):ee.length===0?t("div",{className:"p-6 text-center text-xs text-muted-foreground",children:uce()}):t("div",{className:"p-1 space-y-0.5",children:ee.map((ae)=>o("button",{type:"button",onClick:()=>{te.mutate(ae.id),x(!1)},className:"w-full text-left p-2 rounded hover:bg-muted/60 transition-colors flex items-center justify-between gap-2 text-xs group",children:[t("span",{className:"truncate flex-1 font-medium text-foreground",children:ae.title}),t("span",{className:C("text-[10px] px-1.5 py-0.5 rounded border uppercase shrink-0",xz(ae.status)),children:co(ae.status)})]},ae.id))})})]})]}),t(S,{variant:"ghost",size:"sm",onClick:s,className:"text-xs h-8",children:Da()})]})]})}),c&&t(cf,{teamId:e,taskId:c,isOpen:!0,onClose:()=>d(null)})]})}function q_e({teamId:e,projectId:r,projectName:a,ancestorFolders:i,currentAsset:s,isRootFolder:l,customTerminalBreadcrumb:c,displayStyle:d,onDisplayStyleChange:h,isLeftSidebarCollapsed:x,onLeftSidebarToggle:v,isRightSidebarCollapsed:y,onRightSidebarToggle:k,isChatbotOpen:b=!1,onChatbotToggle:T,isPublic:D=!1,onFolderClick:U,onRename:A,onDelete:j,fileId:V,shareId:J,allowDownload:ee=!0,downloadInfo:te,versions:re,compareMode:ae=!1,canCompareVersions:he=!1,onCompareVersions:be}){let Qe=Pe(),{canEdit:Ye}=Ft(r),{openMobileMenu:Se}=zR(),[Ge,rt]=u(!1),[tt,bt]=u(!1),[jt,qt]=u(!1),se=V||s.id,St=s.name==="Recently Deleted",Ht=s.name==="All Collections",Oe=!D&&!l&&!St&&!Ht&&!ae&&!!se,{data:nr}=Z({queryKey:["teams",e,"kanban","assets",se,"tasks"],queryFn:async()=>{if(!e||!se)return{data:[],total:0};let sr=await g.api.teams[":teamId"].kanban.assets[":assetId"].tasks.$get({param:{teamId:e,assetId:se}});if(!sr.ok)return{data:[],total:0};return await sr.json()},enabled:!!e&&!!se&&Oe}),fr=nr?.total??nr?.data?.length??0,er=!1,Ur=(sr)=>{if(!V)return;if(D&&J){Qe({to:"/share/$shareId/files/$fileId",params:{shareId:J,fileId:V},search:(Mo)=>({...Mo,version:sr})});return}if(!r)return;Qe({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:V},search:(Mo)=>({...Mo,version:sr})})},Vt=async(sr)=>{if(!V)return;try{let Mo=J?await g.api.shares[":shareId"].files[":fileId"]["download-url"].$post({param:{shareId:J,fileId:V},json:{key:sr}}):await g.api.files["download-url"].$post({json:{key:sr,assetId:V}});if(!Mo.ok)return;let{url:ho}=await Mo.json(),Uo=document.createElement("a");Uo.href=ho,Uo.download="",document.body.appendChild(Uo),Uo.click(),document.body.removeChild(Uo)}catch{}},Pr=s.proxyType!=="audio"&&(te?.videoTranscodes?.length??0)>0,zr=Boolean(c||!l&&!ae),Ar={name:a,path:D?void 0:`/projects/${r}`,id:"root"},hr=i.slice().reverse().map((sr)=>({name:sr.name||"",path:D?void 0:`/projects/${r}/folders/${sr.id}`,id:sr.id})),go=zr?hr:hr.slice(0,-1),po=!zr&&hr.length>0?hr[hr.length-1]:null,va=()=>{if(c)return t("span",{className:"truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:c});if(!l&&!ae){if(s.type==="folder")return t("span",{className:"truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:s.name});return o(ge,{modal:!1,open:jt,onOpenChange:qt,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:()=>qt((sr)=>!sr),children:[t("span",{className:"truncate",children:s.name}),s.version!==void 0&&o(ne,{variant:"outline",className:"px-1 py-0 text-xs shrink-0",children:["v",s.version]}),t(Ae,{asChild:!0,onClick:(sr)=>sr.stopPropagation(),onPointerDown:(sr)=>sr.stopPropagation(),children:t("button",{type:"button","aria-label":s.name,className:"flex items-center justify-center p-0.5 rounded shrink-0 focus:outline-none",children:t(ve,{className:"h-4 w-4 shrink-0"})})})]}),o(_e,{className:"w-56",align:"center",children:[ee&&(Pr?o(As,{children:[t(_s,{className:"flex items-center gap-2",children:t("span",{children:_r()})}),t(ra,{children:o(ys,{className:"w-48",children:[t(en,{children:_r()}),te?.videoTranscodes?.map((sr)=>{let Mo=Ss(sr),ho=sr.hdr?`${Mo} (HDR)`:Mo;return o(K,{onClick:()=>Vt(sr.key),className:"flex items-center justify-between",children:[t("span",{children:ho}),t("span",{className:"text-xs text-muted-foreground",children:"MP4"})]},sr.key||`${Mo}-${sr.hdr?"hdr":"sdr"}`)}),te?.originalKey&&o(L,{children:[t(Kt,{}),o(K,{onClick:()=>Vt(te.originalKey),className:"flex items-center justify-between",children:[t("span",{children:"Original"}),t("span",{className:"text-xs text-muted-foreground",children:s.name?.split(".").pop()?.toUpperCase()||"RAW"})]})]})]})})]}):t(K,{onClick:()=>te?.originalKey&&Vt(te.originalKey),disabled:!te?.originalKey,children:_r()})),Ye&&A&&t(K,{onClick:A,children:Zo()}),Ye&&j&&t(K,{onClick:j,className:"text-destructive focus:text-destructive",children:ht()}),he&&be&&o(L,{children:[t(Kt,{}),o(K,{onClick:()=>be(),children:[t(F8,{className:"h-4 w-4"}),t("span",{children:x3e()})]})]}),re&&re.length>0&&o(L,{children:[t(Kt,{}),o(As,{children:[o(_s,{className:"flex items-center gap-2",children:[t(On,{className:"h-4 w-4"}),t("span",{children:"Versions"})]}),t(ra,{children:o(ys,{className:"w-80 p-1",children:[t("div",{className:"flex flex-col gap-1 max-h-96 overflow-y-auto",children:re.map((sr)=>{let Mo=s.version===sr.version;return o(K,{onClick:()=>Ur(sr.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",sr.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:sr.previewUrl?t("img",{src:sr.previewUrl,alt:sr.name||void 0,className:"h-full w-full object-cover"}):t(ar,{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:sr.name}),t("span",{className:"truncate text-xs text-muted-foreground flex items-center gap-1",children:sr.agent?o(L,{children:[t(Mt,{className:"h-3 w-3 shrink-0"}),t("span",{className:"truncate",children:iu({user:sr.creator?.name||Bl(),agent:sr.agent.name})})]}):sr.creator?.name||Bl()})]}),Mo&&t(Me,{className:"h-4 w-4 text-primary ml-auto flex-shrink-0"})]},sr.id)})}),t(Kt,{}),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:()=>rt(!0),children:cp()})})]})})]})]})]})]})}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:[!D&&t(S,{variant:"ghost",size:"icon",onClick:()=>Se(),className:"md:hidden h-8 w-8 text-foreground hover:bg-accent shrink-0 -ml-2 mr-1","aria-label":"Open navigation menu",children:t(XZ,{className:"h-5 w-5"})}),!D&&o("div",{className:"hidden md:flex items-center gap-1 shrink-0",children:[t(xn,{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:xNe()}),t("span",{className:"text-muted-foreground",children:"/"})]}),zr||i.length>0?Ar.path?t(xn,{to:Ar.path,className:"min-w-0 max-w-[45%] md:max-w-none truncate rounded px-1.5 md:px-2 py-1 text-sm font-medium text-foreground transition-colors hover:bg-accent hover:text-accent-foreground shrink",children:Ar.name}):t("button",{onClick:()=>Ar.id&&U?.(Ar.id),className:"min-w-0 max-w-[45%] md:max-w-none truncate rounded px-1.5 md:px-2 py-1 text-sm font-medium text-foreground transition-colors hover:bg-accent hover:text-accent-foreground text-left shrink cursor-pointer",children:Ar.name}):t("span",{className:"min-w-0 flex-1 truncate rounded px-1.5 md:px-2 py-1 text-sm font-medium text-foreground",children:Ar.name}),go.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(ge,{modal:!1,children:[t(Ae,{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(_e,{align:"start",children:go.map((sr,Mo)=>t(K,{asChild:!0,children:sr.path?t(xn,{to:sr.path,className:"cursor-pointer",children:sr.name}):t("button",{onClick:()=>sr.id&&U?.(sr.id),className:"cursor-pointer w-full text-left",children:sr.name})},Mo))})]}),t("span",{className:"text-muted-foreground shrink-0",children:"/"})]}),i.slice().reverse().map((sr)=>{let Mo=D?void 0:`/projects/${r}/folders/${sr.id}`;return o("div",{className:"hidden md:flex items-center gap-1",children:[t("span",{className:"text-muted-foreground",children:"/"}),Mo?t(xn,{to:Mo,className:"truncate rounded px-2 py-1 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground text-foreground",children:sr.name}):t("button",{onClick:()=>sr.id&&U?.(sr.id),className:"truncate rounded px-2 py-1 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground text-foreground",children:sr.name})]},sr.id)}),(zr||!zr&&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",go.length>0?"hidden md:inline":"inline"),children:"/"}),zr?va():po&&t("span",{className:"min-w-0 truncate rounded px-2 py-1 text-sm font-medium text-foreground",children:po.name})]}),Oe&&o(S,{variant:"ghost",size:"sm",className:"h-7 px-2 text-xs gap-1.5 text-muted-foreground hover:text-foreground hover:bg-muted ml-1 cursor-pointer shrink-0",onClick:()=>bt(!0),title:ap(),children:[t(Fo,{className:"w-4 h-4"}),fr>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:fr})]})]}),Oe&&tt&&se&&t(uf,{teamId:e,assetId:se,assetName:s.name,isOpen:tt,onClose:()=>bt(!1)}),V&&re&&re.length>0&&t(nf,{open:Ge,onOpenChange:rt,stackId:V,canEdit:Ye,onStackDissolved:(sr)=>{rt(!1),Qe({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:sr}})},onVersionRemoved:(sr,Mo)=>{if((s.version?re.find((Uo)=>Uo.version===s.version)?.id:void 0)===sr){let Uo=Mo[0];if(Uo)Qe({to:"/projects/$projectId/files/$fileId",params:{projectId:r,fileId:V},search:(bn)=>({...bn,version:Uo.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:[!V&&!D&&v&&t("button",{onClick:v,className:"rounded p-1.5 text-muted-foreground transition-colors hover:bg-accent/50 hover:text-foreground",title:x?"Show Left Sidebar":"Hide Left Sidebar",children:x?t($Me,{className:"h-4 w-4"}):t(t8e,{className:"h-4 w-4 fill-primary stroke-0"})}),!V&&!D&&d&&h&&o(L,{children:[t("button",{onClick:()=>h("card"),className:`rounded p-1.5 transition-colors ${d==="card"?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:"Card View",children:t(io,{className:"h-4 w-4"})}),t("button",{onClick:()=>h("list"),className:`rounded p-1.5 transition-colors ${d==="list"?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:"List View",children:t(Lo,{className:"h-4 w-4"})})]}),t("button",{onClick:k,className:`rounded p-1.5 transition-colors ${!y&&!b?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent/50 hover:text-foreground"}`,title:y?"Show Right Sidebar":"Hide Right Sidebar",children:!y&&!b?t(r8e,{className:"h-4 w-4 fill-primary stroke-0"}):t(e8e,{className:"h-4 w-4"})})]}),!D&&T&&t(un,{children:o(dn,{children:[t(fn,{asChild:!0,children:t("span",{children:t("button",{disabled:!1,onClick:T,className:C("h-9 w-9 flex items-center justify-center rounded-full border border-border bg-background transition-colors",b?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-accent hover:text-foreground",!1),children:b?t(o8e,{className:"h-6 w-6 text-primary transition-colors"}):t(Mt,{className:"h-6 w-6 text-muted-foreground transition-colors"})})})}),t(pn,{children:t("p",{children:b?lGe():Vpt()})})]})})]})]})}var Gt=Nr()(wR((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:iL(()=>localStorage)}));var nX="shumai_selected_agent_id",H_e=()=>{if(typeof window<"u"&&window.localStorage)return localStorage.getItem(nX);return null},dr=Nr((e)=>({isChatbotOpen:!1,setIsChatbotOpen:(r)=>e({isChatbotOpen:r}),isHistoryMode:!1,setIsHistoryMode:(r)=>e({isHistoryMode:r}),currentSessionId:null,setCurrentSessionId:(r)=>e({currentSessionId:r}),chatAssets:[],addAssets:(r)=>e((a)=>{let i=new Set(a.chatAssets.map((l)=>l.id)),s=r.filter((l)=>!i.has(l.id));return{chatAssets:[...a.chatAssets,...s]}}),removeAsset:(r)=>e((a)=>({chatAssets:a.chatAssets.filter((i)=>i.id!==r)})),clearAssets:()=>e({chatAssets:[]}),messages:[],setMessages:(r)=>e({messages:r}),historySessions:[],setHistorySessions:(r)=>e({historySessions:r}),isStreaming:!1,setIsStreaming:(r)=>e({isStreaming:r}),selectedAgentId:H_e(),setSelectedAgentId:(r)=>{if(typeof window<"u"&&window.localStorage)if(r)localStorage.setItem(nX,r);else localStorage.removeItem(nX);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 g.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 g.api.teams[":teamId"].chat.sessions[":sessionId"].messages.$get({param:{teamId:r,sessionId:a}});if(i.ok){let s=await i.json(),c=dr.getState().historySessions.find((d)=>d.id===a)?.agentId||null;e({currentSessionId:a,messages:s,isHistoryMode:!1,scrollTop:0,isAtBottom:!0,...c?{selectedAgentId:c}:{}})}else throw Error("Failed to load session messages")}catch(i){let s=i instanceof Error?i.message:"Failed to load session";M.error(s)}},deleteSession:async(r,a)=>{try{if((await g.api.teams[":teamId"].chat.sessions[":sessionId"].$delete({param:{teamId:r,sessionId:a}})).ok)M.success("Session deleted successfully"),e((s)=>({historySessions:s.historySessions.filter((l)=>l.id!==a),currentSessionId:s.currentSessionId===a?null:s.currentSessionId,messages:s.currentSessionId===a?[]:s.messages}));else throw Error("Failed to delete session")}catch(i){let s=i instanceof Error?i.message:"Failed to delete session";M.error(s)}},startNewSession:()=>{let r=H_e();e({currentSessionId:null,messages:[],chatAssets:[],inputText:"",scrollTop:0,isAtBottom:!0,...r?{selectedAgentId:r}:{}})},sendMessage:async(r,a,i,s,l,c,d,h,x)=>{let v=dr.getState();if(v.isStreaming)return;let y=`temp-${Date.now()}`,k={id:y,role:"custom",customType:"shumai_message",content:a,display:!0,details:{currentAsset:s?{id:s,name:"",type:"file"}:void 0,position:h!==void 0&&h!==null?{type:"time",seconds:h}:void 0,annotation:!!(d&&d.length>0),annotations:d||void 0,attachedFiles:x||void 0,referencedAssets:v.chatAssets.length>0?v.chatAssets.map((U)=>({id:U.id,name:U.name,type:U.type})):void 0},timestamp:Date.now()},b=[...v.messages,k];e({messages:b,isStreaming:!0,chatAssets:[],isAtBottom:!0});let T=v.chatAssets.map((U)=>U.id),D=v.selectedAgentId;if(!D){M.error("No agent selected");return}try{let U=await g.api.teams[":teamId"].chat.$post({param:{teamId:r},json:{agentId:D,textPrompt:a||void 0,attachedFiles:c&&c.length>0?c:void 0,assetIds:T&&T.length>0?T:void 0,sessionId:v.currentSessionId||void 0,contextAssetId:s,projectId:i,second:h??void 0,annotations:d&&d.length>0?d:void 0}});if(!U.ok)throw Error("Failed to start chat");let A=U.headers.get("x-session-id");if(A&&!v.currentSessionId)e({currentSessionId:A});let j=U.body?.getReader();if(!j)throw Error("No stream body");let V=new TextDecoder,J="";while(!0){let{done:te,value:re}=await j.read();if(te)break;J+=V.decode(re,{stream:!0});let ae=J.split(`
|
|
211
|
-
`);J=ae.pop()||"";for(let he of ae){let be=he.trim();if(!be)continue;if(be.startsWith("data: ")){let Qe=be.slice(6);try{let Ye=JSON.parse(Qe);if(Ye.type==="session"){if(!dr.getState().currentSessionId)e({currentSessionId:Ye.sessionId})}else if(Ye.type==="entry"){let Se=Ye.entry,Ge=Se;if(Ge.role==="toolResult"&&typeof Ge.toolName==="string"&&["create_file","create_folder","create_version","rename_asset","move_assets","delete_asset"].includes(Ge.toolName)&&!Ge.isError)l?.();e((rt)=>{let tt=rt.messages.some((se)=>se.id===Se.id),bt=(Se.role==="user"||Se.role==="custom"&&Se.customType==="shumai_message")&&!tt,jt=rt.messages.filter((se)=>{if(bt)return!se.id.startsWith("temp-");if(Se.role==="custom"&&Se.customType==="context_display_info"&&!tt)return!se.id.startsWith("temp-context-");return!0}),qt=jt.findIndex((se)=>se.id===Se.id);if(qt!==-1){let se=[...jt];return se[qt]=Se,{messages:se}}else return{messages:[...jt,Se]}})}else if(Ye.type==="done"){if(Ye.status==="failed")M.error(Ye.error||"Workflow failed")}}catch(Ye){console.error("Error parsing SSE line:",Ye)}}}}dr.getState().fetchHistorySessions(r)}catch(U){let A=U instanceof Error?U.message:"Failed to send message";M.error(A),e((j)=>({messages:j.messages.filter((V)=>V.id!==y)}))}finally{e({isStreaming:!1})}},abortActiveSession:async(r)=>{let{currentSessionId:a,isStreaming:i}=dr.getState();if(!a||!i)return;try{if((await g.api.teams[":teamId"].chat.sessions[":sessionId"].abort.$post({param:{teamId:r,sessionId:a}})).ok)M.success("Agent execution stopped");else throw Error("Failed to abort agent execution")}catch(s){let l=s instanceof Error?s.message:"Failed to abort execution";M.error(l)}}}));var br=Nr((e,r)=>({metadata:{},isLoading:!1,error:null,fetchMetadata:async(a)=>{e({isLoading:!0,error:null});try{let i=await g.api.teams[":teamId"]["user-metadata"].$get({param:{teamId:a}});if(!i.ok)throw Error("failed to fetch user metadata");let l=(await i.json()).reduce((c,d)=>(c[d.key]=d.value,c),{});e({metadata:l,isLoading:!1})}catch(i){e({error:i instanceof Error?i.message:String(i),isLoading:!1})}},setMetadata:async(a,i,s)=>{let l=r().metadata;e((c)=>({metadata:{...c.metadata,[i]:s}}));try{if(!(await g.api.teams[":teamId"]["user-metadata"][":key"].$put({param:{teamId:a,key:i},json:{value:s}})).ok)throw Error("failed to update user metadata")}catch(c){e({metadata:l}),console.error(c)}},getMetadata:(a,i)=>{let s=r().metadata[a];return s!==void 0?s:i}}));E();var iX=768;function Bo(){let[e,r]=u(void 0);return m(()=>{let a=window.matchMedia(`(max-width: ${iX-1}px)`),i=()=>{r(window.innerWidth<iX)};return a.addEventListener("change",i),r(window.innerWidth<iX),()=>a.removeEventListener("change",i)},[]),!!e}function fe({className:e,...r}){return t("div",{"data-slot":"skeleton",className:C("animate-pulse rounded-md bg-accent",e),...r})}function QPt(){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 flex-shrink-0","data-testid":"top-nav-breadcrumb-skeleton",children:[o("div",{className:"flex min-w-0 flex-1 items-center gap-2 overflow-hidden",children:[t(fe,{className:"h-5 w-5 rounded md:hidden shrink-0 -ml-1 mr-1"}),t(fe,{className:"h-4 w-20 md:w-28 shrink-0"}),t("span",{className:"text-muted-foreground text-xs",children:"/"}),t(fe,{className:"h-4 w-24 md:w-36 shrink-0"})]}),o("div",{className:"hidden md:flex items-center gap-2 shrink-0",children:[t(fe,{className:"h-8 w-20 rounded-md"}),t(fe,{className:"h-8 w-8 rounded-md"})]})]})}function df(){let{projectState:e}=mn(),r=Gt(),{isChatbotOpen:a,setIsChatbotOpen:i}=dr(),s=br((se)=>Boolean(se.metadata["appearance.hideAgent"])),l=Bo(),c=kZ({select:(se)=>se.location.pathname});if(l&&(e?.fileId||c.includes("/files/")))return null;if(!e){if(c.startsWith("/projects/"))return t(QPt,{});return t(JPt,{})}let{teamId:d,projectId:h,projectName:x,ancestorFolders:v,currentAsset:y,isRootFolder:k,customTerminalBreadcrumb:b,fileId:T,downloadInfo:D,versions:U,isPublic:A,shareId:j,allowDownload:V,onFolderClick:J,onRename:ee,onDelete:te,compareMode:re,canCompareVersions:ae,onCompareVersions:he}=e,be=!!T,Qe=!!b,Ye=!!j&&!be,Se=be?r.fileViewLeftSidebarCollapsed:Ye?r.shareConfigLeftSidebarCollapsed:r.fileListLeftSidebarCollapsed,Ge=A?void 0:()=>be?r.setFileViewLeftSidebarCollapsed(!r.fileViewLeftSidebarCollapsed):Ye?r.setShareConfigLeftSidebarCollapsed(!r.shareConfigLeftSidebarCollapsed):r.setFileListLeftSidebarCollapsed(!r.fileListLeftSidebarCollapsed),rt=A&&e.isRightSidebarCollapsed!==void 0?e.isRightSidebarCollapsed:be?r.fileViewRightSidebarCollapsed:Ye?r.shareConfigRightSidebarCollapsed:r.fileListRightSidebarCollapsed,tt=A&&e.onRightSidebarToggle?e.onRightSidebarToggle:()=>{if(!A&&a&&!s)if(i(!1),be)r.setFileViewRightSidebarCollapsed(!1);else if(Ye)r.setShareConfigRightSidebarCollapsed(!1);else r.setFileListRightSidebarCollapsed(!1);else if(be)r.setFileViewRightSidebarCollapsed(!r.fileViewRightSidebarCollapsed);else if(Ye)r.setShareConfigRightSidebarCollapsed(!r.shareConfigRightSidebarCollapsed);else r.setFileListRightSidebarCollapsed(!r.fileListRightSidebarCollapsed)},bt=A||s?void 0:()=>{i(!a)},jt=h?r.viewModes[h]??"card":"card";return t(q_e,{teamId:d,projectId:h,projectName:x,ancestorFolders:v,currentAsset:y,isRootFolder:k,customTerminalBreadcrumb:b,displayStyle:be||Ye||Qe?void 0:jt,onDisplayStyleChange:be||Ye||Qe?void 0:A?void 0:(se)=>{if(h)r.setViewMode(h,se)},isLeftSidebarCollapsed:Se,onLeftSidebarToggle:Ge,isRightSidebarCollapsed:rt,onRightSidebarToggle:tt,isChatbotOpen:!A&&!s&&a,onChatbotToggle:s?void 0:bt,isPublic:A,shareId:j,allowDownload:V,fileId:T,downloadInfo:D,versions:U,onFolderClick:J,onRename:ee,onDelete:te,compareMode:re,canCompareVersions:ae,onCompareVersions:he})}function JPt(){let{toggleMobileMenu:e}=zR();return o("div",{className:"flex h-14 items-center justify-between border-b border-border bg-card px-4 py-2 flex-shrink-0",children:[t(S,{variant:"ghost",size:"icon",onClick:e,className:"md:hidden text-foreground hover:bg-accent -ml-2","aria-label":"Open navigation menu",children:t(XZ,{className:"h-5 w-5"})}),t("div",{className:"flex flex-1 items-center justify-center",children:t(KM,{className:"w-10 h-10 text-orange-600"})}),t("div",{className:"w-9 md:hidden"})]})}E();var $Pt=(e,r,a,i,s,l,c,d)=>{let h=document.documentElement,x=["light","dark"];function v(b){(Array.isArray(e)?e:[e]).forEach((T)=>{let D=T==="class",U=D&&l?s.map((A)=>l[A]||A):s;D?(h.classList.remove(...U),h.classList.add(l&&l[b]?l[b]:b)):h.setAttribute(T,b)}),y(b)}function y(b){d&&x.includes(b)&&(h.style.colorScheme=b)}function k(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(i)v(i);else try{let b=localStorage.getItem(r)||a,T=c&&b==="system"?k():b;v(T)}catch(b){}};var eTt=mt(void 0),tTt={setTheme:(e)=>{},themes:[]},V_e=()=>{var e;return(e=vt(eTt))!=null?e:tTt};var _Wn=Hn(({forcedTheme:e,storageKey:r,attribute:a,enableSystem:i,enableColorScheme:s,defaultTheme:l,value:c,themes:d,nonce:h,scriptProps:x})=>{let v=JSON.stringify([a,r,l,e,d,c,i,s]).slice(1,-1);return q("script",{...x,suppressHydrationWarning:!0,nonce:typeof window>"u"?h:"",dangerouslySetInnerHTML:{__html:`(${$Pt.toString()})(${v})`}})});var W_e=({...e})=>{let{theme:r="system"}=V_e();return t(dZe,{theme:r,className:"toaster group",icons:{success:t(ir,{className:"size-4"}),info:t(Vn,{className:"size-4"}),warning:t(Dr,{className:"size-4"}),error:t(j8,{className:"size-4"}),loading:t(O,{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 Cn=Nr((e)=>({uploading:0,tasks:{},fileProgress:{},increment:()=>e((r)=>({uploading:r.uploading+1})),decrement:()=>e((r)=>({uploading:r.uploading-1})),startTask:(r,a,i)=>e((s)=>{let l={},c=0;i.forEach((x)=>{l[x.fileId]={fileId:x.fileId,name:x.name,loaded:0,total:x.size,status:"uploading"},c+=x.size});let d={...s.tasks,[r]:{taskId:r,name:a,loaded:0,total:c,files:l}},h={...s.fileProgress};return i.forEach((x)=>{h[x.fileId]=l[x.fileId]}),{tasks:d,fileProgress:h}}),updateFileProgress:(r,a,i)=>e((s)=>{let l=s.tasks[r];if(!l)return{};let c=l.files[a];if(!c)return{};let d={...c,loaded:i},h={...l.files,[a]:d},x=Object.values(h).reduce((v,y)=>v+y.loaded,0);return{tasks:{...s.tasks,[r]:{...l,loaded:x,files:h}},fileProgress:{...s.fileProgress,[a]:d}}}),completeFile:(r,a)=>e((i)=>{let s=i.tasks[r];if(!s)return{};let l=s.files[a];if(!l)return{};let c={...l,status:"completed",loaded:l.total},d={...s.files,[a]:c},h=Object.values(d).reduce((x,v)=>x+v.loaded,0);return{tasks:{...i.tasks,[r]:{...s,loaded:h,files:d}},fileProgress:{...i.fileProgress,[a]:c}}}),failFile:(r,a)=>e((i)=>{let s=i.tasks[r];if(!s)return{};let l=s.files[a];if(!l)return{};let c={...l,status:"failed"},d={...s.files,[a]:c},h=Object.values(d).reduce((x,v)=>x+v.loaded,0);return{tasks:{...i.tasks,[r]:{...s,loaded:h,files:d}},fileProgress:{...i.fileProgress,[a]:c}}})}));E();function ff({className:e,value:r,...a}){return t(uPe,{"data-slot":"progress",className:C("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",e),...a,children:t(dPe,{"data-slot":"progress-indicator",className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(r||0)}%)`}})})}function rTt(e){let r=qM(e);if(isNaN(r.getTime()))return rvt();if(BO(r))return pce();if(UO(r))return mce();return yr(r,SBe())}function G_e(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 oTt({task:e}){let r=Cn((l)=>l.tasks[e.id]),a=r?r.loaded===r.total&&e.uploaded===e.total:e.uploaded===e.total,i=r?r.total>0?r.loaded/r.total*100:0:e.total>0?e.uploaded/e.total*100:0,s;try{s=Fr(e.createdAt)}catch{s=Sn()}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||Cvt()})}),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(ir,{className:"w-3.5 h-3.5"}),CUe()]}):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(O,{className:"w-3.5 h-3.5 animate-spin"}),r_t()]})})]}),o("div",{className:"flex items-center gap-1.5 text-xs text-muted-foreground mb-3 font-medium",children:[t(Qt,{className:"w-3.5 h-3.5 text-muted-foreground/75"}),t("span",{children:s})]}),o("div",{className:"space-y-1.5 mt-auto",children:[o("div",{className:"flex items-center justify-between text-xs font-semibold",children:[t("span",{className:"text-muted-foreground/80",children:r?`${G_e(r.loaded)} / ${G_e(r.total)} (${oce({uploaded:e.uploaded,total:e.total})})`:oce({uploaded:e.uploaded,total:e.total})}),!a&&o("span",{className:"text-sidebar-primary font-mono font-bold",children:[Math.round(i),"%"]})]}),t(ff,{value:i,className:"h-1.5 w-full bg-muted"})]})]})}function K_e(){let e=bs(),r=Cn((b)=>b.uploading),a=Cn((b)=>b.tasks),{data:i,fetchNextPage:s,hasNextPage:l,isFetchingNextPage:c,isLoading:d}=pt({queryKey:["teams",e,"upload","tasks"],queryFn:async({pageParam:b})=>{let T=await g.api.teams[":teamId"].upload.tasks.$get({param:{teamId:e},query:{after:b}});if(!T.ok)throw Error("Failed to fetch upload tasks");return await T.json()},initialPageParam:"",getNextPageParam:(b)=>b.pageInfo?.cursor||void 0,enabled:!!e,refetchInterval:r>0?2000:!1}),{ref:h,inView:x}=Nt();m(()=>{if(x&&l&&!c)s()},[x,l,c,s]);let v=i?.pages.flatMap((b)=>b.data??[])??[],y=N(()=>{let b=new Set(v.map((D)=>D.id));return[...Object.values(a).filter((D)=>!b.has(D.taskId)).map((D)=>{let U=Object.values(D.files).filter((A)=>A.status==="completed"||A.status==="failed").length;return{id:D.taskId,name:D.name,total:Object.keys(D.files).length,uploaded:U,createdAt:new Date().toISOString()}}),...v].sort((D,U)=>U.id.localeCompare(D.id))},[v,a]);if(d)return t("div",{className:"flex items-center justify-center p-8",children:t(O,{className:"h-6 w-6 animate-spin text-muted-foreground"})});if(y.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($n,{className:"h-8 w-8 text-muted-foreground/50 mb-3"}),t("p",{className:"text-sm font-semibold text-muted-foreground",children:vrt()}),t("p",{className:"text-xs text-muted-foreground/60 mt-1 max-w-[180px]",children:grt()})]});let k=[];return y.forEach((b)=>{let T=rTt(b.createdAt),D=k.find((U)=>U.day===T);if(!D)D={day:T,tasks:[]},k.push(D);D.tasks.push(b)}),o("div",{className:"flex flex-col space-y-4",children:[k.map((b)=>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:b.day}),t("span",{className:"text-[10px] font-semibold text-muted-foreground/60 bg-muted px-2 py-0.5 rounded-full",children:b.tasks.length===1?Y$e({count:b.tasks.length}):j$e({count:b.tasks.length})})]}),t("div",{className:"mt-3 space-y-3",children:b.tasks.map((T)=>t(oTt,{task:T},T.id))})]},b.day)),l&&t("div",{ref:h,className:"flex items-center justify-center p-4",children:c&&t(O,{className:"h-5 w-5 animate-spin text-muted-foreground"})})]})}E();async function X_e(e){let r=e.match(/^\/teams\/([^/]+)/),a=r?r[1]:null;if(a)return a;let i=e.match(/^\/projects\/([^/]+)/),s=i?i[1]:null;if(s){let{ensureTeamIdForProject:l}=gt.getState();return await l(s)}return null}function aTt(){let e=ji((T)=>T.user),{uploading:r}=Cn(),a=kZ({select:(T)=>T.location.pathname}),i=Pe(),{teamId:s,setTeamId:l}=gt(),{projectState:c}=mn(),d=e&&(a.startsWith("/teams/")||a.startsWith("/projects/"));m(()=>{X_e(a).then((T)=>{if(T&&T!==s)l(T)})},[a,s,l]);let{data:h}=Z({queryKey:["teams",s,"me"],queryFn:async()=>{if(!s)return null;let T=await g.api.teams[":teamId"].me.$get({param:{teamId:s}});if(!T.ok)throw Error("Failed to fetch me");return await T.json()},enabled:!!s&&!!e});if(!d)return t(Z8,{});let x=h?.unreadNotificationCount??0,v=x>99?"99+":x,y=x>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:v}):null,k=a.includes("/kanban"),b=a.includes("/dashboard");return o("div",{className:"flex h-[100dvh] w-full bg-background overflow-hidden",children:[t(W_e,{}),o(gce,{hideMobileButton:!0,defaultMobileContent:c?.projectId?{label:ace(),children:t(Sr,{teamId:c.teamId,projectId:c.projectId,projectName:c.projectName,rootFolderId:c.rootFolderId||"",ancestorFolders:c.ancestorFolders})}:void 0,children:[t(kL,{icon:t(n8e,{}),label:yGe(),onItemClick:()=>{if(s)i({to:"/teams/$teamId",params:{teamId:s}})}}),t(kL,{icon:t(a8e,{}),label:Rg(),badge:y,children:t(JMe,{})}),t(kL,{icon:t(i8e,{uploading:r>0,className:r>0?"text-blue-500":""}),label:n_t(),children:t(K_e,{})}),t(kL,{icon:t(f8e,{}),label:cKe(),active:k,onItemClick:()=>{if(s)i({to:"/teams/$teamId/kanban",params:{teamId:s}})}}),h?.role?.toLowerCase()==="owner"&&t(kL,{icon:t(s8e,{}),label:Ih(),active:b,onItemClick:()=>{if(s)i({to:"/teams/$teamId/dashboard",params:{teamId:s}})}})]}),o("div",{className:"flex flex-col flex-1 md:pl-16 overflow-hidden relative",children:[t(df,{}),t("main",{className:"flex-1 overflow-hidden relative flex flex-col",children:t(Z8,{})})]})]})}var Yn=X6()({beforeLoad:async({location:e})=>{if(typeof window<"u"){let r=e.pathname,a=await X_e(r);if(a){let{fetchMetadata:i,getMetadata:s}=br.getState();try{await i(a);let l=s("locale");if((l==="en"||l==="zh")&&l!==n())Na(l,{reload:!1})}catch(l){console.error("Failed to load user locale metadata:",l)}}document.documentElement.setAttribute("lang",n())}},component:aTt});function jl({children:e}){return o("div",{className:"min-h-screen w-full flex items-center justify-center p-4 md:p-8 bg-zinc-100/80 dark:bg-black font-sans overflow-hidden relative",children:[t("div",{className:"bg-rose-500/10 dark:bg-rose-600/5 w-[600px] h-[600px] rounded-full blur-[140px] absolute top-[-10%] left-[-10%] animate-drift-slow"}),t("div",{className:"bg-orange-500/10 dark:bg-orange-600/5 w-[600px] h-[600px] rounded-full blur-[140px] absolute bottom-[-10%] right-[-10%] animate-drift-medium"}),o("div",{className:"relative max-w-4xl w-full flex flex-col md:flex-row rounded-3xl border border-zinc-200 dark:border-zinc-800 shadow-2xl bg-white dark:bg-zinc-900 overflow-hidden min-h-[580px] z-10 transition-all duration-300 hover:shadow-rose-500/5",children:[o("div",{className:"hidden md:flex flex-col w-full md:w-1/2 bg-gradient-to-br from-rose-500/15 via-orange-500/10 to-amber-500/5 dark:from-rose-950/30 dark:via-orange-950/15 dark:to-zinc-900/40 p-8 md:p-12 justify-between border-r border-zinc-200 dark:border-zinc-800 relative overflow-hidden",children:[t("div",{className:"absolute inset-0 bg-[linear-gradient(to_right,#8080800a_1px,transparent_1px),linear-gradient(to_bottom,#8080800a_1px,transparent_1px)] bg-[size:14px_24px] [mask-image:radial-gradient(ellipse_60%_50%_at_50%_0%,#000_70%,transparent_100%)] pointer-events-none"}),o("div",{className:"relative flex items-center gap-3",children:[t(KM,{className:"h-12 w-12 shadow-lg shadow-rose-500/10 rounded-2xl transition-transform duration-500 hover:scale-105"}),t("span",{className:"text-xl font-extrabold tracking-tight bg-gradient-to-r from-rose-500 via-orange-500 to-amber-500 bg-clip-text text-transparent",children:"Shumai"})]}),o("div",{className:"relative my-8 md:my-0 space-y-6",children:[t("h2",{className:"text-3xl font-extrabold tracking-tight leading-tight text-zinc-900 dark:text-zinc-50",children:s4e()}),t("p",{className:"text-zinc-600 dark:text-zinc-400 text-sm leading-relaxed max-w-sm",children:X5e()}),t("ul",{className:"space-y-3.5 pt-4",children:[n4e(),$5e(),r4e()].map((r,a)=>o("li",{className:"flex items-center gap-3 text-sm text-zinc-700 dark:text-zinc-300 font-medium",children:[t(ir,{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("a",{href:"https://discord.gg/sUzhujK6DD",target:"_blank",rel:"noreferrer",className:"text-xs text-zinc-500 hover:text-zinc-800 dark:text-zinc-400 dark:hover:text-zinc-200 font-medium transition-colors hover:underline inline-flex items-center gap-1",children:W5e()})})]}),t("div",{className:"w-full md:w-1/2 p-8 md:p-12 flex flex-col justify-center",children:e})]})]})}function Ve({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 _t({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 yt({className:e,...r}){return t("div",{"data-slot":"card-title",className:C("leading-none font-semibold",e),...r})}function kt({className:e,...r}){return t("div",{"data-slot":"card-description",className:C("text-sm text-muted-foreground",e),...r})}function dt({className:e,...r}){return t("div",{"data-slot":"card-content",className:C("px-6",e),...r})}function ca({className:e,...r}){return t("div",{"data-slot":"card-footer",className:C("flex items-center px-6 [.border-t]:pt-6",e),...r})}E();var BN=(e)=>e.type==="checkbox",HB=(e)=>e.type==="file",Cz=(e)=>e instanceof Date,Gi=(e)=>e==null,ZX=(e)=>typeof e==="object",qn=(e)=>!Gi(e)&&!Array.isArray(e)&&ZX(e)&&!Cz(e),nTt=(e)=>qn(e)&&e.target?BN(e.target)?e.target.checked:HB(e.target)?e.target.files:e.target.value:e,iTt=(e,r)=>r.split(".").some((a,i,s)=>!isNaN(Number(a))&&e.has(s.slice(0,i).join("."))),VB=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Rn(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(VB&&(e instanceof Blob||r))return e;let a=Array.isArray(e);if(!a&&e.constructor!==Object)return e;let i=a?[]:Object.create(Object.getPrototypeOf(e));for(let s in e)if(Object.prototype.hasOwnProperty.call(e,s))i[s]=Rn(e[s]);return i}var VP={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},Nu={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Du={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},cye="root",pX=["__proto__","constructor","prototype"],fTt=/^\w*$/,mk=(e)=>fTt.test(e),xa=(e)=>e===void 0,sTt=/[.[\]'"]/,GP=(e)=>e.split(sTt).filter(Boolean),gr=(e,r,a)=>{if(!r||!qn(e))return a;let i=mk(r)?[r]:GP(r);if(i.some((l)=>pX.includes(l)))return a;let s=i.reduce((l,c)=>Gi(l)?void 0:l[c],e);return xa(s)||s===e?xa(e[r])?a:e[r]:s},SZ=(e)=>typeof e==="boolean",Ec=(e)=>typeof e==="function",ga=(e,r,a)=>{let i=-1,s=mk(r)?[r]:GP(r),l=s.length,c=l-1;while(++i<l){let d=s[i],h=a;if(i!==c){let x=e[d];h=qn(x)||Array.isArray(x)?x:!isNaN(+s[i+1])?[]:{}}if(pX.includes(d))return;e[d]=h,e=e[d]}},lTt=mt(null);lTt.displayName="HookFormControlContext";var cTt=(e,r,a,i=!0)=>{let s={};for(let l in e)Object.defineProperty(s,l,{get:()=>{let c=l;if(r._proxyFormState[c]!==Nu.all)r._proxyFormState[c]=!i||Nu.all;return a&&(a[c]=!0),e[c]}});return s},uTt=VB?Ue:m,dTt=(e)=>{let r=e.constructor&&e.constructor.prototype;return qn(r)&&r.hasOwnProperty("isPrototypeOf")},cX=(e)=>Gi(e)||!ZX(e),Q_e=(e,r)=>r.length===0&&!Array.isArray(e)&&!dTt(e);function Ou(e,r,a=new WeakMap){if(e===r)return!0;if(cX(e)||cX(r))return Object.is(e,r);if(Cz(e)&&Cz(r))return Object.is(e.getTime(),r.getTime());let i=Object.keys(e),s=Object.keys(r);if(i.length!==s.length)return!1;if(Q_e(e,i)||Q_e(r,s))return Object.is(e,r);if(!i.length&&Array.isArray(e)!==Array.isArray(r))return!1;let l=a.get(e);if(l&&l.has(r))return!0;if(l)l.add(r);else{let c=new WeakSet;c.add(r),a.set(e,c)}for(let c of i){let d=e[c];if(!(c in r))return!1;if(c!=="ref"){let h=r[c];if(Cz(d)&&Cz(h)||(qn(d)||Array.isArray(d))&&(qn(h)||Array.isArray(h))?!Ou(d,h,a):!Object.is(d,h))return!1}}return!0}function ZTt(){let e=_(!1),r=_(void 0),a=P((s,l,c)=>{if(s&&e.current){let d=l();if(!Ou(r.current,d))c(d)}e.current=!0},[]),i=P((s,l)=>{if(s)r.current=Rn(l())},[]);return{resyncIfNeeded:a,snapshot:i}}var Ki=(e)=>typeof e==="string",pTt=(e,r,a,i,s)=>{if(Ki(e))return i&&r.watch.add(e),gr(a,e,s);if(Array.isArray(e))return e.map((l)=>(i&&r.watch.add(l),gr(a,l)));return i&&(r.watchAll=!0),a};var BB=(e)=>({isOnSubmit:!e||e===Nu.onSubmit,isOnBlur:e===Nu.onBlur,isOnChange:e===Nu.onChange,isOnAll:e===Nu.all,isOnTouch:e===Nu.onTouched}),fX=(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},jN=(e,r,a,i)=>{for(let s of a||Object.keys(e)){if(s==="_f")continue;let l=a?gr(e,s):e[s];if(l){let{_f:c}=l;if(c){if(c.refs&&c.refs[0]&&r(c.refs[0],s)&&!i)return!0;else if(c.ref&&r(c.ref,c.name)&&!i)return!0;else if(jN(l,r))break}else if(qn(l)||Array.isArray(l)){if(jN(l,r))break}}}return},J_e=(e,r,a)=>{let i=gr(e,a),s=Array.isArray(i)?i:[];return ga(s,cye,r[a]),ga(e,a,s),e},kf=(e)=>qn(e)&&!Object.keys(e).length,YB=(e)=>{if(!VB)return!1;let r=e?e.ownerDocument:0;return e instanceof(r&&r.defaultView?r.defaultView.HTMLElement:HTMLElement)},mX=(e)=>e.type==="radio",qB=(e)=>e instanceof RegExp,WB=(e,r,a,i,s)=>r?{...a[e],types:{...a[e]&&a[e].types?a[e].types:{},[i]:s||!0}}:{},$_e={value:!1,isValid:!1},eye={value:!0,isValid:!0},uye=(e)=>{if(!Array.isArray(e))return $_e;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 $_e;if(!r.attributes||!("value"in r.attributes))return eye;return xa(r.value)||r.value===""?eye:{value:r.value,isValid:!0}},tye={isValid:!1,value:null},dye=(e)=>Array.isArray(e)?e.reduce((r,a)=>a&&a.checked&&!a.disabled?{isValid:!0,value:a.value}:r,tye):tye;function rye(e,r,a="validate"){if(Ki(e)||Array.isArray(e)&&e.every(Ki)||SZ(e)&&!e)return{type:a,message:Ki(e)?e:"",ref:r}}var WP=(e)=>qn(e)&&!qB(e)?e:{value:e,message:""},oye=async(e,r,a,i,s,l)=>{let{ref:c,refs:d,required:h,maxLength:x,minLength:v,min:y,max:k,pattern:b,validate:T,name:D,valueAsNumber:U,mount:A}=e._f,j=gr(a,D);if(!A||r.has(D))return{};let V=d?d[0]:c,J=(Se)=>{if(s&&V.reportValidity){let Ge=SZ(Se)?"":Se||"";if(d)d.forEach((rt)=>rt.setCustomValidity(Ge));else V.setCustomValidity(Ge);V.reportValidity()}},ee={},te=mX(c),re=BN(c),ae=te||re,he=(U||HB(c))&&xa(c.value)&&xa(j)||YB(c)&&c.value===""||j===""||Array.isArray(j)&&!j.length,be=WB.bind(null,D,i,ee),Qe=(Se,Ge,rt,tt=Du.maxLength,bt=Du.minLength)=>{let jt=Se?Ge:rt;ee[D]={type:Se?tt:bt,message:jt,ref:c,...be(Se?tt:bt,jt)}};if(l?!Array.isArray(j)||!j.length:h&&(!ae&&(he||Gi(j))||SZ(j)&&!j||re&&!uye(d).isValid||te&&!dye(d).isValid)){let{value:Se,message:Ge}=Ki(h)?{value:!!h,message:h}:WP(h);if(Se){if(ee[D]={type:Du.required,message:Ge,ref:V,...be(Du.required,Ge)},!i)return J(Ge),ee}}if(!he&&(!Gi(y)||!Gi(k))){let Se,Ge,rt=WP(k),tt=WP(y);if(!Gi(j)&&!Cz(j)&&!isNaN(j)){let bt=c.valueAsNumber||(j?+j:j);if(!Gi(rt.value))Se=bt>rt.value;if(!Gi(tt.value))Ge=bt<tt.value}else{let bt=c.valueAsDate||new Date(j),jt=(St)=>new Date(new Date().toDateString()+" "+St),qt=c.type=="time",se=c.type=="week";if(Ki(rt.value)&&j)Se=qt?jt(j)>jt(rt.value):se?j>rt.value:bt>new Date(rt.value);if(Ki(tt.value)&&j)Ge=qt?jt(j)<jt(tt.value):se?j<tt.value:bt<new Date(tt.value)}if(Se||Ge){if(Qe(!!Se,rt.message,tt.message,Du.max,Du.min),!i)return J(ee[D].message),ee}}if((x||v)&&!he&&(Ki(j)||l&&Array.isArray(j))){let Se=WP(x),Ge=WP(v),rt=!Gi(Se.value)&&j.length>+Se.value,tt=!Gi(Ge.value)&&j.length<+Ge.value;if(rt||tt){if(Qe(rt,Se.message,Ge.message),!i)return J(ee[D].message),ee}}if(b&&!he&&Ki(j)){let{value:Se,message:Ge}=WP(b);if(qB(Se)&&!j.match(Se)){if(ee[D]={type:Du.pattern,message:Ge,ref:c,...be(Du.pattern,Ge)},!i)return J(Ge),ee}}if(T){if(Ec(T)){let Se=await T(j,a),Ge=rye(Se,V);if(Ge){if(ee[D]={...Ge,...be(Du.validate,Ge.message)},!i)return J(Ge.message),ee}}else if(qn(T)){let Se={};for(let Ge in T){if(!kf(Se)&&!i)break;let rt=rye(await T[Ge](j,a),V,Ge);if(rt){if(Se={...rt,...be(Ge,rt.message)},J(rt.message),i)ee[D]=Se}}if(!kf(Se)){if(ee[D]={ref:V,...Se},!i)return ee}}}let Ye=ee[D];return J(Ye?Ye.message:!0),ee},UB=(e)=>Array.isArray(e)?e:[e];var Zye=(e)=>Array.isArray(e)?e.filter(Boolean):[];function mTt(e,r){let a=r.length-1,i=0;while(i<a){if(Gi(e)){e=void 0;break}e=e[r[i]],i++}return e}function hTt(e){for(let r in e)if(e.hasOwnProperty(r)&&!xa(e[r]))return!1;return!0}function ii(e,r){if(Ki(r)&&Object.prototype.hasOwnProperty.call(e,r))return delete e[r],e;let a=Array.isArray(r)?r:mk(r)?[r]:GP(r);if(a.some((c)=>pX.includes(String(c))))return e;let i=a.length===1?e:mTt(e,a),s=a.length-1,l=a[s];if(i)delete i[l];if(s!==0&&(qn(i)&&kf(i)||Array.isArray(i)&&hTt(i)))ii(e,a.slice(0,-1));return e}var gTt=mt(null);gTt.displayName="HookFormContext";var aye=()=>{let e=[];return{get observers(){return e},next:(s)=>{for(let l of e)l.next&&l.next(s)},subscribe:(s)=>(e.push(s),{unsubscribe:()=>{e=e.filter((l)=>l!==s)}}),unsubscribe:()=>{e=[]}}};function pye(e,r){let a={};for(let i in e)if(e.hasOwnProperty(i)){let s=e[i],l=r[i];if(s&&qn(s)&&l){let c=pye(s,l);if(qn(c))a[i]=c}else if(e[i])a[i]=l}return a}var nye=(e,r)=>e!==null&&ZX(e)&&Object.prototype.hasOwnProperty.call(e,r),MTt=(e,r)=>{if(!r)return!1;let a=e;for(let i of mk(r)?[r]:GP(r)){if(!nye(a,i))return nye(e,r);a=a[i]}return!0},mye=(e)=>e.type==="select-multiple",xTt=(e)=>mX(e)||BN(e),sX=(e)=>YB(e)&&e.isConnected;function iye(e){return Array.isArray(e)||qn(e)}function hye(e,r,a="",i=[]){for(let s in e){let l=a?`${a}.${s}`:s,c=e[s];if(iye(c)&&iye(gr(r,l)))hye(c,r,l,i);else i.push(l)}return i}var vTt=(e)=>{for(let r in e)if(Ec(e[r]))return!0;return!1};function gye(e){return Array.isArray(e)||qn(e)&&!vTt(e)}function Mye(e){return!!(e&&("_f"in e))}function xye(e){return Array.isArray(e)?!e.some((r)=>!xa(r)):!Object.keys(e).length}function uX(e,r){if(Array.isArray(e))e[r]=void 0;else delete e[r]}function dX(e,r={},a){for(let i in e){let s=e[i],l=a&&a[i];if(gye(s)&&(!Array.isArray(s)||!Mye(l))){if(r[i]=Array.isArray(s)?[]:{},dX(s,r[i],l),xye(r[i]))uX(r,i)}else if(!xa(s))r[i]=!0}return r}function pk(e,r,a,i){if(!a)a=dX(r,{},i);for(let s in e){let l=e[s],c=i&&i[s];if(gye(l)&&(!Array.isArray(l)||!Mye(c))){if(xa(r)||cX(a[s]))a[s]=dX(l,Array.isArray(l)?[]:{},c);else pk(l,Gi(r)?{}:r[s],a[s],c);if(xye(a[s]))uX(a,s)}else if(Ou(l,r[s]))uX(a,s);else a[s]=!0}return a}var _Tt=(e,r)=>{let a=r.split("."),i=[],s=a[0];for(let l=1;l<a.length;s+="."+a[l++])if(!isNaN(+a[l])&&e.has(s))i.push(`${s}.${a[l]}`);return i},vye=(e,{valueAsNumber:r,valueAsDate:a,setValueAs:i})=>xa(e)?e:r?e===""?NaN:e?+e:e:a&&Ki(e)?new Date(e):i?i(e):e;function fye(e){let r=e.ref;if(HB(r))return r.files;if(mX(r))return dye(e.refs).value;if(mye(r))return[...r.selectedOptions].map(({value:a})=>a);if(BN(r))return uye(e.refs).value;return vye(r.value,e)}var yTt=(e,r,a,i)=>{let s={};for(let l of e){let c=gr(r,l);c&&ga(s,l,c._f)}return{criteriaMode:a,names:[...e],fields:s,shouldUseNativeValidation:i}},FN=(e)=>xa(e)?e:qB(e)?e.source:qn(e)?qB(e.value)?e.value.source:e.value:e,sye="AsyncFunction",bTt=(e)=>{if(!e||!e.validate)return!1;if(Ec(e.validate))return e.validate.constructor.name===sye;if(qn(e.validate)){for(let r in e.validate)if(e.validate[r].constructor.name===sye)return!0}return!1},wTt=(e)=>e.mount&&(e.required||!xa(e.required)&&e.required!==!1||!xa(e.min)||!xa(e.max)||!xa(e.maxLength)||!xa(e.minLength)||e.pattern||e.validate);function lye(e,r,a){let i=gr(e,a);if(i||mk(a))return{error:i,name:a};let s=a.split(".");while(s.length){let l=s.join("."),c=gr(r,l),d=gr(e,l);if(c&&!Array.isArray(c)&&a!==l)return{name:a};if(d&&d.type)return{name:l,error:d};if(d&&d.root&&d.root.type)return{name:`${l}.root`,error:d.root};s.pop()}return{name:a}}var zTt=(e,r,a,i)=>{a(e);let s=Object.keys(e).filter((l)=>l!=="name");return!s.length||i&&s.length>=Object.keys(r).length||s.find((l)=>r[l]===(!i||Nu.all))},STt=(e,r,a)=>!e||!r||e===r||UB(e).some((i)=>i&&(a?i===r||i.startsWith(r+"."):i.startsWith(r)||r.startsWith(i))),LTt=(e,r,a,i,s)=>{if(s.isOnAll)return!1;else if(!a&&s.isOnTouch)return!(r||e);else if(a?i.isOnBlur:s.isOnBlur)return!e;else if(a?i.isOnChange:s.isOnChange)return e;return!0},kTt=(e,r)=>{let a=gr(e,r);!Zye(a).length&&!(a===null||a===void 0?void 0:a.root)&&ii(e,r)},CTt={mode:Nu.onSubmit,reValidateMode:Nu.onChange,shouldFocusError:!0},lX="form",ITt=(e,r)=>{for(let a in e)if(!(a in r))delete e[a];Object.assign(e,r)},_ye={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function RTt(e={}){let r={...CTt,...e},a={...Rn(_ye),isLoading:Ec(r.defaultValues),errors:r.errors||{},disabled:r.disabled||!1},i={},s=qn(r.defaultValues)||qn(r.values)?Rn(r.defaultValues||r.values)||{}:{},l=r.shouldUnregister?{}:Rn(s),c={action:!1,actionArrayLengths:new Map,mount:!1,watch:!1,keepIsValid:!1},d={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},h={},x={},v=0,y=BB(r.mode),k=BB(r.reValidateMode),b={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},T={...b},D={...T},U={array:aye(),state:aye()},A=0,j=r.criteriaMode===Nu.all,V=(Ee,De)=>(je)=>{clearTimeout(x[Ee]),x[Ee]=setTimeout(De,je)},J=async(Ee)=>{if(c.keepIsValid)return;if(!r.disabled&&(T.isValid||D.isValid||Ee)){let De=++A,je;if(r.resolver)je=kf((await rt()).errors),De===A&&ee();else je=await jt({fields:i,onlyCheckValid:!0,eventType:VP.VALID});if(De===A&&je!==a.isValid)U.state.next({isValid:je})}},ee=(Ee,De)=>{if(!r.disabled&&(T.isValidating||T.validatingFields||D.isValidating||D.validatingFields))(Ee||d.mount).forEach((je)=>{if(je)De?ga(a.validatingFields,je,De):ii(a.validatingFields,je)}),U.state.next({validatingFields:a.validatingFields,isValidating:!kf(a.validatingFields)})},te=()=>{a.dirtyFields=pk(s,l,void 0,i)},re=(Ee,De=[],je,ft,Ct=!0,Bt=!0)=>{if(ft&&je&&!r.disabled){c.action=!0;let or=gr(i,Ee);if(!c.actionArrayLengths.has(Ee))c.actionArrayLengths.set(Ee,Array.isArray(or)?or.length:0);if(Bt&&Array.isArray(or)){let Yt=je(or,ft.argA,ft.argB);Ct&&ga(i,Ee,Yt)}let Ot=gr(a.errors,Ee);if(Bt&&Array.isArray(Ot)){let Yt=Ot.root,jr=je(Ot,ft.argA,ft.argB)||Ot;if(Yt)jr.root=Yt;Ct&&ga(a.errors,Ee,jr),kTt(a.errors,Ee)}let Lt=gr(a.touchedFields,Ee);if((T.touchedFields||D.touchedFields)&&Bt&&Array.isArray(Lt)){let Yt=je(Lt,ft.argA,ft.argB);Ct&&ga(a.touchedFields,Ee,Yt)}if(T.dirtyFields||D.dirtyFields)te();U.state.next({name:Ee,isDirty:se(Ee,De),dirtyFields:a.dirtyFields,errors:a.errors,isValid:a.isValid})}else ga(l,Ee,De)},ae=(Ee,De)=>{ga(a.errors,Ee,De),a.errors={...a.errors},U.state.next({errors:a.errors})},he=(Ee)=>{a.errors=Ee,U.state.next({errors:a.errors,isValid:!1})},be=(Ee)=>{let De=mk(Ee)?[Ee]:GP(Ee),je=l,ft=s;for(let Ct=0;Ct<De.length-1;Ct++){let Bt=De[Ct];if(je=Gi(je)?je:je[Bt],ft=Gi(ft)?ft:ft[Bt],je===null&&ft!==null)return!0}return!1},Qe=(Ee)=>{if(!c.actionArrayLengths.size)return!1;let De=mk(Ee)?[Ee]:GP(Ee),je=l,ft="",Ct=-1,Bt=0;for(let or=0;or<De.length;or++){if(Gi(je))return!1;let Ot=De[or];if(ft=ft?`${ft}.${Ot}`:Ot,Array.isArray(je)&&+Ot>=je.length)return Ct===-1?!1:or===Ct?+Ot<Bt:!0;if(c.actionArrayLengths.has(ft))Ct=or+1,Bt=c.actionArrayLengths.get(ft);je=je[Ot]}return!1},Ye=(Ee,De,je,ft)=>{let Ct=gr(i,Ee);if(Ct){if(be(Ee)||Qe(Ee))return;let Bt=xa(gr(l,Ee)),or=gr(l,Ee,xa(je)?gr(s,Ee):je);if(xa(or)||ft&&ft.defaultChecked||De?ga(l,Ee,De?or:fye(Ct._f)):Oe(Ee,or),c.mount&&!c.action){if(J(),Bt&&a.isDirty&&(T.isDirty||D.isDirty)){if(!se())a.isDirty=!1,U.state.next({...a})}if(e.shouldUnregister&&Bt&&!xa(gr(l,Ee))&&fX(Ee,d))c.watch=!0}}},Se=(Ee,De,je,ft,Ct)=>{let Bt=!1,or=!1,Ot={name:Ee};if(!r.disabled||ft===!0){if(!je||ft){let Lt=Ou(gr(s,Ee),De);if(T.isDirty||D.isDirty)or=a.isDirty,a.isDirty=Ot.isDirty=!Lt||se(),Bt=or!==Ot.isDirty;if(or=!!gr(a.dirtyFields,Ee),Lt!==a.isDirty)ITt(a.dirtyFields,pk(s,l,void 0,i));else Lt?ii(a.dirtyFields,Ee):ga(a.dirtyFields,Ee,!0);Ot.dirtyFields=a.dirtyFields,Bt=Bt||(T.dirtyFields||D.dirtyFields)&&or!==!Lt}if(je){let Lt=gr(a.touchedFields,Ee);if(!Lt)ga(a.touchedFields,Ee,je),Ot.touchedFields=a.touchedFields,Bt=Bt||(T.touchedFields||D.touchedFields)&&Lt!==je}Bt&&Ct&&U.state.next(Ot)}return Bt?Ot:{}},Ge=(Ee,De,je,ft)=>{let Ct=gr(a.errors,Ee),Bt=(T.isValid||D.isValid)&&SZ(De)&&a.isValid!==De;if(r.delayError&&je)h[Ee]=V(Ee,()=>ae(Ee,je)),h[Ee](r.delayError);else clearTimeout(x[Ee]),delete h[Ee],je?ga(a.errors,Ee,je):ii(a.errors,Ee),a.errors={...a.errors};if((je?!Ou(Ct,je):Ct)||!kf(ft)||Bt){let or={...ft,...Bt&&SZ(De)?{isValid:De}:{},errors:a.errors,name:Ee};U.state.next(or)}},rt=async(Ee)=>(ee(Ee,!0),await r.resolver(l,r.context,yTt(Ee||d.mount,i,r.criteriaMode,r.shouldUseNativeValidation))),tt=async(Ee)=>{let{errors:De}=await rt(Ee);if(ee(Ee),Ee){for(let je of Ee){let ft=gr(De,je);ft?d.array.has(je)&&qn(ft)&&!Object.keys(ft).some((Ct)=>!Number.isNaN(Number(Ct)))?J_e(a.errors,{[je]:ft},je):ga(a.errors,je,ft):ii(a.errors,je)}a.errors={...a.errors}}else a.errors=De;return De},bt=async({name:Ee,eventType:De})=>{if(e.validate){let je=await e.validate({formValues:l,formState:a,name:Ee,eventType:De});if(qn(je))for(let ft in je){let Ct=je[ft];if(Ct)po(`${lX}.${ft}`,{message:Ki(Ct.message)?Ct.message:"",type:Ct.type||Du.validate})}else if(Ki(je)||!je)po(lX,{message:je||"",type:Du.validate});else go(lX);return je}return!0},jt=async({fields:Ee,onlyCheckValid:De,name:je,eventType:ft,context:Ct={valid:!0,runRootValidation:!1}})=>{if(e.validate){if(Ct.runRootValidation=!0,!await bt({name:je,eventType:ft})){if(Ct.valid=!1,De)return Ct.valid}}for(let Bt in Ee){let or=Ee[Bt];if(or){let{_f:Ot,...Lt}=or;if(Ot){let Yt=d.array.has(Ot.name),jr=or._f&&bTt(or._f),Yr=T.validatingFields||T.isValidating||D.validatingFields||D.isValidating;if(jr&&Yr)ee([Ot.name],!0);let da=await oye(or,d.disabled,l,j,r.shouldUseNativeValidation&&!De,Yt);if(jr&&Yr)ee([Ot.name]);if(da[Ot.name]){if(Ct.valid=!1,De)break}if(!De&&(gr(da,Ot.name)?Yt?J_e(a.errors,da,Ot.name):ga(a.errors,Ot.name,da[Ot.name]):ii(a.errors,Ot.name)),e.shouldUseNativeValidation&&da[Ot.name])break}!kf(Lt)&&await jt({context:Ct,onlyCheckValid:De,fields:Lt,name:Bt,eventType:ft})}}return Ct.valid},qt=()=>{for(let Ee of d.unMount){let De=gr(i,Ee);De&&(De._f.refs?De._f.refs.every((je)=>!sX(je)):!sX(De._f.ref))&&ho(Ee)}d.unMount=new Set},se=(Ee,De)=>(Ee&&De&&ga(l,Ee,De),!Ou(c.mount?l:s,s)),St=(Ee,De,je)=>pTt(Ee,d,{...c.mount?l:xa(De)||Ki(Ee)?s:De},je,De),Ht=(Ee)=>Zye(gr(c.mount?l:s,Ee,r.shouldUnregister?gr(s,Ee,[]):[])),Oe=(Ee,De,je={},ft=!1,Ct=!1,Bt=!1)=>{let or=gr(i,Ee),Ot=De;if(or){let Lt=or._f;if(Lt){if(!Lt.disabled&&ga(l,Ee,vye(De,Lt)),Ot=YB(Lt.ref)&&Gi(De)?"":De,mye(Lt.ref))[...Lt.ref.options].forEach((Yt)=>Yt.selected=Ot.includes(Yt.value));else if(Lt.refs)if(BN(Lt.ref))Lt.refs.forEach((Yt)=>{if(!Yt.defaultChecked||!Yt.disabled)if(Array.isArray(Ot))Yt.checked=!!Ot.find((jr)=>jr===Yt.value);else Yt.checked=Ot===Yt.value||!!Ot});else Lt.refs.forEach((Yt)=>Yt.checked=Yt.value===Ot);else if(HB(Lt.ref))Lt.ref.value="";else if(Lt.ref.value=Ot,!Lt.ref.type&&!Ct&&!Bt)U.state.next({name:Ee,values:ft?l:Rn(l)})}}(je.shouldDirty||je.shouldTouch)&&Se(Ee,Ot,je.shouldTouch,je.shouldDirty,!Ct),je.shouldValidate&&Pr(Ee,{delayError:je.delayError})},nr=(Ee,De,je,ft=!1,Ct=!1,Bt=!1)=>{if(d.array.has(Ee))U.array.next({name:Ee,values:ft?l:Rn(l)});for(let or in De){if(!De.hasOwnProperty(or))return;let Ot=De[or],Lt=Ee+"."+or,Yt=gr(i,Lt);(d.array.has(Ee)||qn(Ot)||Yt&&!Yt._f)&&!Cz(Ot)?nr(Lt,Ot,je,ft,Ct,Bt):Oe(Lt,Ot,je,ft,Ct,Bt)}},fr=(Ee,De,je,ft,Ct=!1)=>{let Bt=gr(i,Ee),or=d.array.has(Ee),Ot=ft?De:Rn(De),Lt=gr(l,Ee),Yt=Ou(Lt,Ot);if(!Yt)ga(l,Ee,Ot);if(or){if(U.array.next({name:Ee,values:ft?l:Rn(l)}),(T.isDirty||T.dirtyFields||D.isDirty||D.dirtyFields)&&je.shouldDirty){if(te(),!Ct)U.state.next({name:Ee,dirtyFields:a.dirtyFields,isDirty:se(Ee,Ot)})}}else{let jr=Array.isArray(Ot)&&!Ot.length||kf(Ot),Yr=!Yt&&!Ct;if(!Bt||Bt._f||Gi(Ot)||jr)Oe(Ee,Ot,je,ft,Ct,Yr);else nr(Ee,Ot,je,ft,Ct,Yr)}if(!Yt&&!Ct){let jr=fX(Ee,d),Yr=ft?l:Rn(l);if(U.state.next({...jr&&a,name:c.mount||jr?Ee:void 0,values:Yr}),!or)for(let da of _Tt(d.array,Ee))U.state.next({name:da,values:Yr})}},er=(Ee,De,je={})=>fr(Ee,De,je,!1),Ur=(Ee,De={})=>{let je=Ec(Ee)?Ee(l):Ee;if(!Ou(l,je)){l={...l,...je};for(let ft of d.mount)if(MTt(je,ft))fr(ft,gr(je,ft),De,!0,!0);if(U.state.next({...a,name:void 0,type:void 0,...v?{values:l}:{}}),De.shouldValidate)J()}},Vt=async(Ee)=>{c.mount=!0;let De=Ee.target,je=De.name,ft=!0,Ct=gr(i,je),Bt=(or)=>{ft=Number.isNaN(or)||Cz(or)&&isNaN(or.getTime())||Ou(or,gr(l,je,or))};if(Ct){let or,Ot,Lt=De.type?fye(Ct._f):nTt(Ee),Yt=Ee.type===VP.BLUR||Ee.type===VP.FOCUS_OUT,jr=!wTt(Ct._f)&&!e.validate&&!r.resolver&&!gr(a.errors,je)&&!Ct._f.deps,Yr=jr||LTt(Yt,gr(a.touchedFields,je),a.isSubmitted,k,y),da=fX(je,d,Yt);if(ga(l,je,Lt),Yt){if(!De||!De.readOnly){Ct._f.onBlur&&Ct._f.onBlur(Ee);let _a=h[je];_a&&_a(0)}}else if(Ct._f.onChange)Ct._f.onChange(Ee);let tr=Se(je,Lt,Yt),Qo=!kf(tr)||da;if(!Yt&&U.state.next({name:je,type:Ee.type,...v?{values:Rn(l)}:{}}),Yr){if((!jr||!a.isValid)&&(T.isValid||D.isValid)){if(r.mode==="onBlur"){if(Yt)J()}else if(!Yt)J()}return Qo&&U.state.next({name:je,...da?{}:tr})}if(!r.resolver&&e.validate)await bt({name:je,eventType:Ee.type});if(!Yt&&da&&U.state.next({...a}),r.resolver){let{errors:_a}=await rt([je]);if(ee([je]),Bt(Lt),!ft){!kf(tr)&&U.state.next(tr);return}let fi=lye(a.errors,i,je),Cf=lye(_a,i,fi.name||je);or=Cf.error,je=Cf.name,Ot=kf(_a)}else if(ee([je],!0),or=(await oye(Ct,d.disabled,l,j,r.shouldUseNativeValidation))[je],ee([je]),Bt(Lt),ft){if(or)Ot=!1;else if(T.isValid||D.isValid)Ot=await jt({fields:i,onlyCheckValid:!0,name:je,eventType:Ee.type})}if(ft)Ct._f.deps&&(!Array.isArray(Ct._f.deps)||Ct._f.deps.length>0)&&Pr(Ct._f.deps),Ge(je,Ot,or,tr)}},Xt=(Ee,De)=>{if(gr(a.errors,De)&&Ee.focus)return Ee.focus(),1;return},Pr=async(Ee,De={})=>{let je,ft,Ct=UB(Ee);if(r.resolver){let Bt=await tt(xa(Ee)?Ee:Ct);je=kf(Bt),ft=Ee?!Ct.some((or)=>gr(Bt,or)):je}else if(Ee)ft=(await Promise.all(Ct.map(async(Bt)=>{let or=gr(i,Bt);return await jt({fields:or&&or._f?{[Bt]:or}:or,eventType:VP.TRIGGER})}))).every(Boolean),!(!ft&&!a.isValid)&&J();else ft=je=await jt({fields:i,name:Ee,eventType:VP.TRIGGER});if(De.delayError&&r.delayError&&Ki(Ee)){let Bt=gr(a.errors,Ee);if(Bt)ii(a.errors,Ee),h[Ee]=V(Ee,()=>ae(Ee,Bt)),h[Ee](r.delayError);else clearTimeout(x[Ee]),delete h[Ee]}return U.state.next({...!Ki(Ee)||(T.isValid||D.isValid)&&je!==a.isValid?{}:{name:Ee},...r.resolver||!Ee?{isValid:je}:{},errors:a.errors}),De.shouldFocus&&!ft&&jN(i,Xt,Ee?Ct:d.mount),ft},zr=(Ee,De)=>{let je={...c.mount?l:s};if(De)je=pye(De.dirtyFields?a.dirtyFields:a.touchedFields,je);return xa(Ee)?je:Ki(Ee)?gr(je,Ee):Ee.map((ft)=>gr(je,ft))},Ar=(Ee)=>xa(Ee)?{...a.errors}:Ki(Ee)?gr(a.errors,Ee):Ee.map((De)=>gr(a.errors,De)),hr=(Ee,De)=>{let je=De||a,ft=gr(je.errors,Ee);return{invalid:!!ft,isDirty:!!gr(je.dirtyFields,Ee),error:ft,isValidating:!!gr(a.validatingFields,Ee),isTouched:!!gr(je.touchedFields,Ee)}},go=(Ee)=>{let De=Ee?UB(Ee):void 0;if(De===null||De===void 0||De.forEach((je)=>ii(a.errors,je)),De)De.forEach((je)=>{U.state.next({name:je,errors:a.errors})});else a.errors={},U.state.next({errors:a.errors})},po=(Ee,De,je)=>{let ft=(gr(i,Ee,{_f:{}})._f||{}).ref,Ct=gr(a.errors,Ee)||{},{ref:Bt,message:or,type:Ot,...Lt}=Ct;ga(a.errors,Ee,{...Lt,...De,ref:ft}),U.state.next({name:Ee,errors:a.errors,isValid:!1}),je&&je.shouldFocus&&ft&&ft.focus&&ft.focus()},va=(Ee,De)=>{if(Ec(Ee)){v++;let{unsubscribe:je}=U.state.subscribe({next:(Ct)=>("values"in Ct)&&Ee(Ct.values||St(void 0,De),Ct)}),ft=!1;return{unsubscribe:()=>{if(ft)return;ft=!0,v--,je()}}}return St(Ee,De,!0)},sr=(Ee)=>{var De;let je=!!((De=Ee.formState)===null||De===void 0?void 0:De.values);if(je)v++;let{unsubscribe:ft}=U.state.subscribe({next:(Bt)=>{if(STt(Ee.name,Bt.name,Ee.exact)&&zTt(Bt,Ee.formState||T,qr,Ee.reRenderRoot)){let or={...l};Ee.callback({values:or,...a,...Bt,defaultValues:s})}}});if(!je)return ft;let Ct=!1;return()=>{if(Ct)return;Ct=!0,v--,ft()}},Mo=(Ee)=>(c.mount=!0,D={...D,...Ee.formState},sr({...Ee,formState:{...b,...Ee.formState}})),ho=(Ee,De={})=>{for(let je of Ee?UB(Ee):d.mount){if(d.mount.delete(je),d.array.delete(je),!De.keepValue)ii(i,je),ii(l,je);!De.keepError&&ii(a.errors,je),!De.keepDirty&&ii(a.dirtyFields,je),!De.keepTouched&&ii(a.touchedFields,je),!De.keepIsValidating&&ii(a.validatingFields,je),!r.shouldUnregister&&!De.keepDefaultValue&&ii(s,je)}v&&U.state.next({values:Rn(l)}),U.state.next({...a,...De.keepDirty?{}:{isDirty:se()}}),!De.keepIsValid&&J()},Uo=({disabled:Ee,name:De})=>{if(SZ(Ee)&&c.mount||!!Ee||d.disabled.has(De)){let Ct=d.disabled.has(De)!==!!Ee;Ee?d.disabled.add(De):d.disabled.delete(De),Ct&&c.mount&&!c.action&&J()}},bn=(Ee,De={})=>{let je=gr(i,Ee),ft=SZ(De.disabled)||SZ(r.disabled),Ct=!d.registerName.has(Ee)&&je&&je._f&&!je._f.mount;if(ga(i,Ee,{...je||{},_f:{...je&&je._f?je._f:{ref:{name:Ee}},name:Ee,mount:!0,...De}}),d.mount.add(Ee),je&&!Ct)Uo({disabled:SZ(De.disabled)?De.disabled:r.disabled,name:Ee});else Ye(Ee,!0,De.value);return{...ft?{disabled:De.disabled||r.disabled}:{},...r.progressive?{required:!!De.required,min:FN(De.min),max:FN(De.max),minLength:FN(De.minLength),maxLength:FN(De.maxLength),pattern:FN(De.pattern)}:{},name:Ee,onChange:Vt,onBlur:Vt,ref:(Bt)=>{if(Bt){d.registerName.add(Ee),bn(Ee,De),d.registerName.delete(Ee),je=gr(i,Ee);let or=xa(Bt.value)?Bt.querySelectorAll?Bt.querySelectorAll("input,select,textarea")[0]||Bt:Bt:Bt,Ot=xTt(or),Lt=je._f.refs||[];if(Ot?Lt.find((jr)=>jr===or):or===je._f.ref)return;let Yt={...je._f};if(Ot)Yt.refs=[...Lt.filter(sX),or,...Array.isArray(gr(s,Ee))?[{}]:[]],Yt.ref={type:or.type,name:Ee};else Yt.ref=or,delete Yt.refs;ga(i,Ee,{_f:Yt}),Ye(Ee,!1,void 0,or)}else{if(je=gr(i,Ee,{}),je._f)je._f.mount=!1;(r.shouldUnregister||De.shouldUnregister)&&!(iTt(d.array,Ee)&&c.action)&&d.unMount.add(Ee)}}}},Go=()=>r.shouldFocusError&&!r.shouldUseNativeValidation&&jN(i,Xt,d.mount),Xn=(Ee)=>{if(SZ(Ee))U.state.next({disabled:Ee}),jN(i,(De,je)=>{let ft=gr(i,je);if(ft){if(De.disabled=ft._f.disabled||Ee,Array.isArray(ft._f.refs))ft._f.refs.forEach((Ct)=>{Ct.disabled=ft._f.disabled||Ee})}},0,!1)},wn=(Ee,De)=>async(je)=>{let ft=void 0,Ct=void 0;if(je)je.preventDefault&&je.preventDefault(),je.persist&&je.persist();let Bt=Rn(l);if(U.state.next({isSubmitting:!0}),r.resolver){let{errors:or,values:Ot}=await rt();ee(),a.errors=or,Bt=Rn(Ot)}else await jt({fields:i,eventType:VP.SUBMIT});if(d.disabled.size)for(let or of d.disabled)ii(Bt,or);if(ii(a.errors,cye),kf(a.errors)){U.state.next({errors:{}});try{ft=await Ee(Bt,je)}catch(or){Ct=or}}else{if(De)await De({...a.errors},je);Go(),setTimeout(Go)}if(U.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:kf(a.errors)&&!Ct,submitCount:a.submitCount+1,errors:a.errors}),Ct)throw Ct;return ft},Qi=(Ee,De={})=>{if(gr(i,Ee)){if(xa(De.defaultValue))er(Ee,Rn(gr(s,Ee)));else er(Ee,De.defaultValue),ga(s,Ee,Rn(De.defaultValue));if(!De.keepTouched)ii(a.touchedFields,Ee);if(!De.keepDirty)ii(a.dirtyFields,Ee),a.isDirty=De.defaultValue?se(Ee,Rn(gr(s,Ee))):se();if(!De.keepError)ii(a.errors,Ee),T.isValid&&J();U.state.next({...a})}},$e=(Ee,De={})=>{let je=Ee?Rn(Ee):s,ft=Rn(je),Ct=kf(Ee),Bt=ft,or=i;if(!De.keepDefaultValues)s=je;if(!De.keepValues){if(De.keepDirtyValues){let Ot=new Set([...d.mount,...hye(pk(s,l,void 0,or),a.dirtyFields)]);for(let Lt of Ot){let Yt=gr(a.dirtyFields,Lt),jr=gr(l,Lt),Yr=gr(Bt,Lt);if(Yt&&!xa(jr))ga(Bt,Lt,jr);else if(!Yt&&!xa(Yr))er(Lt,Yr)}}else{if(VB&&xa(Ee))for(let Ot of d.mount){let Lt=gr(i,Ot);if(Lt&&Lt._f){let Yt=Array.isArray(Lt._f.refs)?Lt._f.refs[0]:Lt._f.ref;if(YB(Yt)){let jr=Yt.closest("form");if(jr){jr.reset();break}}}}if(De.keepFieldsRef)for(let Ot of d.mount)er(Ot,gr(Bt,Ot));else i={}}if(r.shouldUnregister){if(l=De.keepDefaultValues?Rn(s):{},De.keepFieldsRef)for(let Ot of d.mount)ga(l,Ot,gr(Bt,Ot))}else l=Rn(Bt);U.array.next({values:{...Bt}}),U.state.next({name:void 0,type:void 0,values:{...Bt}})}if(d={mount:De.keepDirtyValues?d.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},c.mount=!T.isValid||!!De.keepIsValid||!!De.keepDirtyValues||!r.shouldUnregister&&!kf(Bt),c.watch=!!r.shouldUnregister,c.keepIsValid=!!De.keepIsValid,c.action=!1,c.actionArrayLengths.clear(),!De.keepErrors)a.errors={};U.state.next({submitCount:De.keepSubmitCount?a.submitCount:0,isDirty:Ct?!1:De.keepDirty?a.isDirty:De.keepValues?se():!!(De.keepDefaultValues&&!Ou(Ee,s)),isSubmitted:De.keepIsSubmitted?a.isSubmitted:!1,dirtyFields:Ct?{}:De.keepDirtyValues?De.keepDefaultValues&&l?pk(s,l,void 0,or):a.dirtyFields:De.keepDefaultValues&&Ee?pk(s,Ee,void 0,or):De.keepDirty?a.dirtyFields:{},touchedFields:De.keepTouched?a.touchedFields:{},errors:De.keepErrors?a.errors:{},isSubmitSuccessful:De.keepIsSubmitSuccessful?a.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:s})},Dt=(Ee,De)=>$e(Ec(Ee)?Ee(l):Ee,{...r.resetOptions,...De}),Mr=(Ee,De={})=>{let je=gr(i,Ee),ft=je&&je._f;if(ft){let Ct=ft.refs?ft.refs[0]:ft.ref;if(Ct.focus)setTimeout(()=>{Ct.focus(),De.shouldSelect&&Ec(Ct.select)&&Ct.select()})}},qr=(Ee)=>{let{name:De,type:je,values:ft,...Ct}=Ee;a={...a,...Ct}};U.state.subscribe({next:qr});let Ka={control:{register:bn,unregister:ho,getFieldState:hr,handleSubmit:wn,setError:po,_subscribe:sr,_runSchema:rt,_updateIsValidating:ee,_focusError:Go,_getWatch:St,_getDirty:se,_setValid:J,_setFieldArray:re,_setDisabledField:Uo,_setErrors:he,_getFieldArray:Ht,_reset:$e,_resetDefaultValues:()=>Ec(r.defaultValues)&&r.defaultValues().then((Ee)=>{Dt(Ee,r.resetOptions),U.state.next({isLoading:!1})}),_removeUnmounted:qt,_disableForm:Xn,_subjects:U,_proxyFormState:T,get _fields(){return i},get _formValues(){return l},get _state(){return c},set _state(Ee){c=Ee},get _defaultValues(){return s},get _names(){return d},set _names(Ee){d=Ee},get _formState(){return a},get _options(){return r},set _options(Ee){r={...r,...Ee},y=BB(r.mode),k=BB(r.reValidateMode)}},subscribe:Mo,trigger:Pr,register:bn,handleSubmit:wn,watch:va,setValue:er,setValues:Ur,getValues:zr,getErrors:Ar,reset:Dt,resetField:Qi,resetDefaultValues:(Ee,De={})=>{if(s=Rn(Ee),!De.keepDirty){let je=pk(s,l,void 0,i);a.dirtyFields=je,a.isDirty=!kf(je)}if(!De.keepIsValid)J();U.state.next({...a,defaultValues:s})},clearErrors:go,unregister:ho,setError:po,setFocus:Mr,getFieldState:hr};return{...Ka,formControl:Ka}}function ql(e={}){let r=_(void 0),a=_(void 0),i=_(e.formControl),[s,l]=u(()=>({...Rn(_ye),isLoading:Ec(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Ec(e.defaultValues)?void 0:e.defaultValues}));if(!r.current||e.formControl&&i.current!==e.formControl)if(i.current=e.formControl,e.formControl){if(r.current={...e.formControl,formState:s},e.defaultValues&&!Ec(e.defaultValues))e.formControl.reset(e.defaultValues,e.resetOptions)}else{let{formControl:x,...v}=RTt(e);r.current={...v,formState:s}}let c=r.current.control;c._options=e;let{resyncIfNeeded:d,snapshot:h}=ZTt();return uTt(()=>{let x=()=>({...c._formState,defaultValues:c._defaultValues});d(!0,x,l);let v=c._subscribe({formState:c._proxyFormState,callback:()=>l({...c._formState,defaultValues:c._defaultValues}),reRenderRoot:!0});return l((y)=>({...y,isReady:!0})),c._formState.isReady=!0,()=>{v(),h(!0,x)}},[c,d,h]),m(()=>c._disableForm(e.disabled),[c,e.disabled]),m(()=>{if(e.mode)c._options.mode=e.mode;if(e.reValidateMode)c._options.reValidateMode=e.reValidateMode},[c,e.mode,e.reValidateMode]),m(()=>{if(e.errors)c._setErrors(e.errors),c._focusError()},[c,e.errors]),m(()=>{e.shouldUnregister&&c._subjects.state.next({values:c._getWatch()})},[c,e.shouldUnregister]),m(()=>{if(c._proxyFormState.isDirty){let x=c._getDirty();if(x!==s.isDirty)c._subjects.state.next({isDirty:x})}},[c,s.isDirty]),m(()=>{var x;if(e.values&&!Ou(e.values,a.current)){if(c._reset(e.values,{keepFieldsRef:!0,...c._options.resetOptions}),!((x=c._options.resetOptions)===null||x===void 0?void 0:x.keepIsValid))c._setValid();a.current=e.values,l((v)=>({...v}))}else c._resetDefaultValues()},[c,e.values]),m(()=>{if(!c._state.mount)c._setValid(),c._state.mount=!0;if(c._state.watch)c._state.watch=!1,c._subjects.state.next({...c._formState});c._removeUnmounted()}),r.current.formState=N(()=>cTt(s,c),[c,s]),r.current}var yye=(e,r,a)=>{if(e&&"reportValidity"in e){let i=gr(a,r);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},GB=(e,r)=>{for(let a in r.fields){let i=r.fields[a];i&&i.ref&&"reportValidity"in i.ref?yye(i.ref,a,e):i&&i.refs&&i.refs.forEach((s)=>yye(s,a,e))}},hX=(e,r)=>{r.shouldUseNativeValidation&&GB(e,r);let a={};for(let i in e){let s=gr(r.fields,i),l=Object.assign(e[i]||{},{ref:s&&s.refs?s.refs[0]:s&&s.ref});if(PTt(r.names||Object.keys(e),i)){let c=Object.assign({},gr(a,i));ga(c,"root",l),ga(a,i,c)}else ga(a,i,l)}return a},PTt=(e,r)=>{let a=bye(r).replace(/[.*+?^${}()|\\]/g,"\\$&");return e.some((i)=>bye(i).match(`^${a}\\.\\d+`))};function bye(e){return e.replace(/\[(\d+)]/g,".$1").replace(/[[\]]/g,"")}function gX(){return gX=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},gX.apply(null,arguments)}function wye(e,r){try{var a=e()}catch(i){return r(i)}return a&&a.then?a.then(void 0,r):a}function TTt(e,r){for(var a=Object.create(null);e.length;){var i=e[0],{code:s,message:l}=i,c=i.path.join(".");if(!a[c])if("unionErrors"in i){var d,h,x=i.unionErrors.reduce(function(k,b){return b.errors.length<k.errors.length?b:k}).errors[0];a[c]={message:(d=x==null?void 0:x.message)!=null?d:l,type:(h=x==null?void 0:x.code)!=null?h:s}}else a[c]={message:l,type:s};if("unionErrors"in i&&i.unionErrors.forEach(function(k){return k.errors.forEach(function(b){return e.push(b)})}),r){var v=a[c].types,y=v&&v[i.code];a[c]=WB(c,r,a,s,y?[].concat(y,i.message):i.message)}e.shift()}return a}function ATt(e,r){for(var a=Object.create(null),i=function(){var s=e[0],{code:l,message:c}=s,d=s.path.join(".");if(!a[d])if(s.code==="invalid_union"&&s.errors.length>0){var h,x,v=s.errors.reduce(function(b,T){return T.length<b.length?T:b})[0];a[d]={message:(h=v==null?void 0:v.message)!=null?h:c,type:(x=v==null?void 0:v.code)!=null?x:l}}else a[d]={message:c,type:l};if(s.code==="invalid_union"&&s.errors.forEach(function(b){return b.forEach(function(T){return e.push(gX({},T,{path:[].concat(s.path,T.path)}))})}),r){var y=a[d].types,k=y&&y[s.code];a[d]=WB(d,r,a,l,k?[].concat(k,s.message):s.message)}e.shift()};e.length;)i();return a}function Hl(e,r,a){if(a===void 0&&(a={}),function(i){return"_zod"in i&&typeof i._zod=="object"}(e))return function(i,s,l){try{return Promise.resolve(wye(function(){function c(h){return l.shouldUseNativeValidation&&GB({},l),{errors:{},values:a.raw?Object.assign({},i):h}}var d=e;return a.mode==="sync"?c(d.parse(i,r)):Promise.resolve(d.parseAsync(i,r)).then(c)},function(c){if(function(d){var h;return!(d==null||(h=d._zod)==null||(h=h.traits)==null||!h.has("$ZodError"))}(c))return{values:{},errors:hX(ATt(c.issues,!l.shouldUseNativeValidation&&l.criteriaMode==="all"),l)};throw c}))}catch(c){return Promise.reject(c)}};if(function(i){return"_def"in i&&typeof i._def=="object"}(e))return function(i,s,l){try{return Promise.resolve(wye(function(){return Promise.resolve(e[a.mode==="sync"?"parse":"parseAsync"](i,r)).then(function(c){return l.shouldUseNativeValidation&&GB({},l),{errors:{},values:a.raw?Object.assign({},i):c}})},function(c){if(function(d){return Array.isArray(d==null?void 0:d.issues)}(c))return{values:{},errors:hX(TTt(c.errors,!l.shouldUseNativeValidation&&l.criteriaMode==="all"),l)};throw c}))}catch(c){return Promise.reject(c)}};throw Error("Invalid input: not a Zod schema")}E();var ETt=R({email:f().email(ice()),password:f().min(3,Ip()),inviteCode:f().optional()});function DTt(){let e=Pe(),a=MX.useSearch().inviteCode,[i,s]=u(null),[l,c]=u(!1),[d,h]=u(()=>n()==="zh"?"zh":"en"),x=(j)=>{h(j),Na(j)},{data:v}=Z({queryKey:["invite",a],queryFn:async()=>{let j=await g.api.invite[":code"].$get({param:{code:a}});if(!j.ok)throw Error("Failed to fetch invite info");return await j.json()},enabled:!!a}),{data:y,isLoading:k}=Z({queryKey:["/signup-info"],queryFn:async()=>{let j=await g.api["signup-info"].$get();if(!j.ok)throw Error("Failed to fetch signup info");return await j.json()}}),b=ji((j)=>j.setUser),T=ql({resolver:Hl(ETt),defaultValues:{inviteCode:a}}),D=async(j)=>{c(!0),s(null);let{data:V,error:J}=await kle.email({email:j.email,password:j.password,name:j.email,inviteCode:j.inviteCode,locale:d});if(c(!1),J){s(J.message||$pt());return}if(V)b(V.user),e({to:"/"})};if(k)return t("div",{className:"flex items-center justify-center min-h-screen bg-zinc-100/80 dark:bg-black",children:o("div",{className:"relative flex flex-col items-center",children:[t(KM,{className:"h-16 w-16 animate-pulse mb-4 text-rose-500 shadow-xl rounded-2xl"}),t(O,{className:"h-6 w-6 animate-spin text-rose-500/70"})]})});let U=y?.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(Ve,{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(_t,{className:"text-center pt-8 pb-4",children:[t("div",{className:"flex justify-center mb-4",children:t(KM,{className:"h-16 w-16 shadow-lg shadow-rose-500/10 rounded-2xl"})}),t(yt,{className:"text-2xl font-bold tracking-tight bg-gradient-to-r from-rose-500 to-orange-500 bg-clip-text text-transparent",children:ict()}),t(kt,{className:"mt-2 text-zinc-600 dark:text-zinc-400",children:lct()})]}),t(ca,{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:[Jle()," ",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:[fXe()," ",t(oo,{className:"w-3.5 h-3.5"})]})]})})]})]});return o(jl,{children:[o("div",{className:"mb-8",children:[t("h1",{className:"text-2xl font-bold tracking-tight text-zinc-900 dark:text-zinc-50",children:yje()}),t("p",{className:"text-zinc-500 dark:text-zinc-400 text-sm mt-1 mb-4",children:rmt()}),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:tVe()})]}),v&&!("error"in v)&&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:tKe({inviterName:v.inviterName,targetName:v.projectName||v.teamName,role:v.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:T.handleSubmit(D),className:"space-y-5",children:[o("div",{className:"space-y-2",children:[t(W,{htmlFor:"email",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:tce()}),o("div",{className:"relative group",children:[t(gi,{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(z,{id:"email",...T.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"})]}),T.formState.errors.email&&t("p",{className:"text-red-500 text-xs font-medium",children:T.formState.errors.email.message})]}),o("div",{className:"space-y-2",children:[t(W,{htmlFor:"password",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:Cp()}),o("div",{className:"relative group",children:[t(cn,{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(z,{id:"password",type:"password",...T.register("password"),placeholder:hnt(),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"})]}),T.formState.errors.password&&t("p",{className:"text-red-500 text-xs font-medium",children:T.formState.errors.password.message})]}),t(S,{type:"submit",className:"w-full h-11 bg-gradient-to-r from-rose-500 to-orange-500 hover:from-rose-600 hover:to-orange-600 text-white font-semibold rounded-xl shadow-md shadow-rose-500/10 hover:shadow-rose-500/20 active:scale-[0.98] transition-all flex items-center justify-center gap-2 border-0",disabled:l,children:l?o(L,{children:[t(O,{className:"h-4 w-4 animate-spin"}),fBe()]}):o(L,{children:[t(gD,{className:"w-4 h-4"}),Zce()]})})]}),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:[Jle()," "]}),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:[sce()," ",t(oo,{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:()=>x("en"),className:`cursor-pointer hover:text-zinc-800 dark:hover:text-zinc-200 transition-colors ${d==="en"?"font-bold text-rose-500 dark:text-rose-400":""}`,children:"English"}),t("span",{className:"text-zinc-300 dark:text-zinc-850",children:"/"}),t("button",{type:"button",onClick:()=>x("zh"),className:`cursor-pointer hover:text-zinc-800 dark:hover:text-zinc-200 transition-colors ${d==="zh"?"font-bold text-rose-500 dark:text-rose-400":""}`,children:"中文"})]})]})]})}var MX=Kr("/signup")({component:DTt,validateSearch:(e)=>({inviteCode:e.inviteCode||void 0}),beforeLoad:()=>{if(ji.getState().user)throw dl({to:"/"})}});var OTt=R({token:f().catch("")}),zye=Kr("/reset-password")({validateSearch:(e)=>OTt.parse(e),beforeLoad:({search:e})=>{if(e.token){if(ji.getState().user)ji.getState().clearAuth();return}if(ji.getState().user)throw dl({to:"/"})}});E();var NTt=R({email:f().email(ice()),password:f().min(1,unt())});function FTt(){let e=Pe(),r=ji((T)=>T.setUser),[a,i]=u(null),[s,l]=u(!1),[c,d]=u(!1),{data:h,isLoading:x}=Z({queryKey:["/signup-info"],queryFn:async()=>{let T=await g.api["signup-info"].$get();if(!T.ok)throw Error("Failed to fetch signup info");return await T.json()}});m(()=>{if(h&&!h.initialized)e({to:"/signup",search:{inviteCode:""}})},[h,e]);let v=h?.demoMode===!0,y=ql({resolver:Hl(NTt)}),k=async(T)=>{l(!0),i(null);let{data:D,error:U}=await G9.email({email:T.email,password:T.password});if(l(!1),U){i(U.message||nce());return}if(D)r(D.user),e({to:"/"})},b=async()=>{d(!0),i(null),y.clearErrors(),y.setValue("email","foo@bar.com"),y.setValue("password","foo");let{data:T,error:D}=await G9.email({email:"foo@bar.com",password:"foo"});if(d(!1),D){i(D.message||nce());return}if(T)r(T.user),e({to:"/"})};if(x)return t("div",{className:"flex items-center justify-center min-h-screen bg-zinc-100/80 dark:bg-black",children:o("div",{className:"relative flex flex-col items-center",children:[t(KM,{className:"h-16 w-16 animate-pulse mb-4 text-rose-500 shadow-xl rounded-2xl"}),t(O,{className:"h-6 w-6 animate-spin text-rose-500/70"})]})});return o(jl,{children:[o("div",{className:"mb-8",children:[t("h1",{className:"text-2xl font-bold tracking-tight text-zinc-900 dark:text-zinc-50",children:Q_t()}),t("p",{className:"text-zinc-500 dark:text-zinc-400 text-sm mt-1",children:cXe()})]}),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:y.handleSubmit(k),className:"space-y-5",children:[o("div",{className:"space-y-2",children:[t(W,{htmlFor:"email",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:tce()}),o("div",{className:"relative group",children:[t(gi,{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(z,{id:"email",...y.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"})]}),y.formState.errors.email&&t("p",{className:"text-red-500 text-xs font-medium",children:y.formState.errors.email.message})]}),o("div",{className:"space-y-2",children:[t(W,{htmlFor:"password",className:"text-xs font-semibold text-zinc-600 dark:text-zinc-400 tracking-wide uppercase",children:Cp()}),o("div",{className:"relative group",children:[t(cn,{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(z,{id:"password",type:"password",...y.register("password"),placeholder:xnt(),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"})]}),y.formState.errors.password&&t("p",{className:"text-red-500 text-xs font-medium",children:y.formState.errors.password.message})]}),t(S,{type:"submit",className:"w-full h-11 bg-gradient-to-r from-rose-500 to-orange-500 hover:from-rose-600 hover:to-orange-600 text-white font-semibold rounded-xl shadow-md shadow-rose-500/10 hover:shadow-rose-500/20 active:scale-[0.98] transition-all flex items-center justify-center gap-2 border-0",disabled:s||c,children:s?o(L,{children:[t(O,{className:"h-4 w-4 animate-spin"}),fce()]}):o(L,{children:[t(hD,{className:"w-4 h-4"}),sce()]})})]}),v&&o("div",{className:"mt-4 space-y-4",children:[o("div",{className:"relative",children:[t("div",{className:"absolute inset-0 flex items-center",children:t("span",{className:"w-full border-t border-zinc-200/80 dark:border-zinc-800"})}),t("div",{className:"relative flex justify-center text-xs uppercase",children:t("span",{className:"bg-white dark:bg-zinc-900 px-2 text-zinc-400 dark:text-zinc-500 font-medium",children:Pg()})})]}),t(S,{type:"button",variant:"outline",onClick:b,disabled:s||c,className:"w-full h-11 border-zinc-200 dark:border-zinc-800 hover:bg-zinc-100 dark:hover:bg-zinc-800 font-semibold rounded-xl transition-all flex items-center justify-center gap-2 shadow-xs cursor-pointer",children:c?o(L,{children:[t(O,{className:"h-4 w-4 animate-spin"}),fce()]}):o(L,{children:[t(Jo,{className:"w-4 h-4 text-zinc-500 dark:text-zinc-400"}),aXe()]})}),t("div",{className:"p-3 bg-blue-500/10 border border-blue-500/20 text-blue-700 dark:text-blue-400 rounded-xl text-xs leading-relaxed text-center",children:o("p",{children:[t("strong",{children:nUe()})," ",sUe()]})})]}),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:Pet()}),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:[Zce()," ",t(oo,{className:"w-3.5 h-3.5"})]})]})]})}var Sye=Kr("/login")({component:FTt,beforeLoad:()=>{if(ji.getState().user)throw dl({to:"/"})}});E();function Lye(){let e=Pe(),{data:r,isLoading:a}=Z({queryKey:["teams"],queryFn:async()=>{let l=await g.api.teams.$get({query:{}});if(!l.ok)throw Error("Failed to get teams");return await l.json()}}),i=r?.data,s=i?.length===1?i[0].id:null;if(m(()=>{if(s)e({to:`/teams/${s}`})},[s,e]),a)return t("div",{children:Md()});if(s)return null;return t(de,{open:!0,children:o(ce,{children:[o(me,{children:[t(ue,{children:wdt()}),t(Et,{children:yZt()})]}),t("div",{className:"space-y-2",children:i?.map((l)=>t("div",{className:"p-2 border rounded-md cursor-pointer hover:bg-gray-100",onClick:()=>e({to:`/teams/${l.id}`}),children:l.name},l.id))})]})})}E();function jTt(){let e=ji((a)=>a.user),r=Pe();if(m(()=>{if(!e)r({to:"/login"})},[e,r]),!e)return null;return t(Lye,{})}var kye=Kr("/")({component:jTt});function BTt(){return t(Z8,{})}var Cye=Kr("/share/$shareId")({component:BTt});var Iye=Kr("/teams/$teamId/")({});var Rye=Kr("/share/$shareId/")({});function Tt(){return o("div",{className:"flex flex-1 overflow-hidden bg-background min-h-0",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(fe,{className:"h-4 w-4 rounded"}),t(fe,{className:"h-4 w-24"})]}),o("div",{className:"pl-4 space-y-3",children:[o("div",{className:"flex items-center gap-2",children:[t(fe,{className:"h-3 w-3 rounded"}),t(fe,{className:"h-3 w-28"})]}),o("div",{className:"flex items-center gap-2",children:[t(fe,{className:"h-3 w-3 rounded"}),t(fe,{className:"h-3 w-20"})]}),o("div",{className:"flex items-center gap-2",children:[t(fe,{className:"h-3 w-3 rounded"}),t(fe,{className:"h-3 w-24"})]})]})]}),o("div",{className:"flex-1 overflow-y-auto",children:[t("div",{className:"block md:hidden",children:t(mm,{})}),o("div",{className:"hidden md:block p-6 space-y-6",children:[o("div",{className:"flex items-center justify-between border-b pb-4",children:[o("div",{className:"flex items-center gap-4",children:[t(fe,{className:"h-5 w-40"}),t(fe,{className:"h-4 w-20"})]}),o("div",{className:"flex items-center gap-2",children:[t(fe,{className:"h-8 w-8 rounded"}),t(fe,{className:"h-8 w-8 rounded"}),t(fe,{className:"h-8 w-32 rounded"})]})]}),t(pm,{})]})]})]})}function pf(){return o("div",{className:"h-full flex-1 flex flex-col bg-background overflow-hidden",children:[o("div",{className:"flex md:hidden flex-col h-full w-full overflow-hidden",children:[o("div",{className:"h-14 flex items-center justify-between border-b px-4 shrink-0 bg-card",children:[o("div",{className:"flex items-center gap-2",children:[t(fe,{className:"h-8 w-8 rounded-full"}),t(fe,{className:"h-4 w-32"})]}),o("div",{className:"flex items-center gap-2",children:[t(fe,{className:"h-7 w-7 rounded"}),t(fe,{className:"h-7 w-7 rounded"})]})]}),t("div",{className:"flex-1 min-h-0 bg-muted/20 flex items-center justify-center relative p-4",children:t(fe,{className:"w-full max-w-sm aspect-video rounded-lg"})}),o("div",{className:"h-[45%] border-t bg-card rounded-t-xl p-4 flex flex-col gap-3 shrink-0",children:[t("div",{className:"flex items-center justify-between border-b pb-2",children:o("div",{className:"flex gap-4",children:[t(fe,{className:"h-4 w-16"}),t(fe,{className:"h-4 w-16"})]})}),o("div",{className:"space-y-3 flex-1",children:[t(fe,{className:"h-12 w-full rounded"}),t(fe,{className:"h-12 w-full rounded"})]})]})]}),o("div",{className:"hidden md:flex h-full flex-1 overflow-hidden",children:[t("div",{className:"w-24 bg-gray-100 dark:bg-gray-950 flex flex-col items-center py-4 gap-3 shrink-0 border-r",children:Array.from({length:6}).map((e,r)=>t(fe,{className:"w-[52px] h-[52px] rounded-lg shrink-0"},r))}),o("div",{className:"flex-1 bg-muted/10 relative flex flex-col min-w-0 justify-between",children:[t("div",{className:"flex-1 flex items-center justify-center p-8",children:t(fe,{className:"w-full max-w-4xl aspect-video rounded-lg shadow-sm"})}),o("div",{className:"h-12 border-t px-4 flex items-center justify-between bg-card shrink-0",children:[o("div",{className:"flex items-center gap-3",children:[t(fe,{className:"h-6 w-6 rounded"}),t(fe,{className:"h-4 w-20"})]}),t(fe,{className:"h-3 flex-1 mx-6"}),o("div",{className:"flex items-center gap-2",children:[t(fe,{className:"h-6 w-6 rounded"}),t(fe,{className:"h-6 w-6 rounded"})]})]})]}),o("div",{className:"w-[360px] border-l p-4 hidden lg:flex flex-col gap-6 shrink-0 bg-card",children:[o("div",{className:"space-y-4",children:[t(fe,{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(fe,{className:"h-3 w-20"}),t(fe,{className:"h-3 w-32"})]},r))})]}),o("div",{className:"flex-1 flex flex-col gap-4",children:[t(fe,{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(fe,{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(fe,{className:"h-3 w-24"}),t(fe,{className:"h-2 w-12"})]}),t(fe,{className:"h-3 w-full"}),t(fe,{className:"h-3 w-5/6"})]})]},r))})]})]})]})]})}function pm({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(fe,{className:"h-4 w-4 rounded"}),t(fe,{className:"h-4 w-4 rounded"}),t(fe,{className:"h-4 w-48"}),o("div",{className:"ml-auto flex items-center gap-8",children:[t(fe,{className:"h-3 w-16"}),t(fe,{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(fe,{className:"aspect-square w-full rounded-md"}),o("div",{className:"space-y-2",children:[t(fe,{className:"h-4 w-3/4"}),o("div",{className:"flex justify-between items-center",children:[t(fe,{className:"h-3 w-1/4"}),t(fe,{className:"h-3 w-1/3"})]})]})]},a))})})}function mm(){return o("div",{className:"p-3 pb-24 max-w-lg mx-auto w-full","data-testid":"mobile-file-browser-loading-skeleton",children:[o("div",{className:"flex items-center gap-2 mb-3",children:[t(fe,{className:"h-4 w-4 rounded"}),t(fe,{className:"h-4 w-28 rounded"})]}),t("div",{className:"grid grid-cols-1 gap-4 w-full",children:Array.from({length:3}).map((e,r)=>o("div",{className:"flex flex-col overflow-hidden rounded-xl border border-border bg-card m-1",children:[t(fe,{className:"aspect-square w-full rounded-none"}),o("div",{className:"p-3 space-y-2",children:[t(fe,{className:"h-4 w-3/4"}),o("div",{className:"flex justify-between items-center pt-1",children:[t(fe,{className:"h-3 w-1/3"}),t(fe,{className:"h-3 w-1/4"})]})]})]},r))})]})}var hm=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await g.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("failed to fetch project");return await r.json()}}),Pye=Kr("/projects/$projectId/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(hm(r)),pendingComponent:()=>t(Tt,{})});var Tye=Kr("/teams/$teamId/settings")({});var UTt=R({taskId:f().optional()}),Aye=Kr("/teams/$teamId/kanban")({validateSearch:(e)=>UTt.parse(e)});var Eye=Kr("/teams/$teamId/dashboard")({});var gm=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await g.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),Dye=Kr("/projects/$projectId/recents")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(gm(r)),pendingComponent:()=>t(Tt,{})});var Am=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await g.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),Oye=Kr("/projects/$projectId/recently-deleted")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Am(r)),pendingComponent:()=>t(Tt,{})});var _m=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await g.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("failed to fetch project");return await r.json()}}),Nye=Kr("/projects/$projectId/agentsmd")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(_m(r)),pendingComponent:()=>t(Tt,{})});var ym=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await g.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),Fye=Kr("/projects/$projectId/shares/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(ym(r)),pendingComponent:()=>t(Tt,{})});var bm=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await g.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),jye=Kr("/projects/$projectId/collections/")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(bm(r)),pendingComponent:()=>t(Tt,{})});var Bye=Kr("/share/$shareId/folders/$folderId")({});var Uye=Kr("/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 vm=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await g.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),Yye=Kr("/projects/$projectId/shares/$shareId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(vm(r)),pendingComponent:()=>t(Tt,{})});var wm=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await g.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),qye=Kr("/projects/$projectId/folders/$folderId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(wm(r)),pendingComponent:()=>t(Tt,{})});var Hye=Kr("/projects/$projectId/files/$fileId")({pendingComponent:()=>t(pf,{}),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 xm=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await g.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),r0=(e)=>({queryKey:["collections",e],queryFn:async()=>{let r=await g.api.collections[":collectionId"].$get({param:{collectionId:e}});if(!r.ok)throw Error("Failed to fetch collection");return await r.json()}}),Vye=Kr("/projects/$projectId/collections/$collectionId")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(xm(r)),pendingComponent:()=>t("div",{children:ig()})});var Sm=(e)=>({queryKey:["projects",e],queryFn:async()=>{let r=await g.api.projects[":projectId"].$get({param:{projectId:e}});if(!r.ok)throw Error("Failed to fetch project");return await r.json()}}),Wye=Kr("/projects/$projectId/folders/$folderId_/agentsmd")({loader:({context:{queryClient:e},params:{projectId:r}})=>e.ensureQueryData(Sm(r)),pendingComponent:()=>t(Tt,{})});var YTt=MX.update({id:"/signup",path:"/signup",getParentRoute:()=>Yn}),qTt=zye.update({id:"/reset-password",path:"/reset-password",getParentRoute:()=>Yn}).lazy(()=>import("./chunk-xjw3mpvx.js").then((e)=>e.Route)),HTt=Sye.update({id:"/login",path:"/login",getParentRoute:()=>Yn}),VTt=kye.update({id:"/",path:"/",getParentRoute:()=>Yn}),KB=Cye.update({id:"/share/$shareId",path:"/share/$shareId",getParentRoute:()=>Yn}),WTt=Iye.update({id:"/teams/$teamId/",path:"/teams/$teamId/",getParentRoute:()=>Yn}).lazy(()=>import("./chunk-2xp9prpq.js").then((e)=>e.Route)),GTt=Rye.update({id:"/",path:"/",getParentRoute:()=>KB}).lazy(()=>import("./chunk-57axjy7y.js").then((e)=>e.Route)),KTt=Pye.update({id:"/projects/$projectId/",path:"/projects/$projectId/",getParentRoute:()=>Yn}).lazy(()=>import("./chunk-2cpsfc87.js").then((e)=>e.Route)),XTt=Tye.update({id:"/teams/$teamId/settings",path:"/teams/$teamId/settings",getParentRoute:()=>Yn}).lazy(()=>import("./chunk-k8ct1qgv.js").then((e)=>e.Route)),QTt=Aye.update({id:"/teams/$teamId/kanban",path:"/teams/$teamId/kanban",getParentRoute:()=>Yn}).lazy(()=>import("./chunk-b21z62fj.js").then((e)=>e.Route)),JTt=Eye.update({id:"/teams/$teamId/dashboard",path:"/teams/$teamId/dashboard",getParentRoute:()=>Yn}).lazy(()=>import("./chunk-y4v08wq7.js").then((e)=>e.Route)),$Tt=Dye.update({id:"/projects/$projectId/recents",path:"/projects/$projectId/recents",getParentRoute:()=>Yn}).lazy(()=>import("./chunk-nvwt8atc.js").then((e)=>e.Route)),eAt=Oye.update({id:"/projects/$projectId/recently-deleted",path:"/projects/$projectId/recently-deleted",getParentRoute:()=>Yn}).lazy(()=>import("./chunk-3wdtp4ht.js").then((e)=>e.Route)),tAt=Nye.update({id:"/projects/$projectId/agentsmd",path:"/projects/$projectId/agentsmd",getParentRoute:()=>Yn}).lazy(()=>import("./chunk-xznq2axj.js").then((e)=>e.Route)),rAt=Fye.update({id:"/projects/$projectId/shares/",path:"/projects/$projectId/shares/",getParentRoute:()=>Yn}).lazy(()=>import("./chunk-6s55r0z9.js").then((e)=>e.Route)),oAt=jye.update({id:"/projects/$projectId/collections/",path:"/projects/$projectId/collections/",getParentRoute:()=>Yn}).lazy(()=>import("./chunk-kjjw8mbg.js").then((e)=>e.Route)),aAt=Bye.update({id:"/folders/$folderId",path:"/folders/$folderId",getParentRoute:()=>KB}).lazy(()=>import("./chunk-ra6mdjr0.js").then((e)=>e.Route)),nAt=Uye.update({id:"/files/$fileId",path:"/files/$fileId",getParentRoute:()=>KB}).lazy(()=>import("./chunk-61hrdg0g.js").then((e)=>e.Route)),iAt=Yye.update({id:"/projects/$projectId/shares/$shareId",path:"/projects/$projectId/shares/$shareId",getParentRoute:()=>Yn}).lazy(()=>import("./chunk-ytzddcj2.js").then((e)=>e.Route)),fAt=qye.update({id:"/projects/$projectId/folders/$folderId",path:"/projects/$projectId/folders/$folderId",getParentRoute:()=>Yn}).lazy(()=>import("./chunk-sbqy6m8t.js").then((e)=>e.Route)),sAt=Hye.update({id:"/projects/$projectId/files/$fileId",path:"/projects/$projectId/files/$fileId",getParentRoute:()=>Yn}).lazy(()=>import("./chunk-8d1p8qpv.js").then((e)=>e.Route)),lAt=Vye.update({id:"/projects/$projectId/collections/$collectionId",path:"/projects/$projectId/collections/$collectionId",getParentRoute:()=>Yn}).lazy(()=>import("./chunk-h9ngpxyd.js").then((e)=>e.Route)),cAt=Wye.update({id:"/projects/$projectId/folders/$folderId_/agentsmd",path:"/projects/$projectId/folders/$folderId/agentsmd",getParentRoute:()=>Yn}).lazy(()=>import("./chunk-jzjhg7ng.js").then((e)=>e.Route)),uAt={ShareShareIdIndexRoute:GTt,ShareShareIdFilesFileIdRoute:nAt,ShareShareIdFoldersFolderIdRoute:aAt},dAt=KB._addFileChildren(uAt),ZAt={IndexRoute:VTt,LoginRoute:HTt,ResetPasswordRoute:qTt,SignupRoute:YTt,ShareShareIdRoute:dAt,ProjectsProjectIdAgentsmdRoute:tAt,ProjectsProjectIdRecentlyDeletedRoute:eAt,ProjectsProjectIdRecentsRoute:$Tt,TeamsTeamIdDashboardRoute:JTt,TeamsTeamIdKanbanRoute:QTt,TeamsTeamIdSettingsRoute:XTt,ProjectsProjectIdIndexRoute:KTt,TeamsTeamIdIndexRoute:WTt,ProjectsProjectIdCollectionsCollectionIdRoute:lAt,ProjectsProjectIdFilesFileIdRoute:sAt,ProjectsProjectIdFoldersFolderIdRoute:fAt,ProjectsProjectIdSharesShareIdRoute:iAt,ProjectsProjectIdCollectionsIndexRoute:oAt,ProjectsProjectIdSharesIndexRoute:rAt,ProjectsProjectIdFoldersFolderIdAgentsmdRoute:cAt},Gye=Yn._addFileChildren(ZAt)._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 Kye=new M6,pAt=J6({routeTree:Gye,context:{queryClient:Kye}});Gre(document.getElementById("root")).render(t(n6,{children:t(f6,{client:Kye,children:t(Qre,{defaultTheme:"system",storageKey:"vite-ui-theme",children:t($6,{router:pAt})})})}));export{Q,Zs,Dn,mi,Yi,mt,q,F,Hn,Ia,P,vt,hi,m,Gu,Jr,Ue,N,on,_,u,ro,Bs,E,L,t,o,G,Vu,Qu,xr,Bc,Ji,Ta,So,$t,Yo,Ku,Wu,Yu,zm,Ju,Uc,Xu,Al,Z,B,pt,zc,Pe,hs,sn,xn,ze,no,Xi,_l,Us,yl,bl,vl,ed,zs,wl,td,Nr,g,I,ir,$n,Er,rr,O,On,Fo,Xr,Dr,oo,ea,ta,Mt,Gn,Me,ve,an,It,Ma,Qt,wt,ln,ar,ka,js,lr,qs,so,Vn,io,Hs,Lo,cn,gi,Eo,Ra,pe,zt,Pa,Co,we,Jo,Ne,C,gs,xt,ye,Y,Pt,Cr,Ai,Zt,ie,cr,_i,yi,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