!function(e,t){"object"==typeofexports&&"object"==typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define([],t):"object"==typeofexports?exports.JitsiMeetExternalAPI=t():e.JitsiMeetExternalAPI=t()}(self,(()=>(()=>{vare={372:(e,t,n)=>{"use strict";n.d(t,{default:()=>N});varr=n(620),i=n.n(r);classsextendsr{constructor(){vare,t,n;super(...arguments),e=this,n={},(t=function(e){vart=function(e,t){if("object"!=typeofe||null===e)returne;varn=e[Symbol.toPrimitive];if(void0!==n){varr=n.call(e,t);if("object"!=typeofr)returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}returnString(e)}(e,"string");return"symbol"==typeoft?t:String(t)}(t="_storage"))ine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}clear(){this._storage={}}getlength(){returnObject.keys(this._storage).length}getItem(e){returnthis._storage[e]}setItem(e,t){this._storage[e]=t}removeItem(e){deletethis._storage[e]}key(e){constt=Object.keys(this._storage);if(!(t.length<=e))returnt[e]}serialize(){lete=arguments.length>0&&void0!==arguments[0]?arguments[0]:[];if(0===e.length)returnJSON.stringify(this._storage);constt={...this._storage};returne.forEach((e=>{deletet[e]})),JSON.stringify(t)}}consto=newclassextendsr{constructor(){super();try{this._storage=window.localStorage,this._localStorageDisabled=!1}catch(e){}this._storage||(console.warn("Local storage is disabled."),this._storage=news,this._localStorageDisabled=!0)}isLocalStorageDisabled(){returnthis._localStorageDisabled}setLocalStorageDisabled(e){this._localStorageDisabled=e;try{this._storage=e?news:window.localStorage}catch(e){}this._storage||(this._storage=news)}clear(){this._storage.clear(),this.emit("changed")}getlength(){returnthis._storage.length}getItem(e){returnthis._storage.getItem(e)}setItem(e,t){letn=arguments.length>2&&void0!==arguments[2]&&arguments[2];this._storage.setItem(e,t),n||this.emit("changed")}removeItem(e){this._storage.removeItem(e),this.emit("changed")}key(e){returnthis._storage.key(e)}serialize(){lete=arguments.length>0&&void0!==arguments[0]?arguments[0]:[];if(this.isLocalStorageDisabled())returnthis._storage.serialize(e);constt=this._storage.length,n={};for(letr=0;r<t;r++){constt=this._storage.key(r);e.includes(t)||(n[t]=this._storage.getItem(t))}returnJSON.stringify(n)}};vara=n(571);functionc(e){returna.parse(e)}constd=["__proto__","constructor","prototype"];varl;!function(e){e[e.PaymentRequired=402]="PaymentRequired"}(l||(l={}));functionu(e){constt=newRegExp("^([a-z][a-z0-9\\.\\+-]*:)+","gi"),n=t.exec(e);if(n){letr=n[n.length-1].toLowerCase();"http:"!==r&&"https:"!==r&&(r="https:"),(e=e.substring(t.lastIndex)).startsWith("//")&&(e=r+e)}returne}functionp(e={}){constt=[];for(constnine)try{t.push(`${n}=${encodeURIComponent(JSON.stringify(e[n]))}`)}catch(e){console.warn(`Error encoding ${n}: ${e}`)}returnt}functionh(e){constt={toString:g};letn,r,i;if(e=e.replace(/\s/g,""),n=newRegExp("^([a-z][a-z0-9\\.\\+-]*:)","gi"),r=n.exec(e),r&&(t.protocol=r[1].toLowerCase(),e=e.substring(n.lastIndex)),n=newRegExp("^(//[^/?#]+)","gi"),r=n.exec(e),r){leti=r[1].substring(2);e=e.substring(n.lastIndex);consts=i.indexOf("@");-1!==s&&(i=i.substring(s+1)),t.host=i;consto=i.lastIndexOf(":");-1!==o&&(t.port=i.substring(o+1),i=i.substring(0,o)),t.hostname=i}if(n=newRegExp("^([^?#]*)","gi"),r=n.exec(e),r&&(i=r[1],e=e.substring(n.lastIndex)),i?i.startsWith("/")||(i=`/${i}`):i="/",t.pathname=i,e.startsWith("?")){letn=e.indexOf("#",1);-1===n&&(n=e.length),t.search=e.substring(0,n),e=e.substring(n)}elset.search="";returnt.hash=e.startsWith("#")?e:"",t}functiong(e){const{hash:t,host:n,pathname:r,protocol:i,search:s}=e||this;leto="";returni&&(o+=i),n&&(o+=`//${n}`),o+=r||"/",s&&(o+=s),t&&(o+=t),o}functionm(e){lett;t=e.serverURL&&e.room?newURL(e.room,e.serverURL).toString():e.room?e.room:e.url||"";constn=h(u(t));if(!n.protocol){lett=e.protocol||e.scheme;t&&(t.endsWith(":")||(t+=":"),n.protocol=t)}let{pathname:r}=n;if(!n.host){constt=e.domain||e.host||e.host