!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:()=>D});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||!e)returne;varn=e[Symbol.toPrimitive];if(void0!==n){varr=n.call(e,"string");if("object"!=typeofr)returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}returnString(e)}(e);return"symbol"==typeoft?t: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)}};n(449);vara=n(571);functionc(e){returna.parse(e)}constl=["__proto__","constructor","prototype"];vard;!function(e){e[e.PaymentRequired=402]="PaymentRequired"}(d||(d={}));constu="(//[^/?#]+)",h="([^?#]*)",p="^([a-z][a-z0-9\\.\\+-]*:)";functiong(e){constt=newRegExp(`${p}+`,"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}functionm(e={}){constt=[];for(constnine)try{t.push(`${n}=${encodeURIComponent(JSON.stringify(e[n]))}`)}catch(e){console.warn(`Error encoding ${n}: ${e}`)}returnt}functionf(e){constt={toString:v};letn,r,i;if(e=e.replace(/\s/g,""),n=newRegExp(p,"gi"),r=n.exec(e),r&&(t.protocol=r[1].toLowerCase(),e=e.substring(n.lastIndex)),n=newRegExp(`^${u}`,"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(`^${h}`,"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}functionv(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}consty={window:window.opener||window.parent},_="message";classb{constructor(){let{postisOptions:e}=arguments.length>0&&void0!==arguments[0]?arguments[0]:{};this.postis=function(e){vart,n=e.scope,r=e.window,i=e.windowForEventListening||window,s=e.allowedOrigin,o={},