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AAG,uKAAuK,CAAE,EAAmBA,EAAe,cAChc,OACA,CACE,SAAU,UACV,EAAG,sPACH,SAAU,SACd,CACA,CAAC,CAAC,EAAG/C,GAAKnQ,GAAsBkT,gBAAgB,MAAO,CAAE,MAAO,6BAA8B,MAAO,GAAI,OAAQ,GAAI,KAAM,OAAQ,GAAGlT,CAAC,EAAoBkT,EAAe,cACxK,OACA,CACE,KAAM,eACN,SAAU,UACV,EAAG,wEACH,SAAU,SACd,CACA,EAAmBA,EAAe,cAChC,OACA,CACE,KAAM,eACN,SAAU,UACV,EAAG,2EACH,SAAU,UACV,QAAS,EACb,CACA,EAAmBA,EAAe,cAChC,OACA,CACE,KAAM,eACN,SAAU,UACV,EAAG,yGACH,SAAU,SACd,CACA,EAAmBA,EAAe,cAChC,OACA,CACE,KAAM,eACN,SAAU,UACV,EAAG,yGACH,SAAU,UACV,QAAS,EACb,CACA,EAAmBA,EAAe,cAChC,OACA,CACE,KAAM,eACN,SAAU,UACV,EAAG,uGACH,SAAU,SACd,CACA,EAAmBA,EAAe,cAChC,OACA,CACE,KAAM,eACN,SAAU,UACV,EAAG,yGACH,SAAU,UACV,QAAS,EACb,CACA,EAAmBA,EAAe,cAChC,OACA,CACE,KAAM,eACN,SAAU,UACV,EAAG,2EACH,SAAU,SACd,CACA,EAAmBA,EAAe,cAChC,OACA,CACE,KAAM,eACN,SAAU,UACV,EAAG,wEACH,SAAU,UACV,QAAS,EACb,CACA,EAAmBA,EAAe,cAChC,OACA,CACE,KAAM,eACN,SAAU,UACV,EAAG,0GACH,SAAU,UACV,QAAS,EACb,CACA,EAAmBA,EAAe,cAChC,OACA,CACE,KAAM,eACN,SAAU,UACV,EAAG,oGACH,SAAU,UACV,QAAS,EACb,CACA,EAAmBA,EAAe,cAChC,OACA,CACE,KAAM,eACN,SAAU,UACV,EAAG,2GACH,SAAU,UACV,QAAS,EACb,CACA,EAAmBA,EAAe,cAChC,OACA,CACE,KAAM,eACN,SAAU,UACV,EAAG,uGACH,SA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AAW,MAAO9V,GAAM,CAC3B,IAACpB,EAAE,KAAM82B,EAAE,EACb,MAAM,MAAM,gEAAgE,EAC3ED,GAAA,MAAM,0BAA0B,EAAG,KAAK,gBAAkB,MAAM72B,EAAE,KAAM82B,EAAE,EAAE,QAAQ,IAAI,YAAY,CAAC11B,EAAE,KAAK,CAAC,CAAC,GAAG,eAAe,EAAE,CAAC,EACvI,EACE8V,GAAA,KAAM,UAAW,SAAY,CAC9B,IAAI9V,EAAGlC,GACNkC,EAAIpB,EAAE,KAAM82B,EAAE,IAAM,MAAQ11B,EAAE,UAAW,OAAQlC,EAAI,KAAK,gBAAkB,KAAO,OAASA,EAAE,iBAAiB,KAAK,aAAa,GACnI,EACDmY,GAAG,KAAMyf,GAAI,IAAIF,GAAG,CAAC,CAAC,EAExB,OAAO,aAAc,CACnB,OAAOA,GAAG,YAAY,EAExB,MAAM,UAAU,EAAG,CACf52B,EAAA,KAAM82B,EAAE,EAAE,UAAU,CAAC,EAAG,KAAK,WAAW,EAAE,EAE9C,MAAM,WAAW,EAAG,CAClB,OAAO,MAAM92B,EAAE,KAAM82B,EAAE,EAAE,WAAW,CAAC,EAEvC,WAAY,CACV,OAAO92B,EAAE,KAAM82B,EAAE,EAAE,UAAU,EAEjC,CACAA,OAAS,QACT,MAAM1tB,GAAK2tB,GAAG,YAAaC,GAAMn3B,GAAM,IAAIk3B,GAAGl3B,CAAC","names":["br","yr","e","Qt","t","n","r","i","o","s","a","p","g","v","c","u","l","f","h","d","E","P","L","C","ie","w","S","K","V","X","T","x","I","m","wr","Sr","qe","q","xr","Jt","pe","he","Se","fe","Er","Tr","A","ot","ze","_e","Te","wt","qt","Xt","Cr","Zt","en","Ie","Ae","st","kr","Xe","Pr","Ce","Ar","at","ct","Or","O","_r","St","Lr","Ir","B","j","Mr","Dr","re","xt","tn","Rr","Nr","Et","$r","Tt","Ur","jr","Wr","nn","Be","Br","ut","rn","on","sn","an","Vr","cn","un","ln","fn","Y","Hr","zr","Yr","dn","Gr","Kr","Qr","ee","pn","hn","Jr","qr","Xr","Zr","vn","ei","ti","lt","k","ui","ft","mn","li","Me","gi","dt","bi","Si","xi","R","At","Ti","Ci","Pi","kt","Ai","ki","Ot","Q","ye","W","bn","F","Oi","Li","xe","N","Co","_i","Po","Di","b","yn","y","Ni","_","Sn","xn","Fi","Uo","En","Tn","Cn","De","ji","Wi","Fo","D","Bi","Vi","Hi","_t","Re","et","zi","Yi","tt","Gi","Ki","Qi","Ye","Wo","Ji","$","Bo","It","Pn","se","ae","Vo","Yo","ht","qi","Xi","Zi","eo","to","me","ro","Ve","io","Qo","Jo","Xo","ts","ns","rs","is","os","ss","cs","Mt","nt","oo","so","ao","co","Pe","uo","lo","us","Un","fo","ls","fs","ps","vs","Dt","ms","po","ho","vo","mo","be","go","bo","Ss","xs","kn","On","Ln","M.createContext","Ts","yo","Cs","M.useReducer","Ps","M.useContext","_n","In","ks","Mn","wo","Ls","Dn","_s","So","Is","xo","Ms","M","G","i.Children","i.isValidElement","i.cloneElement","J","i.useState","i.useRef","i.useEffect","i.useMemo","U","i.forwardRef","i.createElement","Qe","r.useRef","r.useEffect","$e","r.useLayoutEffect","Ge","He","r.useState","r.useCallback","r.useMemo","Ue","yt","je","Je","Pt","Z","te","z","ce","oe","Ke","ue","le","Lt","Vt","ve","Bt","ke","Wt","Ee","$t","Gt","Oe","rt","e.forwardRef","e.createElement","it","e.useState","e.useEffect","e.useMemo","de","e.useRef","mt","gt","vt","pt","Rt","bt","Ct","Nt","e.useImperativeHandle","H","e.Fragment","jt","gn","e.useLayoutEffect","wn","i.useCallback","__vitePreload","index","isTrackReference","trackReference","isTrackReferenceSubscribed","isTrackReferencePublished","_a","isTrackReferencePlaceholder","getTrackReferenceId","isEqualTrackRef","isTrackReferencePinned","pinState","pinnedTrackReference","isWeb","allRemoteParticipantRoomEvents","RoomEvent","ParticipantEvent","allRemoteParticipantEvents","log","loglevel","supportsScreenSharing","ProcessorWrapper","transformer","name","opts","_b","_c","_d","origConstraints","readableStream","options","dependencies","VideoTransformer","outputCanvas","inputVideo","frame","controller","BackgroundProcessor","fileSet","vision.FilesetResolver","vision.ImageSegmenter","err","path","img","resolve","reject","imageData","startTimeMs","result","newFrame","bitmap","maskToBitmap","mask","videoWidth","videoHeight","dataArray","dataNew","BackgroundBlur","blurRadius","segmenterOptions","BackgroundProcessor2","fE","GE","iA","dI","eA","gA","wI","NE","CA","RE","FE","SE","yE","lE","Hg","KI","wQ","kQ","ME","_Q","fQ","GQ","uE","ag","LE","ZA","KE","kI","Tg","fC","RQ","BC","bE","NQ","UE","GC","NC","JE","YE","define_process_env_default","pE","mE","LA","zg","FQ","qE","SQ","HE","TE","vE","yQ","$A","RC","FC","OE","PE","VE","SC","$g","ZE","vg","jE","XE","fg","yC","WE","zE","lC","SA","eI","lQ","$E","uQ","A0","MQ","MC","uC","g0","I0","C0","Q0","KC","kA","LC","wg","_I","B0","E0","ng","mg","x0","LQ","KQ","s0","t0","i0","e0","o0","a0","bQ","c0","n0","UQ","JQ","D0","DA","EC","kg","Sg","Gg","Ag","r0","tg","bI","OQ","YQ","qA","UI","yA","h0","aA","d0","YA","pQ","qQ","w0","k0","mQ","xC","_0","HQ","f0","TQ","vQ","bC","G0","UC","N0","R0","F0","S0","y0","Lg","l0","PQ","HA","XA","TA","Jg","oI","M0","u0","L0","K0","b0","Kg","bg","Ug","aI","VQ","U0","JC","YC","jQ","Y0","J0","p0","m0","q0","ZQ","H0","T0","XQ","v0","V0","X0","j0","O0","P0","Z0","rA","JI","W0","z0","WA","iC","pI","eC","tI","WQ","sI","zQ","IB","CB","RA","$Q","BB","pC","$0","Ix","oC","Qx","Bx","xx","ex","ax","tx","gx","Ax","sx","Dx","YI","AB","Cx","cx","Ex","ix","aC","ox","gB","QB","nx","EB","rx","hx","tC","sC","dx","wx","xB","kx","_x","fx","Gx","Nx","Rx","Fx","iB","Sx","yx","lx","eB","AA","EA","cI","mI","hA","dA","Mx","Dg","ux","Lx","mC","Ig","cC","Qg","qC","Og","Kx","oB","Yx","HC","nI","aB","DB","tB","bx","sB","Ux","cB","Jx","nB","rB","px","GA","hB","dB","Pg","zA","mx","qx","wB","nC","Hx","TC","kB","qI","vC","OC","_B","Tx","fB","GB","NB","RB","FB","SB","yB","HI","lB","PC","MB","vx","uB","TI","LB","KB","bB","UB","JB","YB","pB","mB","VC","qB","HB","TB","vB","OB","PB","VB","jB","ZB","jC","XB","WB","Bg","Ox","Vg","vI","jg","Zg","OI","PI","Xg","Wg","Px","Vx","jx","qg","Zx","Xx","pA","ZC","JA","XC","Wx","zx","VI","sg","DC","fA","$x","jI","AI","rC","fI","MA","GI","Ii","zB","Ei","ZI","yg","XI","hC","ii","rg","tA","Cg","Eg","BA","vA","og","$B","WI","DI","AE","lA","oi","ai","gE","si","WC","ci","zI","$I","ni","rI","gI","AC","ri","hi","di","wi","IE","OA","gC","CE","QE","zC","NI","$C","RI","AQ","fi","gQ","hg","FI","BE","sA","mA","IQ","CQ","Ri","lg","Ng","yi","dC","Mi","II","QQ","EE","xE","BQ","iE","SI","dg","Ui","yI","_g","pi","xg","EQ","xQ","mi","IC","eE","oE","wC","vi","iQ","eQ","oQ","cA","gg","aQ","kC","hI","xA","aE","oA","$i","CC","QC","ge","tE","sQ","tQ","lI","cQ","sE","nQ","cE","Rg","MI","Fg","DQ","FA","CI","KA","nE","rQ","DE","QI","rE","nA","cg","hE","ne","Ne","BI","QA","NA","uA","PA","VA","Yg","pg","hQ","dE","_C","dQ","Mg","EI","wA","_A","ig","bA","UA","jA","eg","ug","we","xI","wE","iI","kE","uI","LI","IA","_E","Fe"],"ignoreList":[0,1,2,3,4,5,6,7],"sources":["../../node_modules/@livekit/components-react/dist/contexts-B7YgC7ji.mjs","../../node_modules/@livekit/components-react/dist/room-BBI9Ul2f.mjs","../../node_modules/@livekit/components-react/dist/hooks-JwdUfgCD.mjs","../../node_modules/@livekit/components-react/dist/components-DZxz2YwG.mjs","../../node_modules/@livekit/components-react/dist/krisp.mjs","../../node_modules/@livekit/components-core/dist/index.mjs","../../node_modules/@livekit/track-processors/dist/index.mjs","../../node_modules/@livekit/krisp-noise-filter/dist/index.js"],"sourcesContent":["import { RoomEvent as b, ParticipantEvent as y, setLogLevel as Nn, LogLevel as pt, setLogExtension as $n, Track as D, Room as ht, TrackEvent as Nt, compareVersions as Un } from \"livekit-client\";\nimport * as M from \"react\";\nconst Ge = Math.min, ue = Math.max, ke = Math.round, te = (e) => ({\n x: e,\n y: e\n}), Fn = {\n left: \"right\",\n right: \"left\",\n bottom: \"top\",\n top: \"bottom\"\n}, jn = {\n start: \"end\",\n end: \"start\"\n};\nfunction vt(e, t, n) {\n return ue(e, Ge(t, n));\n}\nfunction Ne(e, t) {\n return typeof e == \"function\" ? e(t) : e;\n}\nfunction oe(e) {\n return e.split(\"-\")[0];\n}\nfunction $e(e) {\n return e.split(\"-\")[1];\n}\nfunction $t(e) {\n return e === \"x\" ? \"y\" : \"x\";\n}\nfunction Ut(e) {\n return e === \"y\" ? \"height\" : \"width\";\n}\nfunction Ue(e) {\n return [\"top\", \"bottom\"].includes(oe(e)) ? \"y\" : \"x\";\n}\nfunction Ft(e) {\n return $t(Ue(e));\n}\nfunction Wn(e, t, n) {\n n === void 0 && (n = !1);\n const r = $e(e), i = Ft(e), o = Ut(i);\n let s = i === \"x\" ? r === (n ? \"end\" : \"start\") ? \"right\" : \"left\" : r === \"start\" ? \"bottom\" : \"top\";\n return t.reference[o] > t.floating[o] && (s = Oe(s)), [s, Oe(s)];\n}\nfunction Bn(e) {\n const t = Oe(e);\n return [Ke(e), t, Ke(t)];\n}\nfunction Ke(e) {\n return e.replace(/start|end/g, (t) => jn[t]);\n}\nfunction Vn(e, t, n) {\n const r = [\"left\", \"right\"], i = [\"right\", \"left\"], o = [\"top\", \"bottom\"], s = [\"bottom\", \"top\"];\n switch (e) {\n case \"top\":\n case \"bottom\":\n return n ? t ? i : r : t ? r : i;\n case \"left\":\n case \"right\":\n return t ? o : s;\n default:\n return [];\n }\n}\nfunction Hn(e, t, n, r) {\n const i = $e(e);\n let o = Vn(oe(e), n === \"start\", r);\n return i && (o = o.map((s) => s + \"-\" + i), t && (o = o.concat(o.map(Ke)))), o;\n}\nfunction Oe(e) {\n return e.replace(/left|right|bottom|top/g, (t) => Fn[t]);\n}\nfunction zn(e) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...e\n };\n}\nfunction Yn(e) {\n return typeof e != \"number\" ? zn(e) : {\n top: e,\n right: e,\n bottom: e,\n left: e\n };\n}\nfunction Le(e) {\n const {\n x: t,\n y: n,\n width: r,\n height: i\n } = e;\n return {\n width: r,\n height: i,\n top: n,\n left: t,\n right: t + r,\n bottom: n + i,\n x: t,\n y: n\n };\n}\nfunction mt(e, t, n) {\n let {\n reference: r,\n floating: i\n } = e;\n const o = Ue(t), s = Ft(t), a = Ut(s), c = oe(t), u = o === \"y\", l = r.x + r.width / 2 - i.width / 2, f = r.y + r.height / 2 - i.height / 2, h = r[a] / 2 - i[a] / 2;\n let d;\n switch (c) {\n case \"top\":\n d = {\n x: l,\n y: r.y - i.height\n };\n break;\n case \"bottom\":\n d = {\n x: l,\n y: r.y + r.height\n };\n break;\n case \"right\":\n d = {\n x: r.x + r.width,\n y: f\n };\n break;\n case \"left\":\n d = {\n x: r.x - i.width,\n y: f\n };\n break;\n default:\n d = {\n x: r.x,\n y: r.y\n };\n }\n switch ($e(t)) {\n case \"start\":\n d[s] -= h * (n && u ? -1 : 1);\n break;\n case \"end\":\n d[s] += h * (n && u ? -1 : 1);\n break;\n }\n return d;\n}\nconst Gn = async (e, t, n) => {\n const {\n placement: r = \"bottom\",\n strategy: i = \"absolute\",\n middleware: o = [],\n platform: s\n } = n, a = o.filter(Boolean), c = await (s.isRTL == null ? void 0 : s.isRTL(t));\n let u = await s.getElementRects({\n reference: e,\n floating: t,\n strategy: i\n }), {\n x: l,\n y: f\n } = mt(u, r, c), h = r, d = {}, m = 0;\n for (let p = 0; p < a.length; p++) {\n const {\n name: g,\n fn: v\n } = a[p], {\n x: E,\n y: P,\n data: L,\n reset: C\n } = await v({\n x: l,\n y: f,\n initialPlacement: r,\n placement: h,\n strategy: i,\n middlewareData: d,\n rects: u,\n platform: s,\n elements: {\n reference: e,\n floating: t\n }\n });\n l = E ?? l, f = P ?? f, d = {\n ...d,\n [g]: {\n ...d[g],\n ...L\n }\n }, C && m <= 50 && (m++, typeof C == \"object\" && (C.placement && (h = C.placement), C.rects && (u = C.rects === !0 ? await s.getElementRects({\n reference: e,\n floating: t,\n strategy: i\n }) : C.rects), {\n x: l,\n y: f\n } = mt(u, h, c)), p = -1);\n }\n return {\n x: l,\n y: f,\n placement: h,\n strategy: i,\n middlewareData: d\n };\n};\nasync function jt(e, t) {\n var n;\n t === void 0 && (t = {});\n const {\n x: r,\n y: i,\n platform: o,\n rects: s,\n elements: a,\n strategy: c\n } = e, {\n boundary: u = \"clippingAncestors\",\n rootBoundary: l = \"viewport\",\n elementContext: f = \"floating\",\n altBoundary: h = !1,\n padding: d = 0\n } = Ne(t, e), m = Yn(d), g = a[h ? f === \"floating\" ? \"reference\" : \"floating\" : f], v = Le(await o.getClippingRect({\n element: (n = await (o.isElement == null ? void 0 : o.isElement(g))) == null || n ? g : g.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(a.floating)),\n boundary: u,\n rootBoundary: l,\n strategy: c\n })), E = f === \"floating\" ? {\n ...s.floating,\n x: r,\n y: i\n } : s.reference, P = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(a.floating)), L = await (o.isElement == null ? void 0 : o.isElement(P)) ? await (o.getScale == null ? void 0 : o.getScale(P)) || {\n x: 1,\n y: 1\n } : {\n x: 1,\n y: 1\n }, C = Le(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({\n elements: a,\n rect: E,\n offsetParent: P,\n strategy: c\n }) : E);\n return {\n top: (v.top - C.top + m.top) / L.y,\n bottom: (C.bottom - v.bottom + m.bottom) / L.y,\n left: (v.left - C.left + m.left) / L.x,\n right: (C.right - v.right + m.right) / L.x\n };\n}\nconst Kn = function(e) {\n return e === void 0 && (e = {}), {\n name: \"flip\",\n options: e,\n async fn(t) {\n var n, r;\n const {\n placement: i,\n middlewareData: o,\n rects: s,\n initialPlacement: a,\n platform: c,\n elements: u\n } = t, {\n mainAxis: l = !0,\n crossAxis: f = !0,\n fallbackPlacements: h,\n fallbackStrategy: d = \"bestFit\",\n fallbackAxisSideDirection: m = \"none\",\n flipAlignment: p = !0,\n ...g\n } = Ne(e, t);\n if ((n = o.arrow) != null && n.alignmentOffset)\n return {};\n const v = oe(i), E = oe(a) === a, P = await (c.isRTL == null ? void 0 : c.isRTL(u.floating)), L = h || (E || !p ? [Oe(a)] : Bn(a));\n !h && m !== \"none\" && L.push(...Hn(a, p, m, P));\n const C = [a, ...L], ie = await jt(t, g), K = [];\n let T = ((r = o.flip) == null ? void 0 : r.overflows) || [];\n if (l && K.push(ie[v]), f) {\n const S = Wn(i, s, P);\n K.push(ie[S[0]], ie[S[1]]);\n }\n if (T = [...T, {\n placement: i,\n overflows: K\n }], !K.every((S) => S <= 0)) {\n var x, I;\n const S = (((x = o.flip) == null ? void 0 : x.index) || 0) + 1, V = C[S];\n if (V)\n return {\n data: {\n index: S,\n overflows: T\n },\n reset: {\n placement: V\n }\n };\n let X = (I = T.filter((Z) => Z.overflows[0] <= 0).sort((Z, ce) => Z.overflows[1] - ce.overflows[1])[0]) == null ? void 0 : I.placement;\n if (!X)\n switch (d) {\n case \"bestFit\": {\n var w;\n const Z = (w = T.map((ce) => [ce.placement, ce.overflows.filter((ge) => ge > 0).reduce((ge, Rn) => ge + Rn, 0)]).sort((ce, ge) => ce[1] - ge[1])[0]) == null ? void 0 : w[0];\n Z && (X = Z);\n break;\n }\n case \"initialPlacement\":\n X = a;\n break;\n }\n if (i !== X)\n return {\n reset: {\n placement: X\n }\n };\n }\n return {};\n }\n };\n};\nasync function Qn(e, t) {\n const {\n placement: n,\n platform: r,\n elements: i\n } = e, o = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), s = oe(n), a = $e(n), c = Ue(n) === \"y\", u = [\"left\", \"top\"].includes(s) ? -1 : 1, l = o && c ? -1 : 1, f = Ne(t, e);\n let {\n mainAxis: h,\n crossAxis: d,\n alignmentAxis: m\n } = typeof f == \"number\" ? {\n mainAxis: f,\n crossAxis: 0,\n alignmentAxis: null\n } : {\n mainAxis: 0,\n crossAxis: 0,\n alignmentAxis: null,\n ...f\n };\n return a && typeof m == \"number\" && (d = a === \"end\" ? m * -1 : m), c ? {\n x: d * l,\n y: h * u\n } : {\n x: h * u,\n y: d * l\n };\n}\nconst Jn = function(e) {\n return e === void 0 && (e = 0), {\n name: \"offset\",\n options: e,\n async fn(t) {\n var n, r;\n const {\n x: i,\n y: o,\n placement: s,\n middlewareData: a\n } = t, c = await Qn(t, e);\n return s === ((n = a.offset) == null ? void 0 : n.placement) && (r = a.arrow) != null && r.alignmentOffset ? {} : {\n x: i + c.x,\n y: o + c.y,\n data: {\n ...c,\n placement: s\n }\n };\n }\n };\n}, qn = function(e) {\n return e === void 0 && (e = {}), {\n name: \"shift\",\n options: e,\n async fn(t) {\n const {\n x: n,\n y: r,\n placement: i\n } = t, {\n mainAxis: o = !0,\n crossAxis: s = !1,\n limiter: a = {\n fn: (g) => {\n let {\n x: v,\n y: E\n } = g;\n return {\n x: v,\n y: E\n };\n }\n },\n ...c\n } = Ne(e, t), u = {\n x: n,\n y: r\n }, l = await jt(t, c), f = Ue(oe(i)), h = $t(f);\n let d = u[h], m = u[f];\n if (o) {\n const g = h === \"y\" ? \"top\" : \"left\", v = h === \"y\" ? \"bottom\" : \"right\", E = d + l[g], P = d - l[v];\n d = vt(E, d, P);\n }\n if (s) {\n const g = f === \"y\" ? \"top\" : \"left\", v = f === \"y\" ? \"bottom\" : \"right\", E = m + l[g], P = m - l[v];\n m = vt(E, m, P);\n }\n const p = a.fn({\n ...t,\n [h]: d,\n [f]: m\n });\n return {\n ...p,\n data: {\n x: p.x - n,\n y: p.y - r\n }\n };\n }\n };\n};\nfunction Fe() {\n return typeof window < \"u\";\n}\nfunction ve(e) {\n return Wt(e) ? (e.nodeName || \"\").toLowerCase() : \"#document\";\n}\nfunction U(e) {\n var t;\n return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;\n}\nfunction J(e) {\n var t;\n return (t = (Wt(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;\n}\nfunction Wt(e) {\n return Fe() ? e instanceof Node || e instanceof U(e).Node : !1;\n}\nfunction H(e) {\n return Fe() ? e instanceof Element || e instanceof U(e).Element : !1;\n}\nfunction G(e) {\n return Fe() ? e instanceof HTMLElement || e instanceof U(e).HTMLElement : !1;\n}\nfunction gt(e) {\n return !Fe() || typeof ShadowRoot > \"u\" ? !1 : e instanceof ShadowRoot || e instanceof U(e).ShadowRoot;\n}\nfunction Ee(e) {\n const {\n overflow: t,\n overflowX: n,\n overflowY: r,\n display: i\n } = z(e);\n return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && ![\"inline\", \"contents\"].includes(i);\n}\nfunction Xn(e) {\n return [\"table\", \"td\", \"th\"].includes(ve(e));\n}\nfunction je(e) {\n return [\":popover-open\", \":modal\"].some((t) => {\n try {\n return e.matches(t);\n } catch {\n return !1;\n }\n });\n}\nfunction rt(e) {\n const t = it(), n = H(e) ? z(e) : e;\n return n.transform !== \"none\" || n.perspective !== \"none\" || (n.containerType ? n.containerType !== \"normal\" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== \"none\" : !1) || !t && (n.filter ? n.filter !== \"none\" : !1) || [\"transform\", \"perspective\", \"filter\"].some((r) => (n.willChange || \"\").includes(r)) || [\"paint\", \"layout\", \"strict\", \"content\"].some((r) => (n.contain || \"\").includes(r));\n}\nfunction Zn(e) {\n let t = ne(e);\n for (; G(t) && !de(t); ) {\n if (rt(t))\n return t;\n if (je(t))\n return null;\n t = ne(t);\n }\n return null;\n}\nfunction it() {\n return typeof CSS > \"u\" || !CSS.supports ? !1 : CSS.supports(\"-webkit-backdrop-filter\", \"none\");\n}\nfunction de(e) {\n return [\"html\", \"body\", \"#document\"].includes(ve(e));\n}\nfunction z(e) {\n return U(e).getComputedStyle(e);\n}\nfunction We(e) {\n return H(e) ? {\n scrollLeft: e.scrollLeft,\n scrollTop: e.scrollTop\n } : {\n scrollLeft: e.scrollX,\n scrollTop: e.scrollY\n };\n}\nfunction ne(e) {\n if (ve(e) === \"html\")\n return e;\n const t = (\n // Step into the shadow DOM of the parent of a slotted node.\n e.assignedSlot || // DOM Element detected.\n e.parentNode || // ShadowRoot detected.\n gt(e) && e.host || // Fallback.\n J(e)\n );\n return gt(t) ? t.host : t;\n}\nfunction Bt(e) {\n const t = ne(e);\n return de(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : G(t) && Ee(t) ? t : Bt(t);\n}\nfunction Vt(e, t, n) {\n var r;\n t === void 0 && (t = []);\n const i = Bt(e), o = i === ((r = e.ownerDocument) == null ? void 0 : r.body), s = U(i);\n return o ? (Qe(s), t.concat(s, s.visualViewport || [], Ee(i) ? i : [], [])) : t.concat(i, Vt(i, []));\n}\nfunction Qe(e) {\n return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;\n}\nfunction Ht(e) {\n const t = z(e);\n let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;\n const i = G(e), o = i ? e.offsetWidth : n, s = i ? e.offsetHeight : r, a = ke(n) !== o || ke(r) !== s;\n return a && (n = o, r = s), {\n width: n,\n height: r,\n $: a\n };\n}\nfunction zt(e) {\n return H(e) ? e : e.contextElement;\n}\nfunction le(e) {\n const t = zt(e);\n if (!G(t))\n return te(1);\n const n = t.getBoundingClientRect(), {\n width: r,\n height: i,\n $: o\n } = Ht(t);\n let s = (o ? ke(n.width) : n.width) / r, a = (o ? ke(n.height) : n.height) / i;\n return (!s || !Number.isFinite(s)) && (s = 1), (!a || !Number.isFinite(a)) && (a = 1), {\n x: s,\n y: a\n };\n}\nconst er = /* @__PURE__ */ te(0);\nfunction Yt(e) {\n const t = U(e);\n return !it() || !t.visualViewport ? er : {\n x: t.visualViewport.offsetLeft,\n y: t.visualViewport.offsetTop\n };\n}\nfunction tr(e, t, n) {\n return t === void 0 && (t = !1), !n || t && n !== U(e) ? !1 : t;\n}\nfunction we(e, t, n, r) {\n t === void 0 && (t = !1), n === void 0 && (n = !1);\n const i = e.getBoundingClientRect(), o = zt(e);\n let s = te(1);\n t && (r ? H(r) && (s = le(r)) : s = le(e));\n const a = tr(o, n, r) ? Yt(o) : te(0);\n let c = (i.left + a.x) / s.x, u = (i.top + a.y) / s.y, l = i.width / s.x, f = i.height / s.y;\n if (o) {\n const h = U(o), d = r && H(r) ? U(r) : r;\n let m = h, p = Qe(m);\n for (; p && r && d !== m; ) {\n const g = le(p), v = p.getBoundingClientRect(), E = z(p), P = v.left + (p.clientLeft + parseFloat(E.paddingLeft)) * g.x, L = v.top + (p.clientTop + parseFloat(E.paddingTop)) * g.y;\n c *= g.x, u *= g.y, l *= g.x, f *= g.y, c += P, u += L, m = U(p), p = Qe(m);\n }\n }\n return Le({\n width: l,\n height: f,\n x: c,\n y: u\n });\n}\nfunction nr(e) {\n let {\n elements: t,\n rect: n,\n offsetParent: r,\n strategy: i\n } = e;\n const o = i === \"fixed\", s = J(r), a = t ? je(t.floating) : !1;\n if (r === s || a && o)\n return n;\n let c = {\n scrollLeft: 0,\n scrollTop: 0\n }, u = te(1);\n const l = te(0), f = G(r);\n if ((f || !f && !o) && ((ve(r) !== \"body\" || Ee(s)) && (c = We(r)), G(r))) {\n const h = we(r);\n u = le(r), l.x = h.x + r.clientLeft, l.y = h.y + r.clientTop;\n }\n return {\n width: n.width * u.x,\n height: n.height * u.y,\n x: n.x * u.x - c.scrollLeft * u.x + l.x,\n y: n.y * u.y - c.scrollTop * u.y + l.y\n };\n}\nfunction rr(e) {\n return Array.from(e.getClientRects());\n}\nfunction Je(e, t) {\n const n = We(e).scrollLeft;\n return t ? t.left + n : we(J(e)).left + n;\n}\nfunction ir(e) {\n const t = J(e), n = We(e), r = e.ownerDocument.body, i = ue(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), o = ue(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);\n let s = -n.scrollLeft + Je(e);\n const a = -n.scrollTop;\n return z(r).direction === \"rtl\" && (s += ue(t.clientWidth, r.clientWidth) - i), {\n width: i,\n height: o,\n x: s,\n y: a\n };\n}\nfunction or(e, t) {\n const n = U(e), r = J(e), i = n.visualViewport;\n let o = r.clientWidth, s = r.clientHeight, a = 0, c = 0;\n if (i) {\n o = i.width, s = i.height;\n const u = it();\n (!u || u && t === \"fixed\") && (a = i.offsetLeft, c = i.offsetTop);\n }\n return {\n width: o,\n height: s,\n x: a,\n y: c\n };\n}\nfunction sr(e, t) {\n const n = we(e, !0, t === \"fixed\"), r = n.top + e.clientTop, i = n.left + e.clientLeft, o = G(e) ? le(e) : te(1), s = e.clientWidth * o.x, a = e.clientHeight * o.y, c = i * o.x, u = r * o.y;\n return {\n width: s,\n height: a,\n x: c,\n y: u\n };\n}\nfunction bt(e, t, n) {\n let r;\n if (t === \"viewport\")\n r = or(e, n);\n else if (t === \"document\")\n r = ir(J(e));\n else if (H(t))\n r = sr(t, n);\n else {\n const i = Yt(e);\n r = {\n ...t,\n x: t.x - i.x,\n y: t.y - i.y\n };\n }\n return Le(r);\n}\nfunction Gt(e, t) {\n const n = ne(e);\n return n === t || !H(n) || de(n) ? !1 : z(n).position === \"fixed\" || Gt(n, t);\n}\nfunction ar(e, t) {\n const n = t.get(e);\n if (n)\n return n;\n let r = Vt(e, []).filter((a) => H(a) && ve(a) !== \"body\"), i = null;\n const o = z(e).position === \"fixed\";\n let s = o ? ne(e) : e;\n for (; H(s) && !de(s); ) {\n const a = z(s), c = rt(s);\n !c && a.position === \"fixed\" && (i = null), (o ? !c && !i : !c && a.position === \"static\" && !!i && [\"absolute\", \"fixed\"].includes(i.position) || Ee(s) && !c && Gt(e, s)) ? r = r.filter((l) => l !== s) : i = a, s = ne(s);\n }\n return t.set(e, r), r;\n}\nfunction cr(e) {\n let {\n element: t,\n boundary: n,\n rootBoundary: r,\n strategy: i\n } = e;\n const s = [...n === \"clippingAncestors\" ? je(t) ? [] : ar(t, this._c) : [].concat(n), r], a = s[0], c = s.reduce((u, l) => {\n const f = bt(t, l, i);\n return u.top = ue(f.top, u.top), u.right = Ge(f.right, u.right), u.bottom = Ge(f.bottom, u.bottom), u.left = ue(f.left, u.left), u;\n }, bt(t, a, i));\n return {\n width: c.right - c.left,\n height: c.bottom - c.top,\n x: c.left,\n y: c.top\n };\n}\nfunction ur(e) {\n const {\n width: t,\n height: n\n } = Ht(e);\n return {\n width: t,\n height: n\n };\n}\nfunction lr(e, t, n) {\n const r = G(t), i = J(t), o = n === \"fixed\", s = we(e, !0, o, t);\n let a = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const c = te(0);\n if (r || !r && !o)\n if ((ve(t) !== \"body\" || Ee(i)) && (a = We(t)), r) {\n const d = we(t, !0, o, t);\n c.x = d.x + t.clientLeft, c.y = d.y + t.clientTop;\n } else i && (c.x = Je(i));\n let u = 0, l = 0;\n if (i && !r && !o) {\n const d = i.getBoundingClientRect();\n l = d.top + a.scrollTop, u = d.left + a.scrollLeft - // RTL
scrollbar.\n Je(i, d);\n }\n const f = s.left + a.scrollLeft - c.x - u, h = s.top + a.scrollTop - c.y - l;\n return {\n x: f,\n y: h,\n width: s.width,\n height: s.height\n };\n}\nfunction He(e) {\n return z(e).position === \"static\";\n}\nfunction yt(e, t) {\n if (!G(e) || z(e).position === \"fixed\")\n return null;\n if (t)\n return t(e);\n let n = e.offsetParent;\n return J(e) === n && (n = n.ownerDocument.body), n;\n}\nfunction Kt(e, t) {\n const n = U(e);\n if (je(e))\n return n;\n if (!G(e)) {\n let i = ne(e);\n for (; i && !de(i); ) {\n if (H(i) && !He(i))\n return i;\n i = ne(i);\n }\n return n;\n }\n let r = yt(e, t);\n for (; r && Xn(r) && He(r); )\n r = yt(r, t);\n return r && de(r) && He(r) && !rt(r) ? n : r || Zn(e) || n;\n}\nconst fr = async function(e) {\n const t = this.getOffsetParent || Kt, n = this.getDimensions, r = await n(e.floating);\n return {\n reference: lr(e.reference, await t(e.floating), e.strategy),\n floating: {\n x: 0,\n y: 0,\n width: r.width,\n height: r.height\n }\n };\n};\nfunction dr(e) {\n return z(e).direction === \"rtl\";\n}\nconst pr = {\n convertOffsetParentRelativeRectToViewportRelativeRect: nr,\n getDocumentElement: J,\n getClippingRect: cr,\n getOffsetParent: Kt,\n getElementRects: fr,\n getClientRects: rr,\n getDimensions: ur,\n getScale: le,\n isElement: H,\n isRTL: dr\n}, hr = Jn, vr = qn, mr = Kn, gr = (e, t, n) => {\n const r = /* @__PURE__ */ new Map(), i = {\n platform: pr,\n ...n\n }, o = {\n ...i.platform,\n _c: r\n };\n return Gn(e, t, {\n ...i,\n platform: o\n });\n};\nvar br = typeof globalThis < \"u\" ? globalThis : typeof window < \"u\" ? window : typeof global < \"u\" ? global : typeof self < \"u\" ? self : {};\nfunction yr(e) {\n return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, \"default\") ? e.default : e;\n}\nvar Qt = { exports: {} };\n(function(e) {\n (function(t, n) {\n e.exports ? e.exports = n() : t.log = n();\n })(br, function() {\n var t = function() {\n }, n = \"undefined\", r = typeof window !== n && typeof window.navigator !== n && /Trident\\/|MSIE /.test(window.navigator.userAgent), i = [\n \"trace\",\n \"debug\",\n \"info\",\n \"warn\",\n \"error\"\n ], o = {}, s = null;\n function a(p, g) {\n var v = p[g];\n if (typeof v.bind == \"function\")\n return v.bind(p);\n try {\n return Function.prototype.bind.call(v, p);\n } catch {\n return function() {\n return Function.prototype.apply.apply(v, [p, arguments]);\n };\n }\n }\n function c() {\n console.log && (console.log.apply ? console.log.apply(console, arguments) : Function.prototype.apply.apply(console.log, [console, arguments])), console.trace && console.trace();\n }\n function u(p) {\n return p === \"debug\" && (p = \"log\"), typeof console === n ? !1 : p === \"trace\" && r ? c : console[p] !== void 0 ? a(console, p) : console.log !== void 0 ? a(console, \"log\") : t;\n }\n function l() {\n for (var p = this.getLevel(), g = 0; g < i.length; g++) {\n var v = i[g];\n this[v] = g < p ? t : this.methodFactory(v, p, this.name);\n }\n if (this.log = this.debug, typeof console === n && p < this.levels.SILENT)\n return \"No console available for logging\";\n }\n function f(p) {\n return function() {\n typeof console !== n && (l.call(this), this[p].apply(this, arguments));\n };\n }\n function h(p, g, v) {\n return u(p) || f.apply(this, arguments);\n }\n function d(p, g) {\n var v = this, E, P, L, C = \"loglevel\";\n typeof p == \"string\" ? C += \":\" + p : typeof p == \"symbol\" && (C = void 0);\n function ie(w) {\n var S = (i[w] || \"silent\").toUpperCase();\n if (!(typeof window === n || !C)) {\n try {\n window.localStorage[C] = S;\n return;\n } catch {\n }\n try {\n window.document.cookie = encodeURIComponent(C) + \"=\" + S + \";\";\n } catch {\n }\n }\n }\n function K() {\n var w;\n if (!(typeof window === n || !C)) {\n try {\n w = window.localStorage[C];\n } catch {\n }\n if (typeof w === n)\n try {\n var S = window.document.cookie, V = encodeURIComponent(C), X = S.indexOf(V + \"=\");\n X !== -1 && (w = /^([^;]+)/.exec(\n S.slice(X + V.length + 1)\n )[1]);\n } catch {\n }\n return v.levels[w] === void 0 && (w = void 0), w;\n }\n }\n function T() {\n if (!(typeof window === n || !C)) {\n try {\n window.localStorage.removeItem(C);\n } catch {\n }\n try {\n window.document.cookie = encodeURIComponent(C) + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC\";\n } catch {\n }\n }\n }\n function x(w) {\n var S = w;\n if (typeof S == \"string\" && v.levels[S.toUpperCase()] !== void 0 && (S = v.levels[S.toUpperCase()]), typeof S == \"number\" && S >= 0 && S <= v.levels.SILENT)\n return S;\n throw new TypeError(\"log.setLevel() called with invalid level: \" + w);\n }\n v.name = p, v.levels = {\n TRACE: 0,\n DEBUG: 1,\n INFO: 2,\n WARN: 3,\n ERROR: 4,\n SILENT: 5\n }, v.methodFactory = g || h, v.getLevel = function() {\n return L ?? P ?? E;\n }, v.setLevel = function(w, S) {\n return L = x(w), S !== !1 && ie(L), l.call(v);\n }, v.setDefaultLevel = function(w) {\n P = x(w), K() || v.setLevel(w, !1);\n }, v.resetLevel = function() {\n L = null, T(), l.call(v);\n }, v.enableAll = function(w) {\n v.setLevel(v.levels.TRACE, w);\n }, v.disableAll = function(w) {\n v.setLevel(v.levels.SILENT, w);\n }, v.rebuild = function() {\n if (s !== v && (E = x(s.getLevel())), l.call(v), s === v)\n for (var w in o)\n o[w].rebuild();\n }, E = x(\n s ? s.getLevel() : \"WARN\"\n );\n var I = K();\n I != null && (L = x(I)), l.call(v);\n }\n s = new d(), s.getLogger = function(g) {\n if (typeof g != \"symbol\" && typeof g != \"string\" || g === \"\")\n throw new TypeError(\"You must supply a name when creating a logger.\");\n var v = o[g];\n return v || (v = o[g] = new d(\n g,\n s.methodFactory\n )), v;\n };\n var m = typeof window !== n ? window.log : void 0;\n return s.noConflict = function() {\n return typeof window !== n && window.log === s && (window.log = m), s;\n }, s.getLoggers = function() {\n return o;\n }, s.default = s, s;\n });\n})(Qt);\nvar wr = Qt.exports;\nconst Sr = /* @__PURE__ */ yr(wr);\nvar qe = function(e, t) {\n return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {\n n.__proto__ = r;\n } || function(n, r) {\n for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);\n }, qe(e, t);\n};\nfunction q(e, t) {\n if (typeof t != \"function\" && t !== null)\n throw new TypeError(\"Class extends value \" + String(t) + \" is not a constructor or null\");\n qe(e, t);\n function n() {\n this.constructor = e;\n }\n e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());\n}\nfunction xr(e, t, n, r) {\n function i(o) {\n return o instanceof n ? o : new n(function(s) {\n s(o);\n });\n }\n return new (n || (n = Promise))(function(o, s) {\n function a(l) {\n try {\n u(r.next(l));\n } catch (f) {\n s(f);\n }\n }\n function c(l) {\n try {\n u(r.throw(l));\n } catch (f) {\n s(f);\n }\n }\n function u(l) {\n l.done ? o(l.value) : i(l.value).then(a, c);\n }\n u((r = r.apply(e, t || [])).next());\n });\n}\nfunction Jt(e, t) {\n var n = { label: 0, sent: function() {\n if (o[0] & 1) throw o[1];\n return o[1];\n }, trys: [], ops: [] }, r, i, o, s = Object.create((typeof Iterator == \"function\" ? Iterator : Object).prototype);\n return s.next = a(0), s.throw = a(1), s.return = a(2), typeof Symbol == \"function\" && (s[Symbol.iterator] = function() {\n return this;\n }), s;\n function a(u) {\n return function(l) {\n return c([u, l]);\n };\n }\n function c(u) {\n if (r) throw new TypeError(\"Generator is already executing.\");\n for (; s && (s = 0, u[0] && (n = 0)), n; ) try {\n if (r = 1, i && (o = u[0] & 2 ? i.return : u[0] ? i.throw || ((o = i.return) && o.call(i), 0) : i.next) && !(o = o.call(i, u[1])).done) return o;\n switch (i = 0, o && (u = [u[0] & 2, o.value]), u[0]) {\n case 0:\n case 1:\n o = u;\n break;\n case 4:\n return n.label++, { value: u[1], done: !1 };\n case 5:\n n.label++, i = u[1], u = [0];\n continue;\n case 7:\n u = n.ops.pop(), n.trys.pop();\n continue;\n default:\n if (o = n.trys, !(o = o.length > 0 && o[o.length - 1]) && (u[0] === 6 || u[0] === 2)) {\n n = 0;\n continue;\n }\n if (u[0] === 3 && (!o || u[1] > o[0] && u[1] < o[3])) {\n n.label = u[1];\n break;\n }\n if (u[0] === 6 && n.label < o[1]) {\n n.label = o[1], o = u;\n break;\n }\n if (o && n.label < o[2]) {\n n.label = o[2], n.ops.push(u);\n break;\n }\n o[2] && n.ops.pop(), n.trys.pop();\n continue;\n }\n u = t.call(e, n);\n } catch (l) {\n u = [6, l], i = 0;\n } finally {\n r = o = 0;\n }\n if (u[0] & 5) throw u[1];\n return { value: u[0] ? u[1] : void 0, done: !0 };\n }\n}\nfunction pe(e) {\n var t = typeof Symbol == \"function\" && Symbol.iterator, n = t && e[t], r = 0;\n if (n) return n.call(e);\n if (e && typeof e.length == \"number\") return {\n next: function() {\n return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };\n }\n };\n throw new TypeError(t ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nfunction he(e, t) {\n var n = typeof Symbol == \"function\" && e[Symbol.iterator];\n if (!n) return e;\n var r = n.call(e), i, o = [], s;\n try {\n for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; ) o.push(i.value);\n } catch (a) {\n s = { error: a };\n } finally {\n try {\n i && !i.done && (n = r.return) && n.call(r);\n } finally {\n if (s) throw s.error;\n }\n }\n return o;\n}\nfunction Se(e, t, n) {\n if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)\n (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);\n return e.concat(o || Array.prototype.slice.call(t));\n}\nfunction fe(e) {\n return this instanceof fe ? (this.v = e, this) : new fe(e);\n}\nfunction Er(e, t, n) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var r = n.apply(e, t || []), i, o = [];\n return i = Object.create((typeof AsyncIterator == \"function\" ? AsyncIterator : Object).prototype), a(\"next\"), a(\"throw\"), a(\"return\", s), i[Symbol.asyncIterator] = function() {\n return this;\n }, i;\n function s(d) {\n return function(m) {\n return Promise.resolve(m).then(d, f);\n };\n }\n function a(d, m) {\n r[d] && (i[d] = function(p) {\n return new Promise(function(g, v) {\n o.push([d, p, g, v]) > 1 || c(d, p);\n });\n }, m && (i[d] = m(i[d])));\n }\n function c(d, m) {\n try {\n u(r[d](m));\n } catch (p) {\n h(o[0][3], p);\n }\n }\n function u(d) {\n d.value instanceof fe ? Promise.resolve(d.value.v).then(l, f) : h(o[0][2], d);\n }\n function l(d) {\n c(\"next\", d);\n }\n function f(d) {\n c(\"throw\", d);\n }\n function h(d, m) {\n d(m), o.shift(), o.length && c(o[0][0], o[0][1]);\n }\n}\nfunction Tr(e) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var t = e[Symbol.asyncIterator], n;\n return t ? t.call(e) : (e = typeof pe == \"function\" ? pe(e) : e[Symbol.iterator](), n = {}, r(\"next\"), r(\"throw\"), r(\"return\"), n[Symbol.asyncIterator] = function() {\n return this;\n }, n);\n function r(o) {\n n[o] = e[o] && function(s) {\n return new Promise(function(a, c) {\n s = e[o](s), i(a, c, s.done, s.value);\n });\n };\n }\n function i(o, s, a, c) {\n Promise.resolve(c).then(function(u) {\n o({ value: u, done: a });\n }, s);\n }\n}\nfunction A(e) {\n return typeof e == \"function\";\n}\nfunction ot(e) {\n var t = function(r) {\n Error.call(r), r.stack = new Error().stack;\n }, n = e(t);\n return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;\n}\nvar ze = ot(function(e) {\n return function(n) {\n e(this), this.message = n ? n.length + ` errors occurred during unsubscription:\n` + n.map(function(r, i) {\n return i + 1 + \") \" + r.toString();\n }).join(`\n `) : \"\", this.name = \"UnsubscriptionError\", this.errors = n;\n };\n});\nfunction _e(e, t) {\n if (e) {\n var n = e.indexOf(t);\n 0 <= n && e.splice(n, 1);\n }\n}\nvar Te = function() {\n function e(t) {\n this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;\n }\n return e.prototype.unsubscribe = function() {\n var t, n, r, i, o;\n if (!this.closed) {\n this.closed = !0;\n var s = this._parentage;\n if (s)\n if (this._parentage = null, Array.isArray(s))\n try {\n for (var a = pe(s), c = a.next(); !c.done; c = a.next()) {\n var u = c.value;\n u.remove(this);\n }\n } catch (p) {\n t = { error: p };\n } finally {\n try {\n c && !c.done && (n = a.return) && n.call(a);\n } finally {\n if (t) throw t.error;\n }\n }\n else\n s.remove(this);\n var l = this.initialTeardown;\n if (A(l))\n try {\n l();\n } catch (p) {\n o = p instanceof ze ? p.errors : [p];\n }\n var f = this._finalizers;\n if (f) {\n this._finalizers = null;\n try {\n for (var h = pe(f), d = h.next(); !d.done; d = h.next()) {\n var m = d.value;\n try {\n wt(m);\n } catch (p) {\n o = o ?? [], p instanceof ze ? o = Se(Se([], he(o)), he(p.errors)) : o.push(p);\n }\n }\n } catch (p) {\n r = { error: p };\n } finally {\n try {\n d && !d.done && (i = h.return) && i.call(h);\n } finally {\n if (r) throw r.error;\n }\n }\n }\n if (o)\n throw new ze(o);\n }\n }, e.prototype.add = function(t) {\n var n;\n if (t && t !== this)\n if (this.closed)\n wt(t);\n else {\n if (t instanceof e) {\n if (t.closed || t._hasParent(this))\n return;\n t._addParent(this);\n }\n (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);\n }\n }, e.prototype._hasParent = function(t) {\n var n = this._parentage;\n return n === t || Array.isArray(n) && n.includes(t);\n }, e.prototype._addParent = function(t) {\n var n = this._parentage;\n this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;\n }, e.prototype._removeParent = function(t) {\n var n = this._parentage;\n n === t ? this._parentage = null : Array.isArray(n) && _e(n, t);\n }, e.prototype.remove = function(t) {\n var n = this._finalizers;\n n && _e(n, t), t instanceof e && t._removeParent(this);\n }, e.EMPTY = function() {\n var t = new e();\n return t.closed = !0, t;\n }(), e;\n}(), qt = Te.EMPTY;\nfunction Xt(e) {\n return e instanceof Te || e && \"closed\" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);\n}\nfunction wt(e) {\n A(e) ? e() : e.unsubscribe();\n}\nvar Cr = {\n onUnhandledError: null,\n onStoppedNotification: null,\n Promise: void 0,\n useDeprecatedSynchronousErrorHandling: !1,\n useDeprecatedNextContext: !1\n}, Zt = {\n setTimeout: function(e, t) {\n for (var n = [], r = 2; r < arguments.length; r++)\n n[r - 2] = arguments[r];\n return setTimeout.apply(void 0, Se([e, t], he(n)));\n },\n clearTimeout: function(e) {\n var t = Zt.delegate;\n return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);\n },\n delegate: void 0\n};\nfunction en(e) {\n Zt.setTimeout(function() {\n throw e;\n });\n}\nfunction Ie() {\n}\nfunction Ae(e) {\n e();\n}\nvar st = function(e) {\n q(t, e);\n function t(n) {\n var r = e.call(this) || this;\n return r.isStopped = !1, n ? (r.destination = n, Xt(n) && n.add(r)) : r.destination = kr, r;\n }\n return t.create = function(n, r, i) {\n return new Xe(n, r, i);\n }, t.prototype.next = function(n) {\n this.isStopped || this._next(n);\n }, t.prototype.error = function(n) {\n this.isStopped || (this.isStopped = !0, this._error(n));\n }, t.prototype.complete = function() {\n this.isStopped || (this.isStopped = !0, this._complete());\n }, t.prototype.unsubscribe = function() {\n this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);\n }, t.prototype._next = function(n) {\n this.destination.next(n);\n }, t.prototype._error = function(n) {\n try {\n this.destination.error(n);\n } finally {\n this.unsubscribe();\n }\n }, t.prototype._complete = function() {\n try {\n this.destination.complete();\n } finally {\n this.unsubscribe();\n }\n }, t;\n}(Te), Pr = function() {\n function e(t) {\n this.partialObserver = t;\n }\n return e.prototype.next = function(t) {\n var n = this.partialObserver;\n if (n.next)\n try {\n n.next(t);\n } catch (r) {\n Ce(r);\n }\n }, e.prototype.error = function(t) {\n var n = this.partialObserver;\n if (n.error)\n try {\n n.error(t);\n } catch (r) {\n Ce(r);\n }\n else\n Ce(t);\n }, e.prototype.complete = function() {\n var t = this.partialObserver;\n if (t.complete)\n try {\n t.complete();\n } catch (n) {\n Ce(n);\n }\n }, e;\n}(), Xe = function(e) {\n q(t, e);\n function t(n, r, i) {\n var o = e.call(this) || this, s;\n return A(n) || !n ? s = {\n next: n ?? void 0,\n error: r ?? void 0,\n complete: i ?? void 0\n } : s = n, o.destination = new Pr(s), o;\n }\n return t;\n}(st);\nfunction Ce(e) {\n en(e);\n}\nfunction Ar(e) {\n throw e;\n}\nvar kr = {\n closed: !0,\n next: Ie,\n error: Ar,\n complete: Ie\n}, at = function() {\n return typeof Symbol == \"function\" && Symbol.observable || \"@@observable\";\n}();\nfunction ct(e) {\n return e;\n}\nfunction Or(e) {\n return e.length === 0 ? ct : e.length === 1 ? e[0] : function(n) {\n return e.reduce(function(r, i) {\n return i(r);\n }, n);\n };\n}\nvar O = function() {\n function e(t) {\n t && (this._subscribe = t);\n }\n return e.prototype.lift = function(t) {\n var n = new e();\n return n.source = this, n.operator = t, n;\n }, e.prototype.subscribe = function(t, n, r) {\n var i = this, o = _r(t) ? t : new Xe(t, n, r);\n return Ae(function() {\n var s = i, a = s.operator, c = s.source;\n o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));\n }), o;\n }, e.prototype._trySubscribe = function(t) {\n try {\n return this._subscribe(t);\n } catch (n) {\n t.error(n);\n }\n }, e.prototype.forEach = function(t, n) {\n var r = this;\n return n = St(n), new n(function(i, o) {\n var s = new Xe({\n next: function(a) {\n try {\n t(a);\n } catch (c) {\n o(c), s.unsubscribe();\n }\n },\n error: o,\n complete: i\n });\n r.subscribe(s);\n });\n }, e.prototype._subscribe = function(t) {\n var n;\n return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);\n }, e.prototype[at] = function() {\n return this;\n }, e.prototype.pipe = function() {\n for (var t = [], n = 0; n < arguments.length; n++)\n t[n] = arguments[n];\n return Or(t)(this);\n }, e.prototype.toPromise = function(t) {\n var n = this;\n return t = St(t), new t(function(r, i) {\n var o;\n n.subscribe(function(s) {\n return o = s;\n }, function(s) {\n return i(s);\n }, function() {\n return r(o);\n });\n });\n }, e.create = function(t) {\n return new e(t);\n }, e;\n}();\nfunction St(e) {\n var t;\n return (t = e ?? Cr.Promise) !== null && t !== void 0 ? t : Promise;\n}\nfunction Lr(e) {\n return e && A(e.next) && A(e.error) && A(e.complete);\n}\nfunction _r(e) {\n return e && e instanceof st || Lr(e) && Xt(e);\n}\nfunction Ir(e) {\n return A(e == null ? void 0 : e.lift);\n}\nfunction B(e) {\n return function(t) {\n if (Ir(t))\n return t.lift(function(n) {\n try {\n return e(n, this);\n } catch (r) {\n this.error(r);\n }\n });\n throw new TypeError(\"Unable to lift unknown Observable type\");\n };\n}\nfunction j(e, t, n, r, i) {\n return new Mr(e, t, n, r, i);\n}\nvar Mr = function(e) {\n q(t, e);\n function t(n, r, i, o, s, a) {\n var c = e.call(this, n) || this;\n return c.onFinalize = s, c.shouldUnsubscribe = a, c._next = r ? function(u) {\n try {\n r(u);\n } catch (l) {\n n.error(l);\n }\n } : e.prototype._next, c._error = o ? function(u) {\n try {\n o(u);\n } catch (l) {\n n.error(l);\n } finally {\n this.unsubscribe();\n }\n } : e.prototype._error, c._complete = i ? function() {\n try {\n i();\n } catch (u) {\n n.error(u);\n } finally {\n this.unsubscribe();\n }\n } : e.prototype._complete, c;\n }\n return t.prototype.unsubscribe = function() {\n var n;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n var r = this.closed;\n e.prototype.unsubscribe.call(this), !r && ((n = this.onFinalize) === null || n === void 0 || n.call(this));\n }\n }, t;\n}(st), Dr = ot(function(e) {\n return function() {\n e(this), this.name = \"ObjectUnsubscribedError\", this.message = \"object unsubscribed\";\n };\n}), re = function(e) {\n q(t, e);\n function t() {\n var n = e.call(this) || this;\n return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;\n }\n return t.prototype.lift = function(n) {\n var r = new xt(this, this);\n return r.operator = n, r;\n }, t.prototype._throwIfClosed = function() {\n if (this.closed)\n throw new Dr();\n }, t.prototype.next = function(n) {\n var r = this;\n Ae(function() {\n var i, o;\n if (r._throwIfClosed(), !r.isStopped) {\n r.currentObservers || (r.currentObservers = Array.from(r.observers));\n try {\n for (var s = pe(r.currentObservers), a = s.next(); !a.done; a = s.next()) {\n var c = a.value;\n c.next(n);\n }\n } catch (u) {\n i = { error: u };\n } finally {\n try {\n a && !a.done && (o = s.return) && o.call(s);\n } finally {\n if (i) throw i.error;\n }\n }\n }\n });\n }, t.prototype.error = function(n) {\n var r = this;\n Ae(function() {\n if (r._throwIfClosed(), !r.isStopped) {\n r.hasError = r.isStopped = !0, r.thrownError = n;\n for (var i = r.observers; i.length; )\n i.shift().error(n);\n }\n });\n }, t.prototype.complete = function() {\n var n = this;\n Ae(function() {\n if (n._throwIfClosed(), !n.isStopped) {\n n.isStopped = !0;\n for (var r = n.observers; r.length; )\n r.shift().complete();\n }\n });\n }, t.prototype.unsubscribe = function() {\n this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;\n }, Object.defineProperty(t.prototype, \"observed\", {\n get: function() {\n var n;\n return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype._trySubscribe = function(n) {\n return this._throwIfClosed(), e.prototype._trySubscribe.call(this, n);\n }, t.prototype._subscribe = function(n) {\n return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);\n }, t.prototype._innerSubscribe = function(n) {\n var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;\n return o || s ? qt : (this.currentObservers = null, a.push(n), new Te(function() {\n r.currentObservers = null, _e(a, n);\n }));\n }, t.prototype._checkFinalizedStatuses = function(n) {\n var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;\n i ? n.error(o) : s && n.complete();\n }, t.prototype.asObservable = function() {\n var n = new O();\n return n.source = this, n;\n }, t.create = function(n, r) {\n return new xt(n, r);\n }, t;\n}(O), xt = function(e) {\n q(t, e);\n function t(n, r) {\n var i = e.call(this) || this;\n return i.destination = n, i.source = r, i;\n }\n return t.prototype.next = function(n) {\n var r, i;\n (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);\n }, t.prototype.error = function(n) {\n var r, i;\n (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);\n }, t.prototype.complete = function() {\n var n, r;\n (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);\n }, t.prototype._subscribe = function(n) {\n var r, i;\n return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : qt;\n }, t;\n}(re), tn = function(e) {\n q(t, e);\n function t(n) {\n var r = e.call(this) || this;\n return r._value = n, r;\n }\n return Object.defineProperty(t.prototype, \"value\", {\n get: function() {\n return this.getValue();\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype._subscribe = function(n) {\n var r = e.prototype._subscribe.call(this, n);\n return !r.closed && n.next(this._value), r;\n }, t.prototype.getValue = function() {\n var n = this, r = n.hasError, i = n.thrownError, o = n._value;\n if (r)\n throw i;\n return this._throwIfClosed(), o;\n }, t.prototype.next = function(n) {\n e.prototype.next.call(this, this._value = n);\n }, t;\n}(re), Rr = {\n now: function() {\n return Date.now();\n },\n delegate: void 0\n}, Nr = function(e) {\n q(t, e);\n function t(n, r) {\n return e.call(this) || this;\n }\n return t.prototype.schedule = function(n, r) {\n return this;\n }, t;\n}(Te), Et = {\n setInterval: function(e, t) {\n for (var n = [], r = 2; r < arguments.length; r++)\n n[r - 2] = arguments[r];\n return setInterval.apply(void 0, Se([e, t], he(n)));\n },\n clearInterval: function(e) {\n return clearInterval(e);\n },\n delegate: void 0\n}, $r = function(e) {\n q(t, e);\n function t(n, r) {\n var i = e.call(this, n, r) || this;\n return i.scheduler = n, i.work = r, i.pending = !1, i;\n }\n return t.prototype.schedule = function(n, r) {\n var i;\n if (r === void 0 && (r = 0), this.closed)\n return this;\n this.state = n;\n var o = this.id, s = this.scheduler;\n return o != null && (this.id = this.recycleAsyncId(s, o, r)), this.pending = !0, this.delay = r, this.id = (i = this.id) !== null && i !== void 0 ? i : this.requestAsyncId(s, this.id, r), this;\n }, t.prototype.requestAsyncId = function(n, r, i) {\n return i === void 0 && (i = 0), Et.setInterval(n.flush.bind(n, this), i);\n }, t.prototype.recycleAsyncId = function(n, r, i) {\n if (i === void 0 && (i = 0), i != null && this.delay === i && this.pending === !1)\n return r;\n r != null && Et.clearInterval(r);\n }, t.prototype.execute = function(n, r) {\n if (this.closed)\n return new Error(\"executing a cancelled action\");\n this.pending = !1;\n var i = this._execute(n, r);\n if (i)\n return i;\n this.pending === !1 && this.id != null && (this.id = this.recycleAsyncId(this.scheduler, this.id, null));\n }, t.prototype._execute = function(n, r) {\n var i = !1, o;\n try {\n this.work(n);\n } catch (s) {\n i = !0, o = s || new Error(\"Scheduled action threw falsy error\");\n }\n if (i)\n return this.unsubscribe(), o;\n }, t.prototype.unsubscribe = function() {\n if (!this.closed) {\n var n = this, r = n.id, i = n.scheduler, o = i.actions;\n this.work = this.state = this.scheduler = null, this.pending = !1, _e(o, this), r != null && (this.id = this.recycleAsyncId(i, r, null)), this.delay = null, e.prototype.unsubscribe.call(this);\n }\n }, t;\n}(Nr), Tt = function() {\n function e(t, n) {\n n === void 0 && (n = e.now), this.schedulerActionCtor = t, this.now = n;\n }\n return e.prototype.schedule = function(t, n, r) {\n return n === void 0 && (n = 0), new this.schedulerActionCtor(this, t).schedule(r, n);\n }, e.now = Rr.now, e;\n}(), Ur = function(e) {\n q(t, e);\n function t(n, r) {\n r === void 0 && (r = Tt.now);\n var i = e.call(this, n, r) || this;\n return i.actions = [], i._active = !1, i;\n }\n return t.prototype.flush = function(n) {\n var r = this.actions;\n if (this._active) {\n r.push(n);\n return;\n }\n var i;\n this._active = !0;\n do\n if (i = n.execute(n.state, n.delay))\n break;\n while (n = r.shift());\n if (this._active = !1, i) {\n for (; n = r.shift(); )\n n.unsubscribe();\n throw i;\n }\n }, t;\n}(Tt), Fr = new Ur($r), jr = new O(function(e) {\n return e.complete();\n});\nfunction Wr(e) {\n return e && A(e.schedule);\n}\nfunction nn(e) {\n return e[e.length - 1];\n}\nfunction Be(e) {\n return Wr(nn(e)) ? e.pop() : void 0;\n}\nfunction Br(e, t) {\n return typeof nn(e) == \"number\" ? e.pop() : t;\n}\nvar ut = function(e) {\n return e && typeof e.length == \"number\" && typeof e != \"function\";\n};\nfunction rn(e) {\n return A(e == null ? void 0 : e.then);\n}\nfunction on(e) {\n return A(e[at]);\n}\nfunction sn(e) {\n return Symbol.asyncIterator && A(e == null ? void 0 : e[Symbol.asyncIterator]);\n}\nfunction an(e) {\n return new TypeError(\"You provided \" + (e !== null && typeof e == \"object\" ? \"an invalid object\" : \"'\" + e + \"'\") + \" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.\");\n}\nfunction Vr() {\n return typeof Symbol != \"function\" || !Symbol.iterator ? \"@@iterator\" : Symbol.iterator;\n}\nvar cn = Vr();\nfunction un(e) {\n return A(e == null ? void 0 : e[cn]);\n}\nfunction ln(e) {\n return Er(this, arguments, function() {\n var n, r, i, o;\n return Jt(this, function(s) {\n switch (s.label) {\n case 0:\n n = e.getReader(), s.label = 1;\n case 1:\n s.trys.push([1, , 9, 10]), s.label = 2;\n case 2:\n return [4, fe(n.read())];\n case 3:\n return r = s.sent(), i = r.value, o = r.done, o ? [4, fe(void 0)] : [3, 5];\n case 4:\n return [2, s.sent()];\n case 5:\n return [4, fe(i)];\n case 6:\n return [4, s.sent()];\n case 7:\n return s.sent(), [3, 2];\n case 8:\n return [3, 10];\n case 9:\n return n.releaseLock(), [7];\n case 10:\n return [2];\n }\n });\n });\n}\nfunction fn(e) {\n return A(e == null ? void 0 : e.getReader);\n}\nfunction Y(e) {\n if (e instanceof O)\n return e;\n if (e != null) {\n if (on(e))\n return Hr(e);\n if (ut(e))\n return zr(e);\n if (rn(e))\n return Yr(e);\n if (sn(e))\n return dn(e);\n if (un(e))\n return Gr(e);\n if (fn(e))\n return Kr(e);\n }\n throw an(e);\n}\nfunction Hr(e) {\n return new O(function(t) {\n var n = e[at]();\n if (A(n.subscribe))\n return n.subscribe(t);\n throw new TypeError(\"Provided object does not correctly implement Symbol.observable\");\n });\n}\nfunction zr(e) {\n return new O(function(t) {\n for (var n = 0; n < e.length && !t.closed; n++)\n t.next(e[n]);\n t.complete();\n });\n}\nfunction Yr(e) {\n return new O(function(t) {\n e.then(function(n) {\n t.closed || (t.next(n), t.complete());\n }, function(n) {\n return t.error(n);\n }).then(null, en);\n });\n}\nfunction Gr(e) {\n return new O(function(t) {\n var n, r;\n try {\n for (var i = pe(e), o = i.next(); !o.done; o = i.next()) {\n var s = o.value;\n if (t.next(s), t.closed)\n return;\n }\n } catch (a) {\n n = { error: a };\n } finally {\n try {\n o && !o.done && (r = i.return) && r.call(i);\n } finally {\n if (n) throw n.error;\n }\n }\n t.complete();\n });\n}\nfunction dn(e) {\n return new O(function(t) {\n Qr(e, t).catch(function(n) {\n return t.error(n);\n });\n });\n}\nfunction Kr(e) {\n return dn(ln(e));\n}\nfunction Qr(e, t) {\n var n, r, i, o;\n return xr(this, void 0, void 0, function() {\n var s, a;\n return Jt(this, function(c) {\n switch (c.label) {\n case 0:\n c.trys.push([0, 5, 6, 11]), n = Tr(e), c.label = 1;\n case 1:\n return [4, n.next()];\n case 2:\n if (r = c.sent(), !!r.done) return [3, 4];\n if (s = r.value, t.next(s), t.closed)\n return [2];\n c.label = 3;\n case 3:\n return [3, 1];\n case 4:\n return [3, 11];\n case 5:\n return a = c.sent(), i = { error: a }, [3, 11];\n case 6:\n return c.trys.push([6, , 9, 10]), r && !r.done && (o = n.return) ? [4, o.call(n)] : [3, 8];\n case 7:\n c.sent(), c.label = 8;\n case 8:\n return [3, 10];\n case 9:\n if (i) throw i.error;\n return [7];\n case 10:\n return [7];\n case 11:\n return t.complete(), [2];\n }\n });\n });\n}\nfunction ee(e, t, n, r, i) {\n r === void 0 && (r = 0), i === void 0 && (i = !1);\n var o = t.schedule(function() {\n n(), i ? e.add(this.schedule(null, r)) : this.unsubscribe();\n }, r);\n if (e.add(o), !i)\n return o;\n}\nfunction pn(e, t) {\n return t === void 0 && (t = 0), B(function(n, r) {\n n.subscribe(j(r, function(i) {\n return ee(r, e, function() {\n return r.next(i);\n }, t);\n }, function() {\n return ee(r, e, function() {\n return r.complete();\n }, t);\n }, function(i) {\n return ee(r, e, function() {\n return r.error(i);\n }, t);\n }));\n });\n}\nfunction hn(e, t) {\n return t === void 0 && (t = 0), B(function(n, r) {\n r.add(e.schedule(function() {\n return n.subscribe(r);\n }, t));\n });\n}\nfunction Jr(e, t) {\n return Y(e).pipe(hn(t), pn(t));\n}\nfunction qr(e, t) {\n return Y(e).pipe(hn(t), pn(t));\n}\nfunction Xr(e, t) {\n return new O(function(n) {\n var r = 0;\n return t.schedule(function() {\n r === e.length ? n.complete() : (n.next(e[r++]), n.closed || this.schedule());\n });\n });\n}\nfunction Zr(e, t) {\n return new O(function(n) {\n var r;\n return ee(n, t, function() {\n r = e[cn](), ee(n, t, function() {\n var i, o, s;\n try {\n i = r.next(), o = i.value, s = i.done;\n } catch (a) {\n n.error(a);\n return;\n }\n s ? n.complete() : n.next(o);\n }, 0, !0);\n }), function() {\n return A(r == null ? void 0 : r.return) && r.return();\n };\n });\n}\nfunction vn(e, t) {\n if (!e)\n throw new Error(\"Iterable cannot be null\");\n return new O(function(n) {\n ee(n, t, function() {\n var r = e[Symbol.asyncIterator]();\n ee(n, t, function() {\n r.next().then(function(i) {\n i.done ? n.complete() : n.next(i.value);\n });\n }, 0, !0);\n });\n });\n}\nfunction ei(e, t) {\n return vn(ln(e), t);\n}\nfunction ti(e, t) {\n if (e != null) {\n if (on(e))\n return Jr(e, t);\n if (ut(e))\n return Xr(e, t);\n if (rn(e))\n return qr(e, t);\n if (sn(e))\n return vn(e, t);\n if (un(e))\n return Zr(e, t);\n if (fn(e))\n return ei(e, t);\n }\n throw an(e);\n}\nfunction lt(e, t) {\n return t ? ti(e, t) : Y(e);\n}\nfunction Ct() {\n for (var e = [], t = 0; t < arguments.length; t++)\n e[t] = arguments[t];\n var n = Be(e);\n return lt(e, n);\n}\nfunction ni(e) {\n return e instanceof Date && !isNaN(e);\n}\nvar ri = ot(function(e) {\n return function(n) {\n n === void 0 && (n = null), e(this), this.message = \"Timeout has occurred\", this.name = \"TimeoutError\", this.info = n;\n };\n});\nfunction ii(e, t) {\n var n = ni(e) ? { first: e } : typeof e == \"number\" ? { each: e } : e, r = n.first, i = n.each, o = n.with, s = o === void 0 ? oi : o, a = n.scheduler, c = a === void 0 ? Fr : a, u = n.meta, l = u === void 0 ? null : u;\n if (r == null && i == null)\n throw new TypeError(\"No timeout provided.\");\n return B(function(f, h) {\n var d, m, p = null, g = 0, v = function(E) {\n m = ee(h, c, function() {\n try {\n d.unsubscribe(), Y(s({\n meta: l,\n lastValue: p,\n seen: g\n })).subscribe(h);\n } catch (P) {\n h.error(P);\n }\n }, E);\n };\n d = f.subscribe(j(h, function(E) {\n m == null || m.unsubscribe(), g++, h.next(p = E), i > 0 && v(i);\n }, void 0, void 0, function() {\n m != null && m.closed || m == null || m.unsubscribe(), p = null;\n })), !g && v(r != null ? typeof r == \"number\" ? r : +r - c.now() : i);\n });\n}\nfunction oi(e) {\n throw new ri(e);\n}\nfunction k(e, t) {\n return B(function(n, r) {\n var i = 0;\n n.subscribe(j(r, function(o) {\n r.next(e.call(t, o, i++));\n }));\n });\n}\nvar si = Array.isArray;\nfunction ai(e, t) {\n return si(t) ? e.apply(void 0, Se([], he(t))) : e(t);\n}\nfunction ci(e) {\n return k(function(t) {\n return ai(e, t);\n });\n}\nfunction ui(e, t, n, r, i, o, s, a) {\n var c = [], u = 0, l = 0, f = !1, h = function() {\n f && !c.length && !u && t.complete();\n }, d = function(p) {\n return u < r ? m(p) : c.push(p);\n }, m = function(p) {\n u++;\n var g = !1;\n Y(n(p, l++)).subscribe(j(t, function(v) {\n t.next(v);\n }, function() {\n g = !0;\n }, void 0, function() {\n if (g)\n try {\n u--;\n for (var v = function() {\n var E = c.shift();\n s || m(E);\n }; c.length && u < r; )\n v();\n h();\n } catch (E) {\n t.error(E);\n }\n }));\n };\n return e.subscribe(j(t, d, function() {\n f = !0, h();\n })), function() {\n };\n}\nfunction ft(e, t, n) {\n return n === void 0 && (n = 1 / 0), A(t) ? ft(function(r, i) {\n return k(function(o, s) {\n return t(r, o, i, s);\n })(Y(e(r, i)));\n }, n) : (typeof t == \"number\" && (n = t), B(function(r, i) {\n return ui(r, i, e, n);\n }));\n}\nfunction mn(e) {\n return e === void 0 && (e = 1 / 0), ft(ct, e);\n}\nfunction li() {\n return mn(1);\n}\nfunction Me() {\n for (var e = [], t = 0; t < arguments.length; t++)\n e[t] = arguments[t];\n return li()(lt(e, Be(e)));\n}\nvar fi = [\"addListener\", \"removeListener\"], di = [\"addEventListener\", \"removeEventListener\"], pi = [\"on\", \"off\"];\nfunction Ze(e, t, n, r) {\n if (A(n) && (r = n, n = void 0), r)\n return Ze(e, t, n).pipe(ci(r));\n var i = he(mi(e) ? di.map(function(a) {\n return function(c) {\n return e[a](t, c, n);\n };\n }) : hi(e) ? fi.map(Pt(e, t)) : vi(e) ? pi.map(Pt(e, t)) : [], 2), o = i[0], s = i[1];\n if (!o && ut(e))\n return ft(function(a) {\n return Ze(a, t, n);\n })(Y(e));\n if (!o)\n throw new TypeError(\"Invalid event target\");\n return new O(function(a) {\n var c = function() {\n for (var u = [], l = 0; l < arguments.length; l++)\n u[l] = arguments[l];\n return a.next(1 < u.length ? u : u[0]);\n };\n return o(c), function() {\n return s(c);\n };\n });\n}\nfunction Pt(e, t) {\n return function(n) {\n return function(r) {\n return e[n](t, r);\n };\n };\n}\nfunction hi(e) {\n return A(e.addListener) && A(e.removeListener);\n}\nfunction vi(e) {\n return A(e.on) && A(e.off);\n}\nfunction mi(e) {\n return A(e.addEventListener) && A(e.removeEventListener);\n}\nfunction gi() {\n for (var e = [], t = 0; t < arguments.length; t++)\n e[t] = arguments[t];\n var n = Be(e), r = Br(e, 1 / 0), i = e;\n return i.length ? i.length === 1 ? Y(i[0]) : mn(r)(lt(i, n)) : jr;\n}\nfunction dt(e, t) {\n return B(function(n, r) {\n var i = 0;\n n.subscribe(j(r, function(o) {\n return e.call(t, o, i++) && r.next(o);\n }));\n });\n}\nfunction bi(e, t, n, r, i) {\n return function(o, s) {\n var a = n, c = t, u = 0;\n o.subscribe(j(s, function(l) {\n var f = u++;\n c = a ? e(c, l, f) : (a = !0, l), s.next(c);\n }, i));\n };\n}\nfunction yi(e, t) {\n return t === void 0 && (t = ct), e = e ?? wi, B(function(n, r) {\n var i, o = !0;\n n.subscribe(j(r, function(s) {\n var a = t(s);\n (o || !e(i, a)) && (o = !1, i = a, r.next(s));\n }));\n });\n}\nfunction wi(e, t) {\n return e === t;\n}\nfunction Si(e) {\n return B(function(t, n) {\n try {\n t.subscribe(n);\n } finally {\n n.add(e);\n }\n });\n}\nfunction xi(e, t) {\n return B(bi(e, t, arguments.length >= 2, !0));\n}\nfunction Ei(e) {\n return B(function(t, n) {\n var r = !1, i = j(n, function() {\n i == null || i.unsubscribe(), r = !0;\n }, Ie);\n Y(e).subscribe(i), t.subscribe(j(n, function(o) {\n return r && n.next(o);\n }));\n });\n}\nfunction R() {\n for (var e = [], t = 0; t < arguments.length; t++)\n e[t] = arguments[t];\n var n = Be(e);\n return B(function(r, i) {\n (n ? Me(e, r, n) : Me(e, r)).subscribe(i);\n });\n}\nfunction gn(e, t) {\n return B(function(n, r) {\n var i = null, o = 0, s = !1, a = function() {\n return s && !i && r.complete();\n };\n n.subscribe(j(r, function(c) {\n i == null || i.unsubscribe();\n var u = 0, l = o++;\n Y(e(c, l)).subscribe(i = j(r, function(f) {\n return r.next(t ? t(c, f, l, u++) : f);\n }, function() {\n i = null, a();\n }));\n }, function() {\n s = !0, a();\n }));\n });\n}\nfunction At(e) {\n return B(function(t, n) {\n Y(e).subscribe(j(n, function() {\n return n.complete();\n }, Ie)), !n.closed && t.subscribe(n);\n });\n}\nvar Ti = Object.defineProperty, Ci = Object.defineProperties, Pi = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, ki = Object.prototype.propertyIsEnumerable, Ot = (e, t, n) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Q = (e, t) => {\n for (var n in t || (t = {}))\n Ai.call(t, n) && Ot(e, n, t[n]);\n if (kt)\n for (var n of kt(t))\n ki.call(t, n) && Ot(e, n, t[n]);\n return e;\n}, ye = (e, t) => Ci(e, Pi(t)), W = (e, t, n) => new Promise((r, i) => {\n var o = (c) => {\n try {\n a(n.next(c));\n } catch (u) {\n i(u);\n }\n }, s = (c) => {\n try {\n a(n.throw(c));\n } catch (u) {\n i(u);\n }\n }, a = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(o, s);\n a((n = n.apply(e, t)).next());\n}), bn = \"lk\";\nfunction F(e) {\n return typeof e > \"u\" ? !1 : Oi(e) || Li(e);\n}\nfunction Oi(e) {\n var t;\n return e ? e.hasOwnProperty(\"participant\") && e.hasOwnProperty(\"source\") && e.hasOwnProperty(\"track\") && typeof ((t = e.publication) == null ? void 0 : t.track) < \"u\" : !1;\n}\nfunction Li(e) {\n return e ? e.hasOwnProperty(\"participant\") && e.hasOwnProperty(\"source\") && e.hasOwnProperty(\"publication\") && typeof e.publication < \"u\" : !1;\n}\nfunction xe(e) {\n return e ? e.hasOwnProperty(\"participant\") && e.hasOwnProperty(\"source\") && typeof e.publication > \"u\" : !1;\n}\nfunction N(e) {\n if (typeof e == \"string\" || typeof e == \"number\")\n return `${e}`;\n if (xe(e))\n return `${e.participant.identity}_${e.source}_placeholder`;\n if (F(e))\n return `${e.participant.identity}_${e.publication.source}_${e.publication.trackSid}`;\n throw new Error(`Can't generate a id for the given track reference: ${e}`);\n}\nfunction To(e, t) {\n return e === void 0 || t === void 0 ? !1 : F(e) && F(t) ? e.publication.trackSid === t.publication.trackSid : N(e) === N(t);\n}\nfunction Co(e, t) {\n return typeof t > \"u\" ? !1 : F(e) ? t.some(\n (n) => n.participant.identity === e.participant.identity && F(n) && n.publication.trackSid === e.publication.trackSid\n ) : xe(e) ? t.some(\n (n) => n.participant.identity === e.participant.identity && xe(n) && n.source === e.source\n ) : !1;\n}\nfunction _i(e, t) {\n return xe(e) && F(t) && t.participant.identity === e.participant.identity && t.source === e.source;\n}\nfunction Po() {\n const e = document.createElement(\"p\");\n e.style.width = \"100%\", e.style.height = \"200px\";\n const t = document.createElement(\"div\");\n t.style.position = \"absolute\", t.style.top = \"0px\", t.style.left = \"0px\", t.style.visibility = \"hidden\", t.style.width = \"200px\", t.style.height = \"150px\", t.style.overflow = \"hidden\", t.appendChild(e), document.body.appendChild(t);\n const n = e.offsetWidth;\n t.style.overflow = \"scroll\";\n let r = e.offsetWidth;\n return n === r && (r = t.clientWidth), document.body.removeChild(t), n - r;\n}\nfunction Ao() {\n return typeof document < \"u\";\n}\nfunction Ii(e) {\n e = Q({}, e);\n const t = \"(?:(?:[a-z]+:)?//)?\", n = \"(?:\\\\S+(?::\\\\S*)?@)?\", r = new RegExp(\n \"(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)){3}\",\n \"g\"\n ).source, u = `(?:${t}|www\\\\.)${n}(?:localhost|${r}|(?:(?:[a-z\\\\u00a1-\\\\uffff0-9][-_]*)*[a-z\\\\u00a1-\\\\uffff0-9]+)(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff0-9]-*)*[a-z\\\\u00a1-\\\\uffff0-9]+)*(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff]{2,}))\\\\.?)(?::\\\\d{2,5})?(?:[/?#][^\\\\s\"]*)?`;\n return e.exact ? new RegExp(`(?:^${u}$)`, \"i\") : new RegExp(u, \"ig\");\n}\nvar Lt = \"[^\\\\.\\\\s@:](?:[^\\\\s@:]*[^\\\\s@:\\\\.])?@[^\\\\.\\\\s@]+(?:\\\\.[^\\\\.\\\\s@]+)*\";\nfunction Mi({ exact: e } = {}) {\n return e ? new RegExp(`^${Lt}$`) : new RegExp(Lt, \"g\");\n}\nfunction ko(e, t) {\n return W(this, null, function* () {\n const { x: n, y: r } = yield gr(e, t, {\n placement: \"top\",\n middleware: [hr(6), mr(), vr({ padding: 5 })]\n });\n return { x: n, y: r };\n });\n}\nfunction Oo(e, t) {\n return !e.contains(t.target);\n}\nvar Lo = () => ({\n email: Mi(),\n url: Ii({})\n});\nfunction _o(e, t) {\n const n = Object.entries(t).map(\n ([o, s], a) => Array.from(e.matchAll(s)).map(({ index: c, 0: u }) => ({\n type: o,\n weight: a,\n content: u,\n index: c ?? 0\n }))\n ).flat().sort((o, s) => {\n const a = o.index - s.index;\n return a !== 0 ? a : o.weight - s.weight;\n }).filter(({ index: o }, s, a) => {\n if (s === 0) return !0;\n const c = a[s - 1];\n return c.index + c.content.length <= o;\n }), r = [];\n let i = 0;\n for (const { type: o, content: s, index: a } of n)\n a > i && r.push(e.substring(i, a)), r.push({ type: o, content: s }), i = a + s.length;\n return e.length > i && r.push(e.substring(i)), r;\n}\nvar Di = [\n b.ConnectionStateChanged,\n b.RoomMetadataChanged,\n b.ActiveSpeakersChanged,\n b.ConnectionQualityChanged,\n b.ParticipantConnected,\n b.ParticipantDisconnected,\n b.ParticipantPermissionsChanged,\n b.ParticipantMetadataChanged,\n b.ParticipantNameChanged,\n b.ParticipantAttributesChanged,\n b.TrackMuted,\n b.TrackUnmuted,\n b.TrackPublished,\n b.TrackUnpublished,\n b.TrackStreamStateChanged,\n b.TrackSubscriptionFailed,\n b.TrackSubscriptionPermissionChanged,\n b.TrackSubscriptionStatusChanged\n], yn = [\n ...Di,\n b.LocalTrackPublished,\n b.LocalTrackUnpublished\n], Ri = [\n y.TrackPublished,\n y.TrackUnpublished,\n y.TrackMuted,\n y.TrackUnmuted,\n y.TrackStreamStateChanged,\n y.TrackSubscribed,\n y.TrackUnsubscribed,\n y.TrackSubscriptionPermissionChanged,\n y.TrackSubscriptionFailed,\n y.LocalTrackPublished,\n y.LocalTrackUnpublished\n], Ni = [\n y.ConnectionQualityChanged,\n y.IsSpeakingChanged,\n y.ParticipantMetadataChanged,\n y.ParticipantPermissionsChanged,\n y.TrackMuted,\n y.TrackUnmuted,\n y.TrackPublished,\n y.TrackUnpublished,\n y.TrackStreamStateChanged,\n y.TrackSubscriptionFailed,\n y.TrackSubscriptionPermissionChanged,\n y.TrackSubscriptionStatusChanged\n], wn = [\n ...Ni,\n y.LocalTrackPublished,\n y.LocalTrackUnpublished\n], _ = Sr.getLogger(\"lk-components-js\");\n_.setDefaultLevel(\"WARN\");\nfunction Io(e, t = {}) {\n var n;\n _.setLevel(e), Nn((n = t.liveKitClientLogLevel) != null ? n : e);\n}\nfunction Mo(e, t = {}) {\n var n;\n const r = _.methodFactory;\n _.methodFactory = (i, o, s) => {\n const a = r(i, o, s), c = pt[i], u = c >= o && c < pt.silent;\n return (l, f) => {\n f ? a(l, f) : a(l), u && e(c, l, f);\n };\n }, _.setLevel(_.getLevel()), $n((n = t.liveKitClientLogExtension) != null ? n : e);\n}\nvar Do = [\n {\n columns: 1,\n rows: 1\n },\n {\n columns: 1,\n rows: 2,\n orientation: \"portrait\"\n },\n {\n columns: 2,\n rows: 1,\n orientation: \"landscape\"\n },\n {\n columns: 2,\n rows: 2,\n minWidth: 560\n },\n {\n columns: 3,\n rows: 3,\n minWidth: 700\n },\n {\n columns: 4,\n rows: 4,\n minWidth: 960\n },\n {\n columns: 5,\n rows: 5,\n minWidth: 1100\n }\n];\nfunction $i(e, t, n, r) {\n if (e.length < 1)\n throw new Error(\"At least one grid layout definition must be provided.\");\n const i = Ui(e);\n if (n <= 0 || r <= 0)\n return i[0];\n let o = 0;\n const s = n / r > 1 ? \"landscape\" : \"portrait\";\n let a = i.find((c, u, l) => {\n o = u;\n const f = l.findIndex((h, d) => {\n const m = !h.orientation || h.orientation === s, p = d > u, g = h.maxTiles === c.maxTiles;\n return p && g && m;\n }) !== -1;\n return c.maxTiles >= t && !f;\n });\n if (a === void 0)\n if (a = i[i.length - 1], a)\n _.warn(\n `No layout found for: participantCount: ${t}, width/height: ${n}/${r} fallback to biggest available layout (${a}).`\n );\n else\n throw new Error(\"No layout or fallback layout found.\");\n if ((n < a.minWidth || r < a.minHeight) && o > 0) {\n const c = i[o - 1];\n a = $i(\n i.slice(0, o),\n c.maxTiles,\n n,\n r\n );\n }\n return a;\n}\nfunction Ui(e) {\n return [...e].map((t) => {\n var n, r;\n return {\n name: `${t.columns}x${t.rows}`,\n columns: t.columns,\n rows: t.rows,\n maxTiles: t.columns * t.rows,\n minWidth: (n = t.minWidth) != null ? n : 0,\n minHeight: (r = t.minHeight) != null ? r : 0,\n orientation: t.orientation\n };\n }).sort((t, n) => t.maxTiles !== n.maxTiles ? t.maxTiles - n.maxTiles : t.minWidth !== 0 || n.minWidth !== 0 ? t.minWidth - n.minWidth : t.minHeight !== 0 || n.minHeight !== 0 ? t.minHeight - n.minHeight : 0);\n}\nfunction Ro() {\n return typeof navigator < \"u\" && navigator.mediaDevices && !!navigator.mediaDevices.getDisplayMedia;\n}\nfunction No(e, t) {\n var n;\n return ye(Q({}, e), {\n receivedAtMediaTimestamp: (n = t.rtpTimestamp) != null ? n : 0,\n receivedAt: t.timestamp\n });\n}\nfunction $o(e, t, n) {\n return [...e, ...t].reduceRight((r, i) => (r.find((o) => o.id === i.id) || r.unshift(i), r), []).slice(0 - n);\n}\nvar Sn = [], xn = {\n showChat: !1,\n unreadMessages: 0,\n showSettings: !1\n};\nfunction Fi(e) {\n return typeof e == \"object\";\n}\nfunction Uo(e) {\n return Array.isArray(e) && e.filter(Fi).length > 0;\n}\nfunction En(e, t) {\n return t.audioLevel - e.audioLevel;\n}\nfunction Tn(e, t) {\n return e.isSpeaking === t.isSpeaking ? 0 : e.isSpeaking ? -1 : 1;\n}\nfunction Cn(e, t) {\n var n, r, i, o;\n return e.lastSpokeAt !== void 0 || t.lastSpokeAt !== void 0 ? ((r = (n = t.lastSpokeAt) == null ? void 0 : n.getTime()) != null ? r : 0) - ((o = (i = e.lastSpokeAt) == null ? void 0 : i.getTime()) != null ? o : 0) : 0;\n}\nfunction De(e, t) {\n var n, r, i, o;\n return ((r = (n = e.joinedAt) == null ? void 0 : n.getTime()) != null ? r : 0) - ((o = (i = t.joinedAt) == null ? void 0 : i.getTime()) != null ? o : 0);\n}\nfunction ji(e, t) {\n return F(e) ? F(t) ? 0 : -1 : F(t) ? 1 : 0;\n}\nfunction Wi(e, t) {\n const n = e.participant.isCameraEnabled, r = t.participant.isCameraEnabled;\n return n !== r ? n ? -1 : 1 : 0;\n}\nfunction Fo(e) {\n const t = [], n = [], r = [], i = [];\n e.forEach((a) => {\n a.participant.isLocal && a.source === D.Source.Camera ? t.push(a) : a.source === D.Source.ScreenShare ? n.push(a) : a.source === D.Source.Camera ? r.push(a) : i.push(a);\n });\n const o = Bi(n), s = Vi(r);\n return [...t, ...o, ...s, ...i];\n}\nfunction Bi(e) {\n const t = [], n = [];\n return e.forEach((i) => {\n i.participant.isLocal ? t.push(i) : n.push(i);\n }), t.sort((i, o) => De(i.participant, o.participant)), n.sort((i, o) => De(i.participant, o.participant)), [...n, ...t];\n}\nfunction Vi(e) {\n const t = [], n = [];\n return e.forEach((r) => {\n r.participant.isLocal ? t.push(r) : n.push(r);\n }), n.sort((r, i) => r.participant.isSpeaking && i.participant.isSpeaking ? En(r.participant, i.participant) : r.participant.isSpeaking !== i.participant.isSpeaking ? Tn(r.participant, i.participant) : r.participant.lastSpokeAt !== i.participant.lastSpokeAt ? Cn(r.participant, i.participant) : F(r) !== F(i) ? ji(r, i) : r.participant.isCameraEnabled !== i.participant.isCameraEnabled ? Wi(r, i) : De(r.participant, i.participant)), [...t, ...n];\n}\nfunction jo(e) {\n const t = [...e];\n t.sort((r, i) => {\n if (r.isSpeaking && i.isSpeaking)\n return En(r, i);\n if (r.isSpeaking !== i.isSpeaking)\n return Tn(r, i);\n if (r.lastSpokeAt !== i.lastSpokeAt)\n return Cn(r, i);\n const o = r.videoTrackPublications.size > 0, s = i.videoTrackPublications.size > 0;\n return o !== s ? o ? -1 : 1 : De(r, i);\n });\n const n = t.find((r) => r.isLocal);\n if (n) {\n const r = t.indexOf(n);\n r >= 0 && (t.splice(r, 1), t.length > 0 ? t.splice(0, 0, n) : t.push(n));\n }\n return t;\n}\nfunction Hi(e, t) {\n return e.reduce(\n (n, r, i) => i % t === 0 ? [...n, [r]] : [...n.slice(0, -1), [...n.slice(-1)[0], r]],\n []\n );\n}\nfunction _t(e, t) {\n const n = Math.max(e.length, t.length);\n return new Array(n).fill([]).map((r, i) => [e[i], t[i]]);\n}\nfunction Re(e, t, n) {\n return e.filter((r) => !t.map((i) => n(i)).includes(n(r)));\n}\nfunction et(e) {\n return e.map((t) => typeof t == \"string\" || typeof t == \"number\" ? `${t}` : N(t));\n}\nfunction zi(e, t) {\n return {\n dropped: Re(e, t, N),\n added: Re(t, e, N)\n };\n}\nfunction Yi(e) {\n return e.added.length !== 0 || e.dropped.length !== 0;\n}\nfunction tt(e, t) {\n const n = t.findIndex(\n (r) => N(r) === N(e)\n );\n if (n === -1)\n throw new Error(\n `Element not part of the array: ${N(\n e\n )} not in ${et(t)}`\n );\n return n;\n}\nfunction Gi(e, t, n) {\n const r = tt(e, n), i = tt(t, n);\n return n.splice(r, 1, t), n.splice(i, 1, e), n;\n}\nfunction Ki(e, t) {\n const n = tt(e, t);\n return t.splice(n, 1), t;\n}\nfunction Qi(e, t) {\n return [...t, e];\n}\nfunction Ye(e, t) {\n return Hi(e, t);\n}\nfunction Wo(e, t, n) {\n let r = Ji(e, t);\n if (r.length < t.length) {\n const s = Re(t, r, N);\n r = [...r, ...s];\n }\n const i = Ye(r, n), o = Ye(t, n);\n if (_t(i, o).forEach(([s, a], c) => {\n if (s && a) {\n const u = Ye(r, n)[c], l = zi(u, a);\n Yi(l) && (_.debug(\n `Detected visual changes on page: ${c}, current: ${et(\n s\n )}, next: ${et(a)}`,\n { changes: l }\n ), l.added.length === l.dropped.length && _t(l.added, l.dropped).forEach(([f, h]) => {\n if (f && h)\n r = Gi(f, h, r);\n else\n throw new Error(\n `For a swap action we need a addition and a removal one is missing: ${f}, ${h}`\n );\n }), l.added.length === 0 && l.dropped.length > 0 && l.dropped.forEach((f) => {\n r = Ki(f, r);\n }), l.added.length > 0 && l.dropped.length === 0 && l.added.forEach((f) => {\n r = Qi(f, r);\n }));\n }\n }), r.length > t.length) {\n const s = Re(r, t, N);\n r = r.filter(\n (a) => !s.map(N).includes(N(a))\n );\n }\n return r;\n}\nfunction Ji(e, t) {\n return e.map((n) => {\n const r = t.find(\n (i) => (\n // If the IDs match or ..\n N(n) === N(i) || // ... if the current item is a placeholder and the new item is the track reference can replace it.\n typeof n != \"number\" && xe(n) && F(i) && _i(n, i)\n )\n );\n return r ?? n;\n });\n}\nfunction $(e) {\n return `${bn}-${e}`;\n}\nfunction Bo(e) {\n const t = It(e), n = Pn(e.participant).pipe(\n k(() => It(e)),\n R(t)\n );\n return { className: $(\n e.source === D.Source.Camera || e.source === D.Source.ScreenShare ? \"participant-media-video\" : \"participant-media-audio\"\n ), trackObserver: n };\n}\nfunction It(e) {\n if (F(e))\n return e.publication;\n {\n const { source: t, name: n, participant: r } = e;\n if (t && n)\n return r.getTrackPublications().find((i) => i.source === t && i.trackName === n);\n if (n)\n return r.getTrackPublicationByName(n);\n if (t)\n return r.getTrackPublication(t);\n throw new Error(\"At least one of source and name needs to be defined\");\n }\n}\nfunction se(e, ...t) {\n return new O((r) => {\n const i = () => {\n r.next(e);\n };\n return t.forEach((s) => {\n e.on(s, i);\n }), () => {\n t.forEach((s) => {\n e.off(s, i);\n });\n };\n }).pipe(R(e));\n}\nfunction ae(e, t) {\n return new O((r) => {\n const i = (...s) => {\n r.next(s);\n };\n return e.on(t, i), () => {\n e.off(t, i);\n };\n });\n}\nfunction Vo(e) {\n return ae(e, b.ConnectionStateChanged).pipe(\n k(([t]) => t),\n R(e.state)\n );\n}\nfunction Ho(e) {\n return se(\n e,\n b.RoomMetadataChanged,\n b.ConnectionStateChanged\n ).pipe(\n k((n) => ({ name: n.name, metadata: n.metadata }))\n );\n}\nfunction zo(e) {\n return ae(e, b.ActiveSpeakersChanged).pipe(\n k(([t]) => t)\n );\n}\nfunction Yo(e, t, n = !0) {\n var r;\n const i = () => W(this, null, function* () {\n try {\n const a = yield ht.getLocalDevices(e, n);\n o.next(a);\n } catch (a) {\n t == null || t(a);\n }\n }), o = new re(), s = o.pipe(\n Si(() => {\n var a;\n (a = navigator == null ? void 0 : navigator.mediaDevices) == null || a.removeEventListener(\"devicechange\", i);\n })\n );\n if (typeof window < \"u\") {\n if (!window.isSecureContext)\n throw new Error(\n \"Accessing media devices is available only in secure contexts (HTTPS and localhost), in some or all supporting browsers. See: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mediaDevices\"\n );\n (r = navigator == null ? void 0 : navigator.mediaDevices) == null || r.addEventListener(\"devicechange\", i);\n }\n return Me(\n ht.getLocalDevices(e, n).catch((a) => (t == null || t(a), [])),\n s\n );\n}\nfunction qi(e) {\n return ae(e, b.DataReceived);\n}\nfunction Xi(e) {\n return ae(e, b.ChatMessage);\n}\nfunction Zi(e) {\n return se(e, b.AudioPlaybackStatusChanged).pipe(\n k((n) => ({ canPlayAudio: n.canPlaybackAudio }))\n );\n}\nfunction eo(e) {\n return se(e, b.VideoPlaybackStatusChanged).pipe(\n k((n) => ({ canPlayVideo: n.canPlaybackVideo }))\n );\n}\nfunction to(e, t) {\n return ae(e, b.ActiveDeviceChanged).pipe(\n dt(([n]) => n === t),\n k(([n, r]) => (_.debug(\"activeDeviceObservable | RoomEvent.ActiveDeviceChanged\", { kind: n, deviceId: r }), r))\n );\n}\nfunction Go(e, t) {\n return ae(e, b.ParticipantEncryptionStatusChanged).pipe(\n dt(\n ([, n]) => (t == null ? void 0 : t.identity) === (n == null ? void 0 : n.identity) || !n && (t == null ? void 0 : t.identity) === e.localParticipant.identity\n ),\n k(([n]) => n),\n R(\n t != null && t.isLocal ? t.isE2EEEnabled : !!(t != null && t.isEncrypted)\n )\n );\n}\nfunction Ko(e) {\n return ae(e, b.RecordingStatusChanged).pipe(\n k(([t]) => t),\n R(e.isRecording)\n );\n}\nfunction me(e, ...t) {\n return new O((r) => {\n const i = () => {\n r.next(e);\n };\n return t.forEach((s) => {\n e.on(s, i);\n }), () => {\n t.forEach((s) => {\n e.off(s, i);\n });\n };\n }).pipe(R(e));\n}\nfunction Pn(e) {\n return me(\n e,\n y.TrackMuted,\n y.TrackUnmuted,\n y.ParticipantPermissionsChanged,\n // ParticipantEvent.IsSpeakingChanged,\n y.TrackPublished,\n y.TrackUnpublished,\n y.LocalTrackPublished,\n y.LocalTrackUnpublished,\n y.MediaDevicesError,\n y.TrackSubscriptionStatusChanged\n // ParticipantEvent.ConnectionQualityChanged,\n ).pipe(\n k((n) => {\n const { isMicrophoneEnabled: r, isCameraEnabled: i, isScreenShareEnabled: o } = n, s = n.getTrackPublication(D.Source.Microphone), a = n.getTrackPublication(D.Source.Camera);\n return {\n isCameraEnabled: i,\n isMicrophoneEnabled: r,\n isScreenShareEnabled: o,\n cameraTrack: a,\n microphoneTrack: s,\n participant: n\n };\n })\n );\n}\nfunction no(e) {\n return e ? me(\n e,\n y.ParticipantMetadataChanged,\n y.ParticipantNameChanged\n ).pipe(\n k(({ name: n, identity: r, metadata: i }) => ({\n name: n,\n identity: r,\n metadata: i\n })),\n R({\n name: e.name,\n identity: e.identity,\n metadata: e.metadata\n })\n ) : void 0;\n}\nfunction ro(e) {\n return Ve(\n e,\n y.ConnectionQualityChanged\n ).pipe(\n k(([n]) => n),\n R(e.connectionQuality)\n );\n}\nfunction Ve(e, t) {\n return new O((r) => {\n const i = (...s) => {\n r.next(s);\n };\n return e.on(t, i), () => {\n e.off(t, i);\n };\n });\n}\nfunction io(e) {\n var t, n, r, i;\n return me(\n e.participant,\n y.TrackMuted,\n y.TrackUnmuted,\n y.TrackSubscribed,\n y.TrackUnsubscribed,\n y.LocalTrackPublished,\n y.LocalTrackUnpublished\n ).pipe(\n k((o) => {\n var s, a;\n const c = (s = e.publication) != null ? s : o.getTrackPublication(e.source);\n return (a = c == null ? void 0 : c.isMuted) != null ? a : !0;\n }),\n R(\n (i = (r = (t = e.publication) == null ? void 0 : t.isMuted) != null ? r : (n = e.participant.getTrackPublication(e.source)) == null ? void 0 : n.isMuted) != null ? i : !0\n )\n );\n}\nfunction Qo(e) {\n return Ve(e, y.IsSpeakingChanged).pipe(\n k(([t]) => t)\n );\n}\nfunction Jo(e, t = {}) {\n var n;\n let r;\n const i = new O((c) => (r = c, () => a.unsubscribe())).pipe(R(Array.from(e.remoteParticipants.values()))), o = (n = t.additionalRoomEvents) != null ? n : yn, s = Array.from(\n /* @__PURE__ */ new Set([\n b.ParticipantConnected,\n b.ParticipantDisconnected,\n b.ConnectionStateChanged,\n ...o\n ])\n ), a = se(e, ...s).subscribe(\n (c) => r == null ? void 0 : r.next(Array.from(c.remoteParticipants.values()))\n );\n return e.remoteParticipants.size > 0 && (r == null || r.next(Array.from(e.remoteParticipants.values()))), i;\n}\nfunction qo(e, t, n = {}) {\n var r;\n const i = (r = n.additionalEvents) != null ? r : wn;\n return se(\n e,\n b.ParticipantConnected,\n b.ParticipantDisconnected,\n b.ConnectionStateChanged\n ).pipe(\n gn((s) => {\n const a = s.getParticipantByIdentity(t);\n return a ? me(a, ...i) : new O((c) => c.next(void 0));\n }),\n R(e.getParticipantByIdentity(t))\n );\n}\nfunction Xo(e) {\n return Ve(\n e,\n y.ParticipantPermissionsChanged\n ).pipe(\n k(() => e.permissions),\n R(e.permissions)\n );\n}\nfunction Zo(e, { kind: t, identity: n }, r = {}) {\n var i;\n const o = (i = r.additionalEvents) != null ? i : wn, s = (c) => {\n let u = !0;\n return t && (u = u && c.kind === t), n && (u = u && c.identity === n), u;\n };\n return se(\n e,\n b.ParticipantConnected,\n b.ParticipantDisconnected,\n b.ConnectionStateChanged\n ).pipe(\n gn((c) => {\n const u = Array.from(c.remoteParticipants.values()).find(\n (l) => s(l)\n );\n return u ? me(u, ...o) : new O((l) => l.next(void 0));\n }),\n R(Array.from(e.remoteParticipants.values()).find((c) => s(c)))\n );\n}\nfunction es(e) {\n return typeof e > \"u\" ? new O() : Ve(e, y.AttributesChanged).pipe(\n k(([t]) => ({\n changed: t,\n attributes: e.attributes\n })),\n R({ changed: e.attributes, attributes: e.attributes })\n );\n}\nfunction ts(e, t, n, r, i) {\n const { localParticipant: o } = t, s = (f, h) => {\n let d = !1;\n switch (f) {\n case D.Source.Camera:\n d = h.isCameraEnabled;\n break;\n case D.Source.Microphone:\n d = h.isMicrophoneEnabled;\n break;\n case D.Source.ScreenShare:\n d = h.isScreenShareEnabled;\n break;\n }\n return d;\n }, a = Pn(o).pipe(\n k((f) => s(e, f.participant)),\n R(s(e, o))\n ), c = new re(), u = (f, h) => W(this, null, function* () {\n try {\n switch (h ?? (h = n), c.next(!0), e) {\n case D.Source.Camera:\n return yield o.setCameraEnabled(\n f ?? !o.isCameraEnabled,\n h,\n r\n ), o.isCameraEnabled;\n case D.Source.Microphone:\n return yield o.setMicrophoneEnabled(\n f ?? !o.isMicrophoneEnabled,\n h,\n r\n ), o.isMicrophoneEnabled;\n case D.Source.ScreenShare:\n return yield o.setScreenShareEnabled(\n f ?? !o.isScreenShareEnabled,\n h,\n r\n ), o.isScreenShareEnabled;\n default:\n throw new TypeError(\"Tried to toggle unsupported source\");\n }\n } catch (d) {\n if (i && d instanceof Error) {\n i == null || i(d);\n return;\n } else\n throw d;\n } finally {\n c.next(!1);\n }\n });\n return {\n className: $(\"button\"),\n toggle: u,\n enabledObserver: a,\n pendingObserver: c.asObservable()\n };\n}\nfunction ns() {\n let e = !1;\n const t = new re(), n = new re(), r = (o) => W(this, null, function* () {\n n.next(!0), e = o ?? !e, t.next(e), n.next(!1);\n });\n return {\n className: $(\"button\"),\n toggle: r,\n enabledObserver: t.asObservable(),\n pendingObserver: n.asObservable()\n };\n}\nfunction rs(e, t, n) {\n const r = new tn(void 0), i = to(t, e), o = (a, ...c) => W(this, [a, ...c], function* (u, l = {}) {\n var f, h, d;\n if (t) {\n _.debug(`Switching active device of kind \"${e}\" with id ${u}.`), yield t.switchActiveDevice(e, u, l.exact);\n const m = (f = t.getActiveDevice(e)) != null ? f : u;\n m !== u && u !== \"default\" && _.info(\n `We tried to select the device with id (${u}), but the browser decided to select the device with id (${m}) instead.`\n );\n let p;\n e === \"audioinput\" ? p = (h = t.localParticipant.getTrackPublication(D.Source.Microphone)) == null ? void 0 : h.track : e === \"videoinput\" && (p = (d = t.localParticipant.getTrackPublication(D.Source.Camera)) == null ? void 0 : d.track);\n const g = u === \"default\" && !p || u === \"default\" && (p == null ? void 0 : p.mediaStreamTrack.label.startsWith(\"Default\"));\n r.next(g ? u : m);\n }\n });\n return {\n className: $(\"media-device-select\"),\n activeDeviceObservable: i,\n setActiveMediaDevice: o\n };\n}\nfunction is(e) {\n const t = (r) => {\n e.disconnect(r);\n };\n return { className: $(\"disconnect-button\"), disconnect: t };\n}\nfunction os(e) {\n const t = $(\"connection-quality\"), n = ro(e);\n return { className: t, connectionQualityObserver: n };\n}\nfunction ss(e) {\n let t = \"track-muted-indicator-camera\";\n switch (e.source) {\n case D.Source.Camera:\n t = \"track-muted-indicator-camera\";\n break;\n case D.Source.Microphone:\n t = \"track-muted-indicator-microphone\";\n break;\n }\n const n = $(t), r = io(e);\n return { className: n, mediaMutedObserver: r };\n}\nfunction as(e) {\n return { className: \"lk-participant-name\", infoObserver: no(e) };\n}\nfunction cs() {\n return {\n className: $(\"participant-tile\")\n };\n}\nvar Mt = {\n CHAT: \"lk-chat-topic\",\n CHAT_UPDATE: \"lk-chat-update-topic\"\n};\nfunction nt(e, t) {\n return W(this, arguments, function* (n, r, i = {}) {\n const { reliable: o, destinationIdentities: s, topic: a } = i;\n yield n.publishData(r, {\n destinationIdentities: s,\n topic: a,\n reliable: o\n });\n });\n}\nfunction oo(e, t, n) {\n const r = Array.isArray(t) ? t : [t], i = qi(e).pipe(\n dt(\n ([, , , c]) => t === void 0 || c !== void 0 && r.includes(c)\n ),\n k(([c, u, , l]) => {\n const f = {\n payload: c,\n topic: l,\n from: u\n };\n return n == null || n(f), f;\n })\n );\n let o;\n const s = new O((c) => {\n o = c;\n });\n return { messageObservable: i, isSendingObservable: s, send: (c, ...u) => W(this, [c, ...u], function* (l, f = {}) {\n o.next(!0);\n try {\n yield nt(e.localParticipant, l, Q({ topic: r[0] }, f));\n } finally {\n o.next(!1);\n }\n }) };\n}\nfunction so(e) {\n return { chatObservable: Xi(e), send: (i) => W(this, null, function* () {\n return yield e.localParticipant.sendChatMessage(i);\n }), edit: (i, o) => W(this, null, function* () {\n return yield e.localParticipant.editChatMessage(i, o);\n }) };\n}\nvar ao = new TextEncoder(), co = new TextDecoder(), Pe = /* @__PURE__ */ new Map(), uo = (e) => ao.encode(JSON.stringify(e)), lo = (e) => JSON.parse(co.decode(e));\nfunction us(e, t) {\n var n, r;\n const i = new re(), o = () => {\n var T, x, I;\n return ((T = e.serverInfo) == null ? void 0 : T.edition) === 1 || !!((x = e.serverInfo) != null && x.version) && Un((I = e.serverInfo) == null ? void 0 : I.version, \"1.17.2\") > 0;\n }, { messageDecoder: s, messageEncoder: a, channelTopic: c, updateChannelTopic: u } = t ?? {}, l = c ?? Mt.CHAT, f = u ?? Mt.CHAT_UPDATE;\n let h = !1;\n Pe.has(e) || (h = !0);\n const d = (n = Pe.get(e)) != null ? n : /* @__PURE__ */ new Map(), m = (r = d.get(l)) != null ? r : new re();\n if (d.set(l, m), Pe.set(e, d), h) {\n const { messageObservable: T } = oo(e, [l, f]);\n T.pipe(At(i)).subscribe(m);\n }\n const { chatObservable: p, send: g } = so(e), v = s ?? lo, E = gi(\n m.pipe(\n k((T) => {\n const x = v(T.payload), I = ye(Q({}, x), { from: T.from });\n if (!fo(I))\n return I;\n })\n ),\n p.pipe(\n k(([T, x]) => ye(Q({}, T), { from: x }))\n )\n ).pipe(\n xi((T, x) => {\n var I;\n if (!x)\n return T;\n if (\"id\" in x && T.find((w) => {\n var S, V;\n return ((S = w.from) == null ? void 0 : S.identity) === ((V = x.from) == null ? void 0 : V.identity) && w.id === x.id;\n })) {\n const w = T.findIndex((S) => S.id === x.id);\n if (w > -1) {\n const S = T[w];\n T[w] = ye(Q({}, x), {\n timestamp: S.timestamp,\n editTimestamp: (I = x.editTimestamp) != null ? I : x.timestamp\n });\n }\n return [...T];\n }\n return [...T, x];\n }, []),\n At(i)\n ), P = new tn(!1), L = a ?? uo, C = (T) => W(this, null, function* () {\n P.next(!0);\n try {\n const x = yield g(T), I = L(ye(Q({}, x), {\n ignore: o()\n }));\n return yield nt(e.localParticipant, I, {\n reliable: !0,\n topic: l\n }), x;\n } finally {\n P.next(!1);\n }\n }), ie = (T, x) => W(this, null, function* () {\n const I = Date.now(), w = typeof x == \"string\" ? { id: x, message: \"\", timestamp: I } : x;\n P.next(!0);\n try {\n const S = yield e.localParticipant.editChatMessage(T, w), V = L(S);\n return yield nt(e.localParticipant, V, {\n topic: f,\n reliable: !0\n }), S;\n } finally {\n P.next(!1);\n }\n });\n function K() {\n i.next(), i.complete(), Pe.delete(e);\n }\n return e.once(b.Disconnected, K), {\n messageObservable: E,\n isSendingObservable: P,\n send: C,\n update: ie\n };\n}\nfunction fo(e) {\n return e.ignore == !0;\n}\nfunction ls() {\n const e = (n) => W(this, null, function* () {\n _.info(\"Start Audio for room: \", n), yield n.startAudio();\n });\n return { className: $(\"start-audio-button\"), roomAudioPlaybackAllowedObservable: Zi, handleStartAudioPlayback: e };\n}\nfunction fs() {\n const e = (n) => W(this, null, function* () {\n _.info(\"Start Video for room: \", n), yield n.startVideo();\n });\n return { className: $(\"start-audio-button\"), roomVideoPlaybackAllowedObservable: eo, handleStartVideoPlayback: e };\n}\nfunction ds() {\n return { className: [$(\"button\"), $(\"chat-toggle\")].join(\" \") };\n}\nfunction ps() {\n return { className: [$(\"button\"), $(\"focus-toggle-button\")].join(\" \") };\n}\nfunction hs() {\n return { className: \"lk-clear-pin-button lk-button\" };\n}\nfunction vs() {\n return { className: \"lk-room-container\" };\n}\nfunction Dt(e, t, n = !0) {\n const i = [e.localParticipant, ...Array.from(e.remoteParticipants.values())], o = [];\n return i.forEach((s) => {\n t.forEach((a) => {\n const c = Array.from(\n s.trackPublications.values()\n ).filter(\n (u) => u.source === a && // either return all or only the ones that are subscribed\n (!n || u.track)\n ).map((u) => ({\n participant: s,\n publication: u,\n source: u.source\n }));\n o.push(...c);\n });\n }), { trackReferences: o, participants: i };\n}\nfunction Rt(e, t, n = !1) {\n const { sources: r, kind: i, name: o } = t;\n return Array.from(e.trackPublications.values()).filter(\n (a) => (!r || r.includes(a.source)) && (!i || a.kind === i) && (!o || a.trackName === o) && // either return all or only the ones that are subscribed\n (!n || a.track)\n ).map((a) => ({\n participant: e,\n publication: a,\n source: a.source\n }));\n}\nfunction ms(e, t, n) {\n var r, i;\n const o = (r = n.additionalRoomEvents) != null ? r : yn, s = (i = n.onlySubscribed) != null ? i : !0, a = Array.from(\n (/* @__PURE__ */ new Set([\n b.ParticipantConnected,\n b.ParticipantDisconnected,\n b.ConnectionStateChanged,\n b.LocalTrackPublished,\n b.LocalTrackUnpublished,\n b.TrackPublished,\n b.TrackUnpublished,\n b.TrackSubscriptionStatusChanged,\n ...o\n ])).values()\n );\n return se(e, ...a).pipe(\n k((u) => {\n const l = Dt(u, t, s);\n return _.debug(`TrackReference[] was updated. (length ${l.trackReferences.length})`, l), l;\n }),\n R(Dt(e, t, s))\n );\n}\nfunction gs(e, t) {\n return me(e, ...Ri).pipe(\n k((r) => {\n const i = Rt(r, t);\n return _.debug(`TrackReference[] was updated. (length ${i.length})`, i), i;\n }),\n R(Rt(e, t))\n );\n}\nfunction An(e, t) {\n return new O((r) => {\n const i = (...s) => {\n r.next(s);\n };\n return e.on(t, i), () => {\n e.off(t, i);\n };\n });\n}\nfunction bs(e) {\n return An(e, Nt.TranscriptionReceived);\n}\nfunction ys(e) {\n return An(e, Nt.TimeSyncUpdate).pipe(\n k(([t]) => t)\n );\n}\nfunction ws(e, t = 1e3) {\n if (e === null) return Ct(!1);\n const n = Ze(e, \"mousemove\", { passive: !0 }).pipe(k(() => !0)), r = n.pipe(\n ii({\n each: t,\n with: () => Me(Ct(!1), r.pipe(Ei(n)))\n }),\n yi()\n );\n return r;\n}\nfunction po(e, t) {\n if (typeof localStorage > \"u\") {\n _.error(\"Local storage is not available.\");\n return;\n }\n try {\n if (t) {\n const n = Object.fromEntries(\n Object.entries(t).filter(([, r]) => r !== \"\")\n );\n localStorage.setItem(e, JSON.stringify(n));\n }\n } catch (n) {\n _.error(`Error setting item to local storage: ${n}`);\n }\n}\nfunction ho(e) {\n if (typeof localStorage > \"u\") {\n _.error(\"Local storage is not available.\");\n return;\n }\n try {\n const t = localStorage.getItem(e);\n if (!t) {\n _.warn(`Item with key ${e} does not exist in local storage.`);\n return;\n }\n return JSON.parse(t);\n } catch (t) {\n _.error(`Error getting item from local storage: ${t}`);\n return;\n }\n}\nfunction vo(e) {\n return {\n load: () => ho(e),\n save: (t) => po(e, t)\n };\n}\nvar mo = `${bn}-user-choices`, be = {\n videoEnabled: !0,\n audioEnabled: !0,\n videoDeviceId: \"default\",\n audioDeviceId: \"default\",\n username: \"\"\n}, { load: go, save: bo } = vo(mo);\nfunction Ss(e, t = !1) {\n t !== !0 && bo(e);\n}\nfunction xs(e, t = !1) {\n var n, r, i, o, s;\n const a = {\n videoEnabled: (n = e == null ? void 0 : e.videoEnabled) != null ? n : be.videoEnabled,\n audioEnabled: (r = e == null ? void 0 : e.audioEnabled) != null ? r : be.audioEnabled,\n videoDeviceId: (i = e == null ? void 0 : e.videoDeviceId) != null ? i : be.videoDeviceId,\n audioDeviceId: (o = e == null ? void 0 : e.audioDeviceId) != null ? o : be.audioDeviceId,\n username: (s = e == null ? void 0 : e.username) != null ? s : be.username\n };\n if (t)\n return a;\n {\n const c = go();\n return Q(Q({}, a), c ?? {});\n }\n}\nfunction kn(e, t) {\n if (t.msg === \"show_chat\")\n return { ...e, showChat: !0, unreadMessages: 0 };\n if (t.msg === \"hide_chat\")\n return { ...e, showChat: !1 };\n if (t.msg === \"toggle_chat\") {\n const n = { ...e, showChat: !e.showChat };\n return n.showChat === !0 && (n.unreadMessages = 0), n;\n } else return t.msg === \"unread_msg\" ? { ...e, unreadMessages: t.count } : t.msg === \"toggle_settings\" ? { ...e, showSettings: !e.showSettings } : { ...e };\n}\nfunction On(e, t) {\n return t.msg === \"set_pin\" ? [t.trackReference] : t.msg === \"clear_pin\" ? [] : { ...e };\n}\nconst Ln = M.createContext(void 0);\nfunction Es() {\n const e = M.useContext(Ln);\n if (!e)\n throw Error(\"Tried to access LayoutContext context outside a LayoutContextProvider provider.\");\n return e;\n}\nfunction Ts(e) {\n const t = yo();\n if (e ?? (e = t), !e)\n throw Error(\"Tried to access LayoutContext context outside a LayoutContextProvider provider.\");\n return e;\n}\nfunction Cs() {\n const [e, t] = M.useReducer(On, Sn), [n, r] = M.useReducer(kn, xn);\n return {\n pin: { dispatch: t, state: e },\n widget: { dispatch: r, state: n }\n };\n}\nfunction Ps(e) {\n const [t, n] = M.useReducer(On, Sn), [r, i] = M.useReducer(kn, xn);\n return e ?? {\n pin: { dispatch: n, state: t },\n widget: { dispatch: i, state: r }\n };\n}\nfunction yo() {\n return M.useContext(Ln);\n}\nconst _n = M.createContext(\n void 0\n);\nfunction As() {\n const e = M.useContext(_n);\n if (!e)\n throw Error(\"tried to access track context outside of track context provider\");\n return e;\n}\nfunction In() {\n return M.useContext(_n);\n}\nfunction ks(e) {\n const t = In(), n = e ?? t;\n if (!n)\n throw new Error(\n \"No TrackRef, make sure you are inside a TrackRefContext or pass the TrackRef explicitly\"\n );\n return n;\n}\nconst Mn = M.createContext(void 0);\nfunction Os() {\n const e = M.useContext(Mn);\n if (!e)\n throw Error(\"tried to access participant context outside of participant context provider\");\n return e;\n}\nfunction wo() {\n return M.useContext(Mn);\n}\nfunction Ls(e) {\n const t = wo(), n = In(), r = e ?? t ?? (n == null ? void 0 : n.participant);\n if (!r)\n throw new Error(\n \"No participant provided, make sure you are inside a participant context or pass the participant explicitly\"\n );\n return r;\n}\nconst Dn = M.createContext(void 0);\nfunction _s() {\n const e = M.useContext(Dn);\n if (!e)\n throw Error(\"tried to access room context outside of livekit room component\");\n return e;\n}\nfunction So() {\n return M.useContext(Dn);\n}\nfunction Is(e) {\n const t = So(), n = e ?? t;\n if (!n)\n throw new Error(\n \"No room provided, make sure you are inside a Room context or pass the room explicitly\"\n );\n return n;\n}\nconst xo = M.createContext(void 0);\nfunction Ms(e) {\n const t = M.useContext(xo);\n if (e === !0) {\n if (t)\n return t;\n throw Error(\"tried to access feature context, but none is present\");\n }\n return t;\n}\nexport {\n Ss as $,\n Wo as A,\n wo as B,\n no as C,\n cs as D,\n Jo as E,\n Ts as F,\n Do as G,\n qo as H,\n Zo as I,\n Ho as J,\n zo as K,\n xo as L,\n jo as M,\n ls as N,\n fs as O,\n ds as P,\n ss as Q,\n Dn as R,\n ts as S,\n ns as T,\n Fi as U,\n ms as V,\n Uo as W,\n It as X,\n Bo as Y,\n us as Z,\n xs as _,\n Es as a,\n Go as a0,\n F as a1,\n gs as a2,\n ys as a3,\n bs as a4,\n $o as a5,\n No as a6,\n es as a7,\n Ko as a8,\n In as a9,\n Ln as aa,\n as as ab,\n br as ac,\n yr as ad,\n Mn as ae,\n _n as af,\n Ms as ag,\n ws as ah,\n Po as ai,\n Ps as aj,\n _o as ak,\n Lo as al,\n ko as am,\n Oo as an,\n Ro as ao,\n Cs as ap,\n To as aq,\n Ao as ar,\n Io as as,\n Mo as at,\n Os as au,\n As as av,\n hs as b,\n Ls as c,\n os as d,\n Vo as e,\n _s as f,\n oo as g,\n is as h,\n ks as i,\n yo as j,\n ps as k,\n _ as l,\n Co as m,\n $i as n,\n io as o,\n N as p,\n Qo as q,\n Zi as r,\n vs as s,\n Pn as t,\n Is as u,\n Xo as v,\n So as w,\n Yo as x,\n rs as y,\n Fo as z\n};\n//# sourceMappingURL=contexts-B7YgC7ji.mjs.map\n","import * as i from \"react\";\nimport { l as f, s as K, R as x, L as V } from \"./contexts-B7YgC7ji.mjs\";\nimport { Room as j, RoomEvent as u, MediaDeviceFailure as U } from \"livekit-client\";\nfunction L(n) {\n var e, o, t = \"\";\n if (typeof n == \"string\" || typeof n == \"number\") t += n;\n else if (typeof n == \"object\") if (Array.isArray(n)) {\n var r = n.length;\n for (e = 0; e < r; e++) n[e] && (o = L(n[e])) && (t && (t += \" \"), t += o);\n } else for (o in n) n[o] && (t && (t += \" \"), t += o);\n return t;\n}\nfunction A() {\n for (var n, e, o = 0, t = \"\", r = arguments.length; o < r; o++) (n = arguments[o]) && (e = L(n)) && (t && (t += \" \"), t += e);\n return t;\n}\nfunction _(...n) {\n return (...e) => {\n for (const o of n)\n if (typeof o == \"function\")\n try {\n o(...e);\n } catch (t) {\n console.error(t);\n }\n };\n}\nfunction M(...n) {\n const e = { ...n[0] };\n for (let o = 1; o < n.length; o++) {\n const t = n[o];\n for (const r in t) {\n const d = e[r], a = t[r];\n typeof d == \"function\" && typeof a == \"function\" && // This is a lot faster than a regex.\n r[0] === \"o\" && r[1] === \"n\" && r.charCodeAt(2) >= /* 'A' */\n 65 && r.charCodeAt(2) <= /* 'Z' */\n 90 ? e[r] = _(d, a) : (r === \"className\" || r === \"UNSAFE_className\") && typeof d == \"string\" && typeof a == \"string\" ? e[r] = A(d, a) : e[r] = a !== void 0 ? a : d;\n }\n }\n return e;\n}\nfunction I(n) {\n return n !== void 0;\n}\nfunction B(...n) {\n return M(...n.filter(I));\n}\nfunction G(n, e, o) {\n return i.Children.map(n, (t) => i.isValidElement(t) && i.Children.only(n) ? (t.props.class && (e ?? (e = {}), e.class = A(t.props.class, e.class), e.style = { ...t.props.style, ...e.style }), i.cloneElement(t, { ...e, key: o })) : t);\n}\nfunction H(n) {\n var e, o;\n if (typeof window < \"u\" && typeof process < \"u\" && // eslint-disable-next-line turbo/no-undeclared-env-vars\n (((e = process == null ? void 0 : process.env) == null ? void 0 : e.NODE_ENV) === \"dev\" || // eslint-disable-next-line turbo/no-undeclared-env-vars\n ((o = process == null ? void 0 : process.env) == null ? void 0 : o.NODE_ENV) === \"development\")) {\n const t = document.querySelector(\".lk-room-container\");\n t && !getComputedStyle(t).getPropertyValue(\"--lk-has-imported-styles\") && f.warn(\n \"It looks like you're not using the `@livekit/components-styles package`. To render the UI with the default styling, please import it in your layout or page.\"\n );\n }\n}\nfunction J(n, e) {\n return n === \"processor\" && e && typeof e == \"object\" && \"name\" in e ? e.name : n === \"e2ee\" && e ? \"e2ee-enabled\" : e;\n}\nconst T = {\n connect: !0,\n audio: !1,\n video: !1\n};\nfunction q(n) {\n const {\n token: e,\n serverUrl: o,\n options: t,\n room: r,\n connectOptions: d,\n connect: a,\n audio: p,\n video: y,\n screen: g,\n onConnected: h,\n onDisconnected: v,\n onError: c,\n onMediaDeviceFailure: b,\n onEncryptionError: E,\n simulateParticipants: w,\n ...P\n } = { ...T, ...n };\n t && r && f.warn(\n \"when using a manually created room, the options object will be ignored. set the desired options directly when creating the room instead.\"\n );\n const [s, O] = i.useState(), C = i.useRef(a);\n i.useEffect(() => {\n O(r ?? new j(t));\n }, [r, JSON.stringify(t, J)]);\n const F = i.useMemo(() => {\n const { className: m } = K();\n return M(P, { className: m });\n }, [P]);\n return i.useEffect(() => {\n if (!s) return;\n const m = () => {\n const l = s.localParticipant;\n f.debug(\"trying to publish local tracks\"), Promise.all([\n l.setMicrophoneEnabled(!!p, typeof p != \"boolean\" ? p : void 0),\n l.setCameraEnabled(!!y, typeof y != \"boolean\" ? y : void 0),\n l.setScreenShareEnabled(!!g, typeof g != \"boolean\" ? g : void 0)\n ]).catch((R) => {\n f.warn(R), c == null || c(R);\n });\n }, S = (l) => {\n const R = U.getFailure(l);\n b == null || b(R);\n }, k = (l) => {\n E == null || E(l);\n }, N = (l) => {\n v == null || v(l);\n }, D = () => {\n h == null || h();\n };\n return s.on(u.SignalConnected, m).on(u.MediaDevicesError, S).on(u.EncryptionError, k).on(u.Disconnected, N).on(u.Connected, D), () => {\n s.off(u.SignalConnected, m).off(u.MediaDevicesError, S).off(u.EncryptionError, k).off(u.Disconnected, N).off(u.Connected, D);\n };\n }, [\n s,\n p,\n y,\n g,\n c,\n E,\n b,\n h,\n v\n ]), i.useEffect(() => {\n if (s) {\n if (w) {\n s.simulateParticipants({\n participants: {\n count: w\n },\n publish: {\n audio: !0,\n useRealTracks: !0\n }\n });\n return;\n }\n if (a) {\n if (C.current = !0, f.debug(\"connecting\"), !e) {\n f.debug(\"no token yet\");\n return;\n }\n if (!o) {\n f.warn(\"no livekit url provided\"), c == null || c(Error(\"no livekit url provided\"));\n return;\n }\n s.connect(o, e, d).catch((m) => {\n f.warn(m), C.current === !0 && (c == null || c(m));\n });\n } else\n f.debug(\"disconnecting because connect is false\"), C.current = !1, s.disconnect();\n }\n }, [\n a,\n e,\n JSON.stringify(d),\n s,\n c,\n o,\n w\n ]), i.useEffect(() => {\n if (s)\n return () => {\n f.info(\"disconnecting on onmount\"), s.disconnect();\n };\n }, [s]), { room: s, htmlProps: F };\n}\nconst Q = /* @__PURE__ */ i.forwardRef(function(e, o) {\n const { room: t, htmlProps: r } = q(e);\n return /* @__PURE__ */ i.createElement(\"div\", { ref: o, ...r }, t && /* @__PURE__ */ i.createElement(x.Provider, { value: t }, /* @__PURE__ */ i.createElement(V.Provider, { value: e.featureFlags }, e.children)));\n});\nexport {\n Q as L,\n B as a,\n G as c,\n M as m,\n J as r,\n q as u,\n H as w\n};\n//# sourceMappingURL=room-BBI9Ul2f.mjs.map\n","import * as r from \"react\";\nimport { u as k, r as x, a as J, b as H, c as w, d as j, e as X, f as A, g as Y, h as K, i as R, j as Z, k as ee, m as te, G as ne, n as se, o as ae, p as F, q as re, t as ce, v as _, w as W, x as Q, y as oe, l as T, z as ie, A as ue, B as N, C as de, D as le, E as fe, F as pe, H as be, I as me, J as ge, K as Se, M as B, N as ve, O as he, P as Me, Q as ye, S as Pe, T as ke, U as Ee, V as Te, W as $, X as we, Y as Ae, Z as Ce, _ as Ie, $ as Oe, a0 as De, a1 as Le, a2 as Re, a3 as Fe, a4 as Ne, a5 as Ve, a6 as Be, a7 as L, a8 as ze } from \"./contexts-B7YgC7ji.mjs\";\nimport { m as E } from \"./room-BBI9Ul2f.mjs\";\nimport { ConnectionQuality as Ue, ConnectionState as I, LocalTrackPublication as qe, facingModeFromLocalTrack as Je, Room as _e, Track as y, createAudioAnalyser as V, ParticipantKind as We } from \"livekit-client\";\nconst Qe = (e) => {\n const n = r.useRef(e);\n return r.useEffect(() => {\n n.current = e;\n }), n;\n};\nfunction $e(e, n) {\n const t = xe(), a = Qe(n);\n return r.useLayoutEffect(() => {\n let s = !1;\n const c = e.current;\n if (!c) return;\n function o(u, i) {\n s || a.current(u, i);\n }\n return t == null || t.subscribe(c, o), () => {\n s = !0, t == null || t.unsubscribe(c, o);\n };\n }, [e.current, t, a]), t == null ? void 0 : t.observer;\n}\nfunction Ge() {\n let e = !1, n = [];\n const t = /* @__PURE__ */ new Map();\n if (typeof window > \"u\")\n return;\n const a = new ResizeObserver((s, c) => {\n n = n.concat(s), e || window.requestAnimationFrame(() => {\n const o = /* @__PURE__ */ new Set();\n for (let u = 0; u < n.length; u++) {\n if (o.has(n[u].target)) continue;\n o.add(n[u].target);\n const i = t.get(n[u].target);\n i == null || i.forEach((d) => d(n[u], c));\n }\n n = [], e = !1;\n }), e = !0;\n });\n return {\n observer: a,\n subscribe(s, c) {\n a.observe(s);\n const o = t.get(s) ?? [];\n o.push(c), t.set(s, o);\n },\n unsubscribe(s, c) {\n const o = t.get(s) ?? [];\n if (o.length === 1) {\n a.unobserve(s), t.delete(s);\n return;\n }\n const u = o.indexOf(c);\n u !== -1 && o.splice(u, 1), t.set(s, o);\n }\n };\n}\nlet D;\nconst xe = () => D || (D = Ge()), He = (e) => {\n const [n, t] = r.useState({ width: 0, height: 0 });\n r.useLayoutEffect(() => {\n if (e.current) {\n const { width: s, height: c } = e.current.getBoundingClientRect();\n t({ width: s, height: c });\n }\n }, [e.current]);\n const a = r.useCallback(\n (s) => t(s.contentRect),\n []\n );\n return $e(e, a), n;\n};\nfunction b(e, n, t = !0) {\n const [a, s] = r.useState(n);\n return r.useEffect(() => {\n if (t && s(n), typeof window > \"u\" || !e) return;\n const c = e.subscribe(s);\n return () => c.unsubscribe();\n }, [e, t]), a;\n}\nfunction gt(e) {\n const n = (c) => typeof window < \"u\" ? window.matchMedia(c).matches : !1, [t, a] = r.useState(n(e));\n function s() {\n a(n(e));\n }\n return r.useEffect(() => {\n const c = window.matchMedia(e);\n return s(), c.addListener ? c.addListener(s) : c.addEventListener(\"change\", s), () => {\n c.removeListener ? c.removeListener(s) : c.removeEventListener(\"change\", s);\n };\n }, [e]), t;\n}\nfunction St(e) {\n const n = k(e), t = r.useCallback(async () => {\n await n.startAudio();\n }, [n]), a = r.useMemo(\n () => x(n),\n [n]\n ), { canPlayAudio: s } = b(a, {\n canPlayAudio: n.canPlaybackAudio\n });\n return { canPlayAudio: s, startAudio: t };\n}\nfunction vt(e) {\n const { state: n, dispatch: t } = J().pin;\n return { buttonProps: r.useMemo(() => {\n const { className: s } = H();\n return E(e, {\n className: s,\n disabled: !(n != null && n.length),\n onClick: () => {\n t && t({ msg: \"clear_pin\" });\n }\n });\n }, [e, t, n]) };\n}\nfunction ht(e = {}) {\n const n = w(e.participant), { className: t, connectionQualityObserver: a } = r.useMemo(\n () => j(n),\n [n]\n ), s = b(a, Ue.Unknown);\n return { className: t, quality: s };\n}\nfunction O(e) {\n const n = k(e), t = r.useMemo(() => X(n), [n]);\n return b(t, n.state);\n}\nfunction Mt(e, n) {\n const t = typeof e == \"function\" ? e : n, a = typeof e == \"string\" ? e : void 0, s = A(), { send: c, messageObservable: o, isSendingObservable: u } = r.useMemo(\n () => Y(s, a, t),\n [s, a, t]\n ), i = b(o, void 0), d = b(u, !1);\n return {\n message: i,\n send: c,\n isSending: d\n };\n}\nfunction yt(e) {\n const n = A(), t = O(n);\n return { buttonProps: r.useMemo(() => {\n const { className: s, disconnect: c } = K(n);\n return E(e, {\n className: s,\n onClick: () => c(e.stopTracks ?? !0),\n disabled: t === I.Disconnected\n });\n }, [n, e, t]) };\n}\nfunction je(e) {\n if (e.publication instanceof qe) {\n const n = e.publication.track;\n if (n) {\n const { facingMode: t } = Je(n);\n return t;\n }\n }\n return \"undefined\";\n}\nfunction Pt({ trackRef: e, props: n }) {\n const t = R(e), a = Z(), { className: s } = r.useMemo(() => ee(), []), c = r.useMemo(() => te(t, a == null ? void 0 : a.pin.state), [t, a == null ? void 0 : a.pin.state]);\n return { mergedProps: r.useMemo(\n () => E(n, {\n className: s,\n onClick: (u) => {\n var i, d, l, f, p;\n (i = n.onClick) == null || i.call(n, u), c ? (l = a == null ? void 0 : (d = a.pin).dispatch) == null || l.call(d, {\n msg: \"clear_pin\"\n }) : (p = a == null ? void 0 : (f = a.pin).dispatch) == null || p.call(f, {\n msg: \"set_pin\",\n trackReference: t\n });\n }\n }),\n [n, s, t, c, a == null ? void 0 : a.pin]\n ), inFocus: c };\n}\nfunction kt(e, n, t = {}) {\n const a = t.gridLayouts ?? ne, { width: s, height: c } = He(e), o = se(a, n, s, c);\n return r.useEffect(() => {\n e.current && o && (e.current.style.setProperty(\"--lk-col-count\", o == null ? void 0 : o.columns.toString()), e.current.style.setProperty(\"--lk-row-count\", o == null ? void 0 : o.rows.toString()));\n }, [e, o]), {\n layout: o,\n containerWidth: s,\n containerHeight: c\n };\n}\nfunction z(e, n = {}) {\n var u, i;\n const t = typeof e == \"string\" ? n.participant : e.participant, a = w(t), s = typeof e == \"string\" ? { participant: a, source: e } : e, [c, o] = r.useState(\n !!((u = s.publication) != null && u.isMuted || (i = a.getTrackPublication(s.source)) != null && i.isMuted)\n );\n return r.useEffect(() => {\n const d = ae(s).subscribe(o);\n return () => d.unsubscribe();\n }, [F(s)]), c;\n}\nfunction Xe(e) {\n const n = w(e), t = r.useMemo(() => re(n), [n]);\n return b(t, n.isSpeaking);\n}\nfunction Ye(e = {}) {\n const n = k(e.room), [t, a] = r.useState(n.localParticipant), [s, c] = r.useState(\n t.isMicrophoneEnabled\n ), [o, u] = r.useState(\n t.isMicrophoneEnabled\n ), [i, d] = r.useState(\n t.lastMicrophoneError\n ), [l, f] = r.useState(t.lastCameraError), [p, g] = r.useState(\n t.isMicrophoneEnabled\n ), [S, m] = r.useState(\n void 0\n ), [M, v] = r.useState(void 0), P = (h) => {\n u(h.isCameraEnabled), c(h.isMicrophoneEnabled), g(h.isScreenShareEnabled), v(h.cameraTrack), m(h.microphoneTrack), d(h.participant.lastMicrophoneError), f(h.participant.lastCameraError), a(h.participant);\n };\n return r.useEffect(() => {\n const h = ce(n.localParticipant).subscribe(P);\n return () => h.unsubscribe();\n }, [n]), {\n isMicrophoneEnabled: s,\n isScreenShareEnabled: p,\n isCameraEnabled: o,\n microphoneTrack: S,\n cameraTrack: M,\n lastMicrophoneError: i,\n lastCameraError: l,\n localParticipant: t\n };\n}\nfunction Et() {\n const e = A(), n = r.useMemo(\n () => _(e.localParticipant),\n [e]\n );\n return b(n, e.localParticipant.permissions);\n}\nfunction Tt({\n kind: e,\n room: n,\n track: t,\n requestPermissions: a,\n onError: s\n}) {\n const c = W(), o = r.useMemo(() => n ?? c ?? new _e(), [n, c]), u = r.useMemo(\n () => Q(e, s, a),\n [e, a, s]\n ), i = b(u, []), [d, l] = r.useState(\n (o == null ? void 0 : o.getActiveDevice(e)) ?? \"default\"\n ), { className: f, activeDeviceObservable: p, setActiveMediaDevice: g } = r.useMemo(\n () => oe(e, o),\n [e, o, t]\n );\n return r.useEffect(() => {\n const S = p.subscribe((m) => {\n m && (T.info(\"setCurrentDeviceId\", m), l(m));\n });\n return () => {\n S == null || S.unsubscribe();\n };\n }, [p]), { devices: i, className: f, activeDeviceId: d, setActiveMediaDevice: g };\n}\nfunction wt({\n kind: e,\n onError: n\n}) {\n const t = r.useMemo(\n () => Q(e, n),\n [e, n]\n );\n return b(t, []);\n}\nfunction Ke(e, n, t = {}) {\n const a = r.useRef([]), s = r.useRef(-1), c = n !== s.current, o = typeof t.customSortFunction == \"function\" ? t.customSortFunction(e) : ie(e);\n let u = [...o];\n if (c === !1)\n try {\n u = ue(a.current, o, n);\n } catch (i) {\n T.error(\"Error while running updatePages(): \", i);\n }\n return c ? a.current = o : a.current = u, s.current = n, u;\n}\nfunction At(e, n) {\n const [t, a] = r.useState(1), s = Math.max(Math.ceil(n.length / e), 1);\n t > s && a(s);\n const c = t * e, o = c - e, u = (f) => {\n a((p) => f === \"next\" ? p === s ? p : p + 1 : p === 1 ? p : p - 1);\n }, i = (f) => {\n f > s ? a(s) : f < 1 ? a(1) : a(f);\n }, l = Ke(n, e).slice(o, c);\n return {\n totalPageCount: s,\n nextPage: () => u(\"next\"),\n prevPage: () => u(\"previous\"),\n setPage: i,\n firstItemIndex: o,\n lastItemIndex: c,\n tracks: l,\n currentPage: t\n };\n}\nfunction Ct(e = {}) {\n let n = N();\n e.participant && (n = e.participant);\n const t = r.useMemo(() => de(n), [n]), { identity: a, name: s, metadata: c } = b(t, {\n name: n == null ? void 0 : n.name,\n identity: n == null ? void 0 : n.identity,\n metadata: n == null ? void 0 : n.metadata\n });\n return { identity: a, name: s, metadata: c };\n}\nfunction It(e = {}) {\n const n = w(e.participant), t = r.useMemo(() => _(n), [n]);\n return b(t, n.permissions);\n}\nfunction Ot({\n trackRef: e,\n onParticipantClick: n,\n disableSpeakingIndicator: t,\n htmlProps: a\n}) {\n const s = R(e), c = r.useMemo(() => {\n const { className: p } = le();\n return E(a, {\n className: p,\n onClick: (g) => {\n var S;\n if ((S = a.onClick) == null || S.call(a, g), typeof n == \"function\") {\n const m = s.publication ?? s.participant.getTrackPublication(s.source);\n n({ participant: s.participant, track: m });\n }\n }\n });\n }, [\n a,\n n,\n s.publication,\n s.source,\n s.participant\n ]), o = s.participant.getTrackPublication(y.Source.Microphone), u = r.useMemo(() => ({\n participant: s.participant,\n source: y.Source.Microphone,\n publication: o\n }), [o, s.participant]), i = z(s), d = z(u), l = Xe(s.participant), f = je(s);\n return {\n elementProps: {\n \"data-lk-audio-muted\": d,\n \"data-lk-video-muted\": i,\n \"data-lk-speaking\": t === !0 ? !1 : l,\n \"data-lk-local-participant\": s.participant.isLocal,\n \"data-lk-source\": s.source,\n \"data-lk-facing-mode\": f,\n ...c\n }\n };\n}\nfunction G(e = {}) {\n const n = k(e.room), [t, a] = r.useState([]);\n return r.useEffect(() => {\n const s = fe(n, {\n additionalRoomEvents: e.updateOnlyOn\n }).subscribe(a);\n return () => s.unsubscribe();\n }, [n, JSON.stringify(e.updateOnlyOn)]), t;\n}\nfunction Dt(e = {}) {\n const n = G(e), { localParticipant: t } = Ye(e);\n return r.useMemo(\n () => [t, ...n],\n [t, n]\n );\n}\nfunction Lt(e) {\n return e = pe(e), r.useMemo(() => (e == null ? void 0 : e.pin.state) !== void 0 && e.pin.state.length >= 1 ? e.pin.state : [], [e.pin.state]);\n}\nfunction Rt(e, n = {}) {\n const t = A(), [a] = r.useState(n.updateOnlyOn), s = r.useMemo(() => typeof e == \"string\" ? be(t, e, {\n additionalEvents: a\n }) : me(t, e, {\n additionalEvents: a\n }), [t, JSON.stringify(e), a]), [c, o] = r.useState({\n p: void 0\n });\n return r.useEffect(() => {\n const u = s.subscribe((i) => o({ p: i }));\n return () => u.unsubscribe();\n }, [s]), c.p;\n}\nfunction Ft(e = {}) {\n const n = k(e.room), t = r.useMemo(() => ge(n), [n]), { name: a, metadata: s } = b(t, {\n name: n.name,\n metadata: n.metadata\n });\n return { name: a, metadata: s };\n}\nfunction Ze() {\n const e = A(), n = r.useMemo(() => Se(e), [e]);\n return b(n, e.activeSpeakers);\n}\nfunction Nt(e) {\n const [n, t] = r.useState(\n B(e)\n ), a = Ze();\n return r.useEffect(() => {\n t(B(e));\n }, [a, e]), n;\n}\nfunction Vt({ room: e, props: n }) {\n const t = k(e), { className: a, roomAudioPlaybackAllowedObservable: s, handleStartAudioPlayback: c } = r.useMemo(\n () => ve(),\n []\n ), o = r.useMemo(\n () => s(t),\n [t, s]\n ), { canPlayAudio: u } = b(o, {\n canPlayAudio: t.canPlaybackAudio\n });\n return { mergedProps: r.useMemo(\n () => E(n, {\n className: a,\n onClick: () => {\n c(t);\n },\n style: { display: u ? \"none\" : \"block\" }\n }),\n [n, a, u, c, t]\n ), canPlayAudio: u };\n}\nfunction Bt({ room: e, props: n }) {\n const t = k(e), { className: a, roomVideoPlaybackAllowedObservable: s, handleStartVideoPlayback: c } = r.useMemo(\n () => he(),\n []\n ), o = r.useMemo(\n () => s(t),\n [t, s]\n ), { canPlayVideo: u } = b(o, {\n canPlayVideo: t.canPlaybackVideo\n });\n return { mergedProps: r.useMemo(\n () => E(n, {\n className: a,\n onClick: () => {\n c(t);\n },\n style: { display: u ? \"none\" : \"block\" }\n }),\n [n, a, u, c, t]\n ), canPlayVideo: u };\n}\nfunction zt(e, n = {}) {\n const t = r.useRef(null), a = r.useRef(null), s = n.minSwipeDistance ?? 50, c = (i) => {\n a.current = null, t.current = i.targetTouches[0].clientX;\n }, o = (i) => {\n a.current = i.targetTouches[0].clientX;\n }, u = r.useCallback(() => {\n if (!t.current || !a.current)\n return;\n const i = t.current - a.current, d = i > s, l = i < -s;\n d && n.onLeftSwipe && n.onLeftSwipe(), l && n.onRightSwipe && n.onRightSwipe();\n }, [s, n]);\n r.useEffect(() => {\n const i = e.current;\n return i && (i.addEventListener(\"touchstart\", c, { passive: !0 }), i.addEventListener(\"touchmove\", o, { passive: !0 }), i.addEventListener(\"touchend\", u, { passive: !0 })), () => {\n i && (i.removeEventListener(\"touchstart\", c), i.removeEventListener(\"touchmove\", o), i.removeEventListener(\"touchend\", u));\n };\n }, [e, u]);\n}\nfunction Ut({ props: e }) {\n const { dispatch: n, state: t } = J().widget, { className: a } = r.useMemo(() => Me(), []);\n return { mergedProps: r.useMemo(() => E(e, {\n className: a,\n onClick: () => {\n n && n({ msg: \"toggle_chat\" });\n },\n \"aria-pressed\": t != null && t.showChat ? \"true\" : \"false\",\n \"data-lk-unread-msgs\": t ? t.unreadMessages < 10 ? t.unreadMessages.toFixed(0) : \"9+\" : \"0\"\n }), [e, a, n, t]) };\n}\nfunction qt(e, n, t = {}) {\n const [a, s] = r.useState(void 0);\n return r.useEffect(() => {\n var o;\n if (e === void 0)\n throw Error(\"token endpoint needs to be defined\");\n if (((o = t.userInfo) == null ? void 0 : o.identity) === void 0)\n return;\n (async () => {\n T.debug(\"fetching token\");\n const u = new URLSearchParams({ ...t.userInfo, roomName: n }), i = await fetch(`${e}?${u.toString()}`);\n if (!i.ok) {\n T.error(\n `Could not fetch token. Server responded with status ${i.status}: ${i.statusText}`\n );\n return;\n }\n const { accessToken: d } = await i.json();\n s(d);\n })();\n }, [e, n, JSON.stringify(t)]), a;\n}\nfunction Jt(e) {\n var c, o;\n const n = R(e), { className: t, mediaMutedObserver: a } = r.useMemo(\n () => ye(n),\n [F(n)]\n );\n return { isMuted: b(\n a,\n !!((c = n.publication) != null && c.isMuted || (o = n.participant.getTrackPublication(n.source)) != null && o.isMuted)\n ), className: t };\n}\nfunction _t({\n source: e,\n onChange: n,\n initialState: t,\n captureOptions: a,\n publishOptions: s,\n onDeviceError: c,\n ...o\n}) {\n var P;\n const u = W(), i = (P = u == null ? void 0 : u.localParticipant) == null ? void 0 : P.getTrackPublication(e), d = r.useRef(!1), { toggle: l, className: f, pendingObserver: p, enabledObserver: g } = r.useMemo(\n () => u ? Pe(e, u, a, s, c) : ke(),\n [u, e, JSON.stringify(a), s]\n ), S = b(p, !1), m = b(g, t ?? !!(i != null && i.isEnabled));\n r.useEffect(() => {\n n == null || n(m, d.current), d.current = !1;\n }, [m, n]), r.useEffect(() => {\n t !== void 0 && (T.debug(\"forcing initial toggle state\", e, t), l(t));\n }, []);\n const M = r.useMemo(() => E(o, { className: f }), [o, f]), v = r.useCallback(\n (h) => {\n var C;\n d.current = !0, l().catch(() => d.current = !1), (C = o.onClick) == null || C.call(o, h);\n },\n [o, l]\n );\n return {\n toggle: l,\n enabled: m,\n pending: S,\n track: i,\n buttonProps: {\n ...M,\n \"aria-pressed\": m,\n \"data-lk-source\": e,\n \"data-lk-enabled\": m,\n disabled: S,\n onClick: v\n }\n };\n}\nfunction Wt(e = [\n y.Source.Camera,\n y.Source.Microphone,\n y.Source.ScreenShare,\n y.Source.ScreenShareAudio,\n y.Source.Unknown\n], n = {}) {\n const t = k(n.room), [a, s] = r.useState([]), [c, o] = r.useState([]), u = r.useMemo(() => e.map((d) => Ee(d) ? d.source : d), [JSON.stringify(e)]);\n return r.useEffect(() => {\n const d = Te(t, u, {\n additionalRoomEvents: n.updateOnlyOn,\n onlySubscribed: n.onlySubscribed\n }).subscribe(({ trackReferences: l, participants: f }) => {\n T.debug(\"setting track bundles\", l, f), s(l), o(f);\n });\n return () => d.unsubscribe();\n }, [\n t,\n JSON.stringify(n.onlySubscribed),\n JSON.stringify(n.updateOnlyOn),\n JSON.stringify(e)\n ]), r.useMemo(() => {\n if ($(e)) {\n const d = tt(e, c), l = Array.from(a);\n return c.forEach((f) => {\n d.has(f.identity) && (d.get(f.identity) ?? []).forEach((g) => {\n if (a.find(\n ({ participant: m, publication: M }) => f.identity === m.identity && M.source === g\n ))\n return;\n T.debug(\n `Add ${g} placeholder for participant ${f.identity}.`\n );\n const S = {\n participant: f,\n source: g\n };\n l.push(S);\n });\n }), l;\n } else\n return a;\n }, [a, c, e]);\n}\nfunction et(e, n) {\n const t = new Set(e);\n for (const a of n)\n t.delete(a);\n return t;\n}\nfunction tt(e, n) {\n const t = /* @__PURE__ */ new Map();\n if ($(e)) {\n const a = e.filter((s) => s.withPlaceholder).map((s) => s.source);\n n.forEach((s) => {\n const c = s.getTrackPublications().map((u) => {\n var i;\n return (i = u.track) == null ? void 0 : i.source;\n }).filter((u) => u !== void 0), o = Array.from(\n et(new Set(a), new Set(c))\n );\n o.length > 0 && t.set(s.identity, o);\n });\n }\n return t;\n}\nfunction nt(e) {\n const [n, t] = r.useState(we(e)), { trackObserver: a } = r.useMemo(() => Ae(e), [e.participant.sid ?? e.participant.identity, e.source]);\n return r.useEffect(() => {\n const s = a.subscribe((c) => {\n t(c);\n });\n return () => s == null ? void 0 : s.unsubscribe();\n }, [a]), {\n participant: e.participant,\n source: e.source ?? y.Source.Unknown,\n publication: n\n };\n}\nfunction Qt(e, n) {\n const t = w(n);\n return nt({ name: e, participant: t });\n}\nfunction $t(e) {\n const n = A(), t = O(n), a = r.useMemo(\n () => t === I.Disconnected,\n [t]\n ), s = r.useMemo(\n () => Ce(n, e),\n [n, e, a]\n ), c = b(s.isSendingObservable, !1), o = b(s.messageObservable, []);\n return { send: s.send, update: s.update, chatMessages: o, isSending: c };\n}\nfunction Gt(e = {}) {\n const [n, t] = r.useState(\n Ie(e.defaults, e.preventLoad ?? !1)\n ), a = r.useCallback((i) => {\n t((d) => ({ ...d, audioEnabled: i }));\n }, []), s = r.useCallback((i) => {\n t((d) => ({ ...d, videoEnabled: i }));\n }, []), c = r.useCallback((i) => {\n t((d) => ({ ...d, audioDeviceId: i }));\n }, []), o = r.useCallback((i) => {\n t((d) => ({ ...d, videoDeviceId: i }));\n }, []), u = r.useCallback((i) => {\n t((d) => ({ ...d, username: i }));\n }, []);\n return r.useEffect(() => {\n Oe(n, e.preventSave ?? !1);\n }, [n, e.preventSave]), {\n userChoices: n,\n saveAudioInputEnabled: a,\n saveVideoInputEnabled: s,\n saveAudioInputDeviceId: c,\n saveVideoInputDeviceId: o,\n saveUsername: u\n };\n}\nfunction xt(e, n = {}) {\n const t = w(e), a = k(n.room), s = r.useMemo(() => De(a, t), [a, t]);\n return b(\n s,\n t.isLocal ? t.isE2EEEnabled : !!(t != null && t.isEncrypted)\n );\n}\nfunction Ht(e, n = { fftSize: 32, smoothingTimeConstant: 0 }) {\n const t = Le(e) ? e.publication.track : e, [a, s] = r.useState(0);\n return r.useEffect(() => {\n if (!t || !t.mediaStream)\n return;\n const { cleanup: c, analyser: o } = V(t, n), u = o.frequencyBinCount, i = new Uint8Array(u), l = setInterval(() => {\n o.getByteFrequencyData(i);\n let f = 0;\n for (let p = 0; p < i.length; p++) {\n const g = i[p];\n f += g * g;\n }\n s(Math.sqrt(f / i.length) / 255);\n }, 1e3 / 30);\n return () => {\n c(), clearInterval(l);\n };\n }, [t, t == null ? void 0 : t.mediaStream, JSON.stringify(n)]), a;\n}\nconst st = (e) => {\n const n = (t) => {\n let c = 1 - Math.max(-100, Math.min(-10, t)) * -1 / 100;\n return c = Math.sqrt(c), c;\n };\n return e.map((t) => t === -1 / 0 ? 0 : n(t));\n}, at = {\n bands: 5,\n loPass: 100,\n hiPass: 600,\n updateInterval: 32,\n analyserOptions: { fftSize: 2048 }\n};\nfunction jt(e, n = {}) {\n var o;\n const t = e instanceof y ? e : (o = e == null ? void 0 : e.publication) == null ? void 0 : o.track, a = { ...at, ...n }, [s, c] = r.useState(\n new Array(a.bands).fill(0)\n );\n return r.useEffect(() => {\n if (!t || !(t != null && t.mediaStream))\n return;\n const { analyser: u, cleanup: i } = V(t, a.analyserOptions), d = u.frequencyBinCount, l = new Float32Array(d), p = setInterval(() => {\n u.getFloatFrequencyData(l);\n let g = new Float32Array(l.length);\n for (let v = 0; v < l.length; v++)\n g[v] = l[v];\n g = g.slice(n.loPass, n.hiPass);\n const S = st(g), m = Math.ceil(S.length / a.bands), M = [];\n for (let v = 0; v < a.bands; v++) {\n const P = S.slice(v * m, (v + 1) * m).reduce((h, C) => h += C, 0);\n M.push(P / m);\n }\n c(M);\n }, a.updateInterval);\n return () => {\n i(), clearInterval(p);\n };\n }, [t, t == null ? void 0 : t.mediaStream, JSON.stringify(n)]), s;\n}\nconst rt = {\n barCount: 120,\n volMultiplier: 5,\n updateInterval: 20\n};\nfunction Xt(e, n = {}) {\n var l;\n const t = e instanceof y ? e : (l = e == null ? void 0 : e.publication) == null ? void 0 : l.track, a = { ...rt, ...n }, s = r.useRef(new Float32Array()), c = r.useRef(performance.now()), o = r.useRef(0), [u, i] = r.useState([]), d = r.useCallback((f) => {\n i(\n Array.from(\n ot(f, a.barCount).map((p) => Math.sqrt(p) * a.volMultiplier)\n // wave.slice(0, opts.barCount).map((v) => sigmoid(v * opts.volMultiplier, 0.08, 0.2)),\n )\n );\n }, []);\n return r.useEffect(() => {\n if (!t || !(t != null && t.mediaStream))\n return;\n const { analyser: f, cleanup: p } = V(t, {\n fftSize: U(a.barCount)\n }), g = U(a.barCount), S = new Float32Array(g), m = () => {\n if (M = requestAnimationFrame(m), f.getFloatTimeDomainData(S), s.current.map((v, P) => v + S[P]), o.current += 1, performance.now() - c.current >= a.updateInterval) {\n const v = S.map((P) => P / o.current);\n d(v), c.current = performance.now(), o.current = 0;\n }\n };\n let M = requestAnimationFrame(m);\n return () => {\n p(), cancelAnimationFrame(M);\n };\n }, [t, t == null ? void 0 : t.mediaStream, JSON.stringify(n), d]), {\n bars: u\n };\n}\nfunction U(e) {\n return e < 32 ? 32 : ct(e);\n}\nfunction ct(e) {\n let n = 2;\n for (; e >>= 1; )\n n <<= 1;\n return n;\n}\nfunction ot(e, n) {\n const t = Math.floor(e.length / n), a = new Float32Array(n);\n for (let s = 0; s < n; s++) {\n const c = t * s;\n let o = 0;\n for (let u = 0; u < t; u++)\n o = o + Math.abs(e[c + u]);\n a[s] = o / t;\n }\n return a;\n}\nfunction it(e, n) {\n const t = A(), a = N(), s = n ? t.getParticipantByIdentity(n) : a, c = r.useMemo(\n () => s ? Re(s, { sources: e }) : void 0,\n [s == null ? void 0 : s.sid, s == null ? void 0 : s.identity, JSON.stringify(e)]\n );\n return b(c, []);\n}\nfunction ut(e) {\n var t, a, s;\n const n = r.useMemo(\n () => {\n var c;\n return (c = e == null ? void 0 : e.publication) != null && c.track ? Fe(e == null ? void 0 : e.publication.track) : void 0;\n },\n [(t = e == null ? void 0 : e.publication) == null ? void 0 : t.track]\n );\n return b(n, {\n timestamp: Date.now(),\n rtpTimestamp: (s = (a = e == null ? void 0 : e.publication) == null ? void 0 : a.track) == null ? void 0 : s.rtpTimestamp\n });\n}\nconst dt = {\n bufferSize: 100\n // maxAge: 2_000,\n};\nfunction lt(e, n) {\n const t = { ...dt, ...n }, [a, s] = r.useState([]), c = ut(e), o = (u) => {\n var i;\n (i = t.onTranscription) == null || i.call(t, u), s(\n (d) => Ve(\n d,\n // when first receiving a segment, add the current media timestamp to it\n u.map((l) => Be(l, c)),\n t.bufferSize\n )\n );\n };\n return r.useEffect(() => {\n if (!(e != null && e.publication))\n return;\n const u = Ne(e.publication).subscribe((i) => {\n o(...i);\n });\n return () => {\n u.unsubscribe();\n };\n }, [e && F(e), o]), { segments: a };\n}\nfunction ft(e = {}) {\n const n = N(), t = e.participant ?? n, a = r.useMemo(\n // weird typescript constraint\n () => t ? L(t) : L(t),\n [t]\n );\n return b(a, {\n attributes: t == null ? void 0 : t.attributes\n });\n}\nfunction Yt(e, n = {}) {\n const t = w(n.participant), [a, s] = r.useState(t.attributes[e]);\n return r.useEffect(() => {\n if (!t)\n return;\n const c = L(t).subscribe((o) => {\n o.changed[e] !== void 0 && s(o.attributes[e]);\n });\n return () => {\n c.unsubscribe();\n };\n }, [t, e]), a;\n}\nconst q = \"lk.agent.state\";\nfunction Kt() {\n const e = G().find((o) => o.kind === We.AGENT), n = it([y.Source.Microphone], e == null ? void 0 : e.identity)[0], { segments: t } = lt(n), a = O(), { attributes: s } = ft({ participant: e }), c = r.useMemo(() => a === I.Disconnected ? \"disconnected\" : a === I.Connecting || !e || !(s != null && s[q]) ? \"connecting\" : s[q], [s, e, a]);\n return {\n agent: e,\n state: c,\n audioTrack: n,\n agentTranscriptions: t,\n agentAttributes: s\n };\n}\nfunction Zt(e) {\n const n = k(e), t = O(n), a = r.useMemo(() => ze(n), [n, t]);\n return b(a, n.isRecording);\n}\nexport {\n Et as A,\n Lt as B,\n Ye as C,\n St as D,\n Mt as E,\n je as F,\n z as G,\n Xe as H,\n Ct as I,\n It as J,\n Dt as K,\n Rt as L,\n G as M,\n Nt as N,\n Ze as O,\n qt as P,\n Qt as Q,\n Ht as R,\n Xt as S,\n it as T,\n lt as U,\n Kt as V,\n ft as W,\n Yt as X,\n Zt as Y,\n O as a,\n Ut as b,\n yt as c,\n Pt as d,\n Tt as e,\n Vt as f,\n Bt as g,\n _t as h,\n ht as i,\n b as j,\n Jt as k,\n Ot as l,\n xt as m,\n kt as n,\n At as o,\n zt as p,\n He as q,\n Ke as r,\n jt as s,\n Wt as t,\n vt as u,\n Ft as v,\n $t as w,\n wt as x,\n Gt as y,\n gt as z\n};\n//# sourceMappingURL=hooks-JwdUfgCD.mjs.map\n","import * as e from \"react\";\nimport { useState as x, useRef as P, useEffect as T, useMemo as he } from \"react\";\nimport { u as ge, a as K, b as ve, c as Ee, d as pe, e as we, f as ee, g as ke, h as Me, i as Re, j as ye, k as be, l as te, m as Se, n as Ce, o as Ie, p as Pe, q as Te, r as xe, s as ne, t as Ae, v as Ne } from \"./hooks-JwdUfgCD.mjs\";\nimport { a as R, c as O } from \"./room-BBI9Ul2f.mjs\";\nimport { RoomEvent as Le, Track as M, ConnectionQuality as V, RemoteTrackPublication as H, RemoteAudioTrack as ze, ConnectionState as F } from \"livekit-client\";\nimport { a9 as _, aa as ae, w as Ve, f as re, c as Fe, ab as Ze, X as He, Y as Be, a1 as z, l as A, ac as L, ad as je, i as N, B as Oe, ae as ce, af as W, j as _e, ag as We, m as $e, p as le, ah as qe, ai as De, aj as Ge, ak as Qe, al as Ue } from \"./contexts-B7YgC7ji.mjs\";\nconst Kt = /* @__PURE__ */ e.forwardRef(\n function(a, n) {\n const { buttonProps: r } = ge(a);\n return /* @__PURE__ */ e.createElement(\"button\", { ref: n, ...r }, a.children);\n }\n), en = /* @__PURE__ */ e.forwardRef(\n function({ room: a, ...n }, r) {\n const c = K(a);\n return /* @__PURE__ */ e.createElement(\"div\", { ref: r, ...n }, c);\n }\n), tn = /* @__PURE__ */ e.forwardRef(\n function(a, n) {\n const { mergedProps: r } = ve({ props: a });\n return /* @__PURE__ */ e.createElement(\"button\", { ref: n, ...r }, a.children);\n }\n), nn = /* @__PURE__ */ e.forwardRef(\n function(a, n) {\n const { buttonProps: r } = Ee(a);\n return /* @__PURE__ */ e.createElement(\"button\", { ref: n, ...r }, a.children);\n }\n), Xe = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, fill: \"currentColor\", ...t }, /* @__PURE__ */ e.createElement(\"path\", { d: \"M1.354.646a.5.5 0 1 0-.708.708l14 14a.5.5 0 0 0 .708-.708L11 10.293V4.5A1.5 1.5 0 0 0 9.5 3H3.707zM0 4.5a1.5 1.5 0 0 1 .943-1.393l9.532 9.533c-.262.224-.603.36-.975.36h-8A1.5 1.5 0 0 1 0 11.5z\" }), /* @__PURE__ */ e.createElement(\"path\", { d: \"m15.2 3.6-2.8 2.1a1 1 0 0 0-.4.8v3a1 1 0 0 0 .4.8l2.8 2.1a.5.5 0 0 0 .8-.4V4a.5.5 0 0 0-.8-.4z\" })), Ye = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, fill: \"currentColor\", ...t }, /* @__PURE__ */ e.createElement(\"path\", { d: \"M0 4.5A1.5 1.5 0 0 1 1.5 3h8A1.5 1.5 0 0 1 11 4.5v7A1.5 1.5 0 0 1 9.5 13h-8A1.5 1.5 0 0 1 0 11.5zM15.2 3.6l-2.8 2.1a1 1 0 0 0-.4.8v3a1 1 0 0 0 .4.8l2.8 2.1a.5.5 0 0 0 .8-.4V4a.5.5 0 0 0-.8-.4z\" })), an = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, viewBox: \"0 0 24 24\", ...t }, /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"#FFF\",\n d: \"M4.99 3.99a1 1 0 0 0-.697 1.717L10.586 12l-6.293 6.293a1 1 0 1 0 1.414 1.414L12 13.414l6.293 6.293a1 1 0 1 0 1.414-1.414L13.414 12l6.293-6.293a1 1 0 0 0-.727-1.717 1 1 0 0 0-.687.303L12 10.586 5.707 4.293a1 1 0 0 0-.717-.303z\"\n }\n)), rn = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 18, fill: \"none\", ...t }, /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M0 2.75A2.75 2.75 0 0 1 2.75 0h10.5A2.75 2.75 0 0 1 16 2.75v13.594a.75.75 0 0 1-1.234.572l-3.691-3.12a1.25 1.25 0 0 0-.807-.296H2.75A2.75 2.75 0 0 1 0 10.75v-8ZM2.75 1.5c-.69 0-1.25.56-1.25 1.25v8c0 .69.56 1.25 1.25 1.25h7.518c.65 0 1.279.23 1.775.65l2.457 2.077V2.75c0-.69-.56-1.25-1.25-1.25H2.75Z\",\n clipRule: \"evenodd\"\n }\n), /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M3 4.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5Zm0 2a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5Zm0 2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5Z\",\n clipRule: \"evenodd\"\n }\n)), D = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, fill: \"none\", ...t }, /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentcolor\",\n fillRule: \"evenodd\",\n d: \"M5.293 2.293a1 1 0 0 1 1.414 0l4.823 4.823a1.25 1.25 0 0 1 0 1.768l-4.823 4.823a1 1 0 0 1-1.414-1.414L9.586 8 5.293 3.707a1 1 0 0 1 0-1.414z\",\n clipRule: \"evenodd\"\n }\n)), Je = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, fill: \"none\", ...t }, /* @__PURE__ */ e.createElement(\"g\", { stroke: \"currentColor\", strokeLinecap: \"round\", strokeLinejoin: \"round\", strokeWidth: 1.5 }, /* @__PURE__ */ e.createElement(\"path\", { d: \"M10 1.75h4.25m0 0V6m0-4.25L9 7M6 14.25H1.75m0 0V10m0 4.25L7 9\" }))), cn = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, fill: \"none\", ...t }, /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentcolor\",\n fillRule: \"evenodd\",\n d: \"M8.961.894C8.875-.298 7.125-.298 7.04.894c-.066.912-1.246 1.228-1.76.472-.67-.99-2.186-.115-1.664.96.399.824-.465 1.688-1.288 1.289-1.076-.522-1.95.994-.961 1.665.756.513.44 1.693-.472 1.759-1.192.086-1.192 1.836 0 1.922.912.066 1.228 1.246.472 1.76-.99.67-.115 2.186.96 1.664.824-.399 1.688.465 1.289 1.288-.522 1.076.994 1.95 1.665.961.513-.756 1.693-.44 1.759.472.086 1.192 1.836 1.192 1.922 0 .066-.912 1.246-1.228 1.76-.472.67.99 2.186.115 1.664-.96-.399-.824.465-1.688 1.288-1.289 1.076.522 1.95-.994.961-1.665-.756-.513-.44-1.693.472-1.759 1.192-.086 1.192-1.836 0-1.922-.912-.066-1.228-1.246-.472-1.76.99-.67.115-2.186-.96-1.664-.824.399-1.688-.465-1.289-1.288.522-1.076-.994-1.95-1.665-.961-.513.756-1.693.44-1.759-.472ZM8 13A5 5 0 1 0 8 3a5 5 0 0 0 0 10Z\",\n clipRule: \"evenodd\"\n }\n)), ln = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, fill: \"none\", ...t }, /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M2 2.75A2.75 2.75 0 0 1 4.75 0h6.5A2.75 2.75 0 0 1 14 2.75v10.5A2.75 2.75 0 0 1 11.25 16h-6.5A2.75 2.75 0 0 1 2 13.25v-.5a.75.75 0 0 1 1.5 0v.5c0 .69.56 1.25 1.25 1.25h6.5c.69 0 1.25-.56 1.25-1.25V2.75c0-.69-.56-1.25-1.25-1.25h-6.5c-.69 0-1.25.56-1.25 1.25v.5a.75.75 0 0 1-1.5 0v-.5Z\",\n clipRule: \"evenodd\"\n }\n), /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M8.78 7.47a.75.75 0 0 1 0 1.06l-2.25 2.25a.75.75 0 1 1-1.06-1.06l.97-.97H1.75a.75.75 0 0 1 0-1.5h4.69l-.97-.97a.75.75 0 0 1 1.06-1.06l2.25 2.25Z\",\n clipRule: \"evenodd\"\n }\n)), Ke = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, fill: \"none\", ...t }, /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentcolor\",\n fillRule: \"evenodd\",\n d: \"M4 6.104V4a4 4 0 1 1 8 0v2.104c1.154.326 2 1.387 2 2.646v4.5A2.75 2.75 0 0 1 11.25 16h-6.5A2.75 2.75 0 0 1 2 13.25v-4.5c0-1.259.846-2.32 2-2.646ZM5.5 4a2.5 2.5 0 0 1 5 0v2h-5V4Z\",\n clipRule: \"evenodd\"\n }\n)), et = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, fill: \"currentColor\", ...t }, /* @__PURE__ */ e.createElement(\"path\", { d: \"M12.227 11.52a5.477 5.477 0 0 0 1.246-2.97.5.5 0 0 0-.995-.1 4.478 4.478 0 0 1-.962 2.359l-1.07-1.07C10.794 9.247 11 8.647 11 8V3a3 3 0 0 0-6 0v1.293L1.354.646a.5.5 0 1 0-.708.708l14 14a.5.5 0 0 0 .708-.708zM8 12.5c.683 0 1.33-.152 1.911-.425l.743.743c-.649.359-1.378.59-2.154.66V15h2a.5.5 0 0 1 0 1h-5a.5.5 0 0 1 0-1h2v-1.522a5.502 5.502 0 0 1-4.973-4.929.5.5 0 0 1 .995-.098A4.5 4.5 0 0 0 8 12.5z\" }), /* @__PURE__ */ e.createElement(\"path\", { d: \"M8.743 10.907 5 7.164V8a3 3 0 0 0 3.743 2.907z\" })), tt = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, fill: \"currentColor\", ...t }, /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fillRule: \"evenodd\",\n d: \"M2.975 8.002a.5.5 0 0 1 .547.449 4.5 4.5 0 0 0 8.956 0 .5.5 0 1 1 .995.098A5.502 5.502 0 0 1 8.5 13.478V15h2a.5.5 0 0 1 0 1h-5a.5.5 0 0 1 0-1h2v-1.522a5.502 5.502 0 0 1-4.973-4.929.5.5 0 0 1 .448-.547z\",\n clipRule: \"evenodd\"\n }\n), /* @__PURE__ */ e.createElement(\"path\", { d: \"M5 3a3 3 0 1 1 6 0v5a3 3 0 0 1-6 0z\" })), nt = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, fill: \"currentcolor\", ...t }, /* @__PURE__ */ e.createElement(\"path\", { d: \"M0 11.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5zm6-5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5zm6-6a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5z\" }), /* @__PURE__ */ e.createElement(\"path\", { d: \"M0 11.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5zm6-5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5zm6-6a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5z\" })), at = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, fill: \"currentcolor\", ...t }, /* @__PURE__ */ e.createElement(\"path\", { d: \"M0 11.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5zm6-5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5z\" }), /* @__PURE__ */ e.createElement(\"path\", { d: \"M0 11.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5zm6-5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5z\" }), /* @__PURE__ */ e.createElement(\"g\", { opacity: 0.25 }, /* @__PURE__ */ e.createElement(\"path\", { d: \"M12 .5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5z\" }), /* @__PURE__ */ e.createElement(\"path\", { d: \"M12 .5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5z\" }))), rt = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, fill: \"currentcolor\", ...t }, /* @__PURE__ */ e.createElement(\"path\", { d: \"M0 11.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5z\" }), /* @__PURE__ */ e.createElement(\"path\", { d: \"M0 11.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5z\" }), /* @__PURE__ */ e.createElement(\"g\", { opacity: 0.25 }, /* @__PURE__ */ e.createElement(\"path\", { d: \"M6 6.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5z\" }), /* @__PURE__ */ e.createElement(\"path\", { d: \"M6 6.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5zm6-6a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5z\" }), /* @__PURE__ */ e.createElement(\"path\", { d: \"M12 .5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5z\" }))), ct = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, fill: \"currentColor\", ...t }, /* @__PURE__ */ e.createElement(\"g\", { opacity: 0.25 }, /* @__PURE__ */ e.createElement(\"path\", { d: \"M0 11.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-4Zm6-5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-9Zm6-6a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V.5Z\" }), /* @__PURE__ */ e.createElement(\"path\", { d: \"M0 11.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-4Zm6-5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-9Zm6-6a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V.5Z\" }))), ie = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 20, height: 16, fill: \"none\", ...t }, /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M0 2.75A2.75 2.75 0 0 1 2.75 0h14.5A2.75 2.75 0 0 1 20 2.75v10.5A2.75 2.75 0 0 1 17.25 16H2.75A2.75 2.75 0 0 1 0 13.25V2.75ZM2.75 1.5c-.69 0-1.25.56-1.25 1.25v10.5c0 .69.56 1.25 1.25 1.25h14.5c.69 0 1.25-.56 1.25-1.25V2.75c0-.69-.56-1.25-1.25-1.25H2.75Z\",\n clipRule: \"evenodd\"\n }\n), /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M9.47 4.22a.75.75 0 0 1 1.06 0l2.25 2.25a.75.75 0 0 1-1.06 1.06l-.97-.97v4.69a.75.75 0 0 1-1.5 0V6.56l-.97.97a.75.75 0 0 1-1.06-1.06l2.25-2.25Z\",\n clipRule: \"evenodd\"\n }\n)), lt = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 20, height: 16, fill: \"none\", ...t }, /* @__PURE__ */ e.createElement(\"g\", { fill: \"currentColor\" }, /* @__PURE__ */ e.createElement(\"path\", { d: \"M7.28 4.22a.75.75 0 0 0-1.06 1.06L8.94 8l-2.72 2.72a.75.75 0 1 0 1.06 1.06L10 9.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L11.06 8l2.72-2.72a.75.75 0 0 0-1.06-1.06L10 6.94z\" }), /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fillRule: \"evenodd\",\n d: \"M2.75 0A2.75 2.75 0 0 0 0 2.75v10.5A2.75 2.75 0 0 0 2.75 16h14.5A2.75 2.75 0 0 0 20 13.25V2.75A2.75 2.75 0 0 0 17.25 0zM1.5 2.75c0-.69.56-1.25 1.25-1.25h14.5c.69 0 1.25.56 1.25 1.25v10.5c0 .69-.56 1.25-1.25 1.25H2.75c-.69 0-1.25-.56-1.25-1.25z\",\n clipRule: \"evenodd\"\n }\n))), G = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, fill: \"none\", ...t }, /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M8 0a.75.75 0 0 1 .75.75v2.5a.75.75 0 0 1-1.5 0V.75A.75.75 0 0 1 8 0Z\",\n clipRule: \"evenodd\"\n }\n), /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M8 12a.75.75 0 0 1 .75.75v2.5a.75.75 0 0 1-1.5 0v-2.5A.75.75 0 0 1 8 12Z\",\n clipRule: \"evenodd\",\n opacity: 0.7\n }\n), /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M12 1.072a.75.75 0 0 1 .274 1.024l-1.25 2.165a.75.75 0 0 1-1.299-.75l1.25-2.165A.75.75 0 0 1 12 1.072Z\",\n clipRule: \"evenodd\"\n }\n), /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M6 11.464a.75.75 0 0 1 .274 1.025l-1.25 2.165a.75.75 0 0 1-1.299-.75l1.25-2.165A.75.75 0 0 1 6 11.464Z\",\n clipRule: \"evenodd\",\n opacity: 0.6\n }\n), /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M14.928 4a.75.75 0 0 1-.274 1.025l-2.165 1.25a.75.75 0 1 1-.75-1.3l2.165-1.25A.75.75 0 0 1 14.928 4Z\",\n clipRule: \"evenodd\"\n }\n), /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M4.536 10a.75.75 0 0 1-.275 1.024l-2.165 1.25a.75.75 0 0 1-.75-1.298l2.165-1.25A.75.75 0 0 1 4.536 10Z\",\n clipRule: \"evenodd\",\n opacity: 0.5\n }\n), /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M16 8a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h2.5A.75.75 0 0 1 16 8Z\",\n clipRule: \"evenodd\"\n }\n), /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M4 8a.75.75 0 0 1-.75.75H.75a.75.75 0 0 1 0-1.5h2.5A.75.75 0 0 1 4 8Z\",\n clipRule: \"evenodd\",\n opacity: 0.4\n }\n), /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M14.928 12a.75.75 0 0 1-1.024.274l-2.165-1.25a.75.75 0 0 1 .75-1.299l2.165 1.25A.75.75 0 0 1 14.928 12Z\",\n clipRule: \"evenodd\",\n opacity: 0.9\n }\n), /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M4.536 6a.75.75 0 0 1-1.025.275l-2.165-1.25a.75.75 0 1 1 .75-1.3l2.165 1.25A.75.75 0 0 1 4.536 6Z\",\n clipRule: \"evenodd\",\n opacity: 0.3\n }\n), /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M12 14.928a.75.75 0 0 1-1.024-.274l-1.25-2.165a.75.75 0 0 1 1.298-.75l1.25 2.165A.75.75 0 0 1 12 14.928Z\",\n clipRule: \"evenodd\",\n opacity: 0.8\n }\n), /* @__PURE__ */ e.createElement(\n \"path\",\n {\n fill: \"currentColor\",\n fillRule: \"evenodd\",\n d: \"M6 4.536a.75.75 0 0 1-1.024-.275l-1.25-2.165a.75.75 0 1 1 1.299-.75l1.25 2.165A.75.75 0 0 1 6 4.536Z\",\n clipRule: \"evenodd\",\n opacity: 0.2\n }\n)), it = (t) => /* @__PURE__ */ e.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, fill: \"none\", ...t }, /* @__PURE__ */ e.createElement(\"g\", { stroke: \"currentColor\", strokeLinecap: \"round\", strokeLinejoin: \"round\", strokeWidth: 1.5 }, /* @__PURE__ */ e.createElement(\"path\", { d: \"M13.25 7H9m0 0V2.75M9 7l5.25-5.25M2.75 9H7m0 0v4.25M7 9l-5.25 5.25\" }))), st = /* @__PURE__ */ e.forwardRef(\n function({ trackRef: a, ...n }, r) {\n const c = _(), { mergedProps: s, inFocus: o } = pe({\n trackRef: a ?? c,\n props: n\n });\n return /* @__PURE__ */ e.createElement(ae.Consumer, null, (l) => l !== void 0 && /* @__PURE__ */ e.createElement(\"button\", { ref: r, ...s }, n.children ? n.children : o ? /* @__PURE__ */ e.createElement(it, null) : /* @__PURE__ */ e.createElement(Je, null)));\n }\n), sn = /* @__PURE__ */ e.forwardRef(\n function({\n kind: a,\n initialSelection: n,\n onActiveDeviceChange: r,\n onDeviceListChange: c,\n onDeviceSelectError: s,\n exactMatch: o,\n track: l,\n requestPermissions: i,\n onError: u,\n ...d\n }, f) {\n const m = Ve(), E = e.useCallback(\n (g) => {\n m && m.emit(Le.MediaDevicesError, g), u == null || u(g);\n },\n [m, u]\n ), { devices: p, activeDeviceId: h, setActiveMediaDevice: v, className: k } = we({\n kind: a,\n room: m,\n track: l,\n requestPermissions: i,\n onError: E\n });\n e.useEffect(() => {\n n !== void 0 && v(n);\n }, [v]), e.useEffect(() => {\n typeof c == \"function\" && c(p);\n }, [c, p]), e.useEffect(() => {\n h && h !== \"\" && (r == null || r(h));\n }, [h]);\n const I = async (g) => {\n try {\n await v(g, { exact: o });\n } catch (w) {\n if (w instanceof Error)\n s == null || s(w);\n else\n throw w;\n }\n }, y = e.useMemo(\n () => R(d, { className: k }, { className: \"lk-list\" }),\n [k, d]\n ), S = !!p.find((g) => g.label.toLowerCase().startsWith(\"default\"));\n function b(g, w, C) {\n return g === w || !S && C === 0 && w === \"default\";\n }\n return /* @__PURE__ */ e.createElement(\"ul\", { ref: f, ...y }, p.map((g, w) => /* @__PURE__ */ e.createElement(\n \"li\",\n {\n key: g.deviceId,\n id: g.deviceId,\n \"data-lk-active\": b(g.deviceId, h, w),\n \"aria-selected\": b(g.deviceId, h, w),\n role: \"option\"\n },\n /* @__PURE__ */ e.createElement(\"button\", { className: \"lk-button\", onClick: () => I(g.deviceId) }, g.label)\n )));\n }\n), on = /* @__PURE__ */ e.forwardRef(\n function({ label: a = \"Allow Audio\", ...n }, r) {\n const c = re(), { mergedProps: s } = ee({ room: c, props: n });\n return /* @__PURE__ */ e.createElement(\"button\", { ref: r, ...s }, a);\n }\n), un = /* @__PURE__ */ e.forwardRef(\n function({ label: a, ...n }, r) {\n const c = re(), { mergedProps: s, canPlayAudio: o } = ee({ room: c, props: n }), { mergedProps: l, canPlayVideo: i } = ke({ room: c, props: s }), { style: u, ...d } = l;\n return u.display = o && i ? \"none\" : \"block\", /* @__PURE__ */ e.createElement(\"button\", { ref: r, style: u, ...d }, a ?? `Start ${o ? \"Video\" : \"Audio\"}`);\n }\n);\nfunction se(t, a) {\n switch (t) {\n case M.Source.Microphone:\n return a ? /* @__PURE__ */ e.createElement(tt, null) : /* @__PURE__ */ e.createElement(et, null);\n case M.Source.Camera:\n return a ? /* @__PURE__ */ e.createElement(Ye, null) : /* @__PURE__ */ e.createElement(Xe, null);\n case M.Source.ScreenShare:\n return a ? /* @__PURE__ */ e.createElement(lt, null) : /* @__PURE__ */ e.createElement(ie, null);\n default:\n return;\n }\n}\nfunction ot(t) {\n switch (t) {\n case V.Excellent:\n return /* @__PURE__ */ e.createElement(nt, null);\n case V.Good:\n return /* @__PURE__ */ e.createElement(at, null);\n case V.Poor:\n return /* @__PURE__ */ e.createElement(rt, null);\n default:\n return /* @__PURE__ */ e.createElement(ct, null);\n }\n}\nconst dn = /* @__PURE__ */ e.forwardRef(function({ showIcon: a, ...n }, r) {\n const { buttonProps: c, enabled: s } = Me(n), [o, l] = e.useState(!1);\n return e.useEffect(() => {\n l(!0);\n }, []), o && /* @__PURE__ */ e.createElement(\"button\", { ref: r, ...c }, (a ?? !0) && se(n.source, s), n.children);\n}), oe = /* @__PURE__ */ e.forwardRef(function(a, n) {\n const { className: r, quality: c } = Re(a), s = e.useMemo(() => ({ ...R(a, { className: r }), \"data-lk-quality\": c }), [c, a, r]);\n return /* @__PURE__ */ e.createElement(\"div\", { ref: n, ...s }, a.children ?? ot(c));\n}), B = /* @__PURE__ */ e.forwardRef(\n function({ participant: a, ...n }, r) {\n const c = Fe(a), { className: s, infoObserver: o } = e.useMemo(() => Ze(c), [c]), { identity: l, name: i } = ye(o, {\n name: c.name,\n identity: c.identity,\n metadata: c.metadata\n }), u = e.useMemo(() => R(n, { className: s, \"data-lk-participant-name\": i }), [n, s, i]);\n return /* @__PURE__ */ e.createElement(\"span\", { ref: r, ...u }, i !== \"\" ? i : l, n.children);\n }\n), ue = /* @__PURE__ */ e.forwardRef(\n function({ trackRef: a, show: n = \"always\", ...r }, c) {\n const { className: s, isMuted: o } = be(a), l = n === \"always\" || n === \"muted\" && o || n === \"unmuted\" && !o, i = e.useMemo(\n () => R(r, {\n className: s\n }),\n [s, r]\n );\n return l ? /* @__PURE__ */ e.createElement(\"div\", { ref: c, ...i, \"data-lk-muted\": o }, r.children ?? se(a.source, !o)) : null;\n }\n), ut = (t) => /* @__PURE__ */ e.createElement(\n \"svg\",\n {\n width: 320,\n height: 320,\n viewBox: \"0 0 320 320\",\n preserveAspectRatio: \"xMidYMid meet\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ...t\n },\n /* @__PURE__ */ e.createElement(\n \"path\",\n {\n d: \"M160 180C204.182 180 240 144.183 240 100C240 55.8172 204.182 20 160 20C115.817 20 79.9997 55.8172 79.9997 100C79.9997 144.183 115.817 180 160 180Z\",\n fill: \"white\",\n fillOpacity: 0.25\n }\n ),\n /* @__PURE__ */ e.createElement(\n \"path\",\n {\n d: \"M97.6542 194.614C103.267 191.818 109.841 192.481 115.519 195.141C129.025 201.466 144.1 205 159.999 205C175.899 205 190.973 201.466 204.48 195.141C210.158 192.481 216.732 191.818 222.345 194.614C262.703 214.719 291.985 253.736 298.591 300.062C300.15 310.997 291.045 320 280 320H39.9997C28.954 320 19.8495 310.997 21.4087 300.062C28.014 253.736 57.2966 214.72 97.6542 194.614Z\",\n fill: \"white\",\n fillOpacity: 0.25\n }\n )\n);\nfunction de(t, a = {}) {\n const [n, r] = e.useState(He(t)), [c, s] = e.useState(n == null ? void 0 : n.isMuted), [o, l] = e.useState(n == null ? void 0 : n.isSubscribed), [i, u] = e.useState(n == null ? void 0 : n.track), [d, f] = e.useState(\"landscape\"), m = e.useRef(), { className: E, trackObserver: p } = e.useMemo(() => Be(t), [\n t.participant.sid ?? t.participant.identity,\n t.source,\n z(t) && t.publication.trackSid\n ]);\n return e.useEffect(() => {\n const h = p.subscribe((v) => {\n A.debug(\"update track\", v), r(v), s(v == null ? void 0 : v.isMuted), l(v == null ? void 0 : v.isSubscribed), u(v == null ? void 0 : v.track);\n });\n return () => h == null ? void 0 : h.unsubscribe();\n }, [p]), e.useEffect(() => {\n var h, v;\n return i && (m.current && i.detach(m.current), (h = a.element) != null && h.current && !(t.participant.isLocal && (i == null ? void 0 : i.kind) === \"audio\") && i.attach(a.element.current)), m.current = (v = a.element) == null ? void 0 : v.current, () => {\n m.current && (i == null || i.detach(m.current));\n };\n }, [i, a.element]), e.useEffect(() => {\n var h, v;\n if (typeof ((h = n == null ? void 0 : n.dimensions) == null ? void 0 : h.width) == \"number\" && typeof ((v = n == null ? void 0 : n.dimensions) == null ? void 0 : v.height) == \"number\") {\n const k = n.dimensions.width > n.dimensions.height ? \"landscape\" : \"portrait\";\n f(k);\n }\n }, [n]), {\n publication: n,\n isMuted: c,\n isSubscribed: o,\n track: i,\n elementProps: R(a.props, {\n className: E,\n \"data-lk-local-participant\": t.participant.isLocal,\n \"data-lk-source\": n == null ? void 0 : n.source,\n ...(n == null ? void 0 : n.kind) === \"video\" && { \"data-lk-orientation\": d }\n })\n };\n}\nvar dt = \"Expected a function\", Q = NaN, mt = \"[object Symbol]\", ft = /^\\s+|\\s+$/g, ht = /^[-+]0x[0-9a-f]+$/i, gt = /^0b[01]+$/i, vt = /^0o[0-7]+$/i, Et = parseInt, pt = typeof L == \"object\" && L && L.Object === Object && L, wt = typeof self == \"object\" && self && self.Object === Object && self, kt = pt || wt || Function(\"return this\")(), Mt = Object.prototype, Rt = Mt.toString, yt = Math.max, bt = Math.min, Z = function() {\n return kt.Date.now();\n};\nfunction St(t, a, n) {\n var r, c, s, o, l, i, u = 0, d = !1, f = !1, m = !0;\n if (typeof t != \"function\")\n throw new TypeError(dt);\n a = U(a) || 0, j(n) && (d = !!n.leading, f = \"maxWait\" in n, s = f ? yt(U(n.maxWait) || 0, a) : s, m = \"trailing\" in n ? !!n.trailing : m);\n function E(g) {\n var w = r, C = c;\n return r = c = void 0, u = g, o = t.apply(C, w), o;\n }\n function p(g) {\n return u = g, l = setTimeout(k, a), d ? E(g) : o;\n }\n function h(g) {\n var w = g - i, C = g - u, q = a - w;\n return f ? bt(q, s - C) : q;\n }\n function v(g) {\n var w = g - i, C = g - u;\n return i === void 0 || w >= a || w < 0 || f && C >= s;\n }\n function k() {\n var g = Z();\n if (v(g))\n return I(g);\n l = setTimeout(k, h(g));\n }\n function I(g) {\n return l = void 0, m && r ? E(g) : (r = c = void 0, o);\n }\n function y() {\n l !== void 0 && clearTimeout(l), u = 0, r = i = c = l = void 0;\n }\n function S() {\n return l === void 0 ? o : I(Z());\n }\n function b() {\n var g = Z(), w = v(g);\n if (r = arguments, c = this, i = g, w) {\n if (l === void 0)\n return p(i);\n if (f)\n return l = setTimeout(k, a), E(i);\n }\n return l === void 0 && (l = setTimeout(k, a)), o;\n }\n return b.cancel = y, b.flush = S, b;\n}\nfunction j(t) {\n var a = typeof t;\n return !!t && (a == \"object\" || a == \"function\");\n}\nfunction Ct(t) {\n return !!t && typeof t == \"object\";\n}\nfunction It(t) {\n return typeof t == \"symbol\" || Ct(t) && Rt.call(t) == mt;\n}\nfunction U(t) {\n if (typeof t == \"number\")\n return t;\n if (It(t))\n return Q;\n if (j(t)) {\n var a = typeof t.valueOf == \"function\" ? t.valueOf() : t;\n t = j(a) ? a + \"\" : a;\n }\n if (typeof t != \"string\")\n return t === 0 ? t : +t;\n t = t.replace(ft, \"\");\n var n = gt.test(t);\n return n || vt.test(t) ? Et(t.slice(2), n ? 2 : 8) : ht.test(t) ? Q : +t;\n}\nvar Pt = St;\nconst X = /* @__PURE__ */ je(Pt);\nfunction Tt(t) {\n const a = P(t);\n a.current = t, T(\n () => () => {\n a.current();\n },\n []\n );\n}\nfunction xt(t, a = 500, n) {\n const r = P();\n Tt(() => {\n r.current && r.current.cancel();\n });\n const c = he(() => {\n const s = X(t, a, n), o = (...l) => s(...l);\n return o.cancel = () => {\n s.cancel();\n }, o.isPending = () => !!r.current, o.flush = () => s.flush(), o;\n }, [t, a, n]);\n return T(() => {\n r.current = X(t, a, n);\n }, [t, a, n]), c;\n}\nfunction At(t, a, n) {\n const r = (u, d) => u === d, c = t instanceof Function ? t() : t, [s, o] = x(c), l = P(c), i = xt(\n o,\n a,\n n\n );\n return r(l.current, c) || (i(c), l.current = c), [s, i];\n}\nfunction Nt({\n threshold: t = 0,\n root: a = null,\n rootMargin: n = \"0%\",\n freezeOnceVisible: r = !1,\n initialIsIntersecting: c = !1,\n onChange: s\n} = {}) {\n var o;\n const [l, i] = x(null), [u, d] = x(() => ({\n isIntersecting: c,\n entry: void 0\n })), f = P();\n f.current = s;\n const m = ((o = u.entry) == null ? void 0 : o.isIntersecting) && r;\n T(() => {\n if (!l || !(\"IntersectionObserver\" in window) || m)\n return;\n let h;\n const v = new IntersectionObserver(\n (k) => {\n const I = Array.isArray(v.thresholds) ? v.thresholds : [v.thresholds];\n k.forEach((y) => {\n const S = y.isIntersecting && I.some((b) => y.intersectionRatio >= b);\n d({ isIntersecting: S, entry: y }), f.current && f.current(S, y), S && r && h && (h(), h = void 0);\n });\n },\n { threshold: t, root: a, rootMargin: n }\n );\n return v.observe(l), () => {\n v.disconnect();\n };\n }, [\n l,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n JSON.stringify(t),\n a,\n n,\n m,\n r\n ]);\n const E = P(null);\n T(() => {\n var h;\n !l && ((h = u.entry) != null && h.target) && !r && !m && E.current !== u.entry.target && (E.current = u.entry.target, d({ isIntersecting: c, entry: void 0 }));\n }, [l, u.entry, r, m, c]);\n const p = [\n i,\n !!u.isIntersecting,\n u.entry\n ];\n return p.ref = p[0], p.isIntersecting = p[1], p.entry = p[2], p;\n}\nconst Lt = /* @__PURE__ */ e.forwardRef(\n function({\n onTrackClick: a,\n onClick: n,\n onSubscriptionStatusChanged: r,\n trackRef: c,\n manageSubscription: s,\n ...o\n }, l) {\n const i = N(c), u = e.useRef(null);\n e.useImperativeHandle(l, () => u.current);\n const d = Nt({ root: u.current }), [f] = At(d, 3e3);\n e.useEffect(() => {\n s && i.publication instanceof H && (f == null ? void 0 : f.isIntersecting) === !1 && (d == null ? void 0 : d.isIntersecting) === !1 && i.publication.setSubscribed(!1);\n }, [f, i, s]), e.useEffect(() => {\n s && i.publication instanceof H && (d == null ? void 0 : d.isIntersecting) === !0 && i.publication.setSubscribed(!0);\n }, [d, i, s]);\n const {\n elementProps: m,\n publication: E,\n isSubscribed: p\n } = de(i, {\n element: u,\n props: o\n });\n e.useEffect(() => {\n r == null || r(!!p);\n }, [p, r]);\n const h = (v) => {\n n == null || n(v), a == null || a({ participant: i == null ? void 0 : i.participant, track: E });\n };\n return /* @__PURE__ */ e.createElement(\"video\", { ref: u, ...m, muted: !0, onClick: h });\n }\n), $ = /* @__PURE__ */ e.forwardRef(\n function({ trackRef: a, onSubscriptionStatusChanged: n, volume: r, ...c }, s) {\n const o = N(a), l = e.useRef(null);\n e.useImperativeHandle(s, () => l.current);\n const {\n elementProps: i,\n isSubscribed: u,\n track: d,\n publication: f\n } = de(o, {\n element: l,\n props: c\n });\n return e.useEffect(() => {\n n == null || n(!!u);\n }, [u, n]), e.useEffect(() => {\n d === void 0 || r === void 0 || (d instanceof ze ? d.setVolume(r) : A.warn(\"Volume can only be set on remote audio tracks.\"));\n }, [r, d]), e.useEffect(() => {\n f === void 0 || c.muted === void 0 || (f instanceof H ? f.setEnabled(!c.muted) : A.warn(\"Can only call setEnabled on remote track publications.\"));\n }, [c.muted, f, d]), /* @__PURE__ */ e.createElement(\"audio\", { ref: l, ...i });\n }\n);\nfunction zt(t) {\n const a = !!Oe();\n return t.participant && !a ? /* @__PURE__ */ e.createElement(ce.Provider, { value: t.participant }, t.children) : /* @__PURE__ */ e.createElement(e.Fragment, null, t.children);\n}\nfunction Vt(t) {\n const a = !!_();\n return t.trackRef && !a ? /* @__PURE__ */ e.createElement(W.Provider, { value: t.trackRef }, t.children) : /* @__PURE__ */ e.createElement(e.Fragment, null, t.children);\n}\nconst Ft = /* @__PURE__ */ e.forwardRef(\n function({\n trackRef: a,\n children: n,\n onParticipantClick: r,\n disableSpeakingIndicator: c,\n ...s\n }, o) {\n var E, p;\n const l = N(a), { elementProps: i } = te({\n htmlProps: s,\n disableSpeakingIndicator: c,\n onParticipantClick: r,\n trackRef: l\n }), u = Se(l.participant), d = _e(), f = (E = We()) == null ? void 0 : E.autoSubscription, m = e.useCallback(\n (h) => {\n l.source && !h && d && d.pin.dispatch && $e(l, d.pin.state) && d.pin.dispatch({ msg: \"clear_pin\" });\n },\n [l, d]\n );\n return /* @__PURE__ */ e.createElement(\"div\", { ref: o, style: { position: \"relative\" }, ...i }, /* @__PURE__ */ e.createElement(Vt, { trackRef: l }, /* @__PURE__ */ e.createElement(zt, { participant: l.participant }, n ?? /* @__PURE__ */ e.createElement(e.Fragment, null, z(l) && (((p = l.publication) == null ? void 0 : p.kind) === \"video\" || l.source === M.Source.Camera || l.source === M.Source.ScreenShare) ? /* @__PURE__ */ e.createElement(\n Lt,\n {\n trackRef: l,\n onSubscriptionStatusChanged: m,\n manageSubscription: f\n }\n ) : z(l) && /* @__PURE__ */ e.createElement(\n $,\n {\n trackRef: l,\n onSubscriptionStatusChanged: m\n }\n ), /* @__PURE__ */ e.createElement(\"div\", { className: \"lk-participant-placeholder\" }, /* @__PURE__ */ e.createElement(ut, null)), /* @__PURE__ */ e.createElement(\"div\", { className: \"lk-participant-metadata\" }, /* @__PURE__ */ e.createElement(\"div\", { className: \"lk-participant-metadata-item\" }, l.source === M.Source.Camera ? /* @__PURE__ */ e.createElement(e.Fragment, null, u && /* @__PURE__ */ e.createElement(Ke, { style: { marginRight: \"0.25rem\" } }), /* @__PURE__ */ e.createElement(\n ue,\n {\n trackRef: {\n participant: l.participant,\n source: M.Source.Microphone\n },\n show: \"muted\"\n }\n ), /* @__PURE__ */ e.createElement(B, null)) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(ie, { style: { marginRight: \"0.25rem\" } }), /* @__PURE__ */ e.createElement(B, null, \"'s screen\"))), /* @__PURE__ */ e.createElement(oe, { className: \"lk-participant-metadata-item\" }))), /* @__PURE__ */ e.createElement(st, { trackRef: l }))));\n }\n);\nfunction mn(t) {\n const a = R(t, { className: \"lk-focus-layout\" });\n return /* @__PURE__ */ e.createElement(\"div\", { ...a }, t.children);\n}\nfunction fn({ trackRef: t, ...a }) {\n return /* @__PURE__ */ e.createElement(Ft, { trackRef: t, ...a });\n}\nfunction me({ tracks: t, ...a }) {\n return /* @__PURE__ */ e.createElement(e.Fragment, null, t.map((n) => /* @__PURE__ */ e.createElement(\n W.Provider,\n {\n value: n,\n key: le(n)\n },\n O(a.children)\n )));\n}\nfunction Zt({\n totalPageCount: t,\n nextPage: a,\n prevPage: n,\n currentPage: r,\n pagesContainer: c\n}) {\n const [s, o] = e.useState(!1);\n return e.useEffect(() => {\n let l;\n return c && (l = qe(c.current, 2e3).subscribe(\n o\n )), () => {\n l && l.unsubscribe();\n };\n }, [c]), /* @__PURE__ */ e.createElement(\"div\", { className: \"lk-pagination-control\", \"data-lk-user-interaction\": s }, /* @__PURE__ */ e.createElement(\"button\", { className: \"lk-button\", onClick: n }, /* @__PURE__ */ e.createElement(D, null)), /* @__PURE__ */ e.createElement(\"span\", { className: \"lk-pagination-count\" }, `${r} of ${t}`), /* @__PURE__ */ e.createElement(\"button\", { className: \"lk-button\", onClick: a }, /* @__PURE__ */ e.createElement(D, null)));\n}\nconst Ht = /* @__PURE__ */ e.forwardRef(\n function({ totalPageCount: a, currentPage: n }, r) {\n const c = new Array(a).fill(\"\").map((s, o) => o + 1 === n ? /* @__PURE__ */ e.createElement(\"span\", { \"data-lk-active\": !0, key: o }) : /* @__PURE__ */ e.createElement(\"span\", { key: o }));\n return /* @__PURE__ */ e.createElement(\"div\", { ref: r, className: \"lk-pagination-indicator\" }, c);\n }\n);\nfunction hn({ tracks: t, ...a }) {\n const n = e.createRef(), r = e.useMemo(\n () => R(a, { className: \"lk-grid-layout\" }),\n [a]\n ), { layout: c } = Ce(n, t.length), s = Ie(c.maxTiles, t);\n return Pe(n, {\n onLeftSwipe: s.nextPage,\n onRightSwipe: s.prevPage\n }), /* @__PURE__ */ e.createElement(\"div\", { ref: n, \"data-lk-pagination\": s.totalPageCount > 1, ...r }, /* @__PURE__ */ e.createElement(me, { tracks: s.tracks }, a.children), t.length > c.maxTiles && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(\n Ht,\n {\n totalPageCount: s.totalPageCount,\n currentPage: s.currentPage\n }\n ), /* @__PURE__ */ e.createElement(Zt, { pagesContainer: n, ...s })));\n}\nconst Bt = 130, jt = 140, Y = 1, fe = 16 / 10, Ot = (1 - fe) * -1;\nfunction gn({ tracks: t, orientation: a, ...n }) {\n const r = e.useRef(null), [c, s] = e.useState(0), { width: o, height: l } = Te(r), i = a || (l >= o ? \"vertical\" : \"horizontal\"), u = i === \"vertical\" ? Math.max(o * Ot, Bt) : Math.max(l * fe, jt), d = De(), f = Math.max(i === \"vertical\" ? (l - d) / u : (o - d) / u, Y);\n let m = Math.round(f);\n Math.abs(f - c) < 0.5 ? m = Math.round(c) : c !== f && s(f);\n const E = xe(t, m);\n return e.useLayoutEffect(() => {\n r.current && (r.current.dataset.lkOrientation = i, r.current.style.setProperty(\"--lk-max-visible-tiles\", m.toString()));\n }, [m, i]), /* @__PURE__ */ e.createElement(\"aside\", { key: i, className: \"lk-carousel\", ref: r, ...n }, /* @__PURE__ */ e.createElement(me, { tracks: E }, n.children));\n}\nfunction vn({\n value: t,\n onPinChange: a,\n onWidgetChange: n,\n children: r\n}) {\n const c = Ge(t);\n return e.useEffect(() => {\n A.debug(\"PinState Updated\", { state: c.pin.state }), a && c.pin.state && a(c.pin.state);\n }, [c.pin.state, a]), e.useEffect(() => {\n A.debug(\"Widget Updated\", { widgetState: c.widget.state }), n && c.widget.state && n(c.widget.state);\n }, [n, c.widget.state]), /* @__PURE__ */ e.createElement(ae.Provider, { value: c }, r);\n}\nconst En = /* @__PURE__ */ e.forwardRef(\n function({ trackRef: a, ...n }, r) {\n const d = N(a), f = ne(d, { bands: 7, loPass: 300 });\n return /* @__PURE__ */ e.createElement(\n \"svg\",\n {\n ref: r,\n width: \"100%\",\n height: \"100%\",\n viewBox: \"0 0 200 90\",\n ...n,\n className: \"lk-audio-visualizer\"\n },\n /* @__PURE__ */ e.createElement(\"rect\", { x: \"0\", y: \"0\", width: \"100%\", height: \"100%\" }),\n /* @__PURE__ */ e.createElement(\n \"g\",\n {\n style: {\n transform: `translate(${(200 - 7 * 10) / 2}px, 0)`\n }\n },\n f.map((m, E) => /* @__PURE__ */ e.createElement(\n \"rect\",\n {\n key: E,\n x: E * 10,\n y: 90 / 2 - m * 50 / 2,\n width: 6,\n height: m * 50\n }\n ))\n )\n );\n }\n);\nfunction pn({ participants: t, ...a }) {\n return /* @__PURE__ */ e.createElement(e.Fragment, null, t.map((n) => /* @__PURE__ */ e.createElement(ce.Provider, { value: n, key: n.identity }, O(a.children))));\n}\nfunction wn({ volume: t, muted: a }) {\n const n = Ae(\n [M.Source.Microphone, M.Source.ScreenShareAudio, M.Source.Unknown],\n {\n updateOnlyOn: [],\n onlySubscribed: !0\n }\n ).filter((r) => !r.participant.isLocal && r.publication.kind === M.Kind.Audio);\n return /* @__PURE__ */ e.createElement(\"div\", { style: { display: \"none\" } }, n.map((r) => /* @__PURE__ */ e.createElement(\n $,\n {\n key: le(r),\n trackRef: r,\n volume: t,\n muted: a\n }\n )));\n}\nconst kn = /* @__PURE__ */ e.forwardRef(function({ childrenPosition: a = \"before\", children: n, ...r }, c) {\n const { name: s } = Ne();\n return /* @__PURE__ */ e.createElement(\"span\", { ref: c, ...r }, a === \"before\" && n, s, a === \"after\" && n);\n});\nfunction _t(t) {\n const a = e.useMemo(() => R(t, { className: \"lk-toast\" }), [t]);\n return /* @__PURE__ */ e.createElement(\"div\", { ...a }, t.children);\n}\nconst Wt = (t) => {\n const a = [];\n for (let n = 0; n < t; n++)\n a.push([n, t - 1 - n]);\n return a;\n}, J = (t) => [[Math.floor(t / 2)], [-1]], $t = (t, a, n) => {\n const [r, c] = x(0), [s, o] = x([[]]);\n T(() => {\n if (t === \"thinking\")\n o(J(a));\n else if (t === \"connecting\" || t === \"initializing\") {\n const i = [...Wt(a)];\n o(i);\n } else o(t === \"listening\" ? J(a) : t === void 0 ? [new Array(a).fill(0).map((i, u) => u)] : [[]]);\n c(0);\n }, [t, a]);\n const l = P(null);\n return T(() => {\n let i = performance.now();\n const u = (d) => {\n d - i >= n && (c((m) => m + 1), i = d), l.current = requestAnimationFrame(u);\n };\n return l.current = requestAnimationFrame(u), () => {\n l.current !== null && cancelAnimationFrame(l.current);\n };\n }, [n, a, t, s.length]), s[r % s.length];\n}, qt = /* @__PURE__ */ new Map([\n [\"connecting\", 2e3],\n [\"initializing\", 2e3],\n [\"listening\", 500],\n [\"thinking\", 150]\n]), Dt = (t, a) => {\n if (t === void 0)\n return 1e3;\n let n = qt.get(t);\n if (n)\n switch (t) {\n case \"connecting\":\n n /= a;\n break;\n }\n return n;\n}, Gt = /* @__PURE__ */ e.forwardRef(\n function({ state: a, options: n, barCount: r = 15, trackRef: c, children: s, ...o }, l) {\n const i = R(o, { className: \"lk-audio-bar-visualizer\" });\n let u = _();\n c && (u = c);\n const d = ne(u, {\n bands: r,\n loPass: 100,\n hiPass: 200\n }), f = (n == null ? void 0 : n.minHeight) ?? 20, m = (n == null ? void 0 : n.maxHeight) ?? 100, E = $t(\n a,\n r,\n Dt(a, r) ?? 100\n );\n return /* @__PURE__ */ e.createElement(\"div\", { ref: l, ...i, \"data-lk-va-state\": a }, d.map(\n (p, h) => s ? O(s, {\n \"data-lk-highlighted\": E.includes(h),\n \"data-lk-bar-index\": h,\n className: \"lk-audio-bar\",\n style: { height: `${Math.min(m, Math.max(f, p * 100 + 5))}%` }\n }) : /* @__PURE__ */ e.createElement(\n \"span\",\n {\n key: h,\n \"data-lk-highlighted\": E.includes(h),\n \"data-lk-bar-index\": h,\n className: `lk-audio-bar ${E.includes(h) && \"lk-highlighted\"}`,\n style: {\n // TODO transform animations would be more performant, however the border-radius gets distorted when using scale transforms. a 9-slice approach (or 3 in this case) could work\n // transform: `scale(1, ${Math.min(maxHeight, Math.max(minHeight, volume))}`,\n height: `${Math.min(m, Math.max(f, p * 100 + 5))}%`\n }\n }\n )\n ));\n }\n), Mn = /* @__PURE__ */ e.forwardRef(\n function({\n children: a,\n disableSpeakingIndicator: n,\n onParticipantClick: r,\n trackRef: c,\n ...s\n }, o) {\n const l = N(c), { elementProps: i } = te({\n trackRef: l,\n htmlProps: s,\n disableSpeakingIndicator: n,\n onParticipantClick: r\n });\n return /* @__PURE__ */ e.createElement(\"div\", { ref: o, style: { position: \"relative\", minHeight: \"160px\" }, ...i }, /* @__PURE__ */ e.createElement(W.Provider, { value: l }, a ?? /* @__PURE__ */ e.createElement(e.Fragment, null, z(l) && /* @__PURE__ */ e.createElement($, { trackRef: l }), /* @__PURE__ */ e.createElement(Gt, { barCount: 7, options: { minHeight: 8 } }), /* @__PURE__ */ e.createElement(\"div\", { className: \"lk-participant-metadata\" }, /* @__PURE__ */ e.createElement(\"div\", { className: \"lk-participant-metadata-item\" }, /* @__PURE__ */ e.createElement(ue, { trackRef: l }), /* @__PURE__ */ e.createElement(B, null)), /* @__PURE__ */ e.createElement(oe, { className: \"lk-participant-metadata-item\" })))));\n }\n);\nfunction Rn(t) {\n const [a, n] = e.useState(void 0), r = K(t.room);\n return e.useEffect(() => {\n switch (r) {\n case F.Reconnecting:\n n(\n /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(G, { className: \"lk-spinner\" }), \" Reconnecting\")\n );\n break;\n case F.Connecting:\n n(\n /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(G, { className: \"lk-spinner\" }), \" Connecting\")\n );\n break;\n case F.Disconnected:\n n(/* @__PURE__ */ e.createElement(e.Fragment, null, \"Disconnected\"));\n break;\n default:\n n(void 0);\n break;\n }\n }, [r]), a ? /* @__PURE__ */ e.createElement(_t, { className: \"lk-toast-connection-state\" }, a) : /* @__PURE__ */ e.createElement(e.Fragment, null);\n}\nconst yn = /* @__PURE__ */ e.forwardRef(\n function({ entry: a, hideName: n = !1, hideTimestamp: r = !1, messageFormatter: c, ...s }, o) {\n var f, m, E;\n const l = e.useMemo(() => c ? c(a.message) : a.message, [a.message, c]), i = !!a.editTimestamp, u = new Date(a.timestamp), d = navigator ? navigator.language : \"en-US\";\n return /* @__PURE__ */ e.createElement(\n \"li\",\n {\n ref: o,\n className: \"lk-chat-entry\",\n title: u.toLocaleTimeString(d, { timeStyle: \"full\" }),\n \"data-lk-message-origin\": (f = a.from) != null && f.isLocal ? \"local\" : \"remote\",\n ...s\n },\n (!r || !n || i) && /* @__PURE__ */ e.createElement(\"span\", { className: \"lk-meta-data\" }, !n && /* @__PURE__ */ e.createElement(\"strong\", { className: \"lk-participant-name\" }, ((m = a.from) == null ? void 0 : m.name) ?? ((E = a.from) == null ? void 0 : E.identity)), (!r || i) && /* @__PURE__ */ e.createElement(\"span\", { className: \"lk-timestamp\" }, i && \"edited \", u.toLocaleTimeString(d, { timeStyle: \"short\" }))),\n /* @__PURE__ */ e.createElement(\"span\", { className: \"lk-message-body\" }, l)\n );\n }\n);\nfunction bn(t) {\n return Qe(t, Ue()).map((a, n) => {\n if (typeof a == \"string\")\n return a;\n {\n const r = a.content.toString(), c = a.type === \"url\" ? /^http(s?):\\/\\//.test(r) ? r : `https://${r}` : `mailto:${r}`;\n return /* @__PURE__ */ e.createElement(\"a\", { className: \"lk-chat-link\", key: n, href: c, target: \"_blank\", rel: \"noreferrer\" }, r);\n }\n });\n}\nexport {\n En as A,\n Gt as B,\n tn as C,\n nn as D,\n Ye as E,\n mn as F,\n hn as G,\n D as H,\n Je as I,\n Ke as J,\n et as K,\n vn as L,\n sn as M,\n tt as N,\n nt as O,\n Ft as P,\n at as Q,\n wn as R,\n an as S,\n dn as T,\n rt as U,\n Lt as V,\n ct as W,\n ie as X,\n lt as Y,\n G as Z,\n it as _,\n yn as a,\n ut as b,\n rn as c,\n cn as d,\n ln as e,\n un as f,\n gn as g,\n fn as h,\n Rn as i,\n me as j,\n Mn as k,\n _t as l,\n bn as m,\n Kt as n,\n en as o,\n st as p,\n on as q,\n oe as r,\n $ as s,\n B as t,\n ue as u,\n pn as v,\n kn as w,\n zt as x,\n Vt as y,\n Xe as z\n};\n//# sourceMappingURL=components-DZxz2YwG.mjs.map\n","import * as i from \"react\";\nimport { LocalAudioTrack as b } from \"livekit-client\";\nimport { l as f } from \"./contexts-B7YgC7ji.mjs\";\nimport { C as h } from \"./hooks-JwdUfgCD.mjs\";\nfunction K(l = {}) {\n const [o, u] = i.useState(!1), [p, a] = i.useState(!1), [d, n] = i.useState(!1);\n let e = h().microphoneTrack;\n const [s, k] = i.useState();\n l.trackRef && (e = l.trackRef.publication);\n const m = i.useCallback(async (t) => {\n if (t) {\n const { KrispNoiseFilter: r, isKrispNoiseFilterSupported: c } = await import(\"@livekit/krisp-noise-filter\");\n if (!c()) {\n f.warn(\"LiveKit-Krisp noise filter is not supported in this browser\");\n return;\n }\n s || k(r(l.filterOptions));\n }\n u((r) => (r !== t && a(!0), t));\n }, []);\n return i.useEffect(() => {\n var t;\n if (e && e.track instanceof b && s) {\n const r = e.track.getProcessor();\n r && r.name === \"livekit-noise-filter\" ? (a(!0), r.setEnabled(o).finally(() => {\n a(!1), n(o);\n })) : !r && o && (a(!0), (t = e == null ? void 0 : e.track) == null || t.setProcessor(s).then(() => s.setEnabled(o)).then(() => {\n n(!0);\n }).catch((c) => {\n n(!1), f.error(\"Krisp hook: error enabling filter\", c);\n }).finally(() => {\n a(!1);\n }));\n }\n }, [o, e, s]), {\n setNoiseFilterEnabled: m,\n isNoiseFilterEnabled: d,\n isNoiseFilterPending: p,\n processor: s\n };\n}\nexport {\n K as useKrispNoiseFilter\n};\n//# sourceMappingURL=krisp.mjs.map\n","var __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __async = (__this, __arguments, generator) => {\n return new Promise((resolve, reject) => {\n var fulfilled = (value) => {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n };\n var rejected = (value) => {\n try {\n step(generator.throw(value));\n } catch (e) {\n reject(e);\n }\n };\n var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);\n step((generator = generator.apply(__this, __arguments)).next());\n });\n};\n\n// src/constants.ts\nvar cssPrefix = \"lk\";\n\n// src/track-reference/track-reference.types.ts\nfunction isTrackReference(trackReference) {\n if (typeof trackReference === \"undefined\") {\n return false;\n }\n return isTrackReferenceSubscribed(trackReference) || isTrackReferencePublished(trackReference);\n}\nfunction isTrackReferenceSubscribed(trackReference) {\n var _a;\n if (!trackReference) {\n return false;\n }\n return trackReference.hasOwnProperty(\"participant\") && trackReference.hasOwnProperty(\"source\") && trackReference.hasOwnProperty(\"track\") && typeof ((_a = trackReference.publication) == null ? void 0 : _a.track) !== \"undefined\";\n}\nfunction isTrackReferencePublished(trackReference) {\n if (!trackReference) {\n return false;\n }\n return trackReference.hasOwnProperty(\"participant\") && trackReference.hasOwnProperty(\"source\") && trackReference.hasOwnProperty(\"publication\") && typeof trackReference.publication !== \"undefined\";\n}\nfunction isTrackReferencePlaceholder(trackReference) {\n if (!trackReference) {\n return false;\n }\n return trackReference.hasOwnProperty(\"participant\") && trackReference.hasOwnProperty(\"source\") && typeof trackReference.publication === \"undefined\";\n}\n\n// src/track-reference/track-reference.utils.ts\nfunction getTrackReferenceId(trackReference) {\n if (typeof trackReference === \"string\" || typeof trackReference === \"number\") {\n return `${trackReference}`;\n } else if (isTrackReferencePlaceholder(trackReference)) {\n return `${trackReference.participant.identity}_${trackReference.source}_placeholder`;\n } else if (isTrackReference(trackReference)) {\n return `${trackReference.participant.identity}_${trackReference.publication.source}_${trackReference.publication.trackSid}`;\n } else {\n throw new Error(`Can't generate a id for the given track reference: ${trackReference}`);\n }\n}\nfunction getTrackReferenceSource(trackReference) {\n if (isTrackReference(trackReference)) {\n return trackReference.publication.source;\n } else {\n return trackReference.source;\n }\n}\nfunction isEqualTrackRef(a, b) {\n if (a === void 0 || b === void 0) {\n return false;\n }\n if (isTrackReference(a) && isTrackReference(b)) {\n return a.publication.trackSid === b.publication.trackSid;\n } else {\n return getTrackReferenceId(a) === getTrackReferenceId(b);\n }\n}\nfunction isTrackReferencePinned(trackReference, pinState) {\n if (typeof pinState === \"undefined\") {\n return false;\n }\n if (isTrackReference(trackReference)) {\n return pinState.some(\n (pinnedTrackReference) => pinnedTrackReference.participant.identity === trackReference.participant.identity && isTrackReference(pinnedTrackReference) && pinnedTrackReference.publication.trackSid === trackReference.publication.trackSid\n );\n } else if (isTrackReferencePlaceholder(trackReference)) {\n return pinState.some(\n (pinnedTrackReference) => pinnedTrackReference.participant.identity === trackReference.participant.identity && isTrackReferencePlaceholder(pinnedTrackReference) && pinnedTrackReference.source === trackReference.source\n );\n } else {\n return false;\n }\n}\nfunction isPlaceholderReplacement(currentTrackRef, nextTrackRef) {\n return isTrackReferencePlaceholder(currentTrackRef) && isTrackReference(nextTrackRef) && nextTrackRef.participant.identity === currentTrackRef.participant.identity && nextTrackRef.source === currentTrackRef.source;\n}\n\n// src/utils.ts\nfunction isLocal(p) {\n return p.isLocal;\n}\nfunction isRemote(p) {\n return !p.isLocal;\n}\nvar attachIfSubscribed = (publication, element) => {\n if (!publication) return;\n const { isSubscribed, track } = publication;\n if (element && track) {\n if (isSubscribed) {\n track.attach(element);\n } else {\n track.detach(element);\n }\n }\n};\nfunction isParticipantTrackReferencePinned(trackRef, pinState) {\n if (pinState === void 0) {\n return false;\n }\n return pinState.some((pinnedTrackRef) => isEqualTrackRef(pinnedTrackRef, trackRef));\n}\nfunction getScrollBarWidth() {\n const inner = document.createElement(\"p\");\n inner.style.width = \"100%\";\n inner.style.height = \"200px\";\n const outer = document.createElement(\"div\");\n outer.style.position = \"absolute\";\n outer.style.top = \"0px\";\n outer.style.left = \"0px\";\n outer.style.visibility = \"hidden\";\n outer.style.width = \"200px\";\n outer.style.height = \"150px\";\n outer.style.overflow = \"hidden\";\n outer.appendChild(inner);\n document.body.appendChild(outer);\n const w1 = inner.offsetWidth;\n outer.style.overflow = \"scroll\";\n let w2 = inner.offsetWidth;\n if (w1 === w2) {\n w2 = outer.clientWidth;\n }\n document.body.removeChild(outer);\n const scrollBarWidth = w1 - w2;\n return scrollBarWidth;\n}\n\n// src/helper/detectMobileBrowser.ts\nfunction isWeb() {\n return typeof document !== \"undefined\";\n}\nfunction isMobileBrowser() {\n return isWeb() ? /Mobi/i.test(window.navigator.userAgent) : false;\n}\n\n// src/helper/url-regex.ts\nfunction createUrlRegExp(options) {\n options = __spreadValues({}, options);\n const protocol = `(?:(?:[a-z]+:)?//)?`;\n const auth = \"(?:\\\\S+(?::\\\\S*)?@)?\";\n const ip = new RegExp(\n \"(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)(?:\\\\.(?:25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]\\\\d|\\\\d)){3}\",\n \"g\"\n ).source;\n const host = \"(?:(?:[a-z\\\\u00a1-\\\\uffff0-9][-_]*)*[a-z\\\\u00a1-\\\\uffff0-9]+)\";\n const domain = \"(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff0-9]-*)*[a-z\\\\u00a1-\\\\uffff0-9]+)*\";\n const tld = `(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff]{2,}))\\\\.?`;\n const port = \"(?::\\\\d{2,5})?\";\n const path = '(?:[/?#][^\\\\s\"]*)?';\n const regex2 = `(?:${protocol}|www\\\\.)${auth}(?:localhost|${ip}|${host}${domain}${tld})${port}${path}`;\n return options.exact ? new RegExp(`(?:^${regex2}$)`, \"i\") : new RegExp(regex2, \"ig\");\n}\n\n// src/helper/emailRegex.ts\nvar regex = \"[^\\\\.\\\\s@:](?:[^\\\\s@:]*[^\\\\s@:\\\\.])?@[^\\\\.\\\\s@]+(?:\\\\.[^\\\\.\\\\s@]+)*\";\nfunction createEmailRegExp({ exact } = {}) {\n return exact ? new RegExp(`^${regex}$`) : new RegExp(regex, \"g\");\n}\n\n// src/helper/floating-menu.ts\nimport { computePosition, flip, offset, shift } from \"@floating-ui/dom\";\nfunction computeMenuPosition(button, menu) {\n return __async(this, null, function* () {\n const { x, y } = yield computePosition(button, menu, {\n placement: \"top\",\n middleware: [offset(6), flip(), shift({ padding: 5 })]\n });\n return { x, y };\n });\n}\nfunction wasClickOutside(insideElement, event) {\n const isOutside = !insideElement.contains(event.target);\n return isOutside;\n}\n\n// src/helper/tokenizer.ts\nvar createDefaultGrammar = () => {\n return {\n email: createEmailRegExp(),\n url: createUrlRegExp({})\n };\n};\nfunction tokenize(input, grammar) {\n const matches = Object.entries(grammar).map(\n ([type, rx], weight) => Array.from(input.matchAll(rx)).map(({ index, 0: content }) => ({\n type,\n weight,\n content,\n index: index != null ? index : 0\n }))\n ).flat().sort((a, b) => {\n const d = a.index - b.index;\n return d !== 0 ? d : a.weight - b.weight;\n }).filter(({ index }, i, arr) => {\n if (i === 0) return true;\n const prev = arr[i - 1];\n return prev.index + prev.content.length <= index;\n });\n const tokens = [];\n let pos = 0;\n for (const { type, content, index } of matches) {\n if (index > pos) tokens.push(input.substring(pos, index));\n tokens.push({ type, content });\n pos = index + content.length;\n }\n if (input.length > pos) tokens.push(input.substring(pos));\n return tokens;\n}\n\n// src/helper/eventGroups.ts\nimport { ParticipantEvent, RoomEvent } from \"livekit-client\";\nvar allRemoteParticipantRoomEvents = [\n RoomEvent.ConnectionStateChanged,\n RoomEvent.RoomMetadataChanged,\n RoomEvent.ActiveSpeakersChanged,\n RoomEvent.ConnectionQualityChanged,\n RoomEvent.ParticipantConnected,\n RoomEvent.ParticipantDisconnected,\n RoomEvent.ParticipantPermissionsChanged,\n RoomEvent.ParticipantMetadataChanged,\n RoomEvent.ParticipantNameChanged,\n RoomEvent.ParticipantAttributesChanged,\n RoomEvent.TrackMuted,\n RoomEvent.TrackUnmuted,\n RoomEvent.TrackPublished,\n RoomEvent.TrackUnpublished,\n RoomEvent.TrackStreamStateChanged,\n RoomEvent.TrackSubscriptionFailed,\n RoomEvent.TrackSubscriptionPermissionChanged,\n RoomEvent.TrackSubscriptionStatusChanged\n];\nvar allParticipantRoomEvents = [\n ...allRemoteParticipantRoomEvents,\n RoomEvent.LocalTrackPublished,\n RoomEvent.LocalTrackUnpublished\n];\nvar participantTrackEvents = [\n ParticipantEvent.TrackPublished,\n ParticipantEvent.TrackUnpublished,\n ParticipantEvent.TrackMuted,\n ParticipantEvent.TrackUnmuted,\n ParticipantEvent.TrackStreamStateChanged,\n ParticipantEvent.TrackSubscribed,\n ParticipantEvent.TrackUnsubscribed,\n ParticipantEvent.TrackSubscriptionPermissionChanged,\n ParticipantEvent.TrackSubscriptionFailed,\n ParticipantEvent.LocalTrackPublished,\n ParticipantEvent.LocalTrackUnpublished\n];\nvar allRemoteParticipantEvents = [\n ParticipantEvent.ConnectionQualityChanged,\n ParticipantEvent.IsSpeakingChanged,\n ParticipantEvent.ParticipantMetadataChanged,\n ParticipantEvent.ParticipantPermissionsChanged,\n ParticipantEvent.TrackMuted,\n ParticipantEvent.TrackUnmuted,\n ParticipantEvent.TrackPublished,\n ParticipantEvent.TrackUnpublished,\n ParticipantEvent.TrackStreamStateChanged,\n ParticipantEvent.TrackSubscriptionFailed,\n ParticipantEvent.TrackSubscriptionPermissionChanged,\n ParticipantEvent.TrackSubscriptionStatusChanged\n];\nvar allParticipantEvents = [\n ...allRemoteParticipantEvents,\n ParticipantEvent.LocalTrackPublished,\n ParticipantEvent.LocalTrackUnpublished\n];\n\n// src/logger.ts\nimport {\n setLogLevel as setClientSdkLogLevel,\n setLogExtension as setClientSdkLogExtension,\n LogLevel as LogLevelEnum\n} from \"livekit-client\";\nimport loglevel from \"loglevel\";\nvar log = loglevel.getLogger(\"lk-components-js\");\nlog.setDefaultLevel(\"WARN\");\nfunction setLogLevel(level, options = {}) {\n var _a;\n log.setLevel(level);\n setClientSdkLogLevel((_a = options.liveKitClientLogLevel) != null ? _a : level);\n}\nfunction setLogExtension(extension, options = {}) {\n var _a;\n const originalFactory = log.methodFactory;\n log.methodFactory = (methodName, configLevel, loggerName) => {\n const rawMethod = originalFactory(methodName, configLevel, loggerName);\n const logLevel = LogLevelEnum[methodName];\n const needLog = logLevel >= configLevel && logLevel < LogLevelEnum.silent;\n return (msg, context) => {\n if (context) rawMethod(msg, context);\n else rawMethod(msg);\n if (needLog) {\n extension(logLevel, msg, context);\n }\n };\n };\n log.setLevel(log.getLevel());\n setClientSdkLogExtension((_a = options.liveKitClientLogExtension) != null ? _a : extension);\n}\n\n// src/helper/grid-layouts.ts\nvar GRID_LAYOUTS = [\n {\n columns: 1,\n rows: 1\n },\n {\n columns: 1,\n rows: 2,\n orientation: \"portrait\"\n },\n {\n columns: 2,\n rows: 1,\n orientation: \"landscape\"\n },\n {\n columns: 2,\n rows: 2,\n minWidth: 560\n },\n {\n columns: 3,\n rows: 3,\n minWidth: 700\n },\n {\n columns: 4,\n rows: 4,\n minWidth: 960\n },\n {\n columns: 5,\n rows: 5,\n minWidth: 1100\n }\n];\nfunction selectGridLayout(layoutDefinitions, participantCount, width, height) {\n if (layoutDefinitions.length < 1) {\n throw new Error(\"At least one grid layout definition must be provided.\");\n }\n const layouts = expandAndSortLayoutDefinitions(layoutDefinitions);\n if (width <= 0 || height <= 0) {\n return layouts[0];\n }\n let currentLayoutIndex = 0;\n const containerOrientation = width / height > 1 ? \"landscape\" : \"portrait\";\n let layout = layouts.find((layout_, index, allLayouts) => {\n currentLayoutIndex = index;\n const isBiggerLayoutAvailable = allLayouts.findIndex((l, i) => {\n const fitsOrientation = !l.orientation || l.orientation === containerOrientation;\n const layoutIsBiggerThanCurrent = i > index;\n const layoutFitsSameAmountOfParticipants = l.maxTiles === layout_.maxTiles;\n return layoutIsBiggerThanCurrent && layoutFitsSameAmountOfParticipants && fitsOrientation;\n }) !== -1;\n return layout_.maxTiles >= participantCount && !isBiggerLayoutAvailable;\n });\n if (layout === void 0) {\n layout = layouts[layouts.length - 1];\n if (layout) {\n log.warn(\n `No layout found for: participantCount: ${participantCount}, width/height: ${width}/${height} fallback to biggest available layout (${layout}).`\n );\n } else {\n throw new Error(`No layout or fallback layout found.`);\n }\n }\n if (width < layout.minWidth || height < layout.minHeight) {\n if (currentLayoutIndex > 0) {\n const smallerLayout = layouts[currentLayoutIndex - 1];\n layout = selectGridLayout(\n layouts.slice(0, currentLayoutIndex),\n smallerLayout.maxTiles,\n width,\n height\n );\n }\n }\n return layout;\n}\nfunction expandAndSortLayoutDefinitions(layouts) {\n return [...layouts].map((layout) => {\n var _a, _b;\n return {\n name: `${layout.columns}x${layout.rows}`,\n columns: layout.columns,\n rows: layout.rows,\n maxTiles: layout.columns * layout.rows,\n minWidth: (_a = layout.minWidth) != null ? _a : 0,\n minHeight: (_b = layout.minHeight) != null ? _b : 0,\n orientation: layout.orientation\n };\n }).sort((a, b) => {\n if (a.maxTiles !== b.maxTiles) {\n return a.maxTiles - b.maxTiles;\n } else if (a.minWidth !== 0 || b.minWidth !== 0) {\n return a.minWidth - b.minWidth;\n } else if (a.minHeight !== 0 || b.minHeight !== 0) {\n return a.minHeight - b.minHeight;\n } else {\n return 0;\n }\n });\n}\n\n// src/helper/set-helper.ts\nfunction setDifference(setA, setB) {\n const _difference = new Set(setA);\n for (const elem of setB) {\n _difference.delete(elem);\n }\n return _difference;\n}\n\n// src/helper/featureDetection.ts\nfunction supportsScreenSharing() {\n return typeof navigator !== \"undefined\" && navigator.mediaDevices && !!navigator.mediaDevices.getDisplayMedia;\n}\n\n// src/helper/transcriptions.ts\nfunction getActiveTranscriptionSegments(segments, syncTimes, maxAge = 0) {\n return segments.filter((segment) => {\n var _a;\n const hasTrackSync = !!syncTimes.rtpTimestamp;\n const currentTrackTime = (_a = syncTimes.rtpTimestamp) != null ? _a : performance.timeOrigin + performance.now();\n const displayStartTime = hasTrackSync ? Math.max(segment.receivedAtMediaTimestamp, segment.startTime) : segment.receivedAt;\n const segmentDuration = maxAge + segment.endTime - segment.startTime;\n return currentTrackTime >= displayStartTime && currentTrackTime <= displayStartTime + segmentDuration;\n });\n}\nfunction addMediaTimestampToTranscription(segment, timestamps) {\n var _a;\n return __spreadProps(__spreadValues({}, segment), {\n receivedAtMediaTimestamp: (_a = timestamps.rtpTimestamp) != null ? _a : 0,\n receivedAt: timestamps.timestamp\n });\n}\nfunction dedupeSegments(prevSegments, newSegments, windowSize) {\n return [...prevSegments, ...newSegments].reduceRight((acc, segment) => {\n if (!acc.find((val) => val.id === segment.id)) {\n acc.unshift(segment);\n }\n return acc;\n }, []).slice(0 - windowSize);\n}\nfunction didActiveSegmentsChange(prevActive, newActive) {\n if (newActive.length !== prevActive.length) {\n return true;\n }\n return !newActive.every((newSegment) => {\n return prevActive.find(\n (prevSegment) => prevSegment.id === newSegment.id && prevSegment.text === newSegment.text && prevSegment.final === newSegment.final && prevSegment.language === newSegment.language && prevSegment.startTime === newSegment.startTime && prevSegment.endTime === newSegment.endTime\n );\n });\n}\n\n// src/types.ts\nvar PIN_DEFAULT_STATE = [];\nvar WIDGET_DEFAULT_STATE = {\n showChat: false,\n unreadMessages: 0,\n showSettings: false\n};\nfunction isSourceWitOptions(source) {\n return typeof source === \"object\";\n}\nfunction isSourcesWithOptions(sources) {\n return Array.isArray(sources) && sources.filter(isSourceWitOptions).length > 0;\n}\n\n// src/sorting/sort-track-bundles.ts\nimport { Track as Track2 } from \"livekit-client\";\n\n// src/sorting/base-sort-functions.ts\nimport { Track } from \"livekit-client\";\nfunction sortParticipantsByAudioLevel(a, b) {\n return b.audioLevel - a.audioLevel;\n}\nfunction sortParticipantsByIsSpeaking(a, b) {\n if (a.isSpeaking === b.isSpeaking) {\n return 0;\n } else {\n return a.isSpeaking ? -1 : 1;\n }\n}\nfunction sortParticipantsByLastSpokenAT(a, b) {\n var _a, _b, _c, _d;\n if (a.lastSpokeAt !== void 0 || b.lastSpokeAt !== void 0) {\n return ((_b = (_a = b.lastSpokeAt) == null ? void 0 : _a.getTime()) != null ? _b : 0) - ((_d = (_c = a.lastSpokeAt) == null ? void 0 : _c.getTime()) != null ? _d : 0);\n } else {\n return 0;\n }\n}\nfunction sortParticipantsByJoinedAt(a, b) {\n var _a, _b, _c, _d;\n return ((_b = (_a = a.joinedAt) == null ? void 0 : _a.getTime()) != null ? _b : 0) - ((_d = (_c = b.joinedAt) == null ? void 0 : _c.getTime()) != null ? _d : 0);\n}\nfunction sortTrackReferencesByType(a, b) {\n if (isTrackReference(a)) {\n if (isTrackReference(b)) {\n return 0;\n } else {\n return -1;\n }\n } else if (isTrackReference(b)) {\n return 1;\n } else {\n return 0;\n }\n}\nfunction sortTrackRefsByIsCameraEnabled(a, b) {\n const aVideo = a.participant.isCameraEnabled;\n const bVideo = b.participant.isCameraEnabled;\n if (aVideo !== bVideo) {\n if (aVideo) {\n return -1;\n } else {\n return 1;\n }\n } else {\n return 0;\n }\n}\n\n// src/sorting/sort-track-bundles.ts\nfunction sortTrackReferences(tracks) {\n const localTracks = [];\n const screenShareTracks = [];\n const cameraTracks = [];\n const undefinedTracks = [];\n tracks.forEach((trackRef) => {\n if (trackRef.participant.isLocal && trackRef.source === Track2.Source.Camera) {\n localTracks.push(trackRef);\n } else if (trackRef.source === Track2.Source.ScreenShare) {\n screenShareTracks.push(trackRef);\n } else if (trackRef.source === Track2.Source.Camera) {\n cameraTracks.push(trackRef);\n } else {\n undefinedTracks.push(trackRef);\n }\n });\n const sortedScreenShareTracks = sortScreenShareTracks(screenShareTracks);\n const sortedCameraTracks = sortCameraTracks(cameraTracks);\n return [...localTracks, ...sortedScreenShareTracks, ...sortedCameraTracks, ...undefinedTracks];\n}\nfunction sortScreenShareTracks(screenShareTracks) {\n const localScreenShares = [];\n const remoteScreenShares = [];\n screenShareTracks.forEach((trackRef) => {\n if (trackRef.participant.isLocal) {\n localScreenShares.push(trackRef);\n } else {\n remoteScreenShares.push(trackRef);\n }\n });\n localScreenShares.sort((a, b) => sortParticipantsByJoinedAt(a.participant, b.participant));\n remoteScreenShares.sort((a, b) => sortParticipantsByJoinedAt(a.participant, b.participant));\n const sortedScreenShareTrackRefs = [...remoteScreenShares, ...localScreenShares];\n return sortedScreenShareTrackRefs;\n}\nfunction sortCameraTracks(cameraTrackReferences) {\n const localCameraTracks = [];\n const remoteCameraTracks = [];\n cameraTrackReferences.forEach((trackRef) => {\n if (trackRef.participant.isLocal) {\n localCameraTracks.push(trackRef);\n } else {\n remoteCameraTracks.push(trackRef);\n }\n });\n remoteCameraTracks.sort((a, b) => {\n if (a.participant.isSpeaking && b.participant.isSpeaking) {\n return sortParticipantsByAudioLevel(a.participant, b.participant);\n }\n if (a.participant.isSpeaking !== b.participant.isSpeaking) {\n return sortParticipantsByIsSpeaking(a.participant, b.participant);\n }\n if (a.participant.lastSpokeAt !== b.participant.lastSpokeAt) {\n return sortParticipantsByLastSpokenAT(a.participant, b.participant);\n }\n if (isTrackReference(a) !== isTrackReference(b)) {\n return sortTrackReferencesByType(a, b);\n }\n if (a.participant.isCameraEnabled !== b.participant.isCameraEnabled) {\n return sortTrackRefsByIsCameraEnabled(a, b);\n }\n return sortParticipantsByJoinedAt(a.participant, b.participant);\n });\n return [...localCameraTracks, ...remoteCameraTracks];\n}\n\n// src/sorting/sort-participants.ts\nfunction sortParticipants(participants) {\n const sortedParticipants = [...participants];\n sortedParticipants.sort((a, b) => {\n if (a.isSpeaking && b.isSpeaking) {\n return sortParticipantsByAudioLevel(a, b);\n }\n if (a.isSpeaking !== b.isSpeaking) {\n return sortParticipantsByIsSpeaking(a, b);\n }\n if (a.lastSpokeAt !== b.lastSpokeAt) {\n return sortParticipantsByLastSpokenAT(a, b);\n }\n const aVideo = a.videoTrackPublications.size > 0;\n const bVideo = b.videoTrackPublications.size > 0;\n if (aVideo !== bVideo) {\n if (aVideo) {\n return -1;\n } else {\n return 1;\n }\n }\n return sortParticipantsByJoinedAt(a, b);\n });\n const localParticipant = sortedParticipants.find((p) => p.isLocal);\n if (localParticipant) {\n const localIdx = sortedParticipants.indexOf(localParticipant);\n if (localIdx >= 0) {\n sortedParticipants.splice(localIdx, 1);\n if (sortedParticipants.length > 0) {\n sortedParticipants.splice(0, 0, localParticipant);\n } else {\n sortedParticipants.push(localParticipant);\n }\n }\n }\n return sortedParticipants;\n}\n\n// src/helper/array-helper.ts\nfunction chunk(input, size) {\n return input.reduce(\n (arr, item, idx) => {\n return idx % size === 0 ? [...arr, [item]] : [...arr.slice(0, -1), [...arr.slice(-1)[0], item]];\n },\n []\n );\n}\nfunction zip(a1, a2) {\n const resultLength = Math.max(a1.length, a2.length);\n return new Array(resultLength).fill([]).map((_val, idx) => [a1[idx], a2[idx]]);\n}\nfunction differenceBy(a1, a2, by) {\n return a1.filter((c) => !a2.map((v) => by(v)).includes(by(c)));\n}\n\n// src/track-reference/test-utils.ts\nimport { Participant, Track as Track3, TrackPublication } from \"livekit-client\";\nfunction flatTrackReferenceArray(list) {\n return list.map((item) => {\n if (typeof item === \"string\" || typeof item === \"number\") {\n return `${item}`;\n } else {\n return getTrackReferenceId(item);\n }\n });\n}\n\n// src/sorting/tile-array-update.ts\nfunction visualPageChange(state, next) {\n return {\n dropped: differenceBy(state, next, getTrackReferenceId),\n added: differenceBy(next, state, getTrackReferenceId)\n };\n}\nfunction listNeedsUpdating(changes) {\n return changes.added.length !== 0 || changes.dropped.length !== 0;\n}\nfunction findIndex(trackReference, trackReferences) {\n const indexToReplace = trackReferences.findIndex(\n (trackReference_) => getTrackReferenceId(trackReference_) === getTrackReferenceId(trackReference)\n );\n if (indexToReplace === -1) {\n throw new Error(\n `Element not part of the array: ${getTrackReferenceId(\n trackReference\n )} not in ${flatTrackReferenceArray(trackReferences)}`\n );\n }\n return indexToReplace;\n}\nfunction swapItems(moveForward, moveBack, trackReferences) {\n const indexToReplace = findIndex(moveForward, trackReferences);\n const indexReplaceWith = findIndex(moveBack, trackReferences);\n trackReferences.splice(indexToReplace, 1, moveBack);\n trackReferences.splice(indexReplaceWith, 1, moveForward);\n return trackReferences;\n}\nfunction dropItem(itemToDrop, list) {\n const indexOfElementToDrop = findIndex(itemToDrop, list);\n list.splice(indexOfElementToDrop, 1);\n return list;\n}\nfunction addItem(itemToAdd, list) {\n return [...list, itemToAdd];\n}\nfunction divideIntoPages(list, maxElementsOnPage) {\n const pages = chunk(list, maxElementsOnPage);\n return pages;\n}\nfunction updatePages(currentList, nextList, maxItemsOnPage) {\n let updatedList = refreshList(currentList, nextList);\n if (updatedList.length < nextList.length) {\n const addedItems = differenceBy(nextList, updatedList, getTrackReferenceId);\n updatedList = [...updatedList, ...addedItems];\n }\n const currentPages = divideIntoPages(updatedList, maxItemsOnPage);\n const nextPages = divideIntoPages(nextList, maxItemsOnPage);\n zip(currentPages, nextPages).forEach(([currentPage, nextPage], pageIndex) => {\n if (currentPage && nextPage) {\n const updatedPage = divideIntoPages(updatedList, maxItemsOnPage)[pageIndex];\n const changes = visualPageChange(updatedPage, nextPage);\n if (listNeedsUpdating(changes)) {\n log.debug(\n `Detected visual changes on page: ${pageIndex}, current: ${flatTrackReferenceArray(\n currentPage\n )}, next: ${flatTrackReferenceArray(nextPage)}`,\n { changes }\n );\n if (changes.added.length === changes.dropped.length) {\n zip(changes.added, changes.dropped).forEach(([added, dropped]) => {\n if (added && dropped) {\n updatedList = swapItems(added, dropped, updatedList);\n } else {\n throw new Error(\n `For a swap action we need a addition and a removal one is missing: ${added}, ${dropped}`\n );\n }\n });\n }\n if (changes.added.length === 0 && changes.dropped.length > 0) {\n changes.dropped.forEach((item) => {\n updatedList = dropItem(item, updatedList);\n });\n }\n if (changes.added.length > 0 && changes.dropped.length === 0) {\n changes.added.forEach((item) => {\n updatedList = addItem(item, updatedList);\n });\n }\n }\n }\n });\n if (updatedList.length > nextList.length) {\n const missingItems = differenceBy(updatedList, nextList, getTrackReferenceId);\n updatedList = updatedList.filter(\n (item) => !missingItems.map(getTrackReferenceId).includes(getTrackReferenceId(item))\n );\n }\n return updatedList;\n}\nfunction refreshList(currentList, nextList) {\n return currentList.map((currentItem) => {\n const updateForCurrentItem = nextList.find(\n (newItem_) => (\n // If the IDs match or ..\n getTrackReferenceId(currentItem) === getTrackReferenceId(newItem_) || // ... if the current item is a placeholder and the new item is the track reference can replace it.\n typeof currentItem !== \"number\" && isTrackReferencePlaceholder(currentItem) && isTrackReference(newItem_) && isPlaceholderReplacement(currentItem, newItem_)\n )\n );\n return updateForCurrentItem != null ? updateForCurrentItem : currentItem;\n });\n}\n\n// src/components/mediaToggle.ts\nimport { Track as Track7 } from \"livekit-client\";\nimport { Subject as Subject2, map as map4, startWith as startWith4 } from \"rxjs\";\n\n// src/observables/participant.ts\nimport { ParticipantEvent as ParticipantEvent2, RoomEvent as RoomEvent3, Track as Track6 } from \"livekit-client\";\nimport { Observable as Observable2, map as map3, startWith as startWith3, switchMap } from \"rxjs\";\n\n// src/components/mediaTrack.ts\nimport { Track as Track4 } from \"livekit-client\";\nimport { map, startWith } from \"rxjs\";\n\n// src/styles-interface/class-prefixer.ts\nfunction prefixClass(unprefixedClassName) {\n return `${cssPrefix}-${unprefixedClassName}`;\n}\n\n// src/components/mediaTrack.ts\nfunction setupMediaTrack(trackIdentifier) {\n const initialPub = getTrackByIdentifier(trackIdentifier);\n const trackObserver = observeParticipantMedia(trackIdentifier.participant).pipe(\n map(() => {\n return getTrackByIdentifier(trackIdentifier);\n }),\n startWith(initialPub)\n );\n const className = prefixClass(\n trackIdentifier.source === Track4.Source.Camera || trackIdentifier.source === Track4.Source.ScreenShare ? \"participant-media-video\" : \"participant-media-audio\"\n );\n return { className, trackObserver };\n}\nfunction getTrackByIdentifier(options) {\n if (isTrackReference(options)) {\n return options.publication;\n } else {\n const { source, name, participant } = options;\n if (source && name) {\n return participant.getTrackPublications().find((pub) => pub.source === source && pub.trackName === name);\n } else if (name) {\n return participant.getTrackPublicationByName(name);\n } else if (source) {\n return participant.getTrackPublication(source);\n } else {\n throw new Error(\"At least one of source and name needs to be defined\");\n }\n }\n}\n\n// src/observables/room.ts\nimport { Subject, map as map2, Observable, startWith as startWith2, finalize, filter, concat } from \"rxjs\";\nimport { Room, RoomEvent as RoomEvent2, Track as Track5 } from \"livekit-client\";\nfunction observeRoomEvents(room, ...events) {\n const observable = new Observable((subscribe) => {\n const onRoomUpdate = () => {\n subscribe.next(room);\n };\n events.forEach((evt) => {\n room.on(evt, onRoomUpdate);\n });\n const unsubscribe = () => {\n events.forEach((evt) => {\n room.off(evt, onRoomUpdate);\n });\n };\n return unsubscribe;\n }).pipe(startWith2(room));\n return observable;\n}\nfunction roomEventSelector(room, event) {\n const observable = new Observable((subscribe) => {\n const update = (...params) => {\n subscribe.next(params);\n };\n room.on(event, update);\n const unsubscribe = () => {\n room.off(event, update);\n };\n return unsubscribe;\n });\n return observable;\n}\nfunction roomObserver(room) {\n const observable = observeRoomEvents(\n room,\n RoomEvent2.ParticipantConnected,\n RoomEvent2.ParticipantDisconnected,\n RoomEvent2.ActiveSpeakersChanged,\n RoomEvent2.TrackSubscribed,\n RoomEvent2.TrackUnsubscribed,\n RoomEvent2.LocalTrackPublished,\n RoomEvent2.LocalTrackUnpublished,\n RoomEvent2.AudioPlaybackStatusChanged,\n RoomEvent2.ConnectionStateChanged\n ).pipe(startWith2(room));\n return observable;\n}\nfunction connectionStateObserver(room) {\n return roomEventSelector(room, RoomEvent2.ConnectionStateChanged).pipe(\n map2(([connectionState]) => connectionState),\n startWith2(room.state)\n );\n}\nfunction screenShareObserver(room) {\n let screenShareSubscriber;\n const observers = [];\n const observable = new Observable((subscriber) => {\n screenShareSubscriber = subscriber;\n return () => {\n observers.forEach((observer) => {\n observer.unsubscribe();\n });\n };\n });\n const screenShareTracks = [];\n const handleSub = (publication, participant) => {\n if (publication.source !== Track5.Source.ScreenShare && publication.source !== Track5.Source.ScreenShareAudio) {\n return;\n }\n let trackMap = screenShareTracks.find((tr) => tr.participant.identity === participant.identity);\n const getScreenShareTracks = (participant2) => {\n return participant2.getTrackPublications().filter(\n (track) => (track.source === Track5.Source.ScreenShare || track.source === Track5.Source.ScreenShareAudio) && track.track\n );\n };\n if (!trackMap) {\n trackMap = {\n participant,\n tracks: getScreenShareTracks(participant)\n };\n } else {\n const index = screenShareTracks.indexOf(trackMap);\n screenShareTracks.splice(index, 1);\n trackMap.tracks = getScreenShareTracks(participant);\n }\n if (trackMap.tracks.length > 0) {\n screenShareTracks.push(trackMap);\n }\n screenShareSubscriber.next(screenShareTracks);\n };\n observers.push(\n roomEventSelector(room, RoomEvent2.TrackSubscribed).subscribe(\n ([, ...args]) => handleSub(...args)\n )\n );\n observers.push(\n roomEventSelector(room, RoomEvent2.TrackUnsubscribed).subscribe(\n ([, ...args]) => handleSub(...args)\n )\n );\n observers.push(\n roomEventSelector(room, RoomEvent2.LocalTrackPublished).subscribe((args) => handleSub(...args))\n );\n observers.push(\n roomEventSelector(room, RoomEvent2.LocalTrackUnpublished).subscribe((args) => {\n handleSub(...args);\n })\n );\n observers.push(\n roomEventSelector(room, RoomEvent2.TrackMuted).subscribe((args) => {\n handleSub(...args);\n })\n );\n observers.push(\n roomEventSelector(room, RoomEvent2.TrackUnmuted).subscribe((args) => {\n handleSub(...args);\n })\n );\n setTimeout(() => {\n for (const p of room.remoteParticipants.values()) {\n p.getTrackPublications().forEach((track) => {\n handleSub(track, p);\n });\n }\n }, 1);\n return observable;\n}\nfunction roomInfoObserver(room) {\n const observer = observeRoomEvents(\n room,\n RoomEvent2.RoomMetadataChanged,\n RoomEvent2.ConnectionStateChanged\n ).pipe(\n map2((r) => {\n return { name: r.name, metadata: r.metadata };\n })\n );\n return observer;\n}\nfunction activeSpeakerObserver(room) {\n return roomEventSelector(room, RoomEvent2.ActiveSpeakersChanged).pipe(\n map2(([speakers]) => speakers)\n );\n}\nfunction createMediaDeviceObserver(kind, onError, requestPermissions = true) {\n var _a;\n const onDeviceChange = () => __async(this, null, function* () {\n try {\n const newDevices = yield Room.getLocalDevices(kind, requestPermissions);\n deviceSubject.next(newDevices);\n } catch (e) {\n onError == null ? void 0 : onError(e);\n }\n });\n const deviceSubject = new Subject();\n const observable = deviceSubject.pipe(\n finalize(() => {\n var _a2;\n (_a2 = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : _a2.removeEventListener(\"devicechange\", onDeviceChange);\n })\n );\n if (typeof window !== \"undefined\") {\n if (!window.isSecureContext) {\n throw new Error(\n `Accessing media devices is available only in secure contexts (HTTPS and localhost), in some or all supporting browsers. See: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mediaDevices`\n );\n }\n (_a = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : _a.addEventListener(\"devicechange\", onDeviceChange);\n }\n return concat(\n Room.getLocalDevices(kind, requestPermissions).catch((e) => {\n onError == null ? void 0 : onError(e);\n return [];\n }),\n observable\n );\n}\nfunction createDataObserver(room) {\n return roomEventSelector(room, RoomEvent2.DataReceived);\n}\nfunction createChatObserver(room) {\n return roomEventSelector(room, RoomEvent2.ChatMessage);\n}\nfunction roomAudioPlaybackAllowedObservable(room) {\n const observable = observeRoomEvents(room, RoomEvent2.AudioPlaybackStatusChanged).pipe(\n map2((room2) => {\n return { canPlayAudio: room2.canPlaybackAudio };\n })\n );\n return observable;\n}\nfunction roomVideoPlaybackAllowedObservable(room) {\n const observable = observeRoomEvents(room, RoomEvent2.VideoPlaybackStatusChanged).pipe(\n map2((room2) => {\n return { canPlayVideo: room2.canPlaybackVideo };\n })\n );\n return observable;\n}\nfunction createActiveDeviceObservable(room, kind) {\n return roomEventSelector(room, RoomEvent2.ActiveDeviceChanged).pipe(\n filter(([kindOfDevice]) => kindOfDevice === kind),\n map2(([kind2, deviceId]) => {\n log.debug(\"activeDeviceObservable | RoomEvent.ActiveDeviceChanged\", { kind: kind2, deviceId });\n return deviceId;\n })\n );\n}\nfunction encryptionStatusObservable(room, participant) {\n return roomEventSelector(room, RoomEvent2.ParticipantEncryptionStatusChanged).pipe(\n filter(\n ([, p]) => (participant == null ? void 0 : participant.identity) === (p == null ? void 0 : p.identity) || !p && (participant == null ? void 0 : participant.identity) === room.localParticipant.identity\n ),\n map2(([encrypted]) => encrypted),\n startWith2(\n (participant == null ? void 0 : participant.isLocal) ? participant.isE2EEEnabled : !!(participant == null ? void 0 : participant.isEncrypted)\n )\n );\n}\nfunction recordingStatusObservable(room) {\n return roomEventSelector(room, RoomEvent2.RecordingStatusChanged).pipe(\n map2(([recording]) => recording),\n startWith2(room.isRecording)\n );\n}\n\n// src/observables/participant.ts\nfunction observeParticipantEvents(participant, ...events) {\n const observable = new Observable2((subscribe) => {\n const onParticipantUpdate = () => {\n subscribe.next(participant);\n };\n events.forEach((evt) => {\n participant.on(evt, onParticipantUpdate);\n });\n const unsubscribe = () => {\n events.forEach((evt) => {\n participant.off(evt, onParticipantUpdate);\n });\n };\n return unsubscribe;\n }).pipe(startWith3(participant));\n return observable;\n}\nfunction observeParticipantMedia(participant) {\n const participantObserver = observeParticipantEvents(\n participant,\n ParticipantEvent2.TrackMuted,\n ParticipantEvent2.TrackUnmuted,\n ParticipantEvent2.ParticipantPermissionsChanged,\n // ParticipantEvent.IsSpeakingChanged,\n ParticipantEvent2.TrackPublished,\n ParticipantEvent2.TrackUnpublished,\n ParticipantEvent2.LocalTrackPublished,\n ParticipantEvent2.LocalTrackUnpublished,\n ParticipantEvent2.MediaDevicesError,\n ParticipantEvent2.TrackSubscriptionStatusChanged\n // ParticipantEvent.ConnectionQualityChanged,\n ).pipe(\n map3((p) => {\n const { isMicrophoneEnabled, isCameraEnabled, isScreenShareEnabled } = p;\n const microphoneTrack = p.getTrackPublication(Track6.Source.Microphone);\n const cameraTrack = p.getTrackPublication(Track6.Source.Camera);\n const participantMedia = {\n isCameraEnabled,\n isMicrophoneEnabled,\n isScreenShareEnabled,\n cameraTrack,\n microphoneTrack,\n participant: p\n };\n return participantMedia;\n })\n );\n return participantObserver;\n}\nfunction createTrackObserver(participant, options) {\n return observeParticipantMedia(participant).pipe(\n map3(() => {\n return { publication: getTrackByIdentifier(options) };\n })\n );\n}\nfunction participantInfoObserver(participant) {\n if (!participant) {\n return void 0;\n }\n const observer = observeParticipantEvents(\n participant,\n ParticipantEvent2.ParticipantMetadataChanged,\n ParticipantEvent2.ParticipantNameChanged\n ).pipe(\n map3(({ name, identity, metadata }) => {\n return {\n name,\n identity,\n metadata\n };\n }),\n startWith3({\n name: participant.name,\n identity: participant.identity,\n metadata: participant.metadata\n })\n );\n return observer;\n}\nfunction createConnectionQualityObserver(participant) {\n const observer = participantEventSelector(\n participant,\n ParticipantEvent2.ConnectionQualityChanged\n ).pipe(\n map3(([quality]) => quality),\n startWith3(participant.connectionQuality)\n );\n return observer;\n}\nfunction participantEventSelector(participant, event) {\n const observable = new Observable2((subscribe) => {\n const update = (...params) => {\n subscribe.next(params);\n };\n participant.on(event, update);\n const unsubscribe = () => {\n participant.off(event, update);\n };\n return unsubscribe;\n });\n return observable;\n}\nfunction mutedObserver(trackRef) {\n var _a, _b, _c, _d;\n return observeParticipantEvents(\n trackRef.participant,\n ParticipantEvent2.TrackMuted,\n ParticipantEvent2.TrackUnmuted,\n ParticipantEvent2.TrackSubscribed,\n ParticipantEvent2.TrackUnsubscribed,\n ParticipantEvent2.LocalTrackPublished,\n ParticipantEvent2.LocalTrackUnpublished\n ).pipe(\n map3((participant) => {\n var _a2, _b2;\n const pub = (_a2 = trackRef.publication) != null ? _a2 : participant.getTrackPublication(trackRef.source);\n return (_b2 = pub == null ? void 0 : pub.isMuted) != null ? _b2 : true;\n }),\n startWith3(\n (_d = (_c = (_a = trackRef.publication) == null ? void 0 : _a.isMuted) != null ? _c : (_b = trackRef.participant.getTrackPublication(trackRef.source)) == null ? void 0 : _b.isMuted) != null ? _d : true\n )\n );\n}\nfunction createIsSpeakingObserver(participant) {\n return participantEventSelector(participant, ParticipantEvent2.IsSpeakingChanged).pipe(\n map3(([isSpeaking]) => isSpeaking)\n );\n}\nfunction connectedParticipantsObserver(room, options = {}) {\n var _a;\n let subscriber;\n const observable = new Observable2((sub) => {\n subscriber = sub;\n return () => listener.unsubscribe();\n }).pipe(startWith3(Array.from(room.remoteParticipants.values())));\n const additionalRoomEvents = (_a = options.additionalRoomEvents) != null ? _a : allParticipantRoomEvents;\n const roomEvents = Array.from(\n /* @__PURE__ */ new Set([\n RoomEvent3.ParticipantConnected,\n RoomEvent3.ParticipantDisconnected,\n RoomEvent3.ConnectionStateChanged,\n ...additionalRoomEvents\n ])\n );\n const listener = observeRoomEvents(room, ...roomEvents).subscribe(\n (r) => subscriber == null ? void 0 : subscriber.next(Array.from(r.remoteParticipants.values()))\n );\n if (room.remoteParticipants.size > 0) {\n subscriber == null ? void 0 : subscriber.next(Array.from(room.remoteParticipants.values()));\n }\n return observable;\n}\nfunction connectedParticipantObserver(room, identity, options = {}) {\n var _a;\n const additionalEvents = (_a = options.additionalEvents) != null ? _a : allParticipantEvents;\n const observable = observeRoomEvents(\n room,\n RoomEvent3.ParticipantConnected,\n RoomEvent3.ParticipantDisconnected,\n RoomEvent3.ConnectionStateChanged\n ).pipe(\n switchMap((r) => {\n const participant = r.getParticipantByIdentity(identity);\n if (participant) {\n return observeParticipantEvents(participant, ...additionalEvents);\n } else {\n return new Observable2((subscribe) => subscribe.next(void 0));\n }\n }),\n startWith3(room.getParticipantByIdentity(identity))\n );\n return observable;\n}\nfunction participantPermissionObserver(participant) {\n const observer = participantEventSelector(\n participant,\n ParticipantEvent2.ParticipantPermissionsChanged\n ).pipe(\n map3(() => participant.permissions),\n startWith3(participant.permissions)\n );\n return observer;\n}\nfunction participantByIdentifierObserver(room, { kind, identity }, options = {}) {\n var _a;\n const additionalEvents = (_a = options.additionalEvents) != null ? _a : allParticipantEvents;\n const matchesIdentifier = (participant) => {\n let isMatch = true;\n if (kind) {\n isMatch = isMatch && participant.kind === kind;\n }\n if (identity) {\n isMatch = isMatch && participant.identity === identity;\n }\n return isMatch;\n };\n const observable = observeRoomEvents(\n room,\n RoomEvent3.ParticipantConnected,\n RoomEvent3.ParticipantDisconnected,\n RoomEvent3.ConnectionStateChanged\n ).pipe(\n switchMap((r) => {\n const participant = Array.from(r.remoteParticipants.values()).find(\n (p) => matchesIdentifier(p)\n );\n if (participant) {\n return observeParticipantEvents(participant, ...additionalEvents);\n } else {\n return new Observable2((subscribe) => subscribe.next(void 0));\n }\n }),\n startWith3(Array.from(room.remoteParticipants.values()).find((p) => matchesIdentifier(p)))\n );\n return observable;\n}\nfunction participantAttributesObserver(participant) {\n if (typeof participant === \"undefined\") {\n return new Observable2();\n }\n return participantEventSelector(participant, ParticipantEvent2.AttributesChanged).pipe(\n map3(([changedAttributes]) => {\n return {\n changed: changedAttributes,\n attributes: participant.attributes\n };\n }),\n startWith3({ changed: participant.attributes, attributes: participant.attributes })\n );\n}\n\n// src/components/mediaToggle.ts\nfunction setupMediaToggle(source, room, options, publishOptions, onError) {\n const { localParticipant } = room;\n const getSourceEnabled = (source2, localParticipant2) => {\n let isEnabled = false;\n switch (source2) {\n case Track7.Source.Camera:\n isEnabled = localParticipant2.isCameraEnabled;\n break;\n case Track7.Source.Microphone:\n isEnabled = localParticipant2.isMicrophoneEnabled;\n break;\n case Track7.Source.ScreenShare:\n isEnabled = localParticipant2.isScreenShareEnabled;\n break;\n default:\n break;\n }\n return isEnabled;\n };\n const enabledObserver = observeParticipantMedia(localParticipant).pipe(\n map4((media) => {\n return getSourceEnabled(source, media.participant);\n }),\n startWith4(getSourceEnabled(source, localParticipant))\n );\n const pendingSubject = new Subject2();\n const toggle = (forceState, captureOptions) => __async(this, null, function* () {\n try {\n captureOptions != null ? captureOptions : captureOptions = options;\n pendingSubject.next(true);\n switch (source) {\n case Track7.Source.Camera:\n yield localParticipant.setCameraEnabled(\n forceState != null ? forceState : !localParticipant.isCameraEnabled,\n captureOptions,\n publishOptions\n );\n return localParticipant.isCameraEnabled;\n case Track7.Source.Microphone:\n yield localParticipant.setMicrophoneEnabled(\n forceState != null ? forceState : !localParticipant.isMicrophoneEnabled,\n captureOptions,\n publishOptions\n );\n return localParticipant.isMicrophoneEnabled;\n case Track7.Source.ScreenShare:\n yield localParticipant.setScreenShareEnabled(\n forceState != null ? forceState : !localParticipant.isScreenShareEnabled,\n captureOptions,\n publishOptions\n );\n return localParticipant.isScreenShareEnabled;\n default:\n throw new TypeError(\"Tried to toggle unsupported source\");\n }\n } catch (e) {\n if (onError && e instanceof Error) {\n onError == null ? void 0 : onError(e);\n return void 0;\n } else {\n throw e;\n }\n } finally {\n pendingSubject.next(false);\n }\n });\n const className = prefixClass(\"button\");\n return {\n className,\n toggle,\n enabledObserver,\n pendingObserver: pendingSubject.asObservable()\n };\n}\nfunction setupManualToggle() {\n let state = false;\n const enabledSubject = new Subject2();\n const pendingSubject = new Subject2();\n const toggle = (forceState) => __async(this, null, function* () {\n pendingSubject.next(true);\n state = forceState != null ? forceState : !state;\n enabledSubject.next(state);\n pendingSubject.next(false);\n });\n const className = prefixClass(\"button\");\n return {\n className,\n toggle,\n enabledObserver: enabledSubject.asObservable(),\n pendingObserver: pendingSubject.asObservable()\n };\n}\n\n// src/components/mediaDeviceSelect.ts\nimport {\n Track as Track8\n} from \"livekit-client\";\nimport { BehaviorSubject } from \"rxjs\";\nfunction setupDeviceSelector(kind, room, localTrack) {\n const activeDeviceSubject = new BehaviorSubject(void 0);\n const activeDeviceObservable = room ? createActiveDeviceObservable(room, kind) : activeDeviceSubject.asObservable();\n const setActiveMediaDevice = (_0, ..._1) => __async(this, [_0, ..._1], function* (id, options = {}) {\n var _a, _b, _c;\n if (room) {\n log.debug(`Switching active device of kind \"${kind}\" with id ${id}.`);\n yield room.switchActiveDevice(kind, id, options.exact);\n const actualDeviceId = (_a = room.getActiveDevice(kind)) != null ? _a : id;\n if (actualDeviceId !== id && id !== \"default\") {\n log.info(\n `We tried to select the device with id (${id}), but the browser decided to select the device with id (${actualDeviceId}) instead.`\n );\n }\n let targetTrack = void 0;\n if (kind === \"audioinput\")\n targetTrack = (_b = room.localParticipant.getTrackPublication(Track8.Source.Microphone)) == null ? void 0 : _b.track;\n else if (kind === \"videoinput\") {\n targetTrack = (_c = room.localParticipant.getTrackPublication(Track8.Source.Camera)) == null ? void 0 : _c.track;\n }\n const useDefault = id === \"default\" && !targetTrack || id === \"default\" && (targetTrack == null ? void 0 : targetTrack.mediaStreamTrack.label.startsWith(\"Default\"));\n activeDeviceSubject.next(useDefault ? id : actualDeviceId);\n } else if (localTrack) {\n yield localTrack.setDeviceId(options.exact ? { exact: id } : id);\n const actualId = yield localTrack.getDeviceId();\n activeDeviceSubject.next(\n id === \"default\" && localTrack.mediaStreamTrack.label.startsWith(\"Default\") ? id : actualId\n );\n } else if (activeDeviceSubject.value !== id) {\n log.warn(\n \"device switch skipped, please provide either a room or a local track to switch on. \"\n );\n activeDeviceSubject.next(id);\n }\n });\n const className = prefixClass(\"media-device-select\");\n return {\n className,\n activeDeviceObservable,\n setActiveMediaDevice\n };\n}\n\n// src/components/disconnectButton.ts\nfunction setupDisconnectButton(room) {\n const disconnect = (stopTracks) => {\n room.disconnect(stopTracks);\n };\n const className = prefixClass(\"disconnect-button\");\n return { className, disconnect };\n}\n\n// src/components/connectionQualityIndicator.ts\nfunction setupConnectionQualityIndicator(participant) {\n const className = prefixClass(\"connection-quality\");\n const connectionQualityObserver = createConnectionQualityObserver(participant);\n return { className, connectionQualityObserver };\n}\n\n// src/components/trackMutedIndicator.ts\nimport { Track as Track9 } from \"livekit-client\";\nfunction setupTrackMutedIndicator(trackRef) {\n let classForSource = \"track-muted-indicator-camera\";\n switch (trackRef.source) {\n case Track9.Source.Camera:\n classForSource = \"track-muted-indicator-camera\";\n break;\n case Track9.Source.Microphone:\n classForSource = \"track-muted-indicator-microphone\";\n break;\n default:\n break;\n }\n const className = prefixClass(classForSource);\n const mediaMutedObserver = mutedObserver(trackRef);\n return { className, mediaMutedObserver };\n}\n\n// src/components/participantName.ts\nfunction setupParticipantName(participant) {\n const infoObserver = participantInfoObserver(participant);\n return { className: \"lk-participant-name\", infoObserver };\n}\n\n// src/components/participantTile.ts\nfunction setupParticipantTile() {\n const className = prefixClass(\"participant-tile\");\n return {\n className\n };\n}\n\n// src/components/chat.ts\nimport { compareVersions, RoomEvent as RoomEvent4 } from \"livekit-client\";\nimport { BehaviorSubject as BehaviorSubject2, Subject as Subject3, scan, map as map6, takeUntil, merge } from \"rxjs\";\n\n// src/observables/dataChannel.ts\nimport { Observable as Observable3, filter as filter2, map as map5 } from \"rxjs\";\nvar DataTopic = {\n CHAT: \"lk-chat-topic\",\n CHAT_UPDATE: \"lk-chat-update-topic\"\n};\nfunction sendMessage(_0, _1) {\n return __async(this, arguments, function* (localParticipant, payload, options = {}) {\n const { reliable, destinationIdentities, topic } = options;\n yield localParticipant.publishData(payload, {\n destinationIdentities,\n topic,\n reliable\n });\n });\n}\nfunction setupDataMessageHandler(room, topic, onMessage) {\n const topics = Array.isArray(topic) ? topic : [topic];\n const messageObservable = createDataObserver(room).pipe(\n filter2(\n ([, , , messageTopic]) => topic === void 0 || messageTopic !== void 0 && topics.includes(messageTopic)\n ),\n map5(([payload, participant, , messageTopic]) => {\n const msg = {\n payload,\n topic: messageTopic,\n from: participant\n };\n onMessage == null ? void 0 : onMessage(msg);\n return msg;\n })\n );\n let isSendingSubscriber;\n const isSendingObservable = new Observable3((subscriber) => {\n isSendingSubscriber = subscriber;\n });\n const send = (_0, ..._1) => __async(this, [_0, ..._1], function* (payload, options = {}) {\n isSendingSubscriber.next(true);\n try {\n yield sendMessage(room.localParticipant, payload, __spreadValues({ topic: topics[0] }, options));\n } finally {\n isSendingSubscriber.next(false);\n }\n });\n return { messageObservable, isSendingObservable, send };\n}\nfunction setupChatMessageHandler(room) {\n const chatObservable = createChatObserver(room);\n const send = (text) => __async(this, null, function* () {\n const msg = yield room.localParticipant.sendChatMessage(text);\n return msg;\n });\n const edit = (text, originalMsg) => __async(this, null, function* () {\n const msg = yield room.localParticipant.editChatMessage(text, originalMsg);\n return msg;\n });\n return { chatObservable, send, edit };\n}\n\n// src/components/chat.ts\nvar encoder = new TextEncoder();\nvar decoder = new TextDecoder();\nvar topicSubjectMap = /* @__PURE__ */ new Map();\nvar encode = (message) => encoder.encode(JSON.stringify(message));\nvar decode = (message) => JSON.parse(decoder.decode(message));\nfunction setupChat(room, options) {\n var _a, _b;\n const onDestroyObservable = new Subject3();\n const serverSupportsChatApi = () => {\n var _a2, _b2, _c;\n return ((_a2 = room.serverInfo) == null ? void 0 : _a2.edition) === 1 || !!((_b2 = room.serverInfo) == null ? void 0 : _b2.version) && compareVersions((_c = room.serverInfo) == null ? void 0 : _c.version, \"1.17.2\") > 0;\n };\n const { messageDecoder, messageEncoder, channelTopic, updateChannelTopic } = options != null ? options : {};\n const topic = channelTopic != null ? channelTopic : DataTopic.CHAT;\n const updateTopic = updateChannelTopic != null ? updateChannelTopic : DataTopic.CHAT_UPDATE;\n let needsSetup = false;\n if (!topicSubjectMap.has(room)) {\n needsSetup = true;\n }\n const topicMap = (_a = topicSubjectMap.get(room)) != null ? _a : /* @__PURE__ */ new Map();\n const messageSubject = (_b = topicMap.get(topic)) != null ? _b : new Subject3();\n topicMap.set(topic, messageSubject);\n topicSubjectMap.set(room, topicMap);\n if (needsSetup) {\n const { messageObservable } = setupDataMessageHandler(room, [topic, updateTopic]);\n messageObservable.pipe(takeUntil(onDestroyObservable)).subscribe(messageSubject);\n }\n const { chatObservable, send: sendChatMessage } = setupChatMessageHandler(room);\n const finalMessageDecoder = messageDecoder != null ? messageDecoder : decode;\n const messagesObservable = merge(\n messageSubject.pipe(\n map6((msg) => {\n const parsedMessage = finalMessageDecoder(msg.payload);\n const newMessage = __spreadProps(__spreadValues({}, parsedMessage), { from: msg.from });\n if (isIgnorableChatMessage(newMessage)) {\n return void 0;\n }\n return newMessage;\n })\n ),\n chatObservable.pipe(\n map6(([msg, participant]) => {\n return __spreadProps(__spreadValues({}, msg), { from: participant });\n })\n )\n ).pipe(\n scan((acc, value) => {\n var _a2;\n if (!value) {\n return acc;\n }\n if (\"id\" in value && acc.find((msg) => {\n var _a3, _b2;\n return ((_a3 = msg.from) == null ? void 0 : _a3.identity) === ((_b2 = value.from) == null ? void 0 : _b2.identity) && msg.id === value.id;\n })) {\n const replaceIndex = acc.findIndex((msg) => msg.id === value.id);\n if (replaceIndex > -1) {\n const originalMsg = acc[replaceIndex];\n acc[replaceIndex] = __spreadProps(__spreadValues({}, value), {\n timestamp: originalMsg.timestamp,\n editTimestamp: (_a2 = value.editTimestamp) != null ? _a2 : value.timestamp\n });\n }\n return [...acc];\n }\n return [...acc, value];\n }, []),\n takeUntil(onDestroyObservable)\n );\n const isSending$ = new BehaviorSubject2(false);\n const finalMessageEncoder = messageEncoder != null ? messageEncoder : encode;\n const send = (message) => __async(this, null, function* () {\n isSending$.next(true);\n try {\n const chatMessage = yield sendChatMessage(message);\n const encodedLegacyMsg = finalMessageEncoder(__spreadProps(__spreadValues({}, chatMessage), {\n ignore: serverSupportsChatApi()\n }));\n yield sendMessage(room.localParticipant, encodedLegacyMsg, {\n reliable: true,\n topic\n });\n return chatMessage;\n } finally {\n isSending$.next(false);\n }\n });\n const update = (message, originalMessageOrId) => __async(this, null, function* () {\n const timestamp = Date.now();\n const originalMessage = typeof originalMessageOrId === \"string\" ? { id: originalMessageOrId, message: \"\", timestamp } : originalMessageOrId;\n isSending$.next(true);\n try {\n const editedMessage = yield room.localParticipant.editChatMessage(message, originalMessage);\n const encodedLegacyMessage = finalMessageEncoder(editedMessage);\n yield sendMessage(room.localParticipant, encodedLegacyMessage, {\n topic: updateTopic,\n reliable: true\n });\n return editedMessage;\n } finally {\n isSending$.next(false);\n }\n });\n function destroy() {\n onDestroyObservable.next();\n onDestroyObservable.complete();\n topicSubjectMap.delete(room);\n }\n room.once(RoomEvent4.Disconnected, destroy);\n return {\n messageObservable: messagesObservable,\n isSendingObservable: isSending$,\n send,\n update\n };\n}\nfunction isIgnorableChatMessage(msg) {\n return msg.ignore == true;\n}\n\n// src/components/startAudio.ts\nfunction setupStartAudio() {\n const handleStartAudioPlayback = (room) => __async(this, null, function* () {\n log.info(\"Start Audio for room: \", room);\n yield room.startAudio();\n });\n const className = prefixClass(\"start-audio-button\");\n return { className, roomAudioPlaybackAllowedObservable, handleStartAudioPlayback };\n}\n\n// src/components/startVideo.ts\nfunction setupStartVideo() {\n const handleStartVideoPlayback = (room) => __async(this, null, function* () {\n log.info(\"Start Video for room: \", room);\n yield room.startVideo();\n });\n const className = prefixClass(\"start-audio-button\");\n return { className, roomVideoPlaybackAllowedObservable, handleStartVideoPlayback };\n}\n\n// src/components/chatToggle.ts\nfunction setupChatToggle() {\n const className = [prefixClass(\"button\"), prefixClass(\"chat-toggle\")].join(\" \");\n return { className };\n}\n\n// src/components/focusToggle.ts\nfunction setupFocusToggle() {\n const className = [prefixClass(\"button\"), prefixClass(\"focus-toggle-button\")].join(\" \");\n return { className };\n}\n\n// src/components/clearPinButton.ts\nfunction setupClearPinButton() {\n const className = \"lk-clear-pin-button lk-button\";\n return { className };\n}\n\n// src/components/room.ts\nfunction setupLiveKitRoom() {\n const className = \"lk-room-container\";\n return { className };\n}\n\n// src/observables/track.ts\nimport { RoomEvent as RoomEvent5, TrackEvent } from \"livekit-client\";\nimport { map as map7, Observable as Observable4, startWith as startWith5 } from \"rxjs\";\nfunction trackObservable(track) {\n const trackObserver = observeTrackEvents(\n track,\n TrackEvent.Muted,\n TrackEvent.Unmuted,\n TrackEvent.Subscribed,\n TrackEvent.Unsubscribed\n );\n return trackObserver;\n}\nfunction observeTrackEvents(track, ...events) {\n const observable = new Observable4((subscribe) => {\n const onTrackUpdate = () => {\n subscribe.next(track);\n };\n events.forEach((evt) => {\n track.on(evt, onTrackUpdate);\n });\n const unsubscribe = () => {\n events.forEach((evt) => {\n track.off(evt, onTrackUpdate);\n });\n };\n return unsubscribe;\n }).pipe(startWith5(track));\n return observable;\n}\nfunction getTrackReferences(room, sources, onlySubscribedTracks = true) {\n const localParticipant = room.localParticipant;\n const allParticipants = [localParticipant, ...Array.from(room.remoteParticipants.values())];\n const trackReferences = [];\n allParticipants.forEach((participant) => {\n sources.forEach((source) => {\n const sourceReferences = Array.from(\n participant.trackPublications.values()\n ).filter(\n (track) => track.source === source && // either return all or only the ones that are subscribed\n (!onlySubscribedTracks || track.track)\n ).map((track) => {\n return {\n participant,\n publication: track,\n source: track.source\n };\n });\n trackReferences.push(...sourceReferences);\n });\n });\n return { trackReferences, participants: allParticipants };\n}\nfunction getParticipantTrackRefs(participant, identifier, onlySubscribedTracks = false) {\n const { sources, kind, name } = identifier;\n const sourceReferences = Array.from(participant.trackPublications.values()).filter(\n (pub) => (!sources || sources.includes(pub.source)) && (!kind || pub.kind === kind) && (!name || pub.trackName === name) && // either return all or only the ones that are subscribed\n (!onlySubscribedTracks || pub.track)\n ).map((track) => {\n return {\n participant,\n publication: track,\n source: track.source\n };\n });\n return sourceReferences;\n}\nfunction trackReferencesObservable(room, sources, options) {\n var _a, _b;\n const additionalRoomEvents = (_a = options.additionalRoomEvents) != null ? _a : allParticipantRoomEvents;\n const onlySubscribedTracks = (_b = options.onlySubscribed) != null ? _b : true;\n const roomEvents = Array.from(\n (/* @__PURE__ */ new Set([\n RoomEvent5.ParticipantConnected,\n RoomEvent5.ParticipantDisconnected,\n RoomEvent5.ConnectionStateChanged,\n RoomEvent5.LocalTrackPublished,\n RoomEvent5.LocalTrackUnpublished,\n RoomEvent5.TrackPublished,\n RoomEvent5.TrackUnpublished,\n RoomEvent5.TrackSubscriptionStatusChanged,\n ...additionalRoomEvents\n ])).values()\n );\n const observable = observeRoomEvents(room, ...roomEvents).pipe(\n map7((room2) => {\n const data = getTrackReferences(room2, sources, onlySubscribedTracks);\n log.debug(`TrackReference[] was updated. (length ${data.trackReferences.length})`, data);\n return data;\n }),\n startWith5(getTrackReferences(room, sources, onlySubscribedTracks))\n );\n return observable;\n}\nfunction participantTracksObservable(participant, trackIdentifier) {\n const observable = observeParticipantEvents(participant, ...participantTrackEvents).pipe(\n map7((participant2) => {\n const data = getParticipantTrackRefs(participant2, trackIdentifier);\n log.debug(`TrackReference[] was updated. (length ${data.length})`, data);\n return data;\n }),\n startWith5(getParticipantTrackRefs(participant, trackIdentifier))\n );\n return observable;\n}\nfunction trackEventSelector(publication, event) {\n const observable = new Observable4((subscribe) => {\n const update = (...params) => {\n subscribe.next(params);\n };\n publication.on(event, update);\n const unsubscribe = () => {\n publication.off(event, update);\n };\n return unsubscribe;\n });\n return observable;\n}\nfunction trackTranscriptionObserver(publication) {\n return trackEventSelector(publication, TrackEvent.TranscriptionReceived);\n}\nfunction trackSyncTimeObserver(track) {\n return trackEventSelector(track, TrackEvent.TimeSyncUpdate).pipe(\n map7(([timeUpdate]) => timeUpdate)\n );\n}\n\n// src/observables/dom-event.ts\nimport { concat as concat2, distinctUntilChanged, fromEvent, map as map8, of, skipUntil, timeout } from \"rxjs\";\nfunction createInteractingObservable(htmlElement, inactiveAfter = 1e3) {\n if (htmlElement === null) return of(false);\n const move$ = fromEvent(htmlElement, \"mousemove\", { passive: true }).pipe(map8(() => true));\n const moveAndStop$ = move$.pipe(\n timeout({\n each: inactiveAfter,\n with: () => concat2(of(false), moveAndStop$.pipe(skipUntil(move$)))\n }),\n distinctUntilChanged()\n );\n return moveAndStop$;\n}\n\n// src/persistent-storage/local-storage-helpers.ts\nfunction saveToLocalStorage(key, value) {\n if (typeof localStorage === \"undefined\") {\n log.error(\"Local storage is not available.\");\n return;\n }\n try {\n if (value) {\n const nonEmptySettings = Object.fromEntries(\n Object.entries(value).filter(([, value2]) => value2 !== \"\")\n );\n localStorage.setItem(key, JSON.stringify(nonEmptySettings));\n }\n } catch (error) {\n log.error(`Error setting item to local storage: ${error}`);\n }\n}\nfunction loadFromLocalStorage(key) {\n if (typeof localStorage === \"undefined\") {\n log.error(\"Local storage is not available.\");\n return void 0;\n }\n try {\n const item = localStorage.getItem(key);\n if (!item) {\n log.warn(`Item with key ${key} does not exist in local storage.`);\n return void 0;\n }\n return JSON.parse(item);\n } catch (error) {\n log.error(`Error getting item from local storage: ${error}`);\n return void 0;\n }\n}\nfunction createLocalStorageInterface(key) {\n return {\n load: () => loadFromLocalStorage(key),\n save: (value) => saveToLocalStorage(key, value)\n };\n}\n\n// src/persistent-storage/user-choices.ts\nvar USER_CHOICES_KEY = `${cssPrefix}-user-choices`;\nvar defaultUserChoices = {\n videoEnabled: true,\n audioEnabled: true,\n videoDeviceId: \"\",\n audioDeviceId: \"\",\n username: \"\"\n};\nvar { load, save } = createLocalStorageInterface(USER_CHOICES_KEY);\nfunction saveUserChoices(userChoices, preventSave = false) {\n if (preventSave === true) {\n return;\n }\n save(userChoices);\n}\nfunction loadUserChoices(defaults, preventLoad = false) {\n var _a, _b, _c, _d, _e;\n const fallback = {\n videoEnabled: (_a = defaults == null ? void 0 : defaults.videoEnabled) != null ? _a : defaultUserChoices.videoEnabled,\n audioEnabled: (_b = defaults == null ? void 0 : defaults.audioEnabled) != null ? _b : defaultUserChoices.audioEnabled,\n videoDeviceId: (_c = defaults == null ? void 0 : defaults.videoDeviceId) != null ? _c : defaultUserChoices.videoDeviceId,\n audioDeviceId: (_d = defaults == null ? void 0 : defaults.audioDeviceId) != null ? _d : defaultUserChoices.audioDeviceId,\n username: (_e = defaults == null ? void 0 : defaults.username) != null ? _e : defaultUserChoices.username\n };\n if (preventLoad) {\n return fallback;\n } else {\n const maybeLoadedObject = load();\n const result = __spreadValues(__spreadValues({}, fallback), maybeLoadedObject != null ? maybeLoadedObject : {});\n return result;\n }\n}\nexport {\n DataTopic,\n GRID_LAYOUTS,\n PIN_DEFAULT_STATE,\n WIDGET_DEFAULT_STATE,\n activeSpeakerObserver,\n addMediaTimestampToTranscription,\n allParticipantEvents,\n allParticipantRoomEvents,\n allRemoteParticipantEvents,\n allRemoteParticipantRoomEvents,\n attachIfSubscribed,\n computeMenuPosition,\n connectedParticipantObserver,\n connectedParticipantsObserver,\n connectionStateObserver,\n createActiveDeviceObservable,\n createChatObserver,\n createConnectionQualityObserver,\n createDataObserver,\n createDefaultGrammar,\n createEmailRegExp,\n createInteractingObservable,\n createIsSpeakingObserver,\n createMediaDeviceObserver,\n createTrackObserver,\n createUrlRegExp,\n cssPrefix,\n dedupeSegments,\n defaultUserChoices,\n didActiveSegmentsChange,\n encryptionStatusObservable,\n getActiveTranscriptionSegments,\n getScrollBarWidth,\n getTrackByIdentifier,\n getTrackReferenceId,\n getTrackReferenceSource,\n isEqualTrackRef,\n isLocal,\n isMobileBrowser,\n isParticipantTrackReferencePinned,\n isPlaceholderReplacement,\n isRemote,\n isSourceWitOptions,\n isSourcesWithOptions,\n isTrackReference,\n isTrackReferencePinned,\n isTrackReferencePlaceholder,\n isWeb,\n loadUserChoices,\n log,\n mutedObserver,\n observeParticipantEvents,\n observeParticipantMedia,\n observeRoomEvents,\n observeTrackEvents,\n participantAttributesObserver,\n participantByIdentifierObserver,\n participantEventSelector,\n participantInfoObserver,\n participantPermissionObserver,\n participantTrackEvents,\n participantTracksObservable,\n recordingStatusObservable,\n roomAudioPlaybackAllowedObservable,\n roomEventSelector,\n roomInfoObserver,\n roomObserver,\n roomVideoPlaybackAllowedObservable,\n saveUserChoices,\n screenShareObserver,\n selectGridLayout,\n sendMessage,\n setDifference,\n setLogExtension,\n setLogLevel,\n setupChat,\n setupChatMessageHandler,\n setupChatToggle,\n setupClearPinButton,\n setupConnectionQualityIndicator,\n setupDataMessageHandler,\n setupDeviceSelector,\n setupDisconnectButton,\n setupFocusToggle,\n setupLiveKitRoom,\n setupManualToggle,\n setupMediaToggle,\n setupMediaTrack,\n setupParticipantName,\n setupParticipantTile,\n setupStartAudio,\n setupStartVideo,\n setupTrackMutedIndicator,\n sortParticipants,\n sortTrackReferences,\n supportsScreenSharing,\n tokenize,\n trackEventSelector,\n trackObservable,\n trackReferencesObservable,\n trackSyncTimeObserver,\n trackTranscriptionObserver,\n updatePages,\n wasClickOutside\n};\n//# sourceMappingURL=index.mjs.map","// src/ProcessorWrapper.ts\nvar ProcessorWrapper = class {\n static get isSupported() {\n return typeof MediaStreamTrackGenerator !== \"undefined\" && typeof MediaStreamTrackProcessor !== \"undefined\";\n }\n constructor(transformer, name) {\n this.name = name;\n this.transformer = transformer;\n }\n async setup(opts) {\n var _a, _b, _c, _d;\n this.source = opts.track;\n const origConstraints = this.source.getConstraints();\n await this.source.applyConstraints({\n ...origConstraints,\n // @ts-expect-error when a mediastream track is resized and/or cropped, the `VideoFrame` will have a coded height/width of the original video size\n // this leads to a shift of the underlying video as the frame itself is being rendered with the coded size\n // but image segmentation is based on the display dimensions (-> the cropped version)\n // in order to prevent this, we force the resize mode to \"none\"\n resizeMode: \"none\"\n });\n this.sourceSettings = this.source.getSettings();\n this.sourceDummy = opts.element;\n if (!(this.sourceDummy instanceof HTMLVideoElement)) {\n throw TypeError(\"Currently only video transformers are supported\");\n }\n if (this.sourceDummy instanceof HTMLVideoElement) {\n this.sourceDummy.height = (_a = this.sourceSettings.height) != null ? _a : 300;\n this.sourceDummy.width = (_b = this.sourceSettings.width) != null ? _b : 300;\n }\n this.processor = new MediaStreamTrackProcessor({ track: this.source });\n this.trackGenerator = new MediaStreamTrackGenerator({\n kind: \"video\",\n signalTarget: this.source\n });\n this.canvas = new OffscreenCanvas(\n (_c = this.sourceSettings.width) != null ? _c : 300,\n (_d = this.sourceSettings.height) != null ? _d : 300\n );\n }\n async init(opts) {\n await this.setup(opts);\n if (!this.canvas || !this.processor || !this.trackGenerator) {\n throw new TypeError(\"Expected both canvas and processor to be defined after setup\");\n }\n const readableStream = this.processor.readable;\n await this.transformer.init({\n outputCanvas: this.canvas,\n inputElement: this.sourceDummy\n });\n const pipedStream = readableStream.pipeThrough(this.transformer.transformer);\n pipedStream.pipeTo(this.trackGenerator.writable).catch((e) => console.error(\"error when trying to pipe\", e)).finally(() => this.destroy());\n this.processedTrack = this.trackGenerator;\n }\n async restart(opts) {\n await this.destroy();\n return this.init(opts);\n }\n async restartTransformer(...options) {\n this.transformer.restart(options[0]);\n }\n async updateTransformerOptions(...options) {\n this.transformer.update(options[0]);\n }\n async destroy() {\n var _a;\n await this.transformer.destroy();\n (_a = this.trackGenerator) == null ? void 0 : _a.stop();\n }\n};\n\n// src/transformers/BackgroundTransformer.ts\nimport * as vision from \"@mediapipe/tasks-vision\";\n\n// package.json\nvar dependencies = {\n \"@mediapipe/holistic\": \"0.5.1675471629\",\n \"@mediapipe/tasks-vision\": \"0.10.9\"\n};\n\n// src/transformers/VideoTransformer.ts\nvar VideoTransformer = class {\n constructor() {\n this.isDisabled = false;\n }\n async init({\n outputCanvas,\n inputElement: inputVideo\n }) {\n var _a;\n if (!(inputVideo instanceof HTMLVideoElement)) {\n throw TypeError(\"Video transformer needs a HTMLVideoElement as input\");\n }\n this.transformer = new TransformStream({\n transform: (frame, controller) => this.transform(frame, controller)\n });\n this.canvas = outputCanvas || null;\n if (outputCanvas) {\n this.ctx = ((_a = this.canvas) == null ? void 0 : _a.getContext(\"2d\")) || void 0;\n }\n this.inputVideo = inputVideo;\n this.isDisabled = false;\n }\n async restart({ outputCanvas, inputElement: inputVideo }) {\n this.canvas = outputCanvas || null;\n this.ctx = this.canvas.getContext(\"2d\") || void 0;\n this.inputVideo = inputVideo;\n this.isDisabled = false;\n }\n async destroy() {\n this.isDisabled = true;\n this.canvas = void 0;\n this.ctx = void 0;\n }\n};\n\n// src/transformers/BackgroundTransformer.ts\nvar BackgroundProcessor = class extends VideoTransformer {\n constructor(opts) {\n super();\n this.backgroundImage = null;\n this.options = opts;\n this.update(opts);\n }\n static get isSupported() {\n return typeof OffscreenCanvas !== \"undefined\";\n }\n async init({ outputCanvas, inputElement: inputVideo }) {\n var _a, _b, _c, _d, _e;\n await super.init({ outputCanvas, inputElement: inputVideo });\n const fileSet = await vision.FilesetResolver.forVisionTasks(\n (_b = (_a = this.options.assetPaths) == null ? void 0 : _a.tasksVisionFileSet) != null ? _b : `https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@${dependencies[\"@mediapipe/tasks-vision\"]}/wasm`\n );\n this.imageSegmenter = await vision.ImageSegmenter.createFromOptions(fileSet, {\n baseOptions: {\n modelAssetPath: (_d = (_c = this.options.assetPaths) == null ? void 0 : _c.modelAssetPath) != null ? _d : \"https://storage.googleapis.com/mediapipe-models/image_segmenter/selfie_segmenter/float16/latest/selfie_segmenter.tflite\",\n delegate: \"GPU\",\n ...this.options.segmenterOptions\n },\n runningMode: \"VIDEO\",\n outputCategoryMask: true,\n outputConfidenceMasks: false\n });\n if (((_e = this.options) == null ? void 0 : _e.imagePath) && !this.backgroundImage) {\n await this.loadBackground(this.options.imagePath).catch(\n (err) => console.error(\"Error while loading processor background image: \", err)\n );\n }\n }\n async destroy() {\n var _a;\n await super.destroy();\n await ((_a = this.imageSegmenter) == null ? void 0 : _a.close());\n this.backgroundImage = null;\n }\n async loadBackground(path) {\n const img = new Image();\n await new Promise((resolve, reject) => {\n img.crossOrigin = \"Anonymous\";\n img.onload = () => resolve(img);\n img.onerror = (err) => reject(err);\n img.src = path;\n });\n const imageData = await createImageBitmap(img);\n this.backgroundImage = imageData;\n }\n async transform(frame, controller) {\n var _a;\n try {\n if (!(frame instanceof VideoFrame)) {\n console.debug(\"empty frame detected, ignoring\");\n return;\n }\n if (this.isDisabled) {\n controller.enqueue(frame);\n return;\n }\n if (!this.canvas) {\n throw TypeError(\"Canvas needs to be initialized first\");\n }\n let startTimeMs = performance.now();\n (_a = this.imageSegmenter) == null ? void 0 : _a.segmentForVideo(\n this.inputVideo,\n startTimeMs,\n (result) => this.segmentationResults = result\n );\n if (this.blurRadius) {\n await this.blurBackground(frame);\n } else {\n await this.drawVirtualBackground(frame);\n }\n const newFrame = new VideoFrame(this.canvas, {\n timestamp: frame.timestamp || Date.now()\n });\n controller.enqueue(newFrame);\n } finally {\n frame == null ? void 0 : frame.close();\n }\n }\n async update(opts) {\n this.options = opts;\n if (opts.blurRadius) {\n this.blurRadius = opts.blurRadius;\n } else if (opts.imagePath) {\n await this.loadBackground(opts.imagePath);\n }\n }\n async drawVirtualBackground(frame) {\n var _a;\n if (!this.canvas || !this.ctx || !this.segmentationResults || !this.inputVideo)\n return;\n if ((_a = this.segmentationResults) == null ? void 0 : _a.categoryMask) {\n this.ctx.filter = \"blur(10px)\";\n this.ctx.globalCompositeOperation = \"copy\";\n const bitmap = await maskToBitmap(\n this.segmentationResults.categoryMask,\n this.segmentationResults.categoryMask.width,\n this.segmentationResults.categoryMask.height\n );\n this.ctx.drawImage(bitmap, 0, 0, this.canvas.width, this.canvas.height);\n this.ctx.filter = \"none\";\n this.ctx.globalCompositeOperation = \"source-in\";\n if (this.backgroundImage) {\n this.ctx.drawImage(\n this.backgroundImage,\n 0,\n 0,\n this.backgroundImage.width,\n this.backgroundImage.height,\n 0,\n 0,\n this.canvas.width,\n this.canvas.height\n );\n } else {\n this.ctx.fillStyle = \"#00FF00\";\n this.ctx.fillRect(0, 0, this.canvas.width, this.canvas.height);\n }\n this.ctx.globalCompositeOperation = \"destination-over\";\n }\n this.ctx.drawImage(frame, 0, 0, this.canvas.width, this.canvas.height);\n }\n async blurBackground(frame) {\n var _a, _b;\n if (!this.ctx || !this.canvas || !((_b = (_a = this.segmentationResults) == null ? void 0 : _a.categoryMask) == null ? void 0 : _b.canvas) || !this.inputVideo) {\n return;\n }\n this.ctx.save();\n this.ctx.globalCompositeOperation = \"copy\";\n const bitmap = await maskToBitmap(\n this.segmentationResults.categoryMask,\n this.segmentationResults.categoryMask.width,\n this.segmentationResults.categoryMask.height\n );\n this.ctx.filter = \"blur(3px)\";\n this.ctx.globalCompositeOperation = \"copy\";\n this.ctx.drawImage(bitmap, 0, 0, this.canvas.width, this.canvas.height);\n this.ctx.filter = \"none\";\n this.ctx.globalCompositeOperation = \"source-out\";\n this.ctx.drawImage(frame, 0, 0, this.canvas.width, this.canvas.height);\n this.ctx.globalCompositeOperation = \"destination-over\";\n this.ctx.filter = `blur(${this.blurRadius}px)`;\n this.ctx.drawImage(frame, 0, 0, this.canvas.width, this.canvas.height);\n this.ctx.restore();\n }\n};\nfunction maskToBitmap(mask, videoWidth, videoHeight) {\n const dataArray = new Uint8ClampedArray(videoWidth * videoHeight * 4);\n const result = mask.getAsUint8Array();\n for (let i = 0; i < result.length; i += 1) {\n dataArray[i * 4] = result[i];\n dataArray[i * 4 + 1] = result[i];\n dataArray[i * 4 + 2] = result[i];\n dataArray[i * 4 + 3] = result[i];\n }\n const dataNew = new ImageData(dataArray, videoWidth, videoHeight);\n return createImageBitmap(dataNew);\n}\n\n// src/index.ts\nvar BackgroundBlur = (blurRadius = 10, segmenterOptions) => {\n return BackgroundProcessor2({ blurRadius, segmenterOptions }, \"background-blur\");\n};\nvar VirtualBackground = (imagePath, segmenterOptions) => {\n return BackgroundProcessor2({ imagePath, segmenterOptions }, \"virtual-background\");\n};\nvar BackgroundProcessor2 = (options, name = \"background-processor\") => {\n const isProcessorSupported = ProcessorWrapper.isSupported && BackgroundProcessor.isSupported;\n if (!isProcessorSupported) {\n throw new Error(\"processor is not supported in this browser\");\n }\n const processor = new ProcessorWrapper(new BackgroundProcessor(options), name);\n return processor;\n};\nexport {\n BackgroundBlur,\n BackgroundProcessor2 as BackgroundProcessor,\n BackgroundProcessor as BackgroundTransformer,\n ProcessorWrapper,\n VideoTransformer,\n VirtualBackground\n};\n//# sourceMappingURL=index.mjs.map","var fE = Object.defineProperty;\nvar GE = (C, A, g) => A in C ? fE(C, A, { enumerable: !0, configurable: !0, writable: !0, value: g }) : C[A] = g;\nvar iA = (C, A, g) => (GE(C, typeof A != \"symbol\" ? A + \"\" : A, g), g), dI = (C, A, g) => {\n if (!A.has(C))\n throw TypeError(\"Cannot \" + g);\n};\nvar S = (C, A, g) => (dI(C, A, \"read from private field\"), g ? g.call(C) : A.get(C)), eA = (C, A, g) => {\n if (A.has(C))\n throw TypeError(\"Cannot add the same private member more than once\");\n A instanceof WeakSet ? A.add(C) : A.set(C, g);\n}, gA = (C, A, g, I) => (dI(C, A, \"write to private field\"), I ? I.call(C, g) : A.set(C, g), g);\nvar wI = (C, A, g) => (dI(C, A, \"access private method\"), g);\nfunction NE(C, A) {\n return A.forEach(function(g) {\n g && typeof g != \"string\" && !Array.isArray(g) && Object.keys(g).forEach(function(I) {\n if (I !== \"default\" && !(I in C)) {\n var Q = Object.getOwnPropertyDescriptor(g, I);\n Object.defineProperty(C, I, Q.get ? Q : {\n enumerable: !0,\n get: function() {\n return g[I];\n }\n });\n }\n });\n }), Object.freeze(C);\n}\nfunction CA(C, A) {\n if (!C)\n throw new Error(A);\n}\nconst RE = 34028234663852886e22, FE = -34028234663852886e22, SE = 4294967295, yE = 2147483647, lE = -2147483648;\nfunction Hg(C) {\n if (typeof C != \"number\")\n throw new Error(\"invalid int 32: \" + typeof C);\n if (!Number.isInteger(C) || C > yE || C < lE)\n throw new Error(\"invalid int 32: \" + C);\n}\nfunction KI(C) {\n if (typeof C != \"number\")\n throw new Error(\"invalid uint 32: \" + typeof C);\n if (!Number.isInteger(C) || C > SE || C < 0)\n throw new Error(\"invalid uint 32: \" + C);\n}\nfunction wQ(C) {\n if (typeof C != \"number\")\n throw new Error(\"invalid float 32: \" + typeof C);\n if (Number.isFinite(C) && (C > RE || C < FE))\n throw new Error(\"invalid float 32: \" + C);\n}\nconst kQ = Symbol(\"@bufbuild/protobuf/enum-type\");\nfunction ME(C) {\n const A = C[kQ];\n return CA(A, \"missing enum type on enum object\"), A;\n}\nfunction _Q(C, A, g, I) {\n C[kQ] = fQ(A, g.map((Q) => ({\n no: Q.no,\n name: Q.name,\n localName: C[Q.no]\n })));\n}\nfunction fQ(C, A, g) {\n const I = /* @__PURE__ */ Object.create(null), Q = /* @__PURE__ */ Object.create(null), B = [];\n for (const E of A) {\n const x = GQ(E);\n B.push(x), I[E.name] = x, Q[E.no] = x;\n }\n return {\n typeName: C,\n values: B,\n // We do not surface options at this time\n // options: opt?.options ?? Object.create(null),\n findName(E) {\n return I[E];\n },\n findNumber(E) {\n return Q[E];\n }\n };\n}\nfunction uE(C, A, g) {\n const I = {};\n for (const Q of A) {\n const B = GQ(Q);\n I[B.localName] = B.no, I[B.no] = B.localName;\n }\n return _Q(I, C, A), I;\n}\nfunction GQ(C) {\n return \"localName\" in C ? C : Object.assign(Object.assign({}, C), {\n localName: C.name\n });\n}\nclass ag {\n /**\n * Compare with a message of the same type.\n */\n equals(A) {\n return this.getType().runtime.util.equals(this.getType(), this, A);\n }\n /**\n * Create a deep copy.\n */\n clone() {\n return this.getType().runtime.util.clone(this);\n }\n /**\n * Parse from binary data, merging fields.\n *\n * Repeated fields are appended. Map entries are added, overwriting\n * existing keys.\n *\n * If a message field is already present, it will be merged with the\n * new data.\n */\n fromBinary(A, g) {\n const I = this.getType(), Q = I.runtime.bin, B = Q.makeReadOptions(g);\n return Q.readMessage(this, B.readerFactory(A), A.byteLength, B), this;\n }\n /**\n * Parse a message from a JSON value.\n */\n fromJson(A, g) {\n const I = this.getType(), Q = I.runtime.json, B = Q.makeReadOptions(g);\n return Q.readMessage(I, A, B, this), this;\n }\n /**\n * Parse a message from a JSON string.\n */\n fromJsonString(A, g) {\n let I;\n try {\n I = JSON.parse(A);\n } catch (Q) {\n throw new Error(\"cannot decode \".concat(this.getType().typeName, \" from JSON: \").concat(Q instanceof Error ? Q.message : String(Q)));\n }\n return this.fromJson(I, g);\n }\n /**\n * Serialize the message to binary data.\n */\n toBinary(A) {\n const g = this.getType(), I = g.runtime.bin, Q = I.makeWriteOptions(A), B = Q.writerFactory();\n return I.writeMessage(this, B, Q), B.finish();\n }\n /**\n * Serialize the message to a JSON value, a JavaScript value that can be\n * passed to JSON.stringify().\n */\n toJson(A) {\n const g = this.getType(), I = g.runtime.json, Q = I.makeWriteOptions(A);\n return I.writeMessage(this, Q);\n }\n /**\n * Serialize the message to a JSON string.\n */\n toJsonString(A) {\n var g;\n const I = this.toJson(A);\n return JSON.stringify(I, null, (g = A == null ? void 0 : A.prettySpaces) !== null && g !== void 0 ? g : 0);\n }\n /**\n * Override for serialization behavior. This will be invoked when calling\n * JSON.stringify on this message (i.e. JSON.stringify(msg)).\n *\n * Note that this will not serialize google.protobuf.Any with a packed\n * message because the protobuf JSON format specifies that it needs to be\n * unpacked, and this is only possible with a type registry to look up the\n * message type. As a result, attempting to serialize a message with this\n * type will throw an Error.\n *\n * This method is protected because you should not need to invoke it\n * directly -- instead use JSON.stringify or toJsonString for\n * stringified JSON. Alternatively, if actual JSON is desired, you should\n * use toJson.\n */\n toJSON() {\n return this.toJson({\n emitDefaultValues: !0\n });\n }\n /**\n * Retrieve the MessageType of this message - a singleton that represents\n * the protobuf message declaration and provides metadata for reflection-\n * based operations.\n */\n getType() {\n return Object.getPrototypeOf(this).constructor;\n }\n}\nfunction LE(C, A, g, I) {\n var Q;\n const B = (Q = I == null ? void 0 : I.localName) !== null && Q !== void 0 ? Q : A.substring(A.lastIndexOf(\".\") + 1), E = {\n [B]: function(x) {\n C.util.initFields(this), C.util.initPartial(x, this);\n }\n }[B];\n return Object.setPrototypeOf(E.prototype, new ag()), Object.assign(E, {\n runtime: C,\n typeName: A,\n fields: C.util.newFieldList(g),\n fromBinary(x, i) {\n return new E().fromBinary(x, i);\n },\n fromJson(x, i) {\n return new E().fromJson(x, i);\n },\n fromJsonString(x, i) {\n return new E().fromJsonString(x, i);\n },\n equals(x, i) {\n return C.util.equals(E, x, i);\n }\n }), E;\n}\nvar w;\n(function(C) {\n C[C.DOUBLE = 1] = \"DOUBLE\", C[C.FLOAT = 2] = \"FLOAT\", C[C.INT64 = 3] = \"INT64\", C[C.UINT64 = 4] = \"UINT64\", C[C.INT32 = 5] = \"INT32\", C[C.FIXED64 = 6] = \"FIXED64\", C[C.FIXED32 = 7] = \"FIXED32\", C[C.BOOL = 8] = \"BOOL\", C[C.STRING = 9] = \"STRING\", C[C.BYTES = 12] = \"BYTES\", C[C.UINT32 = 13] = \"UINT32\", C[C.SFIXED32 = 15] = \"SFIXED32\", C[C.SFIXED64 = 16] = \"SFIXED64\", C[C.SINT32 = 17] = \"SINT32\", C[C.SINT64 = 18] = \"SINT64\";\n})(w || (w = {}));\nvar ZA;\n(function(C) {\n C[C.BIGINT = 0] = \"BIGINT\", C[C.STRING = 1] = \"STRING\";\n})(ZA || (ZA = {}));\nfunction KE() {\n let C = 0, A = 0;\n for (let I = 0; I < 28; I += 7) {\n let Q = this.buf[this.pos++];\n if (C |= (Q & 127) << I, !(Q & 128))\n return this.assertBounds(), [C, A];\n }\n let g = this.buf[this.pos++];\n if (C |= (g & 15) << 28, A = (g & 112) >> 4, !(g & 128))\n return this.assertBounds(), [C, A];\n for (let I = 3; I <= 31; I += 7) {\n let Q = this.buf[this.pos++];\n if (A |= (Q & 127) << I, !(Q & 128))\n return this.assertBounds(), [C, A];\n }\n throw new Error(\"invalid varint\");\n}\nfunction kI(C, A, g) {\n for (let B = 0; B < 28; B = B + 7) {\n const E = C >>> B, x = !(!(E >>> 7) && A == 0), i = (x ? E | 128 : E) & 255;\n if (g.push(i), !x)\n return;\n }\n const I = C >>> 28 & 15 | (A & 7) << 4, Q = !!(A >> 3);\n if (g.push((Q ? I | 128 : I) & 255), !!Q) {\n for (let B = 3; B < 31; B = B + 7) {\n const E = A >>> B, x = !!(E >>> 7), i = (x ? E | 128 : E) & 255;\n if (g.push(i), !x)\n return;\n }\n g.push(A >>> 31 & 1);\n }\n}\nconst Tg = 4294967296;\nfunction fC(C) {\n const A = C[0] === \"-\";\n A && (C = C.slice(1));\n const g = 1e6;\n let I = 0, Q = 0;\n function B(E, x) {\n const i = Number(C.slice(E, x));\n Q *= g, I = I * g + i, I >= Tg && (Q = Q + (I / Tg | 0), I = I % Tg);\n }\n return B(-24, -18), B(-18, -12), B(-12, -6), B(-6), A ? RQ(I, Q) : BC(I, Q);\n}\nfunction bE(C, A) {\n let g = BC(C, A);\n const I = g.hi & 2147483648;\n I && (g = RQ(g.lo, g.hi));\n const Q = NQ(g.lo, g.hi);\n return I ? \"-\" + Q : Q;\n}\nfunction NQ(C, A) {\n if ({\n lo: C,\n hi: A\n } = UE(C, A), A <= 2097151)\n return String(Tg * A + C);\n const g = C & 16777215, I = (C >>> 24 | A << 8) & 16777215, Q = A >> 16 & 65535;\n let B = g + I * 6777216 + Q * 6710656, E = I + Q * 8147497, x = Q * 2;\n const i = 1e7;\n return B >= i && (E += Math.floor(B / i), B %= i), E >= i && (x += Math.floor(E / i), E %= i), x.toString() + GC(E) + GC(B);\n}\nfunction UE(C, A) {\n return {\n lo: C >>> 0,\n hi: A >>> 0\n };\n}\nfunction BC(C, A) {\n return {\n lo: C | 0,\n hi: A | 0\n };\n}\nfunction RQ(C, A) {\n return A = ~A, C ? C = ~C + 1 : A += 1, BC(C, A);\n}\nconst GC = (C) => {\n const A = String(C);\n return \"0000000\".slice(A.length) + A;\n};\nfunction NC(C, A) {\n if (C >= 0) {\n for (; C > 127; )\n A.push(C & 127 | 128), C = C >>> 7;\n A.push(C);\n } else {\n for (let g = 0; g < 9; g++)\n A.push(C & 127 | 128), C = C >> 7;\n A.push(1);\n }\n}\nfunction JE() {\n let C = this.buf[this.pos++], A = C & 127;\n if (!(C & 128))\n return this.assertBounds(), A;\n if (C = this.buf[this.pos++], A |= (C & 127) << 7, !(C & 128))\n return this.assertBounds(), A;\n if (C = this.buf[this.pos++], A |= (C & 127) << 14, !(C & 128))\n return this.assertBounds(), A;\n if (C = this.buf[this.pos++], A |= (C & 127) << 21, !(C & 128))\n return this.assertBounds(), A;\n C = this.buf[this.pos++], A |= (C & 15) << 28;\n for (let g = 5; C & 128 && g < 10; g++)\n C = this.buf[this.pos++];\n if (C & 128)\n throw new Error(\"invalid varint\");\n return this.assertBounds(), A >>> 0;\n}\nfunction YE() {\n const C = new DataView(new ArrayBuffer(8));\n if (typeof BigInt == \"function\" && typeof C.getBigInt64 == \"function\" && typeof C.getBigUint64 == \"function\" && typeof C.setBigInt64 == \"function\" && typeof C.setBigUint64 == \"function\" && (typeof process != \"object\" || typeof process.env != \"object\" || process.env.BUF_BIGINT_DISABLE !== \"1\")) {\n const Q = BigInt(\"-9223372036854775808\"), B = BigInt(\"9223372036854775807\"), E = BigInt(\"0\"), x = BigInt(\"18446744073709551615\");\n return {\n zero: BigInt(0),\n supported: !0,\n parse(i) {\n const e = typeof i == \"bigint\" ? i : BigInt(i);\n if (e > B || e < Q)\n throw new Error(\"int64 invalid: \".concat(i));\n return e;\n },\n uParse(i) {\n const e = typeof i == \"bigint\" ? i : BigInt(i);\n if (e > x || e < E)\n throw new Error(\"uint64 invalid: \".concat(i));\n return e;\n },\n enc(i) {\n return C.setBigInt64(0, this.parse(i), !0), {\n lo: C.getInt32(0, !0),\n hi: C.getInt32(4, !0)\n };\n },\n uEnc(i) {\n return C.setBigInt64(0, this.uParse(i), !0), {\n lo: C.getInt32(0, !0),\n hi: C.getInt32(4, !0)\n };\n },\n dec(i, e) {\n return C.setInt32(0, i, !0), C.setInt32(4, e, !0), C.getBigInt64(0, !0);\n },\n uDec(i, e) {\n return C.setInt32(0, i, !0), C.setInt32(4, e, !0), C.getBigUint64(0, !0);\n }\n };\n }\n const g = (Q) => CA(/^-?[0-9]+$/.test(Q), \"int64 invalid: \".concat(Q)), I = (Q) => CA(/^[0-9]+$/.test(Q), \"uint64 invalid: \".concat(Q));\n return {\n zero: \"0\",\n supported: !1,\n parse(Q) {\n return typeof Q != \"string\" && (Q = Q.toString()), g(Q), Q;\n },\n uParse(Q) {\n return typeof Q != \"string\" && (Q = Q.toString()), I(Q), Q;\n },\n enc(Q) {\n return typeof Q != \"string\" && (Q = Q.toString()), g(Q), fC(Q);\n },\n uEnc(Q) {\n return typeof Q != \"string\" && (Q = Q.toString()), I(Q), fC(Q);\n },\n dec(Q, B) {\n return bE(Q, B);\n },\n uDec(Q, B) {\n return NQ(Q, B);\n }\n };\n}\nconst H = YE();\nvar J;\n(function(C) {\n C[C.Varint = 0] = \"Varint\", C[C.Bit64 = 1] = \"Bit64\", C[C.LengthDelimited = 2] = \"LengthDelimited\", C[C.StartGroup = 3] = \"StartGroup\", C[C.EndGroup = 4] = \"EndGroup\", C[C.Bit32 = 5] = \"Bit32\";\n})(J || (J = {}));\nclass pE {\n constructor(A) {\n this.stack = [], this.textEncoder = A ?? new TextEncoder(), this.chunks = [], this.buf = [];\n }\n /**\n * Return all bytes written and reset this writer.\n */\n finish() {\n this.chunks.push(new Uint8Array(this.buf));\n let A = 0;\n for (let Q = 0; Q < this.chunks.length; Q++)\n A += this.chunks[Q].length;\n let g = new Uint8Array(A), I = 0;\n for (let Q = 0; Q < this.chunks.length; Q++)\n g.set(this.chunks[Q], I), I += this.chunks[Q].length;\n return this.chunks = [], g;\n }\n /**\n * Start a new fork for length-delimited data like a message\n * or a packed repeated field.\n *\n * Must be joined later with `join()`.\n */\n fork() {\n return this.stack.push({\n chunks: this.chunks,\n buf: this.buf\n }), this.chunks = [], this.buf = [], this;\n }\n /**\n * Join the last fork. Write its length and bytes, then\n * return to the previous state.\n */\n join() {\n let A = this.finish(), g = this.stack.pop();\n if (!g)\n throw new Error(\"invalid state, fork stack empty\");\n return this.chunks = g.chunks, this.buf = g.buf, this.uint32(A.byteLength), this.raw(A);\n }\n /**\n * Writes a tag (field number and wire type).\n *\n * Equivalent to `uint32( (fieldNo << 3 | type) >>> 0 )`.\n *\n * Generated code should compute the tag ahead of time and call `uint32()`.\n */\n tag(A, g) {\n return this.uint32((A << 3 | g) >>> 0);\n }\n /**\n * Write a chunk of raw bytes.\n */\n raw(A) {\n return this.buf.length && (this.chunks.push(new Uint8Array(this.buf)), this.buf = []), this.chunks.push(A), this;\n }\n /**\n * Write a `uint32` value, an unsigned 32 bit varint.\n */\n uint32(A) {\n for (KI(A); A > 127; )\n this.buf.push(A & 127 | 128), A = A >>> 7;\n return this.buf.push(A), this;\n }\n /**\n * Write a `int32` value, a signed 32 bit varint.\n */\n int32(A) {\n return Hg(A), NC(A, this.buf), this;\n }\n /**\n * Write a `bool` value, a variant.\n */\n bool(A) {\n return this.buf.push(A ? 1 : 0), this;\n }\n /**\n * Write a `bytes` value, length-delimited arbitrary data.\n */\n bytes(A) {\n return this.uint32(A.byteLength), this.raw(A);\n }\n /**\n * Write a `string` value, length-delimited data converted to UTF-8 text.\n */\n string(A) {\n let g = this.textEncoder.encode(A);\n return this.uint32(g.byteLength), this.raw(g);\n }\n /**\n * Write a `float` value, 32-bit floating point number.\n */\n float(A) {\n wQ(A);\n let g = new Uint8Array(4);\n return new DataView(g.buffer).setFloat32(0, A, !0), this.raw(g);\n }\n /**\n * Write a `double` value, a 64-bit floating point number.\n */\n double(A) {\n let g = new Uint8Array(8);\n return new DataView(g.buffer).setFloat64(0, A, !0), this.raw(g);\n }\n /**\n * Write a `fixed32` value, an unsigned, fixed-length 32-bit integer.\n */\n fixed32(A) {\n KI(A);\n let g = new Uint8Array(4);\n return new DataView(g.buffer).setUint32(0, A, !0), this.raw(g);\n }\n /**\n * Write a `sfixed32` value, a signed, fixed-length 32-bit integer.\n */\n sfixed32(A) {\n Hg(A);\n let g = new Uint8Array(4);\n return new DataView(g.buffer).setInt32(0, A, !0), this.raw(g);\n }\n /**\n * Write a `sint32` value, a signed, zigzag-encoded 32-bit varint.\n */\n sint32(A) {\n return Hg(A), A = (A << 1 ^ A >> 31) >>> 0, NC(A, this.buf), this;\n }\n /**\n * Write a `fixed64` value, a signed, fixed-length 64-bit integer.\n */\n sfixed64(A) {\n let g = new Uint8Array(8), I = new DataView(g.buffer), Q = H.enc(A);\n return I.setInt32(0, Q.lo, !0), I.setInt32(4, Q.hi, !0), this.raw(g);\n }\n /**\n * Write a `fixed64` value, an unsigned, fixed-length 64 bit integer.\n */\n fixed64(A) {\n let g = new Uint8Array(8), I = new DataView(g.buffer), Q = H.uEnc(A);\n return I.setInt32(0, Q.lo, !0), I.setInt32(4, Q.hi, !0), this.raw(g);\n }\n /**\n * Write a `int64` value, a signed 64-bit varint.\n */\n int64(A) {\n let g = H.enc(A);\n return kI(g.lo, g.hi, this.buf), this;\n }\n /**\n * Write a `sint64` value, a signed, zig-zag-encoded 64-bit varint.\n */\n sint64(A) {\n let g = H.enc(A), I = g.hi >> 31, Q = g.lo << 1 ^ I, B = (g.hi << 1 | g.lo >>> 31) ^ I;\n return kI(Q, B, this.buf), this;\n }\n /**\n * Write a `uint64` value, an unsigned 64-bit varint.\n */\n uint64(A) {\n let g = H.uEnc(A);\n return kI(g.lo, g.hi, this.buf), this;\n }\n}\nclass mE {\n constructor(A, g) {\n this.varint64 = KE, this.uint32 = JE, this.buf = A, this.len = A.length, this.pos = 0, this.view = new DataView(A.buffer, A.byteOffset, A.byteLength), this.textDecoder = g ?? new TextDecoder();\n }\n /**\n * Reads a tag - field number and wire type.\n */\n tag() {\n let A = this.uint32(), g = A >>> 3, I = A & 7;\n if (g <= 0 || I < 0 || I > 5)\n throw new Error(\"illegal tag: field no \" + g + \" wire type \" + I);\n return [g, I];\n }\n /**\n * Skip one element on the wire and return the skipped data.\n * Supports WireType.StartGroup since v2.0.0-alpha.23.\n */\n skip(A) {\n let g = this.pos;\n switch (A) {\n case J.Varint:\n for (; this.buf[this.pos++] & 128; )\n ;\n break;\n case J.Bit64:\n this.pos += 4;\n case J.Bit32:\n this.pos += 4;\n break;\n case J.LengthDelimited:\n let I = this.uint32();\n this.pos += I;\n break;\n case J.StartGroup:\n let Q;\n for (; (Q = this.tag()[1]) !== J.EndGroup; )\n this.skip(Q);\n break;\n default:\n throw new Error(\"cant skip wire type \" + A);\n }\n return this.assertBounds(), this.buf.subarray(g, this.pos);\n }\n /**\n * Throws error if position in byte array is out of range.\n */\n assertBounds() {\n if (this.pos > this.len)\n throw new RangeError(\"premature EOF\");\n }\n /**\n * Read a `int32` field, a signed 32 bit varint.\n */\n int32() {\n return this.uint32() | 0;\n }\n /**\n * Read a `sint32` field, a signed, zigzag-encoded 32-bit varint.\n */\n sint32() {\n let A = this.uint32();\n return A >>> 1 ^ -(A & 1);\n }\n /**\n * Read a `int64` field, a signed 64-bit varint.\n */\n int64() {\n return H.dec(...this.varint64());\n }\n /**\n * Read a `uint64` field, an unsigned 64-bit varint.\n */\n uint64() {\n return H.uDec(...this.varint64());\n }\n /**\n * Read a `sint64` field, a signed, zig-zag-encoded 64-bit varint.\n */\n sint64() {\n let [A, g] = this.varint64(), I = -(A & 1);\n return A = (A >>> 1 | (g & 1) << 31) ^ I, g = g >>> 1 ^ I, H.dec(A, g);\n }\n /**\n * Read a `bool` field, a variant.\n */\n bool() {\n let [A, g] = this.varint64();\n return A !== 0 || g !== 0;\n }\n /**\n * Read a `fixed32` field, an unsigned, fixed-length 32-bit integer.\n */\n fixed32() {\n return this.view.getUint32((this.pos += 4) - 4, !0);\n }\n /**\n * Read a `sfixed32` field, a signed, fixed-length 32-bit integer.\n */\n sfixed32() {\n return this.view.getInt32((this.pos += 4) - 4, !0);\n }\n /**\n * Read a `fixed64` field, an unsigned, fixed-length 64 bit integer.\n */\n fixed64() {\n return H.uDec(this.sfixed32(), this.sfixed32());\n }\n /**\n * Read a `fixed64` field, a signed, fixed-length 64-bit integer.\n */\n sfixed64() {\n return H.dec(this.sfixed32(), this.sfixed32());\n }\n /**\n * Read a `float` field, 32-bit floating point number.\n */\n float() {\n return this.view.getFloat32((this.pos += 4) - 4, !0);\n }\n /**\n * Read a `double` field, a 64-bit floating point number.\n */\n double() {\n return this.view.getFloat64((this.pos += 8) - 8, !0);\n }\n /**\n * Read a `bytes` field, length-delimited arbitrary data.\n */\n bytes() {\n let A = this.uint32(), g = this.pos;\n return this.pos += A, this.assertBounds(), this.buf.subarray(g, g + A);\n }\n /**\n * Read a `string` field, length-delimited data converted to UTF-8 text.\n */\n string() {\n return this.textDecoder.decode(this.bytes());\n }\n}\nfunction LA(C, A, g) {\n if (A === g)\n return !0;\n if (C == w.BYTES) {\n if (!(A instanceof Uint8Array) || !(g instanceof Uint8Array) || A.length !== g.length)\n return !1;\n for (let I = 0; I < A.length; I++)\n if (A[I] !== g[I])\n return !1;\n return !0;\n }\n switch (C) {\n case w.UINT64:\n case w.FIXED64:\n case w.INT64:\n case w.SFIXED64:\n case w.SINT64:\n return A == g;\n }\n return !1;\n}\nfunction zg(C, A) {\n switch (C) {\n case w.BOOL:\n return !1;\n case w.UINT64:\n case w.FIXED64:\n case w.INT64:\n case w.SFIXED64:\n case w.SINT64:\n return A == 0 ? H.zero : \"0\";\n case w.DOUBLE:\n case w.FLOAT:\n return 0;\n case w.BYTES:\n return new Uint8Array(0);\n case w.STRING:\n return \"\";\n default:\n return 0;\n }\n}\nfunction FQ(C, A) {\n const g = A === void 0;\n let I = J.Varint, Q = A === 0;\n switch (C) {\n case w.STRING:\n Q = g || !A.length, I = J.LengthDelimited;\n break;\n case w.BOOL:\n Q = A === !1;\n break;\n case w.DOUBLE:\n I = J.Bit64;\n break;\n case w.FLOAT:\n I = J.Bit32;\n break;\n case w.INT64:\n Q = g || A == 0;\n break;\n case w.UINT64:\n Q = g || A == 0;\n break;\n case w.FIXED64:\n Q = g || A == 0, I = J.Bit64;\n break;\n case w.BYTES:\n Q = g || !A.byteLength, I = J.LengthDelimited;\n break;\n case w.FIXED32:\n I = J.Bit32;\n break;\n case w.SFIXED32:\n I = J.Bit32;\n break;\n case w.SFIXED64:\n Q = g || A == 0, I = J.Bit64;\n break;\n case w.SINT64:\n Q = g || A == 0;\n break;\n }\n const B = w[C].toLowerCase();\n return [I, B, g || Q];\n}\nfunction qE(C, A, g, I) {\n let Q;\n return {\n typeName: A,\n extendee: g,\n get field() {\n if (!Q) {\n const B = typeof I == \"function\" ? I() : I;\n B.name = A.split(\".\").pop(), B.jsonName = \"[\".concat(A, \"]\"), Q = C.util.newFieldList([B]).list()[0];\n }\n return Q;\n },\n runtime: C\n };\n}\nfunction SQ(C) {\n const A = C.field.localName, g = /* @__PURE__ */ Object.create(null);\n return g[A] = HE(C), [g, () => g[A]];\n}\nfunction HE(C) {\n const A = C.field;\n if (A.repeated)\n return [];\n if (A.default !== void 0)\n return A.default;\n switch (A.kind) {\n case \"enum\":\n return A.T.values[0].no;\n case \"scalar\":\n return zg(A.T, A.L);\n case \"message\":\n const g = A.T, I = new g();\n return g.fieldWrapper ? g.fieldWrapper.unwrapField(I) : I;\n case \"map\":\n throw \"map fields are not allowed to be extensions\";\n }\n}\nfunction TE(C, A) {\n if (!A.repeated && (A.kind == \"enum\" || A.kind == \"scalar\")) {\n for (let g = C.length - 1; g >= 0; --g)\n if (C[g].no == A.no)\n return [C[g]];\n return [];\n }\n return C.filter((g) => g.no === A.no);\n}\nfunction vE(C, A, g, I) {\n return {\n syntax: C,\n json: A,\n bin: g,\n util: I,\n makeMessageType(Q, B, E) {\n return LE(this, Q, B, E);\n },\n makeEnum: uE,\n makeEnumType: fQ,\n getEnumType: ME,\n makeExtension(Q, B, E) {\n return qE(this, Q, B, E);\n }\n };\n}\nfunction yQ(C, A) {\n return A instanceof ag || !C.fieldWrapper ? A : C.fieldWrapper.wrapField(A);\n}\nw.DOUBLE, w.FLOAT, w.INT64, w.UINT64, w.INT32, w.UINT32, w.BOOL, w.STRING, w.BYTES;\nconst $A = Symbol(\"@bufbuild/protobuf/unknown-fields\"), RC = {\n readUnknownFields: !0,\n readerFactory: (C) => new mE(C)\n}, FC = {\n writeUnknownFields: !0,\n writerFactory: () => new pE()\n};\nfunction OE(C) {\n return C ? Object.assign(Object.assign({}, RC), C) : RC;\n}\nfunction PE(C) {\n return C ? Object.assign(Object.assign({}, FC), C) : FC;\n}\nfunction VE() {\n return {\n makeReadOptions: OE,\n makeWriteOptions: PE,\n listUnknownFields(C) {\n var A;\n return (A = C[$A]) !== null && A !== void 0 ? A : [];\n },\n discardUnknownFields(C) {\n delete C[$A];\n },\n writeUnknownFields(C, A) {\n const I = C[$A];\n if (I)\n for (const Q of I)\n A.tag(Q.no, Q.wireType).raw(Q.data);\n },\n onUnknownField(C, A, g, I) {\n const Q = C;\n Array.isArray(Q[$A]) || (Q[$A] = []), Q[$A].push({\n no: A,\n wireType: g,\n data: I\n });\n },\n readMessage(C, A, g, I, Q) {\n const B = C.getType(), E = Q ? A.len : A.pos + g;\n let x, i;\n for (; A.pos < E && ([x, i] = A.tag(), i != J.EndGroup); ) {\n const e = B.fields.find(x);\n if (!e) {\n const o = A.skip(i);\n I.readUnknownFields && this.onUnknownField(C, x, i, o);\n continue;\n }\n SC(C, A, e, i, I);\n }\n if (Q && // eslint-disable-line @typescript-eslint/strict-boolean-expressions\n (i != J.EndGroup || x !== g))\n throw new Error(\"invalid end group tag\");\n },\n readField: SC\n };\n}\nfunction SC(C, A, g, I, Q) {\n let {\n repeated: B,\n localName: E\n } = g;\n switch (g.oneof && (C = C[g.oneof.localName], C.case != E && delete C.value, C.case = E, E = \"value\"), g.kind) {\n case \"scalar\":\n case \"enum\":\n const x = g.kind == \"enum\" ? w.INT32 : g.T;\n let i = $g;\n if (g.kind == \"scalar\" && g.L > 0 && (i = ZE), B) {\n let a = C[E];\n if (I == J.LengthDelimited && x != w.STRING && x != w.BYTES) {\n let h = A.uint32() + A.pos;\n for (; A.pos < h; )\n a.push(i(A, x));\n } else\n a.push(i(A, x));\n } else\n C[E] = i(A, x);\n break;\n case \"message\":\n const e = g.T;\n B ? C[E].push(vg(A, new e(), Q, g)) : C[E] instanceof ag ? vg(A, C[E], Q, g) : (C[E] = vg(A, new e(), Q, g), e.fieldWrapper && !g.oneof && !g.repeated && (C[E] = e.fieldWrapper.unwrapField(C[E])));\n break;\n case \"map\":\n let [o, t] = jE(g, A, Q);\n C[E][o] = t;\n break;\n }\n}\nfunction vg(C, A, g, I) {\n const Q = A.getType().runtime.bin, B = I == null ? void 0 : I.delimited;\n return Q.readMessage(\n A,\n C,\n B ? I == null ? void 0 : I.no : C.uint32(),\n // eslint-disable-line @typescript-eslint/strict-boolean-expressions\n g,\n B\n ), A;\n}\nfunction jE(C, A, g) {\n const I = A.uint32(), Q = A.pos + I;\n let B, E;\n for (; A.pos < Q; ) {\n let [x] = A.tag();\n switch (x) {\n case 1:\n B = $g(A, C.K);\n break;\n case 2:\n switch (C.V.kind) {\n case \"scalar\":\n E = $g(A, C.V.T);\n break;\n case \"enum\":\n E = A.int32();\n break;\n case \"message\":\n E = vg(A, new C.V.T(), g, void 0);\n break;\n }\n break;\n }\n }\n if (B === void 0) {\n let x = zg(C.K, ZA.BIGINT);\n B = C.K == w.BOOL ? x.toString() : x;\n }\n if (typeof B != \"string\" && typeof B != \"number\" && (B = B.toString()), E === void 0)\n switch (C.V.kind) {\n case \"scalar\":\n E = zg(C.V.T, ZA.BIGINT);\n break;\n case \"enum\":\n E = 0;\n break;\n case \"message\":\n E = new C.V.T();\n break;\n }\n return [B, E];\n}\nfunction ZE(C, A) {\n const g = $g(C, A);\n return typeof g == \"bigint\" ? g.toString() : g;\n}\nfunction $g(C, A) {\n switch (A) {\n case w.STRING:\n return C.string();\n case w.BOOL:\n return C.bool();\n case w.DOUBLE:\n return C.double();\n case w.FLOAT:\n return C.float();\n case w.INT32:\n return C.int32();\n case w.INT64:\n return C.int64();\n case w.UINT64:\n return C.uint64();\n case w.FIXED64:\n return C.fixed64();\n case w.BYTES:\n return C.bytes();\n case w.FIXED32:\n return C.fixed32();\n case w.SFIXED32:\n return C.sfixed32();\n case w.SFIXED64:\n return C.sfixed64();\n case w.SINT64:\n return C.sint64();\n case w.UINT32:\n return C.uint32();\n case w.SINT32:\n return C.sint32();\n }\n}\nfunction XE(C, A, g, I, Q) {\n C.tag(g.no, J.LengthDelimited), C.fork();\n let B = I;\n switch (g.K) {\n case w.INT32:\n case w.FIXED32:\n case w.UINT32:\n case w.SFIXED32:\n case w.SINT32:\n B = Number.parseInt(I);\n break;\n case w.BOOL:\n CA(I == \"true\" || I == \"false\"), B = I == \"true\";\n break;\n }\n switch (fg(C, g.K, 1, B, !0), g.V.kind) {\n case \"scalar\":\n fg(C, g.V.T, 2, Q, !0);\n break;\n case \"enum\":\n fg(C, w.INT32, 2, Q, !0);\n break;\n case \"message\":\n C.tag(2, J.LengthDelimited).bytes(Q.toBinary(A));\n break;\n }\n C.join();\n}\nfunction yC(C, A, g, I) {\n const Q = yQ(g.T, I);\n g != null && g.delimited ? C.tag(g.no, J.StartGroup).raw(Q.toBinary(A)).tag(g.no, J.EndGroup) : C.tag(g.no, J.LengthDelimited).bytes(Q.toBinary(A));\n}\nfunction fg(C, A, g, I, Q) {\n let [B, E, x] = FQ(A, I);\n (!x || Q) && C.tag(g, B)[E](I);\n}\nfunction WE(C, A, g, I) {\n if (!I.length)\n return;\n C.tag(g, J.LengthDelimited).fork();\n let [, Q] = FQ(A);\n for (let B = 0; B < I.length; B++)\n C[Q](I[B]);\n C.join();\n}\nfunction zE() {\n return Object.assign(Object.assign({}, VE()), {\n writeField: lC,\n writeMessage(C, A, g) {\n const I = C.getType();\n for (const Q of I.fields.byNumber()) {\n let B, E = Q.localName;\n if (Q.oneof) {\n const x = C[Q.oneof.localName];\n if (x.case !== E)\n continue;\n B = x.value;\n } else\n B = C[E];\n lC(Q, B, A, g);\n }\n return g.writeUnknownFields && this.writeUnknownFields(C, A), A;\n }\n });\n}\nfunction lC(C, A, g, I) {\n const Q = C.repeated;\n switch (C.kind) {\n case \"scalar\":\n case \"enum\":\n let B = C.kind == \"enum\" ? w.INT32 : C.T;\n if (Q)\n if (C.packed)\n WE(g, B, C.no, A);\n else\n for (const E of A)\n fg(g, B, C.no, E, !0);\n else\n A !== void 0 && fg(g, B, C.no, A, !!C.oneof || C.opt);\n break;\n case \"message\":\n if (Q)\n for (const E of A)\n yC(g, I, C, E);\n else\n A !== void 0 && yC(g, I, C, A);\n break;\n case \"map\":\n for (const [E, x] of Object.entries(A))\n XE(g, I, C, E, x);\n break;\n }\n}\nlet SA = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\".split(\"\"), eI = [];\nfor (let C = 0; C < SA.length; C++)\n eI[SA[C].charCodeAt(0)] = C;\neI[45] = SA.indexOf(\"+\");\neI[95] = SA.indexOf(\"/\");\nconst lQ = {\n /**\n * Decodes a base64 string to a byte array.\n *\n * - ignores white-space, including line breaks and tabs\n * - allows inner padding (can decode concatenated base64 strings)\n * - does not require padding\n * - understands base64url encoding:\n * \"-\" instead of \"+\",\n * \"_\" instead of \"/\",\n * no padding\n */\n dec(C) {\n let A = C.length * 3 / 4;\n C[C.length - 2] == \"=\" ? A -= 2 : C[C.length - 1] == \"=\" && (A -= 1);\n let g = new Uint8Array(A), I = 0, Q = 0, B, E = 0;\n for (let x = 0; x < C.length; x++) {\n if (B = eI[C.charCodeAt(x)], B === void 0)\n switch (C[x]) {\n case \"=\":\n Q = 0;\n case `\n`:\n case \"\\r\":\n case \"\t\":\n case \" \":\n continue;\n default:\n throw Error(\"invalid base64 string.\");\n }\n switch (Q) {\n case 0:\n E = B, Q = 1;\n break;\n case 1:\n g[I++] = E << 2 | (B & 48) >> 4, E = B, Q = 2;\n break;\n case 2:\n g[I++] = (E & 15) << 4 | (B & 60) >> 2, E = B, Q = 3;\n break;\n case 3:\n g[I++] = (E & 3) << 6 | B, Q = 0;\n break;\n }\n }\n if (Q == 1)\n throw Error(\"invalid base64 string.\");\n return g.subarray(0, I);\n },\n /**\n * Encode a byte array to a base64 string.\n */\n enc(C) {\n let A = \"\", g = 0, I, Q = 0;\n for (let B = 0; B < C.length; B++)\n switch (I = C[B], g) {\n case 0:\n A += SA[I >> 2], Q = (I & 3) << 4, g = 1;\n break;\n case 1:\n A += SA[Q | I >> 4], Q = (I & 15) << 2, g = 2;\n break;\n case 2:\n A += SA[Q | I >> 6], A += SA[I & 63], g = 0;\n break;\n }\n return g && (A += SA[Q], A += \"=\", g == 1 && (A += \"=\")), A;\n }\n};\nfunction $E(C, A, g) {\n uQ(A, C);\n const I = A.runtime.bin.makeReadOptions(g), Q = TE(C.getType().runtime.bin.listUnknownFields(C), A.field), [B, E] = SQ(A);\n for (const x of Q)\n A.runtime.bin.readField(B, I.readerFactory(x.data), A.field, x.wireType, I);\n return E();\n}\nfunction A0(C, A, g, I) {\n uQ(A, C);\n const Q = A.runtime.bin.makeReadOptions(I), B = A.runtime.bin.makeWriteOptions(I);\n if (MQ(C, A)) {\n const e = C.getType().runtime.bin.listUnknownFields(C).filter((o) => o.no != A.field.no);\n C.getType().runtime.bin.discardUnknownFields(C);\n for (const o of e)\n C.getType().runtime.bin.onUnknownField(C, o.no, o.wireType, o.data);\n }\n const E = B.writerFactory();\n let x = A.field;\n !x.opt && !x.repeated && (x.kind == \"enum\" || x.kind == \"scalar\") && (x = Object.assign(Object.assign({}, A.field), {\n opt: !0\n })), A.runtime.bin.writeField(x, g, E, B);\n const i = Q.readerFactory(E.finish());\n for (; i.pos < i.len; ) {\n const [e, o] = i.tag(), t = i.skip(o);\n C.getType().runtime.bin.onUnknownField(C, e, o, t);\n }\n}\nfunction MQ(C, A) {\n const g = C.getType();\n return A.extendee.typeName === g.typeName && !!g.runtime.bin.listUnknownFields(C).find((I) => I.no == A.field.no);\n}\nfunction uQ(C, A) {\n CA(C.extendee.typeName == A.getType().typeName, \"extension \".concat(C.typeName, \" can only be applied to message \").concat(C.extendee.typeName));\n}\nconst MC = {\n ignoreUnknownFields: !1\n}, uC = {\n emitDefaultValues: !1,\n enumAsInteger: !1,\n useProtoFieldName: !1,\n prettySpaces: 0\n};\nfunction g0(C) {\n return C ? Object.assign(Object.assign({}, MC), C) : MC;\n}\nfunction I0(C) {\n return C ? Object.assign(Object.assign({}, uC), C) : uC;\n}\nfunction C0(C, A) {\n const g = A(Q0, KC);\n return {\n makeReadOptions: g0,\n makeWriteOptions: I0,\n readMessage(I, Q, B, E) {\n if (Q == null || Array.isArray(Q) || typeof Q != \"object\")\n throw new Error(\"cannot decode message \".concat(I.typeName, \" from JSON: \").concat(kA(Q)));\n E = E ?? new I();\n const x = /* @__PURE__ */ new Map(), i = B.typeRegistry;\n for (const [e, o] of Object.entries(Q)) {\n const t = I.fields.findJsonName(e);\n if (t) {\n if (t.oneof) {\n if (o === null && t.kind == \"scalar\")\n continue;\n const a = x.get(t.oneof);\n if (a !== void 0)\n throw new Error(\"cannot decode message \".concat(I.typeName, ' from JSON: multiple keys for oneof \"').concat(t.oneof.name, '\" present: \"').concat(a, '\", \"').concat(e, '\"'));\n x.set(t.oneof, e);\n }\n LC(E, o, t, B, I, C);\n } else {\n let a = !1;\n if (i != null && i.findExtension && e.startsWith(\"[\") && e.endsWith(\"]\")) {\n const c = i.findExtension(e.substring(1, e.length - 1));\n if (c && c.extendee.typeName == I.typeName) {\n a = !0;\n const [h, n] = SQ(c);\n LC(h, o, c.field, B, c, !0), A0(E, c, n(), B);\n }\n }\n if (!a && !B.ignoreUnknownFields)\n throw new Error(\"cannot decode message \".concat(I.typeName, ' from JSON: key \"').concat(e, '\" is unknown'));\n }\n }\n return E;\n },\n writeMessage(I, Q) {\n const B = I.getType(), E = {};\n let x;\n try {\n for (const e of B.fields.byMember()) {\n let o;\n if (e.kind == \"oneof\") {\n const t = I[e.localName];\n if (t.value === void 0)\n continue;\n if (x = e.findField(t.case), !x)\n throw \"oneof case not found: \" + t.case;\n o = g(x, t.value, Q);\n } else\n x = e, o = g(x, I[x.localName], Q);\n o !== void 0 && (E[Q.useProtoFieldName ? x.name : x.jsonName] = o);\n }\n const i = Q.typeRegistry;\n if (i != null && i.findExtensionFor)\n for (const e of B.runtime.bin.listUnknownFields(I)) {\n const o = i.findExtensionFor(B.typeName, e.no);\n if (o && MQ(I, o)) {\n const t = $E(I, o, Q), a = g(o.field, t, Q);\n a !== void 0 && (E[o.field.jsonName] = a);\n }\n }\n } catch (i) {\n const e = x ? \"cannot encode field \".concat(B.typeName, \".\").concat(x.name, \" to JSON\") : \"cannot encode message \".concat(B.typeName, \" to JSON\"), o = i instanceof Error ? i.message : String(i);\n throw new Error(e + (o.length > 0 ? \": \".concat(o) : \"\"));\n }\n return E;\n },\n readScalar: (I, Q, B) => wg(I, Q, B, C),\n // eslint-disable-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return\n writeScalar: KC,\n debug: kA\n };\n}\nfunction kA(C) {\n if (C === null)\n return \"null\";\n switch (typeof C) {\n case \"object\":\n return Array.isArray(C) ? \"array\" : \"object\";\n case \"string\":\n return C.length > 100 ? \"string\" : '\"'.concat(C.split('\"').join('\\\\\"'), '\"');\n default:\n return String(C);\n }\n}\nfunction LC(C, A, g, I, Q, B) {\n let E = g.localName;\n if (g.oneof) {\n if (A === null && g.kind == \"scalar\")\n return;\n C = C[g.oneof.localName] = {\n case: E\n }, E = \"value\";\n }\n if (g.repeated) {\n if (A === null)\n return;\n if (!Array.isArray(A))\n throw new Error(\"cannot decode field \".concat(Q.typeName, \".\").concat(g.name, \" from JSON: \").concat(kA(A)));\n const x = C[E];\n for (const i of A) {\n if (i === null)\n throw new Error(\"cannot decode field \".concat(Q.typeName, \".\").concat(g.name, \" from JSON: \").concat(kA(i)));\n let e;\n switch (g.kind) {\n case \"message\":\n e = g.T.fromJson(i, I);\n break;\n case \"enum\":\n if (e = _I(g.T, i, I.ignoreUnknownFields, !0), e === void 0)\n continue;\n break;\n case \"scalar\":\n try {\n e = wg(g.T, i, g.L, !0);\n } catch (o) {\n let t = \"cannot decode field \".concat(Q.typeName, \".\").concat(g.name, \" from JSON: \").concat(kA(i));\n throw o instanceof Error && o.message.length > 0 && (t += \": \".concat(o.message)), new Error(t);\n }\n break;\n }\n x.push(e);\n }\n } else if (g.kind == \"map\") {\n if (A === null)\n return;\n if (typeof A != \"object\" || Array.isArray(A))\n throw new Error(\"cannot decode field \".concat(Q.typeName, \".\").concat(g.name, \" from JSON: \").concat(kA(A)));\n const x = C[E];\n for (const [i, e] of Object.entries(A)) {\n if (e === null)\n throw new Error(\"cannot decode field \".concat(Q.typeName, \".\").concat(g.name, \" from JSON: map value null\"));\n let o;\n switch (g.V.kind) {\n case \"message\":\n o = g.V.T.fromJson(e, I);\n break;\n case \"enum\":\n if (o = _I(g.V.T, e, I.ignoreUnknownFields, !0), o === void 0)\n continue;\n break;\n case \"scalar\":\n try {\n o = wg(g.V.T, e, ZA.BIGINT, !0);\n } catch (t) {\n let a = \"cannot decode map value for field \".concat(Q.typeName, \".\").concat(g.name, \" from JSON: \").concat(kA(A));\n throw t instanceof Error && t.message.length > 0 && (a += \": \".concat(t.message)), new Error(a);\n }\n break;\n }\n try {\n x[wg(g.K, g.K == w.BOOL ? i == \"true\" ? !0 : i == \"false\" ? !1 : i : i, ZA.BIGINT, !0).toString()] = o;\n } catch (t) {\n let a = \"cannot decode map key for field \".concat(Q.typeName, \".\").concat(g.name, \" from JSON: \").concat(kA(A));\n throw t instanceof Error && t.message.length > 0 && (a += \": \".concat(t.message)), new Error(a);\n }\n }\n } else\n switch (g.kind) {\n case \"message\":\n const x = g.T;\n if (A === null && x.typeName != \"google.protobuf.Value\") {\n if (g.oneof)\n throw new Error(\"cannot decode field \".concat(Q.typeName, \".\").concat(g.name, \" from JSON: null is invalid for oneof field\"));\n return;\n }\n C[E] instanceof ag ? C[E].fromJson(A, I) : (C[E] = x.fromJson(A, I), x.fieldWrapper && !g.oneof && (C[E] = x.fieldWrapper.unwrapField(C[E])));\n break;\n case \"enum\":\n const i = _I(g.T, A, I.ignoreUnknownFields, B);\n i !== void 0 && (C[E] = i);\n break;\n case \"scalar\":\n try {\n C[E] = wg(g.T, A, g.L, B);\n } catch (e) {\n let o = \"cannot decode field \".concat(Q.typeName, \".\").concat(g.name, \" from JSON: \").concat(kA(A));\n throw e instanceof Error && e.message.length > 0 && (o += \": \".concat(e.message)), new Error(o);\n }\n break;\n }\n}\nfunction wg(C, A, g, I) {\n switch (C) {\n case w.DOUBLE:\n case w.FLOAT:\n if (A === null)\n return I ? 0 : void 0;\n if (A === \"NaN\")\n return Number.NaN;\n if (A === \"Infinity\")\n return Number.POSITIVE_INFINITY;\n if (A === \"-Infinity\")\n return Number.NEGATIVE_INFINITY;\n if (A === \"\" || typeof A == \"string\" && A.trim().length !== A.length || typeof A != \"string\" && typeof A != \"number\")\n break;\n const Q = Number(A);\n if (Number.isNaN(Q) || !Number.isFinite(Q))\n break;\n return C == w.FLOAT && wQ(Q), Q;\n case w.INT32:\n case w.FIXED32:\n case w.SFIXED32:\n case w.SINT32:\n case w.UINT32:\n if (A === null)\n return I ? 0 : void 0;\n let B;\n if (typeof A == \"number\" ? B = A : typeof A == \"string\" && A.length > 0 && A.trim().length === A.length && (B = Number(A)), B === void 0)\n break;\n return C == w.UINT32 ? KI(B) : Hg(B), B;\n case w.INT64:\n case w.SFIXED64:\n case w.SINT64:\n if (A === null)\n return I ? H.zero : void 0;\n if (typeof A != \"number\" && typeof A != \"string\")\n break;\n const E = H.parse(A);\n return g ? E.toString() : E;\n case w.FIXED64:\n case w.UINT64:\n if (A === null)\n return I ? H.zero : void 0;\n if (typeof A != \"number\" && typeof A != \"string\")\n break;\n const x = H.uParse(A);\n return g ? x.toString() : x;\n case w.BOOL:\n if (A === null)\n return I ? !1 : void 0;\n if (typeof A != \"boolean\")\n break;\n return A;\n case w.STRING:\n if (A === null)\n return I ? \"\" : void 0;\n if (typeof A != \"string\")\n break;\n try {\n encodeURIComponent(A);\n } catch {\n throw new Error(\"invalid UTF8\");\n }\n return A;\n case w.BYTES:\n if (A === null)\n return I ? new Uint8Array(0) : void 0;\n if (A === \"\")\n return new Uint8Array(0);\n if (typeof A != \"string\")\n break;\n return lQ.dec(A);\n }\n throw new Error();\n}\nfunction _I(C, A, g, I) {\n if (A === null)\n return I ? C.values[0].no : void 0;\n switch (typeof A) {\n case \"number\":\n if (Number.isInteger(A))\n return A;\n break;\n case \"string\":\n const Q = C.findName(A);\n if (Q || g)\n return Q == null ? void 0 : Q.no;\n break;\n }\n throw new Error(\"cannot decode enum \".concat(C.typeName, \" from JSON: \").concat(kA(A)));\n}\nfunction Q0(C, A, g, I) {\n var Q;\n if (A === void 0)\n return A;\n if (!g && C.values[0].no === A)\n return;\n if (I)\n return A;\n if (C.typeName == \"google.protobuf.NullValue\")\n return null;\n const B = C.findNumber(A);\n return (Q = B == null ? void 0 : B.name) !== null && Q !== void 0 ? Q : A;\n}\nfunction KC(C, A, g) {\n if (A !== void 0)\n switch (C) {\n case w.INT32:\n case w.SFIXED32:\n case w.SINT32:\n case w.FIXED32:\n case w.UINT32:\n return CA(typeof A == \"number\"), A != 0 || g ? A : void 0;\n case w.FLOAT:\n case w.DOUBLE:\n return CA(typeof A == \"number\"), Number.isNaN(A) ? \"NaN\" : A === Number.POSITIVE_INFINITY ? \"Infinity\" : A === Number.NEGATIVE_INFINITY ? \"-Infinity\" : A !== 0 || g ? A : void 0;\n case w.STRING:\n return CA(typeof A == \"string\"), A.length > 0 || g ? A : void 0;\n case w.BOOL:\n return CA(typeof A == \"boolean\"), A || g ? A : void 0;\n case w.UINT64:\n case w.FIXED64:\n case w.INT64:\n case w.SFIXED64:\n case w.SINT64:\n return CA(typeof A == \"bigint\" || typeof A == \"string\" || typeof A == \"number\"), g || A != 0 ? A.toString(10) : void 0;\n case w.BYTES:\n return CA(A instanceof Uint8Array), g || A.byteLength > 0 ? lQ.enc(A) : void 0;\n }\n}\nfunction B0() {\n return C0(!0, (C, A) => function(I, Q, B) {\n if (I.kind == \"map\") {\n const E = {};\n switch (I.V.kind) {\n case \"scalar\":\n for (const [i, e] of Object.entries(Q)) {\n const o = A(I.V.T, e, !0);\n CA(o !== void 0), E[i.toString()] = o;\n }\n break;\n case \"message\":\n for (const [i, e] of Object.entries(Q))\n E[i.toString()] = e.toJson(B);\n break;\n case \"enum\":\n const x = I.V.T;\n for (const [i, e] of Object.entries(Q)) {\n CA(e === void 0 || typeof e == \"number\");\n const o = C(x, e, !0, B.enumAsInteger);\n CA(o !== void 0), E[i.toString()] = o;\n }\n break;\n }\n return B.emitDefaultValues || Object.keys(E).length > 0 ? E : void 0;\n } else if (I.repeated) {\n const E = [];\n switch (I.kind) {\n case \"scalar\":\n for (let x = 0; x < Q.length; x++)\n E.push(A(I.T, Q[x], !0));\n break;\n case \"enum\":\n for (let x = 0; x < Q.length; x++)\n E.push(C(I.T, Q[x], !0, B.enumAsInteger));\n break;\n case \"message\":\n for (let x = 0; x < Q.length; x++)\n E.push(Q[x].toJson(B));\n break;\n }\n return B.emitDefaultValues || E.length > 0 ? E : void 0;\n } else {\n if (Q === void 0)\n return;\n switch (I.kind) {\n case \"scalar\":\n return A(I.T, Q, !!I.oneof || I.opt || B.emitDefaultValues);\n case \"enum\":\n return C(I.T, Q, !!I.oneof || I.opt || B.emitDefaultValues, B.enumAsInteger);\n case \"message\":\n return yQ(I.T, Q).toJson(B);\n }\n }\n });\n}\nfunction E0() {\n return {\n setEnumType: _Q,\n initPartial(C, A) {\n if (C === void 0)\n return;\n const g = A.getType();\n for (const I of g.fields.byMember()) {\n const Q = I.localName, B = A, E = C;\n if (E[Q] !== void 0)\n switch (I.kind) {\n case \"oneof\":\n const x = E[Q].case;\n if (x === void 0)\n continue;\n const i = I.findField(x);\n let e = E[Q].value;\n i && i.kind == \"message\" && !(e instanceof i.T) ? e = new i.T(e) : i && i.kind === \"scalar\" && i.T === w.BYTES && (e = ng(e)), B[Q] = {\n case: x,\n value: e\n };\n break;\n case \"scalar\":\n case \"enum\":\n let o = E[Q];\n I.T === w.BYTES && (o = I.repeated ? o.map(ng) : ng(o)), B[Q] = o;\n break;\n case \"map\":\n switch (I.V.kind) {\n case \"scalar\":\n case \"enum\":\n if (I.V.T === w.BYTES)\n for (const [c, h] of Object.entries(E[Q]))\n B[Q][c] = ng(h);\n else\n Object.assign(B[Q], E[Q]);\n break;\n case \"message\":\n const a = I.V.T;\n for (const c of Object.keys(E[Q])) {\n let h = E[Q][c];\n a.fieldWrapper || (h = new a(h)), B[Q][c] = h;\n }\n break;\n }\n break;\n case \"message\":\n const t = I.T;\n if (I.repeated)\n B[Q] = E[Q].map((a) => a instanceof t ? a : new t(a));\n else if (E[Q] !== void 0) {\n const a = E[Q];\n t.fieldWrapper ? /* We can't use BytesValue.typeName as that will create a circular import */ t.typeName === \"google.protobuf.BytesValue\" ? B[Q] = ng(a) : B[Q] = a : B[Q] = a instanceof t ? a : new t(a);\n }\n break;\n }\n }\n },\n equals(C, A, g) {\n return A === g ? !0 : !A || !g ? !1 : C.fields.byMember().every((I) => {\n const Q = A[I.localName], B = g[I.localName];\n if (I.repeated) {\n if (Q.length !== B.length)\n return !1;\n switch (I.kind) {\n case \"message\":\n return Q.every((E, x) => I.T.equals(E, B[x]));\n case \"scalar\":\n return Q.every((E, x) => LA(I.T, E, B[x]));\n case \"enum\":\n return Q.every((E, x) => LA(w.INT32, E, B[x]));\n }\n throw new Error(\"repeated cannot contain \".concat(I.kind));\n }\n switch (I.kind) {\n case \"message\":\n return I.T.equals(Q, B);\n case \"enum\":\n return LA(w.INT32, Q, B);\n case \"scalar\":\n return LA(I.T, Q, B);\n case \"oneof\":\n if (Q.case !== B.case)\n return !1;\n const E = I.findField(Q.case);\n if (E === void 0)\n return !0;\n switch (E.kind) {\n case \"message\":\n return E.T.equals(Q.value, B.value);\n case \"enum\":\n return LA(w.INT32, Q.value, B.value);\n case \"scalar\":\n return LA(E.T, Q.value, B.value);\n }\n throw new Error(\"oneof cannot contain \".concat(E.kind));\n case \"map\":\n const x = Object.keys(Q).concat(Object.keys(B));\n switch (I.V.kind) {\n case \"message\":\n const i = I.V.T;\n return x.every((o) => i.equals(Q[o], B[o]));\n case \"enum\":\n return x.every((o) => LA(w.INT32, Q[o], B[o]));\n case \"scalar\":\n const e = I.V.T;\n return x.every((o) => LA(e, Q[o], B[o]));\n }\n break;\n }\n });\n },\n clone(C) {\n const A = C.getType(), g = new A(), I = g;\n for (const Q of A.fields.byMember()) {\n const B = C[Q.localName];\n let E;\n if (Q.repeated)\n E = B.map(mg);\n else if (Q.kind == \"map\") {\n E = I[Q.localName];\n for (const [x, i] of Object.entries(B))\n E[x] = mg(i);\n } else\n Q.kind == \"oneof\" ? E = Q.findField(B.case) ? {\n case: B.case,\n value: mg(B.value)\n } : {\n case: void 0\n } : E = mg(B);\n I[Q.localName] = E;\n }\n return g;\n }\n };\n}\nfunction mg(C) {\n if (C === void 0)\n return C;\n if (C instanceof ag)\n return C.clone();\n if (C instanceof Uint8Array) {\n const A = new Uint8Array(C.byteLength);\n return A.set(C), A;\n }\n return C;\n}\nfunction ng(C) {\n return C instanceof Uint8Array ? C : new Uint8Array(C);\n}\nclass x0 {\n constructor(A, g) {\n this._fields = A, this._normalizer = g;\n }\n findJsonName(A) {\n if (!this.jsonNames) {\n const g = {};\n for (const I of this.list())\n g[I.jsonName] = g[I.name] = I;\n this.jsonNames = g;\n }\n return this.jsonNames[A];\n }\n find(A) {\n if (!this.numbers) {\n const g = {};\n for (const I of this.list())\n g[I.no] = I;\n this.numbers = g;\n }\n return this.numbers[A];\n }\n list() {\n return this.all || (this.all = this._normalizer(this._fields)), this.all;\n }\n byNumber() {\n return this.numbersAsc || (this.numbersAsc = this.list().concat().sort((A, g) => A.no - g.no)), this.numbersAsc;\n }\n byMember() {\n if (!this.members) {\n this.members = [];\n const A = this.members;\n let g;\n for (const I of this.list())\n I.oneof ? I.oneof !== g && (g = I.oneof, A.push(g)) : A.push(I);\n }\n return this.members;\n }\n}\nfunction LQ(C, A) {\n const g = KQ(C);\n return A ? g : s0(t0(g));\n}\nfunction i0(C) {\n return LQ(C, !1);\n}\nconst e0 = KQ;\nfunction KQ(C) {\n let A = !1;\n const g = [];\n for (let I = 0; I < C.length; I++) {\n let Q = C.charAt(I);\n switch (Q) {\n case \"_\":\n A = !0;\n break;\n case \"0\":\n case \"1\":\n case \"2\":\n case \"3\":\n case \"4\":\n case \"5\":\n case \"6\":\n case \"7\":\n case \"8\":\n case \"9\":\n g.push(Q), A = !1;\n break;\n default:\n A && (A = !1, Q = Q.toUpperCase()), g.push(Q);\n break;\n }\n }\n return g.join(\"\");\n}\nconst o0 = /* @__PURE__ */ new Set([\n // names reserved by JavaScript\n \"constructor\",\n \"toString\",\n \"toJSON\",\n \"valueOf\"\n]), a0 = /* @__PURE__ */ new Set([\n // names reserved by the runtime\n \"getType\",\n \"clone\",\n \"equals\",\n \"fromBinary\",\n \"fromJson\",\n \"fromJsonString\",\n \"toBinary\",\n \"toJson\",\n \"toJsonString\",\n // names reserved by the runtime for the future\n \"toObject\"\n]), bQ = (C) => \"\".concat(C, \"$\"), t0 = (C) => a0.has(C) ? bQ(C) : C, s0 = (C) => o0.has(C) ? bQ(C) : C;\nclass c0 {\n constructor(A) {\n this.kind = \"oneof\", this.repeated = !1, this.packed = !1, this.opt = !1, this.default = void 0, this.fields = [], this.name = A, this.localName = i0(A);\n }\n addField(A) {\n CA(A.oneof === this, \"field \".concat(A.name, \" not one of \").concat(this.name)), this.fields.push(A);\n }\n findField(A) {\n if (!this._lookup) {\n this._lookup = /* @__PURE__ */ Object.create(null);\n for (let g = 0; g < this.fields.length; g++)\n this._lookup[this.fields[g].localName] = this.fields[g];\n }\n return this._lookup[A];\n }\n}\nconst s = vE(\"proto3\", B0(), zE(), Object.assign(Object.assign({}, E0()), {\n newFieldList(C) {\n return new x0(C, n0);\n },\n initFields(C) {\n for (const A of C.getType().fields.byMember()) {\n if (A.opt)\n continue;\n const g = A.localName, I = C;\n if (A.repeated) {\n I[g] = [];\n continue;\n }\n switch (A.kind) {\n case \"oneof\":\n I[g] = {\n case: void 0\n };\n break;\n case \"enum\":\n I[g] = 0;\n break;\n case \"map\":\n I[g] = {};\n break;\n case \"scalar\":\n I[g] = zg(A.T, A.L);\n break;\n }\n }\n }\n}));\nfunction n0(C) {\n var A, g, I, Q;\n const B = [];\n let E;\n for (const x of typeof C == \"function\" ? C() : C) {\n const i = x;\n if (i.localName = LQ(x.name, x.oneof !== void 0), i.jsonName = (A = x.jsonName) !== null && A !== void 0 ? A : e0(x.name), i.repeated = (g = x.repeated) !== null && g !== void 0 ? g : !1, x.kind == \"scalar\" && (i.L = (I = x.L) !== null && I !== void 0 ? I : ZA.BIGINT), x.oneof !== void 0) {\n const e = typeof x.oneof == \"string\" ? x.oneof : x.oneof.name;\n (!E || E.name != e) && (E = new c0(e)), i.oneof = E, E.addField(i);\n }\n x.kind == \"message\" && (i.delimited = !1), i.packed = (Q = x.packed) !== null && Q !== void 0 ? Q : x.kind == \"enum\" || x.kind == \"scalar\" && x.T != w.BYTES && x.T != w.STRING, B.push(i);\n }\n return B;\n}\nclass j extends ag {\n constructor(A) {\n super(), this.seconds = H.zero, this.nanos = 0, s.util.initPartial(A, this);\n }\n fromJson(A, g) {\n if (typeof A != \"string\")\n throw new Error(\"cannot decode google.protobuf.Timestamp from JSON: \".concat(s.json.debug(A)));\n const I = A.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);\n if (!I)\n throw new Error(\"cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string\");\n const Q = Date.parse(I[1] + \"-\" + I[2] + \"-\" + I[3] + \"T\" + I[4] + \":\" + I[5] + \":\" + I[6] + (I[8] ? I[8] : \"Z\"));\n if (Number.isNaN(Q))\n throw new Error(\"cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string\");\n if (Q < Date.parse(\"0001-01-01T00:00:00Z\") || Q > Date.parse(\"9999-12-31T23:59:59Z\"))\n throw new Error(\"cannot decode message google.protobuf.Timestamp from JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive\");\n return this.seconds = H.parse(Q / 1e3), this.nanos = 0, I[7] && (this.nanos = parseInt(\"1\" + I[7] + \"0\".repeat(9 - I[7].length)) - 1e9), this;\n }\n toJson(A) {\n const g = Number(this.seconds) * 1e3;\n if (g < Date.parse(\"0001-01-01T00:00:00Z\") || g > Date.parse(\"9999-12-31T23:59:59Z\"))\n throw new Error(\"cannot encode google.protobuf.Timestamp to JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive\");\n if (this.nanos < 0)\n throw new Error(\"cannot encode google.protobuf.Timestamp to JSON: nanos must not be negative\");\n let I = \"Z\";\n if (this.nanos > 0) {\n const Q = (this.nanos + 1e9).toString().substring(1);\n Q.substring(3) === \"000000\" ? I = \".\" + Q.substring(0, 3) + \"Z\" : Q.substring(6) === \"000\" ? I = \".\" + Q.substring(0, 6) + \"Z\" : I = \".\" + Q + \"Z\";\n }\n return new Date(g).toISOString().replace(\".000Z\", I);\n }\n toDate() {\n return new Date(Number(this.seconds) * 1e3 + Math.ceil(this.nanos / 1e6));\n }\n static now() {\n return j.fromDate(/* @__PURE__ */ new Date());\n }\n static fromDate(A) {\n const g = A.getTime();\n return new j({\n seconds: H.parse(Math.floor(g / 1e3)),\n nanos: g % 1e3 * 1e6\n });\n }\n static fromBinary(A, g) {\n return new j().fromBinary(A, g);\n }\n static fromJson(A, g) {\n return new j().fromJson(A, g);\n }\n static fromJsonString(A, g) {\n return new j().fromJsonString(A, g);\n }\n static equals(A, g) {\n return s.util.equals(j, A, g);\n }\n}\nj.runtime = s;\nj.typeName = \"google.protobuf.Timestamp\";\nj.fields = s.util.newFieldList(() => [{\n no: 1,\n name: \"seconds\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 2,\n name: \"nanos\",\n kind: \"scalar\",\n T: 5\n /* ScalarType.INT32 */\n}]);\nconst UQ = s.makeEnum(\"livekit.AudioCodec\", [{\n no: 0,\n name: \"DEFAULT_AC\"\n}, {\n no: 1,\n name: \"OPUS\"\n}, {\n no: 2,\n name: \"AAC\"\n}]), JQ = s.makeEnum(\"livekit.VideoCodec\", [{\n no: 0,\n name: \"DEFAULT_VC\"\n}, {\n no: 1,\n name: \"H264_BASELINE\"\n}, {\n no: 2,\n name: \"H264_MAIN\"\n}, {\n no: 3,\n name: \"H264_HIGH\"\n}, {\n no: 4,\n name: \"VP8\"\n}]), D0 = s.makeEnum(\"livekit.ImageCodec\", [{\n no: 0,\n name: \"IC_DEFAULT\"\n}, {\n no: 1,\n name: \"IC_JPEG\"\n}]), DA = s.makeEnum(\"livekit.TrackType\", [{\n no: 0,\n name: \"AUDIO\"\n}, {\n no: 1,\n name: \"VIDEO\"\n}, {\n no: 2,\n name: \"DATA\"\n}]), V = s.makeEnum(\"livekit.TrackSource\", [{\n no: 0,\n name: \"UNKNOWN\"\n}, {\n no: 1,\n name: \"CAMERA\"\n}, {\n no: 2,\n name: \"MICROPHONE\"\n}, {\n no: 3,\n name: \"SCREEN_SHARE\"\n}, {\n no: 4,\n name: \"SCREEN_SHARE_AUDIO\"\n}]), EC = s.makeEnum(\"livekit.VideoQuality\", [{\n no: 0,\n name: \"LOW\"\n}, {\n no: 1,\n name: \"MEDIUM\"\n}, {\n no: 2,\n name: \"HIGH\"\n}, {\n no: 3,\n name: \"OFF\"\n}]), kg = s.makeEnum(\"livekit.ConnectionQuality\", [{\n no: 0,\n name: \"POOR\"\n}, {\n no: 1,\n name: \"GOOD\"\n}, {\n no: 2,\n name: \"EXCELLENT\"\n}, {\n no: 3,\n name: \"LOST\"\n}]), Sg = s.makeEnum(\"livekit.ClientConfigSetting\", [{\n no: 0,\n name: \"UNSET\"\n}, {\n no: 1,\n name: \"DISABLED\"\n}, {\n no: 2,\n name: \"ENABLED\"\n}]), Gg = s.makeEnum(\"livekit.DisconnectReason\", [{\n no: 0,\n name: \"UNKNOWN_REASON\"\n}, {\n no: 1,\n name: \"CLIENT_INITIATED\"\n}, {\n no: 2,\n name: \"DUPLICATE_IDENTITY\"\n}, {\n no: 3,\n name: \"SERVER_SHUTDOWN\"\n}, {\n no: 4,\n name: \"PARTICIPANT_REMOVED\"\n}, {\n no: 5,\n name: \"ROOM_DELETED\"\n}, {\n no: 6,\n name: \"STATE_MISMATCH\"\n}, {\n no: 7,\n name: \"JOIN_FAILURE\"\n}, {\n no: 8,\n name: \"MIGRATION\"\n}, {\n no: 9,\n name: \"SIGNAL_CLOSE\"\n}]), Ag = s.makeEnum(\"livekit.ReconnectReason\", [{\n no: 0,\n name: \"RR_UNKNOWN\"\n}, {\n no: 1,\n name: \"RR_SIGNAL_DISCONNECTED\"\n}, {\n no: 2,\n name: \"RR_PUBLISHER_FAILED\"\n}, {\n no: 3,\n name: \"RR_SUBSCRIBER_FAILED\"\n}, {\n no: 4,\n name: \"RR_SWITCH_CANDIDATE\"\n}]), r0 = s.makeEnum(\"livekit.SubscriptionError\", [{\n no: 0,\n name: \"SE_UNKNOWN\"\n}, {\n no: 1,\n name: \"SE_CODEC_UNSUPPORTED\"\n}, {\n no: 2,\n name: \"SE_TRACK_NOTFOUND\"\n}]), tg = s.makeMessageType(\"livekit.Room\", () => [{\n no: 1,\n name: \"sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"empty_timeout\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 14,\n name: \"departure_timeout\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 4,\n name: \"max_participants\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 5,\n name: \"creation_time\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 6,\n name: \"turn_password\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 7,\n name: \"enabled_codecs\",\n kind: \"message\",\n T: bI,\n repeated: !0\n}, {\n no: 8,\n name: \"metadata\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 9,\n name: \"num_participants\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 11,\n name: \"num_publishers\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 10,\n name: \"active_recording\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 13,\n name: \"version\",\n kind: \"message\",\n T: OQ\n}]), bI = s.makeMessageType(\"livekit.Codec\", () => [{\n no: 1,\n name: \"mime\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"fmtp_line\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]);\ns.makeMessageType(\"livekit.PlayoutDelay\", () => [{\n no: 1,\n name: \"enabled\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 2,\n name: \"min\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 3,\n name: \"max\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}]);\nconst YQ = s.makeMessageType(\"livekit.ParticipantPermission\", () => [{\n no: 1,\n name: \"can_subscribe\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 2,\n name: \"can_publish\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 3,\n name: \"can_publish_data\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 9,\n name: \"can_publish_sources\",\n kind: \"enum\",\n T: s.getEnumType(V),\n repeated: !0\n}, {\n no: 7,\n name: \"hidden\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 8,\n name: \"recorder\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 10,\n name: \"can_update_metadata\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 11,\n name: \"agent\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}]), qA = s.makeMessageType(\"livekit.ParticipantInfo\", () => [{\n no: 1,\n name: \"sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"identity\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"state\",\n kind: \"enum\",\n T: s.getEnumType(UI)\n}, {\n no: 4,\n name: \"tracks\",\n kind: \"message\",\n T: yA,\n repeated: !0\n}, {\n no: 5,\n name: \"metadata\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 6,\n name: \"joined_at\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 9,\n name: \"name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 10,\n name: \"version\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 11,\n name: \"permission\",\n kind: \"message\",\n T: YQ\n}, {\n no: 12,\n name: \"region\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 13,\n name: \"is_publisher\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 14,\n name: \"kind\",\n kind: \"enum\",\n T: s.getEnumType(h0)\n}]), UI = s.makeEnum(\"livekit.ParticipantInfo.State\", [{\n no: 0,\n name: \"JOINING\"\n}, {\n no: 1,\n name: \"JOINED\"\n}, {\n no: 2,\n name: \"ACTIVE\"\n}, {\n no: 3,\n name: \"DISCONNECTED\"\n}]), h0 = s.makeEnum(\"livekit.ParticipantInfo.Kind\", [{\n no: 0,\n name: \"STANDARD\"\n}, {\n no: 1,\n name: \"INGRESS\"\n}, {\n no: 2,\n name: \"EGRESS\"\n}, {\n no: 3,\n name: \"SIP\"\n}, {\n no: 4,\n name: \"AGENT\"\n}]);\ns.makeMessageType(\"livekit.Encryption\", []);\nconst aA = s.makeEnum(\"livekit.Encryption.Type\", [{\n no: 0,\n name: \"NONE\"\n}, {\n no: 1,\n name: \"GCM\"\n}, {\n no: 2,\n name: \"CUSTOM\"\n}]), d0 = s.makeMessageType(\"livekit.SimulcastCodecInfo\", () => [{\n no: 1,\n name: \"mime_type\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"mid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"cid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 4,\n name: \"layers\",\n kind: \"message\",\n T: YA,\n repeated: !0\n}]), yA = s.makeMessageType(\"livekit.TrackInfo\", () => [{\n no: 1,\n name: \"sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"type\",\n kind: \"enum\",\n T: s.getEnumType(DA)\n}, {\n no: 3,\n name: \"name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 4,\n name: \"muted\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 5,\n name: \"width\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 6,\n name: \"height\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 7,\n name: \"simulcast\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 8,\n name: \"disable_dtx\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 9,\n name: \"source\",\n kind: \"enum\",\n T: s.getEnumType(V)\n}, {\n no: 10,\n name: \"layers\",\n kind: \"message\",\n T: YA,\n repeated: !0\n}, {\n no: 11,\n name: \"mime_type\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 12,\n name: \"mid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 13,\n name: \"codecs\",\n kind: \"message\",\n T: d0,\n repeated: !0\n}, {\n no: 14,\n name: \"stereo\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 15,\n name: \"disable_red\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 16,\n name: \"encryption\",\n kind: \"enum\",\n T: s.getEnumType(aA)\n}, {\n no: 17,\n name: \"stream\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 18,\n name: \"version\",\n kind: \"message\",\n T: OQ\n}]), YA = s.makeMessageType(\"livekit.VideoLayer\", () => [{\n no: 1,\n name: \"quality\",\n kind: \"enum\",\n T: s.getEnumType(EC)\n}, {\n no: 2,\n name: \"width\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 3,\n name: \"height\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 4,\n name: \"bitrate\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 5,\n name: \"ssrc\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}]), pQ = s.makeMessageType(\"livekit.DataPacket\", () => [{\n no: 1,\n name: \"kind\",\n kind: \"enum\",\n T: s.getEnumType(z)\n}, {\n no: 4,\n name: \"participant_identity\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 5,\n name: \"destination_identities\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 2,\n name: \"user\",\n kind: \"message\",\n T: qQ,\n oneof: \"value\"\n}, {\n no: 3,\n name: \"speaker\",\n kind: \"message\",\n T: w0,\n oneof: \"value\"\n}, {\n no: 6,\n name: \"sip_dtmf\",\n kind: \"message\",\n T: k0,\n oneof: \"value\"\n}]), z = s.makeEnum(\"livekit.DataPacket.Kind\", [{\n no: 0,\n name: \"RELIABLE\"\n}, {\n no: 1,\n name: \"LOSSY\"\n}]), w0 = s.makeMessageType(\"livekit.ActiveSpeakerUpdate\", () => [{\n no: 1,\n name: \"speakers\",\n kind: \"message\",\n T: mQ,\n repeated: !0\n}]), mQ = s.makeMessageType(\"livekit.SpeakerInfo\", () => [{\n no: 1,\n name: \"sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"level\",\n kind: \"scalar\",\n T: 2\n /* ScalarType.FLOAT */\n}, {\n no: 3,\n name: \"active\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}]), qQ = s.makeMessageType(\"livekit.UserPacket\", () => [{\n no: 1,\n name: \"participant_sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 5,\n name: \"participant_identity\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"payload\",\n kind: \"scalar\",\n T: 12\n /* ScalarType.BYTES */\n}, {\n no: 3,\n name: \"destination_sids\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 6,\n name: \"destination_identities\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 4,\n name: \"topic\",\n kind: \"scalar\",\n T: 9,\n opt: !0\n}]), k0 = s.makeMessageType(\"livekit.SipDTMF\", () => [{\n no: 3,\n name: \"code\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 4,\n name: \"digit\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), xC = s.makeMessageType(\"livekit.ParticipantTracks\", () => [{\n no: 1,\n name: \"participant_sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"track_sids\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}]), _0 = s.makeMessageType(\"livekit.ServerInfo\", () => [{\n no: 1,\n name: \"edition\",\n kind: \"enum\",\n T: s.getEnumType(HQ)\n}, {\n no: 2,\n name: \"version\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"protocol\",\n kind: \"scalar\",\n T: 5\n /* ScalarType.INT32 */\n}, {\n no: 4,\n name: \"region\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 5,\n name: \"node_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 6,\n name: \"debug_info\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), HQ = s.makeEnum(\"livekit.ServerInfo.Edition\", [{\n no: 0,\n name: \"Standard\"\n}, {\n no: 1,\n name: \"Cloud\"\n}]), f0 = s.makeMessageType(\"livekit.ClientInfo\", () => [{\n no: 1,\n name: \"sdk\",\n kind: \"enum\",\n T: s.getEnumType(TQ)\n}, {\n no: 2,\n name: \"version\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"protocol\",\n kind: \"scalar\",\n T: 5\n /* ScalarType.INT32 */\n}, {\n no: 4,\n name: \"os\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 5,\n name: \"os_version\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 6,\n name: \"device_model\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 7,\n name: \"browser\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 8,\n name: \"browser_version\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 9,\n name: \"address\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 10,\n name: \"network\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), TQ = s.makeEnum(\"livekit.ClientInfo.SDK\", [{\n no: 0,\n name: \"UNKNOWN\"\n}, {\n no: 1,\n name: \"JS\"\n}, {\n no: 2,\n name: \"SWIFT\"\n}, {\n no: 3,\n name: \"ANDROID\"\n}, {\n no: 4,\n name: \"FLUTTER\"\n}, {\n no: 5,\n name: \"GO\"\n}, {\n no: 6,\n name: \"UNITY\"\n}, {\n no: 7,\n name: \"REACT_NATIVE\"\n}, {\n no: 8,\n name: \"RUST\"\n}, {\n no: 9,\n name: \"PYTHON\"\n}, {\n no: 10,\n name: \"CPP\"\n}]), vQ = s.makeMessageType(\"livekit.ClientConfiguration\", () => [{\n no: 1,\n name: \"video\",\n kind: \"message\",\n T: bC\n}, {\n no: 2,\n name: \"screen\",\n kind: \"message\",\n T: bC\n}, {\n no: 3,\n name: \"resume_connection\",\n kind: \"enum\",\n T: s.getEnumType(Sg)\n}, {\n no: 4,\n name: \"disabled_codecs\",\n kind: \"message\",\n T: G0\n}, {\n no: 5,\n name: \"force_relay\",\n kind: \"enum\",\n T: s.getEnumType(Sg)\n}]), bC = s.makeMessageType(\"livekit.VideoConfiguration\", () => [{\n no: 1,\n name: \"hardware_encoder\",\n kind: \"enum\",\n T: s.getEnumType(Sg)\n}]), G0 = s.makeMessageType(\"livekit.DisabledCodecs\", () => [{\n no: 1,\n name: \"codecs\",\n kind: \"message\",\n T: bI,\n repeated: !0\n}, {\n no: 2,\n name: \"publish\",\n kind: \"message\",\n T: bI,\n repeated: !0\n}]), UC = s.makeMessageType(\"livekit.RTPDrift\", () => [{\n no: 1,\n name: \"start_time\",\n kind: \"message\",\n T: j\n}, {\n no: 2,\n name: \"end_time\",\n kind: \"message\",\n T: j\n}, {\n no: 3,\n name: \"duration\",\n kind: \"scalar\",\n T: 1\n /* ScalarType.DOUBLE */\n}, {\n no: 4,\n name: \"start_timestamp\",\n kind: \"scalar\",\n T: 4\n /* ScalarType.UINT64 */\n}, {\n no: 5,\n name: \"end_timestamp\",\n kind: \"scalar\",\n T: 4\n /* ScalarType.UINT64 */\n}, {\n no: 6,\n name: \"rtp_clock_ticks\",\n kind: \"scalar\",\n T: 4\n /* ScalarType.UINT64 */\n}, {\n no: 7,\n name: \"drift_samples\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 8,\n name: \"drift_ms\",\n kind: \"scalar\",\n T: 1\n /* ScalarType.DOUBLE */\n}, {\n no: 9,\n name: \"clock_rate\",\n kind: \"scalar\",\n T: 1\n /* ScalarType.DOUBLE */\n}]);\ns.makeMessageType(\"livekit.RTPStats\", () => [{\n no: 1,\n name: \"start_time\",\n kind: \"message\",\n T: j\n}, {\n no: 2,\n name: \"end_time\",\n kind: \"message\",\n T: j\n}, {\n no: 3,\n name: \"duration\",\n kind: \"scalar\",\n T: 1\n /* ScalarType.DOUBLE */\n}, {\n no: 4,\n name: \"packets\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 5,\n name: \"packet_rate\",\n kind: \"scalar\",\n T: 1\n /* ScalarType.DOUBLE */\n}, {\n no: 6,\n name: \"bytes\",\n kind: \"scalar\",\n T: 4\n /* ScalarType.UINT64 */\n}, {\n no: 39,\n name: \"header_bytes\",\n kind: \"scalar\",\n T: 4\n /* ScalarType.UINT64 */\n}, {\n no: 7,\n name: \"bitrate\",\n kind: \"scalar\",\n T: 1\n /* ScalarType.DOUBLE */\n}, {\n no: 8,\n name: \"packets_lost\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 9,\n name: \"packet_loss_rate\",\n kind: \"scalar\",\n T: 1\n /* ScalarType.DOUBLE */\n}, {\n no: 10,\n name: \"packet_loss_percentage\",\n kind: \"scalar\",\n T: 2\n /* ScalarType.FLOAT */\n}, {\n no: 11,\n name: \"packets_duplicate\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 12,\n name: \"packet_duplicate_rate\",\n kind: \"scalar\",\n T: 1\n /* ScalarType.DOUBLE */\n}, {\n no: 13,\n name: \"bytes_duplicate\",\n kind: \"scalar\",\n T: 4\n /* ScalarType.UINT64 */\n}, {\n no: 40,\n name: \"header_bytes_duplicate\",\n kind: \"scalar\",\n T: 4\n /* ScalarType.UINT64 */\n}, {\n no: 14,\n name: \"bitrate_duplicate\",\n kind: \"scalar\",\n T: 1\n /* ScalarType.DOUBLE */\n}, {\n no: 15,\n name: \"packets_padding\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 16,\n name: \"packet_padding_rate\",\n kind: \"scalar\",\n T: 1\n /* ScalarType.DOUBLE */\n}, {\n no: 17,\n name: \"bytes_padding\",\n kind: \"scalar\",\n T: 4\n /* ScalarType.UINT64 */\n}, {\n no: 41,\n name: \"header_bytes_padding\",\n kind: \"scalar\",\n T: 4\n /* ScalarType.UINT64 */\n}, {\n no: 18,\n name: \"bitrate_padding\",\n kind: \"scalar\",\n T: 1\n /* ScalarType.DOUBLE */\n}, {\n no: 19,\n name: \"packets_out_of_order\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 20,\n name: \"frames\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 21,\n name: \"frame_rate\",\n kind: \"scalar\",\n T: 1\n /* ScalarType.DOUBLE */\n}, {\n no: 22,\n name: \"jitter_current\",\n kind: \"scalar\",\n T: 1\n /* ScalarType.DOUBLE */\n}, {\n no: 23,\n name: \"jitter_max\",\n kind: \"scalar\",\n T: 1\n /* ScalarType.DOUBLE */\n}, {\n no: 24,\n name: \"gap_histogram\",\n kind: \"map\",\n K: 5,\n V: {\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n }\n}, {\n no: 25,\n name: \"nacks\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 37,\n name: \"nack_acks\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 26,\n name: \"nack_misses\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 38,\n name: \"nack_repeated\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 27,\n name: \"plis\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 28,\n name: \"last_pli\",\n kind: \"message\",\n T: j\n}, {\n no: 29,\n name: \"firs\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 30,\n name: \"last_fir\",\n kind: \"message\",\n T: j\n}, {\n no: 31,\n name: \"rtt_current\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 32,\n name: \"rtt_max\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 33,\n name: \"key_frames\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 34,\n name: \"last_key_frame\",\n kind: \"message\",\n T: j\n}, {\n no: 35,\n name: \"layer_lock_plis\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 36,\n name: \"last_layer_lock_pli\",\n kind: \"message\",\n T: j\n}, {\n no: 44,\n name: \"packet_drift\",\n kind: \"message\",\n T: UC\n}, {\n no: 45,\n name: \"report_drift\",\n kind: \"message\",\n T: UC\n}]);\nconst OQ = s.makeMessageType(\"livekit.TimedVersion\", () => [{\n no: 1,\n name: \"unix_micro\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 2,\n name: \"ticks\",\n kind: \"scalar\",\n T: 5\n /* ScalarType.INT32 */\n}]), N0 = s.makeEnum(\"livekit.EncodedFileType\", [{\n no: 0,\n name: \"DEFAULT_FILETYPE\"\n}, {\n no: 1,\n name: \"MP4\"\n}, {\n no: 2,\n name: \"OGG\"\n}]), R0 = s.makeEnum(\"livekit.SegmentedFileProtocol\", [{\n no: 0,\n name: \"DEFAULT_SEGMENTED_FILE_PROTOCOL\"\n}, {\n no: 1,\n name: \"HLS_PROTOCOL\"\n}]), F0 = s.makeEnum(\"livekit.SegmentedFileSuffix\", [{\n no: 0,\n name: \"INDEX\"\n}, {\n no: 1,\n name: \"TIMESTAMP\"\n}]), S0 = s.makeEnum(\"livekit.ImageFileSuffix\", [{\n no: 0,\n name: \"IMAGE_SUFFIX_INDEX\"\n}, {\n no: 1,\n name: \"IMAGE_SUFFIX_TIMESTAMP\"\n}]), y0 = s.makeEnum(\"livekit.StreamProtocol\", [{\n no: 0,\n name: \"DEFAULT_PROTOCOL\"\n}, {\n no: 1,\n name: \"RTMP\"\n}]), Lg = s.makeEnum(\"livekit.EncodingOptionsPreset\", [{\n no: 0,\n name: \"H264_720P_30\"\n}, {\n no: 1,\n name: \"H264_720P_60\"\n}, {\n no: 2,\n name: \"H264_1080P_30\"\n}, {\n no: 3,\n name: \"H264_1080P_60\"\n}, {\n no: 4,\n name: \"PORTRAIT_H264_720P_30\"\n}, {\n no: 5,\n name: \"PORTRAIT_H264_720P_60\"\n}, {\n no: 6,\n name: \"PORTRAIT_H264_1080P_30\"\n}, {\n no: 7,\n name: \"PORTRAIT_H264_1080P_60\"\n}]), l0 = s.makeEnum(\"livekit.EgressStatus\", [{\n no: 0,\n name: \"EGRESS_STARTING\"\n}, {\n no: 1,\n name: \"EGRESS_ACTIVE\"\n}, {\n no: 2,\n name: \"EGRESS_ENDING\"\n}, {\n no: 3,\n name: \"EGRESS_COMPLETE\"\n}, {\n no: 4,\n name: \"EGRESS_FAILED\"\n}, {\n no: 5,\n name: \"EGRESS_ABORTED\"\n}, {\n no: 6,\n name: \"EGRESS_LIMIT_REACHED\"\n}]), PQ = s.makeMessageType(\"livekit.RoomCompositeEgressRequest\", () => [{\n no: 1,\n name: \"room_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"layout\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"audio_only\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 4,\n name: \"video_only\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 5,\n name: \"custom_base_url\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 6,\n name: \"file\",\n kind: \"message\",\n T: HA,\n oneof: \"output\"\n}, {\n no: 7,\n name: \"stream\",\n kind: \"message\",\n T: XA,\n oneof: \"output\"\n}, {\n no: 10,\n name: \"segments\",\n kind: \"message\",\n T: TA,\n oneof: \"output\"\n}, {\n no: 8,\n name: \"preset\",\n kind: \"enum\",\n T: s.getEnumType(Lg),\n oneof: \"options\"\n}, {\n no: 9,\n name: \"advanced\",\n kind: \"message\",\n T: Jg,\n oneof: \"options\"\n}, {\n no: 11,\n name: \"file_outputs\",\n kind: \"message\",\n T: HA,\n repeated: !0\n}, {\n no: 12,\n name: \"stream_outputs\",\n kind: \"message\",\n T: XA,\n repeated: !0\n}, {\n no: 13,\n name: \"segment_outputs\",\n kind: \"message\",\n T: TA,\n repeated: !0\n}, {\n no: 14,\n name: \"image_outputs\",\n kind: \"message\",\n T: oI,\n repeated: !0\n}]), M0 = s.makeMessageType(\"livekit.WebEgressRequest\", () => [{\n no: 1,\n name: \"url\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"audio_only\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 3,\n name: \"video_only\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 12,\n name: \"await_start_signal\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 4,\n name: \"file\",\n kind: \"message\",\n T: HA,\n oneof: \"output\"\n}, {\n no: 5,\n name: \"stream\",\n kind: \"message\",\n T: XA,\n oneof: \"output\"\n}, {\n no: 6,\n name: \"segments\",\n kind: \"message\",\n T: TA,\n oneof: \"output\"\n}, {\n no: 7,\n name: \"preset\",\n kind: \"enum\",\n T: s.getEnumType(Lg),\n oneof: \"options\"\n}, {\n no: 8,\n name: \"advanced\",\n kind: \"message\",\n T: Jg,\n oneof: \"options\"\n}, {\n no: 9,\n name: \"file_outputs\",\n kind: \"message\",\n T: HA,\n repeated: !0\n}, {\n no: 10,\n name: \"stream_outputs\",\n kind: \"message\",\n T: XA,\n repeated: !0\n}, {\n no: 11,\n name: \"segment_outputs\",\n kind: \"message\",\n T: TA,\n repeated: !0\n}, {\n no: 13,\n name: \"image_outputs\",\n kind: \"message\",\n T: oI,\n repeated: !0\n}]), u0 = s.makeMessageType(\"livekit.ParticipantEgressRequest\", () => [{\n no: 1,\n name: \"room_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"identity\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"screen_share\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 4,\n name: \"preset\",\n kind: \"enum\",\n T: s.getEnumType(Lg),\n oneof: \"options\"\n}, {\n no: 5,\n name: \"advanced\",\n kind: \"message\",\n T: Jg,\n oneof: \"options\"\n}, {\n no: 6,\n name: \"file_outputs\",\n kind: \"message\",\n T: HA,\n repeated: !0\n}, {\n no: 7,\n name: \"stream_outputs\",\n kind: \"message\",\n T: XA,\n repeated: !0\n}, {\n no: 8,\n name: \"segment_outputs\",\n kind: \"message\",\n T: TA,\n repeated: !0\n}, {\n no: 9,\n name: \"image_outputs\",\n kind: \"message\",\n T: oI,\n repeated: !0\n}]), L0 = s.makeMessageType(\"livekit.TrackCompositeEgressRequest\", () => [{\n no: 1,\n name: \"room_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"audio_track_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"video_track_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 4,\n name: \"file\",\n kind: \"message\",\n T: HA,\n oneof: \"output\"\n}, {\n no: 5,\n name: \"stream\",\n kind: \"message\",\n T: XA,\n oneof: \"output\"\n}, {\n no: 8,\n name: \"segments\",\n kind: \"message\",\n T: TA,\n oneof: \"output\"\n}, {\n no: 6,\n name: \"preset\",\n kind: \"enum\",\n T: s.getEnumType(Lg),\n oneof: \"options\"\n}, {\n no: 7,\n name: \"advanced\",\n kind: \"message\",\n T: Jg,\n oneof: \"options\"\n}, {\n no: 11,\n name: \"file_outputs\",\n kind: \"message\",\n T: HA,\n repeated: !0\n}, {\n no: 12,\n name: \"stream_outputs\",\n kind: \"message\",\n T: XA,\n repeated: !0\n}, {\n no: 13,\n name: \"segment_outputs\",\n kind: \"message\",\n T: TA,\n repeated: !0\n}, {\n no: 14,\n name: \"image_outputs\",\n kind: \"message\",\n T: oI,\n repeated: !0\n}]), K0 = s.makeMessageType(\"livekit.TrackEgressRequest\", () => [{\n no: 1,\n name: \"room_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"track_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"file\",\n kind: \"message\",\n T: b0,\n oneof: \"output\"\n}, {\n no: 4,\n name: \"websocket_url\",\n kind: \"scalar\",\n T: 9,\n oneof: \"output\"\n}]), HA = s.makeMessageType(\"livekit.EncodedFileOutput\", () => [{\n no: 1,\n name: \"file_type\",\n kind: \"enum\",\n T: s.getEnumType(N0)\n}, {\n no: 2,\n name: \"filepath\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 6,\n name: \"disable_manifest\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 3,\n name: \"s3\",\n kind: \"message\",\n T: Kg,\n oneof: \"output\"\n}, {\n no: 4,\n name: \"gcp\",\n kind: \"message\",\n T: bg,\n oneof: \"output\"\n}, {\n no: 5,\n name: \"azure\",\n kind: \"message\",\n T: Ug,\n oneof: \"output\"\n}, {\n no: 7,\n name: \"aliOSS\",\n kind: \"message\",\n T: aI,\n oneof: \"output\"\n}]), TA = s.makeMessageType(\"livekit.SegmentedFileOutput\", () => [{\n no: 1,\n name: \"protocol\",\n kind: \"enum\",\n T: s.getEnumType(R0)\n}, {\n no: 2,\n name: \"filename_prefix\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"playlist_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 11,\n name: \"live_playlist_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 4,\n name: \"segment_duration\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 10,\n name: \"filename_suffix\",\n kind: \"enum\",\n T: s.getEnumType(F0)\n}, {\n no: 8,\n name: \"disable_manifest\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 5,\n name: \"s3\",\n kind: \"message\",\n T: Kg,\n oneof: \"output\"\n}, {\n no: 6,\n name: \"gcp\",\n kind: \"message\",\n T: bg,\n oneof: \"output\"\n}, {\n no: 7,\n name: \"azure\",\n kind: \"message\",\n T: Ug,\n oneof: \"output\"\n}, {\n no: 9,\n name: \"aliOSS\",\n kind: \"message\",\n T: aI,\n oneof: \"output\"\n}]), b0 = s.makeMessageType(\"livekit.DirectFileOutput\", () => [{\n no: 1,\n name: \"filepath\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 5,\n name: \"disable_manifest\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 2,\n name: \"s3\",\n kind: \"message\",\n T: Kg,\n oneof: \"output\"\n}, {\n no: 3,\n name: \"gcp\",\n kind: \"message\",\n T: bg,\n oneof: \"output\"\n}, {\n no: 4,\n name: \"azure\",\n kind: \"message\",\n T: Ug,\n oneof: \"output\"\n}, {\n no: 6,\n name: \"aliOSS\",\n kind: \"message\",\n T: aI,\n oneof: \"output\"\n}]), oI = s.makeMessageType(\"livekit.ImageOutput\", () => [{\n no: 1,\n name: \"capture_interval\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 2,\n name: \"width\",\n kind: \"scalar\",\n T: 5\n /* ScalarType.INT32 */\n}, {\n no: 3,\n name: \"height\",\n kind: \"scalar\",\n T: 5\n /* ScalarType.INT32 */\n}, {\n no: 4,\n name: \"filename_prefix\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 5,\n name: \"filename_suffix\",\n kind: \"enum\",\n T: s.getEnumType(S0)\n}, {\n no: 6,\n name: \"image_codec\",\n kind: \"enum\",\n T: s.getEnumType(D0)\n}, {\n no: 7,\n name: \"disable_manifest\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 8,\n name: \"s3\",\n kind: \"message\",\n T: Kg,\n oneof: \"output\"\n}, {\n no: 9,\n name: \"gcp\",\n kind: \"message\",\n T: bg,\n oneof: \"output\"\n}, {\n no: 10,\n name: \"azure\",\n kind: \"message\",\n T: Ug,\n oneof: \"output\"\n}, {\n no: 11,\n name: \"aliOSS\",\n kind: \"message\",\n T: aI,\n oneof: \"output\"\n}]), Kg = s.makeMessageType(\"livekit.S3Upload\", () => [{\n no: 1,\n name: \"access_key\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"secret\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"region\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 4,\n name: \"endpoint\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 5,\n name: \"bucket\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 6,\n name: \"force_path_style\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 7,\n name: \"metadata\",\n kind: \"map\",\n K: 9,\n V: {\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n }\n}, {\n no: 8,\n name: \"tagging\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 9,\n name: \"content_disposition\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), bg = s.makeMessageType(\"livekit.GCPUpload\", () => [{\n no: 1,\n name: \"credentials\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"bucket\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"endpoint\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), Ug = s.makeMessageType(\"livekit.AzureBlobUpload\", () => [{\n no: 1,\n name: \"account_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"account_key\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"container_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), aI = s.makeMessageType(\"livekit.AliOSSUpload\", () => [{\n no: 1,\n name: \"access_key\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"secret\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"region\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 4,\n name: \"endpoint\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 5,\n name: \"bucket\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), XA = s.makeMessageType(\"livekit.StreamOutput\", () => [{\n no: 1,\n name: \"protocol\",\n kind: \"enum\",\n T: s.getEnumType(y0)\n}, {\n no: 2,\n name: \"urls\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}]), Jg = s.makeMessageType(\"livekit.EncodingOptions\", () => [{\n no: 1,\n name: \"width\",\n kind: \"scalar\",\n T: 5\n /* ScalarType.INT32 */\n}, {\n no: 2,\n name: \"height\",\n kind: \"scalar\",\n T: 5\n /* ScalarType.INT32 */\n}, {\n no: 3,\n name: \"depth\",\n kind: \"scalar\",\n T: 5\n /* ScalarType.INT32 */\n}, {\n no: 4,\n name: \"framerate\",\n kind: \"scalar\",\n T: 5\n /* ScalarType.INT32 */\n}, {\n no: 5,\n name: \"audio_codec\",\n kind: \"enum\",\n T: s.getEnumType(UQ)\n}, {\n no: 6,\n name: \"audio_bitrate\",\n kind: \"scalar\",\n T: 5\n /* ScalarType.INT32 */\n}, {\n no: 11,\n name: \"audio_quality\",\n kind: \"scalar\",\n T: 5\n /* ScalarType.INT32 */\n}, {\n no: 7,\n name: \"audio_frequency\",\n kind: \"scalar\",\n T: 5\n /* ScalarType.INT32 */\n}, {\n no: 8,\n name: \"video_codec\",\n kind: \"enum\",\n T: s.getEnumType(JQ)\n}, {\n no: 9,\n name: \"video_bitrate\",\n kind: \"scalar\",\n T: 5\n /* ScalarType.INT32 */\n}, {\n no: 12,\n name: \"video_quality\",\n kind: \"scalar\",\n T: 5\n /* ScalarType.INT32 */\n}, {\n no: 10,\n name: \"key_frame_interval\",\n kind: \"scalar\",\n T: 1\n /* ScalarType.DOUBLE */\n}]);\ns.makeMessageType(\"livekit.UpdateLayoutRequest\", () => [{\n no: 1,\n name: \"egress_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"layout\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]);\ns.makeMessageType(\"livekit.UpdateStreamRequest\", () => [{\n no: 1,\n name: \"egress_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"add_output_urls\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 3,\n name: \"remove_output_urls\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}]);\ns.makeMessageType(\"livekit.ListEgressRequest\", () => [{\n no: 1,\n name: \"room_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"egress_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"active\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}]);\ns.makeMessageType(\"livekit.ListEgressResponse\", () => [{\n no: 1,\n name: \"items\",\n kind: \"message\",\n T: VQ,\n repeated: !0\n}]);\ns.makeMessageType(\"livekit.StopEgressRequest\", () => [{\n no: 1,\n name: \"egress_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]);\nconst VQ = s.makeMessageType(\"livekit.EgressInfo\", () => [{\n no: 1,\n name: \"egress_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"room_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 13,\n name: \"room_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"status\",\n kind: \"enum\",\n T: s.getEnumType(l0)\n}, {\n no: 10,\n name: \"started_at\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 11,\n name: \"ended_at\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 18,\n name: \"updated_at\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 21,\n name: \"details\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 9,\n name: \"error\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 4,\n name: \"room_composite\",\n kind: \"message\",\n T: PQ,\n oneof: \"request\"\n}, {\n no: 14,\n name: \"web\",\n kind: \"message\",\n T: M0,\n oneof: \"request\"\n}, {\n no: 19,\n name: \"participant\",\n kind: \"message\",\n T: u0,\n oneof: \"request\"\n}, {\n no: 5,\n name: \"track_composite\",\n kind: \"message\",\n T: L0,\n oneof: \"request\"\n}, {\n no: 6,\n name: \"track\",\n kind: \"message\",\n T: K0,\n oneof: \"request\"\n}, {\n no: 7,\n name: \"stream\",\n kind: \"message\",\n T: U0,\n oneof: \"result\"\n}, {\n no: 8,\n name: \"file\",\n kind: \"message\",\n T: JC,\n oneof: \"result\"\n}, {\n no: 12,\n name: \"segments\",\n kind: \"message\",\n T: YC,\n oneof: \"result\"\n}, {\n no: 15,\n name: \"stream_results\",\n kind: \"message\",\n T: jQ,\n repeated: !0\n}, {\n no: 16,\n name: \"file_results\",\n kind: \"message\",\n T: JC,\n repeated: !0\n}, {\n no: 17,\n name: \"segment_results\",\n kind: \"message\",\n T: YC,\n repeated: !0\n}, {\n no: 20,\n name: \"image_results\",\n kind: \"message\",\n T: Y0,\n repeated: !0\n}]), U0 = s.makeMessageType(\"livekit.StreamInfoList\", () => [{\n no: 1,\n name: \"info\",\n kind: \"message\",\n T: jQ,\n repeated: !0\n}]), jQ = s.makeMessageType(\"livekit.StreamInfo\", () => [{\n no: 1,\n name: \"url\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"started_at\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 3,\n name: \"ended_at\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 4,\n name: \"duration\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 5,\n name: \"status\",\n kind: \"enum\",\n T: s.getEnumType(J0)\n}, {\n no: 6,\n name: \"error\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), J0 = s.makeEnum(\"livekit.StreamInfo.Status\", [{\n no: 0,\n name: \"ACTIVE\"\n}, {\n no: 1,\n name: \"FINISHED\"\n}, {\n no: 2,\n name: \"FAILED\"\n}]), JC = s.makeMessageType(\"livekit.FileInfo\", () => [{\n no: 1,\n name: \"filename\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"started_at\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 3,\n name: \"ended_at\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 6,\n name: \"duration\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 4,\n name: \"size\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 5,\n name: \"location\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), YC = s.makeMessageType(\"livekit.SegmentsInfo\", () => [{\n no: 1,\n name: \"playlist_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 8,\n name: \"live_playlist_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"duration\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 3,\n name: \"size\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 4,\n name: \"playlist_location\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 9,\n name: \"live_playlist_location\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 5,\n name: \"segment_count\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 6,\n name: \"started_at\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 7,\n name: \"ended_at\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}]), Y0 = s.makeMessageType(\"livekit.ImagesInfo\", () => [{\n no: 1,\n name: \"image_count\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 2,\n name: \"started_at\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 3,\n name: \"ended_at\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}]), p0 = s.makeMessageType(\"livekit.AutoParticipantEgress\", () => [{\n no: 1,\n name: \"preset\",\n kind: \"enum\",\n T: s.getEnumType(Lg),\n oneof: \"options\"\n}, {\n no: 2,\n name: \"advanced\",\n kind: \"message\",\n T: Jg,\n oneof: \"options\"\n}, {\n no: 3,\n name: \"file_outputs\",\n kind: \"message\",\n T: HA,\n repeated: !0\n}, {\n no: 4,\n name: \"segment_outputs\",\n kind: \"message\",\n T: TA,\n repeated: !0\n}]), m0 = s.makeMessageType(\"livekit.AutoTrackEgress\", () => [{\n no: 1,\n name: \"filepath\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 5,\n name: \"disable_manifest\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 2,\n name: \"s3\",\n kind: \"message\",\n T: Kg,\n oneof: \"output\"\n}, {\n no: 3,\n name: \"gcp\",\n kind: \"message\",\n T: bg,\n oneof: \"output\"\n}, {\n no: 4,\n name: \"azure\",\n kind: \"message\",\n T: Ug,\n oneof: \"output\"\n}]);\ns.makeMessageType(\"livekit.CreateRoomRequest\", () => [{\n no: 1,\n name: \"name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"empty_timeout\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 10,\n name: \"departure_timeout\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 3,\n name: \"max_participants\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 4,\n name: \"node_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 5,\n name: \"metadata\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 6,\n name: \"egress\",\n kind: \"message\",\n T: q0\n}, {\n no: 7,\n name: \"min_playout_delay\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 8,\n name: \"max_playout_delay\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 9,\n name: \"sync_streams\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}]);\nconst q0 = s.makeMessageType(\"livekit.RoomEgress\", () => [{\n no: 1,\n name: \"room\",\n kind: \"message\",\n T: PQ\n}, {\n no: 3,\n name: \"participant\",\n kind: \"message\",\n T: p0\n}, {\n no: 2,\n name: \"tracks\",\n kind: \"message\",\n T: m0\n}]);\ns.makeMessageType(\"livekit.ListRoomsRequest\", () => [{\n no: 1,\n name: \"names\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}]);\ns.makeMessageType(\"livekit.ListRoomsResponse\", () => [{\n no: 1,\n name: \"rooms\",\n kind: \"message\",\n T: tg,\n repeated: !0\n}]);\ns.makeMessageType(\"livekit.DeleteRoomRequest\", () => [{\n no: 1,\n name: \"room\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]);\ns.makeMessageType(\"livekit.DeleteRoomResponse\", []);\ns.makeMessageType(\"livekit.ListParticipantsRequest\", () => [{\n no: 1,\n name: \"room\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]);\ns.makeMessageType(\"livekit.ListParticipantsResponse\", () => [{\n no: 1,\n name: \"participants\",\n kind: \"message\",\n T: qA,\n repeated: !0\n}]);\ns.makeMessageType(\"livekit.RoomParticipantIdentity\", () => [{\n no: 1,\n name: \"room\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"identity\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]);\ns.makeMessageType(\"livekit.RemoveParticipantResponse\", []);\ns.makeMessageType(\"livekit.MuteRoomTrackRequest\", () => [{\n no: 1,\n name: \"room\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"identity\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"track_sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 4,\n name: \"muted\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}]);\ns.makeMessageType(\"livekit.MuteRoomTrackResponse\", () => [{\n no: 1,\n name: \"track\",\n kind: \"message\",\n T: yA\n}]);\ns.makeMessageType(\"livekit.UpdateParticipantRequest\", () => [{\n no: 1,\n name: \"room\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"identity\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"metadata\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 4,\n name: \"permission\",\n kind: \"message\",\n T: YQ\n}, {\n no: 5,\n name: \"name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]);\ns.makeMessageType(\"livekit.UpdateSubscriptionsRequest\", () => [{\n no: 1,\n name: \"room\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"identity\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"track_sids\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 4,\n name: \"subscribe\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 5,\n name: \"participant_tracks\",\n kind: \"message\",\n T: xC,\n repeated: !0\n}]);\ns.makeMessageType(\"livekit.UpdateSubscriptionsResponse\", []);\ns.makeMessageType(\"livekit.SendDataRequest\", () => [{\n no: 1,\n name: \"room\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"data\",\n kind: \"scalar\",\n T: 12\n /* ScalarType.BYTES */\n}, {\n no: 3,\n name: \"kind\",\n kind: \"enum\",\n T: s.getEnumType(z)\n}, {\n no: 4,\n name: \"destination_sids\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 6,\n name: \"destination_identities\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 5,\n name: \"topic\",\n kind: \"scalar\",\n T: 9,\n opt: !0\n}]);\ns.makeMessageType(\"livekit.SendDataResponse\", []);\ns.makeMessageType(\"livekit.UpdateRoomMetadataRequest\", () => [{\n no: 1,\n name: \"room\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"metadata\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]);\nconst ZQ = s.makeEnum(\"livekit.JobType\", [{\n no: 0,\n name: \"JT_ROOM\"\n}, {\n no: 1,\n name: \"JT_PUBLISHER\"\n}]), H0 = s.makeEnum(\"livekit.WorkerStatus\", [{\n no: 0,\n name: \"WS_AVAILABLE\"\n}, {\n no: 1,\n name: \"WS_FULL\"\n}]), T0 = s.makeEnum(\"livekit.JobStatus\", [{\n no: 0,\n name: \"JS_UNKNOWN\"\n}, {\n no: 1,\n name: \"JS_SUCCESS\"\n}, {\n no: 2,\n name: \"JS_FAILED\"\n}]);\ns.makeMessageType(\"livekit.AgentInfo\", () => [{\n no: 1,\n name: \"id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"version\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]);\nconst XQ = s.makeMessageType(\"livekit.Job\", () => [{\n no: 1,\n name: \"id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"type\",\n kind: \"enum\",\n T: s.getEnumType(ZQ)\n}, {\n no: 3,\n name: \"room\",\n kind: \"message\",\n T: tg\n}, {\n no: 4,\n name: \"participant\",\n kind: \"message\",\n T: qA,\n opt: !0\n}]);\ns.makeMessageType(\"livekit.WorkerMessage\", () => [{\n no: 1,\n name: \"register\",\n kind: \"message\",\n T: v0,\n oneof: \"message\"\n}, {\n no: 2,\n name: \"availability\",\n kind: \"message\",\n T: V0,\n oneof: \"message\"\n}, {\n no: 3,\n name: \"status\",\n kind: \"message\",\n T: X0,\n oneof: \"message\"\n}, {\n no: 4,\n name: \"job_update\",\n kind: \"message\",\n T: j0,\n oneof: \"message\"\n}]);\ns.makeMessageType(\"livekit.ServerMessage\", () => [{\n no: 1,\n name: \"register\",\n kind: \"message\",\n T: O0,\n oneof: \"message\"\n}, {\n no: 2,\n name: \"availability\",\n kind: \"message\",\n T: P0,\n oneof: \"message\"\n}, {\n no: 3,\n name: \"assignment\",\n kind: \"message\",\n T: Z0,\n oneof: \"message\"\n}]);\nconst v0 = s.makeMessageType(\"livekit.RegisterWorkerRequest\", () => [{\n no: 1,\n name: \"type\",\n kind: \"enum\",\n T: s.getEnumType(ZQ)\n}, {\n no: 2,\n name: \"worker_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"version\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 4,\n name: \"name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), O0 = s.makeMessageType(\"livekit.RegisterWorkerResponse\", () => [{\n no: 1,\n name: \"worker_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"server_version\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), P0 = s.makeMessageType(\"livekit.AvailabilityRequest\", () => [{\n no: 1,\n name: \"job\",\n kind: \"message\",\n T: XQ\n}]), V0 = s.makeMessageType(\"livekit.AvailabilityResponse\", () => [{\n no: 1,\n name: \"job_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"available\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}]), j0 = s.makeMessageType(\"livekit.JobStatusUpdate\", () => [{\n no: 1,\n name: \"job_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"status\",\n kind: \"enum\",\n T: s.getEnumType(T0)\n}, {\n no: 3,\n name: \"error\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 4,\n name: \"user_data\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), Z0 = s.makeMessageType(\"livekit.JobAssignment\", () => [{\n no: 1,\n name: \"job\",\n kind: \"message\",\n T: XQ\n}]), X0 = s.makeMessageType(\"livekit.UpdateWorkerStatus\", () => [{\n no: 1,\n name: \"status\",\n kind: \"enum\",\n T: s.getEnumType(H0)\n}]), rA = s.makeEnum(\"livekit.SignalTarget\", [{\n no: 0,\n name: \"PUBLISHER\"\n}, {\n no: 1,\n name: \"SUBSCRIBER\"\n}]), JI = s.makeEnum(\"livekit.StreamState\", [{\n no: 0,\n name: \"ACTIVE\"\n}, {\n no: 1,\n name: \"PAUSED\"\n}]), W0 = s.makeEnum(\"livekit.CandidateProtocol\", [{\n no: 0,\n name: \"UDP\"\n}, {\n no: 1,\n name: \"TCP\"\n}, {\n no: 2,\n name: \"TLS\"\n}]), z0 = s.makeMessageType(\"livekit.SignalRequest\", () => [{\n no: 1,\n name: \"offer\",\n kind: \"message\",\n T: WA,\n oneof: \"message\"\n}, {\n no: 2,\n name: \"answer\",\n kind: \"message\",\n T: WA,\n oneof: \"message\"\n}, {\n no: 3,\n name: \"trickle\",\n kind: \"message\",\n T: iC,\n oneof: \"message\"\n}, {\n no: 4,\n name: \"add_track\",\n kind: \"message\",\n T: pI,\n oneof: \"message\"\n}, {\n no: 5,\n name: \"mute\",\n kind: \"message\",\n T: eC,\n oneof: \"message\"\n}, {\n no: 6,\n name: \"subscription\",\n kind: \"message\",\n T: tI,\n oneof: \"message\"\n}, {\n no: 7,\n name: \"track_setting\",\n kind: \"message\",\n T: WQ,\n oneof: \"message\"\n}, {\n no: 8,\n name: \"leave\",\n kind: \"message\",\n T: sI,\n oneof: \"message\"\n}, {\n no: 10,\n name: \"update_layers\",\n kind: \"message\",\n T: zQ,\n oneof: \"message\"\n}, {\n no: 11,\n name: \"subscription_permission\",\n kind: \"message\",\n T: IB,\n oneof: \"message\"\n}, {\n no: 12,\n name: \"sync_state\",\n kind: \"message\",\n T: CB,\n oneof: \"message\"\n}, {\n no: 13,\n name: \"simulate\",\n kind: \"message\",\n T: RA,\n oneof: \"message\"\n}, {\n no: 14,\n name: \"ping\",\n kind: \"scalar\",\n T: 3,\n oneof: \"message\"\n}, {\n no: 15,\n name: \"update_metadata\",\n kind: \"message\",\n T: $Q,\n oneof: \"message\"\n}, {\n no: 16,\n name: \"ping_req\",\n kind: \"message\",\n T: BB,\n oneof: \"message\"\n}]), pC = s.makeMessageType(\"livekit.SignalResponse\", () => [{\n no: 1,\n name: \"join\",\n kind: \"message\",\n T: $0,\n oneof: \"message\"\n}, {\n no: 2,\n name: \"answer\",\n kind: \"message\",\n T: WA,\n oneof: \"message\"\n}, {\n no: 3,\n name: \"offer\",\n kind: \"message\",\n T: WA,\n oneof: \"message\"\n}, {\n no: 4,\n name: \"trickle\",\n kind: \"message\",\n T: iC,\n oneof: \"message\"\n}, {\n no: 5,\n name: \"update\",\n kind: \"message\",\n T: Ix,\n oneof: \"message\"\n}, {\n no: 6,\n name: \"track_published\",\n kind: \"message\",\n T: oC,\n oneof: \"message\"\n}, {\n no: 8,\n name: \"leave\",\n kind: \"message\",\n T: sI,\n oneof: \"message\"\n}, {\n no: 9,\n name: \"mute\",\n kind: \"message\",\n T: eC,\n oneof: \"message\"\n}, {\n no: 10,\n name: \"speakers_changed\",\n kind: \"message\",\n T: Qx,\n oneof: \"message\"\n}, {\n no: 11,\n name: \"room_update\",\n kind: \"message\",\n T: Bx,\n oneof: \"message\"\n}, {\n no: 12,\n name: \"connection_quality\",\n kind: \"message\",\n T: xx,\n oneof: \"message\"\n}, {\n no: 13,\n name: \"stream_state_update\",\n kind: \"message\",\n T: ex,\n oneof: \"message\"\n}, {\n no: 14,\n name: \"subscribed_quality_update\",\n kind: \"message\",\n T: ax,\n oneof: \"message\"\n}, {\n no: 15,\n name: \"subscription_permission_update\",\n kind: \"message\",\n T: tx,\n oneof: \"message\"\n}, {\n no: 16,\n name: \"refresh_token\",\n kind: \"scalar\",\n T: 9,\n oneof: \"message\"\n}, {\n no: 17,\n name: \"track_unpublished\",\n kind: \"message\",\n T: gx,\n oneof: \"message\"\n}, {\n no: 18,\n name: \"pong\",\n kind: \"scalar\",\n T: 3,\n oneof: \"message\"\n}, {\n no: 19,\n name: \"reconnect\",\n kind: \"message\",\n T: Ax,\n oneof: \"message\"\n}, {\n no: 20,\n name: \"pong_resp\",\n kind: \"message\",\n T: sx,\n oneof: \"message\"\n}, {\n no: 21,\n name: \"subscription_response\",\n kind: \"message\",\n T: Dx,\n oneof: \"message\"\n}]), YI = s.makeMessageType(\"livekit.SimulcastCodec\", () => [{\n no: 1,\n name: \"codec\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"cid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), pI = s.makeMessageType(\"livekit.AddTrackRequest\", () => [{\n no: 1,\n name: \"cid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"type\",\n kind: \"enum\",\n T: s.getEnumType(DA)\n}, {\n no: 4,\n name: \"width\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 5,\n name: \"height\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 6,\n name: \"muted\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 7,\n name: \"disable_dtx\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 8,\n name: \"source\",\n kind: \"enum\",\n T: s.getEnumType(V)\n}, {\n no: 9,\n name: \"layers\",\n kind: \"message\",\n T: YA,\n repeated: !0\n}, {\n no: 10,\n name: \"simulcast_codecs\",\n kind: \"message\",\n T: YI,\n repeated: !0\n}, {\n no: 11,\n name: \"sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 12,\n name: \"stereo\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 13,\n name: \"disable_red\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 14,\n name: \"encryption\",\n kind: \"enum\",\n T: s.getEnumType(aA)\n}, {\n no: 15,\n name: \"stream\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), iC = s.makeMessageType(\"livekit.TrickleRequest\", () => [{\n no: 1,\n name: \"candidateInit\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"target\",\n kind: \"enum\",\n T: s.getEnumType(rA)\n}]), eC = s.makeMessageType(\"livekit.MuteTrackRequest\", () => [{\n no: 1,\n name: \"sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"muted\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}]), $0 = s.makeMessageType(\"livekit.JoinResponse\", () => [{\n no: 1,\n name: \"room\",\n kind: \"message\",\n T: tg\n}, {\n no: 2,\n name: \"participant\",\n kind: \"message\",\n T: qA\n}, {\n no: 3,\n name: \"other_participants\",\n kind: \"message\",\n T: qA,\n repeated: !0\n}, {\n no: 4,\n name: \"server_version\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 5,\n name: \"ice_servers\",\n kind: \"message\",\n T: AB,\n repeated: !0\n}, {\n no: 6,\n name: \"subscriber_primary\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 7,\n name: \"alternative_url\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 8,\n name: \"client_configuration\",\n kind: \"message\",\n T: vQ\n}, {\n no: 9,\n name: \"server_region\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 10,\n name: \"ping_timeout\",\n kind: \"scalar\",\n T: 5\n /* ScalarType.INT32 */\n}, {\n no: 11,\n name: \"ping_interval\",\n kind: \"scalar\",\n T: 5\n /* ScalarType.INT32 */\n}, {\n no: 12,\n name: \"server_info\",\n kind: \"message\",\n T: _0\n}, {\n no: 13,\n name: \"sif_trailer\",\n kind: \"scalar\",\n T: 12\n /* ScalarType.BYTES */\n}]), Ax = s.makeMessageType(\"livekit.ReconnectResponse\", () => [{\n no: 1,\n name: \"ice_servers\",\n kind: \"message\",\n T: AB,\n repeated: !0\n}, {\n no: 2,\n name: \"client_configuration\",\n kind: \"message\",\n T: vQ\n}]), oC = s.makeMessageType(\"livekit.TrackPublishedResponse\", () => [{\n no: 1,\n name: \"cid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"track\",\n kind: \"message\",\n T: yA\n}]), gx = s.makeMessageType(\"livekit.TrackUnpublishedResponse\", () => [{\n no: 1,\n name: \"track_sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), WA = s.makeMessageType(\"livekit.SessionDescription\", () => [{\n no: 1,\n name: \"type\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"sdp\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), Ix = s.makeMessageType(\"livekit.ParticipantUpdate\", () => [{\n no: 1,\n name: \"participants\",\n kind: \"message\",\n T: qA,\n repeated: !0\n}]), tI = s.makeMessageType(\"livekit.UpdateSubscription\", () => [{\n no: 1,\n name: \"track_sids\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 2,\n name: \"subscribe\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 3,\n name: \"participant_tracks\",\n kind: \"message\",\n T: xC,\n repeated: !0\n}]), WQ = s.makeMessageType(\"livekit.UpdateTrackSettings\", () => [{\n no: 1,\n name: \"track_sids\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 3,\n name: \"disabled\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 4,\n name: \"quality\",\n kind: \"enum\",\n T: s.getEnumType(EC)\n}, {\n no: 5,\n name: \"width\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 6,\n name: \"height\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 7,\n name: \"fps\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 8,\n name: \"priority\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}]), sI = s.makeMessageType(\"livekit.LeaveRequest\", () => [{\n no: 1,\n name: \"can_reconnect\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 2,\n name: \"reason\",\n kind: \"enum\",\n T: s.getEnumType(Gg)\n}, {\n no: 3,\n name: \"action\",\n kind: \"enum\",\n T: s.getEnumType(Cx)\n}, {\n no: 4,\n name: \"regions\",\n kind: \"message\",\n T: cx\n}]), Cx = s.makeEnum(\"livekit.LeaveRequest.Action\", [{\n no: 0,\n name: \"DISCONNECT\"\n}, {\n no: 1,\n name: \"RESUME\"\n}, {\n no: 2,\n name: \"RECONNECT\"\n}]), zQ = s.makeMessageType(\"livekit.UpdateVideoLayers\", () => [{\n no: 1,\n name: \"track_sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"layers\",\n kind: \"message\",\n T: YA,\n repeated: !0\n}]), $Q = s.makeMessageType(\"livekit.UpdateParticipantMetadata\", () => [{\n no: 1,\n name: \"metadata\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), AB = s.makeMessageType(\"livekit.ICEServer\", () => [{\n no: 1,\n name: \"urls\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 2,\n name: \"username\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"credential\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), Qx = s.makeMessageType(\"livekit.SpeakersChanged\", () => [{\n no: 1,\n name: \"speakers\",\n kind: \"message\",\n T: mQ,\n repeated: !0\n}]), Bx = s.makeMessageType(\"livekit.RoomUpdate\", () => [{\n no: 1,\n name: \"room\",\n kind: \"message\",\n T: tg\n}]), Ex = s.makeMessageType(\"livekit.ConnectionQualityInfo\", () => [{\n no: 1,\n name: \"participant_sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"quality\",\n kind: \"enum\",\n T: s.getEnumType(kg)\n}, {\n no: 3,\n name: \"score\",\n kind: \"scalar\",\n T: 2\n /* ScalarType.FLOAT */\n}]), xx = s.makeMessageType(\"livekit.ConnectionQualityUpdate\", () => [{\n no: 1,\n name: \"updates\",\n kind: \"message\",\n T: Ex,\n repeated: !0\n}]), ix = s.makeMessageType(\"livekit.StreamStateInfo\", () => [{\n no: 1,\n name: \"participant_sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"track_sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"state\",\n kind: \"enum\",\n T: s.getEnumType(JI)\n}]), ex = s.makeMessageType(\"livekit.StreamStateUpdate\", () => [{\n no: 1,\n name: \"stream_states\",\n kind: \"message\",\n T: ix,\n repeated: !0\n}]), aC = s.makeMessageType(\"livekit.SubscribedQuality\", () => [{\n no: 1,\n name: \"quality\",\n kind: \"enum\",\n T: s.getEnumType(EC)\n}, {\n no: 2,\n name: \"enabled\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}]), ox = s.makeMessageType(\"livekit.SubscribedCodec\", () => [{\n no: 1,\n name: \"codec\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"qualities\",\n kind: \"message\",\n T: aC,\n repeated: !0\n}]), ax = s.makeMessageType(\"livekit.SubscribedQualityUpdate\", () => [{\n no: 1,\n name: \"track_sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"subscribed_qualities\",\n kind: \"message\",\n T: aC,\n repeated: !0\n}, {\n no: 3,\n name: \"subscribed_codecs\",\n kind: \"message\",\n T: ox,\n repeated: !0\n}]), gB = s.makeMessageType(\"livekit.TrackPermission\", () => [{\n no: 1,\n name: \"participant_sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"all_tracks\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 3,\n name: \"track_sids\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 4,\n name: \"participant_identity\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), IB = s.makeMessageType(\"livekit.SubscriptionPermission\", () => [{\n no: 1,\n name: \"all_participants\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 2,\n name: \"track_permissions\",\n kind: \"message\",\n T: gB,\n repeated: !0\n}]), tx = s.makeMessageType(\"livekit.SubscriptionPermissionUpdate\", () => [{\n no: 1,\n name: \"participant_sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"track_sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"allowed\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}]), CB = s.makeMessageType(\"livekit.SyncState\", () => [{\n no: 1,\n name: \"answer\",\n kind: \"message\",\n T: WA\n}, {\n no: 2,\n name: \"subscription\",\n kind: \"message\",\n T: tI\n}, {\n no: 3,\n name: \"publish_tracks\",\n kind: \"message\",\n T: oC,\n repeated: !0\n}, {\n no: 4,\n name: \"data_channels\",\n kind: \"message\",\n T: QB,\n repeated: !0\n}, {\n no: 5,\n name: \"offer\",\n kind: \"message\",\n T: WA\n}, {\n no: 6,\n name: \"track_sids_disabled\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}]), QB = s.makeMessageType(\"livekit.DataChannelInfo\", () => [{\n no: 1,\n name: \"label\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"id\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 3,\n name: \"target\",\n kind: \"enum\",\n T: s.getEnumType(rA)\n}]), RA = s.makeMessageType(\"livekit.SimulateScenario\", () => [{\n no: 1,\n name: \"speaker_update\",\n kind: \"scalar\",\n T: 5,\n oneof: \"scenario\"\n}, {\n no: 2,\n name: \"node_failure\",\n kind: \"scalar\",\n T: 8,\n oneof: \"scenario\"\n}, {\n no: 3,\n name: \"migration\",\n kind: \"scalar\",\n T: 8,\n oneof: \"scenario\"\n}, {\n no: 4,\n name: \"server_leave\",\n kind: \"scalar\",\n T: 8,\n oneof: \"scenario\"\n}, {\n no: 5,\n name: \"switch_candidate_protocol\",\n kind: \"enum\",\n T: s.getEnumType(W0),\n oneof: \"scenario\"\n}, {\n no: 6,\n name: \"subscriber_bandwidth\",\n kind: \"scalar\",\n T: 3,\n oneof: \"scenario\"\n}, {\n no: 7,\n name: \"disconnect_signal_on_resume\",\n kind: \"scalar\",\n T: 8,\n oneof: \"scenario\"\n}, {\n no: 8,\n name: \"disconnect_signal_on_resume_no_messages\",\n kind: \"scalar\",\n T: 8,\n oneof: \"scenario\"\n}]), BB = s.makeMessageType(\"livekit.Ping\", () => [{\n no: 1,\n name: \"timestamp\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 2,\n name: \"rtt\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}]), sx = s.makeMessageType(\"livekit.Pong\", () => [{\n no: 1,\n name: \"last_ping_timestamp\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 2,\n name: \"timestamp\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}]), cx = s.makeMessageType(\"livekit.RegionSettings\", () => [{\n no: 1,\n name: \"regions\",\n kind: \"message\",\n T: nx,\n repeated: !0\n}]), nx = s.makeMessageType(\"livekit.RegionInfo\", () => [{\n no: 1,\n name: \"region\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"url\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"distance\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}]), Dx = s.makeMessageType(\"livekit.SubscriptionResponse\", () => [{\n no: 1,\n name: \"track_sid\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"err\",\n kind: \"enum\",\n T: s.getEnumType(r0)\n}]), EB = s.makeEnum(\"livekit.IngressInput\", [{\n no: 0,\n name: \"RTMP_INPUT\"\n}, {\n no: 1,\n name: \"WHIP_INPUT\"\n}, {\n no: 2,\n name: \"URL_INPUT\"\n}]), rx = s.makeEnum(\"livekit.IngressAudioEncodingPreset\", [{\n no: 0,\n name: \"OPUS_STEREO_96KBPS\"\n}, {\n no: 1,\n name: \"OPUS_MONO_64KBS\"\n}]), hx = s.makeEnum(\"livekit.IngressVideoEncodingPreset\", [{\n no: 0,\n name: \"H264_720P_30FPS_3_LAYERS\"\n}, {\n no: 1,\n name: \"H264_1080P_30FPS_3_LAYERS\"\n}, {\n no: 2,\n name: \"H264_540P_25FPS_2_LAYERS\"\n}, {\n no: 3,\n name: \"H264_720P_30FPS_1_LAYER\"\n}, {\n no: 4,\n name: \"H264_1080P_30FPS_1_LAYER\"\n}, {\n no: 5,\n name: \"H264_720P_30FPS_3_LAYERS_HIGH_MOTION\"\n}, {\n no: 6,\n name: \"H264_1080P_30FPS_3_LAYERS_HIGH_MOTION\"\n}, {\n no: 7,\n name: \"H264_540P_25FPS_2_LAYERS_HIGH_MOTION\"\n}, {\n no: 8,\n name: \"H264_720P_30FPS_1_LAYER_HIGH_MOTION\"\n}, {\n no: 9,\n name: \"H264_1080P_30FPS_1_LAYER_HIGH_MOTION\"\n}]);\ns.makeMessageType(\"livekit.CreateIngressRequest\", () => [{\n no: 1,\n name: \"input_type\",\n kind: \"enum\",\n T: s.getEnumType(EB)\n}, {\n no: 9,\n name: \"url\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"room_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 4,\n name: \"participant_identity\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 5,\n name: \"participant_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 10,\n name: \"participant_metadata\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 8,\n name: \"bypass_transcoding\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 6,\n name: \"audio\",\n kind: \"message\",\n T: tC\n}, {\n no: 7,\n name: \"video\",\n kind: \"message\",\n T: sC\n}]);\nconst tC = s.makeMessageType(\"livekit.IngressAudioOptions\", () => [{\n no: 1,\n name: \"name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"source\",\n kind: \"enum\",\n T: s.getEnumType(V)\n}, {\n no: 3,\n name: \"preset\",\n kind: \"enum\",\n T: s.getEnumType(rx),\n oneof: \"encoding_options\"\n}, {\n no: 4,\n name: \"options\",\n kind: \"message\",\n T: dx,\n oneof: \"encoding_options\"\n}]), sC = s.makeMessageType(\"livekit.IngressVideoOptions\", () => [{\n no: 1,\n name: \"name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"source\",\n kind: \"enum\",\n T: s.getEnumType(V)\n}, {\n no: 3,\n name: \"preset\",\n kind: \"enum\",\n T: s.getEnumType(hx),\n oneof: \"encoding_options\"\n}, {\n no: 4,\n name: \"options\",\n kind: \"message\",\n T: wx,\n oneof: \"encoding_options\"\n}]), dx = s.makeMessageType(\"livekit.IngressAudioEncodingOptions\", () => [{\n no: 1,\n name: \"audio_codec\",\n kind: \"enum\",\n T: s.getEnumType(UQ)\n}, {\n no: 2,\n name: \"bitrate\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 3,\n name: \"disable_dtx\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 4,\n name: \"channels\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}]), wx = s.makeMessageType(\"livekit.IngressVideoEncodingOptions\", () => [{\n no: 1,\n name: \"video_codec\",\n kind: \"enum\",\n T: s.getEnumType(JQ)\n}, {\n no: 2,\n name: \"frame_rate\",\n kind: \"scalar\",\n T: 1\n /* ScalarType.DOUBLE */\n}, {\n no: 3,\n name: \"layers\",\n kind: \"message\",\n T: YA,\n repeated: !0\n}]), xB = s.makeMessageType(\"livekit.IngressInfo\", () => [{\n no: 1,\n name: \"ingress_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"stream_key\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 4,\n name: \"url\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 5,\n name: \"input_type\",\n kind: \"enum\",\n T: s.getEnumType(EB)\n}, {\n no: 13,\n name: \"bypass_transcoding\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 6,\n name: \"audio\",\n kind: \"message\",\n T: tC\n}, {\n no: 7,\n name: \"video\",\n kind: \"message\",\n T: sC\n}, {\n no: 8,\n name: \"room_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 9,\n name: \"participant_identity\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 10,\n name: \"participant_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 14,\n name: \"participant_metadata\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 11,\n name: \"reusable\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}, {\n no: 12,\n name: \"state\",\n kind: \"message\",\n T: kx\n}]), kx = s.makeMessageType(\"livekit.IngressState\", () => [{\n no: 1,\n name: \"status\",\n kind: \"enum\",\n T: s.getEnumType(_x)\n}, {\n no: 2,\n name: \"error\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"video\",\n kind: \"message\",\n T: fx\n}, {\n no: 4,\n name: \"audio\",\n kind: \"message\",\n T: Gx\n}, {\n no: 5,\n name: \"room_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 7,\n name: \"started_at\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 8,\n name: \"ended_at\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 9,\n name: \"resource_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 6,\n name: \"tracks\",\n kind: \"message\",\n T: yA,\n repeated: !0\n}]), _x = s.makeEnum(\"livekit.IngressState.Status\", [{\n no: 0,\n name: \"ENDPOINT_INACTIVE\"\n}, {\n no: 1,\n name: \"ENDPOINT_BUFFERING\"\n}, {\n no: 2,\n name: \"ENDPOINT_PUBLISHING\"\n}, {\n no: 3,\n name: \"ENDPOINT_ERROR\"\n}, {\n no: 4,\n name: \"ENDPOINT_COMPLETE\"\n}]), fx = s.makeMessageType(\"livekit.InputVideoState\", () => [{\n no: 1,\n name: \"mime_type\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"average_bitrate\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 3,\n name: \"width\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 4,\n name: \"height\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 5,\n name: \"framerate\",\n kind: \"scalar\",\n T: 1\n /* ScalarType.DOUBLE */\n}]), Gx = s.makeMessageType(\"livekit.InputAudioState\", () => [{\n no: 1,\n name: \"mime_type\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"average_bitrate\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 3,\n name: \"channels\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}, {\n no: 4,\n name: \"sample_rate\",\n kind: \"scalar\",\n T: 13\n /* ScalarType.UINT32 */\n}]);\ns.makeMessageType(\"livekit.UpdateIngressRequest\", () => [{\n no: 1,\n name: \"ingress_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"room_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 4,\n name: \"participant_identity\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 5,\n name: \"participant_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 9,\n name: \"participant_metadata\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 8,\n name: \"bypass_transcoding\",\n kind: \"scalar\",\n T: 8,\n opt: !0\n}, {\n no: 6,\n name: \"audio\",\n kind: \"message\",\n T: tC\n}, {\n no: 7,\n name: \"video\",\n kind: \"message\",\n T: sC\n}]);\ns.makeMessageType(\"livekit.ListIngressRequest\", () => [{\n no: 1,\n name: \"room_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"ingress_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]);\ns.makeMessageType(\"livekit.ListIngressResponse\", () => [{\n no: 1,\n name: \"items\",\n kind: \"message\",\n T: xB,\n repeated: !0\n}]);\ns.makeMessageType(\"livekit.DeleteIngressRequest\", () => [{\n no: 1,\n name: \"ingress_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]);\ns.makeMessageType(\"livekit.WebhookEvent\", () => [{\n no: 1,\n name: \"event\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"room\",\n kind: \"message\",\n T: tg\n}, {\n no: 3,\n name: \"participant\",\n kind: \"message\",\n T: qA\n}, {\n no: 9,\n name: \"egress_info\",\n kind: \"message\",\n T: VQ\n}, {\n no: 10,\n name: \"ingress_info\",\n kind: \"message\",\n T: xB\n}, {\n no: 8,\n name: \"track\",\n kind: \"message\",\n T: yA\n}, {\n no: 6,\n name: \"id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 7,\n name: \"created_at\",\n kind: \"scalar\",\n T: 3\n /* ScalarType.INT64 */\n}, {\n no: 11,\n name: \"num_dropped\",\n kind: \"scalar\",\n T: 5\n /* ScalarType.INT32 */\n}]);\ns.makeMessageType(\"livekit.CreateSIPTrunkRequest\", () => [{\n no: 1,\n name: \"inbound_addresses\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 2,\n name: \"outbound_address\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"outbound_number\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 4,\n name: \"inbound_numbers_regex\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 9,\n name: \"inbound_numbers\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 5,\n name: \"inbound_username\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 6,\n name: \"inbound_password\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 7,\n name: \"outbound_username\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 8,\n name: \"outbound_password\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]);\nconst Nx = s.makeMessageType(\"livekit.SIPTrunkInfo\", () => [{\n no: 1,\n name: \"sip_trunk_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"inbound_addresses\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 3,\n name: \"outbound_address\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 4,\n name: \"outbound_number\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 5,\n name: \"inbound_numbers_regex\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 10,\n name: \"inbound_numbers\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 6,\n name: \"inbound_username\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 7,\n name: \"inbound_password\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 8,\n name: \"outbound_username\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 9,\n name: \"outbound_password\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]);\ns.makeMessageType(\"livekit.ListSIPTrunkRequest\", []);\ns.makeMessageType(\"livekit.ListSIPTrunkResponse\", () => [{\n no: 1,\n name: \"items\",\n kind: \"message\",\n T: Nx,\n repeated: !0\n}]);\ns.makeMessageType(\"livekit.DeleteSIPTrunkRequest\", () => [{\n no: 1,\n name: \"sip_trunk_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]);\nconst Rx = s.makeMessageType(\"livekit.SIPDispatchRuleDirect\", () => [{\n no: 1,\n name: \"room_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"pin\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), Fx = s.makeMessageType(\"livekit.SIPDispatchRuleIndividual\", () => [{\n no: 1,\n name: \"room_prefix\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"pin\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]), iB = s.makeMessageType(\"livekit.SIPDispatchRule\", () => [{\n no: 1,\n name: \"dispatch_rule_direct\",\n kind: \"message\",\n T: Rx,\n oneof: \"rule\"\n}, {\n no: 2,\n name: \"dispatch_rule_individual\",\n kind: \"message\",\n T: Fx,\n oneof: \"rule\"\n}]);\ns.makeMessageType(\"livekit.CreateSIPDispatchRuleRequest\", () => [{\n no: 1,\n name: \"rule\",\n kind: \"message\",\n T: iB\n}, {\n no: 2,\n name: \"trunk_ids\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 3,\n name: \"hide_phone_number\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}]);\nconst Sx = s.makeMessageType(\"livekit.SIPDispatchRuleInfo\", () => [{\n no: 1,\n name: \"sip_dispatch_rule_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"rule\",\n kind: \"message\",\n T: iB\n}, {\n no: 3,\n name: \"trunk_ids\",\n kind: \"scalar\",\n T: 9,\n repeated: !0\n}, {\n no: 4,\n name: \"hide_phone_number\",\n kind: \"scalar\",\n T: 8\n /* ScalarType.BOOL */\n}]);\ns.makeMessageType(\"livekit.ListSIPDispatchRuleRequest\", []);\ns.makeMessageType(\"livekit.ListSIPDispatchRuleResponse\", () => [{\n no: 1,\n name: \"items\",\n kind: \"message\",\n T: Sx,\n repeated: !0\n}]);\ns.makeMessageType(\"livekit.DeleteSIPDispatchRuleRequest\", () => [{\n no: 1,\n name: \"sip_dispatch_rule_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]);\ns.makeMessageType(\"livekit.CreateSIPParticipantRequest\", () => [{\n no: 1,\n name: \"sip_trunk_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"sip_call_to\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"room_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 4,\n name: \"participant_identity\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]);\ns.makeMessageType(\"livekit.SIPParticipantInfo\", () => [{\n no: 1,\n name: \"participant_id\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 2,\n name: \"participant_identity\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}, {\n no: 3,\n name: \"room_name\",\n kind: \"scalar\",\n T: 9\n /* ScalarType.STRING */\n}]);\nvar yx = typeof globalThis < \"u\" ? globalThis : typeof window < \"u\" ? window : typeof global < \"u\" ? global : typeof self < \"u\" ? self : {};\nfunction lx(C) {\n return C && C.__esModule && Object.prototype.hasOwnProperty.call(C, \"default\") ? C.default : C;\n}\nvar eB = { exports: {} };\n(function(C) {\n (function(A, g) {\n C.exports ? C.exports = g() : A.log = g();\n })(yx, function() {\n var A = function() {\n }, g = \"undefined\", I = typeof window !== g && typeof window.navigator !== g && /Trident\\/|MSIE /.test(window.navigator.userAgent), Q = [\"trace\", \"debug\", \"info\", \"warn\", \"error\"];\n function B(n, D) {\n var _ = n[D];\n if (typeof _.bind == \"function\")\n return _.bind(n);\n try {\n return Function.prototype.bind.call(_, n);\n } catch {\n return function() {\n return Function.prototype.apply.apply(_, [n, arguments]);\n };\n }\n }\n function E() {\n console.log && (console.log.apply ? console.log.apply(console, arguments) : Function.prototype.apply.apply(console.log, [console, arguments])), console.trace && console.trace();\n }\n function x(n) {\n return n === \"debug\" && (n = \"log\"), typeof console === g ? !1 : n === \"trace\" && I ? E : console[n] !== void 0 ? B(console, n) : console.log !== void 0 ? B(console, \"log\") : A;\n }\n function i(n, D) {\n for (var _ = 0; _ < Q.length; _++) {\n var d = Q[_];\n this[d] = _ < n ? A : this.methodFactory(d, n, D);\n }\n this.log = this.debug;\n }\n function e(n, D, _) {\n return function() {\n typeof console !== g && (i.call(this, D, _), this[n].apply(this, arguments));\n };\n }\n function o(n, D, _) {\n return x(n) || e.apply(this, arguments);\n }\n function t(n, D, _) {\n var d = this, y;\n D = D ?? \"WARN\";\n var M = \"loglevel\";\n typeof n == \"string\" ? M += \":\" + n : typeof n == \"symbol\" && (M = void 0);\n function P(F) {\n var AA = (Q[F] || \"silent\").toUpperCase();\n if (!(typeof window === g || !M)) {\n try {\n window.localStorage[M] = AA;\n return;\n } catch {\n }\n try {\n window.document.cookie = encodeURIComponent(M) + \"=\" + AA + \";\";\n } catch {\n }\n }\n }\n function Z() {\n var F;\n if (!(typeof window === g || !M)) {\n try {\n F = window.localStorage[M];\n } catch {\n }\n if (typeof F === g)\n try {\n var AA = window.document.cookie, EA = AA.indexOf(encodeURIComponent(M) + \"=\");\n EA !== -1 && (F = /^([^;]+)/.exec(AA.slice(EA))[1]);\n } catch {\n }\n return d.levels[F] === void 0 && (F = void 0), F;\n }\n }\n function l() {\n if (!(typeof window === g || !M)) {\n try {\n window.localStorage.removeItem(M);\n return;\n } catch {\n }\n try {\n window.document.cookie = encodeURIComponent(M) + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC\";\n } catch {\n }\n }\n }\n d.name = n, d.levels = {\n TRACE: 0,\n DEBUG: 1,\n INFO: 2,\n WARN: 3,\n ERROR: 4,\n SILENT: 5\n }, d.methodFactory = _ || o, d.getLevel = function() {\n return y;\n }, d.setLevel = function(F, AA) {\n if (typeof F == \"string\" && d.levels[F.toUpperCase()] !== void 0 && (F = d.levels[F.toUpperCase()]), typeof F == \"number\" && F >= 0 && F <= d.levels.SILENT) {\n if (y = F, AA !== !1 && P(F), i.call(d, F, n), typeof console === g && F < d.levels.SILENT)\n return \"No console available for logging\";\n } else\n throw \"log.setLevel() called with invalid level: \" + F;\n }, d.setDefaultLevel = function(F) {\n D = F, Z() || d.setLevel(F, !1);\n }, d.resetLevel = function() {\n d.setLevel(D, !1), l();\n }, d.enableAll = function(F) {\n d.setLevel(d.levels.TRACE, F);\n }, d.disableAll = function(F) {\n d.setLevel(d.levels.SILENT, F);\n };\n var T = Z();\n T == null && (T = D), d.setLevel(T, !1);\n }\n var a = new t(), c = {};\n a.getLogger = function(D) {\n if (typeof D != \"symbol\" && typeof D != \"string\" || D === \"\")\n throw new TypeError(\"You must supply a name when creating a logger.\");\n var _ = c[D];\n return _ || (_ = c[D] = new t(D, a.getLevel(), a.methodFactory)), _;\n };\n var h = typeof window !== g ? window.log : void 0;\n return a.noConflict = function() {\n return typeof window !== g && window.log === a && (window.log = h), a;\n }, a.getLoggers = function() {\n return c;\n }, a.default = a, a;\n });\n})(eB);\nvar cI = eB.exports, mI;\n(function(C) {\n C[C.trace = 0] = \"trace\", C[C.debug = 1] = \"debug\", C[C.info = 2] = \"info\", C[C.warn = 3] = \"warn\", C[C.error = 4] = \"error\", C[C.silent = 5] = \"silent\";\n})(mI || (mI = {}));\nvar hA;\n(function(C) {\n C.Default = \"livekit\", C.Room = \"livekit-room\", C.Participant = \"livekit-participant\", C.Track = \"livekit-track\", C.Publication = \"livekit-track-publication\", C.Engine = \"livekit-engine\", C.Signal = \"livekit-signal\", C.PCManager = \"livekit-pc-manager\", C.PCTransport = \"livekit-pc-transport\", C.E2EE = \"lk-e2ee\";\n})(hA || (hA = {}));\nlet u = cI.getLogger(\"livekit\");\nObject.values(hA).map((C) => cI.getLogger(C));\nu.setDefaultLevel(mI.info);\nfunction dA(C) {\n const A = cI.getLogger(C);\n return A.setDefaultLevel(u.getLevel()), A;\n}\nconst Mx = cI.getLogger(\"lk-e2ee\"), Dg = 7e3, ux = [0, 300, 2 * 2 * 300, 3 * 3 * 300, 4 * 4 * 300, Dg, Dg, Dg, Dg, Dg];\nclass Lx {\n constructor(A) {\n this._retryDelays = A !== void 0 ? [...A] : ux;\n }\n nextRetryDelayInMs(A) {\n if (A.retryCount >= this._retryDelays.length)\n return null;\n const g = this._retryDelays[A.retryCount];\n return A.retryCount <= 1 ? g : g + Math.random() * 1e3;\n }\n}\nfunction r(C, A, g, I) {\n function Q(B) {\n return B instanceof g ? B : new g(function(E) {\n E(B);\n });\n }\n return new (g || (g = Promise))(function(B, E) {\n function x(o) {\n try {\n e(I.next(o));\n } catch (t) {\n E(t);\n }\n }\n function i(o) {\n try {\n e(I.throw(o));\n } catch (t) {\n E(t);\n }\n }\n function e(o) {\n o.done ? B(o.value) : Q(o.value).then(x, i);\n }\n e((I = I.apply(C, A || [])).next());\n });\n}\nfunction mC(C) {\n var A = typeof Symbol == \"function\" && Symbol.iterator, g = A && C[A], I = 0;\n if (g)\n return g.call(C);\n if (C && typeof C.length == \"number\")\n return {\n next: function() {\n return C && I >= C.length && (C = void 0), { value: C && C[I++], done: !C };\n }\n };\n throw new TypeError(A ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nfunction Ig(C) {\n if (!Symbol.asyncIterator)\n throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var A = C[Symbol.asyncIterator], g;\n return A ? A.call(C) : (C = typeof mC == \"function\" ? mC(C) : C[Symbol.iterator](), g = {}, I(\"next\"), I(\"throw\"), I(\"return\"), g[Symbol.asyncIterator] = function() {\n return this;\n }, g);\n function I(B) {\n g[B] = C[B] && function(E) {\n return new Promise(function(x, i) {\n E = C[B](E), Q(x, i, E.done, E.value);\n });\n };\n }\n function Q(B, E, x, i) {\n Promise.resolve(i).then(function(e) {\n B({ value: e, done: x });\n }, E);\n }\n}\nvar cC = { exports: {} }, Qg = typeof Reflect == \"object\" ? Reflect : null, qC = Qg && typeof Qg.apply == \"function\" ? Qg.apply : function(A, g, I) {\n return Function.prototype.apply.call(A, g, I);\n}, Og;\nQg && typeof Qg.ownKeys == \"function\" ? Og = Qg.ownKeys : Object.getOwnPropertySymbols ? Og = function(A) {\n return Object.getOwnPropertyNames(A).concat(Object.getOwnPropertySymbols(A));\n} : Og = function(A) {\n return Object.getOwnPropertyNames(A);\n};\nfunction Kx(C) {\n console && console.warn && console.warn(C);\n}\nvar oB = Number.isNaN || function(A) {\n return A !== A;\n};\nfunction b() {\n b.init.call(this);\n}\ncC.exports = b;\ncC.exports.once = Yx;\nb.EventEmitter = b;\nb.prototype._events = void 0;\nb.prototype._eventsCount = 0;\nb.prototype._maxListeners = void 0;\nvar HC = 10;\nfunction nI(C) {\n if (typeof C != \"function\")\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof C);\n}\nObject.defineProperty(b, \"defaultMaxListeners\", {\n enumerable: !0,\n get: function() {\n return HC;\n },\n set: function(C) {\n if (typeof C != \"number\" || C < 0 || oB(C))\n throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + C + \".\");\n HC = C;\n }\n});\nb.init = function() {\n (this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) && (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0;\n};\nb.prototype.setMaxListeners = function(A) {\n if (typeof A != \"number\" || A < 0 || oB(A))\n throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + A + \".\");\n return this._maxListeners = A, this;\n};\nfunction aB(C) {\n return C._maxListeners === void 0 ? b.defaultMaxListeners : C._maxListeners;\n}\nb.prototype.getMaxListeners = function() {\n return aB(this);\n};\nb.prototype.emit = function(A) {\n for (var g = [], I = 1; I < arguments.length; I++)\n g.push(arguments[I]);\n var Q = A === \"error\", B = this._events;\n if (B !== void 0)\n Q = Q && B.error === void 0;\n else if (!Q)\n return !1;\n if (Q) {\n var E;\n if (g.length > 0 && (E = g[0]), E instanceof Error)\n throw E;\n var x = new Error(\"Unhandled error.\" + (E ? \" (\" + E.message + \")\" : \"\"));\n throw x.context = E, x;\n }\n var i = B[A];\n if (i === void 0)\n return !1;\n if (typeof i == \"function\")\n qC(i, this, g);\n else\n for (var e = i.length, o = DB(i, e), I = 0; I < e; ++I)\n qC(o[I], this, g);\n return !0;\n};\nfunction tB(C, A, g, I) {\n var Q, B, E;\n if (nI(g), B = C._events, B === void 0 ? (B = C._events = /* @__PURE__ */ Object.create(null), C._eventsCount = 0) : (B.newListener !== void 0 && (C.emit(\"newListener\", A, g.listener ? g.listener : g), B = C._events), E = B[A]), E === void 0)\n E = B[A] = g, ++C._eventsCount;\n else if (typeof E == \"function\" ? E = B[A] = I ? [g, E] : [E, g] : I ? E.unshift(g) : E.push(g), Q = aB(C), Q > 0 && E.length > Q && !E.warned) {\n E.warned = !0;\n var x = new Error(\"Possible EventEmitter memory leak detected. \" + E.length + \" \" + String(A) + \" listeners added. Use emitter.setMaxListeners() to increase limit\");\n x.name = \"MaxListenersExceededWarning\", x.emitter = C, x.type = A, x.count = E.length, Kx(x);\n }\n return C;\n}\nb.prototype.addListener = function(A, g) {\n return tB(this, A, g, !1);\n};\nb.prototype.on = b.prototype.addListener;\nb.prototype.prependListener = function(A, g) {\n return tB(this, A, g, !0);\n};\nfunction bx() {\n if (!this.fired)\n return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);\n}\nfunction sB(C, A, g) {\n var I = {\n fired: !1,\n wrapFn: void 0,\n target: C,\n type: A,\n listener: g\n }, Q = bx.bind(I);\n return Q.listener = g, I.wrapFn = Q, Q;\n}\nb.prototype.once = function(A, g) {\n return nI(g), this.on(A, sB(this, A, g)), this;\n};\nb.prototype.prependOnceListener = function(A, g) {\n return nI(g), this.prependListener(A, sB(this, A, g)), this;\n};\nb.prototype.removeListener = function(A, g) {\n var I, Q, B, E, x;\n if (nI(g), Q = this._events, Q === void 0)\n return this;\n if (I = Q[A], I === void 0)\n return this;\n if (I === g || I.listener === g)\n --this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete Q[A], Q.removeListener && this.emit(\"removeListener\", A, I.listener || g));\n else if (typeof I != \"function\") {\n for (B = -1, E = I.length - 1; E >= 0; E--)\n if (I[E] === g || I[E].listener === g) {\n x = I[E].listener, B = E;\n break;\n }\n if (B < 0)\n return this;\n B === 0 ? I.shift() : Ux(I, B), I.length === 1 && (Q[A] = I[0]), Q.removeListener !== void 0 && this.emit(\"removeListener\", A, x || g);\n }\n return this;\n};\nb.prototype.off = b.prototype.removeListener;\nb.prototype.removeAllListeners = function(A) {\n var g, I, Q;\n if (I = this._events, I === void 0)\n return this;\n if (I.removeListener === void 0)\n return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : I[A] !== void 0 && (--this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete I[A]), this;\n if (arguments.length === 0) {\n var B = Object.keys(I), E;\n for (Q = 0; Q < B.length; ++Q)\n E = B[Q], E !== \"removeListener\" && this.removeAllListeners(E);\n return this.removeAllListeners(\"removeListener\"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this;\n }\n if (g = I[A], typeof g == \"function\")\n this.removeListener(A, g);\n else if (g !== void 0)\n for (Q = g.length - 1; Q >= 0; Q--)\n this.removeListener(A, g[Q]);\n return this;\n};\nfunction cB(C, A, g) {\n var I = C._events;\n if (I === void 0)\n return [];\n var Q = I[A];\n return Q === void 0 ? [] : typeof Q == \"function\" ? g ? [Q.listener || Q] : [Q] : g ? Jx(Q) : DB(Q, Q.length);\n}\nb.prototype.listeners = function(A) {\n return cB(this, A, !0);\n};\nb.prototype.rawListeners = function(A) {\n return cB(this, A, !1);\n};\nb.listenerCount = function(C, A) {\n return typeof C.listenerCount == \"function\" ? C.listenerCount(A) : nB.call(C, A);\n};\nb.prototype.listenerCount = nB;\nfunction nB(C) {\n var A = this._events;\n if (A !== void 0) {\n var g = A[C];\n if (typeof g == \"function\")\n return 1;\n if (g !== void 0)\n return g.length;\n }\n return 0;\n}\nb.prototype.eventNames = function() {\n return this._eventsCount > 0 ? Og(this._events) : [];\n};\nfunction DB(C, A) {\n for (var g = new Array(A), I = 0; I < A; ++I)\n g[I] = C[I];\n return g;\n}\nfunction Ux(C, A) {\n for (; A + 1 < C.length; A++)\n C[A] = C[A + 1];\n C.pop();\n}\nfunction Jx(C) {\n for (var A = new Array(C.length), g = 0; g < A.length; ++g)\n A[g] = C[g].listener || C[g];\n return A;\n}\nfunction Yx(C, A) {\n return new Promise(function(g, I) {\n function Q(E) {\n C.removeListener(A, B), I(E);\n }\n function B() {\n typeof C.removeListener == \"function\" && C.removeListener(\"error\", Q), g([].slice.call(arguments));\n }\n rB(C, A, B, {\n once: !0\n }), A !== \"error\" && px(C, Q, {\n once: !0\n });\n });\n}\nfunction px(C, A, g) {\n typeof C.on == \"function\" && rB(C, \"error\", A, g);\n}\nfunction rB(C, A, g, I) {\n if (typeof C.on == \"function\")\n I.once ? C.once(A, g) : C.on(A, g);\n else if (typeof C.addEventListener == \"function\")\n C.addEventListener(A, function Q(B) {\n I.once && C.removeEventListener(A, Q), g(B);\n });\n else\n throw new TypeError('The \"emitter\" argument must be of type EventEmitter. Received type ' + typeof C);\n}\nvar GA = cC.exports;\nlet hB = !0, dB = !0;\nfunction Pg(C, A, g) {\n const I = C.match(A);\n return I && I.length >= g && parseInt(I[g], 10);\n}\nfunction zA(C, A, g) {\n if (!C.RTCPeerConnection)\n return;\n const I = C.RTCPeerConnection.prototype, Q = I.addEventListener;\n I.addEventListener = function(E, x) {\n if (E !== A)\n return Q.apply(this, arguments);\n const i = (e) => {\n const o = g(e);\n o && (x.handleEvent ? x.handleEvent(o) : x(o));\n };\n return this._eventMap = this._eventMap || {}, this._eventMap[A] || (this._eventMap[A] = /* @__PURE__ */ new Map()), this._eventMap[A].set(x, i), Q.apply(this, [E, i]);\n };\n const B = I.removeEventListener;\n I.removeEventListener = function(E, x) {\n if (E !== A || !this._eventMap || !this._eventMap[A])\n return B.apply(this, arguments);\n if (!this._eventMap[A].has(x))\n return B.apply(this, arguments);\n const i = this._eventMap[A].get(x);\n return this._eventMap[A].delete(x), this._eventMap[A].size === 0 && delete this._eventMap[A], Object.keys(this._eventMap).length === 0 && delete this._eventMap, B.apply(this, [E, i]);\n }, Object.defineProperty(I, \"on\" + A, {\n get() {\n return this[\"_on\" + A];\n },\n set(E) {\n this[\"_on\" + A] && (this.removeEventListener(A, this[\"_on\" + A]), delete this[\"_on\" + A]), E && this.addEventListener(A, this[\"_on\" + A] = E);\n },\n enumerable: !0,\n configurable: !0\n });\n}\nfunction mx(C) {\n return typeof C != \"boolean\" ? new Error(\"Argument type: \" + typeof C + \". Please use a boolean.\") : (hB = C, C ? \"adapter.js logging disabled\" : \"adapter.js logging enabled\");\n}\nfunction qx(C) {\n return typeof C != \"boolean\" ? new Error(\"Argument type: \" + typeof C + \". Please use a boolean.\") : (dB = !C, \"adapter.js deprecation warnings \" + (C ? \"disabled\" : \"enabled\"));\n}\nfunction wB() {\n if (typeof window == \"object\") {\n if (hB)\n return;\n typeof console < \"u\" && typeof console.log == \"function\" && console.log.apply(console, arguments);\n }\n}\nfunction nC(C, A) {\n dB && console.warn(C + \" is deprecated, please use \" + A + \" instead.\");\n}\nfunction Hx(C) {\n const A = {\n browser: null,\n version: null\n };\n if (typeof C > \"u\" || !C.navigator || !C.navigator.userAgent)\n return A.browser = \"Not a browser.\", A;\n const {\n navigator: g\n } = C;\n if (g.mozGetUserMedia)\n A.browser = \"firefox\", A.version = Pg(g.userAgent, /Firefox\\/(\\d+)\\./, 1);\n else if (g.webkitGetUserMedia || C.isSecureContext === !1 && C.webkitRTCPeerConnection)\n A.browser = \"chrome\", A.version = Pg(g.userAgent, /Chrom(e|ium)\\/(\\d+)\\./, 2);\n else if (C.RTCPeerConnection && g.userAgent.match(/AppleWebKit\\/(\\d+)\\./))\n A.browser = \"safari\", A.version = Pg(g.userAgent, /AppleWebKit\\/(\\d+)\\./, 1), A.supportsUnifiedPlan = C.RTCRtpTransceiver && \"currentDirection\" in C.RTCRtpTransceiver.prototype;\n else\n return A.browser = \"Not a supported browser.\", A;\n return A;\n}\nfunction TC(C) {\n return Object.prototype.toString.call(C) === \"[object Object]\";\n}\nfunction kB(C) {\n return TC(C) ? Object.keys(C).reduce(function(A, g) {\n const I = TC(C[g]), Q = I ? kB(C[g]) : C[g], B = I && !Object.keys(Q).length;\n return Q === void 0 || B ? A : Object.assign(A, {\n [g]: Q\n });\n }, {}) : C;\n}\nfunction qI(C, A, g) {\n !A || g.has(A.id) || (g.set(A.id, A), Object.keys(A).forEach((I) => {\n I.endsWith(\"Id\") ? qI(C, C.get(A[I]), g) : I.endsWith(\"Ids\") && A[I].forEach((Q) => {\n qI(C, C.get(Q), g);\n });\n }));\n}\nfunction vC(C, A, g) {\n const I = g ? \"outbound-rtp\" : \"inbound-rtp\", Q = /* @__PURE__ */ new Map();\n if (A === null)\n return Q;\n const B = [];\n return C.forEach((E) => {\n E.type === \"track\" && E.trackIdentifier === A.id && B.push(E);\n }), B.forEach((E) => {\n C.forEach((x) => {\n x.type === I && x.trackId === E.id && qI(C, x, Q);\n });\n }), Q;\n}\nconst OC = wB;\nfunction _B(C, A) {\n const g = C && C.navigator;\n if (!g.mediaDevices)\n return;\n const I = function(x) {\n if (typeof x != \"object\" || x.mandatory || x.optional)\n return x;\n const i = {};\n return Object.keys(x).forEach((e) => {\n if (e === \"require\" || e === \"advanced\" || e === \"mediaSource\")\n return;\n const o = typeof x[e] == \"object\" ? x[e] : {\n ideal: x[e]\n };\n o.exact !== void 0 && typeof o.exact == \"number\" && (o.min = o.max = o.exact);\n const t = function(a, c) {\n return a ? a + c.charAt(0).toUpperCase() + c.slice(1) : c === \"deviceId\" ? \"sourceId\" : c;\n };\n if (o.ideal !== void 0) {\n i.optional = i.optional || [];\n let a = {};\n typeof o.ideal == \"number\" ? (a[t(\"min\", e)] = o.ideal, i.optional.push(a), a = {}, a[t(\"max\", e)] = o.ideal, i.optional.push(a)) : (a[t(\"\", e)] = o.ideal, i.optional.push(a));\n }\n o.exact !== void 0 && typeof o.exact != \"number\" ? (i.mandatory = i.mandatory || {}, i.mandatory[t(\"\", e)] = o.exact) : [\"min\", \"max\"].forEach((a) => {\n o[a] !== void 0 && (i.mandatory = i.mandatory || {}, i.mandatory[t(a, e)] = o[a]);\n });\n }), x.advanced && (i.optional = (i.optional || []).concat(x.advanced)), i;\n }, Q = function(x, i) {\n if (A.version >= 61)\n return i(x);\n if (x = JSON.parse(JSON.stringify(x)), x && typeof x.audio == \"object\") {\n const e = function(o, t, a) {\n t in o && !(a in o) && (o[a] = o[t], delete o[t]);\n };\n x = JSON.parse(JSON.stringify(x)), e(x.audio, \"autoGainControl\", \"googAutoGainControl\"), e(x.audio, \"noiseSuppression\", \"googNoiseSuppression\"), x.audio = I(x.audio);\n }\n if (x && typeof x.video == \"object\") {\n let e = x.video.facingMode;\n e = e && (typeof e == \"object\" ? e : {\n ideal: e\n });\n const o = A.version < 66;\n if (e && (e.exact === \"user\" || e.exact === \"environment\" || e.ideal === \"user\" || e.ideal === \"environment\") && !(g.mediaDevices.getSupportedConstraints && g.mediaDevices.getSupportedConstraints().facingMode && !o)) {\n delete x.video.facingMode;\n let t;\n if (e.exact === \"environment\" || e.ideal === \"environment\" ? t = [\"back\", \"rear\"] : (e.exact === \"user\" || e.ideal === \"user\") && (t = [\"front\"]), t)\n return g.mediaDevices.enumerateDevices().then((a) => {\n a = a.filter((h) => h.kind === \"videoinput\");\n let c = a.find((h) => t.some((n) => h.label.toLowerCase().includes(n)));\n return !c && a.length && t.includes(\"back\") && (c = a[a.length - 1]), c && (x.video.deviceId = e.exact ? {\n exact: c.deviceId\n } : {\n ideal: c.deviceId\n }), x.video = I(x.video), OC(\"chrome: \" + JSON.stringify(x)), i(x);\n });\n }\n x.video = I(x.video);\n }\n return OC(\"chrome: \" + JSON.stringify(x)), i(x);\n }, B = function(x) {\n return A.version >= 64 ? x : {\n name: {\n PermissionDeniedError: \"NotAllowedError\",\n PermissionDismissedError: \"NotAllowedError\",\n InvalidStateError: \"NotAllowedError\",\n DevicesNotFoundError: \"NotFoundError\",\n ConstraintNotSatisfiedError: \"OverconstrainedError\",\n TrackStartError: \"NotReadableError\",\n MediaDeviceFailedDueToShutdown: \"NotAllowedError\",\n MediaDeviceKillSwitchOn: \"NotAllowedError\",\n TabCaptureError: \"AbortError\",\n ScreenCaptureError: \"AbortError\",\n DeviceCaptureError: \"AbortError\"\n }[x.name] || x.name,\n message: x.message,\n constraint: x.constraint || x.constraintName,\n toString() {\n return this.name + (this.message && \": \") + this.message;\n }\n };\n }, E = function(x, i, e) {\n Q(x, (o) => {\n g.webkitGetUserMedia(o, i, (t) => {\n e && e(B(t));\n });\n });\n };\n if (g.getUserMedia = E.bind(g), g.mediaDevices.getUserMedia) {\n const x = g.mediaDevices.getUserMedia.bind(g.mediaDevices);\n g.mediaDevices.getUserMedia = function(i) {\n return Q(i, (e) => x(e).then((o) => {\n if (e.audio && !o.getAudioTracks().length || e.video && !o.getVideoTracks().length)\n throw o.getTracks().forEach((t) => {\n t.stop();\n }), new DOMException(\"\", \"NotFoundError\");\n return o;\n }, (o) => Promise.reject(B(o))));\n };\n }\n}\nfunction Tx(C, A) {\n if (!(C.navigator.mediaDevices && \"getDisplayMedia\" in C.navigator.mediaDevices) && C.navigator.mediaDevices) {\n if (typeof A != \"function\") {\n console.error(\"shimGetDisplayMedia: getSourceId argument is not a function\");\n return;\n }\n C.navigator.mediaDevices.getDisplayMedia = function(I) {\n return A(I).then((Q) => {\n const B = I.video && I.video.width, E = I.video && I.video.height, x = I.video && I.video.frameRate;\n return I.video = {\n mandatory: {\n chromeMediaSource: \"desktop\",\n chromeMediaSourceId: Q,\n maxFrameRate: x || 3\n }\n }, B && (I.video.mandatory.maxWidth = B), E && (I.video.mandatory.maxHeight = E), C.navigator.mediaDevices.getUserMedia(I);\n });\n };\n }\n}\nfunction fB(C) {\n C.MediaStream = C.MediaStream || C.webkitMediaStream;\n}\nfunction GB(C) {\n if (typeof C == \"object\" && C.RTCPeerConnection && !(\"ontrack\" in C.RTCPeerConnection.prototype)) {\n Object.defineProperty(C.RTCPeerConnection.prototype, \"ontrack\", {\n get() {\n return this._ontrack;\n },\n set(g) {\n this._ontrack && this.removeEventListener(\"track\", this._ontrack), this.addEventListener(\"track\", this._ontrack = g);\n },\n enumerable: !0,\n configurable: !0\n });\n const A = C.RTCPeerConnection.prototype.setRemoteDescription;\n C.RTCPeerConnection.prototype.setRemoteDescription = function() {\n return this._ontrackpoly || (this._ontrackpoly = (I) => {\n I.stream.addEventListener(\"addtrack\", (Q) => {\n let B;\n C.RTCPeerConnection.prototype.getReceivers ? B = this.getReceivers().find((x) => x.track && x.track.id === Q.track.id) : B = {\n track: Q.track\n };\n const E = new Event(\"track\");\n E.track = Q.track, E.receiver = B, E.transceiver = {\n receiver: B\n }, E.streams = [I.stream], this.dispatchEvent(E);\n }), I.stream.getTracks().forEach((Q) => {\n let B;\n C.RTCPeerConnection.prototype.getReceivers ? B = this.getReceivers().find((x) => x.track && x.track.id === Q.id) : B = {\n track: Q\n };\n const E = new Event(\"track\");\n E.track = Q, E.receiver = B, E.transceiver = {\n receiver: B\n }, E.streams = [I.stream], this.dispatchEvent(E);\n });\n }, this.addEventListener(\"addstream\", this._ontrackpoly)), A.apply(this, arguments);\n };\n } else\n zA(C, \"track\", (A) => (A.transceiver || Object.defineProperty(A, \"transceiver\", {\n value: {\n receiver: A.receiver\n }\n }), A));\n}\nfunction NB(C) {\n if (typeof C == \"object\" && C.RTCPeerConnection && !(\"getSenders\" in C.RTCPeerConnection.prototype) && \"createDTMFSender\" in C.RTCPeerConnection.prototype) {\n const A = function(Q, B) {\n return {\n track: B,\n get dtmf() {\n return this._dtmf === void 0 && (B.kind === \"audio\" ? this._dtmf = Q.createDTMFSender(B) : this._dtmf = null), this._dtmf;\n },\n _pc: Q\n };\n };\n if (!C.RTCPeerConnection.prototype.getSenders) {\n C.RTCPeerConnection.prototype.getSenders = function() {\n return this._senders = this._senders || [], this._senders.slice();\n };\n const Q = C.RTCPeerConnection.prototype.addTrack;\n C.RTCPeerConnection.prototype.addTrack = function(x, i) {\n let e = Q.apply(this, arguments);\n return e || (e = A(this, x), this._senders.push(e)), e;\n };\n const B = C.RTCPeerConnection.prototype.removeTrack;\n C.RTCPeerConnection.prototype.removeTrack = function(x) {\n B.apply(this, arguments);\n const i = this._senders.indexOf(x);\n i !== -1 && this._senders.splice(i, 1);\n };\n }\n const g = C.RTCPeerConnection.prototype.addStream;\n C.RTCPeerConnection.prototype.addStream = function(B) {\n this._senders = this._senders || [], g.apply(this, [B]), B.getTracks().forEach((E) => {\n this._senders.push(A(this, E));\n });\n };\n const I = C.RTCPeerConnection.prototype.removeStream;\n C.RTCPeerConnection.prototype.removeStream = function(B) {\n this._senders = this._senders || [], I.apply(this, [B]), B.getTracks().forEach((E) => {\n const x = this._senders.find((i) => i.track === E);\n x && this._senders.splice(this._senders.indexOf(x), 1);\n });\n };\n } else if (typeof C == \"object\" && C.RTCPeerConnection && \"getSenders\" in C.RTCPeerConnection.prototype && \"createDTMFSender\" in C.RTCPeerConnection.prototype && C.RTCRtpSender && !(\"dtmf\" in C.RTCRtpSender.prototype)) {\n const A = C.RTCPeerConnection.prototype.getSenders;\n C.RTCPeerConnection.prototype.getSenders = function() {\n const I = A.apply(this, []);\n return I.forEach((Q) => Q._pc = this), I;\n }, Object.defineProperty(C.RTCRtpSender.prototype, \"dtmf\", {\n get() {\n return this._dtmf === void 0 && (this.track.kind === \"audio\" ? this._dtmf = this._pc.createDTMFSender(this.track) : this._dtmf = null), this._dtmf;\n }\n });\n }\n}\nfunction RB(C) {\n if (!C.RTCPeerConnection)\n return;\n const A = C.RTCPeerConnection.prototype.getStats;\n C.RTCPeerConnection.prototype.getStats = function() {\n const [I, Q, B] = arguments;\n if (arguments.length > 0 && typeof I == \"function\")\n return A.apply(this, arguments);\n if (A.length === 0 && (arguments.length === 0 || typeof I != \"function\"))\n return A.apply(this, []);\n const E = function(i) {\n const e = {};\n return i.result().forEach((t) => {\n const a = {\n id: t.id,\n timestamp: t.timestamp,\n type: {\n localcandidate: \"local-candidate\",\n remotecandidate: \"remote-candidate\"\n }[t.type] || t.type\n };\n t.names().forEach((c) => {\n a[c] = t.stat(c);\n }), e[a.id] = a;\n }), e;\n }, x = function(i) {\n return new Map(Object.keys(i).map((e) => [e, i[e]]));\n };\n if (arguments.length >= 2) {\n const i = function(e) {\n Q(x(E(e)));\n };\n return A.apply(this, [i, I]);\n }\n return new Promise((i, e) => {\n A.apply(this, [function(o) {\n i(x(E(o)));\n }, e]);\n }).then(Q, B);\n };\n}\nfunction FB(C) {\n if (!(typeof C == \"object\" && C.RTCPeerConnection && C.RTCRtpSender && C.RTCRtpReceiver))\n return;\n if (!(\"getStats\" in C.RTCRtpSender.prototype)) {\n const g = C.RTCPeerConnection.prototype.getSenders;\n g && (C.RTCPeerConnection.prototype.getSenders = function() {\n const B = g.apply(this, []);\n return B.forEach((E) => E._pc = this), B;\n });\n const I = C.RTCPeerConnection.prototype.addTrack;\n I && (C.RTCPeerConnection.prototype.addTrack = function() {\n const B = I.apply(this, arguments);\n return B._pc = this, B;\n }), C.RTCRtpSender.prototype.getStats = function() {\n const B = this;\n return this._pc.getStats().then((E) => (\n /* Note: this will include stats of all senders that\n * send a track with the same id as sender.track as\n * it is not possible to identify the RTCRtpSender.\n */\n vC(E, B.track, !0)\n ));\n };\n }\n if (!(\"getStats\" in C.RTCRtpReceiver.prototype)) {\n const g = C.RTCPeerConnection.prototype.getReceivers;\n g && (C.RTCPeerConnection.prototype.getReceivers = function() {\n const Q = g.apply(this, []);\n return Q.forEach((B) => B._pc = this), Q;\n }), zA(C, \"track\", (I) => (I.receiver._pc = I.srcElement, I)), C.RTCRtpReceiver.prototype.getStats = function() {\n const Q = this;\n return this._pc.getStats().then((B) => vC(B, Q.track, !1));\n };\n }\n if (!(\"getStats\" in C.RTCRtpSender.prototype && \"getStats\" in C.RTCRtpReceiver.prototype))\n return;\n const A = C.RTCPeerConnection.prototype.getStats;\n C.RTCPeerConnection.prototype.getStats = function() {\n if (arguments.length > 0 && arguments[0] instanceof C.MediaStreamTrack) {\n const I = arguments[0];\n let Q, B, E;\n return this.getSenders().forEach((x) => {\n x.track === I && (Q ? E = !0 : Q = x);\n }), this.getReceivers().forEach((x) => (x.track === I && (B ? E = !0 : B = x), x.track === I)), E || Q && B ? Promise.reject(new DOMException(\"There are more than one sender or receiver for the track.\", \"InvalidAccessError\")) : Q ? Q.getStats() : B ? B.getStats() : Promise.reject(new DOMException(\"There is no sender or receiver for the track.\", \"InvalidAccessError\"));\n }\n return A.apply(this, arguments);\n };\n}\nfunction SB(C) {\n C.RTCPeerConnection.prototype.getLocalStreams = function() {\n return this._shimmedLocalStreams = this._shimmedLocalStreams || {}, Object.keys(this._shimmedLocalStreams).map((E) => this._shimmedLocalStreams[E][0]);\n };\n const A = C.RTCPeerConnection.prototype.addTrack;\n C.RTCPeerConnection.prototype.addTrack = function(E, x) {\n if (!x)\n return A.apply(this, arguments);\n this._shimmedLocalStreams = this._shimmedLocalStreams || {};\n const i = A.apply(this, arguments);\n return this._shimmedLocalStreams[x.id] ? this._shimmedLocalStreams[x.id].indexOf(i) === -1 && this._shimmedLocalStreams[x.id].push(i) : this._shimmedLocalStreams[x.id] = [x, i], i;\n };\n const g = C.RTCPeerConnection.prototype.addStream;\n C.RTCPeerConnection.prototype.addStream = function(E) {\n this._shimmedLocalStreams = this._shimmedLocalStreams || {}, E.getTracks().forEach((e) => {\n if (this.getSenders().find((t) => t.track === e))\n throw new DOMException(\"Track already exists.\", \"InvalidAccessError\");\n });\n const x = this.getSenders();\n g.apply(this, arguments);\n const i = this.getSenders().filter((e) => x.indexOf(e) === -1);\n this._shimmedLocalStreams[E.id] = [E].concat(i);\n };\n const I = C.RTCPeerConnection.prototype.removeStream;\n C.RTCPeerConnection.prototype.removeStream = function(E) {\n return this._shimmedLocalStreams = this._shimmedLocalStreams || {}, delete this._shimmedLocalStreams[E.id], I.apply(this, arguments);\n };\n const Q = C.RTCPeerConnection.prototype.removeTrack;\n C.RTCPeerConnection.prototype.removeTrack = function(E) {\n return this._shimmedLocalStreams = this._shimmedLocalStreams || {}, E && Object.keys(this._shimmedLocalStreams).forEach((x) => {\n const i = this._shimmedLocalStreams[x].indexOf(E);\n i !== -1 && this._shimmedLocalStreams[x].splice(i, 1), this._shimmedLocalStreams[x].length === 1 && delete this._shimmedLocalStreams[x];\n }), Q.apply(this, arguments);\n };\n}\nfunction yB(C, A) {\n if (!C.RTCPeerConnection)\n return;\n if (C.RTCPeerConnection.prototype.addTrack && A.version >= 65)\n return SB(C);\n const g = C.RTCPeerConnection.prototype.getLocalStreams;\n C.RTCPeerConnection.prototype.getLocalStreams = function() {\n const o = g.apply(this);\n return this._reverseStreams = this._reverseStreams || {}, o.map((t) => this._reverseStreams[t.id]);\n };\n const I = C.RTCPeerConnection.prototype.addStream;\n C.RTCPeerConnection.prototype.addStream = function(o) {\n if (this._streams = this._streams || {}, this._reverseStreams = this._reverseStreams || {}, o.getTracks().forEach((t) => {\n if (this.getSenders().find((c) => c.track === t))\n throw new DOMException(\"Track already exists.\", \"InvalidAccessError\");\n }), !this._reverseStreams[o.id]) {\n const t = new C.MediaStream(o.getTracks());\n this._streams[o.id] = t, this._reverseStreams[t.id] = o, o = t;\n }\n I.apply(this, [o]);\n };\n const Q = C.RTCPeerConnection.prototype.removeStream;\n C.RTCPeerConnection.prototype.removeStream = function(o) {\n this._streams = this._streams || {}, this._reverseStreams = this._reverseStreams || {}, Q.apply(this, [this._streams[o.id] || o]), delete this._reverseStreams[this._streams[o.id] ? this._streams[o.id].id : o.id], delete this._streams[o.id];\n }, C.RTCPeerConnection.prototype.addTrack = function(o, t) {\n if (this.signalingState === \"closed\")\n throw new DOMException(\"The RTCPeerConnection's signalingState is 'closed'.\", \"InvalidStateError\");\n const a = [].slice.call(arguments, 1);\n if (a.length !== 1 || !a[0].getTracks().find((n) => n === o))\n throw new DOMException(\"The adapter.js addTrack polyfill only supports a single stream which is associated with the specified track.\", \"NotSupportedError\");\n if (this.getSenders().find((n) => n.track === o))\n throw new DOMException(\"Track already exists.\", \"InvalidAccessError\");\n this._streams = this._streams || {}, this._reverseStreams = this._reverseStreams || {};\n const h = this._streams[t.id];\n if (h)\n h.addTrack(o), Promise.resolve().then(() => {\n this.dispatchEvent(new Event(\"negotiationneeded\"));\n });\n else {\n const n = new C.MediaStream([o]);\n this._streams[t.id] = n, this._reverseStreams[n.id] = t, this.addStream(n);\n }\n return this.getSenders().find((n) => n.track === o);\n };\n function B(e, o) {\n let t = o.sdp;\n return Object.keys(e._reverseStreams || []).forEach((a) => {\n const c = e._reverseStreams[a], h = e._streams[c.id];\n t = t.replace(new RegExp(h.id, \"g\"), c.id);\n }), new RTCSessionDescription({\n type: o.type,\n sdp: t\n });\n }\n function E(e, o) {\n let t = o.sdp;\n return Object.keys(e._reverseStreams || []).forEach((a) => {\n const c = e._reverseStreams[a], h = e._streams[c.id];\n t = t.replace(new RegExp(c.id, \"g\"), h.id);\n }), new RTCSessionDescription({\n type: o.type,\n sdp: t\n });\n }\n [\"createOffer\", \"createAnswer\"].forEach(function(e) {\n const o = C.RTCPeerConnection.prototype[e], t = {\n [e]() {\n const a = arguments;\n return arguments.length && typeof arguments[0] == \"function\" ? o.apply(this, [(h) => {\n const n = B(this, h);\n a[0].apply(null, [n]);\n }, (h) => {\n a[1] && a[1].apply(null, h);\n }, arguments[2]]) : o.apply(this, arguments).then((h) => B(this, h));\n }\n };\n C.RTCPeerConnection.prototype[e] = t[e];\n });\n const x = C.RTCPeerConnection.prototype.setLocalDescription;\n C.RTCPeerConnection.prototype.setLocalDescription = function() {\n return !arguments.length || !arguments[0].type ? x.apply(this, arguments) : (arguments[0] = E(this, arguments[0]), x.apply(this, arguments));\n };\n const i = Object.getOwnPropertyDescriptor(C.RTCPeerConnection.prototype, \"localDescription\");\n Object.defineProperty(C.RTCPeerConnection.prototype, \"localDescription\", {\n get() {\n const e = i.get.apply(this);\n return e.type === \"\" ? e : B(this, e);\n }\n }), C.RTCPeerConnection.prototype.removeTrack = function(o) {\n if (this.signalingState === \"closed\")\n throw new DOMException(\"The RTCPeerConnection's signalingState is 'closed'.\", \"InvalidStateError\");\n if (!o._pc)\n throw new DOMException(\"Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.\", \"TypeError\");\n if (!(o._pc === this))\n throw new DOMException(\"Sender was not created by this connection.\", \"InvalidAccessError\");\n this._streams = this._streams || {};\n let a;\n Object.keys(this._streams).forEach((c) => {\n this._streams[c].getTracks().find((n) => o.track === n) && (a = this._streams[c]);\n }), a && (a.getTracks().length === 1 ? this.removeStream(this._reverseStreams[a.id]) : a.removeTrack(o.track), this.dispatchEvent(new Event(\"negotiationneeded\")));\n };\n}\nfunction HI(C, A) {\n !C.RTCPeerConnection && C.webkitRTCPeerConnection && (C.RTCPeerConnection = C.webkitRTCPeerConnection), C.RTCPeerConnection && A.version < 53 && [\"setLocalDescription\", \"setRemoteDescription\", \"addIceCandidate\"].forEach(function(g) {\n const I = C.RTCPeerConnection.prototype[g], Q = {\n [g]() {\n return arguments[0] = new (g === \"addIceCandidate\" ? C.RTCIceCandidate : C.RTCSessionDescription)(arguments[0]), I.apply(this, arguments);\n }\n };\n C.RTCPeerConnection.prototype[g] = Q[g];\n });\n}\nfunction lB(C, A) {\n zA(C, \"negotiationneeded\", (g) => {\n const I = g.target;\n if (!((A.version < 72 || I.getConfiguration && I.getConfiguration().sdpSemantics === \"plan-b\") && I.signalingState !== \"stable\"))\n return g;\n });\n}\nvar PC = /* @__PURE__ */ Object.freeze({\n __proto__: null,\n fixNegotiationNeeded: lB,\n shimAddTrackRemoveTrack: yB,\n shimAddTrackRemoveTrackWithNative: SB,\n shimGetDisplayMedia: Tx,\n shimGetSendersWithDtmf: NB,\n shimGetStats: RB,\n shimGetUserMedia: _B,\n shimMediaStream: fB,\n shimOnTrack: GB,\n shimPeerConnection: HI,\n shimSenderReceiverGetStats: FB\n});\nfunction MB(C, A) {\n const g = C && C.navigator, I = C && C.MediaStreamTrack;\n if (g.getUserMedia = function(Q, B, E) {\n nC(\"navigator.getUserMedia\", \"navigator.mediaDevices.getUserMedia\"), g.mediaDevices.getUserMedia(Q).then(B, E);\n }, !(A.version > 55 && \"autoGainControl\" in g.mediaDevices.getSupportedConstraints())) {\n const Q = function(E, x, i) {\n x in E && !(i in E) && (E[i] = E[x], delete E[x]);\n }, B = g.mediaDevices.getUserMedia.bind(g.mediaDevices);\n if (g.mediaDevices.getUserMedia = function(E) {\n return typeof E == \"object\" && typeof E.audio == \"object\" && (E = JSON.parse(JSON.stringify(E)), Q(E.audio, \"autoGainControl\", \"mozAutoGainControl\"), Q(E.audio, \"noiseSuppression\", \"mozNoiseSuppression\")), B(E);\n }, I && I.prototype.getSettings) {\n const E = I.prototype.getSettings;\n I.prototype.getSettings = function() {\n const x = E.apply(this, arguments);\n return Q(x, \"mozAutoGainControl\", \"autoGainControl\"), Q(x, \"mozNoiseSuppression\", \"noiseSuppression\"), x;\n };\n }\n if (I && I.prototype.applyConstraints) {\n const E = I.prototype.applyConstraints;\n I.prototype.applyConstraints = function(x) {\n return this.kind === \"audio\" && typeof x == \"object\" && (x = JSON.parse(JSON.stringify(x)), Q(x, \"autoGainControl\", \"mozAutoGainControl\"), Q(x, \"noiseSuppression\", \"mozNoiseSuppression\")), E.apply(this, [x]);\n };\n }\n }\n}\nfunction vx(C, A) {\n C.navigator.mediaDevices && \"getDisplayMedia\" in C.navigator.mediaDevices || C.navigator.mediaDevices && (C.navigator.mediaDevices.getDisplayMedia = function(I) {\n if (!(I && I.video)) {\n const Q = new DOMException(\"getDisplayMedia without video constraints is undefined\");\n return Q.name = \"NotFoundError\", Q.code = 8, Promise.reject(Q);\n }\n return I.video === !0 ? I.video = {\n mediaSource: A\n } : I.video.mediaSource = A, C.navigator.mediaDevices.getUserMedia(I);\n });\n}\nfunction uB(C) {\n typeof C == \"object\" && C.RTCTrackEvent && \"receiver\" in C.RTCTrackEvent.prototype && !(\"transceiver\" in C.RTCTrackEvent.prototype) && Object.defineProperty(C.RTCTrackEvent.prototype, \"transceiver\", {\n get() {\n return {\n receiver: this.receiver\n };\n }\n });\n}\nfunction TI(C, A) {\n if (typeof C != \"object\" || !(C.RTCPeerConnection || C.mozRTCPeerConnection))\n return;\n !C.RTCPeerConnection && C.mozRTCPeerConnection && (C.RTCPeerConnection = C.mozRTCPeerConnection), A.version < 53 && [\"setLocalDescription\", \"setRemoteDescription\", \"addIceCandidate\"].forEach(function(Q) {\n const B = C.RTCPeerConnection.prototype[Q], E = {\n [Q]() {\n return arguments[0] = new (Q === \"addIceCandidate\" ? C.RTCIceCandidate : C.RTCSessionDescription)(arguments[0]), B.apply(this, arguments);\n }\n };\n C.RTCPeerConnection.prototype[Q] = E[Q];\n });\n const g = {\n inboundrtp: \"inbound-rtp\",\n outboundrtp: \"outbound-rtp\",\n candidatepair: \"candidate-pair\",\n localcandidate: \"local-candidate\",\n remotecandidate: \"remote-candidate\"\n }, I = C.RTCPeerConnection.prototype.getStats;\n C.RTCPeerConnection.prototype.getStats = function() {\n const [B, E, x] = arguments;\n return I.apply(this, [B || null]).then((i) => {\n if (A.version < 53 && !E)\n try {\n i.forEach((e) => {\n e.type = g[e.type] || e.type;\n });\n } catch (e) {\n if (e.name !== \"TypeError\")\n throw e;\n i.forEach((o, t) => {\n i.set(t, Object.assign({}, o, {\n type: g[o.type] || o.type\n }));\n });\n }\n return i;\n }).then(E, x);\n };\n}\nfunction LB(C) {\n if (!(typeof C == \"object\" && C.RTCPeerConnection && C.RTCRtpSender) || C.RTCRtpSender && \"getStats\" in C.RTCRtpSender.prototype)\n return;\n const A = C.RTCPeerConnection.prototype.getSenders;\n A && (C.RTCPeerConnection.prototype.getSenders = function() {\n const Q = A.apply(this, []);\n return Q.forEach((B) => B._pc = this), Q;\n });\n const g = C.RTCPeerConnection.prototype.addTrack;\n g && (C.RTCPeerConnection.prototype.addTrack = function() {\n const Q = g.apply(this, arguments);\n return Q._pc = this, Q;\n }), C.RTCRtpSender.prototype.getStats = function() {\n return this.track ? this._pc.getStats(this.track) : Promise.resolve(/* @__PURE__ */ new Map());\n };\n}\nfunction KB(C) {\n if (!(typeof C == \"object\" && C.RTCPeerConnection && C.RTCRtpSender) || C.RTCRtpSender && \"getStats\" in C.RTCRtpReceiver.prototype)\n return;\n const A = C.RTCPeerConnection.prototype.getReceivers;\n A && (C.RTCPeerConnection.prototype.getReceivers = function() {\n const I = A.apply(this, []);\n return I.forEach((Q) => Q._pc = this), I;\n }), zA(C, \"track\", (g) => (g.receiver._pc = g.srcElement, g)), C.RTCRtpReceiver.prototype.getStats = function() {\n return this._pc.getStats(this.track);\n };\n}\nfunction bB(C) {\n !C.RTCPeerConnection || \"removeStream\" in C.RTCPeerConnection.prototype || (C.RTCPeerConnection.prototype.removeStream = function(g) {\n nC(\"removeStream\", \"removeTrack\"), this.getSenders().forEach((I) => {\n I.track && g.getTracks().includes(I.track) && this.removeTrack(I);\n });\n });\n}\nfunction UB(C) {\n C.DataChannel && !C.RTCDataChannel && (C.RTCDataChannel = C.DataChannel);\n}\nfunction JB(C) {\n if (!(typeof C == \"object\" && C.RTCPeerConnection))\n return;\n const A = C.RTCPeerConnection.prototype.addTransceiver;\n A && (C.RTCPeerConnection.prototype.addTransceiver = function() {\n this.setParametersPromises = [];\n let I = arguments[1] && arguments[1].sendEncodings;\n I === void 0 && (I = []), I = [...I];\n const Q = I.length > 0;\n Q && I.forEach((E) => {\n if (\"rid\" in E && !/^[a-z0-9]{0,16}$/i.test(E.rid))\n throw new TypeError(\"Invalid RID value provided.\");\n if (\"scaleResolutionDownBy\" in E && !(parseFloat(E.scaleResolutionDownBy) >= 1))\n throw new RangeError(\"scale_resolution_down_by must be >= 1.0\");\n if (\"maxFramerate\" in E && !(parseFloat(E.maxFramerate) >= 0))\n throw new RangeError(\"max_framerate must be >= 0.0\");\n });\n const B = A.apply(this, arguments);\n if (Q) {\n const {\n sender: E\n } = B, x = E.getParameters();\n (!(\"encodings\" in x) || // Avoid being fooled by patched getParameters() below.\n x.encodings.length === 1 && Object.keys(x.encodings[0]).length === 0) && (x.encodings = I, E.sendEncodings = I, this.setParametersPromises.push(E.setParameters(x).then(() => {\n delete E.sendEncodings;\n }).catch(() => {\n delete E.sendEncodings;\n })));\n }\n return B;\n });\n}\nfunction YB(C) {\n if (!(typeof C == \"object\" && C.RTCRtpSender))\n return;\n const A = C.RTCRtpSender.prototype.getParameters;\n A && (C.RTCRtpSender.prototype.getParameters = function() {\n const I = A.apply(this, arguments);\n return \"encodings\" in I || (I.encodings = [].concat(this.sendEncodings || [{}])), I;\n });\n}\nfunction pB(C) {\n if (!(typeof C == \"object\" && C.RTCPeerConnection))\n return;\n const A = C.RTCPeerConnection.prototype.createOffer;\n C.RTCPeerConnection.prototype.createOffer = function() {\n return this.setParametersPromises && this.setParametersPromises.length ? Promise.all(this.setParametersPromises).then(() => A.apply(this, arguments)).finally(() => {\n this.setParametersPromises = [];\n }) : A.apply(this, arguments);\n };\n}\nfunction mB(C) {\n if (!(typeof C == \"object\" && C.RTCPeerConnection))\n return;\n const A = C.RTCPeerConnection.prototype.createAnswer;\n C.RTCPeerConnection.prototype.createAnswer = function() {\n return this.setParametersPromises && this.setParametersPromises.length ? Promise.all(this.setParametersPromises).then(() => A.apply(this, arguments)).finally(() => {\n this.setParametersPromises = [];\n }) : A.apply(this, arguments);\n };\n}\nvar VC = /* @__PURE__ */ Object.freeze({\n __proto__: null,\n shimAddTransceiver: JB,\n shimCreateAnswer: mB,\n shimCreateOffer: pB,\n shimGetDisplayMedia: vx,\n shimGetParameters: YB,\n shimGetUserMedia: MB,\n shimOnTrack: uB,\n shimPeerConnection: TI,\n shimRTCDataChannel: UB,\n shimReceiverGetStats: KB,\n shimRemoveStream: bB,\n shimSenderGetStats: LB\n});\nfunction qB(C) {\n if (!(typeof C != \"object\" || !C.RTCPeerConnection)) {\n if (\"getLocalStreams\" in C.RTCPeerConnection.prototype || (C.RTCPeerConnection.prototype.getLocalStreams = function() {\n return this._localStreams || (this._localStreams = []), this._localStreams;\n }), !(\"addStream\" in C.RTCPeerConnection.prototype)) {\n const A = C.RTCPeerConnection.prototype.addTrack;\n C.RTCPeerConnection.prototype.addStream = function(I) {\n this._localStreams || (this._localStreams = []), this._localStreams.includes(I) || this._localStreams.push(I), I.getAudioTracks().forEach((Q) => A.call(this, Q, I)), I.getVideoTracks().forEach((Q) => A.call(this, Q, I));\n }, C.RTCPeerConnection.prototype.addTrack = function(I) {\n for (var Q = arguments.length, B = new Array(Q > 1 ? Q - 1 : 0), E = 1; E < Q; E++)\n B[E - 1] = arguments[E];\n return B && B.forEach((x) => {\n this._localStreams ? this._localStreams.includes(x) || this._localStreams.push(x) : this._localStreams = [x];\n }), A.apply(this, arguments);\n };\n }\n \"removeStream\" in C.RTCPeerConnection.prototype || (C.RTCPeerConnection.prototype.removeStream = function(g) {\n this._localStreams || (this._localStreams = []);\n const I = this._localStreams.indexOf(g);\n if (I === -1)\n return;\n this._localStreams.splice(I, 1);\n const Q = g.getTracks();\n this.getSenders().forEach((B) => {\n Q.includes(B.track) && this.removeTrack(B);\n });\n });\n }\n}\nfunction HB(C) {\n if (!(typeof C != \"object\" || !C.RTCPeerConnection) && (\"getRemoteStreams\" in C.RTCPeerConnection.prototype || (C.RTCPeerConnection.prototype.getRemoteStreams = function() {\n return this._remoteStreams ? this._remoteStreams : [];\n }), !(\"onaddstream\" in C.RTCPeerConnection.prototype))) {\n Object.defineProperty(C.RTCPeerConnection.prototype, \"onaddstream\", {\n get() {\n return this._onaddstream;\n },\n set(g) {\n this._onaddstream && (this.removeEventListener(\"addstream\", this._onaddstream), this.removeEventListener(\"track\", this._onaddstreampoly)), this.addEventListener(\"addstream\", this._onaddstream = g), this.addEventListener(\"track\", this._onaddstreampoly = (I) => {\n I.streams.forEach((Q) => {\n if (this._remoteStreams || (this._remoteStreams = []), this._remoteStreams.includes(Q))\n return;\n this._remoteStreams.push(Q);\n const B = new Event(\"addstream\");\n B.stream = Q, this.dispatchEvent(B);\n });\n });\n }\n });\n const A = C.RTCPeerConnection.prototype.setRemoteDescription;\n C.RTCPeerConnection.prototype.setRemoteDescription = function() {\n const I = this;\n return this._onaddstreampoly || this.addEventListener(\"track\", this._onaddstreampoly = function(Q) {\n Q.streams.forEach((B) => {\n if (I._remoteStreams || (I._remoteStreams = []), I._remoteStreams.indexOf(B) >= 0)\n return;\n I._remoteStreams.push(B);\n const E = new Event(\"addstream\");\n E.stream = B, I.dispatchEvent(E);\n });\n }), A.apply(I, arguments);\n };\n }\n}\nfunction TB(C) {\n if (typeof C != \"object\" || !C.RTCPeerConnection)\n return;\n const A = C.RTCPeerConnection.prototype, g = A.createOffer, I = A.createAnswer, Q = A.setLocalDescription, B = A.setRemoteDescription, E = A.addIceCandidate;\n A.createOffer = function(e, o) {\n const t = arguments.length >= 2 ? arguments[2] : arguments[0], a = g.apply(this, [t]);\n return o ? (a.then(e, o), Promise.resolve()) : a;\n }, A.createAnswer = function(e, o) {\n const t = arguments.length >= 2 ? arguments[2] : arguments[0], a = I.apply(this, [t]);\n return o ? (a.then(e, o), Promise.resolve()) : a;\n };\n let x = function(i, e, o) {\n const t = Q.apply(this, [i]);\n return o ? (t.then(e, o), Promise.resolve()) : t;\n };\n A.setLocalDescription = x, x = function(i, e, o) {\n const t = B.apply(this, [i]);\n return o ? (t.then(e, o), Promise.resolve()) : t;\n }, A.setRemoteDescription = x, x = function(i, e, o) {\n const t = E.apply(this, [i]);\n return o ? (t.then(e, o), Promise.resolve()) : t;\n }, A.addIceCandidate = x;\n}\nfunction vB(C) {\n const A = C && C.navigator;\n if (A.mediaDevices && A.mediaDevices.getUserMedia) {\n const g = A.mediaDevices, I = g.getUserMedia.bind(g);\n A.mediaDevices.getUserMedia = (Q) => I(OB(Q));\n }\n !A.getUserMedia && A.mediaDevices && A.mediaDevices.getUserMedia && (A.getUserMedia = (function(I, Q, B) {\n A.mediaDevices.getUserMedia(I).then(Q, B);\n }).bind(A));\n}\nfunction OB(C) {\n return C && C.video !== void 0 ? Object.assign({}, C, {\n video: kB(C.video)\n }) : C;\n}\nfunction PB(C) {\n if (!C.RTCPeerConnection)\n return;\n const A = C.RTCPeerConnection;\n C.RTCPeerConnection = function(I, Q) {\n if (I && I.iceServers) {\n const B = [];\n for (let E = 0; E < I.iceServers.length; E++) {\n let x = I.iceServers[E];\n x.urls === void 0 && x.url ? (nC(\"RTCIceServer.url\", \"RTCIceServer.urls\"), x = JSON.parse(JSON.stringify(x)), x.urls = x.url, delete x.url, B.push(x)) : B.push(I.iceServers[E]);\n }\n I.iceServers = B;\n }\n return new A(I, Q);\n }, C.RTCPeerConnection.prototype = A.prototype, \"generateCertificate\" in A && Object.defineProperty(C.RTCPeerConnection, \"generateCertificate\", {\n get() {\n return A.generateCertificate;\n }\n });\n}\nfunction VB(C) {\n typeof C == \"object\" && C.RTCTrackEvent && \"receiver\" in C.RTCTrackEvent.prototype && !(\"transceiver\" in C.RTCTrackEvent.prototype) && Object.defineProperty(C.RTCTrackEvent.prototype, \"transceiver\", {\n get() {\n return {\n receiver: this.receiver\n };\n }\n });\n}\nfunction jB(C) {\n const A = C.RTCPeerConnection.prototype.createOffer;\n C.RTCPeerConnection.prototype.createOffer = function(I) {\n if (I) {\n typeof I.offerToReceiveAudio < \"u\" && (I.offerToReceiveAudio = !!I.offerToReceiveAudio);\n const Q = this.getTransceivers().find((E) => E.receiver.track.kind === \"audio\");\n I.offerToReceiveAudio === !1 && Q ? Q.direction === \"sendrecv\" ? Q.setDirection ? Q.setDirection(\"sendonly\") : Q.direction = \"sendonly\" : Q.direction === \"recvonly\" && (Q.setDirection ? Q.setDirection(\"inactive\") : Q.direction = \"inactive\") : I.offerToReceiveAudio === !0 && !Q && this.addTransceiver(\"audio\", {\n direction: \"recvonly\"\n }), typeof I.offerToReceiveVideo < \"u\" && (I.offerToReceiveVideo = !!I.offerToReceiveVideo);\n const B = this.getTransceivers().find((E) => E.receiver.track.kind === \"video\");\n I.offerToReceiveVideo === !1 && B ? B.direction === \"sendrecv\" ? B.setDirection ? B.setDirection(\"sendonly\") : B.direction = \"sendonly\" : B.direction === \"recvonly\" && (B.setDirection ? B.setDirection(\"inactive\") : B.direction = \"inactive\") : I.offerToReceiveVideo === !0 && !B && this.addTransceiver(\"video\", {\n direction: \"recvonly\"\n });\n }\n return A.apply(this, arguments);\n };\n}\nfunction ZB(C) {\n typeof C != \"object\" || C.AudioContext || (C.AudioContext = C.webkitAudioContext);\n}\nvar jC = /* @__PURE__ */ Object.freeze({\n __proto__: null,\n shimAudioContext: ZB,\n shimCallbacksAPI: TB,\n shimConstraints: OB,\n shimCreateOfferLegacy: jB,\n shimGetUserMedia: vB,\n shimLocalStreamsAPI: qB,\n shimRTCIceServerUrls: PB,\n shimRemoteStreamsAPI: HB,\n shimTrackEventTransceiver: VB\n}), XB = { exports: {} };\n(function(C) {\n const A = {};\n A.generateIdentifier = function() {\n return Math.random().toString(36).substring(2, 12);\n }, A.localCName = A.generateIdentifier(), A.splitLines = function(g) {\n return g.trim().split(`\n`).map((I) => I.trim());\n }, A.splitSections = function(g) {\n return g.split(`\nm=`).map((Q, B) => (B > 0 ? \"m=\" + Q : Q).trim() + `\\r\n`);\n }, A.getDescription = function(g) {\n const I = A.splitSections(g);\n return I && I[0];\n }, A.getMediaSections = function(g) {\n const I = A.splitSections(g);\n return I.shift(), I;\n }, A.matchPrefix = function(g, I) {\n return A.splitLines(g).filter((Q) => Q.indexOf(I) === 0);\n }, A.parseCandidate = function(g) {\n let I;\n g.indexOf(\"a=candidate:\") === 0 ? I = g.substring(12).split(\" \") : I = g.substring(10).split(\" \");\n const Q = {\n foundation: I[0],\n component: {\n 1: \"rtp\",\n 2: \"rtcp\"\n }[I[1]] || I[1],\n protocol: I[2].toLowerCase(),\n priority: parseInt(I[3], 10),\n ip: I[4],\n address: I[4],\n // address is an alias for ip.\n port: parseInt(I[5], 10),\n // skip parts[6] == 'typ'\n type: I[7]\n };\n for (let B = 8; B < I.length; B += 2)\n switch (I[B]) {\n case \"raddr\":\n Q.relatedAddress = I[B + 1];\n break;\n case \"rport\":\n Q.relatedPort = parseInt(I[B + 1], 10);\n break;\n case \"tcptype\":\n Q.tcpType = I[B + 1];\n break;\n case \"ufrag\":\n Q.ufrag = I[B + 1], Q.usernameFragment = I[B + 1];\n break;\n default:\n Q[I[B]] === void 0 && (Q[I[B]] = I[B + 1]);\n break;\n }\n return Q;\n }, A.writeCandidate = function(g) {\n const I = [];\n I.push(g.foundation);\n const Q = g.component;\n Q === \"rtp\" ? I.push(1) : Q === \"rtcp\" ? I.push(2) : I.push(Q), I.push(g.protocol.toUpperCase()), I.push(g.priority), I.push(g.address || g.ip), I.push(g.port);\n const B = g.type;\n return I.push(\"typ\"), I.push(B), B !== \"host\" && g.relatedAddress && g.relatedPort && (I.push(\"raddr\"), I.push(g.relatedAddress), I.push(\"rport\"), I.push(g.relatedPort)), g.tcpType && g.protocol.toLowerCase() === \"tcp\" && (I.push(\"tcptype\"), I.push(g.tcpType)), (g.usernameFragment || g.ufrag) && (I.push(\"ufrag\"), I.push(g.usernameFragment || g.ufrag)), \"candidate:\" + I.join(\" \");\n }, A.parseIceOptions = function(g) {\n return g.substring(14).split(\" \");\n }, A.parseRtpMap = function(g) {\n let I = g.substring(9).split(\" \");\n const Q = {\n payloadType: parseInt(I.shift(), 10)\n // was: id\n };\n return I = I[0].split(\"/\"), Q.name = I[0], Q.clockRate = parseInt(I[1], 10), Q.channels = I.length === 3 ? parseInt(I[2], 10) : 1, Q.numChannels = Q.channels, Q;\n }, A.writeRtpMap = function(g) {\n let I = g.payloadType;\n g.preferredPayloadType !== void 0 && (I = g.preferredPayloadType);\n const Q = g.channels || g.numChannels || 1;\n return \"a=rtpmap:\" + I + \" \" + g.name + \"/\" + g.clockRate + (Q !== 1 ? \"/\" + Q : \"\") + `\\r\n`;\n }, A.parseExtmap = function(g) {\n const I = g.substring(9).split(\" \");\n return {\n id: parseInt(I[0], 10),\n direction: I[0].indexOf(\"/\") > 0 ? I[0].split(\"/\")[1] : \"sendrecv\",\n uri: I[1],\n attributes: I.slice(2).join(\" \")\n };\n }, A.writeExtmap = function(g) {\n return \"a=extmap:\" + (g.id || g.preferredId) + (g.direction && g.direction !== \"sendrecv\" ? \"/\" + g.direction : \"\") + \" \" + g.uri + (g.attributes ? \" \" + g.attributes : \"\") + `\\r\n`;\n }, A.parseFmtp = function(g) {\n const I = {};\n let Q;\n const B = g.substring(g.indexOf(\" \") + 1).split(\";\");\n for (let E = 0; E < B.length; E++)\n Q = B[E].trim().split(\"=\"), I[Q[0].trim()] = Q[1];\n return I;\n }, A.writeFmtp = function(g) {\n let I = \"\", Q = g.payloadType;\n if (g.preferredPayloadType !== void 0 && (Q = g.preferredPayloadType), g.parameters && Object.keys(g.parameters).length) {\n const B = [];\n Object.keys(g.parameters).forEach((E) => {\n g.parameters[E] !== void 0 ? B.push(E + \"=\" + g.parameters[E]) : B.push(E);\n }), I += \"a=fmtp:\" + Q + \" \" + B.join(\";\") + `\\r\n`;\n }\n return I;\n }, A.parseRtcpFb = function(g) {\n const I = g.substring(g.indexOf(\" \") + 1).split(\" \");\n return {\n type: I.shift(),\n parameter: I.join(\" \")\n };\n }, A.writeRtcpFb = function(g) {\n let I = \"\", Q = g.payloadType;\n return g.preferredPayloadType !== void 0 && (Q = g.preferredPayloadType), g.rtcpFeedback && g.rtcpFeedback.length && g.rtcpFeedback.forEach((B) => {\n I += \"a=rtcp-fb:\" + Q + \" \" + B.type + (B.parameter && B.parameter.length ? \" \" + B.parameter : \"\") + `\\r\n`;\n }), I;\n }, A.parseSsrcMedia = function(g) {\n const I = g.indexOf(\" \"), Q = {\n ssrc: parseInt(g.substring(7, I), 10)\n }, B = g.indexOf(\":\", I);\n return B > -1 ? (Q.attribute = g.substring(I + 1, B), Q.value = g.substring(B + 1)) : Q.attribute = g.substring(I + 1), Q;\n }, A.parseSsrcGroup = function(g) {\n const I = g.substring(13).split(\" \");\n return {\n semantics: I.shift(),\n ssrcs: I.map((Q) => parseInt(Q, 10))\n };\n }, A.getMid = function(g) {\n const I = A.matchPrefix(g, \"a=mid:\")[0];\n if (I)\n return I.substring(6);\n }, A.parseFingerprint = function(g) {\n const I = g.substring(14).split(\" \");\n return {\n algorithm: I[0].toLowerCase(),\n // algorithm is case-sensitive in Edge.\n value: I[1].toUpperCase()\n // the definition is upper-case in RFC 4572.\n };\n }, A.getDtlsParameters = function(g, I) {\n return {\n role: \"auto\",\n fingerprints: A.matchPrefix(g + I, \"a=fingerprint:\").map(A.parseFingerprint)\n };\n }, A.writeDtlsParameters = function(g, I) {\n let Q = \"a=setup:\" + I + `\\r\n`;\n return g.fingerprints.forEach((B) => {\n Q += \"a=fingerprint:\" + B.algorithm + \" \" + B.value + `\\r\n`;\n }), Q;\n }, A.parseCryptoLine = function(g) {\n const I = g.substring(9).split(\" \");\n return {\n tag: parseInt(I[0], 10),\n cryptoSuite: I[1],\n keyParams: I[2],\n sessionParams: I.slice(3)\n };\n }, A.writeCryptoLine = function(g) {\n return \"a=crypto:\" + g.tag + \" \" + g.cryptoSuite + \" \" + (typeof g.keyParams == \"object\" ? A.writeCryptoKeyParams(g.keyParams) : g.keyParams) + (g.sessionParams ? \" \" + g.sessionParams.join(\" \") : \"\") + `\\r\n`;\n }, A.parseCryptoKeyParams = function(g) {\n if (g.indexOf(\"inline:\") !== 0)\n return null;\n const I = g.substring(7).split(\"|\");\n return {\n keyMethod: \"inline\",\n keySalt: I[0],\n lifeTime: I[1],\n mkiValue: I[2] ? I[2].split(\":\")[0] : void 0,\n mkiLength: I[2] ? I[2].split(\":\")[1] : void 0\n };\n }, A.writeCryptoKeyParams = function(g) {\n return g.keyMethod + \":\" + g.keySalt + (g.lifeTime ? \"|\" + g.lifeTime : \"\") + (g.mkiValue && g.mkiLength ? \"|\" + g.mkiValue + \":\" + g.mkiLength : \"\");\n }, A.getCryptoParameters = function(g, I) {\n return A.matchPrefix(g + I, \"a=crypto:\").map(A.parseCryptoLine);\n }, A.getIceParameters = function(g, I) {\n const Q = A.matchPrefix(g + I, \"a=ice-ufrag:\")[0], B = A.matchPrefix(g + I, \"a=ice-pwd:\")[0];\n return Q && B ? {\n usernameFragment: Q.substring(12),\n password: B.substring(10)\n } : null;\n }, A.writeIceParameters = function(g) {\n let I = \"a=ice-ufrag:\" + g.usernameFragment + `\\r\na=ice-pwd:` + g.password + `\\r\n`;\n return g.iceLite && (I += `a=ice-lite\\r\n`), I;\n }, A.parseRtpParameters = function(g) {\n const I = {\n codecs: [],\n headerExtensions: [],\n fecMechanisms: [],\n rtcp: []\n }, B = A.splitLines(g)[0].split(\" \");\n I.profile = B[2];\n for (let x = 3; x < B.length; x++) {\n const i = B[x], e = A.matchPrefix(g, \"a=rtpmap:\" + i + \" \")[0];\n if (e) {\n const o = A.parseRtpMap(e), t = A.matchPrefix(g, \"a=fmtp:\" + i + \" \");\n switch (o.parameters = t.length ? A.parseFmtp(t[0]) : {}, o.rtcpFeedback = A.matchPrefix(g, \"a=rtcp-fb:\" + i + \" \").map(A.parseRtcpFb), I.codecs.push(o), o.name.toUpperCase()) {\n case \"RED\":\n case \"ULPFEC\":\n I.fecMechanisms.push(o.name.toUpperCase());\n break;\n }\n }\n }\n A.matchPrefix(g, \"a=extmap:\").forEach((x) => {\n I.headerExtensions.push(A.parseExtmap(x));\n });\n const E = A.matchPrefix(g, \"a=rtcp-fb:* \").map(A.parseRtcpFb);\n return I.codecs.forEach((x) => {\n E.forEach((i) => {\n x.rtcpFeedback.find((o) => o.type === i.type && o.parameter === i.parameter) || x.rtcpFeedback.push(i);\n });\n }), I;\n }, A.writeRtpDescription = function(g, I) {\n let Q = \"\";\n Q += \"m=\" + g + \" \", Q += I.codecs.length > 0 ? \"9\" : \"0\", Q += \" \" + (I.profile || \"UDP/TLS/RTP/SAVPF\") + \" \", Q += I.codecs.map((E) => E.preferredPayloadType !== void 0 ? E.preferredPayloadType : E.payloadType).join(\" \") + `\\r\n`, Q += `c=IN IP4 0.0.0.0\\r\n`, Q += `a=rtcp:9 IN IP4 0.0.0.0\\r\n`, I.codecs.forEach((E) => {\n Q += A.writeRtpMap(E), Q += A.writeFmtp(E), Q += A.writeRtcpFb(E);\n });\n let B = 0;\n return I.codecs.forEach((E) => {\n E.maxptime > B && (B = E.maxptime);\n }), B > 0 && (Q += \"a=maxptime:\" + B + `\\r\n`), I.headerExtensions && I.headerExtensions.forEach((E) => {\n Q += A.writeExtmap(E);\n }), Q;\n }, A.parseRtpEncodingParameters = function(g) {\n const I = [], Q = A.parseRtpParameters(g), B = Q.fecMechanisms.indexOf(\"RED\") !== -1, E = Q.fecMechanisms.indexOf(\"ULPFEC\") !== -1, x = A.matchPrefix(g, \"a=ssrc:\").map((a) => A.parseSsrcMedia(a)).filter((a) => a.attribute === \"cname\"), i = x.length > 0 && x[0].ssrc;\n let e;\n const o = A.matchPrefix(g, \"a=ssrc-group:FID\").map((a) => a.substring(17).split(\" \").map((h) => parseInt(h, 10)));\n o.length > 0 && o[0].length > 1 && o[0][0] === i && (e = o[0][1]), Q.codecs.forEach((a) => {\n if (a.name.toUpperCase() === \"RTX\" && a.parameters.apt) {\n let c = {\n ssrc: i,\n codecPayloadType: parseInt(a.parameters.apt, 10)\n };\n i && e && (c.rtx = {\n ssrc: e\n }), I.push(c), B && (c = JSON.parse(JSON.stringify(c)), c.fec = {\n ssrc: i,\n mechanism: E ? \"red+ulpfec\" : \"red\"\n }, I.push(c));\n }\n }), I.length === 0 && i && I.push({\n ssrc: i\n });\n let t = A.matchPrefix(g, \"b=\");\n return t.length && (t[0].indexOf(\"b=TIAS:\") === 0 ? t = parseInt(t[0].substring(7), 10) : t[0].indexOf(\"b=AS:\") === 0 ? t = parseInt(t[0].substring(5), 10) * 1e3 * 0.95 - 50 * 40 * 8 : t = void 0, I.forEach((a) => {\n a.maxBitrate = t;\n })), I;\n }, A.parseRtcpParameters = function(g) {\n const I = {}, Q = A.matchPrefix(g, \"a=ssrc:\").map((x) => A.parseSsrcMedia(x)).filter((x) => x.attribute === \"cname\")[0];\n Q && (I.cname = Q.value, I.ssrc = Q.ssrc);\n const B = A.matchPrefix(g, \"a=rtcp-rsize\");\n I.reducedSize = B.length > 0, I.compound = B.length === 0;\n const E = A.matchPrefix(g, \"a=rtcp-mux\");\n return I.mux = E.length > 0, I;\n }, A.writeRtcpParameters = function(g) {\n let I = \"\";\n return g.reducedSize && (I += `a=rtcp-rsize\\r\n`), g.mux && (I += `a=rtcp-mux\\r\n`), g.ssrc !== void 0 && g.cname && (I += \"a=ssrc:\" + g.ssrc + \" cname:\" + g.cname + `\\r\n`), I;\n }, A.parseMsid = function(g) {\n let I;\n const Q = A.matchPrefix(g, \"a=msid:\");\n if (Q.length === 1)\n return I = Q[0].substring(7).split(\" \"), {\n stream: I[0],\n track: I[1]\n };\n const B = A.matchPrefix(g, \"a=ssrc:\").map((E) => A.parseSsrcMedia(E)).filter((E) => E.attribute === \"msid\");\n if (B.length > 0)\n return I = B[0].value.split(\" \"), {\n stream: I[0],\n track: I[1]\n };\n }, A.parseSctpDescription = function(g) {\n const I = A.parseMLine(g), Q = A.matchPrefix(g, \"a=max-message-size:\");\n let B;\n Q.length > 0 && (B = parseInt(Q[0].substring(19), 10)), isNaN(B) && (B = 65536);\n const E = A.matchPrefix(g, \"a=sctp-port:\");\n if (E.length > 0)\n return {\n port: parseInt(E[0].substring(12), 10),\n protocol: I.fmt,\n maxMessageSize: B\n };\n const x = A.matchPrefix(g, \"a=sctpmap:\");\n if (x.length > 0) {\n const i = x[0].substring(10).split(\" \");\n return {\n port: parseInt(i[0], 10),\n protocol: i[1],\n maxMessageSize: B\n };\n }\n }, A.writeSctpDescription = function(g, I) {\n let Q = [];\n return g.protocol !== \"DTLS/SCTP\" ? Q = [\"m=\" + g.kind + \" 9 \" + g.protocol + \" \" + I.protocol + `\\r\n`, `c=IN IP4 0.0.0.0\\r\n`, \"a=sctp-port:\" + I.port + `\\r\n`] : Q = [\"m=\" + g.kind + \" 9 \" + g.protocol + \" \" + I.port + `\\r\n`, `c=IN IP4 0.0.0.0\\r\n`, \"a=sctpmap:\" + I.port + \" \" + I.protocol + ` 65535\\r\n`], I.maxMessageSize !== void 0 && Q.push(\"a=max-message-size:\" + I.maxMessageSize + `\\r\n`), Q.join(\"\");\n }, A.generateSessionId = function() {\n return Math.random().toString().substr(2, 22);\n }, A.writeSessionBoilerplate = function(g, I, Q) {\n let B;\n const E = I !== void 0 ? I : 2;\n return g ? B = g : B = A.generateSessionId(), `v=0\\r\no=` + (Q || \"thisisadapterortc\") + \" \" + B + \" \" + E + ` IN IP4 127.0.0.1\\r\ns=-\\r\nt=0 0\\r\n`;\n }, A.getDirection = function(g, I) {\n const Q = A.splitLines(g);\n for (let B = 0; B < Q.length; B++)\n switch (Q[B]) {\n case \"a=sendrecv\":\n case \"a=sendonly\":\n case \"a=recvonly\":\n case \"a=inactive\":\n return Q[B].substring(2);\n }\n return I ? A.getDirection(I) : \"sendrecv\";\n }, A.getKind = function(g) {\n return A.splitLines(g)[0].split(\" \")[0].substring(2);\n }, A.isRejected = function(g) {\n return g.split(\" \", 2)[1] === \"0\";\n }, A.parseMLine = function(g) {\n const Q = A.splitLines(g)[0].substring(2).split(\" \");\n return {\n kind: Q[0],\n port: parseInt(Q[1], 10),\n protocol: Q[2],\n fmt: Q.slice(3).join(\" \")\n };\n }, A.parseOLine = function(g) {\n const Q = A.matchPrefix(g, \"o=\")[0].substring(2).split(\" \");\n return {\n username: Q[0],\n sessionId: Q[1],\n sessionVersion: parseInt(Q[2], 10),\n netType: Q[3],\n addressType: Q[4],\n address: Q[5]\n };\n }, A.isValidSDP = function(g) {\n if (typeof g != \"string\" || g.length === 0)\n return !1;\n const I = A.splitLines(g);\n for (let Q = 0; Q < I.length; Q++)\n if (I[Q].length < 2 || I[Q].charAt(1) !== \"=\")\n return !1;\n return !0;\n }, C.exports = A;\n})(XB);\nvar WB = XB.exports, Bg = /* @__PURE__ */ lx(WB), Ox = /* @__PURE__ */ NE({\n __proto__: null,\n default: Bg\n}, [WB]);\nfunction Vg(C) {\n if (!C.RTCIceCandidate || C.RTCIceCandidate && \"foundation\" in C.RTCIceCandidate.prototype)\n return;\n const A = C.RTCIceCandidate;\n C.RTCIceCandidate = function(I) {\n if (typeof I == \"object\" && I.candidate && I.candidate.indexOf(\"a=\") === 0 && (I = JSON.parse(JSON.stringify(I)), I.candidate = I.candidate.substring(2)), I.candidate && I.candidate.length) {\n const Q = new A(I), B = Bg.parseCandidate(I.candidate);\n for (const E in B)\n E in Q || Object.defineProperty(Q, E, {\n value: B[E]\n });\n return Q.toJSON = function() {\n return {\n candidate: Q.candidate,\n sdpMid: Q.sdpMid,\n sdpMLineIndex: Q.sdpMLineIndex,\n usernameFragment: Q.usernameFragment\n };\n }, Q;\n }\n return new A(I);\n }, C.RTCIceCandidate.prototype = A.prototype, zA(C, \"icecandidate\", (g) => (g.candidate && Object.defineProperty(g, \"candidate\", {\n value: new C.RTCIceCandidate(g.candidate),\n writable: \"false\"\n }), g));\n}\nfunction vI(C) {\n !C.RTCIceCandidate || C.RTCIceCandidate && \"relayProtocol\" in C.RTCIceCandidate.prototype || zA(C, \"icecandidate\", (A) => {\n if (A.candidate) {\n const g = Bg.parseCandidate(A.candidate.candidate);\n g.type === \"relay\" && (A.candidate.relayProtocol = {\n 0: \"tls\",\n 1: \"tcp\",\n 2: \"udp\"\n }[g.priority >> 24]);\n }\n return A;\n });\n}\nfunction jg(C, A) {\n if (!C.RTCPeerConnection)\n return;\n \"sctp\" in C.RTCPeerConnection.prototype || Object.defineProperty(C.RTCPeerConnection.prototype, \"sctp\", {\n get() {\n return typeof this._sctp > \"u\" ? null : this._sctp;\n }\n });\n const g = function(x) {\n if (!x || !x.sdp)\n return !1;\n const i = Bg.splitSections(x.sdp);\n return i.shift(), i.some((e) => {\n const o = Bg.parseMLine(e);\n return o && o.kind === \"application\" && o.protocol.indexOf(\"SCTP\") !== -1;\n });\n }, I = function(x) {\n const i = x.sdp.match(/mozilla...THIS_IS_SDPARTA-(\\d+)/);\n if (i === null || i.length < 2)\n return -1;\n const e = parseInt(i[1], 10);\n return e !== e ? -1 : e;\n }, Q = function(x) {\n let i = 65536;\n return A.browser === \"firefox\" && (A.version < 57 ? x === -1 ? i = 16384 : i = 2147483637 : A.version < 60 ? i = A.version === 57 ? 65535 : 65536 : i = 2147483637), i;\n }, B = function(x, i) {\n let e = 65536;\n A.browser === \"firefox\" && A.version === 57 && (e = 65535);\n const o = Bg.matchPrefix(x.sdp, \"a=max-message-size:\");\n return o.length > 0 ? e = parseInt(o[0].substring(19), 10) : A.browser === \"firefox\" && i !== -1 && (e = 2147483637), e;\n }, E = C.RTCPeerConnection.prototype.setRemoteDescription;\n C.RTCPeerConnection.prototype.setRemoteDescription = function() {\n if (this._sctp = null, A.browser === \"chrome\" && A.version >= 76) {\n const {\n sdpSemantics: i\n } = this.getConfiguration();\n i === \"plan-b\" && Object.defineProperty(this, \"sctp\", {\n get() {\n return typeof this._sctp > \"u\" ? null : this._sctp;\n },\n enumerable: !0,\n configurable: !0\n });\n }\n if (g(arguments[0])) {\n const i = I(arguments[0]), e = Q(i), o = B(arguments[0], i);\n let t;\n e === 0 && o === 0 ? t = Number.POSITIVE_INFINITY : e === 0 || o === 0 ? t = Math.max(e, o) : t = Math.min(e, o);\n const a = {};\n Object.defineProperty(a, \"maxMessageSize\", {\n get() {\n return t;\n }\n }), this._sctp = a;\n }\n return E.apply(this, arguments);\n };\n}\nfunction Zg(C) {\n if (!(C.RTCPeerConnection && \"createDataChannel\" in C.RTCPeerConnection.prototype))\n return;\n function A(I, Q) {\n const B = I.send;\n I.send = function() {\n const x = arguments[0], i = x.length || x.size || x.byteLength;\n if (I.readyState === \"open\" && Q.sctp && i > Q.sctp.maxMessageSize)\n throw new TypeError(\"Message too large (can send a maximum of \" + Q.sctp.maxMessageSize + \" bytes)\");\n return B.apply(I, arguments);\n };\n }\n const g = C.RTCPeerConnection.prototype.createDataChannel;\n C.RTCPeerConnection.prototype.createDataChannel = function() {\n const Q = g.apply(this, arguments);\n return A(Q, this), Q;\n }, zA(C, \"datachannel\", (I) => (A(I.channel, I.target), I));\n}\nfunction OI(C) {\n if (!C.RTCPeerConnection || \"connectionState\" in C.RTCPeerConnection.prototype)\n return;\n const A = C.RTCPeerConnection.prototype;\n Object.defineProperty(A, \"connectionState\", {\n get() {\n return {\n completed: \"connected\",\n checking: \"connecting\"\n }[this.iceConnectionState] || this.iceConnectionState;\n },\n enumerable: !0,\n configurable: !0\n }), Object.defineProperty(A, \"onconnectionstatechange\", {\n get() {\n return this._onconnectionstatechange || null;\n },\n set(g) {\n this._onconnectionstatechange && (this.removeEventListener(\"connectionstatechange\", this._onconnectionstatechange), delete this._onconnectionstatechange), g && this.addEventListener(\"connectionstatechange\", this._onconnectionstatechange = g);\n },\n enumerable: !0,\n configurable: !0\n }), [\"setLocalDescription\", \"setRemoteDescription\"].forEach((g) => {\n const I = A[g];\n A[g] = function() {\n return this._connectionstatechangepoly || (this._connectionstatechangepoly = (Q) => {\n const B = Q.target;\n if (B._lastConnectionState !== B.connectionState) {\n B._lastConnectionState = B.connectionState;\n const E = new Event(\"connectionstatechange\", Q);\n B.dispatchEvent(E);\n }\n return Q;\n }, this.addEventListener(\"iceconnectionstatechange\", this._connectionstatechangepoly)), I.apply(this, arguments);\n };\n });\n}\nfunction PI(C, A) {\n if (!C.RTCPeerConnection || A.browser === \"chrome\" && A.version >= 71 || A.browser === \"safari\" && A.version >= 605)\n return;\n const g = C.RTCPeerConnection.prototype.setRemoteDescription;\n C.RTCPeerConnection.prototype.setRemoteDescription = function(Q) {\n if (Q && Q.sdp && Q.sdp.indexOf(`\na=extmap-allow-mixed`) !== -1) {\n const B = Q.sdp.split(`\n`).filter((E) => E.trim() !== \"a=extmap-allow-mixed\").join(`\n`);\n C.RTCSessionDescription && Q instanceof C.RTCSessionDescription ? arguments[0] = new C.RTCSessionDescription({\n type: Q.type,\n sdp: B\n }) : Q.sdp = B;\n }\n return g.apply(this, arguments);\n };\n}\nfunction Xg(C, A) {\n if (!(C.RTCPeerConnection && C.RTCPeerConnection.prototype))\n return;\n const g = C.RTCPeerConnection.prototype.addIceCandidate;\n !g || g.length === 0 || (C.RTCPeerConnection.prototype.addIceCandidate = function() {\n return arguments[0] ? (A.browser === \"chrome\" && A.version < 78 || A.browser === \"firefox\" && A.version < 68 || A.browser === \"safari\") && arguments[0] && arguments[0].candidate === \"\" ? Promise.resolve() : g.apply(this, arguments) : (arguments[1] && arguments[1].apply(null), Promise.resolve());\n });\n}\nfunction Wg(C, A) {\n if (!(C.RTCPeerConnection && C.RTCPeerConnection.prototype))\n return;\n const g = C.RTCPeerConnection.prototype.setLocalDescription;\n !g || g.length === 0 || (C.RTCPeerConnection.prototype.setLocalDescription = function() {\n let Q = arguments[0] || {};\n if (typeof Q != \"object\" || Q.type && Q.sdp)\n return g.apply(this, arguments);\n if (Q = {\n type: Q.type,\n sdp: Q.sdp\n }, !Q.type)\n switch (this.signalingState) {\n case \"stable\":\n case \"have-local-offer\":\n case \"have-remote-pranswer\":\n Q.type = \"offer\";\n break;\n default:\n Q.type = \"answer\";\n break;\n }\n return Q.sdp || Q.type !== \"offer\" && Q.type !== \"answer\" ? g.apply(this, [Q]) : (Q.type === \"offer\" ? this.createOffer : this.createAnswer).apply(this).then((E) => g.apply(this, [E]));\n });\n}\nvar Px = /* @__PURE__ */ Object.freeze({\n __proto__: null,\n removeExtmapAllowMixed: PI,\n shimAddIceCandidateNullOrEmpty: Xg,\n shimConnectionState: OI,\n shimMaxMessageSize: jg,\n shimParameterlessSetLocalDescription: Wg,\n shimRTCIceCandidate: Vg,\n shimRTCIceCandidateRelayProtocol: vI,\n shimSendThrowTypeError: Zg\n});\nfunction Vx() {\n let {\n window: C\n } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {\n shimChrome: !0,\n shimFirefox: !0,\n shimSafari: !0\n };\n const g = wB, I = Hx(C), Q = {\n browserDetails: I,\n commonShim: Px,\n extractVersion: Pg,\n disableLog: mx,\n disableWarnings: qx,\n // Expose sdp as a convenience. For production apps include directly.\n sdp: Ox\n };\n switch (I.browser) {\n case \"chrome\":\n if (!PC || !HI || !A.shimChrome)\n return g(\"Chrome shim is not included in this adapter release.\"), Q;\n if (I.version === null)\n return g(\"Chrome shim can not determine version, not shimming.\"), Q;\n g(\"adapter.js shimming chrome.\"), Q.browserShim = PC, Xg(C, I), Wg(C), _B(C, I), fB(C), HI(C, I), GB(C), yB(C, I), NB(C), RB(C), FB(C), lB(C, I), Vg(C), vI(C), OI(C), jg(C, I), Zg(C), PI(C, I);\n break;\n case \"firefox\":\n if (!VC || !TI || !A.shimFirefox)\n return g(\"Firefox shim is not included in this adapter release.\"), Q;\n g(\"adapter.js shimming firefox.\"), Q.browserShim = VC, Xg(C, I), Wg(C), MB(C, I), TI(C, I), uB(C), bB(C), LB(C), KB(C), UB(C), JB(C), YB(C), pB(C), mB(C), Vg(C), OI(C), jg(C, I), Zg(C);\n break;\n case \"safari\":\n if (!jC || !A.shimSafari)\n return g(\"Safari shim is not included in this adapter release.\"), Q;\n g(\"adapter.js shimming safari.\"), Q.browserShim = jC, Xg(C, I), Wg(C), PB(C), jB(C), TB(C), qB(C), HB(C), VB(C), vB(C), ZB(C), Vg(C), vI(C), jg(C, I), Zg(C), PI(C, I);\n break;\n default:\n g(\"Unsupported browser!\");\n break;\n }\n return Q;\n}\nVx({\n window: typeof window > \"u\" ? void 0 : window\n});\nconst jx = 10, qg = \"lk_e2ee\", Zx = \"LKFrameEncryptionKey\", Xx = {\n sharedKey: !1,\n ratchetSalt: Zx,\n ratchetWindowSize: 8,\n failureTolerance: jx\n};\nvar pA;\n(function(C) {\n C.SetKey = \"setKey\", C.RatchetRequest = \"ratchetRequest\", C.KeyRatcheted = \"keyRatcheted\";\n})(pA || (pA = {}));\nvar ZC;\n(function(C) {\n C.KeyRatcheted = \"keyRatcheted\";\n})(ZC || (ZC = {}));\nvar JA;\n(function(C) {\n C.ParticipantEncryptionStatusChanged = \"participantEncryptionStatusChanged\", C.EncryptionError = \"encryptionError\";\n})(JA || (JA = {}));\nvar XC;\n(function(C) {\n C.Error = \"cryptorError\";\n})(XC || (XC = {}));\nfunction Wx() {\n return zx() || VI();\n}\nfunction VI() {\n return typeof window.RTCRtpScriptTransform < \"u\";\n}\nfunction zx() {\n return typeof window.RTCRtpSender < \"u\" && // @ts-ignore\n typeof window.RTCRtpSender.prototype.createEncodedStreams < \"u\";\n}\nclass Ge extends GA.EventEmitter {\n constructor() {\n let A = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};\n super(), this.onKeyRatcheted = (g, I) => {\n u.debug(\"key ratcheted event received\", {\n material: g,\n keyIndex: I\n });\n }, this.keyInfoMap = /* @__PURE__ */ new Map(), this.options = Object.assign(Object.assign({}, Xx), A), this.on(pA.KeyRatcheted, this.onKeyRatcheted);\n }\n /**\n * callback to invoke once a key has been set for a participant\n * @param key\n * @param participantIdentity\n * @param keyIndex\n */\n onSetEncryptionKey(A, g, I) {\n const Q = {\n key: A,\n participantIdentity: g,\n keyIndex: I\n };\n if (!this.options.sharedKey && !g)\n throw new Error(\"participant identity needs to be passed for encryption key if sharedKey option is false\");\n this.keyInfoMap.set(\"\".concat(g ?? \"shared\", \"-\").concat(I ?? 0), Q), this.emit(pA.SetKey, Q);\n }\n getKeys() {\n return Array.from(this.keyInfoMap.values());\n }\n getOptions() {\n return this.options;\n }\n ratchetKey(A, g) {\n this.emit(pA.RatchetRequest, A, g);\n }\n}\nclass sg extends Error {\n constructor(A, g) {\n super(g || \"an error has occured\"), this.code = A;\n }\n}\nclass Y extends sg {\n constructor(A, g, I) {\n super(1, A), this.status = I, this.reason = g;\n }\n}\nclass DC extends sg {\n constructor(A) {\n super(21, A ?? \"device is unsupported\");\n }\n}\nclass fA extends sg {\n constructor(A) {\n super(20, A ?? \"track is invalid\");\n }\n}\nclass $x extends sg {\n constructor(A) {\n super(10, A ?? \"unsupported server\");\n }\n}\nclass O extends sg {\n constructor(A) {\n super(12, A ?? \"unexpected connection state\");\n }\n}\nclass jI extends sg {\n constructor(A) {\n super(13, A ?? \"unable to negotiate\");\n }\n}\nvar AI;\n(function(C) {\n C.PermissionDenied = \"PermissionDenied\", C.NotFound = \"NotFound\", C.DeviceInUse = \"DeviceInUse\", C.Other = \"Other\";\n})(AI || (AI = {}));\n(function(C) {\n function A(g) {\n if (g && \"name\" in g)\n return g.name === \"NotFoundError\" || g.name === \"DevicesNotFoundError\" ? C.NotFound : g.name === \"NotAllowedError\" || g.name === \"PermissionDeniedError\" ? C.PermissionDenied : g.name === \"NotReadableError\" || g.name === \"TrackStartError\" ? C.DeviceInUse : C.Other;\n }\n C.getFailure = A;\n})(AI || (AI = {}));\nvar G;\n(function(C) {\n C.Connected = \"connected\", C.Reconnecting = \"reconnecting\", C.Reconnected = \"reconnected\", C.Disconnected = \"disconnected\", C.ConnectionStateChanged = \"connectionStateChanged\", C.MediaDevicesChanged = \"mediaDevicesChanged\", C.ParticipantConnected = \"participantConnected\", C.ParticipantDisconnected = \"participantDisconnected\", C.TrackPublished = \"trackPublished\", C.TrackSubscribed = \"trackSubscribed\", C.TrackSubscriptionFailed = \"trackSubscriptionFailed\", C.TrackUnpublished = \"trackUnpublished\", C.TrackUnsubscribed = \"trackUnsubscribed\", C.TrackMuted = \"trackMuted\", C.TrackUnmuted = \"trackUnmuted\", C.LocalTrackPublished = \"localTrackPublished\", C.LocalTrackUnpublished = \"localTrackUnpublished\", C.LocalAudioSilenceDetected = \"localAudioSilenceDetected\", C.ActiveSpeakersChanged = \"activeSpeakersChanged\", C.ParticipantMetadataChanged = \"participantMetadataChanged\", C.ParticipantNameChanged = \"participantNameChanged\", C.RoomMetadataChanged = \"roomMetadataChanged\", C.DataReceived = \"dataReceived\", C.ConnectionQualityChanged = \"connectionQualityChanged\", C.TrackStreamStateChanged = \"trackStreamStateChanged\", C.TrackSubscriptionPermissionChanged = \"trackSubscriptionPermissionChanged\", C.TrackSubscriptionStatusChanged = \"trackSubscriptionStatusChanged\", C.AudioPlaybackStatusChanged = \"audioPlaybackChanged\", C.VideoPlaybackStatusChanged = \"videoPlaybackChanged\", C.MediaDevicesError = \"mediaDevicesError\", C.ParticipantPermissionsChanged = \"participantPermissionsChanged\", C.SignalConnected = \"signalConnected\", C.RecordingStatusChanged = \"recordingStatusChanged\", C.ParticipantEncryptionStatusChanged = \"participantEncryptionStatusChanged\", C.EncryptionError = \"encryptionError\", C.DCBufferStatusChanged = \"dcBufferStatusChanged\", C.ActiveDeviceChanged = \"activeDeviceChanged\";\n})(G || (G = {}));\nvar R;\n(function(C) {\n C.TrackPublished = \"trackPublished\", C.TrackSubscribed = \"trackSubscribed\", C.TrackSubscriptionFailed = \"trackSubscriptionFailed\", C.TrackUnpublished = \"trackUnpublished\", C.TrackUnsubscribed = \"trackUnsubscribed\", C.TrackMuted = \"trackMuted\", C.TrackUnmuted = \"trackUnmuted\", C.LocalTrackPublished = \"localTrackPublished\", C.LocalTrackUnpublished = \"localTrackUnpublished\", C.ParticipantMetadataChanged = \"participantMetadataChanged\", C.ParticipantNameChanged = \"participantNameChanged\", C.DataReceived = \"dataReceived\", C.IsSpeakingChanged = \"isSpeakingChanged\", C.ConnectionQualityChanged = \"connectionQualityChanged\", C.TrackStreamStateChanged = \"trackStreamStateChanged\", C.TrackSubscriptionPermissionChanged = \"trackSubscriptionPermissionChanged\", C.TrackSubscriptionStatusChanged = \"trackSubscriptionStatusChanged\", C.MediaDevicesError = \"mediaDevicesError\", C.AudioStreamAcquired = \"audioStreamAcquired\", C.ParticipantPermissionsChanged = \"participantPermissionsChanged\", C.PCTrackAdded = \"pcTrackAdded\";\n})(R || (R = {}));\nvar N;\n(function(C) {\n C.TransportsCreated = \"transportsCreated\", C.Connected = \"connected\", C.Disconnected = \"disconnected\", C.Resuming = \"resuming\", C.Resumed = \"resumed\", C.Restarting = \"restarting\", C.Restarted = \"restarted\", C.SignalResumed = \"signalResumed\", C.SignalRestarted = \"signalRestarted\", C.Closing = \"closing\", C.MediaTrackAdded = \"mediaTrackAdded\", C.ActiveSpeakersUpdate = \"activeSpeakersUpdate\", C.DataPacketReceived = \"dataPacketReceived\", C.RTPVideoMapUpdate = \"rtpVideoMapUpdate\", C.DCBufferStatusChanged = \"dcBufferStatusChanged\", C.ParticipantUpdate = \"participantUpdate\", C.RoomUpdate = \"roomUpdate\", C.SpeakersChanged = \"speakersChanged\", C.StreamStateChanged = \"streamStateChanged\", C.ConnectionQualityUpdate = \"connectionQualityUpdate\", C.SubscriptionError = \"subscriptionError\", C.SubscriptionPermissionUpdate = \"subscriptionPermissionUpdate\", C.RemoteMute = \"remoteMute\", C.SubscribedQualityUpdate = \"subscribedQualityUpdate\", C.LocalTrackUnpublished = \"localTrackUnpublished\", C.Offline = \"offline\";\n})(N || (N = {}));\nvar f;\n(function(C) {\n C.Message = \"message\", C.Muted = \"muted\", C.Unmuted = \"unmuted\", C.Restarted = \"restarted\", C.Ended = \"ended\", C.Subscribed = \"subscribed\", C.Unsubscribed = \"unsubscribed\", C.UpdateSettings = \"updateSettings\", C.UpdateSubscription = \"updateSubscription\", C.AudioPlaybackStarted = \"audioPlaybackStarted\", C.AudioPlaybackFailed = \"audioPlaybackFailed\", C.AudioSilenceDetected = \"audioSilenceDetected\", C.VisibilityChanged = \"visibilityChanged\", C.VideoDimensionsChanged = \"videoDimensionsChanged\", C.VideoPlaybackStarted = \"videoPlaybackStarted\", C.VideoPlaybackFailed = \"videoPlaybackFailed\", C.ElementAttached = \"elementAttached\", C.ElementDetached = \"elementDetached\", C.UpstreamPaused = \"upstreamPaused\", C.UpstreamResumed = \"upstreamResumed\", C.SubscriptionPermissionChanged = \"subscriptionPermissionChanged\", C.SubscriptionStatusChanged = \"subscriptionStatusChanged\", C.SubscriptionFailed = \"subscriptionFailed\", C.TrackProcessorUpdate = \"trackProcessorUpdate\";\n})(f || (f = {}));\nfunction rC(C, A, g) {\n var I, Q, B;\n A === void 0 && (A = 50), g === void 0 && (g = {});\n var E = (I = g.isImmediate) != null && I, x = (Q = g.callback) != null && Q, i = g.maxWait, e = Date.now(), o = [];\n function t() {\n if (i !== void 0) {\n var c = Date.now() - e;\n if (c + A >= i)\n return i - c;\n }\n return A;\n }\n var a = function() {\n var c = [].slice.call(arguments), h = this;\n return new Promise(function(n, D) {\n var _ = E && B === void 0;\n if (B !== void 0 && clearTimeout(B), B = setTimeout(function() {\n if (B = void 0, e = Date.now(), !E) {\n var y = C.apply(h, c);\n x && x(y), o.forEach(function(M) {\n return (0, M.resolve)(y);\n }), o = [];\n }\n }, t()), _) {\n var d = C.apply(h, c);\n return x && x(d), n(d);\n }\n o.push({\n resolve: n,\n reject: D\n });\n });\n };\n return a.cancel = function(c) {\n B !== void 0 && clearTimeout(B), o.forEach(function(h) {\n return (0, h.reject)(c);\n }), o = [];\n }, a;\n}\nconst Ai = /version\\/(\\d+(\\.?_?\\d+)+)/i;\nlet fI;\nfunction MA(C) {\n let A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;\n if (typeof C > \"u\" && typeof navigator > \"u\")\n return;\n const g = (C ?? navigator.userAgent).toLowerCase();\n if (fI === void 0 || A) {\n const I = gi.find((Q) => {\n let {\n test: B\n } = Q;\n return B.test(g);\n });\n fI = I == null ? void 0 : I.describe(g);\n }\n return fI;\n}\nconst gi = [\n {\n test: /firefox|iceweasel|fxios/i,\n describe(C) {\n return {\n name: \"Firefox\",\n version: GI(/(?:firefox|iceweasel|fxios)[\\s/](\\d+(\\.?_?\\d+)+)/i, C),\n os: C.toLowerCase().includes(\"fxios\") ? \"iOS\" : void 0\n };\n }\n },\n {\n test: /chrom|crios|crmo/i,\n describe(C) {\n return {\n name: \"Chrome\",\n version: GI(/(?:chrome|chromium|crios|crmo)\\/(\\d+(\\.?_?\\d+)+)/i, C),\n os: C.toLowerCase().includes(\"crios\") ? \"iOS\" : void 0\n };\n }\n },\n /* Safari */\n {\n test: /safari|applewebkit/i,\n describe(C) {\n return {\n name: \"Safari\",\n version: GI(Ai, C),\n os: C.includes(\"mobile/\") ? \"iOS\" : \"macOS\"\n };\n }\n }\n];\nfunction GI(C, A) {\n let g = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1;\n const I = A.match(C);\n return I && I.length >= g && I[g] || \"\";\n}\nvar Ii = \"2.0.8\";\nconst Ci = Ii, Qi = 12;\nclass X {\n}\nX.setTimeout = function() {\n return setTimeout(...arguments);\n};\nX.setInterval = function() {\n return setInterval(...arguments);\n};\nX.clearTimeout = function() {\n return clearTimeout(...arguments);\n};\nX.clearInterval = function() {\n return clearInterval(...arguments);\n};\nclass K {\n constructor(A, g, I, Q, B) {\n if (typeof A == \"object\")\n this.width = A.width, this.height = A.height, this.aspectRatio = A.aspectRatio, this.encoding = {\n maxBitrate: A.maxBitrate,\n maxFramerate: A.maxFramerate,\n priority: A.priority\n };\n else if (g !== void 0 && I !== void 0)\n this.width = A, this.height = g, this.aspectRatio = A / g, this.encoding = {\n maxBitrate: I,\n maxFramerate: Q,\n priority: B\n };\n else\n throw new TypeError(\"Unsupported options: provide at least width, height and maxBitrate\");\n }\n get resolution() {\n return {\n width: this.width,\n height: this.height,\n frameRate: this.encoding.maxFramerate,\n aspectRatio: this.aspectRatio\n };\n }\n}\nconst Bi = [\"vp8\", \"h264\"], zB = [\"vp8\", \"h264\", \"vp9\", \"av1\"];\nfunction Ei(C) {\n return !!Bi.find((A) => A === C);\n}\nvar ZI;\n(function(C) {\n C.telephone = {\n maxBitrate: 12e3\n }, C.speech = {\n maxBitrate: 2e4\n }, C.music = {\n maxBitrate: 32e3\n }, C.musicStereo = {\n maxBitrate: 48e3\n }, C.musicHighQuality = {\n maxBitrate: 64e3\n }, C.musicHighQualityStereo = {\n maxBitrate: 96e3\n };\n})(ZI || (ZI = {}));\nconst yg = {\n h90: new K(160, 90, 9e4, 20),\n h180: new K(320, 180, 16e4, 20),\n h216: new K(384, 216, 18e4, 20),\n h360: new K(640, 360, 45e4, 20),\n h540: new K(960, 540, 8e5, 25),\n h720: new K(1280, 720, 17e5, 30),\n h1080: new K(1920, 1080, 3e6, 30),\n h1440: new K(2560, 1440, 5e6, 30),\n h2160: new K(3840, 2160, 8e6, 30)\n}, XI = {\n h120: new K(160, 120, 7e4, 20),\n h180: new K(240, 180, 125e3, 20),\n h240: new K(320, 240, 14e4, 20),\n h360: new K(480, 360, 33e4, 20),\n h480: new K(640, 480, 5e5, 20),\n h540: new K(720, 540, 6e5, 25),\n h720: new K(960, 720, 13e5, 30),\n h1080: new K(1440, 1080, 23e5, 30),\n h1440: new K(1920, 1440, 38e5, 30)\n}, hC = {\n h360fps3: new K(640, 360, 2e5, 3, \"medium\"),\n h360fps15: new K(640, 360, 4e5, 15, \"medium\"),\n h720fps5: new K(1280, 720, 8e5, 5, \"medium\"),\n h720fps15: new K(1280, 720, 15e5, 15, \"medium\"),\n h720fps30: new K(1280, 720, 2e6, 30, \"medium\"),\n h1080fps15: new K(1920, 1080, 25e5, 15, \"medium\"),\n h1080fps30: new K(1920, 1080, 5e6, 30, \"medium\"),\n // original resolution, without resizing\n original: new K(0, 0, 7e6, 30, \"medium\")\n};\nfunction xi(C) {\n if (!(typeof C > \"u\"))\n return typeof structuredClone == \"function\" ? structuredClone(C) : JSON.parse(JSON.stringify(C));\n}\nconst ii = 5e3, rg = [];\nvar tA;\n(function(C) {\n C[C.LOW = 0] = \"LOW\", C[C.MEDIUM = 1] = \"MEDIUM\", C[C.HIGH = 2] = \"HIGH\";\n})(tA || (tA = {}));\nclass k extends GA.EventEmitter {\n constructor(A, g) {\n let I = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};\n var Q;\n super(), this.attachedElements = [], this.isMuted = !1, this.streamState = k.StreamState.Active, this.isInBackground = !1, this._currentBitrate = 0, this.log = u, this.appVisibilityChangedListener = () => {\n this.backgroundTimeout && clearTimeout(this.backgroundTimeout), document.visibilityState === \"hidden\" ? this.backgroundTimeout = setTimeout(() => this.handleAppVisibilityChanged(), ii) : this.handleAppVisibilityChanged();\n }, this.log = dA((Q = I.loggerName) !== null && Q !== void 0 ? Q : hA.Track), this.loggerContextCb = I.loggerContextCb, this.setMaxListeners(100), this.kind = g, this._mediaStreamTrack = A, this._mediaStreamID = A.id, this.source = k.Source.Unknown;\n }\n get logContext() {\n var A;\n return Object.assign(Object.assign({}, (A = this.loggerContextCb) === null || A === void 0 ? void 0 : A.call(this)), U(this));\n }\n /** current receive bits per second */\n get currentBitrate() {\n return this._currentBitrate;\n }\n get mediaStreamTrack() {\n return this._mediaStreamTrack;\n }\n /**\n * @internal\n * used for keep mediaStream's first id, since it's id might change\n * if we disable/enable a track\n */\n get mediaStreamID() {\n return this._mediaStreamID;\n }\n attach(A) {\n let g = \"audio\";\n this.kind === k.Kind.Video && (g = \"video\"), this.attachedElements.length === 0 && k.Kind.Video && this.addAppVisibilityListener(), A || (g === \"audio\" && (rg.forEach((B) => {\n B.parentElement === null && !A && (A = B);\n }), A && rg.splice(rg.indexOf(A), 1)), A || (A = document.createElement(g))), this.attachedElements.includes(A) || this.attachedElements.push(A), Cg(this.mediaStreamTrack, A);\n const I = A.srcObject.getTracks(), Q = I.some((B) => B.kind === \"audio\");\n return A.play().then(() => {\n this.emit(Q ? f.AudioPlaybackStarted : f.VideoPlaybackStarted);\n }).catch((B) => {\n B.name === \"NotAllowedError\" ? this.emit(Q ? f.AudioPlaybackFailed : f.VideoPlaybackFailed, B) : B.name === \"AbortError\" ? u.debug(\"\".concat(Q ? \"audio\" : \"video\", \" playback aborted, likely due to new play request\")) : u.warn(\"could not playback \".concat(Q ? \"audio\" : \"video\"), B), Q && A && I.some((E) => E.kind === \"video\") && B.name === \"NotAllowedError\" && (A.muted = !0, A.play().catch(() => {\n }));\n }), this.emit(f.ElementAttached, A), A;\n }\n detach(A) {\n try {\n if (A) {\n Eg(this.mediaStreamTrack, A);\n const I = this.attachedElements.indexOf(A);\n return I >= 0 && (this.attachedElements.splice(I, 1), this.recycleElement(A), this.emit(f.ElementDetached, A)), A;\n }\n const g = [];\n return this.attachedElements.forEach((I) => {\n Eg(this.mediaStreamTrack, I), g.push(I), this.recycleElement(I), this.emit(f.ElementDetached, I);\n }), this.attachedElements = [], g;\n } finally {\n this.attachedElements.length === 0 && this.removeAppVisibilityListener();\n }\n }\n stop() {\n this.stopMonitor(), this._mediaStreamTrack.stop();\n }\n enable() {\n this._mediaStreamTrack.enabled = !0;\n }\n disable() {\n this._mediaStreamTrack.enabled = !1;\n }\n /* @internal */\n stopMonitor() {\n this.monitorInterval && clearInterval(this.monitorInterval);\n }\n /** @internal */\n updateLoggerOptions(A) {\n A.loggerName && (this.log = dA(A.loggerName)), A.loggerContextCb && (this.loggerContextCb = A.loggerContextCb);\n }\n recycleElement(A) {\n if (A instanceof HTMLAudioElement) {\n let g = !0;\n A.pause(), rg.forEach((I) => {\n I.parentElement || (g = !1);\n }), g && rg.push(A);\n }\n }\n handleAppVisibilityChanged() {\n return r(this, void 0, void 0, function* () {\n this.isInBackground = document.visibilityState === \"hidden\";\n });\n }\n addAppVisibilityListener() {\n BA() ? (this.isInBackground = document.visibilityState === \"hidden\", document.addEventListener(\"visibilitychange\", this.appVisibilityChangedListener)) : this.isInBackground = !1;\n }\n removeAppVisibilityListener() {\n BA() && document.removeEventListener(\"visibilitychange\", this.appVisibilityChangedListener);\n }\n}\nfunction Cg(C, A) {\n let g;\n A.srcObject instanceof MediaStream ? g = A.srcObject : g = new MediaStream();\n let I;\n C.kind === \"audio\" ? I = g.getAudioTracks() : I = g.getVideoTracks(), I.includes(C) || (I.forEach((Q) => {\n g.removeTrack(Q);\n }), g.addTrack(C)), (!vA() || !(A instanceof HTMLVideoElement)) && (A.autoplay = !0), A.muted = g.getAudioTracks().length === 0, A instanceof HTMLVideoElement && (A.playsInline = !0), A.srcObject !== g && (A.srcObject = g, (vA() || og()) && A instanceof HTMLVideoElement && setTimeout(() => {\n A.srcObject = g, A.play().catch(() => {\n });\n }, 0));\n}\nfunction Eg(C, A) {\n if (A.srcObject instanceof MediaStream) {\n const g = A.srcObject;\n g.removeTrack(C), g.getTracks().length > 0 ? A.srcObject = g : A.srcObject = null;\n }\n}\n(function(C) {\n let A;\n (function(e) {\n e.Audio = \"audio\", e.Video = \"video\", e.Unknown = \"unknown\";\n })(A = C.Kind || (C.Kind = {}));\n let g;\n (function(e) {\n e.Camera = \"camera\", e.Microphone = \"microphone\", e.ScreenShare = \"screen_share\", e.ScreenShareAudio = \"screen_share_audio\", e.Unknown = \"unknown\";\n })(g = C.Source || (C.Source = {}));\n let I;\n (function(e) {\n e.Active = \"active\", e.Paused = \"paused\", e.Unknown = \"unknown\";\n })(I = C.StreamState || (C.StreamState = {}));\n function Q(e) {\n switch (e) {\n case A.Audio:\n return DA.AUDIO;\n case A.Video:\n return DA.VIDEO;\n default:\n return DA.DATA;\n }\n }\n C.kindToProto = Q;\n function B(e) {\n switch (e) {\n case DA.AUDIO:\n return A.Audio;\n case DA.VIDEO:\n return A.Video;\n default:\n return A.Unknown;\n }\n }\n C.kindFromProto = B;\n function E(e) {\n switch (e) {\n case g.Camera:\n return V.CAMERA;\n case g.Microphone:\n return V.MICROPHONE;\n case g.ScreenShare:\n return V.SCREEN_SHARE;\n case g.ScreenShareAudio:\n return V.SCREEN_SHARE_AUDIO;\n default:\n return V.UNKNOWN;\n }\n }\n C.sourceToProto = E;\n function x(e) {\n switch (e) {\n case V.CAMERA:\n return g.Camera;\n case V.MICROPHONE:\n return g.Microphone;\n case V.SCREEN_SHARE:\n return g.ScreenShare;\n case V.SCREEN_SHARE_AUDIO:\n return g.ScreenShareAudio;\n default:\n return g.Unknown;\n }\n }\n C.sourceFromProto = x;\n function i(e) {\n switch (e) {\n case JI.ACTIVE:\n return I.Active;\n case JI.PAUSED:\n return I.Paused;\n default:\n return I.Unknown;\n }\n }\n C.streamStateFromProto = i;\n})(k || (k = {}));\nfunction $B(C, A, g) {\n var I;\n const Q = (I = xi(C)) !== null && I !== void 0 ? I : {};\n return Q.audio === !0 && (Q.audio = {}), Q.video === !0 && (Q.video = {}), Q.audio && WI(Q.audio, A), Q.video && WI(Q.video, g), Q;\n}\nfunction WI(C, A) {\n return Object.keys(A).forEach((g) => {\n C[g] === void 0 && (C[g] = A[g]);\n }), C;\n}\nfunction DI(C) {\n const A = {};\n if (C.video)\n if (typeof C.video == \"object\") {\n const g = {}, I = g, Q = C.video;\n Object.keys(Q).forEach((B) => {\n switch (B) {\n case \"resolution\":\n WI(I, Q.resolution);\n break;\n default:\n I[B] = Q[B];\n }\n }), A.video = g;\n } else\n A.video = C.video;\n else\n A.video = !1;\n return C.audio ? typeof C.audio == \"object\" ? A.audio = C.audio : A.audio = !0 : A.audio = !1, A;\n}\nfunction ei(C) {\n let A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 200;\n return r(this, void 0, void 0, function* () {\n const g = AE();\n if (g) {\n const I = g.createAnalyser();\n I.fftSize = 2048;\n const Q = I.frequencyBinCount, B = new Uint8Array(Q);\n g.createMediaStreamSource(new MediaStream([C.mediaStreamTrack])).connect(I), yield lA(A), I.getByteTimeDomainData(B);\n const x = B.some((i) => i !== 128 && i !== 0);\n return g.close(), !x;\n }\n return !1;\n });\n}\nfunction AE() {\n const C = (\n // @ts-ignore\n typeof window < \"u\" && (window.AudioContext || window.webkitAudioContext)\n );\n if (C)\n return new C({\n latencyHint: \"interactive\"\n });\n}\nfunction oi(C) {\n return C === k.Source.Microphone ? \"audioinput\" : C === k.Source.Camera ? \"videoinput\" : void 0;\n}\nfunction ai(C) {\n var A, g;\n let I = (A = C.video) !== null && A !== void 0 ? A : !0;\n return C.resolution && C.resolution.width > 0 && C.resolution.height > 0 && (I = typeof I == \"boolean\" ? {} : I, vA() ? I = Object.assign(Object.assign({}, I), {\n width: {\n max: C.resolution.width\n },\n height: {\n max: C.resolution.height\n },\n frameRate: C.resolution.frameRate\n }) : I = Object.assign(Object.assign({}, I), {\n width: {\n ideal: C.resolution.width\n },\n height: {\n ideal: C.resolution.height\n },\n frameRate: C.resolution.frameRate\n })), {\n audio: (g = C.audio) !== null && g !== void 0 ? g : !1,\n video: I,\n // @ts-expect-error support for experimental display media features\n controller: C.controller,\n selfBrowserSurface: C.selfBrowserSurface,\n surfaceSwitching: C.surfaceSwitching,\n systemAudio: C.systemAudio,\n preferCurrentTab: C.preferCurrentTab\n };\n}\nfunction gE(C) {\n const A = C.split(\"/\")[1].toLowerCase();\n if (!zB.includes(A))\n throw Error(\"Video codec not supported: \".concat(A));\n return A;\n}\nfunction ti(C) {\n const A = [];\n return C.forEach((g) => {\n g.track !== void 0 && A.push(new oC({\n cid: g.track.mediaStreamID,\n track: g.trackInfo\n }));\n }), A;\n}\nfunction U(C) {\n return C instanceof k ? {\n trackID: C.sid,\n source: C.source,\n muted: C.isMuted,\n enabled: C.mediaStreamTrack.enabled,\n kind: C.kind,\n streamID: C.mediaStreamID,\n streamTrackID: C.mediaStreamTrack.id\n } : {\n trackID: C.trackSid,\n enabled: C.isEnabled,\n muted: C.isMuted,\n trackInfo: Object.assign({\n mimeType: C.mimeType,\n name: C.trackName,\n encrypted: C.isEncrypted,\n kind: C.kind,\n source: C.source\n }, C.track ? U(C.track) : {})\n };\n}\nconst si = \"|\", WC = \"https://aomediacodec.github.io/av1-rtp-spec/#dependency-descriptor-rtp-header-extension\";\nfunction ci(C) {\n const A = C.split(si);\n return A.length > 1 ? [A[0], C.substr(A[0].length + 1)] : [C, \"\"];\n}\nfunction lA(C) {\n return r(this, void 0, void 0, function* () {\n return new Promise((A) => X.setTimeout(A, C));\n });\n}\nfunction zI() {\n return \"addTransceiver\" in RTCPeerConnection.prototype;\n}\nfunction $I() {\n return \"addTrack\" in RTCPeerConnection.prototype;\n}\nfunction ni() {\n if (!(\"getCapabilities\" in RTCRtpSender) || vA())\n return !1;\n const C = RTCRtpSender.getCapabilities(\"video\");\n let A = !1;\n if (C) {\n for (const g of C.codecs)\n if (g.mimeType === \"video/AV1\") {\n A = !0;\n break;\n }\n }\n return A;\n}\nfunction Di() {\n if (!(\"getCapabilities\" in RTCRtpSender) || og())\n return !1;\n if (vA()) {\n const g = MA();\n if (g != null && g.version && rI(g.version, \"16\") < 0)\n return !1;\n }\n const C = RTCRtpSender.getCapabilities(\"video\");\n let A = !1;\n if (C) {\n for (const g of C.codecs)\n if (g.mimeType === \"video/VP9\") {\n A = !0;\n break;\n }\n }\n return A;\n}\nfunction gI(C) {\n return C === \"av1\" || C === \"vp9\";\n}\nfunction AC(C) {\n return document ? (C || (C = document.createElement(\"audio\")), \"setSinkId\" in C) : !1;\n}\nconst ri = {\n Chrome: \"100\",\n Safari: \"15\",\n Firefox: \"100\"\n};\nfunction hi(C) {\n if (!BA() || !(\"setCodecPreferences\" in C))\n return !1;\n const A = MA();\n if (!(A != null && A.name) || !A.version)\n return !1;\n const g = ri[A.name];\n return g ? rI(A.version, g) >= 0 : !1;\n}\nfunction di() {\n return typeof RTCPeerConnection > \"u\" ? !1 : zI() || $I();\n}\nfunction og() {\n var C;\n return ((C = MA()) === null || C === void 0 ? void 0 : C.name) === \"Firefox\";\n}\nfunction vA() {\n var C;\n return ((C = MA()) === null || C === void 0 ? void 0 : C.name) === \"Safari\";\n}\nfunction wi() {\n const C = MA();\n return (C == null ? void 0 : C.name) === \"Safari\" && C.version.startsWith(\"17.\");\n}\nfunction IE() {\n return BA() ? /Tablet|iPad|Mobile|Android|BlackBerry/.test(navigator.userAgent) : !1;\n}\nfunction BA() {\n return typeof document < \"u\";\n}\nfunction OA() {\n return navigator.product == \"ReactNative\";\n}\nfunction gC(C) {\n return C.hostname.endsWith(\".livekit.cloud\") || C.hostname.endsWith(\".livekit.run\");\n}\nfunction CE() {\n if (global && global.LiveKitReactNativeGlobal)\n return global.LiveKitReactNativeGlobal;\n}\nfunction QE() {\n if (!OA())\n return;\n let C = CE();\n if (C)\n return C.platform;\n}\nfunction zC() {\n if (BA())\n return window.devicePixelRatio;\n if (OA()) {\n let C = CE();\n if (C)\n return C.devicePixelRatio;\n }\n return 1;\n}\nfunction rI(C, A) {\n const g = C.split(\".\"), I = A.split(\".\"), Q = Math.min(g.length, I.length);\n for (let B = 0; B < Q; ++B) {\n const E = parseInt(g[B], 10), x = parseInt(I[B], 10);\n if (E > x)\n return 1;\n if (E < x)\n return -1;\n if (B === Q - 1 && E === x)\n return 0;\n }\n return C === \"\" && A !== \"\" ? -1 : A === \"\" ? 1 : g.length == I.length ? 0 : g.length < I.length ? -1 : 1;\n}\nfunction ki(C) {\n for (const A of C)\n A.target.handleResize(A);\n}\nfunction _i(C) {\n for (const A of C)\n A.target.handleVisibilityChanged(A);\n}\nlet NI = null;\nconst $C = () => (NI || (NI = new ResizeObserver(ki)), NI);\nlet RI = null;\nconst AQ = () => (RI || (RI = new IntersectionObserver(_i, {\n root: null,\n rootMargin: \"0px\"\n})), RI);\nfunction fi() {\n var C;\n const A = new f0({\n sdk: TQ.JS,\n protocol: Qi,\n version: Ci\n });\n return OA() && (A.os = (C = QE()) !== null && C !== void 0 ? C : \"\"), A;\n}\nfunction gQ() {\n let C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 16, A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 16, g = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, I = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;\n const Q = document.createElement(\"canvas\");\n Q.width = C, Q.height = A;\n const B = Q.getContext(\"2d\");\n B == null || B.fillRect(0, 0, Q.width, Q.height), I && B && (B.beginPath(), B.arc(C / 2, A / 2, 50, 0, Math.PI * 2, !0), B.closePath(), B.fillStyle = \"grey\", B.fill());\n const E = Q.captureStream(), [x] = E.getTracks();\n if (!x)\n throw Error(\"Could not get empty media stream video track\");\n return x.enabled = g, x;\n}\nlet hg;\nfunction FI() {\n if (!hg) {\n const C = new AudioContext(), A = C.createOscillator(), g = C.createGain();\n g.gain.setValueAtTime(0, 0);\n const I = C.createMediaStreamDestination();\n if (A.connect(g), g.connect(I), A.start(), [hg] = I.stream.getAudioTracks(), !hg)\n throw Error(\"Could not get empty media stream audio track\");\n hg.enabled = !1;\n }\n return hg.clone();\n}\nclass BE {\n constructor(A, g) {\n this.onFinally = g, this.promise = new Promise((I, Q) => r(this, void 0, void 0, function* () {\n this.resolve = I, this.reject = Q, A && (yield A(I, Q));\n })).finally(() => {\n var I;\n return (I = this.onFinally) === null || I === void 0 ? void 0 : I.call(this);\n });\n }\n}\nclass sA {\n constructor() {\n this._locking = Promise.resolve(), this._locks = 0;\n }\n isLocked() {\n return this._locks > 0;\n }\n lock() {\n this._locks += 1;\n let A;\n const g = new Promise((Q) => A = () => {\n this._locks -= 1, Q();\n }), I = this._locking.then(() => A);\n return this._locking = this._locking.then(() => g), I;\n }\n}\nfunction Gi(C) {\n return zB.includes(C);\n}\nfunction mA(C) {\n if (typeof C == \"string\")\n return C;\n if (Array.isArray(C))\n return C[0];\n if (C.exact)\n return Array.isArray(C.exact) ? C.exact[0] : C.exact;\n if (C.ideal)\n return Array.isArray(C.ideal) ? C.ideal[0] : C.ideal;\n throw Error(\"could not unwrap constraint\");\n}\nfunction Ni(C) {\n return C.startsWith(\"http\") ? C.replace(/^(http)/, \"ws\") : C;\n}\nfunction IQ(C) {\n return C.startsWith(\"ws\") ? C.replace(/^(ws)/, \"http\") : C;\n}\nconst CQ = \"default\";\nclass $ {\n static getInstance() {\n return this.instance === void 0 && (this.instance = new $()), this.instance;\n }\n getDevices(A) {\n let g = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;\n var I;\n return r(this, void 0, void 0, function* () {\n if (((I = $.userMediaPromiseMap) === null || I === void 0 ? void 0 : I.size) > 0) {\n u.debug(\"awaiting getUserMedia promise\");\n try {\n A ? yield $.userMediaPromiseMap.get(A) : yield Promise.all($.userMediaPromiseMap.values());\n } catch {\n u.warn(\"error waiting for media permissons\");\n }\n }\n let Q = yield navigator.mediaDevices.enumerateDevices();\n if (g && // for safari we need to skip this check, as otherwise it will re-acquire user media and fail on iOS https://bugs.webkit.org/show_bug.cgi?id=179363\n !(vA() && this.hasDeviceInUse(A)) && (Q.length === 0 || Q.some((E) => {\n const x = E.label === \"\", i = A ? E.kind === A : !0;\n return x && i;\n }))) {\n const E = {\n video: A !== \"audioinput\" && A !== \"audiooutput\",\n audio: A !== \"videoinput\"\n }, x = yield navigator.mediaDevices.getUserMedia(E);\n Q = yield navigator.mediaDevices.enumerateDevices(), x.getTracks().forEach((i) => {\n i.stop();\n });\n }\n return A && (Q = Q.filter((B) => B.kind === A)), Q;\n });\n }\n normalizeDeviceId(A, g, I) {\n return r(this, void 0, void 0, function* () {\n if (g !== CQ)\n return g;\n const Q = yield this.getDevices(A), B = new Map(Q.map((x) => [x.groupId, 0]));\n Q.forEach((x) => {\n var i;\n return B.set(x.groupId, ((i = B.get(x.groupId)) !== null && i !== void 0 ? i : 0) + 1);\n });\n const E = Q.find((x) => {\n var i;\n return (I === x.groupId || ((i = B.get(x.groupId)) !== null && i !== void 0 ? i : 0) > 1) && x.deviceId !== CQ;\n });\n return E == null ? void 0 : E.deviceId;\n });\n }\n hasDeviceInUse(A) {\n return A ? $.userMediaPromiseMap.has(A) : $.userMediaPromiseMap.size > 0;\n }\n}\n$.mediaDeviceKinds = [\"audioinput\", \"audiooutput\", \"videoinput\"];\n$.userMediaPromiseMap = /* @__PURE__ */ new Map();\nconst Ri = 1e3;\nclass lg extends k {\n get constraints() {\n return this._constraints;\n }\n /**\n *\n * @param mediaTrack\n * @param kind\n * @param constraints MediaTrackConstraints that are being used when restarting or reacquiring tracks\n * @param userProvidedTrack Signals to the SDK whether or not the mediaTrack should be managed (i.e. released and reacquired) internally by the SDK\n */\n constructor(A, g, I) {\n let Q = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1, B = arguments.length > 4 ? arguments[4] : void 0;\n super(A, g, B), this._isUpstreamPaused = !1, this.handleTrackMuteEvent = () => this.debouncedTrackMuteHandler().catch(() => this.log.debug(\"track mute bounce got cancelled by an unmute event\", this.logContext)), this.debouncedTrackMuteHandler = rC(() => r(this, void 0, void 0, function* () {\n yield this.pauseUpstream();\n }), 5e3), this.handleTrackUnmuteEvent = () => r(this, void 0, void 0, function* () {\n this.debouncedTrackMuteHandler.cancel(\"unmute\"), yield this.resumeUpstream();\n }), this.handleEnded = () => {\n this.isInBackground && (this.reacquireTrack = !0), this._mediaStreamTrack.removeEventListener(\"mute\", this.handleTrackMuteEvent), this._mediaStreamTrack.removeEventListener(\"unmute\", this.handleTrackUnmuteEvent), this.emit(f.Ended, this);\n }, this.reacquireTrack = !1, this.providedByUser = Q, this.muteLock = new sA(), this.pauseUpstreamLock = new sA(), this.processorLock = new sA(), this.restartLock = new sA(), this.setMediaStreamTrack(A, !0), this._constraints = A.getConstraints(), I && (this._constraints = I);\n }\n get id() {\n return this._mediaStreamTrack.id;\n }\n get dimensions() {\n if (this.kind !== k.Kind.Video)\n return;\n const {\n width: A,\n height: g\n } = this._mediaStreamTrack.getSettings();\n if (A && g)\n return {\n width: A,\n height: g\n };\n }\n get isUpstreamPaused() {\n return this._isUpstreamPaused;\n }\n get isUserProvided() {\n return this.providedByUser;\n }\n get mediaStreamTrack() {\n var A, g;\n return (g = (A = this.processor) === null || A === void 0 ? void 0 : A.processedTrack) !== null && g !== void 0 ? g : this._mediaStreamTrack;\n }\n setMediaStreamTrack(A, g) {\n return r(this, void 0, void 0, function* () {\n if (A === this._mediaStreamTrack && !g)\n return;\n this._mediaStreamTrack && (this.attachedElements.forEach((Q) => {\n Eg(this._mediaStreamTrack, Q);\n }), this.debouncedTrackMuteHandler.cancel(\"new-track\"), this._mediaStreamTrack.removeEventListener(\"ended\", this.handleEnded), this._mediaStreamTrack.removeEventListener(\"mute\", this.handleTrackMuteEvent), this._mediaStreamTrack.removeEventListener(\"unmute\", this.handleTrackUnmuteEvent)), this.mediaStream = new MediaStream([A]), A && (A.addEventListener(\"ended\", this.handleEnded), A.addEventListener(\"mute\", this.handleTrackMuteEvent), A.addEventListener(\"unmute\", this.handleTrackUnmuteEvent), this._constraints = A.getConstraints());\n let I;\n if (this.processor && A) {\n const Q = yield this.processorLock.lock();\n try {\n if (this.log.debug(\"restarting processor\", this.logContext), this.kind === \"unknown\")\n throw TypeError(\"cannot set processor on track of unknown kind\");\n this.processorElement && (Cg(A, this.processorElement), this.processorElement.muted = !0), yield this.processor.restart({\n track: A,\n kind: this.kind,\n element: this.processorElement\n }), I = this.processor.processedTrack;\n } finally {\n Q();\n }\n }\n this.sender && (yield this.sender.replaceTrack(I ?? A)), !this.providedByUser && this._mediaStreamTrack !== A && this._mediaStreamTrack.stop(), this._mediaStreamTrack = A, A && (this._mediaStreamTrack.enabled = !this.isMuted, yield this.resumeUpstream(), this.attachedElements.forEach((Q) => {\n Cg(I ?? A, Q);\n }));\n });\n }\n waitForDimensions() {\n let A = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ri;\n var g;\n return r(this, void 0, void 0, function* () {\n if (this.kind === k.Kind.Audio)\n throw new Error(\"cannot get dimensions for audio tracks\");\n ((g = MA()) === null || g === void 0 ? void 0 : g.os) === \"iOS\" && (yield lA(10));\n const I = Date.now();\n for (; Date.now() - I < A; ) {\n const Q = this.dimensions;\n if (Q)\n return Q;\n yield lA(50);\n }\n throw new fA(\"unable to get track dimensions after timeout\");\n });\n }\n /**\n * @returns DeviceID of the device that is currently being used for this track\n */\n getDeviceId() {\n return r(this, void 0, void 0, function* () {\n if (this.source === k.Source.ScreenShare)\n return;\n const {\n deviceId: A,\n groupId: g\n } = this._mediaStreamTrack.getSettings(), I = this.kind === k.Kind.Audio ? \"audioinput\" : \"videoinput\";\n return $.getInstance().normalizeDeviceId(I, A, g);\n });\n }\n mute() {\n return r(this, void 0, void 0, function* () {\n return this.setTrackMuted(!0), this;\n });\n }\n unmute() {\n return r(this, void 0, void 0, function* () {\n return this.setTrackMuted(!1), this;\n });\n }\n replaceTrack(A, g) {\n return r(this, void 0, void 0, function* () {\n if (!this.sender)\n throw new fA(\"unable to replace an unpublished track\");\n let I, Q;\n return typeof g == \"boolean\" ? I = g : g !== void 0 && (I = g.userProvidedTrack, Q = g.stopProcessor), this.providedByUser = I ?? !0, this.log.debug(\"replace MediaStreamTrack\", this.logContext), yield this.setMediaStreamTrack(A), Q && this.processor && (yield this.stopProcessor()), this;\n });\n }\n restart(A) {\n return r(this, void 0, void 0, function* () {\n const g = yield this.restartLock.lock();\n try {\n A || (A = this._constraints), this.log.debug(\"restarting track with constraints\", Object.assign(Object.assign({}, this.logContext), {\n constraints: A\n }));\n const I = {\n audio: !1,\n video: !1\n };\n this.kind === k.Kind.Video ? I.video = A : I.audio = A, this.attachedElements.forEach((E) => {\n Eg(this.mediaStreamTrack, E);\n }), this._mediaStreamTrack.removeEventListener(\"ended\", this.handleEnded), this._mediaStreamTrack.stop();\n const B = (yield navigator.mediaDevices.getUserMedia(I)).getTracks()[0];\n return B.addEventListener(\"ended\", this.handleEnded), this.log.debug(\"re-acquired MediaStreamTrack\", this.logContext), yield this.setMediaStreamTrack(B), this._constraints = A, this.emit(f.Restarted, this), this;\n } finally {\n g();\n }\n });\n }\n setTrackMuted(A) {\n this.log.debug(\"setting \".concat(this.kind, \" track \").concat(A ? \"muted\" : \"unmuted\"), this.logContext), !(this.isMuted === A && this._mediaStreamTrack.enabled !== A) && (this.isMuted = A, this._mediaStreamTrack.enabled = !A, this.emit(A ? f.Muted : f.Unmuted, this));\n }\n get needsReAcquisition() {\n return this._mediaStreamTrack.readyState !== \"live\" || this._mediaStreamTrack.muted || !this._mediaStreamTrack.enabled || this.reacquireTrack;\n }\n handleAppVisibilityChanged() {\n const A = Object.create(null, {\n handleAppVisibilityChanged: {\n get: () => super.handleAppVisibilityChanged\n }\n });\n return r(this, void 0, void 0, function* () {\n yield A.handleAppVisibilityChanged.call(this), IE() && (this.log.debug(\"visibility changed, is in Background: \".concat(this.isInBackground), this.logContext), !this.isInBackground && this.needsReAcquisition && !this.isUserProvided && !this.isMuted && (this.log.debug(\"track needs to be reacquired, restarting \".concat(this.source), this.logContext), yield this.restart(), this.reacquireTrack = !1));\n });\n }\n stop() {\n var A;\n super.stop(), this._mediaStreamTrack.removeEventListener(\"ended\", this.handleEnded), this._mediaStreamTrack.removeEventListener(\"mute\", this.handleTrackMuteEvent), this._mediaStreamTrack.removeEventListener(\"unmute\", this.handleTrackUnmuteEvent), (A = this.processor) === null || A === void 0 || A.destroy(), this.processor = void 0;\n }\n /**\n * pauses publishing to the server without disabling the local MediaStreamTrack\n * this is used to display a user's own video locally while pausing publishing to\n * the server.\n * this API is unsupported on Safari < 12 due to a bug\n **/\n pauseUpstream() {\n return r(this, void 0, void 0, function* () {\n const A = yield this.pauseUpstreamLock.lock();\n try {\n if (this._isUpstreamPaused === !0)\n return;\n if (!this.sender) {\n this.log.warn(\"unable to pause upstream for an unpublished track\", this.logContext);\n return;\n }\n this._isUpstreamPaused = !0, this.emit(f.UpstreamPaused, this);\n const g = MA();\n if ((g == null ? void 0 : g.name) === \"Safari\" && rI(g.version, \"12.0\") < 0)\n throw new DC(\"pauseUpstream is not supported on Safari < 12.\");\n yield this.sender.replaceTrack(null);\n } finally {\n A();\n }\n });\n }\n resumeUpstream() {\n return r(this, void 0, void 0, function* () {\n const A = yield this.pauseUpstreamLock.lock();\n try {\n if (this._isUpstreamPaused === !1)\n return;\n if (!this.sender) {\n this.log.warn(\"unable to resume upstream for an unpublished track\", this.logContext);\n return;\n }\n this._isUpstreamPaused = !1, this.emit(f.UpstreamResumed, this), yield this.sender.replaceTrack(this._mediaStreamTrack);\n } finally {\n A();\n }\n });\n }\n /**\n * Gets the RTCStatsReport for the LocalTrack's underlying RTCRtpSender\n * See https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport\n *\n * @returns PromiseRecording:\\\\x20','DebugRecorder','tula\\\\x20mobile\\\\x20microphone','sigma\\\\x20fp','_getAvailableWrite','at2020usb','behringer\\\\x20mpa40bt\\\\x20pro','srs-xb43','polycom','from','Logger','14864NudJMk','setOptions','movo-um700','tonor\\\\x20tc-2030\\\\x20audio\\\\x20device','streamcam','trust\\\\x20gxt\\\\x20232\\\\x20microphone','_copyInputToOutput','fifine\\\\x20k669\\\\x20microphone','createElement','logi\\\\x20mx\\\\x20sound','worker','boom\\\\x203','at-csp5','camera','instances','logic\\\\x20sp2','max','jabra\\\\x20panacast','gxt\\\\x20256\\\\x20microphone','leviosa\\\\x20live\\\\x20mcx02','mateview','SharedBufferAudioProcessor','onmessage','sony:srs-x5','sendBufferOverflowEvent','isSuspended','ts-14000\\\\x20klar','realtek','edifier\\\\x20r','defineProperty','logitech\\\\x20usb\\\\x20speaker','KrispSDK\\\\x20-','throw','stockwell\\\\x20ii','lg\\\\x20ph1(2a)','blue\\\\x20eyeball\\\\x202.0','jbl\\\\x20charge','SET_LOGGING_PORT','spark\\\\x2040\\\\x20audio','axcs\\\\x20speaker','pc-lm1e','uac\\\\x201.0\\\\x20microphone','poly\\\\x20sync','sony:srs-x2','BUFFER_DROP_SIZE_MS','bluetooth\\\\x20soundbar','logAudio','røde\\\\x20nt-usb','clickshare','_maxPackageDelay','OUTPUT_CLEAN_AUDIO_DATA','_bufferLength','keys','AudioProcessor','dell\\\\x20slim\\\\x20soundbar\\\\x20sb522a','ugreen-70303e','anua\\\\x20mic\\\\x20cm\\\\x20900','bt\\\\x20speaker','outputRingBuffer','arozzi\\\\x20sfera\\\\x20microphone','_outputRingBuffer','aukey\\\\x20mi-u2\\\\x20usb\\\\x20mic','_suspended','prototype','jbl\\\\x20pulse\\\\x203','hk\\\\x20esquire\\\\x20mini','setUint16','yu6\\\\x20by\\\\x20kanto','audio/wav;codecs=wav','usb\\\\x20mic','wonderboom','edifier\\\\x20s3000\\\\x20pro','logAudioOutputSamples','sigma\\\\x20fp\\\\x20l','edifier\\\\x20s880','shure\\\\x20mv7','uac\\\\x201.0\\\\x20microphone\\\\x20&\\\\x20hid-mediakey','lg-pk3','ptsb-80w','stadia\\\\x20controller\\\\x20rev.\\\\x20a','emberton','lspx-s3','logi\\\\x20group\\\\x20speakerphone','_state','AudioProcessor:_onMessage','sdy019','isFloat','WAVE','klipsch\\\\x20r-51pm','_inputData','razer\\\\x20seiren','crestron-uc-soundbar','undefined','bt\\\\x20hifi\\\\x20audio','jbl\\\\x20wind','INPUT_AUDIO_DATA','options','soundflower','charCodeAt','seconds','blasterx\\\\x20senz3d\\\\x20vf0810','setReady','_previousLogNumber','razer\\\\x20base\\\\x20station\\\\x20v2\\\\x20chroma','djack','fantech\\\\x20leviosa','ifine\\\\x20\\\\x20microphone','746270itIGVq','mts-2026','emeet\\\\x20m2','sembrandt\\\\x20ht3000','klim\\\\x20talk','odyssey\\\\x20microphone','__awaiter','_isReady','jbl\\\\x20cinema\\\\x20sb150','gxt\\\\x20244\\\\x20microphone','click','bss\\\\x204803','logPort','Krisp\\\\x20SDK\\\\x20-\\\\x20Buffer\\\\x20wrong\\\\x20input','enacfire\\\\x20soundbar','cwc5\\\\x20microphone','149550xOiPkc','[samsung]\\\\x20allconnect','data','pushOutput','srs-xb23','process','c-1u','
\\\\x0a\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x0a\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\n `, \"logi z407\", \"280870nBXWVl\", \" is force BVC compatible\", \"fingers brownie\", \"RIFF\", \"yu4 by kanto\", \"response\", \"shure digital\", \"1.1\", \"opera\", \"majority rs1\", \"disableNDB\", \"test\", \"MODEL_IS_NOT_PROVIDED\", \"isCompatible\", \"stanmore bluetooth\", \"pc-lm1e\", \"gxt 258 microphone\", \"includes\", \"redmi tv soundbar\", \"by-pm700\", \"enableNDB\", \"recorder\", \"setOptions\", \"j5create meeting mic\", \"wireless go ii rx\", \"event\", \"boom 3\", \"tg-116\", \"load\", \"784245tIlamF\", \"lgtg-210\", \"models\", \"Connecting with other threads for logging\", \"klim talk\", \"miniso-a18\", \"streamcam\", \"setPrototypeOf\", \"AudioFilterNode:toggle\", \"getModelName\", \"AudioFilterNode:enableVAD\", \"NDB_INACTIVE_DURATION\", \"string\", \"BUFFER_DROP_SIZE_MS\", \"ak5370\", \"blue icicle\", \"blasterx senz3d vf0810\", \"hyperx solocast\", \"vivan vs12\", \"thronmax pulse\", \"enableVAD\", \"14wUYhbs\", \"WASM processor initialized\", \"aavante bar 1160\", \"isCompatibleStream\", \"jbl jr pop\", \"Apple\", \"push\", \"modelBVC\", \"debugLogs\", \"INITIALIZED\", \"SDK_NOT_INITIALIZED\", \"blue eyeball 2.0\", \"audioWorklet\", \"useVAD\", \"yvc-330 yamaha\", \"arraybuffer\", \"shadowRoot\", \"mallocModel\", \"define\", \"READ_INDEX\", \"taotronics tt-sk023\", \"zv-1\", \"adding event listener for worker\", \"amazonbasics desktop mini mic\", \"setValueAtTime\", \"BVC is ON\", \"sr600202\", \"SDK_FRAME_DURATION_10MS\", \"preload\", \"ausdom microphone\", \"edifier m1370bt\", \"fantech luminous c30\", \"woburn speaker\", \"createNoiseFilter\", \"unloadModel\", \"tcl ts5000\", \"removeEventListener\", \"promedia 2.0\", \"magic mic\", \"ziisound d5\", \"__esModule\", \"logitech mx sound\", \"lg-pk3\", \"keys\", \"plasma microphone\", \"bedroom speaker\", \"sdh-201\", \"allowBVC\", \"live microphone\", \"uc40m audio\", \"ht-s100f\", \"sharedBuffers\", \"_free\", \"_outputData\", \"info\", \"thronmax mdrill \", \"echo dot\", \"soundcore 2\", \"sm900 microphone\", \"pushInput\", \"open\", \"onmousedown\", \"iconf\", \"buffer\", \"8bitdo twincube\", \"assign\", \"BVC\", \"sampleModelMap\", \"jbl clip \", \"ekacom-k\", \"location\", \"leviosa live mcx02\", \"q30 - glauber\", \"stream\", \"addEventListener\", \"readAsDataURL\", \"mobiola microphone\", \"infinity fuze 100\", \"jbl flip \", \"pickModel\", \"monster s310\", \"brio\", \"BVC_BLOCKED_DEVICES\", \"baseLatency\", \"KrispSDK:createNoiseFilter\", \"verbatim 1080p mic\", \"NOT_SUPPORTED_SAMPLE_RATE\", \"conferencecam\", \"forEach\", \"powerconf s3\", \"URL\", \"INVALID_ASSET_URL\", \"SharedArrayByffer is not supported by browser. Make sure all security requirements are present. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements\", \"remove\", \"bt hifi audio\", \"bose solo\", \"buffer_overflow\", \"style\", \"INITIAL\", \"redcam rc-250\", \"blobToBase64\", \".html\", \"_getAvailableRead\", \"srs-xb23\", \"soundflower\", \"jabra panacast\", \"big jambox by jawbone\", \"mc-d800\", \"from\", \"epson projector mpp audio\", \"SharedArrayBuffer's has been initialized\", \"thronmax mdrill\", \"values\", \"fmt \", \"emeet m2\", \"poly sync\", \"enabled\", \"logi z207\", \"lspx-s3\", \"brother nw-1000\", \"text/html\", \"office speaker\", \"stf coloso\", \"DebugRecorder\", \"srs-xb33\", \"isMobile\", \"vad_enabled\", \"edifier_r\", \"enacfire soundbar\", \"camera\", \"log\", \"stanmore ii\", \"]: \", \"odyssey microphone\", \"numFrames\", \"sm950 microphone\", \"ian layugan’s double chill speaker\", \"megaboom 3\", \"hd 458bt\", \"anua mic cm 900\", \"sg control mic\", \"fifine k669 microphone\", \"validateModels\", \"appendChild\", \"preloadModels\", \"startSecondsCounter\", \"vipex vx-sk001\", \"NDB_CB\", \"model32\", \"model:validateModels\", \"BUFFER_OVERFLOW\", \"FxiOS\", \"sennheiser sp 20 for lync\", \"offsetLeft\", \"usb lavalier microphone\", \"fifine k678 microphone\", \"sony:srs-x2\", \"hk_allure_portable\", \"AudioFilterNode:disableVAD\", \"pull\", \"send toggle NC message\", \"warn\", \"disableVAD\", \"srs-xb\", \"at9934usb\", \"undefined\", \"treblab hd77\", \"razer seiren\", \"INVALID_OPTIONS\", \"creative stage\", \"bose videobar vb1\", \"pebble v3\", \"logi group speakerphone\", \"rode nt-usb\", \" is not BVC compatible\", \"edifier mp260\", \"bb5115\", \"worklet\", \"channelCount\", \"click\", \"ndb_enabled\", \"obsbot tiny audio\", \"function a1_0x27fa(_0x30cbc9,_0x3bc7b9){var _0xed8234=a1_0xed82();return a1_0x27fa=function(_0x27fa9f,_0x5470dc){_0x27fa9f=_0x27fa9f-0xfd;var _0xb92b49=_0xed8234[_0x27fa9f];return _0xb92b49;},a1_0x27fa(_0x30cbc9,_0x3bc7b9);}(function(_0x381bb8,_0x2c6d6e){var _0x45ca97=a1_0x27fa,_0xcdc09d=_0x381bb8();while(!![]){try{var _0xe94067=parseInt(_0x45ca97(0x30a))/0x1+parseInt(_0x45ca97(0x2a7))/0x2*(-parseInt(_0x45ca97(0x4be))/0x3)+-parseInt(_0x45ca97(0x38d))/0x4+-parseInt(_0x45ca97(0x2d5))/0x5+-parseInt(_0x45ca97(0x1d6))/0x6*(-parseInt(_0x45ca97(0x614))/0x7)+-parseInt(_0x45ca97(0x4c8))/0x8*(-parseInt(_0x45ca97(0x363))/0x9)+parseInt(_0x45ca97(0x573))/0xa;if(_0xe94067===_0x2c6d6e)break;else _0xcdc09d['push'](_0xcdc09d['shift']());}catch(_0x389a88){_0xcdc09d['push'](_0xcdc09d['shift']());}}}(a1_0xed82,0xa0f95),((()=>{'use strict';var _0x3795ac=a1_0x27fa;var _0x4d245f={0x36:(_0x1aa9fd,_0x13f3df,_0x4688af)=>{var _0x67069c=a1_0x27fa;Object[_0x67069c(0x12f)](_0x13f3df,_0x67069c(0x529),{'value':!0x0});const _0x1c5f1a=_0x4688af(0x29a),_0x48ecfa=_0x4688af(0x2ce);_0x13f3df[_0x67069c(0x477)]=class{constructor(){var _0x591ab3=_0x67069c;this[_0x591ab3(0x4c9)]=[];}[_0x67069c(0x164)](_0x3ffbab){var _0x14e0cb=_0x67069c;this[_0x14e0cb(0x4c9)][_0x14e0cb(0x164)](..._0x3ffbab);}[_0x67069c(0x24d)](_0x542273){var _0x3fbcbb=_0x67069c;if(_0x542273<0x0)throw new Error(_0x3fbcbb(0x49a));if(this[_0x3fbcbb(0x4c9)]['length']>=_0x542273)return this[_0x3fbcbb(0x4c9)][_0x3fbcbb(0x66c)](0x0,_0x542273);throw new Error(_0x3fbcbb(0x258));}[_0x67069c(0x39d)](){var _0x4f4c23=_0x67069c;return this[_0x4f4c23(0x4c9)][_0x4f4c23(0x39d)];}[_0x67069c(0x452)](){var _0x39dcd0=_0x67069c;return this[_0x39dcd0(0x4c9)];}[_0x67069c(0x1fa)](){var _0x4bd089=_0x67069c;this[_0x4bd089(0x4c9)]=[];}[_0x67069c(0x4fe)](_0x22f82c){var _0x9c6765=_0x67069c;_0x48ecfa[_0x9c6765(0x592)][_0x9c6765(0x110)](_0x9c6765(0x5e5),_0x9c6765(0x39e),this[_0x9c6765(0x4c9)]['length'],_0x9c6765(0x428),this['buffer'][_0x9c6765(0x39d)]-_0x22f82c*_0x1c5f1a[_0x9c6765(0x3bd)]/0xa),this[_0x9c6765(0x4c9)]=this[_0x9c6765(0x4c9)][_0x9c6765(0x11d)](this[_0x9c6765(0x4c9)][_0x9c6765(0x39d)]-_0x22f82c*_0x1c5f1a[_0x9c6765(0x3bd)]/0xa);}};},0x349:(_0x4f6b63,_0x54398a,_0x3ee081)=>{var _0x3a3e1b=a1_0x27fa;Object[_0x3a3e1b(0x12f)](_0x54398a,_0x3a3e1b(0x529),{'value':!0x0}),_0x54398a[_0x3a3e1b(0x2c0)]=void 0x0;const _0x1cdcba=_0x3ee081(0x126);_0x54398a[_0x3a3e1b(0x2c0)]=class{constructor(_0x4ea65a){var _0x7b2786=_0x3a3e1b;this[_0x7b2786(0x55c)]=_0x4ea65a,this['_inputData']=[],this[_0x7b2786(0x1c3)]=[];}[_0x3a3e1b(0x26f)](_0x293e82){this['_inputData']['push'](_0x293e82);}[_0x3a3e1b(0x43b)](_0x1f1722){var _0x528ce8=_0x3a3e1b;this[_0x528ce8(0x1c3)][_0x528ce8(0x164)](_0x1f1722);}['exportToWavBlob'](){var _0x5764ec=_0x3a3e1b;return{'input':(0x0,_0x1cdcba['createWAVBlob'])(this[_0x5764ec(0x3c4)],this[_0x5764ec(0x55c)]),'output':(0x0,_0x1cdcba[_0x5764ec(0x31d)])(this[_0x5764ec(0x1c3)],this[_0x5764ec(0x55c)])};}};},0x198:(_0x4650d7,_0x26b52b)=>{var _0x8139f2=a1_0x27fa;Object[_0x8139f2(0x12f)](_0x26b52b,'__esModule',{'value':!0x0}),_0x26b52b['HeapAudioBufferFactory']=void 0x0;const _0xfcd470=Uint16Array[_0x8139f2(0x68a)],_0x12478f=Float32Array['BYTES_PER_ELEMENT'];class _0xbeffba{constructor(_0x100fa5,_0x2229b9,_0x59380a=0x1,_0x4d1743=0x2){var _0x56917b=_0x8139f2;this[_0x56917b(0x49e)]=!0x1,this['_module']=_0x100fa5,this[_0x56917b(0x1da)]=_0x2229b9,this[_0x56917b(0x226)]=_0x4d1743?Math[_0x56917b(0x6f7)](_0x4d1743,0x20):_0x59380a,this[_0x56917b(0x5f7)]=_0x59380a,this[_0x56917b(0x1b1)](),this['_isInitialized']=!0x0;}[_0x8139f2(0x1b1)](){var _0x158529=_0x8139f2;const _0x1f7db8=this[_0x158529(0x1da)]*_0x12478f,_0x2f01f5=this['_channelCount']*_0x1f7db8;this[_0x158529(0x559)]=this[_0x158529(0x4aa)][_0x158529(0x67c)](_0x2f01f5),this['_channelData']=[];for(let _0x4c0f2c=0x0;_0x4c0f2c \\\\x0a\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x0a\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20','paths','bytes=','creative\\\\x20t100','webkitIndexedDB','fmt\\\\x20','rog\\\\x20eye\\\\x20s','_enable_nc','live\\\\x20streamer\\\\x20cam\\\\x20513','evga\\\\x20xr1\\\\x20pro\\\\x20capture\\\\x20box\\\\x20audio','ensureOverloadTable','rdev','modelRT','logAudioInputSamples','ue\\\\x20megaboom','reverse','syncfs','default_tty_ops','hashAddNode','\\\\x0a\\\\x20\\\\x20Minimum:\\\\x20','callUserCallback','doXHR\\\\x20failed!','moman\\\\x20em','kandao\\\\x20meeting','registerRestoreOldStyle','setPrototypeOf','HeapAudioBufferFactory','infinity\\\\x20fuze\\\\x20100','sharedBuffers','leviosa\\\\x20live\\\\x20mcx02','_emscripten_stack_get_base','registeredInstances','8bitdo\\\\x20twincube','error','ChunkAudioBuffer:dropBuffer','_free','demangle','bt\\\\x20hifi\\\\x20audio','isAbs','mevo','only\\\\x20','writeArrayToMemory','registerPointerlockErrorEventCallback','createElement','report-','numChannels','shure\\\\x20digital','odyssey\\\\x20microphone','bose\\\\x20solo','ErrnoError','new_','convertI32PairToI53Checked','_channelCount','getBasestPointer','warning:\\\\x20run\\\\x20dependency\\\\x20added\\\\x20without\\\\x20ID','logAudio','unloadModuleModel',',\\\\x20expected\\\\x20hex\\\\x20dwords\\\\x200x89BACDFE\\\\x20and\\\\x200x2135467,\\\\x20but\\\\x20received\\\\x20','Pointer\\\\x20passed\\\\x20to\\\\x20stringToUTF16\\\\x20must\\\\x20be\\\\x20aligned\\\\x20to\\\\x20two\\\\x20bytes!','jbl\\\\x20flip\\\\x204','hideEverythingExceptGivenElement','powerconf\\\\x20s3','srs-xb10','Protocol\\\\x20not\\\\x20available','forEach','mateview','getDynCaller','No\\\\x20such\\\\x20device\\\\x20or\\\\x20address','asyncLoad','stream','TOTAL_MEMORY','usb\\\\x20lcs','getTempRet0','Unknown\\\\x20boolean\\\\x20type\\\\x20size:\\\\x20','edifier\\\\x20mp120','emeet','soundlink','undefined','createSpecialDirectories','fantech\\\\x20leviosa','ExitStatus','79653UvQYpL','sk010','instantiateWasm','web_user','tonor\\\\x20tc-2030\\\\x20audio\\\\x20device','traverseStack','aukey\\\\x20pc-lm1a\\\\x20microphone','Assertion\\\\x20failed','audio/wav;\\\\x20codecs=wav','fround','belkin\\\\x20','max','setMonth','Cannot\\\\x20call\\\\x20','fingers\\\\x20brownie','dir','file','set_adjusted_ptr','Aborted(','name','\\\\x0a\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20\\\\x20