@cometchat/calls-sdk-react-native 4.0.5-beta1 → 4.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/Constants.d.ts +721 -721
  2. package/dist/Helper copy.d.ts +1 -1
  3. package/dist/Helper.d.ts +7 -7
  4. package/dist/api/APIHandler.d.ts +42 -42
  5. package/dist/api/endpoints.d.ts +7 -7
  6. package/dist/api/helper.d.ts +69 -69
  7. package/dist/api/index.d.ts +2 -2
  8. package/dist/constants/CallConstants.d.ts +136 -136
  9. package/dist/constants/index.d.ts +1 -1
  10. package/dist/index.d.ts +9 -9
  11. package/dist/index.js +7 -7
  12. package/dist/models/CallAppSettings.d.ts +42 -42
  13. package/dist/models/CallGroup.d.ts +14 -14
  14. package/dist/models/CallLog.d.ts +276 -276
  15. package/dist/models/CallLogFilterParams.d.ts +97 -97
  16. package/dist/models/CallSettings.d.ts +316 -316
  17. package/dist/models/CallUser.d.ts +14 -14
  18. package/dist/models/CometChatCallLogs.d.ts +193 -193
  19. package/dist/models/CometChatCalls.d.ts +110 -110
  20. package/dist/models/CometChatCallsComponent.d.ts +13 -13
  21. package/dist/models/CometChatCallsComponentCore.d.ts +18 -18
  22. package/dist/models/CometChatCallsException.d.ts +7 -7
  23. package/dist/models/CometChatPresenterComponent.d.ts +13 -13
  24. package/dist/models/ErrorModel.d.ts +11 -11
  25. package/dist/models/Listner.d.ts +64 -64
  26. package/dist/models/ListnerHandler.d.ts +10 -10
  27. package/dist/models/MessageComponent.d.ts +7 -7
  28. package/dist/models/Participant.d.ts +184 -184
  29. package/dist/models/PresenterSettings.d.ts +194 -194
  30. package/dist/models/RTCUser.d.ts +18 -18
  31. package/dist/models/Recording.d.ts +86 -86
  32. package/dist/models/index.d.ts +9 -9
  33. package/dist/types/ICallAppSettings.d.ts +6 -6
  34. package/dist/types/ICallSettings.d.ts +60 -60
  35. package/dist/types/RTCUser.d.ts +6 -6
  36. package/dist/types/callEvents.d.ts +53 -53
  37. package/dist/types/common.d.ts +17 -17
  38. package/dist/types/index.d.ts +2 -2
  39. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  var eh=Object.defineProperty,th=Object.defineProperties;var nh=Object.getOwnPropertyDescriptors;var xo=Object.getOwnPropertySymbols,ih=Object.getPrototypeOf,Fl=Object.prototype.hasOwnProperty,jl=Object.prototype.propertyIsEnumerable,rh=Reflect.get;var ja=(E,u,o)=>u in E?eh(E,u,{enumerable:!0,configurable:!0,writable:!0,value:o}):E[u]=o,Ft=(E,u)=>{for(var o in u||(u={}))Fl.call(u,o)&&ja(E,o,u[o]);if(xo)for(var o of xo(u))jl.call(u,o)&&ja(E,o,u[o]);return E},dn=(E,u)=>th(E,nh(u));var ro=(E,u)=>{var o={};for(var l in E)Fl.call(E,l)&&u.indexOf(l)<0&&(o[l]=E[l]);if(E!=null&&xo)for(var l of xo(E))u.indexOf(l)<0&&jl.call(E,l)&&(o[l]=E[l]);return o};var wt=(E,u,o)=>(ja(E,typeof u!="symbol"?u+"":u,o),o);var Vl=(E,u,o)=>rh(ih(E),o,u);var mi=(E,u,o)=>new Promise((l,y)=>{var m=p=>{try{j(o.next(p))}catch(g){y(g)}},v=p=>{try{j(o.throw(p))}catch(g){y(g)}},j=p=>p.done?l(p.value):Promise.resolve(p.value).then(m,v);j((o=o.apply(E,u)).next())});(function(u,o){if(typeof exports=="object"&&typeof module=="object")module.exports=o(require("react"),require("react-native"),require("react-native-webrtc"),require("react-native-background-timer"),require("@react-native-async-storage/async-storage"),require("react-native-callstats/csio-polyfill"),require("react-native-callstats/callstats"));else if(typeof define=="function"&&define.amd)define(["react","react-native","react-native-webrtc","react-native-background-timer","@react-native-async-storage/async-storage","react-native-callstats/csio-polyfill","react-native-callstats/callstats"],o);else{var l=typeof exports=="object"?o(require("react"),require("react-native"),require("react-native-webrtc"),require("react-native-background-timer"),require("@react-native-async-storage/async-storage"),require("react-native-callstats/csio-polyfill"),require("react-native-callstats/callstats")):o(u.react,u["react-native"],u["react-native-webrtc"],u["react-native-background-timer"],u["@react-native-async-storage/async-storage"],u["react-native-callstats/csio-polyfill"],u["react-native-callstats/callstats"]);for(var y in l)(typeof exports=="object"?exports:u)[y]=l[y]}})(self,(__WEBPACK_EXTERNAL_MODULE__156__,__WEBPACK_EXTERNAL_MODULE__925__,__WEBPACK_EXTERNAL_MODULE__941__,__WEBPACK_EXTERNAL_MODULE__559__,__WEBPACK_EXTERNAL_MODULE__878__,__WEBPACK_EXTERNAL_MODULE__394__,__WEBPACK_EXTERNAL_MODULE__650__)=>(()=>{var __webpack_modules__={173:(module,__unused_webpack_exports,__webpack_require__)=>{/*! For license information please see index.js.LICENSE.txt */(function(E,u){if(!0)module.exports=u(__webpack_require__(156),__webpack_require__(925),__webpack_require__(941),__webpack_require__(559),__webpack_require__(878),__webpack_require__(394),__webpack_require__(650));else var o,l})(self,(__WEBPACK_EXTERNAL_MODULE__8156__,__WEBPACK_EXTERNAL_MODULE__9925__,__WEBPACK_EXTERNAL_MODULE__9941__,__WEBPACK_EXTERNAL_MODULE__5559__,__WEBPACK_EXTERNAL_MODULE__6878__,__WEBPACK_EXTERNAL_MODULE__3394__,__WEBPACK_EXTERNAL_MODULE__3650__)=>(()=>{var __webpack_modules__={6427:(E,u)=>{"use strict";function o(m,v){return v===void 0&&(v=Object),v&&typeof v.freeze=="function"?v.freeze(m):m}var l=o({HTML:"text/html",isHTML:function(m){return m===l.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),y=o({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(m){return m===y.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});u.freeze=o,u.MIME_TYPE=l,u.NAMESPACE=y},9775:(E,u,o)=>{var l=o(6427),y=o(8368),m=o(985),v=o(4751),j=y.DOMImplementation,p=l.NAMESPACE,g=v.ParseError,_=v.XMLReader;function w(P){this.options=P||{locator:{}}}function O(){this.cdata=!1}function x(P,Y){Y.lineNumber=P.lineNumber,Y.columnNumber=P.columnNumber}function F(P,Y,me){return typeof P=="string"?P.substr(Y,me):P.length>=Y+me||Y?new java.lang.String(P,Y,me)+"":P}function G(P,Y){P.currentElement?P.currentElement.appendChild(Y):P.doc.appendChild(Y)}w.prototype.parseFromString=function(P,Y){var me=this.options,ge=new _,Be=me.domBuilder||new O,it=me.errorHandler,be=me.locator,Re=me.xmlns||{},T=/\/x?html?$/.test(Y),at=T?m.HTML_ENTITIES:m.XML_ENTITIES;return be&&Be.setDocumentLocator(be),ge.errorHandler=function(Ee,Le,Xe){if(!Ee){if(Le instanceof O)return Le;Ee=Le}var se={},Ze=Ee instanceof Function;function Fe(dt){var $e=Ee[dt];!$e&&Ze&&($e=Ee.length==2?function(ae){Ee(dt,ae)}:Ee),se[dt]=$e&&function(ae){$e("[xmldom "+dt+"] "+ae+function(f){if(f)return`
2
- @`+(f.systemId||"")+"#[line:"+f.lineNumber+",col:"+f.columnNumber+"]"}(Xe))}||function(){}}return Xe=Xe||{},Fe("warning"),Fe("error"),Fe("fatalError"),se}(it,Be,be),ge.domBuilder=me.domBuilder||Be,T&&(Re[""]=p.HTML),Re.xml=Re.xml||p.XML,P&&typeof P=="string"?ge.parse(P,Re,at):ge.errorHandler.error("invalid doc source"),Be.doc},O.prototype={startDocument:function(){this.doc=new j().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(P,Y,me,ge){var Be=this.doc,it=Be.createElementNS(P,me||Y),be=ge.length;G(this,it),this.currentElement=it,this.locator&&x(this.locator,it);for(var Re=0;Re<be;Re++){P=ge.getURI(Re);var T=ge.getValue(Re),at=(me=ge.getQName(Re),Be.createAttributeNS(P,me));this.locator&&x(ge.getLocator(Re),at),at.value=at.nodeValue=T,it.setAttributeNode(at)}},endElement:function(P,Y,me){var ge=this.currentElement;ge.tagName,this.currentElement=ge.parentNode},startPrefixMapping:function(P,Y){},endPrefixMapping:function(P){},processingInstruction:function(P,Y){var me=this.doc.createProcessingInstruction(P,Y);this.locator&&x(this.locator,me),G(this,me)},ignorableWhitespace:function(P,Y,me){},characters:function(P,Y,me){if(P=F.apply(this,arguments)){if(this.cdata)var ge=this.doc.createCDATASection(P);else ge=this.doc.createTextNode(P);this.currentElement?this.currentElement.appendChild(ge):/^\s*$/.test(P)&&this.doc.appendChild(ge),this.locator&&x(this.locator,ge)}},skippedEntity:function(P){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(P){(this.locator=P)&&(P.lineNumber=0)},comment:function(P,Y,me){P=F.apply(this,arguments);var ge=this.doc.createComment(P);this.locator&&x(this.locator,ge),G(this,ge)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(P,Y,me){var ge=this.doc.implementation;if(ge&&ge.createDocumentType){var Be=ge.createDocumentType(P,Y,me);this.locator&&x(this.locator,Be),G(this,Be),this.doc.doctype=Be}},warning:function(P){},error:function(P){},fatalError:function(P){throw new g(P,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(P){O.prototype[P]=function(){return null}}),u.DOMParser=w,y.DOMImplementation,y.XMLSerializer},8368:(E,u,o)=>{var l=o(6427).NAMESPACE;function y(k){return k!==""}function m(k,Q){return k.hasOwnProperty(Q)||(k[Q]=!0),k}function v(k){if(!k)return[];var Q=function(ie){return ie?ie.split(/[\t\n\f\r ]+/).filter(y):[]}(k);return Object.keys(Q.reduce(m,{}))}function j(k,Q){for(var ie in k)Q[ie]=k[ie]}function p(k,Q){var ie=k.prototype;if(!(ie instanceof Q)){let Pe=function(){};var ce=Pe;Pe.prototype=Q.prototype,j(ie,Pe=new Pe),k.prototype=ie=Pe}ie.constructor!=k&&(ie.constructor=k)}var g={},_=g.ELEMENT_NODE=1,w=g.ATTRIBUTE_NODE=2,O=g.TEXT_NODE=3,x=g.CDATA_SECTION_NODE=4,F=g.ENTITY_REFERENCE_NODE=5,G=g.ENTITY_NODE=6,P=g.PROCESSING_INSTRUCTION_NODE=7,Y=g.COMMENT_NODE=8,me=g.DOCUMENT_NODE=9,ge=g.DOCUMENT_TYPE_NODE=10,Be=g.DOCUMENT_FRAGMENT_NODE=11,it=g.NOTATION_NODE=12,be={},Re={},T=(be.INDEX_SIZE_ERR=(Re[1]="Index size error",1),be.DOMSTRING_SIZE_ERR=(Re[2]="DOMString size error",2),be.HIERARCHY_REQUEST_ERR=(Re[3]="Hierarchy request error",3)),at=(be.WRONG_DOCUMENT_ERR=(Re[4]="Wrong document",4),be.INVALID_CHARACTER_ERR=(Re[5]="Invalid character",5),be.NO_DATA_ALLOWED_ERR=(Re[6]="No data allowed",6),be.NO_MODIFICATION_ALLOWED_ERR=(Re[7]="No modification allowed",7),be.NOT_FOUND_ERR=(Re[8]="Not found",8)),Ee=(be.NOT_SUPPORTED_ERR=(Re[9]="Not supported",9),be.INUSE_ATTRIBUTE_ERR=(Re[10]="Attribute in use",10));be.INVALID_STATE_ERR=(Re[11]="Invalid state",11),be.SYNTAX_ERR=(Re[12]="Syntax error",12),be.INVALID_MODIFICATION_ERR=(Re[13]="Invalid modification",13),be.NAMESPACE_ERR=(Re[14]="Invalid namespace",14),be.INVALID_ACCESS_ERR=(Re[15]="Invalid access",15);function Le(k,Q){if(Q instanceof Error)var ie=Q;else ie=this,Error.call(this,Re[k]),this.message=Re[k],Error.captureStackTrace&&Error.captureStackTrace(this,Le);return ie.code=k,Q&&(this.message=this.message+": "+Q),ie}function Xe(){}function se(k,Q){this._node=k,this._refresh=Q,Ze(this)}function Ze(k){var Q=k._node._inc||k._node.ownerDocument._inc;if(k._inc!=Q){var ie=k._refresh(k._node);Me(k,"length",ie.length),j(ie,k),k._inc=Q}}function Fe(){}function dt(k,Q){for(var ie=k.length;ie--;)if(k[ie]===Q)return ie}function $e(k,Q,ie,ce){if(ce?Q[dt(Q,ce)]=ie:Q[Q.length++]=ie,k){ie.ownerElement=k;var Pe=k.ownerDocument;Pe&&(ce&&Se(Pe,k,ce),function(je,lt,gt){je&&je._inc++;var pt=gt.namespaceURI;pt===l.XMLNS&&(lt._nsMap[gt.prefix?gt.localName:""]=gt.value)}(Pe,k,ie))}}function ae(k,Q,ie){var ce=dt(Q,ie);if(!(ce>=0))throw Le(at,new Error(k.tagName+"@"+ie));for(var Pe=Q.length-1;ce<Pe;)Q[ce]=Q[++ce];if(Q.length=Pe,k){var je=k.ownerDocument;je&&(Se(je,k,ie),ie.ownerElement=null)}}function f(){}function D(){}function H(k){return(k=="<"?"&lt;":k==">"&&"&gt;")||k=="&"&&"&amp;"||k=='"'&&"&quot;"||"&#"+k.charCodeAt()+";"}function z(k,Q){if(Q(k))return!0;if(k=k.firstChild)do if(z(k,Q))return!0;while(k=k.nextSibling)}function ve(){}function Se(k,Q,ie,ce){k&&k._inc++,ie.namespaceURI===l.XMLNS&&delete Q._nsMap[ie.prefix?ie.localName:""]}function pe(k,Q,ie){if(k&&k._inc){k._inc++;var ce=Q.childNodes;if(ie)ce[ce.length++]=ie;else{for(var Pe=Q.firstChild,je=0;Pe;)ce[je++]=Pe,Pe=Pe.nextSibling;ce.length=je}}}function he(k,Q){var ie=Q.previousSibling,ce=Q.nextSibling;return ie?ie.nextSibling=ce:k.firstChild=ce,ce?ce.previousSibling=ie:k.lastChild=ie,pe(k.ownerDocument,k),Q}function De(k,Q,ie){var ce=Q.parentNode;if(ce&&ce.removeChild(Q),Q.nodeType===Be){var Pe=Q.firstChild;if(Pe==null)return Q;var je=Q.lastChild}else Pe=je=Q;var lt=ie?ie.previousSibling:k.lastChild;Pe.previousSibling=lt,je.nextSibling=ie,lt?lt.nextSibling=Pe:k.firstChild=Pe,ie==null?k.lastChild=je:ie.previousSibling=je;do Pe.parentNode=k;while(Pe!==je&&(Pe=Pe.nextSibling));return pe(k.ownerDocument||k,k),Q.nodeType==Be&&(Q.firstChild=Q.lastChild=null),Q}function R(){this._nsMap={}}function U(){}function Z(){}function _e(){}function Ve(){}function Ie(){}function mt(){}function jt(){}function qe(){}function He(){}function It(){}function Gt(){}function Xt(){}function Ht(k,Q){var ie=[],ce=this.nodeType==9&&this.documentElement||this,Pe=ce.prefix,je=ce.namespaceURI;if(je&&Pe==null&&(Pe=ce.lookupPrefix(je))==null)var lt=[{namespace:je,prefix:null}];return _t(this,ie,k,Q,lt),ie.join("")}function qt(k,Q,ie){var ce=k.prefix||"",Pe=k.namespaceURI;if(!Pe||ce==="xml"&&Pe===l.XML||Pe===l.XMLNS)return!1;for(var je=ie.length;je--;){var lt=ie[je];if(lt.prefix===ce)return lt.namespace!==Pe}return!0}function Wt(k,Q,ie){k.push(" ",Q,'="',ie.replace(/[<&"]/g,H),'"')}function _t(k,Q,ie,ce,Pe){if(Pe||(Pe=[]),ce){if(!(k=ce(k)))return;if(typeof k=="string")return void Q.push(k)}switch(k.nodeType){case _:var je=k.attributes,lt=je.length,gt=k.firstChild,pt=k.tagName,xe=pt;if(!(ie=l.isHTML(k.namespaceURI)||ie)&&!k.prefix&&k.namespaceURI){for(var Dt,oi=0;oi<je.length;oi++)if(je.item(oi).name==="xmlns"){Dt=je.item(oi).value;break}if(!Dt){for(var Kn=Pe.length-1;Kn>=0;Kn--)if((li=Pe[Kn]).prefix===""&&li.namespace===k.namespaceURI){Dt=li.namespace;break}}if(Dt!==k.namespaceURI)for(Kn=Pe.length-1;Kn>=0;Kn--){var li;if((li=Pe[Kn]).namespace===k.namespaceURI){li.prefix&&(xe=li.prefix+":"+pt);break}}}Q.push("<",xe);for(var hn=0;hn<lt;hn++)(At=je.item(hn)).prefix=="xmlns"?Pe.push({prefix:At.localName,namespace:At.value}):At.nodeName=="xmlns"&&Pe.push({prefix:"",namespace:At.value});for(hn=0;hn<lt;hn++){var At,en,Pn;qt(At=je.item(hn),0,Pe)&&(Wt(Q,(en=At.prefix||"")?"xmlns:"+en:"xmlns",Pn=At.namespaceURI),Pe.push({prefix:en,namespace:Pn})),_t(At,Q,ie,ce,Pe)}if(pt===xe&&qt(k,0,Pe)&&(Wt(Q,(en=k.prefix||"")?"xmlns:"+en:"xmlns",Pn=k.namespaceURI),Pe.push({prefix:en,namespace:Pn})),gt||ie&&!/^(?:meta|link|img|br|hr|input)$/i.test(pt)){if(Q.push(">"),ie&&/^script$/i.test(pt))for(;gt;)gt.data?Q.push(gt.data):_t(gt,Q,ie,ce,Pe.slice()),gt=gt.nextSibling;else for(;gt;)_t(gt,Q,ie,ce,Pe.slice()),gt=gt.nextSibling;Q.push("</",xe,">")}else Q.push("/>");return;case me:case Be:for(gt=k.firstChild;gt;)_t(gt,Q,ie,ce,Pe.slice()),gt=gt.nextSibling;return;case w:return Wt(Q,k.name,k.value);case O:return Q.push(k.data.replace(/[<&]/g,H).replace(/]]>/g,"]]&gt;"));case x:return Q.push("<![CDATA[",k.data,"]]>");case Y:return Q.push("<!--",k.data,"-->");case ge:var yi=k.publicId,jn=k.systemId;if(Q.push("<!DOCTYPE ",k.name),yi)Q.push(" PUBLIC ",yi),jn&&jn!="."&&Q.push(" ",jn),Q.push(">");else if(jn&&jn!=".")Q.push(" SYSTEM ",jn,">");else{var Ei=k.internalSubset;Ei&&Q.push(" [",Ei,"]"),Q.push(">")}return;case P:return Q.push("<?",k.target," ",k.data,"?>");case F:return Q.push("&",k.nodeName,";");default:Q.push("??",k.nodeName)}}function Zt(k,Q,ie){var ce;switch(Q.nodeType){case _:(ce=Q.cloneNode(!1)).ownerDocument=k;case Be:break;case w:ie=!0}if(ce||(ce=Q.cloneNode(!1)),ce.ownerDocument=k,ce.parentNode=null,ie)for(var Pe=Q.firstChild;Pe;)ce.appendChild(Zt(k,Pe,ie)),Pe=Pe.nextSibling;return ce}function q(k,Q,ie){var ce=new Q.constructor;for(var Pe in Q){var je=Q[Pe];typeof je!="object"&&je!=ce[Pe]&&(ce[Pe]=je)}switch(Q.childNodes&&(ce.childNodes=new Xe),ce.ownerDocument=k,ce.nodeType){case _:var lt=Q.attributes,gt=ce.attributes=new Fe,pt=lt.length;gt._ownerElement=ce;for(var xe=0;xe<pt;xe++)ce.setAttributeNode(q(k,lt.item(xe),!0));break;case w:ie=!0}if(ie)for(var Dt=Q.firstChild;Dt;)ce.appendChild(q(k,Dt,ie)),Dt=Dt.nextSibling;return ce}function Me(k,Q,ie){k[Q]=ie}Le.prototype=Error.prototype,j(be,Le),Xe.prototype={length:0,item:function(k){return this[k]||null},toString:function(k,Q){for(var ie=[],ce=0;ce<this.length;ce++)_t(this[ce],ie,k,Q);return ie.join("")}},se.prototype.item=function(k){return Ze(this),this[k]},p(se,Xe),Fe.prototype={length:0,item:Xe.prototype.item,getNamedItem:function(k){for(var Q=this.length;Q--;){var ie=this[Q];if(ie.nodeName==k)return ie}},setNamedItem:function(k){var Q=k.ownerElement;if(Q&&Q!=this._ownerElement)throw new Le(Ee);var ie=this.getNamedItem(k.nodeName);return $e(this._ownerElement,this,k,ie),ie},setNamedItemNS:function(k){var Q,ie=k.ownerElement;if(ie&&ie!=this._ownerElement)throw new Le(Ee);return Q=this.getNamedItemNS(k.namespaceURI,k.localName),$e(this._ownerElement,this,k,Q),Q},removeNamedItem:function(k){var Q=this.getNamedItem(k);return ae(this._ownerElement,this,Q),Q},removeNamedItemNS:function(k,Q){var ie=this.getNamedItemNS(k,Q);return ae(this._ownerElement,this,ie),ie},getNamedItemNS:function(k,Q){for(var ie=this.length;ie--;){var ce=this[ie];if(ce.localName==Q&&ce.namespaceURI==k)return ce}return null}},f.prototype={hasFeature:function(k,Q){return!0},createDocument:function(k,Q,ie){var ce=new ve;if(ce.implementation=this,ce.childNodes=new Xe,ce.doctype=ie||null,ie&&ce.appendChild(ie),Q){var Pe=ce.createElementNS(k,Q);ce.appendChild(Pe)}return ce},createDocumentType:function(k,Q,ie){var ce=new mt;return ce.name=k,ce.nodeName=k,ce.publicId=Q||"",ce.systemId=ie||"",ce}},D.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(k,Q){return De(this,k,Q)},replaceChild:function(k,Q){this.insertBefore(k,Q),Q&&this.removeChild(Q)},removeChild:function(k){return he(this,k)},appendChild:function(k){return this.insertBefore(k,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(k){return q(this.ownerDocument||this,this,k)},normalize:function(){for(var k=this.firstChild;k;){var Q=k.nextSibling;Q&&Q.nodeType==O&&k.nodeType==O?(this.removeChild(Q),k.appendData(Q.data)):(k.normalize(),k=Q)}},isSupported:function(k,Q){return this.ownerDocument.implementation.hasFeature(k,Q)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(k){for(var Q=this;Q;){var ie=Q._nsMap;if(ie){for(var ce in ie)if(ie[ce]==k)return ce}Q=Q.nodeType==w?Q.ownerDocument:Q.parentNode}return null},lookupNamespaceURI:function(k){for(var Q=this;Q;){var ie=Q._nsMap;if(ie&&k in ie)return ie[k];Q=Q.nodeType==w?Q.ownerDocument:Q.parentNode}return null},isDefaultNamespace:function(k){return this.lookupPrefix(k)==null}},j(g,D),j(g,D.prototype),ve.prototype={nodeName:"#document",nodeType:me,doctype:null,documentElement:null,_inc:1,insertBefore:function(k,Q){if(k.nodeType==Be){for(var ie=k.firstChild;ie;){var ce=ie.nextSibling;this.insertBefore(ie,Q),ie=ce}return k}return this.documentElement==null&&k.nodeType==_&&(this.documentElement=k),De(this,k,Q),k.ownerDocument=this,k},removeChild:function(k){return this.documentElement==k&&(this.documentElement=null),he(this,k)},importNode:function(k,Q){return Zt(this,k,Q)},getElementById:function(k){var Q=null;return z(this.documentElement,function(ie){if(ie.nodeType==_&&ie.getAttribute("id")==k)return Q=ie,!0}),Q},getElementsByClassName:function(k){var Q=v(k);return new se(this,function(ie){var ce=[];return Q.length>0&&z(ie.documentElement,function(Pe){if(Pe!==ie&&Pe.nodeType===_){var je=Pe.getAttribute("class");if(je){var lt=k===je;if(!lt){var gt=v(je);lt=Q.every((pt=gt,function(xe){return pt&&pt.indexOf(xe)!==-1}))}lt&&ce.push(Pe)}}var pt}),ce})},createElement:function(k){var Q=new R;return Q.ownerDocument=this,Q.nodeName=k,Q.tagName=k,Q.localName=k,Q.childNodes=new Xe,(Q.attributes=new Fe)._ownerElement=Q,Q},createDocumentFragment:function(){var k=new It;return k.ownerDocument=this,k.childNodes=new Xe,k},createTextNode:function(k){var Q=new _e;return Q.ownerDocument=this,Q.appendData(k),Q},createComment:function(k){var Q=new Ve;return Q.ownerDocument=this,Q.appendData(k),Q},createCDATASection:function(k){var Q=new Ie;return Q.ownerDocument=this,Q.appendData(k),Q},createProcessingInstruction:function(k,Q){var ie=new Gt;return ie.ownerDocument=this,ie.tagName=ie.target=k,ie.nodeValue=ie.data=Q,ie},createAttribute:function(k){var Q=new U;return Q.ownerDocument=this,Q.name=k,Q.nodeName=k,Q.localName=k,Q.specified=!0,Q},createEntityReference:function(k){var Q=new He;return Q.ownerDocument=this,Q.nodeName=k,Q},createElementNS:function(k,Q){var ie=new R,ce=Q.split(":"),Pe=ie.attributes=new Fe;return ie.childNodes=new Xe,ie.ownerDocument=this,ie.nodeName=Q,ie.tagName=Q,ie.namespaceURI=k,ce.length==2?(ie.prefix=ce[0],ie.localName=ce[1]):ie.localName=Q,Pe._ownerElement=ie,ie},createAttributeNS:function(k,Q){var ie=new U,ce=Q.split(":");return ie.ownerDocument=this,ie.nodeName=Q,ie.name=Q,ie.namespaceURI=k,ie.specified=!0,ce.length==2?(ie.prefix=ce[0],ie.localName=ce[1]):ie.localName=Q,ie}},p(ve,D),R.prototype={nodeType:_,hasAttribute:function(k){return this.getAttributeNode(k)!=null},getAttribute:function(k){var Q=this.getAttributeNode(k);return Q&&Q.value||""},getAttributeNode:function(k){return this.attributes.getNamedItem(k)},setAttribute:function(k,Q){var ie=this.ownerDocument.createAttribute(k);ie.value=ie.nodeValue=""+Q,this.setAttributeNode(ie)},removeAttribute:function(k){var Q=this.getAttributeNode(k);Q&&this.removeAttributeNode(Q)},appendChild:function(k){return k.nodeType===Be?this.insertBefore(k,null):function(Q,ie){var ce=ie.parentNode;if(ce){var Pe=Q.lastChild;ce.removeChild(ie),Pe=Q.lastChild}return Pe=Q.lastChild,ie.parentNode=Q,ie.previousSibling=Pe,ie.nextSibling=null,Pe?Pe.nextSibling=ie:Q.firstChild=ie,Q.lastChild=ie,pe(Q.ownerDocument,Q,ie),ie}(this,k)},setAttributeNode:function(k){return this.attributes.setNamedItem(k)},setAttributeNodeNS:function(k){return this.attributes.setNamedItemNS(k)},removeAttributeNode:function(k){return this.attributes.removeNamedItem(k.nodeName)},removeAttributeNS:function(k,Q){var ie=this.getAttributeNodeNS(k,Q);ie&&this.removeAttributeNode(ie)},hasAttributeNS:function(k,Q){return this.getAttributeNodeNS(k,Q)!=null},getAttributeNS:function(k,Q){var ie=this.getAttributeNodeNS(k,Q);return ie&&ie.value||""},setAttributeNS:function(k,Q,ie){var ce=this.ownerDocument.createAttributeNS(k,Q);ce.value=ce.nodeValue=""+ie,this.setAttributeNode(ce)},getAttributeNodeNS:function(k,Q){return this.attributes.getNamedItemNS(k,Q)},getElementsByTagName:function(k){return new se(this,function(Q){var ie=[];return z(Q,function(ce){ce===Q||ce.nodeType!=_||k!=="*"&&ce.tagName!=k||ie.push(ce)}),ie})},getElementsByTagNameNS:function(k,Q){return new se(this,function(ie){var ce=[];return z(ie,function(Pe){Pe===ie||Pe.nodeType!==_||k!=="*"&&Pe.namespaceURI!==k||Q!=="*"&&Pe.localName!=Q||ce.push(Pe)}),ce})}},ve.prototype.getElementsByTagName=R.prototype.getElementsByTagName,ve.prototype.getElementsByTagNameNS=R.prototype.getElementsByTagNameNS,p(R,D),U.prototype.nodeType=w,p(U,D),Z.prototype={data:"",substringData:function(k,Q){return this.data.substring(k,k+Q)},appendData:function(k){k=this.data+k,this.nodeValue=this.data=k,this.length=k.length},insertData:function(k,Q){this.replaceData(k,0,Q)},appendChild:function(k){throw new Error(Re[T])},deleteData:function(k,Q){this.replaceData(k,Q,"")},replaceData:function(k,Q,ie){ie=this.data.substring(0,k)+ie+this.data.substring(k+Q),this.nodeValue=this.data=ie,this.length=ie.length}},p(Z,D),_e.prototype={nodeName:"#text",nodeType:O,splitText:function(k){var Q=this.data,ie=Q.substring(k);Q=Q.substring(0,k),this.data=this.nodeValue=Q,this.length=Q.length;var ce=this.ownerDocument.createTextNode(ie);return this.parentNode&&this.parentNode.insertBefore(ce,this.nextSibling),ce}},p(_e,Z),Ve.prototype={nodeName:"#comment",nodeType:Y},p(Ve,Z),Ie.prototype={nodeName:"#cdata-section",nodeType:x},p(Ie,Z),mt.prototype.nodeType=ge,p(mt,D),jt.prototype.nodeType=it,p(jt,D),qe.prototype.nodeType=G,p(qe,D),He.prototype.nodeType=F,p(He,D),It.prototype.nodeName="#document-fragment",It.prototype.nodeType=Be,p(It,D),Gt.prototype.nodeType=P,p(Gt,D),Xt.prototype.serializeToString=function(k,Q,ie){return Ht.call(k,Q,ie)},D.prototype.toString=Ht;try{if(Object.defineProperty){let k=function(Q){switch(Q.nodeType){case _:case Be:var ie=[];for(Q=Q.firstChild;Q;)Q.nodeType!==7&&Q.nodeType!==8&&ie.push(k(Q)),Q=Q.nextSibling;return ie.join("");default:return Q.nodeValue}};var Ae=k;Object.defineProperty(se.prototype,"length",{get:function(){return Ze(this),this.$$length}}),Object.defineProperty(D.prototype,"textContent",{get:function(){return k(this)},set:function(Q){switch(this.nodeType){case _:case Be:for(;this.firstChild;)this.removeChild(this.firstChild);(Q||String(Q))&&this.appendChild(this.ownerDocument.createTextNode(Q));break;default:this.data=Q,this.value=Q,this.nodeValue=Q}}}),Me=function(Q,ie,ce){Q["$$"+ie]=ce}}}catch(k){}u.DocumentType=mt,u.DOMException=Le,u.DOMImplementation=f,u.Element=R,u.Node=D,u.NodeList=Xe,u.XMLSerializer=Xt},985:(E,u,o)=>{var l=o(6427).freeze;u.XML_ENTITIES=l({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),u.HTML_ENTITIES=l({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",times:"\xD7",divide:"\xF7",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",euro:"\u20AC",trade:"\u2122",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}),u.entityMap=u.HTML_ENTITIES},1081:(E,u,o)=>{var l=o(8368);l.DOMImplementation,l.XMLSerializer,u.DOMParser=o(9775).DOMParser},4751:(E,u,o)=>{var l=o(6427).NAMESPACE,y=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,m=new RegExp("[\\-\\.0-9"+y.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),v=new RegExp("^"+y.source+m.source+"*(?::"+y.source+m.source+"*)?$"),j=0,p=1,g=2,_=3,w=4,O=5,x=6,F=7;function G(Ee,Le){this.message=Ee,this.locator=Le,Error.captureStackTrace&&Error.captureStackTrace(this,G)}function P(){}function Y(Ee,Le){return Le.lineNumber=Ee.lineNumber,Le.columnNumber=Ee.columnNumber,Le}function me(Ee,Le,Xe,se,Ze,Fe){function dt(z,ve,Se){Xe.attributeNames.hasOwnProperty(z)&&Fe.fatalError("Attribute "+z+" redefined"),Xe.addValue(z,ve,Se)}for(var $e,ae=++Le,f=j;;){var D=Ee.charAt(ae);switch(D){case"=":if(f===p)$e=Ee.slice(Le,ae),f=_;else{if(f!==g)throw new Error("attribute equal must after attrName");f=_}break;case"'":case'"':if(f===_||f===p){if(f===p&&(Fe.warning('attribute value must after "="'),$e=Ee.slice(Le,ae)),Le=ae+1,!((ae=Ee.indexOf(D,Le))>0))throw new Error("attribute value no end '"+D+"' match");dt($e,H=Ee.slice(Le,ae).replace(/&#?\w+;/g,Ze),Le-1),f=O}else{if(f!=w)throw new Error('attribute value must after "="');dt($e,H=Ee.slice(Le,ae).replace(/&#?\w+;/g,Ze),Le),Fe.warning('attribute "'+$e+'" missed start quot('+D+")!!"),Le=ae+1,f=O}break;case"/":switch(f){case j:Xe.setTagName(Ee.slice(Le,ae));case O:case x:case F:f=F,Xe.closed=!0;case w:case p:case g:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return Fe.error("unexpected end of input"),f==j&&Xe.setTagName(Ee.slice(Le,ae)),ae;case">":switch(f){case j:Xe.setTagName(Ee.slice(Le,ae));case O:case x:case F:break;case w:case p:(H=Ee.slice(Le,ae)).slice(-1)==="/"&&(Xe.closed=!0,H=H.slice(0,-1));case g:f===g&&(H=$e),f==w?(Fe.warning('attribute "'+H+'" missed quot(")!'),dt($e,H.replace(/&#?\w+;/g,Ze),Le)):(l.isHTML(se[""])&&H.match(/^(?:disabled|checked|selected)$/i)||Fe.warning('attribute "'+H+'" missed value!! "'+H+'" instead!!'),dt(H,H,Le));break;case _:throw new Error("attribute value missed!!")}return ae;case"\x80":D=" ";default:if(D<=" ")switch(f){case j:Xe.setTagName(Ee.slice(Le,ae)),f=x;break;case p:$e=Ee.slice(Le,ae),f=g;break;case w:var H=Ee.slice(Le,ae).replace(/&#?\w+;/g,Ze);Fe.warning('attribute "'+H+'" missed quot(")!!'),dt($e,H,Le);case O:f=x}else switch(f){case g:Xe.tagName,l.isHTML(se[""])&&$e.match(/^(?:disabled|checked|selected)$/i)||Fe.warning('attribute "'+$e+'" missed value!! "'+$e+'" instead2!!'),dt($e,$e,Le),Le=ae,f=p;break;case O:Fe.warning('attribute space is required"'+$e+'"!!');case x:f=p,Le=ae;break;case _:f=w,Le=ae;break;case F:throw new Error("elements closed character '/' and '>' must be connected to")}}ae++}}function ge(Ee,Le,Xe){for(var se=Ee.tagName,Ze=null,Fe=Ee.length;Fe--;){var dt=Ee[Fe],$e=dt.qName,ae=dt.value;if((z=$e.indexOf(":"))>0)var f=dt.prefix=$e.slice(0,z),D=$e.slice(z+1),H=f==="xmlns"&&D;else D=$e,f=null,H=$e==="xmlns"&&"";dt.localName=D,H!==!1&&(Ze==null&&(Ze={},be(Xe,Xe={})),Xe[H]=Ze[H]=ae,dt.uri=l.XMLNS,Le.startPrefixMapping(H,ae))}for(Fe=Ee.length;Fe--;)(f=(dt=Ee[Fe]).prefix)&&(f==="xml"&&(dt.uri=l.XML),f!=="xmlns"&&(dt.uri=Xe[f||""]));var z;(z=se.indexOf(":"))>0?(f=Ee.prefix=se.slice(0,z),D=Ee.localName=se.slice(z+1)):(f=null,D=Ee.localName=se);var ve=Ee.uri=Xe[f||""];if(Le.startElement(ve,D,se,Ee),!Ee.closed)return Ee.currentNSMap=Xe,Ee.localNSMap=Ze,!0;if(Le.endElement(ve,D,se),Ze)for(f in Ze)Le.endPrefixMapping(f)}function Be(Ee,Le,Xe,se,Ze){if(/^(?:script|textarea)$/i.test(Xe)){var Fe=Ee.indexOf("</"+Xe+">",Le),dt=Ee.substring(Le+1,Fe);if(/[&<]/.test(dt))return/^script$/i.test(Xe)?(Ze.characters(dt,0,dt.length),Fe):(dt=dt.replace(/&#?\w+;/g,se),Ze.characters(dt,0,dt.length),Fe)}return Le+1}function it(Ee,Le,Xe,se){var Ze=se[Xe];return Ze==null&&((Ze=Ee.lastIndexOf("</"+Xe+">"))<Le&&(Ze=Ee.lastIndexOf("</"+Xe)),se[Xe]=Ze),Ze<Le}function be(Ee,Le){for(var Xe in Ee)Le[Xe]=Ee[Xe]}function Re(Ee,Le,Xe,se){if(Ee.charAt(Le+2)==="-")return Ee.charAt(Le+3)==="-"?(Ze=Ee.indexOf("-->",Le+4))>Le?(Xe.comment(Ee,Le+4,Ze-Le-4),Ze+3):(se.error("Unclosed comment"),-1):-1;if(Ee.substr(Le+3,6)=="CDATA["){var Ze=Ee.indexOf("]]>",Le+9);return Xe.startCDATA(),Xe.characters(Ee,Le+9,Ze-Le-9),Xe.endCDATA(),Ze+3}var Fe=function(H,z){var ve,Se=[],pe=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(pe.lastIndex=z,pe.exec(H);ve=pe.exec(H);)if(Se.push(ve),ve[1])return Se}(Ee,Le),dt=Fe.length;if(dt>1&&/!doctype/i.test(Fe[0][0])){var $e=Fe[1][0],ae=!1,f=!1;dt>3&&(/^public$/i.test(Fe[2][0])?(ae=Fe[3][0],f=dt>4&&Fe[4][0]):/^system$/i.test(Fe[2][0])&&(f=Fe[3][0]));var D=Fe[dt-1];return Xe.startDTD($e,ae,f),Xe.endDTD(),D.index+D[0].length}return-1}function T(Ee,Le,Xe){var se=Ee.indexOf("?>",Le);if(se){var Ze=Ee.substring(Le,se).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return Ze?(Ze[0].length,Xe.processingInstruction(Ze[1],Ze[2]),se+2):-1}return-1}function at(){this.attributeNames={}}G.prototype=new Error,G.prototype.name=G.name,P.prototype={parse:function(Ee,Le,Xe){var se=this.domBuilder;se.startDocument(),be(Le,Le={}),function(Ze,Fe,dt,$e,ae){function f(Zt){if(Zt>65535){var q=55296+((Zt-=65536)>>10),Me=56320+(1023&Zt);return String.fromCharCode(q,Me)}return String.fromCharCode(Zt)}function D(Zt){var q=Zt.slice(1,-1);return q in dt?dt[q]:q.charAt(0)==="#"?f(parseInt(q.substr(1).replace("x","0x"))):(ae.error("entity not found:"+Zt),Zt)}function H(Zt){if(Zt>U){var q=Ze.substring(U,Zt).replace(/&#?\w+;/g,D);he&&z(U),$e.characters(q,0,Zt-U),U=Zt}}function z(Zt,q){for(;Zt>=Se&&(q=pe.exec(Ze));)ve=q.index,Se=ve+q[0].length,he.lineNumber++;he.columnNumber=Zt-ve+1}for(var ve=0,Se=0,pe=/.*(?:\r\n?|\n)|.*$/g,he=$e.locator,De=[{currentNSMap:Fe}],R={},U=0;;){try{var Z=Ze.indexOf("<",U);if(Z<0){if(!Ze.substr(U).match(/^\s*$/)){var _e=$e.doc,Ve=_e.createTextNode(Ze.substr(U));_e.appendChild(Ve),$e.currentElement=Ve}return}switch(Z>U&&H(Z),Ze.charAt(Z+1)){case"/":var Ie=Ze.indexOf(">",Z+3),mt=Ze.substring(Z+2,Ie).replace(/[ \t\n\r]+$/g,""),jt=De.pop();Ie<0?(mt=Ze.substring(Z+2).replace(/[\s<].*/,""),ae.error("end tag name: "+mt+" is not complete:"+jt.tagName),Ie=Z+1+mt.length):mt.match(/\s</)&&(mt=mt.replace(/[\s<].*/,""),ae.error("end tag name: "+mt+" maybe not complete"),Ie=Z+1+mt.length);var qe=jt.localNSMap,He=jt.tagName==mt;if(He||jt.tagName&&jt.tagName.toLowerCase()==mt.toLowerCase()){if($e.endElement(jt.uri,jt.localName,mt),qe)for(var It in qe)$e.endPrefixMapping(It);He||ae.fatalError("end tag name: "+mt+" is not match the current start tagName:"+jt.tagName)}else De.push(jt);Ie++;break;case"?":he&&z(Z),Ie=T(Ze,Z,$e);break;case"!":he&&z(Z),Ie=Re(Ze,Z,$e,ae);break;default:he&&z(Z);var Gt=new at,Xt=De[De.length-1].currentNSMap,Ht=(Ie=me(Ze,Z,Gt,Xt,D,ae),Gt.length);if(!Gt.closed&&it(Ze,Ie,Gt.tagName,R)&&(Gt.closed=!0,dt.nbsp||ae.warning("unclosed xml attribute")),he&&Ht){for(var qt=Y(he,{}),Wt=0;Wt<Ht;Wt++){var _t=Gt[Wt];z(_t.offset),_t.locator=Y(he,{})}$e.locator=qt,ge(Gt,$e,Xt)&&De.push(Gt),$e.locator=he}else ge(Gt,$e,Xt)&&De.push(Gt);l.isHTML(Gt.uri)&&!Gt.closed?Ie=Be(Ze,Ie,Gt.tagName,D,$e):Ie++}}catch(Zt){if(Zt instanceof G)throw Zt;ae.error("element parse error: "+Zt),Ie=-1}Ie>U?U=Ie:H(Math.max(Z,U)+1)}}(Ee,Le,Xe,se,this.errorHandler),se.endDocument()}},at.prototype={setTagName:function(Ee){if(!v.test(Ee))throw new Error("invalid tagName:"+Ee);this.tagName=Ee},addValue:function(Ee,Le,Xe){if(!v.test(Ee))throw new Error("invalid attribute:"+Ee);this.attributeNames[Ee]=this.length,this[this.length++]={qName:Ee,value:Le,offset:Xe}},length:0,getLocalName:function(Ee){return this[Ee].localName},getLocator:function(Ee){return this[Ee].locator},getQName:function(Ee){return this[Ee].qName},getURI:function(Ee){return this[Ee].uri},getValue:function(Ee){return this[Ee].value}},u.XMLReader=P,u.ParseError=G},7139:(E,u,o)=>{"use strict";var l=o(1976),y=o(9377),m=o(6056),v=o(3495),j=o(3893),p=o(2371),g=o(4337),_=o(3058),w=o(8846),O=o(8780),x=o(2615),F=Object("a"),G=F[0]!=="a"||!(0 in F),P=O("String.prototype.split");E.exports=function(Y){var me,ge=_(this),Be=G&&x(ge)?P(ge,""):ge,it=g(Be.length);if(!p(Y))throw new TypeError("Array.prototype.map callback must be a function");arguments.length>1&&(me=arguments[1]);for(var be=l(ge,it),Re=0;Re<it;){var T=w(Re);if(j(ge,T)){var at=v(ge,T),Ee=y(Y,me,[at,Re,ge]);m(be,T,Ee)}Re+=1}return be}},7037:(E,u,o)=>{"use strict";var l=o(7921),y=o(560),m=o(8780),v=o(7139),j=o(2924),p=j(),g=o(4875),_=m("Array.prototype.slice"),w=function(O,x){return y(O),p.apply(O,_(arguments,1))};l(w,{getPolyfill:j,implementation:v,shim:g}),E.exports=w},2924:(E,u,o)=>{"use strict";var l=o(9427),y=o(7139);E.exports=function(){var m=Array.prototype.map;return l(m)?m:y}},4875:(E,u,o)=>{"use strict";var l=o(7921),y=o(2924);E.exports=function(){var m=y();return l(Array.prototype,{map:m},{map:function(){return Array.prototype.map!==m}}),m}},7943:(E,u)=>{"use strict";u.byteLength=function(g){var _=j(g),w=_[0],O=_[1];return 3*(w+O)/4-O},u.toByteArray=function(g){var _,w,O=j(g),x=O[0],F=O[1],G=new y(function(me,ge,Be){return 3*(ge+Be)/4-Be}(0,x,F)),P=0,Y=F>0?x-4:x;for(w=0;w<Y;w+=4)_=l[g.charCodeAt(w)]<<18|l[g.charCodeAt(w+1)]<<12|l[g.charCodeAt(w+2)]<<6|l[g.charCodeAt(w+3)],G[P++]=_>>16&255,G[P++]=_>>8&255,G[P++]=255&_;return F===2&&(_=l[g.charCodeAt(w)]<<2|l[g.charCodeAt(w+1)]>>4,G[P++]=255&_),F===1&&(_=l[g.charCodeAt(w)]<<10|l[g.charCodeAt(w+1)]<<4|l[g.charCodeAt(w+2)]>>2,G[P++]=_>>8&255,G[P++]=255&_),G},u.fromByteArray=function(g){for(var _,w=g.length,O=w%3,x=[],F=16383,G=0,P=w-O;G<P;G+=F)x.push(p(g,G,G+F>P?P:G+F));return O===1?(_=g[w-1],x.push(o[_>>2]+o[_<<4&63]+"==")):O===2&&(_=(g[w-2]<<8)+g[w-1],x.push(o[_>>10]+o[_>>4&63]+o[_<<2&63]+"=")),x.join("")};for(var o=[],l=[],y=typeof Uint8Array!="undefined"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0;v<64;++v)o[v]=m[v],l[m.charCodeAt(v)]=v;function j(g){var _=g.length;if(_%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var w=g.indexOf("=");return w===-1&&(w=_),[w,w===_?0:4-w%4]}function p(g,_,w){for(var O,x,F=[],G=_;G<w;G+=3)O=(g[G]<<16&16711680)+(g[G+1]<<8&65280)+(255&g[G+2]),F.push(o[(x=O)>>18&63]+o[x>>12&63]+o[x>>6&63]+o[63&x]);return F.join("")}l["-".charCodeAt(0)]=62,l["_".charCodeAt(0)]=63},8780:(E,u,o)=>{"use strict";var l=o(6893),y=o(3862),m=y(l("String.prototype.indexOf"));E.exports=function(v,j){var p=l(v,!!j);return typeof p=="function"&&m(v,".prototype.")>-1?y(p):p}},3862:(E,u,o)=>{"use strict";var l=o(5246),y=o(6893),m=y("%Function.prototype.apply%"),v=y("%Function.prototype.call%"),j=y("%Reflect.apply%",!0)||l.call(v,m),p=y("%Object.getOwnPropertyDescriptor%",!0),g=y("%Object.defineProperty%",!0),_=y("%Math.max%");if(g)try{g({},"a",{value:1})}catch(O){g=null}E.exports=function(O){var x=j(l,v,arguments);return p&&g&&p(x,"length").configurable&&g(x,"length",{value:1+_(0,O.length-(arguments.length-1))}),x};var w=function(){return j(l,m,arguments)};g?g(E.exports,"apply",{value:w}):E.exports.apply=w},7921:(E,u,o)=>{"use strict";var l=o(3818),y=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",m=Object.prototype.toString,v=Array.prototype.concat,j=Object.defineProperty,p=j&&function(){var w={};try{for(var O in j(w,"x",{enumerable:!1,value:w}),w)return!1;return w.x===w}catch(x){return!1}}(),g=function(w,O,x,F){var G;(!(O in w)||typeof(G=F)=="function"&&m.call(G)==="[object Function]"&&F())&&(p?j(w,O,{configurable:!0,enumerable:!1,value:x,writable:!0}):w[O]=x)},_=function(w,O){var x=arguments.length>2?arguments[2]:{},F=l(O);y&&(F=v.call(F,Object.getOwnPropertySymbols(O)));for(var G=0;G<F.length;G+=1)g(w,F[G],O[F[G]],x[F[G]])};_.supportsDescriptors=!!p,E.exports=_},9427:E=>{E.exports=function(u){var o=!0,l=!0,y=!1;if(typeof u=="function"){try{u.call("f",function(m,v,j){typeof j!="object"&&(o=!1)}),u.call([null],function(){"use strict";l=typeof this=="string"},"x")}catch(m){y=!0}return!y&&o&&l}return!1}},5670:E=>{var u={}.toString;E.exports=Array.isArray||function(o){return u.call(o)=="[object Array]"}},1157:(E,u,o)=>{"use strict";var l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",y=o(1494),m=o(8625),v=o(5052),j=o(9768);E.exports=function(p){if(y(p))return p;var g,_="default";if(arguments.length>1&&(arguments[1]===String?_="string":arguments[1]===Number&&(_="number")),l&&(Symbol.toPrimitive?g=function(O,x){var F=O[x];if(F!=null){if(!m(F))throw new TypeError(F+" returned for property "+x+" of object "+O+" is not a function");return F}}(p,Symbol.toPrimitive):j(p)&&(g=Symbol.prototype.valueOf)),g!==void 0){var w=g.call(p,_);if(y(w))return w;throw new TypeError("unable to convert exotic object to primitive")}return _==="default"&&(v(p)||j(p))&&(_="string"),function(O,x){if(O==null)throw new TypeError("Cannot call method on "+O);if(typeof x!="string"||x!=="number"&&x!=="string")throw new TypeError('hint must be "string" or "number"');var F,G,P,Y=x==="string"?["toString","valueOf"]:["valueOf","toString"];for(P=0;P<Y.length;++P)if(F=O[Y[P]],m(F)&&(G=F.call(O),y(G)))return G;throw new TypeError("No default value")}(p,_==="default"?"number":_)}},1494:E=>{"use strict";E.exports=function(u){return u===null||typeof u!="function"&&typeof u!="object"}},5929:E=>{"use strict";var u=Array.prototype.slice,o=Object.prototype.toString;E.exports=function(l){var y=this;if(typeof y!="function"||o.call(y)!=="[object Function]")throw new TypeError("Function.prototype.bind called on incompatible "+y);for(var m,v=u.call(arguments,1),j=Math.max(0,y.length-v.length),p=[],g=0;g<j;g++)p.push("$"+g);if(m=Function("binder","return function ("+p.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof m){var w=y.apply(this,v.concat(u.call(arguments)));return Object(w)===w?w:this}return y.apply(l,v.concat(u.call(arguments)))}),y.prototype){var _=function(){};_.prototype=y.prototype,m.prototype=new _,_.prototype=null}return m}},5246:(E,u,o)=>{"use strict";var l=o(5929);E.exports=Function.prototype.bind||l},6893:(E,u,o)=>{"use strict";var l,y=SyntaxError,m=Function,v=TypeError,j=function(Le){try{return m('"use strict"; return ('+Le+").constructor;")()}catch(Xe){}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},"")}catch(Le){p=null}var g=function(){throw new v},_=p?function(){try{return g}catch(Le){try{return p(arguments,"callee").get}catch(Xe){return g}}}():g,w=o(5990)(),O=Object.getPrototypeOf||function(Le){return Le.__proto__},x={},F=typeof Uint8Array=="undefined"?l:O(Uint8Array),G={"%AggregateError%":typeof AggregateError=="undefined"?l:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?l:ArrayBuffer,"%ArrayIteratorPrototype%":w?O([][Symbol.iterator]()):l,"%AsyncFromSyncIteratorPrototype%":l,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":typeof Atomics=="undefined"?l:Atomics,"%BigInt%":typeof BigInt=="undefined"?l:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?l:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?l:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?l:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?l:FinalizationRegistry,"%Function%":m,"%GeneratorFunction%":x,"%Int8Array%":typeof Int8Array=="undefined"?l:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?l:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?l:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w?O(O([][Symbol.iterator]())):l,"%JSON%":typeof JSON=="object"?JSON:l,"%Map%":typeof Map=="undefined"?l:Map,"%MapIteratorPrototype%":typeof Map!="undefined"&&w?O(new Map()[Symbol.iterator]()):l,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?l:Promise,"%Proxy%":typeof Proxy=="undefined"?l:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?l:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?l:Set,"%SetIteratorPrototype%":typeof Set!="undefined"&&w?O(new Set()[Symbol.iterator]()):l,"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?l:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w?O(""[Symbol.iterator]()):l,"%Symbol%":w?Symbol:l,"%SyntaxError%":y,"%ThrowTypeError%":_,"%TypedArray%":F,"%TypeError%":v,"%Uint8Array%":typeof Uint8Array=="undefined"?l:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?l:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?l:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?l:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?l:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?l:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?l:WeakSet},P=function Le(Xe){var se;if(Xe==="%AsyncFunction%")se=j("async function () {}");else if(Xe==="%GeneratorFunction%")se=j("function* () {}");else if(Xe==="%AsyncGeneratorFunction%")se=j("async function* () {}");else if(Xe==="%AsyncGenerator%"){var Ze=Le("%AsyncGeneratorFunction%");Ze&&(se=Ze.prototype)}else if(Xe==="%AsyncIteratorPrototype%"){var Fe=Le("%AsyncGenerator%");Fe&&(se=O(Fe.prototype))}return G[Xe]=se,se},Y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},me=o(5246),ge=o(7751),Be=me.call(Function.call,Array.prototype.concat),it=me.call(Function.apply,Array.prototype.splice),be=me.call(Function.call,String.prototype.replace),Re=me.call(Function.call,String.prototype.slice),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,at=/\\(\\)?/g,Ee=function(Le,Xe){var se,Ze=Le;if(ge(Y,Ze)&&(Ze="%"+(se=Y[Ze])[0]+"%"),ge(G,Ze)){var Fe=G[Ze];if(Fe===x&&(Fe=P(Ze)),Fe===void 0&&!Xe)throw new v("intrinsic "+Le+" exists, but is not available. Please file an issue!");return{alias:se,name:Ze,value:Fe}}throw new y("intrinsic "+Le+" does not exist!")};E.exports=function(Le,Xe){if(typeof Le!="string"||Le.length===0)throw new v("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Xe!="boolean")throw new v('"allowMissing" argument must be a boolean');var se=function(he){var De=Re(he,0,1),R=Re(he,-1);if(De==="%"&&R!=="%")throw new y("invalid intrinsic syntax, expected closing `%`");if(R==="%"&&De!=="%")throw new y("invalid intrinsic syntax, expected opening `%`");var U=[];return be(he,T,function(Z,_e,Ve,Ie){U[U.length]=Ve?be(Ie,at,"$1"):_e||Z}),U}(Le),Ze=se.length>0?se[0]:"",Fe=Ee("%"+Ze+"%",Xe),dt=Fe.name,$e=Fe.value,ae=!1,f=Fe.alias;f&&(Ze=f[0],it(se,Be([0,1],f)));for(var D=1,H=!0;D<se.length;D+=1){var z=se[D],ve=Re(z,0,1),Se=Re(z,-1);if((ve==='"'||ve==="'"||ve==="`"||Se==='"'||Se==="'"||Se==="`")&&ve!==Se)throw new y("property names with quotes must have matching quotes");if(z!=="constructor"&&H||(ae=!0),ge(G,dt="%"+(Ze+="."+z)+"%"))$e=G[dt];else if($e!=null){if(!(z in $e)){if(!Xe)throw new v("base intrinsic for "+Le+" exists, but the property is not available.");return}if(p&&D+1>=se.length){var pe=p($e,z);$e=(H=!!pe)&&"get"in pe&&!("originalValue"in pe.get)?pe.get:$e[z]}else H=ge($e,z),$e=$e[z];H&&!ae&&(G[dt]=$e)}}return $e}},5990:(E,u,o)=>{"use strict";var l=typeof Symbol!="undefined"&&Symbol,y=o(3031);E.exports=function(){return typeof l=="function"&&typeof Symbol=="function"&&typeof l("foo")=="symbol"&&typeof Symbol("bar")=="symbol"&&y()}},3031:E=>{"use strict";E.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var u={},o=Symbol("test"),l=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(l)!=="[object Symbol]")return!1;for(o in u[o]=42,u)return!1;if(typeof Object.keys=="function"&&Object.keys(u).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(u).length!==0)return!1;var y=Object.getOwnPropertySymbols(u);if(y.length!==1||y[0]!==o||!Object.prototype.propertyIsEnumerable.call(u,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var m=Object.getOwnPropertyDescriptor(u,o);if(m.value!==42||m.enumerable!==!0)return!1}return!0}},5994:(E,u,o)=>{"use strict";var l=o(3031);E.exports=function(){return l()&&!!Symbol.toStringTag}},7751:(E,u,o)=>{"use strict";var l=o(5246);E.exports=l.call(Function.call,Object.prototype.hasOwnProperty)},8405:(E,u)=>{u.read=function(o,l,y,m,v){var j,p,g=8*v-m-1,_=(1<<g)-1,w=_>>1,O=-7,x=y?v-1:0,F=y?-1:1,G=o[l+x];for(x+=F,j=G&(1<<-O)-1,G>>=-O,O+=g;O>0;j=256*j+o[l+x],x+=F,O-=8);for(p=j&(1<<-O)-1,j>>=-O,O+=m;O>0;p=256*p+o[l+x],x+=F,O-=8);if(j===0)j=1-w;else{if(j===_)return p?NaN:1/0*(G?-1:1);p+=Math.pow(2,m),j-=w}return(G?-1:1)*p*Math.pow(2,j-m)},u.write=function(o,l,y,m,v,j){var p,g,_,w=8*j-v-1,O=(1<<w)-1,x=O>>1,F=v===23?Math.pow(2,-24)-Math.pow(2,-77):0,G=m?0:j-1,P=m?1:-1,Y=l<0||l===0&&1/l<0?1:0;for(l=Math.abs(l),isNaN(l)||l===1/0?(g=isNaN(l)?1:0,p=O):(p=Math.floor(Math.log(l)/Math.LN2),l*(_=Math.pow(2,-p))<1&&(p--,_*=2),(l+=p+x>=1?F/_:F*Math.pow(2,1-x))*_>=2&&(p++,_/=2),p+x>=O?(g=0,p=O):p+x>=1?(g=(l*_-1)*Math.pow(2,v),p+=x):(g=l*Math.pow(2,x-1)*Math.pow(2,v),p=0));v>=8;o[y+G]=255&g,G+=P,g/=256,v-=8);for(p=p<<v|g,w+=v;w>0;o[y+G]=255&p,G+=P,p/=256,w-=8);o[y+G-P]|=128*Y}},2755:(E,u,o)=>{"use strict";var l=o(5994)(),y=o(8780)("Object.prototype.toString"),m=function(p){return!(l&&p&&typeof p=="object"&&Symbol.toStringTag in p)&&y(p)==="[object Arguments]"},v=function(p){return!!m(p)||p!==null&&typeof p=="object"&&typeof p.length=="number"&&p.length>=0&&y(p)!=="[object Array]"&&y(p.callee)==="[object Function]"},j=function(){return m(arguments)}();m.isLegacyArguments=v,E.exports=j?m:v},8625:E=>{"use strict";var u,o,l=Function.prototype.toString,y=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof y=="function"&&typeof Object.defineProperty=="function")try{u=Object.defineProperty({},"length",{get:function(){throw o}}),o={},y(function(){throw 42},null,u)}catch(_){_!==o&&(y=null)}else y=null;var m=/^\s*class\b/,v=function(_){try{var w=l.call(_);return m.test(w)}catch(O){return!1}},j=Object.prototype.toString,p=typeof Symbol=="function"&&!!Symbol.toStringTag,g=typeof document=="object"&&document.all===void 0&&document.all!==void 0?document.all:{};E.exports=y?function(_){if(_===g)return!0;if(!_||typeof _!="function"&&typeof _!="object")return!1;if(typeof _=="function"&&!_.prototype)return!0;try{y(_,null,u)}catch(w){if(w!==o)return!1}return!v(_)}:function(_){if(_===g)return!0;if(!_||typeof _!="function"&&typeof _!="object")return!1;if(typeof _=="function"&&!_.prototype)return!0;if(p)return function(O){try{return!v(O)&&(l.call(O),!0)}catch(x){return!1}}(_);if(v(_))return!1;var w=j.call(_);return w==="[object Function]"||w==="[object GeneratorFunction]"}},5052:(E,u,o)=>{"use strict";var l=Date.prototype.getDay,y=Object.prototype.toString,m=o(5994)();E.exports=function(v){return typeof v=="object"&&v!==null&&(m?function(j){try{return l.call(j),!0}catch(p){return!1}}(v):y.call(v)==="[object Date]")}},8566:E=>{"use strict";var u,o=typeof Map=="function"&&Map.prototype?Map:null,l=typeof Set=="function"&&Set.prototype?Set:null;o||(u=function(v){return!1});var y=o?Map.prototype.has:null,m=l?Set.prototype.has:null;u||y||(u=function(v){return!1}),E.exports=u||function(v){if(!v||typeof v!="object")return!1;try{if(y.call(v),m)try{m.call(v)}catch(j){return!0}return v instanceof o}catch(j){}return!1}},2975:(E,u,o)=>{"use strict";var l,y,m,v,j=o(8780),p=o(5994)();if(p){l=j("Object.prototype.hasOwnProperty"),y=j("RegExp.prototype.exec"),m={};var g=function(){throw m};v={toString:g,valueOf:g},typeof Symbol.toPrimitive=="symbol"&&(v[Symbol.toPrimitive]=g)}var _=j("Object.prototype.toString"),w=Object.getOwnPropertyDescriptor;E.exports=p?function(O){if(!O||typeof O!="object")return!1;var x=w(O,"lastIndex");if(!(x&&l(x,"value")))return!1;try{y(O,v)}catch(F){return F===m}}:function(O){return!(!O||typeof O!="object"&&typeof O!="function")&&_(O)==="[object RegExp]"}},2289:E=>{"use strict";var u,o=typeof Map=="function"&&Map.prototype?Map:null,l=typeof Set=="function"&&Set.prototype?Set:null;l||(u=function(v){return!1});var y=o?Map.prototype.has:null,m=l?Set.prototype.has:null;u||m||(u=function(v){return!1}),E.exports=u||function(v){if(!v||typeof v!="object")return!1;try{if(m.call(v),y)try{y.call(v)}catch(j){return!0}return v instanceof l}catch(j){}return!1}},2615:(E,u,o)=>{"use strict";var l=String.prototype.valueOf,y=Object.prototype.toString,m=o(5994)();E.exports=function(v){return typeof v=="string"||typeof v=="object"&&(m?function(j){try{return l.call(j),!0}catch(p){return!1}}(v):y.call(v)==="[object String]")}},9768:(E,u,o)=>{"use strict";var l=Object.prototype.toString;if(o(5990)()){var y=Symbol.prototype.toString,m=/^Symbol\(.*\)$/;E.exports=function(v){if(typeof v=="symbol")return!0;if(l.call(v)!=="[object Symbol]")return!1;try{return function(j){return typeof j.valueOf()=="symbol"&&m.test(y.call(j))}(v)}catch(j){return!1}}}else E.exports=function(v){return!1}},6247:E=>{"use strict";var u=TypeError;E.exports=function(o){if(!o||typeof o.next!="function")throw new u("iterator must be an object with a `next` method");if(arguments.length>1){var l=arguments[1];if(typeof l!="function")throw new u("`callback`, if provided, must be a function")}for(var y,m=l||[];(y=o.next())&&!y.done;)l?l(y.value):m.push(y.value);if(!l)return m}},6663:function(E,u){var o;(function(l,y){"use strict";typeof E.exports=="object"?E.exports=l.document?y(l,!0):function(m){if(!m.document)throw new Error("jQuery requires a window with a document");return y(m)}:y(l)})(typeof window!="undefined"?window:this,function(l,y){"use strict";var m=[],v=Object.getPrototypeOf,j=m.slice,p=m.flat?function(a){return m.flat.call(a)}:function(a){return m.concat.apply([],a)},g=m.push,_=m.indexOf,w={},O=w.toString,x=w.hasOwnProperty,F=x.toString,G=F.call(Object),P={},Y=function(a){return typeof a=="function"&&typeof a.nodeType!="number"},me=function(a){return a!=null&&a===a.window},ge=l.document,Be={type:!0,src:!0,nonce:!0,noModule:!0};function it(a,d,A){var M,K,X=(A=A||ge).createElement("script");if(X.text=a,d)for(M in Be)(K=d[M]||d.getAttribute&&d.getAttribute(M))&&X.setAttribute(M,K);A.head.appendChild(X).parentNode.removeChild(X)}function be(a){return a==null?a+"":typeof a=="object"||typeof a=="function"?w[O.call(a)]||"object":typeof a}var Re="3.5.1",T=function(a,d){return new T.fn.init(a,d)};function at(a){var d=!!a&&"length"in a&&a.length,A=be(a);return!Y(a)&&!me(a)&&(A==="array"||d===0||typeof d=="number"&&d>0&&d-1 in a)}T.fn=T.prototype={jquery:Re,constructor:T,length:0,toArray:function(){return j.call(this)},get:function(a){return a==null?j.call(this):a<0?this[a+this.length]:this[a]},pushStack:function(a){var d=T.merge(this.constructor(),a);return d.prevObject=this,d},each:function(a){return T.each(this,a)},map:function(a){return this.pushStack(T.map(this,function(d,A){return a.call(d,A,d)}))},slice:function(){return this.pushStack(j.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,function(a,d){return(d+1)%2}))},odd:function(){return this.pushStack(T.grep(this,function(a,d){return d%2}))},eq:function(a){var d=this.length,A=+a+(a<0?d:0);return this.pushStack(A>=0&&A<d?[this[A]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:m.sort,splice:m.splice},T.extend=T.fn.extend=function(){var a,d,A,M,K,X,oe=arguments[0]||{},we=1,V=arguments.length,ee=!1;for(typeof oe=="boolean"&&(ee=oe,oe=arguments[we]||{},we++),typeof oe=="object"||Y(oe)||(oe={}),we===V&&(oe=this,we--);we<V;we++)if((a=arguments[we])!=null)for(d in a)M=a[d],d!=="__proto__"&&oe!==M&&(ee&&M&&(T.isPlainObject(M)||(K=Array.isArray(M)))?(A=oe[d],X=K&&!Array.isArray(A)?[]:K||T.isPlainObject(A)?A:{},K=!1,oe[d]=T.extend(ee,X,M)):M!==void 0&&(oe[d]=M));return oe},T.extend({expando:"jQuery"+(Re+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isPlainObject:function(a){var d,A;return!(!a||O.call(a)!=="[object Object]")&&(!(d=v(a))||typeof(A=x.call(d,"constructor")&&d.constructor)=="function"&&F.call(A)===G)},isEmptyObject:function(a){var d;for(d in a)return!1;return!0},globalEval:function(a,d,A){it(a,{nonce:d&&d.nonce},A)},each:function(a,d){var A,M=0;if(at(a))for(A=a.length;M<A&&d.call(a[M],M,a[M])!==!1;M++);else for(M in a)if(d.call(a[M],M,a[M])===!1)break;return a},makeArray:function(a,d){var A=d||[];return a!=null&&(at(Object(a))?T.merge(A,typeof a=="string"?[a]:a):g.call(A,a)),A},inArray:function(a,d,A){return d==null?-1:_.call(d,a,A)},merge:function(a,d){for(var A=+d.length,M=0,K=a.length;M<A;M++)a[K++]=d[M];return a.length=K,a},grep:function(a,d,A){for(var M=[],K=0,X=a.length,oe=!A;K<X;K++)!d(a[K],K)!==oe&&M.push(a[K]);return M},map:function(a,d,A){var M,K,X=0,oe=[];if(at(a))for(M=a.length;X<M;X++)(K=d(a[X],X,A))!=null&&oe.push(K);else for(X in a)(K=d(a[X],X,A))!=null&&oe.push(K);return p(oe)},guid:1,support:P}),typeof Symbol=="function"&&(T.fn[Symbol.iterator]=m[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,d){w["[object "+d+"]"]=d.toLowerCase()});var Ee=function(a){var d,A,M,K,X,oe,we,V,ee,C,B,J,W,de,ue,ke,rt,ut,Rt,ht="sizzle"+1*new Date,yt=a.document,Ut=0,Nt=0,ot=Gr(),pn=Gr(),St=Gr(),Tt=Gr(),sn=function(le,Te){return le===Te&&(B=!0),0},$n={}.hasOwnProperty,gn=[],wi=gn.pop,Vn=gn.push,An=gn.push,Zn=gn.slice,wn=function(le,Te){for(var Je=0,vt=le.length;Je<vt;Je++)if(le[Je]===Te)return Je;return-1},Nn="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Ue="[\\x20\\t\\r\\n\\f]",Un="(?:\\\\[\\da-fA-F]{1,6}"+Ue+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",pi="\\["+Ue+"*("+Un+")(?:"+Ue+"*([*^$|!~]?=)"+Ue+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Un+"))|)"+Ue+"*\\]",Ii=":("+Un+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+pi+")*)|.*)\\)|)",xt=new RegExp(Ue+"+","g"),Wn=new RegExp("^"+Ue+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Ue+"+$","g"),zn=new RegExp("^"+Ue+"*,"+Ue+"*"),Tr=new RegExp("^"+Ue+"*([>+~]|"+Ue+")"+Ue+"*"),tn=new RegExp(Ue+"|>"),Fn=new RegExp(Ii),Ke=new RegExp("^"+Un+"$"),Sr={ID:new RegExp("^#("+Un+")"),CLASS:new RegExp("^\\.("+Un+")"),TAG:new RegExp("^("+Un+"|[*])"),ATTR:new RegExp("^"+pi),PSEUDO:new RegExp("^"+Ii),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Ue+"*(even|odd|(([+-]|)(\\d*)n|)"+Ue+"*(?:([+-]|)"+Ue+"*(\\d+)|))"+Ue+"*\\)|)","i"),bool:new RegExp("^(?:"+Nn+")$","i"),needsContext:new RegExp("^"+Ue+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Ue+"*((?:-\\d)?\\d*)"+Ue+"*\\)|)(?=[^-]|$)","i")},Rr=/HTML$/i,cs=/^(?:input|select|textarea|button)$/i,wr=/^h\d$/i,Jr=/^[^{]+\{\s*\[native \w/,br=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Zr=/[+~]/,Xi=new RegExp("\\\\[\\da-fA-F]{1,6}"+Ue+"?|\\\\([^\\r\\n\\f])","g"),Zi=function(le,Te){var Je="0x"+le.slice(1)-65536;return Te||(Je<0?String.fromCharCode(Je+65536):String.fromCharCode(Je>>10|55296,1023&Je|56320))},Fi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,xi=function(le,Te){return Te?le==="\0"?"\uFFFD":le.slice(0,-1)+"\\"+le.charCodeAt(le.length-1).toString(16)+" ":"\\"+le},es=function(){J()},ko=ds(function(le){return le.disabled===!0&&le.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{An.apply(gn=Zn.call(yt.childNodes),yt.childNodes),gn[yt.childNodes.length].nodeType}catch(le){An={apply:gn.length?function(Te,Je){Vn.apply(Te,Zn.call(Je))}:function(Te,Je){for(var vt=Te.length,Qe=0;Te[vt++]=Je[Qe++];);Te.length=vt-1}}}function Qn(le,Te,Je,vt){var Qe,Et,Ot,Bt,Jt,fn,mn,ln=Te&&Te.ownerDocument,In=Te?Te.nodeType:9;if(Je=Je||[],typeof le!="string"||!le||In!==1&&In!==9&&In!==11)return Je;if(!vt&&(J(Te),Te=Te||W,ue)){if(In!==11&&(Jt=br.exec(le)))if(Qe=Jt[1]){if(In===9){if(!(Ot=Te.getElementById(Qe)))return Je;if(Ot.id===Qe)return Je.push(Ot),Je}else if(ln&&(Ot=ln.getElementById(Qe))&&Rt(Te,Ot)&&Ot.id===Qe)return Je.push(Ot),Je}else{if(Jt[2])return An.apply(Je,Te.getElementsByTagName(le)),Je;if((Qe=Jt[3])&&A.getElementsByClassName&&Te.getElementsByClassName)return An.apply(Je,Te.getElementsByClassName(Qe)),Je}if(A.qsa&&!Tt[le+" "]&&(!ke||!ke.test(le))&&(In!==1||Te.nodeName.toLowerCase()!=="object")){if(mn=le,ln=Te,In===1&&(tn.test(le)||Tr.test(le))){for((ln=Zr.test(le)&&ki(Te.parentNode)||Te)===Te&&A.scope||((Bt=Te.getAttribute("id"))?Bt=Bt.replace(Fi,xi):Te.setAttribute("id",Bt=ht)),Et=(fn=oe(le)).length;Et--;)fn[Et]=(Bt?"#"+Bt:":scope")+" "+Ir(fn[Et]);mn=fn.join(",")}try{return An.apply(Je,ln.querySelectorAll(mn)),Je}catch(ni){Tt(le,!0)}finally{Bt===ht&&Te.removeAttribute("id")}}}return V(le.replace(Wn,"$1"),Te,Je,vt)}function Gr(){var le=[];return function Te(Je,vt){return le.push(Je+" ")>M.cacheLength&&delete Te[le.shift()],Te[Je+" "]=vt}}function vi(le){return le[ht]=!0,le}function er(le){var Te=W.createElement("fieldset");try{return!!le(Te)}catch(Je){return!1}finally{Te.parentNode&&Te.parentNode.removeChild(Te),Te=null}}function ls(le,Te){for(var Je=le.split("|"),vt=Je.length;vt--;)M.attrHandle[Je[vt]]=Te}function Os(le,Te){var Je=Te&&le,vt=Je&&le.nodeType===1&&Te.nodeType===1&&le.sourceIndex-Te.sourceIndex;if(vt)return vt;if(Je){for(;Je=Je.nextSibling;)if(Je===Te)return-1}return le?1:-1}function us(le){return function(Te){return Te.nodeName.toLowerCase()==="input"&&Te.type===le}}function Ds(le){return function(Te){var Je=Te.nodeName.toLowerCase();return(Je==="input"||Je==="button")&&Te.type===le}}function Ms(le){return function(Te){return"form"in Te?Te.parentNode&&Te.disabled===!1?"label"in Te?"label"in Te.parentNode?Te.parentNode.disabled===le:Te.disabled===le:Te.isDisabled===le||Te.isDisabled!==!le&&ko(Te)===le:Te.disabled===le:"label"in Te&&Te.disabled===le}}function tr(le){return vi(function(Te){return Te=+Te,vi(function(Je,vt){for(var Qe,Et=le([],Je.length,Te),Ot=Et.length;Ot--;)Je[Qe=Et[Ot]]&&(Je[Qe]=!(vt[Qe]=Je[Qe]))})})}function ki(le){return le&&le.getElementsByTagName!==void 0&&le}for(d in A=Qn.support={},X=Qn.isXML=function(le){var Te=le.namespaceURI,Je=(le.ownerDocument||le).documentElement;return!Rr.test(Te||Je&&Je.nodeName||"HTML")},J=Qn.setDocument=function(le){var Te,Je,vt=le?le.ownerDocument||le:yt;return vt!=W&&vt.nodeType===9&&vt.documentElement&&(de=(W=vt).documentElement,ue=!X(W),yt!=W&&(Je=W.defaultView)&&Je.top!==Je&&(Je.addEventListener?Je.addEventListener("unload",es,!1):Je.attachEvent&&Je.attachEvent("onunload",es)),A.scope=er(function(Qe){return de.appendChild(Qe).appendChild(W.createElement("div")),Qe.querySelectorAll!==void 0&&!Qe.querySelectorAll(":scope fieldset div").length}),A.attributes=er(function(Qe){return Qe.className="i",!Qe.getAttribute("className")}),A.getElementsByTagName=er(function(Qe){return Qe.appendChild(W.createComment("")),!Qe.getElementsByTagName("*").length}),A.getElementsByClassName=Jr.test(W.getElementsByClassName),A.getById=er(function(Qe){return de.appendChild(Qe).id=ht,!W.getElementsByName||!W.getElementsByName(ht).length}),A.getById?(M.filter.ID=function(Qe){var Et=Qe.replace(Xi,Zi);return function(Ot){return Ot.getAttribute("id")===Et}},M.find.ID=function(Qe,Et){if(Et.getElementById!==void 0&&ue){var Ot=Et.getElementById(Qe);return Ot?[Ot]:[]}}):(M.filter.ID=function(Qe){var Et=Qe.replace(Xi,Zi);return function(Ot){var Bt=Ot.getAttributeNode!==void 0&&Ot.getAttributeNode("id");return Bt&&Bt.value===Et}},M.find.ID=function(Qe,Et){if(Et.getElementById!==void 0&&ue){var Ot,Bt,Jt,fn=Et.getElementById(Qe);if(fn){if((Ot=fn.getAttributeNode("id"))&&Ot.value===Qe)return[fn];for(Jt=Et.getElementsByName(Qe),Bt=0;fn=Jt[Bt++];)if((Ot=fn.getAttributeNode("id"))&&Ot.value===Qe)return[fn]}return[]}}),M.find.TAG=A.getElementsByTagName?function(Qe,Et){return Et.getElementsByTagName!==void 0?Et.getElementsByTagName(Qe):A.qsa?Et.querySelectorAll(Qe):void 0}:function(Qe,Et){var Ot,Bt=[],Jt=0,fn=Et.getElementsByTagName(Qe);if(Qe==="*"){for(;Ot=fn[Jt++];)Ot.nodeType===1&&Bt.push(Ot);return Bt}return fn},M.find.CLASS=A.getElementsByClassName&&function(Qe,Et){if(Et.getElementsByClassName!==void 0&&ue)return Et.getElementsByClassName(Qe)},rt=[],ke=[],(A.qsa=Jr.test(W.querySelectorAll))&&(er(function(Qe){var Et;de.appendChild(Qe).innerHTML="<a id='"+ht+"'></a><select id='"+ht+"-\r\\' msallowcapture=''><option selected=''></option></select>",Qe.querySelectorAll("[msallowcapture^='']").length&&ke.push("[*^$]="+Ue+`*(?:''|"")`),Qe.querySelectorAll("[selected]").length||ke.push("\\["+Ue+"*(?:value|"+Nn+")"),Qe.querySelectorAll("[id~="+ht+"-]").length||ke.push("~="),(Et=W.createElement("input")).setAttribute("name",""),Qe.appendChild(Et),Qe.querySelectorAll("[name='']").length||ke.push("\\["+Ue+"*name"+Ue+"*="+Ue+`*(?:''|"")`),Qe.querySelectorAll(":checked").length||ke.push(":checked"),Qe.querySelectorAll("a#"+ht+"+*").length||ke.push(".#.+[+~]"),Qe.querySelectorAll("\\\f"),ke.push("[\\r\\n\\f]")}),er(function(Qe){Qe.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var Et=W.createElement("input");Et.setAttribute("type","hidden"),Qe.appendChild(Et).setAttribute("name","D"),Qe.querySelectorAll("[name=d]").length&&ke.push("name"+Ue+"*[*^$|!~]?="),Qe.querySelectorAll(":enabled").length!==2&&ke.push(":enabled",":disabled"),de.appendChild(Qe).disabled=!0,Qe.querySelectorAll(":disabled").length!==2&&ke.push(":enabled",":disabled"),Qe.querySelectorAll("*,:x"),ke.push(",.*:")})),(A.matchesSelector=Jr.test(ut=de.matches||de.webkitMatchesSelector||de.mozMatchesSelector||de.oMatchesSelector||de.msMatchesSelector))&&er(function(Qe){A.disconnectedMatch=ut.call(Qe,"*"),ut.call(Qe,"[s!='']:x"),rt.push("!=",Ii)}),ke=ke.length&&new RegExp(ke.join("|")),rt=rt.length&&new RegExp(rt.join("|")),Te=Jr.test(de.compareDocumentPosition),Rt=Te||Jr.test(de.contains)?function(Qe,Et){var Ot=Qe.nodeType===9?Qe.documentElement:Qe,Bt=Et&&Et.parentNode;return Qe===Bt||!(!Bt||Bt.nodeType!==1||!(Ot.contains?Ot.contains(Bt):Qe.compareDocumentPosition&&16&Qe.compareDocumentPosition(Bt)))}:function(Qe,Et){if(Et){for(;Et=Et.parentNode;)if(Et===Qe)return!0}return!1},sn=Te?function(Qe,Et){if(Qe===Et)return B=!0,0;var Ot=!Qe.compareDocumentPosition-!Et.compareDocumentPosition;return Ot||(1&(Ot=(Qe.ownerDocument||Qe)==(Et.ownerDocument||Et)?Qe.compareDocumentPosition(Et):1)||!A.sortDetached&&Et.compareDocumentPosition(Qe)===Ot?Qe==W||Qe.ownerDocument==yt&&Rt(yt,Qe)?-1:Et==W||Et.ownerDocument==yt&&Rt(yt,Et)?1:C?wn(C,Qe)-wn(C,Et):0:4&Ot?-1:1)}:function(Qe,Et){if(Qe===Et)return B=!0,0;var Ot,Bt=0,Jt=Qe.parentNode,fn=Et.parentNode,mn=[Qe],ln=[Et];if(!Jt||!fn)return Qe==W?-1:Et==W?1:Jt?-1:fn?1:C?wn(C,Qe)-wn(C,Et):0;if(Jt===fn)return Os(Qe,Et);for(Ot=Qe;Ot=Ot.parentNode;)mn.unshift(Ot);for(Ot=Et;Ot=Ot.parentNode;)ln.unshift(Ot);for(;mn[Bt]===ln[Bt];)Bt++;return Bt?Os(mn[Bt],ln[Bt]):mn[Bt]==yt?-1:ln[Bt]==yt?1:0}),W},Qn.matches=function(le,Te){return Qn(le,null,null,Te)},Qn.matchesSelector=function(le,Te){if(J(le),A.matchesSelector&&ue&&!Tt[Te+" "]&&(!rt||!rt.test(Te))&&(!ke||!ke.test(Te)))try{var Je=ut.call(le,Te);if(Je||A.disconnectedMatch||le.document&&le.document.nodeType!==11)return Je}catch(vt){Tt(Te,!0)}return Qn(Te,W,null,[le]).length>0},Qn.contains=function(le,Te){return(le.ownerDocument||le)!=W&&J(le),Rt(le,Te)},Qn.attr=function(le,Te){(le.ownerDocument||le)!=W&&J(le);var Je=M.attrHandle[Te.toLowerCase()],vt=Je&&$n.call(M.attrHandle,Te.toLowerCase())?Je(le,Te,!ue):void 0;return vt!==void 0?vt:A.attributes||!ue?le.getAttribute(Te):(vt=le.getAttributeNode(Te))&&vt.specified?vt.value:null},Qn.escape=function(le){return(le+"").replace(Fi,xi)},Qn.error=function(le){throw new Error("Syntax error, unrecognized expression: "+le)},Qn.uniqueSort=function(le){var Te,Je=[],vt=0,Qe=0;if(B=!A.detectDuplicates,C=!A.sortStable&&le.slice(0),le.sort(sn),B){for(;Te=le[Qe++];)Te===le[Qe]&&(vt=Je.push(Qe));for(;vt--;)le.splice(Je[vt],1)}return C=null,le},K=Qn.getText=function(le){var Te,Je="",vt=0,Qe=le.nodeType;if(Qe){if(Qe===1||Qe===9||Qe===11){if(typeof le.textContent=="string")return le.textContent;for(le=le.firstChild;le;le=le.nextSibling)Je+=K(le)}else if(Qe===3||Qe===4)return le.nodeValue}else for(;Te=le[vt++];)Je+=K(Te);return Je},M=Qn.selectors={cacheLength:50,createPseudo:vi,match:Sr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(le){return le[1]=le[1].replace(Xi,Zi),le[3]=(le[3]||le[4]||le[5]||"").replace(Xi,Zi),le[2]==="~="&&(le[3]=" "+le[3]+" "),le.slice(0,4)},CHILD:function(le){return le[1]=le[1].toLowerCase(),le[1].slice(0,3)==="nth"?(le[3]||Qn.error(le[0]),le[4]=+(le[4]?le[5]+(le[6]||1):2*(le[3]==="even"||le[3]==="odd")),le[5]=+(le[7]+le[8]||le[3]==="odd")):le[3]&&Qn.error(le[0]),le},PSEUDO:function(le){var Te,Je=!le[6]&&le[2];return Sr.CHILD.test(le[0])?null:(le[3]?le[2]=le[4]||le[5]||"":Je&&Fn.test(Je)&&(Te=oe(Je,!0))&&(Te=Je.indexOf(")",Je.length-Te)-Je.length)&&(le[0]=le[0].slice(0,Te),le[2]=Je.slice(0,Te)),le.slice(0,3))}},filter:{TAG:function(le){var Te=le.replace(Xi,Zi).toLowerCase();return le==="*"?function(){return!0}:function(Je){return Je.nodeName&&Je.nodeName.toLowerCase()===Te}},CLASS:function(le){var Te=ot[le+" "];return Te||(Te=new RegExp("(^|"+Ue+")"+le+"("+Ue+"|$)"))&&ot(le,function(Je){return Te.test(typeof Je.className=="string"&&Je.className||Je.getAttribute!==void 0&&Je.getAttribute("class")||"")})},ATTR:function(le,Te,Je){return function(vt){var Qe=Qn.attr(vt,le);return Qe==null?Te==="!=":!Te||(Qe+="",Te==="="?Qe===Je:Te==="!="?Qe!==Je:Te==="^="?Je&&Qe.indexOf(Je)===0:Te==="*="?Je&&Qe.indexOf(Je)>-1:Te==="$="?Je&&Qe.slice(-Je.length)===Je:Te==="~="?(" "+Qe.replace(xt," ")+" ").indexOf(Je)>-1:Te==="|="&&(Qe===Je||Qe.slice(0,Je.length+1)===Je+"-"))}},CHILD:function(le,Te,Je,vt,Qe){var Et=le.slice(0,3)!=="nth",Ot=le.slice(-4)!=="last",Bt=Te==="of-type";return vt===1&&Qe===0?function(Jt){return!!Jt.parentNode}:function(Jt,fn,mn){var ln,In,ni,yn,fi,bi,Pi=Et!==Ot?"nextSibling":"previousSibling",ei=Jt.parentNode,ji=Bt&&Jt.nodeName.toLowerCase(),Mi=!mn&&!Bt,_i=!1;if(ei){if(Et){for(;Pi;){for(yn=Jt;yn=yn[Pi];)if(Bt?yn.nodeName.toLowerCase()===ji:yn.nodeType===1)return!1;bi=Pi=le==="only"&&!bi&&"nextSibling"}return!0}if(bi=[Ot?ei.firstChild:ei.lastChild],Ot&&Mi){for(_i=(fi=(ln=(In=(ni=(yn=ei)[ht]||(yn[ht]={}))[yn.uniqueID]||(ni[yn.uniqueID]={}))[le]||[])[0]===Ut&&ln[1])&&ln[2],yn=fi&&ei.childNodes[fi];yn=++fi&&yn&&yn[Pi]||(_i=fi=0)||bi.pop();)if(yn.nodeType===1&&++_i&&yn===Jt){In[le]=[Ut,fi,_i];break}}else if(Mi&&(_i=fi=(ln=(In=(ni=(yn=Jt)[ht]||(yn[ht]={}))[yn.uniqueID]||(ni[yn.uniqueID]={}))[le]||[])[0]===Ut&&ln[1]),_i===!1)for(;(yn=++fi&&yn&&yn[Pi]||(_i=fi=0)||bi.pop())&&((Bt?yn.nodeName.toLowerCase()!==ji:yn.nodeType!==1)||!++_i||(Mi&&((In=(ni=yn[ht]||(yn[ht]={}))[yn.uniqueID]||(ni[yn.uniqueID]={}))[le]=[Ut,_i]),yn!==Jt)););return(_i-=Qe)===vt||_i%vt==0&&_i/vt>=0}}},PSEUDO:function(le,Te){var Je,vt=M.pseudos[le]||M.setFilters[le.toLowerCase()]||Qn.error("unsupported pseudo: "+le);return vt[ht]?vt(Te):vt.length>1?(Je=[le,le,"",Te],M.setFilters.hasOwnProperty(le.toLowerCase())?vi(function(Qe,Et){for(var Ot,Bt=vt(Qe,Te),Jt=Bt.length;Jt--;)Qe[Ot=wn(Qe,Bt[Jt])]=!(Et[Ot]=Bt[Jt])}):function(Qe){return vt(Qe,0,Je)}):vt}},pseudos:{not:vi(function(le){var Te=[],Je=[],vt=we(le.replace(Wn,"$1"));return vt[ht]?vi(function(Qe,Et,Ot,Bt){for(var Jt,fn=vt(Qe,null,Bt,[]),mn=Qe.length;mn--;)(Jt=fn[mn])&&(Qe[mn]=!(Et[mn]=Jt))}):function(Qe,Et,Ot){return Te[0]=Qe,vt(Te,null,Ot,Je),Te[0]=null,!Je.pop()}}),has:vi(function(le){return function(Te){return Qn(le,Te).length>0}}),contains:vi(function(le){return le=le.replace(Xi,Zi),function(Te){return(Te.textContent||K(Te)).indexOf(le)>-1}}),lang:vi(function(le){return Ke.test(le||"")||Qn.error("unsupported lang: "+le),le=le.replace(Xi,Zi).toLowerCase(),function(Te){var Je;do if(Je=ue?Te.lang:Te.getAttribute("xml:lang")||Te.getAttribute("lang"))return(Je=Je.toLowerCase())===le||Je.indexOf(le+"-")===0;while((Te=Te.parentNode)&&Te.nodeType===1);return!1}}),target:function(le){var Te=a.location&&a.location.hash;return Te&&Te.slice(1)===le.id},root:function(le){return le===de},focus:function(le){return le===W.activeElement&&(!W.hasFocus||W.hasFocus())&&!!(le.type||le.href||~le.tabIndex)},enabled:Ms(!1),disabled:Ms(!0),checked:function(le){var Te=le.nodeName.toLowerCase();return Te==="input"&&!!le.checked||Te==="option"&&!!le.selected},selected:function(le){return le.parentNode&&le.parentNode.selectedIndex,le.selected===!0},empty:function(le){for(le=le.firstChild;le;le=le.nextSibling)if(le.nodeType<6)return!1;return!0},parent:function(le){return!M.pseudos.empty(le)},header:function(le){return wr.test(le.nodeName)},input:function(le){return cs.test(le.nodeName)},button:function(le){var Te=le.nodeName.toLowerCase();return Te==="input"&&le.type==="button"||Te==="button"},text:function(le){var Te;return le.nodeName.toLowerCase()==="input"&&le.type==="text"&&((Te=le.getAttribute("type"))==null||Te.toLowerCase()==="text")},first:tr(function(){return[0]}),last:tr(function(le,Te){return[Te-1]}),eq:tr(function(le,Te,Je){return[Je<0?Je+Te:Je]}),even:tr(function(le,Te){for(var Je=0;Je<Te;Je+=2)le.push(Je);return le}),odd:tr(function(le,Te){for(var Je=1;Je<Te;Je+=2)le.push(Je);return le}),lt:tr(function(le,Te,Je){for(var vt=Je<0?Je+Te:Je>Te?Te:Je;--vt>=0;)le.push(vt);return le}),gt:tr(function(le,Te,Je){for(var vt=Je<0?Je+Te:Je;++vt<Te;)le.push(vt);return le})}},M.pseudos.nth=M.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})M.pseudos[d]=us(d);for(d in{submit:!0,reset:!0})M.pseudos[d]=Ds(d);function so(){}function Ir(le){for(var Te=0,Je=le.length,vt="";Te<Je;Te++)vt+=le[Te].value;return vt}function ds(le,Te,Je){var vt=Te.dir,Qe=Te.next,Et=Qe||vt,Ot=Je&&Et==="parentNode",Bt=Nt++;return Te.first?function(Jt,fn,mn){for(;Jt=Jt[vt];)if(Jt.nodeType===1||Ot)return le(Jt,fn,mn);return!1}:function(Jt,fn,mn){var ln,In,ni,yn=[Ut,Bt];if(mn){for(;Jt=Jt[vt];)if((Jt.nodeType===1||Ot)&&le(Jt,fn,mn))return!0}else for(;Jt=Jt[vt];)if(Jt.nodeType===1||Ot)if(In=(ni=Jt[ht]||(Jt[ht]={}))[Jt.uniqueID]||(ni[Jt.uniqueID]={}),Qe&&Qe===Jt.nodeName.toLowerCase())Jt=Jt[vt]||Jt;else{if((ln=In[Et])&&ln[0]===Ut&&ln[1]===Bt)return yn[2]=ln[2];if(In[Et]=yn,yn[2]=le(Jt,fn,mn))return!0}return!1}}function hs(le){return le.length>1?function(Te,Je,vt){for(var Qe=le.length;Qe--;)if(!le[Qe](Te,Je,vt))return!1;return!0}:le[0]}function ts(le,Te,Je,vt,Qe){for(var Et,Ot=[],Bt=0,Jt=le.length,fn=Te!=null;Bt<Jt;Bt++)(Et=le[Bt])&&(Je&&!Je(Et,vt,Qe)||(Ot.push(Et),fn&&Te.push(Bt)));return Ot}function Ns(le,Te,Je,vt,Qe,Et){return vt&&!vt[ht]&&(vt=Ns(vt)),Qe&&!Qe[ht]&&(Qe=Ns(Qe,Et)),vi(function(Ot,Bt,Jt,fn){var mn,ln,In,ni=[],yn=[],fi=Bt.length,bi=Ot||function(ji,Mi,_i){for(var nr=0,ns=Mi.length;nr<ns;nr++)Qn(ji,Mi[nr],_i);return _i}(Te||"*",Jt.nodeType?[Jt]:Jt,[]),Pi=!le||!Ot&&Te?bi:ts(bi,ni,le,Jt,fn),ei=Je?Qe||(Ot?le:fi||vt)?[]:Bt:Pi;if(Je&&Je(Pi,ei,Jt,fn),vt)for(mn=ts(ei,yn),vt(mn,[],Jt,fn),ln=mn.length;ln--;)(In=mn[ln])&&(ei[yn[ln]]=!(Pi[yn[ln]]=In));if(Ot){if(Qe||le){if(Qe){for(mn=[],ln=ei.length;ln--;)(In=ei[ln])&&mn.push(Pi[ln]=In);Qe(null,ei=[],mn,fn)}for(ln=ei.length;ln--;)(In=ei[ln])&&(mn=Qe?wn(Ot,In):ni[ln])>-1&&(Ot[mn]=!(Bt[mn]=In))}}else ei=ts(ei===Bt?ei.splice(fi,ei.length):ei),Qe?Qe(null,Bt,ei,fn):An.apply(Bt,ei)})}function Ls(le){for(var Te,Je,vt,Qe=le.length,Et=M.relative[le[0].type],Ot=Et||M.relative[" "],Bt=Et?1:0,Jt=ds(function(ln){return ln===Te},Ot,!0),fn=ds(function(ln){return wn(Te,ln)>-1},Ot,!0),mn=[function(ln,In,ni){var yn=!Et&&(ni||In!==ee)||((Te=In).nodeType?Jt(ln,In,ni):fn(ln,In,ni));return Te=null,yn}];Bt<Qe;Bt++)if(Je=M.relative[le[Bt].type])mn=[ds(hs(mn),Je)];else{if((Je=M.filter[le[Bt].type].apply(null,le[Bt].matches))[ht]){for(vt=++Bt;vt<Qe&&!M.relative[le[vt].type];vt++);return Ns(Bt>1&&hs(mn),Bt>1&&Ir(le.slice(0,Bt-1).concat({value:le[Bt-2].type===" "?"*":""})).replace(Wn,"$1"),Je,Bt<vt&&Ls(le.slice(Bt,vt)),vt<Qe&&Ls(le=le.slice(vt)),vt<Qe&&Ir(le))}mn.push(Je)}return hs(mn)}return so.prototype=M.filters=M.pseudos,M.setFilters=new so,oe=Qn.tokenize=function(le,Te){var Je,vt,Qe,Et,Ot,Bt,Jt,fn=pn[le+" "];if(fn)return Te?0:fn.slice(0);for(Ot=le,Bt=[],Jt=M.preFilter;Ot;){for(Et in Je&&!(vt=zn.exec(Ot))||(vt&&(Ot=Ot.slice(vt[0].length)||Ot),Bt.push(Qe=[])),Je=!1,(vt=Tr.exec(Ot))&&(Je=vt.shift(),Qe.push({value:Je,type:vt[0].replace(Wn," ")}),Ot=Ot.slice(Je.length)),M.filter)!(vt=Sr[Et].exec(Ot))||Jt[Et]&&!(vt=Jt[Et](vt))||(Je=vt.shift(),Qe.push({value:Je,type:Et,matches:vt}),Ot=Ot.slice(Je.length));if(!Je)break}return Te?Ot.length:Ot?Qn.error(le):pn(le,Bt).slice(0)},we=Qn.compile=function(le,Te){var Je,vt=[],Qe=[],Et=St[le+" "];if(!Et){for(Te||(Te=oe(le)),Je=Te.length;Je--;)(Et=Ls(Te[Je]))[ht]?vt.push(Et):Qe.push(Et);Et=St(le,function(Ot,Bt){var Jt=Bt.length>0,fn=Ot.length>0,mn=function(ln,In,ni,yn,fi){var bi,Pi,ei,ji=0,Mi="0",_i=ln&&[],nr=[],ns=ee,oo=ln||fn&&M.find.TAG("*",fi),xs=Ut+=ns==null?1:Math.random()||.1,Bo=oo.length;for(fi&&(ee=In==W||In||fi);Mi!==Bo&&(bi=oo[Mi])!=null;Mi++){if(fn&&bi){for(Pi=0,In||bi.ownerDocument==W||(J(bi),ni=!ue);ei=Ot[Pi++];)if(ei(bi,In||W,ni)){yn.push(bi);break}fi&&(Ut=xs)}Jt&&((bi=!ei&&bi)&&ji--,ln&&_i.push(bi))}if(ji+=Mi,Jt&&Mi!==ji){for(Pi=0;ei=Bt[Pi++];)ei(_i,nr,In,ni);if(ln){if(ji>0)for(;Mi--;)_i[Mi]||nr[Mi]||(nr[Mi]=wi.call(yn));nr=ts(nr)}An.apply(yn,nr),fi&&!ln&&nr.length>0&&ji+Bt.length>1&&Qn.uniqueSort(yn)}return fi&&(Ut=xs,ee=ns),_i};return Jt?vi(mn):mn}(Qe,vt)),Et.selector=le}return Et},V=Qn.select=function(le,Te,Je,vt){var Qe,Et,Ot,Bt,Jt,fn=typeof le=="function"&&le,mn=!vt&&oe(le=fn.selector||le);if(Je=Je||[],mn.length===1){if((Et=mn[0]=mn[0].slice(0)).length>2&&(Ot=Et[0]).type==="ID"&&Te.nodeType===9&&ue&&M.relative[Et[1].type]){if(!(Te=(M.find.ID(Ot.matches[0].replace(Xi,Zi),Te)||[])[0]))return Je;fn&&(Te=Te.parentNode),le=le.slice(Et.shift().value.length)}for(Qe=Sr.needsContext.test(le)?0:Et.length;Qe--&&(Ot=Et[Qe],!M.relative[Bt=Ot.type]);)if((Jt=M.find[Bt])&&(vt=Jt(Ot.matches[0].replace(Xi,Zi),Zr.test(Et[0].type)&&ki(Te.parentNode)||Te))){if(Et.splice(Qe,1),!(le=vt.length&&Ir(Et)))return An.apply(Je,vt),Je;break}}return(fn||we(le,mn))(vt,Te,!ue,Je,!Te||Zr.test(le)&&ki(Te.parentNode)||Te),Je},A.sortStable=ht.split("").sort(sn).join("")===ht,A.detectDuplicates=!!B,J(),A.sortDetached=er(function(le){return 1&le.compareDocumentPosition(W.createElement("fieldset"))}),er(function(le){return le.innerHTML="<a href='#'></a>",le.firstChild.getAttribute("href")==="#"})||ls("type|href|height|width",function(le,Te,Je){if(!Je)return le.getAttribute(Te,Te.toLowerCase()==="type"?1:2)}),A.attributes&&er(function(le){return le.innerHTML="<input/>",le.firstChild.setAttribute("value",""),le.firstChild.getAttribute("value")===""})||ls("value",function(le,Te,Je){if(!Je&&le.nodeName.toLowerCase()==="input")return le.defaultValue}),er(function(le){return le.getAttribute("disabled")==null})||ls(Nn,function(le,Te,Je){var vt;if(!Je)return le[Te]===!0?Te.toLowerCase():(vt=le.getAttributeNode(Te))&&vt.specified?vt.value:null}),Qn}(l);T.find=Ee,T.expr=Ee.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=Ee.uniqueSort,T.text=Ee.getText,T.isXMLDoc=Ee.isXML,T.contains=Ee.contains,T.escapeSelector=Ee.escape;var Le=function(a,d,A){for(var M=[],K=A!==void 0;(a=a[d])&&a.nodeType!==9;)if(a.nodeType===1){if(K&&T(a).is(A))break;M.push(a)}return M},Xe=function(a,d){for(var A=[];a;a=a.nextSibling)a.nodeType===1&&a!==d&&A.push(a);return A},se=T.expr.match.needsContext;function Ze(a,d){return a.nodeName&&a.nodeName.toLowerCase()===d.toLowerCase()}var Fe=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function dt(a,d,A){return Y(d)?T.grep(a,function(M,K){return!!d.call(M,K,M)!==A}):d.nodeType?T.grep(a,function(M){return M===d!==A}):typeof d!="string"?T.grep(a,function(M){return _.call(d,M)>-1!==A}):T.filter(d,a,A)}T.filter=function(a,d,A){var M=d[0];return A&&(a=":not("+a+")"),d.length===1&&M.nodeType===1?T.find.matchesSelector(M,a)?[M]:[]:T.find.matches(a,T.grep(d,function(K){return K.nodeType===1}))},T.fn.extend({find:function(a){var d,A,M=this.length,K=this;if(typeof a!="string")return this.pushStack(T(a).filter(function(){for(d=0;d<M;d++)if(T.contains(K[d],this))return!0}));for(A=this.pushStack([]),d=0;d<M;d++)T.find(a,K[d],A);return M>1?T.uniqueSort(A):A},filter:function(a){return this.pushStack(dt(this,a||[],!1))},not:function(a){return this.pushStack(dt(this,a||[],!0))},is:function(a){return!!dt(this,typeof a=="string"&&se.test(a)?T(a):a||[],!1).length}});var $e,ae=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(a,d,A){var M,K;if(!a)return this;if(A=A||$e,typeof a=="string"){if(!(M=a[0]==="<"&&a[a.length-1]===">"&&a.length>=3?[null,a,null]:ae.exec(a))||!M[1]&&d)return!d||d.jquery?(d||A).find(a):this.constructor(d).find(a);if(M[1]){if(d=d instanceof T?d[0]:d,T.merge(this,T.parseHTML(M[1],d&&d.nodeType?d.ownerDocument||d:ge,!0)),Fe.test(M[1])&&T.isPlainObject(d))for(M in d)Y(this[M])?this[M](d[M]):this.attr(M,d[M]);return this}return(K=ge.getElementById(M[2]))&&(this[0]=K,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):Y(a)?A.ready!==void 0?A.ready(a):a(T):T.makeArray(a,this)}).prototype=T.fn,$e=T(ge);var f=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function H(a,d){for(;(a=a[d])&&a.nodeType!==1;);return a}T.fn.extend({has:function(a){var d=T(a,this),A=d.length;return this.filter(function(){for(var M=0;M<A;M++)if(T.contains(this,d[M]))return!0})},closest:function(a,d){var A,M=0,K=this.length,X=[],oe=typeof a!="string"&&T(a);if(!se.test(a)){for(;M<K;M++)for(A=this[M];A&&A!==d;A=A.parentNode)if(A.nodeType<11&&(oe?oe.index(A)>-1:A.nodeType===1&&T.find.matchesSelector(A,a))){X.push(A);break}}return this.pushStack(X.length>1?T.uniqueSort(X):X)},index:function(a){return a?typeof a=="string"?_.call(T(a),this[0]):_.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,d){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(a,d))))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}}),T.each({parent:function(a){var d=a.parentNode;return d&&d.nodeType!==11?d:null},parents:function(a){return Le(a,"parentNode")},parentsUntil:function(a,d,A){return Le(a,"parentNode",A)},next:function(a){return H(a,"nextSibling")},prev:function(a){return H(a,"previousSibling")},nextAll:function(a){return Le(a,"nextSibling")},prevAll:function(a){return Le(a,"previousSibling")},nextUntil:function(a,d,A){return Le(a,"nextSibling",A)},prevUntil:function(a,d,A){return Le(a,"previousSibling",A)},siblings:function(a){return Xe((a.parentNode||{}).firstChild,a)},children:function(a){return Xe(a.firstChild)},contents:function(a){return a.contentDocument!=null&&v(a.contentDocument)?a.contentDocument:(Ze(a,"template")&&(a=a.content||a),T.merge([],a.childNodes))}},function(a,d){T.fn[a]=function(A,M){var K=T.map(this,d,A);return a.slice(-5)!=="Until"&&(M=A),M&&typeof M=="string"&&(K=T.filter(M,K)),this.length>1&&(D[a]||T.uniqueSort(K),f.test(a)&&K.reverse()),this.pushStack(K)}});var z=/[^\x20\t\r\n\f]+/g;function ve(a){return a}function Se(a){throw a}function pe(a,d,A,M){var K;try{a&&Y(K=a.promise)?K.call(a).done(d).fail(A):a&&Y(K=a.then)?K.call(a,d,A):d.apply(void 0,[a].slice(M))}catch(X){A.apply(void 0,[X])}}T.Callbacks=function(a){a=typeof a=="string"?function(C){var B={};return T.each(C.match(z)||[],function(J,W){B[W]=!0}),B}(a):T.extend({},a);var d,A,M,K,X=[],oe=[],we=-1,V=function(){for(K=K||a.once,M=d=!0;oe.length;we=-1)for(A=oe.shift();++we<X.length;)X[we].apply(A[0],A[1])===!1&&a.stopOnFalse&&(we=X.length,A=!1);a.memory||(A=!1),d=!1,K&&(X=A?[]:"")},ee={add:function(){return X&&(A&&!d&&(we=X.length-1,oe.push(A)),function C(B){T.each(B,function(J,W){Y(W)?a.unique&&ee.has(W)||X.push(W):W&&W.length&&be(W)!=="string"&&C(W)})}(arguments),A&&!d&&V()),this},remove:function(){return T.each(arguments,function(C,B){for(var J;(J=T.inArray(B,X,J))>-1;)X.splice(J,1),J<=we&&we--}),this},has:function(C){return C?T.inArray(C,X)>-1:X.length>0},empty:function(){return X&&(X=[]),this},disable:function(){return K=oe=[],X=A="",this},disabled:function(){return!X},lock:function(){return K=oe=[],A||d||(X=A=""),this},locked:function(){return!!K},fireWith:function(C,B){return K||(B=[C,(B=B||[]).slice?B.slice():B],oe.push(B),d||V()),this},fire:function(){return ee.fireWith(this,arguments),this},fired:function(){return!!M}};return ee},T.extend({Deferred:function(a){var d=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],A="pending",M={state:function(){return A},always:function(){return K.done(arguments).fail(arguments),this},catch:function(X){return M.then(null,X)},pipe:function(){var X=arguments;return T.Deferred(function(oe){T.each(d,function(we,V){var ee=Y(X[V[4]])&&X[V[4]];K[V[1]](function(){var C=ee&&ee.apply(this,arguments);C&&Y(C.promise)?C.promise().progress(oe.notify).done(oe.resolve).fail(oe.reject):oe[V[0]+"With"](this,ee?[C]:arguments)})}),X=null}).promise()},then:function(X,oe,we){var V=0;function ee(C,B,J,W){return function(){var de=this,ue=arguments,ke=function(){var ut,Rt;if(!(C<V)){if((ut=J.apply(de,ue))===B.promise())throw new TypeError("Thenable self-resolution");Rt=ut&&(typeof ut=="object"||typeof ut=="function")&&ut.then,Y(Rt)?W?Rt.call(ut,ee(V,B,ve,W),ee(V,B,Se,W)):(V++,Rt.call(ut,ee(V,B,ve,W),ee(V,B,Se,W),ee(V,B,ve,B.notifyWith))):(J!==ve&&(de=void 0,ue=[ut]),(W||B.resolveWith)(de,ue))}},rt=W?ke:function(){try{ke()}catch(ut){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(ut,rt.stackTrace),C+1>=V&&(J!==Se&&(de=void 0,ue=[ut]),B.rejectWith(de,ue))}};C?rt():(T.Deferred.getStackHook&&(rt.stackTrace=T.Deferred.getStackHook()),l.setTimeout(rt))}}return T.Deferred(function(C){d[0][3].add(ee(0,C,Y(we)?we:ve,C.notifyWith)),d[1][3].add(ee(0,C,Y(X)?X:ve)),d[2][3].add(ee(0,C,Y(oe)?oe:Se))}).promise()},promise:function(X){return X!=null?T.extend(X,M):M}},K={};return T.each(d,function(X,oe){var we=oe[2],V=oe[5];M[oe[1]]=we.add,V&&we.add(function(){A=V},d[3-X][2].disable,d[3-X][3].disable,d[0][2].lock,d[0][3].lock),we.add(oe[3].fire),K[oe[0]]=function(){return K[oe[0]+"With"](this===K?void 0:this,arguments),this},K[oe[0]+"With"]=we.fireWith}),M.promise(K),a&&a.call(K,K),K},when:function(a){var d=arguments.length,A=d,M=Array(A),K=j.call(arguments),X=T.Deferred(),oe=function(we){return function(V){M[we]=this,K[we]=arguments.length>1?j.call(arguments):V,--d||X.resolveWith(M,K)}};if(d<=1&&(pe(a,X.done(oe(A)).resolve,X.reject,!d),X.state()==="pending"||Y(K[A]&&K[A].then)))return X.then();for(;A--;)pe(K[A],oe(A),X.reject);return X.promise()}});var he=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(a,d){l.console&&l.console.warn&&a&&he.test(a.name)&&l.console.warn("jQuery.Deferred exception: "+a.message,a.stack,d)},T.readyException=function(a){l.setTimeout(function(){throw a})};var De=T.Deferred();function R(){ge.removeEventListener("DOMContentLoaded",R),l.removeEventListener("load",R),T.ready()}T.fn.ready=function(a){return De.then(a).catch(function(d){T.readyException(d)}),this},T.extend({isReady:!1,readyWait:1,ready:function(a){(a===!0?--T.readyWait:T.isReady)||(T.isReady=!0,a!==!0&&--T.readyWait>0||De.resolveWith(ge,[T]))}}),T.ready.then=De.then,ge.readyState==="complete"||ge.readyState!=="loading"&&!ge.documentElement.doScroll?l.setTimeout(T.ready):(ge.addEventListener("DOMContentLoaded",R),l.addEventListener("load",R));var U=function(a,d,A,M,K,X,oe){var we=0,V=a.length,ee=A==null;if(be(A)==="object")for(we in K=!0,A)U(a,d,we,A[we],!0,X,oe);else if(M!==void 0&&(K=!0,Y(M)||(oe=!0),ee&&(oe?(d.call(a,M),d=null):(ee=d,d=function(C,B,J){return ee.call(T(C),J)})),d))for(;we<V;we++)d(a[we],A,oe?M:M.call(a[we],we,d(a[we],A)));return K?a:ee?d.call(a):V?d(a[0],A):X},Z=/^-ms-/,_e=/-([a-z])/g;function Ve(a,d){return d.toUpperCase()}function Ie(a){return a.replace(Z,"ms-").replace(_e,Ve)}var mt=function(a){return a.nodeType===1||a.nodeType===9||!+a.nodeType};function jt(){this.expando=T.expando+jt.uid++}jt.uid=1,jt.prototype={cache:function(a){var d=a[this.expando];return d||(d={},mt(a)&&(a.nodeType?a[this.expando]=d:Object.defineProperty(a,this.expando,{value:d,configurable:!0}))),d},set:function(a,d,A){var M,K=this.cache(a);if(typeof d=="string")K[Ie(d)]=A;else for(M in d)K[Ie(M)]=d[M];return K},get:function(a,d){return d===void 0?this.cache(a):a[this.expando]&&a[this.expando][Ie(d)]},access:function(a,d,A){return d===void 0||d&&typeof d=="string"&&A===void 0?this.get(a,d):(this.set(a,d,A),A!==void 0?A:d)},remove:function(a,d){var A,M=a[this.expando];if(M!==void 0){if(d!==void 0)for(A=(d=Array.isArray(d)?d.map(Ie):(d=Ie(d))in M?[d]:d.match(z)||[]).length;A--;)delete M[d[A]];(d===void 0||T.isEmptyObject(M))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var d=a[this.expando];return d!==void 0&&!T.isEmptyObject(d)}};var qe=new jt,He=new jt,It=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Gt=/[A-Z]/g;function Xt(a,d,A){var M;if(A===void 0&&a.nodeType===1)if(M="data-"+d.replace(Gt,"-$&").toLowerCase(),typeof(A=a.getAttribute(M))=="string"){try{A=function(K){return K==="true"||K!=="false"&&(K==="null"?null:K===+K+""?+K:It.test(K)?JSON.parse(K):K)}(A)}catch(K){}He.set(a,d,A)}else A=void 0;return A}T.extend({hasData:function(a){return He.hasData(a)||qe.hasData(a)},data:function(a,d,A){return He.access(a,d,A)},removeData:function(a,d){He.remove(a,d)},_data:function(a,d,A){return qe.access(a,d,A)},_removeData:function(a,d){qe.remove(a,d)}}),T.fn.extend({data:function(a,d){var A,M,K,X=this[0],oe=X&&X.attributes;if(a===void 0){if(this.length&&(K=He.get(X),X.nodeType===1&&!qe.get(X,"hasDataAttrs"))){for(A=oe.length;A--;)oe[A]&&(M=oe[A].name).indexOf("data-")===0&&(M=Ie(M.slice(5)),Xt(X,M,K[M]));qe.set(X,"hasDataAttrs",!0)}return K}return typeof a=="object"?this.each(function(){He.set(this,a)}):U(this,function(we){var V;if(X&&we===void 0)return(V=He.get(X,a))!==void 0||(V=Xt(X,a))!==void 0?V:void 0;this.each(function(){He.set(this,a,we)})},null,d,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){He.remove(this,a)})}}),T.extend({queue:function(a,d,A){var M;if(a)return d=(d||"fx")+"queue",M=qe.get(a,d),A&&(!M||Array.isArray(A)?M=qe.access(a,d,T.makeArray(A)):M.push(A)),M||[]},dequeue:function(a,d){d=d||"fx";var A=T.queue(a,d),M=A.length,K=A.shift(),X=T._queueHooks(a,d);K==="inprogress"&&(K=A.shift(),M--),K&&(d==="fx"&&A.unshift("inprogress"),delete X.stop,K.call(a,function(){T.dequeue(a,d)},X)),!M&&X&&X.empty.fire()},_queueHooks:function(a,d){var A=d+"queueHooks";return qe.get(a,A)||qe.access(a,A,{empty:T.Callbacks("once memory").add(function(){qe.remove(a,[d+"queue",A])})})}}),T.fn.extend({queue:function(a,d){var A=2;return typeof a!="string"&&(d=a,a="fx",A--),arguments.length<A?T.queue(this[0],a):d===void 0?this:this.each(function(){var M=T.queue(this,a,d);T._queueHooks(this,a),a==="fx"&&M[0]!=="inprogress"&&T.dequeue(this,a)})},dequeue:function(a){return this.each(function(){T.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,d){var A,M=1,K=T.Deferred(),X=this,oe=this.length,we=function(){--M||K.resolveWith(X,[X])};for(typeof a!="string"&&(d=a,a=void 0),a=a||"fx";oe--;)(A=qe.get(X[oe],a+"queueHooks"))&&A.empty&&(M++,A.empty.add(we));return we(),K.promise(d)}});var Ht=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,qt=new RegExp("^(?:([+-])=|)("+Ht+")([a-z%]*)$","i"),Wt=["Top","Right","Bottom","Left"],_t=ge.documentElement,Zt=function(a){return T.contains(a.ownerDocument,a)},q={composed:!0};_t.getRootNode&&(Zt=function(a){return T.contains(a.ownerDocument,a)||a.getRootNode(q)===a.ownerDocument});var Me=function(a,d){return(a=d||a).style.display==="none"||a.style.display===""&&Zt(a)&&T.css(a,"display")==="none"};function Ae(a,d,A,M){var K,X,oe=20,we=M?function(){return M.cur()}:function(){return T.css(a,d,"")},V=we(),ee=A&&A[3]||(T.cssNumber[d]?"":"px"),C=a.nodeType&&(T.cssNumber[d]||ee!=="px"&&+V)&&qt.exec(T.css(a,d));if(C&&C[3]!==ee){for(V/=2,ee=ee||C[3],C=+V||1;oe--;)T.style(a,d,C+ee),(1-X)*(1-(X=we()/V||.5))<=0&&(oe=0),C/=X;C*=2,T.style(a,d,C+ee),A=A||[]}return A&&(C=+C||+V||0,K=A[1]?C+(A[1]+1)*A[2]:+A[2],M&&(M.unit=ee,M.start=C,M.end=K)),K}var k={};function Q(a){var d,A=a.ownerDocument,M=a.nodeName,K=k[M];return K||(d=A.body.appendChild(A.createElement(M)),K=T.css(d,"display"),d.parentNode.removeChild(d),K==="none"&&(K="block"),k[M]=K,K)}function ie(a,d){for(var A,M,K=[],X=0,oe=a.length;X<oe;X++)(M=a[X]).style&&(A=M.style.display,d?(A==="none"&&(K[X]=qe.get(M,"display")||null,K[X]||(M.style.display="")),M.style.display===""&&Me(M)&&(K[X]=Q(M))):A!=="none"&&(K[X]="none",qe.set(M,"display",A)));for(X=0;X<oe;X++)K[X]!=null&&(a[X].style.display=K[X]);return a}T.fn.extend({show:function(){return ie(this,!0)},hide:function(){return ie(this)},toggle:function(a){return typeof a=="boolean"?a?this.show():this.hide():this.each(function(){Me(this)?T(this).show():T(this).hide()})}});var ce,Pe,je=/^(?:checkbox|radio)$/i,lt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,gt=/^$|^module$|\/(?:java|ecma)script/i;ce=ge.createDocumentFragment().appendChild(ge.createElement("div")),(Pe=ge.createElement("input")).setAttribute("type","radio"),Pe.setAttribute("checked","checked"),Pe.setAttribute("name","t"),ce.appendChild(Pe),P.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="<textarea>x</textarea>",P.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="<option></option>",P.option=!!ce.lastChild;var pt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function xe(a,d){var A;return A=a.getElementsByTagName!==void 0?a.getElementsByTagName(d||"*"):a.querySelectorAll!==void 0?a.querySelectorAll(d||"*"):[],d===void 0||d&&Ze(a,d)?T.merge([a],A):A}function Dt(a,d){for(var A=0,M=a.length;A<M;A++)qe.set(a[A],"globalEval",!d||qe.get(d[A],"globalEval"))}pt.tbody=pt.tfoot=pt.colgroup=pt.caption=pt.thead,pt.th=pt.td,P.option||(pt.optgroup=pt.option=[1,"<select multiple='multiple'>","</select>"]);var oi=/<|&#?\w+;/;function Kn(a,d,A,M,K){for(var X,oe,we,V,ee,C,B=d.createDocumentFragment(),J=[],W=0,de=a.length;W<de;W++)if((X=a[W])||X===0)if(be(X)==="object")T.merge(J,X.nodeType?[X]:X);else if(oi.test(X)){for(oe=oe||B.appendChild(d.createElement("div")),we=(lt.exec(X)||["",""])[1].toLowerCase(),V=pt[we]||pt._default,oe.innerHTML=V[1]+T.htmlPrefilter(X)+V[2],C=V[0];C--;)oe=oe.lastChild;T.merge(J,oe.childNodes),(oe=B.firstChild).textContent=""}else J.push(d.createTextNode(X));for(B.textContent="",W=0;X=J[W++];)if(M&&T.inArray(X,M)>-1)K&&K.push(X);else if(ee=Zt(X),oe=xe(B.appendChild(X),"script"),ee&&Dt(oe),A)for(C=0;X=oe[C++];)gt.test(X.type||"")&&A.push(X);return B}var li=/^key/,hn=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,At=/^([^.]*)(?:\.(.+)|)/;function en(){return!0}function Pn(){return!1}function yi(a,d){return a===function(){try{return ge.activeElement}catch(A){}}()==(d==="focus")}function jn(a,d,A,M,K,X){var oe,we;if(typeof d=="object"){for(we in typeof A!="string"&&(M=M||A,A=void 0),d)jn(a,we,A,M,d[we],X);return a}if(M==null&&K==null?(K=A,M=A=void 0):K==null&&(typeof A=="string"?(K=M,M=void 0):(K=M,M=A,A=void 0)),K===!1)K=Pn;else if(!K)return a;return X===1&&(oe=K,K=function(V){return T().off(V),oe.apply(this,arguments)},K.guid=oe.guid||(oe.guid=T.guid++)),a.each(function(){T.event.add(this,d,K,M,A)})}function Ei(a,d,A){A?(qe.set(a,d,!1),T.event.add(a,d,{namespace:!1,handler:function(M){var K,X,oe=qe.get(this,d);if(1&M.isTrigger&&this[d]){if(oe.length)(T.event.special[d]||{}).delegateType&&M.stopPropagation();else if(oe=j.call(arguments),qe.set(this,d,oe),K=A(this,d),this[d](),oe!==(X=qe.get(this,d))||K?qe.set(this,d,!1):X={},oe!==X)return M.stopImmediatePropagation(),M.preventDefault(),X.value}else oe.length&&(qe.set(this,d,{value:T.event.trigger(T.extend(oe[0],T.Event.prototype),oe.slice(1),this)}),M.stopImmediatePropagation())}})):qe.get(a,d)===void 0&&T.event.add(a,d,en)}T.event={global:{},add:function(a,d,A,M,K){var X,oe,we,V,ee,C,B,J,W,de,ue,ke=qe.get(a);if(mt(a))for(A.handler&&(A=(X=A).handler,K=X.selector),K&&T.find.matchesSelector(_t,K),A.guid||(A.guid=T.guid++),(V=ke.events)||(V=ke.events=Object.create(null)),(oe=ke.handle)||(oe=ke.handle=function(rt){return T!==void 0&&T.event.triggered!==rt.type?T.event.dispatch.apply(a,arguments):void 0}),ee=(d=(d||"").match(z)||[""]).length;ee--;)W=ue=(we=At.exec(d[ee])||[])[1],de=(we[2]||"").split(".").sort(),W&&(B=T.event.special[W]||{},W=(K?B.delegateType:B.bindType)||W,B=T.event.special[W]||{},C=T.extend({type:W,origType:ue,data:M,handler:A,guid:A.guid,selector:K,needsContext:K&&T.expr.match.needsContext.test(K),namespace:de.join(".")},X),(J=V[W])||((J=V[W]=[]).delegateCount=0,B.setup&&B.setup.call(a,M,de,oe)!==!1||a.addEventListener&&a.addEventListener(W,oe)),B.add&&(B.add.call(a,C),C.handler.guid||(C.handler.guid=A.guid)),K?J.splice(J.delegateCount++,0,C):J.push(C),T.event.global[W]=!0)},remove:function(a,d,A,M,K){var X,oe,we,V,ee,C,B,J,W,de,ue,ke=qe.hasData(a)&&qe.get(a);if(ke&&(V=ke.events)){for(ee=(d=(d||"").match(z)||[""]).length;ee--;)if(W=ue=(we=At.exec(d[ee])||[])[1],de=(we[2]||"").split(".").sort(),W){for(B=T.event.special[W]||{},J=V[W=(M?B.delegateType:B.bindType)||W]||[],we=we[2]&&new RegExp("(^|\\.)"+de.join("\\.(?:.*\\.|)")+"(\\.|$)"),oe=X=J.length;X--;)C=J[X],!K&&ue!==C.origType||A&&A.guid!==C.guid||we&&!we.test(C.namespace)||M&&M!==C.selector&&(M!=="**"||!C.selector)||(J.splice(X,1),C.selector&&J.delegateCount--,B.remove&&B.remove.call(a,C));oe&&!J.length&&(B.teardown&&B.teardown.call(a,de,ke.handle)!==!1||T.removeEvent(a,W,ke.handle),delete V[W])}else for(W in V)T.event.remove(a,W+d[ee],A,M,!0);T.isEmptyObject(V)&&qe.remove(a,"handle events")}},dispatch:function(a){var d,A,M,K,X,oe,we=new Array(arguments.length),V=T.event.fix(a),ee=(qe.get(this,"events")||Object.create(null))[V.type]||[],C=T.event.special[V.type]||{};for(we[0]=V,d=1;d<arguments.length;d++)we[d]=arguments[d];if(V.delegateTarget=this,!C.preDispatch||C.preDispatch.call(this,V)!==!1){for(oe=T.event.handlers.call(this,V,ee),d=0;(K=oe[d++])&&!V.isPropagationStopped();)for(V.currentTarget=K.elem,A=0;(X=K.handlers[A++])&&!V.isImmediatePropagationStopped();)V.rnamespace&&X.namespace!==!1&&!V.rnamespace.test(X.namespace)||(V.handleObj=X,V.data=X.data,(M=((T.event.special[X.origType]||{}).handle||X.handler).apply(K.elem,we))!==void 0&&(V.result=M)===!1&&(V.preventDefault(),V.stopPropagation()));return C.postDispatch&&C.postDispatch.call(this,V),V.result}},handlers:function(a,d){var A,M,K,X,oe,we=[],V=d.delegateCount,ee=a.target;if(V&&ee.nodeType&&!(a.type==="click"&&a.button>=1)){for(;ee!==this;ee=ee.parentNode||this)if(ee.nodeType===1&&(a.type!=="click"||ee.disabled!==!0)){for(X=[],oe={},A=0;A<V;A++)oe[K=(M=d[A]).selector+" "]===void 0&&(oe[K]=M.needsContext?T(K,this).index(ee)>-1:T.find(K,this,null,[ee]).length),oe[K]&&X.push(M);X.length&&we.push({elem:ee,handlers:X})}}return ee=this,V<d.length&&we.push({elem:ee,handlers:d.slice(V)}),we},addProp:function(a,d){Object.defineProperty(T.Event.prototype,a,{enumerable:!0,configurable:!0,get:Y(d)?function(){if(this.originalEvent)return d(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[a]},set:function(A){Object.defineProperty(this,a,{enumerable:!0,configurable:!0,writable:!0,value:A})}})},fix:function(a){return a[T.expando]?a:new T.Event(a)},special:{load:{noBubble:!0},click:{setup:function(a){var d=this||a;return je.test(d.type)&&d.click&&Ze(d,"input")&&Ei(d,"click",en),!1},trigger:function(a){var d=this||a;return je.test(d.type)&&d.click&&Ze(d,"input")&&Ei(d,"click"),!0},_default:function(a){var d=a.target;return je.test(d.type)&&d.click&&Ze(d,"input")&&qe.get(d,"click")||Ze(d,"a")}},beforeunload:{postDispatch:function(a){a.result!==void 0&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}},T.removeEvent=function(a,d,A){a.removeEventListener&&a.removeEventListener(d,A)},T.Event=function(a,d){if(!(this instanceof T.Event))return new T.Event(a,d);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.defaultPrevented===void 0&&a.returnValue===!1?en:Pn,this.target=a.target&&a.target.nodeType===3?a.target.parentNode:a.target,this.currentTarget=a.currentTarget,this.relatedTarget=a.relatedTarget):this.type=a,d&&T.extend(this,d),this.timeStamp=a&&a.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:Pn,isPropagationStopped:Pn,isImmediatePropagationStopped:Pn,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=en,a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=en,a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=en,a&&!this.isSimulated&&a.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(a){var d=a.button;return a.which==null&&li.test(a.type)?a.charCode!=null?a.charCode:a.keyCode:!a.which&&d!==void 0&&hn.test(a.type)?1&d?1:2&d?3:4&d?2:0:a.which}},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},function(a,d){T.event.special[a]={setup:function(){return Ei(this,a,yi),!1},trigger:function(){return Ei(this,a),!0},delegateType:d}}),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,d){T.event.special[a]={delegateType:d,bindType:d,handle:function(A){var M,K=A.relatedTarget,X=A.handleObj;return K&&(K===this||T.contains(this,K))||(A.type=X.origType,M=X.handler.apply(this,arguments),A.type=d),M}}}),T.fn.extend({on:function(a,d,A,M){return jn(this,a,d,A,M)},one:function(a,d,A,M){return jn(this,a,d,A,M,1)},off:function(a,d,A){var M,K;if(a&&a.preventDefault&&a.handleObj)return M=a.handleObj,T(a.delegateTarget).off(M.namespace?M.origType+"."+M.namespace:M.origType,M.selector,M.handler),this;if(typeof a=="object"){for(K in a)this.off(K,d,a[K]);return this}return d!==!1&&typeof d!="function"||(A=d,d=void 0),A===!1&&(A=Pn),this.each(function(){T.event.remove(this,a,A,d)})}});var ii=/<script|<style|<link/i,Bi=/checked\s*(?:[^=]|=\s*.checked.)/i,Di=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function ai(a,d){return Ze(a,"table")&&Ze(d.nodeType!==11?d:d.firstChild,"tr")&&T(a).children("tbody")[0]||a}function ri(a){return a.type=(a.getAttribute("type")!==null)+"/"+a.type,a}function Li(a){return(a.type||"").slice(0,5)==="true/"?a.type=a.type.slice(5):a.removeAttribute("type"),a}function ti(a,d){var A,M,K,X,oe,we;if(d.nodeType===1){if(qe.hasData(a)&&(we=qe.get(a).events))for(K in qe.remove(d,"handle events"),we)for(A=0,M=we[K].length;A<M;A++)T.event.add(d,K,we[K][A]);He.hasData(a)&&(X=He.access(a),oe=T.extend({},X),He.set(d,oe))}}function Yn(a,d){var A=d.nodeName.toLowerCase();A==="input"&&je.test(a.type)?d.checked=a.checked:A!=="input"&&A!=="textarea"||(d.defaultValue=a.defaultValue)}function ci(a,d,A,M){d=p(d);var K,X,oe,we,V,ee,C=0,B=a.length,J=B-1,W=d[0],de=Y(W);if(de||B>1&&typeof W=="string"&&!P.checkClone&&Bi.test(W))return a.each(function(ue){var ke=a.eq(ue);de&&(d[0]=W.call(this,ue,ke.html())),ci(ke,d,A,M)});if(B&&(X=(K=Kn(d,a[0].ownerDocument,!1,a,M)).firstChild,K.childNodes.length===1&&(K=X),X||M)){for(we=(oe=T.map(xe(K,"script"),ri)).length;C<B;C++)V=K,C!==J&&(V=T.clone(V,!0,!0),we&&T.merge(oe,xe(V,"script"))),A.call(a[C],V,C);if(we)for(ee=oe[oe.length-1].ownerDocument,T.map(oe,Li),C=0;C<we;C++)V=oe[C],gt.test(V.type||"")&&!qe.access(V,"globalEval")&&T.contains(ee,V)&&(V.src&&(V.type||"").toLowerCase()!=="module"?T._evalUrl&&!V.noModule&&T._evalUrl(V.src,{nonce:V.nonce||V.getAttribute("nonce")},ee):it(V.textContent.replace(Di,""),V,ee))}return a}function Si(a,d,A){for(var M,K=d?T.filter(d,a):a,X=0;(M=K[X])!=null;X++)A||M.nodeType!==1||T.cleanData(xe(M)),M.parentNode&&(A&&Zt(M)&&Dt(xe(M,"script")),M.parentNode.removeChild(M));return a}T.extend({htmlPrefilter:function(a){return a},clone:function(a,d,A){var M,K,X,oe,we=a.cloneNode(!0),V=Zt(a);if(!(P.noCloneChecked||a.nodeType!==1&&a.nodeType!==11||T.isXMLDoc(a)))for(oe=xe(we),M=0,K=(X=xe(a)).length;M<K;M++)Yn(X[M],oe[M]);if(d)if(A)for(X=X||xe(a),oe=oe||xe(we),M=0,K=X.length;M<K;M++)ti(X[M],oe[M]);else ti(a,we);return(oe=xe(we,"script")).length>0&&Dt(oe,!V&&xe(a,"script")),we},cleanData:function(a){for(var d,A,M,K=T.event.special,X=0;(A=a[X])!==void 0;X++)if(mt(A)){if(d=A[qe.expando]){if(d.events)for(M in d.events)K[M]?T.event.remove(A,M):T.removeEvent(A,M,d.handle);A[qe.expando]=void 0}A[He.expando]&&(A[He.expando]=void 0)}}}),T.fn.extend({detach:function(a){return Si(this,a,!0)},remove:function(a){return Si(this,a)},text:function(a){return U(this,function(d){return d===void 0?T.text(this):this.empty().each(function(){this.nodeType!==1&&this.nodeType!==11&&this.nodeType!==9||(this.textContent=d)})},null,a,arguments.length)},append:function(){return ci(this,arguments,function(a){this.nodeType!==1&&this.nodeType!==11&&this.nodeType!==9||ai(this,a).appendChild(a)})},prepend:function(){return ci(this,arguments,function(a){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var d=ai(this,a);d.insertBefore(a,d.firstChild)}})},before:function(){return ci(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return ci(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,d=0;(a=this[d])!=null;d++)a.nodeType===1&&(T.cleanData(xe(a,!1)),a.textContent="");return this},clone:function(a,d){return a=a!=null&&a,d=d==null?a:d,this.map(function(){return T.clone(this,a,d)})},html:function(a){return U(this,function(d){var A=this[0]||{},M=0,K=this.length;if(d===void 0&&A.nodeType===1)return A.innerHTML;if(typeof d=="string"&&!ii.test(d)&&!pt[(lt.exec(d)||["",""])[1].toLowerCase()]){d=T.htmlPrefilter(d);try{for(;M<K;M++)(A=this[M]||{}).nodeType===1&&(T.cleanData(xe(A,!1)),A.innerHTML=d);A=0}catch(X){}}A&&this.empty().append(d)},null,a,arguments.length)},replaceWith:function(){var a=[];return ci(this,arguments,function(d){var A=this.parentNode;T.inArray(this,a)<0&&(T.cleanData(xe(this)),A&&A.replaceChild(d,this))},a)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,d){T.fn[a]=function(A){for(var M,K=[],X=T(A),oe=X.length-1,we=0;we<=oe;we++)M=we===oe?this:this.clone(!0),T(X[we])[d](M),g.apply(K,M.get());return this.pushStack(K)}});var Ji=new RegExp("^("+Ht+")(?!px)[a-z%]+$","i"),We=function(a){var d=a.ownerDocument.defaultView;return d&&d.opener||(d=l),d.getComputedStyle(a)},ct=function(a,d,A){var M,K,X={};for(K in d)X[K]=a.style[K],a.style[K]=d[K];for(K in M=A.call(a),d)a.style[K]=X[K];return M},Ct=new RegExp(Wt.join("|"),"i");function Mt(a,d,A){var M,K,X,oe,we=a.style;return(A=A||We(a))&&((oe=A.getPropertyValue(d)||A[d])!==""||Zt(a)||(oe=T.style(a,d)),!P.pixelBoxStyles()&&Ji.test(oe)&&Ct.test(d)&&(M=we.width,K=we.minWidth,X=we.maxWidth,we.minWidth=we.maxWidth=we.width=oe,oe=A.width,we.width=M,we.minWidth=K,we.maxWidth=X)),oe!==void 0?oe+"":oe}function vn(a,d){return{get:function(){if(!a())return(this.get=d).apply(this,arguments);delete this.get}}}(function(){function a(){if(ee){V.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",ee.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",_t.appendChild(V).appendChild(ee);var C=l.getComputedStyle(ee);A=C.top!=="1%",we=d(C.marginLeft)===12,ee.style.right="60%",X=d(C.right)===36,M=d(C.width)===36,ee.style.position="absolute",K=d(ee.offsetWidth/3)===12,_t.removeChild(V),ee=null}}function d(C){return Math.round(parseFloat(C))}var A,M,K,X,oe,we,V=ge.createElement("div"),ee=ge.createElement("div");ee.style&&(ee.style.backgroundClip="content-box",ee.cloneNode(!0).style.backgroundClip="",P.clearCloneStyle=ee.style.backgroundClip==="content-box",T.extend(P,{boxSizingReliable:function(){return a(),M},pixelBoxStyles:function(){return a(),X},pixelPosition:function(){return a(),A},reliableMarginLeft:function(){return a(),we},scrollboxSize:function(){return a(),K},reliableTrDimensions:function(){var C,B,J,W;return oe==null&&(C=ge.createElement("table"),B=ge.createElement("tr"),J=ge.createElement("div"),C.style.cssText="position:absolute;left:-11111px",B.style.height="1px",J.style.height="9px",_t.appendChild(C).appendChild(B).appendChild(J),W=l.getComputedStyle(B),oe=parseInt(W.height)>3,_t.removeChild(C)),oe}}))})();var on=["Webkit","Moz","ms"],I=ge.createElement("div").style,b={};function ne(a){var d=T.cssProps[a]||b[a];return d||(a in I?a:b[a]=function(A){for(var M=A[0].toUpperCase()+A.slice(1),K=on.length;K--;)if((A=on[K]+M)in I)return A}(a)||a)}var re=/^(none|table(?!-c[ea]).+)/,Oe=/^--/,ye={position:"absolute",visibility:"hidden",display:"block"},st={letterSpacing:"0",fontWeight:"400"};function tt(a,d,A){var M=qt.exec(d);return M?Math.max(0,M[2]-(A||0))+(M[3]||"px"):d}function Pt(a,d,A,M,K,X){var oe=d==="width"?1:0,we=0,V=0;if(A===(M?"border":"content"))return 0;for(;oe<4;oe+=2)A==="margin"&&(V+=T.css(a,A+Wt[oe],!0,K)),M?(A==="content"&&(V-=T.css(a,"padding"+Wt[oe],!0,K)),A!=="margin"&&(V-=T.css(a,"border"+Wt[oe]+"Width",!0,K))):(V+=T.css(a,"padding"+Wt[oe],!0,K),A!=="padding"?V+=T.css(a,"border"+Wt[oe]+"Width",!0,K):we+=T.css(a,"border"+Wt[oe]+"Width",!0,K));return!M&&X>=0&&(V+=Math.max(0,Math.ceil(a["offset"+d[0].toUpperCase()+d.slice(1)]-X-V-we-.5))||0),V}function et(a,d,A){var M=We(a),K=(!P.boxSizingReliable()||A)&&T.css(a,"boxSizing",!1,M)==="border-box",X=K,oe=Mt(a,d,M),we="offset"+d[0].toUpperCase()+d.slice(1);if(Ji.test(oe)){if(!A)return oe;oe="auto"}return(!P.boxSizingReliable()&&K||!P.reliableTrDimensions()&&Ze(a,"tr")||oe==="auto"||!parseFloat(oe)&&T.css(a,"display",!1,M)==="inline")&&a.getClientRects().length&&(K=T.css(a,"boxSizing",!1,M)==="border-box",(X=we in a)&&(oe=a[we])),(oe=parseFloat(oe)||0)+Pt(a,d,A||(K?"border":"content"),X,M,oe)+"px"}function Ce(a,d,A,M,K){return new Ce.prototype.init(a,d,A,M,K)}T.extend({cssHooks:{opacity:{get:function(a,d){if(d){var A=Mt(a,"opacity");return A===""?"1":A}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(a,d,A,M){if(a&&a.nodeType!==3&&a.nodeType!==8&&a.style){var K,X,oe,we=Ie(d),V=Oe.test(d),ee=a.style;if(V||(d=ne(we)),oe=T.cssHooks[d]||T.cssHooks[we],A===void 0)return oe&&"get"in oe&&(K=oe.get(a,!1,M))!==void 0?K:ee[d];(X=typeof A)=="string"&&(K=qt.exec(A))&&K[1]&&(A=Ae(a,d,K),X="number"),A!=null&&A==A&&(X!=="number"||V||(A+=K&&K[3]||(T.cssNumber[we]?"":"px")),P.clearCloneStyle||A!==""||d.indexOf("background")!==0||(ee[d]="inherit"),oe&&"set"in oe&&(A=oe.set(a,A,M))===void 0||(V?ee.setProperty(d,A):ee[d]=A))}},css:function(a,d,A,M){var K,X,oe,we=Ie(d);return Oe.test(d)||(d=ne(we)),(oe=T.cssHooks[d]||T.cssHooks[we])&&"get"in oe&&(K=oe.get(a,!0,A)),K===void 0&&(K=Mt(a,d,M)),K==="normal"&&d in st&&(K=st[d]),A===""||A?(X=parseFloat(K),A===!0||isFinite(X)?X||0:K):K}}),T.each(["height","width"],function(a,d){T.cssHooks[d]={get:function(A,M,K){if(M)return!re.test(T.css(A,"display"))||A.getClientRects().length&&A.getBoundingClientRect().width?et(A,d,K):ct(A,ye,function(){return et(A,d,K)})},set:function(A,M,K){var X,oe=We(A),we=!P.scrollboxSize()&&oe.position==="absolute",V=(we||K)&&T.css(A,"boxSizing",!1,oe)==="border-box",ee=K?Pt(A,d,K,V,oe):0;return V&&we&&(ee-=Math.ceil(A["offset"+d[0].toUpperCase()+d.slice(1)]-parseFloat(oe[d])-Pt(A,d,"border",!1,oe)-.5)),ee&&(X=qt.exec(M))&&(X[3]||"px")!=="px"&&(A.style[d]=M,M=T.css(A,d)),tt(0,M,ee)}}}),T.cssHooks.marginLeft=vn(P.reliableMarginLeft,function(a,d){if(d)return(parseFloat(Mt(a,"marginLeft"))||a.getBoundingClientRect().left-ct(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"}),T.each({margin:"",padding:"",border:"Width"},function(a,d){T.cssHooks[a+d]={expand:function(A){for(var M=0,K={},X=typeof A=="string"?A.split(" "):[A];M<4;M++)K[a+Wt[M]+d]=X[M]||X[M-2]||X[0];return K}},a!=="margin"&&(T.cssHooks[a+d].set=tt)}),T.fn.extend({css:function(a,d){return U(this,function(A,M,K){var X,oe,we={},V=0;if(Array.isArray(M)){for(X=We(A),oe=M.length;V<oe;V++)we[M[V]]=T.css(A,M[V],!1,X);return we}return K!==void 0?T.style(A,M,K):T.css(A,M)},a,d,arguments.length>1)}}),T.Tween=Ce,Ce.prototype={constructor:Ce,init:function(a,d,A,M,K,X){this.elem=a,this.prop=A,this.easing=K||T.easing._default,this.options=d,this.start=this.now=this.cur(),this.end=M,this.unit=X||(T.cssNumber[A]?"":"px")},cur:function(){var a=Ce.propHooks[this.prop];return a&&a.get?a.get(this):Ce.propHooks._default.get(this)},run:function(a){var d,A=Ce.propHooks[this.prop];return this.options.duration?this.pos=d=T.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=d=a,this.now=(this.end-this.start)*d+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),A&&A.set?A.set(this):Ce.propHooks._default.set(this),this}},Ce.prototype.init.prototype=Ce.prototype,Ce.propHooks={_default:{get:function(a){var d;return a.elem.nodeType!==1||a.elem[a.prop]!=null&&a.elem.style[a.prop]==null?a.elem[a.prop]:(d=T.css(a.elem,a.prop,""))&&d!=="auto"?d:0},set:function(a){T.fx.step[a.prop]?T.fx.step[a.prop](a):a.elem.nodeType!==1||!T.cssHooks[a.prop]&&a.elem.style[ne(a.prop)]==null?a.elem[a.prop]=a.now:T.style(a.elem,a.prop,a.now+a.unit)}}},Ce.propHooks.scrollTop=Ce.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},T.easing={linear:function(a){return a},swing:function(a){return .5-Math.cos(a*Math.PI)/2},_default:"swing"},T.fx=Ce.prototype.init,T.fx.step={};var Yt,ui,$t=/^(?:toggle|show|hide)$/,an=/queueHooks$/;function Bn(){ui&&(ge.hidden===!1&&l.requestAnimationFrame?l.requestAnimationFrame(Bn):l.setTimeout(Bn,T.fx.interval),T.fx.tick())}function rn(){return l.setTimeout(function(){Yt=void 0}),Yt=Date.now()}function cn(a,d){var A,M=0,K={height:a};for(d=d?1:0;M<4;M+=2-d)K["margin"+(A=Wt[M])]=K["padding"+A]=a;return d&&(K.opacity=K.width=a),K}function di(a,d,A){for(var M,K=(zt.tweeners[d]||[]).concat(zt.tweeners["*"]),X=0,oe=K.length;X<oe;X++)if(M=K[X].call(A,d,a))return M}function zt(a,d,A){var M,K,X=0,oe=zt.prefilters.length,we=T.Deferred().always(function(){delete V.elem}),V=function(){if(K)return!1;for(var B=Yt||rn(),J=Math.max(0,ee.startTime+ee.duration-B),W=1-(J/ee.duration||0),de=0,ue=ee.tweens.length;de<ue;de++)ee.tweens[de].run(W);return we.notifyWith(a,[ee,W,J]),W<1&&ue?J:(ue||we.notifyWith(a,[ee,1,0]),we.resolveWith(a,[ee]),!1)},ee=we.promise({elem:a,props:T.extend({},d),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},A),originalProperties:d,originalOptions:A,startTime:Yt||rn(),duration:A.duration,tweens:[],createTween:function(B,J){var W=T.Tween(a,ee.opts,B,J,ee.opts.specialEasing[B]||ee.opts.easing);return ee.tweens.push(W),W},stop:function(B){var J=0,W=B?ee.tweens.length:0;if(K)return this;for(K=!0;J<W;J++)ee.tweens[J].run(1);return B?(we.notifyWith(a,[ee,1,0]),we.resolveWith(a,[ee,B])):we.rejectWith(a,[ee,B]),this}}),C=ee.props;for(!function(B,J){var W,de,ue,ke,rt;for(W in B)if(ue=J[de=Ie(W)],ke=B[W],Array.isArray(ke)&&(ue=ke[1],ke=B[W]=ke[0]),W!==de&&(B[de]=ke,delete B[W]),(rt=T.cssHooks[de])&&"expand"in rt)for(W in ke=rt.expand(ke),delete B[de],ke)W in B||(B[W]=ke[W],J[W]=ue);else J[de]=ue}(C,ee.opts.specialEasing);X<oe;X++)if(M=zt.prefilters[X].call(ee,a,C,ee.opts))return Y(M.stop)&&(T._queueHooks(ee.elem,ee.opts.queue).stop=M.stop.bind(M)),M;return T.map(C,di,ee),Y(ee.opts.start)&&ee.opts.start.call(a,ee),ee.progress(ee.opts.progress).done(ee.opts.done,ee.opts.complete).fail(ee.opts.fail).always(ee.opts.always),T.fx.timer(T.extend(V,{elem:a,anim:ee,queue:ee.opts.queue})),ee}T.Animation=T.extend(zt,{tweeners:{"*":[function(a,d){var A=this.createTween(a,d);return Ae(A.elem,a,qt.exec(d),A),A}]},tweener:function(a,d){Y(a)?(d=a,a=["*"]):a=a.match(z);for(var A,M=0,K=a.length;M<K;M++)A=a[M],zt.tweeners[A]=zt.tweeners[A]||[],zt.tweeners[A].unshift(d)},prefilters:[function(a,d,A){var M,K,X,oe,we,V,ee,C,B="width"in d||"height"in d,J=this,W={},de=a.style,ue=a.nodeType&&Me(a),ke=qe.get(a,"fxshow");for(M in A.queue||((oe=T._queueHooks(a,"fx")).unqueued==null&&(oe.unqueued=0,we=oe.empty.fire,oe.empty.fire=function(){oe.unqueued||we()}),oe.unqueued++,J.always(function(){J.always(function(){oe.unqueued--,T.queue(a,"fx").length||oe.empty.fire()})})),d)if(K=d[M],$t.test(K)){if(delete d[M],X=X||K==="toggle",K===(ue?"hide":"show")){if(K!=="show"||!ke||ke[M]===void 0)continue;ue=!0}W[M]=ke&&ke[M]||T.style(a,M)}if((V=!T.isEmptyObject(d))||!T.isEmptyObject(W))for(M in B&&a.nodeType===1&&(A.overflow=[de.overflow,de.overflowX,de.overflowY],(ee=ke&&ke.display)==null&&(ee=qe.get(a,"display")),(C=T.css(a,"display"))==="none"&&(ee?C=ee:(ie([a],!0),ee=a.style.display||ee,C=T.css(a,"display"),ie([a]))),(C==="inline"||C==="inline-block"&&ee!=null)&&T.css(a,"float")==="none"&&(V||(J.done(function(){de.display=ee}),ee==null&&(C=de.display,ee=C==="none"?"":C)),de.display="inline-block")),A.overflow&&(de.overflow="hidden",J.always(function(){de.overflow=A.overflow[0],de.overflowX=A.overflow[1],de.overflowY=A.overflow[2]})),V=!1,W)V||(ke?"hidden"in ke&&(ue=ke.hidden):ke=qe.access(a,"fxshow",{display:ee}),X&&(ke.hidden=!ue),ue&&ie([a],!0),J.done(function(){for(M in ue||ie([a]),qe.remove(a,"fxshow"),W)T.style(a,M,W[M])})),V=di(ue?ke[M]:0,M,J),M in ke||(ke[M]=V.start,ue&&(V.end=V.start,V.start=0))}],prefilter:function(a,d){d?zt.prefilters.unshift(a):zt.prefilters.push(a)}}),T.speed=function(a,d,A){var M=a&&typeof a=="object"?T.extend({},a):{complete:A||!A&&d||Y(a)&&a,duration:a,easing:A&&d||d&&!Y(d)&&d};return T.fx.off?M.duration=0:typeof M.duration!="number"&&(M.duration in T.fx.speeds?M.duration=T.fx.speeds[M.duration]:M.duration=T.fx.speeds._default),M.queue!=null&&M.queue!==!0||(M.queue="fx"),M.old=M.complete,M.complete=function(){Y(M.old)&&M.old.call(this),M.queue&&T.dequeue(this,M.queue)},M},T.fn.extend({fadeTo:function(a,d,A,M){return this.filter(Me).css("opacity",0).show().end().animate({opacity:d},a,A,M)},animate:function(a,d,A,M){var K=T.isEmptyObject(a),X=T.speed(d,A,M),oe=function(){var we=zt(this,T.extend({},a),X);(K||qe.get(this,"finish"))&&we.stop(!0)};return oe.finish=oe,K||X.queue===!1?this.each(oe):this.queue(X.queue,oe)},stop:function(a,d,A){var M=function(K){var X=K.stop;delete K.stop,X(A)};return typeof a!="string"&&(A=d,d=a,a=void 0),d&&this.queue(a||"fx",[]),this.each(function(){var K=!0,X=a!=null&&a+"queueHooks",oe=T.timers,we=qe.get(this);if(X)we[X]&&we[X].stop&&M(we[X]);else for(X in we)we[X]&&we[X].stop&&an.test(X)&&M(we[X]);for(X=oe.length;X--;)oe[X].elem!==this||a!=null&&oe[X].queue!==a||(oe[X].anim.stop(A),K=!1,oe.splice(X,1));!K&&A||T.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var d,A=qe.get(this),M=A[a+"queue"],K=A[a+"queueHooks"],X=T.timers,oe=M?M.length:0;for(A.finish=!0,T.queue(this,a,[]),K&&K.stop&&K.stop.call(this,!0),d=X.length;d--;)X[d].elem===this&&X[d].queue===a&&(X[d].anim.stop(!0),X.splice(d,1));for(d=0;d<oe;d++)M[d]&&M[d].finish&&M[d].finish.call(this);delete A.finish})}}),T.each(["toggle","show","hide"],function(a,d){var A=T.fn[d];T.fn[d]=function(M,K,X){return M==null||typeof M=="boolean"?A.apply(this,arguments):this.animate(cn(d,!0),M,K,X)}}),T.each({slideDown:cn("show"),slideUp:cn("hide"),slideToggle:cn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,d){T.fn[a]=function(A,M,K){return this.animate(d,A,M,K)}}),T.timers=[],T.fx.tick=function(){var a,d=0,A=T.timers;for(Yt=Date.now();d<A.length;d++)(a=A[d])()||A[d]!==a||A.splice(d--,1);A.length||T.fx.stop(),Yt=void 0},T.fx.timer=function(a){T.timers.push(a),T.fx.start()},T.fx.interval=13,T.fx.start=function(){ui||(ui=!0,Bn())},T.fx.stop=function(){ui=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(a,d){return a=T.fx&&T.fx.speeds[a]||a,d=d||"fx",this.queue(d,function(A,M){var K=l.setTimeout(A,a);M.stop=function(){l.clearTimeout(K)}})},function(){var a=ge.createElement("input"),d=ge.createElement("select").appendChild(ge.createElement("option"));a.type="checkbox",P.checkOn=a.value!=="",P.optSelected=d.selected,(a=ge.createElement("input")).value="t",a.type="radio",P.radioValue=a.value==="t"}();var Cn,Tn=T.expr.attrHandle;T.fn.extend({attr:function(a,d){return U(this,T.attr,a,d,arguments.length>1)},removeAttr:function(a){return this.each(function(){T.removeAttr(this,a)})}}),T.extend({attr:function(a,d,A){var M,K,X=a.nodeType;if(X!==3&&X!==8&&X!==2)return a.getAttribute===void 0?T.prop(a,d,A):(X===1&&T.isXMLDoc(a)||(K=T.attrHooks[d.toLowerCase()]||(T.expr.match.bool.test(d)?Cn:void 0)),A!==void 0?A===null?void T.removeAttr(a,d):K&&"set"in K&&(M=K.set(a,A,d))!==void 0?M:(a.setAttribute(d,A+""),A):K&&"get"in K&&(M=K.get(a,d))!==null?M:(M=T.find.attr(a,d))==null?void 0:M)},attrHooks:{type:{set:function(a,d){if(!P.radioValue&&d==="radio"&&Ze(a,"input")){var A=a.value;return a.setAttribute("type",d),A&&(a.value=A),d}}}},removeAttr:function(a,d){var A,M=0,K=d&&d.match(z);if(K&&a.nodeType===1)for(;A=K[M++];)a.removeAttribute(A)}}),Cn={set:function(a,d,A){return d===!1?T.removeAttr(a,A):a.setAttribute(A,A),A}},T.each(T.expr.match.bool.source.match(/\w+/g),function(a,d){var A=Tn[d]||T.find.attr;Tn[d]=function(M,K,X){var oe,we,V=K.toLowerCase();return X||(we=Tn[V],Tn[V]=oe,oe=A(M,K,X)!=null?V:null,Tn[V]=we),oe}});var un=/^(?:input|select|textarea|button)$/i,gi=/^(?:a|area)$/i;function Rn(a){return(a.match(z)||[]).join(" ")}function si(a){return a.getAttribute&&a.getAttribute("class")||""}function Mn(a){return Array.isArray(a)?a:typeof a=="string"&&a.match(z)||[]}T.fn.extend({prop:function(a,d){return U(this,T.prop,a,d,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[T.propFix[a]||a]})}}),T.extend({prop:function(a,d,A){var M,K,X=a.nodeType;if(X!==3&&X!==8&&X!==2)return X===1&&T.isXMLDoc(a)||(d=T.propFix[d]||d,K=T.propHooks[d]),A!==void 0?K&&"set"in K&&(M=K.set(a,A,d))!==void 0?M:a[d]=A:K&&"get"in K&&(M=K.get(a,d))!==null?M:a[d]},propHooks:{tabIndex:{get:function(a){var d=T.find.attr(a,"tabindex");return d?parseInt(d,10):un.test(a.nodeName)||gi.test(a.nodeName)&&a.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),P.optSelected||(T.propHooks.selected={get:function(a){var d=a.parentNode;return d&&d.parentNode&&d.parentNode.selectedIndex,null},set:function(a){var d=a.parentNode;d&&(d.selectedIndex,d.parentNode&&d.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this}),T.fn.extend({addClass:function(a){var d,A,M,K,X,oe,we,V=0;if(Y(a))return this.each(function(ee){T(this).addClass(a.call(this,ee,si(this)))});if((d=Mn(a)).length){for(;A=this[V++];)if(K=si(A),M=A.nodeType===1&&" "+Rn(K)+" "){for(oe=0;X=d[oe++];)M.indexOf(" "+X+" ")<0&&(M+=X+" ");K!==(we=Rn(M))&&A.setAttribute("class",we)}}return this},removeClass:function(a){var d,A,M,K,X,oe,we,V=0;if(Y(a))return this.each(function(ee){T(this).removeClass(a.call(this,ee,si(this)))});if(!arguments.length)return this.attr("class","");if((d=Mn(a)).length){for(;A=this[V++];)if(K=si(A),M=A.nodeType===1&&" "+Rn(K)+" "){for(oe=0;X=d[oe++];)for(;M.indexOf(" "+X+" ")>-1;)M=M.replace(" "+X+" "," ");K!==(we=Rn(M))&&A.setAttribute("class",we)}}return this},toggleClass:function(a,d){var A=typeof a,M=A==="string"||Array.isArray(a);return typeof d=="boolean"&&M?d?this.addClass(a):this.removeClass(a):Y(a)?this.each(function(K){T(this).toggleClass(a.call(this,K,si(this),d),d)}):this.each(function(){var K,X,oe,we;if(M)for(X=0,oe=T(this),we=Mn(a);K=we[X++];)oe.hasClass(K)?oe.removeClass(K):oe.addClass(K);else a!==void 0&&A!=="boolean"||((K=si(this))&&qe.set(this,"__className__",K),this.setAttribute&&this.setAttribute("class",K||a===!1?"":qe.get(this,"__className__")||""))})},hasClass:function(a){var d,A,M=0;for(d=" "+a+" ";A=this[M++];)if(A.nodeType===1&&(" "+Rn(si(A))+" ").indexOf(d)>-1)return!0;return!1}});var qn=/\r/g;T.fn.extend({val:function(a){var d,A,M,K=this[0];return arguments.length?(M=Y(a),this.each(function(X){var oe;this.nodeType===1&&((oe=M?a.call(this,X,T(this).val()):a)==null?oe="":typeof oe=="number"?oe+="":Array.isArray(oe)&&(oe=T.map(oe,function(we){return we==null?"":we+""})),(d=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in d&&d.set(this,oe,"value")!==void 0||(this.value=oe))})):K?(d=T.valHooks[K.type]||T.valHooks[K.nodeName.toLowerCase()])&&"get"in d&&(A=d.get(K,"value"))!==void 0?A:typeof(A=K.value)=="string"?A.replace(qn,""):A==null?"":A:void 0}}),T.extend({valHooks:{option:{get:function(a){var d=T.find.attr(a,"value");return d!=null?d:Rn(T.text(a))}},select:{get:function(a){var d,A,M,K=a.options,X=a.selectedIndex,oe=a.type==="select-one",we=oe?null:[],V=oe?X+1:K.length;for(M=X<0?V:oe?X:0;M<V;M++)if(((A=K[M]).selected||M===X)&&!A.disabled&&(!A.parentNode.disabled||!Ze(A.parentNode,"optgroup"))){if(d=T(A).val(),oe)return d;we.push(d)}return we},set:function(a,d){for(var A,M,K=a.options,X=T.makeArray(d),oe=K.length;oe--;)((M=K[oe]).selected=T.inArray(T.valHooks.option.get(M),X)>-1)&&(A=!0);return A||(a.selectedIndex=-1),X}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(a,d){if(Array.isArray(d))return a.checked=T.inArray(T(a).val(),d)>-1}},P.checkOn||(T.valHooks[this].get=function(a){return a.getAttribute("value")===null?"on":a.value})}),P.focusin="onfocusin"in l;var Ui=/^(?:focusinfocus|focusoutblur)$/,dr=function(a){a.stopPropagation()};T.extend(T.event,{trigger:function(a,d,A,M){var K,X,oe,we,V,ee,C,B,J=[A||ge],W=x.call(a,"type")?a.type:a,de=x.call(a,"namespace")?a.namespace.split("."):[];if(X=B=oe=A=A||ge,A.nodeType!==3&&A.nodeType!==8&&!Ui.test(W+T.event.triggered)&&(W.indexOf(".")>-1&&(de=W.split("."),W=de.shift(),de.sort()),V=W.indexOf(":")<0&&"on"+W,(a=a[T.expando]?a:new T.Event(W,typeof a=="object"&&a)).isTrigger=M?2:3,a.namespace=de.join("."),a.rnamespace=a.namespace?new RegExp("(^|\\.)"+de.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,a.result=void 0,a.target||(a.target=A),d=d==null?[a]:T.makeArray(d,[a]),C=T.event.special[W]||{},M||!C.trigger||C.trigger.apply(A,d)!==!1)){if(!M&&!C.noBubble&&!me(A)){for(we=C.delegateType||W,Ui.test(we+W)||(X=X.parentNode);X;X=X.parentNode)J.push(X),oe=X;oe===(A.ownerDocument||ge)&&J.push(oe.defaultView||oe.parentWindow||l)}for(K=0;(X=J[K++])&&!a.isPropagationStopped();)B=X,a.type=K>1?we:C.bindType||W,(ee=(qe.get(X,"events")||Object.create(null))[a.type]&&qe.get(X,"handle"))&&ee.apply(X,d),(ee=V&&X[V])&&ee.apply&&mt(X)&&(a.result=ee.apply(X,d),a.result===!1&&a.preventDefault());return a.type=W,M||a.isDefaultPrevented()||C._default&&C._default.apply(J.pop(),d)!==!1||!mt(A)||V&&Y(A[W])&&!me(A)&&((oe=A[V])&&(A[V]=null),T.event.triggered=W,a.isPropagationStopped()&&B.addEventListener(W,dr),A[W](),a.isPropagationStopped()&&B.removeEventListener(W,dr),T.event.triggered=void 0,oe&&(A[V]=oe)),a.result}},simulate:function(a,d,A){var M=T.extend(new T.Event,A,{type:a,isSimulated:!0});T.event.trigger(M,null,d)}}),T.fn.extend({trigger:function(a,d){return this.each(function(){T.event.trigger(a,d,this)})},triggerHandler:function(a,d){var A=this[0];if(A)return T.event.trigger(a,d,A,!0)}}),P.focusin||T.each({focus:"focusin",blur:"focusout"},function(a,d){var A=function(M){T.event.simulate(d,M.target,T.event.fix(M))};T.event.special[d]={setup:function(){var M=this.ownerDocument||this.document||this,K=qe.access(M,d);K||M.addEventListener(a,A,!0),qe.access(M,d,(K||0)+1)},teardown:function(){var M=this.ownerDocument||this.document||this,K=qe.access(M,d)-1;K?qe.access(M,d,K):(M.removeEventListener(a,A,!0),qe.remove(M,d))}}});var Gi=l.location,Hn={guid:Date.now()},hr=/\?/;T.parseXML=function(a){var d;if(!a||typeof a!="string")return null;try{d=new l.DOMParser().parseFromString(a,"text/xml")}catch(A){d=void 0}return d&&!d.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+a),d};var zi=/\[\]$/,qi=/\r?\n/g,or=/^(?:submit|button|image|reset|file)$/i,Ar=/^(?:input|select|textarea|keygen)/i;function Er(a,d,A,M){var K;if(Array.isArray(d))T.each(d,function(X,oe){A||zi.test(a)?M(a,oe):Er(a+"["+(typeof oe=="object"&&oe!=null?X:"")+"]",oe,A,M)});else if(A||be(d)!=="object")M(a,d);else for(K in d)Er(a+"["+K+"]",d[K],A,M)}T.param=function(a,d){var A,M=[],K=function(X,oe){var we=Y(oe)?oe():oe;M[M.length]=encodeURIComponent(X)+"="+encodeURIComponent(we==null?"":we)};if(a==null)return"";if(Array.isArray(a)||a.jquery&&!T.isPlainObject(a))T.each(a,function(){K(this.name,this.value)});else for(A in a)Er(A,a[A],d,K);return M.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=T.prop(this,"elements");return a?T.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!T(this).is(":disabled")&&Ar.test(this.nodeName)&&!or.test(a)&&(this.checked||!je.test(a))}).map(function(a,d){var A=T(this).val();return A==null?null:Array.isArray(A)?T.map(A,function(M){return{name:d.name,value:M.replace(qi,`\r
2
+ @`+(f.systemId||"")+"#[line:"+f.lineNumber+",col:"+f.columnNumber+"]"}(Xe))}||function(){}}return Xe=Xe||{},Fe("warning"),Fe("error"),Fe("fatalError"),se}(it,Be,be),ge.domBuilder=me.domBuilder||Be,T&&(Re[""]=p.HTML),Re.xml=Re.xml||p.XML,P&&typeof P=="string"?ge.parse(P,Re,at):ge.errorHandler.error("invalid doc source"),Be.doc},O.prototype={startDocument:function(){this.doc=new j().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(P,Y,me,ge){var Be=this.doc,it=Be.createElementNS(P,me||Y),be=ge.length;G(this,it),this.currentElement=it,this.locator&&x(this.locator,it);for(var Re=0;Re<be;Re++){P=ge.getURI(Re);var T=ge.getValue(Re),at=(me=ge.getQName(Re),Be.createAttributeNS(P,me));this.locator&&x(ge.getLocator(Re),at),at.value=at.nodeValue=T,it.setAttributeNode(at)}},endElement:function(P,Y,me){var ge=this.currentElement;ge.tagName,this.currentElement=ge.parentNode},startPrefixMapping:function(P,Y){},endPrefixMapping:function(P){},processingInstruction:function(P,Y){var me=this.doc.createProcessingInstruction(P,Y);this.locator&&x(this.locator,me),G(this,me)},ignorableWhitespace:function(P,Y,me){},characters:function(P,Y,me){if(P=F.apply(this,arguments)){if(this.cdata)var ge=this.doc.createCDATASection(P);else ge=this.doc.createTextNode(P);this.currentElement?this.currentElement.appendChild(ge):/^\s*$/.test(P)&&this.doc.appendChild(ge),this.locator&&x(this.locator,ge)}},skippedEntity:function(P){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(P){(this.locator=P)&&(P.lineNumber=0)},comment:function(P,Y,me){P=F.apply(this,arguments);var ge=this.doc.createComment(P);this.locator&&x(this.locator,ge),G(this,ge)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(P,Y,me){var ge=this.doc.implementation;if(ge&&ge.createDocumentType){var Be=ge.createDocumentType(P,Y,me);this.locator&&x(this.locator,Be),G(this,Be),this.doc.doctype=Be}},warning:function(P){},error:function(P){},fatalError:function(P){throw new g(P,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(P){O.prototype[P]=function(){return null}}),u.DOMParser=w,y.DOMImplementation,y.XMLSerializer},8368:(E,u,o)=>{var l=o(6427).NAMESPACE;function y(k){return k!==""}function m(k,Q){return k.hasOwnProperty(Q)||(k[Q]=!0),k}function v(k){if(!k)return[];var Q=function(ie){return ie?ie.split(/[\t\n\f\r ]+/).filter(y):[]}(k);return Object.keys(Q.reduce(m,{}))}function j(k,Q){for(var ie in k)Q[ie]=k[ie]}function p(k,Q){var ie=k.prototype;if(!(ie instanceof Q)){let Pe=function(){};var ce=Pe;Pe.prototype=Q.prototype,j(ie,Pe=new Pe),k.prototype=ie=Pe}ie.constructor!=k&&(ie.constructor=k)}var g={},_=g.ELEMENT_NODE=1,w=g.ATTRIBUTE_NODE=2,O=g.TEXT_NODE=3,x=g.CDATA_SECTION_NODE=4,F=g.ENTITY_REFERENCE_NODE=5,G=g.ENTITY_NODE=6,P=g.PROCESSING_INSTRUCTION_NODE=7,Y=g.COMMENT_NODE=8,me=g.DOCUMENT_NODE=9,ge=g.DOCUMENT_TYPE_NODE=10,Be=g.DOCUMENT_FRAGMENT_NODE=11,it=g.NOTATION_NODE=12,be={},Re={},T=(be.INDEX_SIZE_ERR=(Re[1]="Index size error",1),be.DOMSTRING_SIZE_ERR=(Re[2]="DOMString size error",2),be.HIERARCHY_REQUEST_ERR=(Re[3]="Hierarchy request error",3)),at=(be.WRONG_DOCUMENT_ERR=(Re[4]="Wrong document",4),be.INVALID_CHARACTER_ERR=(Re[5]="Invalid character",5),be.NO_DATA_ALLOWED_ERR=(Re[6]="No data allowed",6),be.NO_MODIFICATION_ALLOWED_ERR=(Re[7]="No modification allowed",7),be.NOT_FOUND_ERR=(Re[8]="Not found",8)),Ee=(be.NOT_SUPPORTED_ERR=(Re[9]="Not supported",9),be.INUSE_ATTRIBUTE_ERR=(Re[10]="Attribute in use",10));be.INVALID_STATE_ERR=(Re[11]="Invalid state",11),be.SYNTAX_ERR=(Re[12]="Syntax error",12),be.INVALID_MODIFICATION_ERR=(Re[13]="Invalid modification",13),be.NAMESPACE_ERR=(Re[14]="Invalid namespace",14),be.INVALID_ACCESS_ERR=(Re[15]="Invalid access",15);function Le(k,Q){if(Q instanceof Error)var ie=Q;else ie=this,Error.call(this,Re[k]),this.message=Re[k],Error.captureStackTrace&&Error.captureStackTrace(this,Le);return ie.code=k,Q&&(this.message=this.message+": "+Q),ie}function Xe(){}function se(k,Q){this._node=k,this._refresh=Q,Ze(this)}function Ze(k){var Q=k._node._inc||k._node.ownerDocument._inc;if(k._inc!=Q){var ie=k._refresh(k._node);Me(k,"length",ie.length),j(ie,k),k._inc=Q}}function Fe(){}function dt(k,Q){for(var ie=k.length;ie--;)if(k[ie]===Q)return ie}function $e(k,Q,ie,ce){if(ce?Q[dt(Q,ce)]=ie:Q[Q.length++]=ie,k){ie.ownerElement=k;var Pe=k.ownerDocument;Pe&&(ce&&Se(Pe,k,ce),function(je,lt,gt){je&&je._inc++;var pt=gt.namespaceURI;pt===l.XMLNS&&(lt._nsMap[gt.prefix?gt.localName:""]=gt.value)}(Pe,k,ie))}}function ae(k,Q,ie){var ce=dt(Q,ie);if(!(ce>=0))throw Le(at,new Error(k.tagName+"@"+ie));for(var Pe=Q.length-1;ce<Pe;)Q[ce]=Q[++ce];if(Q.length=Pe,k){var je=k.ownerDocument;je&&(Se(je,k,ie),ie.ownerElement=null)}}function f(){}function D(){}function H(k){return(k=="<"?"&lt;":k==">"&&"&gt;")||k=="&"&&"&amp;"||k=='"'&&"&quot;"||"&#"+k.charCodeAt()+";"}function z(k,Q){if(Q(k))return!0;if(k=k.firstChild)do if(z(k,Q))return!0;while(k=k.nextSibling)}function ve(){}function Se(k,Q,ie,ce){k&&k._inc++,ie.namespaceURI===l.XMLNS&&delete Q._nsMap[ie.prefix?ie.localName:""]}function pe(k,Q,ie){if(k&&k._inc){k._inc++;var ce=Q.childNodes;if(ie)ce[ce.length++]=ie;else{for(var Pe=Q.firstChild,je=0;Pe;)ce[je++]=Pe,Pe=Pe.nextSibling;ce.length=je}}}function he(k,Q){var ie=Q.previousSibling,ce=Q.nextSibling;return ie?ie.nextSibling=ce:k.firstChild=ce,ce?ce.previousSibling=ie:k.lastChild=ie,pe(k.ownerDocument,k),Q}function De(k,Q,ie){var ce=Q.parentNode;if(ce&&ce.removeChild(Q),Q.nodeType===Be){var Pe=Q.firstChild;if(Pe==null)return Q;var je=Q.lastChild}else Pe=je=Q;var lt=ie?ie.previousSibling:k.lastChild;Pe.previousSibling=lt,je.nextSibling=ie,lt?lt.nextSibling=Pe:k.firstChild=Pe,ie==null?k.lastChild=je:ie.previousSibling=je;do Pe.parentNode=k;while(Pe!==je&&(Pe=Pe.nextSibling));return pe(k.ownerDocument||k,k),Q.nodeType==Be&&(Q.firstChild=Q.lastChild=null),Q}function R(){this._nsMap={}}function U(){}function Z(){}function _e(){}function Ve(){}function Ie(){}function mt(){}function jt(){}function qe(){}function He(){}function It(){}function Gt(){}function Xt(){}function Ht(k,Q){var ie=[],ce=this.nodeType==9&&this.documentElement||this,Pe=ce.prefix,je=ce.namespaceURI;if(je&&Pe==null&&(Pe=ce.lookupPrefix(je))==null)var lt=[{namespace:je,prefix:null}];return _t(this,ie,k,Q,lt),ie.join("")}function qt(k,Q,ie){var ce=k.prefix||"",Pe=k.namespaceURI;if(!Pe||ce==="xml"&&Pe===l.XML||Pe===l.XMLNS)return!1;for(var je=ie.length;je--;){var lt=ie[je];if(lt.prefix===ce)return lt.namespace!==Pe}return!0}function Wt(k,Q,ie){k.push(" ",Q,'="',ie.replace(/[<&"]/g,H),'"')}function _t(k,Q,ie,ce,Pe){if(Pe||(Pe=[]),ce){if(!(k=ce(k)))return;if(typeof k=="string")return void Q.push(k)}switch(k.nodeType){case _:var je=k.attributes,lt=je.length,gt=k.firstChild,pt=k.tagName,xe=pt;if(!(ie=l.isHTML(k.namespaceURI)||ie)&&!k.prefix&&k.namespaceURI){for(var Dt,oi=0;oi<je.length;oi++)if(je.item(oi).name==="xmlns"){Dt=je.item(oi).value;break}if(!Dt){for(var Kn=Pe.length-1;Kn>=0;Kn--)if((li=Pe[Kn]).prefix===""&&li.namespace===k.namespaceURI){Dt=li.namespace;break}}if(Dt!==k.namespaceURI)for(Kn=Pe.length-1;Kn>=0;Kn--){var li;if((li=Pe[Kn]).namespace===k.namespaceURI){li.prefix&&(xe=li.prefix+":"+pt);break}}}Q.push("<",xe);for(var hn=0;hn<lt;hn++)(At=je.item(hn)).prefix=="xmlns"?Pe.push({prefix:At.localName,namespace:At.value}):At.nodeName=="xmlns"&&Pe.push({prefix:"",namespace:At.value});for(hn=0;hn<lt;hn++){var At,en,Pn;qt(At=je.item(hn),0,Pe)&&(Wt(Q,(en=At.prefix||"")?"xmlns:"+en:"xmlns",Pn=At.namespaceURI),Pe.push({prefix:en,namespace:Pn})),_t(At,Q,ie,ce,Pe)}if(pt===xe&&qt(k,0,Pe)&&(Wt(Q,(en=k.prefix||"")?"xmlns:"+en:"xmlns",Pn=k.namespaceURI),Pe.push({prefix:en,namespace:Pn})),gt||ie&&!/^(?:meta|link|img|br|hr|input)$/i.test(pt)){if(Q.push(">"),ie&&/^script$/i.test(pt))for(;gt;)gt.data?Q.push(gt.data):_t(gt,Q,ie,ce,Pe.slice()),gt=gt.nextSibling;else for(;gt;)_t(gt,Q,ie,ce,Pe.slice()),gt=gt.nextSibling;Q.push("</",xe,">")}else Q.push("/>");return;case me:case Be:for(gt=k.firstChild;gt;)_t(gt,Q,ie,ce,Pe.slice()),gt=gt.nextSibling;return;case w:return Wt(Q,k.name,k.value);case O:return Q.push(k.data.replace(/[<&]/g,H).replace(/]]>/g,"]]&gt;"));case x:return Q.push("<![CDATA[",k.data,"]]>");case Y:return Q.push("<!--",k.data,"-->");case ge:var yi=k.publicId,jn=k.systemId;if(Q.push("<!DOCTYPE ",k.name),yi)Q.push(" PUBLIC ",yi),jn&&jn!="."&&Q.push(" ",jn),Q.push(">");else if(jn&&jn!=".")Q.push(" SYSTEM ",jn,">");else{var Ei=k.internalSubset;Ei&&Q.push(" [",Ei,"]"),Q.push(">")}return;case P:return Q.push("<?",k.target," ",k.data,"?>");case F:return Q.push("&",k.nodeName,";");default:Q.push("??",k.nodeName)}}function Zt(k,Q,ie){var ce;switch(Q.nodeType){case _:(ce=Q.cloneNode(!1)).ownerDocument=k;case Be:break;case w:ie=!0}if(ce||(ce=Q.cloneNode(!1)),ce.ownerDocument=k,ce.parentNode=null,ie)for(var Pe=Q.firstChild;Pe;)ce.appendChild(Zt(k,Pe,ie)),Pe=Pe.nextSibling;return ce}function q(k,Q,ie){var ce=new Q.constructor;for(var Pe in Q){var je=Q[Pe];typeof je!="object"&&je!=ce[Pe]&&(ce[Pe]=je)}switch(Q.childNodes&&(ce.childNodes=new Xe),ce.ownerDocument=k,ce.nodeType){case _:var lt=Q.attributes,gt=ce.attributes=new Fe,pt=lt.length;gt._ownerElement=ce;for(var xe=0;xe<pt;xe++)ce.setAttributeNode(q(k,lt.item(xe),!0));break;case w:ie=!0}if(ie)for(var Dt=Q.firstChild;Dt;)ce.appendChild(q(k,Dt,ie)),Dt=Dt.nextSibling;return ce}function Me(k,Q,ie){k[Q]=ie}Le.prototype=Error.prototype,j(be,Le),Xe.prototype={length:0,item:function(k){return this[k]||null},toString:function(k,Q){for(var ie=[],ce=0;ce<this.length;ce++)_t(this[ce],ie,k,Q);return ie.join("")}},se.prototype.item=function(k){return Ze(this),this[k]},p(se,Xe),Fe.prototype={length:0,item:Xe.prototype.item,getNamedItem:function(k){for(var Q=this.length;Q--;){var ie=this[Q];if(ie.nodeName==k)return ie}},setNamedItem:function(k){var Q=k.ownerElement;if(Q&&Q!=this._ownerElement)throw new Le(Ee);var ie=this.getNamedItem(k.nodeName);return $e(this._ownerElement,this,k,ie),ie},setNamedItemNS:function(k){var Q,ie=k.ownerElement;if(ie&&ie!=this._ownerElement)throw new Le(Ee);return Q=this.getNamedItemNS(k.namespaceURI,k.localName),$e(this._ownerElement,this,k,Q),Q},removeNamedItem:function(k){var Q=this.getNamedItem(k);return ae(this._ownerElement,this,Q),Q},removeNamedItemNS:function(k,Q){var ie=this.getNamedItemNS(k,Q);return ae(this._ownerElement,this,ie),ie},getNamedItemNS:function(k,Q){for(var ie=this.length;ie--;){var ce=this[ie];if(ce.localName==Q&&ce.namespaceURI==k)return ce}return null}},f.prototype={hasFeature:function(k,Q){return!0},createDocument:function(k,Q,ie){var ce=new ve;if(ce.implementation=this,ce.childNodes=new Xe,ce.doctype=ie||null,ie&&ce.appendChild(ie),Q){var Pe=ce.createElementNS(k,Q);ce.appendChild(Pe)}return ce},createDocumentType:function(k,Q,ie){var ce=new mt;return ce.name=k,ce.nodeName=k,ce.publicId=Q||"",ce.systemId=ie||"",ce}},D.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(k,Q){return De(this,k,Q)},replaceChild:function(k,Q){this.insertBefore(k,Q),Q&&this.removeChild(Q)},removeChild:function(k){return he(this,k)},appendChild:function(k){return this.insertBefore(k,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(k){return q(this.ownerDocument||this,this,k)},normalize:function(){for(var k=this.firstChild;k;){var Q=k.nextSibling;Q&&Q.nodeType==O&&k.nodeType==O?(this.removeChild(Q),k.appendData(Q.data)):(k.normalize(),k=Q)}},isSupported:function(k,Q){return this.ownerDocument.implementation.hasFeature(k,Q)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(k){for(var Q=this;Q;){var ie=Q._nsMap;if(ie){for(var ce in ie)if(ie[ce]==k)return ce}Q=Q.nodeType==w?Q.ownerDocument:Q.parentNode}return null},lookupNamespaceURI:function(k){for(var Q=this;Q;){var ie=Q._nsMap;if(ie&&k in ie)return ie[k];Q=Q.nodeType==w?Q.ownerDocument:Q.parentNode}return null},isDefaultNamespace:function(k){return this.lookupPrefix(k)==null}},j(g,D),j(g,D.prototype),ve.prototype={nodeName:"#document",nodeType:me,doctype:null,documentElement:null,_inc:1,insertBefore:function(k,Q){if(k.nodeType==Be){for(var ie=k.firstChild;ie;){var ce=ie.nextSibling;this.insertBefore(ie,Q),ie=ce}return k}return this.documentElement==null&&k.nodeType==_&&(this.documentElement=k),De(this,k,Q),k.ownerDocument=this,k},removeChild:function(k){return this.documentElement==k&&(this.documentElement=null),he(this,k)},importNode:function(k,Q){return Zt(this,k,Q)},getElementById:function(k){var Q=null;return z(this.documentElement,function(ie){if(ie.nodeType==_&&ie.getAttribute("id")==k)return Q=ie,!0}),Q},getElementsByClassName:function(k){var Q=v(k);return new se(this,function(ie){var ce=[];return Q.length>0&&z(ie.documentElement,function(Pe){if(Pe!==ie&&Pe.nodeType===_){var je=Pe.getAttribute("class");if(je){var lt=k===je;if(!lt){var gt=v(je);lt=Q.every((pt=gt,function(xe){return pt&&pt.indexOf(xe)!==-1}))}lt&&ce.push(Pe)}}var pt}),ce})},createElement:function(k){var Q=new R;return Q.ownerDocument=this,Q.nodeName=k,Q.tagName=k,Q.localName=k,Q.childNodes=new Xe,(Q.attributes=new Fe)._ownerElement=Q,Q},createDocumentFragment:function(){var k=new It;return k.ownerDocument=this,k.childNodes=new Xe,k},createTextNode:function(k){var Q=new _e;return Q.ownerDocument=this,Q.appendData(k),Q},createComment:function(k){var Q=new Ve;return Q.ownerDocument=this,Q.appendData(k),Q},createCDATASection:function(k){var Q=new Ie;return Q.ownerDocument=this,Q.appendData(k),Q},createProcessingInstruction:function(k,Q){var ie=new Gt;return ie.ownerDocument=this,ie.tagName=ie.target=k,ie.nodeValue=ie.data=Q,ie},createAttribute:function(k){var Q=new U;return Q.ownerDocument=this,Q.name=k,Q.nodeName=k,Q.localName=k,Q.specified=!0,Q},createEntityReference:function(k){var Q=new He;return Q.ownerDocument=this,Q.nodeName=k,Q},createElementNS:function(k,Q){var ie=new R,ce=Q.split(":"),Pe=ie.attributes=new Fe;return ie.childNodes=new Xe,ie.ownerDocument=this,ie.nodeName=Q,ie.tagName=Q,ie.namespaceURI=k,ce.length==2?(ie.prefix=ce[0],ie.localName=ce[1]):ie.localName=Q,Pe._ownerElement=ie,ie},createAttributeNS:function(k,Q){var ie=new U,ce=Q.split(":");return ie.ownerDocument=this,ie.nodeName=Q,ie.name=Q,ie.namespaceURI=k,ie.specified=!0,ce.length==2?(ie.prefix=ce[0],ie.localName=ce[1]):ie.localName=Q,ie}},p(ve,D),R.prototype={nodeType:_,hasAttribute:function(k){return this.getAttributeNode(k)!=null},getAttribute:function(k){var Q=this.getAttributeNode(k);return Q&&Q.value||""},getAttributeNode:function(k){return this.attributes.getNamedItem(k)},setAttribute:function(k,Q){var ie=this.ownerDocument.createAttribute(k);ie.value=ie.nodeValue=""+Q,this.setAttributeNode(ie)},removeAttribute:function(k){var Q=this.getAttributeNode(k);Q&&this.removeAttributeNode(Q)},appendChild:function(k){return k.nodeType===Be?this.insertBefore(k,null):function(Q,ie){var ce=ie.parentNode;if(ce){var Pe=Q.lastChild;ce.removeChild(ie),Pe=Q.lastChild}return Pe=Q.lastChild,ie.parentNode=Q,ie.previousSibling=Pe,ie.nextSibling=null,Pe?Pe.nextSibling=ie:Q.firstChild=ie,Q.lastChild=ie,pe(Q.ownerDocument,Q,ie),ie}(this,k)},setAttributeNode:function(k){return this.attributes.setNamedItem(k)},setAttributeNodeNS:function(k){return this.attributes.setNamedItemNS(k)},removeAttributeNode:function(k){return this.attributes.removeNamedItem(k.nodeName)},removeAttributeNS:function(k,Q){var ie=this.getAttributeNodeNS(k,Q);ie&&this.removeAttributeNode(ie)},hasAttributeNS:function(k,Q){return this.getAttributeNodeNS(k,Q)!=null},getAttributeNS:function(k,Q){var ie=this.getAttributeNodeNS(k,Q);return ie&&ie.value||""},setAttributeNS:function(k,Q,ie){var ce=this.ownerDocument.createAttributeNS(k,Q);ce.value=ce.nodeValue=""+ie,this.setAttributeNode(ce)},getAttributeNodeNS:function(k,Q){return this.attributes.getNamedItemNS(k,Q)},getElementsByTagName:function(k){return new se(this,function(Q){var ie=[];return z(Q,function(ce){ce===Q||ce.nodeType!=_||k!=="*"&&ce.tagName!=k||ie.push(ce)}),ie})},getElementsByTagNameNS:function(k,Q){return new se(this,function(ie){var ce=[];return z(ie,function(Pe){Pe===ie||Pe.nodeType!==_||k!=="*"&&Pe.namespaceURI!==k||Q!=="*"&&Pe.localName!=Q||ce.push(Pe)}),ce})}},ve.prototype.getElementsByTagName=R.prototype.getElementsByTagName,ve.prototype.getElementsByTagNameNS=R.prototype.getElementsByTagNameNS,p(R,D),U.prototype.nodeType=w,p(U,D),Z.prototype={data:"",substringData:function(k,Q){return this.data.substring(k,k+Q)},appendData:function(k){k=this.data+k,this.nodeValue=this.data=k,this.length=k.length},insertData:function(k,Q){this.replaceData(k,0,Q)},appendChild:function(k){throw new Error(Re[T])},deleteData:function(k,Q){this.replaceData(k,Q,"")},replaceData:function(k,Q,ie){ie=this.data.substring(0,k)+ie+this.data.substring(k+Q),this.nodeValue=this.data=ie,this.length=ie.length}},p(Z,D),_e.prototype={nodeName:"#text",nodeType:O,splitText:function(k){var Q=this.data,ie=Q.substring(k);Q=Q.substring(0,k),this.data=this.nodeValue=Q,this.length=Q.length;var ce=this.ownerDocument.createTextNode(ie);return this.parentNode&&this.parentNode.insertBefore(ce,this.nextSibling),ce}},p(_e,Z),Ve.prototype={nodeName:"#comment",nodeType:Y},p(Ve,Z),Ie.prototype={nodeName:"#cdata-section",nodeType:x},p(Ie,Z),mt.prototype.nodeType=ge,p(mt,D),jt.prototype.nodeType=it,p(jt,D),qe.prototype.nodeType=G,p(qe,D),He.prototype.nodeType=F,p(He,D),It.prototype.nodeName="#document-fragment",It.prototype.nodeType=Be,p(It,D),Gt.prototype.nodeType=P,p(Gt,D),Xt.prototype.serializeToString=function(k,Q,ie){return Ht.call(k,Q,ie)},D.prototype.toString=Ht;try{if(Object.defineProperty){let k=function(Q){switch(Q.nodeType){case _:case Be:var ie=[];for(Q=Q.firstChild;Q;)Q.nodeType!==7&&Q.nodeType!==8&&ie.push(k(Q)),Q=Q.nextSibling;return ie.join("");default:return Q.nodeValue}};var Ae=k;Object.defineProperty(se.prototype,"length",{get:function(){return Ze(this),this.$$length}}),Object.defineProperty(D.prototype,"textContent",{get:function(){return k(this)},set:function(Q){switch(this.nodeType){case _:case Be:for(;this.firstChild;)this.removeChild(this.firstChild);(Q||String(Q))&&this.appendChild(this.ownerDocument.createTextNode(Q));break;default:this.data=Q,this.value=Q,this.nodeValue=Q}}}),Me=function(Q,ie,ce){Q["$$"+ie]=ce}}}catch(k){}u.DocumentType=mt,u.DOMException=Le,u.DOMImplementation=f,u.Element=R,u.Node=D,u.NodeList=Xe,u.XMLSerializer=Xt},985:(E,u,o)=>{var l=o(6427).freeze;u.XML_ENTITIES=l({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),u.HTML_ENTITIES=l({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",times:"\xD7",divide:"\xF7",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",euro:"\u20AC",trade:"\u2122",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}),u.entityMap=u.HTML_ENTITIES},1081:(E,u,o)=>{var l=o(8368);l.DOMImplementation,l.XMLSerializer,u.DOMParser=o(9775).DOMParser},4751:(E,u,o)=>{var l=o(6427).NAMESPACE,y=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,m=new RegExp("[\\-\\.0-9"+y.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),v=new RegExp("^"+y.source+m.source+"*(?::"+y.source+m.source+"*)?$"),j=0,p=1,g=2,_=3,w=4,O=5,x=6,F=7;function G(Ee,Le){this.message=Ee,this.locator=Le,Error.captureStackTrace&&Error.captureStackTrace(this,G)}function P(){}function Y(Ee,Le){return Le.lineNumber=Ee.lineNumber,Le.columnNumber=Ee.columnNumber,Le}function me(Ee,Le,Xe,se,Ze,Fe){function dt(z,ve,Se){Xe.attributeNames.hasOwnProperty(z)&&Fe.fatalError("Attribute "+z+" redefined"),Xe.addValue(z,ve,Se)}for(var $e,ae=++Le,f=j;;){var D=Ee.charAt(ae);switch(D){case"=":if(f===p)$e=Ee.slice(Le,ae),f=_;else{if(f!==g)throw new Error("attribute equal must after attrName");f=_}break;case"'":case'"':if(f===_||f===p){if(f===p&&(Fe.warning('attribute value must after "="'),$e=Ee.slice(Le,ae)),Le=ae+1,!((ae=Ee.indexOf(D,Le))>0))throw new Error("attribute value no end '"+D+"' match");dt($e,H=Ee.slice(Le,ae).replace(/&#?\w+;/g,Ze),Le-1),f=O}else{if(f!=w)throw new Error('attribute value must after "="');dt($e,H=Ee.slice(Le,ae).replace(/&#?\w+;/g,Ze),Le),Fe.warning('attribute "'+$e+'" missed start quot('+D+")!!"),Le=ae+1,f=O}break;case"/":switch(f){case j:Xe.setTagName(Ee.slice(Le,ae));case O:case x:case F:f=F,Xe.closed=!0;case w:case p:case g:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return Fe.error("unexpected end of input"),f==j&&Xe.setTagName(Ee.slice(Le,ae)),ae;case">":switch(f){case j:Xe.setTagName(Ee.slice(Le,ae));case O:case x:case F:break;case w:case p:(H=Ee.slice(Le,ae)).slice(-1)==="/"&&(Xe.closed=!0,H=H.slice(0,-1));case g:f===g&&(H=$e),f==w?(Fe.warning('attribute "'+H+'" missed quot(")!'),dt($e,H.replace(/&#?\w+;/g,Ze),Le)):(l.isHTML(se[""])&&H.match(/^(?:disabled|checked|selected)$/i)||Fe.warning('attribute "'+H+'" missed value!! "'+H+'" instead!!'),dt(H,H,Le));break;case _:throw new Error("attribute value missed!!")}return ae;case"\x80":D=" ";default:if(D<=" ")switch(f){case j:Xe.setTagName(Ee.slice(Le,ae)),f=x;break;case p:$e=Ee.slice(Le,ae),f=g;break;case w:var H=Ee.slice(Le,ae).replace(/&#?\w+;/g,Ze);Fe.warning('attribute "'+H+'" missed quot(")!!'),dt($e,H,Le);case O:f=x}else switch(f){case g:Xe.tagName,l.isHTML(se[""])&&$e.match(/^(?:disabled|checked|selected)$/i)||Fe.warning('attribute "'+$e+'" missed value!! "'+$e+'" instead2!!'),dt($e,$e,Le),Le=ae,f=p;break;case O:Fe.warning('attribute space is required"'+$e+'"!!');case x:f=p,Le=ae;break;case _:f=w,Le=ae;break;case F:throw new Error("elements closed character '/' and '>' must be connected to")}}ae++}}function ge(Ee,Le,Xe){for(var se=Ee.tagName,Ze=null,Fe=Ee.length;Fe--;){var dt=Ee[Fe],$e=dt.qName,ae=dt.value;if((z=$e.indexOf(":"))>0)var f=dt.prefix=$e.slice(0,z),D=$e.slice(z+1),H=f==="xmlns"&&D;else D=$e,f=null,H=$e==="xmlns"&&"";dt.localName=D,H!==!1&&(Ze==null&&(Ze={},be(Xe,Xe={})),Xe[H]=Ze[H]=ae,dt.uri=l.XMLNS,Le.startPrefixMapping(H,ae))}for(Fe=Ee.length;Fe--;)(f=(dt=Ee[Fe]).prefix)&&(f==="xml"&&(dt.uri=l.XML),f!=="xmlns"&&(dt.uri=Xe[f||""]));var z;(z=se.indexOf(":"))>0?(f=Ee.prefix=se.slice(0,z),D=Ee.localName=se.slice(z+1)):(f=null,D=Ee.localName=se);var ve=Ee.uri=Xe[f||""];if(Le.startElement(ve,D,se,Ee),!Ee.closed)return Ee.currentNSMap=Xe,Ee.localNSMap=Ze,!0;if(Le.endElement(ve,D,se),Ze)for(f in Ze)Le.endPrefixMapping(f)}function Be(Ee,Le,Xe,se,Ze){if(/^(?:script|textarea)$/i.test(Xe)){var Fe=Ee.indexOf("</"+Xe+">",Le),dt=Ee.substring(Le+1,Fe);if(/[&<]/.test(dt))return/^script$/i.test(Xe)?(Ze.characters(dt,0,dt.length),Fe):(dt=dt.replace(/&#?\w+;/g,se),Ze.characters(dt,0,dt.length),Fe)}return Le+1}function it(Ee,Le,Xe,se){var Ze=se[Xe];return Ze==null&&((Ze=Ee.lastIndexOf("</"+Xe+">"))<Le&&(Ze=Ee.lastIndexOf("</"+Xe)),se[Xe]=Ze),Ze<Le}function be(Ee,Le){for(var Xe in Ee)Le[Xe]=Ee[Xe]}function Re(Ee,Le,Xe,se){if(Ee.charAt(Le+2)==="-")return Ee.charAt(Le+3)==="-"?(Ze=Ee.indexOf("-->",Le+4))>Le?(Xe.comment(Ee,Le+4,Ze-Le-4),Ze+3):(se.error("Unclosed comment"),-1):-1;if(Ee.substr(Le+3,6)=="CDATA["){var Ze=Ee.indexOf("]]>",Le+9);return Xe.startCDATA(),Xe.characters(Ee,Le+9,Ze-Le-9),Xe.endCDATA(),Ze+3}var Fe=function(H,z){var ve,Se=[],pe=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(pe.lastIndex=z,pe.exec(H);ve=pe.exec(H);)if(Se.push(ve),ve[1])return Se}(Ee,Le),dt=Fe.length;if(dt>1&&/!doctype/i.test(Fe[0][0])){var $e=Fe[1][0],ae=!1,f=!1;dt>3&&(/^public$/i.test(Fe[2][0])?(ae=Fe[3][0],f=dt>4&&Fe[4][0]):/^system$/i.test(Fe[2][0])&&(f=Fe[3][0]));var D=Fe[dt-1];return Xe.startDTD($e,ae,f),Xe.endDTD(),D.index+D[0].length}return-1}function T(Ee,Le,Xe){var se=Ee.indexOf("?>",Le);if(se){var Ze=Ee.substring(Le,se).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return Ze?(Ze[0].length,Xe.processingInstruction(Ze[1],Ze[2]),se+2):-1}return-1}function at(){this.attributeNames={}}G.prototype=new Error,G.prototype.name=G.name,P.prototype={parse:function(Ee,Le,Xe){var se=this.domBuilder;se.startDocument(),be(Le,Le={}),function(Ze,Fe,dt,$e,ae){function f(Zt){if(Zt>65535){var q=55296+((Zt-=65536)>>10),Me=56320+(1023&Zt);return String.fromCharCode(q,Me)}return String.fromCharCode(Zt)}function D(Zt){var q=Zt.slice(1,-1);return q in dt?dt[q]:q.charAt(0)==="#"?f(parseInt(q.substr(1).replace("x","0x"))):(ae.error("entity not found:"+Zt),Zt)}function H(Zt){if(Zt>U){var q=Ze.substring(U,Zt).replace(/&#?\w+;/g,D);he&&z(U),$e.characters(q,0,Zt-U),U=Zt}}function z(Zt,q){for(;Zt>=Se&&(q=pe.exec(Ze));)ve=q.index,Se=ve+q[0].length,he.lineNumber++;he.columnNumber=Zt-ve+1}for(var ve=0,Se=0,pe=/.*(?:\r\n?|\n)|.*$/g,he=$e.locator,De=[{currentNSMap:Fe}],R={},U=0;;){try{var Z=Ze.indexOf("<",U);if(Z<0){if(!Ze.substr(U).match(/^\s*$/)){var _e=$e.doc,Ve=_e.createTextNode(Ze.substr(U));_e.appendChild(Ve),$e.currentElement=Ve}return}switch(Z>U&&H(Z),Ze.charAt(Z+1)){case"/":var Ie=Ze.indexOf(">",Z+3),mt=Ze.substring(Z+2,Ie).replace(/[ \t\n\r]+$/g,""),jt=De.pop();Ie<0?(mt=Ze.substring(Z+2).replace(/[\s<].*/,""),ae.error("end tag name: "+mt+" is not complete:"+jt.tagName),Ie=Z+1+mt.length):mt.match(/\s</)&&(mt=mt.replace(/[\s<].*/,""),ae.error("end tag name: "+mt+" maybe not complete"),Ie=Z+1+mt.length);var qe=jt.localNSMap,He=jt.tagName==mt;if(He||jt.tagName&&jt.tagName.toLowerCase()==mt.toLowerCase()){if($e.endElement(jt.uri,jt.localName,mt),qe)for(var It in qe)$e.endPrefixMapping(It);He||ae.fatalError("end tag name: "+mt+" is not match the current start tagName:"+jt.tagName)}else De.push(jt);Ie++;break;case"?":he&&z(Z),Ie=T(Ze,Z,$e);break;case"!":he&&z(Z),Ie=Re(Ze,Z,$e,ae);break;default:he&&z(Z);var Gt=new at,Xt=De[De.length-1].currentNSMap,Ht=(Ie=me(Ze,Z,Gt,Xt,D,ae),Gt.length);if(!Gt.closed&&it(Ze,Ie,Gt.tagName,R)&&(Gt.closed=!0,dt.nbsp||ae.warning("unclosed xml attribute")),he&&Ht){for(var qt=Y(he,{}),Wt=0;Wt<Ht;Wt++){var _t=Gt[Wt];z(_t.offset),_t.locator=Y(he,{})}$e.locator=qt,ge(Gt,$e,Xt)&&De.push(Gt),$e.locator=he}else ge(Gt,$e,Xt)&&De.push(Gt);l.isHTML(Gt.uri)&&!Gt.closed?Ie=Be(Ze,Ie,Gt.tagName,D,$e):Ie++}}catch(Zt){if(Zt instanceof G)throw Zt;ae.error("element parse error: "+Zt),Ie=-1}Ie>U?U=Ie:H(Math.max(Z,U)+1)}}(Ee,Le,Xe,se,this.errorHandler),se.endDocument()}},at.prototype={setTagName:function(Ee){if(!v.test(Ee))throw new Error("invalid tagName:"+Ee);this.tagName=Ee},addValue:function(Ee,Le,Xe){if(!v.test(Ee))throw new Error("invalid attribute:"+Ee);this.attributeNames[Ee]=this.length,this[this.length++]={qName:Ee,value:Le,offset:Xe}},length:0,getLocalName:function(Ee){return this[Ee].localName},getLocator:function(Ee){return this[Ee].locator},getQName:function(Ee){return this[Ee].qName},getURI:function(Ee){return this[Ee].uri},getValue:function(Ee){return this[Ee].value}},u.XMLReader=P,u.ParseError=G},7139:(E,u,o)=>{"use strict";var l=o(1976),y=o(9377),m=o(6056),v=o(3495),j=o(3893),p=o(2371),g=o(4337),_=o(3058),w=o(8846),O=o(8780),x=o(2615),F=Object("a"),G=F[0]!=="a"||!(0 in F),P=O("String.prototype.split");E.exports=function(Y){var me,ge=_(this),Be=G&&x(ge)?P(ge,""):ge,it=g(Be.length);if(!p(Y))throw new TypeError("Array.prototype.map callback must be a function");arguments.length>1&&(me=arguments[1]);for(var be=l(ge,it),Re=0;Re<it;){var T=w(Re);if(j(ge,T)){var at=v(ge,T),Ee=y(Y,me,[at,Re,ge]);m(be,T,Ee)}Re+=1}return be}},7037:(E,u,o)=>{"use strict";var l=o(7921),y=o(560),m=o(8780),v=o(7139),j=o(2924),p=j(),g=o(4875),_=m("Array.prototype.slice"),w=function(O,x){return y(O),p.apply(O,_(arguments,1))};l(w,{getPolyfill:j,implementation:v,shim:g}),E.exports=w},2924:(E,u,o)=>{"use strict";var l=o(9427),y=o(7139);E.exports=function(){var m=Array.prototype.map;return l(m)?m:y}},4875:(E,u,o)=>{"use strict";var l=o(7921),y=o(2924);E.exports=function(){var m=y();return l(Array.prototype,{map:m},{map:function(){return Array.prototype.map!==m}}),m}},7943:(E,u)=>{"use strict";u.byteLength=function(g){var _=j(g),w=_[0],O=_[1];return 3*(w+O)/4-O},u.toByteArray=function(g){var _,w,O=j(g),x=O[0],F=O[1],G=new y(function(me,ge,Be){return 3*(ge+Be)/4-Be}(0,x,F)),P=0,Y=F>0?x-4:x;for(w=0;w<Y;w+=4)_=l[g.charCodeAt(w)]<<18|l[g.charCodeAt(w+1)]<<12|l[g.charCodeAt(w+2)]<<6|l[g.charCodeAt(w+3)],G[P++]=_>>16&255,G[P++]=_>>8&255,G[P++]=255&_;return F===2&&(_=l[g.charCodeAt(w)]<<2|l[g.charCodeAt(w+1)]>>4,G[P++]=255&_),F===1&&(_=l[g.charCodeAt(w)]<<10|l[g.charCodeAt(w+1)]<<4|l[g.charCodeAt(w+2)]>>2,G[P++]=_>>8&255,G[P++]=255&_),G},u.fromByteArray=function(g){for(var _,w=g.length,O=w%3,x=[],F=16383,G=0,P=w-O;G<P;G+=F)x.push(p(g,G,G+F>P?P:G+F));return O===1?(_=g[w-1],x.push(o[_>>2]+o[_<<4&63]+"==")):O===2&&(_=(g[w-2]<<8)+g[w-1],x.push(o[_>>10]+o[_>>4&63]+o[_<<2&63]+"=")),x.join("")};for(var o=[],l=[],y=typeof Uint8Array!="undefined"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0;v<64;++v)o[v]=m[v],l[m.charCodeAt(v)]=v;function j(g){var _=g.length;if(_%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var w=g.indexOf("=");return w===-1&&(w=_),[w,w===_?0:4-w%4]}function p(g,_,w){for(var O,x,F=[],G=_;G<w;G+=3)O=(g[G]<<16&16711680)+(g[G+1]<<8&65280)+(255&g[G+2]),F.push(o[(x=O)>>18&63]+o[x>>12&63]+o[x>>6&63]+o[63&x]);return F.join("")}l["-".charCodeAt(0)]=62,l["_".charCodeAt(0)]=63},8780:(E,u,o)=>{"use strict";var l=o(6893),y=o(3862),m=y(l("String.prototype.indexOf"));E.exports=function(v,j){var p=l(v,!!j);return typeof p=="function"&&m(v,".prototype.")>-1?y(p):p}},3862:(E,u,o)=>{"use strict";var l=o(5246),y=o(6893),m=y("%Function.prototype.apply%"),v=y("%Function.prototype.call%"),j=y("%Reflect.apply%",!0)||l.call(v,m),p=y("%Object.getOwnPropertyDescriptor%",!0),g=y("%Object.defineProperty%",!0),_=y("%Math.max%");if(g)try{g({},"a",{value:1})}catch(O){g=null}E.exports=function(O){var x=j(l,v,arguments);return p&&g&&p(x,"length").configurable&&g(x,"length",{value:1+_(0,O.length-(arguments.length-1))}),x};var w=function(){return j(l,m,arguments)};g?g(E.exports,"apply",{value:w}):E.exports.apply=w},7921:(E,u,o)=>{"use strict";var l=o(3818),y=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",m=Object.prototype.toString,v=Array.prototype.concat,j=Object.defineProperty,p=j&&function(){var w={};try{for(var O in j(w,"x",{enumerable:!1,value:w}),w)return!1;return w.x===w}catch(x){return!1}}(),g=function(w,O,x,F){var G;(!(O in w)||typeof(G=F)=="function"&&m.call(G)==="[object Function]"&&F())&&(p?j(w,O,{configurable:!0,enumerable:!1,value:x,writable:!0}):w[O]=x)},_=function(w,O){var x=arguments.length>2?arguments[2]:{},F=l(O);y&&(F=v.call(F,Object.getOwnPropertySymbols(O)));for(var G=0;G<F.length;G+=1)g(w,F[G],O[F[G]],x[F[G]])};_.supportsDescriptors=!!p,E.exports=_},9427:E=>{E.exports=function(u){var o=!0,l=!0,y=!1;if(typeof u=="function"){try{u.call("f",function(m,v,j){typeof j!="object"&&(o=!1)}),u.call([null],function(){"use strict";l=typeof this=="string"},"x")}catch(m){y=!0}return!y&&o&&l}return!1}},5670:E=>{var u={}.toString;E.exports=Array.isArray||function(o){return u.call(o)=="[object Array]"}},1157:(E,u,o)=>{"use strict";var l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",y=o(1494),m=o(8625),v=o(5052),j=o(9768);E.exports=function(p){if(y(p))return p;var g,_="default";if(arguments.length>1&&(arguments[1]===String?_="string":arguments[1]===Number&&(_="number")),l&&(Symbol.toPrimitive?g=function(O,x){var F=O[x];if(F!=null){if(!m(F))throw new TypeError(F+" returned for property "+x+" of object "+O+" is not a function");return F}}(p,Symbol.toPrimitive):j(p)&&(g=Symbol.prototype.valueOf)),g!==void 0){var w=g.call(p,_);if(y(w))return w;throw new TypeError("unable to convert exotic object to primitive")}return _==="default"&&(v(p)||j(p))&&(_="string"),function(O,x){if(O==null)throw new TypeError("Cannot call method on "+O);if(typeof x!="string"||x!=="number"&&x!=="string")throw new TypeError('hint must be "string" or "number"');var F,G,P,Y=x==="string"?["toString","valueOf"]:["valueOf","toString"];for(P=0;P<Y.length;++P)if(F=O[Y[P]],m(F)&&(G=F.call(O),y(G)))return G;throw new TypeError("No default value")}(p,_==="default"?"number":_)}},1494:E=>{"use strict";E.exports=function(u){return u===null||typeof u!="function"&&typeof u!="object"}},5929:E=>{"use strict";var u=Array.prototype.slice,o=Object.prototype.toString;E.exports=function(l){var y=this;if(typeof y!="function"||o.call(y)!=="[object Function]")throw new TypeError("Function.prototype.bind called on incompatible "+y);for(var m,v=u.call(arguments,1),j=Math.max(0,y.length-v.length),p=[],g=0;g<j;g++)p.push("$"+g);if(m=Function("binder","return function ("+p.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof m){var w=y.apply(this,v.concat(u.call(arguments)));return Object(w)===w?w:this}return y.apply(l,v.concat(u.call(arguments)))}),y.prototype){var _=function(){};_.prototype=y.prototype,m.prototype=new _,_.prototype=null}return m}},5246:(E,u,o)=>{"use strict";var l=o(5929);E.exports=Function.prototype.bind||l},6893:(E,u,o)=>{"use strict";var l,y=SyntaxError,m=Function,v=TypeError,j=function(Le){try{return m('"use strict"; return ('+Le+").constructor;")()}catch(Xe){}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},"")}catch(Le){p=null}var g=function(){throw new v},_=p?function(){try{return g}catch(Le){try{return p(arguments,"callee").get}catch(Xe){return g}}}():g,w=o(5990)(),O=Object.getPrototypeOf||function(Le){return Le.__proto__},x={},F=typeof Uint8Array=="undefined"?l:O(Uint8Array),G={"%AggregateError%":typeof AggregateError=="undefined"?l:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?l:ArrayBuffer,"%ArrayIteratorPrototype%":w?O([][Symbol.iterator]()):l,"%AsyncFromSyncIteratorPrototype%":l,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":typeof Atomics=="undefined"?l:Atomics,"%BigInt%":typeof BigInt=="undefined"?l:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?l:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?l:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?l:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?l:FinalizationRegistry,"%Function%":m,"%GeneratorFunction%":x,"%Int8Array%":typeof Int8Array=="undefined"?l:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?l:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?l:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w?O(O([][Symbol.iterator]())):l,"%JSON%":typeof JSON=="object"?JSON:l,"%Map%":typeof Map=="undefined"?l:Map,"%MapIteratorPrototype%":typeof Map!="undefined"&&w?O(new Map()[Symbol.iterator]()):l,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?l:Promise,"%Proxy%":typeof Proxy=="undefined"?l:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?l:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?l:Set,"%SetIteratorPrototype%":typeof Set!="undefined"&&w?O(new Set()[Symbol.iterator]()):l,"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?l:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w?O(""[Symbol.iterator]()):l,"%Symbol%":w?Symbol:l,"%SyntaxError%":y,"%ThrowTypeError%":_,"%TypedArray%":F,"%TypeError%":v,"%Uint8Array%":typeof Uint8Array=="undefined"?l:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?l:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?l:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?l:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?l:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?l:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?l:WeakSet},P=function Le(Xe){var se;if(Xe==="%AsyncFunction%")se=j("async function () {}");else if(Xe==="%GeneratorFunction%")se=j("function* () {}");else if(Xe==="%AsyncGeneratorFunction%")se=j("async function* () {}");else if(Xe==="%AsyncGenerator%"){var Ze=Le("%AsyncGeneratorFunction%");Ze&&(se=Ze.prototype)}else if(Xe==="%AsyncIteratorPrototype%"){var Fe=Le("%AsyncGenerator%");Fe&&(se=O(Fe.prototype))}return G[Xe]=se,se},Y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},me=o(5246),ge=o(7751),Be=me.call(Function.call,Array.prototype.concat),it=me.call(Function.apply,Array.prototype.splice),be=me.call(Function.call,String.prototype.replace),Re=me.call(Function.call,String.prototype.slice),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,at=/\\(\\)?/g,Ee=function(Le,Xe){var se,Ze=Le;if(ge(Y,Ze)&&(Ze="%"+(se=Y[Ze])[0]+"%"),ge(G,Ze)){var Fe=G[Ze];if(Fe===x&&(Fe=P(Ze)),Fe===void 0&&!Xe)throw new v("intrinsic "+Le+" exists, but is not available. Please file an issue!");return{alias:se,name:Ze,value:Fe}}throw new y("intrinsic "+Le+" does not exist!")};E.exports=function(Le,Xe){if(typeof Le!="string"||Le.length===0)throw new v("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Xe!="boolean")throw new v('"allowMissing" argument must be a boolean');var se=function(he){var De=Re(he,0,1),R=Re(he,-1);if(De==="%"&&R!=="%")throw new y("invalid intrinsic syntax, expected closing `%`");if(R==="%"&&De!=="%")throw new y("invalid intrinsic syntax, expected opening `%`");var U=[];return be(he,T,function(Z,_e,Ve,Ie){U[U.length]=Ve?be(Ie,at,"$1"):_e||Z}),U}(Le),Ze=se.length>0?se[0]:"",Fe=Ee("%"+Ze+"%",Xe),dt=Fe.name,$e=Fe.value,ae=!1,f=Fe.alias;f&&(Ze=f[0],it(se,Be([0,1],f)));for(var D=1,H=!0;D<se.length;D+=1){var z=se[D],ve=Re(z,0,1),Se=Re(z,-1);if((ve==='"'||ve==="'"||ve==="`"||Se==='"'||Se==="'"||Se==="`")&&ve!==Se)throw new y("property names with quotes must have matching quotes");if(z!=="constructor"&&H||(ae=!0),ge(G,dt="%"+(Ze+="."+z)+"%"))$e=G[dt];else if($e!=null){if(!(z in $e)){if(!Xe)throw new v("base intrinsic for "+Le+" exists, but the property is not available.");return}if(p&&D+1>=se.length){var pe=p($e,z);$e=(H=!!pe)&&"get"in pe&&!("originalValue"in pe.get)?pe.get:$e[z]}else H=ge($e,z),$e=$e[z];H&&!ae&&(G[dt]=$e)}}return $e}},5990:(E,u,o)=>{"use strict";var l=typeof Symbol!="undefined"&&Symbol,y=o(3031);E.exports=function(){return typeof l=="function"&&typeof Symbol=="function"&&typeof l("foo")=="symbol"&&typeof Symbol("bar")=="symbol"&&y()}},3031:E=>{"use strict";E.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var u={},o=Symbol("test"),l=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(l)!=="[object Symbol]")return!1;for(o in u[o]=42,u)return!1;if(typeof Object.keys=="function"&&Object.keys(u).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(u).length!==0)return!1;var y=Object.getOwnPropertySymbols(u);if(y.length!==1||y[0]!==o||!Object.prototype.propertyIsEnumerable.call(u,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var m=Object.getOwnPropertyDescriptor(u,o);if(m.value!==42||m.enumerable!==!0)return!1}return!0}},5994:(E,u,o)=>{"use strict";var l=o(3031);E.exports=function(){return l()&&!!Symbol.toStringTag}},7751:(E,u,o)=>{"use strict";var l=o(5246);E.exports=l.call(Function.call,Object.prototype.hasOwnProperty)},8405:(E,u)=>{u.read=function(o,l,y,m,v){var j,p,g=8*v-m-1,_=(1<<g)-1,w=_>>1,O=-7,x=y?v-1:0,F=y?-1:1,G=o[l+x];for(x+=F,j=G&(1<<-O)-1,G>>=-O,O+=g;O>0;j=256*j+o[l+x],x+=F,O-=8);for(p=j&(1<<-O)-1,j>>=-O,O+=m;O>0;p=256*p+o[l+x],x+=F,O-=8);if(j===0)j=1-w;else{if(j===_)return p?NaN:1/0*(G?-1:1);p+=Math.pow(2,m),j-=w}return(G?-1:1)*p*Math.pow(2,j-m)},u.write=function(o,l,y,m,v,j){var p,g,_,w=8*j-v-1,O=(1<<w)-1,x=O>>1,F=v===23?Math.pow(2,-24)-Math.pow(2,-77):0,G=m?0:j-1,P=m?1:-1,Y=l<0||l===0&&1/l<0?1:0;for(l=Math.abs(l),isNaN(l)||l===1/0?(g=isNaN(l)?1:0,p=O):(p=Math.floor(Math.log(l)/Math.LN2),l*(_=Math.pow(2,-p))<1&&(p--,_*=2),(l+=p+x>=1?F/_:F*Math.pow(2,1-x))*_>=2&&(p++,_/=2),p+x>=O?(g=0,p=O):p+x>=1?(g=(l*_-1)*Math.pow(2,v),p+=x):(g=l*Math.pow(2,x-1)*Math.pow(2,v),p=0));v>=8;o[y+G]=255&g,G+=P,g/=256,v-=8);for(p=p<<v|g,w+=v;w>0;o[y+G]=255&p,G+=P,p/=256,w-=8);o[y+G-P]|=128*Y}},2755:(E,u,o)=>{"use strict";var l=o(5994)(),y=o(8780)("Object.prototype.toString"),m=function(p){return!(l&&p&&typeof p=="object"&&Symbol.toStringTag in p)&&y(p)==="[object Arguments]"},v=function(p){return!!m(p)||p!==null&&typeof p=="object"&&typeof p.length=="number"&&p.length>=0&&y(p)!=="[object Array]"&&y(p.callee)==="[object Function]"},j=function(){return m(arguments)}();m.isLegacyArguments=v,E.exports=j?m:v},8625:E=>{"use strict";var u,o,l=Function.prototype.toString,y=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof y=="function"&&typeof Object.defineProperty=="function")try{u=Object.defineProperty({},"length",{get:function(){throw o}}),o={},y(function(){throw 42},null,u)}catch(_){_!==o&&(y=null)}else y=null;var m=/^\s*class\b/,v=function(_){try{var w=l.call(_);return m.test(w)}catch(O){return!1}},j=Object.prototype.toString,p=typeof Symbol=="function"&&!!Symbol.toStringTag,g=typeof document=="object"&&document.all===void 0&&document.all!==void 0?document.all:{};E.exports=y?function(_){if(_===g)return!0;if(!_||typeof _!="function"&&typeof _!="object")return!1;if(typeof _=="function"&&!_.prototype)return!0;try{y(_,null,u)}catch(w){if(w!==o)return!1}return!v(_)}:function(_){if(_===g)return!0;if(!_||typeof _!="function"&&typeof _!="object")return!1;if(typeof _=="function"&&!_.prototype)return!0;if(p)return function(O){try{return!v(O)&&(l.call(O),!0)}catch(x){return!1}}(_);if(v(_))return!1;var w=j.call(_);return w==="[object Function]"||w==="[object GeneratorFunction]"}},5052:(E,u,o)=>{"use strict";var l=Date.prototype.getDay,y=Object.prototype.toString,m=o(5994)();E.exports=function(v){return typeof v=="object"&&v!==null&&(m?function(j){try{return l.call(j),!0}catch(p){return!1}}(v):y.call(v)==="[object Date]")}},8566:E=>{"use strict";var u,o=typeof Map=="function"&&Map.prototype?Map:null,l=typeof Set=="function"&&Set.prototype?Set:null;o||(u=function(v){return!1});var y=o?Map.prototype.has:null,m=l?Set.prototype.has:null;u||y||(u=function(v){return!1}),E.exports=u||function(v){if(!v||typeof v!="object")return!1;try{if(y.call(v),m)try{m.call(v)}catch(j){return!0}return v instanceof o}catch(j){}return!1}},2975:(E,u,o)=>{"use strict";var l,y,m,v,j=o(8780),p=o(5994)();if(p){l=j("Object.prototype.hasOwnProperty"),y=j("RegExp.prototype.exec"),m={};var g=function(){throw m};v={toString:g,valueOf:g},typeof Symbol.toPrimitive=="symbol"&&(v[Symbol.toPrimitive]=g)}var _=j("Object.prototype.toString"),w=Object.getOwnPropertyDescriptor;E.exports=p?function(O){if(!O||typeof O!="object")return!1;var x=w(O,"lastIndex");if(!(x&&l(x,"value")))return!1;try{y(O,v)}catch(F){return F===m}}:function(O){return!(!O||typeof O!="object"&&typeof O!="function")&&_(O)==="[object RegExp]"}},2289:E=>{"use strict";var u,o=typeof Map=="function"&&Map.prototype?Map:null,l=typeof Set=="function"&&Set.prototype?Set:null;l||(u=function(v){return!1});var y=o?Map.prototype.has:null,m=l?Set.prototype.has:null;u||m||(u=function(v){return!1}),E.exports=u||function(v){if(!v||typeof v!="object")return!1;try{if(m.call(v),y)try{y.call(v)}catch(j){return!0}return v instanceof l}catch(j){}return!1}},2615:(E,u,o)=>{"use strict";var l=String.prototype.valueOf,y=Object.prototype.toString,m=o(5994)();E.exports=function(v){return typeof v=="string"||typeof v=="object"&&(m?function(j){try{return l.call(j),!0}catch(p){return!1}}(v):y.call(v)==="[object String]")}},9768:(E,u,o)=>{"use strict";var l=Object.prototype.toString;if(o(5990)()){var y=Symbol.prototype.toString,m=/^Symbol\(.*\)$/;E.exports=function(v){if(typeof v=="symbol")return!0;if(l.call(v)!=="[object Symbol]")return!1;try{return function(j){return typeof j.valueOf()=="symbol"&&m.test(y.call(j))}(v)}catch(j){return!1}}}else E.exports=function(v){return!1}},6247:E=>{"use strict";var u=TypeError;E.exports=function(o){if(!o||typeof o.next!="function")throw new u("iterator must be an object with a `next` method");if(arguments.length>1){var l=arguments[1];if(typeof l!="function")throw new u("`callback`, if provided, must be a function")}for(var y,m=l||[];(y=o.next())&&!y.done;)l?l(y.value):m.push(y.value);if(!l)return m}},6663:function(E,u){var o;(function(l,y){"use strict";typeof E.exports=="object"?E.exports=l.document?y(l,!0):function(m){if(!m.document)throw new Error("jQuery requires a window with a document");return y(m)}:y(l)})(typeof window!="undefined"?window:this,function(l,y){"use strict";var m=[],v=Object.getPrototypeOf,j=m.slice,p=m.flat?function(a){return m.flat.call(a)}:function(a){return m.concat.apply([],a)},g=m.push,_=m.indexOf,w={},O=w.toString,x=w.hasOwnProperty,F=x.toString,G=F.call(Object),P={},Y=function(a){return typeof a=="function"&&typeof a.nodeType!="number"},me=function(a){return a!=null&&a===a.window},ge=l.document,Be={type:!0,src:!0,nonce:!0,noModule:!0};function it(a,d,A){var M,K,X=(A=A||ge).createElement("script");if(X.text=a,d)for(M in Be)(K=d[M]||d.getAttribute&&d.getAttribute(M))&&X.setAttribute(M,K);A.head.appendChild(X).parentNode.removeChild(X)}function be(a){return a==null?a+"":typeof a=="object"||typeof a=="function"?w[O.call(a)]||"object":typeof a}var Re="3.5.1",T=function(a,d){return new T.fn.init(a,d)};function at(a){var d=!!a&&"length"in a&&a.length,A=be(a);return!Y(a)&&!me(a)&&(A==="array"||d===0||typeof d=="number"&&d>0&&d-1 in a)}T.fn=T.prototype={jquery:Re,constructor:T,length:0,toArray:function(){return j.call(this)},get:function(a){return a==null?j.call(this):a<0?this[a+this.length]:this[a]},pushStack:function(a){var d=T.merge(this.constructor(),a);return d.prevObject=this,d},each:function(a){return T.each(this,a)},map:function(a){return this.pushStack(T.map(this,function(d,A){return a.call(d,A,d)}))},slice:function(){return this.pushStack(j.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,function(a,d){return(d+1)%2}))},odd:function(){return this.pushStack(T.grep(this,function(a,d){return d%2}))},eq:function(a){var d=this.length,A=+a+(a<0?d:0);return this.pushStack(A>=0&&A<d?[this[A]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:m.sort,splice:m.splice},T.extend=T.fn.extend=function(){var a,d,A,M,K,X,oe=arguments[0]||{},we=1,V=arguments.length,ee=!1;for(typeof oe=="boolean"&&(ee=oe,oe=arguments[we]||{},we++),typeof oe=="object"||Y(oe)||(oe={}),we===V&&(oe=this,we--);we<V;we++)if((a=arguments[we])!=null)for(d in a)M=a[d],d!=="__proto__"&&oe!==M&&(ee&&M&&(T.isPlainObject(M)||(K=Array.isArray(M)))?(A=oe[d],X=K&&!Array.isArray(A)?[]:K||T.isPlainObject(A)?A:{},K=!1,oe[d]=T.extend(ee,X,M)):M!==void 0&&(oe[d]=M));return oe},T.extend({expando:"jQuery"+(Re+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isPlainObject:function(a){var d,A;return!(!a||O.call(a)!=="[object Object]")&&(!(d=v(a))||typeof(A=x.call(d,"constructor")&&d.constructor)=="function"&&F.call(A)===G)},isEmptyObject:function(a){var d;for(d in a)return!1;return!0},globalEval:function(a,d,A){it(a,{nonce:d&&d.nonce},A)},each:function(a,d){var A,M=0;if(at(a))for(A=a.length;M<A&&d.call(a[M],M,a[M])!==!1;M++);else for(M in a)if(d.call(a[M],M,a[M])===!1)break;return a},makeArray:function(a,d){var A=d||[];return a!=null&&(at(Object(a))?T.merge(A,typeof a=="string"?[a]:a):g.call(A,a)),A},inArray:function(a,d,A){return d==null?-1:_.call(d,a,A)},merge:function(a,d){for(var A=+d.length,M=0,K=a.length;M<A;M++)a[K++]=d[M];return a.length=K,a},grep:function(a,d,A){for(var M=[],K=0,X=a.length,oe=!A;K<X;K++)!d(a[K],K)!==oe&&M.push(a[K]);return M},map:function(a,d,A){var M,K,X=0,oe=[];if(at(a))for(M=a.length;X<M;X++)(K=d(a[X],X,A))!=null&&oe.push(K);else for(X in a)(K=d(a[X],X,A))!=null&&oe.push(K);return p(oe)},guid:1,support:P}),typeof Symbol=="function"&&(T.fn[Symbol.iterator]=m[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,d){w["[object "+d+"]"]=d.toLowerCase()});var Ee=function(a){var d,A,M,K,X,oe,we,V,ee,b,B,J,W,de,ue,ke,rt,ut,Rt,ht="sizzle"+1*new Date,yt=a.document,Ut=0,Nt=0,ot=Gr(),pn=Gr(),St=Gr(),Tt=Gr(),sn=function(le,Te){return le===Te&&(B=!0),0},$n={}.hasOwnProperty,gn=[],wi=gn.pop,Vn=gn.push,An=gn.push,Zn=gn.slice,wn=function(le,Te){for(var Je=0,vt=le.length;Je<vt;Je++)if(le[Je]===Te)return Je;return-1},Nn="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Ue="[\\x20\\t\\r\\n\\f]",Un="(?:\\\\[\\da-fA-F]{1,6}"+Ue+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",pi="\\["+Ue+"*("+Un+")(?:"+Ue+"*([*^$|!~]?=)"+Ue+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Un+"))|)"+Ue+"*\\]",Ii=":("+Un+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+pi+")*)|.*)\\)|)",xt=new RegExp(Ue+"+","g"),Wn=new RegExp("^"+Ue+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Ue+"+$","g"),zn=new RegExp("^"+Ue+"*,"+Ue+"*"),Tr=new RegExp("^"+Ue+"*([>+~]|"+Ue+")"+Ue+"*"),tn=new RegExp(Ue+"|>"),Fn=new RegExp(Ii),Ke=new RegExp("^"+Un+"$"),Sr={ID:new RegExp("^#("+Un+")"),CLASS:new RegExp("^\\.("+Un+")"),TAG:new RegExp("^("+Un+"|[*])"),ATTR:new RegExp("^"+pi),PSEUDO:new RegExp("^"+Ii),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Ue+"*(even|odd|(([+-]|)(\\d*)n|)"+Ue+"*(?:([+-]|)"+Ue+"*(\\d+)|))"+Ue+"*\\)|)","i"),bool:new RegExp("^(?:"+Nn+")$","i"),needsContext:new RegExp("^"+Ue+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Ue+"*((?:-\\d)?\\d*)"+Ue+"*\\)|)(?=[^-]|$)","i")},Rr=/HTML$/i,cs=/^(?:input|select|textarea|button)$/i,wr=/^h\d$/i,Jr=/^[^{]+\{\s*\[native \w/,br=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Zr=/[+~]/,Xi=new RegExp("\\\\[\\da-fA-F]{1,6}"+Ue+"?|\\\\([^\\r\\n\\f])","g"),Zi=function(le,Te){var Je="0x"+le.slice(1)-65536;return Te||(Je<0?String.fromCharCode(Je+65536):String.fromCharCode(Je>>10|55296,1023&Je|56320))},Fi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,xi=function(le,Te){return Te?le==="\0"?"\uFFFD":le.slice(0,-1)+"\\"+le.charCodeAt(le.length-1).toString(16)+" ":"\\"+le},es=function(){J()},ko=ds(function(le){return le.disabled===!0&&le.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{An.apply(gn=Zn.call(yt.childNodes),yt.childNodes),gn[yt.childNodes.length].nodeType}catch(le){An={apply:gn.length?function(Te,Je){Vn.apply(Te,Zn.call(Je))}:function(Te,Je){for(var vt=Te.length,Qe=0;Te[vt++]=Je[Qe++];);Te.length=vt-1}}}function Qn(le,Te,Je,vt){var Qe,Et,Ot,Bt,Jt,fn,mn,ln=Te&&Te.ownerDocument,In=Te?Te.nodeType:9;if(Je=Je||[],typeof le!="string"||!le||In!==1&&In!==9&&In!==11)return Je;if(!vt&&(J(Te),Te=Te||W,ue)){if(In!==11&&(Jt=br.exec(le)))if(Qe=Jt[1]){if(In===9){if(!(Ot=Te.getElementById(Qe)))return Je;if(Ot.id===Qe)return Je.push(Ot),Je}else if(ln&&(Ot=ln.getElementById(Qe))&&Rt(Te,Ot)&&Ot.id===Qe)return Je.push(Ot),Je}else{if(Jt[2])return An.apply(Je,Te.getElementsByTagName(le)),Je;if((Qe=Jt[3])&&A.getElementsByClassName&&Te.getElementsByClassName)return An.apply(Je,Te.getElementsByClassName(Qe)),Je}if(A.qsa&&!Tt[le+" "]&&(!ke||!ke.test(le))&&(In!==1||Te.nodeName.toLowerCase()!=="object")){if(mn=le,ln=Te,In===1&&(tn.test(le)||Tr.test(le))){for((ln=Zr.test(le)&&ki(Te.parentNode)||Te)===Te&&A.scope||((Bt=Te.getAttribute("id"))?Bt=Bt.replace(Fi,xi):Te.setAttribute("id",Bt=ht)),Et=(fn=oe(le)).length;Et--;)fn[Et]=(Bt?"#"+Bt:":scope")+" "+Ir(fn[Et]);mn=fn.join(",")}try{return An.apply(Je,ln.querySelectorAll(mn)),Je}catch(ni){Tt(le,!0)}finally{Bt===ht&&Te.removeAttribute("id")}}}return V(le.replace(Wn,"$1"),Te,Je,vt)}function Gr(){var le=[];return function Te(Je,vt){return le.push(Je+" ")>M.cacheLength&&delete Te[le.shift()],Te[Je+" "]=vt}}function vi(le){return le[ht]=!0,le}function er(le){var Te=W.createElement("fieldset");try{return!!le(Te)}catch(Je){return!1}finally{Te.parentNode&&Te.parentNode.removeChild(Te),Te=null}}function ls(le,Te){for(var Je=le.split("|"),vt=Je.length;vt--;)M.attrHandle[Je[vt]]=Te}function Os(le,Te){var Je=Te&&le,vt=Je&&le.nodeType===1&&Te.nodeType===1&&le.sourceIndex-Te.sourceIndex;if(vt)return vt;if(Je){for(;Je=Je.nextSibling;)if(Je===Te)return-1}return le?1:-1}function us(le){return function(Te){return Te.nodeName.toLowerCase()==="input"&&Te.type===le}}function Ds(le){return function(Te){var Je=Te.nodeName.toLowerCase();return(Je==="input"||Je==="button")&&Te.type===le}}function Ms(le){return function(Te){return"form"in Te?Te.parentNode&&Te.disabled===!1?"label"in Te?"label"in Te.parentNode?Te.parentNode.disabled===le:Te.disabled===le:Te.isDisabled===le||Te.isDisabled!==!le&&ko(Te)===le:Te.disabled===le:"label"in Te&&Te.disabled===le}}function tr(le){return vi(function(Te){return Te=+Te,vi(function(Je,vt){for(var Qe,Et=le([],Je.length,Te),Ot=Et.length;Ot--;)Je[Qe=Et[Ot]]&&(Je[Qe]=!(vt[Qe]=Je[Qe]))})})}function ki(le){return le&&le.getElementsByTagName!==void 0&&le}for(d in A=Qn.support={},X=Qn.isXML=function(le){var Te=le.namespaceURI,Je=(le.ownerDocument||le).documentElement;return!Rr.test(Te||Je&&Je.nodeName||"HTML")},J=Qn.setDocument=function(le){var Te,Je,vt=le?le.ownerDocument||le:yt;return vt!=W&&vt.nodeType===9&&vt.documentElement&&(de=(W=vt).documentElement,ue=!X(W),yt!=W&&(Je=W.defaultView)&&Je.top!==Je&&(Je.addEventListener?Je.addEventListener("unload",es,!1):Je.attachEvent&&Je.attachEvent("onunload",es)),A.scope=er(function(Qe){return de.appendChild(Qe).appendChild(W.createElement("div")),Qe.querySelectorAll!==void 0&&!Qe.querySelectorAll(":scope fieldset div").length}),A.attributes=er(function(Qe){return Qe.className="i",!Qe.getAttribute("className")}),A.getElementsByTagName=er(function(Qe){return Qe.appendChild(W.createComment("")),!Qe.getElementsByTagName("*").length}),A.getElementsByClassName=Jr.test(W.getElementsByClassName),A.getById=er(function(Qe){return de.appendChild(Qe).id=ht,!W.getElementsByName||!W.getElementsByName(ht).length}),A.getById?(M.filter.ID=function(Qe){var Et=Qe.replace(Xi,Zi);return function(Ot){return Ot.getAttribute("id")===Et}},M.find.ID=function(Qe,Et){if(Et.getElementById!==void 0&&ue){var Ot=Et.getElementById(Qe);return Ot?[Ot]:[]}}):(M.filter.ID=function(Qe){var Et=Qe.replace(Xi,Zi);return function(Ot){var Bt=Ot.getAttributeNode!==void 0&&Ot.getAttributeNode("id");return Bt&&Bt.value===Et}},M.find.ID=function(Qe,Et){if(Et.getElementById!==void 0&&ue){var Ot,Bt,Jt,fn=Et.getElementById(Qe);if(fn){if((Ot=fn.getAttributeNode("id"))&&Ot.value===Qe)return[fn];for(Jt=Et.getElementsByName(Qe),Bt=0;fn=Jt[Bt++];)if((Ot=fn.getAttributeNode("id"))&&Ot.value===Qe)return[fn]}return[]}}),M.find.TAG=A.getElementsByTagName?function(Qe,Et){return Et.getElementsByTagName!==void 0?Et.getElementsByTagName(Qe):A.qsa?Et.querySelectorAll(Qe):void 0}:function(Qe,Et){var Ot,Bt=[],Jt=0,fn=Et.getElementsByTagName(Qe);if(Qe==="*"){for(;Ot=fn[Jt++];)Ot.nodeType===1&&Bt.push(Ot);return Bt}return fn},M.find.CLASS=A.getElementsByClassName&&function(Qe,Et){if(Et.getElementsByClassName!==void 0&&ue)return Et.getElementsByClassName(Qe)},rt=[],ke=[],(A.qsa=Jr.test(W.querySelectorAll))&&(er(function(Qe){var Et;de.appendChild(Qe).innerHTML="<a id='"+ht+"'></a><select id='"+ht+"-\r\\' msallowcapture=''><option selected=''></option></select>",Qe.querySelectorAll("[msallowcapture^='']").length&&ke.push("[*^$]="+Ue+`*(?:''|"")`),Qe.querySelectorAll("[selected]").length||ke.push("\\["+Ue+"*(?:value|"+Nn+")"),Qe.querySelectorAll("[id~="+ht+"-]").length||ke.push("~="),(Et=W.createElement("input")).setAttribute("name",""),Qe.appendChild(Et),Qe.querySelectorAll("[name='']").length||ke.push("\\["+Ue+"*name"+Ue+"*="+Ue+`*(?:''|"")`),Qe.querySelectorAll(":checked").length||ke.push(":checked"),Qe.querySelectorAll("a#"+ht+"+*").length||ke.push(".#.+[+~]"),Qe.querySelectorAll("\\\f"),ke.push("[\\r\\n\\f]")}),er(function(Qe){Qe.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var Et=W.createElement("input");Et.setAttribute("type","hidden"),Qe.appendChild(Et).setAttribute("name","D"),Qe.querySelectorAll("[name=d]").length&&ke.push("name"+Ue+"*[*^$|!~]?="),Qe.querySelectorAll(":enabled").length!==2&&ke.push(":enabled",":disabled"),de.appendChild(Qe).disabled=!0,Qe.querySelectorAll(":disabled").length!==2&&ke.push(":enabled",":disabled"),Qe.querySelectorAll("*,:x"),ke.push(",.*:")})),(A.matchesSelector=Jr.test(ut=de.matches||de.webkitMatchesSelector||de.mozMatchesSelector||de.oMatchesSelector||de.msMatchesSelector))&&er(function(Qe){A.disconnectedMatch=ut.call(Qe,"*"),ut.call(Qe,"[s!='']:x"),rt.push("!=",Ii)}),ke=ke.length&&new RegExp(ke.join("|")),rt=rt.length&&new RegExp(rt.join("|")),Te=Jr.test(de.compareDocumentPosition),Rt=Te||Jr.test(de.contains)?function(Qe,Et){var Ot=Qe.nodeType===9?Qe.documentElement:Qe,Bt=Et&&Et.parentNode;return Qe===Bt||!(!Bt||Bt.nodeType!==1||!(Ot.contains?Ot.contains(Bt):Qe.compareDocumentPosition&&16&Qe.compareDocumentPosition(Bt)))}:function(Qe,Et){if(Et){for(;Et=Et.parentNode;)if(Et===Qe)return!0}return!1},sn=Te?function(Qe,Et){if(Qe===Et)return B=!0,0;var Ot=!Qe.compareDocumentPosition-!Et.compareDocumentPosition;return Ot||(1&(Ot=(Qe.ownerDocument||Qe)==(Et.ownerDocument||Et)?Qe.compareDocumentPosition(Et):1)||!A.sortDetached&&Et.compareDocumentPosition(Qe)===Ot?Qe==W||Qe.ownerDocument==yt&&Rt(yt,Qe)?-1:Et==W||Et.ownerDocument==yt&&Rt(yt,Et)?1:b?wn(b,Qe)-wn(b,Et):0:4&Ot?-1:1)}:function(Qe,Et){if(Qe===Et)return B=!0,0;var Ot,Bt=0,Jt=Qe.parentNode,fn=Et.parentNode,mn=[Qe],ln=[Et];if(!Jt||!fn)return Qe==W?-1:Et==W?1:Jt?-1:fn?1:b?wn(b,Qe)-wn(b,Et):0;if(Jt===fn)return Os(Qe,Et);for(Ot=Qe;Ot=Ot.parentNode;)mn.unshift(Ot);for(Ot=Et;Ot=Ot.parentNode;)ln.unshift(Ot);for(;mn[Bt]===ln[Bt];)Bt++;return Bt?Os(mn[Bt],ln[Bt]):mn[Bt]==yt?-1:ln[Bt]==yt?1:0}),W},Qn.matches=function(le,Te){return Qn(le,null,null,Te)},Qn.matchesSelector=function(le,Te){if(J(le),A.matchesSelector&&ue&&!Tt[Te+" "]&&(!rt||!rt.test(Te))&&(!ke||!ke.test(Te)))try{var Je=ut.call(le,Te);if(Je||A.disconnectedMatch||le.document&&le.document.nodeType!==11)return Je}catch(vt){Tt(Te,!0)}return Qn(Te,W,null,[le]).length>0},Qn.contains=function(le,Te){return(le.ownerDocument||le)!=W&&J(le),Rt(le,Te)},Qn.attr=function(le,Te){(le.ownerDocument||le)!=W&&J(le);var Je=M.attrHandle[Te.toLowerCase()],vt=Je&&$n.call(M.attrHandle,Te.toLowerCase())?Je(le,Te,!ue):void 0;return vt!==void 0?vt:A.attributes||!ue?le.getAttribute(Te):(vt=le.getAttributeNode(Te))&&vt.specified?vt.value:null},Qn.escape=function(le){return(le+"").replace(Fi,xi)},Qn.error=function(le){throw new Error("Syntax error, unrecognized expression: "+le)},Qn.uniqueSort=function(le){var Te,Je=[],vt=0,Qe=0;if(B=!A.detectDuplicates,b=!A.sortStable&&le.slice(0),le.sort(sn),B){for(;Te=le[Qe++];)Te===le[Qe]&&(vt=Je.push(Qe));for(;vt--;)le.splice(Je[vt],1)}return b=null,le},K=Qn.getText=function(le){var Te,Je="",vt=0,Qe=le.nodeType;if(Qe){if(Qe===1||Qe===9||Qe===11){if(typeof le.textContent=="string")return le.textContent;for(le=le.firstChild;le;le=le.nextSibling)Je+=K(le)}else if(Qe===3||Qe===4)return le.nodeValue}else for(;Te=le[vt++];)Je+=K(Te);return Je},M=Qn.selectors={cacheLength:50,createPseudo:vi,match:Sr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(le){return le[1]=le[1].replace(Xi,Zi),le[3]=(le[3]||le[4]||le[5]||"").replace(Xi,Zi),le[2]==="~="&&(le[3]=" "+le[3]+" "),le.slice(0,4)},CHILD:function(le){return le[1]=le[1].toLowerCase(),le[1].slice(0,3)==="nth"?(le[3]||Qn.error(le[0]),le[4]=+(le[4]?le[5]+(le[6]||1):2*(le[3]==="even"||le[3]==="odd")),le[5]=+(le[7]+le[8]||le[3]==="odd")):le[3]&&Qn.error(le[0]),le},PSEUDO:function(le){var Te,Je=!le[6]&&le[2];return Sr.CHILD.test(le[0])?null:(le[3]?le[2]=le[4]||le[5]||"":Je&&Fn.test(Je)&&(Te=oe(Je,!0))&&(Te=Je.indexOf(")",Je.length-Te)-Je.length)&&(le[0]=le[0].slice(0,Te),le[2]=Je.slice(0,Te)),le.slice(0,3))}},filter:{TAG:function(le){var Te=le.replace(Xi,Zi).toLowerCase();return le==="*"?function(){return!0}:function(Je){return Je.nodeName&&Je.nodeName.toLowerCase()===Te}},CLASS:function(le){var Te=ot[le+" "];return Te||(Te=new RegExp("(^|"+Ue+")"+le+"("+Ue+"|$)"))&&ot(le,function(Je){return Te.test(typeof Je.className=="string"&&Je.className||Je.getAttribute!==void 0&&Je.getAttribute("class")||"")})},ATTR:function(le,Te,Je){return function(vt){var Qe=Qn.attr(vt,le);return Qe==null?Te==="!=":!Te||(Qe+="",Te==="="?Qe===Je:Te==="!="?Qe!==Je:Te==="^="?Je&&Qe.indexOf(Je)===0:Te==="*="?Je&&Qe.indexOf(Je)>-1:Te==="$="?Je&&Qe.slice(-Je.length)===Je:Te==="~="?(" "+Qe.replace(xt," ")+" ").indexOf(Je)>-1:Te==="|="&&(Qe===Je||Qe.slice(0,Je.length+1)===Je+"-"))}},CHILD:function(le,Te,Je,vt,Qe){var Et=le.slice(0,3)!=="nth",Ot=le.slice(-4)!=="last",Bt=Te==="of-type";return vt===1&&Qe===0?function(Jt){return!!Jt.parentNode}:function(Jt,fn,mn){var ln,In,ni,yn,fi,bi,Pi=Et!==Ot?"nextSibling":"previousSibling",ei=Jt.parentNode,ji=Bt&&Jt.nodeName.toLowerCase(),Mi=!mn&&!Bt,_i=!1;if(ei){if(Et){for(;Pi;){for(yn=Jt;yn=yn[Pi];)if(Bt?yn.nodeName.toLowerCase()===ji:yn.nodeType===1)return!1;bi=Pi=le==="only"&&!bi&&"nextSibling"}return!0}if(bi=[Ot?ei.firstChild:ei.lastChild],Ot&&Mi){for(_i=(fi=(ln=(In=(ni=(yn=ei)[ht]||(yn[ht]={}))[yn.uniqueID]||(ni[yn.uniqueID]={}))[le]||[])[0]===Ut&&ln[1])&&ln[2],yn=fi&&ei.childNodes[fi];yn=++fi&&yn&&yn[Pi]||(_i=fi=0)||bi.pop();)if(yn.nodeType===1&&++_i&&yn===Jt){In[le]=[Ut,fi,_i];break}}else if(Mi&&(_i=fi=(ln=(In=(ni=(yn=Jt)[ht]||(yn[ht]={}))[yn.uniqueID]||(ni[yn.uniqueID]={}))[le]||[])[0]===Ut&&ln[1]),_i===!1)for(;(yn=++fi&&yn&&yn[Pi]||(_i=fi=0)||bi.pop())&&((Bt?yn.nodeName.toLowerCase()!==ji:yn.nodeType!==1)||!++_i||(Mi&&((In=(ni=yn[ht]||(yn[ht]={}))[yn.uniqueID]||(ni[yn.uniqueID]={}))[le]=[Ut,_i]),yn!==Jt)););return(_i-=Qe)===vt||_i%vt==0&&_i/vt>=0}}},PSEUDO:function(le,Te){var Je,vt=M.pseudos[le]||M.setFilters[le.toLowerCase()]||Qn.error("unsupported pseudo: "+le);return vt[ht]?vt(Te):vt.length>1?(Je=[le,le,"",Te],M.setFilters.hasOwnProperty(le.toLowerCase())?vi(function(Qe,Et){for(var Ot,Bt=vt(Qe,Te),Jt=Bt.length;Jt--;)Qe[Ot=wn(Qe,Bt[Jt])]=!(Et[Ot]=Bt[Jt])}):function(Qe){return vt(Qe,0,Je)}):vt}},pseudos:{not:vi(function(le){var Te=[],Je=[],vt=we(le.replace(Wn,"$1"));return vt[ht]?vi(function(Qe,Et,Ot,Bt){for(var Jt,fn=vt(Qe,null,Bt,[]),mn=Qe.length;mn--;)(Jt=fn[mn])&&(Qe[mn]=!(Et[mn]=Jt))}):function(Qe,Et,Ot){return Te[0]=Qe,vt(Te,null,Ot,Je),Te[0]=null,!Je.pop()}}),has:vi(function(le){return function(Te){return Qn(le,Te).length>0}}),contains:vi(function(le){return le=le.replace(Xi,Zi),function(Te){return(Te.textContent||K(Te)).indexOf(le)>-1}}),lang:vi(function(le){return Ke.test(le||"")||Qn.error("unsupported lang: "+le),le=le.replace(Xi,Zi).toLowerCase(),function(Te){var Je;do if(Je=ue?Te.lang:Te.getAttribute("xml:lang")||Te.getAttribute("lang"))return(Je=Je.toLowerCase())===le||Je.indexOf(le+"-")===0;while((Te=Te.parentNode)&&Te.nodeType===1);return!1}}),target:function(le){var Te=a.location&&a.location.hash;return Te&&Te.slice(1)===le.id},root:function(le){return le===de},focus:function(le){return le===W.activeElement&&(!W.hasFocus||W.hasFocus())&&!!(le.type||le.href||~le.tabIndex)},enabled:Ms(!1),disabled:Ms(!0),checked:function(le){var Te=le.nodeName.toLowerCase();return Te==="input"&&!!le.checked||Te==="option"&&!!le.selected},selected:function(le){return le.parentNode&&le.parentNode.selectedIndex,le.selected===!0},empty:function(le){for(le=le.firstChild;le;le=le.nextSibling)if(le.nodeType<6)return!1;return!0},parent:function(le){return!M.pseudos.empty(le)},header:function(le){return wr.test(le.nodeName)},input:function(le){return cs.test(le.nodeName)},button:function(le){var Te=le.nodeName.toLowerCase();return Te==="input"&&le.type==="button"||Te==="button"},text:function(le){var Te;return le.nodeName.toLowerCase()==="input"&&le.type==="text"&&((Te=le.getAttribute("type"))==null||Te.toLowerCase()==="text")},first:tr(function(){return[0]}),last:tr(function(le,Te){return[Te-1]}),eq:tr(function(le,Te,Je){return[Je<0?Je+Te:Je]}),even:tr(function(le,Te){for(var Je=0;Je<Te;Je+=2)le.push(Je);return le}),odd:tr(function(le,Te){for(var Je=1;Je<Te;Je+=2)le.push(Je);return le}),lt:tr(function(le,Te,Je){for(var vt=Je<0?Je+Te:Je>Te?Te:Je;--vt>=0;)le.push(vt);return le}),gt:tr(function(le,Te,Je){for(var vt=Je<0?Je+Te:Je;++vt<Te;)le.push(vt);return le})}},M.pseudos.nth=M.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})M.pseudos[d]=us(d);for(d in{submit:!0,reset:!0})M.pseudos[d]=Ds(d);function so(){}function Ir(le){for(var Te=0,Je=le.length,vt="";Te<Je;Te++)vt+=le[Te].value;return vt}function ds(le,Te,Je){var vt=Te.dir,Qe=Te.next,Et=Qe||vt,Ot=Je&&Et==="parentNode",Bt=Nt++;return Te.first?function(Jt,fn,mn){for(;Jt=Jt[vt];)if(Jt.nodeType===1||Ot)return le(Jt,fn,mn);return!1}:function(Jt,fn,mn){var ln,In,ni,yn=[Ut,Bt];if(mn){for(;Jt=Jt[vt];)if((Jt.nodeType===1||Ot)&&le(Jt,fn,mn))return!0}else for(;Jt=Jt[vt];)if(Jt.nodeType===1||Ot)if(In=(ni=Jt[ht]||(Jt[ht]={}))[Jt.uniqueID]||(ni[Jt.uniqueID]={}),Qe&&Qe===Jt.nodeName.toLowerCase())Jt=Jt[vt]||Jt;else{if((ln=In[Et])&&ln[0]===Ut&&ln[1]===Bt)return yn[2]=ln[2];if(In[Et]=yn,yn[2]=le(Jt,fn,mn))return!0}return!1}}function hs(le){return le.length>1?function(Te,Je,vt){for(var Qe=le.length;Qe--;)if(!le[Qe](Te,Je,vt))return!1;return!0}:le[0]}function ts(le,Te,Je,vt,Qe){for(var Et,Ot=[],Bt=0,Jt=le.length,fn=Te!=null;Bt<Jt;Bt++)(Et=le[Bt])&&(Je&&!Je(Et,vt,Qe)||(Ot.push(Et),fn&&Te.push(Bt)));return Ot}function Ns(le,Te,Je,vt,Qe,Et){return vt&&!vt[ht]&&(vt=Ns(vt)),Qe&&!Qe[ht]&&(Qe=Ns(Qe,Et)),vi(function(Ot,Bt,Jt,fn){var mn,ln,In,ni=[],yn=[],fi=Bt.length,bi=Ot||function(ji,Mi,_i){for(var nr=0,ns=Mi.length;nr<ns;nr++)Qn(ji,Mi[nr],_i);return _i}(Te||"*",Jt.nodeType?[Jt]:Jt,[]),Pi=!le||!Ot&&Te?bi:ts(bi,ni,le,Jt,fn),ei=Je?Qe||(Ot?le:fi||vt)?[]:Bt:Pi;if(Je&&Je(Pi,ei,Jt,fn),vt)for(mn=ts(ei,yn),vt(mn,[],Jt,fn),ln=mn.length;ln--;)(In=mn[ln])&&(ei[yn[ln]]=!(Pi[yn[ln]]=In));if(Ot){if(Qe||le){if(Qe){for(mn=[],ln=ei.length;ln--;)(In=ei[ln])&&mn.push(Pi[ln]=In);Qe(null,ei=[],mn,fn)}for(ln=ei.length;ln--;)(In=ei[ln])&&(mn=Qe?wn(Ot,In):ni[ln])>-1&&(Ot[mn]=!(Bt[mn]=In))}}else ei=ts(ei===Bt?ei.splice(fi,ei.length):ei),Qe?Qe(null,Bt,ei,fn):An.apply(Bt,ei)})}function Ls(le){for(var Te,Je,vt,Qe=le.length,Et=M.relative[le[0].type],Ot=Et||M.relative[" "],Bt=Et?1:0,Jt=ds(function(ln){return ln===Te},Ot,!0),fn=ds(function(ln){return wn(Te,ln)>-1},Ot,!0),mn=[function(ln,In,ni){var yn=!Et&&(ni||In!==ee)||((Te=In).nodeType?Jt(ln,In,ni):fn(ln,In,ni));return Te=null,yn}];Bt<Qe;Bt++)if(Je=M.relative[le[Bt].type])mn=[ds(hs(mn),Je)];else{if((Je=M.filter[le[Bt].type].apply(null,le[Bt].matches))[ht]){for(vt=++Bt;vt<Qe&&!M.relative[le[vt].type];vt++);return Ns(Bt>1&&hs(mn),Bt>1&&Ir(le.slice(0,Bt-1).concat({value:le[Bt-2].type===" "?"*":""})).replace(Wn,"$1"),Je,Bt<vt&&Ls(le.slice(Bt,vt)),vt<Qe&&Ls(le=le.slice(vt)),vt<Qe&&Ir(le))}mn.push(Je)}return hs(mn)}return so.prototype=M.filters=M.pseudos,M.setFilters=new so,oe=Qn.tokenize=function(le,Te){var Je,vt,Qe,Et,Ot,Bt,Jt,fn=pn[le+" "];if(fn)return Te?0:fn.slice(0);for(Ot=le,Bt=[],Jt=M.preFilter;Ot;){for(Et in Je&&!(vt=zn.exec(Ot))||(vt&&(Ot=Ot.slice(vt[0].length)||Ot),Bt.push(Qe=[])),Je=!1,(vt=Tr.exec(Ot))&&(Je=vt.shift(),Qe.push({value:Je,type:vt[0].replace(Wn," ")}),Ot=Ot.slice(Je.length)),M.filter)!(vt=Sr[Et].exec(Ot))||Jt[Et]&&!(vt=Jt[Et](vt))||(Je=vt.shift(),Qe.push({value:Je,type:Et,matches:vt}),Ot=Ot.slice(Je.length));if(!Je)break}return Te?Ot.length:Ot?Qn.error(le):pn(le,Bt).slice(0)},we=Qn.compile=function(le,Te){var Je,vt=[],Qe=[],Et=St[le+" "];if(!Et){for(Te||(Te=oe(le)),Je=Te.length;Je--;)(Et=Ls(Te[Je]))[ht]?vt.push(Et):Qe.push(Et);Et=St(le,function(Ot,Bt){var Jt=Bt.length>0,fn=Ot.length>0,mn=function(ln,In,ni,yn,fi){var bi,Pi,ei,ji=0,Mi="0",_i=ln&&[],nr=[],ns=ee,oo=ln||fn&&M.find.TAG("*",fi),xs=Ut+=ns==null?1:Math.random()||.1,Bo=oo.length;for(fi&&(ee=In==W||In||fi);Mi!==Bo&&(bi=oo[Mi])!=null;Mi++){if(fn&&bi){for(Pi=0,In||bi.ownerDocument==W||(J(bi),ni=!ue);ei=Ot[Pi++];)if(ei(bi,In||W,ni)){yn.push(bi);break}fi&&(Ut=xs)}Jt&&((bi=!ei&&bi)&&ji--,ln&&_i.push(bi))}if(ji+=Mi,Jt&&Mi!==ji){for(Pi=0;ei=Bt[Pi++];)ei(_i,nr,In,ni);if(ln){if(ji>0)for(;Mi--;)_i[Mi]||nr[Mi]||(nr[Mi]=wi.call(yn));nr=ts(nr)}An.apply(yn,nr),fi&&!ln&&nr.length>0&&ji+Bt.length>1&&Qn.uniqueSort(yn)}return fi&&(Ut=xs,ee=ns),_i};return Jt?vi(mn):mn}(Qe,vt)),Et.selector=le}return Et},V=Qn.select=function(le,Te,Je,vt){var Qe,Et,Ot,Bt,Jt,fn=typeof le=="function"&&le,mn=!vt&&oe(le=fn.selector||le);if(Je=Je||[],mn.length===1){if((Et=mn[0]=mn[0].slice(0)).length>2&&(Ot=Et[0]).type==="ID"&&Te.nodeType===9&&ue&&M.relative[Et[1].type]){if(!(Te=(M.find.ID(Ot.matches[0].replace(Xi,Zi),Te)||[])[0]))return Je;fn&&(Te=Te.parentNode),le=le.slice(Et.shift().value.length)}for(Qe=Sr.needsContext.test(le)?0:Et.length;Qe--&&(Ot=Et[Qe],!M.relative[Bt=Ot.type]);)if((Jt=M.find[Bt])&&(vt=Jt(Ot.matches[0].replace(Xi,Zi),Zr.test(Et[0].type)&&ki(Te.parentNode)||Te))){if(Et.splice(Qe,1),!(le=vt.length&&Ir(Et)))return An.apply(Je,vt),Je;break}}return(fn||we(le,mn))(vt,Te,!ue,Je,!Te||Zr.test(le)&&ki(Te.parentNode)||Te),Je},A.sortStable=ht.split("").sort(sn).join("")===ht,A.detectDuplicates=!!B,J(),A.sortDetached=er(function(le){return 1&le.compareDocumentPosition(W.createElement("fieldset"))}),er(function(le){return le.innerHTML="<a href='#'></a>",le.firstChild.getAttribute("href")==="#"})||ls("type|href|height|width",function(le,Te,Je){if(!Je)return le.getAttribute(Te,Te.toLowerCase()==="type"?1:2)}),A.attributes&&er(function(le){return le.innerHTML="<input/>",le.firstChild.setAttribute("value",""),le.firstChild.getAttribute("value")===""})||ls("value",function(le,Te,Je){if(!Je&&le.nodeName.toLowerCase()==="input")return le.defaultValue}),er(function(le){return le.getAttribute("disabled")==null})||ls(Nn,function(le,Te,Je){var vt;if(!Je)return le[Te]===!0?Te.toLowerCase():(vt=le.getAttributeNode(Te))&&vt.specified?vt.value:null}),Qn}(l);T.find=Ee,T.expr=Ee.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=Ee.uniqueSort,T.text=Ee.getText,T.isXMLDoc=Ee.isXML,T.contains=Ee.contains,T.escapeSelector=Ee.escape;var Le=function(a,d,A){for(var M=[],K=A!==void 0;(a=a[d])&&a.nodeType!==9;)if(a.nodeType===1){if(K&&T(a).is(A))break;M.push(a)}return M},Xe=function(a,d){for(var A=[];a;a=a.nextSibling)a.nodeType===1&&a!==d&&A.push(a);return A},se=T.expr.match.needsContext;function Ze(a,d){return a.nodeName&&a.nodeName.toLowerCase()===d.toLowerCase()}var Fe=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function dt(a,d,A){return Y(d)?T.grep(a,function(M,K){return!!d.call(M,K,M)!==A}):d.nodeType?T.grep(a,function(M){return M===d!==A}):typeof d!="string"?T.grep(a,function(M){return _.call(d,M)>-1!==A}):T.filter(d,a,A)}T.filter=function(a,d,A){var M=d[0];return A&&(a=":not("+a+")"),d.length===1&&M.nodeType===1?T.find.matchesSelector(M,a)?[M]:[]:T.find.matches(a,T.grep(d,function(K){return K.nodeType===1}))},T.fn.extend({find:function(a){var d,A,M=this.length,K=this;if(typeof a!="string")return this.pushStack(T(a).filter(function(){for(d=0;d<M;d++)if(T.contains(K[d],this))return!0}));for(A=this.pushStack([]),d=0;d<M;d++)T.find(a,K[d],A);return M>1?T.uniqueSort(A):A},filter:function(a){return this.pushStack(dt(this,a||[],!1))},not:function(a){return this.pushStack(dt(this,a||[],!0))},is:function(a){return!!dt(this,typeof a=="string"&&se.test(a)?T(a):a||[],!1).length}});var $e,ae=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(a,d,A){var M,K;if(!a)return this;if(A=A||$e,typeof a=="string"){if(!(M=a[0]==="<"&&a[a.length-1]===">"&&a.length>=3?[null,a,null]:ae.exec(a))||!M[1]&&d)return!d||d.jquery?(d||A).find(a):this.constructor(d).find(a);if(M[1]){if(d=d instanceof T?d[0]:d,T.merge(this,T.parseHTML(M[1],d&&d.nodeType?d.ownerDocument||d:ge,!0)),Fe.test(M[1])&&T.isPlainObject(d))for(M in d)Y(this[M])?this[M](d[M]):this.attr(M,d[M]);return this}return(K=ge.getElementById(M[2]))&&(this[0]=K,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):Y(a)?A.ready!==void 0?A.ready(a):a(T):T.makeArray(a,this)}).prototype=T.fn,$e=T(ge);var f=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function H(a,d){for(;(a=a[d])&&a.nodeType!==1;);return a}T.fn.extend({has:function(a){var d=T(a,this),A=d.length;return this.filter(function(){for(var M=0;M<A;M++)if(T.contains(this,d[M]))return!0})},closest:function(a,d){var A,M=0,K=this.length,X=[],oe=typeof a!="string"&&T(a);if(!se.test(a)){for(;M<K;M++)for(A=this[M];A&&A!==d;A=A.parentNode)if(A.nodeType<11&&(oe?oe.index(A)>-1:A.nodeType===1&&T.find.matchesSelector(A,a))){X.push(A);break}}return this.pushStack(X.length>1?T.uniqueSort(X):X)},index:function(a){return a?typeof a=="string"?_.call(T(a),this[0]):_.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,d){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(a,d))))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}}),T.each({parent:function(a){var d=a.parentNode;return d&&d.nodeType!==11?d:null},parents:function(a){return Le(a,"parentNode")},parentsUntil:function(a,d,A){return Le(a,"parentNode",A)},next:function(a){return H(a,"nextSibling")},prev:function(a){return H(a,"previousSibling")},nextAll:function(a){return Le(a,"nextSibling")},prevAll:function(a){return Le(a,"previousSibling")},nextUntil:function(a,d,A){return Le(a,"nextSibling",A)},prevUntil:function(a,d,A){return Le(a,"previousSibling",A)},siblings:function(a){return Xe((a.parentNode||{}).firstChild,a)},children:function(a){return Xe(a.firstChild)},contents:function(a){return a.contentDocument!=null&&v(a.contentDocument)?a.contentDocument:(Ze(a,"template")&&(a=a.content||a),T.merge([],a.childNodes))}},function(a,d){T.fn[a]=function(A,M){var K=T.map(this,d,A);return a.slice(-5)!=="Until"&&(M=A),M&&typeof M=="string"&&(K=T.filter(M,K)),this.length>1&&(D[a]||T.uniqueSort(K),f.test(a)&&K.reverse()),this.pushStack(K)}});var z=/[^\x20\t\r\n\f]+/g;function ve(a){return a}function Se(a){throw a}function pe(a,d,A,M){var K;try{a&&Y(K=a.promise)?K.call(a).done(d).fail(A):a&&Y(K=a.then)?K.call(a,d,A):d.apply(void 0,[a].slice(M))}catch(X){A.apply(void 0,[X])}}T.Callbacks=function(a){a=typeof a=="string"?function(b){var B={};return T.each(b.match(z)||[],function(J,W){B[W]=!0}),B}(a):T.extend({},a);var d,A,M,K,X=[],oe=[],we=-1,V=function(){for(K=K||a.once,M=d=!0;oe.length;we=-1)for(A=oe.shift();++we<X.length;)X[we].apply(A[0],A[1])===!1&&a.stopOnFalse&&(we=X.length,A=!1);a.memory||(A=!1),d=!1,K&&(X=A?[]:"")},ee={add:function(){return X&&(A&&!d&&(we=X.length-1,oe.push(A)),function b(B){T.each(B,function(J,W){Y(W)?a.unique&&ee.has(W)||X.push(W):W&&W.length&&be(W)!=="string"&&b(W)})}(arguments),A&&!d&&V()),this},remove:function(){return T.each(arguments,function(b,B){for(var J;(J=T.inArray(B,X,J))>-1;)X.splice(J,1),J<=we&&we--}),this},has:function(b){return b?T.inArray(b,X)>-1:X.length>0},empty:function(){return X&&(X=[]),this},disable:function(){return K=oe=[],X=A="",this},disabled:function(){return!X},lock:function(){return K=oe=[],A||d||(X=A=""),this},locked:function(){return!!K},fireWith:function(b,B){return K||(B=[b,(B=B||[]).slice?B.slice():B],oe.push(B),d||V()),this},fire:function(){return ee.fireWith(this,arguments),this},fired:function(){return!!M}};return ee},T.extend({Deferred:function(a){var d=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],A="pending",M={state:function(){return A},always:function(){return K.done(arguments).fail(arguments),this},catch:function(X){return M.then(null,X)},pipe:function(){var X=arguments;return T.Deferred(function(oe){T.each(d,function(we,V){var ee=Y(X[V[4]])&&X[V[4]];K[V[1]](function(){var b=ee&&ee.apply(this,arguments);b&&Y(b.promise)?b.promise().progress(oe.notify).done(oe.resolve).fail(oe.reject):oe[V[0]+"With"](this,ee?[b]:arguments)})}),X=null}).promise()},then:function(X,oe,we){var V=0;function ee(b,B,J,W){return function(){var de=this,ue=arguments,ke=function(){var ut,Rt;if(!(b<V)){if((ut=J.apply(de,ue))===B.promise())throw new TypeError("Thenable self-resolution");Rt=ut&&(typeof ut=="object"||typeof ut=="function")&&ut.then,Y(Rt)?W?Rt.call(ut,ee(V,B,ve,W),ee(V,B,Se,W)):(V++,Rt.call(ut,ee(V,B,ve,W),ee(V,B,Se,W),ee(V,B,ve,B.notifyWith))):(J!==ve&&(de=void 0,ue=[ut]),(W||B.resolveWith)(de,ue))}},rt=W?ke:function(){try{ke()}catch(ut){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(ut,rt.stackTrace),b+1>=V&&(J!==Se&&(de=void 0,ue=[ut]),B.rejectWith(de,ue))}};b?rt():(T.Deferred.getStackHook&&(rt.stackTrace=T.Deferred.getStackHook()),l.setTimeout(rt))}}return T.Deferred(function(b){d[0][3].add(ee(0,b,Y(we)?we:ve,b.notifyWith)),d[1][3].add(ee(0,b,Y(X)?X:ve)),d[2][3].add(ee(0,b,Y(oe)?oe:Se))}).promise()},promise:function(X){return X!=null?T.extend(X,M):M}},K={};return T.each(d,function(X,oe){var we=oe[2],V=oe[5];M[oe[1]]=we.add,V&&we.add(function(){A=V},d[3-X][2].disable,d[3-X][3].disable,d[0][2].lock,d[0][3].lock),we.add(oe[3].fire),K[oe[0]]=function(){return K[oe[0]+"With"](this===K?void 0:this,arguments),this},K[oe[0]+"With"]=we.fireWith}),M.promise(K),a&&a.call(K,K),K},when:function(a){var d=arguments.length,A=d,M=Array(A),K=j.call(arguments),X=T.Deferred(),oe=function(we){return function(V){M[we]=this,K[we]=arguments.length>1?j.call(arguments):V,--d||X.resolveWith(M,K)}};if(d<=1&&(pe(a,X.done(oe(A)).resolve,X.reject,!d),X.state()==="pending"||Y(K[A]&&K[A].then)))return X.then();for(;A--;)pe(K[A],oe(A),X.reject);return X.promise()}});var he=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(a,d){l.console&&l.console.warn&&a&&he.test(a.name)&&l.console.warn("jQuery.Deferred exception: "+a.message,a.stack,d)},T.readyException=function(a){l.setTimeout(function(){throw a})};var De=T.Deferred();function R(){ge.removeEventListener("DOMContentLoaded",R),l.removeEventListener("load",R),T.ready()}T.fn.ready=function(a){return De.then(a).catch(function(d){T.readyException(d)}),this},T.extend({isReady:!1,readyWait:1,ready:function(a){(a===!0?--T.readyWait:T.isReady)||(T.isReady=!0,a!==!0&&--T.readyWait>0||De.resolveWith(ge,[T]))}}),T.ready.then=De.then,ge.readyState==="complete"||ge.readyState!=="loading"&&!ge.documentElement.doScroll?l.setTimeout(T.ready):(ge.addEventListener("DOMContentLoaded",R),l.addEventListener("load",R));var U=function(a,d,A,M,K,X,oe){var we=0,V=a.length,ee=A==null;if(be(A)==="object")for(we in K=!0,A)U(a,d,we,A[we],!0,X,oe);else if(M!==void 0&&(K=!0,Y(M)||(oe=!0),ee&&(oe?(d.call(a,M),d=null):(ee=d,d=function(b,B,J){return ee.call(T(b),J)})),d))for(;we<V;we++)d(a[we],A,oe?M:M.call(a[we],we,d(a[we],A)));return K?a:ee?d.call(a):V?d(a[0],A):X},Z=/^-ms-/,_e=/-([a-z])/g;function Ve(a,d){return d.toUpperCase()}function Ie(a){return a.replace(Z,"ms-").replace(_e,Ve)}var mt=function(a){return a.nodeType===1||a.nodeType===9||!+a.nodeType};function jt(){this.expando=T.expando+jt.uid++}jt.uid=1,jt.prototype={cache:function(a){var d=a[this.expando];return d||(d={},mt(a)&&(a.nodeType?a[this.expando]=d:Object.defineProperty(a,this.expando,{value:d,configurable:!0}))),d},set:function(a,d,A){var M,K=this.cache(a);if(typeof d=="string")K[Ie(d)]=A;else for(M in d)K[Ie(M)]=d[M];return K},get:function(a,d){return d===void 0?this.cache(a):a[this.expando]&&a[this.expando][Ie(d)]},access:function(a,d,A){return d===void 0||d&&typeof d=="string"&&A===void 0?this.get(a,d):(this.set(a,d,A),A!==void 0?A:d)},remove:function(a,d){var A,M=a[this.expando];if(M!==void 0){if(d!==void 0)for(A=(d=Array.isArray(d)?d.map(Ie):(d=Ie(d))in M?[d]:d.match(z)||[]).length;A--;)delete M[d[A]];(d===void 0||T.isEmptyObject(M))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var d=a[this.expando];return d!==void 0&&!T.isEmptyObject(d)}};var qe=new jt,He=new jt,It=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Gt=/[A-Z]/g;function Xt(a,d,A){var M;if(A===void 0&&a.nodeType===1)if(M="data-"+d.replace(Gt,"-$&").toLowerCase(),typeof(A=a.getAttribute(M))=="string"){try{A=function(K){return K==="true"||K!=="false"&&(K==="null"?null:K===+K+""?+K:It.test(K)?JSON.parse(K):K)}(A)}catch(K){}He.set(a,d,A)}else A=void 0;return A}T.extend({hasData:function(a){return He.hasData(a)||qe.hasData(a)},data:function(a,d,A){return He.access(a,d,A)},removeData:function(a,d){He.remove(a,d)},_data:function(a,d,A){return qe.access(a,d,A)},_removeData:function(a,d){qe.remove(a,d)}}),T.fn.extend({data:function(a,d){var A,M,K,X=this[0],oe=X&&X.attributes;if(a===void 0){if(this.length&&(K=He.get(X),X.nodeType===1&&!qe.get(X,"hasDataAttrs"))){for(A=oe.length;A--;)oe[A]&&(M=oe[A].name).indexOf("data-")===0&&(M=Ie(M.slice(5)),Xt(X,M,K[M]));qe.set(X,"hasDataAttrs",!0)}return K}return typeof a=="object"?this.each(function(){He.set(this,a)}):U(this,function(we){var V;if(X&&we===void 0)return(V=He.get(X,a))!==void 0||(V=Xt(X,a))!==void 0?V:void 0;this.each(function(){He.set(this,a,we)})},null,d,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){He.remove(this,a)})}}),T.extend({queue:function(a,d,A){var M;if(a)return d=(d||"fx")+"queue",M=qe.get(a,d),A&&(!M||Array.isArray(A)?M=qe.access(a,d,T.makeArray(A)):M.push(A)),M||[]},dequeue:function(a,d){d=d||"fx";var A=T.queue(a,d),M=A.length,K=A.shift(),X=T._queueHooks(a,d);K==="inprogress"&&(K=A.shift(),M--),K&&(d==="fx"&&A.unshift("inprogress"),delete X.stop,K.call(a,function(){T.dequeue(a,d)},X)),!M&&X&&X.empty.fire()},_queueHooks:function(a,d){var A=d+"queueHooks";return qe.get(a,A)||qe.access(a,A,{empty:T.Callbacks("once memory").add(function(){qe.remove(a,[d+"queue",A])})})}}),T.fn.extend({queue:function(a,d){var A=2;return typeof a!="string"&&(d=a,a="fx",A--),arguments.length<A?T.queue(this[0],a):d===void 0?this:this.each(function(){var M=T.queue(this,a,d);T._queueHooks(this,a),a==="fx"&&M[0]!=="inprogress"&&T.dequeue(this,a)})},dequeue:function(a){return this.each(function(){T.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,d){var A,M=1,K=T.Deferred(),X=this,oe=this.length,we=function(){--M||K.resolveWith(X,[X])};for(typeof a!="string"&&(d=a,a=void 0),a=a||"fx";oe--;)(A=qe.get(X[oe],a+"queueHooks"))&&A.empty&&(M++,A.empty.add(we));return we(),K.promise(d)}});var Ht=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,qt=new RegExp("^(?:([+-])=|)("+Ht+")([a-z%]*)$","i"),Wt=["Top","Right","Bottom","Left"],_t=ge.documentElement,Zt=function(a){return T.contains(a.ownerDocument,a)},q={composed:!0};_t.getRootNode&&(Zt=function(a){return T.contains(a.ownerDocument,a)||a.getRootNode(q)===a.ownerDocument});var Me=function(a,d){return(a=d||a).style.display==="none"||a.style.display===""&&Zt(a)&&T.css(a,"display")==="none"};function Ae(a,d,A,M){var K,X,oe=20,we=M?function(){return M.cur()}:function(){return T.css(a,d,"")},V=we(),ee=A&&A[3]||(T.cssNumber[d]?"":"px"),b=a.nodeType&&(T.cssNumber[d]||ee!=="px"&&+V)&&qt.exec(T.css(a,d));if(b&&b[3]!==ee){for(V/=2,ee=ee||b[3],b=+V||1;oe--;)T.style(a,d,b+ee),(1-X)*(1-(X=we()/V||.5))<=0&&(oe=0),b/=X;b*=2,T.style(a,d,b+ee),A=A||[]}return A&&(b=+b||+V||0,K=A[1]?b+(A[1]+1)*A[2]:+A[2],M&&(M.unit=ee,M.start=b,M.end=K)),K}var k={};function Q(a){var d,A=a.ownerDocument,M=a.nodeName,K=k[M];return K||(d=A.body.appendChild(A.createElement(M)),K=T.css(d,"display"),d.parentNode.removeChild(d),K==="none"&&(K="block"),k[M]=K,K)}function ie(a,d){for(var A,M,K=[],X=0,oe=a.length;X<oe;X++)(M=a[X]).style&&(A=M.style.display,d?(A==="none"&&(K[X]=qe.get(M,"display")||null,K[X]||(M.style.display="")),M.style.display===""&&Me(M)&&(K[X]=Q(M))):A!=="none"&&(K[X]="none",qe.set(M,"display",A)));for(X=0;X<oe;X++)K[X]!=null&&(a[X].style.display=K[X]);return a}T.fn.extend({show:function(){return ie(this,!0)},hide:function(){return ie(this)},toggle:function(a){return typeof a=="boolean"?a?this.show():this.hide():this.each(function(){Me(this)?T(this).show():T(this).hide()})}});var ce,Pe,je=/^(?:checkbox|radio)$/i,lt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,gt=/^$|^module$|\/(?:java|ecma)script/i;ce=ge.createDocumentFragment().appendChild(ge.createElement("div")),(Pe=ge.createElement("input")).setAttribute("type","radio"),Pe.setAttribute("checked","checked"),Pe.setAttribute("name","t"),ce.appendChild(Pe),P.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="<textarea>x</textarea>",P.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="<option></option>",P.option=!!ce.lastChild;var pt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function xe(a,d){var A;return A=a.getElementsByTagName!==void 0?a.getElementsByTagName(d||"*"):a.querySelectorAll!==void 0?a.querySelectorAll(d||"*"):[],d===void 0||d&&Ze(a,d)?T.merge([a],A):A}function Dt(a,d){for(var A=0,M=a.length;A<M;A++)qe.set(a[A],"globalEval",!d||qe.get(d[A],"globalEval"))}pt.tbody=pt.tfoot=pt.colgroup=pt.caption=pt.thead,pt.th=pt.td,P.option||(pt.optgroup=pt.option=[1,"<select multiple='multiple'>","</select>"]);var oi=/<|&#?\w+;/;function Kn(a,d,A,M,K){for(var X,oe,we,V,ee,b,B=d.createDocumentFragment(),J=[],W=0,de=a.length;W<de;W++)if((X=a[W])||X===0)if(be(X)==="object")T.merge(J,X.nodeType?[X]:X);else if(oi.test(X)){for(oe=oe||B.appendChild(d.createElement("div")),we=(lt.exec(X)||["",""])[1].toLowerCase(),V=pt[we]||pt._default,oe.innerHTML=V[1]+T.htmlPrefilter(X)+V[2],b=V[0];b--;)oe=oe.lastChild;T.merge(J,oe.childNodes),(oe=B.firstChild).textContent=""}else J.push(d.createTextNode(X));for(B.textContent="",W=0;X=J[W++];)if(M&&T.inArray(X,M)>-1)K&&K.push(X);else if(ee=Zt(X),oe=xe(B.appendChild(X),"script"),ee&&Dt(oe),A)for(b=0;X=oe[b++];)gt.test(X.type||"")&&A.push(X);return B}var li=/^key/,hn=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,At=/^([^.]*)(?:\.(.+)|)/;function en(){return!0}function Pn(){return!1}function yi(a,d){return a===function(){try{return ge.activeElement}catch(A){}}()==(d==="focus")}function jn(a,d,A,M,K,X){var oe,we;if(typeof d=="object"){for(we in typeof A!="string"&&(M=M||A,A=void 0),d)jn(a,we,A,M,d[we],X);return a}if(M==null&&K==null?(K=A,M=A=void 0):K==null&&(typeof A=="string"?(K=M,M=void 0):(K=M,M=A,A=void 0)),K===!1)K=Pn;else if(!K)return a;return X===1&&(oe=K,K=function(V){return T().off(V),oe.apply(this,arguments)},K.guid=oe.guid||(oe.guid=T.guid++)),a.each(function(){T.event.add(this,d,K,M,A)})}function Ei(a,d,A){A?(qe.set(a,d,!1),T.event.add(a,d,{namespace:!1,handler:function(M){var K,X,oe=qe.get(this,d);if(1&M.isTrigger&&this[d]){if(oe.length)(T.event.special[d]||{}).delegateType&&M.stopPropagation();else if(oe=j.call(arguments),qe.set(this,d,oe),K=A(this,d),this[d](),oe!==(X=qe.get(this,d))||K?qe.set(this,d,!1):X={},oe!==X)return M.stopImmediatePropagation(),M.preventDefault(),X.value}else oe.length&&(qe.set(this,d,{value:T.event.trigger(T.extend(oe[0],T.Event.prototype),oe.slice(1),this)}),M.stopImmediatePropagation())}})):qe.get(a,d)===void 0&&T.event.add(a,d,en)}T.event={global:{},add:function(a,d,A,M,K){var X,oe,we,V,ee,b,B,J,W,de,ue,ke=qe.get(a);if(mt(a))for(A.handler&&(A=(X=A).handler,K=X.selector),K&&T.find.matchesSelector(_t,K),A.guid||(A.guid=T.guid++),(V=ke.events)||(V=ke.events=Object.create(null)),(oe=ke.handle)||(oe=ke.handle=function(rt){return T!==void 0&&T.event.triggered!==rt.type?T.event.dispatch.apply(a,arguments):void 0}),ee=(d=(d||"").match(z)||[""]).length;ee--;)W=ue=(we=At.exec(d[ee])||[])[1],de=(we[2]||"").split(".").sort(),W&&(B=T.event.special[W]||{},W=(K?B.delegateType:B.bindType)||W,B=T.event.special[W]||{},b=T.extend({type:W,origType:ue,data:M,handler:A,guid:A.guid,selector:K,needsContext:K&&T.expr.match.needsContext.test(K),namespace:de.join(".")},X),(J=V[W])||((J=V[W]=[]).delegateCount=0,B.setup&&B.setup.call(a,M,de,oe)!==!1||a.addEventListener&&a.addEventListener(W,oe)),B.add&&(B.add.call(a,b),b.handler.guid||(b.handler.guid=A.guid)),K?J.splice(J.delegateCount++,0,b):J.push(b),T.event.global[W]=!0)},remove:function(a,d,A,M,K){var X,oe,we,V,ee,b,B,J,W,de,ue,ke=qe.hasData(a)&&qe.get(a);if(ke&&(V=ke.events)){for(ee=(d=(d||"").match(z)||[""]).length;ee--;)if(W=ue=(we=At.exec(d[ee])||[])[1],de=(we[2]||"").split(".").sort(),W){for(B=T.event.special[W]||{},J=V[W=(M?B.delegateType:B.bindType)||W]||[],we=we[2]&&new RegExp("(^|\\.)"+de.join("\\.(?:.*\\.|)")+"(\\.|$)"),oe=X=J.length;X--;)b=J[X],!K&&ue!==b.origType||A&&A.guid!==b.guid||we&&!we.test(b.namespace)||M&&M!==b.selector&&(M!=="**"||!b.selector)||(J.splice(X,1),b.selector&&J.delegateCount--,B.remove&&B.remove.call(a,b));oe&&!J.length&&(B.teardown&&B.teardown.call(a,de,ke.handle)!==!1||T.removeEvent(a,W,ke.handle),delete V[W])}else for(W in V)T.event.remove(a,W+d[ee],A,M,!0);T.isEmptyObject(V)&&qe.remove(a,"handle events")}},dispatch:function(a){var d,A,M,K,X,oe,we=new Array(arguments.length),V=T.event.fix(a),ee=(qe.get(this,"events")||Object.create(null))[V.type]||[],b=T.event.special[V.type]||{};for(we[0]=V,d=1;d<arguments.length;d++)we[d]=arguments[d];if(V.delegateTarget=this,!b.preDispatch||b.preDispatch.call(this,V)!==!1){for(oe=T.event.handlers.call(this,V,ee),d=0;(K=oe[d++])&&!V.isPropagationStopped();)for(V.currentTarget=K.elem,A=0;(X=K.handlers[A++])&&!V.isImmediatePropagationStopped();)V.rnamespace&&X.namespace!==!1&&!V.rnamespace.test(X.namespace)||(V.handleObj=X,V.data=X.data,(M=((T.event.special[X.origType]||{}).handle||X.handler).apply(K.elem,we))!==void 0&&(V.result=M)===!1&&(V.preventDefault(),V.stopPropagation()));return b.postDispatch&&b.postDispatch.call(this,V),V.result}},handlers:function(a,d){var A,M,K,X,oe,we=[],V=d.delegateCount,ee=a.target;if(V&&ee.nodeType&&!(a.type==="click"&&a.button>=1)){for(;ee!==this;ee=ee.parentNode||this)if(ee.nodeType===1&&(a.type!=="click"||ee.disabled!==!0)){for(X=[],oe={},A=0;A<V;A++)oe[K=(M=d[A]).selector+" "]===void 0&&(oe[K]=M.needsContext?T(K,this).index(ee)>-1:T.find(K,this,null,[ee]).length),oe[K]&&X.push(M);X.length&&we.push({elem:ee,handlers:X})}}return ee=this,V<d.length&&we.push({elem:ee,handlers:d.slice(V)}),we},addProp:function(a,d){Object.defineProperty(T.Event.prototype,a,{enumerable:!0,configurable:!0,get:Y(d)?function(){if(this.originalEvent)return d(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[a]},set:function(A){Object.defineProperty(this,a,{enumerable:!0,configurable:!0,writable:!0,value:A})}})},fix:function(a){return a[T.expando]?a:new T.Event(a)},special:{load:{noBubble:!0},click:{setup:function(a){var d=this||a;return je.test(d.type)&&d.click&&Ze(d,"input")&&Ei(d,"click",en),!1},trigger:function(a){var d=this||a;return je.test(d.type)&&d.click&&Ze(d,"input")&&Ei(d,"click"),!0},_default:function(a){var d=a.target;return je.test(d.type)&&d.click&&Ze(d,"input")&&qe.get(d,"click")||Ze(d,"a")}},beforeunload:{postDispatch:function(a){a.result!==void 0&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}},T.removeEvent=function(a,d,A){a.removeEventListener&&a.removeEventListener(d,A)},T.Event=function(a,d){if(!(this instanceof T.Event))return new T.Event(a,d);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.defaultPrevented===void 0&&a.returnValue===!1?en:Pn,this.target=a.target&&a.target.nodeType===3?a.target.parentNode:a.target,this.currentTarget=a.currentTarget,this.relatedTarget=a.relatedTarget):this.type=a,d&&T.extend(this,d),this.timeStamp=a&&a.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:Pn,isPropagationStopped:Pn,isImmediatePropagationStopped:Pn,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=en,a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=en,a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=en,a&&!this.isSimulated&&a.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(a){var d=a.button;return a.which==null&&li.test(a.type)?a.charCode!=null?a.charCode:a.keyCode:!a.which&&d!==void 0&&hn.test(a.type)?1&d?1:2&d?3:4&d?2:0:a.which}},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},function(a,d){T.event.special[a]={setup:function(){return Ei(this,a,yi),!1},trigger:function(){return Ei(this,a),!0},delegateType:d}}),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,d){T.event.special[a]={delegateType:d,bindType:d,handle:function(A){var M,K=A.relatedTarget,X=A.handleObj;return K&&(K===this||T.contains(this,K))||(A.type=X.origType,M=X.handler.apply(this,arguments),A.type=d),M}}}),T.fn.extend({on:function(a,d,A,M){return jn(this,a,d,A,M)},one:function(a,d,A,M){return jn(this,a,d,A,M,1)},off:function(a,d,A){var M,K;if(a&&a.preventDefault&&a.handleObj)return M=a.handleObj,T(a.delegateTarget).off(M.namespace?M.origType+"."+M.namespace:M.origType,M.selector,M.handler),this;if(typeof a=="object"){for(K in a)this.off(K,d,a[K]);return this}return d!==!1&&typeof d!="function"||(A=d,d=void 0),A===!1&&(A=Pn),this.each(function(){T.event.remove(this,a,A,d)})}});var ii=/<script|<style|<link/i,Bi=/checked\s*(?:[^=]|=\s*.checked.)/i,Di=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function ai(a,d){return Ze(a,"table")&&Ze(d.nodeType!==11?d:d.firstChild,"tr")&&T(a).children("tbody")[0]||a}function ri(a){return a.type=(a.getAttribute("type")!==null)+"/"+a.type,a}function Li(a){return(a.type||"").slice(0,5)==="true/"?a.type=a.type.slice(5):a.removeAttribute("type"),a}function ti(a,d){var A,M,K,X,oe,we;if(d.nodeType===1){if(qe.hasData(a)&&(we=qe.get(a).events))for(K in qe.remove(d,"handle events"),we)for(A=0,M=we[K].length;A<M;A++)T.event.add(d,K,we[K][A]);He.hasData(a)&&(X=He.access(a),oe=T.extend({},X),He.set(d,oe))}}function Yn(a,d){var A=d.nodeName.toLowerCase();A==="input"&&je.test(a.type)?d.checked=a.checked:A!=="input"&&A!=="textarea"||(d.defaultValue=a.defaultValue)}function ci(a,d,A,M){d=p(d);var K,X,oe,we,V,ee,b=0,B=a.length,J=B-1,W=d[0],de=Y(W);if(de||B>1&&typeof W=="string"&&!P.checkClone&&Bi.test(W))return a.each(function(ue){var ke=a.eq(ue);de&&(d[0]=W.call(this,ue,ke.html())),ci(ke,d,A,M)});if(B&&(X=(K=Kn(d,a[0].ownerDocument,!1,a,M)).firstChild,K.childNodes.length===1&&(K=X),X||M)){for(we=(oe=T.map(xe(K,"script"),ri)).length;b<B;b++)V=K,b!==J&&(V=T.clone(V,!0,!0),we&&T.merge(oe,xe(V,"script"))),A.call(a[b],V,b);if(we)for(ee=oe[oe.length-1].ownerDocument,T.map(oe,Li),b=0;b<we;b++)V=oe[b],gt.test(V.type||"")&&!qe.access(V,"globalEval")&&T.contains(ee,V)&&(V.src&&(V.type||"").toLowerCase()!=="module"?T._evalUrl&&!V.noModule&&T._evalUrl(V.src,{nonce:V.nonce||V.getAttribute("nonce")},ee):it(V.textContent.replace(Di,""),V,ee))}return a}function Si(a,d,A){for(var M,K=d?T.filter(d,a):a,X=0;(M=K[X])!=null;X++)A||M.nodeType!==1||T.cleanData(xe(M)),M.parentNode&&(A&&Zt(M)&&Dt(xe(M,"script")),M.parentNode.removeChild(M));return a}T.extend({htmlPrefilter:function(a){return a},clone:function(a,d,A){var M,K,X,oe,we=a.cloneNode(!0),V=Zt(a);if(!(P.noCloneChecked||a.nodeType!==1&&a.nodeType!==11||T.isXMLDoc(a)))for(oe=xe(we),M=0,K=(X=xe(a)).length;M<K;M++)Yn(X[M],oe[M]);if(d)if(A)for(X=X||xe(a),oe=oe||xe(we),M=0,K=X.length;M<K;M++)ti(X[M],oe[M]);else ti(a,we);return(oe=xe(we,"script")).length>0&&Dt(oe,!V&&xe(a,"script")),we},cleanData:function(a){for(var d,A,M,K=T.event.special,X=0;(A=a[X])!==void 0;X++)if(mt(A)){if(d=A[qe.expando]){if(d.events)for(M in d.events)K[M]?T.event.remove(A,M):T.removeEvent(A,M,d.handle);A[qe.expando]=void 0}A[He.expando]&&(A[He.expando]=void 0)}}}),T.fn.extend({detach:function(a){return Si(this,a,!0)},remove:function(a){return Si(this,a)},text:function(a){return U(this,function(d){return d===void 0?T.text(this):this.empty().each(function(){this.nodeType!==1&&this.nodeType!==11&&this.nodeType!==9||(this.textContent=d)})},null,a,arguments.length)},append:function(){return ci(this,arguments,function(a){this.nodeType!==1&&this.nodeType!==11&&this.nodeType!==9||ai(this,a).appendChild(a)})},prepend:function(){return ci(this,arguments,function(a){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var d=ai(this,a);d.insertBefore(a,d.firstChild)}})},before:function(){return ci(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return ci(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,d=0;(a=this[d])!=null;d++)a.nodeType===1&&(T.cleanData(xe(a,!1)),a.textContent="");return this},clone:function(a,d){return a=a!=null&&a,d=d==null?a:d,this.map(function(){return T.clone(this,a,d)})},html:function(a){return U(this,function(d){var A=this[0]||{},M=0,K=this.length;if(d===void 0&&A.nodeType===1)return A.innerHTML;if(typeof d=="string"&&!ii.test(d)&&!pt[(lt.exec(d)||["",""])[1].toLowerCase()]){d=T.htmlPrefilter(d);try{for(;M<K;M++)(A=this[M]||{}).nodeType===1&&(T.cleanData(xe(A,!1)),A.innerHTML=d);A=0}catch(X){}}A&&this.empty().append(d)},null,a,arguments.length)},replaceWith:function(){var a=[];return ci(this,arguments,function(d){var A=this.parentNode;T.inArray(this,a)<0&&(T.cleanData(xe(this)),A&&A.replaceChild(d,this))},a)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,d){T.fn[a]=function(A){for(var M,K=[],X=T(A),oe=X.length-1,we=0;we<=oe;we++)M=we===oe?this:this.clone(!0),T(X[we])[d](M),g.apply(K,M.get());return this.pushStack(K)}});var Ji=new RegExp("^("+Ht+")(?!px)[a-z%]+$","i"),We=function(a){var d=a.ownerDocument.defaultView;return d&&d.opener||(d=l),d.getComputedStyle(a)},ct=function(a,d,A){var M,K,X={};for(K in d)X[K]=a.style[K],a.style[K]=d[K];for(K in M=A.call(a),d)a.style[K]=X[K];return M},Ct=new RegExp(Wt.join("|"),"i");function Mt(a,d,A){var M,K,X,oe,we=a.style;return(A=A||We(a))&&((oe=A.getPropertyValue(d)||A[d])!==""||Zt(a)||(oe=T.style(a,d)),!P.pixelBoxStyles()&&Ji.test(oe)&&Ct.test(d)&&(M=we.width,K=we.minWidth,X=we.maxWidth,we.minWidth=we.maxWidth=we.width=oe,oe=A.width,we.width=M,we.minWidth=K,we.maxWidth=X)),oe!==void 0?oe+"":oe}function vn(a,d){return{get:function(){if(!a())return(this.get=d).apply(this,arguments);delete this.get}}}(function(){function a(){if(ee){V.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",ee.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",_t.appendChild(V).appendChild(ee);var b=l.getComputedStyle(ee);A=b.top!=="1%",we=d(b.marginLeft)===12,ee.style.right="60%",X=d(b.right)===36,M=d(b.width)===36,ee.style.position="absolute",K=d(ee.offsetWidth/3)===12,_t.removeChild(V),ee=null}}function d(b){return Math.round(parseFloat(b))}var A,M,K,X,oe,we,V=ge.createElement("div"),ee=ge.createElement("div");ee.style&&(ee.style.backgroundClip="content-box",ee.cloneNode(!0).style.backgroundClip="",P.clearCloneStyle=ee.style.backgroundClip==="content-box",T.extend(P,{boxSizingReliable:function(){return a(),M},pixelBoxStyles:function(){return a(),X},pixelPosition:function(){return a(),A},reliableMarginLeft:function(){return a(),we},scrollboxSize:function(){return a(),K},reliableTrDimensions:function(){var b,B,J,W;return oe==null&&(b=ge.createElement("table"),B=ge.createElement("tr"),J=ge.createElement("div"),b.style.cssText="position:absolute;left:-11111px",B.style.height="1px",J.style.height="9px",_t.appendChild(b).appendChild(B).appendChild(J),W=l.getComputedStyle(B),oe=parseInt(W.height)>3,_t.removeChild(b)),oe}}))})();var on=["Webkit","Moz","ms"],I=ge.createElement("div").style,C={};function ne(a){var d=T.cssProps[a]||C[a];return d||(a in I?a:C[a]=function(A){for(var M=A[0].toUpperCase()+A.slice(1),K=on.length;K--;)if((A=on[K]+M)in I)return A}(a)||a)}var re=/^(none|table(?!-c[ea]).+)/,Oe=/^--/,ye={position:"absolute",visibility:"hidden",display:"block"},st={letterSpacing:"0",fontWeight:"400"};function tt(a,d,A){var M=qt.exec(d);return M?Math.max(0,M[2]-(A||0))+(M[3]||"px"):d}function Pt(a,d,A,M,K,X){var oe=d==="width"?1:0,we=0,V=0;if(A===(M?"border":"content"))return 0;for(;oe<4;oe+=2)A==="margin"&&(V+=T.css(a,A+Wt[oe],!0,K)),M?(A==="content"&&(V-=T.css(a,"padding"+Wt[oe],!0,K)),A!=="margin"&&(V-=T.css(a,"border"+Wt[oe]+"Width",!0,K))):(V+=T.css(a,"padding"+Wt[oe],!0,K),A!=="padding"?V+=T.css(a,"border"+Wt[oe]+"Width",!0,K):we+=T.css(a,"border"+Wt[oe]+"Width",!0,K));return!M&&X>=0&&(V+=Math.max(0,Math.ceil(a["offset"+d[0].toUpperCase()+d.slice(1)]-X-V-we-.5))||0),V}function et(a,d,A){var M=We(a),K=(!P.boxSizingReliable()||A)&&T.css(a,"boxSizing",!1,M)==="border-box",X=K,oe=Mt(a,d,M),we="offset"+d[0].toUpperCase()+d.slice(1);if(Ji.test(oe)){if(!A)return oe;oe="auto"}return(!P.boxSizingReliable()&&K||!P.reliableTrDimensions()&&Ze(a,"tr")||oe==="auto"||!parseFloat(oe)&&T.css(a,"display",!1,M)==="inline")&&a.getClientRects().length&&(K=T.css(a,"boxSizing",!1,M)==="border-box",(X=we in a)&&(oe=a[we])),(oe=parseFloat(oe)||0)+Pt(a,d,A||(K?"border":"content"),X,M,oe)+"px"}function Ce(a,d,A,M,K){return new Ce.prototype.init(a,d,A,M,K)}T.extend({cssHooks:{opacity:{get:function(a,d){if(d){var A=Mt(a,"opacity");return A===""?"1":A}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(a,d,A,M){if(a&&a.nodeType!==3&&a.nodeType!==8&&a.style){var K,X,oe,we=Ie(d),V=Oe.test(d),ee=a.style;if(V||(d=ne(we)),oe=T.cssHooks[d]||T.cssHooks[we],A===void 0)return oe&&"get"in oe&&(K=oe.get(a,!1,M))!==void 0?K:ee[d];(X=typeof A)=="string"&&(K=qt.exec(A))&&K[1]&&(A=Ae(a,d,K),X="number"),A!=null&&A==A&&(X!=="number"||V||(A+=K&&K[3]||(T.cssNumber[we]?"":"px")),P.clearCloneStyle||A!==""||d.indexOf("background")!==0||(ee[d]="inherit"),oe&&"set"in oe&&(A=oe.set(a,A,M))===void 0||(V?ee.setProperty(d,A):ee[d]=A))}},css:function(a,d,A,M){var K,X,oe,we=Ie(d);return Oe.test(d)||(d=ne(we)),(oe=T.cssHooks[d]||T.cssHooks[we])&&"get"in oe&&(K=oe.get(a,!0,A)),K===void 0&&(K=Mt(a,d,M)),K==="normal"&&d in st&&(K=st[d]),A===""||A?(X=parseFloat(K),A===!0||isFinite(X)?X||0:K):K}}),T.each(["height","width"],function(a,d){T.cssHooks[d]={get:function(A,M,K){if(M)return!re.test(T.css(A,"display"))||A.getClientRects().length&&A.getBoundingClientRect().width?et(A,d,K):ct(A,ye,function(){return et(A,d,K)})},set:function(A,M,K){var X,oe=We(A),we=!P.scrollboxSize()&&oe.position==="absolute",V=(we||K)&&T.css(A,"boxSizing",!1,oe)==="border-box",ee=K?Pt(A,d,K,V,oe):0;return V&&we&&(ee-=Math.ceil(A["offset"+d[0].toUpperCase()+d.slice(1)]-parseFloat(oe[d])-Pt(A,d,"border",!1,oe)-.5)),ee&&(X=qt.exec(M))&&(X[3]||"px")!=="px"&&(A.style[d]=M,M=T.css(A,d)),tt(0,M,ee)}}}),T.cssHooks.marginLeft=vn(P.reliableMarginLeft,function(a,d){if(d)return(parseFloat(Mt(a,"marginLeft"))||a.getBoundingClientRect().left-ct(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"}),T.each({margin:"",padding:"",border:"Width"},function(a,d){T.cssHooks[a+d]={expand:function(A){for(var M=0,K={},X=typeof A=="string"?A.split(" "):[A];M<4;M++)K[a+Wt[M]+d]=X[M]||X[M-2]||X[0];return K}},a!=="margin"&&(T.cssHooks[a+d].set=tt)}),T.fn.extend({css:function(a,d){return U(this,function(A,M,K){var X,oe,we={},V=0;if(Array.isArray(M)){for(X=We(A),oe=M.length;V<oe;V++)we[M[V]]=T.css(A,M[V],!1,X);return we}return K!==void 0?T.style(A,M,K):T.css(A,M)},a,d,arguments.length>1)}}),T.Tween=Ce,Ce.prototype={constructor:Ce,init:function(a,d,A,M,K,X){this.elem=a,this.prop=A,this.easing=K||T.easing._default,this.options=d,this.start=this.now=this.cur(),this.end=M,this.unit=X||(T.cssNumber[A]?"":"px")},cur:function(){var a=Ce.propHooks[this.prop];return a&&a.get?a.get(this):Ce.propHooks._default.get(this)},run:function(a){var d,A=Ce.propHooks[this.prop];return this.options.duration?this.pos=d=T.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=d=a,this.now=(this.end-this.start)*d+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),A&&A.set?A.set(this):Ce.propHooks._default.set(this),this}},Ce.prototype.init.prototype=Ce.prototype,Ce.propHooks={_default:{get:function(a){var d;return a.elem.nodeType!==1||a.elem[a.prop]!=null&&a.elem.style[a.prop]==null?a.elem[a.prop]:(d=T.css(a.elem,a.prop,""))&&d!=="auto"?d:0},set:function(a){T.fx.step[a.prop]?T.fx.step[a.prop](a):a.elem.nodeType!==1||!T.cssHooks[a.prop]&&a.elem.style[ne(a.prop)]==null?a.elem[a.prop]=a.now:T.style(a.elem,a.prop,a.now+a.unit)}}},Ce.propHooks.scrollTop=Ce.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},T.easing={linear:function(a){return a},swing:function(a){return .5-Math.cos(a*Math.PI)/2},_default:"swing"},T.fx=Ce.prototype.init,T.fx.step={};var Yt,ui,$t=/^(?:toggle|show|hide)$/,an=/queueHooks$/;function Bn(){ui&&(ge.hidden===!1&&l.requestAnimationFrame?l.requestAnimationFrame(Bn):l.setTimeout(Bn,T.fx.interval),T.fx.tick())}function rn(){return l.setTimeout(function(){Yt=void 0}),Yt=Date.now()}function cn(a,d){var A,M=0,K={height:a};for(d=d?1:0;M<4;M+=2-d)K["margin"+(A=Wt[M])]=K["padding"+A]=a;return d&&(K.opacity=K.width=a),K}function di(a,d,A){for(var M,K=(zt.tweeners[d]||[]).concat(zt.tweeners["*"]),X=0,oe=K.length;X<oe;X++)if(M=K[X].call(A,d,a))return M}function zt(a,d,A){var M,K,X=0,oe=zt.prefilters.length,we=T.Deferred().always(function(){delete V.elem}),V=function(){if(K)return!1;for(var B=Yt||rn(),J=Math.max(0,ee.startTime+ee.duration-B),W=1-(J/ee.duration||0),de=0,ue=ee.tweens.length;de<ue;de++)ee.tweens[de].run(W);return we.notifyWith(a,[ee,W,J]),W<1&&ue?J:(ue||we.notifyWith(a,[ee,1,0]),we.resolveWith(a,[ee]),!1)},ee=we.promise({elem:a,props:T.extend({},d),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},A),originalProperties:d,originalOptions:A,startTime:Yt||rn(),duration:A.duration,tweens:[],createTween:function(B,J){var W=T.Tween(a,ee.opts,B,J,ee.opts.specialEasing[B]||ee.opts.easing);return ee.tweens.push(W),W},stop:function(B){var J=0,W=B?ee.tweens.length:0;if(K)return this;for(K=!0;J<W;J++)ee.tweens[J].run(1);return B?(we.notifyWith(a,[ee,1,0]),we.resolveWith(a,[ee,B])):we.rejectWith(a,[ee,B]),this}}),b=ee.props;for(!function(B,J){var W,de,ue,ke,rt;for(W in B)if(ue=J[de=Ie(W)],ke=B[W],Array.isArray(ke)&&(ue=ke[1],ke=B[W]=ke[0]),W!==de&&(B[de]=ke,delete B[W]),(rt=T.cssHooks[de])&&"expand"in rt)for(W in ke=rt.expand(ke),delete B[de],ke)W in B||(B[W]=ke[W],J[W]=ue);else J[de]=ue}(b,ee.opts.specialEasing);X<oe;X++)if(M=zt.prefilters[X].call(ee,a,b,ee.opts))return Y(M.stop)&&(T._queueHooks(ee.elem,ee.opts.queue).stop=M.stop.bind(M)),M;return T.map(b,di,ee),Y(ee.opts.start)&&ee.opts.start.call(a,ee),ee.progress(ee.opts.progress).done(ee.opts.done,ee.opts.complete).fail(ee.opts.fail).always(ee.opts.always),T.fx.timer(T.extend(V,{elem:a,anim:ee,queue:ee.opts.queue})),ee}T.Animation=T.extend(zt,{tweeners:{"*":[function(a,d){var A=this.createTween(a,d);return Ae(A.elem,a,qt.exec(d),A),A}]},tweener:function(a,d){Y(a)?(d=a,a=["*"]):a=a.match(z);for(var A,M=0,K=a.length;M<K;M++)A=a[M],zt.tweeners[A]=zt.tweeners[A]||[],zt.tweeners[A].unshift(d)},prefilters:[function(a,d,A){var M,K,X,oe,we,V,ee,b,B="width"in d||"height"in d,J=this,W={},de=a.style,ue=a.nodeType&&Me(a),ke=qe.get(a,"fxshow");for(M in A.queue||((oe=T._queueHooks(a,"fx")).unqueued==null&&(oe.unqueued=0,we=oe.empty.fire,oe.empty.fire=function(){oe.unqueued||we()}),oe.unqueued++,J.always(function(){J.always(function(){oe.unqueued--,T.queue(a,"fx").length||oe.empty.fire()})})),d)if(K=d[M],$t.test(K)){if(delete d[M],X=X||K==="toggle",K===(ue?"hide":"show")){if(K!=="show"||!ke||ke[M]===void 0)continue;ue=!0}W[M]=ke&&ke[M]||T.style(a,M)}if((V=!T.isEmptyObject(d))||!T.isEmptyObject(W))for(M in B&&a.nodeType===1&&(A.overflow=[de.overflow,de.overflowX,de.overflowY],(ee=ke&&ke.display)==null&&(ee=qe.get(a,"display")),(b=T.css(a,"display"))==="none"&&(ee?b=ee:(ie([a],!0),ee=a.style.display||ee,b=T.css(a,"display"),ie([a]))),(b==="inline"||b==="inline-block"&&ee!=null)&&T.css(a,"float")==="none"&&(V||(J.done(function(){de.display=ee}),ee==null&&(b=de.display,ee=b==="none"?"":b)),de.display="inline-block")),A.overflow&&(de.overflow="hidden",J.always(function(){de.overflow=A.overflow[0],de.overflowX=A.overflow[1],de.overflowY=A.overflow[2]})),V=!1,W)V||(ke?"hidden"in ke&&(ue=ke.hidden):ke=qe.access(a,"fxshow",{display:ee}),X&&(ke.hidden=!ue),ue&&ie([a],!0),J.done(function(){for(M in ue||ie([a]),qe.remove(a,"fxshow"),W)T.style(a,M,W[M])})),V=di(ue?ke[M]:0,M,J),M in ke||(ke[M]=V.start,ue&&(V.end=V.start,V.start=0))}],prefilter:function(a,d){d?zt.prefilters.unshift(a):zt.prefilters.push(a)}}),T.speed=function(a,d,A){var M=a&&typeof a=="object"?T.extend({},a):{complete:A||!A&&d||Y(a)&&a,duration:a,easing:A&&d||d&&!Y(d)&&d};return T.fx.off?M.duration=0:typeof M.duration!="number"&&(M.duration in T.fx.speeds?M.duration=T.fx.speeds[M.duration]:M.duration=T.fx.speeds._default),M.queue!=null&&M.queue!==!0||(M.queue="fx"),M.old=M.complete,M.complete=function(){Y(M.old)&&M.old.call(this),M.queue&&T.dequeue(this,M.queue)},M},T.fn.extend({fadeTo:function(a,d,A,M){return this.filter(Me).css("opacity",0).show().end().animate({opacity:d},a,A,M)},animate:function(a,d,A,M){var K=T.isEmptyObject(a),X=T.speed(d,A,M),oe=function(){var we=zt(this,T.extend({},a),X);(K||qe.get(this,"finish"))&&we.stop(!0)};return oe.finish=oe,K||X.queue===!1?this.each(oe):this.queue(X.queue,oe)},stop:function(a,d,A){var M=function(K){var X=K.stop;delete K.stop,X(A)};return typeof a!="string"&&(A=d,d=a,a=void 0),d&&this.queue(a||"fx",[]),this.each(function(){var K=!0,X=a!=null&&a+"queueHooks",oe=T.timers,we=qe.get(this);if(X)we[X]&&we[X].stop&&M(we[X]);else for(X in we)we[X]&&we[X].stop&&an.test(X)&&M(we[X]);for(X=oe.length;X--;)oe[X].elem!==this||a!=null&&oe[X].queue!==a||(oe[X].anim.stop(A),K=!1,oe.splice(X,1));!K&&A||T.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var d,A=qe.get(this),M=A[a+"queue"],K=A[a+"queueHooks"],X=T.timers,oe=M?M.length:0;for(A.finish=!0,T.queue(this,a,[]),K&&K.stop&&K.stop.call(this,!0),d=X.length;d--;)X[d].elem===this&&X[d].queue===a&&(X[d].anim.stop(!0),X.splice(d,1));for(d=0;d<oe;d++)M[d]&&M[d].finish&&M[d].finish.call(this);delete A.finish})}}),T.each(["toggle","show","hide"],function(a,d){var A=T.fn[d];T.fn[d]=function(M,K,X){return M==null||typeof M=="boolean"?A.apply(this,arguments):this.animate(cn(d,!0),M,K,X)}}),T.each({slideDown:cn("show"),slideUp:cn("hide"),slideToggle:cn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,d){T.fn[a]=function(A,M,K){return this.animate(d,A,M,K)}}),T.timers=[],T.fx.tick=function(){var a,d=0,A=T.timers;for(Yt=Date.now();d<A.length;d++)(a=A[d])()||A[d]!==a||A.splice(d--,1);A.length||T.fx.stop(),Yt=void 0},T.fx.timer=function(a){T.timers.push(a),T.fx.start()},T.fx.interval=13,T.fx.start=function(){ui||(ui=!0,Bn())},T.fx.stop=function(){ui=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(a,d){return a=T.fx&&T.fx.speeds[a]||a,d=d||"fx",this.queue(d,function(A,M){var K=l.setTimeout(A,a);M.stop=function(){l.clearTimeout(K)}})},function(){var a=ge.createElement("input"),d=ge.createElement("select").appendChild(ge.createElement("option"));a.type="checkbox",P.checkOn=a.value!=="",P.optSelected=d.selected,(a=ge.createElement("input")).value="t",a.type="radio",P.radioValue=a.value==="t"}();var Cn,Tn=T.expr.attrHandle;T.fn.extend({attr:function(a,d){return U(this,T.attr,a,d,arguments.length>1)},removeAttr:function(a){return this.each(function(){T.removeAttr(this,a)})}}),T.extend({attr:function(a,d,A){var M,K,X=a.nodeType;if(X!==3&&X!==8&&X!==2)return a.getAttribute===void 0?T.prop(a,d,A):(X===1&&T.isXMLDoc(a)||(K=T.attrHooks[d.toLowerCase()]||(T.expr.match.bool.test(d)?Cn:void 0)),A!==void 0?A===null?void T.removeAttr(a,d):K&&"set"in K&&(M=K.set(a,A,d))!==void 0?M:(a.setAttribute(d,A+""),A):K&&"get"in K&&(M=K.get(a,d))!==null?M:(M=T.find.attr(a,d))==null?void 0:M)},attrHooks:{type:{set:function(a,d){if(!P.radioValue&&d==="radio"&&Ze(a,"input")){var A=a.value;return a.setAttribute("type",d),A&&(a.value=A),d}}}},removeAttr:function(a,d){var A,M=0,K=d&&d.match(z);if(K&&a.nodeType===1)for(;A=K[M++];)a.removeAttribute(A)}}),Cn={set:function(a,d,A){return d===!1?T.removeAttr(a,A):a.setAttribute(A,A),A}},T.each(T.expr.match.bool.source.match(/\w+/g),function(a,d){var A=Tn[d]||T.find.attr;Tn[d]=function(M,K,X){var oe,we,V=K.toLowerCase();return X||(we=Tn[V],Tn[V]=oe,oe=A(M,K,X)!=null?V:null,Tn[V]=we),oe}});var un=/^(?:input|select|textarea|button)$/i,gi=/^(?:a|area)$/i;function Rn(a){return(a.match(z)||[]).join(" ")}function si(a){return a.getAttribute&&a.getAttribute("class")||""}function Mn(a){return Array.isArray(a)?a:typeof a=="string"&&a.match(z)||[]}T.fn.extend({prop:function(a,d){return U(this,T.prop,a,d,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[T.propFix[a]||a]})}}),T.extend({prop:function(a,d,A){var M,K,X=a.nodeType;if(X!==3&&X!==8&&X!==2)return X===1&&T.isXMLDoc(a)||(d=T.propFix[d]||d,K=T.propHooks[d]),A!==void 0?K&&"set"in K&&(M=K.set(a,A,d))!==void 0?M:a[d]=A:K&&"get"in K&&(M=K.get(a,d))!==null?M:a[d]},propHooks:{tabIndex:{get:function(a){var d=T.find.attr(a,"tabindex");return d?parseInt(d,10):un.test(a.nodeName)||gi.test(a.nodeName)&&a.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),P.optSelected||(T.propHooks.selected={get:function(a){var d=a.parentNode;return d&&d.parentNode&&d.parentNode.selectedIndex,null},set:function(a){var d=a.parentNode;d&&(d.selectedIndex,d.parentNode&&d.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this}),T.fn.extend({addClass:function(a){var d,A,M,K,X,oe,we,V=0;if(Y(a))return this.each(function(ee){T(this).addClass(a.call(this,ee,si(this)))});if((d=Mn(a)).length){for(;A=this[V++];)if(K=si(A),M=A.nodeType===1&&" "+Rn(K)+" "){for(oe=0;X=d[oe++];)M.indexOf(" "+X+" ")<0&&(M+=X+" ");K!==(we=Rn(M))&&A.setAttribute("class",we)}}return this},removeClass:function(a){var d,A,M,K,X,oe,we,V=0;if(Y(a))return this.each(function(ee){T(this).removeClass(a.call(this,ee,si(this)))});if(!arguments.length)return this.attr("class","");if((d=Mn(a)).length){for(;A=this[V++];)if(K=si(A),M=A.nodeType===1&&" "+Rn(K)+" "){for(oe=0;X=d[oe++];)for(;M.indexOf(" "+X+" ")>-1;)M=M.replace(" "+X+" "," ");K!==(we=Rn(M))&&A.setAttribute("class",we)}}return this},toggleClass:function(a,d){var A=typeof a,M=A==="string"||Array.isArray(a);return typeof d=="boolean"&&M?d?this.addClass(a):this.removeClass(a):Y(a)?this.each(function(K){T(this).toggleClass(a.call(this,K,si(this),d),d)}):this.each(function(){var K,X,oe,we;if(M)for(X=0,oe=T(this),we=Mn(a);K=we[X++];)oe.hasClass(K)?oe.removeClass(K):oe.addClass(K);else a!==void 0&&A!=="boolean"||((K=si(this))&&qe.set(this,"__className__",K),this.setAttribute&&this.setAttribute("class",K||a===!1?"":qe.get(this,"__className__")||""))})},hasClass:function(a){var d,A,M=0;for(d=" "+a+" ";A=this[M++];)if(A.nodeType===1&&(" "+Rn(si(A))+" ").indexOf(d)>-1)return!0;return!1}});var qn=/\r/g;T.fn.extend({val:function(a){var d,A,M,K=this[0];return arguments.length?(M=Y(a),this.each(function(X){var oe;this.nodeType===1&&((oe=M?a.call(this,X,T(this).val()):a)==null?oe="":typeof oe=="number"?oe+="":Array.isArray(oe)&&(oe=T.map(oe,function(we){return we==null?"":we+""})),(d=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in d&&d.set(this,oe,"value")!==void 0||(this.value=oe))})):K?(d=T.valHooks[K.type]||T.valHooks[K.nodeName.toLowerCase()])&&"get"in d&&(A=d.get(K,"value"))!==void 0?A:typeof(A=K.value)=="string"?A.replace(qn,""):A==null?"":A:void 0}}),T.extend({valHooks:{option:{get:function(a){var d=T.find.attr(a,"value");return d!=null?d:Rn(T.text(a))}},select:{get:function(a){var d,A,M,K=a.options,X=a.selectedIndex,oe=a.type==="select-one",we=oe?null:[],V=oe?X+1:K.length;for(M=X<0?V:oe?X:0;M<V;M++)if(((A=K[M]).selected||M===X)&&!A.disabled&&(!A.parentNode.disabled||!Ze(A.parentNode,"optgroup"))){if(d=T(A).val(),oe)return d;we.push(d)}return we},set:function(a,d){for(var A,M,K=a.options,X=T.makeArray(d),oe=K.length;oe--;)((M=K[oe]).selected=T.inArray(T.valHooks.option.get(M),X)>-1)&&(A=!0);return A||(a.selectedIndex=-1),X}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(a,d){if(Array.isArray(d))return a.checked=T.inArray(T(a).val(),d)>-1}},P.checkOn||(T.valHooks[this].get=function(a){return a.getAttribute("value")===null?"on":a.value})}),P.focusin="onfocusin"in l;var Ui=/^(?:focusinfocus|focusoutblur)$/,dr=function(a){a.stopPropagation()};T.extend(T.event,{trigger:function(a,d,A,M){var K,X,oe,we,V,ee,b,B,J=[A||ge],W=x.call(a,"type")?a.type:a,de=x.call(a,"namespace")?a.namespace.split("."):[];if(X=B=oe=A=A||ge,A.nodeType!==3&&A.nodeType!==8&&!Ui.test(W+T.event.triggered)&&(W.indexOf(".")>-1&&(de=W.split("."),W=de.shift(),de.sort()),V=W.indexOf(":")<0&&"on"+W,(a=a[T.expando]?a:new T.Event(W,typeof a=="object"&&a)).isTrigger=M?2:3,a.namespace=de.join("."),a.rnamespace=a.namespace?new RegExp("(^|\\.)"+de.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,a.result=void 0,a.target||(a.target=A),d=d==null?[a]:T.makeArray(d,[a]),b=T.event.special[W]||{},M||!b.trigger||b.trigger.apply(A,d)!==!1)){if(!M&&!b.noBubble&&!me(A)){for(we=b.delegateType||W,Ui.test(we+W)||(X=X.parentNode);X;X=X.parentNode)J.push(X),oe=X;oe===(A.ownerDocument||ge)&&J.push(oe.defaultView||oe.parentWindow||l)}for(K=0;(X=J[K++])&&!a.isPropagationStopped();)B=X,a.type=K>1?we:b.bindType||W,(ee=(qe.get(X,"events")||Object.create(null))[a.type]&&qe.get(X,"handle"))&&ee.apply(X,d),(ee=V&&X[V])&&ee.apply&&mt(X)&&(a.result=ee.apply(X,d),a.result===!1&&a.preventDefault());return a.type=W,M||a.isDefaultPrevented()||b._default&&b._default.apply(J.pop(),d)!==!1||!mt(A)||V&&Y(A[W])&&!me(A)&&((oe=A[V])&&(A[V]=null),T.event.triggered=W,a.isPropagationStopped()&&B.addEventListener(W,dr),A[W](),a.isPropagationStopped()&&B.removeEventListener(W,dr),T.event.triggered=void 0,oe&&(A[V]=oe)),a.result}},simulate:function(a,d,A){var M=T.extend(new T.Event,A,{type:a,isSimulated:!0});T.event.trigger(M,null,d)}}),T.fn.extend({trigger:function(a,d){return this.each(function(){T.event.trigger(a,d,this)})},triggerHandler:function(a,d){var A=this[0];if(A)return T.event.trigger(a,d,A,!0)}}),P.focusin||T.each({focus:"focusin",blur:"focusout"},function(a,d){var A=function(M){T.event.simulate(d,M.target,T.event.fix(M))};T.event.special[d]={setup:function(){var M=this.ownerDocument||this.document||this,K=qe.access(M,d);K||M.addEventListener(a,A,!0),qe.access(M,d,(K||0)+1)},teardown:function(){var M=this.ownerDocument||this.document||this,K=qe.access(M,d)-1;K?qe.access(M,d,K):(M.removeEventListener(a,A,!0),qe.remove(M,d))}}});var Gi=l.location,Hn={guid:Date.now()},hr=/\?/;T.parseXML=function(a){var d;if(!a||typeof a!="string")return null;try{d=new l.DOMParser().parseFromString(a,"text/xml")}catch(A){d=void 0}return d&&!d.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+a),d};var zi=/\[\]$/,qi=/\r?\n/g,or=/^(?:submit|button|image|reset|file)$/i,Ar=/^(?:input|select|textarea|keygen)/i;function Er(a,d,A,M){var K;if(Array.isArray(d))T.each(d,function(X,oe){A||zi.test(a)?M(a,oe):Er(a+"["+(typeof oe=="object"&&oe!=null?X:"")+"]",oe,A,M)});else if(A||be(d)!=="object")M(a,d);else for(K in d)Er(a+"["+K+"]",d[K],A,M)}T.param=function(a,d){var A,M=[],K=function(X,oe){var we=Y(oe)?oe():oe;M[M.length]=encodeURIComponent(X)+"="+encodeURIComponent(we==null?"":we)};if(a==null)return"";if(Array.isArray(a)||a.jquery&&!T.isPlainObject(a))T.each(a,function(){K(this.name,this.value)});else for(A in a)Er(A,a[A],d,K);return M.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=T.prop(this,"elements");return a?T.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!T(this).is(":disabled")&&Ar.test(this.nodeName)&&!or.test(a)&&(this.checked||!je.test(a))}).map(function(a,d){var A=T(this).val();return A==null?null:Array.isArray(A)?T.map(A,function(M){return{name:d.name,value:M.replace(qi,`\r
3
3
  `)}}):{name:d.name,value:A.replace(qi,`\r
4
- `)}}).get()}});var Lr=/%20/g,xr=/#.*$/,kr=/([?&])_=[^&]*/,Br=/^(.*?):[ \t]*([^\r\n]*)$/gm,zr=/^(?:GET|HEAD)$/,hi=/^\/\//,Yr={},_n={},Ur="*/".concat("*"),ar=ge.createElement("a");function Xr(a){return function(d,A){typeof d!="string"&&(A=d,d="*");var M,K=0,X=d.toLowerCase().match(z)||[];if(Y(A))for(;M=X[K++];)M[0]==="+"?(M=M.slice(1)||"*",(a[M]=a[M]||[]).unshift(A)):(a[M]=a[M]||[]).push(A)}}function Yi(a,d,A,M){var K={},X=a===_n;function oe(we){var V;return K[we]=!0,T.each(a[we]||[],function(ee,C){var B=C(d,A,M);return typeof B!="string"||X||K[B]?X?!(V=B):void 0:(d.dataTypes.unshift(B),oe(B),!1)}),V}return oe(d.dataTypes[0])||!K["*"]&&oe("*")}function Fr(a,d){var A,M,K=T.ajaxSettings.flatOptions||{};for(A in d)d[A]!==void 0&&((K[A]?a:M||(M={}))[A]=d[A]);return M&&T.extend(!0,a,M),a}ar.href=Gi.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Gi.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Gi.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ur,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,d){return d?Fr(Fr(a,T.ajaxSettings),d):Fr(T.ajaxSettings,a)},ajaxPrefilter:Xr(Yr),ajaxTransport:Xr(_n),ajax:function(a,d){typeof a=="object"&&(d=a,a=void 0),d=d||{};var A,M,K,X,oe,we,V,ee,C,B,J=T.ajaxSetup({},d),W=J.context||J,de=J.context&&(W.nodeType||W.jquery)?T(W):T.event,ue=T.Deferred(),ke=T.Callbacks("once memory"),rt=J.statusCode||{},ut={},Rt={},ht="canceled",yt={readyState:0,getResponseHeader:function(Nt){var ot;if(V){if(!X)for(X={};ot=Br.exec(K);)X[ot[1].toLowerCase()+" "]=(X[ot[1].toLowerCase()+" "]||[]).concat(ot[2]);ot=X[Nt.toLowerCase()+" "]}return ot==null?null:ot.join(", ")},getAllResponseHeaders:function(){return V?K:null},setRequestHeader:function(Nt,ot){return V==null&&(Nt=Rt[Nt.toLowerCase()]=Rt[Nt.toLowerCase()]||Nt,ut[Nt]=ot),this},overrideMimeType:function(Nt){return V==null&&(J.mimeType=Nt),this},statusCode:function(Nt){var ot;if(Nt)if(V)yt.always(Nt[yt.status]);else for(ot in Nt)rt[ot]=[rt[ot],Nt[ot]];return this},abort:function(Nt){var ot=Nt||ht;return A&&A.abort(ot),Ut(0,ot),this}};if(ue.promise(yt),J.url=((a||J.url||Gi.href)+"").replace(hi,Gi.protocol+"//"),J.type=d.method||d.type||J.method||J.type,J.dataTypes=(J.dataType||"*").toLowerCase().match(z)||[""],J.crossDomain==null){we=ge.createElement("a");try{we.href=J.url,we.href=we.href,J.crossDomain=ar.protocol+"//"+ar.host!=we.protocol+"//"+we.host}catch(Nt){J.crossDomain=!0}}if(J.data&&J.processData&&typeof J.data!="string"&&(J.data=T.param(J.data,J.traditional)),Yi(Yr,J,d,yt),V)return yt;for(C in(ee=T.event&&J.global)&&T.active++==0&&T.event.trigger("ajaxStart"),J.type=J.type.toUpperCase(),J.hasContent=!zr.test(J.type),M=J.url.replace(xr,""),J.hasContent?J.data&&J.processData&&(J.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(J.data=J.data.replace(Lr,"+")):(B=J.url.slice(M.length),J.data&&(J.processData||typeof J.data=="string")&&(M+=(hr.test(M)?"&":"?")+J.data,delete J.data),J.cache===!1&&(M=M.replace(kr,"$1"),B=(hr.test(M)?"&":"?")+"_="+Hn.guid+++B),J.url=M+B),J.ifModified&&(T.lastModified[M]&&yt.setRequestHeader("If-Modified-Since",T.lastModified[M]),T.etag[M]&&yt.setRequestHeader("If-None-Match",T.etag[M])),(J.data&&J.hasContent&&J.contentType!==!1||d.contentType)&&yt.setRequestHeader("Content-Type",J.contentType),yt.setRequestHeader("Accept",J.dataTypes[0]&&J.accepts[J.dataTypes[0]]?J.accepts[J.dataTypes[0]]+(J.dataTypes[0]!=="*"?", "+Ur+"; q=0.01":""):J.accepts["*"]),J.headers)yt.setRequestHeader(C,J.headers[C]);if(J.beforeSend&&(J.beforeSend.call(W,yt,J)===!1||V))return yt.abort();if(ht="abort",ke.add(J.complete),yt.done(J.success),yt.fail(J.error),A=Yi(_n,J,d,yt)){if(yt.readyState=1,ee&&de.trigger("ajaxSend",[yt,J]),V)return yt;J.async&&J.timeout>0&&(oe=l.setTimeout(function(){yt.abort("timeout")},J.timeout));try{V=!1,A.send(ut,Ut)}catch(Nt){if(V)throw Nt;Ut(-1,Nt)}}else Ut(-1,"No Transport");function Ut(Nt,ot,pn,St){var Tt,sn,$n,gn,wi,Vn=ot;V||(V=!0,oe&&l.clearTimeout(oe),A=void 0,K=St||"",yt.readyState=Nt>0?4:0,Tt=Nt>=200&&Nt<300||Nt===304,pn&&(gn=function(An,Zn,wn){for(var Nn,Ue,Un,pi,Ii=An.contents,xt=An.dataTypes;xt[0]==="*";)xt.shift(),Nn===void 0&&(Nn=An.mimeType||Zn.getResponseHeader("Content-Type"));if(Nn){for(Ue in Ii)if(Ii[Ue]&&Ii[Ue].test(Nn)){xt.unshift(Ue);break}}if(xt[0]in wn)Un=xt[0];else{for(Ue in wn){if(!xt[0]||An.converters[Ue+" "+xt[0]]){Un=Ue;break}pi||(pi=Ue)}Un=Un||pi}if(Un)return Un!==xt[0]&&xt.unshift(Un),wn[Un]}(J,yt,pn)),!Tt&&T.inArray("script",J.dataTypes)>-1&&(J.converters["text script"]=function(){}),gn=function(An,Zn,wn,Nn){var Ue,Un,pi,Ii,xt,Wn={},zn=An.dataTypes.slice();if(zn[1])for(pi in An.converters)Wn[pi.toLowerCase()]=An.converters[pi];for(Un=zn.shift();Un;)if(An.responseFields[Un]&&(wn[An.responseFields[Un]]=Zn),!xt&&Nn&&An.dataFilter&&(Zn=An.dataFilter(Zn,An.dataType)),xt=Un,Un=zn.shift()){if(Un==="*")Un=xt;else if(xt!=="*"&&xt!==Un){if(!(pi=Wn[xt+" "+Un]||Wn["* "+Un])){for(Ue in Wn)if((Ii=Ue.split(" "))[1]===Un&&(pi=Wn[xt+" "+Ii[0]]||Wn["* "+Ii[0]])){pi===!0?pi=Wn[Ue]:Wn[Ue]!==!0&&(Un=Ii[0],zn.unshift(Ii[1]));break}}if(pi!==!0)if(pi&&An.throws)Zn=pi(Zn);else try{Zn=pi(Zn)}catch(Tr){return{state:"parsererror",error:pi?Tr:"No conversion from "+xt+" to "+Un}}}}return{state:"success",data:Zn}}(J,gn,yt,Tt),Tt?(J.ifModified&&((wi=yt.getResponseHeader("Last-Modified"))&&(T.lastModified[M]=wi),(wi=yt.getResponseHeader("etag"))&&(T.etag[M]=wi)),Nt===204||J.type==="HEAD"?Vn="nocontent":Nt===304?Vn="notmodified":(Vn=gn.state,sn=gn.data,Tt=!($n=gn.error))):($n=Vn,!Nt&&Vn||(Vn="error",Nt<0&&(Nt=0))),yt.status=Nt,yt.statusText=(ot||Vn)+"",Tt?ue.resolveWith(W,[sn,Vn,yt]):ue.rejectWith(W,[yt,Vn,$n]),yt.statusCode(rt),rt=void 0,ee&&de.trigger(Tt?"ajaxSuccess":"ajaxError",[yt,J,Tt?sn:$n]),ke.fireWith(W,[yt,Vn]),ee&&(de.trigger("ajaxComplete",[yt,J]),--T.active||T.event.trigger("ajaxStop")))}return yt},getJSON:function(a,d,A){return T.get(a,d,A,"json")},getScript:function(a,d){return T.get(a,void 0,d,"script")}}),T.each(["get","post"],function(a,d){T[d]=function(A,M,K,X){return Y(M)&&(X=X||K,K=M,M=void 0),T.ajax(T.extend({url:A,type:d,dataType:X,data:M,success:K},T.isPlainObject(A)&&A))}}),T.ajaxPrefilter(function(a){var d;for(d in a.headers)d.toLowerCase()==="content-type"&&(a.contentType=a.headers[d]||"")}),T._evalUrl=function(a,d,A){return T.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(M){T.globalEval(M,d,A)}})},T.fn.extend({wrapAll:function(a){var d;return this[0]&&(Y(a)&&(a=a.call(this[0])),d=T(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&d.insertBefore(this[0]),d.map(function(){for(var A=this;A.firstElementChild;)A=A.firstElementChild;return A}).append(this)),this},wrapInner:function(a){return Y(a)?this.each(function(d){T(this).wrapInner(a.call(this,d))}):this.each(function(){var d=T(this),A=d.contents();A.length?A.wrapAll(a):d.append(a)})},wrap:function(a){var d=Y(a);return this.each(function(A){T(this).wrapAll(d?a.call(this,A):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){T(this).replaceWith(this.childNodes)}),this}}),T.expr.pseudos.hidden=function(a){return!T.expr.pseudos.visible(a)},T.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new l.XMLHttpRequest}catch(a){}};var jr={0:200,1223:204},pr=T.ajaxSettings.xhr();P.cors=!!pr&&"withCredentials"in pr,P.ajax=pr=!!pr,T.ajaxTransport(function(a){var d,A;if(P.cors||pr&&!a.crossDomain)return{send:function(M,K){var X,oe=a.xhr();if(oe.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(X in a.xhrFields)oe[X]=a.xhrFields[X];for(X in a.mimeType&&oe.overrideMimeType&&oe.overrideMimeType(a.mimeType),a.crossDomain||M["X-Requested-With"]||(M["X-Requested-With"]="XMLHttpRequest"),M)oe.setRequestHeader(X,M[X]);d=function(we){return function(){d&&(d=A=oe.onload=oe.onerror=oe.onabort=oe.ontimeout=oe.onreadystatechange=null,we==="abort"?oe.abort():we==="error"?typeof oe.status!="number"?K(0,"error"):K(oe.status,oe.statusText):K(jr[oe.status]||oe.status,oe.statusText,(oe.responseType||"text")!=="text"||typeof oe.responseText!="string"?{binary:oe.response}:{text:oe.responseText},oe.getAllResponseHeaders()))}},oe.onload=d(),A=oe.onerror=oe.ontimeout=d("error"),oe.onabort!==void 0?oe.onabort=A:oe.onreadystatechange=function(){oe.readyState===4&&l.setTimeout(function(){d&&A()})},d=d("abort");try{oe.send(a.hasContent&&a.data||null)}catch(we){if(d)throw we}},abort:function(){d&&d()}}}),T.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return T.globalEval(a),a}}}),T.ajaxPrefilter("script",function(a){a.cache===void 0&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),T.ajaxTransport("script",function(a){var d,A;if(a.crossDomain||a.scriptAttrs)return{send:function(M,K){d=T("<script>").attr(a.scriptAttrs||{}).prop({charset:a.scriptCharset,src:a.url}).on("load error",A=function(X){d.remove(),A=null,X&&K(X.type==="error"?404:200,X.type)}),ge.head.appendChild(d[0])},abort:function(){A&&A()}}});var Vr,cr=[],Hr=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=cr.pop()||T.expando+"_"+Hn.guid++;return this[a]=!0,a}}),T.ajaxPrefilter("json jsonp",function(a,d,A){var M,K,X,oe=a.jsonp!==!1&&(Hr.test(a.url)?"url":typeof a.data=="string"&&(a.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Hr.test(a.data)&&"data");if(oe||a.dataTypes[0]==="jsonp")return M=a.jsonpCallback=Y(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,oe?a[oe]=a[oe].replace(Hr,"$1"+M):a.jsonp!==!1&&(a.url+=(hr.test(a.url)?"&":"?")+a.jsonp+"="+M),a.converters["script json"]=function(){return X||T.error(M+" was not called"),X[0]},a.dataTypes[0]="json",K=l[M],l[M]=function(){X=arguments},A.always(function(){K===void 0?T(l).removeProp(M):l[M]=K,a[M]&&(a.jsonpCallback=d.jsonpCallback,cr.push(M)),X&&Y(K)&&K(X[0]),X=K=void 0}),"script"}),P.createHTMLDocument=((Vr=ge.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",Vr.childNodes.length===2),T.parseHTML=function(a,d,A){return typeof a!="string"?[]:(typeof d=="boolean"&&(A=d,d=!1),d||(P.createHTMLDocument?((M=(d=ge.implementation.createHTMLDocument("")).createElement("base")).href=ge.location.href,d.head.appendChild(M)):d=ge),X=!A&&[],(K=Fe.exec(a))?[d.createElement(K[1])]:(K=Kn([a],d,X),X&&X.length&&T(X).remove(),T.merge([],K.childNodes)));var M,K,X},T.fn.load=function(a,d,A){var M,K,X,oe=this,we=a.indexOf(" ");return we>-1&&(M=Rn(a.slice(we)),a=a.slice(0,we)),Y(d)?(A=d,d=void 0):d&&typeof d=="object"&&(K="POST"),oe.length>0&&T.ajax({url:a,type:K||"GET",dataType:"html",data:d}).done(function(V){X=arguments,oe.html(M?T("<div>").append(T.parseHTML(V)).find(M):V)}).always(A&&function(V,ee){oe.each(function(){A.apply(this,X||[V.responseText,ee,V])})}),this},T.expr.pseudos.animated=function(a){return T.grep(T.timers,function(d){return a===d.elem}).length},T.offset={setOffset:function(a,d,A){var M,K,X,oe,we,V,ee=T.css(a,"position"),C=T(a),B={};ee==="static"&&(a.style.position="relative"),we=C.offset(),X=T.css(a,"top"),V=T.css(a,"left"),(ee==="absolute"||ee==="fixed")&&(X+V).indexOf("auto")>-1?(oe=(M=C.position()).top,K=M.left):(oe=parseFloat(X)||0,K=parseFloat(V)||0),Y(d)&&(d=d.call(a,A,T.extend({},we))),d.top!=null&&(B.top=d.top-we.top+oe),d.left!=null&&(B.left=d.left-we.left+K),"using"in d?d.using.call(a,B):(typeof B.top=="number"&&(B.top+="px"),typeof B.left=="number"&&(B.left+="px"),C.css(B))}},T.fn.extend({offset:function(a){if(arguments.length)return a===void 0?this:this.each(function(K){T.offset.setOffset(this,a,K)});var d,A,M=this[0];return M?M.getClientRects().length?(d=M.getBoundingClientRect(),A=M.ownerDocument.defaultView,{top:d.top+A.pageYOffset,left:d.left+A.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var a,d,A,M=this[0],K={top:0,left:0};if(T.css(M,"position")==="fixed")d=M.getBoundingClientRect();else{for(d=this.offset(),A=M.ownerDocument,a=M.offsetParent||A.documentElement;a&&(a===A.body||a===A.documentElement)&&T.css(a,"position")==="static";)a=a.parentNode;a&&a!==M&&a.nodeType===1&&((K=T(a).offset()).top+=T.css(a,"borderTopWidth",!0),K.left+=T.css(a,"borderLeftWidth",!0))}return{top:d.top-K.top-T.css(M,"marginTop",!0),left:d.left-K.left-T.css(M,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent;a&&T.css(a,"position")==="static";)a=a.offsetParent;return a||_t})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,d){var A=d==="pageYOffset";T.fn[a]=function(M){return U(this,function(K,X,oe){var we;if(me(K)?we=K:K.nodeType===9&&(we=K.defaultView),oe===void 0)return we?we[d]:K[X];we?we.scrollTo(A?we.pageXOffset:oe,A?oe:we.pageYOffset):K[X]=oe},a,M,arguments.length)}}),T.each(["top","left"],function(a,d){T.cssHooks[d]=vn(P.pixelPosition,function(A,M){if(M)return M=Mt(A,d),Ji.test(M)?T(A).position()[d]+"px":M})}),T.each({Height:"height",Width:"width"},function(a,d){T.each({padding:"inner"+a,content:d,"":"outer"+a},function(A,M){T.fn[M]=function(K,X){var oe=arguments.length&&(A||typeof K!="boolean"),we=A||(K===!0||X===!0?"margin":"border");return U(this,function(V,ee,C){var B;return me(V)?M.indexOf("outer")===0?V["inner"+a]:V.document.documentElement["client"+a]:V.nodeType===9?(B=V.documentElement,Math.max(V.body["scroll"+a],B["scroll"+a],V.body["offset"+a],B["offset"+a],B["client"+a])):C===void 0?T.css(V,ee,we):T.style(V,ee,C,we)},d,oe?K:void 0,oe)}})}),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,d){T.fn[d]=function(A){return this.on(d,A)}}),T.fn.extend({bind:function(a,d,A){return this.on(a,null,d,A)},unbind:function(a,d){return this.off(a,null,d)},delegate:function(a,d,A,M){return this.on(d,a,A,M)},undelegate:function(a,d,A){return arguments.length===1?this.off(a,"**"):this.off(d,a||"**",A)},hover:function(a,d){return this.mouseenter(a).mouseleave(d||a)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,d){T.fn[d]=function(A,M){return arguments.length>0?this.on(d,null,A,M):this.trigger(d)}});var Is=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;T.proxy=function(a,d){var A,M,K;if(typeof d=="string"&&(A=a[d],d=a,a=A),Y(a))return M=j.call(arguments,2),K=function(){return a.apply(d||this,M.concat(j.call(arguments)))},K.guid=a.guid=a.guid||T.guid++,K},T.holdReady=function(a){a?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=Ze,T.isFunction=Y,T.isWindow=me,T.camelCase=Ie,T.type=be,T.now=Date.now,T.isNumeric=function(a){var d=T.type(a);return(d==="number"||d==="string")&&!isNaN(a-parseFloat(a))},T.trim=function(a){return a==null?"":(a+"").replace(Is,"")},(o=function(){return T}.apply(u,[]))===void 0||(E.exports=o);var as=l.jQuery,Ps=l.$;return T.noConflict=function(a){return l.$===T&&(l.$=Ps),a&&l.jQuery===T&&(l.jQuery=as),T},y===void 0&&(l.jQuery=l.$=T),T})},2428:(E,u,o)=>{var l=typeof Map=="function"&&Map.prototype,y=Object.getOwnPropertyDescriptor&&l?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,m=l&&y&&typeof y.get=="function"?y.get:null,v=l&&Map.prototype.forEach,j=typeof Set=="function"&&Set.prototype,p=Object.getOwnPropertyDescriptor&&j?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,g=j&&p&&typeof p.get=="function"?p.get:null,_=j&&Set.prototype.forEach,w=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap.prototype.has:null,O=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet.prototype.has:null,x=typeof WeakRef=="function"&&WeakRef.prototype?WeakRef.prototype.deref:null,F=Boolean.prototype.valueOf,G=Object.prototype.toString,P=Function.prototype.toString,Y=String.prototype.match,me=String.prototype.slice,ge=String.prototype.replace,Be=String.prototype.toUpperCase,it=String.prototype.toLowerCase,be=RegExp.prototype.test,Re=Array.prototype.concat,T=Array.prototype.join,at=Array.prototype.slice,Ee=Math.floor,Le=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Xe=Object.getOwnPropertySymbols,se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Ze=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Fe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Ze||"symbol")?Symbol.toStringTag:null,dt=Object.prototype.propertyIsEnumerable,$e=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(qe){return qe.__proto__}:null);function ae(qe,He){if(qe===1/0||qe===-1/0||qe!=qe||qe&&qe>-1e3&&qe<1e3||be.call(/e/,He))return He;var It=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof qe=="number"){var Gt=qe<0?-Ee(-qe):Ee(qe);if(Gt!==qe){var Xt=String(Gt),Ht=me.call(He,Xt.length+1);return ge.call(Xt,It,"$&_")+"."+ge.call(ge.call(Ht,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ge.call(He,It,"$&_")}var f=o(4654).custom,D=f&&Se(f)?f:null;function H(qe,He,It){var Gt=(It.quoteStyle||He)==="double"?'"':"'";return Gt+qe+Gt}function z(qe){return ge.call(String(qe),/"/g,"&quot;")}function ve(qe){return!(De(qe)!=="[object Array]"||Fe&&typeof qe=="object"&&Fe in qe)}function Se(qe){if(Ze)return qe&&typeof qe=="object"&&qe instanceof Symbol;if(typeof qe=="symbol")return!0;if(!qe||typeof qe!="object"||!se)return!1;try{return se.call(qe),!0}catch(He){}return!1}E.exports=function qe(He,It,Gt,Xt){var Ht=It||{};if(he(Ht,"quoteStyle")&&Ht.quoteStyle!=="single"&&Ht.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(he(Ht,"maxStringLength")&&(typeof Ht.maxStringLength=="number"?Ht.maxStringLength<0&&Ht.maxStringLength!==1/0:Ht.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var qt=!he(Ht,"customInspect")||Ht.customInspect;if(typeof qt!="boolean"&&qt!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(he(Ht,"indent")&&Ht.indent!==null&&Ht.indent!==" "&&!(parseInt(Ht.indent,10)===Ht.indent&&Ht.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(he(Ht,"numericSeparator")&&typeof Ht.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Wt=Ht.numericSeparator;if(He===void 0)return"undefined";if(He===null)return"null";if(typeof He=="boolean")return He?"true":"false";if(typeof He=="string")return U(He,Ht);if(typeof He=="number"){if(He===0)return 1/0/He>0?"0":"-0";var _t=String(He);return Wt?ae(He,_t):_t}if(typeof He=="bigint"){var Zt=String(He)+"n";return Wt?ae(He,Zt):Zt}var q=Ht.depth===void 0?5:Ht.depth;if(Gt===void 0&&(Gt=0),Gt>=q&&q>0&&typeof He=="object")return ve(He)?"[Array]":"[Object]";var Me=function(At,en){var Pn;if(At.indent===" ")Pn=" ";else{if(!(typeof At.indent=="number"&&At.indent>0))return null;Pn=T.call(Array(At.indent+1)," ")}return{base:Pn,prev:T.call(Array(en+1),Pn)}}(Ht,Gt);if(Xt===void 0)Xt=[];else if(R(Xt,He)>=0)return"[Circular]";function Ae(At,en,Pn){if(en&&(Xt=at.call(Xt)).push(en),Pn){var yi={depth:Ht.depth};return he(Ht,"quoteStyle")&&(yi.quoteStyle=Ht.quoteStyle),qe(At,yi,Gt+1,Xt)}return qe(At,Ht,Gt+1,Xt)}if(typeof He=="function"){var k=function(At){if(At.name)return At.name;var en=Y.call(P.call(At),/^function\s*([\w$]+)/);return en?en[1]:null}(He),Q=jt(He,Ae);return"[Function"+(k?": "+k:" (anonymous)")+"]"+(Q.length>0?" { "+T.call(Q,", ")+" }":"")}if(Se(He)){var ie=Ze?ge.call(String(He),/^(Symbol\(.*\))_[^)]*$/,"$1"):se.call(He);return typeof He!="object"||Ze?ie:_e(ie)}if(function(At){return!At||typeof At!="object"?!1:typeof HTMLElement!="undefined"&&At instanceof HTMLElement?!0:typeof At.nodeName=="string"&&typeof At.getAttribute=="function"}(He)){for(var ce="<"+it.call(String(He.nodeName)),Pe=He.attributes||[],je=0;je<Pe.length;je++)ce+=" "+Pe[je].name+"="+H(z(Pe[je].value),"double",Ht);return ce+=">",He.childNodes&&He.childNodes.length&&(ce+="..."),ce+="</"+it.call(String(He.nodeName))+">"}if(ve(He)){if(He.length===0)return"[]";var lt=jt(He,Ae);return Me&&!function(At){for(var en=0;en<At.length;en++)if(R(At[en],`
4
+ `)}}).get()}});var Lr=/%20/g,xr=/#.*$/,kr=/([?&])_=[^&]*/,Br=/^(.*?):[ \t]*([^\r\n]*)$/gm,zr=/^(?:GET|HEAD)$/,hi=/^\/\//,Yr={},_n={},Ur="*/".concat("*"),ar=ge.createElement("a");function Xr(a){return function(d,A){typeof d!="string"&&(A=d,d="*");var M,K=0,X=d.toLowerCase().match(z)||[];if(Y(A))for(;M=X[K++];)M[0]==="+"?(M=M.slice(1)||"*",(a[M]=a[M]||[]).unshift(A)):(a[M]=a[M]||[]).push(A)}}function Yi(a,d,A,M){var K={},X=a===_n;function oe(we){var V;return K[we]=!0,T.each(a[we]||[],function(ee,b){var B=b(d,A,M);return typeof B!="string"||X||K[B]?X?!(V=B):void 0:(d.dataTypes.unshift(B),oe(B),!1)}),V}return oe(d.dataTypes[0])||!K["*"]&&oe("*")}function Fr(a,d){var A,M,K=T.ajaxSettings.flatOptions||{};for(A in d)d[A]!==void 0&&((K[A]?a:M||(M={}))[A]=d[A]);return M&&T.extend(!0,a,M),a}ar.href=Gi.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Gi.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Gi.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ur,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,d){return d?Fr(Fr(a,T.ajaxSettings),d):Fr(T.ajaxSettings,a)},ajaxPrefilter:Xr(Yr),ajaxTransport:Xr(_n),ajax:function(a,d){typeof a=="object"&&(d=a,a=void 0),d=d||{};var A,M,K,X,oe,we,V,ee,b,B,J=T.ajaxSetup({},d),W=J.context||J,de=J.context&&(W.nodeType||W.jquery)?T(W):T.event,ue=T.Deferred(),ke=T.Callbacks("once memory"),rt=J.statusCode||{},ut={},Rt={},ht="canceled",yt={readyState:0,getResponseHeader:function(Nt){var ot;if(V){if(!X)for(X={};ot=Br.exec(K);)X[ot[1].toLowerCase()+" "]=(X[ot[1].toLowerCase()+" "]||[]).concat(ot[2]);ot=X[Nt.toLowerCase()+" "]}return ot==null?null:ot.join(", ")},getAllResponseHeaders:function(){return V?K:null},setRequestHeader:function(Nt,ot){return V==null&&(Nt=Rt[Nt.toLowerCase()]=Rt[Nt.toLowerCase()]||Nt,ut[Nt]=ot),this},overrideMimeType:function(Nt){return V==null&&(J.mimeType=Nt),this},statusCode:function(Nt){var ot;if(Nt)if(V)yt.always(Nt[yt.status]);else for(ot in Nt)rt[ot]=[rt[ot],Nt[ot]];return this},abort:function(Nt){var ot=Nt||ht;return A&&A.abort(ot),Ut(0,ot),this}};if(ue.promise(yt),J.url=((a||J.url||Gi.href)+"").replace(hi,Gi.protocol+"//"),J.type=d.method||d.type||J.method||J.type,J.dataTypes=(J.dataType||"*").toLowerCase().match(z)||[""],J.crossDomain==null){we=ge.createElement("a");try{we.href=J.url,we.href=we.href,J.crossDomain=ar.protocol+"//"+ar.host!=we.protocol+"//"+we.host}catch(Nt){J.crossDomain=!0}}if(J.data&&J.processData&&typeof J.data!="string"&&(J.data=T.param(J.data,J.traditional)),Yi(Yr,J,d,yt),V)return yt;for(b in(ee=T.event&&J.global)&&T.active++==0&&T.event.trigger("ajaxStart"),J.type=J.type.toUpperCase(),J.hasContent=!zr.test(J.type),M=J.url.replace(xr,""),J.hasContent?J.data&&J.processData&&(J.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(J.data=J.data.replace(Lr,"+")):(B=J.url.slice(M.length),J.data&&(J.processData||typeof J.data=="string")&&(M+=(hr.test(M)?"&":"?")+J.data,delete J.data),J.cache===!1&&(M=M.replace(kr,"$1"),B=(hr.test(M)?"&":"?")+"_="+Hn.guid+++B),J.url=M+B),J.ifModified&&(T.lastModified[M]&&yt.setRequestHeader("If-Modified-Since",T.lastModified[M]),T.etag[M]&&yt.setRequestHeader("If-None-Match",T.etag[M])),(J.data&&J.hasContent&&J.contentType!==!1||d.contentType)&&yt.setRequestHeader("Content-Type",J.contentType),yt.setRequestHeader("Accept",J.dataTypes[0]&&J.accepts[J.dataTypes[0]]?J.accepts[J.dataTypes[0]]+(J.dataTypes[0]!=="*"?", "+Ur+"; q=0.01":""):J.accepts["*"]),J.headers)yt.setRequestHeader(b,J.headers[b]);if(J.beforeSend&&(J.beforeSend.call(W,yt,J)===!1||V))return yt.abort();if(ht="abort",ke.add(J.complete),yt.done(J.success),yt.fail(J.error),A=Yi(_n,J,d,yt)){if(yt.readyState=1,ee&&de.trigger("ajaxSend",[yt,J]),V)return yt;J.async&&J.timeout>0&&(oe=l.setTimeout(function(){yt.abort("timeout")},J.timeout));try{V=!1,A.send(ut,Ut)}catch(Nt){if(V)throw Nt;Ut(-1,Nt)}}else Ut(-1,"No Transport");function Ut(Nt,ot,pn,St){var Tt,sn,$n,gn,wi,Vn=ot;V||(V=!0,oe&&l.clearTimeout(oe),A=void 0,K=St||"",yt.readyState=Nt>0?4:0,Tt=Nt>=200&&Nt<300||Nt===304,pn&&(gn=function(An,Zn,wn){for(var Nn,Ue,Un,pi,Ii=An.contents,xt=An.dataTypes;xt[0]==="*";)xt.shift(),Nn===void 0&&(Nn=An.mimeType||Zn.getResponseHeader("Content-Type"));if(Nn){for(Ue in Ii)if(Ii[Ue]&&Ii[Ue].test(Nn)){xt.unshift(Ue);break}}if(xt[0]in wn)Un=xt[0];else{for(Ue in wn){if(!xt[0]||An.converters[Ue+" "+xt[0]]){Un=Ue;break}pi||(pi=Ue)}Un=Un||pi}if(Un)return Un!==xt[0]&&xt.unshift(Un),wn[Un]}(J,yt,pn)),!Tt&&T.inArray("script",J.dataTypes)>-1&&(J.converters["text script"]=function(){}),gn=function(An,Zn,wn,Nn){var Ue,Un,pi,Ii,xt,Wn={},zn=An.dataTypes.slice();if(zn[1])for(pi in An.converters)Wn[pi.toLowerCase()]=An.converters[pi];for(Un=zn.shift();Un;)if(An.responseFields[Un]&&(wn[An.responseFields[Un]]=Zn),!xt&&Nn&&An.dataFilter&&(Zn=An.dataFilter(Zn,An.dataType)),xt=Un,Un=zn.shift()){if(Un==="*")Un=xt;else if(xt!=="*"&&xt!==Un){if(!(pi=Wn[xt+" "+Un]||Wn["* "+Un])){for(Ue in Wn)if((Ii=Ue.split(" "))[1]===Un&&(pi=Wn[xt+" "+Ii[0]]||Wn["* "+Ii[0]])){pi===!0?pi=Wn[Ue]:Wn[Ue]!==!0&&(Un=Ii[0],zn.unshift(Ii[1]));break}}if(pi!==!0)if(pi&&An.throws)Zn=pi(Zn);else try{Zn=pi(Zn)}catch(Tr){return{state:"parsererror",error:pi?Tr:"No conversion from "+xt+" to "+Un}}}}return{state:"success",data:Zn}}(J,gn,yt,Tt),Tt?(J.ifModified&&((wi=yt.getResponseHeader("Last-Modified"))&&(T.lastModified[M]=wi),(wi=yt.getResponseHeader("etag"))&&(T.etag[M]=wi)),Nt===204||J.type==="HEAD"?Vn="nocontent":Nt===304?Vn="notmodified":(Vn=gn.state,sn=gn.data,Tt=!($n=gn.error))):($n=Vn,!Nt&&Vn||(Vn="error",Nt<0&&(Nt=0))),yt.status=Nt,yt.statusText=(ot||Vn)+"",Tt?ue.resolveWith(W,[sn,Vn,yt]):ue.rejectWith(W,[yt,Vn,$n]),yt.statusCode(rt),rt=void 0,ee&&de.trigger(Tt?"ajaxSuccess":"ajaxError",[yt,J,Tt?sn:$n]),ke.fireWith(W,[yt,Vn]),ee&&(de.trigger("ajaxComplete",[yt,J]),--T.active||T.event.trigger("ajaxStop")))}return yt},getJSON:function(a,d,A){return T.get(a,d,A,"json")},getScript:function(a,d){return T.get(a,void 0,d,"script")}}),T.each(["get","post"],function(a,d){T[d]=function(A,M,K,X){return Y(M)&&(X=X||K,K=M,M=void 0),T.ajax(T.extend({url:A,type:d,dataType:X,data:M,success:K},T.isPlainObject(A)&&A))}}),T.ajaxPrefilter(function(a){var d;for(d in a.headers)d.toLowerCase()==="content-type"&&(a.contentType=a.headers[d]||"")}),T._evalUrl=function(a,d,A){return T.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(M){T.globalEval(M,d,A)}})},T.fn.extend({wrapAll:function(a){var d;return this[0]&&(Y(a)&&(a=a.call(this[0])),d=T(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&d.insertBefore(this[0]),d.map(function(){for(var A=this;A.firstElementChild;)A=A.firstElementChild;return A}).append(this)),this},wrapInner:function(a){return Y(a)?this.each(function(d){T(this).wrapInner(a.call(this,d))}):this.each(function(){var d=T(this),A=d.contents();A.length?A.wrapAll(a):d.append(a)})},wrap:function(a){var d=Y(a);return this.each(function(A){T(this).wrapAll(d?a.call(this,A):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){T(this).replaceWith(this.childNodes)}),this}}),T.expr.pseudos.hidden=function(a){return!T.expr.pseudos.visible(a)},T.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new l.XMLHttpRequest}catch(a){}};var jr={0:200,1223:204},pr=T.ajaxSettings.xhr();P.cors=!!pr&&"withCredentials"in pr,P.ajax=pr=!!pr,T.ajaxTransport(function(a){var d,A;if(P.cors||pr&&!a.crossDomain)return{send:function(M,K){var X,oe=a.xhr();if(oe.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(X in a.xhrFields)oe[X]=a.xhrFields[X];for(X in a.mimeType&&oe.overrideMimeType&&oe.overrideMimeType(a.mimeType),a.crossDomain||M["X-Requested-With"]||(M["X-Requested-With"]="XMLHttpRequest"),M)oe.setRequestHeader(X,M[X]);d=function(we){return function(){d&&(d=A=oe.onload=oe.onerror=oe.onabort=oe.ontimeout=oe.onreadystatechange=null,we==="abort"?oe.abort():we==="error"?typeof oe.status!="number"?K(0,"error"):K(oe.status,oe.statusText):K(jr[oe.status]||oe.status,oe.statusText,(oe.responseType||"text")!=="text"||typeof oe.responseText!="string"?{binary:oe.response}:{text:oe.responseText},oe.getAllResponseHeaders()))}},oe.onload=d(),A=oe.onerror=oe.ontimeout=d("error"),oe.onabort!==void 0?oe.onabort=A:oe.onreadystatechange=function(){oe.readyState===4&&l.setTimeout(function(){d&&A()})},d=d("abort");try{oe.send(a.hasContent&&a.data||null)}catch(we){if(d)throw we}},abort:function(){d&&d()}}}),T.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return T.globalEval(a),a}}}),T.ajaxPrefilter("script",function(a){a.cache===void 0&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),T.ajaxTransport("script",function(a){var d,A;if(a.crossDomain||a.scriptAttrs)return{send:function(M,K){d=T("<script>").attr(a.scriptAttrs||{}).prop({charset:a.scriptCharset,src:a.url}).on("load error",A=function(X){d.remove(),A=null,X&&K(X.type==="error"?404:200,X.type)}),ge.head.appendChild(d[0])},abort:function(){A&&A()}}});var Vr,cr=[],Hr=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=cr.pop()||T.expando+"_"+Hn.guid++;return this[a]=!0,a}}),T.ajaxPrefilter("json jsonp",function(a,d,A){var M,K,X,oe=a.jsonp!==!1&&(Hr.test(a.url)?"url":typeof a.data=="string"&&(a.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Hr.test(a.data)&&"data");if(oe||a.dataTypes[0]==="jsonp")return M=a.jsonpCallback=Y(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,oe?a[oe]=a[oe].replace(Hr,"$1"+M):a.jsonp!==!1&&(a.url+=(hr.test(a.url)?"&":"?")+a.jsonp+"="+M),a.converters["script json"]=function(){return X||T.error(M+" was not called"),X[0]},a.dataTypes[0]="json",K=l[M],l[M]=function(){X=arguments},A.always(function(){K===void 0?T(l).removeProp(M):l[M]=K,a[M]&&(a.jsonpCallback=d.jsonpCallback,cr.push(M)),X&&Y(K)&&K(X[0]),X=K=void 0}),"script"}),P.createHTMLDocument=((Vr=ge.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",Vr.childNodes.length===2),T.parseHTML=function(a,d,A){return typeof a!="string"?[]:(typeof d=="boolean"&&(A=d,d=!1),d||(P.createHTMLDocument?((M=(d=ge.implementation.createHTMLDocument("")).createElement("base")).href=ge.location.href,d.head.appendChild(M)):d=ge),X=!A&&[],(K=Fe.exec(a))?[d.createElement(K[1])]:(K=Kn([a],d,X),X&&X.length&&T(X).remove(),T.merge([],K.childNodes)));var M,K,X},T.fn.load=function(a,d,A){var M,K,X,oe=this,we=a.indexOf(" ");return we>-1&&(M=Rn(a.slice(we)),a=a.slice(0,we)),Y(d)?(A=d,d=void 0):d&&typeof d=="object"&&(K="POST"),oe.length>0&&T.ajax({url:a,type:K||"GET",dataType:"html",data:d}).done(function(V){X=arguments,oe.html(M?T("<div>").append(T.parseHTML(V)).find(M):V)}).always(A&&function(V,ee){oe.each(function(){A.apply(this,X||[V.responseText,ee,V])})}),this},T.expr.pseudos.animated=function(a){return T.grep(T.timers,function(d){return a===d.elem}).length},T.offset={setOffset:function(a,d,A){var M,K,X,oe,we,V,ee=T.css(a,"position"),b=T(a),B={};ee==="static"&&(a.style.position="relative"),we=b.offset(),X=T.css(a,"top"),V=T.css(a,"left"),(ee==="absolute"||ee==="fixed")&&(X+V).indexOf("auto")>-1?(oe=(M=b.position()).top,K=M.left):(oe=parseFloat(X)||0,K=parseFloat(V)||0),Y(d)&&(d=d.call(a,A,T.extend({},we))),d.top!=null&&(B.top=d.top-we.top+oe),d.left!=null&&(B.left=d.left-we.left+K),"using"in d?d.using.call(a,B):(typeof B.top=="number"&&(B.top+="px"),typeof B.left=="number"&&(B.left+="px"),b.css(B))}},T.fn.extend({offset:function(a){if(arguments.length)return a===void 0?this:this.each(function(K){T.offset.setOffset(this,a,K)});var d,A,M=this[0];return M?M.getClientRects().length?(d=M.getBoundingClientRect(),A=M.ownerDocument.defaultView,{top:d.top+A.pageYOffset,left:d.left+A.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var a,d,A,M=this[0],K={top:0,left:0};if(T.css(M,"position")==="fixed")d=M.getBoundingClientRect();else{for(d=this.offset(),A=M.ownerDocument,a=M.offsetParent||A.documentElement;a&&(a===A.body||a===A.documentElement)&&T.css(a,"position")==="static";)a=a.parentNode;a&&a!==M&&a.nodeType===1&&((K=T(a).offset()).top+=T.css(a,"borderTopWidth",!0),K.left+=T.css(a,"borderLeftWidth",!0))}return{top:d.top-K.top-T.css(M,"marginTop",!0),left:d.left-K.left-T.css(M,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent;a&&T.css(a,"position")==="static";)a=a.offsetParent;return a||_t})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,d){var A=d==="pageYOffset";T.fn[a]=function(M){return U(this,function(K,X,oe){var we;if(me(K)?we=K:K.nodeType===9&&(we=K.defaultView),oe===void 0)return we?we[d]:K[X];we?we.scrollTo(A?we.pageXOffset:oe,A?oe:we.pageYOffset):K[X]=oe},a,M,arguments.length)}}),T.each(["top","left"],function(a,d){T.cssHooks[d]=vn(P.pixelPosition,function(A,M){if(M)return M=Mt(A,d),Ji.test(M)?T(A).position()[d]+"px":M})}),T.each({Height:"height",Width:"width"},function(a,d){T.each({padding:"inner"+a,content:d,"":"outer"+a},function(A,M){T.fn[M]=function(K,X){var oe=arguments.length&&(A||typeof K!="boolean"),we=A||(K===!0||X===!0?"margin":"border");return U(this,function(V,ee,b){var B;return me(V)?M.indexOf("outer")===0?V["inner"+a]:V.document.documentElement["client"+a]:V.nodeType===9?(B=V.documentElement,Math.max(V.body["scroll"+a],B["scroll"+a],V.body["offset"+a],B["offset"+a],B["client"+a])):b===void 0?T.css(V,ee,we):T.style(V,ee,b,we)},d,oe?K:void 0,oe)}})}),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,d){T.fn[d]=function(A){return this.on(d,A)}}),T.fn.extend({bind:function(a,d,A){return this.on(a,null,d,A)},unbind:function(a,d){return this.off(a,null,d)},delegate:function(a,d,A,M){return this.on(d,a,A,M)},undelegate:function(a,d,A){return arguments.length===1?this.off(a,"**"):this.off(d,a||"**",A)},hover:function(a,d){return this.mouseenter(a).mouseleave(d||a)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,d){T.fn[d]=function(A,M){return arguments.length>0?this.on(d,null,A,M):this.trigger(d)}});var Is=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;T.proxy=function(a,d){var A,M,K;if(typeof d=="string"&&(A=a[d],d=a,a=A),Y(a))return M=j.call(arguments,2),K=function(){return a.apply(d||this,M.concat(j.call(arguments)))},K.guid=a.guid=a.guid||T.guid++,K},T.holdReady=function(a){a?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=Ze,T.isFunction=Y,T.isWindow=me,T.camelCase=Ie,T.type=be,T.now=Date.now,T.isNumeric=function(a){var d=T.type(a);return(d==="number"||d==="string")&&!isNaN(a-parseFloat(a))},T.trim=function(a){return a==null?"":(a+"").replace(Is,"")},(o=function(){return T}.apply(u,[]))===void 0||(E.exports=o);var as=l.jQuery,Ps=l.$;return T.noConflict=function(a){return l.$===T&&(l.$=Ps),a&&l.jQuery===T&&(l.jQuery=as),T},y===void 0&&(l.jQuery=l.$=T),T})},2428:(E,u,o)=>{var l=typeof Map=="function"&&Map.prototype,y=Object.getOwnPropertyDescriptor&&l?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,m=l&&y&&typeof y.get=="function"?y.get:null,v=l&&Map.prototype.forEach,j=typeof Set=="function"&&Set.prototype,p=Object.getOwnPropertyDescriptor&&j?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,g=j&&p&&typeof p.get=="function"?p.get:null,_=j&&Set.prototype.forEach,w=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap.prototype.has:null,O=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet.prototype.has:null,x=typeof WeakRef=="function"&&WeakRef.prototype?WeakRef.prototype.deref:null,F=Boolean.prototype.valueOf,G=Object.prototype.toString,P=Function.prototype.toString,Y=String.prototype.match,me=String.prototype.slice,ge=String.prototype.replace,Be=String.prototype.toUpperCase,it=String.prototype.toLowerCase,be=RegExp.prototype.test,Re=Array.prototype.concat,T=Array.prototype.join,at=Array.prototype.slice,Ee=Math.floor,Le=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Xe=Object.getOwnPropertySymbols,se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Ze=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Fe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Ze||"symbol")?Symbol.toStringTag:null,dt=Object.prototype.propertyIsEnumerable,$e=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(qe){return qe.__proto__}:null);function ae(qe,He){if(qe===1/0||qe===-1/0||qe!=qe||qe&&qe>-1e3&&qe<1e3||be.call(/e/,He))return He;var It=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof qe=="number"){var Gt=qe<0?-Ee(-qe):Ee(qe);if(Gt!==qe){var Xt=String(Gt),Ht=me.call(He,Xt.length+1);return ge.call(Xt,It,"$&_")+"."+ge.call(ge.call(Ht,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ge.call(He,It,"$&_")}var f=o(4654).custom,D=f&&Se(f)?f:null;function H(qe,He,It){var Gt=(It.quoteStyle||He)==="double"?'"':"'";return Gt+qe+Gt}function z(qe){return ge.call(String(qe),/"/g,"&quot;")}function ve(qe){return!(De(qe)!=="[object Array]"||Fe&&typeof qe=="object"&&Fe in qe)}function Se(qe){if(Ze)return qe&&typeof qe=="object"&&qe instanceof Symbol;if(typeof qe=="symbol")return!0;if(!qe||typeof qe!="object"||!se)return!1;try{return se.call(qe),!0}catch(He){}return!1}E.exports=function qe(He,It,Gt,Xt){var Ht=It||{};if(he(Ht,"quoteStyle")&&Ht.quoteStyle!=="single"&&Ht.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(he(Ht,"maxStringLength")&&(typeof Ht.maxStringLength=="number"?Ht.maxStringLength<0&&Ht.maxStringLength!==1/0:Ht.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var qt=!he(Ht,"customInspect")||Ht.customInspect;if(typeof qt!="boolean"&&qt!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(he(Ht,"indent")&&Ht.indent!==null&&Ht.indent!==" "&&!(parseInt(Ht.indent,10)===Ht.indent&&Ht.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(he(Ht,"numericSeparator")&&typeof Ht.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Wt=Ht.numericSeparator;if(He===void 0)return"undefined";if(He===null)return"null";if(typeof He=="boolean")return He?"true":"false";if(typeof He=="string")return U(He,Ht);if(typeof He=="number"){if(He===0)return 1/0/He>0?"0":"-0";var _t=String(He);return Wt?ae(He,_t):_t}if(typeof He=="bigint"){var Zt=String(He)+"n";return Wt?ae(He,Zt):Zt}var q=Ht.depth===void 0?5:Ht.depth;if(Gt===void 0&&(Gt=0),Gt>=q&&q>0&&typeof He=="object")return ve(He)?"[Array]":"[Object]";var Me=function(At,en){var Pn;if(At.indent===" ")Pn=" ";else{if(!(typeof At.indent=="number"&&At.indent>0))return null;Pn=T.call(Array(At.indent+1)," ")}return{base:Pn,prev:T.call(Array(en+1),Pn)}}(Ht,Gt);if(Xt===void 0)Xt=[];else if(R(Xt,He)>=0)return"[Circular]";function Ae(At,en,Pn){if(en&&(Xt=at.call(Xt)).push(en),Pn){var yi={depth:Ht.depth};return he(Ht,"quoteStyle")&&(yi.quoteStyle=Ht.quoteStyle),qe(At,yi,Gt+1,Xt)}return qe(At,Ht,Gt+1,Xt)}if(typeof He=="function"){var k=function(At){if(At.name)return At.name;var en=Y.call(P.call(At),/^function\s*([\w$]+)/);return en?en[1]:null}(He),Q=jt(He,Ae);return"[Function"+(k?": "+k:" (anonymous)")+"]"+(Q.length>0?" { "+T.call(Q,", ")+" }":"")}if(Se(He)){var ie=Ze?ge.call(String(He),/^(Symbol\(.*\))_[^)]*$/,"$1"):se.call(He);return typeof He!="object"||Ze?ie:_e(ie)}if(function(At){return!At||typeof At!="object"?!1:typeof HTMLElement!="undefined"&&At instanceof HTMLElement?!0:typeof At.nodeName=="string"&&typeof At.getAttribute=="function"}(He)){for(var ce="<"+it.call(String(He.nodeName)),Pe=He.attributes||[],je=0;je<Pe.length;je++)ce+=" "+Pe[je].name+"="+H(z(Pe[je].value),"double",Ht);return ce+=">",He.childNodes&&He.childNodes.length&&(ce+="..."),ce+="</"+it.call(String(He.nodeName))+">"}if(ve(He)){if(He.length===0)return"[]";var lt=jt(He,Ae);return Me&&!function(At){for(var en=0;en<At.length;en++)if(R(At[en],`
5
5
  `)>=0)return!1;return!0}(lt)?"["+mt(lt,Me)+"]":"[ "+T.call(lt,", ")+" ]"}if(function(At){return!(De(At)!=="[object Error]"||Fe&&typeof At=="object"&&Fe in At)}(He)){var gt=jt(He,Ae);return"cause"in He&&!dt.call(He,"cause")?"{ ["+String(He)+"] "+T.call(Re.call("[cause]: "+Ae(He.cause),gt),", ")+" }":gt.length===0?"["+String(He)+"]":"{ ["+String(He)+"] "+T.call(gt,", ")+" }"}if(typeof He=="object"&&qt){if(D&&typeof He[D]=="function")return He[D]();if(qt!=="symbol"&&typeof He.inspect=="function")return He.inspect()}if(function(At){if(!m||!At||typeof At!="object")return!1;try{m.call(At);try{g.call(At)}catch(en){return!0}return At instanceof Map}catch(en){}return!1}(He)){var pt=[];return v.call(He,function(At,en){pt.push(Ae(en,He,!0)+" => "+Ae(At,He))}),Ie("Map",m.call(He),pt,Me)}if(function(At){if(!g||!At||typeof At!="object")return!1;try{g.call(At);try{m.call(At)}catch(en){return!0}return At instanceof Set}catch(en){}return!1}(He)){var xe=[];return _.call(He,function(At){xe.push(Ae(At,He))}),Ie("Set",g.call(He),xe,Me)}if(function(At){if(!w||!At||typeof At!="object")return!1;try{w.call(At,w);try{O.call(At,O)}catch(en){return!0}return At instanceof WeakMap}catch(en){}return!1}(He))return Ve("WeakMap");if(function(At){if(!O||!At||typeof At!="object")return!1;try{O.call(At,O);try{w.call(At,w)}catch(en){return!0}return At instanceof WeakSet}catch(en){}return!1}(He))return Ve("WeakSet");if(function(At){if(!x||!At||typeof At!="object")return!1;try{return x.call(At),!0}catch(en){}return!1}(He))return Ve("WeakRef");if(function(At){return!(De(At)!=="[object Number]"||Fe&&typeof At=="object"&&Fe in At)}(He))return _e(Ae(Number(He)));if(function(At){if(!At||typeof At!="object"||!Le)return!1;try{return Le.call(At),!0}catch(en){}return!1}(He))return _e(Ae(Le.call(He)));if(function(At){return!(De(At)!=="[object Boolean]"||Fe&&typeof At=="object"&&Fe in At)}(He))return _e(F.call(He));if(function(At){return!(De(At)!=="[object String]"||Fe&&typeof At=="object"&&Fe in At)}(He))return _e(Ae(String(He)));if(!function(At){return!(De(At)!=="[object Date]"||Fe&&typeof At=="object"&&Fe in At)}(He)&&!function(At){return!(De(At)!=="[object RegExp]"||Fe&&typeof At=="object"&&Fe in At)}(He)){var Dt=jt(He,Ae),oi=$e?$e(He)===Object.prototype:He instanceof Object||He.constructor===Object,Kn=He instanceof Object?"":"null prototype",li=!oi&&Fe&&Object(He)===He&&Fe in He?me.call(De(He),8,-1):Kn?"Object":"",hn=(oi||typeof He.constructor!="function"?"":He.constructor.name?He.constructor.name+" ":"")+(li||Kn?"["+T.call(Re.call([],li||[],Kn||[]),": ")+"] ":"");return Dt.length===0?hn+"{}":Me?hn+"{"+mt(Dt,Me)+"}":hn+"{ "+T.call(Dt,", ")+" }"}return String(He)};var pe=Object.prototype.hasOwnProperty||function(qe){return qe in this};function he(qe,He){return pe.call(qe,He)}function De(qe){return G.call(qe)}function R(qe,He){if(qe.indexOf)return qe.indexOf(He);for(var It=0,Gt=qe.length;It<Gt;It++)if(qe[It]===He)return It;return-1}function U(qe,He){if(qe.length>He.maxStringLength){var It=qe.length-He.maxStringLength,Gt="... "+It+" more character"+(It>1?"s":"");return U(me.call(qe,0,He.maxStringLength),He)+Gt}return H(ge.call(ge.call(qe,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Z),"single",He)}function Z(qe){var He=qe.charCodeAt(0),It={8:"b",9:"t",10:"n",12:"f",13:"r"}[He];return It?"\\"+It:"\\x"+(He<16?"0":"")+Be.call(He.toString(16))}function _e(qe){return"Object("+qe+")"}function Ve(qe){return qe+" { ? }"}function Ie(qe,He,It,Gt){return qe+" ("+He+") {"+(Gt?mt(It,Gt):T.call(It,", "))+"}"}function mt(qe,He){if(qe.length===0)return"";var It=`
6
6
  `+He.prev+He.base;return It+T.call(qe,","+It)+`
7
7
  `+He.prev}function jt(qe,He){var It=ve(qe),Gt=[];if(It){Gt.length=qe.length;for(var Xt=0;Xt<qe.length;Xt++)Gt[Xt]=he(qe,Xt)?He(qe[Xt],qe):""}var Ht,qt=typeof Xe=="function"?Xe(qe):[];if(Ze){Ht={};for(var Wt=0;Wt<qt.length;Wt++)Ht["$"+qt[Wt]]=qt[Wt]}for(var _t in qe)he(qe,_t)&&(It&&String(Number(_t))===_t&&_t<qe.length||Ze&&Ht["$"+_t]instanceof Symbol||(be.call(/[^\w$]/,_t)?Gt.push(He(_t,qe)+": "+He(qe[_t],qe)):Gt.push(_t+": "+He(qe[_t],qe))));if(typeof Xe=="function")for(var Zt=0;Zt<qt.length;Zt++)dt.call(qe,qt[Zt])&&Gt.push("["+He(qt[Zt])+"]: "+He(qe[qt[Zt]],qe));return Gt}},6164:(E,u,o)=>{"use strict";var l;if(!Object.keys){var y=Object.prototype.hasOwnProperty,m=Object.prototype.toString,v=o(5184),j=Object.prototype.propertyIsEnumerable,p=!j.call({toString:null},"toString"),g=j.call(function(){},"prototype"),_=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],w=function(F){var G=F.constructor;return G&&G.prototype===F},O={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},x=function(){if(typeof window=="undefined")return!1;for(var F in window)try{if(!O["$"+F]&&y.call(window,F)&&window[F]!==null&&typeof window[F]=="object")try{w(window[F])}catch(G){return!0}}catch(G){return!0}return!1}();l=function(F){var G=F!==null&&typeof F=="object",P=m.call(F)==="[object Function]",Y=v(F),me=G&&m.call(F)==="[object String]",ge=[];if(!G&&!P&&!Y)throw new TypeError("Object.keys called on a non-object");var Be=g&&P;if(me&&F.length>0&&!y.call(F,0))for(var it=0;it<F.length;++it)ge.push(String(it));if(Y&&F.length>0)for(var be=0;be<F.length;++be)ge.push(String(be));else for(var Re in F)Be&&Re==="prototype"||!y.call(F,Re)||ge.push(String(Re));if(p)for(var T=function(Ee){if(typeof window=="undefined"||!x)return w(Ee);try{return w(Ee)}catch(Le){return!1}}(F),at=0;at<_.length;++at)T&&_[at]==="constructor"||!y.call(F,_[at])||ge.push(_[at]);return ge}}E.exports=l},3818:(E,u,o)=>{"use strict";var l=Array.prototype.slice,y=o(5184),m=Object.keys,v=m?function(p){return m(p)}:o(6164),j=Object.keys;v.shim=function(){if(Object.keys){var p=function(){var g=Object.keys(arguments);return g&&g.length===arguments.length}(1,2);p||(Object.keys=function(g){return y(g)?j(l.call(g)):j(g)})}else Object.keys=v;return Object.keys||v},E.exports=v},5184:E=>{"use strict";var u=Object.prototype.toString;E.exports=function(o){var l=u.call(o),y=l==="[object Arguments]";return y||(y=l!=="[object Array]"&&o!==null&&typeof o=="object"&&typeof o.length=="number"&&o.length>=0&&u.call(o.callee)==="[object Function]"),y}},9747:(E,u,o)=>{"use strict";o(1e3)()},216:(E,u,o)=>{"use strict";o(8158)();var l=o(4663),y=o(8737),m=o(4787),v=o(7037),j=o(6893),p=o(3862),g=p(j("%Promise.all%")),_=p(j("%Promise.reject%"));E.exports=function(w){var O=this;if(y(O)!=="Object")throw new TypeError("`this` value must be an object");var x=m(w);return g(O,v(x,function(F){var G=l(O,F);try{return G.then(function(P){return{status:"fulfilled",value:P}},function(P){return{status:"rejected",reason:P}})}catch(P){return _(O,P)}}))}},7384:(E,u,o)=>{"use strict";var l=o(8158),y=o(216);E.exports=function(){return l(),typeof Promise.allSettled=="function"?Promise.allSettled:y}},8158:E=>{"use strict";E.exports=function(){if(typeof Promise!="function")throw new TypeError("`Promise.allSettled` requires a global `Promise` be available.")}},1e3:(E,u,o)=>{"use strict";var l=o(8158),y=o(7384),m=o(7921);E.exports=function(){l();var v=y();return m(Promise,{allSettled:v},{allSettled:function(){return Promise.allSettled!==v}}),v}},2231:(E,u,o)=>{"use strict";o.r(u),o.d(u,{decode:()=>Y,default:()=>it,encode:()=>me,toASCII:()=>Be,toUnicode:()=>ge,ucs2decode:()=>x,ucs2encode:()=>F});const l=2147483647,y=36,m=/^xn--/,v=/[^\0-\x7E]/,j=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},g=Math.floor,_=String.fromCharCode;function w(be){throw new RangeError(p[be])}function O(be,Re){const T=be.split("@");let at="";T.length>1&&(at=T[0]+"@",be=T[1]);const Ee=function(Le,Xe){const se=[];let Ze=Le.length;for(;Ze--;)se[Ze]=Xe(Le[Ze]);return se}((be=be.replace(j,".")).split("."),Re).join(".");return at+Ee}function x(be){const Re=[];let T=0;const at=be.length;for(;T<at;){const Ee=be.charCodeAt(T++);if(Ee>=55296&&Ee<=56319&&T<at){const Le=be.charCodeAt(T++);(64512&Le)==56320?Re.push(((1023&Ee)<<10)+(1023&Le)+65536):(Re.push(Ee),T--)}else Re.push(Ee)}return Re}const F=be=>String.fromCodePoint(...be),G=function(be,Re){return be+22+75*(be<26)-((Re!=0)<<5)},P=function(be,Re,T){let at=0;for(be=T?g(be/700):be>>1,be+=g(be/Re);be>455;at+=y)be=g(be/35);return g(at+36*be/(be+38))},Y=function(be){const Re=[],T=be.length;let at=0,Ee=128,Le=72,Xe=be.lastIndexOf("-");Xe<0&&(Xe=0);for(let Ze=0;Ze<Xe;++Ze)be.charCodeAt(Ze)>=128&&w("not-basic"),Re.push(be.charCodeAt(Ze));for(let Ze=Xe>0?Xe+1:0;Ze<T;){let Fe=at;for(let $e=1,ae=y;;ae+=y){Ze>=T&&w("invalid-input");const f=(se=be.charCodeAt(Ze++))-48<10?se-22:se-65<26?se-65:se-97<26?se-97:y;(f>=y||f>g((l-at)/$e))&&w("overflow"),at+=f*$e;const D=ae<=Le?1:ae>=Le+26?26:ae-Le;if(f<D)break;const H=y-D;$e>g(l/H)&&w("overflow"),$e*=H}const dt=Re.length+1;Le=P(at-Fe,dt,Fe==0),g(at/dt)>l-Ee&&w("overflow"),Ee+=g(at/dt),at%=dt,Re.splice(at++,0,Ee)}var se;return String.fromCodePoint(...Re)},me=function(be){const Re=[];let T=(be=x(be)).length,at=128,Ee=0,Le=72;for(const Ze of be)Ze<128&&Re.push(_(Ze));let Xe=Re.length,se=Xe;for(Xe&&Re.push("-");se<T;){let Ze=l;for(const dt of be)dt>=at&&dt<Ze&&(Ze=dt);const Fe=se+1;Ze-at>g((l-Ee)/Fe)&&w("overflow"),Ee+=(Ze-at)*Fe,at=Ze;for(const dt of be)if(dt<at&&++Ee>l&&w("overflow"),dt==at){let $e=Ee;for(let ae=y;;ae+=y){const f=ae<=Le?1:ae>=Le+26?26:ae-Le;if($e<f)break;const D=$e-f,H=y-f;Re.push(_(G(f+D%H,0))),$e=g(D/H)}Re.push(_(G($e,0))),Le=P(Ee,Fe,se==Xe),Ee=0,++se}++Ee,++at}return Re.join("")},ge=function(be){return O(be,function(Re){return m.test(Re)?Y(Re.slice(4).toLowerCase()):Re})},Be=function(be){return O(be,function(Re){return v.test(Re)?"xn--"+me(Re):Re})},it={version:"2.1.0",ucs2:{decode:x,encode:F},decode:Y,encode:me,toASCII:Be,toUnicode:ge}},203:(E,u,o)=>{"use strict";o.d(u,{Z:()=>y});var l=o(9925);const y=l.TurboModuleRegistry.get("RNPerformanceManager")},5280:(E,u,o)=>{"use strict";o.r(u),o.d(u,{PerformanceObserver:()=>Be,default:()=>T,setResourceLoggingEnabled:()=>at});var l=o(9925);function y(Ee,Le,Xe){return Le in Ee?Object.defineProperty(Ee,Le,{value:Xe,enumerable:!0,configurable:!0,writable:!0}):Ee[Le]=Xe,Ee}class m{constructor(Le){y(this,"entries",void 0),this.entries=Le}getEntries(){return this.entries.slice(0)}getEntriesByType(Le){return this.entries.filter(Xe=>Xe.entryType===Le)}getEntriesByName(Le,Xe){return this.entries.filter(se=>se.name===Le&&(!Xe||se.entryType===Xe))}}const v=["mark","measure","metric","react-native-mark","resource"],j=(Ee,Le)=>Ee.startTime-Le.startTime,p="single",g="multiple",_=Ee=>{var Le,Xe;let{addEventListener:se,removeEventListener:Ze,getEntriesByType:Fe}=Ee;return Xe=Le=class{constructor(dt){y(this,"callback",void 0),y(this,"buffer",void 0),y(this,"entryTypes",void 0),y(this,"timer",void 0),y(this,"observerType",void 0),y(this,"emitRecords",()=>{this.callback(new m(this.takeRecords()),this)}),y(this,"receiveRecord",$e=>{this.entryTypes.has($e.entryType)&&(this.buffer.push($e),this.scheduleEmission())}),this.callback=dt,this.buffer=[],this.timer=null,this.entryTypes=new Set,this.observerType=null}scheduleEmission(){this.timer===null&&(this.timer=requestAnimationFrame(()=>{this.timer=null,this.emitRecords()}))}observe(dt){if(!dt||!dt.entryTypes&&!dt.type)throw new TypeError("Failed to execute 'observe' on 'PerformanceObserver': An observe() call must include either entryTypes or type arguments.");if(dt.entryTypes&&dt.type)throw new TypeError("Failed to execute 'observe' on 'PerformanceObserver': An observe() call must not include both entryTypes and type arguments.");if(dt.entryTypes){if(this.observerType===p)throw new Error("This PerformanceObserver has performed observe({type:...}, therefore it cannot perform observe({entryTypes:...})");if(!Array.isArray(dt.entryTypes))throw new TypeError("entryTypes argument must be an array");this.observerType=g,this.entryTypes=new Set(dt.entryTypes),this.buffer=[],dt.buffered}else{if(this.observerType===g)throw new Error("This PerformanceObserver has performed observe({entryTypes:...}, therefore it cannot perform observe({type:...})");this.observerType=p,this.entryTypes.add(dt.type),dt.buffered&&(this.buffer=Fe(dt.type),this.scheduleEmission())}this.entryTypes.forEach($e=>{v.includes($e)}),se(this.receiveRecord)}disconnect(){Ze(this.receiveRecord),this.entryTypes=new Set,this.observerType=null,this.buffer=[],this.timer!==null&&(cancelAnimationFrame(this.timer),this.timer=null)}takeRecords(){const dt=this.buffer.sort(j);return this.buffer=[],dt}},y(Le,"supportedEntryTypes",v),Xe};function w(Ee,Le,Xe){return Le in Ee?Object.defineProperty(Ee,Le,{value:Xe,enumerable:!0,configurable:!0,writable:!0}):Ee[Le]=Xe,Ee}class O{constructor(Le,Xe,se,Ze){w(this,"name",void 0),w(this,"entryType",void 0),w(this,"startTime",void 0),w(this,"duration",void 0),this.name=Le,this.entryType=Xe,this.startTime=se,this.duration=Ze}toJSON(){return{name:this.name,entryType:this.entryType,startTime:this.startTime,duration:this.duration}}}class x extends O{constructor(Le){let Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(Le,"mark",Xe.startTime,0),w(this,"detail",void 0),this.detail=Xe.detail}toJSON(){return{name:this.name,entryType:this.entryType,startTime:this.startTime,duration:this.duration,detail:this.detail}}}class F extends O{constructor(Le,Xe){super(Le,"react-native-mark",Xe,0)}}class G extends O{constructor(Le,Xe){super(Le,"metric",Xe.startTime,0),w(this,"value",void 0),w(this,"detail",void 0),this.value=Xe.value,this.detail=Xe.detail}toJSON(){return{name:this.name,entryType:this.entryType,startTime:this.startTime,duration:this.duration,detail:this.detail,value:this.value}}}class P extends O{constructor(Le){let Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(Le,"measure",Xe.startTime,Xe.duration),w(this,"detail",void 0),this.detail=Xe.detail}toJSON(){return{name:this.name,entryType:this.entryType,startTime:this.startTime,duration:this.duration,detail:this.detail}}}class Y extends O{constructor(){let{name:Le,startTime:Xe,duration:se,initiatorType:Ze,responseEnd:Fe,transferSize:dt}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};super(Le,"resource",Xe,se),w(this,"initiatorType",void 0),w(this,"responseEnd",void 0),w(this,"fetchStart",void 0),w(this,"transferSize",void 0),w(this,"connectEnd",void 0),w(this,"connectStart",void 0),w(this,"decodedBodySize",void 0),w(this,"domainLookupEnd",void 0),w(this,"domainLookupStart",void 0),w(this,"encodedBodySize",void 0),w(this,"redirectEnd",void 0),w(this,"redirectStart",void 0),w(this,"requestStart",void 0),w(this,"responseStart",void 0),w(this,"secureConnectionStart",void 0),w(this,"serverTiming",void 0),w(this,"workerStart",void 0),w(this,"workerTiming",void 0),this.initiatorType=Ze,this.fetchStart=Xe,this.responseEnd=Fe,this.transferSize=dt,this.connectEnd=0,this.connectStart=0,this.decodedBodySize=0,this.domainLookupEnd=0,this.domainLookupStart=0,this.encodedBodySize=0,this.redirectEnd=0,this.redirectStart=0,this.requestStart=0,this.responseStart=0,this.secureConnectionStart=0,this.serverTiming=[],this.transferSize=0,this.workerStart=0,this.workerTiming=[]}toJSON(){return{name:this.name,entryType:this.entryType,startTime:this.startTime,duration:this.duration,initiatorType:this.initiatorType,fetchStart:this.fetchStart,responseEnd:this.responseEnd,transferSize:this.transferSize,connectEnd:this.connectEnd,connectStart:this.connectStart,decodedBodySize:this.decodedBodySize,domainLookupEnd:this.domainLookupEnd,domainLookupStart:this.domainLookupStart,encodedBodySize:this.encodedBodySize,redirectEnd:this.redirectEnd,redirectStart:this.redirectStart,requestStart:this.requestStart,responseStart:this.responseStart,secureConnectionStart:this.secureConnectionStart,serverTiming:this.serverTiming,workerStart:this.workerStart,workerTiming:this.workerTiming}}}const me=()=>o.g.performance.now(),ge=(Ee,Le,Xe)=>{if(Ee.XMLHttpRequest&&!Ee.XMLHttpRequest.performanceOriginal){class se extends Ee.XMLHttpRequest{constructor(){super(...arguments),this.performanceStartTime=null,super.onreadystatechange=()=>{if(this.readyState===this.DONE&&this.responseURL&&this.responseHeaders){const Fe=Le.now(),dt=Object.entries(this.responseHeaders).find($e=>{let[ae]=$e;return ae.toLowerCase()==="content-length"});Xe(new Y({name:this.responseURL,startTime:this.performanceStartTime,duration:Fe-this.performanceStartTime,initiatorType:"xmlhttprequest",responseEnd:Fe,transferSize:dt?parseInt(dt[1]):0}))}}}open(){this.performanceStartTime=Le.now(),super.open(...arguments)}}se.performanceOriginal=Ee.XMLHttpRequest,Ee.XMLHttpRequest=se}},{PerformanceObserver:Be,addEntry:it,performance:be}=function(){let Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:me;const Le=Ee(),{addEventListener:Xe,removeEventListener:se,emit:Ze}=(()=>{const H=new Set;return{addEventListener:z=>{H.add(z)},removeEventListener:z=>{H.delete(z)},emit:z=>{H.forEach(ve=>{ve(z)})}}})(),Fe=new Map;let dt=[];function $e(H){return dt.push(H),H.entryType!=="mark"&&H.entryType!=="react-native-mark"||Fe.set(H.name,H.startTime),Ze(H),H}const ae=(H,z)=>{dt=dt.filter(ve=>!!(ve.entryType!==H||z&&ve.name!==z)||(Fe.delete(ve.name),!1))},f=H=>{switch(typeof H){case"string":if(!Fe.has(H))throw new Error(`Failed to execute 'measure' on 'Performance': The mark '${H}' does not exist.`);return Fe.get(H);case"number":return H;default:throw new TypeError(`Failed to execute 'measure' on 'Performance': Expected mark name or timestamp, got '${H}'.`)}};function D(H){return dt.filter(z=>z.entryType===H)}return{PerformanceObserver:_({addEventListener:Xe,removeEventListener:se,getEntriesByType:D}),addEntry:$e,performance:{timeOrigin:Le,now:Ee,mark:function(H){let z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return $e(new x(H,{startTime:"startTime"in z&&z.startTime!==void 0?z.startTime:Ee(),detail:z.detail}))},clearMarks:H=>ae("mark",H),measure:(H,z,ve)=>{let Se,pe=0,he=0;if(z&&typeof z=="object"&&z.constructor==Object){if(ve)throw new TypeError("Failed to execute 'measure' on 'Performance': The measureOptions and endMark arguments may not be combined.");if(!z.start&&!z.end)throw new TypeError("Failed to execute 'measure' on 'Performance': At least one of the start and end option must be passed.");if(z.start&&z.end&&z.duration)throw new TypeError("Failed to execute 'measure' on 'Performance': Cannot send start, end and duration options together.");Se=z.detail,he=z&&z.end?f(z.end):z&&z.start&&z.duration?f(z.start)+f(z.duration):Ee(),pe=z&&z.start?f(z.start):z&&z.end&&z.duration?f(z.end)-f(z.duration):Le}else he=ve?f(ve):Ee(),pe=typeof z=="string"?f(z):Le;return $e(new P(H,{detail:Se,startTime:pe,duration:he-pe}))},clearMeasures:H=>ae("measure",H),metric:(H,z)=>{let ve,Se,pe;if(typeof z=="object"&&z.constructor==Object){if(!z.value)throw new TypeError("Failed to execute 'metric' on 'Performance': The value option must be passed.");ve=z.value,Se=z.startTime,pe=z.detail}else{if(z==null)throw new TypeError("Failed to execute 'metric' on 'Performance': The value option must be passed.");ve=z}return $e(new G(H,{startTime:Se||Ee(),value:ve,detail:pe}))},clearMetrics:H=>ae("metric",H),getEntries:()=>dt.slice(0),getEntriesByName:(H,z)=>dt.filter(ve=>ve.name===H&&(!z||ve.entryType===z)),getEntriesByType:D}}}(),Re=o.g.__turboModuleProxy!=null?o(203).Z:l.NativeModules.RNPerformanceManager;if(l.Platform.OS==="android"||Re){const Ee=new l.NativeEventEmitter(Re);Ee.addListener("mark",Le=>{it(new F(Le.name,Le.startTime))}),Ee.addListener("metric",Le=>{it(new G(Le.name,{startTime:Le.startTime,value:Le.value}))})}const T=be,at=function(){var Ee;!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?ge(globalThis,be,it):(Ee=globalThis).XMLHttpRequest&&Ee.XMLHttpRequest.performanceOriginal&&(Ee.XMLHttpRequest=Ee.XMLHttpRequest.performanceOriginal)}},5478:(E,u,o)=>{"use strict";o.d(u,{J:()=>j});var l=o(9925),y=o(7091);let m=null;const{BlobModule:v}=l.NativeModules;v&&typeof v.BLOB_URI_SCHEME=="string"&&(m=v.BLOB_URI_SCHEME+":",typeof v.BLOB_URI_HOST=="string"&&(m+=`//${v.BLOB_URI_HOST}/`)),y.Jx.createObjectURL=function(p){if(m===null)throw new Error("Cannot create URL for blob!");return`${m}${p.data.blobId}?offset=${p.data.offset}&size=${p.size}`},y.Jx.revokeObjectURL=function(p){};const j=y.Jx},7343:(E,u,o)=>{"use strict";o.d(u,{_:()=>l._c});var l=o(7091)},5196:(E,u,o)=>{"use strict";const l=o(7146);function y(m,v,j){const p=Object.getOwnPropertyDescriptor(m,v);if(__DEV__&&p){const O=`original${v[0].toUpperCase()}${v.substr(1)}`;Object.defineProperty(m,O,p)}const{enumerable:g,writable:_,configurable:w=!1}=p||{};p&&!w||l(m,v,{get:j,enumerable:g!==!1,writable:_!==!1})}E.exports={polyfillObjectProperty:y,polyfillGlobal:function(m,v){y(o.g,m,v)}}},7146:E=>{"use strict";E.exports=function(u,o,l){const{get:y}=l,m=l.enumerable!==!1,v=l.writable!==!1;let j,p=!1;function g(_){j=_,p=!0,Object.defineProperty(u,o,{value:_,configurable:!0,enumerable:m,writable:v})}Object.defineProperty(u,o,{get:function(){return p||(p=!0,g(y())),j},set:g,configurable:!0,enumerable:m})}},7091:(E,u,o)=>{"use strict";const{URL:l,URLSearchParams:y}=o(62),m=o(5272),v=o(8634),j={};l.install(j),y.install(j),u.Jx=j.URL,u._c=j.URLSearchParams,m.parseURL,m.basicURLParse,m.serializeURL,m.serializeHost,m.serializeInteger,m.serializeURLOrigin,m.setTheUsername,m.setThePassword,m.cannotHaveAUsernamePasswordPort,v.percentDecode},8024:(E,u,o)=>{"use strict";const l=o(5272),y=o(8634),m=o(1209);u.implementation=class{constructor(v,j){const p=j[0],g=j[1];let _=null;if(g!==void 0&&(_=l.basicURLParse(g),_===null))throw new TypeError(`Invalid base URL: ${g}`);const w=l.basicURLParse(p,{baseURL:_});if(w===null)throw new TypeError(`Invalid URL: ${p}`);const O=w.query!==null?w.query:"";this._url=w,this._query=m.createImpl(v,[O],{doNotStripQMark:!0}),this._query._url=this}get href(){return l.serializeURL(this._url)}set href(v){const j=l.basicURLParse(v);if(j===null)throw new TypeError(`Invalid URL: ${v}`);this._url=j,this._query._list.splice(0);const{query:p}=j;p!==null&&(this._query._list=y.parseUrlencoded(p))}get origin(){return l.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(v){l.basicURLParse(v+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(v){l.cannotHaveAUsernamePasswordPort(this._url)||l.setTheUsername(this._url,v)}get password(){return this._url.password}set password(v){l.cannotHaveAUsernamePasswordPort(this._url)||l.setThePassword(this._url,v)}get host(){const v=this._url;return v.host===null?"":v.port===null?l.serializeHost(v.host):l.serializeHost(v.host)+":"+l.serializeInteger(v.port)}set host(v){this._url.cannotBeABaseURL||l.basicURLParse(v,{url:this._url,stateOverride:"host"})}get hostname(){return this._url.host===null?"":l.serializeHost(this._url.host)}set hostname(v){this._url.cannotBeABaseURL||l.basicURLParse(v,{url:this._url,stateOverride:"hostname"})}get port(){return this._url.port===null?"":l.serializeInteger(this._url.port)}set port(v){l.cannotHaveAUsernamePasswordPort(this._url)||(v===""?this._url.port=null:l.basicURLParse(v,{url:this._url,stateOverride:"port"}))}get pathname(){return this._url.cannotBeABaseURL?this._url.path[0]:this._url.path.length===0?"":"/"+this._url.path.join("/")}set pathname(v){this._url.cannotBeABaseURL||(this._url.path=[],l.basicURLParse(v,{url:this._url,stateOverride:"path start"}))}get search(){return this._url.query===null||this._url.query===""?"":"?"+this._url.query}set search(v){const j=this._url;if(v==="")return j.query=null,void(this._query._list=[]);const p=v[0]==="?"?v.substring(1):v;j.query="",l.basicURLParse(p,{url:j,stateOverride:"query"}),this._query._list=y.parseUrlencoded(p)}get searchParams(){return this._query}get hash(){return this._url.fragment===null||this._url.fragment===""?"":"#"+this._url.fragment}set hash(v){if(v==="")return void(this._url.fragment=null);const j=v[0]==="#"?v.substring(1):v;this._url.fragment="",l.basicURLParse(j,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}}},4485:(E,u,o)=>{"use strict";const l=o(143),y=o(7233),m=y.implSymbol,v=y.ctorRegistrySymbol,j={_mixedIntoPredicates:[],is(g){if(g){if(y.hasOwn(g,m)&&g[m]instanceof p.implementation)return!0;for(const _ of E.exports._mixedIntoPredicates)if(_(g))return!0}return!1},isImpl(g){if(g){if(g instanceof p.implementation)return!0;const _=y.wrapperForImpl(g);for(const w of E.exports._mixedIntoPredicates)if(w(_))return!0}return!1},convert(g,{context:_="The provided value"}={}){if(E.exports.is(g))return y.implForWrapper(g);throw new TypeError(`${_} is not of type 'URL'.`)},create(g,_,w){if(g[v]===void 0)throw new Error("Internal error: invalid global object");const O=g[v].URL;if(O===void 0)throw new Error("Internal error: constructor URL is not installed on the passed global object");let x=Object.create(O.prototype);return x=j.setup(x,g,_,w),x},createImpl(g,_,w){const O=j.create(g,_,w);return y.implForWrapper(O)},_internalSetup(g){},setup:(g,_,w=[],O={})=>(O.wrapper=g,j._internalSetup(g),Object.defineProperty(g,m,{value:new p.implementation(_,w,O),configurable:!0}),g[m][y.wrapperSymbol]=g,p.init&&p.init(g[m],O),g),install(g){class _{constructor(O){if(arguments.length<1)throw new TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.");const x=[];{let F=arguments[0];F=l.USVString(F,{context:"Failed to construct 'URL': parameter 1"}),x.push(F)}{let F=arguments[1];F!==void 0&&(F=l.USVString(F,{context:"Failed to construct 'URL': parameter 2"})),x.push(F)}return j.setup(Object.create(this.constructor.prototype),g,x)}toJSON(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return this[m].toJSON()}get href(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return this[m].href}set href(O){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");O=l.USVString(O,{context:"Failed to set the 'href' property on 'URL': The provided value"}),this[m].href=O}toString(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return this[m].href}get origin(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return this[m].origin}get protocol(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return this[m].protocol}set protocol(O){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");O=l.USVString(O,{context:"Failed to set the 'protocol' property on 'URL': The provided value"}),this[m].protocol=O}get username(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return this[m].username}set username(O){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");O=l.USVString(O,{context:"Failed to set the 'username' property on 'URL': The provided value"}),this[m].username=O}get password(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return this[m].password}set password(O){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");O=l.USVString(O,{context:"Failed to set the 'password' property on 'URL': The provided value"}),this[m].password=O}get host(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return this[m].host}set host(O){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");O=l.USVString(O,{context:"Failed to set the 'host' property on 'URL': The provided value"}),this[m].host=O}get hostname(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return this[m].hostname}set hostname(O){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");O=l.USVString(O,{context:"Failed to set the 'hostname' property on 'URL': The provided value"}),this[m].hostname=O}get port(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return this[m].port}set port(O){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");O=l.USVString(O,{context:"Failed to set the 'port' property on 'URL': The provided value"}),this[m].port=O}get pathname(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return this[m].pathname}set pathname(O){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");O=l.USVString(O,{context:"Failed to set the 'pathname' property on 'URL': The provided value"}),this[m].pathname=O}get search(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return this[m].search}set search(O){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");O=l.USVString(O,{context:"Failed to set the 'search' property on 'URL': The provided value"}),this[m].search=O}get searchParams(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return y.getSameObject(this,"searchParams",()=>y.tryWrapperForImpl(this[m].searchParams))}get hash(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return this[m].hash}set hash(O){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");O=l.USVString(O,{context:"Failed to set the 'hash' property on 'URL': The provided value"}),this[m].hash=O}}Object.defineProperties(_.prototype,{toJSON:{enumerable:!0},href:{enumerable:!0},toString:{enumerable:!0},origin:{enumerable:!0},protocol:{enumerable:!0},username:{enumerable:!0},password:{enumerable:!0},host:{enumerable:!0},hostname:{enumerable:!0},port:{enumerable:!0},pathname:{enumerable:!0},search:{enumerable:!0},searchParams:{enumerable:!0},hash:{enumerable:!0},[Symbol.toStringTag]:{value:"URL",configurable:!0}}),g[v]===void 0&&(g[v]=Object.create(null)),g[v].URL=_,Object.defineProperty(g,"URL",{configurable:!0,writable:!0,value:_})}};E.exports=j;const p=o(8024)},6897:(E,u,o)=>{"use strict";const l=o(8634);u.implementation=class{constructor(y,m,{doNotStripQMark:v=!1}){let j=m[0];if(this._list=[],this._url=null,v||typeof j!="string"||j[0]!=="?"||(j=j.slice(1)),Array.isArray(j))for(const p of j){if(p.length!==2)throw new TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence's element does not contain exactly two elements.");this._list.push([p[0],p[1]])}else if(typeof j=="object"&&Object.getPrototypeOf(j)===null)for(const p of Object.keys(j)){const g=j[p];this._list.push([p,g])}else this._list=l.parseUrlencoded(j)}_updateSteps(){if(this._url!==null){let y=l.serializeUrlencoded(this._list);y===""&&(y=null),this._url._url.query=y}}append(y,m){this._list.push([y,m]),this._updateSteps()}delete(y){let m=0;for(;m<this._list.length;)this._list[m][0]===y?this._list.splice(m,1):m++;this._updateSteps()}get(y){for(const m of this._list)if(m[0]===y)return m[1];return null}getAll(y){const m=[];for(const v of this._list)v[0]===y&&m.push(v[1]);return m}has(y){for(const m of this._list)if(m[0]===y)return!0;return!1}set(y,m){let v=!1,j=0;for(;j<this._list.length;)this._list[j][0]===y?v?this._list.splice(j,1):(v=!0,this._list[j][1]=m,j++):j++;v||this._list.push([y,m]),this._updateSteps()}sort(){var y,m;this._list=(y=this._list,m=(v,j)=>v[0]>j[0],y.map((v,j)=>({item:v,index:j})).sort((v,j)=>m(v.item,j.item)||v.index-j.index).map(({item:v})=>v)),this._updateSteps()}[Symbol.iterator](){return this._list[Symbol.iterator]()}toString(){return l.serializeUrlencoded(this._list)}}},1209:(E,u,o)=>{"use strict";const l=o(143),y=o(7233),m=y.implSymbol,v=y.ctorRegistrySymbol,j=Object.create(y.IteratorPrototype,{next:{value:function(){const _=this[y.iterInternalSymbol],{target:w,kind:O,index:x}=_,F=Array.from(w[m]);if(x>=F.length)return{value:void 0,done:!0};const G=F[x];_.index=x+1;const[P,Y]=G.map(y.tryWrapperForImpl);let me;switch(O){case"key":me=P;break;case"value":me=Y;break;case"key+value":me=[P,Y]}return{value:me,done:!1}},writable:!0,enumerable:!0,configurable:!0},[Symbol.toStringTag]:{value:"URLSearchParams Iterator",configurable:!0}}),p={_mixedIntoPredicates:[],is(_){if(_){if(y.hasOwn(_,m)&&_[m]instanceof g.implementation)return!0;for(const w of E.exports._mixedIntoPredicates)if(w(_))return!0}return!1},isImpl(_){if(_){if(_ instanceof g.implementation)return!0;const w=y.wrapperForImpl(_);for(const O of E.exports._mixedIntoPredicates)if(O(w))return!0}return!1},convert(_,{context:w="The provided value"}={}){if(E.exports.is(_))return y.implForWrapper(_);throw new TypeError(`${w} is not of type 'URLSearchParams'.`)},createDefaultIterator(_,w){const O=Object.create(j);return Object.defineProperty(O,y.iterInternalSymbol,{value:{target:_,kind:w,index:0},configurable:!0}),O},create(_,w,O){if(_[v]===void 0)throw new Error("Internal error: invalid global object");const x=_[v].URLSearchParams;if(x===void 0)throw new Error("Internal error: constructor URLSearchParams is not installed on the passed global object");let F=Object.create(x.prototype);return F=p.setup(F,_,w,O),F},createImpl(_,w,O){const x=p.create(_,w,O);return y.implForWrapper(x)},_internalSetup(_){},setup:(_,w,O=[],x={})=>(x.wrapper=_,p._internalSetup(_),Object.defineProperty(_,m,{value:new g.implementation(w,O,x),configurable:!0}),_[m][y.wrapperSymbol]=_,g.init&&g.init(_[m],x),_),install(_){class w{constructor(){const x=[];{let F=arguments[0];if(F!==void 0)if(y.isObject(F))if(F[Symbol.iterator]!==void 0){if(!y.isObject(F))throw new TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence is not an iterable object.");{const G=[],P=F;for(let Y of P){if(!y.isObject(Y))throw new TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence's element is not an iterable object.");{const me=[],ge=Y;for(let Be of ge)Be=l.USVString(Be,{context:"Failed to construct 'URLSearchParams': parameter 1 sequence's element's element"}),me.push(Be);Y=me}G.push(Y)}F=G}}else{if(!y.isObject(F))throw new TypeError("Failed to construct 'URLSearchParams': parameter 1 record is not an object.");{const G=Object.create(null);for(const P of Reflect.ownKeys(F)){const Y=Object.getOwnPropertyDescriptor(F,P);if(Y&&Y.enumerable){let me=P;me=l.USVString(me,{context:"Failed to construct 'URLSearchParams': parameter 1 record's key"});let ge=F[P];ge=l.USVString(ge,{context:"Failed to construct 'URLSearchParams': parameter 1 record's value"}),G[me]=ge}}F=G}}else F=l.USVString(F,{context:"Failed to construct 'URLSearchParams': parameter 1"});else F="";x.push(F)}return p.setup(Object.create(this.constructor.prototype),_,x)}append(x,F){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");if(arguments.length<2)throw new TypeError("Failed to execute 'append' on 'URLSearchParams': 2 arguments required, but only "+arguments.length+" present.");const G=[];{let P=arguments[0];P=l.USVString(P,{context:"Failed to execute 'append' on 'URLSearchParams': parameter 1"}),G.push(P)}{let P=arguments[1];P=l.USVString(P,{context:"Failed to execute 'append' on 'URLSearchParams': parameter 2"}),G.push(P)}return this[m].append(...G)}delete(x){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");if(arguments.length<1)throw new TypeError("Failed to execute 'delete' on 'URLSearchParams': 1 argument required, but only "+arguments.length+" present.");const F=[];{let G=arguments[0];G=l.USVString(G,{context:"Failed to execute 'delete' on 'URLSearchParams': parameter 1"}),F.push(G)}return this[m].delete(...F)}get(x){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");if(arguments.length<1)throw new TypeError("Failed to execute 'get' on 'URLSearchParams': 1 argument required, but only "+arguments.length+" present.");const F=[];{let G=arguments[0];G=l.USVString(G,{context:"Failed to execute 'get' on 'URLSearchParams': parameter 1"}),F.push(G)}return this[m].get(...F)}getAll(x){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");if(arguments.length<1)throw new TypeError("Failed to execute 'getAll' on 'URLSearchParams': 1 argument required, but only "+arguments.length+" present.");const F=[];{let G=arguments[0];G=l.USVString(G,{context:"Failed to execute 'getAll' on 'URLSearchParams': parameter 1"}),F.push(G)}return y.tryWrapperForImpl(this[m].getAll(...F))}has(x){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");if(arguments.length<1)throw new TypeError("Failed to execute 'has' on 'URLSearchParams': 1 argument required, but only "+arguments.length+" present.");const F=[];{let G=arguments[0];G=l.USVString(G,{context:"Failed to execute 'has' on 'URLSearchParams': parameter 1"}),F.push(G)}return this[m].has(...F)}set(x,F){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");if(arguments.length<2)throw new TypeError("Failed to execute 'set' on 'URLSearchParams': 2 arguments required, but only "+arguments.length+" present.");const G=[];{let P=arguments[0];P=l.USVString(P,{context:"Failed to execute 'set' on 'URLSearchParams': parameter 1"}),G.push(P)}{let P=arguments[1];P=l.USVString(P,{context:"Failed to execute 'set' on 'URLSearchParams': parameter 2"}),G.push(P)}return this[m].set(...G)}sort(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return this[m].sort()}toString(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return this[m].toString()}keys(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return E.exports.createDefaultIterator(this,"key")}values(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return E.exports.createDefaultIterator(this,"value")}entries(){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");return E.exports.createDefaultIterator(this,"key+value")}forEach(x){if(!this||!E.exports.is(this))throw new TypeError("Illegal invocation");if(arguments.length<1)throw new TypeError("Failed to execute 'forEach' on 'iterable': 1 argument required, but only 0 present.");if(typeof x!="function")throw new TypeError("Failed to execute 'forEach' on 'iterable': The callback provided as parameter 1 is not a function.");const F=arguments[1];let G=Array.from(this[m]),P=0;for(;P<G.length;){const[Y,me]=G[P].map(y.tryWrapperForImpl);x.call(F,me,Y,this),G=Array.from(this[m]),P++}}}Object.defineProperties(w.prototype,{append:{enumerable:!0},delete:{enumerable:!0},get:{enumerable:!0},getAll:{enumerable:!0},has:{enumerable:!0},set:{enumerable:!0},sort:{enumerable:!0},toString:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0},forEach:{enumerable:!0},[Symbol.toStringTag]:{value:"URLSearchParams",configurable:!0},[Symbol.iterator]:{value:w.prototype.entries,configurable:!0,writable:!0}}),_[v]===void 0&&(_[v]=Object.create(null)),_[v].URLSearchParams=w,Object.defineProperty(_,"URLSearchParams",{configurable:!0,writable:!0,value:w})}};E.exports=p;const g=o(6897)},3291:E=>{"use strict";function u(l){return l>=48&&l<=57}function o(l){return l>=65&&l<=90||l>=97&&l<=122}E.exports={isASCIIDigit:u,isASCIIAlpha:o,isASCIIAlphanumeric:function(l){return o(l)||u(l)},isASCIIHex:function(l){return u(l)||l>=65&&l<=70||l>=97&&l<=102}}},5272:(E,u,o)=>{"use strict";const{Buffer:l}=o(3546),y=o(2231),m=o(3291),{percentEncode:v,percentDecode:j}=o(8634),p={ftp:21,file:null,http:80,https:443,ws:80,wss:443},g=Symbol("failure");function _(ae){return y.ucs2.decode(ae).length}function w(ae,f){const D=ae[f];return isNaN(D)?void 0:String.fromCodePoint(D)}function O(ae){return ae==="."||ae.toLowerCase()==="%2e"}function x(ae){return ae.length===2&&m.isASCIIAlpha(ae.codePointAt(0))&&(ae[1]===":"||ae[1]==="|")}function F(ae){return p[ae]!==void 0}function G(ae){return F(ae.scheme)}function P(ae){return!F(ae.scheme)}function Y(ae){return p[ae]}function me(ae){return ae<=31||ae>126}const ge=new Set([47,58,59,61,64,91,92,93,94,124]);function Be(ae){return T(ae)||ge.has(ae)}const it=new Set([32,34,60,62,96]);function be(ae){return me(ae)||it.has(ae)}const Re=new Set([35,63,123,125]);function T(ae){return be(ae)||Re.has(ae)}function at(ae,f){const D=String.fromCodePoint(ae);return f(ae)?function(H){const z=l.from(H);let ve="";for(let Se=0;Se<z.length;++Se)ve+=v(z[Se]);return ve}(D):D}function Ee(ae){let f=10;if(ae.length>=2&&ae.charAt(0)==="0"&&ae.charAt(1).toLowerCase()==="x"?(ae=ae.substring(2),f=16):ae.length>=2&&ae.charAt(0)==="0"&&(ae=ae.substring(1),f=8),ae==="")return 0;let D=/[^0-7]/;return f===10&&(D=/[^0-9]/),f===16&&(D=/[^0-9A-Fa-f]/),D.test(ae)?g:parseInt(ae,f)}function Le(ae,f=!1){if(ae[0]==="[")return ae[ae.length-1]!=="]"?g:function(z){const ve=[0,0,0,0,0,0,0,0];let Se=0,pe=null,he=0;if((z=y.ucs2.decode(z))[he]===58){if(z[he+1]!==58)return g;he+=2,++Se,pe=Se}for(;he<z.length;){if(Se===8)return g;if(z[he]===58){if(pe!==null)return g;++he,++Se,pe=Se;continue}let De=0,R=0;for(;R<4&&m.isASCIIHex(z[he]);)De=16*De+parseInt(w(z,he),16),++he,++R;if(z[he]===46){if(R===0||(he-=R,Se>6))return g;let U=0;for(;z[he]!==void 0;){let Z=null;if(U>0){if(!(z[he]===46&&U<4))return g;++he}if(!m.isASCIIDigit(z[he]))return g;for(;m.isASCIIDigit(z[he]);){const _e=parseInt(w(z,he));if(Z===null)Z=_e;else{if(Z===0)return g;Z=10*Z+_e}if(Z>255)return g;++he}ve[Se]=256*ve[Se]+Z,++U,U!==2&&U!==4||++Se}if(U!==4)return g;break}if(z[he]===58){if(++he,z[he]===void 0)return g}else if(z[he]!==void 0)return g;ve[Se]=De,++Se}if(pe!==null){let De=Se-pe;for(Se=7;Se!==0&&De>0;){const R=ve[pe+De-1];ve[pe+De-1]=ve[Se],ve[Se]=R,--Se,--De}}else if(pe===null&&Se!==8)return g;return ve}(ae.substring(1,ae.length-1));if(f)return function(z){if(ve=z,ve.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/)!==-1)return g;var ve;let Se="";const pe=y.ucs2.decode(z);for(let he=0;he<pe.length;++he)Se+=at(pe[he],me);return Se}(ae);const D=function(z){const ve=z;return ve===null?g:ve}(j(l.from(ae)).toString());if(D===g||D.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/)!==-1)return g;const H=function(z){const ve=z.split(".");if(ve[ve.length-1]===""&&ve.length>1&&ve.pop(),ve.length>4)return z;const Se=[];for(const De of ve){if(De==="")return z;const R=Ee(De);if(R===g)return z;Se.push(R)}for(let De=0;De<Se.length-1;++De)if(Se[De]>255)return g;if(Se[Se.length-1]>=Math.pow(256,5-Se.length))return g;let pe=Se.pop(),he=0;for(const De of Se)pe+=De*Math.pow(256,3-he),++he;return pe}(D);return typeof H=="number"||H===g?H:D}function Xe(ae){return typeof ae=="number"?function(f){let D="",H=f;for(let z=1;z<=4;++z)D=String(H%256)+D,z!==4&&(D="."+D),H=Math.floor(H/256);return D}(ae):ae instanceof Array?"["+function(f){let D="";const H=function(ve){let Se=null,pe=1,he=null,De=0;for(let R=0;R<ve.length;++R)ve[R]!==0?(De>pe&&(Se=he,pe=De),he=null,De=0):(he===null&&(he=R),++De);return De>pe&&(Se=he,pe=De),{idx:Se,len:pe}}(f).idx;let z=!1;for(let ve=0;ve<=7;++ve)z&&f[ve]===0||(z&&(z=!1),H!==ve?(D+=f[ve].toString(16),ve!==7&&(D+=":")):(D+=ve===0?"::":":",z=!0));return D}(ae)+"]":ae}function se(ae){const{path:f}=ae;var D;f.length!==0&&(ae.scheme==="file"&&f.length===1&&(D=f[0],/^[A-Za-z]:$/.test(D))||f.pop())}function Ze(ae){return ae.username!==""||ae.password!==""}function Fe(ae,f,D,H,z){if(this.pointer=0,this.input=ae,this.base=f||null,this.encodingOverride=D||"utf-8",this.stateOverride=z,this.url=H,this.failure=!1,this.parseError=!1,!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:!1};const Se=function(pe){return pe.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"")}(this.input);Se!==this.input&&(this.parseError=!0),this.input=Se}const ve=function(Se){return Se.replace(/\u0009|\u000A|\u000D/g,"")}(this.input);for(ve!==this.input&&(this.parseError=!0),this.input=ve,this.state=z||"scheme start",this.buffer="",this.atFlag=!1,this.arrFlag=!1,this.passwordTokenSeenFlag=!1,this.input=y.ucs2.decode(this.input);this.pointer<=this.input.length;++this.pointer){const Se=this.input[this.pointer],pe=isNaN(Se)?void 0:String.fromCodePoint(Se),he=this["parse "+this.state](Se,pe);if(!he)break;if(he===g){this.failure=!0;break}}}Fe.prototype["parse scheme start"]=function(ae,f){if(m.isASCIIAlpha(ae))this.buffer+=f.toLowerCase(),this.state="scheme";else{if(this.stateOverride)return this.parseError=!0,g;this.state="no scheme",--this.pointer}return!0},Fe.prototype["parse scheme"]=function(ae,f){if(m.isASCIIAlphanumeric(ae)||ae===43||ae===45||ae===46)this.buffer+=f.toLowerCase();else if(ae===58){if(this.stateOverride&&(G(this.url)&&!F(this.buffer)||!G(this.url)&&F(this.buffer)||(Ze(this.url)||this.url.port!==null)&&this.buffer==="file"||this.url.scheme==="file"&&(this.url.host===""||this.url.host===null)))return!1;if(this.url.scheme=this.buffer,this.stateOverride)return this.url.port===Y(this.url.scheme)&&(this.url.port=null),!1;this.buffer="",this.url.scheme==="file"?(this.input[this.pointer+1]===47&&this.input[this.pointer+2]===47||(this.parseError=!0),this.state="file"):G(this.url)&&this.base!==null&&this.base.scheme===this.url.scheme?this.state="special relative or authority":G(this.url)?this.state="special authority slashes":this.input[this.pointer+1]===47?(this.state="path or authority",++this.pointer):(this.url.cannotBeABaseURL=!0,this.url.path.push(""),this.state="cannot-be-a-base-URL path")}else{if(this.stateOverride)return this.parseError=!0,g;this.buffer="",this.state="no scheme",this.pointer=-1}return!0},Fe.prototype["parse no scheme"]=function(ae){return this.base===null||this.base.cannotBeABaseURL&&ae!==35?g:(this.base.cannotBeABaseURL&&ae===35?(this.url.scheme=this.base.scheme,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.url.cannotBeABaseURL=!0,this.state="fragment"):this.base.scheme==="file"?(this.state="file",--this.pointer):(this.state="relative",--this.pointer),!0)},Fe.prototype["parse special relative or authority"]=function(ae){return ae===47&&this.input[this.pointer+1]===47?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="relative",--this.pointer),!0},Fe.prototype["parse path or authority"]=function(ae){return ae===47?this.state="authority":(this.state="path",--this.pointer),!0},Fe.prototype["parse relative"]=function(ae){return this.url.scheme=this.base.scheme,isNaN(ae)?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query):ae===47?this.state="relative slash":ae===63?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):ae===35?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):G(this.url)&&ae===92?(this.parseError=!0,this.state="relative slash"):(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(0,this.base.path.length-1),this.state="path",--this.pointer),!0},Fe.prototype["parse relative slash"]=function(ae){return!G(this.url)||ae!==47&&ae!==92?ae===47?this.state="authority":(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.state="path",--this.pointer):(ae===92&&(this.parseError=!0),this.state="special authority ignore slashes"),!0},Fe.prototype["parse special authority slashes"]=function(ae){return ae===47&&this.input[this.pointer+1]===47?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="special authority ignore slashes",--this.pointer),!0},Fe.prototype["parse special authority ignore slashes"]=function(ae){return ae!==47&&ae!==92?(this.state="authority",--this.pointer):this.parseError=!0,!0},Fe.prototype["parse authority"]=function(ae,f){if(ae===64){this.parseError=!0,this.atFlag&&(this.buffer="%40"+this.buffer),this.atFlag=!0;const D=_(this.buffer);for(let H=0;H<D;++H){const z=this.buffer.codePointAt(H);if(z===58&&!this.passwordTokenSeenFlag){this.passwordTokenSeenFlag=!0;continue}const ve=at(z,Be);this.passwordTokenSeenFlag?this.url.password+=ve:this.url.username+=ve}this.buffer=""}else if(isNaN(ae)||ae===47||ae===63||ae===35||G(this.url)&&ae===92){if(this.atFlag&&this.buffer==="")return this.parseError=!0,g;this.pointer-=_(this.buffer)+1,this.buffer="",this.state="host"}else this.buffer+=f;return!0},Fe.prototype["parse hostname"]=Fe.prototype["parse host"]=function(ae,f){if(this.stateOverride&&this.url.scheme==="file")--this.pointer,this.state="file host";else if(ae!==58||this.arrFlag)if(isNaN(ae)||ae===47||ae===63||ae===35||G(this.url)&&ae===92){if(--this.pointer,G(this.url)&&this.buffer==="")return this.parseError=!0,g;if(this.stateOverride&&this.buffer===""&&(Ze(this.url)||this.url.port!==null))return this.parseError=!0,!1;const D=Le(this.buffer,P(this.url));if(D===g)return g;if(this.url.host=D,this.buffer="",this.state="path start",this.stateOverride)return!1}else ae===91?this.arrFlag=!0:ae===93&&(this.arrFlag=!1),this.buffer+=f;else{if(this.buffer==="")return this.parseError=!0,g;const D=Le(this.buffer,P(this.url));if(D===g)return g;if(this.url.host=D,this.buffer="",this.state="port",this.stateOverride==="hostname")return!1}return!0},Fe.prototype["parse port"]=function(ae,f){if(m.isASCIIDigit(ae))this.buffer+=f;else{if(!(isNaN(ae)||ae===47||ae===63||ae===35||G(this.url)&&ae===92||this.stateOverride))return this.parseError=!0,g;if(this.buffer!==""){const D=parseInt(this.buffer);if(D>Math.pow(2,16)-1)return this.parseError=!0,g;this.url.port=D===Y(this.url.scheme)?null:D,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}return!0};const dt=new Set([47,92,63,35]);function $e(ae,f){const D=ae.length-f;return D>=2&&(H=ae[f],z=ae[f+1],m.isASCIIAlpha(H)&&(z===58||z===124))&&(D===2||dt.has(ae[f+2]));var H,z}Fe.prototype["parse file"]=function(ae){return this.url.scheme="file",ae===47||ae===92?(ae===92&&(this.parseError=!0),this.state="file slash"):this.base!==null&&this.base.scheme==="file"?isNaN(ae)?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query):ae===63?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):ae===35?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):($e(this.input,this.pointer)?this.parseError=!0:(this.url.host=this.base.host,this.url.path=this.base.path.slice(),se(this.url)),this.state="path",--this.pointer):(this.state="path",--this.pointer),!0},Fe.prototype["parse file slash"]=function(ae){var f;return ae===47||ae===92?(ae===92&&(this.parseError=!0),this.state="file host"):(this.base===null||this.base.scheme!=="file"||$e(this.input,this.pointer)||((f=this.base.path[0]).length===2&&m.isASCIIAlpha(f.codePointAt(0))&&f[1]===":"?this.url.path.push(this.base.path[0]):this.url.host=this.base.host),this.state="path",--this.pointer),!0},Fe.prototype["parse file host"]=function(ae,f){if(isNaN(ae)||ae===47||ae===92||ae===63||ae===35)if(--this.pointer,!this.stateOverride&&x(this.buffer))this.parseError=!0,this.state="path";else if(this.buffer===""){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let D=Le(this.buffer,P(this.url));if(D===g)return g;if(D==="localhost"&&(D=""),this.url.host=D,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=f;return!0},Fe.prototype["parse path start"]=function(ae){return G(this.url)?(ae===92&&(this.parseError=!0),this.state="path",ae!==47&&ae!==92&&--this.pointer):this.stateOverride||ae!==63?this.stateOverride||ae!==35?ae!==void 0&&(this.state="path",ae!==47&&--this.pointer):(this.url.fragment="",this.state="fragment"):(this.url.query="",this.state="query"),!0},Fe.prototype["parse path"]=function(ae){if(isNaN(ae)||ae===47||G(this.url)&&ae===92||!this.stateOverride&&(ae===63||ae===35)){if(G(this.url)&&ae===92&&(this.parseError=!0),(f=(f=this.buffer).toLowerCase())===".."||f==="%2e."||f===".%2e"||f==="%2e%2e"?(se(this.url),ae===47||G(this.url)&&ae===92||this.url.path.push("")):!O(this.buffer)||ae===47||G(this.url)&&ae===92?O(this.buffer)||(this.url.scheme==="file"&&this.url.path.length===0&&x(this.buffer)&&(this.url.host!==""&&this.url.host!==null&&(this.parseError=!0,this.url.host=""),this.buffer=this.buffer[0]+":"),this.url.path.push(this.buffer)):this.url.path.push(""),this.buffer="",this.url.scheme==="file"&&(ae===void 0||ae===63||ae===35))for(;this.url.path.length>1&&this.url.path[0]==="";)this.parseError=!0,this.url.path.shift();ae===63&&(this.url.query="",this.state="query"),ae===35&&(this.url.fragment="",this.state="fragment")}else ae!==37||m.isASCIIHex(this.input[this.pointer+1])&&m.isASCIIHex(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=at(ae,T);var f;return!0},Fe.prototype["parse cannot-be-a-base-URL path"]=function(ae){return ae===63?(this.url.query="",this.state="query"):ae===35?(this.url.fragment="",this.state="fragment"):(isNaN(ae)||ae===37||(this.parseError=!0),ae!==37||m.isASCIIHex(this.input[this.pointer+1])&&m.isASCIIHex(this.input[this.pointer+2])||(this.parseError=!0),isNaN(ae)||(this.url.path[0]+=at(ae,me))),!0},Fe.prototype["parse query"]=function(ae,f){if(isNaN(ae)||!this.stateOverride&&ae===35){G(this.url)&&this.url.scheme!=="ws"&&this.url.scheme!=="wss"||(this.encodingOverride="utf-8");const D=l.from(this.buffer);for(let H=0;H<D.length;++H)D[H]<33||D[H]>126||D[H]===34||D[H]===35||D[H]===60||D[H]===62||D[H]===39&&G(this.url)?this.url.query+=v(D[H]):this.url.query+=String.fromCodePoint(D[H]);this.buffer="",ae===35&&(this.url.fragment="",this.state="fragment")}else ae!==37||m.isASCIIHex(this.input[this.pointer+1])&&m.isASCIIHex(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=f;return!0},Fe.prototype["parse fragment"]=function(ae){return isNaN(ae)||(ae===0?this.parseError=!0:(ae!==37||m.isASCIIHex(this.input[this.pointer+1])&&m.isASCIIHex(this.input[this.pointer+2])||(this.parseError=!0),this.url.fragment+=at(ae,be))),!0},E.exports.serializeURL=function(ae,f){let D=ae.scheme+":";if(ae.host!==null?(D+="//",ae.username===""&&ae.password===""||(D+=ae.username,ae.password!==""&&(D+=":"+ae.password),D+="@"),D+=Xe(ae.host),ae.port!==null&&(D+=":"+ae.port)):ae.host===null&&ae.scheme==="file"&&(D+="//"),ae.cannotBeABaseURL)D+=ae.path[0];else for(const H of ae.path)D+="/"+H;return ae.query!==null&&(D+="?"+ae.query),f||ae.fragment===null||(D+="#"+ae.fragment),D},E.exports.serializeURLOrigin=function(ae){switch(ae.scheme){case"blob":try{return E.exports.serializeURLOrigin(E.exports.parseURL(ae.path[0]))}catch(f){return"null"}case"ftp":case"http":case"https":case"ws":case"wss":return function(f){let D=f.scheme+"://";return D+=Xe(f.host),f.port!==null&&(D+=":"+f.port),D}({scheme:ae.scheme,host:ae.host,port:ae.port});default:return"null"}},E.exports.basicURLParse=function(ae,f){f===void 0&&(f={});const D=new Fe(ae,f.baseURL,f.encodingOverride,f.url,f.stateOverride);return D.failure?null:D.url},E.exports.setTheUsername=function(ae,f){ae.username="";const D=y.ucs2.decode(f);for(let H=0;H<D.length;++H)ae.username+=at(D[H],Be)},E.exports.setThePassword=function(ae,f){ae.password="";const D=y.ucs2.decode(f);for(let H=0;H<D.length;++H)ae.password+=at(D[H],Be)},E.exports.serializeHost=Xe,E.exports.cannotHaveAUsernamePasswordPort=function(ae){return ae.host===null||ae.host===""||ae.cannotBeABaseURL||ae.scheme==="file"},E.exports.serializeInteger=function(ae){return String(ae)},E.exports.parseURL=function(ae,f){return f===void 0&&(f={}),E.exports.basicURLParse(ae,{baseURL:f.baseURL,encodingOverride:f.encodingOverride})}},8634:(E,u,o)=>{"use strict";const{Buffer:l}=o(3546),{isASCIIHex:y}=o(3291);function m(g,_,w){let O=g.indexOf(_);for(;O>=0;)g[O]=w,O=g.indexOf(_,O+1);return g}function v(g){let _=g.toString(16).toUpperCase();return _.length===1&&(_="0"+_),"%"+_}function j(g){const _=l.alloc(g.byteLength);let w=0;for(let O=0;O<g.length;++O)g[O]===37&&y(g[O+1])&&y(g[O+2])?(_[w++]=parseInt(g.slice(O+1,O+3).toString(),16),O+=2):_[w++]=g[O];return _.slice(0,w)}function p(g){let _="";for(const w of g)_+=w===32?"+":w===42||w===45||w===46||w>=48&&w<=57||w>=65&&w<=90||w===95||w>=97&&w<=122?String.fromCodePoint(w):v(w);return _}E.exports={percentEncode:v,percentDecode:j,parseUrlencoded:g=>function(_){const w=function(x,F){const G=[];let P=0,Y=x.indexOf(F);for(;Y>=0;)G.push(x.slice(P,Y)),P=Y+1,Y=x.indexOf(F,P);return P!==x.length&&G.push(x.slice(P)),G}(_,38),O=[];for(const x of w){if(x.length===0)continue;let F,G;const P=x.indexOf(61);P>=0?(F=x.slice(0,P),G=x.slice(P+1)):(F=x,G=l.alloc(0)),F=m(l.from(F),43,32),G=m(l.from(G),43,32),O.push([j(F).toString(),j(G).toString()])}return O}(l.from(g)),serializeUrlencoded:function(g,_=void 0){let w="utf-8";_!==void 0&&(w=_);let O="";for(const[x,F]of g.entries()){const G=p(l.from(F[0]));let P=F[1];F.length>2&&F[2]!==void 0&&(F[2]==="hidden"&&G==="_charset_"?P=w:F[2]==="file"&&(P=P.name)),P=p(l.from(P)),x!==0&&(O+="&"),O+=`${G}=${P}`}return O}}},7233:(E,u)=>{"use strict";const o=Symbol("wrapper"),l=Symbol("impl"),y=Symbol("SameObject caches"),m=Symbol.for("[webidl2js] constructor registry");function v(be){return be?be[o]:null}function j(be){return be?be[l]:null}const p=Symbol("internal"),g=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())),_=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,w=Symbol("supports property index"),O=Symbol("supported property indices"),x=Symbol("supports property name"),F=Symbol("supported property names"),G=Symbol("indexed property get"),P=Symbol("indexed property set new"),Y=Symbol("indexed property set existing"),me=Symbol("named property get"),ge=Symbol("named property set new"),Be=Symbol("named property set existing"),it=Symbol("named property delete");E.exports={isObject:function(be){return typeof be=="object"&&be!==null||typeof be=="function"},hasOwn:function(be,Re){return Object.prototype.hasOwnProperty.call(be,Re)},wrapperSymbol:o,implSymbol:l,getSameObject:function(be,Re,T){return be[y]||(be[y]=Object.create(null)),Re in be[y]||(be[y][Re]=T()),be[y][Re]},ctorRegistrySymbol:m,wrapperForImpl:v,implForWrapper:j,tryWrapperForImpl:function(be){return v(be)||be},tryImplForWrapper:function(be){return j(be)||be},iterInternalSymbol:p,IteratorPrototype:g,isArrayBuffer:function(be){try{return _.call(be),!0}catch(Re){return!1}},isArrayIndexPropName:function(be){if(typeof be!="string")return!1;const Re=be>>>0;return Re!==Math.pow(2,32)-1&&be===`${Re}`},supportsPropertyIndex:w,supportedPropertyIndices:O,supportsPropertyName:x,supportedPropertyNames:F,indexedGet:G,indexedSetNew:P,indexedSetExisting:Y,namedGet:me,namedSetNew:ge,namedSetExisting:Be,namedDelete:it}},3546:(E,u,o)=>{"use strict";var l=o(7943),y=o(8405),m=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;u.Buffer=p,u.SlowBuffer=function(R){return+R!=R&&(R=0),p.alloc(+R)},u.INSPECT_MAX_BYTES=50;var v=2147483647;function j(R){if(R>v)throw new RangeError('The value "'+R+'" is invalid for option "size"');var U=new Uint8Array(R);return Object.setPrototypeOf(U,p.prototype),U}function p(R,U,Z){if(typeof R=="number"){if(typeof U=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return w(R)}return g(R,U,Z)}function g(R,U,Z){if(typeof R=="string")return function(Ie,mt){if(typeof mt=="string"&&mt!==""||(mt="utf8"),!p.isEncoding(mt))throw new TypeError("Unknown encoding: "+mt);var jt=0|G(Ie,mt),qe=j(jt),He=qe.write(Ie,mt);return He!==jt&&(qe=qe.slice(0,He)),qe}(R,U);if(ArrayBuffer.isView(R))return function(Ie){if(pe(Ie,Uint8Array)){var mt=new Uint8Array(Ie);return x(mt.buffer,mt.byteOffset,mt.byteLength)}return O(Ie)}(R);if(R==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof R);if(pe(R,ArrayBuffer)||R&&pe(R.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(pe(R,SharedArrayBuffer)||R&&pe(R.buffer,SharedArrayBuffer)))return x(R,U,Z);if(typeof R=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var _e=R.valueOf&&R.valueOf();if(_e!=null&&_e!==R)return p.from(_e,U,Z);var Ve=function(Ie){if(p.isBuffer(Ie)){var mt=0|F(Ie.length),jt=j(mt);return jt.length===0||Ie.copy(jt,0,0,mt),jt}if(Ie.length!==void 0)return typeof Ie.length!="number"||he(Ie.length)?j(0):O(Ie);if(Ie.type==="Buffer"&&Array.isArray(Ie.data))return O(Ie.data)}(R);if(Ve)return Ve;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof R[Symbol.toPrimitive]=="function")return p.from(R[Symbol.toPrimitive]("string"),U,Z);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof R)}function _(R){if(typeof R!="number")throw new TypeError('"size" argument must be of type number');if(R<0)throw new RangeError('The value "'+R+'" is invalid for option "size"')}function w(R){return _(R),j(R<0?0:0|F(R))}function O(R){for(var U=R.length<0?0:0|F(R.length),Z=j(U),_e=0;_e<U;_e+=1)Z[_e]=255&R[_e];return Z}function x(R,U,Z){if(U<0||R.byteLength<U)throw new RangeError('"offset" is outside of buffer bounds');if(R.byteLength<U+(Z||0))throw new RangeError('"length" is outside of buffer bounds');var _e;return _e=U===void 0&&Z===void 0?new Uint8Array(R):Z===void 0?new Uint8Array(R,U):new Uint8Array(R,U,Z),Object.setPrototypeOf(_e,p.prototype),_e}function F(R){if(R>=v)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+v.toString(16)+" bytes");return 0|R}function G(R,U){if(p.isBuffer(R))return R.length;if(ArrayBuffer.isView(R)||pe(R,ArrayBuffer))return R.byteLength;if(typeof R!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof R);var Z=R.length,_e=arguments.length>2&&arguments[2]===!0;if(!_e&&Z===0)return 0;for(var Ve=!1;;)switch(U){case"ascii":case"latin1":case"binary":return Z;case"utf8":case"utf-8":return z(R).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Z;case"hex":return Z>>>1;case"base64":return ve(R).length;default:if(Ve)return _e?-1:z(R).length;U=(""+U).toLowerCase(),Ve=!0}}function P(R,U,Z){var _e=!1;if((U===void 0||U<0)&&(U=0),U>this.length||((Z===void 0||Z>this.length)&&(Z=this.length),Z<=0)||(Z>>>=0)<=(U>>>=0))return"";for(R||(R="utf8");;)switch(R){case"hex":return Ze(this,U,Z);case"utf8":case"utf-8":return Ee(this,U,Z);case"ascii":return Xe(this,U,Z);case"latin1":case"binary":return se(this,U,Z);case"base64":return at(this,U,Z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Fe(this,U,Z);default:if(_e)throw new TypeError("Unknown encoding: "+R);R=(R+"").toLowerCase(),_e=!0}}function Y(R,U,Z){var _e=R[U];R[U]=R[Z],R[Z]=_e}function me(R,U,Z,_e,Ve){if(R.length===0)return-1;if(typeof Z=="string"?(_e=Z,Z=0):Z>2147483647?Z=2147483647:Z<-2147483648&&(Z=-2147483648),he(Z=+Z)&&(Z=Ve?0:R.length-1),Z<0&&(Z=R.length+Z),Z>=R.length){if(Ve)return-1;Z=R.length-1}else if(Z<0){if(!Ve)return-1;Z=0}if(typeof U=="string"&&(U=p.from(U,_e)),p.isBuffer(U))return U.length===0?-1:ge(R,U,Z,_e,Ve);if(typeof U=="number")return U&=255,typeof Uint8Array.prototype.indexOf=="function"?Ve?Uint8Array.prototype.indexOf.call(R,U,Z):Uint8Array.prototype.lastIndexOf.call(R,U,Z):ge(R,[U],Z,_e,Ve);throw new TypeError("val must be string, number or Buffer")}function ge(R,U,Z,_e,Ve){var Ie,mt=1,jt=R.length,qe=U.length;if(_e!==void 0&&((_e=String(_e).toLowerCase())==="ucs2"||_e==="ucs-2"||_e==="utf16le"||_e==="utf-16le")){if(R.length<2||U.length<2)return-1;mt=2,jt/=2,qe/=2,Z/=2}function He(Ht,qt){return mt===1?Ht[qt]:Ht.readUInt16BE(qt*mt)}if(Ve){var It=-1;for(Ie=Z;Ie<jt;Ie++)if(He(R,Ie)===He(U,It===-1?0:Ie-It)){if(It===-1&&(It=Ie),Ie-It+1===qe)return It*mt}else It!==-1&&(Ie-=Ie-It),It=-1}else for(Z+qe>jt&&(Z=jt-qe),Ie=Z;Ie>=0;Ie--){for(var Gt=!0,Xt=0;Xt<qe;Xt++)if(He(R,Ie+Xt)!==He(U,Xt)){Gt=!1;break}if(Gt)return Ie}return-1}function Be(R,U,Z,_e){Z=Number(Z)||0;var Ve=R.length-Z;_e?(_e=Number(_e))>Ve&&(_e=Ve):_e=Ve;var Ie=U.length;_e>Ie/2&&(_e=Ie/2);for(var mt=0;mt<_e;++mt){var jt=parseInt(U.substr(2*mt,2),16);if(he(jt))return mt;R[Z+mt]=jt}return mt}function it(R,U,Z,_e){return Se(z(U,R.length-Z),R,Z,_e)}function be(R,U,Z,_e){return Se(function(Ve){for(var Ie=[],mt=0;mt<Ve.length;++mt)Ie.push(255&Ve.charCodeAt(mt));return Ie}(U),R,Z,_e)}function Re(R,U,Z,_e){return Se(ve(U),R,Z,_e)}function T(R,U,Z,_e){return Se(function(Ve,Ie){for(var mt,jt,qe,He=[],It=0;It<Ve.length&&!((Ie-=2)<0);++It)jt=(mt=Ve.charCodeAt(It))>>8,qe=mt%256,He.push(qe),He.push(jt);return He}(U,R.length-Z),R,Z,_e)}function at(R,U,Z){return U===0&&Z===R.length?l.fromByteArray(R):l.fromByteArray(R.slice(U,Z))}function Ee(R,U,Z){Z=Math.min(R.length,Z);for(var _e=[],Ve=U;Ve<Z;){var Ie,mt,jt,qe,He=R[Ve],It=null,Gt=He>239?4:He>223?3:He>191?2:1;if(Ve+Gt<=Z)switch(Gt){case 1:He<128&&(It=He);break;case 2:(192&(Ie=R[Ve+1]))==128&&(qe=(31&He)<<6|63&Ie)>127&&(It=qe);break;case 3:Ie=R[Ve+1],mt=R[Ve+2],(192&Ie)==128&&(192&mt)==128&&(qe=(15&He)<<12|(63&Ie)<<6|63&mt)>2047&&(qe<55296||qe>57343)&&(It=qe);break;case 4:Ie=R[Ve+1],mt=R[Ve+2],jt=R[Ve+3],(192&Ie)==128&&(192&mt)==128&&(192&jt)==128&&(qe=(15&He)<<18|(63&Ie)<<12|(63&mt)<<6|63&jt)>65535&&qe<1114112&&(It=qe)}It===null?(It=65533,Gt=1):It>65535&&(It-=65536,_e.push(It>>>10&1023|55296),It=56320|1023&It),_e.push(It),Ve+=Gt}return function(Xt){var Ht=Xt.length;if(Ht<=Le)return String.fromCharCode.apply(String,Xt);for(var qt="",Wt=0;Wt<Ht;)qt+=String.fromCharCode.apply(String,Xt.slice(Wt,Wt+=Le));return qt}(_e)}u.kMaxLength=v,p.TYPED_ARRAY_SUPPORT=function(){try{var R=new Uint8Array(1),U={foo:function(){return 42}};return Object.setPrototypeOf(U,Uint8Array.prototype),Object.setPrototypeOf(R,U),R.foo()===42}catch(Z){return!1}}(),p.TYPED_ARRAY_SUPPORT,Object.defineProperty(p.prototype,"parent",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.buffer}}),Object.defineProperty(p.prototype,"offset",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.byteOffset}}),p.poolSize=8192,p.from=function(R,U,Z){return g(R,U,Z)},Object.setPrototypeOf(p.prototype,Uint8Array.prototype),Object.setPrototypeOf(p,Uint8Array),p.alloc=function(R,U,Z){return function(_e,Ve,Ie){return _(_e),_e<=0?j(_e):Ve!==void 0?typeof Ie=="string"?j(_e).fill(Ve,Ie):j(_e).fill(Ve):j(_e)}(R,U,Z)},p.allocUnsafe=function(R){return w(R)},p.allocUnsafeSlow=function(R){return w(R)},p.isBuffer=function(R){return R!=null&&R._isBuffer===!0&&R!==p.prototype},p.compare=function(R,U){if(pe(R,Uint8Array)&&(R=p.from(R,R.offset,R.byteLength)),pe(U,Uint8Array)&&(U=p.from(U,U.offset,U.byteLength)),!p.isBuffer(R)||!p.isBuffer(U))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(R===U)return 0;for(var Z=R.length,_e=U.length,Ve=0,Ie=Math.min(Z,_e);Ve<Ie;++Ve)if(R[Ve]!==U[Ve]){Z=R[Ve],_e=U[Ve];break}return Z<_e?-1:_e<Z?1:0},p.isEncoding=function(R){switch(String(R).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},p.concat=function(R,U){if(!Array.isArray(R))throw new TypeError('"list" argument must be an Array of Buffers');if(R.length===0)return p.alloc(0);var Z;if(U===void 0)for(U=0,Z=0;Z<R.length;++Z)U+=R[Z].length;var _e=p.allocUnsafe(U),Ve=0;for(Z=0;Z<R.length;++Z){var Ie=R[Z];if(pe(Ie,Uint8Array))Ve+Ie.length>_e.length?p.from(Ie).copy(_e,Ve):Uint8Array.prototype.set.call(_e,Ie,Ve);else{if(!p.isBuffer(Ie))throw new TypeError('"list" argument must be an Array of Buffers');Ie.copy(_e,Ve)}Ve+=Ie.length}return _e},p.byteLength=G,p.prototype._isBuffer=!0,p.prototype.swap16=function(){var R=this.length;if(R%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var U=0;U<R;U+=2)Y(this,U,U+1);return this},p.prototype.swap32=function(){var R=this.length;if(R%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var U=0;U<R;U+=4)Y(this,U,U+3),Y(this,U+1,U+2);return this},p.prototype.swap64=function(){var R=this.length;if(R%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var U=0;U<R;U+=8)Y(this,U,U+7),Y(this,U+1,U+6),Y(this,U+2,U+5),Y(this,U+3,U+4);return this},p.prototype.toString=function(){var R=this.length;return R===0?"":arguments.length===0?Ee(this,0,R):P.apply(this,arguments)},p.prototype.toLocaleString=p.prototype.toString,p.prototype.equals=function(R){if(!p.isBuffer(R))throw new TypeError("Argument must be a Buffer");return this===R||p.compare(this,R)===0},p.prototype.inspect=function(){var R="",U=u.INSPECT_MAX_BYTES;return R=this.toString("hex",0,U).replace(/(.{2})/g,"$1 ").trim(),this.length>U&&(R+=" ... "),"<Buffer "+R+">"},m&&(p.prototype[m]=p.prototype.inspect),p.prototype.compare=function(R,U,Z,_e,Ve){if(pe(R,Uint8Array)&&(R=p.from(R,R.offset,R.byteLength)),!p.isBuffer(R))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof R);if(U===void 0&&(U=0),Z===void 0&&(Z=R?R.length:0),_e===void 0&&(_e=0),Ve===void 0&&(Ve=this.length),U<0||Z>R.length||_e<0||Ve>this.length)throw new RangeError("out of range index");if(_e>=Ve&&U>=Z)return 0;if(_e>=Ve)return-1;if(U>=Z)return 1;if(this===R)return 0;for(var Ie=(Ve>>>=0)-(_e>>>=0),mt=(Z>>>=0)-(U>>>=0),jt=Math.min(Ie,mt),qe=this.slice(_e,Ve),He=R.slice(U,Z),It=0;It<jt;++It)if(qe[It]!==He[It]){Ie=qe[It],mt=He[It];break}return Ie<mt?-1:mt<Ie?1:0},p.prototype.includes=function(R,U,Z){return this.indexOf(R,U,Z)!==-1},p.prototype.indexOf=function(R,U,Z){return me(this,R,U,Z,!0)},p.prototype.lastIndexOf=function(R,U,Z){return me(this,R,U,Z,!1)},p.prototype.write=function(R,U,Z,_e){if(U===void 0)_e="utf8",Z=this.length,U=0;else if(Z===void 0&&typeof U=="string")_e=U,Z=this.length,U=0;else{if(!isFinite(U))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");U>>>=0,isFinite(Z)?(Z>>>=0,_e===void 0&&(_e="utf8")):(_e=Z,Z=void 0)}var Ve=this.length-U;if((Z===void 0||Z>Ve)&&(Z=Ve),R.length>0&&(Z<0||U<0)||U>this.length)throw new RangeError("Attempt to write outside buffer bounds");_e||(_e="utf8");for(var Ie=!1;;)switch(_e){case"hex":return Be(this,R,U,Z);case"utf8":case"utf-8":return it(this,R,U,Z);case"ascii":case"latin1":case"binary":return be(this,R,U,Z);case"base64":return Re(this,R,U,Z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,R,U,Z);default:if(Ie)throw new TypeError("Unknown encoding: "+_e);_e=(""+_e).toLowerCase(),Ie=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Le=4096;function Xe(R,U,Z){var _e="";Z=Math.min(R.length,Z);for(var Ve=U;Ve<Z;++Ve)_e+=String.fromCharCode(127&R[Ve]);return _e}function se(R,U,Z){var _e="";Z=Math.min(R.length,Z);for(var Ve=U;Ve<Z;++Ve)_e+=String.fromCharCode(R[Ve]);return _e}function Ze(R,U,Z){var _e=R.length;(!U||U<0)&&(U=0),(!Z||Z<0||Z>_e)&&(Z=_e);for(var Ve="",Ie=U;Ie<Z;++Ie)Ve+=De[R[Ie]];return Ve}function Fe(R,U,Z){for(var _e=R.slice(U,Z),Ve="",Ie=0;Ie<_e.length-1;Ie+=2)Ve+=String.fromCharCode(_e[Ie]+256*_e[Ie+1]);return Ve}function dt(R,U,Z){if(R%1!=0||R<0)throw new RangeError("offset is not uint");if(R+U>Z)throw new RangeError("Trying to access beyond buffer length")}function $e(R,U,Z,_e,Ve,Ie){if(!p.isBuffer(R))throw new TypeError('"buffer" argument must be a Buffer instance');if(U>Ve||U<Ie)throw new RangeError('"value" argument is out of bounds');if(Z+_e>R.length)throw new RangeError("Index out of range")}function ae(R,U,Z,_e,Ve,Ie){if(Z+_e>R.length)throw new RangeError("Index out of range");if(Z<0)throw new RangeError("Index out of range")}function f(R,U,Z,_e,Ve){return U=+U,Z>>>=0,Ve||ae(R,0,Z,4),y.write(R,U,Z,_e,23,4),Z+4}function D(R,U,Z,_e,Ve){return U=+U,Z>>>=0,Ve||ae(R,0,Z,8),y.write(R,U,Z,_e,52,8),Z+8}p.prototype.slice=function(R,U){var Z=this.length;(R=~~R)<0?(R+=Z)<0&&(R=0):R>Z&&(R=Z),(U=U===void 0?Z:~~U)<0?(U+=Z)<0&&(U=0):U>Z&&(U=Z),U<R&&(U=R);var _e=this.subarray(R,U);return Object.setPrototypeOf(_e,p.prototype),_e},p.prototype.readUintLE=p.prototype.readUIntLE=function(R,U,Z){R>>>=0,U>>>=0,Z||dt(R,U,this.length);for(var _e=this[R],Ve=1,Ie=0;++Ie<U&&(Ve*=256);)_e+=this[R+Ie]*Ve;return _e},p.prototype.readUintBE=p.prototype.readUIntBE=function(R,U,Z){R>>>=0,U>>>=0,Z||dt(R,U,this.length);for(var _e=this[R+--U],Ve=1;U>0&&(Ve*=256);)_e+=this[R+--U]*Ve;return _e},p.prototype.readUint8=p.prototype.readUInt8=function(R,U){return R>>>=0,U||dt(R,1,this.length),this[R]},p.prototype.readUint16LE=p.prototype.readUInt16LE=function(R,U){return R>>>=0,U||dt(R,2,this.length),this[R]|this[R+1]<<8},p.prototype.readUint16BE=p.prototype.readUInt16BE=function(R,U){return R>>>=0,U||dt(R,2,this.length),this[R]<<8|this[R+1]},p.prototype.readUint32LE=p.prototype.readUInt32LE=function(R,U){return R>>>=0,U||dt(R,4,this.length),(this[R]|this[R+1]<<8|this[R+2]<<16)+16777216*this[R+3]},p.prototype.readUint32BE=p.prototype.readUInt32BE=function(R,U){return R>>>=0,U||dt(R,4,this.length),16777216*this[R]+(this[R+1]<<16|this[R+2]<<8|this[R+3])},p.prototype.readIntLE=function(R,U,Z){R>>>=0,U>>>=0,Z||dt(R,U,this.length);for(var _e=this[R],Ve=1,Ie=0;++Ie<U&&(Ve*=256);)_e+=this[R+Ie]*Ve;return _e>=(Ve*=128)&&(_e-=Math.pow(2,8*U)),_e},p.prototype.readIntBE=function(R,U,Z){R>>>=0,U>>>=0,Z||dt(R,U,this.length);for(var _e=U,Ve=1,Ie=this[R+--_e];_e>0&&(Ve*=256);)Ie+=this[R+--_e]*Ve;return Ie>=(Ve*=128)&&(Ie-=Math.pow(2,8*U)),Ie},p.prototype.readInt8=function(R,U){return R>>>=0,U||dt(R,1,this.length),128&this[R]?-1*(255-this[R]+1):this[R]},p.prototype.readInt16LE=function(R,U){R>>>=0,U||dt(R,2,this.length);var Z=this[R]|this[R+1]<<8;return 32768&Z?4294901760|Z:Z},p.prototype.readInt16BE=function(R,U){R>>>=0,U||dt(R,2,this.length);var Z=this[R+1]|this[R]<<8;return 32768&Z?4294901760|Z:Z},p.prototype.readInt32LE=function(R,U){return R>>>=0,U||dt(R,4,this.length),this[R]|this[R+1]<<8|this[R+2]<<16|this[R+3]<<24},p.prototype.readInt32BE=function(R,U){return R>>>=0,U||dt(R,4,this.length),this[R]<<24|this[R+1]<<16|this[R+2]<<8|this[R+3]},p.prototype.readFloatLE=function(R,U){return R>>>=0,U||dt(R,4,this.length),y.read(this,R,!0,23,4)},p.prototype.readFloatBE=function(R,U){return R>>>=0,U||dt(R,4,this.length),y.read(this,R,!1,23,4)},p.prototype.readDoubleLE=function(R,U){return R>>>=0,U||dt(R,8,this.length),y.read(this,R,!0,52,8)},p.prototype.readDoubleBE=function(R,U){return R>>>=0,U||dt(R,8,this.length),y.read(this,R,!1,52,8)},p.prototype.writeUintLE=p.prototype.writeUIntLE=function(R,U,Z,_e){R=+R,U>>>=0,Z>>>=0,_e||$e(this,R,U,Z,Math.pow(2,8*Z)-1,0);var Ve=1,Ie=0;for(this[U]=255&R;++Ie<Z&&(Ve*=256);)this[U+Ie]=R/Ve&255;return U+Z},p.prototype.writeUintBE=p.prototype.writeUIntBE=function(R,U,Z,_e){R=+R,U>>>=0,Z>>>=0,_e||$e(this,R,U,Z,Math.pow(2,8*Z)-1,0);var Ve=Z-1,Ie=1;for(this[U+Ve]=255&R;--Ve>=0&&(Ie*=256);)this[U+Ve]=R/Ie&255;return U+Z},p.prototype.writeUint8=p.prototype.writeUInt8=function(R,U,Z){return R=+R,U>>>=0,Z||$e(this,R,U,1,255,0),this[U]=255&R,U+1},p.prototype.writeUint16LE=p.prototype.writeUInt16LE=function(R,U,Z){return R=+R,U>>>=0,Z||$e(this,R,U,2,65535,0),this[U]=255&R,this[U+1]=R>>>8,U+2},p.prototype.writeUint16BE=p.prototype.writeUInt16BE=function(R,U,Z){return R=+R,U>>>=0,Z||$e(this,R,U,2,65535,0),this[U]=R>>>8,this[U+1]=255&R,U+2},p.prototype.writeUint32LE=p.prototype.writeUInt32LE=function(R,U,Z){return R=+R,U>>>=0,Z||$e(this,R,U,4,4294967295,0),this[U+3]=R>>>24,this[U+2]=R>>>16,this[U+1]=R>>>8,this[U]=255&R,U+4},p.prototype.writeUint32BE=p.prototype.writeUInt32BE=function(R,U,Z){return R=+R,U>>>=0,Z||$e(this,R,U,4,4294967295,0),this[U]=R>>>24,this[U+1]=R>>>16,this[U+2]=R>>>8,this[U+3]=255&R,U+4},p.prototype.writeIntLE=function(R,U,Z,_e){if(R=+R,U>>>=0,!_e){var Ve=Math.pow(2,8*Z-1);$e(this,R,U,Z,Ve-1,-Ve)}var Ie=0,mt=1,jt=0;for(this[U]=255&R;++Ie<Z&&(mt*=256);)R<0&&jt===0&&this[U+Ie-1]!==0&&(jt=1),this[U+Ie]=(R/mt>>0)-jt&255;return U+Z},p.prototype.writeIntBE=function(R,U,Z,_e){if(R=+R,U>>>=0,!_e){var Ve=Math.pow(2,8*Z-1);$e(this,R,U,Z,Ve-1,-Ve)}var Ie=Z-1,mt=1,jt=0;for(this[U+Ie]=255&R;--Ie>=0&&(mt*=256);)R<0&&jt===0&&this[U+Ie+1]!==0&&(jt=1),this[U+Ie]=(R/mt>>0)-jt&255;return U+Z},p.prototype.writeInt8=function(R,U,Z){return R=+R,U>>>=0,Z||$e(this,R,U,1,127,-128),R<0&&(R=255+R+1),this[U]=255&R,U+1},p.prototype.writeInt16LE=function(R,U,Z){return R=+R,U>>>=0,Z||$e(this,R,U,2,32767,-32768),this[U]=255&R,this[U+1]=R>>>8,U+2},p.prototype.writeInt16BE=function(R,U,Z){return R=+R,U>>>=0,Z||$e(this,R,U,2,32767,-32768),this[U]=R>>>8,this[U+1]=255&R,U+2},p.prototype.writeInt32LE=function(R,U,Z){return R=+R,U>>>=0,Z||$e(this,R,U,4,2147483647,-2147483648),this[U]=255&R,this[U+1]=R>>>8,this[U+2]=R>>>16,this[U+3]=R>>>24,U+4},p.prototype.writeInt32BE=function(R,U,Z){return R=+R,U>>>=0,Z||$e(this,R,U,4,2147483647,-2147483648),R<0&&(R=4294967295+R+1),this[U]=R>>>24,this[U+1]=R>>>16,this[U+2]=R>>>8,this[U+3]=255&R,U+4},p.prototype.writeFloatLE=function(R,U,Z){return f(this,R,U,!0,Z)},p.prototype.writeFloatBE=function(R,U,Z){return f(this,R,U,!1,Z)},p.prototype.writeDoubleLE=function(R,U,Z){return D(this,R,U,!0,Z)},p.prototype.writeDoubleBE=function(R,U,Z){return D(this,R,U,!1,Z)},p.prototype.copy=function(R,U,Z,_e){if(!p.isBuffer(R))throw new TypeError("argument should be a Buffer");if(Z||(Z=0),_e||_e===0||(_e=this.length),U>=R.length&&(U=R.length),U||(U=0),_e>0&&_e<Z&&(_e=Z),_e===Z||R.length===0||this.length===0)return 0;if(U<0)throw new RangeError("targetStart out of bounds");if(Z<0||Z>=this.length)throw new RangeError("Index out of range");if(_e<0)throw new RangeError("sourceEnd out of bounds");_e>this.length&&(_e=this.length),R.length-U<_e-Z&&(_e=R.length-U+Z);var Ve=_e-Z;return this===R&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(U,Z,_e):Uint8Array.prototype.set.call(R,this.subarray(Z,_e),U),Ve},p.prototype.fill=function(R,U,Z,_e){if(typeof R=="string"){if(typeof U=="string"?(_e=U,U=0,Z=this.length):typeof Z=="string"&&(_e=Z,Z=this.length),_e!==void 0&&typeof _e!="string")throw new TypeError("encoding must be a string");if(typeof _e=="string"&&!p.isEncoding(_e))throw new TypeError("Unknown encoding: "+_e);if(R.length===1){var Ve=R.charCodeAt(0);(_e==="utf8"&&Ve<128||_e==="latin1")&&(R=Ve)}}else typeof R=="number"?R&=255:typeof R=="boolean"&&(R=Number(R));if(U<0||this.length<U||this.length<Z)throw new RangeError("Out of range index");if(Z<=U)return this;var Ie;if(U>>>=0,Z=Z===void 0?this.length:Z>>>0,R||(R=0),typeof R=="number")for(Ie=U;Ie<Z;++Ie)this[Ie]=R;else{var mt=p.isBuffer(R)?R:p.from(R,_e),jt=mt.length;if(jt===0)throw new TypeError('The value "'+R+'" is invalid for argument "value"');for(Ie=0;Ie<Z-U;++Ie)this[Ie+U]=mt[Ie%jt]}return this};var H=/[^+/0-9A-Za-z-_]/g;function z(R,U){var Z;U=U||1/0;for(var _e=R.length,Ve=null,Ie=[],mt=0;mt<_e;++mt){if((Z=R.charCodeAt(mt))>55295&&Z<57344){if(!Ve){if(Z>56319){(U-=3)>-1&&Ie.push(239,191,189);continue}if(mt+1===_e){(U-=3)>-1&&Ie.push(239,191,189);continue}Ve=Z;continue}if(Z<56320){(U-=3)>-1&&Ie.push(239,191,189),Ve=Z;continue}Z=65536+(Ve-55296<<10|Z-56320)}else Ve&&(U-=3)>-1&&Ie.push(239,191,189);if(Ve=null,Z<128){if((U-=1)<0)break;Ie.push(Z)}else if(Z<2048){if((U-=2)<0)break;Ie.push(Z>>6|192,63&Z|128)}else if(Z<65536){if((U-=3)<0)break;Ie.push(Z>>12|224,Z>>6&63|128,63&Z|128)}else{if(!(Z<1114112))throw new Error("Invalid code point");if((U-=4)<0)break;Ie.push(Z>>18|240,Z>>12&63|128,Z>>6&63|128,63&Z|128)}}return Ie}function ve(R){return l.toByteArray(function(U){if((U=(U=U.split("=")[0]).trim().replace(H,"")).length<2)return"";for(;U.length%4!=0;)U+="=";return U}(R))}function Se(R,U,Z,_e){for(var Ve=0;Ve<_e&&!(Ve+Z>=U.length||Ve>=R.length);++Ve)U[Ve+Z]=R[Ve];return Ve}function pe(R,U){return R instanceof U||R!=null&&R.constructor!=null&&R.constructor.name!=null&&R.constructor.name===U.name}function he(R){return R!=R}var De=function(){for(var R="0123456789abcdef",U=new Array(256),Z=0;Z<16;++Z)for(var _e=16*Z,Ve=0;Ve<16;++Ve)U[_e+Ve]=R[Z]+R[Ve];return U}()},143:(E,u)=>{"use strict";function o(w,O){return`${O&&O.context?O.context:"Value"} ${w}.`}function l(w){return m(Math.trunc(w))}function y(w){return w<0?-1:1}function m(w){return w===0?0:w}function v(w,O){const x=!O.unsigned;let F,G;w===64?(G=Math.pow(2,53)-1,F=x?1-Math.pow(2,53):0):x?(F=-Math.pow(2,w-1),G=Math.pow(2,w-1)-1):(F=0,G=Math.pow(2,w)-1);const P=Math.pow(2,w),Y=Math.pow(2,w-1);return(me,ge)=>{ge===void 0&&(ge={});let Be=+me;if(Be=m(Be),ge.enforceRange){if(!Number.isFinite(Be))throw new TypeError(o("is not a finite number",ge));if(Be=l(Be),Be<F||Be>G)throw new TypeError(o(`is outside the accepted range of ${F} to ${G}, inclusive`,ge));return Be}return!Number.isNaN(Be)&&ge.clamp?(Be=Math.min(Math.max(Be,F),G),Be=function(it){return m(it>0&&it%1==.5&&!(1&it)||it<0&&it%1==-.5&&(1&it)==1?Math.floor(it):Math.round(it))}(Be),Be):Number.isFinite(Be)&&Be!==0?(Be=l(Be),Be>=F&&Be<=G?Be:(Be=function(it,be){const Re=it%be;return y(be)!==y(Re)?Re+be:Re}(Be,P),x&&Be>=Y?Be-P:Be)):0}}function j(w,O){if(typeof w!="function")throw new TypeError(o("is not a function",O));return w}u.any=w=>w,u.void=function(){},u.boolean=function(w){return!!w},u.byte=v(8,{unsigned:!1}),u.octet=v(8,{unsigned:!0}),u.short=v(16,{unsigned:!1}),u["unsigned short"]=v(16,{unsigned:!0}),u.long=v(32,{unsigned:!1}),u["unsigned long"]=v(32,{unsigned:!0}),u["long long"]=v(64,{unsigned:!1}),u["unsigned long long"]=v(64,{unsigned:!0}),u.double=(w,O)=>{const x=+w;if(!Number.isFinite(x))throw new TypeError(o("is not a finite floating-point value",O));return x},u["unrestricted double"]=w=>+w,u.float=(w,O)=>{const x=+w;if(!Number.isFinite(x))throw new TypeError(o("is not a finite floating-point value",O));if(Object.is(x,-0))return x;const F=Math.fround(x);if(!Number.isFinite(F))throw new TypeError(o("is outside the range of a single-precision floating-point value",O));return F},u["unrestricted float"]=w=>{const O=+w;return isNaN(O)||Object.is(O,-0)?O:Math.fround(O)},u.DOMString=function(w,O){if(O===void 0&&(O={}),O.treatNullAsEmptyString&&w===null)return"";if(typeof w=="symbol")throw new TypeError(o("is a symbol, which cannot be converted to a string",O));return String(w)},u.ByteString=(w,O)=>{const x=u.DOMString(w,O);let F;for(let G=0;(F=x.codePointAt(G))!==void 0;++G)if(F>255)throw new TypeError(o("is not a valid ByteString",O));return x},u.USVString=(w,O)=>{const x=u.DOMString(w,O),F=x.length,G=[];for(let P=0;P<F;++P){const Y=x.charCodeAt(P);if(Y<55296||Y>57343)G.push(String.fromCodePoint(Y));else if(56320<=Y&&Y<=57343)G.push(String.fromCodePoint(65533));else if(P===F-1)G.push(String.fromCodePoint(65533));else{const me=x.charCodeAt(P+1);if(56320<=me&&me<=57343){const ge=1023&Y,Be=1023&me;G.push(String.fromCodePoint(65536+1024*ge+Be)),++P}else G.push(String.fromCodePoint(65533))}}return G.join("")},u.object=(w,O)=>{if(function(x){if(x===null)return"Null";switch(typeof x){case"undefined":return"Undefined";case"boolean":return"Boolean";case"number":return"Number";case"string":return"String";case"symbol":return"Symbol";default:return"Object"}}(w)!=="Object")throw new TypeError(o("is not an object",O));return w};const p=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get;function g(w){try{return p.call(w),!0}catch(O){return!1}}u.ArrayBuffer=(w,O)=>{if(!g(w))throw new TypeError(o("is not a view on an ArrayBuffer object",O));return w};const _=Object.getOwnPropertyDescriptor(DataView.prototype,"byteLength").get;u.DataView=(w,O)=>{try{return _.call(w),w}catch(x){throw new TypeError(o("is not a view on an DataView object",O))}},[Int8Array,Int16Array,Int32Array,Uint8Array,Uint16Array,Uint32Array,Uint8ClampedArray,Float32Array,Float64Array].forEach(w=>{const O=w.name,x=/^[AEIOU]/.test(O)?"an":"a";u[O]=(F,G)=>{if(!ArrayBuffer.isView(F)||F.constructor.name!==O)throw new TypeError(o(`is not ${x} ${O} object`,G));return F}}),u.ArrayBufferView=(w,O)=>{if(!ArrayBuffer.isView(w))throw new TypeError(o("is not a view on an ArrayBuffer object",O));return w},u.BufferSource=(w,O)=>{if(!ArrayBuffer.isView(w)&&!g(w))throw new TypeError(o("is not an ArrayBuffer object or a view on one",O));return w},u.DOMTimeStamp=u["unsigned long long"],u.Function=j,u.VoidFunction=j},62:(E,u,o)=>{"use strict";const l=o(4485),y=o(1209);u.URL=l,u.URLSearchParams=y},9291:module=>{var t;t=function(){return(()=>{var __webpack_modules__={9458:(E,u,o)=>{var l=o(8959);function y(m,v){this.logStorage=m,this.stringifyObjects=!(!v||!v.stringifyObjects)&&v.stringifyObjects,this.storeInterval=v&&v.storeInterval?v.storeInterval:3e4,this.maxEntryLength=v&&v.maxEntryLength?v.maxEntryLength:1e4,Object.keys(l.levels).forEach(function(j){this[l.levels[j]]=function(){this._log.apply(this,arguments)}.bind(this,j)}.bind(this)),this.storeLogsIntervalID=null,this.queue=[],this.totalLen=0,this.outputCache=[]}y.prototype.stringify=function(m){try{return JSON.stringify(m)}catch(v){return"[object with circular refs?]"}},y.prototype.formatLogMessage=function(m){for(var v="",j=1,p=arguments.length;j<p;j++){var g=arguments[j];!this.stringifyObjects&&m!==l.levels.ERROR||typeof g!="object"||(g=this.stringify(g)),v+=g,j!==p-1&&(v+=" ")}return v.length?v:null},y.prototype._log=function(){var m=arguments[1],v=this.formatLogMessage.apply(this,arguments);if(v){var j=this.queue[this.queue.length-1];(j&&j.text)===v?j.count+=1:(this.queue.push({text:v,timestamp:m,count:1}),this.totalLen+=v.length)}this.totalLen>=this.maxEntryLength&&this._flush(!0,!0)},y.prototype.start=function(){this._reschedulePublishInterval()},y.prototype._reschedulePublishInterval=function(){this.storeLogsIntervalID&&(window.clearTimeout(this.storeLogsIntervalID),this.storeLogsIntervalID=null),this.storeLogsIntervalID=window.setTimeout(this._flush.bind(this,!1,!0),this.storeInterval)},y.prototype.flush=function(){this._flush(!1,!0)},y.prototype._flush=function(m,v){this.totalLen>0&&(this.logStorage.isReady()||m)&&(this.logStorage.isReady()?(this.outputCache.length&&(this.outputCache.forEach(function(j){this.logStorage.storeLogs(j)}.bind(this)),this.outputCache=[]),this.logStorage.storeLogs(this.queue)):this.outputCache.push(this.queue),this.queue=[],this.totalLen=0),v&&this._reschedulePublishInterval()},y.prototype.stop=function(){this._flush(!1,!1)},E.exports=y},8959:E=>{var u={trace:0,debug:1,info:2,log:3,warn:4,error:5};m.consoleTransport=console;var o=[m.consoleTransport];m.addGlobalTransport=function(v){o.indexOf(v)===-1&&o.push(v)},m.removeGlobalTransport=function(v){var j=o.indexOf(v);j!==-1&&o.splice(j,1)};var l={};function y(){var v=arguments[0],j=arguments[1],p=Array.prototype.slice.call(arguments,2);if(!(u[j]<v.level))for(var g=!(v.options.disableCallerInfo||l.disableCallerInfo)&&function(){var P={methodName:"",fileLocation:"",line:null,column:null},Y=new Error,me=Y.stack?Y.stack.split(`
8
8
  `):[];if(!me||me.length<3)return P;var ge=null;return me[3]&&(ge=me[3].match(/\s*at\s*(.+?)\s*\((\S*)\s*:(\d*)\s*:(\d*)\)/)),!ge||ge.length<=4?(me[2].indexOf("log@")===0?P.methodName=me[3].substr(0,me[3].indexOf("@")):P.methodName=me[2].substr(0,me[2].indexOf("@")),P):(P.methodName=ge[1],P.fileLocation=ge[2],P.line=ge[3],P.column=ge[4],P)}(),_=o.concat(v.transports),w=0;w<_.length;w++){var O=_[w],x=O[j];if(x&&typeof x=="function"){var F=[];F.push(new Date().toISOString()),v.id&&F.push("["+v.id+"]"),g&&g.methodName.length>1&&F.push("<"+g.methodName+">: ");var G=F.concat(p);x.bind(O).apply(O,G)}}}function m(v,j,p,g){this.id=j,this.options=g||{},this.transports=p,this.transports||(this.transports=[]),this.level=u[v];for(var _=Object.keys(u),w=0;w<_.length;w++)this[_[w]]=y.bind(null,this,_[w])}m.setGlobalOptions=function(v){l=v||{}},m.prototype.setLevel=function(v){this.level=u[v]},E.exports=m,m.levels={TRACE:"trace",DEBUG:"debug",INFO:"info",LOG:"log",WARN:"warn",ERROR:"error"}},9077:(E,u,o)=>{var l=o(8959),y=o(9458),m={},v=[],j=l.levels.TRACE;E.exports={addGlobalTransport:function(p){l.addGlobalTransport(p)},removeGlobalTransport:function(p){l.removeGlobalTransport(p)},setGlobalOptions:function(p){l.setGlobalOptions(p)},getLogger:function(p,g,_){var w=new l(j,p,g,_);return p?(m[p]=m[p]||[],m[p].push(w)):v.push(w),w},setLogLevelById:function(p,g){for(var _=g?m[g]||[]:v,w=0;w<_.length;w++)_[w].setLevel(p)},setLogLevel:function(p){j=p;for(var g=0;g<v.length;g++)v[g].setLevel(p);for(var _ in m){var w=m[_]||[];for(g=0;g<w.length;g++)w[g].setLevel(p)}},levels:l.levels,LogCollector:y}},1751:E=>{var u=E.exports={v:[{name:"version",reg:/^(\d*)$/}],o:[{name:"origin",reg:/^(\S*) (\d*) (\d*) (\S*) IP(\d) (\S*)/,names:["username","sessionId","sessionVersion","netType","ipVer","address"],format:"%s %s %d %s IP%d %s"}],s:[{name:"name"}],i:[{name:"description"}],u:[{name:"uri"}],e:[{name:"email"}],p:[{name:"phone"}],z:[{name:"timezones"}],r:[{name:"repeats"}],t:[{name:"timing",reg:/^(\d*) (\d*)/,names:["start","stop"],format:"%d %d"}],c:[{name:"connection",reg:/^IN IP(\d) (\S*)/,names:["version","ip"],format:"IN IP%d %s"}],b:[{push:"bandwidth",reg:/^(TIAS|AS|CT|RR|RS):(\d*)/,names:["type","limit"],format:"%s:%s"}],m:[{reg:/^(\w*) (\d*) ([\w/]*)(?: (.*))?/,names:["type","port","protocol","payloads"],format:"%s %d %s %s"}],a:[{push:"rtp",reg:/^rtpmap:(\d*) ([\w\-.]*)(?:\s*\/(\d*)(?:\s*\/(\S*))?)?/,names:["payload","codec","rate","encoding"],format:function(o){return o.encoding?"rtpmap:%d %s/%s/%s":o.rate?"rtpmap:%d %s/%s":"rtpmap:%d %s"}},{push:"fmtp",reg:/^fmtp:(\d*) ([\S| ]*)/,names:["payload","config"],format:"fmtp:%d %s"},{name:"control",reg:/^control:(.*)/,format:"control:%s"},{name:"rtcp",reg:/^rtcp:(\d*)(?: (\S*) IP(\d) (\S*))?/,names:["port","netType","ipVer","address"],format:function(o){return o.address!=null?"rtcp:%d %s IP%d %s":"rtcp:%d"}},{push:"rtcpFbTrrInt",reg:/^rtcp-fb:(\*|\d*) trr-int (\d*)/,names:["payload","value"],format:"rtcp-fb:%s trr-int %d"},{push:"rtcpFb",reg:/^rtcp-fb:(\*|\d*) ([\w-_]*)(?: ([\w-_]*))?/,names:["payload","type","subtype"],format:function(o){return o.subtype!=null?"rtcp-fb:%s %s %s":"rtcp-fb:%s %s"}},{push:"ext",reg:/^extmap:(\d+)(?:\/(\w+))?(?: (urn:ietf:params:rtp-hdrext:encrypt))? (\S*)(?: (\S*))?/,names:["value","direction","encrypt-uri","uri","config"],format:function(o){return"extmap:%d"+(o.direction?"/%s":"%v")+(o["encrypt-uri"]?" %s":"%v")+" %s"+(o.config?" %s":"")}},{name:"extmapAllowMixed",reg:/^(extmap-allow-mixed)/},{push:"crypto",reg:/^crypto:(\d*) ([\w_]*) (\S*)(?: (\S*))?/,names:["id","suite","config","sessionConfig"],format:function(o){return o.sessionConfig!=null?"crypto:%d %s %s %s":"crypto:%d %s %s"}},{name:"setup",reg:/^setup:(\w*)/,format:"setup:%s"},{name:"connectionType",reg:/^connection:(new|existing)/,format:"connection:%s"},{name:"mid",reg:/^mid:([^\s]*)/,format:"mid:%s"},{name:"msid",reg:/^msid:(.*)/,format:"msid:%s"},{name:"ptime",reg:/^ptime:(\d*(?:\.\d*)*)/,format:"ptime:%d"},{name:"maxptime",reg:/^maxptime:(\d*(?:\.\d*)*)/,format:"maxptime:%d"},{name:"direction",reg:/^(sendrecv|recvonly|sendonly|inactive)/},{name:"icelite",reg:/^(ice-lite)/},{name:"iceUfrag",reg:/^ice-ufrag:(\S*)/,format:"ice-ufrag:%s"},{name:"icePwd",reg:/^ice-pwd:(\S*)/,format:"ice-pwd:%s"},{name:"fingerprint",reg:/^fingerprint:(\S*) (\S*)/,names:["type","hash"],format:"fingerprint:%s %s"},{push:"candidates",reg:/^candidate:(\S*) (\d*) (\S*) (\d*) (\S*) (\d*) typ (\S*)(?: raddr (\S*) rport (\d*))?(?: tcptype (\S*))?(?: generation (\d*))?(?: network-id (\d*))?(?: network-cost (\d*))?/,names:["foundation","component","transport","priority","ip","port","type","raddr","rport","tcptype","generation","network-id","network-cost"],format:function(o){var l="candidate:%s %d %s %d %s %d typ %s";return l+=o.raddr!=null?" raddr %s rport %d":"%v%v",l+=o.tcptype!=null?" tcptype %s":"%v",o.generation!=null&&(l+=" generation %d"),(l+=o["network-id"]!=null?" network-id %d":"%v")+(o["network-cost"]!=null?" network-cost %d":"%v")}},{name:"endOfCandidates",reg:/^(end-of-candidates)/},{name:"remoteCandidates",reg:/^remote-candidates:(.*)/,format:"remote-candidates:%s"},{name:"iceOptions",reg:/^ice-options:(\S*)/,format:"ice-options:%s"},{push:"ssrcs",reg:/^ssrc:(\d*) ([\w_-]*)(?::(.*))?/,names:["id","attribute","value"],format:function(o){var l="ssrc:%d";return o.attribute!=null&&(l+=" %s",o.value!=null&&(l+=":%s")),l}},{push:"ssrcGroups",reg:/^ssrc-group:([\x21\x23\x24\x25\x26\x27\x2A\x2B\x2D\x2E\w]*) (.*)/,names:["semantics","ssrcs"],format:"ssrc-group:%s %s"},{name:"msidSemantic",reg:/^msid-semantic:\s?(\w*) (\S*)/,names:["semantic","token"],format:"msid-semantic: %s %s"},{push:"groups",reg:/^group:(\w*) (.*)/,names:["type","mids"],format:"group:%s %s"},{name:"rtcpMux",reg:/^(rtcp-mux)/},{name:"rtcpRsize",reg:/^(rtcp-rsize)/},{name:"sctpmap",reg:/^sctpmap:([\w_/]*) (\S*)(?: (\S*))?/,names:["sctpmapNumber","app","maxMessageSize"],format:function(o){return o.maxMessageSize!=null?"sctpmap:%s %s %s":"sctpmap:%s %s"}},{name:"xGoogleFlag",reg:/^x-google-flag:([^\s]*)/,format:"x-google-flag:%s"},{push:"rids",reg:/^rid:([\d\w]+) (\w+)(?: ([\S| ]*))?/,names:["id","direction","params"],format:function(o){return o.params?"rid:%s %s %s":"rid:%s %s"}},{push:"imageattrs",reg:new RegExp("^imageattr:(\\d+|\\*)[\\s\\t]+(send|recv)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*)(?:[\\s\\t]+(recv|send)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*))?"),names:["pt","dir1","attrs1","dir2","attrs2"],format:function(o){return"imageattr:%s %s %s"+(o.dir2?" %s %s":"")}},{name:"simulcast",reg:new RegExp("^simulcast:(send|recv) ([a-zA-Z0-9\\-_~;,]+)(?:\\s?(send|recv) ([a-zA-Z0-9\\-_~;,]+))?$"),names:["dir1","list1","dir2","list2"],format:function(o){return"simulcast:%s %s"+(o.dir2?" %s %s":"")}},{name:"simulcast_03",reg:/^simulcast:[\s\t]+([\S+\s\t]+)$/,names:["value"],format:"simulcast: %s"},{name:"framerate",reg:/^framerate:(\d+(?:$|\.\d+))/,format:"framerate:%s"},{name:"sourceFilter",reg:/^source-filter: *(excl|incl) (\S*) (IP4|IP6|\*) (\S*) (.*)/,names:["filterMode","netType","addressTypes","destAddress","srcList"],format:"source-filter: %s %s %s %s %s"},{name:"bundleOnly",reg:/^(bundle-only)/},{name:"label",reg:/^label:(.+)/,format:"label:%s"},{name:"sctpPort",reg:/^sctp-port:(\d+)$/,format:"sctp-port:%s"},{name:"maxMessageSize",reg:/^max-message-size:(\d+)$/,format:"max-message-size:%s"},{push:"tsRefClocks",reg:/^ts-refclk:([^\s=]*)(?:=(\S*))?/,names:["clksrc","clksrcExt"],format:function(o){return"ts-refclk:%s"+(o.clksrcExt!=null?"=%s":"")}},{name:"mediaClk",reg:/^mediaclk:(?:id=(\S*))? *([^\s=]*)(?:=(\S*))?(?: *rate=(\d+)\/(\d+))?/,names:["id","mediaClockName","mediaClockValue","rateNumerator","rateDenominator"],format:function(o){var l="mediaclk:";return l+=o.id!=null?"id=%s %s":"%v%s",l+=o.mediaClockValue!=null?"=%s":"",(l+=o.rateNumerator!=null?" rate=%s":"")+(o.rateDenominator!=null?"/%s":"")}},{name:"keywords",reg:/^keywds:(.+)$/,format:"keywds:%s"},{name:"content",reg:/^content:(.+)/,format:"content:%s"},{name:"bfcpFloorCtrl",reg:/^floorctrl:(c-only|s-only|c-s)/,format:"floorctrl:%s"},{name:"bfcpConfId",reg:/^confid:(\d+)/,format:"confid:%s"},{name:"bfcpUserId",reg:/^userid:(\d+)/,format:"userid:%s"},{name:"bfcpFloorId",reg:/^floorid:(.+) (?:m-stream|mstrm):(.+)/,names:["id","mStream"],format:"floorid:%s mstrm:%s"},{push:"invalid",names:["value"]}]};Object.keys(u).forEach(function(o){u[o].forEach(function(l){l.reg||(l.reg=/(.*)/),l.format||(l.format="%s")})})},2342:(E,u,o)=>{var l=o(3755),y=o(6594);u.write=y,u.parse=l.parse,u.parseParams=l.parseParams,u.parseFmtpConfig=l.parseFmtpConfig,u.parsePayloads=l.parsePayloads,u.parseRemoteCandidates=l.parseRemoteCandidates,u.parseImageAttributes=l.parseImageAttributes,u.parseSimulcastStreamList=l.parseSimulcastStreamList},3755:(E,u,o)=>{var l=function(p){return String(Number(p))===p?Number(p):p},y=function(p,g,_){var w=p.name&&p.names;p.push&&!g[p.push]?g[p.push]=[]:w&&!g[p.name]&&(g[p.name]={});var O=p.push?{}:w?g[p.name]:g;(function(x,F,G,P){if(P&&!G)F[P]=l(x[1]);else for(var Y=0;Y<G.length;Y+=1)x[Y+1]!=null&&(F[G[Y]]=l(x[Y+1]))})(_.match(p.reg),O,p.names,p.name),p.push&&g[p.push].push(O)},m=o(1751),v=RegExp.prototype.test.bind(/^([a-z])=(.*)/);u.parse=function(p){var g={},_=[],w=g;return p.split(/(\r\n|\r|\n)/).filter(v).forEach(function(O){var x=O[0],F=O.slice(2);x==="m"&&(_.push({rtp:[],fmtp:[]}),w=_[_.length-1]);for(var G=0;G<(m[x]||[]).length;G+=1){var P=m[x][G];if(P.reg.test(F))return y(P,w,F)}}),g.media=_,g};var j=function(p,g){var _=g.split(/=(.+)/,2);return _.length===2?p[_[0]]=l(_[1]):_.length===1&&g.length>1&&(p[_[0]]=void 0),p};u.parseParams=function(p){return p.split(/;\s?/).reduce(j,{})},u.parseFmtpConfig=u.parseParams,u.parsePayloads=function(p){return p.toString().split(" ").map(Number)},u.parseRemoteCandidates=function(p){for(var g=[],_=p.split(" ").map(l),w=0;w<_.length;w+=3)g.push({component:_[w],ip:_[w+1],port:_[w+2]});return g},u.parseImageAttributes=function(p){return p.split(" ").map(function(g){return g.substring(1,g.length-1).split(",").reduce(j,{})})},u.parseSimulcastStreamList=function(p){return p.split(";").map(function(g){return g.split(",").map(function(_){var w,O=!1;return _[0]!=="~"?w=l(_):(w=l(_.substring(1,_.length)),O=!0),{scid:w,paused:O}})})}},6594:(E,u,o)=>{var l=o(1751),y=/%[sdv%]/g,m=function(g){var _=1,w=arguments,O=w.length;return g.replace(y,function(x){if(_>=O)return x;var F=w[_];switch(_+=1,x){case"%%":return"%";case"%s":return String(F);case"%d":return Number(F);case"%v":return""}})},v=function(g,_,w){var O=[g+"="+(_.format instanceof Function?_.format(_.push?w:w[_.name]):_.format)];if(_.names)for(var x=0;x<_.names.length;x+=1){var F=_.names[x];_.name?O.push(w[_.name][F]):O.push(w[_.names[x]])}else O.push(w[_.name]);return m.apply(null,O)},j=["v","o","s","i","u","e","p","c","b","t","r","z","a"],p=["i","c","b","a"];E.exports=function(g,_){_=_||{},g.version==null&&(g.version=0),g.name==null&&(g.name=" "),g.media.forEach(function(F){F.payloads==null&&(F.payloads="")});var w=_.outerOrder||j,O=_.innerOrder||p,x=[];return w.forEach(function(F){l[F].forEach(function(G){G.name in g&&g[G.name]!=null?x.push(v(F,G,g)):G.push in g&&g[G.push]!=null&&g[G.push].forEach(function(P){x.push(v(F,G,P))})})}),g.media.forEach(function(F){x.push(v("m",l.m[0],F)),O.forEach(function(G){l[G].forEach(function(P){P.name in F&&F[P.name]!=null?x.push(v(G,P,F)):P.push in F&&F[P.push]!=null&&F[P.push].forEach(function(Y){x.push(v(G,P,Y))})})})}),x.join(`\r
9
9
  `)+`\r
10
- `}},2636:(E,u,o)=>{var l=o(766),y=o(9776),m=y.parseSsrcs,v=y.writeSsrcs;function j(w,O,x){return w.ssrcs.filter(function(F){return F.id===O}).filter(function(F){return F.attribute===x}).map(function(F){return F.value})[0]}function p(w){this.options=w||{},this.options.numOfLayers||(this.options.numOfLayers=3),this.ssrcCache=[]}function g(w,O){w!=null&&Array.isArray(w.media)&&w.media.forEach(function(x){x.type==="video"&&O(x)})}function _(w){return w&&w!=null&&w.type&&w.type!=""&&w.sdp&&w.sdp!=""}p.prototype.clearSsrcCache=function(){this.ssrcCache=[]},p.prototype.setSsrcCache=function(w){this.ssrcCache=w},p.prototype._parseSimLayers=function(w){var O=w.ssrcGroups&&w.ssrcGroups.find(function(x){return x.semantics==="SIM"});return O?O.ssrcs.split(" ").map(function(x){return parseInt(x)}):[w.ssrcs[0].id]},p.prototype._buildNewToOldSsrcMap=function(w,O){for(var x={},F=0;F<w.length;++F){var G=w[F],P=O[F]||null;x[G]=P}return x},p.prototype._fillInSourceDataFromCache=function(w){var O=this._parseSimLayers(w),x=j(w,O[0],"msid"),F=j(w,O[0],"cname"),G=this._buildNewToOldSsrcMap(O,this.ssrcCache),P=this.ssrcCache.filter(function(Y){return Object.values(G).indexOf(Y)===-1});return w.ssrcs.forEach(function(Y){G[Y.id]&&(Y.id=G[Y.id])}),P.forEach(function(Y){w.ssrcs.push({id:Y,attribute:"msid",value:x}),w.ssrcs.push({id:Y,attribute:"cname",value:F})}),w.ssrcGroups=w.ssrcGroups||[],w.ssrcGroups.push({semantics:"SIM",ssrcs:this.ssrcCache.join(" ")}),w},p.prototype._generateSourceData=function(w,O){var x=function(ge,Be){ge.ssrcs.push({id:Be,attribute:"cname",value:G}),ge.ssrcs.push({id:Be,attribute:"msid",value:F})},F=j(w,O,"msid"),G=j(w,O,"cname");this.options.usesUnifiedPlan&&!F&&(F=w.msid,w.ssrcs.forEach(ge=>{w.ssrcs.push({id:ge.id,attribute:"msid",value:F})}));for(var P=[],Y=0;Y<this.options.numOfLayers-1;++Y){var me=Math.floor(4294967295*Math.random())+0;x(w,me),P.push(me)}return w.ssrcGroups=w.ssrcGroups||[],w.ssrcGroups.push({semantics:"SIM",ssrcs:O+" "+P.join(" ")}),w},p.prototype._restoreSimulcast=function(w){var O,x=w.ssrcs&&w.ssrcs.map(function(P){return P.id}).filter(function(P,Y,me){return me.indexOf(P)===Y}).length||0,F=w.ssrcGroups&&w.ssrcGroups.length||0;if(x===0||x>2||x==2&&F===0)return w;if(x===1)O=w.ssrcs[0].id;else{var G=w.ssrcGroups.filter(function(P){return P.semantics==="FID"})[0];if(!G)return w;O=parseInt(G.ssrcs.split(" ")[0])}return w=this.ssrcCache.indexOf(O)!==-1?this._fillInSourceDataFromCache(w):this._generateSourceData(w,O),this.ssrcCache=this._parseSimLayers(w),w},p.prototype.mungeRemoteDescription=function(w,O){if(!_(w))return w;var x=l.parse(w.sdp),F=this;return g(x,function(G){F.options.explodeRemoteSimulcast?function(P){if(P&&Array.isArray(P.ssrcGroups)){for(var Y=m(P),me=[],ge=P.ssrcGroups.length;ge--;)if(P.ssrcGroups[ge].semantics==="SIM"){for(var Be=P.ssrcGroups[ge].ssrcs.split(" "),it=0;it<Be.length;it++){var be=Be[it];me.push(be);var Re=Y[be].msid.split(" ");Y[be].msid=[Re[0],"/",it," ",Re[1],"/",it].join(""),Y[be].cname=[Y[be].cname,"/",it].join(""),P.ssrcGroups.forEach(function(T){if(T.semantics!=="SIM"){var at=T.ssrcs.split(" ");at.indexOf(be)!==-1&&at.forEach(function(Ee){Y[Ee].msid=Y[be].msid,Y[Ee].cname=Y[be].cname,Ee!==be&&me.push(Ee)})}})}P.ssrcs=v(Y,me),P.ssrcGroups.splice(ge,1)}}}(G):function(P){if(P&&Array.isArray(P.ssrcGroups)){var Y=m(P);P.ssrcGroups.forEach(function(ge){if(ge.semantics==="SIM"){ge.nuke=!0;for(var Be=ge.ssrcs.split(" "),it=1;it<Be.length;it++){var be=Be[it];delete Y[be],P.ssrcGroups.forEach(function(Re){if(Re.semantics!=="SIM"){var T=Re.ssrcs.split(" ");T.indexOf(be)!==-1&&(T.forEach(function(at){delete Y[at]}),Re.nuke=!0)}})}}}),P.ssrcs=v(Y);for(var me=P.ssrcGroups.length;me--;)P.ssrcGroups[me].nuke&&P.ssrcGroups.splice(me,1)}}(G),!F.options.usesUnifiedPlan&&O?function(P){P&&(Array.isArray(P.invalid)||(P.invalid=[]),P.invalid.some(function(Y){return Y.value==="x-google-flag:conference"})||P.invalid.push({value:"x-google-flag:conference"}))}(G):function(P){P&&P.xGoogleFlag!==void 0&&(P.xGoogleFlag=void 0)}(G)}),new RTCSessionDescription({type:w.type,sdp:l.write(x)})},p.prototype.mungeLocalDescription=function(w){if(!_(w))return w;var O=l.parse(w.sdp),x=this;return g(O,function(F){F.direction!="recvonly"&&F.direction!="inactive"&&x._restoreSimulcast(F)}),new RTCSessionDescription({type:w.type,sdp:l.write(O)})},E.exports=p},9776:(E,u)=>{u.writeSsrcs=function(o,l){var y=[];if(o!==void 0&&Object.keys(o).length!==0){Array.isArray(l)||(l=[]);for(var m=0;m<l.length;m++){var v=l[m],j=o[v];Object.keys(j).forEach(function(p){y.push({id:v,attribute:p,value:j[p]})})}Object.keys(o).forEach(function(p){if(p=parseInt(p),!(l.indexOf(p)>=0)){var g=o[p];Object.keys(g).forEach(function(_){y.push({id:p,attribute:_,value:g[_]})})}})}return y},u.parseSsrcs=function(o){var l={};return o.ssrcs!==void 0&&Array.isArray(o.ssrcs)&&o.ssrcs.forEach(function(y){l[y.id]||(l[y.id]={}),l[y.id][y.attribute]=y.value}),l}},4449:(E,u,o)=>{E.exports=o(6141).default},2444:E=>{E.exports=class{constructor(u,o,l){this._userId=u,this.setDisplayName(o),this._isLocalStats=l||!1,this.setDominantSpeaker(!1),this.totalDominantSpeakerTime=0,this._dominantSpeakerStart=0,this._hasLeft=!1,this._facialExpressions={happy:0,neutral:0,surprised:0,angry:0,fearful:0,disgusted:0,sad:0}}getUserId(){return this._userId}getDisplayName(){return this.displayName}setDisplayName(u){this.displayName=u}isLocalStats(){return this._isLocalStats}isDominantSpeaker(){return this._dominantSpeakerStart>0}setDominantSpeaker(u){if(!this.isDominantSpeaker()&&u)this._dominantSpeakerStart=Date.now();else if(this.isDominantSpeaker()&&!u){const o=Date.now()-this._dominantSpeakerStart;this.totalDominantSpeakerTime+=o,this._dominantSpeakerStart=0}}getTotalDominantSpeakerTime(){let u=this.totalDominantSpeakerTime;return this.isDominantSpeaker()&&(u+=Date.now()-this._dominantSpeakerStart),u}hasLeft(){return this._hasLeft}markAsHasLeft(){this._hasLeft=!0,this.setDominantSpeaker(!1)}getFacialExpressions(){return this._facialExpressions}setFacialExpressions(u){this._facialExpressions=u}addFacialExpression(u,o){this._facialExpressions[u]+=o}}},4424:E=>{E.exports={getTokenAuthUrl:(u,o,l)=>typeof u!="string"?null:u.replace("{room}",o).replace("{roleUpgrade}",l===!0)}},4832:E=>{function u(o,l){if(!o||!l||typeof o.addListener!="function"||typeof l.emit!="function")throw new Error("Invalid arguments passed to EventEmitterForwarder");this.src=o,this.dest=l}u.prototype.forward=function(){for(var o=arguments.length,l=new Array(o),y=0;y<o;y++)l[y]=arguments[y];const m=l[0];l[0]=this.dest,this.src.addListener(m,Function.prototype.bind.apply(this.dest.emit,l))},E.exports=u},1023:E=>{const u=[],o=window.onerror,l=window.onunhandledrejection;window.onerror=function(){for(var m=arguments.length,v=new Array(m),j=0;j<m;j++)v[j]=arguments[j];u.forEach(p=>p(...v)),o&&o(...v)},window.onunhandledrejection=function(m){u.forEach(v=>v(null,null,null,null,m.reason)),l&&l(m)};const y={addHandler(m){u.push(m)},callErrorHandler(m){const v=window.onerror;v&&v(null,null,null,null,m)},callUnhandledRejectionHandler(m){const v=window.onunhandledrejection;v&&v(m)}};E.exports=y},5399:E=>{function u(y,m){return Math.floor(Math.random()*(m-y+1))+y}function o(y){return y[u(0,y.length-1)]}const l={randomHexDigit:()=>o("0123456789abcdef"),randomHexString(y){let m="";for(;y--;)m+=this.randomHexDigit();return m},randomElement:o,randomAlphanumStr:function(y){let m="";for(let v=0;v<y;v+=1)m+=o("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ");return m},randomInt:u};E.exports=l},549:(E,u,o)=>{const l=o(667),y={loadScript(m,v,j,p,g,_){const w=document,O="script",x=w.createElement(O),F=w.getElementsByTagName(O)[0];if(x.async=v,p){const G=l();if(G){const P=G.src,Y=P.substring(0,P.lastIndexOf("/")+1);P&&Y&&(m=Y+m)}}g&&(x.onload=g),_&&(x.onerror=_),x.src=m,j?F.parentNode.insertBefore(x,F):F.parentNode.appendChild(x)}};E.exports=y},2593:E=>{E.exports={integerHash:function(u){if(!u)return 0;let o,l,y=0;for(l=0;l<u.length;l++)o=u.charCodeAt(l),y+=o*Math.pow(31,u.length-1-l),y=Math.abs(0|y);return y}}},6667:(E,u,o)=>{const l=o(5399),y=["Aaliyah","Aaron","Abagail","Abbey","Abbie","Abbigail","Abby","Abdiel","Abdul","Abdullah","Abe","Abel","Abelardo","Abigail","Abigale","Abigayle","Abner","Abraham","Ada","Adah","Adalberto","Adaline","Adam","Adan","Addie","Addison","Adela","Adelbert","Adele","Adelia","Adeline","Adell","Adella","Adelle","Aditya","Adolf","Adolfo","Adolph","Adolphus","Adonis","Adrain","Adrian","Adriana","Adrianna","Adriel","Adrien","Adrienne","Afton","Aglae","Agnes","Agustin","Agustina","Ahmad","Ahmed","Aida","Aidan","Aiden","Aileen","Aisha","Aiyana","Akeem","Al","Alaina","Alan","Alana","Alanis","Alanna","Alayna","Alba","Albert","Alberta","Albertha","Alberto","Albin","Albina","Alda","Alden","Alec","Aleen","Alejandra","Alejandrin","Alek","Alena","Alene","Alessandra","Alessandro","Alessia","Aletha","Alex","Alexa","Alexander","Alexandra","Alexandre","Alexandrea","Alexandria","Alexandrine","Alexandro","Alexane","Alexanne","Alexie","Alexis","Alexys","Alexzander","Alf","Alfonso","Alfonzo","Alford","Alfred","Alfreda","Alfredo","Ali","Alia","Alice","Alicia","Alisa","Alisha","Alison","Alivia","Aliya","Aliyah","Aliza","Alize","Allan","Allen","Allene","Allie","Allison","Ally","Alphonso","Alta","Althea","Alva","Alvah","Alvena","Alvera","Alverta","Alvina","Alvis","Alyce","Alycia","Alysa","Alysha","Alyson","Alysson","Amalia","Amanda","Amani","Amara","Amari","Amaya","Amber","Ambrose","Amelia","Amelie","Amely","America","Americo","Amie","Amina","Amir","Amira","Amiya","Amos","Amparo","Amy","Amya","Ana","Anabel","Anabelle","Anahi","Anais","Anastacio","Anastasia","Anderson","Andre","Andreane","Andreanne","Andres","Andrew","Andy","Angel","Angela","Angelica","Angelina","Angeline","Angelita","Angelo","Angie","Angus","Anibal","Anika","Anissa","Anita","Aniya","Aniyah","Anjali","Anna","Annabel","Annabell","Annabelle","Annalise","Annamae","Annamarie","Anne","Annetta","Annette","Annie","Ansel","Ansley","Anthony","Antoinette","Antone","Antonetta","Antonette","Antonia","Antonietta","Antonina","Antonio","Antwan","Antwon","Anya","April","Ara","Araceli","Aracely","Arch","Archibald","Ardella","Arden","Ardith","Arely","Ari","Ariane","Arianna","Aric","Ariel","Arielle","Arjun","Arlene","Arlie","Arlo","Armand","Armando","Armani","Arnaldo","Arne","Arno","Arnold","Arnoldo","Arnulfo","Aron","Art","Arthur","Arturo","Arvel","Arvid","Arvilla","Aryanna","Asa","Asha","Ashlee","Ashleigh","Ashley","Ashly","Ashlynn","Ashton","Ashtyn","Asia","Assunta","Astrid","Athena","Aubree","Aubrey","Audie","Audra","Audreanne","Audrey","August","Augusta","Augustine","Augustus","Aurelia","Aurelie","Aurelio","Aurore","Austen","Austin","Austyn","Autumn","Ava","Avery","Avis","Axel","Ayana","Ayden","Ayla","Aylin","Baby","Bailee","Bailey","Barbara","Barney","Baron","Barrett","Barry","Bart","Bartholome","Barton","Baylee","Beatrice","Beau","Beaulah","Bell","Bella","Belle","Ben","Benedict","Benjamin","Bennett","Bennie","Benny","Benton","Berenice","Bernadette","Bernadine","Bernard","Bernardo","Berneice","Bernhard","Bernice","Bernie","Berniece","Bernita","Berry","Bert","Berta","Bertha","Bertram","Bertrand","Beryl","Bessie","Beth","Bethany","Bethel","Betsy","Bette","Bettie","Betty","Bettye","Beulah","Beverly","Bianka","Bill","Billie","Billy","Birdie","Blair","Blaise","Blake","Blanca","Blanche","Blaze","Bo","Bobbie","Bobby","Bonita","Bonnie","Boris","Boyd","Brad","Braden","Bradford","Bradley","Bradly","Brady","Braeden","Brain","Brandi","Brando","Brandon","Brandt","Brandy","Brandyn","Brannon","Branson","Brant","Braulio","Braxton","Brayan","Breana","Breanna","Breanne","Brenda","Brendan","Brenden","Brendon","Brenna","Brennan","Brennon","Brent","Bret","Brett","Bria","Brian","Briana","Brianne","Brice","Bridget","Bridgette","Bridie","Brielle","Brigitte","Brionna","Brisa","Britney","Brittany","Brock","Broderick","Brody","Brook","Brooke","Brooklyn","Brooks","Brown","Bruce","Bryana","Bryce","Brycen","Bryon","Buck","Bud","Buddy","Buford","Bulah","Burdette","Burley","Burnice","Buster","Cade","Caden","Caesar","Caitlyn","Cale","Caleb","Caleigh","Cali","Calista","Callie","Camden","Cameron","Camila","Camilla","Camille","Camren","Camron","Camryn","Camylle","Candace","Candelario","Candice","Candida","Candido","Cara","Carey","Carissa","Carlee","Carleton","Carley","Carli","Carlie","Carlo","Carlos","Carlotta","Carmel","Carmela","Carmella","Carmelo","Carmen","Carmine","Carol","Carolanne","Carole","Carolina","Caroline","Carolyn","Carolyne","Carrie","Carroll","Carson","Carter","Cary","Casandra","Casey","Casimer","Casimir","Casper","Cassandra","Cassandre","Cassidy","Cassie","Catalina","Caterina","Catharine","Catherine","Cathrine","Cathryn","Cathy","Cayla","Ceasar","Cecelia","Cecil","Cecile","Cecilia","Cedrick","Celestine","Celestino","Celia","Celine","Cesar","Chad","Chadd","Chadrick","Chaim","Chance","Chandler","Chanel","Chanelle","Charity","Charlene","Charles","Charley","Charlie","Charlotte","Chase","Chasity","Chauncey","Chaya","Chaz","Chelsea","Chelsey","Chelsie","Chesley","Chester","Chet","Cheyanne","Cheyenne","Chloe","Chris","Christ","Christa","Christelle","Christian","Christiana","Christina","Christine","Christop","Christophe","Christopher","Christy","Chyna","Ciara","Cicero","Cielo","Cierra","Cindy","Citlalli","Clair","Claire","Clara","Clarabelle","Clare","Clarissa","Clark","Claud","Claude","Claudia","Claudie","Claudine","Clay","Clemens","Clement","Clementina","Clementine","Clemmie","Cleo","Cleora","Cleta","Cletus","Cleve","Cleveland","Clifford","Clifton","Clint","Clinton","Clotilde","Clovis","Cloyd","Clyde","Coby","Cody","Colby","Cole","Coleman","Colin","Colleen","Collin","Colt","Colten","Colton","Columbus","Concepcion","Conner","Connie","Connor","Conor","Conrad","Constance","Constantin","Consuelo","Cooper","Cora","Coralie","Corbin","Cordelia","Cordell","Cordia","Cordie","Corene","Corine","Cornelius","Cornell","Corrine","Cortez","Cortney","Cory","Coty","Courtney","Coy","Craig","Crawford","Creola","Cristal","Cristian","Cristina","Cristobal","Cristopher","Cruz","Crystal","Crystel","Cullen","Curt","Curtis","Cydney","Cynthia","Cyril","Cyrus","Dagmar","Dahlia","Daija","Daisha","Daisy","Dakota","Dale","Dallas","Dallin","Dalton","Damaris","Dameon","Damian","Damien","Damion","Damon","Dan","Dana","Dandre","Dane","D'angelo","Dangelo","Danial","Daniela","Daniella","Danielle","Danika","Dannie","Danny","Dante","Danyka","Daphne","Daphnee","Daphney","Darby","Daren","Darian","Dariana","Darien","Dario","Darion","Darius","Darlene","Daron","Darrel","Darrell","Darren","Darrick","Darrin","Darrion","Darron","Darryl","Darwin","Daryl","Dashawn","Dasia","Dave","David","Davin","Davion","Davon","Davonte","Dawn","Dawson","Dax","Dayana","Dayna","Dayne","Dayton","Dean","Deangelo","Deanna","Deborah","Declan","Dedric","Dedrick","Dee","Deion","Deja","Dejah","Dejon","Dejuan","Delaney","Delbert","Delfina","Delia","Delilah","Dell","Della","Delmer","Delores","Delpha","Delphia","Delphine","Delta","Demarco","Demarcus","Demario","Demetris","Demetrius","Demond","Dena","Denis","Dennis","Deon","Deondre","Deontae","Deonte","Dereck","Derek","Derick","Deron","Derrick","Deshaun","Deshawn","Desiree","Desmond","Dessie","Destany","Destin","Destinee","Destiney","Destini","Destiny","Devan","Devante","Deven","Devin","Devon","Devonte","Devyn","Dewayne","Dewitt","Dexter","Diamond","Diana","Dianna","Diego","Dillan","Dillon","Dimitri","Dina","Dino","Dion","Dixie","Dock","Dolly","Dolores","Domenic","Domenica","Domenick","Domenico","Domingo","Dominic","Dominique","Don","Donald","Donato","Donavon","Donna","Donnell","Donnie","Donny","Dora","Dorcas","Dorian","Doris","Dorothea","Dorothy","Dorris","Dortha","Dorthy","Doug","Douglas","Dovie","Doyle","Drake","Drew","Duane","Dudley","Dulce","Duncan","Durward","Dustin","Dusty","Dwight","Dylan","Earl","Earlene","Earline","Earnest","Earnestine","Easter","Easton","Ebba","Ebony","Ed","Eda","Edd","Eddie","Eden","Edgar","Edgardo","Edison","Edmond","Edmund","Edna","Eduardo","Edward","Edwardo","Edwin","Edwina","Edyth","Edythe","Effie","Efrain","Efren","Eileen","Einar","Eino","Eladio","Elaina","Elbert","Elda","Eldon","Eldora","Eldred","Eldridge","Eleanora","Eleanore","Eleazar","Electa","Elena","Elenor","Elenora","Eleonore","Elfrieda","Eli","Elian","Eliane","Elias","Eliezer","Elijah","Elinor","Elinore","Elisa","Elisabeth","Elise","Eliseo","Elisha","Elissa","Eliza","Elizabeth","Ella","Ellen","Ellie","Elliot","Elliott","Ellis","Ellsworth","Elmer","Elmira","Elmo","Elmore","Elna","Elnora","Elody","Eloisa","Eloise","Elouise","Eloy","Elroy","Elsa","Else","Elsie","Elta","Elton","Elva","Elvera","Elvie","Elvis","Elwin","Elwyn","Elyse","Elyssa","Elza","Emanuel","Emelia","Emelie","Emely","Emerald","Emerson","Emery","Emie","Emil","Emile","Emilia","Emiliano","Emilie","Emilio","Emily","Emma","Emmalee","Emmanuel","Emmanuelle","Emmet","Emmett","Emmie","Emmitt","Emmy","Emory","Ena","Enid","Enoch","Enola","Enos","Enrico","Enrique","Ephraim","Era","Eriberto","Eric","Erica","Erich","Erick","Ericka","Erik","Erika","Erin","Erling","Erna","Ernest","Ernestina","Ernestine","Ernesto","Ernie","Ervin","Erwin","Eryn","Esmeralda","Esperanza","Esta","Esteban","Estefania","Estel","Estell","Estella","Estelle","Estevan","Esther","Estrella","Etha","Ethan","Ethel","Ethelyn","Ethyl","Ettie","Eudora","Eugene","Eugenia","Eula","Eulah","Eulalia","Euna","Eunice","Eusebio","Eva","Evalyn","Evan","Evangeline","Evans","Eve","Eveline","Evelyn","Everardo","Everett","Everette","Evert","Evie","Ewald","Ewell","Ezekiel","Ezequiel","Ezra","Fabian","Fabiola","Fae","Fannie","Fanny","Fatima","Faustino","Fausto","Favian","Fay","Faye","Federico","Felicia","Felicita","Felicity","Felipa","Felipe","Felix","Felton","Fermin","Fern","Fernando","Ferne","Fidel","Filiberto","Filomena","Finn","Fiona","Flavie","Flavio","Fleta","Fletcher","Flo","Florence","Florencio","Florian","Florida","Florine","Flossie","Floy","Floyd","Ford","Forest","Forrest","Foster","Frances","Francesca","Francesco","Francis","Francisca","Francisco","Franco","Frank","Frankie","Franz","Fred","Freda","Freddie","Freddy","Frederic","Frederick","Frederik","Frederique","Fredrick","Fredy","Freeda","Freeman","Freida","Frida","Frieda","Friedrich","Fritz","Furman","Gabe","Gabriel","Gabriella","Gabrielle","Gaetano","Gage","Gail","Gardner","Garett","Garfield","Garland","Garnet","Garnett","Garret","Garrett","Garrick","Garrison","Garry","Garth","Gaston","Gavin","Gay","Gayle","Gaylord","Gene","General","Genesis","Genevieve","Gennaro","Genoveva","Geo","Geoffrey","George","Georgette","Georgiana","Georgianna","Geovanni","Geovanny","Geovany","Gerald","Geraldine","Gerard","Gerardo","Gerda","Gerhard","Germaine","German","Gerry","Gerson","Gertrude","Gia","Gianni","Gideon","Gilbert","Gilberto","Gilda","Giles","Gillian","Gina","Gino","Giovani","Giovanna","Giovanni","Giovanny","Gisselle","Giuseppe","Gladyce","Gladys","Glen","Glenda","Glenna","Glennie","Gloria","Godfrey","Golda","Golden","Gonzalo","Gordon","Grace","Gracie","Graciela","Grady","Graham","Grant","Granville","Grayce","Grayson","Green","Greg","Gregg","Gregoria","Gregorio","Gregory","Greta","Gretchen","Greyson","Griffin","Grover","Guadalupe","Gudrun","Guido","Guillermo","Guiseppe","Gunnar","Gunner","Gus","Gussie","Gust","Gustave","Guy","Gwen","Gwendolyn","Hadley","Hailee","Hailey","Hailie","Hal","Haleigh","Haley","Halie","Halle","Hallie","Hank","Hanna","Hannah","Hans","Hardy","Harley","Harmon","Harmony","Harold","Harrison","Harry","Harvey","Haskell","Hassan","Hassie","Hattie","Haven","Hayden","Haylee","Hayley","Haylie","Hazel","Hazle","Heath","Heather","Heaven","Heber","Hector","Heidi","Helen","Helena","Helene","Helga","Hellen","Helmer","Heloise","Henderson","Henri","Henriette","Henry","Herbert","Herman","Hermann","Hermina","Herminia","Herminio","Hershel","Herta","Hertha","Hester","Hettie","Hilario","Hilbert","Hilda","Hildegard","Hillard","Hillary","Hilma","Hilton","Hipolito","Hiram","Hobart","Holden","Hollie","Hollis","Holly","Hope","Horace","Horacio","Hortense","Hosea","Houston","Howard","Howell","Hoyt","Hubert","Hudson","Hugh","Hulda","Humberto","Hunter","Hyman","Ian","Ibrahim","Icie","Ida","Idell","Idella","Ignacio","Ignatius","Ike","Ila","Ilene","Iliana","Ima","Imani","Imelda","Immanuel","Imogene","Ines","Irma","Irving","Irwin","Isaac","Isabel","Isabell","Isabella","Isabelle","Isac","Isadore","Isai","Isaiah","Isaias","Isidro","Ismael","Isobel","Isom","Israel","Issac","Itzel","Iva","Ivah","Ivory","Ivy","Izabella","Izaiah","Jabari","Jace","Jacey","Jacinthe","Jacinto","Jack","Jackeline","Jackie","Jacklyn","Jackson","Jacky","Jaclyn","Jacquelyn","Jacques","Jacynthe","Jada","Jade","Jaden","Jadon","Jadyn","Jaeden","Jaida","Jaiden","Jailyn","Jaime","Jairo","Jakayla","Jake","Jakob","Jaleel","Jalen","Jalon","Jalyn","Jamaal","Jamal","Jamar","Jamarcus","Jamel","Jameson","Jamey","Jamie","Jamil","Jamir","Jamison","Jammie","Jan","Jana","Janae","Jane","Janelle","Janessa","Janet","Janice","Janick","Janie","Janis","Janiya","Jannie","Jany","Jaquan","Jaquelin","Jaqueline","Jared","Jaren","Jarod","Jaron","Jarred","Jarrell","Jarret","Jarrett","Jarrod","Jarvis","Jasen","Jasmin","Jason","Jasper","Jaunita","Javier","Javon","Javonte","Jay","Jayce","Jaycee","Jayda","Jayde","Jayden","Jaydon","Jaylan","Jaylen","Jaylin","Jaylon","Jayme","Jayne","Jayson","Jazlyn","Jazmin","Jazmyn","Jazmyne","Jean","Jeanette","Jeanie","Jeanne","Jed","Jedediah","Jedidiah","Jeff","Jefferey","Jeffery","Jeffrey","Jeffry","Jena","Jenifer","Jennie","Jennifer","Jennings","Jennyfer","Jensen","Jerad","Jerald","Jeramie","Jeramy","Jerel","Jeremie","Jeremy","Jermain","Jermaine","Jermey","Jerod","Jerome","Jeromy","Jerrell","Jerrod","Jerrold","Jerry","Jess","Jesse","Jessica","Jessie","Jessika","Jessy","Jessyca","Jesus","Jett","Jettie","Jevon","Jewel","Jewell","Jillian","Jimmie","Jimmy","Jo","Joan","Joana","Joanie","Joanne","Joannie","Joanny","Joany","Joaquin","Jocelyn","Jodie","Jody","Joe","Joel","Joelle","Joesph","Joey","Johan","Johann","Johanna","Johathan","John","Johnathan","Johnathon","Johnnie","Johnny","Johnpaul","Johnson","Jolie","Jon","Jonas","Jonatan","Jonathan","Jonathon","Jordan","Jordane","Jordi","Jordon","Jordy","Jordyn","Jorge","Jose","Josefa","Josefina","Joseph","Josephine","Josh","Joshua","Joshuah","Josiah","Josiane","Josianne","Josie","Josue","Jovan","Jovani","Jovanny","Jovany","Joy","Joyce","Juana","Juanita","Judah","Judd","Jude","Judge","Judson","Judy","Jules","Julia","Julian","Juliana","Julianne","Julie","Julien","Juliet","Julio","Julius","June","Junior","Junius","Justen","Justice","Justina","Justine","Juston","Justus","Justyn","Juvenal","Juwan","Kacey","Kaci","Kacie","Kade","Kaden","Kadin","Kaela","Kaelyn","Kaia","Kailee","Kailey","Kailyn","Kaitlin","Kaitlyn","Kale","Kaleb","Kaleigh","Kaley","Kali","Kallie","Kameron","Kamille","Kamren","Kamron","Kamryn","Kane","Kara","Kareem","Karelle","Karen","Kari","Kariane","Karianne","Karina","Karine","Karl","Karlee","Karley","Karli","Karlie","Karolann","Karson","Kasandra","Kasey","Kassandra","Katarina","Katelin","Katelyn","Katelynn","Katharina","Katherine","Katheryn","Kathleen","Kathlyn","Kathryn","Kathryne","Katlyn","Katlynn","Katrina","Katrine","Kattie","Kavon","Kay","Kaya","Kaycee","Kayden","Kayla","Kaylah","Kaylee","Kayleigh","Kayley","Kayli","Kaylie","Kaylin","Keagan","Keanu","Keara","Keaton","Keegan","Keeley","Keely","Keenan","Keira","Keith","Kellen","Kelley","Kelli","Kellie","Kelly","Kelsi","Kelsie","Kelton","Kelvin","Ken","Kendall","Kendra","Kendrick","Kenna","Kennedi","Kennedy","Kenneth","Kennith","Kenny","Kenton","Kenya","Kenyatta","Kenyon","Keon","Keshaun","Keshawn","Keven","Kevin","Kevon","Keyon","Keyshawn","Khalid","Khalil","Kian","Kiana","Kianna","Kiara","Kiarra","Kiel","Kiera","Kieran","Kiley","Kim","Kimberly","King","Kip","Kira","Kirk","Kirsten","Kirstin","Kitty","Kobe","Koby","Kody","Kolby","Kole","Korbin","Korey","Kory","Kraig","Kris","Krista","Kristian","Kristin","Kristina","Kristofer","Kristoffer","Kristopher","Kristy","Krystal","Krystel","Krystina","Kurt","Kurtis","Kyla","Kyle","Kylee","Kyleigh","Kyler","Kylie","Kyra","Lacey","Lacy","Ladarius","Lafayette","Laila","Laisha","Lamar","Lambert","Lamont","Lance","Landen","Lane","Laney","Larissa","Laron","Larry","Larue","Laura","Laurel","Lauren","Laurence","Lauretta","Lauriane","Laurianne","Laurie","Laurine","Laury","Lauryn","Lavada","Lavern","Laverna","Laverne","Lavina","Lavinia","Lavon","Lavonne","Lawrence","Lawson","Layla","Layne","Lazaro","Lea","Leann","Leanna","Leanne","Leatha","Leda","Lee","Leif","Leila","Leilani","Lela","Lelah","Leland","Lelia","Lempi","Lemuel","Lenna","Lennie","Lenny","Lenora","Lenore","Leo","Leola","Leon","Leonard","Leonardo","Leone","Leonel","Leonie","Leonor","Leonora","Leopold","Leopoldo","Leora","Lera","Lesley","Leslie","Lesly","Lessie","Lester","Leta","Letha","Letitia","Levi","Lew","Lewis","Lexi","Lexie","Lexus","Lia","Liam","Liana","Libbie","Libby","Lila","Lilian","Liliana","Liliane","Lilla","Lillian","Lilliana","Lillie","Lilly","Lily","Lilyan","Lina","Lincoln","Linda","Lindsay","Lindsey","Linnea","Linnie","Linwood","Lionel","Lisa","Lisandro","Lisette","Litzy","Liza","Lizeth","Lizzie","Llewellyn","Lloyd","Logan","Lois","Lola","Lolita","Loma","Lon","London","Lonie","Lonnie","Lonny","Lonzo","Lora","Loraine","Loren","Lorena","Lorenz","Lorenza","Lorenzo","Lori","Lorine","Lorna","Lottie","Lou","Louie","Louisa","Lourdes","Louvenia","Lowell","Loy","Loyal","Loyce","Lucas","Luciano","Lucie","Lucienne","Lucile","Lucinda","Lucio","Lucious","Lucius","Lucy","Ludie","Ludwig","Lue","Luella","Luigi","Luis","Luisa","Lukas","Lula","Lulu","Luna","Lupe","Lura","Lurline","Luther","Luz","Lyda","Lydia","Lyla","Lynn","Lyric","Lysanne","Mabel","Mabelle","Mable","Mac","Macey","Maci","Macie","Mack","Mackenzie","Macy","Madaline","Madalyn","Maddison","Madeline","Madelyn","Madelynn","Madge","Madie","Madilyn","Madisen","Madison","Madisyn","Madonna","Madyson","Mae","Maegan","Maeve","Mafalda","Magali","Magdalen","Magdalena","Maggie","Magnolia","Magnus","Maia","Maida","Maiya","Major","Makayla","Makenna","Makenzie","Malachi","Malcolm","Malika","Malinda","Mallie","Mallory","Malvina","Mandy","Manley","Manuel","Manuela","Mara","Marc","Marcel","Marcelina","Marcelino","Marcella","Marcelle","Marcellus","Marcelo","Marcia","Marco","Marcos","Marcus","Margaret","Margarete","Margarett","Margaretta","Margarette","Margarita","Marge","Margie","Margot","Margret","Marguerite","Maria","Mariah","Mariam","Marian","Mariana","Mariane","Marianna","Marianne","Mariano","Maribel","Marie","Mariela","Marielle","Marietta","Marilie","Marilou","Marilyne","Marina","Mario","Marion","Marisa","Marisol","Maritza","Marjolaine","Marjorie","Marjory","Mark","Markus","Marlee","Marlen","Marlene","Marley","Marlin","Marlon","Marques","Marquis","Marquise","Marshall","Marta","Martin","Martina","Martine","Marty","Marvin","Mary","Maryam","Maryjane","Maryse","Mason","Mateo","Mathew","Mathias","Mathilde","Matilda","Matilde","Matt","Matteo","Mattie","Maud","Maude","Maudie","Maureen","Maurice","Mauricio","Maurine","Maverick","Mavis","Max","Maxie","Maxime","Maximilian","Maximillia","Maximillian","Maximo","Maximus","Maxine","Maxwell","May","Maya","Maybell","Maybelle","Maye","Maymie","Maynard","Mayra","Mazie","Mckayla","Mckenna","Mckenzie","Meagan","Meaghan","Meda","Megane","Meggie","Meghan","Mekhi","Melany","Melba","Melisa","Melissa","Mellie","Melody","Melvin","Melvina","Melyna","Melyssa","Mercedes","Meredith","Merl","Merle","Merlin","Merritt","Mertie","Mervin","Meta","Mia","Micaela","Micah","Michael","Michaela","Michale","Micheal","Michel","Michele","Michelle","Miguel","Mikayla","Mike","Mikel","Milan","Miles","Milford","Miller","Millie","Milo","Milton","Mina","Minerva","Minnie","Miracle","Mireille","Mireya","Misael","Missouri","Misty","Mitchel","Mitchell","Mittie","Modesta","Modesto","Mohamed","Mohammad","Mohammed","Moises","Mollie","Molly","Mona","Monica","Monique","Monroe","Monserrat","Monserrate","Montana","Monte","Monty","Morgan","Moriah","Morris","Mortimer","Morton","Mose","Moses","Moshe","Mossie","Mozell","Mozelle","Muhammad","Muriel","Murl","Murphy","Murray","Mustafa","Mya","Myah","Mylene","Myles","Myra","Myriam","Myrl","Myrna","Myron","Myrtice","Myrtie","Myrtis","Myrtle","Nadia","Nakia","Name","Nannie","Naomi","Naomie","Napoleon","Narciso","Nash","Nasir","Nat","Natalia","Natalie","Natasha","Nathan","Nathanael","Nathanial","Nathaniel","Nathen","Nayeli","Neal","Ned","Nedra","Neha","Neil","Nelda","Nella","Nelle","Nellie","Nels","Nelson","Neoma","Nestor","Nettie","Neva","Newell","Newton","Nia","Nicholas","Nicholaus","Nichole","Nick","Nicklaus","Nickolas","Nico","Nicola","Nicolas","Nicole","Nicolette","Nigel","Nikita","Nikki","Nikko","Niko","Nikolas","Nils","Nina","Noah","Noble","Noe","Noel","Noelia","Noemi","Noemie","Noemy","Nola","Nolan","Nona","Nora","Norbert","Norberto","Norene","Norma","Norris","Norval","Norwood","Nova","Novella","Nya","Nyah","Nyasia","Obie","Oceane","Ocie","Octavia","Oda","Odell","Odessa","Odie","Ofelia","Okey","Ola","Olaf","Ole","Olen","Oleta","Olga","Olin","Oliver","Ollie","Oma","Omari","Omer","Ona","Onie","Opal","Ophelia","Ora","Oral","Oran","Oren","Orie","Orin","Orion","Orland","Orlando","Orlo","Orpha","Orrin","Orval","Orville","Osbaldo","Osborne","Oscar","Osvaldo","Oswald","Oswaldo","Otha","Otho","Otilia","Otis","Ottilie","Ottis","Otto","Ova","Owen","Ozella","Pablo","Paige","Palma","Pamela","Pansy","Paolo","Paris","Parker","Pascale","Pasquale","Pat","Patience","Patricia","Patrick","Patsy","Pattie","Paul","Paula","Pauline","Paxton","Payton","Pearl","Pearlie","Pearline","Pedro","Peggie","Penelope","Percival","Percy","Perry","Pete","Peter","Petra","Peyton","Philip","Phoebe","Phyllis","Pierce","Pierre","Pietro","Pink","Pinkie","Piper","Polly","Porter","Precious","Presley","Preston","Price","Prince","Princess","Priscilla","Providenci","Prudence","Queen","Queenie","Quentin","Quincy","Quinn","Quinten","Quinton","Rachael","Rachel","Rachelle","Rae","Raegan","Rafael","Rafaela","Raheem","Rahsaan","Rahul","Raina","Raleigh","Ralph","Ramiro","Ramon","Ramona","Randal","Randall","Randi","Randy","Ransom","Raoul","Raphael","Raphaelle","Raquel","Rashad","Rashawn","Rasheed","Raul","Raven","Ray","Raymond","Raymundo","Reagan","Reanna","Reba","Rebeca","Rebecca","Rebeka","Rebekah","Reece","Reed","Reese","Regan","Reggie","Reginald","Reid","Reilly","Reina","Reinhold","Remington","Rene","Renee","Ressie","Reta","Retha","Retta","Reuben","Reva","Rex","Rey","Reyes","Reymundo","Reyna","Reynold","Rhea","Rhett","Rhianna","Rhiannon","Rhoda","Ricardo","Richard","Richie","Richmond","Rick","Rickey","Rickie","Ricky","Rico","Rigoberto","Riley","Rita","River","Robb","Robbie","Robert","Roberta","Roberto","Robin","Robyn","Rocio","Rocky","Rod","Roderick","Rodger","Rodolfo","Rodrick","Rodrigo","Roel","Rogelio","Roger","Rogers","Rolando","Rollin","Roma","Romaine","Roman","Ron","Ronaldo","Ronny","Roosevelt","Rory","Rosa","Rosalee","Rosalia","Rosalind","Rosalinda","Rosalyn","Rosamond","Rosanna","Rosario","Roscoe","Rose","Rosella","Roselyn","Rosemarie","Rosemary","Rosendo","Rosetta","Rosie","Rosina","Roslyn","Ross","Rossie","Rowan","Rowena","Rowland","Roxane","Roxanne","Roy","Royal","Royce","Rozella","Ruben","Rubie","Ruby","Rubye","Rudolph","Rudy","Rupert","Russ","Russel","Russell","Rusty","Ruth","Ruthe","Ruthie","Ryan","Ryann","Ryder","Rylan","Rylee","Ryleigh","Ryley","Sabina","Sabrina","Sabryna","Sadie","Sadye","Sage","Saige","Sallie","Sally","Salma","Salvador","Salvatore","Sam","Samanta","Samantha","Samara","Samir","Sammie","Sammy","Samson","Sandra","Sandrine","Sandy","Sanford","Santa","Santiago","Santina","Santino","Santos","Sarah","Sarai","Sarina","Sasha","Saul","Savanah","Savanna","Savannah","Savion","Scarlett","Schuyler","Scot","Scottie","Scotty","Seamus","Sean","Sebastian","Sedrick","Selena","Selina","Selmer","Serena","Serenity","Seth","Shad","Shaina","Shakira","Shana","Shane","Shanel","Shanelle","Shania","Shanie","Shaniya","Shanna","Shannon","Shanny","Shanon","Shany","Sharon","Shaun","Shawn","Shawna","Shaylee","Shayna","Shayne","Shea","Sheila","Sheldon","Shemar","Sheridan","Sherman","Sherwood","Shirley","Shyann","Shyanne","Sibyl","Sid","Sidney","Sienna","Sierra","Sigmund","Sigrid","Sigurd","Silas","Sim","Simeon","Simone","Sincere","Sister","Skye","Skyla","Skylar","Sofia","Soledad","Solon","Sonia","Sonny","Sonya","Sophia","Sophie","Spencer","Stacey","Stacy","Stan","Stanford","Stanley","Stanton","Stefan","Stefanie","Stella","Stephan","Stephania","Stephanie","Stephany","Stephen","Stephon","Sterling","Steve","Stevie","Stewart","Stone","Stuart","Summer","Sunny","Susan","Susana","Susanna","Susie","Suzanne","Sven","Syble","Sydnee","Sydney","Sydni","Sydnie","Sylvan","Sylvester","Sylvia","Tabitha","Tad","Talia","Talon","Tamara","Tamia","Tania","Tanner","Tanya","Tara","Taryn","Tate","Tatum","Tatyana","Taurean","Tavares","Taya","Taylor","Teagan","Ted","Telly","Terence","Teresa","Terrance","Terrell","Terrence","Terrill","Terry","Tess","Tessie","Tevin","Thad","Thaddeus","Thalia","Thea","Thelma","Theo","Theodora","Theodore","Theresa","Therese","Theresia","Theron","Thomas","Thora","Thurman","Tia","Tiana","Tianna","Tiara","Tierra","Tiffany","Tillman","Timmothy","Timmy","Timothy","Tina","Tito","Titus","Tobin","Toby","Tod","Tom","Tomas","Tomasa","Tommie","Toney","Toni","Tony","Torey","Torrance","Torrey","Toy","Trace","Tracey","Tracy","Travis","Travon","Tre","Tremaine","Tremayne","Trent","Trenton","Tressa","Tressie","Treva","Trever","Trevion","Trevor","Trey","Trinity","Trisha","Tristian","Tristin","Triston","Troy","Trudie","Trycia","Trystan","Turner","Twila","Tyler","Tyra","Tyree","Tyreek","Tyrel","Tyrell","Tyrese","Tyrique","Tyshawn","Tyson","Ubaldo","Ulices","Ulises","Una","Unique","Urban","Uriah","Uriel","Ursula","Vada","Valentin","Valentina","Valentine","Valerie","Vallie","Van","Vance","Vanessa","Vaughn","Veda","Velda","Vella","Velma","Velva","Vena","Verda","Verdie","Vergie","Verla","Verlie","Vern","Verna","Verner","Vernice","Vernie","Vernon","Verona","Veronica","Vesta","Vicenta","Vicente","Vickie","Vicky","Victor","Victoria","Vida","Vidal","Vilma","Vince","Vincent","Vincenza","Vincenzo","Vinnie","Viola","Violet","Violette","Virgie","Virgil","Virginia","Virginie","Vita","Vito","Viva","Vivian","Viviane","Vivianne","Vivien","Vivienne","Vladimir","Wade","Waino","Waldo","Walker","Wallace","Walter","Walton","Wanda","Ward","Warren","Watson","Wava","Waylon","Wayne","Webster","Weldon","Wellington","Wendell","Wendy","Werner","Westley","Weston","Whitney","Wilber","Wilbert","Wilburn","Wiley","Wilford","Wilfred","Wilfredo","Wilfrid","Wilhelm","Wilhelmine","Will","Willa","Willard","William","Willie","Willis","Willow","Willy","Wilma","Wilmer","Wilson","Wilton","Winfield","Winifred","Winnifred","Winona","Winston","Woodrow","Wyatt","Wyman","Xander","Xavier","Xzavier","Yadira","Yasmeen","Yasmin","Yasmine","Yazmin","Yesenia","Yessenia","Yolanda","Yoshiko","Yvette","Yvonne","Zachariah","Zachary","Zachery","Zack","Zackary","Zackery","Zakary","Zander","Zane","Zaria","Zechariah","Zelda","Zella","Zelma","Zena","Zetta","Zion","Zita","Zoe","Zoey","Zoie","Zoila","Zola","Zora","Zula"];E.exports={generateUsername:function(){return`${l.randomElement(y)}-${l.randomAlphanumStr(3)}`}}},7318:E=>{E.exports={CAMERA:"camera",DESKTOP:"desktop",DESKTOP_HIGH_FPS:"desktop_high_fps",NONE:"none"}},4940:E=>{E.exports={ENVIRONMENT:"environment",USER:"user"}},4391:E=>{E.exports={H264:"h264",OPUS:"opus",ULPFEC:"ulpfec",VP8:"vp8",VP9:"vp9"}},8043:E=>{E.exports={INACTIVE:"inactive",RECVONLY:"recvonly",SENDONLY:"sendonly",SENDRECV:"sendrecv"}},1645:E=>{E.exports={CREATE_ANSWER_FAILED:"rtc.create_answer_failed",CREATE_OFFER_FAILED:"rtc.create_offer_failed",DATA_CHANNEL_OPEN:"rtc.data_channel_open",ENDPOINT_CONN_STATUS_CHANGED:"rtc.endpoint_conn_status_changed",DOMINANT_SPEAKER_CHANGED:"rtc.dominant_speaker_changed",LASTN_ENDPOINT_CHANGED:"rtc.lastn_endpoint_changed",PERMISSIONS_CHANGED:"rtc.permissions_changed",SENDER_VIDEO_CONSTRAINTS_CHANGED:"rtc.sender_video_constraints_changed",LASTN_VALUE_CHANGED:"rtc.lastn_value_changed",LOCAL_TRACK_SSRC_UPDATED:"rtc.local_track_ssrc_updated",LOCAL_TRACK_MAX_ENABLED_RESOLUTION_CHANGED:"rtc.local_track_max_enabled_resolution_changed",TRACK_ATTACHED:"rtc.track_attached",REMOTE_TRACK_ADDED:"rtc.remote_track_added",REMOTE_TRACK_MUTE:"rtc.remote_track_mute",REMOTE_TRACK_REMOVED:"rtc.remote_track_removed",REMOTE_TRACK_UNMUTE:"rtc.remote_track_unmute",SET_LOCAL_DESCRIPTION_FAILED:"rtc.set_local_description_failed",SET_REMOTE_DESCRIPTION_FAILED:"rtc.set_remote_description_failed",AUDIO_OUTPUT_DEVICE_CHANGED:"rtc.audio_output_device_changed",DEVICE_LIST_CHANGED:"rtc.device_list_changed",DEVICE_LIST_WILL_CHANGE:"rtc.device_list_will_change",DEVICE_LIST_AVAILABLE:"rtc.device_list_available",ENDPOINT_MESSAGE_RECEIVED:"rtc.endpoint_message_received",ENDPOINT_STATS_RECEIVED:"rtc.endpoint_stats_received",LOCAL_UFRAG_CHANGED:"rtc.local_ufrag_changed",REMOTE_UFRAG_CHANGED:"rtc.remote_ufrag_changed"}},6125:E=>{E.exports={2160:{width:3840,height:2160},"4k":{width:3840,height:2160},1080:{width:1920,height:1080},fullhd:{width:1920,height:1080},720:{width:1280,height:720},hd:{width:1280,height:720},540:{width:960,height:540},qhd:{width:960,height:540},480:{width:640,height:480},vga:{width:640,height:480},360:{width:640,height:360},240:{width:320,height:240},180:{width:320,height:180}}},1122:E=>{E.exports={CAMERA:"camera",DESKTOP:"desktop"}},3514:E=>{E.exports={IDENTITY_UPDATED:"authentication.identity_updated"}},4806:E=>{E.exports={LOCAL_JID:"local"}},4188:E=>{E.exports={ADD_ICE_CANDIDATE_FAILED:"xmpp.add_ice_candidate_failed",AUDIO_MUTED_BY_FOCUS:"xmpp.audio_muted_by_focus",VIDEO_MUTED_BY_FOCUS:"xmpp.video_muted_by_focus",AUTHENTICATION_REQUIRED:"xmpp.authentication_required",BRIDGE_DOWN:"xmpp.bridge_down",CALL_ACCEPTED:"xmpp.callaccepted.jingle",CALL_INCOMING:"xmpp.callincoming.jingle",CALL_ENDED:"xmpp.callended.jingle",CHAT_ERROR_RECEIVED:"xmpp.chat_error_received",SETTINGS_ERROR_RECEIVED:"xmpp.settings_error_received",CONFERENCE_PROPERTIES_CHANGED:"xmpp.conference_properties_changed",CONNECTION_ESTABLISHED:"xmpp.connection.connected",CONNECTION_FAILED:"xmpp.connection.failed",CONNECTION_INTERRUPTED:"xmpp.connection.interrupted",CONNECTION_RESTORED:"xmpp.connection.restored",CONNECTION_ICE_FAILED:"xmpp.connection.ice.failed",CONNECTION_RESTARTED:"xmpp.connection.restart",CONNECTION_STATUS_CHANGED:"xmpp.connection.status.changed",DISPLAY_NAME_CHANGED:"xmpp.display_name_changed",EMUC_ROOM_ADDED:"xmpp.emuc_room_added",EMUC_ROOM_REMOVED:"xmpp.emuc_room_removed",ETHERPAD:"xmpp.etherpad",FOCUS_DISCONNECTED:"xmpp.focus_disconnected",FOCUS_LEFT:"xmpp.focus_left",GRACEFUL_SHUTDOWN:"xmpp.graceful_shutdown",ICE_RESTARTING:"rtc.ice_restarting",ICE_RESTART_SUCCESS:"rtc.ice_restart_success",KICKED:"xmpp.kicked",LOCAL_ROLE_CHANGED:"xmpp.localrole_changed",MEETING_ID_SET:"xmpp.meeting_id_set",MESSAGE_RECEIVED:"xmpp.message_received",INVITE_MESSAGE_RECEIVED:"xmpp.invite_message_received",PRIVATE_MESSAGE_RECEIVED:"xmpp.private_message_received",MUC_MEMBER_BOT_TYPE_CHANGED:"xmpp.muc_member_bot_type_changed",MUC_DESTROYED:"xmpp.muc_destroyed",MUC_JOIN_IN_PROGRESS:"xmpp.muc_join_in_progress",MUC_JOINED:"xmpp.muc_joined",MUC_MEMBER_JOINED:"xmpp.muc_member_joined",MUC_MEMBER_LEFT:"xmpp.muc_member_left",MUC_LOBBY_MEMBER_JOINED:"xmpp.muc_lobby_member_joined",MUC_LOBBY_MEMBER_UPDATED:"xmpp.muc_lobby_member_updated",MUC_LOBBY_MEMBER_LEFT:"xmpp.muc_lobby_member_left",MUC_DENIED_ACCESS:"xmpp.muc_denied access",MUC_LEFT:"xmpp.muc_left",MUC_ROLE_CHANGED:"xmpp.muc_role_changed",MUC_LOCK_CHANGED:"xmpp.muc_lock_changed",MUC_MEMBERS_ONLY_CHANGED:"xmpp.muc_members_only_changed",PARTICIPANT_AUDIO_MUTED:"xmpp.audio_muted",PARTICIPANT_VIDEO_MUTED:"xmpp.video_muted",PARTICIPANT_VIDEO_TYPE_CHANGED:"xmpp.video_type",PARTICIPANT_FEATURES_CHANGED:"xmpp.participant_features_changed",PASSWORD_REQUIRED:"xmpp.password_required",PHONE_NUMBER_CHANGED:"conference.phoneNumberChanged",PRESENCE_RECEIVED:"xmpp.presence_received",PRESENCE_STATUS:"xmpp.presence_status",PROMPT_FOR_LOGIN:"xmpp.prompt_for_login",READY_TO_JOIN:"xmpp.ready_to_join",RECORDER_STATE_CHANGED:"xmpp.recorderStateChanged",REMOTE_STATS:"xmpp.remote_stats",RENEGOTIATION_FAILED:"xmpp.renegotiation_failed",RESERVATION_ERROR:"xmpp.room_reservation_error",ROOM_CONNECT_ERROR:"xmpp.room_connect_error",ROOM_CONNECT_NOT_ALLOWED_ERROR:"xmpp.room_connect_error.not_allowed",ROOM_JOIN_ERROR:"xmpp.room_join_error",ROOM_CONNECT_MEMBERS_ONLY_ERROR:"xmpp.room_connect_error.members_only",ROOM_MAX_USERS_ERROR:"xmpp.room_max_users_error",SENDING_CHAT_MESSAGE:"xmpp.sending_chat_message",SENDING_PRIVATE_CHAT_MESSAGE:"xmpp.sending_private_chat_message",SESSION_ACCEPT:"xmpp.session_accept",SESSION_ACCEPT_ERROR:"xmpp.session_accept_error",SESSION_ACCEPT_TIMEOUT:"xmpp.session_accept_timeout",SOURCE_ADD:"xmpp.source_add",SOURCE_ADD_ERROR:"xmpp.source_add_error",SOURCE_REMOVE:"xmpp.source_remove",SOURCE_REMOVE_ERROR:"xmpp.source_remove_error",SPEAKER_STATS_RECEIVED:"xmpp.speaker_stats_received",CONFERENCE_TIMESTAMP_RECEIVED:"xmpp.conference_timestamp_received",AV_MODERATION_APPROVED:"xmpp.av_moderation.approved",AV_MODERATION_REJECTED:"xmpp.av_moderation.rejected",AV_MODERATION_RECEIVED:"xmpp.av_moderation.received",AV_MODERATION_CHANGED:"xmpp.av_moderation.changed",AV_MODERATION_PARTICIPANT_APPROVED:"xmpp.av_moderation.participant.approved",AV_MODERATION_PARTICIPANT_REJECTED:"xmpp.av_moderation.participant.rejected",BREAKOUT_ROOMS_MOVE_TO_ROOM:"xmpp.breakout-rooms.move-to-room",BREAKOUT_ROOMS_EVENT:"xmpp.breakout-rooms.event",BREAKOUT_ROOMS_UPDATED:"xmpp.breakout-rooms.updated",START_MUTED_FROM_FOCUS:"xmpp.start_muted_from_focus",SUBJECT_CHANGED:"xmpp.subject_changed",SUSPEND_DETECTED:"xmpp.suspend_detected",TRANSCRIPTION_STATUS_CHANGED:"xmpp.transcription_status_changed",TRANSPORT_INFO:"xmpp.transportinfo.jingle",VIDEO_SIP_GW_AVAILABILITY_CHANGED:"xmpp.videoSIPGWAvailabilityChanged",VIDEO_SIP_GW_SESSION_STATE_CHANGED:"xmpp.videoSIPGWSessionStateChanged",ICE_CONNECTION_STATE_CHANGED:"xmpp.ice_connection_state_changed",JSON_MESSAGE_RECEIVED:"xmmp.json_message_received"}},9742:(E,u)=>{"use strict";u.byteLength=function(g){var _=j(g),w=_[0],O=_[1];return 3*(w+O)/4-O},u.toByteArray=function(g){var _,w,O=j(g),x=O[0],F=O[1],G=new y(function(me,ge,Be){return 3*(ge+Be)/4-Be}(0,x,F)),P=0,Y=F>0?x-4:x;for(w=0;w<Y;w+=4)_=l[g.charCodeAt(w)]<<18|l[g.charCodeAt(w+1)]<<12|l[g.charCodeAt(w+2)]<<6|l[g.charCodeAt(w+3)],G[P++]=_>>16&255,G[P++]=_>>8&255,G[P++]=255&_;return F===2&&(_=l[g.charCodeAt(w)]<<2|l[g.charCodeAt(w+1)]>>4,G[P++]=255&_),F===1&&(_=l[g.charCodeAt(w)]<<10|l[g.charCodeAt(w+1)]<<4|l[g.charCodeAt(w+2)]>>2,G[P++]=_>>8&255,G[P++]=255&_),G},u.fromByteArray=function(g){for(var _,w=g.length,O=w%3,x=[],F=16383,G=0,P=w-O;G<P;G+=F)x.push(p(g,G,G+F>P?P:G+F));return O===1?(_=g[w-1],x.push(o[_>>2]+o[_<<4&63]+"==")):O===2&&(_=(g[w-2]<<8)+g[w-1],x.push(o[_>>10]+o[_>>4&63]+o[_<<2&63]+"=")),x.join("")};for(var o=[],l=[],y=typeof Uint8Array!="undefined"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0;v<64;++v)o[v]=m[v],l[m.charCodeAt(v)]=v;function j(g){var _=g.length;if(_%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var w=g.indexOf("=");return w===-1&&(w=_),[w,w===_?0:4-w%4]}function p(g,_,w){for(var O,x,F=[],G=_;G<w;G+=3)O=(g[G]<<16&16711680)+(g[G+1]<<8&65280)+(255&g[G+2]),F.push(o[(x=O)>>18&63]+o[x>>12&63]+o[x>>6&63]+o[63&x]);return F.join("")}l["-".charCodeAt(0)]=62,l["_".charCodeAt(0)]=63},1206:function(E){E.exports=function(u){var o={};function l(y){if(o[y])return o[y].exports;var m=o[y]={i:y,l:!1,exports:{}};return u[y].call(m.exports,m,m.exports,l),m.l=!0,m.exports}return l.m=u,l.c=o,l.d=function(y,m,v){l.o(y,m)||Object.defineProperty(y,m,{enumerable:!0,get:v})},l.r=function(y){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})},l.t=function(y,m){if(1&m&&(y=l(y)),8&m||4&m&&typeof y=="object"&&y&&y.__esModule)return y;var v=Object.create(null);if(l.r(v),Object.defineProperty(v,"default",{enumerable:!0,value:y}),2&m&&typeof y!="string")for(var j in y)l.d(v,j,function(p){return y[p]}.bind(null,j));return v},l.n=function(y){var m=y&&y.__esModule?function(){return y.default}:function(){return y};return l.d(m,"a",m),m},l.o=function(y,m){return Object.prototype.hasOwnProperty.call(y,m)},l.p="",l(l.s=90)}({17:function(u,o,l){"use strict";o.__esModule=!0,o.default=void 0;var y=l(18),m=function(){function v(){}return v.getFirstMatch=function(j,p){var g=p.match(j);return g&&g.length>0&&g[1]||""},v.getSecondMatch=function(j,p){var g=p.match(j);return g&&g.length>1&&g[2]||""},v.matchAndReturnConst=function(j,p,g){if(j.test(p))return g},v.getWindowsVersionName=function(j){switch(j){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},v.getMacOSVersionName=function(j){var p=j.split(".").splice(0,2).map(function(g){return parseInt(g,10)||0});if(p.push(0),p[0]===10)switch(p[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},v.getAndroidVersionName=function(j){var p=j.split(".").splice(0,2).map(function(g){return parseInt(g,10)||0});if(p.push(0),!(p[0]===1&&p[1]<5))return p[0]===1&&p[1]<6?"Cupcake":p[0]===1&&p[1]>=6?"Donut":p[0]===2&&p[1]<2?"Eclair":p[0]===2&&p[1]===2?"Froyo":p[0]===2&&p[1]>2?"Gingerbread":p[0]===3?"Honeycomb":p[0]===4&&p[1]<1?"Ice Cream Sandwich":p[0]===4&&p[1]<4?"Jelly Bean":p[0]===4&&p[1]>=4?"KitKat":p[0]===5?"Lollipop":p[0]===6?"Marshmallow":p[0]===7?"Nougat":p[0]===8?"Oreo":p[0]===9?"Pie":void 0},v.getVersionPrecision=function(j){return j.split(".").length},v.compareVersions=function(j,p,g){g===void 0&&(g=!1);var _=v.getVersionPrecision(j),w=v.getVersionPrecision(p),O=Math.max(_,w),x=0,F=v.map([j,p],function(G){var P=O-v.getVersionPrecision(G),Y=G+new Array(P+1).join(".0");return v.map(Y.split("."),function(me){return new Array(20-me.length).join("0")+me}).reverse()});for(g&&(x=O-Math.min(_,w)),O-=1;O>=x;){if(F[0][O]>F[1][O])return 1;if(F[0][O]===F[1][O]){if(O===x)return 0;O-=1}else if(F[0][O]<F[1][O])return-1}},v.map=function(j,p){var g,_=[];if(Array.prototype.map)return Array.prototype.map.call(j,p);for(g=0;g<j.length;g+=1)_.push(p(j[g]));return _},v.getBrowserAlias=function(j){return y.BROWSER_ALIASES_MAP[j]},v.getBrowserTypeByAlias=function(j){return y.BROWSER_MAP[j]||""},v}();o.default=m,u.exports=o.default},18:function(u,o,l){"use strict";o.__esModule=!0,o.ENGINE_MAP=o.OS_MAP=o.PLATFORMS_MAP=o.BROWSER_MAP=o.BROWSER_ALIASES_MAP=void 0,o.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},o.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},o.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},o.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},o.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(u,o,l){"use strict";o.__esModule=!0,o.default=void 0;var y,m=(y=l(91))&&y.__esModule?y:{default:y},v=l(18),j=function(){function p(){}var g;return p.getParser=function(_,w){if(w===void 0&&(w=!1),typeof _!="string")throw new Error("UserAgent should be a string");return new m.default(_,w)},p.parse=function(_){return new m.default(_).getResult()},(g=[{key:"BROWSER_MAP",get:function(){return v.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return v.ENGINE_MAP}},{key:"OS_MAP",get:function(){return v.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return v.PLATFORMS_MAP}}])&&function(_,w){for(var O=0;O<w.length;O++){var x=w[O];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(_,x.key,x)}}(p,g),p}();o.default=j,u.exports=o.default},91:function(u,o,l){"use strict";o.__esModule=!0,o.default=void 0;var y=g(l(92)),m=g(l(93)),v=g(l(94)),j=g(l(95)),p=g(l(17));function g(w){return w&&w.__esModule?w:{default:w}}var _=function(){function w(x,F){if(F===void 0&&(F=!1),x==null||x==="")throw new Error("UserAgent parameter can't be empty");this._ua=x,this.parsedResult={},F!==!0&&this.parse()}var O=w.prototype;return O.getUA=function(){return this._ua},O.test=function(x){return x.test(this._ua)},O.parseBrowser=function(){var x=this;this.parsedResult.browser={};var F=y.default.find(function(G){if(typeof G.test=="function")return G.test(x);if(G.test instanceof Array)return G.test.some(function(P){return x.test(P)});throw new Error("Browser's test function is not valid")});return F&&(this.parsedResult.browser=F.describe(this.getUA())),this.parsedResult.browser},O.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},O.getBrowserName=function(x){return x?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},O.getBrowserVersion=function(){return this.getBrowser().version},O.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},O.parseOS=function(){var x=this;this.parsedResult.os={};var F=m.default.find(function(G){if(typeof G.test=="function")return G.test(x);if(G.test instanceof Array)return G.test.some(function(P){return x.test(P)});throw new Error("Browser's test function is not valid")});return F&&(this.parsedResult.os=F.describe(this.getUA())),this.parsedResult.os},O.getOSName=function(x){var F=this.getOS().name;return x?String(F).toLowerCase()||"":F||""},O.getOSVersion=function(){return this.getOS().version},O.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},O.getPlatformType=function(x){x===void 0&&(x=!1);var F=this.getPlatform().type;return x?String(F).toLowerCase()||"":F||""},O.parsePlatform=function(){var x=this;this.parsedResult.platform={};var F=v.default.find(function(G){if(typeof G.test=="function")return G.test(x);if(G.test instanceof Array)return G.test.some(function(P){return x.test(P)});throw new Error("Browser's test function is not valid")});return F&&(this.parsedResult.platform=F.describe(this.getUA())),this.parsedResult.platform},O.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},O.getEngineName=function(x){return x?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},O.parseEngine=function(){var x=this;this.parsedResult.engine={};var F=j.default.find(function(G){if(typeof G.test=="function")return G.test(x);if(G.test instanceof Array)return G.test.some(function(P){return x.test(P)});throw new Error("Browser's test function is not valid")});return F&&(this.parsedResult.engine=F.describe(this.getUA())),this.parsedResult.engine},O.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},O.getResult=function(){return Object.assign({},this.parsedResult)},O.satisfies=function(x){var F=this,G={},P=0,Y={},me=0;if(Object.keys(x).forEach(function(at){var Ee=x[at];typeof Ee=="string"?(Y[at]=Ee,me+=1):typeof Ee=="object"&&(G[at]=Ee,P+=1)}),P>0){var ge=Object.keys(G),Be=ge.find(function(at){return F.isOS(at)});if(Be){var it=this.satisfies(G[Be]);if(it!==void 0)return it}var be=ge.find(function(at){return F.isPlatform(at)});if(be){var Re=this.satisfies(G[be]);if(Re!==void 0)return Re}}if(me>0){var T=Object.keys(Y).find(function(at){return F.isBrowser(at,!0)});if(T!==void 0)return this.compareVersion(Y[T])}},O.isBrowser=function(x,F){F===void 0&&(F=!1);var G=this.getBrowserName().toLowerCase(),P=x.toLowerCase(),Y=p.default.getBrowserTypeByAlias(P);return F&&Y&&(P=Y.toLowerCase()),P===G},O.compareVersion=function(x){var F=[0],G=x,P=!1,Y=this.getBrowserVersion();if(typeof Y=="string")return x[0]===">"||x[0]==="<"?(G=x.substr(1),x[1]==="="?(P=!0,G=x.substr(2)):F=[],x[0]===">"?F.push(1):F.push(-1)):x[0]==="="?G=x.substr(1):x[0]==="~"&&(P=!0,G=x.substr(1)),F.indexOf(p.default.compareVersions(Y,G,P))>-1},O.isOS=function(x){return this.getOSName(!0)===String(x).toLowerCase()},O.isPlatform=function(x){return this.getPlatformType(!0)===String(x).toLowerCase()},O.isEngine=function(x){return this.getEngineName(!0)===String(x).toLowerCase()},O.is=function(x){return this.isBrowser(x)||this.isOS(x)||this.isPlatform(x)},O.some=function(x){var F=this;return x===void 0&&(x=[]),x.some(function(G){return F.is(G)})},w}();o.default=_,u.exports=o.default},92:function(u,o,l){"use strict";o.__esModule=!0,o.default=void 0;var y,m=(y=l(17))&&y.__esModule?y:{default:y},v=/version\/(\d+(\.?_?\d+)+)/i,j=[{test:[/googlebot/i],describe:function(p){var g={name:"Googlebot"},_=m.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/opera/i],describe:function(p){var g={name:"Opera"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/opr\/|opios/i],describe:function(p){var g={name:"Opera"},_=m.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/SamsungBrowser/i],describe:function(p){var g={name:"Samsung Internet for Android"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/Whale/i],describe:function(p){var g={name:"NAVER Whale Browser"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/MZBrowser/i],describe:function(p){var g={name:"MZ Browser"},_=m.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/focus/i],describe:function(p){var g={name:"Focus"},_=m.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/swing/i],describe:function(p){var g={name:"Swing"},_=m.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/coast/i],describe:function(p){var g={name:"Opera Coast"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/yabrowser/i],describe:function(p){var g={name:"Yandex Browser"},_=m.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/ucbrowser/i],describe:function(p){var g={name:"UC Browser"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/Maxthon|mxios/i],describe:function(p){var g={name:"Maxthon"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/epiphany/i],describe:function(p){var g={name:"Epiphany"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/puffin/i],describe:function(p){var g={name:"Puffin"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/sleipnir/i],describe:function(p){var g={name:"Sleipnir"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/k-meleon/i],describe:function(p){var g={name:"K-Meleon"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/micromessenger/i],describe:function(p){var g={name:"WeChat"},_=m.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/qqbrowser/i],describe:function(p){var g={name:/qqbrowserlite/i.test(p)?"QQ Browser Lite":"QQ Browser"},_=m.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/msie|trident/i],describe:function(p){var g={name:"Internet Explorer"},_=m.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/\sedg\//i],describe:function(p){var g={name:"Microsoft Edge"},_=m.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/edg([ea]|ios)/i],describe:function(p){var g={name:"Microsoft Edge"},_=m.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/vivaldi/i],describe:function(p){var g={name:"Vivaldi"},_=m.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/seamonkey/i],describe:function(p){var g={name:"SeaMonkey"},_=m.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/sailfish/i],describe:function(p){var g={name:"Sailfish"},_=m.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,p);return _&&(g.version=_),g}},{test:[/silk/i],describe:function(p){var g={name:"Amazon Silk"},_=m.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/phantom/i],describe:function(p){var g={name:"PhantomJS"},_=m.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/slimerjs/i],describe:function(p){var g={name:"SlimerJS"},_=m.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(p){var g={name:"BlackBerry"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/(web|hpw)[o0]s/i],describe:function(p){var g={name:"WebOS Browser"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/bada/i],describe:function(p){var g={name:"Bada"},_=m.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/tizen/i],describe:function(p){var g={name:"Tizen"},_=m.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/qupzilla/i],describe:function(p){var g={name:"QupZilla"},_=m.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/firefox|iceweasel|fxios/i],describe:function(p){var g={name:"Firefox"},_=m.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/chromium/i],describe:function(p){var g={name:"Chromium"},_=m.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/chrome|crios|crmo/i],describe:function(p){var g={name:"Chrome"},_=m.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/GSA/i],describe:function(p){var g={name:"Google Search"},_=m.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:function(p){var g=!p.test(/like android/i),_=p.test(/android/i);return g&&_},describe:function(p){var g={name:"Android Browser"},_=m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/playstation 4/i],describe:function(p){var g={name:"PlayStation 4"},_=m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/safari|applewebkit/i],describe:function(p){var g={name:"Safari"},_=m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/.*/i],describe:function(p){var g=p.search("\\(")!==-1?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:m.default.getFirstMatch(g,p),version:m.default.getSecondMatch(g,p)}}}];o.default=j,u.exports=o.default},93:function(u,o,l){"use strict";o.__esModule=!0,o.default=void 0;var y,m=(y=l(17))&&y.__esModule?y:{default:y},v=l(18),j=[{test:[/Roku\/DVP/],describe:function(p){var g=m.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,p);return{name:v.OS_MAP.Roku,version:g}}},{test:[/windows phone/i],describe:function(p){var g=m.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,p);return{name:v.OS_MAP.WindowsPhone,version:g}}},{test:[/windows/i],describe:function(p){var g=m.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,p),_=m.default.getWindowsVersionName(g);return{name:v.OS_MAP.Windows,version:g,versionName:_}}},{test:[/macintosh/i],describe:function(p){var g=m.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,p).replace(/[_\s]/g,"."),_=m.default.getMacOSVersionName(g),w={name:v.OS_MAP.MacOS,version:g};return _&&(w.versionName=_),w}},{test:[/(ipod|iphone|ipad)/i],describe:function(p){var g=m.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,p).replace(/[_\s]/g,".");return{name:v.OS_MAP.iOS,version:g}}},{test:function(p){var g=!p.test(/like android/i),_=p.test(/android/i);return g&&_},describe:function(p){var g=m.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,p),_=m.default.getAndroidVersionName(g),w={name:v.OS_MAP.Android,version:g};return _&&(w.versionName=_),w}},{test:[/(web|hpw)[o0]s/i],describe:function(p){var g=m.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,p),_={name:v.OS_MAP.WebOS};return g&&g.length&&(_.version=g),_}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(p){var g=m.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,p)||m.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,p)||m.default.getFirstMatch(/\bbb(\d+)/i,p);return{name:v.OS_MAP.BlackBerry,version:g}}},{test:[/bada/i],describe:function(p){var g=m.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,p);return{name:v.OS_MAP.Bada,version:g}}},{test:[/tizen/i],describe:function(p){var g=m.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,p);return{name:v.OS_MAP.Tizen,version:g}}},{test:[/linux/i],describe:function(){return{name:v.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:v.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(p){var g=m.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,p);return{name:v.OS_MAP.PlayStation4,version:g}}}];o.default=j,u.exports=o.default},94:function(u,o,l){"use strict";o.__esModule=!0,o.default=void 0;var y,m=(y=l(17))&&y.__esModule?y:{default:y},v=l(18),j=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(p){var g=m.default.getFirstMatch(/(can-l01)/i,p)&&"Nova",_={type:v.PLATFORMS_MAP.mobile,vendor:"Huawei"};return g&&(_.model=g),_}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:v.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:v.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:v.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:v.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:v.PLATFORMS_MAP.tablet}}},{test:function(p){var g=p.test(/ipod|iphone/i),_=p.test(/like (ipod|iphone)/i);return g&&!_},describe:function(p){var g=m.default.getFirstMatch(/(ipod|iphone)/i,p);return{type:v.PLATFORMS_MAP.mobile,vendor:"Apple",model:g}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:v.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:v.PLATFORMS_MAP.mobile}}},{test:function(p){return p.getBrowserName(!0)==="blackberry"},describe:function(){return{type:v.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(p){return p.getBrowserName(!0)==="bada"},describe:function(){return{type:v.PLATFORMS_MAP.mobile}}},{test:function(p){return p.getBrowserName()==="windows phone"},describe:function(){return{type:v.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(p){var g=Number(String(p.getOSVersion()).split(".")[0]);return p.getOSName(!0)==="android"&&g>=3},describe:function(){return{type:v.PLATFORMS_MAP.tablet}}},{test:function(p){return p.getOSName(!0)==="android"},describe:function(){return{type:v.PLATFORMS_MAP.mobile}}},{test:function(p){return p.getOSName(!0)==="macos"},describe:function(){return{type:v.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(p){return p.getOSName(!0)==="windows"},describe:function(){return{type:v.PLATFORMS_MAP.desktop}}},{test:function(p){return p.getOSName(!0)==="linux"},describe:function(){return{type:v.PLATFORMS_MAP.desktop}}},{test:function(p){return p.getOSName(!0)==="playstation 4"},describe:function(){return{type:v.PLATFORMS_MAP.tv}}},{test:function(p){return p.getOSName(!0)==="roku"},describe:function(){return{type:v.PLATFORMS_MAP.tv}}}];o.default=j,u.exports=o.default},95:function(u,o,l){"use strict";o.__esModule=!0,o.default=void 0;var y,m=(y=l(17))&&y.__esModule?y:{default:y},v=l(18),j=[{test:function(p){return p.getBrowserName(!0)==="microsoft edge"},describe:function(p){if(/\sedg\//i.test(p))return{name:v.ENGINE_MAP.Blink};var g=m.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,p);return{name:v.ENGINE_MAP.EdgeHTML,version:g}}},{test:[/trident/i],describe:function(p){var g={name:v.ENGINE_MAP.Trident},_=m.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:function(p){return p.test(/presto/i)},describe:function(p){var g={name:v.ENGINE_MAP.Presto},_=m.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:function(p){var g=p.test(/gecko/i),_=p.test(/like gecko/i);return g&&!_},describe:function(p){var g={name:v.ENGINE_MAP.Gecko},_=m.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:v.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(p){var g={name:v.ENGINE_MAP.WebKit},_=m.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}}];o.default=j,u.exports=o.default}})},667:function(E,u){var o,l;(l=typeof(o=function(){var y=/^(interactive|loaded|complete)$/,m=window.location?window.location.href:null,v=m&&m.replace(/#.*$/,"").replace(/\?.*$/,"")||null,j=document.getElementsByTagName("script"),p="readyState"in(j[0]||document.createElement("script")),g=!window.opera||window.opera.toString()!=="[object Opera]",_="currentScript"in document;"stackTraceLimit"in Error&&Error.stackTraceLimit!==1/0&&(Error.stackTraceLimit,Error.stackTraceLimit=1/0);var w=!1,O=!1;function x(P,Y){var me,ge=null,Be=typeof Y=="number";return Y=Be?Math.round(Y):0,typeof P=="string"&&P&&(Be?me=P.match(/(data:text\/javascript(?:;[^,]+)?,.+?|(?:|blob:)(?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/):(me=P.match(/^(?:|[^:@]*@|.+\)@(?=data:text\/javascript|blob|http[s]?|file)|.+?\s+(?: at |@)(?:[^:\(]+ )*[\(]?)(data:text\/javascript(?:;[^,]+)?,.+?|(?:|blob:)(?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/))&&me[1]||(me=P.match(/\)@(data:text\/javascript(?:;[^,]+)?,.+?|(?:|blob:)(?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/)),me&&me[1]&&(ge=Y>0?x(P.slice(P.indexOf(me[0])+me[0].length),Y-1):me[1])),ge}function F(){if(j.length===0)return null;var P,Y,me,ge,Be,it=[],be=F.skipStackDepth||1;for(P=0;P<j.length;P++)g&&p?y.test(j[P].readyState)&&it.push(j[P]):it.push(j[P]);if(Y=new Error,w&&(me=Y.stack),!me&&O)try{throw Y}catch(Re){me=Re.stack}if(me&&!(Be=function(Re,T){var at,Ee=null;if(T=T||j,typeof Re=="string"&&Re){for(at=T.length;at--;)if(T[at].src===Re){Ee=T[at];break}}return Ee}(ge=x(me,be),it))&&v&&ge===v&&(Be=function(Re){var T,at,Ee=null;for(T=0,at=(Re=Re||j).length;T<at;T++)if(!Re[T].hasAttribute("src")){if(Ee){Ee=null;break}Ee=Re[T]}return Ee}(it)),Be||it.length===1&&(Be=it[0]),Be||_&&(Be=document.currentScript),!Be&&g&&p){for(P=it.length;P--;)if(it[P].readyState==="interactive"){Be=it[P];break}}return Be||(Be=it[it.length-1]||null),Be}(function(){try{var P=new Error;throw w=typeof P.stack=="string"&&!!P.stack,P}catch(Y){O=typeof Y.stack=="string"&&!!Y.stack}})(),F.skipStackDepth=1;var G=F;return G.near=F,G.far=function(){return null},G.origin=function(){return null},G})=="function"?o.apply(u,[]):o)===void 0||(E.exports=l)},7187:E=>{"use strict";var u,o=typeof Reflect=="object"?Reflect:null,l=o&&typeof o.apply=="function"?o.apply:function(P,Y,me){return Function.prototype.apply.call(P,Y,me)};u=o&&typeof o.ownKeys=="function"?o.ownKeys:Object.getOwnPropertySymbols?function(P){return Object.getOwnPropertyNames(P).concat(Object.getOwnPropertySymbols(P))}:function(P){return Object.getOwnPropertyNames(P)};var y=Number.isNaN||function(P){return P!=P};function m(){m.init.call(this)}E.exports=m,E.exports.once=function(P,Y){return new Promise(function(me,ge){function Be(be){P.removeListener(Y,it),ge(be)}function it(){typeof P.removeListener=="function"&&P.removeListener("error",Be),me([].slice.call(arguments))}G(P,Y,it,{once:!0}),Y!=="error"&&function(be,Re,T){typeof be.on=="function"&&G(be,"error",Re,{once:!0})}(P,Be)})},m.EventEmitter=m,m.prototype._events=void 0,m.prototype._eventsCount=0,m.prototype._maxListeners=void 0;var v=10;function j(P){if(typeof P!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof P)}function p(P){return P._maxListeners===void 0?m.defaultMaxListeners:P._maxListeners}function g(P,Y,me,ge){var Be,it,be;if(j(me),(it=P._events)===void 0?(it=P._events=Object.create(null),P._eventsCount=0):(it.newListener!==void 0&&(P.emit("newListener",Y,me.listener?me.listener:me),it=P._events),be=it[Y]),be===void 0)be=it[Y]=me,++P._eventsCount;else if(typeof be=="function"?be=it[Y]=ge?[me,be]:[be,me]:ge?be.unshift(me):be.push(me),(Be=p(P))>0&&be.length>Be&&!be.warned){be.warned=!0;var Re=new Error("Possible EventEmitter memory leak detected. "+be.length+" "+String(Y)+" listeners added. Use emitter.setMaxListeners() to increase limit");Re.name="MaxListenersExceededWarning",Re.emitter=P,Re.type=Y,Re.count=be.length}return P}function _(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function w(P,Y,me){var ge={fired:!1,wrapFn:void 0,target:P,type:Y,listener:me},Be=_.bind(ge);return Be.listener=me,ge.wrapFn=Be,Be}function O(P,Y,me){var ge=P._events;if(ge===void 0)return[];var Be=ge[Y];return Be===void 0?[]:typeof Be=="function"?me?[Be.listener||Be]:[Be]:me?function(it){for(var be=new Array(it.length),Re=0;Re<be.length;++Re)be[Re]=it[Re].listener||it[Re];return be}(Be):F(Be,Be.length)}function x(P){var Y=this._events;if(Y!==void 0){var me=Y[P];if(typeof me=="function")return 1;if(me!==void 0)return me.length}return 0}function F(P,Y){for(var me=new Array(Y),ge=0;ge<Y;++ge)me[ge]=P[ge];return me}function G(P,Y,me,ge){if(typeof P.on=="function")ge.once?P.once(Y,me):P.on(Y,me);else{if(typeof P.addEventListener!="function")throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof P);P.addEventListener(Y,function Be(it){ge.once&&P.removeEventListener(Y,Be),me(it)})}}Object.defineProperty(m,"defaultMaxListeners",{enumerable:!0,get:function(){return v},set:function(P){if(typeof P!="number"||P<0||y(P))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+P+".");v=P}}),m.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},m.prototype.setMaxListeners=function(P){if(typeof P!="number"||P<0||y(P))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+P+".");return this._maxListeners=P,this},m.prototype.getMaxListeners=function(){return p(this)},m.prototype.emit=function(P){for(var Y=[],me=1;me<arguments.length;me++)Y.push(arguments[me]);var ge=P==="error",Be=this._events;if(Be!==void 0)ge=ge&&Be.error===void 0;else if(!ge)return!1;if(ge){var it;if(Y.length>0&&(it=Y[0]),it instanceof Error)throw it;var be=new Error("Unhandled error."+(it?" ("+it.message+")":""));throw be.context=it,be}var Re=Be[P];if(Re===void 0)return!1;if(typeof Re=="function")l(Re,this,Y);else{var T=Re.length,at=F(Re,T);for(me=0;me<T;++me)l(at[me],this,Y)}return!0},m.prototype.addListener=function(P,Y){return g(this,P,Y,!1)},m.prototype.on=m.prototype.addListener,m.prototype.prependListener=function(P,Y){return g(this,P,Y,!0)},m.prototype.once=function(P,Y){return j(Y),this.on(P,w(this,P,Y)),this},m.prototype.prependOnceListener=function(P,Y){return j(Y),this.prependListener(P,w(this,P,Y)),this},m.prototype.removeListener=function(P,Y){var me,ge,Be,it,be;if(j(Y),(ge=this._events)===void 0)return this;if((me=ge[P])===void 0)return this;if(me===Y||me.listener===Y)--this._eventsCount==0?this._events=Object.create(null):(delete ge[P],ge.removeListener&&this.emit("removeListener",P,me.listener||Y));else if(typeof me!="function"){for(Be=-1,it=me.length-1;it>=0;it--)if(me[it]===Y||me[it].listener===Y){be=me[it].listener,Be=it;break}if(Be<0)return this;Be===0?me.shift():function(Re,T){for(;T+1<Re.length;T++)Re[T]=Re[T+1];Re.pop()}(me,Be),me.length===1&&(ge[P]=me[0]),ge.removeListener!==void 0&&this.emit("removeListener",P,be||Y)}return this},m.prototype.off=m.prototype.removeListener,m.prototype.removeAllListeners=function(P){var Y,me,ge;if((me=this._events)===void 0)return this;if(me.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):me[P]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete me[P]),this;if(arguments.length===0){var Be,it=Object.keys(me);for(ge=0;ge<it.length;++ge)(Be=it[ge])!=="removeListener"&&this.removeAllListeners(Be);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(Y=me[P])=="function")this.removeListener(P,Y);else if(Y!==void 0)for(ge=Y.length-1;ge>=0;ge--)this.removeListener(P,Y[ge]);return this},m.prototype.listeners=function(P){return O(this,P,!0)},m.prototype.rawListeners=function(P){return O(this,P,!1)},m.listenerCount=function(P,Y){return typeof P.listenerCount=="function"?P.listenerCount(Y):x.call(P,Y)},m.prototype.listenerCount=x,m.prototype.eventNames=function(){return this._eventsCount>0?u(this._events):[]}},8495:(module,exports,__nested_webpack_require_91364__)=>{var __WEBPACK_AMD_DEFINE_RESULT__;(function(){"use strict";var ERROR="input is invalid type",WINDOW=typeof window=="object",root=WINDOW?window:{};root.JS_MD5_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&typeof self=="object",NODE_JS=!root.JS_MD5_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;NODE_JS?root=__nested_webpack_require_91364__.g:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_MD5_NO_COMMON_JS&&module.exports,AMD=__nested_webpack_require_91364__.amdO,ARRAY_BUFFER=!root.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer!="undefined",HEX_CHARS="0123456789abcdef".split(""),EXTRA=[128,32768,8388608,-2147483648],SHIFT=[0,8,16,24],OUTPUT_TYPES=["hex","array","digest","buffer","arrayBuffer","base64"],BASE64_ENCODE_CHAR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),blocks=[],buffer8;if(ARRAY_BUFFER){var buffer=new ArrayBuffer(68);buffer8=new Uint8Array(buffer),blocks=new Uint32Array(buffer)}!root.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(E){return Object.prototype.toString.call(E)==="[object Array]"}),!ARRAY_BUFFER||!root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(E){return typeof E=="object"&&E.buffer&&E.buffer.constructor===ArrayBuffer});var createOutputMethod=function(E){return function(u){return new Md5(!0).update(u)[E]()}},createMethod=function(){var E=createOutputMethod("hex");NODE_JS&&(E=nodeWrap(E)),E.create=function(){return new Md5},E.update=function(l){return E.create().update(l)};for(var u=0;u<OUTPUT_TYPES.length;++u){var o=OUTPUT_TYPES[u];E[o]=createOutputMethod(o)}return E},nodeWrap=function(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(E){if(typeof E=="string")return crypto.createHash("md5").update(E,"utf8").digest("hex");if(E==null)throw ERROR;return E.constructor===ArrayBuffer&&(E=new Uint8Array(E)),Array.isArray(E)||ArrayBuffer.isView(E)||E.constructor===Buffer?crypto.createHash("md5").update(new Buffer(E)).digest("hex"):method(E)};return nodeMethod};function Md5(E){if(E)blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks,this.buffer8=buffer8;else if(ARRAY_BUFFER){var u=new ArrayBuffer(68);this.buffer8=new Uint8Array(u),this.blocks=new Uint32Array(u)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Md5.prototype.update=function(E){if(!this.finalized){var u,o=typeof E;if(o!=="string"){if(o!=="object"||E===null)throw ERROR;if(ARRAY_BUFFER&&E.constructor===ArrayBuffer)E=new Uint8Array(E);else if(!(Array.isArray(E)||ARRAY_BUFFER&&ArrayBuffer.isView(E)))throw ERROR;u=!0}for(var l,y,m=0,v=E.length,j=this.blocks,p=this.buffer8;m<v;){if(this.hashed&&(this.hashed=!1,j[0]=j[16],j[16]=j[1]=j[2]=j[3]=j[4]=j[5]=j[6]=j[7]=j[8]=j[9]=j[10]=j[11]=j[12]=j[13]=j[14]=j[15]=0),u)if(ARRAY_BUFFER)for(y=this.start;m<v&&y<64;++m)p[y++]=E[m];else for(y=this.start;m<v&&y<64;++m)j[y>>2]|=E[m]<<SHIFT[3&y++];else if(ARRAY_BUFFER)for(y=this.start;m<v&&y<64;++m)(l=E.charCodeAt(m))<128?p[y++]=l:l<2048?(p[y++]=192|l>>6,p[y++]=128|63&l):l<55296||l>=57344?(p[y++]=224|l>>12,p[y++]=128|l>>6&63,p[y++]=128|63&l):(l=65536+((1023&l)<<10|1023&E.charCodeAt(++m)),p[y++]=240|l>>18,p[y++]=128|l>>12&63,p[y++]=128|l>>6&63,p[y++]=128|63&l);else for(y=this.start;m<v&&y<64;++m)(l=E.charCodeAt(m))<128?j[y>>2]|=l<<SHIFT[3&y++]:l<2048?(j[y>>2]|=(192|l>>6)<<SHIFT[3&y++],j[y>>2]|=(128|63&l)<<SHIFT[3&y++]):l<55296||l>=57344?(j[y>>2]|=(224|l>>12)<<SHIFT[3&y++],j[y>>2]|=(128|l>>6&63)<<SHIFT[3&y++],j[y>>2]|=(128|63&l)<<SHIFT[3&y++]):(l=65536+((1023&l)<<10|1023&E.charCodeAt(++m)),j[y>>2]|=(240|l>>18)<<SHIFT[3&y++],j[y>>2]|=(128|l>>12&63)<<SHIFT[3&y++],j[y>>2]|=(128|l>>6&63)<<SHIFT[3&y++],j[y>>2]|=(128|63&l)<<SHIFT[3&y++]);this.lastByteIndex=y,this.bytes+=y-this.start,y>=64?(this.start=y-64,this.hash(),this.hashed=!0):this.start=y}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Md5.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var E=this.blocks,u=this.lastByteIndex;E[u>>2]|=EXTRA[3&u],u>=56&&(this.hashed||this.hash(),E[0]=E[16],E[16]=E[1]=E[2]=E[3]=E[4]=E[5]=E[6]=E[7]=E[8]=E[9]=E[10]=E[11]=E[12]=E[13]=E[14]=E[15]=0),E[14]=this.bytes<<3,E[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},Md5.prototype.hash=function(){var E,u,o,l,y,m,v=this.blocks;this.first?u=((u=((E=((E=v[0]-680876937)<<7|E>>>25)-271733879<<0)^(o=((o=(-271733879^(l=((l=(-1732584194^2004318071&E)+v[1]-117830708)<<12|l>>>20)+E<<0)&(-271733879^E))+v[2]-1126478375)<<17|o>>>15)+l<<0)&(l^E))+v[3]-1316259209)<<22|u>>>10)+o<<0:(E=this.h0,u=this.h1,o=this.h2,u=((u+=((E=((E+=((l=this.h3)^u&(o^l))+v[0]-680876936)<<7|E>>>25)+u<<0)^(o=((o+=(u^(l=((l+=(o^E&(u^o))+v[1]-389564586)<<12|l>>>20)+E<<0)&(E^u))+v[2]+606105819)<<17|o>>>15)+l<<0)&(l^E))+v[3]-1044525330)<<22|u>>>10)+o<<0),u=((u+=((E=((E+=(l^u&(o^l))+v[4]-176418897)<<7|E>>>25)+u<<0)^(o=((o+=(u^(l=((l+=(o^E&(u^o))+v[5]+1200080426)<<12|l>>>20)+E<<0)&(E^u))+v[6]-1473231341)<<17|o>>>15)+l<<0)&(l^E))+v[7]-45705983)<<22|u>>>10)+o<<0,u=((u+=((E=((E+=(l^u&(o^l))+v[8]+1770035416)<<7|E>>>25)+u<<0)^(o=((o+=(u^(l=((l+=(o^E&(u^o))+v[9]-1958414417)<<12|l>>>20)+E<<0)&(E^u))+v[10]-42063)<<17|o>>>15)+l<<0)&(l^E))+v[11]-1990404162)<<22|u>>>10)+o<<0,u=((u+=((E=((E+=(l^u&(o^l))+v[12]+1804603682)<<7|E>>>25)+u<<0)^(o=((o+=(u^(l=((l+=(o^E&(u^o))+v[13]-40341101)<<12|l>>>20)+E<<0)&(E^u))+v[14]-1502002290)<<17|o>>>15)+l<<0)&(l^E))+v[15]+1236535329)<<22|u>>>10)+o<<0,u=((u+=((l=((l+=(u^o&((E=((E+=(o^l&(u^o))+v[1]-165796510)<<5|E>>>27)+u<<0)^u))+v[6]-1069501632)<<9|l>>>23)+E<<0)^E&((o=((o+=(E^u&(l^E))+v[11]+643717713)<<14|o>>>18)+l<<0)^l))+v[0]-373897302)<<20|u>>>12)+o<<0,u=((u+=((l=((l+=(u^o&((E=((E+=(o^l&(u^o))+v[5]-701558691)<<5|E>>>27)+u<<0)^u))+v[10]+38016083)<<9|l>>>23)+E<<0)^E&((o=((o+=(E^u&(l^E))+v[15]-660478335)<<14|o>>>18)+l<<0)^l))+v[4]-405537848)<<20|u>>>12)+o<<0,u=((u+=((l=((l+=(u^o&((E=((E+=(o^l&(u^o))+v[9]+568446438)<<5|E>>>27)+u<<0)^u))+v[14]-1019803690)<<9|l>>>23)+E<<0)^E&((o=((o+=(E^u&(l^E))+v[3]-187363961)<<14|o>>>18)+l<<0)^l))+v[8]+1163531501)<<20|u>>>12)+o<<0,u=((u+=((l=((l+=(u^o&((E=((E+=(o^l&(u^o))+v[13]-1444681467)<<5|E>>>27)+u<<0)^u))+v[2]-51403784)<<9|l>>>23)+E<<0)^E&((o=((o+=(E^u&(l^E))+v[7]+1735328473)<<14|o>>>18)+l<<0)^l))+v[12]-1926607734)<<20|u>>>12)+o<<0,u=((u+=((m=(l=((l+=((y=u^o)^(E=((E+=(y^l)+v[5]-378558)<<4|E>>>28)+u<<0))+v[8]-2022574463)<<11|l>>>21)+E<<0)^E)^(o=((o+=(m^u)+v[11]+1839030562)<<16|o>>>16)+l<<0))+v[14]-35309556)<<23|u>>>9)+o<<0,u=((u+=((m=(l=((l+=((y=u^o)^(E=((E+=(y^l)+v[1]-1530992060)<<4|E>>>28)+u<<0))+v[4]+1272893353)<<11|l>>>21)+E<<0)^E)^(o=((o+=(m^u)+v[7]-155497632)<<16|o>>>16)+l<<0))+v[10]-1094730640)<<23|u>>>9)+o<<0,u=((u+=((m=(l=((l+=((y=u^o)^(E=((E+=(y^l)+v[13]+681279174)<<4|E>>>28)+u<<0))+v[0]-358537222)<<11|l>>>21)+E<<0)^E)^(o=((o+=(m^u)+v[3]-722521979)<<16|o>>>16)+l<<0))+v[6]+76029189)<<23|u>>>9)+o<<0,u=((u+=((m=(l=((l+=((y=u^o)^(E=((E+=(y^l)+v[9]-640364487)<<4|E>>>28)+u<<0))+v[12]-421815835)<<11|l>>>21)+E<<0)^E)^(o=((o+=(m^u)+v[15]+530742520)<<16|o>>>16)+l<<0))+v[2]-995338651)<<23|u>>>9)+o<<0,u=((u+=((l=((l+=(u^((E=((E+=(o^(u|~l))+v[0]-198630844)<<6|E>>>26)+u<<0)|~o))+v[7]+1126891415)<<10|l>>>22)+E<<0)^((o=((o+=(E^(l|~u))+v[14]-1416354905)<<15|o>>>17)+l<<0)|~E))+v[5]-57434055)<<21|u>>>11)+o<<0,u=((u+=((l=((l+=(u^((E=((E+=(o^(u|~l))+v[12]+1700485571)<<6|E>>>26)+u<<0)|~o))+v[3]-1894986606)<<10|l>>>22)+E<<0)^((o=((o+=(E^(l|~u))+v[10]-1051523)<<15|o>>>17)+l<<0)|~E))+v[1]-2054922799)<<21|u>>>11)+o<<0,u=((u+=((l=((l+=(u^((E=((E+=(o^(u|~l))+v[8]+1873313359)<<6|E>>>26)+u<<0)|~o))+v[15]-30611744)<<10|l>>>22)+E<<0)^((o=((o+=(E^(l|~u))+v[6]-1560198380)<<15|o>>>17)+l<<0)|~E))+v[13]+1309151649)<<21|u>>>11)+o<<0,u=((u+=((l=((l+=(u^((E=((E+=(o^(u|~l))+v[4]-145523070)<<6|E>>>26)+u<<0)|~o))+v[11]-1120210379)<<10|l>>>22)+E<<0)^((o=((o+=(E^(l|~u))+v[2]+718787259)<<15|o>>>17)+l<<0)|~E))+v[9]-343485551)<<21|u>>>11)+o<<0,this.first?(this.h0=E+1732584193<<0,this.h1=u-271733879<<0,this.h2=o-1732584194<<0,this.h3=l+271733878<<0,this.first=!1):(this.h0=this.h0+E<<0,this.h1=this.h1+u<<0,this.h2=this.h2+o<<0,this.h3=this.h3+l<<0)},Md5.prototype.hex=function(){this.finalize();var E=this.h0,u=this.h1,o=this.h2,l=this.h3;return HEX_CHARS[E>>4&15]+HEX_CHARS[15&E]+HEX_CHARS[E>>12&15]+HEX_CHARS[E>>8&15]+HEX_CHARS[E>>20&15]+HEX_CHARS[E>>16&15]+HEX_CHARS[E>>28&15]+HEX_CHARS[E>>24&15]+HEX_CHARS[u>>4&15]+HEX_CHARS[15&u]+HEX_CHARS[u>>12&15]+HEX_CHARS[u>>8&15]+HEX_CHARS[u>>20&15]+HEX_CHARS[u>>16&15]+HEX_CHARS[u>>28&15]+HEX_CHARS[u>>24&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[l>>4&15]+HEX_CHARS[15&l]+HEX_CHARS[l>>12&15]+HEX_CHARS[l>>8&15]+HEX_CHARS[l>>20&15]+HEX_CHARS[l>>16&15]+HEX_CHARS[l>>28&15]+HEX_CHARS[l>>24&15]},Md5.prototype.toString=Md5.prototype.hex,Md5.prototype.digest=function(){this.finalize();var E=this.h0,u=this.h1,o=this.h2,l=this.h3;return[255&E,E>>8&255,E>>16&255,E>>24&255,255&u,u>>8&255,u>>16&255,u>>24&255,255&o,o>>8&255,o>>16&255,o>>24&255,255&l,l>>8&255,l>>16&255,l>>24&255]},Md5.prototype.array=Md5.prototype.digest,Md5.prototype.arrayBuffer=function(){this.finalize();var E=new ArrayBuffer(16),u=new Uint32Array(E);return u[0]=this.h0,u[1]=this.h1,u[2]=this.h2,u[3]=this.h3,E},Md5.prototype.buffer=Md5.prototype.arrayBuffer,Md5.prototype.base64=function(){for(var E,u,o,l="",y=this.array(),m=0;m<15;)E=y[m++],u=y[m++],o=y[m++],l+=BASE64_ENCODE_CHAR[E>>>2]+BASE64_ENCODE_CHAR[63&(E<<4|u>>>4)]+BASE64_ENCODE_CHAR[63&(u<<2|o>>>6)]+BASE64_ENCODE_CHAR[63&o];return E=y[m],l+(BASE64_ENCODE_CHAR[E>>>2]+BASE64_ENCODE_CHAR[E<<4&63]+"==")};var exports=createMethod();COMMON_JS?module.exports=exports:(root.md5=exports,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__nested_webpack_require_91364__,exports,module),__WEBPACK_AMD_DEFINE_RESULT__===void 0||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))})()},3465:(E,u,o)=>{E=o.nmd(E);var l="__lodash_hash_undefined__",y=9007199254740991,m="[object Arguments]",v="[object Boolean]",j="[object Date]",p="[object Function]",g="[object GeneratorFunction]",_="[object Map]",w="[object Number]",O="[object Object]",x="[object Promise]",F="[object RegExp]",G="[object Set]",P="[object String]",Y="[object Symbol]",me="[object WeakMap]",ge="[object ArrayBuffer]",Be="[object DataView]",it="[object Float32Array]",be="[object Float64Array]",Re="[object Int8Array]",T="[object Int16Array]",at="[object Int32Array]",Ee="[object Uint8Array]",Le="[object Uint8ClampedArray]",Xe="[object Uint16Array]",se="[object Uint32Array]",Ze=/\w*$/,Fe=/^\[object .+?Constructor\]$/,dt=/^(?:0|[1-9]\d*)$/,$e={};$e[m]=$e["[object Array]"]=$e[ge]=$e[Be]=$e[v]=$e[j]=$e[it]=$e[be]=$e[Re]=$e[T]=$e[at]=$e[_]=$e[w]=$e[O]=$e[F]=$e[G]=$e[P]=$e[Y]=$e[Ee]=$e[Le]=$e[Xe]=$e[se]=!0,$e["[object Error]"]=$e[p]=$e[me]=!1;var ae=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,f=typeof self=="object"&&self&&self.Object===Object&&self,D=ae||f||Function("return this")(),H=u&&!u.nodeType&&u,z=H&&E&&!E.nodeType&&E,ve=z&&z.exports===H;function Se(I,b){return I.set(b[0],b[1]),I}function pe(I,b){return I.add(b),I}function he(I,b,ne,re){var Oe=-1,ye=I?I.length:0;for(re&&ye&&(ne=I[++Oe]);++Oe<ye;)ne=b(ne,I[Oe],Oe,I);return ne}function De(I){var b=!1;if(I!=null&&typeof I.toString!="function")try{b=!!(I+"")}catch(ne){}return b}function R(I){var b=-1,ne=Array(I.size);return I.forEach(function(re,Oe){ne[++b]=[Oe,re]}),ne}function U(I,b){return function(ne){return I(b(ne))}}function Z(I){var b=-1,ne=Array(I.size);return I.forEach(function(re){ne[++b]=re}),ne}var _e,Ve=Array.prototype,Ie=Function.prototype,mt=Object.prototype,jt=D["__core-js_shared__"],qe=(_e=/[^.]+$/.exec(jt&&jt.keys&&jt.keys.IE_PROTO||""))?"Symbol(src)_1."+_e:"",He=Ie.toString,It=mt.hasOwnProperty,Gt=mt.toString,Xt=RegExp("^"+He.call(It).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ht=ve?D.Buffer:void 0,qt=D.Symbol,Wt=D.Uint8Array,_t=U(Object.getPrototypeOf,Object),Zt=Object.create,q=mt.propertyIsEnumerable,Me=Ve.splice,Ae=Object.getOwnPropertySymbols,k=Ht?Ht.isBuffer:void 0,Q=U(Object.keys,Object),ie=ri(D,"DataView"),ce=ri(D,"Map"),Pe=ri(D,"Promise"),je=ri(D,"Set"),lt=ri(D,"WeakMap"),gt=ri(Object,"create"),pt=Si(ie),xe=Si(ce),Dt=Si(Pe),oi=Si(je),Kn=Si(lt),li=qt?qt.prototype:void 0,hn=li?li.valueOf:void 0;function At(I){var b=-1,ne=I?I.length:0;for(this.clear();++b<ne;){var re=I[b];this.set(re[0],re[1])}}function en(I){var b=-1,ne=I?I.length:0;for(this.clear();++b<ne;){var re=I[b];this.set(re[0],re[1])}}function Pn(I){var b=-1,ne=I?I.length:0;for(this.clear();++b<ne;){var re=I[b];this.set(re[0],re[1])}}function yi(I){this.__data__=new en(I)}function jn(I,b,ne){var re=I[b];It.call(I,b)&&Ji(re,ne)&&(ne!==void 0||b in I)||(I[b]=ne)}function Ei(I,b){for(var ne=I.length;ne--;)if(Ji(I[ne][0],b))return ne;return-1}function ii(I,b,ne,re,Oe,ye,st){var tt;if(re&&(tt=ye?re(I,Oe,ye,st):re(I)),tt!==void 0)return tt;if(!vn(I))return I;var Pt=We(I);if(Pt){if(tt=function($t){var an=$t.length,Bn=$t.constructor(an);return an&&typeof $t[0]=="string"&&It.call($t,"index")&&(Bn.index=$t.index,Bn.input=$t.input),Bn}(I),!b)return function($t,an){var Bn=-1,rn=$t.length;for(an||(an=Array(rn));++Bn<rn;)an[Bn]=$t[Bn];return an}(I,tt)}else{var et=ti(I),Ce=et==p||et==g;if(Ct(I))return function($t,an){if(an)return $t.slice();var Bn=new $t.constructor($t.length);return $t.copy(Bn),Bn}(I,b);if(et==O||et==m||Ce&&!ye){if(De(I))return ye?I:{};if(tt=function($t){return typeof $t.constructor!="function"||ci($t)?{}:vn(an=_t($t))?Zt(an):{};var an}(Ce?{}:I),!b)return function($t,an){return Di($t,Li($t),an)}(I,function($t,an){return $t&&Di(an,on(an),$t)}(tt,I))}else{if(!$e[et])return ye?I:{};tt=function($t,an,Bn,rn){var cn,di=$t.constructor;switch(an){case ge:return Bi($t);case v:case j:return new di(+$t);case Be:return function(zt,Cn){var Tn=Cn?Bi(zt.buffer):zt.buffer;return new zt.constructor(Tn,zt.byteOffset,zt.byteLength)}($t,rn);case it:case be:case Re:case T:case at:case Ee:case Le:case Xe:case se:return function(zt,Cn){var Tn=Cn?Bi(zt.buffer):zt.buffer;return new zt.constructor(Tn,zt.byteOffset,zt.length)}($t,rn);case _:return function(zt,Cn,Tn){return he(Cn?Tn(R(zt),!0):R(zt),Se,new zt.constructor)}($t,rn,Bn);case w:case P:return new di($t);case F:return function(zt){var Cn=new zt.constructor(zt.source,Ze.exec(zt));return Cn.lastIndex=zt.lastIndex,Cn}($t);case G:return function(zt,Cn,Tn){return he(Cn?Tn(Z(zt),!0):Z(zt),pe,new zt.constructor)}($t,rn,Bn);case Y:return cn=$t,hn?Object(hn.call(cn)):{}}}(I,et,ii,b)}}st||(st=new yi);var Yt=st.get(I);if(Yt)return Yt;if(st.set(I,tt),!Pt)var ui=ne?function($t){return function(an,Bn,rn){var cn=Bn(an);return We(an)?cn:function(di,zt){for(var Cn=-1,Tn=zt.length,un=di.length;++Cn<Tn;)di[un+Cn]=zt[Cn];return di}(cn,rn(an))}($t,on,Li)}(I):on(I);return function($t,an){for(var Bn=-1,rn=$t?$t.length:0;++Bn<rn&&an($t[Bn],Bn)!==!1;);}(ui||I,function($t,an){ui&&($t=I[an=$t]),jn(tt,an,ii($t,b,ne,re,an,I,st))}),tt}function Bi(I){var b=new I.constructor(I.byteLength);return new Wt(b).set(new Wt(I)),b}function Di(I,b,ne,re){ne||(ne={});for(var Oe=-1,ye=b.length;++Oe<ye;){var st=b[Oe],tt=re?re(ne[st],I[st],st,ne,I):void 0;jn(ne,st,tt===void 0?I[st]:tt)}return ne}function ai(I,b){var ne,re,Oe=I.__data__;return((re=typeof(ne=b))=="string"||re=="number"||re=="symbol"||re=="boolean"?ne!=="__proto__":ne===null)?Oe[typeof b=="string"?"string":"hash"]:Oe.map}function ri(I,b){var ne=function(re,Oe){return re==null?void 0:re[Oe]}(I,b);return function(re){return!(!vn(re)||(Oe=re,qe&&qe in Oe))&&(Mt(re)||De(re)?Xt:Fe).test(Si(re));var Oe}(ne)?ne:void 0}At.prototype.clear=function(){this.__data__=gt?gt(null):{}},At.prototype.delete=function(I){return this.has(I)&&delete this.__data__[I]},At.prototype.get=function(I){var b=this.__data__;if(gt){var ne=b[I];return ne===l?void 0:ne}return It.call(b,I)?b[I]:void 0},At.prototype.has=function(I){var b=this.__data__;return gt?b[I]!==void 0:It.call(b,I)},At.prototype.set=function(I,b){return this.__data__[I]=gt&&b===void 0?l:b,this},en.prototype.clear=function(){this.__data__=[]},en.prototype.delete=function(I){var b=this.__data__,ne=Ei(b,I);return!(ne<0||(ne==b.length-1?b.pop():Me.call(b,ne,1),0))},en.prototype.get=function(I){var b=this.__data__,ne=Ei(b,I);return ne<0?void 0:b[ne][1]},en.prototype.has=function(I){return Ei(this.__data__,I)>-1},en.prototype.set=function(I,b){var ne=this.__data__,re=Ei(ne,I);return re<0?ne.push([I,b]):ne[re][1]=b,this},Pn.prototype.clear=function(){this.__data__={hash:new At,map:new(ce||en),string:new At}},Pn.prototype.delete=function(I){return ai(this,I).delete(I)},Pn.prototype.get=function(I){return ai(this,I).get(I)},Pn.prototype.has=function(I){return ai(this,I).has(I)},Pn.prototype.set=function(I,b){return ai(this,I).set(I,b),this},yi.prototype.clear=function(){this.__data__=new en},yi.prototype.delete=function(I){return this.__data__.delete(I)},yi.prototype.get=function(I){return this.__data__.get(I)},yi.prototype.has=function(I){return this.__data__.has(I)},yi.prototype.set=function(I,b){var ne=this.__data__;if(ne instanceof en){var re=ne.__data__;if(!ce||re.length<199)return re.push([I,b]),this;ne=this.__data__=new Pn(re)}return ne.set(I,b),this};var Li=Ae?U(Ae,Object):function(){return[]},ti=function(I){return Gt.call(I)};function Yn(I,b){return!!(b=b==null?y:b)&&(typeof I=="number"||dt.test(I))&&I>-1&&I%1==0&&I<b}function ci(I){var b=I&&I.constructor;return I===(typeof b=="function"&&b.prototype||mt)}function Si(I){if(I!=null){try{return He.call(I)}catch(b){}try{return I+""}catch(b){}}return""}function Ji(I,b){return I===b||I!=I&&b!=b}(ie&&ti(new ie(new ArrayBuffer(1)))!=Be||ce&&ti(new ce)!=_||Pe&&ti(Pe.resolve())!=x||je&&ti(new je)!=G||lt&&ti(new lt)!=me)&&(ti=function(I){var b=Gt.call(I),ne=b==O?I.constructor:void 0,re=ne?Si(ne):void 0;if(re)switch(re){case pt:return Be;case xe:return _;case Dt:return x;case oi:return G;case Kn:return me}return b});var We=Array.isArray;function ct(I){return I!=null&&function(b){return typeof b=="number"&&b>-1&&b%1==0&&b<=y}(I.length)&&!Mt(I)}var Ct=k||function(){return!1};function Mt(I){var b=vn(I)?Gt.call(I):"";return b==p||b==g}function vn(I){var b=typeof I;return!!I&&(b=="object"||b=="function")}function on(I){return ct(I)?function(b,ne){var re=We(b)||function(tt){return function(Pt){return function(et){return!!et&&typeof et=="object"}(Pt)&&ct(Pt)}(tt)&&It.call(tt,"callee")&&(!q.call(tt,"callee")||Gt.call(tt)==m)}(b)?function(tt,Pt){for(var et=-1,Ce=Array(tt);++et<tt;)Ce[et]=Pt(et);return Ce}(b.length,String):[],Oe=re.length,ye=!!Oe;for(var st in b)!It.call(b,st)||ye&&(st=="length"||Yn(st,Oe))||re.push(st);return re}(I):function(b){if(!ci(b))return Q(b);var ne=[];for(var re in Object(b))It.call(b,re)&&re!="constructor"&&ne.push(re);return ne}(I)}E.exports=function(I){return ii(I,!0,!0)}},1296:(E,u,o)=>{var l=/^\s+|\s+$/g,y=/^[-+]0x[0-9a-f]+$/i,m=/^0b[01]+$/i,v=/^0o[0-7]+$/i,j=parseInt,p=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,g=typeof self=="object"&&self&&self.Object===Object&&self,_=p||g||Function("return this")(),w=Object.prototype.toString,O=Math.max,x=Math.min,F=function(){return _.Date.now()};function G(Y){var me=typeof Y;return!!Y&&(me=="object"||me=="function")}function P(Y){if(typeof Y=="number")return Y;if(function(Be){return typeof Be=="symbol"||function(it){return!!it&&typeof it=="object"}(Be)&&w.call(Be)=="[object Symbol]"}(Y))return NaN;if(G(Y)){var me=typeof Y.valueOf=="function"?Y.valueOf():Y;Y=G(me)?me+"":me}if(typeof Y!="string")return Y===0?Y:+Y;Y=Y.replace(l,"");var ge=m.test(Y);return ge||v.test(Y)?j(Y.slice(2),ge?2:8):y.test(Y)?NaN:+Y}E.exports=function(Y,me,ge){var Be,it,be,Re,T,at,Ee=0,Le=!1,Xe=!1,se=!0;if(typeof Y!="function")throw new TypeError("Expected a function");function Ze(f){var D=Be,H=it;return Be=it=void 0,Ee=f,Re=Y.apply(H,D)}function Fe(f){var D=f-at;return at===void 0||D>=me||D<0||Xe&&f-Ee>=be}function dt(){var f=F();if(Fe(f))return $e(f);T=setTimeout(dt,function(D){var H=me-(D-at);return Xe?x(H,be-(D-Ee)):H}(f))}function $e(f){return T=void 0,se&&Be?Ze(f):(Be=it=void 0,Re)}function ae(){var f=F(),D=Fe(f);if(Be=arguments,it=this,at=f,D){if(T===void 0)return function(H){return Ee=H,T=setTimeout(dt,me),Le?Ze(H):Re}(at);if(Xe)return T=setTimeout(dt,me),Ze(at)}return T===void 0&&(T=setTimeout(dt,me)),Re}return me=P(me)||0,G(ge)&&(Le=!!ge.leading,be=(Xe="maxWait"in ge)?O(P(ge.maxWait)||0,me):be,se="trailing"in ge?!!ge.trailing:se),ae.cancel=function(){T!==void 0&&clearTimeout(T),Ee=0,Be=at=it=T=void 0},ae.flush=function(){return T===void 0?Re:$e(F())},ae}},2307:(E,u,o)=>{E=o.nmd(E);var l="__lodash_hash_undefined__",y=9007199254740991,m="[object Arguments]",v="[object Array]",j="[object Boolean]",p="[object Date]",g="[object Error]",_="[object Function]",w="[object Map]",O="[object Number]",x="[object Object]",F="[object Promise]",G="[object RegExp]",P="[object Set]",Y="[object String]",me="[object WeakMap]",ge="[object ArrayBuffer]",Be="[object DataView]",it=/^\[object .+?Constructor\]$/,be=/^(?:0|[1-9]\d*)$/,Re={};Re["[object Float32Array]"]=Re["[object Float64Array]"]=Re["[object Int8Array]"]=Re["[object Int16Array]"]=Re["[object Int32Array]"]=Re["[object Uint8Array]"]=Re["[object Uint8ClampedArray]"]=Re["[object Uint16Array]"]=Re["[object Uint32Array]"]=!0,Re[m]=Re[v]=Re[ge]=Re[j]=Re[Be]=Re[p]=Re[g]=Re[_]=Re[w]=Re[O]=Re[x]=Re[G]=Re[P]=Re[Y]=Re[me]=!1;var T=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,at=typeof self=="object"&&self&&self.Object===Object&&self,Ee=T||at||Function("return this")(),Le=u&&!u.nodeType&&u,Xe=Le&&E&&!E.nodeType&&E,se=Xe&&Xe.exports===Le,Ze=se&&T.process,Fe=function(){try{return Ze&&Ze.binding&&Ze.binding("util")}catch(We){}}(),dt=Fe&&Fe.isTypedArray;function $e(We,ct){for(var Ct=-1,Mt=We==null?0:We.length;++Ct<Mt;)if(ct(We[Ct],Ct,We))return!0;return!1}function ae(We){var ct=-1,Ct=Array(We.size);return We.forEach(function(Mt,vn){Ct[++ct]=[vn,Mt]}),Ct}function f(We){var ct=-1,Ct=Array(We.size);return We.forEach(function(Mt){Ct[++ct]=Mt}),Ct}var D,H,z,ve=Array.prototype,Se=Function.prototype,pe=Object.prototype,he=Ee["__core-js_shared__"],De=Se.toString,R=pe.hasOwnProperty,U=(D=/[^.]+$/.exec(he&&he.keys&&he.keys.IE_PROTO||""))?"Symbol(src)_1."+D:"",Z=pe.toString,_e=RegExp("^"+De.call(R).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ve=se?Ee.Buffer:void 0,Ie=Ee.Symbol,mt=Ee.Uint8Array,jt=pe.propertyIsEnumerable,qe=ve.splice,He=Ie?Ie.toStringTag:void 0,It=Object.getOwnPropertySymbols,Gt=Ve?Ve.isBuffer:void 0,Xt=(H=Object.keys,z=Object,function(We){return H(z(We))}),Ht=Pn(Ee,"DataView"),qt=Pn(Ee,"Map"),Wt=Pn(Ee,"Promise"),_t=Pn(Ee,"Set"),Zt=Pn(Ee,"WeakMap"),q=Pn(Object,"create"),Me=ii(Ht),Ae=ii(qt),k=ii(Wt),Q=ii(_t),ie=ii(Zt),ce=Ie?Ie.prototype:void 0,Pe=ce?ce.valueOf:void 0;function je(We){var ct=-1,Ct=We==null?0:We.length;for(this.clear();++ct<Ct;){var Mt=We[ct];this.set(Mt[0],Mt[1])}}function lt(We){var ct=-1,Ct=We==null?0:We.length;for(this.clear();++ct<Ct;){var Mt=We[ct];this.set(Mt[0],Mt[1])}}function gt(We){var ct=-1,Ct=We==null?0:We.length;for(this.clear();++ct<Ct;){var Mt=We[ct];this.set(Mt[0],Mt[1])}}function pt(We){var ct=-1,Ct=We==null?0:We.length;for(this.__data__=new gt;++ct<Ct;)this.add(We[ct])}function xe(We){var ct=this.__data__=new lt(We);this.size=ct.size}function Dt(We,ct){for(var Ct=We.length;Ct--;)if(Bi(We[Ct][0],ct))return Ct;return-1}function oi(We){return We==null?We===void 0?"[object Undefined]":"[object Null]":He&&He in Object(We)?function(ct){var Ct=R.call(ct,He),Mt=ct[He];try{ct[He]=void 0;var vn=!0}catch(I){}var on=Z.call(ct);return vn&&(Ct?ct[He]=Mt:delete ct[He]),on}(We):function(ct){return Z.call(ct)}(We)}function Kn(We){return ci(We)&&oi(We)==m}function li(We,ct,Ct,Mt,vn){return We===ct||(We==null||ct==null||!ci(We)&&!ci(ct)?We!=We&&ct!=ct:function(on,I,b,ne,re,Oe){var ye=ai(on),st=ai(I),tt=ye?v:jn(on),Pt=st?v:jn(I),et=(tt=tt==m?x:tt)==x,Ce=(Pt=Pt==m?x:Pt)==x,Yt=tt==Pt;if(Yt&&ri(on)){if(!ri(I))return!1;ye=!0,et=!1}if(Yt&&!et)return Oe||(Oe=new xe),ye||Si(on)?hn(on,I,b,ne,re,Oe):function(rn,cn,di,zt,Cn,Tn,un){switch(di){case Be:if(rn.byteLength!=cn.byteLength||rn.byteOffset!=cn.byteOffset)return!1;rn=rn.buffer,cn=cn.buffer;case ge:return!(rn.byteLength!=cn.byteLength||!Tn(new mt(rn),new mt(cn)));case j:case p:case O:return Bi(+rn,+cn);case g:return rn.name==cn.name&&rn.message==cn.message;case G:case Y:return rn==cn+"";case w:var gi=ae;case P:var Rn=1&zt;if(gi||(gi=f),rn.size!=cn.size&&!Rn)return!1;var si=un.get(rn);if(si)return si==cn;zt|=2,un.set(rn,cn);var Mn=hn(gi(rn),gi(cn),zt,Cn,Tn,un);return un.delete(rn),Mn;case"[object Symbol]":if(Pe)return Pe.call(rn)==Pe.call(cn)}return!1}(on,I,tt,b,ne,re,Oe);if(!(1&b)){var ui=et&&R.call(on,"__wrapped__"),$t=Ce&&R.call(I,"__wrapped__");if(ui||$t){var an=ui?on.value():on,Bn=$t?I.value():I;return Oe||(Oe=new xe),re(an,Bn,b,ne,Oe)}}return!!Yt&&(Oe||(Oe=new xe),function(rn,cn,di,zt,Cn,Tn){var un=1&di,gi=At(rn),Rn=gi.length;if(Rn!=At(cn).length&&!un)return!1;for(var si=Rn;si--;){var Mn=gi[si];if(!(un?Mn in cn:R.call(cn,Mn)))return!1}var qn=Tn.get(rn);if(qn&&Tn.get(cn))return qn==cn;var Ui=!0;Tn.set(rn,cn),Tn.set(cn,rn);for(var dr=un;++si<Rn;){var Gi=rn[Mn=gi[si]],Hn=cn[Mn];if(zt)var hr=un?zt(Hn,Gi,Mn,cn,rn,Tn):zt(Gi,Hn,Mn,rn,cn,Tn);if(!(hr===void 0?Gi===Hn||Cn(Gi,Hn,di,zt,Tn):hr)){Ui=!1;break}dr||(dr=Mn=="constructor")}if(Ui&&!dr){var zi=rn.constructor,qi=cn.constructor;zi==qi||!("constructor"in rn)||!("constructor"in cn)||typeof zi=="function"&&zi instanceof zi&&typeof qi=="function"&&qi instanceof qi||(Ui=!1)}return Tn.delete(rn),Tn.delete(cn),Ui}(on,I,b,ne,re,Oe))}(We,ct,Ct,Mt,li,vn))}function hn(We,ct,Ct,Mt,vn,on){var I=1&Ct,b=We.length,ne=ct.length;if(b!=ne&&!(I&&ne>b))return!1;var re=on.get(We);if(re&&on.get(ct))return re==ct;var Oe=-1,ye=!0,st=2&Ct?new pt:void 0;for(on.set(We,ct),on.set(ct,We);++Oe<b;){var tt=We[Oe],Pt=ct[Oe];if(Mt)var et=I?Mt(Pt,tt,Oe,ct,We,on):Mt(tt,Pt,Oe,We,ct,on);if(et!==void 0){if(et)continue;ye=!1;break}if(st){if(!$e(ct,function(Ce,Yt){if(ui=Yt,!st.has(ui)&&(tt===Ce||vn(tt,Ce,Ct,Mt,on)))return st.push(Yt);var ui})){ye=!1;break}}else if(tt!==Pt&&!vn(tt,Pt,Ct,Mt,on)){ye=!1;break}}return on.delete(We),on.delete(ct),ye}function At(We){return function(ct,Ct,Mt){var vn=Ct(ct);return ai(ct)?vn:function(on,I){for(var b=-1,ne=I.length,re=on.length;++b<ne;)on[re+b]=I[b];return on}(vn,Mt(ct))}(We,Ji,yi)}function en(We,ct){var Ct,Mt,vn=We.__data__;return((Mt=typeof(Ct=ct))=="string"||Mt=="number"||Mt=="symbol"||Mt=="boolean"?Ct!=="__proto__":Ct===null)?vn[typeof ct=="string"?"string":"hash"]:vn.map}function Pn(We,ct){var Ct=function(Mt,vn){return Mt==null?void 0:Mt[vn]}(We,ct);return function(Mt){return!(!Yn(Mt)||function(vn){return!!U&&U in vn}(Mt))&&(Li(Mt)?_e:it).test(ii(Mt))}(Ct)?Ct:void 0}je.prototype.clear=function(){this.__data__=q?q(null):{},this.size=0},je.prototype.delete=function(We){var ct=this.has(We)&&delete this.__data__[We];return this.size-=ct?1:0,ct},je.prototype.get=function(We){var ct=this.__data__;if(q){var Ct=ct[We];return Ct===l?void 0:Ct}return R.call(ct,We)?ct[We]:void 0},je.prototype.has=function(We){var ct=this.__data__;return q?ct[We]!==void 0:R.call(ct,We)},je.prototype.set=function(We,ct){var Ct=this.__data__;return this.size+=this.has(We)?0:1,Ct[We]=q&&ct===void 0?l:ct,this},lt.prototype.clear=function(){this.__data__=[],this.size=0},lt.prototype.delete=function(We){var ct=this.__data__,Ct=Dt(ct,We);return!(Ct<0||(Ct==ct.length-1?ct.pop():qe.call(ct,Ct,1),--this.size,0))},lt.prototype.get=function(We){var ct=this.__data__,Ct=Dt(ct,We);return Ct<0?void 0:ct[Ct][1]},lt.prototype.has=function(We){return Dt(this.__data__,We)>-1},lt.prototype.set=function(We,ct){var Ct=this.__data__,Mt=Dt(Ct,We);return Mt<0?(++this.size,Ct.push([We,ct])):Ct[Mt][1]=ct,this},gt.prototype.clear=function(){this.size=0,this.__data__={hash:new je,map:new(qt||lt),string:new je}},gt.prototype.delete=function(We){var ct=en(this,We).delete(We);return this.size-=ct?1:0,ct},gt.prototype.get=function(We){return en(this,We).get(We)},gt.prototype.has=function(We){return en(this,We).has(We)},gt.prototype.set=function(We,ct){var Ct=en(this,We),Mt=Ct.size;return Ct.set(We,ct),this.size+=Ct.size==Mt?0:1,this},pt.prototype.add=pt.prototype.push=function(We){return this.__data__.set(We,l),this},pt.prototype.has=function(We){return this.__data__.has(We)},xe.prototype.clear=function(){this.__data__=new lt,this.size=0},xe.prototype.delete=function(We){var ct=this.__data__,Ct=ct.delete(We);return this.size=ct.size,Ct},xe.prototype.get=function(We){return this.__data__.get(We)},xe.prototype.has=function(We){return this.__data__.has(We)},xe.prototype.set=function(We,ct){var Ct=this.__data__;if(Ct instanceof lt){var Mt=Ct.__data__;if(!qt||Mt.length<199)return Mt.push([We,ct]),this.size=++Ct.size,this;Ct=this.__data__=new gt(Mt)}return Ct.set(We,ct),this.size=Ct.size,this};var yi=It?function(We){return We==null?[]:(We=Object(We),function(ct,Ct){for(var Mt=-1,vn=ct==null?0:ct.length,on=0,I=[];++Mt<vn;){var b=ct[Mt];ne=b,jt.call(We,ne)&&(I[on++]=b)}var ne;return I}(It(We)))}:function(){return[]},jn=oi;function Ei(We,ct){return!!(ct=ct==null?y:ct)&&(typeof We=="number"||be.test(We))&&We>-1&&We%1==0&&We<ct}function ii(We){if(We!=null){try{return De.call(We)}catch(ct){}try{return We+""}catch(ct){}}return""}function Bi(We,ct){return We===ct||We!=We&&ct!=ct}(Ht&&jn(new Ht(new ArrayBuffer(1)))!=Be||qt&&jn(new qt)!=w||Wt&&jn(Wt.resolve())!=F||_t&&jn(new _t)!=P||Zt&&jn(new Zt)!=me)&&(jn=function(We){var ct=oi(We),Ct=ct==x?We.constructor:void 0,Mt=Ct?ii(Ct):"";if(Mt)switch(Mt){case Me:return Be;case Ae:return w;case k:return F;case Q:return P;case ie:return me}return ct});var Di=Kn(function(){return arguments}())?Kn:function(We){return ci(We)&&R.call(We,"callee")&&!jt.call(We,"callee")},ai=Array.isArray,ri=Gt||function(){return!1};function Li(We){if(!Yn(We))return!1;var ct=oi(We);return ct==_||ct=="[object GeneratorFunction]"||ct=="[object AsyncFunction]"||ct=="[object Proxy]"}function ti(We){return typeof We=="number"&&We>-1&&We%1==0&&We<=y}function Yn(We){var ct=typeof We;return We!=null&&(ct=="object"||ct=="function")}function ci(We){return We!=null&&typeof We=="object"}var Si=dt?function(We){return function(ct){return We(ct)}}(dt):function(We){return ci(We)&&ti(We.length)&&!!Re[oi(We)]};function Ji(We){return(ct=We)!=null&&ti(ct.length)&&!Li(ct)?function(Ct,Mt){var vn=ai(Ct),on=!vn&&Di(Ct),I=!vn&&!on&&ri(Ct),b=!vn&&!on&&!I&&Si(Ct),ne=vn||on||I||b,re=ne?function(st,tt){for(var Pt=-1,et=Array(st);++Pt<st;)et[Pt]=tt(Pt);return et}(Ct.length,String):[],Oe=re.length;for(var ye in Ct)!R.call(Ct,ye)||ne&&(ye=="length"||I&&(ye=="offset"||ye=="parent")||b&&(ye=="buffer"||ye=="byteLength"||ye=="byteOffset")||Ei(ye,Oe))||re.push(ye);return re}(We):function(Ct){if(vn=(Mt=Ct)&&Mt.constructor,Mt!==(typeof vn=="function"&&vn.prototype||pe))return Xt(Ct);var Mt,vn,on=[];for(var I in Object(Ct))R.call(Ct,I)&&I!="constructor"&&on.push(I);return on}(We);var ct}E.exports=function(We,ct){return li(We,ct)}},6692:E=>{var u=E.exports={v:[{name:"version",reg:/^(\d*)$/}],o:[{name:"origin",reg:/^(\S*) (\d*) (\d*) (\S*) IP(\d) (\S*)/,names:["username","sessionId","sessionVersion","netType","ipVer","address"],format:"%s %s %d %s IP%d %s"}],s:[{name:"name"}],i:[{name:"description"}],u:[{name:"uri"}],e:[{name:"email"}],p:[{name:"phone"}],z:[{name:"timezones"}],r:[{name:"repeats"}],t:[{name:"timing",reg:/^(\d*) (\d*)/,names:["start","stop"],format:"%d %d"}],c:[{name:"connection",reg:/^IN IP(\d) (\S*)/,names:["version","ip"],format:"IN IP%d %s"}],b:[{push:"bandwidth",reg:/^(TIAS|AS|CT|RR|RS):(\d*)/,names:["type","limit"],format:"%s:%s"}],m:[{reg:/^(\w*) (\d*) ([\w\/]*)(?: (.*))?/,names:["type","port","protocol","payloads"],format:"%s %d %s %s"}],a:[{push:"rtp",reg:/^rtpmap:(\d*) ([\w\-\.]*)(?:\s*\/(\d*)(?:\s*\/(\S*))?)?/,names:["payload","codec","rate","encoding"],format:function(o){return o.encoding?"rtpmap:%d %s/%s/%s":o.rate?"rtpmap:%d %s/%s":"rtpmap:%d %s"}},{push:"fmtp",reg:/^fmtp:(\d*) ([\S| ]*)/,names:["payload","config"],format:"fmtp:%d %s"},{name:"control",reg:/^control:(.*)/,format:"control:%s"},{name:"rtcp",reg:/^rtcp:(\d*)(?: (\S*) IP(\d) (\S*))?/,names:["port","netType","ipVer","address"],format:function(o){return o.address!=null?"rtcp:%d %s IP%d %s":"rtcp:%d"}},{push:"rtcpFbTrrInt",reg:/^rtcp-fb:(\*|\d*) trr-int (\d*)/,names:["payload","value"],format:"rtcp-fb:%d trr-int %d"},{push:"rtcpFb",reg:/^rtcp-fb:(\*|\d*) ([\w-_]*)(?: ([\w-_]*))?/,names:["payload","type","subtype"],format:function(o){return o.subtype!=null?"rtcp-fb:%s %s %s":"rtcp-fb:%s %s"}},{push:"ext",reg:/^extmap:(\d+)(?:\/(\w+))? (\S*)(?: (\S*))?/,names:["value","direction","uri","config"],format:function(o){return"extmap:%d"+(o.direction?"/%s":"%v")+" %s"+(o.config?" %s":"")}},{push:"crypto",reg:/^crypto:(\d*) ([\w_]*) (\S*)(?: (\S*))?/,names:["id","suite","config","sessionConfig"],format:function(o){return o.sessionConfig!=null?"crypto:%d %s %s %s":"crypto:%d %s %s"}},{name:"setup",reg:/^setup:(\w*)/,format:"setup:%s"},{name:"mid",reg:/^mid:([^\s]*)/,format:"mid:%s"},{name:"msid",reg:/^msid:(.*)/,format:"msid:%s"},{name:"ptime",reg:/^ptime:(\d*)/,format:"ptime:%d"},{name:"maxptime",reg:/^maxptime:(\d*)/,format:"maxptime:%d"},{name:"direction",reg:/^(sendrecv|recvonly|sendonly|inactive)/},{name:"icelite",reg:/^(ice-lite)/},{name:"iceUfrag",reg:/^ice-ufrag:(\S*)/,format:"ice-ufrag:%s"},{name:"icePwd",reg:/^ice-pwd:(\S*)/,format:"ice-pwd:%s"},{name:"fingerprint",reg:/^fingerprint:(\S*) (\S*)/,names:["type","hash"],format:"fingerprint:%s %s"},{push:"candidates",reg:/^candidate:(\S*) (\d*) (\S*) (\d*) (\S*) (\d*) typ (\S*)(?: raddr (\S*) rport (\d*))?(?: tcptype (\S*))?(?: generation (\d*))?(?: network-id (\d*))?(?: network-cost (\d*))?/,names:["foundation","component","transport","priority","ip","port","type","raddr","rport","tcptype","generation","network-id","network-cost"],format:function(o){var l="candidate:%s %d %s %d %s %d typ %s";return l+=o.raddr!=null?" raddr %s rport %d":"%v%v",l+=o.tcptype!=null?" tcptype %s":"%v",o.generation!=null&&(l+=" generation %d"),(l+=o["network-id"]!=null?" network-id %d":"%v")+(o["network-cost"]!=null?" network-cost %d":"%v")}},{name:"endOfCandidates",reg:/^(end-of-candidates)/},{name:"remoteCandidates",reg:/^remote-candidates:(.*)/,format:"remote-candidates:%s"},{name:"iceOptions",reg:/^ice-options:(\S*)/,format:"ice-options:%s"},{push:"ssrcs",reg:/^ssrc:(\d*) ([\w_]*)(?::(.*))?/,names:["id","attribute","value"],format:function(o){var l="ssrc:%d";return o.attribute!=null&&(l+=" %s",o.value!=null&&(l+=":%s")),l}},{push:"ssrcGroups",reg:/^ssrc-group:([\x21\x23\x24\x25\x26\x27\x2A\x2B\x2D\x2E\w]*) (.*)/,names:["semantics","ssrcs"],format:"ssrc-group:%s %s"},{name:"msidSemantic",reg:/^msid-semantic:\s?(\w*) (\S*)/,names:["semantic","token"],format:"msid-semantic: %s %s"},{push:"groups",reg:/^group:(\w*) (.*)/,names:["type","mids"],format:"group:%s %s"},{name:"rtcpMux",reg:/^(rtcp-mux)/},{name:"rtcpRsize",reg:/^(rtcp-rsize)/},{name:"sctpmap",reg:/^sctpmap:([\w_\/]*) (\S*)(?: (\S*))?/,names:["sctpmapNumber","app","maxMessageSize"],format:function(o){return o.maxMessageSize!=null?"sctpmap:%s %s %s":"sctpmap:%s %s"}},{name:"xGoogleFlag",reg:/^x-google-flag:([^\s]*)/,format:"x-google-flag:%s"},{push:"rids",reg:/^rid:([\d\w]+) (\w+)(?: ([\S| ]*))?/,names:["id","direction","params"],format:function(o){return o.params?"rid:%s %s %s":"rid:%s %s"}},{push:"imageattrs",reg:new RegExp("^imageattr:(\\d+|\\*)[\\s\\t]+(send|recv)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*)(?:[\\s\\t]+(recv|send)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*))?"),names:["pt","dir1","attrs1","dir2","attrs2"],format:function(o){return"imageattr:%s %s %s"+(o.dir2?" %s %s":"")}},{name:"simulcast",reg:new RegExp("^simulcast:(send|recv) ([a-zA-Z0-9\\-_~;,]+)(?:\\s?(send|recv) ([a-zA-Z0-9\\-_~;,]+))?$"),names:["dir1","list1","dir2","list2"],format:function(o){return"simulcast:%s %s"+(o.dir2?" %s %s":"")}},{name:"simulcast_03",reg:/^simulcast:[\s\t]+([\S+\s\t]+)$/,names:["value"],format:"simulcast: %s"},{name:"framerate",reg:/^framerate:(\d+(?:$|\.\d+))/,format:"framerate:%s"},{push:"invalid",names:["value"]}]};Object.keys(u).forEach(function(o){u[o].forEach(function(l){l.reg||(l.reg=/(.*)/),l.format||(l.format="%s")})})},766:(E,u,o)=>{var l=o(962),y=o(5776);u.write=y,u.parse=l.parse,u.parseFmtpConfig=l.parseFmtpConfig,u.parseParams=l.parseParams,u.parsePayloads=l.parsePayloads,u.parseRemoteCandidates=l.parseRemoteCandidates,u.parseImageAttributes=l.parseImageAttributes,u.parseSimulcastStreamList=l.parseSimulcastStreamList},962:(E,u,o)=>{var l=function(p){return String(Number(p))===p?Number(p):p},y=function(p,g,_){var w=p.name&&p.names;p.push&&!g[p.push]?g[p.push]=[]:w&&!g[p.name]&&(g[p.name]={});var O=p.push?{}:w?g[p.name]:g;(function(x,F,G,P){if(P&&!G)F[P]=l(x[1]);else for(var Y=0;Y<G.length;Y+=1)x[Y+1]!=null&&(F[G[Y]]=l(x[Y+1]))})(_.match(p.reg),O,p.names,p.name),p.push&&g[p.push].push(O)},m=o(6692),v=RegExp.prototype.test.bind(/^([a-z])=(.*)/);u.parse=function(p){var g={},_=[],w=g;return p.split(/(\r\n|\r|\n)/).filter(v).forEach(function(O){var x=O[0],F=O.slice(2);x==="m"&&(_.push({rtp:[],fmtp:[]}),w=_[_.length-1]);for(var G=0;G<(m[x]||[]).length;G+=1){var P=m[x][G];if(P.reg.test(F))return y(P,w,F)}}),g.media=_,g};var j=function(p,g){var _=g.split(/=(.+)/,2);return _.length===2&&(p[_[0]]=l(_[1])),p};u.parseParams=function(p){return p.split(/\;\s?/).reduce(j,{})},u.parseFmtpConfig=u.parseParams,u.parsePayloads=function(p){return p.split(" ").map(Number)},u.parseRemoteCandidates=function(p){for(var g=[],_=p.split(" ").map(l),w=0;w<_.length;w+=3)g.push({component:_[w],ip:_[w+1],port:_[w+2]});return g},u.parseImageAttributes=function(p){return p.split(" ").map(function(g){return g.substring(1,g.length-1).split(",").reduce(j,{})})},u.parseSimulcastStreamList=function(p){return p.split(";").map(function(g){return g.split(",").map(function(_){var w,O=!1;return _[0]!=="~"?w=l(_):(w=l(_.substring(1,_.length)),O=!0),{scid:w,paused:O}})})}},5776:(E,u,o)=>{var l=o(6692),y=/%[sdv%]/g,m=function(g){var _=1,w=arguments,O=w.length;return g.replace(y,function(x){if(_>=O)return x;var F=w[_];switch(_+=1,x){case"%%":return"%";case"%s":return String(F);case"%d":return Number(F);case"%v":return""}})},v=function(g,_,w){var O=[g+"="+(_.format instanceof Function?_.format(_.push?w:w[_.name]):_.format)];if(_.names)for(var x=0;x<_.names.length;x+=1){var F=_.names[x];_.name?O.push(w[_.name][F]):O.push(w[_.names[x]])}else O.push(w[_.name]);return m.apply(null,O)},j=["v","o","s","i","u","e","p","c","b","t","r","z","a"],p=["i","c","b","a"];E.exports=function(g,_){_=_||{},g.version==null&&(g.version=0),g.name==null&&(g.name=" "),g.media.forEach(function(F){F.payloads==null&&(F.payloads="")});var w=_.outerOrder||j,O=_.innerOrder||p,x=[];return w.forEach(function(F){l[F].forEach(function(G){G.name in g&&g[G.name]!=null?x.push(v(F,G,g)):G.push in g&&g[G.push]!=null&&g[G.push].forEach(function(P){x.push(v(F,G,P))})})}),g.media.forEach(function(F){x.push(v("m",l.m[0],F)),O.forEach(function(G){l[G].forEach(function(P){P.name in F&&F[P.name]!=null?x.push(v(G,P,F)):P.push in F&&F[P.push]!=null&&F[P.push].forEach(function(Y){x.push(v(G,P,Y))})})})}),x.join(`\r
10
+ `}},2636:(E,u,o)=>{var l=o(766),y=o(9776),m=y.parseSsrcs,v=y.writeSsrcs;function j(w,O,x){return w.ssrcs.filter(function(F){return F.id===O}).filter(function(F){return F.attribute===x}).map(function(F){return F.value})[0]}function p(w){this.options=w||{},this.options.numOfLayers||(this.options.numOfLayers=3),this.ssrcCache=[]}function g(w,O){w!=null&&Array.isArray(w.media)&&w.media.forEach(function(x){x.type==="video"&&O(x)})}function _(w){return w&&w!=null&&w.type&&w.type!=""&&w.sdp&&w.sdp!=""}p.prototype.clearSsrcCache=function(){this.ssrcCache=[]},p.prototype.setSsrcCache=function(w){this.ssrcCache=w},p.prototype._parseSimLayers=function(w){var O=w.ssrcGroups&&w.ssrcGroups.find(function(x){return x.semantics==="SIM"});return O?O.ssrcs.split(" ").map(function(x){return parseInt(x)}):[w.ssrcs[0].id]},p.prototype._buildNewToOldSsrcMap=function(w,O){for(var x={},F=0;F<w.length;++F){var G=w[F],P=O[F]||null;x[G]=P}return x},p.prototype._fillInSourceDataFromCache=function(w){var O=this._parseSimLayers(w),x=j(w,O[0],"msid"),F=j(w,O[0],"cname"),G=this._buildNewToOldSsrcMap(O,this.ssrcCache),P=this.ssrcCache.filter(function(Y){return Object.values(G).indexOf(Y)===-1});return w.ssrcs.forEach(function(Y){G[Y.id]&&(Y.id=G[Y.id])}),P.forEach(function(Y){w.ssrcs.push({id:Y,attribute:"msid",value:x}),w.ssrcs.push({id:Y,attribute:"cname",value:F})}),w.ssrcGroups=w.ssrcGroups||[],w.ssrcGroups.push({semantics:"SIM",ssrcs:this.ssrcCache.join(" ")}),w},p.prototype._generateSourceData=function(w,O){var x=function(ge,Be){ge.ssrcs.push({id:Be,attribute:"cname",value:G}),ge.ssrcs.push({id:Be,attribute:"msid",value:F})},F=j(w,O,"msid"),G=j(w,O,"cname");this.options.usesUnifiedPlan&&!F&&(F=w.msid,w.ssrcs.forEach(ge=>{w.ssrcs.push({id:ge.id,attribute:"msid",value:F})}));for(var P=[],Y=0;Y<this.options.numOfLayers-1;++Y){var me=Math.floor(4294967295*Math.random())+0;x(w,me),P.push(me)}return w.ssrcGroups=w.ssrcGroups||[],w.ssrcGroups.push({semantics:"SIM",ssrcs:O+" "+P.join(" ")}),w},p.prototype._restoreSimulcast=function(w){var O,x=w.ssrcs&&w.ssrcs.map(function(P){return P.id}).filter(function(P,Y,me){return me.indexOf(P)===Y}).length||0,F=w.ssrcGroups&&w.ssrcGroups.length||0;if(x===0||x>2||x==2&&F===0)return w;if(x===1)O=w.ssrcs[0].id;else{var G=w.ssrcGroups.filter(function(P){return P.semantics==="FID"})[0];if(!G)return w;O=parseInt(G.ssrcs.split(" ")[0])}return w=this.ssrcCache.indexOf(O)!==-1?this._fillInSourceDataFromCache(w):this._generateSourceData(w,O),this.ssrcCache=this._parseSimLayers(w),w},p.prototype.mungeRemoteDescription=function(w,O){if(!_(w))return w;var x=l.parse(w.sdp),F=this;return g(x,function(G){F.options.explodeRemoteSimulcast?function(P){if(P&&Array.isArray(P.ssrcGroups)){for(var Y=m(P),me=[],ge=P.ssrcGroups.length;ge--;)if(P.ssrcGroups[ge].semantics==="SIM"){for(var Be=P.ssrcGroups[ge].ssrcs.split(" "),it=0;it<Be.length;it++){var be=Be[it];me.push(be);var Re=Y[be].msid.split(" ");Y[be].msid=[Re[0],"/",it," ",Re[1],"/",it].join(""),Y[be].cname=[Y[be].cname,"/",it].join(""),P.ssrcGroups.forEach(function(T){if(T.semantics!=="SIM"){var at=T.ssrcs.split(" ");at.indexOf(be)!==-1&&at.forEach(function(Ee){Y[Ee].msid=Y[be].msid,Y[Ee].cname=Y[be].cname,Ee!==be&&me.push(Ee)})}})}P.ssrcs=v(Y,me),P.ssrcGroups.splice(ge,1)}}}(G):function(P){if(P&&Array.isArray(P.ssrcGroups)){var Y=m(P);P.ssrcGroups.forEach(function(ge){if(ge.semantics==="SIM"){ge.nuke=!0;for(var Be=ge.ssrcs.split(" "),it=1;it<Be.length;it++){var be=Be[it];delete Y[be],P.ssrcGroups.forEach(function(Re){if(Re.semantics!=="SIM"){var T=Re.ssrcs.split(" ");T.indexOf(be)!==-1&&(T.forEach(function(at){delete Y[at]}),Re.nuke=!0)}})}}}),P.ssrcs=v(Y);for(var me=P.ssrcGroups.length;me--;)P.ssrcGroups[me].nuke&&P.ssrcGroups.splice(me,1)}}(G),!F.options.usesUnifiedPlan&&O?function(P){P&&(Array.isArray(P.invalid)||(P.invalid=[]),P.invalid.some(function(Y){return Y.value==="x-google-flag:conference"})||P.invalid.push({value:"x-google-flag:conference"}))}(G):function(P){P&&P.xGoogleFlag!==void 0&&(P.xGoogleFlag=void 0)}(G)}),new RTCSessionDescription({type:w.type,sdp:l.write(x)})},p.prototype.mungeLocalDescription=function(w){if(!_(w))return w;var O=l.parse(w.sdp),x=this;return g(O,function(F){F.direction!="recvonly"&&F.direction!="inactive"&&x._restoreSimulcast(F)}),new RTCSessionDescription({type:w.type,sdp:l.write(O)})},E.exports=p},9776:(E,u)=>{u.writeSsrcs=function(o,l){var y=[];if(o!==void 0&&Object.keys(o).length!==0){Array.isArray(l)||(l=[]);for(var m=0;m<l.length;m++){var v=l[m],j=o[v];Object.keys(j).forEach(function(p){y.push({id:v,attribute:p,value:j[p]})})}Object.keys(o).forEach(function(p){if(p=parseInt(p),!(l.indexOf(p)>=0)){var g=o[p];Object.keys(g).forEach(function(_){y.push({id:p,attribute:_,value:g[_]})})}})}return y},u.parseSsrcs=function(o){var l={};return o.ssrcs!==void 0&&Array.isArray(o.ssrcs)&&o.ssrcs.forEach(function(y){l[y.id]||(l[y.id]={}),l[y.id][y.attribute]=y.value}),l}},4449:(E,u,o)=>{E.exports=o(6141).default},2444:E=>{E.exports=class{constructor(u,o,l){this._userId=u,this.setDisplayName(o),this._isLocalStats=l||!1,this.setDominantSpeaker(!1),this.totalDominantSpeakerTime=0,this._dominantSpeakerStart=0,this._hasLeft=!1,this._facialExpressions={happy:0,neutral:0,surprised:0,angry:0,fearful:0,disgusted:0,sad:0}}getUserId(){return this._userId}getDisplayName(){return this.displayName}setDisplayName(u){this.displayName=u}isLocalStats(){return this._isLocalStats}isDominantSpeaker(){return this._dominantSpeakerStart>0}setDominantSpeaker(u){if(!this.isDominantSpeaker()&&u)this._dominantSpeakerStart=Date.now();else if(this.isDominantSpeaker()&&!u){const o=Date.now()-this._dominantSpeakerStart;this.totalDominantSpeakerTime+=o,this._dominantSpeakerStart=0}}getTotalDominantSpeakerTime(){let u=this.totalDominantSpeakerTime;return this.isDominantSpeaker()&&(u+=Date.now()-this._dominantSpeakerStart),u}hasLeft(){return this._hasLeft}markAsHasLeft(){this._hasLeft=!0,this.setDominantSpeaker(!1)}getFacialExpressions(){return this._facialExpressions}setFacialExpressions(u){this._facialExpressions=u}addFacialExpression(u,o){this._facialExpressions[u]+=o}}},4424:E=>{E.exports={getTokenAuthUrl:(u,o,l)=>typeof u!="string"?null:u.replace("{room}",o).replace("{roleUpgrade}",l===!0)}},4832:E=>{function u(o,l){if(!o||!l||typeof o.addListener!="function"||typeof l.emit!="function")throw new Error("Invalid arguments passed to EventEmitterForwarder");this.src=o,this.dest=l}u.prototype.forward=function(){for(var o=arguments.length,l=new Array(o),y=0;y<o;y++)l[y]=arguments[y];const m=l[0];l[0]=this.dest,this.src.addListener(m,Function.prototype.bind.apply(this.dest.emit,l))},E.exports=u},1023:E=>{const u=[],o=window.onerror,l=window.onunhandledrejection;window.onerror=function(){for(var m=arguments.length,v=new Array(m),j=0;j<m;j++)v[j]=arguments[j];u.forEach(p=>p(...v)),o&&o(...v)},window.onunhandledrejection=function(m){u.forEach(v=>v(null,null,null,null,m.reason)),l&&l(m)};const y={addHandler(m){u.push(m)},callErrorHandler(m){const v=window.onerror;v&&v(null,null,null,null,m)},callUnhandledRejectionHandler(m){const v=window.onunhandledrejection;v&&v(m)}};E.exports=y},5399:E=>{function u(y,m){return Math.floor(Math.random()*(m-y+1))+y}function o(y){return y[u(0,y.length-1)]}const l={randomHexDigit:()=>o("0123456789abcdef"),randomHexString(y){let m="";for(;y--;)m+=this.randomHexDigit();return m},randomElement:o,randomAlphanumStr:function(y){let m="";for(let v=0;v<y;v+=1)m+=o("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ");return m},randomInt:u};E.exports=l},549:(E,u,o)=>{const l=o(667),y={loadScript(m,v,j,p,g,_){const w=document,O="script",x=w.createElement(O),F=w.getElementsByTagName(O)[0];if(x.async=v,p){const G=l();if(G){const P=G.src,Y=P.substring(0,P.lastIndexOf("/")+1);P&&Y&&(m=Y+m)}}g&&(x.onload=g),_&&(x.onerror=_),x.src=m,j?F.parentNode.insertBefore(x,F):F.parentNode.appendChild(x)}};E.exports=y},2593:E=>{E.exports={integerHash:function(u){if(!u)return 0;let o,l,y=0;for(l=0;l<u.length;l++)o=u.charCodeAt(l),y+=o*Math.pow(31,u.length-1-l),y=Math.abs(0|y);return y}}},6667:(E,u,o)=>{const l=o(5399),y=["Aaliyah","Aaron","Abagail","Abbey","Abbie","Abbigail","Abby","Abdiel","Abdul","Abdullah","Abe","Abel","Abelardo","Abigail","Abigale","Abigayle","Abner","Abraham","Ada","Adah","Adalberto","Adaline","Adam","Adan","Addie","Addison","Adela","Adelbert","Adele","Adelia","Adeline","Adell","Adella","Adelle","Aditya","Adolf","Adolfo","Adolph","Adolphus","Adonis","Adrain","Adrian","Adriana","Adrianna","Adriel","Adrien","Adrienne","Afton","Aglae","Agnes","Agustin","Agustina","Ahmad","Ahmed","Aida","Aidan","Aiden","Aileen","Aisha","Aiyana","Akeem","Al","Alaina","Alan","Alana","Alanis","Alanna","Alayna","Alba","Albert","Alberta","Albertha","Alberto","Albin","Albina","Alda","Alden","Alec","Aleen","Alejandra","Alejandrin","Alek","Alena","Alene","Alessandra","Alessandro","Alessia","Aletha","Alex","Alexa","Alexander","Alexandra","Alexandre","Alexandrea","Alexandria","Alexandrine","Alexandro","Alexane","Alexanne","Alexie","Alexis","Alexys","Alexzander","Alf","Alfonso","Alfonzo","Alford","Alfred","Alfreda","Alfredo","Ali","Alia","Alice","Alicia","Alisa","Alisha","Alison","Alivia","Aliya","Aliyah","Aliza","Alize","Allan","Allen","Allene","Allie","Allison","Ally","Alphonso","Alta","Althea","Alva","Alvah","Alvena","Alvera","Alverta","Alvina","Alvis","Alyce","Alycia","Alysa","Alysha","Alyson","Alysson","Amalia","Amanda","Amani","Amara","Amari","Amaya","Amber","Ambrose","Amelia","Amelie","Amely","America","Americo","Amie","Amina","Amir","Amira","Amiya","Amos","Amparo","Amy","Amya","Ana","Anabel","Anabelle","Anahi","Anais","Anastacio","Anastasia","Anderson","Andre","Andreane","Andreanne","Andres","Andrew","Andy","Angel","Angela","Angelica","Angelina","Angeline","Angelita","Angelo","Angie","Angus","Anibal","Anika","Anissa","Anita","Aniya","Aniyah","Anjali","Anna","Annabel","Annabell","Annabelle","Annalise","Annamae","Annamarie","Anne","Annetta","Annette","Annie","Ansel","Ansley","Anthony","Antoinette","Antone","Antonetta","Antonette","Antonia","Antonietta","Antonina","Antonio","Antwan","Antwon","Anya","April","Ara","Araceli","Aracely","Arch","Archibald","Ardella","Arden","Ardith","Arely","Ari","Ariane","Arianna","Aric","Ariel","Arielle","Arjun","Arlene","Arlie","Arlo","Armand","Armando","Armani","Arnaldo","Arne","Arno","Arnold","Arnoldo","Arnulfo","Aron","Art","Arthur","Arturo","Arvel","Arvid","Arvilla","Aryanna","Asa","Asha","Ashlee","Ashleigh","Ashley","Ashly","Ashlynn","Ashton","Ashtyn","Asia","Assunta","Astrid","Athena","Aubree","Aubrey","Audie","Audra","Audreanne","Audrey","August","Augusta","Augustine","Augustus","Aurelia","Aurelie","Aurelio","Aurore","Austen","Austin","Austyn","Autumn","Ava","Avery","Avis","Axel","Ayana","Ayden","Ayla","Aylin","Baby","Bailee","Bailey","Barbara","Barney","Baron","Barrett","Barry","Bart","Bartholome","Barton","Baylee","Beatrice","Beau","Beaulah","Bell","Bella","Belle","Ben","Benedict","Benjamin","Bennett","Bennie","Benny","Benton","Berenice","Bernadette","Bernadine","Bernard","Bernardo","Berneice","Bernhard","Bernice","Bernie","Berniece","Bernita","Berry","Bert","Berta","Bertha","Bertram","Bertrand","Beryl","Bessie","Beth","Bethany","Bethel","Betsy","Bette","Bettie","Betty","Bettye","Beulah","Beverly","Bianka","Bill","Billie","Billy","Birdie","Blair","Blaise","Blake","Blanca","Blanche","Blaze","Bo","Bobbie","Bobby","Bonita","Bonnie","Boris","Boyd","Brad","Braden","Bradford","Bradley","Bradly","Brady","Braeden","Brain","Brandi","Brando","Brandon","Brandt","Brandy","Brandyn","Brannon","Branson","Brant","Braulio","Braxton","Brayan","Breana","Breanna","Breanne","Brenda","Brendan","Brenden","Brendon","Brenna","Brennan","Brennon","Brent","Bret","Brett","Bria","Brian","Briana","Brianne","Brice","Bridget","Bridgette","Bridie","Brielle","Brigitte","Brionna","Brisa","Britney","Brittany","Brock","Broderick","Brody","Brook","Brooke","Brooklyn","Brooks","Brown","Bruce","Bryana","Bryce","Brycen","Bryon","Buck","Bud","Buddy","Buford","Bulah","Burdette","Burley","Burnice","Buster","Cade","Caden","Caesar","Caitlyn","Cale","Caleb","Caleigh","Cali","Calista","Callie","Camden","Cameron","Camila","Camilla","Camille","Camren","Camron","Camryn","Camylle","Candace","Candelario","Candice","Candida","Candido","Cara","Carey","Carissa","Carlee","Carleton","Carley","Carli","Carlie","Carlo","Carlos","Carlotta","Carmel","Carmela","Carmella","Carmelo","Carmen","Carmine","Carol","Carolanne","Carole","Carolina","Caroline","Carolyn","Carolyne","Carrie","Carroll","Carson","Carter","Cary","Casandra","Casey","Casimer","Casimir","Casper","Cassandra","Cassandre","Cassidy","Cassie","Catalina","Caterina","Catharine","Catherine","Cathrine","Cathryn","Cathy","Cayla","Ceasar","Cecelia","Cecil","Cecile","Cecilia","Cedrick","Celestine","Celestino","Celia","Celine","Cesar","Chad","Chadd","Chadrick","Chaim","Chance","Chandler","Chanel","Chanelle","Charity","Charlene","Charles","Charley","Charlie","Charlotte","Chase","Chasity","Chauncey","Chaya","Chaz","Chelsea","Chelsey","Chelsie","Chesley","Chester","Chet","Cheyanne","Cheyenne","Chloe","Chris","Christ","Christa","Christelle","Christian","Christiana","Christina","Christine","Christop","Christophe","Christopher","Christy","Chyna","Ciara","Cicero","Cielo","Cierra","Cindy","Citlalli","Clair","Claire","Clara","Clarabelle","Clare","Clarissa","Clark","Claud","Claude","Claudia","Claudie","Claudine","Clay","Clemens","Clement","Clementina","Clementine","Clemmie","Cleo","Cleora","Cleta","Cletus","Cleve","Cleveland","Clifford","Clifton","Clint","Clinton","Clotilde","Clovis","Cloyd","Clyde","Coby","Cody","Colby","Cole","Coleman","Colin","Colleen","Collin","Colt","Colten","Colton","Columbus","Concepcion","Conner","Connie","Connor","Conor","Conrad","Constance","Constantin","Consuelo","Cooper","Cora","Coralie","Corbin","Cordelia","Cordell","Cordia","Cordie","Corene","Corine","Cornelius","Cornell","Corrine","Cortez","Cortney","Cory","Coty","Courtney","Coy","Craig","Crawford","Creola","Cristal","Cristian","Cristina","Cristobal","Cristopher","Cruz","Crystal","Crystel","Cullen","Curt","Curtis","Cydney","Cynthia","Cyril","Cyrus","Dagmar","Dahlia","Daija","Daisha","Daisy","Dakota","Dale","Dallas","Dallin","Dalton","Damaris","Dameon","Damian","Damien","Damion","Damon","Dan","Dana","Dandre","Dane","D'angelo","Dangelo","Danial","Daniela","Daniella","Danielle","Danika","Dannie","Danny","Dante","Danyka","Daphne","Daphnee","Daphney","Darby","Daren","Darian","Dariana","Darien","Dario","Darion","Darius","Darlene","Daron","Darrel","Darrell","Darren","Darrick","Darrin","Darrion","Darron","Darryl","Darwin","Daryl","Dashawn","Dasia","Dave","David","Davin","Davion","Davon","Davonte","Dawn","Dawson","Dax","Dayana","Dayna","Dayne","Dayton","Dean","Deangelo","Deanna","Deborah","Declan","Dedric","Dedrick","Dee","Deion","Deja","Dejah","Dejon","Dejuan","Delaney","Delbert","Delfina","Delia","Delilah","Dell","Della","Delmer","Delores","Delpha","Delphia","Delphine","Delta","Demarco","Demarcus","Demario","Demetris","Demetrius","Demond","Dena","Denis","Dennis","Deon","Deondre","Deontae","Deonte","Dereck","Derek","Derick","Deron","Derrick","Deshaun","Deshawn","Desiree","Desmond","Dessie","Destany","Destin","Destinee","Destiney","Destini","Destiny","Devan","Devante","Deven","Devin","Devon","Devonte","Devyn","Dewayne","Dewitt","Dexter","Diamond","Diana","Dianna","Diego","Dillan","Dillon","Dimitri","Dina","Dino","Dion","Dixie","Dock","Dolly","Dolores","Domenic","Domenica","Domenick","Domenico","Domingo","Dominic","Dominique","Don","Donald","Donato","Donavon","Donna","Donnell","Donnie","Donny","Dora","Dorcas","Dorian","Doris","Dorothea","Dorothy","Dorris","Dortha","Dorthy","Doug","Douglas","Dovie","Doyle","Drake","Drew","Duane","Dudley","Dulce","Duncan","Durward","Dustin","Dusty","Dwight","Dylan","Earl","Earlene","Earline","Earnest","Earnestine","Easter","Easton","Ebba","Ebony","Ed","Eda","Edd","Eddie","Eden","Edgar","Edgardo","Edison","Edmond","Edmund","Edna","Eduardo","Edward","Edwardo","Edwin","Edwina","Edyth","Edythe","Effie","Efrain","Efren","Eileen","Einar","Eino","Eladio","Elaina","Elbert","Elda","Eldon","Eldora","Eldred","Eldridge","Eleanora","Eleanore","Eleazar","Electa","Elena","Elenor","Elenora","Eleonore","Elfrieda","Eli","Elian","Eliane","Elias","Eliezer","Elijah","Elinor","Elinore","Elisa","Elisabeth","Elise","Eliseo","Elisha","Elissa","Eliza","Elizabeth","Ella","Ellen","Ellie","Elliot","Elliott","Ellis","Ellsworth","Elmer","Elmira","Elmo","Elmore","Elna","Elnora","Elody","Eloisa","Eloise","Elouise","Eloy","Elroy","Elsa","Else","Elsie","Elta","Elton","Elva","Elvera","Elvie","Elvis","Elwin","Elwyn","Elyse","Elyssa","Elza","Emanuel","Emelia","Emelie","Emely","Emerald","Emerson","Emery","Emie","Emil","Emile","Emilia","Emiliano","Emilie","Emilio","Emily","Emma","Emmalee","Emmanuel","Emmanuelle","Emmet","Emmett","Emmie","Emmitt","Emmy","Emory","Ena","Enid","Enoch","Enola","Enos","Enrico","Enrique","Ephraim","Era","Eriberto","Eric","Erica","Erich","Erick","Ericka","Erik","Erika","Erin","Erling","Erna","Ernest","Ernestina","Ernestine","Ernesto","Ernie","Ervin","Erwin","Eryn","Esmeralda","Esperanza","Esta","Esteban","Estefania","Estel","Estell","Estella","Estelle","Estevan","Esther","Estrella","Etha","Ethan","Ethel","Ethelyn","Ethyl","Ettie","Eudora","Eugene","Eugenia","Eula","Eulah","Eulalia","Euna","Eunice","Eusebio","Eva","Evalyn","Evan","Evangeline","Evans","Eve","Eveline","Evelyn","Everardo","Everett","Everette","Evert","Evie","Ewald","Ewell","Ezekiel","Ezequiel","Ezra","Fabian","Fabiola","Fae","Fannie","Fanny","Fatima","Faustino","Fausto","Favian","Fay","Faye","Federico","Felicia","Felicita","Felicity","Felipa","Felipe","Felix","Felton","Fermin","Fern","Fernando","Ferne","Fidel","Filiberto","Filomena","Finn","Fiona","Flavie","Flavio","Fleta","Fletcher","Flo","Florence","Florencio","Florian","Florida","Florine","Flossie","Floy","Floyd","Ford","Forest","Forrest","Foster","Frances","Francesca","Francesco","Francis","Francisca","Francisco","Franco","Frank","Frankie","Franz","Fred","Freda","Freddie","Freddy","Frederic","Frederick","Frederik","Frederique","Fredrick","Fredy","Freeda","Freeman","Freida","Frida","Frieda","Friedrich","Fritz","Furman","Gabe","Gabriel","Gabriella","Gabrielle","Gaetano","Gage","Gail","Gardner","Garett","Garfield","Garland","Garnet","Garnett","Garret","Garrett","Garrick","Garrison","Garry","Garth","Gaston","Gavin","Gay","Gayle","Gaylord","Gene","General","Genesis","Genevieve","Gennaro","Genoveva","Geo","Geoffrey","George","Georgette","Georgiana","Georgianna","Geovanni","Geovanny","Geovany","Gerald","Geraldine","Gerard","Gerardo","Gerda","Gerhard","Germaine","German","Gerry","Gerson","Gertrude","Gia","Gianni","Gideon","Gilbert","Gilberto","Gilda","Giles","Gillian","Gina","Gino","Giovani","Giovanna","Giovanni","Giovanny","Gisselle","Giuseppe","Gladyce","Gladys","Glen","Glenda","Glenna","Glennie","Gloria","Godfrey","Golda","Golden","Gonzalo","Gordon","Grace","Gracie","Graciela","Grady","Graham","Grant","Granville","Grayce","Grayson","Green","Greg","Gregg","Gregoria","Gregorio","Gregory","Greta","Gretchen","Greyson","Griffin","Grover","Guadalupe","Gudrun","Guido","Guillermo","Guiseppe","Gunnar","Gunner","Gus","Gussie","Gust","Gustave","Guy","Gwen","Gwendolyn","Hadley","Hailee","Hailey","Hailie","Hal","Haleigh","Haley","Halie","Halle","Hallie","Hank","Hanna","Hannah","Hans","Hardy","Harley","Harmon","Harmony","Harold","Harrison","Harry","Harvey","Haskell","Hassan","Hassie","Hattie","Haven","Hayden","Haylee","Hayley","Haylie","Hazel","Hazle","Heath","Heather","Heaven","Heber","Hector","Heidi","Helen","Helena","Helene","Helga","Hellen","Helmer","Heloise","Henderson","Henri","Henriette","Henry","Herbert","Herman","Hermann","Hermina","Herminia","Herminio","Hershel","Herta","Hertha","Hester","Hettie","Hilario","Hilbert","Hilda","Hildegard","Hillard","Hillary","Hilma","Hilton","Hipolito","Hiram","Hobart","Holden","Hollie","Hollis","Holly","Hope","Horace","Horacio","Hortense","Hosea","Houston","Howard","Howell","Hoyt","Hubert","Hudson","Hugh","Hulda","Humberto","Hunter","Hyman","Ian","Ibrahim","Icie","Ida","Idell","Idella","Ignacio","Ignatius","Ike","Ila","Ilene","Iliana","Ima","Imani","Imelda","Immanuel","Imogene","Ines","Irma","Irving","Irwin","Isaac","Isabel","Isabell","Isabella","Isabelle","Isac","Isadore","Isai","Isaiah","Isaias","Isidro","Ismael","Isobel","Isom","Israel","Issac","Itzel","Iva","Ivah","Ivory","Ivy","Izabella","Izaiah","Jabari","Jace","Jacey","Jacinthe","Jacinto","Jack","Jackeline","Jackie","Jacklyn","Jackson","Jacky","Jaclyn","Jacquelyn","Jacques","Jacynthe","Jada","Jade","Jaden","Jadon","Jadyn","Jaeden","Jaida","Jaiden","Jailyn","Jaime","Jairo","Jakayla","Jake","Jakob","Jaleel","Jalen","Jalon","Jalyn","Jamaal","Jamal","Jamar","Jamarcus","Jamel","Jameson","Jamey","Jamie","Jamil","Jamir","Jamison","Jammie","Jan","Jana","Janae","Jane","Janelle","Janessa","Janet","Janice","Janick","Janie","Janis","Janiya","Jannie","Jany","Jaquan","Jaquelin","Jaqueline","Jared","Jaren","Jarod","Jaron","Jarred","Jarrell","Jarret","Jarrett","Jarrod","Jarvis","Jasen","Jasmin","Jason","Jasper","Jaunita","Javier","Javon","Javonte","Jay","Jayce","Jaycee","Jayda","Jayde","Jayden","Jaydon","Jaylan","Jaylen","Jaylin","Jaylon","Jayme","Jayne","Jayson","Jazlyn","Jazmin","Jazmyn","Jazmyne","Jean","Jeanette","Jeanie","Jeanne","Jed","Jedediah","Jedidiah","Jeff","Jefferey","Jeffery","Jeffrey","Jeffry","Jena","Jenifer","Jennie","Jennifer","Jennings","Jennyfer","Jensen","Jerad","Jerald","Jeramie","Jeramy","Jerel","Jeremie","Jeremy","Jermain","Jermaine","Jermey","Jerod","Jerome","Jeromy","Jerrell","Jerrod","Jerrold","Jerry","Jess","Jesse","Jessica","Jessie","Jessika","Jessy","Jessyca","Jesus","Jett","Jettie","Jevon","Jewel","Jewell","Jillian","Jimmie","Jimmy","Jo","Joan","Joana","Joanie","Joanne","Joannie","Joanny","Joany","Joaquin","Jocelyn","Jodie","Jody","Joe","Joel","Joelle","Joesph","Joey","Johan","Johann","Johanna","Johathan","John","Johnathan","Johnathon","Johnnie","Johnny","Johnpaul","Johnson","Jolie","Jon","Jonas","Jonatan","Jonathan","Jonathon","Jordan","Jordane","Jordi","Jordon","Jordy","Jordyn","Jorge","Jose","Josefa","Josefina","Joseph","Josephine","Josh","Joshua","Joshuah","Josiah","Josiane","Josianne","Josie","Josue","Jovan","Jovani","Jovanny","Jovany","Joy","Joyce","Juana","Juanita","Judah","Judd","Jude","Judge","Judson","Judy","Jules","Julia","Julian","Juliana","Julianne","Julie","Julien","Juliet","Julio","Julius","June","Junior","Junius","Justen","Justice","Justina","Justine","Juston","Justus","Justyn","Juvenal","Juwan","Kacey","Kaci","Kacie","Kade","Kaden","Kadin","Kaela","Kaelyn","Kaia","Kailee","Kailey","Kailyn","Kaitlin","Kaitlyn","Kale","Kaleb","Kaleigh","Kaley","Kali","Kallie","Kameron","Kamille","Kamren","Kamron","Kamryn","Kane","Kara","Kareem","Karelle","Karen","Kari","Kariane","Karianne","Karina","Karine","Karl","Karlee","Karley","Karli","Karlie","Karolann","Karson","Kasandra","Kasey","Kassandra","Katarina","Katelin","Katelyn","Katelynn","Katharina","Katherine","Katheryn","Kathleen","Kathlyn","Kathryn","Kathryne","Katlyn","Katlynn","Katrina","Katrine","Kattie","Kavon","Kay","Kaya","Kaycee","Kayden","Kayla","Kaylah","Kaylee","Kayleigh","Kayley","Kayli","Kaylie","Kaylin","Keagan","Keanu","Keara","Keaton","Keegan","Keeley","Keely","Keenan","Keira","Keith","Kellen","Kelley","Kelli","Kellie","Kelly","Kelsi","Kelsie","Kelton","Kelvin","Ken","Kendall","Kendra","Kendrick","Kenna","Kennedi","Kennedy","Kenneth","Kennith","Kenny","Kenton","Kenya","Kenyatta","Kenyon","Keon","Keshaun","Keshawn","Keven","Kevin","Kevon","Keyon","Keyshawn","Khalid","Khalil","Kian","Kiana","Kianna","Kiara","Kiarra","Kiel","Kiera","Kieran","Kiley","Kim","Kimberly","King","Kip","Kira","Kirk","Kirsten","Kirstin","Kitty","Kobe","Koby","Kody","Kolby","Kole","Korbin","Korey","Kory","Kraig","Kris","Krista","Kristian","Kristin","Kristina","Kristofer","Kristoffer","Kristopher","Kristy","Krystal","Krystel","Krystina","Kurt","Kurtis","Kyla","Kyle","Kylee","Kyleigh","Kyler","Kylie","Kyra","Lacey","Lacy","Ladarius","Lafayette","Laila","Laisha","Lamar","Lambert","Lamont","Lance","Landen","Lane","Laney","Larissa","Laron","Larry","Larue","Laura","Laurel","Lauren","Laurence","Lauretta","Lauriane","Laurianne","Laurie","Laurine","Laury","Lauryn","Lavada","Lavern","Laverna","Laverne","Lavina","Lavinia","Lavon","Lavonne","Lawrence","Lawson","Layla","Layne","Lazaro","Lea","Leann","Leanna","Leanne","Leatha","Leda","Lee","Leif","Leila","Leilani","Lela","Lelah","Leland","Lelia","Lempi","Lemuel","Lenna","Lennie","Lenny","Lenora","Lenore","Leo","Leola","Leon","Leonard","Leonardo","Leone","Leonel","Leonie","Leonor","Leonora","Leopold","Leopoldo","Leora","Lera","Lesley","Leslie","Lesly","Lessie","Lester","Leta","Letha","Letitia","Levi","Lew","Lewis","Lexi","Lexie","Lexus","Lia","Liam","Liana","Libbie","Libby","Lila","Lilian","Liliana","Liliane","Lilla","Lillian","Lilliana","Lillie","Lilly","Lily","Lilyan","Lina","Lincoln","Linda","Lindsay","Lindsey","Linnea","Linnie","Linwood","Lionel","Lisa","Lisandro","Lisette","Litzy","Liza","Lizeth","Lizzie","Llewellyn","Lloyd","Logan","Lois","Lola","Lolita","Loma","Lon","London","Lonie","Lonnie","Lonny","Lonzo","Lora","Loraine","Loren","Lorena","Lorenz","Lorenza","Lorenzo","Lori","Lorine","Lorna","Lottie","Lou","Louie","Louisa","Lourdes","Louvenia","Lowell","Loy","Loyal","Loyce","Lucas","Luciano","Lucie","Lucienne","Lucile","Lucinda","Lucio","Lucious","Lucius","Lucy","Ludie","Ludwig","Lue","Luella","Luigi","Luis","Luisa","Lukas","Lula","Lulu","Luna","Lupe","Lura","Lurline","Luther","Luz","Lyda","Lydia","Lyla","Lynn","Lyric","Lysanne","Mabel","Mabelle","Mable","Mac","Macey","Maci","Macie","Mack","Mackenzie","Macy","Madaline","Madalyn","Maddison","Madeline","Madelyn","Madelynn","Madge","Madie","Madilyn","Madisen","Madison","Madisyn","Madonna","Madyson","Mae","Maegan","Maeve","Mafalda","Magali","Magdalen","Magdalena","Maggie","Magnolia","Magnus","Maia","Maida","Maiya","Major","Makayla","Makenna","Makenzie","Malachi","Malcolm","Malika","Malinda","Mallie","Mallory","Malvina","Mandy","Manley","Manuel","Manuela","Mara","Marc","Marcel","Marcelina","Marcelino","Marcella","Marcelle","Marcellus","Marcelo","Marcia","Marco","Marcos","Marcus","Margaret","Margarete","Margarett","Margaretta","Margarette","Margarita","Marge","Margie","Margot","Margret","Marguerite","Maria","Mariah","Mariam","Marian","Mariana","Mariane","Marianna","Marianne","Mariano","Maribel","Marie","Mariela","Marielle","Marietta","Marilie","Marilou","Marilyne","Marina","Mario","Marion","Marisa","Marisol","Maritza","Marjolaine","Marjorie","Marjory","Mark","Markus","Marlee","Marlen","Marlene","Marley","Marlin","Marlon","Marques","Marquis","Marquise","Marshall","Marta","Martin","Martina","Martine","Marty","Marvin","Mary","Maryam","Maryjane","Maryse","Mason","Mateo","Mathew","Mathias","Mathilde","Matilda","Matilde","Matt","Matteo","Mattie","Maud","Maude","Maudie","Maureen","Maurice","Mauricio","Maurine","Maverick","Mavis","Max","Maxie","Maxime","Maximilian","Maximillia","Maximillian","Maximo","Maximus","Maxine","Maxwell","May","Maya","Maybell","Maybelle","Maye","Maymie","Maynard","Mayra","Mazie","Mckayla","Mckenna","Mckenzie","Meagan","Meaghan","Meda","Megane","Meggie","Meghan","Mekhi","Melany","Melba","Melisa","Melissa","Mellie","Melody","Melvin","Melvina","Melyna","Melyssa","Mercedes","Meredith","Merl","Merle","Merlin","Merritt","Mertie","Mervin","Meta","Mia","Micaela","Micah","Michael","Michaela","Michale","Micheal","Michel","Michele","Michelle","Miguel","Mikayla","Mike","Mikel","Milan","Miles","Milford","Miller","Millie","Milo","Milton","Mina","Minerva","Minnie","Miracle","Mireille","Mireya","Misael","Missouri","Misty","Mitchel","Mitchell","Mittie","Modesta","Modesto","Mohamed","Mohammad","Mohammed","Moises","Mollie","Molly","Mona","Monica","Monique","Monroe","Monserrat","Monserrate","Montana","Monte","Monty","Morgan","Moriah","Morris","Mortimer","Morton","Mose","Moses","Moshe","Mossie","Mozell","Mozelle","Muhammad","Muriel","Murl","Murphy","Murray","Mustafa","Mya","Myah","Mylene","Myles","Myra","Myriam","Myrl","Myrna","Myron","Myrtice","Myrtie","Myrtis","Myrtle","Nadia","Nakia","Name","Nannie","Naomi","Naomie","Napoleon","Narciso","Nash","Nasir","Nat","Natalia","Natalie","Natasha","Nathan","Nathanael","Nathanial","Nathaniel","Nathen","Nayeli","Neal","Ned","Nedra","Neha","Neil","Nelda","Nella","Nelle","Nellie","Nels","Nelson","Neoma","Nestor","Nettie","Neva","Newell","Newton","Nia","Nicholas","Nicholaus","Nichole","Nick","Nicklaus","Nickolas","Nico","Nicola","Nicolas","Nicole","Nicolette","Nigel","Nikita","Nikki","Nikko","Niko","Nikolas","Nils","Nina","Noah","Noble","Noe","Noel","Noelia","Noemi","Noemie","Noemy","Nola","Nolan","Nona","Nora","Norbert","Norberto","Norene","Norma","Norris","Norval","Norwood","Nova","Novella","Nya","Nyah","Nyasia","Obie","Oceane","Ocie","Octavia","Oda","Odell","Odessa","Odie","Ofelia","Okey","Ola","Olaf","Ole","Olen","Oleta","Olga","Olin","Oliver","Ollie","Oma","Omari","Omer","Ona","Onie","Opal","Ophelia","Ora","Oral","Oran","Oren","Orie","Orin","Orion","Orland","Orlando","Orlo","Orpha","Orrin","Orval","Orville","Osbaldo","Osborne","Oscar","Osvaldo","Oswald","Oswaldo","Otha","Otho","Otilia","Otis","Ottilie","Ottis","Otto","Ova","Owen","Ozella","Pablo","Paige","Palma","Pamela","Pansy","Paolo","Paris","Parker","Pascale","Pasquale","Pat","Patience","Patricia","Patrick","Patsy","Pattie","Paul","Paula","Pauline","Paxton","Payton","Pearl","Pearlie","Pearline","Pedro","Peggie","Penelope","Percival","Percy","Perry","Pete","Peter","Petra","Peyton","Philip","Phoebe","Phyllis","Pierce","Pierre","Pietro","Pink","Pinkie","Piper","Polly","Porter","Precious","Presley","Preston","Price","Prince","Princess","Priscilla","Providenci","Prudence","Queen","Queenie","Quentin","Quincy","Quinn","Quinten","Quinton","Rachael","Rachel","Rachelle","Rae","Raegan","Rafael","Rafaela","Raheem","Rahsaan","Rahul","Raina","Raleigh","Ralph","Ramiro","Ramon","Ramona","Randal","Randall","Randi","Randy","Ransom","Raoul","Raphael","Raphaelle","Raquel","Rashad","Rashawn","Rasheed","Raul","Raven","Ray","Raymond","Raymundo","Reagan","Reanna","Reba","Rebeca","Rebecca","Rebeka","Rebekah","Reece","Reed","Reese","Regan","Reggie","Reginald","Reid","Reilly","Reina","Reinhold","Remington","Rene","Renee","Ressie","Reta","Retha","Retta","Reuben","Reva","Rex","Rey","Reyes","Reymundo","Reyna","Reynold","Rhea","Rhett","Rhianna","Rhiannon","Rhoda","Ricardo","Richard","Richie","Richmond","Rick","Rickey","Rickie","Ricky","Rico","Rigoberto","Riley","Rita","River","Robb","Robbie","Robert","Roberta","Roberto","Robin","Robyn","Rocio","Rocky","Rod","Roderick","Rodger","Rodolfo","Rodrick","Rodrigo","Roel","Rogelio","Roger","Rogers","Rolando","Rollin","Roma","Romaine","Roman","Ron","Ronaldo","Ronny","Roosevelt","Rory","Rosa","Rosalee","Rosalia","Rosalind","Rosalinda","Rosalyn","Rosamond","Rosanna","Rosario","Roscoe","Rose","Rosella","Roselyn","Rosemarie","Rosemary","Rosendo","Rosetta","Rosie","Rosina","Roslyn","Ross","Rossie","Rowan","Rowena","Rowland","Roxane","Roxanne","Roy","Royal","Royce","Rozella","Ruben","Rubie","Ruby","Rubye","Rudolph","Rudy","Rupert","Russ","Russel","Russell","Rusty","Ruth","Ruthe","Ruthie","Ryan","Ryann","Ryder","Rylan","Rylee","Ryleigh","Ryley","Sabina","Sabrina","Sabryna","Sadie","Sadye","Sage","Saige","Sallie","Sally","Salma","Salvador","Salvatore","Sam","Samanta","Samantha","Samara","Samir","Sammie","Sammy","Samson","Sandra","Sandrine","Sandy","Sanford","Santa","Santiago","Santina","Santino","Santos","Sarah","Sarai","Sarina","Sasha","Saul","Savanah","Savanna","Savannah","Savion","Scarlett","Schuyler","Scot","Scottie","Scotty","Seamus","Sean","Sebastian","Sedrick","Selena","Selina","Selmer","Serena","Serenity","Seth","Shad","Shaina","Shakira","Shana","Shane","Shanel","Shanelle","Shania","Shanie","Shaniya","Shanna","Shannon","Shanny","Shanon","Shany","Sharon","Shaun","Shawn","Shawna","Shaylee","Shayna","Shayne","Shea","Sheila","Sheldon","Shemar","Sheridan","Sherman","Sherwood","Shirley","Shyann","Shyanne","Sibyl","Sid","Sidney","Sienna","Sierra","Sigmund","Sigrid","Sigurd","Silas","Sim","Simeon","Simone","Sincere","Sister","Skye","Skyla","Skylar","Sofia","Soledad","Solon","Sonia","Sonny","Sonya","Sophia","Sophie","Spencer","Stacey","Stacy","Stan","Stanford","Stanley","Stanton","Stefan","Stefanie","Stella","Stephan","Stephania","Stephanie","Stephany","Stephen","Stephon","Sterling","Steve","Stevie","Stewart","Stone","Stuart","Summer","Sunny","Susan","Susana","Susanna","Susie","Suzanne","Sven","Syble","Sydnee","Sydney","Sydni","Sydnie","Sylvan","Sylvester","Sylvia","Tabitha","Tad","Talia","Talon","Tamara","Tamia","Tania","Tanner","Tanya","Tara","Taryn","Tate","Tatum","Tatyana","Taurean","Tavares","Taya","Taylor","Teagan","Ted","Telly","Terence","Teresa","Terrance","Terrell","Terrence","Terrill","Terry","Tess","Tessie","Tevin","Thad","Thaddeus","Thalia","Thea","Thelma","Theo","Theodora","Theodore","Theresa","Therese","Theresia","Theron","Thomas","Thora","Thurman","Tia","Tiana","Tianna","Tiara","Tierra","Tiffany","Tillman","Timmothy","Timmy","Timothy","Tina","Tito","Titus","Tobin","Toby","Tod","Tom","Tomas","Tomasa","Tommie","Toney","Toni","Tony","Torey","Torrance","Torrey","Toy","Trace","Tracey","Tracy","Travis","Travon","Tre","Tremaine","Tremayne","Trent","Trenton","Tressa","Tressie","Treva","Trever","Trevion","Trevor","Trey","Trinity","Trisha","Tristian","Tristin","Triston","Troy","Trudie","Trycia","Trystan","Turner","Twila","Tyler","Tyra","Tyree","Tyreek","Tyrel","Tyrell","Tyrese","Tyrique","Tyshawn","Tyson","Ubaldo","Ulices","Ulises","Una","Unique","Urban","Uriah","Uriel","Ursula","Vada","Valentin","Valentina","Valentine","Valerie","Vallie","Van","Vance","Vanessa","Vaughn","Veda","Velda","Vella","Velma","Velva","Vena","Verda","Verdie","Vergie","Verla","Verlie","Vern","Verna","Verner","Vernice","Vernie","Vernon","Verona","Veronica","Vesta","Vicenta","Vicente","Vickie","Vicky","Victor","Victoria","Vida","Vidal","Vilma","Vince","Vincent","Vincenza","Vincenzo","Vinnie","Viola","Violet","Violette","Virgie","Virgil","Virginia","Virginie","Vita","Vito","Viva","Vivian","Viviane","Vivianne","Vivien","Vivienne","Vladimir","Wade","Waino","Waldo","Walker","Wallace","Walter","Walton","Wanda","Ward","Warren","Watson","Wava","Waylon","Wayne","Webster","Weldon","Wellington","Wendell","Wendy","Werner","Westley","Weston","Whitney","Wilber","Wilbert","Wilburn","Wiley","Wilford","Wilfred","Wilfredo","Wilfrid","Wilhelm","Wilhelmine","Will","Willa","Willard","William","Willie","Willis","Willow","Willy","Wilma","Wilmer","Wilson","Wilton","Winfield","Winifred","Winnifred","Winona","Winston","Woodrow","Wyatt","Wyman","Xander","Xavier","Xzavier","Yadira","Yasmeen","Yasmin","Yasmine","Yazmin","Yesenia","Yessenia","Yolanda","Yoshiko","Yvette","Yvonne","Zachariah","Zachary","Zachery","Zack","Zackary","Zackery","Zakary","Zander","Zane","Zaria","Zechariah","Zelda","Zella","Zelma","Zena","Zetta","Zion","Zita","Zoe","Zoey","Zoie","Zoila","Zola","Zora","Zula"];E.exports={generateUsername:function(){return`${l.randomElement(y)}-${l.randomAlphanumStr(3)}`}}},7318:E=>{E.exports={CAMERA:"camera",DESKTOP:"desktop",DESKTOP_HIGH_FPS:"desktop_high_fps",NONE:"none"}},4940:E=>{E.exports={ENVIRONMENT:"environment",USER:"user"}},4391:E=>{E.exports={H264:"h264",OPUS:"opus",ULPFEC:"ulpfec",VP8:"vp8",VP9:"vp9"}},8043:E=>{E.exports={INACTIVE:"inactive",RECVONLY:"recvonly",SENDONLY:"sendonly",SENDRECV:"sendrecv"}},1645:E=>{E.exports={CREATE_ANSWER_FAILED:"rtc.create_answer_failed",CREATE_OFFER_FAILED:"rtc.create_offer_failed",DATA_CHANNEL_OPEN:"rtc.data_channel_open",ENDPOINT_CONN_STATUS_CHANGED:"rtc.endpoint_conn_status_changed",DOMINANT_SPEAKER_CHANGED:"rtc.dominant_speaker_changed",LASTN_ENDPOINT_CHANGED:"rtc.lastn_endpoint_changed",PERMISSIONS_CHANGED:"rtc.permissions_changed",SENDER_VIDEO_CONSTRAINTS_CHANGED:"rtc.sender_video_constraints_changed",LASTN_VALUE_CHANGED:"rtc.lastn_value_changed",LOCAL_TRACK_SSRC_UPDATED:"rtc.local_track_ssrc_updated",LOCAL_TRACK_MAX_ENABLED_RESOLUTION_CHANGED:"rtc.local_track_max_enabled_resolution_changed",TRACK_ATTACHED:"rtc.track_attached",REMOTE_TRACK_ADDED:"rtc.remote_track_added",REMOTE_TRACK_MUTE:"rtc.remote_track_mute",REMOTE_TRACK_REMOVED:"rtc.remote_track_removed",REMOTE_TRACK_UNMUTE:"rtc.remote_track_unmute",SET_LOCAL_DESCRIPTION_FAILED:"rtc.set_local_description_failed",SET_REMOTE_DESCRIPTION_FAILED:"rtc.set_remote_description_failed",AUDIO_OUTPUT_DEVICE_CHANGED:"rtc.audio_output_device_changed",DEVICE_LIST_CHANGED:"rtc.device_list_changed",DEVICE_LIST_WILL_CHANGE:"rtc.device_list_will_change",DEVICE_LIST_AVAILABLE:"rtc.device_list_available",ENDPOINT_MESSAGE_RECEIVED:"rtc.endpoint_message_received",ENDPOINT_STATS_RECEIVED:"rtc.endpoint_stats_received",LOCAL_UFRAG_CHANGED:"rtc.local_ufrag_changed",REMOTE_UFRAG_CHANGED:"rtc.remote_ufrag_changed"}},6125:E=>{E.exports={2160:{width:3840,height:2160},"4k":{width:3840,height:2160},1080:{width:1920,height:1080},fullhd:{width:1920,height:1080},720:{width:1280,height:720},hd:{width:1280,height:720},540:{width:960,height:540},qhd:{width:960,height:540},480:{width:640,height:480},vga:{width:640,height:480},360:{width:640,height:360},240:{width:320,height:240},180:{width:320,height:180}}},1122:E=>{E.exports={CAMERA:"camera",DESKTOP:"desktop"}},3514:E=>{E.exports={IDENTITY_UPDATED:"authentication.identity_updated"}},4806:E=>{E.exports={LOCAL_JID:"local"}},4188:E=>{E.exports={ADD_ICE_CANDIDATE_FAILED:"xmpp.add_ice_candidate_failed",AUDIO_MUTED_BY_FOCUS:"xmpp.audio_muted_by_focus",VIDEO_MUTED_BY_FOCUS:"xmpp.video_muted_by_focus",AUTHENTICATION_REQUIRED:"xmpp.authentication_required",BRIDGE_DOWN:"xmpp.bridge_down",CALL_ACCEPTED:"xmpp.callaccepted.jingle",CALL_INCOMING:"xmpp.callincoming.jingle",CALL_ENDED:"xmpp.callended.jingle",CHAT_ERROR_RECEIVED:"xmpp.chat_error_received",SETTINGS_ERROR_RECEIVED:"xmpp.settings_error_received",CONFERENCE_PROPERTIES_CHANGED:"xmpp.conference_properties_changed",CONNECTION_ESTABLISHED:"xmpp.connection.connected",CONNECTION_FAILED:"xmpp.connection.failed",CONNECTION_INTERRUPTED:"xmpp.connection.interrupted",CONNECTION_RESTORED:"xmpp.connection.restored",CONNECTION_ICE_FAILED:"xmpp.connection.ice.failed",CONNECTION_RESTARTED:"xmpp.connection.restart",CONNECTION_STATUS_CHANGED:"xmpp.connection.status.changed",DISPLAY_NAME_CHANGED:"xmpp.display_name_changed",EMUC_ROOM_ADDED:"xmpp.emuc_room_added",EMUC_ROOM_REMOVED:"xmpp.emuc_room_removed",ETHERPAD:"xmpp.etherpad",FOCUS_DISCONNECTED:"xmpp.focus_disconnected",FOCUS_LEFT:"xmpp.focus_left",GRACEFUL_SHUTDOWN:"xmpp.graceful_shutdown",ICE_RESTARTING:"rtc.ice_restarting",ICE_RESTART_SUCCESS:"rtc.ice_restart_success",KICKED:"xmpp.kicked",LOCAL_ROLE_CHANGED:"xmpp.localrole_changed",MEETING_ID_SET:"xmpp.meeting_id_set",MESSAGE_RECEIVED:"xmpp.message_received",INVITE_MESSAGE_RECEIVED:"xmpp.invite_message_received",PRIVATE_MESSAGE_RECEIVED:"xmpp.private_message_received",MUC_MEMBER_BOT_TYPE_CHANGED:"xmpp.muc_member_bot_type_changed",MUC_DESTROYED:"xmpp.muc_destroyed",MUC_JOIN_IN_PROGRESS:"xmpp.muc_join_in_progress",MUC_JOINED:"xmpp.muc_joined",MUC_MEMBER_JOINED:"xmpp.muc_member_joined",MUC_MEMBER_LEFT:"xmpp.muc_member_left",MUC_LOBBY_MEMBER_JOINED:"xmpp.muc_lobby_member_joined",MUC_LOBBY_MEMBER_UPDATED:"xmpp.muc_lobby_member_updated",MUC_LOBBY_MEMBER_LEFT:"xmpp.muc_lobby_member_left",MUC_DENIED_ACCESS:"xmpp.muc_denied access",MUC_LEFT:"xmpp.muc_left",MUC_ROLE_CHANGED:"xmpp.muc_role_changed",MUC_LOCK_CHANGED:"xmpp.muc_lock_changed",MUC_MEMBERS_ONLY_CHANGED:"xmpp.muc_members_only_changed",PARTICIPANT_AUDIO_MUTED:"xmpp.audio_muted",PARTICIPANT_VIDEO_MUTED:"xmpp.video_muted",PARTICIPANT_VIDEO_TYPE_CHANGED:"xmpp.video_type",PARTICIPANT_FEATURES_CHANGED:"xmpp.participant_features_changed",PASSWORD_REQUIRED:"xmpp.password_required",PHONE_NUMBER_CHANGED:"conference.phoneNumberChanged",PRESENCE_RECEIVED:"xmpp.presence_received",PRESENCE_STATUS:"xmpp.presence_status",PROMPT_FOR_LOGIN:"xmpp.prompt_for_login",READY_TO_JOIN:"xmpp.ready_to_join",RECORDER_STATE_CHANGED:"xmpp.recorderStateChanged",REMOTE_STATS:"xmpp.remote_stats",RENEGOTIATION_FAILED:"xmpp.renegotiation_failed",RESERVATION_ERROR:"xmpp.room_reservation_error",ROOM_CONNECT_ERROR:"xmpp.room_connect_error",ROOM_CONNECT_NOT_ALLOWED_ERROR:"xmpp.room_connect_error.not_allowed",ROOM_JOIN_ERROR:"xmpp.room_join_error",ROOM_CONNECT_MEMBERS_ONLY_ERROR:"xmpp.room_connect_error.members_only",ROOM_MAX_USERS_ERROR:"xmpp.room_max_users_error",SENDING_CHAT_MESSAGE:"xmpp.sending_chat_message",SENDING_PRIVATE_CHAT_MESSAGE:"xmpp.sending_private_chat_message",SESSION_ACCEPT:"xmpp.session_accept",SESSION_ACCEPT_ERROR:"xmpp.session_accept_error",SESSION_ACCEPT_TIMEOUT:"xmpp.session_accept_timeout",SOURCE_ADD:"xmpp.source_add",SOURCE_ADD_ERROR:"xmpp.source_add_error",SOURCE_REMOVE:"xmpp.source_remove",SOURCE_REMOVE_ERROR:"xmpp.source_remove_error",SPEAKER_STATS_RECEIVED:"xmpp.speaker_stats_received",CONFERENCE_TIMESTAMP_RECEIVED:"xmpp.conference_timestamp_received",AV_MODERATION_APPROVED:"xmpp.av_moderation.approved",AV_MODERATION_REJECTED:"xmpp.av_moderation.rejected",AV_MODERATION_RECEIVED:"xmpp.av_moderation.received",AV_MODERATION_CHANGED:"xmpp.av_moderation.changed",AV_MODERATION_PARTICIPANT_APPROVED:"xmpp.av_moderation.participant.approved",AV_MODERATION_PARTICIPANT_REJECTED:"xmpp.av_moderation.participant.rejected",BREAKOUT_ROOMS_MOVE_TO_ROOM:"xmpp.breakout-rooms.move-to-room",BREAKOUT_ROOMS_EVENT:"xmpp.breakout-rooms.event",BREAKOUT_ROOMS_UPDATED:"xmpp.breakout-rooms.updated",START_MUTED_FROM_FOCUS:"xmpp.start_muted_from_focus",SUBJECT_CHANGED:"xmpp.subject_changed",SUSPEND_DETECTED:"xmpp.suspend_detected",TRANSCRIPTION_STATUS_CHANGED:"xmpp.transcription_status_changed",TRANSPORT_INFO:"xmpp.transportinfo.jingle",VIDEO_SIP_GW_AVAILABILITY_CHANGED:"xmpp.videoSIPGWAvailabilityChanged",VIDEO_SIP_GW_SESSION_STATE_CHANGED:"xmpp.videoSIPGWSessionStateChanged",ICE_CONNECTION_STATE_CHANGED:"xmpp.ice_connection_state_changed",JSON_MESSAGE_RECEIVED:"xmmp.json_message_received"}},9742:(E,u)=>{"use strict";u.byteLength=function(g){var _=j(g),w=_[0],O=_[1];return 3*(w+O)/4-O},u.toByteArray=function(g){var _,w,O=j(g),x=O[0],F=O[1],G=new y(function(me,ge,Be){return 3*(ge+Be)/4-Be}(0,x,F)),P=0,Y=F>0?x-4:x;for(w=0;w<Y;w+=4)_=l[g.charCodeAt(w)]<<18|l[g.charCodeAt(w+1)]<<12|l[g.charCodeAt(w+2)]<<6|l[g.charCodeAt(w+3)],G[P++]=_>>16&255,G[P++]=_>>8&255,G[P++]=255&_;return F===2&&(_=l[g.charCodeAt(w)]<<2|l[g.charCodeAt(w+1)]>>4,G[P++]=255&_),F===1&&(_=l[g.charCodeAt(w)]<<10|l[g.charCodeAt(w+1)]<<4|l[g.charCodeAt(w+2)]>>2,G[P++]=_>>8&255,G[P++]=255&_),G},u.fromByteArray=function(g){for(var _,w=g.length,O=w%3,x=[],F=16383,G=0,P=w-O;G<P;G+=F)x.push(p(g,G,G+F>P?P:G+F));return O===1?(_=g[w-1],x.push(o[_>>2]+o[_<<4&63]+"==")):O===2&&(_=(g[w-2]<<8)+g[w-1],x.push(o[_>>10]+o[_>>4&63]+o[_<<2&63]+"=")),x.join("")};for(var o=[],l=[],y=typeof Uint8Array!="undefined"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0;v<64;++v)o[v]=m[v],l[m.charCodeAt(v)]=v;function j(g){var _=g.length;if(_%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var w=g.indexOf("=");return w===-1&&(w=_),[w,w===_?0:4-w%4]}function p(g,_,w){for(var O,x,F=[],G=_;G<w;G+=3)O=(g[G]<<16&16711680)+(g[G+1]<<8&65280)+(255&g[G+2]),F.push(o[(x=O)>>18&63]+o[x>>12&63]+o[x>>6&63]+o[63&x]);return F.join("")}l["-".charCodeAt(0)]=62,l["_".charCodeAt(0)]=63},1206:function(E){E.exports=function(u){var o={};function l(y){if(o[y])return o[y].exports;var m=o[y]={i:y,l:!1,exports:{}};return u[y].call(m.exports,m,m.exports,l),m.l=!0,m.exports}return l.m=u,l.c=o,l.d=function(y,m,v){l.o(y,m)||Object.defineProperty(y,m,{enumerable:!0,get:v})},l.r=function(y){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})},l.t=function(y,m){if(1&m&&(y=l(y)),8&m||4&m&&typeof y=="object"&&y&&y.__esModule)return y;var v=Object.create(null);if(l.r(v),Object.defineProperty(v,"default",{enumerable:!0,value:y}),2&m&&typeof y!="string")for(var j in y)l.d(v,j,function(p){return y[p]}.bind(null,j));return v},l.n=function(y){var m=y&&y.__esModule?function(){return y.default}:function(){return y};return l.d(m,"a",m),m},l.o=function(y,m){return Object.prototype.hasOwnProperty.call(y,m)},l.p="",l(l.s=90)}({17:function(u,o,l){"use strict";o.__esModule=!0,o.default=void 0;var y=l(18),m=function(){function v(){}return v.getFirstMatch=function(j,p){var g=p.match(j);return g&&g.length>0&&g[1]||""},v.getSecondMatch=function(j,p){var g=p.match(j);return g&&g.length>1&&g[2]||""},v.matchAndReturnConst=function(j,p,g){if(j.test(p))return g},v.getWindowsVersionName=function(j){switch(j){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},v.getMacOSVersionName=function(j){var p=j.split(".").splice(0,2).map(function(g){return parseInt(g,10)||0});if(p.push(0),p[0]===10)switch(p[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},v.getAndroidVersionName=function(j){var p=j.split(".").splice(0,2).map(function(g){return parseInt(g,10)||0});if(p.push(0),!(p[0]===1&&p[1]<5))return p[0]===1&&p[1]<6?"Cupcake":p[0]===1&&p[1]>=6?"Donut":p[0]===2&&p[1]<2?"Eclair":p[0]===2&&p[1]===2?"Froyo":p[0]===2&&p[1]>2?"Gingerbread":p[0]===3?"Honeycomb":p[0]===4&&p[1]<1?"Ice Cream Sandwich":p[0]===4&&p[1]<4?"Jelly Bean":p[0]===4&&p[1]>=4?"KitKat":p[0]===5?"Lollipop":p[0]===6?"Marshmallow":p[0]===7?"Nougat":p[0]===8?"Oreo":p[0]===9?"Pie":void 0},v.getVersionPrecision=function(j){return j.split(".").length},v.compareVersions=function(j,p,g){g===void 0&&(g=!1);var _=v.getVersionPrecision(j),w=v.getVersionPrecision(p),O=Math.max(_,w),x=0,F=v.map([j,p],function(G){var P=O-v.getVersionPrecision(G),Y=G+new Array(P+1).join(".0");return v.map(Y.split("."),function(me){return new Array(20-me.length).join("0")+me}).reverse()});for(g&&(x=O-Math.min(_,w)),O-=1;O>=x;){if(F[0][O]>F[1][O])return 1;if(F[0][O]===F[1][O]){if(O===x)return 0;O-=1}else if(F[0][O]<F[1][O])return-1}},v.map=function(j,p){var g,_=[];if(Array.prototype.map)return Array.prototype.map.call(j,p);for(g=0;g<j.length;g+=1)_.push(p(j[g]));return _},v.getBrowserAlias=function(j){return y.BROWSER_ALIASES_MAP[j]},v.getBrowserTypeByAlias=function(j){return y.BROWSER_MAP[j]||""},v}();o.default=m,u.exports=o.default},18:function(u,o,l){"use strict";o.__esModule=!0,o.ENGINE_MAP=o.OS_MAP=o.PLATFORMS_MAP=o.BROWSER_MAP=o.BROWSER_ALIASES_MAP=void 0,o.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},o.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},o.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},o.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},o.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(u,o,l){"use strict";o.__esModule=!0,o.default=void 0;var y,m=(y=l(91))&&y.__esModule?y:{default:y},v=l(18),j=function(){function p(){}var g;return p.getParser=function(_,w){if(w===void 0&&(w=!1),typeof _!="string")throw new Error("UserAgent should be a string");return new m.default(_,w)},p.parse=function(_){return new m.default(_).getResult()},(g=[{key:"BROWSER_MAP",get:function(){return v.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return v.ENGINE_MAP}},{key:"OS_MAP",get:function(){return v.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return v.PLATFORMS_MAP}}])&&function(_,w){for(var O=0;O<w.length;O++){var x=w[O];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(_,x.key,x)}}(p,g),p}();o.default=j,u.exports=o.default},91:function(u,o,l){"use strict";o.__esModule=!0,o.default=void 0;var y=g(l(92)),m=g(l(93)),v=g(l(94)),j=g(l(95)),p=g(l(17));function g(w){return w&&w.__esModule?w:{default:w}}var _=function(){function w(x,F){if(F===void 0&&(F=!1),x==null||x==="")throw new Error("UserAgent parameter can't be empty");this._ua=x,this.parsedResult={},F!==!0&&this.parse()}var O=w.prototype;return O.getUA=function(){return this._ua},O.test=function(x){return x.test(this._ua)},O.parseBrowser=function(){var x=this;this.parsedResult.browser={};var F=y.default.find(function(G){if(typeof G.test=="function")return G.test(x);if(G.test instanceof Array)return G.test.some(function(P){return x.test(P)});throw new Error("Browser's test function is not valid")});return F&&(this.parsedResult.browser=F.describe(this.getUA())),this.parsedResult.browser},O.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},O.getBrowserName=function(x){return x?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},O.getBrowserVersion=function(){return this.getBrowser().version},O.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},O.parseOS=function(){var x=this;this.parsedResult.os={};var F=m.default.find(function(G){if(typeof G.test=="function")return G.test(x);if(G.test instanceof Array)return G.test.some(function(P){return x.test(P)});throw new Error("Browser's test function is not valid")});return F&&(this.parsedResult.os=F.describe(this.getUA())),this.parsedResult.os},O.getOSName=function(x){var F=this.getOS().name;return x?String(F).toLowerCase()||"":F||""},O.getOSVersion=function(){return this.getOS().version},O.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},O.getPlatformType=function(x){x===void 0&&(x=!1);var F=this.getPlatform().type;return x?String(F).toLowerCase()||"":F||""},O.parsePlatform=function(){var x=this;this.parsedResult.platform={};var F=v.default.find(function(G){if(typeof G.test=="function")return G.test(x);if(G.test instanceof Array)return G.test.some(function(P){return x.test(P)});throw new Error("Browser's test function is not valid")});return F&&(this.parsedResult.platform=F.describe(this.getUA())),this.parsedResult.platform},O.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},O.getEngineName=function(x){return x?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},O.parseEngine=function(){var x=this;this.parsedResult.engine={};var F=j.default.find(function(G){if(typeof G.test=="function")return G.test(x);if(G.test instanceof Array)return G.test.some(function(P){return x.test(P)});throw new Error("Browser's test function is not valid")});return F&&(this.parsedResult.engine=F.describe(this.getUA())),this.parsedResult.engine},O.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},O.getResult=function(){return Object.assign({},this.parsedResult)},O.satisfies=function(x){var F=this,G={},P=0,Y={},me=0;if(Object.keys(x).forEach(function(at){var Ee=x[at];typeof Ee=="string"?(Y[at]=Ee,me+=1):typeof Ee=="object"&&(G[at]=Ee,P+=1)}),P>0){var ge=Object.keys(G),Be=ge.find(function(at){return F.isOS(at)});if(Be){var it=this.satisfies(G[Be]);if(it!==void 0)return it}var be=ge.find(function(at){return F.isPlatform(at)});if(be){var Re=this.satisfies(G[be]);if(Re!==void 0)return Re}}if(me>0){var T=Object.keys(Y).find(function(at){return F.isBrowser(at,!0)});if(T!==void 0)return this.compareVersion(Y[T])}},O.isBrowser=function(x,F){F===void 0&&(F=!1);var G=this.getBrowserName().toLowerCase(),P=x.toLowerCase(),Y=p.default.getBrowserTypeByAlias(P);return F&&Y&&(P=Y.toLowerCase()),P===G},O.compareVersion=function(x){var F=[0],G=x,P=!1,Y=this.getBrowserVersion();if(typeof Y=="string")return x[0]===">"||x[0]==="<"?(G=x.substr(1),x[1]==="="?(P=!0,G=x.substr(2)):F=[],x[0]===">"?F.push(1):F.push(-1)):x[0]==="="?G=x.substr(1):x[0]==="~"&&(P=!0,G=x.substr(1)),F.indexOf(p.default.compareVersions(Y,G,P))>-1},O.isOS=function(x){return this.getOSName(!0)===String(x).toLowerCase()},O.isPlatform=function(x){return this.getPlatformType(!0)===String(x).toLowerCase()},O.isEngine=function(x){return this.getEngineName(!0)===String(x).toLowerCase()},O.is=function(x){return this.isBrowser(x)||this.isOS(x)||this.isPlatform(x)},O.some=function(x){var F=this;return x===void 0&&(x=[]),x.some(function(G){return F.is(G)})},w}();o.default=_,u.exports=o.default},92:function(u,o,l){"use strict";o.__esModule=!0,o.default=void 0;var y,m=(y=l(17))&&y.__esModule?y:{default:y},v=/version\/(\d+(\.?_?\d+)+)/i,j=[{test:[/googlebot/i],describe:function(p){var g={name:"Googlebot"},_=m.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/opera/i],describe:function(p){var g={name:"Opera"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/opr\/|opios/i],describe:function(p){var g={name:"Opera"},_=m.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/SamsungBrowser/i],describe:function(p){var g={name:"Samsung Internet for Android"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/Whale/i],describe:function(p){var g={name:"NAVER Whale Browser"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/MZBrowser/i],describe:function(p){var g={name:"MZ Browser"},_=m.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/focus/i],describe:function(p){var g={name:"Focus"},_=m.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/swing/i],describe:function(p){var g={name:"Swing"},_=m.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/coast/i],describe:function(p){var g={name:"Opera Coast"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/yabrowser/i],describe:function(p){var g={name:"Yandex Browser"},_=m.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/ucbrowser/i],describe:function(p){var g={name:"UC Browser"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/Maxthon|mxios/i],describe:function(p){var g={name:"Maxthon"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/epiphany/i],describe:function(p){var g={name:"Epiphany"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/puffin/i],describe:function(p){var g={name:"Puffin"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/sleipnir/i],describe:function(p){var g={name:"Sleipnir"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/k-meleon/i],describe:function(p){var g={name:"K-Meleon"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/micromessenger/i],describe:function(p){var g={name:"WeChat"},_=m.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/qqbrowser/i],describe:function(p){var g={name:/qqbrowserlite/i.test(p)?"QQ Browser Lite":"QQ Browser"},_=m.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/msie|trident/i],describe:function(p){var g={name:"Internet Explorer"},_=m.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/\sedg\//i],describe:function(p){var g={name:"Microsoft Edge"},_=m.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/edg([ea]|ios)/i],describe:function(p){var g={name:"Microsoft Edge"},_=m.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/vivaldi/i],describe:function(p){var g={name:"Vivaldi"},_=m.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/seamonkey/i],describe:function(p){var g={name:"SeaMonkey"},_=m.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/sailfish/i],describe:function(p){var g={name:"Sailfish"},_=m.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,p);return _&&(g.version=_),g}},{test:[/silk/i],describe:function(p){var g={name:"Amazon Silk"},_=m.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/phantom/i],describe:function(p){var g={name:"PhantomJS"},_=m.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/slimerjs/i],describe:function(p){var g={name:"SlimerJS"},_=m.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(p){var g={name:"BlackBerry"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/(web|hpw)[o0]s/i],describe:function(p){var g={name:"WebOS Browser"},_=m.default.getFirstMatch(v,p)||m.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/bada/i],describe:function(p){var g={name:"Bada"},_=m.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/tizen/i],describe:function(p){var g={name:"Tizen"},_=m.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/qupzilla/i],describe:function(p){var g={name:"QupZilla"},_=m.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/firefox|iceweasel|fxios/i],describe:function(p){var g={name:"Firefox"},_=m.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/chromium/i],describe:function(p){var g={name:"Chromium"},_=m.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,p)||m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/chrome|crios|crmo/i],describe:function(p){var g={name:"Chrome"},_=m.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/GSA/i],describe:function(p){var g={name:"Google Search"},_=m.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:function(p){var g=!p.test(/like android/i),_=p.test(/android/i);return g&&_},describe:function(p){var g={name:"Android Browser"},_=m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/playstation 4/i],describe:function(p){var g={name:"PlayStation 4"},_=m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/safari|applewebkit/i],describe:function(p){var g={name:"Safari"},_=m.default.getFirstMatch(v,p);return _&&(g.version=_),g}},{test:[/.*/i],describe:function(p){var g=p.search("\\(")!==-1?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:m.default.getFirstMatch(g,p),version:m.default.getSecondMatch(g,p)}}}];o.default=j,u.exports=o.default},93:function(u,o,l){"use strict";o.__esModule=!0,o.default=void 0;var y,m=(y=l(17))&&y.__esModule?y:{default:y},v=l(18),j=[{test:[/Roku\/DVP/],describe:function(p){var g=m.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,p);return{name:v.OS_MAP.Roku,version:g}}},{test:[/windows phone/i],describe:function(p){var g=m.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,p);return{name:v.OS_MAP.WindowsPhone,version:g}}},{test:[/windows/i],describe:function(p){var g=m.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,p),_=m.default.getWindowsVersionName(g);return{name:v.OS_MAP.Windows,version:g,versionName:_}}},{test:[/macintosh/i],describe:function(p){var g=m.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,p).replace(/[_\s]/g,"."),_=m.default.getMacOSVersionName(g),w={name:v.OS_MAP.MacOS,version:g};return _&&(w.versionName=_),w}},{test:[/(ipod|iphone|ipad)/i],describe:function(p){var g=m.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,p).replace(/[_\s]/g,".");return{name:v.OS_MAP.iOS,version:g}}},{test:function(p){var g=!p.test(/like android/i),_=p.test(/android/i);return g&&_},describe:function(p){var g=m.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,p),_=m.default.getAndroidVersionName(g),w={name:v.OS_MAP.Android,version:g};return _&&(w.versionName=_),w}},{test:[/(web|hpw)[o0]s/i],describe:function(p){var g=m.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,p),_={name:v.OS_MAP.WebOS};return g&&g.length&&(_.version=g),_}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(p){var g=m.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,p)||m.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,p)||m.default.getFirstMatch(/\bbb(\d+)/i,p);return{name:v.OS_MAP.BlackBerry,version:g}}},{test:[/bada/i],describe:function(p){var g=m.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,p);return{name:v.OS_MAP.Bada,version:g}}},{test:[/tizen/i],describe:function(p){var g=m.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,p);return{name:v.OS_MAP.Tizen,version:g}}},{test:[/linux/i],describe:function(){return{name:v.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:v.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(p){var g=m.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,p);return{name:v.OS_MAP.PlayStation4,version:g}}}];o.default=j,u.exports=o.default},94:function(u,o,l){"use strict";o.__esModule=!0,o.default=void 0;var y,m=(y=l(17))&&y.__esModule?y:{default:y},v=l(18),j=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(p){var g=m.default.getFirstMatch(/(can-l01)/i,p)&&"Nova",_={type:v.PLATFORMS_MAP.mobile,vendor:"Huawei"};return g&&(_.model=g),_}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:v.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:v.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:v.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:v.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:v.PLATFORMS_MAP.tablet}}},{test:function(p){var g=p.test(/ipod|iphone/i),_=p.test(/like (ipod|iphone)/i);return g&&!_},describe:function(p){var g=m.default.getFirstMatch(/(ipod|iphone)/i,p);return{type:v.PLATFORMS_MAP.mobile,vendor:"Apple",model:g}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:v.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:v.PLATFORMS_MAP.mobile}}},{test:function(p){return p.getBrowserName(!0)==="blackberry"},describe:function(){return{type:v.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(p){return p.getBrowserName(!0)==="bada"},describe:function(){return{type:v.PLATFORMS_MAP.mobile}}},{test:function(p){return p.getBrowserName()==="windows phone"},describe:function(){return{type:v.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(p){var g=Number(String(p.getOSVersion()).split(".")[0]);return p.getOSName(!0)==="android"&&g>=3},describe:function(){return{type:v.PLATFORMS_MAP.tablet}}},{test:function(p){return p.getOSName(!0)==="android"},describe:function(){return{type:v.PLATFORMS_MAP.mobile}}},{test:function(p){return p.getOSName(!0)==="macos"},describe:function(){return{type:v.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(p){return p.getOSName(!0)==="windows"},describe:function(){return{type:v.PLATFORMS_MAP.desktop}}},{test:function(p){return p.getOSName(!0)==="linux"},describe:function(){return{type:v.PLATFORMS_MAP.desktop}}},{test:function(p){return p.getOSName(!0)==="playstation 4"},describe:function(){return{type:v.PLATFORMS_MAP.tv}}},{test:function(p){return p.getOSName(!0)==="roku"},describe:function(){return{type:v.PLATFORMS_MAP.tv}}}];o.default=j,u.exports=o.default},95:function(u,o,l){"use strict";o.__esModule=!0,o.default=void 0;var y,m=(y=l(17))&&y.__esModule?y:{default:y},v=l(18),j=[{test:function(p){return p.getBrowserName(!0)==="microsoft edge"},describe:function(p){if(/\sedg\//i.test(p))return{name:v.ENGINE_MAP.Blink};var g=m.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,p);return{name:v.ENGINE_MAP.EdgeHTML,version:g}}},{test:[/trident/i],describe:function(p){var g={name:v.ENGINE_MAP.Trident},_=m.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:function(p){return p.test(/presto/i)},describe:function(p){var g={name:v.ENGINE_MAP.Presto},_=m.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:function(p){var g=p.test(/gecko/i),_=p.test(/like gecko/i);return g&&!_},describe:function(p){var g={name:v.ENGINE_MAP.Gecko},_=m.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:v.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(p){var g={name:v.ENGINE_MAP.WebKit},_=m.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,p);return _&&(g.version=_),g}}];o.default=j,u.exports=o.default}})},667:function(E,u){var o,l;(l=typeof(o=function(){var y=/^(interactive|loaded|complete)$/,m=window.location?window.location.href:null,v=m&&m.replace(/#.*$/,"").replace(/\?.*$/,"")||null,j=document.getElementsByTagName("script"),p="readyState"in(j[0]||document.createElement("script")),g=!window.opera||window.opera.toString()!=="[object Opera]",_="currentScript"in document;"stackTraceLimit"in Error&&Error.stackTraceLimit!==1/0&&(Error.stackTraceLimit,Error.stackTraceLimit=1/0);var w=!1,O=!1;function x(P,Y){var me,ge=null,Be=typeof Y=="number";return Y=Be?Math.round(Y):0,typeof P=="string"&&P&&(Be?me=P.match(/(data:text\/javascript(?:;[^,]+)?,.+?|(?:|blob:)(?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/):(me=P.match(/^(?:|[^:@]*@|.+\)@(?=data:text\/javascript|blob|http[s]?|file)|.+?\s+(?: at |@)(?:[^:\(]+ )*[\(]?)(data:text\/javascript(?:;[^,]+)?,.+?|(?:|blob:)(?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/))&&me[1]||(me=P.match(/\)@(data:text\/javascript(?:;[^,]+)?,.+?|(?:|blob:)(?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/)),me&&me[1]&&(ge=Y>0?x(P.slice(P.indexOf(me[0])+me[0].length),Y-1):me[1])),ge}function F(){if(j.length===0)return null;var P,Y,me,ge,Be,it=[],be=F.skipStackDepth||1;for(P=0;P<j.length;P++)g&&p?y.test(j[P].readyState)&&it.push(j[P]):it.push(j[P]);if(Y=new Error,w&&(me=Y.stack),!me&&O)try{throw Y}catch(Re){me=Re.stack}if(me&&!(Be=function(Re,T){var at,Ee=null;if(T=T||j,typeof Re=="string"&&Re){for(at=T.length;at--;)if(T[at].src===Re){Ee=T[at];break}}return Ee}(ge=x(me,be),it))&&v&&ge===v&&(Be=function(Re){var T,at,Ee=null;for(T=0,at=(Re=Re||j).length;T<at;T++)if(!Re[T].hasAttribute("src")){if(Ee){Ee=null;break}Ee=Re[T]}return Ee}(it)),Be||it.length===1&&(Be=it[0]),Be||_&&(Be=document.currentScript),!Be&&g&&p){for(P=it.length;P--;)if(it[P].readyState==="interactive"){Be=it[P];break}}return Be||(Be=it[it.length-1]||null),Be}(function(){try{var P=new Error;throw w=typeof P.stack=="string"&&!!P.stack,P}catch(Y){O=typeof Y.stack=="string"&&!!Y.stack}})(),F.skipStackDepth=1;var G=F;return G.near=F,G.far=function(){return null},G.origin=function(){return null},G})=="function"?o.apply(u,[]):o)===void 0||(E.exports=l)},7187:E=>{"use strict";var u,o=typeof Reflect=="object"?Reflect:null,l=o&&typeof o.apply=="function"?o.apply:function(P,Y,me){return Function.prototype.apply.call(P,Y,me)};u=o&&typeof o.ownKeys=="function"?o.ownKeys:Object.getOwnPropertySymbols?function(P){return Object.getOwnPropertyNames(P).concat(Object.getOwnPropertySymbols(P))}:function(P){return Object.getOwnPropertyNames(P)};var y=Number.isNaN||function(P){return P!=P};function m(){m.init.call(this)}E.exports=m,E.exports.once=function(P,Y){return new Promise(function(me,ge){function Be(be){P.removeListener(Y,it),ge(be)}function it(){typeof P.removeListener=="function"&&P.removeListener("error",Be),me([].slice.call(arguments))}G(P,Y,it,{once:!0}),Y!=="error"&&function(be,Re,T){typeof be.on=="function"&&G(be,"error",Re,{once:!0})}(P,Be)})},m.EventEmitter=m,m.prototype._events=void 0,m.prototype._eventsCount=0,m.prototype._maxListeners=void 0;var v=10;function j(P){if(typeof P!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof P)}function p(P){return P._maxListeners===void 0?m.defaultMaxListeners:P._maxListeners}function g(P,Y,me,ge){var Be,it,be;if(j(me),(it=P._events)===void 0?(it=P._events=Object.create(null),P._eventsCount=0):(it.newListener!==void 0&&(P.emit("newListener",Y,me.listener?me.listener:me),it=P._events),be=it[Y]),be===void 0)be=it[Y]=me,++P._eventsCount;else if(typeof be=="function"?be=it[Y]=ge?[me,be]:[be,me]:ge?be.unshift(me):be.push(me),(Be=p(P))>0&&be.length>Be&&!be.warned){be.warned=!0;var Re=new Error("Possible EventEmitter memory leak detected. "+be.length+" "+String(Y)+" listeners added. Use emitter.setMaxListeners() to increase limit");Re.name="MaxListenersExceededWarning",Re.emitter=P,Re.type=Y,Re.count=be.length}return P}function _(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function w(P,Y,me){var ge={fired:!1,wrapFn:void 0,target:P,type:Y,listener:me},Be=_.bind(ge);return Be.listener=me,ge.wrapFn=Be,Be}function O(P,Y,me){var ge=P._events;if(ge===void 0)return[];var Be=ge[Y];return Be===void 0?[]:typeof Be=="function"?me?[Be.listener||Be]:[Be]:me?function(it){for(var be=new Array(it.length),Re=0;Re<be.length;++Re)be[Re]=it[Re].listener||it[Re];return be}(Be):F(Be,Be.length)}function x(P){var Y=this._events;if(Y!==void 0){var me=Y[P];if(typeof me=="function")return 1;if(me!==void 0)return me.length}return 0}function F(P,Y){for(var me=new Array(Y),ge=0;ge<Y;++ge)me[ge]=P[ge];return me}function G(P,Y,me,ge){if(typeof P.on=="function")ge.once?P.once(Y,me):P.on(Y,me);else{if(typeof P.addEventListener!="function")throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof P);P.addEventListener(Y,function Be(it){ge.once&&P.removeEventListener(Y,Be),me(it)})}}Object.defineProperty(m,"defaultMaxListeners",{enumerable:!0,get:function(){return v},set:function(P){if(typeof P!="number"||P<0||y(P))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+P+".");v=P}}),m.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},m.prototype.setMaxListeners=function(P){if(typeof P!="number"||P<0||y(P))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+P+".");return this._maxListeners=P,this},m.prototype.getMaxListeners=function(){return p(this)},m.prototype.emit=function(P){for(var Y=[],me=1;me<arguments.length;me++)Y.push(arguments[me]);var ge=P==="error",Be=this._events;if(Be!==void 0)ge=ge&&Be.error===void 0;else if(!ge)return!1;if(ge){var it;if(Y.length>0&&(it=Y[0]),it instanceof Error)throw it;var be=new Error("Unhandled error."+(it?" ("+it.message+")":""));throw be.context=it,be}var Re=Be[P];if(Re===void 0)return!1;if(typeof Re=="function")l(Re,this,Y);else{var T=Re.length,at=F(Re,T);for(me=0;me<T;++me)l(at[me],this,Y)}return!0},m.prototype.addListener=function(P,Y){return g(this,P,Y,!1)},m.prototype.on=m.prototype.addListener,m.prototype.prependListener=function(P,Y){return g(this,P,Y,!0)},m.prototype.once=function(P,Y){return j(Y),this.on(P,w(this,P,Y)),this},m.prototype.prependOnceListener=function(P,Y){return j(Y),this.prependListener(P,w(this,P,Y)),this},m.prototype.removeListener=function(P,Y){var me,ge,Be,it,be;if(j(Y),(ge=this._events)===void 0)return this;if((me=ge[P])===void 0)return this;if(me===Y||me.listener===Y)--this._eventsCount==0?this._events=Object.create(null):(delete ge[P],ge.removeListener&&this.emit("removeListener",P,me.listener||Y));else if(typeof me!="function"){for(Be=-1,it=me.length-1;it>=0;it--)if(me[it]===Y||me[it].listener===Y){be=me[it].listener,Be=it;break}if(Be<0)return this;Be===0?me.shift():function(Re,T){for(;T+1<Re.length;T++)Re[T]=Re[T+1];Re.pop()}(me,Be),me.length===1&&(ge[P]=me[0]),ge.removeListener!==void 0&&this.emit("removeListener",P,be||Y)}return this},m.prototype.off=m.prototype.removeListener,m.prototype.removeAllListeners=function(P){var Y,me,ge;if((me=this._events)===void 0)return this;if(me.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):me[P]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete me[P]),this;if(arguments.length===0){var Be,it=Object.keys(me);for(ge=0;ge<it.length;++ge)(Be=it[ge])!=="removeListener"&&this.removeAllListeners(Be);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(Y=me[P])=="function")this.removeListener(P,Y);else if(Y!==void 0)for(ge=Y.length-1;ge>=0;ge--)this.removeListener(P,Y[ge]);return this},m.prototype.listeners=function(P){return O(this,P,!0)},m.prototype.rawListeners=function(P){return O(this,P,!1)},m.listenerCount=function(P,Y){return typeof P.listenerCount=="function"?P.listenerCount(Y):x.call(P,Y)},m.prototype.listenerCount=x,m.prototype.eventNames=function(){return this._eventsCount>0?u(this._events):[]}},8495:(module,exports,__nested_webpack_require_91364__)=>{var __WEBPACK_AMD_DEFINE_RESULT__;(function(){"use strict";var ERROR="input is invalid type",WINDOW=typeof window=="object",root=WINDOW?window:{};root.JS_MD5_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&typeof self=="object",NODE_JS=!root.JS_MD5_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;NODE_JS?root=__nested_webpack_require_91364__.g:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_MD5_NO_COMMON_JS&&module.exports,AMD=__nested_webpack_require_91364__.amdO,ARRAY_BUFFER=!root.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer!="undefined",HEX_CHARS="0123456789abcdef".split(""),EXTRA=[128,32768,8388608,-2147483648],SHIFT=[0,8,16,24],OUTPUT_TYPES=["hex","array","digest","buffer","arrayBuffer","base64"],BASE64_ENCODE_CHAR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),blocks=[],buffer8;if(ARRAY_BUFFER){var buffer=new ArrayBuffer(68);buffer8=new Uint8Array(buffer),blocks=new Uint32Array(buffer)}!root.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(E){return Object.prototype.toString.call(E)==="[object Array]"}),!ARRAY_BUFFER||!root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(E){return typeof E=="object"&&E.buffer&&E.buffer.constructor===ArrayBuffer});var createOutputMethod=function(E){return function(u){return new Md5(!0).update(u)[E]()}},createMethod=function(){var E=createOutputMethod("hex");NODE_JS&&(E=nodeWrap(E)),E.create=function(){return new Md5},E.update=function(l){return E.create().update(l)};for(var u=0;u<OUTPUT_TYPES.length;++u){var o=OUTPUT_TYPES[u];E[o]=createOutputMethod(o)}return E},nodeWrap=function(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(E){if(typeof E=="string")return crypto.createHash("md5").update(E,"utf8").digest("hex");if(E==null)throw ERROR;return E.constructor===ArrayBuffer&&(E=new Uint8Array(E)),Array.isArray(E)||ArrayBuffer.isView(E)||E.constructor===Buffer?crypto.createHash("md5").update(new Buffer(E)).digest("hex"):method(E)};return nodeMethod};function Md5(E){if(E)blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks,this.buffer8=buffer8;else if(ARRAY_BUFFER){var u=new ArrayBuffer(68);this.buffer8=new Uint8Array(u),this.blocks=new Uint32Array(u)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Md5.prototype.update=function(E){if(!this.finalized){var u,o=typeof E;if(o!=="string"){if(o!=="object"||E===null)throw ERROR;if(ARRAY_BUFFER&&E.constructor===ArrayBuffer)E=new Uint8Array(E);else if(!(Array.isArray(E)||ARRAY_BUFFER&&ArrayBuffer.isView(E)))throw ERROR;u=!0}for(var l,y,m=0,v=E.length,j=this.blocks,p=this.buffer8;m<v;){if(this.hashed&&(this.hashed=!1,j[0]=j[16],j[16]=j[1]=j[2]=j[3]=j[4]=j[5]=j[6]=j[7]=j[8]=j[9]=j[10]=j[11]=j[12]=j[13]=j[14]=j[15]=0),u)if(ARRAY_BUFFER)for(y=this.start;m<v&&y<64;++m)p[y++]=E[m];else for(y=this.start;m<v&&y<64;++m)j[y>>2]|=E[m]<<SHIFT[3&y++];else if(ARRAY_BUFFER)for(y=this.start;m<v&&y<64;++m)(l=E.charCodeAt(m))<128?p[y++]=l:l<2048?(p[y++]=192|l>>6,p[y++]=128|63&l):l<55296||l>=57344?(p[y++]=224|l>>12,p[y++]=128|l>>6&63,p[y++]=128|63&l):(l=65536+((1023&l)<<10|1023&E.charCodeAt(++m)),p[y++]=240|l>>18,p[y++]=128|l>>12&63,p[y++]=128|l>>6&63,p[y++]=128|63&l);else for(y=this.start;m<v&&y<64;++m)(l=E.charCodeAt(m))<128?j[y>>2]|=l<<SHIFT[3&y++]:l<2048?(j[y>>2]|=(192|l>>6)<<SHIFT[3&y++],j[y>>2]|=(128|63&l)<<SHIFT[3&y++]):l<55296||l>=57344?(j[y>>2]|=(224|l>>12)<<SHIFT[3&y++],j[y>>2]|=(128|l>>6&63)<<SHIFT[3&y++],j[y>>2]|=(128|63&l)<<SHIFT[3&y++]):(l=65536+((1023&l)<<10|1023&E.charCodeAt(++m)),j[y>>2]|=(240|l>>18)<<SHIFT[3&y++],j[y>>2]|=(128|l>>12&63)<<SHIFT[3&y++],j[y>>2]|=(128|l>>6&63)<<SHIFT[3&y++],j[y>>2]|=(128|63&l)<<SHIFT[3&y++]);this.lastByteIndex=y,this.bytes+=y-this.start,y>=64?(this.start=y-64,this.hash(),this.hashed=!0):this.start=y}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Md5.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var E=this.blocks,u=this.lastByteIndex;E[u>>2]|=EXTRA[3&u],u>=56&&(this.hashed||this.hash(),E[0]=E[16],E[16]=E[1]=E[2]=E[3]=E[4]=E[5]=E[6]=E[7]=E[8]=E[9]=E[10]=E[11]=E[12]=E[13]=E[14]=E[15]=0),E[14]=this.bytes<<3,E[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},Md5.prototype.hash=function(){var E,u,o,l,y,m,v=this.blocks;this.first?u=((u=((E=((E=v[0]-680876937)<<7|E>>>25)-271733879<<0)^(o=((o=(-271733879^(l=((l=(-1732584194^2004318071&E)+v[1]-117830708)<<12|l>>>20)+E<<0)&(-271733879^E))+v[2]-1126478375)<<17|o>>>15)+l<<0)&(l^E))+v[3]-1316259209)<<22|u>>>10)+o<<0:(E=this.h0,u=this.h1,o=this.h2,u=((u+=((E=((E+=((l=this.h3)^u&(o^l))+v[0]-680876936)<<7|E>>>25)+u<<0)^(o=((o+=(u^(l=((l+=(o^E&(u^o))+v[1]-389564586)<<12|l>>>20)+E<<0)&(E^u))+v[2]+606105819)<<17|o>>>15)+l<<0)&(l^E))+v[3]-1044525330)<<22|u>>>10)+o<<0),u=((u+=((E=((E+=(l^u&(o^l))+v[4]-176418897)<<7|E>>>25)+u<<0)^(o=((o+=(u^(l=((l+=(o^E&(u^o))+v[5]+1200080426)<<12|l>>>20)+E<<0)&(E^u))+v[6]-1473231341)<<17|o>>>15)+l<<0)&(l^E))+v[7]-45705983)<<22|u>>>10)+o<<0,u=((u+=((E=((E+=(l^u&(o^l))+v[8]+1770035416)<<7|E>>>25)+u<<0)^(o=((o+=(u^(l=((l+=(o^E&(u^o))+v[9]-1958414417)<<12|l>>>20)+E<<0)&(E^u))+v[10]-42063)<<17|o>>>15)+l<<0)&(l^E))+v[11]-1990404162)<<22|u>>>10)+o<<0,u=((u+=((E=((E+=(l^u&(o^l))+v[12]+1804603682)<<7|E>>>25)+u<<0)^(o=((o+=(u^(l=((l+=(o^E&(u^o))+v[13]-40341101)<<12|l>>>20)+E<<0)&(E^u))+v[14]-1502002290)<<17|o>>>15)+l<<0)&(l^E))+v[15]+1236535329)<<22|u>>>10)+o<<0,u=((u+=((l=((l+=(u^o&((E=((E+=(o^l&(u^o))+v[1]-165796510)<<5|E>>>27)+u<<0)^u))+v[6]-1069501632)<<9|l>>>23)+E<<0)^E&((o=((o+=(E^u&(l^E))+v[11]+643717713)<<14|o>>>18)+l<<0)^l))+v[0]-373897302)<<20|u>>>12)+o<<0,u=((u+=((l=((l+=(u^o&((E=((E+=(o^l&(u^o))+v[5]-701558691)<<5|E>>>27)+u<<0)^u))+v[10]+38016083)<<9|l>>>23)+E<<0)^E&((o=((o+=(E^u&(l^E))+v[15]-660478335)<<14|o>>>18)+l<<0)^l))+v[4]-405537848)<<20|u>>>12)+o<<0,u=((u+=((l=((l+=(u^o&((E=((E+=(o^l&(u^o))+v[9]+568446438)<<5|E>>>27)+u<<0)^u))+v[14]-1019803690)<<9|l>>>23)+E<<0)^E&((o=((o+=(E^u&(l^E))+v[3]-187363961)<<14|o>>>18)+l<<0)^l))+v[8]+1163531501)<<20|u>>>12)+o<<0,u=((u+=((l=((l+=(u^o&((E=((E+=(o^l&(u^o))+v[13]-1444681467)<<5|E>>>27)+u<<0)^u))+v[2]-51403784)<<9|l>>>23)+E<<0)^E&((o=((o+=(E^u&(l^E))+v[7]+1735328473)<<14|o>>>18)+l<<0)^l))+v[12]-1926607734)<<20|u>>>12)+o<<0,u=((u+=((m=(l=((l+=((y=u^o)^(E=((E+=(y^l)+v[5]-378558)<<4|E>>>28)+u<<0))+v[8]-2022574463)<<11|l>>>21)+E<<0)^E)^(o=((o+=(m^u)+v[11]+1839030562)<<16|o>>>16)+l<<0))+v[14]-35309556)<<23|u>>>9)+o<<0,u=((u+=((m=(l=((l+=((y=u^o)^(E=((E+=(y^l)+v[1]-1530992060)<<4|E>>>28)+u<<0))+v[4]+1272893353)<<11|l>>>21)+E<<0)^E)^(o=((o+=(m^u)+v[7]-155497632)<<16|o>>>16)+l<<0))+v[10]-1094730640)<<23|u>>>9)+o<<0,u=((u+=((m=(l=((l+=((y=u^o)^(E=((E+=(y^l)+v[13]+681279174)<<4|E>>>28)+u<<0))+v[0]-358537222)<<11|l>>>21)+E<<0)^E)^(o=((o+=(m^u)+v[3]-722521979)<<16|o>>>16)+l<<0))+v[6]+76029189)<<23|u>>>9)+o<<0,u=((u+=((m=(l=((l+=((y=u^o)^(E=((E+=(y^l)+v[9]-640364487)<<4|E>>>28)+u<<0))+v[12]-421815835)<<11|l>>>21)+E<<0)^E)^(o=((o+=(m^u)+v[15]+530742520)<<16|o>>>16)+l<<0))+v[2]-995338651)<<23|u>>>9)+o<<0,u=((u+=((l=((l+=(u^((E=((E+=(o^(u|~l))+v[0]-198630844)<<6|E>>>26)+u<<0)|~o))+v[7]+1126891415)<<10|l>>>22)+E<<0)^((o=((o+=(E^(l|~u))+v[14]-1416354905)<<15|o>>>17)+l<<0)|~E))+v[5]-57434055)<<21|u>>>11)+o<<0,u=((u+=((l=((l+=(u^((E=((E+=(o^(u|~l))+v[12]+1700485571)<<6|E>>>26)+u<<0)|~o))+v[3]-1894986606)<<10|l>>>22)+E<<0)^((o=((o+=(E^(l|~u))+v[10]-1051523)<<15|o>>>17)+l<<0)|~E))+v[1]-2054922799)<<21|u>>>11)+o<<0,u=((u+=((l=((l+=(u^((E=((E+=(o^(u|~l))+v[8]+1873313359)<<6|E>>>26)+u<<0)|~o))+v[15]-30611744)<<10|l>>>22)+E<<0)^((o=((o+=(E^(l|~u))+v[6]-1560198380)<<15|o>>>17)+l<<0)|~E))+v[13]+1309151649)<<21|u>>>11)+o<<0,u=((u+=((l=((l+=(u^((E=((E+=(o^(u|~l))+v[4]-145523070)<<6|E>>>26)+u<<0)|~o))+v[11]-1120210379)<<10|l>>>22)+E<<0)^((o=((o+=(E^(l|~u))+v[2]+718787259)<<15|o>>>17)+l<<0)|~E))+v[9]-343485551)<<21|u>>>11)+o<<0,this.first?(this.h0=E+1732584193<<0,this.h1=u-271733879<<0,this.h2=o-1732584194<<0,this.h3=l+271733878<<0,this.first=!1):(this.h0=this.h0+E<<0,this.h1=this.h1+u<<0,this.h2=this.h2+o<<0,this.h3=this.h3+l<<0)},Md5.prototype.hex=function(){this.finalize();var E=this.h0,u=this.h1,o=this.h2,l=this.h3;return HEX_CHARS[E>>4&15]+HEX_CHARS[15&E]+HEX_CHARS[E>>12&15]+HEX_CHARS[E>>8&15]+HEX_CHARS[E>>20&15]+HEX_CHARS[E>>16&15]+HEX_CHARS[E>>28&15]+HEX_CHARS[E>>24&15]+HEX_CHARS[u>>4&15]+HEX_CHARS[15&u]+HEX_CHARS[u>>12&15]+HEX_CHARS[u>>8&15]+HEX_CHARS[u>>20&15]+HEX_CHARS[u>>16&15]+HEX_CHARS[u>>28&15]+HEX_CHARS[u>>24&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[l>>4&15]+HEX_CHARS[15&l]+HEX_CHARS[l>>12&15]+HEX_CHARS[l>>8&15]+HEX_CHARS[l>>20&15]+HEX_CHARS[l>>16&15]+HEX_CHARS[l>>28&15]+HEX_CHARS[l>>24&15]},Md5.prototype.toString=Md5.prototype.hex,Md5.prototype.digest=function(){this.finalize();var E=this.h0,u=this.h1,o=this.h2,l=this.h3;return[255&E,E>>8&255,E>>16&255,E>>24&255,255&u,u>>8&255,u>>16&255,u>>24&255,255&o,o>>8&255,o>>16&255,o>>24&255,255&l,l>>8&255,l>>16&255,l>>24&255]},Md5.prototype.array=Md5.prototype.digest,Md5.prototype.arrayBuffer=function(){this.finalize();var E=new ArrayBuffer(16),u=new Uint32Array(E);return u[0]=this.h0,u[1]=this.h1,u[2]=this.h2,u[3]=this.h3,E},Md5.prototype.buffer=Md5.prototype.arrayBuffer,Md5.prototype.base64=function(){for(var E,u,o,l="",y=this.array(),m=0;m<15;)E=y[m++],u=y[m++],o=y[m++],l+=BASE64_ENCODE_CHAR[E>>>2]+BASE64_ENCODE_CHAR[63&(E<<4|u>>>4)]+BASE64_ENCODE_CHAR[63&(u<<2|o>>>6)]+BASE64_ENCODE_CHAR[63&o];return E=y[m],l+(BASE64_ENCODE_CHAR[E>>>2]+BASE64_ENCODE_CHAR[E<<4&63]+"==")};var exports=createMethod();COMMON_JS?module.exports=exports:(root.md5=exports,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__nested_webpack_require_91364__,exports,module),__WEBPACK_AMD_DEFINE_RESULT__===void 0||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))})()},3465:(E,u,o)=>{E=o.nmd(E);var l="__lodash_hash_undefined__",y=9007199254740991,m="[object Arguments]",v="[object Boolean]",j="[object Date]",p="[object Function]",g="[object GeneratorFunction]",_="[object Map]",w="[object Number]",O="[object Object]",x="[object Promise]",F="[object RegExp]",G="[object Set]",P="[object String]",Y="[object Symbol]",me="[object WeakMap]",ge="[object ArrayBuffer]",Be="[object DataView]",it="[object Float32Array]",be="[object Float64Array]",Re="[object Int8Array]",T="[object Int16Array]",at="[object Int32Array]",Ee="[object Uint8Array]",Le="[object Uint8ClampedArray]",Xe="[object Uint16Array]",se="[object Uint32Array]",Ze=/\w*$/,Fe=/^\[object .+?Constructor\]$/,dt=/^(?:0|[1-9]\d*)$/,$e={};$e[m]=$e["[object Array]"]=$e[ge]=$e[Be]=$e[v]=$e[j]=$e[it]=$e[be]=$e[Re]=$e[T]=$e[at]=$e[_]=$e[w]=$e[O]=$e[F]=$e[G]=$e[P]=$e[Y]=$e[Ee]=$e[Le]=$e[Xe]=$e[se]=!0,$e["[object Error]"]=$e[p]=$e[me]=!1;var ae=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,f=typeof self=="object"&&self&&self.Object===Object&&self,D=ae||f||Function("return this")(),H=u&&!u.nodeType&&u,z=H&&E&&!E.nodeType&&E,ve=z&&z.exports===H;function Se(I,C){return I.set(C[0],C[1]),I}function pe(I,C){return I.add(C),I}function he(I,C,ne,re){var Oe=-1,ye=I?I.length:0;for(re&&ye&&(ne=I[++Oe]);++Oe<ye;)ne=C(ne,I[Oe],Oe,I);return ne}function De(I){var C=!1;if(I!=null&&typeof I.toString!="function")try{C=!!(I+"")}catch(ne){}return C}function R(I){var C=-1,ne=Array(I.size);return I.forEach(function(re,Oe){ne[++C]=[Oe,re]}),ne}function U(I,C){return function(ne){return I(C(ne))}}function Z(I){var C=-1,ne=Array(I.size);return I.forEach(function(re){ne[++C]=re}),ne}var _e,Ve=Array.prototype,Ie=Function.prototype,mt=Object.prototype,jt=D["__core-js_shared__"],qe=(_e=/[^.]+$/.exec(jt&&jt.keys&&jt.keys.IE_PROTO||""))?"Symbol(src)_1."+_e:"",He=Ie.toString,It=mt.hasOwnProperty,Gt=mt.toString,Xt=RegExp("^"+He.call(It).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ht=ve?D.Buffer:void 0,qt=D.Symbol,Wt=D.Uint8Array,_t=U(Object.getPrototypeOf,Object),Zt=Object.create,q=mt.propertyIsEnumerable,Me=Ve.splice,Ae=Object.getOwnPropertySymbols,k=Ht?Ht.isBuffer:void 0,Q=U(Object.keys,Object),ie=ri(D,"DataView"),ce=ri(D,"Map"),Pe=ri(D,"Promise"),je=ri(D,"Set"),lt=ri(D,"WeakMap"),gt=ri(Object,"create"),pt=Si(ie),xe=Si(ce),Dt=Si(Pe),oi=Si(je),Kn=Si(lt),li=qt?qt.prototype:void 0,hn=li?li.valueOf:void 0;function At(I){var C=-1,ne=I?I.length:0;for(this.clear();++C<ne;){var re=I[C];this.set(re[0],re[1])}}function en(I){var C=-1,ne=I?I.length:0;for(this.clear();++C<ne;){var re=I[C];this.set(re[0],re[1])}}function Pn(I){var C=-1,ne=I?I.length:0;for(this.clear();++C<ne;){var re=I[C];this.set(re[0],re[1])}}function yi(I){this.__data__=new en(I)}function jn(I,C,ne){var re=I[C];It.call(I,C)&&Ji(re,ne)&&(ne!==void 0||C in I)||(I[C]=ne)}function Ei(I,C){for(var ne=I.length;ne--;)if(Ji(I[ne][0],C))return ne;return-1}function ii(I,C,ne,re,Oe,ye,st){var tt;if(re&&(tt=ye?re(I,Oe,ye,st):re(I)),tt!==void 0)return tt;if(!vn(I))return I;var Pt=We(I);if(Pt){if(tt=function($t){var an=$t.length,Bn=$t.constructor(an);return an&&typeof $t[0]=="string"&&It.call($t,"index")&&(Bn.index=$t.index,Bn.input=$t.input),Bn}(I),!C)return function($t,an){var Bn=-1,rn=$t.length;for(an||(an=Array(rn));++Bn<rn;)an[Bn]=$t[Bn];return an}(I,tt)}else{var et=ti(I),Ce=et==p||et==g;if(Ct(I))return function($t,an){if(an)return $t.slice();var Bn=new $t.constructor($t.length);return $t.copy(Bn),Bn}(I,C);if(et==O||et==m||Ce&&!ye){if(De(I))return ye?I:{};if(tt=function($t){return typeof $t.constructor!="function"||ci($t)?{}:vn(an=_t($t))?Zt(an):{};var an}(Ce?{}:I),!C)return function($t,an){return Di($t,Li($t),an)}(I,function($t,an){return $t&&Di(an,on(an),$t)}(tt,I))}else{if(!$e[et])return ye?I:{};tt=function($t,an,Bn,rn){var cn,di=$t.constructor;switch(an){case ge:return Bi($t);case v:case j:return new di(+$t);case Be:return function(zt,Cn){var Tn=Cn?Bi(zt.buffer):zt.buffer;return new zt.constructor(Tn,zt.byteOffset,zt.byteLength)}($t,rn);case it:case be:case Re:case T:case at:case Ee:case Le:case Xe:case se:return function(zt,Cn){var Tn=Cn?Bi(zt.buffer):zt.buffer;return new zt.constructor(Tn,zt.byteOffset,zt.length)}($t,rn);case _:return function(zt,Cn,Tn){return he(Cn?Tn(R(zt),!0):R(zt),Se,new zt.constructor)}($t,rn,Bn);case w:case P:return new di($t);case F:return function(zt){var Cn=new zt.constructor(zt.source,Ze.exec(zt));return Cn.lastIndex=zt.lastIndex,Cn}($t);case G:return function(zt,Cn,Tn){return he(Cn?Tn(Z(zt),!0):Z(zt),pe,new zt.constructor)}($t,rn,Bn);case Y:return cn=$t,hn?Object(hn.call(cn)):{}}}(I,et,ii,C)}}st||(st=new yi);var Yt=st.get(I);if(Yt)return Yt;if(st.set(I,tt),!Pt)var ui=ne?function($t){return function(an,Bn,rn){var cn=Bn(an);return We(an)?cn:function(di,zt){for(var Cn=-1,Tn=zt.length,un=di.length;++Cn<Tn;)di[un+Cn]=zt[Cn];return di}(cn,rn(an))}($t,on,Li)}(I):on(I);return function($t,an){for(var Bn=-1,rn=$t?$t.length:0;++Bn<rn&&an($t[Bn],Bn)!==!1;);}(ui||I,function($t,an){ui&&($t=I[an=$t]),jn(tt,an,ii($t,C,ne,re,an,I,st))}),tt}function Bi(I){var C=new I.constructor(I.byteLength);return new Wt(C).set(new Wt(I)),C}function Di(I,C,ne,re){ne||(ne={});for(var Oe=-1,ye=C.length;++Oe<ye;){var st=C[Oe],tt=re?re(ne[st],I[st],st,ne,I):void 0;jn(ne,st,tt===void 0?I[st]:tt)}return ne}function ai(I,C){var ne,re,Oe=I.__data__;return((re=typeof(ne=C))=="string"||re=="number"||re=="symbol"||re=="boolean"?ne!=="__proto__":ne===null)?Oe[typeof C=="string"?"string":"hash"]:Oe.map}function ri(I,C){var ne=function(re,Oe){return re==null?void 0:re[Oe]}(I,C);return function(re){return!(!vn(re)||(Oe=re,qe&&qe in Oe))&&(Mt(re)||De(re)?Xt:Fe).test(Si(re));var Oe}(ne)?ne:void 0}At.prototype.clear=function(){this.__data__=gt?gt(null):{}},At.prototype.delete=function(I){return this.has(I)&&delete this.__data__[I]},At.prototype.get=function(I){var C=this.__data__;if(gt){var ne=C[I];return ne===l?void 0:ne}return It.call(C,I)?C[I]:void 0},At.prototype.has=function(I){var C=this.__data__;return gt?C[I]!==void 0:It.call(C,I)},At.prototype.set=function(I,C){return this.__data__[I]=gt&&C===void 0?l:C,this},en.prototype.clear=function(){this.__data__=[]},en.prototype.delete=function(I){var C=this.__data__,ne=Ei(C,I);return!(ne<0||(ne==C.length-1?C.pop():Me.call(C,ne,1),0))},en.prototype.get=function(I){var C=this.__data__,ne=Ei(C,I);return ne<0?void 0:C[ne][1]},en.prototype.has=function(I){return Ei(this.__data__,I)>-1},en.prototype.set=function(I,C){var ne=this.__data__,re=Ei(ne,I);return re<0?ne.push([I,C]):ne[re][1]=C,this},Pn.prototype.clear=function(){this.__data__={hash:new At,map:new(ce||en),string:new At}},Pn.prototype.delete=function(I){return ai(this,I).delete(I)},Pn.prototype.get=function(I){return ai(this,I).get(I)},Pn.prototype.has=function(I){return ai(this,I).has(I)},Pn.prototype.set=function(I,C){return ai(this,I).set(I,C),this},yi.prototype.clear=function(){this.__data__=new en},yi.prototype.delete=function(I){return this.__data__.delete(I)},yi.prototype.get=function(I){return this.__data__.get(I)},yi.prototype.has=function(I){return this.__data__.has(I)},yi.prototype.set=function(I,C){var ne=this.__data__;if(ne instanceof en){var re=ne.__data__;if(!ce||re.length<199)return re.push([I,C]),this;ne=this.__data__=new Pn(re)}return ne.set(I,C),this};var Li=Ae?U(Ae,Object):function(){return[]},ti=function(I){return Gt.call(I)};function Yn(I,C){return!!(C=C==null?y:C)&&(typeof I=="number"||dt.test(I))&&I>-1&&I%1==0&&I<C}function ci(I){var C=I&&I.constructor;return I===(typeof C=="function"&&C.prototype||mt)}function Si(I){if(I!=null){try{return He.call(I)}catch(C){}try{return I+""}catch(C){}}return""}function Ji(I,C){return I===C||I!=I&&C!=C}(ie&&ti(new ie(new ArrayBuffer(1)))!=Be||ce&&ti(new ce)!=_||Pe&&ti(Pe.resolve())!=x||je&&ti(new je)!=G||lt&&ti(new lt)!=me)&&(ti=function(I){var C=Gt.call(I),ne=C==O?I.constructor:void 0,re=ne?Si(ne):void 0;if(re)switch(re){case pt:return Be;case xe:return _;case Dt:return x;case oi:return G;case Kn:return me}return C});var We=Array.isArray;function ct(I){return I!=null&&function(C){return typeof C=="number"&&C>-1&&C%1==0&&C<=y}(I.length)&&!Mt(I)}var Ct=k||function(){return!1};function Mt(I){var C=vn(I)?Gt.call(I):"";return C==p||C==g}function vn(I){var C=typeof I;return!!I&&(C=="object"||C=="function")}function on(I){return ct(I)?function(C,ne){var re=We(C)||function(tt){return function(Pt){return function(et){return!!et&&typeof et=="object"}(Pt)&&ct(Pt)}(tt)&&It.call(tt,"callee")&&(!q.call(tt,"callee")||Gt.call(tt)==m)}(C)?function(tt,Pt){for(var et=-1,Ce=Array(tt);++et<tt;)Ce[et]=Pt(et);return Ce}(C.length,String):[],Oe=re.length,ye=!!Oe;for(var st in C)!It.call(C,st)||ye&&(st=="length"||Yn(st,Oe))||re.push(st);return re}(I):function(C){if(!ci(C))return Q(C);var ne=[];for(var re in Object(C))It.call(C,re)&&re!="constructor"&&ne.push(re);return ne}(I)}E.exports=function(I){return ii(I,!0,!0)}},1296:(E,u,o)=>{var l=/^\s+|\s+$/g,y=/^[-+]0x[0-9a-f]+$/i,m=/^0b[01]+$/i,v=/^0o[0-7]+$/i,j=parseInt,p=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,g=typeof self=="object"&&self&&self.Object===Object&&self,_=p||g||Function("return this")(),w=Object.prototype.toString,O=Math.max,x=Math.min,F=function(){return _.Date.now()};function G(Y){var me=typeof Y;return!!Y&&(me=="object"||me=="function")}function P(Y){if(typeof Y=="number")return Y;if(function(Be){return typeof Be=="symbol"||function(it){return!!it&&typeof it=="object"}(Be)&&w.call(Be)=="[object Symbol]"}(Y))return NaN;if(G(Y)){var me=typeof Y.valueOf=="function"?Y.valueOf():Y;Y=G(me)?me+"":me}if(typeof Y!="string")return Y===0?Y:+Y;Y=Y.replace(l,"");var ge=m.test(Y);return ge||v.test(Y)?j(Y.slice(2),ge?2:8):y.test(Y)?NaN:+Y}E.exports=function(Y,me,ge){var Be,it,be,Re,T,at,Ee=0,Le=!1,Xe=!1,se=!0;if(typeof Y!="function")throw new TypeError("Expected a function");function Ze(f){var D=Be,H=it;return Be=it=void 0,Ee=f,Re=Y.apply(H,D)}function Fe(f){var D=f-at;return at===void 0||D>=me||D<0||Xe&&f-Ee>=be}function dt(){var f=F();if(Fe(f))return $e(f);T=setTimeout(dt,function(D){var H=me-(D-at);return Xe?x(H,be-(D-Ee)):H}(f))}function $e(f){return T=void 0,se&&Be?Ze(f):(Be=it=void 0,Re)}function ae(){var f=F(),D=Fe(f);if(Be=arguments,it=this,at=f,D){if(T===void 0)return function(H){return Ee=H,T=setTimeout(dt,me),Le?Ze(H):Re}(at);if(Xe)return T=setTimeout(dt,me),Ze(at)}return T===void 0&&(T=setTimeout(dt,me)),Re}return me=P(me)||0,G(ge)&&(Le=!!ge.leading,be=(Xe="maxWait"in ge)?O(P(ge.maxWait)||0,me):be,se="trailing"in ge?!!ge.trailing:se),ae.cancel=function(){T!==void 0&&clearTimeout(T),Ee=0,Be=at=it=T=void 0},ae.flush=function(){return T===void 0?Re:$e(F())},ae}},2307:(E,u,o)=>{E=o.nmd(E);var l="__lodash_hash_undefined__",y=9007199254740991,m="[object Arguments]",v="[object Array]",j="[object Boolean]",p="[object Date]",g="[object Error]",_="[object Function]",w="[object Map]",O="[object Number]",x="[object Object]",F="[object Promise]",G="[object RegExp]",P="[object Set]",Y="[object String]",me="[object WeakMap]",ge="[object ArrayBuffer]",Be="[object DataView]",it=/^\[object .+?Constructor\]$/,be=/^(?:0|[1-9]\d*)$/,Re={};Re["[object Float32Array]"]=Re["[object Float64Array]"]=Re["[object Int8Array]"]=Re["[object Int16Array]"]=Re["[object Int32Array]"]=Re["[object Uint8Array]"]=Re["[object Uint8ClampedArray]"]=Re["[object Uint16Array]"]=Re["[object Uint32Array]"]=!0,Re[m]=Re[v]=Re[ge]=Re[j]=Re[Be]=Re[p]=Re[g]=Re[_]=Re[w]=Re[O]=Re[x]=Re[G]=Re[P]=Re[Y]=Re[me]=!1;var T=typeof o.g=="object"&&o.g&&o.g.Object===Object&&o.g,at=typeof self=="object"&&self&&self.Object===Object&&self,Ee=T||at||Function("return this")(),Le=u&&!u.nodeType&&u,Xe=Le&&E&&!E.nodeType&&E,se=Xe&&Xe.exports===Le,Ze=se&&T.process,Fe=function(){try{return Ze&&Ze.binding&&Ze.binding("util")}catch(We){}}(),dt=Fe&&Fe.isTypedArray;function $e(We,ct){for(var Ct=-1,Mt=We==null?0:We.length;++Ct<Mt;)if(ct(We[Ct],Ct,We))return!0;return!1}function ae(We){var ct=-1,Ct=Array(We.size);return We.forEach(function(Mt,vn){Ct[++ct]=[vn,Mt]}),Ct}function f(We){var ct=-1,Ct=Array(We.size);return We.forEach(function(Mt){Ct[++ct]=Mt}),Ct}var D,H,z,ve=Array.prototype,Se=Function.prototype,pe=Object.prototype,he=Ee["__core-js_shared__"],De=Se.toString,R=pe.hasOwnProperty,U=(D=/[^.]+$/.exec(he&&he.keys&&he.keys.IE_PROTO||""))?"Symbol(src)_1."+D:"",Z=pe.toString,_e=RegExp("^"+De.call(R).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ve=se?Ee.Buffer:void 0,Ie=Ee.Symbol,mt=Ee.Uint8Array,jt=pe.propertyIsEnumerable,qe=ve.splice,He=Ie?Ie.toStringTag:void 0,It=Object.getOwnPropertySymbols,Gt=Ve?Ve.isBuffer:void 0,Xt=(H=Object.keys,z=Object,function(We){return H(z(We))}),Ht=Pn(Ee,"DataView"),qt=Pn(Ee,"Map"),Wt=Pn(Ee,"Promise"),_t=Pn(Ee,"Set"),Zt=Pn(Ee,"WeakMap"),q=Pn(Object,"create"),Me=ii(Ht),Ae=ii(qt),k=ii(Wt),Q=ii(_t),ie=ii(Zt),ce=Ie?Ie.prototype:void 0,Pe=ce?ce.valueOf:void 0;function je(We){var ct=-1,Ct=We==null?0:We.length;for(this.clear();++ct<Ct;){var Mt=We[ct];this.set(Mt[0],Mt[1])}}function lt(We){var ct=-1,Ct=We==null?0:We.length;for(this.clear();++ct<Ct;){var Mt=We[ct];this.set(Mt[0],Mt[1])}}function gt(We){var ct=-1,Ct=We==null?0:We.length;for(this.clear();++ct<Ct;){var Mt=We[ct];this.set(Mt[0],Mt[1])}}function pt(We){var ct=-1,Ct=We==null?0:We.length;for(this.__data__=new gt;++ct<Ct;)this.add(We[ct])}function xe(We){var ct=this.__data__=new lt(We);this.size=ct.size}function Dt(We,ct){for(var Ct=We.length;Ct--;)if(Bi(We[Ct][0],ct))return Ct;return-1}function oi(We){return We==null?We===void 0?"[object Undefined]":"[object Null]":He&&He in Object(We)?function(ct){var Ct=R.call(ct,He),Mt=ct[He];try{ct[He]=void 0;var vn=!0}catch(I){}var on=Z.call(ct);return vn&&(Ct?ct[He]=Mt:delete ct[He]),on}(We):function(ct){return Z.call(ct)}(We)}function Kn(We){return ci(We)&&oi(We)==m}function li(We,ct,Ct,Mt,vn){return We===ct||(We==null||ct==null||!ci(We)&&!ci(ct)?We!=We&&ct!=ct:function(on,I,C,ne,re,Oe){var ye=ai(on),st=ai(I),tt=ye?v:jn(on),Pt=st?v:jn(I),et=(tt=tt==m?x:tt)==x,Ce=(Pt=Pt==m?x:Pt)==x,Yt=tt==Pt;if(Yt&&ri(on)){if(!ri(I))return!1;ye=!0,et=!1}if(Yt&&!et)return Oe||(Oe=new xe),ye||Si(on)?hn(on,I,C,ne,re,Oe):function(rn,cn,di,zt,Cn,Tn,un){switch(di){case Be:if(rn.byteLength!=cn.byteLength||rn.byteOffset!=cn.byteOffset)return!1;rn=rn.buffer,cn=cn.buffer;case ge:return!(rn.byteLength!=cn.byteLength||!Tn(new mt(rn),new mt(cn)));case j:case p:case O:return Bi(+rn,+cn);case g:return rn.name==cn.name&&rn.message==cn.message;case G:case Y:return rn==cn+"";case w:var gi=ae;case P:var Rn=1&zt;if(gi||(gi=f),rn.size!=cn.size&&!Rn)return!1;var si=un.get(rn);if(si)return si==cn;zt|=2,un.set(rn,cn);var Mn=hn(gi(rn),gi(cn),zt,Cn,Tn,un);return un.delete(rn),Mn;case"[object Symbol]":if(Pe)return Pe.call(rn)==Pe.call(cn)}return!1}(on,I,tt,C,ne,re,Oe);if(!(1&C)){var ui=et&&R.call(on,"__wrapped__"),$t=Ce&&R.call(I,"__wrapped__");if(ui||$t){var an=ui?on.value():on,Bn=$t?I.value():I;return Oe||(Oe=new xe),re(an,Bn,C,ne,Oe)}}return!!Yt&&(Oe||(Oe=new xe),function(rn,cn,di,zt,Cn,Tn){var un=1&di,gi=At(rn),Rn=gi.length;if(Rn!=At(cn).length&&!un)return!1;for(var si=Rn;si--;){var Mn=gi[si];if(!(un?Mn in cn:R.call(cn,Mn)))return!1}var qn=Tn.get(rn);if(qn&&Tn.get(cn))return qn==cn;var Ui=!0;Tn.set(rn,cn),Tn.set(cn,rn);for(var dr=un;++si<Rn;){var Gi=rn[Mn=gi[si]],Hn=cn[Mn];if(zt)var hr=un?zt(Hn,Gi,Mn,cn,rn,Tn):zt(Gi,Hn,Mn,rn,cn,Tn);if(!(hr===void 0?Gi===Hn||Cn(Gi,Hn,di,zt,Tn):hr)){Ui=!1;break}dr||(dr=Mn=="constructor")}if(Ui&&!dr){var zi=rn.constructor,qi=cn.constructor;zi==qi||!("constructor"in rn)||!("constructor"in cn)||typeof zi=="function"&&zi instanceof zi&&typeof qi=="function"&&qi instanceof qi||(Ui=!1)}return Tn.delete(rn),Tn.delete(cn),Ui}(on,I,C,ne,re,Oe))}(We,ct,Ct,Mt,li,vn))}function hn(We,ct,Ct,Mt,vn,on){var I=1&Ct,C=We.length,ne=ct.length;if(C!=ne&&!(I&&ne>C))return!1;var re=on.get(We);if(re&&on.get(ct))return re==ct;var Oe=-1,ye=!0,st=2&Ct?new pt:void 0;for(on.set(We,ct),on.set(ct,We);++Oe<C;){var tt=We[Oe],Pt=ct[Oe];if(Mt)var et=I?Mt(Pt,tt,Oe,ct,We,on):Mt(tt,Pt,Oe,We,ct,on);if(et!==void 0){if(et)continue;ye=!1;break}if(st){if(!$e(ct,function(Ce,Yt){if(ui=Yt,!st.has(ui)&&(tt===Ce||vn(tt,Ce,Ct,Mt,on)))return st.push(Yt);var ui})){ye=!1;break}}else if(tt!==Pt&&!vn(tt,Pt,Ct,Mt,on)){ye=!1;break}}return on.delete(We),on.delete(ct),ye}function At(We){return function(ct,Ct,Mt){var vn=Ct(ct);return ai(ct)?vn:function(on,I){for(var C=-1,ne=I.length,re=on.length;++C<ne;)on[re+C]=I[C];return on}(vn,Mt(ct))}(We,Ji,yi)}function en(We,ct){var Ct,Mt,vn=We.__data__;return((Mt=typeof(Ct=ct))=="string"||Mt=="number"||Mt=="symbol"||Mt=="boolean"?Ct!=="__proto__":Ct===null)?vn[typeof ct=="string"?"string":"hash"]:vn.map}function Pn(We,ct){var Ct=function(Mt,vn){return Mt==null?void 0:Mt[vn]}(We,ct);return function(Mt){return!(!Yn(Mt)||function(vn){return!!U&&U in vn}(Mt))&&(Li(Mt)?_e:it).test(ii(Mt))}(Ct)?Ct:void 0}je.prototype.clear=function(){this.__data__=q?q(null):{},this.size=0},je.prototype.delete=function(We){var ct=this.has(We)&&delete this.__data__[We];return this.size-=ct?1:0,ct},je.prototype.get=function(We){var ct=this.__data__;if(q){var Ct=ct[We];return Ct===l?void 0:Ct}return R.call(ct,We)?ct[We]:void 0},je.prototype.has=function(We){var ct=this.__data__;return q?ct[We]!==void 0:R.call(ct,We)},je.prototype.set=function(We,ct){var Ct=this.__data__;return this.size+=this.has(We)?0:1,Ct[We]=q&&ct===void 0?l:ct,this},lt.prototype.clear=function(){this.__data__=[],this.size=0},lt.prototype.delete=function(We){var ct=this.__data__,Ct=Dt(ct,We);return!(Ct<0||(Ct==ct.length-1?ct.pop():qe.call(ct,Ct,1),--this.size,0))},lt.prototype.get=function(We){var ct=this.__data__,Ct=Dt(ct,We);return Ct<0?void 0:ct[Ct][1]},lt.prototype.has=function(We){return Dt(this.__data__,We)>-1},lt.prototype.set=function(We,ct){var Ct=this.__data__,Mt=Dt(Ct,We);return Mt<0?(++this.size,Ct.push([We,ct])):Ct[Mt][1]=ct,this},gt.prototype.clear=function(){this.size=0,this.__data__={hash:new je,map:new(qt||lt),string:new je}},gt.prototype.delete=function(We){var ct=en(this,We).delete(We);return this.size-=ct?1:0,ct},gt.prototype.get=function(We){return en(this,We).get(We)},gt.prototype.has=function(We){return en(this,We).has(We)},gt.prototype.set=function(We,ct){var Ct=en(this,We),Mt=Ct.size;return Ct.set(We,ct),this.size+=Ct.size==Mt?0:1,this},pt.prototype.add=pt.prototype.push=function(We){return this.__data__.set(We,l),this},pt.prototype.has=function(We){return this.__data__.has(We)},xe.prototype.clear=function(){this.__data__=new lt,this.size=0},xe.prototype.delete=function(We){var ct=this.__data__,Ct=ct.delete(We);return this.size=ct.size,Ct},xe.prototype.get=function(We){return this.__data__.get(We)},xe.prototype.has=function(We){return this.__data__.has(We)},xe.prototype.set=function(We,ct){var Ct=this.__data__;if(Ct instanceof lt){var Mt=Ct.__data__;if(!qt||Mt.length<199)return Mt.push([We,ct]),this.size=++Ct.size,this;Ct=this.__data__=new gt(Mt)}return Ct.set(We,ct),this.size=Ct.size,this};var yi=It?function(We){return We==null?[]:(We=Object(We),function(ct,Ct){for(var Mt=-1,vn=ct==null?0:ct.length,on=0,I=[];++Mt<vn;){var C=ct[Mt];ne=C,jt.call(We,ne)&&(I[on++]=C)}var ne;return I}(It(We)))}:function(){return[]},jn=oi;function Ei(We,ct){return!!(ct=ct==null?y:ct)&&(typeof We=="number"||be.test(We))&&We>-1&&We%1==0&&We<ct}function ii(We){if(We!=null){try{return De.call(We)}catch(ct){}try{return We+""}catch(ct){}}return""}function Bi(We,ct){return We===ct||We!=We&&ct!=ct}(Ht&&jn(new Ht(new ArrayBuffer(1)))!=Be||qt&&jn(new qt)!=w||Wt&&jn(Wt.resolve())!=F||_t&&jn(new _t)!=P||Zt&&jn(new Zt)!=me)&&(jn=function(We){var ct=oi(We),Ct=ct==x?We.constructor:void 0,Mt=Ct?ii(Ct):"";if(Mt)switch(Mt){case Me:return Be;case Ae:return w;case k:return F;case Q:return P;case ie:return me}return ct});var Di=Kn(function(){return arguments}())?Kn:function(We){return ci(We)&&R.call(We,"callee")&&!jt.call(We,"callee")},ai=Array.isArray,ri=Gt||function(){return!1};function Li(We){if(!Yn(We))return!1;var ct=oi(We);return ct==_||ct=="[object GeneratorFunction]"||ct=="[object AsyncFunction]"||ct=="[object Proxy]"}function ti(We){return typeof We=="number"&&We>-1&&We%1==0&&We<=y}function Yn(We){var ct=typeof We;return We!=null&&(ct=="object"||ct=="function")}function ci(We){return We!=null&&typeof We=="object"}var Si=dt?function(We){return function(ct){return We(ct)}}(dt):function(We){return ci(We)&&ti(We.length)&&!!Re[oi(We)]};function Ji(We){return(ct=We)!=null&&ti(ct.length)&&!Li(ct)?function(Ct,Mt){var vn=ai(Ct),on=!vn&&Di(Ct),I=!vn&&!on&&ri(Ct),C=!vn&&!on&&!I&&Si(Ct),ne=vn||on||I||C,re=ne?function(st,tt){for(var Pt=-1,et=Array(st);++Pt<st;)et[Pt]=tt(Pt);return et}(Ct.length,String):[],Oe=re.length;for(var ye in Ct)!R.call(Ct,ye)||ne&&(ye=="length"||I&&(ye=="offset"||ye=="parent")||C&&(ye=="buffer"||ye=="byteLength"||ye=="byteOffset")||Ei(ye,Oe))||re.push(ye);return re}(We):function(Ct){if(vn=(Mt=Ct)&&Mt.constructor,Mt!==(typeof vn=="function"&&vn.prototype||pe))return Xt(Ct);var Mt,vn,on=[];for(var I in Object(Ct))R.call(Ct,I)&&I!="constructor"&&on.push(I);return on}(We);var ct}E.exports=function(We,ct){return li(We,ct)}},6692:E=>{var u=E.exports={v:[{name:"version",reg:/^(\d*)$/}],o:[{name:"origin",reg:/^(\S*) (\d*) (\d*) (\S*) IP(\d) (\S*)/,names:["username","sessionId","sessionVersion","netType","ipVer","address"],format:"%s %s %d %s IP%d %s"}],s:[{name:"name"}],i:[{name:"description"}],u:[{name:"uri"}],e:[{name:"email"}],p:[{name:"phone"}],z:[{name:"timezones"}],r:[{name:"repeats"}],t:[{name:"timing",reg:/^(\d*) (\d*)/,names:["start","stop"],format:"%d %d"}],c:[{name:"connection",reg:/^IN IP(\d) (\S*)/,names:["version","ip"],format:"IN IP%d %s"}],b:[{push:"bandwidth",reg:/^(TIAS|AS|CT|RR|RS):(\d*)/,names:["type","limit"],format:"%s:%s"}],m:[{reg:/^(\w*) (\d*) ([\w\/]*)(?: (.*))?/,names:["type","port","protocol","payloads"],format:"%s %d %s %s"}],a:[{push:"rtp",reg:/^rtpmap:(\d*) ([\w\-\.]*)(?:\s*\/(\d*)(?:\s*\/(\S*))?)?/,names:["payload","codec","rate","encoding"],format:function(o){return o.encoding?"rtpmap:%d %s/%s/%s":o.rate?"rtpmap:%d %s/%s":"rtpmap:%d %s"}},{push:"fmtp",reg:/^fmtp:(\d*) ([\S| ]*)/,names:["payload","config"],format:"fmtp:%d %s"},{name:"control",reg:/^control:(.*)/,format:"control:%s"},{name:"rtcp",reg:/^rtcp:(\d*)(?: (\S*) IP(\d) (\S*))?/,names:["port","netType","ipVer","address"],format:function(o){return o.address!=null?"rtcp:%d %s IP%d %s":"rtcp:%d"}},{push:"rtcpFbTrrInt",reg:/^rtcp-fb:(\*|\d*) trr-int (\d*)/,names:["payload","value"],format:"rtcp-fb:%d trr-int %d"},{push:"rtcpFb",reg:/^rtcp-fb:(\*|\d*) ([\w-_]*)(?: ([\w-_]*))?/,names:["payload","type","subtype"],format:function(o){return o.subtype!=null?"rtcp-fb:%s %s %s":"rtcp-fb:%s %s"}},{push:"ext",reg:/^extmap:(\d+)(?:\/(\w+))? (\S*)(?: (\S*))?/,names:["value","direction","uri","config"],format:function(o){return"extmap:%d"+(o.direction?"/%s":"%v")+" %s"+(o.config?" %s":"")}},{push:"crypto",reg:/^crypto:(\d*) ([\w_]*) (\S*)(?: (\S*))?/,names:["id","suite","config","sessionConfig"],format:function(o){return o.sessionConfig!=null?"crypto:%d %s %s %s":"crypto:%d %s %s"}},{name:"setup",reg:/^setup:(\w*)/,format:"setup:%s"},{name:"mid",reg:/^mid:([^\s]*)/,format:"mid:%s"},{name:"msid",reg:/^msid:(.*)/,format:"msid:%s"},{name:"ptime",reg:/^ptime:(\d*)/,format:"ptime:%d"},{name:"maxptime",reg:/^maxptime:(\d*)/,format:"maxptime:%d"},{name:"direction",reg:/^(sendrecv|recvonly|sendonly|inactive)/},{name:"icelite",reg:/^(ice-lite)/},{name:"iceUfrag",reg:/^ice-ufrag:(\S*)/,format:"ice-ufrag:%s"},{name:"icePwd",reg:/^ice-pwd:(\S*)/,format:"ice-pwd:%s"},{name:"fingerprint",reg:/^fingerprint:(\S*) (\S*)/,names:["type","hash"],format:"fingerprint:%s %s"},{push:"candidates",reg:/^candidate:(\S*) (\d*) (\S*) (\d*) (\S*) (\d*) typ (\S*)(?: raddr (\S*) rport (\d*))?(?: tcptype (\S*))?(?: generation (\d*))?(?: network-id (\d*))?(?: network-cost (\d*))?/,names:["foundation","component","transport","priority","ip","port","type","raddr","rport","tcptype","generation","network-id","network-cost"],format:function(o){var l="candidate:%s %d %s %d %s %d typ %s";return l+=o.raddr!=null?" raddr %s rport %d":"%v%v",l+=o.tcptype!=null?" tcptype %s":"%v",o.generation!=null&&(l+=" generation %d"),(l+=o["network-id"]!=null?" network-id %d":"%v")+(o["network-cost"]!=null?" network-cost %d":"%v")}},{name:"endOfCandidates",reg:/^(end-of-candidates)/},{name:"remoteCandidates",reg:/^remote-candidates:(.*)/,format:"remote-candidates:%s"},{name:"iceOptions",reg:/^ice-options:(\S*)/,format:"ice-options:%s"},{push:"ssrcs",reg:/^ssrc:(\d*) ([\w_]*)(?::(.*))?/,names:["id","attribute","value"],format:function(o){var l="ssrc:%d";return o.attribute!=null&&(l+=" %s",o.value!=null&&(l+=":%s")),l}},{push:"ssrcGroups",reg:/^ssrc-group:([\x21\x23\x24\x25\x26\x27\x2A\x2B\x2D\x2E\w]*) (.*)/,names:["semantics","ssrcs"],format:"ssrc-group:%s %s"},{name:"msidSemantic",reg:/^msid-semantic:\s?(\w*) (\S*)/,names:["semantic","token"],format:"msid-semantic: %s %s"},{push:"groups",reg:/^group:(\w*) (.*)/,names:["type","mids"],format:"group:%s %s"},{name:"rtcpMux",reg:/^(rtcp-mux)/},{name:"rtcpRsize",reg:/^(rtcp-rsize)/},{name:"sctpmap",reg:/^sctpmap:([\w_\/]*) (\S*)(?: (\S*))?/,names:["sctpmapNumber","app","maxMessageSize"],format:function(o){return o.maxMessageSize!=null?"sctpmap:%s %s %s":"sctpmap:%s %s"}},{name:"xGoogleFlag",reg:/^x-google-flag:([^\s]*)/,format:"x-google-flag:%s"},{push:"rids",reg:/^rid:([\d\w]+) (\w+)(?: ([\S| ]*))?/,names:["id","direction","params"],format:function(o){return o.params?"rid:%s %s %s":"rid:%s %s"}},{push:"imageattrs",reg:new RegExp("^imageattr:(\\d+|\\*)[\\s\\t]+(send|recv)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*)(?:[\\s\\t]+(recv|send)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*))?"),names:["pt","dir1","attrs1","dir2","attrs2"],format:function(o){return"imageattr:%s %s %s"+(o.dir2?" %s %s":"")}},{name:"simulcast",reg:new RegExp("^simulcast:(send|recv) ([a-zA-Z0-9\\-_~;,]+)(?:\\s?(send|recv) ([a-zA-Z0-9\\-_~;,]+))?$"),names:["dir1","list1","dir2","list2"],format:function(o){return"simulcast:%s %s"+(o.dir2?" %s %s":"")}},{name:"simulcast_03",reg:/^simulcast:[\s\t]+([\S+\s\t]+)$/,names:["value"],format:"simulcast: %s"},{name:"framerate",reg:/^framerate:(\d+(?:$|\.\d+))/,format:"framerate:%s"},{push:"invalid",names:["value"]}]};Object.keys(u).forEach(function(o){u[o].forEach(function(l){l.reg||(l.reg=/(.*)/),l.format||(l.format="%s")})})},766:(E,u,o)=>{var l=o(962),y=o(5776);u.write=y,u.parse=l.parse,u.parseFmtpConfig=l.parseFmtpConfig,u.parseParams=l.parseParams,u.parsePayloads=l.parsePayloads,u.parseRemoteCandidates=l.parseRemoteCandidates,u.parseImageAttributes=l.parseImageAttributes,u.parseSimulcastStreamList=l.parseSimulcastStreamList},962:(E,u,o)=>{var l=function(p){return String(Number(p))===p?Number(p):p},y=function(p,g,_){var w=p.name&&p.names;p.push&&!g[p.push]?g[p.push]=[]:w&&!g[p.name]&&(g[p.name]={});var O=p.push?{}:w?g[p.name]:g;(function(x,F,G,P){if(P&&!G)F[P]=l(x[1]);else for(var Y=0;Y<G.length;Y+=1)x[Y+1]!=null&&(F[G[Y]]=l(x[Y+1]))})(_.match(p.reg),O,p.names,p.name),p.push&&g[p.push].push(O)},m=o(6692),v=RegExp.prototype.test.bind(/^([a-z])=(.*)/);u.parse=function(p){var g={},_=[],w=g;return p.split(/(\r\n|\r|\n)/).filter(v).forEach(function(O){var x=O[0],F=O.slice(2);x==="m"&&(_.push({rtp:[],fmtp:[]}),w=_[_.length-1]);for(var G=0;G<(m[x]||[]).length;G+=1){var P=m[x][G];if(P.reg.test(F))return y(P,w,F)}}),g.media=_,g};var j=function(p,g){var _=g.split(/=(.+)/,2);return _.length===2&&(p[_[0]]=l(_[1])),p};u.parseParams=function(p){return p.split(/\;\s?/).reduce(j,{})},u.parseFmtpConfig=u.parseParams,u.parsePayloads=function(p){return p.split(" ").map(Number)},u.parseRemoteCandidates=function(p){for(var g=[],_=p.split(" ").map(l),w=0;w<_.length;w+=3)g.push({component:_[w],ip:_[w+1],port:_[w+2]});return g},u.parseImageAttributes=function(p){return p.split(" ").map(function(g){return g.substring(1,g.length-1).split(",").reduce(j,{})})},u.parseSimulcastStreamList=function(p){return p.split(";").map(function(g){return g.split(",").map(function(_){var w,O=!1;return _[0]!=="~"?w=l(_):(w=l(_.substring(1,_.length)),O=!0),{scid:w,paused:O}})})}},5776:(E,u,o)=>{var l=o(6692),y=/%[sdv%]/g,m=function(g){var _=1,w=arguments,O=w.length;return g.replace(y,function(x){if(_>=O)return x;var F=w[_];switch(_+=1,x){case"%%":return"%";case"%s":return String(F);case"%d":return Number(F);case"%v":return""}})},v=function(g,_,w){var O=[g+"="+(_.format instanceof Function?_.format(_.push?w:w[_.name]):_.format)];if(_.names)for(var x=0;x<_.names.length;x+=1){var F=_.names[x];_.name?O.push(w[_.name][F]):O.push(w[_.names[x]])}else O.push(w[_.name]);return m.apply(null,O)},j=["v","o","s","i","u","e","p","c","b","t","r","z","a"],p=["i","c","b","a"];E.exports=function(g,_){_=_||{},g.version==null&&(g.version=0),g.name==null&&(g.name=" "),g.media.forEach(function(F){F.payloads==null&&(F.payloads="")});var w=_.outerOrder||j,O=_.innerOrder||p,x=[];return w.forEach(function(F){l[F].forEach(function(G){G.name in g&&g[G.name]!=null?x.push(v(F,G,g)):G.push in g&&g[G.push]!=null&&g[G.push].forEach(function(P){x.push(v(F,G,P))})})}),g.media.forEach(function(F){x.push(v("m",l.m[0],F)),O.forEach(function(G){l[G].forEach(function(P){P.name in F&&F[P.name]!=null?x.push(v(G,P,F)):P.push in F&&F[P.push]!=null&&F[P.push].forEach(function(Y){x.push(v(G,P,Y))})})})}),x.join(`\r
11
11
  `)+`\r
12
12
  `}},7539:E=>{"use strict";const u={generateIdentifier:function(){return Math.random().toString(36).substr(2,10)}};u.localCName=u.generateIdentifier(),u.splitLines=function(o){return o.trim().split(`
13
13
  `).map(l=>l.trim())},u.splitSections=function(o){return o.split(`
@@ -40,7 +40,7 @@ a=ice-pwd:`+o.password+`\r
40
40
  o=`+(y||"thisisadapterortc")+" "+m+" "+v+` IN IP4 127.0.0.1\r
41
41
  s=-\r
42
42
  t=0 0\r
43
- `},u.getDirection=function(o,l){const y=u.splitLines(o);for(let m=0;m<y.length;m++)switch(y[m]){case"a=sendrecv":case"a=sendonly":case"a=recvonly":case"a=inactive":return y[m].substr(2)}return l?u.getDirection(l):"sendrecv"},u.getKind=function(o){return u.splitLines(o)[0].split(" ")[0].substr(2)},u.isRejected=function(o){return o.split(" ",2)[1]==="0"},u.parseMLine=function(o){const l=u.splitLines(o)[0].substr(2).split(" ");return{kind:l[0],port:parseInt(l[1],10),protocol:l[2],fmt:l.slice(3).join(" ")}},u.parseOLine=function(o){const l=u.matchPrefix(o,"o=")[0].substr(2).split(" ");return{username:l[0],sessionId:l[1],sessionVersion:parseInt(l[2],10),netType:l[3],addressType:l[4],address:l[5]}},u.isValidSDP=function(o){if(typeof o!="string"||o.length===0)return!1;const l=u.splitLines(o);for(let y=0;y<l.length;y++)if(l[y].length<2||l[y].charAt(1)!=="=")return!1;return!0},E.exports=u},6141:(E,u,o)=>{"use strict";o.d(u,{default:()=>Zd});var l={};o.r(l),o.d(l,{AUTHENTICATION_REQUIRED:()=>me,CHAT_ERROR:()=>ge,CONFERENCE_ACCESS_DENIED:()=>Le,CONFERENCE_DESTROYED:()=>it,CONFERENCE_MAX_USERS:()=>be,CONFERENCE_RESTARTED:()=>T,CONNECTION_ERROR:()=>Re,FOCUS_DISCONNECTED:()=>Xe,FOCUS_LEFT:()=>se,GRACEFUL_SHUTDOWN:()=>Ze,ICE_FAILED:()=>Fe,INCOMPATIBLE_SERVER_VERSIONS:()=>dt,MEMBERS_ONLY_ERROR:()=>Ee,NOT_ALLOWED_ERROR:()=>at,OFFER_ANSWER_FAILED:()=>$e,PASSWORD_NOT_SUPPORTED:()=>ae,PASSWORD_REQUIRED:()=>f,RESERVATION_ERROR:()=>D,SETTINGS_ERROR:()=>Be,VIDEOBRIDGE_NOT_AVAILABLE:()=>H});var y={};o.r(y),o.d(y,{AUDIO_INPUT_STATE_CHANGE:()=>z,AUDIO_UNMUTE_PERMISSIONS_CHANGED:()=>ve,AUTH_STATUS_CHANGED:()=>Se,AV_MODERATION_APPROVED:()=>vn,AV_MODERATION_CHANGED:()=>I,AV_MODERATION_PARTICIPANT_APPROVED:()=>b,AV_MODERATION_PARTICIPANT_REJECTED:()=>ne,AV_MODERATION_REJECTED:()=>on,BEFORE_STATISTICS_DISPOSED:()=>pe,BOT_TYPE_CHANGED:()=>We,BREAKOUT_ROOMS_MOVE_TO_ROOM:()=>Oe,BREAKOUT_ROOMS_UPDATED:()=>ye,CONFERENCE_CREATED_TIMESTAMP:()=>It,CONFERENCE_ERROR:()=>he,CONFERENCE_FAILED:()=>De,CONFERENCE_JOINED:()=>U,CONFERENCE_JOIN_IN_PROGRESS:()=>R,CONFERENCE_LEFT:()=>Z,CONFERENCE_UNIQUE_ID_SET:()=>_e,CONNECTION_ESTABLISHED:()=>Ve,CONNECTION_INTERRUPTED:()=>Ie,CONNECTION_RESTORED:()=>mt,DATA_CHANNEL_OPENED:()=>jt,DISPLAY_NAME_CHANGED:()=>qe,DOMINANT_SPEAKER_CHANGED:()=>He,DTMF_SUPPORT_CHANGED:()=>Gt,ENDPOINT_MESSAGE_RECEIVED:()=>Xt,ENDPOINT_STATS_RECEIVED:()=>Ht,FACIAL_EXPRESSION_ADDED:()=>re,JVB121_STATUS:()=>qt,KICKED:()=>Wt,LAST_N_ENDPOINTS_CHANGED:()=>Zt,LOBBY_USER_JOINED:()=>ct,LOBBY_USER_LEFT:()=>Mt,LOBBY_USER_UPDATED:()=>Ct,LOCK_STATE_CHANGED:()=>q,MEMBERS_ONLY_CHANGED:()=>Q,MESSAGE_RECEIVED:()=>ie,NOISY_MIC:()=>Pe,NON_PARTICIPANT_MESSAGE_RECEIVED:()=>je,NO_AUDIO_INPUT:()=>ce,P2P_STATUS:()=>Dt,PARTCIPANT_FEATURES_CHANGED:()=>pt,PARTICIPANT_CONN_STATUS_CHANGED:()=>gt,PARTICIPANT_KICKED:()=>_t,PARTICIPANT_PROPERTY_CHANGED:()=>xe,PHONE_NUMBER_CHANGED:()=>oi,PRIVATE_MESSAGE_RECEIVED:()=>lt,PROPERTIES_CHANGED:()=>Kn,RECORDER_STATE_CHANGED:()=>li,SERVER_REGION_CHANGED:()=>Me,STARTED_MUTED:()=>Pn,START_MUTED_POLICY_CHANGED:()=>en,SUBJECT_CHANGED:()=>yi,SUSPEND_DETECTED:()=>jn,TALK_WHILE_MUTED:()=>Ei,TRACK_ADDED:()=>ii,TRACK_AUDIO_LEVEL_CHANGED:()=>Bi,TRACK_MUTE_CHANGED:()=>Di,TRACK_REMOVED:()=>ai,TRACK_UNMUTE_REJECTED:()=>ri,TRANSCRIPTION_STATUS_CHANGED:()=>Li,USER_JOINED:()=>ti,USER_LEFT:()=>Yn,USER_ROLE_CHANGED:()=>ci,USER_STATUS_CHANGED:()=>Si,VIDEO_SIP_GW_AVAILABILITY_CHANGED:()=>hn,VIDEO_SIP_GW_SESSION_STATE_CHANGED:()=>At,VIDEO_UNMUTE_PERMISSIONS_CHANGED:()=>Ji,_MEDIA_SESSION_ACTIVE_CHANGED:()=>k,_MEDIA_SESSION_STARTED:()=>Ae});var m={};o.r(m),o.d(m,{CONSTRAINT_FAILED:()=>ui,ELECTRON_DESKTOP_PICKER_ERROR:()=>$t,ELECTRON_DESKTOP_PICKER_NOT_FOUND:()=>an,GENERAL:()=>Bn,NOT_FOUND:()=>rn,PERMISSION_DENIED:()=>cn,SCREENSHARING_GENERIC_ERROR:()=>di,SCREENSHARING_USER_CANCELED:()=>zt,TIMEOUT:()=>Cn,TRACK_IS_DISPOSED:()=>Tn,TRACK_NO_STREAM_FOUND:()=>un,UNSUPPORTED_RESOLUTION:()=>gi});var v={};o.r(v),o.d(v,{AUDIO:()=>ot,PRESENTER:()=>pn,VIDEO:()=>St});var j={};o.r(j),o.d(j,{LOCAL_TRACK_STOPPED:()=>cs,NO_AUDIO_INPUT:()=>Zi,NO_DATA_FROM_SOURCE:()=>Xi,TRACK_AUDIO_LEVEL_CHANGED:()=>wr,TRACK_AUDIO_OUTPUT_CHANGED:()=>Jr,TRACK_MUTE_CHANGED:()=>br,TRACK_VIDEOTYPE_CHANGED:()=>Zr});var p={};o.r(p),o.d(p,{CONNECTION_DISCONNECTED:()=>Qn,CONNECTION_ESTABLISHED:()=>Gr,CONNECTION_FAILED:()=>vi,DISPLAY_NAME_REQUIRED:()=>ls,WRONG_STATE:()=>er});var g={};o.r(g),o.d(g,{CONNECTION_DROPPED_ERROR:()=>Os,OTHER_ERROR:()=>us,PASSWORD_REQUIRED:()=>Ds,SERVER_ERROR:()=>Ms});var _={};o.r(_),o.d(_,{OFF:()=>Ha,ON:()=>Kl});var w={};o.r(w),o.d(w,{LOCAL_STATS_UPDATED:()=>eo,REMOTE_STATS_UPDATED:()=>ws});var O={};o.r(O),o.d(O,{AUDIO_INPUT_STATE_CHANGE:()=>_a,DETECTOR_STATE_CHANGE:()=>To,NO_AUDIO_INPUT:()=>Aa,VAD_NOISY_DEVICE:()=>Ea,VAD_REPORT_PUBLISHED:()=>Ad,VAD_SCORE_PUBLISHED:()=>Ro,VAD_TALK_WHILE_MUTED:()=>Sa});var x={};o.r(x),o.d(x,{E2E_RTT_CHANGED:()=>ll});var F={};o.r(F),o.d(F,{ERROR_NO_CONNECTION:()=>Rl,ERROR_SESSION_EXISTS:()=>wl,STATE_FAILED:()=>no,STATE_OFF:()=>to,STATE_ON:()=>Ia,STATE_PENDING:()=>Pa,STATE_RETRYING:()=>Oa,STATUS_AVAILABLE:()=>Hd,STATUS_BUSY:()=>Gd,STATUS_UNDEFINED:()=>Jd});var G={};o.r(G),o.d(G,{DEVICE_LIST_CHANGED:()=>Pl,PERMISSIONS_CHANGED:()=>Ol,PERMISSION_PROMPT_IS_SHOWN:()=>Dl,SLOW_GET_USER_MEDIA:()=>Ml});var P=o(9077),Y=o.n(P);const me="conference.authenticationRequired",ge="conference.chatError",Be="conference.settingsError",it="conference.destroyed",be="conference.max_users",Re="conference.connectionError",T="conference.restarted",at="conference.connectionError.notAllowed",Ee="conference.connectionError.membersOnly",Le="conference.connectionError.accessDenied",Xe="conference.focusDisconnected",se="conference.focusLeft",Ze="conference.gracefulShutdown",Fe="conference.iceFailed",dt="conference.incompatible_server_versions",$e="conference.offerAnswerFailed",ae="conference.passwordNotSupported",f="conference.passwordRequired",D="conference.reservationError",H="conference.videobridgeNotAvailable",z="conference.audio_input_state_changed",ve="conference.audio_unmute_permissions_changed",Se="conference.auth_status_changed",pe="conference.beforeStatisticsDisposed",he="conference.error",De="conference.failed",R="conference.join_in_progress",U="conference.joined",Z="conference.left",_e="conference.unique_id_set",Ve="conference.connectionEstablished",Ie="conference.connectionInterrupted",mt="conference.connectionRestored",jt="conference.dataChannelOpened",qe="conference.displayNameChanged",He="conference.dominantSpeaker",It="conference.createdTimestamp",Gt="conference.dtmfSupportChanged",Xt="conference.endpoint_message_received",Ht="conference.endpoint_stats_received",qt="conference.jvb121Status",Wt="conference.kicked",_t="conference.participant_kicked",Zt="conference.lastNEndpointsChanged",q="conference.lock_state_changed",Me="conference.server_region_changed",Ae="conference.media_session.started",k="conference.media_session.active_changed",Q="conference.membersOnlyChanged",ie="conference.messageReceived",ce="conference.no_audio_input",Pe="conference.noisy_mic",je="conference.non_participant_message_received",lt="conference.privateMessageReceived",gt="conference.participant_conn_status_changed",pt="conference.partcipant_features_changed",xe="conference.participant_property_changed",Dt="conference.p2pStatus",oi="conference.phoneNumberChanged",Kn="conference.propertiesChanged",li="conference.recorderStateChanged",hn="conference.videoSIPGWAvailabilityChanged",At="conference.videoSIPGWSessionStateChanged",en="conference.start_muted_policy_changed",Pn="conference.started_muted",yi="conference.subjectChanged",jn="conference.suspendDetected",Ei="conference.talk_while_muted",ii="conference.trackAdded",Bi="conference.audioLevelsChanged",Di="conference.trackMuteChanged",ai="conference.trackRemoved",ri="conference.trackUnmuteRejected",Li="conference.transcriptionStatusChanged",ti="conference.userJoined",Yn="conference.userLeft",ci="conference.roleChanged",Si="conference.statusChanged",Ji="conference.video_unmute_permissions_changed",We="conference.bot_type_changed",ct="conference.lobby.userJoined",Ct="conference.lobby.userUpdated",Mt="conference.lobby.userLeft",vn="conference.av_moderation.approved",on="conference.av_moderation.rejected",I="conference.av_moderation.changed",b="conference.av_moderation.participant.approved",ne="conference.av_moderation.participant.rejected",re="conference.facial_expression.added",Oe="conference.breakout-rooms.move-to-room",ye="conference.breakout-rooms.updated";var st=o(7187),tt=o.n(st),Pt=o(2307),et=o.n(Pt),Ce=o(9755);const Yt="https://api.callstats.io/static/callstats-ws.min.js",ui="gum.constraint_failed",$t="gum.electron_desktop_picker_error",an="gum.electron_desktop_picker_not_found",Bn="gum.general",rn="gum.not_found",cn="gum.permission_denied",di="gum.screensharing_generic_error",zt="gum.screensharing_user_canceled",Cn="gum.timeout",Tn="track.track_is_disposed",un="track.no_stream_found",gi="gum.unsupported_resolution",Rn={};function si(i,e,n){if(typeof i=="object"&&i.name!==void 0)switch(this.gum={error:i,constraints:e,devices:n&&Array.isArray(n)?n.slice(0):void 0},i.name){case"NotAllowedError":case"PermissionDeniedError":case"SecurityError":this.name=cn,this.message=Rn[this.name]+(this.gum.devices||[]).join(", ");break;case"DevicesNotFoundError":case"NotFoundError":this.name=rn,this.message=Rn[this.name]+(this.gum.devices||[]).join(", ");break;case"ConstraintNotSatisfiedError":case"OverconstrainedError":{const r=i.constraintName||i.constraint;e&&e.video&&(!n||n.indexOf("video")>-1)&&(r==="minWidth"||r==="maxWidth"||r==="minHeight"||r==="maxHeight"||r==="width"||r==="height"||r==="deviceId")?(this.name=gi,this.message=Rn[this.name]+function(s,c){if(c&&c.video&&c.video.mandatory)switch(s){case"width":return c.video.mandatory.minWidth;case"height":return c.video.mandatory.minHeight;default:return c.video.mandatory[s]||""}return""}(r,e)):(this.name=ui,this.message=Rn[this.name]+i.constraintName);break}default:this.name=Bn,this.message=i.message||Rn[this.name]}else{if(typeof i!="string")throw new Error("Invalid arguments");Rn[i]?(this.name=i,this.message=e||Rn[i]):this.message=i}this.stack=i.stack||new Error().stack}Rn[gi]="Video resolution is not supported: ",Rn[zt]="User canceled screen sharing prompt",Rn[di]="Unknown error from screensharing",Rn[$t]="Unkown error from desktop picker",Rn[an]="Failed to detect desktop picker",Rn[Bn]="Generic getUserMedia error",Rn[cn]="User denied permission to use device(s): ",Rn[rn]="Requested device(s) was/were not found: ",Rn[ui]="Constraint could not be satisfied: ",Rn[Cn]="Could not start media source. Timeout occured!",Rn[Tn]="Track has been already disposed",Rn[un]="Track does not have an associated Media Stream",si.prototype=Object.create(Error.prototype),si.prototype.constructor=si;const Mn=si,qn="operational",Ui="page",dr="track",Gi="connection.disconnected",Hn="ice.duration";function hr(i,e){return{action:i,attributes:e,source:"conference",type:qn}}const zi=function(i,e){const n="connection.stage.reached";return{action:n,actionSubject:i,attributes:e,source:n,type:qn}},qi=function(i){return{type:qn,source:"get.user.media",action:i,attributes:arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}}},or=function(i){return{type:qn,action:i,source:"jingle",attributes:arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}}},Ar=function(i){return{type:qn,action:i,source:"p2p",attributes:arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}}},Er=function(i){return{type:qn,action:"remotely.muted",mediaType:i}},Lr=function(i){return{type:qn,action:"rtp.stats",attributes:i}},xr="statistics.audioLevel",kr="statistics.before_disposed",Br="statistics.byte_sent_stats",zr="statistics.connectionstats",hi="statistics.long_tasks_stats";o(8495);var Yr=o(1206);const _n="chrome",Ur="opera",ar="firefox",Xr="iexplorer",Yi="safari",Fr="nwjs",jr="electron",pr="react-native",Vr="unknown",cr={Chrome:_n,Chromium:_n,Opera:Ur,Firefox:ar,"Internet Explorer":Xr,Safari:Yi};function Hr(){const i=navigator.userAgent;if(i.match(/Electron/)){const e=i.match(/Electron(?:\s|\/)([\d.]+)/)[1];return{name:jr,version:e}}if(window.JitsiMeetElectron!==void 0)return{name:jr,version:void 0}}function Is(){const i=navigator.userAgent;if(i.match(/JitsiMeetNW/)){const e=i.match(/JitsiMeetNW\/([\d.]+)/)[1];return{name:Fr,version:e}}}function as(){const i=navigator.userAgent.match(/\b(react[ \t_-]*native)(?:\/(\S+))?/i);let e;if(i||navigator.product==="ReactNative"){let n;return i&&i.length>2&&(n=i[1],e=i[2]),n||(n="react-native"),e||(e="unknown"),{name:pr,version:e}}}class Ps extends st{constructor(){var e,n;super(...arguments),n={},(e="_storage")in this?Object.defineProperty(this,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):this[e]=n}clear(){this._storage={}}get length(){return Object.keys(this._storage).length}getItem(e){return this._storage[e]}setItem(e,n){this._storage[e]=n}removeItem(e){delete this._storage[e]}key(e){const n=Object.keys(this._storage);if(!(n.length<=e))return n[e]}serialize(){return JSON.stringify(this._storage)}}const a=new class extends st{constructor(){super();try{this._storage=window.localStorage,this._localStorageDisabled=!1}catch(i){}this._storage||(this._storage=new Ps,this._localStorageDisabled=!0)}isLocalStorageDisabled(){return this._localStorageDisabled}clear(){this._storage.clear(),this.emit("changed")}get length(){return this._storage.length}getItem(i){return this._storage.getItem(i)}setItem(i,e){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2];this._storage.setItem(i,e),n||this.emit("changed")}removeItem(i){this._storage.removeItem(i),this.emit("changed")}key(i){return this._storage.key(i)}serialize(){if(this.isLocalStorageDisabled())return this._storage.serialize();const i=this._storage.length,e={};for(let n=0;n<i;n++){const r=this._storage.key(n);e[r]=this._storage.getItem(r)}return JSON.stringify(e)}},d=(0,P.getLogger)("modules/browser/BrowserCapabilities.js"),A=new class extends class{constructor(i){let e,n;if(this._bowser=Yr.getParser(navigator.userAgent),i===void 0){const r=function(s){let c;const h=[as,Hr,Is];for(let L=0;L<h.length;L++)if(c=h[L](),c)return c;const S=s.getBrowserName();return S in cr?{name:cr[S],version:s.getBrowserVersion()}:(c=function(){const L=navigator.userAgent,N={name:Vr,version:void 0};if(L.match(/Chrome/)&&!L.match(/Edge/))if(L.match(/Edg(A?)/)){const te=L.match(/Chrome\/([\d.]+)/)[1];Number.parseInt(te,10)>72&&(N.name=_n,N.version=te)}else N.name=_n,N.version=L.match(/Chrome\/([\d.]+)/)[1];return N}(),c||{name:Vr,version:void 0})}(this._bowser);e=r.name,n=r.version}else i.name in cr?(e=cr[i.name],n=i.version):(e=Vr,n=void 0);this._name=e,this._version=n}getName(){return this._name}isChrome(){return this._name===_n}isOpera(){return this._name===Ur}isFirefox(){return this._name===ar}isIExplorer(){return this._name===Xr}isSafari(){return this._name===Yi}isNWJS(){return this._name===Fr}isElectron(){return this._name===jr}isReactNative(){return this._name===pr}getVersion(){return this._version}_checkCondition(i){if(this._version)return this._bowser.satisfies(i)}isVersionGreaterThan(i){return this._checkCondition({[this._name]:`>${i}`})}isVersionLessThan(i){return this._checkCondition({[this._name]:`<${i}`})}isVersionEqualTo(i){return this._checkCondition({[this._name]:`~${i}`})}}{constructor(){super(),d.info(`This appears to be ${this.getName()}, ver: ${this.getVersion()}`)}doesVideoMuteByStreamRemove(){return this.isChromiumBased()||this.isWebKitBased()||this.isFirefox()}isChromiumBased(){return(this.isChrome()||this.isElectron()||this.isNWJS()||this.isOpera())&&!this.isWebKitBased()}isIosBrowser(){const{userAgent:i,maxTouchPoints:e,platform:n}=navigator;return Boolean(i.match(/iP(ad|hone|od)/i))||e&&e>2&&/MacIntel/.test(n)}isWebKitBased(){return this._bowser.isEngine("webkit")&&navigator.mediaDevices!==void 0&&navigator.mediaDevices.getUserMedia!==void 0&&window.RTCRtpTransceiver!==void 0&&Object.keys(RTCRtpTransceiver.prototype).indexOf("currentDirection")>-1}isTwa(){return"matchMedia"in window&&window.matchMedia("(display-mode:standalone)").matches}isSupported(){return!(this.isSafari()&&this._getSafariVersion()<14)&&(this.isChromiumBased()&&this._getChromiumBasedVersion()>=72||this.isFirefox()||this.isReactNative()||this.isWebKitBased())}isSupportedAndroidBrowser(){return this.isChromiumBased()||this.isFirefox()}isSupportedIOSBrowser(){return this._getIOSVersion()>=14}isUserInteractionRequiredForUnmute(){return this.isFirefox()&&this.isVersionLessThan("68")}supportsVideoMuteOnConnInterrupted(){return this.isChromiumBased()||this.isReactNative()}supportsBandwidthStatistics(){return!this.isFirefox()&&!this.isWebKitBased()}supportsCodecPreferences(){return Boolean(window.RTCRtpTransceiver&&"setCodecPreferences"in window.RTCRtpTransceiver.prototype&&window.RTCRtpReceiver&&window.RTCRtpReceiver.getCapabilities!==void 0)&&!this.isWebKitBased()}supportsDeviceChangeEvent(){return navigator.mediaDevices&&navigator.mediaDevices.ondevicechange!==void 0&&navigator.mediaDevices.addEventListener!==void 0}supportsLocalCandidateRttStatistics(){return this.isChromiumBased()||this.isReactNative()||this.isWebKitBased()}supportsPerformanceObserver(){return window.PerformanceObserver!==void 0&&PerformanceObserver.supportedEntryTypes.indexOf("longtask")>-1}supportsReceiverStats(){return window.RTCRtpReceiver!==void 0&&Object.keys(RTCRtpReceiver.prototype).indexOf("getSynchronizationSources")>-1&&!this.isWebKitBased()}supportsRTTStatistics(){return!this.isFirefox()}supportsVP9(){return this.isChromiumBased()||this.isReactNative()}usesSdpMungingForSimulcast(){return this.isChromiumBased()||this.isReactNative()||this.isWebKitBased()}usesAdapter(){return!this.isReactNative()}usesRidsForSimulcast(){return!1}supportsGetDisplayMedia(){return navigator.getDisplayMedia!==void 0||navigator.mediaDevices!==void 0&&navigator.mediaDevices.getDisplayMedia!==void 0}supportsEncodedTransform(){return Boolean(window.RTCRtpScriptTransform)}supportsInsertableStreams(){if(window.RTCRtpSender===void 0||!window.RTCRtpSender.prototype.createEncodedStreams)return!1;const i=new ReadableStream;try{return window.postMessage(i,"*",[i]),!0}catch(e){return!1}}supportsAudioRed(){return Boolean(window.RTCRtpSender&&window.RTCRtpSender.getCapabilities&&window.RTCRtpSender.getCapabilities("audio").codecs.some(i=>i.mimeType==="audio/red")&&window.RTCRtpReceiver&&window.RTCRtpReceiver.getCapabilities&&window.RTCRtpReceiver.getCapabilities("audio").codecs.some(i=>i.mimeType==="audio/red"))}supportsUnifiedPlan(){return!this.isReactNative()}supportsVADDetection(){return this.isChromiumBased()}supportsRTX(){return!(this.isFirefox()&&this.isVersionLessThan("96"))}_getChromiumBasedVersion(){if(this.isChromiumBased()){if(this.isNWJS())return Number.parseInt(process.versions.chromium,10);const i=navigator.userAgent;if(i.match(/Chrome/))return Number.parseInt(i.match(/Chrome\/([\d.]+)/)[1],10)}return-1}_getSafariVersion(){return this.isSafari()?Number.parseInt(this.getVersion(),10):-1}_getIOSVersion(){return this.isWebKitBased()?Number.parseInt(this.getVersion(),10):-1}};var M=o(549),K=o.n(M);const X=(0,P.getLogger)("modules/statistics/AnalyticsAdapter.js"),oe=new class{constructor(){this.reset()}reset(){this.disposed=!1,this.analyticsHandlers=new Set,this.cache=[],this.permanentProperties={},this.conferenceName="",this.addPermanentProperties({user_agent:navigator.userAgent,browser_name:A.getName()})}dispose(){X.warn("Disposing of analytics adapter."),this.analyticsHandlers&&this.analyticsHandlers.size>0&&this.analyticsHandlers.forEach(i=>{typeof i.dispose=="function"&&i.dispose()}),this.setAnalyticsHandlers([]),this.disposed=!0}setAnalyticsHandlers(i){if(this.disposed)return;this.analyticsHandlers=new Set(i),this._setUserProperties();const e=this.cache;this.cache=null,e&&e.forEach(n=>this._sendEvent(n))}_setUserProperties(){this.analyticsHandlers.forEach(i=>{try{i.setUserProperties(this.permanentProperties)}catch(e){X.warn(`Error in setUserProperties method of one of the analytics handlers: ${e}`)}})}addPermanentProperties(i){this.permanentProperties=Ft(Ft({},this.permanentProperties),i),this._setUserProperties()}setConferenceName(i){this.conferenceName=i,this.addPermanentProperties({conference_name:i})}sendEvent(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.disposed)return;let n=null;typeof i=="string"?n={type:qn,action:i,actionSubject:i,source:i,attributes:e}:typeof i=="object"&&(n=i),this._verifyRequiredFields(n)?this._sendEvent(n):X.error(`Dropping a mis-formatted event: ${JSON.stringify(n)}`)}_verifyRequiredFields(i){if(!i)return!1;i.type||(i.type=qn);const e=i.type;return e!==qn&&e!==Ui&&e!=="ui"&&e!==dr?(X.error(`Unknown event type: ${e}`),!1):e===Ui?Boolean(i.name):(i.action=i.action||i.name||i.actionSubject,i.actionSubject=i.actionSubject||i.name||i.action,i.source=i.source||i.name||i.action||i.actionSubject,i.action&&i.actionSubject&&i.source?!!(e!==dr||(i.objectType=i.objectType||"generic-object-type",i.containerType=i.containerType||"conference",i.containerType!=="conference"||i.containerId||(i.containerId=this.conferenceName),i.objectType&&i.objectId&&i.containerType&&i.containerId))||(X.error("Required field missing (containerId, containerType, objectId or objectType)"),!1):(X.error("Required field missing (action, actionSubject or source)"),!1))}_maybeCacheEvent(i){return!!this.cache&&(this.cache.push(i),this.cache.length>100&&this.cache.splice(0,1),!0)}_sendEvent(i){this._maybeCacheEvent(i)||this.analyticsHandlers.forEach(e=>{try{e.sendEvent(i)}catch(n){X.warn(`Error sending analytics event: ${n}`)}})}};var we=o(1023),V=o.n(we);const ee=o(9077).getLogger("modules/statistics/CallStats.js"),C="applicationLog",B="error",J="event",W="mstWithUserID";let de;class ue{static _addNewFabricCallback(e,n){ue.backend&&e!=="success"&&ee.error(`Monitoring status: ${e} msg: ${n}`)}static _initCallback(e,n){if(ee.log(`CallStats Status: err=${e} msg=${n}`),e!=="success")return;ue.backendInitialized=!0;let r=!1,s=null;for(const c of ue.fabrics.values())c.hasFabric||(ee.debug("addNewFabric - initCallback"),c._addNewFabric()&&(r=!0,s||(s=c)));r&&ue._emptyReportQueue(s)}static _emptyReportQueue(e){const n=e.confID,r=e.peerconnection;for(const s of ue.reportsQueue)if(s.type===B){const c=s.data;ue._reportError(e,c.type,c.error,c.pc||r)}else if(s.type===J){const c=s.data;ue.backend.sendFabricEvent(s.pc||r,c.event,n,c.eventData)}else if(s.type===W){const c=s.data;ue.backend.associateMstWithUserID(s.pc||r,c.callStatsId,n,c.ssrc,c.usageLabel,c.containerId)}ue.reportsQueue.length=0}static _reportError(e,n,r,s){let c=r;c||(ee.warn("No error is passed!"),c=new Error("Unknown error")),ue.backendInitialized&&e?ue.backend.reportError(s,e.confID,n,c):ue.reportsQueue.push({type:B,data:{error:c,pc:s,type:n}})}static _reportEvent(e,n,r){const s=e&&e.peerconnection,c=e&&e.confID;ue.backendInitialized&&e?ue.backend.sendFabricEvent(s,n,c,r):ue.reportsQueue.push({confID:c,pc:s,type:J,data:{event:n,eventData:r}})}static _traceAndCatchBackendCalls(e){const n=["associateMstWithUserID","sendFabricEvent","sendUserFeedback"];for(const c of n){const h=e[c];e[c]=function(){try{for(var S=arguments.length,L=new Array(S),N=0;N<S;N++)L[N]=arguments[N];return h.apply(e,L)}catch(te){V().callErrorHandler(te)}}}const r=["associateMstWithUserID","sendFabricEvent","sendUserFeedback"];for(const c of r){const h=e[c];e[c]=function(){for(var S=arguments.length,L=new Array(S),N=0;N<S;N++)L[N]=arguments[N];ee.debug(c,L),h.apply(e,L)}}const s=e.reportError;e.reportError=function(c,h,S){for(var L=arguments.length,N=new Array(L>3?L-3:0),te=3;te<L;te++)N[te-3]=arguments[te];S===C?A.isReactNative():ee.debug("reportError",c,h,S,...N);try{s.call(e,c,h,S,...N)}catch(fe){S===C||V().callErrorHandler(fe)}}}static get fabrics(){return de||(de=new Set),de}static initBackend(e){if(ue.backend)throw new Error("CallStats backend has been initialized already!");try{const n=callstats;ue.backend=new n,ue._traceAndCatchBackendCalls(ue.backend),ue.userID={aliasName:e.aliasName,userName:e.userName},ue.callStatsID=e.callStatsID,ue.callStatsSecret=e.callStatsSecret;const r=Ft({},e.configParams);if(e.applicationName&&(r.applicationVersion=`${e.applicationName} (${A.getName()})`),e.confID){const c=e.confID.match(/.*\/(.*)\/.*/);r.siteID=e.siteID||c&&c[1]||"/"}ue.backend.initialize(ue.callStatsID,ue.callStatsSecret,ue.userID,ue._initCallback,void 0,r);const s=e.getWiFiStatsMethod;return s&&(ue.backend.attachWifiStatsHandler(s),s().then(c=>{c&&ee.info("Reported wifi addresses:",JSON.parse(c).addresses)}).catch(()=>{})),!0}catch(n){return V().callErrorHandler(n),ue.backend=null,ee.error(n),!1}}static isBackendInitialized(){return Boolean(ue.backend)}static sendActiveDeviceListEvent(e,n){ue._reportEvent(n,"activeDeviceList",e)}static sendApplicationLog(e,n){try{ue._reportError(n,C,e,n&&n.peerconnection)}catch(r){}}static sendFeedback(e,n,r){return new Promise((s,c)=>{if(ue.backend)ue.backend.sendUserFeedback(e,{userID:ue.userID,overall:n,comment:r},(h,S)=>{h==="success"?s(S):c(S)});else{const h="Failed to submit feedback to CallStats - no backend";ee.error(h),c(h)}})}static sendGetUserMediaFailed(e,n){ue._reportError(n,"getUserMedia",e,null)}static sendMuteEvent(e,n,r){let s;s=n==="video"?e?"videoPause":"videoResume":e?"audioMute":"audioUnmute",ue._reportEvent(r,s)}constructor(e,n){this.confID=n.confID,this.tpc=e,this.peerconnection=e.peerconnection,this.remoteUserID=n.remoteUserID||"jitsi",this.hasFabric=!1,ue.fabrics.add(this),ue.backendInitialized&&(this._addNewFabric(),ue.fabrics.size===1&&ue._emptyReportQueue(this))}_addNewFabric(){ee.info("addNewFabric",this.remoteUserID);try{const e={remoteEndpointType:this.tpc.isP2P?ue.backend.endpointType.peer:ue.backend.endpointType.server},n=ue.backend.addNewFabric(this.peerconnection,this.remoteUserID,ue.backend.fabricUsage.multiplex,this.confID,e,ue._addNewFabricCallback);this.hasFabric=!0;const r=n.status==="success";return r||ee.error("callstats fabric not initilized",n.message),r}catch(e){return V().callErrorHandler(e),!1}}associateStreamWithVideoTag(e,n,r,s,c){if(!ue.backend)return;const h=n?ue.userID:r;ue.backendInitialized?ue.backend.associateMstWithUserID(this.peerconnection,h,this.confID,e,s,c):ue.reportsQueue.push({type:W,pc:this.peerconnection,data:{callStatsId:h,containerId:c,ssrc:e,usageLabel:s}})}sendDominantSpeakerEvent(){ue._reportEvent(this,"dominantSpeaker")}sendTerminateEvent(){ue.backendInitialized&&ue.backend.sendFabricEvent(this.peerconnection,ue.backend.fabricEvent.fabricTerminated,this.confID),ue.fabrics.delete(this)}sendIceConnectionFailedEvent(){ue._reportError(this,"iceConnectionFailure",null,this.peerconnection)}sendCreateOfferFailed(e){ue._reportError(this,"createOffer",e,this.peerconnection)}sendCreateAnswerFailed(e){ue._reportError(this,"createAnswer",e,this.peerconnection)}sendResumeOrHoldEvent(e){ue._reportEvent(this,e?"fabricResume":"fabricHold")}sendScreenSharingEvent(e,n){let r;n&&(r={ssrc:n}),ue._reportEvent(this,e?"screenShareStart":"screenShareStop",r)}sendSetLocalDescFailed(e){ue._reportError(this,"setLocalDescription",e,this.peerconnection)}sendSetRemoteDescFailed(e){ue._reportError(this,"setRemoteDescription",e,this.peerconnection)}sendAddIceCandidateFailed(e){ue._reportError(this,"addIceCandidate",e,this.peerconnection)}}ue.backend=null,ue.reportsQueue=[],ue.backendInitialized=!1,ue.callStatsID=null,ue.callStatsSecret=null,ue.userID=null,window.AudioContext=window.AudioContext||window.webkitAudioContext;let ke=null;function rt(i,e,n){this.stream=i,this.intervalId=null,this.intervalMilis=e,this.audioLevel=0,this.callback=n}function ut(i){let e=i;return i>=Number.MAX_SAFE_INTEGER&&(e=0),e+1}function Rt(i){return i.length>0?i.reduce((e,n)=>e+n)/i.length:0}function ht(i){return i.filter(e=>e>=0)}window.AudioContext&&(ke=new AudioContext,ke.suspend&&ke.suspend()),rt.prototype.start=function(){if(!rt.isLocalStatsSupported())return;ke.resume();const i=ke.createAnalyser();i.smoothingTimeConstant=.8,i.fftSize=2048,ke.createMediaStreamSource(this.stream).connect(i),this.intervalId=setInterval(()=>{const e=new Uint8Array(i.frequencyBinCount);i.getByteTimeDomainData(e);const n=function(r){let s=0;const c=r.length;for(let h=0;h<c;h++)s<r[h]&&(s=r[h]);return parseFloat(((s-127)/128).toFixed(3))}(e);this.audioLevel=function(r,s){let c=0;const h=s-r;return c=h>.2?s-.2:h<-.4?s+.4:r,parseFloat(c.toFixed(3))}(n,this.audioLevel),this.callback(this.audioLevel)},this.intervalMilis)},rt.prototype.stop=function(){this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null)},rt.isLocalStatsSupported=function(){return Boolean(ke)};class yt{constructor(){this.average=0,this.n=0}addNext(e){typeof e=="number"&&(this.n+=1,this.average=this.average+(e-this.average)/this.n)}getAverage(){return this.average}}const Ut=(0,P.getLogger)("modules/statistics/PerformanceObserverStats.js");class Nt{constructor(e,n){this.eventEmitter=e,this.longTasks=0,this.maxDuration=0,this.performanceStatsInterval=n,this.stats=new yt}getLongTasksStats(){return{avgRatePerMinute:(60*this.stats.getAverage()).toFixed(2),maxDurationMs:this.maxDuration}}startObserver(){this.longTaskEventHandler=n=>{const r=n.getEntries();for(const s of r)this.longTasks++,this.maxDuration=Math.max(this.maxDuration,s.duration).toFixed(3)},Ut.info("Creating a Performance Observer for monitoring Long Tasks"),this.observer=new PerformanceObserver(this.longTaskEventHandler),this.observer.observe({type:"longtask",buffered:!0});const e=Date.now();this.longTasksIntervalId=setInterval(()=>{const n=Date.now(),r=this._lastTimeStamp?(n-this._lastTimeStamp)/1e3:(n-e)/1e3,s=this.longTasks/r;this.stats.addNext(s),this.eventEmitter.emit(hi,this.getLongTasksStats()),this.longTasks=0,this._lastTimeStamp=Date.now()},this.performanceStatsInterval)}stopObserver(){this.observer&&this.observer.disconnect(),this.longTaskEventHandler=null,this.longTasksIntervalId&&(clearInterval(this.longTasksIntervalId),this.longTasksIntervalId=null)}}const ot="audio",pn="presenter",St="video",Tt=o(1023),sn=(0,P.getLogger)("modules/statistics/RTPStatsCollector.js");function $n(i,e){return!e||e<=0||!i||i<=0?0:Math.round(i/e*100)}function gn(){this.loss={},this.bitrate={download:0,upload:0},this.resolution={},this.framerate=0,this.codec=""}function wi(){this.bandwidth={},this.bitrate={},this.packetLoss=null,this.transport=[]}function Vn(i,e,n,r){this.peerconnection=i,this.baselineAudioLevelsReport=null,this.currentAudioLevelsReport=null,this.currentStatsReport=null,this.previousStatsReport=null,this.audioLevelReportHistory={},this.audioLevelsIntervalId=null,this.eventEmitter=r,this.conferenceStats=new wi,this.audioLevelsIntervalMilis=e,this.speakerList=[],this.statsIntervalId=null,this.statsIntervalMilis=n,this.ssrc2stats=new Map}gn.prototype.setLoss=function(i){this.loss=i||{}},gn.prototype.setResolution=function(i){this.resolution=i||{}},gn.prototype.addBitrate=function(i){this.bitrate.download+=i.download,this.bitrate.upload+=i.upload},gn.prototype.resetBitrate=function(){this.bitrate.download=0,this.bitrate.upload=0},gn.prototype.setFramerate=function(i){this.framerate=i||0},gn.prototype.setCodec=function(i){this.codec=i||""},Vn.prototype.setSpeakerList=function(i){this.speakerList=i},Vn.prototype.stop=function(){this.audioLevelsIntervalId&&(clearInterval(this.audioLevelsIntervalId),this.audioLevelsIntervalId=null),this.statsIntervalId&&(clearInterval(this.statsIntervalId),this.statsIntervalId=null)},Vn.prototype.errorCallback=function(i){Tt.callErrorHandler(i),sn.error("Get stats error",i),this.stop()},Vn.prototype.start=function(i){i&&(A.supportsReceiverStats()&&sn.info("Using RTCRtpSynchronizationSource for remote audio levels"),this.audioLevelsIntervalId=setInterval(()=>{if(A.supportsReceiverStats()){const n=this.peerconnection.getAudioLevels(this.speakerList);for(const r in n)if(n.hasOwnProperty(r)){const s=2.5*n[r];this.eventEmitter.emit(xr,this.peerconnection,Number.parseInt(r,10),s,!1)}}else this.peerconnection.getStats().then(n=>{this.currentAudioLevelsReport=typeof(n==null?void 0:n.result)=="function"?n.result():n,this.processAudioLevelReport(),this.baselineAudioLevelsReport=this.currentAudioLevelsReport}).catch(n=>this.errorCallback(n))},this.audioLevelsIntervalMilis));const e=()=>{this.peerconnection.getStats().then(n=>{this.currentStatsReport=typeof(n==null?void 0:n.result)=="function"?n.result():n;try{this.processStatsReport()}catch(r){Tt.callErrorHandler(r),sn.error("Processing of RTP stats failed:",r)}this.previousStatsReport=this.currentStatsReport}).catch(n=>this.errorCallback(n))};e(),this.statsIntervalId=setInterval(e,this.statsIntervalMilis)},Vn.prototype._processAndEmitReport=function(){const i={download:0,upload:0},e={download:0,upload:0};let n=0,r=0;const s={},c={},h={};let S,L,N=0,te=0,fe=0,Ne=0;for(const[Ye,nt]of this.ssrc2stats){const bt=nt.loss,Kt=bt.isDownloadStream?"download":"upload";i[Kt]+=bt.packetsTotal,e[Kt]+=bt.packetsLost,n+=nt.bitrate.download,r+=nt.bitrate.upload;const bn=this.peerconnection.getTrackBySSRC(Ye);if(bn){bn.isAudioTrack()?(N+=nt.bitrate.download,te+=nt.bitrate.upload,S=nt.codec):(fe+=nt.bitrate.download,Ne+=nt.bitrate.upload,L=nt.codec);const xn=bn.getParticipantId();if(xn){const Gn=nt.resolution;if(Gn.width&&Gn.height&&Gn.width!==-1&&Gn.height!==-1){const Xn=s[xn]||{};Xn[Ye]=Gn,s[xn]=Xn}if(nt.framerate!==0){const Xn=c[xn]||{};Xn[Ye]=nt.framerate,c[xn]=Xn}if(S&&L){const Xn={audio:S,video:L},sr=h[xn]||{};sr[Ye]=Xn,h[xn]=sr}}else sn.error(`No participant ID returned by ${bn}`)}nt.resetBitrate()}this.conferenceStats.bitrate={upload:r,download:n},this.conferenceStats.bitrate.audio={upload:te,download:N},this.conferenceStats.bitrate.video={upload:Ne,download:fe},this.conferenceStats.packetLoss={total:$n(e.download+e.upload,i.download+i.upload),download:$n(e.download,i.download),upload:$n(e.upload,i.upload)};const ze={};let ft;Object.keys(this.audioLevelReportHistory).forEach(Ye=>{const{data:nt,isLocal:bt}=this.audioLevelReportHistory[Ye],Kt=nt.reduce((bn,xn)=>bn+xn)/nt.length;if(bt)ft=Kt;else{const bn=this.peerconnection.getTrackBySSRC(Number(Ye));if(bn){const xn=bn.getParticipantId();xn&&(ze[xn]=Kt)}}}),this.audioLevelReportHistory={},this.eventEmitter.emit(zr,this.peerconnection,{bandwidth:this.conferenceStats.bandwidth,bitrate:this.conferenceStats.bitrate,packetLoss:this.conferenceStats.packetLoss,resolution:s,framerate:c,codec:h,transport:this.conferenceStats.transport,localAvgAudioLevels:ft,avgAudioLevels:ze}),this.conferenceStats.transport=[]},Vn.prototype.getNonNegativeValue=function(i){let e=i;return typeof e!="number"&&(e=Number(e)),isNaN(e)?0:Math.max(0,e)},Vn.prototype._calculateBitrate=function(i,e,n){const r=this.getNonNegativeValue(i[n]),s=this.getNonNegativeValue(e[n]),c=Math.max(0,r-s),h=i.timestamp-e.timestamp;let S=0;return h>0&&(S=Math.round(8*c/h)),S},Vn.prototype.processStatsReport=function(){if(!this.previousStatsReport)return;const i={};this.currentStatsReport.forEach(e=>{if(e.type==="candidate-pair"&&e.nominated&&e.state==="succeeded"){const n=e.availableIncomingBitrate,r=e.availableOutgoingBitrate;(n||r)&&(this.conferenceStats.bandwidth={download:Math.round(n/1e3),upload:Math.round(r/1e3)});const s=this.currentStatsReport.get(e.remoteCandidateId),c=this.currentStatsReport.get(e.localCandidateId);if(s&&c){const h=`${A.isChromiumBased()?s.ip:s.address}:${s.port}`,S=`${A.isChromiumBased()?c.ip:c.address}:${c.port}`,L=s.protocol,N=this.conferenceStats.transport;N.some(te=>te.ip===h&&te.type===L&&te.localip===S)||N.push({ip:h,type:L,localip:S,p2p:this.peerconnection.isP2P,localCandidateType:c.candidateType,remoteCandidateType:s.candidateType,networkType:c.networkType,rtt:1e3*e.currentRoundTripTime})}}else if(e.type==="inbound-rtp"||e.type==="outbound-rtp"){const n=this.previousStatsReport.get(e.id),r=this.getNonNegativeValue(e.ssrc);if(!n||!r)return;let s=this.ssrc2stats.get(r);s||(s=new gn,this.ssrc2stats.set(r,s));let c=!0,h="packetsReceived";e.type==="outbound-rtp"&&(c=!1,h="packetsSent");let S=e[h];(!S||S<0)&&(S=0);const L=this.getNonNegativeValue(n[h]),N=Math.max(0,S-L),te=this.getNonNegativeValue(e.packetsLost),fe=this.getNonNegativeValue(n.packetsLost),Ne=Math.max(0,te-fe);if(s.setLoss({packetsTotal:N+Ne,packetsLost:Ne,isDownloadStream:c}),e.type==="inbound-rtp"){const ft={height:e.frameHeight,width:e.frameWidth},Ye=e.framesPerSecond;ft.height&&ft.width&&s.setResolution(ft),s.setFramerate(Math.round(Ye||0)),s.addBitrate({download:this._calculateBitrate(e,n,"bytesReceived"),upload:0})}else i[r]=this.getNonNegativeValue(e.bytesSent),s.addBitrate({download:0,upload:this._calculateBitrate(e,n,"bytesSent")});const ze=this.currentStatsReport.get(e.codecId);if(ze){const ft=ze.mimeType.split("/")[1];ft&&s.setCodec(ft)}}else if(e.type==="track"&&e.kind===St&&!e.remoteSource){const n={height:e.frameHeight,width:e.frameWidth},r=this.peerconnection.getLocalTracks(St);if(r==null||!r.length)return;const s=this.peerconnection.getLocalSSRC(r[0]);if(!s)return;let c=this.ssrc2stats.get(s);c||(c=new gn,this.ssrc2stats.set(s,c)),n.height&&n.width&&c.setResolution(n);let h=e.framesPerSecond;if(!h){const L=this.previousStatsReport.get(e.id);if(L){const N=e.timestamp-L.timestamp;N>0&&e.framesSent&&(h=(e.framesSent-L.framesSent)/N*1e3)}if(!h)return}const S=this.peerconnection.getActiveSimulcastStreams();h=S?Math.round(h/S):0,c.setFramerate(h)}}),this.eventEmitter.emit(Br,this.peerconnection,i),this._processAndEmitReport()},Vn.prototype.processAudioLevelReport=function(){this.baselineAudioLevelsReport&&this.currentAudioLevelsReport.forEach(i=>{if(i.type!=="track")return;const e=i.audioLevel;if(!e)return;const n=i.trackIdentifier,r=this.peerconnection.getSsrcByTrackId(n);if(r){const s=r===this.peerconnection.getLocalSSRC(this.peerconnection.getLocalTracks(ot));this.eventEmitter.emit(xr,this.peerconnection,r,e,s)}})};const An=o(9077).getLogger("modules/statistics/statistics.js");let Zn,wn=!1;function Nn(i){ue.isBackendInitialized()||ue.initBackend({callStatsID:i.callStatsID,callStatsSecret:i.callStatsSecret,userName:i.userName,aliasName:i.aliasName,applicationName:i.applicationName,getWiFiStatsMethod:i.getWiFiStatsMethod,confID:i.confID,siteID:i.siteID,configParams:i.configParams})||An.error("CallStats Backend initialization failed bad")}function Ue(i,e){this.rtpStatsMap=new Map,this.eventEmitter=new(tt()),this.xmpp=i,this.options=e||{},this.callStatsIntegrationEnabled=this.options.callStatsID&&this.options.callStatsSecret&&this.options.enableCallStats&&Ue.disableThirdPartyRequests!==!0,this.callStatsIntegrationEnabled&&(this.callStatsApplicationLogsDisabled=this.options.callStatsApplicationLogsDisabled,A.isReactNative()?Nn(this.options):function(n){wn||(K().loadScript(n.customScriptUrl||Yt,!0,!0,void 0,()=>Nn(n)),wn=!0)}(this.options),this.options.confID||An.warn('"confID" is not defined')),this.callsStatsInstances=new Map,Ue.instances.add(this)}Ue.init=function(i){Ue.audioLevelsEnabled=!i.disableAudioLevels,typeof i.pcStatsInterval=="number"&&(Ue.pcStatsInterval=i.pcStatsInterval),typeof i.audioLevelsInterval=="number"&&(Ue.audioLevelsInterval=i.audioLevelsInterval),typeof i.longTasksStatsInterval=="number"&&(Ue.longTasksStatsInterval=i.longTasksStatsInterval),Ue.disableThirdPartyRequests=i.disableThirdPartyRequests},Ue.audioLevelsEnabled=!1,Ue.audioLevelsInterval=200,Ue.pcStatsInterval=1e4,Ue.disableThirdPartyRequests=!1,Ue.analytics=oe,Object.defineProperty(Ue,"instances",{get:()=>(Zn||(Zn=new Set),Zn)}),Ue.prototype.startRemoteStats=function(i){this.stopRemoteStats(i);try{const e=new Vn(i,Ue.audioLevelsInterval,Ue.pcStatsInterval,this.eventEmitter);e.start(Ue.audioLevelsEnabled),this.rtpStatsMap.set(i.id,e)}catch(e){An.error(`Failed to start collecting remote statistics: ${e}`)}},Ue.localStats=[],Ue.startLocalStats=function(i,e){if(!Ue.audioLevelsEnabled)return;const n=new rt(i,Ue.audioLevelsInterval,e);this.localStats.push(n),n.start()},Ue.prototype.addAudioLevelListener=function(i){Ue.audioLevelsEnabled&&this.eventEmitter.on(xr,i)},Ue.prototype.removeAudioLevelListener=function(i){Ue.audioLevelsEnabled&&this.eventEmitter.removeListener(xr,i)},Ue.prototype.addBeforeDisposedListener=function(i){this.eventEmitter.on(kr,i)},Ue.prototype.removeBeforeDisposedListener=function(i){this.eventEmitter.removeListener(kr,i)},Ue.prototype.addConnectionStatsListener=function(i){this.eventEmitter.on(zr,i)},Ue.prototype.removeConnectionStatsListener=function(i){this.eventEmitter.removeListener(zr,i)},Ue.prototype.addByteSentStatsListener=function(i){this.eventEmitter.on(Br,i)},Ue.prototype.removeByteSentStatsListener=function(i){this.eventEmitter.removeListener(Br,i)},Ue.prototype.addLongTasksStatsListener=function(i){this.eventEmitter.on(hi,i)},Ue.prototype.attachLongTasksStats=function(i){A.supportsPerformanceObserver()?(this.performanceObserverStats=new Nt(this.eventEmitter,Ue.longTasksStatsInterval),i.on(U,()=>this.performanceObserverStats.startObserver()),i.on(Z,()=>this.performanceObserverStats.stopObserver())):An.warn("Performance observer for long tasks not supported by browser!")},Ue.prototype.getLongTasksStats=function(){return this.performanceObserverStats?this.performanceObserverStats.getLongTasksStats():null},Ue.prototype.removeLongTasksStatsListener=function(i){this.eventEmitter.removeListener(hi,i)},Ue.prototype.setSpeakerList=function(i){for(const e of Array.from(this.rtpStatsMap.values()))e.peerconnection.isP2P||e.setSpeakerList(i)},Ue.prototype.dispose=function(){try{this.callsStatsInstances.size||this.eventEmitter.emit(kr);for(const i of this.callsStatsInstances.values())this.stopCallStats(i.tpc);for(const i of this.rtpStatsMap.keys())this._stopRemoteStats(i);this.eventEmitter&&this.eventEmitter.removeAllListeners()}finally{Ue.instances.delete(this)}},Ue.stopLocalStats=function(i){if(Ue.audioLevelsEnabled){for(let e=0;e<Ue.localStats.length;e++)if(Ue.localStats[e].stream===i){Ue.localStats.splice(e,1)[0].stop();break}}},Ue.prototype._stopRemoteStats=function(i){const e=this.rtpStatsMap.get(i);e&&(e.stop(),this.rtpStatsMap.delete(i))},Ue.prototype.stopRemoteStats=function(i){this._stopRemoteStats(i.id)},Ue.prototype.startCallStats=function(i,e){if(!this.callStatsIntegrationEnabled)return;if(this.callsStatsInstances.has(i.id))return void An.error("CallStats instance for ${tpc} exists already");An.info(`Starting CallStats for ${i}...`);const n=new ue(i,{confID:this.options.confID,remoteUserID:e});this.callsStatsInstances.set(i.id,n)},Ue._getAllCallStatsInstances=function(){const i=new Set;for(const e of Ue.instances)for(const n of e.callsStatsInstances.values())i.add(n);return i},Ue.prototype.stopCallStats=function(i){const e=this.callsStatsInstances.get(i.id);e&&(this.callsStatsInstances.size===1&&this.eventEmitter.emit(kr),this.callsStatsInstances.delete(i.id),e.sendTerminateEvent())},Ue.prototype.isCallstatsEnabled=function(){return this.callStatsIntegrationEnabled},Ue.prototype.sendConnectionResumeOrHoldEvent=function(i,e){const n=this.callsStatsInstances.get(i.id);n&&n.sendResumeOrHoldEvent(e)},Ue.prototype.sendIceConnectionFailedEvent=function(i){const e=this.callsStatsInstances.get(i.id);e&&e.sendIceConnectionFailedEvent()},Ue.prototype.sendMuteEvent=function(i,e,n){const r=i&&this.callsStatsInstances.get(i.id);ue.sendMuteEvent(e,n,r)},Ue.prototype.sendScreenSharingEvent=function(i,e){for(const n of this.callsStatsInstances.values())n.sendScreenSharingEvent(i,e)},Ue.prototype.sendDominantSpeakerEvent=function(i){for(const e of this.callsStatsInstances.values())e.sendDominantSpeakerEvent();this.xmpp.sendDominantSpeakerEvent(i)},Ue.sendActiveDeviceListEvent=function(i){const e=Ue._getAllCallStatsInstances();if(e.size)for(const n of e)ue.sendActiveDeviceListEvent(i,n);else ue.sendActiveDeviceListEvent(i,null)},Ue.prototype.associateStreamWithVideoTag=function(i,e,n,r,s,c){const h=this.callsStatsInstances.get(i.id);h&&h.associateStreamWithVideoTag(e,n,r,s,c)},Ue.sendGetUserMediaFailed=function(i){const e=i instanceof Mn?function(r){const s=new Error;return s.stack=r.stack,s.name=(r.name||"Unknown error")+(r.gum&&r.gum.error&&r.gum.error.name?` - ${r.gum.error.name}`:""),s.constraintName=r.gum&&r.gum.constraints?JSON.stringify(r.gum.constraints):"",s.message=r.message,s}(i):i,n=Ue._getAllCallStatsInstances();if(n.size)for(const r of n)ue.sendGetUserMediaFailed(e,r);else ue.sendGetUserMediaFailed(e,null)},Ue.prototype.sendCreateOfferFailed=function(i,e){const n=this.callsStatsInstances.get(e.id);n&&n.sendCreateOfferFailed(i)},Ue.prototype.sendCreateAnswerFailed=function(i,e){const n=this.callsStatsInstances.get(e.id);n&&n.sendCreateAnswerFailed(i)},Ue.prototype.sendSetLocalDescFailed=function(i,e){const n=this.callsStatsInstances.get(e.id);n&&n.sendSetLocalDescFailed(i)},Ue.prototype.sendSetRemoteDescFailed=function(i,e){const n=this.callsStatsInstances.get(e.id);n&&n.sendSetRemoteDescFailed(i)},Ue.prototype.sendAddIceCandidateFailed=function(i,e){const n=this.callsStatsInstances.get(e.id);n&&n.sendAddIceCandidateFailed(i)},Ue.sendLog=function(i){const e=new Set;for(const n of Ue.instances){if(n.callStatsApplicationLogsDisabled)return;n.callsStatsInstances.size&&e.add(n.callsStatsInstances.values().next().value)}if(e.size)for(const n of e)ue.sendApplicationLog(i,n);else ue.sendApplicationLog(i,null)},Ue.prototype.sendFeedback=function(i,e){return Ue.analytics.sendEvent("feedback",{rating:i,comment:e}),ue.sendFeedback(this.options.confID,i,e)},Ue.LOCAL_JID=o(4806).LOCAL_JID,Ue.reportGlobalError=function(i){i instanceof Mn&&i.gum?Ue.sendGetUserMediaFailed(i):Ue.sendLog(i)},Ue.sendAnalyticsAndLog=function(i){let e,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};i?(e=typeof i=="object"?i:{name:i,properties:n},An.log(JSON.stringify(e)),this.analytics.sendEvent(i,n)):An.warn("No event or event name given.")},Ue.sendAnalytics=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.analytics.sendEvent(i,e)};var Un=o(4832),pi=o.n(Un),Ii=o(1645),xt=o.n(Ii),Wn=o(1122),zn=o.n(Wn),Tr=o(3514),tn=o.n(Tr),Fn=o(4188),Ke=o.n(Fn);const Sr=(0,P.getLogger)("JitsiConferenceEventManager.js");function Rr(i){this.conference=i,this.xmppListeners={},i.on(Di,e=>{if(!e.isLocal()||!i.statistics)return;const n=e.isP2P?i.p2pJingleSession:i.jvbJingleSession,r=n&&n.peerconnection||null;i.statistics.sendMuteEvent(r,e.isMuted(),e.getType())})}Rr.prototype.setupChatRoomListeners=function(){const i=this.conference,e=i.room;this.chatRoomForwarder=new(pi())(e,this.conference.eventEmitter),e.addListener(Ke().ICE_RESTARTING,n=>{n.isP2P||i.rtc.closeBridgeChannel()}),e.addListener(Ke().PARTICIPANT_FEATURES_CHANGED,(n,r)=>{const s=i.getParticipantById(Ce.Strophe.getResourceFromJid(n));s&&(s.setFeatures(r),i.eventEmitter.emit(pt,s))}),e.addListener(Ke().ICE_RESTART_SUCCESS,(n,r)=>{!n.isP2P&&i._setBridgeChannel(r,n.peerconnection)}),e.addListener(Ke().AUDIO_MUTED_BY_FOCUS,n=>{Ue.sendAnalytics(Er(ot)),i.mutedByFocusActor=n,i.rtc.setAudioMute(!0).then(()=>{i.isMutedByFocus=!0,i.mutedByFocusActor=null}).catch(r=>{i.mutedByFocusActor=null,Sr.warn("Error while audio muting due to focus request",r)})}),e.addListener(Ke().VIDEO_MUTED_BY_FOCUS,n=>{Ue.sendAnalytics(Er(St)),i.mutedVideoByFocusActor=n,i.rtc.setVideoMute(!0).then(()=>{i.isVideoMutedByFocus=!0,i.mutedVideoByFocusActor=null}).catch(r=>{i.mutedVideoByFocusActor=null,Sr.warn("Error while video muting due to focus request",r)})}),this.chatRoomForwarder.forward(Ke().SUBJECT_CHANGED,yi),this.chatRoomForwarder.forward(Ke().MUC_JOINED,U),this.chatRoomForwarder.forward(Ke().MUC_JOIN_IN_PROGRESS,R),this.chatRoomForwarder.forward(Ke().MEETING_ID_SET,_e),e.addListener(Ke().MUC_JOINED,()=>{this.conference._onMucJoined(),this.conference.isJvbConnectionInterrupted=!1,Object.keys(e.connectionTimes).forEach(n=>{const r=zi(`conference_${n}`,{value:e.connectionTimes[n]});Ue.sendAnalytics(r)}),Object.keys(e.xmpp.connectionTimes).forEach(n=>{const r=zi(`xmpp_${n}`,{value:e.xmpp.connectionTimes[n]});Ue.sendAnalytics(r)})}),e.addListener(Ke().RENEGOTIATION_FAILED,(n,r)=>{r.isP2P||i.eventEmitter.emit(De,$e,n)}),this.chatRoomForwarder.forward(Ke().ROOM_JOIN_ERROR,De,Re),this.chatRoomForwarder.forward(Ke().ROOM_CONNECT_ERROR,De,Re),this.chatRoomForwarder.forward(Ke().ROOM_CONNECT_NOT_ALLOWED_ERROR,De,at),this.chatRoomForwarder.forward(Ke().ROOM_CONNECT_MEMBERS_ONLY_ERROR,De,Ee),this.chatRoomForwarder.forward(Ke().ROOM_MAX_USERS_ERROR,De,be),this.chatRoomForwarder.forward(Ke().PASSWORD_REQUIRED,De,f),this.chatRoomForwarder.forward(Ke().AUTHENTICATION_REQUIRED,De,me),this.chatRoomForwarder.forward(Ke().BRIDGE_DOWN,De,H),e.addListener(Ke().BRIDGE_DOWN,()=>Ue.sendAnalytics(function(){const n="bridge.down";return{action:n,actionSubject:n,type:qn}}())),e.addListener(Ke().CONNECTION_RESTARTED,n=>{i._onConferenceRestarted(n)}),this.chatRoomForwarder.forward(Ke().RESERVATION_ERROR,De,D),this.chatRoomForwarder.forward(Ke().GRACEFUL_SHUTDOWN,De,Ze),e.addListener(Ke().CONNECTION_ICE_FAILED,n=>{i._onIceConnectionFailed(n)}),this.chatRoomForwarder.forward(Ke().MUC_DESTROYED,De,it),this.chatRoomForwarder.forward(Ke().CHAT_ERROR_RECEIVED,he,ge),this.chatRoomForwarder.forward(Ke().SETTINGS_ERROR_RECEIVED,he,Be),this.chatRoomForwarder.forward(Ke().FOCUS_DISCONNECTED,De,Xe),e.addListener(Ke().FOCUS_LEFT,()=>{Ue.sendAnalytics(function(){const n="focus.left";return{action:n,actionSubject:n,type:qn}}()),i.eventEmitter.emit(De,se)}),e.addListener(Ke().SESSION_ACCEPT_TIMEOUT,n=>{Ue.sendAnalyticsAndLog(or("session-accept.timeout",{p2p:n.isP2P}))}),e.addListener(Ke().RECORDER_STATE_CHANGED,(n,r)=>{if(r){const s=Ce.Strophe.getResourceFromJid(r),c=i.getParticipantById(s)||s;n.getStatus()==="off"?n.setTerminator(c):n.getStatus()==="on"&&n.setInitiator(c)}i.eventEmitter.emit(li,n)}),this.chatRoomForwarder.forward(Ke().TRANSCRIPTION_STATUS_CHANGED,Li),this.chatRoomForwarder.forward(Ke().VIDEO_SIP_GW_AVAILABILITY_CHANGED,hn),this.chatRoomForwarder.forward(Ke().VIDEO_SIP_GW_SESSION_STATE_CHANGED,At),this.chatRoomForwarder.forward(Ke().PHONE_NUMBER_CHANGED,oi),e.setParticipantPropertyListener((n,r)=>{const s=i.getParticipantById(r);s&&s.setProperty(n.tagName.substring(18),n.value)}),e.addListener(Ke().KICKED,i.onMemberKicked.bind(i)),e.addListener(Ke().SUSPEND_DETECTED,i.onSuspendDetected.bind(i)),this.chatRoomForwarder.forward(Ke().MUC_LOCK_CHANGED,q),this.chatRoomForwarder.forward(Ke().MUC_MEMBERS_ONLY_CHANGED,Q),e.addListener(Ke().MUC_MEMBER_JOINED,i.onMemberJoined.bind(i)),this.chatRoomForwarder.forward(Ke().MUC_LOBBY_MEMBER_JOINED,ct),this.chatRoomForwarder.forward(Ke().MUC_LOBBY_MEMBER_UPDATED,Ct),this.chatRoomForwarder.forward(Ke().MUC_LOBBY_MEMBER_LEFT,Mt),e.addListener(Ke().MUC_MEMBER_BOT_TYPE_CHANGED,i._onMemberBotTypeChanged.bind(i)),e.addListener(Ke().MUC_MEMBER_LEFT,i.onMemberLeft.bind(i)),this.chatRoomForwarder.forward(Ke().MUC_LEFT,Z),this.chatRoomForwarder.forward(Ke().MUC_DENIED_ACCESS,De,Le),e.addListener(Ke().DISPLAY_NAME_CHANGED,i.onDisplayNameChanged.bind(i)),e.addListener(Ke().LOCAL_ROLE_CHANGED,n=>{i.onLocalRoleChanged(n),i.statistics&&i.isModerator()&&i.on(li,r=>{const s={error:r.getError(),id:"recorder_status",status:r.getStatus()};Ue.sendLog(JSON.stringify(s))})}),e.addListener(Ke().MUC_ROLE_CHANGED,i.onUserRoleChanged.bind(i)),e.addListener(tn().IDENTITY_UPDATED,(n,r)=>{i.authEnabled=n,i.authIdentity=r,i.eventEmitter.emit(Se,n,r)}),e.addListener(Ke().MESSAGE_RECEIVED,(n,r,s,c)=>{const h=Ce.Strophe.getResourceFromJid(n);i.eventEmitter.emit(ie,h,r,c)}),e.addListener(Ke().PRIVATE_MESSAGE_RECEIVED,(n,r,s,c)=>{const h=Ce.Strophe.getResourceFromJid(n);i.eventEmitter.emit(lt,h,r,c)}),e.addListener(Ke().PRESENCE_STATUS,(n,r)=>{const s=Ce.Strophe.getResourceFromJid(n),c=i.getParticipantById(s);c&&c._status!==r&&(c._status=r,i.eventEmitter.emit(Si,s,r))}),e.addListener(Ke().JSON_MESSAGE_RECEIVED,(n,r)=>{const s=Ce.Strophe.getResourceFromJid(n),c=i.getParticipantById(s);c?i.eventEmitter.emit(Xt,c,r):i.eventEmitter.emit(je,s,r)}),e.addPresenceListener("startmuted",(n,r)=>{let s=!1;if(i.myUserId()===r&&i.isModerator())s=!0;else{const L=i.getParticipantById(r);L&&L.isModerator()&&(s=!0)}if(!s)return;const c=n.attributes.audio==="true",h=n.attributes.video==="true";let S=!1;c!==i.startMutedPolicy.audio&&(i.startMutedPolicy.audio=c,S=!0),h!==i.startMutedPolicy.video&&(i.startMutedPolicy.video=h,S=!0),S&&i.eventEmitter.emit(en,i.startMutedPolicy)}),i.statistics&&(e.addListener(Ke().CONNECTION_ICE_FAILED,n=>{i.statistics.sendIceConnectionFailedEvent(n.peerconnection)}),e.addListener(Ke().ADD_ICE_CANDIDATE_FAILED,(n,r)=>{i.statistics.sendAddIceCandidateFailed(n,r)})),this.chatRoomForwarder.forward(Ke().BREAKOUT_ROOMS_MOVE_TO_ROOM,Oe),this.chatRoomForwarder.forward(Ke().BREAKOUT_ROOMS_UPDATED,ye)},Rr.prototype.setupRTCListeners=function(){const i=this.conference,e=i.rtc;e.addListener(xt().REMOTE_TRACK_ADDED,i.onRemoteTrackAdded.bind(i)),e.addListener(xt().REMOTE_TRACK_REMOVED,i.onRemoteTrackRemoved.bind(i)),e.addListener(xt().DOMINANT_SPEAKER_CHANGED,(n,r)=>{if(i.lastDominantSpeaker!==n&&i.room){if(i.lastDominantSpeaker=n,i.eventEmitter.emit(He,n,r),r&&r.length){const s=r.slice(0);i.myUserId!==n&&s.splice(0,0,n),s.length>5&&s.splice(5,s.length-5),i.statistics&&i.statistics.setSpeakerList(s)}i.statistics&&i.myUserId()===n&&i.statistics.sendDominantSpeakerEvent(i.room.roomjid)}}),e.addListener(xt().DATA_CHANNEL_OPEN,()=>{const n=window.performance.now(),r="data.channel.opened";Sr.log(`(TIME) ${r}: `,n),i.room.connectionTimes[r]=n,Ue.sendAnalytics(zi(r,{value:n})),i.eventEmitter.emit(jt)}),e.addListener(xt().ENDPOINT_MESSAGE_RECEIVED,(n,r)=>{const s=i.getParticipantById(n);s?i.eventEmitter.emit(Xt,s,r):Sr.warn(`Ignored ENDPOINT_MESSAGE_RECEIVED for not existing participant: ${n}`,r)}),e.addListener(xt().ENDPOINT_STATS_RECEIVED,(n,r)=>{const s=i.getParticipantById(n);s?i.eventEmitter.emit(Ht,s,r):Sr.warn(`Ignoring ENDPOINT_STATS_RECEIVED for a non-existant participant: ${n}`)}),e.addListener(xt().LOCAL_UFRAG_CHANGED,(n,r)=>{n.isP2P||Ue.sendLog(JSON.stringify({id:"local_ufrag",value:r}))}),e.addListener(xt().REMOTE_UFRAG_CHANGED,(n,r)=>{n.isP2P||Ue.sendLog(JSON.stringify({id:"remote_ufrag",value:r}))}),e.addListener(xt().CREATE_ANSWER_FAILED,(n,r)=>{i.statistics.sendCreateAnswerFailed(n,r),r.isP2P||i.eventEmitter.emit(De,$e,n)}),e.addListener(xt().CREATE_OFFER_FAILED,(n,r)=>{i.statistics.sendCreateOfferFailed(n,r),r.isP2P||i.eventEmitter.emit(De,$e,n)}),e.addListener(xt().SET_LOCAL_DESCRIPTION_FAILED,(n,r)=>{i.statistics.sendSetLocalDescFailed(n,r),r.isP2P||i.eventEmitter.emit(De,$e,n)}),e.addListener(xt().SET_REMOTE_DESCRIPTION_FAILED,(n,r)=>{i.statistics.sendSetRemoteDescFailed(n,r),r.isP2P||i.eventEmitter.emit(De,$e,n)}),e.addListener(xt().LOCAL_TRACK_SSRC_UPDATED,(n,r)=>{n.isVideoTrack()&&n.videoType===zn().DESKTOP&&i.statistics.sendScreenSharingEvent(!0,r)})},Rr.prototype.removeXMPPListeners=function(){const i=this.conference;Object.keys(this.xmppListeners).forEach(e=>{i.xmpp.removeListener(e,this.xmppListeners[e])}),this.xmppListeners={}},Rr.prototype.setupXMPPListeners=function(){const i=this.conference;this._addConferenceXMPPListener(Ke().CALL_INCOMING,i.onIncomingCall.bind(i)),this._addConferenceXMPPListener(Ke().CALL_ACCEPTED,i.onCallAccepted.bind(i)),this._addConferenceXMPPListener(Ke().TRANSPORT_INFO,i.onTransportInfo.bind(i)),this._addConferenceXMPPListener(Ke().CALL_ENDED,i.onCallEnded.bind(i)),this._addConferenceXMPPListener(Ke().START_MUTED_FROM_FOCUS,(e,n)=>{i.options.config.ignoreStartMuted||(i.startAudioMuted=e,i.startVideoMuted=n,i.getLocalTracks().forEach(r=>{switch(r.getType()){case ot:i.startAudioMuted&&r.mute();break;case St:i.startVideoMuted&&r.mute()}}),i.eventEmitter.emit(Pn))}),this._addConferenceXMPPListener(Ke().CONFERENCE_TIMESTAMP_RECEIVED,e=>{i.eventEmitter.emit(It,e)}),this._addConferenceXMPPListener(Ke().AV_MODERATION_CHANGED,(e,n,r)=>{const s=i.getParticipants().find(c=>c.getJid()===r);i.eventEmitter.emit(I,{enabled:e,mediaType:n,actor:s})}),this._addConferenceXMPPListener(Ke().AV_MODERATION_PARTICIPANT_APPROVED,(e,n)=>{const r=i.getParticipantById(Ce.Strophe.getResourceFromJid(n));r&&i.eventEmitter.emit(b,{participant:r,mediaType:e})}),this._addConferenceXMPPListener(Ke().AV_MODERATION_PARTICIPANT_REJECTED,(e,n)=>{const r=i.getParticipantById(Ce.Strophe.getResourceFromJid(n));r&&i.eventEmitter.emit(ne,{participant:r,mediaType:e})}),this._addConferenceXMPPListener(Ke().AV_MODERATION_APPROVED,e=>i.eventEmitter.emit(vn,{mediaType:e})),this._addConferenceXMPPListener(Ke().AV_MODERATION_REJECTED,e=>{i.eventEmitter.emit(on,{mediaType:e})})},Rr.prototype._addConferenceXMPPListener=function(i,e){this.xmppListeners[i]=e,this.conference.xmpp.addListener(i,e)},Rr.prototype.setupStatisticsListeners=function(){const i=this.conference;i.statistics&&(i.statistics.addAudioLevelListener((e,n,r,s)=>{i.rtc.setAudioLevel(e,n,r,s)}),i.statistics.addBeforeDisposedListener(()=>{i.eventEmitter.emit(pe)}),i.options.config.startSilent||i.statistics.addByteSentStatsListener((e,n)=>{i.getLocalTracks(ot).forEach(r=>{const s=e.getLocalSSRC(r);s&&n.hasOwnProperty(s)&&r.onByteSentStatsReceived(e,n[s])})}))};const cs="track.stopped",wr="track.audioLevelsChanged",Jr="track.audioOutputChanged",br="track.trackMuteChanged",Zr="track.videoTypeChanged",Xi="track.no_data_from_source",Zi="track.no_audio_input",Fi=(0,P.getLogger)("modules/connectivity/ParticipantConnectionStatus.js"),xi={ACTIVE:"active",INACTIVE:"inactive",INTERRUPTED:"interrupted",RESTORING:"restoring"};class es{static _getNewStateForJvbMode(e,n,r,s,c){return e?s?xi.ACTIVE:A.supportsVideoMuteOnConnInterrupted()?c?n?r?xi.INTERRUPTED:xi.RESTORING:xi.INACTIVE:xi.ACTIVE:n?xi.ACTIVE:xi.INACTIVE:xi.INTERRUPTED}static _getNewStateForP2PMode(e,n){return A.supportsVideoMuteOnConnInterrupted()?e||!n?xi.ACTIVE:xi.INTERRUPTED:xi.ACTIVE}constructor(e,n,r){this.rtc=e,this.conference=n,this.trackTimers={},this.connStatusFromJvb={},this.outOfLastNTimeout=typeof r.outOfLastNTimeout=="number"?r.outOfLastNTimeout:500,this.p2pRtcMuteTimeout=typeof r.p2pRtcMuteTimeout=="number"?r.p2pRtcMuteTimeout:2500,this.rtcMuteTimeout=typeof r.rtcMuteTimeout=="number"?r.rtcMuteTimeout:1e4,this.rtcMutedTimestamp={},Fi.info(`RtcMuteTimeout set to: ${this.rtcMuteTimeout}`),this.enteredLastNTimestamp=new Map,this.restoringTimers=new Map,this.connectionStatusMap=new Map}_getVideoFrozenTimeout(e){return this.rtc.isInLastN(e)?this.rtcMuteTimeout:this.conference.isP2PActive()?this.p2pRtcMuteTimeout:this.outOfLastNTimeout}init(){this._onEndpointConnStatusChanged=this.onEndpointConnStatusChanged.bind(this),this.rtc.addListener(xt().ENDPOINT_CONN_STATUS_CHANGED,this._onEndpointConnStatusChanged),this._onP2PStatus=this.refreshConnectionStatusForAll.bind(this),this.conference.on(Dt,this._onP2PStatus),this._onUserLeft=this.onUserLeft.bind(this),this.conference.on(Yn,this._onUserLeft),A.supportsVideoMuteOnConnInterrupted()&&(this._onTrackRtcMuted=this.onTrackRtcMuted.bind(this),this.rtc.addListener(xt().REMOTE_TRACK_MUTE,this._onTrackRtcMuted),this._onTrackRtcUnmuted=this.onTrackRtcUnmuted.bind(this),this.rtc.addListener(xt().REMOTE_TRACK_UNMUTE,this._onTrackRtcUnmuted),this._onRemoteTrackAdded=this.onRemoteTrackAdded.bind(this),this.conference.on(ii,this._onRemoteTrackAdded),this._onRemoteTrackRemoved=this.onRemoteTrackRemoved.bind(this),this.conference.on(ai,this._onRemoteTrackRemoved),this._onSignallingMuteChanged=this.onSignallingMuteChanged.bind(this),this._onTrackVideoTypeChanged=this.onTrackVideoTypeChanged.bind(this)),this._onLastNChanged=this._onLastNChanged.bind(this),this.conference.on(Zt,this._onLastNChanged),this._onLastNValueChanged=this.refreshConnectionStatusForAll.bind(this),this.rtc.on(xt().LASTN_VALUE_CHANGED,this._onLastNValueChanged)}dispose(){this.rtc.removeListener(xt().ENDPOINT_CONN_STATUS_CHANGED,this._onEndpointConnStatusChanged),A.supportsVideoMuteOnConnInterrupted()&&(this.rtc.removeListener(xt().REMOTE_TRACK_MUTE,this._onTrackRtcMuted),this.rtc.removeListener(xt().REMOTE_TRACK_UNMUTE,this._onTrackRtcUnmuted),this.conference.off(ii,this._onRemoteTrackAdded),this.conference.off(ai,this._onRemoteTrackRemoved)),this.conference.off(Zt,this._onLastNChanged),this.rtc.removeListener(xt().LASTN_VALUE_CHANGED,this._onLastNValueChanged),this.conference.off(Dt,this._onP2PStatus),this.conference.off(Yn,this._onUserLeft);const e=Object.keys(this.trackTimers);for(const n of e)this.clearTimeout(n),this.clearRtcMutedTimestamp(n);for(const n in this.connectionStatusMap)this.connectionStatusMap.hasOwnProperty(n)&&this.onUserLeft(n);this.connStatusFromJvb={}}onEndpointConnStatusChanged(e,n){Fi.debug(`Detector RTCEvents.ENDPOINT_CONN_STATUS_CHANGED(${Date.now()}): ${e}: ${n}`),e!==this.conference.myUserId()&&(this.connStatusFromJvb[e]=n,this.figureOutConnectionStatus(e))}_changeConnectionStatus(e,n){if(e.getConnectionStatus()!==n){const r=e.getId();e._setConnectionStatus(n),Fi.debug(`Emit endpoint conn status(${Date.now()}) ${r}: ${n}`),Ue.sendLog(JSON.stringify({id:"peer.conn.status",participant:r,status:n})),this.conference.eventEmitter.emit(gt,r,n)}}clearTimeout(e){this.trackTimers[e]&&(window.clearTimeout(this.trackTimers[e]),this.trackTimers[e]=null)}clearRtcMutedTimestamp(e){this.rtcMutedTimestamp[e]=null}onRemoteTrackAdded(e){e.isLocal()||e.getType()!==St||(Fi.debug(`Detector on remote track added for: ${e.getParticipantId()}`),e.on(br,this._onSignallingMuteChanged),e.on(Zr,n=>this._onTrackVideoTypeChanged(e,n)))}onRemoteTrackRemoved(e){if(!e.isLocal()&&e.getType()===St){const n=e.getParticipantId();Fi.debug(`Detector on remote track removed: ${n}`),e.off(br,this._onSignallingMuteChanged),this.clearTimeout(n),this.clearRtcMutedTimestamp(n),this.figureOutConnectionStatus(n)}}isVideoTrackFrozen(e){if(!A.supportsVideoMuteOnConnInterrupted())return!1;const n=e.getId(),r=e.hasAnyVideoTrackWebRTCMuted(),s=this.rtcMutedTimestamp[n],c=this._getVideoFrozenTimeout(n);return r&&typeof s=="number"&&Date.now()-s>=c}refreshConnectionStatusForAll(){const e=this.conference.getParticipants();for(const n of e)this.figureOutConnectionStatus(n.getId())}figureOutConnectionStatus(e){const n=this.conference.getParticipantById(e);if(!n)return void Fi.debug(`figure out conn status - no participant for: ${e}`);const r=this.conference.isP2PActive(),s=this._isRestoringTimedout(e),c=this.conference.getLastN()===0,h=n.isVideoMuted()||c,S=this.isVideoTrackFrozen(n),L=this.rtc.isInLastN(e);let N=this.connStatusFromJvb[e];typeof N!="boolean"&&(N=!0);const te=r?es._getNewStateForP2PMode(h,S):es._getNewStateForJvbMode(N,L,s,h,S);te!==xi.RESTORING&&this._clearRestoringTimer(e),Fi.debug(`Figure out conn status for ${e}, is video muted: ${h} is active(jvb): ${N} video track frozen: ${S} p2p mode: ${r} is in last N: ${L} currentStatus => newStatus: ${n.getConnectionStatus()} => ${te}`);const fe=this.connectionStatusMap[e]||{};if(!("p2p"in fe)||!("connectionStatus"in fe)||fe.p2p!==r||fe.connectionStatus!==te){const Ne=Date.now();if(this.maybeSendParticipantConnectionStatusEvent(e,Ne),this.connectionStatusMap[e]=dn(Ft({},fe),{connectionStatus:te,p2p:r,startedMs:Ne}),!("videoType"in this.connectionStatusMap[e])){const ze=n.getTracksByMediaType(St);Array.isArray(ze)&&ze.length!==0&&(this.connectionStatusMap[e].videoType=ze[0].videoType)}}this._changeConnectionStatus(n,te)}maybeSendParticipantConnectionStatusEvent(e,n){const r=this.connectionStatusMap[e];r&&"startedMs"in r&&"videoType"in r&&"connectionStatus"in r&&"p2p"in r&&(r.value=n-r.startedMs,Ue.sendAnalytics(function(){return{type:qn,source:"peer.conn.status",action:"duration",attributes:arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}}}(r)))}_onLastNChanged(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const r=Date.now();Fi.debug(`LastN endpoints changed leaving=${e}, entering=${n} at ${r}`),A.supportsVideoMuteOnConnInterrupted()||this.refreshConnectionStatusForAll();for(const s of e)this.enteredLastNTimestamp.delete(s),this._clearRestoringTimer(s),A.supportsVideoMuteOnConnInterrupted()&&this.figureOutConnectionStatus(s);for(const s of n)this.enteredLastNTimestamp.set(s,r),A.supportsVideoMuteOnConnInterrupted()&&this.figureOutConnectionStatus(s)}_clearRestoringTimer(e){const n=this.restoringTimers.get(e);n&&(clearTimeout(n),this.restoringTimers.delete(e))}_isRestoringTimedout(e){const n=this.enteredLastNTimestamp.get(e);return!!(n&&Date.now()-n>=1e4)||(this.restoringTimers.get(e)||this.restoringTimers.set(e,setTimeout(()=>this.figureOutConnectionStatus(e),1e4)),!1)}onUserLeft(e){this.maybeSendParticipantConnectionStatusEvent(e,Date.now()),delete this.connectionStatusMap[e]}onTrackRtcMuted(e){const n=e.getParticipantId(),r=this.conference.getParticipantById(n);if(Fi.debug(`Detector track RTC muted: ${n}`,Date.now()),r){if(this.rtcMutedTimestamp[n]=Date.now(),!r.isVideoMuted()){this.clearTimeout(n);const s=this._getVideoFrozenTimeout(n);this.trackTimers[n]=window.setTimeout(()=>{Fi.debug(`Set RTC mute timeout for: ${n} of ${s} ms`),this.clearTimeout(n),this.figureOutConnectionStatus(n)},s)}}else Fi.error(`No participant for id: ${n}`)}onTrackRtcUnmuted(e){const n=e.getParticipantId();Fi.debug(`Detector track RTC unmuted: ${n}`,Date.now()),this.clearTimeout(n),this.clearRtcMutedTimestamp(n),this.figureOutConnectionStatus(n)}onSignallingMuteChanged(e){const n=e.getParticipantId();Fi.debug(`Detector on track signalling mute changed: ${n}`,e.isMuted()),this.figureOutConnectionStatus(n)}onTrackVideoTypeChanged(e,n){const r=e.getParticipantId(),s=Date.now();this.maybeSendParticipantConnectionStatusEvent(r,s),this.connectionStatusMap[r]=dn(Ft({},this.connectionStatusMap[r]||{}),{videoType:n,startedMs:s})}}class ko{constructor(e,n,r,s,c,h,S,L,N){this._jid=e,this._id=Ce.Strophe.getResourceFromJid(e),this._conference=n,this._displayName=r,this._supportsDTMF=!1,this._tracks=[],this._role="none",this._status=h,this._hidden=s,this._statsID=c,this._connectionStatus=xi.ACTIVE,this._properties={},this._identity=S,this._isReplacing=L,this._isReplaced=N,this._features=new Set}getConference(){return this._conference}getProperty(e){return this._properties[e]}hasAnyVideoTrackWebRTCMuted(){return this.getTracks().some(e=>e.getType()===St&&e.isWebRTCTrackMuted())}_setConnectionStatus(e){this._connectionStatus=e}getConnectionStatus(){return this._connectionStatus}setProperty(e,n){const r=this._properties[e];n!==r&&(this._properties[e]=n,this._conference.eventEmitter.emit(xe,this,e,r,n))}getTracks(){return this._tracks.slice()}getTracksByMediaType(e){return this.getTracks().filter(n=>n.getType()===e)}getId(){return this._id}getJid(){return this._jid}getDisplayName(){return this._displayName}getStatsID(){return this._statsID}getStatus(){return this._status}isModerator(){return this._role==="moderator"}isHidden(){return this._hidden}isReplacing(){return this._isReplacing}isReplaced(){return this._isReplaced}isAudioMuted(){return this._isMediaTypeMuted(ot)}_isMediaTypeMuted(e){return this.getTracks().reduce((n,r)=>n&&(r.getType()!==e||r.isMuted()),!0)}isVideoMuted(){return this._isMediaTypeMuted(St)}getRole(){return this._role}setRole(e){this._role=e}setIsReplacing(e){this._isReplacing=e}setIsReplaced(e){this._isReplaced=e}supportsDTMF(){return this._supportsDTMF}getFeatures(){return Promise.resolve(this._features)}hasFeature(e){return this._features.has(e)}setFeatures(e){this._features=e||new Set}getBotType(){return this._botType}setBotType(e){this._botType=e}}const Qn="connection.connectionDisconnected",Gr="connection.connectionEstablished",vi="connection.connectionFailed",er="connection.wrongState",ls="connection.display_name_required";o(5808);const Os="connection.droppedError",us="connection.otherError",Ds="connection.passwordRequired",Ms="connection.serverError";class tr{constructor(){var e=this;this.promise=new Promise((n,r)=>{this.resolve=function(){e.clearRejectTimeout(),n(...arguments)},this.reject=function(){e.clearRejectTimeout(),r(...arguments)}}),this.then=this.promise.then.bind(this.promise),this.catch=this.promise.catch.bind(this.promise)}clearRejectTimeout(){clearTimeout(this._timeout)}setRejectTimeout(e){this._timeout=setTimeout(()=>{this.reject(new Error("timeout"))},e)}}class ki{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new(tt());this.eventEmitter=e,this.addEventListener=this.on=this.addListener,this.removeEventListener=this.off=this.removeListener}addListener(e,n){return this.eventEmitter.addListener(e,n),()=>this.removeEventListener(e,n)}removeListener(e,n){this.eventEmitter.removeListener(e,n)}}const so=(0,P.getLogger)("modules/e2ee/E2EEContext.js"),Ir=Symbol("kJitsiE2EE");class ds{constructor(){let{sharedKey:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n="";const r=document.querySelector('script[src*="lib-jitsi-meet"]');if(r){const c=r.src.lastIndexOf("/");n=`${r.src.substring(0,c)}/`}let s=`${n}lib-jitsi-meet.e2ee-worker.js`;if(n&&n!=="/"){const c=new Blob([`importScripts("${s}");`],{type:"application/javascript"});s=window.URL.createObjectURL(c)}this._worker=new Worker(s,{name:"E2EE Worker"}),this._worker.onerror=c=>so.error(c),this._worker.postMessage({operation:"initialize",sharedKey:e})}cleanup(e){this._worker.postMessage({operation:"cleanup",participantId:e})}cleanupAll(){this._worker.postMessage({operation:"cleanupAll"})}handleReceiver(e,n,r){if(!e[Ir])if(e[Ir]=!0,window.RTCRtpScriptTransform){const s={operation:"decode",participantId:r};e.transform=new RTCRtpScriptTransform(this._worker,s)}else{const s=e.createEncodedStreams();this._worker.postMessage({operation:"decode",readableStream:s.readable,writableStream:s.writable,participantId:r},[s.readable,s.writable])}}handleSender(e,n,r){if(!e[Ir])if(e[Ir]=!0,window.RTCRtpScriptTransform){const s={operation:"encode",participantId:r};e.transform=new RTCRtpScriptTransform(this._worker,s)}else{const s=e.createEncodedStreams();this._worker.postMessage({operation:"encode",readableStream:s.readable,writableStream:s.writable,participantId:r},[s.readable,s.writable])}}setKey(e,n,r){this._worker.postMessage({operation:"setKey",key:n,keyIndex:r,participantId:e})}}const hs=(0,P.getLogger)("modules/e2ee/KeyHandler.js");class ts extends ki{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),this.conference=e,this.e2eeCtx=new ds(n),this.enabled=!1,this._enabling=void 0,this.conference.on(Ae,this._onMediaSessionStarted.bind(this)),this.conference.on(ii,r=>r.isLocal()&&this._onLocalTrackAdded(r)),this.conference.rtc.on(xt().REMOTE_TRACK_ADDED,(r,s)=>this._setupReceiverE2EEForTrack(s,r)),this.conference.on(Di,this._trackMuteChanged.bind(this))}isEnabled(){return this.enabled}setEnabled(e){return mi(this,null,function*(){e!==this.enabled&&(this._enabling&&(yield this._enabling),this._enabling=new tr,this.enabled=e,e||this.e2eeCtx.cleanupAll(),this._setEnabled&&(yield this._setEnabled(e)),this.conference.setLocalParticipantProperty("e2ee.enabled",e),this.conference._restartMediaSessions(),this._enabling.resolve())})}setEncryptionKey(){throw new Error("Not implemented by subclass")}_onLocalTrackAdded(e){for(const n of this.conference._getMediaSessions())this._setupSenderE2EEForTrack(n,e)}_onMediaSessionStarted(e){const n=this.conference.getLocalTracks();for(const r of n)this._setupSenderE2EEForTrack(e,r)}_setupReceiverE2EEForTrack(e,n){if(!this.enabled)return;const r=e.findReceiverForTrack(n.track);r?this.e2eeCtx.handleReceiver(r,n.getType(),n.getParticipantId()):hs.warn(`Could not handle E2EE for ${n}: receiver not found in: ${e}`)}_setupSenderE2EEForTrack(e,n){if(!this.enabled)return;const r=e.peerconnection,s=r&&r.findSenderForTrack(n.track);s?this.e2eeCtx.handleSender(s,n.getType(),n.getParticipantId()):hs.warn(`Could not handle E2EE for ${n}: sender not found in ${r}`)}_trackMuteChanged(e){if(A.doesVideoMuteByStreamRemove()&&e.isLocal()&&e.isVideoTrack()&&!e.isMuted())for(const n of this.conference._getMediaSessions())this._setupSenderE2EEForTrack(n,e)}}class Ns extends ts{constructor(e){super(e,{sharedKey:!0})}setKey(e){this.e2eeCtx.setKey(void 0,{encryptionKey:e.encryptionKey},e.index)}}var Ls=o(1296),le=o.n(Ls),Te=o(9742),Je=o(7593);Je.v1,Je.v3;const vt=Je.v4;Je.v5;const Qe=(0,P.getLogger)("modules/e2ee/OlmAdapter.js"),Et="olm",Ot="error",Bt="key-info",Jt="key-info-ack",fn="session-ack",mn="session-init",ln=Symbol("OlmData"),In={OLM_ID_KEY_READY:"olm.id_key_ready",PARTICIPANT_E2EE_CHANNEL_READY:"olm.participant_e2ee_channel_ready",PARTICIPANT_KEY_UPDATED:"olm.partitipant_key_updated"};class ni extends ki{constructor(e){super(),this._conf=e,this._init=new tr,this._key=void 0,this._keyIndex=-1,this._reqs=new Map,this._sessionInitialization=void 0,ni.isSupported()?(this._bootstrapOlm(),this._conf.on(Xt,this._onEndpointMessageReceived.bind(this)),this._conf.on(Z,this._onConferenceLeft.bind(this)),this._conf.on(Yn,this._onParticipantLeft.bind(this)),this._conf.on(xe,this._onParticipantPropertyChanged.bind(this))):this._init.reject(new Error("Olm not supported"))}initSessions(){return mi(this,null,function*(){if(this._sessionInitialization)throw new Error("OlmAdapter initSessions called multiple times");{this._sessionInitialization=new tr,yield this._init;const e=[],n=this._conf.myUserId();for(const r of this._conf.getParticipants())r.hasFeature(_o)&&n<r.getId()&&e.push(this._sendSessionInit(r));yield Promise.allSettled(e),this._sessionInitialization.resolve(),this._sessionInitialization=void 0}})}static isSupported(){return window.Olm!==void 0}updateKey(e){return mi(this,null,function*(){this._key=e,this._keyIndex++;const n=[];for(const r of this._conf.getParticipants()){const s=r.getId(),c=this._getParticipantOlmData(r);if(!c.session){Qe.warn(`Tried to send key to participant ${s} but we have no session`);continue}const h=vt(),S={[Wi]:Et,olm:{type:Bt,data:{ciphertext:this._encryptKeyInfo(c.session),uuid:h}}},L=new tr;L.setRejectTimeout(5e3),L.catch(()=>{this._reqs.delete(h)}),this._reqs.set(h,L),n.push(L),this._sendMessage(S,s)}return yield Promise.allSettled(n),this._keyIndex})}updateCurrentKey(e){return this._key=e,this._keyIndex}clearParticipantSession(e){const n=this._getParticipantOlmData(e);n.session&&(n.session.free(),n.session=void 0)}clearAllParticipantsSessions(){for(const e of this._conf.getParticipants())this.clearParticipantSession(e)}_bootstrapOlm(){return mi(this,null,function*(){Qe.debug("Initializing Olm...");try{yield Olm.init(),this._olmAccount=new Olm.Account,this._olmAccount.create();const e=JSON.parse(this._olmAccount.identity_keys());this._idKey=e.curve25519,Qe.debug(`Olm ${Olm.get_library_version().join(".")} initialized`),this._init.resolve(),this._onIdKeyReady(this._idKey)}catch(e){Qe.error("Failed to initialize Olm",e),this._init.reject(e)}})}_onIdKeyReady(e){Qe.debug(`Olm id key ready: ${e}`),this._conf.setLocalParticipantProperty("e2ee.idKey",e)}_onParticipantE2EEChannelReady(e){Qe.debug(`E2EE channel with participant ${e} is ready`)}_encryptKeyInfo(e){const n={};return this._key!==void 0&&(n.key=!!this._key&&Te.fromByteArray(this._key),n.keyIndex=this._keyIndex),e.encrypt(JSON.stringify(n))}_getParticipantOlmData(e){return e[ln]=e[ln]||{},e[ln]}_onConferenceLeft(){return mi(this,null,function*(){Qe.debug("Conference left"),yield this._init;for(const e of this._conf.getParticipants())this._onParticipantLeft(e.getId(),e);this._olmAccount&&(this._olmAccount.free(),this._olmAccount=void 0)})}_onEndpointMessageReceived(e,n){return mi(this,null,function*(){if(n[Wi]!==Et)return;if(!n.olm)return void Qe.warn("Incorrectly formatted message");yield this._init;const r=n.olm,s=e.getId(),c=this._getParticipantOlmData(e);switch(r.type){case mn:if(c.session)Qe.warn(`Participant ${s} already has a session`),this._sendError(e,"Session already established");else{const h=new Olm.Session;h.create_outbound(this._olmAccount,r.data.idKey,r.data.otKey),c.session=h;const S={[Wi]:Et,olm:{type:fn,data:{ciphertext:this._encryptKeyInfo(h),uuid:r.data.uuid}}};this._sendMessage(S,s),this._onParticipantE2EEChannelReady(s)}break;case fn:if(c.session)Qe.warn(`Participant ${s} already has a session`),this._sendError(e,"No session found");else if(r.data.uuid===c.pendingSessionUuid){const{ciphertext:h}=r.data,S=this._reqs.get(r.data.uuid),L=new Olm.Session;L.create_inbound(this._olmAccount,h.body),this._olmAccount.remove_one_time_keys(L);const N=L.decrypt(h.type,h.body);c.session=L,c.pendingSessionUuid=void 0,this._onParticipantE2EEChannelReady(s),this._reqs.delete(r.data.uuid),S.resolve();const te=yn(N);if(te.key){const fe=Te.toByteArray(te.key),Ne=te.keyIndex;c.lastKey=fe,this.eventEmitter.emit(In.PARTICIPANT_KEY_UPDATED,s,fe,Ne)}}else Qe.warn("Received ACK with the wrong UUID"),this._sendError(e,"Invalid UUID");break;case Ot:Qe.error(r.data.error);break;case Bt:if(c.session){const{ciphertext:h}=r.data,S=yn(c.session.decrypt(h.type,h.body));if(S.key!==void 0&&S.keyIndex!==void 0){const L=!!S.key&&Te.toByteArray(S.key),N=S.keyIndex;et()(c.lastKey,L)||(c.lastKey=L,this.eventEmitter.emit(In.PARTICIPANT_KEY_UPDATED,s,L,N));const te={[Wi]:Et,olm:{type:Jt,data:{ciphertext:this._encryptKeyInfo(c.session),uuid:r.data.uuid}}};this._sendMessage(te,s)}}else Qe.debug(`Received key info message from ${s} but we have no session for them!`),this._sendError(e,"No session found while processing key-info");break;case Jt:if(c.session){const{ciphertext:h}=r.data,S=yn(c.session.decrypt(h.type,h.body));if(S.key!==void 0&&S.keyIndex!==void 0){const N=!!S.key&&Te.toByteArray(S.key),te=S.keyIndex;et()(c.lastKey,N)||(c.lastKey=N,this.eventEmitter.emit(In.PARTICIPANT_KEY_UPDATED,s,N,te))}const L=this._reqs.get(r.data.uuid);this._reqs.delete(r.data.uuid),L.resolve()}else Qe.debug(`Received key info ack message from ${s} but we have no session for them!`),this._sendError(e,"No session found while processing key-info-ack")}})}_onParticipantLeft(e,n){Qe.debug(`Participant ${e} left`),this.clearParticipantSession(n)}_onParticipantPropertyChanged(e,n,r,s){return mi(this,null,function*(){if(n==="e2ee.enabled"&&s&&this._conf.isE2EEEnabled()){const c=this._conf.myUserId(),h=e.getId();if((yield e.getFeatures()).has(_o)&&c<h){this._sessionInitialization&&(yield this._sessionInitialization),yield this._sendSessionInit(e);const S=this._getParticipantOlmData(e),L=vt(),N={[Wi]:Et,olm:{type:Bt,data:{ciphertext:this._encryptKeyInfo(S.session),uuid:L}}};this._sendMessage(N,h)}}})}_sendError(e,n){const r=e.getId(),s={[Wi]:Et,olm:{type:Ot,data:{error:n}}};this._sendMessage(s,r)}_sendMessage(e,n){this._conf.sendMessage(e,n)}_sendSessionInit(e){const n=e.getId(),r=this._getParticipantOlmData(e);if(r.session)return Qe.warn(`Tried to send session-init to ${n} but we already have a session`),Promise.reject();if(r.pendingSessionUuid!==void 0)return Qe.warn(`Tried to send session-init to ${n} but we already have a pending session`),Promise.reject();this._olmAccount.generate_one_time_keys(1);const s=JSON.parse(this._olmAccount.one_time_keys()),c=Object.values(s.curve25519)[0];if(!c)return Promise.reject(new Error("No one-time-keys generated"));this._olmAccount.mark_keys_as_published();const h=vt(),S={[Wi]:Et,olm:{type:mn,data:{idKey:this._idKey,otKey:c,uuid:h}}},L=new tr;return L.setRejectTimeout(5e3),L.catch(()=>{this._reqs.delete(h),r.pendingSessionUuid=void 0}),this._reqs.set(h,L),this._sendMessage(S,n),r.pendingSessionUuid=h,L}}function yn(i){try{return JSON.parse(i)}catch(e){return{}}}ni.events=In;const fi=(0,P.getLogger)("modules/e2ee/ManagedKeyHandler.js");class bi extends ts{constructor(e){super(e),this._key=void 0,this._conferenceJoined=!1,this._olmAdapter=new ni(e),this._rotateKey=le()(this._rotateKeyImpl,5e3),this._ratchetKey=le()(this._ratchetKeyImpl,5e3),this._olmAdapter.on(ni.events.PARTICIPANT_KEY_UPDATED,this._onParticipantKeyUpdated.bind(this)),this.conference.on(xe,this._onParticipantPropertyChanged.bind(this)),this.conference.on(ti,this._onParticipantJoined.bind(this)),this.conference.on(Yn,this._onParticipantLeft.bind(this)),this.conference.on(U,()=>{this._conferenceJoined=!0})}_setEnabled(e){return mi(this,null,function*(){e?yield this._olmAdapter.initSessions():this._olmAdapter.clearAllParticipantsSessions(),this._key=!!e&&this._generateKey();const n=yield this._olmAdapter.updateKey(this._key);this.e2eeCtx.setKey(this.conference.myUserId(),this._key,n)})}_onParticipantPropertyChanged(e,n,r,s){return mi(this,null,function*(){switch(n){case"e2ee.idKey":fi.debug(`Participant ${e.getId()} updated their id key: ${s}`);break;case"e2ee.enabled":!s&&this.enabled&&this._olmAdapter.clearParticipantSession(e)}})}_onParticipantJoined(){this._conferenceJoined&&this.enabled&&this._ratchetKey()}_onParticipantLeft(e){this.e2eeCtx.cleanup(e),this.enabled&&this._rotateKey()}_rotateKeyImpl(){return mi(this,null,function*(){fi.debug("Rotating key"),this._key=this._generateKey();const e=yield this._olmAdapter.updateKey(this._key);this.e2eeCtx.setKey(this.conference.myUserId(),this._key,e)})}_ratchetKeyImpl(){return mi(this,null,function*(){fi.debug("Ratchetting key");const e=yield function(s){return mi(this,null,function*(){return crypto.subtle.importKey("raw",s,"HKDF",!1,["deriveBits","deriveKey"])})}(this._key),n=yield function(s){return mi(this,null,function*(){const c=new TextEncoder;return crypto.subtle.deriveBits({name:"HKDF",salt:c.encode("JFrameRatchetKey"),hash:"SHA-256",info:new ArrayBuffer},s,256)})}(e);this._key=new Uint8Array(n);const r=this._olmAdapter.updateCurrentKey(this._key);this.e2eeCtx.setKey(this.conference.myUserId(),this._key,r)})}_onParticipantKeyUpdated(e,n,r){fi.debug(`Participant ${e} updated their key`),this.e2eeCtx.setKey(e,n,r)}_generateKey(){return window.crypto.getRandomValues(new Uint8Array(32))}}class Pi{constructor(e){const{e2ee:n={}}=e.options.config;this._externallyManaged=n.externallyManagedKey,this._externallyManaged?this._keyHandler=new Ns(e):this._keyHandler=new bi(e)}static isSupported(e){const{e2ee:n={}}=e;return!(!n.externallyManagedKey&&!ni.isSupported())&&!(e.testing&&e.testing.disableE2EE)&&(A.supportsInsertableStreams()||e.enableEncodedTransformSupport&&A.supportsEncodedTransform())}isEnabled(){return this._keyHandler.isEnabled()}setEnabled(e){return mi(this,null,function*(){yield this._keyHandler.setEnabled(e)})}setEncryptionKey(e){this._keyHandler.setKey(e)}}var ei=o(5399),ji=o.n(ei);const Mi=["category","type","lang","name"],_i=["category","type","lang"];function nr(i,e){let n=0;return _i.some(r=>(n=i[r]>e[r]?1:i[r]<e[r]&&-1)!==0),n}function ns(i){const e=new Set,n=new Set;return $(i).find(">query>feature").each((r,s)=>e.add(s.getAttribute("var"))),$(i).find(">query>identity").each((r,s)=>n.add({type:s.getAttribute("type"),name:s.getAttribute("name"),category:s.getAttribute("category")})),{features:e,identities:n}}class oo extends ki{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"http://jitsi.org/jitsimeet";if(super(),this.node=n,this.disco=e.disco,!this.disco)throw new Error("Missing strophe-plugins (disco plugin is required)!");this.version="",this.rooms=new Set,this.externalFeatures=new Set;const r=e.emuc;r.addListener(Ke().EMUC_ROOM_ADDED,s=>this._addChatRoom(s)),r.addListener(Ke().EMUC_ROOM_REMOVED,s=>this._removeChatRoom(s)),Object.keys(r.rooms).forEach(s=>{this._addChatRoom(r.rooms[s])}),Ce.Strophe.addNamespace("CAPS","http://jabber.org/protocol/caps"),this.disco.addFeature(Ce.Strophe.NS.CAPS)}addFeature(e){let n=arguments.length>1&&arguments[1]!==void 0&&arguments[1],r=arguments.length>2&&arguments[2]!==void 0&&arguments[2];this.disco.addFeature(e),this._generateVersion(),r&&!this.externalFeatures.has(e)&&(this.externalFeatures.add(e),this.rooms.forEach(s=>this._updateRoomWithExternalFeatures(s))),n&&this.submit()}removeFeature(e){let n=arguments.length>1&&arguments[1]!==void 0&&arguments[1],r=arguments.length>2&&arguments[2]!==void 0&&arguments[2];this.disco.removeFeature(e),this._generateVersion(),r&&this.externalFeatures.has(e)&&(this.externalFeatures.delete(e),this.rooms.forEach(s=>this._updateRoomWithExternalFeatures(s))),n&&this.submit()}submit(){this.rooms.forEach(e=>e.sendPresence())}_updateRoomWithExternalFeatures(e){if(this.externalFeatures.size===0)e.removeFromPresence("features");else{const n=[];this.externalFeatures.forEach(r=>{n.push({tagName:"feature",attributes:{var:r}})}),e.addOrReplaceInPresence("features",{children:n})}}getFeaturesAndIdentities(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5e3;return this._getDiscoInfo(e,n,r)}_getDiscoInfo(e,n,r){return new Promise((s,c)=>this.disco.info(e,n,h=>{s(ns(h))},c,r))}_addChatRoom(e){this.rooms.add(e),this._fixChatRoomPresenceMap(e),this._updateRoomWithExternalFeatures(e)}_removeChatRoom(e){this.rooms.delete(e)}_fixChatRoomPresenceMap(e){e.addOrReplaceInPresence("c",{attributes:{xmlns:Ce.Strophe.NS.CAPS,hash:"sha-1",node:this.node,ver:this.version}})}_notifyVersionChanged(){this.rooms.forEach(e=>this._fixChatRoomPresenceMap(e))}_generateVersion(){this.version=function(e,n){const r=e.sort(nr).reduce((c,h)=>`${Mi.reduce((S,L,N)=>S+(N===0?"":"/")+(h[L]?h[L]:""),"")}<`,""),s=n.sort().reduce((c,h)=>`${c+h}<`,"");return(0,Ce.b64_sha1)(r+s)}(this.disco._identities,this.disco._features),this._notifyVersionChanged()}}o(6552);const xs="NETWORK_INFO_CHANGED",Bo=(0,P.getLogger)("modules/connectivity/NetworkInfo.js"),Uo=new class extends ki{constructor(){super(),this._current={isOnline:!0}}updateNetworkInfo(i){let{isOnline:e}=i;Bo.debug("updateNetworkInfo",{isOnline:e}),this._current={isOnline:e===!0},this.eventEmitter.emit(xs,this._current)}isOnline(){return this._current.isOnline===!0}},ps=(0,P.getLogger)("modules/xmpp/ResumeTask.js");class Hl{constructor(e){this._stropheConn=e,this._resumeRetryN=0,this._retryDelay=void 0}get retryDelay(){return this._retryDelay}schedule(){this._cancelResume(),this._resumeRetryN+=1,this._networkOnlineListener=Uo.addEventListener(xs,e=>{let{isOnline:n}=e;n?this._scheduleResume():this._cancelResume()}),Uo.isOnline()&&this._scheduleResume()}_scheduleResume(){this._resumeTimeout||(this._resumeRetryN=Math.min(3,this._resumeRetryN),this._retryDelay=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:2;return Math.floor(Math.random()*(1e3*Math.pow(r,e)-n)+n)}(this._resumeRetryN,1500*this._resumeRetryN,3),ps.info(`Will try to resume the XMPP connection in ${this.retryDelay}ms`),this._resumeTimeout=setTimeout(()=>this._resumeConnection(),this.retryDelay))}_cancelResume(){this._resumeTimeout&&(ps.info("Canceling connection resume task"),clearTimeout(this._resumeTimeout),this._resumeTimeout=void 0,this._retryDelay=void 0)}_resumeConnection(){try{const{streamManagement:e}=this._stropheConn,n=e.getResumeToken();if(!n)return;ps.info("Trying to resume the XMPP connection",this._stropheConn.service);let r=this._stropheConn.service,s=r.includes("?")?r.replace(/.*\?/,"?"):"";const c=/(previd=)([\w-]+)/,h=s.match(c);h&&h.indexOf(n)===-1?s=s.replace(c,`$1${n}`):h||(s+=s.indexOf("?")===-1?`?previd=${n}`:`&previd=${n}`),ps.info("Trying to resume the XMPP connection search let --",s),r=r.includes("?")?r.replace(/\?.*/,s):r+s,this._stropheConn.service=r.toString(),ps.info("Trying to resume the XMPP connection final--",this._stropheConn.service),e.resume()}catch(e){ps.info("in Catch >>>>>>>>>>>>",e)}}cancel(){this._cancelResume(),this._resumeRetryN=0,this._networkOnlineListener&&(this._networkOnlineListener(),this._networkOnlineListener=null)}}class Jl{constructor(){this._lastSuccess=null,this._lastFailedMessage=null}startTracking(e,n){var r=this;const s=n.rawInput;n.rawInput=function(){for(var c=arguments.length,h=new Array(c),S=0;S<c;S++)h[S]=arguments[S];const L=h[0];L.includes("failure")&&(r._lastFailedMessage=L),e.connected&&(r._lastSuccess=Date.now()),s.apply(n,h)}}getLastFailedMessage(){return this._lastFailedMessage}getTimeSinceLastSuccess(){return this._lastSuccess?Date.now()-this._lastSuccess:null}}function Va(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:class{};return class extends i{constructor(){super(...arguments),this.connection=null}init(e){this.connection=e}}}const ao=Va(),Gl=Va(ki),co=(0,P.getLogger)("modules/xmpp/strophe.ping.js");class Ql extends ao{constructor(e){let{getTimeSinceLastServerResponse:n,onPingThresholdExceeded:r,pingOptions:s={}}=e;super(),this.failedPings=0,this._onPingThresholdExceeded=r,this._getTimeSinceLastServerResponse=n,this.pingInterval=typeof s.interval=="number"?s.interval:1e4,this.pingTimeout=typeof s.timeout=="number"?s.timeout:5e3,this.pingThreshold=typeof s.threshold=="number"?s.threshold:2,this.pingTimestampsToKeep=Math.round(12e4/this.pingInterval),this.pingExecIntervals=new Array(this.pingTimestampsToKeep)}init(e){super.init(e),Ce.Strophe.addNamespace("PING","urn:xmpp:ping")}ping(e,n,r,s){this._addPingExecutionTimestamp();const c=(0,Ce.$iq)({type:"get",to:e});c.c("ping",{xmlns:Ce.Strophe.NS.PING}),this.connection.sendIQ2(c,{timeout:s}).then(n,r)}startInterval(e){clearInterval(this.intervalId),this.intervalId=window.setInterval(()=>{const n=Date.now();if(this._getTimeSinceLastServerResponse()<n-this._lastServerCheck)return this._addPingExecutionTimestamp(),this._lastServerCheck=n,void(this.failedPings=0);this.ping(e,()=>{this._lastServerCheck=this._getTimeSinceLastServerResponse()+Date.now(),this.failedPings=0},r=>{this.failedPings+=1;const s="Ping "+(r?"error":"timeout");this.failedPings>=this.pingThreshold?(V().callErrorHandler(new Error(s)),co.error(s,r),this._onPingThresholdExceeded&&this._onPingThresholdExceeded()):co.warn(s,r)},this.pingTimeout)},this.pingInterval),co.info(`XMPP pings will be sent every ${this.pingInterval} ms`)}stopInterval(){this.intervalId&&(window.clearInterval(this.intervalId),this.intervalId=null,this.failedPings=0,co.info("Ping interval cleared"))}_addPingExecutionTimestamp(){this.pingExecIntervals.push(new Date().getTime()),this.pingExecIntervals.length>this.pingTimestampsToKeep&&this.pingExecIntervals.shift()}getPingSuspendTime(){const e=this.pingExecIntervals.slice();e.push(new Date().getTime());let n=0,r=e[0];return e.forEach(s=>{const c=s-r;c>n&&(n=c),r=s}),n-=this.pingInterval,Math.max(n,0)}}const Cr=(0,P.getLogger)("modules/xmpp/XmppConnection.js");class Pr extends ki{static get Events(){return{CONN_STATUS_CHANGED:"CONN_STATUS_CHANGED",CONN_SHARD_CHANGED:"CONN_SHARD_CHANGED"}}static get Status(){return Ce.Strophe.Status}constructor(e){let{enableWebsocketResume:n,websocketKeepAlive:r,websocketKeepAliveUrl:s,serviceUrl:c,shard:h,xmppPing:S}=e;super(),this._options={enableWebsocketResume:n===void 0||n,pingOptions:S,shard:h,websocketKeepAlive:r===void 0?6e4:Number(r),websocketKeepAliveUrl:s},this._stropheConn=new Ce.Strophe.Connection(c),this._usesWebsocket=c.startsWith("ws:")||c.startsWith("wss:"),this._stropheConn.maxRetries=3,this._rawInputTracker=new Jl,this._rawInputTracker.startTracking(this,this._stropheConn),this._resumeTask=new Hl(this._stropheConn),this._deferredIQs=[],this.addConnectionPlugin("ping",new Ql({getTimeSinceLastServerResponse:()=>this.getTimeSinceLastSuccess(),onPingThresholdExceeded:()=>this._onPingErrorThresholdExceeded(),pingOptions:S})),this._oneSuccessfulConnect=!1}get connected(){const e=this._stropheConn&&this._stropheConn._proto&&this._stropheConn._proto.socket;return(this._status===Ce.Strophe.Status.CONNECTED||this._status===Ce.Strophe.Status.ATTACHED)&&(!this.isUsingWebSocket||e&&e.readyState===WebSocket.OPEN)}get disco(){return this._stropheConn.disco}get disconnecting(){return this._stropheConn.disconnecting===!0}get domain(){return this._stropheConn.domain}get isUsingWebSocket(){return this._usesWebsocket}get jid(){return this._stropheConn.jid}get lastResponseHeaders(){return this._stropheConn._proto&&this._stropheConn._proto.lastResponseHeaders}get logger(){return this._stropheConn.logger}get options(){return this._stropheConn.options}get pingDomain(){var e;return((e=this._options.pingOptions)===null||e===void 0?void 0:e.domain)||this.domain}get service(){return this._stropheConn.service}set shard(e){this._options.shard=e,this._oneSuccessfulConnect&&this._maybeStartWSKeepAlive()}get status(){return this._status}addConnectionPlugin(e,n){this[e]=n,n.init(this)}addHandler(){this._stropheConn.addHandler(...arguments)}attach(e,n,r,s){for(var c=arguments.length,h=new Array(c>4?c-4:0),S=4;S<c;S++)h[S-4]=arguments[S];this._stropheConn.attach(e,n,r,this._stropheConnectionCb.bind(this,s),...h)}connect(e,n,r){for(var s=arguments.length,c=new Array(s>3?s-3:0),h=3;h<s;h++)c[h-3]=arguments[h];this._stropheConn.connect(e,n,this._stropheConnectionCb.bind(this,r),...c)}_stropheConnectionCb(e,n){this._status=n;let r=!1;var s;if(n===Ce.Strophe.Status.CONNECTED||n===Ce.Strophe.Status.ATTACHED?(this._maybeEnableStreamResume(),this._usesWebsocket&&this._oneSuccessfulConnect&&this._keepAliveAndCheckShard(),this._oneSuccessfulConnect=!0,this._maybeStartWSKeepAlive(),this._processDeferredIQs(),this._resumeTask.cancel(),this.ping.startInterval(((s=this._options.pingOptions)===null||s===void 0?void 0:s.domain)||this.domain)):n===Ce.Strophe.Status.DISCONNECTED&&(this.ping.stopInterval(),r=this._tryResumingConnection(),r||clearTimeout(this._wsKeepAlive)),!r){for(var c=arguments.length,h=new Array(c>2?c-2:0),S=2;S<c;S++)h[S-2]=arguments[S];e(n,...h),this.eventEmitter.emit(Pr.Events.CONN_STATUS_CHANGED,n)}}_clearDeferredIQs(){for(const e of this._deferredIQs)e.reject(new Error("disconnect"));this._deferredIQs=[]}closeWebsocket(){this._stropheConn&&this._stropheConn._proto&&(this._stropheConn._proto._closeSocket(),this._stropheConn._proto._onClose(null))}disconnect(){this._resumeTask.cancel(),clearTimeout(this._wsKeepAlive),this._clearDeferredIQs(),this._stropheConn.disconnect(...arguments)}flush(){this._stropheConn.flush(...arguments)}getTimeSinceLastSuccess(){return this._rawInputTracker.getTimeSinceLastSuccess()}getLastFailedMessage(){return this._rawInputTracker.getLastFailedMessage()}_maybeEnableStreamResume(){if(!this._options.enableWebsocketResume)return;const{streamManagement:e}=this._stropheConn;this.isUsingWebSocket?e?e.isSupported()?e.getResumeToken()||(Cr.info("Enabling XEP-0198 stream management"),e.enable(!0)):Cr.warn("Stream resume enabled, but XEP-0198 is not supported by the server"):Cr.warn("Stream resume enabled, but Strophe streamManagement plugin is not installed"):Cr.warn("Stream resume enabled, but WebSockets are not enabled")}_maybeStartWSKeepAlive(){const{websocketKeepAlive:e}=this._options;if(this._usesWebsocket&&e>0){this._wsKeepAlive||Cr.info(`WebSocket keep alive interval: ${e}ms`),clearTimeout(this._wsKeepAlive);const n=e+60*Math.random()*1e3;Cr.debug(`Scheduling next WebSocket keep-alive in ${n}ms`),this._wsKeepAlive=setTimeout(()=>this._keepAliveAndCheckShard().then(()=>this._maybeStartWSKeepAlive()),n)}}_keepAliveAndCheckShard(){const{shard:e,websocketKeepAliveUrl:n}=this._options,r=n||this.service.replace("wss://","https://").replace("ws://","http://");return fetch(r).then(s=>{if(!e)return;const c=s.headers.get("x-jitsi-shard");c!==e&&(Cr.error(`Detected that shard changed from ${e} to ${c}`),this.eventEmitter.emit(Pr.Events.CONN_SHARD_CHANGED))}).catch(s=>{Cr.error(`Websocket Keep alive failed for url: ${r}`,{error:s})})}_processDeferredIQs(){for(const e of this._deferredIQs)if(e.iq){clearTimeout(e.timeout);const n=Date.now()-e.start;this.sendIQ(e.iq,r=>e.resolve(r),r=>e.reject(r),n)}this._deferredIQs=[]}send(e){if(!this.connected)throw new Error("Not connected");this._stropheConn.send(e)}sendIQ(e,n,r,s){if(this.connected)return this._stropheConn.sendIQ(e,n,r,s);r("Not connected")}sendIQ2(e,n){let{timeout:r}=n;return new Promise((s,c)=>{if(this.connected)this.sendIQ(e,h=>s(h),h=>c(h),r);else{const h={iq:e,resolve:s,reject:c,start:Date.now(),timeout:setTimeout(()=>{h.iq=void 0,c(void 0)},r)};this._deferredIQs.push(h)}})}_onPingErrorThresholdExceeded(){this.isUsingWebSocket&&(Cr.warn("Ping error threshold exceeded - killing the WebSocket"),this.closeWebsocket())}sendPresence(e,n,r,s){this.connected?this._stropheConn.sendPresence(e,n,r,s):r("Not connected")}sendUnavailableBeacon(){if(!navigator.sendBeacon||this._stropheConn.disconnecting||!this._stropheConn.connected)return!1;this._stropheConn._changeConnectStatus(Ce.Strophe.Status.DISCONNECTING),this._stropheConn.disconnecting=!0;const e=this._stropheConn._proto._buildBody().attrs({type:"terminate"}),n=(0,Ce.$pres)({xmlns:Ce.Strophe.NS.CLIENT,type:"unavailable"});e.cnode(n.tree());const r=navigator.sendBeacon(this.service.indexOf("https://")===-1?`https:${this.service}`:this.service,Ce.Strophe.serialize(e.tree()));return Cr.info(`Successfully send unavailable beacon ${r}`),this._stropheConn._proto._abortAllRequests(),this._stropheConn._doDisconnect(),!0}_tryResumingConnection(){const{streamManagement:e}=this._stropheConn;return!(!e||!e.getResumeToken()||(this._resumeTask.schedule(),0))}}const Kl="on",Ha="off",lo=(0,P.getLogger)("modules/xmpp/AVModeration.js");class ql{constructor(e){this._xmpp=e.xmpp,this._mainRoom=e,this._moderationEnabledByType={[ot]:!1,[St]:!1},this._whitelistAudio=[],this._whitelistVideo=[],this._onMessage=this._onMessage.bind(this),this._xmpp.addListener(Ke().AV_MODERATION_RECEIVED,this._onMessage)}dispose(){this._xmpp.removeListener(Ke().AV_MODERATION_RECEIVED,this._onMessage)}isSupported(){return Boolean(this._xmpp.avModerationComponentAddress)}enable(e,n){if(!this.isSupported()||!this._mainRoom.isModerator())return void lo.error(`Cannot enable:${e} AV moderation supported:${this.isSupported()},
43
+ `},u.getDirection=function(o,l){const y=u.splitLines(o);for(let m=0;m<y.length;m++)switch(y[m]){case"a=sendrecv":case"a=sendonly":case"a=recvonly":case"a=inactive":return y[m].substr(2)}return l?u.getDirection(l):"sendrecv"},u.getKind=function(o){return u.splitLines(o)[0].split(" ")[0].substr(2)},u.isRejected=function(o){return o.split(" ",2)[1]==="0"},u.parseMLine=function(o){const l=u.splitLines(o)[0].substr(2).split(" ");return{kind:l[0],port:parseInt(l[1],10),protocol:l[2],fmt:l.slice(3).join(" ")}},u.parseOLine=function(o){const l=u.matchPrefix(o,"o=")[0].substr(2).split(" ");return{username:l[0],sessionId:l[1],sessionVersion:parseInt(l[2],10),netType:l[3],addressType:l[4],address:l[5]}},u.isValidSDP=function(o){if(typeof o!="string"||o.length===0)return!1;const l=u.splitLines(o);for(let y=0;y<l.length;y++)if(l[y].length<2||l[y].charAt(1)!=="=")return!1;return!0},E.exports=u},6141:(E,u,o)=>{"use strict";o.d(u,{default:()=>Zd});var l={};o.r(l),o.d(l,{AUTHENTICATION_REQUIRED:()=>me,CHAT_ERROR:()=>ge,CONFERENCE_ACCESS_DENIED:()=>Le,CONFERENCE_DESTROYED:()=>it,CONFERENCE_MAX_USERS:()=>be,CONFERENCE_RESTARTED:()=>T,CONNECTION_ERROR:()=>Re,FOCUS_DISCONNECTED:()=>Xe,FOCUS_LEFT:()=>se,GRACEFUL_SHUTDOWN:()=>Ze,ICE_FAILED:()=>Fe,INCOMPATIBLE_SERVER_VERSIONS:()=>dt,MEMBERS_ONLY_ERROR:()=>Ee,NOT_ALLOWED_ERROR:()=>at,OFFER_ANSWER_FAILED:()=>$e,PASSWORD_NOT_SUPPORTED:()=>ae,PASSWORD_REQUIRED:()=>f,RESERVATION_ERROR:()=>D,SETTINGS_ERROR:()=>Be,VIDEOBRIDGE_NOT_AVAILABLE:()=>H});var y={};o.r(y),o.d(y,{AUDIO_INPUT_STATE_CHANGE:()=>z,AUDIO_UNMUTE_PERMISSIONS_CHANGED:()=>ve,AUTH_STATUS_CHANGED:()=>Se,AV_MODERATION_APPROVED:()=>vn,AV_MODERATION_CHANGED:()=>I,AV_MODERATION_PARTICIPANT_APPROVED:()=>C,AV_MODERATION_PARTICIPANT_REJECTED:()=>ne,AV_MODERATION_REJECTED:()=>on,BEFORE_STATISTICS_DISPOSED:()=>pe,BOT_TYPE_CHANGED:()=>We,BREAKOUT_ROOMS_MOVE_TO_ROOM:()=>Oe,BREAKOUT_ROOMS_UPDATED:()=>ye,CONFERENCE_CREATED_TIMESTAMP:()=>It,CONFERENCE_ERROR:()=>he,CONFERENCE_FAILED:()=>De,CONFERENCE_JOINED:()=>U,CONFERENCE_JOIN_IN_PROGRESS:()=>R,CONFERENCE_LEFT:()=>Z,CONFERENCE_UNIQUE_ID_SET:()=>_e,CONNECTION_ESTABLISHED:()=>Ve,CONNECTION_INTERRUPTED:()=>Ie,CONNECTION_RESTORED:()=>mt,DATA_CHANNEL_OPENED:()=>jt,DISPLAY_NAME_CHANGED:()=>qe,DOMINANT_SPEAKER_CHANGED:()=>He,DTMF_SUPPORT_CHANGED:()=>Gt,ENDPOINT_MESSAGE_RECEIVED:()=>Xt,ENDPOINT_STATS_RECEIVED:()=>Ht,FACIAL_EXPRESSION_ADDED:()=>re,JVB121_STATUS:()=>qt,KICKED:()=>Wt,LAST_N_ENDPOINTS_CHANGED:()=>Zt,LOBBY_USER_JOINED:()=>ct,LOBBY_USER_LEFT:()=>Mt,LOBBY_USER_UPDATED:()=>Ct,LOCK_STATE_CHANGED:()=>q,MEMBERS_ONLY_CHANGED:()=>Q,MESSAGE_RECEIVED:()=>ie,NOISY_MIC:()=>Pe,NON_PARTICIPANT_MESSAGE_RECEIVED:()=>je,NO_AUDIO_INPUT:()=>ce,P2P_STATUS:()=>Dt,PARTCIPANT_FEATURES_CHANGED:()=>pt,PARTICIPANT_CONN_STATUS_CHANGED:()=>gt,PARTICIPANT_KICKED:()=>_t,PARTICIPANT_PROPERTY_CHANGED:()=>xe,PHONE_NUMBER_CHANGED:()=>oi,PRIVATE_MESSAGE_RECEIVED:()=>lt,PROPERTIES_CHANGED:()=>Kn,RECORDER_STATE_CHANGED:()=>li,SERVER_REGION_CHANGED:()=>Me,STARTED_MUTED:()=>Pn,START_MUTED_POLICY_CHANGED:()=>en,SUBJECT_CHANGED:()=>yi,SUSPEND_DETECTED:()=>jn,TALK_WHILE_MUTED:()=>Ei,TRACK_ADDED:()=>ii,TRACK_AUDIO_LEVEL_CHANGED:()=>Bi,TRACK_MUTE_CHANGED:()=>Di,TRACK_REMOVED:()=>ai,TRACK_UNMUTE_REJECTED:()=>ri,TRANSCRIPTION_STATUS_CHANGED:()=>Li,USER_JOINED:()=>ti,USER_LEFT:()=>Yn,USER_ROLE_CHANGED:()=>ci,USER_STATUS_CHANGED:()=>Si,VIDEO_SIP_GW_AVAILABILITY_CHANGED:()=>hn,VIDEO_SIP_GW_SESSION_STATE_CHANGED:()=>At,VIDEO_UNMUTE_PERMISSIONS_CHANGED:()=>Ji,_MEDIA_SESSION_ACTIVE_CHANGED:()=>k,_MEDIA_SESSION_STARTED:()=>Ae});var m={};o.r(m),o.d(m,{CONSTRAINT_FAILED:()=>ui,ELECTRON_DESKTOP_PICKER_ERROR:()=>$t,ELECTRON_DESKTOP_PICKER_NOT_FOUND:()=>an,GENERAL:()=>Bn,NOT_FOUND:()=>rn,PERMISSION_DENIED:()=>cn,SCREENSHARING_GENERIC_ERROR:()=>di,SCREENSHARING_USER_CANCELED:()=>zt,TIMEOUT:()=>Cn,TRACK_IS_DISPOSED:()=>Tn,TRACK_NO_STREAM_FOUND:()=>un,UNSUPPORTED_RESOLUTION:()=>gi});var v={};o.r(v),o.d(v,{AUDIO:()=>ot,PRESENTER:()=>pn,VIDEO:()=>St});var j={};o.r(j),o.d(j,{LOCAL_TRACK_STOPPED:()=>cs,NO_AUDIO_INPUT:()=>Zi,NO_DATA_FROM_SOURCE:()=>Xi,TRACK_AUDIO_LEVEL_CHANGED:()=>wr,TRACK_AUDIO_OUTPUT_CHANGED:()=>Jr,TRACK_MUTE_CHANGED:()=>br,TRACK_VIDEOTYPE_CHANGED:()=>Zr});var p={};o.r(p),o.d(p,{CONNECTION_DISCONNECTED:()=>Qn,CONNECTION_ESTABLISHED:()=>Gr,CONNECTION_FAILED:()=>vi,DISPLAY_NAME_REQUIRED:()=>ls,WRONG_STATE:()=>er});var g={};o.r(g),o.d(g,{CONNECTION_DROPPED_ERROR:()=>Os,OTHER_ERROR:()=>us,PASSWORD_REQUIRED:()=>Ds,SERVER_ERROR:()=>Ms});var _={};o.r(_),o.d(_,{OFF:()=>Ha,ON:()=>Kl});var w={};o.r(w),o.d(w,{LOCAL_STATS_UPDATED:()=>eo,REMOTE_STATS_UPDATED:()=>ws});var O={};o.r(O),o.d(O,{AUDIO_INPUT_STATE_CHANGE:()=>_a,DETECTOR_STATE_CHANGE:()=>To,NO_AUDIO_INPUT:()=>Aa,VAD_NOISY_DEVICE:()=>Ea,VAD_REPORT_PUBLISHED:()=>Ad,VAD_SCORE_PUBLISHED:()=>Ro,VAD_TALK_WHILE_MUTED:()=>Sa});var x={};o.r(x),o.d(x,{E2E_RTT_CHANGED:()=>ll});var F={};o.r(F),o.d(F,{ERROR_NO_CONNECTION:()=>Rl,ERROR_SESSION_EXISTS:()=>wl,STATE_FAILED:()=>no,STATE_OFF:()=>to,STATE_ON:()=>Ia,STATE_PENDING:()=>Pa,STATE_RETRYING:()=>Oa,STATUS_AVAILABLE:()=>Hd,STATUS_BUSY:()=>Gd,STATUS_UNDEFINED:()=>Jd});var G={};o.r(G),o.d(G,{DEVICE_LIST_CHANGED:()=>Pl,PERMISSIONS_CHANGED:()=>Ol,PERMISSION_PROMPT_IS_SHOWN:()=>Dl,SLOW_GET_USER_MEDIA:()=>Ml});var P=o(9077),Y=o.n(P);const me="conference.authenticationRequired",ge="conference.chatError",Be="conference.settingsError",it="conference.destroyed",be="conference.max_users",Re="conference.connectionError",T="conference.restarted",at="conference.connectionError.notAllowed",Ee="conference.connectionError.membersOnly",Le="conference.connectionError.accessDenied",Xe="conference.focusDisconnected",se="conference.focusLeft",Ze="conference.gracefulShutdown",Fe="conference.iceFailed",dt="conference.incompatible_server_versions",$e="conference.offerAnswerFailed",ae="conference.passwordNotSupported",f="conference.passwordRequired",D="conference.reservationError",H="conference.videobridgeNotAvailable",z="conference.audio_input_state_changed",ve="conference.audio_unmute_permissions_changed",Se="conference.auth_status_changed",pe="conference.beforeStatisticsDisposed",he="conference.error",De="conference.failed",R="conference.join_in_progress",U="conference.joined",Z="conference.left",_e="conference.unique_id_set",Ve="conference.connectionEstablished",Ie="conference.connectionInterrupted",mt="conference.connectionRestored",jt="conference.dataChannelOpened",qe="conference.displayNameChanged",He="conference.dominantSpeaker",It="conference.createdTimestamp",Gt="conference.dtmfSupportChanged",Xt="conference.endpoint_message_received",Ht="conference.endpoint_stats_received",qt="conference.jvb121Status",Wt="conference.kicked",_t="conference.participant_kicked",Zt="conference.lastNEndpointsChanged",q="conference.lock_state_changed",Me="conference.server_region_changed",Ae="conference.media_session.started",k="conference.media_session.active_changed",Q="conference.membersOnlyChanged",ie="conference.messageReceived",ce="conference.no_audio_input",Pe="conference.noisy_mic",je="conference.non_participant_message_received",lt="conference.privateMessageReceived",gt="conference.participant_conn_status_changed",pt="conference.partcipant_features_changed",xe="conference.participant_property_changed",Dt="conference.p2pStatus",oi="conference.phoneNumberChanged",Kn="conference.propertiesChanged",li="conference.recorderStateChanged",hn="conference.videoSIPGWAvailabilityChanged",At="conference.videoSIPGWSessionStateChanged",en="conference.start_muted_policy_changed",Pn="conference.started_muted",yi="conference.subjectChanged",jn="conference.suspendDetected",Ei="conference.talk_while_muted",ii="conference.trackAdded",Bi="conference.audioLevelsChanged",Di="conference.trackMuteChanged",ai="conference.trackRemoved",ri="conference.trackUnmuteRejected",Li="conference.transcriptionStatusChanged",ti="conference.userJoined",Yn="conference.userLeft",ci="conference.roleChanged",Si="conference.statusChanged",Ji="conference.video_unmute_permissions_changed",We="conference.bot_type_changed",ct="conference.lobby.userJoined",Ct="conference.lobby.userUpdated",Mt="conference.lobby.userLeft",vn="conference.av_moderation.approved",on="conference.av_moderation.rejected",I="conference.av_moderation.changed",C="conference.av_moderation.participant.approved",ne="conference.av_moderation.participant.rejected",re="conference.facial_expression.added",Oe="conference.breakout-rooms.move-to-room",ye="conference.breakout-rooms.updated";var st=o(7187),tt=o.n(st),Pt=o(2307),et=o.n(Pt),Ce=o(9755);const Yt="https://api.callstats.io/static/callstats-ws.min.js",ui="gum.constraint_failed",$t="gum.electron_desktop_picker_error",an="gum.electron_desktop_picker_not_found",Bn="gum.general",rn="gum.not_found",cn="gum.permission_denied",di="gum.screensharing_generic_error",zt="gum.screensharing_user_canceled",Cn="gum.timeout",Tn="track.track_is_disposed",un="track.no_stream_found",gi="gum.unsupported_resolution",Rn={};function si(i,e,n){if(typeof i=="object"&&i.name!==void 0)switch(this.gum={error:i,constraints:e,devices:n&&Array.isArray(n)?n.slice(0):void 0},i.name){case"NotAllowedError":case"PermissionDeniedError":case"SecurityError":this.name=cn,this.message=Rn[this.name]+(this.gum.devices||[]).join(", ");break;case"DevicesNotFoundError":case"NotFoundError":this.name=rn,this.message=Rn[this.name]+(this.gum.devices||[]).join(", ");break;case"ConstraintNotSatisfiedError":case"OverconstrainedError":{const r=i.constraintName||i.constraint;e&&e.video&&(!n||n.indexOf("video")>-1)&&(r==="minWidth"||r==="maxWidth"||r==="minHeight"||r==="maxHeight"||r==="width"||r==="height"||r==="deviceId")?(this.name=gi,this.message=Rn[this.name]+function(s,c){if(c&&c.video&&c.video.mandatory)switch(s){case"width":return c.video.mandatory.minWidth;case"height":return c.video.mandatory.minHeight;default:return c.video.mandatory[s]||""}return""}(r,e)):(this.name=ui,this.message=Rn[this.name]+i.constraintName);break}default:this.name=Bn,this.message=i.message||Rn[this.name]}else{if(typeof i!="string")throw new Error("Invalid arguments");Rn[i]?(this.name=i,this.message=e||Rn[i]):this.message=i}this.stack=i.stack||new Error().stack}Rn[gi]="Video resolution is not supported: ",Rn[zt]="User canceled screen sharing prompt",Rn[di]="Unknown error from screensharing",Rn[$t]="Unkown error from desktop picker",Rn[an]="Failed to detect desktop picker",Rn[Bn]="Generic getUserMedia error",Rn[cn]="User denied permission to use device(s): ",Rn[rn]="Requested device(s) was/were not found: ",Rn[ui]="Constraint could not be satisfied: ",Rn[Cn]="Could not start media source. Timeout occured!",Rn[Tn]="Track has been already disposed",Rn[un]="Track does not have an associated Media Stream",si.prototype=Object.create(Error.prototype),si.prototype.constructor=si;const Mn=si,qn="operational",Ui="page",dr="track",Gi="connection.disconnected",Hn="ice.duration";function hr(i,e){return{action:i,attributes:e,source:"conference",type:qn}}const zi=function(i,e){const n="connection.stage.reached";return{action:n,actionSubject:i,attributes:e,source:n,type:qn}},qi=function(i){return{type:qn,source:"get.user.media",action:i,attributes:arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}}},or=function(i){return{type:qn,action:i,source:"jingle",attributes:arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}}},Ar=function(i){return{type:qn,action:i,source:"p2p",attributes:arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}}},Er=function(i){return{type:qn,action:"remotely.muted",mediaType:i}},Lr=function(i){return{type:qn,action:"rtp.stats",attributes:i}},xr="statistics.audioLevel",kr="statistics.before_disposed",Br="statistics.byte_sent_stats",zr="statistics.connectionstats",hi="statistics.long_tasks_stats";o(8495);var Yr=o(1206);const _n="chrome",Ur="opera",ar="firefox",Xr="iexplorer",Yi="safari",Fr="nwjs",jr="electron",pr="react-native",Vr="unknown",cr={Chrome:_n,Chromium:_n,Opera:Ur,Firefox:ar,"Internet Explorer":Xr,Safari:Yi};function Hr(){const i=navigator.userAgent;if(i.match(/Electron/)){const e=i.match(/Electron(?:\s|\/)([\d.]+)/)[1];return{name:jr,version:e}}if(window.JitsiMeetElectron!==void 0)return{name:jr,version:void 0}}function Is(){const i=navigator.userAgent;if(i.match(/JitsiMeetNW/)){const e=i.match(/JitsiMeetNW\/([\d.]+)/)[1];return{name:Fr,version:e}}}function as(){const i=navigator.userAgent.match(/\b(react[ \t_-]*native)(?:\/(\S+))?/i);let e;if(i||navigator.product==="ReactNative"){let n;return i&&i.length>2&&(n=i[1],e=i[2]),n||(n="react-native"),e||(e="unknown"),{name:pr,version:e}}}class Ps extends st{constructor(){var e,n;super(...arguments),n={},(e="_storage")in this?Object.defineProperty(this,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):this[e]=n}clear(){this._storage={}}get length(){return Object.keys(this._storage).length}getItem(e){return this._storage[e]}setItem(e,n){this._storage[e]=n}removeItem(e){delete this._storage[e]}key(e){const n=Object.keys(this._storage);if(!(n.length<=e))return n[e]}serialize(){return JSON.stringify(this._storage)}}const a=new class extends st{constructor(){super();try{this._storage=window.localStorage,this._localStorageDisabled=!1}catch(i){}this._storage||(this._storage=new Ps,this._localStorageDisabled=!0)}isLocalStorageDisabled(){return this._localStorageDisabled}clear(){this._storage.clear(),this.emit("changed")}get length(){return this._storage.length}getItem(i){return this._storage.getItem(i)}setItem(i,e){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2];this._storage.setItem(i,e),n||this.emit("changed")}removeItem(i){this._storage.removeItem(i),this.emit("changed")}key(i){return this._storage.key(i)}serialize(){if(this.isLocalStorageDisabled())return this._storage.serialize();const i=this._storage.length,e={};for(let n=0;n<i;n++){const r=this._storage.key(n);e[r]=this._storage.getItem(r)}return JSON.stringify(e)}},d=(0,P.getLogger)("modules/browser/BrowserCapabilities.js"),A=new class extends class{constructor(i){let e,n;if(this._bowser=Yr.getParser(navigator.userAgent),i===void 0){const r=function(s){let c;const h=[as,Hr,Is];for(let L=0;L<h.length;L++)if(c=h[L](),c)return c;const S=s.getBrowserName();return S in cr?{name:cr[S],version:s.getBrowserVersion()}:(c=function(){const L=navigator.userAgent,N={name:Vr,version:void 0};if(L.match(/Chrome/)&&!L.match(/Edge/))if(L.match(/Edg(A?)/)){const te=L.match(/Chrome\/([\d.]+)/)[1];Number.parseInt(te,10)>72&&(N.name=_n,N.version=te)}else N.name=_n,N.version=L.match(/Chrome\/([\d.]+)/)[1];return N}(),c||{name:Vr,version:void 0})}(this._bowser);e=r.name,n=r.version}else i.name in cr?(e=cr[i.name],n=i.version):(e=Vr,n=void 0);this._name=e,this._version=n}getName(){return this._name}isChrome(){return this._name===_n}isOpera(){return this._name===Ur}isFirefox(){return this._name===ar}isIExplorer(){return this._name===Xr}isSafari(){return this._name===Yi}isNWJS(){return this._name===Fr}isElectron(){return this._name===jr}isReactNative(){return this._name===pr}getVersion(){return this._version}_checkCondition(i){if(this._version)return this._bowser.satisfies(i)}isVersionGreaterThan(i){return this._checkCondition({[this._name]:`>${i}`})}isVersionLessThan(i){return this._checkCondition({[this._name]:`<${i}`})}isVersionEqualTo(i){return this._checkCondition({[this._name]:`~${i}`})}}{constructor(){super(),d.info(`This appears to be ${this.getName()}, ver: ${this.getVersion()}`)}doesVideoMuteByStreamRemove(){return this.isChromiumBased()||this.isWebKitBased()||this.isFirefox()}isChromiumBased(){return(this.isChrome()||this.isElectron()||this.isNWJS()||this.isOpera())&&!this.isWebKitBased()}isIosBrowser(){const{userAgent:i,maxTouchPoints:e,platform:n}=navigator;return Boolean(i.match(/iP(ad|hone|od)/i))||e&&e>2&&/MacIntel/.test(n)}isWebKitBased(){return this._bowser.isEngine("webkit")&&navigator.mediaDevices!==void 0&&navigator.mediaDevices.getUserMedia!==void 0&&window.RTCRtpTransceiver!==void 0&&Object.keys(RTCRtpTransceiver.prototype).indexOf("currentDirection")>-1}isTwa(){return"matchMedia"in window&&window.matchMedia("(display-mode:standalone)").matches}isSupported(){return!(this.isSafari()&&this._getSafariVersion()<14)&&(this.isChromiumBased()&&this._getChromiumBasedVersion()>=72||this.isFirefox()||this.isReactNative()||this.isWebKitBased())}isSupportedAndroidBrowser(){return this.isChromiumBased()||this.isFirefox()}isSupportedIOSBrowser(){return this._getIOSVersion()>=14}isUserInteractionRequiredForUnmute(){return this.isFirefox()&&this.isVersionLessThan("68")}supportsVideoMuteOnConnInterrupted(){return this.isChromiumBased()||this.isReactNative()}supportsBandwidthStatistics(){return!this.isFirefox()&&!this.isWebKitBased()}supportsCodecPreferences(){return Boolean(window.RTCRtpTransceiver&&"setCodecPreferences"in window.RTCRtpTransceiver.prototype&&window.RTCRtpReceiver&&window.RTCRtpReceiver.getCapabilities!==void 0)&&!this.isWebKitBased()}supportsDeviceChangeEvent(){return navigator.mediaDevices&&navigator.mediaDevices.ondevicechange!==void 0&&navigator.mediaDevices.addEventListener!==void 0}supportsLocalCandidateRttStatistics(){return this.isChromiumBased()||this.isReactNative()||this.isWebKitBased()}supportsPerformanceObserver(){return window.PerformanceObserver!==void 0&&PerformanceObserver.supportedEntryTypes.indexOf("longtask")>-1}supportsReceiverStats(){return window.RTCRtpReceiver!==void 0&&Object.keys(RTCRtpReceiver.prototype).indexOf("getSynchronizationSources")>-1&&!this.isWebKitBased()}supportsRTTStatistics(){return!this.isFirefox()}supportsVP9(){return this.isChromiumBased()||this.isReactNative()}usesSdpMungingForSimulcast(){return this.isChromiumBased()||this.isReactNative()||this.isWebKitBased()}usesAdapter(){return!this.isReactNative()}usesRidsForSimulcast(){return!1}supportsGetDisplayMedia(){return navigator.getDisplayMedia!==void 0||navigator.mediaDevices!==void 0&&navigator.mediaDevices.getDisplayMedia!==void 0}supportsEncodedTransform(){return Boolean(window.RTCRtpScriptTransform)}supportsInsertableStreams(){if(window.RTCRtpSender===void 0||!window.RTCRtpSender.prototype.createEncodedStreams)return!1;const i=new ReadableStream;try{return window.postMessage(i,"*",[i]),!0}catch(e){return!1}}supportsAudioRed(){return Boolean(window.RTCRtpSender&&window.RTCRtpSender.getCapabilities&&window.RTCRtpSender.getCapabilities("audio").codecs.some(i=>i.mimeType==="audio/red")&&window.RTCRtpReceiver&&window.RTCRtpReceiver.getCapabilities&&window.RTCRtpReceiver.getCapabilities("audio").codecs.some(i=>i.mimeType==="audio/red"))}supportsUnifiedPlan(){return!this.isReactNative()}supportsVADDetection(){return this.isChromiumBased()}supportsRTX(){return!(this.isFirefox()&&this.isVersionLessThan("96"))}_getChromiumBasedVersion(){if(this.isChromiumBased()){if(this.isNWJS())return Number.parseInt(process.versions.chromium,10);const i=navigator.userAgent;if(i.match(/Chrome/))return Number.parseInt(i.match(/Chrome\/([\d.]+)/)[1],10)}return-1}_getSafariVersion(){return this.isSafari()?Number.parseInt(this.getVersion(),10):-1}_getIOSVersion(){return this.isWebKitBased()?Number.parseInt(this.getVersion(),10):-1}};var M=o(549),K=o.n(M);const X=(0,P.getLogger)("modules/statistics/AnalyticsAdapter.js"),oe=new class{constructor(){this.reset()}reset(){this.disposed=!1,this.analyticsHandlers=new Set,this.cache=[],this.permanentProperties={},this.conferenceName="",this.addPermanentProperties({user_agent:navigator.userAgent,browser_name:A.getName()})}dispose(){X.warn("Disposing of analytics adapter."),this.analyticsHandlers&&this.analyticsHandlers.size>0&&this.analyticsHandlers.forEach(i=>{typeof i.dispose=="function"&&i.dispose()}),this.setAnalyticsHandlers([]),this.disposed=!0}setAnalyticsHandlers(i){if(this.disposed)return;this.analyticsHandlers=new Set(i),this._setUserProperties();const e=this.cache;this.cache=null,e&&e.forEach(n=>this._sendEvent(n))}_setUserProperties(){this.analyticsHandlers.forEach(i=>{try{i.setUserProperties(this.permanentProperties)}catch(e){X.warn(`Error in setUserProperties method of one of the analytics handlers: ${e}`)}})}addPermanentProperties(i){this.permanentProperties=Ft(Ft({},this.permanentProperties),i),this._setUserProperties()}setConferenceName(i){this.conferenceName=i,this.addPermanentProperties({conference_name:i})}sendEvent(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.disposed)return;let n=null;typeof i=="string"?n={type:qn,action:i,actionSubject:i,source:i,attributes:e}:typeof i=="object"&&(n=i),this._verifyRequiredFields(n)?this._sendEvent(n):X.error(`Dropping a mis-formatted event: ${JSON.stringify(n)}`)}_verifyRequiredFields(i){if(!i)return!1;i.type||(i.type=qn);const e=i.type;return e!==qn&&e!==Ui&&e!=="ui"&&e!==dr?(X.error(`Unknown event type: ${e}`),!1):e===Ui?Boolean(i.name):(i.action=i.action||i.name||i.actionSubject,i.actionSubject=i.actionSubject||i.name||i.action,i.source=i.source||i.name||i.action||i.actionSubject,i.action&&i.actionSubject&&i.source?!!(e!==dr||(i.objectType=i.objectType||"generic-object-type",i.containerType=i.containerType||"conference",i.containerType!=="conference"||i.containerId||(i.containerId=this.conferenceName),i.objectType&&i.objectId&&i.containerType&&i.containerId))||(X.error("Required field missing (containerId, containerType, objectId or objectType)"),!1):(X.error("Required field missing (action, actionSubject or source)"),!1))}_maybeCacheEvent(i){return!!this.cache&&(this.cache.push(i),this.cache.length>100&&this.cache.splice(0,1),!0)}_sendEvent(i){this._maybeCacheEvent(i)||this.analyticsHandlers.forEach(e=>{try{e.sendEvent(i)}catch(n){X.warn(`Error sending analytics event: ${n}`)}})}};var we=o(1023),V=o.n(we);const ee=o(9077).getLogger("modules/statistics/CallStats.js"),b="applicationLog",B="error",J="event",W="mstWithUserID";let de;class ue{static _addNewFabricCallback(e,n){ue.backend&&e!=="success"&&ee.error(`Monitoring status: ${e} msg: ${n}`)}static _initCallback(e,n){if(ee.log(`CallStats Status: err=${e} msg=${n}`),e!=="success")return;ue.backendInitialized=!0;let r=!1,s=null;for(const c of ue.fabrics.values())c.hasFabric||(ee.debug("addNewFabric - initCallback"),c._addNewFabric()&&(r=!0,s||(s=c)));r&&ue._emptyReportQueue(s)}static _emptyReportQueue(e){const n=e.confID,r=e.peerconnection;for(const s of ue.reportsQueue)if(s.type===B){const c=s.data;ue._reportError(e,c.type,c.error,c.pc||r)}else if(s.type===J){const c=s.data;ue.backend.sendFabricEvent(s.pc||r,c.event,n,c.eventData)}else if(s.type===W){const c=s.data;ue.backend.associateMstWithUserID(s.pc||r,c.callStatsId,n,c.ssrc,c.usageLabel,c.containerId)}ue.reportsQueue.length=0}static _reportError(e,n,r,s){let c=r;c||(ee.warn("No error is passed!"),c=new Error("Unknown error")),ue.backendInitialized&&e?ue.backend.reportError(s,e.confID,n,c):ue.reportsQueue.push({type:B,data:{error:c,pc:s,type:n}})}static _reportEvent(e,n,r){const s=e&&e.peerconnection,c=e&&e.confID;ue.backendInitialized&&e?ue.backend.sendFabricEvent(s,n,c,r):ue.reportsQueue.push({confID:c,pc:s,type:J,data:{event:n,eventData:r}})}static _traceAndCatchBackendCalls(e){const n=["associateMstWithUserID","sendFabricEvent","sendUserFeedback"];for(const c of n){const h=e[c];e[c]=function(){try{for(var S=arguments.length,L=new Array(S),N=0;N<S;N++)L[N]=arguments[N];return h.apply(e,L)}catch(te){V().callErrorHandler(te)}}}const r=["associateMstWithUserID","sendFabricEvent","sendUserFeedback"];for(const c of r){const h=e[c];e[c]=function(){for(var S=arguments.length,L=new Array(S),N=0;N<S;N++)L[N]=arguments[N];ee.debug(c,L),h.apply(e,L)}}const s=e.reportError;e.reportError=function(c,h,S){for(var L=arguments.length,N=new Array(L>3?L-3:0),te=3;te<L;te++)N[te-3]=arguments[te];S===b?A.isReactNative():ee.debug("reportError",c,h,S,...N);try{s.call(e,c,h,S,...N)}catch(fe){S===b||V().callErrorHandler(fe)}}}static get fabrics(){return de||(de=new Set),de}static initBackend(e){if(ue.backend)throw new Error("CallStats backend has been initialized already!");try{const n=callstats;ue.backend=new n,ue._traceAndCatchBackendCalls(ue.backend),ue.userID={aliasName:e.aliasName,userName:e.userName},ue.callStatsID=e.callStatsID,ue.callStatsSecret=e.callStatsSecret;const r=Ft({},e.configParams);if(e.applicationName&&(r.applicationVersion=`${e.applicationName} (${A.getName()})`),e.confID){const c=e.confID.match(/.*\/(.*)\/.*/);r.siteID=e.siteID||c&&c[1]||"/"}ue.backend.initialize(ue.callStatsID,ue.callStatsSecret,ue.userID,ue._initCallback,void 0,r);const s=e.getWiFiStatsMethod;return s&&(ue.backend.attachWifiStatsHandler(s),s().then(c=>{c&&ee.info("Reported wifi addresses:",JSON.parse(c).addresses)}).catch(()=>{})),!0}catch(n){return V().callErrorHandler(n),ue.backend=null,ee.error(n),!1}}static isBackendInitialized(){return Boolean(ue.backend)}static sendActiveDeviceListEvent(e,n){ue._reportEvent(n,"activeDeviceList",e)}static sendApplicationLog(e,n){try{ue._reportError(n,b,e,n&&n.peerconnection)}catch(r){}}static sendFeedback(e,n,r){return new Promise((s,c)=>{if(ue.backend)ue.backend.sendUserFeedback(e,{userID:ue.userID,overall:n,comment:r},(h,S)=>{h==="success"?s(S):c(S)});else{const h="Failed to submit feedback to CallStats - no backend";ee.error(h),c(h)}})}static sendGetUserMediaFailed(e,n){ue._reportError(n,"getUserMedia",e,null)}static sendMuteEvent(e,n,r){let s;s=n==="video"?e?"videoPause":"videoResume":e?"audioMute":"audioUnmute",ue._reportEvent(r,s)}constructor(e,n){this.confID=n.confID,this.tpc=e,this.peerconnection=e.peerconnection,this.remoteUserID=n.remoteUserID||"jitsi",this.hasFabric=!1,ue.fabrics.add(this),ue.backendInitialized&&(this._addNewFabric(),ue.fabrics.size===1&&ue._emptyReportQueue(this))}_addNewFabric(){ee.info("addNewFabric",this.remoteUserID);try{const e={remoteEndpointType:this.tpc.isP2P?ue.backend.endpointType.peer:ue.backend.endpointType.server},n=ue.backend.addNewFabric(this.peerconnection,this.remoteUserID,ue.backend.fabricUsage.multiplex,this.confID,e,ue._addNewFabricCallback);this.hasFabric=!0;const r=n.status==="success";return r||ee.error("callstats fabric not initilized",n.message),r}catch(e){return V().callErrorHandler(e),!1}}associateStreamWithVideoTag(e,n,r,s,c){if(!ue.backend)return;const h=n?ue.userID:r;ue.backendInitialized?ue.backend.associateMstWithUserID(this.peerconnection,h,this.confID,e,s,c):ue.reportsQueue.push({type:W,pc:this.peerconnection,data:{callStatsId:h,containerId:c,ssrc:e,usageLabel:s}})}sendDominantSpeakerEvent(){ue._reportEvent(this,"dominantSpeaker")}sendTerminateEvent(){ue.backendInitialized&&ue.backend.sendFabricEvent(this.peerconnection,ue.backend.fabricEvent.fabricTerminated,this.confID),ue.fabrics.delete(this)}sendIceConnectionFailedEvent(){ue._reportError(this,"iceConnectionFailure",null,this.peerconnection)}sendCreateOfferFailed(e){ue._reportError(this,"createOffer",e,this.peerconnection)}sendCreateAnswerFailed(e){ue._reportError(this,"createAnswer",e,this.peerconnection)}sendResumeOrHoldEvent(e){ue._reportEvent(this,e?"fabricResume":"fabricHold")}sendScreenSharingEvent(e,n){let r;n&&(r={ssrc:n}),ue._reportEvent(this,e?"screenShareStart":"screenShareStop",r)}sendSetLocalDescFailed(e){ue._reportError(this,"setLocalDescription",e,this.peerconnection)}sendSetRemoteDescFailed(e){ue._reportError(this,"setRemoteDescription",e,this.peerconnection)}sendAddIceCandidateFailed(e){ue._reportError(this,"addIceCandidate",e,this.peerconnection)}}ue.backend=null,ue.reportsQueue=[],ue.backendInitialized=!1,ue.callStatsID=null,ue.callStatsSecret=null,ue.userID=null,window.AudioContext=window.AudioContext||window.webkitAudioContext;let ke=null;function rt(i,e,n){this.stream=i,this.intervalId=null,this.intervalMilis=e,this.audioLevel=0,this.callback=n}function ut(i){let e=i;return i>=Number.MAX_SAFE_INTEGER&&(e=0),e+1}function Rt(i){return i.length>0?i.reduce((e,n)=>e+n)/i.length:0}function ht(i){return i.filter(e=>e>=0)}window.AudioContext&&(ke=new AudioContext,ke.suspend&&ke.suspend()),rt.prototype.start=function(){if(!rt.isLocalStatsSupported())return;ke.resume();const i=ke.createAnalyser();i.smoothingTimeConstant=.8,i.fftSize=2048,ke.createMediaStreamSource(this.stream).connect(i),this.intervalId=setInterval(()=>{const e=new Uint8Array(i.frequencyBinCount);i.getByteTimeDomainData(e);const n=function(r){let s=0;const c=r.length;for(let h=0;h<c;h++)s<r[h]&&(s=r[h]);return parseFloat(((s-127)/128).toFixed(3))}(e);this.audioLevel=function(r,s){let c=0;const h=s-r;return c=h>.2?s-.2:h<-.4?s+.4:r,parseFloat(c.toFixed(3))}(n,this.audioLevel),this.callback(this.audioLevel)},this.intervalMilis)},rt.prototype.stop=function(){this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null)},rt.isLocalStatsSupported=function(){return Boolean(ke)};class yt{constructor(){this.average=0,this.n=0}addNext(e){typeof e=="number"&&(this.n+=1,this.average=this.average+(e-this.average)/this.n)}getAverage(){return this.average}}const Ut=(0,P.getLogger)("modules/statistics/PerformanceObserverStats.js");class Nt{constructor(e,n){this.eventEmitter=e,this.longTasks=0,this.maxDuration=0,this.performanceStatsInterval=n,this.stats=new yt}getLongTasksStats(){return{avgRatePerMinute:(60*this.stats.getAverage()).toFixed(2),maxDurationMs:this.maxDuration}}startObserver(){this.longTaskEventHandler=n=>{const r=n.getEntries();for(const s of r)this.longTasks++,this.maxDuration=Math.max(this.maxDuration,s.duration).toFixed(3)},Ut.info("Creating a Performance Observer for monitoring Long Tasks"),this.observer=new PerformanceObserver(this.longTaskEventHandler),this.observer.observe({type:"longtask",buffered:!0});const e=Date.now();this.longTasksIntervalId=setInterval(()=>{const n=Date.now(),r=this._lastTimeStamp?(n-this._lastTimeStamp)/1e3:(n-e)/1e3,s=this.longTasks/r;this.stats.addNext(s),this.eventEmitter.emit(hi,this.getLongTasksStats()),this.longTasks=0,this._lastTimeStamp=Date.now()},this.performanceStatsInterval)}stopObserver(){this.observer&&this.observer.disconnect(),this.longTaskEventHandler=null,this.longTasksIntervalId&&(clearInterval(this.longTasksIntervalId),this.longTasksIntervalId=null)}}const ot="audio",pn="presenter",St="video",Tt=o(1023),sn=(0,P.getLogger)("modules/statistics/RTPStatsCollector.js");function $n(i,e){return!e||e<=0||!i||i<=0?0:Math.round(i/e*100)}function gn(){this.loss={},this.bitrate={download:0,upload:0},this.resolution={},this.framerate=0,this.codec=""}function wi(){this.bandwidth={},this.bitrate={},this.packetLoss=null,this.transport=[]}function Vn(i,e,n,r){this.peerconnection=i,this.baselineAudioLevelsReport=null,this.currentAudioLevelsReport=null,this.currentStatsReport=null,this.previousStatsReport=null,this.audioLevelReportHistory={},this.audioLevelsIntervalId=null,this.eventEmitter=r,this.conferenceStats=new wi,this.audioLevelsIntervalMilis=e,this.speakerList=[],this.statsIntervalId=null,this.statsIntervalMilis=n,this.ssrc2stats=new Map}gn.prototype.setLoss=function(i){this.loss=i||{}},gn.prototype.setResolution=function(i){this.resolution=i||{}},gn.prototype.addBitrate=function(i){this.bitrate.download+=i.download,this.bitrate.upload+=i.upload},gn.prototype.resetBitrate=function(){this.bitrate.download=0,this.bitrate.upload=0},gn.prototype.setFramerate=function(i){this.framerate=i||0},gn.prototype.setCodec=function(i){this.codec=i||""},Vn.prototype.setSpeakerList=function(i){this.speakerList=i},Vn.prototype.stop=function(){this.audioLevelsIntervalId&&(clearInterval(this.audioLevelsIntervalId),this.audioLevelsIntervalId=null),this.statsIntervalId&&(clearInterval(this.statsIntervalId),this.statsIntervalId=null)},Vn.prototype.errorCallback=function(i){Tt.callErrorHandler(i),sn.error("Get stats error",i),this.stop()},Vn.prototype.start=function(i){i&&(A.supportsReceiverStats()&&sn.info("Using RTCRtpSynchronizationSource for remote audio levels"),this.audioLevelsIntervalId=setInterval(()=>{if(A.supportsReceiverStats()){const n=this.peerconnection.getAudioLevels(this.speakerList);for(const r in n)if(n.hasOwnProperty(r)){const s=2.5*n[r];this.eventEmitter.emit(xr,this.peerconnection,Number.parseInt(r,10),s,!1)}}else this.peerconnection.getStats().then(n=>{this.currentAudioLevelsReport=typeof(n==null?void 0:n.result)=="function"?n.result():n,this.processAudioLevelReport(),this.baselineAudioLevelsReport=this.currentAudioLevelsReport}).catch(n=>this.errorCallback(n))},this.audioLevelsIntervalMilis));const e=()=>{this.peerconnection.getStats().then(n=>{this.currentStatsReport=typeof(n==null?void 0:n.result)=="function"?n.result():n;try{this.processStatsReport()}catch(r){Tt.callErrorHandler(r),sn.error("Processing of RTP stats failed:",r)}this.previousStatsReport=this.currentStatsReport}).catch(n=>this.errorCallback(n))};e(),this.statsIntervalId=setInterval(e,this.statsIntervalMilis)},Vn.prototype._processAndEmitReport=function(){const i={download:0,upload:0},e={download:0,upload:0};let n=0,r=0;const s={},c={},h={};let S,L,N=0,te=0,fe=0,Ne=0;for(const[Ye,nt]of this.ssrc2stats){const bt=nt.loss,Kt=bt.isDownloadStream?"download":"upload";i[Kt]+=bt.packetsTotal,e[Kt]+=bt.packetsLost,n+=nt.bitrate.download,r+=nt.bitrate.upload;const bn=this.peerconnection.getTrackBySSRC(Ye);if(bn){bn.isAudioTrack()?(N+=nt.bitrate.download,te+=nt.bitrate.upload,S=nt.codec):(fe+=nt.bitrate.download,Ne+=nt.bitrate.upload,L=nt.codec);const xn=bn.getParticipantId();if(xn){const Gn=nt.resolution;if(Gn.width&&Gn.height&&Gn.width!==-1&&Gn.height!==-1){const Xn=s[xn]||{};Xn[Ye]=Gn,s[xn]=Xn}if(nt.framerate!==0){const Xn=c[xn]||{};Xn[Ye]=nt.framerate,c[xn]=Xn}if(S&&L){const Xn={audio:S,video:L},sr=h[xn]||{};sr[Ye]=Xn,h[xn]=sr}}else sn.error(`No participant ID returned by ${bn}`)}nt.resetBitrate()}this.conferenceStats.bitrate={upload:r,download:n},this.conferenceStats.bitrate.audio={upload:te,download:N},this.conferenceStats.bitrate.video={upload:Ne,download:fe},this.conferenceStats.packetLoss={total:$n(e.download+e.upload,i.download+i.upload),download:$n(e.download,i.download),upload:$n(e.upload,i.upload)};const ze={};let ft;Object.keys(this.audioLevelReportHistory).forEach(Ye=>{const{data:nt,isLocal:bt}=this.audioLevelReportHistory[Ye],Kt=nt.reduce((bn,xn)=>bn+xn)/nt.length;if(bt)ft=Kt;else{const bn=this.peerconnection.getTrackBySSRC(Number(Ye));if(bn){const xn=bn.getParticipantId();xn&&(ze[xn]=Kt)}}}),this.audioLevelReportHistory={},this.eventEmitter.emit(zr,this.peerconnection,{bandwidth:this.conferenceStats.bandwidth,bitrate:this.conferenceStats.bitrate,packetLoss:this.conferenceStats.packetLoss,resolution:s,framerate:c,codec:h,transport:this.conferenceStats.transport,localAvgAudioLevels:ft,avgAudioLevels:ze}),this.conferenceStats.transport=[]},Vn.prototype.getNonNegativeValue=function(i){let e=i;return typeof e!="number"&&(e=Number(e)),isNaN(e)?0:Math.max(0,e)},Vn.prototype._calculateBitrate=function(i,e,n){const r=this.getNonNegativeValue(i[n]),s=this.getNonNegativeValue(e[n]),c=Math.max(0,r-s),h=i.timestamp-e.timestamp;let S=0;return h>0&&(S=Math.round(8*c/h)),S},Vn.prototype.processStatsReport=function(){if(!this.previousStatsReport)return;const i={};this.currentStatsReport.forEach(e=>{if(e.type==="candidate-pair"&&e.nominated&&e.state==="succeeded"){const n=e.availableIncomingBitrate,r=e.availableOutgoingBitrate;(n||r)&&(this.conferenceStats.bandwidth={download:Math.round(n/1e3),upload:Math.round(r/1e3)});const s=this.currentStatsReport.get(e.remoteCandidateId),c=this.currentStatsReport.get(e.localCandidateId);if(s&&c){const h=`${A.isChromiumBased()?s.ip:s.address}:${s.port}`,S=`${A.isChromiumBased()?c.ip:c.address}:${c.port}`,L=s.protocol,N=this.conferenceStats.transport;N.some(te=>te.ip===h&&te.type===L&&te.localip===S)||N.push({ip:h,type:L,localip:S,p2p:this.peerconnection.isP2P,localCandidateType:c.candidateType,remoteCandidateType:s.candidateType,networkType:c.networkType,rtt:1e3*e.currentRoundTripTime})}}else if(e.type==="inbound-rtp"||e.type==="outbound-rtp"){const n=this.previousStatsReport.get(e.id),r=this.getNonNegativeValue(e.ssrc);if(!n||!r)return;let s=this.ssrc2stats.get(r);s||(s=new gn,this.ssrc2stats.set(r,s));let c=!0,h="packetsReceived";e.type==="outbound-rtp"&&(c=!1,h="packetsSent");let S=e[h];(!S||S<0)&&(S=0);const L=this.getNonNegativeValue(n[h]),N=Math.max(0,S-L),te=this.getNonNegativeValue(e.packetsLost),fe=this.getNonNegativeValue(n.packetsLost),Ne=Math.max(0,te-fe);if(s.setLoss({packetsTotal:N+Ne,packetsLost:Ne,isDownloadStream:c}),e.type==="inbound-rtp"){const ft={height:e.frameHeight,width:e.frameWidth},Ye=e.framesPerSecond;ft.height&&ft.width&&s.setResolution(ft),s.setFramerate(Math.round(Ye||0)),s.addBitrate({download:this._calculateBitrate(e,n,"bytesReceived"),upload:0})}else i[r]=this.getNonNegativeValue(e.bytesSent),s.addBitrate({download:0,upload:this._calculateBitrate(e,n,"bytesSent")});const ze=this.currentStatsReport.get(e.codecId);if(ze){const ft=ze.mimeType.split("/")[1];ft&&s.setCodec(ft)}}else if(e.type==="track"&&e.kind===St&&!e.remoteSource){const n={height:e.frameHeight,width:e.frameWidth},r=this.peerconnection.getLocalTracks(St);if(r==null||!r.length)return;const s=this.peerconnection.getLocalSSRC(r[0]);if(!s)return;let c=this.ssrc2stats.get(s);c||(c=new gn,this.ssrc2stats.set(s,c)),n.height&&n.width&&c.setResolution(n);let h=e.framesPerSecond;if(!h){const L=this.previousStatsReport.get(e.id);if(L){const N=e.timestamp-L.timestamp;N>0&&e.framesSent&&(h=(e.framesSent-L.framesSent)/N*1e3)}if(!h)return}const S=this.peerconnection.getActiveSimulcastStreams();h=S?Math.round(h/S):0,c.setFramerate(h)}}),this.eventEmitter.emit(Br,this.peerconnection,i),this._processAndEmitReport()},Vn.prototype.processAudioLevelReport=function(){this.baselineAudioLevelsReport&&this.currentAudioLevelsReport.forEach(i=>{if(i.type!=="track")return;const e=i.audioLevel;if(!e)return;const n=i.trackIdentifier,r=this.peerconnection.getSsrcByTrackId(n);if(r){const s=r===this.peerconnection.getLocalSSRC(this.peerconnection.getLocalTracks(ot));this.eventEmitter.emit(xr,this.peerconnection,r,e,s)}})};const An=o(9077).getLogger("modules/statistics/statistics.js");let Zn,wn=!1;function Nn(i){ue.isBackendInitialized()||ue.initBackend({callStatsID:i.callStatsID,callStatsSecret:i.callStatsSecret,userName:i.userName,aliasName:i.aliasName,applicationName:i.applicationName,getWiFiStatsMethod:i.getWiFiStatsMethod,confID:i.confID,siteID:i.siteID,configParams:i.configParams})||An.error("CallStats Backend initialization failed bad")}function Ue(i,e){this.rtpStatsMap=new Map,this.eventEmitter=new(tt()),this.xmpp=i,this.options=e||{},this.callStatsIntegrationEnabled=this.options.callStatsID&&this.options.callStatsSecret&&this.options.enableCallStats&&Ue.disableThirdPartyRequests!==!0,this.callStatsIntegrationEnabled&&(this.callStatsApplicationLogsDisabled=this.options.callStatsApplicationLogsDisabled,A.isReactNative()?Nn(this.options):function(n){wn||(K().loadScript(n.customScriptUrl||Yt,!0,!0,void 0,()=>Nn(n)),wn=!0)}(this.options),this.options.confID||An.warn('"confID" is not defined')),this.callsStatsInstances=new Map,Ue.instances.add(this)}Ue.init=function(i){Ue.audioLevelsEnabled=!i.disableAudioLevels,typeof i.pcStatsInterval=="number"&&(Ue.pcStatsInterval=i.pcStatsInterval),typeof i.audioLevelsInterval=="number"&&(Ue.audioLevelsInterval=i.audioLevelsInterval),typeof i.longTasksStatsInterval=="number"&&(Ue.longTasksStatsInterval=i.longTasksStatsInterval),Ue.disableThirdPartyRequests=i.disableThirdPartyRequests},Ue.audioLevelsEnabled=!1,Ue.audioLevelsInterval=200,Ue.pcStatsInterval=1e4,Ue.disableThirdPartyRequests=!1,Ue.analytics=oe,Object.defineProperty(Ue,"instances",{get:()=>(Zn||(Zn=new Set),Zn)}),Ue.prototype.startRemoteStats=function(i){this.stopRemoteStats(i);try{const e=new Vn(i,Ue.audioLevelsInterval,Ue.pcStatsInterval,this.eventEmitter);e.start(Ue.audioLevelsEnabled),this.rtpStatsMap.set(i.id,e)}catch(e){An.error(`Failed to start collecting remote statistics: ${e}`)}},Ue.localStats=[],Ue.startLocalStats=function(i,e){if(!Ue.audioLevelsEnabled)return;const n=new rt(i,Ue.audioLevelsInterval,e);this.localStats.push(n),n.start()},Ue.prototype.addAudioLevelListener=function(i){Ue.audioLevelsEnabled&&this.eventEmitter.on(xr,i)},Ue.prototype.removeAudioLevelListener=function(i){Ue.audioLevelsEnabled&&this.eventEmitter.removeListener(xr,i)},Ue.prototype.addBeforeDisposedListener=function(i){this.eventEmitter.on(kr,i)},Ue.prototype.removeBeforeDisposedListener=function(i){this.eventEmitter.removeListener(kr,i)},Ue.prototype.addConnectionStatsListener=function(i){this.eventEmitter.on(zr,i)},Ue.prototype.removeConnectionStatsListener=function(i){this.eventEmitter.removeListener(zr,i)},Ue.prototype.addByteSentStatsListener=function(i){this.eventEmitter.on(Br,i)},Ue.prototype.removeByteSentStatsListener=function(i){this.eventEmitter.removeListener(Br,i)},Ue.prototype.addLongTasksStatsListener=function(i){this.eventEmitter.on(hi,i)},Ue.prototype.attachLongTasksStats=function(i){A.supportsPerformanceObserver()?(this.performanceObserverStats=new Nt(this.eventEmitter,Ue.longTasksStatsInterval),i.on(U,()=>this.performanceObserverStats.startObserver()),i.on(Z,()=>this.performanceObserverStats.stopObserver())):An.warn("Performance observer for long tasks not supported by browser!")},Ue.prototype.getLongTasksStats=function(){return this.performanceObserverStats?this.performanceObserverStats.getLongTasksStats():null},Ue.prototype.removeLongTasksStatsListener=function(i){this.eventEmitter.removeListener(hi,i)},Ue.prototype.setSpeakerList=function(i){for(const e of Array.from(this.rtpStatsMap.values()))e.peerconnection.isP2P||e.setSpeakerList(i)},Ue.prototype.dispose=function(){try{this.callsStatsInstances.size||this.eventEmitter.emit(kr);for(const i of this.callsStatsInstances.values())this.stopCallStats(i.tpc);for(const i of this.rtpStatsMap.keys())this._stopRemoteStats(i);this.eventEmitter&&this.eventEmitter.removeAllListeners()}finally{Ue.instances.delete(this)}},Ue.stopLocalStats=function(i){if(Ue.audioLevelsEnabled){for(let e=0;e<Ue.localStats.length;e++)if(Ue.localStats[e].stream===i){Ue.localStats.splice(e,1)[0].stop();break}}},Ue.prototype._stopRemoteStats=function(i){const e=this.rtpStatsMap.get(i);e&&(e.stop(),this.rtpStatsMap.delete(i))},Ue.prototype.stopRemoteStats=function(i){this._stopRemoteStats(i.id)},Ue.prototype.startCallStats=function(i,e){if(!this.callStatsIntegrationEnabled)return;if(this.callsStatsInstances.has(i.id))return void An.error("CallStats instance for ${tpc} exists already");An.info(`Starting CallStats for ${i}...`);const n=new ue(i,{confID:this.options.confID,remoteUserID:e});this.callsStatsInstances.set(i.id,n)},Ue._getAllCallStatsInstances=function(){const i=new Set;for(const e of Ue.instances)for(const n of e.callsStatsInstances.values())i.add(n);return i},Ue.prototype.stopCallStats=function(i){const e=this.callsStatsInstances.get(i.id);e&&(this.callsStatsInstances.size===1&&this.eventEmitter.emit(kr),this.callsStatsInstances.delete(i.id),e.sendTerminateEvent())},Ue.prototype.isCallstatsEnabled=function(){return this.callStatsIntegrationEnabled},Ue.prototype.sendConnectionResumeOrHoldEvent=function(i,e){const n=this.callsStatsInstances.get(i.id);n&&n.sendResumeOrHoldEvent(e)},Ue.prototype.sendIceConnectionFailedEvent=function(i){const e=this.callsStatsInstances.get(i.id);e&&e.sendIceConnectionFailedEvent()},Ue.prototype.sendMuteEvent=function(i,e,n){const r=i&&this.callsStatsInstances.get(i.id);ue.sendMuteEvent(e,n,r)},Ue.prototype.sendScreenSharingEvent=function(i,e){for(const n of this.callsStatsInstances.values())n.sendScreenSharingEvent(i,e)},Ue.prototype.sendDominantSpeakerEvent=function(i){for(const e of this.callsStatsInstances.values())e.sendDominantSpeakerEvent();this.xmpp.sendDominantSpeakerEvent(i)},Ue.sendActiveDeviceListEvent=function(i){const e=Ue._getAllCallStatsInstances();if(e.size)for(const n of e)ue.sendActiveDeviceListEvent(i,n);else ue.sendActiveDeviceListEvent(i,null)},Ue.prototype.associateStreamWithVideoTag=function(i,e,n,r,s,c){const h=this.callsStatsInstances.get(i.id);h&&h.associateStreamWithVideoTag(e,n,r,s,c)},Ue.sendGetUserMediaFailed=function(i){const e=i instanceof Mn?function(r){const s=new Error;return s.stack=r.stack,s.name=(r.name||"Unknown error")+(r.gum&&r.gum.error&&r.gum.error.name?` - ${r.gum.error.name}`:""),s.constraintName=r.gum&&r.gum.constraints?JSON.stringify(r.gum.constraints):"",s.message=r.message,s}(i):i,n=Ue._getAllCallStatsInstances();if(n.size)for(const r of n)ue.sendGetUserMediaFailed(e,r);else ue.sendGetUserMediaFailed(e,null)},Ue.prototype.sendCreateOfferFailed=function(i,e){const n=this.callsStatsInstances.get(e.id);n&&n.sendCreateOfferFailed(i)},Ue.prototype.sendCreateAnswerFailed=function(i,e){const n=this.callsStatsInstances.get(e.id);n&&n.sendCreateAnswerFailed(i)},Ue.prototype.sendSetLocalDescFailed=function(i,e){const n=this.callsStatsInstances.get(e.id);n&&n.sendSetLocalDescFailed(i)},Ue.prototype.sendSetRemoteDescFailed=function(i,e){const n=this.callsStatsInstances.get(e.id);n&&n.sendSetRemoteDescFailed(i)},Ue.prototype.sendAddIceCandidateFailed=function(i,e){const n=this.callsStatsInstances.get(e.id);n&&n.sendAddIceCandidateFailed(i)},Ue.sendLog=function(i){const e=new Set;for(const n of Ue.instances){if(n.callStatsApplicationLogsDisabled)return;n.callsStatsInstances.size&&e.add(n.callsStatsInstances.values().next().value)}if(e.size)for(const n of e)ue.sendApplicationLog(i,n);else ue.sendApplicationLog(i,null)},Ue.prototype.sendFeedback=function(i,e){return Ue.analytics.sendEvent("feedback",{rating:i,comment:e}),ue.sendFeedback(this.options.confID,i,e)},Ue.LOCAL_JID=o(4806).LOCAL_JID,Ue.reportGlobalError=function(i){i instanceof Mn&&i.gum?Ue.sendGetUserMediaFailed(i):Ue.sendLog(i)},Ue.sendAnalyticsAndLog=function(i){let e,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};i?(e=typeof i=="object"?i:{name:i,properties:n},An.log(JSON.stringify(e)),this.analytics.sendEvent(i,n)):An.warn("No event or event name given.")},Ue.sendAnalytics=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.analytics.sendEvent(i,e)};var Un=o(4832),pi=o.n(Un),Ii=o(1645),xt=o.n(Ii),Wn=o(1122),zn=o.n(Wn),Tr=o(3514),tn=o.n(Tr),Fn=o(4188),Ke=o.n(Fn);const Sr=(0,P.getLogger)("JitsiConferenceEventManager.js");function Rr(i){this.conference=i,this.xmppListeners={},i.on(Di,e=>{if(!e.isLocal()||!i.statistics)return;const n=e.isP2P?i.p2pJingleSession:i.jvbJingleSession,r=n&&n.peerconnection||null;i.statistics.sendMuteEvent(r,e.isMuted(),e.getType())})}Rr.prototype.setupChatRoomListeners=function(){const i=this.conference,e=i.room;this.chatRoomForwarder=new(pi())(e,this.conference.eventEmitter),e.addListener(Ke().ICE_RESTARTING,n=>{n.isP2P||i.rtc.closeBridgeChannel()}),e.addListener(Ke().PARTICIPANT_FEATURES_CHANGED,(n,r)=>{const s=i.getParticipantById(Ce.Strophe.getResourceFromJid(n));s&&(s.setFeatures(r),i.eventEmitter.emit(pt,s))}),e.addListener(Ke().ICE_RESTART_SUCCESS,(n,r)=>{!n.isP2P&&i._setBridgeChannel(r,n.peerconnection)}),e.addListener(Ke().AUDIO_MUTED_BY_FOCUS,n=>{Ue.sendAnalytics(Er(ot)),i.mutedByFocusActor=n,i.rtc.setAudioMute(!0).then(()=>{i.isMutedByFocus=!0,i.mutedByFocusActor=null}).catch(r=>{i.mutedByFocusActor=null,Sr.warn("Error while audio muting due to focus request",r)})}),e.addListener(Ke().VIDEO_MUTED_BY_FOCUS,n=>{Ue.sendAnalytics(Er(St)),i.mutedVideoByFocusActor=n,i.rtc.setVideoMute(!0).then(()=>{i.isVideoMutedByFocus=!0,i.mutedVideoByFocusActor=null}).catch(r=>{i.mutedVideoByFocusActor=null,Sr.warn("Error while video muting due to focus request",r)})}),this.chatRoomForwarder.forward(Ke().SUBJECT_CHANGED,yi),this.chatRoomForwarder.forward(Ke().MUC_JOINED,U),this.chatRoomForwarder.forward(Ke().MUC_JOIN_IN_PROGRESS,R),this.chatRoomForwarder.forward(Ke().MEETING_ID_SET,_e),e.addListener(Ke().MUC_JOINED,()=>{this.conference._onMucJoined(),this.conference.isJvbConnectionInterrupted=!1,Object.keys(e.connectionTimes).forEach(n=>{const r=zi(`conference_${n}`,{value:e.connectionTimes[n]});Ue.sendAnalytics(r)}),Object.keys(e.xmpp.connectionTimes).forEach(n=>{const r=zi(`xmpp_${n}`,{value:e.xmpp.connectionTimes[n]});Ue.sendAnalytics(r)})}),e.addListener(Ke().RENEGOTIATION_FAILED,(n,r)=>{r.isP2P||i.eventEmitter.emit(De,$e,n)}),this.chatRoomForwarder.forward(Ke().ROOM_JOIN_ERROR,De,Re),this.chatRoomForwarder.forward(Ke().ROOM_CONNECT_ERROR,De,Re),this.chatRoomForwarder.forward(Ke().ROOM_CONNECT_NOT_ALLOWED_ERROR,De,at),this.chatRoomForwarder.forward(Ke().ROOM_CONNECT_MEMBERS_ONLY_ERROR,De,Ee),this.chatRoomForwarder.forward(Ke().ROOM_MAX_USERS_ERROR,De,be),this.chatRoomForwarder.forward(Ke().PASSWORD_REQUIRED,De,f),this.chatRoomForwarder.forward(Ke().AUTHENTICATION_REQUIRED,De,me),this.chatRoomForwarder.forward(Ke().BRIDGE_DOWN,De,H),e.addListener(Ke().BRIDGE_DOWN,()=>Ue.sendAnalytics(function(){const n="bridge.down";return{action:n,actionSubject:n,type:qn}}())),e.addListener(Ke().CONNECTION_RESTARTED,n=>{i._onConferenceRestarted(n)}),this.chatRoomForwarder.forward(Ke().RESERVATION_ERROR,De,D),this.chatRoomForwarder.forward(Ke().GRACEFUL_SHUTDOWN,De,Ze),e.addListener(Ke().CONNECTION_ICE_FAILED,n=>{i._onIceConnectionFailed(n)}),this.chatRoomForwarder.forward(Ke().MUC_DESTROYED,De,it),this.chatRoomForwarder.forward(Ke().CHAT_ERROR_RECEIVED,he,ge),this.chatRoomForwarder.forward(Ke().SETTINGS_ERROR_RECEIVED,he,Be),this.chatRoomForwarder.forward(Ke().FOCUS_DISCONNECTED,De,Xe),e.addListener(Ke().FOCUS_LEFT,()=>{Ue.sendAnalytics(function(){const n="focus.left";return{action:n,actionSubject:n,type:qn}}()),i.eventEmitter.emit(De,se)}),e.addListener(Ke().SESSION_ACCEPT_TIMEOUT,n=>{Ue.sendAnalyticsAndLog(or("session-accept.timeout",{p2p:n.isP2P}))}),e.addListener(Ke().RECORDER_STATE_CHANGED,(n,r)=>{if(r){const s=Ce.Strophe.getResourceFromJid(r),c=i.getParticipantById(s)||s;n.getStatus()==="off"?n.setTerminator(c):n.getStatus()==="on"&&n.setInitiator(c)}i.eventEmitter.emit(li,n)}),this.chatRoomForwarder.forward(Ke().TRANSCRIPTION_STATUS_CHANGED,Li),this.chatRoomForwarder.forward(Ke().VIDEO_SIP_GW_AVAILABILITY_CHANGED,hn),this.chatRoomForwarder.forward(Ke().VIDEO_SIP_GW_SESSION_STATE_CHANGED,At),this.chatRoomForwarder.forward(Ke().PHONE_NUMBER_CHANGED,oi),e.setParticipantPropertyListener((n,r)=>{const s=i.getParticipantById(r);s&&s.setProperty(n.tagName.substring(18),n.value)}),e.addListener(Ke().KICKED,i.onMemberKicked.bind(i)),e.addListener(Ke().SUSPEND_DETECTED,i.onSuspendDetected.bind(i)),this.chatRoomForwarder.forward(Ke().MUC_LOCK_CHANGED,q),this.chatRoomForwarder.forward(Ke().MUC_MEMBERS_ONLY_CHANGED,Q),e.addListener(Ke().MUC_MEMBER_JOINED,i.onMemberJoined.bind(i)),this.chatRoomForwarder.forward(Ke().MUC_LOBBY_MEMBER_JOINED,ct),this.chatRoomForwarder.forward(Ke().MUC_LOBBY_MEMBER_UPDATED,Ct),this.chatRoomForwarder.forward(Ke().MUC_LOBBY_MEMBER_LEFT,Mt),e.addListener(Ke().MUC_MEMBER_BOT_TYPE_CHANGED,i._onMemberBotTypeChanged.bind(i)),e.addListener(Ke().MUC_MEMBER_LEFT,i.onMemberLeft.bind(i)),this.chatRoomForwarder.forward(Ke().MUC_LEFT,Z),this.chatRoomForwarder.forward(Ke().MUC_DENIED_ACCESS,De,Le),e.addListener(Ke().DISPLAY_NAME_CHANGED,i.onDisplayNameChanged.bind(i)),e.addListener(Ke().LOCAL_ROLE_CHANGED,n=>{i.onLocalRoleChanged(n),i.statistics&&i.isModerator()&&i.on(li,r=>{const s={error:r.getError(),id:"recorder_status",status:r.getStatus()};Ue.sendLog(JSON.stringify(s))})}),e.addListener(Ke().MUC_ROLE_CHANGED,i.onUserRoleChanged.bind(i)),e.addListener(tn().IDENTITY_UPDATED,(n,r)=>{i.authEnabled=n,i.authIdentity=r,i.eventEmitter.emit(Se,n,r)}),e.addListener(Ke().MESSAGE_RECEIVED,(n,r,s,c)=>{const h=Ce.Strophe.getResourceFromJid(n);i.eventEmitter.emit(ie,h,r,c)}),e.addListener(Ke().PRIVATE_MESSAGE_RECEIVED,(n,r,s,c)=>{const h=Ce.Strophe.getResourceFromJid(n);i.eventEmitter.emit(lt,h,r,c)}),e.addListener(Ke().PRESENCE_STATUS,(n,r)=>{const s=Ce.Strophe.getResourceFromJid(n),c=i.getParticipantById(s);c&&c._status!==r&&(c._status=r,i.eventEmitter.emit(Si,s,r))}),e.addListener(Ke().JSON_MESSAGE_RECEIVED,(n,r)=>{const s=Ce.Strophe.getResourceFromJid(n),c=i.getParticipantById(s);c?i.eventEmitter.emit(Xt,c,r):i.eventEmitter.emit(je,s,r)}),e.addPresenceListener("startmuted",(n,r)=>{let s=!1;if(i.myUserId()===r&&i.isModerator())s=!0;else{const L=i.getParticipantById(r);L&&L.isModerator()&&(s=!0)}if(!s)return;const c=n.attributes.audio==="true",h=n.attributes.video==="true";let S=!1;c!==i.startMutedPolicy.audio&&(i.startMutedPolicy.audio=c,S=!0),h!==i.startMutedPolicy.video&&(i.startMutedPolicy.video=h,S=!0),S&&i.eventEmitter.emit(en,i.startMutedPolicy)}),i.statistics&&(e.addListener(Ke().CONNECTION_ICE_FAILED,n=>{i.statistics.sendIceConnectionFailedEvent(n.peerconnection)}),e.addListener(Ke().ADD_ICE_CANDIDATE_FAILED,(n,r)=>{i.statistics.sendAddIceCandidateFailed(n,r)})),this.chatRoomForwarder.forward(Ke().BREAKOUT_ROOMS_MOVE_TO_ROOM,Oe),this.chatRoomForwarder.forward(Ke().BREAKOUT_ROOMS_UPDATED,ye)},Rr.prototype.setupRTCListeners=function(){const i=this.conference,e=i.rtc;e.addListener(xt().REMOTE_TRACK_ADDED,i.onRemoteTrackAdded.bind(i)),e.addListener(xt().REMOTE_TRACK_REMOVED,i.onRemoteTrackRemoved.bind(i)),e.addListener(xt().DOMINANT_SPEAKER_CHANGED,(n,r)=>{if(i.lastDominantSpeaker!==n&&i.room){if(i.lastDominantSpeaker=n,i.eventEmitter.emit(He,n,r),r&&r.length){const s=r.slice(0);i.myUserId!==n&&s.splice(0,0,n),s.length>5&&s.splice(5,s.length-5),i.statistics&&i.statistics.setSpeakerList(s)}i.statistics&&i.myUserId()===n&&i.statistics.sendDominantSpeakerEvent(i.room.roomjid)}}),e.addListener(xt().DATA_CHANNEL_OPEN,()=>{const n=window.performance.now(),r="data.channel.opened";Sr.log(`(TIME) ${r}: `,n),i.room.connectionTimes[r]=n,Ue.sendAnalytics(zi(r,{value:n})),i.eventEmitter.emit(jt)}),e.addListener(xt().ENDPOINT_MESSAGE_RECEIVED,(n,r)=>{const s=i.getParticipantById(n);s?i.eventEmitter.emit(Xt,s,r):Sr.warn(`Ignored ENDPOINT_MESSAGE_RECEIVED for not existing participant: ${n}`,r)}),e.addListener(xt().ENDPOINT_STATS_RECEIVED,(n,r)=>{const s=i.getParticipantById(n);s?i.eventEmitter.emit(Ht,s,r):Sr.warn(`Ignoring ENDPOINT_STATS_RECEIVED for a non-existant participant: ${n}`)}),e.addListener(xt().LOCAL_UFRAG_CHANGED,(n,r)=>{n.isP2P||Ue.sendLog(JSON.stringify({id:"local_ufrag",value:r}))}),e.addListener(xt().REMOTE_UFRAG_CHANGED,(n,r)=>{n.isP2P||Ue.sendLog(JSON.stringify({id:"remote_ufrag",value:r}))}),e.addListener(xt().CREATE_ANSWER_FAILED,(n,r)=>{i.statistics.sendCreateAnswerFailed(n,r),r.isP2P||i.eventEmitter.emit(De,$e,n)}),e.addListener(xt().CREATE_OFFER_FAILED,(n,r)=>{i.statistics.sendCreateOfferFailed(n,r),r.isP2P||i.eventEmitter.emit(De,$e,n)}),e.addListener(xt().SET_LOCAL_DESCRIPTION_FAILED,(n,r)=>{i.statistics.sendSetLocalDescFailed(n,r),r.isP2P||i.eventEmitter.emit(De,$e,n)}),e.addListener(xt().SET_REMOTE_DESCRIPTION_FAILED,(n,r)=>{i.statistics.sendSetRemoteDescFailed(n,r),r.isP2P||i.eventEmitter.emit(De,$e,n)}),e.addListener(xt().LOCAL_TRACK_SSRC_UPDATED,(n,r)=>{n.isVideoTrack()&&n.videoType===zn().DESKTOP&&i.statistics.sendScreenSharingEvent(!0,r)})},Rr.prototype.removeXMPPListeners=function(){const i=this.conference;Object.keys(this.xmppListeners).forEach(e=>{i.xmpp.removeListener(e,this.xmppListeners[e])}),this.xmppListeners={}},Rr.prototype.setupXMPPListeners=function(){const i=this.conference;this._addConferenceXMPPListener(Ke().CALL_INCOMING,i.onIncomingCall.bind(i)),this._addConferenceXMPPListener(Ke().CALL_ACCEPTED,i.onCallAccepted.bind(i)),this._addConferenceXMPPListener(Ke().TRANSPORT_INFO,i.onTransportInfo.bind(i)),this._addConferenceXMPPListener(Ke().CALL_ENDED,i.onCallEnded.bind(i)),this._addConferenceXMPPListener(Ke().START_MUTED_FROM_FOCUS,(e,n)=>{i.options.config.ignoreStartMuted||(i.startAudioMuted=e,i.startVideoMuted=n,i.getLocalTracks().forEach(r=>{switch(r.getType()){case ot:i.startAudioMuted&&r.mute();break;case St:i.startVideoMuted&&r.mute()}}),i.eventEmitter.emit(Pn))}),this._addConferenceXMPPListener(Ke().CONFERENCE_TIMESTAMP_RECEIVED,e=>{i.eventEmitter.emit(It,e)}),this._addConferenceXMPPListener(Ke().AV_MODERATION_CHANGED,(e,n,r)=>{const s=i.getParticipants().find(c=>c.getJid()===r);i.eventEmitter.emit(I,{enabled:e,mediaType:n,actor:s})}),this._addConferenceXMPPListener(Ke().AV_MODERATION_PARTICIPANT_APPROVED,(e,n)=>{const r=i.getParticipantById(Ce.Strophe.getResourceFromJid(n));r&&i.eventEmitter.emit(C,{participant:r,mediaType:e})}),this._addConferenceXMPPListener(Ke().AV_MODERATION_PARTICIPANT_REJECTED,(e,n)=>{const r=i.getParticipantById(Ce.Strophe.getResourceFromJid(n));r&&i.eventEmitter.emit(ne,{participant:r,mediaType:e})}),this._addConferenceXMPPListener(Ke().AV_MODERATION_APPROVED,e=>i.eventEmitter.emit(vn,{mediaType:e})),this._addConferenceXMPPListener(Ke().AV_MODERATION_REJECTED,e=>{i.eventEmitter.emit(on,{mediaType:e})})},Rr.prototype._addConferenceXMPPListener=function(i,e){this.xmppListeners[i]=e,this.conference.xmpp.addListener(i,e)},Rr.prototype.setupStatisticsListeners=function(){const i=this.conference;i.statistics&&(i.statistics.addAudioLevelListener((e,n,r,s)=>{i.rtc.setAudioLevel(e,n,r,s)}),i.statistics.addBeforeDisposedListener(()=>{i.eventEmitter.emit(pe)}),i.options.config.startSilent||i.statistics.addByteSentStatsListener((e,n)=>{i.getLocalTracks(ot).forEach(r=>{const s=e.getLocalSSRC(r);s&&n.hasOwnProperty(s)&&r.onByteSentStatsReceived(e,n[s])})}))};const cs="track.stopped",wr="track.audioLevelsChanged",Jr="track.audioOutputChanged",br="track.trackMuteChanged",Zr="track.videoTypeChanged",Xi="track.no_data_from_source",Zi="track.no_audio_input",Fi=(0,P.getLogger)("modules/connectivity/ParticipantConnectionStatus.js"),xi={ACTIVE:"active",INACTIVE:"inactive",INTERRUPTED:"interrupted",RESTORING:"restoring"};class es{static _getNewStateForJvbMode(e,n,r,s,c){return e?s?xi.ACTIVE:A.supportsVideoMuteOnConnInterrupted()?c?n?r?xi.INTERRUPTED:xi.RESTORING:xi.INACTIVE:xi.ACTIVE:n?xi.ACTIVE:xi.INACTIVE:xi.INTERRUPTED}static _getNewStateForP2PMode(e,n){return A.supportsVideoMuteOnConnInterrupted()?e||!n?xi.ACTIVE:xi.INTERRUPTED:xi.ACTIVE}constructor(e,n,r){this.rtc=e,this.conference=n,this.trackTimers={},this.connStatusFromJvb={},this.outOfLastNTimeout=typeof r.outOfLastNTimeout=="number"?r.outOfLastNTimeout:500,this.p2pRtcMuteTimeout=typeof r.p2pRtcMuteTimeout=="number"?r.p2pRtcMuteTimeout:2500,this.rtcMuteTimeout=typeof r.rtcMuteTimeout=="number"?r.rtcMuteTimeout:1e4,this.rtcMutedTimestamp={},Fi.info(`RtcMuteTimeout set to: ${this.rtcMuteTimeout}`),this.enteredLastNTimestamp=new Map,this.restoringTimers=new Map,this.connectionStatusMap=new Map}_getVideoFrozenTimeout(e){return this.rtc.isInLastN(e)?this.rtcMuteTimeout:this.conference.isP2PActive()?this.p2pRtcMuteTimeout:this.outOfLastNTimeout}init(){this._onEndpointConnStatusChanged=this.onEndpointConnStatusChanged.bind(this),this.rtc.addListener(xt().ENDPOINT_CONN_STATUS_CHANGED,this._onEndpointConnStatusChanged),this._onP2PStatus=this.refreshConnectionStatusForAll.bind(this),this.conference.on(Dt,this._onP2PStatus),this._onUserLeft=this.onUserLeft.bind(this),this.conference.on(Yn,this._onUserLeft),A.supportsVideoMuteOnConnInterrupted()&&(this._onTrackRtcMuted=this.onTrackRtcMuted.bind(this),this.rtc.addListener(xt().REMOTE_TRACK_MUTE,this._onTrackRtcMuted),this._onTrackRtcUnmuted=this.onTrackRtcUnmuted.bind(this),this.rtc.addListener(xt().REMOTE_TRACK_UNMUTE,this._onTrackRtcUnmuted),this._onRemoteTrackAdded=this.onRemoteTrackAdded.bind(this),this.conference.on(ii,this._onRemoteTrackAdded),this._onRemoteTrackRemoved=this.onRemoteTrackRemoved.bind(this),this.conference.on(ai,this._onRemoteTrackRemoved),this._onSignallingMuteChanged=this.onSignallingMuteChanged.bind(this),this._onTrackVideoTypeChanged=this.onTrackVideoTypeChanged.bind(this)),this._onLastNChanged=this._onLastNChanged.bind(this),this.conference.on(Zt,this._onLastNChanged),this._onLastNValueChanged=this.refreshConnectionStatusForAll.bind(this),this.rtc.on(xt().LASTN_VALUE_CHANGED,this._onLastNValueChanged)}dispose(){this.rtc.removeListener(xt().ENDPOINT_CONN_STATUS_CHANGED,this._onEndpointConnStatusChanged),A.supportsVideoMuteOnConnInterrupted()&&(this.rtc.removeListener(xt().REMOTE_TRACK_MUTE,this._onTrackRtcMuted),this.rtc.removeListener(xt().REMOTE_TRACK_UNMUTE,this._onTrackRtcUnmuted),this.conference.off(ii,this._onRemoteTrackAdded),this.conference.off(ai,this._onRemoteTrackRemoved)),this.conference.off(Zt,this._onLastNChanged),this.rtc.removeListener(xt().LASTN_VALUE_CHANGED,this._onLastNValueChanged),this.conference.off(Dt,this._onP2PStatus),this.conference.off(Yn,this._onUserLeft);const e=Object.keys(this.trackTimers);for(const n of e)this.clearTimeout(n),this.clearRtcMutedTimestamp(n);for(const n in this.connectionStatusMap)this.connectionStatusMap.hasOwnProperty(n)&&this.onUserLeft(n);this.connStatusFromJvb={}}onEndpointConnStatusChanged(e,n){Fi.debug(`Detector RTCEvents.ENDPOINT_CONN_STATUS_CHANGED(${Date.now()}): ${e}: ${n}`),e!==this.conference.myUserId()&&(this.connStatusFromJvb[e]=n,this.figureOutConnectionStatus(e))}_changeConnectionStatus(e,n){if(e.getConnectionStatus()!==n){const r=e.getId();e._setConnectionStatus(n),Fi.debug(`Emit endpoint conn status(${Date.now()}) ${r}: ${n}`),Ue.sendLog(JSON.stringify({id:"peer.conn.status",participant:r,status:n})),this.conference.eventEmitter.emit(gt,r,n)}}clearTimeout(e){this.trackTimers[e]&&(window.clearTimeout(this.trackTimers[e]),this.trackTimers[e]=null)}clearRtcMutedTimestamp(e){this.rtcMutedTimestamp[e]=null}onRemoteTrackAdded(e){e.isLocal()||e.getType()!==St||(Fi.debug(`Detector on remote track added for: ${e.getParticipantId()}`),e.on(br,this._onSignallingMuteChanged),e.on(Zr,n=>this._onTrackVideoTypeChanged(e,n)))}onRemoteTrackRemoved(e){if(!e.isLocal()&&e.getType()===St){const n=e.getParticipantId();Fi.debug(`Detector on remote track removed: ${n}`),e.off(br,this._onSignallingMuteChanged),this.clearTimeout(n),this.clearRtcMutedTimestamp(n),this.figureOutConnectionStatus(n)}}isVideoTrackFrozen(e){if(!A.supportsVideoMuteOnConnInterrupted())return!1;const n=e.getId(),r=e.hasAnyVideoTrackWebRTCMuted(),s=this.rtcMutedTimestamp[n],c=this._getVideoFrozenTimeout(n);return r&&typeof s=="number"&&Date.now()-s>=c}refreshConnectionStatusForAll(){const e=this.conference.getParticipants();for(const n of e)this.figureOutConnectionStatus(n.getId())}figureOutConnectionStatus(e){const n=this.conference.getParticipantById(e);if(!n)return void Fi.debug(`figure out conn status - no participant for: ${e}`);const r=this.conference.isP2PActive(),s=this._isRestoringTimedout(e),c=this.conference.getLastN()===0,h=n.isVideoMuted()||c,S=this.isVideoTrackFrozen(n),L=this.rtc.isInLastN(e);let N=this.connStatusFromJvb[e];typeof N!="boolean"&&(N=!0);const te=r?es._getNewStateForP2PMode(h,S):es._getNewStateForJvbMode(N,L,s,h,S);te!==xi.RESTORING&&this._clearRestoringTimer(e),Fi.debug(`Figure out conn status for ${e}, is video muted: ${h} is active(jvb): ${N} video track frozen: ${S} p2p mode: ${r} is in last N: ${L} currentStatus => newStatus: ${n.getConnectionStatus()} => ${te}`);const fe=this.connectionStatusMap[e]||{};if(!("p2p"in fe)||!("connectionStatus"in fe)||fe.p2p!==r||fe.connectionStatus!==te){const Ne=Date.now();if(this.maybeSendParticipantConnectionStatusEvent(e,Ne),this.connectionStatusMap[e]=dn(Ft({},fe),{connectionStatus:te,p2p:r,startedMs:Ne}),!("videoType"in this.connectionStatusMap[e])){const ze=n.getTracksByMediaType(St);Array.isArray(ze)&&ze.length!==0&&(this.connectionStatusMap[e].videoType=ze[0].videoType)}}this._changeConnectionStatus(n,te)}maybeSendParticipantConnectionStatusEvent(e,n){const r=this.connectionStatusMap[e];r&&"startedMs"in r&&"videoType"in r&&"connectionStatus"in r&&"p2p"in r&&(r.value=n-r.startedMs,Ue.sendAnalytics(function(){return{type:qn,source:"peer.conn.status",action:"duration",attributes:arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}}}(r)))}_onLastNChanged(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const r=Date.now();Fi.debug(`LastN endpoints changed leaving=${e}, entering=${n} at ${r}`),A.supportsVideoMuteOnConnInterrupted()||this.refreshConnectionStatusForAll();for(const s of e)this.enteredLastNTimestamp.delete(s),this._clearRestoringTimer(s),A.supportsVideoMuteOnConnInterrupted()&&this.figureOutConnectionStatus(s);for(const s of n)this.enteredLastNTimestamp.set(s,r),A.supportsVideoMuteOnConnInterrupted()&&this.figureOutConnectionStatus(s)}_clearRestoringTimer(e){const n=this.restoringTimers.get(e);n&&(clearTimeout(n),this.restoringTimers.delete(e))}_isRestoringTimedout(e){const n=this.enteredLastNTimestamp.get(e);return!!(n&&Date.now()-n>=1e4)||(this.restoringTimers.get(e)||this.restoringTimers.set(e,setTimeout(()=>this.figureOutConnectionStatus(e),1e4)),!1)}onUserLeft(e){this.maybeSendParticipantConnectionStatusEvent(e,Date.now()),delete this.connectionStatusMap[e]}onTrackRtcMuted(e){const n=e.getParticipantId(),r=this.conference.getParticipantById(n);if(Fi.debug(`Detector track RTC muted: ${n}`,Date.now()),r){if(this.rtcMutedTimestamp[n]=Date.now(),!r.isVideoMuted()){this.clearTimeout(n);const s=this._getVideoFrozenTimeout(n);this.trackTimers[n]=window.setTimeout(()=>{Fi.debug(`Set RTC mute timeout for: ${n} of ${s} ms`),this.clearTimeout(n),this.figureOutConnectionStatus(n)},s)}}else Fi.error(`No participant for id: ${n}`)}onTrackRtcUnmuted(e){const n=e.getParticipantId();Fi.debug(`Detector track RTC unmuted: ${n}`,Date.now()),this.clearTimeout(n),this.clearRtcMutedTimestamp(n),this.figureOutConnectionStatus(n)}onSignallingMuteChanged(e){const n=e.getParticipantId();Fi.debug(`Detector on track signalling mute changed: ${n}`,e.isMuted()),this.figureOutConnectionStatus(n)}onTrackVideoTypeChanged(e,n){const r=e.getParticipantId(),s=Date.now();this.maybeSendParticipantConnectionStatusEvent(r,s),this.connectionStatusMap[r]=dn(Ft({},this.connectionStatusMap[r]||{}),{videoType:n,startedMs:s})}}class ko{constructor(e,n,r,s,c,h,S,L,N){this._jid=e,this._id=Ce.Strophe.getResourceFromJid(e),this._conference=n,this._displayName=r,this._supportsDTMF=!1,this._tracks=[],this._role="none",this._status=h,this._hidden=s,this._statsID=c,this._connectionStatus=xi.ACTIVE,this._properties={},this._identity=S,this._isReplacing=L,this._isReplaced=N,this._features=new Set}getConference(){return this._conference}getProperty(e){return this._properties[e]}hasAnyVideoTrackWebRTCMuted(){return this.getTracks().some(e=>e.getType()===St&&e.isWebRTCTrackMuted())}_setConnectionStatus(e){this._connectionStatus=e}getConnectionStatus(){return this._connectionStatus}setProperty(e,n){const r=this._properties[e];n!==r&&(this._properties[e]=n,this._conference.eventEmitter.emit(xe,this,e,r,n))}getTracks(){return this._tracks.slice()}getTracksByMediaType(e){return this.getTracks().filter(n=>n.getType()===e)}getId(){return this._id}getJid(){return this._jid}getDisplayName(){return this._displayName}getStatsID(){return this._statsID}getStatus(){return this._status}isModerator(){return this._role==="moderator"}isHidden(){return this._hidden}isReplacing(){return this._isReplacing}isReplaced(){return this._isReplaced}isAudioMuted(){return this._isMediaTypeMuted(ot)}_isMediaTypeMuted(e){return this.getTracks().reduce((n,r)=>n&&(r.getType()!==e||r.isMuted()),!0)}isVideoMuted(){return this._isMediaTypeMuted(St)}getRole(){return this._role}setRole(e){this._role=e}setIsReplacing(e){this._isReplacing=e}setIsReplaced(e){this._isReplaced=e}supportsDTMF(){return this._supportsDTMF}getFeatures(){return Promise.resolve(this._features)}hasFeature(e){return this._features.has(e)}setFeatures(e){this._features=e||new Set}getBotType(){return this._botType}setBotType(e){this._botType=e}}const Qn="connection.connectionDisconnected",Gr="connection.connectionEstablished",vi="connection.connectionFailed",er="connection.wrongState",ls="connection.display_name_required";o(5808);const Os="connection.droppedError",us="connection.otherError",Ds="connection.passwordRequired",Ms="connection.serverError";class tr{constructor(){var e=this;this.promise=new Promise((n,r)=>{this.resolve=function(){e.clearRejectTimeout(),n(...arguments)},this.reject=function(){e.clearRejectTimeout(),r(...arguments)}}),this.then=this.promise.then.bind(this.promise),this.catch=this.promise.catch.bind(this.promise)}clearRejectTimeout(){clearTimeout(this._timeout)}setRejectTimeout(e){this._timeout=setTimeout(()=>{this.reject(new Error("timeout"))},e)}}class ki{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new(tt());this.eventEmitter=e,this.addEventListener=this.on=this.addListener,this.removeEventListener=this.off=this.removeListener}addListener(e,n){return this.eventEmitter.addListener(e,n),()=>this.removeEventListener(e,n)}removeListener(e,n){this.eventEmitter.removeListener(e,n)}}const so=(0,P.getLogger)("modules/e2ee/E2EEContext.js"),Ir=Symbol("kJitsiE2EE");class ds{constructor(){let{sharedKey:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n="";const r=document.querySelector('script[src*="lib-jitsi-meet"]');if(r){const c=r.src.lastIndexOf("/");n=`${r.src.substring(0,c)}/`}let s=`${n}lib-jitsi-meet.e2ee-worker.js`;if(n&&n!=="/"){const c=new Blob([`importScripts("${s}");`],{type:"application/javascript"});s=window.URL.createObjectURL(c)}this._worker=new Worker(s,{name:"E2EE Worker"}),this._worker.onerror=c=>so.error(c),this._worker.postMessage({operation:"initialize",sharedKey:e})}cleanup(e){this._worker.postMessage({operation:"cleanup",participantId:e})}cleanupAll(){this._worker.postMessage({operation:"cleanupAll"})}handleReceiver(e,n,r){if(!e[Ir])if(e[Ir]=!0,window.RTCRtpScriptTransform){const s={operation:"decode",participantId:r};e.transform=new RTCRtpScriptTransform(this._worker,s)}else{const s=e.createEncodedStreams();this._worker.postMessage({operation:"decode",readableStream:s.readable,writableStream:s.writable,participantId:r},[s.readable,s.writable])}}handleSender(e,n,r){if(!e[Ir])if(e[Ir]=!0,window.RTCRtpScriptTransform){const s={operation:"encode",participantId:r};e.transform=new RTCRtpScriptTransform(this._worker,s)}else{const s=e.createEncodedStreams();this._worker.postMessage({operation:"encode",readableStream:s.readable,writableStream:s.writable,participantId:r},[s.readable,s.writable])}}setKey(e,n,r){this._worker.postMessage({operation:"setKey",key:n,keyIndex:r,participantId:e})}}const hs=(0,P.getLogger)("modules/e2ee/KeyHandler.js");class ts extends ki{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),this.conference=e,this.e2eeCtx=new ds(n),this.enabled=!1,this._enabling=void 0,this.conference.on(Ae,this._onMediaSessionStarted.bind(this)),this.conference.on(ii,r=>r.isLocal()&&this._onLocalTrackAdded(r)),this.conference.rtc.on(xt().REMOTE_TRACK_ADDED,(r,s)=>this._setupReceiverE2EEForTrack(s,r)),this.conference.on(Di,this._trackMuteChanged.bind(this))}isEnabled(){return this.enabled}setEnabled(e){return mi(this,null,function*(){e!==this.enabled&&(this._enabling&&(yield this._enabling),this._enabling=new tr,this.enabled=e,e||this.e2eeCtx.cleanupAll(),this._setEnabled&&(yield this._setEnabled(e)),this.conference.setLocalParticipantProperty("e2ee.enabled",e),this.conference._restartMediaSessions(),this._enabling.resolve())})}setEncryptionKey(){throw new Error("Not implemented by subclass")}_onLocalTrackAdded(e){for(const n of this.conference._getMediaSessions())this._setupSenderE2EEForTrack(n,e)}_onMediaSessionStarted(e){const n=this.conference.getLocalTracks();for(const r of n)this._setupSenderE2EEForTrack(e,r)}_setupReceiverE2EEForTrack(e,n){if(!this.enabled)return;const r=e.findReceiverForTrack(n.track);r?this.e2eeCtx.handleReceiver(r,n.getType(),n.getParticipantId()):hs.warn(`Could not handle E2EE for ${n}: receiver not found in: ${e}`)}_setupSenderE2EEForTrack(e,n){if(!this.enabled)return;const r=e.peerconnection,s=r&&r.findSenderForTrack(n.track);s?this.e2eeCtx.handleSender(s,n.getType(),n.getParticipantId()):hs.warn(`Could not handle E2EE for ${n}: sender not found in ${r}`)}_trackMuteChanged(e){if(A.doesVideoMuteByStreamRemove()&&e.isLocal()&&e.isVideoTrack()&&!e.isMuted())for(const n of this.conference._getMediaSessions())this._setupSenderE2EEForTrack(n,e)}}class Ns extends ts{constructor(e){super(e,{sharedKey:!0})}setKey(e){this.e2eeCtx.setKey(void 0,{encryptionKey:e.encryptionKey},e.index)}}var Ls=o(1296),le=o.n(Ls),Te=o(9742),Je=o(7593);Je.v1,Je.v3;const vt=Je.v4;Je.v5;const Qe=(0,P.getLogger)("modules/e2ee/OlmAdapter.js"),Et="olm",Ot="error",Bt="key-info",Jt="key-info-ack",fn="session-ack",mn="session-init",ln=Symbol("OlmData"),In={OLM_ID_KEY_READY:"olm.id_key_ready",PARTICIPANT_E2EE_CHANNEL_READY:"olm.participant_e2ee_channel_ready",PARTICIPANT_KEY_UPDATED:"olm.partitipant_key_updated"};class ni extends ki{constructor(e){super(),this._conf=e,this._init=new tr,this._key=void 0,this._keyIndex=-1,this._reqs=new Map,this._sessionInitialization=void 0,ni.isSupported()?(this._bootstrapOlm(),this._conf.on(Xt,this._onEndpointMessageReceived.bind(this)),this._conf.on(Z,this._onConferenceLeft.bind(this)),this._conf.on(Yn,this._onParticipantLeft.bind(this)),this._conf.on(xe,this._onParticipantPropertyChanged.bind(this))):this._init.reject(new Error("Olm not supported"))}initSessions(){return mi(this,null,function*(){if(this._sessionInitialization)throw new Error("OlmAdapter initSessions called multiple times");{this._sessionInitialization=new tr,yield this._init;const e=[],n=this._conf.myUserId();for(const r of this._conf.getParticipants())r.hasFeature(_o)&&n<r.getId()&&e.push(this._sendSessionInit(r));yield Promise.allSettled(e),this._sessionInitialization.resolve(),this._sessionInitialization=void 0}})}static isSupported(){return window.Olm!==void 0}updateKey(e){return mi(this,null,function*(){this._key=e,this._keyIndex++;const n=[];for(const r of this._conf.getParticipants()){const s=r.getId(),c=this._getParticipantOlmData(r);if(!c.session){Qe.warn(`Tried to send key to participant ${s} but we have no session`);continue}const h=vt(),S={[Wi]:Et,olm:{type:Bt,data:{ciphertext:this._encryptKeyInfo(c.session),uuid:h}}},L=new tr;L.setRejectTimeout(5e3),L.catch(()=>{this._reqs.delete(h)}),this._reqs.set(h,L),n.push(L),this._sendMessage(S,s)}return yield Promise.allSettled(n),this._keyIndex})}updateCurrentKey(e){return this._key=e,this._keyIndex}clearParticipantSession(e){const n=this._getParticipantOlmData(e);n.session&&(n.session.free(),n.session=void 0)}clearAllParticipantsSessions(){for(const e of this._conf.getParticipants())this.clearParticipantSession(e)}_bootstrapOlm(){return mi(this,null,function*(){Qe.debug("Initializing Olm...");try{yield Olm.init(),this._olmAccount=new Olm.Account,this._olmAccount.create();const e=JSON.parse(this._olmAccount.identity_keys());this._idKey=e.curve25519,Qe.debug(`Olm ${Olm.get_library_version().join(".")} initialized`),this._init.resolve(),this._onIdKeyReady(this._idKey)}catch(e){Qe.error("Failed to initialize Olm",e),this._init.reject(e)}})}_onIdKeyReady(e){Qe.debug(`Olm id key ready: ${e}`),this._conf.setLocalParticipantProperty("e2ee.idKey",e)}_onParticipantE2EEChannelReady(e){Qe.debug(`E2EE channel with participant ${e} is ready`)}_encryptKeyInfo(e){const n={};return this._key!==void 0&&(n.key=!!this._key&&Te.fromByteArray(this._key),n.keyIndex=this._keyIndex),e.encrypt(JSON.stringify(n))}_getParticipantOlmData(e){return e[ln]=e[ln]||{},e[ln]}_onConferenceLeft(){return mi(this,null,function*(){Qe.debug("Conference left"),yield this._init;for(const e of this._conf.getParticipants())this._onParticipantLeft(e.getId(),e);this._olmAccount&&(this._olmAccount.free(),this._olmAccount=void 0)})}_onEndpointMessageReceived(e,n){return mi(this,null,function*(){if(n[Wi]!==Et)return;if(!n.olm)return void Qe.warn("Incorrectly formatted message");yield this._init;const r=n.olm,s=e.getId(),c=this._getParticipantOlmData(e);switch(r.type){case mn:if(c.session)Qe.warn(`Participant ${s} already has a session`),this._sendError(e,"Session already established");else{const h=new Olm.Session;h.create_outbound(this._olmAccount,r.data.idKey,r.data.otKey),c.session=h;const S={[Wi]:Et,olm:{type:fn,data:{ciphertext:this._encryptKeyInfo(h),uuid:r.data.uuid}}};this._sendMessage(S,s),this._onParticipantE2EEChannelReady(s)}break;case fn:if(c.session)Qe.warn(`Participant ${s} already has a session`),this._sendError(e,"No session found");else if(r.data.uuid===c.pendingSessionUuid){const{ciphertext:h}=r.data,S=this._reqs.get(r.data.uuid),L=new Olm.Session;L.create_inbound(this._olmAccount,h.body),this._olmAccount.remove_one_time_keys(L);const N=L.decrypt(h.type,h.body);c.session=L,c.pendingSessionUuid=void 0,this._onParticipantE2EEChannelReady(s),this._reqs.delete(r.data.uuid),S.resolve();const te=yn(N);if(te.key){const fe=Te.toByteArray(te.key),Ne=te.keyIndex;c.lastKey=fe,this.eventEmitter.emit(In.PARTICIPANT_KEY_UPDATED,s,fe,Ne)}}else Qe.warn("Received ACK with the wrong UUID"),this._sendError(e,"Invalid UUID");break;case Ot:Qe.error(r.data.error);break;case Bt:if(c.session){const{ciphertext:h}=r.data,S=yn(c.session.decrypt(h.type,h.body));if(S.key!==void 0&&S.keyIndex!==void 0){const L=!!S.key&&Te.toByteArray(S.key),N=S.keyIndex;et()(c.lastKey,L)||(c.lastKey=L,this.eventEmitter.emit(In.PARTICIPANT_KEY_UPDATED,s,L,N));const te={[Wi]:Et,olm:{type:Jt,data:{ciphertext:this._encryptKeyInfo(c.session),uuid:r.data.uuid}}};this._sendMessage(te,s)}}else Qe.debug(`Received key info message from ${s} but we have no session for them!`),this._sendError(e,"No session found while processing key-info");break;case Jt:if(c.session){const{ciphertext:h}=r.data,S=yn(c.session.decrypt(h.type,h.body));if(S.key!==void 0&&S.keyIndex!==void 0){const N=!!S.key&&Te.toByteArray(S.key),te=S.keyIndex;et()(c.lastKey,N)||(c.lastKey=N,this.eventEmitter.emit(In.PARTICIPANT_KEY_UPDATED,s,N,te))}const L=this._reqs.get(r.data.uuid);this._reqs.delete(r.data.uuid),L.resolve()}else Qe.debug(`Received key info ack message from ${s} but we have no session for them!`),this._sendError(e,"No session found while processing key-info-ack")}})}_onParticipantLeft(e,n){Qe.debug(`Participant ${e} left`),this.clearParticipantSession(n)}_onParticipantPropertyChanged(e,n,r,s){return mi(this,null,function*(){if(n==="e2ee.enabled"&&s&&this._conf.isE2EEEnabled()){const c=this._conf.myUserId(),h=e.getId();if((yield e.getFeatures()).has(_o)&&c<h){this._sessionInitialization&&(yield this._sessionInitialization),yield this._sendSessionInit(e);const S=this._getParticipantOlmData(e),L=vt(),N={[Wi]:Et,olm:{type:Bt,data:{ciphertext:this._encryptKeyInfo(S.session),uuid:L}}};this._sendMessage(N,h)}}})}_sendError(e,n){const r=e.getId(),s={[Wi]:Et,olm:{type:Ot,data:{error:n}}};this._sendMessage(s,r)}_sendMessage(e,n){this._conf.sendMessage(e,n)}_sendSessionInit(e){const n=e.getId(),r=this._getParticipantOlmData(e);if(r.session)return Qe.warn(`Tried to send session-init to ${n} but we already have a session`),Promise.reject();if(r.pendingSessionUuid!==void 0)return Qe.warn(`Tried to send session-init to ${n} but we already have a pending session`),Promise.reject();this._olmAccount.generate_one_time_keys(1);const s=JSON.parse(this._olmAccount.one_time_keys()),c=Object.values(s.curve25519)[0];if(!c)return Promise.reject(new Error("No one-time-keys generated"));this._olmAccount.mark_keys_as_published();const h=vt(),S={[Wi]:Et,olm:{type:mn,data:{idKey:this._idKey,otKey:c,uuid:h}}},L=new tr;return L.setRejectTimeout(5e3),L.catch(()=>{this._reqs.delete(h),r.pendingSessionUuid=void 0}),this._reqs.set(h,L),this._sendMessage(S,n),r.pendingSessionUuid=h,L}}function yn(i){try{return JSON.parse(i)}catch(e){return{}}}ni.events=In;const fi=(0,P.getLogger)("modules/e2ee/ManagedKeyHandler.js");class bi extends ts{constructor(e){super(e),this._key=void 0,this._conferenceJoined=!1,this._olmAdapter=new ni(e),this._rotateKey=le()(this._rotateKeyImpl,5e3),this._ratchetKey=le()(this._ratchetKeyImpl,5e3),this._olmAdapter.on(ni.events.PARTICIPANT_KEY_UPDATED,this._onParticipantKeyUpdated.bind(this)),this.conference.on(xe,this._onParticipantPropertyChanged.bind(this)),this.conference.on(ti,this._onParticipantJoined.bind(this)),this.conference.on(Yn,this._onParticipantLeft.bind(this)),this.conference.on(U,()=>{this._conferenceJoined=!0})}_setEnabled(e){return mi(this,null,function*(){e?yield this._olmAdapter.initSessions():this._olmAdapter.clearAllParticipantsSessions(),this._key=!!e&&this._generateKey();const n=yield this._olmAdapter.updateKey(this._key);this.e2eeCtx.setKey(this.conference.myUserId(),this._key,n)})}_onParticipantPropertyChanged(e,n,r,s){return mi(this,null,function*(){switch(n){case"e2ee.idKey":fi.debug(`Participant ${e.getId()} updated their id key: ${s}`);break;case"e2ee.enabled":!s&&this.enabled&&this._olmAdapter.clearParticipantSession(e)}})}_onParticipantJoined(){this._conferenceJoined&&this.enabled&&this._ratchetKey()}_onParticipantLeft(e){this.e2eeCtx.cleanup(e),this.enabled&&this._rotateKey()}_rotateKeyImpl(){return mi(this,null,function*(){fi.debug("Rotating key"),this._key=this._generateKey();const e=yield this._olmAdapter.updateKey(this._key);this.e2eeCtx.setKey(this.conference.myUserId(),this._key,e)})}_ratchetKeyImpl(){return mi(this,null,function*(){fi.debug("Ratchetting key");const e=yield function(s){return mi(this,null,function*(){return crypto.subtle.importKey("raw",s,"HKDF",!1,["deriveBits","deriveKey"])})}(this._key),n=yield function(s){return mi(this,null,function*(){const c=new TextEncoder;return crypto.subtle.deriveBits({name:"HKDF",salt:c.encode("JFrameRatchetKey"),hash:"SHA-256",info:new ArrayBuffer},s,256)})}(e);this._key=new Uint8Array(n);const r=this._olmAdapter.updateCurrentKey(this._key);this.e2eeCtx.setKey(this.conference.myUserId(),this._key,r)})}_onParticipantKeyUpdated(e,n,r){fi.debug(`Participant ${e} updated their key`),this.e2eeCtx.setKey(e,n,r)}_generateKey(){return window.crypto.getRandomValues(new Uint8Array(32))}}class Pi{constructor(e){const{e2ee:n={}}=e.options.config;this._externallyManaged=n.externallyManagedKey,this._externallyManaged?this._keyHandler=new Ns(e):this._keyHandler=new bi(e)}static isSupported(e){const{e2ee:n={}}=e;return!(!n.externallyManagedKey&&!ni.isSupported())&&!(e.testing&&e.testing.disableE2EE)&&(A.supportsInsertableStreams()||e.enableEncodedTransformSupport&&A.supportsEncodedTransform())}isEnabled(){return this._keyHandler.isEnabled()}setEnabled(e){return mi(this,null,function*(){yield this._keyHandler.setEnabled(e)})}setEncryptionKey(e){this._keyHandler.setKey(e)}}var ei=o(5399),ji=o.n(ei);const Mi=["category","type","lang","name"],_i=["category","type","lang"];function nr(i,e){let n=0;return _i.some(r=>(n=i[r]>e[r]?1:i[r]<e[r]&&-1)!==0),n}function ns(i){const e=new Set,n=new Set;return $(i).find(">query>feature").each((r,s)=>e.add(s.getAttribute("var"))),$(i).find(">query>identity").each((r,s)=>n.add({type:s.getAttribute("type"),name:s.getAttribute("name"),category:s.getAttribute("category")})),{features:e,identities:n}}class oo extends ki{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"http://jitsi.org/jitsimeet";if(super(),this.node=n,this.disco=e.disco,!this.disco)throw new Error("Missing strophe-plugins (disco plugin is required)!");this.version="",this.rooms=new Set,this.externalFeatures=new Set;const r=e.emuc;r.addListener(Ke().EMUC_ROOM_ADDED,s=>this._addChatRoom(s)),r.addListener(Ke().EMUC_ROOM_REMOVED,s=>this._removeChatRoom(s)),Object.keys(r.rooms).forEach(s=>{this._addChatRoom(r.rooms[s])}),Ce.Strophe.addNamespace("CAPS","http://jabber.org/protocol/caps"),this.disco.addFeature(Ce.Strophe.NS.CAPS)}addFeature(e){let n=arguments.length>1&&arguments[1]!==void 0&&arguments[1],r=arguments.length>2&&arguments[2]!==void 0&&arguments[2];this.disco.addFeature(e),this._generateVersion(),r&&!this.externalFeatures.has(e)&&(this.externalFeatures.add(e),this.rooms.forEach(s=>this._updateRoomWithExternalFeatures(s))),n&&this.submit()}removeFeature(e){let n=arguments.length>1&&arguments[1]!==void 0&&arguments[1],r=arguments.length>2&&arguments[2]!==void 0&&arguments[2];this.disco.removeFeature(e),this._generateVersion(),r&&this.externalFeatures.has(e)&&(this.externalFeatures.delete(e),this.rooms.forEach(s=>this._updateRoomWithExternalFeatures(s))),n&&this.submit()}submit(){this.rooms.forEach(e=>e.sendPresence())}_updateRoomWithExternalFeatures(e){if(this.externalFeatures.size===0)e.removeFromPresence("features");else{const n=[];this.externalFeatures.forEach(r=>{n.push({tagName:"feature",attributes:{var:r}})}),e.addOrReplaceInPresence("features",{children:n})}}getFeaturesAndIdentities(e,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5e3;return this._getDiscoInfo(e,n,r)}_getDiscoInfo(e,n,r){return new Promise((s,c)=>this.disco.info(e,n,h=>{s(ns(h))},c,r))}_addChatRoom(e){this.rooms.add(e),this._fixChatRoomPresenceMap(e),this._updateRoomWithExternalFeatures(e)}_removeChatRoom(e){this.rooms.delete(e)}_fixChatRoomPresenceMap(e){e.addOrReplaceInPresence("c",{attributes:{xmlns:Ce.Strophe.NS.CAPS,hash:"sha-1",node:this.node,ver:this.version}})}_notifyVersionChanged(){this.rooms.forEach(e=>this._fixChatRoomPresenceMap(e))}_generateVersion(){this.version=function(e,n){const r=e.sort(nr).reduce((c,h)=>`${Mi.reduce((S,L,N)=>S+(N===0?"":"/")+(h[L]?h[L]:""),"")}<`,""),s=n.sort().reduce((c,h)=>`${c+h}<`,"");return(0,Ce.b64_sha1)(r+s)}(this.disco._identities,this.disco._features),this._notifyVersionChanged()}}o(6552);const xs="NETWORK_INFO_CHANGED",Bo=(0,P.getLogger)("modules/connectivity/NetworkInfo.js"),Uo=new class extends ki{constructor(){super(),this._current={isOnline:!0}}updateNetworkInfo(i){let{isOnline:e}=i;Bo.debug("updateNetworkInfo",{isOnline:e}),this._current={isOnline:e===!0},this.eventEmitter.emit(xs,this._current)}isOnline(){return this._current.isOnline===!0}},ps=(0,P.getLogger)("modules/xmpp/ResumeTask.js");class Hl{constructor(e){this._stropheConn=e,this._resumeRetryN=0,this._retryDelay=void 0}get retryDelay(){return this._retryDelay}schedule(){this._cancelResume(),this._resumeRetryN+=1,this._networkOnlineListener=Uo.addEventListener(xs,e=>{let{isOnline:n}=e;n?this._scheduleResume():this._cancelResume()}),Uo.isOnline()&&this._scheduleResume()}_scheduleResume(){this._resumeTimeout||(this._resumeRetryN=Math.min(3,this._resumeRetryN),this._retryDelay=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:2;return Math.floor(Math.random()*(1e3*Math.pow(r,e)-n)+n)}(this._resumeRetryN,1500*this._resumeRetryN,3),ps.info(`Will try to resume the XMPP connection in ${this.retryDelay}ms`),this._resumeTimeout=setTimeout(()=>this._resumeConnection(),this.retryDelay))}_cancelResume(){this._resumeTimeout&&(ps.info("Canceling connection resume task"),clearTimeout(this._resumeTimeout),this._resumeTimeout=void 0,this._retryDelay=void 0)}_resumeConnection(){try{const{streamManagement:e}=this._stropheConn,n=e.getResumeToken();if(!n)return;ps.info("Trying to resume the XMPP connection",this._stropheConn.service);let r=this._stropheConn.service,s=r.includes("?")?r.replace(/.*\?/,"?"):"";const c=/(previd=)([\w-]+)/,h=s.match(c);h&&h.indexOf(n)===-1?s=s.replace(c,`$1${n}`):h||(s+=s.indexOf("?")===-1?`?previd=${n}`:`&previd=${n}`),ps.info("Trying to resume the XMPP connection search let --",s),r=r.includes("?")?r.replace(/\?.*/,s):r+s,this._stropheConn.service=r.toString(),ps.info("Trying to resume the XMPP connection final--",this._stropheConn.service),e.resume()}catch(e){ps.info("in Catch >>>>>>>>>>>>",e)}}cancel(){this._cancelResume(),this._resumeRetryN=0,this._networkOnlineListener&&(this._networkOnlineListener(),this._networkOnlineListener=null)}}class Jl{constructor(){this._lastSuccess=null,this._lastFailedMessage=null}startTracking(e,n){var r=this;const s=n.rawInput;n.rawInput=function(){for(var c=arguments.length,h=new Array(c),S=0;S<c;S++)h[S]=arguments[S];const L=h[0];L.includes("failure")&&(r._lastFailedMessage=L),e.connected&&(r._lastSuccess=Date.now()),s.apply(n,h)}}getLastFailedMessage(){return this._lastFailedMessage}getTimeSinceLastSuccess(){return this._lastSuccess?Date.now()-this._lastSuccess:null}}function Va(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:class{};return class extends i{constructor(){super(...arguments),this.connection=null}init(e){this.connection=e}}}const ao=Va(),Gl=Va(ki),co=(0,P.getLogger)("modules/xmpp/strophe.ping.js");class Ql extends ao{constructor(e){let{getTimeSinceLastServerResponse:n,onPingThresholdExceeded:r,pingOptions:s={}}=e;super(),this.failedPings=0,this._onPingThresholdExceeded=r,this._getTimeSinceLastServerResponse=n,this.pingInterval=typeof s.interval=="number"?s.interval:1e4,this.pingTimeout=typeof s.timeout=="number"?s.timeout:5e3,this.pingThreshold=typeof s.threshold=="number"?s.threshold:2,this.pingTimestampsToKeep=Math.round(12e4/this.pingInterval),this.pingExecIntervals=new Array(this.pingTimestampsToKeep)}init(e){super.init(e),Ce.Strophe.addNamespace("PING","urn:xmpp:ping")}ping(e,n,r,s){this._addPingExecutionTimestamp();const c=(0,Ce.$iq)({type:"get",to:e});c.c("ping",{xmlns:Ce.Strophe.NS.PING}),this.connection.sendIQ2(c,{timeout:s}).then(n,r)}startInterval(e){clearInterval(this.intervalId),this.intervalId=window.setInterval(()=>{const n=Date.now();if(this._getTimeSinceLastServerResponse()<n-this._lastServerCheck)return this._addPingExecutionTimestamp(),this._lastServerCheck=n,void(this.failedPings=0);this.ping(e,()=>{this._lastServerCheck=this._getTimeSinceLastServerResponse()+Date.now(),this.failedPings=0},r=>{this.failedPings+=1;const s="Ping "+(r?"error":"timeout");this.failedPings>=this.pingThreshold?(V().callErrorHandler(new Error(s)),co.error(s,r),this._onPingThresholdExceeded&&this._onPingThresholdExceeded()):co.warn(s,r)},this.pingTimeout)},this.pingInterval),co.info(`XMPP pings will be sent every ${this.pingInterval} ms`)}stopInterval(){this.intervalId&&(window.clearInterval(this.intervalId),this.intervalId=null,this.failedPings=0,co.info("Ping interval cleared"))}_addPingExecutionTimestamp(){this.pingExecIntervals.push(new Date().getTime()),this.pingExecIntervals.length>this.pingTimestampsToKeep&&this.pingExecIntervals.shift()}getPingSuspendTime(){const e=this.pingExecIntervals.slice();e.push(new Date().getTime());let n=0,r=e[0];return e.forEach(s=>{const c=s-r;c>n&&(n=c),r=s}),n-=this.pingInterval,Math.max(n,0)}}const Cr=(0,P.getLogger)("modules/xmpp/XmppConnection.js");class Pr extends ki{static get Events(){return{CONN_STATUS_CHANGED:"CONN_STATUS_CHANGED",CONN_SHARD_CHANGED:"CONN_SHARD_CHANGED"}}static get Status(){return Ce.Strophe.Status}constructor(e){let{enableWebsocketResume:n,websocketKeepAlive:r,websocketKeepAliveUrl:s,serviceUrl:c,shard:h,xmppPing:S}=e;super(),this._options={enableWebsocketResume:n===void 0||n,pingOptions:S,shard:h,websocketKeepAlive:r===void 0?6e4:Number(r),websocketKeepAliveUrl:s},this._stropheConn=new Ce.Strophe.Connection(c),this._usesWebsocket=c.startsWith("ws:")||c.startsWith("wss:"),this._stropheConn.maxRetries=3,this._rawInputTracker=new Jl,this._rawInputTracker.startTracking(this,this._stropheConn),this._resumeTask=new Hl(this._stropheConn),this._deferredIQs=[],this.addConnectionPlugin("ping",new Ql({getTimeSinceLastServerResponse:()=>this.getTimeSinceLastSuccess(),onPingThresholdExceeded:()=>this._onPingErrorThresholdExceeded(),pingOptions:S})),this._oneSuccessfulConnect=!1}get connected(){const e=this._stropheConn&&this._stropheConn._proto&&this._stropheConn._proto.socket;return(this._status===Ce.Strophe.Status.CONNECTED||this._status===Ce.Strophe.Status.ATTACHED)&&(!this.isUsingWebSocket||e&&e.readyState===WebSocket.OPEN)}get disco(){return this._stropheConn.disco}get disconnecting(){return this._stropheConn.disconnecting===!0}get domain(){return this._stropheConn.domain}get isUsingWebSocket(){return this._usesWebsocket}get jid(){return this._stropheConn.jid}get lastResponseHeaders(){return this._stropheConn._proto&&this._stropheConn._proto.lastResponseHeaders}get logger(){return this._stropheConn.logger}get options(){return this._stropheConn.options}get pingDomain(){var e;return((e=this._options.pingOptions)===null||e===void 0?void 0:e.domain)||this.domain}get service(){return this._stropheConn.service}set shard(e){this._options.shard=e,this._oneSuccessfulConnect&&this._maybeStartWSKeepAlive()}get status(){return this._status}addConnectionPlugin(e,n){this[e]=n,n.init(this)}addHandler(){this._stropheConn.addHandler(...arguments)}attach(e,n,r,s){for(var c=arguments.length,h=new Array(c>4?c-4:0),S=4;S<c;S++)h[S-4]=arguments[S];this._stropheConn.attach(e,n,r,this._stropheConnectionCb.bind(this,s),...h)}connect(e,n,r){for(var s=arguments.length,c=new Array(s>3?s-3:0),h=3;h<s;h++)c[h-3]=arguments[h];this._stropheConn.connect(e,n,this._stropheConnectionCb.bind(this,r),...c)}_stropheConnectionCb(e,n){this._status=n;let r=!1;var s;if(n===Ce.Strophe.Status.CONNECTED||n===Ce.Strophe.Status.ATTACHED?(this._maybeEnableStreamResume(),this._usesWebsocket&&this._oneSuccessfulConnect&&this._keepAliveAndCheckShard(),this._oneSuccessfulConnect=!0,this._maybeStartWSKeepAlive(),this._processDeferredIQs(),this._resumeTask.cancel(),this.ping.startInterval(((s=this._options.pingOptions)===null||s===void 0?void 0:s.domain)||this.domain)):n===Ce.Strophe.Status.DISCONNECTED&&(this.ping.stopInterval(),r=this._tryResumingConnection(),r||clearTimeout(this._wsKeepAlive)),!r){for(var c=arguments.length,h=new Array(c>2?c-2:0),S=2;S<c;S++)h[S-2]=arguments[S];e(n,...h),this.eventEmitter.emit(Pr.Events.CONN_STATUS_CHANGED,n)}}_clearDeferredIQs(){for(const e of this._deferredIQs)e.reject(new Error("disconnect"));this._deferredIQs=[]}closeWebsocket(){this._stropheConn&&this._stropheConn._proto&&(this._stropheConn._proto._closeSocket(),this._stropheConn._proto._onClose(null))}disconnect(){this._resumeTask.cancel(),clearTimeout(this._wsKeepAlive),this._clearDeferredIQs(),this._stropheConn.disconnect(...arguments)}flush(){this._stropheConn.flush(...arguments)}getTimeSinceLastSuccess(){return this._rawInputTracker.getTimeSinceLastSuccess()}getLastFailedMessage(){return this._rawInputTracker.getLastFailedMessage()}_maybeEnableStreamResume(){if(!this._options.enableWebsocketResume)return;const{streamManagement:e}=this._stropheConn;this.isUsingWebSocket?e?e.isSupported()?e.getResumeToken()||(Cr.info("Enabling XEP-0198 stream management"),e.enable(!0)):Cr.warn("Stream resume enabled, but XEP-0198 is not supported by the server"):Cr.warn("Stream resume enabled, but Strophe streamManagement plugin is not installed"):Cr.warn("Stream resume enabled, but WebSockets are not enabled")}_maybeStartWSKeepAlive(){const{websocketKeepAlive:e}=this._options;if(this._usesWebsocket&&e>0){this._wsKeepAlive||Cr.info(`WebSocket keep alive interval: ${e}ms`),clearTimeout(this._wsKeepAlive);const n=e+60*Math.random()*1e3;Cr.debug(`Scheduling next WebSocket keep-alive in ${n}ms`),this._wsKeepAlive=setTimeout(()=>this._keepAliveAndCheckShard().then(()=>this._maybeStartWSKeepAlive()),n)}}_keepAliveAndCheckShard(){const{shard:e,websocketKeepAliveUrl:n}=this._options,r=n||this.service.replace("wss://","https://").replace("ws://","http://");return fetch(r).then(s=>{if(!e)return;const c=s.headers.get("x-jitsi-shard");c!==e&&(Cr.error(`Detected that shard changed from ${e} to ${c}`),this.eventEmitter.emit(Pr.Events.CONN_SHARD_CHANGED))}).catch(s=>{Cr.error(`Websocket Keep alive failed for url: ${r}`,{error:s})})}_processDeferredIQs(){for(const e of this._deferredIQs)if(e.iq){clearTimeout(e.timeout);const n=Date.now()-e.start;this.sendIQ(e.iq,r=>e.resolve(r),r=>e.reject(r),n)}this._deferredIQs=[]}send(e){if(!this.connected)throw new Error("Not connected");this._stropheConn.send(e)}sendIQ(e,n,r,s){if(this.connected)return this._stropheConn.sendIQ(e,n,r,s);r("Not connected")}sendIQ2(e,n){let{timeout:r}=n;return new Promise((s,c)=>{if(this.connected)this.sendIQ(e,h=>s(h),h=>c(h),r);else{const h={iq:e,resolve:s,reject:c,start:Date.now(),timeout:setTimeout(()=>{h.iq=void 0,c(void 0)},r)};this._deferredIQs.push(h)}})}_onPingErrorThresholdExceeded(){this.isUsingWebSocket&&(Cr.warn("Ping error threshold exceeded - killing the WebSocket"),this.closeWebsocket())}sendPresence(e,n,r,s){this.connected?this._stropheConn.sendPresence(e,n,r,s):r("Not connected")}sendUnavailableBeacon(){if(!navigator.sendBeacon||this._stropheConn.disconnecting||!this._stropheConn.connected)return!1;this._stropheConn._changeConnectStatus(Ce.Strophe.Status.DISCONNECTING),this._stropheConn.disconnecting=!0;const e=this._stropheConn._proto._buildBody().attrs({type:"terminate"}),n=(0,Ce.$pres)({xmlns:Ce.Strophe.NS.CLIENT,type:"unavailable"});e.cnode(n.tree());const r=navigator.sendBeacon(this.service.indexOf("https://")===-1?`https:${this.service}`:this.service,Ce.Strophe.serialize(e.tree()));return Cr.info(`Successfully send unavailable beacon ${r}`),this._stropheConn._proto._abortAllRequests(),this._stropheConn._doDisconnect(),!0}_tryResumingConnection(){const{streamManagement:e}=this._stropheConn;return!(!e||!e.getResumeToken()||(this._resumeTask.schedule(),0))}}const Kl="on",Ha="off",lo=(0,P.getLogger)("modules/xmpp/AVModeration.js");class ql{constructor(e){this._xmpp=e.xmpp,this._mainRoom=e,this._moderationEnabledByType={[ot]:!1,[St]:!1},this._whitelistAudio=[],this._whitelistVideo=[],this._onMessage=this._onMessage.bind(this),this._xmpp.addListener(Ke().AV_MODERATION_RECEIVED,this._onMessage)}dispose(){this._xmpp.removeListener(Ke().AV_MODERATION_RECEIVED,this._onMessage)}isSupported(){return Boolean(this._xmpp.avModerationComponentAddress)}enable(e,n){if(!this.isSupported()||!this._mainRoom.isModerator())return void lo.error(`Cannot enable:${e} AV moderation supported:${this.isSupported()},
44
44
  moderator:${this._mainRoom.isModerator()}`);if(e===this._moderationEnabledByType[n])return void lo.warn(`Moderation already in state:${e} for mediaType:${n}`);const r=(0,Ce.$msg)({to:this._xmpp.avModerationComponentAddress});r.c("av_moderation",{enable:e,mediaType:n}).up(),this._xmpp.connection.send(r)}approve(e,n){if(!this.isSupported()||!this._mainRoom.isModerator())return void lo.error(`Cannot approve in AV moderation supported:${this.isSupported()},
45
45
  moderator:${this._mainRoom.isModerator()}`);const r=(0,Ce.$msg)({to:this._xmpp.avModerationComponentAddress});r.c("av_moderation",{mediaType:e,jidToWhitelist:n}).up(),this._xmpp.connection.send(r)}reject(e,n){if(!this.isSupported()||!this._mainRoom.isModerator())return void lo.error(`Cannot reject in AV moderation supported:${this.isSupported()},
46
46
  moderator:${this._mainRoom.isModerator()}`);const r=(0,Ce.$msg)({to:this._xmpp.avModerationComponentAddress});r.c("av_moderation",{mediaType:e,jidToBlacklist:n}).up(),this._xmpp.connection.send(r)}_onMessage(e){const{removed:n,mediaType:r,enabled:s,approved:c,actor:h,whitelists:S}=e;if(S){const L=r===ot?this._whitelistAudio:this._whitelistVideo,N=Array.isArray(S[r])?S[r]:[];n?L.filter(te=>!N.includes(te)).forEach(te=>this._xmpp.eventEmitter.emit(Ke().AV_MODERATION_PARTICIPANT_REJECTED,r,te)):N.filter(te=>!L.includes(te)).forEach(te=>this._xmpp.eventEmitter.emit(Ke().AV_MODERATION_PARTICIPANT_APPROVED,r,te)),r===ot?this._whitelistAudio=N:this._whitelistVideo=N}else s!==void 0&&this._moderationEnabledByType[r]!==s?(this._moderationEnabledByType[r]=s,this._xmpp.eventEmitter.emit(Ke().AV_MODERATION_CHANGED,s,r,h)):n?this._xmpp.eventEmitter.emit(Ke().AV_MODERATION_REJECTED,r):c&&this._xmpp.eventEmitter.emit(Ke().AV_MODERATION_APPROVED,r)}}const ks="features/breakout-rooms",Fo={ADD:`${ks}/add`,REMOVE:`${ks}/remove`,MOVE_TO_ROOM:`${ks}/move-to-room`},$l=`${ks}/move-to-room`,Wl=`${ks}/update`,jo=(0,P.getLogger)("modules/xmpp/BreakoutRooms.js");class zl{constructor(e){this.room=e,this._handleMessages=this._handleMessages.bind(this),this.room.xmpp.addListener(Ke().BREAKOUT_ROOMS_EVENT,this._handleMessages),this._rooms={}}dispose(){this.room.xmpp.removeListener(Ke().BREAKOUT_ROOMS_EVENT,this._handleMessages)}createBreakoutRoom(e){if(!this.isSupported()||!this.room.isModerator())return void jo.error(`Cannot create breakout room - supported:${this.isSupported()},
@@ -121,8 +121,8 @@ a=extmap-allow-mixed`)!==-1){const Q=k.sdp.split(`
121
121
  `);q.RTCSessionDescription&&k instanceof q.RTCSessionDescription?arguments[0]=new q.RTCSessionDescription({type:k.type,sdp:Q}):k.sdp=Q}return Ae.apply(this,arguments)}}function qt(q,Me){if(!q.RTCPeerConnection||!q.RTCPeerConnection.prototype)return;const Ae=q.RTCPeerConnection.prototype.addIceCandidate;Ae&&Ae.length!==0&&(q.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?(Me.browser==="chrome"&&Me.version<78||Me.browser==="firefox"&&Me.version<68||Me.browser==="safari")&&arguments[0]&&arguments[0].candidate===""?Promise.resolve():Ae.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())})}function Wt(q,Me){if(!q.RTCPeerConnection||!q.RTCPeerConnection.prototype)return;const Ae=q.RTCPeerConnection.prototype.setLocalDescription;Ae&&Ae.length!==0&&(q.RTCPeerConnection.prototype.setLocalDescription=function(){let k=arguments[0]||{};if(typeof k!="object"||k.type&&k.sdp)return Ae.apply(this,arguments);if(k={type:k.type,sdp:k.sdp},!k.type)switch(this.signalingState){case"stable":case"have-local-offer":case"have-remote-pranswer":k.type="offer";break;default:k.type="answer"}return k.sdp||k.type!=="offer"&&k.type!=="answer"?Ae.apply(this,[k]):(k.type==="offer"?this.createOffer:this.createAnswer).apply(this).then(Q=>Ae.apply(this,[Q]))})}const _t=function({window:q}={},Me={shimChrome:!0,shimFirefox:!0,shimSafari:!0}){const Ae=x,k=function(ie){const ce={browser:null,version:null};if(ie===void 0||!ie.navigator)return ce.browser="Not a browser.",ce;const{navigator:Pe}=ie;if(Pe.mozGetUserMedia)ce.browser="firefox",ce.version=g(Pe.userAgent,/Firefox\/(\d+)\./,1);else if(Pe.webkitGetUserMedia||ie.isSecureContext===!1&&ie.webkitRTCPeerConnection&&!ie.RTCIceGatherer)ce.browser="chrome",ce.version=g(Pe.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else{if(!ie.RTCPeerConnection||!Pe.userAgent.match(/AppleWebKit\/(\d+)\./))return ce.browser="Not a supported browser.",ce;ce.browser="safari",ce.version=g(Pe.userAgent,/AppleWebKit\/(\d+)\./,1),ce.supportsUnifiedPlan=ie.RTCRtpTransceiver&&"currentDirection"in ie.RTCRtpTransceiver.prototype}return ce}(q),Q={browserDetails:k,commonShim:v,extractVersion:g,disableLog:w,disableWarnings:O,sdp:jt};switch(k.browser){case"chrome":if(!l||!Xe||!Me.shimChrome)return Ae("Chrome shim is not included in this adapter release."),Q;if(k.version===null)return Ae("Chrome shim can not determine version, not shimming."),Q;Ae("adapter.js shimming chrome."),Q.browserShim=l,qt(q,k),Wt(q),ge(q,k),it(q),Xe(q,k),be(q),Le(q,k),Re(q),T(q),at(q),se(q,k),He(q),Xt(q),It(q,k),Gt(q),Ht(q,k);break;case"firefox":if(!y||!$e||!Me.shimFirefox)return Ae("Firefox shim is not included in this adapter release."),Q;Ae("adapter.js shimming firefox."),Q.browserShim=y,qt(q,k),Wt(q),Ze(q,k),$e(q,k),dt(q),D(q),ae(q),f(q),H(q),z(q),ve(q),Se(q),pe(q),He(q),Xt(q),It(q,k),Gt(q);break;case"safari":if(!m||!Me.shimSafari)return Ae("Safari shim is not included in this adapter release."),Q;Ae("adapter.js shimming safari."),Q.browserShim=m,qt(q,k),Wt(q),_e(q),Ie(q),R(q),he(q),De(q),Ve(q),U(q),mt(q),He(q),It(q,k),Gt(q),Ht(q,k);break;default:Ae("Unsupported browser!")}return Q}({window:typeof window=="undefined"?void 0:window}),Zt=_t}},__webpack_module_cache__={};function __nested_webpack_require_712918__(E){var u=__webpack_module_cache__[E];if(u!==void 0)return u.exports;var o=__webpack_module_cache__[E]={id:E,loaded:!1,exports:{}};return __webpack_modules__[E].call(o.exports,o,o.exports,__nested_webpack_require_712918__),o.loaded=!0,o.exports}__nested_webpack_require_712918__.amdO={},__nested_webpack_require_712918__.n=E=>{var u=E&&E.__esModule?()=>E.default:()=>E;return __nested_webpack_require_712918__.d(u,{a:u}),u},__nested_webpack_require_712918__.d=(E,u)=>{for(var o in u)__nested_webpack_require_712918__.o(u,o)&&!__nested_webpack_require_712918__.o(E,o)&&Object.defineProperty(E,o,{enumerable:!0,get:u[o]})},__nested_webpack_require_712918__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(E){if(typeof window=="object")return window}}(),__nested_webpack_require_712918__.o=(E,u)=>Object.prototype.hasOwnProperty.call(E,u),__nested_webpack_require_712918__.r=E=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(E,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(E,"__esModule",{value:!0})},__nested_webpack_require_712918__.nmd=E=>(E.paths=[],E.children||(E.children=[]),E);var __webpack_exports__=__nested_webpack_require_712918__(4449);return __webpack_exports__})()},module.exports=t()},4783:function(E,u,o){var l;(l=o.g||window||this).__filename===void 0&&(l.__filename="__filename")},2808:(E,u,o)=>{"use strict";o.r(u);var l=o(9941),y=o(9925);function m(p){return new Promise(g=>g(function(_){const w=_.sdp;let O=0;const x=[],F=new Map;do{const G=w.indexOf(`\r
122
122
  `,O);let P;if(G===-1?(P=w.substring(O),O=void 0):(P=w.substring(O,G),O=G+2),P.startsWith("a=candidate:")){const Y=P.split(" ");if(Y.length>=10&&Y[6]==="typ"){const me=[Y[4]];let ge=!1;for(let Be=8;Be<Y.length;++Be)if(Y[Be]==="raddr"){me.push(Y[++Be]);break}for(const Be of me){if(Be.indexOf(":")!==-1){ge=!0;break}F.has(Be)||F.set(Be,new Promise((it,be)=>{const Re=F.get(Be);Re&&typeof Re=="string"?it(Re):v(Be).then(T=>{T&&T.indexOf(":")!==-1&&T!==F.get(Be)?F.set(Be,T):F.delete(Be),it(T)},be)}))}if(ge){F.clear();break}P=Y}}x.push(P)}while(O);return{ips:F,lines:x}}(p))).then(({ips:g,lines:_})=>Promise.all(Array.from(g.values())).then(()=>function(w,O,x){if(O.size===0)return w;for(let F=0;F<x.length;++F){const G=x[F];if(typeof G!="string"){let P=G[4],Y=O.get(P);Y&&(G[4]=Y);for(let me=8;me<G.length;++me)if(G[me]==="raddr"){P=G[++me],(Y=O.get(P))&&(G[me]=Y);break}x[F]=G.join(" ")}}return new l.RTCSessionDescription({sdp:x.join(`\r
123
123
  `),type:w.type})}(p,g,_)))}const v=function(){const{POSIX:p}=y.NativeModules;if(p){const{getaddrinfo:_}=p;if(typeof _=="function")return w=>_(w,void 0).then(([{ai_addr:O}])=>O)}const{NAT64AddrInfo:g}=y.NativeModules;if(g){const{getIPv6Address:_}=g;if(typeof _=="function")return _}return _=>Promise.resolve(_)}();class j extends l.RTCPeerConnection{setRemoteDescription(g){return mi(this,null,function*(){return Vl(j.prototype,this,"setRemoteDescription").call(this,yield m(g))})}}(p=>{p.MediaStream===void 0&&(p.MediaStream=l.MediaStream),p.MediaStreamTrack===void 0&&(p.MediaStreamTrack=l.MediaStreamTrack),p.RTCIceCandidate===void 0&&(p.RTCIceCandidate=l.RTCIceCandidate),p.RTCPeerConnection===void 0&&(p.RTCPeerConnection=j),p.RTCPeerConnection===void 0&&(p.webkitRTCPeerConnection=j),p.RTCSessionDescription===void 0&&(p.RTCSessionDescription=l.RTCSessionDescription);const g=p.navigator;g&&(g.mediaDevices===void 0&&(g.mediaDevices=l.mediaDevices),g.permissions===void 0&&(g.permissions=l.permissions))})(o.g||window||void 0)},6878:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__6878__},8156:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__8156__},9925:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__9925__},5559:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__5559__},3650:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__3650__},3394:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__3394__},9941:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__9941__},4654:()=>{},7973:(E,u,o)=>{"use strict";var l=o(6893)("%Array%"),y=!l.isArray&&o(8780)("Object.prototype.toString");E.exports=l.isArray||function(m){return y(m)==="[object Array]"}},4663:(E,u,o)=>{"use strict";var l=o(6893),y=o(3862),m=l("%Promise.resolve%",!0),v=m&&y(m);E.exports=function(j,p){if(!v)throw new SyntaxError("This environment does not support Promises.");return v(j,p)}},8737:(E,u,o)=>{"use strict";var l=o(349);E.exports=function(y){return typeof y=="symbol"?"Symbol":typeof y=="bigint"?"BigInt":l(y)}},2612:(E,u,o)=>{"use strict";var l=o(6893),y=l("%Array.prototype%"),m=l("%RangeError%"),v=l("%SyntaxError%"),j=l("%TypeError%"),p=o(6987),g=Math.pow(2,32)-1,_=l("%Object.setPrototypeOf%",!0)||([].__proto__!==y?null:function(w,O){return w.__proto__=O,w});E.exports=function(w){if(!p(w)||w<0)throw new j("Assertion failed: `length` must be an integer Number >= 0");if(w>g)throw new m("length is greater than (2**32 - 1)");var O=arguments.length>1?arguments[1]:y,x=[];if(O!==y){if(!_)throw new v("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");_(x,O)}return w!==0&&(x.length=w),x}},1976:(E,u,o)=>{"use strict";var l=o(6893),y=l("%Symbol.species%",!0),m=l("%TypeError%"),v=o(2612),j=o(3495),p=o(5091),g=o(3520),_=o(6987),w=o(5784);E.exports=function(O,x){if(!_(x)||x<0)throw new m("Assertion failed: length must be an integer >= 0");if(!p(O))return v(x);var F=j(O,"constructor");if(y&&w(F)==="Object"&&(F=j(F,y))===null&&(F=void 0),F===void 0)return v(x);if(!g(F))throw new m("C must be a constructor");return new F(x)}},9377:(E,u,o)=>{"use strict";var l=o(6893),y=o(8780),m=l("%TypeError%"),v=o(5091),j=l("%Reflect.apply%",!0)||y("%Function.prototype.apply%");E.exports=function(p,g){var _=arguments.length>2?arguments[2]:[];if(!v(_))throw new m("Assertion failed: optional `argumentsList`, if provided, must be a List");return j(p,g,_)}},1822:(E,u,o)=>{"use strict";var l=o(6893)("%TypeError%"),y=o(6139),m=o(3790),v=o(2815),j=o(4416),p=o(3680),g=o(2042),_=o(1320),w=o(5784);E.exports=function(O,x,F){if(w(O)!=="Object")throw new l("Assertion failed: Type(O) is not Object");if(!g(x))throw new l("Assertion failed: IsPropertyKey(P) is not true");var G=v(O,x),P=!G||p(O);return!(G&&(!G["[[Writable]]"]||!G["[[Configurable]]"])||!P)&&y(j,_,m,O,x,{"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":F,"[[Writable]]":!0})}},6056:(E,u,o)=>{"use strict";var l=o(6893)("%TypeError%"),y=o(1822),m=o(2042),v=o(5784);E.exports=function(j,p,g){if(v(j)!=="Object")throw new l("Assertion failed: Type(O) is not Object");if(!m(p))throw new l("Assertion failed: IsPropertyKey(P) is not true");var _=y(j,p,g);if(!_)throw new l("unable to create data property");return _}},9522:(E,u,o)=>{"use strict";var l=o(6893)("%TypeError%"),y=o(7792),m=o(6139),v=o(3790),j=o(6708),p=o(4416),g=o(2042),_=o(1320),w=o(7106),O=o(5784);E.exports=function(x,F,G){if(O(x)!=="Object")throw new l("Assertion failed: Type(O) is not Object");if(!g(F))throw new l("Assertion failed: IsPropertyKey(P) is not true");var P=y({Type:O,IsDataDescriptor:p,IsAccessorDescriptor:j},G)?G:w(G);if(!y({Type:O,IsDataDescriptor:p,IsAccessorDescriptor:j},P))throw new l("Assertion failed: Desc is not a valid Property Descriptor");return m(p,_,v,x,F,P)}},3790:(E,u,o)=>{"use strict";var l=o(7763),y=o(5784);E.exports=function(m){if(m===void 0)return m;l(y,"Property Descriptor","Desc",m);var v={};return"[[Value]]"in m&&(v.value=m["[[Value]]"]),"[[Writable]]"in m&&(v.writable=m["[[Writable]]"]),"[[Get]]"in m&&(v.get=m["[[Get]]"]),"[[Set]]"in m&&(v.set=m["[[Set]]"]),"[[Enumerable]]"in m&&(v.enumerable=m["[[Enumerable]]"]),"[[Configurable]]"in m&&(v.configurable=m["[[Configurable]]"]),v}},3495:(E,u,o)=>{"use strict";var l=o(6893)("%TypeError%"),y=o(2428),m=o(2042),v=o(5784);E.exports=function(j,p){if(v(j)!=="Object")throw new l("Assertion failed: Type(O) is not Object");if(!m(p))throw new l("Assertion failed: IsPropertyKey(P) is not true, got "+y(p));return j[p]}},3893:(E,u,o)=>{"use strict";var l=o(6893)("%TypeError%"),y=o(2042),m=o(5784);E.exports=function(v,j){if(m(v)!=="Object")throw new l("Assertion failed: `O` must be an Object");if(!y(j))throw new l("Assertion failed: `P` must be a Property Key");return j in v}},6708:(E,u,o)=>{"use strict";var l=o(7751),y=o(7763),m=o(5784);E.exports=function(v){return v!==void 0&&(y(m,"Property Descriptor","Desc",v),!(!l(v,"[[Get]]")&&!l(v,"[[Set]]")))}},5091:(E,u,o)=>{"use strict";var l=o(6893)("%Array%"),y=!l.isArray&&o(8780)("Object.prototype.toString");E.exports=l.isArray||function(m){return y(m)==="[object Array]"}},2371:(E,u,o)=>{"use strict";E.exports=o(8625)},3520:(E,u,o)=>{"use strict";var l=o(4149)("%Reflect.construct%",!0),y=o(9522);try{y({},"",{"[[Get]]":function(){}})}catch(j){y=null}if(y&&l){var m={},v={};y(v,"length",{"[[Get]]":function(){throw m},"[[Enumerable]]":!0}),E.exports=function(j){try{l(j,v)}catch(p){return p===m}}}else E.exports=function(j){return typeof j=="function"&&!!j.prototype}},4416:(E,u,o)=>{"use strict";var l=o(7751),y=o(7763),m=o(5784);E.exports=function(v){return v!==void 0&&(y(m,"Property Descriptor","Desc",v),!(!l(v,"[[Value]]")&&!l(v,"[[Writable]]")))}},3680:(E,u,o)=>{"use strict";var l=o(6893)("%Object%"),y=o(127),m=l.preventExtensions,v=l.isExtensible;E.exports=m?function(j){return!y(j)&&v(j)}:function(j){return!y(j)}},6987:(E,u,o)=>{"use strict";var l=o(9561),y=o(5356),m=o(5784),v=o(2657),j=o(7333);E.exports=function(p){if(m(p)!=="Number"||v(p)||!j(p))return!1;var g=l(p);return y(g)===g}},2042:E=>{"use strict";E.exports=function(u){return typeof u=="string"||typeof u=="symbol"}},8273:(E,u,o)=>{"use strict";var l=o(6893)("%Symbol.match%",!0),y=o(2975),m=o(3018);E.exports=function(v){if(!v||typeof v!="object")return!1;if(l){var j=v[l];if(j!==void 0)return m(j)}return y(v)}},2815:(E,u,o)=>{"use strict";var l=o(6893),y=o(3999),m=l("%TypeError%"),v=o(8780)("Object.prototype.propertyIsEnumerable"),j=o(7751),p=o(5091),g=o(2042),_=o(8273),w=o(7106),O=o(5784);E.exports=function(x,F){if(O(x)!=="Object")throw new m("Assertion failed: O must be an Object");if(!g(F))throw new m("Assertion failed: P must be a Property Key");if(j(x,F)){if(!y){var G=p(x)&&F==="length",P=_(x)&&F==="lastIndex";return{"[[Configurable]]":!(G||P),"[[Enumerable]]":v(x,F),"[[Value]]":x[F],"[[Writable]]":!0}}return w(y(x,F))}}},560:(E,u,o)=>{"use strict";E.exports=o(3953)},1320:(E,u,o)=>{"use strict";var l=o(2657);E.exports=function(y,m){return y===m?y!==0||1/y==1/m:l(y)&&l(m)}},3018:E=>{"use strict";E.exports=function(u){return!!u}},3892:(E,u,o)=>{"use strict";var l=o(6893),y=l("%TypeError%"),m=l("%Number%"),v=l("%RegExp%"),j=l("%parseInt%"),p=o(8780),g=o(1667),_=o(127),w=p("String.prototype.slice"),O=g(/^0b[01]+$/i),x=g(/^0o[0-7]+$/i),F=g(/^[-+]0x[0-9a-f]+$/i),G=g(new v("["+["\x85","\u200B","\uFFFE"].join("")+"]","g")),P=[`
124
- \v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003`,"\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028","\u2029\uFEFF"].join(""),Y=new RegExp("(^["+P+"]+)|(["+P+"]+$)","g"),me=p("String.prototype.replace"),ge=o(6281);E.exports=function Be(it){var be=_(it)?it:ge(it,m);if(typeof be=="symbol")throw new y("Cannot convert a Symbol value to a number");if(typeof be=="bigint")throw new y("Conversion from 'BigInt' to 'number' is not allowed.");if(typeof be=="string"){if(O(be))return Be(j(w(be,2),2));if(x(be))return Be(j(w(be,2),8));if(G(be)||F(be))return NaN;var Re=function(T){return me(T,Y,"")}(be);if(Re!==be)return Be(Re)}return m(be)}},3058:(E,u,o)=>{"use strict";var l=o(6893)("%Object%"),y=o(560);E.exports=function(m){return y(m),l(m)}},6281:(E,u,o)=>{"use strict";var l=o(1157);E.exports=function(y){return arguments.length>1?l(y,arguments[1]):l(y)}},7106:(E,u,o)=>{"use strict";var l=o(7751),y=o(6893)("%TypeError%"),m=o(5784),v=o(3018),j=o(2371);E.exports=function(p){if(m(p)!=="Object")throw new y("ToPropertyDescriptor requires an object");var g={};if(l(p,"enumerable")&&(g["[[Enumerable]]"]=v(p.enumerable)),l(p,"configurable")&&(g["[[Configurable]]"]=v(p.configurable)),l(p,"value")&&(g["[[Value]]"]=p.value),l(p,"writable")&&(g["[[Writable]]"]=v(p.writable)),l(p,"get")){var _=p.get;if(_!==void 0&&!j(_))throw new y("getter must be a function");g["[[Get]]"]=_}if(l(p,"set")){var w=p.set;if(w!==void 0&&!j(w))throw new y("setter must be a function");g["[[Set]]"]=w}if((l(g,"[[Get]]")||l(g,"[[Set]]"))&&(l(g,"[[Value]]")||l(g,"[[Writable]]")))throw new y("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return g}},8846:(E,u,o)=>{"use strict";var l=o(6893),y=l("%String%"),m=l("%TypeError%");E.exports=function(v){if(typeof v=="symbol")throw new m("Cannot convert a Symbol value to a string");return y(v)}},4337:(E,u,o)=>{"use strict";var l=o(3892);E.exports=function(y){return l(y)>>>0}},5784:(E,u,o)=>{"use strict";var l=o(349);E.exports=function(y){return typeof y=="symbol"?"Symbol":typeof y=="bigint"?"BigInt":l(y)}},9561:(E,u,o)=>{"use strict";var l=o(6893)("%Math.abs%");E.exports=function(y){return l(y)}},5356:E=>{"use strict";var u=Math.floor;E.exports=function(o){return u(o)}},3953:(E,u,o)=>{"use strict";var l=o(6893)("%TypeError%");E.exports=function(y,m){if(y==null)throw new l(m||"Cannot call method on "+y);return y}},349:E=>{"use strict";E.exports=function(u){return u===null?"Null":u===void 0?"Undefined":typeof u=="function"||typeof u=="object"?"Object":typeof u=="number"?"Number":typeof u=="boolean"?"Boolean":typeof u=="string"?"String":void 0}},4149:(E,u,o)=>{"use strict";E.exports=o(6893)},6139:(E,u,o)=>{"use strict";var l=o(6893)("%Object.defineProperty%",!0);if(l)try{l({},"a",{value:1})}catch(j){l=null}var y=Object.defineProperty&&Object.defineProperty([],"length",{value:1}).length===0,m=y&&o(7973),v=o(8780)("Object.prototype.propertyIsEnumerable");E.exports=function(j,p,g,_,w,O){if(!l){if(!j(O)||!O["[[Configurable]]"]||!O["[[Writable]]"]||w in _&&v(_,w)!==!!O["[[Enumerable]]"])return!1;var x=O["[[Value]]"];return _[w]=x,p(_[w],x)}return y&&w==="length"&&"[[Value]]"in O&&m(_)&&_.length!==O["[[Value]]"]?(_.length=O["[[Value]]"],_.length===O["[[Value]]"]):(l(_,w,g(O)),!0)}},7763:(E,u,o)=>{"use strict";var l=o(6893),y=l("%TypeError%"),m=l("%SyntaxError%"),v=o(7751),j={"Property Descriptor":function(p,g){if(p(g)!=="Object")return!1;var _={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var w in g)if(v(g,w)&&!_[w])return!1;var O=v(g,"[[Value]]"),x=v(g,"[[Get]]")||v(g,"[[Set]]");if(O&&x)throw new y("Property Descriptors may not be both accessor and data descriptors");return!0}};E.exports=function(p,g,_,w){var O=j[g];if(typeof O!="function")throw new m("unknown record type: "+g);if(!O(p,w))throw new y(_+" must be a "+g)}},3999:(E,u,o)=>{"use strict";var l=o(6893)("%Object.getOwnPropertyDescriptor%",!0);if(l)try{l([],"length")}catch(y){l=null}E.exports=l},7333:E=>{"use strict";var u=Number.isNaN||function(o){return o!=o};E.exports=Number.isFinite||function(o){return typeof o=="number"&&!u(o)&&o!==1/0&&o!==-1/0}},2657:E=>{"use strict";E.exports=Number.isNaN||function(u){return u!=u}},127:E=>{"use strict";E.exports=function(u){return u===null||typeof u!="function"&&typeof u!="object"}},7792:(E,u,o)=>{"use strict";var l=o(6893),y=o(7751),m=l("%TypeError%");E.exports=function(v,j){if(v.Type(j)!=="Object")return!1;var p={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var g in j)if(y(j,g)&&!p[g])return!1;if(v.IsDataDescriptor(j)&&v.IsAccessorDescriptor(j))throw new m("Property Descriptors may not be both accessor and data descriptors");return!0}},1667:(E,u,o)=>{"use strict";var l=o(6893)("RegExp.prototype.test"),y=o(3862);E.exports=function(m){return y(l,m)}},8555:(E,u,o)=>{"use strict";var l=o(2755);if(o(5990)()||o(3031)()){var y=Symbol.iterator;E.exports=function(at){return at!=null&&at[y]!==void 0?at[y]():l(at)?Array.prototype[y].call(at):void 0}}else{var m=o(5670),v=o(2615),j=o(6893),p=j("%Map%",!0),g=j("%Set%",!0),_=o(8780),w=_("Array.prototype.push"),O=_("String.prototype.charCodeAt"),x=_("String.prototype.slice"),F=function(at){var Ee=0;return{next:function(){var Le,Xe=Ee>=at.length;return Xe||(Le=at[Ee],Ee+=1),{done:Xe,value:Le}}}},G=function(at,Ee){if(m(at)||l(at))return F(at);if(v(at)){var Le=0;return{next:function(){var Xe=function(Ze,Fe){if(Fe+1>=Ze.length)return Fe+1;var dt=O(Ze,Fe);if(dt<55296||dt>56319)return Fe+1;var $e=O(Ze,Fe+1);return $e<56320||$e>57343?Fe+1:Fe+2}(at,Le),se=x(at,Le,Xe);return Le=Xe,{done:Xe>at.length,value:se}}}}return Ee&&at["_es6-shim iterator_"]!==void 0?at["_es6-shim iterator_"]():void 0};if(p||g){var P=o(8566),Y=o(2289),me=_("Map.prototype.forEach",!0),ge=_("Set.prototype.forEach",!0);if(typeof process=="undefined"||!process.versions||!process.versions.node)var Be=_("Map.prototype.iterator",!0),it=_("Set.prototype.iterator",!0),be=function(at){var Ee=!1;return{next:function(){try{return{done:Ee,value:Ee?void 0:at.next()}}catch(Le){return Ee=!0,{done:!0,value:void 0}}}}};var Re=_("Map.prototype.@@iterator",!0)||_("Map.prototype._es6-shim iterator_",!0),T=_("Set.prototype.@@iterator",!0)||_("Set.prototype._es6-shim iterator_",!0);E.exports=function(at){return function(Ee){if(P(Ee)){if(Be)return be(Be(Ee));if(Re)return Re(Ee);if(me){var Le=[];return me(Ee,function(se,Ze){w(Le,[Ze,se])}),F(Le)}}if(Y(Ee)){if(it)return be(it(Ee));if(T)return T(Ee);if(ge){var Xe=[];return ge(Ee,function(se){w(Xe,se)}),F(Xe)}}}(at)||G(at)}}else E.exports=function(at){if(at!=null)return G(at,!0)}}},4787:(E,u,o)=>{"use strict";var l=o(8555),y=TypeError,m=o(6247);E.exports=function(v){var j=l(v);if(!j)throw new y("non-iterable value provided");return arguments.length>1?m(j,arguments[1]):m(j)}},2834:E=>{"use strict";E.exports=JSON.parse('{"_args":[["react-native@0.66.4","/Users/ritikkaushik/Desktop/CometChat/cometchat-pro-call-ios"]],"_from":"react-native@0.66.4","_id":"react-native@0.66.4","_inBundle":false,"_integrity":"sha512-9vx5dlSfQlKbbDtr8+xMon6qsmSu7jvjdXWZpEKh3XVKpUidbbODv7048gwVKX8YAel1egeR7hN8vzSeI6ssTw==","_location":"/react-native","_phantomChildren":{"@react-native-community/cli-debugger-ui":"6.0.0","@react-native-community/cli-hermes":"6.3.0","@react-native-community/cli-plugin-metro":"6.4.0","@react-native-community/cli-server-api":"6.4.3","@react-native-community/cli-tools":"6.2.0","@react-native-community/cli-types":"6.0.0","appdirsjs":"1.2.6","chalk":"4.1.2","command-exists":"1.2.9","commander":"2.20.3","cosmiconfig":"5.2.1","deepmerge":"3.3.0","envinfo":"7.8.1","execa":"1.0.0","fs-extra":"8.1.0","glob":"7.2.0","graceful-fs":"4.2.9","joi":"17.6.0","leven":"3.1.0","lodash":"4.17.21","minimist":"1.2.5","node-stream-zip":"1.15.0","ora":"3.4.0","p-limit":"2.3.0","pretty-format":"26.6.2","prompts":"2.4.2","semver":"6.3.0","serve-static":"1.14.2","strip-ansi":"5.2.0","sudo-prompt":"9.2.1","wcwidth":"1.0.1"},"_requested":{"type":"version","registry":true,"raw":"react-native@0.66.4","name":"react-native","escapedName":"react-native","rawSpec":"0.66.4","saveSpec":null,"fetchSpec":"0.66.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/react-native/-/react-native-0.66.4.tgz","_spec":"0.66.4","_where":"/Users/ritikkaushik/Desktop/CometChat/cometchat-pro-call-ios","bin":{"react-native":"cli.js"},"bugs":{"url":"https://github.com/facebook/react-native/issues"},"dependencies":{"@jest/create-cache-key-function":"^27.0.1","@react-native-community/cli":"^6.0.0","@react-native-community/cli-platform-android":"^6.0.0","@react-native-community/cli-platform-ios":"^6.0.0","@react-native/assets":"1.0.0","@react-native/normalize-color":"1.0.0","@react-native/polyfills":"2.0.0","abort-controller":"^3.0.0","anser":"^1.4.9","base64-js":"^1.1.2","event-target-shim":"^5.0.1","hermes-engine":"~0.9.0","invariant":"^2.2.4","jsc-android":"^250230.2.1","metro-babel-register":"0.66.2","metro-react-native-babel-transformer":"0.66.2","metro-runtime":"0.66.2","metro-source-map":"0.66.2","nullthrows":"^1.1.1","pretty-format":"^26.5.2","promise":"^8.0.3","prop-types":"^15.7.2","react-devtools-core":"^4.13.0","react-native-codegen":"^0.0.7","react-refresh":"^0.4.0","regenerator-runtime":"^0.13.2","scheduler":"^0.20.2","stacktrace-parser":"^0.1.3","use-subscription":"^1.0.0","whatwg-fetch":"^3.0.0","ws":"^6.1.4"},"description":"A framework for building native apps using React","detox":{"test-runner":"jest","runner-config":"packages/rn-tester/e2e/config.json","specs":"","configurations":{"android.emu.release":{"binaryPath":"packages/rn-tester/android/app/build/outputs/apk/hermes/release/app-hermes-x86-release.apk","testBinaryPath":"packages/rn-tester/android/app/build/outputs/apk/androidTest/hermes/release/app-hermes-release-androidTest.apk","build":"./gradlew :packages:rn-tester:android:app:assembleRelease :packages:rn-tester:android:app:assembleAndroidTest -DtestBuildType=release","type":"android.emulator","device":{"avdName":"Nexus_6_API_29"}},"android.emu.debug":{"binaryPath":"packages/rn-tester/android/app/build/outputs/apk/hermes/debug/app-hermes-x86-debug.apk","testBinaryPath":"packages/rn-tester/android/app/build/outputs/apk/androidTest/hermes/debug/app-hermes-debug-androidTest.apk","build":"./gradlew :packages:rn-tester:android:app:assembleDebug :packages:rn-tester:android:app:assembleAndroidTest -DtestBuildType=debug","type":"android.emulator","device":{"avdName":"Nexus_6_API_29"}},"ios.sim.release":{"binaryPath":"packages/rn-tester/build/Build/Products/Release-iphonesimulator/RNTester.app/","build":"xcodebuild -workspace packages/rn-tester/RNTesterPods.xcworkspace -scheme RNTester -configuration Release -sdk iphonesimulator -derivedDataPath packages/rn-tester/build -UseModernBuildSystem=NO -quiet","type":"ios.simulator","name":"iPhone 8"},"ios.sim.debug":{"binaryPath":"packages/rn-tester/build/Build/Products/Debug-iphonesimulator/RNTester.app/","build":"xcodebuild -workspace packages/rn-tester/RNTesterPods.xcworkspace -scheme RNTester -configuration Debug -sdk iphonesimulator -derivedDataPath packages/rn-tester/build -UseModernBuildSystem=NO -quiet","type":"ios.simulator","name":"iPhone 8"}}},"devDependencies":{"@babel/core":"^7.14.0","@babel/generator":"^7.14.0","@babel/template":"^7.0.0","@babel/types":"^7.0.0","@react-native-community/eslint-plugin":"*","@reactions/component":"^2.0.2","async":"^2.4.0","babel-eslint":"^10.1.0","babel-preset-fbjs":"^3.4.0","clang-format":"^1.2.4","connect":"^3.6.5","coveralls":"^3.0.2","detox":"16.7.2","eslint":"7.12.0","eslint-config-fb-strict":"^24.9.0","eslint-config-fbjs":"2.1.0","eslint-config-prettier":"^6.0.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-eslint-comments":"^3.1.1","eslint-plugin-flowtype":"2.50.3","eslint-plugin-jest":"22.4.1","eslint-plugin-jsx-a11y":"6.2.1","eslint-plugin-prettier":"2.6.2","eslint-plugin-react":"7.21.5","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-react-native":"3.10.0","eslint-plugin-relay":"1.8.1","flow-bin":"^0.158.0","jest":"^26.6.3","jest-junit":"^10.0.0","jscodeshift":"^0.11.0","metro-babel-register":"0.66.2","metro-transform-plugins":"^0.66.0","mkdirp":"^0.5.1","prettier":"1.19.1","react":"17.0.2","react-shallow-renderer":"16.14.1","react-test-renderer":"17.0.2","shelljs":"^0.7.8","signedsource":"^1.0.0","ws":"^6.1.4","yargs":"^15.3.1"},"engines":{"node":">=12"},"files":["!template/node_modules","!template/package-lock.json","!template/yarn.lock","android","cli.js","flow","flow-typed","index.js","interface.js","jest-preset.js","jest","Libraries","LICENSE","local-cli","React-Core.podspec","react-native.config.js","react.gradle","React.podspec","React","ReactAndroid","ReactCommon","README.md","rn-get-polyfills.js","scripts/compose-source-maps.js","scripts/find-node.sh","scripts/generate-specs.sh","scripts/generate-specs-cli.js","scripts/ios-configure-glog.sh","scripts/launchPackager.bat","scripts/launchPackager.command","scripts/node-binary.sh","scripts/packager.sh","scripts/react_native_pods.rb","scripts/react-native-xcode.sh","template.config.js","template","third-party-podspecs"],"homepage":"https://github.com/facebook/react-native#readme","jest-junit":{"outputDirectory":"reports/junit","outputName":"js-test-results.xml"},"license":"MIT","name":"react-native","peerDependencies":{"react":"17.0.2"},"repository":{"type":"git","url":"git+https://github.com/facebook/react-native.git"},"scripts":{"build-ios-e2e":"detox build -c ios.sim.release","clang-format":"clang-format -i --glob=*/**/*.{h,cpp,m,mm}","docker-build-android":"docker build -t reactnativeci/android -f .circleci/Dockerfiles/Dockerfile.android .","docker-setup-android":"docker pull reactnativecommunity/react-native-android:4.0","flow":"flow","flow-check-android":"flow check --flowconfig-name .flowconfig.android","flow-check-ios":"flow check","format":"npm run prettier && npm run clang-format","format-check":"prettier --list-different \\"./**/*.{js,md,yml}\\"","lint":"eslint .","lint-ci":"./scripts/circleci/analyze_code.sh && yarn shellcheck","lint-java":"node ./scripts/lint-java.js","prettier":"prettier --write \\"./**/*.{js,md,yml}\\"","shellcheck":"./scripts/circleci/analyze_scripts.sh","start":"react-native start","test":"jest","test-android-all":"yarn run docker-build-android && yarn run test-android-run-unit && yarn run test-android-run-instrumentation && yarn run test-android-run-e2e","test-android-e2e":"yarn run docker-build-android && yarn run test-android-run-e2e","test-android-instrumentation":"yarn run docker-build-android && yarn run test-android-run-instrumentation","test-android-run-e2e":"docker run --privileged -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-ci-e2e-tests.sh --android --js","test-android-run-instrumentation":"docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-instrumentation-tests.sh","test-android-run-unit":"docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-unit-tests.sh","test-android-unit":"yarn run docker-build-android && yarn run test-android-run-unit","test-ci":"jest --maxWorkers=2 --ci --reporters=\\"default\\" --reporters=\\"jest-junit\\"","test-ios":"./scripts/objc-test.sh test","test-ios-e2e":"detox test -c ios.sim.release packages/rn-tester/e2e","update-lock":"npx yarn-deduplicate"},"version":"0.66.4"}')},4147:E=>{"use strict";E.exports={i8:"3.0.2"}}},__webpack_module_cache__={};function __nested_webpack_require_965807__(E){var u=__webpack_module_cache__[E];if(u!==void 0)return u.exports;var o=__webpack_module_cache__[E]={exports:{}};return __webpack_modules__[E].call(o.exports,o,o.exports,__nested_webpack_require_965807__),o.exports}__nested_webpack_require_965807__.n=E=>{var u=E&&E.__esModule?()=>E.default:()=>E;return __nested_webpack_require_965807__.d(u,{a:u}),u},__nested_webpack_require_965807__.d=(E,u)=>{for(var o in u)__nested_webpack_require_965807__.o(u,o)&&!__nested_webpack_require_965807__.o(E,o)&&Object.defineProperty(E,o,{enumerable:!0,get:u[o]})},__nested_webpack_require_965807__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(E){if(typeof window=="object")return window}}(),__nested_webpack_require_965807__.o=(E,u)=>Object.prototype.hasOwnProperty.call(E,u),__nested_webpack_require_965807__.r=E=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(E,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(E,"__esModule",{value:!0})};var __webpack_exports__={};return(()=>{"use strict";__nested_webpack_require_965807__.r(__webpack_exports__),__nested_webpack_require_965807__.d(__webpack_exports__,{default:()=>we});var E=__nested_webpack_require_965807__(8156),u=__nested_webpack_require_965807__.n(E),o=__nested_webpack_require_965807__(9925);const l="onSwitchedToVideoCall",y="toggleVideoFit",m="updateUserList",v="setDimension",j="onConnectionSuccess",p="onConnectionError",g="onConferenceJoined",_="onConferenceFailed",w="setDominantSpeaker",O="setPinnedUsed",x="onScreenRecordingStarted",F="onTryingToStartRecording",G="onTryingToStopRecording",P="onScreenRecordingStopped",Y="onRequestingToSwitchToVideoCall",me="onSwitchToVideoCallRequested",ge="onSwitchToVideoCallAccepted",Be="onSwitchToVideoCallReJected",it="onAudioCallConvertedToVideoCall",be="updateNoOfScreenShareUser",Re="setRecorder",T="togglePipMode",at="setAudioModes",Ee="setSelectedAudioMode",Le="toggleAudioModeModel",Xe="toggleParticipantsModel",se="toggleCamera",Ze="toggleEndCallDialog",Fe=(V,{type:ee,payload:C})=>{switch(ee){case l:return dn(Ft({},V),{isAudioOnly:!1});case y:return dn(Ft({},V),{videoSettings:dn(Ft({},V.videoSettings),{videoFit:C})});default:return Ft({},V)}},dt={disableAudioLevels:!0,disableSimulcast:!1,disableThirdPartyRequests:!0},$e={openBridgeChannel:"websocket",enableNoisyMicDetection:!0,channelLastN:10,websocketKeepAlive:-1,testing:{octo:{probability:1}},e2eping:{pingInterval:-1},deploymentInfo:{userRegion:"eu-west-1"},enableTalkWhileMuted:!0,p2p:{enabled:!1}},ae="user_object",f="SCREEN_SHARING_STARTED",D="SCREEN_SHARING_STOPPED",H="CONVERT_TO_VIDEO_REQUEST",z="CONVERT_TO_VIDEO_RESPONSE",ve="START_SCREEN_RECORDING",Se="stopScreenRecording",pe="tryingToStopStartScreenRecording",he="tryingToStartScreenRecording",De="participantMuted",R="endSessionForAll",U="SPOTLIGHT",Z="PRESENTER",_e={HEADPHONES:"HEADPHONES",SPEAKER:"SPEAKER",EARPIECE:"EARPIECE",BLUETOOTH:"BLUETOOTH"},Ve=[_e.BLUETOOTH,_e.HEADPHONES,_e.EARPIECE,_e.SPEAKER],Ie=[_e.BLUETOOTH,_e.HEADPHONES,_e.SPEAKER,_e.EARPIECE],mt="initial",jt="converted",qe="requested",He=15,It={showAudioModel:!1,dimension:{height:500,width:300},dominantSpeakerId:"",connectionSuccess:!1,connectionError:!1,pinnedUserId:"",conferenceJoined:!1,recorder:null,recordId:"",isRecording:!1,tryingToStartRecording:!1,inPIPMode:!1,isPortrait:!0,switchToVideoCallRequestInitiator:null,switchedToVideoCall:!1,showSwitchToVideoCallModel:!1,switchToVideoRequestModelType:mt,switchToVideoCallRequestResponder:null,noOfScreenShareUser:0,audioModes:[],mode:"TILE",selectedAudioMode:"SPEAKER",LastNId:[],isParticipantsModelVisible:!1,cameraFlipped:!0,connectionErrorType:"",showEndCallDialog:!1},Gt=(V,{type:ee,payload:C})=>{switch(ee){case Ze:return dn(Ft({},V),{showEndCallDialog:C});case se:return dn(Ft({},V),{cameraFlipped:C});case Xe:return dn(Ft({},V),{isParticipantsModelVisible:C});case"updatelastNid":return dn(Ft({},V),{LastNId:C});case Ee:return dn(Ft({},V),{selectedAudioMode:C});case Le:return dn(Ft({},V),{showAudioModel:C});case at:return dn(Ft({},V),{audioModes:C});case v:return dn(Ft({},V),{dimension:C,isPortrait:C.height>C.width});case w:return dn(Ft({},V),{dominantSpeakerId:C});case j:return dn(Ft({},V),{dominantSpeakerId:C,connectionSuccess:!0,connectionError:!1});case p:return dn(Ft({},V),{connectionError:C.error,connectionErrorType:C.type});case O:return dn(Ft({},V),{pinnedUserId:C});case g:return dn(Ft({},V),{conferenceJoined:!0});case _:return dn(Ft({},V),{conferenceJoined:!1});case x:return dn(Ft({},V),{recorder:C,recordId:C.id,isRecording:!0,tryingToStartRecording:!1});case F:return dn(Ft({},V),{tryingToStartRecording:!0,recorder:C});case G:return dn(Ft({},V),{tryingToStartRecording:!1,recorder:C});case P:return dn(Ft({},V),{recorder:null,recordId:"",isRecording:!1,tryingToStartRecording:!1});case"onScreenOrientationChanged":return dn(Ft({},V),{isPortrait:C});case Y:return dn(Ft({},V),{showSwitchToVideoCallModel:!0,switchToVideoRequestModelType:qe,switchToVideoCallRequestInitiator:C});case me:return dn(Ft({},V),{showSwitchToVideoCallModel:!0,switchToVideoCallRequestInitiator:C,switchToVideoRequestModelType:mt});case ge:return dn(Ft({},V),{switchToVideoCallRequestResponder:C,showSwitchToVideoCallModel:!1,switchedToVideoCall:!0});case Be:return dn(Ft({},V),{showSwitchToVideoCallModel:!1,switchToVideoCallRequestResponder:C});case it:return dn(Ft({},V),{switchToVideoCallRequestInitiator:C.switchToVideoCallRequestInitiator,switchToVideoCallRequestResponder:C.switchToVideoCallRequestResponder,switchToVideoRequestModelType:jt,showSwitchToVideoCallModel:!0});case be:return dn(Ft({},V),{noOfScreenShareUser:C});case Re:return dn(Ft({},V),{recorder:C});case T:return dn(Ft({},V),{inPIPMode:C});default:return Ft({},V)}},Xt=(V,{type:ee,payload:C})=>ee===m?C?[...C]:V:Ft({},V),Ht=(0,E.createContext)(null),qt=()=>(0,E.useContext)(Ht),Wt=({children:V,initialState:ee,reducer:C})=>{const[B,J]=(0,E.useReducer)(Fe,ee),[W,de]=(0,E.useReducer)(C,It),ue=(0,E.useRef)({}),ke=(0,E.useRef)([]),rt=(0,E.useRef)(null),[ut,Rt]=(0,E.useReducer)(Xt,[]),[ht,yt]=(0,E.useState)(null),[Ut,Nt]=(0,E.useState)(null),ot=(0,E.useRef)(),pn=(0,E.useRef)();return u().createElement(Ht.Provider,{value:{globalRef:ue,settings:B,setSettings:J,globalState:W,connection:ht,setConnection:yt,room:Ut,setRoom:Nt,dispatch:de,users:ut,setUsers:(St,Tt=!1)=>{Tt?Rt(St):(rt.current&&clearTimeout(rt.current),rt.current=setTimeout(()=>{Rt(St)},500))},jitsiManager:ot,nativeManager:pn,usersRef:ke}},V)},_t={palette:{black:"#000",white:"#fff",offWhite:"#fefefe",red:"red",transparent:"transparent"},blackTransparent:"#000000c0",blackLightXXXT:"#2e2f30cc",blackLightXXX:"#2e2f30",blackLightXX:"#333",blackLightX:"#222",blackLight:"#111",redLight:"#eb4e3d",redLightX:"#d93834",lightGrey:"#4d4c4f",whiteAlmost:"#fefefe",whiteX:"#e5e5e5",blueLight:"#84aeff",green:"#00d7a4",red:"#fe274d"},Zt=({containerStyle:V,textStyles:ee,text:C})=>u().createElement(o.View,{style:V},u().createElement(o.Text,{style:ee,adjustsFontSizeToFit:!0},C));class q extends E.Component{constructor(ee){if(super(ee),typeof ee.size!="number")throw new Error("Size must be an integer")}render(){var yt;const{children:ee,size:C=60,backgroundColor:B=_t.blackLightXX,textColor:J=_t.palette.white,style:W,avatar:de}=this.props,ue=(yt=this.context.settings)==null?void 0:yt.avatarMode;if(typeof ee!="string")throw new Error(`Children must be only a string
125
- Ex: Technology`);const ke=ee.charAt(0).toUpperCase(),rt=Ft({width:C,height:C,borderRadius:C/2},de?{}:{backgroundColor:B}),ut=Ft({width:C,height:C,borderRadius:6*C/100},de?{}:{backgroundColor:B}),Rt=Ft({width:"100%",height:"100%",borderRadius:8},de?{}:{backgroundColor:B}),ht={color:J,fontSize:C/3.14};return(ue==null?void 0:ue.toLowerCase())=="square"?de?u().createElement(o.Image,{source:{uri:de},style:[W,Me.center,ut]}):u().createElement(Zt,{containerStyle:[W,Me.center,rt,{borderRadius:0}],textStyles:ht,text:ke}):(ue==null?void 0:ue.toLowerCase())=="fullscreen"?de?u().createElement(o.Image,{resizeMode:"cover",source:{uri:de},style:[W,Me.center,Rt]}):(rt.borderRadius=C/2,u().createElement(Zt,{containerStyle:[W,Me.center,rt],textStyles:ht,text:ke})):de?u().createElement(o.Image,{source:{uri:de},style:[W,rt]}):u().createElement(Zt,{containerStyle:[W,Me.center,rt],textStyles:ht,text:ke})}}wt(q,"contextType",Ht);const Me=o.StyleSheet.create({center:{alignItems:"center",justifyContent:"center"},text:{fontWeight:"bold",letterSpacing:1}}),Ae=0,k={ALERT:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAACHklEQVR4AezBEVBDARwH4D8MgmA4DIIgDMLuwiAIgzDILwiDMAzCIAyDMAiDcBgEwSAYDL5wUN22t7d3193v+yoiIiIiIuI/wSF2KrqHNQzxXN0LXJg6ru4EBvgy9Y616kbgzk+XFauHXb8bY6NitfDib/cVq4MTs+1V+wLr+DDbK3rVrsCV+Z1WewKbGJvfJ/rVjsCDxV1XLA/7mplgq5oL9PCmucdqLnBmeQcVi0MfI8sbolexGNxoz3nF/LCNifaMMKiYD56077ZiNhz5bucOLBgGoygKd7ACEHSADBB0gKKADFB0gAyQETJAxiqUu8BDPUd/56xwwfPx+pIvU8WMfdV8KTO2V/OlzNhazZcyY181X8qMDdV8KTN2Jl8WzMgVvpQZmeTLMCPfXWZkC1/KjGxvmbEh+bKBGS9F8uUPzMgOkG4yIztA+FJmxAZIT5mRHSB8KTNiA6RNZmQH+IQvZUZqgHTKjOgAaZYZ2QHClzIjNkBaZUZ2gPClzIgNkHaZER0gXWVGagCeL3lm5AdIi8woX/LMCPeSGeXLmhkH7xiKGf+0aRhmpIL5kmfGAXoMwYxUNF/yzAgcYg1tLDM6QPgSY0YHSCfKjA6QZpYZHSB8iTGjA6SVZUYHCF9izOgAaeeZ0a4sM1r4kmVGW2TGxPOlzMjzpcxI8qXMyHbIjHyTzMgWvpQZeb6UGXm+RJjRfB5rZmZmZmZmZmZfmAE3H7vx0hQAAAAASUVORK5CYII="},ARROW:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABmJLR0QA/wD/AP+gvaeTAAAA00lEQVRoge3TPQ6CMACGYYJh5Rq6cxlZ8D6cQBMGmbyfs/K6tEkh0ABC6fA9e9v38ydJRERERERERMICciDb4J4MyLdoWvJoDXTAGyj/uKc0d3RAvWWj79ELfV+gWnFPZc66zns0Dx8eDlg8YiI+zAAT8Fg7whN/D9FuI1LgOTHi5jl3BT4j517AKdgAE7NoRFTxTtSsEVHGO3HeEVHHW2ZEOzFi7A/bAunR3T2ebyLeT35oxoh44y3PiPjjLTOiceKb6H7zcwAFUBzdISIiIiKyjx/OQ3BIdzaCUgAAAABJRU5ErkJggg=="},AUDIO_MODE_BLUETOOTH:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAAP1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////9Du/pqAAAAFXRSTlMA/28MqyjD59cYv1P722s889N/j8sEQHOMAAABVUlEQVR4Ae3UN2IEQQwDQVLSeW/+/1ZFc51AFoNsETHqyljL/rZly7q736JAWui00Gmh00KnhU4LnRY6LXRa6LTQM4X3j5UA5gnv694gANgC/UYA8AX6QxDA1hDoD0EAO1fYdyMIoFzhcJQCQEgACAkAKQFguiCA2p0QzrYggMu1x66XmiIA+H0pAPh9KQD4fSkA+H0lAPh9LYxrTl8I45jURxCjnxHoZwT6ASHQRwj0EUJ9hFQfIdVHyPX5//ylSD8j0E8K9BFSfYRUHyHVR0j1EVJ9hKn913WUgt+/jOsgBb9f4ywp+H0AKfh9ACn4fQAp+H0AKfh9ACGYfQW83/q1u9lXwPua/mNKHyDUBwj1Adx+PWUfwO3XbktfAUYfYfQVYPQRRl8BVh+BPoDfR3jS1wD9aUv3K92vdL/S/Ur3K92vdL/S/Ur3K92vdL/+11+2bNknS5UVYka69LoAAAAASUVORK5CYII="},AUDIO_MODE_EARPIECE:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAABcElEQVR4AeyWAcTCUBRGhx8/AoQAQwhhCAECIAwBQggAIUAIECCEMAwhQIAAECAABIAwQAghvD50yed1bbWr0OGgXm87tre3Ait+/HDORd8UM4dX2HtxfgYTGJUREztBiaI5I/r8yAaGJVwhJYpioOMg4gRj8yiJ8QS1YQqvFDayiJKxf3jgIJrfggeKii2janJCZX4F7uj2heZRAUNRdKW2MmYWRb9dwAqvK1pTUd4Td+D0iZk3iriP7z1RKyikeYOmUCXH0ycknkUuZAZB/qj7epGxumcXF5oWQerTB8Z0/A0UulZBWtSSjp9CYWAWpERN6PgJFIbWQRzF8C3rWwbNc24JR9qLbIKUzZM3R+EM/97ZGNd6ULF3H1iV9/pQggpEdQJgFlXw3VcNBKuoN/55lh+lBDXg6SNR9H0IZ/ACGfsoDnoScdtuujoKj4NOA7EJtjRFt84o1LLtQOyPJ5r76dnz5SHUGaWV3aNgFAAA/4QUGzAl1qsAAAAASUVORK5CYII="},AUDIO_MODE_HEADPHONE:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABmJLR0QA/wD/AP+gvaeTAAAFGklEQVR4nO2dTahVVRiG32WmSf5lUIF/WImKFwIpIiEzMKKZlUSNatCgCPobFUVEk5pkFBJE0wYRKkjSQI0g7MeyMtSyqAgrNfOaXs3S7u1psI5B1j1rr+U++zvb+z1wuYN19rff73vPOmfvtdZeR3Icx3Ecx3EcZ6wRrAV0AwiSFkm6TtKApDmSZnf+JnZeNl7S+ZIOStrX+f+9pE8kfSrpyxDCSKPC2wwwHbgb2AD8ytnzG/AmcC9wqXV+fQkQgJs7hTpZQ9FHYwR4B1gFjLfO2xxgPHAPsLOHRR+NvcDjwGTrOpgArAA+Nyj8mfwCPMRY6RHALGCjbc3/l93AUuv69BTgduCQcaG7MQK8CExMZ9MigAnAq7a1zeIzYF4Tten5fQAwQ9I6ScsLQwxLel/xun6XpD2SDkkaDCEMApMkXSBpsqTLJc2XtFDSMklLJJ1XeN6DklaGED4oPN4eYC7wVcE78BSwDrgNmHoW559OvOTc0ImZy+/AHXXWpDGAmcA3mQkfAZ6mBzdMwCXAE8BgpqZh4M669fQU4DJgT0aSp4DngIsa0DYVeAo4nqHvT+DWXmurBWAS8HFGcu8Biw10zgM2Zeg8CSxvWmc2wGsVE/oLeBbjGyDgfqoPf/wMzLbU2xXg0YqJnKCPujSwFNhXUfs2+vE+ARgA/qiQwBFgmbXeMwHmAN9WNOF5a73/gjiotr2C8OPAtdZ6R4M4TPJ1hTyGgWus9f4D8FgF0aeAW6y1piD2hAMV8tlBPwzgEa+vj1YQ/LC11qoQvxOqfJw+aK1VwJoKQtcSpxdbA/HqKMU+4lCImch5pG/xDxDHg1oFcZZucwUTHrEUubqCwLvMBJ4lxLGsY4n89gMTLMRNIV5SduPdxoXVDPBMhTfZKgthD1QQdn3jwmoGmEZ6EuktC2FbE6K2NC6qRwBPJnIdBmY2KWgWcSynGysbE9RjiKO7qYuN+0pijyvUtErdZ9N+krSxMHbfEUI4ICn1MXNTSexSA1Yk2teFEIYLY/crryfabwRKpz+rA4wDDie64w09F9IwwMWdz/puLMmNW9IDBiR1m7kakrS1IG5fE0IYlLQ98bKB3LglBlydaP/oHF6NvC3RvjA3YIkBVybaPyyI2Ra+SLQvyg3YCwP2FMRsCykD5uYGLDHgikT7dwUx28L+RPu03IAlBqSWjvxQELMtHE20T8kNWGJA6iTHCmK2haFEe/YqvhIDLky0nyiI2QpCCCcTL8leLZE9SwXQNWAIrZr5yqXu/EuHIpyacAOMcQOMcQOMcQOMcQOMcQOMcQOMcQOMcQOMqd2AxJwpwBCwHlhQ97lLAWYTFxAPpcTXfe7ax4IyOCzpqhDCjzXFK4L4zNcOSbUsIG7TWNAMSasNz3+aF1RT8Uuw7AGSNBRCyJ5FqhNgSAUTKaOR2wOsDTAfvrbOx6+CjHEDjHEDjHEDjHEDjHEDjHEDjHEDjHEDjHEDjHEDjHEDjHEDjHEDjHEDjCkx4HjtKs4dUg9w/IcSA/YWHDNWyK5NiQGbC44ZK2zKPaBkSnJAcRVBLfsinENTkiOKqzx25xyU3QNCCLskvZJ73CiknjpsgroeKnw5t/jFEH8R4+0Ki7BSrG1EcPdc1teQxxaa3jeOaMIa0juIjMYgML9R0f+fxwLyf1PgNMPAS40X/4wEFhN3T9xJeodBiJu8ru2H4p+GuAPYG1TbgPZYJ9fVGGy77ziO4ziO4ziO4ziO47SXvwGJuroKjpZURwAAAABJRU5ErkJggg=="},AUDIO_MODE_SPEAKER:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAADPElEQVR4Ae3cAWQkZxTA8YcgCIIiOBRBEARQBOFQQHA4HA4QHIoiKCAIigACKA7BIQgOwSFYHIJDEBTB4lAsFotfoVTRb+ZtZrc9834A7DDvP2ZmfLMTpZRSSimllFJKKaWUMgg84gwHUdbPPz3hAodR1sO/u8NRLK/gp+ig26clQ9TwIRWg7Rq70V8NPx+g0wyvo1sNPxUg7xKbURrDzwbIu69TUsfwoefvvljOrG5ZG8OHxDZ+wCXm8hH2aviNABl4gSs5U+zV8BsBsnCI+4qQGH47QB42cK6/R2zX8PMBmvA2cW34UMNPBEhepKf6eVXDTwfohj3MdPuKndEPH2JgOMRCt5vRDx9iBfBKP69HPXyIFcG5bvcjG34+AG6xF0nYxINuL8c1/HwAWOA0knCk2+34hp8PAPABW5GAS90ORjn8fABwh43oCTtYaHsf62J4aw6Qf5rFlbZZbgGnAsDPyafkLkeRUgEW2E/s90TbWaRUALgd8No1iaQKkDh14EDbAtuRVgGuEvv+h7bjSKsA875HLq61nUZaBYDjga4D57GUCvBrYuWs5bdIqgCJuyEcJbaTUAG+DHQn9DmWUgF+jx7wfWI7CRXgKfFSV+d28irAQ/SA/dWskFWAT+mLcGM7eRXgInrAm6FvQytA4u0GvOt8nkirAAvsDLQw80ukVYCbxL5Ph39lsQIcJ15b7LITKRVgktjvk+FvQSvAYWK/Pw57Aa4A54l93tftx+itAmTfDbrUNsdWfAtw8R8HmGSGhW3MtV3HX8YVIR/gLnungrPEwv6IIuQDXGAjEnCARX4NYAQREgE+4zCSsIFJ/jliZBH6DHKFLxE/trc/ggiRMfz/xE6iaQQRImHgf0pO2kf/SCLEgLCDqW4z7EbbOCLEQLCLB/28i7bxRIgB4CW+yi9fVoR4JpxgoZ8pXsTfKsIzTzk39fWsZ0aIJGzhHPMa/gARkl/KOsVUzqIx/IoQHXCMGyzkLTrWeStCdLC8p8aRXxFWHOAjvou2ijB8gNQ3JSrCwAHu1SknH2GAAI94G2U1ugaPjVibCjDHNd5gM8rqYYb3OMZWrFepI/3/opRSSimllFJKKaX8CaVMNtxq0OEXAAAAAElFTkSuQmCC"},AUDIO_MUTE:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACK+310AAAHkElEQVR4Ae2cTYwURRTHdxHBD4goLioaJYKJHxB1dUFgwRBBkT2oB6KQ6E0PHkw02YNfFxMTYowelJNHTTR6IX4RjF+QiCKIHnRJMCpEhCACyyKoIK6/F6ZDTW1V93R39Uz3zHvJP9P1uup1vf+/q6unu2a6utSUAWVAGVAGlAFlQBlQBpQBZUAZUAaaykB3U48W4GCjo6M9hJkDLgWTwe9gH9je3d19gk+1IhiA+AfAZnAKuGwE5ztgfhHH79iYEDoVvA3SmNS/sGNJC5U4JC4He9Mwb9QdYvuqUH3puDiQNwv8ZRCaZXMrjcZ1HHkhEoa4DVkYd7R5OER/KhMDApaA18GzYHqWjtNOJtxQdoBAnTEfkOhSizW5M1mYRgTqnwP2WXHyFl9N04fK1oWlNx1MpRKB9nc6YuR1HSZAKeeC0J36yXH2yJel9RDQ6Ei4yxEjr2sKAXrzBimifWgBXqOTxxwdTSPCbEf7EK72F4BHAbthagDkEeHyEGw7YsgjjNJZ6BHQhQgbyXIFyCpCUURdXDr26VBwASRJRNjER1YRinqgNkH6VjYrRABJMocIK2k+UjaiKtsf7n4Wgz+By5y3qFS8DRxxNcjhW1tZEvN2HNJEhKMe8nwizKN+SBE6VwAREDIXtViEzhagARFkhPTbow2fjIRhkNdUgBaLoAJEZzenctzlyDcS5tIuz0hQASIBcoyEPCKoAKYANRH6Oat9d0ehR4IKYAvQZBFUAJcATRRBBfAJkEOEvhQTc2cKAEHXgkHwIDg7QYSF1Ek7J4gI8sYryRIFIMAV4HHwCJgU19dK7COJBeBvENlnbMQ+AGS/iCCPJ1zmm5gbESFWAA42E5i3uTson18Jon2dJIG3gG0LfPUjPw2KECFJgDV2RymvjvpU1Gfs2RjgoK5lKS5f3aF4lP0FjrvB0bodpwtyaZB3zIvMfbTZSnkZGDb9KbZd/XL5UoRMrlq0AMk98NRoQIQPHSJsI1weETy9Kc5dWgEk5ZoIy9n0jYTKi1A6ATirZ5rnGyJspty2IpROAMh+HxFuDCTCUuIcNmOVbbuMAsjqhU8CifANsWROKK0IRQsw6jjjkn4WdZI2U4FPBFk5l2ZOiESQnzHFWVK/4tpm3le0AC6iklYqH6xlE4lwk5kdc8KXlLOI8LwZx7EtyxdtO2Q7QpeLFkB+QGfbNNthlQ8YZRHhYy5HPhFcy1fke4Lr7sg1Go1DdfWYhdr2bw5fUFfRAphkRh13JRrtk8/vzALbcSNB7o4aFsGKaxddK+cqL4BrBFxiZ26VP7XKUrwIyJxws7mvdjnKLQJxxxP3MjN2bXuvw1cdF4mtBrb9EpcBlc8Dvh/mHWRfnQgSC9984FtDJA/w6h5b2MdnvywEs+24Xa9yZTK60s6qVp4Vlwx1XMJFoXwixK2mExEW+47Jvqei4MbnDl/9SvlJaKeRVLT5aFISVNwYVXZ8igi9dgx8mUSg3QeOY7xox69kmcTWOpJbn5QMbeaAfx1tI9chNoKIQBw5lvyYz7S5SX2sxH4yus/Mytgecy23E6LuQ+CE0cbezCKCLBQecznCZ4qwy+5LZcskNhG4JtV1jSRF2zvAbuAzEeEWOxa+uMW9SSK8YMerdBkynvCwN4Y4V6K0lZ+uDoIhTxzfSIhbVxonwmxXP4rwNeX5B6TJu9VdwP6y8yO+Pu7nj/DZkBFL7qDkaanct58LdoIh8DNxTvFZZ9Sfh2MDuKBux+nCMT5W0G6TY197uSDCdauHe/Q9UOiJQPzUI6G92CcbSJgAvgYuewmnilC06pA8A8j12mXrcMrviQsz4s8F5tITsx/OOaGwzrQqMBnfY2ZtbX9P+foi+0Z8FQESHgP/AZedwin/tnJNXiGIMQ7I09Q6w5ckwu11DdqxAAkrgblqjmKdybdg+fOPVcC+e4qlhPpCsMwre4B8w51jN8BXChEKnfjspO0yJMiZJl/Iptj7rLK8TNkOtoD9QB5zy7sGuY2Uf0+UvzcQyEIquUWdAUyTuku43fzBdIoIlD8CvlvUAdpsNNu03TYkTAdvgKJtPwcYM7/g6wO+xb0yMbf/5UjOKhLtB9+CouwfAjufcOJXEWoiyKQ5AOTafwyEsF8J8jSYFnf5YL+KYBIEIZOBPA2V/wAdAidBIyaTrry+fBncC84y48ZtU1dF8BEEOfJNejYYBLbJNXw5yL2amRhxIoi4E3197Ag/BPQC2/aETJ7gtwLfxLwq5LGKXpYSsq9Ni8Wt5zYOtgwMOw4qt8Cda5yZhY+AiN3aSDBfBn2FL+h3J1kPo+ZhQEYChF/N7gEwQvlzT9XMbhUggTpIl5c87yZUy7xb54DM1IVpqAKE4TFzlJZdgri2ykO0Z8ANIM2JMMmRbQ/x0j40O04ceVf8Su0y4wjbpi7IGg/k5UsZ7LlW0pzmzAvZT1n2IWd+Gez+VnaiVQL8QdLyjL8MJn1pmbVEAK658uhgTcuyPnPgETafPFNs/lbQb3Vpu88EcB1t5CVJK04EmYS3cDK0dASk5UzrKwPKgDKgDCgDyoAyoAwoA8qAMqAMKAPKgDKgDCgDyoAyUE0G/gfDlh3WAcXfhQAAAABJRU5ErkJggg=="},AUDIO_UNMUTE:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACK+310AAAGBUlEQVR4Ae2dTahVVRTH3zVT6AvLXkY0qDcpiIhsIKbRTbAGgQ0qHFjOgrSioCiIoKCBGQ6KgoqKICqpSZMiaBBGmUhkhIlNeilE5UekRvUo7PZbvhuet13n6569z97Xsxb83z1n7bXXx3/dc+49X/dNTJgYA8aAMWAMGAPGgDFgDBgDxoAxYAy0ykCv1Wiegg0GgytwNQUuBlLDL2C61+t9x6tJCAYgfRI8C6ZBnvzAwBZwUYgcOusTQh8ER0FVOYbhQ50lzFfhkHgGeLkq64rdK+LDVz6d8wN5zyik1lVt7hxxPgqG5dXg37psK/bi42YfOXXKB6TtUsgcVbWrU+Q1LRaW5d3vW5LcCuY1JSvQ/DsC+L09gM/GLlNtwKrGlZ3qIITPU6PU1CR3JMx+51xqOFazjqrm53G0/HtV4zbsUtwCJgMWHtL3SGmn2IALR6qk2qSQvqtl4Fil2IAFTo4+V0P6HinPFBswUiHjOskaELlz1gBrQGQGIoe3LcAaEJmByOFtC7AGRGYgcnjbAqwBkRmIHN62AGtAZAYih5/fRnzO8d9KnKvBds7Hf9ZGzFFjkOsK5t4AdpPrh6P6SWYeBcmdalm5vyg5DFdmjT0vryyJvcGJt6XIPvkxilkI/naK2l+UOLYxG7DfyVVyX1iUb9Ox0B/CcgHkTCfJS5z1lFbd3CT3oBdxQjcgJXKTzMUaELkt1gBrQGQGIoe3LeA0b8BAqa/sZrB/lDm+VGW+tdy0GnzlMxF6C9DuQpOHLuTutzw5nDfgQZ/re5iT9jCHVoOHVGZdBG3A8DbAGSXbojvUcklS/NRVFfnWniubCX0rY9AGDNk5pLCkFXvCjIKPsrBPmdNUtW/oO8+P9qbQcs+bP5K+jQYcVDJbouiyqk+yK56Wy3xqOWm5e0pn1k0bDfhZyXiZosuq3s+ueFou86nlpOXuKZ1ZN2004HMl49WKLquS08B7soqGy+JLfBaJlpOWe5GP9Mb4drEUuHIcxeKibBlf405qsL6mJNZifEtOrlxXNG8sxqioBw67lbG+vqwAbF5Q5tVVvVghznrFqeTcxh6iLL3m4xTyrlLgnrICGV8A3lHmVlVtFR9FFTA+D0gurrxXNG+sxqgs76nHtWWFMFe2oCfBDKgqYvsU0I5s54TEZm2O01vmGI77CkXuVAqVd16l69LYXQZeA9ruDPUJ+ZW/r4PLq/CF3XzwLXDlyyrzx8qGCvM+VJ+vUwh+5FTGcrAOPAweAXeB64F2KiHXPfbPAU1uy500rgNUKbuSr7Vq0d3ddl3ElKZp8g3K0l1X2/l6iUdh14C/lKpF1/cSpIITYt0I/gSuyGfHtRVcjK8JBd7jVj1clzsQNoaujBhy64l7p8YwhcG9oeMn4Z9q3/q/YuX1VXTn+E5UfAL5/aA82eo7ZrL+YOAs8FEeE+jlm85j4OymReBDYj0KDoE8+ZiBxrGa5trqfAqWr4BvgCI5yOBmcBMoPKDKJi+2oA82gQOgSN5k0L13Kesu6HL0T3uKf5oKn6hQ5R/YfArklxHlNLFAztfLJUO5vjA5fL2S1z6o8o7exDWCx7HtttAEebfuBm2JHHyt6jbrTvUQIgdYD4DfQCg5gmP5BcZKR99Oit1YhZzzwUbwBfAlO3B0H7ggNRajfwYUEQJhU4yvA3K//lXAvXkWlSo/oZWLMHJB5W3289+rVqasxwANWQRWgA+AK6KTsUX1vMa1HqsLDryTj4DtULZXoW2vjImNMpasaqwakCyLDRKzBjQgz8dUa4APFhv4sAY0IM/HVGuADxYb+LAGNCDPx9SoB2J8Z+9TxAYg/4qkjkxhfKkz4UfWpx1d2ar865OX+Oq6rcww1Hi0BkC+3HW2E9S6kB6AiOP4XEYTvgrgu9RlzF3QnWQXm3whSHKQXKJIzAYUPSzRNhlyXSGKxNwFyWNK28DSKJWfDCr/3KHPLijoo0gnw81ditYASYPPAbkUuBwskfUIcoCYOyC/7OG9CKlZSGPAGDAGjAFjwBgwBowBY8AYMAaMAWPAGDAGjAFjwBgwBk4nBv4DPEcPqAPihPYAAAAASUVORK5CYII="},AUDIO_MUTE_COLORED:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAACK0lEQVRIid2VTWsTURSGn3MnbWJ0o250o5vopIlotZqluKtoJwWtS8GiFH+AuizZCP0JLhTEpYofjRaLuigoiBpx0VhHpIouCiKh+FHTJDOniwatdiZNYt14Vofz3jnPfe+dey8EhCadE5rsOxCktRqR4LLsxWdEu47slqkbM0rOYBcGUDLAF0TGxB193gxAgoraM9TBt5kJYJ7vsaOsLd9D6EYF8D3UdCJ6Xtz8cFsAAE07W6jxAvQjSBcQ/X2A+FgclKnR+40AJpRczH9AzCBI97LmiwTw9PgKBsIBAFR5GaoJBtj5d4AOsRrqQmN9RcAqROBvqslsrp5ebqaJ2k4B8Yfk9d1CUwB83Qq04s/GszYFCf98iYIBImWENZSZBbTB95+VnAGiGP3RPADeASl5f2u2nodA/E9se2YDEcSaDpxrUFET/SksfxIkg3gb8a0xROXXeKmAVur5VdB94uYDz0SgA3l7+xVwHfQiVvwxxjsETNed1EAfUCWNSBF0EGEk2GGjTY5UTgNRauVH+KYkbj5BNbaedZvjuLEsEe1F/R3AHMr+sDahlx2Apns3UOu8AAwARaCMyhyii5efksPoE1QmUD0lb+5caQnwE5ToT2F5h0HOgLqIuYQ1n5fieAlA7ew50GE8k6kvb3uhtvNU7b6zy+ogajs3dbszqT1OfKm2KgdNQIlUTgLwlT1LtZAnsw1IcbykHNslXPPaBwgPERP6RvzZ/P+IBZlxuSDYE/aaAAAAAElFTkSuQmCC"},AUDIO_UNMUTE_COLORED:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAByElEQVRIic2Vz0tUURTHP+fMe2+sTZSbwEVQ0fyQJCH8D0IqaCUtdAzaRJt2uZLiEbSNloEKwcxK3AkiVODCNpHQwnGSSP+BMAmy8THe48Io0DszL8bBvqvL/d5zPuf+hi5LUo2yWFm/NILJEPADcQvk7308HsDX2TMkyRvgGhgge4hFOJ5THH/aLlzbAnaTF2ADQAgSAj2YKMoka+UbnQEsVoRRkOxRD1AZ7wywmusDevymKMZAZ4CATEvf2vhtAcegwNtbK8e/W69TZalVVkAeUBhbSQdALqRK/Fc5zJ33GV1fIj/AqCOcol7f5uBA+iX2DYsVyKL2Kz0ANjGKDN7fBtnEDkMMkF3QJb5czAEBFm54a/Cmr1aKKKuIG8IyvYhbwIkgf8YnwHcCrtCwJyDDFEreO+GfQX9pDZjDdBoXvsf0FiobgGE0EHlLwHX2uAo8QnjWZCVabLKLHgJZNFlGbYv82GWi6Cw7P0+TC+/Q4CbGIugU+dJcszStX9Pq7Dk0eQWMAFVM6mA7iBVAspjEFEZfItL0IKT7D6qVIhm7DfIYWMeYwUXz9N/dShWfWrXKBz6XJ/4l5IQu2gkC3uH41JVK/lvtA5HuhLGc3zqoAAAAAElFTkSuQmCC"},CLEAR:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAAM1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACjBUbJAAAAEXRSTlMADKsoPJ8Ew//n879T+8sY13W/vG8AAAEBSURBVHgB7daxAcJAEAPBxxh4DBj6r5ZEibObzMGpgJ1Uo9fr9Xq93rl3Wa6jvPV25/5jPsvCus3lzv1ZEtKfJKQfodSPgP0ItT4JrzlrQvrZrQy8P0Xh0N/WkbngfRe874L3XfC+C953wfsueB8F75vgfRO8b4L3TfC+Cd43wfsmeB8F76PgfRe874L3UfA+Cd6HfwWPzPsueN8F76vgfRC8v31I8P76JsH7Y5jgfRO8b4L3TfC+Cd43wfsmeB8F77vgfRe874L3XfC+C953wfsuZHu1fxSWMvD91fpH4XEZIFT7EdIXodaPkL4JtX6E9EnYS/0Ir/R7vV6v1+uddX+z4icAfdG+MQAAAABJRU5ErkJggg=="},END_CALL:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAAM1BMVEUAAAD///////////////////////////////////////////////////////////////+3leKCAAAAEXRSTlMADKsoPJ8Ew//n879T+8sY13W/vG8AAAEBSURBVHgB7daxAcJAEAPBxxh4DBj6r5ZEibObzMGpgJ1Uo9fr9Xq93rl3Wa6jvPV25/5jPsvCus3lzv1ZEtKfJKQfodSPgP0ItT4JrzlrQvrZrQy8P0Xh0N/WkbngfRe874L3XfC+C953wfsueB8F75vgfRO8b4L3TfC+Cd43wfsmeB8F76PgfRe874L3UfA+Cd6HfwWPzPsueN8F76vgfRC8v31I8P76JsH7Y5jgfRO8b4L3TfC+Cd43wfsmeB8F77vgfRe874L3XfC+C953wfsuZHu1fxSWMvD91fpH4XEZIFT7EdIXodaPkL4JtX6E9EnYS/0Ir/R7vV6v1+uddX+z4icAfdG+MQAAAABJRU5ErkJggg=="},FULLSCREEN_ENABLE:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkAQAAAADJe6U1AAAAAnRSTlMAAHaTzTgAAAAeSURBVHgBYyAeMP5j/4FGHmCwwE0SBgRMwLSReAAALFsVry/+TlYAAAAASUVORK5CYII="},FULLSCREEN_DISABLE:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkAQAAAADJe6U1AAAAAnRSTlMAAHaTzTgAAAAdSURBVHgBYyAB8LHjIRn/sf9AJQkDTF34bSEBAABlZwzHYOP77gAAAABJRU5ErkJggg=="},NETWORK1:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAeCAYAAABe3VzdAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAH6SURBVHgB7Zi9TsJQFMfPuUBijAM+gR3ViTjz1cRdV3VQZ2PAF1DR2fg16GKiDuroA5i0A0wOMpE4WZ9Adtpe/1cwqbVFG9JQDf/kptxzDpcfpz2nvWVKiBqNxo7rulVmzmLalFJuFQoFkykBqtfrhzhU/XZA6kMHNAwjl8lknkLcpqAhK5VK5fq4y0MH/EmJB0xTjPJVptnpdNZ1XbeirBFbBlVlogp3e3BK5XQ6jZowslHWiQUQEBoFtA3AaoCsUgTFAggILcwnhJiiCBpV8aAaAQ6q/9eo0XwraL6f/c3E2Mrn802KSZEyCLhdNN8jb/PFMNCUcxSTfg2I5quez3YCXFkAVygmRcmgFuYAuEYxaVTFg+pvtJnq0yLZ4xO4lphc16az2VtKisRGa5nANYnPqxgVYipvPK9QUqROseaMTTwifRfI30GKxQNs25utJUqCBAu6QKPQvEaWtI1DiRIgZJADQSTzAiVAgiS9BTlQMG2fSc0DYyHLO7Ft2wqJQxG6r9457kKhsVBTMMt9xfPFDGiHnWuvCbuxtuM4ewGLSOzWar5YCyBX3wKltAB/6bWp9y9BsdT9MzVxOn1zwi4Bkl8+0Fxp4sqcP5+5s/xfKJVKR/iRGkY3FrdowM0FbSWLxeIa4o4VVM9kAk7vE1vzxqr3MrDfvwNBx9Y/T8rRYQAAAABJRU5ErkJggg=="},NETWORK2:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAfCAYAAACVgY94AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHqSURBVHgB7Zg9TgJREIBn3i4FxoIbSKlWeABQPICaWPkTo7FECfEAKB4AjRZSEbRQS2NvFhLoSMAGtRJPoJ0FyxvnKQVhdzUvZMPG8CWEffMmux+bnYEBIOAgBIRarXYopcwgYoSXTT7OJRKJu0AIVqvVE37LDMaJKDlyQcuyYqFQqOGxXRYwYgzDiP2yvTBywb8IvKAJPjJQmeVOp7OTTCbbOufw7Q6qyuQqPOrJKRZM0+SasCI65/FFkCWi4NI2WDbKkhnQwBdBloh67QkhpkCDcRUPy1hwWP5fo049r6eRRBaQuJ9Rxf6Uu4W52zb4hNYdTL1sZBEw/yOnwHkzbNQzjRWt5quDliASbrmEI53wxBb4hOYzSFG3KBLEwCfGVTwsY8Fh+e6Dqk3YE5NLRBiR0n68mL2pQEAQqdb6lB2erPOMV0SQeUOIh72nzTwEBIECio72gZTeb63NQwAQ6tvAbYMQlyEACCD4cNvg59EZ98pFaPavbdtugwc8RL31r3kM8MxlGgKRjgejCNTuYvfKEffKJXnfH1OTG4tcDubyEPXK8qX+WDweL3NuCZxwOh2I8+nrM5TAF+59EkkVQrFamHH+QtHJ5T9+tvkCp0qKX+8cslhu0W3s5NwdzsmpXCWmcvl4Ucl/AS1A0EV7spGmAAAAAElFTkSuQmCC"},NETWORK3:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAeCAMAAABpA6zvAAABDlBMVEUAAAAA/wCA/4BV/1WA1YBt20lmzGZt21twz2Bp0lpo0V1v01lt0Vts2F1q1Vxr11dp2Fxq01dt1Vtr1Vm+w75t1Vi1xbG3y7Nu2Fps2Vtt1lyqyaOlyKFt2Fpt1lxs2Fxt11xr2Fps1ltt11ps11u5xbdr1lts1lpr11y7xrlt2Fxs2Ftt11ts1lpr1lts11ts1lpr11ts11ps1lps1lts1lumy6Cly6Bs11pr1lutyaquyaps11ts11ts11u7xrpr11u8xrts11ts1lps11ts11ts1ltr11u1x7Js11u0yLJs11ps11ps11u7xrm8xrps1lrDxcNs11ts11vCxcLDxcLDxcPDxMPExMT///8r1ctVAAAAV3RSTlMAAQIDBgcKDhARFhccISQmJykqKy8xPkBBSUtLT1teYWdpamxtbnBxcnR1e4GCg4aQkayts7S0tri8y8zT1NfX2Nja3N3n6Ovr7Ozw+Pn6+vv7/P3+/v5u9dgoAAAAAWJLR0RZmrL0GAAAAOZJREFUOMvN1MdWQlEMheGNigV77w2uvfeGqCjoxc6vmPd/EgdnoI5yRi4yzTfaK9mSN20nLx+1GflzYWbWGHfdyJeZmd24cMnMzOzdhWsBWhPC9qm5/hjYV4bn9Qh4BvA26sLsEwCrLuwCgK1/g5nk+vF0KAIuA1RyPrwFoODCljoAuy5sDdu9JoTZyfnhGNhThPpOBNwHYMKHKQDbf3PsDHDz97uWAEgkqQxAXpIqAMz+FMCV8gDVbklKAKo5SdoAuOuQpHMzs8aYMgvF9GgwXM/iZXo4EBJYKd0f9IaSOn79fJjWN5UXmsivB3+sAAAAAElFTkSuQmCC"},NETWORK4:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAeCAYAAABe3VzdAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIJSURBVHgB7Ze/axRREMe/M2uRHAHPv+Cuu/MaEewvYK8WaRKOC2glSU7JH3BFrBW9iz+aCDmSnBaC9hZaW6hNEgtx/QtiQLDZfeO8FwjJ7iZkORZewn1gYZmdN/t9v+bNI3jC/e3ZZsDUBahJoNCQDJ7XNlcIHrCwPVchpp9Ju7AsMzyAwA8y7Ya6XgjUkbp8wqeyFwJPYyxwVLwXeAkF4/JbEFSMmP0X9a0PyElhAh9+vVOOJkvvbOKFiE4VYWm3FQb//t54ev39n7PGKWyK48lS24k7gkCq0USpixwUJlCA21l2Ir6FHIx38ahcvDSzsDvX0XXU0Z1Z1YX2HUzPVmsbAxRErhFc/NFqa632xImzEK7p++ulndkmCiLfFIuZzzQzdVAQOdcgVzLNMcooiPEuHpXzkWb0YEdUmnKGOI7xsjGEL7DeqCCEK/o+7x7C9OJOy4vbnsVOcTWemPqi+WzNPgHxR7U91pwHH2BirGkmqx6zkti81oYHcLJmO8SYaXgA63m6d8K3jKrX/MZZEWRWzWLSMfSCvp/lS5CQieSRC3c8+F4E00u3kPWUrz3pOO6lXSXd3hK4GAkb1jM7ZGjA/fpWjwxUJP1yPzfyicTMvLr6Jkz6r9aGA+3uvUNfwTdGNNOrv01dhvqN4Wf1vQujFc+B5FBHZNnFSMXdsFXRzaRvv7G58h/5AKz4Lj7ucQAAAABJRU5ErkJggg=="},PEOPLE:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAABXklEQVR4Ae3WAWTjUBjA8aA4DAMMxXAooDgMh3IoDoficBgGOAQHGIoBisMwDMMAw1AUBQwwQABDMQxDEQzFbwBP+mzJkrBNfhT4Pu+vkifJe9HpdNDHDEuskGGGvcLcCBlWmOMEu03H/MFaXI5JMNtDJsQ9xk3GvOYJg2BnYtsGo7oxO3hQzm3hX8pty+oGTVTTD3YX4r7VCZqq5leweyHusE7QP9UcBbvn4n7XCfqhmu/B7rW4r3WCdvGonBV6we7atrukLkyUE95FY9s2OEiagBmIy3FUmL+JxKRJkzDCAk+ADJfYj8w9BLFXGCafGnoY4CcOg9+4zFsTn6kI+zjGErmXrTFHir2kAAe4wwIp+lWflaW32+C6+NxgiDw+E4EdnGnOBieFuyl9cSaEuXacBmd8Eb9oz4sxY+0alPgKGIZBx9r1Nzjrv7g0DJpq17TEWdOPG9QFdTqdFj0DdF7DWEFPa9AAAAAASUVORK5CYII="},PIN:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAABSklEQVRoBe1XMQ7CMAxsOlfiA4gP8AD2bv0GA8x8hJ3vUcTMCyhnxFDqIXHtRK3kSB5I7bPvLoVQVb5cAVdApMAwDB2iR1ivOwA70TBIDtICNOlRs5XWJeb3IYRdYu43rZYkLzF3DoETiDwykCFnz1Jc8RGaNqAXYbon+Ywjo5phjgOS+bLnOoHsEkcauAMRgbI/dgeySxxp4A5EBMr+WOUAfoQb7YRaDBUBDL/XEtBiaAkcDQhYYMjHgPUt4o3QLsJo5RMoKqgh4qmdfFRPWHlJoEGDOCBuCAvlAfO3CJOwqUfyl0PyXZxaKUwTl6b+T6jFyAsrcAILM8RmHLwuG3pnRutlg8xR/AhxTcruuANl9ebd3AGuSdkdd6Cs3rybO8A1KbvjDpTVm3dbvQOcktEObqLX0W30YgRbFuZHYp3Dl5XKu7kCsxX4AP8MrV2ixb6jAAAAAElFTkSuQmCC"},SWITCH_CAMERA:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAA4CAYAAABE814IAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAARKADAAQAAAABAAAAOAAAAADfM+xLAAAFQklEQVRoBe2ZW4hVVRjHncYy1DCNMoOuzkQRNmVKEHShtId6KosiiBworKALIhSETWmRED31MF2IzCgmuhH2kEn20IMP2XWKLA0OdrdCYqy8jafffzjrsM5p77X2Za3pnNgf/FmX71vf+r7/WXvvb+8zZUolFQMVAxUDFQPBGOgJ5snjqF6vz8FkAKid6jEfR78HjPb09Oz22HaXGiKmgafAIZBXxlnwMjimu7JOiZZE5oKPQFnZjoPTU7bpjmkSmAlCkGHI3EHn+O7Ivi1KAp8ONplMArYf4mt223adPSTgc4ACjyVf43hxLBYyPWUIQHY3gctAH5gPZoB20dy09slI4wP43Zvg+yBzNbATfAKGeVL9RRtGIGMAbAXdKrsI/JqsbDhPCI70i38FTs7qsEPtVNcs5KR87ovvCI/BEPpuJ0Mp9oJhfmDnAZCh0wAHP2MzV4b/EzmTU7LDlUtqCQ0Zqg5jkfEbvkeBbnzCGNBe88Al4CwQQ/pxWowQFmpxaNmKwyfBa/xSehokCj/GGShuA3eD6YlGxSaL50RQS0FIeShvDmw+D7wRMIg1vhh8N1Xf+jz6Z21jkpwK+sAScCU4wdarzyn6iWYZWKvxZEhMQraRgIonI4MkLRL6gRL8Duh63gw2gV+Y/xFsBOcxnhBIqYMHGTzRmPpvGoIqc8ncqajxcS7YC4wcMB1PK7shcKTJnn4v2ALKiPeSMfv9q2XXooS8aDvDz80lMniPtc3SgP4CcLiEPy8hoS+ZLyHjdpsQjrsIarl/2HpP/3L0K4wNvvSoftWMY7QhCdGL1nUE/WdCoHp86kWriKzjRJxkLdxg9YN3QxJyK2RsT4qQ+X3MXw/+SNJ75mahv8uyeZ/+fmsctBuKkGdI+hVXZOi/Rd88/i7bBN2AmcOPXuU/NuPQbShCXs8Y2Ebs6hltbbMF9oC+6pMokvouk3M3vUmONNZ8z684bNYzv5L+cY3xpbTNp4axcbS6H4nAY/EzC7/mklMNYz4OqbQP9cPiKkUIoOhjV8VWU/BT9NvqvU0njg7+F4Gsj+I1DlcTqhjMnti26Wdt46zDsYyGB7HLc+qcbmMQor8fTrN2LUrIo/hpJ9dyO1EJq5J9umWy5CAGIQrpKisuvaf8bo2zdvV9ZARSeh0LHkd3oUOfWxWLkGtNJNwI9TFolRnnbHUTfiRpDUQtY/6eJF2ZuViEXEHAF5nAIGU9/S1mnLO9D19X22sYz2f8nD0Xqh+LEMX3GIHbN7sbmHuzQODysQFfp2ot7dE0ep9RBRtcYhKib6MPm4h16QBdSrcAU08Ytd3+zeAlcAd4u6GYQ/sOZCynVXF3Pogi9i/YsgGbL2Xi3ZbJ/AMVVYMQ8YK9FN8zGSupheACoIRrQG/LI9jvodVp0A31VzBb4wCyFt/62JQqoSrVtA1E+HoS66ddTTAiSJ8GVWV+0ICm0kRV6FFpyhjzMS8ZO94HGGyDmCX2pKuP7cXo9cie4bILrYt9Qux4dXlsJtFPad8CSrYGdgPJKUBPj7PBIIh2n8B3qrgIOZS6qpxCH5CFoYabw7SCK5aGaenGm5MriFrp7bM50GU7WZeuNydXILsI1P4bIVt6nW3V8iaeFGoqITwJxlkwmrSoS+f2E3fiJ047n1RCGkb328Zd3l/HjzxR37jySC3MzCKeCs/TX27GXdp+QdyLIWSfL37fCVERpUfgjeAHn7MO1OuD9GqwKAsZit97QmQk4aSoYlTF2QdUL0xqwcR+WUVf0GpAN9BvIGKMtpKKgYqBioGKgYqBioHOY+AfLnJU7lv5Hu4AAAAASUVORK5CYII="},SWITCH_TO_VIDEO_CALL:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAAAXNSR0IArs4c6QAAIABJREFUeF7t3O125DayLNDu939oz5K9NFbLkoofSBCB3PevqkBiZ5CILp+5v3/5fwQIECBAgEA7gd/tdmzDBAgQIECAwC8FQAgIECBAgEBDAQWg4dBtmQABAgQIKAAyQIAAAQIEGgooAA2HbssECBAgQEABkAECBAgQINBQQAFoOHRbJkCAAAECCoAMECBAgACBhgIKQMOh2zIBAgQIEFAAZIAAAQIECDQUUAAaDt2WCRAgQICAAiADBAgQIECgoYAC0HDotkyAAAECBBQAGSBAgAABAg0FFICGQ7dlAgQIECCgAMgAAQIECBBoKKAANBy6LRMgQIAAAQVABggQIECAQEMBBaDh0G2ZAAECBAgoADJAgAABAgQaCigADYduywQIECBAQAGQAQIECBAg0FBAAWg4dFsmQIAAAQIKgAwQIECAAIGGAgpAw6HbMgECBAgQUABkgAABAgQINBRQABoO3ZYJECBAgIACIAMECBAgQKChgALQcOi2TIAAAQIEFAAZIECAAAECDQUUgIZDt2UCBAgQIKAAyAABAgQIEGgooAA0HLotEyBAgAABBUAGCBAgQIBAQwEFoOHQbZkAAQIECCgAMkCAAAECBBoKKAANh27LBAgQIEBAAZABAgQIECDQUEABaDh0WyZAgAABAgqADBAgQIAAgYYCCkDDodsyAQIECBBQAGSAAAECBAg0FFAAGg7dlgkQIECAgAIgAwQIECBAoKGAAtBw6LZMgAABAgQUABkgQIAAAQINBRSAhkO3ZQIECBAgoADIAAECBAgQaCigADQcui0TIECAAAEFQAYIECBAgEBDAQWg4dBtmQABAgQIKAAyQIAAAQIEGgooAA2HbssECBAgQEABkAECBAgQINBQQAFoOHRbJkCAAAECCoAMECBAgACBhgIKQMOh2zIBAgQIEFAAZIAAAQIECDQUUAAaDt2WCRAgQICAAiADBAgQIECgoYAC0HDotkyAAAECBBQAGSBAgAABAg0FFICGQ7dlAgQIECCgAMgAAQIECBBoKKAANBy6LRMgQIAAAQVABggQIECAQEMBBaDh0G2ZAAECBAgoADJAgAABAgQaCigADYduywQIECBAQAGQAQIECBAg0FBAAWg4dFsmQIAAAQIKgAwQIECAAIGGAgpAw6HbMgECBAgQUABkgAABAgQINBRQABoO3ZYJECBAgIACIAMECBAgQKChgALQcOi2TIAAAQIEFAAZIECAAAECDQUUgIZDt2UCBAgQIKAAyAABAgQIEGgooAA0HLotEyBAgAABBUAGCBAgQIBAQwEFoOHQbZkAAQIECCgAMkCAAAECBBoKKAANh27LBAgQIEBAAZABAgQIECDQUEABaDh0WyZAgAABAgqADBAgQIAAgYYCCkDDodsyAQIECBBQAGSAAAECBAg0FFAAGg7dlgkQIECAgAIgAwQIECBAoKGAAtBw6LZMgAABAgQUABkgQIAAAQINBRSAhkO3ZQIECBAgoADIAAECBAgQaCigADQcui0TIECAAAEFQAYIECBAgEBDAQWg4dBtmQABAgQIKAAyQIAAAQIEGgooAA2HbssECBAgQEABkAECBAgQINBQQAFoOHRbJkCAAAECCoAMECBAgACBhgIKQMOh2zIBAgQIEGhdAP7666+/RIAAAQIpAr9//279zk6ZU8p9tgiTgz4lju6TAIGzAkrBWTGffxfYugA4+AWdAIFOAspAp2nf3+uWBcDBfz8YViBAIFdAEcid3cw736oAOPhnRse1CBBYXUARWH1Cz97fNgXA4f9skFydAIE1BZSANeeywl1tUQAc/itEyT0QILCqgBKw6mSeva/4AuDwfzZArk6AQIaAEpAxp5l3GV0AHP4zo+JaBAikCygB6RMce/+xBcDhPzYIViNAoIeAEtBjzkd2qQAcUfIZAgQIbCKgAGwyyAHbiCwA/vU/YPKWIECgrYASUDf6t/MpxVcBqMuBlQkQILCkQMoBtSTeDzf1/o/TFN+4AuBf/2mPhPslQGBFgZRDakW7r+7p49mUYqsApKTLfRIgQGCgQMohNXDLZUt9/odpim1UAfCv/7L8WpgAgWYCKYfU6mP56lxKsVUAVk+X+yNAgECRQMpBVbT928t+94/SFFcF4HYELECAAIFMgZSDakXdn36RTnFVAFZMlnsiQIDABIGUg2oCxalLvPrP0SmuCsCpsfswAQIE9hFIOahWEn91+L/da4prTAE4gr5SSNwLAQIEVhdIOahWcTx6DqW4KgCrJMt9ECBAYLJAykE1meXLyx09/P0CUDCtM/gFl7ckAQIEthNQAI6N9Oz5k+LqF4Bj8/cpAgQIbCeQclA9CX/28PcLQMG0rgyh4DYsSYAAgW0EFICfR3n13Elx9QvANo+yjRAgQOCcQMpBdW5XYz599fD3C8AY/z9WuTOMgtuxJAECBOIFFICvR3j3vElx9QtA/CNsAwQIELgmkHJQXdvdtW/dPfz9AnDN/cdvjRhKwW1ZkgABArECCsCfoxt1zqS4+gUg9tF14wQIELgnkHJQ3dvlsW+POvz9AnDM+9SnRg7n1IV9mAABApsKKAD/DHb0+ZLi6heATR9s2yJAgMArgZSD6tU+7vx99OHvF4A70/jmuxVDKrhNSxIgQCBGoHsBqDpXUlz9AhDzqLpRAgQIjBVIOajG7rrmZ/+P95jiqgBUJMuaBAgQCBBIOahGU1b9y//9PlNcFYDRybIeAQIEQgRSDqqRnNWH/9u9prgqACOTZS0CBAgECaQcVKNIZxz+CsCoaX1YZ9bgCm7dkgQIEFhSoFMBmHmGpLj6BWDJx9JNESBAoF4g5aC6KzHz8PcLwN1pffH92QMs2IIlCRAgsJRAhwLwxNmR4uoXgKUeRzdDgACBeQIpB9VVkScOf78AXJ3WD997apAFW7EkAQIElhDYuQA8eWakuPoFYInH0E0QIEBgvkDKQXVW5snD3y8AZ6d14PNPD/TALfoIAQIEogR2LAArnBUprn4BiHpc3SwBAgTGCaQcVEd3vMLh7xeAo9M68blVBnviln2UAAECSwvsVABWOiNSXP0CsPTj6eYIECBQJ5ByUL0SWOnw9wvAq2ld+PtqA76wBV8hQIDAUgI7FIAVz4YUV78ALPU4uhkCBAjME0g5qL4TWfHw9wtAQX5XHXTBVi1JgACBKQLJBWDlMyHF1S8AUx4zFyFAgMB6AikH1We5lQ9/vwAU5Hz1gRds2ZIECBAoFUgsAAlnQYqrXwBKHy+LEyBAYF2BlIPqXTDh8PcLQEHeUwZfsHVLEiBAoEQgqQAknQEprn4BKHmsLEqAAIH1BVIOqqTD3y8ABblPC0ABgSUJECAwVCChACS++xNc/y4qQ9NUuFhiCAo5LE2AAIHbAqsfVKnv/dVd34OjANx+hCxAgACBTIGVD6rUw99/Aih4FpLDUMBhSQIECNwWWLUApL/vV3X9HBi/ANx+hCxAgACBTIEVD6r0w98vAAXPwg6hKGCxJAECBC4LrFYAdnnPr+b6XUD8AnD50fFFAgQIZAusdFDtcvj7BaDgmdgpHAU8liRAgMBpgVUKwG7v91VcXwXCLwCvhPydAAECmwqscFDtdvj7BaDgYdkxJAVMliRAgMBhgacLwK7v9addjwbALwBHpXyOAAECmwk8eVDtevj7BaDgIdk5LAVcliRAgMBLgacKwO7v86dcXw780wf8AnBWzOcJECCwicATB9Xuh79fAAoejg6hKWCzJAECBL4VmF0AurzHZ7tejbhfAK7K+R4BAgTCBWYeVF0Of78AFDwUncJTwGdJAgQI/EdgVgHo9v6e5Xo30n4BuCvo+wQIEAgVmHFQdTv8/QJQ8DB0DFEBoyUJECDwf4HqAtD1vV3tOirCfgEYJWkdAgQIhAlUHlRdD3+/ABQ8BJ3DVMBpSQIECPyqKgDd39dVrqMj6xeA0aLWI0CAQIhAxUHV/fD3C0BB+IWqANWSBAi0FhhdALyn/4nTaNeqkPoFoEq26bpvwfcSaDr8D9uWg4wMjDyoPPf/znyka2WSFIBK3WZrv4fei6DZ4L/YrixkZGDUQeWZ/3Peo1yrU6QAVAs3Wf9j4L0Mmgz9h23KQ0YGRhxUnvf/znqE64wEKQAzlDe/xueweyFsPvAD25OJA0gLfOTuQeVZ/3qId11nRUMBmCW96XW+CrqXwqbDPrEtuTiB9eBH7xxUnvPvB3fHdWYcFICZ2ptd67uQezFsNugL25GNC2gPfOXqQeUZ/3lYV11nR0ABmC2+yfV+CriXwyZDvrEN+biBN/GrVw4qz/frAV1xfb3q+E8oAONNt1/xVbi9ILaPwMsNyshLoiU+8GpOn2/Ss31sbGddj606/lMKwHjTrVc8Emwvia0jcGhzcnKI6fEPHZnT+016ro+P64zr8VXHf1IBGG+67YpHQ+1FsW0EDm9MVg5TPfpBc6rhP+pac/XjqyoAx61af/JMoBWA1lH5e/PykpGBI3PyPJ+f5RHX86uO/4YCMN50uxXPhtkLY7sInN6QzJwme+QLr+bkWb42lleu11Yd/y0FYLzpViteCbKXxlYRuLQZubnENv1L/tcaNeRX8l9zJz+vqgA8oR5yzashVgBCBlx4m7JTiDtw6e/m5Bm+h3w1//euev7bCsB5sxbfuBNgL48WEflxk/KTkYGv5uT5vT+7O/m/f/XjKygAx63afPJueL1A2kTl243KUEYGPs/JsztmbnfzP+YuXq+iALw2avWJEcH1EmkVmS83K0cZGfg4J8/tuJmNyP+4u/l+JQVghnLINUaF1oskZOCFtylLhbgDl36fk2d2IOrJ/xns2CufW00BOOe17adHvbDfgLxMto3J4Y3J02GqRz/4NifP6/gRjMz/+Lv7d0UFoFI3ZO3RYfVCCRl84W3KVCGupZcXGJ3/qg0rAFWyIetWBFUBCBl+4W3KVSGupZcXqMh/xaYVgArVkDWrQqoAhASg8DZlqxDX0ssLVOV/9MYVgNGiIetVBlQBCAlB4W3KVyGupZcXqMz/yM0rACM1Q9aqDqcCEBKEwtuUsUJcSy8vUJ3/UQAKwCjJkHVmBFMBCAlD4W3KWSGupZcXmJH/EQgKwAjFkDVmhVIBCAlE4W3KWiGupZcXmJX/uxAKwF3BkO/PDKQCEBKKwtuUt0JcSy8vMDP/dzAUgDt6Id+dHUYFICQYhbcpc4W4ll5eYHb+r4IoAFflQr73RBAVgJBwFN6m3BXiWnp5gSfyfwVFAbiiFvKdp0KoAIQEpPA2Za8Q19LLCzyV/7MwCsBZsZDPPxlABSAkJIW3KX+FuJZeXuDJ/J/BUQDOaIV89unwKQAhQSm8TRksxLX08gJP5/8okAJwVCrkcysETwEICUvhbcphIa6llxdYIf9HkBSAI0ohn1kldApASGAKb1MWC3EtvbzAKvl/BaUAvBIK+ftKgVMAQkJTeJvyWIhr6eUFVsr/T1gKwPJRen2Dq4VNAXg9s90/IZO7T9j+fjxYf/+OOFsjbvIN2qHyddxWe9GalRfjm4BcykFngRXz/9U8FIDglK4aMmUtOFSDbl02B0FaJlJg1fx/xlQAIuO15r+w3ikVgNBQDbztlV+A8jlw0Jb6UmDl/H+8YQUgMMCrh8sLNjBUg29ZRgeDWi5KYPX8v2MqAFGxWvtf/n4BCAtT4e0mvAAV1cIANF86If9//9/qpMzJw5px+L/lyaxSnqq6+0x5AcpqXQY6r5ySfwUgJKUpgVIAQgJVfJvyWgxs+aUFUvKvACwdo39uLiVM/hNAQJgm3aLMToJ2mSUFUvKvACwZn39vKiVIHxn9rLp4qCbcntxOQHaJZQVS8q8ALBuhvH/5+wVg4TBNvrWUF+BnFuV1clA2vVxK/hWARQOYEqCv+LxEFw3VxNuS34nYLrWcQEr+FYDlopP7L3+/ACwYpoduKeUF+B2PEvtQcDa5bEr+FYDFApcSnJ/YvDwXC9UDtyPHD6C75DICKflXAJaJTP6//P0CsFCYHr6VlBfgKyZl9pWQv38lkJJ/BWCR/KYE5giXl+YRpb0/I897z9fufhZIyb8CsECSU8JylEoBOCq17+dket/Z2tlrgZT8KwCvZ1n6iZSglCJYnECAgGIbMKRFbjHlva4APBiYlJA8SOTSBJYSUAKWGseyN5PyblcAHopQSkAe4nFZAssKKAHLjmaZG0t5vysAD0QmJRwP0LgkgQgBJSBiTI/dZMo7XgGYHJGUYExmcTkCcQJKQNzIpt1wynteAZgWiX3+d/4TyVyKwNICSsDS43ns5hSAwfTpD1pKIAaPzXIEthdIfzdtP6AHNpjyvvcLwIRwpIRhAoVLENhSQAnYcqyXN5XyzlcALo/42BdTgnBsNz5FgMB3AkqAbLwLpLz3FYDCzKaEoJDA0gRaCSgBrcb97WZT3v0KQFFeUwJQtH3LEmgroAS0Hf3/N57y/lcACrKaMvyCrVuSAIFfv34pAb1jkHIGKACDc5oy+MHbthwBAp8ElIC+kUg5BxSAgRlNGfrALVuKAIEfBJSAnvFIOQsUgEH5TBn4oO1ahgCBgwJKwEGojT6Wch4oAANClzLsAVu1BAECFwSUgAtowV9JORMUgJshSxn0zW36OgECNwWUgJuAQV9PORcUgBuhShnyjS36KgECAwWUgIGYCy+VcjYoABdDlDLgi9vzNQIEigSUgCLYhZZNOR8UgAuhSRnuha35CgECEwSUgAnID14i5YxQAE6GJGWwJ7fl4wQITBZQAiaDT7xcyjmhAJwMRcpgT27LxwkQmCygAEwGn3i5lHNCAbgQipThXtiarxAgMEHA4T8B+cFLpJwRCsDFkKQM+OL2fI0AgSIBh38R7ELLppwPCsCN0KQM+cYWfZUAgYECDv+BmAsvlXI2KAA3Q5Qy6Jvb9HUCBG4KOPxvAgZ9PeVcUAAGhCpl2AO2agkCBC4IOPwvoAV/JeVMUAAGhSxl4IO2axkCBA4KOPwPQm30sZTzQAEYGLqUoQ/csqUIEPhBwOHfMx4pZ4ECMDifKYMfvG3LESDwScDh3zcSKeeAAlCQ0ZThF2zdkgQI/Pr1y+HfOwYpZ4ACUJTTlAAUbd+yBNoKOPzbjv7/G095/ysAhVlNCUEhgaUJtBJw+Lca97ebTXn3KwDFeU0JQjGD5QlsL+Dw337EhzeY8t5XAA6P9PoHU8JwfYe+SaC3gMO/9/w/7z7lna8ATMptSiAmcbgMgW0EHP7bjHLYRlLe9wrAsJG/XiglFK934hMECLwJOPzl4CuBlHe9AjA5vynBmMzicgTiBBz+cSObdsMp73kFYFok/r1QSjgeoHFJAhECDv+IMT12kynveAXgoYikBOQhHpclsKyAw3/Z0SxzYynvdwXgwcikhORBIpcmsJSAw3+pcSx7MynvdgXg4QilBOVhJpcn8LiAw//xEcTcQMp7XQFYIFIpYTlK5UV5VGrfz8n0vrO1s9cCKflXAF7PcsonUgJzBEMBOKK092fkee/52t3PAin5VwAWSnJKaF6RKQCvhPb/uyzvP2M7/F4gJf8KwGIpTgnOT2wKwGKheuB25PgBdJdcRiAl/wrAMpH590ZSwvMdnQKwYKgm35IMTwZ3uaUEUvKvACwVmz1KgAKwaKgm3lbKC/ArEvmdGJRNL5WSfwVg4QCmhOgzoRfowqGadGuyOwnaZZYUSMm/ArBkfLJ/CVAAFg/VhNtLeQF+pJDbCcFocomU/CsAAYFMCdM7pRdpQKiKb1Fmi4Etv7RASv4VgKVjlPlLgAIQEqrC20x5Ab4RyGthEJounZJ/BSAooCmh8kINClXRrcpqEaxlIwRS8q8ARMQp65cABSAsVAW3m/AClNOCwVvyb4GE/P99nynz8rDmlACzSnmq6u5z9RegjNbN3soKwPAMeGD/JF35BWtWw+Mft6B8xo3MDQ8UWDn/H7fpF4CBQ5+91KohUwBmJ2G968nmejNxR/MEVs3/ZwEFYF4mSq60YtAUgJJRRy0ql1HjcrODBVbM/1dbVAAGD/6J5VYLmwLwRArWuqZMrjUPdzNXYLX8f7d7BWBuLsqutlLgFICyMccsLI8xo3KjBQIr5f+n7SkABcN/aslVQqcAPJWAda4ri+vMwp3MF1gl/692rgC8Egr7+wrBUwDCQlNwu3JYgGrJGIEV8n8ESwE4ohT2mafDpwCEBabgdmWwANWSMQJP5/8olAJwVCrsc08GUAEIC0vB7cpfAaolYwSezP8ZJAXgjFbYZ58KoQIQFpSC25W9AlRLxgg8lf+zQArAWbGwzz8RRAUgLCQFtyt3BaiWjBF4Iv9XcBSAK2ph35kdRgUgLCAFtytzBaiWjBGYnf+rMArAVbmw780MpAIQFo6C25W3AlRLxgjMzP8dFAXgjl7Yd2eFUgEIC0bB7cpaAaolYwRm5f8uiAJwVzDs+zOCqQCEhaLgduWsANWSMQIz8j8CQwEYoRi2RnU4FYCwQBTcrowVoFoyRqA6/6MgFIBRkmHrVAZUAQgLQ8HtylcBqiVjBCrzPxJBARipGbZWVUgVgLAgFNyubBWgWjJGoCr/owEUgNGiYetVBFUBCAtBwe3KVQGqJWMEKvJfsXkFoEI1bM3RYVUAwgJQcLsyVYBqyRiB0fmv2rgCUCUbtu7IwCoAYcMvuF15KkC1ZIzAyPxXbloBqNQNW3tUaBWAsMEX3K4sFaAWLPk2J8/reNhR+R9/Z3+uqABUC4etPyK4XihhQy+4XTkqQC1Y8n1OntmxuCPyP/aOvl5NAZihHHaNu+H1MgkbeMHtylABasGSH+fkuR0HfDf/4+7k55UUgFnSYde5E2AvkrBhF9yu/BSgFiz5eU6e3THId/I/5g6OraIAHHNq+amrIfYSaRmXPzYtOxkZ+GpOnt/7s7ua//tXPreCAnDOq92nrwTZC6RdTP6zYbnJyMB3c/IM35vflfzfu+K1bysA19xafetsmL08WsXjy83KTEYGfpqT5/j6DM/m//qV7n1TAbjn1+bbZwLtxdEmFt9uVF4yMvBqTp7la3N85Xpt1fHfUgDGm2674tFQe2lsG4HDG5OVw1SPfvDInDzP50d0xPX8quO/oQCMN916xSPB9sLYOgKHNicnh5ge/9CROb3dpGf63KiOup5bdfynFYDxptuv+CrcXhbbR+DlBmXkJdESH3g1p4836bk+PrIzrsdXHf9JBWC8aYsV/R8PtRjz5U3Kx2W6qV88e1ApAcfGc9b12KrjP6UAjDdts6L/CVGbUZ/eqGycJnvkC1cOKiXg9aiuuL5edfwnFIDxpq1W/CroXhCtIvDlZuUiIwNXDyrP+M/zveo6OzUKwGzxDa/3OexeDhsO+eSWZOIk2EMfv3NQec6/H9od15lRUABmam98rY+B92LYeNAHtyYPB6Ee/tjdg8qz/vUA77rOioUCMEu6wXXeQ++l0GDYL7YoCxkZGHFQed7/O+sRrjMSpADMUG50jbfgeyE0Gvg3W5WDjAyMOqg883/Oe5RrdYoUgGph6xMgQGBRgZEHlRLw75BHulZGRwGo1LU2AQIEFhYYfVApAf8Me7RrVYQUgCpZ6xIgQGBxgYqDSglQAIbHXqiGk1qQAIHmAhUF4I20+/u6ynV0XP0CMFrUegQIEAgRqDyoOpeASteR0VIARmpaiwABAkEC1QdV1xJQ7ToqYgrAKEnrECBAIExgxkHVsQTMcB0RNQVghKI1CBAgECgw66DqVgJmud6NnAJwV9D3CRAgECow86DqVAJmut6JngJwR893CRAgECww+6DqUgJmu16NoAJwVc73CBAgEC7wxEHVoQQ84XoligrAFTXfIUCAwAYCTx1Uu5eAp1zPRlIBOCvm8wQIENhE4MmDaucS8KTrmWgqAGe0fJYAAQIbCTx9UO1aAp52PRpRBeColM8RIEBgM4EVDqodS8AKrkeiqgAcUfIZAgQIbCiwykG1WwlYxfVVZBWAV0L+ToAAgU0FVjqodioBK7n+FF0FYNMH27YIECDwSmC1g2qXErCa63c5UABePSH+ToAAgU0FVjyodigBK7p+FWEFYNMH27YIECDwSmDVgyq9BKzq+jkPCsCrJ8TfCRAgsKnAygdVcglY2fVjlBWATR9s2yJAgMArgdUPqtQSsLrrey4UgFdPiL8TIEBgU4GEgyqxBCS4vkVaAdj0wbYtAgQIvBJIOajSSkCKqwLw6gnxdwIECGwqkHJQvfEnlYAUVwVg0wfbtggQIPBKIOWget9HSglIcVUAXj0h/k6AAIFNBVIOqo/8CSUgxVUB2PTBti0CBAi8Ekg5qD7vY/USkOKqALx6QvydAAECmwqkHFRf8a9cAlJcFYBNH2zbIkCAwCuBlIPqu32sWgJSXBWAV0+IvxMgQGBTgZSD6if+FUtAiqsCsOmDbVsECBB4JZByUL3ax2olIMVVAXiVLH8nQIDApgIpB9UR/pVKQIqrAnAkWT5DgACBDQVSDqqj9KuUgBRXBeBosnyOAAECmwmkHFRn2FcoASmuCsCZZPksAQIENhJIOajOkj9dAlJcFYCzyfJ5AgQIbCKQclBd4X6yBKS4KgBXkuU7BAgQ2EAg5aC6Sv1UCUhxVQCuJsv3CBAgEC6QclDdYX6iBKS4KgB3kuW7BAgQCBZIOajuEs8uASmuCsDdZPk+AQIEQgVSDqoRvDNLQIqrAjAiWdYgQIBAoEDKQTWKdlYJSHFVAEYlyzoECBAIE0g5qEayzigBKa4KwMhkWYsAAQJBAikH1WjS6hKQ4qoAjE6W9QgQIBAikHJQVXBWloAUVwWgIlnWJECAQIBAykFVRVlVAlJcFYCqZFmXAAECiwukHFSVjBUlIMVVAahMlrUJECCwsEDKQVVNOLoEpLgqANXJsj4BAgQWFUg5qGbwjSwBKa4KwIxkuQYBAgQWFEg5qGbRjSoBKa4KwKxkuQ4BAgQWE0g5qGayjSgBKa7rKc+FAAAG40lEQVQKwMxkuRYBAgQWEkg5qGaT3S0BKa4KwOxkuR4BAgQWEUg5qJ7gulMCUlwVgCeS5ZoECBBYQCDloHqK6moJSHFVAJ5KlusSIEDgYYGUg+pJpislIMVVAXgyWa5NgACBBwVSDqoHif6+9NkSkOKqADydLNcnQIDAQwIpB9VDPH9c9kwJSHGNKQBXWtgKoXEPBAgQWFUg5aBaxe9oCUhxVQBWSZb7IECAwGSBlINqMsuPlztSAlJcFYCVkuVeCBAgMFEg5aCaSHLoUq9KQIqrAnBo3D5EgACB/QRSDqoV5X8qASmuCsCKyXJPBAgQmCCQclBNoLh0ie9KQIprVAF4m9Crn14uTdGXCBAg0Ewg5ZBafSxfnUkptgrA6ulyfwQIECgQSDmkCrY+fMnPJSDFVgEYHgULEiBAYG2BlANqbcU/7+5jCUjxjSsA/jNA0iPhXgkQWFEg5YBa0e6ne3ovASm+CkBawtwvAQIEbgikHE43tuirBwUiC4BfAQ5O18cIECDwSUABEIl3gdgCoAQIMQECBM4JOPzPee3+6egCoATsHk/7I0BglIDDf5TkPusoAPvM0k4IECDwpYDDXzC+EogvAO+b8v9BkIATIEDgvwIOf6n4TmCbAuA/Bwg5AQIE/hRw+EvETwJbFQAlQNgJECDwj4DDXxJeCWxXAPwngVcj93cCBHYWcPDvPN2xe9u2ACgCY4NiNQIE1hZw8K89nxXvbvsC8Bnd/7HgijF0TwQInBVw4J8V8/nPAu0KgAgQIECAAAECv34pAFJAgAABAgQaCigADYduywQIECBAQAGQAQIECBAg0FBAAWg4dFsmQIAAAQIKgAwQIECAAIGGAgpAw6HbMgECBAgQUABkgAABAgQINBRQABoO3ZYJECBAgIACIAMECBAgQKChgALQcOi2TIAAAQIEFAAZIECAAAECDQUUgIZDt2UCBAgQIKAAyAABAgQIEGgooAA0HLotEyBAgAABBUAGCBAgQIBAQwEFoOHQbZkAAQIECCgAMkCAAAECBBoKKAANh27LBAgQIEBAAZABAgQIECDQUEABaDh0WyZAgAABAgqADBAgQIAAgYYCCkDDodsyAQIECBBQAGSAAAECBAg0FFAAGg7dlgkQIECAgAIgAwQIECBAoKGAAtBw6LZMgAABAgQUABkgQIAAAQINBRSAhkO3ZQIECBAgoADIAAECBAgQaCigADQcui0TIECAAAEFQAYIECBAgEBDAQWg4dBtmQABAgQIKAAyQIAAAQIEGgooAA2HbssECBAgQEABkAECBAgQINBQQAFoOHRbJkCAAAECCoAMECBAgACBhgIKQMOh2zIBAgQIEFAAZIAAAQIECDQUUAAaDt2WCRAgQICAAiADBAgQIECgoYAC0HDotkyAAAECBBQAGSBAgAABAg0FFICGQ7dlAgQIECCgAMgAAQIECBBoKKAANBy6LRMgQIAAAQVABggQIECAQEMBBaDh0G2ZAAECBAgoADJAgAABAgQaCigADYduywQIECBAQAGQAQIECBAg0FBAAWg4dFsmQIAAAQIKgAwQIECAAIGGAgpAw6HbMgECBAgQUABkgAABAgQINBRQABoO3ZYJECBAgIACIAMECBAgQKChgALQcOi2TIAAAQIEFAAZIECAAAECDQUUgIZDt2UCBAgQIKAAyAABAgQIEGgooAA0HLotEyBAgAABBUAGCBAgQIBAQwEFoOHQbZkAAQIECCgAMkCAAAECBBoKKAANh27LBAgQIEBAAZABAgQIECDQUEABaDh0WyZAgAABAgqADBAgQIAAgYYCCkDDodsyAQIECBBQAGSAAAECBAg0FFAAGg7dlgkQIECAgAIgAwQIECBAoKGAAtBw6LZMgAABAgQUABkgQIAAAQINBRSAhkO3ZQIECBAgoADIAAECBAgQaCigADQcui0TIECAAAEFQAYIECBAgEBDAQWg4dBtmQABAgQIKAAyQIAAAQIEGgooAA2HbssECBAgQEABkAECBAgQINBQQAFoOHRbJkCAAAECCoAMECBAgACBhgIKQMOh2zIBAgQIEFAAZIAAAQIECDQUUAAaDt2WCRAgQICAAiADBAgQIECgoYAC0HDotkyAAAECBBQAGSBAgAABAg0FFICGQ7dlAgQIECCgAMgAAQIECBBoKKAANBy6LRMgQIAAAQVABggQIECAQEMBBaDh0G2ZAAECBAgoADJAgAABAgQaCigADYduywQIECBAQAGQAQIECBAg0FBAAWg4dFsmQIAAAQIKgAwQIECAAIGGAgpAw6HbMgECBAgQUABkgAABAgQINBRQABoO3ZYJECBAgIACIAMECBAgQKChwP8ALFI+poQkXqQAAAAASUVORK5CYII="},VIDEO_MUTE:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAA4CAYAAABE814IAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAARKADAAQAAAABAAAAOAAAAADfM+xLAAADxklEQVRoBe2aO2sUURiGd41BK4MKYqNioY02ilhJCkH8ATYKCjaxMN6w0RiTeEsKsYpgJ3Z2Igg2ihZamD8gEUEbCxtFCV7xsj7fsjOc/fbMzu3MeHZ3PniZObfvvOfZs7Mzk9RqVVQEKgIVAYcEGo3GOvQEvUFHHKbuzVRAOIPMON6bK3HkGhKjJo3W+cBDuVxBUTsMIAMJpa44tBUFChXTbZW12ni9Xr8V1NFnL+c7g7Lj4x/yvUWLcmTe347zp08Xt1NoX4UWUNHxiQnGUNcPMf0KM4zAxCXLasMLLW1lQREbj9FQhmW4HYIJG5TxYBbay4RyMpj3vx49gvIZLyNpYND/KHqJvqKHaEOa8WFfBkqilUEF577slNHAU7cjflegu0jHs27jItvIsogeId+gjEWabjXgeS16jqJiTVyOjnYyfWxl01BmLLOUeU253mHWqMDbFvTa4tGs2mYMSXbK6CUjQxYoL4zxLk/no1bAJHvQhwSTbY/KEVlPUhOIzOELFCsQ/B1CP8RognACRObxAUoHEHxNor9iMGE4AyLzaSjTFhP6muLy6xMCYd5hdNsyf1yVUyAyWRIoJ4LvI/3l5s0VFBPIYTGTITqALAvMZjzuY9wDjDR/knn4ukJ5RuW6SXsTCu1LtO1HC6pP3qKzW/m8QGQhvkDJC7U53gWQKCj6tUEZOyU3FFdAbFCuUtlzUFwC6QsoroH0PJQigERBmZIGI7y8phQFRNatf32uUec9lCKBpIHSfANW4H2KeEkURQMRE0l2yjw3b15AKQNIFJSL6iPzAkpZQGxQZqn0Eor6oNqLbGX9PoSqXKEfCOWRXUf4Vp2GqAdC8+FuN/3k5XHa6Hi4a1+9pcQMroGIaRdQQiBim5y70HtJniK8ASKeNZQLloV02yltQFpQNpFD/tSQNLwCIqbzQLlh2dCyU0aQ/MNPkvAOiJhOAuVUsHj6B9eUyaBOH+kjb9DuoLjIBORVXFYH7Vmg7NAgdBlfUzHetuoxsWUS3o9J6qo5FZRY460OmJPXiz8tJr9TN5w0T9iPQbOWZEVVaSgTlonCr09oMuaEHPJvYu9UromYYfZmkmxEX1SyIotFQZFrzzE0h+S9bvYgwVlUZhQCJTsBNRISQ0i277cSqfgNRRgBYzOSh7CnKO1dIUNSh4Zy3pIh9TVFfd7uiphbjuQ3v0i1/U8Zc9mgnHa3qh7MVEGxfGgRUMJnH8uQ/q8Cyjlkhtxsre7/lXdZIQBMKL8or+/SfTCagHAA3UMHB2PF1SorAhUBXwn8A+xdTzcs3gqYAAAAAElFTkSuQmCC"},VIDEO_UNMUTE:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAA4CAYAAABE814IAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAARKADAAQAAAABAAAAOAAAAADfM+xLAAACsklEQVRoBe2aQUtVQRTH30tLcVGQC3FR5iIy6ANEaG0UDNxXCyEFN+2EVhUt6iOE0NKF+g2Eggh1I4RL0zYVQQt3FaSIpc/fkZTXefe+N3PvfbxhPAf+zj0zc2bO/N7Mu+C8UsnMCBgBI2AEjIARMAJGIAgCZd8sKpXKOWKuouvoMjqDmmX7DPwFbUpZLpf/Nmsi73EFBHqCdlAr7AeTTiHvD9FnsU6Dk0QPgy6hAZ/Bm9T3HeOOsltk9xRurtt9hplDgCEAhtEjeWiJsTvGUGj2k4Qu+ACh/0P0EW2jRXTJJ/6kL4GvUIh2+yTJOg8k3oEWEhawkhTmcmRuJAUGUHetUQ5A6KaPfOc8SOg7RPtFXe8CRF6vIZq8+lONxUr7KhpM7VQq9eo2FyBdOigQvzMtD2AIBIFRFxrtNW9ZFyBp8wZZDww5HnJM5Lh4W1RAgPEUAvOow5vEv4D2rIEhxQHiLPm8RpN584plh9wrAobAjAVIW96dcRwfC5Dj9eQuDYhCaEAMiCKgXNshBkQRUK7tEAOiCCjXdogBUQSUazskUiBykbWj1pbJjWKHcEfzgdXfQVuZKFQFRQFE1gOUNYqbaEP8rBYNEAEAlG8Ut9B78bNYVEAEAFB+UYyiWeRtLkByn0vvrNwCUvMCyh80wTDPGwy1p9tdgOQ6k3rCAv2GeQHlJfONo5qFU7eLvqL/LGogslKgzFGMoO/iV9kL2UlV/tFjzUWN7sB/tPupW0chXVi9YTF3da71fNZxnvb76ApaJv4tZTZjsMcoFPtNIn3ZVlJQFAm0oWeoVb8eYuoj2+Sv061/1qU3PDLVA5OMHJ9pJL8IGEA1l8XUFWlyxj+jT2gFzbDVk74gaSrGvIDoKQEkN3+5xtBjKn8fAAeqzlwjYASMgBEwAkbACBiB00DgEI6tZSPk7kDyAAAAAElFTkSuQmCC"},VIDEO_MUTE_COLORED:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAABpklEQVRIieWPz0tUURxHz+f61HTRuFAMijaV5CJKZiZ7hSK0alv5DwjRMqhtSfvWrWrTKtoEurBoV0SRORshaJpK0E3QD42xmdd7cr8tGpwhGx3puajO8t7vPed74Z+gmB2+UsyHp3fC7QBM9JvZdOn4yTDtgAAM9CZ34hZwHuO2wceWtpMWtdJz/9DbB9+bzQS1ihWlu2Y2IXHZoeRnd3MMLzJfBoHJxvOFsbFdUaWy/0N39/tg/dT7vHOKzOgyrKOVH4BANtIoTsrRhXi1OulwvXvL0aWgcXzLlZtQOnim0zLLF+PV6jWk3aCOmm8o2OpxK/ie5TsGZ4Xaf71zaQQkjgg2yFMLbMbfETAU72zA/HWwFcGGUCqBw3MvpqK4ug90tR4yQ4rrAVGWSdtTmwn3FeDo/Py3gbnnN+ohN2Pe31wXloZG+nyw9gizY637+STnzg28fPak2cg2N655x8fbigtL9wTDgQWnDhSeLqYaAFgKw65K4h9i6vVtfnRwdvZzqgGAd9lsZo32xziqZZ+M5gqF5E98v+VVPr/ndS6cSF38//ADKjaadmRjUlEAAAAASUVORK5CYII="},VIDEO_UNMUTE_COLORED:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAABJElEQVRIie2SvUrDUBiGny9NQoVYfxZBCOiWeAdeg7uC1cFZxMGfLuLmDejgIrg5ZHEUr0JBikPxDip0Mz0H8zkEXGJaYiui9JkOfN95n5fDgQn/HqGdBNTsMZotVLspPTK5YqXZGbTm5uHaAvErCRSL6AawVJi9JDOkaYTfe3RRDYFq4TkesFgINmYfY45wnAA733K/EVyknQSI3cWYE/KyeWEhHl3wcD2LYzpAgy9ewhlZMOWvlYWPR5DhIGRl49EFQ/gTglcU7+cE8eYdIntAFzDjF4goUfOSug2BQ6CLqgUU6DtAH7T0FwzBfp6Wd1LirQvqNkTkALgl41x4vlmF93uQ6YrhGaJnRNung5YEAE1qPNlGpfg5LyVcf6tYasIv8AHJDlIAEo1/qAAAAABJRU5ErkJggg=="},MENU:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAABmJLR0QA/wD/AP+gvaeTAAADB0lEQVR4nO3bP09TYRTH8d9pbxls0ztcikEwwYQB34kSInEyDL4AMc4uJsbRt0DiiLM2legrYVIHUdS2SS8EB3p7j4smDCZQ7vPIr8nvs0JPnuTk6T/4AiIiIiISnl31AS5jOBwue5JsumPDgBUAN//86IsDn83Qs6LoZll2cJXnvIyZWsjh8XGnUZTPYNgGkJzz6yUcuz6XPO00m4f/43whzMxC+kdHG1b6LoD2lA89Kg1bC2m6F+NcodWu+gAXMcjzbSv9DaZfBgC0a47uYDR6FPpcMdDfkGGe33FHD0C94qjSa7bZabd7Ic4VC/VC+v2TG9Yo9nG5m/EveZnU1xZare+B5gXH/ZTVGL9AuGUAQForJs8DzguO9oYMh8Nlryefcf67qWkVKBor8/PXvgaeGwTtDfEkuY/wywCABI3xZoS5QfAuxHE31mwrsR5rdlW0CzFgNdZst3izq6JdCIDFiLOXIs6uhHkhHnF2GXF2JcwL+RZxNuU7LIB4IQZ8jDbcI86uiHYhboj2ZaCbv4s1uyrahVhRvAVQRBhdYNzoRpgbBO1Csiw7MNirCKN3Op1mzNenSmi/OgGA/snJoo2LfQBpoJGjSVJfu95q/Qg0LzjaGwIAnWbz0AwPAEwCjCu9Zg+ZlwGQLwQAsjT9APgTVFvKxOGP2f8WApA/ZZ31M8/Xa47XmP7pa2SGrSxN38c4V2j0N+SvhTTdm6vZKmAvAZxe4CGFwXbKpH57VpYBzNANOWsw+LWE5PSewTYcuIUz/wZkjk+leQ/jRpf53ZSIiIiIiAiLmfxgqD6EhPoQIupDiKgPIaI+hIj6EDbqQ3ioDyGjPoSM+hAy6kP4qA8hoz6EjPoQJupDyKgPIaM+hIz6EELqQ8ioDyGkPoSU+hAy6kOIqQ8REREREREJZyY/GKoPIaE+hIj6ECLqQ4ioDyGiPoSN+hAe6kPIqA8hoz6EjPoQPupDyKgPIaM+hIn6EDLqQ8ioDyGjPoSQ+hAy6kMIqQ8hpT6EjPoQYupDRERERGQ6vwEgnckhwXx03wAAAABJRU5ErkJggg=="},ZOOM_IN:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABmJLR0QA/wD/AP+gvaeTAAADjElEQVR4nO2cvW7UQBSFj6looggeJSmCaKgQQql4mtBly7wRQQiJlobn4EdESZVAcyh2jW6SnfXYvnNnnJyvXvueOV8cx2vHgBBCCCGEEEIIIYQQCViW04D8JyUXUDp/SQHFyzdrKCYhInwJwso36ygiISK4N+Hlm7W4S4gI7Um18s16XCVEBPaievk9dJQQEdaDZsrvoZOEiKBzaa78HjpIiAj5IMvvmSth7LwnJRaR4AbAeeC8qXzBOmubzDwCLkm+qL2GFCQPSV5EHgFTQs6lSQke5ZNt/wrq2Qdw3pIEkocAPgF4Fj27hgCgIQk1ywfKCfiT8ZlewlGhDINsZn9GXvk5axpNCQErAC8BXGR8dh/AxxpHwuYn/8MmwxBXAF4BeF80VA4D56BT87kDkr8zz12hJ2aOO+Fe2qOUA9cJEeFT3LvIYoMSOKN8s4+khNL5UwKSV7gtSfAo3+xrq4RS2e3g7PLNNtUleJZv9nlPgnfubUNHlW+2qyahRPlm37ckeGXeNXB0+WbbcAklyzcz/kuYmzdn2KTyzfZhEiLKN7NOogSsHPZxtFlwDr9I7k2YsbfZtnj5ZubsbsJg3pHwl+S7GTOOSd5ElL9IBiTMKt/M2CXh8Zbfk5DgUr6ZsU2Cyu+5I8G1fDPDSlD5d9lI+F6ifDPjmOQPlZ+AE/7aaXGGEEIIIYQQQgghhBDNoy/jKsL1DfSIr6N/soGnspuCt59eiLohIwlA8tGRqFuSj1tConxXCYnyJWGgfBcJA+UvUwL1YNaumeUfzNoEPpuxfeTjgpGPQa7I2IdzR0uILN/MLC6hLz9awCgJNco3s4tJsOXXEJAloWb5JoO7hLvl1xKwU0IL5ZssbhK2lV9TwFYJLZVvMs2WkCq/tgDSSGCD5ZtskyVwR/lkfQEkecaGyzfrGC2BA+WTbQggh68+7cKqvqqA+ReEWWsam6GbENrL8hWAN13XfXXa3yRIHmD9so7nHvvrum5Up7XeltJE+QDQdd03AK+R926L+mQerrto8p8jOO6ckCQi6IMrv8dDQkTIqVy3XH4P1yfm6ygBkeeApwCK3e915C3WWdtkxhHQM/mr7NIw4+987yNgSkgPmpNAh/LJ5QggG5JAp/LJZQkgG5BAx/LJ5QkgK0qgc/nkMgWQFSSwQPnkcgWQgRJYqHxy2QLIAAksWD4ZIEAIIYQQQgghhBBCLJZ/JA5dNdHn/r4AAAAASUVORK5CYII="},ZOOM_OUT:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABmJLR0QA/wD/AP+gvaeTAAADkklEQVR4nO2dsXLTQBCGV1TpEsKbkCIMDRXDUPI0oUvKvBFhgAwtFPAkZJIqpvoo5GMOY0sr6/ZOd96vPt2u/s+yYsd3EnEcx3Ecx3Ecx3Ecx3EcJcAJ8Bl4UbqXXABnwC3wrHQjJ8B3eu4PQcI6/Lv1Of8sJmEjfA5Bwkb4FJOwI/ymJewIP7+EkfCblDASfl4J9DcfDffAuXlDxgDn63PRcJujoefArwkSqr0S0L3y87/gDkHCYsOPGswuAbhSjLlOUGfZ4UeNZpMAXAEoxjFHQjXhRw2bSwjhTxCwl4Tqwg9YSojDnyhgkoRqww9YSNgMfw8BKgnVhx9IKWFb+HsKGJTQTPiBFBJ2hT9DwFYJzYUfmCNhKHyYJQAiCbQafoA9JDASPswWAHBN6+EHmPY9ykozSFEzWS0yhN9ZTi7SXwki8klETlPM13XdYM8aSUoeRORN13XfEs23lSeWk4uIdF33Q0Rei8idda2EZAk/K0y7J+xEUWcu9b7nj0ECCYoaHv4Q9DfmxwUKeCwRvvk9YAtvReSoQN0xjkTkXekmTEHxd37BKyAw+/8JiyRF+JBFALQmgUThQzYB0IoEEoYPWQVA7RJIHD5kFwC1SsAgfCgiAGqTgFH4UEwA1CIBw/ChqACoRYLjOI7jOI7jOIcFcGH5SUhR35LLHBnOBkMJitpW1BF+ACMJiroW1BV+AAMJipqpqTP8AIklKOqlpO7wAySUoKiVijbCD5BIgqJOCtoKP0ACCYoaHv4QcyUo5q8q/BK/jPsqIqsCdcdYichN6SZMYdrKlBJXQJXbKqhIEX4GAZBZQpa3IOBM+lUyT3PUm8mxiNzkkmAuoLLwA9kkmAqg/739F9GF/9uylz1qBQmmawbMBKxf+R+kP5ExHkTklYi8t+on4kpEXopuzdqxiHzMeU9IAjPW4TLyOUFRe4jLaFybm06RYBE0AxIU9UfDj8a2JSFF+NFcWyUoelCFH41vQ0LK8KM5/5OgOEYdfnRM3RIswo/m/keCYvyk8KPj6pRgGX5U468ExdjJ4UfH1iUhR/hRrYsJAvb+VrMaCUzbCSXJCnR021aOjlHMkf3cpjbY/H47LPVKOITwA4uUgG/ePUSWzbu129dXH34A3ZWwmGcINBV+YETCYp6i0WT4gR0SFvMcmabDD2xIKBd+1NAp/Y25+fAD9DfmWyDJRoSO4ziO4ziO4ziO4zjOYfAHO7OVVfpcX1oAAAAASUVORK5CYII="}},Q=o.StyleSheet.create({user_list_container:{position:"absolute",top:Ae,bottom:Ae,width:"100%",backgroundColor:_t.blackLightXX,elevation:10,zIndex:10},flat_list_style:{},users_icons_container:{marginLeft:10},user_list_close_container:{padding:10,borderRadius:20,margin:5,alignSelf:"center"},user_item_container:{position:"relative",elevation:0,zIndex:0},close_icon:{width:25,height:20,tintColor:_t.whiteAlmost},menu_container:{backgroundColor:"#111",alignSelf:"flex-end",marginBottom:5,borderRadius:5,width:90,paddingHorizontal:10,paddingVertical:5,position:"absolute",right:15,elevation:19,zIndex:1},menu_list:{flexDirection:"row",alignItems:"center"},menu_icon:{width:18,height:18,marginRight:5},menu_text:{fontSize:16,color:"#fff",padding:5},user_item_pinned:{padding:15,fontSize:18,flexDirection:"row",justifyContent:"flex-start",alignItems:"center",zIndex:1,borderBottomWidth:o.StyleSheet.hairlineWidth,borderBottomColor:_t.palette.offWhite},user_item_user_name:{fontSize:18,color:_t.palette.white,marginStart:10,width:"60%"},user_item_icon_container:{flexDirection:"row",justifyContent:"flex-start",alignItems:"center",position:"absolute",right:10},user_item_icons:{width:20,height:20},recorderBadge:{height:12,width:12,borderRadius:20,backgroundColor:_t.redLightX},recorderBadgeText:{fontSize:12,color:_t.palette.white},lt_small_button:{width:10,height:10,marginHorizontal:8,borderRadius:20,alignItems:"center",justifyContent:"center"},lt_small_button_red:{width:35,height:35,margin:5,backgroundColor:_t.redLight,borderRadius:20,alignItems:"center",justifyContent:"center"},lt_small_button_blue:{width:35,height:35,margin:5,backgroundColor:_t.blueLight,borderRadius:20,alignItems:"center",justifyContent:"center"}}),ie=u().memo(({connectionQuality:V})=>{const ee=V<25?k.NETWORK1:V<50?k.NETWORK2:V<75?k.NETWORK3:k.NETWORK4;return u().createElement(o.Image,{resizeMode:"contain",source:ee,style:[{height:20,width:20}]})},(V,ee)=>Math.ceil(V.connectionQuality/25)===Math.ceil(ee.connectionQuality/25));let ce=null;const Pe=u().memo(({pinnedUserId:V,itemsRef:ee,isMenuVisible:C,setIsMenuVisible:B,recorderId:J,isAudioOnly:W,selectedIndexRef:de,topRef:ue,dispatch:ke,headerRef:rt,refresh:ut,users:Rt,screenOffsetRef:ht})=>u().createElement(o.FlatList,{style:Q.flat_list_style,data:Rt,keyExtractor:yt=>yt.id,renderItem:yt=>{if(yt){const Ut=yt.item,Nt=yt.index;let ot,pn=Ut.name;return Nt==0&&(pn+=" (you)"),ot=Ut.id===V,u().createElement(u().Fragment,null,u().createElement(o.TouchableOpacity,{onPress:()=>{B(!1)},activeOpacity:1,style:Q.user_item_container},u().createElement(o.View,{style:Q.user_item_pinned},u().createElement(o.View,null,Ut.id===J&&u().createElement(o.View,{style:Q.recorderBadge})),u().createElement(o.Text,{testID:`cc-user${Nt}-name`,style:Q.user_item_user_name},pn),u().createElement(o.View,{style:Q.user_item_icon_container},u().createElement(o.View,{style:[Q.users_icons_container,{flexDirection:"row",alignItems:"center"}]},__nested_webpack_require_965807__.g.ccUsersStats[Ut.id]&&u().createElement(ie,{connectionQuality:__nested_webpack_require_965807__.g.ccUsersStats[Ut.id]})),u().createElement(o.View,{testID:`cc-user${Nt}-audio-icon`,style:Q.users_icons_container},u().createElement(o.Image,{style:[Q.user_item_icons,{tintColor:Ut.isAudioMuted?_t.red:_t.green}],source:Ut.isAudioMuted?k.AUDIO_MUTE:k.AUDIO_UNMUTE})),W?null:u().createElement(o.View,{testID:`cc-user${Nt}-video-icon`,style:Q.users_icons_container},u().createElement(o.Image,{style:[Q.user_item_icons,{tintColor:Ut.isVideoMuted?_t.red:_t.green}],source:Ut.isVideoMuted?k.VIDEO_MUTE:k.VIDEO_UNMUTE})),Ut.status==="interrupted"?u().createElement(o.View,{style:Q.users_icons_container},u().createElement(o.Image,{style:Q.user_item_icons,source:k.ALERT})):null,ot?u().createElement(o.View,{testID:`cc-user${Nt}-pin-icon`,style:Q.users_icons_container},u().createElement(o.Image,{style:Q.user_item_icons,source:k.PIN})):null,u().createElement(o.TouchableOpacity,{testID:`cc-user${Nt}-opt`,style:Q.users_icons_container,onPress:St=>{var $n;const Tt=St.nativeEvent.pageY,sn=St.nativeEvent.locationY;($n=ee.current)==null||$n.measure((gn,wi,Vn,An,Zn,wn)=>{ue.current=Tt+sn-wn,de.current=Nt,B(Nn=>!Nn)})}},u().createElement(o.Image,{source:k.MENU,style:[{height:20,width:20}]}))))))}},onScroll:()=>{if(C){const yt=o.LayoutAnimation.create(300,o.LayoutAnimation.Types.easeOut,o.LayoutAnimation.Properties.scaleXY);o.LayoutAnimation.configureNext(yt),B(!1)}},ListHeaderComponent:()=>u().createElement(o.View,{style:Q.user_item_pinned,ref:rt,onLayout:()=>{var yt;(yt=rt.current)==null||yt.measure((Ut,Nt,ot,pn,St,Tt)=>{ht.current=Tt})}},u().createElement(o.TouchableOpacity,{testID:"cc-user-list-close",touchSoundDisabled:!0,style:Q.user_list_close_container,onPress:()=>{o.LayoutAnimation.configureNext({duration:100,create:{type:"linear",property:"scaleY"},update:{type:"linear",property:"scaleY"},delete:{type:"linear",property:"opacity"}}),ke({type:Xe,payload:!1}),B(!1)}},u().createElement(o.Image,{style:Q.close_icon,source:k.CLEAR})),u().createElement(o.Text,{style:{fontSize:22,fontWeight:"700",color:"#fff"}},"User List")),ListFooterComponent:()=>u().createElement(o.TouchableOpacity,{activeOpacity:1,onPress:()=>{C&&B(!1)},style:{height:80}})}),(V,ee)=>V.refresh==ee.refresh),je=u().memo(function(){var St,Tt,sn,$n;const{globalState:V,settings:ee,jitsiManager:C,users:B,dispatch:J}=qt(),[W,de]=(0,E.useState)(!0),[ue,ke]=(0,E.useState)(!1),rt=(0,E.useRef)(0),ut=(0,E.useRef)(0),Rt=(0,E.useRef)(null),ht=(0,E.useRef)(0),yt=(0,E.useRef)(null),Ut=V.pinnedUserId,Nt=V.recordId,ot=(0,E.useCallback)(()=>{J({type:O,payload:""})},[]),pn=(0,E.useCallback)(gn=>{J({type:O,payload:gn.id})},[]);return(0,E.useEffect)(()=>{ce&&clearTimeout(ce),ce=setTimeout(()=>{de(gn=>!gn)},500)},[B,Ut,Nt,ue]),V.isParticipantsModelVisible?u().createElement(o.View,{style:Q.user_list_container,ref:gn=>{yt.current=gn}},u().createElement(u().Fragment,null,u().createElement(Pe,{pinnedUserId:Ut,itemsRef:yt,isMenuVisible:ue,setIsMenuVisible:ke,recorderId:Nt,isAudioOnly:ee.isAudioOnly,selectedIndexRef:ht,topRef:rt,dispatch:J,headerRef:Rt,refresh:W,users:B,screenOffsetRef:ut}),ue&&u().createElement(o.View,{style:[Q.menu_container,{top:rt.current}]},u().createElement(o.TouchableOpacity,{testID:"cc-user-pin",onPress:()=>{var gn;((gn=B[ht.current])==null?void 0:gn.id)===Ut?ot():pn(B[ht.current]),ke(!1)},style:Q.menu_list},u().createElement(o.Image,{style:Q.menu_icon,source:k.PIN}),u().createElement(o.Text,{style:Q.menu_text},((St=B[ht.current])==null?void 0:St.id)===Ut?"Unpin":"Pin")),(Tt=B[ht.current])!=null&&Tt.isAudioMuted||((sn=B[ht.current])==null?void 0:sn.id)===(($n=B[0])==null?void 0:$n.id)?null:u().createElement(o.TouchableOpacity,{testID:"cc-user-mute",onPress:()=>{C.current.muteParticipant(B[ht.current]),ke(!1)},style:Q.menu_list},u().createElement(o.Image,{style:Q.menu_icon,source:k.AUDIO_MUTE}),u().createElement(o.Text,{style:Q.menu_text},"Mute"))))):null}),lt=()=>u().createElement(o.View,{style:gt.container},u().createElement(o.View,{style:gt.dot}),u().createElement(o.Text,{style:gt.text},"REC")),gt=o.StyleSheet.create({text:{fontSize:12,fontWeight:"800",color:_t.blackLightXX},container:{backgroundColor:"white",borderRadius:5,position:"absolute",alignItems:"center",top:10,left:10,padding:5,flexDirection:"row",borderWidth:1,borderColor:_t.palette.black},dot:{backgroundColor:"red",height:10,width:10,borderRadius:10,marginRight:5}}),pt=o.StyleSheet.create({buttonIcon:{width:25,height:25},buttonContainer:{width:58,height:58,margin:1,backgroundColor:_t.blackLightXXX,borderRadius:30,alignItems:"center",justifyContent:"center"},touchableContainerPortrait:{width:"100%",alignItems:"center",flexDirection:"column"},touchableContainerLandScape:{width:"100%",alignItems:"center",flexDirection:"row"},bottomButtonContainerPortrait:{position:"absolute",bottom:0,left:0,right:0,backgroundColor:_t.blackLight,width:"100%",borderTopEndRadius:20,borderTopStartRadius:20,justifyContent:"flex-start",alignItems:"center"},bottomButtonContainerLandscape:{position:"absolute",bottom:0,right:0,top:0,backgroundColor:_t.blackLight,flexDirection:"row",alignItems:"center",borderTopStartRadius:20,borderBottomStartRadius:20},bottomButtonArrow:{alignSelf:"center",height:40,width:60,opacity:.9},bottomArrowContainerPortrait:{height:22,width:70},bottomArrowContainerLandScape:{width:32},bottomButtonPlaceHolderPortrait:{height:102},bottomButtonPlaceHolderLandscape:{width:102},userListHeaderContainer:{marginTop:10,alignSelf:"flex-start"},userListHeader:{margin:10,fontSize:18,fontWeight:"bold",color:_t.palette.white},buttonListContainerPortrait:{},buttonListContainerLandscape:{},buttonListPortrait:{alignItems:"center"},buttonListLandscape:{height:"100%",flexWrap:"wrap",justifyContent:"center"},buttonWrapperPortrait:{marginTop:10},buttonWrapperLandscape:{marginRight:10}});class xe{static e(ee,C,B={}){}static d(ee,C,B={}){}}const Dt="AudioButton";function oi(){const{users:V,jitsiManager:ee}=qt(),C=(0,E.useRef)(0);return u().createElement(o.TouchableOpacity,{testID:"cc-audio",style:pt.buttonContainer,touchSoundDisabled:!0,onPress:()=>{try{new Date().getTime()-C.current>300&&(xe.d(Dt,"[onButtonPress]"),ee.current.toggleAudioButton(),C.current=new Date().getTime())}catch(B){xe.d(Dt,"[onButtonPress]",B)}V[0].audioTrack}},u().createElement(o.Image,{style:pt.buttonIcon,source:V[0].isAudioMuted?k.AUDIO_MUTE:k.AUDIO_UNMUTE}))}const Kn="AudioModeButton";function li(){const{globalState:V,dispatch:ee}=qt();return u().createElement(o.TouchableOpacity,{testID:"cc-audio-mode",onPress:()=>{try{ee({type:Le,payload:!0}),xe.d(Kn,"[onButtonPress]")}catch(C){xe.d(Kn,"[onButtonPress]",C)}},style:pt.buttonContainer},u().createElement(o.Image,{style:pt.buttonIcon,source:(()=>{switch(V.selectedAudioMode){case _e.SPEAKER:return k.AUDIO_MODE_SPEAKER;case _e.BLUETOOTH:return k.AUDIO_MODE_BLUETOOTH;case _e.EARPIECE:return k.AUDIO_MODE_EARPIECE;case _e.HEADPHONES:return k.AUDIO_MODE_HEADPHONE;default:return k.AUDIO_MODE_SPEAKER}})()}))}const hn=new Proxy({mode:"DEFAULT",isPresenter:!1},{get:(V,ee,C)=>ee==="isPresenter"?V.mode===Z?!!V.isPresenter:void 0:Reflect.get(V,ee,C)}),At="EndCallButton";function en(){const{jitsiManager:V,globalRef:ee,nativeManager:C,dispatch:B,users:J}=qt();return u().createElement(o.TouchableOpacity,{testID:"cc-end-call",onPress:()=>{var W;if(hn.isPresenter===!0&&J.length>1)B({type:Ze,payload:!0});else{try{xe.d(At,"[onHangUpCalled]"),ee.current.callEnded=!0,(W=C.current)!=null&&W.onCallEndButtonPressed&&C.current.onCallEndButtonPressed()}catch(de){xe.d(At,"[onHangUpCalled]",de)}try{V.current.leave()}catch(de){xe.d(At,"[onHangUpCalled]",de)}}},style:[pt.buttonContainer,{backgroundColor:_t.redLight}]},u().createElement(o.Image,{style:pt.buttonIcon,source:k.END_CALL}))}const Pn="RecordingButton";function yi(){const{globalState:V,jitsiManager:ee}=qt();return u().createElement(o.TouchableOpacity,{testID:"cc-rec",style:pt.buttonContainer,touchSoundDisabled:!0,onPress:()=>{try{xe.d(Pn,"[onButtonPress]"),V.isRecording?ee.current.stopRecording():ee.current.startRecording()}catch(C){xe.d(Pn,"[onButtonPress]",C)}}},u().createElement(o.View,{style:{width:He,height:He,backgroundColor:_t.palette.red,borderRadius:V.isRecording?0:He}}))}const jn="SwitchCameraButton";function Ei(){const{jitsiManager:V}=qt();return u().createElement(o.TouchableOpacity,{testID:"cc-switch-camera",style:pt.buttonContainer,touchSoundDisabled:!0,onPress:()=>{try{xe.d(jn,"[onButtonPress]"),xe.d(jn,"[onButtonPress]"),V.current.flipCamera()}catch(ee){xe.d(jn,"[onButtonPress]",ee)}}},u().createElement(o.Image,{style:pt.buttonIcon,source:k.SWITCH_CAMERA}))}const ii="SwitchToVideoCallButton";function Bi(){const{jitsiManager:V}=qt();return u().createElement(o.TouchableOpacity,{testID:"cc-switch-video",onPress:()=>{try{xe.d(ii,"[onButtonPressed]"),V.current.requestingToSwitchToVideoCall()}catch(ee){xe.d(ii,"[onButtonPressed]",ee)}},style:[pt.buttonContainer]},u().createElement(o.Image,{style:pt.buttonIcon,source:k.SWITCH_TO_VIDEO_CALL}))}const Di="VideoButton";function ai(){const{users:V,jitsiManager:ee}=qt();return u().createElement(o.TouchableOpacity,{testID:"cc-video",style:pt.buttonContainer,touchSoundDisabled:!0,onPress:()=>{try{xe.d(Di,"[onButtonPress]"),ee.current.toggleVideoButton()}catch(C){xe.d(Di,"[onButtonPress]",C)}}},u().createElement(o.Image,{style:pt.buttonIcon,source:V[0].isVideoMuted?k.VIDEO_MUTE:k.VIDEO_UNMUTE}))}const ri=102,Li=4;function ti(){const{globalState:V,settings:ee,users:C}=qt(),B=V.isPortrait?V.dimension.height:V.dimension.width;if(V.inPIPMode||ee.enableDefaultLayout===!1)return null;const J=(0,E.useMemo)(()=>(Math.min(V.dimension.height,V.dimension.width)-240)/(2*(Li+3)),[V.dimension.width]);(0,E.useEffect)(()=>{W.setValue({x:0,y:0}),de.setValue(B-ri)},[V.isPortrait,B]);const W=(0,E.useRef)(new o.Animated.ValueXY({x:0,y:0})).current,de=(0,E.useRef)(new o.Animated.Value(B-ri)).current,ue=(0,E.useCallback)((ut,Rt)=>{const ht=V.isPortrait?Rt.dy:Rt.dx;o.LayoutAnimation.configureNext({duration:300,create:{type:"linear",property:"opacity"},update:{type:"spring",springDamping:.4},delete:{type:"linear",property:"opacity"}}),W.setValue({x:0,y:0}),ht>0?de.setValue(B-ri):de.setValue(B-ri-70)},[V.isPortrait,W,B]),ke=o.PanResponder.create({onStartShouldSetPanResponder:(ut,Rt)=>!(Rt.dx===0&&Rt.dy===0),onPanResponderMove:()=>o.Animated.event([null,{[V.isPortrait?"dy":"dx"]:W.y}],{useNativeDriver:!1}),onMoveShouldSetPanResponder:(ut,Rt)=>{const{dx:ht,dy:yt}=Rt;return ht>5||ht<-5||yt>5||yt<-5},onPanResponderRelease:ue});if(V.inPIPMode)return null;const rt=o.Animated.add(de,W.y).interpolate({inputRange:[B-ri-70,B-ri],outputRange:V.isPortrait?["0deg","180deg"]:["180deg","0deg"],extrapolate:"clamp"});return u().createElement(u().Fragment,null,u().createElement(o.View,{style:V.isPortrait?pt.bottomButtonPlaceHolderPortrait:pt.bottomButtonPlaceHolderLandscape}),u().createElement(o.Animated.View,dn(Ft({},ke.panHandlers),{style:V.isPortrait?[pt.bottomButtonContainerPortrait,{top:o.Animated.add(de,W.y.interpolate({inputRange:[-1e3,0,1e3],outputRange:[-1e3,0,1e3],extrapolate:"clamp"}))}]:[pt.bottomButtonContainerLandscape,{left:o.Animated.add(de,W.y.interpolate({inputRange:[-1e3,0,1e3],outputRange:[-1e3,0,1e3],extrapolate:"clamp"}))}]}),u().createElement(o.TouchableWithoutFeedback,null,u().createElement(o.View,{style:V.isPortrait?pt.touchableContainerPortrait:pt.touchableContainerLandScape},u().createElement(o.View,{style:V.isPortrait?pt.bottomArrowContainerPortrait:pt.bottomArrowContainerLandScape},u().createElement(o.Animated.Image,{style:[pt.bottomButtonArrow,{transform:[V.isPortrait?{rotateX:rt}:{rotateY:rt},{rotate:V.isPortrait?"0deg":"90deg"}]}],resizeMode:"stretch",source:k.ARROW})),(()=>{const ut=[],Rt=ee.hideEndCallButton?null:u().createElement(en,null),ht=!V.conferenceJoined||ee.hidePauseVideoButton||ee.isAudioOnly?null:u().createElement(ai,null),yt=!V.conferenceJoined||ee.hideAudioMuteButton?null:u().createElement(oi,null),Ut=!V.conferenceJoined||ee.hideVideoSwitchButton||ee.isAudioOnly?null:u().createElement(Ei,null),Nt=!V.conferenceJoined||ee.hideAudioModeButton?null:u().createElement(li,null),ot=V.conferenceJoined&&ee.showRecordingButton?u().createElement(yi,null):null,pn=V.conferenceJoined&&ee.showSwitchToVideoCallButton&&ee.isAudioOnly&&C.length-(V.noOfScreenShareUser||0)==2?u().createElement(Bi,null):null;return Rt&&ut.push(Rt),Nt&&ut.push(Nt),hn.isPresenter!==!1&&(pn&&ut.push(pn),ht&&ut.push(ht),yt&&ut.push(yt),Ut&&ut.push(Ut),ot&&ut.push(ot)),u().createElement(o.View,{style:V.isPortrait?pt.buttonListContainerPortrait:pt.buttonListContainerLandscape},u().createElement(o.FlatList,{key:V.isPortrait.toString(),scrollEnabled:!1,contentContainerStyle:V.isPortrait?pt.buttonListPortrait:pt.buttonListLandscape,showsVerticalScrollIndicator:!1,numColumns:V.isPortrait?Li:1,data:ut,renderItem:({item:St})=>u().createElement(o.View,{style:V.isPortrait?[pt.buttonWrapperPortrait,{marginHorizontal:J}]:[pt.buttonWrapperLandscape,{marginVertical:J}]},St)}))})()))))}class Yn extends u().Component{constructor(C){super(C);wt(this,"fadeInAnimation",()=>{o.Animated.timing(this.state.fadeAnim,{toValue:0,duration:0,useNativeDriver:!0}).start(()=>{o.Animated.timing(this.state.fadeAnim,{toValue:1,duration:this.props.duration,delay:10,useNativeDriver:!0}).start()})});this.state={activeIndex:-1,fadeAnim:new o.Animated.Value(0),animations:[]},this.animations=[{name:"zoomIn",animation:{scale:this.state.fadeAnim.interpolate({inputRange:[0,1],outputRange:[0,1]})}},{name:"pulse",animation:{scale:this.state.fadeAnim.interpolate({inputRange:[0,.4,.7,1],outputRange:[.7,1,1.3,1]})}},{name:"shake",animation:{scale:this.state.fadeAnim.interpolate({inputRange:[0,.2,.4,.6,.8,1],outputRange:[.8,1.2,.8,1.2,.8,1]})}},{name:"rotate",animation:{rotate:this.state.fadeAnim.interpolate({inputRange:[0,1],outputRange:["0deg","360deg"]})}}],this._changeRadio=this._changeRadio.bind(this),this._checkAnimatons=this._checkAnimatons.bind(this)}componentDidMount(){this._checkAnimatons(),this.fadeInAnimation()}componentDidUpdate(C){if(this.state.activeIndex===-1&&this.props.initial>0){const B=this.props.initial-1;this._changeRadio(this.props.data[B],B)}if(this.props.initial!==C.initial){const B=this.props.initial-1;this._changeRadio(this.props.data[B],B)}this.props.animationTypes!==C.animationTypes&&this._checkAnimatons()}_checkAnimatons(){const{animationTypes:C}=this.props;this.setState({animations:[]});const B=[];C&&C.map(J=>{const W=this.animations.find(de=>de.name===J);W&&B.push(W.animation)}),this.setState({animations:B})}_changeRadio(C,B){this.setState({activeIndex:B}),B!==this.state.activeIndex&&this.fadeInAnimation(),this.props.selectedBtn(C)}render(){const{boxStyle:C,style:B,textStyle:J,data:W,activeColor:de,deactiveColor:ue,boxActiveBgColor:ke,boxDeactiveBgColor:rt,box:ut,textColor:Rt}=this.props;return u().createElement(o.View,{style:B},W.map((ht,yt)=>u().createElement(o.TouchableOpacity,{key:yt,style:[ut?ci.productBox:ci.productBoxLess,ut&&{backgroundColor:ht.selected?ke:rt,borderColor:ht.selected?de:ue},C,{borderWidth:ht.selected?1:0}],activeOpacity:.9,onPress:()=>this._changeRadio(ht,yt)},u().createElement(o.View,{style:ci.leftProductBox},this.props.renderIcon(ht.type)),u().createElement(o.View,{style:[ci.centerProductBox]},u().createElement(o.Text,{style:[{color:Rt},J]},ht.type===_e.BLUETOOTH&&ht.name?ht.name:ht.type)))))}}wt(Yn,"defaultProps",{style:{},boxStyle:{},textStyle:{},initial:-1,circleSize:18,duration:500,data:[],animationTypes:[],selectedBtn:()=>{},activeColor:"#fff",deactiveColor:"#e2e2e2",boxActiveBgColor:"#00000000",boxDeactiveBgColor:"#00000000",textColor:"#fff",box:!0});const ci=o.StyleSheet.create({productBox:{flexDirection:"row",borderRadius:7,borderWidth:1,paddingHorizontal:10,paddingVertical:15,marginTop:10},productBoxLess:{flexDirection:"row",marginTop:10},leftProductBox:{flex:1,alignItems:"center",justifyContent:"center"},centerProductBox:{flex:6,justifyContent:"flex-start",alignItems:"center",paddingHorizontal:4,flexDirection:"row"},circle:{borderWidth:1,borderRadius:1e4,alignItems:"center",justifyContent:"center"},icon:{borderWidth:1,borderRadius:1e4,alignItems:"center",justifyContent:"center"},circleFill:{borderWidth:1,borderRadius:1e4}}),Si=Yn,{AudioMode:Ji}=o.NativeModules;function We(){const{globalState:V,dispatch:ee}=qt(),C=ut=>{switch(ut){case _e.SPEAKER:return B();case _e.BLUETOOTH:return de();case _e.HEADPHONES:return W();case _e.EARPIECE:return J();default:return B()}},B=()=>u().createElement(o.Image,{style:ct.lt_control_icon,source:k.AUDIO_MODE_SPEAKER}),J=()=>u().createElement(o.Image,{style:ct.lt_control_icon,source:k.AUDIO_MODE_EARPIECE}),W=()=>u().createElement(o.Image,{style:ct.lt_control_icon,source:k.AUDIO_MODE_HEADPHONE}),de=()=>u().createElement(o.Image,{style:ct.lt_control_icon,source:k.AUDIO_MODE_BLUETOOTH}),ue=()=>{ee({type:Le,payload:!1})},ke=ut=>{ue(),Ji.setAudioDevice(ut.uid||ut.type)},rt=(0,E.useCallback)(()=>u().createElement(Si,{data:V.audioModes,renderIcon:C,selectedBtn:ke}),[V.audioModes]);return u().createElement(o.TouchableOpacity,{onPress:ue,style:ct.container},u().createElement(o.View,{style:ct.listContainer},rt()))}const ct=o.StyleSheet.create({lt_control_icon:{width:25,height:25},lt_control_view:{width:55,height:55,margin:1,backgroundColor:_t.lightGrey,borderRadius:50,alignItems:"center",justifyContent:"center"},container:{position:"absolute",top:0,bottom:0,right:0,left:0,backgroundColor:_t.blackTransparent,elevation:10,justifyContent:"flex-end",alignItems:"center"},listContainer:{backgroundColor:_t.blackLight,padding:10,borderTopEndRadius:8,borderTopStartRadius:8,width:"100%"}}),Ct={REQUEST_TO_SWITCH_TO_VIDEO_CALL:"wants to switch to video call",CALL_CONVERTED_TO_VIDEO_CALL:"This call was converted into a video call do you wish to continue?",ACCEPT_REQUEST_TO_SWITCH_TO_VIDEO_CALL:"Accept",REJECT_REQUEST_TO_SWITCH_TO_VIDEO_CALL:"Reject",SWITCH_TO_VIDEO_CALL_REQUESTED:"Waiting for other user's response",LEAVE:"Leave"},Mt=o.StyleSheet.create({model:{position:"absolute",bottom:"0%",top:"0%",left:"0%",right:"0%",backgroundColor:_t.blackTransparent,elevation:10,zIndex:10,justifyContent:"center",alignItems:"center"},container:{backgroundColor:_t.palette.white,borderRadius:8,marginHorizontal:"5%"},headerText:{fontSize:18,textAlign:"center",padding:16,color:_t.palette.black},buttonContainer:{flexDirection:"row",justifyContent:"space-around"},button:{width:"50%",padding:12,justifyContent:"center",alignItems:"center",elevation:1},buttonText:{color:_t.palette.black}}),vn=()=>{const{globalState:V,jitsiManager:ee}=qt();return V.showSwitchToVideoCallModel?V.switchToVideoRequestModelType===qe?u().createElement(o.View,{style:Mt.model},u().createElement(o.ActivityIndicator,null),u().createElement(o.Text,{style:Mt.headerText},Ct.SWITCH_TO_VIDEO_CALL_REQUESTED)):u().createElement(o.View,{style:Mt.model},u().createElement(o.View,{style:Mt.container},u().createElement(o.Text,{style:Mt.headerText},V.switchToVideoRequestModelType===mt?`${V.switchToVideoCallRequestInitiator.name} ${Ct.REQUEST_TO_SWITCH_TO_VIDEO_CALL}`:Ct.CALL_CONVERTED_TO_VIDEO_CALL),u().createElement(o.View,{style:Mt.buttonContainer},u().createElement(o.TouchableOpacity,{onPress:()=>{ee.current.onSwitchToVideoCallResponse(!0)},touchSoundDisabled:!0,style:Mt.button},u().createElement(o.Text,{style:Mt.buttonText},Ct.ACCEPT_REQUEST_TO_SWITCH_TO_VIDEO_CALL)),u().createElement(o.TouchableOpacity,{onPress:()=>{V.switchToVideoRequestModelType===mt?ee.current.onSwitchToVideoCallResponse(!1):ee.current.leave()},touchSoundDisabled:!0,style:Mt.button},u().createElement(o.Text,{style:Mt.buttonText},V.switchToVideoRequestModelType===mt?Ct.REJECT_REQUEST_TO_SWITCH_TO_VIDEO_CALL:Ct.LEAVE))))):null},on=o.StyleSheet.create({main_video_avatar_main_view:{height:"100%",width:"100%",alignItems:"center",justifyContent:"center",flexDirection:"column"},zero_height_width:{height:"0%",width:"0%"},full_height_width:{height:"100%",width:"100%"}});var I=__nested_webpack_require_965807__(9941);const b=V=>dn(Ft({},V),{audioTrack:null,videoTrack:null}),ne=V=>{let ee=0;for(let B=0;B<V.length;B++)ee=V.charCodeAt(B)+((ee<<5)-ee);let C="#";for(let B=0;B<3;B++)C+=("00"+(ee>>8*B&240).toString(16)).substr(-2);return C+""},re=()=>{const{globalState:{dominantSpeakerId:V,pinnedUserId:ee},users:C}=qt();return u().createElement(o.View,{style:{flex:1,justifyContent:"center",alignItems:"center",backgroundColor:"#000"}},(()=>{var J;let B=null;return C.length==1?B=C[0]:(C==null?void 0:C.length)==2?B=C[1]:(ee?B=C.find(W=>W.id===ee):V&&(B=C.find(W=>W.id===V)),B||(B=C[1])),B?B.videoTrack&&!B.isVideoMuted?u().createElement(o.View,{style:{flex:1,height:"100%",width:"100%"}},u().createElement(I.RTCView,{key:B==null?void 0:B.id,objectFit:"contain",streamURL:B==null?void 0:B.videoTrack.getOriginalStream().toURL(),style:on.full_height_width,zOrder:-10}),u().createElement(o.Text,{numberOfLines:1,ellipsizeMode:"tail",style:{color:_t.palette.white,fontSize:10,fontWeight:"bold",marginTop:6,marginHorizontal:5,position:"absolute",top:5,left:5}},B.name)):u().createElement(o.View,{style:on.main_video_avatar_main_view},u().createElement(q,{backgroundColor:ne(B==null?void 0:B.name),textColor:_t.palette.white,size:60,avatar:B.avatar},B.name),u().createElement(o.Text,{numberOfLines:1,ellipsizeMode:"tail",style:{color:_t.palette.white,fontSize:10,fontWeight:"bold",marginTop:6,marginHorizontal:5}},B.name),u().createElement(I.RTCView,{key:B.id,objectFit:"cover",streamURL:(J=B.audioTrack)==null?void 0:J.getOriginalStream().toURL(),style:on.zero_height_width,zOrder:0})):null})())},{height:Oe,width:ye}=o.Dimensions.get("window");let st=20,tt=!1,Pt=!1,et=!1,Ce=!1,Yt=!1,ui=!1;o.Platform.OS!=="ios"||o.Platform.isPad||o.Platform.isTVOS||(ye===375&&Oe===812?(Yt=!0,tt=!0,st=44):ye===414&&Oe===896?(Yt=!0,Pt=!0,st=44):ye===390&&Oe===844?(Yt=!0,et=!0,st=47):ye===428&&Oe===926?(Yt=!0,Ce=!0,st=47):(ye===430&&Oe===932||ye===393&&Oe===852)&&(ui=!0,st=49));function $t(V){return o.Platform.select({ios:st,android:V?0:o.StatusBar.currentHeight,default:0})}function an({onButtonPress:V,videoFit:ee}){return u().createElement(o.TouchableOpacity,{testID:"cc-zoom",touchSoundDisabled:!0,onPress:V,style:{paddingHorizontal:2}},u().createElement(o.Image,{style:{width:25,height:25},source:ee==="cover"?k.ZOOM_OUT:k.ZOOM_IN}))}function Bn({userLength:V,onButtonPress:ee}){const{dispatch:C,globalState:{isParticipantsModelVisible:B}}=qt();return u().createElement(u().Fragment,null,u().createElement(o.TouchableOpacity,{testID:"cc-user-list",disabled:hn.isPresenter===!1,touchSoundDisabled:!0,onPress:()=>{ee(),C({type:Xe,payload:!B})},style:{paddingHorizontal:2}},u().createElement(o.Image,{style:{width:25,height:22},source:k.PEOPLE}),u().createElement(o.View,{style:{backgroundColor:"#1E79E7",height:15,minWidth:15,borderRadius:15,position:"absolute",right:-5,top:-10,justifyContent:"center",alignItems:"center"}},u().createElement(o.Text,{style:{color:"#fff",fontSize:10}},V))))}const rn=150,cn=100,di=o.Platform.OS==="android"?100:150;o.Platform.OS==="android"&&o.UIManager.setLayoutAnimationEnabledExperimental&&o.UIManager.setLayoutAnimationEnabledExperimental(!0);const zt=function(){const{globalState:V,users:ee,settings:C,setSettings:B,settings:{avatarMode:J,videoSettings:{videoFit:W,nameLabel:de,userListButton:ue,zoomButton:ke}}}=qt(),rt=$t(!1),ut=(0,E.useRef)(new o.Animated.ValueXY).current,Rt=(0,E.useRef)({x:0,y:0}),ht=(0,E.useRef)(0),yt=(0,E.useRef)(0),Ut=(0,E.useRef)(V.dimension.width-60),Nt=(0,E.useRef)(V.dimension.height-85-di),ot=(0,E.useMemo)(()=>(Ut.current=V.dimension.width-60-(V.isPortrait?0:di),Nt.current=V.dimension.height-85-(V.isPortrait?di:0),o.PanResponder.create({onStartShouldSetPanResponder:()=>!0,onMoveShouldSetPanResponder:(Tt,sn)=>!0,onPanResponderGrant:(Tt,sn)=>{ut.setOffset({x:ut.x._value,y:ut.y._value}),ut.setValue({x:0,y:0})},onPanResponderMove:(Tt,sn)=>{C.enableDraggableVideoTile!==!1&&Rt.current.x<Ut.current&&Rt.current.y<Nt.current&&(ut.setValue({x:sn.dx,y:sn.dy}),ht.current=sn.moveX,yt.current=sn.moveY)},onPanResponderRelease:(Tt,sn)=>{sn.dx===0&&sn.dy===0&&sn.vx===0&&sn.vy===0&&C.enableVideoTileClick&&St($n=>!$n),ut.flattenOffset(),(Rt.current.x>Ut.current||Rt.current.y>Nt.current)&&ut.setValue({x:ht.current-100,y:yt.current-100})}})),[V.dimension.width]);(0,E.useEffect)(()=>{ut.addListener(Tt=>{Rt.current={x:Tt.x,y:Tt.y}})},[]),(0,E.useEffect)(()=>{ut.setValue({x:Ut.current-50,y:10})},[V.dimension.width]);const[pn,St]=(0,E.useState)(!1);return u().createElement(o.View,{style:{flex:1,justifyContent:"center",alignItems:"center",backgroundColor:"#000"}},(()=>{var An,Zn;let Tt=null;if(pn||ee.length==1?Tt=ee[0]:(ee==null?void 0:ee.length)==2?Tt=ee[1]:(V.pinnedUserId?Tt=ee.find(wn=>wn.id===V.pinnedUserId):V.dominantSpeakerId&&(Tt=ee.find(wn=>wn.id===V.dominantSpeakerId)),Tt||(Tt=ee[1])),!Tt)return!1;const sn=[],$n=()=>u().createElement(Bn,{userLength:ee.length,onButtonPress:()=>{o.LayoutAnimation.configureNext(o.LayoutAnimation.Presets.linear),o.LayoutAnimation.configureNext({duration:100,create:{type:"linear",property:"scaleY"},update:{type:"linear",property:"scaleY"},delete:{type:"linear",property:"opacity"}})}}),gn=()=>u().createElement(o.View,{style:{paddingRight:5,flexDirection:"row"}},u().createElement(o.Text,{style:{color:_t.palette.white,fontSize:18,fontWeight:"bold"}},Tt.name),Tt.isAudioMuted?u().createElement(o.View,{style:{width:10,height:10,marginLeft:5,borderRadius:20,alignItems:"center",justifyContent:"center"}},u().createElement(o.Image,{style:{width:15,height:15},source:k.AUDIO_MUTE})):null,Tt.isVideoMuted&&!C.isAudioOnly?u().createElement(o.View,{style:{width:10,height:10,marginLeft:5,borderRadius:20,alignItems:"center",justifyContent:"center"}},u().createElement(o.Image,{style:{width:15,height:15},source:k.VIDEO_MUTE})):null),wi=()=>u().createElement(an,{onButtonPress:()=>{o.LayoutAnimation.configureNext(o.LayoutAnimation.Presets.linear),o.LayoutAnimation.configureNext({duration:200,create:{type:"linear",property:"scaleY"},update:{type:"linear",property:"scaleY"},delete:{type:"linear",property:"opacity"}}),B({type:y,payload:W==="cover"?"contain":"cover"})},videoFit:W}),Vn=()=>u().createElement(u().Fragment,null,u().createElement(o.View,{style:[Cn.videoItemContainer,{top:0}]},u().createElement(o.View,{style:{flex:1}},u().createElement(o.View,{style:[Cn.videoInnerContainer,{top:0,left:0}]},(de==null?void 0:de.visibility)&&de.position==="top-left"&&gn(),(ue==null?void 0:ue.visibility)&&ue.position==="top-left"&&ee.length>2&&$n(),(ke==null?void 0:ke.visibility)&&ke.position==="top-left"&&wi()),u().createElement(o.View,{style:[Cn.videoInnerContainer,{top:0,right:0}]},(de==null?void 0:de.visibility)&&de.position==="top-right"&&gn(),(ue==null?void 0:ue.visibility)&&ue.position==="top-right"&&ee.length>2&&$n(),(ke==null?void 0:ke.visibility)&&ke.position==="top-right"&&wi()))),u().createElement(o.View,{style:[Cn.videoItemContainer,{bottom:0}]},u().createElement(o.View,{style:{flex:1}},u().createElement(o.View,{style:[Cn.videoInnerContainer,{bottom:0,left:0}]},(de==null?void 0:de.visibility)&&de.position==="bottom-left"&&gn(),(ue==null?void 0:ue.visibility)&&ue.position==="bottom-left"&&ee.length>2&&$n(),(ke==null?void 0:ke.visibility)&&ke.position==="bottom-left"&&wi()),u().createElement(o.View,{style:[Cn.videoInnerContainer,{bottom:0,right:0}]},(de==null?void 0:de.visibility)&&de.position==="bottom-right"&&gn(),(ue==null?void 0:ue.visibility)&&ue.position==="bottom-right"&&ee.length>2&&$n(),(ke==null?void 0:ke.visibility)&&ke.position==="bottom-right"&&wi()))));return ee.length>2&&ee.map((wn,Nn)=>{var Ue;Nn!=0&&wn.id!=Tt.id&&!wn.isAudioMuted&&wn.audioTrack&&sn.push(u().createElement(I.RTCView,{key:wn.id,objectFit:"cover",streamURL:(Ue=wn.audioTrack)==null?void 0:Ue.getOriginalStream().toURL(),style:Cn.zero_height_width,zOrder:-10}))}),Tt.videoTrack&&!Tt.isVideoMuted?u().createElement(o.View,{style:{flex:1,height:"100%",width:"100%"}},sn!=null&&sn.length?sn.map(wn=>u().createElement(u().Fragment,null,wn)):null,u().createElement(I.RTCView,{key:Tt==null?void 0:Tt.id,objectFit:W==="cover"?"cover":"contain",streamURL:Tt==null?void 0:Tt.videoTrack.getOriginalStream().toURL(),style:Cn.full_height_width,zOrder:-10,mirror:ee[0].id===Tt.id&&((An=Tt==null?void 0:Tt.videoTrack)==null?void 0:An._facingMode)!=="environment"}),Vn()):u().createElement(o.View,{style:Cn.main_video_avatar_main_view},sn!=null&&sn.length?sn.map(wn=>u().createElement(u().Fragment,null,wn)):null,u().createElement(q,{backgroundColor:ne(Tt==null?void 0:Tt.name),textColor:"#FFF",size:100,avatar:Tt.avatar},Tt.name),u().createElement(I.RTCView,{key:Tt.id,objectFit:W==="cover"?"cover":"contain",streamURL:(Zn=Tt.audioTrack)==null?void 0:Zn.getOriginalStream().toURL(),style:Cn.zero_height_width,zOrder:0}),Vn())})(),u().createElement(o.Animated.View,Ft({style:{marginTop:rt,position:"absolute",top:"0%",left:"0%",height:rn,width:cn,transform:[{translateX:ut.x.interpolate({inputRange:[10,Ut.current-50],outputRange:[10,Ut.current-50],extrapolate:"clamp"})},{translateY:ut.y.interpolate({inputRange:[10,Nt.current-rn],outputRange:[10,Nt.current-rn],extrapolate:"clamp"})}]}},ot.panHandlers),(()=>{var sn,$n;let Tt=null;return pn?(ee==null?void 0:ee.length)==2?Tt=ee[1]:(V.pinnedUserId?Tt=ee.find(gn=>gn.id===V.pinnedUserId):V.dominantSpeakerId&&(Tt=ee.find(gn=>gn.id===V.dominantSpeakerId)),Tt||(Tt=ee[1])):Tt=ee[0],Tt&&ee.length!=1?Tt.videoTrack&&!Tt.isVideoMuted?u().createElement(o.View,{style:{height:"100%",width:"100%",backgroundColor:"#2E2F30",borderRadius:8,overflow:"hidden"}},u().createElement(o.View,{style:{justifyContent:"flex-start",alignItems:"center",position:"absolute",left:5,bottom:5,zIndex:5,elevation:5}},Tt.isAudioMuted?u().createElement(o.View,{style:{width:10,height:10,margin:2,borderRadius:20,alignItems:"center",justifyContent:"center"}},u().createElement(o.Image,{style:{width:15,height:15},source:k.AUDIO_MUTE})):null,Tt.isVideoMuted&&!C.isAudioOnly?u().createElement(o.View,{style:{width:10,height:10,margin:2,borderRadius:20,alignItems:"center",justifyContent:"center"}},u().createElement(o.Image,{style:{width:15,height:15},source:k.VIDEO_MUTE})):null),u().createElement(I.RTCView,{objectFit:"cover",streamURL:Tt==null?void 0:Tt.videoTrack.getOriginalStream().toURL(),style:Cn.full_height_width,zOrder:1,mirror:ee[0].id===Tt.id&&((sn=Tt==null?void 0:Tt.videoTrack)==null?void 0:sn._facingMode)!=="environment"})):u().createElement(o.View,{style:{backgroundColor:"#2E2F30",height:"100%",width:"100%",borderRadius:8,justifyContent:"center",alignItems:"center"}},u().createElement(o.View,{style:{justifyContent:"flex-start",alignItems:"center",position:"absolute",right:5,bottom:5,zIndex:5,elevation:5}},Tt.isAudioMuted?u().createElement(o.View,{style:{width:10,height:10,margin:2,borderRadius:20,alignItems:"center",justifyContent:"center"}},u().createElement(o.Image,{style:{width:15,height:15},source:k.AUDIO_MUTE})):null),u().createElement(q,{backgroundColor:"#4d4c4f",textColor:"#FFF",size:30,avatar:Tt.avatar},Tt.name),u().createElement(o.Text,{numberOfLines:1,ellipsizeMode:"tail",style:[{fontSize:14,color:"#fff",position:"absolute"},J=="fullscreen"?{top:5,left:5}:{bottom:0,left:0}]},Tt.name),u().createElement(I.RTCView,{key:Tt.id,objectFit:"cover",streamURL:($n=Tt.audioTrack)==null?void 0:$n.getOriginalStream().toURL(),style:Cn.zero_height_width,zOrder:-10})):null})()))},Cn=o.StyleSheet.create({main_video_avatar_main_view:{height:"100%",width:"100%",alignItems:"center",justifyContent:"center",flexDirection:"column"},zero_height_width:{height:"0%",width:"0%"},full_height_width:{height:"100%",width:"100%"},videoItemContainer:{position:"absolute",paddingVertical:5,paddingHorizontal:5,width:"100%",height:55},videoInnerContainer:{position:"absolute",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}}),Tn=o.StyleSheet.create({lt_control_container:{display:"flex",width:"100%",flexDirection:"row",justifyContent:"center",alignItems:"center",flexWrap:"wrap",backgroundColor:"rgba(46, 47, 48, 0.5)"},container_background:{display:"flex",width:"95%",height:"100%",flexDirection:"row",justifyContent:"center",alignItems:"center",flexWrap:"wrap",zIndex:2,opacity:.5,borderRadius:20,margin:10,backgroundColor:"#2e2f30"},container_people:{display:"flex",width:"80%",height:"60%",marginTop:110,marginRight:10,flexDirection:"column",flexWrap:"wrap",position:"absolute",zIndex:2,right:0,borderRadius:10,backgroundColor:"#FFF"},container_thum_list:{display:"flex",width:"28%",height:"75%",flexDirection:"column",flexWrap:"wrap",position:"absolute",zIndex:2,right:0},item:{padding:15,fontSize:18,height:70,flexDirection:"row",justifyContent:"flex-start",alignItems:"center"},item_pinned:{padding:15,fontSize:18,height:70,flexDirection:"row",justifyContent:"flex-start",alignItems:"center",opacity:.5,backgroundColor:"#f66301"},container:o.Platform.OS==="ios"?{zIndex:2}:{},lt_control_icon:{width:25,height:25},lt_button:{width:55,height:55,margin:5,backgroundColor:_t.lightGrey,borderRadius:50,alignItems:"center",justifyContent:"center"},lt_small_button:{width:10,height:10,margin:2,borderRadius:20,alignItems:"center",justifyContent:"center"},lt_small_button_red:{width:35,height:35,margin:5,backgroundColor:"#EB4E3D",borderRadius:20,alignItems:"center",justifyContent:"center"},lt_small_button_blue:{width:35,height:35,margin:5,backgroundColor:"#84aeff",borderRadius:20,alignItems:"center",justifyContent:"center"},button_container:{alignItems:"center",justifyContent:"center",margin:2,opacity:.7},color_white:{color:_t.palette.white},full_height_width:{height:"100%",width:"100%"},mainVideoAvatarMainView:{height:"100%",width:"100%",alignItems:"center",justifyContent:"center",flexDirection:"column"},mainVideoName:{fontSize:18,color:_t.palette.white,padding:20},zero_height_width:{height:"0%",width:"0%"},main_video_video_track_view:{flex:1,height:"100%",width:"100%",justifyContent:"center",alignItems:"center",overflow:"hidden",zIndex:2,elevation:1},main_video_track_name:{color:_t.palette.white,fontSize:18,fontWeight:"bold",position:"absolute",bottom:5,left:5,elevation:10},user_item_pinned:{padding:15,fontSize:18,height:70,marginStart:10,marginRight:10,marginBottom:10,borderRadius:10,flexDirection:"row",justifyContent:"flex-start",alignItems:"center",backgroundColor:"#e5e5e5"},user_item_user_name:{fontSize:18,color:_t.palette.black,marginStart:10},user_item_icon_container:{flexDirection:"row",justifyContent:"flex-start",alignItems:"center",position:"absolute",right:10},user_item_icons:{width:15,height:15},user_list_network_container:{position:"absolute",bottom:6,right:10},user_list_network_icon:{width:15,height:15},user_list_main_touchable:{zIndex:10,elevation:5},user_list_user_name:{fontSize:18,color:_t.palette.white,padding:5,position:"absolute",top:0,left:0,elevation:5,zIndex:5},user_list_icon_container:{justifyContent:"flex-start",alignItems:"center",position:"absolute",left:5,bottom:5,zIndex:5,elevation:5},user_list_avatar_name:{fontSize:18,color:_t.palette.white,padding:5},mainContainer:{height:"100%",width:"100%",backgroundColor:_t.blackLightXXX},video_container:{flex:1},call_container_portrait:{flex:1},call_container_landscape:{flex:1,height:"100%",flexDirection:"row"},top_bar:{height:25,elevation:1,zIndex:2,backgroundColor:_t.blackLightXXX},main_video_container:{flexDirection:"row",flex:1},side_bar:{width:"5%",elevation:1,zIndex:2,backgroundColor:_t.blackLightXXX},main_video:{position:"relative",backgroundColor:_t.blackLight,flex:1,marginVertical:5,borderRadius:8},reconnetIndicator:{position:"relative"},recordingContainer:{position:"absolute",flexDirection:"row",alignItems:"center",zIndex:10,elevation:10,top:26,left:"6%"},recordingIcon:{height:30,width:30},recordingText:{color:_t.palette.white,fontSize:12},videoItemContainer:{position:"absolute",bottom:0,paddingVertical:10,paddingHorizontal:15,width:"100%",height:"100%",flex:1},videoInnerContainer:{position:"absolute",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}}),un=o.StyleSheet.create({user_list_container:{position:"absolute",top:0,bottom:0,width:"100%",backgroundColor:_t.blackLightXXXT,justifyContent:"center",elevation:10,zIndex:10,paddingTop:25},flat_list_style:{width:"100%"},user_list_close_container:{padding:10,borderRadius:20,backgroundColor:_t.whiteAlmost,alignItems:"center",width:40,alignSelf:"center"},close_icon:{width:20,height:20},main_video_container:{width:"100%",height:"100%",alignItems:"center",justifyContent:"center"},pin_icon_container:{elevation:5,zIndex:5},pin_icon:{width:25,height:25},main_video_avatar_main_view:{height:"100%",width:"100%",alignItems:"center",justifyContent:"center",flexDirection:"column"},main_video_name:{fontSize:18,color:_t.palette.white,padding:20},zero_height_width:{height:"0%",width:"0%"},main_video_video_track_view:{flex:1,height:"100%",width:"100%",overflow:"hidden",zIndex:2,elevation:1},main_video_track_name:{color:_t.palette.white,fontSize:18,fontWeight:"bold",position:"absolute",bottom:5,left:5,elevation:10,width:"80%"},full_height_width:{height:"100%",width:"100%"},user_item_pinned:{padding:15,fontSize:18,height:70,marginStart:10,marginRight:10,marginBottom:10,borderRadius:10,flexDirection:"row",justifyContent:"flex-start",alignItems:"center",backgroundColor:_t.whiteX,zIndex:1,elevation:1},user_item_user_name:{fontSize:18,color:_t.palette.black,marginStart:10,width:"60%"},user_item_icon_container:{flexDirection:"row",justifyContent:"flex-start",alignItems:"center",position:"absolute",right:10},user_item_icons:{width:20,height:20},user_list_network_container:{position:"absolute",bottom:6,right:10},recorderBadge:{position:"absolute",height:20,width:20,borderRadius:20,backgroundColor:_t.redLightX,zIndex:1,alignItems:"center",justifyContent:"center",left:25,top:-10},recorderBadgeText:{fontSize:12,color:_t.palette.white},lt_small_button:{},lt_small_button_red:{},lt_small_button_blue:{},user_list_network_icon:{width:15,height:15},user_stats_container:{paddingRight:5,width:200},user_stats_menu:{backgroundColor:"#222",alignSelf:"flex-end",marginBottom:5,borderRadius:5,width:90,paddingHorizontal:10,paddingVertical:5,position:"absolute"},user_stats_menu_list:{flexDirection:"row",alignItems:"center"},user_stats_menu_icon:{width:18,height:18,marginRight:5},user_stats_menu_text:{fontSize:16,color:"#fff",padding:5},user_details_container:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderRadius:5,paddingHorizontal:5},user_details_container_two:{flexDirection:"row",alignItems:"center"},user_detail_icons:{width:20,height:20},videoItemContainer:{position:"absolute",paddingVertical:5,paddingHorizontal:5,width:"100%",height:55,zIndex:9,elevation:1},videoInnerContainer:{position:"absolute",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}}),gi={lastZoomLevel:1,offsetX:0,offsetY:0,lastX:0,lastY:0,lastMovePinch:!1,originalWidth:null,originalHeight:null};class Rn extends E.Component{constructor(C){var B;super(C);wt(this,"contextState",{distanceLeft:0,distanceRight:0,distanceTop:0,distanceBottom:0});wt(this,"longPressTimeout",null);wt(this,"pinchZoomPosition",null);wt(this,"_getBoxDimensions",C=>{const{height:B,width:J}=C.nativeEvent.layout;this.setState({originalWidth:J,originalHeight:B})});wt(this,"_handleStartShouldSetPanResponder",(C,B)=>(this._doubleTapCheck(C,B),this.props.onStartShouldSetPanResponder&&this.props.onStartShouldSetPanResponder(C,B,this._getZoomableViewEventObject(),!1),this.props.captureEvent));wt(this,"_handleMoveShouldSetPanResponder",(C,B)=>{let J=this.props.zoomEnabled&&(Math.abs(B.dx)>2||Math.abs(B.dy)>2||B.numberActiveTouches===2);return this.props.onMoveShouldSetPanResponder&&(J=this.props.onMoveShouldSetPanResponder(C,B,this._getZoomableViewEventObject(),J)),J});wt(this,"_handlePanResponderGrant",(C,B)=>{if(this.isDistanceSet=!1,B.numberActiveTouches===2){const J=Math.abs(C.nativeEvent.touches[0].pageX-C.nativeEvent.touches[1].pageX),W=Math.abs(C.nativeEvent.touches[0].pageY-C.nativeEvent.touches[1].pageY),de=Math.sqrt(J*J+W*W);this.distance=de,this.isDistanceSet=!0}this.props.onLongPress&&(this.longPressTimeout=setTimeout(()=>{this.props.onLongPress&&(this.props.onLongPress(C,B,this._getZoomableViewEventObject()),this.longPressTimeout=null)},this.props.longPressDuration)),this.props.onPanResponderGrant&&this.props.onPanResponderGrant(C,B,this._getZoomableViewEventObject())});wt(this,"_handlePanResponderEnd",(C,B)=>{this.setState({lastX:this.state.offsetX,lastY:this.state.offsetY,lastZoomLevel:this.state.zoomLevel}),this.longPressTimeout&&(clearTimeout(this.longPressTimeout),this.longPressTimeout=null),this.props.onPanResponderEnd&&this.props.onPanResponderEnd(C,B,this._getZoomableViewEventObject()),this.gestureType==="pinch"?(this.pinchZoomPosition=null,this.props.onZoomEnd&&this.props.onZoomEnd(C,B,this._getZoomableViewEventObject())):this.gestureType==="shift"&&this.props.onShiftingEnd&&this.props.onShiftingEnd(C,B,this._getZoomableViewEventObject()),this.gestureType=null});wt(this,"_handlePanResponderMove",(C,B)=>{if(this.props.onPanResponderMove&&this.props.onPanResponderMove(C,B,this._getZoomableViewEventObject()))return!1;B.numberActiveTouches===2?(this.longPressTimeout&&(clearTimeout(this.longPressTimeout),this.longPressTimeout=null),this.isDistanceSet||this._handlePanResponderGrant(C,B),this.gestureType="pinch",this._handlePinching(C,B)):B.numberActiveTouches===1&&(this.longPressTimeout&&(Math.abs(B.dx)>5||Math.abs(B.dy)>5)&&(clearTimeout(this.longPressTimeout),this.longPressTimeout=null),this.gestureType!=="pinch"&&(this.gestureType="shift"),this._handleMovement(C,B))});wt(this,"_handlePinching",(C,B)=>{const{maxZoom:J,minZoom:W,zoomCenteringLevelDistance:de,pinchToZoomInSensitivity:ue,pinchToZoomOutSensitivity:ke}=this.props,rt=Math.abs(C.nativeEvent.touches[0].pageX-C.nativeEvent.touches[1].pageX),ut=Math.abs(C.nativeEvent.touches[0].pageY-C.nativeEvent.touches[1].pageY),Rt=Math.sqrt(rt*rt+ut*ut);if(this.props.onZoomBefore&&this.props.onZoomBefore(C,B,this._getZoomableViewEventObject()))return!1;const ht=Rt/this.distance,yt=ht<1?ke:ue;let Ut=(ht*this.state.lastZoomLevel+this.state.lastZoomLevel*yt)/(yt+1);if(J!==null&&Ut>J&&(Ut=J),Ut<W&&(Ut=W),this.pinchZoomPosition===null){const Tt=Math.min(C.nativeEvent.touches[0].pageX,C.nativeEvent.touches[1].pageX)+rt/2,sn=Math.min(C.nativeEvent.touches[0].pageY,C.nativeEvent.touches[1].pageY)+ut/2;this.pinchZoomPosition=this._getOffsetAdjustedPosition(Tt,sn)}const Nt=Math.abs(Ut-this.state.lastZoomLevel)/de,ot=this.state.lastX+Nt*this.pinchZoomPosition.x,pn=this.state.lastY+Nt*this.pinchZoomPosition.y,St=this._bindOffsetValuesToBorders({zoomLevel:Ut,lastMovePinch:!0,offsetX:ot,offsetY:pn},null);this.setState(St,()=>{this.props.onZoomAfter&&this.props.onZoomAfter(C,B,this._getZoomableViewEventObject())})});wt(this,"_handleMovement",(C,B)=>{const{movementSensibility:J}=this.props;if(this.pinchZoomPosition)return;const W=this.state.lastX+B.dx/this.state.zoomLevel/J,de=this.state.lastY+B.dy/this.state.zoomLevel/J;this._setNewOffsetPosition(W,de)});wt(this,"_setNewOffsetPosition",(C,B,J=!0,W=!1,de=null)=>{const{onShiftingBefore:ue,onShiftingAfter:ke}=this.props;if(ue&&ue(null,null,this._getZoomableViewEventObject()))return!1;const rt=this._bindOffsetValuesToBorders({lastMovePinch:!1,zoomLevel:this.state.zoomLevel,offsetX:C,offsetY:B},J);W&&(rt.lastX=rt.offsetX,rt.lastY=rt.offsetY),this.setState(rt,()=>{if(de&&de(),ke&&ke(null,null,this._getZoomableViewEventObject()))return!1})});wt(this,"_doubleTapCheck",(C,B)=>{const J=new Date().getTime();this.lastPressHolder&&J-this.lastPressHolder<this.props.doubleTapDelay?(delete this.lastPressHolder,this._handleDoubleTap(C,B)):(this.props.onPress&&this.props.onPress(),this.lastPressHolder=J)});this.gestureHandlers=o.PanResponder.create({onStartShouldSetPanResponder:this._handleStartShouldSetPanResponder,onMoveShouldSetPanResponder:this._handleMoveShouldSetPanResponder,onPanResponderGrant:this._handlePanResponderGrant,onPanResponderMove:this._handlePanResponderMove,onPanResponderRelease:this._handlePanResponderEnd,onPanResponderTerminate:C.onPanResponderTerminate,onPanResponderTerminationRequest:(B=C.onPanResponderTerminationRequest)!=null?B:J=>!1,onShouldBlockNativeResponder:J=>!1}),this.state=dn(Ft({},gi),{zoomLevel:C.initialZoom,lastZoomLevel:C.initialZoom||gi.lastZoomLevel,offsetX:C.initialOffsetX,offsetY:C.initialOffsetY}),this.distance=150,this.isDistanceSet=!0,this.gestureType=null,this.contextState={distanceLeft:0,distanceRight:0,distanceTop:0,distanceBottom:0}}componentDidUpdate(C){const{zoomEnabled:B,initialZoom:J}=this.props;C.zoomEnabled&&!B&&this.setState(Ft({zoomLevel:J},gi))}_getZoomableViewEventObject(C={}){return Ft(Ft(Ft({},this.state),this.contextState),C)}_getBoundOffsetValue(C,B,J,W,de){const ue=J*(1-J/W)*(.5+.5/de),ke=-1*(J+ue-J),rt=B-ue,ut=-1*(B+ue);return this._setContextStateDistances(C,rt,ut),J>W?J/2-W/2/de:rt>0?ue:ut>0?ke:B}_setContextStateDistances(C,B,J){if(C==="x")return this.contextState.distanceLeft=B,void(this.contextState.distanceRight=J);this.contextState.distanceTop=B,this.contextState.distanceBottom=J}_bindOffsetValuesToBorders(C,B=null){if(B===!1||B===null&&!this.props.bindToBorders)return C;const{originalWidth:J,originalHeight:W}=this.state,de=J*C.zoomLevel,ue=W*C.zoomLevel,ke=this._getBoundOffsetValue("x",C.offsetX,J,de,C.zoomLevel);C.offsetX=ke;const rt=this._getBoundOffsetValue("y",C.offsetY,W,ue,C.zoomLevel);return C.offsetY=rt,C}_handleDoubleTap(C,B){const{onDoubleTapBefore:J,onDoubleTapAfter:W,doubleTapZoomToCenter:de}=this.props;if(B.numberActiveTouches>1||!this.props.zoomEnabled)return;J&&J(C,B,this._getZoomableViewEventObject());const ue=this._getNextZoomStep(),ke={x:C.nativeEvent.locationX,y:C.nativeEvent.locationY};de&&(ke.x=0,ke.y=0),this._zoomToLocation(ke.x,ke.y,ue,!0,()=>{W&&W(C,B,this._getZoomableViewEventObject({zoomLevel:ue}))})}_getNextZoomStep(){const{zoomStep:C,maxZoom:B,initialZoom:J}=this.props,{zoomLevel:W}=this.state;if(W===B)return J;const de=W+W*C;return B!==null&&de>B?B:de}_getOffsetAdjustedPosition(C,B){const{originalWidth:J,originalHeight:W}=this.state;return C===0&&B===0?{x:0,y:0}:{x:J/2-C,y:W/2-B}}_zoomToLocation(C,B,J,W=!0,de=null){const ue=this._getOffsetAdjustedPosition(C,B);this.props.onZoomBefore&&this.props.onZoomBefore(null,null,this._getZoomableViewEventObject());const ke=this._bindOffsetValuesToBorders({zoomLevel:J,offsetX:ue.x,offsetY:ue.y,lastZoomLevel:J,lastX:ue.x,lastY:ue.y},W);this.setState(ke,()=>{de&&de(),this.props.onZoomAfter&&this.props.onZoomAfter(null,null,this._getZoomableViewEventObject())})}zoomTo(C,B=!0){return new Promise(J=>{C>=this.props.maxZoom||C<=this.props.minZoom?J(!1):this._zoomToLocation(0,0,C,B,()=>{J(!0)})})}zoomBy(C=null,B=!0){return C||(C=this.props.zoomStep),this.zoomTo(this.state.zoomLevel+C,B)}moveTo(C,B,J=!0){const{zoomLevel:W,originalWidth:de,originalHeight:ue}=this.state,ke=(C-de/2)/W,rt=(B-ue/2)/W;return new Promise(ut=>{this._setNewOffsetPosition(-ke,-rt,J,!0,()=>{ut()})})}moveBy(C,B,J=!0){const{zoomLevel:W,lastX:de,lastY:ue}=this.state,ke=de-C/W,rt=ue-B/W;return new Promise(ut=>{this._setNewOffsetPosition(ke,rt,J,!0,()=>{ut()})})}render(){return u().createElement(o.View,{style:si.container,onLayout:this._getBoxDimensions},u().createElement(o.View,dn(Ft({},this.gestureHandlers.panHandlers),{style:{flex:1,position:"absolute",height:this.state.originalHeight,width:this.state.originalWidth,zIndex:999}})),u().createElement(o.View,{style:[si.wrapper,this.props.style,{transform:[{scale:this.state.zoomLevel},{scale:this.state.zoomLevel},{translateX:this.state.offsetX},{translateY:this.state.offsetY}]}]},this.props.children))}}wt(Rn,"defaultProps",{zoomEnabled:!0,initialZoom:1,initialOffsetX:0,initialOffsetY:0,maxZoom:1.5,minZoom:1,pinchToZoomInSensitivity:3,pinchToZoomOutSensitivity:1,zoomCenteringLevelDistance:.5,movementSensibility:1.9,doubleTapDelay:300,bindToBorders:!0,zoomStep:.5,onLongPress:null,longPressDuration:700,captureEvent:!1});const si=o.StyleSheet.create({wrapper:{flex:1,width:"100%",justifyContent:"center"},container:{flex:1,justifyContent:"center",alignItems:"center",position:"relative"}}),Mn=Rn;function qn({onButtonPress:V,fullScreen:ee}){return u().createElement(o.TouchableOpacity,{testID:"cc-full-screen",touchSoundDisabled:!0,onPress:V,style:{paddingHorizontal:2}},u().createElement(o.Image,{style:{width:30,height:30},source:ee?k.FULLSCREEN_DISABLE:k.FULLSCREEN_ENABLE}))}o.Platform.OS==="android"&&o.UIManager.setLayoutAnimationEnabledExperimental&&o.UIManager.setLayoutAnimationEnabledExperimental(!0);const Ui=({isMenuVisible:V,mainVideoSpeaker:ee,setIsMenuVisible:C,pinUser:B,unPinUser:J,pinnedUserId:W,jitsiManager:de,localUserId:ue,isAudioOnly:ke,networkColor:rt,nameLabel:ut})=>{let Rt={top:-45,right:5};if(ut)switch(ut.position){case"top-right":case"top-left":Rt={top:45,right:5};break;case"bottom-right":case"bottom-left":Rt={bottom:40,right:5}}return u().createElement(o.View,{style:[un.user_stats_container]},V&&u().createElement(o.View,{style:[un.user_stats_menu,Rt]},u().createElement(o.TouchableOpacity,{onPress:()=>{ee.id===W?J():B(ee.id),C(!1)},style:un.user_stats_menu_list},u().createElement(o.Image,{style:un.user_stats_menu_icon,source:k.PIN}),u().createElement(o.Text,{style:un.user_stats_menu_text},ee.id===W?"Unpin":"Pin")),ee.isAudioMuted||ee.id===ue?null:u().createElement(o.TouchableOpacity,{onPress:()=>{de.current.muteParticipant(ee),C(!1)},style:un.user_stats_menu_list},u().createElement(o.Image,{style:un.user_detail_icons,source:k.AUDIO_MUTE}),u().createElement(o.Text,{style:un.user_stats_menu_text},"Mute"))),u().createElement(o.View,{style:[un.user_details_container,{backgroundColor:ut.color}]},u().createElement(o.View,{style:un.user_details_container_two},u().createElement(o.Image,{style:[un.user_detail_icons,{tintColor:ee.isAudioMuted?_t.red:_t.green}],source:ee.isAudioMuted?k.AUDIO_MUTE:k.AUDIO_UNMUTE}),ke?null:u().createElement(o.Image,{style:[un.user_detail_icons,{tintColor:ee.isVideoMuted?_t.red:_t.green}],source:ee.isVideoMuted?k.VIDEO_MUTE:k.VIDEO_UNMUTE}),u().createElement(o.Text,{numberOfLines:1,ellipsizeMode:"tail",style:dn(Ft({},un.main_video_name),{padding:10,maxWidth:100})},ee.name)),u().createElement(o.View,{style:un.user_details_container_two},rt?u().createElement(o.Image,{resizeMode:"contain",source:rt,style:un.user_detail_icons}):null,u().createElement(o.TouchableOpacity,{onPress:()=>{C(ht=>!ht)}},u().createElement(o.Image,{resizeMode:"contain",source:k.MENU,style:un.user_detail_icons})))))},dr=u().memo(({cameraFlipped:V,videoFit:ee,isMenuVisible:C,setIsMenuVisible:B,pinUser:J,unPinUser:W,pinnedUserId:de,jitsiManager:ue,users:ke,isAudioOnly:rt,networkColor:ut,dominantSpeakerId:Rt,mainVideoSpeaker:ht})=>{var yt,Ut,Nt;if(ht){const ot=ht.videoTrack,pn=ht.stats;pn&&(pn.connectionQuality<25?k.NETWORK1:pn.connectionQuality<50?k.NETWORK2:pn.connectionQuality<75?k.NETWORK3:k.NETWORK4);try{ht.id}catch(St){}if(ht&&(ht.isVideoMuted||!ht.videoTrack))return u().createElement(o.TouchableOpacity,{activeOpacity:1,onPress:()=>{C&&B(!1)},style:[un.main_video_video_track_view,{justifyContent:"center",alignItems:"center"}]},u().createElement(q,{backgroundColor:ne(ht==null?void 0:ht.name),textColor:"#FFF",size:160,avatar:ht.avatar},ht.name),u().createElement(I.RTCView,{key:ht.id,objectFit:"cover",streamURL:(yt=ht.audioTrack)==null?void 0:yt.getOriginalStream().toURL(),style:un.zero_height_width,zOrder:-10}));if(ot)return(Ut=ue==null?void 0:ue.current)==null||Ut.setConstraints(ht.id),u().createElement(o.View,{style:un.main_video_video_track_view},u().createElement(Mn,{onPress:()=>{C&&B(!1)}},(Nt=ot==null?void 0:ot.getOriginalStream())!=null&&Nt.toURL()?u().createElement(I.RTCView,{key:ot.getOriginalStream().toURL(),objectFit:ee==="cover"?"cover":"contain",streamURL:ot.getOriginalStream().toURL(),style:un.full_height_width,zOrder:-10,mirror:ke[0].id===ht.id&&(ot==null?void 0:ot._facingMode)!=="environment"}):null))}return null},(V,ee)=>V.isMenuVisible===ee.isMenuVisible&&V.setIsMenuVisible===ee.setIsMenuVisible&&V.pinnedUserId===ee.pinnedUserId&&V.isAudioOnly===ee.isAudioOnly&&V.dominantSpeakerId===ee.dominantSpeakerId&&V.mainVideoSpeaker.isAudioMuted===ee.mainVideoSpeaker.isAudioMuted&&V.mainVideoSpeaker.isVideoMuted===ee.mainVideoSpeaker.isVideoMuted&&V.mainVideoSpeaker.isVideoMuted===ee.mainVideoSpeaker.isVideoMuted&&V.videoFit===ee.videoFit&&V.cameraFlipped===ee.cameraFlipped),Gi=({setFullScreen:V=()=>null})=>{const{globalState:{dominantSpeakerId:ee,pinnedUserId:C,cameraFlipped:B},users:J,dispatch:W,jitsiManager:de,settings:{isAudioOnly:ue,videoSettings:{videoFit:ke,nameLabel:rt,fullScreenButton:ut,userListButton:Rt,zoomButton:ht}},setSettings:yt}=qt(),[Ut,Nt]=(0,E.useState)(!1);let ot;const pn=(0,E.useCallback)(()=>{W({type:O,payload:""})},[]),St=(0,E.useCallback)(Nn=>{W({type:O,payload:Nn})},[]),Tt=J[0];let sn;const $n=J.find(Nn=>Nn.id===ee)||Tt,gn=J.find(Nn=>Nn.id===C),wi=J.reduce((Nn,Ue)=>Nn+(Ue.isPresenter!==!1?1:0),0),Vn=()=>u().createElement(Bn,{userLength:J.length,onButtonPress:()=>{o.LayoutAnimation.configureNext(o.LayoutAnimation.Presets.linear),o.LayoutAnimation.configureNext({duration:100,create:{type:"linear",property:"scaleY"},update:{type:"linear",property:"scaleY"},delete:{type:"linear",property:"opacity"}})}}),An=()=>u().createElement(qn,{fullScreen:!1,onButtonPress:()=>{o.LayoutAnimation.configureNext(o.LayoutAnimation.Presets.linear),o.LayoutAnimation.configureNext({duration:100,create:{type:"linear",property:"scaleY"},update:{type:"linear",property:"scaleY"},delete:{type:"linear",property:"opacity"}}),V(Nn=>!Nn)}}),Zn=()=>u().createElement(an,{onButtonPress:()=>{o.LayoutAnimation.configureNext(o.LayoutAnimation.Presets.linear),o.LayoutAnimation.configureNext({duration:200,create:{type:"linear",property:"scaleY"},update:{type:"linear",property:"scaleY"},delete:{type:"linear",property:"opacity"}}),yt({type:y,payload:ke==="cover"?"contain":"cover"})},videoFit:ke}),wn=()=>{var Nn;return u().createElement(Ui,{isMenuVisible:Ut,mainVideoSpeaker:sn,setIsMenuVisible:Nt,pinUser:St,unPinUser:pn,pinnedUserId:C,jitsiManager:de,localUserId:(Nn=J[0])==null?void 0:Nn.id,isAudioOnly:ue,networkColor:ot,nameLabel:rt})};if(sn=$n,gn&&(sn=gn),hn.isPresenter===!1&&sn.isPresenter===!1){for(let Nn=0;Nn<J.length;Nn++)if(J[Nn].isPresenter!==!1){sn=J[Nn];break}}return wi<1?u().createElement(o.View,{style:{flex:1,justifyContent:"center",alignItems:"center"}},u().createElement(o.ActivityIndicator,{size:"small",color:"#fff"}),u().createElement(o.Text,{style:{marginLeft:10,color:"#fff"}},"Waiting for presenter...")):u().createElement(u().Fragment,null,u().createElement(o.View,{style:un.main_video_container},u().createElement(dr,{cameraFlipped:B,videoFit:ke,isMenuVisible:Ut,setIsMenuVisible:Nt,pinUser:St,unPinUser:pn,pinnedUserId:C,jitsiManager:de,users:J,isAudioOnly:ue,networkColor:ot,dominantSpeakerId:ee,mainVideoSpeaker:Ft({},sn)}),u().createElement(o.View,{style:[un.videoItemContainer,{top:0}]},u().createElement(o.View,{style:{flex:1}},u().createElement(o.View,{style:[un.videoInnerContainer,{top:0,left:0}]},(rt==null?void 0:rt.visibility)&&rt.position==="top-left"&&wn(),(Rt==null?void 0:Rt.visibility)&&Rt.position==="top-left"&&Vn(),(ht==null?void 0:ht.visibility)&&ht.position==="top-left"&&Zn(),(ut==null?void 0:ut.visibility)&&ut.position==="top-left"&&An()),u().createElement(o.View,{style:[un.videoInnerContainer,{top:0,right:0}]},(rt==null?void 0:rt.visibility)&&rt.position==="top-right"&&wn(),(Rt==null?void 0:Rt.visibility)&&Rt.position==="top-right"&&Vn(),(ht==null?void 0:ht.visibility)&&ht.position==="top-right"&&Zn(),(ut==null?void 0:ut.visibility)&&ut.position==="top-right"&&An(),C?u().createElement(o.TouchableOpacity,{touchSoundDisabled:!0,style:un.pin_icon_container,onPress:()=>pn()},u().createElement(o.Image,{style:un.pin_icon,source:k.PIN})):null))),u().createElement(o.View,{style:[un.videoItemContainer,{bottom:0}]},u().createElement(o.View,{style:{flex:1}},u().createElement(o.View,{style:[un.videoInnerContainer,{bottom:0,left:0}]},(rt==null?void 0:rt.visibility)&&rt.position==="bottom-left"&&wn(),(Rt==null?void 0:Rt.visibility)&&Rt.position==="bottom-left"&&Vn(),(ht==null?void 0:ht.visibility)&&ht.position==="bottom-left"&&Zn(),(ut==null?void 0:ut.visibility)&&ut.position==="bottom-left"&&An()),u().createElement(o.View,{style:[un.videoInnerContainer,{bottom:0,right:0}]},(rt==null?void 0:rt.visibility)&&rt.position==="bottom-right"&&wn(),(Rt==null?void 0:Rt.visibility)&&Rt.position==="bottom-right"&&Vn(),(ht==null?void 0:ht.visibility)&&ht.position==="bottom-right"&&Zn(),(ut==null?void 0:ut.visibility)&&ut.position==="bottom-right"&&An())))))},Hn=o.StyleSheet.create({main_container:{backgroundColor:_t.blackLightXX,elevation:0,zIndex:0},user_list_main_touchable:{zIndex:10,elevation:5},user_list_user_name:{fontSize:18,color:_t.palette.white,padding:5,position:"absolute",top:0,left:0,elevation:5,zIndex:5},user_list_icon_container:{justifyContent:"flex-start",alignItems:"center",position:"absolute",left:5,bottom:5,zIndex:5,elevation:5},lt_small_button:{width:10,height:10,margin:2,borderRadius:20,alignItems:"center",justifyContent:"center"},user_list_avatar_name:{fontSize:18,color:_t.palette.white,padding:5},full_height_width:{height:"100%",width:"100%"},user_item_icons:{width:15,height:15},user_list_network_container:{position:"absolute",bottom:6,right:10},user_list_network_icon:{width:15,height:15}}),hr=u().memo(function({urls:V=[]}){return u().createElement(u().Fragment,null,V.map((ee,C)=>C>2?u().createElement(I.RTCView,{key:ee.id,objectFit:"cover",streamURL:ee.url,style:{height:0,width:0},zOrder:-1}):null))},(V,ee)=>V.urls.length===ee.urls.length),zi=u().memo(function(){const{globalState:{pinnedUserId:V,isPortrait:ee,dimension:C},users:B,dispatch:J,settings:{avatarMode:W,isAudioOnly:de,enableVideoTileClick:ue}}=qt(),ke=B.filter(Rt=>Rt.isPresenter!==!1),rt=(0,E.useCallback)(()=>{J({type:O,payload:""})},[]),ut=(0,E.useCallback)(Rt=>{J({type:O,payload:Rt})},[]);return u().createElement(o.View,{style:[Hn.main_container,ee?{paddingVertical:5}:{paddingRight:10,paddingVertical:5}]},u().createElement(o.View,{style:ee?{width:"100%",flexDirection:"row",justifyContent:"space-between"}:{width:"100%",height:"100%",justifyContent:"space-between"}},u().createElement(o.View,{style:{flexDirection:ee?"row":"column",flex:1,marginHorizontal:ee?8:0}},(ke==null?void 0:ke.length)>=1?(()=>{var yt,Ut;const Rt=[...ke],ht=[];for(let Nt=0;Nt<(Rt.length>2?3:Rt.length);Nt++){const ot=Rt[Nt],pn=ot.stats,St=pn?pn.connectionQuality<25?k.NETWORK1:pn.connectionQuality<50?k.NETWORK2:pn.connectionQuality<75?k.NETWORK3:k.NETWORK4:"";let Tt;Tt=ot.id===V,!ot.videoTrack||ot.isVideoMuted||ot.status==="inactive"&&Nt!==0?ht.push(u().createElement(o.TouchableOpacity,{activeOpacity:1,touchSoundDisabled:!0,onPress:()=>{ue&&(Tt?rt():ut(ot.id))},key:ot.id,style:Hn.user_list_main_touchable},u().createElement(o.View,{style:{[ee?"width":"height"]:(C[ee?"width":"height"]-40)/3,aspectRatio:1,alignItems:"center",justifyContent:"center",flexDirection:"column",borderRadius:8,overflow:"hidden",[ee?"marginHorizontal":"marginVertical"]:4,backgroundColor:_t.blackLight,marginBottom:5}},u().createElement(o.View,{style:Hn.user_list_icon_container},ot.isAudioMuted?u().createElement(o.View,{style:Hn.lt_small_button},u().createElement(o.Image,{style:Hn.user_item_icons,source:k.AUDIO_MUTE})):null,ot.isVideoMuted&&!de?u().createElement(o.View,{style:Hn.lt_small_button},u().createElement(o.Image,{style:Hn.user_item_icons,source:k.VIDEO_MUTE})):null),Tt?u().createElement(o.View,{style:dn(Ft({},Hn.lt_small_button),{position:"absolute",top:5,right:5,elevation:5,zIndex:5})},u().createElement(o.Image,{style:Hn.user_item_icons,source:k.PIN})):null,u().createElement(q,{backgroundColor:ne(ot==null?void 0:ot.name),textColor:"#FFF",size:30,avatar:ot.avatar},ot.name||""),u().createElement(o.View,{style:W=="fullscreen"?{position:"absolute",top:5,left:5,justifyContent:"center",alignItems:"center"}:{alignItems:"center"}},u().createElement(o.Text,{numberOfLines:1,ellipsizeMode:"tail",style:Hn.user_list_avatar_name},ot.name||"")),u().createElement(I.RTCView,{key:ot.id,objectFit:"cover",streamURL:(yt=ot.audioTrack)==null?void 0:yt.getOriginalStream().toURL(),zOrder:-1})))):ht.push(u().createElement(o.TouchableOpacity,{activeOpacity:1,touchSoundDisabled:!0,onPress:()=>{ue&&(Tt?rt():ut(ot.id))},key:ot.id,style:Hn.user_list_main_touchable},u().createElement(o.View,{style:{[ee?"width":"height"]:(C[ee?"width":"height"]-40)/3,aspectRatio:1,alignItems:"center",justifyContent:"center",flexDirection:"column",borderRadius:8,overflow:"hidden",[ee?"marginHorizontal":"marginVertical"]:4,backgroundColor:_t.blackLightX,marginBottom:5}},u().createElement(o.Text,{numberOfLines:1,ellipsizeMode:"tail",style:Hn.user_list_user_name},ot.name||""),u().createElement(o.View,{style:Hn.user_list_icon_container},ot.isAudioMuted?u().createElement(o.View,{style:Hn.lt_small_button},u().createElement(o.Image,{style:Hn.user_item_icons,source:k.AUDIO_MUTE})):null,ot.isVideoMuted&&!de?u().createElement(o.View,{style:Hn.lt_small_button},u().createElement(o.Image,{style:Hn.user_item_icons,source:k.VIDEO_MUTE})):null),Tt?u().createElement(o.View,{style:dn(Ft({},Hn.lt_small_button),{position:"absolute",top:5,right:5,elevation:5})},u().createElement(o.Image,{style:Hn.user_item_icons,source:k.PIN})):null,u().createElement(I.RTCView,{key:ot.id,objectFit:"cover",streamURL:(Ut=ot.videoTrack)==null?void 0:Ut.getOriginalStream().toURL(),style:[Hn.full_height_width,{borderRadius:5}],zOrder:1,mirror:ke[0].id===ot.id&&ot.videoTrack._facingMode!=="environment"}),u().createElement(o.View,{style:Hn.user_list_network_container},St?u().createElement(o.Image,{resizeMode:"contain",source:St,style:[Hn.user_list_network_icon]}):null))))}return u().createElement(u().Fragment,null,ht)})():null,(ke==null?void 0:ke.length)>=3&&u().createElement(hr,{urls:ke.map(Rt=>{var ht;return{id:Rt.id,url:(ht=Rt.audioTrack)==null?void 0:ht.getOriginalStream().toURL()}})}))))}),qi=zi;function or({isAudioOnly:V=!1,avatarMode:ee="circle"}){const{globalState:{isPortrait:C},users:B}=qt(),[J,W]=(0,E.useState)(!1);return B.reduce((de,ue)=>de+(ue.isPresenter!==!1?1:0),0)<1?u().createElement(o.View,{style:{flex:1,justifyContent:"center",alignItems:"center"}},u().createElement(o.ActivityIndicator,{size:"small",color:"#fff"}),u().createElement(o.Text,{style:{marginLeft:10,color:"#fff"}},"Waiting for presenter...")):u().createElement(o.View,{style:C?Tn.call_container_portrait:Tn.call_container_landscape},u().createElement(o.View,{style:Tn.main_video_container},u().createElement(o.View,{style:dn(Ft({},Tn.main_video),{marginHorizontal:C?10:5})},u().createElement(Gi,{isAudioOnly:V,avatarMode:ee,setFullScreen:W}))),J?null:u().createElement(qi,null))}o.Platform.OS==="android"&&o.UIManager.setLayoutAnimationEnabledExperimental&&o.UIManager.setLayoutAnimationEnabledExperimental(!0);const Ar="CallingAnalytics";class Er extends E.Component{constructor(C){super(C);wt(this,"interval",null);wt(this,"appId");wt(this,"isAudioOnly");wt(this,"user",null);wt(this,"stopPing",()=>{this.interval&&clearInterval(this.interval)})}componentDidMount(){var C,B,J,W,de;this.appId=(C=this.context)==null?void 0:C.settings.appId,this.isAudioOnly=(B=this.context)==null?void 0:B.settings.isAudioOnly,this.analyticsSettings=(J=this.context)==null?void 0:J.settings.analyticsSettings,this.sessionId=(W=this.context)==null?void 0:W.settings.sessionId,this.user=(de=this.context)==null?void 0:de.users[0],this.interval=setInterval(()=>{this.ping()},6e4)}componentWillUnmount(){}getAnalyticsUrl(){return`https://${this.analyticsSettings.ANALYTICS_HOST}/${this.analyticsSettings.ANALYTICS_VERSION}/calls/ping`}ping(){return mi(this,null,function*(){var de,ue,ke;if(((ke=(ue=(de=this.context)==null?void 0:de.globalRef)==null?void 0:ue.current)==null?void 0:ke.callEnded)===!0)return void this.stopPing();if(!this.appId||!this.user.jwt)return;const C=new Headers;C.append("appId",this.appId),C.append("authorization","Beare "+this.user.jwt),C.append("Content-Type","application/json"),xe.d(Ar,"Ping Headers => ",C);const B={uts:Date.now(),wsId:this.user.resource,type:this.isAudioOnly?"audio":"video",sessionId:this.sessionId,isRecording:!1},J=JSON.stringify(B);xe.d(Ar,"Ping data = ",B);const W={method:"POST",headers:C,body:J,redirect:"follow"};fetch(this.getAnalyticsUrl(),W).then(rt=>rt.json()).then(rt=>xe.d(Ar,"Ping result => ",rt)).catch(rt=>xe.e(Ar,"Ping error =>",rt))})}render(){return null}}wt(Er,"contextType",Ht),Er.contextType=Ht;const Lr="EndCallModel",xr=()=>{const{jitsiManager:V,globalRef:ee,nativeManager:C,dispatch:B}=qt(),J=()=>{var W;try{xe.d(Lr,"[onHangUpCalled]"),ee.current.callEnded=!0,(W=C.current)!=null&&W.onCallEndButtonPressed&&C.current.onCallEndButtonPressed()}catch(de){xe.d(Lr,"[onHangUpCalled]",de)}try{V.current.leave()}catch(de){xe.d(Lr,"[onHangUpCalled]",de)}};return u().createElement(o.View,{style:Mt.model},u().createElement(o.View,{style:Mt.container},u().createElement(o.Text,{style:Mt.headerText},"Do you want to end presentation for everyone or just leave the call."),u().createElement(o.View,{style:Mt.buttonContainer},u().createElement(o.TouchableOpacity,{onPress:()=>{V.current.endSessionForAll(),B({type:Ze,payload:!1}),J()},touchSoundDisabled:!0,style:Mt.button},u().createElement(o.Text,{style:Mt.buttonText},"End")),u().createElement(o.TouchableOpacity,{onPress:()=>{B({type:Ze,payload:!1}),J()},touchSoundDisabled:!0,style:Mt.button},u().createElement(o.Text,{style:Mt.buttonText},"Leave")))))};function kr(){const{globalState:V,settings:ee}=qt();return(0,E.useEffect)(()=>{__nested_webpack_require_965807__.g.ccUsersStats={}},[]),V.conferenceJoined?u().createElement(o.View,{style:V.isPortrait?Br.mainContainerPortrait:Br.mainContainerLandScape},u().createElement(Er,null),V.inPIPMode?u().createElement(re,null):ee.mode===U?u().createElement(zt,null):u().createElement(or,null),u().createElement(ti,null),V.isParticipantsModelVisible?u().createElement(je,null):null,u().createElement(vn,null),V.showAudioModel?u().createElement(We,null):null,V.showEndCallDialog?u().createElement(xr,null):null,V.isRecording?u().createElement(lt,null):null):u().createElement(o.View,{style:{flex:1,flexDirection:"row",backgroundColor:_t.blackLightXX,justifyContent:"center",alignItems:"center"}},!V.connectionError&&u().createElement(o.ActivityIndicator,{size:"small",color:"#fff"}),u().createElement(o.Text,{style:{marginLeft:10,color:"#fff"}},V.connectionError?"Couldn't connect, something went wrong!":"Joining..."))}const Br=o.StyleSheet.create({mainContainerPortrait:{flex:1,backgroundColor:_t.blackLightXX,overflow:"hidden"},mainContainerLandScape:{flex:1,backgroundColor:_t.blackLightXX,flexDirection:"row"}}),{AudioMode:zr}=o.NativeModules,hi=zr;let Yr=null;Yr=o.NativeModules.CometChatCallsRTC?o.NativeModules.CometChatCallsRTC:o.NativeModules.CometChatRTC;const _n=Yr;class Ur extends u().Component{constructor(C){super(C);wt(this,"isAudioDevicesInitialized",!1);wt(this,"userList",[]);wt(this,"previousAudioModeListToComarpe",[]);wt(this,"audioModeEventTimer",null);wt(this,"getAudioModes",()=>new Promise((C,B)=>{try{const{globalState:J}=this.context;C({modes:J.audioModes})}catch(J){B(J)}}));wt(this,"resetAudioDeviceForVideoCall",()=>{const{globalState:C}=this.context;for(let B=0;B<Ie.length;B++){const J=C.audioModes.find(W=>W.type.toLowerCase().includes(Ie[B].toLowerCase()));if(J){hi.setAudioDevice((J==null?void 0:J.uid)||J.type);break}}});wt(this,"setAudioMode",C=>{const{globalState:B}=this.context,J=B.audioModes.find(W=>W.type.toLowerCase().includes(C.toLowerCase()));J&&hi.setAudioDevice((J==null?void 0:J.uid)||J.type)});wt(this,"addAudioDeviceListener",()=>{this.unsubscribeAudioModeEventEmitter=this.AudioModeEventEmitter.addListener(hi.DEVICE_CHANGE_EVENT,C=>{var B;this.isAudioDevicesInitialized||(this.setAudioDevices(C),this.isAudioDevicesInitialized=!0),this.context.dispatch({type:at,payload:C}),this.onAudioModeChanged(C),this.context.dispatch({type:Ee,payload:(B=C.find(J=>J.selected))==null?void 0:B.type})}),o.Platform.OS==="ios"&&(this.unsubscribeAudioModeEventEmitterCustom=this.AudioModeEventEmitter.addListener(hi.DEVICE_CHANGE_EVENT_CUSTOM,C=>{var B;if(this.context.users.length===1){const J=this.context.globalState.audioModes.map(W=>dn(Ft({},W),{selected:W.uid===C}));this.context.dispatch({type:at,payload:J}),this.context.dispatch({type:Ee,payload:(B=J.find(W=>W.selected))==null?void 0:B.type})}}))});wt(this,"addListeners",()=>{const{jitsiManager:C}=this.context;this.endCall=this.eventEmitter.addListener("EVENT_END_CALL_SESSION",B=>{C.current.leave()}),this.switchCameraSource=this.eventEmitter.addListener("EVENT_SWITCH_CAMERA_SOURCE",B=>{C.current.flipCamera()}),this.muteAudio=this.eventEmitter.addListener("EVENT_MUTE_AUDIO",B=>{C.current.muteAudio()}),this.unMuteAudio=this.eventEmitter.addListener("EVENT_UNMUTE_AUDIO",B=>{C.current.unMuteAudio()}),this.pauseVideo=this.eventEmitter.addListener("EVENT_PAUSE_VIDEO",B=>{C.current.muteVideo()}),this.unPauseVideo=this.eventEmitter.addListener("EVENT_UNPAUSE_VIDEO",B=>{C.current.unMuteVideo()}),this.changeAudiModeToSpeaker=this.eventEmitter.addListener("EVENT_AUDIO_MODE_SPEAKER",B=>{}),this.changeAudiModeToEarpiece=this.eventEmitter.addListener("EVENT_AUDIO_MODE_EARPIECE",B=>{}),this.unmountComponent=this.eventEmitter.addListener("EVENT_UNMOUNT_COMPONENT",B=>{}),this.remountComponent=this.eventEmitter.addListener("EVENT_REMOUNT_COMPONENT",B=>{}),this.enterPipMode=this.eventEmitter.addListener("EVENT_ENTER_PIP_MODE",B=>{C.current.enterPipMode()}),this.exitPipMode=this.eventEmitter.addListener("EVENT_EXIT_PIP_MODE",B=>{C.current.exitPipMode()}),this.switchToVideoCall=this.eventEmitter.addListener("EVENT_SWITCH_TO_VIDEO_CALL",B=>{C.current.requestingToSwitchToVideoCall()}),this.startCallRecording=this.eventEmitter.addListener("EVENT_START_CALL_RECORDING",B=>{C.current.startRecording()}),this.eventEmitter.addListener("EVENT_SET_AUDIO_MODE",B=>{this.setAudioMode(B.audioMode)}),this.eventEmitter.addListener("EVENT_GET_AUDIO_MODES",()=>{this.getAudioModes().then(B=>{_n.getAudioModesOnSuccess(B.modes)})}),this.stopCallRecording=this.eventEmitter.addListener("EVENT_STOP_CALL_RECORDING",B=>{C.current.stopRecording()})});wt(this,"onRecordingToggled",C=>{var B;(B=this.settings)!=null&&B.onRecordingToggled&&this.settings.onRecordingToggled(C),_n&&_n.onRecordingToggled(C)});wt(this,"onUserMuted",C=>{var B;(B=this.settings)!=null&&B.onUserMuted&&this.settings.onUserMuted(C),_n&&(_n!=null&&_n.onUserMuted)&&(_n==null||_n.onUserMuted(C))});wt(this,"removeListener",()=>{var C,B,J,W,de,ue,ke,rt,ut,Rt,ht,yt,Ut,Nt,ot,pn,St;(C=this.endCall)==null||C.remove(),(B=this.switchCameraSource)==null||B.remove(),(J=this.unsubscribeAudioModeEventEmitter)==null||J.remove(),(W=this.unsubscribeAudioModeEventEmitterCustom)==null||W.remove(),(de=this.muteAudio)==null||de.remove(),(ue=this.unMuteAudio)==null||ue.remove(),(ke=this.pauseVideo)==null||ke.remove(),(rt=this.unPauseVideo)==null||rt.remove(),(ut=this.changeAudiModeToSpeaker)==null||ut.remove(),(Rt=this.changeAudiModeToEarpiece)==null||Rt.remove(),(ht=this.unmountComponent)==null||ht.remove(),(yt=this.remountComponent)==null||yt.remove(),(Ut=this.enterPipMode)==null||Ut.remove(),(Nt=this.exitPipMode)==null||Nt.remove(),(ot=this.switchToVideoCall)==null||ot.remove(),(pn=this.startCallRecording)==null||pn.remove(),(St=this.stopCallRecording)==null||St.remove()});this.settings=C,this.audioDevices=[],_n&&(this.eventEmitter=new o.NativeEventEmitter(_n)),this.AudioModeEventEmitter=new o.NativeEventEmitter(hi),this.unsubscribeAudioModeEventEmitter=null,this.unsubscribeAudioModeEventEmitterCustom=null}componentDidMount(){const{settings:C}=this.context;this.settings=C,_n&&this.addListeners(),hi&&(this.addAudioDeviceListener(),o.Platform.OS==="android"&&hi.getAllDevices()),C.defaultAudioMode?hi.setMode(hi.VIDEO_CALL):C.isAudioOnly?hi.setMode(hi.AUDIO_CALL):hi.setMode(hi.VIDEO_CALL)}setAudioDevices(C){if(this.settings.defaultAudioMode){const B=C.find(J=>J.type.toLowerCase().includes(this.settings.defaultAudioMode.toLowerCase()));if(B)hi.setAudioDevice((B==null?void 0:B.uid)||(B==null?void 0:B.type));else if(this.settings.isAudioOnly)for(let J=0;J<Ve.length;J++){const W=C.find(de=>de.type.toLowerCase().includes(Ve[J].toLowerCase()));if(W){hi.setAudioDevice((W==null?void 0:W.uid)||W.type);break}}else for(let J=0;J<Ie.length;J++){const W=C.find(de=>de.type.toLowerCase().includes(Ie[J].toLowerCase()));if(W){hi.setAudioDevice((W==null?void 0:W.uid)||W.type);break}}}else if(this.settings.isAudioOnly)for(let B=0;B<Ve.length;B++){const J=C.find(W=>W.type.toLowerCase().includes(Ve[B].toLowerCase()));if(J){hi.setAudioDevice((J==null?void 0:J.uid)||J.type);break}}else for(let B=0;B<Ie.length;B++){const J=C.find(W=>W.type.toLowerCase().includes(Ie[B].toLowerCase()));if(J){hi.setAudioDevice((J==null?void 0:J.uid)||J.type);break}}}onEndCall(){var C;(C=this.settings)!=null&&C.onEndCall&&this.settings.onEndCall(),xe.d("NativeManager","[onEndCall]"),_n&&_n.onCallEnded()}onCallEndButtonPressed(){var C;(C=this.settings)!=null&&C.onCallEndButtonPressed&&this.settings.onCallEndButtonPressed(),_n&&_n.onCallEndButtonPressed()}onUserJoined(C){var B,J;(B=this.settings)!=null&&B.onUserJoined&&((J=this.settings)==null||J.onUserJoined(b(C))),_n&&_n.onUserJoined&&(_n==null||_n.onUserJoined(b(C)))}onUserLeft(C){var B;(B=this.settings)!=null&&B.onUserLeft&&this.settings.onUserLeft(b(C)),_n&&(_n!=null&&_n.onUserLeft)&&_n.onUserLeft(b(C))}onUserListChanged(C){var J;const B=C.map(W=>{if(!W.name.includes("(Screen)"))return{uid:W.uid,avatar:W.avatar,name:W.name,jwt:W.jwt}}).filter(W=>W);JSON.stringify(B)!=JSON.stringify(this.userList)&&(this.userList=B,(J=this.settings)!=null&&J.onUserListChanged&&this.settings.onUserListChanged(B),_n&&_n.onUserListChanged(B))}onAudioModeChanged(C){var B;this.context.dispatch({type:at,payload:C}),this.audioDevices.length===C.length&&JSON.stringify(this.audioDevices)===JSON.stringify(C)||((B=this.settings)!=null&&B.onAudioModeChanged&&this.settings.onAudioModeChanged(C),this.audioModeEventTimer&&clearTimeout(this.audioModeEventTimer),this.audioModeEventTimer=setTimeout(()=>{JSON.stringify(C)!==JSON.stringify(this.previousAudioModeListToComarpe)&&(_n&&_n.onAudioModeChanged(C),this.previousAudioModeListToComarpe=C,this.audioModeEventTimer=null)},600)),this.audioDevices=C}getAudioModesOnSuccess(C){var B;this.context.dispatch({type:at,payload:C}),(B=this.settings)!=null&&B.getAudioModesOnSuccess&&this.settings.getAudioModesOnSuccess(C),_n&&_n.getAudioModesOnSuccess(C)}onSwitchedToVideoCall(C){var B;(B=this.settings)!=null&&B.onCallSwitchedToVideo&&this.settings.onCallSwitchedToVideo({initiator:C.initiator,accepted:C.responder,sessionId:C.sessionId}),_n&&_n.onCallSwitchedToVideo(C.sessionId,C.initiator,C.responder)}render(){return null}}wt(Ur,"contextType",Ht),__nested_webpack_require_965807__(4783);var ar=__nested_webpack_require_965807__(1081),Xr=__nested_webpack_require_965807__(5559),Yi=__nested_webpack_require_965807__.n(Xr);__nested_webpack_require_965807__(9747);const Fr=parseInt(o.Platform.Version,10);o.Platform.OS==="ios"&&Fr===10&&Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength")==null&&Object.defineProperty(ArrayBuffer.prototype,"byteLength",{configurable:!0,enumerable:!1,get:()=>null});var jr=__nested_webpack_require_965807__(5196);const pr=JSON.parse('{"u2":"react-native-url-polyfill","i8":"1.3.0"}');__nested_webpack_require_965807__(5478),__nested_webpack_require_965807__(7343),__nested_webpack_require_965807__.g.REACT_NATIVE_URL_POLYFILL=`${pr.u2}@${pr.i8}`,(0,jr.polyfillGlobal)("URL",()=>__nested_webpack_require_965807__(5478).J),(0,jr.polyfillGlobal)("URLSearchParams",()=>__nested_webpack_require_965807__(7343)._);var Vr=__nested_webpack_require_965807__(6878),cr=__nested_webpack_require_965807__.n(Vr);class Hr{constructor(ee){this._keyPrefix=ee;const C=this._initializeAsync();C&&(this._initializing=C,C.finally(()=>{this._initializing===C&&(this._initializing=void 0)}))}clear(){for(const ee of Object.keys(this))this.removeItem(ee)}getItem(ee){return this.hasOwnProperty(ee)?this[ee]:null}_getItemAsync(ee){return(this._initializing||Promise.resolve()).catch(()=>{}).then(()=>this.getItem(ee))}_initializeAsync(){if(this._keyPrefix!==void 0)return new Promise(ee=>{cr().getAllKeys().then((...C)=>{const B=C[C.length-1].filter(J=>J.startsWith(this._keyPrefix));cr().multiGet(B).then((...J)=>{const W=J[J.length-1],de=this._keyPrefix&&this._keyPrefix.length;for(let[ue,ke]of W)ue=ue.substring(de),this.hasOwnProperty(ue)||(this[ue]=ke);ee()})})})}key(ee){const C=Object.keys(this);return ee<C.length?C[ee]:null}get length(){return Object.keys(this).length}removeItem(ee){delete this[ee],this._keyPrefix===void 0||cr().removeItem(`${String(this._keyPrefix)}${ee}`)}setItem(ee,C){C=String(C),this[ee]=C,this._keyPrefix===void 0||cr().setItem(`${String(this._keyPrefix)}${ee}`,C)}}function Is(V,ee){let C=null;return V&&as(V,B=>B.nodeType===1&&B.nodeName===ee&&(C=B,!0)),C}function as(V,ee){if(ee(V))return!0;if(V=V.firstChild)do if(as(V,ee))return!0;while(V=V.nextSibling);return!1}(V=>{if(V.DOMParser=ar.DOMParser,V.addEventListener===void 0&&(V.addEventListener=()=>{}),V.removeEventListener===void 0&&(V.removeEventListener=()=>{}),V.document===void 0){const J=new ar.DOMParser().parseFromString("<html><head></head><body></body></html>","text/xml");J.addEventListener===void 0&&(J.addEventListener=()=>{}),J.cookie===void 0&&(J.cookie=""),J.implementation.createHTMLDocument===void 0&&(J.implementation.createHTMLDocument=function(de=""){const ue=new ar.DOMParser().parseFromString(`<html>
124
+ \v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003`,"\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028","\u2029\uFEFF"].join(""),Y=new RegExp("(^["+P+"]+)|(["+P+"]+$)","g"),me=p("String.prototype.replace"),ge=o(6281);E.exports=function Be(it){var be=_(it)?it:ge(it,m);if(typeof be=="symbol")throw new y("Cannot convert a Symbol value to a number");if(typeof be=="bigint")throw new y("Conversion from 'BigInt' to 'number' is not allowed.");if(typeof be=="string"){if(O(be))return Be(j(w(be,2),2));if(x(be))return Be(j(w(be,2),8));if(G(be)||F(be))return NaN;var Re=function(T){return me(T,Y,"")}(be);if(Re!==be)return Be(Re)}return m(be)}},3058:(E,u,o)=>{"use strict";var l=o(6893)("%Object%"),y=o(560);E.exports=function(m){return y(m),l(m)}},6281:(E,u,o)=>{"use strict";var l=o(1157);E.exports=function(y){return arguments.length>1?l(y,arguments[1]):l(y)}},7106:(E,u,o)=>{"use strict";var l=o(7751),y=o(6893)("%TypeError%"),m=o(5784),v=o(3018),j=o(2371);E.exports=function(p){if(m(p)!=="Object")throw new y("ToPropertyDescriptor requires an object");var g={};if(l(p,"enumerable")&&(g["[[Enumerable]]"]=v(p.enumerable)),l(p,"configurable")&&(g["[[Configurable]]"]=v(p.configurable)),l(p,"value")&&(g["[[Value]]"]=p.value),l(p,"writable")&&(g["[[Writable]]"]=v(p.writable)),l(p,"get")){var _=p.get;if(_!==void 0&&!j(_))throw new y("getter must be a function");g["[[Get]]"]=_}if(l(p,"set")){var w=p.set;if(w!==void 0&&!j(w))throw new y("setter must be a function");g["[[Set]]"]=w}if((l(g,"[[Get]]")||l(g,"[[Set]]"))&&(l(g,"[[Value]]")||l(g,"[[Writable]]")))throw new y("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return g}},8846:(E,u,o)=>{"use strict";var l=o(6893),y=l("%String%"),m=l("%TypeError%");E.exports=function(v){if(typeof v=="symbol")throw new m("Cannot convert a Symbol value to a string");return y(v)}},4337:(E,u,o)=>{"use strict";var l=o(3892);E.exports=function(y){return l(y)>>>0}},5784:(E,u,o)=>{"use strict";var l=o(349);E.exports=function(y){return typeof y=="symbol"?"Symbol":typeof y=="bigint"?"BigInt":l(y)}},9561:(E,u,o)=>{"use strict";var l=o(6893)("%Math.abs%");E.exports=function(y){return l(y)}},5356:E=>{"use strict";var u=Math.floor;E.exports=function(o){return u(o)}},3953:(E,u,o)=>{"use strict";var l=o(6893)("%TypeError%");E.exports=function(y,m){if(y==null)throw new l(m||"Cannot call method on "+y);return y}},349:E=>{"use strict";E.exports=function(u){return u===null?"Null":u===void 0?"Undefined":typeof u=="function"||typeof u=="object"?"Object":typeof u=="number"?"Number":typeof u=="boolean"?"Boolean":typeof u=="string"?"String":void 0}},4149:(E,u,o)=>{"use strict";E.exports=o(6893)},6139:(E,u,o)=>{"use strict";var l=o(6893)("%Object.defineProperty%",!0);if(l)try{l({},"a",{value:1})}catch(j){l=null}var y=Object.defineProperty&&Object.defineProperty([],"length",{value:1}).length===0,m=y&&o(7973),v=o(8780)("Object.prototype.propertyIsEnumerable");E.exports=function(j,p,g,_,w,O){if(!l){if(!j(O)||!O["[[Configurable]]"]||!O["[[Writable]]"]||w in _&&v(_,w)!==!!O["[[Enumerable]]"])return!1;var x=O["[[Value]]"];return _[w]=x,p(_[w],x)}return y&&w==="length"&&"[[Value]]"in O&&m(_)&&_.length!==O["[[Value]]"]?(_.length=O["[[Value]]"],_.length===O["[[Value]]"]):(l(_,w,g(O)),!0)}},7763:(E,u,o)=>{"use strict";var l=o(6893),y=l("%TypeError%"),m=l("%SyntaxError%"),v=o(7751),j={"Property Descriptor":function(p,g){if(p(g)!=="Object")return!1;var _={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var w in g)if(v(g,w)&&!_[w])return!1;var O=v(g,"[[Value]]"),x=v(g,"[[Get]]")||v(g,"[[Set]]");if(O&&x)throw new y("Property Descriptors may not be both accessor and data descriptors");return!0}};E.exports=function(p,g,_,w){var O=j[g];if(typeof O!="function")throw new m("unknown record type: "+g);if(!O(p,w))throw new y(_+" must be a "+g)}},3999:(E,u,o)=>{"use strict";var l=o(6893)("%Object.getOwnPropertyDescriptor%",!0);if(l)try{l([],"length")}catch(y){l=null}E.exports=l},7333:E=>{"use strict";var u=Number.isNaN||function(o){return o!=o};E.exports=Number.isFinite||function(o){return typeof o=="number"&&!u(o)&&o!==1/0&&o!==-1/0}},2657:E=>{"use strict";E.exports=Number.isNaN||function(u){return u!=u}},127:E=>{"use strict";E.exports=function(u){return u===null||typeof u!="function"&&typeof u!="object"}},7792:(E,u,o)=>{"use strict";var l=o(6893),y=o(7751),m=l("%TypeError%");E.exports=function(v,j){if(v.Type(j)!=="Object")return!1;var p={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var g in j)if(y(j,g)&&!p[g])return!1;if(v.IsDataDescriptor(j)&&v.IsAccessorDescriptor(j))throw new m("Property Descriptors may not be both accessor and data descriptors");return!0}},1667:(E,u,o)=>{"use strict";var l=o(6893)("RegExp.prototype.test"),y=o(3862);E.exports=function(m){return y(l,m)}},8555:(E,u,o)=>{"use strict";var l=o(2755);if(o(5990)()||o(3031)()){var y=Symbol.iterator;E.exports=function(at){return at!=null&&at[y]!==void 0?at[y]():l(at)?Array.prototype[y].call(at):void 0}}else{var m=o(5670),v=o(2615),j=o(6893),p=j("%Map%",!0),g=j("%Set%",!0),_=o(8780),w=_("Array.prototype.push"),O=_("String.prototype.charCodeAt"),x=_("String.prototype.slice"),F=function(at){var Ee=0;return{next:function(){var Le,Xe=Ee>=at.length;return Xe||(Le=at[Ee],Ee+=1),{done:Xe,value:Le}}}},G=function(at,Ee){if(m(at)||l(at))return F(at);if(v(at)){var Le=0;return{next:function(){var Xe=function(Ze,Fe){if(Fe+1>=Ze.length)return Fe+1;var dt=O(Ze,Fe);if(dt<55296||dt>56319)return Fe+1;var $e=O(Ze,Fe+1);return $e<56320||$e>57343?Fe+1:Fe+2}(at,Le),se=x(at,Le,Xe);return Le=Xe,{done:Xe>at.length,value:se}}}}return Ee&&at["_es6-shim iterator_"]!==void 0?at["_es6-shim iterator_"]():void 0};if(p||g){var P=o(8566),Y=o(2289),me=_("Map.prototype.forEach",!0),ge=_("Set.prototype.forEach",!0);if(typeof process=="undefined"||!process.versions||!process.versions.node)var Be=_("Map.prototype.iterator",!0),it=_("Set.prototype.iterator",!0),be=function(at){var Ee=!1;return{next:function(){try{return{done:Ee,value:Ee?void 0:at.next()}}catch(Le){return Ee=!0,{done:!0,value:void 0}}}}};var Re=_("Map.prototype.@@iterator",!0)||_("Map.prototype._es6-shim iterator_",!0),T=_("Set.prototype.@@iterator",!0)||_("Set.prototype._es6-shim iterator_",!0);E.exports=function(at){return function(Ee){if(P(Ee)){if(Be)return be(Be(Ee));if(Re)return Re(Ee);if(me){var Le=[];return me(Ee,function(se,Ze){w(Le,[Ze,se])}),F(Le)}}if(Y(Ee)){if(it)return be(it(Ee));if(T)return T(Ee);if(ge){var Xe=[];return ge(Ee,function(se){w(Xe,se)}),F(Xe)}}}(at)||G(at)}}else E.exports=function(at){if(at!=null)return G(at,!0)}}},4787:(E,u,o)=>{"use strict";var l=o(8555),y=TypeError,m=o(6247);E.exports=function(v){var j=l(v);if(!j)throw new y("non-iterable value provided");return arguments.length>1?m(j,arguments[1]):m(j)}},2834:E=>{"use strict";E.exports=JSON.parse('{"name":"react-native","version":"0.66.4","bin":"./cli.js","description":"A framework for building native apps using React","license":"MIT","repository":"github:facebook/react-native","engines":{"node":">=12"},"jest-junit":{"outputDirectory":"reports/junit","outputName":"js-test-results.xml"},"files":["!template/node_modules","!template/package-lock.json","!template/yarn.lock","android","cli.js","flow","flow-typed","index.js","interface.js","jest-preset.js","jest","Libraries","LICENSE","local-cli","React-Core.podspec","react-native.config.js","react.gradle","React.podspec","React","ReactAndroid","ReactCommon","README.md","rn-get-polyfills.js","scripts/compose-source-maps.js","scripts/find-node.sh","scripts/generate-specs.sh","scripts/generate-specs-cli.js","scripts/ios-configure-glog.sh","scripts/launchPackager.bat","scripts/launchPackager.command","scripts/node-binary.sh","scripts/packager.sh","scripts/react_native_pods.rb","scripts/react-native-xcode.sh","template.config.js","template","third-party-podspecs"],"scripts":{"start":"react-native start","test":"jest","test-ci":"jest --maxWorkers=2 --ci --reporters=\\"default\\" --reporters=\\"jest-junit\\"","flow":"flow","flow-check-ios":"flow check","flow-check-android":"flow check --flowconfig-name .flowconfig.android","lint":"eslint .","lint-ci":"./scripts/circleci/analyze_code.sh && yarn shellcheck","lint-java":"node ./scripts/lint-java.js","shellcheck":"./scripts/circleci/analyze_scripts.sh","clang-format":"clang-format -i --glob=*/**/*.{h,cpp,m,mm}","format":"npm run prettier && npm run clang-format","prettier":"prettier --write \\"./**/*.{js,md,yml}\\"","format-check":"prettier --list-different \\"./**/*.{js,md,yml}\\"","update-lock":"npx yarn-deduplicate","docker-setup-android":"docker pull reactnativecommunity/react-native-android:4.0","docker-build-android":"docker build -t reactnativeci/android -f .circleci/Dockerfiles/Dockerfile.android .","test-android-run-instrumentation":"docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-instrumentation-tests.sh","test-android-run-unit":"docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-unit-tests.sh","test-android-run-e2e":"docker run --privileged -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-ci-e2e-tests.sh --android --js","test-android-all":"yarn run docker-build-android && yarn run test-android-run-unit && yarn run test-android-run-instrumentation && yarn run test-android-run-e2e","test-android-instrumentation":"yarn run docker-build-android && yarn run test-android-run-instrumentation","test-android-unit":"yarn run docker-build-android && yarn run test-android-run-unit","test-android-e2e":"yarn run docker-build-android && yarn run test-android-run-e2e","build-ios-e2e":"detox build -c ios.sim.release","test-ios-e2e":"detox test -c ios.sim.release packages/rn-tester/e2e","test-ios":"./scripts/objc-test.sh test"},"peerDependencies":{"react":"17.0.2"},"dependencies":{"@jest/create-cache-key-function":"^27.0.1","@react-native-community/cli":"^6.0.0","@react-native-community/cli-platform-android":"^6.0.0","@react-native-community/cli-platform-ios":"^6.0.0","@react-native/assets":"1.0.0","@react-native/normalize-color":"1.0.0","@react-native/polyfills":"2.0.0","abort-controller":"^3.0.0","anser":"^1.4.9","base64-js":"^1.1.2","event-target-shim":"^5.0.1","hermes-engine":"~0.9.0","invariant":"^2.2.4","jsc-android":"^250230.2.1","metro-babel-register":"0.66.2","metro-react-native-babel-transformer":"0.66.2","metro-runtime":"0.66.2","metro-source-map":"0.66.2","nullthrows":"^1.1.1","pretty-format":"^26.5.2","promise":"^8.0.3","prop-types":"^15.7.2","react-devtools-core":"^4.13.0","react-native-codegen":"^0.0.7","react-refresh":"^0.4.0","regenerator-runtime":"^0.13.2","scheduler":"^0.20.2","stacktrace-parser":"^0.1.3","use-subscription":"^1.0.0","whatwg-fetch":"^3.0.0","ws":"^6.1.4"},"devDependencies":{"flow-bin":"^0.158.0","react":"17.0.2","@babel/core":"^7.14.0","@babel/generator":"^7.14.0","@babel/template":"^7.0.0","@babel/types":"^7.0.0","@react-native-community/eslint-plugin":"*","@reactions/component":"^2.0.2","async":"^2.4.0","babel-eslint":"^10.1.0","babel-preset-fbjs":"^3.4.0","clang-format":"^1.2.4","connect":"^3.6.5","coveralls":"^3.0.2","detox":"16.7.2","eslint":"7.12.0","eslint-config-fb-strict":"^24.9.0","eslint-config-fbjs":"2.1.0","eslint-config-prettier":"^6.0.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-eslint-comments":"^3.1.1","eslint-plugin-flowtype":"2.50.3","eslint-plugin-jest":"22.4.1","eslint-plugin-jsx-a11y":"6.2.1","eslint-plugin-prettier":"2.6.2","eslint-plugin-react":"7.21.5","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-react-native":"3.10.0","eslint-plugin-relay":"1.8.1","jest":"^26.6.3","jest-junit":"^10.0.0","jscodeshift":"^0.11.0","metro-transform-plugins":"^0.66.0","mkdirp":"^0.5.1","prettier":"1.19.1","react-shallow-renderer":"16.14.1","react-test-renderer":"17.0.2","shelljs":"^0.7.8","signedsource":"^1.0.0","ws":"^6.1.4","yargs":"^15.3.1","metro-babel-register":"0.66.2"},"detox":{"test-runner":"jest","runner-config":"packages/rn-tester/e2e/config.json","specs":"","configurations":{"android.emu.release":{"binaryPath":"packages/rn-tester/android/app/build/outputs/apk/hermes/release/app-hermes-x86-release.apk","testBinaryPath":"packages/rn-tester/android/app/build/outputs/apk/androidTest/hermes/release/app-hermes-release-androidTest.apk","build":"./gradlew :packages:rn-tester:android:app:assembleRelease :packages:rn-tester:android:app:assembleAndroidTest -DtestBuildType=release","type":"android.emulator","device":{"avdName":"Nexus_6_API_29"}},"android.emu.debug":{"binaryPath":"packages/rn-tester/android/app/build/outputs/apk/hermes/debug/app-hermes-x86-debug.apk","testBinaryPath":"packages/rn-tester/android/app/build/outputs/apk/androidTest/hermes/debug/app-hermes-debug-androidTest.apk","build":"./gradlew :packages:rn-tester:android:app:assembleDebug :packages:rn-tester:android:app:assembleAndroidTest -DtestBuildType=debug","type":"android.emulator","device":{"avdName":"Nexus_6_API_29"}},"ios.sim.release":{"binaryPath":"packages/rn-tester/build/Build/Products/Release-iphonesimulator/RNTester.app/","build":"xcodebuild -workspace packages/rn-tester/RNTesterPods.xcworkspace -scheme RNTester -configuration Release -sdk iphonesimulator -derivedDataPath packages/rn-tester/build -UseModernBuildSystem=NO -quiet","type":"ios.simulator","name":"iPhone 8"},"ios.sim.debug":{"binaryPath":"packages/rn-tester/build/Build/Products/Debug-iphonesimulator/RNTester.app/","build":"xcodebuild -workspace packages/rn-tester/RNTesterPods.xcworkspace -scheme RNTester -configuration Debug -sdk iphonesimulator -derivedDataPath packages/rn-tester/build -UseModernBuildSystem=NO -quiet","type":"ios.simulator","name":"iPhone 8"}}}}')},4147:E=>{"use strict";E.exports={i8:"3.0.2"}}},__webpack_module_cache__={};function __nested_webpack_require_964150__(E){var u=__webpack_module_cache__[E];if(u!==void 0)return u.exports;var o=__webpack_module_cache__[E]={exports:{}};return __webpack_modules__[E].call(o.exports,o,o.exports,__nested_webpack_require_964150__),o.exports}__nested_webpack_require_964150__.n=E=>{var u=E&&E.__esModule?()=>E.default:()=>E;return __nested_webpack_require_964150__.d(u,{a:u}),u},__nested_webpack_require_964150__.d=(E,u)=>{for(var o in u)__nested_webpack_require_964150__.o(u,o)&&!__nested_webpack_require_964150__.o(E,o)&&Object.defineProperty(E,o,{enumerable:!0,get:u[o]})},__nested_webpack_require_964150__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(E){if(typeof window=="object")return window}}(),__nested_webpack_require_964150__.o=(E,u)=>Object.prototype.hasOwnProperty.call(E,u),__nested_webpack_require_964150__.r=E=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(E,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(E,"__esModule",{value:!0})};var __webpack_exports__={};return(()=>{"use strict";__nested_webpack_require_964150__.r(__webpack_exports__),__nested_webpack_require_964150__.d(__webpack_exports__,{default:()=>we});var E=__nested_webpack_require_964150__(8156),u=__nested_webpack_require_964150__.n(E),o=__nested_webpack_require_964150__(9925);const l="onSwitchedToVideoCall",y="toggleVideoFit",m="updateUserList",v="setDimension",j="onConnectionSuccess",p="onConnectionError",g="onConferenceJoined",_="onConferenceFailed",w="setDominantSpeaker",O="setPinnedUsed",x="onScreenRecordingStarted",F="onTryingToStartRecording",G="onTryingToStopRecording",P="onScreenRecordingStopped",Y="onRequestingToSwitchToVideoCall",me="onSwitchToVideoCallRequested",ge="onSwitchToVideoCallAccepted",Be="onSwitchToVideoCallReJected",it="onAudioCallConvertedToVideoCall",be="updateNoOfScreenShareUser",Re="setRecorder",T="togglePipMode",at="setAudioModes",Ee="setSelectedAudioMode",Le="toggleAudioModeModel",Xe="toggleParticipantsModel",se="toggleCamera",Ze="toggleEndCallDialog",Fe=(V,{type:ee,payload:b})=>{switch(ee){case l:return dn(Ft({},V),{isAudioOnly:!1});case y:return dn(Ft({},V),{videoSettings:dn(Ft({},V.videoSettings),{videoFit:b})});default:return Ft({},V)}},dt={disableAudioLevels:!0,disableSimulcast:!1,disableThirdPartyRequests:!0},$e={openBridgeChannel:"websocket",enableNoisyMicDetection:!0,channelLastN:10,websocketKeepAlive:-1,testing:{octo:{probability:1}},e2eping:{pingInterval:-1},deploymentInfo:{userRegion:"eu-west-1"},enableTalkWhileMuted:!0,p2p:{enabled:!1}},ae="user_object",f="SCREEN_SHARING_STARTED",D="SCREEN_SHARING_STOPPED",H="CONVERT_TO_VIDEO_REQUEST",z="CONVERT_TO_VIDEO_RESPONSE",ve="START_SCREEN_RECORDING",Se="stopScreenRecording",pe="tryingToStopStartScreenRecording",he="tryingToStartScreenRecording",De="participantMuted",R="endSessionForAll",U="SPOTLIGHT",Z="PRESENTER",_e={HEADPHONES:"HEADPHONES",SPEAKER:"SPEAKER",EARPIECE:"EARPIECE",BLUETOOTH:"BLUETOOTH"},Ve=[_e.BLUETOOTH,_e.HEADPHONES,_e.EARPIECE,_e.SPEAKER],Ie=[_e.BLUETOOTH,_e.HEADPHONES,_e.SPEAKER,_e.EARPIECE],mt="initial",jt="converted",qe="requested",He=15,It={showAudioModel:!1,dimension:{height:500,width:300},dominantSpeakerId:"",connectionSuccess:!1,connectionError:!1,pinnedUserId:"",conferenceJoined:!1,recorder:null,recordId:"",recorderId:"",isRecording:!1,tryingToStartRecording:!1,inPIPMode:!1,isPortrait:!0,switchToVideoCallRequestInitiator:null,switchedToVideoCall:!1,showSwitchToVideoCallModel:!1,switchToVideoRequestModelType:mt,switchToVideoCallRequestResponder:null,noOfScreenShareUser:0,audioModes:[],mode:"TILE",selectedAudioMode:"SPEAKER",LastNId:[],isParticipantsModelVisible:!1,cameraFlipped:!0,connectionErrorType:"",showEndCallDialog:!1},Gt=(V,{type:ee,payload:b})=>{switch(ee){case Ze:return dn(Ft({},V),{showEndCallDialog:b});case se:return dn(Ft({},V),{cameraFlipped:b});case Xe:return dn(Ft({},V),{isParticipantsModelVisible:b});case"updatelastNid":return dn(Ft({},V),{LastNId:b});case Ee:return dn(Ft({},V),{selectedAudioMode:b});case Le:return dn(Ft({},V),{showAudioModel:b});case at:return dn(Ft({},V),{audioModes:b});case v:return dn(Ft({},V),{dimension:b,isPortrait:b.height>b.width});case w:return dn(Ft({},V),{dominantSpeakerId:b});case j:return dn(Ft({},V),{dominantSpeakerId:b,connectionSuccess:!0,connectionError:!1});case p:return dn(Ft({},V),{connectionError:b.error,connectionErrorType:b.type});case O:return dn(Ft({},V),{pinnedUserId:b});case g:return dn(Ft({},V),{conferenceJoined:!0});case _:return dn(Ft({},V),{conferenceJoined:!1});case x:return dn(Ft({},V),{recorder:b,recordId:b.recordId,recorderId:b.id,isRecording:!0,tryingToStartRecording:!1});case F:return dn(Ft({},V),{tryingToStartRecording:!0,recorder:b});case G:return dn(Ft({},V),{tryingToStartRecording:!1,recorder:b});case P:return dn(Ft({},V),{recorder:null,recordId:"",recorderId:"",isRecording:!1,tryingToStartRecording:!1});case"onScreenOrientationChanged":return dn(Ft({},V),{isPortrait:b});case Y:return dn(Ft({},V),{showSwitchToVideoCallModel:!0,switchToVideoRequestModelType:qe,switchToVideoCallRequestInitiator:b});case me:return dn(Ft({},V),{showSwitchToVideoCallModel:!0,switchToVideoCallRequestInitiator:b,switchToVideoRequestModelType:mt});case ge:return dn(Ft({},V),{switchToVideoCallRequestResponder:b,showSwitchToVideoCallModel:!1,switchedToVideoCall:!0});case Be:return dn(Ft({},V),{showSwitchToVideoCallModel:!1,switchToVideoCallRequestResponder:b});case it:return dn(Ft({},V),{switchToVideoCallRequestInitiator:b.switchToVideoCallRequestInitiator,switchToVideoCallRequestResponder:b.switchToVideoCallRequestResponder,switchToVideoRequestModelType:jt,showSwitchToVideoCallModel:!0});case be:return dn(Ft({},V),{noOfScreenShareUser:b});case Re:return dn(Ft({},V),{recorder:b});case T:return dn(Ft({},V),{inPIPMode:b});default:return Ft({},V)}},Xt=(V,{type:ee,payload:b})=>ee===m?b?[...b]:V:Ft({},V),Ht=(0,E.createContext)(null),qt=()=>(0,E.useContext)(Ht),Wt=({children:V,initialState:ee,reducer:b})=>{const[B,J]=(0,E.useReducer)(Fe,ee),[W,de]=(0,E.useReducer)(b,It),ue=(0,E.useRef)({}),ke=(0,E.useRef)([]),rt=(0,E.useRef)(null),[ut,Rt]=(0,E.useReducer)(Xt,[]),[ht,yt]=(0,E.useState)(null),[Ut,Nt]=(0,E.useState)(null),ot=(0,E.useRef)(),pn=(0,E.useRef)();return u().createElement(Ht.Provider,{value:{globalRef:ue,settings:B,setSettings:J,globalState:W,connection:ht,setConnection:yt,room:Ut,setRoom:Nt,dispatch:de,users:ut,setUsers:(St,Tt=!1)=>{Tt?Rt(St):(rt.current&&clearTimeout(rt.current),rt.current=setTimeout(()=>{Rt(St)},500))},jitsiManager:ot,nativeManager:pn,usersRef:ke}},V)},_t={palette:{black:"#000",white:"#fff",offWhite:"#fefefe",red:"red",transparent:"transparent"},blackTransparent:"#000000c0",blackLightXXXT:"#2e2f30cc",blackLightXXX:"#2e2f30",blackLightXX:"#333",blackLightX:"#222",blackLight:"#111",redLight:"#eb4e3d",redLightX:"#d93834",lightGrey:"#4d4c4f",whiteAlmost:"#fefefe",whiteX:"#e5e5e5",blueLight:"#84aeff",green:"#00d7a4",red:"#fe274d"},Zt=({containerStyle:V,textStyles:ee,text:b})=>u().createElement(o.View,{style:V},u().createElement(o.Text,{style:ee,adjustsFontSizeToFit:!0},b));class q extends E.Component{constructor(ee){if(super(ee),typeof ee.size!="number")throw new Error("Size must be an integer")}render(){var yt;const{children:ee,size:b=60,backgroundColor:B=_t.blackLightXX,textColor:J=_t.palette.white,style:W,avatar:de}=this.props,ue=(yt=this.context.settings)==null?void 0:yt.avatarMode;if(typeof ee!="string")throw new Error(`Children must be only a string
125
+ Ex: Technology`);const ke=ee.charAt(0).toUpperCase(),rt=Ft({width:b,height:b,borderRadius:b/2},de?{}:{backgroundColor:B}),ut=Ft({width:b,height:b,borderRadius:6*b/100},de?{}:{backgroundColor:B}),Rt=Ft({width:"100%",height:"100%",borderRadius:8},de?{}:{backgroundColor:B}),ht={color:J,fontSize:b/3.14};return(ue==null?void 0:ue.toLowerCase())=="square"?de?u().createElement(o.Image,{source:{uri:de},style:[W,Me.center,ut]}):u().createElement(Zt,{containerStyle:[W,Me.center,rt,{borderRadius:0}],textStyles:ht,text:ke}):(ue==null?void 0:ue.toLowerCase())=="fullscreen"?de?u().createElement(o.Image,{resizeMode:"cover",source:{uri:de},style:[W,Me.center,Rt]}):(rt.borderRadius=b/2,u().createElement(Zt,{containerStyle:[W,Me.center,rt],textStyles:ht,text:ke})):de?u().createElement(o.Image,{source:{uri:de},style:[W,rt]}):u().createElement(Zt,{containerStyle:[W,Me.center,rt],textStyles:ht,text:ke})}}wt(q,"contextType",Ht);const Me=o.StyleSheet.create({center:{alignItems:"center",justifyContent:"center"},text:{fontWeight:"bold",letterSpacing:1}}),Ae=0,k={ALERT:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAACHklEQVR4AezBEVBDARwH4D8MgmA4DIIgDMLuwiAIgzDILwiDMAzCIAyDMAiDcBgEwSAYDL5wUN22t7d3193v+yoiIiIiIuI/wSF2KrqHNQzxXN0LXJg6ru4EBvgy9Y616kbgzk+XFauHXb8bY6NitfDib/cVq4MTs+1V+wLr+DDbK3rVrsCV+Z1WewKbGJvfJ/rVjsCDxV1XLA/7mplgq5oL9PCmucdqLnBmeQcVi0MfI8sbolexGNxoz3nF/LCNifaMMKiYD56077ZiNhz5bucOLBgGoygKd7ACEHSADBB0gKKADFB0gAyQETJAxiqUu8BDPUd/56xwwfPx+pIvU8WMfdV8KTO2V/OlzNhazZcyY181X8qMDdV8KTN2Jl8WzMgVvpQZmeTLMCPfXWZkC1/KjGxvmbEh+bKBGS9F8uUPzMgOkG4yIztA+FJmxAZIT5mRHSB8KTNiA6RNZmQH+IQvZUZqgHTKjOgAaZYZ2QHClzIjNkBaZUZ2gPClzIgNkHaZER0gXWVGagCeL3lm5AdIi8woX/LMCPeSGeXLmhkH7xiKGf+0aRhmpIL5kmfGAXoMwYxUNF/yzAgcYg1tLDM6QPgSY0YHSCfKjA6QZpYZHSB8iTGjA6SVZUYHCF9izOgAaeeZ0a4sM1r4kmVGW2TGxPOlzMjzpcxI8qXMyHbIjHyTzMgWvpQZeb6UGXm+RJjRfB5rZmZmZmZmZmZfmAE3H7vx0hQAAAAASUVORK5CYII="},ARROW:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABmJLR0QA/wD/AP+gvaeTAAAA00lEQVRoge3TPQ6CMACGYYJh5Rq6cxlZ8D6cQBMGmbyfs/K6tEkh0ABC6fA9e9v38ydJRERERERERMICciDb4J4MyLdoWvJoDXTAGyj/uKc0d3RAvWWj79ELfV+gWnFPZc66zns0Dx8eDlg8YiI+zAAT8Fg7whN/D9FuI1LgOTHi5jl3BT4j517AKdgAE7NoRFTxTtSsEVHGO3HeEVHHW2ZEOzFi7A/bAunR3T2ebyLeT35oxoh44y3PiPjjLTOiceKb6H7zcwAFUBzdISIiIiKyjx/OQ3BIdzaCUgAAAABJRU5ErkJggg=="},AUDIO_MODE_BLUETOOTH:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAAP1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////9Du/pqAAAAFXRSTlMA/28MqyjD59cYv1P722s889N/j8sEQHOMAAABVUlEQVR4Ae3UN2IEQQwDQVLSeW/+/1ZFc51AFoNsETHqyljL/rZly7q736JAWui00Gmh00KnhU4LnRY6LXRa6LTQM4X3j5UA5gnv694gANgC/UYA8AX6QxDA1hDoD0EAO1fYdyMIoFzhcJQCQEgACAkAKQFguiCA2p0QzrYggMu1x66XmiIA+H0pAPh9KQD4fSkA+H0lAPh9LYxrTl8I45jURxCjnxHoZwT6ASHQRwj0EUJ9hFQfIdVHyPX5//ylSD8j0E8K9BFSfYRUHyHVR0j1EVJ9hKn913WUgt+/jOsgBb9f4ywp+H0AKfh9ACn4fQAp+H0AKfh9ACGYfQW83/q1u9lXwPua/mNKHyDUBwj1Adx+PWUfwO3XbktfAUYfYfQVYPQRRl8BVh+BPoDfR3jS1wD9aUv3K92vdL/S/Ur3K92vdL/S/Ur3K92vdL/+11+2bNknS5UVYka69LoAAAAASUVORK5CYII="},AUDIO_MODE_EARPIECE:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAABcElEQVR4AeyWAcTCUBRGhx8/AoQAQwhhCAECIAwBQggAIUAIECCEMAwhQIAAECAABIAwQAghvD50yed1bbWr0OGgXm87tre3Ait+/HDORd8UM4dX2HtxfgYTGJUREztBiaI5I/r8yAaGJVwhJYpioOMg4gRj8yiJ8QS1YQqvFDayiJKxf3jgIJrfggeKii2janJCZX4F7uj2heZRAUNRdKW2MmYWRb9dwAqvK1pTUd4Td+D0iZk3iriP7z1RKyikeYOmUCXH0ycknkUuZAZB/qj7epGxumcXF5oWQerTB8Z0/A0UulZBWtSSjp9CYWAWpERN6PgJFIbWQRzF8C3rWwbNc24JR9qLbIKUzZM3R+EM/97ZGNd6ULF3H1iV9/pQggpEdQJgFlXw3VcNBKuoN/55lh+lBDXg6SNR9H0IZ/ACGfsoDnoScdtuujoKj4NOA7EJtjRFt84o1LLtQOyPJ5r76dnz5SHUGaWV3aNgFAAA/4QUGzAl1qsAAAAASUVORK5CYII="},AUDIO_MODE_HEADPHONE:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABmJLR0QA/wD/AP+gvaeTAAAFGklEQVR4nO2dTahVVRiG32WmSf5lUIF/WImKFwIpIiEzMKKZlUSNatCgCPobFUVEk5pkFBJE0wYRKkjSQI0g7MeyMtSyqAgrNfOaXs3S7u1psI5B1j1rr+U++zvb+z1wuYN19rff73vPOmfvtdZeR3Icx3Ecx3EcZ6wRrAV0AwiSFkm6TtKApDmSZnf+JnZeNl7S+ZIOStrX+f+9pE8kfSrpyxDCSKPC2wwwHbgb2AD8ytnzG/AmcC9wqXV+fQkQgJs7hTpZQ9FHYwR4B1gFjLfO2xxgPHAPsLOHRR+NvcDjwGTrOpgArAA+Nyj8mfwCPMRY6RHALGCjbc3/l93AUuv69BTgduCQcaG7MQK8CExMZ9MigAnAq7a1zeIzYF4Tten5fQAwQ9I6ScsLQwxLel/xun6XpD2SDkkaDCEMApMkXSBpsqTLJc2XtFDSMklLJJ1XeN6DklaGED4oPN4eYC7wVcE78BSwDrgNmHoW559OvOTc0ImZy+/AHXXWpDGAmcA3mQkfAZ6mBzdMwCXAE8BgpqZh4M669fQU4DJgT0aSp4DngIsa0DYVeAo4nqHvT+DWXmurBWAS8HFGcu8Biw10zgM2Zeg8CSxvWmc2wGsVE/oLeBbjGyDgfqoPf/wMzLbU2xXg0YqJnKCPujSwFNhXUfs2+vE+ARgA/qiQwBFgmbXeMwHmAN9WNOF5a73/gjiotr2C8OPAtdZ6R4M4TPJ1hTyGgWus9f4D8FgF0aeAW6y1piD2hAMV8tlBPwzgEa+vj1YQ/LC11qoQvxOqfJw+aK1VwJoKQtcSpxdbA/HqKMU+4lCImch5pG/xDxDHg1oFcZZucwUTHrEUubqCwLvMBJ4lxLGsY4n89gMTLMRNIV5SduPdxoXVDPBMhTfZKgthD1QQdn3jwmoGmEZ6EuktC2FbE6K2NC6qRwBPJnIdBmY2KWgWcSynGysbE9RjiKO7qYuN+0pijyvUtErdZ9N+krSxMHbfEUI4ICn1MXNTSexSA1Yk2teFEIYLY/crryfabwRKpz+rA4wDDie64w09F9IwwMWdz/puLMmNW9IDBiR1m7kakrS1IG5fE0IYlLQ98bKB3LglBlydaP/oHF6NvC3RvjA3YIkBVybaPyyI2Ra+SLQvyg3YCwP2FMRsCykD5uYGLDHgikT7dwUx28L+RPu03IAlBqSWjvxQELMtHE20T8kNWGJA6iTHCmK2haFEe/YqvhIDLky0nyiI2QpCCCcTL8leLZE9SwXQNWAIrZr5yqXu/EuHIpyacAOMcQOMcQOMcQOMcQOMcQOMcQOMcQOMcQOMqd2AxJwpwBCwHlhQ97lLAWYTFxAPpcTXfe7ax4IyOCzpqhDCjzXFK4L4zNcOSbUsIG7TWNAMSasNz3+aF1RT8Uuw7AGSNBRCyJ5FqhNgSAUTKaOR2wOsDTAfvrbOx6+CjHEDjHEDjHEDjHEDjHEDjHEDjHEDjHEDjHEDjHEDjHEDjHEDjHEDjHEDjCkx4HjtKs4dUg9w/IcSA/YWHDNWyK5NiQGbC44ZK2zKPaBkSnJAcRVBLfsinENTkiOKqzx25xyU3QNCCLskvZJ73CiknjpsgroeKnw5t/jFEH8R4+0Ki7BSrG1EcPdc1teQxxaa3jeOaMIa0juIjMYgML9R0f+fxwLyf1PgNMPAS40X/4wEFhN3T9xJeodBiJu8ru2H4p+GuAPYG1TbgPZYJ9fVGGy77ziO4ziO4ziO4ziO47SXvwGJuroKjpZURwAAAABJRU5ErkJggg=="},AUDIO_MODE_SPEAKER:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAADPElEQVR4Ae3cAWQkZxTA8YcgCIIiOBRBEARQBOFQQHA4HA4QHIoiKCAIigACKA7BIQgOwSFYHIJDEBTB4lAsFotfoVTRb+ZtZrc9834A7DDvP2ZmfLMTpZRSSimllFJKKaWUMgg84gwHUdbPPz3hAodR1sO/u8NRLK/gp+ig26clQ9TwIRWg7Rq70V8NPx+g0wyvo1sNPxUg7xKbURrDzwbIu69TUsfwoefvvljOrG5ZG8OHxDZ+wCXm8hH2aviNABl4gSs5U+zV8BsBsnCI+4qQGH47QB42cK6/R2zX8PMBmvA2cW34UMNPBEhepKf6eVXDTwfohj3MdPuKndEPH2JgOMRCt5vRDx9iBfBKP69HPXyIFcG5bvcjG34+AG6xF0nYxINuL8c1/HwAWOA0knCk2+34hp8PAPABW5GAS90ORjn8fABwh43oCTtYaHsf62J4aw6Qf5rFlbZZbgGnAsDPyafkLkeRUgEW2E/s90TbWaRUALgd8No1iaQKkDh14EDbAtuRVgGuEvv+h7bjSKsA875HLq61nUZaBYDjga4D57GUCvBrYuWs5bdIqgCJuyEcJbaTUAG+DHQn9DmWUgF+jx7wfWI7CRXgKfFSV+d28irAQ/SA/dWskFWAT+mLcGM7eRXgInrAm6FvQytA4u0GvOt8nkirAAvsDLQw80ukVYCbxL5Ph39lsQIcJ15b7LITKRVgktjvk+FvQSvAYWK/Pw57Aa4A54l93tftx+itAmTfDbrUNsdWfAtw8R8HmGSGhW3MtV3HX8YVIR/gLnungrPEwv6IIuQDXGAjEnCARX4NYAQREgE+4zCSsIFJ/jliZBH6DHKFLxE/trc/ggiRMfz/xE6iaQQRImHgf0pO2kf/SCLEgLCDqW4z7EbbOCLEQLCLB/28i7bxRIgB4CW+yi9fVoR4JpxgoZ8pXsTfKsIzTzk39fWsZ0aIJGzhHPMa/gARkl/KOsVUzqIx/IoQHXCMGyzkLTrWeStCdLC8p8aRXxFWHOAjvou2ijB8gNQ3JSrCwAHu1SknH2GAAI94G2U1ugaPjVibCjDHNd5gM8rqYYb3OMZWrFepI/3/opRSSimllFJKKaX8CaVMNtxq0OEXAAAAAElFTkSuQmCC"},AUDIO_MUTE:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACK+310AAAHkElEQVR4Ae2cTYwURRTHdxHBD4goLioaJYKJHxB1dUFgwRBBkT2oB6KQ6E0PHkw02YNfFxMTYowelJNHTTR6IX4RjF+QiCKIHnRJMCpEhCACyyKoIK6/F6ZDTW1V93R39Uz3zHvJP9P1uup1vf+/q6unu2a6utSUAWVAGVAGlAFlQBlQBpQBZUAZUAaaykB3U48W4GCjo6M9hJkDLgWTwe9gH9je3d19gk+1IhiA+AfAZnAKuGwE5ztgfhHH79iYEDoVvA3SmNS/sGNJC5U4JC4He9Mwb9QdYvuqUH3puDiQNwv8ZRCaZXMrjcZ1HHkhEoa4DVkYd7R5OER/KhMDApaA18GzYHqWjtNOJtxQdoBAnTEfkOhSizW5M1mYRgTqnwP2WXHyFl9N04fK1oWlNx1MpRKB9nc6YuR1HSZAKeeC0J36yXH2yJel9RDQ6Ei4yxEjr2sKAXrzBimifWgBXqOTxxwdTSPCbEf7EK72F4BHAbthagDkEeHyEGw7YsgjjNJZ6BHQhQgbyXIFyCpCUURdXDr26VBwASRJRNjER1YRinqgNkH6VjYrRABJMocIK2k+UjaiKtsf7n4Wgz+By5y3qFS8DRxxNcjhW1tZEvN2HNJEhKMe8nwizKN+SBE6VwAREDIXtViEzhagARFkhPTbow2fjIRhkNdUgBaLoAJEZzenctzlyDcS5tIuz0hQASIBcoyEPCKoAKYANRH6Oat9d0ehR4IKYAvQZBFUAJcATRRBBfAJkEOEvhQTc2cKAEHXgkHwIDg7QYSF1Ek7J4gI8sYryRIFIMAV4HHwCJgU19dK7COJBeBvENlnbMQ+AGS/iCCPJ1zmm5gbESFWAA42E5i3uTson18Jon2dJIG3gG0LfPUjPw2KECFJgDV2RymvjvpU1Gfs2RjgoK5lKS5f3aF4lP0FjrvB0bodpwtyaZB3zIvMfbTZSnkZGDb9KbZd/XL5UoRMrlq0AMk98NRoQIQPHSJsI1weETy9Kc5dWgEk5ZoIy9n0jYTKi1A6ATirZ5rnGyJspty2IpROAMh+HxFuDCTCUuIcNmOVbbuMAsjqhU8CifANsWROKK0IRQsw6jjjkn4WdZI2U4FPBFk5l2ZOiESQnzHFWVK/4tpm3le0AC6iklYqH6xlE4lwk5kdc8KXlLOI8LwZx7EtyxdtO2Q7QpeLFkB+QGfbNNthlQ8YZRHhYy5HPhFcy1fke4Lr7sg1Go1DdfWYhdr2bw5fUFfRAphkRh13JRrtk8/vzALbcSNB7o4aFsGKaxddK+cqL4BrBFxiZ26VP7XKUrwIyJxws7mvdjnKLQJxxxP3MjN2bXuvw1cdF4mtBrb9EpcBlc8Dvh/mHWRfnQgSC9984FtDJA/w6h5b2MdnvywEs+24Xa9yZTK60s6qVp4Vlwx1XMJFoXwixK2mExEW+47Jvqei4MbnDl/9SvlJaKeRVLT5aFISVNwYVXZ8igi9dgx8mUSg3QeOY7xox69kmcTWOpJbn5QMbeaAfx1tI9chNoKIQBw5lvyYz7S5SX2sxH4yus/Mytgecy23E6LuQ+CE0cbezCKCLBQecznCZ4qwy+5LZcskNhG4JtV1jSRF2zvAbuAzEeEWOxa+uMW9SSK8YMerdBkynvCwN4Y4V6K0lZ+uDoIhTxzfSIhbVxonwmxXP4rwNeX5B6TJu9VdwP6y8yO+Pu7nj/DZkBFL7qDkaanct58LdoIh8DNxTvFZZ9Sfh2MDuKBux+nCMT5W0G6TY197uSDCdauHe/Q9UOiJQPzUI6G92CcbSJgAvgYuewmnilC06pA8A8j12mXrcMrviQsz4s8F5tITsx/OOaGwzrQqMBnfY2ZtbX9P+foi+0Z8FQESHgP/AZedwin/tnJNXiGIMQ7I09Q6w5ckwu11DdqxAAkrgblqjmKdybdg+fOPVcC+e4qlhPpCsMwre4B8w51jN8BXChEKnfjspO0yJMiZJl/Iptj7rLK8TNkOtoD9QB5zy7sGuY2Uf0+UvzcQyEIquUWdAUyTuku43fzBdIoIlD8CvlvUAdpsNNu03TYkTAdvgKJtPwcYM7/g6wO+xb0yMbf/5UjOKhLtB9+CouwfAjufcOJXEWoiyKQ5AOTafwyEsF8J8jSYFnf5YL+KYBIEIZOBPA2V/wAdAidBIyaTrry+fBncC84y48ZtU1dF8BEEOfJNejYYBLbJNXw5yL2amRhxIoi4E3197Ag/BPQC2/aETJ7gtwLfxLwq5LGKXpYSsq9Ni8Wt5zYOtgwMOw4qt8Cda5yZhY+AiN3aSDBfBn2FL+h3J1kPo+ZhQEYChF/N7gEwQvlzT9XMbhUggTpIl5c87yZUy7xb54DM1IVpqAKE4TFzlJZdgri2ykO0Z8ANIM2JMMmRbQ/x0j40O04ceVf8Su0y4wjbpi7IGg/k5UsZ7LlW0pzmzAvZT1n2IWd+Gez+VnaiVQL8QdLyjL8MJn1pmbVEAK658uhgTcuyPnPgETafPFNs/lbQb3Vpu88EcB1t5CVJK04EmYS3cDK0dASk5UzrKwPKgDKgDCgDyoAyoAwoA8qAMqAMKAPKgDKgDCgDyoAyUE0G/gfDlh3WAcXfhQAAAABJRU5ErkJggg=="},AUDIO_UNMUTE:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACK+310AAAGBUlEQVR4Ae2dTahVVRTH3zVT6AvLXkY0qDcpiIhsIKbRTbAGgQ0qHFjOgrSioCiIoKCBGQ6KgoqKICqpSZMiaBBGmUhkhIlNeilE5UekRvUo7PZbvhuet13n6569z97Xsxb83z1n7bXXx3/dc+49X/dNTJgYA8aAMWAMGAPGgDFgDBgDxoAxYAy0ykCv1Wiegg0GgytwNQUuBlLDL2C61+t9x6tJCAYgfRI8C6ZBnvzAwBZwUYgcOusTQh8ER0FVOYbhQ50lzFfhkHgGeLkq64rdK+LDVz6d8wN5zyik1lVt7hxxPgqG5dXg37psK/bi42YfOXXKB6TtUsgcVbWrU+Q1LRaW5d3vW5LcCuY1JSvQ/DsC+L09gM/GLlNtwKrGlZ3qIITPU6PU1CR3JMx+51xqOFazjqrm53G0/HtV4zbsUtwCJgMWHtL3SGmn2IALR6qk2qSQvqtl4Fil2IAFTo4+V0P6HinPFBswUiHjOskaELlz1gBrQGQGIoe3LcAaEJmByOFtC7AGRGYgcnjbAqwBkRmIHN62AGtAZAYih5/fRnzO8d9KnKvBds7Hf9ZGzFFjkOsK5t4AdpPrh6P6SWYeBcmdalm5vyg5DFdmjT0vryyJvcGJt6XIPvkxilkI/naK2l+UOLYxG7DfyVVyX1iUb9Ox0B/CcgHkTCfJS5z1lFbd3CT3oBdxQjcgJXKTzMUaELkt1gBrQGQGIoe3LeA0b8BAqa/sZrB/lDm+VGW+tdy0GnzlMxF6C9DuQpOHLuTutzw5nDfgQZ/re5iT9jCHVoOHVGZdBG3A8DbAGSXbojvUcklS/NRVFfnWniubCX0rY9AGDNk5pLCkFXvCjIKPsrBPmdNUtW/oO8+P9qbQcs+bP5K+jQYcVDJbouiyqk+yK56Wy3xqOWm5e0pn1k0bDfhZyXiZosuq3s+ueFou86nlpOXuKZ1ZN2004HMl49WKLquS08B7soqGy+JLfBaJlpOWe5GP9Mb4drEUuHIcxeKibBlf405qsL6mJNZifEtOrlxXNG8sxqioBw67lbG+vqwAbF5Q5tVVvVghznrFqeTcxh6iLL3m4xTyrlLgnrICGV8A3lHmVlVtFR9FFTA+D0gurrxXNG+sxqgs76nHtWWFMFe2oCfBDKgqYvsU0I5s54TEZm2O01vmGI77CkXuVAqVd16l69LYXQZeA9ruDPUJ+ZW/r4PLq/CF3XzwLXDlyyrzx8qGCvM+VJ+vUwh+5FTGcrAOPAweAXeB64F2KiHXPfbPAU1uy500rgNUKbuSr7Vq0d3ddl3ElKZp8g3K0l1X2/l6iUdh14C/lKpF1/cSpIITYt0I/gSuyGfHtRVcjK8JBd7jVj1clzsQNoaujBhy64l7p8YwhcG9oeMn4Z9q3/q/YuX1VXTn+E5UfAL5/aA82eo7ZrL+YOAs8FEeE+jlm85j4OymReBDYj0KDoE8+ZiBxrGa5trqfAqWr4BvgCI5yOBmcBMoPKDKJi+2oA82gQOgSN5k0L13Kesu6HL0T3uKf5oKn6hQ5R/YfArklxHlNLFAztfLJUO5vjA5fL2S1z6o8o7exDWCx7HtttAEebfuBm2JHHyt6jbrTvUQIgdYD4DfQCg5gmP5BcZKR99Oit1YhZzzwUbwBfAlO3B0H7ggNRajfwYUEQJhU4yvA3K//lXAvXkWlSo/oZWLMHJB5W3289+rVqasxwANWQRWgA+AK6KTsUX1vMa1HqsLDryTj4DtULZXoW2vjImNMpasaqwakCyLDRKzBjQgz8dUa4APFhv4sAY0IM/HVGuADxYb+LAGNCDPx9SoB2J8Z+9TxAYg/4qkjkxhfKkz4UfWpx1d2ar865OX+Oq6rcww1Hi0BkC+3HW2E9S6kB6AiOP4XEYTvgrgu9RlzF3QnWQXm3whSHKQXKJIzAYUPSzRNhlyXSGKxNwFyWNK28DSKJWfDCr/3KHPLijoo0gnw81ditYASYPPAbkUuBwskfUIcoCYOyC/7OG9CKlZSGPAGDAGjAFjwBgwBowBY8AYMAaMAWPAGDAGjAFjwBgwBk4nBv4DPEcPqAPihPYAAAAASUVORK5CYII="},AUDIO_MUTE_COLORED:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAACK0lEQVRIid2VTWsTURSGn3MnbWJ0o250o5vopIlotZqluKtoJwWtS8GiFH+AuizZCP0JLhTEpYofjRaLuigoiBpx0VhHpIouCiKh+FHTJDOniwatdiZNYt14Vofz3jnPfe+dey8EhCadE5rsOxCktRqR4LLsxWdEu47slqkbM0rOYBcGUDLAF0TGxB193gxAgoraM9TBt5kJYJ7vsaOsLd9D6EYF8D3UdCJ6Xtz8cFsAAE07W6jxAvQjSBcQ/X2A+FgclKnR+40AJpRczH9AzCBI97LmiwTw9PgKBsIBAFR5GaoJBtj5d4AOsRrqQmN9RcAqROBvqslsrp5ebqaJ2k4B8Yfk9d1CUwB83Qq04s/GszYFCf98iYIBImWENZSZBbTB95+VnAGiGP3RPADeASl5f2u2nodA/E9se2YDEcSaDpxrUFET/SksfxIkg3gb8a0xROXXeKmAVur5VdB94uYDz0SgA3l7+xVwHfQiVvwxxjsETNed1EAfUCWNSBF0EGEk2GGjTY5UTgNRauVH+KYkbj5BNbaedZvjuLEsEe1F/R3AHMr+sDahlx2Apns3UOu8AAwARaCMyhyii5efksPoE1QmUD0lb+5caQnwE5ToT2F5h0HOgLqIuYQ1n5fieAlA7ew50GE8k6kvb3uhtvNU7b6zy+ogajs3dbszqT1OfKm2KgdNQIlUTgLwlT1LtZAnsw1IcbykHNslXPPaBwgPERP6RvzZ/P+IBZlxuSDYE/aaAAAAAElFTkSuQmCC"},AUDIO_UNMUTE_COLORED:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAByElEQVRIic2Vz0tUURTHP+fMe2+sTZSbwEVQ0fyQJCH8D0IqaCUtdAzaRJt2uZLiEbSNloEKwcxK3AkiVODCNpHQwnGSSP+BMAmy8THe48Io0DszL8bBvqvL/d5zPuf+hi5LUo2yWFm/NILJEPADcQvk7308HsDX2TMkyRvgGhgge4hFOJ5THH/aLlzbAnaTF2ADQAgSAj2YKMoka+UbnQEsVoRRkOxRD1AZ7wywmusDevymKMZAZ4CATEvf2vhtAcegwNtbK8e/W69TZalVVkAeUBhbSQdALqRK/Fc5zJ33GV1fIj/AqCOcol7f5uBA+iX2DYsVyKL2Kz0ANjGKDN7fBtnEDkMMkF3QJb5czAEBFm54a/Cmr1aKKKuIG8IyvYhbwIkgf8YnwHcCrtCwJyDDFEreO+GfQX9pDZjDdBoXvsf0FiobgGE0EHlLwHX2uAo8QnjWZCVabLKLHgJZNFlGbYv82GWi6Cw7P0+TC+/Q4CbGIugU+dJcszStX9Pq7Dk0eQWMAFVM6mA7iBVAspjEFEZfItL0IKT7D6qVIhm7DfIYWMeYwUXz9N/dShWfWrXKBz6XJ/4l5IQu2gkC3uH41JVK/lvtA5HuhLGc3zqoAAAAAElFTkSuQmCC"},CLEAR:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAAM1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACjBUbJAAAAEXRSTlMADKsoPJ8Ew//n879T+8sY13W/vG8AAAEBSURBVHgB7daxAcJAEAPBxxh4DBj6r5ZEibObzMGpgJ1Uo9fr9Xq93rl3Wa6jvPV25/5jPsvCus3lzv1ZEtKfJKQfodSPgP0ItT4JrzlrQvrZrQy8P0Xh0N/WkbngfRe874L3XfC+C953wfsueB8F75vgfRO8b4L3TfC+Cd43wfsmeB8F76PgfRe874L3UfA+Cd6HfwWPzPsueN8F76vgfRC8v31I8P76JsH7Y5jgfRO8b4L3TfC+Cd43wfsmeB8F77vgfRe874L3XfC+C953wfsuZHu1fxSWMvD91fpH4XEZIFT7EdIXodaPkL4JtX6E9EnYS/0Ir/R7vV6v1+uddX+z4icAfdG+MQAAAABJRU5ErkJggg=="},END_CALL:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAAM1BMVEUAAAD///////////////////////////////////////////////////////////////+3leKCAAAAEXRSTlMADKsoPJ8Ew//n879T+8sY13W/vG8AAAEBSURBVHgB7daxAcJAEAPBxxh4DBj6r5ZEibObzMGpgJ1Uo9fr9Xq93rl3Wa6jvPV25/5jPsvCus3lzv1ZEtKfJKQfodSPgP0ItT4JrzlrQvrZrQy8P0Xh0N/WkbngfRe874L3XfC+C953wfsueB8F75vgfRO8b4L3TfC+Cd43wfsmeB8F76PgfRe874L3UfA+Cd6HfwWPzPsueN8F76vgfRC8v31I8P76JsH7Y5jgfRO8b4L3TfC+Cd43wfsmeB8F77vgfRe874L3XfC+C953wfsuZHu1fxSWMvD91fpH4XEZIFT7EdIXodaPkL4JtX6E9EnYS/0Ir/R7vV6v1+uddX+z4icAfdG+MQAAAABJRU5ErkJggg=="},FULLSCREEN_ENABLE:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkAQAAAADJe6U1AAAAAnRSTlMAAHaTzTgAAAAeSURBVHgBYyAeMP5j/4FGHmCwwE0SBgRMwLSReAAALFsVry/+TlYAAAAASUVORK5CYII="},FULLSCREEN_DISABLE:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkAQAAAADJe6U1AAAAAnRSTlMAAHaTzTgAAAAdSURBVHgBYyAB8LHjIRn/sf9AJQkDTF34bSEBAABlZwzHYOP77gAAAABJRU5ErkJggg=="},NETWORK1:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAeCAYAAABe3VzdAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAH6SURBVHgB7Zi9TsJQFMfPuUBijAM+gR3ViTjz1cRdV3VQZ2PAF1DR2fg16GKiDuroA5i0A0wOMpE4WZ9Adtpe/1cwqbVFG9JQDf/kptxzDpcfpz2nvWVKiBqNxo7rulVmzmLalFJuFQoFkykBqtfrhzhU/XZA6kMHNAwjl8lknkLcpqAhK5VK5fq4y0MH/EmJB0xTjPJVptnpdNZ1XbeirBFbBlVlogp3e3BK5XQ6jZowslHWiQUQEBoFtA3AaoCsUgTFAggILcwnhJiiCBpV8aAaAQ6q/9eo0XwraL6f/c3E2Mrn802KSZEyCLhdNN8jb/PFMNCUcxSTfg2I5quez3YCXFkAVygmRcmgFuYAuEYxaVTFg+pvtJnq0yLZ4xO4lphc16az2VtKisRGa5nANYnPqxgVYipvPK9QUqROseaMTTwifRfI30GKxQNs25utJUqCBAu6QKPQvEaWtI1DiRIgZJADQSTzAiVAgiS9BTlQMG2fSc0DYyHLO7Ft2wqJQxG6r9457kKhsVBTMMt9xfPFDGiHnWuvCbuxtuM4ewGLSOzWar5YCyBX3wKltAB/6bWp9y9BsdT9MzVxOn1zwi4Bkl8+0Fxp4sqcP5+5s/xfKJVKR/iRGkY3FrdowM0FbSWLxeIa4o4VVM9kAk7vE1vzxqr3MrDfvwNBx9Y/T8rRYQAAAABJRU5ErkJggg=="},NETWORK2:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAfCAYAAACVgY94AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHqSURBVHgB7Zg9TgJREIBn3i4FxoIbSKlWeABQPICaWPkTo7FECfEAKB4AjRZSEbRQS2NvFhLoSMAGtRJPoJ0FyxvnKQVhdzUvZMPG8CWEffMmux+bnYEBIOAgBIRarXYopcwgYoSXTT7OJRKJu0AIVqvVE37LDMaJKDlyQcuyYqFQqOGxXRYwYgzDiP2yvTBywb8IvKAJPjJQmeVOp7OTTCbbOufw7Q6qyuQqPOrJKRZM0+SasCI65/FFkCWi4NI2WDbKkhnQwBdBloh67QkhpkCDcRUPy1hwWP5fo049r6eRRBaQuJ9Rxf6Uu4W52zb4hNYdTL1sZBEw/yOnwHkzbNQzjRWt5quDliASbrmEI53wxBb4hOYzSFG3KBLEwCfGVTwsY8Fh+e6Dqk3YE5NLRBiR0n68mL2pQEAQqdb6lB2erPOMV0SQeUOIh72nzTwEBIECio72gZTeb63NQwAQ6tvAbYMQlyEACCD4cNvg59EZ98pFaPavbdtugwc8RL31r3kM8MxlGgKRjgejCNTuYvfKEffKJXnfH1OTG4tcDubyEPXK8qX+WDweL3NuCZxwOh2I8+nrM5TAF+59EkkVQrFamHH+QtHJ5T9+tvkCp0qKX+8cslhu0W3s5NwdzsmpXCWmcvl4Ucl/AS1A0EV7spGmAAAAAElFTkSuQmCC"},NETWORK3:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAeCAMAAABpA6zvAAABDlBMVEUAAAAA/wCA/4BV/1WA1YBt20lmzGZt21twz2Bp0lpo0V1v01lt0Vts2F1q1Vxr11dp2Fxq01dt1Vtr1Vm+w75t1Vi1xbG3y7Nu2Fps2Vtt1lyqyaOlyKFt2Fpt1lxs2Fxt11xr2Fps1ltt11ps11u5xbdr1lts1lpr11y7xrlt2Fxs2Ftt11ts1lpr1lts11ts1lpr11ts11ps1lps1lts1lumy6Cly6Bs11pr1lutyaquyaps11ts11ts11u7xrpr11u8xrts11ts1lps11ts11ts1ltr11u1x7Js11u0yLJs11ps11ps11u7xrm8xrps1lrDxcNs11ts11vCxcLDxcLDxcPDxMPExMT///8r1ctVAAAAV3RSTlMAAQIDBgcKDhARFhccISQmJykqKy8xPkBBSUtLT1teYWdpamxtbnBxcnR1e4GCg4aQkayts7S0tri8y8zT1NfX2Nja3N3n6Ovr7Ozw+Pn6+vv7/P3+/v5u9dgoAAAAAWJLR0RZmrL0GAAAAOZJREFUOMvN1MdWQlEMheGNigV77w2uvfeGqCjoxc6vmPd/EgdnoI5yRi4yzTfaK9mSN20nLx+1GflzYWbWGHfdyJeZmd24cMnMzOzdhWsBWhPC9qm5/hjYV4bn9Qh4BvA26sLsEwCrLuwCgK1/g5nk+vF0KAIuA1RyPrwFoODCljoAuy5sDdu9JoTZyfnhGNhThPpOBNwHYMKHKQDbf3PsDHDz97uWAEgkqQxAXpIqAMz+FMCV8gDVbklKAKo5SdoAuOuQpHMzs8aYMgvF9GgwXM/iZXo4EBJYKd0f9IaSOn79fJjWN5UXmsivB3+sAAAAAElFTkSuQmCC"},NETWORK4:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAeCAYAAABe3VzdAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIJSURBVHgB7Ze/axRREMe/M2uRHAHPv+Cuu/MaEewvYK8WaRKOC2glSU7JH3BFrBW9iz+aCDmSnBaC9hZaW6hNEgtx/QtiQLDZfeO8FwjJ7iZkORZewn1gYZmdN/t9v+bNI3jC/e3ZZsDUBahJoNCQDJ7XNlcIHrCwPVchpp9Ju7AsMzyAwA8y7Ya6XgjUkbp8wqeyFwJPYyxwVLwXeAkF4/JbEFSMmP0X9a0PyElhAh9+vVOOJkvvbOKFiE4VYWm3FQb//t54ev39n7PGKWyK48lS24k7gkCq0USpixwUJlCA21l2Ir6FHIx38ahcvDSzsDvX0XXU0Z1Z1YX2HUzPVmsbAxRErhFc/NFqa632xImzEK7p++ulndkmCiLfFIuZzzQzdVAQOdcgVzLNMcooiPEuHpXzkWb0YEdUmnKGOI7xsjGEL7DeqCCEK/o+7x7C9OJOy4vbnsVOcTWemPqi+WzNPgHxR7U91pwHH2BirGkmqx6zkti81oYHcLJmO8SYaXgA63m6d8K3jKrX/MZZEWRWzWLSMfSCvp/lS5CQieSRC3c8+F4E00u3kPWUrz3pOO6lXSXd3hK4GAkb1jM7ZGjA/fpWjwxUJP1yPzfyicTMvLr6Jkz6r9aGA+3uvUNfwTdGNNOrv01dhvqN4Wf1vQujFc+B5FBHZNnFSMXdsFXRzaRvv7G58h/5AKz4Lj7ucQAAAABJRU5ErkJggg=="},PEOPLE:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAABXklEQVR4Ae3WAWTjUBjA8aA4DAMMxXAooDgMh3IoDoficBgGOAQHGIoBisMwDMMAw1AUBQwwQABDMQxDEQzFbwBP+mzJkrBNfhT4Pu+vkifJe9HpdNDHDEuskGGGvcLcCBlWmOMEu03H/MFaXI5JMNtDJsQ9xk3GvOYJg2BnYtsGo7oxO3hQzm3hX8pty+oGTVTTD3YX4r7VCZqq5leweyHusE7QP9UcBbvn4n7XCfqhmu/B7rW4r3WCdvGonBV6we7atrukLkyUE95FY9s2OEiagBmIy3FUmL+JxKRJkzDCAk+ADJfYj8w9BLFXGCafGnoY4CcOg9+4zFsTn6kI+zjGErmXrTFHir2kAAe4wwIp+lWflaW32+C6+NxgiDw+E4EdnGnOBieFuyl9cSaEuXacBmd8Eb9oz4sxY+0alPgKGIZBx9r1Nzjrv7g0DJpq17TEWdOPG9QFdTqdFj0DdF7DWEFPa9AAAAAASUVORK5CYII="},PIN:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAAD4/042AAABSklEQVRoBe1XMQ7CMAxsOlfiA4gP8AD2bv0GA8x8hJ3vUcTMCyhnxFDqIXHtRK3kSB5I7bPvLoVQVb5cAVdApMAwDB2iR1ivOwA70TBIDtICNOlRs5XWJeb3IYRdYu43rZYkLzF3DoETiDwykCFnz1Jc8RGaNqAXYbon+Ywjo5phjgOS+bLnOoHsEkcauAMRgbI/dgeySxxp4A5EBMr+WOUAfoQb7YRaDBUBDL/XEtBiaAkcDQhYYMjHgPUt4o3QLsJo5RMoKqgh4qmdfFRPWHlJoEGDOCBuCAvlAfO3CJOwqUfyl0PyXZxaKUwTl6b+T6jFyAsrcAILM8RmHLwuG3pnRutlg8xR/AhxTcruuANl9ebd3AGuSdkdd6Cs3rybO8A1KbvjDpTVm3dbvQOcktEObqLX0W30YgRbFuZHYp3Dl5XKu7kCsxX4AP8MrV2ixb6jAAAAAElFTkSuQmCC"},SWITCH_CAMERA:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAA4CAYAAABE814IAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAARKADAAQAAAABAAAAOAAAAADfM+xLAAAFQklEQVRoBe2ZW4hVVRjHncYy1DCNMoOuzkQRNmVKEHShtId6KosiiBworKALIhSETWmRED31MF2IzCgmuhH2kEn20IMP2XWKLA0OdrdCYqy8jafffzjrsM5p77X2Za3pnNgf/FmX71vf+r7/WXvvb+8zZUolFQMVAxUDFQPBGOgJ5snjqF6vz8FkAKid6jEfR78HjPb09Oz22HaXGiKmgafAIZBXxlnwMjimu7JOiZZE5oKPQFnZjoPTU7bpjmkSmAlCkGHI3EHn+O7Ivi1KAp8ONplMArYf4mt223adPSTgc4ACjyVf43hxLBYyPWUIQHY3gctAH5gPZoB20dy09slI4wP43Zvg+yBzNbATfAKGeVL9RRtGIGMAbAXdKrsI/JqsbDhPCI70i38FTs7qsEPtVNcs5KR87ovvCI/BEPpuJ0Mp9oJhfmDnAZCh0wAHP2MzV4b/EzmTU7LDlUtqCQ0Zqg5jkfEbvkeBbnzCGNBe88Al4CwQQ/pxWowQFmpxaNmKwyfBa/xSehokCj/GGShuA3eD6YlGxSaL50RQS0FIeShvDmw+D7wRMIg1vhh8N1Xf+jz6Z21jkpwK+sAScCU4wdarzyn6iWYZWKvxZEhMQraRgIonI4MkLRL6gRL8Duh63gw2gV+Y/xFsBOcxnhBIqYMHGTzRmPpvGoIqc8ncqajxcS7YC4wcMB1PK7shcKTJnn4v2ALKiPeSMfv9q2XXooS8aDvDz80lMniPtc3SgP4CcLiEPy8hoS+ZLyHjdpsQjrsIarl/2HpP/3L0K4wNvvSoftWMY7QhCdGL1nUE/WdCoHp86kWriKzjRJxkLdxg9YN3QxJyK2RsT4qQ+X3MXw/+SNJ75mahv8uyeZ/+fmsctBuKkGdI+hVXZOi/Rd88/i7bBN2AmcOPXuU/NuPQbShCXs8Y2Ebs6hltbbMF9oC+6pMokvouk3M3vUmONNZ8z684bNYzv5L+cY3xpbTNp4axcbS6H4nAY/EzC7/mklMNYz4OqbQP9cPiKkUIoOhjV8VWU/BT9NvqvU0njg7+F4Gsj+I1DlcTqhjMnti26Wdt46zDsYyGB7HLc+qcbmMQor8fTrN2LUrIo/hpJ9dyO1EJq5J9umWy5CAGIQrpKisuvaf8bo2zdvV9ZARSeh0LHkd3oUOfWxWLkGtNJNwI9TFolRnnbHUTfiRpDUQtY/6eJF2ZuViEXEHAF5nAIGU9/S1mnLO9D19X22sYz2f8nD0Xqh+LEMX3GIHbN7sbmHuzQODysQFfp2ot7dE0ep9RBRtcYhKib6MPm4h16QBdSrcAU08Ytd3+zeAlcAd4u6GYQ/sOZCynVXF3Pogi9i/YsgGbL2Xi3ZbJ/AMVVYMQ8YK9FN8zGSupheACoIRrQG/LI9jvodVp0A31VzBb4wCyFt/62JQqoSrVtA1E+HoS66ddTTAiSJ8GVWV+0ICm0kRV6FFpyhjzMS8ZO94HGGyDmCX2pKuP7cXo9cie4bILrYt9Qux4dXlsJtFPad8CSrYGdgPJKUBPj7PBIIh2n8B3qrgIOZS6qpxCH5CFoYabw7SCK5aGaenGm5MriFrp7bM50GU7WZeuNydXILsI1P4bIVt6nW3V8iaeFGoqITwJxlkwmrSoS+f2E3fiJ047n1RCGkb328Zd3l/HjzxR37jySC3MzCKeCs/TX27GXdp+QdyLIWSfL37fCVERpUfgjeAHn7MO1OuD9GqwKAsZit97QmQk4aSoYlTF2QdUL0xqwcR+WUVf0GpAN9BvIGKMtpKKgYqBioGKgYqBioHOY+AfLnJU7lv5Hu4AAAAASUVORK5CYII="},SWITCH_TO_VIDEO_CALL:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAAAXNSR0IArs4c6QAAIABJREFUeF7t3O125DayLNDu939oz5K9NFbLkoofSBCB3PevqkBiZ5CILp+5v3/5fwQIECBAgEA7gd/tdmzDBAgQIECAwC8FQAgIECBAgEBDAQWg4dBtmQABAgQIKAAyQIAAAQIEGgooAA2HbssECBAgQEABkAECBAgQINBQQAFoOHRbJkCAAAECCoAMECBAgACBhgIKQMOh2zIBAgQIEFAAZIAAAQIECDQUUAAaDt2WCRAgQICAAiADBAgQIECgoYAC0HDotkyAAAECBBQAGSBAgAABAg0FFICGQ7dlAgQIECCgAMgAAQIECBBoKKAANBy6LRMgQIAAAQVABggQIECAQEMBBaDh0G2ZAAECBAgoADJAgAABAgQaCigADYduywQIECBAQAGQAQIECBAg0FBAAWg4dFsmQIAAAQIKgAwQIECAAIGGAgpAw6HbMgECBAgQUABkgAABAgQINBRQABoO3ZYJECBAgIACIAMECBAgQKChgALQcOi2TIAAAQIEFAAZIECAAAECDQUUgIZDt2UCBAgQIKAAyAABAgQIEGgooAA0HLotEyBAgAABBUAGCBAgQIBAQwEFoOHQbZkAAQIECCgAMkCAAAECBBoKKAANh27LBAgQIEBAAZABAgQIECDQUEABaDh0WyZAgAABAgqADBAgQIAAgYYCCkDDodsyAQIECBBQAGSAAAECBAg0FFAAGg7dlgkQIECAgAIgAwQIECBAoKGAAtBw6LZMgAABAgQUABkgQIAAAQINBRSAhkO3ZQIECBAgoADIAAECBAgQaCigADQcui0TIECAAAEFQAYIECBAgEBDAQWg4dBtmQABAgQIKAAyQIAAAQIEGgooAA2HbssECBAgQEABkAECBAgQINBQQAFoOHRbJkCAAAECCoAMECBAgACBhgIKQMOh2zIBAgQIEFAAZIAAAQIECDQUUAAaDt2WCRAgQICAAiADBAgQIECgoYAC0HDotkyAAAECBBQAGSBAgAABAg0FFICGQ7dlAgQIECCgAMgAAQIECBBoKKAANBy6LRMgQIAAAQVABggQIECAQEMBBaDh0G2ZAAECBAgoADJAgAABAgQaCigADYduywQIECBAQAGQAQIECBAg0FBAAWg4dFsmQIAAAQIKgAwQIECAAIGGAgpAw6HbMgECBAgQUABkgAABAgQINBRQABoO3ZYJECBAgIACIAMECBAgQKChgALQcOi2TIAAAQIEFAAZIECAAAECDQUUgIZDt2UCBAgQIKAAyAABAgQIEGgooAA0HLotEyBAgAABBUAGCBAgQIBAQwEFoOHQbZkAAQIECCgAMkCAAAECBBoKKAANh27LBAgQIEBAAZABAgQIECDQUEABaDh0WyZAgAABAgqADBAgQIAAgYYCCkDDodsyAQIECBBQAGSAAAECBAg0FFAAGg7dlgkQIECAgAIgAwQIECBAoKGAAtBw6LZMgAABAgQUABkgQIAAAQINBRSAhkO3ZQIECBAgoADIAAECBAgQaCigADQcui0TIECAAAEFQAYIECBAgEBDAQWg4dBtmQABAgQIKAAyQIAAAQIEGgooAA2HbssECBAgQEABkAECBAgQINBQQAFoOHRbJkCAAAECCoAMECBAgACBhgIKQMOh2zIBAgQIEGhdAP7666+/RIAAAQIpAr9//279zk6ZU8p9tgiTgz4lju6TAIGzAkrBWTGffxfYugA4+AWdAIFOAspAp2nf3+uWBcDBfz8YViBAIFdAEcid3cw736oAOPhnRse1CBBYXUARWH1Cz97fNgXA4f9skFydAIE1BZSANeeywl1tUQAc/itEyT0QILCqgBKw6mSeva/4AuDwfzZArk6AQIaAEpAxp5l3GV0AHP4zo+JaBAikCygB6RMce/+xBcDhPzYIViNAoIeAEtBjzkd2qQAcUfIZAgQIbCKgAGwyyAHbiCwA/vU/YPKWIECgrYASUDf6t/MpxVcBqMuBlQkQILCkQMoBtSTeDzf1/o/TFN+4AuBf/2mPhPslQGBFgZRDakW7r+7p49mUYqsApKTLfRIgQGCgQMohNXDLZUt9/odpim1UAfCv/7L8WpgAgWYCKYfU6mP56lxKsVUAVk+X+yNAgECRQMpBVbT928t+94/SFFcF4HYELECAAIFMgZSDakXdn36RTnFVAFZMlnsiQIDABIGUg2oCxalLvPrP0SmuCsCpsfswAQIE9hFIOahWEn91+L/da4prTAE4gr5SSNwLAQIEVhdIOahWcTx6DqW4KgCrJMt9ECBAYLJAykE1meXLyx09/P0CUDCtM/gFl7ckAQIEthNQAI6N9Oz5k+LqF4Bj8/cpAgQIbCeQclA9CX/28PcLQMG0rgyh4DYsSYAAgW0EFICfR3n13Elx9QvANo+yjRAgQOCcQMpBdW5XYz599fD3C8AY/z9WuTOMgtuxJAECBOIFFICvR3j3vElx9QtA/CNsAwQIELgmkHJQXdvdtW/dPfz9AnDN/cdvjRhKwW1ZkgABArECCsCfoxt1zqS4+gUg9tF14wQIELgnkHJQ3dvlsW+POvz9AnDM+9SnRg7n1IV9mAABApsKKAD/DHb0+ZLi6heATR9s2yJAgMArgZSD6tU+7vx99OHvF4A70/jmuxVDKrhNSxIgQCBGoHsBqDpXUlz9AhDzqLpRAgQIjBVIOajG7rrmZ/+P95jiqgBUJMuaBAgQCBBIOahGU1b9y//9PlNcFYDRybIeAQIEQgRSDqqRnNWH/9u9prgqACOTZS0CBAgECaQcVKNIZxz+CsCoaX1YZ9bgCm7dkgQIEFhSoFMBmHmGpLj6BWDJx9JNESBAoF4g5aC6KzHz8PcLwN1pffH92QMs2IIlCRAgsJRAhwLwxNmR4uoXgKUeRzdDgACBeQIpB9VVkScOf78AXJ3WD997apAFW7EkAQIElhDYuQA8eWakuPoFYInH0E0QIEBgvkDKQXVW5snD3y8AZ6d14PNPD/TALfoIAQIEogR2LAArnBUprn4BiHpc3SwBAgTGCaQcVEd3vMLh7xeAo9M68blVBnviln2UAAECSwvsVABWOiNSXP0CsPTj6eYIECBQJ5ByUL0SWOnw9wvAq2ld+PtqA76wBV8hQIDAUgI7FIAVz4YUV78ALPU4uhkCBAjME0g5qL4TWfHw9wtAQX5XHXTBVi1JgACBKQLJBWDlMyHF1S8AUx4zFyFAgMB6AikH1We5lQ9/vwAU5Hz1gRds2ZIECBAoFUgsAAlnQYqrXwBKHy+LEyBAYF2BlIPqXTDh8PcLQEHeUwZfsHVLEiBAoEQgqQAknQEprn4BKHmsLEqAAIH1BVIOqqTD3y8ABblPC0ABgSUJECAwVCChACS++xNc/y4qQ9NUuFhiCAo5LE2AAIHbAqsfVKnv/dVd34OjANx+hCxAgACBTIGVD6rUw99/Aih4FpLDUMBhSQIECNwWWLUApL/vV3X9HBi/ANx+hCxAgACBTIEVD6r0w98vAAXPwg6hKGCxJAECBC4LrFYAdnnPr+b6XUD8AnD50fFFAgQIZAusdFDtcvj7BaDgmdgpHAU8liRAgMBpgVUKwG7v91VcXwXCLwCvhPydAAECmwqscFDtdvj7BaDgYdkxJAVMliRAgMBhgacLwK7v9addjwbALwBHpXyOAAECmwk8eVDtevj7BaDgIdk5LAVcliRAgMBLgacKwO7v86dcXw780wf8AnBWzOcJECCwicATB9Xuh79fAAoejg6hKWCzJAECBL4VmF0AurzHZ7tejbhfAK7K+R4BAgTCBWYeVF0Of78AFDwUncJTwGdJAgQI/EdgVgHo9v6e5Xo30n4BuCvo+wQIEAgVmHFQdTv8/QJQ8DB0DFEBoyUJECDwf4HqAtD1vV3tOirCfgEYJWkdAgQIhAlUHlRdD3+/ABQ8BJ3DVMBpSQIECPyqKgDd39dVrqMj6xeA0aLWI0CAQIhAxUHV/fD3C0BB+IWqANWSBAi0FhhdALyn/4nTaNeqkPoFoEq26bpvwfcSaDr8D9uWg4wMjDyoPPf/znyka2WSFIBK3WZrv4fei6DZ4L/YrixkZGDUQeWZ/3Peo1yrU6QAVAs3Wf9j4L0Mmgz9h23KQ0YGRhxUnvf/znqE64wEKQAzlDe/xueweyFsPvAD25OJA0gLfOTuQeVZ/3qId11nRUMBmCW96XW+CrqXwqbDPrEtuTiB9eBH7xxUnvPvB3fHdWYcFICZ2ptd67uQezFsNugL25GNC2gPfOXqQeUZ/3lYV11nR0ABmC2+yfV+CriXwyZDvrEN+biBN/GrVw4qz/frAV1xfb3q+E8oAONNt1/xVbi9ILaPwMsNyshLoiU+8GpOn2/Ss31sbGddj606/lMKwHjTrVc8Emwvia0jcGhzcnKI6fEPHZnT+016ro+P64zr8VXHf1IBGG+67YpHQ+1FsW0EDm9MVg5TPfpBc6rhP+pac/XjqyoAx61af/JMoBWA1lH5e/PykpGBI3PyPJ+f5RHX86uO/4YCMN50uxXPhtkLY7sInN6QzJwme+QLr+bkWb42lleu11Yd/y0FYLzpViteCbKXxlYRuLQZubnENv1L/tcaNeRX8l9zJz+vqgA8oR5yzashVgBCBlx4m7JTiDtw6e/m5Bm+h3w1//euev7bCsB5sxbfuBNgL48WEflxk/KTkYGv5uT5vT+7O/m/f/XjKygAx63afPJueL1A2kTl243KUEYGPs/JsztmbnfzP+YuXq+iALw2avWJEcH1EmkVmS83K0cZGfg4J8/tuJmNyP+4u/l+JQVghnLINUaF1oskZOCFtylLhbgDl36fk2d2IOrJ/xns2CufW00BOOe17adHvbDfgLxMto3J4Y3J02GqRz/4NifP6/gRjMz/+Lv7d0UFoFI3ZO3RYfVCCRl84W3KVCGupZcXGJ3/qg0rAFWyIetWBFUBCBl+4W3KVSGupZcXqMh/xaYVgArVkDWrQqoAhASg8DZlqxDX0ssLVOV/9MYVgNGiIetVBlQBCAlB4W3KVyGupZcXqMz/yM0rACM1Q9aqDqcCEBKEwtuUsUJcSy8vUJ3/UQAKwCjJkHVmBFMBCAlD4W3KWSGupZcXmJH/EQgKwAjFkDVmhVIBCAlE4W3KWiGupZcXmJX/uxAKwF3BkO/PDKQCEBKKwtuUt0JcSy8vMDP/dzAUgDt6Id+dHUYFICQYhbcpc4W4ll5eYHb+r4IoAFflQr73RBAVgJBwFN6m3BXiWnp5gSfyfwVFAbiiFvKdp0KoAIQEpPA2Za8Q19LLCzyV/7MwCsBZsZDPPxlABSAkJIW3KX+FuJZeXuDJ/J/BUQDOaIV89unwKQAhQSm8TRksxLX08gJP5/8okAJwVCrkcysETwEICUvhbcphIa6llxdYIf9HkBSAI0ohn1kldApASGAKb1MWC3EtvbzAKvl/BaUAvBIK+ftKgVMAQkJTeJvyWIhr6eUFVsr/T1gKwPJRen2Dq4VNAXg9s90/IZO7T9j+fjxYf/+OOFsjbvIN2qHyddxWe9GalRfjm4BcykFngRXz/9U8FIDglK4aMmUtOFSDbl02B0FaJlJg1fx/xlQAIuO15r+w3ikVgNBQDbztlV+A8jlw0Jb6UmDl/H+8YQUgMMCrh8sLNjBUg29ZRgeDWi5KYPX8v2MqAFGxWvtf/n4BCAtT4e0mvAAV1cIANF86If9//9/qpMzJw5px+L/lyaxSnqq6+0x5AcpqXQY6r5ySfwUgJKUpgVIAQgJVfJvyWgxs+aUFUvKvACwdo39uLiVM/hNAQJgm3aLMToJ2mSUFUvKvACwZn39vKiVIHxn9rLp4qCbcntxOQHaJZQVS8q8ALBuhvH/5+wVg4TBNvrWUF+BnFuV1clA2vVxK/hWARQOYEqCv+LxEFw3VxNuS34nYLrWcQEr+FYDlopP7L3+/ACwYpoduKeUF+B2PEvtQcDa5bEr+FYDFApcSnJ/YvDwXC9UDtyPHD6C75DICKflXAJaJTP6//P0CsFCYHr6VlBfgKyZl9pWQv38lkJJ/BWCR/KYE5giXl+YRpb0/I897z9fufhZIyb8CsECSU8JylEoBOCq17+dket/Z2tlrgZT8KwCvZ1n6iZSglCJYnECAgGIbMKRFbjHlva4APBiYlJA8SOTSBJYSUAKWGseyN5PyblcAHopQSkAe4nFZAssKKAHLjmaZG0t5vysAD0QmJRwP0LgkgQgBJSBiTI/dZMo7XgGYHJGUYExmcTkCcQJKQNzIpt1wynteAZgWiX3+d/4TyVyKwNICSsDS43ns5hSAwfTpD1pKIAaPzXIEthdIfzdtP6AHNpjyvvcLwIRwpIRhAoVLENhSQAnYcqyXN5XyzlcALo/42BdTgnBsNz5FgMB3AkqAbLwLpLz3FYDCzKaEoJDA0gRaCSgBrcb97WZT3v0KQFFeUwJQtH3LEmgroAS0Hf3/N57y/lcACrKaMvyCrVuSAIFfv34pAb1jkHIGKACDc5oy+MHbthwBAp8ElIC+kUg5BxSAgRlNGfrALVuKAIEfBJSAnvFIOQsUgEH5TBn4oO1ahgCBgwJKwEGojT6Wch4oAANClzLsAVu1BAECFwSUgAtowV9JORMUgJshSxn0zW36OgECNwWUgJuAQV9PORcUgBuhShnyjS36KgECAwWUgIGYCy+VcjYoABdDlDLgi9vzNQIEigSUgCLYhZZNOR8UgAuhSRnuha35CgECEwSUgAnID14i5YxQAE6GJGWwJ7fl4wQITBZQAiaDT7xcyjmhAJwMRcpgT27LxwkQmCygAEwGn3i5lHNCAbgQipThXtiarxAgMEHA4T8B+cFLpJwRCsDFkKQM+OL2fI0AgSIBh38R7ELLppwPCsCN0KQM+cYWfZUAgYECDv+BmAsvlXI2KAA3Q5Qy6Jvb9HUCBG4KOPxvAgZ9PeVcUAAGhCpl2AO2agkCBC4IOPwvoAV/JeVMUAAGhSxl4IO2axkCBA4KOPwPQm30sZTzQAEYGLqUoQ/csqUIEPhBwOHfMx4pZ4ECMDifKYMfvG3LESDwScDh3zcSKeeAAlCQ0ZThF2zdkgQI/Pr1y+HfOwYpZ4ACUJTTlAAUbd+yBNoKOPzbjv7/G095/ysAhVlNCUEhgaUJtBJw+Lca97ebTXn3KwDFeU0JQjGD5QlsL+Dw337EhzeY8t5XAA6P9PoHU8JwfYe+SaC3gMO/9/w/7z7lna8ATMptSiAmcbgMgW0EHP7bjHLYRlLe9wrAsJG/XiglFK934hMECLwJOPzl4CuBlHe9AjA5vynBmMzicgTiBBz+cSObdsMp73kFYFok/r1QSjgeoHFJAhECDv+IMT12kynveAXgoYikBOQhHpclsKyAw3/Z0SxzYynvdwXgwcikhORBIpcmsJSAw3+pcSx7MynvdgXg4QilBOVhJpcn8LiAw//xEcTcQMp7XQFYIFIpYTlK5UV5VGrfz8n0vrO1s9cCKflXAF7PcsonUgJzBEMBOKK092fkee/52t3PAin5VwAWSnJKaF6RKQCvhPb/uyzvP2M7/F4gJf8KwGIpTgnOT2wKwGKheuB25PgBdJdcRiAl/wrAMpH590ZSwvMdnQKwYKgm35IMTwZ3uaUEUvKvACwVmz1KgAKwaKgm3lbKC/ArEvmdGJRNL5WSfwVg4QCmhOgzoRfowqGadGuyOwnaZZYUSMm/ArBkfLJ/CVAAFg/VhNtLeQF+pJDbCcFocomU/CsAAYFMCdM7pRdpQKiKb1Fmi4Etv7RASv4VgKVjlPlLgAIQEqrC20x5Ab4RyGthEJounZJ/BSAooCmh8kINClXRrcpqEaxlIwRS8q8ARMQp65cABSAsVAW3m/AClNOCwVvyb4GE/P99nynz8rDmlACzSnmq6u5z9RegjNbN3soKwPAMeGD/JF35BWtWw+Mft6B8xo3MDQ8UWDn/H7fpF4CBQ5+91KohUwBmJ2G968nmejNxR/MEVs3/ZwEFYF4mSq60YtAUgJJRRy0ql1HjcrODBVbM/1dbVAAGD/6J5VYLmwLwRArWuqZMrjUPdzNXYLX8f7d7BWBuLsqutlLgFICyMccsLI8xo3KjBQIr5f+n7SkABcN/aslVQqcAPJWAda4ri+vMwp3MF1gl/692rgC8Egr7+wrBUwDCQlNwu3JYgGrJGIEV8n8ESwE4ohT2mafDpwCEBabgdmWwANWSMQJP5/8olAJwVCrsc08GUAEIC0vB7cpfAaolYwSezP8ZJAXgjFbYZ58KoQIQFpSC25W9AlRLxgg8lf+zQArAWbGwzz8RRAUgLCQFtyt3BaiWjBF4Iv9XcBSAK2ph35kdRgUgLCAFtytzBaiWjBGYnf+rMArAVbmw780MpAIQFo6C25W3AlRLxgjMzP8dFAXgjl7Yd2eFUgEIC0bB7cpaAaolYwRm5f8uiAJwVzDs+zOCqQCEhaLgduWsANWSMQIz8j8CQwEYoRi2RnU4FYCwQBTcrowVoFoyRqA6/6MgFIBRkmHrVAZUAQgLQ8HtylcBqiVjBCrzPxJBARipGbZWVUgVgLAgFNyubBWgWjJGoCr/owEUgNGiYetVBFUBCAtBwe3KVQGqJWMEKvJfsXkFoEI1bM3RYVUAwgJQcLsyVYBqyRiB0fmv2rgCUCUbtu7IwCoAYcMvuF15KkC1ZIzAyPxXbloBqNQNW3tUaBWAsMEX3K4sFaAWLPk2J8/reNhR+R9/Z3+uqABUC4etPyK4XihhQy+4XTkqQC1Y8n1OntmxuCPyP/aOvl5NAZihHHaNu+H1MgkbeMHtylABasGSH+fkuR0HfDf/4+7k55UUgFnSYde5E2AvkrBhF9yu/BSgFiz5eU6e3THId/I/5g6OraIAHHNq+amrIfYSaRmXPzYtOxkZ+GpOnt/7s7ua//tXPreCAnDOq92nrwTZC6RdTP6zYbnJyMB3c/IM35vflfzfu+K1bysA19xafetsmL08WsXjy83KTEYGfpqT5/j6DM/m//qV7n1TAbjn1+bbZwLtxdEmFt9uVF4yMvBqTp7la3N85Xpt1fHfUgDGm2674tFQe2lsG4HDG5OVw1SPfvDInDzP50d0xPX8quO/oQCMN916xSPB9sLYOgKHNicnh5ge/9CROb3dpGf63KiOup5bdfynFYDxptuv+CrcXhbbR+DlBmXkJdESH3g1p4836bk+PrIzrsdXHf9JBWC8aYsV/R8PtRjz5U3Kx2W6qV88e1ApAcfGc9b12KrjP6UAjDdts6L/CVGbUZ/eqGycJnvkC1cOKiXg9aiuuL5edfwnFIDxpq1W/CroXhCtIvDlZuUiIwNXDyrP+M/zveo6OzUKwGzxDa/3OexeDhsO+eSWZOIk2EMfv3NQec6/H9od15lRUABmam98rY+B92LYeNAHtyYPB6Ee/tjdg8qz/vUA77rOioUCMEu6wXXeQ++l0GDYL7YoCxkZGHFQed7/O+sRrjMSpADMUG50jbfgeyE0Gvg3W5WDjAyMOqg883/Oe5RrdYoUgGph6xMgQGBRgZEHlRLw75BHulZGRwGo1LU2AQIEFhYYfVApAf8Me7RrVYQUgCpZ6xIgQGBxgYqDSglQAIbHXqiGk1qQAIHmAhUF4I20+/u6ynV0XP0CMFrUegQIEAgRqDyoOpeASteR0VIARmpaiwABAkEC1QdV1xJQ7ToqYgrAKEnrECBAIExgxkHVsQTMcB0RNQVghKI1CBAgECgw66DqVgJmud6NnAJwV9D3CRAgECow86DqVAJmut6JngJwR893CRAgECww+6DqUgJmu16NoAJwVc73CBAgEC7wxEHVoQQ84XoligrAFTXfIUCAwAYCTx1Uu5eAp1zPRlIBOCvm8wQIENhE4MmDaucS8KTrmWgqAGe0fJYAAQIbCTx9UO1aAp52PRpRBeColM8RIEBgM4EVDqodS8AKrkeiqgAcUfIZAgQIbCiwykG1WwlYxfVVZBWAV0L+ToAAgU0FVjqodioBK7n+FF0FYNMH27YIECDwSmC1g2qXErCa63c5UABePSH+ToAAgU0FVjyodigBK7p+FWEFYNMH27YIECDwSmDVgyq9BKzq+jkPCsCrJ8TfCRAgsKnAygdVcglY2fVjlBWATR9s2yJAgMArgdUPqtQSsLrrey4UgFdPiL8TIEBgU4GEgyqxBCS4vkVaAdj0wbYtAgQIvBJIOajSSkCKqwLw6gnxdwIECGwqkHJQvfEnlYAUVwVg0wfbtggQIPBKIOWget9HSglIcVUAXj0h/k6AAIFNBVIOqo/8CSUgxVUB2PTBti0CBAi8Ekg5qD7vY/USkOKqALx6QvydAAECmwqkHFRf8a9cAlJcFYBNH2zbIkCAwCuBlIPqu32sWgJSXBWAV0+IvxMgQGBTgZSD6if+FUtAiqsCsOmDbVsECBB4JZByUL3ax2olIMVVAXiVLH8nQIDApgIpB9UR/pVKQIqrAnAkWT5DgACBDQVSDqqj9KuUgBRXBeBosnyOAAECmwmkHFRn2FcoASmuCsCZZPksAQIENhJIOajOkj9dAlJcFYCzyfJ5AgQIbCKQclBd4X6yBKS4KgBXkuU7BAgQ2EAg5aC6Sv1UCUhxVQCuJsv3CBAgEC6QclDdYX6iBKS4KgB3kuW7BAgQCBZIOajuEs8uASmuCsDdZPk+AQIEQgVSDqoRvDNLQIqrAjAiWdYgQIBAoEDKQTWKdlYJSHFVAEYlyzoECBAIE0g5qEayzigBKa4KwMhkWYsAAQJBAikH1WjS6hKQ4qoAjE6W9QgQIBAikHJQVXBWloAUVwWgIlnWJECAQIBAykFVRVlVAlJcFYCqZFmXAAECiwukHFSVjBUlIMVVAahMlrUJECCwsEDKQVVNOLoEpLgqANXJsj4BAgQWFUg5qGbwjSwBKa4KwIxkuQYBAgQWFEg5qGbRjSoBKa4KwKxkuQ4BAgQWE0g5qGayjSgBKa7rKc+FAAAG40lEQVQKwMxkuRYBAgQWEkg5qGaT3S0BKa4KwOxkuR4BAgQWEUg5qJ7gulMCUlwVgCeS5ZoECBBYQCDloHqK6moJSHFVAJ5KlusSIEDgYYGUg+pJpislIMVVAXgyWa5NgACBBwVSDqoHif6+9NkSkOKqADydLNcnQIDAQwIpB9VDPH9c9kwJSHGNKQBXWtgKoXEPBAgQWFUg5aBaxe9oCUhxVQBWSZb7IECAwGSBlINqMsuPlztSAlJcFYCVkuVeCBAgMFEg5aCaSHLoUq9KQIqrAnBo3D5EgACB/QRSDqoV5X8qASmuCsCKyXJPBAgQmCCQclBNoLh0ie9KQIprVAF4m9Crn14uTdGXCBAg0Ewg5ZBafSxfnUkptgrA6ulyfwQIECgQSDmkCrY+fMnPJSDFVgEYHgULEiBAYG2BlANqbcU/7+5jCUjxjSsA/jNA0iPhXgkQWFEg5YBa0e6ne3ovASm+CkBawtwvAQIEbgikHE43tuirBwUiC4BfAQ5O18cIECDwSUABEIl3gdgCoAQIMQECBM4JOPzPee3+6egCoATsHk/7I0BglIDDf5TkPusoAPvM0k4IECDwpYDDXzC+EogvAO+b8v9BkIATIEDgvwIOf6n4TmCbAuA/Bwg5AQIE/hRw+EvETwJbFQAlQNgJECDwj4DDXxJeCWxXAPwngVcj93cCBHYWcPDvPN2xe9u2ACgCY4NiNQIE1hZw8K89nxXvbvsC8Bnd/7HgijF0TwQInBVw4J8V8/nPAu0KgAgQIECAAAECv34pAFJAgAABAgQaCigADYduywQIECBAQAGQAQIECBAg0FBAAWg4dFsmQIAAAQIKgAwQIECAAIGGAgpAw6HbMgECBAgQUABkgAABAgQINBRQABoO3ZYJECBAgIACIAMECBAgQKChgALQcOi2TIAAAQIEFAAZIECAAAECDQUUgIZDt2UCBAgQIKAAyAABAgQIEGgooAA0HLotEyBAgAABBUAGCBAgQIBAQwEFoOHQbZkAAQIECCgAMkCAAAECBBoKKAANh27LBAgQIEBAAZABAgQIECDQUEABaDh0WyZAgAABAgqADBAgQIAAgYYCCkDDodsyAQIECBBQAGSAAAECBAg0FFAAGg7dlgkQIECAgAIgAwQIECBAoKGAAtBw6LZMgAABAgQUABkgQIAAAQINBRSAhkO3ZQIECBAgoADIAAECBAgQaCigADQcui0TIECAAAEFQAYIECBAgEBDAQWg4dBtmQABAgQIKAAyQIAAAQIEGgooAA2HbssECBAgQEABkAECBAgQINBQQAFoOHRbJkCAAAECCoAMECBAgACBhgIKQMOh2zIBAgQIEFAAZIAAAQIECDQUUAAaDt2WCRAgQICAAiADBAgQIECgoYAC0HDotkyAAAECBBQAGSBAgAABAg0FFICGQ7dlAgQIECCgAMgAAQIECBBoKKAANBy6LRMgQIAAAQVABggQIECAQEMBBaDh0G2ZAAECBAgoADJAgAABAgQaCigADYduywQIECBAQAGQAQIECBAg0FBAAWg4dFsmQIAAAQIKgAwQIECAAIGGAgpAw6HbMgECBAgQUABkgAABAgQINBRQABoO3ZYJECBAgIACIAMECBAgQKChgALQcOi2TIAAAQIEFAAZIECAAAECDQUUgIZDt2UCBAgQIKAAyAABAgQIEGgooAA0HLotEyBAgAABBUAGCBAgQIBAQwEFoOHQbZkAAQIECCgAMkCAAAECBBoKKAANh27LBAgQIEBAAZABAgQIECDQUEABaDh0WyZAgAABAgqADBAgQIAAgYYCCkDDodsyAQIECBBQAGSAAAECBAg0FFAAGg7dlgkQIECAgAIgAwQIECBAoKGAAtBw6LZMgAABAgQUABkgQIAAAQINBRSAhkO3ZQIECBAgoADIAAECBAgQaCigADQcui0TIECAAAEFQAYIECBAgEBDAQWg4dBtmQABAgQIKAAyQIAAAQIEGgooAA2HbssECBAgQEABkAECBAgQINBQQAFoOHRbJkCAAAECCoAMECBAgACBhgIKQMOh2zIBAgQIEFAAZIAAAQIECDQUUAAaDt2WCRAgQICAAiADBAgQIECgoYAC0HDotkyAAAECBBQAGSBAgAABAg0FFICGQ7dlAgQIECCgAMgAAQIECBBoKKAANBy6LRMgQIAAAQVABggQIECAQEMBBaDh0G2ZAAECBAgoADJAgAABAgQaCigADYduywQIECBAQAGQAQIECBAg0FBAAWg4dFsmQIAAAQIKgAwQIECAAIGGAgpAw6HbMgECBAgQUABkgAABAgQINBRQABoO3ZYJECBAgIACIAMECBAgQKChwP8ALFI+poQkXqQAAAAASUVORK5CYII="},VIDEO_MUTE:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAA4CAYAAABE814IAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAARKADAAQAAAABAAAAOAAAAADfM+xLAAADxklEQVRoBe2aO2sUURiGd41BK4MKYqNioY02ilhJCkH8ATYKCjaxMN6w0RiTeEsKsYpgJ3Z2Igg2ihZamD8gEUEbCxtFCV7xsj7fsjOc/fbMzu3MeHZ3PniZObfvvOfZs7Mzk9RqVVQEKgIVAYcEGo3GOvQEvUFHHKbuzVRAOIPMON6bK3HkGhKjJo3W+cBDuVxBUTsMIAMJpa44tBUFChXTbZW12ni9Xr8V1NFnL+c7g7Lj4x/yvUWLcmTe347zp08Xt1NoX4UWUNHxiQnGUNcPMf0KM4zAxCXLasMLLW1lQREbj9FQhmW4HYIJG5TxYBbay4RyMpj3vx49gvIZLyNpYND/KHqJvqKHaEOa8WFfBkqilUEF577slNHAU7cjflegu0jHs27jItvIsogeId+gjEWabjXgeS16jqJiTVyOjnYyfWxl01BmLLOUeU253mHWqMDbFvTa4tGs2mYMSXbK6CUjQxYoL4zxLk/no1bAJHvQhwSTbY/KEVlPUhOIzOELFCsQ/B1CP8RognACRObxAUoHEHxNor9iMGE4AyLzaSjTFhP6muLy6xMCYd5hdNsyf1yVUyAyWRIoJ4LvI/3l5s0VFBPIYTGTITqALAvMZjzuY9wDjDR/knn4ukJ5RuW6SXsTCu1LtO1HC6pP3qKzW/m8QGQhvkDJC7U53gWQKCj6tUEZOyU3FFdAbFCuUtlzUFwC6QsoroH0PJQigERBmZIGI7y8phQFRNatf32uUec9lCKBpIHSfANW4H2KeEkURQMRE0l2yjw3b15AKQNIFJSL6iPzAkpZQGxQZqn0Eor6oNqLbGX9PoSqXKEfCOWRXUf4Vp2GqAdC8+FuN/3k5XHa6Hi4a1+9pcQMroGIaRdQQiBim5y70HtJniK8ASKeNZQLloV02yltQFpQNpFD/tSQNLwCIqbzQLlh2dCyU0aQ/MNPkvAOiJhOAuVUsHj6B9eUyaBOH+kjb9DuoLjIBORVXFYH7Vmg7NAgdBlfUzHetuoxsWUS3o9J6qo5FZRY460OmJPXiz8tJr9TN5w0T9iPQbOWZEVVaSgTlonCr09oMuaEHPJvYu9UromYYfZmkmxEX1SyIotFQZFrzzE0h+S9bvYgwVlUZhQCJTsBNRISQ0i277cSqfgNRRgBYzOSh7CnKO1dIUNSh4Zy3pIh9TVFfd7uiphbjuQ3v0i1/U8Zc9mgnHa3qh7MVEGxfGgRUMJnH8uQ/q8Cyjlkhtxsre7/lXdZIQBMKL8or+/SfTCagHAA3UMHB2PF1SorAhUBXwn8A+xdTzcs3gqYAAAAAElFTkSuQmCC"},VIDEO_UNMUTE:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAA4CAYAAABE814IAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAARKADAAQAAAABAAAAOAAAAADfM+xLAAACsklEQVRoBe2aQUtVQRTH30tLcVGQC3FR5iIy6ANEaG0UDNxXCyEFN+2EVhUt6iOE0NKF+g2Eggh1I4RL0zYVQQt3FaSIpc/fkZTXefe+N3PvfbxhPAf+zj0zc2bO/N7Mu+C8UsnMCBgBI2AEjIARMAJGIAgCZd8sKpXKOWKuouvoMjqDmmX7DPwFbUpZLpf/Nmsi73EFBHqCdlAr7AeTTiHvD9FnsU6Dk0QPgy6hAZ/Bm9T3HeOOsltk9xRurtt9hplDgCEAhtEjeWiJsTvGUGj2k4Qu+ACh/0P0EW2jRXTJJ/6kL4GvUIh2+yTJOg8k3oEWEhawkhTmcmRuJAUGUHetUQ5A6KaPfOc8SOg7RPtFXe8CRF6vIZq8+lONxUr7KhpM7VQq9eo2FyBdOigQvzMtD2AIBIFRFxrtNW9ZFyBp8wZZDww5HnJM5Lh4W1RAgPEUAvOow5vEv4D2rIEhxQHiLPm8RpN584plh9wrAobAjAVIW96dcRwfC5Dj9eQuDYhCaEAMiCKgXNshBkQRUK7tEAOiCCjXdogBUQSUazskUiBykbWj1pbJjWKHcEfzgdXfQVuZKFQFRQFE1gOUNYqbaEP8rBYNEAEAlG8Ut9B78bNYVEAEAFB+UYyiWeRtLkByn0vvrNwCUvMCyh80wTDPGwy1p9tdgOQ6k3rCAv2GeQHlJfONo5qFU7eLvqL/LGogslKgzFGMoO/iV9kL2UlV/tFjzUWN7sB/tPupW0chXVi9YTF3da71fNZxnvb76ApaJv4tZTZjsMcoFPtNIn3ZVlJQFAm0oWeoVb8eYuoj2+Sv061/1qU3PDLVA5OMHJ9pJL8IGEA1l8XUFWlyxj+jT2gFzbDVk74gaSrGvIDoKQEkN3+5xtBjKn8fAAeqzlwjYASMgBEwAkbACBiB00DgEI6tZSPk7kDyAAAAAElFTkSuQmCC"},VIDEO_MUTE_COLORED:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAABpklEQVRIieWPz0tUURxHz+f61HTRuFAMijaV5CJKZiZ7hSK0alv5DwjRMqhtSfvWrWrTKtoEurBoV0SRORshaJpK0E3QD42xmdd7cr8tGpwhGx3puajO8t7vPed74Z+gmB2+UsyHp3fC7QBM9JvZdOn4yTDtgAAM9CZ34hZwHuO2wceWtpMWtdJz/9DbB9+bzQS1ihWlu2Y2IXHZoeRnd3MMLzJfBoHJxvOFsbFdUaWy/0N39/tg/dT7vHOKzOgyrKOVH4BANtIoTsrRhXi1OulwvXvL0aWgcXzLlZtQOnim0zLLF+PV6jWk3aCOmm8o2OpxK/ie5TsGZ4Xaf71zaQQkjgg2yFMLbMbfETAU72zA/HWwFcGGUCqBw3MvpqK4ug90tR4yQ4rrAVGWSdtTmwn3FeDo/Py3gbnnN+ohN2Pe31wXloZG+nyw9gizY637+STnzg28fPak2cg2N655x8fbigtL9wTDgQWnDhSeLqYaAFgKw65K4h9i6vVtfnRwdvZzqgGAd9lsZo32xziqZZ+M5gqF5E98v+VVPr/ndS6cSF38//ADKjaadmRjUlEAAAAASUVORK5CYII="},VIDEO_UNMUTE_COLORED:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAABJElEQVRIie2SvUrDUBiGny9NQoVYfxZBCOiWeAdeg7uC1cFZxMGfLuLmDejgIrg5ZHEUr0JBikPxDip0Mz0H8zkEXGJaYiui9JkOfN95n5fDgQn/HqGdBNTsMZotVLspPTK5YqXZGbTm5uHaAvErCRSL6AawVJi9JDOkaYTfe3RRDYFq4TkesFgINmYfY45wnAA733K/EVyknQSI3cWYE/KyeWEhHl3wcD2LYzpAgy9ewhlZMOWvlYWPR5DhIGRl49EFQ/gTglcU7+cE8eYdIntAFzDjF4goUfOSug2BQ6CLqgUU6DtAH7T0FwzBfp6Wd1LirQvqNkTkALgl41x4vlmF93uQ6YrhGaJnRNung5YEAE1qPNlGpfg5LyVcf6tYasIv8AHJDlIAEo1/qAAAAABJRU5ErkJggg=="},MENU:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAABmJLR0QA/wD/AP+gvaeTAAADB0lEQVR4nO3bP09TYRTH8d9pbxls0ztcikEwwYQB34kSInEyDL4AMc4uJsbRt0DiiLM2legrYVIHUdS2SS8EB3p7j4smDCZQ7vPIr8nvs0JPnuTk6T/4AiIiIiISnl31AS5jOBwue5JsumPDgBUAN//86IsDn83Qs6LoZll2cJXnvIyZWsjh8XGnUZTPYNgGkJzz6yUcuz6XPO00m4f/43whzMxC+kdHG1b6LoD2lA89Kg1bC2m6F+NcodWu+gAXMcjzbSv9DaZfBgC0a47uYDR6FPpcMdDfkGGe33FHD0C94qjSa7bZabd7Ic4VC/VC+v2TG9Yo9nG5m/EveZnU1xZare+B5gXH/ZTVGL9AuGUAQForJs8DzguO9oYMh8Nlryefcf67qWkVKBor8/PXvgaeGwTtDfEkuY/wywCABI3xZoS5QfAuxHE31mwrsR5rdlW0CzFgNdZst3izq6JdCIDFiLOXIs6uhHkhHnF2GXF2JcwL+RZxNuU7LIB4IQZ8jDbcI86uiHYhboj2ZaCbv4s1uyrahVhRvAVQRBhdYNzoRpgbBO1Csiw7MNirCKN3Op1mzNenSmi/OgGA/snJoo2LfQBpoJGjSVJfu95q/Qg0LzjaGwIAnWbz0AwPAEwCjCu9Zg+ZlwGQLwQAsjT9APgTVFvKxOGP2f8WApA/ZZ31M8/Xa47XmP7pa2SGrSxN38c4V2j0N+SvhTTdm6vZKmAvAZxe4CGFwXbKpH57VpYBzNANOWsw+LWE5PSewTYcuIUz/wZkjk+leQ/jRpf53ZSIiIiIiAiLmfxgqD6EhPoQIupDiKgPIaI+hIj6EDbqQ3ioDyGjPoSM+hAy6kP4qA8hoz6EjPoQJupDyKgPIaM+hIz6EELqQ8ioDyGkPoSU+hAy6kOIqQ8REREREREJZyY/GKoPIaE+hIj6ECLqQ4ioDyGiPoSN+hAe6kPIqA8hoz6EjPoQPupDyKgPIaM+hIn6EDLqQ8ioDyGjPoSQ+hAy6kMIqQ8hpT6EjPoQYupDRERERGQ6vwEgnckhwXx03wAAAABJRU5ErkJggg=="},ZOOM_IN:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABmJLR0QA/wD/AP+gvaeTAAADjElEQVR4nO2cvW7UQBSFj6looggeJSmCaKgQQql4mtBly7wRQQiJlobn4EdESZVAcyh2jW6SnfXYvnNnnJyvXvueOV8cx2vHgBBCCCGEEEIIIYQQCViW04D8JyUXUDp/SQHFyzdrKCYhInwJwso36ygiISK4N+Hlm7W4S4gI7Um18s16XCVEBPaievk9dJQQEdaDZsrvoZOEiKBzaa78HjpIiAj5IMvvmSth7LwnJRaR4AbAeeC8qXzBOmubzDwCLkm+qL2GFCQPSV5EHgFTQs6lSQke5ZNt/wrq2Qdw3pIEkocAPgF4Fj27hgCgIQk1ywfKCfiT8ZlewlGhDINsZn9GXvk5axpNCQErAC8BXGR8dh/AxxpHwuYn/8MmwxBXAF4BeF80VA4D56BT87kDkr8zz12hJ2aOO+Fe2qOUA9cJEeFT3LvIYoMSOKN8s4+khNL5UwKSV7gtSfAo3+xrq4RS2e3g7PLNNtUleJZv9nlPgnfubUNHlW+2qyahRPlm37ckeGXeNXB0+WbbcAklyzcz/kuYmzdn2KTyzfZhEiLKN7NOogSsHPZxtFlwDr9I7k2YsbfZtnj5ZubsbsJg3pHwl+S7GTOOSd5ElL9IBiTMKt/M2CXh8Zbfk5DgUr6ZsU2Cyu+5I8G1fDPDSlD5d9lI+F6ifDPjmOQPlZ+AE/7aaXGGEEIIIYQQQgghhBDNoy/jKsL1DfSIr6N/soGnspuCt59eiLohIwlA8tGRqFuSj1tConxXCYnyJWGgfBcJA+UvUwL1YNaumeUfzNoEPpuxfeTjgpGPQa7I2IdzR0uILN/MLC6hLz9awCgJNco3s4tJsOXXEJAloWb5JoO7hLvl1xKwU0IL5ZssbhK2lV9TwFYJLZVvMs2WkCq/tgDSSGCD5ZtskyVwR/lkfQEkecaGyzfrGC2BA+WTbQggh68+7cKqvqqA+ReEWWsam6GbENrL8hWAN13XfXXa3yRIHmD9so7nHvvrum5Up7XeltJE+QDQdd03AK+R926L+mQerrto8p8jOO6ckCQi6IMrv8dDQkTIqVy3XH4P1yfm6ygBkeeApwCK3e915C3WWdtkxhHQM/mr7NIw4+987yNgSkgPmpNAh/LJ5QggG5JAp/LJZQkgG5BAx/LJ5QkgK0qgc/nkMgWQFSSwQPnkcgWQgRJYqHxy2QLIAAksWD4ZIEAIIYQQQgghhBBCLJZ/JA5dNdHn/r4AAAAASUVORK5CYII="},ZOOM_OUT:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABmJLR0QA/wD/AP+gvaeTAAADkklEQVR4nO2dsXLTQBCGV1TpEsKbkCIMDRXDUPI0oUvKvBFhgAwtFPAkZJIqpvoo5GMOY0sr6/ZOd96vPt2u/s+yYsd3EnEcx3Ecx3Ecx3Ecx3EcJcAJ8Bl4UbqXXABnwC3wrHQjJ8B3eu4PQcI6/Lv1Of8sJmEjfA5Bwkb4FJOwI/ymJewIP7+EkfCblDASfl4J9DcfDffAuXlDxgDn63PRcJujoefArwkSqr0S0L3y87/gDkHCYsOPGswuAbhSjLlOUGfZ4UeNZpMAXAEoxjFHQjXhRw2bSwjhTxCwl4Tqwg9YSojDnyhgkoRqww9YSNgMfw8BKgnVhx9IKWFb+HsKGJTQTPiBFBJ2hT9DwFYJzYUfmCNhKHyYJQAiCbQafoA9JDASPswWAHBN6+EHmPY9ykozSFEzWS0yhN9ZTi7SXwki8klETlPM13XdYM8aSUoeRORN13XfEs23lSeWk4uIdF33Q0Rei8idda2EZAk/K0y7J+xEUWcu9b7nj0ECCYoaHv4Q9DfmxwUKeCwRvvk9YAtvReSoQN0xjkTkXekmTEHxd37BKyAw+/8JiyRF+JBFALQmgUThQzYB0IoEEoYPWQVA7RJIHD5kFwC1SsAgfCgiAGqTgFH4UEwA1CIBw/ChqACoRYLjOI7jOI7jOIcFcGH5SUhR35LLHBnOBkMJitpW1BF+ACMJiroW1BV+AAMJipqpqTP8AIklKOqlpO7wAySUoKiVijbCD5BIgqJOCtoKP0ACCYoaHv4QcyUo5q8q/BK/jPsqIqsCdcdYichN6SZMYdrKlBJXQJXbKqhIEX4GAZBZQpa3IOBM+lUyT3PUm8mxiNzkkmAuoLLwA9kkmAqg/739F9GF/9uylz1qBQmmawbMBKxf+R+kP5ExHkTklYi8t+on4kpEXopuzdqxiHzMeU9IAjPW4TLyOUFRe4jLaFybm06RYBE0AxIU9UfDj8a2JSFF+NFcWyUoelCFH41vQ0LK8KM5/5OgOEYdfnRM3RIswo/m/keCYvyk8KPj6pRgGX5U468ExdjJ4UfH1iUhR/hRrYsJAvb+VrMaCUzbCSXJCnR021aOjlHMkf3cpjbY/H47LPVKOITwA4uUgG/ePUSWzbu129dXH34A3ZWwmGcINBV+YETCYp6i0WT4gR0SFvMcmabDD2xIKBd+1NAp/Y25+fAD9DfmWyDJRoSO4ziO4ziO4ziO4zjOYfAHO7OVVfpcX1oAAAAASUVORK5CYII="}},Q=o.StyleSheet.create({user_list_container:{position:"absolute",top:Ae,bottom:Ae,width:"100%",backgroundColor:_t.blackLightXX,elevation:10,zIndex:10},flat_list_style:{},users_icons_container:{marginLeft:10},user_list_close_container:{padding:10,borderRadius:20,margin:5,alignSelf:"center"},user_item_container:{position:"relative",elevation:0,zIndex:0},close_icon:{width:25,height:20,tintColor:_t.whiteAlmost},menu_container:{backgroundColor:"#111",alignSelf:"flex-end",marginBottom:5,borderRadius:5,width:90,paddingHorizontal:10,paddingVertical:5,position:"absolute",right:15,elevation:19,zIndex:1},menu_list:{flexDirection:"row",alignItems:"center"},menu_icon:{width:18,height:18,marginRight:5},menu_text:{fontSize:16,color:"#fff",padding:5},user_item_pinned:{padding:15,fontSize:18,flexDirection:"row",justifyContent:"flex-start",alignItems:"center",zIndex:1,borderBottomWidth:o.StyleSheet.hairlineWidth,borderBottomColor:_t.palette.offWhite},user_item_user_name:{fontSize:18,color:_t.palette.white,marginStart:10,width:"60%"},user_item_icon_container:{flexDirection:"row",justifyContent:"flex-start",alignItems:"center",position:"absolute",right:10},user_item_icons:{width:20,height:20},recorderBadge:{height:12,width:12,borderRadius:20,backgroundColor:_t.redLightX},recorderBadgeText:{fontSize:12,color:_t.palette.white},lt_small_button:{width:10,height:10,marginHorizontal:8,borderRadius:20,alignItems:"center",justifyContent:"center"},lt_small_button_red:{width:35,height:35,margin:5,backgroundColor:_t.redLight,borderRadius:20,alignItems:"center",justifyContent:"center"},lt_small_button_blue:{width:35,height:35,margin:5,backgroundColor:_t.blueLight,borderRadius:20,alignItems:"center",justifyContent:"center"}}),ie=u().memo(({connectionQuality:V})=>{const ee=V<25?k.NETWORK1:V<50?k.NETWORK2:V<75?k.NETWORK3:k.NETWORK4;return u().createElement(o.Image,{resizeMode:"contain",source:ee,style:[{height:20,width:20}]})},(V,ee)=>Math.ceil(V.connectionQuality/25)===Math.ceil(ee.connectionQuality/25));let ce=null;const Pe=u().memo(({pinnedUserId:V,itemsRef:ee,isMenuVisible:b,setIsMenuVisible:B,recorderId:J,isAudioOnly:W,selectedIndexRef:de,topRef:ue,dispatch:ke,headerRef:rt,refresh:ut,users:Rt,screenOffsetRef:ht})=>u().createElement(o.FlatList,{style:Q.flat_list_style,data:Rt,keyExtractor:yt=>yt.id,renderItem:yt=>{if(yt){const Ut=yt.item,Nt=yt.index;let ot,pn=Ut.name;return Nt==0&&(pn+=" (you)"),ot=Ut.id===V,u().createElement(u().Fragment,null,u().createElement(o.TouchableOpacity,{onPress:()=>{B(!1)},activeOpacity:1,style:Q.user_item_container},u().createElement(o.View,{style:Q.user_item_pinned},u().createElement(o.View,null,Ut.id===J&&u().createElement(o.View,{style:Q.recorderBadge})),u().createElement(o.Text,{testID:`cc-user${Nt}-name`,style:Q.user_item_user_name},pn),u().createElement(o.View,{style:Q.user_item_icon_container},u().createElement(o.View,{style:[Q.users_icons_container,{flexDirection:"row",alignItems:"center"}]},__nested_webpack_require_964150__.g.ccUsersStats[Ut.id]&&u().createElement(ie,{connectionQuality:__nested_webpack_require_964150__.g.ccUsersStats[Ut.id]})),u().createElement(o.View,{testID:`cc-user${Nt}-audio-icon`,style:Q.users_icons_container},u().createElement(o.Image,{style:[Q.user_item_icons,{tintColor:Ut.isAudioMuted?_t.red:_t.green}],source:Ut.isAudioMuted?k.AUDIO_MUTE:k.AUDIO_UNMUTE})),W?null:u().createElement(o.View,{testID:`cc-user${Nt}-video-icon`,style:Q.users_icons_container},u().createElement(o.Image,{style:[Q.user_item_icons,{tintColor:Ut.isVideoMuted?_t.red:_t.green}],source:Ut.isVideoMuted?k.VIDEO_MUTE:k.VIDEO_UNMUTE})),Ut.status==="interrupted"?u().createElement(o.View,{style:Q.users_icons_container},u().createElement(o.Image,{style:Q.user_item_icons,source:k.ALERT})):null,ot?u().createElement(o.View,{testID:`cc-user${Nt}-pin-icon`,style:Q.users_icons_container},u().createElement(o.Image,{style:Q.user_item_icons,source:k.PIN})):null,u().createElement(o.TouchableOpacity,{testID:`cc-user${Nt}-opt`,style:Q.users_icons_container,onPress:St=>{var $n;const Tt=St.nativeEvent.pageY,sn=St.nativeEvent.locationY;($n=ee.current)==null||$n.measure((gn,wi,Vn,An,Zn,wn)=>{ue.current=Tt+sn-wn,de.current=Nt,B(Nn=>!Nn)})}},u().createElement(o.Image,{source:k.MENU,style:[{height:20,width:20}]}))))))}},onScroll:()=>{if(b){const yt=o.LayoutAnimation.create(300,o.LayoutAnimation.Types.easeOut,o.LayoutAnimation.Properties.scaleXY);o.LayoutAnimation.configureNext(yt),B(!1)}},ListHeaderComponent:()=>u().createElement(o.View,{style:Q.user_item_pinned,ref:rt,onLayout:()=>{var yt;(yt=rt.current)==null||yt.measure((Ut,Nt,ot,pn,St,Tt)=>{ht.current=Tt})}},u().createElement(o.TouchableOpacity,{testID:"cc-user-list-close",touchSoundDisabled:!0,style:Q.user_list_close_container,onPress:()=>{o.LayoutAnimation.configureNext({duration:100,create:{type:"linear",property:"scaleY"},update:{type:"linear",property:"scaleY"},delete:{type:"linear",property:"opacity"}}),ke({type:Xe,payload:!1}),B(!1)}},u().createElement(o.Image,{style:Q.close_icon,source:k.CLEAR})),u().createElement(o.Text,{style:{fontSize:22,fontWeight:"700",color:"#fff"}},"User List")),ListFooterComponent:()=>u().createElement(o.TouchableOpacity,{activeOpacity:1,onPress:()=>{b&&B(!1)},style:{height:80}})}),(V,ee)=>V.refresh==ee.refresh),je=u().memo(function(){var St,Tt,sn,$n;const{globalState:V,settings:ee,jitsiManager:b,users:B,dispatch:J}=qt(),[W,de]=(0,E.useState)(!0),[ue,ke]=(0,E.useState)(!1),rt=(0,E.useRef)(0),ut=(0,E.useRef)(0),Rt=(0,E.useRef)(null),ht=(0,E.useRef)(0),yt=(0,E.useRef)(null),Ut=V.pinnedUserId,Nt=V.recorderId,ot=(0,E.useCallback)(()=>{J({type:O,payload:""})},[]),pn=(0,E.useCallback)(gn=>{J({type:O,payload:gn.id})},[]);return(0,E.useEffect)(()=>{ce&&clearTimeout(ce),ce=setTimeout(()=>{de(gn=>!gn)},500)},[B,Ut,Nt,ue]),V.isParticipantsModelVisible?u().createElement(o.View,{style:Q.user_list_container,ref:gn=>{yt.current=gn}},u().createElement(u().Fragment,null,u().createElement(Pe,{pinnedUserId:Ut,itemsRef:yt,isMenuVisible:ue,setIsMenuVisible:ke,recorderId:Nt,isAudioOnly:ee.isAudioOnly,selectedIndexRef:ht,topRef:rt,dispatch:J,headerRef:Rt,refresh:W,users:B,screenOffsetRef:ut}),ue&&u().createElement(o.View,{style:[Q.menu_container,{top:rt.current}]},u().createElement(o.TouchableOpacity,{testID:"cc-user-pin",onPress:()=>{var gn;((gn=B[ht.current])==null?void 0:gn.id)===Ut?ot():pn(B[ht.current]),ke(!1)},style:Q.menu_list},u().createElement(o.Image,{style:Q.menu_icon,source:k.PIN}),u().createElement(o.Text,{style:Q.menu_text},((St=B[ht.current])==null?void 0:St.id)===Ut?"Unpin":"Pin")),(Tt=B[ht.current])!=null&&Tt.isAudioMuted||((sn=B[ht.current])==null?void 0:sn.id)===(($n=B[0])==null?void 0:$n.id)?null:u().createElement(o.TouchableOpacity,{testID:"cc-user-mute",onPress:()=>{b.current.muteParticipant(B[ht.current]),ke(!1)},style:Q.menu_list},u().createElement(o.Image,{style:Q.menu_icon,source:k.AUDIO_MUTE}),u().createElement(o.Text,{style:Q.menu_text},"Mute"))))):null}),lt=()=>u().createElement(o.View,{style:gt.container},u().createElement(o.View,{style:gt.dot}),u().createElement(o.Text,{style:gt.text},"REC")),gt=o.StyleSheet.create({text:{fontSize:12,fontWeight:"800",color:_t.blackLightXX},container:{backgroundColor:"white",borderRadius:5,position:"absolute",alignItems:"center",top:10,left:10,padding:5,flexDirection:"row",borderWidth:1,borderColor:_t.palette.black},dot:{backgroundColor:"red",height:10,width:10,borderRadius:10,marginRight:5}}),pt=o.StyleSheet.create({buttonIcon:{width:25,height:25},buttonContainer:{width:58,height:58,margin:1,backgroundColor:_t.blackLightXXX,borderRadius:30,alignItems:"center",justifyContent:"center"},touchableContainerPortrait:{width:"100%",alignItems:"center",flexDirection:"column"},touchableContainerLandScape:{width:"100%",alignItems:"center",flexDirection:"row"},bottomButtonContainerPortrait:{position:"absolute",bottom:0,left:0,right:0,backgroundColor:_t.blackLight,width:"100%",borderTopEndRadius:20,borderTopStartRadius:20,justifyContent:"flex-start",alignItems:"center"},bottomButtonContainerLandscape:{position:"absolute",bottom:0,right:0,top:0,backgroundColor:_t.blackLight,flexDirection:"row",alignItems:"center",borderTopStartRadius:20,borderBottomStartRadius:20},bottomButtonArrow:{alignSelf:"center",height:40,width:60,opacity:.9},bottomArrowContainerPortrait:{height:22,width:70},bottomArrowContainerLandScape:{width:32},bottomButtonPlaceHolderPortrait:{height:102},bottomButtonPlaceHolderLandscape:{width:102},userListHeaderContainer:{marginTop:10,alignSelf:"flex-start"},userListHeader:{margin:10,fontSize:18,fontWeight:"bold",color:_t.palette.white},buttonListContainerPortrait:{},buttonListContainerLandscape:{},buttonListPortrait:{alignItems:"center"},buttonListLandscape:{height:"100%",flexWrap:"wrap",justifyContent:"center"},buttonWrapperPortrait:{marginTop:10},buttonWrapperLandscape:{marginRight:10}});class xe{static e(ee,b,B={}){}static d(ee,b,B={}){}}const Dt="AudioButton";function oi(){const{users:V,jitsiManager:ee}=qt(),b=(0,E.useRef)(0);return u().createElement(o.TouchableOpacity,{testID:"cc-audio",style:pt.buttonContainer,touchSoundDisabled:!0,onPress:()=>{try{new Date().getTime()-b.current>300&&(xe.d(Dt,"[onButtonPress]"),ee.current.toggleAudioButton(),b.current=new Date().getTime())}catch(B){xe.d(Dt,"[onButtonPress]",B)}V[0].audioTrack}},u().createElement(o.Image,{style:pt.buttonIcon,source:V[0].isAudioMuted?k.AUDIO_MUTE:k.AUDIO_UNMUTE}))}const Kn="AudioModeButton";function li(){const{globalState:V,dispatch:ee}=qt();return u().createElement(o.TouchableOpacity,{testID:"cc-audio-mode",onPress:()=>{try{ee({type:Le,payload:!0}),xe.d(Kn,"[onButtonPress]")}catch(b){xe.d(Kn,"[onButtonPress]",b)}},style:pt.buttonContainer},u().createElement(o.Image,{style:pt.buttonIcon,source:(()=>{switch(V.selectedAudioMode){case _e.SPEAKER:return k.AUDIO_MODE_SPEAKER;case _e.BLUETOOTH:return k.AUDIO_MODE_BLUETOOTH;case _e.EARPIECE:return k.AUDIO_MODE_EARPIECE;case _e.HEADPHONES:return k.AUDIO_MODE_HEADPHONE;default:return k.AUDIO_MODE_SPEAKER}})()}))}const hn=new Proxy({mode:"DEFAULT",isPresenter:!1},{get:(V,ee,b)=>ee==="isPresenter"?V.mode===Z?!!V.isPresenter:void 0:Reflect.get(V,ee,b)}),At="EndCallButton";function en(){const{jitsiManager:V,globalRef:ee,nativeManager:b,dispatch:B,users:J}=qt();return u().createElement(o.TouchableOpacity,{testID:"cc-end-call",onPress:()=>{var W;if(hn.isPresenter===!0&&J.length>1)B({type:Ze,payload:!0});else{try{xe.d(At,"[onHangUpCalled]"),ee.current.callEnded=!0,(W=b.current)!=null&&W.onCallEndButtonPressed&&b.current.onCallEndButtonPressed()}catch(de){xe.d(At,"[onHangUpCalled]",de)}try{V.current.leave()}catch(de){xe.d(At,"[onHangUpCalled]",de)}}},style:[pt.buttonContainer,{backgroundColor:_t.redLight}]},u().createElement(o.Image,{style:pt.buttonIcon,source:k.END_CALL}))}const Pn="RecordingButton";function yi(){const{globalState:V,jitsiManager:ee}=qt();return u().createElement(o.TouchableOpacity,{testID:"cc-rec",style:pt.buttonContainer,touchSoundDisabled:!0,onPress:()=>{try{xe.d(Pn,"[onButtonPress]"),V.isRecording?ee.current.stopRecording():ee.current.startRecording()}catch(b){xe.d(Pn,"[onButtonPress]",b)}}},u().createElement(o.View,{style:{width:He,height:He,backgroundColor:_t.palette.red,borderRadius:V.isRecording?0:He}}))}const jn="SwitchCameraButton";function Ei(){const{jitsiManager:V}=qt();return u().createElement(o.TouchableOpacity,{testID:"cc-switch-camera",style:pt.buttonContainer,touchSoundDisabled:!0,onPress:()=>{try{xe.d(jn,"[onButtonPress]"),xe.d(jn,"[onButtonPress]"),V.current.flipCamera()}catch(ee){xe.d(jn,"[onButtonPress]",ee)}}},u().createElement(o.Image,{style:pt.buttonIcon,source:k.SWITCH_CAMERA}))}const ii="SwitchToVideoCallButton";function Bi(){const{jitsiManager:V}=qt();return u().createElement(o.TouchableOpacity,{testID:"cc-switch-video",onPress:()=>{try{xe.d(ii,"[onButtonPressed]"),V.current.requestingToSwitchToVideoCall()}catch(ee){xe.d(ii,"[onButtonPressed]",ee)}},style:[pt.buttonContainer]},u().createElement(o.Image,{style:pt.buttonIcon,source:k.SWITCH_TO_VIDEO_CALL}))}const Di="VideoButton";function ai(){const{users:V,jitsiManager:ee}=qt();return u().createElement(o.TouchableOpacity,{testID:"cc-video",style:pt.buttonContainer,touchSoundDisabled:!0,onPress:()=>{try{xe.d(Di,"[onButtonPress]"),ee.current.toggleVideoButton()}catch(b){xe.d(Di,"[onButtonPress]",b)}}},u().createElement(o.Image,{style:pt.buttonIcon,source:V[0].isVideoMuted?k.VIDEO_MUTE:k.VIDEO_UNMUTE}))}const ri=102,Li=4;function ti(){const{globalState:V,settings:ee,users:b}=qt(),B=V.isPortrait?V.dimension.height:V.dimension.width;if(V.inPIPMode||ee.enableDefaultLayout===!1)return null;const J=(0,E.useMemo)(()=>(Math.min(V.dimension.height,V.dimension.width)-240)/(2*(Li+3)),[V.dimension.width]);(0,E.useEffect)(()=>{W.setValue({x:0,y:0}),de.setValue(B-ri)},[V.isPortrait,B]);const W=(0,E.useRef)(new o.Animated.ValueXY({x:0,y:0})).current,de=(0,E.useRef)(new o.Animated.Value(B-ri)).current,ue=(0,E.useCallback)((ut,Rt)=>{const ht=V.isPortrait?Rt.dy:Rt.dx;o.LayoutAnimation.configureNext({duration:300,create:{type:"linear",property:"opacity"},update:{type:"spring",springDamping:.4},delete:{type:"linear",property:"opacity"}}),W.setValue({x:0,y:0}),ht>0?de.setValue(B-ri):de.setValue(B-ri-70)},[V.isPortrait,W,B]),ke=o.PanResponder.create({onStartShouldSetPanResponder:(ut,Rt)=>!(Rt.dx===0&&Rt.dy===0),onPanResponderMove:()=>o.Animated.event([null,{[V.isPortrait?"dy":"dx"]:W.y}],{useNativeDriver:!1}),onMoveShouldSetPanResponder:(ut,Rt)=>{const{dx:ht,dy:yt}=Rt;return ht>5||ht<-5||yt>5||yt<-5},onPanResponderRelease:ue});if(V.inPIPMode)return null;const rt=o.Animated.add(de,W.y).interpolate({inputRange:[B-ri-70,B-ri],outputRange:V.isPortrait?["0deg","180deg"]:["180deg","0deg"],extrapolate:"clamp"});return u().createElement(u().Fragment,null,u().createElement(o.View,{style:V.isPortrait?pt.bottomButtonPlaceHolderPortrait:pt.bottomButtonPlaceHolderLandscape}),u().createElement(o.Animated.View,dn(Ft({},ke.panHandlers),{style:V.isPortrait?[pt.bottomButtonContainerPortrait,{top:o.Animated.add(de,W.y.interpolate({inputRange:[-1e3,0,1e3],outputRange:[-1e3,0,1e3],extrapolate:"clamp"}))}]:[pt.bottomButtonContainerLandscape,{left:o.Animated.add(de,W.y.interpolate({inputRange:[-1e3,0,1e3],outputRange:[-1e3,0,1e3],extrapolate:"clamp"}))}]}),u().createElement(o.TouchableWithoutFeedback,null,u().createElement(o.View,{style:V.isPortrait?pt.touchableContainerPortrait:pt.touchableContainerLandScape},u().createElement(o.View,{style:V.isPortrait?pt.bottomArrowContainerPortrait:pt.bottomArrowContainerLandScape},u().createElement(o.Animated.Image,{style:[pt.bottomButtonArrow,{transform:[V.isPortrait?{rotateX:rt}:{rotateY:rt},{rotate:V.isPortrait?"0deg":"90deg"}]}],resizeMode:"stretch",source:k.ARROW})),(()=>{const ut=[],Rt=ee.hideEndCallButton?null:u().createElement(en,null),ht=!V.conferenceJoined||ee.hidePauseVideoButton||ee.isAudioOnly?null:u().createElement(ai,null),yt=!V.conferenceJoined||ee.hideAudioMuteButton?null:u().createElement(oi,null),Ut=!V.conferenceJoined||ee.hideVideoSwitchButton||ee.isAudioOnly?null:u().createElement(Ei,null),Nt=!V.conferenceJoined||ee.hideAudioModeButton?null:u().createElement(li,null),ot=V.conferenceJoined&&ee.showRecordingButton?u().createElement(yi,null):null,pn=V.conferenceJoined&&ee.showSwitchToVideoCallButton&&ee.isAudioOnly&&b.length-(V.noOfScreenShareUser||0)==2?u().createElement(Bi,null):null;return Rt&&ut.push(Rt),Nt&&ut.push(Nt),hn.isPresenter!==!1&&(pn&&ut.push(pn),ht&&ut.push(ht),yt&&ut.push(yt),Ut&&ut.push(Ut),ot&&ut.push(ot)),u().createElement(o.View,{style:V.isPortrait?pt.buttonListContainerPortrait:pt.buttonListContainerLandscape},u().createElement(o.FlatList,{key:V.isPortrait.toString(),scrollEnabled:!1,contentContainerStyle:V.isPortrait?pt.buttonListPortrait:pt.buttonListLandscape,showsVerticalScrollIndicator:!1,numColumns:V.isPortrait?Li:1,data:ut,renderItem:({item:St})=>u().createElement(o.View,{style:V.isPortrait?[pt.buttonWrapperPortrait,{marginHorizontal:J}]:[pt.buttonWrapperLandscape,{marginVertical:J}]},St)}))})()))))}class Yn extends u().Component{constructor(b){super(b);wt(this,"fadeInAnimation",()=>{o.Animated.timing(this.state.fadeAnim,{toValue:0,duration:0,useNativeDriver:!0}).start(()=>{o.Animated.timing(this.state.fadeAnim,{toValue:1,duration:this.props.duration,delay:10,useNativeDriver:!0}).start()})});this.state={activeIndex:-1,fadeAnim:new o.Animated.Value(0),animations:[]},this.animations=[{name:"zoomIn",animation:{scale:this.state.fadeAnim.interpolate({inputRange:[0,1],outputRange:[0,1]})}},{name:"pulse",animation:{scale:this.state.fadeAnim.interpolate({inputRange:[0,.4,.7,1],outputRange:[.7,1,1.3,1]})}},{name:"shake",animation:{scale:this.state.fadeAnim.interpolate({inputRange:[0,.2,.4,.6,.8,1],outputRange:[.8,1.2,.8,1.2,.8,1]})}},{name:"rotate",animation:{rotate:this.state.fadeAnim.interpolate({inputRange:[0,1],outputRange:["0deg","360deg"]})}}],this._changeRadio=this._changeRadio.bind(this),this._checkAnimatons=this._checkAnimatons.bind(this)}componentDidMount(){this._checkAnimatons(),this.fadeInAnimation()}componentDidUpdate(b){if(this.state.activeIndex===-1&&this.props.initial>0){const B=this.props.initial-1;this._changeRadio(this.props.data[B],B)}if(this.props.initial!==b.initial){const B=this.props.initial-1;this._changeRadio(this.props.data[B],B)}this.props.animationTypes!==b.animationTypes&&this._checkAnimatons()}_checkAnimatons(){const{animationTypes:b}=this.props;this.setState({animations:[]});const B=[];b&&b.map(J=>{const W=this.animations.find(de=>de.name===J);W&&B.push(W.animation)}),this.setState({animations:B})}_changeRadio(b,B){this.setState({activeIndex:B}),B!==this.state.activeIndex&&this.fadeInAnimation(),this.props.selectedBtn(b)}render(){const{boxStyle:b,style:B,textStyle:J,data:W,activeColor:de,deactiveColor:ue,boxActiveBgColor:ke,boxDeactiveBgColor:rt,box:ut,textColor:Rt}=this.props;return u().createElement(o.View,{style:B},W.map((ht,yt)=>u().createElement(o.TouchableOpacity,{key:yt,style:[ut?ci.productBox:ci.productBoxLess,ut&&{backgroundColor:ht.selected?ke:rt,borderColor:ht.selected?de:ue},b,{borderWidth:ht.selected?1:0}],activeOpacity:.9,onPress:()=>this._changeRadio(ht,yt)},u().createElement(o.View,{style:ci.leftProductBox},this.props.renderIcon(ht.type)),u().createElement(o.View,{style:[ci.centerProductBox]},u().createElement(o.Text,{style:[{color:Rt},J]},ht.type===_e.BLUETOOTH&&ht.name?ht.name:ht.type)))))}}wt(Yn,"defaultProps",{style:{},boxStyle:{},textStyle:{},initial:-1,circleSize:18,duration:500,data:[],animationTypes:[],selectedBtn:()=>{},activeColor:"#fff",deactiveColor:"#e2e2e2",boxActiveBgColor:"#00000000",boxDeactiveBgColor:"#00000000",textColor:"#fff",box:!0});const ci=o.StyleSheet.create({productBox:{flexDirection:"row",borderRadius:7,borderWidth:1,paddingHorizontal:10,paddingVertical:15,marginTop:10},productBoxLess:{flexDirection:"row",marginTop:10},leftProductBox:{flex:1,alignItems:"center",justifyContent:"center"},centerProductBox:{flex:6,justifyContent:"flex-start",alignItems:"center",paddingHorizontal:4,flexDirection:"row"},circle:{borderWidth:1,borderRadius:1e4,alignItems:"center",justifyContent:"center"},icon:{borderWidth:1,borderRadius:1e4,alignItems:"center",justifyContent:"center"},circleFill:{borderWidth:1,borderRadius:1e4}}),Si=Yn,{AudioMode:Ji}=o.NativeModules;function We(){const{globalState:V,dispatch:ee}=qt(),b=ut=>{switch(ut){case _e.SPEAKER:return B();case _e.BLUETOOTH:return de();case _e.HEADPHONES:return W();case _e.EARPIECE:return J();default:return B()}},B=()=>u().createElement(o.Image,{style:ct.lt_control_icon,source:k.AUDIO_MODE_SPEAKER}),J=()=>u().createElement(o.Image,{style:ct.lt_control_icon,source:k.AUDIO_MODE_EARPIECE}),W=()=>u().createElement(o.Image,{style:ct.lt_control_icon,source:k.AUDIO_MODE_HEADPHONE}),de=()=>u().createElement(o.Image,{style:ct.lt_control_icon,source:k.AUDIO_MODE_BLUETOOTH}),ue=()=>{ee({type:Le,payload:!1})},ke=ut=>{ue(),Ji.setAudioDevice(ut.uid||ut.type)},rt=(0,E.useCallback)(()=>u().createElement(Si,{data:V.audioModes,renderIcon:b,selectedBtn:ke}),[V.audioModes]);return u().createElement(o.TouchableOpacity,{onPress:ue,style:ct.container},u().createElement(o.View,{style:ct.listContainer},rt()))}const ct=o.StyleSheet.create({lt_control_icon:{width:25,height:25},lt_control_view:{width:55,height:55,margin:1,backgroundColor:_t.lightGrey,borderRadius:50,alignItems:"center",justifyContent:"center"},container:{position:"absolute",top:0,bottom:0,right:0,left:0,backgroundColor:_t.blackTransparent,elevation:10,justifyContent:"flex-end",alignItems:"center"},listContainer:{backgroundColor:_t.blackLight,padding:10,borderTopEndRadius:8,borderTopStartRadius:8,width:"100%"}}),Ct={REQUEST_TO_SWITCH_TO_VIDEO_CALL:"wants to switch to video call",CALL_CONVERTED_TO_VIDEO_CALL:"This call was converted into a video call do you wish to continue?",ACCEPT_REQUEST_TO_SWITCH_TO_VIDEO_CALL:"Accept",REJECT_REQUEST_TO_SWITCH_TO_VIDEO_CALL:"Reject",SWITCH_TO_VIDEO_CALL_REQUESTED:"Waiting for other user's response",LEAVE:"Leave"},Mt=o.StyleSheet.create({model:{position:"absolute",bottom:"0%",top:"0%",left:"0%",right:"0%",backgroundColor:_t.blackTransparent,elevation:10,zIndex:10,justifyContent:"center",alignItems:"center"},container:{backgroundColor:_t.palette.white,borderRadius:8,marginHorizontal:"5%"},headerText:{fontSize:18,textAlign:"center",padding:16,color:_t.palette.black},buttonContainer:{flexDirection:"row",justifyContent:"space-around"},button:{width:"50%",padding:12,justifyContent:"center",alignItems:"center",elevation:1},buttonText:{color:_t.palette.black}}),vn=()=>{const{globalState:V,jitsiManager:ee}=qt();return V.showSwitchToVideoCallModel?V.switchToVideoRequestModelType===qe?u().createElement(o.View,{style:Mt.model},u().createElement(o.ActivityIndicator,null),u().createElement(o.Text,{style:Mt.headerText},Ct.SWITCH_TO_VIDEO_CALL_REQUESTED)):u().createElement(o.View,{style:Mt.model},u().createElement(o.View,{style:Mt.container},u().createElement(o.Text,{style:Mt.headerText},V.switchToVideoRequestModelType===mt?`${V.switchToVideoCallRequestInitiator.name} ${Ct.REQUEST_TO_SWITCH_TO_VIDEO_CALL}`:Ct.CALL_CONVERTED_TO_VIDEO_CALL),u().createElement(o.View,{style:Mt.buttonContainer},u().createElement(o.TouchableOpacity,{onPress:()=>{ee.current.onSwitchToVideoCallResponse(!0)},touchSoundDisabled:!0,style:Mt.button},u().createElement(o.Text,{style:Mt.buttonText},Ct.ACCEPT_REQUEST_TO_SWITCH_TO_VIDEO_CALL)),u().createElement(o.TouchableOpacity,{onPress:()=>{V.switchToVideoRequestModelType===mt?ee.current.onSwitchToVideoCallResponse(!1):ee.current.leave()},touchSoundDisabled:!0,style:Mt.button},u().createElement(o.Text,{style:Mt.buttonText},V.switchToVideoRequestModelType===mt?Ct.REJECT_REQUEST_TO_SWITCH_TO_VIDEO_CALL:Ct.LEAVE))))):null},on=o.StyleSheet.create({main_video_avatar_main_view:{height:"100%",width:"100%",alignItems:"center",justifyContent:"center",flexDirection:"column"},zero_height_width:{height:"0%",width:"0%"},full_height_width:{height:"100%",width:"100%"}});var I=__nested_webpack_require_964150__(9941);const C=V=>dn(Ft({},V),{audioTrack:null,videoTrack:null}),ne=V=>{let ee=0;for(let B=0;B<V.length;B++)ee=V.charCodeAt(B)+((ee<<5)-ee);let b="#";for(let B=0;B<3;B++)b+=("00"+(ee>>8*B&240).toString(16)).substr(-2);return b+""},re=()=>{const{globalState:{dominantSpeakerId:V,pinnedUserId:ee},users:b}=qt();return u().createElement(o.View,{style:{flex:1,justifyContent:"center",alignItems:"center",backgroundColor:"#000"}},(()=>{var J;let B=null;return b.length==1?B=b[0]:(b==null?void 0:b.length)==2?B=b[1]:(ee?B=b.find(W=>W.id===ee):V&&(B=b.find(W=>W.id===V)),B||(B=b[1])),B?B.videoTrack&&!B.isVideoMuted?u().createElement(o.View,{style:{flex:1,height:"100%",width:"100%"}},u().createElement(I.RTCView,{key:B==null?void 0:B.id,objectFit:"contain",streamURL:B==null?void 0:B.videoTrack.getOriginalStream().toURL(),style:on.full_height_width,zOrder:-10}),u().createElement(o.Text,{numberOfLines:1,ellipsizeMode:"tail",style:{color:_t.palette.white,fontSize:10,fontWeight:"bold",marginTop:6,marginHorizontal:5,position:"absolute",top:5,left:5}},B.name)):u().createElement(o.View,{style:on.main_video_avatar_main_view},u().createElement(q,{backgroundColor:ne(B==null?void 0:B.name),textColor:_t.palette.white,size:60,avatar:B.avatar},B.name),u().createElement(o.Text,{numberOfLines:1,ellipsizeMode:"tail",style:{color:_t.palette.white,fontSize:10,fontWeight:"bold",marginTop:6,marginHorizontal:5}},B.name),u().createElement(I.RTCView,{key:B.id,objectFit:"cover",streamURL:(J=B.audioTrack)==null?void 0:J.getOriginalStream().toURL(),style:on.zero_height_width,zOrder:0})):null})())},{height:Oe,width:ye}=o.Dimensions.get("window");let st=20,tt=!1,Pt=!1,et=!1,Ce=!1,Yt=!1,ui=!1;o.Platform.OS!=="ios"||o.Platform.isPad||o.Platform.isTVOS||(ye===375&&Oe===812?(Yt=!0,tt=!0,st=44):ye===414&&Oe===896?(Yt=!0,Pt=!0,st=44):ye===390&&Oe===844?(Yt=!0,et=!0,st=47):ye===428&&Oe===926?(Yt=!0,Ce=!0,st=47):(ye===430&&Oe===932||ye===393&&Oe===852)&&(ui=!0,st=49));function $t(V){return o.Platform.select({ios:st,android:V?0:o.StatusBar.currentHeight,default:0})}function an({onButtonPress:V,videoFit:ee}){return u().createElement(o.TouchableOpacity,{testID:"cc-zoom",touchSoundDisabled:!0,onPress:V,style:{paddingHorizontal:2}},u().createElement(o.Image,{style:{width:25,height:25},source:ee==="cover"?k.ZOOM_OUT:k.ZOOM_IN}))}function Bn({userLength:V,onButtonPress:ee}){const{dispatch:b,globalState:{isParticipantsModelVisible:B}}=qt();return u().createElement(u().Fragment,null,u().createElement(o.TouchableOpacity,{testID:"cc-user-list",disabled:hn.isPresenter===!1,touchSoundDisabled:!0,onPress:()=>{ee(),b({type:Xe,payload:!B})},style:{paddingHorizontal:2}},u().createElement(o.Image,{style:{width:25,height:22},source:k.PEOPLE}),u().createElement(o.View,{style:{backgroundColor:"#1E79E7",height:15,minWidth:15,borderRadius:15,position:"absolute",right:-5,top:-10,justifyContent:"center",alignItems:"center"}},u().createElement(o.Text,{style:{color:"#fff",fontSize:10}},V))))}const rn=150,cn=100,di=o.Platform.OS==="android"?100:150;o.Platform.OS==="android"&&o.UIManager.setLayoutAnimationEnabledExperimental&&o.UIManager.setLayoutAnimationEnabledExperimental(!0);const zt=function(){const{globalState:V,users:ee,settings:b,setSettings:B,settings:{avatarMode:J,videoSettings:{videoFit:W,nameLabel:de,userListButton:ue,zoomButton:ke}}}=qt(),rt=$t(!1),ut=(0,E.useRef)(new o.Animated.ValueXY).current,Rt=(0,E.useRef)({x:0,y:0}),ht=(0,E.useRef)(0),yt=(0,E.useRef)(0),Ut=(0,E.useRef)(V.dimension.width-60),Nt=(0,E.useRef)(V.dimension.height-85-di),ot=(0,E.useMemo)(()=>(Ut.current=V.dimension.width-60-(V.isPortrait?0:di),Nt.current=V.dimension.height-85-(V.isPortrait?di:0),o.PanResponder.create({onStartShouldSetPanResponder:()=>!0,onMoveShouldSetPanResponder:(Tt,sn)=>!0,onPanResponderGrant:(Tt,sn)=>{ut.setOffset({x:ut.x._value,y:ut.y._value}),ut.setValue({x:0,y:0})},onPanResponderMove:(Tt,sn)=>{b.enableDraggableVideoTile!==!1&&Rt.current.x<Ut.current&&Rt.current.y<Nt.current&&(ut.setValue({x:sn.dx,y:sn.dy}),ht.current=sn.moveX,yt.current=sn.moveY)},onPanResponderRelease:(Tt,sn)=>{sn.dx===0&&sn.dy===0&&sn.vx===0&&sn.vy===0&&b.enableVideoTileClick&&St($n=>!$n),ut.flattenOffset(),(Rt.current.x>Ut.current||Rt.current.y>Nt.current)&&ut.setValue({x:ht.current-100,y:yt.current-100})}})),[V.dimension.width]);(0,E.useEffect)(()=>{ut.addListener(Tt=>{Rt.current={x:Tt.x,y:Tt.y}})},[]),(0,E.useEffect)(()=>{ut.setValue({x:Ut.current-50,y:10})},[V.dimension.width]);const[pn,St]=(0,E.useState)(!1);return u().createElement(o.View,{style:{flex:1,justifyContent:"center",alignItems:"center",backgroundColor:"#000"}},(()=>{var An,Zn;let Tt=null;if(pn||ee.length==1?Tt=ee[0]:(ee==null?void 0:ee.length)==2?Tt=ee[1]:(V.pinnedUserId?Tt=ee.find(wn=>wn.id===V.pinnedUserId):V.dominantSpeakerId&&(Tt=ee.find(wn=>wn.id===V.dominantSpeakerId)),Tt||(Tt=ee[1])),!Tt)return!1;const sn=[],$n=()=>u().createElement(Bn,{userLength:ee.length,onButtonPress:()=>{o.LayoutAnimation.configureNext(o.LayoutAnimation.Presets.linear),o.LayoutAnimation.configureNext({duration:100,create:{type:"linear",property:"scaleY"},update:{type:"linear",property:"scaleY"},delete:{type:"linear",property:"opacity"}})}}),gn=()=>u().createElement(o.View,{style:{paddingRight:5,flexDirection:"row"}},u().createElement(o.Text,{style:{color:_t.palette.white,fontSize:18,fontWeight:"bold"}},Tt.name),Tt.isAudioMuted?u().createElement(o.View,{style:{width:10,height:10,marginLeft:5,borderRadius:20,alignItems:"center",justifyContent:"center"}},u().createElement(o.Image,{style:{width:15,height:15},source:k.AUDIO_MUTE})):null,Tt.isVideoMuted&&!b.isAudioOnly?u().createElement(o.View,{style:{width:10,height:10,marginLeft:5,borderRadius:20,alignItems:"center",justifyContent:"center"}},u().createElement(o.Image,{style:{width:15,height:15},source:k.VIDEO_MUTE})):null),wi=()=>u().createElement(an,{onButtonPress:()=>{o.LayoutAnimation.configureNext(o.LayoutAnimation.Presets.linear),o.LayoutAnimation.configureNext({duration:200,create:{type:"linear",property:"scaleY"},update:{type:"linear",property:"scaleY"},delete:{type:"linear",property:"opacity"}}),B({type:y,payload:W==="cover"?"contain":"cover"})},videoFit:W}),Vn=()=>u().createElement(u().Fragment,null,u().createElement(o.View,{style:[Cn.videoItemContainer,{top:0}]},u().createElement(o.View,{style:{flex:1}},u().createElement(o.View,{style:[Cn.videoInnerContainer,{top:0,left:0}]},(de==null?void 0:de.visibility)&&de.position==="top-left"&&gn(),(ue==null?void 0:ue.visibility)&&ue.position==="top-left"&&ee.length>2&&$n(),(ke==null?void 0:ke.visibility)&&ke.position==="top-left"&&wi()),u().createElement(o.View,{style:[Cn.videoInnerContainer,{top:0,right:0}]},(de==null?void 0:de.visibility)&&de.position==="top-right"&&gn(),(ue==null?void 0:ue.visibility)&&ue.position==="top-right"&&ee.length>2&&$n(),(ke==null?void 0:ke.visibility)&&ke.position==="top-right"&&wi()))),u().createElement(o.View,{style:[Cn.videoItemContainer,{bottom:0}]},u().createElement(o.View,{style:{flex:1}},u().createElement(o.View,{style:[Cn.videoInnerContainer,{bottom:0,left:0}]},(de==null?void 0:de.visibility)&&de.position==="bottom-left"&&gn(),(ue==null?void 0:ue.visibility)&&ue.position==="bottom-left"&&ee.length>2&&$n(),(ke==null?void 0:ke.visibility)&&ke.position==="bottom-left"&&wi()),u().createElement(o.View,{style:[Cn.videoInnerContainer,{bottom:0,right:0}]},(de==null?void 0:de.visibility)&&de.position==="bottom-right"&&gn(),(ue==null?void 0:ue.visibility)&&ue.position==="bottom-right"&&ee.length>2&&$n(),(ke==null?void 0:ke.visibility)&&ke.position==="bottom-right"&&wi()))));return ee.length>2&&ee.map((wn,Nn)=>{var Ue;Nn!=0&&wn.id!=Tt.id&&!wn.isAudioMuted&&wn.audioTrack&&sn.push(u().createElement(I.RTCView,{key:wn.id,objectFit:"cover",streamURL:(Ue=wn.audioTrack)==null?void 0:Ue.getOriginalStream().toURL(),style:Cn.zero_height_width,zOrder:-10}))}),Tt.videoTrack&&!Tt.isVideoMuted?u().createElement(o.View,{style:{flex:1,height:"100%",width:"100%"}},sn!=null&&sn.length?sn.map(wn=>u().createElement(u().Fragment,null,wn)):null,u().createElement(I.RTCView,{key:Tt==null?void 0:Tt.id,objectFit:W==="cover"?"cover":"contain",streamURL:Tt==null?void 0:Tt.videoTrack.getOriginalStream().toURL(),style:Cn.full_height_width,zOrder:-10,mirror:ee[0].id===Tt.id&&((An=Tt==null?void 0:Tt.videoTrack)==null?void 0:An._facingMode)!=="environment"}),Vn()):u().createElement(o.View,{style:Cn.main_video_avatar_main_view},sn!=null&&sn.length?sn.map(wn=>u().createElement(u().Fragment,null,wn)):null,u().createElement(q,{backgroundColor:ne(Tt==null?void 0:Tt.name),textColor:"#FFF",size:100,avatar:Tt.avatar},Tt.name),u().createElement(I.RTCView,{key:Tt.id,objectFit:W==="cover"?"cover":"contain",streamURL:(Zn=Tt.audioTrack)==null?void 0:Zn.getOriginalStream().toURL(),style:Cn.zero_height_width,zOrder:0}),Vn())})(),u().createElement(o.Animated.View,Ft({style:{marginTop:rt,position:"absolute",top:"0%",left:"0%",height:rn,width:cn,transform:[{translateX:ut.x.interpolate({inputRange:[10,Ut.current-50],outputRange:[10,Ut.current-50],extrapolate:"clamp"})},{translateY:ut.y.interpolate({inputRange:[10,Nt.current-rn],outputRange:[10,Nt.current-rn],extrapolate:"clamp"})}]}},ot.panHandlers),(()=>{var sn,$n;let Tt=null;return pn?(ee==null?void 0:ee.length)==2?Tt=ee[1]:(V.pinnedUserId?Tt=ee.find(gn=>gn.id===V.pinnedUserId):V.dominantSpeakerId&&(Tt=ee.find(gn=>gn.id===V.dominantSpeakerId)),Tt||(Tt=ee[1])):Tt=ee[0],Tt&&ee.length!=1?Tt.videoTrack&&!Tt.isVideoMuted?u().createElement(o.View,{style:{height:"100%",width:"100%",backgroundColor:"#2E2F30",borderRadius:8,overflow:"hidden"}},u().createElement(o.View,{style:{justifyContent:"flex-start",alignItems:"center",position:"absolute",left:5,bottom:5,zIndex:5,elevation:5}},Tt.isAudioMuted?u().createElement(o.View,{style:{width:10,height:10,margin:2,borderRadius:20,alignItems:"center",justifyContent:"center"}},u().createElement(o.Image,{style:{width:15,height:15},source:k.AUDIO_MUTE})):null,Tt.isVideoMuted&&!b.isAudioOnly?u().createElement(o.View,{style:{width:10,height:10,margin:2,borderRadius:20,alignItems:"center",justifyContent:"center"}},u().createElement(o.Image,{style:{width:15,height:15},source:k.VIDEO_MUTE})):null),u().createElement(I.RTCView,{objectFit:"cover",streamURL:Tt==null?void 0:Tt.videoTrack.getOriginalStream().toURL(),style:Cn.full_height_width,zOrder:1,mirror:ee[0].id===Tt.id&&((sn=Tt==null?void 0:Tt.videoTrack)==null?void 0:sn._facingMode)!=="environment"})):u().createElement(o.View,{style:{backgroundColor:"#2E2F30",height:"100%",width:"100%",borderRadius:8,justifyContent:"center",alignItems:"center"}},u().createElement(o.View,{style:{justifyContent:"flex-start",alignItems:"center",position:"absolute",right:5,bottom:5,zIndex:5,elevation:5}},Tt.isAudioMuted?u().createElement(o.View,{style:{width:10,height:10,margin:2,borderRadius:20,alignItems:"center",justifyContent:"center"}},u().createElement(o.Image,{style:{width:15,height:15},source:k.AUDIO_MUTE})):null),u().createElement(q,{backgroundColor:"#4d4c4f",textColor:"#FFF",size:30,avatar:Tt.avatar},Tt.name),u().createElement(o.Text,{numberOfLines:1,ellipsizeMode:"tail",style:[{fontSize:14,color:"#fff",position:"absolute"},J=="fullscreen"?{top:5,left:5}:{bottom:0,left:0}]},Tt.name),u().createElement(I.RTCView,{key:Tt.id,objectFit:"cover",streamURL:($n=Tt.audioTrack)==null?void 0:$n.getOriginalStream().toURL(),style:Cn.zero_height_width,zOrder:-10})):null})()))},Cn=o.StyleSheet.create({main_video_avatar_main_view:{height:"100%",width:"100%",alignItems:"center",justifyContent:"center",flexDirection:"column"},zero_height_width:{height:"0%",width:"0%"},full_height_width:{height:"100%",width:"100%"},videoItemContainer:{position:"absolute",paddingVertical:5,paddingHorizontal:5,width:"100%",height:55},videoInnerContainer:{position:"absolute",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}}),Tn=o.StyleSheet.create({lt_control_container:{display:"flex",width:"100%",flexDirection:"row",justifyContent:"center",alignItems:"center",flexWrap:"wrap",backgroundColor:"rgba(46, 47, 48, 0.5)"},container_background:{display:"flex",width:"95%",height:"100%",flexDirection:"row",justifyContent:"center",alignItems:"center",flexWrap:"wrap",zIndex:2,opacity:.5,borderRadius:20,margin:10,backgroundColor:"#2e2f30"},container_people:{display:"flex",width:"80%",height:"60%",marginTop:110,marginRight:10,flexDirection:"column",flexWrap:"wrap",position:"absolute",zIndex:2,right:0,borderRadius:10,backgroundColor:"#FFF"},container_thum_list:{display:"flex",width:"28%",height:"75%",flexDirection:"column",flexWrap:"wrap",position:"absolute",zIndex:2,right:0},item:{padding:15,fontSize:18,height:70,flexDirection:"row",justifyContent:"flex-start",alignItems:"center"},item_pinned:{padding:15,fontSize:18,height:70,flexDirection:"row",justifyContent:"flex-start",alignItems:"center",opacity:.5,backgroundColor:"#f66301"},container:o.Platform.OS==="ios"?{zIndex:2}:{},lt_control_icon:{width:25,height:25},lt_button:{width:55,height:55,margin:5,backgroundColor:_t.lightGrey,borderRadius:50,alignItems:"center",justifyContent:"center"},lt_small_button:{width:10,height:10,margin:2,borderRadius:20,alignItems:"center",justifyContent:"center"},lt_small_button_red:{width:35,height:35,margin:5,backgroundColor:"#EB4E3D",borderRadius:20,alignItems:"center",justifyContent:"center"},lt_small_button_blue:{width:35,height:35,margin:5,backgroundColor:"#84aeff",borderRadius:20,alignItems:"center",justifyContent:"center"},button_container:{alignItems:"center",justifyContent:"center",margin:2,opacity:.7},color_white:{color:_t.palette.white},full_height_width:{height:"100%",width:"100%"},mainVideoAvatarMainView:{height:"100%",width:"100%",alignItems:"center",justifyContent:"center",flexDirection:"column"},mainVideoName:{fontSize:18,color:_t.palette.white,padding:20},zero_height_width:{height:"0%",width:"0%"},main_video_video_track_view:{flex:1,height:"100%",width:"100%",justifyContent:"center",alignItems:"center",overflow:"hidden",zIndex:2,elevation:1},main_video_track_name:{color:_t.palette.white,fontSize:18,fontWeight:"bold",position:"absolute",bottom:5,left:5,elevation:10},user_item_pinned:{padding:15,fontSize:18,height:70,marginStart:10,marginRight:10,marginBottom:10,borderRadius:10,flexDirection:"row",justifyContent:"flex-start",alignItems:"center",backgroundColor:"#e5e5e5"},user_item_user_name:{fontSize:18,color:_t.palette.black,marginStart:10},user_item_icon_container:{flexDirection:"row",justifyContent:"flex-start",alignItems:"center",position:"absolute",right:10},user_item_icons:{width:15,height:15},user_list_network_container:{position:"absolute",bottom:6,right:10},user_list_network_icon:{width:15,height:15},user_list_main_touchable:{zIndex:10,elevation:5},user_list_user_name:{fontSize:18,color:_t.palette.white,padding:5,position:"absolute",top:0,left:0,elevation:5,zIndex:5},user_list_icon_container:{justifyContent:"flex-start",alignItems:"center",position:"absolute",left:5,bottom:5,zIndex:5,elevation:5},user_list_avatar_name:{fontSize:18,color:_t.palette.white,padding:5},mainContainer:{height:"100%",width:"100%",backgroundColor:_t.blackLightXXX},video_container:{flex:1},call_container_portrait:{flex:1},call_container_landscape:{flex:1,height:"100%",flexDirection:"row"},top_bar:{height:25,elevation:1,zIndex:2,backgroundColor:_t.blackLightXXX},main_video_container:{flexDirection:"row",flex:1},side_bar:{width:"5%",elevation:1,zIndex:2,backgroundColor:_t.blackLightXXX},main_video:{position:"relative",backgroundColor:_t.blackLight,flex:1,marginVertical:5,borderRadius:8},reconnetIndicator:{position:"relative"},recordingContainer:{position:"absolute",flexDirection:"row",alignItems:"center",zIndex:10,elevation:10,top:26,left:"6%"},recordingIcon:{height:30,width:30},recordingText:{color:_t.palette.white,fontSize:12},videoItemContainer:{position:"absolute",bottom:0,paddingVertical:10,paddingHorizontal:15,width:"100%",height:"100%",flex:1},videoInnerContainer:{position:"absolute",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}}),un=o.StyleSheet.create({user_list_container:{position:"absolute",top:0,bottom:0,width:"100%",backgroundColor:_t.blackLightXXXT,justifyContent:"center",elevation:10,zIndex:10,paddingTop:25},flat_list_style:{width:"100%"},user_list_close_container:{padding:10,borderRadius:20,backgroundColor:_t.whiteAlmost,alignItems:"center",width:40,alignSelf:"center"},close_icon:{width:20,height:20},main_video_container:{width:"100%",height:"100%",alignItems:"center",justifyContent:"center"},pin_icon_container:{elevation:5,zIndex:5},pin_icon:{width:25,height:25},main_video_avatar_main_view:{height:"100%",width:"100%",alignItems:"center",justifyContent:"center",flexDirection:"column"},main_video_name:{fontSize:18,color:_t.palette.white,padding:20},zero_height_width:{height:"0%",width:"0%"},main_video_video_track_view:{flex:1,height:"100%",width:"100%",overflow:"hidden",zIndex:2,elevation:1},main_video_track_name:{color:_t.palette.white,fontSize:18,fontWeight:"bold",position:"absolute",bottom:5,left:5,elevation:10,width:"80%"},full_height_width:{height:"100%",width:"100%"},user_item_pinned:{padding:15,fontSize:18,height:70,marginStart:10,marginRight:10,marginBottom:10,borderRadius:10,flexDirection:"row",justifyContent:"flex-start",alignItems:"center",backgroundColor:_t.whiteX,zIndex:1,elevation:1},user_item_user_name:{fontSize:18,color:_t.palette.black,marginStart:10,width:"60%"},user_item_icon_container:{flexDirection:"row",justifyContent:"flex-start",alignItems:"center",position:"absolute",right:10},user_item_icons:{width:20,height:20},user_list_network_container:{position:"absolute",bottom:6,right:10},recorderBadge:{position:"absolute",height:20,width:20,borderRadius:20,backgroundColor:_t.redLightX,zIndex:1,alignItems:"center",justifyContent:"center",left:25,top:-10},recorderBadgeText:{fontSize:12,color:_t.palette.white},lt_small_button:{},lt_small_button_red:{},lt_small_button_blue:{},user_list_network_icon:{width:15,height:15},user_stats_container:{paddingRight:5,width:200},user_stats_menu:{backgroundColor:"#222",alignSelf:"flex-end",marginBottom:5,borderRadius:5,width:90,paddingHorizontal:10,paddingVertical:5,position:"absolute"},user_stats_menu_list:{flexDirection:"row",alignItems:"center"},user_stats_menu_icon:{width:18,height:18,marginRight:5},user_stats_menu_text:{fontSize:16,color:"#fff",padding:5},user_details_container:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderRadius:5,paddingHorizontal:5},user_details_container_two:{flexDirection:"row",alignItems:"center"},user_detail_icons:{width:20,height:20},videoItemContainer:{position:"absolute",paddingVertical:5,paddingHorizontal:5,width:"100%",height:55,zIndex:9,elevation:1},videoInnerContainer:{position:"absolute",flexDirection:"row",alignItems:"center",justifyContent:"space-between"}}),gi={lastZoomLevel:1,offsetX:0,offsetY:0,lastX:0,lastY:0,lastMovePinch:!1,originalWidth:null,originalHeight:null};class Rn extends E.Component{constructor(b){var B;super(b);wt(this,"contextState",{distanceLeft:0,distanceRight:0,distanceTop:0,distanceBottom:0});wt(this,"longPressTimeout",null);wt(this,"pinchZoomPosition",null);wt(this,"_getBoxDimensions",b=>{const{height:B,width:J}=b.nativeEvent.layout;this.setState({originalWidth:J,originalHeight:B})});wt(this,"_handleStartShouldSetPanResponder",(b,B)=>(this._doubleTapCheck(b,B),this.props.onStartShouldSetPanResponder&&this.props.onStartShouldSetPanResponder(b,B,this._getZoomableViewEventObject(),!1),this.props.captureEvent));wt(this,"_handleMoveShouldSetPanResponder",(b,B)=>{let J=this.props.zoomEnabled&&(Math.abs(B.dx)>2||Math.abs(B.dy)>2||B.numberActiveTouches===2);return this.props.onMoveShouldSetPanResponder&&(J=this.props.onMoveShouldSetPanResponder(b,B,this._getZoomableViewEventObject(),J)),J});wt(this,"_handlePanResponderGrant",(b,B)=>{if(this.isDistanceSet=!1,B.numberActiveTouches===2){const J=Math.abs(b.nativeEvent.touches[0].pageX-b.nativeEvent.touches[1].pageX),W=Math.abs(b.nativeEvent.touches[0].pageY-b.nativeEvent.touches[1].pageY),de=Math.sqrt(J*J+W*W);this.distance=de,this.isDistanceSet=!0}this.props.onLongPress&&(this.longPressTimeout=setTimeout(()=>{this.props.onLongPress&&(this.props.onLongPress(b,B,this._getZoomableViewEventObject()),this.longPressTimeout=null)},this.props.longPressDuration)),this.props.onPanResponderGrant&&this.props.onPanResponderGrant(b,B,this._getZoomableViewEventObject())});wt(this,"_handlePanResponderEnd",(b,B)=>{this.setState({lastX:this.state.offsetX,lastY:this.state.offsetY,lastZoomLevel:this.state.zoomLevel}),this.longPressTimeout&&(clearTimeout(this.longPressTimeout),this.longPressTimeout=null),this.props.onPanResponderEnd&&this.props.onPanResponderEnd(b,B,this._getZoomableViewEventObject()),this.gestureType==="pinch"?(this.pinchZoomPosition=null,this.props.onZoomEnd&&this.props.onZoomEnd(b,B,this._getZoomableViewEventObject())):this.gestureType==="shift"&&this.props.onShiftingEnd&&this.props.onShiftingEnd(b,B,this._getZoomableViewEventObject()),this.gestureType=null});wt(this,"_handlePanResponderMove",(b,B)=>{if(this.props.onPanResponderMove&&this.props.onPanResponderMove(b,B,this._getZoomableViewEventObject()))return!1;B.numberActiveTouches===2?(this.longPressTimeout&&(clearTimeout(this.longPressTimeout),this.longPressTimeout=null),this.isDistanceSet||this._handlePanResponderGrant(b,B),this.gestureType="pinch",this._handlePinching(b,B)):B.numberActiveTouches===1&&(this.longPressTimeout&&(Math.abs(B.dx)>5||Math.abs(B.dy)>5)&&(clearTimeout(this.longPressTimeout),this.longPressTimeout=null),this.gestureType!=="pinch"&&(this.gestureType="shift"),this._handleMovement(b,B))});wt(this,"_handlePinching",(b,B)=>{const{maxZoom:J,minZoom:W,zoomCenteringLevelDistance:de,pinchToZoomInSensitivity:ue,pinchToZoomOutSensitivity:ke}=this.props,rt=Math.abs(b.nativeEvent.touches[0].pageX-b.nativeEvent.touches[1].pageX),ut=Math.abs(b.nativeEvent.touches[0].pageY-b.nativeEvent.touches[1].pageY),Rt=Math.sqrt(rt*rt+ut*ut);if(this.props.onZoomBefore&&this.props.onZoomBefore(b,B,this._getZoomableViewEventObject()))return!1;const ht=Rt/this.distance,yt=ht<1?ke:ue;let Ut=(ht*this.state.lastZoomLevel+this.state.lastZoomLevel*yt)/(yt+1);if(J!==null&&Ut>J&&(Ut=J),Ut<W&&(Ut=W),this.pinchZoomPosition===null){const Tt=Math.min(b.nativeEvent.touches[0].pageX,b.nativeEvent.touches[1].pageX)+rt/2,sn=Math.min(b.nativeEvent.touches[0].pageY,b.nativeEvent.touches[1].pageY)+ut/2;this.pinchZoomPosition=this._getOffsetAdjustedPosition(Tt,sn)}const Nt=Math.abs(Ut-this.state.lastZoomLevel)/de,ot=this.state.lastX+Nt*this.pinchZoomPosition.x,pn=this.state.lastY+Nt*this.pinchZoomPosition.y,St=this._bindOffsetValuesToBorders({zoomLevel:Ut,lastMovePinch:!0,offsetX:ot,offsetY:pn},null);this.setState(St,()=>{this.props.onZoomAfter&&this.props.onZoomAfter(b,B,this._getZoomableViewEventObject())})});wt(this,"_handleMovement",(b,B)=>{const{movementSensibility:J}=this.props;if(this.pinchZoomPosition)return;const W=this.state.lastX+B.dx/this.state.zoomLevel/J,de=this.state.lastY+B.dy/this.state.zoomLevel/J;this._setNewOffsetPosition(W,de)});wt(this,"_setNewOffsetPosition",(b,B,J=!0,W=!1,de=null)=>{const{onShiftingBefore:ue,onShiftingAfter:ke}=this.props;if(ue&&ue(null,null,this._getZoomableViewEventObject()))return!1;const rt=this._bindOffsetValuesToBorders({lastMovePinch:!1,zoomLevel:this.state.zoomLevel,offsetX:b,offsetY:B},J);W&&(rt.lastX=rt.offsetX,rt.lastY=rt.offsetY),this.setState(rt,()=>{if(de&&de(),ke&&ke(null,null,this._getZoomableViewEventObject()))return!1})});wt(this,"_doubleTapCheck",(b,B)=>{const J=new Date().getTime();this.lastPressHolder&&J-this.lastPressHolder<this.props.doubleTapDelay?(delete this.lastPressHolder,this._handleDoubleTap(b,B)):(this.props.onPress&&this.props.onPress(),this.lastPressHolder=J)});this.gestureHandlers=o.PanResponder.create({onStartShouldSetPanResponder:this._handleStartShouldSetPanResponder,onMoveShouldSetPanResponder:this._handleMoveShouldSetPanResponder,onPanResponderGrant:this._handlePanResponderGrant,onPanResponderMove:this._handlePanResponderMove,onPanResponderRelease:this._handlePanResponderEnd,onPanResponderTerminate:b.onPanResponderTerminate,onPanResponderTerminationRequest:(B=b.onPanResponderTerminationRequest)!=null?B:J=>!1,onShouldBlockNativeResponder:J=>!1}),this.state=dn(Ft({},gi),{zoomLevel:b.initialZoom,lastZoomLevel:b.initialZoom||gi.lastZoomLevel,offsetX:b.initialOffsetX,offsetY:b.initialOffsetY}),this.distance=150,this.isDistanceSet=!0,this.gestureType=null,this.contextState={distanceLeft:0,distanceRight:0,distanceTop:0,distanceBottom:0}}componentDidUpdate(b){const{zoomEnabled:B,initialZoom:J}=this.props;b.zoomEnabled&&!B&&this.setState(Ft({zoomLevel:J},gi))}_getZoomableViewEventObject(b={}){return Ft(Ft(Ft({},this.state),this.contextState),b)}_getBoundOffsetValue(b,B,J,W,de){const ue=J*(1-J/W)*(.5+.5/de),ke=-1*(J+ue-J),rt=B-ue,ut=-1*(B+ue);return this._setContextStateDistances(b,rt,ut),J>W?J/2-W/2/de:rt>0?ue:ut>0?ke:B}_setContextStateDistances(b,B,J){if(b==="x")return this.contextState.distanceLeft=B,void(this.contextState.distanceRight=J);this.contextState.distanceTop=B,this.contextState.distanceBottom=J}_bindOffsetValuesToBorders(b,B=null){if(B===!1||B===null&&!this.props.bindToBorders)return b;const{originalWidth:J,originalHeight:W}=this.state,de=J*b.zoomLevel,ue=W*b.zoomLevel,ke=this._getBoundOffsetValue("x",b.offsetX,J,de,b.zoomLevel);b.offsetX=ke;const rt=this._getBoundOffsetValue("y",b.offsetY,W,ue,b.zoomLevel);return b.offsetY=rt,b}_handleDoubleTap(b,B){const{onDoubleTapBefore:J,onDoubleTapAfter:W,doubleTapZoomToCenter:de}=this.props;if(B.numberActiveTouches>1||!this.props.zoomEnabled)return;J&&J(b,B,this._getZoomableViewEventObject());const ue=this._getNextZoomStep(),ke={x:b.nativeEvent.locationX,y:b.nativeEvent.locationY};de&&(ke.x=0,ke.y=0),this._zoomToLocation(ke.x,ke.y,ue,!0,()=>{W&&W(b,B,this._getZoomableViewEventObject({zoomLevel:ue}))})}_getNextZoomStep(){const{zoomStep:b,maxZoom:B,initialZoom:J}=this.props,{zoomLevel:W}=this.state;if(W===B)return J;const de=W+W*b;return B!==null&&de>B?B:de}_getOffsetAdjustedPosition(b,B){const{originalWidth:J,originalHeight:W}=this.state;return b===0&&B===0?{x:0,y:0}:{x:J/2-b,y:W/2-B}}_zoomToLocation(b,B,J,W=!0,de=null){const ue=this._getOffsetAdjustedPosition(b,B);this.props.onZoomBefore&&this.props.onZoomBefore(null,null,this._getZoomableViewEventObject());const ke=this._bindOffsetValuesToBorders({zoomLevel:J,offsetX:ue.x,offsetY:ue.y,lastZoomLevel:J,lastX:ue.x,lastY:ue.y},W);this.setState(ke,()=>{de&&de(),this.props.onZoomAfter&&this.props.onZoomAfter(null,null,this._getZoomableViewEventObject())})}zoomTo(b,B=!0){return new Promise(J=>{b>=this.props.maxZoom||b<=this.props.minZoom?J(!1):this._zoomToLocation(0,0,b,B,()=>{J(!0)})})}zoomBy(b=null,B=!0){return b||(b=this.props.zoomStep),this.zoomTo(this.state.zoomLevel+b,B)}moveTo(b,B,J=!0){const{zoomLevel:W,originalWidth:de,originalHeight:ue}=this.state,ke=(b-de/2)/W,rt=(B-ue/2)/W;return new Promise(ut=>{this._setNewOffsetPosition(-ke,-rt,J,!0,()=>{ut()})})}moveBy(b,B,J=!0){const{zoomLevel:W,lastX:de,lastY:ue}=this.state,ke=de-b/W,rt=ue-B/W;return new Promise(ut=>{this._setNewOffsetPosition(ke,rt,J,!0,()=>{ut()})})}render(){return u().createElement(o.View,{style:si.container,onLayout:this._getBoxDimensions},u().createElement(o.View,dn(Ft({},this.gestureHandlers.panHandlers),{style:{flex:1,position:"absolute",height:this.state.originalHeight,width:this.state.originalWidth,zIndex:999}})),u().createElement(o.View,{style:[si.wrapper,this.props.style,{transform:[{scale:this.state.zoomLevel},{scale:this.state.zoomLevel},{translateX:this.state.offsetX},{translateY:this.state.offsetY}]}]},this.props.children))}}wt(Rn,"defaultProps",{zoomEnabled:!0,initialZoom:1,initialOffsetX:0,initialOffsetY:0,maxZoom:1.5,minZoom:1,pinchToZoomInSensitivity:3,pinchToZoomOutSensitivity:1,zoomCenteringLevelDistance:.5,movementSensibility:1.9,doubleTapDelay:300,bindToBorders:!0,zoomStep:.5,onLongPress:null,longPressDuration:700,captureEvent:!1});const si=o.StyleSheet.create({wrapper:{flex:1,width:"100%",justifyContent:"center"},container:{flex:1,justifyContent:"center",alignItems:"center",position:"relative"}}),Mn=Rn;function qn({onButtonPress:V,fullScreen:ee}){return u().createElement(o.TouchableOpacity,{testID:"cc-full-screen",touchSoundDisabled:!0,onPress:V,style:{paddingHorizontal:2}},u().createElement(o.Image,{style:{width:30,height:30},source:ee?k.FULLSCREEN_DISABLE:k.FULLSCREEN_ENABLE}))}o.Platform.OS==="android"&&o.UIManager.setLayoutAnimationEnabledExperimental&&o.UIManager.setLayoutAnimationEnabledExperimental(!0);const Ui=({isMenuVisible:V,mainVideoSpeaker:ee,setIsMenuVisible:b,pinUser:B,unPinUser:J,pinnedUserId:W,jitsiManager:de,localUserId:ue,isAudioOnly:ke,networkColor:rt,nameLabel:ut})=>{let Rt={top:-45,right:5};if(ut)switch(ut.position){case"top-right":case"top-left":Rt={top:45,right:5};break;case"bottom-right":case"bottom-left":Rt={bottom:40,right:5}}return u().createElement(o.View,{style:[un.user_stats_container]},V&&u().createElement(o.View,{style:[un.user_stats_menu,Rt]},u().createElement(o.TouchableOpacity,{onPress:()=>{ee.id===W?J():B(ee.id),b(!1)},style:un.user_stats_menu_list},u().createElement(o.Image,{style:un.user_stats_menu_icon,source:k.PIN}),u().createElement(o.Text,{style:un.user_stats_menu_text},ee.id===W?"Unpin":"Pin")),ee.isAudioMuted||ee.id===ue?null:u().createElement(o.TouchableOpacity,{onPress:()=>{de.current.muteParticipant(ee),b(!1)},style:un.user_stats_menu_list},u().createElement(o.Image,{style:un.user_detail_icons,source:k.AUDIO_MUTE}),u().createElement(o.Text,{style:un.user_stats_menu_text},"Mute"))),u().createElement(o.View,{style:[un.user_details_container,{backgroundColor:ut.color}]},u().createElement(o.View,{style:un.user_details_container_two},u().createElement(o.Image,{style:[un.user_detail_icons,{tintColor:ee.isAudioMuted?_t.red:_t.green}],source:ee.isAudioMuted?k.AUDIO_MUTE:k.AUDIO_UNMUTE}),ke?null:u().createElement(o.Image,{style:[un.user_detail_icons,{tintColor:ee.isVideoMuted?_t.red:_t.green}],source:ee.isVideoMuted?k.VIDEO_MUTE:k.VIDEO_UNMUTE}),u().createElement(o.Text,{numberOfLines:1,ellipsizeMode:"tail",style:dn(Ft({},un.main_video_name),{padding:10,maxWidth:100})},ee.name)),u().createElement(o.View,{style:un.user_details_container_two},rt?u().createElement(o.Image,{resizeMode:"contain",source:rt,style:un.user_detail_icons}):null,u().createElement(o.TouchableOpacity,{onPress:()=>{b(ht=>!ht)}},u().createElement(o.Image,{resizeMode:"contain",source:k.MENU,style:un.user_detail_icons})))))},dr=u().memo(({cameraFlipped:V,videoFit:ee,isMenuVisible:b,setIsMenuVisible:B,pinUser:J,unPinUser:W,pinnedUserId:de,jitsiManager:ue,users:ke,isAudioOnly:rt,networkColor:ut,dominantSpeakerId:Rt,mainVideoSpeaker:ht})=>{var yt,Ut,Nt;if(ht){const ot=ht.videoTrack,pn=ht.stats;pn&&(pn.connectionQuality<25?k.NETWORK1:pn.connectionQuality<50?k.NETWORK2:pn.connectionQuality<75?k.NETWORK3:k.NETWORK4);try{ht.id}catch(St){}if(ht&&(ht.isVideoMuted||!ht.videoTrack))return u().createElement(o.TouchableOpacity,{activeOpacity:1,onPress:()=>{b&&B(!1)},style:[un.main_video_video_track_view,{justifyContent:"center",alignItems:"center"}]},u().createElement(q,{backgroundColor:ne(ht==null?void 0:ht.name),textColor:"#FFF",size:160,avatar:ht.avatar},ht.name),u().createElement(I.RTCView,{key:ht.id,objectFit:"cover",streamURL:(yt=ht.audioTrack)==null?void 0:yt.getOriginalStream().toURL(),style:un.zero_height_width,zOrder:-10}));if(ot)return(Ut=ue==null?void 0:ue.current)==null||Ut.setConstraints(ht.id),u().createElement(o.View,{style:un.main_video_video_track_view},u().createElement(Mn,{onPress:()=>{b&&B(!1)}},(Nt=ot==null?void 0:ot.getOriginalStream())!=null&&Nt.toURL()?u().createElement(I.RTCView,{key:ot.getOriginalStream().toURL(),objectFit:ee==="cover"?"cover":"contain",streamURL:ot.getOriginalStream().toURL(),style:un.full_height_width,zOrder:-10,mirror:ke[0].id===ht.id&&(ot==null?void 0:ot._facingMode)!=="environment"}):null))}return null},(V,ee)=>V.isMenuVisible===ee.isMenuVisible&&V.setIsMenuVisible===ee.setIsMenuVisible&&V.pinnedUserId===ee.pinnedUserId&&V.isAudioOnly===ee.isAudioOnly&&V.dominantSpeakerId===ee.dominantSpeakerId&&V.mainVideoSpeaker.isAudioMuted===ee.mainVideoSpeaker.isAudioMuted&&V.mainVideoSpeaker.isVideoMuted===ee.mainVideoSpeaker.isVideoMuted&&V.mainVideoSpeaker.isVideoMuted===ee.mainVideoSpeaker.isVideoMuted&&V.videoFit===ee.videoFit&&V.cameraFlipped===ee.cameraFlipped),Gi=({setFullScreen:V=()=>null})=>{const{globalState:{dominantSpeakerId:ee,pinnedUserId:b,cameraFlipped:B},users:J,dispatch:W,jitsiManager:de,settings:{isAudioOnly:ue,videoSettings:{videoFit:ke,nameLabel:rt,fullScreenButton:ut,userListButton:Rt,zoomButton:ht}},setSettings:yt}=qt(),[Ut,Nt]=(0,E.useState)(!1);let ot;const pn=(0,E.useCallback)(()=>{W({type:O,payload:""})},[]),St=(0,E.useCallback)(Nn=>{W({type:O,payload:Nn})},[]),Tt=J[0];let sn;const $n=J.find(Nn=>Nn.id===ee)||Tt,gn=J.find(Nn=>Nn.id===b),wi=J.reduce((Nn,Ue)=>Nn+(Ue.isPresenter!==!1?1:0),0),Vn=()=>u().createElement(Bn,{userLength:J.length,onButtonPress:()=>{o.LayoutAnimation.configureNext(o.LayoutAnimation.Presets.linear),o.LayoutAnimation.configureNext({duration:100,create:{type:"linear",property:"scaleY"},update:{type:"linear",property:"scaleY"},delete:{type:"linear",property:"opacity"}})}}),An=()=>u().createElement(qn,{fullScreen:!1,onButtonPress:()=>{o.LayoutAnimation.configureNext(o.LayoutAnimation.Presets.linear),o.LayoutAnimation.configureNext({duration:100,create:{type:"linear",property:"scaleY"},update:{type:"linear",property:"scaleY"},delete:{type:"linear",property:"opacity"}}),V(Nn=>!Nn)}}),Zn=()=>u().createElement(an,{onButtonPress:()=>{o.LayoutAnimation.configureNext(o.LayoutAnimation.Presets.linear),o.LayoutAnimation.configureNext({duration:200,create:{type:"linear",property:"scaleY"},update:{type:"linear",property:"scaleY"},delete:{type:"linear",property:"opacity"}}),yt({type:y,payload:ke==="cover"?"contain":"cover"})},videoFit:ke}),wn=()=>{var Nn;return u().createElement(Ui,{isMenuVisible:Ut,mainVideoSpeaker:sn,setIsMenuVisible:Nt,pinUser:St,unPinUser:pn,pinnedUserId:b,jitsiManager:de,localUserId:(Nn=J[0])==null?void 0:Nn.id,isAudioOnly:ue,networkColor:ot,nameLabel:rt})};if(sn=$n,gn&&(sn=gn),hn.isPresenter===!1&&sn.isPresenter===!1){for(let Nn=0;Nn<J.length;Nn++)if(J[Nn].isPresenter!==!1){sn=J[Nn];break}}return wi<1?u().createElement(o.View,{style:{flex:1,justifyContent:"center",alignItems:"center"}},u().createElement(o.ActivityIndicator,{size:"small",color:"#fff"}),u().createElement(o.Text,{style:{marginLeft:10,color:"#fff"}},"Waiting for presenter...")):u().createElement(u().Fragment,null,u().createElement(o.View,{style:un.main_video_container},u().createElement(dr,{cameraFlipped:B,videoFit:ke,isMenuVisible:Ut,setIsMenuVisible:Nt,pinUser:St,unPinUser:pn,pinnedUserId:b,jitsiManager:de,users:J,isAudioOnly:ue,networkColor:ot,dominantSpeakerId:ee,mainVideoSpeaker:Ft({},sn)}),u().createElement(o.View,{style:[un.videoItemContainer,{top:0}]},u().createElement(o.View,{style:{flex:1}},u().createElement(o.View,{style:[un.videoInnerContainer,{top:0,left:0}]},(rt==null?void 0:rt.visibility)&&rt.position==="top-left"&&wn(),(Rt==null?void 0:Rt.visibility)&&Rt.position==="top-left"&&Vn(),(ht==null?void 0:ht.visibility)&&ht.position==="top-left"&&Zn(),(ut==null?void 0:ut.visibility)&&ut.position==="top-left"&&An()),u().createElement(o.View,{style:[un.videoInnerContainer,{top:0,right:0}]},(rt==null?void 0:rt.visibility)&&rt.position==="top-right"&&wn(),(Rt==null?void 0:Rt.visibility)&&Rt.position==="top-right"&&Vn(),(ht==null?void 0:ht.visibility)&&ht.position==="top-right"&&Zn(),(ut==null?void 0:ut.visibility)&&ut.position==="top-right"&&An(),b?u().createElement(o.TouchableOpacity,{touchSoundDisabled:!0,style:un.pin_icon_container,onPress:()=>pn()},u().createElement(o.Image,{style:un.pin_icon,source:k.PIN})):null))),u().createElement(o.View,{style:[un.videoItemContainer,{bottom:0}]},u().createElement(o.View,{style:{flex:1}},u().createElement(o.View,{style:[un.videoInnerContainer,{bottom:0,left:0}]},(rt==null?void 0:rt.visibility)&&rt.position==="bottom-left"&&wn(),(Rt==null?void 0:Rt.visibility)&&Rt.position==="bottom-left"&&Vn(),(ht==null?void 0:ht.visibility)&&ht.position==="bottom-left"&&Zn(),(ut==null?void 0:ut.visibility)&&ut.position==="bottom-left"&&An()),u().createElement(o.View,{style:[un.videoInnerContainer,{bottom:0,right:0}]},(rt==null?void 0:rt.visibility)&&rt.position==="bottom-right"&&wn(),(Rt==null?void 0:Rt.visibility)&&Rt.position==="bottom-right"&&Vn(),(ht==null?void 0:ht.visibility)&&ht.position==="bottom-right"&&Zn(),(ut==null?void 0:ut.visibility)&&ut.position==="bottom-right"&&An())))))},Hn=o.StyleSheet.create({main_container:{backgroundColor:_t.blackLightXX,elevation:0,zIndex:0},user_list_main_touchable:{zIndex:10,elevation:5},user_list_user_name:{fontSize:18,color:_t.palette.white,padding:5,position:"absolute",top:0,left:0,elevation:5,zIndex:5},user_list_icon_container:{justifyContent:"flex-start",alignItems:"center",position:"absolute",left:5,bottom:5,zIndex:5,elevation:5},lt_small_button:{width:10,height:10,margin:2,borderRadius:20,alignItems:"center",justifyContent:"center"},user_list_avatar_name:{fontSize:18,color:_t.palette.white,padding:5},full_height_width:{height:"100%",width:"100%"},user_item_icons:{width:15,height:15},user_list_network_container:{position:"absolute",bottom:6,right:10},user_list_network_icon:{width:15,height:15}}),hr=u().memo(function({urls:V=[]}){return u().createElement(u().Fragment,null,V.map((ee,b)=>b>2?u().createElement(I.RTCView,{key:ee.id,objectFit:"cover",streamURL:ee.url,style:{height:0,width:0},zOrder:-1}):null))},(V,ee)=>V.urls.length===ee.urls.length),zi=u().memo(function(){const{globalState:{pinnedUserId:V,isPortrait:ee,dimension:b},users:B,dispatch:J,settings:{avatarMode:W,isAudioOnly:de,enableVideoTileClick:ue}}=qt(),ke=B.filter(Rt=>Rt.isPresenter!==!1),rt=(0,E.useCallback)(()=>{J({type:O,payload:""})},[]),ut=(0,E.useCallback)(Rt=>{J({type:O,payload:Rt})},[]);return u().createElement(o.View,{style:[Hn.main_container,ee?{paddingVertical:5}:{paddingRight:10,paddingVertical:5}]},u().createElement(o.View,{style:ee?{width:"100%",flexDirection:"row",justifyContent:"space-between"}:{width:"100%",height:"100%",justifyContent:"space-between"}},u().createElement(o.View,{style:{flexDirection:ee?"row":"column",flex:1,marginHorizontal:ee?8:0}},(ke==null?void 0:ke.length)>=1?(()=>{var yt,Ut;const Rt=[...ke],ht=[];for(let Nt=0;Nt<(Rt.length>2?3:Rt.length);Nt++){const ot=Rt[Nt],pn=ot.stats,St=pn?pn.connectionQuality<25?k.NETWORK1:pn.connectionQuality<50?k.NETWORK2:pn.connectionQuality<75?k.NETWORK3:k.NETWORK4:"";let Tt;Tt=ot.id===V,!ot.videoTrack||ot.isVideoMuted||ot.status==="inactive"&&Nt!==0?ht.push(u().createElement(o.TouchableOpacity,{activeOpacity:1,touchSoundDisabled:!0,onPress:()=>{ue&&(Tt?rt():ut(ot.id))},key:ot.id,style:Hn.user_list_main_touchable},u().createElement(o.View,{style:{[ee?"width":"height"]:(b[ee?"width":"height"]-40)/3,aspectRatio:1,alignItems:"center",justifyContent:"center",flexDirection:"column",borderRadius:8,overflow:"hidden",[ee?"marginHorizontal":"marginVertical"]:4,backgroundColor:_t.blackLight,marginBottom:5}},u().createElement(o.View,{style:Hn.user_list_icon_container},ot.isAudioMuted?u().createElement(o.View,{style:Hn.lt_small_button},u().createElement(o.Image,{style:Hn.user_item_icons,source:k.AUDIO_MUTE})):null,ot.isVideoMuted&&!de?u().createElement(o.View,{style:Hn.lt_small_button},u().createElement(o.Image,{style:Hn.user_item_icons,source:k.VIDEO_MUTE})):null),Tt?u().createElement(o.View,{style:dn(Ft({},Hn.lt_small_button),{position:"absolute",top:5,right:5,elevation:5,zIndex:5})},u().createElement(o.Image,{style:Hn.user_item_icons,source:k.PIN})):null,u().createElement(q,{backgroundColor:ne(ot==null?void 0:ot.name),textColor:"#FFF",size:30,avatar:ot.avatar},ot.name||""),u().createElement(o.View,{style:W=="fullscreen"?{position:"absolute",top:5,left:5,justifyContent:"center",alignItems:"center"}:{alignItems:"center"}},u().createElement(o.Text,{numberOfLines:1,ellipsizeMode:"tail",style:Hn.user_list_avatar_name},ot.name||"")),u().createElement(I.RTCView,{key:ot.id,objectFit:"cover",streamURL:(yt=ot.audioTrack)==null?void 0:yt.getOriginalStream().toURL(),zOrder:-1})))):ht.push(u().createElement(o.TouchableOpacity,{activeOpacity:1,touchSoundDisabled:!0,onPress:()=>{ue&&(Tt?rt():ut(ot.id))},key:ot.id,style:Hn.user_list_main_touchable},u().createElement(o.View,{style:{[ee?"width":"height"]:(b[ee?"width":"height"]-40)/3,aspectRatio:1,alignItems:"center",justifyContent:"center",flexDirection:"column",borderRadius:8,overflow:"hidden",[ee?"marginHorizontal":"marginVertical"]:4,backgroundColor:_t.blackLightX,marginBottom:5}},u().createElement(o.Text,{numberOfLines:1,ellipsizeMode:"tail",style:Hn.user_list_user_name},ot.name||""),u().createElement(o.View,{style:Hn.user_list_icon_container},ot.isAudioMuted?u().createElement(o.View,{style:Hn.lt_small_button},u().createElement(o.Image,{style:Hn.user_item_icons,source:k.AUDIO_MUTE})):null,ot.isVideoMuted&&!de?u().createElement(o.View,{style:Hn.lt_small_button},u().createElement(o.Image,{style:Hn.user_item_icons,source:k.VIDEO_MUTE})):null),Tt?u().createElement(o.View,{style:dn(Ft({},Hn.lt_small_button),{position:"absolute",top:5,right:5,elevation:5})},u().createElement(o.Image,{style:Hn.user_item_icons,source:k.PIN})):null,u().createElement(I.RTCView,{key:ot.id,objectFit:"cover",streamURL:(Ut=ot.videoTrack)==null?void 0:Ut.getOriginalStream().toURL(),style:[Hn.full_height_width,{borderRadius:5}],zOrder:1,mirror:ke[0].id===ot.id&&ot.videoTrack._facingMode!=="environment"}),u().createElement(o.View,{style:Hn.user_list_network_container},St?u().createElement(o.Image,{resizeMode:"contain",source:St,style:[Hn.user_list_network_icon]}):null))))}return u().createElement(u().Fragment,null,ht)})():null,(ke==null?void 0:ke.length)>=3&&u().createElement(hr,{urls:ke.map(Rt=>{var ht;return{id:Rt.id,url:(ht=Rt.audioTrack)==null?void 0:ht.getOriginalStream().toURL()}})}))))}),qi=zi;function or({isAudioOnly:V=!1,avatarMode:ee="circle"}){const{globalState:{isPortrait:b},users:B}=qt(),[J,W]=(0,E.useState)(!1);return B.reduce((de,ue)=>de+(ue.isPresenter!==!1?1:0),0)<1?u().createElement(o.View,{style:{flex:1,justifyContent:"center",alignItems:"center"}},u().createElement(o.ActivityIndicator,{size:"small",color:"#fff"}),u().createElement(o.Text,{style:{marginLeft:10,color:"#fff"}},"Waiting for presenter...")):u().createElement(o.View,{style:b?Tn.call_container_portrait:Tn.call_container_landscape},u().createElement(o.View,{style:Tn.main_video_container},u().createElement(o.View,{style:dn(Ft({},Tn.main_video),{marginHorizontal:b?10:5})},u().createElement(Gi,{isAudioOnly:V,avatarMode:ee,setFullScreen:W}))),J?null:u().createElement(qi,null))}o.Platform.OS==="android"&&o.UIManager.setLayoutAnimationEnabledExperimental&&o.UIManager.setLayoutAnimationEnabledExperimental(!0);const Ar="CallingAnalytics";class Er extends E.Component{constructor(b){super(b);wt(this,"interval",null);wt(this,"appId");wt(this,"isAudioOnly");wt(this,"user",null);wt(this,"stopPing",()=>{this.interval&&clearInterval(this.interval)})}componentDidMount(){var b,B,J,W,de;this.appId=(b=this.context)==null?void 0:b.settings.appId,this.isAudioOnly=(B=this.context)==null?void 0:B.settings.isAudioOnly,this.analyticsSettings=(J=this.context)==null?void 0:J.settings.analyticsSettings,this.sessionId=(W=this.context)==null?void 0:W.settings.sessionId,this.user=(de=this.context)==null?void 0:de.users[0],this.interval=setInterval(()=>{this.ping()},6e4)}componentWillUnmount(){}getAnalyticsUrl(){return`https://${this.analyticsSettings.ANALYTICS_HOST}/${this.analyticsSettings.ANALYTICS_VERSION}/calls/ping`}ping(){return mi(this,null,function*(){var de,ue,ke;if(((ke=(ue=(de=this.context)==null?void 0:de.globalRef)==null?void 0:ue.current)==null?void 0:ke.callEnded)===!0)return void this.stopPing();if(!this.appId||!this.user.jwt)return;const b=new Headers;b.append("appId",this.appId),b.append("authorization","Beare "+this.user.jwt),b.append("Content-Type","application/json"),xe.d(Ar,"Ping Headers => ",b);const B={uts:Date.now(),wsId:this.user.resource,type:this.isAudioOnly?"audio":"video",sessionId:this.sessionId,isRecording:!1},J=JSON.stringify(B);xe.d(Ar,"Ping data = ",B);const W={method:"POST",headers:b,body:J,redirect:"follow"};fetch(this.getAnalyticsUrl(),W).then(rt=>rt.json()).then(rt=>xe.d(Ar,"Ping result => ",rt)).catch(rt=>xe.e(Ar,"Ping error =>",rt))})}render(){return null}}wt(Er,"contextType",Ht),Er.contextType=Ht;const Lr="EndCallModel",xr=()=>{const{jitsiManager:V,globalRef:ee,nativeManager:b,dispatch:B}=qt(),J=()=>{var W;try{xe.d(Lr,"[onHangUpCalled]"),ee.current.callEnded=!0,(W=b.current)!=null&&W.onCallEndButtonPressed&&b.current.onCallEndButtonPressed()}catch(de){xe.d(Lr,"[onHangUpCalled]",de)}try{V.current.leave()}catch(de){xe.d(Lr,"[onHangUpCalled]",de)}};return u().createElement(o.View,{style:Mt.model},u().createElement(o.View,{style:Mt.container},u().createElement(o.Text,{style:Mt.headerText},"Do you want to end presentation for everyone or just leave the call."),u().createElement(o.View,{style:Mt.buttonContainer},u().createElement(o.TouchableOpacity,{onPress:()=>{V.current.endSessionForAll(),B({type:Ze,payload:!1}),J()},touchSoundDisabled:!0,style:Mt.button},u().createElement(o.Text,{style:Mt.buttonText},"End")),u().createElement(o.TouchableOpacity,{onPress:()=>{B({type:Ze,payload:!1}),J()},touchSoundDisabled:!0,style:Mt.button},u().createElement(o.Text,{style:Mt.buttonText},"Leave")))))};function kr(){const{globalState:V,settings:ee}=qt();return(0,E.useEffect)(()=>{__nested_webpack_require_964150__.g.ccUsersStats={}},[]),V.conferenceJoined?u().createElement(o.View,{style:V.isPortrait?Br.mainContainerPortrait:Br.mainContainerLandScape},u().createElement(Er,null),V.inPIPMode?u().createElement(re,null):ee.mode===U?u().createElement(zt,null):u().createElement(or,null),u().createElement(ti,null),V.isParticipantsModelVisible?u().createElement(je,null):null,u().createElement(vn,null),V.showAudioModel?u().createElement(We,null):null,V.showEndCallDialog?u().createElement(xr,null):null,V.isRecording?u().createElement(lt,null):null):u().createElement(o.View,{style:{flex:1,flexDirection:"row",backgroundColor:_t.blackLightXX,justifyContent:"center",alignItems:"center"}},!V.connectionError&&u().createElement(o.ActivityIndicator,{size:"small",color:"#fff"}),u().createElement(o.Text,{style:{marginLeft:10,color:"#fff"}},V.connectionError?"Couldn't connect, something went wrong!":"Joining..."))}const Br=o.StyleSheet.create({mainContainerPortrait:{flex:1,backgroundColor:_t.blackLightXX,overflow:"hidden"},mainContainerLandScape:{flex:1,backgroundColor:_t.blackLightXX,flexDirection:"row"}}),{AudioMode:zr}=o.NativeModules,hi=zr;let Yr=null;Yr=o.NativeModules.CometChatCallsRTC?o.NativeModules.CometChatCallsRTC:o.NativeModules.CometChatRTC;const _n=Yr;class Ur extends u().Component{constructor(b){super(b);wt(this,"isAudioDevicesInitialized",!1);wt(this,"userList",[]);wt(this,"previousAudioModeListToComarpe",[]);wt(this,"audioModeEventTimer",null);wt(this,"getAudioModes",()=>new Promise((b,B)=>{try{const{globalState:J}=this.context;b({modes:J.audioModes})}catch(J){B(J)}}));wt(this,"resetAudioDeviceForVideoCall",()=>{const{globalState:b}=this.context;for(let B=0;B<Ie.length;B++){const J=b.audioModes.find(W=>W.type.toLowerCase().includes(Ie[B].toLowerCase()));if(J){hi.setAudioDevice((J==null?void 0:J.uid)||J.type);break}}});wt(this,"setAudioMode",b=>{const{globalState:B}=this.context,J=B.audioModes.find(W=>W.type.toLowerCase().includes(b.toLowerCase()));J&&hi.setAudioDevice((J==null?void 0:J.uid)||J.type)});wt(this,"addAudioDeviceListener",()=>{this.unsubscribeAudioModeEventEmitter=this.AudioModeEventEmitter.addListener(hi.DEVICE_CHANGE_EVENT,b=>{var B;this.isAudioDevicesInitialized||(this.setAudioDevices(b),this.isAudioDevicesInitialized=!0),this.context.dispatch({type:at,payload:b}),this.onAudioModeChanged(b),this.context.dispatch({type:Ee,payload:(B=b.find(J=>J.selected))==null?void 0:B.type})}),o.Platform.OS==="ios"&&(this.unsubscribeAudioModeEventEmitterCustom=this.AudioModeEventEmitter.addListener(hi.DEVICE_CHANGE_EVENT_CUSTOM,b=>{var B;if(this.context.users.length===1){const J=this.context.globalState.audioModes.map(W=>dn(Ft({},W),{selected:W.uid===b}));this.context.dispatch({type:at,payload:J}),this.context.dispatch({type:Ee,payload:(B=J.find(W=>W.selected))==null?void 0:B.type})}}))});wt(this,"addListeners",()=>{const{jitsiManager:b}=this.context;this.endCall=this.eventEmitter.addListener("EVENT_END_CALL_SESSION",B=>{b.current.leave()}),this.switchCameraSource=this.eventEmitter.addListener("EVENT_SWITCH_CAMERA_SOURCE",B=>{b.current.flipCamera()}),this.muteAudio=this.eventEmitter.addListener("EVENT_MUTE_AUDIO",B=>{b.current.muteAudio()}),this.unMuteAudio=this.eventEmitter.addListener("EVENT_UNMUTE_AUDIO",B=>{b.current.unMuteAudio()}),this.pauseVideo=this.eventEmitter.addListener("EVENT_PAUSE_VIDEO",B=>{b.current.muteVideo()}),this.unPauseVideo=this.eventEmitter.addListener("EVENT_UNPAUSE_VIDEO",B=>{b.current.unMuteVideo()}),this.changeAudiModeToSpeaker=this.eventEmitter.addListener("EVENT_AUDIO_MODE_SPEAKER",B=>{}),this.changeAudiModeToEarpiece=this.eventEmitter.addListener("EVENT_AUDIO_MODE_EARPIECE",B=>{}),this.unmountComponent=this.eventEmitter.addListener("EVENT_UNMOUNT_COMPONENT",B=>{}),this.remountComponent=this.eventEmitter.addListener("EVENT_REMOUNT_COMPONENT",B=>{}),this.enterPipMode=this.eventEmitter.addListener("EVENT_ENTER_PIP_MODE",B=>{b.current.enterPipMode()}),this.exitPipMode=this.eventEmitter.addListener("EVENT_EXIT_PIP_MODE",B=>{b.current.exitPipMode()}),this.switchToVideoCall=this.eventEmitter.addListener("EVENT_SWITCH_TO_VIDEO_CALL",B=>{b.current.requestingToSwitchToVideoCall()}),this.startCallRecording=this.eventEmitter.addListener("EVENT_START_CALL_RECORDING",B=>{b.current.startRecording()}),this.eventEmitter.addListener("EVENT_SET_AUDIO_MODE",B=>{this.setAudioMode(B.audioMode)}),this.eventEmitter.addListener("EVENT_GET_AUDIO_MODES",()=>{this.getAudioModes().then(B=>{_n.getAudioModesOnSuccess(B.modes)})}),this.stopCallRecording=this.eventEmitter.addListener("EVENT_STOP_CALL_RECORDING",B=>{b.current.stopRecording()})});wt(this,"onRecordingToggled",b=>{var B;(B=this.settings)!=null&&B.onRecordingToggled&&this.settings.onRecordingToggled(b),_n&&_n.onRecordingToggled(b)});wt(this,"onUserMuted",b=>{var B;(B=this.settings)!=null&&B.onUserMuted&&this.settings.onUserMuted(b),_n&&(_n!=null&&_n.onUserMuted)&&(_n==null||_n.onUserMuted(b))});wt(this,"removeListener",()=>{var b,B,J,W,de,ue,ke,rt,ut,Rt,ht,yt,Ut,Nt,ot,pn,St;(b=this.endCall)==null||b.remove(),(B=this.switchCameraSource)==null||B.remove(),(J=this.unsubscribeAudioModeEventEmitter)==null||J.remove(),(W=this.unsubscribeAudioModeEventEmitterCustom)==null||W.remove(),(de=this.muteAudio)==null||de.remove(),(ue=this.unMuteAudio)==null||ue.remove(),(ke=this.pauseVideo)==null||ke.remove(),(rt=this.unPauseVideo)==null||rt.remove(),(ut=this.changeAudiModeToSpeaker)==null||ut.remove(),(Rt=this.changeAudiModeToEarpiece)==null||Rt.remove(),(ht=this.unmountComponent)==null||ht.remove(),(yt=this.remountComponent)==null||yt.remove(),(Ut=this.enterPipMode)==null||Ut.remove(),(Nt=this.exitPipMode)==null||Nt.remove(),(ot=this.switchToVideoCall)==null||ot.remove(),(pn=this.startCallRecording)==null||pn.remove(),(St=this.stopCallRecording)==null||St.remove()});this.settings=b,this.audioDevices=[],_n&&(this.eventEmitter=new o.NativeEventEmitter(_n)),this.AudioModeEventEmitter=new o.NativeEventEmitter(hi),this.unsubscribeAudioModeEventEmitter=null,this.unsubscribeAudioModeEventEmitterCustom=null}componentDidMount(){const{settings:b}=this.context;this.settings=b,_n&&this.addListeners(),hi&&(this.addAudioDeviceListener(),o.Platform.OS==="android"&&hi.getAllDevices()),b.defaultAudioMode?hi.setMode(hi.VIDEO_CALL):b.isAudioOnly?hi.setMode(hi.AUDIO_CALL):hi.setMode(hi.VIDEO_CALL)}setAudioDevices(b){if(this.settings.defaultAudioMode){const B=b.find(J=>J.type.toLowerCase().includes(this.settings.defaultAudioMode.toLowerCase()));if(B)hi.setAudioDevice((B==null?void 0:B.uid)||(B==null?void 0:B.type));else if(this.settings.isAudioOnly)for(let J=0;J<Ve.length;J++){const W=b.find(de=>de.type.toLowerCase().includes(Ve[J].toLowerCase()));if(W){hi.setAudioDevice((W==null?void 0:W.uid)||W.type);break}}else for(let J=0;J<Ie.length;J++){const W=b.find(de=>de.type.toLowerCase().includes(Ie[J].toLowerCase()));if(W){hi.setAudioDevice((W==null?void 0:W.uid)||W.type);break}}}else if(this.settings.isAudioOnly)for(let B=0;B<Ve.length;B++){const J=b.find(W=>W.type.toLowerCase().includes(Ve[B].toLowerCase()));if(J){hi.setAudioDevice((J==null?void 0:J.uid)||J.type);break}}else for(let B=0;B<Ie.length;B++){const J=b.find(W=>W.type.toLowerCase().includes(Ie[B].toLowerCase()));if(J){hi.setAudioDevice((J==null?void 0:J.uid)||J.type);break}}}onEndCall(){var b;(b=this.settings)!=null&&b.onEndCall&&this.settings.onEndCall(),xe.d("NativeManager","[onEndCall]"),_n&&_n.onCallEnded()}onCallEndButtonPressed(){var b;(b=this.settings)!=null&&b.onCallEndButtonPressed&&this.settings.onCallEndButtonPressed(),_n&&_n.onCallEndButtonPressed()}onUserJoined(b){var B,J;(B=this.settings)!=null&&B.onUserJoined&&((J=this.settings)==null||J.onUserJoined(C(b))),_n&&_n.onUserJoined&&(_n==null||_n.onUserJoined(C(b)))}onUserLeft(b){var B;(B=this.settings)!=null&&B.onUserLeft&&this.settings.onUserLeft(C(b)),_n&&(_n!=null&&_n.onUserLeft)&&_n.onUserLeft(C(b))}onUserListChanged(b){var J;const B=b.map(W=>{if(!W.name.includes("(Screen)"))return{uid:W.uid,avatar:W.avatar,name:W.name,jwt:W.jwt}}).filter(W=>W);JSON.stringify(B)!=JSON.stringify(this.userList)&&(this.userList=B,(J=this.settings)!=null&&J.onUserListChanged&&this.settings.onUserListChanged(B),_n&&_n.onUserListChanged(B))}onAudioModeChanged(b){var B;this.context.dispatch({type:at,payload:b}),this.audioDevices.length===b.length&&JSON.stringify(this.audioDevices)===JSON.stringify(b)||((B=this.settings)!=null&&B.onAudioModeChanged&&this.settings.onAudioModeChanged(b),this.audioModeEventTimer&&clearTimeout(this.audioModeEventTimer),this.audioModeEventTimer=setTimeout(()=>{JSON.stringify(b)!==JSON.stringify(this.previousAudioModeListToComarpe)&&(_n&&_n.onAudioModeChanged(b),this.previousAudioModeListToComarpe=b,this.audioModeEventTimer=null)},600)),this.audioDevices=b}getAudioModesOnSuccess(b){var B;this.context.dispatch({type:at,payload:b}),(B=this.settings)!=null&&B.getAudioModesOnSuccess&&this.settings.getAudioModesOnSuccess(b),_n&&_n.getAudioModesOnSuccess(b)}onSwitchedToVideoCall(b){var B;(B=this.settings)!=null&&B.onCallSwitchedToVideo&&this.settings.onCallSwitchedToVideo({initiator:b.initiator,accepted:b.responder,sessionId:b.sessionId}),_n&&_n.onCallSwitchedToVideo(b.sessionId,b.initiator,b.responder)}render(){return null}}wt(Ur,"contextType",Ht),__nested_webpack_require_964150__(4783);var ar=__nested_webpack_require_964150__(1081),Xr=__nested_webpack_require_964150__(5559),Yi=__nested_webpack_require_964150__.n(Xr);__nested_webpack_require_964150__(9747);const Fr=parseInt(o.Platform.Version,10);o.Platform.OS==="ios"&&Fr===10&&Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength")==null&&Object.defineProperty(ArrayBuffer.prototype,"byteLength",{configurable:!0,enumerable:!1,get:()=>null});var jr=__nested_webpack_require_964150__(5196);const pr=JSON.parse('{"u2":"react-native-url-polyfill","i8":"1.3.0"}');__nested_webpack_require_964150__(5478),__nested_webpack_require_964150__(7343),__nested_webpack_require_964150__.g.REACT_NATIVE_URL_POLYFILL=`${pr.u2}@${pr.i8}`,(0,jr.polyfillGlobal)("URL",()=>__nested_webpack_require_964150__(5478).J),(0,jr.polyfillGlobal)("URLSearchParams",()=>__nested_webpack_require_964150__(7343)._);var Vr=__nested_webpack_require_964150__(6878),cr=__nested_webpack_require_964150__.n(Vr);class Hr{constructor(ee){this._keyPrefix=ee;const b=this._initializeAsync();b&&(this._initializing=b,"finally"in b?b.finally(()=>{this._initializing===b&&(this._initializing=void 0)}):"then"in b&&b.then(()=>{this._initializing===b&&(this._initializing=void 0)}))}clear(){for(const ee of Object.keys(this))this.removeItem(ee)}getItem(ee){return this.hasOwnProperty(ee)?this[ee]:null}_getItemAsync(ee){return(this._initializing||Promise.resolve()).catch(()=>{}).then(()=>this.getItem(ee))}_initializeAsync(){if(this._keyPrefix!==void 0)return new Promise(ee=>{cr().getAllKeys().then((...b)=>{const B=b[b.length-1].filter(J=>J.startsWith(this._keyPrefix));cr().multiGet(B).then((...J)=>{const W=J[J.length-1],de=this._keyPrefix&&this._keyPrefix.length;for(let[ue,ke]of W)ue=ue.substring(de),this.hasOwnProperty(ue)||(this[ue]=ke);ee()})})})}key(ee){const b=Object.keys(this);return ee<b.length?b[ee]:null}get length(){return Object.keys(this).length}removeItem(ee){delete this[ee],this._keyPrefix===void 0||cr().removeItem(`${String(this._keyPrefix)}${ee}`)}setItem(ee,b){b=String(b),this[ee]=b,this._keyPrefix===void 0||cr().setItem(`${String(this._keyPrefix)}${ee}`,b)}}function Is(V,ee){let b=null;return V&&as(V,B=>B.nodeType===1&&B.nodeName===ee&&(b=B,!0)),b}function as(V,ee){if(ee(V))return!0;if(V=V.firstChild)do if(as(V,ee))return!0;while(V=V.nextSibling);return!1}(V=>{if(V.DOMParser=ar.DOMParser,V.addEventListener===void 0&&(V.addEventListener=()=>{}),V.removeEventListener===void 0&&(V.removeEventListener=()=>{}),V.document===void 0){const J=new ar.DOMParser().parseFromString("<html><head></head><body></body></html>","text/xml");J.addEventListener===void 0&&(J.addEventListener=()=>{}),J.cookie===void 0&&(J.cookie=""),J.implementation.createHTMLDocument===void 0&&(J.implementation.createHTMLDocument=function(de=""){const ue=new ar.DOMParser().parseFromString(`<html>
126
126
  <head><title>${de}</title></head>
127
127
  <body></body>
128
- </html>`,"text/xml");return Object.defineProperty(ue,"body",{get:()=>ue.getElementsByTagName("body")[0]}),ue});const W=Object.getPrototypeOf(J.documentElement);W&&(W.querySelector===void 0&&(W.querySelector=function(de){return Is(this,de)}),W.remove===void 0&&(W.remove=function(){this.parentNode!==null&&this.parentNode.removeChild(this)}),W.hasOwnProperty("innerHTML")||Object.defineProperty(W,"innerHTML",{get(){return this.childNodes.toString()},set(de){this.textContent="";const ue=new ar.DOMParser().parseFromString(`<div>${de}</div>`,"text/xml").documentElement;let ke;for(;ke=ue.firstChild;)this.appendChild(ke)}}),W.hasOwnProperty("children")||Object.defineProperty(W,"children",{get(){const de=this.childNodes,ue=[];let ke=0,rt=de[ke];for(;rt;)rt.nodeType===1&&ue.push(rt),ke+=1,rt=de[ke];return ue}})),V.document=J}V.location===void 0&&(V.location={href:"",search:""});const{navigator:ee}=V;if(ee){let J=ee.userAgent||"";const{name:W,version:de}=__nested_webpack_require_965807__(2834);let ue=W||"react-native";de&&(ue+=`/${de}`),J.indexOf(ue)===-1&&(J=J?`${ue} ${J}`:ue);const ke=`(${o.Platform.OS} ${o.Platform.Version})`;J.indexOf(ke)===-1&&(J=J?`${J} ${ke}`:ke),ee.userAgent=J}__nested_webpack_require_965807__(2808);const C=V.performance.now,B=__nested_webpack_require_965807__(5280);if(V.performance=B.default,V.performance.now=C,V.PerformanceObserver=B.PerformanceObserver,__nested_webpack_require_965807__(3394),V.callstats=__nested_webpack_require_965807__(3650),V.XMLHttpRequest){const{prototype:J}=V.XMLHttpRequest;J&&!J.hasOwnProperty("responseXML")&&Object.defineProperty(J,"responseXML",{get(){const{responseText:W}=this;return W&&new ar.DOMParser().parseFromString(W,"text/xml")}})}o.Platform.OS==="android"&&(V.clearTimeout=Yi().clearTimeout.bind(Yi()),V.clearInterval=Yi().clearInterval.bind(Yi()),V.setInterval=Yi().setInterval.bind(Yi()),V.setTimeout=(J,W=0)=>Yi().setTimeout(J,W)),V.localStorage===void 0&&(V.localStorage=new Hr("@jitsi-meet/")),V.sessionStorage===void 0&&(V.sessionStorage=new Hr)})(__nested_webpack_require_965807__.g||window||void 0);var Ps=__nested_webpack_require_965807__(9291),a=__nested_webpack_require_965807__.n(Ps);const d="JitsiManager";class A extends u().Component{constructor(C){super(C);wt(this,"connection",null);wt(this,"room",null);wt(this,"recordingRetry",0);wt(this,"LastNId",[]);wt(this,"initialize",()=>{try{xe.d(d,"[initialize]");const{setUsers:C,globalRef:B,settings:J,usersRef:W}=this.context,de={};B.current.callEnded=!1,de.uid=J.RTCUser.uid,de.avatar=J.RTCUser.avatar,de.name=J.RTCUser.name,de.isVideoMuted=J.startVideoMuted,de.isAudioMuted=J.startAudioMuted,de.isLocalUser=!0,W.current=[de],C({type:m,payload:[de]},!0),a().init(dt),a().setLogLevel(a().logLevels.ERROR),this.makeConnection(),hn.isPresenter!==!1&&this.createLocalTracks()}catch(C){xe.e(d,"[initialize]",C)}});wt(this,"createLocalTracks",()=>{try{xe.d(d,"[createLocalTracks]");const{settings:C}=this.context;this.createAudioTrack(),C.isAudioOnly||this.createVideoTrack()}catch(C){xe.e(d,"[createLocalTracks]",C)}});wt(this,"createAudioTrack",()=>mi(this,null,function*(){if(hn.isPresenter!==!1)try{xe.d(d,"[createAudioTrack]");const C=yield a().createLocalTracks({devices:["audio"]});this.onLocalTrack(C[0])}catch(C){xe.e(d,"[createAudioTrack]",C)}}));wt(this,"createVideoTrack",()=>mi(this,null,function*(){if(hn.isPresenter!==!1)try{xe.d(d,"[createVideoTrack]");const C=yield a().createLocalTracks({devices:["video"]});this.onLocalTrack(C[0])}catch(C){xe.e(d,"[createVideoTrack]",C)}}));wt(this,"onLocalTrack",C=>{try{xe.d(d,"[onLocalTrack]",C);const{setUsers:B,globalState:J,usersRef:W}=this.context,de=W.current;C.type=="video"?(de[0].isVideoMuted===!0?C.mute():de[0].isVideoMuted=!1,de[0].videoTrack=C):C.type=="audio"&&(de[0].isAudioMuted===!0?C.mute():de[0].isAudioMuted=!1,de[0].audioTrack=C),W.current=[...de],B({type:m,payload:de},!0),J.conferenceJoined&&this.addTrackToRoom(C)}catch(B){xe.e(d,"[onLocalTrack]",B)}});wt(this,"onConnectionSuccess",()=>mi(this,null,function*(){var C,B,J,W;try{xe.d(d,"[onConnectionSuccess] ");const{settings:de,setUsers:ue,dispatch:ke,setRoom:rt,globalRef:ut,usersRef:Rt,nativeManager:ht}=this.context,yt=Rt.current;xe.d(d,"[onConnectionSuccess] settings",de);const Ut=yield this.connection.initJitsiConference(de==null?void 0:de.sessionId,$e);Ut.setSenderVideoConstraint(720),this.room=Ut,rt(Ut),this.addJitsiEventListener(),this.addCommandListener();const Nt=this.room.myUserId()||"";yt[0].id=Nt,yt[0].jwt=(C=de.RTCUser)==null?void 0:C.jwt,yt[0].resource=(B=de.RTCUser)==null?void 0:B.resource,hn.isPresenter===!1?yt[0].isPresenter=!1:hn.isPresenter===!0&&(yt[0].isPresenter=!0),yt[0].videoTrack&&this.room.addTrack(yt[0].videoTrack),Rt.current=[...yt],ue({type:m,payload:yt},!0),ut.current.dominantSpeakerId=this.room.lastDominantSpeaker,ke({type:j,payload:this.room.lastDominantSpeaker}),this.room.setDisplayName(yt[0].name);const ot={start_recording_on_call_start:de.startRecordingOnCallStart,is_video_muted:de.startVideoMuted,is_audio_muted:de.startAudioMuted,session_id:de.sessionId,is_audio_only:de.isAudioOnly,mode:de.mode,call_version:__nested_webpack_require_965807__(4147).i8,uid:yt[0].uid,platform:o.Platform.OS,sdk:(J=de.sdk)!=null?J:"react-native",app_id:de.appId,meeting_id:Ut.xmpp.getJid()};Ut.sendCommand("initial_config",{attributes:ot});const pn={uid:yt[0].uid,avatar:yt[0].avatar,name:yt[0].name,joinedAt:Date.now(),isPresenter:void 0};hn.isPresenter===!1?pn.isPresenter=!1:hn.isPresenter===!0&&(pn.isPresenter=!0),this.room.sendCommand(ae,{attributes:pn}),(W=ht.current)==null||W.onUserJoined(yt[0])}catch(de){xe.e(d,"[onConnectionSuccess] error",de)}}));wt(this,"endSessionForAll",()=>{const{users:C}=this.context;this.room.sendCommand(R,{value:C[0].id})});wt(this,"onConferenceFailed",C=>{const{dispatch:B}=this.context;B({type:_,payload:null}),this.onConnectionFailed(C)});wt(this,"onConnectionFailed",C=>mi(this,null,function*(){try{xe.d(d,"[onConectionFailed] ",C);const{dispatch:B}=this.context;yield this.unload(),B({type:p,payload:{error:!0,type:"jwt"}})}catch(B){}}));wt(this,"addJitsiEventListener",()=>{try{xe.d(d,"[addJitsiEventListener]",this.room.on),this.room.on(a().events.conference.CONFERENCE_JOINED,this.onConferenceJoined),this.room.on(a().events.conference.CONFERENCE_FAILED,this.onConferenceFailed),this.room.on(a().events.conference.TRACK_ADDED,this.onRemoteTrack),this.room.on(a().events.conference.TRACK_REMOVED,this.onRemoteTrackRemoved),this.room.on(a().events.conference.USER_JOINED,this.onUserJoined),this.room.on(a().events.conference.USER_LEFT,this.onUserLeft),this.room.on(a().events.conference.TRACK_MUTE_CHANGED,this.onTrackMuted),this.room.on(a().events.conference.DOMINANT_SPEAKER_CHANGED,this.onDominantSpeakerChanged),this.room.on(a().events.connectionQuality.LOCAL_STATS_UPDATED,this.onLocalStatsUpdated),this.room.on(a().events.connectionQuality.REMOTE_STATS_UPDATED,this.onRemoteStatsUpdated),this.room.on(a().events.conference.PARTICIPANT_CONN_STATUS_CHANGED,this.onParticipantConnStatusChanged),this.room.on(a().events.conference.LAST_N_ENDPOINTS_CHANGED,this.debounce(this.onLastNChanged,1e3)),this.room.on(a().events.conference.SUBJECT_CHANGED,this.onSubjectChanged),this.room.join()}catch(C){xe.e(d,"[addJitsiEventListener]",C)}});wt(this,"addCommandListener",()=>{try{this.room.addCommandListener(f,this.onScreenShareStarted),this.room.addCommandListener(D,this.onScreenShareStopped),this.room.addCommandListener(ve,this.onScreenRecordingStarted),this.room.addCommandListener(he,this.onTryingToStartRecording),this.room.addCommandListener(pe,this.onTryingToStopRecording),this.room.addCommandListener(Se,this.onScreenRecordingStopped),this.room.addCommandListener(De,this.onParticipantMuted),this.room.addCommandListener(ae,this.onUserObjectReceived),this.room.addCommandListener(z,this.onSwitchToVideoCallResponseReceived),this.room.addCommandListener(H,this.onSwitchToVideoRequest)}catch(C){xe.e(d,"[addCommandListener]",C)}});wt(this,"muteParticipant",C=>{if(!C)return alert("select usr"),!1;try{const{users:B}=this.context;this.room.muteParticipant(C.id),this.room.sendCommandOnce(De,{attributes:{mutedParticipantId:C.id,participantMutedBy:B[0].id}})}catch(B){xe.e(d,"[muteParticipant]",B)}});wt(this,"addTrackToRoom",C=>{try{xe.d(d,"[addTrackToRoom]");const{globalState:B}=this.context;this.room&&B.conferenceJoined&&this.room.addTrack(C)}catch(B){xe.e(d,"[addTrackToRoom]",B)}});wt(this,"removeTrackFromRoom",C=>{this.room.remove(C)});wt(this,"onConferenceJoined",()=>{try{xe.d(d,"[onConferenceJoined]");const{dispatch:C,users:B,settings:J,globalState:W}=this.context;C({type:g,payload:null}),hn.isPresenter!==!1&&(B[0].audioTrack&&this.addTrackToRoom(B[0].audioTrack),B[0].videoTrack&&this.addTrackToRoom(B[0].videoTrack),J.startRecordingOnCallStart&&(W.isRecording&&W.tryingToStartRecording||this.startRecording()))}catch(C){xe.e(d,"[onConferenceJoined]",C)}});wt(this,"onUserJoined",(C,B)=>{var J;try{const W={};if(xe.d(d,"[onUserJoined]",B),W.name=B.getDisplayName()||"Unnamed",W.name==="Unnamed"&&B._statsID.includes("jibri"))return!1;const{dispatch:de,setUsers:ue,globalState:ke,usersRef:rt}=this.context,ut=rt.current;W.id=B.getId(),rt.current=[...ut,W],ue({type:m,payload:[...ut,W]}),(J=W==null?void 0:W.name)!=null&&J.includes("(Screen)")&&de({type:be,payload:ke.noOfScreenShareUser+1})}catch(W){xe.e(d,"[onUserJoined]",W)}});wt(this,"onUserLeft",(C,B)=>{var J,W,de;try{const{setUsers:ue,dispatch:ke,globalState:rt,nativeManager:ut,usersRef:Rt}=this.context,ht=Rt.current;if(xe.d(d,"[onUserLeft] id="+C,"user"),(B.getDisplayName()==="Unnamed"||!B.getDisplayName())&&B._statsID&&B._statsID.includes("jibri"))return!1;let yt=null;ht.map(Nt=>{var ot;(yt==null||yt.joinedAt>Nt.joinedAt)&&B._id!==Nt.id&&Nt.status==="active"&&(yt=Nt),B._id===Nt.id&&(rt.tryingToStartRecording&&this.room.sendCommandOnce(pe,{}),B.getDisplayName().includes("(Screen)")||((ot=ut.current)==null||ot.onUserLeft(Nt)))});const Ut=ht.filter(Nt=>B._id!==Nt.id);(J=ut.current)==null||J.onUserListChanged(Ut),((W=rt.recorder)==null?void 0:W.id)===B._id&&ke({type:Re,payload:yt}),B.getDisplayName().includes("(Screen)")&&ke({type:be,payload:rt.noOfScreenShareUser-1}),Ut.length<=1&&((de=ut.current)==null||de.onEndCall()),Rt.current=[...Ut],ue({type:m,payload:Ut})}catch(ue){xe.e(d,"[onUserLeft] ",ue)}});wt(this,"onRemoteTrack",C=>{try{if(xe.d(d,"[onRemoteTrack]","track"),C.isLocal())return;const B=C.ownerEndpointId,{dispatch:J,setUsers:W,globalRef:de,usersRef:ue}=this.context,ke=ue.current;C&&C.videoType==="desktop"?(xe.d(d,"[onRemoteTrack] [is screenShare Track]"),J({type:O,payload:B})):this.room.lastDominantSpeaker===B&&(xe.d(d,"[onRemoteTrack] [is dominant Track]"),de.current.dominantSpeakerId=B,J({type:w,payload:B}));for(let rt=1;rt<ke.length;rt++)if(ke[rt].id==B){C.type==="video"?(ke[rt].videoTrack=C,ke[rt].isVideoMuted=C.isMuted()):(ke[rt].audioTrack=C,ke[rt].isAudioMuted=C.isMuted());break}ue.current=[...ke],W({type:m,payload:ke})}catch(B){xe.e(d,"[onRemoteTrack]",B)}});wt(this,"onRemoteTrackRemoved",C=>{try{xe.d(d,"[onRemoteTrackRemoved]","track");const{setUsers:B,usersRef:J}=this.context,W=J.current;for(let de=0;de<W.length;de++)if(W[de].id===C.ownerEndpointId){W[de].videoTrack=void 0,W[de].isVideoMuted=!0;break}J.current=[...W],B({type:m,payload:W})}catch(B){xe.e(d,"[onRemoteTrackRemoved]",B)}});wt(this,"onTrackMuted",C=>{try{xe.d(d,"[onTrackMuted]");const{setUsers:B,usersRef:J}=this.context,W=J.current;let de=C.ownerEndpointId;C.isLocal()&&(de=W[0].id);for(let ue=0;ue<W.length;ue++)if(W[ue].id===de){C.getType()==="video"?(W[ue].videoTrack=C,W[ue].isVideoMuted=C.isMuted()):(W[ue].audioTrack=C,W[ue].isAudioMuted=C.isMuted());break}J.current=[...W],B({type:m,payload:W},C.isLocal())}catch(B){xe.e(d,"[onTrackMuted]",B)}});wt(this,"setConstraints",C=>{const{settings:B}=this.context;if(xe.d(d,"[setConstraints]",C),C){const J={};J[C]={maxHeight:480},this.room.setReceiverConstraints({lastN:B.mode===U?1:3,onStageEndpoints:[C],defaultConstraints:{maxHeight:B.mode===U?0:180},constraints:J})}});wt(this,"onDominantSpeakerChanged",C=>{try{xe.d(d,"[onDominantSpeakerChanged]",C);const{users:B,dispatch:J,globalRef:W}=this.context;for(let de=0;de<B.length;de++)if(B[de].id===C){W.current.dominantSpeakerId=C,J({type:w,payload:C});break}}catch(B){xe.e(d,"[onDominantSpeakerChanged]",B)}});wt(this,"onRemoteStatsUpdated",(C,B)=>{try{xe.d(d,"[onRemoteStatsUpdated]",C),B.connectionQuality&&(__nested_webpack_require_965807__.g.ccUsersStats[C]=B.connectionQuality)}catch(J){xe.e(d,"[onRemoteStatsUpdated]",J)}});wt(this,"onLocalStatsUpdated",C=>{try{xe.d(d,"[onLocalStatsUpdated]",C);const{users:B}=this.context;C.connectionQuality&&(__nested_webpack_require_965807__.g.ccUsersStats[B[0].id]=C.connectionQuality)}catch(B){xe.e(d,"[onLocalStatsUpdated]",B)}});wt(this,"onParticipantConnStatusChanged",(C,B)=>{try{xe.d(d,"[onParticipantConnStatusChanged] id= "+C+"status= ",B);const{setUsers:J,usersRef:W}=this.context,de=W.current;for(let ue=0;ue<de.length;ue++)if(de[ue].id===C){de[ue].status=B;break}W.current=[...de],J({type:m,payload:de})}catch(J){xe.e(d,"[onParticipantConnStatusChanged]",J)}});wt(this,"startLastNLoop",()=>{this.LastNLoopStarted=!0});wt(this,"debounce",(C,B)=>{let J;return function(){const W=this,de=arguments;clearTimeout(J),J=setTimeout(()=>C.apply(W,de),B)}});wt(this,"sortArrayWithOtherArray",(C,B)=>{var ke,rt;const{globalRef:J}=this.context,W=[],de=[],ue=[];for(let ut=1;ut<C.length;ut++)((ke=C[ut])==null?void 0:ke.id)===((rt=J.current)==null?void 0:rt.dominantSpeakerId)?ue.push(C[ut]):B.includes(C[ut].id)?W.push(C[ut]):de.push(C[ut]);return[C[0],...W.sort((ut,Rt)=>{const ht=B.indexOf(ut.id),yt=B.indexOf(Rt.id);return(ht>-1?ht:1/0)-(yt>-1?yt:1/0)}),...de,...ue]});wt(this,"onLastNChanged",(C,B)=>{try{const{setUsers:J,usersRef:W}=this.context,de=W.current;let ue=[],ke=[];if(this.LastNLoopStarted||this.startLastNLoop(),ue=Array.from(new Set([...B,...this.LastNId])),C==null?void 0:C.length)for(let rt=0;rt<ue.length;rt++)C.includes(ue[rt])||ke.push(ue[rt]);else ke=ue;this.LastNId=ke,W.current=[...this.sortArrayWithOtherArray(de,ke)],J({type:m,payload:this.sortArrayWithOtherArray(de,ke)}),xe.d(d,"[onLastNChanged]")}catch(J){xe.e(d,"[onLastNChanged]",J)}});wt(this,"onSubjectChanged",C=>{try{xe.d(d,"[onSubjectChanged]","data");const{globalState:B,dispatch:J}=this.context;if(C){const W=JSON.parse(C);if(W!=null&&W.converted&&!B.switchedToVideoCall){const de=W==null?void 0:W.converted;J({type:it,payload:{switchToVideoCallRequestInitiator:de.initiator,switchToVideoCallRequestResponder:de.responder}})}}}catch(B){xe.e(d,"[onSubjectChanged]",B)}});wt(this,"onScreenShareStarted",({value:C})=>{try{xe.d(d,"[onScreenShareStarted]","value");const{dispatch:B}=this.context;B({type:O,payload:C})}catch(B){xe.e(d,"[onScreenShareStarted]",B)}});wt(this,"onScreenShareStopped",({value:C})=>{try{xe.d(d,"[onScreenShareStopped]","value");const{globalState:B,dispatch:J}=this.context;B.pinnedUserId===C&&J({type:O,payload:""})}catch(B){xe.e(d,"[onScreenShareStarted]",B)}});wt(this,"onScreenRecordingStarted",({attributes:C})=>{var B;try{xe.d(d,"[onScreenRecordingStarted]",C);const{dispatch:J,nativeManager:W}=this.context;J({type:x,payload:C}),(B=W.current)==null||B.onRecordingToggled({recordingStarted:!0,user:b(C)})}catch(J){xe.e(d,"[onScreenRecordingStarted]",J)}});wt(this,"onTryingToStartRecording",({attributes:C})=>{try{xe.d(d,"[onTryingToStartRecording]",C);const{dispatch:B}=this.context;B({type:F,payload:C})}catch(B){xe.e(d,"[onTryingToStartRecording]",B)}});wt(this,"onTryingToStopRecording",({attributes:C})=>{try{xe.d(d,"[onTryingToStopRecording]",C);const{dispatch:B}=this.context;B({type:G,payload:null})}catch(B){xe.e(d,"[onTryingToStopRecording]",B)}});wt(this,"onScreenRecordingStopped",({attributes:C})=>{var B;try{xe.d(d,"[onScreenRecordingStopped]",C);const{dispatch:J,nativeManager:W}=this.context;J({type:P,payload:null}),(B=W.current)==null||B.onRecordingToggled({recordingStarted:!1,user:b(C)})}catch(J){xe.e(d,"[onScreenRecordingStopped]",J)}});wt(this,"onParticipantMuted",({attributes:C})=>{var B;try{xe.d(d,"[onParticipantMuted]","attributes");const{users:J,nativeManager:W}=this.context;let de=null,ue=null;for(let ke=0;ke<J.length;ke++)J[ke].id===C.mutedParticipantId?ue=b(J[ke]):J[ke].id===C.participantMutedBy&&(de=b(J[ke])),C.mutedParticipantId==J[0].id&&this.muteAudio(),ue&&de&&((B=W==null?void 0:W.current)==null||B.onUserMuted({muted:b(ue),mutedBy:b(de)}))}catch(J){xe.e(d,"[onParticipantMuted]",J)}});wt(this,"onUserObjectReceived",(C,B)=>{var ke,rt;xe.d(d,"[onUserObjectReceived]"+B,"data");const{setUsers:J,nativeManager:W,usersRef:de}=this.context,ue=de.current;for(let ut=0;ut<ue.length;ut++)if(ue[ut].id==B&&!ue[ut].uid){ue[ut].uid=C.attributes.uid,ue[ut].avatar=C.attributes.avatar,ue[ut].uid=C.attributes.uid,ue[ut].joinedAt=C.attributes.joinedAt,C.attributes.isPresenter==="false"?ue[ut].isPresenter=!1:C.attributes.isPresenter==="true"&&(ue[ut].isPresenter=!0),(ke=W.current)==null||ke.onUserJoined(ue[ut]);break}de.current=[...ue],J({type:m,payload:ue}),(rt=W.current)==null||rt.onUserListChanged(ue)});wt(this,"unload",()=>{var de,ue;const{globalRef:C,users:B}=this.context;C.current.callEnded=!0;const J=B[0],W=[];if(J&&J.audioTrack)try{W.push((de=J==null?void 0:J.audioTrack)==null?void 0:de.dispose())}catch(ke){xe.e(d,"unload audio catch",ke)}if(J&&J.videoTrack)try{W.push((ue=J==null?void 0:J.videoTrack)==null?void 0:ue.dispose())}catch(ke){xe.e(d,"unload videoTrack catch",ke)}return Promise.all(W)});wt(this,"leave",()=>mi(this,null,function*(){var C;try{if(this.alreadyLeft)return;this.alreadyLeft=!0,this.localUserEndsCall||(this.localUserEndsCall=!0);const{nativeManager:B}=this.context;yield this.unload(),xe.d(d,"[leave]"),(C=this.room)==null||C.leave().then(()=>{var J,W,de;(J=this.connection)==null||J.disconnect(),(W=B.current)!=null&&W.removeListener&&((de=B.current)==null||de.removeListener())}).catch()}catch(B){xe.e(d,"[leave]",B)}}));wt(this,"requestingToSwitchToVideoCall",()=>{var C;try{if(hn.isPresenter===!1)return;xe.d(d,"[requestingToSwitchToVideoCall");const{users:B,dispatch:J}=this.context;(C=this.room)==null||C.sendCommandOnce(H,{attributes:{initiator:JSON.stringify(dn(Ft({},B[0]),{audioTrack:null,videoTrack:null}))}}),J({type:Y,payload:B[0]})}catch(B){xe.e(d,"[requestingToSwitchToVideoCall",B)}});wt(this,"onSwitchToVideoRequest",(C,B)=>{var J;try{xe.d(d,"[onSwitchToVideoRequest]",B);const{users:W,globalState:de,dispatch:ue}=this.context,ke=((J=C==null?void 0:C.attributes)==null?void 0:J.initiator)&&JSON.parse(C.attributes.initiator);B===W[0].id||de.switchedToVideoCall||ue({type:me,payload:ke})}catch(W){xe.e(d,"[onSwitchToVideoRequest",W)}});wt(this,"onSwitchToVideoCallResponse",C=>{var B;try{xe.d(d,"[onSwitchToVideoCallResponse]",C);const{users:J}=this.context;(B=this.room)==null||B.sendCommandOnce(z,{responder:JSON.stringify(b(J[0])),attributes:{response:C}})}catch(J){xe.e(d,"[onSwitchToVideoCallResponse]",J)}});wt(this,"onSwitchToVideoCallResponseReceived",(C,B)=>{try{xe.d(d,"[onSwitchToVideoCallResponseReceived]"+typeof C.attributes.response);const{users:J,globalState:W,dispatch:de,settings:ue,nativeManager:ke}=this.context;if(!W.switchedToVideoCall){const rt=J.find(Rt=>Rt.id===B),ut={initiator:b(W.switchToVideoCallRequestInitiator),responder:b(rt),response:!0};C.attributes.response==="true"?(de({type:ge,payload:rt}),this.switchToVideoCall(),ke.current.onSwitchedToVideoCall({sessionId:ue.sessionId,initiator:b(W.switchToVideoCallRequestInitiator),responder:b(rt)}),this.room.setSubject(JSON.stringify({converted:ut}))):de({type:Be,payload:rt})}}catch(J){xe.e(d,"[onSwitchToVideoCallResponseReceived]",J)}});wt(this,"switchToVideoCall",()=>{try{const{nativeManager:C}=this.context;xe.d(d,"[switchToVideoCall]");const{setSettings:B}=this.context;this.createVideoTrack(),B({type:l,payload:null}),C.current.resetAudioDeviceForVideoCall()}catch(C){xe.e(d,"[switchToVideoCall]",C)}});wt(this,"startRecording",()=>{var C;try{if(hn.isPresenter===!1)return;xe.d(d,"[startRecording]");const{globalState:B,globalRef:J,users:W}=this.context;if((C=J==null?void 0:J.current)!=null&&C.callEnded)return;B.isRecording||this.room.startRecording({mode:"file"}).then(de=>{this.room.sendCommandOnce(ve,{attributes:Ft({recordId:de._sessionID},W[0])})}).catch(de=>{xe.e(d,"[startRecording] error starting to retry count="+this.recordingRetry,de),setTimeout(()=>{this.startRecording()},5e3),this.recordingRetry===0&&this.room.sendCommandOnce(he,{attributes:Ft({},W[0])}),this.recordingRetry++})}catch(B){xe.e(d,"[startRecording]",B)}});wt(this,"stopRecording",()=>{var C,B;try{if(hn.isPresenter===!1)return;xe.d(d,"[stopRecording]");const{globalState:J,users:W}=this.context;J.isRecording&&((C=J.recorder)==null?void 0:C.id)===W[0].id&&(this.room.sendCommandOnce(Se,{attributes:b(W[0])}),this.room.stopRecording(J.recordId)),J.tryingToStartRecording&&((B=J.recorder)==null?void 0:B.id)===W[0].id&&(this.recordingRetry=0,this.room.sendCommandOnce(pe,{}))}catch(J){xe.e(d,"[stopRecording]",J)}});wt(this,"flip",()=>{const{users:C,globalState:B,dispatch:J}=this.context;C[0].videoTrack&&(C[0].videoTrack._switchCamera(),J({type:se,payload:!B.cameraFlipped}))});wt(this,"flipCamera",()=>{try{if(hn.isPresenter===!1)return;xe.d(d,"[flipCamera]"),this.flipCameraTimer&&clearTimeout(this.flipCameraTimer),this.flipCameraTimer=setTimeout(this.flip,300)}catch(C){xe.e(d,"[flipCamera]",C)}});wt(this,"muteAudio",()=>{try{if(hn.isPresenter===!1)return;xe.d(d,"[muteAudio]");const{users:C}=this.context;C[0].audioTrack&&(C[0].audioTrack.isMuted()||C[0].audioTrack.mute())}catch(C){xe.e(d,"[muteAudio]",C)}});wt(this,"unMuteAudio",()=>{try{if(hn.isPresenter===!1)return;xe.d(d,"[unMuteAudio]");const{users:C}=this.context;C[0].audioTrack&&C[0].audioTrack.isMuted()&&C[0].audioTrack.unmute()}catch(C){xe.e(d,"[unMuteAudio]",C)}});wt(this,"toggleAudioButton",()=>{try{if(hn.isPresenter===!1)return;xe.d(d,"[toggleAudioButton]");const{users:C}=this.context;C[0].audioTrack&&(C[0].audioTrack.isMuted()?C[0].audioTrack.unmute():C[0].audioTrack.mute())}catch(C){xe.e(d,"[toggleAudioButton]",C)}});wt(this,"muteVideo",()=>{try{if(hn.isPresenter===!1)return;xe.d(d,"[muteVideo]");const{users:C}=this.context;C[0].videoTrack&&(C[0].videoTrack.isMuted()||C[0].videoTrack.mute())}catch(C){xe.d(d,"[muteVideo]",C)}});wt(this,"unMuteVideo",()=>{try{if(hn.isPresenter===!1)return;xe.d(d,"[unMuteVideo]");const{users:C}=this.context;C[0].videoTrack&&C[0].videoTrack.isMuted()&&C[0].videoTrack.unmute()}catch(C){xe.d(d,"[unMuteVideo]",C)}});wt(this,"toggleVideoButton",()=>{try{if(hn.isPresenter===!1)return;xe.d(d,"[toggleVideoButton]");const{users:C}=this.context;C[0].videoTrack&&(C[0].videoTrack.isMuted()?C[0].videoTrack.unmute():C[0].videoTrack.mute())}catch(C){xe.d(d,"[toggleVideoButton]",C)}});wt(this,"enterPipMode",()=>{try{if(hn.isPresenter===!1)return;xe.d(d,"[enterPipMode]");const{dispatch:C}=this.context;C({type:T,payload:!0})}catch(C){xe.e(d,"[enterPipMode]",C)}});wt(this,"exitPipMode",()=>{try{if(hn.isPresenter===!1)return;xe.d(d,"[exitPipMode]");const{dispatch:C}=this.context;C({type:T,payload:!1})}catch(C){xe.e(d,"[exitPipMode]",C)}});xe.d(d,"[constructor]"),this.connection=null,this.alreadyLeft=!1,this.room=null,this.localUserEndsCall=!1,this.state={LastNId:[]}}componentDidMount(){this.initialize()}makeConnection(){var C,B;try{const{settings:J,setConnection:W}=this.context;xe.d(d,"[makeConnection]");const de=J.domain,ue={hosts:{domain:de,muc:"conference."+de,focus:"focus."+de},serviceUrl:"wss://xmpp."+de+"/xmpp-websocket",bosh:"https://xmpp."+de+"/http-bind"};this.connection=new(a()).JitsiConnection(null,((C=J==null?void 0:J.RTCUser)==null?void 0:C.jwt)||null,ue),W(this.connection),(B=this.connection)==null||B.connect(),this.addConnectionEventListener()}catch(J){xe.e(d,"[makeConnection]",J)}}addConnectionEventListener(){try{xe.d(d,"[addConnectionEventListener]"),this.connection.addEventListener(a().events.connection.CONNECTION_ESTABLISHED,this.onConnectionSuccess),this.connection.addEventListener(a().events.connection.CONNECTION_FAILED,this.onConnectionFailed),this.connection.addEventListener(a().events.connection.CONNECTION_DISCONNECTED,()=>{xe.d(d,"[addConnectionEventListener] [CONNECTION_DISCONNECTED]")}),this.connection.addEventListener(a().events.connection.CONNECTION_DROPPED_ERROR,()=>{xe.d(d,"[addConnectionEventListener] [CONNECTION_DROPPED_ERROR]")})}catch(C){xe.e(d,"[addConnectionEventListener] [error]",C)}}render(){return null}}wt(A,"contextType",Ht);const M=A;(V=>{if(V.$===void 0){const ee=__nested_webpack_require_965807__(6663);ee(V),V.$=ee}})(__nested_webpack_require_965807__.g||window);const K={width:0,height:0},X={width:0,height:0},oe=(0,E.forwardRef)(function(V,ee){var de,ue,ke,rt,ut,Rt,ht,yt,Ut,Nt,ot,pn,St,Tt,sn,$n,gn,wi,Vn,An,Zn,wn,Nn,Ue,Un,pi,Ii,xt,Wn,zn,Tr;hn.isPresenter=V.isPresenter,hn.mode=V.mode;const C={enableVideoTileClick:(de=V.enableVideoTileClick)!=null?de:!0,enableDraggableVideoTile:(ue=V.enableDraggableVideoTile)!=null?ue:!0},B={videoFit:(rt=(ke=V.mainVideoSetting)==null?void 0:ke.videoFit)!=null?rt:"contain",fullScreenButton:{visibility:(ht=(Rt=(ut=V.mainVideoSetting)==null?void 0:ut.fullScreenButton)==null?void 0:Rt.visibility)!=null?ht:!0,position:(Nt=(Ut=(yt=V.mainVideoSetting)==null?void 0:yt.fullScreenButton)==null?void 0:Ut.position)!=null?Nt:"bottom-right"},userListButton:{visibility:(St=(pn=(ot=V.mainVideoSetting)==null?void 0:ot.userListButton)==null?void 0:pn.visibility)!=null?St:!0,position:($n=(sn=(Tt=V.mainVideoSetting)==null?void 0:Tt.userListButton)==null?void 0:sn.position)!=null?$n:"bottom-right"},zoomButton:{visibility:(Vn=(wi=(gn=V.mainVideoSetting)==null?void 0:gn.zoomButton)==null?void 0:wi.visibility)!=null?Vn:!0,position:(wn=(Zn=(An=V.mainVideoSetting)==null?void 0:An.zoomButton)==null?void 0:Zn.position)!=null?wn:"bottom-right"},nameLabel:{visibility:(Un=(Ue=(Nn=V.mainVideoSetting)==null?void 0:Nn.nameLabel)==null?void 0:Ue.visibility)!=null?Un:!0,position:(xt=(Ii=(pi=V.mainVideoSetting)==null?void 0:pi.nameLabel)==null?void 0:Ii.position)!=null?xt:"bottom-left",color:(Tr=(zn=(Wn=V.mainVideoSetting)==null?void 0:Wn.nameLabel)==null?void 0:zn.color)!=null?Tr:_t.blackLightXX}},J=(0,E.useRef)(),W=(0,E.useRef)();return(0,E.useImperativeHandle)(ee,()=>({muteAudio:()=>{var tn;return(tn=J.current)==null?void 0:tn.muteAudio()},unMuteAudio:()=>{var tn;return(tn=J.current)==null?void 0:tn.unMuteAudio()},switchCamera:()=>{var tn;return(tn=J.current)==null?void 0:tn.flipCamera()},pauseVideo:()=>{var tn;return(tn=J.current)==null?void 0:tn.muteVideo()},unPauseVideo:()=>{var tn;return(tn=J.current)==null?void 0:tn.unMuteVideo()},endCall:()=>{var tn;return(tn=J.current)==null?void 0:tn.leave()},switchToVideoCall:()=>{var tn;return(tn=J.current)==null?void 0:tn.requestingToSwitchToVideoCall()},startRecording:()=>{var tn;return(tn=J.current)==null?void 0:tn.startRecording()},stopRecording:()=>{var tn;return(tn=J.current)==null?void 0:tn.stopRecording()},toggleAudioButton:()=>{var tn;return(tn=J.current)==null?void 0:tn.toggleAudioButton()},toggleVideoButton:()=>{var tn;return(tn=J.current)==null?void 0:tn.toggleVideoButton()},enterPipMode:()=>{var tn;return(tn=J.current)==null?void 0:tn.enterPipMode()},exitPipMode:()=>{var tn;return(tn=J.current)==null?void 0:tn.exitPipMode()},setAudioMode:tn=>{var Fn;return(Fn=W.current)==null?void 0:Fn.setAudioMode(tn)},getAudioModes:()=>{var tn;return(tn=W.current)==null?void 0:tn.getAudioModes()}})),(0,E.useEffect)(()=>{xe.d("index.js","[index.js] [useEffect]")},[]),u().createElement(Wt,{reducer:Gt,initialState:dn(Ft(Ft({},V),C),{videoSettings:B})},u().createElement(Ht.Consumer,null,tn=>u().createElement(o.View,{onLayout:Fn=>{X.height===0&&tn.globalState.inPIPMode&&(X.width=Fn.nativeEvent.layout.width,X.height=Fn.nativeEvent.layout.height),K.height!==0||tn.globalState.inPIPMode||(K.width=Fn.nativeEvent.layout.width,K.height=Fn.nativeEvent.layout.height),tn==null||tn.dispatch({type:v,payload:Fn.nativeEvent.layout})},style:[{backgroundColor:_t.palette.red},K.height===0||tn.globalState.inPIPMode?tn.globalState.inPIPMode&&X.height!==0?{width:X.width,height:X.height}:{flex:1}:{width:K.width,height:K.height}]},u().createElement(M,{ref:Fn=>{tn.jitsiManager.current=Fn,J.current=Fn}}),u().createElement(Ur,Ft({ref:Fn=>{tn.nativeManager.current=Fn,W.current=Fn}},tn.settings)),u().createElement(kr,null))))}),we=(0,E.forwardRef)(function(yt,ht){var Ut=yt,{callsettings:V={},onCallEndButtonPressed:ee,onEndCall:C,onUserJoined:B,onUserLeft:J,onUserListChanged:W,onRecordingToggled:de,onUserMuted:ue,onAudioModeChanged:ke,getAudioModesOnSuccess:rt,onCallSwitchedToVideo:ut}=Ut,Rt=ro(Ut,["callsettings","onCallEndButtonPressed","onEndCall","onUserJoined","onUserLeft","onUserListChanged","onRecordingToggled","onUserMuted","onAudioModeChanged","getAudioModesOnSuccess","onCallSwitchedToVideo"]);var Nt;return u().createElement(oe,Ft(dn(Ft({ref:ht},V),{enableVideoTileClick:V.EnableVideoTileClick,sessionId:V.sessionID,RTCUser:V.user,onCallEndButtonPressed:ee,onEndCall:C,onUserJoined:B,onUserLeft:J,onUserListChanged:W,onRecordingToggled:de,onUserMuted:ue,onAudioModeChanged:ke,getAudioModesOnSuccess:rt,onCallSwitchedToVideo:ut,mainVideoSetting:V.MainVideoContainerSetting,enableDefaultLayout:V.defaultLayout,isAudioOnly:V.isAudioOnly,hideAudioMuteButton:!V.ShowMuteAudioButton,hideEndCallButton:!V.ShowEndCallButton,hidePauseVideoButton:!V.ShowPauseVideoButton,hideVideoSwitchButton:!V.ShowSwitchCameraButton,showRecordingButton:V.ShowRecordingButton,startRecordingOnCallStart:V.StartRecordingOnCallStart,hideAudioModeButton:!V.ShowAudioModeButton,REGION:V.region,mode:V.mode,domain:V.domain,defaultAudioMode:V.defaultAudioMode,startAudioMuted:V.StartAudioMuted,startVideoMuted:V.StartVideoMuted,appId:V.appId,analyticsSettings:V.analyticsSettings,showSwitchToVideoCallButton:V.ShowSwitchToVideoCallButton,avatarMode:(Nt=V.AvatarMode)==null?void 0:Nt.toLowerCase()}),Rt))})})(),__webpack_exports__})())},878:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__878__},156:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__156__},925:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__925__},559:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__559__},650:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__650__},394:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__394__},941:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__941__}},__webpack_module_cache__={};function __webpack_require__(E){var u=__webpack_module_cache__[E];if(u!==void 0)return u.exports;var o=__webpack_module_cache__[E]={exports:{}};return __webpack_modules__[E](o,o.exports,__webpack_require__),o.exports}__webpack_require__.n=E=>{var u=E&&E.__esModule?()=>E.default:()=>E;return __webpack_require__.d(u,{a:u}),u},__webpack_require__.d=(E,u)=>{for(var o in u)__webpack_require__.o(u,o)&&!__webpack_require__.o(E,o)&&Object.defineProperty(E,o,{enumerable:!0,get:u[o]})},__webpack_require__.o=(E,u)=>Object.prototype.hasOwnProperty.call(E,u),__webpack_require__.r=E=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(E,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(E,"__esModule",{value:!0})};var __webpack_exports__={};return(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CallGroup:()=>ai,CallLog:()=>Yn,CallLogRequestBuilder:()=>ct,CallUser:()=>ri,CometChatCalls:()=>vn,Participant:()=>Li,Recording:()=>ti,default:()=>on});var E=__webpack_require__(173),u=__webpack_require__.n(E);function o(I){I!=null&&(typeof I=="string"&&(I=I.trim()),typeof I=="object"&&Object.keys(I).length===0&&(I=void 0));var b=["",0,"0",!1,null,"null",void 0,"undefined"];return b.includes(I)}function l(I){try{return JSON.stringify(I),!0}catch(b){return!1}}var y=function(){function I(){}return I.log=function(b,ne){console.log(b,ne)},I.error=function(b,ne){console.log(b,ne)},I.info=function(b,ne){console.info(b,ne)},I}();function m(I){typeof(I==null?void 0:I.toString)=="function"||typeof I=="string"?console.error(I.toString()):l(I)?console.error(I!=null&&I.message?I==null?void 0:I.message:JSON.stringify(I)):console.error(I)}var v=function(){function I(b){o(b.onUserJoined)||(this.onUserJoined=b.onUserJoined),o(b.onUserLeft)||(this.onUserLeft=b.onUserLeft),o(b.onUserListUpdated)||(this.onUserListUpdated=b.onUserListUpdated),o(b.onAudioModesUpdated)||(this.onAudioModesUpdated=b.onAudioModesUpdated),o(b.onCallEnded)||(this.onCallEnded=b.onCallEnded),o(b.onCallEndButtonPressed)||(this.onCallEndButtonPressed=b.onCallEndButtonPressed),o(b.onError)||(this.onError=b.onError),o(b.onRecordingStarted)||(this.onRecordingStarted=b.onRecordingStarted),o(b.onRecordingStopped)||(this.onRecordingStopped=b.onRecordingStopped),o(b.onUserMuted)||(this.onUserMuted=b.onUserMuted),o(b.onCallSwitchedToVideo)||(this.onCallSwitchedToVideo=b.onCallSwitchedToVideo)}return I}(),j=function(){return j=Object.assign||function(I){for(var b,ne=1,re=arguments.length;ne<re;ne++){b=arguments[ne];for(var Oe in b)Object.prototype.hasOwnProperty.call(b,Oe)&&(I[Oe]=b[Oe])}return I},j.apply(this,arguments)},p=function(I,b,ne){if(ne||arguments.length===2)for(var re=0,Oe=b.length,ye;re<Oe;re++)(ye||!(re in b))&&(ye||(ye=Array.prototype.slice.call(b,0,re)),ye[re]=b[re]);return I.concat(ye||Array.prototype.slice.call(b))},g=function(){function I(){}return I.addCallEventListener=function(b,ne){try{I.callHandlers=I==null?void 0:I.callHandlers.filter(function(re){return re._name!=b}),I.callHandlers=p(p([],I.callHandlers,!0),[j({_name:b},new v(ne))],!1)}catch(re){console.error("ListenerHandlers: addCallEventListener",re)}},I.removeCallEventListener=function(b){try{I.callHandlers=I==null?void 0:I.callHandlers.filter(function(ne){return ne._name!==b})}catch(ne){console.error("ListenerHandlers: removeCallEventListener",ne)}},I.callHandlers=[],I}(),_={CALL_TOKENS:"call_tokens",CALL_LIST:"calls"},w="__APP_ID__",O="__REGION__",x="https://".concat(w,".call-").concat(O,".cometchat.io/v3.0/"),F=function(I){return new Promise(function(b){var ne=new Headers;if(ne.append("content-Type","application/json"),ne.append("Accept","application/json"),typeof I.headers=="object")for(var re in I.headers)ne.append(re,I.headers[re]);var Oe={method:"POST",headers:ne,body:JSON.stringify(I.data)};fetch(I.url,Oe).then(function(ye){return ye.json()}).then(function(ye){b({error:null,data:ye})}).catch(function(ye){console.log(ye),b({error:ye,data:null})})})},G=function(I){return new Promise(function(b){var ne=new Headers;if(ne.append("Accept","application/json"),typeof I.headers=="object")for(var re in I.headers)ne.append(re,I.headers[re]);var Oe={method:"GET",headers:ne};fetch(I.url,Oe).then(function(ye){return ye.json()}).then(function(ye){b({error:null,data:ye})}).catch(function(ye){console.log(ye),b({error:ye,data:null})})})};function P(I){var b=[];for(var ne in I)b.push(encodeURIComponent(ne)+"="+encodeURIComponent(I[ne]));return b.join("&")}var Y=function(I,b,ne,re){function Oe(ye){return ye instanceof ne?ye:new ne(function(st){st(ye)})}return new(ne||(ne=Promise))(function(ye,st){function tt(Ce){try{et(re.next(Ce))}catch(Yt){st(Yt)}}function Pt(Ce){try{et(re.throw(Ce))}catch(Yt){st(Yt)}}function et(Ce){Ce.done?ye(Ce.value):Oe(Ce.value).then(tt,Pt)}et((re=re.apply(I,b||[])).next())})},me=function(I,b){var ne={label:0,sent:function(){if(ye[0]&1)throw ye[1];return ye[1]},trys:[],ops:[]},re,Oe,ye,st;return st={next:tt(0),throw:tt(1),return:tt(2)},typeof Symbol=="function"&&(st[Symbol.iterator]=function(){return this}),st;function tt(et){return function(Ce){return Pt([et,Ce])}}function Pt(et){if(re)throw new TypeError("Generator is already executing.");for(;st&&(st=0,et[0]&&(ne=0)),ne;)try{if(re=1,Oe&&(ye=et[0]&2?Oe.return:et[0]?Oe.throw||((ye=Oe.return)&&ye.call(Oe),0):Oe.next)&&!(ye=ye.call(Oe,et[1])).done)return ye;switch(Oe=0,ye&&(et=[et[0]&2,ye.value]),et[0]){case 0:case 1:ye=et;break;case 4:return ne.label++,{value:et[1],done:!1};case 5:ne.label++,Oe=et[1],et=[0];continue;case 7:et=ne.ops.pop(),ne.trys.pop();continue;default:if(ye=ne.trys,!(ye=ye.length>0&&ye[ye.length-1])&&(et[0]===6||et[0]===2)){ne=0;continue}if(et[0]===3&&(!ye||et[1]>ye[0]&&et[1]<ye[3])){ne.label=et[1];break}if(et[0]===6&&ne.label<ye[1]){ne.label=ye[1],ye=et;break}if(ye&&ne.label<ye[2]){ne.label=ye[2],ne.ops.push(et);break}ye[2]&&ne.ops.pop(),ne.trys.pop();continue}et=b.call(I,ne)}catch(Ce){et=[6,Ce],Oe=0}finally{re=ye=0}if(et[0]&5)throw et[1];return{value:et[0]?et[1]:void 0,done:!0}}},ge=function(){function I(){}return I.setAppSettings=function(b){this.appSettings=b},I.generateToken=function(b,ne,re){return Y(this,void 0,void 0,function(){var Oe;return me(this,function(ye){return Oe=x.replace(w,re.getAppId()).replace(O,re.getRegion()),re.getHost()&&(Oe=re.getHost()),[2,F({url:"".concat(Oe).concat(_.CALL_TOKENS),headers:{authToken:b},data:{sessionId:ne}})]})})},I.verifyToken=function(b,ne){return Y(this,void 0,void 0,function(){var re;return me(this,function(Oe){return re=x.replace(w,ne.getAppId()).replace(O,ne.getRegion()),ne.getHost()&&(re=ne.getHost()),[2,G({url:"".concat(re).concat(_.CALL_TOKENS),headers:{callToken:b}})]})})},I.getCallLogList=function(b,ne){return Y(this,void 0,void 0,function(){var re,Oe,ye;return me(this,function(st){return re=x.replace(w,this.appSettings.getAppId()).replace(O,this.appSettings.getRegion()),this.appSettings.getHost()&&(re=this.appSettings.getHost()),Oe=P(b),ye="".concat(re).concat(_.CALL_LIST,"?").concat(Oe),[2,G({url:ye,headers:{authToken:ne}})]})})},I.getCallDetails=function(b,ne){return Y(this,void 0,void 0,function(){var re;return me(this,function(Oe){return re=x.replace(w,this.appSettings.getAppId()).replace(O,this.appSettings.getRegion()),this.appSettings.getHost()&&(re=this.appSettings.getHost()),[2,G({url:"".concat(re).concat(_.CALL_LIST,"/").concat(b),headers:{authToken:ne}})]})})},I}(),Be={DEFAULT_STORE:"cometchat",MSG_VER_PRE:"store-ver-pre",MSG_VER_POST:"store-ver-post"},it={API_ERROR:{code:"API_ERROR"}},be={us:"us",eu:"eu",in:"in"},Re={ZERO:0,MSGS_LIMIT:30,MSGS_MAX_LIMIT:100,USERS_LIMIT:30,USERS_MAX_LIMIT:100,GROUPS_LIMIT:30,GROUPS_MAX_LIMIT:100,CONVERSATION_MAX_LIMIT:50,CALL_TIMEOUT:45,DEFAULT_MSG_ID:0,DEFAULT_MAX_TYPING_INDICATOR_LIMIT:5,REGION_DEFAULT:"eu",REGION_DEFAULT_EU:"eu",REGION_DEFAULT_US:"us",REGION_DEFAULT_IN:"in",REGION_DEFAULT_PRIVATE:"private"},T;(function(I){I.Public="public",I.Private="private",I.Protected="protected",I.Password="password"})(T||(T={}));var at={PUBLIC:"public",PRIVATE:"private",PROTECTED:"password",PASSWORD:"password"},Ee;(function(I){I.Admin="admin",I.Moderator="moderator",I.Member="member"})(Ee||(Ee={}));var Le={ADMIN:"admin",MODERATOR:"moderator",PARTICIPANT:"participant"},Xe={platform:"REACT_NATIVE",sdkVersion:"v3.0.11",apiVersion:"v3.0",sdkVersionWithUnderScore:"3_0_11",userAgent:"cc_react_native_sdk"},se={platform:"react-native",sdkVersion:"3.0.11",sdk:"%s@%s"},Ze={CONVERSATION:{TYPE:{CHAT:"chat",GROUP_CHAT:"groupchat"}}},Fe={analyticsHost:"metrics-%s.cometchat.io",analyticsVersion:"v1"},dt={COMMON_STORE:"common_store",MESSAGE_LISTENERS_LIST:"message_listeners_list",USERS_STORE:"users_store",MESSAGES_STORE:"messages_store",KEYS_STORE:"keys_store",STORE_STRING:"%s:%s",KEY_STRING:"%s/%s",KEY_USER:"user",KEY_APP_SETTINGS:"app_settings",KEY_APP_ID:"appId",KEY_DEVICE_ID:"deviceId",KEY_MESSAGE_LISTENER_LIST:"all"},$e={RESPONSE_KEYS:{KEY_DATA:"data",KEY_META:"meta",KEY_CURSOR:"cursor",KEY_ACTION:"action",KEY_MESSAGE:"message",KEY_ERROR:"error",KEY_ERROR_DETAILS:"details",KEY_ERROR_CODE:"code",KEY_ERROR_MESSAGE:"message",KEY_AUTH_TOKEN:"authToken",KEY_WS_CHANNEL:"wsChannel",KEY_IDENTITY:"identity",KEY_SERVICE:"identity",KEY_ENTITIES:"entities",KEY_ENTITITY:"entity",KEY_ENTITYTYPE:"entityType",KEY_ATTACHMENTS:"attachments",CODE_REQUEST_OK:200,CODE_BAD_REQUEST:401,UNREAD_UNDELIVERED_KEYS:{ENTITY:"entity",ENTITY_TYPE:"entityType",ENTITY_Id:"entityId",COUNT:"count"},GROUP_MEMBERS_RESPONSE:{SUCCESS:"success",ERROR:"error",MESSAGE:"message"},KEY_ENTITY_TYPE:{USER:"user",GROUP:"group"}}},ae={RECEIVER_ID:"receiverId",RECEIVER_TYPE:"type",RECIPIENT:"recipient",MESSAGE_ID:"messageId",RECEIVED:"delivered",DELIVERED_AT:"deliveredAt",ID:"id",TIME:"time",DELIVERED_TO_ME_AT:"deliveredToMeAt"},f={RECEIVER_ID:"receiverId",RECEIVER_TYPE:"type",RECIPIENT:"recipient",MESSAGE_ID:"messageId",READ:"read",READ_AT:"readAt",ID:"id",TIME:"time",READ_BY_ME_AT:"readByMeAt"},D={TYPE:{TEXT:"text",MEDIA:"media",IMAGE:"image",VIDEO:"video",AUDIO:"audio",FILE:"file",CUSTOM:"custom"},CATEGORY:{MESSAGE:"message",ACTION:"action",CALL:"call",CUSTOM:"custom"},RECEIVER_TYPE:{USER:"user",GROUP:"group"},KEYS:{ATTATCHMENT:"attatchment",ATTATCHMENTS:"attachments",ACTION:"action",TYPE:"type",DATA:"data",ID:"id",MUID:"muid",SENDER:"sender",RECEIVER:"receiver",RECEIVER_ID:"receiverId",CATEGORY:"category",RECEIVER_TYPE:"receiverType",SENT_AT:"sentAt",STATUS:"status",TEXT:"text",URL:"url",METADATA:"metadata",RECEIPTS:"receipts",MY_RECEIPTS:"myReceipt",CUSTOM_DATA:"customData",CUSTOM_SUB_TYPE:"subType",RESOURCE:"resource"},KNOWN_MEDIA_TYPE:{IMAGE:[],VIDEO:[],AUDIO:[],FILE:[]},PAGINATION:{AFFIX:{APPEND:"append",PREPEND:"prepend"},CURSOR_FILEDS:{ID:"id",SENT_AT:"sentAt"},CURSOR_AFFIX_DEFAULT:"prepend",CURSOR_FIELD_DEFAULT:"sentAt",KEYS:{PER_PAGE:"per_page",CURSOR_AFFIX:"cursorAffix",AFFIX:"affix",CURSOR_FIELD:"cursorField",CURSOR_VALUE:"cursorValue",UID:"uid",SENT_AT:"sentAt",ID:"id",CURRENT_PAGE:"page",UNREAD:"unread",HIDE_MESSAGES_FROM_BLOCKED_USER:"hideMessagesFromBlockedUsers",SEARCH_KEY:"searchKey",ONLY_UPDATES:"onlyUpdates",UPDATED_AT:"updatedAt",CATEGORY:"category",CATEGORIES:"categories",TYPE:"type",TYPES:"types",HIDE_REPLIES:"hideReplies",HIDE_DELETED_MESSAGES:"hideDeleted",WITH_TAGS:"withTags",TAGS:"tags"}}},H={KEYS:{EXTENSION:"extension",MIME_TYPE:"mimeType",NAME:"name",SIZE:"size",URL:"url"}},z;(function(I){I.ACTION="action",I.MESSAGE="message",I.CALL="call",I.CUSTOM="custom"})(z||(z={}));var ve={RECEIVER_ID:"receiverId",RECEIVER_TYPE:"receiverType",META:"metadata",KEYS:{TYPING_NOTIFICATION:"typingNotification",TIMESTAMP:"timestamp"},ACTIONS:{STARTED:"started",ENDED:"ended"}},Se={ACTION_SUBJECTS:{ACTION_ON:"on",ACTION_BY:"by",ACTION_FOR:"for"},ACTION_ENTITY_TYPE:{GROUP_USER:"groupuser",USER:"user",GROUP:"group",MESSAGE:"message"},ACTION_KEYS:{ACTION_CREATED:"created",ACTION_UPDATED:"updated",ACTION_DELETED:"deleted",ENTITIES:"entities",ENTITY:"entity",ENTITY_TYPE:"entityType",TYPE_MEMBER_JOINED:"joined",TYPE_MEMBER_LEFT:"left",TYPE_MEMBER_KICKED:"kicked",TYPE_MEMBER_BANNED:"banned",TYPE_MEMBER_UNBANNED:"unbanned",TYPE_MEMBER_INVITED:"invited",TYPE_MEMBER_ADDED:"added",ACTION_SCOPE_CHANGED:"scopeChanged",ACTION_TYPE_USER:"user",ACTION_TYPE_GROUP:"group",ACTION_TYPE_GROUP_MEMBER:"groupMember",TYPE_MESSAGE_EDITED:"edited",TYPE_MESSAGE_DELETED:"deleted",ACTION_TYPE_CALL:"call",EXTRAS:"extras",SCOPE:"scope",NEW:"new",OLD:"old"},ActionMessages:{ACTION_GROUP_JOINED_MESSAGE:"%s joined",ACTION_GROUP_LEFT_MESSAGE:"%s left",ACTION_MEMBER_KICKED_MESSAGE:"%s kicked %s",ACTION_MEMBER_BANNED_MESSAGE:"%s banned %s",ACTION_MEMBER_UNBANNED_MESSAGE:"%s unbanned %s",ACTION_MEMBER_INVITED_MESSAGE:"%s banned %s",ACTION_MESSAGE_EDITED_MESSAGE:" Message Edited",ACTION_MESSAGE_DELETED_MESSAGE:"Message Deleted",ACTION_MEMBER_SCOPE_CHANGED:"%s made %s %s",ACTION_MEMBER_ADDED_TO_GROUP:"%s added %s"},ACTION_TYPE:{TYPE_MEMBER_JOINED:"joined",TYPE_MEMBER_LEFT:"left",TYPE_MEMBER_KICKED:"kicked",TYPE_MEMBER_BANNED:"banned",TYPE_MEMBER_UNBANNED:"unbanned",TYPE_MEMBER_INVITED:"invited",TYPE_MEMBER_SCOPE_CHANGED:"scopeChanged",TYPE_MESSAGE:"message",TYPE_MESSAGE_EDITED:"edited",TYPE_MESSAGE_DELETED:"deleted",TYPE_MEMBER_ADDED:"added"},ACTIONS:{MEMBER_ADDED:"added",MEMBER_JOINED:"joined",MEMBER_LEFT:"left",MEMBER_KICKED:"kicked",MEMBER_BANNED:"banned",MEMBER_UNBANNED:"unbanned",MEMBER_INVITED:"invited",MEMBER_SCOPE_CHANGED:"scopeChanged",MESSAGE_EDITED:"edited",MESSSAGE_DELETED:"deleted",TYPE_USER:"user",TYPE_GROUP:"group",TYPE_GROUP_MEMBER:"groupMember"}},pe={REQUEST_KEYS:{DIRECTIONS:{BOTH:"both",HAS_BLOCKED_ME:"hasBlockedMe",BLOCKED_BY_ME:"blockedByMe"}}},he={CALL_MODE:{DEFAULT:"DEFAULT",SPOTLIGHT:"SPOTLIGHT"},AUDIO_MODE:{SPEAKER:"SPEAKER",EARPIECE:"EARPIECE",BLUETOOTH:"BLUETOOTH",HEADPHONES:"HEADPHONES"},CALL_TYPE:{AUDIO:"audio",VIDEO:"video"},RECEIVER_TYPE_GROUP:"group",RECEIVER_TYPE_USER:"user",CALL_KEYS:{CALL_DATA:"data",CALL_ID:"id",CALL_SESSION_ID:"sessionid",CALL_RECEIVER:"receiver",CALL_SENDER:"sender",CALL_INITIATOR:"initiator",CALL_RECEIVER_TYPE:"receiverType",CALL_STATUS:"status",CALL_TYPE:"type",CALL_INITIATED_AT:"initiatedAt",CALL_JOINED_AT:"joinedAt",CALL_LEFT_AT:"leftAt",CALL_METADATA:"metadata",CALL_ENTITIES:"entities",CALL_ENTITY_TYPE:"entityType",CALL_ENTITY:"entity",CALL_ENTITY_USER:"user",CALL_ENTITY_GROUP:"group"},CALL_STATUS:{INITIATED:"initiated",ONGOING:"ongoing",UNANSWERED:"unanswered",REJECTED:"rejected",BUSY:"busy",CANCELLED:"cancelled",ENDED:"ended"},ZOOM_BUTTON_DEFAULT_PARAMS:{position:"bottom-right",visible:!0},FULL_SCREEN_BUTTON_DEFAULT_PARAMS:{position:"bottom-right",visible:!0},USER_LIST_BUTTON_DEFAULT_PARAMS:{position:"bottom-right",visible:!0},NAME_LABEL_DEFAULT_PARAMS:{position:"bottom-left",visible:!0,color:"#333333"},MAIN_VIDEO_CONTAINER_SETTINGS:{KEYS:{POSITION:"position",VISIBILITY:"visibility",COLOR:"color"}}},De={KEYS:{NAME:"name",GUID:"guid",TYPE:"type",PASSWORD:"password",ICON:"icon",DESCRIPTION:"description",OWNER:"owner",METADATA:"metadata",CREATED_AT:"createdAt",UPDATED_AT:"updatedAt",HAS_JOINED:"hasJoined",WS_CHANNEL:"wsChannel",TAGS:"tags"}},R={KEYS:{SCOPE:"scope",UID:"uid",GUID:"guid",USER:"user",NAME:"name"}},U={UID:"uid",NAME:"name",AUTH_TOKEN:"authToken",AVATAR:"avatar",LAST_ACTIVE_AT:"lastActiveAt",LINK:"link",META_DATA:"metadata",ROLE:"role",STATUS:"status",STATUS_MESSAGE:"statusMessage",USER_NAME:"user_name",TAGS:"tags",SORT_BY:{NAME:"name",STATUS:"status"},SORT_ORDER:{ASCENDING:"asc",DESCENDING:"desc"}},Z={ERROR_IO_EXCEPTION:"ERROR_IO_EXCEPTION",ERROR_JSON_EXCEPTION:"ERROR_JSON_EXCEPTION",ERROR_PASSWORD_MISSING:"ERROR_PASSWORD_MISSING",ERROR_LIMIT_EXCEEDED:"ERROR_LIMIT_EXCEEDED",ERROR_USER_NOT_LOGGED_IN:"ERROR_USER_NOT_LOGGED_IN",ERROR_INVALID_GUID:"ERROR_INVALID_GUID",ERROR_PASSWORD_MISSING_MESSAGE:"Password is mandatory for a password group",ERROR_LIMIT_EXCEEDED_MESSAGE:"Limit Exceeded Max limit of %s",ERROR_USER_NOT_LOGGED_IN_MESSAGE:"Please log in to CometChat before calling this method",ERROR_INVALID_GUID_MESSAGE:"Please provide a valid GUID",ERROR_DEFAULT_MESSAGE:"Something went wrong",ERR_SETTINGS_HASH_OUTDATED:"ERR_SETTINGS_HASH_OUTDATED",ERR_NO_AUTH:"ERR_NO_AUTH"},_e={CALL_ALREADY_INITIATED:{code:"CALL_ALREADY_INITIATED",name:"CALL_ALREADY_INITIATED",message:"There is already call in progress",details:{}},ERROR_IN_CALLING:{code:"CALL_IN_PROGRESS",name:"CALL_ALREADY_INITIATED",message:"There is already call in progress",details:{}},CANNOT_ACCEPT_CALL:{code:"OTHER_CALL_ONGOING",name:"OTHER_CALL_ONGOING",message:"There is already a call in progress",details:{}},NOT_INITIALIZED:{code:"NOT_INITIALIZED",name:"NOT_INITIALIZED",message:"Please call the CometChat.init() method before calling any other methods related to CometChat.",details:{}},NOT_LOGGED_IN:{code:"NOT_LOGGED_IN",name:"NOT_LOGGED_IN",message:"Please login before starting a call.",details:{}},SESSION_ID_REQUIRED:{code:"SESSION_ID_REQUIRED",name:"SESSION_ID_REQUIRED",message:"Please make sure you are passing correct session id.",details:{}},JWT_NOT_FOUND:{code:"JWT_NOT_FOUND",name:"JWT_NOT_FOUND",message:"There was some issue while fetching JWT from API.",details:{}},MODULE_NOT_INSTALLED:{code:"ERROR_CALL_MODULE_NOT_FOUND",name:"ERROR_CALL_MODULE_NOT_FOUND",message:"CometChat Calling module not found. Please add the CometChat Calling dependency and try again.",details:{}}},Ve={PARAMETER_REQUIRED:{code:"%s_NOT_PROVIDED",name:"%s_NOT_PROVIDED",message:"please provide the %s.",details:{}}},Ie={GENERIC_EXCEPTION:{code:"GENERIC_EXCEPTION"},INVALID_ARGUMENT_EXCEPTION:{code:"INVALID_ARGUMENT_EXCEPTION"},INVALID_PROP_EXCEPTION:{code:"INVALID_PROP_EXCEPTION"},API_ERROR:{code:"API_ERROR"},ERROR_PRESENTER_MODE:{code:"ERROR_PRESENTER_MODE",message:"Presenter mode is disabled. To use presenter mode, please enable it from the CometChat Apps Dashboard"},UNKNOWN_API_ERROR:{code:"UNKNOWN_API_ERROR",message:"There is an unknown issue with the API request. Please check your internet connection and verify the api call."}},mt={MISSING_PARAMETERS:{code:"MISSING_PARAMETERS",name:"MISSING_PARAMETERS",message:"Expected 4 parameters received 3",details:{}},INVALID_PARAMETER:{code:"INVALID_%s",name:"INVALID_%s",message:"%s",details:{}},NO_WEBSOCKET_CONNECTION:{code:"NO_WEBSOCKET_CONNECTION",name:"NO_WEBSOCKET_CONNECTION",message:"Connection to our Websockets server is broken. Please retry after some time.",details:{}},RECEIPTS_TEMPORARILY_BLOCKED:{code:"RECEIPTS_TEMPORARILY_BLOCKED",name:"RECEIPTS_TEMPORARILY_BLOCKED",message:"Due to high load. Receipts have been blocked for your app.",details:{}},UNKNOWN_ERROR_OCCURRED:{code:"UNKNOWN_ERROR_OCCURRED",name:"UNKNOWN_ERROR_OCCURRED",message:"Unknown error occurred while marking a message as read.",details:{}}},jt={APP_SETTINGS:"app_settings",KEYS:{CHAT_HOST:"CHAT_HOST",CHAT_USE_SSL:"CHAT_USE_SSL",GROUP_SERVICE:"GROUP_SERVICE",CALL_SERVICE:"CALL_SERVICE",CHAT_WS_PORT:"CHAT_WS_PORT",CHAT_WSS_PORT:"CHAT_WSS_PORT",CHAT_HTTP_BIND_PORT:"CHAT_HTTP_BIND_PORT",CHAT_HTTPS_BIND_PORT:"CHAT_HTTPS_BIND_PORT",ADMIN_API_HOST:"ADMIN_API_HOST",CLIENT_API_HOST:"CLIENT_API_HOST",WEBRTC_HOST:"WEBRTC_HOST",WEBRTC_USE_SSL:"WEBRTC_USE_SSL",WEBRTC_WS_PORT:"WEBRTC_WS_PORT",WEBRTC_WSS_PORT:"WEBRTC_WSS_PORT",WEBRTC_HTTP_BIND_PORT:"WEBRTC_HTTP_BIND_PORT",WEBRTC_HTTPS_BIND_PORT:"WEBRTC_HTTPS_BIND_PORT",EXTENSION_LIST:"extensions",EXTENSION_KEYS:{ID:"id",NAME:"name"},JID_HOST_OVERRIDE:"JID_HOST_OVERRIDE",CHAT_HOST_OVERRIDE:"CHAT_HOST_OVERRIDE",CHAT_HOST_APP_SPECIFIC:"CHAT_HOST_APP_SPECIFIC",MODE:"MODE",CONNECTION_TYPE:"connection_type",DEFAULT_MODE:"DEFAULT",LIMITED_TRANSIENT:"LIMITED_TRANSIENT",NO_TRANSIENT:"NO_TRANSIENT",POLLING_ENABLED:"POLLING_ENABLED",POLLING_INTERVAL:"POLLING_INTERVAL",ANALYTICS_PING_DISABLED:"ANALYTICS_PING_DISABLED",ANALYTICS_HOST:"ANALYTICS_HOST",ANALYTICS_VERSION:"ANALYTICS_VERSION",ANALYTICS_USE_SSL:"ANALYTICS_USE_SSL",SETTINGS_HASH:"settingsHash",SETTINGS_HASH_RECEIVED_AT:"settingsHashReceivedAt",DENY_FALLBACK_TO_POLLING:"DENY_FALLBACK_TO_POLLING",APP_VERSION:"APP_VERSION",MAIN_DOMAIN:"MAIN_DOMAIN",CHAT_API_VERSION:"CHAT_API_VERSION",WS_API_VERSION:"WS_API_VERSION",REGION:"REGION",EXTENSION_DOMAIN:"EXTENSION_DOMAIN",WEBRTC_API_SUBDOMAIN:"WEBRTC_API_SUBDOMAIN"}},qe={TYPE_CONSTANTS:{BOOLEAN:"boolean",STRING:"string",OBJECT:"object",NUMBER:"number"}},He={CONNECTED:"connected",CONNECTING:"connecting",DISCONNECTED:"disconnected",FEATURE_THROTTLED:"featureThrottled"},It={AUTH_ERR_AUTH_TOKEN_NOT_FOUND:"AUTH_ERR_AUTH_TOKEN_NOT_FOUND"},Gt={DOMAIN_PREFIX:"xmpp",PATH:{ROOM:"room",ROOM_SIZE:"room-size",SESSIONS:"sessions"},RESPONSE:{PARTICIPANTS:"participants"},QUERY_PARAMETERS:{DOMAIN:"domain",ROOM:"room"}},Xt={INVALID_SESSIONID:{code:"ERROR_INVALID_SESSIONID",name:"ERROR_INVALID_SESSIONID",message:"The provided sessionId cannot be null or empty. Please provide a valid sessionId.",details:""},INVALID_TYPE:{code:"ERROR_INVALID_TYPE",name:"ERROR_INVALID_TYPE",message:"The provided type cannot be null or empty. Please provide a valid type.",details:""}},Ht={KEYS:{PASSTHROUGH:"passthrough",EXPAND:"expand"}},qt={ENDPOINTS:{GET_ONLINE_MEMBER_COUNT:"api/%s/online-members"},RESPONSE:{ONLINE_USERS_COUNT:"onlineUsersCount",GROUPS:"groups"},ERRORS:{INVALID_GROUPLIST:{code:"ERROR_INVALID_GROUPLIST",name:"ERROR_INVALID_GROUPLIST",message:"Grouplist cannot be null or empty.",details:""}}},Wt=function(){function I(b){"code"in b&&(this.code=b.code),"message"in b&&(this.message=b.message),"details"in b&&(this.details=b.details)}return I}(),_t=function(){function I(b){this.appId=b.appId,this.region=b.region,this.host=b.host}return I.prototype.setAppId=function(b){return this.appId=b,this},I.prototype.setRegion=function(b){return this.region=b,this},I.prototype.setHost=function(b){return this.host=b,this},I.prototype.getAppId=function(){return this.appId},I.prototype.getRegion=function(){return this.region},I.prototype.getHost=function(){return this.host},I}(),Zt=function(){function I(){}return I.prototype.setAppId=function(b){return this.appId=b,this},I.prototype.setRegion=function(b){return this.region=b,this},I.prototype.setHost=function(b){return this.host=b,this},I.prototype.build=function(){return new _t(this)},I}();function q(I){return new Promise(function(b,ne){var re=new Wt({code:"INVALID_CALL_APP_SETTINGS"});if(!(I instanceof _t)){re.message="appSettings must be an instance of CallAppSettings class",ne(re);return}var Oe=I.getAppId(),ye=I.getRegion(),st=I.getHost();if(typeof Oe!="string"||Oe.length===0){re.message="Invalid app id, please check your appSettings",ne(re);return}if(typeof ye!="string"||!be[ye]){re.message="Invalid region, please check your appSettings",ne(re);return}if(st!=null&&typeof st!="string"){re.message="Invalid host, please check your appSettings",ne(re);return}b(!0)})}var Me=function(){function I(b){this.defaultLayout=b.defaultLayout,this.isAudioOnly=b.isAudioOnly,this.listener=b.listener,this.mode=b.mode,this.ShowEndCallButton=b.ShowEndCallButton,this.ShowSwitchCameraButton=b.ShowSwitchCameraButton,this.ShowMuteAudioButton=b.ShowMuteAudioButton,this.ShowPauseVideoButton=b.ShowPauseVideoButton,this.ShowAudioModeButton=b.ShowAudioModeButton,this.StartAudioMuted=b.StartAudioMuted,this.StartVideoMuted=b.StartVideoMuted,this.defaultAudioMode=b.defaultAudioMode,this.ShowSwitchToVideoCallButton=b.ShowSwitchToVideoCallButton,this.AvatarMode=b.AvatarMode,this.ShowRecordingButton=b.ShowRecordingButton,this.StartRecordingOnCallStart=b.StartRecordingOnCallStart,this.MainVideoContainerSetting=b.MainVideoContainerSetting,this.EnableVideoTileClick=b.EnableVideoTileClick,this.enableDraggableVideoTile=b.enableDraggableVideoTile}return I.prototype.isAudioOnlyCall=function(){return this.isAudioOnly},I.prototype.isDefaultLayoutEnabled=function(){return this.defaultLayout},I.prototype.getCallEventListener=function(){return this.listener},I.prototype.getMode=function(){return this.mode},I.prototype.isEndCallButtonEnabled=function(){return this.ShowEndCallButton},I.prototype.isSwitchCameraButtonEnabled=function(){return this.ShowSwitchCameraButton},I.prototype.isMuteAudioButtonEnabled=function(){return this.ShowMuteAudioButton},I.prototype.isPauseVideoButtonEnabled=function(){return this.ShowPauseVideoButton},I.prototype.isAudioModeButtonEnabled=function(){return this.ShowAudioModeButton},I.prototype.getStartWithAudioMuted=function(){return this.StartAudioMuted},I.prototype.getStartWithVideoMuted=function(){return this.StartVideoMuted},I.prototype.getDefaultAudioMode=function(){return this.defaultAudioMode},I.prototype.isAudioToVideoButtonEnabled=function(){return this.ShowSwitchToVideoCallButton},I.prototype.getAvatarMode=function(){return this.AvatarMode},I.prototype.isRecordingButtonEnabled=function(){return this.ShowRecordingButton},I.prototype.shouldStartRecordingOnCallStart=function(){return this.StartRecordingOnCallStart},I.prototype.getMainVideoContainerSetting=function(){return this.MainVideoContainerSetting},I.prototype.isVideoTileClickEnabled=function(){return this.EnableVideoTileClick},I.prototype.isVideoTileDragEnabled=function(){return this.enableDraggableVideoTile},I.POSITION_TOP_LEFT="top-left",I.POSITION_TOP_RIGHT="top-right",I.POSITION_BOTTOM_LEFT="bottom-left",I.POSITION_BOTTOM_RIGHT="bottom-right",I.ASPECT_RATIO_DEFAULT="default",I.ASPECT_RATIO_CONTAIN="contain",I.ASPECT_RATIO_COVER="cover",I.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right"},I.ASPECT_RATIO={DEFAULT:"default",CONTAIN:"contain",COVER:"cover"},I}(),Ae=function(){function I(){this.defaultLayout=!0,this.isAudioOnly=!1,this.mode=he.CALL_MODE.DEFAULT,this.ShowEndCallButton=!0,this.ShowSwitchCameraButton=!0,this.ShowMuteAudioButton=!0,this.ShowPauseVideoButton=!0,this.ShowAudioModeButton=!0,this.StartAudioMuted=!1,this.StartVideoMuted=!1,this.ShowSwitchToVideoCallButton=!0,this.AvatarMode="circle",this.ShowRecordingButton=!1,this.StartRecordingOnCallStart=!1,this.MainVideoContainerSetting=new k,this.EnableVideoTileClick=!0,this.enableDraggableVideoTile=!0}return I.prototype.enableDefaultLayout=function(b){return this.defaultLayout=b,this},I.prototype.setIsAudioOnlyCall=function(b){return this.isAudioOnly=b,this},I.prototype.setCallEventListener=function(b){return this.listener=b,this},I.prototype.setMode=function(b){return this.mode=b,this},I.prototype.showEndCallButton=function(b){return b===void 0&&(b=!0),this.ShowEndCallButton=b,this},I.prototype.showSwitchCameraButton=function(b){return b===void 0&&(b=!0),this.ShowSwitchCameraButton=b,this},I.prototype.showMuteAudioButton=function(b){return b===void 0&&(b=!0),this.ShowMuteAudioButton=b,this},I.prototype.showPauseVideoButton=function(b){return b===void 0&&(b=!0),this.ShowPauseVideoButton=b,this},I.prototype.showAudioModeButton=function(b){return b===void 0&&(b=!0),this.ShowAudioModeButton=b,this},I.prototype.startWithAudioMuted=function(b){return b===void 0&&(b=!1),this.StartAudioMuted=b,this},I.prototype.startWithVideoMuted=function(b){return b===void 0&&(b=!1),this.StartVideoMuted=b,this},I.prototype.setDefaultAudioMode=function(b){return this.defaultAudioMode=b,this},I.prototype.showSwitchToVideoCallButton=function(b){return b===void 0&&(b=!0),this.ShowSwitchToVideoCallButton=b,this},I.prototype.setAvatarMode=function(b){return b===void 0&&(b="circle"),this.AvatarMode=b,this},I.prototype.showRecordingButton=function(b){return b===void 0&&(b=!1),this.ShowRecordingButton=b,this},I.prototype.startRecordingOnCallStart=function(b){return b===void 0&&(b=!1),this.StartRecordingOnCallStart=b,this},I.prototype.setMainVideoContainerSetting=function(b){return this.MainVideoContainerSetting=b,this},I.prototype.enableVideoTileClick=function(b){return b===void 0&&(b=!0),this.EnableVideoTileClick=b,this},I.prototype.enableVideoTileDrag=function(b){return b===void 0&&(b=!0),this.enableDraggableVideoTile=b,this},I.prototype.build=function(){return new Me(this)},I}(),k=function(){function I(){this.videoFit=Me.ASPECT_RATIO_CONTAIN,this.zoomButton=he.ZOOM_BUTTON_DEFAULT_PARAMS,this.fullScreenButton=he.FULL_SCREEN_BUTTON_DEFAULT_PARAMS,this.userListButton=he.USER_LIST_BUTTON_DEFAULT_PARAMS,this.nameLabel=he.NAME_LABEL_DEFAULT_PARAMS}return I.prototype.setMainVideoAspectRatio=function(b){b===void 0&&(b="contain"),this.videoFit=b},I.prototype.setFullScreenButtonParams=function(b,ne){b===void 0&&(b=Me.POSITION_BOTTOM_RIGHT),ne===void 0&&(ne=!0),o(b)||(this.fullScreenButton[he.MAIN_VIDEO_CONTAINER_SETTINGS.KEYS.POSITION]=b),ne!=null&&ne!=null&&(this.fullScreenButton[he.MAIN_VIDEO_CONTAINER_SETTINGS.KEYS.VISIBILITY]=ne)},I.prototype.setNameLabelParams=function(b,ne,re){b===void 0&&(b=Me.POSITION_BOTTOM_LEFT),ne===void 0&&(ne=!0),re===void 0&&(re="#333333"),o(b)||(this.nameLabel[he.MAIN_VIDEO_CONTAINER_SETTINGS.KEYS.POSITION]=b),ne!=null&&ne!=null&&(this.nameLabel[he.MAIN_VIDEO_CONTAINER_SETTINGS.KEYS.VISIBILITY]=ne),o(re)||(this.nameLabel[he.MAIN_VIDEO_CONTAINER_SETTINGS.KEYS.COLOR]=re)},I.prototype.setZoomButtonParams=function(b,ne){b===void 0&&(b=Me.POSITION_BOTTOM_RIGHT),ne===void 0&&(ne=!0),o(b)||(this.zoomButton[he.MAIN_VIDEO_CONTAINER_SETTINGS.KEYS.POSITION]=b),ne!=null&&ne!=null&&(this.zoomButton[he.MAIN_VIDEO_CONTAINER_SETTINGS.KEYS.VISIBILITY]=ne)},I.prototype.setUserListButtonParams=function(b,ne){b===void 0&&(b=Me.POSITION_BOTTOM_RIGHT),ne===void 0&&(ne=!0),o(b)||(this.userListButton[he.MAIN_VIDEO_CONTAINER_SETTINGS.KEYS.POSITION]=b),ne!=null&&ne!=null&&(this.userListButton[he.MAIN_VIDEO_CONTAINER_SETTINGS.KEYS.VISIBILITY]=ne)},I}(),Q=__webpack_require__(156),ie=__webpack_require__.n(Q),ce=__webpack_require__(925),Pe=function(){function I(b){this.defaultLayout=b.defaultLayout,this.isAudioOnly=b.isAudioOnly,this.isPresenter=b.isPresenter,this.listener=b.listener,this.ShowEndCallButton=b.ShowEndCallButton,this.ShowSwitchCameraButton=b.ShowSwitchCameraButton,this.ShowMuteAudioButton=b.ShowMuteAudioButton,this.ShowPauseVideoButton=b.ShowPauseVideoButton,this.ShowAudioModeButton=b.ShowAudioModeButton,this.StartAudioMuted=b.StartAudioMuted,this.StartVideoMuted=b.StartVideoMuted,this.defaultAudioMode=b.defaultAudioMode,this.ShowRecordingButton=b.ShowRecordingButton}return I.prototype.isAudioOnlyCall=function(){return this.isAudioOnly},I.prototype.getIsPresenter=function(){return this.isPresenter},I.prototype.isDefaultLayoutEnabled=function(){return this.defaultLayout},I.prototype.getCallEventListener=function(){return this.listener},I.prototype.isEndCallButtonEnabled=function(){return this.ShowEndCallButton},I.prototype.isSwitchCameraButtonEnabled=function(){return this.ShowSwitchCameraButton},I.prototype.isMuteAudioButtonEnabled=function(){return this.ShowMuteAudioButton},I.prototype.isPauseVideoButtonEnabled=function(){return this.ShowPauseVideoButton},I.prototype.isAudioModeButtonEnabled=function(){return this.ShowAudioModeButton},I.prototype.getStartWithAudioMuted=function(){return this.StartAudioMuted},I.prototype.getStartWithVideoMuted=function(){return this.StartVideoMuted},I.prototype.getDefaultAudioMode=function(){return this.defaultAudioMode},I.prototype.isRecordingButtonEnabled=function(){return this.ShowRecordingButton},I.POSITION_TOP_LEFT="top-left",I.POSITION_TOP_RIGHT="top-right",I.POSITION_BOTTOM_LEFT="bottom-left",I.POSITION_BOTTOM_RIGHT="bottom-right",I.ASPECT_RATIO_DEFAULT="default",I.ASPECT_RATIO_CONTAIN="contain",I.ASPECT_RATIO_COVER="cover",I.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right"},I.ASPECT_RATIO={DEFAULT:"default",CONTAIN:"contain",COVER:"cover"},I}(),je=function(){function I(){this.defaultLayout=!0,this.isAudioOnly=!1,this.isPresenter=!1,this.ShowEndCallButton=!0,this.ShowSwitchCameraButton=!0,this.ShowMuteAudioButton=!0,this.ShowPauseVideoButton=!0,this.ShowAudioModeButton=!0,this.StartAudioMuted=!1,this.StartVideoMuted=!1,this.ShowRecordingButton=!1}return I.prototype.enableDefaultLayout=function(b){return this.defaultLayout=b,this},I.prototype.setIsAudioOnlyCall=function(b){return this.isAudioOnly=b,this},I.prototype.setIsPresenter=function(b){return this.isPresenter=b,this},I.prototype.setCallEventListener=function(b){return this.listener=b,this},I.prototype.showEndCallButton=function(b){return b===void 0&&(b=!0),this.ShowEndCallButton=b,this},I.prototype.showSwitchCameraButton=function(b){return b===void 0&&(b=!0),this.ShowSwitchCameraButton=b,this},I.prototype.showMuteAudioButton=function(b){return b===void 0&&(b=!0),this.ShowMuteAudioButton=b,this},I.prototype.showPauseVideoButton=function(b){return b===void 0&&(b=!0),this.ShowPauseVideoButton=b,this},I.prototype.showAudioModeButton=function(b){return b===void 0&&(b=!0),this.ShowAudioModeButton=b,this},I.prototype.startWithAudioMuted=function(b){return b===void 0&&(b=!1),this.StartAudioMuted=b,this},I.prototype.startWithVideoMuted=function(b){return b===void 0&&(b=!1),this.StartVideoMuted=b,this},I.prototype.setDefaultAudioMode=function(b){return this.defaultAudioMode=b,this},I.prototype.showRecordingButton=function(b){return b===void 0&&(b=!1),this.ShowRecordingButton=b,this},I.prototype.build=function(){return new Pe(this)},I}(),lt=function(){var I=function(b,ne){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,Oe){re.__proto__=Oe}||function(re,Oe){for(var ye in Oe)Object.prototype.hasOwnProperty.call(Oe,ye)&&(re[ye]=Oe[ye])},I(b,ne)};return function(b,ne){if(typeof ne!="function"&&ne!==null)throw new TypeError("Class extends value "+String(ne)+" is not a constructor or null");I(b,ne);function re(){this.constructor=b}b.prototype=ne===null?Object.create(ne):(re.prototype=ne.prototype,new re)}}(),gt=function(I){lt(b,I);function b(ne){return I.call(this,ne)||this}return b.prototype.render=function(){return ie().createElement(ce.View,{style:{flex:1,backgroundColor:"#000",justifyContent:"center",alignItems:"center",padding:20}},ie().createElement(ce.Text,{style:{color:"#FFF"}},this.props.message))},b}(ie().Component),pt=function(){var I=function(b,ne){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,Oe){re.__proto__=Oe}||function(re,Oe){for(var ye in Oe)Object.prototype.hasOwnProperty.call(Oe,ye)&&(re[ye]=Oe[ye])},I(b,ne)};return function(b,ne){if(typeof ne!="function"&&ne!==null)throw new TypeError("Class extends value "+String(ne)+" is not a constructor or null");I(b,ne);function re(){this.constructor=b}b.prototype=ne===null?Object.create(ne):(re.prototype=ne.prototype,new re)}}(),xe=function(){return xe=Object.assign||function(I){for(var b,ne=1,re=arguments.length;ne<re;ne++){b=arguments[ne];for(var Oe in b)Object.prototype.hasOwnProperty.call(b,Oe)&&(I[Oe]=b[Oe])}return I},xe.apply(this,arguments)},Dt=function(I){pt(b,I);function b(ne){var re=I.call(this,ne)||this;return re.state={shouldLoad:!1,errored:!1},re.callsettings=ne.callSettings,!re.callsettings||!(re.callsettings instanceof Me||re.callsettings instanceof Pe)?(re.state=xe(xe({},re.state),{errored:!0}),console.error(new Wt({code:Ie.INVALID_PROP_EXCEPTION.code,message:"Component requires valid callSettings.",details:"Component requires valid callSettings."})),re):(q(vn.getAppSettings()).then(function(){var Oe,ye;if(typeof ne.callToken!="string"||ne.callToken===""){var st=new Wt({code:Ie.INVALID_ARGUMENT_EXCEPTION.code,message:"Invalid callToken passed, please verify."});console.error(st),(ye=(Oe=re.callsettings.getCallEventListener())===null||Oe===void 0?void 0:Oe.onError)===null||ye===void 0||ye.call(Oe,st);return}ge.verifyToken(ne.callToken,vn.getAppSettings()).then(function(tt){var Pt,et,Ce,Yt,ui,$t,an,Bn,rn,cn,di,zt,Cn,Tn,un,gi,Rn,si;if(!((et=(Pt=tt==null?void 0:tt.data)===null||Pt===void 0?void 0:Pt.error)===null||et===void 0)&&et.message){console.error(tt.data.error.message),(Yt=(Ce=re.callsettings.getCallEventListener())===null||Ce===void 0?void 0:Ce.onError)===null||Yt===void 0||Yt.call(Ce,new Wt({code:Ie.API_ERROR.code,message:($t=(ui=tt==null?void 0:tt.data)===null||ui===void 0?void 0:ui.error)===null||$t===void 0?void 0:$t.message}));return}if(re.callsettings.user=xe(xe({},tt.data.data.payload.data.user),{jwt:re.props.callToken}),re.callsettings.sessionID=tt.data.data.payload.room,re.callsettings.appId=tt.data.data.payload.data.appId,re.callsettings.domain=tt.data.data.settings.WEBRTC_HOST,typeof re.callsettings.analyticsSettings!="object"&&(re.callsettings.analyticsSettings={}),!((rn=(Bn=(an=tt==null?void 0:tt.data)===null||an===void 0?void 0:an.data)===null||Bn===void 0?void 0:Bn.settings)===null||rn===void 0)&&rn.ANALYTICS_HOST&&(re.callsettings.analyticsSettings.ANALYTICS_HOST=tt.data.data.settings.ANALYTICS_HOST),!((zt=(di=(cn=tt==null?void 0:tt.data)===null||cn===void 0?void 0:cn.data)===null||di===void 0?void 0:di.settings)===null||zt===void 0)&&zt.ANALYTICS_VERSION&&(re.callsettings.analyticsSettings.ANALYTICS_VERSION=tt.data.data.settings.ANALYTICS_VERSION),ne.presenterMode)if(((un=(Tn=(Cn=tt==null?void 0:tt.data)===null||Cn===void 0?void 0:Cn.data)===null||Tn===void 0?void 0:Tn.settings)===null||un===void 0?void 0:un.PRESENTER_MODE_ENABLED)===!0)re.setState({shouldLoad:!0,errored:!1});else{var Mn=new Wt({code:Ie.ERROR_PRESENTER_MODE.code,message:Ie.ERROR_PRESENTER_MODE.message});(Rn=(gi=re.callsettings.getCallEventListener())===null||gi===void 0?void 0:gi.onError)===null||Rn===void 0||Rn.call(gi,Mn),(si=g==null?void 0:g.callHandlers)===null||si===void 0||si.map(function(qn){var Ui;(Ui=qn==null?void 0:qn.onError)===null||Ui===void 0||Ui.call(qn,Mn)}),console.error(Mn),re.setState({shouldLoad:!1,errored:!0})}else re.setState({shouldLoad:!0,errored:!1})}).catch(function(tt){var Pt,et;(et=(Pt=re.callsettings.getCallEventListener())===null||Pt===void 0?void 0:Pt.onError)===null||et===void 0||et.call(Pt,new Wt({code:Ie.API_ERROR.code,message:"Unknown API error",details:tt})),console.error(tt),re.setState({errored:!0})})}).catch(function(Oe){var ye,st;console.error(Oe),(st=(ye=re.callsettings.getCallEventListener())===null||ye===void 0?void 0:ye.onError)===null||st===void 0||st.call(ye,new Wt({code:Ie.API_ERROR.code,message:"Unknown API error",details:Oe})),re.setState({errored:!0})}),re)}return b.prototype.render=function(){var ne=this;return this.state.errored?ie().createElement(gt,{message:"Something went wrong! Please check logs for more details."}):this.state.shouldLoad?ie().createElement(ce.View,{style:{flex:1,backgroundColor:"#000"}},ie().createElement(u(),{ref:function(re){return b.ref=re},style:{flex:1,backgroundColor:"#000"},callsettings:this.callsettings,onEndCall:function(){var re,Oe,ye;(Oe=(re=ne.callsettings.getCallEventListener())===null||re===void 0?void 0:re.onCallEnded)===null||Oe===void 0||Oe.call(re),(ye=g==null?void 0:g.callHandlers)===null||ye===void 0||ye.map(function(st){var tt;(tt=st==null?void 0:st.onCallEnded)===null||tt===void 0||tt.call(st)}),g&&(g.callHandlers=[])},onCallEndButtonPressed:function(){var re,Oe,ye;(Oe=(re=ne.callsettings.getCallEventListener())===null||re===void 0?void 0:re.onCallEndButtonPressed)===null||Oe===void 0||Oe.call(re),(ye=g==null?void 0:g.callHandlers)===null||ye===void 0||ye.map(function(st){var tt;(tt=st==null?void 0:st.onCallEndButtonPressed)===null||tt===void 0||tt.call(st)})},onUserJoined:function(re){var Oe,ye,st;re&&(re!=null&&re.uid)&&(re!=null&&re.name)&&("jwt"in re&&delete re.jwt,"audioTrack"in re&&delete re.audioTrack,"videoTrack"in re&&delete re.videoTrack,"resource"in re&&delete re.resource,(ye=(Oe=ne.callsettings.getCallEventListener())===null||Oe===void 0?void 0:Oe.onUserJoined)===null||ye===void 0||ye.call(Oe,re),(st=g==null?void 0:g.callHandlers)===null||st===void 0||st.map(function(tt){var Pt;(Pt=tt==null?void 0:tt.onUserJoined)===null||Pt===void 0||Pt.call(tt,re)}))},onUserLeft:function(re){var Oe,ye,st;re&&(re!=null&&re.uid)&&(re!=null&&re.name)&&("jwt"in re&&delete re.jwt,"audioTrack"in re&&delete re.audioTrack,"videoTrack"in re&&delete re.videoTrack,"resource"in re&&delete re.resource,(ye=(Oe=ne.callsettings.getCallEventListener())===null||Oe===void 0?void 0:Oe.onUserLeft)===null||ye===void 0||ye.call(Oe,re),(st=g==null?void 0:g.callHandlers)===null||st===void 0||st.map(function(tt){var Pt;(Pt=tt==null?void 0:tt.onUserLeft)===null||Pt===void 0||Pt.call(tt,re)}))},onUserListChanged:function(re){var Oe,ye,st;Array.isArray(re)&&((ye=(Oe=ne.callsettings.getCallEventListener())===null||Oe===void 0?void 0:Oe.onUserListUpdated)===null||ye===void 0||ye.call(Oe,re),(st=g==null?void 0:g.callHandlers)===null||st===void 0||st.map(function(tt){var Pt;(Pt=tt==null?void 0:tt.onUserListUpdated)===null||Pt===void 0||Pt.call(tt,re)}))},onAudioModeChanged:function(re){var Oe,ye,st;re&&re.length>0&&((ye=(Oe=ne.callsettings.getCallEventListener())===null||Oe===void 0?void 0:Oe.onAudioModesUpdated)===null||ye===void 0||ye.call(Oe,re),(st=g==null?void 0:g.callHandlers)===null||st===void 0||st.map(function(tt){var Pt;(Pt=tt==null?void 0:tt.onAudioModesUpdated)===null||Pt===void 0||Pt.call(tt,re)}))},onRecordingToggled:function(re){var Oe,ye,st,tt,Pt,et,Ce,Yt;if(re&&re.hasOwnProperty("user")&&re.hasOwnProperty("recordingStarted")&&!((Oe=re.user)===null||Oe===void 0)&&Oe.uid&&!((ye=re.user)===null||ye===void 0)&&ye.name){var ui=re.recordingStarted;"jwt"in re.user&&delete re.user.jwt,"audioTrack"in re.user&&delete re.user.audioTrack,"videoTrack"in re.user&&delete re.user.videoTrack,"resource"in re.user&&delete re.user.resource,ui?((tt=(st=ne.callsettings.getCallEventListener())===null||st===void 0?void 0:st.onRecordingStarted)===null||tt===void 0||tt.call(st,re.user),(Pt=g==null?void 0:g.callHandlers)===null||Pt===void 0||Pt.map(function($t){var an;(an=$t==null?void 0:$t.onRecordingStarted)===null||an===void 0||an.call($t,re.user)})):((Ce=(et=ne.callsettings.getCallEventListener())===null||et===void 0?void 0:et.onRecordingStopped)===null||Ce===void 0||Ce.call(et,re.user),(Yt=g==null?void 0:g.callHandlers)===null||Yt===void 0||Yt.map(function($t){var an;(an=$t==null?void 0:$t.onRecordingStopped)===null||an===void 0||an.call($t,re.user)}))}},onCallSwitchedToVideo:function(re){var Oe,ye,st;re&&((ye=(Oe=ne.callsettings.getCallEventListener())===null||Oe===void 0?void 0:Oe.onCallSwitchedToVideo)===null||ye===void 0||ye.call(Oe,re.user),(st=g==null?void 0:g.callHandlers)===null||st===void 0||st.map(function(tt){var Pt;(Pt=tt==null?void 0:tt.onCallSwitchedToVideo)===null||Pt===void 0||Pt.call(tt,re.user)}))},onUserMuted:function(re){var Oe,ye,st;re&&((ye=(Oe=ne.callsettings.getCallEventListener())===null||Oe===void 0?void 0:Oe.onUserMuted)===null||ye===void 0||ye.call(Oe,re.user),(st=g==null?void 0:g.callHandlers)===null||st===void 0||st.map(function(tt){var Pt;(Pt=tt==null?void 0:tt.onUserMuted)===null||Pt===void 0||Pt.call(tt,re.user)}))}})):ie().createElement(gt,{message:"Initializing..."})},b.ref=null,b}(ie().Component),oi=function(){var I=function(b,ne){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,Oe){re.__proto__=Oe}||function(re,Oe){for(var ye in Oe)Object.prototype.hasOwnProperty.call(Oe,ye)&&(re[ye]=Oe[ye])},I(b,ne)};return function(b,ne){if(typeof ne!="function"&&ne!==null)throw new TypeError("Class extends value "+String(ne)+" is not a constructor or null");I(b,ne);function re(){this.constructor=b}b.prototype=ne===null?Object.create(ne):(re.prototype=ne.prototype,new re)}}(),Kn=function(){return Kn=Object.assign||function(I){for(var b,ne=1,re=arguments.length;ne<re;ne++){b=arguments[ne];for(var Oe in b)Object.prototype.hasOwnProperty.call(b,Oe)&&(I[Oe]=b[Oe])}return I},Kn.apply(this,arguments)},li=function(I){oi(b,I);function b(ne){var re=I.call(this,ne)||this;return re.state={errored:!1},re.props.presenterSettings.mode="PRESENTER",re.props.presenterSettings instanceof Pe||(re.state=Kn(Kn({},re.state),{errored:!0}),console.error(new Wt({code:Ie.INVALID_PROP_EXCEPTION.code,message:"Component requires valid presenterSettings.",details:"Component requires valid presenterSettings."}))),re}return b.prototype.render=function(){return this.state.errored?ie().createElement(gt,{message:"Something went wrong! Please check logs for more details."}):ie().createElement(Dt,{callSettings:this.props.presenterSettings,callToken:this.props.callToken,presenterMode:!0})},b}(ie().Component),hn={AUTH_ERR:{code:"AUTH_ERR_AUTH_TOKEN_NOT_FOUND",message:"The auth token %s% does not exist. Please make sure you are logged in and have a valid auth token or try login again."}},At={PARAMETER_MISSING:{code:"MISSING_PARAMETERS",name:"Invalid or no parameter passed to the method."}},en={NO_APP_ID:{code:At.PARAMETER_MISSING.code,name:At.PARAMETER_MISSING.name,message:"AppID cannot be empty. Please specify a valid appID.",details:{}}},Pn={EMPTY_PASSWORD:{code:"ERR_EMPTY_GROUP_PASS",details:void 0,message:"Password is mandatory to join a group.",name:void 0}},yi={EMPTY_USERS_LIST:{code:"EMPTY_USERS_LIST",name:"EMPTY_USERS_LIST",message:"The users list needs to have atleast one UID.",details:{}}},jn={REQUEST_IN_PROGRESS_ERROR:{code:"REQUEST_IN_PROGRESS",name:"REQUEST_IN_PROGRESS",message:"Request in progress.",details:{}},NOT_ENOUGH_PARAMS:{code:"NOT_ENOUGH_PARAMETERS",name:"NOT_ENOUGH_PARAMETERS",message:"`Timestamp`, `MessageId` or `updatedAfter` is required to use the 'fetchNext()' method.",details:{}}},Ei={INVALID_CUSTOM_DATA:{code:"-1",name:"%s_CUSTOM_DATA",message:"",details:{}}},ii={NOT_INITIALIZED:{code:"-1",name:"COMETCHAT_INITIALIZATION_NOT_DONE",message:"please initialize the cometchat before using login method.",details:{}},UNAUTHORISED:{code:401,name:"USER_NOT_AUTHORISED",message:"The `authToken` of the user is not authorised. Please verify again.",details:{}},WS_CONNECTION_FAIL:{code:-1,name:"WS_CONNECTION_FAIL",message:"WS Connection failed. %s",details:{}},WS_CONNECTION_FAIL_PORT_ERROR:{code:-1,name:"WS_CONNECTION_FAIL",message:"WS Connection failed. Trying to connect with port: %s",details:{}},WS_CONNECTION_FALLBACK_FAIL_PORT_ERROR:{code:-1,name:"WS_CONNECTION_FALLBACK_FAIL",message:"WS Connection fallback failed. Trying to connect with port: %s",details:{}},WS_AUTH_FAIL:{code:-1,name:"WS_AUTH_FAIL",message:"WS username/password not correct.",details:{}},NO_INTERNET:{code:-1,name:"NO_INTERNET_CONNECTION",message:"You do not have internet connection.",details:{}},REQUEST_IN_PROGRESS:{code:-1,name:"LOGIN_IN_PROGRESS",message:"Please wait until the previous login request ends.",details:{}}},Bi={TOO_MANY_REQUEST:{code:"TOO_MANY_REQUEST",name:"TOO MANY REQUEST",message:"too many request, wait for `%s` seconds before sending next request.",details:{}}},Di={ERROR_IN_API_CALL:{code:"FAILED_TO_FETCH",name:"FAILED_TO_FETCH",message:"There is an unknown issue with the API request. Please check your internet connection and verify the api call.",details:{}}},ai=function(){function I(b){Object.assign(this,b)}return I.prototype.getGuid=function(){return this.guid},I.prototype.setGuid=function(b){this.guid=b},I.prototype.getName=function(){return this.name},I.prototype.setName=function(b){this.name=b},I.prototype.getIcon=function(){return this.icon},I.prototype.setIcon=function(b){this.icon=b},I.prototype.toString=function(){return"CallGroup{ guid='".concat(this.guid,"', name='").concat(this.name,"', icon='").concat(this.icon,"' }")},I.getGroupFromJson=function(b){var ne=new I(b);return ne},I}(),ri=function(){function I(b){Object.assign(this,b)}return I.prototype.getUid=function(){return this.uid},I.prototype.setUid=function(b){this.uid=b},I.prototype.getName=function(){return this.name},I.prototype.setName=function(b){this.name=b},I.prototype.getAvatar=function(){return this.avatar},I.prototype.setAvatar=function(b){this.avatar=b},I.prototype.toString=function(){return"CallUser{ uid='".concat(this.uid,"', name='").concat(this.name,"', avatar='").concat(this.avatar,"' }")},I.getUserFromJson=function(b){var ne=new I(b);return ne},I}(),Li=function(){function I(b){Object.assign(this,b)}return I.prototype.getUid=function(){return this.uid},I.prototype.setUid=function(b){this.uid=b},I.prototype.getName=function(){return this.name},I.prototype.setName=function(b){this.name=b},I.prototype.getAvatar=function(){return this.avatar},I.prototype.setAvatar=function(b){this.avatar=b},I.prototype.getTotalAudioMinutes=function(){return this.totalAudioMinutes},I.prototype.setTotalAudioMinutes=function(b){this.totalAudioMinutes=b},I.prototype.getTotalVideoMinutes=function(){return this.totalVideoMinutes},I.prototype.setTotalVideoMinutes=function(b){this.totalVideoMinutes=b},I.prototype.getTotalDurationInMinutes=function(){return this.totalDurationInMinutes},I.prototype.setTotalDurationInMinutes=function(b){this.totalDurationInMinutes=b},I.prototype.getDeviceID=function(){return this.deviceID},I.prototype.setDeviceID=function(b){this.deviceID=b},I.prototype.getHasJoined=function(){return this.hasJoined},I.prototype.setHasJoined=function(b){this.hasJoined=b},I.prototype.getJoinedAt=function(){return this.joinedAt},I.prototype.setJoinedAt=function(b){this.joinedAt=b},I.prototype.getLeftAt=function(){return this.leftAt},I.prototype.setLeftAt=function(b){this.leftAt=b},I.prototype.getMid=function(){return this.mid},I.prototype.setMid=function(b){this.mid=b},I.prototype.getState=function(){return this.state},I.prototype.setState=function(b){this.state=b},I.getParticipantFromJson=function(b){var ne=new I(b);return ne},I}(),ti=function(){function I(b){Object.assign(this,b)}return I.prototype.getRid=function(){return this.rid},I.prototype.setRid=function(b){this.rid=b},I.prototype.getRecordingURL=function(){return this.recording_url},I.prototype.setRecordingURL=function(b){this.recording_url=b},I.prototype.getStartTime=function(){return this.startTime},I.prototype.setStartTime=function(b){this.startTime=b},I.prototype.getEndTime=function(){return this.endTime},I.prototype.setEndTime=function(b){this.endTime=b},I.prototype.getDuration=function(){return this.duration},I.prototype.setDuration=function(b){this.duration=b},I.getRecordingFromJson=function(b){var ne=new I(b);return ne},I}(),Yn=function(){function I(b){Object.assign(this,b)}return I.prototype.getSessionID=function(){return this.sessionId},I.prototype.setSessionID=function(b){this.sessionId=b},I.prototype.getTotalAudioMinutes=function(){return this.totalAudioMinutes},I.prototype.setTotalAudioMinutes=function(b){this.totalAudioMinutes=b},I.prototype.getTotalVideoMinutes=function(){return this.totalVideoMinutes},I.prototype.setTotalVideoMinutes=function(b){this.totalVideoMinutes=b},I.prototype.getTotalDuration=function(){return this.totalDuration},I.prototype.setTotalDuration=function(b){this.totalDuration=b},I.prototype.getHasRecording=function(){return this.hasRecording},I.prototype.setHasRecording=function(b){this.hasRecording=b},I.prototype.getInitiatedAt=function(){return this.initiatedAt},I.prototype.setInitiatedAt=function(b){this.initiatedAt=b},I.prototype.getCallCategory=function(){return this.callCategory},I.prototype.setCallCategory=function(b){this.callCategory=b},I.prototype.getInitiator=function(){return this.initiator},I.prototype.setInitiator=function(b){this.initiator=b},I.prototype.getReceiver=function(){return this.receiver},I.prototype.setReceiver=function(b){this.receiver=b},I.prototype.getReceiverType=function(){return this.receiverType},I.prototype.setReceiverType=function(b){this.receiverType=b},I.prototype.getStatus=function(){return this.status},I.prototype.setStatus=function(b){this.status=b},I.prototype.getTotalDurationInMinutes=function(){return this.totalDurationInMinutes},I.prototype.setTotalDurationInMinutes=function(b){this.totalDurationInMinutes=b},I.prototype.getTotalParticipants=function(){return this.totalParticipants},I.prototype.setTotalParticipants=function(b){this.totalParticipants=b},I.prototype.getType=function(){return this.type},I.prototype.setType=function(b){this.type=b},I.prototype.getMid=function(){return this.mid},I.prototype.setMid=function(b){this.mid=b},I.prototype.getEndedAt=function(){return this.endedAt},I.prototype.setEndedAt=function(b){this.endedAt=b},I.prototype.getParticipants=function(){return this.participants},I.prototype.setParticipants=function(b){this.participants=b},I.prototype.getRecordings=function(){return this.recordings},I.prototype.setRecordings=function(b){this.recordings=b},I.callLogFromJson=function(b){var ne=new I(b);if(b.participants&&(ne.participants=b.participants.map(function(ye){return Li.getParticipantFromJson(ye)})),b.recordings&&(ne.recordings=b.recordings.map(function(ye){return ti.getRecordingFromJson(ye)})),b.initiator&&b[he.CALL_KEYS.CALL_DATA]&&b[he.CALL_KEYS.CALL_DATA][he.CALL_KEYS.CALL_ENTITIES]&&b[he.CALL_KEYS.CALL_DATA][he.CALL_KEYS.CALL_ENTITIES][he.CALL_KEYS.CALL_INITIATOR]&&b[he.CALL_KEYS.CALL_DATA][he.CALL_KEYS.CALL_ENTITIES][he.CALL_KEYS.CALL_INITIATOR][he.CALL_KEYS.CALL_ENTITY]){var re=b[he.CALL_KEYS.CALL_DATA][he.CALL_KEYS.CALL_ENTITIES][he.CALL_KEYS.CALL_INITIATOR][he.CALL_KEYS.CALL_ENTITY];ne.initiator=ri.getUserFromJson(re)}if(b.receiver&&b[he.CALL_KEYS.CALL_DATA]&&b[he.CALL_KEYS.CALL_DATA][he.CALL_KEYS.CALL_ENTITIES]&&b[he.CALL_KEYS.CALL_DATA][he.CALL_KEYS.CALL_ENTITIES][he.CALL_KEYS.CALL_RECEIVER]&&b[he.CALL_KEYS.CALL_DATA][he.CALL_KEYS.CALL_ENTITIES][he.CALL_KEYS.CALL_RECEIVER][he.CALL_KEYS.CALL_ENTITY]){var Oe=b[he.CALL_KEYS.CALL_DATA][he.CALL_KEYS.CALL_ENTITIES][he.CALL_KEYS.CALL_RECEIVER][he.CALL_KEYS.CALL_ENTITY];b.receiverType==he.RECEIVER_TYPE_USER?ne.receiver=ri.getUserFromJson(Oe):ne.receiver=ai.getGroupFromJson(Oe)}return ne},I}(),ci=function(){function I(){this.perPage=-1,this.page=-1}return I.prototype.setDirection=function(b){this.direction=b},I.prototype.setStatus=function(b){this.status=b},I.prototype.setType=function(b){this.type=b},I.prototype.setPerPage=function(b){this.perPage=b},I.prototype.setPage=function(b){this.page=b},I.prototype.setMode=function(b){this.mode=b},I.prototype.setHasRecordings=function(b){this.hasRecording=b},I.prototype.setUid=function(b){this.uid=b},I.prototype.setGuid=function(b){this.guid=b},I.prototype.toMap=function(){var b={};return this.perPage!==-1&&(b.perPage=String(this.perPage)),this.page!==-1&&(b.page=String(this.page)),this.mode&&(b.mode=this.mode),this.type&&(b.type=this.type),this.status&&(b.status=this.status),this.direction&&(b.direction=this.direction),this.uid&&(b.uid=this.uid),this.guid&&(b.guid=this.guid),this.hasRecording!==null&&(b.hasRecording=this.hasRecording?"true":"false"),b},I}(),Si=function(I,b,ne,re){function Oe(ye){return ye instanceof ne?ye:new ne(function(st){st(ye)})}return new(ne||(ne=Promise))(function(ye,st){function tt(Ce){try{et(re.next(Ce))}catch(Yt){st(Yt)}}function Pt(Ce){try{et(re.throw(Ce))}catch(Yt){st(Yt)}}function et(Ce){Ce.done?ye(Ce.value):Oe(Ce.value).then(tt,Pt)}et((re=re.apply(I,b||[])).next())})},Ji=function(I,b){var ne={label:0,sent:function(){if(ye[0]&1)throw ye[1];return ye[1]},trys:[],ops:[]},re,Oe,ye,st;return st={next:tt(0),throw:tt(1),return:tt(2)},typeof Symbol=="function"&&(st[Symbol.iterator]=function(){return this}),st;function tt(et){return function(Ce){return Pt([et,Ce])}}function Pt(et){if(re)throw new TypeError("Generator is already executing.");for(;st&&(st=0,et[0]&&(ne=0)),ne;)try{if(re=1,Oe&&(ye=et[0]&2?Oe.return:et[0]?Oe.throw||((ye=Oe.return)&&ye.call(Oe),0):Oe.next)&&!(ye=ye.call(Oe,et[1])).done)return ye;switch(Oe=0,ye&&(et=[et[0]&2,ye.value]),et[0]){case 0:case 1:ye=et;break;case 4:return ne.label++,{value:et[1],done:!1};case 5:ne.label++,Oe=et[1],et=[0];continue;case 7:et=ne.ops.pop(),ne.trys.pop();continue;default:if(ye=ne.trys,!(ye=ye.length>0&&ye[ye.length-1])&&(et[0]===6||et[0]===2)){ne=0;continue}if(et[0]===3&&(!ye||et[1]>ye[0]&&et[1]<ye[3])){ne.label=et[1];break}if(et[0]===6&&ne.label<ye[1]){ne.label=ye[1],ye=et;break}if(ye&&ne.label<ye[2]){ne.label=ye[2],ne.ops.push(et);break}ye[2]&&ne.ops.pop(),ne.trys.pop();continue}et=b.call(I,ne)}catch(Ce){et=[6,Ce],Oe=0}finally{re=ye=0}if(et[0]&5)throw et[1];return{value:et[0]?et[1]:void 0,done:!0}}},We=function(){function I(b){this.limit=30,this.totalPages=0,this.currentPage=0,this.inProgress=!1,this.updatedAt=0,this.onlyUpdates=0,this.timestamp=0,this.id=Re.DEFAULT_MSG_ID,this.paginationMeta={},this.limit=b.limit,this.callType=b.callType,this.callStatus=b.callStatus,this.hasRecording=b.hasRecording,this.callCategory=b.callCategory,this.callDirection=b.callDirection,this.uid=b.uid,this.guid=b.guid,this.authToken=b.authToken}return I.prototype.fetchNext=function(){return this.makeAPICall(!0)},I.prototype.fetchPrevious=function(){return this.makeAPICall()},I.prototype.makeAPICall=function(b){var ne=this;return new Promise(function(re,Oe){return Si(ne,void 0,void 0,function(){var ye,st,tt,Pt,et,Ce;return Ji(this,function(Yt){switch(Yt.label){case 0:if(Yt.trys.push([0,5,,6]),ye=b?this.totalPages!=0&&this.totalPages==this.currentPage:this.currentPage==1,ye)return this.inProgress=!1,re([]),[2];if(this.inProgress)return this.inProgress=!1,Oe(new Wt(jn.REQUEST_IN_PROGRESS_ERROR)),[2];if(this.inProgress=!0,!this.authToken)return this.inProgress=!1,Oe(new Wt({code:jn.NOT_ENOUGH_PARAMS.code,message:"`Auth Token` is required to use the 'fetchNext()' method."})),[2];Yt.label=1;case 1:return Yt.trys.push([1,3,,4]),[4,ge.getCallLogList(this.getParams(b),this.authToken)];case 2:return st=Yt.sent(),!((Ce=st==null?void 0:st.data)===null||Ce===void 0)&&Ce.error?(this.inProgress=!1,Oe(new Wt(st.data.error)),[2]):(tt=this.getCallLogList(JSON.stringify(st.data)),re(tt),this.inProgress=!1,[3,4]);case 3:return Pt=Yt.sent(),this.inProgress=!1,Oe(new Wt(Pt)),[3,4];case 4:return[3,6];case 5:return et=Yt.sent(),this.inProgress=!1,Oe(new Wt({code:"UNKNOWN ERROR",message:"Unknown error"})),[3,6];case 6:return[2]}})})})},I.prototype.getParams=function(b){var ne=new ci;return b?ne.setPage(this.currentPage+1):ne.setPage(this.currentPage-1),ne.setPerPage(this.limit),this.hasRecording&&ne.setHasRecordings(this.hasRecording),this.callStatus&&ne.setStatus(this.callStatus),this.callType&&ne.setType(this.callType),this.callCategory&&ne.setMode(this.callCategory),this.callDirection&&ne.setDirection(this.callDirection),this.uid&&ne.setUid(this.uid),this.guid&&ne.setGuid(this.guid),ne},I.prototype.getCallLogList=function(b){var ne=[],re=JSON.parse(b),Oe=re.meta;if(Oe.pagination){var ye=Oe.pagination;ye.total_pages&&(this.totalPages=ye.total_pages,this.currentPage=ye.current_page)}for(var st=re.data,tt=0;tt<st.length;tt++){var Pt=st[tt],et=Yn.callLogFromJson(Pt);ne.push(et)}return ne},I}(),ct=function(){function I(){this.limit=30}return I.prototype.setLimit=function(b){return this.limit=b,this},I.prototype.setCallType=function(b){return this.callType=b,this},I.prototype.setCallStatus=function(b){return this.callStatus=b,this},I.prototype.setHasRecording=function(b){return this.hasRecording=b,this},I.prototype.setCallCategory=function(b){return this.callCategory=b,this},I.prototype.setCallDirection=function(b){return this.callDirection=b,this},I.prototype.setUid=function(b){return this.uid=b,this},I.prototype.setGuid=function(b){return this.guid=b,this},I.prototype.setAuthToken=function(b){return this.authToken=b,this},I.prototype.build=function(){return new We(this)},I}(),Ct=function(I,b,ne,re){function Oe(ye){return ye instanceof ne?ye:new ne(function(st){st(ye)})}return new(ne||(ne=Promise))(function(ye,st){function tt(Ce){try{et(re.next(Ce))}catch(Yt){st(Yt)}}function Pt(Ce){try{et(re.throw(Ce))}catch(Yt){st(Yt)}}function et(Ce){Ce.done?ye(Ce.value):Oe(Ce.value).then(tt,Pt)}et((re=re.apply(I,b||[])).next())})},Mt=function(I,b){var ne={label:0,sent:function(){if(ye[0]&1)throw ye[1];return ye[1]},trys:[],ops:[]},re,Oe,ye,st;return st={next:tt(0),throw:tt(1),return:tt(2)},typeof Symbol=="function"&&(st[Symbol.iterator]=function(){return this}),st;function tt(et){return function(Ce){return Pt([et,Ce])}}function Pt(et){if(re)throw new TypeError("Generator is already executing.");for(;st&&(st=0,et[0]&&(ne=0)),ne;)try{if(re=1,Oe&&(ye=et[0]&2?Oe.return:et[0]?Oe.throw||((ye=Oe.return)&&ye.call(Oe),0):Oe.next)&&!(ye=ye.call(Oe,et[1])).done)return ye;switch(Oe=0,ye&&(et=[et[0]&2,ye.value]),et[0]){case 0:case 1:ye=et;break;case 4:return ne.label++,{value:et[1],done:!1};case 5:ne.label++,Oe=et[1],et=[0];continue;case 7:et=ne.ops.pop(),ne.trys.pop();continue;default:if(ye=ne.trys,!(ye=ye.length>0&&ye[ye.length-1])&&(et[0]===6||et[0]===2)){ne=0;continue}if(et[0]===3&&(!ye||et[1]>ye[0]&&et[1]<ye[3])){ne.label=et[1];break}if(et[0]===6&&ne.label<ye[1]){ne.label=ye[1],ye=et;break}if(ye&&ne.label<ye[2]){ne.label=ye[2],ne.ops.push(et);break}ye[2]&&ne.ops.pop(),ne.trys.pop();continue}et=b.call(I,ne)}catch(Ce){et=[6,Ce],Oe=0}finally{re=ye=0}if(et[0]&5)throw et[1];return{value:et[0]?et[1]:void 0,done:!0}}},vn=function(){function I(){}return I.generateToken=function(b,ne){var re,Oe,ye,st,tt;return Ct(this,void 0,void 0,function(){var Pt;return Mt(this,function(et){switch(et.label){case 0:return[4,q(this.appSettings)];case 1:if(et.sent(),!ne||!b)throw new Wt({code:Ie.INVALID_ARGUMENT_EXCEPTION.code,message:"Authtoken and session is required."});return[4,ge.generateToken(ne,b,this.appSettings)];case 2:if(Pt=et.sent(),!(!((re=Pt==null?void 0:Pt.data)===null||re===void 0)&&re.data))throw!((ye=(Oe=Pt==null?void 0:Pt.data)===null||Oe===void 0?void 0:Oe.error)===null||ye===void 0)&&ye.message?new Wt({code:Ie.API_ERROR.code,message:(tt=(st=Pt==null?void 0:Pt.data)===null||st===void 0?void 0:st.error)===null||tt===void 0?void 0:tt.message}):new Wt({code:Ie.UNKNOWN_API_ERROR.code,message:Ie.UNKNOWN_API_ERROR.message});return[2,Pt.data.data]}})})},I.init=function(b){return Ct(this,void 0,void 0,function(){return Mt(this,function(ne){switch(ne.label){case 0:return[4,q(b)];case 1:return ne.sent(),this.appSettings=b,ge.setAppSettings(b),[2]}})})},I.endSession=function(){var b;try{(b=Dt==null?void 0:Dt.ref)===null||b===void 0||b.endCall()}catch(ne){y.log("CometChatCalls :: endCall",ne),m(ne)}},I.muteAudio=function(b){var ne,re;try{b?(ne=Dt==null?void 0:Dt.ref)===null||ne===void 0||ne.muteAudio():(re=Dt==null?void 0:Dt.ref)===null||re===void 0||re.unMuteAudio()}catch(Oe){y.log("CometChatCalls :: muteAudio",Oe),m(Oe)}},I.pauseVideo=function(b){var ne,re;try{b?(ne=Dt==null?void 0:Dt.ref)===null||ne===void 0||ne.pauseVideo():(re=Dt==null?void 0:Dt.ref)===null||re===void 0||re.unPauseVideo()}catch(Oe){y.log("CometChatCalls :: pauseVideo",Oe),m(Oe)}},I.resumeVideo=function(){var b;try{(b=Dt==null?void 0:Dt.ref)===null||b===void 0||b.unPauseVideo()}catch(ne){y.log("CometChatCalls :: resumeVideo",ne),m(ne)}},I.setAudioMode=function(b){var ne;try{b&&((ne=Dt==null?void 0:Dt.ref)===null||ne===void 0||ne.setAudioMode(b))}catch(re){y.log("CometChatCalls :: setAudioMode",re),m(re)}},I.switchCamera=function(){var b,ne;try{(ne=(b=Dt==null?void 0:Dt.ref)===null||b===void 0?void 0:b.switchCamera)===null||ne===void 0||ne.call(b)}catch(re){y.log("CometChatCalls :: switchCamera",re),m(re)}},I.getAudioOutputModes=function(){try{return new Promise(function(b,ne){var re;(re=Dt==null?void 0:Dt.ref)===null||re===void 0||re.getAudioModes().then(function(Oe){b(Oe)},function(Oe){ne(Oe)})})}catch(b){y.log("CometChatCalls :: getAudioOutputModes",b),m(b)}},I.switchToVideoCall=function(){var b;try{(b=Dt==null?void 0:Dt.ref)===null||b===void 0||b.switchToVideoCall()}catch(ne){y.log("CometChatCalls :: switchToVideoCall",ne),m(ne)}},I.startRecording=function(){var b;try{(b=Dt==null?void 0:Dt.ref)===null||b===void 0||b.startRecording()}catch(ne){y.log("CometChatCalls :: startRecording",ne),m(ne)}},I.stopRecording=function(){var b;try{(b=Dt==null?void 0:Dt.ref)===null||b===void 0||b.stopRecording()}catch(ne){y.log("CometChatCalls :: stopRecording",ne),m(ne)}},I.getAppSettings=function(){return this.appSettings},I.getCallDetails=function(b,ne){var re=this;return new Promise(function(Oe,ye){return Ct(re,void 0,void 0,function(){var st,tt,Pt,et,Ce;return Mt(this,function(Yt){switch(Yt.label){case 0:if(Yt.trys.push([0,5,,6]),this.inProgress)return ye(new Wt(jn.REQUEST_IN_PROGRESS_ERROR)),this.inProgress=!1,[2];if(this.inProgress=!0,!ne)return this.inProgress=!1,ye(new Wt({code:jn.NOT_ENOUGH_PARAMS.code,message:"`Auth Token` is required to use the 'fetchNext()' method."})),[2];if(!b)return this.inProgress=!1,ye(new Wt({code:jn.NOT_ENOUGH_PARAMS.code,message:"`Session ID` is required to use the 'fetchNext()' method."})),[2];Yt.label=1;case 1:return Yt.trys.push([1,3,,4]),[4,ge.getCallDetails(b,ne)];case 2:return st=Yt.sent(),!((Ce=st==null?void 0:st.data)===null||Ce===void 0)&&Ce.error?(this.inProgress=!1,ye(new Wt(st.data.error)),[2]):(tt=Yn.callLogFromJson(st.data.data),Oe(tt),this.inProgress=!1,[3,4]);case 3:return Pt=Yt.sent(),this.inProgress=!1,ye(new Wt(Pt)),[3,4];case 4:return[3,6];case 5:return et=Yt.sent(),this.inProgress=!1,ye(new Wt({code:"UNKNOWN ERROR",message:"Unknown error"})),[3,6];case 6:return[2]}})})})},I.inProgress=!1,I.CALL_MODE=he.CALL_MODE,I.AUDIO_MODE=he.AUDIO_MODE,I.addCallEventListener=g.addCallEventListener,I.removeCallEventListener=g.removeCallEventListener,I.OngoingCallListener=v,I.CallSettingsBuilder=Ae,I.CallSettings=Me,I.PresenterSettingsBuilder=je,I.PresenterSettings=Pe,I.CallAppSettingsBuilder=Zt,I.CallAppSettings=_t,I.Component=Dt,I.PresenterComponent=li,I.CallLogRequestBuilder=ct,I.CallLog=Yn,I.CallUser=ri,I.CallGroup=ai,I.Participant=Li,I.Recording=ti,I}();const on=E})(),__webpack_exports__})());
128
+ </html>`,"text/xml");return Object.defineProperty(ue,"body",{get:()=>ue.getElementsByTagName("body")[0]}),ue});const W=Object.getPrototypeOf(J.documentElement);W&&(W.querySelector===void 0&&(W.querySelector=function(de){return Is(this,de)}),W.remove===void 0&&(W.remove=function(){this.parentNode!==null&&this.parentNode.removeChild(this)}),W.hasOwnProperty("innerHTML")||Object.defineProperty(W,"innerHTML",{get(){return this.childNodes.toString()},set(de){this.textContent="";const ue=new ar.DOMParser().parseFromString(`<div>${de}</div>`,"text/xml").documentElement;let ke;for(;ke=ue.firstChild;)this.appendChild(ke)}}),W.hasOwnProperty("children")||Object.defineProperty(W,"children",{get(){const de=this.childNodes,ue=[];let ke=0,rt=de[ke];for(;rt;)rt.nodeType===1&&ue.push(rt),ke+=1,rt=de[ke];return ue}})),V.document=J}V.location===void 0&&(V.location={href:"",search:""});const{navigator:ee}=V;if(ee){let J=ee.userAgent||"";const{name:W,version:de}=__nested_webpack_require_964150__(2834);let ue=W||"react-native";de&&(ue+=`/${de}`),J.indexOf(ue)===-1&&(J=J?`${ue} ${J}`:ue);const ke=`(${o.Platform.OS} ${o.Platform.Version})`;J.indexOf(ke)===-1&&(J=J?`${J} ${ke}`:ke),ee.userAgent=J}__nested_webpack_require_964150__(2808);const b=V.performance.now,B=__nested_webpack_require_964150__(5280);if(V.performance=B.default,V.performance.now=b,V.PerformanceObserver=B.PerformanceObserver,__nested_webpack_require_964150__(3394),V.callstats=__nested_webpack_require_964150__(3650),V.XMLHttpRequest){const{prototype:J}=V.XMLHttpRequest;J&&!J.hasOwnProperty("responseXML")&&Object.defineProperty(J,"responseXML",{get(){const{responseText:W}=this;return W&&new ar.DOMParser().parseFromString(W,"text/xml")}})}o.Platform.OS==="android"&&(V.clearTimeout=Yi().clearTimeout.bind(Yi()),V.clearInterval=Yi().clearInterval.bind(Yi()),V.setInterval=Yi().setInterval.bind(Yi()),V.setTimeout=(J,W=0)=>Yi().setTimeout(J,W)),V.localStorage===void 0&&(V.localStorage=new Hr("@jitsi-meet/")),V.sessionStorage===void 0&&(V.sessionStorage=new Hr)})(__nested_webpack_require_964150__.g||window||void 0);var Ps=__nested_webpack_require_964150__(9291),a=__nested_webpack_require_964150__.n(Ps);const d="JitsiManager";class A extends u().Component{constructor(b){super(b);wt(this,"connection",null);wt(this,"room",null);wt(this,"recordingRetry",0);wt(this,"LastNId",[]);wt(this,"initialize",()=>{try{xe.d(d,"[initialize]");const{setUsers:b,globalRef:B,settings:J,usersRef:W}=this.context,de={};B.current.callEnded=!1,de.uid=J.RTCUser.uid,de.avatar=J.RTCUser.avatar,de.name=J.RTCUser.name,de.isVideoMuted=J.startVideoMuted,de.isAudioMuted=J.startAudioMuted,de.isLocalUser=!0,W.current=[de],b({type:m,payload:[de]},!0),a().init(dt),a().setLogLevel(a().logLevels.ERROR),this.makeConnection(),hn.isPresenter!==!1&&this.createLocalTracks()}catch(b){xe.e(d,"[initialize]",b)}});wt(this,"createLocalTracks",()=>{try{xe.d(d,"[createLocalTracks]");const{settings:b}=this.context;this.createAudioTrack(),b.isAudioOnly||this.createVideoTrack()}catch(b){xe.e(d,"[createLocalTracks]",b)}});wt(this,"createAudioTrack",()=>mi(this,null,function*(){if(hn.isPresenter!==!1)try{xe.d(d,"[createAudioTrack]");const b=yield a().createLocalTracks({devices:["audio"]});this.onLocalTrack(b[0])}catch(b){xe.e(d,"[createAudioTrack]",b)}}));wt(this,"createVideoTrack",()=>mi(this,null,function*(){if(hn.isPresenter!==!1)try{xe.d(d,"[createVideoTrack]");const b=yield a().createLocalTracks({devices:["video"]});this.onLocalTrack(b[0])}catch(b){xe.e(d,"[createVideoTrack]",b)}}));wt(this,"onLocalTrack",b=>{try{xe.d(d,"[onLocalTrack]",b);const{setUsers:B,globalState:J,usersRef:W}=this.context,de=W.current;b.type=="video"?(de[0].isVideoMuted===!0?b.mute():de[0].isVideoMuted=!1,de[0].videoTrack=b):b.type=="audio"&&(de[0].isAudioMuted===!0?b.mute():de[0].isAudioMuted=!1,de[0].audioTrack=b),W.current=[...de],B({type:m,payload:de},!0),J.conferenceJoined&&this.addTrackToRoom(b)}catch(B){xe.e(d,"[onLocalTrack]",B)}});wt(this,"onConnectionSuccess",()=>mi(this,null,function*(){var b,B,J,W;try{xe.d(d,"[onConnectionSuccess] ");const{settings:de,setUsers:ue,dispatch:ke,setRoom:rt,globalRef:ut,usersRef:Rt,nativeManager:ht}=this.context,yt=Rt.current;xe.d(d,"[onConnectionSuccess] settings",de);const Ut=yield this.connection.initJitsiConference(de==null?void 0:de.sessionId,$e);Ut.setSenderVideoConstraint(720),this.room=Ut,rt(Ut),this.addJitsiEventListener(),this.addCommandListener();const Nt=this.room.myUserId()||"";yt[0].id=Nt,yt[0].jwt=(b=de.RTCUser)==null?void 0:b.jwt,yt[0].resource=(B=de.RTCUser)==null?void 0:B.resource,hn.isPresenter===!1?yt[0].isPresenter=!1:hn.isPresenter===!0&&(yt[0].isPresenter=!0),yt[0].videoTrack&&this.room.addTrack(yt[0].videoTrack),Rt.current=[...yt],ue({type:m,payload:yt},!0),ut.current.dominantSpeakerId=this.room.lastDominantSpeaker,ke({type:j,payload:this.room.lastDominantSpeaker}),this.room.setDisplayName(yt[0].name);const ot={start_recording_on_call_start:de.startRecordingOnCallStart,is_video_muted:de.startVideoMuted,is_audio_muted:de.startAudioMuted,session_id:de.sessionId,is_audio_only:de.isAudioOnly,mode:de.mode,call_version:__nested_webpack_require_964150__(4147).i8,uid:yt[0].uid,platform:o.Platform.OS,sdk:(J=de.sdk)!=null?J:"react-native",app_id:de.appId,meeting_id:Ut.xmpp.getJid()};Ut.sendCommand("initial_config",{attributes:ot});const pn={uid:yt[0].uid,avatar:yt[0].avatar,name:yt[0].name,joinedAt:Date.now(),isPresenter:void 0};hn.isPresenter===!1?pn.isPresenter=!1:hn.isPresenter===!0&&(pn.isPresenter=!0),this.room.sendCommand(ae,{attributes:pn}),(W=ht.current)==null||W.onUserJoined(yt[0])}catch(de){xe.e(d,"[onConnectionSuccess] error",de)}}));wt(this,"endSessionForAll",()=>{const{users:b}=this.context;this.room.sendCommand(R,{value:b[0].id})});wt(this,"onConferenceFailed",b=>{const{dispatch:B}=this.context;B({type:_,payload:null}),this.onConnectionFailed(b)});wt(this,"onConnectionFailed",b=>mi(this,null,function*(){try{xe.d(d,"[onConectionFailed] ",b);const{dispatch:B}=this.context;yield this.unload(),B({type:p,payload:{error:!0,type:"jwt"}})}catch(B){}}));wt(this,"addJitsiEventListener",()=>{try{xe.d(d,"[addJitsiEventListener]",this.room.on),this.room.on(a().events.conference.CONFERENCE_JOINED,this.onConferenceJoined),this.room.on(a().events.conference.CONFERENCE_FAILED,this.onConferenceFailed),this.room.on(a().events.conference.TRACK_ADDED,this.onRemoteTrack),this.room.on(a().events.conference.TRACK_REMOVED,this.onRemoteTrackRemoved),this.room.on(a().events.conference.USER_JOINED,this.onUserJoined),this.room.on(a().events.conference.USER_LEFT,this.onUserLeft),this.room.on(a().events.conference.TRACK_MUTE_CHANGED,this.onTrackMuted),this.room.on(a().events.conference.DOMINANT_SPEAKER_CHANGED,this.onDominantSpeakerChanged),this.room.on(a().events.connectionQuality.LOCAL_STATS_UPDATED,this.onLocalStatsUpdated),this.room.on(a().events.connectionQuality.REMOTE_STATS_UPDATED,this.onRemoteStatsUpdated),this.room.on(a().events.conference.PARTICIPANT_CONN_STATUS_CHANGED,this.onParticipantConnStatusChanged),this.room.on(a().events.conference.LAST_N_ENDPOINTS_CHANGED,this.debounce(this.onLastNChanged,1e3)),this.room.on(a().events.conference.SUBJECT_CHANGED,this.onSubjectChanged),this.room.join()}catch(b){xe.e(d,"[addJitsiEventListener]",b)}});wt(this,"addCommandListener",()=>{try{this.room.addCommandListener(f,this.onScreenShareStarted),this.room.addCommandListener(D,this.onScreenShareStopped),this.room.addCommandListener(ve,this.onScreenRecordingStarted),this.room.addCommandListener(he,this.onTryingToStartRecording),this.room.addCommandListener(pe,this.onTryingToStopRecording),this.room.addCommandListener(Se,this.onScreenRecordingStopped),this.room.addCommandListener(De,this.onParticipantMuted),this.room.addCommandListener(ae,this.onUserObjectReceived),this.room.addCommandListener(z,this.onSwitchToVideoCallResponseReceived),this.room.addCommandListener(H,this.onSwitchToVideoRequest)}catch(b){xe.e(d,"[addCommandListener]",b)}});wt(this,"muteParticipant",b=>{if(!b)return alert("select usr"),!1;try{const{users:B}=this.context;this.room.muteParticipant(b.id),this.room.sendCommandOnce(De,{attributes:{mutedParticipantId:b.id,participantMutedBy:B[0].id}})}catch(B){xe.e(d,"[muteParticipant]",B)}});wt(this,"addTrackToRoom",b=>{try{xe.d(d,"[addTrackToRoom]");const{globalState:B}=this.context;this.room&&B.conferenceJoined&&this.room.addTrack(b)}catch(B){xe.e(d,"[addTrackToRoom]",B)}});wt(this,"removeTrackFromRoom",b=>{this.room.remove(b)});wt(this,"onConferenceJoined",()=>{try{xe.d(d,"[onConferenceJoined]");const{dispatch:b,users:B,settings:J,globalState:W}=this.context;b({type:g,payload:null}),hn.isPresenter!==!1&&(B[0].audioTrack&&this.addTrackToRoom(B[0].audioTrack),B[0].videoTrack&&this.addTrackToRoom(B[0].videoTrack),J.startRecordingOnCallStart&&(W.isRecording&&W.tryingToStartRecording||this.startRecording()))}catch(b){xe.e(d,"[onConferenceJoined]",b)}});wt(this,"onUserJoined",(b,B)=>{var J;try{const W={};if(xe.d(d,"[onUserJoined]",B),W.name=B.getDisplayName()||"Unnamed",W.name==="Unnamed"&&B._statsID.includes("jibri"))return!1;const{dispatch:de,setUsers:ue,globalState:ke,usersRef:rt}=this.context,ut=rt.current;W.id=B.getId(),rt.current=[...ut,W],ue({type:m,payload:[...ut,W]}),(J=W==null?void 0:W.name)!=null&&J.includes("(Screen)")&&de({type:be,payload:ke.noOfScreenShareUser+1})}catch(W){xe.e(d,"[onUserJoined]",W)}});wt(this,"onUserLeft",(b,B)=>{var J,W,de;try{const{setUsers:ue,dispatch:ke,globalState:rt,nativeManager:ut,usersRef:Rt}=this.context,ht=Rt.current;if(xe.d(d,"[onUserLeft] id="+b,"user"),(B.getDisplayName()==="Unnamed"||!B.getDisplayName())&&B._statsID&&B._statsID.includes("jibri"))return!1;let yt=null;ht.map(Nt=>{var ot;(yt==null||yt.joinedAt>Nt.joinedAt)&&B._id!==Nt.id&&Nt.status==="active"&&(yt=Nt),B._id===Nt.id&&(rt.tryingToStartRecording&&this.room.sendCommandOnce(pe,{}),B.getDisplayName().includes("(Screen)")||((ot=ut.current)==null||ot.onUserLeft(Nt)))});const Ut=ht.filter(Nt=>B._id!==Nt.id);(J=ut.current)==null||J.onUserListChanged(Ut),((W=rt.recorder)==null?void 0:W.id)===B._id&&ke({type:Re,payload:yt}),B.getDisplayName().includes("(Screen)")&&ke({type:be,payload:rt.noOfScreenShareUser-1}),Ut.length<=1&&((de=ut.current)==null||de.onEndCall()),Rt.current=[...Ut],ue({type:m,payload:Ut})}catch(ue){xe.e(d,"[onUserLeft] ",ue)}});wt(this,"onRemoteTrack",b=>{try{if(xe.d(d,"[onRemoteTrack]","track"),b.isLocal())return;const B=b.ownerEndpointId,{dispatch:J,setUsers:W,globalRef:de,usersRef:ue}=this.context,ke=ue.current;b&&b.videoType==="desktop"?(xe.d(d,"[onRemoteTrack] [is screenShare Track]"),J({type:O,payload:B})):this.room.lastDominantSpeaker===B&&(xe.d(d,"[onRemoteTrack] [is dominant Track]"),de.current.dominantSpeakerId=B,J({type:w,payload:B}));for(let rt=1;rt<ke.length;rt++)if(ke[rt].id==B){b.type==="video"?(ke[rt].videoTrack=b,ke[rt].isVideoMuted=b.isMuted()):(ke[rt].audioTrack=b,ke[rt].isAudioMuted=b.isMuted());break}ue.current=[...ke],W({type:m,payload:ke})}catch(B){xe.e(d,"[onRemoteTrack]",B)}});wt(this,"onRemoteTrackRemoved",b=>{try{xe.d(d,"[onRemoteTrackRemoved]","track");const{setUsers:B,usersRef:J}=this.context,W=J.current;for(let de=0;de<W.length;de++)if(W[de].id===b.ownerEndpointId){W[de].videoTrack=void 0,W[de].isVideoMuted=!0;break}J.current=[...W],B({type:m,payload:W})}catch(B){xe.e(d,"[onRemoteTrackRemoved]",B)}});wt(this,"onTrackMuted",b=>{try{xe.d(d,"[onTrackMuted]");const{setUsers:B,usersRef:J}=this.context,W=J.current;let de=b.ownerEndpointId;b.isLocal()&&(de=W[0].id);for(let ue=0;ue<W.length;ue++)if(W[ue].id===de){b.getType()==="video"?(W[ue].videoTrack=b,W[ue].isVideoMuted=b.isMuted()):(W[ue].audioTrack=b,W[ue].isAudioMuted=b.isMuted());break}J.current=[...W],B({type:m,payload:W},b.isLocal())}catch(B){xe.e(d,"[onTrackMuted]",B)}});wt(this,"setConstraints",b=>{const{settings:B}=this.context;if(xe.d(d,"[setConstraints]",b),b){const J={};J[b]={maxHeight:480},this.room.setReceiverConstraints({lastN:B.mode===U?1:3,onStageEndpoints:[b],defaultConstraints:{maxHeight:B.mode===U?0:180},constraints:J})}});wt(this,"onDominantSpeakerChanged",b=>{try{xe.d(d,"[onDominantSpeakerChanged]",b);const{users:B,dispatch:J,globalRef:W}=this.context;for(let de=0;de<B.length;de++)if(B[de].id===b){W.current.dominantSpeakerId=b,J({type:w,payload:b});break}}catch(B){xe.e(d,"[onDominantSpeakerChanged]",B)}});wt(this,"onRemoteStatsUpdated",(b,B)=>{try{xe.d(d,"[onRemoteStatsUpdated]",b),B.connectionQuality&&(__nested_webpack_require_964150__.g.ccUsersStats[b]=B.connectionQuality)}catch(J){xe.e(d,"[onRemoteStatsUpdated]",J)}});wt(this,"onLocalStatsUpdated",b=>{try{xe.d(d,"[onLocalStatsUpdated]",b);const{users:B}=this.context;b.connectionQuality&&(__nested_webpack_require_964150__.g.ccUsersStats[B[0].id]=b.connectionQuality)}catch(B){xe.e(d,"[onLocalStatsUpdated]",B)}});wt(this,"onParticipantConnStatusChanged",(b,B)=>{try{xe.d(d,"[onParticipantConnStatusChanged] id= "+b+"status= ",B);const{setUsers:J,usersRef:W}=this.context,de=W.current;for(let ue=0;ue<de.length;ue++)if(de[ue].id===b){de[ue].status=B;break}W.current=[...de],J({type:m,payload:de})}catch(J){xe.e(d,"[onParticipantConnStatusChanged]",J)}});wt(this,"startLastNLoop",()=>{this.LastNLoopStarted=!0});wt(this,"debounce",(b,B)=>{let J;return function(){const W=this,de=arguments;clearTimeout(J),J=setTimeout(()=>b.apply(W,de),B)}});wt(this,"sortArrayWithOtherArray",(b,B)=>{var ke,rt;const{globalRef:J}=this.context,W=[],de=[],ue=[];for(let ut=1;ut<b.length;ut++)((ke=b[ut])==null?void 0:ke.id)===((rt=J.current)==null?void 0:rt.dominantSpeakerId)?ue.push(b[ut]):B.includes(b[ut].id)?W.push(b[ut]):de.push(b[ut]);return[b[0],...W.sort((ut,Rt)=>{const ht=B.indexOf(ut.id),yt=B.indexOf(Rt.id);return(ht>-1?ht:1/0)-(yt>-1?yt:1/0)}),...de,...ue]});wt(this,"onLastNChanged",(b,B)=>{try{const{setUsers:J,usersRef:W}=this.context,de=W.current;let ue=[],ke=[];if(this.LastNLoopStarted||this.startLastNLoop(),ue=Array.from(new Set([...B,...this.LastNId])),b==null?void 0:b.length)for(let rt=0;rt<ue.length;rt++)b.includes(ue[rt])||ke.push(ue[rt]);else ke=ue;this.LastNId=ke,W.current=[...this.sortArrayWithOtherArray(de,ke)],J({type:m,payload:this.sortArrayWithOtherArray(de,ke)}),xe.d(d,"[onLastNChanged]")}catch(J){xe.e(d,"[onLastNChanged]",J)}});wt(this,"onSubjectChanged",b=>{try{xe.d(d,"[onSubjectChanged]","data");const{globalState:B,dispatch:J}=this.context;if(b){const W=JSON.parse(b);if(W!=null&&W.converted&&!B.switchedToVideoCall){const de=W==null?void 0:W.converted;J({type:it,payload:{switchToVideoCallRequestInitiator:de.initiator,switchToVideoCallRequestResponder:de.responder}})}}}catch(B){xe.e(d,"[onSubjectChanged]",B)}});wt(this,"onScreenShareStarted",({value:b})=>{try{xe.d(d,"[onScreenShareStarted]","value");const{dispatch:B}=this.context;B({type:O,payload:b})}catch(B){xe.e(d,"[onScreenShareStarted]",B)}});wt(this,"onScreenShareStopped",({value:b})=>{try{xe.d(d,"[onScreenShareStopped]","value");const{globalState:B,dispatch:J}=this.context;B.pinnedUserId===b&&J({type:O,payload:""})}catch(B){xe.e(d,"[onScreenShareStarted]",B)}});wt(this,"onScreenRecordingStarted",({attributes:b})=>{var B;try{xe.d(d,"[onScreenRecordingStarted]",b);const{dispatch:J,nativeManager:W}=this.context;J({type:x,payload:b}),(B=W.current)==null||B.onRecordingToggled({recordingStarted:!0,user:C(b)})}catch(J){xe.e(d,"[onScreenRecordingStarted]",J)}});wt(this,"onTryingToStartRecording",({attributes:b})=>{try{xe.d(d,"[onTryingToStartRecording]",b);const{dispatch:B}=this.context;B({type:F,payload:b})}catch(B){xe.e(d,"[onTryingToStartRecording]",B)}});wt(this,"onTryingToStopRecording",({attributes:b})=>{try{xe.d(d,"[onTryingToStopRecording]",b);const{dispatch:B}=this.context;B({type:G,payload:null})}catch(B){xe.e(d,"[onTryingToStopRecording]",B)}});wt(this,"onScreenRecordingStopped",({attributes:b})=>{var B;try{xe.d(d,"[onScreenRecordingStopped]",b);const{dispatch:J,nativeManager:W}=this.context;J({type:P,payload:null}),(B=W.current)==null||B.onRecordingToggled({recordingStarted:!1,user:C(b)})}catch(J){xe.e(d,"[onScreenRecordingStopped]",J)}});wt(this,"onParticipantMuted",({attributes:b})=>{var B;try{xe.d(d,"[onParticipantMuted]","attributes");const{users:J,nativeManager:W}=this.context;let de=null,ue=null;for(let ke=0;ke<J.length;ke++)J[ke].id===b.mutedParticipantId?ue=C(J[ke]):J[ke].id===b.participantMutedBy&&(de=C(J[ke])),b.mutedParticipantId==J[0].id&&this.muteAudio(),ue&&de&&((B=W==null?void 0:W.current)==null||B.onUserMuted({muted:C(ue),mutedBy:C(de)}))}catch(J){xe.e(d,"[onParticipantMuted]",J)}});wt(this,"onUserObjectReceived",(b,B)=>{var ke,rt;xe.d(d,"[onUserObjectReceived]"+B,"data");const{setUsers:J,nativeManager:W,usersRef:de}=this.context,ue=de.current;for(let ut=0;ut<ue.length;ut++)if(ue[ut].id==B&&!ue[ut].uid){ue[ut].uid=b.attributes.uid,ue[ut].avatar=b.attributes.avatar,ue[ut].uid=b.attributes.uid,ue[ut].joinedAt=b.attributes.joinedAt,b.attributes.isPresenter==="false"?ue[ut].isPresenter=!1:b.attributes.isPresenter==="true"&&(ue[ut].isPresenter=!0),(ke=W.current)==null||ke.onUserJoined(ue[ut]);break}de.current=[...ue],J({type:m,payload:ue}),(rt=W.current)==null||rt.onUserListChanged(ue)});wt(this,"unload",()=>{var de,ue;const{globalRef:b,users:B}=this.context;b.current.callEnded=!0;const J=B[0],W=[];if(J&&J.audioTrack)try{W.push((de=J==null?void 0:J.audioTrack)==null?void 0:de.dispose())}catch(ke){xe.e(d,"unload audio catch",ke)}if(J&&J.videoTrack)try{W.push((ue=J==null?void 0:J.videoTrack)==null?void 0:ue.dispose())}catch(ke){xe.e(d,"unload videoTrack catch",ke)}return Promise.all(W)});wt(this,"leave",()=>mi(this,null,function*(){var b;try{if(this.alreadyLeft)return;this.alreadyLeft=!0,this.localUserEndsCall||(this.localUserEndsCall=!0);const{nativeManager:B}=this.context;yield this.unload(),xe.d(d,"[leave]"),(b=this.room)==null||b.leave().then(()=>{var J,W,de;(J=this.connection)==null||J.disconnect(),(W=B.current)!=null&&W.removeListener&&((de=B.current)==null||de.removeListener())}).catch()}catch(B){xe.e(d,"[leave]",B)}}));wt(this,"requestingToSwitchToVideoCall",()=>{var b;try{if(hn.isPresenter===!1)return;xe.d(d,"[requestingToSwitchToVideoCall");const{users:B,dispatch:J}=this.context;(b=this.room)==null||b.sendCommandOnce(H,{attributes:{initiator:JSON.stringify(dn(Ft({},B[0]),{audioTrack:null,videoTrack:null}))}}),J({type:Y,payload:B[0]})}catch(B){xe.e(d,"[requestingToSwitchToVideoCall",B)}});wt(this,"onSwitchToVideoRequest",(b,B)=>{var J;try{xe.d(d,"[onSwitchToVideoRequest]",B);const{users:W,globalState:de,dispatch:ue}=this.context,ke=((J=b==null?void 0:b.attributes)==null?void 0:J.initiator)&&JSON.parse(b.attributes.initiator);B===W[0].id||de.switchedToVideoCall||ue({type:me,payload:ke})}catch(W){xe.e(d,"[onSwitchToVideoRequest",W)}});wt(this,"onSwitchToVideoCallResponse",b=>{var B;try{xe.d(d,"[onSwitchToVideoCallResponse]",b);const{users:J}=this.context;(B=this.room)==null||B.sendCommandOnce(z,{responder:JSON.stringify(C(J[0])),attributes:{response:b}})}catch(J){xe.e(d,"[onSwitchToVideoCallResponse]",J)}});wt(this,"onSwitchToVideoCallResponseReceived",(b,B)=>{try{xe.d(d,"[onSwitchToVideoCallResponseReceived]"+typeof b.attributes.response);const{users:J,globalState:W,dispatch:de,settings:ue,nativeManager:ke}=this.context;if(!W.switchedToVideoCall){const rt=J.find(Rt=>Rt.id===B),ut={initiator:C(W.switchToVideoCallRequestInitiator),responder:C(rt),response:!0};b.attributes.response==="true"?(de({type:ge,payload:rt}),this.switchToVideoCall(),ke.current.onSwitchedToVideoCall({sessionId:ue.sessionId,initiator:C(W.switchToVideoCallRequestInitiator),responder:C(rt)}),this.room.setSubject(JSON.stringify({converted:ut}))):de({type:Be,payload:rt})}}catch(J){xe.e(d,"[onSwitchToVideoCallResponseReceived]",J)}});wt(this,"switchToVideoCall",()=>{try{const{nativeManager:b}=this.context;xe.d(d,"[switchToVideoCall]");const{setSettings:B}=this.context;this.createVideoTrack(),B({type:l,payload:null}),b.current.resetAudioDeviceForVideoCall()}catch(b){xe.e(d,"[switchToVideoCall]",b)}});wt(this,"startRecording",()=>{var b;try{if(hn.isPresenter===!1)return;xe.d(d,"[startRecording]");const{globalState:B,globalRef:J,users:W}=this.context;if((b=J==null?void 0:J.current)!=null&&b.callEnded)return;B.isRecording||this.room.startRecording({mode:"file"}).then(de=>{this.room.sendCommandOnce(ve,{attributes:Ft({recordId:de._sessionID},W[0])})}).catch(de=>{xe.e(d,"[startRecording] error starting to retry count="+this.recordingRetry,de),setTimeout(()=>{this.startRecording()},5e3),this.recordingRetry===0&&this.room.sendCommandOnce(he,{attributes:Ft({},W[0])}),this.recordingRetry++})}catch(B){xe.e(d,"[startRecording]",B)}});wt(this,"stopRecording",()=>{var b,B;try{if(hn.isPresenter===!1)return;xe.d(d,"[stopRecording]");const{globalState:J,users:W}=this.context;J.isRecording&&((b=J.recorder)==null?void 0:b.id)===W[0].id&&(this.room.sendCommandOnce(Se,{attributes:C(W[0])}),this.room.stopRecording(J.recordId)),J.tryingToStartRecording&&((B=J.recorder)==null?void 0:B.id)===W[0].id&&(this.recordingRetry=0,this.room.sendCommandOnce(pe,{}))}catch(J){xe.e(d,"[stopRecording]",J)}});wt(this,"flip",()=>{const{users:b,globalState:B,dispatch:J}=this.context;b[0].videoTrack&&(b[0].videoTrack._switchCamera(),J({type:se,payload:!B.cameraFlipped}))});wt(this,"flipCamera",()=>{try{if(hn.isPresenter===!1)return;xe.d(d,"[flipCamera]"),this.flipCameraTimer&&clearTimeout(this.flipCameraTimer),this.flipCameraTimer=setTimeout(this.flip,300)}catch(b){xe.e(d,"[flipCamera]",b)}});wt(this,"muteAudio",()=>{try{if(hn.isPresenter===!1)return;xe.d(d,"[muteAudio]");const{users:b}=this.context;b[0].audioTrack&&(b[0].audioTrack.isMuted()||b[0].audioTrack.mute())}catch(b){xe.e(d,"[muteAudio]",b)}});wt(this,"unMuteAudio",()=>{try{if(hn.isPresenter===!1)return;xe.d(d,"[unMuteAudio]");const{users:b}=this.context;b[0].audioTrack&&b[0].audioTrack.isMuted()&&b[0].audioTrack.unmute()}catch(b){xe.e(d,"[unMuteAudio]",b)}});wt(this,"toggleAudioButton",()=>{try{if(hn.isPresenter===!1)return;xe.d(d,"[toggleAudioButton]");const{users:b}=this.context;b[0].audioTrack&&(b[0].audioTrack.isMuted()?b[0].audioTrack.unmute():b[0].audioTrack.mute())}catch(b){xe.e(d,"[toggleAudioButton]",b)}});wt(this,"muteVideo",()=>{try{if(hn.isPresenter===!1)return;xe.d(d,"[muteVideo]");const{users:b}=this.context;b[0].videoTrack&&(b[0].videoTrack.isMuted()||b[0].videoTrack.mute())}catch(b){xe.d(d,"[muteVideo]",b)}});wt(this,"unMuteVideo",()=>{try{if(hn.isPresenter===!1)return;xe.d(d,"[unMuteVideo]");const{users:b}=this.context;b[0].videoTrack&&b[0].videoTrack.isMuted()&&b[0].videoTrack.unmute()}catch(b){xe.d(d,"[unMuteVideo]",b)}});wt(this,"toggleVideoButton",()=>{try{if(hn.isPresenter===!1)return;xe.d(d,"[toggleVideoButton]");const{users:b}=this.context;b[0].videoTrack&&(b[0].videoTrack.isMuted()?b[0].videoTrack.unmute():b[0].videoTrack.mute())}catch(b){xe.d(d,"[toggleVideoButton]",b)}});wt(this,"enterPipMode",()=>{try{if(hn.isPresenter===!1)return;xe.d(d,"[enterPipMode]");const{dispatch:b}=this.context;b({type:T,payload:!0})}catch(b){xe.e(d,"[enterPipMode]",b)}});wt(this,"exitPipMode",()=>{try{if(hn.isPresenter===!1)return;xe.d(d,"[exitPipMode]");const{dispatch:b}=this.context;b({type:T,payload:!1})}catch(b){xe.e(d,"[exitPipMode]",b)}});xe.d(d,"[constructor]"),this.connection=null,this.alreadyLeft=!1,this.room=null,this.localUserEndsCall=!1,this.state={LastNId:[]}}componentDidMount(){this.initialize()}makeConnection(){var b,B;try{const{settings:J,setConnection:W}=this.context;xe.d(d,"[makeConnection]");const de=J.domain,ue={hosts:{domain:de,muc:"conference."+de,focus:"focus."+de},serviceUrl:"wss://xmpp."+de+"/xmpp-websocket",bosh:"https://xmpp."+de+"/http-bind"};this.connection=new(a()).JitsiConnection(null,((b=J==null?void 0:J.RTCUser)==null?void 0:b.jwt)||null,ue),W(this.connection),(B=this.connection)==null||B.connect(),this.addConnectionEventListener()}catch(J){xe.e(d,"[makeConnection]",J)}}addConnectionEventListener(){try{xe.d(d,"[addConnectionEventListener]"),this.connection.addEventListener(a().events.connection.CONNECTION_ESTABLISHED,this.onConnectionSuccess),this.connection.addEventListener(a().events.connection.CONNECTION_FAILED,this.onConnectionFailed),this.connection.addEventListener(a().events.connection.CONNECTION_DISCONNECTED,()=>{xe.d(d,"[addConnectionEventListener] [CONNECTION_DISCONNECTED]")}),this.connection.addEventListener(a().events.connection.CONNECTION_DROPPED_ERROR,()=>{xe.d(d,"[addConnectionEventListener] [CONNECTION_DROPPED_ERROR]")})}catch(b){xe.e(d,"[addConnectionEventListener] [error]",b)}}render(){return null}}wt(A,"contextType",Ht);const M=A;(V=>{if(V.$===void 0){const ee=__nested_webpack_require_964150__(6663);ee(V),V.$=ee}})(__nested_webpack_require_964150__.g||window);const K={width:0,height:0},X={width:0,height:0},oe=(0,E.forwardRef)(function(V,ee){var de,ue,ke,rt,ut,Rt,ht,yt,Ut,Nt,ot,pn,St,Tt,sn,$n,gn,wi,Vn,An,Zn,wn,Nn,Ue,Un,pi,Ii,xt,Wn,zn,Tr;hn.isPresenter=V.isPresenter,hn.mode=V.mode;const b={enableVideoTileClick:(de=V.enableVideoTileClick)!=null?de:!0,enableDraggableVideoTile:(ue=V.enableDraggableVideoTile)!=null?ue:!0},B={videoFit:(rt=(ke=V.mainVideoSetting)==null?void 0:ke.videoFit)!=null?rt:"contain",fullScreenButton:{visibility:(ht=(Rt=(ut=V.mainVideoSetting)==null?void 0:ut.fullScreenButton)==null?void 0:Rt.visibility)!=null?ht:!0,position:(Nt=(Ut=(yt=V.mainVideoSetting)==null?void 0:yt.fullScreenButton)==null?void 0:Ut.position)!=null?Nt:"bottom-right"},userListButton:{visibility:(St=(pn=(ot=V.mainVideoSetting)==null?void 0:ot.userListButton)==null?void 0:pn.visibility)!=null?St:!0,position:($n=(sn=(Tt=V.mainVideoSetting)==null?void 0:Tt.userListButton)==null?void 0:sn.position)!=null?$n:"bottom-right"},zoomButton:{visibility:(Vn=(wi=(gn=V.mainVideoSetting)==null?void 0:gn.zoomButton)==null?void 0:wi.visibility)!=null?Vn:!0,position:(wn=(Zn=(An=V.mainVideoSetting)==null?void 0:An.zoomButton)==null?void 0:Zn.position)!=null?wn:"bottom-right"},nameLabel:{visibility:(Un=(Ue=(Nn=V.mainVideoSetting)==null?void 0:Nn.nameLabel)==null?void 0:Ue.visibility)!=null?Un:!0,position:(xt=(Ii=(pi=V.mainVideoSetting)==null?void 0:pi.nameLabel)==null?void 0:Ii.position)!=null?xt:"bottom-left",color:(Tr=(zn=(Wn=V.mainVideoSetting)==null?void 0:Wn.nameLabel)==null?void 0:zn.color)!=null?Tr:_t.blackLightXX}},J=(0,E.useRef)(),W=(0,E.useRef)();return(0,E.useImperativeHandle)(ee,()=>({muteAudio:()=>{var tn;return(tn=J.current)==null?void 0:tn.muteAudio()},unMuteAudio:()=>{var tn;return(tn=J.current)==null?void 0:tn.unMuteAudio()},switchCamera:()=>{var tn;return(tn=J.current)==null?void 0:tn.flipCamera()},pauseVideo:()=>{var tn;return(tn=J.current)==null?void 0:tn.muteVideo()},unPauseVideo:()=>{var tn;return(tn=J.current)==null?void 0:tn.unMuteVideo()},endCall:()=>{var tn;return(tn=J.current)==null?void 0:tn.leave()},switchToVideoCall:()=>{var tn;return(tn=J.current)==null?void 0:tn.requestingToSwitchToVideoCall()},startRecording:()=>{var tn;return(tn=J.current)==null?void 0:tn.startRecording()},stopRecording:()=>{var tn;return(tn=J.current)==null?void 0:tn.stopRecording()},toggleAudioButton:()=>{var tn;return(tn=J.current)==null?void 0:tn.toggleAudioButton()},toggleVideoButton:()=>{var tn;return(tn=J.current)==null?void 0:tn.toggleVideoButton()},enterPipMode:()=>{var tn;return(tn=J.current)==null?void 0:tn.enterPipMode()},exitPipMode:()=>{var tn;return(tn=J.current)==null?void 0:tn.exitPipMode()},setAudioMode:tn=>{var Fn;return(Fn=W.current)==null?void 0:Fn.setAudioMode(tn)},getAudioModes:()=>{var tn;return(tn=W.current)==null?void 0:tn.getAudioModes()}})),(0,E.useEffect)(()=>{xe.d("index.js","[index.js] [useEffect]")},[]),u().createElement(Wt,{reducer:Gt,initialState:dn(Ft(Ft({},V),b),{videoSettings:B})},u().createElement(Ht.Consumer,null,tn=>u().createElement(o.View,{onLayout:Fn=>{X.height===0&&tn.globalState.inPIPMode&&(X.width=Fn.nativeEvent.layout.width,X.height=Fn.nativeEvent.layout.height),K.height!==0||tn.globalState.inPIPMode||(K.width=Fn.nativeEvent.layout.width,K.height=Fn.nativeEvent.layout.height),tn==null||tn.dispatch({type:v,payload:Fn.nativeEvent.layout})},style:[{backgroundColor:_t.palette.red},K.height===0||tn.globalState.inPIPMode?tn.globalState.inPIPMode&&X.height!==0?{width:X.width,height:X.height}:{flex:1}:{width:K.width,height:K.height}]},u().createElement(M,{ref:Fn=>{tn.jitsiManager.current=Fn,J.current=Fn}}),u().createElement(Ur,Ft({ref:Fn=>{tn.nativeManager.current=Fn,W.current=Fn}},tn.settings)),u().createElement(kr,null))))}),we=(0,E.forwardRef)(function(yt,ht){var Ut=yt,{callsettings:V={},onCallEndButtonPressed:ee,onEndCall:b,onUserJoined:B,onUserLeft:J,onUserListChanged:W,onRecordingToggled:de,onUserMuted:ue,onAudioModeChanged:ke,getAudioModesOnSuccess:rt,onCallSwitchedToVideo:ut}=Ut,Rt=ro(Ut,["callsettings","onCallEndButtonPressed","onEndCall","onUserJoined","onUserLeft","onUserListChanged","onRecordingToggled","onUserMuted","onAudioModeChanged","getAudioModesOnSuccess","onCallSwitchedToVideo"]);var Nt;return u().createElement(oe,Ft(dn(Ft({ref:ht},V),{enableVideoTileClick:V.EnableVideoTileClick,sessionId:V.sessionID,RTCUser:V.user,onCallEndButtonPressed:ee,onEndCall:b,onUserJoined:B,onUserLeft:J,onUserListChanged:W,onRecordingToggled:de,onUserMuted:ue,onAudioModeChanged:ke,getAudioModesOnSuccess:rt,onCallSwitchedToVideo:ut,mainVideoSetting:V.MainVideoContainerSetting,enableDefaultLayout:V.defaultLayout,isAudioOnly:V.isAudioOnly,hideAudioMuteButton:!V.ShowMuteAudioButton,hideEndCallButton:!V.ShowEndCallButton,hidePauseVideoButton:!V.ShowPauseVideoButton,hideVideoSwitchButton:!V.ShowSwitchCameraButton,showRecordingButton:V.ShowRecordingButton,startRecordingOnCallStart:V.StartRecordingOnCallStart,hideAudioModeButton:!V.ShowAudioModeButton,REGION:V.region,mode:V.mode,domain:V.domain,defaultAudioMode:V.defaultAudioMode,startAudioMuted:V.StartAudioMuted,startVideoMuted:V.StartVideoMuted,appId:V.appId,analyticsSettings:V.analyticsSettings,showSwitchToVideoCallButton:V.ShowSwitchToVideoCallButton,avatarMode:(Nt=V.AvatarMode)==null?void 0:Nt.toLowerCase()}),Rt))})})(),__webpack_exports__})())},878:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__878__},156:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__156__},925:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__925__},559:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__559__},650:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__650__},394:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__394__},941:E=>{"use strict";E.exports=__WEBPACK_EXTERNAL_MODULE__941__}},__webpack_module_cache__={};function __webpack_require__(E){var u=__webpack_module_cache__[E];if(u!==void 0)return u.exports;var o=__webpack_module_cache__[E]={exports:{}};return __webpack_modules__[E](o,o.exports,__webpack_require__),o.exports}__webpack_require__.n=E=>{var u=E&&E.__esModule?()=>E.default:()=>E;return __webpack_require__.d(u,{a:u}),u},__webpack_require__.d=(E,u)=>{for(var o in u)__webpack_require__.o(u,o)&&!__webpack_require__.o(E,o)&&Object.defineProperty(E,o,{enumerable:!0,get:u[o]})},__webpack_require__.o=(E,u)=>Object.prototype.hasOwnProperty.call(E,u),__webpack_require__.r=E=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(E,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(E,"__esModule",{value:!0})};var __webpack_exports__={};return(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CallGroup:()=>ai,CallLog:()=>Yn,CallLogRequestBuilder:()=>ct,CallUser:()=>ri,CometChatCalls:()=>vn,Participant:()=>Li,Recording:()=>ti,default:()=>on});var E=__webpack_require__(173),u=__webpack_require__.n(E);function o(I){I!=null&&(typeof I=="string"&&(I=I.trim()),typeof I=="object"&&Object.keys(I).length===0&&(I=void 0));var C=["",0,"0",!1,null,"null",void 0,"undefined"];return C.includes(I)}function l(I){try{return JSON.stringify(I),!0}catch(C){return!1}}var y=function(){function I(){}return I.log=function(C,ne){console.log(C,ne)},I.error=function(C,ne){console.log(C,ne)},I.info=function(C,ne){console.info(C,ne)},I}();function m(I){typeof(I==null?void 0:I.toString)=="function"||typeof I=="string"?console.error(I.toString()):l(I)?console.error(I!=null&&I.message?I==null?void 0:I.message:JSON.stringify(I)):console.error(I)}var v=function(){function I(C){o(C.onUserJoined)||(this.onUserJoined=C.onUserJoined),o(C.onUserLeft)||(this.onUserLeft=C.onUserLeft),o(C.onUserListUpdated)||(this.onUserListUpdated=C.onUserListUpdated),o(C.onAudioModesUpdated)||(this.onAudioModesUpdated=C.onAudioModesUpdated),o(C.onCallEnded)||(this.onCallEnded=C.onCallEnded),o(C.onCallEndButtonPressed)||(this.onCallEndButtonPressed=C.onCallEndButtonPressed),o(C.onError)||(this.onError=C.onError),o(C.onRecordingStarted)||(this.onRecordingStarted=C.onRecordingStarted),o(C.onRecordingStopped)||(this.onRecordingStopped=C.onRecordingStopped),o(C.onUserMuted)||(this.onUserMuted=C.onUserMuted),o(C.onCallSwitchedToVideo)||(this.onCallSwitchedToVideo=C.onCallSwitchedToVideo)}return I}(),j=function(){return j=Object.assign||function(I){for(var C,ne=1,re=arguments.length;ne<re;ne++){C=arguments[ne];for(var Oe in C)Object.prototype.hasOwnProperty.call(C,Oe)&&(I[Oe]=C[Oe])}return I},j.apply(this,arguments)},p=function(I,C,ne){if(ne||arguments.length===2)for(var re=0,Oe=C.length,ye;re<Oe;re++)(ye||!(re in C))&&(ye||(ye=Array.prototype.slice.call(C,0,re)),ye[re]=C[re]);return I.concat(ye||Array.prototype.slice.call(C))},g=function(){function I(){}return I.addCallEventListener=function(C,ne){try{I.callHandlers=I==null?void 0:I.callHandlers.filter(function(re){return re._name!=C}),I.callHandlers=p(p([],I.callHandlers,!0),[j({_name:C},new v(ne))],!1)}catch(re){console.error("ListenerHandlers: addCallEventListener",re)}},I.removeCallEventListener=function(C){try{I.callHandlers=I==null?void 0:I.callHandlers.filter(function(ne){return ne._name!==C})}catch(ne){console.error("ListenerHandlers: removeCallEventListener",ne)}},I.callHandlers=[],I}(),_={CALL_TOKENS:"call_tokens",CALL_LIST:"calls"},w="__APP_ID__",O="__REGION__",x="https://".concat(w,".call-").concat(O,".cometchat.io/v3.0/"),F=function(I){return new Promise(function(C){var ne=new Headers;if(ne.append("content-Type","application/json"),ne.append("Accept","application/json"),typeof I.headers=="object")for(var re in I.headers)ne.append(re,I.headers[re]);var Oe={method:"POST",headers:ne,body:JSON.stringify(I.data)};fetch(I.url,Oe).then(function(ye){return ye.json()}).then(function(ye){C({error:null,data:ye})}).catch(function(ye){console.log(ye),C({error:ye,data:null})})})},G=function(I){return new Promise(function(C){var ne=new Headers;if(ne.append("Accept","application/json"),typeof I.headers=="object")for(var re in I.headers)ne.append(re,I.headers[re]);var Oe={method:"GET",headers:ne};fetch(I.url,Oe).then(function(ye){return ye.json()}).then(function(ye){C({error:null,data:ye})}).catch(function(ye){console.log(ye),C({error:ye,data:null})})})};function P(I){var C=[];for(var ne in I)C.push(encodeURIComponent(ne)+"="+encodeURIComponent(I[ne]));return C.join("&")}var Y=function(I,C,ne,re){function Oe(ye){return ye instanceof ne?ye:new ne(function(st){st(ye)})}return new(ne||(ne=Promise))(function(ye,st){function tt(Ce){try{et(re.next(Ce))}catch(Yt){st(Yt)}}function Pt(Ce){try{et(re.throw(Ce))}catch(Yt){st(Yt)}}function et(Ce){Ce.done?ye(Ce.value):Oe(Ce.value).then(tt,Pt)}et((re=re.apply(I,C||[])).next())})},me=function(I,C){var ne={label:0,sent:function(){if(ye[0]&1)throw ye[1];return ye[1]},trys:[],ops:[]},re,Oe,ye,st;return st={next:tt(0),throw:tt(1),return:tt(2)},typeof Symbol=="function"&&(st[Symbol.iterator]=function(){return this}),st;function tt(et){return function(Ce){return Pt([et,Ce])}}function Pt(et){if(re)throw new TypeError("Generator is already executing.");for(;st&&(st=0,et[0]&&(ne=0)),ne;)try{if(re=1,Oe&&(ye=et[0]&2?Oe.return:et[0]?Oe.throw||((ye=Oe.return)&&ye.call(Oe),0):Oe.next)&&!(ye=ye.call(Oe,et[1])).done)return ye;switch(Oe=0,ye&&(et=[et[0]&2,ye.value]),et[0]){case 0:case 1:ye=et;break;case 4:return ne.label++,{value:et[1],done:!1};case 5:ne.label++,Oe=et[1],et=[0];continue;case 7:et=ne.ops.pop(),ne.trys.pop();continue;default:if(ye=ne.trys,!(ye=ye.length>0&&ye[ye.length-1])&&(et[0]===6||et[0]===2)){ne=0;continue}if(et[0]===3&&(!ye||et[1]>ye[0]&&et[1]<ye[3])){ne.label=et[1];break}if(et[0]===6&&ne.label<ye[1]){ne.label=ye[1],ye=et;break}if(ye&&ne.label<ye[2]){ne.label=ye[2],ne.ops.push(et);break}ye[2]&&ne.ops.pop(),ne.trys.pop();continue}et=C.call(I,ne)}catch(Ce){et=[6,Ce],Oe=0}finally{re=ye=0}if(et[0]&5)throw et[1];return{value:et[0]?et[1]:void 0,done:!0}}},ge=function(){function I(){}return I.setAppSettings=function(C){this.appSettings=C},I.generateToken=function(C,ne,re){return Y(this,void 0,void 0,function(){var Oe;return me(this,function(ye){return Oe=x.replace(w,re.getAppId()).replace(O,re.getRegion()),re.getHost()&&(Oe=re.getHost()),[2,F({url:"".concat(Oe).concat(_.CALL_TOKENS),headers:{authToken:C},data:{sessionId:ne}})]})})},I.verifyToken=function(C,ne){return Y(this,void 0,void 0,function(){var re;return me(this,function(Oe){return re=x.replace(w,ne.getAppId()).replace(O,ne.getRegion()),ne.getHost()&&(re=ne.getHost()),[2,G({url:"".concat(re).concat(_.CALL_TOKENS),headers:{callToken:C}})]})})},I.getCallLogList=function(C,ne){return Y(this,void 0,void 0,function(){var re,Oe,ye;return me(this,function(st){return re=x.replace(w,this.appSettings.getAppId()).replace(O,this.appSettings.getRegion()),this.appSettings.getHost()&&(re=this.appSettings.getHost()),Oe=P(C),ye="".concat(re).concat(_.CALL_LIST,"?").concat(Oe),[2,G({url:ye,headers:{authToken:ne}})]})})},I.getCallDetails=function(C,ne){return Y(this,void 0,void 0,function(){var re;return me(this,function(Oe){return re=x.replace(w,this.appSettings.getAppId()).replace(O,this.appSettings.getRegion()),this.appSettings.getHost()&&(re=this.appSettings.getHost()),[2,G({url:"".concat(re).concat(_.CALL_LIST,"/").concat(C),headers:{authToken:ne}})]})})},I}(),Be={DEFAULT_STORE:"cometchat",MSG_VER_PRE:"store-ver-pre",MSG_VER_POST:"store-ver-post"},it={API_ERROR:{code:"API_ERROR"}},be={us:"us",eu:"eu",in:"in"},Re={ZERO:0,MSGS_LIMIT:30,MSGS_MAX_LIMIT:100,USERS_LIMIT:30,USERS_MAX_LIMIT:100,GROUPS_LIMIT:30,GROUPS_MAX_LIMIT:100,CONVERSATION_MAX_LIMIT:50,CALL_TIMEOUT:45,DEFAULT_MSG_ID:0,DEFAULT_MAX_TYPING_INDICATOR_LIMIT:5,REGION_DEFAULT:"eu",REGION_DEFAULT_EU:"eu",REGION_DEFAULT_US:"us",REGION_DEFAULT_IN:"in",REGION_DEFAULT_PRIVATE:"private"},T;(function(I){I.Public="public",I.Private="private",I.Protected="protected",I.Password="password"})(T||(T={}));var at={PUBLIC:"public",PRIVATE:"private",PROTECTED:"password",PASSWORD:"password"},Ee;(function(I){I.Admin="admin",I.Moderator="moderator",I.Member="member"})(Ee||(Ee={}));var Le={ADMIN:"admin",MODERATOR:"moderator",PARTICIPANT:"participant"},Xe={platform:"REACT_NATIVE",sdkVersion:"v3.0.11",apiVersion:"v3.0",sdkVersionWithUnderScore:"3_0_11",userAgent:"cc_react_native_sdk"},se={platform:"react-native",sdkVersion:"3.0.11",sdk:"%s@%s"},Ze={CONVERSATION:{TYPE:{CHAT:"chat",GROUP_CHAT:"groupchat"}}},Fe={analyticsHost:"metrics-%s.cometchat.io",analyticsVersion:"v1"},dt={COMMON_STORE:"common_store",MESSAGE_LISTENERS_LIST:"message_listeners_list",USERS_STORE:"users_store",MESSAGES_STORE:"messages_store",KEYS_STORE:"keys_store",STORE_STRING:"%s:%s",KEY_STRING:"%s/%s",KEY_USER:"user",KEY_APP_SETTINGS:"app_settings",KEY_APP_ID:"appId",KEY_DEVICE_ID:"deviceId",KEY_MESSAGE_LISTENER_LIST:"all"},$e={RESPONSE_KEYS:{KEY_DATA:"data",KEY_META:"meta",KEY_CURSOR:"cursor",KEY_ACTION:"action",KEY_MESSAGE:"message",KEY_ERROR:"error",KEY_ERROR_DETAILS:"details",KEY_ERROR_CODE:"code",KEY_ERROR_MESSAGE:"message",KEY_AUTH_TOKEN:"authToken",KEY_WS_CHANNEL:"wsChannel",KEY_IDENTITY:"identity",KEY_SERVICE:"identity",KEY_ENTITIES:"entities",KEY_ENTITITY:"entity",KEY_ENTITYTYPE:"entityType",KEY_ATTACHMENTS:"attachments",CODE_REQUEST_OK:200,CODE_BAD_REQUEST:401,UNREAD_UNDELIVERED_KEYS:{ENTITY:"entity",ENTITY_TYPE:"entityType",ENTITY_Id:"entityId",COUNT:"count"},GROUP_MEMBERS_RESPONSE:{SUCCESS:"success",ERROR:"error",MESSAGE:"message"},KEY_ENTITY_TYPE:{USER:"user",GROUP:"group"}}},ae={RECEIVER_ID:"receiverId",RECEIVER_TYPE:"type",RECIPIENT:"recipient",MESSAGE_ID:"messageId",RECEIVED:"delivered",DELIVERED_AT:"deliveredAt",ID:"id",TIME:"time",DELIVERED_TO_ME_AT:"deliveredToMeAt"},f={RECEIVER_ID:"receiverId",RECEIVER_TYPE:"type",RECIPIENT:"recipient",MESSAGE_ID:"messageId",READ:"read",READ_AT:"readAt",ID:"id",TIME:"time",READ_BY_ME_AT:"readByMeAt"},D={TYPE:{TEXT:"text",MEDIA:"media",IMAGE:"image",VIDEO:"video",AUDIO:"audio",FILE:"file",CUSTOM:"custom"},CATEGORY:{MESSAGE:"message",ACTION:"action",CALL:"call",CUSTOM:"custom"},RECEIVER_TYPE:{USER:"user",GROUP:"group"},KEYS:{ATTATCHMENT:"attatchment",ATTATCHMENTS:"attachments",ACTION:"action",TYPE:"type",DATA:"data",ID:"id",MUID:"muid",SENDER:"sender",RECEIVER:"receiver",RECEIVER_ID:"receiverId",CATEGORY:"category",RECEIVER_TYPE:"receiverType",SENT_AT:"sentAt",STATUS:"status",TEXT:"text",URL:"url",METADATA:"metadata",RECEIPTS:"receipts",MY_RECEIPTS:"myReceipt",CUSTOM_DATA:"customData",CUSTOM_SUB_TYPE:"subType",RESOURCE:"resource"},KNOWN_MEDIA_TYPE:{IMAGE:[],VIDEO:[],AUDIO:[],FILE:[]},PAGINATION:{AFFIX:{APPEND:"append",PREPEND:"prepend"},CURSOR_FILEDS:{ID:"id",SENT_AT:"sentAt"},CURSOR_AFFIX_DEFAULT:"prepend",CURSOR_FIELD_DEFAULT:"sentAt",KEYS:{PER_PAGE:"per_page",CURSOR_AFFIX:"cursorAffix",AFFIX:"affix",CURSOR_FIELD:"cursorField",CURSOR_VALUE:"cursorValue",UID:"uid",SENT_AT:"sentAt",ID:"id",CURRENT_PAGE:"page",UNREAD:"unread",HIDE_MESSAGES_FROM_BLOCKED_USER:"hideMessagesFromBlockedUsers",SEARCH_KEY:"searchKey",ONLY_UPDATES:"onlyUpdates",UPDATED_AT:"updatedAt",CATEGORY:"category",CATEGORIES:"categories",TYPE:"type",TYPES:"types",HIDE_REPLIES:"hideReplies",HIDE_DELETED_MESSAGES:"hideDeleted",WITH_TAGS:"withTags",TAGS:"tags"}}},H={KEYS:{EXTENSION:"extension",MIME_TYPE:"mimeType",NAME:"name",SIZE:"size",URL:"url"}},z;(function(I){I.ACTION="action",I.MESSAGE="message",I.CALL="call",I.CUSTOM="custom"})(z||(z={}));var ve={RECEIVER_ID:"receiverId",RECEIVER_TYPE:"receiverType",META:"metadata",KEYS:{TYPING_NOTIFICATION:"typingNotification",TIMESTAMP:"timestamp"},ACTIONS:{STARTED:"started",ENDED:"ended"}},Se={ACTION_SUBJECTS:{ACTION_ON:"on",ACTION_BY:"by",ACTION_FOR:"for"},ACTION_ENTITY_TYPE:{GROUP_USER:"groupuser",USER:"user",GROUP:"group",MESSAGE:"message"},ACTION_KEYS:{ACTION_CREATED:"created",ACTION_UPDATED:"updated",ACTION_DELETED:"deleted",ENTITIES:"entities",ENTITY:"entity",ENTITY_TYPE:"entityType",TYPE_MEMBER_JOINED:"joined",TYPE_MEMBER_LEFT:"left",TYPE_MEMBER_KICKED:"kicked",TYPE_MEMBER_BANNED:"banned",TYPE_MEMBER_UNBANNED:"unbanned",TYPE_MEMBER_INVITED:"invited",TYPE_MEMBER_ADDED:"added",ACTION_SCOPE_CHANGED:"scopeChanged",ACTION_TYPE_USER:"user",ACTION_TYPE_GROUP:"group",ACTION_TYPE_GROUP_MEMBER:"groupMember",TYPE_MESSAGE_EDITED:"edited",TYPE_MESSAGE_DELETED:"deleted",ACTION_TYPE_CALL:"call",EXTRAS:"extras",SCOPE:"scope",NEW:"new",OLD:"old"},ActionMessages:{ACTION_GROUP_JOINED_MESSAGE:"%s joined",ACTION_GROUP_LEFT_MESSAGE:"%s left",ACTION_MEMBER_KICKED_MESSAGE:"%s kicked %s",ACTION_MEMBER_BANNED_MESSAGE:"%s banned %s",ACTION_MEMBER_UNBANNED_MESSAGE:"%s unbanned %s",ACTION_MEMBER_INVITED_MESSAGE:"%s banned %s",ACTION_MESSAGE_EDITED_MESSAGE:" Message Edited",ACTION_MESSAGE_DELETED_MESSAGE:"Message Deleted",ACTION_MEMBER_SCOPE_CHANGED:"%s made %s %s",ACTION_MEMBER_ADDED_TO_GROUP:"%s added %s"},ACTION_TYPE:{TYPE_MEMBER_JOINED:"joined",TYPE_MEMBER_LEFT:"left",TYPE_MEMBER_KICKED:"kicked",TYPE_MEMBER_BANNED:"banned",TYPE_MEMBER_UNBANNED:"unbanned",TYPE_MEMBER_INVITED:"invited",TYPE_MEMBER_SCOPE_CHANGED:"scopeChanged",TYPE_MESSAGE:"message",TYPE_MESSAGE_EDITED:"edited",TYPE_MESSAGE_DELETED:"deleted",TYPE_MEMBER_ADDED:"added"},ACTIONS:{MEMBER_ADDED:"added",MEMBER_JOINED:"joined",MEMBER_LEFT:"left",MEMBER_KICKED:"kicked",MEMBER_BANNED:"banned",MEMBER_UNBANNED:"unbanned",MEMBER_INVITED:"invited",MEMBER_SCOPE_CHANGED:"scopeChanged",MESSAGE_EDITED:"edited",MESSSAGE_DELETED:"deleted",TYPE_USER:"user",TYPE_GROUP:"group",TYPE_GROUP_MEMBER:"groupMember"}},pe={REQUEST_KEYS:{DIRECTIONS:{BOTH:"both",HAS_BLOCKED_ME:"hasBlockedMe",BLOCKED_BY_ME:"blockedByMe"}}},he={CALL_MODE:{DEFAULT:"DEFAULT",SPOTLIGHT:"SPOTLIGHT"},AUDIO_MODE:{SPEAKER:"SPEAKER",EARPIECE:"EARPIECE",BLUETOOTH:"BLUETOOTH",HEADPHONES:"HEADPHONES"},CALL_TYPE:{AUDIO:"audio",VIDEO:"video"},RECEIVER_TYPE_GROUP:"group",RECEIVER_TYPE_USER:"user",CALL_KEYS:{CALL_DATA:"data",CALL_ID:"id",CALL_SESSION_ID:"sessionid",CALL_RECEIVER:"receiver",CALL_SENDER:"sender",CALL_INITIATOR:"initiator",CALL_RECEIVER_TYPE:"receiverType",CALL_STATUS:"status",CALL_TYPE:"type",CALL_INITIATED_AT:"initiatedAt",CALL_JOINED_AT:"joinedAt",CALL_LEFT_AT:"leftAt",CALL_METADATA:"metadata",CALL_ENTITIES:"entities",CALL_ENTITY_TYPE:"entityType",CALL_ENTITY:"entity",CALL_ENTITY_USER:"user",CALL_ENTITY_GROUP:"group"},CALL_STATUS:{INITIATED:"initiated",ONGOING:"ongoing",UNANSWERED:"unanswered",REJECTED:"rejected",BUSY:"busy",CANCELLED:"cancelled",ENDED:"ended"},ZOOM_BUTTON_DEFAULT_PARAMS:{position:"bottom-right",visible:!0},FULL_SCREEN_BUTTON_DEFAULT_PARAMS:{position:"bottom-right",visible:!0},USER_LIST_BUTTON_DEFAULT_PARAMS:{position:"bottom-right",visible:!0},NAME_LABEL_DEFAULT_PARAMS:{position:"bottom-left",visible:!0,color:"#333333"},MAIN_VIDEO_CONTAINER_SETTINGS:{KEYS:{POSITION:"position",VISIBILITY:"visibility",COLOR:"color"}}},De={KEYS:{NAME:"name",GUID:"guid",TYPE:"type",PASSWORD:"password",ICON:"icon",DESCRIPTION:"description",OWNER:"owner",METADATA:"metadata",CREATED_AT:"createdAt",UPDATED_AT:"updatedAt",HAS_JOINED:"hasJoined",WS_CHANNEL:"wsChannel",TAGS:"tags"}},R={KEYS:{SCOPE:"scope",UID:"uid",GUID:"guid",USER:"user",NAME:"name"}},U={UID:"uid",NAME:"name",AUTH_TOKEN:"authToken",AVATAR:"avatar",LAST_ACTIVE_AT:"lastActiveAt",LINK:"link",META_DATA:"metadata",ROLE:"role",STATUS:"status",STATUS_MESSAGE:"statusMessage",USER_NAME:"user_name",TAGS:"tags",SORT_BY:{NAME:"name",STATUS:"status"},SORT_ORDER:{ASCENDING:"asc",DESCENDING:"desc"}},Z={ERROR_IO_EXCEPTION:"ERROR_IO_EXCEPTION",ERROR_JSON_EXCEPTION:"ERROR_JSON_EXCEPTION",ERROR_PASSWORD_MISSING:"ERROR_PASSWORD_MISSING",ERROR_LIMIT_EXCEEDED:"ERROR_LIMIT_EXCEEDED",ERROR_USER_NOT_LOGGED_IN:"ERROR_USER_NOT_LOGGED_IN",ERROR_INVALID_GUID:"ERROR_INVALID_GUID",ERROR_PASSWORD_MISSING_MESSAGE:"Password is mandatory for a password group",ERROR_LIMIT_EXCEEDED_MESSAGE:"Limit Exceeded Max limit of %s",ERROR_USER_NOT_LOGGED_IN_MESSAGE:"Please log in to CometChat before calling this method",ERROR_INVALID_GUID_MESSAGE:"Please provide a valid GUID",ERROR_DEFAULT_MESSAGE:"Something went wrong",ERR_SETTINGS_HASH_OUTDATED:"ERR_SETTINGS_HASH_OUTDATED",ERR_NO_AUTH:"ERR_NO_AUTH"},_e={CALL_ALREADY_INITIATED:{code:"CALL_ALREADY_INITIATED",name:"CALL_ALREADY_INITIATED",message:"There is already call in progress",details:{}},ERROR_IN_CALLING:{code:"CALL_IN_PROGRESS",name:"CALL_ALREADY_INITIATED",message:"There is already call in progress",details:{}},CANNOT_ACCEPT_CALL:{code:"OTHER_CALL_ONGOING",name:"OTHER_CALL_ONGOING",message:"There is already a call in progress",details:{}},NOT_INITIALIZED:{code:"NOT_INITIALIZED",name:"NOT_INITIALIZED",message:"Please call the CometChat.init() method before calling any other methods related to CometChat.",details:{}},NOT_LOGGED_IN:{code:"NOT_LOGGED_IN",name:"NOT_LOGGED_IN",message:"Please login before starting a call.",details:{}},SESSION_ID_REQUIRED:{code:"SESSION_ID_REQUIRED",name:"SESSION_ID_REQUIRED",message:"Please make sure you are passing correct session id.",details:{}},JWT_NOT_FOUND:{code:"JWT_NOT_FOUND",name:"JWT_NOT_FOUND",message:"There was some issue while fetching JWT from API.",details:{}},MODULE_NOT_INSTALLED:{code:"ERROR_CALL_MODULE_NOT_FOUND",name:"ERROR_CALL_MODULE_NOT_FOUND",message:"CometChat Calling module not found. Please add the CometChat Calling dependency and try again.",details:{}}},Ve={PARAMETER_REQUIRED:{code:"%s_NOT_PROVIDED",name:"%s_NOT_PROVIDED",message:"please provide the %s.",details:{}}},Ie={GENERIC_EXCEPTION:{code:"GENERIC_EXCEPTION"},INVALID_ARGUMENT_EXCEPTION:{code:"INVALID_ARGUMENT_EXCEPTION"},INVALID_PROP_EXCEPTION:{code:"INVALID_PROP_EXCEPTION"},API_ERROR:{code:"API_ERROR"},ERROR_PRESENTER_MODE:{code:"ERROR_PRESENTER_MODE",message:"Presenter mode is disabled. To use presenter mode, please enable it from the CometChat Apps Dashboard"},UNKNOWN_API_ERROR:{code:"UNKNOWN_API_ERROR",message:"There is an unknown issue with the API request. Please check your internet connection and verify the api call."}},mt={MISSING_PARAMETERS:{code:"MISSING_PARAMETERS",name:"MISSING_PARAMETERS",message:"Expected 4 parameters received 3",details:{}},INVALID_PARAMETER:{code:"INVALID_%s",name:"INVALID_%s",message:"%s",details:{}},NO_WEBSOCKET_CONNECTION:{code:"NO_WEBSOCKET_CONNECTION",name:"NO_WEBSOCKET_CONNECTION",message:"Connection to our Websockets server is broken. Please retry after some time.",details:{}},RECEIPTS_TEMPORARILY_BLOCKED:{code:"RECEIPTS_TEMPORARILY_BLOCKED",name:"RECEIPTS_TEMPORARILY_BLOCKED",message:"Due to high load. Receipts have been blocked for your app.",details:{}},UNKNOWN_ERROR_OCCURRED:{code:"UNKNOWN_ERROR_OCCURRED",name:"UNKNOWN_ERROR_OCCURRED",message:"Unknown error occurred while marking a message as read.",details:{}}},jt={APP_SETTINGS:"app_settings",KEYS:{CHAT_HOST:"CHAT_HOST",CHAT_USE_SSL:"CHAT_USE_SSL",GROUP_SERVICE:"GROUP_SERVICE",CALL_SERVICE:"CALL_SERVICE",CHAT_WS_PORT:"CHAT_WS_PORT",CHAT_WSS_PORT:"CHAT_WSS_PORT",CHAT_HTTP_BIND_PORT:"CHAT_HTTP_BIND_PORT",CHAT_HTTPS_BIND_PORT:"CHAT_HTTPS_BIND_PORT",ADMIN_API_HOST:"ADMIN_API_HOST",CLIENT_API_HOST:"CLIENT_API_HOST",WEBRTC_HOST:"WEBRTC_HOST",WEBRTC_USE_SSL:"WEBRTC_USE_SSL",WEBRTC_WS_PORT:"WEBRTC_WS_PORT",WEBRTC_WSS_PORT:"WEBRTC_WSS_PORT",WEBRTC_HTTP_BIND_PORT:"WEBRTC_HTTP_BIND_PORT",WEBRTC_HTTPS_BIND_PORT:"WEBRTC_HTTPS_BIND_PORT",EXTENSION_LIST:"extensions",EXTENSION_KEYS:{ID:"id",NAME:"name"},JID_HOST_OVERRIDE:"JID_HOST_OVERRIDE",CHAT_HOST_OVERRIDE:"CHAT_HOST_OVERRIDE",CHAT_HOST_APP_SPECIFIC:"CHAT_HOST_APP_SPECIFIC",MODE:"MODE",CONNECTION_TYPE:"connection_type",DEFAULT_MODE:"DEFAULT",LIMITED_TRANSIENT:"LIMITED_TRANSIENT",NO_TRANSIENT:"NO_TRANSIENT",POLLING_ENABLED:"POLLING_ENABLED",POLLING_INTERVAL:"POLLING_INTERVAL",ANALYTICS_PING_DISABLED:"ANALYTICS_PING_DISABLED",ANALYTICS_HOST:"ANALYTICS_HOST",ANALYTICS_VERSION:"ANALYTICS_VERSION",ANALYTICS_USE_SSL:"ANALYTICS_USE_SSL",SETTINGS_HASH:"settingsHash",SETTINGS_HASH_RECEIVED_AT:"settingsHashReceivedAt",DENY_FALLBACK_TO_POLLING:"DENY_FALLBACK_TO_POLLING",APP_VERSION:"APP_VERSION",MAIN_DOMAIN:"MAIN_DOMAIN",CHAT_API_VERSION:"CHAT_API_VERSION",WS_API_VERSION:"WS_API_VERSION",REGION:"REGION",EXTENSION_DOMAIN:"EXTENSION_DOMAIN",WEBRTC_API_SUBDOMAIN:"WEBRTC_API_SUBDOMAIN"}},qe={TYPE_CONSTANTS:{BOOLEAN:"boolean",STRING:"string",OBJECT:"object",NUMBER:"number"}},He={CONNECTED:"connected",CONNECTING:"connecting",DISCONNECTED:"disconnected",FEATURE_THROTTLED:"featureThrottled"},It={AUTH_ERR_AUTH_TOKEN_NOT_FOUND:"AUTH_ERR_AUTH_TOKEN_NOT_FOUND"},Gt={DOMAIN_PREFIX:"xmpp",PATH:{ROOM:"room",ROOM_SIZE:"room-size",SESSIONS:"sessions"},RESPONSE:{PARTICIPANTS:"participants"},QUERY_PARAMETERS:{DOMAIN:"domain",ROOM:"room"}},Xt={INVALID_SESSIONID:{code:"ERROR_INVALID_SESSIONID",name:"ERROR_INVALID_SESSIONID",message:"The provided sessionId cannot be null or empty. Please provide a valid sessionId.",details:""},INVALID_TYPE:{code:"ERROR_INVALID_TYPE",name:"ERROR_INVALID_TYPE",message:"The provided type cannot be null or empty. Please provide a valid type.",details:""}},Ht={KEYS:{PASSTHROUGH:"passthrough",EXPAND:"expand"}},qt={ENDPOINTS:{GET_ONLINE_MEMBER_COUNT:"api/%s/online-members"},RESPONSE:{ONLINE_USERS_COUNT:"onlineUsersCount",GROUPS:"groups"},ERRORS:{INVALID_GROUPLIST:{code:"ERROR_INVALID_GROUPLIST",name:"ERROR_INVALID_GROUPLIST",message:"Grouplist cannot be null or empty.",details:""}}},Wt=function(){function I(C){"code"in C&&(this.code=C.code),"message"in C&&(this.message=C.message),"details"in C&&(this.details=C.details)}return I}(),_t=function(){function I(C){this.appId=C.appId,this.region=C.region,this.host=C.host}return I.prototype.setAppId=function(C){return this.appId=C,this},I.prototype.setRegion=function(C){return this.region=C,this},I.prototype.setHost=function(C){return this.host=C,this},I.prototype.getAppId=function(){return this.appId},I.prototype.getRegion=function(){return this.region},I.prototype.getHost=function(){return this.host},I}(),Zt=function(){function I(){}return I.prototype.setAppId=function(C){return this.appId=C,this},I.prototype.setRegion=function(C){return this.region=C,this},I.prototype.setHost=function(C){return this.host=C,this},I.prototype.build=function(){return new _t(this)},I}();function q(I){return new Promise(function(C,ne){var re=new Wt({code:"INVALID_CALL_APP_SETTINGS"});if(!(I instanceof _t)){re.message="appSettings must be an instance of CallAppSettings class",ne(re);return}var Oe=I.getAppId(),ye=I.getRegion(),st=I.getHost();if(typeof Oe!="string"||Oe.length===0){re.message="Invalid app id, please check your appSettings",ne(re);return}if(typeof ye!="string"||!be[ye]){re.message="Invalid region, please check your appSettings",ne(re);return}if(st!=null&&typeof st!="string"){re.message="Invalid host, please check your appSettings",ne(re);return}C(!0)})}var Me=function(){function I(C){this.defaultLayout=C.defaultLayout,this.isAudioOnly=C.isAudioOnly,this.listener=C.listener,this.mode=C.mode,this.ShowEndCallButton=C.ShowEndCallButton,this.ShowSwitchCameraButton=C.ShowSwitchCameraButton,this.ShowMuteAudioButton=C.ShowMuteAudioButton,this.ShowPauseVideoButton=C.ShowPauseVideoButton,this.ShowAudioModeButton=C.ShowAudioModeButton,this.StartAudioMuted=C.StartAudioMuted,this.StartVideoMuted=C.StartVideoMuted,this.defaultAudioMode=C.defaultAudioMode,this.ShowSwitchToVideoCallButton=C.ShowSwitchToVideoCallButton,this.AvatarMode=C.AvatarMode,this.ShowRecordingButton=C.ShowRecordingButton,this.StartRecordingOnCallStart=C.StartRecordingOnCallStart,this.MainVideoContainerSetting=C.MainVideoContainerSetting,this.EnableVideoTileClick=C.EnableVideoTileClick,this.enableDraggableVideoTile=C.enableDraggableVideoTile}return I.prototype.isAudioOnlyCall=function(){return this.isAudioOnly},I.prototype.isDefaultLayoutEnabled=function(){return this.defaultLayout},I.prototype.getCallEventListener=function(){return this.listener},I.prototype.getMode=function(){return this.mode},I.prototype.isEndCallButtonEnabled=function(){return this.ShowEndCallButton},I.prototype.isSwitchCameraButtonEnabled=function(){return this.ShowSwitchCameraButton},I.prototype.isMuteAudioButtonEnabled=function(){return this.ShowMuteAudioButton},I.prototype.isPauseVideoButtonEnabled=function(){return this.ShowPauseVideoButton},I.prototype.isAudioModeButtonEnabled=function(){return this.ShowAudioModeButton},I.prototype.getStartWithAudioMuted=function(){return this.StartAudioMuted},I.prototype.getStartWithVideoMuted=function(){return this.StartVideoMuted},I.prototype.getDefaultAudioMode=function(){return this.defaultAudioMode},I.prototype.isAudioToVideoButtonEnabled=function(){return this.ShowSwitchToVideoCallButton},I.prototype.getAvatarMode=function(){return this.AvatarMode},I.prototype.isRecordingButtonEnabled=function(){return this.ShowRecordingButton},I.prototype.shouldStartRecordingOnCallStart=function(){return this.StartRecordingOnCallStart},I.prototype.getMainVideoContainerSetting=function(){return this.MainVideoContainerSetting},I.prototype.isVideoTileClickEnabled=function(){return this.EnableVideoTileClick},I.prototype.isVideoTileDragEnabled=function(){return this.enableDraggableVideoTile},I.POSITION_TOP_LEFT="top-left",I.POSITION_TOP_RIGHT="top-right",I.POSITION_BOTTOM_LEFT="bottom-left",I.POSITION_BOTTOM_RIGHT="bottom-right",I.ASPECT_RATIO_DEFAULT="default",I.ASPECT_RATIO_CONTAIN="contain",I.ASPECT_RATIO_COVER="cover",I.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right"},I.ASPECT_RATIO={DEFAULT:"default",CONTAIN:"contain",COVER:"cover"},I}(),Ae=function(){function I(){this.defaultLayout=!0,this.isAudioOnly=!1,this.mode=he.CALL_MODE.DEFAULT,this.ShowEndCallButton=!0,this.ShowSwitchCameraButton=!0,this.ShowMuteAudioButton=!0,this.ShowPauseVideoButton=!0,this.ShowAudioModeButton=!0,this.StartAudioMuted=!1,this.StartVideoMuted=!1,this.ShowSwitchToVideoCallButton=!0,this.AvatarMode="circle",this.ShowRecordingButton=!1,this.StartRecordingOnCallStart=!1,this.MainVideoContainerSetting=new k,this.EnableVideoTileClick=!0,this.enableDraggableVideoTile=!0}return I.prototype.enableDefaultLayout=function(C){return this.defaultLayout=C,this},I.prototype.setIsAudioOnlyCall=function(C){return this.isAudioOnly=C,this},I.prototype.setCallEventListener=function(C){return this.listener=C,this},I.prototype.setMode=function(C){return this.mode=C,this},I.prototype.showEndCallButton=function(C){return C===void 0&&(C=!0),this.ShowEndCallButton=C,this},I.prototype.showSwitchCameraButton=function(C){return C===void 0&&(C=!0),this.ShowSwitchCameraButton=C,this},I.prototype.showMuteAudioButton=function(C){return C===void 0&&(C=!0),this.ShowMuteAudioButton=C,this},I.prototype.showPauseVideoButton=function(C){return C===void 0&&(C=!0),this.ShowPauseVideoButton=C,this},I.prototype.showAudioModeButton=function(C){return C===void 0&&(C=!0),this.ShowAudioModeButton=C,this},I.prototype.startWithAudioMuted=function(C){return C===void 0&&(C=!1),this.StartAudioMuted=C,this},I.prototype.startWithVideoMuted=function(C){return C===void 0&&(C=!1),this.StartVideoMuted=C,this},I.prototype.setDefaultAudioMode=function(C){return this.defaultAudioMode=C,this},I.prototype.showSwitchToVideoCallButton=function(C){return C===void 0&&(C=!0),this.ShowSwitchToVideoCallButton=C,this},I.prototype.setAvatarMode=function(C){return C===void 0&&(C="circle"),this.AvatarMode=C,this},I.prototype.showRecordingButton=function(C){return C===void 0&&(C=!1),this.ShowRecordingButton=C,this},I.prototype.startRecordingOnCallStart=function(C){return C===void 0&&(C=!1),this.StartRecordingOnCallStart=C,this},I.prototype.setMainVideoContainerSetting=function(C){return this.MainVideoContainerSetting=C,this},I.prototype.enableVideoTileClick=function(C){return C===void 0&&(C=!0),this.EnableVideoTileClick=C,this},I.prototype.enableVideoTileDrag=function(C){return C===void 0&&(C=!0),this.enableDraggableVideoTile=C,this},I.prototype.build=function(){return new Me(this)},I}(),k=function(){function I(){this.videoFit=Me.ASPECT_RATIO_CONTAIN,this.zoomButton=he.ZOOM_BUTTON_DEFAULT_PARAMS,this.fullScreenButton=he.FULL_SCREEN_BUTTON_DEFAULT_PARAMS,this.userListButton=he.USER_LIST_BUTTON_DEFAULT_PARAMS,this.nameLabel=he.NAME_LABEL_DEFAULT_PARAMS}return I.prototype.setMainVideoAspectRatio=function(C){C===void 0&&(C="contain"),this.videoFit=C},I.prototype.setFullScreenButtonParams=function(C,ne){C===void 0&&(C=Me.POSITION_BOTTOM_RIGHT),ne===void 0&&(ne=!0),o(C)||(this.fullScreenButton[he.MAIN_VIDEO_CONTAINER_SETTINGS.KEYS.POSITION]=C),ne!=null&&ne!=null&&(this.fullScreenButton[he.MAIN_VIDEO_CONTAINER_SETTINGS.KEYS.VISIBILITY]=ne)},I.prototype.setNameLabelParams=function(C,ne,re){C===void 0&&(C=Me.POSITION_BOTTOM_LEFT),ne===void 0&&(ne=!0),re===void 0&&(re="#333333"),o(C)||(this.nameLabel[he.MAIN_VIDEO_CONTAINER_SETTINGS.KEYS.POSITION]=C),ne!=null&&ne!=null&&(this.nameLabel[he.MAIN_VIDEO_CONTAINER_SETTINGS.KEYS.VISIBILITY]=ne),o(re)||(this.nameLabel[he.MAIN_VIDEO_CONTAINER_SETTINGS.KEYS.COLOR]=re)},I.prototype.setZoomButtonParams=function(C,ne){C===void 0&&(C=Me.POSITION_BOTTOM_RIGHT),ne===void 0&&(ne=!0),o(C)||(this.zoomButton[he.MAIN_VIDEO_CONTAINER_SETTINGS.KEYS.POSITION]=C),ne!=null&&ne!=null&&(this.zoomButton[he.MAIN_VIDEO_CONTAINER_SETTINGS.KEYS.VISIBILITY]=ne)},I.prototype.setUserListButtonParams=function(C,ne){C===void 0&&(C=Me.POSITION_BOTTOM_RIGHT),ne===void 0&&(ne=!0),o(C)||(this.userListButton[he.MAIN_VIDEO_CONTAINER_SETTINGS.KEYS.POSITION]=C),ne!=null&&ne!=null&&(this.userListButton[he.MAIN_VIDEO_CONTAINER_SETTINGS.KEYS.VISIBILITY]=ne)},I}(),Q=__webpack_require__(156),ie=__webpack_require__.n(Q),ce=__webpack_require__(925),Pe=function(){function I(C){this.defaultLayout=C.defaultLayout,this.isAudioOnly=C.isAudioOnly,this.isPresenter=C.isPresenter,this.listener=C.listener,this.ShowEndCallButton=C.ShowEndCallButton,this.ShowSwitchCameraButton=C.ShowSwitchCameraButton,this.ShowMuteAudioButton=C.ShowMuteAudioButton,this.ShowPauseVideoButton=C.ShowPauseVideoButton,this.ShowAudioModeButton=C.ShowAudioModeButton,this.StartAudioMuted=C.StartAudioMuted,this.StartVideoMuted=C.StartVideoMuted,this.defaultAudioMode=C.defaultAudioMode,this.ShowRecordingButton=C.ShowRecordingButton}return I.prototype.isAudioOnlyCall=function(){return this.isAudioOnly},I.prototype.getIsPresenter=function(){return this.isPresenter},I.prototype.isDefaultLayoutEnabled=function(){return this.defaultLayout},I.prototype.getCallEventListener=function(){return this.listener},I.prototype.isEndCallButtonEnabled=function(){return this.ShowEndCallButton},I.prototype.isSwitchCameraButtonEnabled=function(){return this.ShowSwitchCameraButton},I.prototype.isMuteAudioButtonEnabled=function(){return this.ShowMuteAudioButton},I.prototype.isPauseVideoButtonEnabled=function(){return this.ShowPauseVideoButton},I.prototype.isAudioModeButtonEnabled=function(){return this.ShowAudioModeButton},I.prototype.getStartWithAudioMuted=function(){return this.StartAudioMuted},I.prototype.getStartWithVideoMuted=function(){return this.StartVideoMuted},I.prototype.getDefaultAudioMode=function(){return this.defaultAudioMode},I.prototype.isRecordingButtonEnabled=function(){return this.ShowRecordingButton},I.POSITION_TOP_LEFT="top-left",I.POSITION_TOP_RIGHT="top-right",I.POSITION_BOTTOM_LEFT="bottom-left",I.POSITION_BOTTOM_RIGHT="bottom-right",I.ASPECT_RATIO_DEFAULT="default",I.ASPECT_RATIO_CONTAIN="contain",I.ASPECT_RATIO_COVER="cover",I.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right"},I.ASPECT_RATIO={DEFAULT:"default",CONTAIN:"contain",COVER:"cover"},I}(),je=function(){function I(){this.defaultLayout=!0,this.isAudioOnly=!1,this.isPresenter=!1,this.ShowEndCallButton=!0,this.ShowSwitchCameraButton=!0,this.ShowMuteAudioButton=!0,this.ShowPauseVideoButton=!0,this.ShowAudioModeButton=!0,this.StartAudioMuted=!1,this.StartVideoMuted=!1,this.ShowRecordingButton=!1}return I.prototype.enableDefaultLayout=function(C){return this.defaultLayout=C,this},I.prototype.setIsAudioOnlyCall=function(C){return this.isAudioOnly=C,this},I.prototype.setIsPresenter=function(C){return this.isPresenter=C,this},I.prototype.setCallEventListener=function(C){return this.listener=C,this},I.prototype.showEndCallButton=function(C){return C===void 0&&(C=!0),this.ShowEndCallButton=C,this},I.prototype.showSwitchCameraButton=function(C){return C===void 0&&(C=!0),this.ShowSwitchCameraButton=C,this},I.prototype.showMuteAudioButton=function(C){return C===void 0&&(C=!0),this.ShowMuteAudioButton=C,this},I.prototype.showPauseVideoButton=function(C){return C===void 0&&(C=!0),this.ShowPauseVideoButton=C,this},I.prototype.showAudioModeButton=function(C){return C===void 0&&(C=!0),this.ShowAudioModeButton=C,this},I.prototype.startWithAudioMuted=function(C){return C===void 0&&(C=!1),this.StartAudioMuted=C,this},I.prototype.startWithVideoMuted=function(C){return C===void 0&&(C=!1),this.StartVideoMuted=C,this},I.prototype.setDefaultAudioMode=function(C){return this.defaultAudioMode=C,this},I.prototype.showRecordingButton=function(C){return C===void 0&&(C=!1),this.ShowRecordingButton=C,this},I.prototype.build=function(){return new Pe(this)},I}(),lt=function(){var I=function(C,ne){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,Oe){re.__proto__=Oe}||function(re,Oe){for(var ye in Oe)Object.prototype.hasOwnProperty.call(Oe,ye)&&(re[ye]=Oe[ye])},I(C,ne)};return function(C,ne){if(typeof ne!="function"&&ne!==null)throw new TypeError("Class extends value "+String(ne)+" is not a constructor or null");I(C,ne);function re(){this.constructor=C}C.prototype=ne===null?Object.create(ne):(re.prototype=ne.prototype,new re)}}(),gt=function(I){lt(C,I);function C(ne){return I.call(this,ne)||this}return C.prototype.render=function(){return ie().createElement(ce.View,{style:{flex:1,backgroundColor:"#000",justifyContent:"center",alignItems:"center",padding:20}},ie().createElement(ce.Text,{style:{color:"#FFF"}},this.props.message))},C}(ie().Component),pt=function(){var I=function(C,ne){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,Oe){re.__proto__=Oe}||function(re,Oe){for(var ye in Oe)Object.prototype.hasOwnProperty.call(Oe,ye)&&(re[ye]=Oe[ye])},I(C,ne)};return function(C,ne){if(typeof ne!="function"&&ne!==null)throw new TypeError("Class extends value "+String(ne)+" is not a constructor or null");I(C,ne);function re(){this.constructor=C}C.prototype=ne===null?Object.create(ne):(re.prototype=ne.prototype,new re)}}(),xe=function(){return xe=Object.assign||function(I){for(var C,ne=1,re=arguments.length;ne<re;ne++){C=arguments[ne];for(var Oe in C)Object.prototype.hasOwnProperty.call(C,Oe)&&(I[Oe]=C[Oe])}return I},xe.apply(this,arguments)},Dt=function(I){pt(C,I);function C(ne){var re=I.call(this,ne)||this;return re.state={shouldLoad:!1,errored:!1},re.callsettings=ne.callSettings,!re.callsettings||!(re.callsettings instanceof Me||re.callsettings instanceof Pe)?(re.state=xe(xe({},re.state),{errored:!0}),console.error(new Wt({code:Ie.INVALID_PROP_EXCEPTION.code,message:"Component requires valid callSettings.",details:"Component requires valid callSettings."})),re):(q(vn.getAppSettings()).then(function(){var Oe,ye;if(typeof ne.callToken!="string"||ne.callToken===""){var st=new Wt({code:Ie.INVALID_ARGUMENT_EXCEPTION.code,message:"Invalid callToken passed, please verify."});console.error(st),(ye=(Oe=re.callsettings.getCallEventListener())===null||Oe===void 0?void 0:Oe.onError)===null||ye===void 0||ye.call(Oe,st);return}ge.verifyToken(ne.callToken,vn.getAppSettings()).then(function(tt){var Pt,et,Ce,Yt,ui,$t,an,Bn,rn,cn,di,zt,Cn,Tn,un,gi,Rn,si;if(!((et=(Pt=tt==null?void 0:tt.data)===null||Pt===void 0?void 0:Pt.error)===null||et===void 0)&&et.message){console.error(tt.data.error.message),(Yt=(Ce=re.callsettings.getCallEventListener())===null||Ce===void 0?void 0:Ce.onError)===null||Yt===void 0||Yt.call(Ce,new Wt({code:Ie.API_ERROR.code,message:($t=(ui=tt==null?void 0:tt.data)===null||ui===void 0?void 0:ui.error)===null||$t===void 0?void 0:$t.message}));return}if(re.callsettings.user=xe(xe({},tt.data.data.payload.data.user),{jwt:re.props.callToken}),re.callsettings.sessionID=tt.data.data.payload.room,re.callsettings.appId=tt.data.data.payload.data.appId,re.callsettings.domain=tt.data.data.settings.WEBRTC_HOST,typeof re.callsettings.analyticsSettings!="object"&&(re.callsettings.analyticsSettings={}),!((rn=(Bn=(an=tt==null?void 0:tt.data)===null||an===void 0?void 0:an.data)===null||Bn===void 0?void 0:Bn.settings)===null||rn===void 0)&&rn.ANALYTICS_HOST&&(re.callsettings.analyticsSettings.ANALYTICS_HOST=tt.data.data.settings.ANALYTICS_HOST),!((zt=(di=(cn=tt==null?void 0:tt.data)===null||cn===void 0?void 0:cn.data)===null||di===void 0?void 0:di.settings)===null||zt===void 0)&&zt.ANALYTICS_VERSION&&(re.callsettings.analyticsSettings.ANALYTICS_VERSION=tt.data.data.settings.ANALYTICS_VERSION),ne.presenterMode)if(((un=(Tn=(Cn=tt==null?void 0:tt.data)===null||Cn===void 0?void 0:Cn.data)===null||Tn===void 0?void 0:Tn.settings)===null||un===void 0?void 0:un.PRESENTER_MODE_ENABLED)===!0)re.setState({shouldLoad:!0,errored:!1});else{var Mn=new Wt({code:Ie.ERROR_PRESENTER_MODE.code,message:Ie.ERROR_PRESENTER_MODE.message});(Rn=(gi=re.callsettings.getCallEventListener())===null||gi===void 0?void 0:gi.onError)===null||Rn===void 0||Rn.call(gi,Mn),(si=g==null?void 0:g.callHandlers)===null||si===void 0||si.map(function(qn){var Ui;(Ui=qn==null?void 0:qn.onError)===null||Ui===void 0||Ui.call(qn,Mn)}),console.error(Mn),re.setState({shouldLoad:!1,errored:!0})}else re.setState({shouldLoad:!0,errored:!1})}).catch(function(tt){var Pt,et;(et=(Pt=re.callsettings.getCallEventListener())===null||Pt===void 0?void 0:Pt.onError)===null||et===void 0||et.call(Pt,new Wt({code:Ie.API_ERROR.code,message:"Unknown API error",details:tt})),console.error(tt),re.setState({errored:!0})})}).catch(function(Oe){var ye,st;console.error(Oe),(st=(ye=re.callsettings.getCallEventListener())===null||ye===void 0?void 0:ye.onError)===null||st===void 0||st.call(ye,new Wt({code:Ie.API_ERROR.code,message:"Unknown API error",details:Oe})),re.setState({errored:!0})}),re)}return C.prototype.render=function(){var ne=this;return this.state.errored?ie().createElement(gt,{message:"Something went wrong! Please check logs for more details."}):this.state.shouldLoad?ie().createElement(ce.View,{style:{flex:1,backgroundColor:"#000"}},ie().createElement(u(),{ref:function(re){return C.ref=re},style:{flex:1,backgroundColor:"#000"},callsettings:this.callsettings,onEndCall:function(){var re,Oe,ye;(Oe=(re=ne.callsettings.getCallEventListener())===null||re===void 0?void 0:re.onCallEnded)===null||Oe===void 0||Oe.call(re),(ye=g==null?void 0:g.callHandlers)===null||ye===void 0||ye.map(function(st){var tt;(tt=st==null?void 0:st.onCallEnded)===null||tt===void 0||tt.call(st)}),g&&(g.callHandlers=[])},onCallEndButtonPressed:function(){var re,Oe,ye;(Oe=(re=ne.callsettings.getCallEventListener())===null||re===void 0?void 0:re.onCallEndButtonPressed)===null||Oe===void 0||Oe.call(re),(ye=g==null?void 0:g.callHandlers)===null||ye===void 0||ye.map(function(st){var tt;(tt=st==null?void 0:st.onCallEndButtonPressed)===null||tt===void 0||tt.call(st)})},onUserJoined:function(re){var Oe,ye,st;re&&(re!=null&&re.uid)&&(re!=null&&re.name)&&("jwt"in re&&delete re.jwt,"audioTrack"in re&&delete re.audioTrack,"videoTrack"in re&&delete re.videoTrack,"resource"in re&&delete re.resource,(ye=(Oe=ne.callsettings.getCallEventListener())===null||Oe===void 0?void 0:Oe.onUserJoined)===null||ye===void 0||ye.call(Oe,re),(st=g==null?void 0:g.callHandlers)===null||st===void 0||st.map(function(tt){var Pt;(Pt=tt==null?void 0:tt.onUserJoined)===null||Pt===void 0||Pt.call(tt,re)}))},onUserLeft:function(re){var Oe,ye,st;re&&(re!=null&&re.uid)&&(re!=null&&re.name)&&("jwt"in re&&delete re.jwt,"audioTrack"in re&&delete re.audioTrack,"videoTrack"in re&&delete re.videoTrack,"resource"in re&&delete re.resource,(ye=(Oe=ne.callsettings.getCallEventListener())===null||Oe===void 0?void 0:Oe.onUserLeft)===null||ye===void 0||ye.call(Oe,re),(st=g==null?void 0:g.callHandlers)===null||st===void 0||st.map(function(tt){var Pt;(Pt=tt==null?void 0:tt.onUserLeft)===null||Pt===void 0||Pt.call(tt,re)}))},onUserListChanged:function(re){var Oe,ye,st;Array.isArray(re)&&((ye=(Oe=ne.callsettings.getCallEventListener())===null||Oe===void 0?void 0:Oe.onUserListUpdated)===null||ye===void 0||ye.call(Oe,re),(st=g==null?void 0:g.callHandlers)===null||st===void 0||st.map(function(tt){var Pt;(Pt=tt==null?void 0:tt.onUserListUpdated)===null||Pt===void 0||Pt.call(tt,re)}))},onAudioModeChanged:function(re){var Oe,ye,st;re&&re.length>0&&((ye=(Oe=ne.callsettings.getCallEventListener())===null||Oe===void 0?void 0:Oe.onAudioModesUpdated)===null||ye===void 0||ye.call(Oe,re),(st=g==null?void 0:g.callHandlers)===null||st===void 0||st.map(function(tt){var Pt;(Pt=tt==null?void 0:tt.onAudioModesUpdated)===null||Pt===void 0||Pt.call(tt,re)}))},onRecordingToggled:function(re){var Oe,ye,st,tt,Pt,et,Ce,Yt;if(re&&re.hasOwnProperty("user")&&re.hasOwnProperty("recordingStarted")&&!((Oe=re.user)===null||Oe===void 0)&&Oe.uid&&!((ye=re.user)===null||ye===void 0)&&ye.name){var ui=re.recordingStarted;"jwt"in re.user&&delete re.user.jwt,"audioTrack"in re.user&&delete re.user.audioTrack,"videoTrack"in re.user&&delete re.user.videoTrack,"resource"in re.user&&delete re.user.resource,ui?((tt=(st=ne.callsettings.getCallEventListener())===null||st===void 0?void 0:st.onRecordingStarted)===null||tt===void 0||tt.call(st,re.user),(Pt=g==null?void 0:g.callHandlers)===null||Pt===void 0||Pt.map(function($t){var an;(an=$t==null?void 0:$t.onRecordingStarted)===null||an===void 0||an.call($t,re.user)})):((Ce=(et=ne.callsettings.getCallEventListener())===null||et===void 0?void 0:et.onRecordingStopped)===null||Ce===void 0||Ce.call(et,re.user),(Yt=g==null?void 0:g.callHandlers)===null||Yt===void 0||Yt.map(function($t){var an;(an=$t==null?void 0:$t.onRecordingStopped)===null||an===void 0||an.call($t,re.user)}))}},onCallSwitchedToVideo:function(re){var Oe,ye,st;re&&((ye=(Oe=ne.callsettings.getCallEventListener())===null||Oe===void 0?void 0:Oe.onCallSwitchedToVideo)===null||ye===void 0||ye.call(Oe,re.user),(st=g==null?void 0:g.callHandlers)===null||st===void 0||st.map(function(tt){var Pt;(Pt=tt==null?void 0:tt.onCallSwitchedToVideo)===null||Pt===void 0||Pt.call(tt,re.user)}))},onUserMuted:function(re){var Oe,ye,st;re&&((ye=(Oe=ne.callsettings.getCallEventListener())===null||Oe===void 0?void 0:Oe.onUserMuted)===null||ye===void 0||ye.call(Oe,re.user),(st=g==null?void 0:g.callHandlers)===null||st===void 0||st.map(function(tt){var Pt;(Pt=tt==null?void 0:tt.onUserMuted)===null||Pt===void 0||Pt.call(tt,re.user)}))}})):ie().createElement(gt,{message:"Initializing..."})},C.ref=null,C}(ie().Component),oi=function(){var I=function(C,ne){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,Oe){re.__proto__=Oe}||function(re,Oe){for(var ye in Oe)Object.prototype.hasOwnProperty.call(Oe,ye)&&(re[ye]=Oe[ye])},I(C,ne)};return function(C,ne){if(typeof ne!="function"&&ne!==null)throw new TypeError("Class extends value "+String(ne)+" is not a constructor or null");I(C,ne);function re(){this.constructor=C}C.prototype=ne===null?Object.create(ne):(re.prototype=ne.prototype,new re)}}(),Kn=function(){return Kn=Object.assign||function(I){for(var C,ne=1,re=arguments.length;ne<re;ne++){C=arguments[ne];for(var Oe in C)Object.prototype.hasOwnProperty.call(C,Oe)&&(I[Oe]=C[Oe])}return I},Kn.apply(this,arguments)},li=function(I){oi(C,I);function C(ne){var re=I.call(this,ne)||this;return re.state={errored:!1},re.props.presenterSettings.mode="PRESENTER",re.props.presenterSettings instanceof Pe||(re.state=Kn(Kn({},re.state),{errored:!0}),console.error(new Wt({code:Ie.INVALID_PROP_EXCEPTION.code,message:"Component requires valid presenterSettings.",details:"Component requires valid presenterSettings."}))),re}return C.prototype.render=function(){return this.state.errored?ie().createElement(gt,{message:"Something went wrong! Please check logs for more details."}):ie().createElement(Dt,{callSettings:this.props.presenterSettings,callToken:this.props.callToken,presenterMode:!0})},C}(ie().Component),hn={AUTH_ERR:{code:"AUTH_ERR_AUTH_TOKEN_NOT_FOUND",message:"The auth token %s% does not exist. Please make sure you are logged in and have a valid auth token or try login again."}},At={PARAMETER_MISSING:{code:"MISSING_PARAMETERS",name:"Invalid or no parameter passed to the method."}},en={NO_APP_ID:{code:At.PARAMETER_MISSING.code,name:At.PARAMETER_MISSING.name,message:"AppID cannot be empty. Please specify a valid appID.",details:{}}},Pn={EMPTY_PASSWORD:{code:"ERR_EMPTY_GROUP_PASS",details:void 0,message:"Password is mandatory to join a group.",name:void 0}},yi={EMPTY_USERS_LIST:{code:"EMPTY_USERS_LIST",name:"EMPTY_USERS_LIST",message:"The users list needs to have atleast one UID.",details:{}}},jn={REQUEST_IN_PROGRESS_ERROR:{code:"REQUEST_IN_PROGRESS",name:"REQUEST_IN_PROGRESS",message:"Request in progress.",details:{}},NOT_ENOUGH_PARAMS:{code:"NOT_ENOUGH_PARAMETERS",name:"NOT_ENOUGH_PARAMETERS",message:"`Timestamp`, `MessageId` or `updatedAfter` is required to use the 'fetchNext()' method.",details:{}}},Ei={INVALID_CUSTOM_DATA:{code:"-1",name:"%s_CUSTOM_DATA",message:"",details:{}}},ii={NOT_INITIALIZED:{code:"-1",name:"COMETCHAT_INITIALIZATION_NOT_DONE",message:"please initialize the cometchat before using login method.",details:{}},UNAUTHORISED:{code:401,name:"USER_NOT_AUTHORISED",message:"The `authToken` of the user is not authorised. Please verify again.",details:{}},WS_CONNECTION_FAIL:{code:-1,name:"WS_CONNECTION_FAIL",message:"WS Connection failed. %s",details:{}},WS_CONNECTION_FAIL_PORT_ERROR:{code:-1,name:"WS_CONNECTION_FAIL",message:"WS Connection failed. Trying to connect with port: %s",details:{}},WS_CONNECTION_FALLBACK_FAIL_PORT_ERROR:{code:-1,name:"WS_CONNECTION_FALLBACK_FAIL",message:"WS Connection fallback failed. Trying to connect with port: %s",details:{}},WS_AUTH_FAIL:{code:-1,name:"WS_AUTH_FAIL",message:"WS username/password not correct.",details:{}},NO_INTERNET:{code:-1,name:"NO_INTERNET_CONNECTION",message:"You do not have internet connection.",details:{}},REQUEST_IN_PROGRESS:{code:-1,name:"LOGIN_IN_PROGRESS",message:"Please wait until the previous login request ends.",details:{}}},Bi={TOO_MANY_REQUEST:{code:"TOO_MANY_REQUEST",name:"TOO MANY REQUEST",message:"too many request, wait for `%s` seconds before sending next request.",details:{}}},Di={ERROR_IN_API_CALL:{code:"FAILED_TO_FETCH",name:"FAILED_TO_FETCH",message:"There is an unknown issue with the API request. Please check your internet connection and verify the api call.",details:{}}},ai=function(){function I(C){Object.assign(this,C)}return I.prototype.getGuid=function(){return this.guid},I.prototype.setGuid=function(C){this.guid=C},I.prototype.getName=function(){return this.name},I.prototype.setName=function(C){this.name=C},I.prototype.getIcon=function(){return this.icon},I.prototype.setIcon=function(C){this.icon=C},I.prototype.toString=function(){return"CallGroup{ guid='".concat(this.guid,"', name='").concat(this.name,"', icon='").concat(this.icon,"' }")},I.getGroupFromJson=function(C){var ne=new I(C);return ne},I}(),ri=function(){function I(C){Object.assign(this,C)}return I.prototype.getUid=function(){return this.uid},I.prototype.setUid=function(C){this.uid=C},I.prototype.getName=function(){return this.name},I.prototype.setName=function(C){this.name=C},I.prototype.getAvatar=function(){return this.avatar},I.prototype.setAvatar=function(C){this.avatar=C},I.prototype.toString=function(){return"CallUser{ uid='".concat(this.uid,"', name='").concat(this.name,"', avatar='").concat(this.avatar,"' }")},I.getUserFromJson=function(C){var ne=new I(C);return ne},I}(),Li=function(){function I(C){Object.assign(this,C)}return I.prototype.getUid=function(){return this.uid},I.prototype.setUid=function(C){this.uid=C},I.prototype.getName=function(){return this.name},I.prototype.setName=function(C){this.name=C},I.prototype.getAvatar=function(){return this.avatar},I.prototype.setAvatar=function(C){this.avatar=C},I.prototype.getTotalAudioMinutes=function(){return this.totalAudioMinutes},I.prototype.setTotalAudioMinutes=function(C){this.totalAudioMinutes=C},I.prototype.getTotalVideoMinutes=function(){return this.totalVideoMinutes},I.prototype.setTotalVideoMinutes=function(C){this.totalVideoMinutes=C},I.prototype.getTotalDurationInMinutes=function(){return this.totalDurationInMinutes},I.prototype.setTotalDurationInMinutes=function(C){this.totalDurationInMinutes=C},I.prototype.getDeviceID=function(){return this.deviceID},I.prototype.setDeviceID=function(C){this.deviceID=C},I.prototype.getHasJoined=function(){return this.hasJoined},I.prototype.setHasJoined=function(C){this.hasJoined=C},I.prototype.getJoinedAt=function(){return this.joinedAt},I.prototype.setJoinedAt=function(C){this.joinedAt=C},I.prototype.getLeftAt=function(){return this.leftAt},I.prototype.setLeftAt=function(C){this.leftAt=C},I.prototype.getMid=function(){return this.mid},I.prototype.setMid=function(C){this.mid=C},I.prototype.getState=function(){return this.state},I.prototype.setState=function(C){this.state=C},I.getParticipantFromJson=function(C){var ne=new I(C);return ne},I}(),ti=function(){function I(C){Object.assign(this,C)}return I.prototype.getRid=function(){return this.rid},I.prototype.setRid=function(C){this.rid=C},I.prototype.getRecordingURL=function(){return this.recording_url},I.prototype.setRecordingURL=function(C){this.recording_url=C},I.prototype.getStartTime=function(){return this.startTime},I.prototype.setStartTime=function(C){this.startTime=C},I.prototype.getEndTime=function(){return this.endTime},I.prototype.setEndTime=function(C){this.endTime=C},I.prototype.getDuration=function(){return this.duration},I.prototype.setDuration=function(C){this.duration=C},I.getRecordingFromJson=function(C){var ne=new I(C);return ne},I}(),Yn=function(){function I(C){Object.assign(this,C)}return I.prototype.getSessionID=function(){return this.sessionId},I.prototype.setSessionID=function(C){this.sessionId=C},I.prototype.getTotalAudioMinutes=function(){return this.totalAudioMinutes},I.prototype.setTotalAudioMinutes=function(C){this.totalAudioMinutes=C},I.prototype.getTotalVideoMinutes=function(){return this.totalVideoMinutes},I.prototype.setTotalVideoMinutes=function(C){this.totalVideoMinutes=C},I.prototype.getTotalDuration=function(){return this.totalDuration},I.prototype.setTotalDuration=function(C){this.totalDuration=C},I.prototype.getHasRecording=function(){return this.hasRecording},I.prototype.setHasRecording=function(C){this.hasRecording=C},I.prototype.getInitiatedAt=function(){return this.initiatedAt},I.prototype.setInitiatedAt=function(C){this.initiatedAt=C},I.prototype.getCallCategory=function(){return this.callCategory},I.prototype.setCallCategory=function(C){this.callCategory=C},I.prototype.getInitiator=function(){return this.initiator},I.prototype.setInitiator=function(C){this.initiator=C},I.prototype.getReceiver=function(){return this.receiver},I.prototype.setReceiver=function(C){this.receiver=C},I.prototype.getReceiverType=function(){return this.receiverType},I.prototype.setReceiverType=function(C){this.receiverType=C},I.prototype.getStatus=function(){return this.status},I.prototype.setStatus=function(C){this.status=C},I.prototype.getTotalDurationInMinutes=function(){return this.totalDurationInMinutes},I.prototype.setTotalDurationInMinutes=function(C){this.totalDurationInMinutes=C},I.prototype.getTotalParticipants=function(){return this.totalParticipants},I.prototype.setTotalParticipants=function(C){this.totalParticipants=C},I.prototype.getType=function(){return this.type},I.prototype.setType=function(C){this.type=C},I.prototype.getMid=function(){return this.mid},I.prototype.setMid=function(C){this.mid=C},I.prototype.getEndedAt=function(){return this.endedAt},I.prototype.setEndedAt=function(C){this.endedAt=C},I.prototype.getParticipants=function(){return this.participants},I.prototype.setParticipants=function(C){this.participants=C},I.prototype.getRecordings=function(){return this.recordings},I.prototype.setRecordings=function(C){this.recordings=C},I.callLogFromJson=function(C){var ne=new I(C);if(C.participants&&(ne.participants=C.participants.map(function(ye){return Li.getParticipantFromJson(ye)})),C.recordings&&(ne.recordings=C.recordings.map(function(ye){return ti.getRecordingFromJson(ye)})),C.initiator&&C[he.CALL_KEYS.CALL_DATA]&&C[he.CALL_KEYS.CALL_DATA][he.CALL_KEYS.CALL_ENTITIES]&&C[he.CALL_KEYS.CALL_DATA][he.CALL_KEYS.CALL_ENTITIES][he.CALL_KEYS.CALL_INITIATOR]&&C[he.CALL_KEYS.CALL_DATA][he.CALL_KEYS.CALL_ENTITIES][he.CALL_KEYS.CALL_INITIATOR][he.CALL_KEYS.CALL_ENTITY]){var re=C[he.CALL_KEYS.CALL_DATA][he.CALL_KEYS.CALL_ENTITIES][he.CALL_KEYS.CALL_INITIATOR][he.CALL_KEYS.CALL_ENTITY];ne.initiator=ri.getUserFromJson(re)}if(C.receiver&&C[he.CALL_KEYS.CALL_DATA]&&C[he.CALL_KEYS.CALL_DATA][he.CALL_KEYS.CALL_ENTITIES]&&C[he.CALL_KEYS.CALL_DATA][he.CALL_KEYS.CALL_ENTITIES][he.CALL_KEYS.CALL_RECEIVER]&&C[he.CALL_KEYS.CALL_DATA][he.CALL_KEYS.CALL_ENTITIES][he.CALL_KEYS.CALL_RECEIVER][he.CALL_KEYS.CALL_ENTITY]){var Oe=C[he.CALL_KEYS.CALL_DATA][he.CALL_KEYS.CALL_ENTITIES][he.CALL_KEYS.CALL_RECEIVER][he.CALL_KEYS.CALL_ENTITY];C.receiverType==he.RECEIVER_TYPE_USER?ne.receiver=ri.getUserFromJson(Oe):ne.receiver=ai.getGroupFromJson(Oe)}return ne},I}(),ci=function(){function I(){this.perPage=-1,this.page=-1}return I.prototype.setDirection=function(C){this.direction=C},I.prototype.setStatus=function(C){this.status=C},I.prototype.setType=function(C){this.type=C},I.prototype.setPerPage=function(C){this.perPage=C},I.prototype.setPage=function(C){this.page=C},I.prototype.setMode=function(C){this.mode=C},I.prototype.setHasRecordings=function(C){this.hasRecording=C},I.prototype.setUid=function(C){this.uid=C},I.prototype.setGuid=function(C){this.guid=C},I.prototype.toMap=function(){var C={};return this.perPage!==-1&&(C.perPage=String(this.perPage)),this.page!==-1&&(C.page=String(this.page)),this.mode&&(C.mode=this.mode),this.type&&(C.type=this.type),this.status&&(C.status=this.status),this.direction&&(C.direction=this.direction),this.uid&&(C.uid=this.uid),this.guid&&(C.guid=this.guid),this.hasRecording!==null&&(C.hasRecording=this.hasRecording?"true":"false"),C},I}(),Si=function(I,C,ne,re){function Oe(ye){return ye instanceof ne?ye:new ne(function(st){st(ye)})}return new(ne||(ne=Promise))(function(ye,st){function tt(Ce){try{et(re.next(Ce))}catch(Yt){st(Yt)}}function Pt(Ce){try{et(re.throw(Ce))}catch(Yt){st(Yt)}}function et(Ce){Ce.done?ye(Ce.value):Oe(Ce.value).then(tt,Pt)}et((re=re.apply(I,C||[])).next())})},Ji=function(I,C){var ne={label:0,sent:function(){if(ye[0]&1)throw ye[1];return ye[1]},trys:[],ops:[]},re,Oe,ye,st;return st={next:tt(0),throw:tt(1),return:tt(2)},typeof Symbol=="function"&&(st[Symbol.iterator]=function(){return this}),st;function tt(et){return function(Ce){return Pt([et,Ce])}}function Pt(et){if(re)throw new TypeError("Generator is already executing.");for(;st&&(st=0,et[0]&&(ne=0)),ne;)try{if(re=1,Oe&&(ye=et[0]&2?Oe.return:et[0]?Oe.throw||((ye=Oe.return)&&ye.call(Oe),0):Oe.next)&&!(ye=ye.call(Oe,et[1])).done)return ye;switch(Oe=0,ye&&(et=[et[0]&2,ye.value]),et[0]){case 0:case 1:ye=et;break;case 4:return ne.label++,{value:et[1],done:!1};case 5:ne.label++,Oe=et[1],et=[0];continue;case 7:et=ne.ops.pop(),ne.trys.pop();continue;default:if(ye=ne.trys,!(ye=ye.length>0&&ye[ye.length-1])&&(et[0]===6||et[0]===2)){ne=0;continue}if(et[0]===3&&(!ye||et[1]>ye[0]&&et[1]<ye[3])){ne.label=et[1];break}if(et[0]===6&&ne.label<ye[1]){ne.label=ye[1],ye=et;break}if(ye&&ne.label<ye[2]){ne.label=ye[2],ne.ops.push(et);break}ye[2]&&ne.ops.pop(),ne.trys.pop();continue}et=C.call(I,ne)}catch(Ce){et=[6,Ce],Oe=0}finally{re=ye=0}if(et[0]&5)throw et[1];return{value:et[0]?et[1]:void 0,done:!0}}},We=function(){function I(C){this.limit=30,this.totalPages=0,this.currentPage=0,this.inProgress=!1,this.updatedAt=0,this.onlyUpdates=0,this.timestamp=0,this.id=Re.DEFAULT_MSG_ID,this.paginationMeta={},this.limit=C.limit,this.callType=C.callType,this.callStatus=C.callStatus,this.hasRecording=C.hasRecording,this.callCategory=C.callCategory,this.callDirection=C.callDirection,this.uid=C.uid,this.guid=C.guid,this.authToken=C.authToken}return I.prototype.fetchNext=function(){return this.makeAPICall(!0)},I.prototype.fetchPrevious=function(){return this.makeAPICall()},I.prototype.makeAPICall=function(C){var ne=this;return new Promise(function(re,Oe){return Si(ne,void 0,void 0,function(){var ye,st,tt,Pt,et,Ce;return Ji(this,function(Yt){switch(Yt.label){case 0:if(Yt.trys.push([0,5,,6]),ye=C?this.totalPages!=0&&this.totalPages==this.currentPage:this.currentPage==1,ye)return this.inProgress=!1,re([]),[2];if(this.inProgress)return this.inProgress=!1,Oe(new Wt(jn.REQUEST_IN_PROGRESS_ERROR)),[2];if(this.inProgress=!0,!this.authToken)return this.inProgress=!1,Oe(new Wt({code:jn.NOT_ENOUGH_PARAMS.code,message:"`Auth Token` is required to use the 'fetchNext()' method."})),[2];Yt.label=1;case 1:return Yt.trys.push([1,3,,4]),[4,ge.getCallLogList(this.getParams(C),this.authToken)];case 2:return st=Yt.sent(),!((Ce=st==null?void 0:st.data)===null||Ce===void 0)&&Ce.error?(this.inProgress=!1,Oe(new Wt(st.data.error)),[2]):(tt=this.getCallLogList(JSON.stringify(st.data)),re(tt),this.inProgress=!1,[3,4]);case 3:return Pt=Yt.sent(),this.inProgress=!1,Oe(new Wt(Pt)),[3,4];case 4:return[3,6];case 5:return et=Yt.sent(),this.inProgress=!1,Oe(new Wt({code:"UNKNOWN ERROR",message:"Unknown error"})),[3,6];case 6:return[2]}})})})},I.prototype.getParams=function(C){var ne=new ci;return C?ne.setPage(this.currentPage+1):ne.setPage(this.currentPage-1),ne.setPerPage(this.limit),this.hasRecording&&ne.setHasRecordings(this.hasRecording),this.callStatus&&ne.setStatus(this.callStatus),this.callType&&ne.setType(this.callType),this.callCategory&&ne.setMode(this.callCategory),this.callDirection&&ne.setDirection(this.callDirection),this.uid&&ne.setUid(this.uid),this.guid&&ne.setGuid(this.guid),ne},I.prototype.getCallLogList=function(C){var ne=[],re=JSON.parse(C),Oe=re.meta;if(Oe.pagination){var ye=Oe.pagination;ye.total_pages&&(this.totalPages=ye.total_pages,this.currentPage=ye.current_page)}for(var st=re.data,tt=0;tt<st.length;tt++){var Pt=st[tt],et=Yn.callLogFromJson(Pt);ne.push(et)}return ne},I}(),ct=function(){function I(){this.limit=30}return I.prototype.setLimit=function(C){return this.limit=C,this},I.prototype.setCallType=function(C){return this.callType=C,this},I.prototype.setCallStatus=function(C){return this.callStatus=C,this},I.prototype.setHasRecording=function(C){return this.hasRecording=C,this},I.prototype.setCallCategory=function(C){return this.callCategory=C,this},I.prototype.setCallDirection=function(C){return this.callDirection=C,this},I.prototype.setUid=function(C){return this.uid=C,this},I.prototype.setGuid=function(C){return this.guid=C,this},I.prototype.setAuthToken=function(C){return this.authToken=C,this},I.prototype.build=function(){return new We(this)},I}(),Ct=function(I,C,ne,re){function Oe(ye){return ye instanceof ne?ye:new ne(function(st){st(ye)})}return new(ne||(ne=Promise))(function(ye,st){function tt(Ce){try{et(re.next(Ce))}catch(Yt){st(Yt)}}function Pt(Ce){try{et(re.throw(Ce))}catch(Yt){st(Yt)}}function et(Ce){Ce.done?ye(Ce.value):Oe(Ce.value).then(tt,Pt)}et((re=re.apply(I,C||[])).next())})},Mt=function(I,C){var ne={label:0,sent:function(){if(ye[0]&1)throw ye[1];return ye[1]},trys:[],ops:[]},re,Oe,ye,st;return st={next:tt(0),throw:tt(1),return:tt(2)},typeof Symbol=="function"&&(st[Symbol.iterator]=function(){return this}),st;function tt(et){return function(Ce){return Pt([et,Ce])}}function Pt(et){if(re)throw new TypeError("Generator is already executing.");for(;st&&(st=0,et[0]&&(ne=0)),ne;)try{if(re=1,Oe&&(ye=et[0]&2?Oe.return:et[0]?Oe.throw||((ye=Oe.return)&&ye.call(Oe),0):Oe.next)&&!(ye=ye.call(Oe,et[1])).done)return ye;switch(Oe=0,ye&&(et=[et[0]&2,ye.value]),et[0]){case 0:case 1:ye=et;break;case 4:return ne.label++,{value:et[1],done:!1};case 5:ne.label++,Oe=et[1],et=[0];continue;case 7:et=ne.ops.pop(),ne.trys.pop();continue;default:if(ye=ne.trys,!(ye=ye.length>0&&ye[ye.length-1])&&(et[0]===6||et[0]===2)){ne=0;continue}if(et[0]===3&&(!ye||et[1]>ye[0]&&et[1]<ye[3])){ne.label=et[1];break}if(et[0]===6&&ne.label<ye[1]){ne.label=ye[1],ye=et;break}if(ye&&ne.label<ye[2]){ne.label=ye[2],ne.ops.push(et);break}ye[2]&&ne.ops.pop(),ne.trys.pop();continue}et=C.call(I,ne)}catch(Ce){et=[6,Ce],Oe=0}finally{re=ye=0}if(et[0]&5)throw et[1];return{value:et[0]?et[1]:void 0,done:!0}}},vn=function(){function I(){}return I.generateToken=function(C,ne){var re,Oe,ye,st,tt;return Ct(this,void 0,void 0,function(){var Pt;return Mt(this,function(et){switch(et.label){case 0:return[4,q(this.appSettings)];case 1:if(et.sent(),!ne||!C)throw new Wt({code:Ie.INVALID_ARGUMENT_EXCEPTION.code,message:"Authtoken and session is required."});return[4,ge.generateToken(ne,C,this.appSettings)];case 2:if(Pt=et.sent(),!(!((re=Pt==null?void 0:Pt.data)===null||re===void 0)&&re.data))throw!((ye=(Oe=Pt==null?void 0:Pt.data)===null||Oe===void 0?void 0:Oe.error)===null||ye===void 0)&&ye.message?new Wt({code:Ie.API_ERROR.code,message:(tt=(st=Pt==null?void 0:Pt.data)===null||st===void 0?void 0:st.error)===null||tt===void 0?void 0:tt.message}):new Wt({code:Ie.UNKNOWN_API_ERROR.code,message:Ie.UNKNOWN_API_ERROR.message});return[2,Pt.data.data]}})})},I.init=function(C){return Ct(this,void 0,void 0,function(){return Mt(this,function(ne){switch(ne.label){case 0:return[4,q(C)];case 1:return ne.sent(),this.appSettings=C,ge.setAppSettings(C),[2]}})})},I.endSession=function(){var C;try{(C=Dt==null?void 0:Dt.ref)===null||C===void 0||C.endCall()}catch(ne){y.log("CometChatCalls :: endCall",ne),m(ne)}},I.muteAudio=function(C){var ne,re;try{C?(ne=Dt==null?void 0:Dt.ref)===null||ne===void 0||ne.muteAudio():(re=Dt==null?void 0:Dt.ref)===null||re===void 0||re.unMuteAudio()}catch(Oe){y.log("CometChatCalls :: muteAudio",Oe),m(Oe)}},I.pauseVideo=function(C){var ne,re;try{C?(ne=Dt==null?void 0:Dt.ref)===null||ne===void 0||ne.pauseVideo():(re=Dt==null?void 0:Dt.ref)===null||re===void 0||re.unPauseVideo()}catch(Oe){y.log("CometChatCalls :: pauseVideo",Oe),m(Oe)}},I.resumeVideo=function(){var C;try{(C=Dt==null?void 0:Dt.ref)===null||C===void 0||C.unPauseVideo()}catch(ne){y.log("CometChatCalls :: resumeVideo",ne),m(ne)}},I.setAudioMode=function(C){var ne;try{C&&((ne=Dt==null?void 0:Dt.ref)===null||ne===void 0||ne.setAudioMode(C))}catch(re){y.log("CometChatCalls :: setAudioMode",re),m(re)}},I.switchCamera=function(){var C,ne;try{(ne=(C=Dt==null?void 0:Dt.ref)===null||C===void 0?void 0:C.switchCamera)===null||ne===void 0||ne.call(C)}catch(re){y.log("CometChatCalls :: switchCamera",re),m(re)}},I.getAudioOutputModes=function(){try{return new Promise(function(C,ne){var re;(re=Dt==null?void 0:Dt.ref)===null||re===void 0||re.getAudioModes().then(function(Oe){C(Oe)},function(Oe){ne(Oe)})})}catch(C){y.log("CometChatCalls :: getAudioOutputModes",C),m(C)}},I.switchToVideoCall=function(){var C;try{(C=Dt==null?void 0:Dt.ref)===null||C===void 0||C.switchToVideoCall()}catch(ne){y.log("CometChatCalls :: switchToVideoCall",ne),m(ne)}},I.startRecording=function(){var C;try{(C=Dt==null?void 0:Dt.ref)===null||C===void 0||C.startRecording()}catch(ne){y.log("CometChatCalls :: startRecording",ne),m(ne)}},I.stopRecording=function(){var C;try{(C=Dt==null?void 0:Dt.ref)===null||C===void 0||C.stopRecording()}catch(ne){y.log("CometChatCalls :: stopRecording",ne),m(ne)}},I.getAppSettings=function(){return this.appSettings},I.getCallDetails=function(C,ne){var re=this;return new Promise(function(Oe,ye){return Ct(re,void 0,void 0,function(){var st,tt,Pt,et,Ce;return Mt(this,function(Yt){switch(Yt.label){case 0:if(Yt.trys.push([0,5,,6]),this.inProgress)return ye(new Wt(jn.REQUEST_IN_PROGRESS_ERROR)),this.inProgress=!1,[2];if(this.inProgress=!0,!ne)return this.inProgress=!1,ye(new Wt({code:jn.NOT_ENOUGH_PARAMS.code,message:"`Auth Token` is required to use the 'fetchNext()' method."})),[2];if(!C)return this.inProgress=!1,ye(new Wt({code:jn.NOT_ENOUGH_PARAMS.code,message:"`Session ID` is required to use the 'fetchNext()' method."})),[2];Yt.label=1;case 1:return Yt.trys.push([1,3,,4]),[4,ge.getCallDetails(C,ne)];case 2:return st=Yt.sent(),!((Ce=st==null?void 0:st.data)===null||Ce===void 0)&&Ce.error?(this.inProgress=!1,ye(new Wt(st.data.error)),[2]):(tt=Yn.callLogFromJson(st.data.data),Oe(tt),this.inProgress=!1,[3,4]);case 3:return Pt=Yt.sent(),this.inProgress=!1,ye(new Wt(Pt)),[3,4];case 4:return[3,6];case 5:return et=Yt.sent(),this.inProgress=!1,ye(new Wt({code:"UNKNOWN ERROR",message:"Unknown error"})),[3,6];case 6:return[2]}})})})},I.inProgress=!1,I.CALL_MODE=he.CALL_MODE,I.AUDIO_MODE=he.AUDIO_MODE,I.addCallEventListener=g.addCallEventListener,I.removeCallEventListener=g.removeCallEventListener,I.OngoingCallListener=v,I.CallSettingsBuilder=Ae,I.CallSettings=Me,I.PresenterSettingsBuilder=je,I.PresenterSettings=Pe,I.CallAppSettingsBuilder=Zt,I.CallAppSettings=_t,I.Component=Dt,I.PresenterComponent=li,I.CallLogRequestBuilder=ct,I.CallLog=Yn,I.CallUser=ri,I.CallGroup=ai,I.Participant=Li,I.Recording=ti,I}();const on=E})(),__webpack_exports__})());