conformtools 0.6.20 → 0.6.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/{bridge-MLBUD6XW.js → bridge-GW2VQP2I.js} +1 -1
  2. package/dist/browser/timeline_core_bg.wasm +0 -0
  3. package/dist/{chunk-HROU7LLU.js → chunk-26ZNWQLT.js} +1 -1
  4. package/dist/{chunk-2GRXBIJB.js → chunk-2WD3MDPB.js} +1 -1
  5. package/dist/{chunk-WYI4LL4P.js → chunk-5WL2ZPPB.js} +5 -5
  6. package/dist/{chunk-GBNPOZ32.js → chunk-5XJVAA6N.js} +1 -1
  7. package/dist/{chunk-JVJUJKUP.js → chunk-5YCUHHZO.js} +1 -1
  8. package/dist/{chunk-6IL7M3VP.js → chunk-AY72AUHE.js} +87 -87
  9. package/dist/chunk-BUOYYO22.js +3 -0
  10. package/dist/{chunk-2S2ZPQQD.js → chunk-CXOK4SF6.js} +1 -1
  11. package/dist/{chunk-2DEUYEQD.js → chunk-I6WBZBGN.js} +1 -1
  12. package/dist/{chunk-567IWIX6.js → chunk-JCNKPRYY.js} +1 -1
  13. package/dist/{chunk-L2RTMZCN.js → chunk-LKX3HCRN.js} +1 -1
  14. package/dist/{chunk-HCT34NDA.js → chunk-M56WEBZY.js} +1 -1
  15. package/dist/{chunk-EWW5KWAO.js → chunk-OR6IMPAS.js} +1 -1
  16. package/dist/{chunk-V2FVIZT7.js → chunk-P6MSAFNR.js} +1 -1
  17. package/dist/{chunk-ATEWMIY5.js → chunk-PENDVYIL.js} +1 -1
  18. package/dist/{chunk-GHP6HDLM.js → chunk-QJPOC4SW.js} +1 -1
  19. package/dist/{chunk-4UT55WZA.js → chunk-SQCGMF6W.js} +1 -1
  20. package/dist/{chunk-IPQLKAF2.js → chunk-VG73BE6N.js} +1 -1
  21. package/dist/{chunk-4V3KLFCJ.js → chunk-WW6XAQKM.js} +1 -1
  22. package/dist/{chunk-OSPDH2RK.js → chunk-X7C4YS2J.js} +1 -1
  23. package/dist/{chunk-A7AYMSY7.js → chunk-XAUMTGJZ.js} +2 -2
  24. package/dist/{chunk-LUKA7UUJ.js → chunk-Z42CP7YT.js} +1 -1
  25. package/dist/cli.js +1 -1
  26. package/dist/{cr3-wasm-DIWL7CPH.js → cr3-wasm-CVZ2A7HA.js} +1 -1
  27. package/dist/{dng-wasm-PE463PG2.js → dng-wasm-TN64FKIN.js} +1 -1
  28. package/dist/{dpx-wasm-DKE3LJ6Z.js → dpx-wasm-BO2NDGTA.js} +1 -1
  29. package/dist/{exr-wasm-HAFH3YA5.js → exr-wasm-W4K6W6JZ.js} +1 -1
  30. package/dist/flame/hook/conformtools_flame/verbs.py +21 -4
  31. package/dist/{framing-U46POZQG.js → framing-GOLRVBBJ.js} +1 -1
  32. package/dist/gfx-worker.js +1 -1
  33. package/dist/{h264-4ETGWMKR.js → h264-LC27KFZT.js} +1 -1
  34. package/dist/{h264-mxf-EFHHQL7X.js → h264-mxf-GQCFBTTP.js} +1 -1
  35. package/dist/{host-relink-MVHI3YQI.js → host-relink-BYLBYTPH.js} +1 -1
  36. package/dist/{hosted-6BLHLZXM.js → hosted-ASNIPMSH.js} +1 -1
  37. package/dist/hosts-EYVK23A3.js +3 -0
  38. package/dist/http.js +2 -2
  39. package/dist/{inspect-5TMUYGAL.js → inspect-63MCOFOQ.js} +4 -4
  40. package/dist/{isobmff-55TPOVCK.js → isobmff-IMEN2G3B.js} +1 -1
  41. package/dist/{mc-video-GKWEWCEQ.js → mc-video-G4KNAHGG.js} +1 -1
  42. package/dist/mcp.js +1 -1
  43. package/dist/{media-HCKSVARE.js → media-Z23SL7RZ.js} +1 -1
  44. package/dist/{media_core-XOKN7UUF.js → media_core-KHSB6EFN.js} +2 -2
  45. package/dist/{mxf-AJTCMKTX.js → mxf-ZEM6EEZU.js} +1 -1
  46. package/dist/{ops-UGZODMYE.js → ops-T6ZV7RAM.js} +1 -1
  47. package/dist/{r3d-EKISZSKU.js → r3d-6P6K47AH.js} +1 -1
  48. package/dist/{r3d-XHSJUARW.js → r3d-ISLQ6I3S.js} +1 -1
  49. package/dist/{still-IDLCMQRD.js → still-DMZJUM7M.js} +1 -1
  50. package/dist/{still-wasm-54HEDTRX.js → still-wasm-ZLP224QL.js} +1 -1
  51. package/dist/{tiff-wasm-O7XUGXIO.js → tiff-wasm-TAEKNO4Q.js} +1 -1
  52. package/dist/{timeline-TFF3L7JP.js → timeline-P4GJT36O.js} +1 -1
  53. package/dist/wasm/media_core_bg.wasm +0 -0
  54. package/dist/wasm-threads/media_core_bg.wasm +0 -0
  55. package/dist/{wav-OLA3QYFJ.js → wav-BNOX5U7S.js} +1 -1
  56. package/package.json +5 -5
  57. package/dist/chunk-Y7PFSVRX.js +0 -3
  58. package/dist/hosts-7UO4QETB.js +0 -3
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
3
- import{a as Zb}from"./chunk-JVJUJKUP.js";import{a as Ub,b as Gb,c as Ou,d as Hb,e as zb,f as Wb,j as an}from"./chunk-A7AYMSY7.js";import{d as Kb,e as Vb,f as Jb}from"./chunk-OSPDH2RK.js";import{c as Xb,d as Qb,e as Yb}from"./chunk-2WNNDPVR.js";import{$ as Fa,$a as jg,$b as Ba,$c as Pu,Aa as fg,Ab as Eo,Ba as La,Bb as Ru,Ca as hg,Cb as Da,Da as gg,Db as ob,Ea as bg,Eb as sb,Fa as xu,G as m,Ga as yg,Gc as Eu,H as Eh,Ha as wg,Hc as Mu,I as pu,Ia as kg,Ic as Rb,Ja as Na,Jc as Cb,K as t1,Ka as _g,Kc as gi,L as n1,La as vg,M as r1,Ma as Tg,Mc as Ua,N as a1,Na as xg,Nc as Ab,O as xa,Oa as Sg,Oc as Eb,P as l1,Pa as $g,Pc as Iu,Qa as Rg,Qc as Mb,R as c1,Ra as Cg,Rb as ib,Rc as Ib,S as u1,Sa as Ag,Sc as Pb,T as mu,Ta as Eg,U as mi,Ua as Mg,V as Co,Va as Ig,Vb as ds,Vc as Fb,W as V1,Wa as Pg,Wb as Cr,Wc as Ob,X as J1,Xa as Fg,Xb as ab,Xc as Lb,Y as X1,Ya as Og,Yb as lb,Z as Q1,Za as Lg,Zb as cb,Zc as Ga,_ as yu,_a as Ng,_b as ub,aa as Y1,ab as Dg,ad as Ha,ba as Z1,bb as Bg,bc as db,ca as eg,cb as qg,cc as qa,cd as Nb,da as tg,db as Ug,dc as Cu,dd as jb,ea as fi,eb as Gg,ec as pb,ed as Db,fa as ng,fb as ja,fc as mb,ga as hi,gb as Hg,gc as fb,gd as Fu,ha as rg,hb as zg,hc as hb,hd as Bb,ia as wu,ib as Wg,ic as gb,id as qb,ja as og,jb as Ao,jc as Au,ka as ku,kb as Su,kd as za,la as Pt,lb as Zt,ma as us,mb as Kg,na as _u,nb as Vg,oa as Oa,ob as $u,pa as sg,pb as Jg,pc as bb,qa as ig,qb as Xg,ra as ag,rb as Qg,rc as yb,sa as lg,sb as Sn,sc as wb,ta as cg,tc as kb,ua as ug,ub as Yg,uc as _b,va as dg,vb as Zg,vc as vb,wa as pg,wb as eb,wc as Tb,xa as mg,xb as tb,xc as xb,ya as vu,yb as nb,yc as ps,za as Tu,zb as rb,zc as $b}from"./chunk-6IL7M3VP.js";import{a as Ro,b as or,c as di,d as U1,e as bu,g as Ea,h as pi,k as Ma,l as st,m as G1,n as H1,q as Ia,t as z1,u as Pa,v as W1,w as K1}from"./chunk-GBNPOZ32.js";import{a as Hr,b as rr,c as B1}from"./chunk-3PVQ5QP4.js";import{b as L1,e as N1,f as Ca}from"./chunk-VFXMP7IF.js";import{a as ka,c as Ch,e as Ah}from"./chunk-GHP6HDLM.js";import{c as P1}from"./chunk-JV7TZDKJ.js";import{b as F1,c as O1}from"./chunk-BBCQMZQN.js";import{a as E1,b as M1,d as I1,e as Ra}from"./chunk-2DEUYEQD.js";import{d as j1,e as D1,f as So,i as $o}from"./chunk-2S2ZPQQD.js";import{e as s1,f as i1}from"./chunk-Y7PFSVRX.js";import{M as o1,S as cs}from"./chunk-C2ESM27Z.js";import{c as ey,d as Lu,e as Nu,f as ju,g as ty,h as ny,i as ry,k as oy,m as sy,n as iy}from"./chunk-HROU7LLU.js";import{l as Sb}from"./chunk-N34DQ6MH.js";import{a as q1,b as He,d as At,e as Aa,f as yr}from"./chunk-NU3X7P4N.js";import{A as b1,E as y1,Ea as C1,F as w1,Fa as A1,G as hu,Ha as Gr,L as k1,N as _1,P as v1,Q as T1,S as x1,T as S1,V as gu,c as Sa,d as d1,f as p1,h as m1,i as $a,l as f1,m as h1,ma as $1,v as fu,z as g1,za as R1}from"./chunk-L2RTMZCN.js";import{A as Kn,B as Yh,C as ft,D as Yt,E as Zh,F as Ta,G as e1,a as ci,b as Bh,c as qh,d as Uh,e as lu,f as zn,g as Gh,h as Wn,i as Hh,j as zh,k as Wh,l as cu,m as Kh,n as uu,o as Vh,p as Qt,q as ui,r as du,s as Jh,u as va,v as Xh,w as xo,x as Qh}from"./chunk-3WJSWOCS.js";import{a as iu,b as Mh,c as Ph,d as li,h as Fh,i as Oh,j as ls,k as au,o as Lh,q as Nh,r as jh,s as Dh}from"./chunk-2XQ42O7E.js";import{b as _a,c as qt,d as Ih}from"./chunk-M545OKDZ.js";import{a as P,b as Q,c as St,d as ee}from"./chunk-COALWMI7.js";import{$ as To,A as Gn,B as Ke,C as Ve,E as Wt,G as wa,H as vo,I as dn,K as Th,M as xh,N as It,O as Ct,P as ou,R as sn,S as Sh,T as br,U as $h,Z as su,_ as Rh,aa as fe,b as zt,ba as xn,ca as Hn,d as nu,da as re,h as Xt,k as ru,l as wh,m as kh,o as tt,p as ai,q as mt,s as _h,t as _o,u as Bt,v as Ye,w as On,x as vh,y as Ut,z as ct}from"./chunk-MU5AGXSH.js";import{c as Ie,f as H$}from"./chunk-PSANHDZM.js";var rn=Ie(id=>{"use strict";Object.defineProperty(id,"__esModule",{value:!0});var i0;(function(e){e[e.NONE=0]="NONE";let n=1;e[e._abstract=n]="_abstract";let r=n+1;e[e._accessor=r]="_accessor";let o=r+1;e[e._as=o]="_as";let s=o+1;e[e._assert=s]="_assert";let i=s+1;e[e._asserts=i]="_asserts";let a=i+1;e[e._async=a]="_async";let l=a+1;e[e._await=l]="_await";let c=l+1;e[e._checks=c]="_checks";let u=c+1;e[e._constructor=u]="_constructor";let d=u+1;e[e._declare=d]="_declare";let p=d+1;e[e._enum=p]="_enum";let f=p+1;e[e._exports=f]="_exports";let h=f+1;e[e._from=h]="_from";let g=h+1;e[e._get=g]="_get";let b=g+1;e[e._global=b]="_global";let k=b+1;e[e._implements=k]="_implements";let w=k+1;e[e._infer=w]="_infer";let y=w+1;e[e._interface=y]="_interface";let _=y+1;e[e._is=_]="_is";let v=_+1;e[e._keyof=v]="_keyof";let T=v+1;e[e._mixins=T]="_mixins";let $=T+1;e[e._module=$]="_module";let x=$+1;e[e._namespace=x]="_namespace";let R=x+1;e[e._of=R]="_of";let C=R+1;e[e._opaque=C]="_opaque";let B=C+1;e[e._out=B]="_out";let L=B+1;e[e._override=L]="_override";let Z=L+1;e[e._private=Z]="_private";let X=Z+1;e[e._protected=X]="_protected";let O=X+1;e[e._proto=O]="_proto";let ae=O+1;e[e._public=ae]="_public";let W=ae+1;e[e._readonly=W]="_readonly";let ne=W+1;e[e._require=ne]="_require";let z=ne+1;e[e._satisfies=z]="_satisfies";let q=z+1;e[e._set=q]="_set";let j=q+1;e[e._static=j]="_static";let I=j+1;e[e._symbol=I]="_symbol";let S=I+1;e[e._type=S]="_type";let A=S+1;e[e._unique=A]="_unique";let U=A+1;e[e._using=U]="_using"})(i0||(id.ContextualKeyword=i0={}))});var et=Ie(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});var he;(function(e){e[e.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";let n=16;e[e.IS_KEYWORD=n]="IS_KEYWORD";let r=32;e[e.IS_ASSIGN=r]="IS_ASSIGN";let o=64;e[e.IS_RIGHT_ASSOCIATIVE=o]="IS_RIGHT_ASSOCIATIVE";let s=128;e[e.IS_PREFIX=s]="IS_PREFIX";let i=256;e[e.IS_POSTFIX=i]="IS_POSTFIX";let a=512;e[e.IS_EXPRESSION_START=a]="IS_EXPRESSION_START";let l=512;e[e.num=l]="num";let c=1536;e[e.bigint=c]="bigint";let u=2560;e[e.decimal=u]="decimal";let d=3584;e[e.regexp=d]="regexp";let p=4608;e[e.string=p]="string";let f=5632;e[e.name=f]="name";let h=6144;e[e.eof=h]="eof";let g=7680;e[e.bracketL=g]="bracketL";let b=8192;e[e.bracketR=b]="bracketR";let k=9728;e[e.braceL=k]="braceL";let w=10752;e[e.braceBarL=w]="braceBarL";let y=11264;e[e.braceR=y]="braceR";let _=12288;e[e.braceBarR=_]="braceBarR";let v=13824;e[e.parenL=v]="parenL";let T=14336;e[e.parenR=T]="parenR";let $=15360;e[e.comma=$]="comma";let x=16384;e[e.semi=x]="semi";let R=17408;e[e.colon=R]="colon";let C=18432;e[e.doubleColon=C]="doubleColon";let B=19456;e[e.dot=B]="dot";let L=20480;e[e.question=L]="question";let Z=21504;e[e.questionDot=Z]="questionDot";let X=22528;e[e.arrow=X]="arrow";let O=23552;e[e.template=O]="template";let ae=24576;e[e.ellipsis=ae]="ellipsis";let W=25600;e[e.backQuote=W]="backQuote";let ne=27136;e[e.dollarBraceL=ne]="dollarBraceL";let z=27648;e[e.at=z]="at";let q=29184;e[e.hash=q]="hash";let j=29728;e[e.eq=j]="eq";let I=30752;e[e.assign=I]="assign";let S=32640;e[e.preIncDec=S]="preIncDec";let A=33664;e[e.postIncDec=A]="postIncDec";let U=34432;e[e.bang=U]="bang";let de=35456;e[e.tilde=de]="tilde";let te=35841;e[e.pipeline=te]="pipeline";let _e=36866;e[e.nullishCoalescing=_e]="nullishCoalescing";let Se=37890;e[e.logicalOR=Se]="logicalOR";let H=38915;e[e.logicalAND=H]="logicalAND";let le=39940;e[e.bitwiseOR=le]="bitwiseOR";let pe=40965;e[e.bitwiseXOR=pe]="bitwiseXOR";let xe=41990;e[e.bitwiseAND=xe]="bitwiseAND";let ve=43015;e[e.equality=ve]="equality";let Oe=44040;e[e.lessThan=Oe]="lessThan";let ue=45064;e[e.greaterThan=ue]="greaterThan";let me=46088;e[e.relationalOrEqual=me]="relationalOrEqual";let ge=47113;e[e.bitShiftL=ge]="bitShiftL";let Re=48137;e[e.bitShiftR=Re]="bitShiftR";let Le=49802;e[e.plus=Le]="plus";let Ne=50826;e[e.minus=Ne]="minus";let We=51723;e[e.modulo=We]="modulo";let pt=52235;e[e.star=pt]="star";let Nt=53259;e[e.slash=Nt]="slash";let yn=54348;e[e.exponent=yn]="exponent";let En=55296;e[e.jsxName=En]="jsxName";let Mn=56320;e[e.jsxText=Mn]="jsxText";let hr=57344;e[e.jsxEmptyText=hr]="jsxEmptyText";let In=58880;e[e.jsxTagStart=In]="jsxTagStart";let Pn=59392;e[e.jsxTagEnd=Pn]="jsxTagEnd";let wn=60928;e[e.typeParameterStart=wn]="typeParameterStart";let tr=61440;e[e.nonNullAssertion=tr]="nonNullAssertion";let si=62480;e[e._break=si]="_break";let ns=63504;e[e._case=ns]="_case";let V=64528;e[e._catch=V]="_catch";let be=65552;e[e._continue=be]="_continue";let we=66576;e[e._debugger=we]="_debugger";let $e=67600;e[e._default=$e]="_default";let De=68624;e[e._do=De]="_do";let Pe=69648;e[e._else=Pe]="_else";let Xe=70672;e[e._finally=Xe]="_finally";let yt=71696;e[e._for=yt]="_for";let Je=73232;e[e._function=Je]="_function";let Mt=73744;e[e._if=Mt]="_if";let jt=74768;e[e._return=jt]="_return";let Dt=75792;e[e._switch=Dt]="_switch";let on=77456;e[e._throw=on]="_throw";let cn=77840;e[e._try=cn]="_try";let vn=78864;e[e._var=vn]="_var";let Tn=79888;e[e._let=Tn]="_let";let Fn=80912;e[e._const=Fn]="_const";let gr=81936;e[e._while=gr]="_while";let yo=82960;e[e._with=yo]="_with";let un=84496;e[e._new=un]="_new";let wo=85520;e[e._this=wo]="_this";let rs=86544;e[e._super=rs]="_super";let ii=87568;e[e._class=ii]="_class";let os=88080;e[e._extends=os]="_extends";let ko=89104;e[e._export=ko]="_export";let nr=90640;e[e._import=nr]="_import";let Ur=91664;e[e._yield=Ur]="_yield";let ss=92688;e[e._null=ss]="_null";let is=93712;e[e._true=is]="_true";let as=94736;e[e._false=as]="_false";let Yc=95256;e[e._in=Yc]="_in";let Zc=96280;e[e._instanceof=Zc]="_instanceof";let eu=97936;e[e._typeof=eu]="_typeof";let tu=98960;e[e._void=tu]="_void";let C$=99984;e[e._delete=C$]="_delete";let A$=100880;e[e._async=A$]="_async";let E$=101904;e[e._get=E$]="_get";let M$=102928;e[e._set=M$]="_set";let I$=103952;e[e._declare=I$]="_declare";let P$=104976;e[e._readonly=P$]="_readonly";let F$=106e3;e[e._abstract=F$]="_abstract";let O$=107024;e[e._static=O$]="_static";let L$=107536;e[e._public=L$]="_public";let N$=108560;e[e._private=N$]="_private";let j$=109584;e[e._protected=j$]="_protected";let D$=110608;e[e._override=D$]="_override";let B$=112144;e[e._as=B$]="_as";let q$=113168;e[e._enum=q$]="_enum";let U$=114192;e[e._type=U$]="_type";let G$=115216;e[e._implements=G$]="_implements"})(he||(ll.TokenType=he={}));function oC(e){switch(e){case he.num:return"num";case he.bigint:return"bigint";case he.decimal:return"decimal";case he.regexp:return"regexp";case he.string:return"string";case he.name:return"name";case he.eof:return"eof";case he.bracketL:return"[";case he.bracketR:return"]";case he.braceL:return"{";case he.braceBarL:return"{|";case he.braceR:return"}";case he.braceBarR:return"|}";case he.parenL:return"(";case he.parenR:return")";case he.comma:return",";case he.semi:return";";case he.colon:return":";case he.doubleColon:return"::";case he.dot:return".";case he.question:return"?";case he.questionDot:return"?.";case he.arrow:return"=>";case he.template:return"template";case he.ellipsis:return"...";case he.backQuote:return"`";case he.dollarBraceL:return"${";case he.at:return"@";case he.hash:return"#";case he.eq:return"=";case he.assign:return"_=";case he.preIncDec:return"++/--";case he.postIncDec:return"++/--";case he.bang:return"!";case he.tilde:return"~";case he.pipeline:return"|>";case he.nullishCoalescing:return"??";case he.logicalOR:return"||";case he.logicalAND:return"&&";case he.bitwiseOR:return"|";case he.bitwiseXOR:return"^";case he.bitwiseAND:return"&";case he.equality:return"==/!=";case he.lessThan:return"<";case he.greaterThan:return">";case he.relationalOrEqual:return"<=/>=";case he.bitShiftL:return"<<";case he.bitShiftR:return">>/>>>";case he.plus:return"+";case he.minus:return"-";case he.modulo:return"%";case he.star:return"*";case he.slash:return"/";case he.exponent:return"**";case he.jsxName:return"jsxName";case he.jsxText:return"jsxText";case he.jsxEmptyText:return"jsxEmptyText";case he.jsxTagStart:return"jsxTagStart";case he.jsxTagEnd:return"jsxTagEnd";case he.typeParameterStart:return"typeParameterStart";case he.nonNullAssertion:return"nonNullAssertion";case he._break:return"break";case he._case:return"case";case he._catch:return"catch";case he._continue:return"continue";case he._debugger:return"debugger";case he._default:return"default";case he._do:return"do";case he._else:return"else";case he._finally:return"finally";case he._for:return"for";case he._function:return"function";case he._if:return"if";case he._return:return"return";case he._switch:return"switch";case he._throw:return"throw";case he._try:return"try";case he._var:return"var";case he._let:return"let";case he._const:return"const";case he._while:return"while";case he._with:return"with";case he._new:return"new";case he._this:return"this";case he._super:return"super";case he._class:return"class";case he._extends:return"extends";case he._export:return"export";case he._import:return"import";case he._yield:return"yield";case he._null:return"null";case he._true:return"true";case he._false:return"false";case he._in:return"in";case he._instanceof:return"instanceof";case he._typeof:return"typeof";case he._void:return"void";case he._delete:return"delete";case he._async:return"async";case he._get:return"get";case he._set:return"set";case he._declare:return"declare";case he._readonly:return"readonly";case he._abstract:return"abstract";case he._static:return"static";case he._public:return"public";case he._private:return"private";case he._protected:return"protected";case he._override:return"override";case he._as:return"as";case he._enum:return"enum";case he._type:return"type";case he._implements:return"implements";default:return""}}ll.formatTokenType=oC});var ul=Ie(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var sC=rn(),iC=et(),ad=class{constructor(t,n,r){this.startTokenIndex=t,this.endTokenIndex=n,this.isFunctionScope=r}};Ci.Scope=ad;var cl=class{constructor(t,n,r,o,s,i,a,l,c,u,d,p,f){this.potentialArrowAt=t,this.noAnonFunctionType=n,this.inDisallowConditionalTypesContext=r,this.tokensLength=o,this.scopesLength=s,this.pos=i,this.type=a,this.contextualKeyword=l,this.start=c,this.end=u,this.isType=d,this.scopeDepth=p,this.error=f}};Ci.StateSnapshot=cl;var ld=class e{constructor(){e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),e.prototype.__init6.call(this),e.prototype.__init7.call(this),e.prototype.__init8.call(this),e.prototype.__init9.call(this),e.prototype.__init10.call(this),e.prototype.__init11.call(this),e.prototype.__init12.call(this),e.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=iC.TokenType.eof}__init8(){this.contextualKeyword=sC.ContextualKeyword.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new cl(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(t){this.potentialArrowAt=t.potentialArrowAt,this.noAnonFunctionType=t.noAnonFunctionType,this.inDisallowConditionalTypesContext=t.inDisallowConditionalTypesContext,this.tokens.length=t.tokensLength,this.scopes.length=t.scopesLength,this.pos=t.pos,this.type=t.type,this.contextualKeyword=t.contextualKeyword,this.start=t.start,this.end=t.end,this.isType=t.isType,this.scopeDepth=t.scopeDepth,this.error=t.error}};Ci.default=ld});var Nn=Ie(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var Vr;(function(e){e[e.backSpace=8]="backSpace";let n=10;e[e.lineFeed=n]="lineFeed";let r=9;e[e.tab=r]="tab";let o=13;e[e.carriageReturn=o]="carriageReturn";let s=14;e[e.shiftOut=s]="shiftOut";let i=32;e[e.space=i]="space";let a=33;e[e.exclamationMark=a]="exclamationMark";let l=34;e[e.quotationMark=l]="quotationMark";let c=35;e[e.numberSign=c]="numberSign";let u=36;e[e.dollarSign=u]="dollarSign";let d=37;e[e.percentSign=d]="percentSign";let p=38;e[e.ampersand=p]="ampersand";let f=39;e[e.apostrophe=f]="apostrophe";let h=40;e[e.leftParenthesis=h]="leftParenthesis";let g=41;e[e.rightParenthesis=g]="rightParenthesis";let b=42;e[e.asterisk=b]="asterisk";let k=43;e[e.plusSign=k]="plusSign";let w=44;e[e.comma=w]="comma";let y=45;e[e.dash=y]="dash";let _=46;e[e.dot=_]="dot";let v=47;e[e.slash=v]="slash";let T=48;e[e.digit0=T]="digit0";let $=49;e[e.digit1=$]="digit1";let x=50;e[e.digit2=x]="digit2";let R=51;e[e.digit3=R]="digit3";let C=52;e[e.digit4=C]="digit4";let B=53;e[e.digit5=B]="digit5";let L=54;e[e.digit6=L]="digit6";let Z=55;e[e.digit7=Z]="digit7";let X=56;e[e.digit8=X]="digit8";let O=57;e[e.digit9=O]="digit9";let ae=58;e[e.colon=ae]="colon";let W=59;e[e.semicolon=W]="semicolon";let ne=60;e[e.lessThan=ne]="lessThan";let z=61;e[e.equalsTo=z]="equalsTo";let q=62;e[e.greaterThan=q]="greaterThan";let j=63;e[e.questionMark=j]="questionMark";let I=64;e[e.atSign=I]="atSign";let S=65;e[e.uppercaseA=S]="uppercaseA";let A=66;e[e.uppercaseB=A]="uppercaseB";let U=67;e[e.uppercaseC=U]="uppercaseC";let de=68;e[e.uppercaseD=de]="uppercaseD";let te=69;e[e.uppercaseE=te]="uppercaseE";let _e=70;e[e.uppercaseF=_e]="uppercaseF";let Se=71;e[e.uppercaseG=Se]="uppercaseG";let H=72;e[e.uppercaseH=H]="uppercaseH";let le=73;e[e.uppercaseI=le]="uppercaseI";let pe=74;e[e.uppercaseJ=pe]="uppercaseJ";let xe=75;e[e.uppercaseK=xe]="uppercaseK";let ve=76;e[e.uppercaseL=ve]="uppercaseL";let Oe=77;e[e.uppercaseM=Oe]="uppercaseM";let ue=78;e[e.uppercaseN=ue]="uppercaseN";let me=79;e[e.uppercaseO=me]="uppercaseO";let ge=80;e[e.uppercaseP=ge]="uppercaseP";let Re=81;e[e.uppercaseQ=Re]="uppercaseQ";let Le=82;e[e.uppercaseR=Le]="uppercaseR";let Ne=83;e[e.uppercaseS=Ne]="uppercaseS";let We=84;e[e.uppercaseT=We]="uppercaseT";let pt=85;e[e.uppercaseU=pt]="uppercaseU";let Nt=86;e[e.uppercaseV=Nt]="uppercaseV";let yn=87;e[e.uppercaseW=yn]="uppercaseW";let En=88;e[e.uppercaseX=En]="uppercaseX";let Mn=89;e[e.uppercaseY=Mn]="uppercaseY";let hr=90;e[e.uppercaseZ=hr]="uppercaseZ";let In=91;e[e.leftSquareBracket=In]="leftSquareBracket";let Pn=92;e[e.backslash=Pn]="backslash";let wn=93;e[e.rightSquareBracket=wn]="rightSquareBracket";let tr=94;e[e.caret=tr]="caret";let si=95;e[e.underscore=si]="underscore";let ns=96;e[e.graveAccent=ns]="graveAccent";let V=97;e[e.lowercaseA=V]="lowercaseA";let be=98;e[e.lowercaseB=be]="lowercaseB";let we=99;e[e.lowercaseC=we]="lowercaseC";let $e=100;e[e.lowercaseD=$e]="lowercaseD";let De=101;e[e.lowercaseE=De]="lowercaseE";let Pe=102;e[e.lowercaseF=Pe]="lowercaseF";let Xe=103;e[e.lowercaseG=Xe]="lowercaseG";let yt=104;e[e.lowercaseH=yt]="lowercaseH";let Je=105;e[e.lowercaseI=Je]="lowercaseI";let Mt=106;e[e.lowercaseJ=Mt]="lowercaseJ";let jt=107;e[e.lowercaseK=jt]="lowercaseK";let Dt=108;e[e.lowercaseL=Dt]="lowercaseL";let on=109;e[e.lowercaseM=on]="lowercaseM";let cn=110;e[e.lowercaseN=cn]="lowercaseN";let vn=111;e[e.lowercaseO=vn]="lowercaseO";let Tn=112;e[e.lowercaseP=Tn]="lowercaseP";let Fn=113;e[e.lowercaseQ=Fn]="lowercaseQ";let gr=114;e[e.lowercaseR=gr]="lowercaseR";let yo=115;e[e.lowercaseS=yo]="lowercaseS";let un=116;e[e.lowercaseT=un]="lowercaseT";let wo=117;e[e.lowercaseU=wo]="lowercaseU";let rs=118;e[e.lowercaseV=rs]="lowercaseV";let ii=119;e[e.lowercaseW=ii]="lowercaseW";let os=120;e[e.lowercaseX=os]="lowercaseX";let ko=121;e[e.lowercaseY=ko]="lowercaseY";let nr=122;e[e.lowercaseZ=nr]="lowercaseZ";let Ur=123;e[e.leftCurlyBrace=Ur]="leftCurlyBrace";let ss=124;e[e.verticalBar=ss]="verticalBar";let is=125;e[e.rightCurlyBrace=is]="rightCurlyBrace";let as=126;e[e.tilde=as]="tilde";let Yc=160;e[e.nonBreakingSpace=Yc]="nonBreakingSpace";let Zc=5760;e[e.oghamSpaceMark=Zc]="oghamSpaceMark";let eu=8232;e[e.lineSeparator=eu]="lineSeparator";let tu=8233;e[e.paragraphSeparator=tu]="paragraphSeparator"})(Vr||(dl.charCodes=Vr={}));function aC(e){return e>=Vr.digit0&&e<=Vr.digit9||e>=Vr.lowercaseA&&e<=Vr.lowercaseF||e>=Vr.uppercaseA&&e<=Vr.uppercaseF}dl.isDigit=aC});var jn=Ie(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});function lC(e){return e&&e.__esModule?e:{default:e}}var cC=ul(),uC=lC(cC),dC=Nn();Kt.isJSXEnabled;Kt.isTypeScriptEnabled;Kt.isFlowEnabled;Kt.state;Kt.input;Kt.nextContextId;function pC(){return Kt.nextContextId++}Kt.getNextContextId=pC;function mC(e){if("pos"in e){let t=a0(e.pos);e.message+=` (${t.line}:${t.column})`,e.loc=t}return e}Kt.augmentError=mC;var pl=class{constructor(t,n){this.line=t,this.column=n}};Kt.Loc=pl;function a0(e){let t=1,n=1;for(let r=0;r<e;r++)Kt.input.charCodeAt(r)===dC.charCodes.lineFeed?(t++,n=1):n++;return new pl(t,n)}Kt.locationForIndex=a0;function fC(e,t,n,r){Kt.input=e,Kt.state=new uC.default,Kt.nextContextId=1,Kt.isJSXEnabled=t,Kt.isTypeScriptEnabled=n,Kt.isFlowEnabled=r}Kt.initParser=fC});var Xr=Ie(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});var Jr=en(),Fo=et(),ml=Nn(),Dn=jn();function hC(e){return Dn.state.contextualKeyword===e}Bn.isContextual=hC;function gC(e){let t=Jr.lookaheadTypeAndKeyword.call(void 0);return t.type===Fo.TokenType.name&&t.contextualKeyword===e}Bn.isLookaheadContextual=gC;function l0(e){return Dn.state.contextualKeyword===e&&Jr.eat.call(void 0,Fo.TokenType.name)}Bn.eatContextual=l0;function bC(e){l0(e)||fl()}Bn.expectContextual=bC;function c0(){return Jr.match.call(void 0,Fo.TokenType.eof)||Jr.match.call(void 0,Fo.TokenType.braceR)||u0()}Bn.canInsertSemicolon=c0;function u0(){let e=Dn.state.tokens[Dn.state.tokens.length-1],t=e?e.end:0;for(let n=t;n<Dn.state.start;n++){let r=Dn.input.charCodeAt(n);if(r===ml.charCodes.lineFeed||r===ml.charCodes.carriageReturn||r===8232||r===8233)return!0}return!1}Bn.hasPrecedingLineBreak=u0;function yC(){let e=Jr.nextTokenStart.call(void 0);for(let t=Dn.state.end;t<e;t++){let n=Dn.input.charCodeAt(t);if(n===ml.charCodes.lineFeed||n===ml.charCodes.carriageReturn||n===8232||n===8233)return!0}return!1}Bn.hasFollowingLineBreak=yC;function d0(){return Jr.eat.call(void 0,Fo.TokenType.semi)||c0()}Bn.isLineTerminator=d0;function wC(){d0()||fl('Unexpected token, expected ";"')}Bn.semicolon=wC;function kC(e){Jr.eat.call(void 0,e)||fl(`Unexpected token, expected "${Fo.formatTokenType.call(void 0,e)}"`)}Bn.expect=kC;function fl(e="Unexpected token",t=Dn.state.start){if(Dn.state.error)return;let n=new SyntaxError(e);n.pos=t,Dn.state.error=n,Dn.state.pos=Dn.input.length,Jr.finishToken.call(void 0,Fo.TokenType.eof)}Bn.unexpected=fl});var ud=Ie(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});var cd=Nn(),_C=[9,11,12,cd.charCodes.space,cd.charCodes.nonBreakingSpace,cd.charCodes.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];Oo.WHITESPACE_CHARS=_C;var vC=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;Oo.skipWhiteSpace=vC;var TC=new Uint8Array(65536);Oo.IS_WHITESPACE=TC;for(let e of Oo.WHITESPACE_CHARS)Oo.IS_WHITESPACE[e]=1});var xs=Ie(ir=>{"use strict";Object.defineProperty(ir,"__esModule",{value:!0});var p0=Nn(),xC=ud();function SC(e){if(e<48)return e===36;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}var $C=new Uint8Array(65536);ir.IS_IDENTIFIER_CHAR=$C;for(let e=0;e<128;e++)ir.IS_IDENTIFIER_CHAR[e]=SC(e)?1:0;for(let e=128;e<65536;e++)ir.IS_IDENTIFIER_CHAR[e]=1;for(let e of xC.WHITESPACE_CHARS)ir.IS_IDENTIFIER_CHAR[e]=0;ir.IS_IDENTIFIER_CHAR[8232]=0;ir.IS_IDENTIFIER_CHAR[8233]=0;var RC=ir.IS_IDENTIFIER_CHAR.slice();ir.IS_IDENTIFIER_START=RC;for(let e=p0.charCodes.digit0;e<=p0.charCodes.digit9;e++)ir.IS_IDENTIFIER_START[e]=0});var m0=Ie(dd=>{"use strict";Object.defineProperty(dd,"__esModule",{value:!0});var Qe=rn(),nt=et(),CC=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939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-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(nt.TokenType._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);dd.READ_WORD_TREE=CC});var b0=Ie(md=>{"use strict";Object.defineProperty(md,"__esModule",{value:!0});var ar=jn(),Qr=Nn(),f0=xs(),pd=en(),h0=m0(),g0=et();function AC(){let e=0,t=0,n=ar.state.pos;for(;n<ar.input.length&&(t=ar.input.charCodeAt(n),!(t<Qr.charCodes.lowercaseA||t>Qr.charCodes.lowercaseZ));){let o=h0.READ_WORD_TREE[e+(t-Qr.charCodes.lowercaseA)+1];if(o===-1)break;e=o,n++}let r=h0.READ_WORD_TREE[e];if(r>-1&&!f0.IS_IDENTIFIER_CHAR[t]){ar.state.pos=n,r&1?pd.finishToken.call(void 0,r>>>1):pd.finishToken.call(void 0,g0.TokenType.name,r>>>1);return}for(;n<ar.input.length;){let o=ar.input.charCodeAt(n);if(f0.IS_IDENTIFIER_CHAR[o])n++;else if(o===Qr.charCodes.backslash){if(n+=2,ar.input.charCodeAt(n)===Qr.charCodes.leftCurlyBrace){for(;n<ar.input.length&&ar.input.charCodeAt(n)!==Qr.charCodes.rightCurlyBrace;)n++;n++}}else if(o===Qr.charCodes.atSign&&ar.input.charCodeAt(n+1)===Qr.charCodes.atSign)n+=2;else break}ar.state.pos=n,pd.finishToken.call(void 0,g0.TokenType.name)}md.default=AC});var en=Ie(bt=>{"use strict";Object.defineProperty(bt,"__esModule",{value:!0});function EC(e){return e&&e.__esModule?e:{default:e}}var N=jn(),Ss=Xr(),oe=Nn(),w0=xs(),hd=ud(),MC=rn(),IC=b0(),PC=EC(IC),Ae=et(),Ot;(function(e){e[e.Access=0]="Access";let n=1;e[e.ExportAccess=n]="ExportAccess";let r=n+1;e[e.TopLevelDeclaration=r]="TopLevelDeclaration";let o=r+1;e[e.FunctionScopedDeclaration=o]="FunctionScopedDeclaration";let s=o+1;e[e.BlockScopedDeclaration=s]="BlockScopedDeclaration";let i=s+1;e[e.ObjectShorthandTopLevelDeclaration=i]="ObjectShorthandTopLevelDeclaration";let a=i+1;e[e.ObjectShorthandFunctionScopedDeclaration=a]="ObjectShorthandFunctionScopedDeclaration";let l=a+1;e[e.ObjectShorthandBlockScopedDeclaration=l]="ObjectShorthandBlockScopedDeclaration";let c=l+1;e[e.ObjectShorthand=c]="ObjectShorthand";let u=c+1;e[e.ImportDeclaration=u]="ImportDeclaration";let d=u+1;e[e.ObjectKey=d]="ObjectKey";let p=d+1;e[e.ImportAccess=p]="ImportAccess"})(Ot||(bt.IdentifierRole=Ot={}));var y0;(function(e){e[e.NoChildren=0]="NoChildren";let n=1;e[e.OneChild=n]="OneChild";let r=n+1;e[e.StaticChildren=r]="StaticChildren";let o=r+1;e[e.KeyAfterPropSpread=o]="KeyAfterPropSpread"})(y0||(bt.JSXRole=y0={}));function FC(e){let t=e.identifierRole;return t===Ot.TopLevelDeclaration||t===Ot.FunctionScopedDeclaration||t===Ot.BlockScopedDeclaration||t===Ot.ObjectShorthandTopLevelDeclaration||t===Ot.ObjectShorthandFunctionScopedDeclaration||t===Ot.ObjectShorthandBlockScopedDeclaration}bt.isDeclaration=FC;function OC(e){let t=e.identifierRole;return t===Ot.FunctionScopedDeclaration||t===Ot.BlockScopedDeclaration||t===Ot.ObjectShorthandFunctionScopedDeclaration||t===Ot.ObjectShorthandBlockScopedDeclaration}bt.isNonTopLevelDeclaration=OC;function LC(e){let t=e.identifierRole;return t===Ot.TopLevelDeclaration||t===Ot.ObjectShorthandTopLevelDeclaration||t===Ot.ImportDeclaration}bt.isTopLevelDeclaration=LC;function NC(e){let t=e.identifierRole;return t===Ot.TopLevelDeclaration||t===Ot.BlockScopedDeclaration||t===Ot.ObjectShorthandTopLevelDeclaration||t===Ot.ObjectShorthandBlockScopedDeclaration}bt.isBlockScopedDeclaration=NC;function jC(e){let t=e.identifierRole;return t===Ot.FunctionScopedDeclaration||t===Ot.ObjectShorthandFunctionScopedDeclaration}bt.isFunctionScopedDeclaration=jC;function DC(e){return e.identifierRole===Ot.ObjectShorthandTopLevelDeclaration||e.identifierRole===Ot.ObjectShorthandBlockScopedDeclaration||e.identifierRole===Ot.ObjectShorthandFunctionScopedDeclaration}bt.isObjectShorthandDeclaration=DC;var Ai=class{constructor(){this.type=N.state.type,this.contextualKeyword=N.state.contextualKeyword,this.start=N.state.start,this.end=N.state.end,this.scopeDepth=N.state.scopeDepth,this.isType=N.state.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}};bt.Token=Ai;function gl(){N.state.tokens.push(new Ai),T0()}bt.next=gl;function BC(){N.state.tokens.push(new Ai),N.state.start=N.state.pos,cA()}bt.nextTemplateToken=BC;function qC(){N.state.type===Ae.TokenType.assign&&--N.state.pos,iA()}bt.retokenizeSlashAsRegex=qC;function UC(e){for(let n=N.state.tokens.length-e;n<N.state.tokens.length;n++)N.state.tokens[n].isType=!0;let t=N.state.isType;return N.state.isType=!0,t}bt.pushTypeContext=UC;function GC(e){N.state.isType=e}bt.popTypeContext=GC;function k0(e){return gd(e)?(gl(),!0):!1}bt.eat=k0;function HC(e){let t=N.state.isType;N.state.isType=!0,k0(e),N.state.isType=t}bt.eatTypeToken=HC;function gd(e){return N.state.type===e}bt.match=gd;function zC(){let e=N.state.snapshot();gl();let t=N.state.type;return N.state.restoreFromSnapshot(e),t}bt.lookaheadType=zC;var hl=class{constructor(t,n){this.type=t,this.contextualKeyword=n}};bt.TypeAndKeyword=hl;function WC(){let e=N.state.snapshot();gl();let t=N.state.type,n=N.state.contextualKeyword;return N.state.restoreFromSnapshot(e),new hl(t,n)}bt.lookaheadTypeAndKeyword=WC;function _0(){return v0(N.state.pos)}bt.nextTokenStart=_0;function v0(e){hd.skipWhiteSpace.lastIndex=e;let t=hd.skipWhiteSpace.exec(N.input);return e+t[0].length}bt.nextTokenStartSince=v0;function KC(){return N.input.charCodeAt(_0())}bt.lookaheadCharCode=KC;function T0(){if(S0(),N.state.start=N.state.pos,N.state.pos>=N.input.length){let e=N.state.tokens;e.length>=2&&e[e.length-1].start>=N.input.length&&e[e.length-2].start>=N.input.length&&Ss.unexpected.call(void 0,"Unexpectedly reached the end of input."),wt(Ae.TokenType.eof);return}VC(N.input.charCodeAt(N.state.pos))}bt.nextToken=T0;function VC(e){w0.IS_IDENTIFIER_START[e]||e===oe.charCodes.backslash||e===oe.charCodes.atSign&&N.input.charCodeAt(N.state.pos+1)===oe.charCodes.atSign?PC.default.call(void 0):R0(e)}function JC(){for(;N.input.charCodeAt(N.state.pos)!==oe.charCodes.asterisk||N.input.charCodeAt(N.state.pos+1)!==oe.charCodes.slash;)if(N.state.pos++,N.state.pos>N.input.length){Ss.unexpected.call(void 0,"Unterminated comment",N.state.pos-2);return}N.state.pos+=2}function x0(e){let t=N.input.charCodeAt(N.state.pos+=e);if(N.state.pos<N.input.length)for(;t!==oe.charCodes.lineFeed&&t!==oe.charCodes.carriageReturn&&t!==oe.charCodes.lineSeparator&&t!==oe.charCodes.paragraphSeparator&&++N.state.pos<N.input.length;)t=N.input.charCodeAt(N.state.pos)}bt.skipLineComment=x0;function S0(){for(;N.state.pos<N.input.length;){let e=N.input.charCodeAt(N.state.pos);switch(e){case oe.charCodes.carriageReturn:N.input.charCodeAt(N.state.pos+1)===oe.charCodes.lineFeed&&++N.state.pos;case oe.charCodes.lineFeed:case oe.charCodes.lineSeparator:case oe.charCodes.paragraphSeparator:++N.state.pos;break;case oe.charCodes.slash:switch(N.input.charCodeAt(N.state.pos+1)){case oe.charCodes.asterisk:N.state.pos+=2,JC();break;case oe.charCodes.slash:x0(2);break;default:return}break;default:if(hd.IS_WHITESPACE[e])++N.state.pos;else return}}}bt.skipSpace=S0;function wt(e,t=MC.ContextualKeyword.NONE){N.state.end=N.state.pos,N.state.type=e,N.state.contextualKeyword=t}bt.finishToken=wt;function XC(){let e=N.input.charCodeAt(N.state.pos+1);if(e>=oe.charCodes.digit0&&e<=oe.charCodes.digit9){C0(!0);return}e===oe.charCodes.dot&&N.input.charCodeAt(N.state.pos+2)===oe.charCodes.dot?(N.state.pos+=3,wt(Ae.TokenType.ellipsis)):(++N.state.pos,wt(Ae.TokenType.dot))}function QC(){N.input.charCodeAt(N.state.pos+1)===oe.charCodes.equalsTo?gt(Ae.TokenType.assign,2):gt(Ae.TokenType.slash,1)}function YC(e){let t=e===oe.charCodes.asterisk?Ae.TokenType.star:Ae.TokenType.modulo,n=1,r=N.input.charCodeAt(N.state.pos+1);e===oe.charCodes.asterisk&&r===oe.charCodes.asterisk&&(n++,r=N.input.charCodeAt(N.state.pos+2),t=Ae.TokenType.exponent),r===oe.charCodes.equalsTo&&N.input.charCodeAt(N.state.pos+2)!==oe.charCodes.greaterThan&&(n++,t=Ae.TokenType.assign),gt(t,n)}function ZC(e){let t=N.input.charCodeAt(N.state.pos+1);if(t===e){N.input.charCodeAt(N.state.pos+2)===oe.charCodes.equalsTo?gt(Ae.TokenType.assign,3):gt(e===oe.charCodes.verticalBar?Ae.TokenType.logicalOR:Ae.TokenType.logicalAND,2);return}if(e===oe.charCodes.verticalBar){if(t===oe.charCodes.greaterThan){gt(Ae.TokenType.pipeline,2);return}else if(t===oe.charCodes.rightCurlyBrace&&N.isFlowEnabled){gt(Ae.TokenType.braceBarR,2);return}}if(t===oe.charCodes.equalsTo){gt(Ae.TokenType.assign,2);return}gt(e===oe.charCodes.verticalBar?Ae.TokenType.bitwiseOR:Ae.TokenType.bitwiseAND,1)}function eA(){N.input.charCodeAt(N.state.pos+1)===oe.charCodes.equalsTo?gt(Ae.TokenType.assign,2):gt(Ae.TokenType.bitwiseXOR,1)}function tA(e){let t=N.input.charCodeAt(N.state.pos+1);if(t===e){gt(Ae.TokenType.preIncDec,2);return}t===oe.charCodes.equalsTo?gt(Ae.TokenType.assign,2):e===oe.charCodes.plusSign?gt(Ae.TokenType.plus,1):gt(Ae.TokenType.minus,1)}function nA(){let e=N.input.charCodeAt(N.state.pos+1);if(e===oe.charCodes.lessThan){if(N.input.charCodeAt(N.state.pos+2)===oe.charCodes.equalsTo){gt(Ae.TokenType.assign,3);return}N.state.isType?gt(Ae.TokenType.lessThan,1):gt(Ae.TokenType.bitShiftL,2);return}e===oe.charCodes.equalsTo?gt(Ae.TokenType.relationalOrEqual,2):gt(Ae.TokenType.lessThan,1)}function $0(){if(N.state.isType){gt(Ae.TokenType.greaterThan,1);return}let e=N.input.charCodeAt(N.state.pos+1);if(e===oe.charCodes.greaterThan){let t=N.input.charCodeAt(N.state.pos+2)===oe.charCodes.greaterThan?3:2;if(N.input.charCodeAt(N.state.pos+t)===oe.charCodes.equalsTo){gt(Ae.TokenType.assign,t+1);return}gt(Ae.TokenType.bitShiftR,t);return}e===oe.charCodes.equalsTo?gt(Ae.TokenType.relationalOrEqual,2):gt(Ae.TokenType.greaterThan,1)}function rA(){N.state.type===Ae.TokenType.greaterThan&&(N.state.pos-=1,$0())}bt.rescan_gt=rA;function oA(e){let t=N.input.charCodeAt(N.state.pos+1);if(t===oe.charCodes.equalsTo){gt(Ae.TokenType.equality,N.input.charCodeAt(N.state.pos+2)===oe.charCodes.equalsTo?3:2);return}if(e===oe.charCodes.equalsTo&&t===oe.charCodes.greaterThan){N.state.pos+=2,wt(Ae.TokenType.arrow);return}gt(e===oe.charCodes.equalsTo?Ae.TokenType.eq:Ae.TokenType.bang,1)}function sA(){let e=N.input.charCodeAt(N.state.pos+1),t=N.input.charCodeAt(N.state.pos+2);e===oe.charCodes.questionMark&&!(N.isFlowEnabled&&N.state.isType)?t===oe.charCodes.equalsTo?gt(Ae.TokenType.assign,3):gt(Ae.TokenType.nullishCoalescing,2):e===oe.charCodes.dot&&!(t>=oe.charCodes.digit0&&t<=oe.charCodes.digit9)?(N.state.pos+=2,wt(Ae.TokenType.questionDot)):(++N.state.pos,wt(Ae.TokenType.question))}function R0(e){switch(e){case oe.charCodes.numberSign:++N.state.pos,wt(Ae.TokenType.hash);return;case oe.charCodes.dot:XC();return;case oe.charCodes.leftParenthesis:++N.state.pos,wt(Ae.TokenType.parenL);return;case oe.charCodes.rightParenthesis:++N.state.pos,wt(Ae.TokenType.parenR);return;case oe.charCodes.semicolon:++N.state.pos,wt(Ae.TokenType.semi);return;case oe.charCodes.comma:++N.state.pos,wt(Ae.TokenType.comma);return;case oe.charCodes.leftSquareBracket:++N.state.pos,wt(Ae.TokenType.bracketL);return;case oe.charCodes.rightSquareBracket:++N.state.pos,wt(Ae.TokenType.bracketR);return;case oe.charCodes.leftCurlyBrace:N.isFlowEnabled&&N.input.charCodeAt(N.state.pos+1)===oe.charCodes.verticalBar?gt(Ae.TokenType.braceBarL,2):(++N.state.pos,wt(Ae.TokenType.braceL));return;case oe.charCodes.rightCurlyBrace:++N.state.pos,wt(Ae.TokenType.braceR);return;case oe.charCodes.colon:N.input.charCodeAt(N.state.pos+1)===oe.charCodes.colon?gt(Ae.TokenType.doubleColon,2):(++N.state.pos,wt(Ae.TokenType.colon));return;case oe.charCodes.questionMark:sA();return;case oe.charCodes.atSign:++N.state.pos,wt(Ae.TokenType.at);return;case oe.charCodes.graveAccent:++N.state.pos,wt(Ae.TokenType.backQuote);return;case oe.charCodes.digit0:{let t=N.input.charCodeAt(N.state.pos+1);if(t===oe.charCodes.lowercaseX||t===oe.charCodes.uppercaseX||t===oe.charCodes.lowercaseO||t===oe.charCodes.uppercaseO||t===oe.charCodes.lowercaseB||t===oe.charCodes.uppercaseB){aA();return}}case oe.charCodes.digit1:case oe.charCodes.digit2:case oe.charCodes.digit3:case oe.charCodes.digit4:case oe.charCodes.digit5:case oe.charCodes.digit6:case oe.charCodes.digit7:case oe.charCodes.digit8:case oe.charCodes.digit9:C0(!1);return;case oe.charCodes.quotationMark:case oe.charCodes.apostrophe:lA(e);return;case oe.charCodes.slash:QC();return;case oe.charCodes.percentSign:case oe.charCodes.asterisk:YC(e);return;case oe.charCodes.verticalBar:case oe.charCodes.ampersand:ZC(e);return;case oe.charCodes.caret:eA();return;case oe.charCodes.plusSign:case oe.charCodes.dash:tA(e);return;case oe.charCodes.lessThan:nA();return;case oe.charCodes.greaterThan:$0();return;case oe.charCodes.equalsTo:case oe.charCodes.exclamationMark:oA(e);return;case oe.charCodes.tilde:gt(Ae.TokenType.tilde,1);return;default:break}Ss.unexpected.call(void 0,`Unexpected character '${String.fromCharCode(e)}'`,N.state.pos)}bt.getTokenFromCode=R0;function gt(e,t){N.state.pos+=t,wt(e)}function iA(){let e=N.state.pos,t=!1,n=!1;for(;;){if(N.state.pos>=N.input.length){Ss.unexpected.call(void 0,"Unterminated regular expression",e);return}let r=N.input.charCodeAt(N.state.pos);if(t)t=!1;else{if(r===oe.charCodes.leftSquareBracket)n=!0;else if(r===oe.charCodes.rightSquareBracket&&n)n=!1;else if(r===oe.charCodes.slash&&!n)break;t=r===oe.charCodes.backslash}++N.state.pos}++N.state.pos,A0(),wt(Ae.TokenType.regexp)}function fd(){for(;;){let e=N.input.charCodeAt(N.state.pos);if(e>=oe.charCodes.digit0&&e<=oe.charCodes.digit9||e===oe.charCodes.underscore)N.state.pos++;else break}}function aA(){for(N.state.pos+=2;;){let t=N.input.charCodeAt(N.state.pos);if(t>=oe.charCodes.digit0&&t<=oe.charCodes.digit9||t>=oe.charCodes.lowercaseA&&t<=oe.charCodes.lowercaseF||t>=oe.charCodes.uppercaseA&&t<=oe.charCodes.uppercaseF||t===oe.charCodes.underscore)N.state.pos++;else break}N.input.charCodeAt(N.state.pos)===oe.charCodes.lowercaseN?(++N.state.pos,wt(Ae.TokenType.bigint)):wt(Ae.TokenType.num)}function C0(e){let t=!1,n=!1;e||fd();let r=N.input.charCodeAt(N.state.pos);if(r===oe.charCodes.dot&&(++N.state.pos,fd(),r=N.input.charCodeAt(N.state.pos)),(r===oe.charCodes.uppercaseE||r===oe.charCodes.lowercaseE)&&(r=N.input.charCodeAt(++N.state.pos),(r===oe.charCodes.plusSign||r===oe.charCodes.dash)&&++N.state.pos,fd(),r=N.input.charCodeAt(N.state.pos)),r===oe.charCodes.lowercaseN?(++N.state.pos,t=!0):r===oe.charCodes.lowercaseM&&(++N.state.pos,n=!0),t){wt(Ae.TokenType.bigint);return}if(n){wt(Ae.TokenType.decimal);return}wt(Ae.TokenType.num)}function lA(e){for(N.state.pos++;;){if(N.state.pos>=N.input.length){Ss.unexpected.call(void 0,"Unterminated string constant");return}let t=N.input.charCodeAt(N.state.pos);if(t===oe.charCodes.backslash)N.state.pos++;else if(t===e)break;N.state.pos++}N.state.pos++,wt(Ae.TokenType.string)}function cA(){for(;;){if(N.state.pos>=N.input.length){Ss.unexpected.call(void 0,"Unterminated template");return}let e=N.input.charCodeAt(N.state.pos);if(e===oe.charCodes.graveAccent||e===oe.charCodes.dollarSign&&N.input.charCodeAt(N.state.pos+1)===oe.charCodes.leftCurlyBrace){if(N.state.pos===N.state.start&&gd(Ae.TokenType.template))if(e===oe.charCodes.dollarSign){N.state.pos+=2,wt(Ae.TokenType.dollarBraceL);return}else{++N.state.pos,wt(Ae.TokenType.backQuote);return}wt(Ae.TokenType.template);return}e===oe.charCodes.backslash&&N.state.pos++,N.state.pos++}}function A0(){for(;N.state.pos<N.input.length;){let e=N.input.charCodeAt(N.state.pos);if(w0.IS_IDENTIFIER_CHAR[e])N.state.pos++;else if(e===oe.charCodes.backslash){if(N.state.pos+=2,N.input.charCodeAt(N.state.pos)===oe.charCodes.leftCurlyBrace){for(;N.state.pos<N.input.length&&N.input.charCodeAt(N.state.pos)!==oe.charCodes.rightCurlyBrace;)N.state.pos++;N.state.pos++}}else break}}bt.skipWord=A0});var Ei=Ie(bd=>{"use strict";Object.defineProperty(bd,"__esModule",{value:!0});var E0=et();function uA(e,t=e.currentIndex()){let n=t+1;if(bl(e,n)){let r=e.identifierNameAtIndex(t);return{isType:!1,leftName:r,rightName:r,endIndex:n}}if(n++,bl(e,n))return{isType:!0,leftName:null,rightName:null,endIndex:n};if(n++,bl(e,n))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:n};if(n++,bl(e,n))return{isType:!0,leftName:null,rightName:null,endIndex:n};throw new Error(`Unexpected import/export specifier at ${t}`)}bd.default=uA;function bl(e,t){let n=e.tokens[t];return n.type===E0.TokenType.braceR||n.type===E0.TokenType.comma}});var M0=Ie(yd=>{"use strict";Object.defineProperty(yd,"__esModule",{value:!0});yd.default=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp","\xA0"],["iexcl","\xA1"],["cent","\xA2"],["pound","\xA3"],["curren","\xA4"],["yen","\xA5"],["brvbar","\xA6"],["sect","\xA7"],["uml","\xA8"],["copy","\xA9"],["ordf","\xAA"],["laquo","\xAB"],["not","\xAC"],["shy","\xAD"],["reg","\xAE"],["macr","\xAF"],["deg","\xB0"],["plusmn","\xB1"],["sup2","\xB2"],["sup3","\xB3"],["acute","\xB4"],["micro","\xB5"],["para","\xB6"],["middot","\xB7"],["cedil","\xB8"],["sup1","\xB9"],["ordm","\xBA"],["raquo","\xBB"],["frac14","\xBC"],["frac12","\xBD"],["frac34","\xBE"],["iquest","\xBF"],["Agrave","\xC0"],["Aacute","\xC1"],["Acirc","\xC2"],["Atilde","\xC3"],["Auml","\xC4"],["Aring","\xC5"],["AElig","\xC6"],["Ccedil","\xC7"],["Egrave","\xC8"],["Eacute","\xC9"],["Ecirc","\xCA"],["Euml","\xCB"],["Igrave","\xCC"],["Iacute","\xCD"],["Icirc","\xCE"],["Iuml","\xCF"],["ETH","\xD0"],["Ntilde","\xD1"],["Ograve","\xD2"],["Oacute","\xD3"],["Ocirc","\xD4"],["Otilde","\xD5"],["Ouml","\xD6"],["times","\xD7"],["Oslash","\xD8"],["Ugrave","\xD9"],["Uacute","\xDA"],["Ucirc","\xDB"],["Uuml","\xDC"],["Yacute","\xDD"],["THORN","\xDE"],["szlig","\xDF"],["agrave","\xE0"],["aacute","\xE1"],["acirc","\xE2"],["atilde","\xE3"],["auml","\xE4"],["aring","\xE5"],["aelig","\xE6"],["ccedil","\xE7"],["egrave","\xE8"],["eacute","\xE9"],["ecirc","\xEA"],["euml","\xEB"],["igrave","\xEC"],["iacute","\xED"],["icirc","\xEE"],["iuml","\xEF"],["eth","\xF0"],["ntilde","\xF1"],["ograve","\xF2"],["oacute","\xF3"],["ocirc","\xF4"],["otilde","\xF5"],["ouml","\xF6"],["divide","\xF7"],["oslash","\xF8"],["ugrave","\xF9"],["uacute","\xFA"],["ucirc","\xFB"],["uuml","\xFC"],["yacute","\xFD"],["thorn","\xFE"],["yuml","\xFF"],["OElig","\u0152"],["oelig","\u0153"],["Scaron","\u0160"],["scaron","\u0161"],["Yuml","\u0178"],["fnof","\u0192"],["circ","\u02C6"],["tilde","\u02DC"],["Alpha","\u0391"],["Beta","\u0392"],["Gamma","\u0393"],["Delta","\u0394"],["Epsilon","\u0395"],["Zeta","\u0396"],["Eta","\u0397"],["Theta","\u0398"],["Iota","\u0399"],["Kappa","\u039A"],["Lambda","\u039B"],["Mu","\u039C"],["Nu","\u039D"],["Xi","\u039E"],["Omicron","\u039F"],["Pi","\u03A0"],["Rho","\u03A1"],["Sigma","\u03A3"],["Tau","\u03A4"],["Upsilon","\u03A5"],["Phi","\u03A6"],["Chi","\u03A7"],["Psi","\u03A8"],["Omega","\u03A9"],["alpha","\u03B1"],["beta","\u03B2"],["gamma","\u03B3"],["delta","\u03B4"],["epsilon","\u03B5"],["zeta","\u03B6"],["eta","\u03B7"],["theta","\u03B8"],["iota","\u03B9"],["kappa","\u03BA"],["lambda","\u03BB"],["mu","\u03BC"],["nu","\u03BD"],["xi","\u03BE"],["omicron","\u03BF"],["pi","\u03C0"],["rho","\u03C1"],["sigmaf","\u03C2"],["sigma","\u03C3"],["tau","\u03C4"],["upsilon","\u03C5"],["phi","\u03C6"],["chi","\u03C7"],["psi","\u03C8"],["omega","\u03C9"],["thetasym","\u03D1"],["upsih","\u03D2"],["piv","\u03D6"],["ensp","\u2002"],["emsp","\u2003"],["thinsp","\u2009"],["zwnj","\u200C"],["zwj","\u200D"],["lrm","\u200E"],["rlm","\u200F"],["ndash","\u2013"],["mdash","\u2014"],["lsquo","\u2018"],["rsquo","\u2019"],["sbquo","\u201A"],["ldquo","\u201C"],["rdquo","\u201D"],["bdquo","\u201E"],["dagger","\u2020"],["Dagger","\u2021"],["bull","\u2022"],["hellip","\u2026"],["permil","\u2030"],["prime","\u2032"],["Prime","\u2033"],["lsaquo","\u2039"],["rsaquo","\u203A"],["oline","\u203E"],["frasl","\u2044"],["euro","\u20AC"],["image","\u2111"],["weierp","\u2118"],["real","\u211C"],["trade","\u2122"],["alefsym","\u2135"],["larr","\u2190"],["uarr","\u2191"],["rarr","\u2192"],["darr","\u2193"],["harr","\u2194"],["crarr","\u21B5"],["lArr","\u21D0"],["uArr","\u21D1"],["rArr","\u21D2"],["dArr","\u21D3"],["hArr","\u21D4"],["forall","\u2200"],["part","\u2202"],["exist","\u2203"],["empty","\u2205"],["nabla","\u2207"],["isin","\u2208"],["notin","\u2209"],["ni","\u220B"],["prod","\u220F"],["sum","\u2211"],["minus","\u2212"],["lowast","\u2217"],["radic","\u221A"],["prop","\u221D"],["infin","\u221E"],["ang","\u2220"],["and","\u2227"],["or","\u2228"],["cap","\u2229"],["cup","\u222A"],["int","\u222B"],["there4","\u2234"],["sim","\u223C"],["cong","\u2245"],["asymp","\u2248"],["ne","\u2260"],["equiv","\u2261"],["le","\u2264"],["ge","\u2265"],["sub","\u2282"],["sup","\u2283"],["nsub","\u2284"],["sube","\u2286"],["supe","\u2287"],["oplus","\u2295"],["otimes","\u2297"],["perp","\u22A5"],["sdot","\u22C5"],["lceil","\u2308"],["rceil","\u2309"],["lfloor","\u230A"],["rfloor","\u230B"],["lang","\u2329"],["rang","\u232A"],["loz","\u25CA"],["spades","\u2660"],["clubs","\u2663"],["hearts","\u2665"],["diams","\u2666"]])});var kd=Ie(wd=>{"use strict";Object.defineProperty(wd,"__esModule",{value:!0});function dA(e){let[t,n]=I0(e.jsxPragma||"React.createElement"),[r,o]=I0(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:n,fragmentBase:r,fragmentSuffix:o}}wd.default=dA;function I0(e){let t=e.indexOf(".");return t===-1&&(t=e.length),[e.slice(0,t),e.slice(t)]}});var Vn=Ie(vd=>{"use strict";Object.defineProperty(vd,"__esModule",{value:!0});var _d=class{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}};vd.default=_d});var Sd=Ie(wl=>{"use strict";Object.defineProperty(wl,"__esModule",{value:!0});function xd(e){return e&&e.__esModule?e:{default:e}}var pA=M0(),mA=xd(pA),yl=en(),lt=et(),kr=Nn(),fA=kd(),hA=xd(fA),gA=Vn(),bA=xd(gA),Td=class e extends bA.default{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(t,n,r,o,s){super(),this.rootTransformer=t,this.tokens=n,this.importProcessor=r,this.nameManager=o,this.options=s,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),this.jsxPragmaInfo=hA.default.call(void 0,s),this.isAutomaticRuntime=s.jsxRuntime==="automatic",this.jsxImportSource=s.jsxImportSource||"react"}process(){return this.tokens.matches1(lt.TokenType.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let t="";if(this.filenameVarName&&(t+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(let[n,r]of Object.entries(this.cjsAutomaticModuleNameResolutions))t+=`var ${r} = require("${n}");`;else{let{createElement:n,...r}=this.esmAutomaticImportNameResolutions;n&&(t+=`import {createElement as ${n}} from "${this.jsxImportSource}";`);let o=Object.entries(r).map(([s,i])=>`${s} as ${i}`).join(", ");if(o){let s=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");t+=`import {${o}} from "${s}";`}}return t}processJSXTag(){let{jsxRole:t,start:n}=this.tokens.currentToken(),r=this.options.production?null:this.getElementLocationCode(n);this.isAutomaticRuntime&&t!==yl.JSXRole.KeyAfterPropSpread?this.transformTagToJSXFunc(r,t):this.transformTagToCreateElement(r)}getElementLocationCode(t){return`lineNumber: ${this.getLineNumberForIndex(t)}`}getLineNumberForIndex(t){let n=this.tokens.code;for(;this.lastIndex<t&&this.lastIndex<n.length;)n[this.lastIndex]===`
3
+ import{a as Zb}from"./chunk-5YCUHHZO.js";import{a as Ub,b as Gb,c as Ou,d as Hb,e as zb,f as Wb,j as an}from"./chunk-XAUMTGJZ.js";import{d as Kb,e as Vb,f as Jb}from"./chunk-X7C4YS2J.js";import{c as Xb,d as Qb,e as Yb}from"./chunk-2WNNDPVR.js";import{$ as Fa,$a as jg,$b as Ba,$c as Pu,Aa as fg,Ab as Eo,Ba as La,Bb as Ru,Ca as hg,Cb as Da,Da as gg,Db as ob,Ea as bg,Eb as sb,Fa as xu,G as m,Ga as yg,Gc as Eu,H as Eh,Ha as wg,Hc as Mu,I as pu,Ia as kg,Ic as Rb,Ja as Na,Jc as Cb,K as t1,Ka as _g,Kc as gi,L as n1,La as vg,M as r1,Ma as Tg,Mc as Ua,N as a1,Na as xg,Nc as Ab,O as xa,Oa as Sg,Oc as Eb,P as l1,Pa as $g,Pc as Iu,Qa as Rg,Qc as Mb,R as c1,Ra as Cg,Rb as ib,Rc as Ib,S as u1,Sa as Ag,Sc as Pb,T as mu,Ta as Eg,U as mi,Ua as Mg,V as Co,Va as Ig,Vb as ds,Vc as Fb,W as V1,Wa as Pg,Wb as Cr,Wc as Ob,X as J1,Xa as Fg,Xb as ab,Xc as Lb,Y as X1,Ya as Og,Yb as lb,Z as Q1,Za as Lg,Zb as cb,Zc as Ga,_ as yu,_a as Ng,_b as ub,aa as Y1,ab as Dg,ad as Ha,ba as Z1,bb as Bg,bc as db,ca as eg,cb as qg,cc as qa,cd as Nb,da as tg,db as Ug,dc as Cu,dd as jb,ea as fi,eb as Gg,ec as pb,ed as Db,fa as ng,fb as ja,fc as mb,ga as hi,gb as Hg,gc as fb,gd as Fu,ha as rg,hb as zg,hc as hb,hd as Bb,ia as wu,ib as Wg,ic as gb,id as qb,ja as og,jb as Ao,jc as Au,ka as ku,kb as Su,kd as za,la as Pt,lb as Zt,ma as us,mb as Kg,na as _u,nb as Vg,oa as Oa,ob as $u,pa as sg,pb as Jg,pc as bb,qa as ig,qb as Xg,ra as ag,rb as Qg,rc as yb,sa as lg,sb as Sn,sc as wb,ta as cg,tc as kb,ua as ug,ub as Yg,uc as _b,va as dg,vb as Zg,vc as vb,wa as pg,wb as eb,wc as Tb,xa as mg,xb as tb,xc as xb,ya as vu,yb as nb,yc as ps,za as Tu,zb as rb,zc as $b}from"./chunk-AY72AUHE.js";import{a as Ro,b as or,c as di,d as U1,e as bu,g as Ea,h as pi,k as Ma,l as st,m as G1,n as H1,q as Ia,t as z1,u as Pa,v as W1,w as K1}from"./chunk-5XJVAA6N.js";import{a as Hr,b as rr,c as B1}from"./chunk-3PVQ5QP4.js";import{b as L1,e as N1,f as Ca}from"./chunk-VFXMP7IF.js";import{a as ka,c as Ch,e as Ah}from"./chunk-QJPOC4SW.js";import{c as P1}from"./chunk-JV7TZDKJ.js";import{b as F1,c as O1}from"./chunk-BBCQMZQN.js";import{a as E1,b as M1,d as I1,e as Ra}from"./chunk-I6WBZBGN.js";import{d as j1,e as D1,f as So,i as $o}from"./chunk-CXOK4SF6.js";import{e as s1,f as i1}from"./chunk-BUOYYO22.js";import{M as o1,S as cs}from"./chunk-C2ESM27Z.js";import{c as ey,d as Lu,e as Nu,f as ju,g as ty,h as ny,i as ry,k as oy,m as sy,n as iy}from"./chunk-26ZNWQLT.js";import{l as Sb}from"./chunk-N34DQ6MH.js";import{a as q1,b as He,d as At,e as Aa,f as yr}from"./chunk-NU3X7P4N.js";import{A as b1,E as y1,Ea as C1,F as w1,Fa as A1,G as hu,Ha as Gr,L as k1,N as _1,P as v1,Q as T1,S as x1,T as S1,V as gu,c as Sa,d as d1,f as p1,h as m1,i as $a,l as f1,m as h1,ma as $1,v as fu,z as g1,za as R1}from"./chunk-LKX3HCRN.js";import{A as Kn,B as Yh,C as ft,D as Yt,E as Zh,F as Ta,G as e1,a as ci,b as Bh,c as qh,d as Uh,e as lu,f as zn,g as Gh,h as Wn,i as Hh,j as zh,k as Wh,l as cu,m as Kh,n as uu,o as Vh,p as Qt,q as ui,r as du,s as Jh,u as va,v as Xh,w as xo,x as Qh}from"./chunk-3WJSWOCS.js";import{a as iu,b as Mh,c as Ph,d as li,h as Fh,i as Oh,j as ls,k as au,o as Lh,q as Nh,r as jh,s as Dh}from"./chunk-2XQ42O7E.js";import{b as _a,c as qt,d as Ih}from"./chunk-M545OKDZ.js";import{a as P,b as Q,c as St,d as ee}from"./chunk-COALWMI7.js";import{$ as To,A as Gn,B as Ke,C as Ve,E as Wt,G as wa,H as vo,I as dn,K as Th,M as xh,N as It,O as Ct,P as ou,R as sn,S as Sh,T as br,U as $h,Z as su,_ as Rh,aa as fe,b as zt,ba as xn,ca as Hn,d as nu,da as re,h as Xt,k as ru,l as wh,m as kh,o as tt,p as ai,q as mt,s as _h,t as _o,u as Bt,v as Ye,w as On,x as vh,y as Ut,z as ct}from"./chunk-MU5AGXSH.js";import{c as Ie,f as H$}from"./chunk-PSANHDZM.js";var rn=Ie(id=>{"use strict";Object.defineProperty(id,"__esModule",{value:!0});var i0;(function(e){e[e.NONE=0]="NONE";let n=1;e[e._abstract=n]="_abstract";let r=n+1;e[e._accessor=r]="_accessor";let o=r+1;e[e._as=o]="_as";let s=o+1;e[e._assert=s]="_assert";let i=s+1;e[e._asserts=i]="_asserts";let a=i+1;e[e._async=a]="_async";let l=a+1;e[e._await=l]="_await";let c=l+1;e[e._checks=c]="_checks";let u=c+1;e[e._constructor=u]="_constructor";let d=u+1;e[e._declare=d]="_declare";let p=d+1;e[e._enum=p]="_enum";let f=p+1;e[e._exports=f]="_exports";let h=f+1;e[e._from=h]="_from";let g=h+1;e[e._get=g]="_get";let b=g+1;e[e._global=b]="_global";let k=b+1;e[e._implements=k]="_implements";let w=k+1;e[e._infer=w]="_infer";let y=w+1;e[e._interface=y]="_interface";let _=y+1;e[e._is=_]="_is";let v=_+1;e[e._keyof=v]="_keyof";let T=v+1;e[e._mixins=T]="_mixins";let $=T+1;e[e._module=$]="_module";let x=$+1;e[e._namespace=x]="_namespace";let R=x+1;e[e._of=R]="_of";let C=R+1;e[e._opaque=C]="_opaque";let B=C+1;e[e._out=B]="_out";let L=B+1;e[e._override=L]="_override";let Z=L+1;e[e._private=Z]="_private";let X=Z+1;e[e._protected=X]="_protected";let O=X+1;e[e._proto=O]="_proto";let ae=O+1;e[e._public=ae]="_public";let W=ae+1;e[e._readonly=W]="_readonly";let ne=W+1;e[e._require=ne]="_require";let z=ne+1;e[e._satisfies=z]="_satisfies";let q=z+1;e[e._set=q]="_set";let j=q+1;e[e._static=j]="_static";let I=j+1;e[e._symbol=I]="_symbol";let S=I+1;e[e._type=S]="_type";let A=S+1;e[e._unique=A]="_unique";let U=A+1;e[e._using=U]="_using"})(i0||(id.ContextualKeyword=i0={}))});var et=Ie(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});var he;(function(e){e[e.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";let n=16;e[e.IS_KEYWORD=n]="IS_KEYWORD";let r=32;e[e.IS_ASSIGN=r]="IS_ASSIGN";let o=64;e[e.IS_RIGHT_ASSOCIATIVE=o]="IS_RIGHT_ASSOCIATIVE";let s=128;e[e.IS_PREFIX=s]="IS_PREFIX";let i=256;e[e.IS_POSTFIX=i]="IS_POSTFIX";let a=512;e[e.IS_EXPRESSION_START=a]="IS_EXPRESSION_START";let l=512;e[e.num=l]="num";let c=1536;e[e.bigint=c]="bigint";let u=2560;e[e.decimal=u]="decimal";let d=3584;e[e.regexp=d]="regexp";let p=4608;e[e.string=p]="string";let f=5632;e[e.name=f]="name";let h=6144;e[e.eof=h]="eof";let g=7680;e[e.bracketL=g]="bracketL";let b=8192;e[e.bracketR=b]="bracketR";let k=9728;e[e.braceL=k]="braceL";let w=10752;e[e.braceBarL=w]="braceBarL";let y=11264;e[e.braceR=y]="braceR";let _=12288;e[e.braceBarR=_]="braceBarR";let v=13824;e[e.parenL=v]="parenL";let T=14336;e[e.parenR=T]="parenR";let $=15360;e[e.comma=$]="comma";let x=16384;e[e.semi=x]="semi";let R=17408;e[e.colon=R]="colon";let C=18432;e[e.doubleColon=C]="doubleColon";let B=19456;e[e.dot=B]="dot";let L=20480;e[e.question=L]="question";let Z=21504;e[e.questionDot=Z]="questionDot";let X=22528;e[e.arrow=X]="arrow";let O=23552;e[e.template=O]="template";let ae=24576;e[e.ellipsis=ae]="ellipsis";let W=25600;e[e.backQuote=W]="backQuote";let ne=27136;e[e.dollarBraceL=ne]="dollarBraceL";let z=27648;e[e.at=z]="at";let q=29184;e[e.hash=q]="hash";let j=29728;e[e.eq=j]="eq";let I=30752;e[e.assign=I]="assign";let S=32640;e[e.preIncDec=S]="preIncDec";let A=33664;e[e.postIncDec=A]="postIncDec";let U=34432;e[e.bang=U]="bang";let de=35456;e[e.tilde=de]="tilde";let te=35841;e[e.pipeline=te]="pipeline";let _e=36866;e[e.nullishCoalescing=_e]="nullishCoalescing";let Se=37890;e[e.logicalOR=Se]="logicalOR";let H=38915;e[e.logicalAND=H]="logicalAND";let le=39940;e[e.bitwiseOR=le]="bitwiseOR";let pe=40965;e[e.bitwiseXOR=pe]="bitwiseXOR";let xe=41990;e[e.bitwiseAND=xe]="bitwiseAND";let ve=43015;e[e.equality=ve]="equality";let Oe=44040;e[e.lessThan=Oe]="lessThan";let ue=45064;e[e.greaterThan=ue]="greaterThan";let me=46088;e[e.relationalOrEqual=me]="relationalOrEqual";let ge=47113;e[e.bitShiftL=ge]="bitShiftL";let Re=48137;e[e.bitShiftR=Re]="bitShiftR";let Le=49802;e[e.plus=Le]="plus";let Ne=50826;e[e.minus=Ne]="minus";let We=51723;e[e.modulo=We]="modulo";let pt=52235;e[e.star=pt]="star";let Nt=53259;e[e.slash=Nt]="slash";let yn=54348;e[e.exponent=yn]="exponent";let En=55296;e[e.jsxName=En]="jsxName";let Mn=56320;e[e.jsxText=Mn]="jsxText";let hr=57344;e[e.jsxEmptyText=hr]="jsxEmptyText";let In=58880;e[e.jsxTagStart=In]="jsxTagStart";let Pn=59392;e[e.jsxTagEnd=Pn]="jsxTagEnd";let wn=60928;e[e.typeParameterStart=wn]="typeParameterStart";let tr=61440;e[e.nonNullAssertion=tr]="nonNullAssertion";let si=62480;e[e._break=si]="_break";let ns=63504;e[e._case=ns]="_case";let V=64528;e[e._catch=V]="_catch";let be=65552;e[e._continue=be]="_continue";let we=66576;e[e._debugger=we]="_debugger";let $e=67600;e[e._default=$e]="_default";let De=68624;e[e._do=De]="_do";let Pe=69648;e[e._else=Pe]="_else";let Xe=70672;e[e._finally=Xe]="_finally";let yt=71696;e[e._for=yt]="_for";let Je=73232;e[e._function=Je]="_function";let Mt=73744;e[e._if=Mt]="_if";let jt=74768;e[e._return=jt]="_return";let Dt=75792;e[e._switch=Dt]="_switch";let on=77456;e[e._throw=on]="_throw";let cn=77840;e[e._try=cn]="_try";let vn=78864;e[e._var=vn]="_var";let Tn=79888;e[e._let=Tn]="_let";let Fn=80912;e[e._const=Fn]="_const";let gr=81936;e[e._while=gr]="_while";let yo=82960;e[e._with=yo]="_with";let un=84496;e[e._new=un]="_new";let wo=85520;e[e._this=wo]="_this";let rs=86544;e[e._super=rs]="_super";let ii=87568;e[e._class=ii]="_class";let os=88080;e[e._extends=os]="_extends";let ko=89104;e[e._export=ko]="_export";let nr=90640;e[e._import=nr]="_import";let Ur=91664;e[e._yield=Ur]="_yield";let ss=92688;e[e._null=ss]="_null";let is=93712;e[e._true=is]="_true";let as=94736;e[e._false=as]="_false";let Yc=95256;e[e._in=Yc]="_in";let Zc=96280;e[e._instanceof=Zc]="_instanceof";let eu=97936;e[e._typeof=eu]="_typeof";let tu=98960;e[e._void=tu]="_void";let C$=99984;e[e._delete=C$]="_delete";let A$=100880;e[e._async=A$]="_async";let E$=101904;e[e._get=E$]="_get";let M$=102928;e[e._set=M$]="_set";let I$=103952;e[e._declare=I$]="_declare";let P$=104976;e[e._readonly=P$]="_readonly";let F$=106e3;e[e._abstract=F$]="_abstract";let O$=107024;e[e._static=O$]="_static";let L$=107536;e[e._public=L$]="_public";let N$=108560;e[e._private=N$]="_private";let j$=109584;e[e._protected=j$]="_protected";let D$=110608;e[e._override=D$]="_override";let B$=112144;e[e._as=B$]="_as";let q$=113168;e[e._enum=q$]="_enum";let U$=114192;e[e._type=U$]="_type";let G$=115216;e[e._implements=G$]="_implements"})(he||(ll.TokenType=he={}));function oC(e){switch(e){case he.num:return"num";case he.bigint:return"bigint";case he.decimal:return"decimal";case he.regexp:return"regexp";case he.string:return"string";case he.name:return"name";case he.eof:return"eof";case he.bracketL:return"[";case he.bracketR:return"]";case he.braceL:return"{";case he.braceBarL:return"{|";case he.braceR:return"}";case he.braceBarR:return"|}";case he.parenL:return"(";case he.parenR:return")";case he.comma:return",";case he.semi:return";";case he.colon:return":";case he.doubleColon:return"::";case he.dot:return".";case he.question:return"?";case he.questionDot:return"?.";case he.arrow:return"=>";case he.template:return"template";case he.ellipsis:return"...";case he.backQuote:return"`";case he.dollarBraceL:return"${";case he.at:return"@";case he.hash:return"#";case he.eq:return"=";case he.assign:return"_=";case he.preIncDec:return"++/--";case he.postIncDec:return"++/--";case he.bang:return"!";case he.tilde:return"~";case he.pipeline:return"|>";case he.nullishCoalescing:return"??";case he.logicalOR:return"||";case he.logicalAND:return"&&";case he.bitwiseOR:return"|";case he.bitwiseXOR:return"^";case he.bitwiseAND:return"&";case he.equality:return"==/!=";case he.lessThan:return"<";case he.greaterThan:return">";case he.relationalOrEqual:return"<=/>=";case he.bitShiftL:return"<<";case he.bitShiftR:return">>/>>>";case he.plus:return"+";case he.minus:return"-";case he.modulo:return"%";case he.star:return"*";case he.slash:return"/";case he.exponent:return"**";case he.jsxName:return"jsxName";case he.jsxText:return"jsxText";case he.jsxEmptyText:return"jsxEmptyText";case he.jsxTagStart:return"jsxTagStart";case he.jsxTagEnd:return"jsxTagEnd";case he.typeParameterStart:return"typeParameterStart";case he.nonNullAssertion:return"nonNullAssertion";case he._break:return"break";case he._case:return"case";case he._catch:return"catch";case he._continue:return"continue";case he._debugger:return"debugger";case he._default:return"default";case he._do:return"do";case he._else:return"else";case he._finally:return"finally";case he._for:return"for";case he._function:return"function";case he._if:return"if";case he._return:return"return";case he._switch:return"switch";case he._throw:return"throw";case he._try:return"try";case he._var:return"var";case he._let:return"let";case he._const:return"const";case he._while:return"while";case he._with:return"with";case he._new:return"new";case he._this:return"this";case he._super:return"super";case he._class:return"class";case he._extends:return"extends";case he._export:return"export";case he._import:return"import";case he._yield:return"yield";case he._null:return"null";case he._true:return"true";case he._false:return"false";case he._in:return"in";case he._instanceof:return"instanceof";case he._typeof:return"typeof";case he._void:return"void";case he._delete:return"delete";case he._async:return"async";case he._get:return"get";case he._set:return"set";case he._declare:return"declare";case he._readonly:return"readonly";case he._abstract:return"abstract";case he._static:return"static";case he._public:return"public";case he._private:return"private";case he._protected:return"protected";case he._override:return"override";case he._as:return"as";case he._enum:return"enum";case he._type:return"type";case he._implements:return"implements";default:return""}}ll.formatTokenType=oC});var ul=Ie(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});var sC=rn(),iC=et(),ad=class{constructor(t,n,r){this.startTokenIndex=t,this.endTokenIndex=n,this.isFunctionScope=r}};Ci.Scope=ad;var cl=class{constructor(t,n,r,o,s,i,a,l,c,u,d,p,f){this.potentialArrowAt=t,this.noAnonFunctionType=n,this.inDisallowConditionalTypesContext=r,this.tokensLength=o,this.scopesLength=s,this.pos=i,this.type=a,this.contextualKeyword=l,this.start=c,this.end=u,this.isType=d,this.scopeDepth=p,this.error=f}};Ci.StateSnapshot=cl;var ld=class e{constructor(){e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),e.prototype.__init6.call(this),e.prototype.__init7.call(this),e.prototype.__init8.call(this),e.prototype.__init9.call(this),e.prototype.__init10.call(this),e.prototype.__init11.call(this),e.prototype.__init12.call(this),e.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=iC.TokenType.eof}__init8(){this.contextualKeyword=sC.ContextualKeyword.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new cl(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(t){this.potentialArrowAt=t.potentialArrowAt,this.noAnonFunctionType=t.noAnonFunctionType,this.inDisallowConditionalTypesContext=t.inDisallowConditionalTypesContext,this.tokens.length=t.tokensLength,this.scopes.length=t.scopesLength,this.pos=t.pos,this.type=t.type,this.contextualKeyword=t.contextualKeyword,this.start=t.start,this.end=t.end,this.isType=t.isType,this.scopeDepth=t.scopeDepth,this.error=t.error}};Ci.default=ld});var Nn=Ie(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});var Vr;(function(e){e[e.backSpace=8]="backSpace";let n=10;e[e.lineFeed=n]="lineFeed";let r=9;e[e.tab=r]="tab";let o=13;e[e.carriageReturn=o]="carriageReturn";let s=14;e[e.shiftOut=s]="shiftOut";let i=32;e[e.space=i]="space";let a=33;e[e.exclamationMark=a]="exclamationMark";let l=34;e[e.quotationMark=l]="quotationMark";let c=35;e[e.numberSign=c]="numberSign";let u=36;e[e.dollarSign=u]="dollarSign";let d=37;e[e.percentSign=d]="percentSign";let p=38;e[e.ampersand=p]="ampersand";let f=39;e[e.apostrophe=f]="apostrophe";let h=40;e[e.leftParenthesis=h]="leftParenthesis";let g=41;e[e.rightParenthesis=g]="rightParenthesis";let b=42;e[e.asterisk=b]="asterisk";let k=43;e[e.plusSign=k]="plusSign";let w=44;e[e.comma=w]="comma";let y=45;e[e.dash=y]="dash";let _=46;e[e.dot=_]="dot";let v=47;e[e.slash=v]="slash";let T=48;e[e.digit0=T]="digit0";let $=49;e[e.digit1=$]="digit1";let x=50;e[e.digit2=x]="digit2";let R=51;e[e.digit3=R]="digit3";let C=52;e[e.digit4=C]="digit4";let B=53;e[e.digit5=B]="digit5";let L=54;e[e.digit6=L]="digit6";let Z=55;e[e.digit7=Z]="digit7";let X=56;e[e.digit8=X]="digit8";let O=57;e[e.digit9=O]="digit9";let ae=58;e[e.colon=ae]="colon";let W=59;e[e.semicolon=W]="semicolon";let ne=60;e[e.lessThan=ne]="lessThan";let z=61;e[e.equalsTo=z]="equalsTo";let q=62;e[e.greaterThan=q]="greaterThan";let j=63;e[e.questionMark=j]="questionMark";let I=64;e[e.atSign=I]="atSign";let S=65;e[e.uppercaseA=S]="uppercaseA";let A=66;e[e.uppercaseB=A]="uppercaseB";let U=67;e[e.uppercaseC=U]="uppercaseC";let de=68;e[e.uppercaseD=de]="uppercaseD";let te=69;e[e.uppercaseE=te]="uppercaseE";let _e=70;e[e.uppercaseF=_e]="uppercaseF";let Se=71;e[e.uppercaseG=Se]="uppercaseG";let H=72;e[e.uppercaseH=H]="uppercaseH";let le=73;e[e.uppercaseI=le]="uppercaseI";let pe=74;e[e.uppercaseJ=pe]="uppercaseJ";let xe=75;e[e.uppercaseK=xe]="uppercaseK";let ve=76;e[e.uppercaseL=ve]="uppercaseL";let Oe=77;e[e.uppercaseM=Oe]="uppercaseM";let ue=78;e[e.uppercaseN=ue]="uppercaseN";let me=79;e[e.uppercaseO=me]="uppercaseO";let ge=80;e[e.uppercaseP=ge]="uppercaseP";let Re=81;e[e.uppercaseQ=Re]="uppercaseQ";let Le=82;e[e.uppercaseR=Le]="uppercaseR";let Ne=83;e[e.uppercaseS=Ne]="uppercaseS";let We=84;e[e.uppercaseT=We]="uppercaseT";let pt=85;e[e.uppercaseU=pt]="uppercaseU";let Nt=86;e[e.uppercaseV=Nt]="uppercaseV";let yn=87;e[e.uppercaseW=yn]="uppercaseW";let En=88;e[e.uppercaseX=En]="uppercaseX";let Mn=89;e[e.uppercaseY=Mn]="uppercaseY";let hr=90;e[e.uppercaseZ=hr]="uppercaseZ";let In=91;e[e.leftSquareBracket=In]="leftSquareBracket";let Pn=92;e[e.backslash=Pn]="backslash";let wn=93;e[e.rightSquareBracket=wn]="rightSquareBracket";let tr=94;e[e.caret=tr]="caret";let si=95;e[e.underscore=si]="underscore";let ns=96;e[e.graveAccent=ns]="graveAccent";let V=97;e[e.lowercaseA=V]="lowercaseA";let be=98;e[e.lowercaseB=be]="lowercaseB";let we=99;e[e.lowercaseC=we]="lowercaseC";let $e=100;e[e.lowercaseD=$e]="lowercaseD";let De=101;e[e.lowercaseE=De]="lowercaseE";let Pe=102;e[e.lowercaseF=Pe]="lowercaseF";let Xe=103;e[e.lowercaseG=Xe]="lowercaseG";let yt=104;e[e.lowercaseH=yt]="lowercaseH";let Je=105;e[e.lowercaseI=Je]="lowercaseI";let Mt=106;e[e.lowercaseJ=Mt]="lowercaseJ";let jt=107;e[e.lowercaseK=jt]="lowercaseK";let Dt=108;e[e.lowercaseL=Dt]="lowercaseL";let on=109;e[e.lowercaseM=on]="lowercaseM";let cn=110;e[e.lowercaseN=cn]="lowercaseN";let vn=111;e[e.lowercaseO=vn]="lowercaseO";let Tn=112;e[e.lowercaseP=Tn]="lowercaseP";let Fn=113;e[e.lowercaseQ=Fn]="lowercaseQ";let gr=114;e[e.lowercaseR=gr]="lowercaseR";let yo=115;e[e.lowercaseS=yo]="lowercaseS";let un=116;e[e.lowercaseT=un]="lowercaseT";let wo=117;e[e.lowercaseU=wo]="lowercaseU";let rs=118;e[e.lowercaseV=rs]="lowercaseV";let ii=119;e[e.lowercaseW=ii]="lowercaseW";let os=120;e[e.lowercaseX=os]="lowercaseX";let ko=121;e[e.lowercaseY=ko]="lowercaseY";let nr=122;e[e.lowercaseZ=nr]="lowercaseZ";let Ur=123;e[e.leftCurlyBrace=Ur]="leftCurlyBrace";let ss=124;e[e.verticalBar=ss]="verticalBar";let is=125;e[e.rightCurlyBrace=is]="rightCurlyBrace";let as=126;e[e.tilde=as]="tilde";let Yc=160;e[e.nonBreakingSpace=Yc]="nonBreakingSpace";let Zc=5760;e[e.oghamSpaceMark=Zc]="oghamSpaceMark";let eu=8232;e[e.lineSeparator=eu]="lineSeparator";let tu=8233;e[e.paragraphSeparator=tu]="paragraphSeparator"})(Vr||(dl.charCodes=Vr={}));function aC(e){return e>=Vr.digit0&&e<=Vr.digit9||e>=Vr.lowercaseA&&e<=Vr.lowercaseF||e>=Vr.uppercaseA&&e<=Vr.uppercaseF}dl.isDigit=aC});var jn=Ie(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});function lC(e){return e&&e.__esModule?e:{default:e}}var cC=ul(),uC=lC(cC),dC=Nn();Kt.isJSXEnabled;Kt.isTypeScriptEnabled;Kt.isFlowEnabled;Kt.state;Kt.input;Kt.nextContextId;function pC(){return Kt.nextContextId++}Kt.getNextContextId=pC;function mC(e){if("pos"in e){let t=a0(e.pos);e.message+=` (${t.line}:${t.column})`,e.loc=t}return e}Kt.augmentError=mC;var pl=class{constructor(t,n){this.line=t,this.column=n}};Kt.Loc=pl;function a0(e){let t=1,n=1;for(let r=0;r<e;r++)Kt.input.charCodeAt(r)===dC.charCodes.lineFeed?(t++,n=1):n++;return new pl(t,n)}Kt.locationForIndex=a0;function fC(e,t,n,r){Kt.input=e,Kt.state=new uC.default,Kt.nextContextId=1,Kt.isJSXEnabled=t,Kt.isTypeScriptEnabled=n,Kt.isFlowEnabled=r}Kt.initParser=fC});var Xr=Ie(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});var Jr=en(),Fo=et(),ml=Nn(),Dn=jn();function hC(e){return Dn.state.contextualKeyword===e}Bn.isContextual=hC;function gC(e){let t=Jr.lookaheadTypeAndKeyword.call(void 0);return t.type===Fo.TokenType.name&&t.contextualKeyword===e}Bn.isLookaheadContextual=gC;function l0(e){return Dn.state.contextualKeyword===e&&Jr.eat.call(void 0,Fo.TokenType.name)}Bn.eatContextual=l0;function bC(e){l0(e)||fl()}Bn.expectContextual=bC;function c0(){return Jr.match.call(void 0,Fo.TokenType.eof)||Jr.match.call(void 0,Fo.TokenType.braceR)||u0()}Bn.canInsertSemicolon=c0;function u0(){let e=Dn.state.tokens[Dn.state.tokens.length-1],t=e?e.end:0;for(let n=t;n<Dn.state.start;n++){let r=Dn.input.charCodeAt(n);if(r===ml.charCodes.lineFeed||r===ml.charCodes.carriageReturn||r===8232||r===8233)return!0}return!1}Bn.hasPrecedingLineBreak=u0;function yC(){let e=Jr.nextTokenStart.call(void 0);for(let t=Dn.state.end;t<e;t++){let n=Dn.input.charCodeAt(t);if(n===ml.charCodes.lineFeed||n===ml.charCodes.carriageReturn||n===8232||n===8233)return!0}return!1}Bn.hasFollowingLineBreak=yC;function d0(){return Jr.eat.call(void 0,Fo.TokenType.semi)||c0()}Bn.isLineTerminator=d0;function wC(){d0()||fl('Unexpected token, expected ";"')}Bn.semicolon=wC;function kC(e){Jr.eat.call(void 0,e)||fl(`Unexpected token, expected "${Fo.formatTokenType.call(void 0,e)}"`)}Bn.expect=kC;function fl(e="Unexpected token",t=Dn.state.start){if(Dn.state.error)return;let n=new SyntaxError(e);n.pos=t,Dn.state.error=n,Dn.state.pos=Dn.input.length,Jr.finishToken.call(void 0,Fo.TokenType.eof)}Bn.unexpected=fl});var ud=Ie(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});var cd=Nn(),_C=[9,11,12,cd.charCodes.space,cd.charCodes.nonBreakingSpace,cd.charCodes.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];Oo.WHITESPACE_CHARS=_C;var vC=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;Oo.skipWhiteSpace=vC;var TC=new Uint8Array(65536);Oo.IS_WHITESPACE=TC;for(let e of Oo.WHITESPACE_CHARS)Oo.IS_WHITESPACE[e]=1});var xs=Ie(ir=>{"use strict";Object.defineProperty(ir,"__esModule",{value:!0});var p0=Nn(),xC=ud();function SC(e){if(e<48)return e===36;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}var $C=new Uint8Array(65536);ir.IS_IDENTIFIER_CHAR=$C;for(let e=0;e<128;e++)ir.IS_IDENTIFIER_CHAR[e]=SC(e)?1:0;for(let e=128;e<65536;e++)ir.IS_IDENTIFIER_CHAR[e]=1;for(let e of xC.WHITESPACE_CHARS)ir.IS_IDENTIFIER_CHAR[e]=0;ir.IS_IDENTIFIER_CHAR[8232]=0;ir.IS_IDENTIFIER_CHAR[8233]=0;var RC=ir.IS_IDENTIFIER_CHAR.slice();ir.IS_IDENTIFIER_START=RC;for(let e=p0.charCodes.digit0;e<=p0.charCodes.digit9;e++)ir.IS_IDENTIFIER_START[e]=0});var m0=Ie(dd=>{"use strict";Object.defineProperty(dd,"__esModule",{value:!0});var Qe=rn(),nt=et(),CC=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,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1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(nt.TokenType._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);dd.READ_WORD_TREE=CC});var b0=Ie(md=>{"use strict";Object.defineProperty(md,"__esModule",{value:!0});var ar=jn(),Qr=Nn(),f0=xs(),pd=en(),h0=m0(),g0=et();function AC(){let e=0,t=0,n=ar.state.pos;for(;n<ar.input.length&&(t=ar.input.charCodeAt(n),!(t<Qr.charCodes.lowercaseA||t>Qr.charCodes.lowercaseZ));){let o=h0.READ_WORD_TREE[e+(t-Qr.charCodes.lowercaseA)+1];if(o===-1)break;e=o,n++}let r=h0.READ_WORD_TREE[e];if(r>-1&&!f0.IS_IDENTIFIER_CHAR[t]){ar.state.pos=n,r&1?pd.finishToken.call(void 0,r>>>1):pd.finishToken.call(void 0,g0.TokenType.name,r>>>1);return}for(;n<ar.input.length;){let o=ar.input.charCodeAt(n);if(f0.IS_IDENTIFIER_CHAR[o])n++;else if(o===Qr.charCodes.backslash){if(n+=2,ar.input.charCodeAt(n)===Qr.charCodes.leftCurlyBrace){for(;n<ar.input.length&&ar.input.charCodeAt(n)!==Qr.charCodes.rightCurlyBrace;)n++;n++}}else if(o===Qr.charCodes.atSign&&ar.input.charCodeAt(n+1)===Qr.charCodes.atSign)n+=2;else break}ar.state.pos=n,pd.finishToken.call(void 0,g0.TokenType.name)}md.default=AC});var en=Ie(bt=>{"use strict";Object.defineProperty(bt,"__esModule",{value:!0});function EC(e){return e&&e.__esModule?e:{default:e}}var N=jn(),Ss=Xr(),oe=Nn(),w0=xs(),hd=ud(),MC=rn(),IC=b0(),PC=EC(IC),Ae=et(),Ot;(function(e){e[e.Access=0]="Access";let n=1;e[e.ExportAccess=n]="ExportAccess";let r=n+1;e[e.TopLevelDeclaration=r]="TopLevelDeclaration";let o=r+1;e[e.FunctionScopedDeclaration=o]="FunctionScopedDeclaration";let s=o+1;e[e.BlockScopedDeclaration=s]="BlockScopedDeclaration";let i=s+1;e[e.ObjectShorthandTopLevelDeclaration=i]="ObjectShorthandTopLevelDeclaration";let a=i+1;e[e.ObjectShorthandFunctionScopedDeclaration=a]="ObjectShorthandFunctionScopedDeclaration";let l=a+1;e[e.ObjectShorthandBlockScopedDeclaration=l]="ObjectShorthandBlockScopedDeclaration";let c=l+1;e[e.ObjectShorthand=c]="ObjectShorthand";let u=c+1;e[e.ImportDeclaration=u]="ImportDeclaration";let d=u+1;e[e.ObjectKey=d]="ObjectKey";let p=d+1;e[e.ImportAccess=p]="ImportAccess"})(Ot||(bt.IdentifierRole=Ot={}));var y0;(function(e){e[e.NoChildren=0]="NoChildren";let n=1;e[e.OneChild=n]="OneChild";let r=n+1;e[e.StaticChildren=r]="StaticChildren";let o=r+1;e[e.KeyAfterPropSpread=o]="KeyAfterPropSpread"})(y0||(bt.JSXRole=y0={}));function FC(e){let t=e.identifierRole;return t===Ot.TopLevelDeclaration||t===Ot.FunctionScopedDeclaration||t===Ot.BlockScopedDeclaration||t===Ot.ObjectShorthandTopLevelDeclaration||t===Ot.ObjectShorthandFunctionScopedDeclaration||t===Ot.ObjectShorthandBlockScopedDeclaration}bt.isDeclaration=FC;function OC(e){let t=e.identifierRole;return t===Ot.FunctionScopedDeclaration||t===Ot.BlockScopedDeclaration||t===Ot.ObjectShorthandFunctionScopedDeclaration||t===Ot.ObjectShorthandBlockScopedDeclaration}bt.isNonTopLevelDeclaration=OC;function LC(e){let t=e.identifierRole;return t===Ot.TopLevelDeclaration||t===Ot.ObjectShorthandTopLevelDeclaration||t===Ot.ImportDeclaration}bt.isTopLevelDeclaration=LC;function NC(e){let t=e.identifierRole;return t===Ot.TopLevelDeclaration||t===Ot.BlockScopedDeclaration||t===Ot.ObjectShorthandTopLevelDeclaration||t===Ot.ObjectShorthandBlockScopedDeclaration}bt.isBlockScopedDeclaration=NC;function jC(e){let t=e.identifierRole;return t===Ot.FunctionScopedDeclaration||t===Ot.ObjectShorthandFunctionScopedDeclaration}bt.isFunctionScopedDeclaration=jC;function DC(e){return e.identifierRole===Ot.ObjectShorthandTopLevelDeclaration||e.identifierRole===Ot.ObjectShorthandBlockScopedDeclaration||e.identifierRole===Ot.ObjectShorthandFunctionScopedDeclaration}bt.isObjectShorthandDeclaration=DC;var Ai=class{constructor(){this.type=N.state.type,this.contextualKeyword=N.state.contextualKeyword,this.start=N.state.start,this.end=N.state.end,this.scopeDepth=N.state.scopeDepth,this.isType=N.state.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}};bt.Token=Ai;function gl(){N.state.tokens.push(new Ai),T0()}bt.next=gl;function BC(){N.state.tokens.push(new Ai),N.state.start=N.state.pos,cA()}bt.nextTemplateToken=BC;function qC(){N.state.type===Ae.TokenType.assign&&--N.state.pos,iA()}bt.retokenizeSlashAsRegex=qC;function UC(e){for(let n=N.state.tokens.length-e;n<N.state.tokens.length;n++)N.state.tokens[n].isType=!0;let t=N.state.isType;return N.state.isType=!0,t}bt.pushTypeContext=UC;function GC(e){N.state.isType=e}bt.popTypeContext=GC;function k0(e){return gd(e)?(gl(),!0):!1}bt.eat=k0;function HC(e){let t=N.state.isType;N.state.isType=!0,k0(e),N.state.isType=t}bt.eatTypeToken=HC;function gd(e){return N.state.type===e}bt.match=gd;function zC(){let e=N.state.snapshot();gl();let t=N.state.type;return N.state.restoreFromSnapshot(e),t}bt.lookaheadType=zC;var hl=class{constructor(t,n){this.type=t,this.contextualKeyword=n}};bt.TypeAndKeyword=hl;function WC(){let e=N.state.snapshot();gl();let t=N.state.type,n=N.state.contextualKeyword;return N.state.restoreFromSnapshot(e),new hl(t,n)}bt.lookaheadTypeAndKeyword=WC;function _0(){return v0(N.state.pos)}bt.nextTokenStart=_0;function v0(e){hd.skipWhiteSpace.lastIndex=e;let t=hd.skipWhiteSpace.exec(N.input);return e+t[0].length}bt.nextTokenStartSince=v0;function KC(){return N.input.charCodeAt(_0())}bt.lookaheadCharCode=KC;function T0(){if(S0(),N.state.start=N.state.pos,N.state.pos>=N.input.length){let e=N.state.tokens;e.length>=2&&e[e.length-1].start>=N.input.length&&e[e.length-2].start>=N.input.length&&Ss.unexpected.call(void 0,"Unexpectedly reached the end of input."),wt(Ae.TokenType.eof);return}VC(N.input.charCodeAt(N.state.pos))}bt.nextToken=T0;function VC(e){w0.IS_IDENTIFIER_START[e]||e===oe.charCodes.backslash||e===oe.charCodes.atSign&&N.input.charCodeAt(N.state.pos+1)===oe.charCodes.atSign?PC.default.call(void 0):R0(e)}function JC(){for(;N.input.charCodeAt(N.state.pos)!==oe.charCodes.asterisk||N.input.charCodeAt(N.state.pos+1)!==oe.charCodes.slash;)if(N.state.pos++,N.state.pos>N.input.length){Ss.unexpected.call(void 0,"Unterminated comment",N.state.pos-2);return}N.state.pos+=2}function x0(e){let t=N.input.charCodeAt(N.state.pos+=e);if(N.state.pos<N.input.length)for(;t!==oe.charCodes.lineFeed&&t!==oe.charCodes.carriageReturn&&t!==oe.charCodes.lineSeparator&&t!==oe.charCodes.paragraphSeparator&&++N.state.pos<N.input.length;)t=N.input.charCodeAt(N.state.pos)}bt.skipLineComment=x0;function S0(){for(;N.state.pos<N.input.length;){let e=N.input.charCodeAt(N.state.pos);switch(e){case oe.charCodes.carriageReturn:N.input.charCodeAt(N.state.pos+1)===oe.charCodes.lineFeed&&++N.state.pos;case oe.charCodes.lineFeed:case oe.charCodes.lineSeparator:case oe.charCodes.paragraphSeparator:++N.state.pos;break;case oe.charCodes.slash:switch(N.input.charCodeAt(N.state.pos+1)){case oe.charCodes.asterisk:N.state.pos+=2,JC();break;case oe.charCodes.slash:x0(2);break;default:return}break;default:if(hd.IS_WHITESPACE[e])++N.state.pos;else return}}}bt.skipSpace=S0;function wt(e,t=MC.ContextualKeyword.NONE){N.state.end=N.state.pos,N.state.type=e,N.state.contextualKeyword=t}bt.finishToken=wt;function XC(){let e=N.input.charCodeAt(N.state.pos+1);if(e>=oe.charCodes.digit0&&e<=oe.charCodes.digit9){C0(!0);return}e===oe.charCodes.dot&&N.input.charCodeAt(N.state.pos+2)===oe.charCodes.dot?(N.state.pos+=3,wt(Ae.TokenType.ellipsis)):(++N.state.pos,wt(Ae.TokenType.dot))}function QC(){N.input.charCodeAt(N.state.pos+1)===oe.charCodes.equalsTo?gt(Ae.TokenType.assign,2):gt(Ae.TokenType.slash,1)}function YC(e){let t=e===oe.charCodes.asterisk?Ae.TokenType.star:Ae.TokenType.modulo,n=1,r=N.input.charCodeAt(N.state.pos+1);e===oe.charCodes.asterisk&&r===oe.charCodes.asterisk&&(n++,r=N.input.charCodeAt(N.state.pos+2),t=Ae.TokenType.exponent),r===oe.charCodes.equalsTo&&N.input.charCodeAt(N.state.pos+2)!==oe.charCodes.greaterThan&&(n++,t=Ae.TokenType.assign),gt(t,n)}function ZC(e){let t=N.input.charCodeAt(N.state.pos+1);if(t===e){N.input.charCodeAt(N.state.pos+2)===oe.charCodes.equalsTo?gt(Ae.TokenType.assign,3):gt(e===oe.charCodes.verticalBar?Ae.TokenType.logicalOR:Ae.TokenType.logicalAND,2);return}if(e===oe.charCodes.verticalBar){if(t===oe.charCodes.greaterThan){gt(Ae.TokenType.pipeline,2);return}else if(t===oe.charCodes.rightCurlyBrace&&N.isFlowEnabled){gt(Ae.TokenType.braceBarR,2);return}}if(t===oe.charCodes.equalsTo){gt(Ae.TokenType.assign,2);return}gt(e===oe.charCodes.verticalBar?Ae.TokenType.bitwiseOR:Ae.TokenType.bitwiseAND,1)}function eA(){N.input.charCodeAt(N.state.pos+1)===oe.charCodes.equalsTo?gt(Ae.TokenType.assign,2):gt(Ae.TokenType.bitwiseXOR,1)}function tA(e){let t=N.input.charCodeAt(N.state.pos+1);if(t===e){gt(Ae.TokenType.preIncDec,2);return}t===oe.charCodes.equalsTo?gt(Ae.TokenType.assign,2):e===oe.charCodes.plusSign?gt(Ae.TokenType.plus,1):gt(Ae.TokenType.minus,1)}function nA(){let e=N.input.charCodeAt(N.state.pos+1);if(e===oe.charCodes.lessThan){if(N.input.charCodeAt(N.state.pos+2)===oe.charCodes.equalsTo){gt(Ae.TokenType.assign,3);return}N.state.isType?gt(Ae.TokenType.lessThan,1):gt(Ae.TokenType.bitShiftL,2);return}e===oe.charCodes.equalsTo?gt(Ae.TokenType.relationalOrEqual,2):gt(Ae.TokenType.lessThan,1)}function $0(){if(N.state.isType){gt(Ae.TokenType.greaterThan,1);return}let e=N.input.charCodeAt(N.state.pos+1);if(e===oe.charCodes.greaterThan){let t=N.input.charCodeAt(N.state.pos+2)===oe.charCodes.greaterThan?3:2;if(N.input.charCodeAt(N.state.pos+t)===oe.charCodes.equalsTo){gt(Ae.TokenType.assign,t+1);return}gt(Ae.TokenType.bitShiftR,t);return}e===oe.charCodes.equalsTo?gt(Ae.TokenType.relationalOrEqual,2):gt(Ae.TokenType.greaterThan,1)}function rA(){N.state.type===Ae.TokenType.greaterThan&&(N.state.pos-=1,$0())}bt.rescan_gt=rA;function oA(e){let t=N.input.charCodeAt(N.state.pos+1);if(t===oe.charCodes.equalsTo){gt(Ae.TokenType.equality,N.input.charCodeAt(N.state.pos+2)===oe.charCodes.equalsTo?3:2);return}if(e===oe.charCodes.equalsTo&&t===oe.charCodes.greaterThan){N.state.pos+=2,wt(Ae.TokenType.arrow);return}gt(e===oe.charCodes.equalsTo?Ae.TokenType.eq:Ae.TokenType.bang,1)}function sA(){let e=N.input.charCodeAt(N.state.pos+1),t=N.input.charCodeAt(N.state.pos+2);e===oe.charCodes.questionMark&&!(N.isFlowEnabled&&N.state.isType)?t===oe.charCodes.equalsTo?gt(Ae.TokenType.assign,3):gt(Ae.TokenType.nullishCoalescing,2):e===oe.charCodes.dot&&!(t>=oe.charCodes.digit0&&t<=oe.charCodes.digit9)?(N.state.pos+=2,wt(Ae.TokenType.questionDot)):(++N.state.pos,wt(Ae.TokenType.question))}function R0(e){switch(e){case oe.charCodes.numberSign:++N.state.pos,wt(Ae.TokenType.hash);return;case oe.charCodes.dot:XC();return;case oe.charCodes.leftParenthesis:++N.state.pos,wt(Ae.TokenType.parenL);return;case oe.charCodes.rightParenthesis:++N.state.pos,wt(Ae.TokenType.parenR);return;case oe.charCodes.semicolon:++N.state.pos,wt(Ae.TokenType.semi);return;case oe.charCodes.comma:++N.state.pos,wt(Ae.TokenType.comma);return;case oe.charCodes.leftSquareBracket:++N.state.pos,wt(Ae.TokenType.bracketL);return;case oe.charCodes.rightSquareBracket:++N.state.pos,wt(Ae.TokenType.bracketR);return;case oe.charCodes.leftCurlyBrace:N.isFlowEnabled&&N.input.charCodeAt(N.state.pos+1)===oe.charCodes.verticalBar?gt(Ae.TokenType.braceBarL,2):(++N.state.pos,wt(Ae.TokenType.braceL));return;case oe.charCodes.rightCurlyBrace:++N.state.pos,wt(Ae.TokenType.braceR);return;case oe.charCodes.colon:N.input.charCodeAt(N.state.pos+1)===oe.charCodes.colon?gt(Ae.TokenType.doubleColon,2):(++N.state.pos,wt(Ae.TokenType.colon));return;case oe.charCodes.questionMark:sA();return;case oe.charCodes.atSign:++N.state.pos,wt(Ae.TokenType.at);return;case oe.charCodes.graveAccent:++N.state.pos,wt(Ae.TokenType.backQuote);return;case oe.charCodes.digit0:{let t=N.input.charCodeAt(N.state.pos+1);if(t===oe.charCodes.lowercaseX||t===oe.charCodes.uppercaseX||t===oe.charCodes.lowercaseO||t===oe.charCodes.uppercaseO||t===oe.charCodes.lowercaseB||t===oe.charCodes.uppercaseB){aA();return}}case oe.charCodes.digit1:case oe.charCodes.digit2:case oe.charCodes.digit3:case oe.charCodes.digit4:case oe.charCodes.digit5:case oe.charCodes.digit6:case oe.charCodes.digit7:case oe.charCodes.digit8:case oe.charCodes.digit9:C0(!1);return;case oe.charCodes.quotationMark:case oe.charCodes.apostrophe:lA(e);return;case oe.charCodes.slash:QC();return;case oe.charCodes.percentSign:case oe.charCodes.asterisk:YC(e);return;case oe.charCodes.verticalBar:case oe.charCodes.ampersand:ZC(e);return;case oe.charCodes.caret:eA();return;case oe.charCodes.plusSign:case oe.charCodes.dash:tA(e);return;case oe.charCodes.lessThan:nA();return;case oe.charCodes.greaterThan:$0();return;case oe.charCodes.equalsTo:case oe.charCodes.exclamationMark:oA(e);return;case oe.charCodes.tilde:gt(Ae.TokenType.tilde,1);return;default:break}Ss.unexpected.call(void 0,`Unexpected character '${String.fromCharCode(e)}'`,N.state.pos)}bt.getTokenFromCode=R0;function gt(e,t){N.state.pos+=t,wt(e)}function iA(){let e=N.state.pos,t=!1,n=!1;for(;;){if(N.state.pos>=N.input.length){Ss.unexpected.call(void 0,"Unterminated regular expression",e);return}let r=N.input.charCodeAt(N.state.pos);if(t)t=!1;else{if(r===oe.charCodes.leftSquareBracket)n=!0;else if(r===oe.charCodes.rightSquareBracket&&n)n=!1;else if(r===oe.charCodes.slash&&!n)break;t=r===oe.charCodes.backslash}++N.state.pos}++N.state.pos,A0(),wt(Ae.TokenType.regexp)}function fd(){for(;;){let e=N.input.charCodeAt(N.state.pos);if(e>=oe.charCodes.digit0&&e<=oe.charCodes.digit9||e===oe.charCodes.underscore)N.state.pos++;else break}}function aA(){for(N.state.pos+=2;;){let t=N.input.charCodeAt(N.state.pos);if(t>=oe.charCodes.digit0&&t<=oe.charCodes.digit9||t>=oe.charCodes.lowercaseA&&t<=oe.charCodes.lowercaseF||t>=oe.charCodes.uppercaseA&&t<=oe.charCodes.uppercaseF||t===oe.charCodes.underscore)N.state.pos++;else break}N.input.charCodeAt(N.state.pos)===oe.charCodes.lowercaseN?(++N.state.pos,wt(Ae.TokenType.bigint)):wt(Ae.TokenType.num)}function C0(e){let t=!1,n=!1;e||fd();let r=N.input.charCodeAt(N.state.pos);if(r===oe.charCodes.dot&&(++N.state.pos,fd(),r=N.input.charCodeAt(N.state.pos)),(r===oe.charCodes.uppercaseE||r===oe.charCodes.lowercaseE)&&(r=N.input.charCodeAt(++N.state.pos),(r===oe.charCodes.plusSign||r===oe.charCodes.dash)&&++N.state.pos,fd(),r=N.input.charCodeAt(N.state.pos)),r===oe.charCodes.lowercaseN?(++N.state.pos,t=!0):r===oe.charCodes.lowercaseM&&(++N.state.pos,n=!0),t){wt(Ae.TokenType.bigint);return}if(n){wt(Ae.TokenType.decimal);return}wt(Ae.TokenType.num)}function lA(e){for(N.state.pos++;;){if(N.state.pos>=N.input.length){Ss.unexpected.call(void 0,"Unterminated string constant");return}let t=N.input.charCodeAt(N.state.pos);if(t===oe.charCodes.backslash)N.state.pos++;else if(t===e)break;N.state.pos++}N.state.pos++,wt(Ae.TokenType.string)}function cA(){for(;;){if(N.state.pos>=N.input.length){Ss.unexpected.call(void 0,"Unterminated template");return}let e=N.input.charCodeAt(N.state.pos);if(e===oe.charCodes.graveAccent||e===oe.charCodes.dollarSign&&N.input.charCodeAt(N.state.pos+1)===oe.charCodes.leftCurlyBrace){if(N.state.pos===N.state.start&&gd(Ae.TokenType.template))if(e===oe.charCodes.dollarSign){N.state.pos+=2,wt(Ae.TokenType.dollarBraceL);return}else{++N.state.pos,wt(Ae.TokenType.backQuote);return}wt(Ae.TokenType.template);return}e===oe.charCodes.backslash&&N.state.pos++,N.state.pos++}}function A0(){for(;N.state.pos<N.input.length;){let e=N.input.charCodeAt(N.state.pos);if(w0.IS_IDENTIFIER_CHAR[e])N.state.pos++;else if(e===oe.charCodes.backslash){if(N.state.pos+=2,N.input.charCodeAt(N.state.pos)===oe.charCodes.leftCurlyBrace){for(;N.state.pos<N.input.length&&N.input.charCodeAt(N.state.pos)!==oe.charCodes.rightCurlyBrace;)N.state.pos++;N.state.pos++}}else break}}bt.skipWord=A0});var Ei=Ie(bd=>{"use strict";Object.defineProperty(bd,"__esModule",{value:!0});var E0=et();function uA(e,t=e.currentIndex()){let n=t+1;if(bl(e,n)){let r=e.identifierNameAtIndex(t);return{isType:!1,leftName:r,rightName:r,endIndex:n}}if(n++,bl(e,n))return{isType:!0,leftName:null,rightName:null,endIndex:n};if(n++,bl(e,n))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:n};if(n++,bl(e,n))return{isType:!0,leftName:null,rightName:null,endIndex:n};throw new Error(`Unexpected import/export specifier at ${t}`)}bd.default=uA;function bl(e,t){let n=e.tokens[t];return n.type===E0.TokenType.braceR||n.type===E0.TokenType.comma}});var M0=Ie(yd=>{"use strict";Object.defineProperty(yd,"__esModule",{value:!0});yd.default=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp","\xA0"],["iexcl","\xA1"],["cent","\xA2"],["pound","\xA3"],["curren","\xA4"],["yen","\xA5"],["brvbar","\xA6"],["sect","\xA7"],["uml","\xA8"],["copy","\xA9"],["ordf","\xAA"],["laquo","\xAB"],["not","\xAC"],["shy","\xAD"],["reg","\xAE"],["macr","\xAF"],["deg","\xB0"],["plusmn","\xB1"],["sup2","\xB2"],["sup3","\xB3"],["acute","\xB4"],["micro","\xB5"],["para","\xB6"],["middot","\xB7"],["cedil","\xB8"],["sup1","\xB9"],["ordm","\xBA"],["raquo","\xBB"],["frac14","\xBC"],["frac12","\xBD"],["frac34","\xBE"],["iquest","\xBF"],["Agrave","\xC0"],["Aacute","\xC1"],["Acirc","\xC2"],["Atilde","\xC3"],["Auml","\xC4"],["Aring","\xC5"],["AElig","\xC6"],["Ccedil","\xC7"],["Egrave","\xC8"],["Eacute","\xC9"],["Ecirc","\xCA"],["Euml","\xCB"],["Igrave","\xCC"],["Iacute","\xCD"],["Icirc","\xCE"],["Iuml","\xCF"],["ETH","\xD0"],["Ntilde","\xD1"],["Ograve","\xD2"],["Oacute","\xD3"],["Ocirc","\xD4"],["Otilde","\xD5"],["Ouml","\xD6"],["times","\xD7"],["Oslash","\xD8"],["Ugrave","\xD9"],["Uacute","\xDA"],["Ucirc","\xDB"],["Uuml","\xDC"],["Yacute","\xDD"],["THORN","\xDE"],["szlig","\xDF"],["agrave","\xE0"],["aacute","\xE1"],["acirc","\xE2"],["atilde","\xE3"],["auml","\xE4"],["aring","\xE5"],["aelig","\xE6"],["ccedil","\xE7"],["egrave","\xE8"],["eacute","\xE9"],["ecirc","\xEA"],["euml","\xEB"],["igrave","\xEC"],["iacute","\xED"],["icirc","\xEE"],["iuml","\xEF"],["eth","\xF0"],["ntilde","\xF1"],["ograve","\xF2"],["oacute","\xF3"],["ocirc","\xF4"],["otilde","\xF5"],["ouml","\xF6"],["divide","\xF7"],["oslash","\xF8"],["ugrave","\xF9"],["uacute","\xFA"],["ucirc","\xFB"],["uuml","\xFC"],["yacute","\xFD"],["thorn","\xFE"],["yuml","\xFF"],["OElig","\u0152"],["oelig","\u0153"],["Scaron","\u0160"],["scaron","\u0161"],["Yuml","\u0178"],["fnof","\u0192"],["circ","\u02C6"],["tilde","\u02DC"],["Alpha","\u0391"],["Beta","\u0392"],["Gamma","\u0393"],["Delta","\u0394"],["Epsilon","\u0395"],["Zeta","\u0396"],["Eta","\u0397"],["Theta","\u0398"],["Iota","\u0399"],["Kappa","\u039A"],["Lambda","\u039B"],["Mu","\u039C"],["Nu","\u039D"],["Xi","\u039E"],["Omicron","\u039F"],["Pi","\u03A0"],["Rho","\u03A1"],["Sigma","\u03A3"],["Tau","\u03A4"],["Upsilon","\u03A5"],["Phi","\u03A6"],["Chi","\u03A7"],["Psi","\u03A8"],["Omega","\u03A9"],["alpha","\u03B1"],["beta","\u03B2"],["gamma","\u03B3"],["delta","\u03B4"],["epsilon","\u03B5"],["zeta","\u03B6"],["eta","\u03B7"],["theta","\u03B8"],["iota","\u03B9"],["kappa","\u03BA"],["lambda","\u03BB"],["mu","\u03BC"],["nu","\u03BD"],["xi","\u03BE"],["omicron","\u03BF"],["pi","\u03C0"],["rho","\u03C1"],["sigmaf","\u03C2"],["sigma","\u03C3"],["tau","\u03C4"],["upsilon","\u03C5"],["phi","\u03C6"],["chi","\u03C7"],["psi","\u03C8"],["omega","\u03C9"],["thetasym","\u03D1"],["upsih","\u03D2"],["piv","\u03D6"],["ensp","\u2002"],["emsp","\u2003"],["thinsp","\u2009"],["zwnj","\u200C"],["zwj","\u200D"],["lrm","\u200E"],["rlm","\u200F"],["ndash","\u2013"],["mdash","\u2014"],["lsquo","\u2018"],["rsquo","\u2019"],["sbquo","\u201A"],["ldquo","\u201C"],["rdquo","\u201D"],["bdquo","\u201E"],["dagger","\u2020"],["Dagger","\u2021"],["bull","\u2022"],["hellip","\u2026"],["permil","\u2030"],["prime","\u2032"],["Prime","\u2033"],["lsaquo","\u2039"],["rsaquo","\u203A"],["oline","\u203E"],["frasl","\u2044"],["euro","\u20AC"],["image","\u2111"],["weierp","\u2118"],["real","\u211C"],["trade","\u2122"],["alefsym","\u2135"],["larr","\u2190"],["uarr","\u2191"],["rarr","\u2192"],["darr","\u2193"],["harr","\u2194"],["crarr","\u21B5"],["lArr","\u21D0"],["uArr","\u21D1"],["rArr","\u21D2"],["dArr","\u21D3"],["hArr","\u21D4"],["forall","\u2200"],["part","\u2202"],["exist","\u2203"],["empty","\u2205"],["nabla","\u2207"],["isin","\u2208"],["notin","\u2209"],["ni","\u220B"],["prod","\u220F"],["sum","\u2211"],["minus","\u2212"],["lowast","\u2217"],["radic","\u221A"],["prop","\u221D"],["infin","\u221E"],["ang","\u2220"],["and","\u2227"],["or","\u2228"],["cap","\u2229"],["cup","\u222A"],["int","\u222B"],["there4","\u2234"],["sim","\u223C"],["cong","\u2245"],["asymp","\u2248"],["ne","\u2260"],["equiv","\u2261"],["le","\u2264"],["ge","\u2265"],["sub","\u2282"],["sup","\u2283"],["nsub","\u2284"],["sube","\u2286"],["supe","\u2287"],["oplus","\u2295"],["otimes","\u2297"],["perp","\u22A5"],["sdot","\u22C5"],["lceil","\u2308"],["rceil","\u2309"],["lfloor","\u230A"],["rfloor","\u230B"],["lang","\u2329"],["rang","\u232A"],["loz","\u25CA"],["spades","\u2660"],["clubs","\u2663"],["hearts","\u2665"],["diams","\u2666"]])});var kd=Ie(wd=>{"use strict";Object.defineProperty(wd,"__esModule",{value:!0});function dA(e){let[t,n]=I0(e.jsxPragma||"React.createElement"),[r,o]=I0(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:n,fragmentBase:r,fragmentSuffix:o}}wd.default=dA;function I0(e){let t=e.indexOf(".");return t===-1&&(t=e.length),[e.slice(0,t),e.slice(t)]}});var Vn=Ie(vd=>{"use strict";Object.defineProperty(vd,"__esModule",{value:!0});var _d=class{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}};vd.default=_d});var Sd=Ie(wl=>{"use strict";Object.defineProperty(wl,"__esModule",{value:!0});function xd(e){return e&&e.__esModule?e:{default:e}}var pA=M0(),mA=xd(pA),yl=en(),lt=et(),kr=Nn(),fA=kd(),hA=xd(fA),gA=Vn(),bA=xd(gA),Td=class e extends bA.default{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(t,n,r,o,s){super(),this.rootTransformer=t,this.tokens=n,this.importProcessor=r,this.nameManager=o,this.options=s,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),this.jsxPragmaInfo=hA.default.call(void 0,s),this.isAutomaticRuntime=s.jsxRuntime==="automatic",this.jsxImportSource=s.jsxImportSource||"react"}process(){return this.tokens.matches1(lt.TokenType.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let t="";if(this.filenameVarName&&(t+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(let[n,r]of Object.entries(this.cjsAutomaticModuleNameResolutions))t+=`var ${r} = require("${n}");`;else{let{createElement:n,...r}=this.esmAutomaticImportNameResolutions;n&&(t+=`import {createElement as ${n}} from "${this.jsxImportSource}";`);let o=Object.entries(r).map(([s,i])=>`${s} as ${i}`).join(", ");if(o){let s=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");t+=`import {${o}} from "${s}";`}}return t}processJSXTag(){let{jsxRole:t,start:n}=this.tokens.currentToken(),r=this.options.production?null:this.getElementLocationCode(n);this.isAutomaticRuntime&&t!==yl.JSXRole.KeyAfterPropSpread?this.transformTagToJSXFunc(r,t):this.transformTagToCreateElement(r)}getElementLocationCode(t){return`lineNumber: ${this.getLineNumberForIndex(t)}`}getLineNumberForIndex(t){let n=this.tokens.code;for(;this.lastIndex<t&&this.lastIndex<n.length;)n[this.lastIndex]===`
4
4
  `&&this.lastLineNumber++,this.lastIndex++;return this.lastLineNumber}transformTagToJSXFunc(t,n){let r=n===yl.JSXRole.StaticChildren;this.tokens.replaceToken(this.getJSXFuncInvocationCode(r));let o=null;if(this.tokens.matches1(lt.TokenType.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, {`),this.processAutomaticChildrenAndEndProps(n);else{if(this.processTagIntro(),this.tokens.appendCode(", {"),o=this.processProps(!0),this.tokens.matches2(lt.TokenType.slash,lt.TokenType.jsxTagEnd))this.tokens.appendCode("}");else if(this.tokens.matches1(lt.TokenType.jsxTagEnd))this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(n);else throw new Error("Expected either /> or > at the end of the tag.");o&&this.tokens.appendCode(`, ${o}`)}for(this.options.production||(o===null&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${r}, ${this.getDevSource(t)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(lt.TokenType.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(t){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(lt.TokenType.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(t),!this.tokens.matches2(lt.TokenType.slash,lt.TokenType.jsxTagEnd))if(this.tokens.matches1(lt.TokenType.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw new Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(lt.TokenType.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(t){return this.options.production?t?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{let{jsxPragmaInfo:t}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.base)||t.base}${t.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{let{jsxPragmaInfo:t}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.fragmentBase)||t.fragmentBase)+t.fragmentSuffix}}claimAutoImportedFuncInvocation(t,n){let r=this.claimAutoImportedName(t,n);return this.importProcessor?`${r}.call(void 0, `:`${r}(`}claimAutoImportedName(t,n){if(this.importProcessor){let r=this.jsxImportSource+n;return this.cjsAutomaticModuleNameResolutions[r]||(this.cjsAutomaticModuleNameResolutions[r]=this.importProcessor.getFreeIdentifierForPath(r)),`${this.cjsAutomaticModuleNameResolutions[r]}.${t}`}else return this.esmAutomaticImportNameResolutions[t]||(this.esmAutomaticImportNameResolutions[t]=this.nameManager.claimFreeName(`_${t}`)),this.esmAutomaticImportNameResolutions[t]}processTagIntro(){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType||!this.tokens.matches2AtIndex(t-1,lt.TokenType.jsxName,lt.TokenType.jsxName)&&!this.tokens.matches2AtIndex(t-1,lt.TokenType.greaterThan,lt.TokenType.jsxName)&&!this.tokens.matches1AtIndex(t,lt.TokenType.braceL)&&!this.tokens.matches1AtIndex(t,lt.TokenType.jsxTagEnd)&&!this.tokens.matches2AtIndex(t,lt.TokenType.slash,lt.TokenType.jsxTagEnd);)t++;if(t===this.tokens.currentIndex()+1){let n=this.tokens.identifierName();F0(n)&&this.tokens.replaceToken(`'${n}'`)}for(;this.tokens.currentIndex()<t;)this.rootTransformer.processToken()}processPropsObjectWithDevInfo(t){let n=this.options.production?"":`__self: this, __source: ${this.getDevSource(t)}`;if(!this.tokens.matches1(lt.TokenType.jsxName)&&!this.tokens.matches1(lt.TokenType.braceL)){n?this.tokens.appendCode(`, {${n}}`):this.tokens.appendCode(", null");return}this.tokens.appendCode(", {"),this.processProps(!1),n?this.tokens.appendCode(` ${n}}`):this.tokens.appendCode("}")}processProps(t){let n=null;for(;;){if(this.tokens.matches2(lt.TokenType.jsxName,lt.TokenType.eq)){let r=this.tokens.identifierName();if(t&&r==="key"){n!==null&&this.tokens.appendCode(n.replace(/[^\n]/g,"")),this.tokens.removeToken(),this.tokens.removeToken();let o=this.tokens.snapshot();this.processPropValue(),n=this.tokens.dangerouslyGetAndRemoveCodeSinceSnapshot(o);continue}else this.processPropName(r),this.tokens.replaceToken(": "),this.processPropValue()}else if(this.tokens.matches1(lt.TokenType.jsxName)){let r=this.tokens.identifierName();this.processPropName(r),this.tokens.appendCode(": true")}else if(this.tokens.matches1(lt.TokenType.braceL))this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("");else break;this.tokens.appendCode(",")}return n}processPropName(t){t.includes("-")?this.tokens.replaceToken(`'${t}'`):this.tokens.copyToken()}processPropValue(){this.tokens.matches1(lt.TokenType.braceL)?(this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("")):this.tokens.matches1(lt.TokenType.jsxTagStart)?this.processJSXTag():this.processStringPropValue()}processStringPropValue(){let t=this.tokens.currentToken(),n=this.tokens.code.slice(t.start+1,t.end-1),r=P0(n),o=wA(n);this.tokens.replaceToken(o+r)}processAutomaticChildrenAndEndProps(t){t===yl.JSXRole.StaticChildren?(this.tokens.appendCode(" children: ["),this.processChildren(!1),this.tokens.appendCode("]}")):(t===yl.JSXRole.OneChild&&this.tokens.appendCode(" children: "),this.processChildren(!1),this.tokens.appendCode("}"))}processChildren(t){let n=t;for(;;){if(this.tokens.matches2(lt.TokenType.jsxTagStart,lt.TokenType.slash))return;let r=!1;if(this.tokens.matches1(lt.TokenType.braceL))this.tokens.matches2(lt.TokenType.braceL,lt.TokenType.braceR)?(this.tokens.replaceToken(""),this.tokens.replaceToken("")):(this.tokens.replaceToken(n?", ":""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken(""),r=!0);else if(this.tokens.matches1(lt.TokenType.jsxTagStart))this.tokens.appendCode(n?", ":""),this.processJSXTag(),r=!0;else if(this.tokens.matches1(lt.TokenType.jsxText)||this.tokens.matches1(lt.TokenType.jsxEmptyText))r=this.processChildTextElement(n);else throw new Error("Unexpected token when processing JSX children.");r&&(n=!0)}}processChildTextElement(t){let n=this.tokens.currentToken(),r=this.tokens.code.slice(n.start,n.end),o=P0(r),s=yA(r);return s==='""'?(this.tokens.replaceToken(o),!1):(this.tokens.replaceToken(`${t?", ":""}${s}${o}`),!0)}getDevSource(t){return`{fileName: ${this.getFilenameVarName()}, ${t}}`}getFilenameVarName(){return this.filenameVarName||(this.filenameVarName=this.nameManager.claimFreeName("_jsxFileName")),this.filenameVarName}};wl.default=Td;function F0(e){let t=e.charCodeAt(0);return t>=kr.charCodes.lowercaseA&&t<=kr.charCodes.lowercaseZ}wl.startsWithLowerCase=F0;function yA(e){let t="",n="",r=!1,o=!1;for(let s=0;s<e.length;s++){let i=e[s];if(i===" "||i===" "||i==="\r")r||(n+=i);else if(i===`
5
5
  `)n="",r=!0;else{if(o&&r&&(t+=" "),t+=n,n="",i==="&"){let{entity:a,newI:l}=O0(e,s+1);s=l-1,t+=a}else t+=i;o=!0,r=!1}}return r||(t+=n),JSON.stringify(t)}function P0(e){let t=0,n=0;for(let r of e)r===`
6
6
  `?(t++,n=0):r===" "&&n++;return`
@@ -249,7 +249,7 @@ field queries: ${L_}`;let o=e.rows.slice(0,n),s=d=>(d==null?"":String(d)).replac
249
249
  `:"",u=c?`
250
250
  \u2026 ${e.matched-o.length} more not shown (see TRUNCATED above)`:"";return`${c}${r}
251
251
  ${l.join(`
252
- `)}${u}`}var zO=/^0[1-4]_[A-Z_]+\//;function Lm(e,t){let n=Om(e.target_url);if(!n)return"";let r=e.role==="reference"?"03_REFERENCES":"02_MEDIA";if(t&&e.target_url){let o=KO(e.target_url),s=o?o.replace(zO,""):n;return`${r}/${s}`}return`${r}/${n}`}function Nm(e,t,n){return{entries:WO(e,t,n).entries.map(s=>{if(s.inlineBytes)return{path:s.path,bytes:s.inlineBytes};if(s.sourceBasename)return{path:s.path,sourceBasename:s.sourceBasename};throw new Error(`folder-layout entry missing both inlineBytes and sourceBasename: ${s.path}`)})}}function WO(e,t,n){let r=[],o=new Map,s=new Set;for(let l of n.sourceFiles??[]){let c=Gs(`01_PROJECT_FILES/source/${l.name}`,s);r.push({path:c,section:"project-source",inlineBytes:l.data})}let i=new Set,a=(e.media_references??[]).filter(l=>{if(!l.target_url)return!1;let c=Om(l.target_url);if(!(c.length>0&&t.has(c)))return!1;let u=`${c.toLowerCase()}\0${l.role??""}`;return i.has(u)?!1:(i.add(u),!0)});for(let l of a){let c=Om(l.target_url);if(l.bundle&&l.bundle.files.length>0){for(let d of l.bundle.files){if(!t.has(d.basename))continue;let p=Gs(`02_MEDIA/${d.rel_path}`,s);r.push({path:p,section:"media",sourceBasename:d.basename}),o.set(d.basename,p)}continue}let u=Gs(Lm(l,n.preserveStructure===!0),s);r.push({path:u,section:l.role==="reference"?"reference":"media",sourceBasename:c}),l.role!=="reference"&&o.set(c,u)}for(let l of n.exchangeFiles??[]){let c=l.text?ev(l.bytes,o,n.volumeName):l.bytes,u=Gs(`01_PROJECT_FILES/converted/${l.filename}`,s);r.push({path:u,section:"project-converted",inlineBytes:c})}if(n.timelineFile){let l=n.timelineFile,c=ev(l.bytes,o,n.volumeName);if(l.isConversion){let u=Gs(`01_PROJECT_FILES/converted/${l.filename}`,s);r.push({path:u,section:"project-converted",inlineBytes:c})}else{let u=l.filename.includes(".")?l.filename.slice(l.filename.lastIndexOf(".")):"",p=`${l.filename.includes(".")?l.filename.slice(0,l.filename.lastIndexOf(".")):l.filename}_relinked${u}`,f=Gs(`01_PROJECT_FILES/source/${p}`,s);r.push({path:f,section:"project-source",inlineBytes:c})}}return{entries:r,basenameToIsoPath:o}}function ev(e,t,n){let r;try{r=new TextDecoder("utf-8",{fatal:!0}).decode(e)}catch{return e}for(let[o,s]of t){let i=`/Volumes/${n}/${s}`,a=VO(o);r=r.replace(new RegExp(`(<pathurl>)[^<]*${a}(</pathurl>)`,"g"),`$1file://localhost${i}$2`).replace(new RegExp(`("target_url"\\s*:\\s*")[^"]*${a}"`,"g"),`$1${i}"`).replace(new RegExp(`(src="file://)[^"]*${a}"`,"g"),`$1localhost${i}"`)}return new TextEncoder().encode(r)}function Om(e){return e?e.split(/[/\\]/).pop()??"":""}function KO(e){if(e)try{return decodeURIComponent(e.replace(/^file:\/\//,"").replace(/^\//,"").replace(/^Volumes\//,""))||void 0}catch{return}}function Gs(e,t){if(!t.has(e))return t.add(e),e;let n=e.lastIndexOf("."),r=n>0?e.slice(0,n):e,o=n>0?e.slice(n):"",s=2,i=`${r}_${s}${o}`;for(;t.has(i);)s++,i=`${r}_${s}${o}`;return t.add(i),i}function VO(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function tv(e){return O1(e)}function nv(e,t){let n=Math.max(0,Math.floor(e.handles??0)),r=e.frame_in-n,o=e.frame_out+n,s=Math.max(0,r),i=t!==void 0?Math.min(t,o):o;return{frame_in:s,frame_out:i,handles_applied_in:e.frame_in-s,handles_applied_out:i-e.frame_out,handles_requested:n}}function Wo(e,t){if(t.format==="iso")return XO(e,t);if(t.format==="folder")return JO(e,t);throw new Error(`deriveLayout: unsupported format "${t.format}"`)}function JO(e,t){let n=rv(e),r=[],o=new Set,s=new Set,i=0;for(let a of n){let l=jm(a);if(!l)continue;s.add(l);let c=QO(a,l,t);o.add(c);let u=ov(a.id??l,t),d=sv(e,a,u,t.handles??0);r.push({dest_file:c,dest_offset:0,length:d,source:{kind:"file",basename:l,offset:0}}),i+=d}return{regions:r,total_bytes:i,dest_files:Array.from(o),source_basenames:Array.from(s)}}function XO(e,t){if(!t.volume_name)throw new Error("deriveLayout(iso): intent.volume_name is required");let n=rv(e),r=`${t.volume_name}.iso`,o=[],s=new Set,i=0;for(let a of n){let l=jm(a);if(!l)continue;s.add(l);let c=ov(a.id??l,t),u=sv(e,a,c,t.handles??0);o.push({dest_file:r,dest_offset:i,length:u,source:{kind:"file",basename:l,offset:0}}),i+=u}return{regions:o,total_bytes:i,dest_files:[r],source_basenames:Array.from(s)}}function rv(e){let t=e.media_references;return Array.isArray(t)?t.filter(n=>n.carry_whole===!0||!(n.binding_state&&n.binding_state!=="linked")):[]}function jm(e){if(!e.target_url)return null;let t=e.target_url.split(/[\\/]/).pop();return t&&t.length>0?t:null}function QO(e,t,n){let r=n.per_file_overrides?.[e.id]?.rel_path;if(r)return r;switch(n.folder_layout??"flat"){case"flat":return t;case"by-camera":{let o=e.reel_name;return o?`${o}/${t}`:t}case"media-organized":{let o=YO(e);return o?`${o}/${t}`:t}case"canonical-i2o":return Lm(e,!1)}}function YO(e){if(P1(e))return"Stills";switch(e.content_kind){case"still":return"Stills";case"audio":return"Audio";case"video":case"video_audio":return"Footage";case"compound":return"Compounds";default:return null}}function ov(e,t){return t.per_file_overrides?.[e]?.mode??t.per_file_mode}function sv(e,t,n,r){let o=t.size_bytes??0;if(o===0)return 0;let s=jm(t);if(!s||!tv(s)||n.mode==="sparse"&&n.populate.full===!0)return o;let i=t.available_range?.duration?.value??0;if(i<=0)return o;let a=ZO(e,t.id);if(a.length===0)return o;let l=a.map(p=>{let f=nv({frame_in:p.start,frame_out:p.end,handles:r},i);return{start:f.frame_in,end:f.frame_out}});l.sort((p,f)=>p.start-f.start);let c=[{...l[0]}];for(let p=1;p<l.length;p++){let f=l[p],h=c[c.length-1];f.start<=h.end?h.end=Math.max(h.end,f.end):c.push({...f})}let u=0;for(let p of c){let f=Math.max(0,p.start),h=Math.min(i,p.end);h>f&&(u+=h-f)}let d=Math.min(1,u/i);return Math.round(d*o)}function ZO(e,t){let n=[],r=e?.timelines??[];for(let o of r)for(let s of o.tracks??[])for(let i of s.items??[]){if(i.media_reference_id!==t||!i.source_range)continue;let a=i.source_range.start.value,l=i.source_range.duration.value;l>0&&n.push({start:a,end:a+l})}return n}function iv(e,t){let n=e3(e),r=n>=0?e.slice(0,n+1):"",o=n>=0?e.slice(n+1):e,s=o.lastIndexOf(".");return s<=0?r+o+t:r+o.slice(0,s)+t+o.slice(s)}function e3(e){let t=e.lastIndexOf("/"),n=e.lastIndexOf("\\");return t>n?t:n}async function av(e){try{return await e()}catch(t){let n=j1(t);throw n?new D1(n):t}}async function ic(e){let t=F1(e);if(!t||!t.trimSupported)return null;let n=t.flavor,r=o=>Ca(n,[L1(e,o)]);return{byteSourceFromFile:t3,async prepareWrite(o,s,i){let l=(await av(()=>$o(r(o),{verb:"sparsify",selection:{items:s,handles:i}})))[0];return{fileSize:l.fileSize,structuralRanges:l.structuralRanges,essenceRanges:l.essenceRanges,trimInputs:l.trimInputs??[],wholeFileFallback:l.wholeFileFallback}},async planTrim(o,s,i){let a=await av(()=>$o(r(o),{verb:"trim",selection:{items:s,handles:i}}));if(n==="r3d")throw new Error(`planTrim(${e}): R3D must route through the R3D compact pass (r3d-trim-pass.ts), not the per-file path`);return a}}}async function t3(e){return{fileSize:e.size,async read(t,n){let r=Math.min(t+n,e.size),o=e.slice(t,r);return new Uint8Array(await o.arrayBuffer())}}}function n3(e){let t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}async function sa(e,t="i2o",n,r,o=ci){await lu();let s;try{s=Bh(JSON.stringify(e),t,r?JSON.stringify(r):"",o)}catch(a){let l="";try{l=qh()}catch{}throw l?new Error(`udf_build_layout failed: ${l} (raw: ${a instanceof Error?a.message:String(a)})`):a instanceof Error?a:new Error(`udf_build_layout failed: ${String(a)}`)}let i=JSON.parse(s);return{totalBytes:i.totalBytes,totalSectors:i.totalSectors,structuralRegions:i.structuralRegions.map(a=>({sectorStart:a.sectorStart,sectorCount:a.sectorCount,data:n3(a.dataB64)})),fileDataRegions:i.fileDataRegions}}async function cv(e){await lu();let t=32*2048,n=16*2048,r;if(e instanceof Uint8Array){if(e.length<t+n)return null;r=e.subarray(t,t+n)}else{if(e.size<t+n)return null;r=new Uint8Array(await e.slice(t,t+n).arrayBuffer())}let o=Uh(r);if(!o)return null;try{return JSON.parse(o)}catch{return null}}function r3(e){return e.speed!=null&&e.speed!==100||e.speed_reverse||e.speed_ramped?!0:(e.keyframes??[]).some(t=>t.parameter_path==="speed")}function o3(e,t){let n=e.timelines??[];if(t)return n.filter(s=>s.name===t);let r=new Set;for(let s of n)for(let i of s.tracks??[])for(let a of i.items??[])a.nested_timeline_id&&r.add(a.nested_timeline_id);let o=n.filter(s=>!r.has(s.id));return o.length?o:n}function s3(e,t,n){let r=new Map((e.timelines??[]).map(s=>[s.id,s])),o=(s,i,a,l)=>{if(!(!s||a>8))for(let c of s.tracks??[])for(let u of c.items??[]){let d=a===0?u:l??u,p=Math.round(u.timeline_range?.start?.value??0),f=p+Math.round(u.timeline_range?.duration?.value??0),h=i?i.map(([b,k])=>[Math.max(p,b),Math.min(f,k)]).filter(([b,k])=>k>b):[[p,f]];if(h.length===0)continue;let g=r3(u);if(u.nested_timeline_id){let b=r.get(u.nested_timeline_id),k=Math.round(u.source_range?.start?.value??0),w=(s.fps_num??0)/Math.max(s.fps_den??1,1),y=b?(b.fps_num??0)/Math.max(b.fps_den??1,1):w,_=w>0&&y>0?y/w:1,v=h.map(([T,$])=>[Math.floor((k+(T-p))*_),Math.floor((k+($-p))*_)]);o(b,v,a+1,d)}else if(u.media_reference_id){let b=Math.round(u.source_range?.start?.value??0),k=Math.round(u.source_range?.duration?.value??0);if(g){n({item:u,root:d,tl_id:s.id,depth:a,has_speed:!0,tl_in:p,src_in:b,a:p,b:p+k,reached_in:b,reached_out:b+k});continue}for(let[w,y]of h)n({item:u,root:d,tl_id:s.id,depth:a,has_speed:!1,tl_in:p,src_in:b,a:w,b:y,reached_in:b+(w-p),reached_out:b+(y-p)})}}};for(let s of o3(e,t.rootTimelineName))o(s,null,0,null)}function uv(e,t={}){let n=new Map;return s3(e,t,r=>{let o=r.item.media_reference_id,s={clip_src_in:r.src_in,reached_in:r.reached_in,reached_out:r.reached_out,has_speed:r.has_speed},i=n.get(o);i?i.push(s):n.set(o,[s])}),n}var er=2048;function ac(e,t,n){console.error(`[planIsoRegions] DROPPING "${t}" \u2014 ${n}. NOT shipping it whole: that would deliver the entire file to carry a few seconds of it.`),e.push({basename:t,reason:n})}async function lc(e){if(e.perFile.mode==="trim")throw new Error("planIsoRegions: ISO + trim is not supported. Use folder collection for compact trim output, or ISO sparse-segments for the canonical cloud / P2P shape (recipient can derive folder-of-trims at download time per project_upload_once_choose_at_download).");let t=e.perFile.populate,n=new Set;for(let T of e.session.media_references??[])(T.role==="reference"||T.carry_whole===!0)&&n.add((T.target_url??"").split(/[\\/]/).pop()??"");let{ranges:r,dropped:o}=await i3(e),s=[],i=[];for(let T of e.entries){if("bytes"in T){s.push({path:T.path,totalSize:T.bytes.length,keptRanges:[{offset:0,length:T.bytes.length}],inlineBytes:T.bytes});continue}let $=e.files.get(T.sourceBasename);if(!$)continue;if(T.keptRanges){s.push({path:T.path,sourceBasename:T.sourceBasename,totalSize:$.size,keptRanges:T.keptRanges,prep:{fileSize:$.size,structuralRanges:T.keptRanges,essenceRanges:[],trimInputs:[]},file:$,given:!0});continue}let x=()=>({path:T.path,sourceBasename:T.sourceBasename,totalSize:$.size,keptRanges:[{offset:0,length:$.size}],file:$}),R=await ic(T.sourceBasename);if(!R||t.full||T.section==="reference"||n.has(T.sourceBasename)){s.push(x());continue}if(rr(T.sourceBasename)){if(o.has(T.sourceBasename)){ac(i,T.sourceBasename,"delivery coverage miss (cut outside the clip's real frames)");continue}let X=r.get(T.sourceBasename);if(X&&(X.structuralRanges.length>0||X.essenceRanges.length>0)){let O=[...X.structuralRanges];t.segments&&O.push(...X.essenceRanges),s.push({path:T.path,sourceBasename:T.sourceBasename,totalSize:$.size,keptRanges:O,prep:{fileSize:$.size,structuralRanges:X.structuralRanges,essenceRanges:X.essenceRanges,trimInputs:[]},file:$})}else ac(i,T.sourceBasename,"R3D part has no planned sparse ranges");continue}let C=dv(e.session,T.sourceBasename),B=await R.byteSourceFromFile($),L;try{L=await R.prepareWrite(B,C,e.handles)}catch(X){let O=So(X);if(O){console.warn(`[planIsoRegions] coverage miss detail for "${T.sourceBasename}":`,O),ac(i,T.sourceBasename,"delivery coverage miss (cut outside the clip's real frames)");continue}ac(i,T.sourceBasename,X instanceof Error?X.message:String(X));continue}let Z=[...L.structuralRanges];t.segments&&Z.push(...L.essenceRanges),s.push({path:T.path,sourceBasename:T.sourceBasename,totalSize:$.size,keptRanges:Z,prep:L,source:B,file:$})}let a=s.map(T=>{let $=T.prep?a3(T.keptRanges,T.totalSize):void 0;T.given&&$&&!$.length&&T.totalSize>0&&($=[{offset:0,length:0}]);let x=e.pinSectorByPath?.get(T.path);return{name:T.path,totalSize:T.totalSize,...$?{dataExtents:$}:{},...x!==void 0?{fixedPartSector:x}:{}}}),l=await sa(a,e.volumeName,{},e.iuvd,e.buildTimestamp),c=new Map;for(let T of l.fileDataRegions)c.has(T.name)||c.set(T.name,{byteOffset:T.sectorStart*er,partSector:T.sectorStart-257});let u=`${e.volumeName}.iso`,d=[],p=new Set;for(let T of l.structuralRegions)T.data.length!==0&&d.push({dest_file:u,dest_offset:T.sectorStart*er,length:T.data.length,source:{kind:"inline",bytes:T.data}});let f=new Map;for(let T of s)f.set(T.path,T);let h=new Map,g=new Map,b=new Map,k=(T,$,x)=>{let R=b.get(T);R?R.push({at:$,len:x}):b.set(T,[{at:$,len:x}])},w=new Map;for(let T of l.fileDataRegions){let $=f.get(T.name);if(!$)continue;let x=!!$.file&&!$.inlineBytes&&(!$.prep||$.prep.wholeFileFallback===!0);if(g.has($.path)||g.set($.path,x),$.inlineBytes){let O=$.inlineBytes.subarray(T.sourceOffset,T.sourceOffset+T.sourceLength);d.push({dest_file:u,dest_offset:T.sectorStart*er,length:O.length,source:{kind:"inline",bytes:O}}),k($.path,T.sectorStart*er,O.length),h.set($.path,(h.get($.path)??0)+O.length);continue}if(!$.file){g.set($.path,!0);continue}if(!$.prep){p.add($.sourceBasename??$.file.name),d.push({dest_file:u,dest_offset:T.sectorStart*er,length:T.sourceLength,source:{kind:"file",basename:$.sourceBasename??$.file.name,offset:T.sourceOffset}}),k($.path,T.sectorStart*er,T.sourceLength),h.set($.path,(h.get($.path)??0)+T.sourceLength);continue}let R=$.sourceBasename??$.file.name;p.add(R);let C=T.sourceOffset,B=T.sourceOffset+T.sourceLength,L=w.get($.path);if(!L){let O=[...$.keptRanges].sort((ne,z)=>ne.offset-z.offset),ae=[],W=-1/0;for(let ne of O)W=Math.max(W,ne.offset+ne.length),ae.push(W);L={ranges:O,maxEnd:ae},w.set($.path,L)}let Z=0,X=L.ranges.length;for(;Z<X;){let O=Z+X>>1;L.maxEnd[O]>C?X=O:Z=O+1}for(let O=Z;O<L.ranges.length&&L.ranges[O].offset<B;O++){let ae=L.ranges[O],W=Math.max(ae.offset,C),ne=Math.min(ae.offset+ae.length,B);if(ne<=W)continue;let z=ne-W,q=T.sectorStart*er+(W-C);d.push({dest_file:u,dest_offset:q,length:z,source:{kind:"file",basename:R,offset:W}}),k($.path,q,z),h.set($.path,(h.get($.path)??0)+z)}}d.sort((T,$)=>T.dest_offset-$.dest_offset);let y=new Map;for(let T of l.fileDataRegions){let $=y.get(T.name);$?$.push(T):y.set(T.name,[T])}let _=s.map(T=>({path:T.path,bytesWritten:h.get(T.path)??0,fellBack:g.get(T.path)??!1})),v=0;for(let T of d)v+=T.length;return{layout:{regions:d,total_bytes:v,dest_files:[u],source_basenames:Array.from(p),image_total_bytes:l.totalBytes,file_extents:s.map(T=>{let $=(y.get(T.path)??[]).map(R=>({at:R.sectorStart*er,from:R.sourceOffset,len:R.sourceLength})),x=(b.get(T.path)??[]).sort((R,C)=>R.at-C.at);return{path:T.path,size:T.totalSize,extents:$,data:x}})},isoPositions:c,totalBytes:l.totalBytes,perFileSummary:_,untrimmable:i}}async function cc(e,t,n,r={}){let{layout:o,totalBytes:s}=e;if(o.dest_files.length!==1)throw new Error(`executeIsoPlan: expected single dest_file, got ${o.dest_files.length}`);let i=0;for(let l of o.regions)l.source.kind!=="zero"&&(i+=l.length);await n.reserveSize(s);let a=0;try{for(let l of o.regions){if(r.signal?.aborted)throw new DOMException("Aborted","AbortError");if(l.length!==0){switch(l.source.kind){case"inline":{await n.writeAt(l.dest_offset,l.source.bytes),a+=l.source.bytes.length;break}case"file":{let c=t.get(l.source.basename);if(!c)throw new Error(`executeIsoPlan: file not in files map: "${l.source.basename}"`);let u=16*1024*1024,d=0;for(;d<l.length;){let p=Math.min(u,l.length-d),f=c.slice(l.source.offset+d,l.source.offset+d+p),h=new Uint8Array(await f.arrayBuffer());await n.writeAt(l.dest_offset+d,h),d+=p,a+=p,r.onProgress?.({bytesWritten:a,totalBytes:i,currentFile:l.source.basename})}continue}case"zero":break;case"pack":throw new Error("executeIsoPlan: `pack` regions require the CAS executor, not a local-file build")}r.onProgress?.({bytesWritten:a,totalBytes:i})}}await n.close()}catch(l){throw await n.abort?.(l),l}return{bytesWritten:a}}async function i3(e){let t=new Map,n=new Set,r=e.session.media_references??[],o=[],s=new Set;for(let l of r){if(l.bundle?.kind!=="rdc")continue;let c=l.bundle,u=c.files.filter(p=>p.role==="anchor"||p.role==="part").slice().sort((p,f)=>(p.part_number??0)-(f.part_number??0)).map(p=>({filename:p.basename,file:e.files.get(p.basename)})).filter(p=>!!p.file);if(u.length===0)continue;let d=(l.target_url??"").split(/[/\\]/).pop()||u[0].filename;o.push({label:c.folder,anchorBasename:d,parts:u});for(let p of u)s.add(p.filename)}for(let l of r){if(l.bundle?.kind==="rdc")continue;let c=(l.target_url??"").split(/[/\\]/).pop()??"";if(!rr(c)||s.has(c))continue;let u=B1(c,e.files.keys()).map(d=>({filename:d,file:e.files.get(d)})).filter(d=>!!d.file);if(u.length!==0){o.push({label:c,anchorBasename:c,parts:u});for(let d of u)s.add(d.filename)}}if(o.length===0)return{ranges:t,dropped:n};let{mediaOp:i}=await import("./ops-UGZODMYE.js"),{sourceFromFiles:a}=await import("./source-L2JNTYS6.js");for(let l of o){let{label:c,anchorBasename:u,parts:d}=l,p=dv(e.session,u);try{let f=a(d.map(g=>g.file)),h=await i(f,{verb:"sparsify",selection:{items:p,handles:e.handles}});for(let g of h)t.set(g.filename,{structuralRanges:g.structuralRanges,essenceRanges:g.essenceRanges})}catch(f){let h=So(f);if(h){for(let g of d)n.add(g.filename);console.warn(`[planIsoRegions] DROPPING R3D clip "${c}" fail-closed \u2014 delivery coverage miss; NOT whole-filing:`,h);continue}console.warn(`[planIsoRegions] R3D spanned prep failed for "${c}":`,f)}}return{ranges:t,dropped:n}}function dv(e,t){let n=new Set,r=t.toLowerCase();for(let u of e.media_references??[]){if(!u.target_url)continue;(u.target_url.split(/[/\\]/).pop()??"").toLowerCase()===r&&n.add(u.id)}let o=[],s=!1;for(let u of e.timelines??[])for(let d of u.tracks??[])for(let p of d.items??[])p.media_reference_id&&n.has(p.media_reference_id)&&o.push(p),p.nested_timeline_id&&(s=!0);if(!s||o.length===0)return o;let i=uv(e),a=[...n].flatMap(u=>i.get(u)??[]);if(a.length===0)return o;let l=o[0],c=l.source_range?.start?.rate??l.source_range?.duration?.rate??1;return a.map(u=>({...l,kind:"clip",source_range:{start:{value:u.reached_in,rate:c},duration:{value:u.reached_out-u.reached_in,rate:c}}}))}function a3(e,t){if(e.length===0)return e;let n=e.map(o=>{let s=Math.floor(o.offset/er)*er,i=Math.min(Math.ceil((o.offset+o.length)/er)*er,t);return{offset:s,length:Math.max(0,i-s)}}).filter(o=>o.length>0);n.sort((o,s)=>o.offset-s.offset);let r=[];for(let o of n){let s=r[r.length-1];s&&o.offset<=s.offset+s.length?s.length=Math.max(s.length,o.offset+o.length-s.offset):r.push({...o})}return r}async function Hs(e,t,n,r,o){if(r.format==="iso"){if(!o)throw new Error("refineLayoutForTrim(iso): isoOptions is required (entries, pinSectorByPath, iuvd come from buildI2oFolderLayout in the wizard).");if(!r.volume_name)throw new Error("refineLayoutForTrim(iso): intent.volume_name is required");let c=u3(r,n),u=await lc({session:n,files:t,handles:r.handles??0,perFile:c,volumeName:r.volume_name,entries:o.entries,pinSectorByPath:o.pinSectorByPath,iuvd:o.iuvd,buildTimestamp:o.buildTimestamp});return u.untrimmable.length>0?{...u.layout,untrimmable:u.untrimmable}:u.layout}if(r.per_file_mode.mode!=="trim")return e;let s=Bm(n),i=qm(n),a=new Map;for(let c of e.regions){let u=a.get(c.dest_file);u?u.push(c):a.set(c.dest_file,[c])}let l=[];for(let[c,u]of a){let d=u.length===1?u[0]:null;if(!d||d.source.kind!=="file"){l.push(...u);continue}let p=d.source.basename,f=t.get(p);if(!f){l.push(d);continue}let h=i.get(p),g=h?s.get(h.id)??[]:[],b=await l3({destFile:c,basename:p,file:f,ref:h,items:g,handles:r.handles??0});b!=="coverage-miss"&&(b?l.push(...b):l.push({dest_file:c,dest_offset:0,length:f.size,source:{kind:"file",basename:p,offset:0}}))}return c3(l)}async function l3(e){if(e.items.length===0)return null;let t=await ic(e.basename);if(!t||!t.planTrim)return null;let n;try{let o=await t.byteSourceFromFile(e.file);n=await t.planTrim(o,e.items,e.handles)}catch(o){let s=So(o);return s?(console.warn(`[refineLayoutForTrim] DROPPING "${e.basename}" fail-closed \u2014 delivery coverage miss; NOT whole-filing:`,s),"coverage-miss"):null}if(n.length===0)return null;if(n.length===1)return ia(n[0],e.destFile,e.basename);let r=Math.max(3,String(n.length).length);return n.flatMap((o,s)=>ia(o,iv(e.destFile,`_S${String(s+1).padStart(r,"0")}`),e.basename))}function ia(e,t,n){let r=[],o=e.dest_header_bytes_base64?Dm(e.dest_header_bytes_base64):null;o&&o.length>0&&r.push({dest_file:t,dest_offset:0,length:o.length,source:{kind:"inline",bytes:o}});for(let s of e.src_byte_ranges)s.length<=0||r.push({dest_file:t,dest_offset:s.write_to_dest_offset,length:s.length,source:{kind:"file",basename:s.src_file_name??n,offset:s.offset}});if(e.dest_footer_bytes_base64&&e.dest_footer_offset!=null){let s=Dm(e.dest_footer_bytes_base64);s.length>0&&r.push({dest_file:t,dest_offset:e.dest_footer_offset,length:s.length,source:{kind:"inline",bytes:s}})}if(e.dest_patches)for(let s of e.dest_patches){let i=Dm(s.bytes_base64);i.length!==0&&r.push({dest_file:t,dest_offset:s.offset,length:i.length,source:{kind:"inline",bytes:i}})}return r.sort((s,i)=>s.dest_offset-i.dest_offset),r}function Bm(e){let t=new Map,n=e?.timelines??[];for(let r of n)for(let o of r.tracks??[])for(let s of o.items??[]){if(!s?.media_reference_id)continue;let i=t.get(s.media_reference_id);i?i.push(s):t.set(s.media_reference_id,[s])}return t}function pv(e,t,n){let r=t?.source_timecode?At(t.source_timecode,n):null;return r==null?e:e.map(o=>{let s=o?.raw_extraction;if(s?.sourceConformedToMedia)return o;let i=s?.alternateFrame;if(i==null||!o.source_range)return o;let a=i-r;return a===0?o:{...o,source_range:{...o.source_range,start:{...o.source_range.start,value:o.source_range.start.value+a}}}})}function qm(e){let t=new Map,n=e?.media_references??[];for(let r of n){if(!r.target_url)continue;let o=r.target_url.split(/[\\/]/).pop();o&&o.length>0&&t.set(o,r)}return t}function c3(e){let t=new Set,n=new Set,r=0;for(let o of e)t.add(o.dest_file),o.source.kind==="file"&&n.add(o.source.basename),r+=o.length;return{regions:e,total_bytes:r,dest_files:Array.from(t),source_basenames:Array.from(n)}}function Dm(e){let t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}function u3(e,t){return e.per_file_mode.mode==="trim"?{mode:"trim"}:{mode:"sparse",populate:{structural:!0,segments:e.per_file_mode.populate.segments,full:e.per_file_mode.populate.full}}}var zs=class{constructor(t){this.opts=t}async execute(){let{layout:t,sink:n}=this.opts,r=t.total_bytes,o=d3(t.regions),s=Math.max(1,this.opts.concurrency??1),i=0,a=0,l=[],c,u=async(d,p)=>{this.opts.signal?.throwIfAborted(),p.sort((b,k)=>b.dest_offset-k.dest_offset);let f=p3(p),h=await n.openFile(d,f),g=0;try{for(let b of p){this.opts.signal?.throwIfAborted(),c=d,this.opts.onProgress?.({bytesWritten:i,totalBytes:r,currentFile:c});let k=0,w=await this.writeRegion(b,h,y=>{a+=y-k,k=y,this.opts.onProgress?.({bytesWritten:a,totalBytes:r,currentFile:c})});g+=w,i+=w}await h.close()}catch(b){throw await h.abort?.(b),b}return{path:d,bytesWritten:g}};if(s===1)for(let[d,p]of o)l.push(await u(d,p));else{let d=Array.from(o.entries()),p=0,f=[];for(let h=0;h<Math.min(s,d.length);h++)f.push((async()=>{for(;p<d.length;){let g=p++;if(g>=d.length)break;let[b,k]=d[g],w=await u(b,k);l.push(w)}})());await Promise.all(f)}return await n.closeCollection(),this.opts.onProgress?.({bytesWritten:i,totalBytes:r}),{bytesWritten:i,perFile:l}}async writeRegion(t,n,r){if(t.length===0)return 0;switch(t.source.kind){case"inline":return await n.writeAt(t.dest_offset,t.source.bytes),r?.(t.source.bytes.length),t.source.bytes.length;case"file":{let o=this.opts.files.get(t.source.basename);if(!o)throw new Error(`LocalDirectoryExecutor: file not found in files map: "${t.source.basename}"`);let s=16*1024*1024,i=t.source.offset,a=0;for(;a<t.length;){let l=Math.min(s,t.length-a),c=o.slice(i+a,i+a+l),u=new Uint8Array(await c.arrayBuffer());await n.writeAt(t.dest_offset+a,u),a+=l,r?.(a)}return t.length}case"zero":return 0;case"pack":throw new Error("LocalDirectoryExecutor: `pack` regions require the CAS executor, not a local-file executor")}}};function d3(e){let t=new Map;for(let n of e){let r=t.get(n.dest_file);r?r.push(n):t.set(n.dest_file,[n])}return t}function p3(e){let t=0;for(let n of e){let r=n.dest_offset+n.length;r>t&&(t=r)}return t}var uc=class{constructor(t){this.opts=t}async execute(){return cc({layout:this.opts.layout,totalBytes:this.opts.totalBytes},this.opts.files,this.opts.sink,{onProgress:this.opts.onProgress,signal:this.opts.signal})}};import{mkdir as m3,open as mv}from"node:fs/promises";import{dirname as f3,join as h3}from"node:path";function fv(e){let t=!1;return{async reserveSize(n){await e.truncate(n)},async writeAt(n,r){if(t)throw new Error("nodeFileStream: closed");let o=Buffer.from(r.buffer,r.byteOffset,r.byteLength);await e.write(o,0,r.byteLength,n)},async close(){t||(t=!0,await e.close())},async abort(n){if(!t){t=!0;try{await e.close()}catch{}}}}}async function dc(e){let t=await mv(e,"w");return fv(t)}function pc(e){return{async openFile(t,n){let r=h3(e,t);await m3(f3(r),{recursive:!0});let o=await mv(r,"w"),s=fv(o);return await s.reserveSize(n),s},async closeCollection(){}}}async function Gm(e){let t=Um(e),n=new TextEncoder().encode(t),r=await crypto.subtle.digest("SHA-256",n);return Array.from(new Uint8Array(r)).map(o=>o.toString(16).padStart(2,"0")).join("")}function Um(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(Um).join(",")}]`;let t=e;return`{${Object.keys(t).sort().map(o=>`${JSON.stringify(o)}:${Um(t[o])}`).join(",")}}`}var b3="i2o-2026-05-08",y3=1;function hv(e){let t=e?.created_at?Date.parse(e.created_at):NaN;return Number.isFinite(t)?t:ci}async function gv(e){let[t,n]=await Promise.all([Gm(e.session),Gm(e.layoutIntent)]);return{payload:{v:1,conform_tools_version:b3,session_sha256:t,delivery_intent_sha256:n,layout_fn_version:y3,written_at:e.writtenAt??new Date(ci).toISOString(),...e.sessionIdHint?{session_id_hint:e.sessionIdHint}:{}},session_sha256:t,delivery_intent_sha256:n}}function mc(e){return e.map((t,n)=>({partNumber:t.output_part_number??n+1,clipNumber:t.output_clip_number,clipCount:t.output_clip_count,plan:t}))}function w3(e,t,n,r=""){let o=Hr(t),s=o?o.clipBase:t.replace(/\.R3D$/i,""),i=`${s}_${String(n).padStart(3,"0")}.R3D`,a=e.split("/");return a.pop(),a.length&&/\.rdc$/i.test(a[a.length-1])&&a.pop(),[...a,`${s}${r}.RDC`,i].join("/")}function k3(e){let t=e.clipCount??1;if(t<=1)return"";let n=Math.max(3,String(t).length);return`_S${String(e.clipNumber??1).padStart(n,"0")}`}function _3(e){let t=new Map;for(let n of e){let r=Hr(n.basename),o=r?r.clipBase:n.basename,s=t.get(o);s?s.push(n):t.set(o,[n])}for(let n of t.values())n.sort((r,o)=>(Hr(r.basename)?.partNumber??0)-(Hr(o.basename)?.partNumber??0));return[...t.values()]}async function fc(e){let t=[],n=new Map,r=[],o=0;for(let s of _3(e.parts)){let i=s[0];if(new Set(s.map(l=>l.basename)).size!==s.length){let l=Hr(i.basename),c=l?l.clipBase:i.basename.replace(/\.R3D$/i,""),u={reason:"duplicate .R3D part filenames in one send (same clip name in two .RDC folders \u2014 e.g. re-sending two _S### islands of one source); byte-identical routing would be ambiguous"};console.warn(`[r3d-trim-pass] DROPPING R3D clip "${c}" fail-closed:`,u.reason),r.push({clipBase:c,parts:s.map(d=>d.basename),reason:u});continue}let a;try{a=await e.planClip(s)}catch(l){let c=So(l);if(!c)throw l;let u=Hr(i.basename),d=u?u.clipBase:i.basename.replace(/\.R3D$/i,"");console.warn(`[r3d-trim-pass] DROPPING R3D clip "${d}" fail-closed \u2014 delivery coverage miss (cut not within the file's real frames); NOT whole-filing:`,c),r.push({clipBase:d,parts:s.map(p=>p.basename),reason:c});continue}for(let l of s)n.set(l.basename,l.file);for(let l of a){let c=w3(i.destPathHint,i.basename,l.partNumber,k3(l));t.push(...ia(l.plan,c,i.basename)),o+=l.plan.src_byte_ranges.reduce((u,d)=>u+d.length,0)}}return{regions:t,filesByBasename:n,bytes:o,dropped:r}}function bv(e){switch(e){case"trim":return{mode:"trim"};case"skeleton":return{mode:"sparse",populate:{structural:!0}};case"sparse":return{mode:"sparse",populate:{structural:!0,segments:!0}};case"full":return{mode:"sparse",populate:{structural:!0,full:!0}}}}var v3=2048,ao=".conform",yv=`${ao}/delivery.json`;function wv(e,t){let n=new Set;for(let s of e.timelines)for(let i of s.tracks)for(let a of i.items)a.media_reference_id&&n.add(a.media_reference_id);let r=(e.media_references??[]).filter(s=>n.has(s.id)).map(s=>{let{local_path:i,target_url:a,...l}=s;return{...l,target_url:a&&a.split(/[\\/]/).pop()}}),o={v:1,timelines:e.timelines,media_references:r,handles:t};return new TextEncoder().encode(JSON.stringify(o))}var hc=class{constructor(t,n,r,o){this.img=t;this.info=n;this.f=r;this.name=o;this.size=r.totalSize}slice(t=0,n=this.size){let r=Math.max(0,Math.min(t,this.size)),o=Math.max(r,Math.min(n,this.size)),{img:s,info:i,f:a}=this;return{size:o-r,async arrayBuffer(){let l=new Uint8Array(o-r);for(let c of Wn(a)){let u=Math.max(r,c.offset),d=Math.min(o,c.offset+c.length);d>u&&l.set(await s.read((i.partitionStartSector+c.imageSector)*v3+(u-c.offset),d-u),u-r)}return l.buffer}}}async arrayBuffer(){return this.slice().arrayBuffer()}dataRanges(){return Wn(this.f).map(({offset:t,length:n})=>({offset:t,length:n}))}},Ko=e=>e.split("/").pop()||e,Hm=e=>e.startsWith("02_MEDIA/")||e.startsWith("03_PROXIES/");async function zm(e){let t=await zn(e);return{image:e.size(),recipes:t.files.filter(n=>n.name.startsWith(`${ao}/`)).length,files:t.files.filter(n=>!n.name.startsWith(`${ao}/`)&&n.name!==".i2o-manifest.json").map(n=>({name:n.name,size:n.totalSize,recorded:Wn(n).reduce((r,o)=>r+o.length,0)}))}}async function kv(e,t){let n=t.files.filter(i=>i.name.startsWith(`${ao}/delivery`)&&i.name.endsWith(".json"));if(!n.length)return null;let r=[],o=new Map,s=0;for(let i of n){let a=JSON.parse(new TextDecoder().decode(await new hc(e,t,i,i.name).arrayBuffer()));r.push(...a.timelines);for(let l of a.media_references)l.id&&o.set(l.id,l);s=Math.max(s,a.handles??0)}return{session:{timelines:r,media_references:[...o.values()]},handles:s}}async function _v(e,t){let n=await kv(e,t);return n?{timelines:n.session.timelines,media:n.session.media_references??[],handles:n.handles}:{timelines:[],media:[],handles:0}}async function Wm(e,t,n={}){let r=await zn(e),o=w=>!n.only?.length||n.only.some(y=>w.includes(y)),s=await kv(e,r),i=new Map,a=new Map,l=[];for(let w of r.files){if(w.name.startsWith(`${ao}/`)||w.name===".i2o-manifest.json"||!o(w.name))continue;let y=new hc(e,r,w,Ko(w.name));Hm(w.name)&&rr(Ko(w.name))?l.push({udfPath:w.name,basename:Ko(w.name),file:y}):Hm(w.name)&&s?i.set(Ko(w.name),y):a.set(w.name,y)}n.onProgress?.(0,0,"planning trims");let c=[],u={regions:[],total_bytes:0,dest_files:[],source_basenames:[]};if(s&&i.size){let w={format:"folder",folder_layout:"canonical-i2o",per_file_mode:{mode:"trim"},handles:s.handles},y={...s.session,media_references:(s.session.media_references??[]).filter(_=>i.has(Ko(_.target_url??""))).map(_=>({..._,binding_state:"linked"}))};u=await Hs(Wo(y,w),i,y,w);for(let _ of u.untrimmable??[])c.push(`${_.basename}: ${_.reason}`)}else if(!s)for(let w of a.keys())Hm(w)&&c.push(`${Ko(w)}: no recipe in this .iso \u2014 written as stored`);let d=await fc({parts:l.map(w=>({basename:w.basename,destPathHint:w.udfPath,file:w.file,dataRanges:w.file.dataRanges()})),planClip:async w=>{let y=Ca("r3d",w.map(_=>({filename:_.basename,fileSize:_.file.size,dataRanges:_.dataRanges??[],read:(v,T)=>_.file.slice(v,v+T).arrayBuffer().then($=>new Uint8Array($))})));return mc(await $o(y,{verb:"trim",selection:{items:[],handles:0}}))}}),p=new Set([...u.dest_files,...d.regions.map(w=>w.dest_file)]),f=[];for(let[w,y]of a)p.has(w)||f.push({dest_file:w,dest_offset:0,length:y.size,source:{kind:"file",basename:w,offset:0}});for(let[w,y]of i){let _=r.files.find(v=>Ko(v.name)===w).name;!u.dest_files.includes(_)&&!u.regions.some(v=>v.source.kind==="file"&&v.source.basename===w)&&(f.push({dest_file:_,dest_offset:0,length:y.size,source:{kind:"file",basename:_,offset:0}}),a.set(_,y),c.push(`${w}: not in the recipe's cut \u2014 written as stored`))}let h=[...u.regions,...d.regions,...f],g={regions:h,total_bytes:h.reduce((w,y)=>w+y.length,0),dest_files:[...new Set(h.map(w=>w.dest_file))],source_basenames:[]},b=new Map([...i,...a,...d.filesByBasename]);await Ve(t);let k=await new zs({layout:g,files:b,sink:pc(t),signal:n.signal,concurrency:4,onProgress:w=>n.onProgress?.(w.bytesWritten,w.totalBytes,"writing trims")}).execute();return{files:g.dest_files.length,bytes:k.bytesWritten,untrimmed:c}}import{open as Km}from"node:fs/promises";import{createServer as T3}from"node:http";function vv(e,t=8*1024*1024,n=32){let r=new Map,o=(s,i)=>{let a=`${s}@${i}`,l=r.get(a);if(l)return r.delete(a),r.set(a,l),l;if(l=e(s,i*t,t).catch(c=>{throw r.delete(a),c}),r.set(a,l),r.size>n){let c=r.keys().next().value;c!==void 0&&r.delete(c)}return l};return async(s,i,a)=>{let l=Math.floor(i/t),c=Math.floor((i+a-1)/t);if(l===c){let f=await o(s,l),h=i-l*t;return f.subarray(h,Math.min(h+a,f.length))}let u=await Promise.all(Array.from({length:c-l+1},(f,h)=>o(s,l+h))),d=new Uint8Array(a),p=0;for(let f=0;f<u.length;f++){let h=u[f],g=(l+f)*t,b=Math.max(0,i-g),k=Math.min(h.length,i+a-g);k>b&&(d.set(h.subarray(b,k),p),p+=k-b)}return p===a?d:d.subarray(0,p)}}async function Vo(e,t=!1){let n=await Km(e,t?"r+":"r"),r=(await n.stat()).size;return{read:async(o,s)=>{let i=new Uint8Array(s),{bytesRead:a}=await n.read(i,0,s,o);return a===s?i:i.subarray(0,a)},write:async(o,s)=>{await n.write(s,0,s.length,o),r=Math.max(r,o+s.length)},getSize:async()=>r,setSize:async o=>{await n.truncate(o),r=o},size:()=>r,close:()=>n.close()}}var x3=4<<20;async function Vm(e,t=fetch){let n=await e(),r=async(a,l)=>{for(let c=0;;c++){let u=await t(n,{headers:{range:`bytes=${a}-${a+l-1}`}});if(u.status===403&&c===0){await u.body?.cancel(),n=await e();continue}if(u.status===416)return await u.body?.cancel(),new Uint8Array(0);if(!u.ok)throw new Error(`reading the .iso: ${u.status} ${(await u.text()).slice(0,200)}`);if(u.status===200&&a>0)throw new Error("the bucket ignored the byte range (no ranged GET)");return new Uint8Array(await u.arrayBuffer())}},o=await t(n,{headers:{range:"bytes=0-0"}});await o.body?.cancel();let s=Number(/\/(\d+)$/.exec(o.headers.get("content-range")??"")?.[1]??o.headers.get("content-length"));if(!o.ok||!Number.isFinite(s))throw new Error(`reading the .iso: ${o.status}`);let i=vv((a,l,c)=>r(l,Math.min(c,s-l)),1<<20,64);return{read:(a,l)=>{let c=Math.max(0,Math.min(l,s-a));return c?c<x3?i("iso",a,c):r(a,c):Promise.resolve(new Uint8Array(0))},write:()=>Promise.reject(new Error("a bucket .iso is read-only here (add_to patches an overlay)")),getSize:async()=>s,size:()=>s,close:async()=>{}}}function S3(e){let t=[];for(let n of[...e].sort((r,o)=>r.offset-o.offset)){let r=t[t.length-1];r&&n.offset<=r.offset+r.length?r.length=Math.max(r.length,n.offset+n.length-r.offset):t.push({...n})}return t}async function Tv(e,t){let n=await Km(t,"w+"),r=[],o=e.size();return{read:async(i,a)=>{a=Math.max(0,Math.min(a,o-i));let l=new Uint8Array(a),c=Math.max(0,Math.min(a,e.size()-i));c>0&&l.set(await e.read(i,c),0);for(let u of r){let d=Math.max(u.offset,i),p=Math.min(u.offset+u.length,i+a);p>d&&await n.read(l,d-i,p-d,d)}return l},write:async(i,a)=>{await n.write(a,0,a.length,i),r=S3([...r,{offset:i,length:a.length}]),o=Math.max(o,i+a.length)},getSize:async()=>o,setSize:async i=>{o=i},size:()=>o,writes:()=>r,scratch:t,close:()=>n.close()}}async function xv(e){let t=T3((n,r)=>void(async()=>{let o=e.size(),s=/bytes=(\d+)-(\d*)/.exec(n.headers.range??""),i=s?Number(s[1]):0,a=s&&s[2]?Math.min(Number(s[2])+1,o):o;if(r.writeHead(s?206:200,{"Accept-Ranges":"bytes","Content-Length":a-i,...s?{"Content-Range":`bytes ${i}-${a-1}/${o}`}:{}}),n.method==="HEAD")return r.end();for(let l=i;l<a;l+=8388608)r.write(await e.read(l,Math.min(8388608,a-l)));r.end()})().catch(()=>{r.headersSent||r.writeHead(503),r.end()}));return await new Promise(n=>t.listen(0,"127.0.0.1",n)),{url:`http://127.0.0.1:${t.address().port}/disk.iso`,close:()=>new Promise(n=>t.close(()=>n()))}}async function Sv(e){if(Xt()!=="darwin")throw new Error("a live mount needs macOS (hdiutil attaches the image over HTTP); fetch the .iso or its trims elsewhere");let{execFile:t}=await import("node:child_process"),n=await new Promise((o,s)=>t("/usr/bin/hdiutil",["attach",e,"-readonly","-noverify","-noautoopen"],(i,a,l)=>i?s(new Error(l||i.message)):o(a))),r=n.trim().split(`
252
+ `)}${u}`}var zO=/^0[1-4]_[A-Z_]+\//;function Lm(e,t){let n=Om(e.target_url);if(!n)return"";let r=e.role==="reference"?"03_REFERENCES":"02_MEDIA";if(t&&e.target_url){let o=KO(e.target_url),s=o?o.replace(zO,""):n;return`${r}/${s}`}return`${r}/${n}`}function Nm(e,t,n){return{entries:WO(e,t,n).entries.map(s=>{if(s.inlineBytes)return{path:s.path,bytes:s.inlineBytes};if(s.sourceBasename)return{path:s.path,sourceBasename:s.sourceBasename};throw new Error(`folder-layout entry missing both inlineBytes and sourceBasename: ${s.path}`)})}}function WO(e,t,n){let r=[],o=new Map,s=new Set;for(let l of n.sourceFiles??[]){let c=Gs(`01_PROJECT_FILES/source/${l.name}`,s);r.push({path:c,section:"project-source",inlineBytes:l.data})}let i=new Set,a=(e.media_references??[]).filter(l=>{if(!l.target_url)return!1;let c=Om(l.target_url);if(!(c.length>0&&t.has(c)))return!1;let u=`${c.toLowerCase()}\0${l.role??""}`;return i.has(u)?!1:(i.add(u),!0)});for(let l of a){let c=Om(l.target_url);if(l.bundle&&l.bundle.files.length>0){for(let d of l.bundle.files){if(!t.has(d.basename))continue;let p=Gs(`02_MEDIA/${d.rel_path}`,s);r.push({path:p,section:"media",sourceBasename:d.basename}),o.set(d.basename,p)}continue}let u=Gs(Lm(l,n.preserveStructure===!0),s);r.push({path:u,section:l.role==="reference"?"reference":"media",sourceBasename:c}),l.role!=="reference"&&o.set(c,u)}for(let l of n.exchangeFiles??[]){let c=l.text?ev(l.bytes,o,n.volumeName):l.bytes,u=Gs(`01_PROJECT_FILES/converted/${l.filename}`,s);r.push({path:u,section:"project-converted",inlineBytes:c})}if(n.timelineFile){let l=n.timelineFile,c=ev(l.bytes,o,n.volumeName);if(l.isConversion){let u=Gs(`01_PROJECT_FILES/converted/${l.filename}`,s);r.push({path:u,section:"project-converted",inlineBytes:c})}else{let u=l.filename.includes(".")?l.filename.slice(l.filename.lastIndexOf(".")):"",p=`${l.filename.includes(".")?l.filename.slice(0,l.filename.lastIndexOf(".")):l.filename}_relinked${u}`,f=Gs(`01_PROJECT_FILES/source/${p}`,s);r.push({path:f,section:"project-source",inlineBytes:c})}}return{entries:r,basenameToIsoPath:o}}function ev(e,t,n){let r;try{r=new TextDecoder("utf-8",{fatal:!0}).decode(e)}catch{return e}for(let[o,s]of t){let i=`/Volumes/${n}/${s}`,a=VO(o);r=r.replace(new RegExp(`(<pathurl>)[^<]*${a}(</pathurl>)`,"g"),`$1file://localhost${i}$2`).replace(new RegExp(`("target_url"\\s*:\\s*")[^"]*${a}"`,"g"),`$1${i}"`).replace(new RegExp(`(src="file://)[^"]*${a}"`,"g"),`$1localhost${i}"`)}return new TextEncoder().encode(r)}function Om(e){return e?e.split(/[/\\]/).pop()??"":""}function KO(e){if(e)try{return decodeURIComponent(e.replace(/^file:\/\//,"").replace(/^\//,"").replace(/^Volumes\//,""))||void 0}catch{return}}function Gs(e,t){if(!t.has(e))return t.add(e),e;let n=e.lastIndexOf("."),r=n>0?e.slice(0,n):e,o=n>0?e.slice(n):"",s=2,i=`${r}_${s}${o}`;for(;t.has(i);)s++,i=`${r}_${s}${o}`;return t.add(i),i}function VO(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function tv(e){return O1(e)}function nv(e,t){let n=Math.max(0,Math.floor(e.handles??0)),r=e.frame_in-n,o=e.frame_out+n,s=Math.max(0,r),i=t!==void 0?Math.min(t,o):o;return{frame_in:s,frame_out:i,handles_applied_in:e.frame_in-s,handles_applied_out:i-e.frame_out,handles_requested:n}}function Wo(e,t){if(t.format==="iso")return XO(e,t);if(t.format==="folder")return JO(e,t);throw new Error(`deriveLayout: unsupported format "${t.format}"`)}function JO(e,t){let n=rv(e),r=[],o=new Set,s=new Set,i=0;for(let a of n){let l=jm(a);if(!l)continue;s.add(l);let c=QO(a,l,t);o.add(c);let u=ov(a.id??l,t),d=sv(e,a,u,t.handles??0);r.push({dest_file:c,dest_offset:0,length:d,source:{kind:"file",basename:l,offset:0}}),i+=d}return{regions:r,total_bytes:i,dest_files:Array.from(o),source_basenames:Array.from(s)}}function XO(e,t){if(!t.volume_name)throw new Error("deriveLayout(iso): intent.volume_name is required");let n=rv(e),r=`${t.volume_name}.iso`,o=[],s=new Set,i=0;for(let a of n){let l=jm(a);if(!l)continue;s.add(l);let c=ov(a.id??l,t),u=sv(e,a,c,t.handles??0);o.push({dest_file:r,dest_offset:i,length:u,source:{kind:"file",basename:l,offset:0}}),i+=u}return{regions:o,total_bytes:i,dest_files:[r],source_basenames:Array.from(s)}}function rv(e){let t=e.media_references;return Array.isArray(t)?t.filter(n=>n.carry_whole===!0||!(n.binding_state&&n.binding_state!=="linked")):[]}function jm(e){if(!e.target_url)return null;let t=e.target_url.split(/[\\/]/).pop();return t&&t.length>0?t:null}function QO(e,t,n){let r=n.per_file_overrides?.[e.id]?.rel_path;if(r)return r;switch(n.folder_layout??"flat"){case"flat":return t;case"by-camera":{let o=e.reel_name;return o?`${o}/${t}`:t}case"media-organized":{let o=YO(e);return o?`${o}/${t}`:t}case"canonical-i2o":return Lm(e,!1)}}function YO(e){if(P1(e))return"Stills";switch(e.content_kind){case"still":return"Stills";case"audio":return"Audio";case"video":case"video_audio":return"Footage";case"compound":return"Compounds";default:return null}}function ov(e,t){return t.per_file_overrides?.[e]?.mode??t.per_file_mode}function sv(e,t,n,r){let o=t.size_bytes??0;if(o===0)return 0;let s=jm(t);if(!s||!tv(s)||n.mode==="sparse"&&n.populate.full===!0)return o;let i=t.available_range?.duration?.value??0;if(i<=0)return o;let a=ZO(e,t.id);if(a.length===0)return o;let l=a.map(p=>{let f=nv({frame_in:p.start,frame_out:p.end,handles:r},i);return{start:f.frame_in,end:f.frame_out}});l.sort((p,f)=>p.start-f.start);let c=[{...l[0]}];for(let p=1;p<l.length;p++){let f=l[p],h=c[c.length-1];f.start<=h.end?h.end=Math.max(h.end,f.end):c.push({...f})}let u=0;for(let p of c){let f=Math.max(0,p.start),h=Math.min(i,p.end);h>f&&(u+=h-f)}let d=Math.min(1,u/i);return Math.round(d*o)}function ZO(e,t){let n=[],r=e?.timelines??[];for(let o of r)for(let s of o.tracks??[])for(let i of s.items??[]){if(i.media_reference_id!==t||!i.source_range)continue;let a=i.source_range.start.value,l=i.source_range.duration.value;l>0&&n.push({start:a,end:a+l})}return n}function iv(e,t){let n=e3(e),r=n>=0?e.slice(0,n+1):"",o=n>=0?e.slice(n+1):e,s=o.lastIndexOf(".");return s<=0?r+o+t:r+o.slice(0,s)+t+o.slice(s)}function e3(e){let t=e.lastIndexOf("/"),n=e.lastIndexOf("\\");return t>n?t:n}async function av(e){try{return await e()}catch(t){let n=j1(t);throw n?new D1(n):t}}async function ic(e){let t=F1(e);if(!t||!t.trimSupported)return null;let n=t.flavor,r=o=>Ca(n,[L1(e,o)]);return{byteSourceFromFile:t3,async prepareWrite(o,s,i){let l=(await av(()=>$o(r(o),{verb:"sparsify",selection:{items:s,handles:i}})))[0];return{fileSize:l.fileSize,structuralRanges:l.structuralRanges,essenceRanges:l.essenceRanges,trimInputs:l.trimInputs??[],wholeFileFallback:l.wholeFileFallback}},async planTrim(o,s,i){let a=await av(()=>$o(r(o),{verb:"trim",selection:{items:s,handles:i}}));if(n==="r3d")throw new Error(`planTrim(${e}): R3D must route through the R3D compact pass (r3d-trim-pass.ts), not the per-file path`);return a}}}async function t3(e){return{fileSize:e.size,async read(t,n){let r=Math.min(t+n,e.size),o=e.slice(t,r);return new Uint8Array(await o.arrayBuffer())}}}function n3(e){let t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}async function sa(e,t="i2o",n,r,o=ci){await lu();let s;try{s=Bh(JSON.stringify(e),t,r?JSON.stringify(r):"",o)}catch(a){let l="";try{l=qh()}catch{}throw l?new Error(`udf_build_layout failed: ${l} (raw: ${a instanceof Error?a.message:String(a)})`):a instanceof Error?a:new Error(`udf_build_layout failed: ${String(a)}`)}let i=JSON.parse(s);return{totalBytes:i.totalBytes,totalSectors:i.totalSectors,structuralRegions:i.structuralRegions.map(a=>({sectorStart:a.sectorStart,sectorCount:a.sectorCount,data:n3(a.dataB64)})),fileDataRegions:i.fileDataRegions}}async function cv(e){await lu();let t=32*2048,n=16*2048,r;if(e instanceof Uint8Array){if(e.length<t+n)return null;r=e.subarray(t,t+n)}else{if(e.size<t+n)return null;r=new Uint8Array(await e.slice(t,t+n).arrayBuffer())}let o=Uh(r);if(!o)return null;try{return JSON.parse(o)}catch{return null}}function r3(e){return e.speed!=null&&e.speed!==100||e.speed_reverse||e.speed_ramped?!0:(e.keyframes??[]).some(t=>t.parameter_path==="speed")}function o3(e,t){let n=e.timelines??[];if(t)return n.filter(s=>s.name===t);let r=new Set;for(let s of n)for(let i of s.tracks??[])for(let a of i.items??[])a.nested_timeline_id&&r.add(a.nested_timeline_id);let o=n.filter(s=>!r.has(s.id));return o.length?o:n}function s3(e,t,n){let r=new Map((e.timelines??[]).map(s=>[s.id,s])),o=(s,i,a,l)=>{if(!(!s||a>8))for(let c of s.tracks??[])for(let u of c.items??[]){let d=a===0?u:l??u,p=Math.round(u.timeline_range?.start?.value??0),f=p+Math.round(u.timeline_range?.duration?.value??0),h=i?i.map(([b,k])=>[Math.max(p,b),Math.min(f,k)]).filter(([b,k])=>k>b):[[p,f]];if(h.length===0)continue;let g=r3(u);if(u.nested_timeline_id){let b=r.get(u.nested_timeline_id),k=Math.round(u.source_range?.start?.value??0),w=(s.fps_num??0)/Math.max(s.fps_den??1,1),y=b?(b.fps_num??0)/Math.max(b.fps_den??1,1):w,_=w>0&&y>0?y/w:1,v=h.map(([T,$])=>[Math.floor((k+(T-p))*_),Math.floor((k+($-p))*_)]);o(b,v,a+1,d)}else if(u.media_reference_id){let b=Math.round(u.source_range?.start?.value??0),k=Math.round(u.source_range?.duration?.value??0);if(g){n({item:u,root:d,tl_id:s.id,depth:a,has_speed:!0,tl_in:p,src_in:b,a:p,b:p+k,reached_in:b,reached_out:b+k});continue}for(let[w,y]of h)n({item:u,root:d,tl_id:s.id,depth:a,has_speed:!1,tl_in:p,src_in:b,a:w,b:y,reached_in:b+(w-p),reached_out:b+(y-p)})}}};for(let s of o3(e,t.rootTimelineName))o(s,null,0,null)}function uv(e,t={}){let n=new Map;return s3(e,t,r=>{let o=r.item.media_reference_id,s={clip_src_in:r.src_in,reached_in:r.reached_in,reached_out:r.reached_out,has_speed:r.has_speed},i=n.get(o);i?i.push(s):n.set(o,[s])}),n}var er=2048;function ac(e,t,n){console.error(`[planIsoRegions] DROPPING "${t}" \u2014 ${n}. NOT shipping it whole: that would deliver the entire file to carry a few seconds of it.`),e.push({basename:t,reason:n})}async function lc(e){if(e.perFile.mode==="trim")throw new Error("planIsoRegions: ISO + trim is not supported. Use folder collection for compact trim output, or ISO sparse-segments for the canonical cloud / P2P shape (recipient can derive folder-of-trims at download time per project_upload_once_choose_at_download).");let t=e.perFile.populate,n=new Set;for(let T of e.session.media_references??[])(T.role==="reference"||T.carry_whole===!0)&&n.add((T.target_url??"").split(/[\\/]/).pop()??"");let{ranges:r,dropped:o}=await i3(e),s=[],i=[];for(let T of e.entries){if("bytes"in T){s.push({path:T.path,totalSize:T.bytes.length,keptRanges:[{offset:0,length:T.bytes.length}],inlineBytes:T.bytes});continue}let $=e.files.get(T.sourceBasename);if(!$)continue;if(T.keptRanges){s.push({path:T.path,sourceBasename:T.sourceBasename,totalSize:$.size,keptRanges:T.keptRanges,prep:{fileSize:$.size,structuralRanges:T.keptRanges,essenceRanges:[],trimInputs:[]},file:$,given:!0});continue}let x=()=>({path:T.path,sourceBasename:T.sourceBasename,totalSize:$.size,keptRanges:[{offset:0,length:$.size}],file:$}),R=await ic(T.sourceBasename);if(!R||t.full||T.section==="reference"||n.has(T.sourceBasename)){s.push(x());continue}if(rr(T.sourceBasename)){if(o.has(T.sourceBasename)){ac(i,T.sourceBasename,"delivery coverage miss (cut outside the clip's real frames)");continue}let X=r.get(T.sourceBasename);if(X&&(X.structuralRanges.length>0||X.essenceRanges.length>0)){let O=[...X.structuralRanges];t.segments&&O.push(...X.essenceRanges),s.push({path:T.path,sourceBasename:T.sourceBasename,totalSize:$.size,keptRanges:O,prep:{fileSize:$.size,structuralRanges:X.structuralRanges,essenceRanges:X.essenceRanges,trimInputs:[]},file:$})}else ac(i,T.sourceBasename,"R3D part has no planned sparse ranges");continue}let C=dv(e.session,T.sourceBasename),B=await R.byteSourceFromFile($),L;try{L=await R.prepareWrite(B,C,e.handles)}catch(X){let O=So(X);if(O){console.warn(`[planIsoRegions] coverage miss detail for "${T.sourceBasename}":`,O),ac(i,T.sourceBasename,"delivery coverage miss (cut outside the clip's real frames)");continue}ac(i,T.sourceBasename,X instanceof Error?X.message:String(X));continue}let Z=[...L.structuralRanges];t.segments&&Z.push(...L.essenceRanges),s.push({path:T.path,sourceBasename:T.sourceBasename,totalSize:$.size,keptRanges:Z,prep:L,source:B,file:$})}let a=s.map(T=>{let $=T.prep?a3(T.keptRanges,T.totalSize):void 0;T.given&&$&&!$.length&&T.totalSize>0&&($=[{offset:0,length:0}]);let x=e.pinSectorByPath?.get(T.path);return{name:T.path,totalSize:T.totalSize,...$?{dataExtents:$}:{},...x!==void 0?{fixedPartSector:x}:{}}}),l=await sa(a,e.volumeName,{},e.iuvd,e.buildTimestamp),c=new Map;for(let T of l.fileDataRegions)c.has(T.name)||c.set(T.name,{byteOffset:T.sectorStart*er,partSector:T.sectorStart-257});let u=`${e.volumeName}.iso`,d=[],p=new Set;for(let T of l.structuralRegions)T.data.length!==0&&d.push({dest_file:u,dest_offset:T.sectorStart*er,length:T.data.length,source:{kind:"inline",bytes:T.data}});let f=new Map;for(let T of s)f.set(T.path,T);let h=new Map,g=new Map,b=new Map,k=(T,$,x)=>{let R=b.get(T);R?R.push({at:$,len:x}):b.set(T,[{at:$,len:x}])},w=new Map;for(let T of l.fileDataRegions){let $=f.get(T.name);if(!$)continue;let x=!!$.file&&!$.inlineBytes&&(!$.prep||$.prep.wholeFileFallback===!0);if(g.has($.path)||g.set($.path,x),$.inlineBytes){let O=$.inlineBytes.subarray(T.sourceOffset,T.sourceOffset+T.sourceLength);d.push({dest_file:u,dest_offset:T.sectorStart*er,length:O.length,source:{kind:"inline",bytes:O}}),k($.path,T.sectorStart*er,O.length),h.set($.path,(h.get($.path)??0)+O.length);continue}if(!$.file){g.set($.path,!0);continue}if(!$.prep){p.add($.sourceBasename??$.file.name),d.push({dest_file:u,dest_offset:T.sectorStart*er,length:T.sourceLength,source:{kind:"file",basename:$.sourceBasename??$.file.name,offset:T.sourceOffset}}),k($.path,T.sectorStart*er,T.sourceLength),h.set($.path,(h.get($.path)??0)+T.sourceLength);continue}let R=$.sourceBasename??$.file.name;p.add(R);let C=T.sourceOffset,B=T.sourceOffset+T.sourceLength,L=w.get($.path);if(!L){let O=[...$.keptRanges].sort((ne,z)=>ne.offset-z.offset),ae=[],W=-1/0;for(let ne of O)W=Math.max(W,ne.offset+ne.length),ae.push(W);L={ranges:O,maxEnd:ae},w.set($.path,L)}let Z=0,X=L.ranges.length;for(;Z<X;){let O=Z+X>>1;L.maxEnd[O]>C?X=O:Z=O+1}for(let O=Z;O<L.ranges.length&&L.ranges[O].offset<B;O++){let ae=L.ranges[O],W=Math.max(ae.offset,C),ne=Math.min(ae.offset+ae.length,B);if(ne<=W)continue;let z=ne-W,q=T.sectorStart*er+(W-C);d.push({dest_file:u,dest_offset:q,length:z,source:{kind:"file",basename:R,offset:W}}),k($.path,q,z),h.set($.path,(h.get($.path)??0)+z)}}d.sort((T,$)=>T.dest_offset-$.dest_offset);let y=new Map;for(let T of l.fileDataRegions){let $=y.get(T.name);$?$.push(T):y.set(T.name,[T])}let _=s.map(T=>({path:T.path,bytesWritten:h.get(T.path)??0,fellBack:g.get(T.path)??!1})),v=0;for(let T of d)v+=T.length;return{layout:{regions:d,total_bytes:v,dest_files:[u],source_basenames:Array.from(p),image_total_bytes:l.totalBytes,file_extents:s.map(T=>{let $=(y.get(T.path)??[]).map(R=>({at:R.sectorStart*er,from:R.sourceOffset,len:R.sourceLength})),x=(b.get(T.path)??[]).sort((R,C)=>R.at-C.at);return{path:T.path,size:T.totalSize,extents:$,data:x}})},isoPositions:c,totalBytes:l.totalBytes,perFileSummary:_,untrimmable:i}}async function cc(e,t,n,r={}){let{layout:o,totalBytes:s}=e;if(o.dest_files.length!==1)throw new Error(`executeIsoPlan: expected single dest_file, got ${o.dest_files.length}`);let i=0;for(let l of o.regions)l.source.kind!=="zero"&&(i+=l.length);await n.reserveSize(s);let a=0;try{for(let l of o.regions){if(r.signal?.aborted)throw new DOMException("Aborted","AbortError");if(l.length!==0){switch(l.source.kind){case"inline":{await n.writeAt(l.dest_offset,l.source.bytes),a+=l.source.bytes.length;break}case"file":{let c=t.get(l.source.basename);if(!c)throw new Error(`executeIsoPlan: file not in files map: "${l.source.basename}"`);let u=16*1024*1024,d=0;for(;d<l.length;){let p=Math.min(u,l.length-d),f=c.slice(l.source.offset+d,l.source.offset+d+p),h=new Uint8Array(await f.arrayBuffer());await n.writeAt(l.dest_offset+d,h),d+=p,a+=p,r.onProgress?.({bytesWritten:a,totalBytes:i,currentFile:l.source.basename})}continue}case"zero":break;case"pack":throw new Error("executeIsoPlan: `pack` regions require the CAS executor, not a local-file build")}r.onProgress?.({bytesWritten:a,totalBytes:i})}}await n.close()}catch(l){throw await n.abort?.(l),l}return{bytesWritten:a}}async function i3(e){let t=new Map,n=new Set,r=e.session.media_references??[],o=[],s=new Set;for(let l of r){if(l.bundle?.kind!=="rdc")continue;let c=l.bundle,u=c.files.filter(p=>p.role==="anchor"||p.role==="part").slice().sort((p,f)=>(p.part_number??0)-(f.part_number??0)).map(p=>({filename:p.basename,file:e.files.get(p.basename)})).filter(p=>!!p.file);if(u.length===0)continue;let d=(l.target_url??"").split(/[/\\]/).pop()||u[0].filename;o.push({label:c.folder,anchorBasename:d,parts:u});for(let p of u)s.add(p.filename)}for(let l of r){if(l.bundle?.kind==="rdc")continue;let c=(l.target_url??"").split(/[/\\]/).pop()??"";if(!rr(c)||s.has(c))continue;let u=B1(c,e.files.keys()).map(d=>({filename:d,file:e.files.get(d)})).filter(d=>!!d.file);if(u.length!==0){o.push({label:c,anchorBasename:c,parts:u});for(let d of u)s.add(d.filename)}}if(o.length===0)return{ranges:t,dropped:n};let{mediaOp:i}=await import("./ops-T6ZV7RAM.js"),{sourceFromFiles:a}=await import("./source-L2JNTYS6.js");for(let l of o){let{label:c,anchorBasename:u,parts:d}=l,p=dv(e.session,u);try{let f=a(d.map(g=>g.file)),h=await i(f,{verb:"sparsify",selection:{items:p,handles:e.handles}});for(let g of h)t.set(g.filename,{structuralRanges:g.structuralRanges,essenceRanges:g.essenceRanges})}catch(f){let h=So(f);if(h){for(let g of d)n.add(g.filename);console.warn(`[planIsoRegions] DROPPING R3D clip "${c}" fail-closed \u2014 delivery coverage miss; NOT whole-filing:`,h);continue}console.warn(`[planIsoRegions] R3D spanned prep failed for "${c}":`,f)}}return{ranges:t,dropped:n}}function dv(e,t){let n=new Set,r=t.toLowerCase();for(let u of e.media_references??[]){if(!u.target_url)continue;(u.target_url.split(/[/\\]/).pop()??"").toLowerCase()===r&&n.add(u.id)}let o=[],s=!1;for(let u of e.timelines??[])for(let d of u.tracks??[])for(let p of d.items??[])p.media_reference_id&&n.has(p.media_reference_id)&&o.push(p),p.nested_timeline_id&&(s=!0);if(!s||o.length===0)return o;let i=uv(e),a=[...n].flatMap(u=>i.get(u)??[]);if(a.length===0)return o;let l=o[0],c=l.source_range?.start?.rate??l.source_range?.duration?.rate??1;return a.map(u=>({...l,kind:"clip",source_range:{start:{value:u.reached_in,rate:c},duration:{value:u.reached_out-u.reached_in,rate:c}}}))}function a3(e,t){if(e.length===0)return e;let n=e.map(o=>{let s=Math.floor(o.offset/er)*er,i=Math.min(Math.ceil((o.offset+o.length)/er)*er,t);return{offset:s,length:Math.max(0,i-s)}}).filter(o=>o.length>0);n.sort((o,s)=>o.offset-s.offset);let r=[];for(let o of n){let s=r[r.length-1];s&&o.offset<=s.offset+s.length?s.length=Math.max(s.length,o.offset+o.length-s.offset):r.push({...o})}return r}async function Hs(e,t,n,r,o){if(r.format==="iso"){if(!o)throw new Error("refineLayoutForTrim(iso): isoOptions is required (entries, pinSectorByPath, iuvd come from buildI2oFolderLayout in the wizard).");if(!r.volume_name)throw new Error("refineLayoutForTrim(iso): intent.volume_name is required");let c=u3(r,n),u=await lc({session:n,files:t,handles:r.handles??0,perFile:c,volumeName:r.volume_name,entries:o.entries,pinSectorByPath:o.pinSectorByPath,iuvd:o.iuvd,buildTimestamp:o.buildTimestamp});return u.untrimmable.length>0?{...u.layout,untrimmable:u.untrimmable}:u.layout}if(r.per_file_mode.mode!=="trim")return e;let s=Bm(n),i=qm(n),a=new Map;for(let c of e.regions){let u=a.get(c.dest_file);u?u.push(c):a.set(c.dest_file,[c])}let l=[];for(let[c,u]of a){let d=u.length===1?u[0]:null;if(!d||d.source.kind!=="file"){l.push(...u);continue}let p=d.source.basename,f=t.get(p);if(!f){l.push(d);continue}let h=i.get(p),g=h?s.get(h.id)??[]:[],b=await l3({destFile:c,basename:p,file:f,ref:h,items:g,handles:r.handles??0});b!=="coverage-miss"&&(b?l.push(...b):l.push({dest_file:c,dest_offset:0,length:f.size,source:{kind:"file",basename:p,offset:0}}))}return c3(l)}async function l3(e){if(e.items.length===0)return null;let t=await ic(e.basename);if(!t||!t.planTrim)return null;let n;try{let o=await t.byteSourceFromFile(e.file);n=await t.planTrim(o,e.items,e.handles)}catch(o){let s=So(o);return s?(console.warn(`[refineLayoutForTrim] DROPPING "${e.basename}" fail-closed \u2014 delivery coverage miss; NOT whole-filing:`,s),"coverage-miss"):null}if(n.length===0)return null;if(n.length===1)return ia(n[0],e.destFile,e.basename);let r=Math.max(3,String(n.length).length);return n.flatMap((o,s)=>ia(o,iv(e.destFile,`_S${String(s+1).padStart(r,"0")}`),e.basename))}function ia(e,t,n){let r=[],o=e.dest_header_bytes_base64?Dm(e.dest_header_bytes_base64):null;o&&o.length>0&&r.push({dest_file:t,dest_offset:0,length:o.length,source:{kind:"inline",bytes:o}});for(let s of e.src_byte_ranges)s.length<=0||r.push({dest_file:t,dest_offset:s.write_to_dest_offset,length:s.length,source:{kind:"file",basename:s.src_file_name??n,offset:s.offset}});if(e.dest_footer_bytes_base64&&e.dest_footer_offset!=null){let s=Dm(e.dest_footer_bytes_base64);s.length>0&&r.push({dest_file:t,dest_offset:e.dest_footer_offset,length:s.length,source:{kind:"inline",bytes:s}})}if(e.dest_patches)for(let s of e.dest_patches){let i=Dm(s.bytes_base64);i.length!==0&&r.push({dest_file:t,dest_offset:s.offset,length:i.length,source:{kind:"inline",bytes:i}})}return r.sort((s,i)=>s.dest_offset-i.dest_offset),r}function Bm(e){let t=new Map,n=e?.timelines??[];for(let r of n)for(let o of r.tracks??[])for(let s of o.items??[]){if(!s?.media_reference_id)continue;let i=t.get(s.media_reference_id);i?i.push(s):t.set(s.media_reference_id,[s])}return t}function pv(e,t,n){let r=t?.source_timecode?At(t.source_timecode,n):null;return r==null?e:e.map(o=>{let s=o?.raw_extraction;if(s?.sourceConformedToMedia)return o;let i=s?.alternateFrame;if(i==null||!o.source_range)return o;let a=i-r;return a===0?o:{...o,source_range:{...o.source_range,start:{...o.source_range.start,value:o.source_range.start.value+a}}}})}function qm(e){let t=new Map,n=e?.media_references??[];for(let r of n){if(!r.target_url)continue;let o=r.target_url.split(/[\\/]/).pop();o&&o.length>0&&t.set(o,r)}return t}function c3(e){let t=new Set,n=new Set,r=0;for(let o of e)t.add(o.dest_file),o.source.kind==="file"&&n.add(o.source.basename),r+=o.length;return{regions:e,total_bytes:r,dest_files:Array.from(t),source_basenames:Array.from(n)}}function Dm(e){let t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}function u3(e,t){return e.per_file_mode.mode==="trim"?{mode:"trim"}:{mode:"sparse",populate:{structural:!0,segments:e.per_file_mode.populate.segments,full:e.per_file_mode.populate.full}}}var zs=class{constructor(t){this.opts=t}async execute(){let{layout:t,sink:n}=this.opts,r=t.total_bytes,o=d3(t.regions),s=Math.max(1,this.opts.concurrency??1),i=0,a=0,l=[],c,u=async(d,p)=>{this.opts.signal?.throwIfAborted(),p.sort((b,k)=>b.dest_offset-k.dest_offset);let f=p3(p),h=await n.openFile(d,f),g=0;try{for(let b of p){this.opts.signal?.throwIfAborted(),c=d,this.opts.onProgress?.({bytesWritten:i,totalBytes:r,currentFile:c});let k=0,w=await this.writeRegion(b,h,y=>{a+=y-k,k=y,this.opts.onProgress?.({bytesWritten:a,totalBytes:r,currentFile:c})});g+=w,i+=w}await h.close()}catch(b){throw await h.abort?.(b),b}return{path:d,bytesWritten:g}};if(s===1)for(let[d,p]of o)l.push(await u(d,p));else{let d=Array.from(o.entries()),p=0,f=[];for(let h=0;h<Math.min(s,d.length);h++)f.push((async()=>{for(;p<d.length;){let g=p++;if(g>=d.length)break;let[b,k]=d[g],w=await u(b,k);l.push(w)}})());await Promise.all(f)}return await n.closeCollection(),this.opts.onProgress?.({bytesWritten:i,totalBytes:r}),{bytesWritten:i,perFile:l}}async writeRegion(t,n,r){if(t.length===0)return 0;switch(t.source.kind){case"inline":return await n.writeAt(t.dest_offset,t.source.bytes),r?.(t.source.bytes.length),t.source.bytes.length;case"file":{let o=this.opts.files.get(t.source.basename);if(!o)throw new Error(`LocalDirectoryExecutor: file not found in files map: "${t.source.basename}"`);let s=16*1024*1024,i=t.source.offset,a=0;for(;a<t.length;){let l=Math.min(s,t.length-a),c=o.slice(i+a,i+a+l),u=new Uint8Array(await c.arrayBuffer());await n.writeAt(t.dest_offset+a,u),a+=l,r?.(a)}return t.length}case"zero":return 0;case"pack":throw new Error("LocalDirectoryExecutor: `pack` regions require the CAS executor, not a local-file executor")}}};function d3(e){let t=new Map;for(let n of e){let r=t.get(n.dest_file);r?r.push(n):t.set(n.dest_file,[n])}return t}function p3(e){let t=0;for(let n of e){let r=n.dest_offset+n.length;r>t&&(t=r)}return t}var uc=class{constructor(t){this.opts=t}async execute(){return cc({layout:this.opts.layout,totalBytes:this.opts.totalBytes},this.opts.files,this.opts.sink,{onProgress:this.opts.onProgress,signal:this.opts.signal})}};import{mkdir as m3,open as mv}from"node:fs/promises";import{dirname as f3,join as h3}from"node:path";function fv(e){let t=!1;return{async reserveSize(n){await e.truncate(n)},async writeAt(n,r){if(t)throw new Error("nodeFileStream: closed");let o=Buffer.from(r.buffer,r.byteOffset,r.byteLength);await e.write(o,0,r.byteLength,n)},async close(){t||(t=!0,await e.close())},async abort(n){if(!t){t=!0;try{await e.close()}catch{}}}}}async function dc(e){let t=await mv(e,"w");return fv(t)}function pc(e){return{async openFile(t,n){let r=h3(e,t);await m3(f3(r),{recursive:!0});let o=await mv(r,"w"),s=fv(o);return await s.reserveSize(n),s},async closeCollection(){}}}async function Gm(e){let t=Um(e),n=new TextEncoder().encode(t),r=await crypto.subtle.digest("SHA-256",n);return Array.from(new Uint8Array(r)).map(o=>o.toString(16).padStart(2,"0")).join("")}function Um(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(Um).join(",")}]`;let t=e;return`{${Object.keys(t).sort().map(o=>`${JSON.stringify(o)}:${Um(t[o])}`).join(",")}}`}var b3="i2o-2026-05-08",y3=1;function hv(e){let t=e?.created_at?Date.parse(e.created_at):NaN;return Number.isFinite(t)?t:ci}async function gv(e){let[t,n]=await Promise.all([Gm(e.session),Gm(e.layoutIntent)]);return{payload:{v:1,conform_tools_version:b3,session_sha256:t,delivery_intent_sha256:n,layout_fn_version:y3,written_at:e.writtenAt??new Date(ci).toISOString(),...e.sessionIdHint?{session_id_hint:e.sessionIdHint}:{}},session_sha256:t,delivery_intent_sha256:n}}function mc(e){return e.map((t,n)=>({partNumber:t.output_part_number??n+1,clipNumber:t.output_clip_number,clipCount:t.output_clip_count,plan:t}))}function w3(e,t,n,r=""){let o=Hr(t),s=o?o.clipBase:t.replace(/\.R3D$/i,""),i=`${s}_${String(n).padStart(3,"0")}.R3D`,a=e.split("/");return a.pop(),a.length&&/\.rdc$/i.test(a[a.length-1])&&a.pop(),[...a,`${s}${r}.RDC`,i].join("/")}function k3(e){let t=e.clipCount??1;if(t<=1)return"";let n=Math.max(3,String(t).length);return`_S${String(e.clipNumber??1).padStart(n,"0")}`}function _3(e){let t=new Map;for(let n of e){let r=Hr(n.basename),o=r?r.clipBase:n.basename,s=t.get(o);s?s.push(n):t.set(o,[n])}for(let n of t.values())n.sort((r,o)=>(Hr(r.basename)?.partNumber??0)-(Hr(o.basename)?.partNumber??0));return[...t.values()]}async function fc(e){let t=[],n=new Map,r=[],o=0;for(let s of _3(e.parts)){let i=s[0];if(new Set(s.map(l=>l.basename)).size!==s.length){let l=Hr(i.basename),c=l?l.clipBase:i.basename.replace(/\.R3D$/i,""),u={reason:"duplicate .R3D part filenames in one send (same clip name in two .RDC folders \u2014 e.g. re-sending two _S### islands of one source); byte-identical routing would be ambiguous"};console.warn(`[r3d-trim-pass] DROPPING R3D clip "${c}" fail-closed:`,u.reason),r.push({clipBase:c,parts:s.map(d=>d.basename),reason:u});continue}let a;try{a=await e.planClip(s)}catch(l){let c=So(l);if(!c)throw l;let u=Hr(i.basename),d=u?u.clipBase:i.basename.replace(/\.R3D$/i,"");console.warn(`[r3d-trim-pass] DROPPING R3D clip "${d}" fail-closed \u2014 delivery coverage miss (cut not within the file's real frames); NOT whole-filing:`,c),r.push({clipBase:d,parts:s.map(p=>p.basename),reason:c});continue}for(let l of s)n.set(l.basename,l.file);for(let l of a){let c=w3(i.destPathHint,i.basename,l.partNumber,k3(l));t.push(...ia(l.plan,c,i.basename)),o+=l.plan.src_byte_ranges.reduce((u,d)=>u+d.length,0)}}return{regions:t,filesByBasename:n,bytes:o,dropped:r}}function bv(e){switch(e){case"trim":return{mode:"trim"};case"skeleton":return{mode:"sparse",populate:{structural:!0}};case"sparse":return{mode:"sparse",populate:{structural:!0,segments:!0}};case"full":return{mode:"sparse",populate:{structural:!0,full:!0}}}}var v3=2048,ao=".conform",yv=`${ao}/delivery.json`;function wv(e,t){let n=new Set;for(let s of e.timelines)for(let i of s.tracks)for(let a of i.items)a.media_reference_id&&n.add(a.media_reference_id);let r=(e.media_references??[]).filter(s=>n.has(s.id)).map(s=>{let{local_path:i,target_url:a,...l}=s;return{...l,target_url:a&&a.split(/[\\/]/).pop()}}),o={v:1,timelines:e.timelines,media_references:r,handles:t};return new TextEncoder().encode(JSON.stringify(o))}var hc=class{constructor(t,n,r,o){this.img=t;this.info=n;this.f=r;this.name=o;this.size=r.totalSize}slice(t=0,n=this.size){let r=Math.max(0,Math.min(t,this.size)),o=Math.max(r,Math.min(n,this.size)),{img:s,info:i,f:a}=this;return{size:o-r,async arrayBuffer(){let l=new Uint8Array(o-r);for(let c of Wn(a)){let u=Math.max(r,c.offset),d=Math.min(o,c.offset+c.length);d>u&&l.set(await s.read((i.partitionStartSector+c.imageSector)*v3+(u-c.offset),d-u),u-r)}return l.buffer}}}async arrayBuffer(){return this.slice().arrayBuffer()}dataRanges(){return Wn(this.f).map(({offset:t,length:n})=>({offset:t,length:n}))}},Ko=e=>e.split("/").pop()||e,Hm=e=>e.startsWith("02_MEDIA/")||e.startsWith("03_PROXIES/");async function zm(e){let t=await zn(e);return{image:e.size(),recipes:t.files.filter(n=>n.name.startsWith(`${ao}/`)).length,files:t.files.filter(n=>!n.name.startsWith(`${ao}/`)&&n.name!==".i2o-manifest.json").map(n=>({name:n.name,size:n.totalSize,recorded:Wn(n).reduce((r,o)=>r+o.length,0)}))}}async function kv(e,t){let n=t.files.filter(i=>i.name.startsWith(`${ao}/delivery`)&&i.name.endsWith(".json"));if(!n.length)return null;let r=[],o=new Map,s=0;for(let i of n){let a=JSON.parse(new TextDecoder().decode(await new hc(e,t,i,i.name).arrayBuffer()));r.push(...a.timelines);for(let l of a.media_references)l.id&&o.set(l.id,l);s=Math.max(s,a.handles??0)}return{session:{timelines:r,media_references:[...o.values()]},handles:s}}async function _v(e,t){let n=await kv(e,t);return n?{timelines:n.session.timelines,media:n.session.media_references??[],handles:n.handles}:{timelines:[],media:[],handles:0}}async function Wm(e,t,n={}){let r=await zn(e),o=w=>!n.only?.length||n.only.some(y=>w.includes(y)),s=await kv(e,r),i=new Map,a=new Map,l=[];for(let w of r.files){if(w.name.startsWith(`${ao}/`)||w.name===".i2o-manifest.json"||!o(w.name))continue;let y=new hc(e,r,w,Ko(w.name));Hm(w.name)&&rr(Ko(w.name))?l.push({udfPath:w.name,basename:Ko(w.name),file:y}):Hm(w.name)&&s?i.set(Ko(w.name),y):a.set(w.name,y)}n.onProgress?.(0,0,"planning trims");let c=[],u={regions:[],total_bytes:0,dest_files:[],source_basenames:[]};if(s&&i.size){let w={format:"folder",folder_layout:"canonical-i2o",per_file_mode:{mode:"trim"},handles:s.handles},y={...s.session,media_references:(s.session.media_references??[]).filter(_=>i.has(Ko(_.target_url??""))).map(_=>({..._,binding_state:"linked"}))};u=await Hs(Wo(y,w),i,y,w);for(let _ of u.untrimmable??[])c.push(`${_.basename}: ${_.reason}`)}else if(!s)for(let w of a.keys())Hm(w)&&c.push(`${Ko(w)}: no recipe in this .iso \u2014 written as stored`);let d=await fc({parts:l.map(w=>({basename:w.basename,destPathHint:w.udfPath,file:w.file,dataRanges:w.file.dataRanges()})),planClip:async w=>{let y=Ca("r3d",w.map(_=>({filename:_.basename,fileSize:_.file.size,dataRanges:_.dataRanges??[],read:(v,T)=>_.file.slice(v,v+T).arrayBuffer().then($=>new Uint8Array($))})));return mc(await $o(y,{verb:"trim",selection:{items:[],handles:0}}))}}),p=new Set([...u.dest_files,...d.regions.map(w=>w.dest_file)]),f=[];for(let[w,y]of a)p.has(w)||f.push({dest_file:w,dest_offset:0,length:y.size,source:{kind:"file",basename:w,offset:0}});for(let[w,y]of i){let _=r.files.find(v=>Ko(v.name)===w).name;!u.dest_files.includes(_)&&!u.regions.some(v=>v.source.kind==="file"&&v.source.basename===w)&&(f.push({dest_file:_,dest_offset:0,length:y.size,source:{kind:"file",basename:_,offset:0}}),a.set(_,y),c.push(`${w}: not in the recipe's cut \u2014 written as stored`))}let h=[...u.regions,...d.regions,...f],g={regions:h,total_bytes:h.reduce((w,y)=>w+y.length,0),dest_files:[...new Set(h.map(w=>w.dest_file))],source_basenames:[]},b=new Map([...i,...a,...d.filesByBasename]);await Ve(t);let k=await new zs({layout:g,files:b,sink:pc(t),signal:n.signal,concurrency:4,onProgress:w=>n.onProgress?.(w.bytesWritten,w.totalBytes,"writing trims")}).execute();return{files:g.dest_files.length,bytes:k.bytesWritten,untrimmed:c}}import{open as Km}from"node:fs/promises";import{createServer as T3}from"node:http";function vv(e,t=8*1024*1024,n=32){let r=new Map,o=(s,i)=>{let a=`${s}@${i}`,l=r.get(a);if(l)return r.delete(a),r.set(a,l),l;if(l=e(s,i*t,t).catch(c=>{throw r.delete(a),c}),r.set(a,l),r.size>n){let c=r.keys().next().value;c!==void 0&&r.delete(c)}return l};return async(s,i,a)=>{let l=Math.floor(i/t),c=Math.floor((i+a-1)/t);if(l===c){let f=await o(s,l),h=i-l*t;return f.subarray(h,Math.min(h+a,f.length))}let u=await Promise.all(Array.from({length:c-l+1},(f,h)=>o(s,l+h))),d=new Uint8Array(a),p=0;for(let f=0;f<u.length;f++){let h=u[f],g=(l+f)*t,b=Math.max(0,i-g),k=Math.min(h.length,i+a-g);k>b&&(d.set(h.subarray(b,k),p),p+=k-b)}return p===a?d:d.subarray(0,p)}}async function Vo(e,t=!1){let n=await Km(e,t?"r+":"r"),r=(await n.stat()).size;return{read:async(o,s)=>{let i=new Uint8Array(s),{bytesRead:a}=await n.read(i,0,s,o);return a===s?i:i.subarray(0,a)},write:async(o,s)=>{await n.write(s,0,s.length,o),r=Math.max(r,o+s.length)},getSize:async()=>r,setSize:async o=>{await n.truncate(o),r=o},size:()=>r,close:()=>n.close()}}var x3=4<<20;async function Vm(e,t=fetch){let n=await e(),r=async(a,l)=>{for(let c=0;;c++){let u=await t(n,{headers:{range:`bytes=${a}-${a+l-1}`}});if(u.status===403&&c===0){await u.body?.cancel(),n=await e();continue}if(u.status===416)return await u.body?.cancel(),new Uint8Array(0);if(!u.ok)throw new Error(`reading the .iso: ${u.status} ${(await u.text()).slice(0,200)}`);if(u.status===200&&a>0)throw new Error("the bucket ignored the byte range (no ranged GET)");return new Uint8Array(await u.arrayBuffer())}},o=await t(n,{headers:{range:"bytes=0-0"}});await o.body?.cancel();let s=Number(/\/(\d+)$/.exec(o.headers.get("content-range")??"")?.[1]??o.headers.get("content-length"));if(!o.ok||!Number.isFinite(s))throw new Error(`reading the .iso: ${o.status}`);let i=vv((a,l,c)=>r(l,Math.min(c,s-l)),1<<20,64);return{read:(a,l)=>{let c=Math.max(0,Math.min(l,s-a));return c?c<x3?i("iso",a,c):r(a,c):Promise.resolve(new Uint8Array(0))},write:()=>Promise.reject(new Error("a bucket .iso is read-only here (add_to patches an overlay)")),getSize:async()=>s,size:()=>s,close:async()=>{}}}function S3(e){let t=[];for(let n of[...e].sort((r,o)=>r.offset-o.offset)){let r=t[t.length-1];r&&n.offset<=r.offset+r.length?r.length=Math.max(r.length,n.offset+n.length-r.offset):t.push({...n})}return t}async function Tv(e,t){let n=await Km(t,"w+"),r=[],o=e.size();return{read:async(i,a)=>{a=Math.max(0,Math.min(a,o-i));let l=new Uint8Array(a),c=Math.max(0,Math.min(a,e.size()-i));c>0&&l.set(await e.read(i,c),0);for(let u of r){let d=Math.max(u.offset,i),p=Math.min(u.offset+u.length,i+a);p>d&&await n.read(l,d-i,p-d,d)}return l},write:async(i,a)=>{await n.write(a,0,a.length,i),r=S3([...r,{offset:i,length:a.length}]),o=Math.max(o,i+a.length)},getSize:async()=>o,setSize:async i=>{o=i},size:()=>o,writes:()=>r,scratch:t,close:()=>n.close()}}async function xv(e){let t=T3((n,r)=>void(async()=>{let o=e.size(),s=/bytes=(\d+)-(\d*)/.exec(n.headers.range??""),i=s?Number(s[1]):0,a=s&&s[2]?Math.min(Number(s[2])+1,o):o;if(r.writeHead(s?206:200,{"Accept-Ranges":"bytes","Content-Length":a-i,...s?{"Content-Range":`bytes ${i}-${a-1}/${o}`}:{}}),n.method==="HEAD")return r.end();for(let l=i;l<a;l+=8388608)r.write(await e.read(l,Math.min(8388608,a-l)));r.end()})().catch(()=>{r.headersSent||r.writeHead(503),r.end()}));return await new Promise(n=>t.listen(0,"127.0.0.1",n)),{url:`http://127.0.0.1:${t.address().port}/disk.iso`,close:()=>new Promise(n=>t.close(()=>n()))}}async function Sv(e){if(Xt()!=="darwin")throw new Error("a live mount needs macOS (hdiutil attaches the image over HTTP); fetch the .iso or its trims elsewhere");let{execFile:t}=await import("node:child_process"),n=await new Promise((o,s)=>t("/usr/bin/hdiutil",["attach",e,"-readonly","-noverify","-noautoopen"],(i,a,l)=>i?s(new Error(l||i.message)):o(a))),r=n.trim().split(`
253
253
  `).map(o=>o.split(" ").pop().trim()).filter(o=>o.startsWith("/")).pop();if(!r)throw new Error(`hdiutil attached nothing: ${n}`);return{mountpoint:r,detach:()=>new Promise(o=>t("/usr/bin/hdiutil",["detach",r,"-force"],()=>o()))}}async function $v(e,t,n,r,o=32<<20){let s=await Km(t,"w"),i=e.size(),a=0,l=0;try{await s.truncate(i),await Promise.all(Array.from({length:4},async()=>{for(;a<i;){r?.throwIfAborted();let c=a;a+=o;let u=await e.read(c,Math.min(o,i-c));await s.write(u,0,u.length,c),l+=u.length,n?.(l,i)}}))}finally{await s.close()}return i}var Jo=class e extends File{#e;constructor(t,n,r){super([],n),this.path=t,this.#e=r}get size(){return this.#e}static async open(t,n=fe(t)){return new e(t,n,(await Bt(t)).size)}slice(t=0,n=this.size){let r=Math.max(0,t),o=Math.min(this.size,n),s=this.path;return{size:o-r,async arrayBuffer(){let i=await ou(s);try{let a=await i.readAt(r,o-r);return a.buffer.slice(a.byteOffset,a.byteOffset+a.byteLength)}finally{await i.close()}}}}arrayBuffer(){return this.slice().arrayBuffer()}stream(){let t=this;return new ReadableStream({async start(n){n.enqueue(new Uint8Array(await t.arrayBuffer())),n.close()}})}text(){return this.arrayBuffer().then(t=>new TextDecoder().decode(t))}static async openClip(t){let n=rr(fe(t))?await pi(t):[t];return n.length<2?e.open(t):new Jm(t,await Promise.all(n.map(async r=>({path:r,name:fe(r),size:(await Bt(r)).size}))))}},Jm=class extends Jo{constructor(t,n){super(t,fe(t),n.reduce((o,s)=>o+s.size,0)),this.parts=n;let r=0;this.bases=n.map(o=>(r+=o.size)-o.size)}slice(t=0,n=this.size){let r=Math.max(0,t),o=Math.min(this.size,n),s=this;return{size:Math.max(0,o-r),async arrayBuffer(){let i=new Uint8Array(Math.max(0,o-r));for(let a=0;a<s.parts.length;a++){let l=Math.max(r,s.bases[a]),c=Math.min(o,s.bases[a]+s.parts[a].size);if(l>=c)continue;let u=await ou(s.parts[a].path);try{i.set(await u.readAt(l-s.bases[a],c-l),l-r)}finally{await u.close()}}return i.buffer}}}};async function Rv(e,t){let n=new Map,r=[],o=new Set;for(let s of e.timelines)for(let i of s.tracks)for(let a of i.items)a.media_reference_id&&o.add(a.media_reference_id);for(let s of e.media_references??[]){if(!o.has(s.id))continue;let i=s.local_path??s.target_url;if(!i){r.push(`${s.id}: no path`);continue}if(t.only_linked&&s.binding_state!=="linked"){r.push(`${s.id} ${fe(i)}: not linked (run timeline_relink, or only_linked=false)`);continue}if(!await Ye(i)){r.push(`${s.id} ${i}: not on this machine`);continue}if(!Ea.has(Hn(i).toLowerCase())){r.push(`${s.id} ${fe(i)}: unsupported container`);continue}for(let a of await pi(i))n.set(fe(a),await Jo.open(a))}return{files:n,skipped:r}}var $3=new Set(["resolve-xmeml","flame-fcpxml","resolve-otio","premiere-otio"]);async function Cv(e,t,n){let r=await Ye(t)?[{name:fe(t),data:await Ut(t)}]:[],o=[],s=[];for(let a of n){let l=qa(a),c=await c1(l,e),u=typeof c.body=="string"?new TextEncoder().encode(c.body):c.body;if(l==="finalcut-fcpxmld"){for(let[d,p]of Object.entries(cs(u)))d.endsWith("/")||o.push({filename:d,bytes:p,text:!0});for(let d of c.issues??[])s.push(`${l}: ${d.message}`);continue}o.push({filename:c.filenameSuggestion,bytes:u,text:$3.has(l)});for(let d of c.issues??[])s.push(`${l}: ${d.message}`)}return{timelineFile:o.length?{bytes:o[0].bytes,filename:o[0].filename,isConversion:!0}:void 0,sourceFiles:r,exchangeFiles:o.slice(1),issues:s}}function R3(e,t){let n=t.filter(r=>r.bytes).map(r=>({dest_file:r.path,dest_offset:0,length:r.bytes.length,source:{kind:"inline",bytes:r.bytes}}));return n.length?{...e,regions:[...e.regions,...n],dest_files:[...new Set([...e.dest_files,...n.map(r=>r.dest_file)])],total_bytes:e.total_bytes+n.reduce((r,o)=>r+o.length,0)}:e}var Av=(e,t,n,r)=>["deliver",...t.length?["untrimmable"]:[],...n.length?["skipped"]:[],...e.length?["capability"]:[],...r?[]:["iso_unverified"]];async function Ev(e,t,n){let{files:r,skipped:o}=await Rv(e,{only_linked:n.only_linked});if(!r.size)throw new Error(`nothing to deliver \u2014 no linked media on this machine${o.length?`:
254
254
  - ${o.join(`
255
255
  - `)}`:""}`);let s=n.volume_name??fe(n.out_path),i=await Cv(e,t,n.timeline_formats),{entries:a}=Nm(e,r,{volumeName:s,preserveStructure:n.preserve_structure,timelineFile:i.timelineFile,sourceFiles:i.sourceFiles,exchangeFiles:i.exchangeFiles,handles:n.handles}),l={format:"folder",volume_name:s,folder_layout:"canonical-i2o",per_file_mode:{mode:"trim"},handles:n.handles},c=Wo(e,l),u=[...r.keys()].filter(rr),d=u.length?{...e,media_references:(e.media_references??[]).filter(w=>!rr(fe(w.target_url??"")))}:e,p=await Hs(c,r,d,l),f=[];if(u.length){let w=new Map;for(let x of c.regions){let R=fe(x.dest_file);rr(R)&&w.set(R,x.dest_file)}let y=Bm(e),_=qm(e),v=await fc({parts:u.map(x=>({basename:x,destPathHint:w.get(x)??`02_MEDIA/${x}`,file:r.get(x)})),planClip:async x=>{let R=_.get(x[0].basename),C=pv(R?y.get(R.id)??[]:[],R,R?.source_fps??24),B=await $o(N1(x.map(L=>L.file)),{verb:"trim",selection:{items:C,handles:n.handles}});return mc(B)}});f=v.dropped??[];let $=[...p.regions.filter(x=>!rr(fe(x.dest_file))),...v.regions];p={...p,regions:$,total_bytes:$.reduce((x,R)=>x+R.length,0),dest_files:[...new Set($.map(x=>x.dest_file))],source_basenames:[...new Set($.map(x=>x.source.kind==="file"?x.source.basename:"").filter(Boolean))]}}p=R3(p,a);let h=p.regions.filter(w=>w.source.kind!=="file"||r.has(w.source.basename));p={...p,regions:h,dest_files:[...new Set(h.map(w=>w.dest_file))],total_bytes:h.reduce((w,y)=>w+y.length,0)},await Ve(n.out_path);let g=await new zs({layout:p,files:r,sink:pc(n.out_path)}).execute(),b=[...p.untrimmable??[],...f],k=[...r.values()].reduce((w,y)=>w+y.size,0);return{text:[`delivered ${p.dest_files.length} file(s), ${(g.bytesWritten/1e6).toFixed(1)} MB (sources ${(k/1e6).toFixed(1)} MB) \u2192 ${n.out_path}`,...p.dest_files.map(w=>`- ${w}`),...i.issues.length?["timeline capability issues:",...i.issues.map(w=>` - ${w}`)]:[],...b.length?["not shipped (could not be trimmed \u2014 never shipped whole):",...b.map(w=>` - ${w.basename}: ${w.reason}`)]:[],...o.length?["skipped:",...o.map(w=>` - ${w}`)]:[]].join(`
@@ -370,9 +370,9 @@ ${(s??[]).map(a=>`note: ${a}
370
370
  ${(await Cr(p)).replace(/^/gm," ")}`}catch(p){u+=`
371
371
  read failed: ${p instanceof Error?p.message:String(p)}`}a.push(u)}return Q(a.join(`
372
372
 
373
- `),{hosts:l})}catch(s){return ee(s)}}},{name:"host_export",hidden:!0,protectedStages:["canonicalize"],title:"Export a timeline from the running host",description:`Ask the running host to export a timeline in its own format, through its scripting door (read-only on the project), and read it into a session. Resolve: any timeline of the open project by name (default: the one in the viewer) as Resolve's own .drt. Baselight: a scene (default: the one open in the app; or "host:job:scene") read shot by shot through FLAPI into an OTIO. Premiere, Media Composer, Flame: through the conform.tools plugin in the host (host_setup says how to install it), as OTIO (Premiere / Media Composer: the host's own export; Flame: the timeline as the plugin reads it). Use when host_current cannot read the open timeline from disk (a PostgreSQL project library, a timeline never saved), or to pick a timeline by name.`,inputSchema:{host:m.enum(Zt).describe("The host to export from"),timeline:m.string().optional().describe("Timeline name; the open one when omitted"),out_path:m.string().optional().describe("Where to write the file; a temp file when omitted"),read:m.boolean().default(!0).describe("Also read it into a session (session_id in the reply)")},run:async({host:e,timeline:t,out_path:n,read:r})=>{try{if(e==="premiere"&&!n&&r!==!1){let{premiereSession:l}=await import("./host-relink-MVHI3YQI.js"),c=an("premiere"),u=await l(c,t).catch(d=>{if(d.code==="panel_old")return null;throw d});if(u){let d=await Kn(u.session,u.path,/\.otio$/i.test(u.path)?"otio":"prproj"),p=await c.current(),f=u.session.timelines[0]?.name??t??p.timeline;return Q([`read ${p.project} / ${f} from ${u.from}`,...u.lossy?[`\u26A0 ${u.lossy}`]:[],`session_id: ${d.id}`,await Cr(u.session)].join(`
373
+ `),{hosts:l})}catch(s){return ee(s)}}},{name:"host_export",hidden:!0,protectedStages:["canonicalize"],title:"Export a timeline from the running host",description:`Ask the running host to export a timeline in its own format, through its scripting door (read-only on the project), and read it into a session. Resolve: any timeline of the open project by name (default: the one in the viewer) as Resolve's own .drt. Baselight: a scene (default: the one open in the app; or "host:job:scene") read shot by shot through FLAPI into an OTIO. Premiere, Media Composer, Flame: through the conform.tools plugin in the host (host_setup says how to install it), as OTIO (Premiere / Media Composer: the host's own export; Flame: the timeline as the plugin reads it). Use when host_current cannot read the open timeline from disk (a PostgreSQL project library, a timeline never saved), or to pick a timeline by name.`,inputSchema:{host:m.enum(Zt).describe("The host to export from"),timeline:m.string().optional().describe("Timeline name; the open one when omitted"),out_path:m.string().optional().describe("Where to write the file; a temp file when omitted"),read:m.boolean().default(!0).describe("Also read it into a session (session_id in the reply)")},run:async({host:e,timeline:t,out_path:n,read:r})=>{try{if(e==="premiere"&&!n&&r!==!1){let{premiereSession:l}=await import("./host-relink-BYLBYTPH.js"),c=an("premiere"),u=await l(c,t).catch(d=>{if(d.code==="panel_old")return null;throw d});if(u){let d=await Kn(u.session,u.path,/\.otio$/i.test(u.path)?"otio":"prproj"),p=await c.current(),f=u.session.timelines[0]?.name??t??p.timeline;return Q([`read ${p.project} / ${f} from ${u.from}`,...u.lossy?[`\u26A0 ${u.lossy}`]:[],`session_id: ${d.id}`,await Cr(u.session)].join(`
374
374
  `),{path:u.path,format:/\.otio$/i.test(u.path)?"otio":"prproj",project:p.project,timeline:f,session_id:d.id,from:u.from})}}let o=n??re(await It("conform-export-"),`${(t??"current").replace(/[^\w.-]+/g,"_")}.${e==="resolve"?"drt":"otio"}`),s=await an(e).export({timeline:t,out_path:o}),i=[`exported ${s.project} / ${s.timeline} \u2192 ${s.path} (${s.format})`,...(s.notes??[]).map(l=>`\u26A0 ${l}`)].join(`
375
- `),a={...s};if(r!==!1){let{session:l,format:c}=await ds(s.path,s.format);e==="resolve"&&await(await import("./host-relink-MVHI3YQI.js")).withOfflineReference(an("resolve"),l).catch(()=>0),e==="premiere"&&await(await import("./host-relink-MVHI3YQI.js")).withPremiereTimecodes(an("premiere"),l).catch(()=>0);let u=await Kn(l,s.path,c);i+=`
375
+ `),a={...s};if(r!==!1){let{session:l,format:c}=await ds(s.path,s.format);e==="resolve"&&await(await import("./host-relink-BYLBYTPH.js")).withOfflineReference(an("resolve"),l).catch(()=>0),e==="premiere"&&await(await import("./host-relink-BYLBYTPH.js")).withPremiereTimecodes(an("premiere"),l).catch(()=>0);let u=await Kn(l,s.path,c);i+=`
376
376
  session_id: ${u.id}
377
377
  ${await Cr(l)}`,a.session_id=u.id}return Q(i,a)}catch(o){return ee(new P("refused",o instanceof Error?o.message:String(o)))}}},{name:"host_open",protectedStages:["write"],title:"Open a timeline file in the running host",description:`Import a timeline file into the running host as a NEW timeline (never overwrites one; a taken name gets a number). Resolve: into the open project's conform.tools media pool folder (into=current, the default), or into our scratch project (into=scratch: the user's project is saved first, then reopened). Baselight: a NEW scene in the open scene's job (into=current) or our job conform_tools (into=scratch), V1 built shot by shot from the file's media paths, saved; the scene in the app is never touched. folder (Resolve): the media pool folder to land it in, by path under Master, e.g. "000 - TIMELINES/20261006" (learn the project's layout with host_project first); a missing folder is refused unless create_folder=true. link_existing=true links the timeline to clips already in the media pool (no duplicate clips; Resolve importSourceClips off): the way to bring an insert/update timeline into a project that has the media. The user's timeline, folder and page are put back afterwards unless stay=true. Use after timeline_write to land a conversion in the host, or to bring a turnover in for checking. Premiere, Media Composer, Flame: through the host's conform.tools plugin, into the open project (Flame: the CONFORM.TOOLS reel group on the desktop, segments relinked to media on disk). session_id (+ timeline_id) opens a session's timeline directly \u2014 the push half of a Resolve tool: host_current via=export \u2192 timeline_edit add_handles / all_clips \u2192 host_open session_id timeline_id link_existing=true.`,inputSchema:{host:m.enum(Zt).describe("The host to open it in"),path:m.string().optional().describe("The timeline file (Resolve: .drt, .xml, .fcpxml, .aaf, .edl, .otio); or give session_id"),session_id:m.string().optional().describe("Open a timeline of this session instead of a file (written here first in the host's own format: .drt Resolve, .prproj Premiere, .avb Media Composer, .fcpxml Flame)"),timeline_id:m.string().optional().describe("With session_id: which timeline (e.g. the one timeline_edit just built); default the session's first"),name:m.string().optional().describe("Timeline name; the file name (or the session timeline's name) when omitted"),into:m.enum(["current","scratch"]).default("current").describe("current: the open project; scratch: our own project"),media_dirs:m.array(m.string()).optional().describe("Folders to link media from while importing"),stay:m.boolean().default(!1).describe("Leave the host showing the imported timeline"),folder:m.string().optional().describe('Resolve: media pool folder path to import into, e.g. "000 - TIMELINES/20261006" (default: conform.tools)'),create_folder:m.boolean().default(!1).describe("Create the folder (and its parents) when missing"),link_existing:m.boolean().default(!1).describe("Link to clips already in the media pool instead of importing new ones"),settings_from:m.string().optional().describe("Resolve: a timeline whose settings the new one takes (resolution, rate, color science and spaces, data levels, monitoring), verified; if a critical one does not take, the new timeline is deleted and the open refused")},run:async({host:e,path:t,session_id:n,timeline_id:r,name:o,into:s,media_dirs:i,stay:a,folder:l,create_folder:c,link_existing:u,settings_from:d})=>{try{if(n){let h=await ft(n),g=h.session.timelines.find(_=>_.id===r)??h.session.timelines.find(_=>_.kind!=="compound");if(!g)return ee(new P("not_found",`no timeline ${r??""} in session ${n}`));let b={...h.session,timelines:h.session.timelines.filter(_=>_.id===g.id||_.kind==="compound")},[k,w]=m$[e]??m$.resolve;t=(await Cu(b,k,re(await It("conform-open-"),`${g.name.replace(/[^\w.-]+/g,"_")}.${w}`),h.source_path)).path,o??=g.name}if(!t)return ee(new P("invalid_args","host_open needs path or session_id"));let p=await an(e).open({path:t,name:o,into:s,media_dirs:i,stay:a,folder:l,create_folder:c,link_existing:u,...d?{settings_from:d}:{}}),f=[`opened in ${e}: ${p.project} / ${p.timeline}${p.folder?` (media pool: ${p.folder})`:""}`,p.restored?"the user's timeline, folder and page were put back":"left showing the imported timeline",...u?["linked to clips already in the media pool (no new clips imported)"]:[],...p.settings?[`timeline settings from ${d}: ${p.settings}, verified`]:[],...p.notes];return Q(f.join(`
378
378
  `),{...p})}catch(p){return ee(new P("refused",p instanceof Error?p.message:String(p)))}}},{name:"host_render",long:!0,title:"Render a timeline in the running host",description:`Render a timeline (or a frame range of it) with the host's own renderer and wait for the files. Only OUR job is queued and started; the user's render queue is never run, their Deliver settings are restored as soon as our job is queued, and their timeline and page come back when it finishes. Refuses while the host is already rendering. Resolve: preset = a render preset saved in Resolve (default: the project's current render settings); range = absolute timeline frames, inclusive; name = the output file name. Baselight: timeline = a scene (default: the one open in the app), preset = a deliverable defined in the scene (default: ProRes 422 HQ of the working space), queued on the local render queue as "conform.tools <name>". Premiere: preset = the path of a Media Encoder .epr. Flame (through its conform.tools hook): preset = one of Flame's export presets by name (required), range as Resolve's; Flame renders in the foreground and a running export cannot be cancelled from here. Picture only unless audio=true. audio_tracks (Resolve) = the Deliver page's audio output routing by timeline track, which its API cannot set: [1, 2] = A1 (5.1) on ch1-6 + A2 (stereo) on ch7-8 (an 8CH_5-1_STEREO deliverable), [2] = stereo only; set it whenever a name promises a channel layout. disable_tracks = video tracks to leave out of this render, by name (every track so named, e.g. ["Lower Thirds"] for a TEXTLESS version) or "V7": Resolve's API has no per-job track selection, so they are switched off on the Edit page (read back) for our job and switched back on when it ends. Resolve names the queued job itself ("Job N"); its API cannot. To QC the result, run qc_media on the rendered file. Long: pass background=true for a job id, then job action=status.`,inputSchema:{host:m.enum(Zt).describe("The host to render in"),timeline:m.string().optional().describe("Timeline name; the open one when omitted"),target_dir:m.string().optional().describe("Folder for the render; created if missing"),name:m.string().optional().describe("Output name without extension; the timeline name when omitted"),preset:m.string().optional().describe("A render preset saved in the host"),range:m.object({in:m.number().int(),out:m.number().int()}).optional().describe("Frame range, absolute timeline frames, inclusive"),audio:m.boolean().optional().describe("Render audio with the picture (default: off = picture only)"),disable_tracks:m.array(m.string()).optional().describe('Video tracks to leave out of this render, by name or "V7" (e.g. ["Lower Thirds"] for TEXTLESS)'),audio_tracks:m.array(m.number().int().positive()).optional().describe("Resolve: audio output n = timeline track audio_tracks[n], e.g. [1, 2] = 5.1 (A1) on ch1-6 + stereo (A2) on ch7-8; [2] = stereo only. Implies audio"),queue:m.boolean().default(!1).describe("Resolve: add the job to the render queue for the artist and stop there (nothing rendered)")},run:async({host:e,timeline:t,target_dir:n,name:r,preset:o,range:s,audio:i,disable_tracks:a,audio_tracks:l,queue:c,__progress:u,__signal:d})=>{let p=an(e);try{if(!n)return ee(new P("invalid_args","target_dir is required"));if(l?.length&&e!=="resolve")return ee(new P("unsupported","audio_tracks (output routing) is for DaVinci Resolve"));if(c&&e!=="resolve")return ee(new P("unsupported","queue (leave the job in the render queue) is for DaVinci Resolve"));let f=await p.renderStart({timeline:t,target_dir:n,name:r,preset:o,range:s,audio:(i??!1)||!!l?.length,...a?.length?{disable_tracks:a}:{},...l?.length?{audio_tracks:l}:{},...c?{queue:c}:{}});if(c)return Q(`queued in ${e}: ${r??t??"the timeline"} \u2192 ${n} (render queue job ${f.job_id}; nothing rendered \u2014 start it on the Deliver page)
@@ -382,7 +382,7 @@ ${a({...c.summary,name:c.preset})}`:""}
382
382
  prove it: host_render a ~11-frame range with this preset, then media_probe the channels`,c)}let l=await i.presets({...n?.length?{names:n}:{}});return Q([`${l.presets.length} render preset(s) in "${l.project}":`,...l.presets.map(a)].join(`
383
383
  `),l)}catch(i){return ee(new P("refused",i instanceof Error?i.message:String(i)))}}},{name:"host_project",title:"Learn the open host project: media pool, render queue, tracks",description:"Read-only look at the project open in the running host, to learn its conventions before acting. Resolve: the media pool folder tree with clip counts (clips=true lists every clip with its file, start TC and usage); find = file paths or name fragments to look up project-wide ('is this file already in the project? where?'); the render queue with each job's name, timeline, output folder/file, status, mark in/out and the settings Resolve reports; and every track of a timeline (default: the open one) with its name and enabled/locked state. Use before host_open (which folder) and host_render (which tracks are Lower Thirds, which job made the deliverable).",inputSchema:{host:m.enum(Zt).default("resolve").describe("The host"),timeline:m.string().optional().describe("Timeline whose tracks to list; the open one when omitted"),clips:m.boolean().default(!1).describe("List every clip in every folder (large projects: long)"),find:m.array(m.string()).optional().describe("File paths or name fragments to look up in the media pool"),used:m.boolean().default(!1).describe("Resolve: also the ids of every media pool clip any timeline holds (`used`), read from the timelines themselves"),project:m.string().optional().describe("Resolve: read another project of the library instead (it is opened, then the open one again)"),export_dir:m.string().optional().describe("Resolve: also write every timeline of the project as .drt into this folder (`exported`)"),grades:m.array(m.object({key:m.union([m.string(),m.number()]),timeline:m.string(),track:m.number(),start:m.number()})).optional().describe("Resolve: these clips' grades as gallery-still .drx files into grades_dir (`grades`: key \u2192 path), for a copy into another project"),grades_dir:m.string().optional()},run:async({host:e,timeline:t,clips:n,find:r,used:o,project:s,export_dir:i,grades:a,grades_dir:l})=>{try{let c=an(e??"resolve");if(!c.project)return ee(new P("unsupported",`${c.host}: host_project is not available for this host yet`));let u=await c.project({timeline:t,clips:n,find:r,...o?{used:o}:{},...s?{project:s}:{},...i?{export_dir:i}:{},...a?.length?{grades:a,grades_dir:l}:{}}),d=0,p=0,f=[],h=(b,k)=>{k&&(d++,f.push(`${" ".repeat(k)}${b.path.split("/").pop()} (${b.clips} clip${b.clips===1?"":"s"})`)),p+=b.clips;for(let w of b.clip_list??[])f.push(`${" ".repeat(k+1)}- ${w.name} ${w.file}${w.start_tc?` TC ${w.start_tc}`:""}${w.usage?` used ${w.usage}x`:""}`);for(let w of b.folders)h(w,k+1)};h(u.pool,0);let g=[`${e??"resolve"} project "${u.project}": ${d} media pool folders, ${p} clips; ${u.jobs.length} render job(s)${u.timeline?`; timeline "${u.timeline}" has ${u.tracks.length} tracks`:""}`];g.push("media pool:",...f.length?f:[" (no folders)"]);for(let[b,k]of Object.entries(u.found??{}))g.push(k.length?`find "${b}": ${k.map(w=>`${w.folder||"Master"}/${w.name} (${w.file||"no file"}${w.usage?`, used ${w.usage}x`:""})`).join("; ")}`:`find "${b}": not in the project`);u.jobs.length&&g.push("render queue:");for(let b of u.jobs){let k=b.MarkIn!=null?` frames ${b.MarkIn}-${b.MarkOut}`:"";g.push(` ${b.RenderJobName??b.JobId} [${b.JobStatus||"?"}] "${b.TimelineName??""}" \u2192 ${_h(String(b.TargetDir??""),String(b.OutputFilename??""))}${k}${b.VideoCodec?` ${b.VideoFormat??""} ${b.VideoCodec}`:""}${b.PresetName?` preset ${b.PresetName}`:""}`)}return u.tracks?.length&&g.push(`tracks: ${Ju(u.tracks)}`),Q(g.join(`
384
384
  `),u)}catch(c){return ee(new P("refused",c instanceof Error?c.message:String(c)))}}},{name:"host_items",title:"Live clip attributes in the host (color, flags, versions, groups)",description:"Resolve: per item of a timeline (default the open one) what its timeline file does not carry: clip color, flags, enabled, the loaded grade version, color group, node count, keywords, and its unique id. Items are addressed like timeline_query rows: kind + 1-based track + start (record frames from the timeline start), so the two join. Also the project's color groups and node-stack layer count. Read-only.",inputSchema:{host:m.enum(Zt).default("resolve").describe("The host (each says when it cannot do this yet)"),timeline:m.string().optional().describe("Timeline by name; the open one when omitted"),kind:m.enum(["video","audio"]).optional(),track:m.number().int().positive().optional(),selected:m.boolean().optional().describe("only the clips selected in the host's timeline right now: {selected: [{kind, track, start, id, name}]}"),follow:m.boolean().optional().describe("Resolve: only where the artist is (project, timeline, playhead) \u2014 cheap, for a window following Resolve"),blanking:m.boolean().optional().describe("Resolve: also the timeline's output blanking in pixels (Resolve 21.1 shows its Color page for a moment to answer)")},run:async({host:e,timeline:t,kind:n,track:r,selected:o,blanking:s,follow:i})=>{try{let a=an(e??"resolve");if(!a.items)return ee(new P("unsupported",`${a.host}: host_items is not available for this host yet`));if(i){let u=await a.items({timeline:t,follow:!0});return Q(`${u.project} / ${u.timeline} at ${u.playhead_tc}`,u)}if(o){let u=await a.items({timeline:t,selected:!0});return Q(`"${u.timeline}": ${u.selected.length} clip(s) selected`,u)}let l=await a.items({timeline:t,kind:n,track:r,...s?{blanking:s}:{}}),c=u=>l.items.filter(d=>d[u]&&(!Array.isArray(d[u])||d[u].length)).length;return Q(`"${l.timeline}": ${l.items.length} items; ${c("color")} with a clip color, ${c("flags")} flagged, ${l.items.filter(u=>!u.enabled).length} disabled; color groups: ${l.color_groups.join(", ")||"none"}`,l)}catch(a){return ee(new P("refused",a instanceof Error?a.message:String(a)))}}},{name:"host_apply",title:"Change clips in the open host timeline (color, flags, markers, grades, names)",description:"Resolve: carry out live edits on a timeline (default the open one), in order, each read back. Items are addressed {kind?, track, start} (a timeline_query row's track number and record start frame from the timeline start) or {id} (host_items). Ops: marker_add|marker_update|marker_delete {item?, frame, color?, name?, note?, duration?, data?, to_frame?} (no item = a timeline marker; frame from the timeline start, or from the clip's start for a clip marker); clip_color {item, color|''}; flags {item, add?:[color], clear?:color|'All'}; enabled {item, on}; name {item, name}; properties {item, set:{Pan, Tilt, ZoomX, ZoomY, RotationAngle, FlipX, CropLeft\u2026, Opacity, CompositeMode, RetimeProcess\u2026}}; metadata {item, set:{Keywords, Comments, Scene\u2026}} (the clip's media pool item); copy_grade {item, to:[item], from_timeline?} (verified by node count; from_timeline = the source item is in that timeline); copy_properties {item, to:[item], keys:[Pan, ZoomX, CropLeft, Opacity\u2026]} (the source's values as Resolve holds them); version {item, add|load|delete, type?:'local'|'remote'}; color_group {item, group|''}; cache {item, color?:bool, fusion?:'Auto'|'On'|'Off'}; fades {item, set}; output_blanking {item, set}; drx {item, path, graph?, mode?} (apply a .drx still); edit_keys {item, keys:[{t, transform, shape?}]} (timeline_align sizing_target edit, a move: Resolve cannot keyframe the Edit page from a script, so after every other op the moving clips are keyed on a copy, '<timeline> ALIGNED' \u2014 Resolve's own .drt of the timeline with only those clips' Transform keyed on Resolve's Edit-page law, every grade and setting as it was, linked to the same pool clips; the timeline itself is not changed); grade_sizing {item, target:'input'|'node', zoom, height?, rotation (degrees clockwise), pan, tilt (fractions of the timeline width / height, tilt up), flip_x?, flip_y?} (Color-page Input Sizing or node Sizing as timeline_align answers it, ADDED to the clip's grade as it stands on a new local version 'conform.tools aligned' (the colorist's version untouched; a grade that cannot be read is refused, never replaced); a clip on a remote version is moved onto its local one first; undo resets the grade and loads the remote version back); node_structure {item, node_structure: a .drx path} (that node tree onto the clip on a new local version 'conform.tools aligned', the colorist's own version untouched; undo goes back); copy_nodes {item, from:item, nodes:[label or number]} (only those nodes of the `from` clip's grade onto the clip: each node matched by label on both clips (a number = the source node of that number, by its label), the destination node's tools become the source's, every other node kept; on a new local version 'conform.tools nodes', checked node for node; undo goes back); lut {item, graph?, node, path}; playhead {tc} (move the playhead to a record timecode); pool_rename {clip:id, name}; pool_move {clips:[id], folder, create?}; pool_delete {clips:[id]}; pool_folder {folder:'A/B/C'} (make that media pool folder path, each missing level created); pool_import {paths:[file], folder:'A/B', at?:[frame]} (import files into that pool folder, made if missing; at = lay each on one new top video track at that frame from the timeline start; undo removes the track and what it added); track_delete {kind, index}; timeline_rename {timeline?, nth?, guid?, name} (nth = which of the sequences sharing that name, from 0; guid = exactly one: Premiere, where names repeat); timeline_duplicate {timeline?, name} (a copy under a name no timeline has, made the open one; answers its name); goto {timeline?, frame} (open that timeline with the playhead on frame, from its start). The reply has one result per op and an undo_id: host_apply {undo: undo_id} puts back everything that batch changed (pool_delete, copy_grade and drx cannot be undone). Changes the user's project: only when asked.",inputSchema:{host:m.enum(Zt).default("resolve").describe("The host (each says when it cannot do this yet)"),timeline:m.string().optional().describe("Timeline by name; the open one when omitted"),ops:m.array(m.object({op:m.string()}).passthrough()).optional().describe("The edits, in order (see description)"),undo:m.string().optional().describe("An undo_id from an earlier host_apply: put that batch back")},protectedStages:["canonicalize","write"],run:async({host:e,timeline:t,ops:n,undo:r})=>{try{let o=an(e??"resolve");if(!o.apply)return ee(new P("unsupported",`${o.host}: host_apply is not available for this host yet`));let s=re(tt(),"host-undo"),i=n;if(r){let p=JSON.parse(await ct(re(s,`${r.replace(/[^\w-]/g,"")}.json`)));i=p.ops,t=p.timeline}if(!i?.length)return ee(new P("usage","host_apply needs ops (or undo)"));let a=await o.apply({timeline:t,ops:i}),l;a.undo.length&&(l=`${Date.now().toString(36)}-${crypto.randomUUID().slice(0,6)}`,await Ve(s),await Ke(re(s,`${l}.json`),JSON.stringify({timeline:a.timeline,project:a.project,ops:a.undo})));let c=a.results.map((p,f)=>({...p,i:f})).filter(p=>!p.ok),d=[a.results.length>0&&a.results.every(p=>p.ok&&p.op==="timeline_discard")?`deleted ${a.timeline} from the project`:`${r?"undid":"applied"} ${a.applied}/${a.results.length} on "${a.timeline}" (${a.project})${l?`; undo_id: ${l}`:""}`];for(let p of c.slice(0,20))d.push(` #${p.i+1} ${p.op}: ${p.detail??(p.refused?`refused ${p.refused.join(", ")}`:"Resolve refused")}`);return c.length>20&&d.push(` \u2026and ${c.length-20} more`),Q(d.join(`
385
- `),{...a,undo:void 0,undo_id:l})}catch(o){return ee(new P("refused",o instanceof Error?o.message:String(o)))}}},{name:"host_edit",title:"Edit the open Premiere sequence into a new one (resize, un-nest, frame rate, handles\u2026)",description:"Premiere: read the open sequence (the saved .prproj when it matches the live one \u2014 every effect, retime and nest \u2014 else Premiere's OTIO export with its timecodes), run timeline_edit operations on it, and import the result as a NEW sequence written by the conform.tools .prproj writer. The open sequence never changes. ops: [{kind, args}] in order, kinds as timeline_edit (timeline_id defaults to the sequence), plus unnest. Common jobs: resize without moving a pixel: {kind:'reformat', args:{resolution_w:3840, resolution_h:2160}} (HD \u2194 UHD: every clip keeps its framing; an aspect change needs fit:'fit'|'fill'|'stretch'); un-nest: {kind:'unnest'} (every nested sequence expanded into the cut with the nest's transform, opacity and speed composed onto its clips; multicam clips read as their active angle; adjustment layers kept); conform the rate: {kind:'timeline_rate', args:{fps_num, fps_den}}; a handles / all-clips / string-out version: add_handles {handles}, all_clips {}, stringout {}. name: the new sequence's name (default <sequence>_<KIND>). The reply lists what the writer could not carry.",inputSchema:{host:m.enum(["premiere"]).default("premiere"),timeline:m.string().optional().describe("Sequence by name; the active one when omitted"),ops:m.array(m.object({kind:m.string(),args:m.object({}).passthrough().optional()})).min(1),name:m.string().optional()},run:async({timeline:e,ops:t,name:n})=>{try{let{hostEdit:r}=await import("./host-relink-MVHI3YQI.js"),o=await r(an("premiere"),{timeline:e,ops:t,name:n});return Q(o.text,o.data)}catch(r){return ee(new P("refused",r instanceof Error?r.message:String(r)))}}},{name:"host_relink",title:"Conform into the open Premiere sequence (proxies \u2192 online, cut in returns)",description:"Premiere: link the open sequence's media with conform.tools' matcher (Conform Connect: reel, timecode containment, loose proxy names, picture when asked) instead of Premiere's Link Media, then hand the result to Premiere. The sequence is read from the saved .prproj when it matches the live one (every effect and retime), else Premiere's XML export. modes: replace = repoint every proxy project clip at its online file (every use follows; not in Premiere's undo, the reply says how to put it back); hires = attach the online file as full-res behind each proxy (Premiere's Toggle Proxies switches between them); proxy = the other way: the project is on the online media and each clip gets its proxy from the folder attached (matched by name + timecode, not by Premiere's Attach Proxies); cut_in = cut each matched return (VFX / color returns trimmed with handles, matched by reel + timecode) in over its clip on the track above (track, default the top + 1), video only, the clip's sizing carried, originals left underneath \u2014 one \u2318Z in Premiere; new_version = a NEW sequence written by the conform.tools .prproj writer from the relinked cut and imported (nothing in the open sequence changes). dry_run=true lists what would link to what. criteria / tolerances as timeline_relink (default: loose names for replace/hires, reel + timecode for cut_in). Changes the user's project: only when asked.",inputSchema:{host:m.enum(["premiere"]).default("premiere"),media_root:m.string().describe("The folder with the online media / returns"),mode:m.enum(["replace","hires","proxy","cut_in","new_version"]).default("new_version"),timeline:m.string().optional().describe("Sequence by name; the active one when omitted"),track:m.number().int().positive().optional().describe("cut_in: the video track to cut onto (default above the top track)"),name:m.string().optional().describe("new_version: the new sequence's name (default <sequence>_CONFORMED)"),dry_run:m.boolean().default(!1),criteria:m.object({}).passthrough().optional().describe("as timeline_relink criteria"),tolerances:m.object({}).passthrough().optional().describe("as timeline_relink tolerances")},run:async({media_root:e,mode:t,timeline:n,track:r,name:o,dry_run:s,criteria:i,tolerances:a})=>{try{let{hostRelink:l}=await import("./host-relink-MVHI3YQI.js"),c=await l(an("premiere"),{media_root:e,mode:t,timeline:n,track:r,name:o,dry_run:s,criteria:i,tolerances:a});return Q(c.text,c.data)}catch(l){return ee(new P("refused",l instanceof Error?l.message:String(l)))}}},{name:"host_setup",title:"Host readiness, and installing the host plugins",description:"What works with each editing host on this machine and what to do about what doesn't (Resolve: Studio, external scripting, an open project). action=install_probe installs ColorMatchProbe, the OFX plugin the app ships (Apple silicon Macs): it lets conform.tools read the Color page's selected clips and node (administrator password, then restart Resolve). action=install_panel installs the host's conform.tools plugin: Premiere's UXP panel with Adobe's own installer (the user then opens Window > UXP Plugins > conform.tools once); Flame's Python hook into this user's hook folder (then Rescan Python Hooks). Never with sudo. Only install when the user asks.",inputSchema:{host:m.enum(Zt).default("resolve").describe("The host"),action:m.enum(["status","install_panel","install_probe"]).default("status")},run:async({host:e,action:t})=>{try{let n=e??"resolve";if((t??"status")==="install_panel"){if(n==="flame"){let a=Af[n],l=await a.install();return Q([`conform.tools ${a.what} ${l.version} installed in ${l.dest}`,a.next].join(`
385
+ `),{...a,undo:void 0,undo_id:l})}catch(o){return ee(new P("refused",o instanceof Error?o.message:String(o)))}}},{name:"host_edit",title:"Edit the open Premiere sequence into a new one (resize, un-nest, frame rate, handles\u2026)",description:"Premiere: read the open sequence (the saved .prproj when it matches the live one \u2014 every effect, retime and nest \u2014 else Premiere's OTIO export with its timecodes), run timeline_edit operations on it, and import the result as a NEW sequence written by the conform.tools .prproj writer. The open sequence never changes. ops: [{kind, args}] in order, kinds as timeline_edit (timeline_id defaults to the sequence), plus unnest. Common jobs: resize without moving a pixel: {kind:'reformat', args:{resolution_w:3840, resolution_h:2160}} (HD \u2194 UHD: every clip keeps its framing; an aspect change needs fit:'fit'|'fill'|'stretch'); un-nest: {kind:'unnest'} (every nested sequence expanded into the cut with the nest's transform, opacity and speed composed onto its clips; multicam clips read as their active angle; adjustment layers kept); conform the rate: {kind:'timeline_rate', args:{fps_num, fps_den}}; a handles / all-clips / string-out version: add_handles {handles}, all_clips {}, stringout {}. name: the new sequence's name (default <sequence>_<KIND>). The reply lists what the writer could not carry.",inputSchema:{host:m.enum(["premiere"]).default("premiere"),timeline:m.string().optional().describe("Sequence by name; the active one when omitted"),ops:m.array(m.object({kind:m.string(),args:m.object({}).passthrough().optional()})).min(1),name:m.string().optional()},run:async({timeline:e,ops:t,name:n})=>{try{let{hostEdit:r}=await import("./host-relink-BYLBYTPH.js"),o=await r(an("premiere"),{timeline:e,ops:t,name:n});return Q(o.text,o.data)}catch(r){return ee(new P("refused",r instanceof Error?r.message:String(r)))}}},{name:"host_relink",title:"Conform into the open Premiere sequence (proxies \u2192 online, cut in returns)",description:"Premiere: link the open sequence's media with conform.tools' matcher (Conform Connect: reel, timecode containment, loose proxy names, picture when asked) instead of Premiere's Link Media, then hand the result to Premiere. The sequence is read from the saved .prproj when it matches the live one (every effect and retime), else Premiere's XML export. modes: replace = repoint every proxy project clip at its online file (every use follows; not in Premiere's undo, the reply says how to put it back); hires = attach the online file as full-res behind each proxy (Premiere's Toggle Proxies switches between them); proxy = the other way: the project is on the online media and each clip gets its proxy from the folder attached (matched by name + timecode, not by Premiere's Attach Proxies); cut_in = cut each matched return (VFX / color returns trimmed with handles, matched by reel + timecode) in over its clip on the track above (track, default the top + 1), video only, the clip's sizing carried, originals left underneath \u2014 one \u2318Z in Premiere; new_version = a NEW sequence written by the conform.tools .prproj writer from the relinked cut and imported (nothing in the open sequence changes). dry_run=true lists what would link to what. criteria / tolerances as timeline_relink (default: loose names for replace/hires, reel + timecode for cut_in). Changes the user's project: only when asked.",inputSchema:{host:m.enum(["premiere"]).default("premiere"),media_root:m.string().describe("The folder with the online media / returns"),mode:m.enum(["replace","hires","proxy","cut_in","new_version"]).default("new_version"),timeline:m.string().optional().describe("Sequence by name; the active one when omitted"),track:m.number().int().positive().optional().describe("cut_in: the video track to cut onto (default above the top track)"),name:m.string().optional().describe("new_version: the new sequence's name (default <sequence>_CONFORMED)"),dry_run:m.boolean().default(!1),criteria:m.object({}).passthrough().optional().describe("as timeline_relink criteria"),tolerances:m.object({}).passthrough().optional().describe("as timeline_relink tolerances")},run:async({media_root:e,mode:t,timeline:n,track:r,name:o,dry_run:s,criteria:i,tolerances:a})=>{try{let{hostRelink:l}=await import("./host-relink-BYLBYTPH.js"),c=await l(an("premiere"),{media_root:e,mode:t,timeline:n,track:r,name:o,dry_run:s,criteria:i,tolerances:a});return Q(c.text,c.data)}catch(l){return ee(new P("refused",l instanceof Error?l.message:String(l)))}}},{name:"host_setup",title:"Host readiness, and installing the host plugins",description:"What works with each editing host on this machine and what to do about what doesn't (Resolve: Studio, external scripting, an open project). action=install_probe installs ColorMatchProbe, the OFX plugin the app ships (Apple silicon Macs): it lets conform.tools read the Color page's selected clips and node (administrator password, then restart Resolve). action=install_panel installs the host's conform.tools plugin: Premiere's UXP panel with Adobe's own installer (the user then opens Window > UXP Plugins > conform.tools once); Flame's Python hook into this user's hook folder (then Rescan Python Hooks). Never with sudo. Only install when the user asks.",inputSchema:{host:m.enum(Zt).default("resolve").describe("The host"),action:m.enum(["status","install_panel","install_probe"]).default("status")},run:async({host:e,action:t})=>{try{let n=e??"resolve";if((t??"status")==="install_panel"){if(n==="flame"){let a=Af[n],l=await a.install();return Q([`conform.tools ${a.what} ${l.version} installed in ${l.dest}`,a.next].join(`
386
386
  `),{...l})}if(n!=="premiere")return ee(new P("unsupported","install_panel installs the conform.tools plugin for Premiere Pro or Flame (Media Composer's panel: mcp/hosts/avid/panel)"));let i=await Jb();return Q([`conform.tools panel ${i.version} installed for Premiere Pro (Adobe's installer: ${i.output.split(`
387
387
  `).pop()})`,"In Premiere: Window > UXP Plugins > conform.tools (restart Premiere first if it was running). It connects by itself from then on."].join(`
388
388
  `),{...i})}if(t==="install_probe"){if(n!=="resolve")return ee(new P("unsupported","the probe is a DaVinci Resolve plugin"));let{installProbe:i}=await import("./probe-YOYK7HR5.js"),a=await i();return Q([`ColorMatchProbe installed at ${a.path} (with administrator approval)`,"Restart Resolve: it loads OFX plugins at launch."].join(`