@fraku/video 0.1.41 → 0.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +78 -80
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -918,7 +918,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
918
918
|
}
|
|
919
919
|
}
|
|
920
920
|
`);_e.current.innerHTML=Ce},Qe=function(){_e.current=le.removeInlineStyle(_e.current)};Go(function(){Qt(!0),o.visible&&m(!0)}),S.useEffect(function(){return o.breakpoints&&zt(),function(){Qe()}},[o.breakpoints]),hn(function(){o.visible&&!p&&m(!0),o.visible!==v&&p&&C(o.visible),o.visible&&(oe.current=document.activeElement)},[o.visible,p]),hn(function(){p&&(xo.set("modal",F.current,n&&n.autoZIndex||Ur.autoZIndex,o.baseZIndex||n&&n.zIndex.modal||Ur.zIndex.modal),C(!0))},[p]),hn(function(){Qt(!0)},[re,v]),Ci(function(){We(),Qt(!1),le.removeInlineStyle(_e.current),xo.clear(F.current)}),S.useImperativeHandle(t,function(){return{props:o,resetPosition:Pt,getElement:function(){return D.current},getMask:function(){return F.current},getContent:function(){return U.current},getHeader:function(){return G.current},getFooter:function(){return Y.current},getCloseButton:function(){return Q.current}}});var Et=function(){if(o.closable&&o.showCloseIcon){var Ce=o.ariaCloseIconLabel||Bo("close"),Te=r({className:Ke("closeButtonIcon"),"aria-hidden":!0},Oe("closeButtonIcon")),et=o.closeIcon||S.createElement(Ic,Te),ht=nn.getJSXIcon(et,X1({},Te),{props:o}),Ft=r({ref:Q,type:"button",className:Ke("closeButton"),"aria-label":Ce,onClick:Wr,onKeyDown:function(Lt){Lt.key!=="Escape"&&Lt.stopPropagation()}},Oe("closeButton"));return S.createElement("button",Ft,ht,S.createElement(Co,null))}return null},Ht=function(){var Ce,Te=r({className:Ke("maximizableIcon")},Oe("maximizableIcon"));Se?Ce=o.minimizeIcon||S.createElement(L9,Te):Ce=o.maximizeIcon||S.createElement(k9,Te);var et=nn.getJSXIcon(Ce,Te,{props:o});if(o.maximizable){var ht=r({type:"button",className:Ke("maximizableButton"),onClick:Hr},Oe("maximizableButton"));return S.createElement("button",ht,et,S.createElement(Co,null))}return null},ur=function(){if(o.showHeader){var Ce=Et(),Te=Ht(),et=pe.getJSXElement(o.icons,o),ht=pe.getJSXElement(o.header,o),Ft=l+"_header",tr=r({ref:G,style:o.headerStyle,className:Ke("header"),onMouseDown:jr},Oe("header")),Lt=r({id:Ft,className:Ke("headerTitle")},Oe("headerTitle")),Je=r({className:Ke("headerIcons")},Oe("headerIcons"));return S.createElement("div",tr,S.createElement("div",Lt,ht),S.createElement("div",Je,et,Te,Ce))}return null},Dr=function(){var Ce=l+"_content",Te=r({id:Ce,ref:U,style:o.contentStyle,className:Ke("content")},Oe("content"));return S.createElement("div",Te,o.children)},pn=function(){var Ce=pe.getJSXElement(o.footer,o),Te=r({ref:Y,className:Ke("footer")},Oe("footer"));return Ce&&S.createElement("div",Te,Ce)},Ln=function(){return o.resizable?S.createElement("span",{className:"p-resizable-handle",style:{zIndex:90},onMouseDown:In}):null},Qn=function(){var Ce,Te={header:o.header,content:o.message,message:o==null||(Ce=o.children)===null||Ce===void 0||(Ce=Ce[1])===null||Ce===void 0||(Ce=Ce.props)===null||Ce===void 0?void 0:Ce.children},et={headerRef:G,contentRef:U,footerRef:Y,closeRef:Q,hide:Wr,message:Te};return pe.getJSXElement(e.content,et)},gn=function(){var Ce=ur(),Te=Dr(),et=pn(),ht=Ln();return S.createElement(S.Fragment,null,Ce,Te,et,ht)},Re=function(){var Ce=l+"_header",Te=l+"_content",et={enter:o.position==="center"?150:300,exit:o.position==="center"?150:300},ht=r({ref:F,style:St("mask"),className:Ke("mask"),onPointerUp:Br},Oe("mask")),Ft=r({ref:D,id:l,className:dt(o.className,Ke("root",{props:o,maximized:Se,context:n})),style:o.style,onClick:o.onClick,role:"dialog","aria-labelledby":Ce,"aria-describedby":Te,"aria-modal":o.modal,onPointerDown:Pr},Ev.getOtherProps(o),Oe("root")),tr=r({classNames:Ke("transition"),timeout:et,in:v,options:o.transitionOptions,unmountOnExit:!0,onEnter:pt,onEntered:Rt,onExiting:rt,onExited:ge},Oe("transition")),Lt=null;e!=null&&e.content?Lt=Qn():Lt=gn();var Je=S.createElement("div",ht,S.createElement(Dl,qw({nodeRef:D},tr),S.createElement("div",Ft,S.createElement(uq,{autoFocus:o.focusOnShow},Lt))));return S.createElement(vu,{element:Je,appendTo:o.appendTo,visible:!0})};return p&&Re()});U0.displayName="Dialog";var Ps=ej();function Yw(){return Yw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Yw.apply(null,arguments)}function hq(e){if(Array.isArray(e))return e}function mq(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(d){c=!0,o=d}finally{try{if(!l&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function dN(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function gq(e,t){if(e){if(typeof e=="string")return dN(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?dN(e,t):void 0}}function vq(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
921
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pN(e,t){return hq(e)||mq(e,t)||gq(e,t)||vq()}function xm(e){"@babel/helpers - typeof";return xm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xm(e)}function yq(e,t){if(xm(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(xm(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bq(e){var t=yq(e,"string");return xm(t)=="symbol"?t:t+""}function Sq(e,t,r){return(t=bq(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Eq={root:"p-confirm-dialog",message:"p-confirm-dialog-message",icon:"p-confirm-dialog-icon",acceptButton:"p-confirm-dialog-accept",rejectButton:function(t){var r=t.getPropValue;return dt("p-confirm-dialog-reject",{"p-button-text":!r("rejectClassName")})}},Cv=Ar.extend({defaultProps:{__TYPE:"ConfirmDialog",accept:null,acceptClassName:null,acceptIcon:null,acceptLabel:null,appendTo:null,breakpoints:null,children:void 0,className:null,content:null,defaultFocus:"accept",footer:null,icon:null,message:null,onHide:null,reject:null,rejectClassName:null,rejectIcon:null,rejectLabel:null,tagKey:void 0,visible:void 0},css:{classes:Eq}});function fN(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Op(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?fN(Object(r),!0).forEach(function(n){Sq(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fN(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var ER=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t=Op(Op({},t),{visible:t.visible===void 0?!0:t.visible}),t.visible&&Ps.emit("confirm-dialog",t);var r=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ps.emit("confirm-dialog",Op(Op(Op({},t),i),{visible:!0}))},n=function(){Ps.emit("confirm-dialog",{visible:!1})};return{show:r,hide:n}},j9=S.memo(S.forwardRef(function(e,t){var r=Vr(),n=S.useContext(qr),o=Cv.getProps(e,n),i=S.useState(o.visible),a=pN(i,2),s=a[0],l=a[1],c=S.useState(!1),d=pN(c,2),p=d[0],m=d[1],y=S.useRef(null),b=S.useRef(!1),v=S.useRef(null),C=function(){var Se=o.group;return y.current&&(Se=y.current.group),Object.assign({},o,y.current,{group:Se})},A=function(Se){return C()[Se]},R=function(Se){for(var re=arguments.length,we=new Array(re>1?re-1:0),Ae=1;Ae<re;Ae++)we[Ae-1]=arguments[Ae];return pe.getPropValue(A(Se),we)},x=A("acceptLabel")||va("accept"),k=A("rejectLabel")||va("reject"),D={props:o,state:{visible:s}},F=Cv.setMetaData(D),$=F.ptm,U=F.cx,G=F.isUnstyled;vo(Cv.css.styles,G,{name:"confirmdialog"});var Y=function(){b.current||(b.current=!0,R("accept"),ne("accept"))},Q=function(){b.current||(b.current=!0,R("reject"),ne("reject"))},me=function(){var Se=C();Se.group===o.group&&(l(!0),b.current=!1,v.current=document.activeElement)},ne=function(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"cancel";s&&(typeof Se!="string"&&(Se="cancel"),l(!1),R("onHide",Se),le.focus(v.current),v.current=null)},Ee=function(Se){if(Se.tagKey===o.tagKey){var re=s!==Se.visible,we=A("target")!==Se.target;we&&!o.target?(ne(),y.current=Se,m(!0)):re&&(y.current=Se,Se.visible?me():ne())}};S.useEffect(function(){o.visible?me():ne()},[o.visible]),S.useEffect(function(){return!o.target&&!o.message&&Ps.on("confirm-dialog",Ee),function(){Ps.off("confirm-dialog",Ee)}},[o.target]),hn(function(){p&&me()},[p]),Ci(function(){Ps.off("confirm-dialog",Ee)}),S.useImperativeHandle(t,function(){return{props:o,confirm:Ee}});var ce=function(){var Se=A("defaultFocus"),re=dt("p-confirm-dialog-accept",A("acceptClassName")),we=dt("p-confirm-dialog-reject",{"p-button-text":!A("rejectClassName")},A("rejectClassName")),Ae=r({label:k,autoFocus:Se==="reject",icon:A("rejectIcon"),className:dt(A("rejectClassName"),U("rejectButton",{getPropValue:A})),onClick:Q,pt:$("rejectButton"),unstyled:o.unstyled,__parentMetadata:{parent:D}},$("rejectButton")),Pe=r({label:x,autoFocus:Se===void 0||Se==="accept",icon:A("acceptIcon"),className:dt(A("acceptClassName"),U("acceptButton")),onClick:Y,pt:$("acceptButton"),unstyled:o.unstyled,__parentMetadata:{parent:D}},$("acceptButton")),Oe=S.createElement(S.Fragment,null,S.createElement(Pi,Ae),S.createElement(Pi,Pe));if(A("footer")){var Ke={accept:Y,reject:Q,acceptClassName:re,rejectClassName:we,acceptLabel:x,rejectLabel:k,element:Oe,props:C()};return pe.getJSXElement(A("footer"),Ke)}return Oe},_e=function(){var Se=C(),re=pe.getJSXElement(A("message"),Se),we=r({className:U("icon")},$("icon")),Ae=nn.getJSXIcon(A("icon"),Op({},we),{props:Se}),Pe=ce(),Oe=r({className:U("message")},$("message")),Ke=r({visible:s,className:dt(A("className"),U("root")),footer:Pe,onHide:ne,breakpoints:A("breakpoints"),pt:Se.pt,unstyled:o.unstyled,appendTo:A("appendTo"),__parentMetadata:{parent:D}},Cv.getOtherProps(Se));return S.createElement(U0,Yw({},Ke,{content:e==null?void 0:e.content}),Ae,S.createElement("span",Oe,re))},Ne=_e();return S.createElement(vu,{element:Ne,appendTo:A("appendTo")})}));j9.displayName="ConfirmDialog";var Qa=(e=>(e.Audio="Audio",e.Video="Video",e.Background="Background",e))(Qa||{});const V9=ae.createContext({selectedSettingsTab:"Audio",setSelectedSettingsTab:()=>{}}),B9=()=>ae.useContext(V9),H9=ae.createContext({configDialogVisible:{visible:!1,tab:Qa.Audio},toggleConfigDialog:()=>{},acceptParticipationDialogVisible:!1,toggleAcceptParticipationDialog:()=>{},notify:()=>{},alert:()=>{},confirm:()=>{}}),bs=()=>{const e=ae.useContext(H9);if(!e)throw new Error("useDialogContext must be used within DialogsContext");return e},Cq=({children:e})=>{const[t,r]=ae.useState({visible:!1,tab:Qa.Audio}),[n,o]=ae.useState(!1),i=ae.useRef(null),[a,s]=ae.useState({header:"",message:"",visible:!1}),l=ae.useCallback(({tab:v})=>{const C=v??Qa.Audio;r(A=>({visible:!A.visible,tab:C}))},[]),c=ae.useCallback(()=>{o(v=>!v)},[]),d=ae.useCallback(({header:v,message:C,severity:A,clear:R})=>{var x,k;R&&((x=i.current)==null||x.clear()),(k=i.current)==null||k.show({summary:v,detail:C,severity:A})},[]),p=ae.useCallback(({header:v="Alerta",message:C})=>{s({header:v,message:C,visible:!0})},[]),m=ae.useCallback(({header:v="Por favor, confirme",message:C,onAccept:A})=>{ER({header:v,message:C,accept:A,acceptLabel:v,rejectLabel:"Cerrar"})},[]),y=()=>{s(v=>({...v,visible:!1}))},b=ae.useMemo(()=>({acceptParticipationDialogVisible:n,toggleAcceptParticipationDialog:c,configDialogVisible:t,toggleConfigDialog:l,notify:d,alert:p,confirm:m}),[n,c,t,l,d,p,m]);return se.jsxs(H9.Provider,{value:b,children:[e,se.jsx(U0,{header:a.header,visible:a.visible,onHide:y,footer:se.jsx(Pi,{label:"Aceptar",onClick:y}),children:a.message}),_p.createPortal(se.jsx(x9,{ref:i}),document.body)]})},U9=ae.forwardRef(({children:e},t)=>{const[r]=ae.useState(()=>Cc.createClient()),{credentials:n}=Of(),{notify:o}=bs(),[i,a]=ae.useState(!1),s=ae.useCallback(async()=>{var v;(v=r.getSessionInfo())!=null&&v.isInMeeting||await r.init("en-US","Global",{webEndpoint:(window==null?void 0:window.webEndpoint)??"zoom.us",stayAwake:!0,patchJsMedia:!0,leaveOnPageUnload:!0,enforceMultipleVideos:!0,enforceVirtualBackground:!0});const{sessionName:p,signature:m,userName:y,sessionPasscode:b}=n;await r.join(p,m,y,b),a(!0)},[n,r]),l=ae.useCallback(async({finishForAll:p})=>{await r.leave(p),a(!1)},[r]),c=ae.useCallback(async()=>{const p=r.getMediaStream(),m=r.getSessionInfo(),y=r.getCurrentUserInfo();m!=null&&m.isInMeeting&&((y==null?void 0:y.audio)!==""&&(p==null||p.stopAudio()),y!=null&&y.bVideoOn&&(p==null||p.stopVideo()),p==null||p.stopShareScreen()),await Cc.destroyClient().catch(console.error),console.log("SessionProvider cleanup completed")},[r]);ae.useEffect(()=>()=>{c()},[c]),ae.useImperativeHandle(t,()=>({isReady:()=>!0,cleanup:()=>c(),getSessionStarted:()=>{var p;return((p=r.getSessionInfo())==null?void 0:p.isInMeeting)??!1},joinSession:()=>s(),leaveSession:p=>l(p)}),[c,r,s,l]),ae.useEffect(()=>{const p=m=>{if(m.state==="Closed"){a(!1);const y={"ended by host":"The session has been ended by the host.","kicked by host":"You have been kicked out of the session by the host.","expeled by host":"You have been expelled from the session by the host."},b=m.reason?y[m.reason]:void 0;b&&o({header:"Session Ended",message:b,severity:"info"})}else console.log("connection-change: ",m)};return r.on("connection-change",p),()=>{r.off("connection-change",p)}},[r,o]);const d=ae.useMemo(()=>({zmClient:r,signature:n.signature,sessionStarted:i,isSessionStarted:()=>{var p;return!!((p=r.getSessionInfo())!=null&&p.isInMeeting)},joinSession:s,leaveSession:l}),[r,n.signature,i,s,l]);return se.jsx(b9.Provider,{value:d,children:e})});U9.displayName="SessionProvider";var wq=function(){},$9=typeof window<"u",Iq=$9?ae.useLayoutEffect:ae.useEffect,CR=function(e){ae.useEffect(e,[])},W9=function(e){CR(function(){e()})},Aq=function(e){var t=ae.useRef(e);t.current=e,CR(function(){return function(){return t.current()}})},z9={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};function Rq(){var e=ae.useState(null),t=e[0],r=e[1],n=ae.useState(z9),o=n[0],i=n[1],a=ae.useMemo(function(){return new window.ResizeObserver(function(s){if(s[0]){var l=s[0].contentRect,c=l.x,d=l.y,p=l.width,m=l.height,y=l.top,b=l.left,v=l.bottom,C=l.right;i({x:c,y:d,width:p,height:m,top:y,left:b,bottom:v,right:C})}})},[]);return Iq(function(){if(t)return a.observe(t),function(){a.disconnect()}},[t]),[r,o]}const Tq=$9&&typeof window.ResizeObserver<"u"?Rq:(function(){return[wq,z9]});function K9(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=K9(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Oq(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=K9(e))&&(n&&(n+=" "),n+=t);return n}const _q=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},Pq=(e,t)=>({classGroupId:e,validator:t}),G9=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),u0="-",hN=[],xq="arbitrary..",Dq=e=>{const t=Mq(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return Nq(a);const s=a.split(u0),l=s[0]===""&&s.length>1?1:0;return q9(s,l,t)},getConflictingClassGroupIds:(a,s)=>{if(s){const l=n[a],c=r[a];return l?c?_q(c,l):l:c||hN}return r[a]||hN}}},q9=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],i=r.nextPart.get(o);if(i){const c=q9(e,t+1,i);if(c)return c}const a=r.validators;if(a===null)return;const s=t===0?e.join(u0):e.slice(t).join(u0),l=a.length;for(let c=0;c<l;c++){const d=a[c];if(d.validator(s))return d.classGroupId}},Nq=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?xq+n:void 0})(),Mq=e=>{const{theme:t,classGroups:r}=e;return kq(r,t)},kq=(e,t)=>{const r=G9();for(const n in e){const o=e[n];wR(o,r,n,t)}return r},wR=(e,t,r,n)=>{const o=e.length;for(let i=0;i<o;i++){const a=e[i];Lq(a,t,r,n)}},Lq=(e,t,r,n)=>{if(typeof e=="string"){Fq(e,t,r);return}if(typeof e=="function"){jq(e,t,r,n);return}Vq(e,t,r,n)},Fq=(e,t,r)=>{const n=e===""?t:J9(t,e);n.classGroupId=r},jq=(e,t,r,n)=>{if(Bq(e)){wR(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(Pq(r,e))},Vq=(e,t,r,n)=>{const o=Object.entries(e),i=o.length;for(let a=0;a<i;a++){const[s,l]=o[a];wR(l,J9(t,s),r,n)}},J9=(e,t)=>{let r=e;const n=t.split(u0),o=n.length;for(let i=0;i<o;i++){const a=n[i];let s=r.nextPart.get(a);s||(s=G9(),r.nextPart.set(a,s)),r=s}return r},Bq=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Hq=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const o=(i,a)=>{r[i]=a,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(i){let a=r[i];if(a!==void 0)return a;if((a=n[i])!==void 0)return o(i,a),a},set(i,a){i in r?r[i]=a:o(i,a)}}},Qw="!",mN=":",Uq=[],gN=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),$q=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=o=>{const i=[];let a=0,s=0,l=0,c;const d=o.length;for(let v=0;v<d;v++){const C=o[v];if(a===0&&s===0){if(C===mN){i.push(o.slice(l,v)),l=v+1;continue}if(C==="/"){c=v;continue}}C==="["?a++:C==="]"?a--:C==="("?s++:C===")"&&s--}const p=i.length===0?o:o.slice(l);let m=p,y=!1;p.endsWith(Qw)?(m=p.slice(0,-1),y=!0):p.startsWith(Qw)&&(m=p.slice(1),y=!0);const b=c&&c>l?c-l:void 0;return gN(i,y,m,b)};if(t){const o=t+mN,i=n;n=a=>a.startsWith(o)?i(a.slice(o.length)):gN(Uq,!1,a,void 0,!0)}if(r){const o=n;n=i=>r({className:i,parseClassName:o})}return n},Wq=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let o=[];for(let i=0;i<r.length;i++){const a=r[i],s=a[0]==="[",l=t.has(a);s||l?(o.length>0&&(o.sort(),n.push(...o),o=[]),n.push(a)):o.push(a)}return o.length>0&&(o.sort(),n.push(...o)),n}},zq=e=>({cache:Hq(e.cacheSize),parseClassName:$q(e),sortModifiers:Wq(e),...Dq(e)}),Kq=/\s+/,Gq=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:i}=t,a=[],s=e.trim().split(Kq);let l="";for(let c=s.length-1;c>=0;c-=1){const d=s[c],{isExternal:p,modifiers:m,hasImportantModifier:y,baseClassName:b,maybePostfixModifierPosition:v}=r(d);if(p){l=d+(l.length>0?" "+l:l);continue}let C=!!v,A=n(C?b.substring(0,v):b);if(!A){if(!C){l=d+(l.length>0?" "+l:l);continue}if(A=n(b),!A){l=d+(l.length>0?" "+l:l);continue}C=!1}const R=m.length===0?"":m.length===1?m[0]:i(m).join(":"),x=y?R+Qw:R,k=x+A;if(a.indexOf(k)>-1)continue;a.push(k);const D=o(A,C);for(let F=0;F<D.length;++F){const $=D[F];a.push(x+$)}l=d+(l.length>0?" "+l:l)}return l},qq=(...e)=>{let t=0,r,n,o="";for(;t<e.length;)(r=e[t++])&&(n=Y9(r))&&(o&&(o+=" "),o+=n);return o},Y9=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Y9(e[n]))&&(r&&(r+=" "),r+=t);return r},Jq=(e,...t)=>{let r,n,o,i;const a=l=>{const c=t.reduce((d,p)=>p(d),e());return r=zq(c),n=r.cache.get,o=r.cache.set,i=s,s(l)},s=l=>{const c=n(l);if(c)return c;const d=Gq(l,r);return o(l,d),d};return i=a,(...l)=>i(qq(...l))},Yq=[],Ai=e=>{const t=r=>r[e]||Yq;return t.isThemeGetter=!0,t},Q9=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,X9=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Qq=/^\d+\/\d+$/,Xq=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Zq=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,eJ=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,tJ=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,rJ=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,yp=e=>Qq.test(e),mn=e=>!!e&&!Number.isNaN(Number(e)),ju=e=>!!e&&Number.isInteger(Number(e)),Z1=e=>e.endsWith("%")&&mn(e.slice(0,-1)),Gl=e=>Xq.test(e),nJ=()=>!0,oJ=e=>Zq.test(e)&&!eJ.test(e),Z9=()=>!1,iJ=e=>tJ.test(e),aJ=e=>rJ.test(e),sJ=e=>!Tr(e)&&!Or(e),lJ=e=>Nf(e,rL,Z9),Tr=e=>Q9.test(e),Wc=e=>Nf(e,nL,oJ),eE=e=>Nf(e,fJ,mn),vN=e=>Nf(e,eL,Z9),uJ=e=>Nf(e,tL,aJ),wv=e=>Nf(e,oL,iJ),Or=e=>X9.test(e),dh=e=>Mf(e,nL),cJ=e=>Mf(e,hJ),yN=e=>Mf(e,eL),dJ=e=>Mf(e,rL),pJ=e=>Mf(e,tL),Iv=e=>Mf(e,oL,!0),Nf=(e,t,r)=>{const n=Q9.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},Mf=(e,t,r=!1)=>{const n=X9.exec(e);return n?n[1]?t(n[1]):r:!1},eL=e=>e==="position"||e==="percentage",tL=e=>e==="image"||e==="url",rL=e=>e==="length"||e==="size"||e==="bg-size",nL=e=>e==="length",fJ=e=>e==="number",hJ=e=>e==="family-name",oL=e=>e==="shadow",mJ=()=>{const e=Ai("color"),t=Ai("font"),r=Ai("text"),n=Ai("font-weight"),o=Ai("tracking"),i=Ai("leading"),a=Ai("breakpoint"),s=Ai("container"),l=Ai("spacing"),c=Ai("radius"),d=Ai("shadow"),p=Ai("inset-shadow"),m=Ai("text-shadow"),y=Ai("drop-shadow"),b=Ai("blur"),v=Ai("perspective"),C=Ai("aspect"),A=Ai("ease"),R=Ai("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],D=()=>[...k(),Or,Tr],F=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto","contain","none"],U=()=>[Or,Tr,l],G=()=>[yp,"full","auto",...U()],Y=()=>[ju,"none","subgrid",Or,Tr],Q=()=>["auto",{span:["full",ju,Or,Tr]},ju,Or,Tr],me=()=>[ju,"auto",Or,Tr],ne=()=>["auto","min","max","fr",Or,Tr],Ee=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ce=()=>["start","end","center","stretch","center-safe","end-safe"],_e=()=>["auto",...U()],Ne=()=>[yp,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...U()],oe=()=>[e,Or,Tr],Se=()=>[...k(),yN,vN,{position:[Or,Tr]}],re=()=>["no-repeat",{repeat:["","x","y","space","round"]}],we=()=>["auto","cover","contain",dJ,lJ,{size:[Or,Tr]}],Ae=()=>[Z1,dh,Wc],Pe=()=>["","none","full",c,Or,Tr],Oe=()=>["",mn,dh,Wc],Ke=()=>["solid","dashed","dotted","double"],St=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],st=()=>[mn,Z1,yN,vN],yt=()=>["","none",b,Or,Tr],$e=()=>["none",mn,Or,Tr],ot=()=>["none",mn,Or,Tr],it=()=>[mn,Or,Tr],Ie=()=>[yp,"full",...U()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Gl],breakpoint:[Gl],color:[nJ],container:[Gl],"drop-shadow":[Gl],ease:["in","out","in-out"],font:[sJ],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Gl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Gl],shadow:[Gl],spacing:["px",mn],text:[Gl],"text-shadow":[Gl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",yp,Tr,Or,C]}],container:["container"],columns:[{columns:[mn,Tr,Or,s]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:D()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:G()}],"inset-x":[{"inset-x":G()}],"inset-y":[{"inset-y":G()}],start:[{start:G()}],end:[{end:G()}],top:[{top:G()}],right:[{right:G()}],bottom:[{bottom:G()}],left:[{left:G()}],visibility:["visible","invisible","collapse"],z:[{z:[ju,"auto",Or,Tr]}],basis:[{basis:[yp,"full","auto",s,...U()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[mn,yp,"auto","initial","none",Tr]}],grow:[{grow:["",mn,Or,Tr]}],shrink:[{shrink:["",mn,Or,Tr]}],order:[{order:[ju,"first","last","none",Or,Tr]}],"grid-cols":[{"grid-cols":Y()}],"col-start-end":[{col:Q()}],"col-start":[{"col-start":me()}],"col-end":[{"col-end":me()}],"grid-rows":[{"grid-rows":Y()}],"row-start-end":[{row:Q()}],"row-start":[{"row-start":me()}],"row-end":[{"row-end":me()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ne()}],"auto-rows":[{"auto-rows":ne()}],gap:[{gap:U()}],"gap-x":[{"gap-x":U()}],"gap-y":[{"gap-y":U()}],"justify-content":[{justify:[...Ee(),"normal"]}],"justify-items":[{"justify-items":[...ce(),"normal"]}],"justify-self":[{"justify-self":["auto",...ce()]}],"align-content":[{content:["normal",...Ee()]}],"align-items":[{items:[...ce(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ce(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ee()}],"place-items":[{"place-items":[...ce(),"baseline"]}],"place-self":[{"place-self":["auto",...ce()]}],p:[{p:U()}],px:[{px:U()}],py:[{py:U()}],ps:[{ps:U()}],pe:[{pe:U()}],pt:[{pt:U()}],pr:[{pr:U()}],pb:[{pb:U()}],pl:[{pl:U()}],m:[{m:_e()}],mx:[{mx:_e()}],my:[{my:_e()}],ms:[{ms:_e()}],me:[{me:_e()}],mt:[{mt:_e()}],mr:[{mr:_e()}],mb:[{mb:_e()}],ml:[{ml:_e()}],"space-x":[{"space-x":U()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":U()}],"space-y-reverse":["space-y-reverse"],size:[{size:Ne()}],w:[{w:[s,"screen",...Ne()]}],"min-w":[{"min-w":[s,"screen","none",...Ne()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...Ne()]}],h:[{h:["screen","lh",...Ne()]}],"min-h":[{"min-h":["screen","lh","none",...Ne()]}],"max-h":[{"max-h":["screen","lh",...Ne()]}],"font-size":[{text:["base",r,dh,Wc]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,Or,eE]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Z1,Tr]}],"font-family":[{font:[cJ,Tr,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,Or,Tr]}],"line-clamp":[{"line-clamp":[mn,"none",Or,eE]}],leading:[{leading:[i,...U()]}],"list-image":[{"list-image":["none",Or,Tr]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Or,Tr]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:oe()}],"text-color":[{text:oe()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ke(),"wavy"]}],"text-decoration-thickness":[{decoration:[mn,"from-font","auto",Or,Wc]}],"text-decoration-color":[{decoration:oe()}],"underline-offset":[{"underline-offset":[mn,"auto",Or,Tr]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:U()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Or,Tr]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Or,Tr]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Se()}],"bg-repeat":[{bg:re()}],"bg-size":[{bg:we()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ju,Or,Tr],radial:["",Or,Tr],conic:[ju,Or,Tr]},pJ,uJ]}],"bg-color":[{bg:oe()}],"gradient-from-pos":[{from:Ae()}],"gradient-via-pos":[{via:Ae()}],"gradient-to-pos":[{to:Ae()}],"gradient-from":[{from:oe()}],"gradient-via":[{via:oe()}],"gradient-to":[{to:oe()}],rounded:[{rounded:Pe()}],"rounded-s":[{"rounded-s":Pe()}],"rounded-e":[{"rounded-e":Pe()}],"rounded-t":[{"rounded-t":Pe()}],"rounded-r":[{"rounded-r":Pe()}],"rounded-b":[{"rounded-b":Pe()}],"rounded-l":[{"rounded-l":Pe()}],"rounded-ss":[{"rounded-ss":Pe()}],"rounded-se":[{"rounded-se":Pe()}],"rounded-ee":[{"rounded-ee":Pe()}],"rounded-es":[{"rounded-es":Pe()}],"rounded-tl":[{"rounded-tl":Pe()}],"rounded-tr":[{"rounded-tr":Pe()}],"rounded-br":[{"rounded-br":Pe()}],"rounded-bl":[{"rounded-bl":Pe()}],"border-w":[{border:Oe()}],"border-w-x":[{"border-x":Oe()}],"border-w-y":[{"border-y":Oe()}],"border-w-s":[{"border-s":Oe()}],"border-w-e":[{"border-e":Oe()}],"border-w-t":[{"border-t":Oe()}],"border-w-r":[{"border-r":Oe()}],"border-w-b":[{"border-b":Oe()}],"border-w-l":[{"border-l":Oe()}],"divide-x":[{"divide-x":Oe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Oe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Ke(),"hidden","none"]}],"divide-style":[{divide:[...Ke(),"hidden","none"]}],"border-color":[{border:oe()}],"border-color-x":[{"border-x":oe()}],"border-color-y":[{"border-y":oe()}],"border-color-s":[{"border-s":oe()}],"border-color-e":[{"border-e":oe()}],"border-color-t":[{"border-t":oe()}],"border-color-r":[{"border-r":oe()}],"border-color-b":[{"border-b":oe()}],"border-color-l":[{"border-l":oe()}],"divide-color":[{divide:oe()}],"outline-style":[{outline:[...Ke(),"none","hidden"]}],"outline-offset":[{"outline-offset":[mn,Or,Tr]}],"outline-w":[{outline:["",mn,dh,Wc]}],"outline-color":[{outline:oe()}],shadow:[{shadow:["","none",d,Iv,wv]}],"shadow-color":[{shadow:oe()}],"inset-shadow":[{"inset-shadow":["none",p,Iv,wv]}],"inset-shadow-color":[{"inset-shadow":oe()}],"ring-w":[{ring:Oe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:oe()}],"ring-offset-w":[{"ring-offset":[mn,Wc]}],"ring-offset-color":[{"ring-offset":oe()}],"inset-ring-w":[{"inset-ring":Oe()}],"inset-ring-color":[{"inset-ring":oe()}],"text-shadow":[{"text-shadow":["none",m,Iv,wv]}],"text-shadow-color":[{"text-shadow":oe()}],opacity:[{opacity:[mn,Or,Tr]}],"mix-blend":[{"mix-blend":[...St(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":St()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[mn]}],"mask-image-linear-from-pos":[{"mask-linear-from":st()}],"mask-image-linear-to-pos":[{"mask-linear-to":st()}],"mask-image-linear-from-color":[{"mask-linear-from":oe()}],"mask-image-linear-to-color":[{"mask-linear-to":oe()}],"mask-image-t-from-pos":[{"mask-t-from":st()}],"mask-image-t-to-pos":[{"mask-t-to":st()}],"mask-image-t-from-color":[{"mask-t-from":oe()}],"mask-image-t-to-color":[{"mask-t-to":oe()}],"mask-image-r-from-pos":[{"mask-r-from":st()}],"mask-image-r-to-pos":[{"mask-r-to":st()}],"mask-image-r-from-color":[{"mask-r-from":oe()}],"mask-image-r-to-color":[{"mask-r-to":oe()}],"mask-image-b-from-pos":[{"mask-b-from":st()}],"mask-image-b-to-pos":[{"mask-b-to":st()}],"mask-image-b-from-color":[{"mask-b-from":oe()}],"mask-image-b-to-color":[{"mask-b-to":oe()}],"mask-image-l-from-pos":[{"mask-l-from":st()}],"mask-image-l-to-pos":[{"mask-l-to":st()}],"mask-image-l-from-color":[{"mask-l-from":oe()}],"mask-image-l-to-color":[{"mask-l-to":oe()}],"mask-image-x-from-pos":[{"mask-x-from":st()}],"mask-image-x-to-pos":[{"mask-x-to":st()}],"mask-image-x-from-color":[{"mask-x-from":oe()}],"mask-image-x-to-color":[{"mask-x-to":oe()}],"mask-image-y-from-pos":[{"mask-y-from":st()}],"mask-image-y-to-pos":[{"mask-y-to":st()}],"mask-image-y-from-color":[{"mask-y-from":oe()}],"mask-image-y-to-color":[{"mask-y-to":oe()}],"mask-image-radial":[{"mask-radial":[Or,Tr]}],"mask-image-radial-from-pos":[{"mask-radial-from":st()}],"mask-image-radial-to-pos":[{"mask-radial-to":st()}],"mask-image-radial-from-color":[{"mask-radial-from":oe()}],"mask-image-radial-to-color":[{"mask-radial-to":oe()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":k()}],"mask-image-conic-pos":[{"mask-conic":[mn]}],"mask-image-conic-from-pos":[{"mask-conic-from":st()}],"mask-image-conic-to-pos":[{"mask-conic-to":st()}],"mask-image-conic-from-color":[{"mask-conic-from":oe()}],"mask-image-conic-to-color":[{"mask-conic-to":oe()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Se()}],"mask-repeat":[{mask:re()}],"mask-size":[{mask:we()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Or,Tr]}],filter:[{filter:["","none",Or,Tr]}],blur:[{blur:yt()}],brightness:[{brightness:[mn,Or,Tr]}],contrast:[{contrast:[mn,Or,Tr]}],"drop-shadow":[{"drop-shadow":["","none",y,Iv,wv]}],"drop-shadow-color":[{"drop-shadow":oe()}],grayscale:[{grayscale:["",mn,Or,Tr]}],"hue-rotate":[{"hue-rotate":[mn,Or,Tr]}],invert:[{invert:["",mn,Or,Tr]}],saturate:[{saturate:[mn,Or,Tr]}],sepia:[{sepia:["",mn,Or,Tr]}],"backdrop-filter":[{"backdrop-filter":["","none",Or,Tr]}],"backdrop-blur":[{"backdrop-blur":yt()}],"backdrop-brightness":[{"backdrop-brightness":[mn,Or,Tr]}],"backdrop-contrast":[{"backdrop-contrast":[mn,Or,Tr]}],"backdrop-grayscale":[{"backdrop-grayscale":["",mn,Or,Tr]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[mn,Or,Tr]}],"backdrop-invert":[{"backdrop-invert":["",mn,Or,Tr]}],"backdrop-opacity":[{"backdrop-opacity":[mn,Or,Tr]}],"backdrop-saturate":[{"backdrop-saturate":[mn,Or,Tr]}],"backdrop-sepia":[{"backdrop-sepia":["",mn,Or,Tr]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":U()}],"border-spacing-x":[{"border-spacing-x":U()}],"border-spacing-y":[{"border-spacing-y":U()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Or,Tr]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[mn,"initial",Or,Tr]}],ease:[{ease:["linear","initial",A,Or,Tr]}],delay:[{delay:[mn,Or,Tr]}],animate:[{animate:["none",R,Or,Tr]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,Or,Tr]}],"perspective-origin":[{"perspective-origin":D()}],rotate:[{rotate:$e()}],"rotate-x":[{"rotate-x":$e()}],"rotate-y":[{"rotate-y":$e()}],"rotate-z":[{"rotate-z":$e()}],scale:[{scale:ot()}],"scale-x":[{"scale-x":ot()}],"scale-y":[{"scale-y":ot()}],"scale-z":[{"scale-z":ot()}],"scale-3d":["scale-3d"],skew:[{skew:it()}],"skew-x":[{"skew-x":it()}],"skew-y":[{"skew-y":it()}],transform:[{transform:[Or,Tr,"","none","gpu","cpu"]}],"transform-origin":[{origin:D()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ie()}],"translate-x":[{"translate-x":Ie()}],"translate-y":[{"translate-y":Ie()}],"translate-z":[{"translate-z":Ie()}],"translate-none":["translate-none"],accent:[{accent:oe()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:oe()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Or,Tr]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Or,Tr]}],fill:[{fill:["none",...oe()]}],"stroke-w":[{stroke:[mn,dh,Wc,eE]}],stroke:[{stroke:["none",...oe()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},gJ=Jq(mJ);var lr={},bN;function vJ(){if(bN)return lr;bN=1;var e={};e.userAgent=!1;var t={},r="11.1.0",n="jsrsasign(all) 11.1.0 (2024-02-01) (c) 2010-2023 Kenji Urushima | kjur.github.io/jsrsasign/license";/*! CryptoJS v3.1.2 core-fix.js
|
|
921
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pN(e,t){return hq(e)||mq(e,t)||gq(e,t)||vq()}function xm(e){"@babel/helpers - typeof";return xm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xm(e)}function yq(e,t){if(xm(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(xm(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bq(e){var t=yq(e,"string");return xm(t)=="symbol"?t:t+""}function Sq(e,t,r){return(t=bq(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Eq={root:"p-confirm-dialog",message:"p-confirm-dialog-message",icon:"p-confirm-dialog-icon",acceptButton:"p-confirm-dialog-accept",rejectButton:function(t){var r=t.getPropValue;return dt("p-confirm-dialog-reject",{"p-button-text":!r("rejectClassName")})}},Cv=Ar.extend({defaultProps:{__TYPE:"ConfirmDialog",accept:null,acceptClassName:null,acceptIcon:null,acceptLabel:null,appendTo:null,breakpoints:null,children:void 0,className:null,content:null,defaultFocus:"accept",footer:null,icon:null,message:null,onHide:null,reject:null,rejectClassName:null,rejectIcon:null,rejectLabel:null,tagKey:void 0,visible:void 0},css:{classes:Eq}});function fN(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Op(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?fN(Object(r),!0).forEach(function(n){Sq(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fN(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var ER=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t=Op(Op({},t),{visible:t.visible===void 0?!0:t.visible}),t.visible&&Ps.emit("confirm-dialog",t);var r=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ps.emit("confirm-dialog",Op(Op(Op({},t),i),{visible:!0}))},n=function(){Ps.emit("confirm-dialog",{visible:!1})};return{show:r,hide:n}},j9=S.memo(S.forwardRef(function(e,t){var r=Vr(),n=S.useContext(qr),o=Cv.getProps(e,n),i=S.useState(o.visible),a=pN(i,2),s=a[0],l=a[1],c=S.useState(!1),d=pN(c,2),p=d[0],m=d[1],y=S.useRef(null),b=S.useRef(!1),v=S.useRef(null),C=function(){var Se=o.group;return y.current&&(Se=y.current.group),Object.assign({},o,y.current,{group:Se})},A=function(Se){return C()[Se]},R=function(Se){for(var re=arguments.length,we=new Array(re>1?re-1:0),Ae=1;Ae<re;Ae++)we[Ae-1]=arguments[Ae];return pe.getPropValue(A(Se),we)},x=A("acceptLabel")||va("accept"),k=A("rejectLabel")||va("reject"),D={props:o,state:{visible:s}},F=Cv.setMetaData(D),$=F.ptm,U=F.cx,G=F.isUnstyled;vo(Cv.css.styles,G,{name:"confirmdialog"});var Y=function(){b.current||(b.current=!0,R("accept"),ne("accept"))},Q=function(){b.current||(b.current=!0,R("reject"),ne("reject"))},me=function(){var Se=C();Se.group===o.group&&(l(!0),b.current=!1,v.current=document.activeElement)},ne=function(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"cancel";s&&(typeof Se!="string"&&(Se="cancel"),l(!1),R("onHide",Se),le.focus(v.current),v.current=null)},Ee=function(Se){if(Se.tagKey===o.tagKey){var re=s!==Se.visible,we=A("target")!==Se.target;we&&!o.target?(ne(),y.current=Se,m(!0)):re&&(y.current=Se,Se.visible?me():ne())}};S.useEffect(function(){o.visible?me():ne()},[o.visible]),S.useEffect(function(){return!o.target&&!o.message&&Ps.on("confirm-dialog",Ee),function(){Ps.off("confirm-dialog",Ee)}},[o.target]),hn(function(){p&&me()},[p]),Ci(function(){Ps.off("confirm-dialog",Ee)}),S.useImperativeHandle(t,function(){return{props:o,confirm:Ee}});var ce=function(){var Se=A("defaultFocus"),re=dt("p-confirm-dialog-accept",A("acceptClassName")),we=dt("p-confirm-dialog-reject",{"p-button-text":!A("rejectClassName")},A("rejectClassName")),Ae=r({label:k,autoFocus:Se==="reject",icon:A("rejectIcon"),className:dt(A("rejectClassName"),U("rejectButton",{getPropValue:A})),onClick:Q,pt:$("rejectButton"),unstyled:o.unstyled,__parentMetadata:{parent:D}},$("rejectButton")),Pe=r({label:x,autoFocus:Se===void 0||Se==="accept",icon:A("acceptIcon"),className:dt(A("acceptClassName"),U("acceptButton")),onClick:Y,pt:$("acceptButton"),unstyled:o.unstyled,__parentMetadata:{parent:D}},$("acceptButton")),Oe=S.createElement(S.Fragment,null,S.createElement(Pi,Ae),S.createElement(Pi,Pe));if(A("footer")){var Ke={accept:Y,reject:Q,acceptClassName:re,rejectClassName:we,acceptLabel:x,rejectLabel:k,element:Oe,props:C()};return pe.getJSXElement(A("footer"),Ke)}return Oe},_e=function(){var Se=C(),re=pe.getJSXElement(A("message"),Se),we=r({className:U("icon")},$("icon")),Ae=nn.getJSXIcon(A("icon"),Op({},we),{props:Se}),Pe=ce(),Oe=r({className:U("message")},$("message")),Ke=r({visible:s,className:dt(A("className"),U("root")),footer:Pe,onHide:ne,breakpoints:A("breakpoints"),pt:Se.pt,unstyled:o.unstyled,appendTo:A("appendTo"),__parentMetadata:{parent:D}},Cv.getOtherProps(Se));return S.createElement(U0,Yw({},Ke,{content:e==null?void 0:e.content}),Ae,S.createElement("span",Oe,re))},Ne=_e();return S.createElement(vu,{element:Ne,appendTo:A("appendTo")})}));j9.displayName="ConfirmDialog";var Qa=(e=>(e.Audio="Audio",e.Video="Video",e.Background="Background",e))(Qa||{});const V9=ae.createContext({selectedSettingsTab:"Audio",setSelectedSettingsTab:()=>{}}),B9=()=>ae.useContext(V9),H9=ae.createContext({configDialogVisible:{visible:!1,tab:Qa.Audio},toggleConfigDialog:()=>{},acceptParticipationDialogVisible:!1,toggleAcceptParticipationDialog:()=>{},notify:()=>{},alert:()=>{},confirm:()=>{}}),bs=()=>{const e=ae.useContext(H9);if(!e)throw new Error("useDialogContext must be used within DialogsContext");return e},Cq=({children:e})=>{const[t,r]=ae.useState({visible:!1,tab:Qa.Audio}),[n,o]=ae.useState(!1),i=ae.useRef(null),[a,s]=ae.useState({header:"",message:"",visible:!1}),l=ae.useCallback(({tab:v})=>{const C=v??Qa.Audio;r(A=>({visible:!A.visible,tab:C}))},[]),c=ae.useCallback(()=>{o(v=>!v)},[]),d=ae.useCallback(({header:v,message:C,severity:A,clear:R})=>{var x,k;R&&((x=i.current)==null||x.clear()),(k=i.current)==null||k.show({summary:v,detail:C,severity:A})},[]),p=ae.useCallback(({header:v="Alerta",message:C})=>{s({header:v,message:C,visible:!0})},[]),m=ae.useCallback(({header:v="Por favor, confirme",message:C,onAccept:A})=>{ER({header:v,message:C,accept:A,acceptLabel:v,rejectLabel:"Cerrar"})},[]),y=()=>{s(v=>({...v,visible:!1}))},b=ae.useMemo(()=>({acceptParticipationDialogVisible:n,toggleAcceptParticipationDialog:c,configDialogVisible:t,toggleConfigDialog:l,notify:d,alert:p,confirm:m}),[n,c,t,l,d,p,m]);return se.jsxs(H9.Provider,{value:b,children:[e,se.jsx(U0,{header:a.header,visible:a.visible,onHide:y,footer:se.jsx(Pi,{label:"Aceptar",onClick:y}),children:a.message}),_p.createPortal(se.jsx(x9,{ref:i}),document.body)]})},U9=ae.forwardRef(({children:e},t)=>{const[r]=ae.useState(()=>Cc.createClient()),{credentials:n}=Of(),{notify:o}=bs(),[i,a]=ae.useState(!1),s=ae.useCallback(async()=>{var v;(v=r.getSessionInfo())!=null&&v.isInMeeting||await r.init("en-US","Global",{webEndpoint:(window==null?void 0:window.webEndpoint)??"zoom.us",stayAwake:!0,patchJsMedia:!0,leaveOnPageUnload:!0,enforceMultipleVideos:!0,enforceVirtualBackground:!0});const{sessionName:p,signature:m,userName:y,sessionPasscode:b}=n;await r.join(p,m,y,b),a(!0)},[n,r]),l=ae.useCallback(async({finishForAll:p})=>{await r.leave(p),a(!1)},[r]),c=ae.useCallback(async()=>{const p=r.getMediaStream(),m=r.getSessionInfo(),y=r.getCurrentUserInfo();m!=null&&m.isInMeeting&&((y==null?void 0:y.audio)!==""&&(p==null||p.stopAudio()),y!=null&&y.bVideoOn&&(p==null||p.stopVideo()),p==null||p.stopShareScreen()),await Cc.destroyClient().catch(console.error),console.log("SessionProvider cleanup completed")},[r]);ae.useImperativeHandle(t,()=>({isReady:()=>!0,cleanup:()=>c(),getSessionStarted:()=>{var p;return((p=r.getSessionInfo())==null?void 0:p.isInMeeting)??!1},joinSession:()=>s(),leaveSession:p=>l(p)}),[c,r,s,l]),ae.useEffect(()=>{const p=m=>{if(m.state==="Closed"){a(!1);const y={"ended by host":"The session has been ended by the host.","kicked by host":"You have been kicked out of the session by the host.","expeled by host":"You have been expelled from the session by the host."},b=m.reason?y[m.reason]:void 0;b&&o({header:"Session Ended",message:b,severity:"info"})}else console.log("connection-change: ",m)};return r.on("connection-change",p),()=>{r.off("connection-change",p)}},[r,o]);const d=ae.useMemo(()=>({zmClient:r,signature:n.signature,sessionStarted:i,isSessionStarted:()=>{var p;return!!((p=r.getSessionInfo())!=null&&p.isInMeeting)},joinSession:s,leaveSession:l}),[r,n.signature,i,s,l]);return se.jsx(b9.Provider,{value:d,children:e})});U9.displayName="SessionProvider";var wq=function(){},$9=typeof window<"u",Iq=$9?ae.useLayoutEffect:ae.useEffect,CR=function(e){ae.useEffect(e,[])},W9=function(e){CR(function(){e()})},Aq=function(e){var t=ae.useRef(e);t.current=e,CR(function(){return function(){return t.current()}})},z9={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};function Rq(){var e=ae.useState(null),t=e[0],r=e[1],n=ae.useState(z9),o=n[0],i=n[1],a=ae.useMemo(function(){return new window.ResizeObserver(function(s){if(s[0]){var l=s[0].contentRect,c=l.x,d=l.y,p=l.width,m=l.height,y=l.top,b=l.left,v=l.bottom,C=l.right;i({x:c,y:d,width:p,height:m,top:y,left:b,bottom:v,right:C})}})},[]);return Iq(function(){if(t)return a.observe(t),function(){a.disconnect()}},[t]),[r,o]}const Tq=$9&&typeof window.ResizeObserver<"u"?Rq:(function(){return[wq,z9]});function K9(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=K9(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Oq(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=K9(e))&&(n&&(n+=" "),n+=t);return n}const _q=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},Pq=(e,t)=>({classGroupId:e,validator:t}),G9=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),u0="-",hN=[],xq="arbitrary..",Dq=e=>{const t=Mq(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return Nq(a);const s=a.split(u0),l=s[0]===""&&s.length>1?1:0;return q9(s,l,t)},getConflictingClassGroupIds:(a,s)=>{if(s){const l=n[a],c=r[a];return l?c?_q(c,l):l:c||hN}return r[a]||hN}}},q9=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],i=r.nextPart.get(o);if(i){const c=q9(e,t+1,i);if(c)return c}const a=r.validators;if(a===null)return;const s=t===0?e.join(u0):e.slice(t).join(u0),l=a.length;for(let c=0;c<l;c++){const d=a[c];if(d.validator(s))return d.classGroupId}},Nq=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?xq+n:void 0})(),Mq=e=>{const{theme:t,classGroups:r}=e;return kq(r,t)},kq=(e,t)=>{const r=G9();for(const n in e){const o=e[n];wR(o,r,n,t)}return r},wR=(e,t,r,n)=>{const o=e.length;for(let i=0;i<o;i++){const a=e[i];Lq(a,t,r,n)}},Lq=(e,t,r,n)=>{if(typeof e=="string"){Fq(e,t,r);return}if(typeof e=="function"){jq(e,t,r,n);return}Vq(e,t,r,n)},Fq=(e,t,r)=>{const n=e===""?t:J9(t,e);n.classGroupId=r},jq=(e,t,r,n)=>{if(Bq(e)){wR(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(Pq(r,e))},Vq=(e,t,r,n)=>{const o=Object.entries(e),i=o.length;for(let a=0;a<i;a++){const[s,l]=o[a];wR(l,J9(t,s),r,n)}},J9=(e,t)=>{let r=e;const n=t.split(u0),o=n.length;for(let i=0;i<o;i++){const a=n[i];let s=r.nextPart.get(a);s||(s=G9(),r.nextPart.set(a,s)),r=s}return r},Bq=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Hq=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const o=(i,a)=>{r[i]=a,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(i){let a=r[i];if(a!==void 0)return a;if((a=n[i])!==void 0)return o(i,a),a},set(i,a){i in r?r[i]=a:o(i,a)}}},Qw="!",mN=":",Uq=[],gN=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),$q=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=o=>{const i=[];let a=0,s=0,l=0,c;const d=o.length;for(let v=0;v<d;v++){const C=o[v];if(a===0&&s===0){if(C===mN){i.push(o.slice(l,v)),l=v+1;continue}if(C==="/"){c=v;continue}}C==="["?a++:C==="]"?a--:C==="("?s++:C===")"&&s--}const p=i.length===0?o:o.slice(l);let m=p,y=!1;p.endsWith(Qw)?(m=p.slice(0,-1),y=!0):p.startsWith(Qw)&&(m=p.slice(1),y=!0);const b=c&&c>l?c-l:void 0;return gN(i,y,m,b)};if(t){const o=t+mN,i=n;n=a=>a.startsWith(o)?i(a.slice(o.length)):gN(Uq,!1,a,void 0,!0)}if(r){const o=n;n=i=>r({className:i,parseClassName:o})}return n},Wq=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let o=[];for(let i=0;i<r.length;i++){const a=r[i],s=a[0]==="[",l=t.has(a);s||l?(o.length>0&&(o.sort(),n.push(...o),o=[]),n.push(a)):o.push(a)}return o.length>0&&(o.sort(),n.push(...o)),n}},zq=e=>({cache:Hq(e.cacheSize),parseClassName:$q(e),sortModifiers:Wq(e),...Dq(e)}),Kq=/\s+/,Gq=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:i}=t,a=[],s=e.trim().split(Kq);let l="";for(let c=s.length-1;c>=0;c-=1){const d=s[c],{isExternal:p,modifiers:m,hasImportantModifier:y,baseClassName:b,maybePostfixModifierPosition:v}=r(d);if(p){l=d+(l.length>0?" "+l:l);continue}let C=!!v,A=n(C?b.substring(0,v):b);if(!A){if(!C){l=d+(l.length>0?" "+l:l);continue}if(A=n(b),!A){l=d+(l.length>0?" "+l:l);continue}C=!1}const R=m.length===0?"":m.length===1?m[0]:i(m).join(":"),x=y?R+Qw:R,k=x+A;if(a.indexOf(k)>-1)continue;a.push(k);const D=o(A,C);for(let F=0;F<D.length;++F){const $=D[F];a.push(x+$)}l=d+(l.length>0?" "+l:l)}return l},qq=(...e)=>{let t=0,r,n,o="";for(;t<e.length;)(r=e[t++])&&(n=Y9(r))&&(o&&(o+=" "),o+=n);return o},Y9=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Y9(e[n]))&&(r&&(r+=" "),r+=t);return r},Jq=(e,...t)=>{let r,n,o,i;const a=l=>{const c=t.reduce((d,p)=>p(d),e());return r=zq(c),n=r.cache.get,o=r.cache.set,i=s,s(l)},s=l=>{const c=n(l);if(c)return c;const d=Gq(l,r);return o(l,d),d};return i=a,(...l)=>i(qq(...l))},Yq=[],Ai=e=>{const t=r=>r[e]||Yq;return t.isThemeGetter=!0,t},Q9=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,X9=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Qq=/^\d+\/\d+$/,Xq=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Zq=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,eJ=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,tJ=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,rJ=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,yp=e=>Qq.test(e),mn=e=>!!e&&!Number.isNaN(Number(e)),ju=e=>!!e&&Number.isInteger(Number(e)),Z1=e=>e.endsWith("%")&&mn(e.slice(0,-1)),Gl=e=>Xq.test(e),nJ=()=>!0,oJ=e=>Zq.test(e)&&!eJ.test(e),Z9=()=>!1,iJ=e=>tJ.test(e),aJ=e=>rJ.test(e),sJ=e=>!Tr(e)&&!Or(e),lJ=e=>Nf(e,rL,Z9),Tr=e=>Q9.test(e),Wc=e=>Nf(e,nL,oJ),eE=e=>Nf(e,fJ,mn),vN=e=>Nf(e,eL,Z9),uJ=e=>Nf(e,tL,aJ),wv=e=>Nf(e,oL,iJ),Or=e=>X9.test(e),dh=e=>Mf(e,nL),cJ=e=>Mf(e,hJ),yN=e=>Mf(e,eL),dJ=e=>Mf(e,rL),pJ=e=>Mf(e,tL),Iv=e=>Mf(e,oL,!0),Nf=(e,t,r)=>{const n=Q9.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},Mf=(e,t,r=!1)=>{const n=X9.exec(e);return n?n[1]?t(n[1]):r:!1},eL=e=>e==="position"||e==="percentage",tL=e=>e==="image"||e==="url",rL=e=>e==="length"||e==="size"||e==="bg-size",nL=e=>e==="length",fJ=e=>e==="number",hJ=e=>e==="family-name",oL=e=>e==="shadow",mJ=()=>{const e=Ai("color"),t=Ai("font"),r=Ai("text"),n=Ai("font-weight"),o=Ai("tracking"),i=Ai("leading"),a=Ai("breakpoint"),s=Ai("container"),l=Ai("spacing"),c=Ai("radius"),d=Ai("shadow"),p=Ai("inset-shadow"),m=Ai("text-shadow"),y=Ai("drop-shadow"),b=Ai("blur"),v=Ai("perspective"),C=Ai("aspect"),A=Ai("ease"),R=Ai("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],D=()=>[...k(),Or,Tr],F=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto","contain","none"],U=()=>[Or,Tr,l],G=()=>[yp,"full","auto",...U()],Y=()=>[ju,"none","subgrid",Or,Tr],Q=()=>["auto",{span:["full",ju,Or,Tr]},ju,Or,Tr],me=()=>[ju,"auto",Or,Tr],ne=()=>["auto","min","max","fr",Or,Tr],Ee=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ce=()=>["start","end","center","stretch","center-safe","end-safe"],_e=()=>["auto",...U()],Ne=()=>[yp,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...U()],oe=()=>[e,Or,Tr],Se=()=>[...k(),yN,vN,{position:[Or,Tr]}],re=()=>["no-repeat",{repeat:["","x","y","space","round"]}],we=()=>["auto","cover","contain",dJ,lJ,{size:[Or,Tr]}],Ae=()=>[Z1,dh,Wc],Pe=()=>["","none","full",c,Or,Tr],Oe=()=>["",mn,dh,Wc],Ke=()=>["solid","dashed","dotted","double"],St=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],st=()=>[mn,Z1,yN,vN],yt=()=>["","none",b,Or,Tr],$e=()=>["none",mn,Or,Tr],ot=()=>["none",mn,Or,Tr],it=()=>[mn,Or,Tr],Ie=()=>[yp,"full",...U()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Gl],breakpoint:[Gl],color:[nJ],container:[Gl],"drop-shadow":[Gl],ease:["in","out","in-out"],font:[sJ],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Gl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Gl],shadow:[Gl],spacing:["px",mn],text:[Gl],"text-shadow":[Gl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",yp,Tr,Or,C]}],container:["container"],columns:[{columns:[mn,Tr,Or,s]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:D()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:G()}],"inset-x":[{"inset-x":G()}],"inset-y":[{"inset-y":G()}],start:[{start:G()}],end:[{end:G()}],top:[{top:G()}],right:[{right:G()}],bottom:[{bottom:G()}],left:[{left:G()}],visibility:["visible","invisible","collapse"],z:[{z:[ju,"auto",Or,Tr]}],basis:[{basis:[yp,"full","auto",s,...U()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[mn,yp,"auto","initial","none",Tr]}],grow:[{grow:["",mn,Or,Tr]}],shrink:[{shrink:["",mn,Or,Tr]}],order:[{order:[ju,"first","last","none",Or,Tr]}],"grid-cols":[{"grid-cols":Y()}],"col-start-end":[{col:Q()}],"col-start":[{"col-start":me()}],"col-end":[{"col-end":me()}],"grid-rows":[{"grid-rows":Y()}],"row-start-end":[{row:Q()}],"row-start":[{"row-start":me()}],"row-end":[{"row-end":me()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ne()}],"auto-rows":[{"auto-rows":ne()}],gap:[{gap:U()}],"gap-x":[{"gap-x":U()}],"gap-y":[{"gap-y":U()}],"justify-content":[{justify:[...Ee(),"normal"]}],"justify-items":[{"justify-items":[...ce(),"normal"]}],"justify-self":[{"justify-self":["auto",...ce()]}],"align-content":[{content:["normal",...Ee()]}],"align-items":[{items:[...ce(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ce(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ee()}],"place-items":[{"place-items":[...ce(),"baseline"]}],"place-self":[{"place-self":["auto",...ce()]}],p:[{p:U()}],px:[{px:U()}],py:[{py:U()}],ps:[{ps:U()}],pe:[{pe:U()}],pt:[{pt:U()}],pr:[{pr:U()}],pb:[{pb:U()}],pl:[{pl:U()}],m:[{m:_e()}],mx:[{mx:_e()}],my:[{my:_e()}],ms:[{ms:_e()}],me:[{me:_e()}],mt:[{mt:_e()}],mr:[{mr:_e()}],mb:[{mb:_e()}],ml:[{ml:_e()}],"space-x":[{"space-x":U()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":U()}],"space-y-reverse":["space-y-reverse"],size:[{size:Ne()}],w:[{w:[s,"screen",...Ne()]}],"min-w":[{"min-w":[s,"screen","none",...Ne()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...Ne()]}],h:[{h:["screen","lh",...Ne()]}],"min-h":[{"min-h":["screen","lh","none",...Ne()]}],"max-h":[{"max-h":["screen","lh",...Ne()]}],"font-size":[{text:["base",r,dh,Wc]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,Or,eE]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Z1,Tr]}],"font-family":[{font:[cJ,Tr,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,Or,Tr]}],"line-clamp":[{"line-clamp":[mn,"none",Or,eE]}],leading:[{leading:[i,...U()]}],"list-image":[{"list-image":["none",Or,Tr]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Or,Tr]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:oe()}],"text-color":[{text:oe()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ke(),"wavy"]}],"text-decoration-thickness":[{decoration:[mn,"from-font","auto",Or,Wc]}],"text-decoration-color":[{decoration:oe()}],"underline-offset":[{"underline-offset":[mn,"auto",Or,Tr]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:U()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Or,Tr]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Or,Tr]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Se()}],"bg-repeat":[{bg:re()}],"bg-size":[{bg:we()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ju,Or,Tr],radial:["",Or,Tr],conic:[ju,Or,Tr]},pJ,uJ]}],"bg-color":[{bg:oe()}],"gradient-from-pos":[{from:Ae()}],"gradient-via-pos":[{via:Ae()}],"gradient-to-pos":[{to:Ae()}],"gradient-from":[{from:oe()}],"gradient-via":[{via:oe()}],"gradient-to":[{to:oe()}],rounded:[{rounded:Pe()}],"rounded-s":[{"rounded-s":Pe()}],"rounded-e":[{"rounded-e":Pe()}],"rounded-t":[{"rounded-t":Pe()}],"rounded-r":[{"rounded-r":Pe()}],"rounded-b":[{"rounded-b":Pe()}],"rounded-l":[{"rounded-l":Pe()}],"rounded-ss":[{"rounded-ss":Pe()}],"rounded-se":[{"rounded-se":Pe()}],"rounded-ee":[{"rounded-ee":Pe()}],"rounded-es":[{"rounded-es":Pe()}],"rounded-tl":[{"rounded-tl":Pe()}],"rounded-tr":[{"rounded-tr":Pe()}],"rounded-br":[{"rounded-br":Pe()}],"rounded-bl":[{"rounded-bl":Pe()}],"border-w":[{border:Oe()}],"border-w-x":[{"border-x":Oe()}],"border-w-y":[{"border-y":Oe()}],"border-w-s":[{"border-s":Oe()}],"border-w-e":[{"border-e":Oe()}],"border-w-t":[{"border-t":Oe()}],"border-w-r":[{"border-r":Oe()}],"border-w-b":[{"border-b":Oe()}],"border-w-l":[{"border-l":Oe()}],"divide-x":[{"divide-x":Oe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Oe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Ke(),"hidden","none"]}],"divide-style":[{divide:[...Ke(),"hidden","none"]}],"border-color":[{border:oe()}],"border-color-x":[{"border-x":oe()}],"border-color-y":[{"border-y":oe()}],"border-color-s":[{"border-s":oe()}],"border-color-e":[{"border-e":oe()}],"border-color-t":[{"border-t":oe()}],"border-color-r":[{"border-r":oe()}],"border-color-b":[{"border-b":oe()}],"border-color-l":[{"border-l":oe()}],"divide-color":[{divide:oe()}],"outline-style":[{outline:[...Ke(),"none","hidden"]}],"outline-offset":[{"outline-offset":[mn,Or,Tr]}],"outline-w":[{outline:["",mn,dh,Wc]}],"outline-color":[{outline:oe()}],shadow:[{shadow:["","none",d,Iv,wv]}],"shadow-color":[{shadow:oe()}],"inset-shadow":[{"inset-shadow":["none",p,Iv,wv]}],"inset-shadow-color":[{"inset-shadow":oe()}],"ring-w":[{ring:Oe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:oe()}],"ring-offset-w":[{"ring-offset":[mn,Wc]}],"ring-offset-color":[{"ring-offset":oe()}],"inset-ring-w":[{"inset-ring":Oe()}],"inset-ring-color":[{"inset-ring":oe()}],"text-shadow":[{"text-shadow":["none",m,Iv,wv]}],"text-shadow-color":[{"text-shadow":oe()}],opacity:[{opacity:[mn,Or,Tr]}],"mix-blend":[{"mix-blend":[...St(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":St()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[mn]}],"mask-image-linear-from-pos":[{"mask-linear-from":st()}],"mask-image-linear-to-pos":[{"mask-linear-to":st()}],"mask-image-linear-from-color":[{"mask-linear-from":oe()}],"mask-image-linear-to-color":[{"mask-linear-to":oe()}],"mask-image-t-from-pos":[{"mask-t-from":st()}],"mask-image-t-to-pos":[{"mask-t-to":st()}],"mask-image-t-from-color":[{"mask-t-from":oe()}],"mask-image-t-to-color":[{"mask-t-to":oe()}],"mask-image-r-from-pos":[{"mask-r-from":st()}],"mask-image-r-to-pos":[{"mask-r-to":st()}],"mask-image-r-from-color":[{"mask-r-from":oe()}],"mask-image-r-to-color":[{"mask-r-to":oe()}],"mask-image-b-from-pos":[{"mask-b-from":st()}],"mask-image-b-to-pos":[{"mask-b-to":st()}],"mask-image-b-from-color":[{"mask-b-from":oe()}],"mask-image-b-to-color":[{"mask-b-to":oe()}],"mask-image-l-from-pos":[{"mask-l-from":st()}],"mask-image-l-to-pos":[{"mask-l-to":st()}],"mask-image-l-from-color":[{"mask-l-from":oe()}],"mask-image-l-to-color":[{"mask-l-to":oe()}],"mask-image-x-from-pos":[{"mask-x-from":st()}],"mask-image-x-to-pos":[{"mask-x-to":st()}],"mask-image-x-from-color":[{"mask-x-from":oe()}],"mask-image-x-to-color":[{"mask-x-to":oe()}],"mask-image-y-from-pos":[{"mask-y-from":st()}],"mask-image-y-to-pos":[{"mask-y-to":st()}],"mask-image-y-from-color":[{"mask-y-from":oe()}],"mask-image-y-to-color":[{"mask-y-to":oe()}],"mask-image-radial":[{"mask-radial":[Or,Tr]}],"mask-image-radial-from-pos":[{"mask-radial-from":st()}],"mask-image-radial-to-pos":[{"mask-radial-to":st()}],"mask-image-radial-from-color":[{"mask-radial-from":oe()}],"mask-image-radial-to-color":[{"mask-radial-to":oe()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":k()}],"mask-image-conic-pos":[{"mask-conic":[mn]}],"mask-image-conic-from-pos":[{"mask-conic-from":st()}],"mask-image-conic-to-pos":[{"mask-conic-to":st()}],"mask-image-conic-from-color":[{"mask-conic-from":oe()}],"mask-image-conic-to-color":[{"mask-conic-to":oe()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Se()}],"mask-repeat":[{mask:re()}],"mask-size":[{mask:we()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Or,Tr]}],filter:[{filter:["","none",Or,Tr]}],blur:[{blur:yt()}],brightness:[{brightness:[mn,Or,Tr]}],contrast:[{contrast:[mn,Or,Tr]}],"drop-shadow":[{"drop-shadow":["","none",y,Iv,wv]}],"drop-shadow-color":[{"drop-shadow":oe()}],grayscale:[{grayscale:["",mn,Or,Tr]}],"hue-rotate":[{"hue-rotate":[mn,Or,Tr]}],invert:[{invert:["",mn,Or,Tr]}],saturate:[{saturate:[mn,Or,Tr]}],sepia:[{sepia:["",mn,Or,Tr]}],"backdrop-filter":[{"backdrop-filter":["","none",Or,Tr]}],"backdrop-blur":[{"backdrop-blur":yt()}],"backdrop-brightness":[{"backdrop-brightness":[mn,Or,Tr]}],"backdrop-contrast":[{"backdrop-contrast":[mn,Or,Tr]}],"backdrop-grayscale":[{"backdrop-grayscale":["",mn,Or,Tr]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[mn,Or,Tr]}],"backdrop-invert":[{"backdrop-invert":["",mn,Or,Tr]}],"backdrop-opacity":[{"backdrop-opacity":[mn,Or,Tr]}],"backdrop-saturate":[{"backdrop-saturate":[mn,Or,Tr]}],"backdrop-sepia":[{"backdrop-sepia":["",mn,Or,Tr]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":U()}],"border-spacing-x":[{"border-spacing-x":U()}],"border-spacing-y":[{"border-spacing-y":U()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Or,Tr]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[mn,"initial",Or,Tr]}],ease:[{ease:["linear","initial",A,Or,Tr]}],delay:[{delay:[mn,Or,Tr]}],animate:[{animate:["none",R,Or,Tr]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,Or,Tr]}],"perspective-origin":[{"perspective-origin":D()}],rotate:[{rotate:$e()}],"rotate-x":[{"rotate-x":$e()}],"rotate-y":[{"rotate-y":$e()}],"rotate-z":[{"rotate-z":$e()}],scale:[{scale:ot()}],"scale-x":[{"scale-x":ot()}],"scale-y":[{"scale-y":ot()}],"scale-z":[{"scale-z":ot()}],"scale-3d":["scale-3d"],skew:[{skew:it()}],"skew-x":[{"skew-x":it()}],"skew-y":[{"skew-y":it()}],transform:[{transform:[Or,Tr,"","none","gpu","cpu"]}],"transform-origin":[{origin:D()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ie()}],"translate-x":[{"translate-x":Ie()}],"translate-y":[{"translate-y":Ie()}],"translate-z":[{"translate-z":Ie()}],"translate-none":["translate-none"],accent:[{accent:oe()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:oe()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Or,Tr]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Or,Tr]}],fill:[{fill:["none",...oe()]}],"stroke-w":[{stroke:[mn,dh,Wc,eE]}],stroke:[{stroke:["none",...oe()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},gJ=Jq(mJ);var lr={},bN;function vJ(){if(bN)return lr;bN=1;var e={};e.userAgent=!1;var t={},r="11.1.0",n="jsrsasign(all) 11.1.0 (2024-02-01) (c) 2010-2023 Kenji Urushima | kjur.github.io/jsrsasign/license";/*! CryptoJS v3.1.2 core-fix.js
|
|
922
922
|
* code.google.com/p/crypto-js
|
|
923
923
|
* (c) 2009-2013 by Jeff Mott. All rights reserved.
|
|
924
924
|
* code.google.com/p/crypto-js/wiki/License
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as S from "react";
|
|
2
|
-
import on, { useState as Pr, createContext as Vl, useContext as os, isValidElement as iy, cloneElement as kh, Children as Q3, useEffect as
|
|
2
|
+
import on, { useState as Pr, createContext as Vl, useContext as os, isValidElement as iy, cloneElement as kh, Children as Q3, useEffect as po, useRef as Gn, useCallback as Cr, useMemo as Bn, forwardRef as I0, useImperativeHandle as YI, useLayoutEffect as X3, createRef as XF, useReducer as ZF, Fragment as ej } from "react";
|
|
3
3
|
import Eh, { createPortal as tj } from "react-dom";
|
|
4
4
|
function rj(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -4772,7 +4772,7 @@ function Fl(e, t, r) {
|
|
|
4772
4772
|
} : void 0;
|
|
4773
4773
|
}));
|
|
4774
4774
|
}
|
|
4775
|
-
function
|
|
4775
|
+
function co(e, t, r) {
|
|
4776
4776
|
e === void 0 && (e = 0), r === void 0 && (r = tV);
|
|
4777
4777
|
var n = -1;
|
|
4778
4778
|
return t != null && (m4(t) ? r = t : n = t), new xo((function(o) {
|
|
@@ -4785,7 +4785,7 @@ function po(e, t, r) {
|
|
|
4785
4785
|
}));
|
|
4786
4786
|
}
|
|
4787
4787
|
function um(e, t) {
|
|
4788
|
-
return e === void 0 && (e = 0), t === void 0 && (t = fa), e < 0 && (e = 0),
|
|
4788
|
+
return e === void 0 && (e = 0), t === void 0 && (t = fa), e < 0 && (e = 0), co(e, e, t);
|
|
4789
4789
|
}
|
|
4790
4790
|
function qo() {
|
|
4791
4791
|
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
|
|
@@ -4865,7 +4865,7 @@ function x4(e, t) {
|
|
|
4865
4865
|
}
|
|
4866
4866
|
function ub(e, t) {
|
|
4867
4867
|
t === void 0 && (t = fa);
|
|
4868
|
-
var r =
|
|
4868
|
+
var r = co(e, t);
|
|
4869
4869
|
return x4((function() {
|
|
4870
4870
|
return r;
|
|
4871
4871
|
}));
|
|
@@ -5152,7 +5152,7 @@ const Ku = (e) => new Promise(((t, r) => {
|
|
|
5152
5152
|
} else mc(e.success).pipe(jr(1)).subscribe(((o) => t(o)));
|
|
5153
5153
|
})), br = (e, t, r = 1e4) => new Promise(((n, o) => {
|
|
5154
5154
|
let i = Gt;
|
|
5155
|
-
typeof e == "string" ? i = mc(e).pipe(jr(1)) : (i = mc(e.event), e.operations && (i = e.operations.reduce(((a, s) => a.pipe(s)), i))), ea(i,
|
|
5155
|
+
typeof e == "string" ? i = mc(e).pipe(jr(1)) : (i = mc(e.event), e.operations && (i = e.operations.reduce(((a, s) => a.pipe(s)), i))), ea(i, co(r).pipe(Le((() => Rc("timeout"))))).subscribe({ next(a) {
|
|
5156
5156
|
if (t) {
|
|
5157
5157
|
const s = t(a);
|
|
5158
5158
|
typeof s == "boolean" ? s ? n("") : o({ type: Wo, errorCode: Z.INTERNAL_ERROR }) : s.ret === 0 ? n(s.body) : o({ type: Wo, errorCode: Z.INTERNAL_ERROR, reason: s.body });
|
|
@@ -6954,7 +6954,7 @@ const RO = $n("TRIGGER_IDLE_CHECK"), y5 = $n("END_OF_ZE_WORLD"), b5 = $n("SET_IS
|
|
|
6954
6954
|
class SC {
|
|
6955
6955
|
static destroyClient() {
|
|
6956
6956
|
if (this.meetingClient) {
|
|
6957
|
-
const t = this.meetingClient[Kn], r = this.meetingClient.leave().then((() => Hn(
|
|
6957
|
+
const t = this.meetingClient[Kn], r = this.meetingClient.leave().then((() => Hn(co(500)).then((() => {
|
|
6958
6958
|
t == null || t(y5()), wA();
|
|
6959
6959
|
}))));
|
|
6960
6960
|
return this.meetingClient = null, r;
|
|
@@ -9632,7 +9632,7 @@ function c2() {
|
|
|
9632
9632
|
return ea(pn(Vp.JoinComputerAudio.success, 1), qo(...Vp.JoinComputerAudio.fail.map(((e) => pn(e, 1).pipe(Le(((t) => {
|
|
9633
9633
|
const { errorCode: r, ...n } = t ?? {}, o = { ...n };
|
|
9634
9634
|
return r !== void 0 && Object.assign(o, { subCode: r }), Rc({ type: oi, reason: e, errorCode: Z.AUDIO_CAPTURE_FAILED, ...o });
|
|
9635
|
-
})))))),
|
|
9635
|
+
})))))), co(45e3).pipe(Le((() => Rc({ type: O0, errorCode: Z.OPERATION_TIMEOUT })))));
|
|
9636
9636
|
}
|
|
9637
9637
|
const Gs = sn.createAgent(), _i = M0(na(cr.getInstance())), d2 = (e) => !e.muted, U8 = $n("SCREENSHOT_SHARING_NOTIFICATION"), { setSharePrivilege: XA, setShareActiveNode: sf, setIsReceiveSharing: Sd, setIsScreenShareForbidden: p2, setShareDimension: ZA, setShareStatus: Ra, setShareSsrc: $8, setShareQuality: eR, setReceivedShareDimension: Xb, setIsGrabRemoteControl: ky, setIsSdkGrabControl: XC, setIsReceiveSharingFromMainSession: W8, setIsSharingToBreakoutRoom: Em, setIsSharingWithSecondCamera: z8, setShringSecondCameraId: K8, setIsRequireReadReceipt: G8, setIsOptimizedForSharedVideo: U0, setShareDataEncoding: ZC, setShareDataDecoding: Cm, addShareCapturedEnsuredCanvas: q8, addShareRenderedEnsuredCanvas: J8, setRemoteControlCurrentSsrc: jee, setRemoteControllingSsrc: Gh, setApprovedRemoteControlSsrc: lf, setRemoteControlAppDownloadUrl: Y8, setRemoteControlAppInstallStatus: cd, remoteControlAppStatusFallbackCheck: f2, remoteControlAppLaunchedCheck: i1, setIsEnableAutoDeleteRcApp: Vee, setRemoteControlAppLaunchSheme: _l, addRemoteControlledUser: Q8, removeRemoteControlledUser: ew, setRemoteControlSetting: tR, setRemoteControlViewportDomSelector: rR, setAnnotationCapability: X8, setIsAnnotationInitialized: lU, setIsAnnotationStarted: uU, setAnnotationUser: ul, setAnnotationToolColor: Z8, setAnnotationSpotlightColor: ek, setAnnotationToolWidth: tk, setAnnotationToolType: uf, setIsSimultaneousShareView: nR, setIsCameraFeedSharing: wm, addShareViewAttachment: Zb, removeShareViewAttachment: qh, setAnnotationVanishingToolTimer: rk, resetShare: nk } = Fo("SET_SHARE_PRIVILEGE", "SET_SHARE_ACTIVE_NODE", "SET_IS_RECEIVE_SHARING", "SET_IS_SCREEN_SHARE_FORBIDDEN", "SET_SHARE_DIMENSION", "SET_SHARE_STATUS", "SET_SHARE_SSRC", "SET_SHARE_QUALITY", "SET_RECEIVED_SHARE_DIMENSION", "SET_IS_GRAB_REMOTE_CONTROL", "SET_IS_SDK_GRAB_CONTROL", "SET_IS_RECEIVE_SHARING_FROM_MAIN_SESSION", "SET_IS_SHARING_TO_BREAKOUT_ROOM", "SET_IS_SHARING_WITH_SECOND_CAMERA", "SET_SHRING_SECOND_CAMERA_ID", "SET_IS_REQUIRE_READ_RECEIPT", "SET_IS_OPTIMIZED_FOR_SHARED_VIDEO", "SET_SHARE_DATA_ENCODING", "SET_SHARE_DATA_DECODING", "ADD_SHARE_CAPTURED_ENSURED_CANVAS", "ADD_SHARE_RENDERED_ENSURED_CANVAS", "SET_REMOTE_CONTROL_CURRENT_SSRC", "SET_REMOTE_CONTROLLING_SSRC", "SET_APPROVED_REMOTE_CONTROL_SSRC", "SET_REMOTE_CONTROL_APP_DOWNLOAD_URL", "SET_REMOTE_CONTROL_APP_INSTALL_STATUS", "REMOTE_CONTROL_APP_STATUS_FALLBACK_CHECK", "REMOTE_CONTROL_APP_LAUNCHED_CHECK", "SET_IS_ENABLE_AUTO_DELETE_RC_APP", "SET_REMOTE_CONTROL_APP_LAUNCH_SHEME", "ADD_REMOTE_CONTROLLED_USER", "REMOVE_REMOTE_CONTROLLED_USER", "SET_REMOTE_CONTROL_SETTING", "SET_REMOTE_CONTROL_VIEWPORT_DOM_SELECTOR", "SET_ANNOTATION_CAPABILITY", "SET_IS_ANNOTATION_INITIALIZED", "SET_IS_ANNOTATION_STARTED", "SET_ANNOTATION_USER", "SET_ANNOTATION_TOOL_COLOR", "SET_ANNOTATION_SPOTLIGHT_COLOR", "SET_ANNOTATION_TOOL_WIDTH", "SET_ANNOTATION_TOOL_TYPE", "SET_IS_SIMULTANEOUS_SHARE_VIEW", "SET_IS_CAMERA_FEED_SHARING", "ADD_SHARE_VIEW_ATTACHMENT", "REMOVE_SHARE_VIEW_ATTACHMENT", "SET_ANNOTATION_VANISHING_TOOL_TIMER", "RESET_SHARE"), fp = sn.createAgent(), Hc = M0(na(cr.getInstance())), a1 = sn.createAgent(), hp = M0(na(cr.getInstance())), h2 = [Fa.Canceled, Fa.CancelFailed], rv = { asnIds: { asn1: { userId: 0, displayName: null }, asn2: { userId: 0, displayName: null }, asn3: { userId: 0, displayName: null } }, microphoneDevicesList: [], speakerDevicesList: [], activeMicrophone: "default", activeSpeaker: "default", isMicrophoneForbidden: !1, audioSsrc: 0, bCanUnmute: !1, bMutedUponEntry: !1, isAllowToTalk: void 0, dialout: [], crcDevice: [], canPlayAudio: !1, mutedSource: void 0, unmutedSource: void 0, isUserGrantCaptureAudio: !1, webrtcRestartCount: 0, isComputerAudioLoading: !1, isUsingMediaPlayback: !1, customizeAudioOption: {}, localShareAudioUserMutedList: [], locallyMutedAudioList: [], localUserAudioVolumeList: [], isStopAllImcomingAudio: !1, isWebRtcAudioCapable: !1, webRtcAudioMode: 0, statistic: { encode: { sample_rate: 0, rtt: 0, jitter: 0, avg_loss: 0, max_loss: 0, bandwidth: 0, bitrate: 0 }, decode: { sample_rate: 0, rtt: 0, jitter: 0, avg_loss: 0, max_loss: 0, bandwidth: 0, bitrate: 0 } } }, cU = Vi({ [`${E8}`]: ie(((e, { payload: t }) => {
|
|
9638
9638
|
e.asnIds = { ...t };
|
|
@@ -9827,7 +9827,7 @@ const Gs = sn.createAgent(), _i = M0(na(cr.getInstance())), d2 = (e) => !e.muted
|
|
|
9827
9827
|
const o = or(n), { media: { audioEncodeStatus: i } } = n, { promoterID: a, bAllowTalk: s } = r.payload.body;
|
|
9828
9828
|
if ((o == null ? void 0 : o.userId) === a) {
|
|
9829
9829
|
if (ee(hM, s), s) return i !== "success" && _i.enableAudioEncode(), pi("audio", i, "success").pipe(Le(((l) => (l && ee(gy, RS.AllowToTalk), Gt))), $s(UC(!0)));
|
|
9830
|
-
if (Gs.mute(a, !0), (o == null ? void 0 : o.audio) === ln.Computer) return _i.leaveComputerAudio(),
|
|
9830
|
+
if (Gs.mute(a, !0), (o == null ? void 0 : o.audio) === ln.Computer) return _i.leaveComputerAudio(), co(300).pipe(Ot((async () => {
|
|
9831
9831
|
(Sm() ? Hn(ea(Go(document, "click").pipe(jr(1)), Go(document, "touchend").pipe(jr(1)))) : Promise.resolve(!0)).then((() => {
|
|
9832
9832
|
af(_i, n, !1);
|
|
9833
9833
|
}));
|
|
@@ -10806,7 +10806,7 @@ const z2 = sn.createAgent(), ia = na(cr.getInstance()), av = sn.createAgent(), q
|
|
|
10806
10806
|
return a && o.push(Lb(a.userId)), pt(o);
|
|
10807
10807
|
}))), cameraPtzEpics3: (e, t) => e.pipe(Nt(`${dC}`), qr(((r) => {
|
|
10808
10808
|
const { payload: { cmd: n, type: o } } = r;
|
|
10809
|
-
return n === "start" ?
|
|
10809
|
+
return n === "start" ? co(0, 200).pipe(md((() => !!t.value.video.currentCameraControlStatus.isCameraMoving)), Le((() => {
|
|
10810
10810
|
const { video: { ptz: i, activeCamera: a } } = t.value, s = i[a], l = aR(s) || {}, { key: c, range: d } = Ok(o, 2);
|
|
10811
10811
|
return s[c] ? (Object.assign(l, { [c]: Tk(s[c].capability, s[c].value, d) }), K2.movePTZCamera(l).then((() => OA({ deviceId: a, constraints: l })))) : Promise.resolve(void 0);
|
|
10812
10812
|
})), Le(((i) => typeof i == "object" && i.type !== void 0 ? Ln(i) : Gt))) : Gt;
|
|
@@ -10896,7 +10896,7 @@ const z2 = sn.createAgent(), ia = na(cr.getInstance()), av = sn.createAgent(), q
|
|
|
10896
10896
|
return t == null || (r = t.payload) === null || r === void 0 ? void 0 : r.data;
|
|
10897
10897
|
})), Ct((({ payload: { data: { size: t } } }) => G6(t)))), videoRenderEpics2: (e) => Et(e, 16135).pipe(Le(((t) => {
|
|
10898
10898
|
const { payload: { body: { bLeadershipOn: r, id: n } } } = t, o = [], i = [], a = r ? U2(n) : 0;
|
|
10899
|
-
return r && i.push(a), o.push(lC(i), f5(a)), ea(pn(Zp, 1),
|
|
10899
|
+
return r && i.push(a), o.push(lC(i), f5(a)), ea(pn(Zp, 1), co(2e3).pipe(Ct((() => ({ leadershipEventOnly: !0 }))))).pipe(Le(((s) => {
|
|
10900
10900
|
const { spotlightList: l, leadershipEventOnly: c } = s || {};
|
|
10901
10901
|
return r ? !l || l.length === 1 && i[0] === l[0] || ee(bb, { spotlightList: l }) : (c || (l == null ? void 0 : l.length) === 0) && ee(bb, { spotlightList: [] }), Gt;
|
|
10902
10902
|
})), $s(...o));
|
|
@@ -11053,7 +11053,7 @@ const z2 = sn.createAgent(), ia = na(cr.getInstance()), av = sn.createAgent(), q
|
|
|
11053
11053
|
}), ((s) => {
|
|
11054
11054
|
const l = s.__observer;
|
|
11055
11055
|
l == null || l.disconnect();
|
|
11056
|
-
})).pipe(Ve((() => fT(n, a))), Jo(fl(
|
|
11056
|
+
})).pipe(Ve((() => fT(n, a))), Jo(fl(co(5e3))), Ct((() => ({ element: n, ret: !0 }))))).catch((() => ({ element: n, ret: !1 }))) : Promise.resolve({ element: n, ret: !1 });
|
|
11057
11057
|
})), Eo(js), Ot(((r) => {
|
|
11058
11058
|
const { element: n, ret: o } = r;
|
|
11059
11059
|
var i;
|
|
@@ -11201,7 +11201,7 @@ class xk {
|
|
|
11201
11201
|
this.checkerSubject = void 0, this.checkerSubscription = void 0;
|
|
11202
11202
|
}
|
|
11203
11203
|
startCheck(t) {
|
|
11204
|
-
return this.checkerSubject && this.stopCheck(), this.checkerSubject = new Fs(), this.checkerSubscription =
|
|
11204
|
+
return this.checkerSubject && this.stopCheck(), this.checkerSubject = new Fs(), this.checkerSubscription = co(t).subscribe(this.checkerSubject), this.checkerSubject;
|
|
11205
11205
|
}
|
|
11206
11206
|
stopCheck() {
|
|
11207
11207
|
var t;
|
|
@@ -11715,7 +11715,7 @@ const Js = sn.createAgent(), zi = na(cr.getInstance()), Kl = sn.createAgent(), y
|
|
|
11715
11715
|
ee(TM, p);
|
|
11716
11716
|
})), d.length > 0 && (d.filter(((p) => s.findIndex(((m) => m.userId === p.id)) > -1)).forEach(((p) => {
|
|
11717
11717
|
ee(bA, p);
|
|
11718
|
-
})), a && d.some(((p) => p.id === i))) ? ea(Et(e, xC).pipe(jr(1), un()),
|
|
11718
|
+
})), a && d.some(((p) => p.id === i))) ? ea(Et(e, xC).pipe(jr(1), un()), co(50).pipe(Ko(Rc("timeout")))).pipe(ua((() => {
|
|
11719
11719
|
const p = t.value, { share: { activeNodeId: m, isReceiveSharingFromMainSession: y }, meeting: { userId: b } } = p, v = s.filter(((A) => A.userId !== m && A.userId !== b));
|
|
11720
11720
|
if (v.length > 0) {
|
|
11721
11721
|
var C;
|
|
@@ -11923,11 +11923,11 @@ let P$ = (t_ = YS(lc.Other), r_ = YS(lc.Other), n_ = YS(lc.Other), Si = class ex
|
|
|
11923
11923
|
}
|
|
11924
11924
|
leave() {
|
|
11925
11925
|
const { [Tt]: e, [Kn]: t } = this, { socket: { zoomSocketStatus: r }, meeting: { meetingInfoTimestamp: n, zlkJwtToken: o } } = e();
|
|
11926
|
-
return r === An.Connected || r === An.Connecting ? t(zd()) : (n && t(zd()), o || t(YB())), Hn(
|
|
11926
|
+
return r === An.Connected || r === An.Connecting ? t(zd()) : (n && t(zd()), o || t(YB())), Hn(co(500).pipe(jd("")));
|
|
11927
11927
|
}
|
|
11928
11928
|
end() {
|
|
11929
11929
|
const { [Tt]: e, [Kn]: t } = this;
|
|
11930
|
-
return e().socket.zoomSocketStatus === "connected" ? (t(Cf()), Hn(
|
|
11930
|
+
return e().socket.zoomSocketStatus === "connected" ? (t(Cf()), Hn(co(500).pipe(Ot((() => {
|
|
11931
11931
|
wA();
|
|
11932
11932
|
})), jd("")))) : Promise.resolve("");
|
|
11933
11933
|
}
|
|
@@ -13390,7 +13390,7 @@ function E1(e, t) {
|
|
|
13390
13390
|
}
|
|
13391
13391
|
const C1 = (e) => (t) => t.pipe(Le(((r) => {
|
|
13392
13392
|
const { payload: { userId: n } } = r;
|
|
13393
|
-
return fn(e.value).some(((o) => o.userId === n)) ? pt([r]) : ea(pn(x0).pipe(Ve(((o) => o.some(((i) => i.userId === n)))), jr(1), Eo(fa), Ct((() => r))),
|
|
13393
|
+
return fn(e.value).some(((o) => o.userId === n)) ? pt([r]) : ea(pn(x0).pipe(Ve(((o) => o.some(((i) => i.userId === n)))), jr(1), Eo(fa), Ct((() => r))), co(3e3).pipe(un()));
|
|
13394
13394
|
}))), k_ = { connectionStatus: "initial", jids: {} }, _W = Vi({ [`${y7}`]: () => ({ ...k_ }), [`${m7}`]: ie(((e, { payload: t }) => {
|
|
13395
13395
|
const { data: r, attendees: n } = t;
|
|
13396
13396
|
r.forEach(((o) => {
|
|
@@ -13492,7 +13492,7 @@ const xW = { epics0: (e, t) => nf(e, 24577).pipe(Qt(t), Ct((([r]) => {
|
|
|
13492
13492
|
const { payload: { body: { add: n } } } = r, o = t.value, { meeting: { userId: i }, participants: { attendeesList: a } } = o, s = [];
|
|
13493
13493
|
if (n) {
|
|
13494
13494
|
for (const l of n) if (l.id !== i) {
|
|
13495
|
-
const c =
|
|
13495
|
+
const c = co(Math.floor(Math.random() * Math.min(200 + 10 * a.length, 2e3))).pipe(Le((() => {
|
|
13496
13496
|
if (fn(t.value).some(((d) => d.userId === l.id))) {
|
|
13497
13497
|
const d = `${hu.SpeakerOnly}1`;
|
|
13498
13498
|
return pt([Gy(d, l.id, (() => t.value)), S1(d, l.id, t.value)]).pipe(Le(((p) => pt(p))), ua((() => Gt)), un());
|
|
@@ -13561,7 +13561,7 @@ const xW = { epics0: (e, t) => nf(e, 24577).pipe(Qt(t), Ct((([r]) => {
|
|
|
13561
13561
|
return !1;
|
|
13562
13562
|
};
|
|
13563
13563
|
var H_, U_, $_, W_, z_, K_, G_, q_, J_, Y_, Q_, X_, Z_, eP, tP, rP, nP, oP, iP, aP, sP, lP, uP, cP, dP, pP, fP, hP, mP, gP, vP, yP, bP, SP, EP, CP, wP, IP, AP, RP, TP, OP, _P, PP, xP, DP, NP, MP, kP, LP, FP, jP, VP, BP, HP, UP, $P, WP, zP, KP, GP, qP, JP, YP, QP, XP, ZP, ex, tx, rx, nx, ox, ix, ax, sx, lx, ux, cx, dx, px, fx, hx, mx, gx, vx, yx, bx, Sx, Ex, Cx, wx, Ix, Ax, Rx, Tx, Ox, _x, Px, xx, Dx, Nx, Mx, kx, Lx, pe;
|
|
13564
|
-
const Ga = Ci("Audio"), yo = Ci("Video"),
|
|
13564
|
+
const Ga = Ci("Audio"), yo = Ci("Video"), uo = Ci("Sharing"), Fx = Ci("Processor"), gp = Ci("CameraControl"), Jl = Ci("Remote Control"), jx = j0(HTMLCanvasElement, 0), NW = j0([HTMLCanvasElement, HTMLVideoElement], 0), Vx = j0(HTMLCanvasElement, 0, ["id"]), Bx = j0([HTMLCanvasElement, HTMLVideoElement], 0, ["id"]), MW = y8("annotation"), kW = y8("remote control");
|
|
13565
13565
|
let LW = (H_ = Dt("audio"), U_ = Dt("audio"), $_ = Dt("audio"), W_ = Dt("audio"), z_ = Dt("audio"), K_ = Ci("Audio", [1, 2, 3]), G_ = Dt("audio"), q_ = Ci("Audio", [1, 2]), J_ = Dt("audio"), Y_ = Dt("audio"), Q_ = Dt("audio"), X_ = Dt("audio"), Z_ = Dt("share"), eP = Dt("audio"), tP = Dt("share"), rP = Dt("audio"), nP = Dt("audio"), oP = Dt("audio"), iP = Dt("audio"), aP = Dt("audio"), sP = Dt("audio"), lP = Ci("Audio", [1, 2]), uP = Dt("audio"), cP = Ci("Audio", [1, 2]), dP = Dt("audio"), pP = Dt("audio"), fP = Dt("audio"), hP = Dt("audio"), mP = Dt("video"), gP = Dt("video"), vP = Dt("video"), yP = Dt("processor"), bP = Dt("processor"), SP = Dt("processor"), EP = Dt("video"), CP = Dt("video"), wP = Dt("video"), IP = Dt("video"), AP = Dt("video"), RP = Dt("video"), TP = Dt("video"), OP = Dt("video"), _P = Dt("video"), PP = Dt("video"), xP = Ci("Video", [2]), DP = Dt("video"), NP = Ci("Video", [1]), MP = Dt("video"), kP = Dt("video"), LP = Dt("video"), FP = Dt("video"), jP = Dt("video"), VP = Dt("video"), BP = Dt("video"), HP = Dt("video"), UP = Dt("video"), $P = Dt("video"), WP = Dt("video"), zP = Dt("video"), KP = Dt("video"), GP = Dt("video"), qP = Dt("video"), JP = Dt("video"), YP = Dt("video"), QP = Dt("video"), XP = Dt("video"), ZP = Dt("video"), ex = Dt("share"), tx = Dt("share"), rx = Dt("share"), nx = Dt("share"), ox = Dt("share"), ix = Dt("share"), ax = Dt("share"), sx = Dt("share"), lx = Dt("share"), ux = jO("isShareOptionLocked"), cx = jO("isShareOptionLocked"), dx = Dt("share"), px = Dt("share"), fx = Dt("share"), hx = Dt("share"), mx = Dt("share"), gx = Dt("share"), vx = Dt("share"), yx = Dt("share"), bx = Dt("share"), Sx = Dt("share"), Ex = Dt("share"), Cx = Dt("share"), wx = Dt("share"), Ix = Dt("share"), Ax = Dt("share"), Rx = Dt("share"), Tx = Dt("share"), Ox = Dt("share"), _x = Dt("share"), Px = Dt("share"), xx = Dt("share"), Dx = Dt("share"), Nx = Dt("share"), Mx = Dt("share"), kx = Dt("share"), Lx = Dt("share"), pe = class extends Is {
|
|
13566
13566
|
constructor(e) {
|
|
13567
13567
|
super(e), this[Ke] = void 0, this[so].dispatch(IC()), this[Ke] = { store: e, mediaAgent: M0(na(cr.getInstance())), rwgAgent: sn.createAgent() };
|
|
@@ -14039,7 +14039,7 @@ let LW = (H_ = Dt("audio"), U_ = Dt("audio"), $_ = Dt("audio"), W_ = Dt("audio")
|
|
|
14039
14039
|
if (!(m in Gu) || !Gu[m].detectAction(p || "")) throw { type: Pe, reason: `Your browser does not support ${m} processor.`, errorCode: Gu[m].errorCode.unsupported };
|
|
14040
14040
|
if (d.some((({ name: C, type: A }) => C === y && A === m))) throw { type: hr, reason: "You have already created this Processor", errorCode: Gu[m].errorCode.duplicateCreate };
|
|
14041
14041
|
const b = { video: s, audio: l, share: c }[m], v = await Hn(pi(m, b, "success").pipe(qr((([C]) => {
|
|
14042
|
-
if (C) return ea(pt(i.addProcessor(r)).pipe(Ct(((R) => ({ result: R })))),
|
|
14042
|
+
if (C) return ea(pt(i.addProcessor(r)).pipe(Ct(((R) => ({ result: R })))), co(1e4).pipe(Ct((() => {
|
|
14043
14043
|
throw { type: O0, errorCode: Z.OPERATION_TIMEOUT };
|
|
14044
14044
|
}))));
|
|
14045
14045
|
throw { type: Wo, reason: `${A = m, UU(yk(A).toLowerCase())} encode status is failed`, errorCode: Z.INTERNAL_ERROR };
|
|
@@ -14094,7 +14094,7 @@ let LW = (H_ = Dt("audio"), U_ = Dt("audio"), $_ = Dt("audio"), W_ = Dt("audio")
|
|
|
14094
14094
|
be.includes(d.id) || (Ce = Rb(d), k(a5(d.id)));
|
|
14095
14095
|
const Ie = p === $, _e = A || Ju, Te = await (async function(ze, bt) {
|
|
14096
14096
|
const { video: { prefetchedVideo: at } } = bt;
|
|
14097
|
-
return (at == null ? void 0 : at.userId) !== ze || at.loaded ? "" : Hn(ea(pn(Q4, 1),
|
|
14097
|
+
return (at == null ? void 0 : at.userId) !== ze || at.loaded ? "" : Hn(ea(pn(Q4, 1), co(1e3).pipe(jd(""))));
|
|
14098
14098
|
})(p, x());
|
|
14099
14099
|
re.some(((ze) => ze.userId === p && ze.key === _e && ze.canvasId === Ce.id)) || D.renderVideo(Ce, p, _e, m, y, b, v, C, Ie, R || "", ue), p !== $ && D.subscribeVideo(p, C, !1), Q.includes(p) || k(wy(p)), Te && k(tf(void 0)), k(Pd({ userId: p, key: _e, canvasId: Ce.id, videoQuality: C, aspectRatio: y ? m / y : 0 }));
|
|
14100
14100
|
}
|
|
@@ -14273,9 +14273,9 @@ let LW = (H_ = Dt("audio"), U_ = Dt("audio"), $_ = Dt("audio"), W_ = Dt("audio")
|
|
|
14273
14273
|
if (m == null || !m.nFECC) return Promise.reject({ type: Pe, reason: "The far end camera does not support PTZ", errorCode: Z.FAR_END_CAMERA_CONTROL_DEVICE_UNSUPPORTED });
|
|
14274
14274
|
if (p && p > 0) {
|
|
14275
14275
|
const y = p / 100 * 1e4;
|
|
14276
|
-
return i.sendFarEndCameraControl(wa.StartControl, c, d), o(pC(!0)), um(200).pipe(Jo(
|
|
14276
|
+
return i.sendFarEndCameraControl(wa.StartControl, c, d), o(pC(!0)), um(200).pipe(Jo(co(y - 100).pipe(jr(1)))).subscribe((() => {
|
|
14277
14277
|
i.sendFarEndCameraControl(wa.ContinueControl, c, d);
|
|
14278
|
-
})), Hn(
|
|
14278
|
+
})), Hn(co(y).pipe(Ot((() => {
|
|
14279
14279
|
i.sendFarEndCameraControl(wa.StopControl, c, d), o(pC(!1));
|
|
14280
14280
|
})))).then((() => ""));
|
|
14281
14281
|
}
|
|
@@ -15193,7 +15193,7 @@ let LW = (H_ = Dt("audio"), U_ = Dt("audio"), $_ = Dt("audio"), W_ = Dt("audio")
|
|
|
15193
15193
|
return r !== kr.End ? t.getShareStreamInfo(!0) : null;
|
|
15194
15194
|
})(this[Ke]);
|
|
15195
15195
|
}
|
|
15196
|
-
}, Ge(pe.prototype, "startAudio", [Xe, H_, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "startAudio"), pe.prototype), Ge(pe.prototype, "stopAudio", [Xe, U_, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "stopAudio"), pe.prototype), Ge(pe.prototype, "muteAudio", [Xe, $_, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "muteAudio"), pe.prototype), Ge(pe.prototype, "unmuteAudio", [Xe, W_, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "unmuteAudio"), pe.prototype), Ge(pe.prototype, "dialOut", [Xe, z_, K_], Object.getOwnPropertyDescriptor(pe.prototype, "dialOut"), pe.prototype), Ge(pe.prototype, "cancelDialOut", [Xe, G_, q_], Object.getOwnPropertyDescriptor(pe.prototype, "cancelDialOut"), pe.prototype), Ge(pe.prototype, "hangup", [Xe, J_, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "hangup"), pe.prototype), Ge(pe.prototype, "switchMicrophone", [Xe, Y_, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "switchMicrophone"), pe.prototype), Ge(pe.prototype, "switchSpeaker", [Xe, Q_, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "switchSpeaker"), pe.prototype), Ge(pe.prototype, "muteShareAudio", [Xe, X_, Z_, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "muteShareAudio"), pe.prototype), Ge(pe.prototype, "unmuteShareAudio", [Xe, eP, tP, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "unmuteShareAudio"), pe.prototype), Ge(pe.prototype, "subscribeAudioStatisticData", [Xe, rP, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "subscribeAudioStatisticData"), pe.prototype), Ge(pe.prototype, "unsubscribeAudioStatisticData", [Xe, nP, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "unsubscribeAudioStatisticData"), pe.prototype), Ge(pe.prototype, "enableBackgroundNoiseSuppression", [Xe, oP, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "enableBackgroundNoiseSuppression"), pe.prototype), Ge(pe.prototype, "enableSyncButtonsOnHeadset", [Xe, iP, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "enableSyncButtonsOnHeadset"), pe.prototype), Ge(pe.prototype, "enableOriginalSound", [Xe, aP, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "enableOriginalSound"), pe.prototype), Ge(pe.prototype, "callCRCDevice", [Xe, sP, lP], Object.getOwnPropertyDescriptor(pe.prototype, "callCRCDevice"), pe.prototype), Ge(pe.prototype, "cancelCallCRCDevice", [Xe, uP, cP], Object.getOwnPropertyDescriptor(pe.prototype, "cancelCallCRCDevice"), pe.prototype), Ge(pe.prototype, "muteAllAudio", [bo, Xe, dP], Object.getOwnPropertyDescriptor(pe.prototype, "muteAllAudio"), pe.prototype), Ge(pe.prototype, "unmuteAllAudio", [bo, Xe, pP], Object.getOwnPropertyDescriptor(pe.prototype, "unmuteAllAudio"), pe.prototype), Ge(pe.prototype, "muteAudioUponEntry", [bo, Xe, fP], Object.getOwnPropertyDescriptor(pe.prototype, "muteAudioUponEntry"), pe.prototype), Ge(pe.prototype, "allowUnmuteAudioThemselves", [bo, Xe, hP], Object.getOwnPropertyDescriptor(pe.prototype, "allowUnmuteAudioThemselves"), pe.prototype), Ge(pe.prototype, "startVideo", [Xe, mP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "startVideo"), pe.prototype), Ge(pe.prototype, "stopVideo", [Xe, gP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "stopVideo"), pe.prototype), Ge(pe.prototype, "switchCamera", [Xe, vP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "switchCamera"), pe.prototype), Ge(pe.prototype, "createProcessor", [Xe, yP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "createProcessor"), pe.prototype), Ge(pe.prototype, "addProcessor", [Xe, bP, Fx], Object.getOwnPropertyDescriptor(pe.prototype, "addProcessor"), pe.prototype), Ge(pe.prototype, "removeProcessor", [Xe, SP, Fx], Object.getOwnPropertyDescriptor(pe.prototype, "removeProcessor"), pe.prototype), Ge(pe.prototype, "renderVideo", [NW, Xe, EP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "renderVideo"), pe.prototype), Ge(pe.prototype, "stopRenderVideo", [Bx, Xe, CP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "stopRenderVideo"), pe.prototype), Ge(pe.prototype, "updateVideoCanvasDimension", [Vx, Xe, wP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "updateVideoCanvasDimension"), pe.prototype), Ge(pe.prototype, "adjustRenderedVideoPosition", [Bx, Xe, IP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "adjustRenderedVideoPosition"), pe.prototype), Ge(pe.prototype, "clearVideoCanvas", [Vx, Xe, AP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "clearVideoCanvas"), pe.prototype), Ge(pe.prototype, "mirrorVideo", [Xe, RP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "mirrorVideo"), pe.prototype), Ge(pe.prototype, "enableHardwareAcceleration", [Xe, TP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "enableHardwareAcceleration"), pe.prototype), Ge(pe.prototype, "subscribeVideoStatisticData", [Xe, OP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "subscribeVideoStatisticData"), pe.prototype), Ge(pe.prototype, "unsubscribeVideoStatisticData", [Xe, _P, yo], Object.getOwnPropertyDescriptor(pe.prototype, "unsubscribeVideoStatisticData"), pe.prototype), Ge(pe.prototype, "previewVirtualBackground", [Xe, PP, xP], Object.getOwnPropertyDescriptor(pe.prototype, "previewVirtualBackground"), pe.prototype), Ge(pe.prototype, "updateVirtualBackgroundImage", [Xe, DP, NP], Object.getOwnPropertyDescriptor(pe.prototype, "updateVirtualBackgroundImage"), pe.prototype), Ge(pe.prototype, "stopPreviewVirtualBackground", [Xe, MP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "stopPreviewVirtualBackground"), pe.prototype), Ge(pe.prototype, "previewVideoMask", [jx, Xe, kP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "previewVideoMask"), pe.prototype), Ge(pe.prototype, "updateVideoMask", [Xe, LP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "updateVideoMask"), pe.prototype), Ge(pe.prototype, "stopPreviewVideoMask", [Xe, FP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "stopPreviewVideoMask"), pe.prototype), Ge(pe.prototype, "requestFarEndCameraControl", [Xe, jP, gp], Object.getOwnPropertyDescriptor(pe.prototype, "requestFarEndCameraControl"), pe.prototype), Ge(pe.prototype, "approveFarEndCameraControl", [Xe, VP, gp], Object.getOwnPropertyDescriptor(pe.prototype, "approveFarEndCameraControl"), pe.prototype), Ge(pe.prototype, "declineFarEndCameraControl", [Xe, BP, gp], Object.getOwnPropertyDescriptor(pe.prototype, "declineFarEndCameraControl"), pe.prototype), Ge(pe.prototype, "giveUpFarEndCameraControl", [Xe, HP, gp], Object.getOwnPropertyDescriptor(pe.prototype, "giveUpFarEndCameraControl"), pe.prototype), Ge(pe.prototype, "controlCamera", [Xe, UP, gp], Object.getOwnPropertyDescriptor(pe.prototype, "controlCamera"), pe.prototype), Ge(pe.prototype, "controlFarEndCamera", [Xe, $P, gp], Object.getOwnPropertyDescriptor(pe.prototype, "controlFarEndCamera"), pe.prototype), Ge(pe.prototype, "attachVideo", [Xe, WP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "attachVideo"), pe.prototype), Ge(pe.prototype, "detachVideo", [Xe, zP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "detachVideo"), pe.prototype), Ge(pe.prototype, "spotlight", [bo, Xe, KP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "spotlight"), pe.prototype), Ge(pe.prototype, "removeSpotlight", [Xe, GP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "removeSpotlight"), pe.prototype), Ge(pe.prototype, "removeAllSpotlights", [So, Xe, qP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "removeAllSpotlights"), pe.prototype), Ge(pe.prototype, "screenshotVideo", [Xe, JP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "screenshotVideo"), pe.prototype), Ge(pe.prototype, "subscribeWebRTCStatsReportData", [Xe, YP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "subscribeWebRTCStatsReportData"), pe.prototype), Ge(pe.prototype, "unsubscribeWebRTCStatsReportData", [Xe, QP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "unsubscribeWebRTCStatsReportData"), pe.prototype), Ge(pe.prototype, "subscribeSystemResourceUsage", [Xe, XP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "subscribeSystemResourceUsage"), pe.prototype), Ge(pe.prototype, "unsubscribeSystemResourceUsage", [Xe, ZP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "unsubscribeSystemResourceUsage"), pe.prototype), Ge(pe.prototype, "startShareView", [jx, Xe, ex, co], Object.getOwnPropertyDescriptor(pe.prototype, "startShareView"), pe.prototype), Ge(pe.prototype, "stopShareView", [Xe, tx, co], Object.getOwnPropertyDescriptor(pe.prototype, "stopShareView"), pe.prototype), Ge(pe.prototype, "switchShareView", [Xe, rx, co], Object.getOwnPropertyDescriptor(pe.prototype, "switchShareView"), pe.prototype), Ge(pe.prototype, "updateSharingCanvasDimension", [Xe, nx, co], Object.getOwnPropertyDescriptor(pe.prototype, "updateSharingCanvasDimension"), pe.prototype), Ge(pe.prototype, "startShareScreen", [Xe, ox, co], Object.getOwnPropertyDescriptor(pe.prototype, "startShareScreen"), pe.prototype), Ge(pe.prototype, "startShareCamera", [Xe, ix, co], Object.getOwnPropertyDescriptor(pe.prototype, "startShareCamera"), pe.prototype), Ge(pe.prototype, "stopShareScreen", [Xe, ax, co], Object.getOwnPropertyDescriptor(pe.prototype, "stopShareScreen"), pe.prototype), Ge(pe.prototype, "pauseShareScreen", [Xe, sx, co], Object.getOwnPropertyDescriptor(pe.prototype, "pauseShareScreen"), pe.prototype), Ge(pe.prototype, "resumeShareScreen", [Xe, lx, co], Object.getOwnPropertyDescriptor(pe.prototype, "resumeShareScreen"), pe.prototype), Ge(pe.prototype, "setSharePrivilege", [bo, ux, Xe, co], Object.getOwnPropertyDescriptor(pe.prototype, "setSharePrivilege"), pe.prototype), Ge(pe.prototype, "lockShare", [bo, cx, Xe, co], Object.getOwnPropertyDescriptor(pe.prototype, "lockShare"), pe.prototype), Ge(pe.prototype, "shareToBreakoutRoom", [Xe, bo, dx, co], Object.getOwnPropertyDescriptor(pe.prototype, "shareToBreakoutRoom"), pe.prototype), Ge(pe.prototype, "stopShareToBreakoutRoom", [Xe, bo, px, co], Object.getOwnPropertyDescriptor(pe.prototype, "stopShareToBreakoutRoom"), pe.prototype), Ge(pe.prototype, "muteOthersScreenShare", [Xe, bo, fx, co], Object.getOwnPropertyDescriptor(pe.prototype, "muteOthersScreenShare"), pe.prototype), Ge(pe.prototype, "enableOptimizeForSharedVideo", [Xe, hx, co], Object.getOwnPropertyDescriptor(pe.prototype, "enableOptimizeForSharedVideo"), pe.prototype), Ge(pe.prototype, "updateSharedVideoQuality", [Xe, mx, co], Object.getOwnPropertyDescriptor(pe.prototype, "updateSharedVideoQuality"), pe.prototype), Ge(pe.prototype, "subscribeShareStatisticData", [Xe, gx, co], Object.getOwnPropertyDescriptor(pe.prototype, "subscribeShareStatisticData"), pe.prototype), Ge(pe.prototype, "unsubscribeShareStatisticData", [Xe, vx, co], Object.getOwnPropertyDescriptor(pe.prototype, "unsubscribeShareStatisticData"), pe.prototype), Ge(pe.prototype, "screenshotSharedContent", [Xe, yx, co], Object.getOwnPropertyDescriptor(pe.prototype, "screenshotSharedContent"), pe.prototype), Ge(pe.prototype, "attachShareView", [Xe, bx, co], Object.getOwnPropertyDescriptor(pe.prototype, "attachShareView"), pe.prototype), Ge(pe.prototype, "detachShareView", [Xe, Sx, co], Object.getOwnPropertyDescriptor(pe.prototype, "detachShareView"), pe.prototype), Ge(pe.prototype, "startAnnotation", [Xe, Ex, co, MW], Object.getOwnPropertyDescriptor(pe.prototype, "startAnnotation"), pe.prototype), Ge(pe.prototype, "stopAnnotation", [Xe, Cx, co], Object.getOwnPropertyDescriptor(pe.prototype, "stopAnnotation"), pe.prototype), Ge(pe.prototype, "changeAnnotationPrivilege", [Xe, wx, co], Object.getOwnPropertyDescriptor(pe.prototype, "changeAnnotationPrivilege"), pe.prototype), Ge(pe.prototype, "requestShareCamera", [Xe, Ix, co], Object.getOwnPropertyDescriptor(pe.prototype, "requestShareCamera"), pe.prototype), Ge(pe.prototype, "approveShareCamera", [Xe, Ax, co], Object.getOwnPropertyDescriptor(pe.prototype, "approveShareCamera"), pe.prototype), Ge(pe.prototype, "declineShareCamera", [Xe, Rx, co], Object.getOwnPropertyDescriptor(pe.prototype, "declineShareCamera"), pe.prototype), Ge(pe.prototype, "informShareCameraStatus", [Xe, Tx, co], Object.getOwnPropertyDescriptor(pe.prototype, "informShareCameraStatus"), pe.prototype), Ge(pe.prototype, "requestRemoteControl", [Xe, Ox, Jl, kW], Object.getOwnPropertyDescriptor(pe.prototype, "requestRemoteControl"), pe.prototype), Ge(pe.prototype, "giveUpRemoteControl", [Xe, _x, Jl], Object.getOwnPropertyDescriptor(pe.prototype, "giveUpRemoteControl"), pe.prototype), Ge(pe.prototype, "startRemoteControl", [Xe, Px, Jl], Object.getOwnPropertyDescriptor(pe.prototype, "startRemoteControl"), pe.prototype), Ge(pe.prototype, "grabRemoteControl", [Xe, xx, Jl], Object.getOwnPropertyDescriptor(pe.prototype, "grabRemoteControl"), pe.prototype), Ge(pe.prototype, "updateRemoteControlViewportDimension", [Xe, Dx, Jl], Object.getOwnPropertyDescriptor(pe.prototype, "updateRemoteControlViewportDimension"), pe.prototype), Ge(pe.prototype, "approveRemoteControl", [Xe, Nx, Jl], Object.getOwnPropertyDescriptor(pe.prototype, "approveRemoteControl"), pe.prototype), Ge(pe.prototype, "declineRemoteControl", [Xe, Mx, Jl], Object.getOwnPropertyDescriptor(pe.prototype, "declineRemoteControl"), pe.prototype), Ge(pe.prototype, "stopRemoteControl", [Xe, kx, Jl], Object.getOwnPropertyDescriptor(pe.prototype, "stopRemoteControl"), pe.prototype), Ge(pe.prototype, "launchRemoteControlApp", [Xe, Lx, Jl], Object.getOwnPropertyDescriptor(pe.prototype, "launchRemoteControlApp"), pe.prototype), pe);
|
|
15196
|
+
}, Ge(pe.prototype, "startAudio", [Xe, H_, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "startAudio"), pe.prototype), Ge(pe.prototype, "stopAudio", [Xe, U_, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "stopAudio"), pe.prototype), Ge(pe.prototype, "muteAudio", [Xe, $_, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "muteAudio"), pe.prototype), Ge(pe.prototype, "unmuteAudio", [Xe, W_, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "unmuteAudio"), pe.prototype), Ge(pe.prototype, "dialOut", [Xe, z_, K_], Object.getOwnPropertyDescriptor(pe.prototype, "dialOut"), pe.prototype), Ge(pe.prototype, "cancelDialOut", [Xe, G_, q_], Object.getOwnPropertyDescriptor(pe.prototype, "cancelDialOut"), pe.prototype), Ge(pe.prototype, "hangup", [Xe, J_, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "hangup"), pe.prototype), Ge(pe.prototype, "switchMicrophone", [Xe, Y_, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "switchMicrophone"), pe.prototype), Ge(pe.prototype, "switchSpeaker", [Xe, Q_, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "switchSpeaker"), pe.prototype), Ge(pe.prototype, "muteShareAudio", [Xe, X_, Z_, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "muteShareAudio"), pe.prototype), Ge(pe.prototype, "unmuteShareAudio", [Xe, eP, tP, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "unmuteShareAudio"), pe.prototype), Ge(pe.prototype, "subscribeAudioStatisticData", [Xe, rP, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "subscribeAudioStatisticData"), pe.prototype), Ge(pe.prototype, "unsubscribeAudioStatisticData", [Xe, nP, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "unsubscribeAudioStatisticData"), pe.prototype), Ge(pe.prototype, "enableBackgroundNoiseSuppression", [Xe, oP, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "enableBackgroundNoiseSuppression"), pe.prototype), Ge(pe.prototype, "enableSyncButtonsOnHeadset", [Xe, iP, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "enableSyncButtonsOnHeadset"), pe.prototype), Ge(pe.prototype, "enableOriginalSound", [Xe, aP, Ga], Object.getOwnPropertyDescriptor(pe.prototype, "enableOriginalSound"), pe.prototype), Ge(pe.prototype, "callCRCDevice", [Xe, sP, lP], Object.getOwnPropertyDescriptor(pe.prototype, "callCRCDevice"), pe.prototype), Ge(pe.prototype, "cancelCallCRCDevice", [Xe, uP, cP], Object.getOwnPropertyDescriptor(pe.prototype, "cancelCallCRCDevice"), pe.prototype), Ge(pe.prototype, "muteAllAudio", [bo, Xe, dP], Object.getOwnPropertyDescriptor(pe.prototype, "muteAllAudio"), pe.prototype), Ge(pe.prototype, "unmuteAllAudio", [bo, Xe, pP], Object.getOwnPropertyDescriptor(pe.prototype, "unmuteAllAudio"), pe.prototype), Ge(pe.prototype, "muteAudioUponEntry", [bo, Xe, fP], Object.getOwnPropertyDescriptor(pe.prototype, "muteAudioUponEntry"), pe.prototype), Ge(pe.prototype, "allowUnmuteAudioThemselves", [bo, Xe, hP], Object.getOwnPropertyDescriptor(pe.prototype, "allowUnmuteAudioThemselves"), pe.prototype), Ge(pe.prototype, "startVideo", [Xe, mP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "startVideo"), pe.prototype), Ge(pe.prototype, "stopVideo", [Xe, gP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "stopVideo"), pe.prototype), Ge(pe.prototype, "switchCamera", [Xe, vP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "switchCamera"), pe.prototype), Ge(pe.prototype, "createProcessor", [Xe, yP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "createProcessor"), pe.prototype), Ge(pe.prototype, "addProcessor", [Xe, bP, Fx], Object.getOwnPropertyDescriptor(pe.prototype, "addProcessor"), pe.prototype), Ge(pe.prototype, "removeProcessor", [Xe, SP, Fx], Object.getOwnPropertyDescriptor(pe.prototype, "removeProcessor"), pe.prototype), Ge(pe.prototype, "renderVideo", [NW, Xe, EP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "renderVideo"), pe.prototype), Ge(pe.prototype, "stopRenderVideo", [Bx, Xe, CP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "stopRenderVideo"), pe.prototype), Ge(pe.prototype, "updateVideoCanvasDimension", [Vx, Xe, wP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "updateVideoCanvasDimension"), pe.prototype), Ge(pe.prototype, "adjustRenderedVideoPosition", [Bx, Xe, IP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "adjustRenderedVideoPosition"), pe.prototype), Ge(pe.prototype, "clearVideoCanvas", [Vx, Xe, AP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "clearVideoCanvas"), pe.prototype), Ge(pe.prototype, "mirrorVideo", [Xe, RP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "mirrorVideo"), pe.prototype), Ge(pe.prototype, "enableHardwareAcceleration", [Xe, TP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "enableHardwareAcceleration"), pe.prototype), Ge(pe.prototype, "subscribeVideoStatisticData", [Xe, OP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "subscribeVideoStatisticData"), pe.prototype), Ge(pe.prototype, "unsubscribeVideoStatisticData", [Xe, _P, yo], Object.getOwnPropertyDescriptor(pe.prototype, "unsubscribeVideoStatisticData"), pe.prototype), Ge(pe.prototype, "previewVirtualBackground", [Xe, PP, xP], Object.getOwnPropertyDescriptor(pe.prototype, "previewVirtualBackground"), pe.prototype), Ge(pe.prototype, "updateVirtualBackgroundImage", [Xe, DP, NP], Object.getOwnPropertyDescriptor(pe.prototype, "updateVirtualBackgroundImage"), pe.prototype), Ge(pe.prototype, "stopPreviewVirtualBackground", [Xe, MP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "stopPreviewVirtualBackground"), pe.prototype), Ge(pe.prototype, "previewVideoMask", [jx, Xe, kP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "previewVideoMask"), pe.prototype), Ge(pe.prototype, "updateVideoMask", [Xe, LP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "updateVideoMask"), pe.prototype), Ge(pe.prototype, "stopPreviewVideoMask", [Xe, FP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "stopPreviewVideoMask"), pe.prototype), Ge(pe.prototype, "requestFarEndCameraControl", [Xe, jP, gp], Object.getOwnPropertyDescriptor(pe.prototype, "requestFarEndCameraControl"), pe.prototype), Ge(pe.prototype, "approveFarEndCameraControl", [Xe, VP, gp], Object.getOwnPropertyDescriptor(pe.prototype, "approveFarEndCameraControl"), pe.prototype), Ge(pe.prototype, "declineFarEndCameraControl", [Xe, BP, gp], Object.getOwnPropertyDescriptor(pe.prototype, "declineFarEndCameraControl"), pe.prototype), Ge(pe.prototype, "giveUpFarEndCameraControl", [Xe, HP, gp], Object.getOwnPropertyDescriptor(pe.prototype, "giveUpFarEndCameraControl"), pe.prototype), Ge(pe.prototype, "controlCamera", [Xe, UP, gp], Object.getOwnPropertyDescriptor(pe.prototype, "controlCamera"), pe.prototype), Ge(pe.prototype, "controlFarEndCamera", [Xe, $P, gp], Object.getOwnPropertyDescriptor(pe.prototype, "controlFarEndCamera"), pe.prototype), Ge(pe.prototype, "attachVideo", [Xe, WP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "attachVideo"), pe.prototype), Ge(pe.prototype, "detachVideo", [Xe, zP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "detachVideo"), pe.prototype), Ge(pe.prototype, "spotlight", [bo, Xe, KP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "spotlight"), pe.prototype), Ge(pe.prototype, "removeSpotlight", [Xe, GP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "removeSpotlight"), pe.prototype), Ge(pe.prototype, "removeAllSpotlights", [So, Xe, qP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "removeAllSpotlights"), pe.prototype), Ge(pe.prototype, "screenshotVideo", [Xe, JP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "screenshotVideo"), pe.prototype), Ge(pe.prototype, "subscribeWebRTCStatsReportData", [Xe, YP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "subscribeWebRTCStatsReportData"), pe.prototype), Ge(pe.prototype, "unsubscribeWebRTCStatsReportData", [Xe, QP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "unsubscribeWebRTCStatsReportData"), pe.prototype), Ge(pe.prototype, "subscribeSystemResourceUsage", [Xe, XP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "subscribeSystemResourceUsage"), pe.prototype), Ge(pe.prototype, "unsubscribeSystemResourceUsage", [Xe, ZP, yo], Object.getOwnPropertyDescriptor(pe.prototype, "unsubscribeSystemResourceUsage"), pe.prototype), Ge(pe.prototype, "startShareView", [jx, Xe, ex, uo], Object.getOwnPropertyDescriptor(pe.prototype, "startShareView"), pe.prototype), Ge(pe.prototype, "stopShareView", [Xe, tx, uo], Object.getOwnPropertyDescriptor(pe.prototype, "stopShareView"), pe.prototype), Ge(pe.prototype, "switchShareView", [Xe, rx, uo], Object.getOwnPropertyDescriptor(pe.prototype, "switchShareView"), pe.prototype), Ge(pe.prototype, "updateSharingCanvasDimension", [Xe, nx, uo], Object.getOwnPropertyDescriptor(pe.prototype, "updateSharingCanvasDimension"), pe.prototype), Ge(pe.prototype, "startShareScreen", [Xe, ox, uo], Object.getOwnPropertyDescriptor(pe.prototype, "startShareScreen"), pe.prototype), Ge(pe.prototype, "startShareCamera", [Xe, ix, uo], Object.getOwnPropertyDescriptor(pe.prototype, "startShareCamera"), pe.prototype), Ge(pe.prototype, "stopShareScreen", [Xe, ax, uo], Object.getOwnPropertyDescriptor(pe.prototype, "stopShareScreen"), pe.prototype), Ge(pe.prototype, "pauseShareScreen", [Xe, sx, uo], Object.getOwnPropertyDescriptor(pe.prototype, "pauseShareScreen"), pe.prototype), Ge(pe.prototype, "resumeShareScreen", [Xe, lx, uo], Object.getOwnPropertyDescriptor(pe.prototype, "resumeShareScreen"), pe.prototype), Ge(pe.prototype, "setSharePrivilege", [bo, ux, Xe, uo], Object.getOwnPropertyDescriptor(pe.prototype, "setSharePrivilege"), pe.prototype), Ge(pe.prototype, "lockShare", [bo, cx, Xe, uo], Object.getOwnPropertyDescriptor(pe.prototype, "lockShare"), pe.prototype), Ge(pe.prototype, "shareToBreakoutRoom", [Xe, bo, dx, uo], Object.getOwnPropertyDescriptor(pe.prototype, "shareToBreakoutRoom"), pe.prototype), Ge(pe.prototype, "stopShareToBreakoutRoom", [Xe, bo, px, uo], Object.getOwnPropertyDescriptor(pe.prototype, "stopShareToBreakoutRoom"), pe.prototype), Ge(pe.prototype, "muteOthersScreenShare", [Xe, bo, fx, uo], Object.getOwnPropertyDescriptor(pe.prototype, "muteOthersScreenShare"), pe.prototype), Ge(pe.prototype, "enableOptimizeForSharedVideo", [Xe, hx, uo], Object.getOwnPropertyDescriptor(pe.prototype, "enableOptimizeForSharedVideo"), pe.prototype), Ge(pe.prototype, "updateSharedVideoQuality", [Xe, mx, uo], Object.getOwnPropertyDescriptor(pe.prototype, "updateSharedVideoQuality"), pe.prototype), Ge(pe.prototype, "subscribeShareStatisticData", [Xe, gx, uo], Object.getOwnPropertyDescriptor(pe.prototype, "subscribeShareStatisticData"), pe.prototype), Ge(pe.prototype, "unsubscribeShareStatisticData", [Xe, vx, uo], Object.getOwnPropertyDescriptor(pe.prototype, "unsubscribeShareStatisticData"), pe.prototype), Ge(pe.prototype, "screenshotSharedContent", [Xe, yx, uo], Object.getOwnPropertyDescriptor(pe.prototype, "screenshotSharedContent"), pe.prototype), Ge(pe.prototype, "attachShareView", [Xe, bx, uo], Object.getOwnPropertyDescriptor(pe.prototype, "attachShareView"), pe.prototype), Ge(pe.prototype, "detachShareView", [Xe, Sx, uo], Object.getOwnPropertyDescriptor(pe.prototype, "detachShareView"), pe.prototype), Ge(pe.prototype, "startAnnotation", [Xe, Ex, uo, MW], Object.getOwnPropertyDescriptor(pe.prototype, "startAnnotation"), pe.prototype), Ge(pe.prototype, "stopAnnotation", [Xe, Cx, uo], Object.getOwnPropertyDescriptor(pe.prototype, "stopAnnotation"), pe.prototype), Ge(pe.prototype, "changeAnnotationPrivilege", [Xe, wx, uo], Object.getOwnPropertyDescriptor(pe.prototype, "changeAnnotationPrivilege"), pe.prototype), Ge(pe.prototype, "requestShareCamera", [Xe, Ix, uo], Object.getOwnPropertyDescriptor(pe.prototype, "requestShareCamera"), pe.prototype), Ge(pe.prototype, "approveShareCamera", [Xe, Ax, uo], Object.getOwnPropertyDescriptor(pe.prototype, "approveShareCamera"), pe.prototype), Ge(pe.prototype, "declineShareCamera", [Xe, Rx, uo], Object.getOwnPropertyDescriptor(pe.prototype, "declineShareCamera"), pe.prototype), Ge(pe.prototype, "informShareCameraStatus", [Xe, Tx, uo], Object.getOwnPropertyDescriptor(pe.prototype, "informShareCameraStatus"), pe.prototype), Ge(pe.prototype, "requestRemoteControl", [Xe, Ox, Jl, kW], Object.getOwnPropertyDescriptor(pe.prototype, "requestRemoteControl"), pe.prototype), Ge(pe.prototype, "giveUpRemoteControl", [Xe, _x, Jl], Object.getOwnPropertyDescriptor(pe.prototype, "giveUpRemoteControl"), pe.prototype), Ge(pe.prototype, "startRemoteControl", [Xe, Px, Jl], Object.getOwnPropertyDescriptor(pe.prototype, "startRemoteControl"), pe.prototype), Ge(pe.prototype, "grabRemoteControl", [Xe, xx, Jl], Object.getOwnPropertyDescriptor(pe.prototype, "grabRemoteControl"), pe.prototype), Ge(pe.prototype, "updateRemoteControlViewportDimension", [Xe, Dx, Jl], Object.getOwnPropertyDescriptor(pe.prototype, "updateRemoteControlViewportDimension"), pe.prototype), Ge(pe.prototype, "approveRemoteControl", [Xe, Nx, Jl], Object.getOwnPropertyDescriptor(pe.prototype, "approveRemoteControl"), pe.prototype), Ge(pe.prototype, "declineRemoteControl", [Xe, Mx, Jl], Object.getOwnPropertyDescriptor(pe.prototype, "declineRemoteControl"), pe.prototype), Ge(pe.prototype, "stopRemoteControl", [Xe, kx, Jl], Object.getOwnPropertyDescriptor(pe.prototype, "stopRemoteControl"), pe.prototype), Ge(pe.prototype, "launchRemoteControlApp", [Xe, Lx, Jl], Object.getOwnPropertyDescriptor(pe.prototype, "launchRemoteControlApp"), pe.prototype), pe);
|
|
15197
15197
|
var Hx, Ux, $x, Wx, zx, Kx, Gx, qx, Io;
|
|
15198
15198
|
const zc = Ci("Audio"), FW = Ci("Sharing");
|
|
15199
15199
|
let jW = (Hx = Dt("share"), Ux = Dt("audio"), $x = Dt("audio"), Wx = Dt("audio"), zx = Dt("audio"), Kx = Dt("audio"), Gx = Dt("audio"), qx = Dt("audio"), Io = class extends LW {
|
|
@@ -15594,7 +15594,7 @@ function cv(e, t = !1) {
|
|
|
15594
15594
|
}
|
|
15595
15595
|
function D1(e) {
|
|
15596
15596
|
const { breakoutRoom: { isUserRoleUpdated: t, currentRoom: { boConfId: r } } } = e.value, n = or(e.value);
|
|
15597
|
-
return n && (!r || r && t) ? Ln(n.isHost) : (r ? pn(WE, 1) : pn(dg, 1).pipe(Le(((i) => Hd(i.userRole) ? pt([1]) : ea(pn(Qi).pipe(Ve(((a) => a.userRole !== void 0 && a.displayName === void 0 || a.bVideoConnect !== void 0)), jr(1)), pn(x0).pipe(Ve(((a) => a.some(((s) => Hd(s.userRole))))), jr(1)),
|
|
15597
|
+
return n && (!r || r && t) ? Ln(n.isHost) : (r ? pn(WE, 1) : pn(dg, 1).pipe(Le(((i) => Hd(i.userRole) ? pt([1]) : ea(pn(Qi).pipe(Ve(((a) => a.userRole !== void 0 && a.displayName === void 0 || a.bVideoConnect !== void 0)), jr(1)), pn(x0).pipe(Ve(((a) => a.some(((s) => Hd(s.userRole))))), jr(1)), co(3e3)))))).pipe(Eo(js), Qt(e), Ct((([, i]) => or(i).isHost)));
|
|
15598
15598
|
}
|
|
15599
15599
|
function kw(e) {
|
|
15600
15600
|
return P0({ boIdList: pn(t6).pipe(gV(((t, r) => [...t, r]), []), jr(e)) }).pipe(iA(1e4));
|
|
@@ -16144,7 +16144,7 @@ const ez = { breakoutRoomSharingEpics0: (e, t) => sc(e, Un).pipe(Ve(((r) => {
|
|
|
16144
16144
|
if (ue !== wr.InRoom && Oe.length > 1 && Oe.every(((be) => !be.bid))) return Xs.stopBO(Gr.Closed), Gt;
|
|
16145
16145
|
Se || ne.push(hw(performance.now()));
|
|
16146
16146
|
const oe = performance.now() + 1e3 * De;
|
|
16147
|
-
return qo(pt(ne),
|
|
16147
|
+
return qo(pt(ne), co(0, 1e3).pipe(Ct((() => Math.floor((oe - performance.now()) / 1e3))), Qt(t), md((([, be]) => {
|
|
16148
16148
|
const { breakoutRoom: { controlStatus: re }, meeting: { isHost: Ce }, socket: { zoomSocketStatus: Ie } } = be;
|
|
16149
16149
|
return re === Gr.Closing && Ie === An.Connected && Ce;
|
|
16150
16150
|
})), Ot((([be]) => {
|
|
@@ -16192,7 +16192,7 @@ const ez = { breakoutRoomSharingEpics0: (e, t) => sc(e, Un).pipe(Ve(((r) => {
|
|
|
16192
16192
|
const $ = Number(D);
|
|
16193
16193
|
if ($ > 0) {
|
|
16194
16194
|
const U = performance.now() + 1e3 * $;
|
|
16195
|
-
v =
|
|
16195
|
+
v = co(0, 1e3).pipe(Ct((() => Math.floor((U - performance.now()) / 1e3))), Qt(t), md((([G, Y]) => {
|
|
16196
16196
|
const { breakoutRoom: { controlStatus: Q, currentRoom: { status: he } }, meeting: { isHost: ne }, socket: { zoomSocketStatus: Se } } = Y;
|
|
16197
16197
|
return G >= 0 && Se === An.Connected && Q === Gr.Closing && he === wr.InRoom && !ne;
|
|
16198
16198
|
})), Ot((([G]) => {
|
|
@@ -17006,7 +17006,7 @@ const bz = ra({ epics0: (e) => e.pipe(Nt(`${ta}`), Le(((t) => {
|
|
|
17006
17006
|
const v = s === f0.Start ? il.InProgress : il.Closed;
|
|
17007
17007
|
if ((b == null ? void 0 : b.state) === v) return Ln(p);
|
|
17008
17008
|
}
|
|
17009
|
-
return MT((() => Ta({ url: n, method: "POST", headers: { utk: o, "Content-Type": "application/json" }, crossDomain: Ha(n), body: l }))).pipe(x4((() =>
|
|
17009
|
+
return MT((() => Ta({ url: n, method: "POST", headers: { utk: o, "Content-Type": "application/json" }, crossDomain: Ha(n), body: l }))).pipe(x4((() => co(1e3))));
|
|
17010
17010
|
}, d === void 0 && (d = 1 / 0), d = (d || 0) < 1 ? 1 / 0 : d, ii((function(p, m) {
|
|
17011
17011
|
return O4(p, m, c, d, 0, !0, void 0);
|
|
17012
17012
|
}))), Jo(fl()), md(((p) => {
|
|
@@ -17428,7 +17428,7 @@ const bD = { isWhiteboardEnabled: !1, isWhiteboardShareOptionsLocked: !1, isWhit
|
|
|
17428
17428
|
}), ((o) => {
|
|
17429
17429
|
const i = o.__observer;
|
|
17430
17430
|
i == null || i.disconnect();
|
|
17431
|
-
})).pipe(Ve((() => document.body.contains(n))), Jo(fl(
|
|
17431
|
+
})).pipe(Ve((() => document.body.contains(n))), Jo(fl(co(5e3))), Ct((() => !0)))).catch((() => !1));
|
|
17432
17432
|
})), Eo(js), Ot(((r) => {
|
|
17433
17433
|
if (r) {
|
|
17434
17434
|
ee(Ey, { status: d1.Loading });
|
|
@@ -18111,7 +18111,7 @@ const Fz = Ri.getInstance(), H1 = { meetingStatus: gi.Initial, isWindowOpen: !1,
|
|
|
18111
18111
|
if (c.length !== 1 || l && d.length !== 0 || (m == null || (o = m.currentRoom) === null || o === void 0 ? void 0 : o.status) === wr.InRoom || (p == null ? void 0 : p.cmrStatus) === $o.Start) b.push(Oh(void 0));
|
|
18112
18112
|
else if (i) {
|
|
18113
18113
|
const v = s && Hd(c[0].userRole) ? a : 40;
|
|
18114
|
-
y - i > 60 * v * 1e3 && (console.warn(`No active for ${v} minutes, will end the session.`), Mz.report(`Session idle timeout(${v} minutes), end the session automatically!`, ["Join Meeting Flow", "Session idle"], "warn"), b.push(Cf()),
|
|
18114
|
+
y - i > 60 * v * 1e3 && (console.warn(`No active for ${v} minutes, will end the session.`), Mz.report(`Session idle timeout(${v} minutes), end the session automatically!`, ["Join Meeting Flow", "Session idle"], "warn"), b.push(Cf()), co(500).subscribe((() => {
|
|
18115
18115
|
wA();
|
|
18116
18116
|
})));
|
|
18117
18117
|
} else b.push(Oh(y));
|
|
@@ -18513,13 +18513,13 @@ const xD = { zoomSocketStatus: An.Closed, xmppSocketStatus: An.Closed, mainSessi
|
|
|
18513
18513
|
return Gt;
|
|
18514
18514
|
})))))), epics1: (e, t) => e.pipe(Nt(`${EC}`), Qt(t), Ve((([, r]) => r.socket.zoomSocketStatus === An.Closed && !!r.meeting.meetingId)), qr((() => {
|
|
18515
18515
|
const [r, n, o, i] = [Aa.Open, Aa.Close, Aa.Error, Aa.Inactive].map(((a) => Fl(((s) => bp.on(a, s)), ((s) => bp.off(a, s)))));
|
|
18516
|
-
return qo(r.pipe(Le((() => qo(Ln(Kh({ status: An.Connected })),
|
|
18516
|
+
return qo(r.pipe(Le((() => qo(Ln(Kh({ status: An.Connected })), co(6e4).pipe(Qt(t), Ve((([, a]) => a.meeting.meetingStatus === gi.Initial && !a.meeting.isMeetingReset)), Ct((() => (ee(Ba, { reason: ca.Failover }), _a(wi.NoHeartbeat))))))))), n.pipe(Ld(t), Ct((() => (ee(Ba, { reason: ca.Failover }), _a(wi.Disconnect))))), i.pipe(Ld(t), Ct((() => (ee(Ba, { reason: ca.Failover }), _a(wi.NoHeartbeat))))), o.pipe(Qt(t), Le((([, a]) => {
|
|
18517
18517
|
const { meeting: { meetingStatus: s, isMeetingReset: l }, socket: { rwgServerList: c, retryCount: d } } = a, p = [];
|
|
18518
18518
|
return s === gi.Initial && c != null && c.length ? p.push(NA(d + 1), ns({ retry: !0 })) : l || s !== gi.Joined || (ee(Ba, { reason: ca.Failover }), p.push(_a(wi.OnError))), pt(p);
|
|
18519
18519
|
}))));
|
|
18520
18520
|
}))), epics2: (e, t) => e.pipe(Nt(`${ns}`), qr(((r) => {
|
|
18521
18521
|
const n = [Kh({ status: An.Closed })];
|
|
18522
|
-
return r.payload && r.payload.retry ? pt(n) : Fd(pt(n),
|
|
18522
|
+
return r.payload && r.payload.retry ? pt(n) : Fd(pt(n), co(0, js).pipe(Ot((() => {
|
|
18523
18523
|
var o;
|
|
18524
18524
|
t.value.socket.zoomSocketStatus === An.Closed && (bp.close(), (o = yv) === null || o === void 0 || o.complete());
|
|
18525
18525
|
})), un()));
|
|
@@ -18546,7 +18546,7 @@ const xD = { zoomSocketStatus: An.Closed, xmppSocketStatus: An.Closed, mainSessi
|
|
|
18546
18546
|
}))), xmppEpics3: (e, t) => e.pipe(Nt(`${CC}`), qr(((r) => {
|
|
18547
18547
|
var n;
|
|
18548
18548
|
const o = [xy(An.Closed)];
|
|
18549
|
-
return (n = r.payload) !== null && n !== void 0 && n.retry ? pt(o) : Fd(pt(o),
|
|
18549
|
+
return (n = r.payload) !== null && n !== void 0 && n.retry ? pt(o) : Fd(pt(o), co(0, js).pipe(Ot((() => {
|
|
18550
18550
|
var i;
|
|
18551
18551
|
t.value.socket.xmppSocketStatus === An.Closed && (Jc.close(), (i = bv) === null || i === void 0 || i.complete());
|
|
18552
18552
|
})), un()));
|
|
@@ -21578,7 +21578,7 @@ var G0 = {
|
|
|
21578
21578
|
}
|
|
21579
21579
|
}, q0 = function(t) {
|
|
21580
21580
|
var r = t.callback, n = t.when, o = t.priority;
|
|
21581
|
-
|
|
21581
|
+
po(function() {
|
|
21582
21582
|
if (n)
|
|
21583
21583
|
return F9.addListener(r, o);
|
|
21584
21584
|
}, [r, n, o]);
|
|
@@ -21707,7 +21707,7 @@ var G0 = {
|
|
|
21707
21707
|
}, $ = function() {
|
|
21708
21708
|
!p || !s.current || (se.removeInlineStyle(s.current), a(!1));
|
|
21709
21709
|
};
|
|
21710
|
-
return
|
|
21710
|
+
return po(function() {
|
|
21711
21711
|
y || F();
|
|
21712
21712
|
}, [y]), {
|
|
21713
21713
|
id: A,
|
|
@@ -25555,9 +25555,7 @@ const X9 = Vl({
|
|
|
25555
25555
|
const p = r.getMediaStream(), m = r.getSessionInfo(), y = r.getCurrentUserInfo();
|
|
25556
25556
|
m != null && m.isInMeeting && ((y == null ? void 0 : y.audio) !== "" && (p == null || p.stopAudio()), y != null && y.bVideoOn && (p == null || p.stopVideo()), p == null || p.stopShareScreen()), await _c.destroyClient().catch(console.error), console.log("SessionProvider cleanup completed");
|
|
25557
25557
|
}, [r]);
|
|
25558
|
-
|
|
25559
|
-
c();
|
|
25560
|
-
}, [c]), YI(
|
|
25558
|
+
YI(
|
|
25561
25559
|
t,
|
|
25562
25560
|
() => ({
|
|
25563
25561
|
isReady: () => !0,
|
|
@@ -25571,7 +25569,7 @@ const X9 = Vl({
|
|
|
25571
25569
|
leaveSession: (p) => l(p)
|
|
25572
25570
|
}),
|
|
25573
25571
|
[c, r, s, l]
|
|
25574
|
-
),
|
|
25572
|
+
), po(() => {
|
|
25575
25573
|
const p = (m) => {
|
|
25576
25574
|
if (m.state === "Closed") {
|
|
25577
25575
|
a(!1);
|
|
@@ -25607,8 +25605,8 @@ const X9 = Vl({
|
|
|
25607
25605
|
);
|
|
25608
25606
|
tL.displayName = "SessionProvider";
|
|
25609
25607
|
var jq = function() {
|
|
25610
|
-
}, rL = typeof window < "u", Vq = rL ? X3 :
|
|
25611
|
-
|
|
25608
|
+
}, rL = typeof window < "u", Vq = rL ? X3 : po, NR = function(e) {
|
|
25609
|
+
po(e, []);
|
|
25612
25610
|
}, nL = function(e) {
|
|
25613
25611
|
NR(function() {
|
|
25614
25612
|
e();
|
|
@@ -34739,7 +34737,7 @@ function DJ() {
|
|
|
34739
34737
|
E += w[g];
|
|
34740
34738
|
return E;
|
|
34741
34739
|
}
|
|
34742
|
-
function
|
|
34740
|
+
function lo(u, g, h) {
|
|
34743
34741
|
if (typeof u == "object") {
|
|
34744
34742
|
for (var g = String(g).split("."), w = 0; w < g.length && u; w++) {
|
|
34745
34743
|
var E = g[w];
|
|
@@ -35019,9 +35017,9 @@ function DJ() {
|
|
|
35019
35017
|
}
|
|
35020
35018
|
}, I.crypto.Cipher = function(u) {
|
|
35021
35019
|
}, I.crypto.Cipher.encrypt = function(u, f, h, g) {
|
|
35022
|
-
if (
|
|
35020
|
+
if (lo(g, "enclag") != null && (h = g.encalg), typeof h == "string" && h.substr(-4) == "-CBC") {
|
|
35023
35021
|
var w = f, E = u;
|
|
35024
|
-
|
|
35022
|
+
lo(g, "key") != null && (w = g.key), lo(g, "enc") != null && (hEnc = g.enc);
|
|
35025
35023
|
var _ = o.enc.Hex.parse(w), O = o.enc.Hex.parse(E), j = o.enc.Hex.parse(g.iv), N;
|
|
35026
35024
|
if (h == "des-EDE3-CBC")
|
|
35027
35025
|
N = o.TripleDES.encrypt(O, _, { iv: j });
|
|
@@ -35033,9 +35031,9 @@ function DJ() {
|
|
|
35033
35031
|
} else
|
|
35034
35032
|
throw new Error("Cipher.encrypt: unsupported key or algorithm");
|
|
35035
35033
|
}, I.crypto.Cipher.decrypt = function(u, f, h, g) {
|
|
35036
|
-
if (
|
|
35034
|
+
if (lo(g, "enclag") != null && (h = g.encalg), typeof h == "string" && h.substr(-4) == "-CBC") {
|
|
35037
35035
|
var w = f, E = u;
|
|
35038
|
-
|
|
35036
|
+
lo(g, "key") != null && (w = g.key), lo(g, "enc") != null && (E = g.enc);
|
|
35039
35037
|
var _ = o.enc.Hex.parse(w), O = o.enc.Hex.parse(E), j = o.enc.Hex.parse(g.iv), N;
|
|
35040
35038
|
if (h == "des-EDE3-CBC")
|
|
35041
35039
|
N = o.TripleDES.decrypt({ ciphertext: O }, _, { iv: j });
|
|
@@ -35442,7 +35440,7 @@ function DJ() {
|
|
|
35442
35440
|
var ce = this.generatePBES2ASN1Param(W);
|
|
35443
35441
|
return I.asn1.ASN1Util.newObject(ce).tohex();
|
|
35444
35442
|
}, initPBES2Param: function(P) {
|
|
35445
|
-
if (
|
|
35443
|
+
if (lo(P, "encalg") == null && (P.encalg = "aes256-CBC"), lo(P, "iter") == null && (P.iter = 2048), lo(P, "prf") == null && (P.prf = "hmacWithSHA256"), lo(P, "salt") == null && (P.salt = o.enc.Hex.stringify(o.lib.WordArray.random(8))), lo(P, "enciv") == null) {
|
|
35446
35444
|
var L;
|
|
35447
35445
|
P.encalg == "des-EDE3-CBC" && (L = 8), P.encalg == "aes128-CBC" && (L = 16), P.encalg == "aes256-CBC" && (L = 16), P.enciv = o.enc.Hex.stringify(o.lib.WordArray.random(L));
|
|
35448
35446
|
}
|
|
@@ -35502,18 +35500,18 @@ function DJ() {
|
|
|
35502
35500
|
return J;
|
|
35503
35501
|
}, parsePBES2: function(P) {
|
|
35504
35502
|
var L = Zt.parse(P);
|
|
35505
|
-
if (
|
|
35503
|
+
if (lo(L, "seq.0.seq.0.oid") != "pkcs5PBES2" || lo(L, "seq.0.seq.1.seq.0.seq.0.oid") != "pkcs5PBKDF2")
|
|
35506
35504
|
throw new Error("not pkcs5PBES2 and pkcs5PBKDF2 used");
|
|
35507
|
-
var B =
|
|
35505
|
+
var B = lo(L, "seq.0.seq.1.seq.0.seq.1.seq");
|
|
35508
35506
|
if (B == null)
|
|
35509
35507
|
throw new Error("PBKDF2 parameter not found");
|
|
35510
|
-
var W =
|
|
35508
|
+
var W = lo(B, "0.octstr.hex"), ce = lo(B, "1.int.hex"), Ne = lo(B, "2.seq.0.oid", "hmacWithSHA1"), xe = -1;
|
|
35511
35509
|
try {
|
|
35512
35510
|
xe = parseInt(ce, 16);
|
|
35513
35511
|
} catch {
|
|
35514
35512
|
throw new Error("iter not proper value");
|
|
35515
35513
|
}
|
|
35516
|
-
var ke =
|
|
35514
|
+
var ke = lo(L, "seq.0.seq.1.seq.1.seq.0.oid"), z = lo(L, "seq.0.seq.1.seq.1.seq.1.octstr.hex"), J = lo(L, "seq.1.octstr.hex");
|
|
35517
35515
|
if (ke == null || z == null || J == null)
|
|
35518
35516
|
throw new Error("encalg, enciv or enc is undefined");
|
|
35519
35517
|
var te = { salt: W, iter: xe, prf: Ne, encalg: ke, enciv: z, enc: J };
|
|
@@ -35791,7 +35789,7 @@ function DJ() {
|
|
|
35791
35789
|
var Me = function(rt, Rt) {
|
|
35792
35790
|
if (typeof Rt == "string")
|
|
35793
35791
|
return Cn.getEncryptedPKCS8PEM(rt, Rt);
|
|
35794
|
-
if (typeof Rt == "object" &&
|
|
35792
|
+
if (typeof Rt == "object" && lo(Rt, "passcode") != null) {
|
|
35795
35793
|
var Vt = JSON.parse(JSON.stringify(Rt)), va = Vt.passcode;
|
|
35796
35794
|
return delete Vt.passcode, Cn.getEncryptedPKCS8PEM(rt, va, Vt);
|
|
35797
35795
|
}
|
|
@@ -36415,7 +36413,7 @@ function DJ() {
|
|
|
36415
36413
|
}
|
|
36416
36414
|
}, this._asn1ToUnotice = function(z) {
|
|
36417
36415
|
try {
|
|
36418
|
-
for (var J = {}, te =
|
|
36416
|
+
for (var J = {}, te = lo(z, "seq"), K = 0; K < te.length; K++) {
|
|
36419
36417
|
var le = this._asn1ToNoticeRef(te[K]);
|
|
36420
36418
|
le != null && (J.noticeref = le);
|
|
36421
36419
|
var Me = this.asn1ToDisplayText(te[K]);
|
|
@@ -36427,7 +36425,7 @@ function DJ() {
|
|
|
36427
36425
|
}
|
|
36428
36426
|
}, this._asn1ToNoticeRef = function(z) {
|
|
36429
36427
|
try {
|
|
36430
|
-
for (var J = {}, te =
|
|
36428
|
+
for (var J = {}, te = lo(z, "seq"), K = 0; K < te.length; K++) {
|
|
36431
36429
|
var le = this._asn1ToNoticeNum(te[K]);
|
|
36432
36430
|
le != null && (J.noticenum = le);
|
|
36433
36431
|
var Me = this.asn1ToDisplayText(te[K]);
|
|
@@ -36439,9 +36437,9 @@ function DJ() {
|
|
|
36439
36437
|
}
|
|
36440
36438
|
}, this._asn1ToNoticeNum = function(z) {
|
|
36441
36439
|
try {
|
|
36442
|
-
for (var J =
|
|
36440
|
+
for (var J = lo(z, "seq"), te = [], K = 0; K < J.length; K++) {
|
|
36443
36441
|
var le = J[K];
|
|
36444
|
-
te.push(parseInt(
|
|
36442
|
+
te.push(parseInt(lo(le, "int.hex"), 16));
|
|
36445
36443
|
}
|
|
36446
36444
|
return te;
|
|
36447
36445
|
} catch {
|
|
@@ -36549,7 +36547,7 @@ function DJ() {
|
|
|
36549
36547
|
J && (K.critical = !0);
|
|
36550
36548
|
try {
|
|
36551
36549
|
for (var le = w(z), Me = [], He = 0; He < le.seq.length; He++) {
|
|
36552
|
-
var wt = le.seq[He], Be =
|
|
36550
|
+
var wt = le.seq[He], Be = lo(wt, "seq.0.oid"), rt = lo(wt, "seq.1.set");
|
|
36553
36551
|
if (Be == null || rt == null)
|
|
36554
36552
|
throw "error";
|
|
36555
36553
|
Me.push({ attr: Be, array: rt });
|
|
@@ -37238,7 +37236,7 @@ function DJ() {
|
|
|
37238
37236
|
}, this.isEmpty = function() {
|
|
37239
37237
|
return this.aHeader.length == 0 ? 1 : 0;
|
|
37240
37238
|
};
|
|
37241
|
-
}, sr.SecureRandom = On, sr.rng_seed_time = Hi, sr.BigInteger = p, sr.RSAKey = Lr, sr.ECDSA = I.crypto.ECDSA, sr.DSA = I.crypto.DSA, sr.Signature = I.crypto.Signature, sr.MessageDigest = I.crypto.MessageDigest, sr.Mac = I.crypto.Mac, sr.KEYUTIL = Cn, sr.ASN1HEX = Zt, sr.X509 = Qr, sr.X509CRL = JF, sr.CryptoJS = o, sr.b64tohex = l, sr.b64toBA = c, sr.ECFieldElementFp = jo, sr.ECPointFp = kn, sr.ECCurveFp = zs, sr.stoBA = kg, sr.BAtos = Lg, sr.BAtohex = tp, sr.stohex = ha, sr.stob64 = mS, sr.stob64u = Fg, sr.b64utos = gS, sr.b64tob64u = Ru, sr.b64utob64 = Mc, sr.hex2b64 = s, sr.hextob64u = ai, sr.b64utohex = ro, sr.utf8tob64u = Tu, sr.b64utoutf8 = Wa, sr.utf8tob64 = vS, sr.b64toutf8 = jg, sr.utf8tohex = rp, sr.hextoutf8 = Wn, sr.hextorstr = ma, sr.rstrtohex = Ts, sr.hextob64 = Wf, sr.hextob64nl = SS, sr.b64nltohex = Vg, sr.hextopem = ve, sr.pemtohex = Fe, sr.hextoArrayBuffer = xt, sr.ArrayBuffertohex = Ut, sr.zulutomsec = Mt, sr.msectozulu = tr, sr.zulutosec = fr, sr.zulutodate = Rr, sr.datetozulu = Fr, sr.uricmptohex = En, sr.hextouricmp = go, sr.ipv6tohex = Oi, sr.hextoipv6 = as, sr.hextoip = ss, sr.iptohex = ga, sr.ucs2hextoutf8 = zf, sr.encodeURIComponentAll = _u, sr.newline_toUnix = op, sr.newline_toDos = zF, sr.hextoposhex = CS, sr.intarystrtohex = KF, sr.strdiffidx = GF, sr.oidtohex = zR, sr.hextooid = Bg, sr.strpad = Hg, sr.bitstrtoint = GR, sr.inttobitstr = qR, sr.bitstrtobinstr = JR, sr.binstrtobitstr = qF, sr.isBase64URLDot = ES, sr.namearraytobinstr = Ug, sr.extendClass = yt, sr.foldnl = np, sr.b64topem = Ht, sr.pemtob64 = mt, sr.timeogen = dn, sr.aryval =
|
|
37239
|
+
}, sr.SecureRandom = On, sr.rng_seed_time = Hi, sr.BigInteger = p, sr.RSAKey = Lr, sr.ECDSA = I.crypto.ECDSA, sr.DSA = I.crypto.DSA, sr.Signature = I.crypto.Signature, sr.MessageDigest = I.crypto.MessageDigest, sr.Mac = I.crypto.Mac, sr.KEYUTIL = Cn, sr.ASN1HEX = Zt, sr.X509 = Qr, sr.X509CRL = JF, sr.CryptoJS = o, sr.b64tohex = l, sr.b64toBA = c, sr.ECFieldElementFp = jo, sr.ECPointFp = kn, sr.ECCurveFp = zs, sr.stoBA = kg, sr.BAtos = Lg, sr.BAtohex = tp, sr.stohex = ha, sr.stob64 = mS, sr.stob64u = Fg, sr.b64utos = gS, sr.b64tob64u = Ru, sr.b64utob64 = Mc, sr.hex2b64 = s, sr.hextob64u = ai, sr.b64utohex = ro, sr.utf8tob64u = Tu, sr.b64utoutf8 = Wa, sr.utf8tob64 = vS, sr.b64toutf8 = jg, sr.utf8tohex = rp, sr.hextoutf8 = Wn, sr.hextorstr = ma, sr.rstrtohex = Ts, sr.hextob64 = Wf, sr.hextob64nl = SS, sr.b64nltohex = Vg, sr.hextopem = ve, sr.pemtohex = Fe, sr.hextoArrayBuffer = xt, sr.ArrayBuffertohex = Ut, sr.zulutomsec = Mt, sr.msectozulu = tr, sr.zulutosec = fr, sr.zulutodate = Rr, sr.datetozulu = Fr, sr.uricmptohex = En, sr.hextouricmp = go, sr.ipv6tohex = Oi, sr.hextoipv6 = as, sr.hextoip = ss, sr.iptohex = ga, sr.ucs2hextoutf8 = zf, sr.encodeURIComponentAll = _u, sr.newline_toUnix = op, sr.newline_toDos = zF, sr.hextoposhex = CS, sr.intarystrtohex = KF, sr.strdiffidx = GF, sr.oidtohex = zR, sr.hextooid = Bg, sr.strpad = Hg, sr.bitstrtoint = GR, sr.inttobitstr = qR, sr.bitstrtobinstr = JR, sr.binstrtobitstr = qF, sr.isBase64URLDot = ES, sr.namearraytobinstr = Ug, sr.extendClass = yt, sr.foldnl = np, sr.b64topem = Ht, sr.pemtob64 = mt, sr.timeogen = dn, sr.aryval = lo, sr.inttohex = KR, sr.twoscompl = Kf, sr.KJUR = I, sr.crypto = I.crypto, sr.asn1 = I.asn1, sr.jws = I.jws, sr.lang = I.lang, sr.VERSION = r, sr.VERSION_FULL = n, sr;
|
|
37242
37240
|
}
|
|
37243
37241
|
DJ();
|
|
37244
37242
|
const b0 = async () => {
|
|
@@ -37298,7 +37296,7 @@ const yL = Vl({
|
|
|
37298
37296
|
}, []), s = Cr(async (l) => {
|
|
37299
37297
|
await e.current.updateVirtualBackground(l ? "blur" : "");
|
|
37300
37298
|
}, []);
|
|
37301
|
-
return
|
|
37299
|
+
return po(() => {
|
|
37302
37300
|
const l = t.current;
|
|
37303
37301
|
if (!l) return;
|
|
37304
37302
|
const c = new MutationObserver(() => {
|
|
@@ -37350,7 +37348,7 @@ const yL = Vl({
|
|
|
37350
37348
|
{ deviceId: Zi.Environment, label: "Back Camera" }
|
|
37351
37349
|
], BJ = ({ children: e }) => {
|
|
37352
37350
|
const t = kJ(), { zmClient: r, sessionStarted: n, isSessionStarted: o } = hl(), i = NJ(), a = Gn(/* @__PURE__ */ new Map()), [s, l] = Pr([]), [c, d] = Pr(""), [p, m] = Pr(!1), [y, b] = Pr(!1);
|
|
37353
|
-
|
|
37351
|
+
po(() => {
|
|
37354
37352
|
console.log("cameraList: ", s), console.log("activeCameraId: ", c);
|
|
37355
37353
|
}, [s, c]);
|
|
37356
37354
|
const v = Bn(() => VJ(), []), C = Cr(
|
|
@@ -37432,7 +37430,7 @@ const yL = Vl({
|
|
|
37432
37430
|
},
|
|
37433
37431
|
[r, t]
|
|
37434
37432
|
), Q = Cr((ne) => a.current.has(ne), []);
|
|
37435
|
-
|
|
37433
|
+
po(() => {
|
|
37436
37434
|
if (!n) return;
|
|
37437
37435
|
const ne = (oe) => {
|
|
37438
37436
|
console.log("active-media-failed: ", oe), oe.type === "video" && m(!1);
|
|
@@ -37561,7 +37559,7 @@ const yL = Vl({
|
|
|
37561
37559
|
users: []
|
|
37562
37560
|
}), Au = () => os(SL), UJ = ({ children: e }) => {
|
|
37563
37561
|
const { zmClient: t, signature: r, isSessionStarted: n } = hl(), [o, i] = Pr([]), [a, s] = Pr(null), [l, c] = Pr([]), [d, p] = Pr(null), [m, y] = Pr(null);
|
|
37564
|
-
|
|
37562
|
+
po(() => {
|
|
37565
37563
|
if (!n()) return;
|
|
37566
37564
|
const v = (F) => {
|
|
37567
37565
|
if (F && F.length > 0) {
|
|
@@ -37597,7 +37595,7 @@ const yL = Vl({
|
|
|
37597
37595
|
return t.on("active-speaker", v), t.on("user-added", C), t.on("user-removed", A), t.on("user-updated", R), t.on("video-active-change", x), t.on("video-capturing-change", k), t.on("active-share-change", D), () => {
|
|
37598
37596
|
t.off("active-speaker", v), t.off("user-added", C), t.off("user-removed", A), t.off("user-updated", R), t.off("video-active-change", x), t.off("video-capturing-change", k), t.off("active-share-change", D);
|
|
37599
37597
|
};
|
|
37600
|
-
}, [n, r, t]),
|
|
37598
|
+
}, [n, r, t]), po(() => {
|
|
37601
37599
|
if (!n()) return;
|
|
37602
37600
|
i(t.getAllUser());
|
|
37603
37601
|
const v = t.getCurrentUserInfo();
|
|
@@ -37683,7 +37681,7 @@ const yL = Vl({
|
|
|
37683
37681
|
), U = Cr(() => {
|
|
37684
37682
|
C(!1);
|
|
37685
37683
|
}, []);
|
|
37686
|
-
|
|
37684
|
+
po(() => {
|
|
37687
37685
|
if (!n()) return;
|
|
37688
37686
|
const Y = () => {
|
|
37689
37687
|
b0().then(({ micList: ue, speakerList: Oe }) => {
|
|
@@ -37780,11 +37778,11 @@ const yL = Vl({
|
|
|
37780
37778
|
}, [s]), m = Cr(() => {
|
|
37781
37779
|
p(), d();
|
|
37782
37780
|
}, [p, d]);
|
|
37783
|
-
|
|
37781
|
+
po(() => {
|
|
37784
37782
|
if (!r() || s) return;
|
|
37785
37783
|
const b = t.getChatClient();
|
|
37786
37784
|
l(b), a(b.getReceivers() ?? []), o(b.getHistory() ?? []);
|
|
37787
|
-
}, [s, t, r]),
|
|
37785
|
+
}, [s, t, r]), po(() => {
|
|
37788
37786
|
if (!r()) return;
|
|
37789
37787
|
const b = (v) => {
|
|
37790
37788
|
o((C) => [...C, v]);
|
|
@@ -37792,7 +37790,7 @@ const yL = Vl({
|
|
|
37792
37790
|
return t.on("chat-on-message", b), () => {
|
|
37793
37791
|
t.off("chat-on-message", b);
|
|
37794
37792
|
};
|
|
37795
|
-
}, [t, r]),
|
|
37793
|
+
}, [t, r]), po(() => {
|
|
37796
37794
|
if (!r()) return;
|
|
37797
37795
|
const b = () => {
|
|
37798
37796
|
m();
|
|
@@ -37914,7 +37912,7 @@ const yL = Vl({
|
|
|
37914
37912
|
changeSessionStatus: () => Promise.resolve()
|
|
37915
37913
|
}), Z0 = () => os(AL), YJ = 3, QJ = 500, XJ = 1e4, ZJ = () => {
|
|
37916
37914
|
const { zmClient: e } = hl(), t = Gn(void 0);
|
|
37917
|
-
return
|
|
37915
|
+
return po(() => {
|
|
37918
37916
|
const r = (n) => {
|
|
37919
37917
|
t.current = n;
|
|
37920
37918
|
};
|
|
@@ -38033,7 +38031,7 @@ const yL = Vl({
|
|
|
38033
38031
|
},
|
|
38034
38032
|
[s]
|
|
38035
38033
|
);
|
|
38036
|
-
|
|
38034
|
+
po(() => {
|
|
38037
38035
|
const R = (x) => {
|
|
38038
38036
|
const k = JSON.parse(x.text);
|
|
38039
38037
|
if (k.type === "REQUEST-SHARED-STATE") {
|
|
@@ -38134,7 +38132,7 @@ const RL = I0(
|
|
|
38134
38132
|
}),
|
|
38135
38133
|
[]
|
|
38136
38134
|
);
|
|
38137
|
-
|
|
38135
|
+
po(() => {
|
|
38138
38136
|
console.log("VideoPluginProvider: sessionStatus changed:", d), a !== void 0 && d !== a && p(a);
|
|
38139
38137
|
}, [a]);
|
|
38140
38138
|
const x = Bn(
|
|
@@ -38746,7 +38744,7 @@ const Cg = () => {
|
|
|
38746
38744
|
};
|
|
38747
38745
|
return r && r.register(o, c), c;
|
|
38748
38746
|
});
|
|
38749
|
-
|
|
38747
|
+
po(() => () => {
|
|
38750
38748
|
r && r.unregister(o);
|
|
38751
38749
|
}, [r, o]);
|
|
38752
38750
|
const s = Cr(
|
|
@@ -42009,7 +42007,7 @@ const E0 = ({ option: e, icon: t }) => /* @__PURE__ */ ae.jsxs("div", { classNam
|
|
|
42009
42007
|
(U) => /* @__PURE__ */ ae.jsx(E0, { option: U, icon: "fa-regular fa-volume" }),
|
|
42010
42008
|
[]
|
|
42011
42009
|
);
|
|
42012
|
-
return
|
|
42010
|
+
return po(() => () => {
|
|
42013
42011
|
var U, G, Y, Q;
|
|
42014
42012
|
(G = (U = b.current) == null ? void 0 : U.stop) == null || G.call(U), (Q = (Y = A.current) == null ? void 0 : Y.destroy) == null || Q.call(Y);
|
|
42015
42013
|
}, []), /* @__PURE__ */ ae.jsxs("div", { className: "flex flex-col", children: [
|
|
@@ -42167,7 +42165,7 @@ const E0 = ({ option: e, icon: t }) => /* @__PURE__ */ ae.jsxs("div", { classNam
|
|
|
42167
42165
|
return t ? /* @__PURE__ */ ae.jsx(t, {}) : null;
|
|
42168
42166
|
}, aQ = 680, zN = rs.Audio, LL = () => {
|
|
42169
42167
|
const { configDialogVisible: e, toggleConfigDialog: t } = As(), [r, n] = Pr(zN);
|
|
42170
|
-
|
|
42168
|
+
po(() => {
|
|
42171
42169
|
e && n(e.tab ?? zN);
|
|
42172
42170
|
}, [e]);
|
|
42173
42171
|
const o = Bn(
|
|
@@ -42286,7 +42284,7 @@ const E0 = ({ option: e, icon: t }) => /* @__PURE__ */ ae.jsxs("div", { classNam
|
|
|
42286
42284
|
template: (oe, be) => /* @__PURE__ */ ae.jsx(bs, { item: oe, options: be, activeItem: b })
|
|
42287
42285
|
}
|
|
42288
42286
|
]), De = Gn(!1);
|
|
42289
|
-
return
|
|
42287
|
+
return po(() => {
|
|
42290
42288
|
d && !De.current && (p(), De.current = !0);
|
|
42291
42289
|
}, [d, p]), /* @__PURE__ */ ae.jsxs("div", { className: "flex flex-col w-full max-w-3xl py-24 px-16 mx-auto", "data-testid": "setup-page", children: [
|
|
42292
42290
|
/* @__PURE__ */ ae.jsxs("div", { className: "text-center mb-24", children: [
|
|
@@ -44785,7 +44783,7 @@ const s3 = [
|
|
|
44785
44783
|
}
|
|
44786
44784
|
});
|
|
44787
44785
|
};
|
|
44788
|
-
return
|
|
44786
|
+
return po(() => {
|
|
44789
44787
|
d.current && d.current.scrollTo({
|
|
44790
44788
|
top: d.current.scrollHeight,
|
|
44791
44789
|
behavior: "smooth"
|
|
@@ -45447,7 +45445,7 @@ const _X = () => {
|
|
|
45447
45445
|
})),
|
|
45448
45446
|
[a]
|
|
45449
45447
|
);
|
|
45450
|
-
return
|
|
45448
|
+
return po(() => {
|
|
45451
45449
|
const c = t.current;
|
|
45452
45450
|
if (!c) return;
|
|
45453
45451
|
const d = (m) => {
|
|
@@ -45532,7 +45530,7 @@ const _X = () => {
|
|
|
45532
45530
|
Mh.displayName = "VideoContainer";
|
|
45533
45531
|
const LX = ({ user: e, className: t }) => {
|
|
45534
45532
|
const { selfShareViewRef: r } = WL(), { screenSharingUser: n, currentUser: o } = Au(), { attachUserVideo: i, detachUserVideo: a, attachSharedVideo: s, detachSharedVideo: l, checkIfUserIdRegisteredInCanvas: c } = Qd(), d = Gn(null), p = Gn(null), m = Gn(null), y = (o == null ? void 0 : o.sharerOn) ?? !1, b = n && n.userId !== (o == null ? void 0 : o.userId), v = y || b, C = (o == null ? void 0 : o.userId) === e.userId, A = !y && !b && !C, R = C && (o == null ? void 0 : o.bVideoOn) === !0, x = (e == null ? void 0 : e.bVideoOn) === !1 && !y && !b;
|
|
45535
|
-
return
|
|
45533
|
+
return po(() => {
|
|
45536
45534
|
(async () => {
|
|
45537
45535
|
if (y || x) {
|
|
45538
45536
|
console.log("Detached video for user: ", e.displayName, " bVideoOn: ", e.bVideoOn), await a(e.userId);
|
|
@@ -45612,7 +45610,7 @@ const LX = ({ user: e, className: t }) => {
|
|
|
45612
45610
|
] });
|
|
45613
45611
|
}, FX = () => {
|
|
45614
45612
|
const { currentUser: e, activeVideoParticipant: t, screenSharingUser: r } = Au(), n = (t == null ? void 0 : t.userId) && t.userId === (e == null ? void 0 : e.userId), o = r ?? (n ? e : t);
|
|
45615
|
-
return
|
|
45613
|
+
return po(() => {
|
|
45616
45614
|
console.log("focusedUser: ", o == null ? void 0 : o.userId, o == null ? void 0 : o.displayName, "isCurrent: ", n);
|
|
45617
45615
|
}, [o, n]), /* @__PURE__ */ ae.jsx("div", { className: "relative w-full aspect-video overflow-hidden bg-bluetiful-10", children: o && /* @__PURE__ */ ae.jsx(
|
|
45618
45616
|
LX,
|
|
@@ -55400,13 +55398,13 @@ const Ree = ({
|
|
|
55400
55398
|
}
|
|
55401
55399
|
});
|
|
55402
55400
|
}, [c]), Q = Gn(!1);
|
|
55403
|
-
|
|
55401
|
+
po(() => {
|
|
55404
55402
|
if (!p) return;
|
|
55405
55403
|
const ne = async () => {
|
|
55406
55404
|
e("join-session-with-video") && await t(), await o(), e("join-session-with-audio") || await n();
|
|
55407
55405
|
};
|
|
55408
55406
|
Q.current || (ne(), Q.current = !0);
|
|
55409
|
-
}, [e, p, n, o, t]),
|
|
55407
|
+
}, [e, p, n, o, t]), po(() => {
|
|
55410
55408
|
i && (r(), a());
|
|
55411
55409
|
}, [i, a, r]);
|
|
55412
55410
|
const he = Bn(
|
|
@@ -55545,7 +55543,7 @@ const Ree = ({
|
|
|
55545
55543
|
] });
|
|
55546
55544
|
}, Nee = ({ className: e }) => {
|
|
55547
55545
|
const { changePluginBreakpoint: t } = Mf(), { sessionStarted: r } = hl(), { ref: n, breakpoint: o } = rY();
|
|
55548
|
-
return
|
|
55546
|
+
return po(() => {
|
|
55549
55547
|
t(o);
|
|
55550
55548
|
}, [o, t]), /* @__PURE__ */ ae.jsx("div", { className: ji("fraku-video-plugin", e), ref: n, children: r ? /* @__PURE__ */ ae.jsx(Dee, {}) : /* @__PURE__ */ ae.jsx(sQ, {}) });
|
|
55551
55549
|
}, Mee = I0(
|